@univerjs-pro/collaboration-client 0.12.4-experimental.20251210-29c379a → 0.12.4-experimental.20251211-e01e32a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x859cf8=_0x532c;(function(_0x2ddbda,_0x1117ef){var _0x18b2e6=_0x532c,_0x48636b=_0x2ddbda();while(!![]){try{var _0x28716d=parseInt(_0x18b2e6(0x454))/0x1+parseInt(_0x18b2e6(0x3e5))/0x2+parseInt(_0x18b2e6(0x222))/0x3*(-parseInt(_0x18b2e6(0x2cd))/0x4)+-parseInt(_0x18b2e6(0x1e3))/0x5+parseInt(_0x18b2e6(0xcf))/0x6*(-parseInt(_0x18b2e6(0x1bb))/0x7)+-parseInt(_0x18b2e6(0x1b0))/0x8+parseInt(_0x18b2e6(0x3ce))/0x9*(parseInt(_0x18b2e6(0x335))/0xa);if(_0x28716d===_0x1117ef)break;else _0x48636b['push'](_0x48636b['shift']());}catch(_0x2b850c){_0x48636b['push'](_0x48636b['shift']());}}}(_0x1d62,0x3db6b));var bt=Object[_0x859cf8(0x3f1)],Rt=(_0x65e774,_0x1b7ada,_0x3a994a)=>_0x1b7ada in _0x65e774?bt(_0x65e774,_0x1b7ada,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a994a}):_0x65e774[_0x1b7ada]=_0x3a994a,A=(_0x490083,_0x402c4e,_0x7842af)=>Rt(_0x490083,typeof _0x402c4e!='symbol'?_0x402c4e+'':_0x402c4e,_0x7842af);Object[_0x859cf8(0x3f1)](exports,Symbol[_0x859cf8(0x35e)],{'value':_0x859cf8(0x3af)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x859cf8(0x3ed),Ut=_0x859cf8(0x168),At=0x7d0,_t=_0x859cf8(0xfb),Pt=_0x859cf8(0x29e),ht=_0x859cf8(0x250),Lt=0x7530,ke=_0x859cf8(0x39f),lt=0x4e20,Mt=0x4e20,ut=_0x859cf8(0x12e),wt=0x3,xt=_0x859cf8(0x300),kt=0x3e8,$t='/universer-api/comb',Ht=_0x859cf8(0x23d),jt=_0x859cf8(0x263),Bt='/universer-api/uniscript';var vt=(_0x5a8f7b=>(_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2d1)]=0x0]='UNDEFINED',_0x5a8f7b[_0x5a8f7b['OK']=0x1]='OK',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x13f)]=0x2]=_0x859cf8(0x13f),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2fa)]=0x3]=_0x859cf8(0x2fa),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x297)]=0x4]=_0x859cf8(0x297),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x11a)]=0x5]=_0x859cf8(0x11a),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x219)]=0x6]=_0x859cf8(0x219),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x324)]=0x7]=_0x859cf8(0x324),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x272)]=0x8]=_0x859cf8(0x272),_0x5a8f7b[_0x5a8f7b['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1ca)]=0xa]=_0x859cf8(0x1ca),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x368)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5a8f7b[_0x5a8f7b['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x859cf8(0x111),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x100)]=0xd]=_0x859cf8(0x100),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2a6)]=0xe]=_0x859cf8(0x2a6),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x438)]=0xf]=_0x859cf8(0x438),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x281)]=0x10]=_0x859cf8(0x281),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3b5)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1ea)]=0x65]=_0x859cf8(0x1ea),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x382)]=0xc9]=_0x859cf8(0x382),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x17c)]=0xca]=_0x859cf8(0x17c),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x247)]=0x1389]=_0x859cf8(0x247),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3dd)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1e6)]=0x1772]=_0x859cf8(0x1e6),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x189)]=0x1773]=_0x859cf8(0x189),_0x5a8f7b[_0x5a8f7b['APPLY_REJECT']=0x1b59]=_0x859cf8(0x307),_0x5a8f7b[_0x5a8f7b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x183)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1f8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2e5)]=0x1b5d]=_0x859cf8(0x2e5),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2c5)]=0x1f41]=_0x859cf8(0x2c5),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2a8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x191)]=0x232a]=_0x859cf8(0x191),_0x5a8f7b[_0x5a8f7b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x859cf8(0x11d),_0x5a8f7b[_0x5a8f7b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x859cf8(0x36a),_0x5a8f7b[_0x5a8f7b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x859cf8(0x275),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x148)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5a8f7b[_0x5a8f7b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5a8f7b[_0x5a8f7b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x859cf8(0x3ad),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3e2)]=0x2714]=_0x859cf8(0x3e2),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3b3)]=0x271a]=_0x859cf8(0x3b3),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x397)]=0x271b]=_0x859cf8(0x397),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x248)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x443)]=0x271d]=_0x859cf8(0x443),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x336)]=0x271e]=_0x859cf8(0x336),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1db)]=0x271f]=_0x859cf8(0x1db),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1d7)]=0x2720]=_0x859cf8(0x1d7),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x347)]=0x2af9]=_0x859cf8(0x347),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x17d)]=0x2ee1]=_0x859cf8(0x17d),_0x5a8f7b[_0x5a8f7b['INVALID_INVITE_CODE']=0x2ee2]=_0x859cf8(0x18c),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x16b)]=0x2ee3]=_0x859cf8(0x16b),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x169)]=0x2ee4]=_0x859cf8(0x169),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x371)]=0x2ee5]=_0x859cf8(0x371),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x24e)]=0x32c9]=_0x859cf8(0x24e),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x15e)]=0x32ca]=_0x859cf8(0x15e),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2a5)]=0x32cb]=_0x859cf8(0x2a5),_0x5a8f7b[_0x5a8f7b['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x10e)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3f7)]=0x36b3]=_0x859cf8(0x3f7),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x1b5)]=0x36b4]=_0x859cf8(0x1b5),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3fb)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x11e)]=0x36b6]=_0x859cf8(0x11e),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x137)]=0x36b7]=_0x859cf8(0x137),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x387)]=0x36b8]=_0x859cf8(0x387),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x152)]=0x3715]=_0x859cf8(0x152),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x22e)]=0x3716]=_0x859cf8(0x22e),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x245)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x217)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x240)]=0x3a99]=_0x859cf8(0x240),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3c0)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2b8)]=0x3a9b]=_0x859cf8(0x2b8),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3a7)]=0x3a9c]=_0x859cf8(0x3a7),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x354)]=0x3a9d]=_0x859cf8(0x354),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x2aa)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x262)]=0x3a9f]=_0x859cf8(0x262),_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x167)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x5a8f7b[_0x5a8f7b[_0x859cf8(0x3c1)]=-0x1]='UNRECOGNIZED',_0x5a8f7b))(vt||{}),X=(_0x2d5a46=>(_0x2d5a46[_0x2d5a46['UNIVER_UNKNOWN']=0x0]=_0x859cf8(0x31a),_0x2d5a46[_0x2d5a46[_0x859cf8(0x44b)]=0x1]=_0x859cf8(0x44b),_0x2d5a46[_0x2d5a46[_0x859cf8(0x358)]=0x2]=_0x859cf8(0x358),_0x2d5a46[_0x2d5a46['UNIVER_SLIDE']=0x3]=_0x859cf8(0x292),_0x2d5a46[_0x2d5a46['UNIVER_PROJECT']=0x4]=_0x859cf8(0x3de),_0x2d5a46[_0x2d5a46[_0x859cf8(0x3c1)]=-0x1]=_0x859cf8(0x3c1),_0x2d5a46))(X||{}),W=(_0x5ab2a1=>(_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x1c9)]=0x0]=_0x859cf8(0x1c9),_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x206)]=0x1]=_0x859cf8(0x206),_0x5ab2a1[_0x5ab2a1['JOIN']=0x2]=_0x859cf8(0x1a9),_0x5ab2a1[_0x5ab2a1['LEAVE']=0x3]='LEAVE',_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x3a1)]=0x4]=_0x859cf8(0x3a1),_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x419)]=0x5]=_0x859cf8(0x419),_0x5ab2a1[_0x5ab2a1[_0x859cf8(0x373)]=0x6]=_0x859cf8(0x373),_0x5ab2a1[_0x5ab2a1['UNRECOGNIZED']=-0x1]=_0x859cf8(0x3c1),_0x5ab2a1))(W||{}),re=(_0x40e050=>(_0x40e050[_0x40e050[_0x859cf8(0x37f)]=0x0]=_0x859cf8(0x37f),_0x40e050[_0x40e050['OK']=0x1]='OK',_0x40e050[_0x40e050[_0x859cf8(0x182)]=0x2]=_0x859cf8(0x182),_0x40e050[_0x40e050[_0x859cf8(0x26e)]=0x3e9]=_0x859cf8(0x26e),_0x40e050[_0x40e050[_0x859cf8(0x2f6)]=0x3ea]=_0x859cf8(0x2f6),_0x40e050[_0x40e050['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x859cf8(0x1f2),_0x40e050[_0x40e050[_0x859cf8(0x1b9)]=0x3ec]=_0x859cf8(0x1b9),_0x40e050[_0x40e050['UNRECOGNIZED']=-0x1]=_0x859cf8(0x3c1),_0x40e050))(re||{}),dt=(_0x4ad24d=>(_0x4ad24d[_0x4ad24d['Undefined']=0x0]='Undefined',_0x4ad24d[_0x4ad24d[_0x859cf8(0x346)]=0x1]='HttpImport',_0x4ad24d[_0x4ad24d[_0x859cf8(0x1fe)]=0x2]=_0x859cf8(0x1fe),_0x4ad24d[_0x4ad24d[_0x859cf8(0x36e)]=0x3]=_0x859cf8(0x36e),_0x4ad24d[_0x4ad24d[_0x859cf8(0x392)]=0x4]=_0x859cf8(0x392),_0x4ad24d[_0x4ad24d[_0x859cf8(0xf1)]=0x5]=_0x859cf8(0xf1),_0x4ad24d[_0x4ad24d[_0x859cf8(0xf6)]=0x6]='ClipsheetFragments',_0x4ad24d[_0x4ad24d[_0x859cf8(0x3c1)]=-0x1]=_0x859cf8(0x3c1),_0x4ad24d))(dt||{});function _0x1d62(){var _0x85c7cb=['image/bmp','getCollabEntity','deleteCollaborator','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','capture','ITransformService','APPLY_REJECT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_entityInit$','unitID','LIVESHARE_FETCH_OPERATIONS','SOCKET_FAILED','update','SheetTransformSelectionsService','getActiveSheet','LIVESHARE_OPERATION','/universer-api/snapshot/','_permissionService','_transformStack','min','cmd','_clearRedo','WordArray','reject','liveShareNewHost','UNIVER_UNKNOWN','_onLocalMutation','loadDoc','prototype','ivSize','target','BASE64','b64DecodeUnicode','_compressMutationService','Hasher','INVALID_ARGUMENT','CHANGESET_REJ','_instanceService','AwaitingState','unitId','__esModule','isTransformMutationsWithChangesetFailure','complete','CommentService','BlockCipherMode','_initDependencies','Cipher','Decryptor','telemetry\x20info\x20is\x20not\x20initialized','Utf8','loadUnitOfRevision','interceptor','2195330YCwTwy','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','splice','ITelemetryService','unitInfo$','getUnitId','hasher','_collabSessionService','_isPermissionRej','readyForCollab','stopTime','CollaborativeUndoRedoService','requestParams','_getSendChangesetTimeout','collabSubmitChangesetUrl','location','parseProtocolChangeset','HttpImport','PY_RUNTIME_SCRIPT_ERROR','Failed\x20to\x20update\x20permission\x20point','CollaborationImageIoService','initWorkbookPermissionChange','shouldCloseConn','ConflictState','JOIN_ROOM_FAILED','_config','unsubscribe','onTransformSelections','transformChangesets','addHandlerCallback','Malformed\x20UTF-8\x20data','REDEMPTION_USER_NOT_ELIGIBLE','_registerDependencies','Workbook','synced','UNIVER_SHEET','pending','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[OfflineState]:\x20received\x20changeset.','CLOSE_ROOM','mapDocumentTypeToUniverType','toStringTag','{fileID}','CompressMutationService','emitEvent','entries','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_retryCount','revision','updateCursorEvent','substr','MOBILE_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','LICENSE_EXPORT_SIZE_EXCEEDED','ImageSourceType','OTHER_CLIENTS_EDITING','disableLocalCache','UnitEmbedded','[SyncedState]:\x20received\x20acknowledgement.','getTime','INVITE_CODE_ALREADY_BOUND','DependentOn','RECV','close','onLocalMutation','onStarting','_DEC_XFORM_MODE','LIVESHARE_REQUEST_HOST','CHANGESET_SHOULD_RETRY','_sender','x-univer-host','stringify','words','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNKNOWN_CODE','loadOfflineData','max','USER_NOT_FOUND','_clearScheduledTask','resourceIDs','_onRemoteRejected','headers','ENTITLE_USE_COUPON_NOT_1ST_TRADE','startTime','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onCommentUpdate','reconnect','_updateStatus','COMMENT_UPDATE','ICollaborationSocketService','[CollaborationSessionService]','objectType','_shouldReportTelemetry','UnitSnapshot','_resendTimeout','conflict','_getAPIPrefix','_updateState','YUUMI_ASYNCIO_CANCELLED','getUnitType','IContextService','_socketReady','state$','includes','decrypt','/resources','HEARTBEAT_TIMEOUT','override','INGEST','randomBytes','focused$','createDecryptor','Could\x20not\x20dynamically\x20require\x20\x22','updatePermissionPoint','REDEMPTION_CODE_NOT_STARTED','_unlockTransition','OPTIONAL','_onConnectionOpen','OpenSSL','_xformMode','YUUMI_RATE_OVER_LIMIT','selections','Module','_change$','_scheduleCollaborationTimeoutTimer','enableAuthServer','YUUMI_NO_CUBOID_FOR_QUESTION','body','CURRENT_STATUS_CANNOT_OPERATE','Univer','__creator','People','LocalUndoRedoService','_iv','/object/','workbook','_startCollaboration','/object','msCrypto','REDEMPTION_CODE_INACTIVE','UNRECOGNIZED','_telemetryService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','/rev/','subscribe','_doCreateSocket','dispose','/-/object/list','transformMutationsWithChangeset','getTypeOfUnitAdded$','asObservable','session','RETRY_CONNECTING_MAX_COUNT_KEY','27mXjoNL','infoRsp','_timeoutTimer','collaboratorID','addImageSourceCache','byteLength','members','range','&to=','_commandService','getInterceptPoints','not_collab','patch','SOCKET_FAILED_RETRY','RevisionService','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_PROJECT','toggleOffline','onTransformRemoteChangesetByIMECache','_doProcessBlock','YUUMI_SUBSCRIPTION_NOT_FOUND','compose','origin','466836XzsilO','USERS_LEAVE','StreamCipher','[FetchMissState]','encryptBlock','collabWebSocketUrl','IImageIoService','_invKeySchedule','/universer-api/snapshot','replace','[DataLoaderService]','IMentionIOService','defineProperty','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','append','push','transformSelections','delay','ENTITLE_DUP_SUBSCRIPTION','session.join-failed','onRemoteChangeset','_socketMessageSubscription','ENTITLE_INVALID_COUPON_CODE','subject','delete','format','parseChangesetToProtocol','putCollaborators','SUBMIT_CHANGESET','init','post','createIdentifier','editingUnit','loadUnit','SHA1','objectID','uuidv4','clamp','getConfig','processBlock','UniverNetworkPlugin','_schedule','_getLoginPath','?size=','PERSON','_members','repeat','_createHandler','csShouldRetryEvent','Inject','onStateChange','_toggleOnline','HEARTBEAT','_localeService','_snapshotService','_onFetchMissResult','CollaborationEvent','type','salt','_key','_waitCount','appendMutation','concat','getLocalCacheKey','DEFAULT_FILE_NAME','Base64','UserManagerService','FileId','padding','_getCurrentRevision','title','getCurrentSelections','_maxTotalRetryTimeout','confirm','reqId','_substituteRedoStack','_collaborationPaused','encrypt','_transformUndoredo','take','sigBytes','_sendHeartbeat','\x0aCurrent:\x20','AUTHORIZE_CODE_ILLEGAL','univer-pro.collaboration-client-socket-service','byteOffset','touchDependencies','allowed','liveShareOperation','getDeserializedSheetBlock','[CollaborationSession]','_onOffline','getGlobalObject','JOINING','YUUMI_ALL_TABLES_IS_INVALID','url','SessionStatus','_onRemoteChangeset','isTransformMutationsWithChangesetSuccess','image/jpg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','has','UNIVER_DOC','_onJoinRoomEvent','_init','[CollaborationEntity]','length','_clearRetryConnectingTimer','SUBMIT_CHANGESET_TIMEOUT','_replayCachedMutations','changesets','20223UCcbLa','_univerInstanceService','isInternalEditorID','NoPadding','_fetchMissChangesets','apply','_getAPIPrefixPath','306KAcxap','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','collaboration-client.local-cache-service','getSnapshotAPIPath','getResourcesRequest','waitForRoom$','onMissedChangesetFetched','message$','/unit/','registerHTTPInterceptor','createSocket','status$','put','_substituteUndoStack','Subject','list','connection\x20error','fromCollab','_waitForHeartbeatResponse','_sendHeartbeatTimer','MUTATION','getAllMembers','_tryEnsureSocket','RichTextEditingMutation','_scheduleCompleteTimestamp','updateOfflineData','uniscriptRunEvent','charAt','EvpKDF','saveImage','HTTPService','pad','CBC','collaborators','UserProfileImg','join','socketService','kdf','shareReplay','ClipsheetFragments','size','setWaitCount','LocaleService','refreshPermission','ws://127.0.0.1:8000/universer-api/comb/connect','fromCharCode','onTransformRemoteChangesetByStateCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','editing\x20status\x20changed\x20to','EMAIL_VERIFY_CODE_MISMATCH','_userManagerService','SnapshotServerOverHTTPService','ERROR_IMAGE','_disableEditing','[UniverCollaborationClientPlugin]','_acknowledgedAwaitingChangeset','_doCryptBlock','save\x20fail\x20reason\x20is\x20','_networkConditionService','Latin1','_oKey','compute','withCredentials','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','createInstance','localeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SyncedState','_clearUndo','href','_doReset','retryConnectingInterval','mixIn','COMPRESS_MUTATION_APPLY','error','UNAUTHENTICATED','IAuthzIoService','textEncoder','LICENSE_IMPORT_SIZE_EXCEEDED','ENTITLE_COUPON_EXPIRED','equals','Injector','/new_changes','transformUndoRedo','decryptBlock','_undoStacks','&assign=','_initMergeInterceptor','setShowComponents','_tryReconnect','_getDownloadEndpointURL','_createHmacHelper','__splitChunk__','ILogService','firstValueFrom','RETRY_CONNECTING_MAX_COUNT','_awaitingChangeset','_handlerCallback','createCollaborator','DataLoaderService','from','blockSize','CHANGESET_ACK','_onCombEvent','ENTITLE_COUPON_USED_UP','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getRedoStack','UnitStatus','_getCtorByUniverType','[SyncedState]:\x20received\x20rejection.','newCsEvent','finalize','INTERNAL_ERROR','ReplaySubject','error$','_logService','next','getTypeOfUnitDisposed$','_changesetSessionId','downloadEndpointUrl','POST','YUUMI_UNABLE_LOAD_URL','MSG_FOR_ERROR','SheetCollaborationEntity','FETCH_MISS','_initRequestHeader','_joinRoom','_executeRemoteChangeset','set','onRemoteRetry','_createSocket','ENTITLE_CHAT_LIMIT_EXCEED','_sendingTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','IDLE','_configService','commentUpdateEvent','isArray','MergeInterceptorFactory','getCurrentUser','userID','\x20to\x20','encodeURIComponent','MOBILE_HAS_BEEN_BOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','IPermissionService','BehaviorSubject','$super','snapshotServerUrl','onload','c2Prime','onTransformState','DATA_SOURCE_TOO_LARGE','SNAPSHOT_URL_KEY','USER_NOT_INVITED_CODE','forEach','INVITE_CODE_REQUIRED','sessionStatus','code','DocCollaborationEntity','routeKey','mutations','disposeWithMe','getUnit','_doFinalize','_sessions','src','/universer-api/file/{fileID}/sign-url','toDisposable','enc','_removeRoom','setConfig','/block/','USER_IS_ANONYMOUS','INVITE_CODE_HAS_BEEN_UES','_onMessage','isTransformChangesetsSuccess','transformStack\x20failed!','_changesetReqId','FAIL','APPLY_REVISION_CONFILICT','_cipher','catch','auth.needGotoLoginAlert','_imageSourceCache','_clearCollaborationTimeoutTimer','ENSURE_SNAPSHOT_EXECUTION','HMAC','_localCacheService','INVALID_INVITE_CODE','[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.','Disposable','_mode','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getMemberID','SUCCUSS','_keyPriorReset','awaiting','_checkMissing','every','algo','_ENC_XFORM_MODE','fetching\x20missing\x20changesets\x20from\x20','_onConnectionFailed','enableCollaboration','actions','fetchMiss','getCollabEntity$','Encryptor','_roomCreated$','_hasher','onMissingChangesets','_memberService','_status$','listCollaborators','Plugin','state','JOIN','PendingState','_onRecvEvent','close$','UniverCollaborationClientPlugin','members$','_injector','361840mPRTlw','CollaborationSessionService','CollaborationSocketService','_initCloseConn','ICommandService','PAYMENT_CHANNEL_NOT_SUPPORT','updateMember','floor','session.room-cnt-exceeds','GLOBAL_ROOMS_CNT_EXCEEDS','removeMember','17591zOnOGH','IConfigService','_emitMembers','resolve','ciphertext','_collaborationTimeoutTimer','_keySchedule','univer-pro.collaboration-client.single-active-unit-service','getUnitOnRev','[OfflineState]:\x20received\x20acknowledgement.','sheets','charCodeAt','_roomMembers','onSyncEditingCollabCursor','UNKNOWN_CMD','LOGIN_FAILED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','NEW_CHANGESETS','_applyRemoteChangeset','FetchingMissState','data','ISnapshotServerService','deserializeToCombResponse','_iKey','Pkcs7','_hash','pipe','memberID','YUUMI_CONNECTOR_URL_NOT_FOUND','BlockCipher','awaiting_with_pending','Tools','YUUMI_AI_RUN_FAILED','SheetsSelectionsService','CollaborationEntity','session.room-not-exists','getMember','getOwnPropertyDescriptor','deepClone','_retryConnectingTimer','224715flOnSC','getCurrentRevOfUnit','\x20in\x20_schedule.','SNAPSHOT_HAS_BEEN_REMOVED','MD5','UNISCRIPT_RUN','FETCH_MISSING','ERROR_AGAIN','values','now','CONFLICT','AwaitingWithPendingState','_reverseMap','objectActions','unknown','JOIN_ROOM_PERMISSION_DENIED','IUndoRedoService','create','updateCollaborator','getSheetBlock','Base','APPLY_PERMISSION_DENIED','_onConflict','offline','encode','LEAVE','_process','HttpExport','/-/object/-/batch_allowed','LIVESHARE_TERMINATE','image/gif','_transformRemoteChangesetByIMECache','SYNCED','_singleActiveUnitService','_transformIMECache','HELLO','\x0aAfter:\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','fetchThroughInterceptors','requireSession','MentionIoHttpService','commentUpdate$','toggleOnline','onlyLocal','result','DisposableCollection','_unitInfo$','OfflineState','ONLINE','_transformRemoteChangesetByStateCache','LIVESHARE_NEW_HOST','OFFLINE','ENTITLE_NEED_BILLING_ADDRESS','_onUserLeave','ALREADY_EXISTS','ThresholdInterceptorFactory','SheetPermissionInitController','_submitChangeset','event$','merge','SetSelectionsOperation','incrementRevOfUnit','onRemoteAck','264675owmQhn','NO_OTHER_CLIENTS_EDITING','SHOULD_CLOSE_CONN','debug','PasswordBasedCipher','CommandType','submit\x20changeset\x20error!','getValue','getWorkbookSelections','_sessionStatus$','_rescheduleHeartbeat','m2Prime','ENTITLE_REPORT_LIMIT_EXCEED','_transformService','sessionStatus$','/collaborator','joinEvent','_event$','image/png','resend','takeUntil','getUnitStatus$','loginUrlKey','_createInitialState','_prevBlock','UPDATE_PERMISSION_OBJ','_eventService','/universer-api/oidc/authpage','_incrementRevisionNumber','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','REDEMPTION_INVALID_CODE','_socketService','authzUrl','&source=','localCacheService','ENTITLE_INSUFFICIENT_QUOTA','ISingleActiveUnitService','CHANGESET_REVISION_CONFILICT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','NOT_COLLAB','_stopTelemetryCollaborationNewChangeset','_minBufferSize','isPermissionRej','/fetchmissing?from=','WECHAT_HAS_BEEN_BOUND','_candidateSocket','HEARTBEAT_INTERVAL','filter','BufferedBlockAlgorithm','MemberService','signUrlServerUrl','_telemetryInfo','CollaborationUIEventId','_transformStateCache','c1Prime','map','originalMeta','_members$','_httpService','_remoteChangesetQueue','_lockTransition','execute','_append','UniverInstanceType','REDEMPTION_CODE_HAS_BEEN_CREATED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setCurrentUser','[CollaborationUndoRedoService]','toString','send','_getSignURL','_clearHeartbeatTimer','function','PSEUDO_FETCH_MISSING_RESULT','failed\x20to\x20apply\x20missed\x20changesets!','_collaborationSessionService','JOIN_ROOM_FULL','RxDisposable','default','get','TOO_MANY_REQUESTS','exports','_entities','LICENSE_DISTRO_REJECTED','EmptyMutationInfo','OTHER_CLIENT_EDITING','reduce','sid','_collaborationUIEventService','onRemoteRej','collaboration-client.config','sin','saveSnapshot','_clearTimeoutTimer','onTransformIME','LOGIN_TOKEN_PROCESSING_FAILED','pluginName','dispose$','clone','[OfflineState]:\x20received\x20rejection.','MentionType','_type','awaitingChangeset','enableSingleActiveInstanceLock','fetch_missing','updatePermissionObjEvent','_resendWithTimeout','_revisionService','then','__Key__','_HTTPService','textRanges','UNIVER_SLIDE','find','open$','_getUploadFileURL','_createHelper','NOT_FOUND','_resendTimer','_initUnitPermissionChange','iterations','saveChangeset','getFocusedUnit','_createInitialStateImpl','/universer-api/user/session-ticket','string','HmacMD5','ILocalCacheService','leaveEvent','_queuedRemoteChangesets','_snapshotServerService','EMAIL_HAS_BEEN_BOUND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','csRejEvent','LICENSE_MAX_UNITS_EXCEEDED','parse','REDEMPTION_USER_REDEEM_TIMES_EXCEED','IUniverInstanceService','_undoRedoService','call','getRandomValues','_updateLocalCache','_pendingMutations','SnapshotService','_commentUpdate$','avatar','[CollaborationState]:\x20apply\x20error!','extend','responseType','_throwTelemetryCollaborationNewChangeset','REDEMPTION_CODE_FULLY_REDEEMED','image/jpeg','slice','_handler','collaMsg','ImageUploadStatusType','fetchMissingChangesets','_commentService','_replaceFileID','name','status','_toggleOffline','LOCAL_CACHE_INTERVAL_KEY','CONNECTOR_DATA_TOO_LARGE','InsertSheetMutation','onSendChangeset','/allowed','Hex','WorkbookEditablePermission','getRoom','crypto','20edZosp','AuthzIoHttpService','_listenToNetworkCondition','baseRev','UNDEFINED','_nDataBytes','roomInfos','reset','add','_unitID','_state','_decreaseWaiting','params','_state$','_transitionLocked','CollaborationController','online$','_socket$','session.room-permission-denied','_onRemoteACK','cfg','HTTPRequest','_data','[PendingState]:\x20received\x20acknowledgement.','APPLY_DUPLICATED','unitId\x20is\x20not\x20found','mode','hasOwnProperty','_clearLocalCache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_sheetTransformSelectionsService','findIndex','_parse','_nRounds','AWAITING_WITH_PENDING','batchAllowed','lib','closeSession','_socket','concatMap','Optional','JOIN_ROOM_NOT_EXISTS','collaboration_new_changeset','USERS_ENTER','key','PERMISSION_DENIED','executeCommand','_syncEditingCollabCursor','keySize','eventID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LOCAL_CACHE_INTERVAL'];_0x1d62=function(){return _0x85c7cb;};return _0x1d62();}const Ft=_0x859cf8(0x2f7);function Vt(_0x5dadb5){var _0x22a920=_0x859cf8;return JSON[_0x22a920(0x37c)](_0x5dadb5)[_0x22a920(0x44f)];}var J=(_0x8f2ab6=>(_0x8f2ab6[_0x859cf8(0x277)]='OTHER_CLIENT_EDITING',_0x8f2ab6['PERMISSION_DENIED']='PERMISSION_DENIED',_0x8f2ab6[_0x859cf8(0x1ed)]=_0x859cf8(0x1ed),_0x8f2ab6[_0x859cf8(0x35c)]=_0x859cf8(0x35c),_0x8f2ab6[_0x859cf8(0x34d)]=_0x859cf8(0x34d),_0x8f2ab6[_0x859cf8(0x3db)]=_0x859cf8(0x3db),_0x8f2ab6[_0x859cf8(0x30c)]=_0x859cf8(0x30c),_0x8f2ab6['SUBMIT_CHANGESET_TIMEOUT']=_0x859cf8(0x451),_0x8f2ab6))(J||{});class ee{constructor(){var _0x5f586c=_0x859cf8;A(this,_0x5f586c(0x233),new j['Subject']()),A(this,_0x5f586c(0x21d),this[_0x5f586c(0x233)][_0x5f586c(0x3cb)]());}[_0x859cf8(0x361)](_0x48f8ce){var _0xb381d3=_0x859cf8;this[_0xb381d3(0x233)][_0xb381d3(0x143)](_0x48f8ce);}}class $e{constructor(){var _0x5962f8=_0x859cf8;A(this,_0x5962f8(0x2b2),new j[(_0x5962f8(0xdd))]()),A(this,_0x5962f8(0x20c),this[_0x5962f8(0x2b2)][_0x5962f8(0x3cb)]());}[_0x859cf8(0x38a)](_0x6d2989){var _0x1607ed=_0x859cf8;this[_0x1607ed(0x2b2)][_0x1607ed(0x143)](_0x6d2989);}}var Wt=Object[_0x859cf8(0x1e0)],Gt=(_0x3e393f,_0x1c7340,_0x49d97c,_0x2c2ecd)=>{var _0x5efbaf=_0x859cf8;for(var _0x24f5bd=_0x2c2ecd>0x1?void 0x0:_0x2c2ecd?Wt(_0x1c7340,_0x49d97c):_0x1c7340,_0x300c0d=_0x3e393f[_0x5efbaf(0x44f)]-0x1,_0x27c62a;_0x300c0d>=0x0;_0x300c0d--)(_0x27c62a=_0x3e393f[_0x300c0d])&&(_0x24f5bd=_0x27c62a(_0x24f5bd)||_0x24f5bd);return _0x24f5bd;},Ve=(_0x3a11ef,_0x19867f)=>(_0x716664,_0x4d2e9b)=>_0x19867f(_0x716664,_0x4d2e9b,_0x3a11ef);exports[_0x859cf8(0x253)]=class extends o[_0x859cf8(0x18e)]{constructor(_0x14d36b,_0x162eb1){var _0x4ca42e=_0x859cf8;super(),A(this,'_roomMembers',new Map()),A(this,_0x4ca42e(0x1a1),new j[(_0x4ca42e(0xdd))]()),(this[_0x4ca42e(0xc9)]=_0x14d36b,this[_0x4ca42e(0x101)]=_0x162eb1,this['disposeWithMe'](j[_0x4ca42e(0x21e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0x4ca42e(0x261)]['UNIVER_SHEET'])[_0x4ca42e(0x1d5)](V[_0x4ca42e(0x259)](_0x5e96ca=>_0x5e96ca[_0x4ca42e(0x33a)]())),this[_0x4ca42e(0xc9)]['getTypeOfUnitDisposed$'](o['UniverInstanceType']['UNIVER_DOC'])[_0x4ca42e(0x1d5)](V[_0x4ca42e(0x259)](_0x10b8e0=>_0x10b8e0[_0x4ca42e(0x33a)]())),this[_0x4ca42e(0xc9)][_0x4ca42e(0x144)](o['UniverInstanceType'][_0x4ca42e(0x292)])[_0x4ca42e(0x1d5)](V[_0x4ca42e(0x259)](_0x40ec7c=>_0x40ec7c[_0x4ca42e(0x33a)]())))['subscribe'](_0x559fee=>this[_0x4ca42e(0x179)](_0x559fee))));}[_0x859cf8(0xd4)](_0x35972c){var _0xa3cb70=_0x859cf8;return this['_roomMembers']['has'](_0x35972c)?j['of'](this['_roomMembers'][_0xa3cb70(0x271)](_0x35972c)):this['_roomCreated$'][_0xa3cb70(0x1d5)](V[_0xa3cb70(0x259)](_0x17db08=>{var _0x21dd3b=_0xa3cb70;if(_0x17db08===_0x35972c)return this[_0x21dd3b(0x1c7)][_0x21dd3b(0x271)](_0x17db08);}));}[_0x859cf8(0x264)](_0x3fc873){var _0xd4a2a7=_0x859cf8;this[_0xd4a2a7(0x101)]['setCurrentUser'](_0x3fc873);}['getCurrentUser'](){var _0x22b710=_0x859cf8;return this['_userManagerService'][_0x22b710(0x15a)]();}[_0x859cf8(0x1b6)](_0x215c78,_0x29a1b2){var _0x166ac0=_0x859cf8;let _0xdc2296=this[_0x166ac0(0x1c7)][_0x166ac0(0x271)](_0x215c78);_0xdc2296||(_0xdc2296=new Yt(),this[_0x166ac0(0x1c7)][_0x166ac0(0x14f)](_0x215c78,_0xdc2296),this[_0x166ac0(0x1a1)]['next'](_0x215c78)),_0xdc2296[_0x166ac0(0x1b6)](_0x29a1b2);}[_0x859cf8(0x1ba)](_0x4209ec,_0x1371e9){var _0x42733a=_0x859cf8;const _0x556d48=this[_0x42733a(0x1c7)][_0x42733a(0x271)](_0x4209ec);_0x556d48&&_0x556d48[_0x42733a(0x1ba)](_0x1371e9);}[_0x859cf8(0x2cb)](_0x2b909){var _0x40a9f4=_0x859cf8;return this[_0x40a9f4(0x1c7)][_0x40a9f4(0x271)](_0x2b909);}[_0x859cf8(0x1df)](_0x1b83d5,_0x89c797){var _0x153137=_0x859cf8;const _0x1ca352=this[_0x153137(0x1c7)][_0x153137(0x271)](_0x1b83d5);if(_0x1ca352)return _0x1ca352['getMember'](_0x89c797);}['_removeRoom'](_0x4ea5fd){var _0x4e885b=_0x859cf8;const _0x15667b=this[_0x4e885b(0x1c7)][_0x4e885b(0x271)](_0x4ea5fd);_0x15667b&&(_0x15667b[_0x4e885b(0x3c7)](),this[_0x4e885b(0x1c7)]['delete'](_0x4ea5fd));}[_0x859cf8(0x3c7)](){var _0x438fac=_0x859cf8;this[_0x438fac(0x1c7)]['forEach'](_0x306cd8=>_0x306cd8[_0x438fac(0x3c7)]()),this[_0x438fac(0x1c7)]['clear'](),this[_0x438fac(0x1a1)][_0x438fac(0x32b)]();}},exports[_0x859cf8(0x253)]=Gt([Ve(0x0,o[_0x859cf8(0x2ab)]),Ve(0x1,o[_0x859cf8(0x416)](o[_0x859cf8(0x427)]))],exports[_0x859cf8(0x253)]);class Yt extends o[_0x859cf8(0x18e)]{constructor(){var _0x5444b0=_0x859cf8;super(...arguments),A(this,'_members',new Map()),A(this,_0x5444b0(0x25b),new j['BehaviorSubject'](this[_0x5444b0(0x412)])),A(this,_0x5444b0(0x1ae),this['_members$'][_0x5444b0(0x3cb)]());}[_0x859cf8(0x3c7)](){var _0x470ce4=_0x859cf8;this[_0x470ce4(0x412)]['clear']();}[_0x859cf8(0x1b6)](_0x2944af){var _0x363d78=_0x859cf8;this['_members']['set'](_0x2944af[_0x363d78(0x1d6)],_0x2944af),this['_emitMembers']();}[_0x859cf8(0x1ba)](_0x532b06){var _0x4b689a=_0x859cf8;this[_0x4b689a(0x412)][_0x4b689a(0x3fd)](_0x532b06);}[_0x859cf8(0x1df)](_0x2d4999){var _0x21da15=_0x859cf8;return this[_0x21da15(0x412)]['get'](_0x2d4999);}[_0x859cf8(0xe4)](){var _0x21b41d=_0x859cf8;return Array[_0x21b41d(0x133)](this[_0x21b41d(0x412)][_0x21b41d(0x1eb)]());}[_0x859cf8(0x1bd)](){var _0x1b9d79=_0x859cf8;this[_0x1b9d79(0x25b)][_0x1b9d79(0x143)](this[_0x1b9d79(0x412)]);}}var Kt=Object['getOwnPropertyDescriptor'],qt=(_0xb836c5,_0x2efb0c,_0x2ebe4f,_0x949920)=>{var _0x2cdafd=_0x859cf8;for(var _0x2ded3b=_0x949920>0x1?void 0x0:_0x949920?Kt(_0x2efb0c,_0x2ebe4f):_0x2efb0c,_0x6b1281=_0xb836c5[_0x2cdafd(0x44f)]-0x1,_0x160e64;_0x6b1281>=0x0;_0x6b1281--)(_0x160e64=_0xb836c5[_0x6b1281])&&(_0x2ded3b=_0x160e64(_0x2ded3b)||_0x2ded3b);return _0x2ded3b;},ce=(_0x3c427f,_0x332abe)=>(_0x5963c4,_0x3c44e5)=>_0x332abe(_0x5963c4,_0x3c44e5,_0x3c427f),se=(_0x1433c8=>(_0x1433c8[_0x1433c8['IDLE']=0x0]='IDLE',_0x1433c8[_0x1433c8[_0x859cf8(0x442)]=0x1]=_0x859cf8(0x442),_0x1433c8[_0x1433c8[_0x859cf8(0x216)]=0x2]='OFFLINE',_0x1433c8[_0x1433c8[_0x859cf8(0x213)]=0x3]=_0x859cf8(0x213),_0x1433c8))(se||{});const We={[re[_0x859cf8(0x182)]]:_0x859cf8(0x3f8),[re[_0x859cf8(0x26e)]]:'session.room-full',[re[_0x859cf8(0x2f6)]]:_0x859cf8(0x1de),[re[_0x859cf8(0x1f2)]]:_0x859cf8(0x2df),[re[_0x859cf8(0x1b9)]]:_0x859cf8(0x1b8)};exports['CollaborationSession']=class extends o[_0x859cf8(0x26f)]{constructor(_0x1a557a,_0x542456,_0x5e6db6,_0x1452f7,_0x1cfb00,_0x427edc,_0x5f4ee7,_0x14fad7){var _0x6fc1c7=_0x859cf8;super(),A(this,_0x6fc1c7(0x22b),new j[(_0x6fc1c7(0x161))](0x0)),A(this,_0x6fc1c7(0x230),this['_sessionStatus$'][_0x6fc1c7(0x3cb)]()),A(this,_0x6fc1c7(0x233),new j[(_0x6fc1c7(0xdd))]()),A(this,_0x6fc1c7(0x21d),this[_0x6fc1c7(0x233)][_0x6fc1c7(0x3cb)]()),A(this,'_socket'),A(this,_0x6fc1c7(0x3fa)),A(this,_0x6fc1c7(0x1c0)),A(this,_0x6fc1c7(0x391),!0x1),A(this,'_telemetryInfo',null),(this[_0x6fc1c7(0x2d6)]=_0x1a557a,this['_logService']=_0x5e6db6,this[_0x6fc1c7(0x156)]=_0x1452f7,this[_0x6fc1c7(0x1a4)]=_0x1cfb00,this[_0x6fc1c7(0x2bf)]=_0x427edc,this[_0x6fc1c7(0x27a)]=_0x5f4ee7,this['_telemetryService']=_0x14fad7,this[_0x6fc1c7(0x391)]=!!this[_0x6fc1c7(0x3c2)],_0x542456[_0x6fc1c7(0x1d5)](j['takeUntil'](this[_0x6fc1c7(0x283)]))[_0x6fc1c7(0x3c5)](_0x5cc6fb=>{var _0x23a787=_0x6fc1c7,_0x5db3cd;typeof _0x5cc6fb>'u'||(this[_0x23a787(0x2f3)]=_0x5cc6fb,_0x5cc6fb?(this[_0x23a787(0x14d)](_0x5cc6fb),this[_0x23a787(0x3fa)]=_0x5cc6fb[_0x23a787(0xd6)]['subscribe'](_0x159314=>{var _0x435375=_0x23a787;_0x159314[_0x435375(0x16f)]===this[_0x435375(0x2d6)]&&this['_onCombEvent'](_0x159314);})):(this[_0x23a787(0x2b7)](),this['_sessionStatus$'][_0x23a787(0x143)](0x2),(_0x5db3cd=this[_0x23a787(0x3fa)])==null||_0x5db3cd[_0x23a787(0x34f)](),this[_0x23a787(0x3fa)]=null));}));}get[_0x859cf8(0x16c)](){var _0x1b239d=_0x859cf8;return this['_sessionStatus$'][_0x1b239d(0x229)]();}[_0x859cf8(0x192)](){var _0xbef196=_0x859cf8,_0x3ab679,_0x401270;return(_0x401270=(_0x3ab679=this['_socket'])==null?void 0x0:_0x3ab679[_0xbef196(0x1d6)])!=null?_0x401270:null;}[_0x859cf8(0x3c7)](){var _0x34499f=_0x859cf8;super[_0x34499f(0x3c7)](),this[_0x34499f(0x283)][_0x34499f(0x143)](),this[_0x34499f(0x283)][_0x34499f(0x32b)]();}['close'](){var _0x34bf9a=_0x859cf8,_0xccf95d,_0x2ed43a;this['_throwTelemetryCollaborationNewChangeset'](),(_0xccf95d=this[_0x34bf9a(0x2f3)])==null||_0xccf95d[_0x34bf9a(0x267)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x2ed43a=this['_socket'])==null||_0x2ed43a[_0x34bf9a(0x374)](),this[_0x34bf9a(0x233)][_0x34bf9a(0x32b)](),this[_0x34bf9a(0x22b)]['complete'](),this['dispose']();}[_0x859cf8(0x136)](_0x54a778){var _0x5ac433=_0x859cf8;_0x54a778[_0x5ac433(0x315)]===W[_0x5ac433(0x1a9)]?this[_0x5ac433(0x44c)](_0x54a778):_0x54a778[_0x5ac433(0x315)]===W[_0x5ac433(0x373)]&&this[_0x5ac433(0x1ab)](_0x54a778);}[_0x859cf8(0x14d)](_0x1d1a33){var _0x3623a2=_0x859cf8;this[_0x3623a2(0x22b)][_0x3623a2(0x143)](0x1),_0x1d1a33[_0x3623a2(0x267)]({'cmd':W[_0x3623a2(0x1a9)],'routeKey':this[_0x3623a2(0x2d6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3623a2(0x2d6)]}]}});}[_0x859cf8(0x44c)](_0x421121){var _0x517480=_0x859cf8,_0x2dd0a3;if(_0x421121[_0x517480(0x16d)]in We){this[_0x517480(0x27a)][_0x517480(0x361)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x421121[_0x517480(0x16d)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x517480(0x22b)][_0x517480(0x143)](0x3);const _0x549fe6=(_0x2dd0a3=_0x421121[_0x517480(0x1cf)][_0x517480(0x2d3)][this[_0x517480(0x2d6)]])==null?void 0x0:_0x2dd0a3[_0x517480(0x3d4)];_0x549fe6&&_0x549fe6[_0x517480(0x16a)](_0x44d079=>this[_0x517480(0x1a4)][_0x517480(0x1b6)](this[_0x517480(0x2d6)],_0x44d079));}['_onRecvEvent'](_0x3be7d8){var _0x4b5f52=_0x859cf8;try{const _0x1e6697=_0x3be7d8['data'];switch(_0x1e6697[_0x4b5f52(0x2fe)]){case E[_0x4b5f52(0x41d)][_0x4b5f52(0x2f8)]:this['_onUserJoin'](_0x1e6697),this[_0x4b5f52(0x233)]['next'](_0x1e6697);break;case E['CollaborationEvent'][_0x4b5f52(0x3e6)]:this[_0x4b5f52(0x218)](_0x1e6697),this[_0x4b5f52(0x233)][_0x4b5f52(0x143)](_0x1e6697);break;case E['CollaborationEvent'][_0x4b5f52(0x135)]:case E[_0x4b5f52(0x41d)][_0x4b5f52(0x379)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4b5f52(0x188)](),this[_0x4b5f52(0x233)]['next'](_0x1e6697);break;case E['CollaborationEvent'][_0x4b5f52(0x149)]:this['_logService'][_0x4b5f52(0x119)](_0x4b5f52(0x108)+JSON[_0x4b5f52(0x37c)](_0x1e6697)),this[_0x4b5f52(0x233)][_0x4b5f52(0x143)](_0x1e6697);break;case E[_0x4b5f52(0x41d)][_0x4b5f52(0x38d)]:this[_0x4b5f52(0x2bf)][_0x4b5f52(0x38a)](_0x1e6697[_0x4b5f52(0x1cf)]),this[_0x4b5f52(0x233)][_0x4b5f52(0x143)](_0x1e6697);break;default:this[_0x4b5f52(0x233)][_0x4b5f52(0x143)](_0x1e6697);}}catch(_0xc9122e){this[_0x4b5f52(0x142)][_0x4b5f52(0x119)](_0xc9122e,_0x3be7d8);}}['_onUserJoin'](_0x526591){var _0x23f582=_0x859cf8;this[_0x23f582(0x1a4)]['updateMember'](this[_0x23f582(0x2d6)],_0x526591[_0x23f582(0x1cf)]);}[_0x859cf8(0x218)](_0x59b551){var _0x5688d1=_0x859cf8;this['_memberService'][_0x5688d1(0x1ba)](this[_0x5688d1(0x2d6)],_0x59b551[_0x5688d1(0x1cf)][_0x5688d1(0x1d6)]);}async[_0x859cf8(0x267)](_0x16f54a,_0x3aac31){var _0x2b91ca=_0x859cf8;if(this[_0x2b91ca(0x16c)]!==0x3||!this[_0x2b91ca(0x2f3)])throw new Error(_0x2b91ca(0x389));try{_0x16f54a[_0x2b91ca(0x2fe)]===E[_0x2b91ca(0x41d)][_0x2b91ca(0x401)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x16f54a)),this[_0x2b91ca(0x2f3)]['send']({'cmd':W[_0x2b91ca(0x3a1)],'routeKey':_0x3aac31,'routeType':'','data':_0x16f54a});}catch(_0x4f60dd){this[_0x2b91ca(0x142)]['error'](_0x4f60dd);}}[_0x859cf8(0x3b1)](){var _0x4fd265=_0x859cf8,_0x502524;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0xa7c19b=_0x532c;this[_0xa7c19b(0x1c0)]=null,this[_0xa7c19b(0x27a)]['emitEvent']({'id':J['SUBMIT_CHANGESET_TIMEOUT']});},(_0x502524=this[_0x4fd265(0x156)][_0x4fd265(0x40b)](ke))!=null?_0x502524:lt);}[_0x859cf8(0x188)](){var _0x19a6d0=_0x859cf8;this[_0x19a6d0(0x1c0)]&&(clearTimeout(this[_0x19a6d0(0x1c0)]),this[_0x19a6d0(0x1c0)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5356f8){var _0x530433=_0x859cf8;if(!this[_0x530433(0x391)])return;const {data:_0x1f2989}=_0x5356f8,{unitID:_0x4a854a,changeset:_0x5b85fc}=_0x1f2989,{mutations:_0x4317b6,type:_0x45ea42}=_0x5b85fc;this['_telemetryInfo']={'unitId':_0x4a854a,'type':_0x45ea42,'startTime':performance[_0x530433(0x1ec)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x4317b6)};}[_0x859cf8(0x24a)](){var _0xe9ab25=_0x859cf8;if(this[_0xe9ab25(0x391)]){if(!this['_telemetryInfo']){this[_0xe9ab25(0x142)][_0xe9ab25(0x119)](_0xe9ab25(0x43f),_0xe9ab25(0x331));return;}this[_0xe9ab25(0x255)]['stopTime']=performance[_0xe9ab25(0x1ec)](),this[_0xe9ab25(0x255)]['duration']=this['_telemetryInfo'][_0xe9ab25(0x33f)]-this[_0xe9ab25(0x255)][_0xe9ab25(0x388)],this['_telemetryService'][_0xe9ab25(0x305)](Ft,this[_0xe9ab25(0x255)]),this[_0xe9ab25(0x255)]=null;}}[_0x859cf8(0x2b7)](){var _0x1349af=_0x859cf8;this[_0x1349af(0x255)]=null;}},exports['CollaborationSession']=qt([ce(0x2,o[_0x859cf8(0x12c)]),ce(0x3,o['IConfigService']),ce(0x4,o[_0x859cf8(0x416)](exports['MemberService'])),ce(0x5,o[_0x859cf8(0x416)]($e)),ce(0x6,o['Inject'](ee)),ce(0x7,o[_0x859cf8(0x2f5)](Nt[_0x859cf8(0x338)]))],exports['CollaborationSession']);const q=o[_0x859cf8(0x404)](_0x859cf8(0xd1));function zt(_0x5bd814){return'unit-cache-'+_0x5bd814;}var Xt=Object['getOwnPropertyDescriptor'],Jt=(_0x546123,_0x54aa11,_0x4b5c40,_0x4f0afe)=>{var _0x5c802a=_0x859cf8;for(var _0x1370f2=_0x4f0afe>0x1?void 0x0:_0x4f0afe?Xt(_0x54aa11,_0x4b5c40):_0x54aa11,_0x544a8a=_0x546123[_0x5c802a(0x44f)]-0x1,_0x5e721b;_0x544a8a>=0x0;_0x544a8a--)(_0x5e721b=_0x546123[_0x544a8a])&&(_0x1370f2=_0x5e721b(_0x1370f2)||_0x1370f2);return _0x1370f2;},Ue=(_0x1b68f4,_0xe40363)=>(_0x42eead,_0x3ebfe1)=>_0xe40363(_0x42eead,_0x3ebfe1,_0x1b68f4);function Zt(_0x3cdce3){var _0x164a93=_0x859cf8;const {unitID:_0x531f9e,mutations:_0x2a2abc}=_0x3cdce3;return{'unitId':_0x531f9e,'subUnitId':_0x2a2abc[_0x164a93(0x44f)]>0x0?_0x2a2abc[0x0][_0x164a93(0x2d9)]['subUnitId']:null};}exports[_0x859cf8(0x30e)]=class{constructor(_0xdfe412,_0x4fee77,_0x16d292){var _0x32e06d=_0x859cf8;this[_0x32e06d(0x1af)]=_0xdfe412,this[_0x32e06d(0x22f)]=_0x4fee77,this[_0x32e06d(0x326)]=_0x16d292;}[_0x859cf8(0x3f5)](_0x2f996b){var _0x2524e6=_0x859cf8,_0xc36763,_0xbbbf45,_0x3fd2f5,_0x5e82bd;const _0x427910=this['_injector'][_0x2524e6(0x271)](Q[_0x2524e6(0x1dc)]),{unitId:_0x1c3f56,subUnitId:_0x5a2fdc}=Zt(_0x2f996b),_0x227737=_0x427910==null?void 0x0:_0x427910[_0x2524e6(0x22a)](_0x1c3f56)[_0x2524e6(0x42c)](),_0x5e81e2=(_0xbbbf45=(_0xc36763=this['_instanceService'][_0x2524e6(0x172)](_0x1c3f56))==null?void 0x0:_0xc36763[_0x2524e6(0x30f)]())==null?void 0x0:_0xbbbf45['getSheetId']();if(_0x227737[_0x2524e6(0x44f)]===0x0||!_0x1c3f56||!_0x5a2fdc)return;const _0x519443=[{'id':Q[_0x2524e6(0x21f)]['id'],'params':{'unitId':_0x1c3f56,'subUnitId':_0x5e81e2,'selections':o[_0x2524e6(0x1da)][_0x2524e6(0x1e1)](_0x227737)}}],_0x1a6256=this[_0x2524e6(0x22f)]['transformMutationsWithChangeset'](_0x2f996b,_0x519443);if(!E['isTransformMutationsWithChangesetSuccess'](_0x1a6256))throw _0x1a6256['error'];const _0x4b9a70=(_0x5e82bd=(_0x3fd2f5=_0x1a6256[_0x2524e6(0x22d)][0x0])==null?void 0x0:_0x3fd2f5[_0x2524e6(0x2d9)])==null?void 0x0:_0x5e82bd[_0x2524e6(0x3ae)];if(Array['isArray'](_0x4b9a70)&&_0x4b9a70[_0x2524e6(0x44f)]){if(_0x4b9a70[_0x2524e6(0x44f)]===_0x519443[0x0][_0x2524e6(0x2d9)]['selections'][_0x2524e6(0x44f)]&&_0x4b9a70[_0x2524e6(0x197)]((_0x494293,_0x4ff5dc)=>o['Rectangle'][_0x2524e6(0x11f)](_0x494293['range'],_0x519443[0x0][_0x2524e6(0x2d9)][_0x2524e6(0x3ae)][_0x4ff5dc][_0x2524e6(0x3d5)])))return;this[_0x2524e6(0x1af)][_0x2524e6(0x271)](o['ICommandService'])[_0x2524e6(0x2fb)](Q[_0x2524e6(0x21f)]['id'],{'unitId':_0x1c3f56,'subUnitId':_0x5e81e2,'selections':_0x4b9a70});}}},exports[_0x859cf8(0x30e)]=Jt([Ue(0x0,o['Inject'](o[_0x859cf8(0x120)])),Ue(0x1,E['ITransformService']),Ue(0x2,o[_0x859cf8(0x2ab)])],exports[_0x859cf8(0x30e)]);const ve=o['createIdentifier'](_0x859cf8(0x1c2));var He=(_0x26e0b4=>(_0x26e0b4[_0x26e0b4['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x859cf8(0x223),_0x26e0b4[_0x26e0b4[_0x859cf8(0x36c)]=0x1]='OTHER_CLIENTS_EDITING',_0x26e0b4))(He||{});const Y=_0x859cf8(0x27c),Qt={};function ei(_0x5c4254){var _0xb9a6dc=_0x859cf8,_0x4c905d;return!!((_0x4c905d=_0x5c4254[_0xb9a6dc(0x2d9)])!=null&&_0x4c905d[_0xb9a6dc(0x12b)]);}const ti=new Set([Q[_0x859cf8(0x2c6)]['id']]);function Ge(_0x3daa61,_0x227b26,_0x3fa8b4,_0x2b1bc4,_0x34314d){var _0x28b579=_0x859cf8,_0x1fc43a,_0x1d10c4,_0x559962,_0x466d58;const _0x536cc9=[];for(const _0x4194f2 of _0x3daa61){if(ti[_0x28b579(0x44a)](_0x4194f2['id'])){if(_0x536cc9[_0x28b579(0x44f)]>0x0)break;_0x536cc9[_0x28b579(0x3f4)](_0x4194f2);break;}if(ei(_0x4194f2)){if(_0x536cc9[_0x28b579(0x44f)]>0x0)break;_0x536cc9[_0x28b579(0x3f4)](_0x4194f2);break;}_0x536cc9[_0x28b579(0x3f4)](_0x4194f2);}const _0x56db2f=(_0x1d10c4=(_0x1fc43a=_0x34314d['getCurrentUser']())==null?void 0x0:_0x1fc43a[_0x28b579(0x15b)])!=null?_0x1d10c4:_0x28b579(0x1f1),_0x22d000=(_0x466d58=(_0x559962=_0x34314d[_0x28b579(0x15a)]())==null?void 0x0:_0x559962[_0x28b579(0x1d6)])!=null?_0x466d58:_0x28b579(0x1f1);return{'changeset':{'unitID':_0x227b26,'type':E[_0x28b579(0x35d)](_0x3fa8b4[_0x28b579(0x398)](_0x227b26)),'baseRev':_0x2b1bc4['getCurrentRevOfUnit'](_0x227b26),'revision':0x0,'userID':_0x56db2f,'memberID':_0x22d000,'mutations':_0x536cc9},'pendingMutations':_0x3daa61[_0x28b579(0x2ba)](_0x536cc9[_0x28b579(0x44f)])};}function ii(_0x45a484,_0x577294,_0x2101c7,_0x19eaea,_0x381d03){var _0x14215d=_0x859cf8,_0xb9ec5b,_0xadaf3b,_0x54a322,_0x2bd1aa;const _0x3c9655=[_0x45a484[_0x14215d(0x278)]((_0x3a2292,_0x5d9db5)=>{var _0x404fcf=_0x14215d,_0x5ce941;const {id:_0x10a26b}=_0x3a2292,{id:_0x355fbb,type:_0x51506f}=_0x5d9db5,_0x9f4c5c=(_0x5ce941=_0x3a2292['params'])!=null?_0x5ce941:{'actions':null},_0x5334a8=_0x5d9db5[_0x404fcf(0x2d9)];if(_0x10a26b&&_0x10a26b!==_0x355fbb)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x10a26b+'\x20-\x20'+_0x355fbb+'.');return{..._0x3a2292,'id':_0x355fbb,'type':_0x51506f,'params':{'unitId':_0x5334a8['unitId'],'textRanges':_0x5334a8[_0x404fcf(0x291)],'actions':o['JSONX'][_0x404fcf(0x3e3)](_0x9f4c5c[_0x404fcf(0x19d)],_0x5334a8[_0x404fcf(0x19d)])}};},{})],_0xf4ee1=(_0xadaf3b=(_0xb9ec5b=_0x381d03[_0x14215d(0x15a)]())==null?void 0x0:_0xb9ec5b[_0x14215d(0x15b)])!=null?_0xadaf3b:_0x14215d(0x1f1),_0x3725d3=(_0x2bd1aa=(_0x54a322=_0x381d03[_0x14215d(0x15a)]())==null?void 0x0:_0x54a322[_0x14215d(0x1d6)])!=null?_0x2bd1aa:_0x14215d(0x1f1);return{'changeset':{'unitID':_0x577294,'type':E[_0x14215d(0x35d)](_0x2101c7['getUnitType'](_0x577294)),'baseRev':_0x19eaea['getCurrentRevOfUnit'](_0x577294),'revision':0x0,'userID':_0xf4ee1,'memberID':_0x3725d3,'mutations':_0x3c9655},'pendingMutations':[]};}function St(_0x7126e7,_0x57336c){var _0x22936c=_0x859cf8;const _0x242820=new j[(_0x22936c(0x140))](0x1);return setTimeout(()=>_0x242820['next'](_0x57336c),_0x7126e7),_0x242820[_0x22936c(0x3cb)]()['pipe'](j[_0x22936c(0x434)](0x1));}var ni=Object['getOwnPropertyDescriptor'],ae=(_0x126df3,_0x5a7737,_0x43eae5,_0x6f1c31)=>{var _0x568868=_0x859cf8;for(var _0x4f473d=_0x6f1c31>0x1?void 0x0:_0x6f1c31?ni(_0x5a7737,_0x43eae5):_0x5a7737,_0x2bd2ba=_0x126df3[_0x568868(0x44f)]-0x1,_0x194148;_0x2bd2ba>=0x0;_0x2bd2ba--)(_0x194148=_0x126df3[_0x2bd2ba])&&(_0x4f473d=_0x194148(_0x4f473d)||_0x4f473d);return _0x4f473d;},L=(_0x4353fb,_0x113753)=>(_0x47a658,_0x5fb7a4)=>_0x113753(_0x47a658,_0x5fb7a4,_0x4353fb),je=(_0x4391a3=>(_0x4391a3[_0x859cf8(0x249)]=_0x859cf8(0x3d9),_0x4391a3[_0x859cf8(0x203)]=_0x859cf8(0x357),_0x4391a3['PENDING']=_0x859cf8(0x359),_0x4391a3['AWAITING']=_0x859cf8(0x195),_0x4391a3[_0x859cf8(0x2ef)]=_0x859cf8(0x1d9),_0x4391a3[_0x859cf8(0x14b)]=_0x859cf8(0x28a),_0x4391a3[_0x859cf8(0x1ed)]=_0x859cf8(0x394),_0x4391a3[_0x859cf8(0x216)]=_0x859cf8(0x1fa),_0x4391a3))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x1acf17,_0x42c44b,_0x512d59,_0x5a4c12,_0x23d9ae,_0x5767e0,_0x440283,_0x36b05f,_0x5bb940){var _0x2d3aae=_0x859cf8;A(this,_0x2d3aae(0x12f),null),A(this,_0x2d3aae(0x2b0),[]),(this[_0x2d3aae(0x30a)]=_0x1acf17,this[_0x2d3aae(0x41e)]=_0x42c44b,this[_0x2d3aae(0x2bb)]=_0x23d9ae,this[_0x2d3aae(0x3d7)]=_0x5767e0,this[_0x2d3aae(0x2ac)]=_0x440283,this['_revisionService']=_0x36b05f,this[_0x2d3aae(0x18b)]=_0x5bb940,this[_0x2d3aae(0x12f)]=_0x512d59,this[_0x2d3aae(0x2b0)]=_0x5a4c12);}['_checkMissing'](_0x4b0fa8){var _0x58916a=_0x859cf8;const _0x736ac8=this[_0x58916a(0x28d)][_0x58916a(0x1e4)](this[_0x58916a(0x30a)]);return _0x4b0fa8[_0x58916a(0x365)]>_0x736ac8+0x1?(this[_0x58916a(0x2bb)][_0x58916a(0x1a3)]({'from':_0x736ac8,'to':_0x4b0fa8[_0x58916a(0x365)]-0x1}),!0x0):!0x1;}[_0x859cf8(0x433)](_0x532c36){var _0x286262=_0x859cf8;this[_0x286262(0x2ac)]['transformUndoRedo'](this['unitID'],_0x532c36);}['_transformSelections'](_0x24596a){var _0x15193c=_0x859cf8,_0x53ac2a,_0x2af76a;(_0x2af76a=(_0x53ac2a=this[_0x15193c(0x2bb)])[_0x15193c(0x350)])==null||_0x2af76a[_0x15193c(0x2ad)](_0x53ac2a,_0x24596a);}[_0x859cf8(0x205)](_0x1da6e7){var _0x5d7025=_0x859cf8,_0x4f23b5,_0x32b864;return(_0x32b864=(_0x4f23b5=this[_0x5d7025(0x2bb)])['onTransformIME'])==null?void 0x0:_0x32b864[_0x5d7025(0x2ad)](_0x4f23b5,_0x1da6e7);}['_transformStateCache'](_0x1097ab){var _0x13359d=_0x859cf8,_0x2ac485,_0x3dbb63;return(_0x3dbb63=(_0x2ac485=this['_handler'])[_0x13359d(0x166)])==null?void 0x0:_0x3dbb63[_0x13359d(0x2ad)](_0x2ac485,_0x1097ab);}[_0x859cf8(0x202)](_0x25201e){var _0x50fb55=_0x859cf8,_0x5ce515,_0x267f8a,_0x263699;return(_0x263699=(_0x267f8a=(_0x5ce515=this[_0x50fb55(0x2bb)])[_0x50fb55(0x3e0)])==null?void 0x0:_0x267f8a[_0x50fb55(0x2ad)](_0x5ce515,_0x25201e))!=null?_0x263699:_0x25201e;}[_0x859cf8(0x214)](_0x2bd499){var _0x2bd54d=_0x859cf8,_0xdd29f2,_0x1e6439,_0x4b3fd2;return(_0x4b3fd2=(_0x1e6439=(_0xdd29f2=this[_0x2bd54d(0x2bb)])[_0x2bd54d(0xfd)])==null?void 0x0:_0x1e6439['call'](_0xdd29f2,_0x2bd499))!=null?_0x4b3fd2:_0x2bd499;}['_syncEditingCollabCursor'](_0x12ae23){var _0x19d717=_0x859cf8,_0xc7982f,_0x48e432;if(this[_0x19d717(0x41e)]===X['UNIVER_DOC']){const {unitID:_0x1cd67b,mutations:_0xdb6c25,memberID:_0x56d31f}=_0x12ae23,_0x1d0903=_0xdb6c25[_0x19d717(0x44f)]>0x0?_0xdb6c25[0x0][_0x19d717(0x2d9)][_0x19d717(0x291)]:[];Array[_0x19d717(0x158)](_0x1d0903)&&_0x1d0903[_0x19d717(0x44f)]>0x0&&((_0x48e432=(_0xc7982f=this['_handler'])[_0x19d717(0x1c8)])==null||_0x48e432[_0x19d717(0x2ad)](_0xc7982f,{'unitID':_0x1cd67b,'memberID':_0x56d31f,'textRanges':_0x1d0903}));}}[_0x859cf8(0x2af)](){var _0x114235=_0x859cf8,_0x583680;(_0x583680=this[_0x114235(0x18b)])==null||_0x583680[_0x114235(0xe8)](this[_0x114235(0x30a)],this[_0x114235(0x41e)],this[_0x114235(0x12f)],this[_0x114235(0x2b0)]);}[_0x859cf8(0x42a)](){var _0xd80187=_0x859cf8;return this[_0xd80187(0x28d)]['getCurrentRevOfUnit'](this[_0xd80187(0x30a)]);}[_0x859cf8(0x23e)](){var _0x5967c0=_0x859cf8;this[_0x5967c0(0x28d)][_0x5967c0(0x220)](this[_0x5967c0(0x30a)]);}['_executeRemoteChangeset'](_0x2a1f0b){var _0x2342ba=_0x859cf8,_0x5b54c1;let _0x26c12b=this[_0x2342ba(0x202)](_0x2a1f0b);_0x26c12b=this[_0x2342ba(0x214)](_0x26c12b);const _0x4dfe8a=o['sequenceExecute'](_0x26c12b[_0x2342ba(0x170)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4dfe8a[_0x2342ba(0x20f)])throw _0x4dfe8a[_0x2342ba(0x119)]instanceof Error?_0x4dfe8a[_0x2342ba(0x119)]:new Error((_0x5b54c1=_0x4dfe8a['error'])!=null?_0x5b54c1:_0x2342ba(0x2b4));this['_transformIMECache'](_0x26c12b),this[_0x2342ba(0x257)](_0x26c12b),this[_0x2342ba(0x433)](_0x2a1f0b),this['_transformSelections'](_0x26c12b),this[_0x2342ba(0x2fc)](_0x26c12b),this[_0x2342ba(0x23e)]();}}function _0x532c(_0x1b35f5,_0x828974){_0x1b35f5=_0x1b35f5-0xc9;var _0x1d6273=_0x1d62();var _0x532cd2=_0x1d6273[_0x1b35f5];return _0x532cd2;}exports[_0x859cf8(0x112)]=class extends oe{constructor(_0x384afb,_0x125041,_0x1b495a,_0x3c68b2,_0x565a5a,_0x4f541f,_0x3ac036,_0x425f5f,_0x298075,_0x11f6dc){var _0x28e092=_0x859cf8;super(_0x384afb,_0x125041,null,[],_0x1b495a,_0x3ac036,_0x4f541f,_0x3c68b2,_0x11f6dc),A(this,'status','synced'),(this['_injector']=_0x565a5a,this[_0x28e092(0x142)]=_0x425f5f,this[_0x28e092(0x22f)]=_0x298075,this['localCacheService']=_0x11f6dc);}[_0x859cf8(0x422)](_0x314f72){var _0x4c68ed=_0x859cf8;const _0xcbac6e=this[_0x4c68ed(0x1af)][_0x4c68ed(0x10f)](exports['PendingState'],this[_0x4c68ed(0x30a)],this['type'],[_0x314f72],this[_0x4c68ed(0x2bb)]);return _0xcbac6e[_0x4c68ed(0x40e)](),_0xcbac6e['_updateLocalCache'](),_0xcbac6e;}[_0x859cf8(0x3f9)](_0x469fc1){var _0x3749a9=_0x859cf8;if(this['_checkMissing'](_0x469fc1))return this['_injector'][_0x3749a9(0x10f)](exports[_0x3749a9(0x1ce)],this[_0x3749a9(0x30a)],this[_0x3749a9(0x41e)],null,[],null,[_0x469fc1],this[_0x3749a9(0x2bb)]);try{const _0x57d4c0=this['_transformService'][_0x3749a9(0x3c9)](_0x469fc1,[E[_0x3749a9(0x276)]]);if(E[_0x3749a9(0x447)](_0x57d4c0)){const {c1Prime:_0x569b36}=_0x57d4c0;return this['_executeRemoteChangeset'](_0x569b36),this;}throw _0x57d4c0[_0x3749a9(0x119)];}catch(_0xb2df27){return this[_0x3749a9(0x142)]['error'](_0xb2df27),this['_onConflict'](!0x1);}}[_0x859cf8(0x1f9)](_0x4506e5){var _0x4cc122=_0x859cf8;return this[_0x4cc122(0x1af)][_0x4cc122(0x10f)](exports['ConflictState'],this[_0x4cc122(0x30a)],this[_0x4cc122(0x41e)],null,[],this[_0x4cc122(0x2bb)],_0x4506e5);}[_0x859cf8(0x221)](){var _0x1f2a52=_0x859cf8;throw new Error(_0x1f2a52(0x36f));}['onRemoteRej'](){var _0x15101d=_0x859cf8;throw new Error(_0x15101d(0x13c));}[_0x859cf8(0x150)](){return this;}[_0x859cf8(0x3df)](){var _0x26f786=_0x859cf8;return this[_0x26f786(0x1af)][_0x26f786(0x10f)](exports[_0x26f786(0x212)],this[_0x26f786(0x30a)],this[_0x26f786(0x41e)],null,[],this[_0x26f786(0x2bb)]);}[_0x859cf8(0x20d)](){return this;}[_0x859cf8(0x235)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x859cf8(0x19e)](){var _0x418ef1=_0x859cf8;const _0x877ba7=this[_0x418ef1(0x28d)][_0x418ef1(0x1e4)](this[_0x418ef1(0x30a)]);return this[_0x418ef1(0x2bb)]['onMissingChangesets']({'from':_0x877ba7,'to':0x0}),this['_injector'][_0x418ef1(0x10f)](exports[_0x418ef1(0x1ce)],this[_0x418ef1(0x30a)],this[_0x418ef1(0x41e)],null,[],null,[],this[_0x418ef1(0x2bb)]);}},exports[_0x859cf8(0x112)]=ae([L(0x3,o[_0x859cf8(0x416)](E[_0x859cf8(0x3dc)])),L(0x4,o[_0x859cf8(0x416)](o['Injector'])),L(0x5,o[_0x859cf8(0x1f3)]),L(0x6,o[_0x859cf8(0x1b4)]),L(0x7,o['ILogService']),L(0x8,E[_0x859cf8(0x306)]),L(0x9,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x112)]),exports[_0x859cf8(0x1aa)]=class extends oe{constructor(_0x30795c,_0x122e4f,_0x416dc4,_0x423ad6,_0x251fce,_0x438eba,_0x9d8aa4,_0x2bba4a,_0x3112f4,_0x3c14b4,_0x285536,_0x2f97e9,_0x599201,_0x40e220){var _0x39c926=_0x859cf8;super(_0x30795c,_0x122e4f,null,_0x416dc4,_0x423ad6,_0x3112f4,_0x599201,_0x438eba,_0x40e220),A(this,'status','pending'),A(this,_0x39c926(0xe7),null),A(this,'_sendingTimer',null),(this[_0x39c926(0x1af)]=_0x251fce,this['_memberService']=_0x9d8aa4,this[_0x39c926(0x142)]=_0x2bba4a,this['_configService']=_0x3c14b4,this[_0x39c926(0x22f)]=_0x285536,this['_univerInstanceService']=_0x2f97e9);}['appendMutation'](_0x5041c7){return this['_pendingMutations']['push'](_0x5041c7),this['_updateLocalCache'](),this;}[_0x859cf8(0x3f9)](_0x338d25){var _0x1ab6e3=_0x859cf8;if(this['_checkMissing'](_0x338d25))return this['_clearScheduledTask'](),this[_0x1ab6e3(0x1af)][_0x1ab6e3(0x10f)](exports[_0x1ab6e3(0x1ce)],this[_0x1ab6e3(0x30a)],this[_0x1ab6e3(0x41e)],null,this[_0x1ab6e3(0x2b0)],null,[_0x338d25],this['_handler']);try{const _0x1b4e4e=this[_0x1ab6e3(0x22f)][_0x1ab6e3(0x3c9)](_0x338d25,this['_pendingMutations']);if(E[_0x1ab6e3(0x447)](_0x1b4e4e)){const {c1Prime:_0x5c8055,m2Prime:_0x34e460}=_0x1b4e4e;this[_0x1ab6e3(0x14e)](_0x5c8055);const _0x4a1676=this[_0x1ab6e3(0x1af)]['createInstance'](exports[_0x1ab6e3(0x1aa)],this[_0x1ab6e3(0x30a)],this['type'],_0x34e460,this[_0x1ab6e3(0x2bb)]);this['_clearScheduledTask']();const _0x44ed78=new Date()['getTime'](),_0x18b2e0=this['_scheduleCompleteTimestamp']?Math[_0x1ab6e3(0x381)](this['_scheduleCompleteTimestamp']-_0x44ed78,0x0):this[_0x1ab6e3(0x342)]();return _0x4a1676[_0x1ab6e3(0x40e)](_0x18b2e0),_0x4a1676;}throw _0x1b4e4e['error'];}catch(_0x2db4a7){return this[_0x1ab6e3(0x142)][_0x1ab6e3(0x119)](_0x2db4a7),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0xa50860=_0x859cf8;throw new Error(_0xa50860(0x2e4));}[_0x859cf8(0x27b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x859cf8(0x150)](){return this;}[_0x859cf8(0x3df)](){var _0x2120fc=_0x859cf8;return this[_0x2120fc(0x383)](),this['_injector'][_0x2120fc(0x10f)](exports['OfflineState'],this[_0x2120fc(0x30a)],this[_0x2120fc(0x41e)],null,this[_0x2120fc(0x2b0)],this[_0x2120fc(0x2bb)]);}['toggleOnline'](){return this;}['_schedule'](_0x31e9fd){var _0x40f6f1=_0x859cf8;const _0x3c3ec2=_0x31e9fd!=null?_0x31e9fd:this[_0x40f6f1(0x342)]();this[_0x40f6f1(0xe7)]=new Date()[_0x40f6f1(0x370)]()+_0x3c3ec2,this[_0x40f6f1(0x153)]=setTimeout(()=>{var _0xceabed=_0x40f6f1;this['_clearScheduledTask']();let _0x1afafe=null;switch(this['type']){case X[_0xceabed(0x358)]:{_0x1afafe=Ge(this['_pendingMutations'],this[_0xceabed(0x30a)],this['_univerInstanceService'],this[_0xceabed(0x28d)],this[_0xceabed(0x1a4)]);break;}case X['UNIVER_DOC']:{this['_pendingMutations'][_0xceabed(0x197)](_0x1b354f=>_0x1b354f['id']===ct[_0xceabed(0xe6)]['id'])?_0x1afafe=ii(this[_0xceabed(0x2b0)],this[_0xceabed(0x30a)],this[_0xceabed(0xc9)],this[_0xceabed(0x28d)],this['_memberService']):_0x1afafe=Ge(this[_0xceabed(0x2b0)],this[_0xceabed(0x30a)],this[_0xceabed(0xc9)],this[_0xceabed(0x28d)],this[_0xceabed(0x1a4)]);break;}default:throw new Error(_0xceabed(0xfe)+this[_0xceabed(0x41e)]+_0xceabed(0x1e5));}const {changeset:_0x5578cc,pendingMutations:_0x8c31c9}=_0x1afafe;this[_0xceabed(0x2bb)][_0xceabed(0x2c7)](_0x5578cc);const _0x873bd8=_0x8c31c9[_0xceabed(0x44f)]?this[_0xceabed(0x1af)][_0xceabed(0x10f)](exports['AwaitingWithPendingState'],this[_0xceabed(0x30a)],this['type'],_0x5578cc,_0x8c31c9,this[_0xceabed(0x2bb)],void 0x0):this[_0xceabed(0x1af)][_0xceabed(0x10f)](exports[_0xceabed(0x327)],this[_0xceabed(0x30a)],this[_0xceabed(0x41e)],_0x5578cc,this[_0xceabed(0x2bb)]);_0x873bd8[_0xceabed(0x2af)](),this[_0xceabed(0x2bb)][_0xceabed(0x417)](this,_0x873bd8);},_0x3c3ec2);}[_0x859cf8(0x342)](){var _0x26fec8=_0x859cf8,_0x4b3bbe;const _0xa71ab6=this[_0x26fec8(0x156)]['getConfig'](Y);return(_0x4b3bbe=_0xa71ab6==null?void 0x0:_0xa71ab6['sendChangesetTimeout'])!=null?_0x4b3bbe:At;}[_0x859cf8(0x235)](){var _0x4d344b=_0x859cf8;throw new Error(_0x4d344b(0x154));}[_0x859cf8(0x383)](){var _0x5c4bc6=_0x859cf8;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5c4bc6(0x153)]),this[_0x5c4bc6(0x153)]=null);}[_0x859cf8(0x1f9)](_0x1aeff1){var _0x20be1f=_0x859cf8;return this[_0x20be1f(0x383)](),this['_injector'][_0x20be1f(0x10f)](exports[_0x20be1f(0x34c)],this[_0x20be1f(0x30a)],this[_0x20be1f(0x41e)],null,this['_pendingMutations'],this['_handler'],_0x1aeff1);}},exports[_0x859cf8(0x1aa)]=ae([L(0x4,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),L(0x5,o[_0x859cf8(0x416)](E[_0x859cf8(0x3dc)])),L(0x6,o['Inject'](exports[_0x859cf8(0x253)])),L(0x7,o[_0x859cf8(0x12c)]),L(0x8,o[_0x859cf8(0x1b4)]),L(0x9,o['IConfigService']),L(0xa,E['ITransformService']),L(0xb,o[_0x859cf8(0x2ab)]),L(0xc,o[_0x859cf8(0x1f3)]),L(0xd,o[_0x859cf8(0x2f5)](q))],exports['PendingState']),exports[_0x859cf8(0x327)]=class extends oe{constructor(_0x5b51d6,_0x438d8d,_0x77c362,_0x33b8b7,_0x2ddabb,_0x341489,_0x7ff55,_0x1f72de,_0x2b43ad,_0x5c0e1f,_0x136c34){var _0x115035=_0x859cf8;super(_0x5b51d6,_0x438d8d,_0x77c362,[],_0x33b8b7,_0x7ff55,_0x5c0e1f,_0x341489,_0x136c34),A(this,_0x115035(0x2c2),_0x115035(0x195)),A(this,_0x115035(0x393),0x0),A(this,_0x115035(0x42d),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x115035(0x1af)]=_0x2ddabb,this[_0x115035(0x142)]=_0x1f72de,this[_0x115035(0x22f)]=_0x2b43ad);}['appendMutation'](_0x1a60af){var _0x49b722=_0x859cf8;this[_0x49b722(0x383)]();const _0x53e38a=this[_0x49b722(0x1af)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x49b722(0x30a)],this['type'],this['_awaitingChangeset'],[_0x1a60af],this[_0x49b722(0x2bb)],this[_0x49b722(0x298)]);return _0x53e38a[_0x49b722(0x2af)](),_0x53e38a;}[_0x859cf8(0x3f9)](_0x313f38){var _0x1dc4bc=_0x859cf8;if(this[_0x1dc4bc(0x196)](_0x313f38))return this[_0x1dc4bc(0x383)](),this[_0x1dc4bc(0x1af)][_0x1dc4bc(0x10f)](exports[_0x1dc4bc(0x1ce)],this[_0x1dc4bc(0x30a)],this[_0x1dc4bc(0x41e)],this[_0x1dc4bc(0x12f)],[],null,[_0x313f38],this[_0x1dc4bc(0x2bb)]);try{const _0x5cb6fa=this['_transformService'][_0x1dc4bc(0x351)]([_0x313f38],[this[_0x1dc4bc(0x12f)]],!0x1);if(E[_0x1dc4bc(0x17f)](_0x5cb6fa)){const {c1Prime:_0x40bc13,c2Prime:_0x1a66fb}=_0x5cb6fa;this[_0x1dc4bc(0x14e)](_0x40bc13[0x0]),_0x1a66fb[0x0][_0x1dc4bc(0x2d0)]=this[_0x1dc4bc(0x42a)](),this[_0x1dc4bc(0x383)]();const _0x417c90=this['_injector'][_0x1dc4bc(0x10f)](exports[_0x1dc4bc(0x327)],this['unitID'],this[_0x1dc4bc(0x41e)],_0x1a66fb[0x0],this[_0x1dc4bc(0x2bb)]);return _0x417c90[_0x1dc4bc(0x2af)](),_0x417c90;}return this[_0x1dc4bc(0x1f9)](!0x1);}catch(_0x276233){return this[_0x1dc4bc(0x142)][_0x1dc4bc(0x119)](_0x276233),this[_0x1dc4bc(0x1f9)](!0x1);}}[_0x859cf8(0x221)](_0x456a4b){var _0x33d9ca=_0x859cf8;this['_clearScheduledTask']();const _0x33b18e=this[_0x33d9ca(0x28d)][_0x33d9ca(0x1e4)](this[_0x33d9ca(0x30a)]);if(_0x456a4b[_0x33d9ca(0x365)]<_0x33b18e-0x1)return this;if(this[_0x33d9ca(0x196)](_0x456a4b))return this[_0x33d9ca(0x1af)][_0x33d9ca(0x10f)](exports[_0x33d9ca(0x1ce)],this[_0x33d9ca(0x30a)],this['type'],null,[],this[_0x33d9ca(0x12f)],[],this[_0x33d9ca(0x2bb)]);this[_0x33d9ca(0x23e)]();const _0x2d8c55=this[_0x33d9ca(0x1af)][_0x33d9ca(0x10f)](exports['SyncedState'],this[_0x33d9ca(0x30a)],this[_0x33d9ca(0x41e)],this[_0x33d9ca(0x2bb)]);return _0x2d8c55[_0x33d9ca(0x2af)](),_0x2d8c55;}[_0x859cf8(0x27b)](_0x3a30b0){var _0x5b2e37=_0x859cf8;return this[_0x5b2e37(0x1f9)](!!(_0x3a30b0!=null&&_0x3a30b0['isPermissionRej']));}[_0x859cf8(0x150)](_0x706c0b){var _0x2b9d10=_0x859cf8;return this[_0x2b9d10(0x42d)]>ft?this[_0x2b9d10(0x3df)]():(this[_0x2b9d10(0x298)]=St(this[_0x2b9d10(0x393)],{'timeout':this[_0x2b9d10(0x393)],'reqId':_0x706c0b[_0x2b9d10(0x42f)]}),this[_0x2b9d10(0x37a)]=this[_0x2b9d10(0x298)][_0x2b9d10(0x3c5)](({reqId:_0x3d5840,timeout:_0x138c3f})=>{var _0x208c40=_0x2b9d10;this[_0x208c40(0x28c)](_0x3d5840,_0x138c3f);}),this);}[_0x859cf8(0x3df)](){var _0x3aedd1=_0x859cf8;return this[_0x3aedd1(0x383)](),this[_0x3aedd1(0x1af)][_0x3aedd1(0x10f)](exports[_0x3aedd1(0x212)],this[_0x3aedd1(0x30a)],this[_0x3aedd1(0x41e)],this[_0x3aedd1(0x12f)],[],this[_0x3aedd1(0x2bb)]);}[_0x859cf8(0x20d)](){return this;}[_0x859cf8(0x235)](){var _0x17f4bf=_0x859cf8;this[_0x17f4bf(0x2bb)][_0x17f4bf(0x2c7)](this[_0x17f4bf(0x12f)]);}[_0x859cf8(0x1f9)](_0x5b7a42){var _0x537c4f=_0x859cf8;return this['_clearScheduledTask'](),this['_injector'][_0x537c4f(0x10f)](exports['ConflictState'],this[_0x537c4f(0x30a)],this[_0x537c4f(0x41e)],this[_0x537c4f(0x12f)],[],this[_0x537c4f(0x2bb)],_0x5b7a42);}[_0x859cf8(0x28c)](_0x4f22a7,_0x5487b3){var _0x4f1820=_0x859cf8,_0x3c58bc;_0x4f22a7===((_0x3c58bc=this[_0x4f1820(0x12f)])==null?void 0x0:_0x3c58bc['reqId'])&&(this[_0x4f1820(0x235)](),this[_0x4f1820(0x393)]=_0x5487b3===0x0?0x3e8:Math['min'](_0x5487b3*0x2,It),this[_0x4f1820(0x42d)]+=this[_0x4f1820(0x393)]);}[_0x859cf8(0x383)](){var _0xbf2c01=_0x859cf8,_0x31f396;(_0x31f396=this[_0xbf2c01(0x37a)])==null||_0x31f396[_0xbf2c01(0x34f)](),this[_0xbf2c01(0x393)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x859cf8(0x327)]=ae([L(0x4,o[_0x859cf8(0x416)](o['Injector'])),L(0x5,o[_0x859cf8(0x416)](E['RevisionService'])),L(0x6,o[_0x859cf8(0x1b4)]),L(0x7,o[_0x859cf8(0x12c)]),L(0x8,E[_0x859cf8(0x306)]),L(0x9,o[_0x859cf8(0x1f3)]),L(0xa,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x327)]),exports[_0x859cf8(0x1ee)]=class extends oe{constructor(_0x2e6255,_0x580107,_0x4c2607,_0x55a636,_0x22f969,_0x3a48c0,_0x4f408b,_0x397b07,_0x14a882,_0x217233,_0x314cf6,_0x3cb304,_0xe62743){var _0x20a6f2=_0x859cf8;super(_0x2e6255,_0x580107,_0x4c2607,_0x55a636,_0x22f969,_0x14a882,_0x3cb304,_0x397b07,_0xe62743),A(this,_0x20a6f2(0x2c2),_0x20a6f2(0x1d9)),A(this,_0x20a6f2(0x393),0x0),A(this,_0x20a6f2(0x42d),0x0),A(this,_0x20a6f2(0x298)),A(this,'_sender'),(this[_0x20a6f2(0x1af)]=_0x4f408b,this[_0x20a6f2(0x142)]=_0x217233,this['_transformService']=_0x314cf6,this[_0x20a6f2(0x244)]=_0xe62743,_0x3a48c0&&(this[_0x20a6f2(0x298)]=_0x3a48c0,this[_0x20a6f2(0x37a)]=this[_0x20a6f2(0x298)][_0x20a6f2(0x3c5)](({reqId:_0x5680ca,timeout:_0x2e16af})=>{var _0x47217f=_0x20a6f2;this[_0x47217f(0x28c)](_0x5680ca,_0x2e16af);})));}[_0x859cf8(0x422)](_0x335696){var _0x12c288=_0x859cf8;return this[_0x12c288(0x2b0)][_0x12c288(0x3f4)](_0x335696),this;}['onRemoteChangeset'](_0x415c7f){var _0x1fce34=_0x859cf8;if(this[_0x1fce34(0x196)](_0x415c7f))return this[_0x1fce34(0x383)](),this[_0x1fce34(0x1af)]['createInstance'](exports[_0x1fce34(0x1ce)],this[_0x1fce34(0x30a)],this[_0x1fce34(0x41e)],this['_awaitingChangeset'],this[_0x1fce34(0x2b0)],null,[_0x415c7f],this[_0x1fce34(0x2bb)]);try{const _0x4ff172=this[_0x1fce34(0x22f)][_0x1fce34(0x351)]([_0x415c7f],[this['_awaitingChangeset']],!0x1);if(E[_0x1fce34(0x17f)](_0x4ff172)){const {c1Prime:_0x555673,c2Prime:_0x30b671}=_0x4ff172,_0x3136d7=this[_0x1fce34(0x22f)][_0x1fce34(0x3c9)](_0x555673[0x0],this[_0x1fce34(0x2b0)]);if(E[_0x1fce34(0x447)](_0x3136d7)){const {c1Prime:_0x596dab,m2Prime:_0x1aa475}=_0x3136d7;return this['_executeRemoteChangeset'](_0x596dab),_0x30b671[0x0][_0x1fce34(0x2d0)]=this[_0x1fce34(0x42a)](),this[_0x1fce34(0x383)](),this[_0x1fce34(0x1af)][_0x1fce34(0x10f)](exports[_0x1fce34(0x1ee)],this['unitID'],this[_0x1fce34(0x41e)],_0x30b671[0x0],_0x1aa475,this[_0x1fce34(0x2bb)],void 0x0);}throw _0x3136d7['error'];}throw _0x4ff172[_0x1fce34(0x119)];}catch(_0x4efa52){return this[_0x1fce34(0x142)][_0x1fce34(0x119)](_0x4efa52),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x142e86){var _0x2477b9=_0x859cf8;if(this[_0x2477b9(0x383)](),this[_0x2477b9(0x196)](_0x142e86))return this[_0x2477b9(0x1af)][_0x2477b9(0x10f)](exports[_0x2477b9(0x1ce)],this[_0x2477b9(0x30a)],this[_0x2477b9(0x41e)],null,this[_0x2477b9(0x2b0)],this[_0x2477b9(0x12f)],[],this['_handler']);this[_0x2477b9(0x23e)]();const _0x4de87b=this['_injector']['createInstance'](exports[_0x2477b9(0x1aa)],this[_0x2477b9(0x30a)],this[_0x2477b9(0x41e)],this[_0x2477b9(0x2b0)],this[_0x2477b9(0x2bb)]);return _0x4de87b[_0x2477b9(0x40e)](),_0x4de87b[_0x2477b9(0x2af)](),_0x4de87b;}[_0x859cf8(0x27b)](_0x2a4549){var _0x19fa9b=_0x859cf8;return this[_0x19fa9b(0x1f9)](!!(_0x2a4549!=null&&_0x2a4549[_0x19fa9b(0x24c)]));}[_0x859cf8(0x150)](_0x13fa02){var _0x205a18=_0x859cf8;return this[_0x205a18(0x42d)]>ft?this[_0x205a18(0x3df)]():(this['_resendTimer']=St(this[_0x205a18(0x393)],{'timeout':this[_0x205a18(0x393)],'reqId':_0x13fa02[_0x205a18(0x42f)]}),this[_0x205a18(0x37a)]=this[_0x205a18(0x298)]['subscribe'](({reqId:_0x5559d7,timeout:_0x23d55d})=>{this['_resendWithTimeout'](_0x5559d7,_0x23d55d);}),this);}['toggleOffline'](){var _0x3cb64c=_0x859cf8;return this[_0x3cb64c(0x383)](),this[_0x3cb64c(0x1af)]['createInstance'](exports['OfflineState'],this['unitID'],this[_0x3cb64c(0x41e)],this[_0x3cb64c(0x12f)],this[_0x3cb64c(0x2b0)],this[_0x3cb64c(0x2bb)]);}[_0x859cf8(0x20d)](){return this;}[_0x859cf8(0x235)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x859cf8(0x1f9)](_0x5dbeed){var _0x1b48b0=_0x859cf8;return this[_0x1b48b0(0x383)](),this[_0x1b48b0(0x1af)][_0x1b48b0(0x10f)](exports[_0x1b48b0(0x34c)],this[_0x1b48b0(0x30a)],this[_0x1b48b0(0x41e)],null,this['_pendingMutations'],this['_handler'],_0x5dbeed);}[_0x859cf8(0x28c)](_0x302a68,_0x4c0c69){var _0x2ec4fe=_0x859cf8,_0x16cc82;_0x302a68===((_0x16cc82=this[_0x2ec4fe(0x12f)])==null?void 0x0:_0x16cc82[_0x2ec4fe(0x42f)])&&(this[_0x2ec4fe(0x235)](),this[_0x2ec4fe(0x393)]=_0x4c0c69===0x0?0x3e8:Math[_0x2ec4fe(0x314)](_0x4c0c69*0x2,It),this[_0x2ec4fe(0x42d)]+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x3a5d5c=_0x859cf8,_0x11d899;(_0x11d899=this['_sender'])==null||_0x11d899[_0x3a5d5c(0x34f)](),this[_0x3a5d5c(0x393)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x859cf8(0x1ee)]=ae([L(0x6,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),L(0x7,o[_0x859cf8(0x416)](E[_0x859cf8(0x3dc)])),L(0x8,o['ICommandService']),L(0x9,o['ILogService']),L(0xa,E[_0x859cf8(0x306)]),L(0xb,o[_0x859cf8(0x1f3)]),L(0xc,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x1ee)]),exports['ConflictState']=class extends oe{constructor(_0x38180d,_0x4d4597,_0x2555ba,_0x2187f1,_0x4bf31f,_0x4ff024=!0x1,_0x3a7768,_0x27b976,_0x369d2f,_0x18ce3c,_0x35c717,_0x28c292,_0x4ec69c){var _0x764d71=_0x859cf8;super(_0x38180d,_0x4d4597,_0x2555ba,_0x2187f1,_0x4bf31f,_0x27b976,_0x369d2f,_0x18ce3c,_0x4ec69c),A(this,_0x764d71(0x2c2),'conflict'),(this[_0x764d71(0x33d)]=_0x4ff024,this[_0x764d71(0x312)]=_0x3a7768,this[_0x764d71(0x41a)]=_0x35c717,this['_collaborationUIEventService']=_0x28c292,this[_0x764d71(0x244)]=_0x4ec69c,this['_showConflictNotification'](),this[_0x764d71(0x2e9)](),this['_disableEditing']());}[_0x859cf8(0x422)](){return this;}[_0x859cf8(0x3f9)](){return this;}[_0x859cf8(0x221)](){return this;}[_0x859cf8(0x27b)](){return this;}[_0x859cf8(0x150)](){return this;}[_0x859cf8(0x3df)](){return this;}[_0x859cf8(0x20d)](){return this;}[_0x859cf8(0x235)](){var _0x320256=_0x859cf8;throw new Error(_0x320256(0x308));}['_clearLocalCache'](){var _0x22fb18=_0x859cf8,_0x18e52f;(_0x18e52f=this['_localCacheService'])==null||_0x18e52f['updateOfflineData'](this[_0x22fb18(0x30a)],this[_0x22fb18(0x41e)],null,[]);}['_showConflictNotification'](){var _0x36becd=_0x859cf8;this['_isPermissionRej']?this[_0x36becd(0x27a)][_0x36becd(0x361)]({'id':J[_0x36becd(0x2fa)]}):this[_0x36becd(0x27a)]['emitEvent']({'id':J[_0x36becd(0x1ed)]});}[_0x859cf8(0x104)](){var _0x474247=_0x859cf8;this[_0x474247(0x312)]['updatePermissionPoint'](new Q[(_0x474247(0x2ca))](this[_0x474247(0x30a)])['id'],!0x1);}},exports[_0x859cf8(0x34c)]=ae([L(0x6,o[_0x859cf8(0x416)](o[_0x859cf8(0x160)])),L(0x7,o[_0x859cf8(0x1b4)]),L(0x8,o[_0x859cf8(0x1f3)]),L(0x9,o[_0x859cf8(0x416)](E['RevisionService'])),L(0xa,o[_0x859cf8(0x416)](o[_0x859cf8(0xf9)])),L(0xb,o['Inject'](ee)),L(0xc,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x34c)]),exports['OfflineState']=class extends oe{constructor(_0x552ec5,_0x8fbcac,_0x1f52a8,_0x5e8e6a,_0x3b20dc,_0x14e7da,_0x1e29d0,_0xd6cd7f,_0x452364,_0x2f11bf){var _0x48f84a=_0x859cf8;super(_0x552ec5,_0x8fbcac,_0x1f52a8,_0x5e8e6a,_0x3b20dc,_0xd6cd7f,_0x452364,_0x1e29d0,_0x2f11bf),A(this,'status',_0x48f84a(0x1fa)),this[_0x48f84a(0x1af)]=_0x14e7da;}[_0x859cf8(0x422)](_0xceea9){var _0x514690=_0x859cf8;return this[_0x514690(0x2b0)][_0x514690(0x3f4)](_0xceea9),this[_0x514690(0x2af)](),this;}[_0x859cf8(0x3f9)](_0x267a7b){var _0x2280ce=_0x859cf8;throw new Error(_0x2280ce(0x35b));}['onRemoteAck'](){var _0xaa5238=_0x859cf8;throw new Error(_0xaa5238(0x1c4));}[_0x859cf8(0x27b)](){var _0x5f3b52=_0x859cf8;throw new Error(_0x5f3b52(0x285));}[_0x859cf8(0x150)](){return this;}[_0x859cf8(0x3df)](){return this;}[_0x859cf8(0x20d)](){var _0x3dc949=_0x859cf8;const {_injector:_0x3ebfc3,_pendingMutations:_0x352392,_awaitingChangeset:_0x584d3e,unitID:_0x3c3b65,_handler:_0x478855,type:_0x308f0b}=this,_0x3953e1=Et(_0x3ebfc3,_0x3c3b65,_0x308f0b,_0x584d3e,_0x352392,_0x478855);return _0x3953e1 instanceof exports[_0x3dc949(0x1aa)]?_0x3953e1['_schedule']():(_0x3953e1 instanceof exports['AwaitingWithPendingState']||_0x3953e1 instanceof exports[_0x3dc949(0x327)])&&_0x3953e1[_0x3dc949(0x235)](),_0x3953e1;}['resend'](){var _0x3bad44=_0x859cf8;throw new Error(_0x3bad44(0x35a));}},exports[_0x859cf8(0x212)]=ae([L(0x5,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),L(0x6,o['Inject'](E[_0x859cf8(0x3dc)])),L(0x7,o[_0x859cf8(0x1b4)]),L(0x8,o[_0x859cf8(0x1f3)]),L(0x9,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x212)]),exports['FetchingMissState']=class extends oe{constructor(_0x4813ce,_0x1dd2db,_0x1c709e,_0x46aca9,_0x1a6e91,_0x28de21,_0x24e03e,_0x4f71de,_0x51940b,_0x533616,_0x2fb950,_0x4e8c56,_0x4512e1,_0x38edbc){var _0xb6b1fe=_0x859cf8;super(_0x4813ce,_0x1dd2db,_0x1c709e,_0x46aca9,_0x24e03e,_0x2fb950,_0x4e8c56,_0x51940b,_0x38edbc),A(this,_0xb6b1fe(0x2c2),_0xb6b1fe(0x28a)),(this[_0xb6b1fe(0x106)]=_0x1a6e91,this[_0xb6b1fe(0x2a3)]=_0x28de21,this[_0xb6b1fe(0x1af)]=_0x4f71de,this[_0xb6b1fe(0x142)]=_0x533616,this['_transformService']=_0x4512e1,this[_0xb6b1fe(0x244)]=_0x38edbc);}[_0x859cf8(0xd5)](_0x3e871e){var _0x411ca1=_0x859cf8;try{const _0x12139d=[..._0x3e871e,...this[_0x411ca1(0x2a3)]],_0x750759=[this[_0x411ca1(0x12f)]||this[_0x411ca1(0x106)]][_0x411ca1(0x251)](_0x4c8b5a=>!!_0x4c8b5a);let _0x551539,_0x525e2f;if(_0x750759['length']){const _0x588427=this[_0x411ca1(0x22f)][_0x411ca1(0x351)](_0x12139d,_0x750759,!0x1);if(!E[_0x411ca1(0x17f)](_0x588427))throw _0x588427[_0x411ca1(0x119)];_0x551539=_0x588427[_0x411ca1(0x258)],_0x525e2f=_0x588427[_0x411ca1(0x165)];}else _0x551539=_0x12139d,_0x525e2f=[];let _0x3ce385=this[_0x411ca1(0x2b0)];_0x551539['forEach'](_0x4c80b9=>{var _0xfd9205=_0x411ca1;let _0x917148;if(_0x3ce385['length']){const _0x23c69e=this[_0xfd9205(0x22f)][_0xfd9205(0x3c9)](_0x4c80b9,_0x3ce385);if(!E[_0xfd9205(0x447)](_0x23c69e))throw _0x23c69e[_0xfd9205(0x119)];_0x917148=_0x23c69e[_0xfd9205(0x258)],_0x3ce385=_0x23c69e[_0xfd9205(0x22d)];}else _0x917148=_0x4c80b9;this[_0xfd9205(0x14e)](_0x917148);}),this[_0x411ca1(0x106)]&&this[_0x411ca1(0x23e)](),this[_0x411ca1(0x12f)]&&_0x525e2f[_0x411ca1(0x44f)]&&(_0x525e2f[0x0]['baseRev']=this[_0x411ca1(0x42a)]());let _0x372f00;if(this['_awaitingChangeset']&&_0x3ce385[_0x411ca1(0x44f)]!==0x0)_0x372f00=this[_0x411ca1(0x1af)]['createInstance'](exports[_0x411ca1(0x1ee)],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],_0x525e2f[0x0],_0x3ce385,this[_0x411ca1(0x2bb)],void 0x0);else{if(this[_0x411ca1(0x12f)]&&_0x3ce385[_0x411ca1(0x44f)]===0x0)_0x525e2f[0x0][_0x411ca1(0x2d0)]=this[_0x411ca1(0x42a)](),_0x372f00=this[_0x411ca1(0x1af)][_0x411ca1(0x10f)](exports['AwaitingState'],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],_0x525e2f[0x0],this['_handler']);else{if(_0x3ce385[_0x411ca1(0x44f)]!==0x0){const _0x2bd700=this[_0x411ca1(0x1af)][_0x411ca1(0x10f)](exports[_0x411ca1(0x1aa)],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],_0x3ce385,this[_0x411ca1(0x2bb)]);_0x2bd700[_0x411ca1(0x40e)](),_0x372f00=_0x2bd700;}else _0x372f00=this[_0x411ca1(0x1af)][_0x411ca1(0x10f)](exports[_0x411ca1(0x112)],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],this['_handler']);}}return _0x372f00[_0x411ca1(0x2af)](),_0x372f00;}catch(_0x1c936b){return this[_0x411ca1(0x142)][_0x411ca1(0x119)](_0x411ca1(0x3e8),_0x411ca1(0x26c),_0x1c936b),this[_0x411ca1(0x1af)]['createInstance'](exports[_0x411ca1(0x34c)],this[_0x411ca1(0x30a)],this[_0x411ca1(0x41e)],this[_0x411ca1(0x12f)],this[_0x411ca1(0x2b0)],this['_handler'],!0x1);}}[_0x859cf8(0x235)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x5690a5){var _0x27740e=_0x859cf8;return this[_0x27740e(0x2b0)]['push'](_0x5690a5),this;}['onRemoteChangeset'](_0x577ee1){var _0x345f4d=_0x859cf8;return this[_0x345f4d(0x2a3)][_0x345f4d(0x3f4)](_0x577ee1),this;}[_0x859cf8(0x221)](_0xc07a13){var _0x40924a=_0x859cf8;if(this[_0x40924a(0x12f)])return this[_0x40924a(0x106)]=this[_0x40924a(0x12f)],this[_0x40924a(0x12f)]=null,this;throw new Error(_0x40924a(0x190));}[_0x859cf8(0x27b)](_0x19dfaf){var _0x14aca=_0x859cf8;return this[_0x14aca(0x1f9)](!!(_0x19dfaf!=null&&_0x19dfaf[_0x14aca(0x24c)]));}['onRemoteRetry'](){return this;}[_0x859cf8(0x3df)](){var _0x4d0c61=_0x859cf8;return this['_injector']['createInstance'](exports[_0x4d0c61(0x212)],this[_0x4d0c61(0x30a)],this['type'],this[_0x4d0c61(0x12f)],this[_0x4d0c61(0x2b0)],this[_0x4d0c61(0x2bb)]);}[_0x859cf8(0x20d)](){return this;}['_onConflict'](_0x3d03a1){var _0x12acbf=_0x859cf8;return this['_injector'][_0x12acbf(0x10f)](exports[_0x12acbf(0x34c)],this['unitID'],this[_0x12acbf(0x41e)],this[_0x12acbf(0x12f)],this['_pendingMutations'],this[_0x12acbf(0x2bb)],_0x3d03a1);}},exports['FetchingMissState']=ae([L(0x7,o['Inject'](o['Injector'])),L(0x8,o['Inject'](E[_0x859cf8(0x3dc)])),L(0x9,o[_0x859cf8(0x12c)]),L(0xa,o[_0x859cf8(0x1b4)]),L(0xb,o[_0x859cf8(0x1f3)]),L(0xc,E[_0x859cf8(0x306)]),L(0xd,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x1ce)]);function Et(_0x11410d,_0x2fb88f,_0x358268,_0x997eec,_0x4fd7f0,_0x24903f){var _0x2e1a8e=_0x859cf8;return _0x997eec&&_0x4fd7f0['length']?_0x11410d['createInstance'](exports[_0x2e1a8e(0x1ee)],_0x2fb88f,_0x358268,_0x997eec,_0x4fd7f0,_0x24903f,void 0x0):_0x997eec?_0x11410d[_0x2e1a8e(0x10f)](exports[_0x2e1a8e(0x327)],_0x2fb88f,_0x358268,_0x997eec,_0x24903f):_0x4fd7f0[_0x2e1a8e(0x44f)]?_0x11410d[_0x2e1a8e(0x10f)](exports[_0x2e1a8e(0x1aa)],_0x2fb88f,_0x358268,_0x4fd7f0,_0x24903f):_0x11410d[_0x2e1a8e(0x10f)](exports[_0x2e1a8e(0x112)],_0x2fb88f,_0x358268,_0x24903f);}var si=Object[_0x859cf8(0x1e0)],Be=(_0x78a7b9,_0x43db94,_0x27e4da,_0xbf2ec2)=>{for(var _0x166b97=_0xbf2ec2>0x1?void 0x0:_0xbf2ec2?si(_0x43db94,_0x27e4da):_0x43db94,_0x18a8ae=_0x78a7b9['length']-0x1,_0x4679db;_0x18a8ae>=0x0;_0x18a8ae--)(_0x4679db=_0x78a7b9[_0x18a8ae])&&(_0x166b97=_0x4679db(_0x166b97)||_0x166b97);return _0x166b97;},$=(_0x3db19a,_0x5efa0e)=>(_0x7088c4,_0x1594e1)=>_0x5efa0e(_0x7088c4,_0x1594e1,_0x3db19a);exports[_0x859cf8(0x1dd)]=class extends o[_0x859cf8(0x26f)]{constructor(_0x5b05ce,_0x1d5df6,_0x34611a,_0x2b6523,_0x46771b,_0x844a81,_0x560376,_0x437004,_0x4dfbba,_0x199783,_0x17830d,_0x2f004a,_0x568d13,_0x5eb5d0){var _0x31d254=_0x859cf8;super(),A(this,_0x31d254(0x2da),new j[(_0x31d254(0x161))](null)),A(this,_0x31d254(0x39b),this[_0x31d254(0x2da)]['asObservable']()),A(this,'_state'),A(this,_0x31d254(0x431),!0x1),A(this,_0x31d254(0x145),''),A(this,_0x31d254(0x181),0x0),A(this,_0x31d254(0xda),this[_0x31d254(0x39b)][_0x31d254(0x1d5)](j[_0x31d254(0x259)](_0xfa780=>_0xfa780?_0xfa780[_0x31d254(0x2c2)]:je[_0x31d254(0x216)]),j[_0x31d254(0xf5)](0x1))),A(this,_0x31d254(0x2db),!0x1),A(this,_0x31d254(0x25d),[]),(this[_0x31d254(0x30a)]=_0x5b05ce,this[_0x31d254(0x3cc)]=_0x1d5df6,this[_0x31d254(0x287)]=_0x34611a,this[_0x31d254(0x1af)]=_0x2b6523,this[_0x31d254(0x322)]=_0x46771b,this[_0x31d254(0x41a)]=_0x844a81,this[_0x31d254(0x28d)]=_0x560376,this[_0x31d254(0x23c)]=_0x437004,this[_0x31d254(0xc9)]=_0x4dfbba,this[_0x31d254(0x142)]=_0x199783,this[_0x31d254(0x3d7)]=_0x17830d,this[_0x31d254(0x312)]=_0x2f004a,this[_0x31d254(0x204)]=_0x568d13,this[_0x31d254(0x18b)]=_0x5eb5d0);}get[_0x859cf8(0x1a8)](){var _0x39021c=_0x859cf8;return this[_0x39021c(0x2d7)];}async[_0x859cf8(0x402)](){var _0x474141=_0x859cf8;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x474141(0x44d)]();}['pauseCollaboration'](){var _0xe4cf28=_0x859cf8;return this[_0xe4cf28(0x431)]=!0x0,o[_0xe4cf28(0x177)](()=>{var _0xb59f1=_0xe4cf28;this[_0xb59f1(0x431)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x859cf8(0x375)](_0x18f21b){var _0xd22cf=_0x859cf8;this[_0xd22cf(0x31b)](_0x18f21b);}[_0x859cf8(0x396)](_0x4c6580){var _0x4989b3=_0x859cf8;this[_0x4989b3(0x2d7)]=_0x4c6580,this[_0x4989b3(0x2da)][_0x4989b3(0x143)](_0x4c6580);}async[_0x859cf8(0x44d)](){var _0x51b5fb=_0x859cf8,_0x489612;this[_0x51b5fb(0x396)](await this[_0x51b5fb(0x239)]()),this[_0x51b5fb(0x204)]&&((_0x489612=this[_0x51b5fb(0x204)])==null||_0x489612[_0x51b5fb(0x405)](this[_0x51b5fb(0x30a)]),this['disposeWithMe'](this[_0x51b5fb(0x204)][_0x51b5fb(0x237)](this[_0x51b5fb(0x30a)])['subscribe'](_0x3803d8=>{var _0x16f0f7=_0x51b5fb;this[_0x16f0f7(0x142)][_0x16f0f7(0x225)]('[CollaborationEntity]',_0x16f0f7(0xff),_0x3803d8),_0x3803d8===He[_0x16f0f7(0x36c)]?(this[_0x16f0f7(0x23c)][_0x16f0f7(0x361)]({'id':J[_0x16f0f7(0x277)]}),this[_0x16f0f7(0x312)]['updatePermissionPoint'](new Q[(_0x16f0f7(0x2ca))](this[_0x16f0f7(0x30a)])['id'],!0x1),this['_permissionService'][_0x16f0f7(0x127)](!0x1)):(this[_0x16f0f7(0x312)][_0x16f0f7(0x3a6)](new Q[(_0x16f0f7(0x2ca))](this[_0x16f0f7(0x30a)])['id'],!0x0),this['_permissionService'][_0x16f0f7(0x127)](!0x0));})));let _0x4d294b=!0x1;return this[_0x51b5fb(0x171)](this[_0x51b5fb(0x3cc)][_0x51b5fb(0x230)][_0x51b5fb(0x3c5)](_0x1b9a82=>{var _0x564f24=_0x51b5fb;_0x1b9a82===se[_0x564f24(0x213)]?this[_0x564f24(0x418)](_0x4d294b):_0x1b9a82===se[_0x564f24(0x216)]&&(_0x4d294b=!0x0,this[_0x564f24(0x2c3)]());})),this[_0x51b5fb(0x171)](this[_0x51b5fb(0x3cc)][_0x51b5fb(0x21d)]['subscribe'](_0x43ce77=>{var _0xd87b74=_0x51b5fb;try{switch(_0x43ce77[_0xd87b74(0x2fe)]){case E[_0xd87b74(0x41d)][_0xd87b74(0x1cc)]:{this[_0xd87b74(0x446)](E[_0xd87b74(0x345)](_0x43ce77[_0xd87b74(0x1cf)]));break;}case E[_0xd87b74(0x41d)][_0xd87b74(0x135)]:{this[_0xd87b74(0x2e0)](_0x43ce77[_0xd87b74(0x1cf)]);break;}case E[_0xd87b74(0x41d)]['CHANGESET_REJ']:{this[_0xd87b74(0x385)]();break;}case E[_0xd87b74(0x41d)][_0xd87b74(0x379)]:{this['_onRemoteRetry'](_0x43ce77['data']);break;}case E[_0xd87b74(0x41d)][_0xd87b74(0x26b)]:{this[_0xd87b74(0x41c)](_0x43ce77[_0xd87b74(0x1cf)][_0xd87b74(0x453)]['map'](_0x5a22c3=>E[_0xd87b74(0x345)](_0x5a22c3)));break;}case E[_0xd87b74(0x41d)]['PERMISSION_REJ']:{this[_0xd87b74(0x385)]({'isPermissionRej':!0x0});break;}case E[_0xd87b74(0x41d)][_0xd87b74(0x1e8)]:break;}}catch(_0x7ed61a){throw console[_0xd87b74(0x119)]('Error\x20on\x20receiving\x20event',_0x7ed61a),_0x7ed61a;}})),this[_0x51b5fb(0x2d7)];}[_0x859cf8(0x3a8)](){var _0x18957b=_0x859cf8;this[_0x18957b(0x2db)]=!0x1;}[_0x859cf8(0x25e)](){var _0x262f53=_0x859cf8;if(this[_0x262f53(0x2db)])throw new Error(_0x262f53(0x18d));this['_transitionLocked']=!0x0;}[_0x859cf8(0x31b)](_0x3ce0f2){var _0x1b5013=_0x859cf8;this[_0x1b5013(0x25e)](),this[_0x1b5013(0x396)](this[_0x1b5013(0x2d7)][_0x1b5013(0x422)](_0x3ce0f2)),this[_0x1b5013(0x3a8)]();}['_onRemoteChangeset'](_0x5827e1){var _0x43a155=_0x859cf8;if(!(_0x5827e1[_0x43a155(0x365)]<=this[_0x43a155(0x28d)][_0x43a155(0x1e4)](this[_0x43a155(0x30a)]))){if(this[_0x43a155(0x431)]){this[_0x43a155(0x25d)][_0x43a155(0x3f4)](_0x5827e1);return;}this[_0x43a155(0x1cd)](_0x5827e1);}}['_exhaustRemoteChangesetQueue'](){var _0xe115a0=_0x859cf8;this[_0xe115a0(0x25d)]['forEach'](_0x46dcf8=>this[_0xe115a0(0x1cd)](_0x46dcf8)),this[_0xe115a0(0x25d)]=[];}[_0x859cf8(0x1cd)](_0x282413){var _0x54121b=_0x859cf8;const _0x4cac96=this['_compressMutationService'][_0x54121b(0x334)]['fetchThroughInterceptors'](this[_0x54121b(0x322)][_0x54121b(0x334)][_0x54121b(0x3d8)]()['COMPRESS_MUTATION_APPLY'])(_0x282413[_0x54121b(0x170)],null)||_0x282413[_0x54121b(0x170)],_0x3bca32={..._0x282413,'mutations':_0x4cac96};this[_0x54121b(0x25e)](),this[_0x54121b(0x396)](this[_0x54121b(0x2d7)][_0x54121b(0x3f9)](_0x3bca32)),this[_0x54121b(0x3a8)]();}[_0x859cf8(0x2e0)](_0x5910c4){var _0x2b9e5e=_0x859cf8;this[_0x2b9e5e(0x25e)](),this[_0x2b9e5e(0x396)](this[_0x2b9e5e(0x2d7)][_0x2b9e5e(0x221)](_0x5910c4)),this[_0x2b9e5e(0x3a8)]();}['_onRemoteRejected'](_0x4fc8c1){var _0x452b64=_0x859cf8;this[_0x452b64(0x25e)](),this['_updateState'](this[_0x452b64(0x2d7)]['onRemoteRej'](_0x4fc8c1)),this[_0x452b64(0x3a8)]();}['_onRemoteRetry'](_0x11e6b4){var _0xe7573b=_0x859cf8;this['_lockTransition'](),this[_0xe7573b(0x396)](this[_0xe7573b(0x2d7)][_0xe7573b(0x150)](_0x11e6b4)),this[_0xe7573b(0x3a8)]();}[_0x859cf8(0x41c)](_0x2822de){var _0x537d68=_0x859cf8;if(!(this[_0x537d68(0x2d7)]instanceof exports[_0x537d68(0x1ce)]))throw new TypeError(_0x537d68(0x363));const _0x15dbac=_0x2822de['map'](_0x222116=>{var _0x458508=_0x537d68;const _0x58b6a5=this[_0x458508(0x322)][_0x458508(0x334)][_0x458508(0x209)](this[_0x458508(0x322)]['interceptor'][_0x458508(0x3d8)]()['COMPRESS_MUTATION_APPLY'])(_0x222116[_0x458508(0x170)],null)||_0x222116[_0x458508(0x170)];return{..._0x222116,'mutations':_0x58b6a5};});this[_0x537d68(0x25e)](),this[_0x537d68(0x396)](this[_0x537d68(0x2d7)][_0x537d68(0xd5)](_0x15dbac)),this[_0x537d68(0x3a8)]();}[_0x859cf8(0x2c3)](){var _0x107b4d=_0x859cf8;this[_0x107b4d(0x25e)](),this[_0x107b4d(0x396)](this['_state'][_0x107b4d(0x3df)]()),this['_unlockTransition']();}[_0x859cf8(0x418)](_0xbef067=!0x1){var _0x39a0ba=_0x859cf8;this['_lockTransition'](),this[_0x39a0ba(0x396)](this[_0x39a0ba(0x2d7)][_0x39a0ba(0x20d)]()),this[_0x39a0ba(0x3a8)]();const _0x13f320=this[_0x39a0ba(0x2d7)];_0xbef067&&_0x13f320 instanceof exports['SyncedState']&&(this['_lockTransition'](),this[_0x39a0ba(0x396)](_0x13f320[_0x39a0ba(0x19e)]()),this['_unlockTransition']());}async[_0x859cf8(0x239)](){return new Promise(_0x3892e7=>{var _0x40bab8=_0x532c;this['session'][_0x40bab8(0x230)]['pipe'](j[_0x40bab8(0x434)](0x1))['subscribe'](async _0xa3517d=>{var _0x529efc=_0x40bab8;_0x3892e7(await this[_0x529efc(0x29d)](_0xa3517d===se[_0x529efc(0x213)]));});});}['_createHandler'](){var _0xe9ed93=_0x859cf8;const _0x117436=this[_0xe9ed93(0x30a)];return{'onStateChange':(_0x16c7d0,_0xa5f205)=>{var _0x286ccc=_0xe9ed93;if(_0x16c7d0!==this[_0x286ccc(0x2d7)])throw new Error(_0x286ccc(0x37e)+_0x16c7d0[_0x286ccc(0x2c2)]+_0x286ccc(0x207)+_0xa5f205['status']+_0x286ccc(0x437)+this['_state'][_0x286ccc(0x2c2)]);this[_0x286ccc(0x396)](_0xa5f205);},'onSendChangeset':_0xf78641=>{var _0x3a81c9=_0xe9ed93;_0xf78641[_0x3a81c9(0x279)]||(_0xf78641[_0x3a81c9(0x279)]=this['_changesetSessionId'],_0xf78641['reqId']=++this['_changesetReqId']);const _0x5aa122={'eventID':E[_0x3a81c9(0x41d)]['SUBMIT_CHANGESET'],'data':{'unitID':_0xf78641[_0x3a81c9(0x30a)],'unitType':this['_type'],'changeset':_0xf78641,'memberID':this[_0x3a81c9(0x3cc)][_0x3a81c9(0x192)]()}};this[_0x3a81c9(0x3cc)][_0x3a81c9(0x267)](_0x5aa122,this[_0x3a81c9(0x30a)]);},'onMissingChangesets':({from:_0x3aa244,to:_0x299a2e})=>{var _0x339505=_0xe9ed93;this[_0x339505(0x142)][_0x339505(0x225)](_0x339505(0x44e),_0x339505(0x19a)+_0x3aa244+_0x339505(0x15c)+_0x299a2e);const _0x51bce4={'eventID':E[_0x339505(0x41d)][_0x339505(0x1e9)],'data':{'unitID':_0x117436,'unitType':this[_0x339505(0x287)],'from':_0x3aa244,'to':_0x299a2e}};this[_0x339505(0x3cc)][_0x339505(0x267)](_0x51bce4,this[_0x339505(0x30a)]);}};}async[_0x859cf8(0x29d)](_0x405b6e){var _0x49a712=_0x859cf8,_0x16aff6,_0x50bf96,_0x1de980;const _0xcbc2e4=await((_0x16aff6=this[_0x49a712(0x18b)])==null?void 0x0:_0x16aff6[_0x49a712(0x380)](this['unitID'])),_0x5ed472=(_0x50bf96=_0xcbc2e4==null?void 0x0:_0xcbc2e4[_0x49a712(0x170)])!=null?_0x50bf96:[],_0x2fae5f=(_0x1de980=_0xcbc2e4==null?void 0x0:_0xcbc2e4['awaitingChangeset'])!=null?_0x1de980:null,_0x27b76a=!!(_0x2fae5f!=null&&_0x2fae5f[_0x49a712(0x279)])&&!!(_0x2fae5f!=null&&_0x2fae5f[_0x49a712(0x42f)]);this['_changesetSessionId']=_0x27b76a?_0x2fae5f['sid']:E[_0x49a712(0x409)](),this['_changesetReqId']=_0x27b76a?_0x2fae5f[_0x49a712(0x42f)]:0x0;const _0x59153a=this['unitID'];try{this[_0x49a712(0x452)](_0x2fae5f,_0x5ed472);}catch(_0x15ad60){this[_0x49a712(0x142)][_0x49a712(0x119)](_0x15ad60);}const _0x2c4d03=this[_0x49a712(0x414)]();if(_0x405b6e){const _0x13a1fc=Et(this[_0x49a712(0x1af)],_0x59153a,this[_0x49a712(0x287)],_0x2fae5f,_0x5ed472,_0x2c4d03);return _0x13a1fc instanceof exports[_0x49a712(0x1aa)]?_0x13a1fc[_0x49a712(0x40e)]():(_0x13a1fc instanceof exports['AwaitingWithPendingState']||_0x13a1fc instanceof exports[_0x49a712(0x327)])&&_0x13a1fc[_0x49a712(0x235)](),_0x13a1fc;}return this[_0x49a712(0x1af)]['createInstance'](exports['OfflineState'],_0x59153a,this[_0x49a712(0x287)],_0x2fae5f,_0x5ed472,_0x2c4d03);}[_0x859cf8(0x452)](_0x1dc1b6,_0x53eec4){var _0x17c28b=_0x859cf8,_0x216ad5,_0x3ca7d7;const _0x12eeb6=this['_compressMutationService']['interceptor'][_0x17c28b(0x209)](this[_0x17c28b(0x322)][_0x17c28b(0x334)][_0x17c28b(0x3d8)]()[_0x17c28b(0x118)]);(_0x216ad5=_0x12eeb6((_0x1dc1b6==null?void 0x0:_0x1dc1b6[_0x17c28b(0x170)])||[],null))==null||_0x216ad5[_0x17c28b(0x16a)](_0xb0355b=>this[_0x17c28b(0x3d7)][_0x17c28b(0x2fb)](_0xb0355b['id'],_0xb0355b[_0x17c28b(0x2d9)])),(_0x3ca7d7=_0x12eeb6(_0x53eec4||[],null))==null||_0x3ca7d7[_0x17c28b(0x16a)](_0x34fc72=>this[_0x17c28b(0x3d7)][_0x17c28b(0x2fb)](_0x34fc72['id'],_0x34fc72[_0x17c28b(0x2d9)]));}},exports[_0x859cf8(0x1dd)]=Be([$(0x3,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),$(0x4,o[_0x859cf8(0x416)](E[_0x859cf8(0x360)])),$(0x5,o[_0x859cf8(0x416)](o['LocaleService'])),$(0x6,o[_0x859cf8(0x416)](E[_0x859cf8(0x3dc)])),$(0x7,o['Inject'](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0x859cf8(0x12c)]),$(0xa,o[_0x859cf8(0x1b4)]),$(0xb,o[_0x859cf8(0x160)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x1dd)]),exports[_0x859cf8(0x16e)]=class extends exports['CollaborationEntity']{constructor(_0x5ec0f6,_0x2e1e82,_0x44242f,_0x133526,_0x3415d7,_0x2255af,_0x40aac4,_0x291409,_0x3e0ee9,_0x212c9c,_0x324478,_0x1066c8,_0x8069bc,_0x375a06){var _0x548dab=_0x859cf8;super(_0x5ec0f6,_0x44242f,_0x2e1e82,_0x133526,_0x3415d7,_0x2255af,_0x40aac4,_0x291409,_0x3e0ee9,_0x212c9c,_0x324478,_0x1066c8,_0x8069bc,_0x375a06),A(this,'_handlerCallback',null),(this[_0x548dab(0x30a)]=_0x5ec0f6,this[_0x548dab(0x41e)]=_0x2e1e82);}[_0x859cf8(0x352)](_0x1ac922){var _0x316a10=_0x859cf8;this[_0x316a10(0x130)]=_0x1ac922;}['dispose'](){var _0x3270eb=_0x859cf8;this[_0x3270eb(0x130)]=null,super['dispose']();}['_createHandler'](){var _0x2a6c04=_0x859cf8;const _0x71ebf2=super[_0x2a6c04(0x414)]();return _0x71ebf2[_0x2a6c04(0x280)]=_0x868a7=>{var _0xf0d7ac=_0x2a6c04,_0x333771,_0x14787c;return(_0x14787c=(_0x333771=this[_0xf0d7ac(0x130)])==null?void 0x0:_0x333771[_0xf0d7ac(0x280)])==null?void 0x0:_0x14787c['call'](_0x333771,_0x868a7);},_0x71ebf2['onTransformState']=_0x582d58=>{var _0x506df9=_0x2a6c04,_0x346346,_0x4a2d68;return(_0x4a2d68=(_0x346346=this[_0x506df9(0x130)])==null?void 0x0:_0x346346['onTransformState'])==null?void 0x0:_0x4a2d68[_0x506df9(0x2ad)](_0x346346,_0x582d58);},_0x71ebf2[_0x2a6c04(0x350)]=_0x1bb76f=>{var _0x28006a,_0x5a957c;return(_0x5a957c=(_0x28006a=this['_handlerCallback'])==null?void 0x0:_0x28006a['onTransformSelections'])==null?void 0x0:_0x5a957c['call'](_0x28006a,_0x1bb76f);},_0x71ebf2['onSyncEditingCollabCursor']=_0x2dac4f=>{var _0x35a1fd=_0x2a6c04,_0x567028,_0x20c16d;return(_0x20c16d=(_0x567028=this['_handlerCallback'])==null?void 0x0:_0x567028[_0x35a1fd(0x1c8)])==null?void 0x0:_0x20c16d['call'](_0x567028,_0x2dac4f);},_0x71ebf2['onTransformRemoteChangesetByIMECache']=_0x5c93d0=>{var _0x427bae=_0x2a6c04,_0x53170f,_0x2415af,_0x502a8b;if(!((_0x53170f=this['_handlerCallback'])!=null&&_0x53170f[_0x427bae(0x3e0)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x502a8b=(_0x2415af=this[_0x427bae(0x130)])==null?void 0x0:_0x2415af[_0x427bae(0x3e0)])==null?void 0x0:_0x502a8b[_0x427bae(0x2ad)](_0x2415af,_0x5c93d0);},_0x71ebf2['onTransformRemoteChangesetByStateCache']=_0x4813bc=>{var _0x294936=_0x2a6c04,_0x15b280,_0x51cdb4,_0x1eff12;if(!((_0x15b280=this[_0x294936(0x130)])!=null&&_0x15b280['onTransformRemoteChangesetByStateCache']))throw new Error(_0x294936(0x208));return(_0x1eff12=(_0x51cdb4=this['_handlerCallback'])==null?void 0x0:_0x51cdb4[_0x294936(0xfd)])==null?void 0x0:_0x1eff12['call'](_0x51cdb4,_0x4813bc);},_0x71ebf2;}async[_0x859cf8(0x44d)](){var _0x453d10=_0x859cf8;const _0x54a52d=await super[_0x453d10(0x44d)]();return this['disposeWithMe'](this[_0x453d10(0x3d7)]['onMutationExecutedForCollab']((_0x3b0b2,_0x347013)=>{var _0x1544ef=_0x453d10;if(_0x3b0b2[_0x1544ef(0x41e)]!==o[_0x1544ef(0x227)]['MUTATION']||_0x347013!=null&&_0x347013['fromCollab']||_0x347013!=null&&_0x347013['onlyLocal']||_0x3b0b2['id']===ct[_0x1544ef(0xe6)]['id'])return;const _0x276b56=_0x3b0b2[_0x1544ef(0x2d9)];if((_0x276b56==null?void 0x0:_0x276b56[_0x1544ef(0x328)])!==this['unitID'])return;const _0x670ce9=_0x3b0b2,_0x502861=this[_0x1544ef(0x322)][_0x1544ef(0x334)][_0x1544ef(0x209)](this[_0x1544ef(0x322)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x670ce9],this[_0x1544ef(0xc9)])||[_0x670ce9];this[_0x1544ef(0x31b)](_0x502861[0x0]);})),_0x54a52d;}},exports[_0x859cf8(0x16e)]=Be([$(0x3,o['Inject'](o['Injector'])),$(0x4,o[_0x859cf8(0x416)](E[_0x859cf8(0x360)])),$(0x5,o[_0x859cf8(0x416)](o['LocaleService'])),$(0x6,o['Inject'](E[_0x859cf8(0x3dc)])),$(0x7,o[_0x859cf8(0x416)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o['ILogService']),$(0xa,o['ICommandService']),$(0xb,o['IPermissionService']),$(0xc,o[_0x859cf8(0x2f5)](ve)),$(0xd,o[_0x859cf8(0x2f5)](q))],exports[_0x859cf8(0x16e)]),exports[_0x859cf8(0x14a)]=class extends exports['CollaborationEntity']{constructor(_0x23ef70,_0x152934,_0x4c1ad0,_0x4d791d,_0x41a800,_0x410d66,_0x42d7d7,_0x1acdd2,_0x315ee6,_0x1e774d,_0x351be7,_0x583aa2,_0x4bd8d0,_0xa61bf4,_0x349458){var _0x2e2d33=_0x859cf8;super(_0x23ef70,_0x4c1ad0,_0x152934,_0x4d791d,_0x41a800,_0x410d66,_0x42d7d7,_0x315ee6,_0x1e774d,_0x351be7,_0x583aa2,_0x4bd8d0,_0xa61bf4,_0x349458),this[_0x2e2d33(0x30a)]=_0x23ef70,this[_0x2e2d33(0x41e)]=_0x152934,this[_0x2e2d33(0x2eb)]=_0x1acdd2;}[_0x859cf8(0x414)](){var _0x5bc761=_0x859cf8;const _0x36efc3=super[_0x5bc761(0x414)]();return _0x36efc3[_0x5bc761(0x350)]=_0x174406=>this[_0x5bc761(0x2eb)]['transformSelections'](_0x174406),_0x36efc3;}async[_0x859cf8(0x44d)](){var _0x449041=_0x859cf8;const _0x281fdf=await super[_0x449041(0x44d)]();return this[_0x449041(0x171)](this[_0x449041(0x3d7)]['onMutationExecutedForCollab']((_0x117050,_0x1124de)=>{var _0x560c94=_0x449041;if(_0x117050[_0x560c94(0x41e)]!==o[_0x560c94(0x227)][_0x560c94(0xe3)]||_0x1124de!=null&&_0x1124de[_0x560c94(0xe0)]||_0x1124de!=null&&_0x1124de[_0x560c94(0x20e)])return;const _0x54dc85=_0x117050['params'];if((_0x54dc85==null?void 0x0:_0x54dc85[_0x560c94(0x328)])!==this['unitID'])return;const _0x2c8547=_0x117050,_0x56f847=this['_compressMutationService'][_0x560c94(0x334)][_0x560c94(0x209)](this[_0x560c94(0x322)][_0x560c94(0x334)][_0x560c94(0x3d8)]()['COMPRESS_MUTATION_SEND'])([_0x2c8547],this[_0x560c94(0xc9)])||[_0x2c8547];this[_0x560c94(0x31b)](_0x56f847[0x0]);})),_0x281fdf;}},exports[_0x859cf8(0x14a)]=Be([$(0x3,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),$(0x4,o[_0x859cf8(0x416)](E['CompressMutationService'])),$(0x5,o[_0x859cf8(0x416)](o[_0x859cf8(0xf9)])),$(0x6,o[_0x859cf8(0x416)](E['RevisionService'])),$(0x7,o['Inject'](exports[_0x859cf8(0x30e)])),$(0x8,o['Inject'](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x859cf8(0x12c)]),$(0xb,o[_0x859cf8(0x1b4)]),$(0xc,o[_0x859cf8(0x160)]),$(0xd,o['Optional'](ve)),$(0xe,o['Optional'](q))],exports['SheetCollaborationEntity']);const pt=o[_0x859cf8(0x404)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x2c3d5f){var _0xdba281=_0x859cf8,_0x7dfb13,_0xb367ad,_0x14d6b8,_0x49674b,_0x1aee1d;const _0x49a64e=_0x2c3d5f['data'],_0x1dc46c=JSON[_0xdba281(0x2a9)](_0x49a64e);switch(_0x1dc46c[_0xdba281(0x315)]){case W[_0xdba281(0x419)]:case W[_0xdba281(0x206)]:{const _0x7da2f2=_0x1dc46c[_0xdba281(0x3cf)];return{..._0x1dc46c,'data':_0x7da2f2,'cmd':_0x1dc46c[_0xdba281(0x315)]};}case W[_0xdba281(0x1a9)]:{const _0x4bf3fd=_0x1dc46c['joinRsp'];return{..._0x1dc46c,'data':_0x4bf3fd,'cmd':_0x1dc46c[_0xdba281(0x315)]};}case W['RECV']:{const _0x407f0f=_0x1dc46c[_0xdba281(0x2bc)];switch(_0x407f0f['eventID']){case E['CollaborationEvent']['PERMISSION_REJ']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0x7dfb13=_0x407f0f['permissionRejEvent'])==null?void 0x0:_0x7dfb13['cs']},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x135)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0xb367ad=_0x407f0f['csAckEvent'])==null?void 0x0:_0xb367ad['cs']},'cmd':_0x1dc46c['cmd']};case E[_0xdba281(0x41d)]['NEW_CHANGESETS']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0x14d6b8=_0x407f0f[_0xdba281(0x13d)])==null?void 0x0:_0x14d6b8['cs']},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x325)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0x49674b=_0x407f0f[_0xdba281(0x2a7)])==null?void 0x0:_0x49674b['cs']},'cmd':_0x1dc46c['cmd']};case E['CollaborationEvent'][_0xdba281(0x379)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':(_0x1aee1d=_0x407f0f[_0xdba281(0x415)])==null?void 0x0:_0x1aee1d['cs']},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x369)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x366)]},'cmd':_0x1dc46c['cmd']};case E[_0xdba281(0x41d)]['USERS_ENTER']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x232)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x3e6)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x2a2)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x319)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x30b)]:case E[_0xdba281(0x41d)][_0xdba281(0x310)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x43d)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x200)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x319)]},'cmd':_0x1dc46c['cmd']};case E['CollaborationEvent'][_0xdba281(0x149)]:return{..._0x1dc46c,'data':_0x407f0f,'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x38d)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x157)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)][_0xdba281(0x23b)]:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x28b)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};case E[_0xdba281(0x41d)]['SHOULD_CLOSE_CONN']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0x34b)]},'cmd':_0x1dc46c['cmd']};case E[_0xdba281(0x41d)]['UNISCRIPT_RUN']:return{..._0x1dc46c,'data':{..._0x407f0f,'data':_0x407f0f[_0xdba281(0xe9)]},'cmd':_0x1dc46c[_0xdba281(0x315)]};default:return _0x1dc46c;}}default:return _0x1dc46c;}}function gt(_0x19b8f8){var _0x59ee0b=_0x859cf8;switch(_0x19b8f8[_0x59ee0b(0x315)]){case W['HEARTBEAT']:case W[_0x59ee0b(0x206)]:return JSON[_0x59ee0b(0x37c)]({'cmd':_0x19b8f8[_0x59ee0b(0x315)],'routeKey':_0x19b8f8['routeKey']});case W[_0x59ee0b(0x3a1)]:{let _0x31f0ca;switch(_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x2fe)]){case E['CollaborationEvent']['UPDATE_CURSOR']:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)]['UPDATE_CURSOR'],'updateCursorEvent':_0x19b8f8['data'][_0x59ee0b(0x1cf)]};break;}case E['CollaborationEvent']['USERS_LEAVE']:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)][_0x59ee0b(0x3e6)],'leaveEvent':_0x19b8f8['data'][_0x59ee0b(0x1cf)]};break;}case E[_0x59ee0b(0x41d)][_0x59ee0b(0x2f8)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)][_0x59ee0b(0x2f8)],'joinEvent':_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x1cf)]};break;}case E['CollaborationEvent'][_0x59ee0b(0x215)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x19b8f8[_0x59ee0b(0x1cf)]['data']};break;}case E[_0x59ee0b(0x41d)][_0x59ee0b(0x310)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)][_0x59ee0b(0x310)],'liveShareOperation':_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x1cf)]};break;}case E[_0x59ee0b(0x41d)][_0x59ee0b(0x200)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x19b8f8[_0x59ee0b(0x1cf)]['data']};break;}case E[_0x59ee0b(0x41d)][_0x59ee0b(0x378)]:{_0x31f0ca={'eventID':E['CollaborationEvent'][_0x59ee0b(0x378)],'liveShareRequestHost':_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x1cf)]};break;}case E['CollaborationEvent'][_0x59ee0b(0x30b)]:{_0x31f0ca={'eventID':E[_0x59ee0b(0x41d)][_0x59ee0b(0x30b)]};break;}default:_0x31f0ca={'eventID':_0x19b8f8[_0x59ee0b(0x1cf)][_0x59ee0b(0x2fe)]};}return JSON[_0x59ee0b(0x37c)]({'cmd':_0x19b8f8[_0x59ee0b(0x315)],'routeKey':_0x19b8f8[_0x59ee0b(0x16f)],'collaMsg':_0x31f0ca});}case W['JOIN']:return JSON[_0x59ee0b(0x37c)]({'cmd':_0x19b8f8[_0x59ee0b(0x315)],'routeKey':_0x19b8f8[_0x59ee0b(0x16f)],'joinReq':_0x19b8f8[_0x59ee0b(0x1cf)]});case W[_0x59ee0b(0x1fc)]:return JSON[_0x59ee0b(0x37c)]({'cmd':_0x19b8f8[_0x59ee0b(0x315)],'routeKey':_0x19b8f8[_0x59ee0b(0x16f)],'leaveReq':_0x19b8f8[_0x59ee0b(0x1cf)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object['getOwnPropertyDescriptor'],ai=(_0x4948db,_0x22a2aa,_0x3a3c75,_0x49d08b)=>{var _0x5305c4=_0x859cf8;for(var _0x5c8d81=_0x49d08b>0x1?void 0x0:_0x49d08b?ri(_0x22a2aa,_0x3a3c75):_0x22a2aa,_0x38c011=_0x4948db[_0x5305c4(0x44f)]-0x1,_0x47ddf3;_0x38c011>=0x0;_0x38c011--)(_0x47ddf3=_0x4948db[_0x38c011])&&(_0x5c8d81=_0x47ddf3(_0x5c8d81)||_0x5c8d81);return _0x5c8d81;},he=(_0x5b1411,_0x1eb57f)=>(_0x129ae3,_0x162433)=>_0x1eb57f(_0x129ae3,_0x162433,_0x5b1411);const Fe=o[_0x859cf8(0x404)](_0x859cf8(0x439));function oi(_0x5ca9e8,_0x10f837,_0x562b90){var _0x1b9ce1=_0x859cf8;return _0x5ca9e8+'/'+_0x10f837+'/unit/'+_0x562b90+_0x1b9ce1(0x121);}exports[_0x859cf8(0x1b2)]=class extends o[_0x859cf8(0x18e)]{constructor(_0x139804,_0x1b0463,_0x26ff55,_0x18278f,_0xe2e1c6){var _0x151a7c=_0x859cf8;super(),this[_0x151a7c(0x1af)]=_0x139804,this[_0x151a7c(0x25c)]=_0x1b0463,this[_0x151a7c(0x156)]=_0x26ff55,this[_0x151a7c(0x142)]=_0x18278f,this[_0x151a7c(0x2a4)]=_0xe2e1c6;}[_0x859cf8(0x3c6)](_0x6e7229){var _0x1e2d7e=_0x859cf8;const _0x26d574=this[_0x1e2d7e(0x1af)][_0x1e2d7e(0x271)](K['ISocketService']);if(!_0x26d574)throw new Error(_0x1e2d7e(0x23f));const _0x57af84=_0x26d574['createSocket'](_0x6e7229);if(!_0x57af84)throw new Error(_0x1e2d7e(0x3c3));const _0x485060=new o[(_0x1e2d7e(0x210))](),_0xcebda6=new j['Subject']();_0x485060['add'](_0x57af84[_0x1e2d7e(0x1ac)][_0x1e2d7e(0x3c5)](_0x223f59=>_0xcebda6['next'](_0x223f59))),_0x485060['add'](o['toDisposable'](()=>_0xcebda6['complete']()));const _0x4736a9=new j[(_0x1e2d7e(0xdd))]();_0x485060[_0x1e2d7e(0x2d5)](_0x57af84[_0x1e2d7e(0x141)][_0x1e2d7e(0x3c5)](_0x585f97=>_0x4736a9[_0x1e2d7e(0x143)](_0x585f97))),_0x485060['add'](o['toDisposable'](()=>_0x4736a9[_0x1e2d7e(0x32b)]()));const _0x4cc437=new j[(_0x1e2d7e(0xdd))]();_0x485060['add'](_0x57af84['message$'][_0x1e2d7e(0x3c5)](_0x2cd63a=>{const _0x23cbe3=mt(_0x2cd63a);_0x4cc437['next'](_0x23cbe3);})),_0x485060[_0x1e2d7e(0x2d5)](o[_0x1e2d7e(0x177)](()=>_0x4cc437[_0x1e2d7e(0x32b)]()));let _0x1171df;const _0x580b9f=()=>{var _0x493a98=_0x1e2d7e;_0x4736a9['next'](new Event('connection\x20error')),_0xcebda6[_0x493a98(0x143)](new Event(_0x493a98(0xdf))),_0x1171df[_0x493a98(0x374)]();};return _0x1171df={'memberID':'','close$':_0xcebda6[_0x1e2d7e(0x3cb)](),'error$':_0x4736a9['asObservable'](),'open$':_0x57af84['open$'],'message$':_0x4cc437[_0x1e2d7e(0x3cb)](),'send':_0x18365d=>{var _0x21f294=_0x1e2d7e;if(_0x18365d[_0x21f294(0x315)]===W[_0x21f294(0x3a1)]){if(_0x18365d['data'][_0x21f294(0x2fe)]===E[_0x21f294(0x41d)]['SUBMIT_CHANGESET']){this[_0x21f294(0x21c)](_0x1171df,_0x18365d[_0x21f294(0x1cf)])[_0x21f294(0x185)](_0x56066a=>{var _0x18cd69=_0x21f294;this[_0x18cd69(0x142)]['error'](_0x56066a),_0x580b9f();});return;}if(_0x18365d['data']['eventID']===E[_0x21f294(0x41d)][_0x21f294(0x1e9)]){const _0x2da642=_0x18365d[_0x21f294(0x1cf)];this[_0x21f294(0xcc)](_0x2da642)[_0x21f294(0x28e)](_0x349d32=>{var _0x38a0e9=_0x21f294;_0x4cc437[_0x38a0e9(0x143)]({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x2da642[_0x38a0e9(0x1cf)][_0x38a0e9(0x30a)],'routeType':'','data':{'eventID':E[_0x38a0e9(0x41d)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x349d32}}});})['catch'](_0x3f37eb=>{var _0x200c13=_0x21f294;this[_0x200c13(0x142)][_0x200c13(0x119)](_0x3f37eb),_0x580b9f();});return;}}_0x57af84[_0x21f294(0x267)](gt(_0x18365d));},'close':()=>{var _0x48bd5d=_0x1e2d7e;_0x57af84[_0x48bd5d(0x374)](),_0x485060[_0x48bd5d(0x3c7)]();}},_0x1171df;}async[_0x859cf8(0x21c)](_0x2567b7,_0x4c357a){var _0x29bd77=_0x859cf8,_0x26cc7a;const {unitType:_0x2d1370,unitID:_0x31a770,changeset:_0x726967}=_0x4c357a[_0x29bd77(0x1cf)],_0x5b81bb={'unitID':_0x31a770,'memberID':_0x2567b7['memberID'],'type':_0x2d1370,'changeset':E[_0x29bd77(0x3ff)](_0x726967)},_0x510707=this[_0x29bd77(0x156)][_0x29bd77(0x40b)](Y),_0xc6d625=oi((_0x26cc7a=_0x510707==null?void 0x0:_0x510707[_0x29bd77(0x343)])!=null?_0x26cc7a:$t,_0x2d1370,_0x31a770);try{await this[_0x29bd77(0x25c)][_0x29bd77(0x403)](_0xc6d625,{'body':_0x5b81bb});}catch(_0xc8f48a){throw this['_logService'][_0x29bd77(0x119)](_0x29bd77(0x43f),_0x29bd77(0x228)),_0xc8f48a;}}async['_fetchMissChangesets'](_0x31a29b){var _0x2e2ac0=_0x859cf8;const {unitID:_0x56a7e9,from:_0xaada68,to:_0x3de8bd,unitType:_0x13dfce}=_0x31a29b[_0x2e2ac0(0x1cf)];return(await this[_0x2e2ac0(0x2a4)][_0x2e2ac0(0x2be)]({'metadata':void 0x0},{'unitID':_0x56a7e9,'type':_0x13dfce,'from':_0xaada68,'to':_0x3de8bd}))[_0x2e2ac0(0x453)][_0x2e2ac0(0x259)](_0x23d229=>((_0x23d229[_0x2e2ac0(0x170)]===null||_0x23d229[_0x2e2ac0(0x170)]===void 0x0)&&(_0x23d229[_0x2e2ac0(0x170)]=[]),_0x23d229));}},exports[_0x859cf8(0x1b2)]=ai([he(0x0,o['Inject'](o['Injector'])),he(0x1,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)])),he(0x2,o[_0x859cf8(0x1bc)]),he(0x3,o['ILogService']),he(0x4,E['ISnapshotServerService'])],exports[_0x859cf8(0x1b2)]);var ci=Object['getOwnPropertyDescriptor'],_i=(_0x9eb995,_0x14d46e,_0x20253f,_0x416c93)=>{for(var _0x1501dd=_0x416c93>0x1?void 0x0:_0x416c93?ci(_0x14d46e,_0x20253f):_0x14d46e,_0x4ef8b7=_0x9eb995['length']-0x1,_0x480c17;_0x4ef8b7>=0x0;_0x4ef8b7--)(_0x480c17=_0x9eb995[_0x4ef8b7])&&(_0x1501dd=_0x480c17(_0x1501dd)||_0x1501dd);return _0x1501dd;},_e=(_0x33c766,_0x38327f)=>(_0x539c2a,_0x888526)=>_0x38327f(_0x539c2a,_0x888526,_0x33c766);exports[_0x859cf8(0x1b1)]=class extends o[_0x859cf8(0x18e)]{constructor(_0x121e1e,_0x4fe66e,_0x2be23c,_0x467190,_0x4da51a,_0x13ad95){var _0x3530d2=_0x859cf8;super(),A(this,_0x3530d2(0x2de),new j[(_0x3530d2(0x161))](void 0x0)),A(this,'socket$',this[_0x3530d2(0x2de)][_0x3530d2(0x3cb)]()),A(this,'_candidateSocket',null),A(this,_0x3530d2(0x174),new Map()),A(this,_0x3530d2(0x1a5),new j[(_0x3530d2(0x161))](se[_0x3530d2(0x155)])),A(this,_0x3530d2(0xda),this[_0x3530d2(0x1a5)]['asObservable']()),A(this,_0x3530d2(0x39a),!0x1),A(this,_0x3530d2(0x1e2)),A(this,_0x3530d2(0x364),0x0),A(this,_0x3530d2(0xe2)),A(this,_0x3530d2(0x3d0)),(this[_0x3530d2(0x1af)]=_0x121e1e,this['_logService']=_0x4fe66e,this['_configService']=_0x2be23c,this['_socketService']=_0x467190,this[_0x3530d2(0x27a)]=_0x4da51a,this[_0x3530d2(0x109)]=_0x13ad95,this[_0x3530d2(0x2cf)]());}get[_0x859cf8(0x2f3)](){var _0x2d2247=_0x859cf8;return this[_0x2d2247(0x2de)]['getValue']();}[_0x859cf8(0x2cf)](){var _0x52f168=_0x859cf8;this[_0x52f168(0x109)]&&this[_0x52f168(0x171)](this[_0x52f168(0x109)][_0x52f168(0x2dd)][_0x52f168(0x3c5)](_0x1fe579=>{var _0x44dd80=_0x52f168;_0x1fe579&&!this[_0x44dd80(0x2f3)]&&this[_0x44dd80(0x38b)](),_0x1fe579||this['_onOffline']();}));}[_0x859cf8(0x3c7)](){var _0x48ba69=_0x859cf8;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x48ba69(0x27f)](),this[_0x48ba69(0x269)](),this[_0x48ba69(0x174)][_0x48ba69(0x16a)](_0x5811b5=>_0x5811b5['dispose']()),this[_0x48ba69(0x174)]['clear'](),this[_0x48ba69(0x1a5)][_0x48ba69(0x32b)]();}async[_0x859cf8(0x20a)](_0x3aeef6){var _0x593302=_0x859cf8;if(this[_0x593302(0x174)]['has'](_0x3aeef6))return this[_0x593302(0x174)]['get'](_0x3aeef6);this[_0x593302(0xe5)]();const _0xbb9f24=this[_0x593302(0x1af)][_0x593302(0x10f)](exports['CollaborationSession'],_0x3aeef6,this[_0x593302(0x2de)]['asObservable']());return this[_0x593302(0x174)][_0x593302(0x14f)](_0x3aeef6,_0xbb9f24),_0xbb9f24;}[_0x859cf8(0x2f2)](_0xc90e0f){var _0x462277=_0x859cf8,_0x7d605a;const _0x447c99=this[_0x462277(0x174)][_0x462277(0x271)](_0xc90e0f);_0x447c99&&(this[_0x462277(0x174)][_0x462277(0x3fd)](_0xc90e0f),_0x447c99[_0x462277(0x374)]()),this[_0x462277(0x174)][_0x462277(0xf7)]||(_0x7d605a=this[_0x462277(0x2f3)])==null||_0x7d605a[_0x462277(0x374)]();}[_0x859cf8(0x38b)](){var _0x3bf0be=_0x859cf8;this[_0x3bf0be(0x364)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x3bf0be(0x128)]();}[_0x859cf8(0x450)](){var _0x450718=_0x859cf8;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x450718(0x1e2)]),this[_0x450718(0x1e2)]=null);}async[_0x859cf8(0x151)](){var _0x5523eb=_0x859cf8,_0x4569af;const _0x457462=this[_0x5523eb(0x156)][_0x5523eb(0x40b)](Y),_0x20175b=(_0x4569af=_0x457462==null?void 0x0:_0x457462[_0x5523eb(0x3ea)])!=null?_0x4569af:_t,_0x18288a=await this[_0x5523eb(0x241)][_0x5523eb(0xd9)](_0x20175b);return this[_0x5523eb(0x24f)]=_0x18288a,_0x18288a;}async[_0x859cf8(0xe5)](){var _0x2a1bc0=_0x859cf8,_0x2200f9,_0x1c352e;try{const _0x4585e8=(_0x1c352e=(_0x2200f9=this[_0x2a1bc0(0x2f3)])!=null?_0x2200f9:this['_candidateSocket'])!=null?_0x1c352e:await this[_0x2a1bc0(0x151)]();if(_0x4585e8){const _0x33ebc0=_0x4585e8[_0x2a1bc0(0x267)];_0x4585e8[_0x2a1bc0(0x267)]=_0x38af17=>(this[_0x2a1bc0(0x22c)](),_0x33ebc0[_0x2a1bc0(0xcd)](_0x4585e8,[_0x38af17])),_0x4585e8[_0x2a1bc0(0xd6)][_0x2a1bc0(0x3c5)](_0x4bc613=>this[_0x2a1bc0(0x17e)](_0x4585e8,_0x4bc613)),_0x4585e8['error$'][_0x2a1bc0(0x1d5)](V[_0x2a1bc0(0x434)](0x1))[_0x2a1bc0(0x3c5)](_0x5a0189=>this[_0x2a1bc0(0x142)][_0x2a1bc0(0x119)]('[CollaborationSessionService]:\x20socket\x20error',_0x5a0189)),_0x4585e8[_0x2a1bc0(0x294)]['pipe'](V['take'](0x1))[_0x2a1bc0(0x3c5)](()=>{var _0x46e2af=_0x2a1bc0;this[_0x46e2af(0x3aa)](_0x4585e8);}),_0x4585e8[_0x2a1bc0(0x1ac)][_0x2a1bc0(0x1d5)](V[_0x2a1bc0(0x434)](0x1))[_0x2a1bc0(0x3c5)](_0x4f9014=>{var _0x3c3f4f=_0x2a1bc0;this[_0x3c3f4f(0x142)]['debug'](_0x3c3f4f(0x38f),'socket\x20close',_0x4f9014),this[_0x3c3f4f(0x19b)]();});}}catch(_0x39536a){this[_0x2a1bc0(0x142)][_0x2a1bc0(0x119)](_0x39536a),this[_0x2a1bc0(0x19b)]();}}[_0x859cf8(0x3aa)](_0x4b0537){var _0x40b188=_0x859cf8;this[_0x40b188(0x142)][_0x40b188(0x225)](_0x40b188(0x38f),'socket\x20open.'),_0x4b0537[_0x40b188(0x267)]({'cmd':W[_0x40b188(0x206)]}),this[_0x40b188(0x22c)]();}['_onOffline'](){var _0xa97a59=_0x859cf8;this['_socketReady']=!0x1,this[_0xa97a59(0x24f)]=null,this[_0xa97a59(0x1a5)]['next'](se[_0xa97a59(0x216)]),this[_0xa97a59(0x2de)][_0xa97a59(0x143)](null),this[_0xa97a59(0x27f)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x1d7124=_0x859cf8,_0x33bf43;this[_0x1d7124(0x440)](),this['_retryCount']<((_0x33bf43=this['_configService'][_0x1d7124(0x40b)](ut))!=null?_0x33bf43:wt)?(this[_0x1d7124(0x27a)][_0x1d7124(0x361)]({'id':J[_0x1d7124(0x3db)]}),this[_0x1d7124(0x128)]()):this[_0x1d7124(0x27a)][_0x1d7124(0x361)]({'id':J[_0x1d7124(0x30c)]});}[_0x859cf8(0x128)](){var _0x518f34=_0x859cf8,_0x8cc9e3;const _0x1ce458=this['_retryCount'],_0x2197c4=this[_0x518f34(0x156)][_0x518f34(0x40b)](Y),_0x356449=_0x1ce458===0x0?0x0:((_0x8cc9e3=_0x2197c4==null?void 0x0:_0x2197c4[_0x518f34(0x116)])!=null?_0x8cc9e3:Mt)*0x2**_0x1ce458;this[_0x518f34(0x1e2)]=setTimeout(()=>{var _0x447743=_0x518f34;clearTimeout(this[_0x447743(0x1e2)]),this['_retryConnectingTimer']=null,this[_0x447743(0xe5)]();},_0x356449),this[_0x518f34(0x364)]+=0x1;}[_0x859cf8(0x17e)](_0x3bd698,_0xa25d62){var _0x56617a=_0x859cf8;const {cmd:_0x8b1646}=_0xa25d62;_0x8b1646===W[_0x56617a(0x206)]&&!this[_0x56617a(0x39a)]&&(_0x3bd698[_0x56617a(0x1d6)]=_0xa25d62['data'][_0x56617a(0x1d6)],this[_0x56617a(0x2de)][_0x56617a(0x143)](_0x3bd698),this[_0x56617a(0x1a5)]['next'](se[_0x56617a(0x213)]),this[_0x56617a(0x39a)]=!0x0,this[_0x56617a(0x24f)]=null),_0x8b1646===W[_0x56617a(0x419)]&&this[_0x56617a(0x27f)](),this['_rescheduleHeartbeat']();}[_0x859cf8(0x22c)](){var _0x89d152=_0x859cf8,_0x1378da;this[_0x89d152(0x269)](),this[_0x89d152(0xe2)]=setTimeout(()=>this[_0x89d152(0x436)](),(_0x1378da=this[_0x89d152(0x156)][_0x89d152(0x40b)](ht))!=null?_0x1378da:Lt);}[_0x859cf8(0x436)](){var _0x2ce9e9=_0x859cf8;this[_0x2ce9e9(0x2f3)][_0x2ce9e9(0x267)]({'cmd':W[_0x2ce9e9(0x419)]}),this[_0x2ce9e9(0xe1)]();}['_waitForHeartbeatResponse'](){var _0x1600b3=_0x859cf8,_0xdc8979;this[_0x1600b3(0x3d0)]=setTimeout(()=>this[_0x1600b3(0x19b)](),(_0xdc8979=this[_0x1600b3(0x156)][_0x1600b3(0x40b)](ke))!=null?_0xdc8979:lt);}['_clearHeartbeatTimer'](){var _0x40c1a0=_0x859cf8;this[_0x40c1a0(0xe2)]!=null&&(clearTimeout(this[_0x40c1a0(0xe2)]),this[_0x40c1a0(0xe2)]=null);}[_0x859cf8(0x27f)](){var _0x2c46e4=_0x859cf8;this[_0x2c46e4(0x3d0)]!=null&&(clearTimeout(this[_0x2c46e4(0x3d0)]),this[_0x2c46e4(0x3d0)]=null);}},exports[_0x859cf8(0x1b1)]=_i([_e(0x0,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),_e(0x1,o[_0x859cf8(0x12c)]),_e(0x2,o[_0x859cf8(0x1bc)]),_e(0x3,Fe),_e(0x4,o[_0x859cf8(0x416)](ee)),_e(0x5,o['Optional'](pt))],exports['CollaborationSessionService']);var hi=Object['getOwnPropertyDescriptor'],li=(_0x4dc45e,_0x2cac2b,_0x47b596,_0x25275a)=>{for(var _0x1b078a=_0x25275a>0x1?void 0x0:_0x25275a?hi(_0x2cac2b,_0x47b596):_0x2cac2b,_0x3cdb66=_0x4dc45e['length']-0x1,_0x157a04;_0x3cdb66>=0x0;_0x3cdb66--)(_0x157a04=_0x4dc45e[_0x3cdb66])&&(_0x1b078a=_0x157a04(_0x1b078a)||_0x1b078a);return _0x1b078a;},Se=(_0x4e5281,_0x1ef7c8)=>(_0x38c4b7,_0x8d05b1)=>_0x1ef7c8(_0x38c4b7,_0x8d05b1,_0x4e5281);exports[_0x859cf8(0x2dc)]=class extends o['RxDisposable']{constructor(_0x12c08e,_0x43e5b5,_0x4489f3,_0x5f2099){var _0x49923f=_0x859cf8,_0x288bda;super(),A(this,'_entities',new Map()),A(this,_0x49923f(0x309),new j['Subject']()),A(this,'entityInit$',this['_entityInit$'][_0x49923f(0x3cb)]()),(this[_0x49923f(0x1af)]=_0x12c08e,this['_collabSessionService']=_0x43e5b5,this[_0x49923f(0x156)]=_0x4489f3,this[_0x49923f(0xc9)]=_0x5f2099,((_0x288bda=this['_configService']['getConfig'](Y))==null?void 0x0:_0x288bda[_0x49923f(0x19c)])!==!0x1&&this[_0x49923f(0x44d)]());}[_0x859cf8(0x3c7)](){var _0x11c286=_0x859cf8;super[_0x11c286(0x3c7)](),this[_0x11c286(0x274)][_0x11c286(0x16a)](_0x529bce=>_0x529bce[_0x11c286(0x3c7)]()),this[_0x11c286(0x274)]['clear']();}[_0x859cf8(0x302)](_0x96bdbd){var _0x33c855=_0x859cf8,_0x3865cb;return(_0x3865cb=this[_0x33c855(0x274)][_0x33c855(0x271)](_0x96bdbd))!=null?_0x3865cb:null;}[_0x859cf8(0x19f)](_0x31dff5){var _0x43d413=_0x859cf8;const _0x36f1f3=this[_0x43d413(0x302)](_0x31dff5);return _0x36f1f3?j['of'](_0x36f1f3):this[_0x43d413(0x309)][_0x43d413(0x1d5)](V[_0x43d413(0x251)](_0x274acd=>_0x274acd[_0x43d413(0x30a)]===_0x31dff5));}[_0x859cf8(0x33e)](_0x3abc04){var _0x4a09b1=_0x859cf8;return j[_0x4a09b1(0x12d)](this[_0x4a09b1(0x19f)](_0x3abc04)[_0x4a09b1(0x1d5)](V['map'](()=>{})));}[_0x859cf8(0x44d)](){var _0x516ac1=_0x859cf8;this['_univerInstanceService'][_0x516ac1(0x3ca)](o[_0x516ac1(0x261)]['UNIVER_SHEET'])[_0x516ac1(0x1d5)](j[_0x516ac1(0x236)](this['dispose$']),V[_0x516ac1(0x3f6)](0x10))['subscribe'](async _0x467273=>{var _0x38c4c9=_0x516ac1;const _0x2f6add=_0x467273[_0x38c4c9(0x33a)](),_0x1e8df4=await this['_startCollaboration'](_0x2f6add,X[_0x38c4c9(0x358)]);this[_0x38c4c9(0x274)][_0x38c4c9(0x14f)](_0x2f6add,_0x1e8df4);}),this[_0x516ac1(0xc9)][_0x516ac1(0x3ca)](o[_0x516ac1(0x261)][_0x516ac1(0x44b)])[_0x516ac1(0x1d5)](j['takeUntil'](this['dispose$']),V[_0x516ac1(0x3f6)](0x10))[_0x516ac1(0x1d5)](V[_0x516ac1(0x251)](_0x48a12f=>!_0x48a12f[_0x516ac1(0x33a)]()['startsWith']('__')))[_0x516ac1(0x3c5)](async _0x360a30=>{var _0xccb161=_0x516ac1;const _0x5c6dbd=_0x360a30[_0xccb161(0x33a)](),_0x1ee2a6=await this[_0xccb161(0x3bd)](_0x5c6dbd,X[_0xccb161(0x44b)]);this[_0xccb161(0x274)][_0xccb161(0x14f)](_0x5c6dbd,_0x1ee2a6);}),j[_0x516ac1(0x21e)](this['_univerInstanceService'][_0x516ac1(0x144)](o['UniverInstanceType'][_0x516ac1(0x358)]),this[_0x516ac1(0xc9)][_0x516ac1(0x144)](o[_0x516ac1(0x261)]['UNIVER_DOC']))[_0x516ac1(0x1d5)](j['takeUntil'](this[_0x516ac1(0x283)]))['subscribe'](_0x2f9325=>{var _0x5afa7a=_0x516ac1;const _0xe09c3d=_0x2f9325['getUnitId'](),_0x54ef05=this[_0x5afa7a(0x274)][_0x5afa7a(0x271)](_0xe09c3d);_0x54ef05&&(_0x54ef05[_0x5afa7a(0x3c7)](),this[_0x5afa7a(0x274)]['delete'](_0xe09c3d));});}async[_0x859cf8(0x3bd)](_0x372b36,_0x209ee5){var _0x46dfc4=_0x859cf8;const _0x5641de=await this[_0x46dfc4(0x33c)][_0x46dfc4(0x20a)](_0x372b36),_0x47b683=this[_0x46dfc4(0x1af)][_0x46dfc4(0x10f)](this[_0x46dfc4(0x13b)](_0x209ee5),_0x372b36,_0x209ee5,_0x5641de);return await _0x47b683['init'](),this[_0x46dfc4(0x309)][_0x46dfc4(0x143)](_0x47b683),_0x47b683;}[_0x859cf8(0x13b)](_0x35c4bd){var _0x4022cf=_0x859cf8;switch(_0x35c4bd){case X[_0x4022cf(0x44b)]:return exports['DocCollaborationEntity'];case X[_0x4022cf(0x358)]:return exports[_0x4022cf(0x14a)];default:throw new Error(_0x4022cf(0x449)+_0x35c4bd);}}},exports[_0x859cf8(0x2dc)]=li([Se(0x0,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),Se(0x1,o['Inject'](exports[_0x859cf8(0x1b1)])),Se(0x2,o['IConfigService']),Se(0x3,o[_0x859cf8(0x2ab)])],exports[_0x859cf8(0x2dc)]);var ui=Object[_0x859cf8(0x1e0)],vi=(_0x2ca845,_0x5278ac,_0x35bc58,_0x4405ab)=>{var _0x411048=_0x859cf8;for(var _0x3556f3=_0x4405ab>0x1?void 0x0:_0x4405ab?ui(_0x5278ac,_0x35bc58):_0x5278ac,_0x3fb5bc=_0x2ca845[_0x411048(0x44f)]-0x1,_0x25672d;_0x3fb5bc>=0x0;_0x3fb5bc--)(_0x25672d=_0x2ca845[_0x3fb5bc])&&(_0x3556f3=_0x25672d(_0x3556f3)||_0x3556f3);return _0x3556f3;},Ye=(_0xa79b46,_0x24df45)=>(_0x53a1cc,_0x1c69dd)=>_0x24df45(_0x53a1cc,_0x1c69dd,_0xa79b46);const di=_0x859cf8(0x425),Si=_0x859cf8(0x3b6);let xe=class extends o[_0x859cf8(0x18e)]{constructor(_0x437ab7,_0x477f79){var _0x411da8=_0x859cf8;super(),this[_0x411da8(0xc9)]=_0x437ab7,this[_0x411da8(0x156)]=_0x477f79,this['_init']();}['_init'](){var _0x45a8ba=_0x859cf8;this[_0x45a8ba(0x171)](this['_univerInstanceService'][_0x45a8ba(0x3a3)][_0x45a8ba(0x3c5)](()=>{var _0x18130b=_0x45a8ba,_0x4e9786;const _0x3ac26b=this['_univerInstanceService'][_0x18130b(0x29c)]();let _0x2bc423=(_0x4e9786=this[_0x18130b(0x156)][_0x18130b(0x40b)](di))!=null?_0x4e9786:Si;_0x3ac26b instanceof o[_0x18130b(0x356)]&&(_0x2bc423=_0x3ac26b[_0x18130b(0x2c1)]),document[_0x18130b(0x42b)]=_0x2bc423;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x859cf8(0x1bc)])],xe);var Ii=Object[_0x859cf8(0x1e0)],fi=(_0x296951,_0x29ca9a,_0x453b6a,_0x3d60b0)=>{for(var _0x3c3bef=_0x3d60b0>0x1?void 0x0:_0x3d60b0?Ii(_0x29ca9a,_0x453b6a):_0x29ca9a,_0xfd3f9f=_0x296951['length']-0x1,_0x4f3a74;_0xfd3f9f>=0x0;_0xfd3f9f--)(_0x4f3a74=_0x296951[_0xfd3f9f])&&(_0x3c3bef=_0x4f3a74(_0x3c3bef)||_0x3c3bef);return _0x3c3bef;},Ae=(_0x4c30f3,_0x52e10b)=>(_0x2e7722,_0x274062)=>_0x52e10b(_0x2e7722,_0x274062,_0x4c30f3);let Ne=class{constructor(_0x108f09,_0x1b1ede,_0x59f9a4){var _0x24bb19=_0x859cf8;this[_0x24bb19(0x156)]=_0x108f09,this[_0x24bb19(0x25c)]=_0x1b1ede,this[_0x24bb19(0x110)]=_0x59f9a4,this[_0x24bb19(0x402)]();}[_0x859cf8(0x402)](){var _0x3451c1=_0x859cf8;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1283fe,_0x421cf4)=>_0x421cf4(_0x1283fe)['pipe'](j[_0x3451c1(0x2f4)](async _0x4814b3=>{var _0x5a65bb=_0x3451c1;const _0x3adcd5=_0x4814b3;if(_0x3adcd5[_0x5a65bb(0x2c2)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5a65bb(0x42e)](this['localeService']['t'](_0x5a65bb(0x186)))){const _0x508120=window[_0x5a65bb(0x15d)](window[_0x5a65bb(0x344)]['href']);window[_0x5a65bb(0x344)][_0x5a65bb(0x114)]=this[_0x5a65bb(0x40f)]()+'?url='+_0x508120;}}return _0x3adcd5;}))});}[_0x859cf8(0x40f)](){var _0xf18909=_0x859cf8,_0x368568;const _0x43ef0f=this[_0xf18909(0x156)][_0xf18909(0x40b)](Y);return(_0x368568=_0x43ef0f==null?void 0x0:_0x43ef0f[_0xf18909(0x238)])!=null?_0x368568:Ht;}};Ne=fi([Ae(0x0,o['IConfigService']),Ae(0x1,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)])),Ae(0x2,o[_0x859cf8(0x416)](o[_0x859cf8(0xf9)]))],Ne);var Ei=Object['getOwnPropertyDescriptor'],pi=(_0xd96888,_0xab6d2b,_0x30e247,_0x420ade)=>{var _0x556897=_0x859cf8;for(var _0x2a48f6=_0x420ade>0x1?void 0x0:_0x420ade?Ei(_0xab6d2b,_0x30e247):_0xab6d2b,_0x440acb=_0xd96888[_0x556897(0x44f)]-0x1,_0x42c049;_0x440acb>=0x0;_0x440acb--)(_0x42c049=_0xd96888[_0x440acb])&&(_0x2a48f6=_0x42c049(_0x2a48f6)||_0x2a48f6);return _0x2a48f6;},Ke=(_0x40af37,_0xecacc6)=>(_0x190e4d,_0x22cb23)=>_0xecacc6(_0x190e4d,_0x22cb23,_0x40af37);const mi='/universer-api/authz';exports[_0x859cf8(0x2ce)]=class extends o['Disposable']{constructor(_0xbe1c21,_0x204d80){var _0x388fb3=_0x859cf8;super(),this['_HTTPService']=_0xbe1c21,this[_0x388fb3(0x156)]=_0x204d80,this[_0x388fb3(0x126)]();}['_initMergeInterceptor'](){var _0x7574c7=_0x859cf8;const _0x49c7fc=this;this[_0x7574c7(0x171)](this[_0x7574c7(0x290)][_0x7574c7(0xd8)]({'priority':0x3e7,'interceptor':K[_0x7574c7(0x159)]({'isMatch'(_0x49e334){var _0x2816e7=_0x7574c7,_0x5d0e35;if(_0x49e334['method']==='POST'&&((_0x5d0e35=_0x49e334['requestParams'])!=null&&_0x5d0e35[_0x2816e7(0x3b4)])){const {objectID:_0x1af0ad,objectType:_0x53b832}=_0x49e334[_0x2816e7(0x341)]['body']||{};if(!_0x1af0ad||_0x53b832===void 0x0)return!0x1;const _0x14552f=_0x49c7fc[_0x2816e7(0xce)]()+'/'+_0x53b832+_0x2816e7(0x3bb)+_0x1af0ad+_0x2816e7(0x2c8);if(_0x49e334[_0x2816e7(0x444)]===_0x14552f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b85d2){var _0x2622b9=_0x7574c7,_0x121f39;return(_0x121f39=_0x3b85d2['requestParams'])==null?void 0x0:_0x121f39[_0x2622b9(0x3b4)];},'mergeParamsToRequest'(_0x566e0f,_0x9ff87d){var _0x218893=_0x7574c7;const _0x21cdf9=_0x49c7fc[_0x218893(0xce)]()+_0x218893(0x1ff),_0x2f1652=_0x566e0f['reduce']((_0x3b6a77,_0x4e5aa9)=>{var _0x5c140d=_0x218893;const {unitID:_0xfb16f8,objectID:_0x4b617b,objectType:_0x32ec71,actions:_0x5bc67f}=_0x4e5aa9;return _0x3b6a77[_0xfb16f8]||(_0x3b6a77[_0xfb16f8]={}),_0x3b6a77[_0xfb16f8][_0x4b617b]||(_0x3b6a77[_0xfb16f8][_0x4b617b]={'objectID':_0x4b617b,'objectType':_0x32ec71,'actions':[]}),_0x3b6a77[_0xfb16f8][_0x4b617b][_0x5c140d(0x19d)][_0x5c140d(0x3f4)](..._0x5bc67f),_0x3b6a77;},{}),_0x5a30f8=[];for(const _0x243496 in _0x2f1652)for(const _0x22373f in _0x2f1652[_0x243496]){const {actions:_0x18248e,objectType:_0x3bf362}=_0x2f1652[_0x243496][_0x22373f],_0x3773c2=[...new Set(_0x18248e)];_0x5a30f8['push']({'unitID':_0x243496,'objectID':_0x22373f,'objectType':_0x3bf362,'actions':_0x3773c2});}return new K[(_0x218893(0x2e2))](_0x218893(0x147),_0x21cdf9,{'headers':_0x9ff87d[_0x218893(0x386)],'withCredentials':_0x9ff87d[_0x218893(0x10d)],'responseType':_0x9ff87d[_0x218893(0x2b6)],'body':{'requests':_0x5a30f8}});}},{'distributeResult'(_0x5033d1,_0x20f988){var _0x291eb1=_0x7574c7;const {objectActions:_0x4d6089}=_0x5033d1;return _0x20f988[_0x291eb1(0x259)](_0x531950=>{var _0x730f38=_0x291eb1;const {unitID:_0xf3d92d,objectID:_0x9ce88b,actions:_0x1f9f82}=_0x531950,_0x3091db=_0x4d6089[_0x730f38(0x293)](_0x3c040f=>_0x3c040f[_0x730f38(0x30a)]===_0xf3d92d&&_0x3c040f[_0x730f38(0x408)]===_0x9ce88b),_0xc32cc7=_0x1f9f82[_0x730f38(0x259)](_0x592721=>_0x3091db==null?void 0x0:_0x3091db[_0x730f38(0x19d)][_0x730f38(0x293)](_0x3ac88b=>_0x3ac88b['action']===_0x592721))[_0x730f38(0x251)](_0x4be172=>!!_0x4be172);return{'config':_0x531950,'result':{'actions':_0xc32cc7,'error':_0x5033d1[_0x730f38(0x119)]}};});}})}));}['_getAPIPrefixPath'](){var _0x10ccbf=_0x859cf8,_0x400c59;const _0x5e6125=this['_configService'][_0x10ccbf(0x40b)](Y);return(_0x400c59=_0x5e6125==null?void 0x0:_0x5e6125['authzUrl'])!=null?_0x400c59:mi;}async[_0x859cf8(0x1f4)](_0x3ca3c1){var _0x913054=_0x859cf8;const _0x27b3cc=this[_0x913054(0xce)]()+'/'+_0x3ca3c1[_0x913054(0x390)]+_0x913054(0x3be);return(await this[_0x913054(0x290)]['post'](_0x27b3cc,{'body':_0x3ca3c1}))[_0x913054(0x3b4)]['objectID']||'';}async[_0x859cf8(0xde)](_0x19f186){var _0x1614c2=_0x859cf8;const _0x111fae=this[_0x1614c2(0xce)]()+_0x1614c2(0x3c8);return(await this[_0x1614c2(0x290)]['post'](_0x111fae,{'body':_0x19f186}))['body']['objects'];}async[_0x859cf8(0x30d)](_0x355605){var _0x3f12cd=_0x859cf8,_0x53ed45,_0x1b8b11;const _0x1fdebd=this['_getAPIPrefixPath']()+'/'+_0x355605[_0x3f12cd(0x390)]+_0x3f12cd(0x3bb)+_0x355605[_0x3f12cd(0x408)],_0x172dff=await this['_HTTPService'][_0x3f12cd(0xdb)](_0x1fdebd,{'body':_0x355605});if(((_0x1b8b11=(_0x53ed45=_0x172dff==null?void 0x0:_0x172dff['body'])==null?void 0x0:_0x53ed45[_0x3f12cd(0x119)])==null?void 0x0:_0x1b8b11['code'])!==0x1)throw new Error(_0x3f12cd(0x348));}async[_0x859cf8(0x43c)](_0x14fcac){var _0x465883=_0x859cf8;const _0x17a3a8=this[_0x465883(0xce)]()+'/'+_0x14fcac[_0x465883(0x390)]+_0x465883(0x3bb)+_0x14fcac['objectID']+_0x465883(0x2c8);return(await this[_0x465883(0x290)][_0x465883(0x403)](_0x17a3a8,{'body':_0x14fcac}))['body'][_0x465883(0x19d)];}async[_0x859cf8(0x2f0)](_0xe6a36b){var _0x454b44=_0x859cf8;const _0x1acd84=this[_0x454b44(0xce)]()+_0x454b44(0x1ff);return(await this[_0x454b44(0x290)][_0x454b44(0x403)](_0x1acd84,{'body':{'requests':_0xe6a36b}}))[_0x454b44(0x3b4)][_0x454b44(0x1f0)];}async['listRoles'](_0x1fa2c6){var _0x12c9fe=_0x859cf8;const _0x5f3a7e=this[_0x12c9fe(0xce)]()+'/'+_0x1fa2c6[_0x12c9fe(0x390)]+'/role',_0x49e952=await this['_HTTPService'][_0x12c9fe(0x403)](_0x5f3a7e,{'body':_0x1fa2c6});return{'roles':_0x49e952[_0x12c9fe(0x3b4)]['roles'],'actions':_0x49e952[_0x12c9fe(0x3b4)][_0x12c9fe(0x19d)]};}async[_0x859cf8(0x303)](_0x250a0a){var _0x5d1d64=_0x859cf8;const _0x4c2acd=this[_0x5d1d64(0xce)]()+'/collaborator';await this[_0x5d1d64(0x290)][_0x5d1d64(0x3fd)](_0x4c2acd,{'params':{'collaboratorID':_0x250a0a[_0x5d1d64(0x3d1)],'objectID':_0x250a0a[_0x5d1d64(0x408)],'unitID':_0x250a0a[_0x5d1d64(0x30a)]}});}async[_0x859cf8(0x1f5)](_0xafb9b6){var _0x5084cc=_0x859cf8;const _0x2200af=this[_0x5084cc(0xce)]()+'/collaborator';await this['_HTTPService'][_0x5084cc(0x3da)](_0x2200af,{'body':_0xafb9b6});}async[_0x859cf8(0x131)](_0x4150dc){var _0x3ec3dd=_0x859cf8;const _0x2ab741=this['_getAPIPrefixPath']()+_0x3ec3dd(0x231);await this['_HTTPService'][_0x3ec3dd(0x403)](_0x2ab741,{'body':_0x4150dc});}async[_0x859cf8(0x1a6)](_0x1b1668){var _0x55a447=_0x859cf8;const _0x3ee4fd=this[_0x55a447(0xce)]()+_0x55a447(0x231);return(await this['_HTTPService'][_0x55a447(0x271)](_0x3ee4fd,{'params':{'objectID':_0x1b1668[_0x55a447(0x408)],'unitID':_0x1b1668['unitID']}}))[_0x55a447(0x3b4)][_0x55a447(0xf0)];}async[_0x859cf8(0x400)](_0x3ede59){var _0x363da1=_0x859cf8;const _0x5ee145=this[_0x363da1(0xce)]()+_0x363da1(0x231);await this['_HTTPService']['put'](_0x5ee145,{'body':_0x3ede59});}},exports[_0x859cf8(0x2ce)]=pi([Ke(0x0,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)])),Ke(0x1,o[_0x859cf8(0x416)](o['IConfigService']))],exports[_0x859cf8(0x2ce)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x19c97a){var _0x46f738=_0x859cf8;return _0x19c97a&&_0x19c97a[_0x46f738(0x329)]&&Object[_0x46f738(0x31d)][_0x46f738(0x2e8)]['call'](_0x19c97a,_0x46f738(0x270))?_0x19c97a[_0x46f738(0x270)]:_0x19c97a;}var Ie={'exports':{}};function gi(_0x3e8852){var _0x2026d4=_0x859cf8;throw new Error(_0x2026d4(0x3a5)+_0x3e8852+_0x2026d4(0x304));}var fe={'exports':{}},Ti=fe[_0x859cf8(0x273)],qe;function Z(){var _0x1929ca=_0x859cf8;return qe||(qe=0x1,function(_0x2e1570,_0x92af23){(function(_0x57b5a2,_0x5504e4){_0x2e1570['exports']=_0x5504e4();}(Ti,function(){var _0x3abbc5=_0x3abbc5||function(_0x319d68,_0x1f212d){var _0x1fd1ec=_0x532c,_0x4ea65c;if(typeof window<'u'&&window['crypto']&&(_0x4ea65c=window['crypto']),typeof self<'u'&&self[_0x1fd1ec(0x2cc)]&&(_0x4ea65c=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4ea65c=globalThis[_0x1fd1ec(0x2cc)]),!_0x4ea65c&&typeof window<'u'&&window['msCrypto']&&(_0x4ea65c=window[_0x1fd1ec(0x3bf)]),!_0x4ea65c&&typeof Pe<'u'&&Pe[_0x1fd1ec(0x2cc)]&&(_0x4ea65c=Pe[_0x1fd1ec(0x2cc)]),!_0x4ea65c&&typeof gi==_0x1fd1ec(0x26a))try{_0x4ea65c=require('crypto');}catch{}var _0x1b5fd7=function(){var _0x21d5fe=_0x1fd1ec;if(_0x4ea65c){if(typeof _0x4ea65c[_0x21d5fe(0x2ae)]==_0x21d5fe(0x26a))try{return _0x4ea65c['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ea65c['randomBytes']=='function')try{return _0x4ea65c[_0x21d5fe(0x3a2)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4f3197=Object[_0x1fd1ec(0x1f4)]||(function(){function _0x3e5ab3(){}return function(_0x5034c9){var _0x30d80a=_0x532c,_0x135c9c;return _0x3e5ab3[_0x30d80a(0x31d)]=_0x5034c9,_0x135c9c=new _0x3e5ab3(),_0x3e5ab3[_0x30d80a(0x31d)]=null,_0x135c9c;};}()),_0x5c10f3={},_0x574c7b=_0x5c10f3['lib']={},_0x209f64=_0x574c7b[_0x1fd1ec(0x1f7)]=(function(){return{'extend':function(_0xe916ca){var _0x3930a3=_0x532c,_0x3c8ab0=_0x4f3197(this);return _0xe916ca&&_0x3c8ab0[_0x3930a3(0x117)](_0xe916ca),(!_0x3c8ab0[_0x3930a3(0x2e8)](_0x3930a3(0x402))||this[_0x3930a3(0x402)]===_0x3c8ab0[_0x3930a3(0x402)])&&(_0x3c8ab0['init']=function(){var _0x40f5ee=_0x3930a3;_0x3c8ab0[_0x40f5ee(0x162)]['init'][_0x40f5ee(0xcd)](this,arguments);}),_0x3c8ab0['init'][_0x3930a3(0x31d)]=_0x3c8ab0,_0x3c8ab0[_0x3930a3(0x162)]=this,_0x3c8ab0;},'create':function(){var _0x3d1808=_0x532c,_0x2aa8a3=this[_0x3d1808(0x2b5)]();return _0x2aa8a3['init'][_0x3d1808(0xcd)](_0x2aa8a3,arguments),_0x2aa8a3;},'init':function(){},'mixIn':function(_0x4a73b1){var _0x3410b7=_0x532c;for(var _0x493bcc in _0x4a73b1)_0x4a73b1[_0x3410b7(0x2e8)](_0x493bcc)&&(this[_0x493bcc]=_0x4a73b1[_0x493bcc]);_0x4a73b1[_0x3410b7(0x2e8)](_0x3410b7(0x266))&&(this['toString']=_0x4a73b1[_0x3410b7(0x266)]);},'clone':function(){var _0x539441=_0x532c;return this[_0x539441(0x402)][_0x539441(0x31d)][_0x539441(0x2b5)](this);}};}()),_0x55e03e=_0x574c7b[_0x1fd1ec(0x317)]=_0x209f64[_0x1fd1ec(0x2b5)]({'init':function(_0x2e68e7,_0x69ce99){var _0x43fb25=_0x1fd1ec;_0x2e68e7=this['words']=_0x2e68e7||[],_0x69ce99!=_0x1f212d?this[_0x43fb25(0x435)]=_0x69ce99:this[_0x43fb25(0x435)]=_0x2e68e7['length']*0x4;},'toString':function(_0x1efb26){var _0x261d1a=_0x1fd1ec;return(_0x1efb26||_0x33cdf6)[_0x261d1a(0x37c)](this);},'concat':function(_0x2ca8bd){var _0x39d955=_0x1fd1ec,_0x150f50=this[_0x39d955(0x37d)],_0xd0f48b=_0x2ca8bd['words'],_0x22b338=this[_0x39d955(0x435)],_0x54e516=_0x2ca8bd['sigBytes'];if(this[_0x39d955(0x40a)](),_0x22b338%0x4)for(var _0x568ce9=0x0;_0x568ce9<_0x54e516;_0x568ce9++){var _0x338319=_0xd0f48b[_0x568ce9>>>0x2]>>>0x18-_0x568ce9%0x4*0x8&0xff;_0x150f50[_0x22b338+_0x568ce9>>>0x2]|=_0x338319<<0x18-(_0x22b338+_0x568ce9)%0x4*0x8;}else{for(var _0x170f1b=0x0;_0x170f1b<_0x54e516;_0x170f1b+=0x4)_0x150f50[_0x22b338+_0x170f1b>>>0x2]=_0xd0f48b[_0x170f1b>>>0x2];}return this[_0x39d955(0x435)]+=_0x54e516,this;},'clamp':function(){var _0x19a0ba=_0x1fd1ec,_0x5587c8=this['words'],_0x5e1588=this[_0x19a0ba(0x435)];_0x5587c8[_0x5e1588>>>0x2]&=0xffffffff<<0x20-_0x5e1588%0x4*0x8,_0x5587c8[_0x19a0ba(0x44f)]=_0x319d68['ceil'](_0x5e1588/0x4);},'clone':function(){var _0x1027b1=_0x1fd1ec,_0x12d147=_0x209f64[_0x1027b1(0x284)][_0x1027b1(0x2ad)](this);return _0x12d147[_0x1027b1(0x37d)]=this[_0x1027b1(0x37d)][_0x1027b1(0x2ba)](0x0),_0x12d147;},'random':function(_0x209ef7){var _0x1fb4a4=_0x1fd1ec;for(var _0x98a086=[],_0x272b1a=0x0;_0x272b1a<_0x209ef7;_0x272b1a+=0x4)_0x98a086['push'](_0x1b5fd7());return new _0x55e03e[(_0x1fb4a4(0x402))](_0x98a086,_0x209ef7);}}),_0x477ddf=_0x5c10f3[_0x1fd1ec(0x178)]={},_0x33cdf6=_0x477ddf[_0x1fd1ec(0x2c9)]={'stringify':function(_0x383c95){var _0x45dafe=_0x1fd1ec;for(var _0x57402d=_0x383c95[_0x45dafe(0x37d)],_0x43c99a=_0x383c95['sigBytes'],_0x1e3341=[],_0x1292f8=0x0;_0x1292f8<_0x43c99a;_0x1292f8++){var _0x58c4bf=_0x57402d[_0x1292f8>>>0x2]>>>0x18-_0x1292f8%0x4*0x8&0xff;_0x1e3341[_0x45dafe(0x3f4)]((_0x58c4bf>>>0x4)[_0x45dafe(0x266)](0x10)),_0x1e3341[_0x45dafe(0x3f4)]((_0x58c4bf&0xf)[_0x45dafe(0x266)](0x10));}return _0x1e3341[_0x45dafe(0xf2)]('');},'parse':function(_0x598174){var _0x5c9b9e=_0x1fd1ec;for(var _0x4e7fca=_0x598174[_0x5c9b9e(0x44f)],_0x36f979=[],_0x1dea1b=0x0;_0x1dea1b<_0x4e7fca;_0x1dea1b+=0x2)_0x36f979[_0x1dea1b>>>0x3]|=parseInt(_0x598174[_0x5c9b9e(0x367)](_0x1dea1b,0x2),0x10)<<0x18-_0x1dea1b%0x8*0x4;return new _0x55e03e[(_0x5c9b9e(0x402))](_0x36f979,_0x4e7fca/0x2);}},_0x122ea1=_0x477ddf[_0x1fd1ec(0x10a)]={'stringify':function(_0x27011f){var _0x5a68eb=_0x1fd1ec;for(var _0x59e65a=_0x27011f[_0x5a68eb(0x37d)],_0x585100=_0x27011f[_0x5a68eb(0x435)],_0x30e61c=[],_0x4e274a=0x0;_0x4e274a<_0x585100;_0x4e274a++){var _0x5c43f4=_0x59e65a[_0x4e274a>>>0x2]>>>0x18-_0x4e274a%0x4*0x8&0xff;_0x30e61c['push'](String[_0x5a68eb(0xfc)](_0x5c43f4));}return _0x30e61c['join']('');},'parse':function(_0x2cf2da){var _0x31fa5c=_0x1fd1ec;for(var _0x24448a=_0x2cf2da[_0x31fa5c(0x44f)],_0x1699b2=[],_0xcc1a4f=0x0;_0xcc1a4f<_0x24448a;_0xcc1a4f++)_0x1699b2[_0xcc1a4f>>>0x2]|=(_0x2cf2da['charCodeAt'](_0xcc1a4f)&0xff)<<0x18-_0xcc1a4f%0x4*0x8;return new _0x55e03e[(_0x31fa5c(0x402))](_0x1699b2,_0x24448a);}},_0x1e5f9a=_0x477ddf[_0x1fd1ec(0x332)]={'stringify':function(_0x19a5b5){var _0x4ffa9c=_0x1fd1ec;try{return decodeURIComponent(escape(_0x122ea1[_0x4ffa9c(0x37c)](_0x19a5b5)));}catch{throw new Error(_0x4ffa9c(0x353));}},'parse':function(_0x23b913){var _0x336de8=_0x1fd1ec;return _0x122ea1[_0x336de8(0x2a9)](unescape(encodeURIComponent(_0x23b913)));}},_0x1355ea=_0x574c7b[_0x1fd1ec(0x252)]=_0x209f64['extend']({'reset':function(){var _0x35a80e=_0x1fd1ec;this[_0x35a80e(0x2e3)]=new _0x55e03e[(_0x35a80e(0x402))](),this[_0x35a80e(0x2d2)]=0x0;},'_append':function(_0x5af163){var _0x2ecbb7=_0x1fd1ec;typeof _0x5af163=='string'&&(_0x5af163=_0x1e5f9a[_0x2ecbb7(0x2a9)](_0x5af163)),this[_0x2ecbb7(0x2e3)][_0x2ecbb7(0x423)](_0x5af163),this[_0x2ecbb7(0x2d2)]+=_0x5af163[_0x2ecbb7(0x435)];},'_process':function(_0x3cbd44){var _0x175186=_0x1fd1ec,_0x5148ab,_0x24cb83=this[_0x175186(0x2e3)],_0x362f92=_0x24cb83[_0x175186(0x37d)],_0xb3e276=_0x24cb83[_0x175186(0x435)],_0x48397b=this[_0x175186(0x134)],_0x43e5cb=_0x48397b*0x4,_0x4313b9=_0xb3e276/_0x43e5cb;_0x3cbd44?_0x4313b9=_0x319d68['ceil'](_0x4313b9):_0x4313b9=_0x319d68[_0x175186(0x381)]((_0x4313b9|0x0)-this[_0x175186(0x24b)],0x0);var _0x950df6=_0x4313b9*_0x48397b,_0x17966d=_0x319d68[_0x175186(0x314)](_0x950df6*0x4,_0xb3e276);if(_0x950df6){for(var _0x10464c=0x0;_0x10464c<_0x950df6;_0x10464c+=_0x48397b)this[_0x175186(0x3e1)](_0x362f92,_0x10464c);_0x5148ab=_0x362f92[_0x175186(0x337)](0x0,_0x950df6),_0x24cb83[_0x175186(0x435)]-=_0x17966d;}return new _0x55e03e[(_0x175186(0x402))](_0x5148ab,_0x17966d);},'clone':function(){var _0x401374=_0x1fd1ec,_0x5d7bb7=_0x209f64[_0x401374(0x284)][_0x401374(0x2ad)](this);return _0x5d7bb7[_0x401374(0x2e3)]=this[_0x401374(0x2e3)][_0x401374(0x284)](),_0x5d7bb7;},'_minBufferSize':0x0});_0x574c7b['Hasher']=_0x1355ea[_0x1fd1ec(0x2b5)]({'cfg':_0x209f64[_0x1fd1ec(0x2b5)](),'init':function(_0x11089e){var _0x30e648=_0x1fd1ec;this[_0x30e648(0x2e1)]=this['cfg'][_0x30e648(0x2b5)](_0x11089e),this[_0x30e648(0x2d4)]();},'reset':function(){var _0x379128=_0x1fd1ec;_0x1355ea[_0x379128(0x2d4)][_0x379128(0x2ad)](this),this[_0x379128(0x115)]();},'update':function(_0xcb1b72){var _0x3486a6=_0x1fd1ec;return this[_0x3486a6(0x260)](_0xcb1b72),this['_process'](),this;},'finalize':function(_0x667061){var _0x4cfdd2=_0x1fd1ec;_0x667061&&this[_0x4cfdd2(0x260)](_0x667061);var _0x1c26f5=this['_doFinalize']();return _0x1c26f5;},'blockSize':0x10,'_createHelper':function(_0x41e400){return function(_0xdcecfd,_0x47eae2){var _0x140877=_0x532c;return new _0x41e400[(_0x140877(0x402))](_0x47eae2)[_0x140877(0x13e)](_0xdcecfd);};},'_createHmacHelper':function(_0x441aad){return function(_0x2d4d98,_0x597a1f){var _0x41d5a6=_0x532c;return new _0x43e2f9[(_0x41d5a6(0x18a))][(_0x41d5a6(0x402))](_0x441aad,_0x597a1f)['finalize'](_0x2d4d98);};}});var _0x43e2f9=_0x5c10f3[_0x1fd1ec(0x198)]={};return _0x5c10f3;}(Math);return _0x3abbc5;}));}(fe)),fe[_0x1929ca(0x273)];}var Ee={'exports':{}},Ci=Ee[_0x859cf8(0x273)],ze;function Tt(){var _0x29ea3a=_0x859cf8;return ze||(ze=0x1,function(_0x466e41,_0x1369ad){(function(_0x147bab,_0x127832){_0x466e41['exports']=_0x127832(Z());}(Ci,function(_0x1257ef){var _0x1b39b4=_0x532c;return(function(){var _0x486b9d=_0x532c,_0x5f1ae3=_0x1257ef,_0x4495fc=_0x5f1ae3['lib'],_0x3c97ce=_0x4495fc[_0x486b9d(0x317)],_0xf3cbdc=_0x5f1ae3['enc'];_0xf3cbdc[_0x486b9d(0x426)]={'stringify':function(_0x4893fc){var _0x23bd96=_0x486b9d,_0x46ab77=_0x4893fc[_0x23bd96(0x37d)],_0x2afc19=_0x4893fc[_0x23bd96(0x435)],_0x5ca63f=this['_map'];_0x4893fc[_0x23bd96(0x40a)]();for(var _0x59a875=[],_0x1a9cae=0x0;_0x1a9cae<_0x2afc19;_0x1a9cae+=0x3)for(var _0x49e6ec=_0x46ab77[_0x1a9cae>>>0x2]>>>0x18-_0x1a9cae%0x4*0x8&0xff,_0x1494ea=_0x46ab77[_0x1a9cae+0x1>>>0x2]>>>0x18-(_0x1a9cae+0x1)%0x4*0x8&0xff,_0x23ad59=_0x46ab77[_0x1a9cae+0x2>>>0x2]>>>0x18-(_0x1a9cae+0x2)%0x4*0x8&0xff,_0x15eadb=_0x49e6ec<<0x10|_0x1494ea<<0x8|_0x23ad59,_0x1a6f07=0x0;_0x1a6f07<0x4&&_0x1a9cae+_0x1a6f07*0.75<_0x2afc19;_0x1a6f07++)_0x59a875['push'](_0x5ca63f[_0x23bd96(0xea)](_0x15eadb>>>0x6*(0x3-_0x1a6f07)&0x3f));var _0x3c8c14=_0x5ca63f[_0x23bd96(0xea)](0x40);if(_0x3c8c14){for(;_0x59a875['length']%0x4;)_0x59a875[_0x23bd96(0x3f4)](_0x3c8c14);}return _0x59a875[_0x23bd96(0xf2)]('');},'parse':function(_0x2f958e){var _0x477804=_0x486b9d,_0x4c6dc8=_0x2f958e['length'],_0x418c92=this['_map'],_0xe3ac29=this['_reverseMap'];if(!_0xe3ac29){_0xe3ac29=this[_0x477804(0x1ef)]=[];for(var _0x6cedf2=0x0;_0x6cedf2<_0x418c92[_0x477804(0x44f)];_0x6cedf2++)_0xe3ac29[_0x418c92['charCodeAt'](_0x6cedf2)]=_0x6cedf2;}var _0x239730=_0x418c92[_0x477804(0xea)](0x40);if(_0x239730){var _0x4659c2=_0x2f958e['indexOf'](_0x239730);_0x4659c2!==-0x1&&(_0x4c6dc8=_0x4659c2);}return _0x17aaa5(_0x2f958e,_0x4c6dc8,_0xe3ac29);},'_map':_0x486b9d(0x1cb)};function _0x17aaa5(_0x505cf0,_0x5220ee,_0x2af9fb){var _0x2e5a9e=_0x486b9d;for(var _0x596036=[],_0x40f403=0x0,_0x3f5078=0x0;_0x3f5078<_0x5220ee;_0x3f5078++)if(_0x3f5078%0x4){var _0x13f9e3=_0x2af9fb[_0x505cf0['charCodeAt'](_0x3f5078-0x1)]<<_0x3f5078%0x4*0x2,_0x206b4d=_0x2af9fb[_0x505cf0[_0x2e5a9e(0x1c6)](_0x3f5078)]>>>0x6-_0x3f5078%0x4*0x2,_0x3c12ae=_0x13f9e3|_0x206b4d;_0x596036[_0x40f403>>>0x2]|=_0x3c12ae<<0x18-_0x40f403%0x4*0x8,_0x40f403++;}return _0x3c97ce['create'](_0x596036,_0x40f403);}}()),_0x1257ef['enc'][_0x1b39b4(0x426)];}));}(Ee)),Ee[_0x29ea3a(0x273)];}var pe={'exports':{}},Oi=pe[_0x859cf8(0x273)],Xe;function bi(){var _0x2ec786=_0x859cf8;return Xe||(Xe=0x1,function(_0x4f732f,_0x1a2b9f){(function(_0x16a98b,_0x1e7500){_0x4f732f['exports']=_0x1e7500(Z());}(Oi,function(_0x10e9e5){var _0x2a43d3=_0x532c;return function(_0x3fb507){var _0x1d82d9=_0x532c,_0x528137=_0x10e9e5,_0x456227=_0x528137['lib'],_0x4f22e8=_0x456227['WordArray'],_0x427009=_0x456227[_0x1d82d9(0x323)],_0x48f5c0=_0x528137['algo'],_0x7b5343=[];(function(){var _0x188783=_0x1d82d9;for(var _0xe3245e=0x0;_0xe3245e<0x40;_0xe3245e++)_0x7b5343[_0xe3245e]=_0x3fb507['abs'](_0x3fb507[_0x188783(0x27d)](_0xe3245e+0x1))*0x100000000|0x0;}());var _0x127eed=_0x48f5c0[_0x1d82d9(0x1e7)]=_0x427009[_0x1d82d9(0x2b5)]({'_doReset':function(){var _0x42eb27=_0x1d82d9;this[_0x42eb27(0x1d4)]=new _0x4f22e8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xc01e57,_0x336673){var _0x734c0a=_0x1d82d9;for(var _0x357cd8=0x0;_0x357cd8<0x10;_0x357cd8++){var _0x8fe1ce=_0x336673+_0x357cd8,_0x4220d5=_0xc01e57[_0x8fe1ce];_0xc01e57[_0x8fe1ce]=(_0x4220d5<<0x8|_0x4220d5>>>0x18)&0xff00ff|(_0x4220d5<<0x18|_0x4220d5>>>0x8)&0xff00ff00;}var _0x1cc6f0=this[_0x734c0a(0x1d4)][_0x734c0a(0x37d)],_0x5e1c4d=_0xc01e57[_0x336673+0x0],_0x574610=_0xc01e57[_0x336673+0x1],_0x90da22=_0xc01e57[_0x336673+0x2],_0x2f201d=_0xc01e57[_0x336673+0x3],_0x40d7d5=_0xc01e57[_0x336673+0x4],_0x141951=_0xc01e57[_0x336673+0x5],_0x278375=_0xc01e57[_0x336673+0x6],_0x15e438=_0xc01e57[_0x336673+0x7],_0x2fc50f=_0xc01e57[_0x336673+0x8],_0x5f1ce5=_0xc01e57[_0x336673+0x9],_0x1b34f3=_0xc01e57[_0x336673+0xa],_0x5f480a=_0xc01e57[_0x336673+0xb],_0x4baeeb=_0xc01e57[_0x336673+0xc],_0x32cd2d=_0xc01e57[_0x336673+0xd],_0xcb7e99=_0xc01e57[_0x336673+0xe],_0x4fe9b6=_0xc01e57[_0x336673+0xf],_0x5446da=_0x1cc6f0[0x0],_0x4fbfb8=_0x1cc6f0[0x1],_0xcd71fe=_0x1cc6f0[0x2],_0x32a598=_0x1cc6f0[0x3];_0x5446da=_0x49a943(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5e1c4d,0x7,_0x7b5343[0x0]),_0x32a598=_0x49a943(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x574610,0xc,_0x7b5343[0x1]),_0xcd71fe=_0x49a943(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x90da22,0x11,_0x7b5343[0x2]),_0x4fbfb8=_0x49a943(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x2f201d,0x16,_0x7b5343[0x3]),_0x5446da=_0x49a943(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x40d7d5,0x7,_0x7b5343[0x4]),_0x32a598=_0x49a943(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x141951,0xc,_0x7b5343[0x5]),_0xcd71fe=_0x49a943(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x278375,0x11,_0x7b5343[0x6]),_0x4fbfb8=_0x49a943(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x15e438,0x16,_0x7b5343[0x7]),_0x5446da=_0x49a943(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x2fc50f,0x7,_0x7b5343[0x8]),_0x32a598=_0x49a943(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x5f1ce5,0xc,_0x7b5343[0x9]),_0xcd71fe=_0x49a943(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x1b34f3,0x11,_0x7b5343[0xa]),_0x4fbfb8=_0x49a943(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x5f480a,0x16,_0x7b5343[0xb]),_0x5446da=_0x49a943(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x4baeeb,0x7,_0x7b5343[0xc]),_0x32a598=_0x49a943(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32cd2d,0xc,_0x7b5343[0xd]),_0xcd71fe=_0x49a943(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0xcb7e99,0x11,_0x7b5343[0xe]),_0x4fbfb8=_0x49a943(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x4fe9b6,0x16,_0x7b5343[0xf]),_0x5446da=_0x3ac7d7(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x574610,0x5,_0x7b5343[0x10]),_0x32a598=_0x3ac7d7(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x278375,0x9,_0x7b5343[0x11]),_0xcd71fe=_0x3ac7d7(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x5f480a,0xe,_0x7b5343[0x12]),_0x4fbfb8=_0x3ac7d7(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x5e1c4d,0x14,_0x7b5343[0x13]),_0x5446da=_0x3ac7d7(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x141951,0x5,_0x7b5343[0x14]),_0x32a598=_0x3ac7d7(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x1b34f3,0x9,_0x7b5343[0x15]),_0xcd71fe=_0x3ac7d7(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x4fe9b6,0xe,_0x7b5343[0x16]),_0x4fbfb8=_0x3ac7d7(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x40d7d5,0x14,_0x7b5343[0x17]),_0x5446da=_0x3ac7d7(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5f1ce5,0x5,_0x7b5343[0x18]),_0x32a598=_0x3ac7d7(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0xcb7e99,0x9,_0x7b5343[0x19]),_0xcd71fe=_0x3ac7d7(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x2f201d,0xe,_0x7b5343[0x1a]),_0x4fbfb8=_0x3ac7d7(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x2fc50f,0x14,_0x7b5343[0x1b]),_0x5446da=_0x3ac7d7(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x32cd2d,0x5,_0x7b5343[0x1c]),_0x32a598=_0x3ac7d7(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x90da22,0x9,_0x7b5343[0x1d]),_0xcd71fe=_0x3ac7d7(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x15e438,0xe,_0x7b5343[0x1e]),_0x4fbfb8=_0x3ac7d7(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x4baeeb,0x14,_0x7b5343[0x1f]),_0x5446da=_0x2f7706(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x141951,0x4,_0x7b5343[0x20]),_0x32a598=_0x2f7706(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x2fc50f,0xb,_0x7b5343[0x21]),_0xcd71fe=_0x2f7706(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x5f480a,0x10,_0x7b5343[0x22]),_0x4fbfb8=_0x2f7706(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0xcb7e99,0x17,_0x7b5343[0x23]),_0x5446da=_0x2f7706(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x574610,0x4,_0x7b5343[0x24]),_0x32a598=_0x2f7706(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x40d7d5,0xb,_0x7b5343[0x25]),_0xcd71fe=_0x2f7706(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x15e438,0x10,_0x7b5343[0x26]),_0x4fbfb8=_0x2f7706(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x1b34f3,0x17,_0x7b5343[0x27]),_0x5446da=_0x2f7706(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x32cd2d,0x4,_0x7b5343[0x28]),_0x32a598=_0x2f7706(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x5e1c4d,0xb,_0x7b5343[0x29]),_0xcd71fe=_0x2f7706(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x2f201d,0x10,_0x7b5343[0x2a]),_0x4fbfb8=_0x2f7706(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x278375,0x17,_0x7b5343[0x2b]),_0x5446da=_0x2f7706(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5f1ce5,0x4,_0x7b5343[0x2c]),_0x32a598=_0x2f7706(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x4baeeb,0xb,_0x7b5343[0x2d]),_0xcd71fe=_0x2f7706(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x4fe9b6,0x10,_0x7b5343[0x2e]),_0x4fbfb8=_0x2f7706(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x90da22,0x17,_0x7b5343[0x2f]),_0x5446da=_0x280d2e(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5e1c4d,0x6,_0x7b5343[0x30]),_0x32a598=_0x280d2e(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x15e438,0xa,_0x7b5343[0x31]),_0xcd71fe=_0x280d2e(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0xcb7e99,0xf,_0x7b5343[0x32]),_0x4fbfb8=_0x280d2e(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x141951,0x15,_0x7b5343[0x33]),_0x5446da=_0x280d2e(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x4baeeb,0x6,_0x7b5343[0x34]),_0x32a598=_0x280d2e(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x2f201d,0xa,_0x7b5343[0x35]),_0xcd71fe=_0x280d2e(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x1b34f3,0xf,_0x7b5343[0x36]),_0x4fbfb8=_0x280d2e(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x574610,0x15,_0x7b5343[0x37]),_0x5446da=_0x280d2e(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x2fc50f,0x6,_0x7b5343[0x38]),_0x32a598=_0x280d2e(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x4fe9b6,0xa,_0x7b5343[0x39]),_0xcd71fe=_0x280d2e(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x278375,0xf,_0x7b5343[0x3a]),_0x4fbfb8=_0x280d2e(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x32cd2d,0x15,_0x7b5343[0x3b]),_0x5446da=_0x280d2e(_0x5446da,_0x4fbfb8,_0xcd71fe,_0x32a598,_0x40d7d5,0x6,_0x7b5343[0x3c]),_0x32a598=_0x280d2e(_0x32a598,_0x5446da,_0x4fbfb8,_0xcd71fe,_0x5f480a,0xa,_0x7b5343[0x3d]),_0xcd71fe=_0x280d2e(_0xcd71fe,_0x32a598,_0x5446da,_0x4fbfb8,_0x90da22,0xf,_0x7b5343[0x3e]),_0x4fbfb8=_0x280d2e(_0x4fbfb8,_0xcd71fe,_0x32a598,_0x5446da,_0x5f1ce5,0x15,_0x7b5343[0x3f]),_0x1cc6f0[0x0]=_0x1cc6f0[0x0]+_0x5446da|0x0,_0x1cc6f0[0x1]=_0x1cc6f0[0x1]+_0x4fbfb8|0x0,_0x1cc6f0[0x2]=_0x1cc6f0[0x2]+_0xcd71fe|0x0,_0x1cc6f0[0x3]=_0x1cc6f0[0x3]+_0x32a598|0x0;},'_doFinalize':function(){var _0x467104=_0x1d82d9,_0x40d6fb=this[_0x467104(0x2e3)],_0x16a0a2=_0x40d6fb[_0x467104(0x37d)],_0x1b1af4=this[_0x467104(0x2d2)]*0x8,_0x1d239a=_0x40d6fb[_0x467104(0x435)]*0x8;_0x16a0a2[_0x1d239a>>>0x5]|=0x80<<0x18-_0x1d239a%0x20;var _0x2864bb=_0x3fb507[_0x467104(0x1b7)](_0x1b1af4/0x100000000),_0x3a3732=_0x1b1af4;_0x16a0a2[(_0x1d239a+0x40>>>0x9<<0x4)+0xf]=(_0x2864bb<<0x8|_0x2864bb>>>0x18)&0xff00ff|(_0x2864bb<<0x18|_0x2864bb>>>0x8)&0xff00ff00,_0x16a0a2[(_0x1d239a+0x40>>>0x9<<0x4)+0xe]=(_0x3a3732<<0x8|_0x3a3732>>>0x18)&0xff00ff|(_0x3a3732<<0x18|_0x3a3732>>>0x8)&0xff00ff00,_0x40d6fb['sigBytes']=(_0x16a0a2[_0x467104(0x44f)]+0x1)*0x4,this[_0x467104(0x1fd)]();for(var _0x25e589=this['_hash'],_0x548da8=_0x25e589[_0x467104(0x37d)],_0x23149e=0x0;_0x23149e<0x4;_0x23149e++){var _0x53f263=_0x548da8[_0x23149e];_0x548da8[_0x23149e]=(_0x53f263<<0x8|_0x53f263>>>0x18)&0xff00ff|(_0x53f263<<0x18|_0x53f263>>>0x8)&0xff00ff00;}return _0x25e589;},'clone':function(){var _0x496ec4=_0x1d82d9,_0x5a9775=_0x427009[_0x496ec4(0x284)][_0x496ec4(0x2ad)](this);return _0x5a9775[_0x496ec4(0x1d4)]=this[_0x496ec4(0x1d4)]['clone'](),_0x5a9775;}});function _0x49a943(_0x519bc7,_0xda4459,_0x1e7c5d,_0x3724fb,_0x2f4cdd,_0x21d1a1,_0x22dbea){var _0x3a2c09=_0x519bc7+(_0xda4459&_0x1e7c5d|~_0xda4459&_0x3724fb)+_0x2f4cdd+_0x22dbea;return(_0x3a2c09<<_0x21d1a1|_0x3a2c09>>>0x20-_0x21d1a1)+_0xda4459;}function _0x3ac7d7(_0xba752e,_0x3370e7,_0x5545e4,_0x3c9f2f,_0x4a41e9,_0x5a2a98,_0x31d6d3){var _0xb03e69=_0xba752e+(_0x3370e7&_0x3c9f2f|_0x5545e4&~_0x3c9f2f)+_0x4a41e9+_0x31d6d3;return(_0xb03e69<<_0x5a2a98|_0xb03e69>>>0x20-_0x5a2a98)+_0x3370e7;}function _0x2f7706(_0x5d33a8,_0x434dd2,_0xb728f7,_0x32267e,_0x4400ad,_0x43ac48,_0x2ac2a7){var _0x55b098=_0x5d33a8+(_0x434dd2^_0xb728f7^_0x32267e)+_0x4400ad+_0x2ac2a7;return(_0x55b098<<_0x43ac48|_0x55b098>>>0x20-_0x43ac48)+_0x434dd2;}function _0x280d2e(_0x4efd36,_0x5b603f,_0x14ba8e,_0x3cda20,_0x41d5de,_0x51e017,_0x2c5dc1){var _0x276be1=_0x4efd36+(_0x14ba8e^(_0x5b603f|~_0x3cda20))+_0x41d5de+_0x2c5dc1;return(_0x276be1<<_0x51e017|_0x276be1>>>0x20-_0x51e017)+_0x5b603f;}_0x528137[_0x1d82d9(0x1e7)]=_0x427009['_createHelper'](_0x127eed),_0x528137[_0x1d82d9(0x2a0)]=_0x427009[_0x1d82d9(0x12a)](_0x127eed);}(Math),_0x10e9e5[_0x2a43d3(0x1e7)];}));}(pe)),pe[_0x2ec786(0x273)];}var me={'exports':{}},ge={'exports':{}},Ri=ge['exports'],Je;function Ni(){var _0x25716a=_0x859cf8;return Je||(Je=0x1,function(_0x440131,_0x23d0c7){(function(_0x3bd6bc,_0x3e1e28){var _0x354fc6=_0x532c;_0x440131[_0x354fc6(0x273)]=_0x3e1e28(Z());}(Ri,function(_0x3abc35){var _0x2df431=_0x532c;return(function(){var _0xa8d5dd=_0x532c,_0x2f6241=_0x3abc35,_0x450297=_0x2f6241[_0xa8d5dd(0x2f1)],_0x2ea788=_0x450297[_0xa8d5dd(0x317)],_0x45e3b6=_0x450297[_0xa8d5dd(0x323)],_0x562c81=_0x2f6241[_0xa8d5dd(0x198)],_0xe4d07c=[],_0x864acd=_0x562c81[_0xa8d5dd(0x407)]=_0x45e3b6[_0xa8d5dd(0x2b5)]({'_doReset':function(){var _0x13430a=_0xa8d5dd;this[_0x13430a(0x1d4)]=new _0x2ea788['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4f7106,_0x19990c){var _0x28ee05=_0xa8d5dd;for(var _0x5e0420=this[_0x28ee05(0x1d4)][_0x28ee05(0x37d)],_0x370df3=_0x5e0420[0x0],_0x29e8f1=_0x5e0420[0x1],_0x5d941a=_0x5e0420[0x2],_0x19f130=_0x5e0420[0x3],_0xe15999=_0x5e0420[0x4],_0x5a0aaa=0x0;_0x5a0aaa<0x50;_0x5a0aaa++){if(_0x5a0aaa<0x10)_0xe4d07c[_0x5a0aaa]=_0x4f7106[_0x19990c+_0x5a0aaa]|0x0;else{var _0x4e68a0=_0xe4d07c[_0x5a0aaa-0x3]^_0xe4d07c[_0x5a0aaa-0x8]^_0xe4d07c[_0x5a0aaa-0xe]^_0xe4d07c[_0x5a0aaa-0x10];_0xe4d07c[_0x5a0aaa]=_0x4e68a0<<0x1|_0x4e68a0>>>0x1f;}var _0x571cbe=(_0x370df3<<0x5|_0x370df3>>>0x1b)+_0xe15999+_0xe4d07c[_0x5a0aaa];_0x5a0aaa<0x14?_0x571cbe+=(_0x29e8f1&_0x5d941a|~_0x29e8f1&_0x19f130)+0x5a827999:_0x5a0aaa<0x28?_0x571cbe+=(_0x29e8f1^_0x5d941a^_0x19f130)+0x6ed9eba1:_0x5a0aaa<0x3c?_0x571cbe+=(_0x29e8f1&_0x5d941a|_0x29e8f1&_0x19f130|_0x5d941a&_0x19f130)-0x70e44324:_0x571cbe+=(_0x29e8f1^_0x5d941a^_0x19f130)-0x359d3e2a,_0xe15999=_0x19f130,_0x19f130=_0x5d941a,_0x5d941a=_0x29e8f1<<0x1e|_0x29e8f1>>>0x2,_0x29e8f1=_0x370df3,_0x370df3=_0x571cbe;}_0x5e0420[0x0]=_0x5e0420[0x0]+_0x370df3|0x0,_0x5e0420[0x1]=_0x5e0420[0x1]+_0x29e8f1|0x0,_0x5e0420[0x2]=_0x5e0420[0x2]+_0x5d941a|0x0,_0x5e0420[0x3]=_0x5e0420[0x3]+_0x19f130|0x0,_0x5e0420[0x4]=_0x5e0420[0x4]+_0xe15999|0x0;},'_doFinalize':function(){var _0x265d3f=_0xa8d5dd,_0x191154=this[_0x265d3f(0x2e3)],_0x1ba409=_0x191154[_0x265d3f(0x37d)],_0x312187=this['_nDataBytes']*0x8,_0x5f3238=_0x191154['sigBytes']*0x8;return _0x1ba409[_0x5f3238>>>0x5]|=0x80<<0x18-_0x5f3238%0x20,_0x1ba409[(_0x5f3238+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x312187/0x100000000),_0x1ba409[(_0x5f3238+0x40>>>0x9<<0x4)+0xf]=_0x312187,_0x191154[_0x265d3f(0x435)]=_0x1ba409[_0x265d3f(0x44f)]*0x4,this[_0x265d3f(0x1fd)](),this[_0x265d3f(0x1d4)];},'clone':function(){var _0xa7bd06=_0xa8d5dd,_0x293157=_0x45e3b6['clone'][_0xa7bd06(0x2ad)](this);return _0x293157[_0xa7bd06(0x1d4)]=this[_0xa7bd06(0x1d4)][_0xa7bd06(0x284)](),_0x293157;}});_0x2f6241[_0xa8d5dd(0x407)]=_0x45e3b6[_0xa8d5dd(0x296)](_0x864acd),_0x2f6241['HmacSHA1']=_0x45e3b6[_0xa8d5dd(0x12a)](_0x864acd);}()),_0x3abc35[_0x2df431(0x407)];}));}(ge)),ge[_0x25716a(0x273)];}var Te={'exports':{}},Di=Te[_0x859cf8(0x273)],Ze;function yi(){var _0x58ec51=_0x859cf8;return Ze||(Ze=0x1,function(_0x34c8d7,_0x3cfda3){(function(_0x1ee332,_0x4a34a9){var _0x5711c4=_0x532c;_0x34c8d7[_0x5711c4(0x273)]=_0x4a34a9(Z());}(Di,function(_0x1bd3a1){(function(){var _0x4c8394=_0x532c,_0x3ae569=_0x1bd3a1,_0x39842c=_0x3ae569['lib'],_0x49fcc2=_0x39842c[_0x4c8394(0x1f7)],_0x48b830=_0x3ae569[_0x4c8394(0x178)],_0x7f89c8=_0x48b830['Utf8'],_0x1e0e3c=_0x3ae569[_0x4c8394(0x198)];_0x1e0e3c[_0x4c8394(0x18a)]=_0x49fcc2[_0x4c8394(0x2b5)]({'init':function(_0x5d11ae,_0x591a64){var _0x3117d4=_0x4c8394;_0x5d11ae=this[_0x3117d4(0x1a2)]=new _0x5d11ae[(_0x3117d4(0x402))](),typeof _0x591a64==_0x3117d4(0x29f)&&(_0x591a64=_0x7f89c8[_0x3117d4(0x2a9)](_0x591a64));var _0x122450=_0x5d11ae[_0x3117d4(0x134)],_0x3183bf=_0x122450*0x4;_0x591a64[_0x3117d4(0x435)]>_0x3183bf&&(_0x591a64=_0x5d11ae[_0x3117d4(0x13e)](_0x591a64)),_0x591a64['clamp']();for(var _0x4c67bf=this[_0x3117d4(0x10b)]=_0x591a64[_0x3117d4(0x284)](),_0x3a31be=this[_0x3117d4(0x1d2)]=_0x591a64['clone'](),_0xf38e89=_0x4c67bf[_0x3117d4(0x37d)],_0x295928=_0x3a31be[_0x3117d4(0x37d)],_0x28ac34=0x0;_0x28ac34<_0x122450;_0x28ac34++)_0xf38e89[_0x28ac34]^=0x5c5c5c5c,_0x295928[_0x28ac34]^=0x36363636;_0x4c67bf[_0x3117d4(0x435)]=_0x3a31be[_0x3117d4(0x435)]=_0x3183bf,this[_0x3117d4(0x2d4)]();},'reset':function(){var _0x26ac7e=_0x4c8394,_0x29819c=this[_0x26ac7e(0x1a2)];_0x29819c['reset'](),_0x29819c['update'](this['_iKey']);},'update':function(_0x16a49a){var _0x42fde4=_0x4c8394;return this[_0x42fde4(0x1a2)]['update'](_0x16a49a),this;},'finalize':function(_0x408b8d){var _0x2c6b23=_0x4c8394,_0x439278=this['_hasher'],_0x2fd572=_0x439278[_0x2c6b23(0x13e)](_0x408b8d);_0x439278[_0x2c6b23(0x2d4)]();var _0x46895f=_0x439278[_0x2c6b23(0x13e)](this[_0x2c6b23(0x10b)][_0x2c6b23(0x284)]()[_0x2c6b23(0x423)](_0x2fd572));return _0x46895f;}});}());}));}(Te)),Te[_0x58ec51(0x273)];}var Ui=me[_0x859cf8(0x273)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x9d1ab1,_0x33bfed){(function(_0x3d2bf7,_0x4a6a8a,_0x54ef8b){_0x9d1ab1['exports']=_0x4a6a8a(Z(),Ni(),yi());}(Ui,function(_0x12d15b){var _0xc1fe67=_0x532c;return(function(){var _0x31fa0f=_0x532c,_0x5bc9cd=_0x12d15b,_0x45ed4b=_0x5bc9cd[_0x31fa0f(0x2f1)],_0x3abd48=_0x45ed4b[_0x31fa0f(0x1f7)],_0x55ff60=_0x45ed4b['WordArray'],_0x32f54c=_0x5bc9cd['algo'],_0x595096=_0x32f54c[_0x31fa0f(0x1e7)],_0xdad900=_0x32f54c[_0x31fa0f(0xeb)]=_0x3abd48[_0x31fa0f(0x2b5)]({'cfg':_0x3abd48['extend']({'keySize':0x80/0x20,'hasher':_0x595096,'iterations':0x1}),'init':function(_0x1bc153){var _0x4d905b=_0x31fa0f;this[_0x4d905b(0x2e1)]=this[_0x4d905b(0x2e1)][_0x4d905b(0x2b5)](_0x1bc153);},'compute':function(_0x176cd5,_0x240790){var _0x1f8612=_0x31fa0f;for(var _0x63d2bd,_0x1e8ff1=this[_0x1f8612(0x2e1)],_0x474d46=_0x1e8ff1['hasher'][_0x1f8612(0x1f4)](),_0x59e3fb=_0x55ff60[_0x1f8612(0x1f4)](),_0x4b58b2=_0x59e3fb[_0x1f8612(0x37d)],_0x4b5bb9=_0x1e8ff1[_0x1f8612(0x2fd)],_0x3a227e=_0x1e8ff1[_0x1f8612(0x29a)];_0x4b58b2[_0x1f8612(0x44f)]<_0x4b5bb9;){_0x63d2bd&&_0x474d46[_0x1f8612(0x30d)](_0x63d2bd),_0x63d2bd=_0x474d46['update'](_0x176cd5)[_0x1f8612(0x13e)](_0x240790),_0x474d46[_0x1f8612(0x2d4)]();for(var _0x358769=0x1;_0x358769<_0x3a227e;_0x358769++)_0x63d2bd=_0x474d46[_0x1f8612(0x13e)](_0x63d2bd),_0x474d46['reset']();_0x59e3fb['concat'](_0x63d2bd);}return _0x59e3fb[_0x1f8612(0x435)]=_0x4b5bb9*0x4,_0x59e3fb;}});_0x5bc9cd['EvpKDF']=function(_0x4cc8b6,_0x29c5ee,_0x353b2e){var _0xc1dae7=_0x31fa0f;return _0xdad900[_0xc1dae7(0x1f4)](_0x353b2e)['compute'](_0x4cc8b6,_0x29c5ee);};}()),_0x12d15b[_0xc1fe67(0xeb)];}));}(me)),me['exports'];}var Ce={'exports':{}},Ai=Ce[_0x859cf8(0x273)],et;function Ot(){var _0xfbcdc4=_0x859cf8;return et||(et=0x1,function(_0x3ad272,_0x3d6efd){(function(_0x71fea8,_0x2b3f36,_0x3c4c50){var _0x415de0=_0x532c;_0x3ad272[_0x415de0(0x273)]=_0x2b3f36(Z(),Ct());}(Ai,function(_0x333396){var _0x29bdbe=_0x532c;_0x333396[_0x29bdbe(0x2f1)][_0x29bdbe(0x32f)]||function(_0x2f964d){var _0x15110d=_0x29bdbe,_0x840a64=_0x333396,_0x37a46a=_0x840a64['lib'],_0x210963=_0x37a46a[_0x15110d(0x1f7)],_0xd5847a=_0x37a46a[_0x15110d(0x317)],_0x5d6faa=_0x37a46a[_0x15110d(0x252)],_0x4dd26e=_0x840a64[_0x15110d(0x178)];_0x4dd26e['Utf8'];var _0x159a0a=_0x4dd26e[_0x15110d(0x426)],_0x4d8dc8=_0x840a64[_0x15110d(0x198)],_0x4745eb=_0x4d8dc8[_0x15110d(0xeb)],_0x2d28fe=_0x37a46a[_0x15110d(0x32f)]=_0x5d6faa[_0x15110d(0x2b5)]({'cfg':_0x210963[_0x15110d(0x2b5)](),'createEncryptor':function(_0x2276ad,_0x4abd19){var _0x45c02f=_0x15110d;return this['create'](this[_0x45c02f(0x199)],_0x2276ad,_0x4abd19);},'createDecryptor':function(_0xf10bfb,_0x3d28c7){var _0x40d4b0=_0x15110d;return this['create'](this[_0x40d4b0(0x377)],_0xf10bfb,_0x3d28c7);},'init':function(_0x4f36d4,_0x3216b8,_0x30d5d8){var _0x4194ce=_0x15110d;this[_0x4194ce(0x2e1)]=this['cfg'][_0x4194ce(0x2b5)](_0x30d5d8),this['_xformMode']=_0x4f36d4,this[_0x4194ce(0x420)]=_0x3216b8,this[_0x4194ce(0x2d4)]();},'reset':function(){var _0x368794=_0x15110d;_0x5d6faa[_0x368794(0x2d4)][_0x368794(0x2ad)](this),this[_0x368794(0x115)]();},'process':function(_0x9350a2){var _0x58ff90=_0x15110d;return this[_0x58ff90(0x260)](_0x9350a2),this['_process']();},'finalize':function(_0x34da37){var _0x53ad16=_0x15110d;_0x34da37&&this[_0x53ad16(0x260)](_0x34da37);var _0x32f454=this[_0x53ad16(0x173)]();return _0x32f454;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5e5572(_0x40353e){return typeof _0x40353e=='string'?_0x4c1913:_0x3f9661;}return function(_0x25ead6){return{'encrypt':function(_0x2dd670,_0x3ea763,_0x187930){var _0x4f192d=_0x532c;return _0x5e5572(_0x3ea763)[_0x4f192d(0x432)](_0x25ead6,_0x2dd670,_0x3ea763,_0x187930);},'decrypt':function(_0x55398f,_0x5c3165,_0x395b8a){var _0x54cabe=_0x532c;return _0x5e5572(_0x5c3165)[_0x54cabe(0x39d)](_0x25ead6,_0x55398f,_0x5c3165,_0x395b8a);}};};}())});_0x37a46a[_0x15110d(0x3e7)]=_0x2d28fe[_0x15110d(0x2b5)]({'_doFinalize':function(){var _0x254cd6=_0x15110d,_0xf8e407=this[_0x254cd6(0x1fd)](!0x0);return _0xf8e407;},'blockSize':0x1});var _0x4a8e7f=_0x840a64[_0x15110d(0x2e7)]={},_0x3cbe36=_0x37a46a[_0x15110d(0x32d)]=_0x210963[_0x15110d(0x2b5)]({'createEncryptor':function(_0x1db482,_0x5f4b9f){var _0x3b2b22=_0x15110d;return this[_0x3b2b22(0x1a0)][_0x3b2b22(0x1f4)](_0x1db482,_0x5f4b9f);},'createDecryptor':function(_0x232f34,_0x238aa7){var _0x521910=_0x15110d;return this[_0x521910(0x330)][_0x521910(0x1f4)](_0x232f34,_0x238aa7);},'init':function(_0x2a22e1,_0x2ab7e3){var _0x581566=_0x15110d;this[_0x581566(0x184)]=_0x2a22e1,this[_0x581566(0x3ba)]=_0x2ab7e3;}}),_0x396e78=_0x4a8e7f[_0x15110d(0xef)]=(function(){var _0x500ecd=_0x15110d,_0xaa6083=_0x3cbe36[_0x500ecd(0x2b5)]();_0xaa6083[_0x500ecd(0x1a0)]=_0xaa6083[_0x500ecd(0x2b5)]({'processBlock':function(_0x1c38a7,_0x2b66d8){var _0x3eccfc=_0x500ecd,_0xaab5ce=this[_0x3eccfc(0x184)],_0x307d20=_0xaab5ce['blockSize'];_0xe3a0db[_0x3eccfc(0x2ad)](this,_0x1c38a7,_0x2b66d8,_0x307d20),_0xaab5ce[_0x3eccfc(0x3e9)](_0x1c38a7,_0x2b66d8),this[_0x3eccfc(0x23a)]=_0x1c38a7[_0x3eccfc(0x2ba)](_0x2b66d8,_0x2b66d8+_0x307d20);}}),_0xaa6083[_0x500ecd(0x330)]=_0xaa6083[_0x500ecd(0x2b5)]({'processBlock':function(_0x69ac33,_0x262112){var _0x314219=_0x500ecd,_0x2537af=this['_cipher'],_0x238f9e=_0x2537af['blockSize'],_0x161c61=_0x69ac33[_0x314219(0x2ba)](_0x262112,_0x262112+_0x238f9e);_0x2537af[_0x314219(0x123)](_0x69ac33,_0x262112),_0xe3a0db[_0x314219(0x2ad)](this,_0x69ac33,_0x262112,_0x238f9e),this[_0x314219(0x23a)]=_0x161c61;}});function _0xe3a0db(_0x4054b4,_0x3ec3f5,_0x36e148){var _0x44db41=_0x500ecd,_0x178b37,_0x24c099=this['_iv'];_0x24c099?(_0x178b37=_0x24c099,this['_iv']=_0x2f964d):_0x178b37=this[_0x44db41(0x23a)];for(var _0x22fae2=0x0;_0x22fae2<_0x36e148;_0x22fae2++)_0x4054b4[_0x3ec3f5+_0x22fae2]^=_0x178b37[_0x22fae2];}return _0xaa6083;}()),_0x2d337b=_0x840a64['pad']={},_0x3acdf2=_0x2d337b[_0x15110d(0x1d3)]={'pad':function(_0x5dce97,_0x1326bf){var _0xd4089=_0x15110d;for(var _0x4a3ea6=_0x1326bf*0x4,_0x397aa5=_0x4a3ea6-_0x5dce97[_0xd4089(0x435)]%_0x4a3ea6,_0x4d5602=_0x397aa5<<0x18|_0x397aa5<<0x10|_0x397aa5<<0x8|_0x397aa5,_0x581943=[],_0x2429eb=0x0;_0x2429eb<_0x397aa5;_0x2429eb+=0x4)_0x581943[_0xd4089(0x3f4)](_0x4d5602);var _0xf1a0ab=_0xd5847a[_0xd4089(0x1f4)](_0x581943,_0x397aa5);_0x5dce97['concat'](_0xf1a0ab);},'unpad':function(_0x5cbbba){var _0x45bf5a=_0x15110d,_0x31393e=_0x5cbbba[_0x45bf5a(0x37d)][_0x5cbbba['sigBytes']-0x1>>>0x2]&0xff;_0x5cbbba['sigBytes']-=_0x31393e;}};_0x37a46a[_0x15110d(0x1d8)]=_0x2d28fe[_0x15110d(0x2b5)]({'cfg':_0x2d28fe[_0x15110d(0x2e1)][_0x15110d(0x2b5)]({'mode':_0x396e78,'padding':_0x3acdf2}),'reset':function(){var _0x54c3e5=_0x15110d,_0x3129a9;_0x2d28fe[_0x54c3e5(0x2d4)][_0x54c3e5(0x2ad)](this);var _0x335d21=this[_0x54c3e5(0x2e1)],_0x3ca374=_0x335d21['iv'],_0xa422a8=_0x335d21[_0x54c3e5(0x2e7)];this['_xformMode']==this[_0x54c3e5(0x199)]?_0x3129a9=_0xa422a8['createEncryptor']:(_0x3129a9=_0xa422a8[_0x54c3e5(0x3a4)],this[_0x54c3e5(0x24b)]=0x1),this[_0x54c3e5(0x18f)]&&this[_0x54c3e5(0x18f)][_0x54c3e5(0x3b7)]==_0x3129a9?this[_0x54c3e5(0x18f)][_0x54c3e5(0x402)](this,_0x3ca374&&_0x3ca374[_0x54c3e5(0x37d)]):(this['_mode']=_0x3129a9[_0x54c3e5(0x2ad)](_0xa422a8,this,_0x3ca374&&_0x3ca374[_0x54c3e5(0x37d)]),this[_0x54c3e5(0x18f)][_0x54c3e5(0x3b7)]=_0x3129a9);},'_doProcessBlock':function(_0x4f1ca2,_0x5c2f76){var _0x5e48d0=_0x15110d;this[_0x5e48d0(0x18f)][_0x5e48d0(0x40c)](_0x4f1ca2,_0x5c2f76);},'_doFinalize':function(){var _0x57ff81=_0x15110d,_0x3571c2,_0x5a3cc8=this[_0x57ff81(0x2e1)][_0x57ff81(0x429)];return this[_0x57ff81(0x3ac)]==this['_ENC_XFORM_MODE']?(_0x5a3cc8[_0x57ff81(0xee)](this['_data'],this[_0x57ff81(0x134)]),_0x3571c2=this[_0x57ff81(0x1fd)](!0x0)):(_0x3571c2=this[_0x57ff81(0x1fd)](!0x0),_0x5a3cc8['unpad'](_0x3571c2)),_0x3571c2;},'blockSize':0x80/0x20});var _0x5d1453=_0x37a46a['CipherParams']=_0x210963[_0x15110d(0x2b5)]({'init':function(_0x2817a4){var _0x54929f=_0x15110d;this[_0x54929f(0x117)](_0x2817a4);},'toString':function(_0x12bdc5){return(_0x12bdc5||this['formatter'])['stringify'](this);}}),_0x3c1cf2=_0x840a64[_0x15110d(0x3fe)]={},_0x1970c2=_0x3c1cf2['OpenSSL']={'stringify':function(_0xb60234){var _0x52ce52=_0x15110d,_0x5d3287,_0x14d59b=_0xb60234[_0x52ce52(0x1bf)],_0x311029=_0xb60234[_0x52ce52(0x41f)];return _0x311029?_0x5d3287=_0xd5847a[_0x52ce52(0x1f4)]([0x53616c74,0x65645f5f])[_0x52ce52(0x423)](_0x311029)[_0x52ce52(0x423)](_0x14d59b):_0x5d3287=_0x14d59b,_0x5d3287[_0x52ce52(0x266)](_0x159a0a);},'parse':function(_0x4a278a){var _0x52ec55=_0x15110d,_0x17d483,_0x2a0b4f=_0x159a0a['parse'](_0x4a278a),_0xcccd61=_0x2a0b4f[_0x52ec55(0x37d)];return _0xcccd61[0x0]==0x53616c74&&_0xcccd61[0x1]==0x65645f5f&&(_0x17d483=_0xd5847a[_0x52ec55(0x1f4)](_0xcccd61[_0x52ec55(0x2ba)](0x2,0x4)),_0xcccd61['splice'](0x0,0x4),_0x2a0b4f[_0x52ec55(0x435)]-=0x10),_0x5d1453['create']({'ciphertext':_0x2a0b4f,'salt':_0x17d483});}},_0x3f9661=_0x37a46a['SerializableCipher']=_0x210963[_0x15110d(0x2b5)]({'cfg':_0x210963[_0x15110d(0x2b5)]({'format':_0x1970c2}),'encrypt':function(_0x392906,_0x37f05b,_0x363f2b,_0x596ae0){var _0x4bdd2c=_0x15110d;_0x596ae0=this['cfg']['extend'](_0x596ae0);var _0x37f574=_0x392906['createEncryptor'](_0x363f2b,_0x596ae0),_0x1319bf=_0x37f574['finalize'](_0x37f05b),_0x584472=_0x37f574[_0x4bdd2c(0x2e1)];return _0x5d1453['create']({'ciphertext':_0x1319bf,'key':_0x363f2b,'iv':_0x584472['iv'],'algorithm':_0x392906,'mode':_0x584472[_0x4bdd2c(0x2e7)],'padding':_0x584472[_0x4bdd2c(0x429)],'blockSize':_0x392906[_0x4bdd2c(0x134)],'formatter':_0x596ae0[_0x4bdd2c(0x3fe)]});},'decrypt':function(_0x200d9f,_0x3b397a,_0x199725,_0x1055ce){var _0xffdd37=_0x15110d;_0x1055ce=this[_0xffdd37(0x2e1)][_0xffdd37(0x2b5)](_0x1055ce),_0x3b397a=this[_0xffdd37(0x2ed)](_0x3b397a,_0x1055ce[_0xffdd37(0x3fe)]);var _0x29a115=_0x200d9f[_0xffdd37(0x3a4)](_0x199725,_0x1055ce)[_0xffdd37(0x13e)](_0x3b397a[_0xffdd37(0x1bf)]);return _0x29a115;},'_parse':function(_0x58efe8,_0x5e064f){var _0x332e24=_0x15110d;return typeof _0x58efe8=='string'?_0x5e064f[_0x332e24(0x2a9)](_0x58efe8,this):_0x58efe8;}}),_0x2f26a6=_0x840a64['kdf']={},_0x5a270b=_0x2f26a6[_0x15110d(0x3ab)]={'execute':function(_0x321b69,_0x5a065e,_0x5603da,_0x1c5aab,_0x145650){var _0x56a77e=_0x15110d;if(_0x1c5aab||(_0x1c5aab=_0xd5847a['random'](0x40/0x8)),_0x145650)var _0x1a5e7f=_0x4745eb[_0x56a77e(0x1f4)]({'keySize':_0x5a065e+_0x5603da,'hasher':_0x145650})[_0x56a77e(0x10c)](_0x321b69,_0x1c5aab);else var _0x1a5e7f=_0x4745eb[_0x56a77e(0x1f4)]({'keySize':_0x5a065e+_0x5603da})['compute'](_0x321b69,_0x1c5aab);var _0xc20cf9=_0xd5847a['create'](_0x1a5e7f[_0x56a77e(0x37d)][_0x56a77e(0x2ba)](_0x5a065e),_0x5603da*0x4);return _0x1a5e7f['sigBytes']=_0x5a065e*0x4,_0x5d1453[_0x56a77e(0x1f4)]({'key':_0x1a5e7f,'iv':_0xc20cf9,'salt':_0x1c5aab});}},_0x4c1913=_0x37a46a[_0x15110d(0x226)]=_0x3f9661[_0x15110d(0x2b5)]({'cfg':_0x3f9661['cfg']['extend']({'kdf':_0x5a270b}),'encrypt':function(_0x529e43,_0x2363a7,_0x44ce5f,_0x400dc3){var _0x11ddba=_0x15110d;_0x400dc3=this[_0x11ddba(0x2e1)][_0x11ddba(0x2b5)](_0x400dc3);var _0x2c8b86=_0x400dc3[_0x11ddba(0xf4)]['execute'](_0x44ce5f,_0x529e43['keySize'],_0x529e43[_0x11ddba(0x31e)],_0x400dc3[_0x11ddba(0x41f)],_0x400dc3['hasher']);_0x400dc3['iv']=_0x2c8b86['iv'];var _0x580382=_0x3f9661[_0x11ddba(0x432)][_0x11ddba(0x2ad)](this,_0x529e43,_0x2363a7,_0x2c8b86[_0x11ddba(0x2f9)],_0x400dc3);return _0x580382['mixIn'](_0x2c8b86),_0x580382;},'decrypt':function(_0x4669b0,_0x194478,_0x6f7dd1,_0x499d4d){var _0x3a9ad1=_0x15110d;_0x499d4d=this['cfg'][_0x3a9ad1(0x2b5)](_0x499d4d),_0x194478=this[_0x3a9ad1(0x2ed)](_0x194478,_0x499d4d[_0x3a9ad1(0x3fe)]);var _0x59b3f0=_0x499d4d[_0x3a9ad1(0xf4)][_0x3a9ad1(0x25f)](_0x6f7dd1,_0x4669b0[_0x3a9ad1(0x2fd)],_0x4669b0[_0x3a9ad1(0x31e)],_0x194478[_0x3a9ad1(0x41f)],_0x499d4d[_0x3a9ad1(0x33b)]);_0x499d4d['iv']=_0x59b3f0['iv'];var _0x57f4b0=_0x3f9661[_0x3a9ad1(0x39d)][_0x3a9ad1(0x2ad)](this,_0x4669b0,_0x194478,_0x59b3f0[_0x3a9ad1(0x2f9)],_0x499d4d);return _0x57f4b0;}});}();}));}(Ce)),Ce[_0xfbcdc4(0x273)];}var Pi=Ie['exports'],tt;function Li(){var _0x136120=_0x859cf8;return tt||(tt=0x1,function(_0x58c465,_0x4626eb){(function(_0x59f8e6,_0x85f563,_0x215062){var _0x483742=_0x532c;_0x58c465[_0x483742(0x273)]=_0x85f563(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x4849d2){return(function(){var _0x58962a=_0x532c,_0x5a4425=_0x4849d2,_0x4a8264=_0x5a4425[_0x58962a(0x2f1)],_0x12219d=_0x4a8264[_0x58962a(0x1d8)],_0x579c67=_0x5a4425[_0x58962a(0x198)],_0x530893=[],_0x51ecd3=[],_0xba4112=[],_0x30d100=[],_0x25c5d6=[],_0x156d49=[],_0x457ec0=[],_0x4b9753=[],_0x1b4384=[],_0x4c9fd9=[];(function(){for(var _0x2b0fab=[],_0x1fc245=0x0;_0x1fc245<0x100;_0x1fc245++)_0x1fc245<0x80?_0x2b0fab[_0x1fc245]=_0x1fc245<<0x1:_0x2b0fab[_0x1fc245]=_0x1fc245<<0x1^0x11b;for(var _0xd96305=0x0,_0x27f963=0x0,_0x1fc245=0x0;_0x1fc245<0x100;_0x1fc245++){var _0x435bed=_0x27f963^_0x27f963<<0x1^_0x27f963<<0x2^_0x27f963<<0x3^_0x27f963<<0x4;_0x435bed=_0x435bed>>>0x8^_0x435bed&0xff^0x63,_0x530893[_0xd96305]=_0x435bed,_0x51ecd3[_0x435bed]=_0xd96305;var _0x506708=_0x2b0fab[_0xd96305],_0x2bd636=_0x2b0fab[_0x506708],_0x186474=_0x2b0fab[_0x2bd636],_0x3b316b=_0x2b0fab[_0x435bed]*0x101^_0x435bed*0x1010100;_0xba4112[_0xd96305]=_0x3b316b<<0x18|_0x3b316b>>>0x8,_0x30d100[_0xd96305]=_0x3b316b<<0x10|_0x3b316b>>>0x10,_0x25c5d6[_0xd96305]=_0x3b316b<<0x8|_0x3b316b>>>0x18,_0x156d49[_0xd96305]=_0x3b316b;var _0x3b316b=_0x186474*0x1010101^_0x2bd636*0x10001^_0x506708*0x101^_0xd96305*0x1010100;_0x457ec0[_0x435bed]=_0x3b316b<<0x18|_0x3b316b>>>0x8,_0x4b9753[_0x435bed]=_0x3b316b<<0x10|_0x3b316b>>>0x10,_0x1b4384[_0x435bed]=_0x3b316b<<0x8|_0x3b316b>>>0x18,_0x4c9fd9[_0x435bed]=_0x3b316b,_0xd96305?(_0xd96305=_0x506708^_0x2b0fab[_0x2b0fab[_0x2b0fab[_0x186474^_0x506708]]],_0x27f963^=_0x2b0fab[_0x2b0fab[_0x27f963]]):_0xd96305=_0x27f963=0x1;}}());var _0x3bd4de=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x34905a=_0x579c67['AES']=_0x12219d[_0x58962a(0x2b5)]({'_doReset':function(){var _0x4fc3ee=_0x58962a,_0x521f5a;if(!(this[_0x4fc3ee(0x2ee)]&&this['_keyPriorReset']===this[_0x4fc3ee(0x420)])){for(var _0x207df1=this[_0x4fc3ee(0x194)]=this[_0x4fc3ee(0x420)],_0x5bd90d=_0x207df1[_0x4fc3ee(0x37d)],_0x345c10=_0x207df1[_0x4fc3ee(0x435)]/0x4,_0x5ed5e9=this[_0x4fc3ee(0x2ee)]=_0x345c10+0x6,_0x27e89a=(_0x5ed5e9+0x1)*0x4,_0x29db41=this[_0x4fc3ee(0x1c1)]=[],_0x3acc83=0x0;_0x3acc83<_0x27e89a;_0x3acc83++)_0x3acc83<_0x345c10?_0x29db41[_0x3acc83]=_0x5bd90d[_0x3acc83]:(_0x521f5a=_0x29db41[_0x3acc83-0x1],_0x3acc83%_0x345c10?_0x345c10>0x6&&_0x3acc83%_0x345c10==0x4&&(_0x521f5a=_0x530893[_0x521f5a>>>0x18]<<0x18|_0x530893[_0x521f5a>>>0x10&0xff]<<0x10|_0x530893[_0x521f5a>>>0x8&0xff]<<0x8|_0x530893[_0x521f5a&0xff]):(_0x521f5a=_0x521f5a<<0x8|_0x521f5a>>>0x18,_0x521f5a=_0x530893[_0x521f5a>>>0x18]<<0x18|_0x530893[_0x521f5a>>>0x10&0xff]<<0x10|_0x530893[_0x521f5a>>>0x8&0xff]<<0x8|_0x530893[_0x521f5a&0xff],_0x521f5a^=_0x3bd4de[_0x3acc83/_0x345c10|0x0]<<0x18),_0x29db41[_0x3acc83]=_0x29db41[_0x3acc83-_0x345c10]^_0x521f5a);for(var _0x57655c=this['_invKeySchedule']=[],_0x27b0c5=0x0;_0x27b0c5<_0x27e89a;_0x27b0c5++){var _0x3acc83=_0x27e89a-_0x27b0c5;if(_0x27b0c5%0x4)var _0x521f5a=_0x29db41[_0x3acc83];else var _0x521f5a=_0x29db41[_0x3acc83-0x4];_0x27b0c5<0x4||_0x3acc83<=0x4?_0x57655c[_0x27b0c5]=_0x521f5a:_0x57655c[_0x27b0c5]=_0x457ec0[_0x530893[_0x521f5a>>>0x18]]^_0x4b9753[_0x530893[_0x521f5a>>>0x10&0xff]]^_0x1b4384[_0x530893[_0x521f5a>>>0x8&0xff]]^_0x4c9fd9[_0x530893[_0x521f5a&0xff]];}}},'encryptBlock':function(_0x4a28c3,_0x3dad9f){var _0x45f15e=_0x58962a;this[_0x45f15e(0x107)](_0x4a28c3,_0x3dad9f,this[_0x45f15e(0x1c1)],_0xba4112,_0x30d100,_0x25c5d6,_0x156d49,_0x530893);},'decryptBlock':function(_0x65f26c,_0x471f76){var _0x28ed27=_0x58962a,_0x25cebf=_0x65f26c[_0x471f76+0x1];_0x65f26c[_0x471f76+0x1]=_0x65f26c[_0x471f76+0x3],_0x65f26c[_0x471f76+0x3]=_0x25cebf,this[_0x28ed27(0x107)](_0x65f26c,_0x471f76,this[_0x28ed27(0x3ec)],_0x457ec0,_0x4b9753,_0x1b4384,_0x4c9fd9,_0x51ecd3);var _0x25cebf=_0x65f26c[_0x471f76+0x1];_0x65f26c[_0x471f76+0x1]=_0x65f26c[_0x471f76+0x3],_0x65f26c[_0x471f76+0x3]=_0x25cebf;},'_doCryptBlock':function(_0x1b88cc,_0x49ce6b,_0xde757f,_0x34510d,_0x205a08,_0x55ec14,_0x3095b0,_0x56c5ec){var _0x26ed07=_0x58962a;for(var _0xd22938=this[_0x26ed07(0x2ee)],_0x3eef81=_0x1b88cc[_0x49ce6b]^_0xde757f[0x0],_0x40370c=_0x1b88cc[_0x49ce6b+0x1]^_0xde757f[0x1],_0x56c83c=_0x1b88cc[_0x49ce6b+0x2]^_0xde757f[0x2],_0x4aff6f=_0x1b88cc[_0x49ce6b+0x3]^_0xde757f[0x3],_0x12ee53=0x4,_0x2e7aaf=0x1;_0x2e7aaf<_0xd22938;_0x2e7aaf++){var _0x32494f=_0x34510d[_0x3eef81>>>0x18]^_0x205a08[_0x40370c>>>0x10&0xff]^_0x55ec14[_0x56c83c>>>0x8&0xff]^_0x3095b0[_0x4aff6f&0xff]^_0xde757f[_0x12ee53++],_0x50edcd=_0x34510d[_0x40370c>>>0x18]^_0x205a08[_0x56c83c>>>0x10&0xff]^_0x55ec14[_0x4aff6f>>>0x8&0xff]^_0x3095b0[_0x3eef81&0xff]^_0xde757f[_0x12ee53++],_0x1d4ba8=_0x34510d[_0x56c83c>>>0x18]^_0x205a08[_0x4aff6f>>>0x10&0xff]^_0x55ec14[_0x3eef81>>>0x8&0xff]^_0x3095b0[_0x40370c&0xff]^_0xde757f[_0x12ee53++],_0x14e478=_0x34510d[_0x4aff6f>>>0x18]^_0x205a08[_0x3eef81>>>0x10&0xff]^_0x55ec14[_0x40370c>>>0x8&0xff]^_0x3095b0[_0x56c83c&0xff]^_0xde757f[_0x12ee53++];_0x3eef81=_0x32494f,_0x40370c=_0x50edcd,_0x56c83c=_0x1d4ba8,_0x4aff6f=_0x14e478;}var _0x32494f=(_0x56c5ec[_0x3eef81>>>0x18]<<0x18|_0x56c5ec[_0x40370c>>>0x10&0xff]<<0x10|_0x56c5ec[_0x56c83c>>>0x8&0xff]<<0x8|_0x56c5ec[_0x4aff6f&0xff])^_0xde757f[_0x12ee53++],_0x50edcd=(_0x56c5ec[_0x40370c>>>0x18]<<0x18|_0x56c5ec[_0x56c83c>>>0x10&0xff]<<0x10|_0x56c5ec[_0x4aff6f>>>0x8&0xff]<<0x8|_0x56c5ec[_0x3eef81&0xff])^_0xde757f[_0x12ee53++],_0x1d4ba8=(_0x56c5ec[_0x56c83c>>>0x18]<<0x18|_0x56c5ec[_0x4aff6f>>>0x10&0xff]<<0x10|_0x56c5ec[_0x3eef81>>>0x8&0xff]<<0x8|_0x56c5ec[_0x40370c&0xff])^_0xde757f[_0x12ee53++],_0x14e478=(_0x56c5ec[_0x4aff6f>>>0x18]<<0x18|_0x56c5ec[_0x3eef81>>>0x10&0xff]<<0x10|_0x56c5ec[_0x40370c>>>0x8&0xff]<<0x8|_0x56c5ec[_0x56c83c&0xff])^_0xde757f[_0x12ee53++];_0x1b88cc[_0x49ce6b]=_0x32494f,_0x1b88cc[_0x49ce6b+0x1]=_0x50edcd,_0x1b88cc[_0x49ce6b+0x2]=_0x1d4ba8,_0x1b88cc[_0x49ce6b+0x3]=_0x14e478;},'keySize':0x100/0x20});_0x5a4425['AES']=_0x12219d['_createHelper'](_0x34905a);}()),_0x4849d2['AES'];}));}(Ie)),Ie[_0x136120(0x273)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe['exports'],nt;function $i(){var _0x2d4e9f=_0x859cf8;return nt||(nt=0x1,function(_0x355296,_0x4e2ce1){(function(_0xad25a4,_0xe1cc79){var _0x58f629=_0x532c;_0x355296[_0x58f629(0x273)]=_0xe1cc79(Z());}(ki,function(_0x26eb24){var _0x5df3bd=_0x532c;return _0x26eb24[_0x5df3bd(0x178)]['Utf8'];}));}(Oe)),Oe[_0x2d4e9f(0x273)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x859cf8(0x273)],st;function Fi(){return st||(st=0x1,function(_0xb401b1,_0x5aefee){(function(_0x36376f,_0x256236){var _0x3f5707=_0x532c;_0xb401b1[_0x3f5707(0x273)]=_0x256236(Z());}(Bi,function(_0x15740e){var _0x8953ac=_0x532c;return(function(){var _0x1d30bd=_0x532c;if(typeof ArrayBuffer==_0x1d30bd(0x26a)){var _0x111a65=_0x15740e,_0x49cf59=_0x111a65['lib'],_0xda08c7=_0x49cf59[_0x1d30bd(0x317)],_0x4ec06d=_0xda08c7[_0x1d30bd(0x402)],_0x306ab1=_0xda08c7[_0x1d30bd(0x402)]=function(_0xdd30b){var _0xa38afc=_0x1d30bd;if(_0xdd30b instanceof ArrayBuffer&&(_0xdd30b=new Uint8Array(_0xdd30b)),(_0xdd30b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xdd30b instanceof Uint8ClampedArray||_0xdd30b instanceof Int16Array||_0xdd30b instanceof Uint16Array||_0xdd30b instanceof Int32Array||_0xdd30b instanceof Uint32Array||_0xdd30b instanceof Float32Array||_0xdd30b instanceof Float64Array)&&(_0xdd30b=new Uint8Array(_0xdd30b['buffer'],_0xdd30b[_0xa38afc(0x43a)],_0xdd30b[_0xa38afc(0x3d3)])),_0xdd30b instanceof Uint8Array){for(var _0x455bbc=_0xdd30b[_0xa38afc(0x3d3)],_0xb146f4=[],_0x2205ca=0x0;_0x2205ca<_0x455bbc;_0x2205ca++)_0xb146f4[_0x2205ca>>>0x2]|=_0xdd30b[_0x2205ca]<<0x18-_0x2205ca%0x4*0x8;_0x4ec06d[_0xa38afc(0x2ad)](this,_0xb146f4,_0x455bbc);}else _0x4ec06d[_0xa38afc(0xcd)](this,arguments);};_0x306ab1['prototype']=_0xda08c7;}}()),_0x15740e[_0x8953ac(0x2f1)][_0x8953ac(0x317)];}));}(be)),be['exports'];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x859cf8(0x273)],rt;function Yi(){var _0x1b4605=_0x859cf8;return rt||(rt=0x1,function(_0x65a54c,_0x4a878){(function(_0x32e86c,_0x3b9d56,_0x5ccad9){var _0x5675cf=_0x532c;_0x65a54c[_0x5675cf(0x273)]=_0x3b9d56(Z(),Ot());}(Gi,function(_0x243043){var _0xdf055=_0x532c;return _0x243043[_0xdf055(0xee)][_0xdf055(0xcb)]={'pad':function(){},'unpad':function(){}},_0x243043[_0xdf055(0xee)][_0xdf055(0xcb)];}));}(Re)),Re[_0x1b4605(0x273)];}var Ki=Yi();const qi=de(Ki);function zi(_0x4305a2,_0x4d03e8){var _0xa1fc48=_0x859cf8;const _0x28bf95=_0x4d03e8-_0x4305a2['length']%_0x4d03e8,_0x255fdd=String[_0xa1fc48(0xfc)](_0x28bf95)[_0xa1fc48(0x413)](_0x28bf95);return _0x4305a2+_0x255fdd;}function Xi(_0x41088a,_0x101792){var _0x5cf9b2=_0x859cf8;const _0x59a674=Wi['random'](0x10),_0x447589=zi(_0x41088a,0x10),_0x21f8b2=wi[_0x5cf9b2(0x432)](ji[_0x5cf9b2(0x2a9)](_0x447589),it[_0x5cf9b2(0x2a9)](_0x101792),{'iv':_0x59a674,'padding':qi});return _0x59a674[_0x5cf9b2(0x423)](_0x21f8b2[_0x5cf9b2(0x1bf)])['toString'](it);}function Ji(){var _0x219597=_0x859cf8;const _0x3c714d=Dt[_0x219597(0x441)]()[_0x219597(0x28f)];if(_0x3c714d){const _0x17367e={'time':Math[_0x219597(0x1b7)](Date[_0x219597(0x1ec)]()/0x3e8),'domain':location['hostname']};return Xi(JSON[_0x219597(0x37c)](_0x17367e),_0x3c714d);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x11c51a,_0x46ea67,_0x5ed4a6,_0x345b9c)=>{for(var _0x1c79e7=_0x345b9c>0x1?void 0x0:_0x345b9c?Zi(_0x46ea67,_0x5ed4a6):_0x46ea67,_0x1e3ddf=_0x11c51a['length']-0x1,_0x154339;_0x1e3ddf>=0x0;_0x1e3ddf--)(_0x154339=_0x11c51a[_0x1e3ddf])&&(_0x1c79e7=_0x154339(_0x1c79e7)||_0x1c79e7);return _0x1c79e7;},en=(_0x118430,_0xb757ab)=>(_0x474aac,_0xc87777)=>_0xb757ab(_0x474aac,_0xc87777,_0x118430);let De=class{constructor(_0x417cff){var _0x26fa5a=_0x859cf8;this[_0x26fa5a(0x25c)]=_0x417cff,this[_0x26fa5a(0x14c)]();}[_0x859cf8(0x14c)](){var _0xe37003=_0x859cf8;this[_0xe37003(0x25c)][_0xe37003(0xd8)]({'interceptor':(_0x5acc78,_0xe16677)=>{var _0x33bc2a=_0xe37003;const _0x90749f=_0x5acc78[_0x33bc2a(0x386)],_0x1c6ce6=Ji();return _0x1c6ce6&&_0x90749f['set'](_0x33bc2a(0x37b),_0x1c6ce6),_0xe16677(_0x5acc78);}});}};De=Qi([en(0x0,o[_0x859cf8(0x416)](K['HTTPService']))],De);var tn=Object[_0x859cf8(0x1e0)],nn=(_0x1afedd,_0x16c23d,_0x292993,_0x1ede3c)=>{var _0x2c1624=_0x859cf8;for(var _0x2319c9=_0x1ede3c>0x1?void 0x0:_0x1ede3c?tn(_0x16c23d,_0x292993):_0x16c23d,_0x353d88=_0x1afedd[_0x2c1624(0x44f)]-0x1,_0x505b56;_0x353d88>=0x0;_0x353d88--)(_0x505b56=_0x1afedd[_0x353d88])&&(_0x2319c9=_0x505b56(_0x2319c9)||_0x2319c9);return _0x2319c9;},Le=(_0x3e8fd2,_0x183796)=>(_0x298fc7,_0x576ac2)=>_0x183796(_0x298fc7,_0x576ac2,_0x3e8fd2);exports['DataLoaderService']=class extends o[_0x859cf8(0x26f)]{constructor(_0x761003,_0x464afb,_0x1a8dcc){var _0x2f7ebd=_0x859cf8;super(),A(this,_0x2f7ebd(0x211),new j[(_0x2f7ebd(0x161))](null)),A(this,_0x2f7ebd(0x339),this[_0x2f7ebd(0x211)][_0x2f7ebd(0x3cb)]()),(this[_0x2f7ebd(0x142)]=_0x761003,this[_0x2f7ebd(0x41b)]=_0x464afb,this[_0x2f7ebd(0x18b)]=_0x1a8dcc);}async[_0x859cf8(0x333)](_0xbe6fd0,_0x2f8611,_0x1cabf1){var _0x30652d=_0x859cf8;this[_0x30652d(0x211)][_0x30652d(0x143)]({'unitId':_0xbe6fd0,'type':_0x2f8611});let _0x1aa44e=null;switch(_0x2f8611){case X[_0x30652d(0x358)]:{_0x1aa44e=await this[_0x30652d(0x41b)]['loadSheet'](_0xbe6fd0,_0x1cabf1);break;}case X['UNIVER_DOC']:{_0x1aa44e=await this[_0x30652d(0x41b)][_0x30652d(0x31c)](_0xbe6fd0,_0x1cabf1);break;}default:{this[_0x30652d(0x142)]['error'](_0x30652d(0x3ef),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x1aa44e;}async[_0x859cf8(0x406)](_0x4ddba8,_0x512aaf,_0x4a9fed){var _0x11b3f8=_0x859cf8,_0xf462ac;this[_0x11b3f8(0x211)][_0x11b3f8(0x143)]({'unitId':_0x4ddba8,'type':_0x512aaf,'subUnitId':_0x4a9fed});let _0x6cb091=0x0;const _0x407a2e=await((_0xf462ac=this[_0x11b3f8(0x18b)])==null?void 0x0:_0xf462ac[_0x11b3f8(0x380)](_0x4ddba8));return _0x407a2e&&(_0x407a2e[_0x11b3f8(0x288)]||_0x407a2e[_0x11b3f8(0x170)][_0x11b3f8(0x44f)]!==0x0)&&(_0x6cb091=_0x407a2e['rev']),_0x6cb091===0x0&&this[_0x11b3f8(0x142)][_0x11b3f8(0x225)](_0x11b3f8(0x3ef),_0x11b3f8(0x2ff)),this[_0x11b3f8(0x333)](_0x4ddba8,_0x512aaf,_0x6cb091);}},exports[_0x859cf8(0x132)]=nn([Le(0x0,o[_0x859cf8(0x12c)]),Le(0x1,o[_0x859cf8(0x416)](E[_0x859cf8(0x2b1)])),Le(0x2,o['Optional'](q))],exports['DataLoaderService']);var sn=Object[_0x859cf8(0x1e0)],rn=(_0x40e7d4,_0x2ef80a,_0x14d582,_0x16a7a5)=>{var _0x44e425=_0x859cf8;for(var _0x15492d=_0x16a7a5>0x1?void 0x0:_0x16a7a5?sn(_0x2ef80a,_0x14d582):_0x2ef80a,_0x176d4f=_0x40e7d4[_0x44e425(0x44f)]-0x1,_0x2875c5;_0x176d4f>=0x0;_0x176d4f--)(_0x2875c5=_0x40e7d4[_0x176d4f])&&(_0x15492d=_0x2875c5(_0x15492d)||_0x15492d);return _0x15492d;},Me=(_0x5c2503,_0x18e283)=>(_0x2ad42b,_0x3145b2)=>_0x18e283(_0x2ad42b,_0x3145b2,_0x5c2503);const an=[_0x859cf8(0x234),_0x859cf8(0x2b9),_0x859cf8(0x448),_0x859cf8(0x201),_0x859cf8(0x301)],on=0x5*0x400*0x400,cn='/universer-api/stream/file/upload',_n=_0x859cf8(0x176);exports['CollaborationImageIoService']=class{constructor(_0x235f80,_0x256329,_0x3a1e0e){var _0x1d7afb=_0x859cf8;A(this,_0x1d7afb(0x421),0x0),A(this,_0x1d7afb(0x3b0),new j[(_0x1d7afb(0xdd))]()),A(this,'change$',this[_0x1d7afb(0x3b0)]),A(this,_0x1d7afb(0x187),new Map()),(this[_0x1d7afb(0x25c)]=_0x235f80,this[_0x1d7afb(0x156)]=_0x256329,this[_0x1d7afb(0xc9)]=_0x3a1e0e);}[_0x859cf8(0xf8)](_0x483da0){var _0x5bd262=_0x859cf8;this[_0x5bd262(0x421)]=_0x483da0,this['_change$'][_0x5bd262(0x143)](_0x483da0);}['getImageSourceCache'](_0x5752d4,_0x34b06a){var _0x2c67a2=_0x859cf8;if(_0x34b06a===z['ImageSourceType'][_0x2c67a2(0x320)]){const _0x38f20=new Image();return _0x38f20[_0x2c67a2(0x175)]=_0x5752d4,_0x38f20;}return this[_0x2c67a2(0x187)][_0x2c67a2(0x271)](_0x5752d4);}[_0x859cf8(0x3d2)](_0x5e7995,_0x584dde,_0x28c0b9){var _0x5a4bb1=_0x859cf8;_0x584dde===z['ImageSourceType'][_0x5a4bb1(0x320)]||_0x28c0b9==null||this[_0x5a4bb1(0x187)][_0x5a4bb1(0x14f)](_0x5e7995,_0x28c0b9);}async['getImage'](_0xe8a918){var _0x10f7ec=_0x859cf8;try{const _0x6ac36c=this[_0x10f7ec(0x2c0)](this[_0x10f7ec(0x268)](),''+_0xe8a918),_0xde6f52=(await this[_0x10f7ec(0x25c)][_0x10f7ec(0x271)](_0x6ac36c))[_0x10f7ec(0x3b4)];if(_0xde6f52[_0x10f7ec(0x119)]&&_0xde6f52[_0x10f7ec(0x119)]['code']===vt['OK']){const _0x3d88a5=new URL(_0xde6f52['url'],this[_0x10f7ec(0x129)]())[_0x10f7ec(0x266)]();return Promise[_0x10f7ec(0x1be)](_0x3d88a5);}return Promise[_0x10f7ec(0x318)](_0xde6f52['error']);}catch(_0xe1e10a){return Promise[_0x10f7ec(0x318)](_0xe1e10a);}}async[_0x859cf8(0xec)](_0x230ff0){var _0x23ed0f=_0x859cf8;let _0x22e65b='';if(!an[_0x23ed0f(0x39c)](_0x230ff0['type']))return this[_0x23ed0f(0x2d8)](),Promise[_0x23ed0f(0x318)](new Error(z[_0x23ed0f(0x2bd)]['ERROR_IMAGE_TYPE']));if(_0x230ff0['size']>on)return this['_decreaseWaiting'](),Promise[_0x23ed0f(0x318)](new Error(z[_0x23ed0f(0x2bd)]['ERROR_EXCEED_SIZE']));try{const _0x3e61e1=new FormData();_0x3e61e1[_0x23ed0f(0x3f3)]('file',_0x230ff0);const _0x452df0=this[_0x23ed0f(0xc9)][_0x23ed0f(0x29c)](),_0x563183=_0x452df0==null?void 0x0:_0x452df0['getUnitId']();if(!_0x563183)throw new Error(_0x23ed0f(0x2e6));const _0x5b90ac=this[_0x23ed0f(0x295)]()+_0x23ed0f(0x410)+_0x230ff0['size'][_0x23ed0f(0x266)]()+_0x23ed0f(0x243)+dt[_0x23ed0f(0x36e)]+_0x23ed0f(0x125)+encodeURIComponent(_0x563183),_0x324463={'body':_0x3e61e1},_0xd9debe=(await this[_0x23ed0f(0x25c)]['post'](_0x5b90ac,_0x324463))[_0x23ed0f(0x3b4)];if(typeof _0xd9debe[_0x23ed0f(0x428)]!=_0x23ed0f(0x29f))return this[_0x23ed0f(0x2d8)](),Promise[_0x23ed0f(0x318)](new Error(z[_0x23ed0f(0x2bd)]['ERROR_IMAGE']));_0x22e65b=_0xd9debe[_0x23ed0f(0x428)];}catch{return this[_0x23ed0f(0x2d8)](),Promise['reject'](new Error(z[_0x23ed0f(0x2bd)][_0x23ed0f(0x103)]));}return new Promise((_0x20596f,_0x537e8e)=>{var _0x3b67a8=_0x23ed0f;const _0x1f2906=new FileReader();_0x1f2906['readAsDataURL'](_0x230ff0),_0x1f2906[_0x3b67a8(0x164)]=_0x280882=>{var _0x52f882=_0x3b67a8,_0x2f7b85;const _0x29d21a=(_0x2f7b85=_0x280882[_0x52f882(0x31f)])==null?void 0x0:_0x2f7b85['result'];if(_0x29d21a==null){this['_decreaseWaiting'](),_0x537e8e(new Error(z[_0x52f882(0x2bd)][_0x52f882(0x103)]));return;}const _0x1dab99=o['generateRandomId'](0x6);_0x20596f({'imageId':_0x1dab99,'imageSourceType':z[_0x52f882(0x36b)]['UUID'],'source':_0x22e65b,'base64Cache':_0x29d21a,'status':z[_0x52f882(0x2bd)][_0x52f882(0x193)]}),this[_0x52f882(0x2d8)]();};});}['_getUploadFileURL'](){var _0x4d74a8=_0x859cf8,_0xb49725;const _0xa8a542=this[_0x4d74a8(0x156)][_0x4d74a8(0x40b)](Y);return(_0xb49725=_0xa8a542==null?void 0x0:_0xa8a542['uploadFileServerUrl'])!=null?_0xb49725:cn;}['_getSignURL'](){var _0x58b2bb=_0x859cf8,_0x28b109;const _0x303065=this['_configService'][_0x58b2bb(0x40b)](Y);return(_0x28b109=_0x303065==null?void 0x0:_0x303065[_0x58b2bb(0x254)])!=null?_0x28b109:_n;}[_0x859cf8(0x129)](){var _0x41a5be=_0x859cf8,_0x401697;const _0x2c33b3=this[_0x41a5be(0x156)][_0x41a5be(0x40b)](Y);return(_0x401697=_0x2c33b3==null?void 0x0:_0x2c33b3[_0x41a5be(0x146)])!=null?_0x401697:location[_0x41a5be(0x3e4)];}['_replaceFileID'](_0xd0c079,_0x4aed9b){var _0x51f9f5=_0x859cf8;return _0xd0c079[_0x51f9f5(0x3ee)](_0x51f9f5(0x35f),_0x4aed9b);}[_0x859cf8(0x2d8)](){var _0x9252f6=_0x859cf8;this[_0x9252f6(0x421)]-=0x1,this['_change$'][_0x9252f6(0x143)](this[_0x9252f6(0x421)]);}},exports[_0x859cf8(0x349)]=rn([Me(0x0,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)])),Me(0x1,o['IConfigService']),Me(0x2,o[_0x859cf8(0x416)](o['IUniverInstanceService']))],exports[_0x859cf8(0x349)]);var hn=Object[_0x859cf8(0x1e0)],ln=(_0x4a189a,_0xa61c6,_0x30267e,_0x8de9bb)=>{var _0x38b75d=_0x859cf8;for(var _0x1f76d0=_0x8de9bb>0x1?void 0x0:_0x8de9bb?hn(_0xa61c6,_0x30267e):_0xa61c6,_0x1c2a96=_0x4a189a[_0x38b75d(0x44f)]-0x1,_0xbb4b45;_0x1c2a96>=0x0;_0x1c2a96--)(_0xbb4b45=_0x4a189a[_0x1c2a96])&&(_0x1f76d0=_0xbb4b45(_0x1f76d0)||_0x1f76d0);return _0x1f76d0;},at=(_0x486d91,_0x53052f)=>(_0x410850,_0x4ca7ac)=>_0x53052f(_0x410850,_0x4ca7ac,_0x486d91);const un='/universer-api/authz';exports[_0x859cf8(0x20b)]=class{constructor(_0x2ff698,_0x3610d6){var _0x4b085e=_0x859cf8;this[_0x4b085e(0x156)]=_0x2ff698,this[_0x4b085e(0x290)]=_0x3610d6;}['_getAPIPrefixPath'](){var _0xd83a65=_0x859cf8,_0x468be7;const _0x3fb01a=this[_0xd83a65(0x156)][_0xd83a65(0x40b)](Y);return(_0x468be7=_0x3fb01a==null?void 0x0:_0x3fb01a[_0xd83a65(0x242)])!=null?_0x468be7:un;}async[_0x859cf8(0xde)](_0x1947fe){var _0x33fb4e=_0x859cf8;const _0xb886d1=this[_0x33fb4e(0xce)]()+_0x33fb4e(0x231);return{'list':[{'title':_0x33fb4e(0x3b8),'mentions':(await this['_HTTPService']['get'](_0xb886d1,{'params':{'objectID':_0x1947fe[_0x33fb4e(0x328)],'unitID':_0x1947fe[_0x33fb4e(0x328)]}}))[_0x33fb4e(0x3b4)][_0x33fb4e(0xf0)][_0x33fb4e(0x259)](_0x1fab10=>({'objectId':_0x1fab10['id'],'name':_0x1fab10['subject'][_0x33fb4e(0x2c1)],'metadata':{'icon':_0x1fab10['subject'][_0x33fb4e(0x2b3)]},'label':_0x1fab10[_0x33fb4e(0x3fc)][_0x33fb4e(0x2c1)],'objectType':o[_0x33fb4e(0x286)]['PERSON']})),'metadata':{},'type':o[_0x33fb4e(0x286)][_0x33fb4e(0x411)]}]};}},exports[_0x859cf8(0x20b)]=ln([at(0x0,o[_0x859cf8(0x416)](o[_0x859cf8(0x1bc)])),at(0x1,o['Inject'](K[_0x859cf8(0xed)]))],exports['MentionIoHttpService']);var vn=Object[_0x859cf8(0x1e0)],dn=(_0x4559e4,_0x2b2ac8,_0x4c05de,_0x382607)=>{var _0x2d7b84=_0x859cf8;for(var _0xc3db4c=_0x382607>0x1?void 0x0:_0x382607?vn(_0x2b2ac8,_0x4c05de):_0x2b2ac8,_0x35a673=_0x4559e4[_0x2d7b84(0x44f)]-0x1,_0x5468e5;_0x35a673>=0x0;_0x35a673--)(_0x5468e5=_0x4559e4[_0x35a673])&&(_0xc3db4c=_0x5468e5(_0xc3db4c)||_0xc3db4c);return _0xc3db4c;},le=(_0x3434b8,_0x51c756)=>(_0x174a22,_0x383350)=>_0x51c756(_0x174a22,_0x383350,_0x3434b8);let ye=class extends o[_0x859cf8(0x26f)]{constructor(_0x1a6b5b,_0x162413,_0x65bd58,_0x55596d,_0x3c9a2c){var _0x1001e3=_0x859cf8;super(),this['_injector']=_0x1a6b5b,this[_0x1001e3(0xc9)]=_0x162413,this[_0x1001e3(0x312)]=_0x65bd58,this['_collaborationSessionService']=_0x55596d,this['_collaborationUIEventService']=_0x3c9a2c,this['_initUnitPermissionChange'](),this[_0x1001e3(0x1b3)]();}['_initCloseConn'](){var _0x188033=_0x859cf8;const _0x226853=async _0x5e5e9e=>{var _0x2196f8=_0x532c;(await this[_0x2196f8(0x26d)][_0x2196f8(0x20a)](_0x5e5e9e))['event$'][_0x2196f8(0x1d5)](V[_0x2196f8(0x251)](_0x2b10ce=>_0x2b10ce[_0x2196f8(0x2fe)]===E[_0x2196f8(0x41d)][_0x2196f8(0x224)]),V[_0x2196f8(0x236)](this[_0x2196f8(0x283)]))[_0x2196f8(0x3c5)](_0xd8870a=>{var _0x1aea89=_0x2196f8;const _0x294820=_0xd8870a,{reason:_0x217560}=_0x294820[_0x1aea89(0x1cf)];this[_0x1aea89(0x27a)][_0x1aea89(0x361)]({'id':J[_0x1aea89(0x35c)],'data':_0x217560}),this[_0x1aea89(0x312)]['updatePermissionPoint'](new Q['WorkbookEditablePermission'](_0x5e5e9e)['id'],!0x1),this['_collaborationSessionService'][_0x1aea89(0x2f2)](_0x5e5e9e);});};j[_0x188033(0x21e)](this['_univerInstanceService']['getTypeOfUnitAdded$'](o[_0x188033(0x261)][_0x188033(0x358)]),this['_univerInstanceService'][_0x188033(0x3ca)](o[_0x188033(0x261)][_0x188033(0x44b)]))[_0x188033(0x1d5)](V[_0x188033(0x259)](_0x2c9de0=>_0x2c9de0[_0x188033(0x33a)]()),V[_0x188033(0x251)](_0x3a9b4f=>!o['isInternalEditorID'](_0x3a9b4f)),V[_0x188033(0x236)](this['dispose$']))[_0x188033(0x3c5)](_0x2ce4a5=>{_0x226853(_0x2ce4a5);});}[_0x859cf8(0x299)](){var _0x11fb38=_0x859cf8;const _0x444b74=async _0x348525=>{var _0x513a28=_0x532c;const _0x2b8f92=await this[_0x513a28(0x26d)][_0x513a28(0x20a)](_0x348525),_0x10b5d2=this['_injector'][_0x513a28(0x271)](Q[_0x513a28(0x21b)]);_0x2b8f92[_0x513a28(0x21d)]['pipe'](V[_0x513a28(0x251)](_0x153914=>_0x153914[_0x513a28(0x2fe)]===E[_0x513a28(0x41d)]['UPDATE_PERMISSION_OBJ']),V[_0x513a28(0x236)](this[_0x513a28(0x283)]))['subscribe'](_0x3c1ead=>{var _0x1ee347=_0x513a28;const _0xa4cebc=_0x3c1ead,{objectId:_0x1318b3}=_0xa4cebc[_0x1ee347(0x1cf)];_0x1318b3===_0x348525?_0x10b5d2[_0x1ee347(0x34a)](_0x348525):_0x10b5d2[_0x1ee347(0xfa)](_0x348525,_0x1318b3);});};j[_0x11fb38(0x21e)](this['_univerInstanceService'][_0x11fb38(0x3ca)](o['UniverInstanceType'][_0x11fb38(0x358)]))[_0x11fb38(0x1d5)](V[_0x11fb38(0x259)](_0x2a6399=>_0x2a6399[_0x11fb38(0x33a)]()),V[_0x11fb38(0x251)](_0x2a6ef7=>!o[_0x11fb38(0xca)](_0x2a6ef7)),V['takeUntil'](this[_0x11fb38(0x283)]))[_0x11fb38(0x3c5)](_0x28b141=>{_0x444b74(_0x28b141);});}};ye=dn([le(0x0,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),le(0x1,o[_0x859cf8(0x2ab)]),le(0x2,o[_0x859cf8(0x160)]),le(0x3,o[_0x859cf8(0x416)](exports[_0x859cf8(0x1b1)])),le(0x4,o[_0x859cf8(0x416)](ee))],ye);var Sn=Object[_0x859cf8(0x1e0)],In=(_0x42367a,_0x53ebfb,_0x2b3e60,_0x5906b7)=>{for(var _0xd1c516=_0x5906b7>0x1?void 0x0:_0x5906b7?Sn(_0x53ebfb,_0x2b3e60):_0x53ebfb,_0x2263b3=_0x42367a['length']-0x1,_0x565407;_0x2263b3>=0x0;_0x2263b3--)(_0x565407=_0x42367a[_0x2263b3])&&(_0xd1c516=_0x565407(_0xd1c516)||_0xd1c516);return _0xd1c516;},ot=(_0x2f1dfd,_0x2ff65a)=>(_0x409dfe,_0x3edbc1)=>_0x2ff65a(_0x409dfe,_0x3edbc1,_0x2f1dfd);exports[_0x859cf8(0x102)]=class{constructor(_0x35f928,_0x3a69d5){var _0x26be85=_0x859cf8;this[_0x26be85(0x156)]=_0x35f928,this['_httpService']=_0x3a69d5;}async[_0x859cf8(0x1c3)](_0x1d163c,_0x13b46e){var _0x13131f=_0x859cf8,_0x1263f4;const {unitID:_0x277ecd,type:_0x48f31f,revision:_0x3bcd0c=0x0}=_0x13b46e,_0x16aac4=this[_0x13131f(0xd2)]()+'/'+_0x48f31f+_0x13131f(0xd7)+_0x277ecd+_0x13131f(0x3c4)+_0x3bcd0c,_0x53abd1=(await this[_0x13131f(0x25c)]['get'](_0x16aac4))[_0x13131f(0x3b4)],_0x570a29=(_0x1263f4=_0x53abd1['snapshot'])==null?void 0x0:_0x1263f4[_0x13131f(0x3bc)];if(_0x570a29){const _0xe9843f=_0x570a29==null?void 0x0:_0x570a29[_0x13131f(0x25a)],_0x443982=E['textEncoder'][_0x13131f(0x1fb)](E['b64DecodeUnicode'](_0xe9843f));_0x570a29[_0x13131f(0x25a)]=_0x443982,Object[_0x13131f(0x362)](_0x570a29[_0x13131f(0x1c5)])[_0x13131f(0x16a)](([,_0x3f64c1])=>{var _0x48cc3b=_0x13131f;const _0x2d220c=_0x3f64c1[_0x48cc3b(0x25a)],_0x1004e7=E[_0x48cc3b(0x11c)][_0x48cc3b(0x1fb)](E[_0x48cc3b(0x321)](_0x2d220c));_0x3f64c1['originalMeta']=_0x1004e7;});}return _0x53abd1;}async[_0x859cf8(0x1f6)](_0x119d16,_0x5d629a){var _0x28e193=_0x859cf8;const {unitID:_0x4b3037,type:_0x31d80e,blockID:_0x34cdd8}=_0x5d629a,_0x3c43bc=this[_0x28e193(0x395)]()+'/'+_0x31d80e+'/unit/'+_0x4b3037+_0x28e193(0x17b)+_0x34cdd8;return(await this[_0x28e193(0x25c)]['get'](_0x3c43bc))[_0x28e193(0x3b4)];}async[_0x859cf8(0x43e)](_0x320cf6,_0x426732){var _0x3a220f=_0x859cf8;const {unitID:_0x29b763,type:_0x971b12,blockID:_0x3e6fc1}=_0x426732,_0x4a2362=this['_getAPIPrefix']()+_0x3a220f(0x17b)+_0x971b12+'/unit/'+_0x29b763+_0x3a220f(0x17b)+_0x3e6fc1;return(await this[_0x3a220f(0x25c)][_0x3a220f(0x271)](_0x4a2362))[_0x3a220f(0x3b4)];}async[_0x859cf8(0x2be)](_0x10a73d,_0x4eed1a){var _0x394120=_0x859cf8;const {unitID:_0xeeea8c,type:_0x301fa6,from:_0x23bfe7,to:_0x8842d0}=_0x4eed1a,_0x21b16d=this['_getAPIPrefix']()+'/'+_0x301fa6+_0x394120(0xd7)+_0xeeea8c+_0x394120(0x24d)+_0x23bfe7+_0x394120(0x3d6)+_0x8842d0;return(await this[_0x394120(0x25c)][_0x394120(0x271)](_0x21b16d))[_0x394120(0x3b4)];}[_0x859cf8(0xd2)](){var _0x53a04e=_0x859cf8,_0x11e595;return(_0x11e595=this[_0x53a04e(0x156)][_0x53a04e(0x40b)](Ut))!=null?_0x11e595:this['_getAPIPrefix']();}[_0x859cf8(0x395)](){var _0x32e173=_0x859cf8,_0xbabba3;const _0x5ccf92=this[_0x32e173(0x156)][_0x32e173(0x40b)](Y);return(_0xbabba3=_0x5ccf92==null?void 0x0:_0x5ccf92[_0x32e173(0x163)])!=null?_0xbabba3:yt;}async[_0x859cf8(0xd3)](_0x3c5f41,_0x4e1294){var _0x13ea76=_0x859cf8;const _0x477988=_0x13ea76(0x311)+_0x4e1294[_0x13ea76(0x41e)]+_0x13ea76(0xd7)+_0x4e1294['unitID']+_0x13ea76(0x39e);return(await this[_0x13ea76(0x25c)][_0x13ea76(0x271)](_0x477988,{'params':{'resourceId':JSON[_0x13ea76(0x37c)](_0x4e1294[_0x13ea76(0x384)])}}))['body'];}[_0x859cf8(0x27e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x59ba3=_0x859cf8;throw new Error(_0x59ba3(0x15f));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x859cf8(0x29b)](){var _0x246d8e=_0x859cf8;throw new Error(_0x246d8e(0x15f));}['copyFileMeta'](){var _0xa75107=_0x859cf8;throw new Error(_0xa75107(0x15f));}['getLatestCsReqIdBySid'](){var _0x43989f=_0x859cf8;throw new Error(_0x43989f(0x15f));}},exports[_0x859cf8(0x102)]=In([ot(0x0,o[_0x859cf8(0x1bc)]),ot(0x1,o[_0x859cf8(0x416)](K[_0x859cf8(0xed)]))],exports[_0x859cf8(0x102)]);var fn=Object[_0x859cf8(0x1e0)],En=(_0x5aec98,_0x1ad7a7,_0x237b28,_0x591f34)=>{for(var _0x41e08a=_0x591f34>0x1?void 0x0:_0x591f34?fn(_0x1ad7a7,_0x237b28):_0x1ad7a7,_0x3a0e93=_0x5aec98['length']-0x1,_0x1bffcc;_0x3a0e93>=0x0;_0x3a0e93--)(_0x1bffcc=_0x5aec98[_0x3a0e93])&&(_0x41e08a=_0x1bffcc(_0x41e08a)||_0x41e08a);return _0x41e08a;},ue=(_0x4c2530,_0x58c70e)=>(_0x7aab1e,_0x4bc844)=>_0x58c70e(_0x7aab1e,_0x4bc844,_0x4c2530);exports[_0x859cf8(0x340)]=class extends o[_0x859cf8(0x3b9)]{constructor(_0x4a5173,_0x51d312,_0x3c9903,_0x5bef6d,_0x124ac0){var _0x2d94a1=_0x859cf8;super(_0x4a5173,_0x51d312,_0x3c9903),this[_0x2d94a1(0x22f)]=_0x5bef6d,this['_logService']=_0x124ac0;}[_0x859cf8(0x122)](_0x58d957,_0x57be3b){var _0x1eed7a=_0x859cf8;const _0x39b52c=this['_getUndoStack'](_0x58d957);if(_0x39b52c)try{const _0x267f80=this[_0x1eed7a(0x313)](_0x39b52c,_0x57be3b);this[_0x1eed7a(0xdc)](_0x58d957,_0x267f80);}catch(_0x547f60){this[_0x1eed7a(0x142)][_0x1eed7a(0x119)](_0x1eed7a(0x265),_0x547f60),this[_0x1eed7a(0x113)](_0x58d957);}const _0x13cc81=this[_0x1eed7a(0x139)](_0x58d957);if(_0x13cc81)try{const _0x468342=this[_0x1eed7a(0x313)](_0x13cc81,_0x57be3b);this[_0x1eed7a(0x430)](_0x58d957,_0x468342);}catch(_0x568981){this[_0x1eed7a(0x142)][_0x1eed7a(0x119)](_0x568981),this[_0x1eed7a(0x316)](_0x58d957);}}[_0x859cf8(0x113)](_0x1eecf0){var _0x290544=_0x859cf8;const _0x450e1d=this['_getUndoStack'](_0x1eecf0);_0x450e1d&&(_0x450e1d[_0x290544(0x44f)]=0x0,this[_0x290544(0x38c)]());}[_0x859cf8(0x316)](_0x1ae881){var _0x1ec561=_0x859cf8;const _0x18bd0a=this['_getRedoStack'](_0x1ae881);_0x18bd0a&&(_0x18bd0a[_0x1ec561(0x44f)]=0x0,this[_0x1ec561(0x38c)]());}[_0x859cf8(0xdc)](_0x55a743,_0x53d6c7){var _0x59f9e3=_0x859cf8;this[_0x59f9e3(0x124)][_0x59f9e3(0x14f)](_0x55a743,_0x53d6c7),this[_0x59f9e3(0x38c)]();}[_0x859cf8(0x430)](_0x49a222,_0x4a92a0){var _0x3d3069=_0x859cf8;this['_redoStacks'][_0x3d3069(0x14f)](_0x49a222,_0x4a92a0),this[_0x3d3069(0x38c)]();}['_transformStack'](_0x356547,_0x4e43c8){var _0x18be95=_0x859cf8;const _0x59f9b1=[];let _0x13a343=_0x4e43c8,_0x1e5289=_0x4e43c8;for(let _0x5c083b=_0x356547[_0x18be95(0x44f)]-0x1;_0x5c083b>=0x0;_0x5c083b--){const {unitID:_0x1cfddf,undoMutations:_0x197040,redoMutations:_0x51b61e}=_0x356547[_0x5c083b],_0xe4f496=this[_0x18be95(0x22f)][_0x18be95(0x3c9)](_0x13a343,_0x197040),_0x50dd02=this['_transformService'][_0x18be95(0x3c9)](_0x1e5289,_0x51b61e);if(E['isTransformMutationsWithChangesetFailure'](_0xe4f496)||E[_0x18be95(0x32a)](_0x50dd02)){this[_0x18be95(0x142)][_0x18be95(0x119)](_0x18be95(0x265),_0x18be95(0x180),_0xe4f496,_0x50dd02);break;}_0x13a343=_0xe4f496[_0x18be95(0x258)],_0x1e5289=_0x50dd02[_0x18be95(0x258)],_0x59f9b1[_0x18be95(0x3f4)]({'unitID':_0x1cfddf,'undoMutations':_0xe4f496[_0x18be95(0x22d)],'redoMutations':_0x50dd02[_0x18be95(0x22d)]});}return _0x59f9b1['reverse']();}},exports['CollaborativeUndoRedoService']=En([ue(0x0,o['IUniverInstanceService']),ue(0x1,o['ICommandService']),ue(0x2,o[_0x859cf8(0x399)]),ue(0x3,E[_0x859cf8(0x306)]),ue(0x4,o[_0x859cf8(0x12c)])],exports['CollaborativeUndoRedoService']);var pn=Object['defineProperty'],mn=Object['getOwnPropertyDescriptor'],gn=(_0x50ccfd,_0x14c15b,_0x77a5e9)=>_0x14c15b in _0x50ccfd?pn(_0x50ccfd,_0x14c15b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x77a5e9}):_0x50ccfd[_0x14c15b]=_0x77a5e9,Tn=(_0x413b28,_0x3d5b18,_0x2cb56c,_0x229983)=>{var _0x2957e1=_0x859cf8;for(var _0x75471f=_0x229983>0x1?void 0x0:_0x229983?mn(_0x3d5b18,_0x2cb56c):_0x3d5b18,_0x3d5fa6=_0x413b28[_0x2957e1(0x44f)]-0x1,_0x46776d;_0x3d5fa6>=0x0;_0x3d5fa6--)(_0x46776d=_0x413b28[_0x3d5fa6])&&(_0x75471f=_0x46776d(_0x75471f)||_0x75471f);return _0x75471f;},we=(_0x1aa7fd,_0x5dff6b)=>(_0x2562af,_0x348104)=>_0x5dff6b(_0x2562af,_0x348104,_0x1aa7fd),Cn=(_0x10a6c7,_0x5be866,_0x578981)=>gn(_0x10a6c7,_0x5be866+'',_0x578981);const On='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x859cf8(0x1ad)]=class extends o[_0x859cf8(0x1a7)]{constructor(_0x51a354,_0x2bc410,_0x5a0c76,_0x521e94){var _0x51381d=_0x859cf8;super(),A(this,_0x51381d(0x34e)),(this['_logService']=_0x2bc410,this['_injector']=_0x5a0c76,this[_0x51381d(0x156)]=_0x521e94);const {..._0x26747d}=o[_0x51381d(0x21e)]({},Qt,_0x51a354);if(!_0x26747d[_0x51381d(0xf3)])throw new Error(_0x51381d(0xd0));this[_0x51381d(0x34e)]=_0x26747d,this[_0x51381d(0x156)][_0x51381d(0x17a)](Y,_0x26747d);}[_0x859cf8(0x376)](){var _0x253379=_0x859cf8;this[_0x253379(0x355)](),this[_0x253379(0x32e)]();}[_0x859cf8(0x355)](){var _0x22e5a0=_0x859cf8,_0x3daee1,_0x39520f;this[_0x22e5a0(0x1af)][_0x22e5a0(0x44a)](o[_0x22e5a0(0x1f3)])&&this[_0x22e5a0(0x142)]['error'](_0x22e5a0(0x105),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x329e65=o['mergeOverrideWithDependencies']([[o[_0x22e5a0(0x1f3)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x22e5a0(0x1b1)]],[exports[_0x22e5a0(0x253)]],[exports[_0x22e5a0(0x30e)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x22e5a0(0x132)]],[Fe,{'useClass':this[_0x22e5a0(0x34e)][_0x22e5a0(0xf3)]}],[E[_0x22e5a0(0x1d0)],{'useClass':exports['SnapshotServerOverHTTPService']}],[o[_0x22e5a0(0x11b)],{'useClass':exports[_0x22e5a0(0x2ce)]}],[z[_0x22e5a0(0x3eb)],{'useClass':exports[_0x22e5a0(0x349)]}],[o[_0x22e5a0(0x3f0)],{'useClass':exports[_0x22e5a0(0x20b)]}],[exports[_0x22e5a0(0x2dc)]],[xe]],(_0x3daee1=this[_0x22e5a0(0x34e)])==null?void 0x0:_0x3daee1[_0x22e5a0(0x3a0)]);if(!((_0x39520f=this[_0x22e5a0(0x34e)])!=null&&_0x39520f[_0x22e5a0(0x289)])){const _0x136d29=_0x329e65[_0x22e5a0(0x2ec)](([_0x4bb0ef])=>_0x4bb0ef===ve);_0x136d29!==-0x1&&_0x329e65['splice'](_0x136d29,0x1);}o['registerDependencies'](this[_0x22e5a0(0x1af)],_0x329e65);}[_0x859cf8(0x32e)](){var _0x34c1e4=_0x859cf8,_0x4bb49c,_0x180d34,_0x3498cf;this[_0x34c1e4(0x1af)][_0x34c1e4(0x271)](K[_0x34c1e4(0xed)])[_0x34c1e4(0xd8)]({'priority':0x14,'interceptor':K[_0x34c1e4(0x21a)]({'maxParallel':0x6})}),(_0x4bb49c=this['_config'])!=null&&_0x4bb49c['enableOfflineEditing']||(_0x180d34=this['_injector'][_0x34c1e4(0x271)](q,o['Quantity'][_0x34c1e4(0x3a9)]))==null||_0x180d34[_0x34c1e4(0x36d)](),(_0x3498cf=this['_config'])!=null&&_0x3498cf[_0x34c1e4(0x3b2)]&&o[_0x34c1e4(0x43b)](this['_injector'],[[Ne]]),o[_0x34c1e4(0x43b)](this[_0x34c1e4(0x1af)],[[De],[exports[_0x34c1e4(0x2dc)]],[ye]]);}},Cn(exports['UniverCollaborationClientPlugin'],_0x859cf8(0x282),On),exports[_0x859cf8(0x1ad)]=Tn([o[_0x859cf8(0x372)](E['UniverCollaborationPlugin'],K[_0x859cf8(0x40d)]),we(0x1,o['ILogService']),we(0x2,o[_0x859cf8(0x416)](o[_0x859cf8(0x120)])),we(0x3,o[_0x859cf8(0x1bc)])],exports[_0x859cf8(0x1ad)]),exports[_0x859cf8(0x2ea)]=Y,exports['CollaborationStatus']=je,exports[_0x859cf8(0x256)]=J,exports['CollaborationUIEventService']=ee,exports[_0x859cf8(0x32c)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=_t,exports[_0x859cf8(0x3f2)]=Bt,exports['DEFAULT_WS_SESSION_TICKET_URL']=Pt,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x859cf8(0x38e)]=Fe,exports[_0x859cf8(0x2a1)]=q,exports['INetworkConditionService']=pt,exports[_0x859cf8(0x246)]=ve,exports[_0x859cf8(0x300)]=kt,exports[_0x859cf8(0x2c4)]=xt,exports[_0x859cf8(0x138)]=jt,exports[_0x859cf8(0x3cd)]=ut,exports[_0x859cf8(0x445)]=se,exports[_0x859cf8(0x13a)]=He,exports[_0x859cf8(0x1d1)]=mt,exports[_0x859cf8(0x424)]=zt,exports['serializeCombRequest']=gt;
|
|
1
|
+
'use strict';var _0x54277f=_0x4c0c;(function(_0x11e9ad,_0x23bac8){var _0x2d752a=_0x4c0c,_0x9cb36e=_0x11e9ad();while(!![]){try{var _0xcfe145=parseInt(_0x2d752a(0x173))/0x1*(parseInt(_0x2d752a(0x400))/0x2)+-parseInt(_0x2d752a(0x22a))/0x3*(parseInt(_0x2d752a(0x1a3))/0x4)+-parseInt(_0x2d752a(0x23b))/0x5+-parseInt(_0x2d752a(0x315))/0x6+-parseInt(_0x2d752a(0x153))/0x7*(parseInt(_0x2d752a(0x37e))/0x8)+-parseInt(_0x2d752a(0x1ce))/0x9+parseInt(_0x2d752a(0x147))/0xa;if(_0xcfe145===_0x23bac8)break;else _0x9cb36e['push'](_0x9cb36e['shift']());}catch(_0x3adbdd){_0x9cb36e['push'](_0x9cb36e['shift']());}}}(_0xfa0e,0xe3f2a));var bt=Object[_0x54277f(0x137)],Rt=(_0xc298a3,_0x4c880c,_0x39df28)=>_0x4c880c in _0xc298a3?bt(_0xc298a3,_0x4c880c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39df28}):_0xc298a3[_0x4c880c]=_0x39df28,A=(_0x2bdcd4,_0x39f2c6,_0x5aa4e0)=>Rt(_0x2bdcd4,typeof _0x39f2c6!=_0x54277f(0x3fe)?_0x39f2c6+'':_0x39f2c6,_0x5aa4e0);Object[_0x54277f(0x137)](exports,Symbol[_0x54277f(0x16b)],{'value':_0x54277f(0x2e2)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x54277f(0x144),Ut=_0x54277f(0x2e7),At=0x7d0,_t=_0x54277f(0x1cc),Pt=_0x54277f(0x272),ht=_0x54277f(0x35d),Lt=0x7530,ke=_0x54277f(0x3ab),lt=0x4e20,Mt=0x4e20,ut=_0x54277f(0x13c),wt=0x3,xt=_0x54277f(0x310),kt=0x3e8,$t=_0x54277f(0x36f),Ht=_0x54277f(0x3b2),jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Bt=_0x54277f(0x17a);var vt=(_0x33f8b1=>(_0x33f8b1[_0x33f8b1['UNDEFINED']=0x0]='UNDEFINED',_0x33f8b1[_0x33f8b1['OK']=0x1]='OK',_0x33f8b1[_0x33f8b1[_0x54277f(0x3f7)]=0x2]=_0x54277f(0x3f7),_0x33f8b1[_0x33f8b1[_0x54277f(0x24d)]=0x3]='PERMISSION_DENIED',_0x33f8b1[_0x33f8b1[_0x54277f(0x2e9)]=0x4]='NOT_FOUND',_0x33f8b1[_0x33f8b1[_0x54277f(0x3a2)]=0x5]=_0x54277f(0x3a2),_0x33f8b1[_0x33f8b1[_0x54277f(0x290)]=0x6]=_0x54277f(0x290),_0x33f8b1[_0x33f8b1['INVALID_ARGUMENT']=0x7]=_0x54277f(0x365),_0x33f8b1[_0x33f8b1[_0x54277f(0x3e4)]=0x8]='TOO_MANY_REQUESTS',_0x33f8b1[_0x33f8b1[_0x54277f(0x253)]=0x9]=_0x54277f(0x253),_0x33f8b1[_0x33f8b1['LOGIN_FAILED']=0xa]=_0x54277f(0x460),_0x33f8b1[_0x33f8b1[_0x54277f(0x3e6)]=0xb]=_0x54277f(0x3e6),_0x33f8b1[_0x33f8b1[_0x54277f(0x3a9)]=0xc]=_0x54277f(0x3a9),_0x33f8b1[_0x33f8b1[_0x54277f(0x2b8)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x33f8b1[_0x33f8b1[_0x54277f(0x433)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x33f8b1[_0x33f8b1[_0x54277f(0x1a4)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x33f8b1[_0x33f8b1['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x54277f(0x366),_0x33f8b1[_0x33f8b1[_0x54277f(0x36d)]=0x64]=_0x54277f(0x36d),_0x33f8b1[_0x33f8b1[_0x54277f(0x2ab)]=0x65]=_0x54277f(0x2ab),_0x33f8b1[_0x33f8b1[_0x54277f(0x273)]=0xc9]=_0x54277f(0x273),_0x33f8b1[_0x33f8b1[_0x54277f(0x167)]=0xca]=_0x54277f(0x167),_0x33f8b1[_0x33f8b1['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x54277f(0x1c0),_0x33f8b1[_0x33f8b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x54277f(0xec),_0x33f8b1[_0x33f8b1[_0x54277f(0x1de)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x33f8b1[_0x33f8b1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x54277f(0x294),_0x33f8b1[_0x33f8b1[_0x54277f(0x46f)]=0x1b59]=_0x54277f(0x46f),_0x33f8b1[_0x33f8b1[_0x54277f(0x128)]=0x1b5a]=_0x54277f(0x128),_0x33f8b1[_0x33f8b1[_0x54277f(0x1a2)]=0x1b5b]=_0x54277f(0x1a2),_0x33f8b1[_0x33f8b1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x54277f(0x12e),_0x33f8b1[_0x33f8b1[_0x54277f(0x409)]=0x1b5d]='APPLY_DUPLICATED',_0x33f8b1[_0x33f8b1[_0x54277f(0x152)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x33f8b1[_0x33f8b1[_0x54277f(0x38c)]=0x2329]=_0x54277f(0x38c),_0x33f8b1[_0x33f8b1[_0x54277f(0x1b0)]=0x232a]=_0x54277f(0x1b0),_0x33f8b1[_0x33f8b1[_0x54277f(0x1b4)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x33f8b1[_0x33f8b1[_0x54277f(0x3eb)]=0x232c]=_0x54277f(0x3eb),_0x33f8b1[_0x33f8b1['LICENSE_DISTRO_REJECTED']=0x232d]=_0x54277f(0x34a),_0x33f8b1[_0x33f8b1[_0x54277f(0x250)]=0x2711]=_0x54277f(0x250),_0x33f8b1[_0x33f8b1[_0x54277f(0x2a9)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x33f8b1[_0x33f8b1[_0x54277f(0x42b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x33f8b1[_0x33f8b1[_0x54277f(0x13e)]=0x2714]=_0x54277f(0x13e),_0x33f8b1[_0x33f8b1[_0x54277f(0x228)]=0x271a]=_0x54277f(0x228),_0x33f8b1[_0x33f8b1[_0x54277f(0x150)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x33f8b1[_0x33f8b1[_0x54277f(0x43a)]=0x271c]=_0x54277f(0x43a),_0x33f8b1[_0x33f8b1['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x33f8b1[_0x33f8b1[_0x54277f(0x2d2)]=0x271e]=_0x54277f(0x2d2),_0x33f8b1[_0x33f8b1[_0x54277f(0x33c)]=0x271f]=_0x54277f(0x33c),_0x33f8b1[_0x33f8b1[_0x54277f(0x2b6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x33f8b1[_0x33f8b1[_0x54277f(0x1bf)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33f8b1[_0x33f8b1[_0x54277f(0x336)]=0x2ee1]=_0x54277f(0x336),_0x33f8b1[_0x33f8b1['INVALID_INVITE_CODE']=0x2ee2]=_0x54277f(0x275),_0x33f8b1[_0x33f8b1[_0x54277f(0x203)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x33f8b1[_0x33f8b1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x54277f(0x1d6),_0x33f8b1[_0x33f8b1[_0x54277f(0x176)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x33f8b1[_0x33f8b1[_0x54277f(0x280)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x33f8b1[_0x33f8b1['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x54277f(0x297),_0x33f8b1[_0x33f8b1[_0x54277f(0x42a)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x33f8b1[_0x33f8b1['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x33f8b1[_0x33f8b1[_0x54277f(0x17d)]=0x36b2]=_0x54277f(0x17d),_0x33f8b1[_0x33f8b1[_0x54277f(0x15d)]=0x36b3]=_0x54277f(0x15d),_0x33f8b1[_0x33f8b1[_0x54277f(0x285)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x33f8b1[_0x33f8b1[_0x54277f(0x3d8)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x33f8b1[_0x33f8b1[_0x54277f(0x1ea)]=0x36b6]=_0x54277f(0x1ea),_0x33f8b1[_0x33f8b1[_0x54277f(0x25e)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x33f8b1[_0x33f8b1['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x54277f(0x234),_0x33f8b1[_0x33f8b1['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x33f8b1[_0x33f8b1['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x54277f(0x235),_0x33f8b1[_0x33f8b1[_0x54277f(0x17e)]=0x3717]=_0x54277f(0x17e),_0x33f8b1[_0x33f8b1[_0x54277f(0x32a)]=0x37dd]=_0x54277f(0x32a),_0x33f8b1[_0x33f8b1[_0x54277f(0x362)]=0x3a99]=_0x54277f(0x362),_0x33f8b1[_0x33f8b1[_0x54277f(0x2f5)]=0x3a9a]=_0x54277f(0x2f5),_0x33f8b1[_0x33f8b1[_0x54277f(0x3cf)]=0x3a9b]=_0x54277f(0x3cf),_0x33f8b1[_0x33f8b1['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x33f8b1[_0x33f8b1[_0x54277f(0x33a)]=0x3a9d]=_0x54277f(0x33a),_0x33f8b1[_0x33f8b1['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x54277f(0x354),_0x33f8b1[_0x33f8b1[_0x54277f(0x151)]=0x3a9f]=_0x54277f(0x151),_0x33f8b1[_0x33f8b1['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x33f8b1[_0x33f8b1[_0x54277f(0x10e)]=-0x1]=_0x54277f(0x10e),_0x33f8b1))(vt||{}),X=(_0x496c5b=>(_0x496c5b[_0x496c5b[_0x54277f(0xf0)]=0x0]='UNIVER_UNKNOWN',_0x496c5b[_0x496c5b[_0x54277f(0x345)]=0x1]='UNIVER_DOC',_0x496c5b[_0x496c5b[_0x54277f(0x1c7)]=0x2]='UNIVER_SHEET',_0x496c5b[_0x496c5b['UNIVER_SLIDE']=0x3]=_0x54277f(0x123),_0x496c5b[_0x496c5b['UNIVER_PROJECT']=0x4]=_0x54277f(0x2d6),_0x496c5b[_0x496c5b[_0x54277f(0x10e)]=-0x1]='UNRECOGNIZED',_0x496c5b))(X||{}),W=(_0x26924f=>(_0x26924f[_0x26924f['UNKNOWN_CMD']=0x0]=_0x54277f(0x3b0),_0x26924f[_0x26924f[_0x54277f(0x471)]=0x1]=_0x54277f(0x471),_0x26924f[_0x26924f[_0x54277f(0x45e)]=0x2]=_0x54277f(0x45e),_0x26924f[_0x26924f[_0x54277f(0x129)]=0x3]=_0x54277f(0x129),_0x26924f[_0x26924f[_0x54277f(0x11f)]=0x4]=_0x54277f(0x11f),_0x26924f[_0x26924f[_0x54277f(0x2fd)]=0x5]='HEARTBEAT',_0x26924f[_0x26924f[_0x54277f(0x2b3)]=0x6]='RECV',_0x26924f[_0x26924f[_0x54277f(0x10e)]=-0x1]='UNRECOGNIZED',_0x26924f))(W||{}),re=(_0x1e73e6=>(_0x1e73e6[_0x1e73e6[_0x54277f(0x3d5)]=0x0]=_0x54277f(0x3d5),_0x1e73e6[_0x1e73e6['OK']=0x1]='OK',_0x1e73e6[_0x1e73e6[_0x54277f(0x3c5)]=0x2]='FAIL',_0x1e73e6[_0x1e73e6[_0x54277f(0x300)]=0x3e9]=_0x54277f(0x300),_0x1e73e6[_0x1e73e6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x54277f(0x34e),_0x1e73e6[_0x1e73e6[_0x54277f(0x435)]=0x3eb]=_0x54277f(0x435),_0x1e73e6[_0x1e73e6[_0x54277f(0x122)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1e73e6[_0x1e73e6[_0x54277f(0x10e)]=-0x1]=_0x54277f(0x10e),_0x1e73e6))(re||{}),dt=(_0x2f5e06=>(_0x2f5e06[_0x2f5e06['Undefined']=0x0]=_0x54277f(0x2c6),_0x2f5e06[_0x2f5e06[_0x54277f(0x195)]=0x1]=_0x54277f(0x195),_0x2f5e06[_0x2f5e06[_0x54277f(0x2bc)]=0x2]=_0x54277f(0x2bc),_0x2f5e06[_0x2f5e06[_0x54277f(0x302)]=0x3]=_0x54277f(0x302),_0x2f5e06[_0x2f5e06['UnitSnapshot']=0x4]=_0x54277f(0x2ad),_0x2f5e06[_0x2f5e06[_0x54277f(0x159)]=0x5]=_0x54277f(0x159),_0x2f5e06[_0x2f5e06[_0x54277f(0x346)]=0x6]='ClipsheetFragments',_0x2f5e06[_0x2f5e06[_0x54277f(0x10e)]=-0x1]='UNRECOGNIZED',_0x2f5e06))(dt||{});const Ft='collaboration_new_changeset';function Vt(_0x192a9c){return JSON['stringify'](_0x192a9c)['length'];}var J=(_0x21ed17=>(_0x21ed17[_0x54277f(0x1fa)]='OTHER_CLIENT_EDITING',_0x21ed17[_0x54277f(0x24d)]=_0x54277f(0x24d),_0x21ed17[_0x54277f(0x279)]=_0x54277f(0x279),_0x21ed17[_0x54277f(0x2e8)]=_0x54277f(0x2e8),_0x21ed17[_0x54277f(0x461)]=_0x54277f(0x461),_0x21ed17[_0x54277f(0x386)]=_0x54277f(0x386),_0x21ed17[_0x54277f(0x465)]='SOCKET_FAILED',_0x21ed17['SUBMIT_CHANGESET_TIMEOUT']=_0x54277f(0x180),_0x21ed17))(J||{});class ee{constructor(){var _0xb4545d=_0x54277f;A(this,_0xb4545d(0x27a),new j[(_0xb4545d(0x1fe))]()),A(this,_0xb4545d(0x2aa),this['_event$'][_0xb4545d(0x40f)]());}[_0x54277f(0x2a8)](_0x3cbd9c){var _0x265825=_0x54277f;this['_event$'][_0x265825(0x2f7)](_0x3cbd9c);}}class $e{constructor(){var _0x93f6ad=_0x54277f;A(this,_0x93f6ad(0x25d),new j[(_0x93f6ad(0x1fe))]()),A(this,_0x93f6ad(0x166),this[_0x93f6ad(0x25d)][_0x93f6ad(0x40f)]());}[_0x54277f(0x216)](_0x332216){var _0x1470bb=_0x54277f;this[_0x1470bb(0x25d)][_0x1470bb(0x2f7)](_0x332216);}}var Wt=Object[_0x54277f(0x401)],Gt=(_0x4a4db8,_0x5a0394,_0x29c888,_0x59b45e)=>{var _0x179172=_0x54277f;for(var _0x413082=_0x59b45e>0x1?void 0x0:_0x59b45e?Wt(_0x5a0394,_0x29c888):_0x5a0394,_0x4b4ef5=_0x4a4db8[_0x179172(0x3a0)]-0x1,_0x390314;_0x4b4ef5>=0x0;_0x4b4ef5--)(_0x390314=_0x4a4db8[_0x4b4ef5])&&(_0x413082=_0x390314(_0x413082)||_0x413082);return _0x413082;},Ve=(_0x482e84,_0x4ecb86)=>(_0x4ca42c,_0x5394fd)=>_0x4ecb86(_0x4ca42c,_0x5394fd,_0x482e84);exports['MemberService']=class extends o['Disposable']{constructor(_0x5d4c33,_0x505e58){var _0x23dd10=_0x54277f;super(),A(this,_0x23dd10(0x3c9),new Map()),A(this,_0x23dd10(0x46a),new j[(_0x23dd10(0x1fe))]()),(this[_0x23dd10(0x327)]=_0x5d4c33,this[_0x23dd10(0x3e0)]=_0x505e58,this[_0x23dd10(0x317)](j[_0x23dd10(0x42f)](this[_0x23dd10(0x327)][_0x23dd10(0x2c0)](o['UniverInstanceType'][_0x23dd10(0x1c7)])[_0x23dd10(0x1e6)](V[_0x23dd10(0x1db)](_0x5c6da3=>_0x5c6da3[_0x23dd10(0x364)]())),this[_0x23dd10(0x327)][_0x23dd10(0x2c0)](o[_0x23dd10(0x30e)][_0x23dd10(0x345)])[_0x23dd10(0x1e6)](V['map'](_0x5b593e=>_0x5b593e[_0x23dd10(0x364)]())),this[_0x23dd10(0x327)]['getTypeOfUnitDisposed$'](o[_0x23dd10(0x30e)][_0x23dd10(0x123)])[_0x23dd10(0x1e6)](V[_0x23dd10(0x1db)](_0x56894c=>_0x56894c[_0x23dd10(0x364)]())))[_0x23dd10(0x217)](_0x51deb8=>this[_0x23dd10(0x208)](_0x51deb8))));}['waitForRoom$'](_0x184c7e){var _0x288419=_0x54277f;return this[_0x288419(0x3c9)][_0x288419(0x3a5)](_0x184c7e)?j['of'](this[_0x288419(0x3c9)][_0x288419(0x309)](_0x184c7e)):this[_0x288419(0x46a)]['pipe'](V[_0x288419(0x1db)](_0x35d385=>{var _0x4a2e92=_0x288419;if(_0x35d385===_0x184c7e)return this[_0x4a2e92(0x3c9)][_0x4a2e92(0x309)](_0x35d385);}));}[_0x54277f(0x40c)](_0x157429){var _0x5b1419=_0x54277f;this[_0x5b1419(0x3e0)][_0x5b1419(0x40c)](_0x157429);}[_0x54277f(0x31f)](){var _0x4d948e=_0x54277f;return this[_0x4d948e(0x3e0)][_0x4d948e(0x31f)]();}['updateMember'](_0x8d5cf4,_0x35ec6b){var _0x19f613=_0x54277f;let _0x4a623f=this[_0x19f613(0x3c9)][_0x19f613(0x309)](_0x8d5cf4);_0x4a623f||(_0x4a623f=new Yt(),this['_roomMembers'][_0x19f613(0x34b)](_0x8d5cf4,_0x4a623f),this[_0x19f613(0x46a)][_0x19f613(0x2f7)](_0x8d5cf4)),_0x4a623f['updateMember'](_0x35ec6b);}[_0x54277f(0x378)](_0x5030f1,_0xd589de){var _0x37950f=_0x54277f;const _0x5e1826=this[_0x37950f(0x3c9)][_0x37950f(0x309)](_0x5030f1);_0x5e1826&&_0x5e1826[_0x37950f(0x378)](_0xd589de);}[_0x54277f(0x443)](_0x3b3df2){var _0x498547=_0x54277f;return this['_roomMembers'][_0x498547(0x309)](_0x3b3df2);}[_0x54277f(0x230)](_0x4cdf90,_0x7facdf){var _0x364009=_0x54277f;const _0x5b4318=this['_roomMembers'][_0x364009(0x309)](_0x4cdf90);if(_0x5b4318)return _0x5b4318['getMember'](_0x7facdf);}[_0x54277f(0x208)](_0x1d19f4){var _0x249654=_0x54277f;const _0x494c94=this[_0x249654(0x3c9)][_0x249654(0x309)](_0x1d19f4);_0x494c94&&(_0x494c94['dispose'](),this[_0x249654(0x3c9)][_0x249654(0x2a0)](_0x1d19f4));}['dispose'](){var _0x240453=_0x54277f;this[_0x240453(0x3c9)][_0x240453(0x2ae)](_0x380aaf=>_0x380aaf[_0x240453(0x1d0)]()),this[_0x240453(0x3c9)][_0x240453(0x2eb)](),this[_0x240453(0x46a)]['complete']();}},exports[_0x54277f(0x2d1)]=Gt([Ve(0x0,o[_0x54277f(0x277)]),Ve(0x1,o['Inject'](o[_0x54277f(0x3ac)]))],exports[_0x54277f(0x2d1)]);class Yt extends o[_0x54277f(0x391)]{constructor(){var _0x4be2ea=_0x54277f;super(...arguments),A(this,'_members',new Map()),A(this,_0x4be2ea(0x348),new j[(_0x4be2ea(0xea))](this['_members'])),A(this,_0x4be2ea(0x332),this[_0x4be2ea(0x348)][_0x4be2ea(0x40f)]());}['dispose'](){var _0x5d3a10=_0x54277f;this[_0x5d3a10(0x204)][_0x5d3a10(0x2eb)]();}[_0x54277f(0x191)](_0x11f34f){var _0x4e680b=_0x54277f;this[_0x4e680b(0x204)][_0x4e680b(0x34b)](_0x11f34f[_0x4e680b(0x301)],_0x11f34f),this[_0x4e680b(0x22d)]();}['removeMember'](_0x16bf45){var _0x51c15d=_0x54277f;this['_members'][_0x51c15d(0x2a0)](_0x16bf45);}['getMember'](_0x409ed8){var _0x24e67e=_0x54277f;return this[_0x24e67e(0x204)]['get'](_0x409ed8);}[_0x54277f(0x13a)](){var _0x3d6433=_0x54277f;return Array[_0x3d6433(0x160)](this[_0x3d6433(0x204)][_0x3d6433(0x135)]());}[_0x54277f(0x22d)](){var _0x65cd83=_0x54277f;this[_0x65cd83(0x348)][_0x65cd83(0x2f7)](this[_0x65cd83(0x204)]);}}var Kt=Object['getOwnPropertyDescriptor'],qt=(_0x56655e,_0x1e20e7,_0x3eb17d,_0xdaea65)=>{var _0x282863=_0x54277f;for(var _0x12667d=_0xdaea65>0x1?void 0x0:_0xdaea65?Kt(_0x1e20e7,_0x3eb17d):_0x1e20e7,_0x167840=_0x56655e[_0x282863(0x3a0)]-0x1,_0x1e7553;_0x167840>=0x0;_0x167840--)(_0x1e7553=_0x56655e[_0x167840])&&(_0x12667d=_0x1e7553(_0x12667d)||_0x12667d);return _0x12667d;},ce=(_0x28653f,_0x41ef21)=>(_0x2dbd3b,_0xe42b51)=>_0x41ef21(_0x2dbd3b,_0xe42b51,_0x28653f),se=(_0x3b7517=>(_0x3b7517[_0x3b7517[_0x54277f(0x446)]=0x0]=_0x54277f(0x446),_0x3b7517[_0x3b7517[_0x54277f(0x3ef)]=0x1]=_0x54277f(0x3ef),_0x3b7517[_0x3b7517[_0x54277f(0x34d)]=0x2]=_0x54277f(0x34d),_0x3b7517[_0x3b7517[_0x54277f(0x10f)]=0x3]=_0x54277f(0x10f),_0x3b7517))(se||{});function _0x4c0c(_0x459c57,_0x48824b){_0x459c57=_0x459c57-0xe4;var _0xfa0ea8=_0xfa0e();var _0x4c0c14=_0xfa0ea8[_0x459c57];return _0x4c0c14;}const We={[re['FAIL']]:_0x54277f(0x2ba),[re[_0x54277f(0x300)]]:_0x54277f(0x1f2),[re[_0x54277f(0x34e)]]:'session.room-not-exists',[re[_0x54277f(0x435)]]:'session.room-permission-denied',[re[_0x54277f(0x122)]]:_0x54277f(0x202)};exports['CollaborationSession']=class extends o['RxDisposable']{constructor(_0x29fea1,_0x1c7625,_0x337adc,_0x1958ac,_0x53f3fe,_0x177391,_0x24bf17,_0x10772b){var _0x140def=_0x54277f;super(),A(this,'_sessionStatus$',new j['BehaviorSubject'](0x0)),A(this,_0x140def(0x339),this[_0x140def(0x389)]['asObservable']()),A(this,_0x140def(0x27a),new j['Subject']()),A(this,_0x140def(0x2aa),this[_0x140def(0x27a)]['asObservable']()),A(this,_0x140def(0x1ed)),A(this,_0x140def(0x3de)),A(this,_0x140def(0x321)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x140def(0x236),null),(this['_unitID']=_0x29fea1,this[_0x140def(0x20f)]=_0x337adc,this[_0x140def(0x20d)]=_0x1958ac,this['_memberService']=_0x53f3fe,this[_0x140def(0x44e)]=_0x177391,this[_0x140def(0x466)]=_0x24bf17,this[_0x140def(0x406)]=_0x10772b,this[_0x140def(0x35f)]=!!this[_0x140def(0x406)],_0x1c7625['pipe'](j[_0x140def(0x3a7)](this[_0x140def(0x2dd)]))[_0x140def(0x217)](_0x37d0e9=>{var _0x47ada5=_0x140def,_0x14cacd;typeof _0x37d0e9>'u'||(this[_0x47ada5(0x1ed)]=_0x37d0e9,_0x37d0e9?(this[_0x47ada5(0x1c5)](_0x37d0e9),this[_0x47ada5(0x3de)]=_0x37d0e9[_0x47ada5(0x2f8)][_0x47ada5(0x217)](_0x3dfb89=>{var _0x257305=_0x47ada5;_0x3dfb89[_0x257305(0x2a4)]===this['_unitID']&&this[_0x257305(0x1d8)](_0x3dfb89);})):(this[_0x47ada5(0x209)](),this[_0x47ada5(0x389)][_0x47ada5(0x2f7)](0x2),(_0x14cacd=this[_0x47ada5(0x3de)])==null||_0x14cacd[_0x47ada5(0x429)](),this['_socketMessageSubscription']=null));}));}get[_0x54277f(0x40a)](){var _0x151683=_0x54277f;return this[_0x151683(0x389)]['getValue']();}[_0x54277f(0x1d3)](){var _0x39d126=_0x54277f,_0x34c7f5,_0x1b224d;return(_0x1b224d=(_0x34c7f5=this['_socket'])==null?void 0x0:_0x34c7f5[_0x39d126(0x301)])!=null?_0x1b224d:null;}[_0x54277f(0x1d0)](){var _0x2706e2=_0x54277f;super['dispose'](),this[_0x2706e2(0x2dd)][_0x2706e2(0x2f7)](),this['dispose$'][_0x2706e2(0x3c7)]();}['close'](){var _0x10a1bd=_0x54277f,_0x1c54ba,_0x595f28;this[_0x10a1bd(0x209)](),(_0x1c54ba=this[_0x10a1bd(0x1ed)])==null||_0x1c54ba['send']({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x595f28=this['_socket'])==null||_0x595f28[_0x10a1bd(0x3f8)](),this[_0x10a1bd(0x27a)][_0x10a1bd(0x3c7)](),this[_0x10a1bd(0x389)][_0x10a1bd(0x3c7)](),this[_0x10a1bd(0x1d0)]();}[_0x54277f(0x1d8)](_0x5404da){var _0x40f638=_0x54277f;_0x5404da[_0x40f638(0x37d)]===W[_0x40f638(0x45e)]?this[_0x40f638(0x40b)](_0x5404da):_0x5404da[_0x40f638(0x37d)]===W[_0x40f638(0x2b3)]&&this['_onRecvEvent'](_0x5404da);}[_0x54277f(0x1c5)](_0x4ca7a7){var _0xaa3526=_0x54277f;this[_0xaa3526(0x389)]['next'](0x1),_0x4ca7a7[_0xaa3526(0x10a)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xaa3526(0x2ff)]}]}});}[_0x54277f(0x40b)](_0x208020){var _0x4d3dea=_0x54277f,_0x455257;if(_0x208020[_0x4d3dea(0x459)]in We){this[_0x4d3dea(0x466)][_0x4d3dea(0x2a8)]({'id':J[_0x4d3dea(0x461)],'data':We[_0x208020[_0x4d3dea(0x459)]]}),this['_sessionStatus$'][_0x4d3dea(0x2f7)](0x2);return;}this[_0x4d3dea(0x389)][_0x4d3dea(0x2f7)](0x3);const _0x52bee7=(_0x455257=_0x208020[_0x4d3dea(0x213)][_0x4d3dea(0x15f)][this[_0x4d3dea(0x2ff)]])==null?void 0x0:_0x455257[_0x4d3dea(0x37a)];_0x52bee7&&_0x52bee7[_0x4d3dea(0x2ae)](_0x1efb63=>this[_0x4d3dea(0x25a)][_0x4d3dea(0x191)](this[_0x4d3dea(0x2ff)],_0x1efb63));}['_onRecvEvent'](_0x2fdf6c){var _0x33cb5d=_0x54277f;try{const _0x5b988a=_0x2fdf6c['data'];switch(_0x5b988a[_0x33cb5d(0x2cf)]){case E[_0x33cb5d(0x107)][_0x33cb5d(0x155)]:this[_0x33cb5d(0x405)](_0x5b988a),this[_0x33cb5d(0x27a)][_0x33cb5d(0x2f7)](_0x5b988a);break;case E['CollaborationEvent'][_0x33cb5d(0x25f)]:this[_0x33cb5d(0x118)](_0x5b988a),this[_0x33cb5d(0x27a)][_0x33cb5d(0x2f7)](_0x5b988a);break;case E[_0x33cb5d(0x107)][_0x33cb5d(0x441)]:case E[_0x33cb5d(0x107)]['CHANGESET_SHOULD_RETRY']:this[_0x33cb5d(0x3cb)](),this[_0x33cb5d(0x40d)](),this['_event$']['next'](_0x5b988a);break;case E['CollaborationEvent'][_0x33cb5d(0xf3)]:this[_0x33cb5d(0x20f)][_0x33cb5d(0x437)](_0x33cb5d(0x1e0)+JSON[_0x33cb5d(0x2a7)](_0x5b988a)),this['_event$'][_0x33cb5d(0x2f7)](_0x5b988a);break;case E[_0x33cb5d(0x107)][_0x33cb5d(0x46c)]:this[_0x33cb5d(0x44e)][_0x33cb5d(0x216)](_0x5b988a[_0x33cb5d(0x213)]),this[_0x33cb5d(0x27a)][_0x33cb5d(0x2f7)](_0x5b988a);break;default:this['_event$'][_0x33cb5d(0x2f7)](_0x5b988a);}}catch(_0x20d546){this[_0x33cb5d(0x20f)][_0x33cb5d(0x437)](_0x20d546,_0x2fdf6c);}}[_0x54277f(0x405)](_0x50ed6f){var _0x52bf21=_0x54277f;this[_0x52bf21(0x25a)][_0x52bf21(0x191)](this[_0x52bf21(0x2ff)],_0x50ed6f['data']);}[_0x54277f(0x118)](_0xb4a5ae){var _0x4b8f41=_0x54277f;this[_0x4b8f41(0x25a)][_0x4b8f41(0x378)](this[_0x4b8f41(0x2ff)],_0xb4a5ae[_0x4b8f41(0x213)][_0x4b8f41(0x301)]);}async['send'](_0xd97c3,_0x2b008f){var _0x117dbe=_0x54277f;if(this[_0x117dbe(0x40a)]!==0x3||!this[_0x117dbe(0x1ed)])throw new Error(_0x117dbe(0x377));try{_0xd97c3[_0x117dbe(0x2cf)]===E['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x117dbe(0x2da)](),this[_0x117dbe(0x323)](_0xd97c3)),this[_0x117dbe(0x1ed)][_0x117dbe(0x10a)]({'cmd':W[_0x117dbe(0x11f)],'routeKey':_0x2b008f,'routeType':'','data':_0xd97c3});}catch(_0x20a7c3){this[_0x117dbe(0x20f)]['error'](_0x20a7c3);}}[_0x54277f(0x2da)](){var _0x598518=_0x54277f,_0x49feb5;this[_0x598518(0x321)]=setTimeout(()=>{var _0x8b19bd=_0x598518;this[_0x8b19bd(0x321)]=null,this[_0x8b19bd(0x466)][_0x8b19bd(0x2a8)]({'id':J[_0x8b19bd(0x180)]});},(_0x49feb5=this[_0x598518(0x20d)][_0x598518(0x319)](ke))!=null?_0x49feb5:lt);}[_0x54277f(0x40d)](){var _0x5f6ace=_0x54277f;this[_0x5f6ace(0x321)]&&(clearTimeout(this[_0x5f6ace(0x321)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x19ea32){var _0x4bbd74=_0x54277f;if(!this['_shouldReportTelemetry'])return;const {data:_0x4d77e6}=_0x19ea32,{unitID:_0x4b1e19,changeset:_0x1b104b}=_0x4d77e6,{mutations:_0x398f50,type:_0x7eae5f}=_0x1b104b;this[_0x4bbd74(0x236)]={'unitId':_0x4b1e19,'type':_0x7eae5f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x398f50)};}[_0x54277f(0x3cb)](){var _0x26df83=_0x54277f;if(this[_0x26df83(0x35f)]){if(!this[_0x26df83(0x236)]){this['_logService']['error'](_0x26df83(0x1ad),_0x26df83(0x352));return;}this['_telemetryInfo']['stopTime']=performance[_0x26df83(0x262)](),this[_0x26df83(0x236)][_0x26df83(0x207)]=this[_0x26df83(0x236)][_0x26df83(0x36a)]-this[_0x26df83(0x236)][_0x26df83(0x29d)],this[_0x26df83(0x406)][_0x26df83(0x3da)](Ft,this['_telemetryInfo']),this[_0x26df83(0x236)]=null;}}[_0x54277f(0x209)](){this['_telemetryInfo']=null;}},exports[_0x54277f(0x388)]=qt([ce(0x2,o[_0x54277f(0x15b)]),ce(0x3,o[_0x54277f(0x3b4)]),ce(0x4,o[_0x54277f(0x226)](exports[_0x54277f(0x2d1)])),ce(0x5,o[_0x54277f(0x226)]($e)),ce(0x6,o[_0x54277f(0x226)](ee)),ce(0x7,o[_0x54277f(0x229)](Nt[_0x54277f(0x314)]))],exports[_0x54277f(0x388)]);const q=o[_0x54277f(0x2c9)](_0x54277f(0x3c1));function zt(_0x456f4e){var _0x864ec3=_0x54277f;return _0x864ec3(0x112)+_0x456f4e;}var Xt=Object[_0x54277f(0x401)],Jt=(_0x380666,_0x1bac1e,_0x38aff7,_0x5dd6e5)=>{var _0x12ad05=_0x54277f;for(var _0x290d6c=_0x5dd6e5>0x1?void 0x0:_0x5dd6e5?Xt(_0x1bac1e,_0x38aff7):_0x1bac1e,_0x10119d=_0x380666[_0x12ad05(0x3a0)]-0x1,_0x51d44c;_0x10119d>=0x0;_0x10119d--)(_0x51d44c=_0x380666[_0x10119d])&&(_0x290d6c=_0x51d44c(_0x290d6c)||_0x290d6c);return _0x290d6c;},Ue=(_0x1bf915,_0x25d5f5)=>(_0x2826e0,_0x47dda8)=>_0x25d5f5(_0x2826e0,_0x47dda8,_0x1bf915);function Zt(_0x315eed){var _0x181211=_0x54277f;const {unitID:_0x341855,mutations:_0x2269e1}=_0x315eed;return{'unitId':_0x341855,'subUnitId':_0x2269e1[_0x181211(0x3a0)]>0x0?_0x2269e1[0x0][_0x181211(0x18e)]['subUnitId']:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x1f8e8d,_0x56800b,_0x29268f){var _0x4c6d4d=_0x54277f;this[_0x4c6d4d(0x1da)]=_0x1f8e8d,this[_0x4c6d4d(0x30a)]=_0x56800b,this[_0x4c6d4d(0x2e3)]=_0x29268f;}['transformSelections'](_0x4b01dc){var _0x2d233c=_0x54277f,_0x20668e,_0x1b2aaf,_0xbca4de,_0x94906c;const _0x44cbb8=this[_0x2d233c(0x1da)][_0x2d233c(0x309)](Q[_0x2d233c(0x3c8)]),{unitId:_0x5c5cdd,subUnitId:_0x4e6733}=Zt(_0x4b01dc),_0x5c92e2=_0x44cbb8==null?void 0x0:_0x44cbb8[_0x2d233c(0x220)](_0x5c5cdd)[_0x2d233c(0x267)](),_0x2c035e=(_0x1b2aaf=(_0x20668e=this[_0x2d233c(0x2e3)][_0x2d233c(0x165)](_0x5c5cdd))==null?void 0x0:_0x20668e[_0x2d233c(0x1a0)]())==null?void 0x0:_0x1b2aaf[_0x2d233c(0x368)]();if(_0x5c92e2[_0x2d233c(0x3a0)]===0x0||!_0x5c5cdd||!_0x4e6733)return;const _0x43d4a9=[{'id':Q[_0x2d233c(0x1e9)]['id'],'params':{'unitId':_0x5c5cdd,'subUnitId':_0x2c035e,'selections':o[_0x2d233c(0x430)]['deepClone'](_0x5c92e2)}}],_0x3b5bab=this[_0x2d233c(0x30a)][_0x2d233c(0x287)](_0x4b01dc,_0x43d4a9);if(!E[_0x2d233c(0x376)](_0x3b5bab))throw _0x3b5bab[_0x2d233c(0x437)];const _0x24993b=(_0x94906c=(_0xbca4de=_0x3b5bab['m2Prime'][0x0])==null?void 0x0:_0xbca4de['params'])==null?void 0x0:_0x94906c[_0x2d233c(0x3a6)];if(Array[_0x2d233c(0x3d7)](_0x24993b)&&_0x24993b[_0x2d233c(0x3a0)]){if(_0x24993b[_0x2d233c(0x3a0)]===_0x43d4a9[0x0][_0x2d233c(0x18e)]['selections']['length']&&_0x24993b[_0x2d233c(0x444)]((_0x45d0d5,_0x15ab98)=>o[_0x2d233c(0x3fa)][_0x2d233c(0x126)](_0x45d0d5['range'],_0x43d4a9[0x0][_0x2d233c(0x18e)][_0x2d233c(0x3a6)][_0x15ab98][_0x2d233c(0x1f1)])))return;this[_0x2d233c(0x1da)][_0x2d233c(0x309)](o[_0x2d233c(0xf6)])[_0x2d233c(0x2a3)](Q[_0x2d233c(0x1e9)]['id'],{'unitId':_0x5c5cdd,'subUnitId':_0x2c035e,'selections':_0x24993b});}}},exports[_0x54277f(0x450)]=Jt([Ue(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),Ue(0x1,E['ITransformService']),Ue(0x2,o[_0x54277f(0x277)])],exports['SheetTransformSelectionsService']);const ve=o['createIdentifier'](_0x54277f(0x3f1));var He=(_0x2bfc9b=>(_0x2bfc9b[_0x2bfc9b[_0x54277f(0x2df)]=0x0]=_0x54277f(0x2df),_0x2bfc9b[_0x2bfc9b[_0x54277f(0x3bb)]=0x1]='OTHER_CLIENTS_EDITING',_0x2bfc9b))(He||{});const Y=_0x54277f(0x35a),Qt={};function ei(_0x47dce9){var _0x114e6b=_0x54277f,_0x27b201;return!!((_0x27b201=_0x47dce9[_0x114e6b(0x18e)])!=null&&_0x27b201[_0x114e6b(0x2ce)]);}const ti=new Set([Q['InsertSheetMutation']['id']]);function Ge(_0x525b96,_0x24473b,_0x5b31b9,_0x37521a,_0x3de1b6){var _0x356cc6=_0x54277f,_0x337ca4,_0x41f5ba,_0x417b20,_0x4dd14d;const _0x2a3050=[];for(const _0x4a133a of _0x525b96){if(ti[_0x356cc6(0x3a5)](_0x4a133a['id'])){if(_0x2a3050[_0x356cc6(0x3a0)]>0x0)break;_0x2a3050[_0x356cc6(0x394)](_0x4a133a);break;}if(ei(_0x4a133a)){if(_0x2a3050[_0x356cc6(0x3a0)]>0x0)break;_0x2a3050[_0x356cc6(0x394)](_0x4a133a);break;}_0x2a3050[_0x356cc6(0x394)](_0x4a133a);}const _0x3cb104=(_0x41f5ba=(_0x337ca4=_0x3de1b6[_0x356cc6(0x31f)]())==null?void 0x0:_0x337ca4[_0x356cc6(0x198)])!=null?_0x41f5ba:_0x356cc6(0x249),_0x4266c7=(_0x4dd14d=(_0x417b20=_0x3de1b6['getCurrentUser']())==null?void 0x0:_0x417b20[_0x356cc6(0x301)])!=null?_0x4dd14d:_0x356cc6(0x249);return{'changeset':{'unitID':_0x24473b,'type':E['mapDocumentTypeToUniverType'](_0x5b31b9[_0x356cc6(0x247)](_0x24473b)),'baseRev':_0x37521a[_0x356cc6(0x1c9)](_0x24473b),'revision':0x0,'userID':_0x3cb104,'memberID':_0x4266c7,'mutations':_0x2a3050},'pendingMutations':_0x525b96[_0x356cc6(0x1b7)](_0x2a3050['length'])};}function ii(_0x56a582,_0x28f302,_0x218d52,_0x95bc22,_0x56d2a0){var _0x35cd4f=_0x54277f,_0x5ac0dc,_0x76e0d6,_0x301dee,_0x496f3e;const _0x523801=[_0x56a582['reduce']((_0x239ff5,_0x50a889)=>{var _0x29fc34=_0x4c0c,_0x322b25;const {id:_0x37d1a4}=_0x239ff5,{id:_0x5791b4,type:_0x7951f}=_0x50a889,_0x16f203=(_0x322b25=_0x239ff5[_0x29fc34(0x18e)])!=null?_0x322b25:{'actions':null},_0x4e4832=_0x50a889[_0x29fc34(0x18e)];if(_0x37d1a4&&_0x37d1a4!==_0x5791b4)throw new Error(_0x29fc34(0x14e)+_0x37d1a4+_0x29fc34(0x1bd)+_0x5791b4+'.');return{..._0x239ff5,'id':_0x5791b4,'type':_0x7951f,'params':{'unitId':_0x4e4832[_0x29fc34(0x1b8)],'textRanges':_0x4e4832['textRanges'],'actions':o['JSONX'][_0x29fc34(0x34c)](_0x16f203[_0x29fc34(0x11c)],_0x4e4832['actions'])}};},{})],_0x2192b3=(_0x76e0d6=(_0x5ac0dc=_0x56d2a0[_0x35cd4f(0x31f)]())==null?void 0x0:_0x5ac0dc[_0x35cd4f(0x198)])!=null?_0x76e0d6:_0x35cd4f(0x249),_0x1db2ee=(_0x496f3e=(_0x301dee=_0x56d2a0['getCurrentUser']())==null?void 0x0:_0x301dee[_0x35cd4f(0x301)])!=null?_0x496f3e:_0x35cd4f(0x249);return{'changeset':{'unitID':_0x28f302,'type':E['mapDocumentTypeToUniverType'](_0x218d52[_0x35cd4f(0x247)](_0x28f302)),'baseRev':_0x95bc22[_0x35cd4f(0x1c9)](_0x28f302),'revision':0x0,'userID':_0x2192b3,'memberID':_0x1db2ee,'mutations':_0x523801},'pendingMutations':[]};}function St(_0x3b1cb1,_0x2537e3){var _0x34e6da=_0x54277f;const _0x2b8e2d=new j[(_0x34e6da(0x219))](0x1);return setTimeout(()=>_0x2b8e2d[_0x34e6da(0x2f7)](_0x2537e3),_0x3b1cb1),_0x2b8e2d[_0x34e6da(0x40f)]()[_0x34e6da(0x1e6)](j[_0x34e6da(0x15c)](0x1));}var ni=Object['getOwnPropertyDescriptor'],ae=(_0x29ecb0,_0x41cbcc,_0x39f03b,_0x22eae1)=>{for(var _0x33e304=_0x22eae1>0x1?void 0x0:_0x22eae1?ni(_0x41cbcc,_0x39f03b):_0x41cbcc,_0x483a22=_0x29ecb0['length']-0x1,_0x43ce52;_0x483a22>=0x0;_0x483a22--)(_0x43ce52=_0x29ecb0[_0x483a22])&&(_0x33e304=_0x43ce52(_0x33e304)||_0x33e304);return _0x33e304;},L=(_0x12b4e7,_0x3671fc)=>(_0x47a4ee,_0x3c381c)=>_0x3671fc(_0x47a4ee,_0x3c381c,_0x12b4e7),je=(_0x269b67=>(_0x269b67[_0x54277f(0x2f4)]=_0x54277f(0x28a),_0x269b67[_0x54277f(0x426)]=_0x54277f(0x21d),_0x269b67['PENDING']=_0x54277f(0xf5),_0x269b67[_0x54277f(0x201)]=_0x54277f(0x33f),_0x269b67[_0x54277f(0x41f)]='awaiting_with_pending',_0x269b67[_0x54277f(0x390)]='fetch_missing',_0x269b67[_0x54277f(0x279)]=_0x54277f(0x3ca),_0x269b67[_0x54277f(0x34d)]=_0x54277f(0x157),_0x269b67))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x1a4ed6,_0x16da1b,_0x3bc055,_0x225ca3,_0x31e19e,_0x3bbdc1,_0x45f0fa,_0x2aabe7,_0xa6a37a){var _0x21376a=_0x54277f;A(this,'_awaitingChangeset',null),A(this,_0x21376a(0x41e),[]),(this[_0x21376a(0x289)]=_0x1a4ed6,this[_0x21376a(0x24e)]=_0x16da1b,this[_0x21376a(0x22f)]=_0x31e19e,this[_0x21376a(0x41d)]=_0x3bbdc1,this[_0x21376a(0x109)]=_0x45f0fa,this['_revisionService']=_0x2aabe7,this[_0x21376a(0x36c)]=_0xa6a37a,this['_awaitingChangeset']=_0x3bc055,this['_pendingMutations']=_0x225ca3);}[_0x54277f(0x33e)](_0x5cf0cc){var _0xef81c5=_0x54277f;const _0x36e06c=this['_revisionService']['getCurrentRevOfUnit'](this[_0xef81c5(0x289)]);return _0x5cf0cc['revision']>_0x36e06c+0x1?(this[_0xef81c5(0x22f)][_0xef81c5(0x19c)]({'from':_0x36e06c,'to':_0x5cf0cc[_0xef81c5(0x242)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x37965a){var _0x3de2ef=_0x54277f;this[_0x3de2ef(0x109)][_0x3de2ef(0x179)](this[_0x3de2ef(0x289)],_0x37965a);}[_0x54277f(0x1d9)](_0x113e2a){var _0x4f3833=_0x54277f,_0xc9fb8f,_0x370754;(_0x370754=(_0xc9fb8f=this[_0x4f3833(0x22f)])[_0x4f3833(0x421)])==null||_0x370754[_0x4f3833(0x423)](_0xc9fb8f,_0x113e2a);}['_transformIMECache'](_0x12896c){var _0x3b6b7c=_0x54277f,_0x109c6a,_0x2d42fb;return(_0x2d42fb=(_0x109c6a=this[_0x3b6b7c(0x22f)])[_0x3b6b7c(0x1eb)])==null?void 0x0:_0x2d42fb[_0x3b6b7c(0x423)](_0x109c6a,_0x12896c);}[_0x54277f(0x2f6)](_0x2b351b){var _0x4e950d=_0x54277f,_0x1e73d3,_0x344120;return(_0x344120=(_0x1e73d3=this[_0x4e950d(0x22f)])[_0x4e950d(0x185)])==null?void 0x0:_0x344120['call'](_0x1e73d3,_0x2b351b);}[_0x54277f(0x3be)](_0x21869d){var _0x30ed56=_0x54277f,_0x30e08b,_0xb0e4e,_0x291ed5;return(_0x291ed5=(_0xb0e4e=(_0x30e08b=this[_0x30ed56(0x22f)])[_0x30ed56(0x3d1)])==null?void 0x0:_0xb0e4e['call'](_0x30e08b,_0x21869d))!=null?_0x291ed5:_0x21869d;}[_0x54277f(0x188)](_0x558048){var _0x4f973d=_0x54277f,_0xd09b91,_0x4dc3a0,_0x481882;return(_0x481882=(_0x4dc3a0=(_0xd09b91=this[_0x4f973d(0x22f)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4dc3a0['call'](_0xd09b91,_0x558048))!=null?_0x481882:_0x558048;}[_0x54277f(0x1d7)](_0x3f6a4a){var _0x1c7cd9=_0x54277f,_0x2b7aac,_0x2739e1;if(this[_0x1c7cd9(0x24e)]===X[_0x1c7cd9(0x345)]){const {unitID:_0xd1df94,mutations:_0x1fd480,memberID:_0xe782e9}=_0x3f6a4a,_0x59b3ba=_0x1fd480[_0x1c7cd9(0x3a0)]>0x0?_0x1fd480[0x0][_0x1c7cd9(0x18e)]['textRanges']:[];Array[_0x1c7cd9(0x3d7)](_0x59b3ba)&&_0x59b3ba[_0x1c7cd9(0x3a0)]>0x0&&((_0x2739e1=(_0x2b7aac=this[_0x1c7cd9(0x22f)])[_0x1c7cd9(0x1b1)])==null||_0x2739e1[_0x1c7cd9(0x423)](_0x2b7aac,{'unitID':_0xd1df94,'memberID':_0xe782e9,'textRanges':_0x59b3ba}));}}[_0x54277f(0x2b2)](){var _0x44dac8=_0x54277f,_0x593687;(_0x593687=this['_localCacheService'])==null||_0x593687[_0x44dac8(0x281)](this[_0x44dac8(0x289)],this[_0x44dac8(0x24e)],this[_0x44dac8(0x1e4)],this[_0x44dac8(0x41e)]);}[_0x54277f(0x370)](){var _0x18ca36=_0x54277f;return this[_0x18ca36(0x2ca)][_0x18ca36(0x1c9)](this[_0x18ca36(0x289)]);}['_incrementRevisionNumber'](){var _0x2792f6=_0x54277f;this[_0x2792f6(0x2ca)][_0x2792f6(0x1a5)](this[_0x2792f6(0x289)]);}[_0x54277f(0x380)](_0x93bbb3){var _0x3f0320=_0x54277f,_0x282ca4;let _0x3c6e19=this[_0x3f0320(0x3be)](_0x93bbb3);_0x3c6e19=this[_0x3f0320(0x188)](_0x3c6e19);const _0x27a07c=o[_0x3f0320(0x1ef)](_0x3c6e19[_0x3f0320(0x138)],this[_0x3f0320(0x41d)],{'fromCollab':!0x0});if(!_0x27a07c[_0x3f0320(0x357)])throw _0x27a07c[_0x3f0320(0x437)]instanceof Error?_0x27a07c[_0x3f0320(0x437)]:new Error((_0x282ca4=_0x27a07c[_0x3f0320(0x437)])!=null?_0x282ca4:_0x3f0320(0x21e));this[_0x3f0320(0x45b)](_0x3c6e19),this[_0x3f0320(0x2f6)](_0x3c6e19),this[_0x3f0320(0x3a3)](_0x93bbb3),this[_0x3f0320(0x1d9)](_0x3c6e19),this['_syncEditingCollabCursor'](_0x3c6e19),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends oe{constructor(_0x2feb1b,_0x510d03,_0x4a6e1f,_0x544e31,_0x4e88e1,_0x9db8b6,_0x3723cc,_0x2811b4,_0x293703,_0x4a9cc3){var _0x15cc6a=_0x54277f;super(_0x2feb1b,_0x510d03,null,[],_0x4a6e1f,_0x3723cc,_0x9db8b6,_0x544e31,_0x4a9cc3),A(this,_0x15cc6a(0x240),_0x15cc6a(0x21d)),(this[_0x15cc6a(0x1da)]=_0x4e88e1,this['_logService']=_0x2811b4,this[_0x15cc6a(0x30a)]=_0x293703,this[_0x15cc6a(0x3db)]=_0x4a9cc3);}[_0x54277f(0x2e6)](_0x39216f){var _0x545d3a=_0x54277f;const _0x545dd0=this[_0x545d3a(0x1da)]['createInstance'](exports[_0x545d3a(0x438)],this[_0x545d3a(0x289)],this[_0x545d3a(0x24e)],[_0x39216f],this[_0x545d3a(0x22f)]);return _0x545dd0['_schedule'](),_0x545dd0[_0x545d3a(0x2b2)](),_0x545dd0;}[_0x54277f(0x22c)](_0x19dd33){var _0x5116e8=_0x54277f;if(this[_0x5116e8(0x33e)](_0x19dd33))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x5116e8(0x289)],this[_0x5116e8(0x24e)],null,[],null,[_0x19dd33],this[_0x5116e8(0x22f)]);try{const _0x1bd350=this[_0x5116e8(0x30a)]['transformMutationsWithChangeset'](_0x19dd33,[E[_0x5116e8(0xf7)]]);if(E['isTransformMutationsWithChangesetSuccess'](_0x1bd350)){const {c1Prime:_0x882b26}=_0x1bd350;return this[_0x5116e8(0x380)](_0x882b26),this;}throw _0x1bd350['error'];}catch(_0x16fa3f){return this[_0x5116e8(0x20f)][_0x5116e8(0x437)](_0x16fa3f),this[_0x5116e8(0x2d7)](!0x1);}}[_0x54277f(0x2d7)](_0x5437e2){var _0x49953a=_0x54277f;return this[_0x49953a(0x1da)][_0x49953a(0x2bd)](exports[_0x49953a(0x224)],this[_0x49953a(0x289)],this[_0x49953a(0x24e)],null,[],this[_0x49953a(0x22f)],_0x5437e2);}[_0x54277f(0x103)](){var _0x513660=_0x54277f;throw new Error(_0x513660(0x145));}[_0x54277f(0x28e)](){var _0x44b7a1=_0x54277f;throw new Error(_0x44b7a1(0x2b7));}[_0x54277f(0x175)](){return this;}['toggleOffline'](){var _0x349555=_0x54277f;return this[_0x349555(0x1da)][_0x349555(0x2bd)](exports[_0x349555(0x2e4)],this[_0x349555(0x289)],this[_0x349555(0x24e)],null,[],this[_0x349555(0x22f)]);}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x26d)](){var _0x3922ab=_0x54277f;throw new Error(_0x3922ab(0x32b));}['fetchMiss'](){var _0x124f69=_0x54277f;const _0x285618=this['_revisionService'][_0x124f69(0x1c9)](this[_0x124f69(0x289)]);return this[_0x124f69(0x22f)]['onMissingChangesets']({'from':_0x285618,'to':0x0}),this[_0x124f69(0x1da)][_0x124f69(0x2bd)](exports[_0x124f69(0x407)],this['unitID'],this[_0x124f69(0x24e)],null,[],null,[],this['_handler']);}},exports[_0x54277f(0x291)]=ae([L(0x3,o[_0x54277f(0x226)](E['RevisionService'])),L(0x4,o['Inject'](o[_0x54277f(0x442)])),L(0x5,o['IUndoRedoService']),L(0x6,o[_0x54277f(0xf6)]),L(0x7,o[_0x54277f(0x15b)]),L(0x8,E['ITransformService']),L(0x9,o['Optional'](q))],exports[_0x54277f(0x291)]),exports[_0x54277f(0x438)]=class extends oe{constructor(_0xb413ba,_0x812278,_0x446c8b,_0x20e2ba,_0x6a57fd,_0x2fa180,_0x2bf4a4,_0xd77b8a,_0x324135,_0x14b8a6,_0x15f774,_0x4d2f9b,_0x3205f0,_0x10231b){var _0x37e6c5=_0x54277f;super(_0xb413ba,_0x812278,null,_0x446c8b,_0x20e2ba,_0x324135,_0x3205f0,_0x2fa180,_0x10231b),A(this,_0x37e6c5(0x240),_0x37e6c5(0xf5)),A(this,_0x37e6c5(0x30f),null),A(this,_0x37e6c5(0x14a),null),(this['_injector']=_0x6a57fd,this[_0x37e6c5(0x25a)]=_0x2bf4a4,this[_0x37e6c5(0x20f)]=_0xd77b8a,this[_0x37e6c5(0x20d)]=_0x14b8a6,this[_0x37e6c5(0x30a)]=_0x15f774,this[_0x37e6c5(0x327)]=_0x4d2f9b);}[_0x54277f(0x2e6)](_0x3d0d8a){var _0x57420f=_0x54277f;return this['_pendingMutations']['push'](_0x3d0d8a),this[_0x57420f(0x2b2)](),this;}[_0x54277f(0x22c)](_0x4da087){var _0x35392a=_0x54277f;if(this['_checkMissing'](_0x4da087))return this[_0x35392a(0x255)](),this['_injector'][_0x35392a(0x2bd)](exports[_0x35392a(0x407)],this[_0x35392a(0x289)],this[_0x35392a(0x24e)],null,this[_0x35392a(0x41e)],null,[_0x4da087],this['_handler']);try{const _0x24d11a=this['_transformService'][_0x35392a(0x287)](_0x4da087,this[_0x35392a(0x41e)]);if(E[_0x35392a(0x376)](_0x24d11a)){const {c1Prime:_0x4820d9,m2Prime:_0x48dbd5}=_0x24d11a;this[_0x35392a(0x380)](_0x4820d9);const _0x237108=this[_0x35392a(0x1da)][_0x35392a(0x2bd)](exports['PendingState'],this[_0x35392a(0x289)],this[_0x35392a(0x24e)],_0x48dbd5,this[_0x35392a(0x22f)]);this[_0x35392a(0x255)]();const _0x48e8e5=new Date()[_0x35392a(0x448)](),_0xcb7f36=this[_0x35392a(0x30f)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x48e8e5,0x0):this[_0x35392a(0x324)]();return _0x237108[_0x35392a(0x1a9)](_0xcb7f36),_0x237108;}throw _0x24d11a['error'];}catch(_0x21ca05){return this[_0x35392a(0x20f)][_0x35392a(0x437)](_0x21ca05),this[_0x35392a(0x2d7)](!0x1);}}[_0x54277f(0x103)](){var _0x22f516=_0x54277f;throw new Error(_0x22f516(0x3ec));}[_0x54277f(0x28e)](){var _0x39e69b=_0x54277f;throw new Error(_0x39e69b(0x335));}[_0x54277f(0x175)](){return this;}['toggleOffline'](){var _0x164096=_0x54277f;return this[_0x164096(0x255)](),this['_injector'][_0x164096(0x2bd)](exports[_0x164096(0x2e4)],this[_0x164096(0x289)],this['type'],null,this[_0x164096(0x41e)],this[_0x164096(0x22f)]);}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x1a9)](_0x3a4321){var _0x5ecaf9=_0x54277f;const _0x5cff9e=_0x3a4321!=null?_0x3a4321:this[_0x5ecaf9(0x324)]();this[_0x5ecaf9(0x30f)]=new Date()[_0x5ecaf9(0x448)]()+_0x5cff9e,this[_0x5ecaf9(0x14a)]=setTimeout(()=>{var _0x2770c1=_0x5ecaf9;this[_0x2770c1(0x255)]();let _0x13dbfb=null;switch(this[_0x2770c1(0x24e)]){case X[_0x2770c1(0x1c7)]:{_0x13dbfb=Ge(this[_0x2770c1(0x41e)],this[_0x2770c1(0x289)],this[_0x2770c1(0x327)],this[_0x2770c1(0x2ca)],this[_0x2770c1(0x25a)]);break;}case X[_0x2770c1(0x345)]:{this[_0x2770c1(0x41e)][_0x2770c1(0x444)](_0xb6eaf4=>_0xb6eaf4['id']===ct[_0x2770c1(0x251)]['id'])?_0x13dbfb=ii(this[_0x2770c1(0x41e)],this[_0x2770c1(0x289)],this[_0x2770c1(0x327)],this[_0x2770c1(0x2ca)],this[_0x2770c1(0x25a)]):_0x13dbfb=Ge(this[_0x2770c1(0x41e)],this[_0x2770c1(0x289)],this[_0x2770c1(0x327)],this[_0x2770c1(0x2ca)],this[_0x2770c1(0x25a)]);break;}default:throw new Error(_0x2770c1(0x141)+this['type']+_0x2770c1(0x192));}const {changeset:_0x1913e2,pendingMutations:_0x3b8d87}=_0x13dbfb;this['_handler'][_0x2770c1(0x214)](_0x1913e2);const _0xc4ffe3=_0x3b8d87[_0x2770c1(0x3a0)]?this[_0x2770c1(0x1da)]['createInstance'](exports[_0x2770c1(0x140)],this[_0x2770c1(0x289)],this[_0x2770c1(0x24e)],_0x1913e2,_0x3b8d87,this[_0x2770c1(0x22f)],void 0x0):this[_0x2770c1(0x1da)]['createInstance'](exports[_0x2770c1(0x259)],this[_0x2770c1(0x289)],this['type'],_0x1913e2,this['_handler']);_0xc4ffe3[_0x2770c1(0x2b2)](),this['_handler']['onStateChange'](this,_0xc4ffe3);},_0x5cff9e);}[_0x54277f(0x324)](){var _0x1abdde=_0x54277f,_0x3cfd1a;const _0x3318c0=this['_configService'][_0x1abdde(0x319)](Y);return(_0x3cfd1a=_0x3318c0==null?void 0x0:_0x3318c0[_0x1abdde(0x206)])!=null?_0x3cfd1a:At;}[_0x54277f(0x26d)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x54277f(0x255)](){var _0x5d2b7f=_0x54277f;this[_0x5d2b7f(0x14a)]!=null&&(clearTimeout(this[_0x5d2b7f(0x14a)]),this[_0x5d2b7f(0x14a)]=null);}[_0x54277f(0x2d7)](_0x4bf782){var _0x53f72c=_0x54277f;return this['_clearScheduledTask'](),this[_0x53f72c(0x1da)][_0x53f72c(0x2bd)](exports[_0x53f72c(0x224)],this[_0x53f72c(0x289)],this[_0x53f72c(0x24e)],null,this['_pendingMutations'],this[_0x53f72c(0x22f)],_0x4bf782);}},exports[_0x54277f(0x438)]=ae([L(0x4,o[_0x54277f(0x226)](o['Injector'])),L(0x5,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x6,o['Inject'](exports[_0x54277f(0x2d1)])),L(0x7,o[_0x54277f(0x15b)]),L(0x8,o[_0x54277f(0xf6)]),L(0x9,o[_0x54277f(0x3b4)]),L(0xa,E[_0x54277f(0x100)]),L(0xb,o[_0x54277f(0x277)]),L(0xc,o[_0x54277f(0x1a7)]),L(0xd,o[_0x54277f(0x229)](q))],exports['PendingState']),exports[_0x54277f(0x259)]=class extends oe{constructor(_0x1c7013,_0x40cc84,_0x3e9ec7,_0xd36768,_0x26e737,_0x3728eb,_0x24f80f,_0x38d841,_0x2fb695,_0x126b42,_0x42008b){var _0x498332=_0x54277f;super(_0x1c7013,_0x40cc84,_0x3e9ec7,[],_0xd36768,_0x24f80f,_0x126b42,_0x3728eb,_0x42008b),A(this,_0x498332(0x240),'awaiting'),A(this,_0x498332(0x252),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,_0x498332(0x2b5)),A(this,_0x498332(0x1d4)),(this[_0x498332(0x1da)]=_0x26e737,this[_0x498332(0x20f)]=_0x38d841,this[_0x498332(0x30a)]=_0x2fb695);}[_0x54277f(0x2e6)](_0xbfa808){var _0x1906f=_0x54277f;this[_0x1906f(0x255)]();const _0x44c05c=this[_0x1906f(0x1da)][_0x1906f(0x2bd)](exports[_0x1906f(0x140)],this[_0x1906f(0x289)],this[_0x1906f(0x24e)],this[_0x1906f(0x1e4)],[_0xbfa808],this[_0x1906f(0x22f)],this[_0x1906f(0x2b5)]);return _0x44c05c[_0x1906f(0x2b2)](),_0x44c05c;}[_0x54277f(0x22c)](_0x5eb42f){var _0x2f4cad=_0x54277f;if(this[_0x2f4cad(0x33e)](_0x5eb42f))return this[_0x2f4cad(0x255)](),this[_0x2f4cad(0x1da)]['createInstance'](exports[_0x2f4cad(0x407)],this[_0x2f4cad(0x289)],this[_0x2f4cad(0x24e)],this[_0x2f4cad(0x1e4)],[],null,[_0x5eb42f],this[_0x2f4cad(0x22f)]);try{const _0x326d3e=this['_transformService']['transformChangesets']([_0x5eb42f],[this[_0x2f4cad(0x1e4)]],!0x1);if(E['isTransformChangesetsSuccess'](_0x326d3e)){const {c1Prime:_0x4332a6,c2Prime:_0x27f6cb}=_0x326d3e;this[_0x2f4cad(0x380)](_0x4332a6[0x0]),_0x27f6cb[0x0][_0x2f4cad(0x29f)]=this['_getCurrentRevision'](),this[_0x2f4cad(0x255)]();const _0xa3226e=this['_injector'][_0x2f4cad(0x2bd)](exports[_0x2f4cad(0x259)],this[_0x2f4cad(0x289)],this[_0x2f4cad(0x24e)],_0x27f6cb[0x0],this[_0x2f4cad(0x22f)]);return _0xa3226e[_0x2f4cad(0x2b2)](),_0xa3226e;}return this[_0x2f4cad(0x2d7)](!0x1);}catch(_0x22c5d1){return this[_0x2f4cad(0x20f)][_0x2f4cad(0x437)](_0x22c5d1),this[_0x2f4cad(0x2d7)](!0x1);}}[_0x54277f(0x103)](_0x500dcf){var _0x2476c1=_0x54277f;this[_0x2476c1(0x255)]();const _0x44f323=this[_0x2476c1(0x2ca)][_0x2476c1(0x1c9)](this['unitID']);if(_0x500dcf[_0x2476c1(0x242)]<_0x44f323-0x1)return this;if(this[_0x2476c1(0x33e)](_0x500dcf))return this[_0x2476c1(0x1da)][_0x2476c1(0x2bd)](exports[_0x2476c1(0x407)],this[_0x2476c1(0x289)],this[_0x2476c1(0x24e)],null,[],this[_0x2476c1(0x1e4)],[],this[_0x2476c1(0x22f)]);this[_0x2476c1(0x341)]();const _0x384c71=this[_0x2476c1(0x1da)][_0x2476c1(0x2bd)](exports['SyncedState'],this['unitID'],this[_0x2476c1(0x24e)],this['_handler']);return _0x384c71[_0x2476c1(0x2b2)](),_0x384c71;}[_0x54277f(0x28e)](_0x4c45aa){var _0x3f6b9d=_0x54277f;return this[_0x3f6b9d(0x2d7)](!!(_0x4c45aa!=null&&_0x4c45aa[_0x3f6b9d(0x373)]));}[_0x54277f(0x175)](_0x29ff9e){var _0x25ee42=_0x54277f;return this[_0x25ee42(0x45d)]>ft?this['toggleOffline']():(this[_0x25ee42(0x2b5)]=St(this[_0x25ee42(0x252)],{'timeout':this[_0x25ee42(0x252)],'reqId':_0x29ff9e[_0x25ee42(0x33d)]}),this[_0x25ee42(0x1d4)]=this['_resendTimer'][_0x25ee42(0x217)](({reqId:_0x2a6fb4,timeout:_0x53ba26})=>{var _0x301845=_0x25ee42;this[_0x301845(0x1b3)](_0x2a6fb4,_0x53ba26);}),this);}[_0x54277f(0x358)](){var _0x4e66c9=_0x54277f;return this['_clearScheduledTask'](),this[_0x4e66c9(0x1da)][_0x4e66c9(0x2bd)](exports[_0x4e66c9(0x2e4)],this[_0x4e66c9(0x289)],this['type'],this['_awaitingChangeset'],[],this[_0x4e66c9(0x22f)]);}['toggleOnline'](){return this;}[_0x54277f(0x26d)](){var _0x4cc311=_0x54277f;this[_0x4cc311(0x22f)][_0x4cc311(0x214)](this[_0x4cc311(0x1e4)]);}[_0x54277f(0x2d7)](_0x5f8ddb){var _0x4c0163=_0x54277f;return this['_clearScheduledTask'](),this[_0x4c0163(0x1da)]['createInstance'](exports[_0x4c0163(0x224)],this[_0x4c0163(0x289)],this[_0x4c0163(0x24e)],this[_0x4c0163(0x1e4)],[],this[_0x4c0163(0x22f)],_0x5f8ddb);}['_resendWithTimeout'](_0x1090bf,_0x3b3dd6){var _0x146a0b=_0x54277f,_0x38de4a;_0x1090bf===((_0x38de4a=this[_0x146a0b(0x1e4)])==null?void 0x0:_0x38de4a[_0x146a0b(0x33d)])&&(this[_0x146a0b(0x26d)](),this[_0x146a0b(0x252)]=_0x3b3dd6===0x0?0x3e8:Math[_0x146a0b(0x139)](_0x3b3dd6*0x2,It),this[_0x146a0b(0x45d)]+=this[_0x146a0b(0x252)]);}[_0x54277f(0x255)](){var _0x305e0c=_0x54277f,_0x26f0f8;(_0x26f0f8=this[_0x305e0c(0x1d4)])==null||_0x26f0f8[_0x305e0c(0x429)](),this['_resendTimeout']=0x0,this[_0x305e0c(0x45d)]=0x0;}},exports[_0x54277f(0x259)]=ae([L(0x4,o['Inject'](o['Injector'])),L(0x5,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x6,o[_0x54277f(0xf6)]),L(0x7,o['ILogService']),L(0x8,E[_0x54277f(0x100)]),L(0x9,o[_0x54277f(0x1a7)]),L(0xa,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x259)]),exports[_0x54277f(0x140)]=class extends oe{constructor(_0x2100aa,_0x4cf503,_0x43fad9,_0x1b6e61,_0x49338f,_0x32cca6,_0x1d4d72,_0x100a27,_0x48ad56,_0xe5c2a8,_0x214277,_0x119f6a,_0x32be83){var _0x234a77=_0x54277f;super(_0x2100aa,_0x4cf503,_0x43fad9,_0x1b6e61,_0x49338f,_0x48ad56,_0x119f6a,_0x100a27,_0x32be83),A(this,_0x234a77(0x240),_0x234a77(0x24f)),A(this,_0x234a77(0x252),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,'_resendTimer'),A(this,_0x234a77(0x1d4)),(this[_0x234a77(0x1da)]=_0x1d4d72,this[_0x234a77(0x20f)]=_0xe5c2a8,this['_transformService']=_0x214277,this[_0x234a77(0x3db)]=_0x32be83,_0x32cca6&&(this['_resendTimer']=_0x32cca6,this[_0x234a77(0x1d4)]=this[_0x234a77(0x2b5)]['subscribe'](({reqId:_0x111c97,timeout:_0x13350f})=>{var _0x1f26be=_0x234a77;this[_0x1f26be(0x1b3)](_0x111c97,_0x13350f);})));}['appendMutation'](_0x145e2e){var _0x4ec5f2=_0x54277f;return this[_0x4ec5f2(0x41e)][_0x4ec5f2(0x394)](_0x145e2e),this;}[_0x54277f(0x22c)](_0x8a7b72){var _0x24a3e4=_0x54277f;if(this['_checkMissing'](_0x8a7b72))return this[_0x24a3e4(0x255)](),this[_0x24a3e4(0x1da)][_0x24a3e4(0x2bd)](exports[_0x24a3e4(0x407)],this['unitID'],this[_0x24a3e4(0x24e)],this[_0x24a3e4(0x1e4)],this['_pendingMutations'],null,[_0x8a7b72],this[_0x24a3e4(0x22f)]);try{const _0x240fff=this['_transformService'][_0x24a3e4(0x14d)]([_0x8a7b72],[this[_0x24a3e4(0x1e4)]],!0x1);if(E[_0x24a3e4(0x30d)](_0x240fff)){const {c1Prime:_0x50a413,c2Prime:_0x46973b}=_0x240fff,_0x13a692=this[_0x24a3e4(0x30a)][_0x24a3e4(0x287)](_0x50a413[0x0],this['_pendingMutations']);if(E[_0x24a3e4(0x376)](_0x13a692)){const {c1Prime:_0x4e05e0,m2Prime:_0x52d7b1}=_0x13a692;return this[_0x24a3e4(0x380)](_0x4e05e0),_0x46973b[0x0][_0x24a3e4(0x29f)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x24a3e4(0x1da)][_0x24a3e4(0x2bd)](exports[_0x24a3e4(0x140)],this['unitID'],this[_0x24a3e4(0x24e)],_0x46973b[0x0],_0x52d7b1,this[_0x24a3e4(0x22f)],void 0x0);}throw _0x13a692[_0x24a3e4(0x437)];}throw _0x240fff[_0x24a3e4(0x437)];}catch(_0x30ca4a){return this[_0x24a3e4(0x20f)][_0x24a3e4(0x437)](_0x30ca4a),this[_0x24a3e4(0x2d7)](!0x1);}}[_0x54277f(0x103)](_0x7201f7){var _0x3dacab=_0x54277f;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x7201f7))return this['_injector'][_0x3dacab(0x2bd)](exports[_0x3dacab(0x407)],this[_0x3dacab(0x289)],this['type'],null,this[_0x3dacab(0x41e)],this['_awaitingChangeset'],[],this[_0x3dacab(0x22f)]);this['_incrementRevisionNumber']();const _0x2386e3=this['_injector'][_0x3dacab(0x2bd)](exports[_0x3dacab(0x438)],this[_0x3dacab(0x289)],this[_0x3dacab(0x24e)],this[_0x3dacab(0x41e)],this[_0x3dacab(0x22f)]);return _0x2386e3['_schedule'](),_0x2386e3['_updateLocalCache'](),_0x2386e3;}[_0x54277f(0x28e)](_0x374f1d){return this['_onConflict'](!!(_0x374f1d!=null&&_0x374f1d['isPermissionRej']));}[_0x54277f(0x175)](_0x497895){var _0x21a702=_0x54277f;return this[_0x21a702(0x45d)]>ft?this[_0x21a702(0x358)]():(this[_0x21a702(0x2b5)]=St(this['_resendTimeout'],{'timeout':this[_0x21a702(0x252)],'reqId':_0x497895[_0x21a702(0x33d)]}),this[_0x21a702(0x1d4)]=this[_0x21a702(0x2b5)][_0x21a702(0x217)](({reqId:_0x3eedcb,timeout:_0x1ca552})=>{var _0x26db0f=_0x21a702;this[_0x26db0f(0x1b3)](_0x3eedcb,_0x1ca552);}),this);}[_0x54277f(0x358)](){var _0xac4cee=_0x54277f;return this['_clearScheduledTask'](),this[_0xac4cee(0x1da)][_0xac4cee(0x2bd)](exports[_0xac4cee(0x2e4)],this[_0xac4cee(0x289)],this[_0xac4cee(0x24e)],this[_0xac4cee(0x1e4)],this[_0xac4cee(0x41e)],this[_0xac4cee(0x22f)]);}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x26d)](){var _0x5ec6b1=_0x54277f;this['_handler']['onSendChangeset'](this[_0x5ec6b1(0x1e4)]);}[_0x54277f(0x2d7)](_0x1bc6e0){var _0x41dd80=_0x54277f;return this[_0x41dd80(0x255)](),this[_0x41dd80(0x1da)]['createInstance'](exports[_0x41dd80(0x224)],this['unitID'],this['type'],null,this[_0x41dd80(0x41e)],this[_0x41dd80(0x22f)],_0x1bc6e0);}['_resendWithTimeout'](_0x538c9f,_0x205a78){var _0x4db469=_0x54277f,_0x3e9934;_0x538c9f===((_0x3e9934=this[_0x4db469(0x1e4)])==null?void 0x0:_0x3e9934['reqId'])&&(this[_0x4db469(0x26d)](),this[_0x4db469(0x252)]=_0x205a78===0x0?0x3e8:Math[_0x4db469(0x139)](_0x205a78*0x2,It),this[_0x4db469(0x45d)]+=this[_0x4db469(0x252)]);}['_clearScheduledTask'](){var _0x136093=_0x54277f,_0x1af9ac;(_0x1af9ac=this[_0x136093(0x1d4)])==null||_0x1af9ac[_0x136093(0x429)](),this[_0x136093(0x252)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x54277f(0x140)]=ae([L(0x6,o['Inject'](o[_0x54277f(0x442)])),L(0x7,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x8,o['ICommandService']),L(0x9,o[_0x54277f(0x15b)]),L(0xa,E[_0x54277f(0x100)]),L(0xb,o[_0x54277f(0x1a7)]),L(0xc,o['Optional'](q))],exports[_0x54277f(0x140)]),exports['ConflictState']=class extends oe{constructor(_0x25a883,_0x14dfe5,_0x56b801,_0x366ad0,_0x1b1c90,_0x147e53=!0x1,_0x667fcb,_0x19c951,_0x35a5a7,_0x5c145d,_0x134e9c,_0x57afc3,_0x2c2943){var _0x302cdf=_0x54277f;super(_0x25a883,_0x14dfe5,_0x56b801,_0x366ad0,_0x1b1c90,_0x19c951,_0x35a5a7,_0x5c145d,_0x2c2943),A(this,_0x302cdf(0x240),_0x302cdf(0x3ca)),(this[_0x302cdf(0x1e2)]=_0x147e53,this['_permissionService']=_0x667fcb,this[_0x302cdf(0x168)]=_0x134e9c,this[_0x302cdf(0x466)]=_0x57afc3,this[_0x302cdf(0x3db)]=_0x2c2943,this[_0x302cdf(0x241)](),this[_0x302cdf(0x1d1)](),this[_0x302cdf(0x104)]());}[_0x54277f(0x2e6)](){return this;}[_0x54277f(0x22c)](){return this;}[_0x54277f(0x103)](){return this;}[_0x54277f(0x28e)](){return this;}['onRemoteRetry'](){return this;}[_0x54277f(0x358)](){return this;}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x26d)](){var _0x34fddd=_0x54277f;throw new Error(_0x34fddd(0x26e));}[_0x54277f(0x1d1)](){var _0x1c0eac=_0x54277f,_0x34dba8;(_0x34dba8=this[_0x1c0eac(0x36c)])==null||_0x34dba8[_0x1c0eac(0x281)](this[_0x1c0eac(0x289)],this['type'],null,[]);}['_showConflictNotification'](){var _0x374b90=_0x54277f;this[_0x374b90(0x1e2)]?this[_0x374b90(0x466)][_0x374b90(0x2a8)]({'id':J['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x374b90(0x2a8)]({'id':J[_0x374b90(0x279)]});}[_0x54277f(0x104)](){var _0x4fedcb=_0x54277f;this['_permissionService'][_0x4fedcb(0x469)](new Q['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},exports[_0x54277f(0x224)]=ae([L(0x6,o['Inject'](o[_0x54277f(0x46e)])),L(0x7,o[_0x54277f(0xf6)]),L(0x8,o[_0x54277f(0x1a7)]),L(0x9,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0xa,o[_0x54277f(0x226)](o['LocaleService'])),L(0xb,o[_0x54277f(0x226)](ee)),L(0xc,o['Optional'](q))],exports[_0x54277f(0x224)]),exports[_0x54277f(0x2e4)]=class extends oe{constructor(_0x82681,_0x447601,_0x10556d,_0xd2c002,_0x1e874f,_0x189c49,_0x2eaae6,_0x5ecc5f,_0x239828,_0x3846cb){var _0x122918=_0x54277f;super(_0x82681,_0x447601,_0x10556d,_0xd2c002,_0x1e874f,_0x5ecc5f,_0x239828,_0x2eaae6,_0x3846cb),A(this,'status',_0x122918(0x157)),this[_0x122918(0x1da)]=_0x189c49;}[_0x54277f(0x2e6)](_0x4617d5){var _0x5a909e=_0x54277f;return this['_pendingMutations'][_0x5a909e(0x394)](_0x4617d5),this[_0x5a909e(0x2b2)](),this;}[_0x54277f(0x22c)](_0xae30c0){var _0x55acc1=_0x54277f;throw new Error(_0x55acc1(0x36e));}[_0x54277f(0x103)](){var _0x58c2a3=_0x54277f;throw new Error(_0x58c2a3(0x326));}[_0x54277f(0x28e)](){var _0x33cce3=_0x54277f;throw new Error(_0x33cce3(0x3e5));}['onRemoteRetry'](){return this;}[_0x54277f(0x358)](){return this;}[_0x54277f(0x3e2)](){var _0x3fd515=_0x54277f;const {_injector:_0x14851a,_pendingMutations:_0x13b165,_awaitingChangeset:_0x5f1263,unitID:_0x1af9e3,_handler:_0x549ba7,type:_0xca1e2a}=this,_0x4cda4a=Et(_0x14851a,_0x1af9e3,_0xca1e2a,_0x5f1263,_0x13b165,_0x549ba7);return _0x4cda4a instanceof exports[_0x3fd515(0x438)]?_0x4cda4a[_0x3fd515(0x1a9)]():(_0x4cda4a instanceof exports[_0x3fd515(0x140)]||_0x4cda4a instanceof exports['AwaitingState'])&&_0x4cda4a[_0x3fd515(0x26d)](),_0x4cda4a;}[_0x54277f(0x26d)](){var _0x35c387=_0x54277f;throw new Error(_0x35c387(0x440));}},exports[_0x54277f(0x2e4)]=ae([L(0x5,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),L(0x6,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x7,o[_0x54277f(0xf6)]),L(0x8,o[_0x54277f(0x1a7)]),L(0x9,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x2e4)]),exports[_0x54277f(0x407)]=class extends oe{constructor(_0x46d2d0,_0x17394f,_0x3c9539,_0xed6d88,_0x3d82a8,_0x5d5816,_0x14edf3,_0x15af5c,_0x19a83c,_0x526437,_0x210315,_0x363ff0,_0x26efd0,_0x58fec2){var _0xc73109=_0x54277f;super(_0x46d2d0,_0x17394f,_0x3c9539,_0xed6d88,_0x14edf3,_0x210315,_0x363ff0,_0x19a83c,_0x58fec2),A(this,_0xc73109(0x240),'fetch_missing'),(this[_0xc73109(0x3ea)]=_0x3d82a8,this[_0xc73109(0xe4)]=_0x5d5816,this['_injector']=_0x15af5c,this[_0xc73109(0x20f)]=_0x526437,this[_0xc73109(0x30a)]=_0x26efd0,this[_0xc73109(0x3db)]=_0x58fec2);}['onMissedChangesetFetched'](_0x14ea5f){var _0x4b2638=_0x54277f;try{const _0x41c3ac=[..._0x14ea5f,...this['_queuedRemoteChangesets']],_0x4289f4=[this[_0x4b2638(0x1e4)]||this[_0x4b2638(0x3ea)]]['filter'](_0x5ef2c6=>!!_0x5ef2c6);let _0x16f22a,_0x342651;if(_0x4289f4[_0x4b2638(0x3a0)]){const _0x542371=this[_0x4b2638(0x30a)][_0x4b2638(0x14d)](_0x41c3ac,_0x4289f4,!0x1);if(!E['isTransformChangesetsSuccess'](_0x542371))throw _0x542371[_0x4b2638(0x437)];_0x16f22a=_0x542371[_0x4b2638(0x3bd)],_0x342651=_0x542371[_0x4b2638(0x293)];}else _0x16f22a=_0x41c3ac,_0x342651=[];let _0x2ba925=this[_0x4b2638(0x41e)];_0x16f22a[_0x4b2638(0x2ae)](_0x2fc6a3=>{var _0x366b23=_0x4b2638;let _0x49b7a7;if(_0x2ba925['length']){const _0x286e4a=this[_0x366b23(0x30a)][_0x366b23(0x287)](_0x2fc6a3,_0x2ba925);if(!E[_0x366b23(0x376)](_0x286e4a))throw _0x286e4a[_0x366b23(0x437)];_0x49b7a7=_0x286e4a[_0x366b23(0x3bd)],_0x2ba925=_0x286e4a['m2Prime'];}else _0x49b7a7=_0x2fc6a3;this[_0x366b23(0x380)](_0x49b7a7);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4b2638(0x341)](),this['_awaitingChangeset']&&_0x342651[_0x4b2638(0x3a0)]&&(_0x342651[0x0][_0x4b2638(0x29f)]=this[_0x4b2638(0x370)]());let _0xef0ab3;if(this[_0x4b2638(0x1e4)]&&_0x2ba925[_0x4b2638(0x3a0)]!==0x0)_0xef0ab3=this['_injector'][_0x4b2638(0x2bd)](exports[_0x4b2638(0x140)],this[_0x4b2638(0x289)],this[_0x4b2638(0x24e)],_0x342651[0x0],_0x2ba925,this[_0x4b2638(0x22f)],void 0x0);else{if(this[_0x4b2638(0x1e4)]&&_0x2ba925[_0x4b2638(0x3a0)]===0x0)_0x342651[0x0][_0x4b2638(0x29f)]=this[_0x4b2638(0x370)](),_0xef0ab3=this[_0x4b2638(0x1da)]['createInstance'](exports[_0x4b2638(0x259)],this[_0x4b2638(0x289)],this[_0x4b2638(0x24e)],_0x342651[0x0],this[_0x4b2638(0x22f)]);else{if(_0x2ba925['length']!==0x0){const _0x3f1b7a=this['_injector'][_0x4b2638(0x2bd)](exports['PendingState'],this[_0x4b2638(0x289)],this[_0x4b2638(0x24e)],_0x2ba925,this['_handler']);_0x3f1b7a[_0x4b2638(0x1a9)](),_0xef0ab3=_0x3f1b7a;}else _0xef0ab3=this[_0x4b2638(0x1da)][_0x4b2638(0x2bd)](exports[_0x4b2638(0x291)],this['unitID'],this[_0x4b2638(0x24e)],this[_0x4b2638(0x22f)]);}}return _0xef0ab3[_0x4b2638(0x2b2)](),_0xef0ab3;}catch(_0x40ee00){return this[_0x4b2638(0x20f)][_0x4b2638(0x437)]('[FetchMissState]',_0x4b2638(0x45a),_0x40ee00),this[_0x4b2638(0x1da)][_0x4b2638(0x2bd)](exports[_0x4b2638(0x224)],this[_0x4b2638(0x289)],this[_0x4b2638(0x24e)],this['_awaitingChangeset'],this[_0x4b2638(0x41e)],this[_0x4b2638(0x22f)],!0x1);}}[_0x54277f(0x26d)](){var _0x2c004e=_0x54277f;throw new Error(_0x2c004e(0x415));}[_0x54277f(0x2e6)](_0x252b6a){var _0x4a0cf4=_0x54277f;return this[_0x4a0cf4(0x41e)][_0x4a0cf4(0x394)](_0x252b6a),this;}['onRemoteChangeset'](_0x528d59){var _0x37bbe0=_0x54277f;return this[_0x37bbe0(0xe4)][_0x37bbe0(0x394)](_0x528d59),this;}[_0x54277f(0x103)](_0x1ad060){var _0x5360a7=_0x54277f;if(this[_0x5360a7(0x1e4)])return this['_acknowledgedAwaitingChangeset']=this[_0x5360a7(0x1e4)],this['_awaitingChangeset']=null,this;throw new Error(_0x5360a7(0x23a));}[_0x54277f(0x28e)](_0x2d0b9d){var _0x3c5614=_0x54277f;return this['_onConflict'](!!(_0x2d0b9d!=null&&_0x2d0b9d[_0x3c5614(0x373)]));}[_0x54277f(0x175)](){return this;}['toggleOffline'](){var _0x4ebe31=_0x54277f;return this[_0x4ebe31(0x1da)]['createInstance'](exports[_0x4ebe31(0x2e4)],this[_0x4ebe31(0x289)],this[_0x4ebe31(0x24e)],this[_0x4ebe31(0x1e4)],this[_0x4ebe31(0x41e)],this[_0x4ebe31(0x22f)]);}[_0x54277f(0x3e2)](){return this;}[_0x54277f(0x2d7)](_0x33c23c){var _0x504520=_0x54277f;return this['_injector'][_0x504520(0x2bd)](exports[_0x504520(0x224)],this[_0x504520(0x289)],this[_0x504520(0x24e)],this[_0x504520(0x1e4)],this[_0x504520(0x41e)],this[_0x504520(0x22f)],_0x33c23c);}},exports[_0x54277f(0x407)]=ae([L(0x7,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),L(0x8,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),L(0x9,o[_0x54277f(0x15b)]),L(0xa,o['ICommandService']),L(0xb,o[_0x54277f(0x1a7)]),L(0xc,E['ITransformService']),L(0xd,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x407)]);function Et(_0x3d9bbe,_0x44335a,_0x4119dd,_0x348041,_0x7b034c,_0x3fff8b){var _0x1cac9d=_0x54277f;return _0x348041&&_0x7b034c[_0x1cac9d(0x3a0)]?_0x3d9bbe[_0x1cac9d(0x2bd)](exports['AwaitingWithPendingState'],_0x44335a,_0x4119dd,_0x348041,_0x7b034c,_0x3fff8b,void 0x0):_0x348041?_0x3d9bbe[_0x1cac9d(0x2bd)](exports['AwaitingState'],_0x44335a,_0x4119dd,_0x348041,_0x3fff8b):_0x7b034c['length']?_0x3d9bbe[_0x1cac9d(0x2bd)](exports[_0x1cac9d(0x438)],_0x44335a,_0x4119dd,_0x7b034c,_0x3fff8b):_0x3d9bbe[_0x1cac9d(0x2bd)](exports[_0x1cac9d(0x291)],_0x44335a,_0x4119dd,_0x3fff8b);}var si=Object[_0x54277f(0x401)],Be=(_0x6cdedb,_0x4cd274,_0x4f92cf,_0x549bad)=>{var _0x463e1b=_0x54277f;for(var _0x5dfd46=_0x549bad>0x1?void 0x0:_0x549bad?si(_0x4cd274,_0x4f92cf):_0x4cd274,_0x5bf1a=_0x6cdedb[_0x463e1b(0x3a0)]-0x1,_0xd322fa;_0x5bf1a>=0x0;_0x5bf1a--)(_0xd322fa=_0x6cdedb[_0x5bf1a])&&(_0x5dfd46=_0xd322fa(_0x5dfd46)||_0x5dfd46);return _0x5dfd46;},$=(_0x585bba,_0x3cdda0)=>(_0x3bf2a6,_0x232c3b)=>_0x3cdda0(_0x3bf2a6,_0x232c3b,_0x585bba);exports[_0x54277f(0x16a)]=class extends o['RxDisposable']{constructor(_0x2c534a,_0x396395,_0x2d7238,_0x48225a,_0x1661ad,_0xa06639,_0x56b264,_0x55b7ad,_0x264eb6,_0x5d966d,_0x8d9300,_0xe00888,_0x474087,_0x4e8452){var _0x10f9aa=_0x54277f;super(),A(this,_0x10f9aa(0x21f),new j[(_0x10f9aa(0xea))](null)),A(this,_0x10f9aa(0x306),this[_0x10f9aa(0x21f)][_0x10f9aa(0x40f)]()),A(this,_0x10f9aa(0x244)),A(this,_0x10f9aa(0x3fd),!0x1),A(this,_0x10f9aa(0x27c),''),A(this,_0x10f9aa(0x125),0x0),A(this,'status$',this[_0x10f9aa(0x306)][_0x10f9aa(0x1e6)](j['map'](_0x4eac8e=>_0x4eac8e?_0x4eac8e[_0x10f9aa(0x240)]:je[_0x10f9aa(0x34d)]),j['shareReplay'](0x1))),A(this,_0x10f9aa(0x1ab),!0x1),A(this,_0x10f9aa(0x23f),[]),(this['unitID']=_0x2c534a,this[_0x10f9aa(0x221)]=_0x396395,this[_0x10f9aa(0x227)]=_0x2d7238,this['_injector']=_0x48225a,this[_0x10f9aa(0x1a6)]=_0x1661ad,this[_0x10f9aa(0x168)]=_0xa06639,this[_0x10f9aa(0x2ca)]=_0x56b264,this[_0x10f9aa(0x399)]=_0x55b7ad,this['_univerInstanceService']=_0x264eb6,this[_0x10f9aa(0x20f)]=_0x5d966d,this['_commandService']=_0x8d9300,this[_0x10f9aa(0x39c)]=_0xe00888,this[_0x10f9aa(0x2ea)]=_0x474087,this[_0x10f9aa(0x36c)]=_0x4e8452);}get[_0x54277f(0x436)](){var _0x698f52=_0x54277f;return this[_0x698f52(0x244)];}async['init'](){if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,o['toDisposable'](()=>{var _0x1eb86f=_0x4c0c;this[_0x1eb86f(0x3fd)]=!0x1,this[_0x1eb86f(0x1ac)]();});}[_0x54277f(0x43f)](_0x44b530){var _0x85cf58=_0x54277f;this[_0x85cf58(0x3a4)](_0x44b530);}[_0x54277f(0x17c)](_0x14ca38){var _0x374eb0=_0x54277f;this[_0x374eb0(0x244)]=_0x14ca38,this['_state$'][_0x374eb0(0x2f7)](_0x14ca38);}async[_0x54277f(0x404)](){var _0x19c517=_0x54277f,_0x4b097e;this[_0x19c517(0x17c)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x4b097e=this[_0x19c517(0x2ea)])==null||_0x4b097e[_0x19c517(0x1d5)](this[_0x19c517(0x289)]),this[_0x19c517(0x317)](this[_0x19c517(0x2ea)][_0x19c517(0x16c)](this[_0x19c517(0x289)])[_0x19c517(0x217)](_0x4de3c3=>{var _0x21489e=_0x19c517;this[_0x21489e(0x20f)][_0x21489e(0x2db)](_0x21489e(0x243),'editing\x20status\x20changed\x20to',_0x4de3c3),_0x4de3c3===He[_0x21489e(0x3bb)]?(this[_0x21489e(0x399)][_0x21489e(0x2a8)]({'id':J['OTHER_CLIENT_EDITING']}),this[_0x21489e(0x39c)][_0x21489e(0x469)](new Q['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this[_0x21489e(0x39c)][_0x21489e(0x35e)](!0x1)):(this['_permissionService'][_0x21489e(0x469)](new Q[(_0x21489e(0x3cd))](this[_0x21489e(0x289)])['id'],!0x0),this['_permissionService'][_0x21489e(0x35e)](!0x0));})));let _0x515423=!0x1;return this['disposeWithMe'](this[_0x19c517(0x221)][_0x19c517(0x339)][_0x19c517(0x217)](_0xba01b0=>{var _0x3dc56f=_0x19c517;_0xba01b0===se[_0x3dc56f(0x10f)]?this[_0x3dc56f(0x2dc)](_0x515423):_0xba01b0===se['OFFLINE']&&(_0x515423=!0x0,this[_0x3dc56f(0x3fb)]());})),this[_0x19c517(0x317)](this[_0x19c517(0x221)][_0x19c517(0x2aa)]['subscribe'](_0x564b8f=>{var _0x45fe2d=_0x19c517;try{switch(_0x564b8f['eventID']){case E[_0x45fe2d(0x107)][_0x45fe2d(0x355)]:{this[_0x45fe2d(0x142)](E[_0x45fe2d(0x113)](_0x564b8f['data']));break;}case E[_0x45fe2d(0x107)][_0x45fe2d(0x441)]:{this[_0x45fe2d(0x42e)](_0x564b8f[_0x45fe2d(0x213)]);break;}case E[_0x45fe2d(0x107)][_0x45fe2d(0x427)]:{this[_0x45fe2d(0x108)]();break;}case E[_0x45fe2d(0x107)][_0x45fe2d(0x347)]:{this[_0x45fe2d(0x46d)](_0x564b8f[_0x45fe2d(0x213)]);break;}case E['CollaborationEvent'][_0x45fe2d(0x182)]:{this[_0x45fe2d(0x3bf)](_0x564b8f[_0x45fe2d(0x213)][_0x45fe2d(0x35b)][_0x45fe2d(0x1db)](_0x1819ad=>E['parseProtocolChangeset'](_0x1819ad)));break;}case E[_0x45fe2d(0x107)]['PERMISSION_REJ']:{this[_0x45fe2d(0x108)]({'isPermissionRej':!0x0});break;}case E[_0x45fe2d(0x107)][_0x45fe2d(0x13d)]:break;}}catch(_0x591ac1){throw console[_0x45fe2d(0x437)]('Error\x20on\x20receiving\x20event',_0x591ac1),_0x591ac1;}})),this[_0x19c517(0x244)];}[_0x54277f(0x22b)](){var _0x32b4e4=_0x54277f;this[_0x32b4e4(0x1ab)]=!0x1;}[_0x54277f(0x2ec)](){var _0x46545d=_0x54277f;if(this[_0x46545d(0x1ab)])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[_0x46545d(0x1ab)]=!0x0;}[_0x54277f(0x3a4)](_0x2bac47){var _0x38ac25=_0x54277f;this[_0x38ac25(0x2ec)](),this[_0x38ac25(0x17c)](this[_0x38ac25(0x244)]['appendMutation'](_0x2bac47)),this[_0x38ac25(0x22b)]();}[_0x54277f(0x142)](_0x36913d){var _0x1e039a=_0x54277f;if(!(_0x36913d[_0x1e039a(0x242)]<=this[_0x1e039a(0x2ca)][_0x1e039a(0x1c9)](this['unitID']))){if(this['_collaborationPaused']){this[_0x1e039a(0x23f)]['push'](_0x36913d);return;}this['_applyRemoteChangeset'](_0x36913d);}}[_0x54277f(0x1ac)](){var _0x21a85d=_0x54277f;this[_0x21a85d(0x23f)][_0x21a85d(0x2ae)](_0x3d8b79=>this[_0x21a85d(0x2d3)](_0x3d8b79)),this[_0x21a85d(0x23f)]=[];}[_0x54277f(0x2d3)](_0x502f82){var _0x53bfdd=_0x54277f;const _0x1e4bcb=this[_0x53bfdd(0x1a6)]['interceptor']['fetchThroughInterceptors'](this[_0x53bfdd(0x1a6)][_0x53bfdd(0x331)][_0x53bfdd(0x1f6)]()['COMPRESS_MUTATION_APPLY'])(_0x502f82[_0x53bfdd(0x138)],null)||_0x502f82['mutations'],_0x348230={..._0x502f82,'mutations':_0x1e4bcb};this['_lockTransition'](),this[_0x53bfdd(0x17c)](this[_0x53bfdd(0x244)]['onRemoteChangeset'](_0x348230)),this[_0x53bfdd(0x22b)]();}['_onRemoteACK'](_0x3ad980){var _0xc366b7=_0x54277f;this[_0xc366b7(0x2ec)](),this['_updateState'](this['_state']['onRemoteAck'](_0x3ad980)),this[_0xc366b7(0x22b)]();}['_onRemoteRejected'](_0x59cb4d){var _0x10bf06=_0x54277f;this[_0x10bf06(0x2ec)](),this[_0x10bf06(0x17c)](this[_0x10bf06(0x244)][_0x10bf06(0x28e)](_0x59cb4d)),this[_0x10bf06(0x22b)]();}['_onRemoteRetry'](_0x566665){var _0xd2593b=_0x54277f;this[_0xd2593b(0x2ec)](),this[_0xd2593b(0x17c)](this[_0xd2593b(0x244)]['onRemoteRetry'](_0x566665)),this['_unlockTransition']();}[_0x54277f(0x3bf)](_0x521a73){var _0x4a86b1=_0x54277f;if(!(this[_0x4a86b1(0x244)]instanceof exports[_0x4a86b1(0x407)]))throw new TypeError(_0x4a86b1(0x1be));const _0x33148b=_0x521a73[_0x4a86b1(0x1db)](_0x2649a8=>{var _0x366f05=_0x4a86b1;const _0x5c34ba=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x366f05(0x1a6)][_0x366f05(0x331)][_0x366f05(0x1f6)]()[_0x366f05(0x372)])(_0x2649a8[_0x366f05(0x138)],null)||_0x2649a8['mutations'];return{..._0x2649a8,'mutations':_0x5c34ba};});this[_0x4a86b1(0x2ec)](),this[_0x4a86b1(0x17c)](this['_state'][_0x4a86b1(0x2b4)](_0x33148b)),this[_0x4a86b1(0x22b)]();}[_0x54277f(0x3fb)](){var _0x3351b3=_0x54277f;this[_0x3351b3(0x2ec)](),this[_0x3351b3(0x17c)](this['_state'][_0x3351b3(0x358)]()),this[_0x3351b3(0x22b)]();}['_toggleOnline'](_0x13b5e2=!0x1){var _0x152fc9=_0x54277f;this['_lockTransition'](),this['_updateState'](this[_0x152fc9(0x244)][_0x152fc9(0x3e2)]()),this[_0x152fc9(0x22b)]();const _0x583024=this[_0x152fc9(0x244)];_0x13b5e2&&_0x583024 instanceof exports[_0x152fc9(0x291)]&&(this[_0x152fc9(0x2ec)](),this['_updateState'](_0x583024[_0x152fc9(0x257)]()),this[_0x152fc9(0x22b)]());}async[_0x54277f(0x21c)](){return new Promise(_0x1a0c69=>{var _0x5cf914=_0x4c0c;this[_0x5cf914(0x221)][_0x5cf914(0x339)][_0x5cf914(0x1e6)](j[_0x5cf914(0x15c)](0x1))['subscribe'](async _0x1ba345=>{var _0x1871f1=_0x5cf914;_0x1a0c69(await this[_0x1871f1(0x23c)](_0x1ba345===se[_0x1871f1(0x10f)]));});});}[_0x54277f(0x102)](){const _0x4fe3ed=this['unitID'];return{'onStateChange':(_0x372d75,_0x41456c)=>{var _0x2a0147=_0x4c0c;if(_0x372d75!==this['_state'])throw new Error(_0x2a0147(0x3bc)+_0x372d75[_0x2a0147(0x240)]+_0x2a0147(0xfd)+_0x41456c[_0x2a0147(0x240)]+_0x2a0147(0x18f)+this['_state'][_0x2a0147(0x240)]);this['_updateState'](_0x41456c);},'onSendChangeset':_0x44ab17=>{var _0x9e9bad=_0x4c0c;_0x44ab17[_0x9e9bad(0x1c1)]||(_0x44ab17[_0x9e9bad(0x1c1)]=this[_0x9e9bad(0x27c)],_0x44ab17[_0x9e9bad(0x33d)]=++this['_changesetReqId']);const _0x161ef4={'eventID':E['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x44ab17[_0x9e9bad(0x289)],'unitType':this[_0x9e9bad(0x227)],'changeset':_0x44ab17,'memberID':this['session'][_0x9e9bad(0x1d3)]()}};this[_0x9e9bad(0x221)][_0x9e9bad(0x10a)](_0x161ef4,this[_0x9e9bad(0x289)]);},'onMissingChangesets':({from:_0x15c166,to:_0x468707})=>{var _0x24828a=_0x4c0c;this[_0x24828a(0x20f)]['debug']('[CollaborationEntity]',_0x24828a(0x158)+_0x15c166+_0x24828a(0x2e0)+_0x468707);const _0x1fe692={'eventID':E[_0x24828a(0x107)]['FETCH_MISSING'],'data':{'unitID':_0x4fe3ed,'unitType':this[_0x24828a(0x227)],'from':_0x15c166,'to':_0x468707}};this[_0x24828a(0x221)]['send'](_0x1fe692,this[_0x24828a(0x289)]);}};}async[_0x54277f(0x23c)](_0x16154f){var _0x12efe7=_0x54277f,_0x16fe07,_0x497c54,_0x5997d7;const _0x504f69=await((_0x16fe07=this[_0x12efe7(0x36c)])==null?void 0x0:_0x16fe07[_0x12efe7(0x1cb)](this[_0x12efe7(0x289)])),_0x558fe0=(_0x497c54=_0x504f69==null?void 0x0:_0x504f69['mutations'])!=null?_0x497c54:[],_0xe7a205=(_0x5997d7=_0x504f69==null?void 0x0:_0x504f69[_0x12efe7(0x110)])!=null?_0x5997d7:null,_0xbf3b9f=!!(_0xe7a205!=null&&_0xe7a205[_0x12efe7(0x1c1)])&&!!(_0xe7a205!=null&&_0xe7a205[_0x12efe7(0x33d)]);this[_0x12efe7(0x27c)]=_0xbf3b9f?_0xe7a205[_0x12efe7(0x1c1)]:E['uuidv4'](),this[_0x12efe7(0x125)]=_0xbf3b9f?_0xe7a205['reqId']:0x0;const _0x591568=this['unitID'];try{this['_replayCachedMutations'](_0xe7a205,_0x558fe0);}catch(_0x2e6854){this[_0x12efe7(0x20f)][_0x12efe7(0x437)](_0x2e6854);}const _0x3f376e=this[_0x12efe7(0x102)]();if(_0x16154f){const _0x2ff098=Et(this[_0x12efe7(0x1da)],_0x591568,this[_0x12efe7(0x227)],_0xe7a205,_0x558fe0,_0x3f376e);return _0x2ff098 instanceof exports[_0x12efe7(0x438)]?_0x2ff098[_0x12efe7(0x1a9)]():(_0x2ff098 instanceof exports[_0x12efe7(0x140)]||_0x2ff098 instanceof exports[_0x12efe7(0x259)])&&_0x2ff098[_0x12efe7(0x26d)](),_0x2ff098;}return this[_0x12efe7(0x1da)][_0x12efe7(0x2bd)](exports['OfflineState'],_0x591568,this[_0x12efe7(0x227)],_0xe7a205,_0x558fe0,_0x3f376e);}[_0x54277f(0x439)](_0x2b1c05,_0x360389){var _0x1fa85d=_0x54277f,_0xe10e05,_0x24c183;const _0x22f9d6=this['_compressMutationService'][_0x1fa85d(0x331)][_0x1fa85d(0x29a)](this[_0x1fa85d(0x1a6)][_0x1fa85d(0x331)]['getInterceptPoints']()[_0x1fa85d(0x372)]);(_0xe10e05=_0x22f9d6((_0x2b1c05==null?void 0x0:_0x2b1c05[_0x1fa85d(0x138)])||[],null))==null||_0xe10e05[_0x1fa85d(0x2ae)](_0x125f1f=>this[_0x1fa85d(0x41d)][_0x1fa85d(0x2a3)](_0x125f1f['id'],_0x125f1f[_0x1fa85d(0x18e)])),(_0x24c183=_0x22f9d6(_0x360389||[],null))==null||_0x24c183[_0x1fa85d(0x2ae)](_0x1eb3f7=>this[_0x1fa85d(0x41d)]['executeCommand'](_0x1eb3f7['id'],_0x1eb3f7[_0x1fa85d(0x18e)]));}},exports[_0x54277f(0x16a)]=Be([$(0x3,o[_0x54277f(0x226)](o['Injector'])),$(0x4,o[_0x54277f(0x226)](E[_0x54277f(0x340)])),$(0x5,o[_0x54277f(0x226)](o[_0x54277f(0x3d2)])),$(0x6,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x54277f(0x277)]),$(0x9,o[_0x54277f(0x15b)]),$(0xa,o[_0x54277f(0xf6)]),$(0xb,o['IPermissionService']),$(0xc,o[_0x54277f(0x229)](ve)),$(0xd,o[_0x54277f(0x229)](q))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x54277f(0x16a)]{constructor(_0x84e5eb,_0x42a646,_0x8c2e90,_0x4f59eb,_0x4a16c0,_0x25c70a,_0x448170,_0xa77d0e,_0xd571c0,_0x52bf26,_0x359b17,_0x2e7a11,_0x2172c9,_0x562dc9){var _0x160177=_0x54277f;super(_0x84e5eb,_0x8c2e90,_0x42a646,_0x4f59eb,_0x4a16c0,_0x25c70a,_0x448170,_0xa77d0e,_0xd571c0,_0x52bf26,_0x359b17,_0x2e7a11,_0x2172c9,_0x562dc9),A(this,_0x160177(0x375),null),(this[_0x160177(0x289)]=_0x84e5eb,this[_0x160177(0x24e)]=_0x42a646);}['addHandlerCallback'](_0x20d70a){this['_handlerCallback']=_0x20d70a;}[_0x54277f(0x1d0)](){var _0x373ebc=_0x54277f;this[_0x373ebc(0x375)]=null,super['dispose']();}[_0x54277f(0x102)](){var _0x259435=_0x54277f;const _0x523bff=super[_0x259435(0x102)]();return _0x523bff[_0x259435(0x1eb)]=_0x5389b4=>{var _0x1f8247=_0x259435,_0x23a18c,_0x3b707a;return(_0x3b707a=(_0x23a18c=this[_0x1f8247(0x375)])==null?void 0x0:_0x23a18c['onTransformIME'])==null?void 0x0:_0x3b707a['call'](_0x23a18c,_0x5389b4);},_0x523bff['onTransformState']=_0x410d6e=>{var _0xe4c84f=_0x259435,_0x23e59e,_0x335177;return(_0x335177=(_0x23e59e=this['_handlerCallback'])==null?void 0x0:_0x23e59e[_0xe4c84f(0x185)])==null?void 0x0:_0x335177[_0xe4c84f(0x423)](_0x23e59e,_0x410d6e);},_0x523bff[_0x259435(0x421)]=_0x30f1b7=>{var _0xce79b7=_0x259435,_0x1d65db,_0x35422f;return(_0x35422f=(_0x1d65db=this[_0xce79b7(0x375)])==null?void 0x0:_0x1d65db[_0xce79b7(0x421)])==null?void 0x0:_0x35422f[_0xce79b7(0x423)](_0x1d65db,_0x30f1b7);},_0x523bff[_0x259435(0x1b1)]=_0x1e4038=>{var _0x413d6c=_0x259435,_0x190edf,_0x27053d;return(_0x27053d=(_0x190edf=this[_0x413d6c(0x375)])==null?void 0x0:_0x190edf[_0x413d6c(0x1b1)])==null?void 0x0:_0x27053d[_0x413d6c(0x423)](_0x190edf,_0x1e4038);},_0x523bff[_0x259435(0x3d1)]=_0x13223b=>{var _0x5df0d6=_0x259435,_0x41be66,_0x5eda2a,_0x41c20a;if(!((_0x41be66=this['_handlerCallback'])!=null&&_0x41be66[_0x5df0d6(0x3d1)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x41c20a=(_0x5eda2a=this[_0x5df0d6(0x375)])==null?void 0x0:_0x5eda2a[_0x5df0d6(0x3d1)])==null?void 0x0:_0x41c20a[_0x5df0d6(0x423)](_0x5eda2a,_0x13223b);},_0x523bff[_0x259435(0x356)]=_0x3d4780=>{var _0x22b102=_0x259435,_0x494187,_0x38f02d,_0x351036;if(!((_0x494187=this[_0x22b102(0x375)])!=null&&_0x494187[_0x22b102(0x356)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x351036=(_0x38f02d=this[_0x22b102(0x375)])==null?void 0x0:_0x38f02d['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x351036[_0x22b102(0x423)](_0x38f02d,_0x3d4780);},_0x523bff;}async[_0x54277f(0x404)](){var _0x482ea7=_0x54277f;const _0x34ac01=await super[_0x482ea7(0x404)]();return this['disposeWithMe'](this[_0x482ea7(0x41d)][_0x482ea7(0x1a1)]((_0x427f8e,_0x4a3970)=>{var _0x47b466=_0x482ea7;if(_0x427f8e[_0x47b466(0x24e)]!==o[_0x47b466(0x16f)][_0x47b466(0x397)]||_0x4a3970!=null&&_0x4a3970[_0x47b466(0x38a)]||_0x4a3970!=null&&_0x4a3970[_0x47b466(0x45f)]||_0x427f8e['id']===ct[_0x47b466(0x251)]['id'])return;const _0x165624=_0x427f8e[_0x47b466(0x18e)];if((_0x165624==null?void 0x0:_0x165624[_0x47b466(0x1b8)])!==this[_0x47b466(0x289)])return;const _0x14215d=_0x427f8e,_0xaeb5b6=this['_compressMutationService'][_0x47b466(0x331)]['fetchThroughInterceptors'](this[_0x47b466(0x1a6)][_0x47b466(0x331)][_0x47b466(0x1f6)]()[_0x47b466(0x194)])([_0x14215d],this[_0x47b466(0x327)])||[_0x14215d];this['_onLocalMutation'](_0xaeb5b6[0x0]);})),_0x34ac01;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x54277f(0x226)](o['Injector'])),$(0x4,o[_0x54277f(0x226)](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0x54277f(0x3d2)])),$(0x6,o[_0x54277f(0x226)](E[_0x54277f(0x1ee)])),$(0x7,o[_0x54277f(0x226)](ee)),$(0x8,o[_0x54277f(0x277)]),$(0x9,o['ILogService']),$(0xa,o[_0x54277f(0xf6)]),$(0xb,o[_0x54277f(0x46e)]),$(0xc,o[_0x54277f(0x229)](ve)),$(0xd,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x383)]),exports[_0x54277f(0x117)]=class extends exports['CollaborationEntity']{constructor(_0xa1f5f3,_0x399cf3,_0x280c2e,_0x2d1308,_0x29497c,_0x2a016b,_0x5d956a,_0xd19e9d,_0x1848dc,_0x3d5ad9,_0x1f731e,_0x48c288,_0x4db70a,_0x337267,_0x29770a){var _0x28f425=_0x54277f;super(_0xa1f5f3,_0x280c2e,_0x399cf3,_0x2d1308,_0x29497c,_0x2a016b,_0x5d956a,_0x1848dc,_0x3d5ad9,_0x1f731e,_0x48c288,_0x4db70a,_0x337267,_0x29770a),this[_0x28f425(0x289)]=_0xa1f5f3,this[_0x28f425(0x24e)]=_0x399cf3,this[_0x28f425(0x2c1)]=_0xd19e9d;}[_0x54277f(0x102)](){var _0x354803=_0x54277f;const _0x200860=super[_0x354803(0x102)]();return _0x200860[_0x354803(0x421)]=_0x35ca50=>this[_0x354803(0x2c1)][_0x354803(0x114)](_0x35ca50),_0x200860;}async[_0x54277f(0x404)](){var _0x205011=_0x54277f;const _0x249fa1=await super[_0x205011(0x404)]();return this[_0x205011(0x317)](this[_0x205011(0x41d)][_0x205011(0x1a1)]((_0x1d2d9e,_0x2849ef)=>{var _0x3399f1=_0x205011;if(_0x1d2d9e['type']!==o[_0x3399f1(0x16f)][_0x3399f1(0x397)]||_0x2849ef!=null&&_0x2849ef[_0x3399f1(0x38a)]||_0x2849ef!=null&&_0x2849ef[_0x3399f1(0x45f)])return;const _0x10a2f6=_0x1d2d9e[_0x3399f1(0x18e)];if((_0x10a2f6==null?void 0x0:_0x10a2f6[_0x3399f1(0x1b8)])!==this[_0x3399f1(0x289)])return;const _0x91921=_0x1d2d9e,_0x428e37=this[_0x3399f1(0x1a6)][_0x3399f1(0x331)]['fetchThroughInterceptors'](this[_0x3399f1(0x1a6)][_0x3399f1(0x331)][_0x3399f1(0x1f6)]()[_0x3399f1(0x194)])([_0x91921],this[_0x3399f1(0x327)])||[_0x91921];this['_onLocalMutation'](_0x428e37[0x0]);})),_0x249fa1;}},exports['SheetCollaborationEntity']=Be([$(0x3,o[_0x54277f(0x226)](o['Injector'])),$(0x4,o[_0x54277f(0x226)](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0x54277f(0x3d2)])),$(0x6,o[_0x54277f(0x226)](E['RevisionService'])),$(0x7,o['Inject'](exports[_0x54277f(0x450)])),$(0x8,o[_0x54277f(0x226)](ee)),$(0x9,o[_0x54277f(0x277)]),$(0xa,o['ILogService']),$(0xb,o[_0x54277f(0xf6)]),$(0xc,o['IPermissionService']),$(0xd,o[_0x54277f(0x229)](ve)),$(0xe,o['Optional'](q))],exports[_0x54277f(0x117)]);const pt=o[_0x54277f(0x2c9)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x20ab0e){var _0x8cd9e4=_0x54277f,_0x25f9ec,_0x2e143d,_0x368c4a,_0x298269,_0x5cf6b3;const _0x1ec30d=_0x20ab0e[_0x8cd9e4(0x213)],_0x5e2ba5=JSON[_0x8cd9e4(0x288)](_0x1ec30d);switch(_0x5e2ba5['cmd']){case W[_0x8cd9e4(0x2fd)]:case W[_0x8cd9e4(0x471)]:{const _0x36528f=_0x5e2ba5[_0x8cd9e4(0x238)];return{..._0x5e2ba5,'data':_0x36528f,'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};}case W[_0x8cd9e4(0x45e)]:{const _0x15e10b=_0x5e2ba5[_0x8cd9e4(0x148)];return{..._0x5e2ba5,'data':_0x15e10b,'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};}case W['RECV']:{const _0x1fcf58=_0x5e2ba5[_0x8cd9e4(0x462)];switch(_0x1fcf58[_0x8cd9e4(0x2cf)]){case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x19d)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x25f9ec=_0x1fcf58[_0x8cd9e4(0x33b)])==null?void 0x0:_0x25f9ec['cs']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x441)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x2e143d=_0x1fcf58['csAckEvent'])==null?void 0x0:_0x2e143d['cs']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['NEW_CHANGESETS']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x368c4a=_0x1fcf58['newCsEvent'])==null?void 0x0:_0x368c4a['cs']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x427)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x298269=_0x1fcf58[_0x8cd9e4(0x131)])==null?void 0x0:_0x298269['cs']},'cmd':_0x5e2ba5['cmd']};case E[_0x8cd9e4(0x107)]['CHANGESET_SHOULD_RETRY']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':(_0x5cf6b3=_0x1fcf58[_0x8cd9e4(0x232)])==null?void 0x0:_0x5cf6b3['cs']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x32d)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['updateCursorEvent']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['USERS_ENTER']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x12d)]},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['USERS_LEAVE']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['leaveEvent']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x333)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x320)]},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x413)]:case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x1e1)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x3aa)]},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x11e)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x320)]},'cmd':_0x5e2ba5['cmd']};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0xf3)]:return{..._0x5e2ba5,'data':_0x1fcf58,'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['COMMENT_UPDATE']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58[_0x8cd9e4(0x1a8)]},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)]['UPDATE_PERMISSION_OBJ']:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['updatePermissionObjEvent']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x246)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['shouldCloseConn']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};case E[_0x8cd9e4(0x107)][_0x8cd9e4(0x13d)]:return{..._0x5e2ba5,'data':{..._0x1fcf58,'data':_0x1fcf58['uniscriptRunEvent']},'cmd':_0x5e2ba5[_0x8cd9e4(0x37d)]};default:return _0x5e2ba5;}}default:return _0x5e2ba5;}}function gt(_0x108e8e){var _0x239717=_0x54277f;switch(_0x108e8e[_0x239717(0x37d)]){case W[_0x239717(0x2fd)]:case W[_0x239717(0x471)]:return JSON[_0x239717(0x2a7)]({'cmd':_0x108e8e[_0x239717(0x37d)],'routeKey':_0x108e8e[_0x239717(0x2a4)]});case W[_0x239717(0x11f)]:{let _0x8b53c;switch(_0x108e8e[_0x239717(0x213)][_0x239717(0x2cf)]){case E[_0x239717(0x107)][_0x239717(0x32d)]:{_0x8b53c={'eventID':E['CollaborationEvent'][_0x239717(0x32d)],'updateCursorEvent':_0x108e8e[_0x239717(0x213)]['data']};break;}case E['CollaborationEvent'][_0x239717(0x25f)]:{_0x8b53c={'eventID':E['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x108e8e[_0x239717(0x213)]['data']};break;}case E[_0x239717(0x107)][_0x239717(0x155)]:{_0x8b53c={'eventID':E[_0x239717(0x107)][_0x239717(0x155)],'joinEvent':_0x108e8e[_0x239717(0x213)][_0x239717(0x213)]};break;}case E[_0x239717(0x107)][_0x239717(0x333)]:{_0x8b53c={'eventID':E[_0x239717(0x107)][_0x239717(0x333)],'liveShareNewHost':_0x108e8e[_0x239717(0x213)][_0x239717(0x213)]};break;}case E['CollaborationEvent'][_0x239717(0x1e1)]:{_0x8b53c={'eventID':E['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x108e8e['data'][_0x239717(0x213)]};break;}case E[_0x239717(0x107)]['LIVESHARE_TERMINATE']:{_0x8b53c={'eventID':E[_0x239717(0x107)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x108e8e[_0x239717(0x213)]['data']};break;}case E['CollaborationEvent'][_0x239717(0x18a)]:{_0x8b53c={'eventID':E[_0x239717(0x107)][_0x239717(0x18a)],'liveShareRequestHost':_0x108e8e[_0x239717(0x213)][_0x239717(0x213)]};break;}case E['CollaborationEvent'][_0x239717(0x413)]:{_0x8b53c={'eventID':E[_0x239717(0x107)][_0x239717(0x413)]};break;}default:_0x8b53c={'eventID':_0x108e8e[_0x239717(0x213)][_0x239717(0x2cf)]};}return JSON[_0x239717(0x2a7)]({'cmd':_0x108e8e['cmd'],'routeKey':_0x108e8e['routeKey'],'collaMsg':_0x8b53c});}case W['JOIN']:return JSON[_0x239717(0x2a7)]({'cmd':_0x108e8e[_0x239717(0x37d)],'routeKey':_0x108e8e[_0x239717(0x2a4)],'joinReq':_0x108e8e[_0x239717(0x213)]});case W[_0x239717(0x129)]:return JSON[_0x239717(0x2a7)]({'cmd':_0x108e8e[_0x239717(0x37d)],'routeKey':_0x108e8e['routeKey'],'leaveReq':_0x108e8e[_0x239717(0x213)]});default:throw new Error(_0x239717(0x2ef));}}var ri=Object[_0x54277f(0x401)],ai=(_0xde542b,_0x459bae,_0x31293c,_0x427718)=>{for(var _0x80f0d7=_0x427718>0x1?void 0x0:_0x427718?ri(_0x459bae,_0x31293c):_0x459bae,_0x199eb0=_0xde542b['length']-0x1,_0x5bec08;_0x199eb0>=0x0;_0x199eb0--)(_0x5bec08=_0xde542b[_0x199eb0])&&(_0x80f0d7=_0x5bec08(_0x80f0d7)||_0x80f0d7);return _0x80f0d7;},he=(_0x550b35,_0x540346)=>(_0x339295,_0x16e35b)=>_0x540346(_0x339295,_0x16e35b,_0x550b35);const Fe=o[_0x54277f(0x2c9)]('univer-pro.collaboration-client-socket-service');function oi(_0xef0886,_0x41182a,_0x435068){var _0x581018=_0x54277f;return _0xef0886+'/'+_0x41182a+_0x581018(0x2b0)+_0x435068+_0x581018(0x363);}exports[_0x54277f(0x3d4)]=class extends o[_0x54277f(0x391)]{constructor(_0x38fc96,_0xf27c1b,_0x707a05,_0xf256d0,_0x17e56a){var _0x3d5862=_0x54277f;super(),this['_injector']=_0x38fc96,this[_0x3d5862(0x353)]=_0xf27c1b,this[_0x3d5862(0x20d)]=_0x707a05,this[_0x3d5862(0x20f)]=_0xf256d0,this['_snapshotServerService']=_0x17e56a;}[_0x54277f(0x1b5)](_0x513957){var _0x53e171=_0x54277f;const _0x1cb189=this[_0x53e171(0x1da)][_0x53e171(0x309)](K['ISocketService']);if(!_0x1cb189)throw new Error(_0x53e171(0x210));const _0x1d58d9=_0x1cb189[_0x53e171(0x431)](_0x513957);if(!_0x1d58d9)throw new Error(_0x53e171(0x37c));const _0x3bc8b5=new o[(_0x53e171(0x308))](),_0x3b097f=new j[(_0x53e171(0x1fe))]();_0x3bc8b5[_0x53e171(0x2d5)](_0x1d58d9[_0x53e171(0x193)][_0x53e171(0x217)](_0x5b9507=>_0x3b097f['next'](_0x5b9507))),_0x3bc8b5[_0x53e171(0x2d5)](o['toDisposable'](()=>_0x3b097f[_0x53e171(0x3c7)]()));const _0x43324b=new j[(_0x53e171(0x1fe))]();_0x3bc8b5['add'](_0x1d58d9[_0x53e171(0x1fb)][_0x53e171(0x217)](_0x4ed722=>_0x43324b[_0x53e171(0x2f7)](_0x4ed722))),_0x3bc8b5[_0x53e171(0x2d5)](o[_0x53e171(0x164)](()=>_0x43324b[_0x53e171(0x3c7)]()));const _0x3c9905=new j[(_0x53e171(0x1fe))]();_0x3bc8b5[_0x53e171(0x2d5)](_0x1d58d9[_0x53e171(0x2f8)][_0x53e171(0x217)](_0x92755e=>{var _0x631e45=_0x53e171;const _0xaf5fe3=mt(_0x92755e);_0x3c9905[_0x631e45(0x2f7)](_0xaf5fe3);})),_0x3bc8b5[_0x53e171(0x2d5)](o['toDisposable'](()=>_0x3c9905['complete']()));let _0x2d91d0;const _0x40777a=()=>{var _0x2146e7=_0x53e171;_0x43324b[_0x2146e7(0x2f7)](new Event(_0x2146e7(0x133))),_0x3b097f[_0x2146e7(0x2f7)](new Event(_0x2146e7(0x133))),_0x2d91d0[_0x2146e7(0x3f8)]();};return _0x2d91d0={'memberID':'','close$':_0x3b097f[_0x53e171(0x40f)](),'error$':_0x43324b[_0x53e171(0x40f)](),'open$':_0x1d58d9[_0x53e171(0xe7)],'message$':_0x3c9905[_0x53e171(0x40f)](),'send':_0x3e5530=>{var _0xeaddbe=_0x53e171;if(_0x3e5530[_0xeaddbe(0x37d)]===W[_0xeaddbe(0x11f)]){if(_0x3e5530[_0xeaddbe(0x213)][_0xeaddbe(0x2cf)]===E[_0xeaddbe(0x107)][_0xeaddbe(0x215)]){this[_0xeaddbe(0x42d)](_0x2d91d0,_0x3e5530[_0xeaddbe(0x213)])[_0xeaddbe(0x29b)](_0xbba238=>{var _0x3ba0f5=_0xeaddbe;this[_0x3ba0f5(0x20f)][_0x3ba0f5(0x437)](_0xbba238),_0x40777a();});return;}if(_0x3e5530[_0xeaddbe(0x213)][_0xeaddbe(0x2cf)]===E[_0xeaddbe(0x107)][_0xeaddbe(0x121)]){const _0x2d74e3=_0x3e5530['data'];this['_fetchMissChangesets'](_0x2d74e3)['then'](_0x3622c9=>{var _0x276072=_0xeaddbe;_0x3c9905[_0x276072(0x2f7)]({'cmd':W[_0x276072(0x2b3)],'code':re['OK'],'routeKey':_0x2d74e3[_0x276072(0x213)][_0x276072(0x289)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x276072(0x182)],'data':{'changesets':_0x3622c9}}});})['catch'](_0x551f68=>{var _0x5a3296=_0xeaddbe;this[_0x5a3296(0x20f)][_0x5a3296(0x437)](_0x551f68),_0x40777a();});return;}}_0x1d58d9['send'](gt(_0x3e5530));},'close':()=>{var _0x494185=_0x53e171;_0x1d58d9[_0x494185(0x3f8)](),_0x3bc8b5[_0x494185(0x1d0)]();}},_0x2d91d0;}async[_0x54277f(0x42d)](_0x46d59b,_0x471e0d){var _0x3d01a5=_0x54277f,_0x1ac6be;const {unitType:_0x5dd733,unitID:_0x1e97d1,changeset:_0x29ca88}=_0x471e0d[_0x3d01a5(0x213)],_0x349079={'unitID':_0x1e97d1,'memberID':_0x46d59b[_0x3d01a5(0x301)],'type':_0x5dd733,'changeset':E[_0x3d01a5(0x10d)](_0x29ca88)},_0x5e3deb=this[_0x3d01a5(0x20d)][_0x3d01a5(0x319)](Y),_0x28ea18=oi((_0x1ac6be=_0x5e3deb==null?void 0x0:_0x5e3deb['collabSubmitChangesetUrl'])!=null?_0x1ac6be:$t,_0x5dd733,_0x1e97d1);try{await this[_0x3d01a5(0x353)][_0x3d01a5(0x2a6)](_0x28ea18,{'body':_0x349079});}catch(_0x47e036){throw this[_0x3d01a5(0x20f)][_0x3d01a5(0x437)](_0x3d01a5(0x1ad),_0x3d01a5(0x40e)),_0x47e036;}}async[_0x54277f(0x422)](_0xa75e1){var _0x4d8c8f=_0x54277f;const {unitID:_0x108457,from:_0x3bf96e,to:_0x484fab,unitType:_0x239ced}=_0xa75e1['data'];return(await this[_0x4d8c8f(0x3ee)][_0x4d8c8f(0x392)]({'metadata':void 0x0},{'unitID':_0x108457,'type':_0x239ced,'from':_0x3bf96e,'to':_0x484fab}))[_0x4d8c8f(0x35b)][_0x4d8c8f(0x1db)](_0x4444ae=>((_0x4444ae['mutations']===null||_0x4444ae[_0x4d8c8f(0x138)]===void 0x0)&&(_0x4444ae[_0x4d8c8f(0x138)]=[]),_0x4444ae));}},exports[_0x54277f(0x3d4)]=ai([he(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),he(0x1,o[_0x54277f(0x226)](K[_0x54277f(0x12f)])),he(0x2,o[_0x54277f(0x3b4)]),he(0x3,o['ILogService']),he(0x4,E[_0x54277f(0x43b)])],exports[_0x54277f(0x3d4)]);var ci=Object[_0x54277f(0x401)],_i=(_0x1bfded,_0x2e0978,_0x9be6d,_0x408b0e)=>{var _0x8aa21b=_0x54277f;for(var _0x454a09=_0x408b0e>0x1?void 0x0:_0x408b0e?ci(_0x2e0978,_0x9be6d):_0x2e0978,_0x54ae4a=_0x1bfded[_0x8aa21b(0x3a0)]-0x1,_0x2d4ba4;_0x54ae4a>=0x0;_0x54ae4a--)(_0x2d4ba4=_0x1bfded[_0x54ae4a])&&(_0x454a09=_0x2d4ba4(_0x454a09)||_0x454a09);return _0x454a09;},_e=(_0x1b681b,_0x1e1519)=>(_0x5e2f52,_0x31e070)=>_0x1e1519(_0x5e2f52,_0x31e070,_0x1b681b);exports[_0x54277f(0x3b8)]=class extends o['Disposable']{constructor(_0x14ce94,_0x268a7b,_0xb7f8c,_0x3607ba,_0x1c2600,_0x427745){var _0x57ad05=_0x54277f;super(),A(this,_0x57ad05(0x2af),new j['BehaviorSubject'](void 0x0)),A(this,'socket$',this[_0x57ad05(0x2af)][_0x57ad05(0x40f)]()),A(this,'_candidateSocket',null),A(this,_0x57ad05(0x254),new Map()),A(this,_0x57ad05(0x1e7),new j['BehaviorSubject'](se['IDLE'])),A(this,_0x57ad05(0x3e9),this['_status$'][_0x57ad05(0x40f)]()),A(this,'_socketReady',!0x1),A(this,_0x57ad05(0x425)),A(this,_0x57ad05(0x264),0x0),A(this,_0x57ad05(0x258)),A(this,_0x57ad05(0x14f)),(this['_injector']=_0x14ce94,this['_logService']=_0x268a7b,this[_0x57ad05(0x20d)]=_0xb7f8c,this[_0x57ad05(0x270)]=_0x3607ba,this['_collaborationUIEventService']=_0x1c2600,this[_0x57ad05(0x418)]=_0x427745,this[_0x57ad05(0x12b)]());}get['_socket'](){var _0x102d91=_0x54277f;return this[_0x102d91(0x2af)][_0x102d91(0x2d9)]();}[_0x54277f(0x12b)](){var _0x5ce12e=_0x54277f;this[_0x5ce12e(0x418)]&&this[_0x5ce12e(0x317)](this[_0x5ce12e(0x418)]['online$'][_0x5ce12e(0x217)](_0x1ddd59=>{var _0x544262=_0x5ce12e;_0x1ddd59&&!this[_0x544262(0x1ed)]&&this[_0x544262(0x3f2)](),_0x1ddd59||this[_0x544262(0x395)]();}));}['dispose'](){var _0x2aa3b8=_0x54277f;super[_0x2aa3b8(0x1d0)](),this['_clearRetryConnectingTimer'](),this[_0x2aa3b8(0x32f)](),this[_0x2aa3b8(0x261)](),this['_sessions']['forEach'](_0x5886f4=>_0x5886f4[_0x2aa3b8(0x1d0)]()),this['_sessions'][_0x2aa3b8(0x2eb)](),this[_0x2aa3b8(0x1e7)]['complete']();}async[_0x54277f(0x367)](_0x5122c1){var _0x192fba=_0x54277f;if(this[_0x192fba(0x254)][_0x192fba(0x3a5)](_0x5122c1))return this['_sessions'][_0x192fba(0x309)](_0x5122c1);this[_0x192fba(0x3b3)]();const _0x13696e=this[_0x192fba(0x1da)][_0x192fba(0x2bd)](exports[_0x192fba(0x388)],_0x5122c1,this['_socket$'][_0x192fba(0x40f)]());return this[_0x192fba(0x254)]['set'](_0x5122c1,_0x13696e),_0x13696e;}[_0x54277f(0x278)](_0x56f2a8){var _0x5b10bc=_0x54277f,_0x4d1e78;const _0x43a5de=this['_sessions'][_0x5b10bc(0x309)](_0x56f2a8);_0x43a5de&&(this[_0x5b10bc(0x254)][_0x5b10bc(0x2a0)](_0x56f2a8),_0x43a5de[_0x5b10bc(0x3f8)]()),this[_0x5b10bc(0x254)][_0x5b10bc(0x44f)]||(_0x4d1e78=this[_0x5b10bc(0x1ed)])==null||_0x4d1e78[_0x5b10bc(0x3f8)]();}[_0x54277f(0x3f2)](){var _0x8967d9=_0x54277f;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x8967d9(0x451)]();}['_clearRetryConnectingTimer'](){var _0x1054f5=_0x54277f;this[_0x1054f5(0x425)]!=null&&(clearTimeout(this[_0x1054f5(0x425)]),this[_0x1054f5(0x425)]=null);}async[_0x54277f(0x30c)](){var _0xb0e14b=_0x54277f,_0x3907a4;const _0x5696a1=this[_0xb0e14b(0x20d)][_0xb0e14b(0x319)](Y),_0x1790de=(_0x3907a4=_0x5696a1==null?void 0x0:_0x5696a1[_0xb0e14b(0x299)])!=null?_0x3907a4:_t,_0x258667=await this['_socketService'][_0xb0e14b(0x431)](_0x1790de);return this[_0xb0e14b(0x2f3)]=_0x258667,_0x258667;}async[_0x54277f(0x3b3)](){var _0x2e4fb3=_0x54277f,_0x3985f3,_0x31e553;try{const _0x54480a=(_0x31e553=(_0x3985f3=this[_0x2e4fb3(0x1ed)])!=null?_0x3985f3:this[_0x2e4fb3(0x2f3)])!=null?_0x31e553:await this[_0x2e4fb3(0x30c)]();if(_0x54480a){const _0x4fb377=_0x54480a[_0x2e4fb3(0x10a)];_0x54480a[_0x2e4fb3(0x10a)]=_0x4c5049=>(this['_rescheduleHeartbeat'](),_0x4fb377[_0x2e4fb3(0x2fe)](_0x54480a,[_0x4c5049])),_0x54480a[_0x2e4fb3(0x2f8)][_0x2e4fb3(0x217)](_0x2d6e77=>this[_0x2e4fb3(0x43d)](_0x54480a,_0x2d6e77)),_0x54480a['error$'][_0x2e4fb3(0x1e6)](V['take'](0x1))[_0x2e4fb3(0x217)](_0x5651af=>this[_0x2e4fb3(0x20f)][_0x2e4fb3(0x437)](_0x2e4fb3(0xee),_0x5651af)),_0x54480a[_0x2e4fb3(0xe7)][_0x2e4fb3(0x1e6)](V[_0x2e4fb3(0x15c)](0x1))[_0x2e4fb3(0x217)](()=>{var _0x24752b=_0x2e4fb3;this[_0x24752b(0x3ce)](_0x54480a);}),_0x54480a[_0x2e4fb3(0x193)][_0x2e4fb3(0x1e6)](V[_0x2e4fb3(0x15c)](0x1))[_0x2e4fb3(0x217)](_0x44db43=>{var _0x46af36=_0x2e4fb3;this[_0x46af36(0x20f)][_0x46af36(0x2db)]('[CollaborationSessionService]',_0x46af36(0x136),_0x44db43),this[_0x46af36(0x402)]();});}}catch(_0xb361be){this[_0x2e4fb3(0x20f)][_0x2e4fb3(0x437)](_0xb361be),this['_onConnectionFailed']();}}[_0x54277f(0x3ce)](_0x5b3d7c){var _0xbbd0=_0x54277f;this['_logService']['debug'](_0xbbd0(0x349),_0xbbd0(0x27b)),_0x5b3d7c[_0xbbd0(0x10a)]({'cmd':W['HELLO']}),this[_0xbbd0(0x14c)]();}['_onOffline'](){var _0x351b5b=_0x54277f;this[_0x351b5b(0x417)]=!0x1,this[_0x351b5b(0x2f3)]=null,this[_0x351b5b(0x1e7)][_0x351b5b(0x2f7)](se['OFFLINE']),this[_0x351b5b(0x2af)][_0x351b5b(0x2f7)](null),this[_0x351b5b(0x32f)](),this[_0x351b5b(0x261)]();}['_onConnectionFailed'](){var _0xad00f9=_0x54277f,_0x4c55bb;this[_0xad00f9(0x395)](),this[_0xad00f9(0x264)]<((_0x4c55bb=this[_0xad00f9(0x20d)]['getConfig'](ut))!=null?_0x4c55bb:wt)?(this['_collaborationUIEventService'][_0xad00f9(0x2a8)]({'id':J[_0xad00f9(0x386)]}),this[_0xad00f9(0x451)]()):this[_0xad00f9(0x466)][_0xad00f9(0x2a8)]({'id':J[_0xad00f9(0x465)]});}[_0x54277f(0x451)](){var _0x1dde3a=_0x54277f,_0x76c239;const _0x9e5b1d=this[_0x1dde3a(0x264)],_0x3a44b0=this['_configService'][_0x1dde3a(0x319)](Y),_0x15a8bd=_0x9e5b1d===0x0?0x0:((_0x76c239=_0x3a44b0==null?void 0x0:_0x3a44b0[_0x1dde3a(0x27e)])!=null?_0x76c239:Mt)*0x2**_0x9e5b1d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x582fc1=_0x1dde3a;clearTimeout(this[_0x582fc1(0x425)]),this[_0x582fc1(0x425)]=null,this[_0x582fc1(0x3b3)]();},_0x15a8bd),this['_retryCount']+=0x1;}[_0x54277f(0x43d)](_0x10044d,_0x54554c){var _0x554c1a=_0x54277f;const {cmd:_0x571f24}=_0x54554c;_0x571f24===W[_0x554c1a(0x471)]&&!this[_0x554c1a(0x417)]&&(_0x10044d[_0x554c1a(0x301)]=_0x54554c[_0x554c1a(0x213)][_0x554c1a(0x301)],this[_0x554c1a(0x2af)]['next'](_0x10044d),this[_0x554c1a(0x1e7)][_0x554c1a(0x2f7)](se[_0x554c1a(0x10f)]),this['_socketReady']=!0x0,this[_0x554c1a(0x2f3)]=null),_0x571f24===W[_0x554c1a(0x2fd)]&&this[_0x554c1a(0x32f)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x3f84a7=_0x54277f,_0x51b773;this[_0x3f84a7(0x261)](),this[_0x3f84a7(0x258)]=setTimeout(()=>this[_0x3f84a7(0x222)](),(_0x51b773=this[_0x3f84a7(0x20d)][_0x3f84a7(0x319)](ht))!=null?_0x51b773:Lt);}[_0x54277f(0x222)](){var _0x36edbd=_0x54277f;this['_socket']['send']({'cmd':W[_0x36edbd(0x2fd)]}),this[_0x36edbd(0x295)]();}[_0x54277f(0x295)](){var _0x420c7c=_0x54277f,_0x16509a;this['_timeoutTimer']=setTimeout(()=>this[_0x420c7c(0x402)](),(_0x16509a=this[_0x420c7c(0x20d)][_0x420c7c(0x319)](ke))!=null?_0x16509a:lt);}[_0x54277f(0x261)](){var _0x1eb0a1=_0x54277f;this[_0x1eb0a1(0x258)]!=null&&(clearTimeout(this[_0x1eb0a1(0x258)]),this[_0x1eb0a1(0x258)]=null);}['_clearTimeoutTimer'](){var _0x1e876c=_0x54277f;this[_0x1e876c(0x14f)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0x54277f(0x3b8)]=_i([_e(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),_e(0x1,o[_0x54277f(0x15b)]),_e(0x2,o[_0x54277f(0x3b4)]),_e(0x3,Fe),_e(0x4,o[_0x54277f(0x226)](ee)),_e(0x5,o[_0x54277f(0x229)](pt))],exports[_0x54277f(0x3b8)]);var hi=Object[_0x54277f(0x401)],li=(_0x2da178,_0x2c4042,_0x246f1d,_0x2d992c)=>{var _0x4a958f=_0x54277f;for(var _0x168560=_0x2d992c>0x1?void 0x0:_0x2d992c?hi(_0x2c4042,_0x246f1d):_0x2c4042,_0x447851=_0x2da178[_0x4a958f(0x3a0)]-0x1,_0x5bbe70;_0x447851>=0x0;_0x447851--)(_0x5bbe70=_0x2da178[_0x447851])&&(_0x168560=_0x5bbe70(_0x168560)||_0x168560);return _0x168560;},Se=(_0x22cd51,_0xc0a0fb)=>(_0x31ffec,_0xbced85)=>_0xc0a0fb(_0x31ffec,_0xbced85,_0x22cd51);exports[_0x54277f(0x371)]=class extends o[_0x54277f(0x233)]{constructor(_0x44b5a0,_0x453ca6,_0xc48e39,_0x1a76f9){var _0x41c4bc=_0x54277f,_0x31406f;super(),A(this,_0x41c4bc(0x1c2),new Map()),A(this,'_entityInit$',new j[(_0x41c4bc(0x1fe))]()),A(this,'entityInit$',this[_0x41c4bc(0x13b)][_0x41c4bc(0x40f)]()),(this[_0x41c4bc(0x1da)]=_0x44b5a0,this[_0x41c4bc(0x1c4)]=_0x453ca6,this[_0x41c4bc(0x20d)]=_0xc48e39,this['_univerInstanceService']=_0x1a76f9,((_0x31406f=this[_0x41c4bc(0x20d)][_0x41c4bc(0x319)](Y))==null?void 0x0:_0x31406f[_0x41c4bc(0x3c2)])!==!0x1&&this['_init']());}[_0x54277f(0x1d0)](){var _0x43f17b=_0x54277f;super['dispose'](),this[_0x43f17b(0x1c2)][_0x43f17b(0x2ae)](_0x21a14e=>_0x21a14e['dispose']()),this['_entities'][_0x43f17b(0x2eb)]();}[_0x54277f(0x304)](_0x4382b1){var _0x123eb0=_0x54277f,_0x5f1541;return(_0x5f1541=this['_entities'][_0x123eb0(0x309)](_0x4382b1))!=null?_0x5f1541:null;}[_0x54277f(0x46b)](_0x4e4c4c){var _0x4f2281=_0x54277f;const _0x51ae13=this[_0x4f2281(0x304)](_0x4e4c4c);return _0x51ae13?j['of'](_0x51ae13):this[_0x4f2281(0x13b)]['pipe'](V[_0x4f2281(0x41c)](_0x4c09eb=>_0x4c09eb[_0x4f2281(0x289)]===_0x4e4c4c));}['readyForCollab'](_0x27cda9){var _0x400bca=_0x54277f;return j[_0x400bca(0x2d0)](this[_0x400bca(0x46b)](_0x27cda9)[_0x400bca(0x1e6)](V[_0x400bca(0x1db)](()=>{})));}['_init'](){var _0x297013=_0x54277f;this['_univerInstanceService'][_0x297013(0x411)](o[_0x297013(0x30e)][_0x297013(0x1c7)])[_0x297013(0x1e6)](j[_0x297013(0x3a7)](this[_0x297013(0x2dd)]),V[_0x297013(0x360)](0x10))[_0x297013(0x217)](async _0x37aa9e=>{var _0x59fcd2=_0x297013;const _0x67c8ef=_0x37aa9e[_0x59fcd2(0x364)](),_0x2b35f0=await this[_0x59fcd2(0x445)](_0x67c8ef,X[_0x59fcd2(0x1c7)]);this[_0x59fcd2(0x1c2)][_0x59fcd2(0x34b)](_0x67c8ef,_0x2b35f0);}),this[_0x297013(0x327)][_0x297013(0x411)](o[_0x297013(0x30e)][_0x297013(0x345)])[_0x297013(0x1e6)](j[_0x297013(0x3a7)](this[_0x297013(0x2dd)]),V[_0x297013(0x360)](0x10))[_0x297013(0x1e6)](V[_0x297013(0x41c)](_0x4050d5=>!_0x4050d5[_0x297013(0x364)]()[_0x297013(0x3cc)]('__')))[_0x297013(0x217)](async _0x644ef8=>{var _0x531f0b=_0x297013;const _0x5cca07=_0x644ef8[_0x531f0b(0x364)](),_0x117505=await this['_startCollaboration'](_0x5cca07,X[_0x531f0b(0x345)]);this[_0x531f0b(0x1c2)][_0x531f0b(0x34b)](_0x5cca07,_0x117505);}),j[_0x297013(0x42f)](this[_0x297013(0x327)]['getTypeOfUnitDisposed$'](o[_0x297013(0x30e)][_0x297013(0x1c7)]),this[_0x297013(0x327)]['getTypeOfUnitDisposed$'](o[_0x297013(0x30e)]['UNIVER_DOC']))[_0x297013(0x1e6)](j[_0x297013(0x3a7)](this[_0x297013(0x2dd)]))[_0x297013(0x217)](_0x17bab2=>{var _0x2cafd8=_0x297013;const _0x90dc8c=_0x17bab2[_0x2cafd8(0x364)](),_0x403925=this[_0x2cafd8(0x1c2)][_0x2cafd8(0x309)](_0x90dc8c);_0x403925&&(_0x403925[_0x2cafd8(0x1d0)](),this[_0x2cafd8(0x1c2)][_0x2cafd8(0x2a0)](_0x90dc8c));});}async[_0x54277f(0x445)](_0xbd3c7b,_0x1ce8d0){var _0x4670f2=_0x54277f;const _0x47b45a=await this['_collabSessionService']['requireSession'](_0xbd3c7b),_0x352d2d=this[_0x4670f2(0x1da)][_0x4670f2(0x2bd)](this[_0x4670f2(0xf2)](_0x1ce8d0),_0xbd3c7b,_0x1ce8d0,_0x47b45a);return await _0x352d2d['init'](),this[_0x4670f2(0x13b)][_0x4670f2(0x2f7)](_0x352d2d),_0x352d2d;}[_0x54277f(0xf2)](_0x2b8428){var _0x36e22c=_0x54277f;switch(_0x2b8428){case X[_0x36e22c(0x345)]:return exports[_0x36e22c(0x383)];case X[_0x36e22c(0x1c7)]:return exports[_0x36e22c(0x117)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2b8428);}}},exports[_0x54277f(0x371)]=li([Se(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),Se(0x1,o['Inject'](exports[_0x54277f(0x3b8)])),Se(0x2,o[_0x54277f(0x3b4)]),Se(0x3,o[_0x54277f(0x277)])],exports[_0x54277f(0x371)]);var ui=Object['getOwnPropertyDescriptor'],vi=(_0x2f1ed5,_0x211ab2,_0x3228b3,_0x9e460f)=>{var _0x444506=_0x54277f;for(var _0x3c84f9=_0x9e460f>0x1?void 0x0:_0x9e460f?ui(_0x211ab2,_0x3228b3):_0x211ab2,_0x7ae8f9=_0x2f1ed5[_0x444506(0x3a0)]-0x1,_0x2d39de;_0x7ae8f9>=0x0;_0x7ae8f9--)(_0x2d39de=_0x2f1ed5[_0x7ae8f9])&&(_0x3c84f9=_0x2d39de(_0x3c84f9)||_0x3c84f9);return _0x3c84f9;},Ye=(_0x4cd606,_0x106f58)=>(_0x262336,_0x5a0282)=>_0x106f58(_0x262336,_0x5a0282,_0x4cd606);const di=_0x54277f(0x3a8),Si=_0x54277f(0xfc);let xe=class extends o[_0x54277f(0x391)]{constructor(_0x39210f,_0x15edca){var _0x3e1b5b=_0x54277f;super(),this['_univerInstanceService']=_0x39210f,this['_configService']=_0x15edca,this[_0x3e1b5b(0x404)]();}['_init'](){var _0x1b51da=_0x54277f;this[_0x1b51da(0x317)](this[_0x1b51da(0x327)]['focused$'][_0x1b51da(0x217)](()=>{var _0x41544a=_0x1b51da,_0x51f5f1;const _0x536fd5=this[_0x41544a(0x327)][_0x41544a(0x23d)]();let _0x122722=(_0x51f5f1=this['_configService'][_0x41544a(0x319)](di))!=null?_0x51f5f1:Si;_0x536fd5 instanceof o[_0x41544a(0x420)]&&(_0x122722=_0x536fd5['name']),document[_0x41544a(0x245)]=_0x122722;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x54277f(0x3b4)])],xe);var Ii=Object['getOwnPropertyDescriptor'],fi=(_0x3b0676,_0x3ee00f,_0x254317,_0x2e396c)=>{for(var _0x338f67=_0x2e396c>0x1?void 0x0:_0x2e396c?Ii(_0x3ee00f,_0x254317):_0x3ee00f,_0xe8c924=_0x3b0676['length']-0x1,_0x16c2d0;_0xe8c924>=0x0;_0xe8c924--)(_0x16c2d0=_0x3b0676[_0xe8c924])&&(_0x338f67=_0x16c2d0(_0x338f67)||_0x338f67);return _0x338f67;},Ae=(_0x424b10,_0x518505)=>(_0x202a53,_0x444a23)=>_0x518505(_0x202a53,_0x444a23,_0x424b10);let Ne=class{constructor(_0x14138a,_0x3d9f98,_0x26083a){var _0x2e7e4a=_0x54277f;this[_0x2e7e4a(0x20d)]=_0x14138a,this['_httpService']=_0x3d9f98,this[_0x2e7e4a(0x3ed)]=_0x26083a,this[_0x2e7e4a(0x19f)]();}[_0x54277f(0x19f)](){var _0x1d46ea=_0x54277f;this[_0x1d46ea(0x353)][_0x1d46ea(0x190)]({'priority':0x1,'interceptor':(_0x1879d0,_0x1a690d)=>_0x1a690d(_0x1879d0)[_0x1d46ea(0x1e6)](j['concatMap'](async _0x2e5e42=>{var _0x3bb447=_0x1d46ea;const _0x2078dc=_0x2e5e42;if(_0x2078dc['status']===0x191){if(typeof window>'u')throw new Error(_0x3bb447(0x256));if(window[_0x3bb447(0x26f)](this['localeService']['t'](_0x3bb447(0x239)))){const _0x13eeb9=window[_0x3bb447(0x231)](window[_0x3bb447(0x2cd)]['href']);window[_0x3bb447(0x2cd)][_0x3bb447(0xfe)]=this[_0x3bb447(0x3ba)]()+_0x3bb447(0x1cf)+_0x13eeb9;}}return _0x2078dc;}))});}[_0x54277f(0x3ba)](){var _0xc9104c=_0x54277f,_0x28e6ea;const _0x20144a=this[_0xc9104c(0x20d)][_0xc9104c(0x319)](Y);return(_0x28e6ea=_0x20144a==null?void 0x0:_0x20144a['loginUrlKey'])!=null?_0x28e6ea:Ht;}};Ne=fi([Ae(0x0,o[_0x54277f(0x3b4)]),Ae(0x1,o[_0x54277f(0x226)](K[_0x54277f(0x12f)])),Ae(0x2,o[_0x54277f(0x226)](o[_0x54277f(0x3d2)]))],Ne);var Ei=Object[_0x54277f(0x401)],pi=(_0x1360ae,_0x24d06b,_0x2e4d38,_0x16e658)=>{var _0x4d52d4=_0x54277f;for(var _0x21fa1f=_0x16e658>0x1?void 0x0:_0x16e658?Ei(_0x24d06b,_0x2e4d38):_0x24d06b,_0x105e2a=_0x1360ae[_0x4d52d4(0x3a0)]-0x1,_0x53e0c3;_0x105e2a>=0x0;_0x105e2a--)(_0x53e0c3=_0x1360ae[_0x105e2a])&&(_0x21fa1f=_0x53e0c3(_0x21fa1f)||_0x21fa1f);return _0x21fa1f;},Ke=(_0x5101ed,_0x29e280)=>(_0x1fb220,_0x57538b)=>_0x29e280(_0x1fb220,_0x57538b,_0x5101ed);const mi=_0x54277f(0x1ba);exports['AuthzIoHttpService']=class extends o[_0x54277f(0x391)]{constructor(_0x451adf,_0x4568d8){var _0x166925=_0x54277f;super(),this['_HTTPService']=_0x451adf,this[_0x166925(0x20d)]=_0x4568d8,this[_0x166925(0x412)]();}[_0x54277f(0x412)](){var _0x954f41=_0x54277f;const _0x5a79a6=this;this['disposeWithMe'](this[_0x954f41(0x120)][_0x954f41(0x190)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x322103){var _0x5d5639=_0x954f41,_0x1618c1;if(_0x322103[_0x5d5639(0x156)]==='POST'&&((_0x1618c1=_0x322103[_0x5d5639(0x146)])!=null&&_0x1618c1[_0x5d5639(0x29e)])){const {objectID:_0x1e21f0,objectType:_0x321272}=_0x322103['requestParams'][_0x5d5639(0x29e)]||{};if(!_0x1e21f0||_0x321272===void 0x0)return!0x1;const _0x5c2893=_0x5a79a6[_0x5d5639(0x3f0)]()+'/'+_0x321272+_0x5d5639(0x296)+_0x1e21f0+_0x5d5639(0x19e);if(_0x322103[_0x5d5639(0x2de)]===_0x5c2893)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32bcf2){var _0x211ddb=_0x954f41,_0x396648;return(_0x396648=_0x32bcf2['requestParams'])==null?void 0x0:_0x396648[_0x211ddb(0x29e)];},'mergeParamsToRequest'(_0x47c32c,_0x15aab4){var _0xfe8e6=_0x954f41;const _0x461c7c=_0x5a79a6[_0xfe8e6(0x3f0)]()+_0xfe8e6(0x237),_0x348a8a=_0x47c32c['reduce']((_0xd79ca0,_0x35a873)=>{const {unitID:_0x400808,objectID:_0x42766c,objectType:_0x57f977,actions:_0x51066d}=_0x35a873;return _0xd79ca0[_0x400808]||(_0xd79ca0[_0x400808]={}),_0xd79ca0[_0x400808][_0x42766c]||(_0xd79ca0[_0x400808][_0x42766c]={'objectID':_0x42766c,'objectType':_0x57f977,'actions':[]}),_0xd79ca0[_0x400808][_0x42766c]['actions']['push'](..._0x51066d),_0xd79ca0;},{}),_0x30b318=[];for(const _0xad4b07 in _0x348a8a)for(const _0x32d6a4 in _0x348a8a[_0xad4b07]){const {actions:_0x873edc,objectType:_0x2db57e}=_0x348a8a[_0xad4b07][_0x32d6a4],_0xf32007=[...new Set(_0x873edc)];_0x30b318[_0xfe8e6(0x394)]({'unitID':_0xad4b07,'objectID':_0x32d6a4,'objectType':_0x2db57e,'actions':_0xf32007});}return new K[(_0xfe8e6(0x396))]('POST',_0x461c7c,{'headers':_0x15aab4['headers'],'withCredentials':_0x15aab4['withCredentials'],'responseType':_0x15aab4[_0xfe8e6(0x20a)],'body':{'requests':_0x30b318}});}},{'distributeResult'(_0x285d3e,_0x51bac5){var _0x15f388=_0x954f41;const {objectActions:_0x395546}=_0x285d3e;return _0x51bac5[_0x15f388(0x1db)](_0x441a59=>{var _0x1390d2=_0x15f388;const {unitID:_0x49f920,objectID:_0x42e327,actions:_0x55d6a8}=_0x441a59,_0x1b7f0b=_0x395546[_0x1390d2(0x20e)](_0x38afce=>_0x38afce[_0x1390d2(0x289)]===_0x49f920&&_0x38afce[_0x1390d2(0x18b)]===_0x42e327),_0x5ef99e=_0x55d6a8[_0x1390d2(0x1db)](_0x4049e2=>_0x1b7f0b==null?void 0x0:_0x1b7f0b[_0x1390d2(0x11c)][_0x1390d2(0x20e)](_0x2378c5=>_0x2378c5['action']===_0x4049e2))[_0x1390d2(0x41c)](_0x5d2c5e=>!!_0x5d2c5e);return{'config':_0x441a59,'result':{'actions':_0x5ef99e,'error':_0x285d3e[_0x1390d2(0x437)]}};});}})}));}['_getAPIPrefixPath'](){var _0xf9dbe4=_0x54277f,_0x24f742;const _0xa4b189=this[_0xf9dbe4(0x20d)][_0xf9dbe4(0x319)](Y);return(_0x24f742=_0xa4b189==null?void 0x0:_0xa4b189[_0xf9dbe4(0x27f)])!=null?_0x24f742:mi;}async['create'](_0x42c222){var _0x42b45c=_0x54277f;const _0x3c5801=this[_0x42b45c(0x3f0)]()+'/'+_0x42c222[_0x42b45c(0x183)]+'/object';return(await this[_0x42b45c(0x120)]['post'](_0x3c5801,{'body':_0x42c222}))[_0x42b45c(0x29e)][_0x42b45c(0x18b)]||'';}async[_0x54277f(0x25b)](_0x2ef79a){var _0x8e8885=_0x54277f;const _0x5d447b=this[_0x8e8885(0x3f0)]()+_0x8e8885(0x39f);return(await this[_0x8e8885(0x120)]['post'](_0x5d447b,{'body':_0x2ef79a}))[_0x8e8885(0x29e)][_0x8e8885(0x1f4)];}async['update'](_0x10ee2){var _0x29ed79=_0x54277f,_0x331e95,_0x511ad8;const _0x2dd6b9=this[_0x29ed79(0x3f0)]()+'/'+_0x10ee2[_0x29ed79(0x183)]+_0x29ed79(0x296)+_0x10ee2[_0x29ed79(0x18b)],_0xa6bbb5=await this[_0x29ed79(0x120)][_0x29ed79(0x38d)](_0x2dd6b9,{'body':_0x10ee2});if(((_0x511ad8=(_0x331e95=_0xa6bbb5==null?void 0x0:_0xa6bbb5[_0x29ed79(0x29e)])==null?void 0x0:_0x331e95[_0x29ed79(0x437)])==null?void 0x0:_0x511ad8['code'])!==0x1)throw new Error(_0x29ed79(0x3a1));}async[_0x54277f(0x2fa)](_0x4c8d35){var _0x342a3b=_0x54277f;const _0xa0c84d=this[_0x342a3b(0x3f0)]()+'/'+_0x4c8d35['objectType']+'/object/'+_0x4c8d35[_0x342a3b(0x18b)]+_0x342a3b(0x19e);return(await this[_0x342a3b(0x120)][_0x342a3b(0x2a6)](_0xa0c84d,{'body':_0x4c8d35}))[_0x342a3b(0x29e)]['actions'];}async['batchAllowed'](_0x29d024){var _0x3cd92e=_0x54277f;const _0x415cd4=this[_0x3cd92e(0x3f0)]()+_0x3cd92e(0x237);return(await this[_0x3cd92e(0x120)]['post'](_0x415cd4,{'body':{'requests':_0x29d024}}))[_0x3cd92e(0x29e)][_0x3cd92e(0x2fb)];}async[_0x54277f(0x381)](_0x5395d1){var _0x3e8402=_0x54277f;const _0x2b9c79=this['_getAPIPrefixPath']()+'/'+_0x5395d1['objectType']+'/role',_0x151ca9=await this[_0x3e8402(0x120)][_0x3e8402(0x2a6)](_0x2b9c79,{'body':_0x5395d1});return{'roles':_0x151ca9[_0x3e8402(0x29e)][_0x3e8402(0x2a5)],'actions':_0x151ca9[_0x3e8402(0x29e)][_0x3e8402(0x11c)]};}async[_0x54277f(0xff)](_0x9a21ec){var _0x9d53f8=_0x54277f;const _0x2d6fc8=this[_0x9d53f8(0x3f0)]()+_0x9d53f8(0x337);await this[_0x9d53f8(0x120)][_0x9d53f8(0x2a0)](_0x2d6fc8,{'params':{'collaboratorID':_0x9a21ec[_0x9d53f8(0x45c)],'objectID':_0x9a21ec[_0x9d53f8(0x18b)],'unitID':_0x9a21ec[_0x9d53f8(0x289)]}});}async[_0x54277f(0x3c3)](_0x24e30d){var _0x48d943=_0x54277f;const _0x3a6c89=this[_0x48d943(0x3f0)]()+_0x48d943(0x337);await this[_0x48d943(0x120)][_0x48d943(0x2bf)](_0x3a6c89,{'body':_0x24e30d});}async['createCollaborator'](_0xab4e91){var _0xc0292a=_0x54277f;const _0x56ea94=this[_0xc0292a(0x3f0)]()+_0xc0292a(0x337);await this['_HTTPService'][_0xc0292a(0x2a6)](_0x56ea94,{'body':_0xab4e91});}async[_0x54277f(0x116)](_0x59b6a9){var _0x38e445=_0x54277f;const _0x39ffac=this[_0x38e445(0x3f0)]()+_0x38e445(0x337);return(await this['_HTTPService']['get'](_0x39ffac,{'params':{'objectID':_0x59b6a9[_0x38e445(0x18b)],'unitID':_0x59b6a9[_0x38e445(0x289)]}}))[_0x38e445(0x29e)][_0x38e445(0x2ee)];}async[_0x54277f(0x42c)](_0x1a5fd1){var _0x34c9f4=_0x54277f;const _0x48ed09=this[_0x34c9f4(0x3f0)]()+_0x34c9f4(0x337);await this[_0x34c9f4(0x120)][_0x34c9f4(0x38d)](_0x48ed09,{'body':_0x1a5fd1});}},exports['AuthzIoHttpService']=pi([Ke(0x0,o['Inject'](K[_0x54277f(0x12f)])),Ke(0x1,o['Inject'](o[_0x54277f(0x3b4)]))],exports[_0x54277f(0x298)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x8ef64d){var _0x1b7606=_0x54277f;return _0x8ef64d&&_0x8ef64d['__esModule']&&Object[_0x1b7606(0x2c7)]['hasOwnProperty'][_0x1b7606(0x423)](_0x8ef64d,_0x1b7606(0x12c))?_0x8ef64d[_0x1b7606(0x12c)]:_0x8ef64d;}var Ie={'exports':{}};function gi(_0x2a7284){var _0x575661=_0x54277f;throw new Error(_0x575661(0x1cd)+_0x2a7284+_0x575661(0x416));}var fe={'exports':{}},Ti=fe[_0x54277f(0x292)],qe;function Z(){var _0x2f4211=_0x54277f;return qe||(qe=0x1,function(_0x145c06,_0x333c31){(function(_0xab6f42,_0x1d8f47){_0x145c06['exports']=_0x1d8f47();}(Ti,function(){var _0x494ac5=_0x494ac5||function(_0x27c1f8,_0x1cf48a){var _0x57dcf8=_0x4c0c,_0x4a4633;if(typeof window<'u'&&window['crypto']&&(_0x4a4633=window[_0x57dcf8(0x2f1)]),typeof self<'u'&&self['crypto']&&(_0x4a4633=self[_0x57dcf8(0x2f1)]),typeof globalThis<'u'&&globalThis[_0x57dcf8(0x2f1)]&&(_0x4a4633=globalThis[_0x57dcf8(0x2f1)]),!_0x4a4633&&typeof window<'u'&&window[_0x57dcf8(0x32e)]&&(_0x4a4633=window[_0x57dcf8(0x32e)]),!_0x4a4633&&typeof Pe<'u'&&Pe[_0x57dcf8(0x2f1)]&&(_0x4a4633=Pe['crypto']),!_0x4a4633&&typeof gi==_0x57dcf8(0x3d9))try{_0x4a4633=require('crypto');}catch{}var _0x46523f=function(){var _0x5ccc4d=_0x57dcf8;if(_0x4a4633){if(typeof _0x4a4633[_0x5ccc4d(0x286)]=='function')try{return _0x4a4633['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a4633[_0x5ccc4d(0x313)]=='function')try{return _0x4a4633[_0x5ccc4d(0x313)](0x4)[_0x5ccc4d(0x1dc)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2dc575=Object['create']||(function(){function _0x5a0eb6(){}return function(_0x154699){var _0x343b4d=_0x4c0c,_0x1d6452;return _0x5a0eb6['prototype']=_0x154699,_0x1d6452=new _0x5a0eb6(),_0x5a0eb6[_0x343b4d(0x2c7)]=null,_0x1d6452;};}()),_0x4ef1f1={},_0x26c481=_0x4ef1f1[_0x57dcf8(0x26a)]={},_0x4e28e7=_0x26c481['Base']=(function(){return{'extend':function(_0xc7203c){var _0x5dae03=_0x4c0c,_0x4ae05e=_0x2dc575(this);return _0xc7203c&&_0x4ae05e['mixIn'](_0xc7203c),(!_0x4ae05e['hasOwnProperty'](_0x5dae03(0x19f))||this[_0x5dae03(0x19f)]===_0x4ae05e[_0x5dae03(0x19f)])&&(_0x4ae05e['init']=function(){var _0x48e7f5=_0x5dae03;_0x4ae05e[_0x48e7f5(0x44c)][_0x48e7f5(0x19f)][_0x48e7f5(0x2fe)](this,arguments);}),_0x4ae05e['init'][_0x5dae03(0x2c7)]=_0x4ae05e,_0x4ae05e[_0x5dae03(0x44c)]=this,_0x4ae05e;},'create':function(){var _0x529562=_0x4c0c,_0x53748f=this[_0x529562(0x266)]();return _0x53748f[_0x529562(0x19f)][_0x529562(0x2fe)](_0x53748f,arguments),_0x53748f;},'init':function(){},'mixIn':function(_0x1a6701){var _0x5b90f7=_0x4c0c;for(var _0x32ba89 in _0x1a6701)_0x1a6701[_0x5b90f7(0x20b)](_0x32ba89)&&(this[_0x32ba89]=_0x1a6701[_0x32ba89]);_0x1a6701[_0x5b90f7(0x20b)]('toString')&&(this['toString']=_0x1a6701[_0x5b90f7(0xfb)]);},'clone':function(){var _0x1f241a=_0x4c0c;return this[_0x1f241a(0x19f)][_0x1f241a(0x2c7)][_0x1f241a(0x266)](this);}};}()),_0x4895b2=_0x26c481[_0x57dcf8(0x1fd)]=_0x4e28e7['extend']({'init':function(_0x29ccc,_0x1f5cc){var _0x174e3e=_0x57dcf8;_0x29ccc=this[_0x174e3e(0x271)]=_0x29ccc||[],_0x1f5cc!=_0x1cf48a?this[_0x174e3e(0x1e5)]=_0x1f5cc:this[_0x174e3e(0x1e5)]=_0x29ccc[_0x174e3e(0x3a0)]*0x4;},'toString':function(_0x850128){var _0x449a1f=_0x57dcf8;return(_0x850128||_0x28224e)[_0x449a1f(0x2a7)](this);},'concat':function(_0x340bba){var _0x1c0765=_0x57dcf8,_0x330696=this[_0x1c0765(0x271)],_0x5952b4=_0x340bba['words'],_0x34d204=this['sigBytes'],_0x24250b=_0x340bba['sigBytes'];if(this[_0x1c0765(0x2f9)](),_0x34d204%0x4)for(var _0x390b1c=0x0;_0x390b1c<_0x24250b;_0x390b1c++){var _0x431caf=_0x5952b4[_0x390b1c>>>0x2]>>>0x18-_0x390b1c%0x4*0x8&0xff;_0x330696[_0x34d204+_0x390b1c>>>0x2]|=_0x431caf<<0x18-(_0x34d204+_0x390b1c)%0x4*0x8;}else{for(var _0x3ec550=0x0;_0x3ec550<_0x24250b;_0x3ec550+=0x4)_0x330696[_0x34d204+_0x3ec550>>>0x2]=_0x5952b4[_0x3ec550>>>0x2];}return this[_0x1c0765(0x1e5)]+=_0x24250b,this;},'clamp':function(){var _0x5151c3=_0x57dcf8,_0x237836=this['words'],_0x35f513=this[_0x5151c3(0x1e5)];_0x237836[_0x35f513>>>0x2]&=0xffffffff<<0x20-_0x35f513%0x4*0x8,_0x237836[_0x5151c3(0x3a0)]=_0x27c1f8[_0x5151c3(0x3b6)](_0x35f513/0x4);},'clone':function(){var _0x503066=_0x57dcf8,_0x2fab63=_0x4e28e7['clone']['call'](this);return _0x2fab63[_0x503066(0x271)]=this[_0x503066(0x271)]['slice'](0x0),_0x2fab63;},'random':function(_0x845d5d){for(var _0x354973=[],_0x5e06d1=0x0;_0x5e06d1<_0x845d5d;_0x5e06d1+=0x4)_0x354973['push'](_0x46523f());return new _0x4895b2['init'](_0x354973,_0x845d5d);}}),_0x4c26ea=_0x4ef1f1[_0x57dcf8(0x2c4)]={},_0x28224e=_0x4c26ea[_0x57dcf8(0x2ac)]={'stringify':function(_0x1d983f){var _0x4ba465=_0x57dcf8;for(var _0x5a0580=_0x1d983f[_0x4ba465(0x271)],_0x277f52=_0x1d983f[_0x4ba465(0x1e5)],_0x2e126f=[],_0x5ecb35=0x0;_0x5ecb35<_0x277f52;_0x5ecb35++){var _0x386fe5=_0x5a0580[_0x5ecb35>>>0x2]>>>0x18-_0x5ecb35%0x4*0x8&0xff;_0x2e126f[_0x4ba465(0x394)]((_0x386fe5>>>0x4)[_0x4ba465(0xfb)](0x10)),_0x2e126f[_0x4ba465(0x394)]((_0x386fe5&0xf)[_0x4ba465(0xfb)](0x10));}return _0x2e126f['join']('');},'parse':function(_0x184e2f){var _0x3a6590=_0x57dcf8;for(var _0x32bc91=_0x184e2f[_0x3a6590(0x3a0)],_0x12d59e=[],_0x174e2b=0x0;_0x174e2b<_0x32bc91;_0x174e2b+=0x2)_0x12d59e[_0x174e2b>>>0x3]|=parseInt(_0x184e2f[_0x3a6590(0x26c)](_0x174e2b,0x2),0x10)<<0x18-_0x174e2b%0x8*0x4;return new _0x4895b2[(_0x3a6590(0x19f))](_0x12d59e,_0x32bc91/0x2);}},_0x8f5ef8=_0x4c26ea[_0x57dcf8(0x274)]={'stringify':function(_0x5f5b16){var _0x3fee80=_0x57dcf8;for(var _0x70bb1b=_0x5f5b16[_0x3fee80(0x271)],_0x4babac=_0x5f5b16['sigBytes'],_0x24e404=[],_0x18a9ee=0x0;_0x18a9ee<_0x4babac;_0x18a9ee++){var _0x166fd4=_0x70bb1b[_0x18a9ee>>>0x2]>>>0x18-_0x18a9ee%0x4*0x8&0xff;_0x24e404[_0x3fee80(0x394)](String[_0x3fee80(0x11d)](_0x166fd4));}return _0x24e404[_0x3fee80(0x24a)]('');},'parse':function(_0x159aa8){var _0x4a00b9=_0x57dcf8;for(var _0x236e51=_0x159aa8[_0x4a00b9(0x3a0)],_0x3850ff=[],_0x2c3432=0x0;_0x2c3432<_0x236e51;_0x2c3432++)_0x3850ff[_0x2c3432>>>0x2]|=(_0x159aa8[_0x4a00b9(0x162)](_0x2c3432)&0xff)<<0x18-_0x2c3432%0x4*0x8;return new _0x4895b2[(_0x4a00b9(0x19f))](_0x3850ff,_0x236e51);}},_0x2632f4=_0x4c26ea[_0x57dcf8(0x282)]={'stringify':function(_0x3a3f56){var _0x3b0363=_0x57dcf8;try{return decodeURIComponent(escape(_0x8f5ef8[_0x3b0363(0x2a7)](_0x3a3f56)));}catch{throw new Error(_0x3b0363(0x3f5));}},'parse':function(_0x4e8ec7){var _0x4673b8=_0x57dcf8;return _0x8f5ef8[_0x4673b8(0x288)](unescape(encodeURIComponent(_0x4e8ec7)));}},_0x5c5aa7=_0x26c481[_0x57dcf8(0x382)]=_0x4e28e7[_0x57dcf8(0x266)]({'reset':function(){var _0x41a259=_0x57dcf8;this[_0x41a259(0x338)]=new _0x4895b2[(_0x41a259(0x19f))](),this['_nDataBytes']=0x0;},'_append':function(_0x55526b){var _0x433ae8=_0x57dcf8;typeof _0x55526b==_0x433ae8(0x369)&&(_0x55526b=_0x2632f4['parse'](_0x55526b)),this[_0x433ae8(0x338)][_0x433ae8(0x1f3)](_0x55526b),this[_0x433ae8(0x127)]+=_0x55526b[_0x433ae8(0x1e5)];},'_process':function(_0x1ba66e){var _0x4af11f=_0x57dcf8,_0x1a16e6,_0x417972=this[_0x4af11f(0x338)],_0x4b26f9=_0x417972[_0x4af11f(0x271)],_0x488ec9=_0x417972['sigBytes'],_0x13d40c=this[_0x4af11f(0x3d0)],_0x756f82=_0x13d40c*0x4,_0x41d8c1=_0x488ec9/_0x756f82;_0x1ba66e?_0x41d8c1=_0x27c1f8[_0x4af11f(0x3b6)](_0x41d8c1):_0x41d8c1=_0x27c1f8['max']((_0x41d8c1|0x0)-this['_minBufferSize'],0x0);var _0x2a2d28=_0x41d8c1*_0x13d40c,_0x108ac7=_0x27c1f8[_0x4af11f(0x139)](_0x2a2d28*0x4,_0x488ec9);if(_0x2a2d28){for(var _0x2ad6ed=0x0;_0x2ad6ed<_0x2a2d28;_0x2ad6ed+=_0x13d40c)this[_0x4af11f(0x31a)](_0x4b26f9,_0x2ad6ed);_0x1a16e6=_0x4b26f9['splice'](0x0,_0x2a2d28),_0x417972[_0x4af11f(0x1e5)]-=_0x108ac7;}return new _0x4895b2[(_0x4af11f(0x19f))](_0x1a16e6,_0x108ac7);},'clone':function(){var _0x5c9cbe=_0x57dcf8,_0x23546b=_0x4e28e7[_0x5c9cbe(0x106)][_0x5c9cbe(0x423)](this);return _0x23546b[_0x5c9cbe(0x338)]=this[_0x5c9cbe(0x338)][_0x5c9cbe(0x106)](),_0x23546b;},'_minBufferSize':0x0});_0x26c481[_0x57dcf8(0x456)]=_0x5c5aa7['extend']({'cfg':_0x4e28e7['extend'](),'init':function(_0x119eb9){var _0x2b393c=_0x57dcf8;this['cfg']=this[_0x2b393c(0x3d6)][_0x2b393c(0x266)](_0x119eb9),this[_0x2b393c(0x403)]();},'reset':function(){var _0x1b5806=_0x57dcf8;_0x5c5aa7[_0x1b5806(0x403)][_0x1b5806(0x423)](this),this['_doReset']();},'update':function(_0x36411c){var _0x5e7820=_0x57dcf8;return this[_0x5e7820(0xe9)](_0x36411c),this[_0x5e7820(0x184)](),this;},'finalize':function(_0x391da9){var _0x5c2dcd=_0x57dcf8;_0x391da9&&this[_0x5c2dcd(0xe9)](_0x391da9);var _0x526d38=this[_0x5c2dcd(0x361)]();return _0x526d38;},'blockSize':0x10,'_createHelper':function(_0x363386){return function(_0x5088c6,_0x508795){var _0x3eeb17=_0x4c0c;return new _0x363386['init'](_0x508795)[_0x3eeb17(0x43c)](_0x5088c6);};},'_createHmacHelper':function(_0x52e7a1){return function(_0x38039e,_0x202c65){var _0x5d70c0=_0x4c0c;return new _0x214178[(_0x5d70c0(0x468))][(_0x5d70c0(0x19f))](_0x52e7a1,_0x202c65)[_0x5d70c0(0x43c)](_0x38039e);};}});var _0x214178=_0x4ef1f1[_0x57dcf8(0x470)]={};return _0x4ef1f1;}(Math);return _0x494ac5;}));}(fe)),fe[_0x2f4211(0x292)];}var Ee={'exports':{}},Ci=Ee['exports'],ze;function Tt(){var _0x50df1e=_0x54277f;return ze||(ze=0x1,function(_0x584303,_0x469f79){(function(_0x302040,_0x13ee52){var _0x19f4b8=_0x4c0c;_0x584303[_0x19f4b8(0x292)]=_0x13ee52(Z());}(Ci,function(_0x2a4c17){var _0x134a84=_0x4c0c;return(function(){var _0x49066a=_0x4c0c,_0x387126=_0x2a4c17,_0x13321d=_0x387126[_0x49066a(0x26a)],_0x4e24b8=_0x13321d[_0x49066a(0x1fd)],_0x41a184=_0x387126[_0x49066a(0x2c4)];_0x41a184['Base64']={'stringify':function(_0x2f0581){var _0x47a115=_0x49066a,_0x15de1d=_0x2f0581[_0x47a115(0x271)],_0x4148ee=_0x2f0581['sigBytes'],_0xf063f1=this['_map'];_0x2f0581[_0x47a115(0x2f9)]();for(var _0x2b0fe5=[],_0x1866c8=0x0;_0x1866c8<_0x4148ee;_0x1866c8+=0x3)for(var _0x3f95fa=_0x15de1d[_0x1866c8>>>0x2]>>>0x18-_0x1866c8%0x4*0x8&0xff,_0x287bd2=_0x15de1d[_0x1866c8+0x1>>>0x2]>>>0x18-(_0x1866c8+0x1)%0x4*0x8&0xff,_0x5f97d5=_0x15de1d[_0x1866c8+0x2>>>0x2]>>>0x18-(_0x1866c8+0x2)%0x4*0x8&0xff,_0x3aa925=_0x3f95fa<<0x10|_0x287bd2<<0x8|_0x5f97d5,_0x32c3c4=0x0;_0x32c3c4<0x4&&_0x1866c8+_0x32c3c4*0.75<_0x4148ee;_0x32c3c4++)_0x2b0fe5[_0x47a115(0x394)](_0xf063f1[_0x47a115(0x41b)](_0x3aa925>>>0x6*(0x3-_0x32c3c4)&0x3f));var _0x260a7b=_0xf063f1[_0x47a115(0x41b)](0x40);if(_0x260a7b){for(;_0x2b0fe5[_0x47a115(0x3a0)]%0x4;)_0x2b0fe5[_0x47a115(0x394)](_0x260a7b);}return _0x2b0fe5['join']('');},'parse':function(_0x5e47b9){var _0x548354=_0x49066a,_0x394608=_0x5e47b9['length'],_0x5a8bf8=this[_0x548354(0x452)],_0x544941=this[_0x548354(0x359)];if(!_0x544941){_0x544941=this['_reverseMap']=[];for(var _0xbab1d8=0x0;_0xbab1d8<_0x5a8bf8['length'];_0xbab1d8++)_0x544941[_0x5a8bf8['charCodeAt'](_0xbab1d8)]=_0xbab1d8;}var _0x3f58b0=_0x5a8bf8['charAt'](0x40);if(_0x3f58b0){var _0xad00ec=_0x5e47b9['indexOf'](_0x3f58b0);_0xad00ec!==-0x1&&(_0x394608=_0xad00ec);}return _0x5856af(_0x5e47b9,_0x394608,_0x544941);},'_map':_0x49066a(0x149)};function _0x5856af(_0x404704,_0x4d7eff,_0x4b5aa7){var _0x3d4c46=_0x49066a;for(var _0x436999=[],_0x5d4847=0x0,_0x32106d=0x0;_0x32106d<_0x4d7eff;_0x32106d++)if(_0x32106d%0x4){var _0x2930dc=_0x4b5aa7[_0x404704[_0x3d4c46(0x162)](_0x32106d-0x1)]<<_0x32106d%0x4*0x2,_0x23b362=_0x4b5aa7[_0x404704[_0x3d4c46(0x162)](_0x32106d)]>>>0x6-_0x32106d%0x4*0x2,_0xcca3a6=_0x2930dc|_0x23b362;_0x436999[_0x5d4847>>>0x2]|=_0xcca3a6<<0x18-_0x5d4847%0x4*0x8,_0x5d4847++;}return _0x4e24b8[_0x3d4c46(0x29c)](_0x436999,_0x5d4847);}}()),_0x2a4c17[_0x134a84(0x2c4)][_0x134a84(0x1c8)];}));}(Ee)),Ee[_0x50df1e(0x292)];}var pe={'exports':{}},Oi=pe[_0x54277f(0x292)],Xe;function bi(){var _0x2bf6f5=_0x54277f;return Xe||(Xe=0x1,function(_0x1f46cd,_0x3a2f87){(function(_0x506083,_0x27ae6e){_0x1f46cd['exports']=_0x27ae6e(Z());}(Oi,function(_0x46a2c3){var _0x5ae865=_0x4c0c;return function(_0x4c4716){var _0x4bd1ba=_0x4c0c,_0x4a9021=_0x46a2c3,_0x1b6eda=_0x4a9021[_0x4bd1ba(0x26a)],_0xc3df3c=_0x1b6eda[_0x4bd1ba(0x1fd)],_0x5311eb=_0x1b6eda[_0x4bd1ba(0x456)],_0x3bd4de=_0x4a9021[_0x4bd1ba(0x470)],_0x4d1e23=[];(function(){var _0x4f0c3d=_0x4bd1ba;for(var _0x25ab7f=0x0;_0x25ab7f<0x40;_0x25ab7f++)_0x4d1e23[_0x25ab7f]=_0x4c4716['abs'](_0x4c4716[_0x4f0c3d(0x1af)](_0x25ab7f+0x1))*0x100000000|0x0;}());var _0x173e52=_0x3bd4de[_0x4bd1ba(0x17f)]=_0x5311eb[_0x4bd1ba(0x266)]({'_doReset':function(){var _0x2e91a4=_0x4bd1ba;this[_0x2e91a4(0x11a)]=new _0xc3df3c[(_0x2e91a4(0x19f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa6f7a8,_0x5b970b){var _0x1d5b24=_0x4bd1ba;for(var _0x501a35=0x0;_0x501a35<0x10;_0x501a35++){var _0x29a619=_0x5b970b+_0x501a35,_0x4190bb=_0xa6f7a8[_0x29a619];_0xa6f7a8[_0x29a619]=(_0x4190bb<<0x8|_0x4190bb>>>0x18)&0xff00ff|(_0x4190bb<<0x18|_0x4190bb>>>0x8)&0xff00ff00;}var _0x15a153=this[_0x1d5b24(0x11a)][_0x1d5b24(0x271)],_0x1bdb86=_0xa6f7a8[_0x5b970b+0x0],_0x2abc8b=_0xa6f7a8[_0x5b970b+0x1],_0x1c8cdb=_0xa6f7a8[_0x5b970b+0x2],_0x5026ae=_0xa6f7a8[_0x5b970b+0x3],_0x9011c9=_0xa6f7a8[_0x5b970b+0x4],_0x525073=_0xa6f7a8[_0x5b970b+0x5],_0x28de63=_0xa6f7a8[_0x5b970b+0x6],_0x2698c6=_0xa6f7a8[_0x5b970b+0x7],_0x473115=_0xa6f7a8[_0x5b970b+0x8],_0x4da8bf=_0xa6f7a8[_0x5b970b+0x9],_0x17e494=_0xa6f7a8[_0x5b970b+0xa],_0x3045e0=_0xa6f7a8[_0x5b970b+0xb],_0x491290=_0xa6f7a8[_0x5b970b+0xc],_0x4ca8f9=_0xa6f7a8[_0x5b970b+0xd],_0x32bea0=_0xa6f7a8[_0x5b970b+0xe],_0x424cd1=_0xa6f7a8[_0x5b970b+0xf],_0x43ac1e=_0x15a153[0x0],_0x4c2d2b=_0x15a153[0x1],_0x3070d8=_0x15a153[0x2],_0x751675=_0x15a153[0x3];_0x43ac1e=_0x14fb6a(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x1bdb86,0x7,_0x4d1e23[0x0]),_0x751675=_0x14fb6a(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x2abc8b,0xc,_0x4d1e23[0x1]),_0x3070d8=_0x14fb6a(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x1c8cdb,0x11,_0x4d1e23[0x2]),_0x4c2d2b=_0x14fb6a(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x5026ae,0x16,_0x4d1e23[0x3]),_0x43ac1e=_0x14fb6a(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x9011c9,0x7,_0x4d1e23[0x4]),_0x751675=_0x14fb6a(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x525073,0xc,_0x4d1e23[0x5]),_0x3070d8=_0x14fb6a(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x28de63,0x11,_0x4d1e23[0x6]),_0x4c2d2b=_0x14fb6a(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x2698c6,0x16,_0x4d1e23[0x7]),_0x43ac1e=_0x14fb6a(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x473115,0x7,_0x4d1e23[0x8]),_0x751675=_0x14fb6a(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x4da8bf,0xc,_0x4d1e23[0x9]),_0x3070d8=_0x14fb6a(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x17e494,0x11,_0x4d1e23[0xa]),_0x4c2d2b=_0x14fb6a(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x3045e0,0x16,_0x4d1e23[0xb]),_0x43ac1e=_0x14fb6a(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x491290,0x7,_0x4d1e23[0xc]),_0x751675=_0x14fb6a(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x4ca8f9,0xc,_0x4d1e23[0xd]),_0x3070d8=_0x14fb6a(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x32bea0,0x11,_0x4d1e23[0xe]),_0x4c2d2b=_0x14fb6a(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x424cd1,0x16,_0x4d1e23[0xf]),_0x43ac1e=_0x32d7d4(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x2abc8b,0x5,_0x4d1e23[0x10]),_0x751675=_0x32d7d4(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x28de63,0x9,_0x4d1e23[0x11]),_0x3070d8=_0x32d7d4(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x3045e0,0xe,_0x4d1e23[0x12]),_0x4c2d2b=_0x32d7d4(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x1bdb86,0x14,_0x4d1e23[0x13]),_0x43ac1e=_0x32d7d4(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x525073,0x5,_0x4d1e23[0x14]),_0x751675=_0x32d7d4(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x17e494,0x9,_0x4d1e23[0x15]),_0x3070d8=_0x32d7d4(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x424cd1,0xe,_0x4d1e23[0x16]),_0x4c2d2b=_0x32d7d4(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x9011c9,0x14,_0x4d1e23[0x17]),_0x43ac1e=_0x32d7d4(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x4da8bf,0x5,_0x4d1e23[0x18]),_0x751675=_0x32d7d4(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x32bea0,0x9,_0x4d1e23[0x19]),_0x3070d8=_0x32d7d4(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x5026ae,0xe,_0x4d1e23[0x1a]),_0x4c2d2b=_0x32d7d4(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x473115,0x14,_0x4d1e23[0x1b]),_0x43ac1e=_0x32d7d4(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x4ca8f9,0x5,_0x4d1e23[0x1c]),_0x751675=_0x32d7d4(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x1c8cdb,0x9,_0x4d1e23[0x1d]),_0x3070d8=_0x32d7d4(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x2698c6,0xe,_0x4d1e23[0x1e]),_0x4c2d2b=_0x32d7d4(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x491290,0x14,_0x4d1e23[0x1f]),_0x43ac1e=_0x529bb9(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x525073,0x4,_0x4d1e23[0x20]),_0x751675=_0x529bb9(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x473115,0xb,_0x4d1e23[0x21]),_0x3070d8=_0x529bb9(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x3045e0,0x10,_0x4d1e23[0x22]),_0x4c2d2b=_0x529bb9(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x32bea0,0x17,_0x4d1e23[0x23]),_0x43ac1e=_0x529bb9(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x2abc8b,0x4,_0x4d1e23[0x24]),_0x751675=_0x529bb9(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x9011c9,0xb,_0x4d1e23[0x25]),_0x3070d8=_0x529bb9(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x2698c6,0x10,_0x4d1e23[0x26]),_0x4c2d2b=_0x529bb9(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x17e494,0x17,_0x4d1e23[0x27]),_0x43ac1e=_0x529bb9(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x4ca8f9,0x4,_0x4d1e23[0x28]),_0x751675=_0x529bb9(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x1bdb86,0xb,_0x4d1e23[0x29]),_0x3070d8=_0x529bb9(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x5026ae,0x10,_0x4d1e23[0x2a]),_0x4c2d2b=_0x529bb9(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x28de63,0x17,_0x4d1e23[0x2b]),_0x43ac1e=_0x529bb9(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x4da8bf,0x4,_0x4d1e23[0x2c]),_0x751675=_0x529bb9(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x491290,0xb,_0x4d1e23[0x2d]),_0x3070d8=_0x529bb9(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x424cd1,0x10,_0x4d1e23[0x2e]),_0x4c2d2b=_0x529bb9(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x1c8cdb,0x17,_0x4d1e23[0x2f]),_0x43ac1e=_0x6ad95c(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x1bdb86,0x6,_0x4d1e23[0x30]),_0x751675=_0x6ad95c(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x2698c6,0xa,_0x4d1e23[0x31]),_0x3070d8=_0x6ad95c(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x32bea0,0xf,_0x4d1e23[0x32]),_0x4c2d2b=_0x6ad95c(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x525073,0x15,_0x4d1e23[0x33]),_0x43ac1e=_0x6ad95c(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x491290,0x6,_0x4d1e23[0x34]),_0x751675=_0x6ad95c(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x5026ae,0xa,_0x4d1e23[0x35]),_0x3070d8=_0x6ad95c(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x17e494,0xf,_0x4d1e23[0x36]),_0x4c2d2b=_0x6ad95c(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x2abc8b,0x15,_0x4d1e23[0x37]),_0x43ac1e=_0x6ad95c(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x473115,0x6,_0x4d1e23[0x38]),_0x751675=_0x6ad95c(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x424cd1,0xa,_0x4d1e23[0x39]),_0x3070d8=_0x6ad95c(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x28de63,0xf,_0x4d1e23[0x3a]),_0x4c2d2b=_0x6ad95c(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x4ca8f9,0x15,_0x4d1e23[0x3b]),_0x43ac1e=_0x6ad95c(_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x751675,_0x9011c9,0x6,_0x4d1e23[0x3c]),_0x751675=_0x6ad95c(_0x751675,_0x43ac1e,_0x4c2d2b,_0x3070d8,_0x3045e0,0xa,_0x4d1e23[0x3d]),_0x3070d8=_0x6ad95c(_0x3070d8,_0x751675,_0x43ac1e,_0x4c2d2b,_0x1c8cdb,0xf,_0x4d1e23[0x3e]),_0x4c2d2b=_0x6ad95c(_0x4c2d2b,_0x3070d8,_0x751675,_0x43ac1e,_0x4da8bf,0x15,_0x4d1e23[0x3f]),_0x15a153[0x0]=_0x15a153[0x0]+_0x43ac1e|0x0,_0x15a153[0x1]=_0x15a153[0x1]+_0x4c2d2b|0x0,_0x15a153[0x2]=_0x15a153[0x2]+_0x3070d8|0x0,_0x15a153[0x3]=_0x15a153[0x3]+_0x751675|0x0;},'_doFinalize':function(){var _0x20e06a=_0x4bd1ba,_0x381373=this[_0x20e06a(0x338)],_0x4b8540=_0x381373['words'],_0x42d3af=this[_0x20e06a(0x127)]*0x8,_0x270c81=_0x381373[_0x20e06a(0x1e5)]*0x8;_0x4b8540[_0x270c81>>>0x5]|=0x80<<0x18-_0x270c81%0x20;var _0x3ff699=_0x4c4716[_0x20e06a(0x455)](_0x42d3af/0x100000000),_0x200cf1=_0x42d3af;_0x4b8540[(_0x270c81+0x40>>>0x9<<0x4)+0xf]=(_0x3ff699<<0x8|_0x3ff699>>>0x18)&0xff00ff|(_0x3ff699<<0x18|_0x3ff699>>>0x8)&0xff00ff00,_0x4b8540[(_0x270c81+0x40>>>0x9<<0x4)+0xe]=(_0x200cf1<<0x8|_0x200cf1>>>0x18)&0xff00ff|(_0x200cf1<<0x18|_0x200cf1>>>0x8)&0xff00ff00,_0x381373['sigBytes']=(_0x4b8540[_0x20e06a(0x3a0)]+0x1)*0x4,this[_0x20e06a(0x184)]();for(var _0x19345a=this[_0x20e06a(0x11a)],_0x1b4ca0=_0x19345a[_0x20e06a(0x271)],_0x24bdc4=0x0;_0x24bdc4<0x4;_0x24bdc4++){var _0x299a40=_0x1b4ca0[_0x24bdc4];_0x1b4ca0[_0x24bdc4]=(_0x299a40<<0x8|_0x299a40>>>0x18)&0xff00ff|(_0x299a40<<0x18|_0x299a40>>>0x8)&0xff00ff00;}return _0x19345a;},'clone':function(){var _0x5364ab=_0x4bd1ba,_0x218718=_0x5311eb['clone']['call'](this);return _0x218718[_0x5364ab(0x11a)]=this['_hash'][_0x5364ab(0x106)](),_0x218718;}});function _0x14fb6a(_0x41a9a4,_0x2c1d2d,_0x282165,_0x1a246b,_0x5f154c,_0x20beb7,_0xea0d99){var _0x5eb061=_0x41a9a4+(_0x2c1d2d&_0x282165|~_0x2c1d2d&_0x1a246b)+_0x5f154c+_0xea0d99;return(_0x5eb061<<_0x20beb7|_0x5eb061>>>0x20-_0x20beb7)+_0x2c1d2d;}function _0x32d7d4(_0x13b280,_0x3ccbf5,_0x2f67c9,_0x196e5c,_0x411006,_0x233725,_0x131f3b){var _0x37a958=_0x13b280+(_0x3ccbf5&_0x196e5c|_0x2f67c9&~_0x196e5c)+_0x411006+_0x131f3b;return(_0x37a958<<_0x233725|_0x37a958>>>0x20-_0x233725)+_0x3ccbf5;}function _0x529bb9(_0x166a7a,_0x59275d,_0x6b36a0,_0x1a8cfc,_0x5a3c52,_0x4cf96a,_0x337f2d){var _0x3f3d91=_0x166a7a+(_0x59275d^_0x6b36a0^_0x1a8cfc)+_0x5a3c52+_0x337f2d;return(_0x3f3d91<<_0x4cf96a|_0x3f3d91>>>0x20-_0x4cf96a)+_0x59275d;}function _0x6ad95c(_0x53bc01,_0x2f75df,_0x52d126,_0x166dbc,_0x384853,_0x5a9421,_0x9e9547){var _0xb4016c=_0x53bc01+(_0x52d126^(_0x2f75df|~_0x166dbc))+_0x384853+_0x9e9547;return(_0xb4016c<<_0x5a9421|_0xb4016c>>>0x20-_0x5a9421)+_0x2f75df;}_0x4a9021[_0x4bd1ba(0x17f)]=_0x5311eb[_0x4bd1ba(0x38e)](_0x173e52),_0x4a9021[_0x4bd1ba(0x223)]=_0x5311eb[_0x4bd1ba(0x408)](_0x173e52);}(Math),_0x46a2c3[_0x5ae865(0x17f)];}));}(pe)),pe[_0x2bf6f5(0x292)];}var me={'exports':{}},ge={'exports':{}},Ri=ge['exports'],Je;function Ni(){return Je||(Je=0x1,function(_0xe5f702,_0x38aa15){(function(_0x3ae35d,_0x17097b){_0xe5f702['exports']=_0x17097b(Z());}(Ri,function(_0x14bbe1){var _0x43de06=_0x4c0c;return(function(){var _0x4b41b7=_0x4c0c,_0x57a83e=_0x14bbe1,_0x39cc3a=_0x57a83e[_0x4b41b7(0x26a)],_0xc51b3b=_0x39cc3a[_0x4b41b7(0x1fd)],_0xdc095e=_0x39cc3a[_0x4b41b7(0x456)],_0x796be1=_0x57a83e[_0x4b41b7(0x470)],_0x88178f=[],_0x5cb581=_0x796be1[_0x4b41b7(0x10c)]=_0xdc095e[_0x4b41b7(0x266)]({'_doReset':function(){var _0x34d77c=_0x4b41b7;this[_0x34d77c(0x11a)]=new _0xc51b3b[(_0x34d77c(0x19f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x13ac5d,_0xb0fb34){var _0x60a1c5=_0x4b41b7;for(var _0x1a7876=this[_0x60a1c5(0x11a)]['words'],_0x4867cd=_0x1a7876[0x0],_0x28ec51=_0x1a7876[0x1],_0x21e741=_0x1a7876[0x2],_0x362b4b=_0x1a7876[0x3],_0x5d6e12=_0x1a7876[0x4],_0x209c8e=0x0;_0x209c8e<0x50;_0x209c8e++){if(_0x209c8e<0x10)_0x88178f[_0x209c8e]=_0x13ac5d[_0xb0fb34+_0x209c8e]|0x0;else{var _0x27ef47=_0x88178f[_0x209c8e-0x3]^_0x88178f[_0x209c8e-0x8]^_0x88178f[_0x209c8e-0xe]^_0x88178f[_0x209c8e-0x10];_0x88178f[_0x209c8e]=_0x27ef47<<0x1|_0x27ef47>>>0x1f;}var _0x3b158c=(_0x4867cd<<0x5|_0x4867cd>>>0x1b)+_0x5d6e12+_0x88178f[_0x209c8e];_0x209c8e<0x14?_0x3b158c+=(_0x28ec51&_0x21e741|~_0x28ec51&_0x362b4b)+0x5a827999:_0x209c8e<0x28?_0x3b158c+=(_0x28ec51^_0x21e741^_0x362b4b)+0x6ed9eba1:_0x209c8e<0x3c?_0x3b158c+=(_0x28ec51&_0x21e741|_0x28ec51&_0x362b4b|_0x21e741&_0x362b4b)-0x70e44324:_0x3b158c+=(_0x28ec51^_0x21e741^_0x362b4b)-0x359d3e2a,_0x5d6e12=_0x362b4b,_0x362b4b=_0x21e741,_0x21e741=_0x28ec51<<0x1e|_0x28ec51>>>0x2,_0x28ec51=_0x4867cd,_0x4867cd=_0x3b158c;}_0x1a7876[0x0]=_0x1a7876[0x0]+_0x4867cd|0x0,_0x1a7876[0x1]=_0x1a7876[0x1]+_0x28ec51|0x0,_0x1a7876[0x2]=_0x1a7876[0x2]+_0x21e741|0x0,_0x1a7876[0x3]=_0x1a7876[0x3]+_0x362b4b|0x0,_0x1a7876[0x4]=_0x1a7876[0x4]+_0x5d6e12|0x0;},'_doFinalize':function(){var _0x2f394a=_0x4b41b7,_0x233506=this[_0x2f394a(0x338)],_0x1a6cfa=_0x233506[_0x2f394a(0x271)],_0x3c428b=this[_0x2f394a(0x127)]*0x8,_0x3f03c0=_0x233506[_0x2f394a(0x1e5)]*0x8;return _0x1a6cfa[_0x3f03c0>>>0x5]|=0x80<<0x18-_0x3f03c0%0x20,_0x1a6cfa[(_0x3f03c0+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3c428b/0x100000000),_0x1a6cfa[(_0x3f03c0+0x40>>>0x9<<0x4)+0xf]=_0x3c428b,_0x233506[_0x2f394a(0x1e5)]=_0x1a6cfa['length']*0x4,this[_0x2f394a(0x184)](),this[_0x2f394a(0x11a)];},'clone':function(){var _0x456873=_0x4b41b7,_0x388ee8=_0xdc095e[_0x456873(0x106)][_0x456873(0x423)](this);return _0x388ee8['_hash']=this[_0x456873(0x11a)][_0x456873(0x106)](),_0x388ee8;}});_0x57a83e[_0x4b41b7(0x10c)]=_0xdc095e[_0x4b41b7(0x38e)](_0x5cb581),_0x57a83e[_0x4b41b7(0x1b2)]=_0xdc095e[_0x4b41b7(0x408)](_0x5cb581);}()),_0x14bbe1[_0x43de06(0x10c)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te[_0x54277f(0x292)],Ze;function yi(){var _0x1079e0=_0x54277f;return Ze||(Ze=0x1,function(_0x32568c,_0x1113b1){(function(_0x5bb090,_0x53e54a){var _0x16604d=_0x4c0c;_0x32568c[_0x16604d(0x292)]=_0x53e54a(Z());}(Di,function(_0x24d73e){(function(){var _0x428ff7=_0x4c0c,_0x6e4c8=_0x24d73e,_0x5107a5=_0x6e4c8[_0x428ff7(0x26a)],_0x5a78c4=_0x5107a5[_0x428ff7(0x143)],_0x505db8=_0x6e4c8['enc'],_0x5642df=_0x505db8[_0x428ff7(0x282)],_0x5dd4ff=_0x6e4c8[_0x428ff7(0x470)];_0x5dd4ff['HMAC']=_0x5a78c4[_0x428ff7(0x266)]({'init':function(_0x11eb2d,_0x153b97){var _0x3f6bea=_0x428ff7;_0x11eb2d=this[_0x3f6bea(0x44a)]=new _0x11eb2d[(_0x3f6bea(0x19f))](),typeof _0x153b97==_0x3f6bea(0x369)&&(_0x153b97=_0x5642df[_0x3f6bea(0x288)](_0x153b97));var _0x374c5b=_0x11eb2d[_0x3f6bea(0x3d0)],_0x119d39=_0x374c5b*0x4;_0x153b97[_0x3f6bea(0x1e5)]>_0x119d39&&(_0x153b97=_0x11eb2d[_0x3f6bea(0x43c)](_0x153b97)),_0x153b97[_0x3f6bea(0x2f9)]();for(var _0x37c4a8=this[_0x3f6bea(0x21a)]=_0x153b97[_0x3f6bea(0x106)](),_0x23ed56=this[_0x3f6bea(0x467)]=_0x153b97[_0x3f6bea(0x106)](),_0x138c36=_0x37c4a8[_0x3f6bea(0x271)],_0xd7099a=_0x23ed56[_0x3f6bea(0x271)],_0x38bfec=0x0;_0x38bfec<_0x374c5b;_0x38bfec++)_0x138c36[_0x38bfec]^=0x5c5c5c5c,_0xd7099a[_0x38bfec]^=0x36363636;_0x37c4a8['sigBytes']=_0x23ed56[_0x3f6bea(0x1e5)]=_0x119d39,this[_0x3f6bea(0x403)]();},'reset':function(){var _0x1be3b1=_0x428ff7,_0x33ac28=this[_0x1be3b1(0x44a)];_0x33ac28[_0x1be3b1(0x403)](),_0x33ac28[_0x1be3b1(0x101)](this['_iKey']);},'update':function(_0x1464cc){var _0x36600e=_0x428ff7;return this[_0x36600e(0x44a)]['update'](_0x1464cc),this;},'finalize':function(_0x10bb2f){var _0x244c22=_0x428ff7,_0x303824=this[_0x244c22(0x44a)],_0x43861f=_0x303824['finalize'](_0x10bb2f);_0x303824['reset']();var _0x1b28d4=_0x303824[_0x244c22(0x43c)](this[_0x244c22(0x21a)][_0x244c22(0x106)]()['concat'](_0x43861f));return _0x1b28d4;}});}());}));}(Te)),Te[_0x1079e0(0x292)];}var Ui=me[_0x54277f(0x292)],Qe;function Ct(){var _0x2227e8=_0x54277f;return Qe||(Qe=0x1,function(_0x9201cc,_0x365513){(function(_0xa2de45,_0xc5aa58,_0x2b1c74){var _0x2f4a23=_0x4c0c;_0x9201cc[_0x2f4a23(0x292)]=_0xc5aa58(Z(),Ni(),yi());}(Ui,function(_0x2753ce){return(function(){var _0x410c2a=_0x4c0c,_0x3c1287=_0x2753ce,_0x2272af=_0x3c1287['lib'],_0x5d42f7=_0x2272af[_0x410c2a(0x143)],_0x1a363b=_0x2272af['WordArray'],_0x2cdb1b=_0x3c1287['algo'],_0xc420b7=_0x2cdb1b['MD5'],_0x49f8b5=_0x2cdb1b['EvpKDF']=_0x5d42f7[_0x410c2a(0x266)]({'cfg':_0x5d42f7[_0x410c2a(0x266)]({'keySize':0x80/0x20,'hasher':_0xc420b7,'iterations':0x1}),'init':function(_0x400477){var _0x3841aa=_0x410c2a;this[_0x3841aa(0x3d6)]=this[_0x3841aa(0x3d6)]['extend'](_0x400477);},'compute':function(_0x4842c5,_0x2ad209){var _0x25318c=_0x410c2a;for(var _0x2f934a,_0x14ebb1=this[_0x25318c(0x3d6)],_0x3bf2e7=_0x14ebb1['hasher'][_0x25318c(0x29c)](),_0x298976=_0x1a363b[_0x25318c(0x29c)](),_0x16dc8b=_0x298976[_0x25318c(0x271)],_0x12522f=_0x14ebb1['keySize'],_0x1ca1c7=_0x14ebb1['iterations'];_0x16dc8b['length']<_0x12522f;){_0x2f934a&&_0x3bf2e7[_0x25318c(0x101)](_0x2f934a),_0x2f934a=_0x3bf2e7[_0x25318c(0x101)](_0x4842c5)[_0x25318c(0x43c)](_0x2ad209),_0x3bf2e7[_0x25318c(0x403)]();for(var _0x5874d=0x1;_0x5874d<_0x1ca1c7;_0x5874d++)_0x2f934a=_0x3bf2e7[_0x25318c(0x43c)](_0x2f934a),_0x3bf2e7['reset']();_0x298976['concat'](_0x2f934a);}return _0x298976['sigBytes']=_0x12522f*0x4,_0x298976;}});_0x3c1287[_0x410c2a(0x464)]=function(_0x31cd7d,_0xdf387c,_0x15e92b){var _0x5d9115=_0x410c2a;return _0x49f8b5[_0x5d9115(0x29c)](_0x15e92b)[_0x5d9115(0x3f9)](_0x31cd7d,_0xdf387c);};}()),_0x2753ce['EvpKDF'];}));}(me)),me[_0x2227e8(0x292)];}var Ce={'exports':{}},Ai=Ce[_0x54277f(0x292)],et;function Ot(){var _0x57a92b=_0x54277f;return et||(et=0x1,function(_0x562d02,_0x5e5a35){(function(_0x2af9bf,_0x538663,_0x3960f3){_0x562d02['exports']=_0x538663(Z(),Ct());}(Ai,function(_0x3d2cc5){var _0x3bcd33=_0x4c0c;_0x3d2cc5[_0x3bcd33(0x26a)][_0x3bcd33(0x374)]||function(_0x2167a3){var _0x42cabf=_0x3bcd33,_0x340358=_0x3d2cc5,_0x322ab1=_0x340358[_0x42cabf(0x26a)],_0x4e0769=_0x322ab1['Base'],_0x7e2f58=_0x322ab1[_0x42cabf(0x1fd)],_0x3c401d=_0x322ab1[_0x42cabf(0x382)],_0x59209f=_0x340358[_0x42cabf(0x2c4)];_0x59209f[_0x42cabf(0x282)];var _0x7c5492=_0x59209f[_0x42cabf(0x1c8)],_0x58f11c=_0x340358['algo'],_0x586222=_0x58f11c['EvpKDF'],_0x1fca0c=_0x322ab1[_0x42cabf(0x374)]=_0x3c401d['extend']({'cfg':_0x4e0769[_0x42cabf(0x266)](),'createEncryptor':function(_0x5c7c86,_0x48e590){var _0x353564=_0x42cabf;return this[_0x353564(0x29c)](this[_0x353564(0x2c2)],_0x5c7c86,_0x48e590);},'createDecryptor':function(_0x485677,_0x2fa3d2){var _0x1de5be=_0x42cabf;return this[_0x1de5be(0x29c)](this[_0x1de5be(0x398)],_0x485677,_0x2fa3d2);},'init':function(_0x139ffd,_0x2453a0,_0xe96c04){var _0x83b4c5=_0x42cabf;this[_0x83b4c5(0x3d6)]=this[_0x83b4c5(0x3d6)][_0x83b4c5(0x266)](_0xe96c04),this[_0x83b4c5(0x3b9)]=_0x139ffd,this['_key']=_0x2453a0,this[_0x83b4c5(0x403)]();},'reset':function(){var _0x26052f=_0x42cabf;_0x3c401d['reset'][_0x26052f(0x423)](this),this[_0x26052f(0x34f)]();},'process':function(_0x436d82){var _0x73c306=_0x42cabf;return this['_append'](_0x436d82),this[_0x73c306(0x184)]();},'finalize':function(_0x25079f){var _0x3cd2b2=_0x42cabf;_0x25079f&&this[_0x3cd2b2(0xe9)](_0x25079f);var _0x2a5882=this[_0x3cd2b2(0x361)]();return _0x2a5882;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3deb21(_0x1b7cd6){var _0x4b11ed=_0x4c0c;return typeof _0x1b7cd6==_0x4b11ed(0x369)?_0x3812b2:_0x496018;}return function(_0x11945c){return{'encrypt':function(_0x319bd9,_0x1f1a5b,_0x2e2da7){var _0x5abe4d=_0x4c0c;return _0x3deb21(_0x1f1a5b)[_0x5abe4d(0x2bb)](_0x11945c,_0x319bd9,_0x1f1a5b,_0x2e2da7);},'decrypt':function(_0x53a988,_0x3d8655,_0x47941e){var _0x281e0a=_0x4c0c;return _0x3deb21(_0x3d8655)[_0x281e0a(0xeb)](_0x11945c,_0x53a988,_0x3d8655,_0x47941e);}};};}())});_0x322ab1[_0x42cabf(0x39a)]=_0x1fca0c[_0x42cabf(0x266)]({'_doFinalize':function(){var _0x570c24=_0x42cabf,_0x151a2b=this[_0x570c24(0x184)](!0x0);return _0x151a2b;},'blockSize':0x1});var _0x57ac3e=_0x340358[_0x42cabf(0x1d2)]={},_0x19ad5a=_0x322ab1[_0x42cabf(0x393)]=_0x4e0769['extend']({'createEncryptor':function(_0x17eded,_0x4ff5f6){var _0x2cd9f3=_0x42cabf;return this[_0x2cd9f3(0x189)][_0x2cd9f3(0x29c)](_0x17eded,_0x4ff5f6);},'createDecryptor':function(_0xb7e802,_0x54b6ec){var _0x548870=_0x42cabf;return this['Decryptor'][_0x548870(0x29c)](_0xb7e802,_0x54b6ec);},'init':function(_0x525d69,_0x4ccbfe){var _0x21d17c=_0x42cabf;this[_0x21d17c(0x2ed)]=_0x525d69,this[_0x21d17c(0x434)]=_0x4ccbfe;}}),_0x22e4fa=_0x57ac3e[_0x42cabf(0x3f6)]=(function(){var _0xe37a9a=_0x42cabf,_0x2a7540=_0x19ad5a[_0xe37a9a(0x266)]();_0x2a7540[_0xe37a9a(0x189)]=_0x2a7540[_0xe37a9a(0x266)]({'processBlock':function(_0x433953,_0x51f9ed){var _0x38b395=_0xe37a9a,_0x47ab0b=this[_0x38b395(0x2ed)],_0x5b3788=_0x47ab0b[_0x38b395(0x3d0)];_0x9c585f[_0x38b395(0x423)](this,_0x433953,_0x51f9ed,_0x5b3788),_0x47ab0b[_0x38b395(0x2b9)](_0x433953,_0x51f9ed),this[_0x38b395(0x43e)]=_0x433953['slice'](_0x51f9ed,_0x51f9ed+_0x5b3788);}}),_0x2a7540[_0xe37a9a(0x38f)]=_0x2a7540['extend']({'processBlock':function(_0x2bca82,_0x54dfa6){var _0xb72eba=_0xe37a9a,_0x2b9981=this[_0xb72eba(0x2ed)],_0x571b2d=_0x2b9981[_0xb72eba(0x3d0)],_0x1ac5e3=_0x2bca82[_0xb72eba(0x1b7)](_0x54dfa6,_0x54dfa6+_0x571b2d);_0x2b9981[_0xb72eba(0x119)](_0x2bca82,_0x54dfa6),_0x9c585f[_0xb72eba(0x423)](this,_0x2bca82,_0x54dfa6,_0x571b2d),this['_prevBlock']=_0x1ac5e3;}});function _0x9c585f(_0x518604,_0x57a004,_0x42db37){var _0x408f9e=_0xe37a9a,_0x47d3f4,_0x515149=this[_0x408f9e(0x434)];_0x515149?(_0x47d3f4=_0x515149,this['_iv']=_0x2167a3):_0x47d3f4=this[_0x408f9e(0x43e)];for(var _0x3ec4ee=0x0;_0x3ec4ee<_0x42db37;_0x3ec4ee++)_0x518604[_0x57a004+_0x3ec4ee]^=_0x47d3f4[_0x3ec4ee];}return _0x2a7540;}()),_0x26c7b9=_0x340358[_0x42cabf(0x303)]={},_0x15ce0d=_0x26c7b9['Pkcs7']={'pad':function(_0x20cfc4,_0x39cd52){var _0x7394c0=_0x42cabf;for(var _0x23ba84=_0x39cd52*0x4,_0x2cb3c5=_0x23ba84-_0x20cfc4[_0x7394c0(0x1e5)]%_0x23ba84,_0x22139c=_0x2cb3c5<<0x18|_0x2cb3c5<<0x10|_0x2cb3c5<<0x8|_0x2cb3c5,_0x375a3c=[],_0x5ef9dc=0x0;_0x5ef9dc<_0x2cb3c5;_0x5ef9dc+=0x4)_0x375a3c[_0x7394c0(0x394)](_0x22139c);var _0x46b973=_0x7e2f58[_0x7394c0(0x29c)](_0x375a3c,_0x2cb3c5);_0x20cfc4[_0x7394c0(0x1f3)](_0x46b973);},'unpad':function(_0x2bf38b){var _0x40d61f=_0x42cabf,_0x60a80e=_0x2bf38b[_0x40d61f(0x271)][_0x2bf38b[_0x40d61f(0x1e5)]-0x1>>>0x2]&0xff;_0x2bf38b['sigBytes']-=_0x60a80e;}};_0x322ab1[_0x42cabf(0x28c)]=_0x1fca0c['extend']({'cfg':_0x1fca0c['cfg'][_0x42cabf(0x266)]({'mode':_0x22e4fa,'padding':_0x15ce0d}),'reset':function(){var _0x574c01=_0x42cabf,_0x189e1d;_0x1fca0c[_0x574c01(0x403)][_0x574c01(0x423)](this);var _0x1e0a6b=this[_0x574c01(0x3d6)],_0x329621=_0x1e0a6b['iv'],_0x1c2c8a=_0x1e0a6b[_0x574c01(0x1d2)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x189e1d=_0x1c2c8a[_0x574c01(0x211)]:(_0x189e1d=_0x1c2c8a['createDecryptor'],this[_0x574c01(0x174)]=0x1),this[_0x574c01(0x1fc)]&&this[_0x574c01(0x1fc)][_0x574c01(0x458)]==_0x189e1d?this['_mode'][_0x574c01(0x19f)](this,_0x329621&&_0x329621[_0x574c01(0x271)]):(this['_mode']=_0x189e1d[_0x574c01(0x423)](_0x1c2c8a,this,_0x329621&&_0x329621[_0x574c01(0x271)]),this['_mode'][_0x574c01(0x458)]=_0x189e1d);},'_doProcessBlock':function(_0x38f99d,_0x5a4ca9){this['_mode']['processBlock'](_0x38f99d,_0x5a4ca9);},'_doFinalize':function(){var _0x2f22d7=_0x42cabf,_0x5a47ea,_0x1b0355=this[_0x2f22d7(0x3d6)][_0x2f22d7(0x171)];return this[_0x2f22d7(0x3b9)]==this[_0x2f22d7(0x2c2)]?(_0x1b0355[_0x2f22d7(0x303)](this[_0x2f22d7(0x338)],this['blockSize']),_0x5a47ea=this[_0x2f22d7(0x184)](!0x0)):(_0x5a47ea=this[_0x2f22d7(0x184)](!0x0),_0x1b0355[_0x2f22d7(0x260)](_0x5a47ea)),_0x5a47ea;},'blockSize':0x80/0x20});var _0x375eb0=_0x322ab1[_0x42cabf(0x1df)]=_0x4e0769[_0x42cabf(0x266)]({'init':function(_0x436707){var _0x32429d=_0x42cabf;this[_0x32429d(0xe8)](_0x436707);},'toString':function(_0x1736c2){var _0x38302d=_0x42cabf;return(_0x1736c2||this[_0x38302d(0x2be)])[_0x38302d(0x2a7)](this);}}),_0x22bb4b=_0x340358[_0x42cabf(0x3e1)]={},_0x10e599=_0x22bb4b[_0x42cabf(0x14b)]={'stringify':function(_0x496d67){var _0x1e2dfe=_0x42cabf,_0x16a170,_0x279243=_0x496d67['ciphertext'],_0x583b22=_0x496d67['salt'];return _0x583b22?_0x16a170=_0x7e2f58[_0x1e2dfe(0x29c)]([0x53616c74,0x65645f5f])[_0x1e2dfe(0x1f3)](_0x583b22)[_0x1e2dfe(0x1f3)](_0x279243):_0x16a170=_0x279243,_0x16a170[_0x1e2dfe(0xfb)](_0x7c5492);},'parse':function(_0x2ae5f7){var _0x40e603=_0x42cabf,_0x2e0fad,_0x5b325f=_0x7c5492[_0x40e603(0x288)](_0x2ae5f7),_0x417ac2=_0x5b325f['words'];return _0x417ac2[0x0]==0x53616c74&&_0x417ac2[0x1]==0x65645f5f&&(_0x2e0fad=_0x7e2f58[_0x40e603(0x29c)](_0x417ac2[_0x40e603(0x1b7)](0x2,0x4)),_0x417ac2['splice'](0x0,0x4),_0x5b325f[_0x40e603(0x1e5)]-=0x10),_0x375eb0['create']({'ciphertext':_0x5b325f,'salt':_0x2e0fad});}},_0x496018=_0x322ab1['SerializableCipher']=_0x4e0769[_0x42cabf(0x266)]({'cfg':_0x4e0769[_0x42cabf(0x266)]({'format':_0x10e599}),'encrypt':function(_0x5cbcdd,_0x596ceb,_0x35c864,_0x31fd4d){var _0x11acca=_0x42cabf;_0x31fd4d=this[_0x11acca(0x3d6)]['extend'](_0x31fd4d);var _0x44a673=_0x5cbcdd[_0x11acca(0x211)](_0x35c864,_0x31fd4d),_0x2b21b7=_0x44a673[_0x11acca(0x43c)](_0x596ceb),_0x2771b5=_0x44a673[_0x11acca(0x3d6)];return _0x375eb0[_0x11acca(0x29c)]({'ciphertext':_0x2b21b7,'key':_0x35c864,'iv':_0x2771b5['iv'],'algorithm':_0x5cbcdd,'mode':_0x2771b5[_0x11acca(0x1d2)],'padding':_0x2771b5[_0x11acca(0x171)],'blockSize':_0x5cbcdd[_0x11acca(0x3d0)],'formatter':_0x31fd4d[_0x11acca(0x3e1)]});},'decrypt':function(_0x4a2b48,_0x52e577,_0x1d3a45,_0x5c0aba){var _0x48af61=_0x42cabf;_0x5c0aba=this[_0x48af61(0x3d6)][_0x48af61(0x266)](_0x5c0aba),_0x52e577=this[_0x48af61(0x3e8)](_0x52e577,_0x5c0aba['format']);var _0x44295c=_0x4a2b48[_0x48af61(0x105)](_0x1d3a45,_0x5c0aba)[_0x48af61(0x43c)](_0x52e577[_0x48af61(0x44b)]);return _0x44295c;},'_parse':function(_0x17b8f0,_0x4af4a8){var _0x19e5c4=_0x42cabf;return typeof _0x17b8f0==_0x19e5c4(0x369)?_0x4af4a8[_0x19e5c4(0x288)](_0x17b8f0,this):_0x17b8f0;}}),_0x580e91=_0x340358[_0x42cabf(0x1c6)]={},_0x19d9b1=_0x580e91['OpenSSL']={'execute':function(_0x3be509,_0x42cd32,_0x1e4799,_0x3b0db7,_0x4fcc9e){var _0x4935dc=_0x42cabf;if(_0x3b0db7||(_0x3b0db7=_0x7e2f58[_0x4935dc(0x248)](0x40/0x8)),_0x4fcc9e)var _0x1a10d6=_0x586222[_0x4935dc(0x29c)]({'keySize':_0x42cd32+_0x1e4799,'hasher':_0x4fcc9e})['compute'](_0x3be509,_0x3b0db7);else var _0x1a10d6=_0x586222[_0x4935dc(0x29c)]({'keySize':_0x42cd32+_0x1e4799})[_0x4935dc(0x3f9)](_0x3be509,_0x3b0db7);var _0x39ebe5=_0x7e2f58[_0x4935dc(0x29c)](_0x1a10d6[_0x4935dc(0x271)][_0x4935dc(0x1b7)](_0x42cd32),_0x1e4799*0x4);return _0x1a10d6['sigBytes']=_0x42cd32*0x4,_0x375eb0[_0x4935dc(0x29c)]({'key':_0x1a10d6,'iv':_0x39ebe5,'salt':_0x3b0db7});}},_0x3812b2=_0x322ab1[_0x42cabf(0x457)]=_0x496018[_0x42cabf(0x266)]({'cfg':_0x496018['cfg']['extend']({'kdf':_0x19d9b1}),'encrypt':function(_0x8b7859,_0x179a1f,_0x19ea96,_0x557482){var _0x2483be=_0x42cabf;_0x557482=this['cfg'][_0x2483be(0x266)](_0x557482);var _0x31d748=_0x557482[_0x2483be(0x1c6)][_0x2483be(0x379)](_0x19ea96,_0x8b7859[_0x2483be(0x3dd)],_0x8b7859[_0x2483be(0x1f0)],_0x557482[_0x2483be(0x307)],_0x557482['hasher']);_0x557482['iv']=_0x31d748['iv'];var _0x13d176=_0x496018[_0x2483be(0x2bb)]['call'](this,_0x8b7859,_0x179a1f,_0x31d748[_0x2483be(0x3b1)],_0x557482);return _0x13d176[_0x2483be(0xe8)](_0x31d748),_0x13d176;},'decrypt':function(_0xd73bf8,_0x2d1945,_0x228ff2,_0x336bee){var _0x56ac8a=_0x42cabf;_0x336bee=this[_0x56ac8a(0x3d6)][_0x56ac8a(0x266)](_0x336bee),_0x2d1945=this['_parse'](_0x2d1945,_0x336bee[_0x56ac8a(0x3e1)]);var _0x174e54=_0x336bee[_0x56ac8a(0x1c6)]['execute'](_0x228ff2,_0xd73bf8['keySize'],_0xd73bf8[_0x56ac8a(0x1f0)],_0x2d1945[_0x56ac8a(0x307)],_0x336bee[_0x56ac8a(0x330)]);_0x336bee['iv']=_0x174e54['iv'];var _0x3a68a6=_0x496018[_0x56ac8a(0xeb)][_0x56ac8a(0x423)](this,_0xd73bf8,_0x2d1945,_0x174e54['key'],_0x336bee);return _0x3a68a6;}});}();}));}(Ce)),Ce[_0x57a92b(0x292)];}var Pi=Ie[_0x54277f(0x292)],tt;function Li(){var _0x403788=_0x54277f;return tt||(tt=0x1,function(_0x51fcdf,_0xf0c80b){(function(_0x44c5d1,_0x21e2a0,_0x5e0c5f){_0x51fcdf['exports']=_0x21e2a0(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x24ff09){var _0x346176=_0x4c0c;return(function(){var _0x479526=_0x4c0c,_0x2c7ce5=_0x24ff09,_0x1c0fbf=_0x2c7ce5[_0x479526(0x26a)],_0x318170=_0x1c0fbf[_0x479526(0x28c)],_0x14cce0=_0x2c7ce5[_0x479526(0x470)],_0x122e54=[],_0x48ccc7=[],_0x228880=[],_0xba4566=[],_0x283797=[],_0x1d24d2=[],_0x286355=[],_0x16ca72=[],_0x453801=[],_0xf3e63=[];(function(){for(var _0x111f74=[],_0x12cdf9=0x0;_0x12cdf9<0x100;_0x12cdf9++)_0x12cdf9<0x80?_0x111f74[_0x12cdf9]=_0x12cdf9<<0x1:_0x111f74[_0x12cdf9]=_0x12cdf9<<0x1^0x11b;for(var _0x2c2a9c=0x0,_0x4a50b2=0x0,_0x12cdf9=0x0;_0x12cdf9<0x100;_0x12cdf9++){var _0x5e1173=_0x4a50b2^_0x4a50b2<<0x1^_0x4a50b2<<0x2^_0x4a50b2<<0x3^_0x4a50b2<<0x4;_0x5e1173=_0x5e1173>>>0x8^_0x5e1173&0xff^0x63,_0x122e54[_0x2c2a9c]=_0x5e1173,_0x48ccc7[_0x5e1173]=_0x2c2a9c;var _0x41380a=_0x111f74[_0x2c2a9c],_0x5aa02c=_0x111f74[_0x41380a],_0x6fabbc=_0x111f74[_0x5aa02c],_0x279be7=_0x111f74[_0x5e1173]*0x101^_0x5e1173*0x1010100;_0x228880[_0x2c2a9c]=_0x279be7<<0x18|_0x279be7>>>0x8,_0xba4566[_0x2c2a9c]=_0x279be7<<0x10|_0x279be7>>>0x10,_0x283797[_0x2c2a9c]=_0x279be7<<0x8|_0x279be7>>>0x18,_0x1d24d2[_0x2c2a9c]=_0x279be7;var _0x279be7=_0x6fabbc*0x1010101^_0x5aa02c*0x10001^_0x41380a*0x101^_0x2c2a9c*0x1010100;_0x286355[_0x5e1173]=_0x279be7<<0x18|_0x279be7>>>0x8,_0x16ca72[_0x5e1173]=_0x279be7<<0x10|_0x279be7>>>0x10,_0x453801[_0x5e1173]=_0x279be7<<0x8|_0x279be7>>>0x18,_0xf3e63[_0x5e1173]=_0x279be7,_0x2c2a9c?(_0x2c2a9c=_0x41380a^_0x111f74[_0x111f74[_0x111f74[_0x6fabbc^_0x41380a]]],_0x4a50b2^=_0x111f74[_0x111f74[_0x4a50b2]]):_0x2c2a9c=_0x4a50b2=0x1;}}());var _0x4e9ee2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x142a13=_0x14cce0['AES']=_0x318170[_0x479526(0x266)]({'_doReset':function(){var _0xf1386=_0x479526,_0x1dfd2b;if(!(this['_nRounds']&&this[_0xf1386(0x3b5)]===this['_key'])){for(var _0x3a5bd1=this[_0xf1386(0x3b5)]=this[_0xf1386(0x18d)],_0x30b36f=_0x3a5bd1[_0xf1386(0x271)],_0x14f26c=_0x3a5bd1[_0xf1386(0x1e5)]/0x4,_0x44f9e1=this['_nRounds']=_0x14f26c+0x6,_0x2c9045=(_0x44f9e1+0x1)*0x4,_0x27f1fa=this[_0xf1386(0x2a2)]=[],_0x4af24f=0x0;_0x4af24f<_0x2c9045;_0x4af24f++)_0x4af24f<_0x14f26c?_0x27f1fa[_0x4af24f]=_0x30b36f[_0x4af24f]:(_0x1dfd2b=_0x27f1fa[_0x4af24f-0x1],_0x4af24f%_0x14f26c?_0x14f26c>0x6&&_0x4af24f%_0x14f26c==0x4&&(_0x1dfd2b=_0x122e54[_0x1dfd2b>>>0x18]<<0x18|_0x122e54[_0x1dfd2b>>>0x10&0xff]<<0x10|_0x122e54[_0x1dfd2b>>>0x8&0xff]<<0x8|_0x122e54[_0x1dfd2b&0xff]):(_0x1dfd2b=_0x1dfd2b<<0x8|_0x1dfd2b>>>0x18,_0x1dfd2b=_0x122e54[_0x1dfd2b>>>0x18]<<0x18|_0x122e54[_0x1dfd2b>>>0x10&0xff]<<0x10|_0x122e54[_0x1dfd2b>>>0x8&0xff]<<0x8|_0x122e54[_0x1dfd2b&0xff],_0x1dfd2b^=_0x4e9ee2[_0x4af24f/_0x14f26c|0x0]<<0x18),_0x27f1fa[_0x4af24f]=_0x27f1fa[_0x4af24f-_0x14f26c]^_0x1dfd2b);for(var _0x21db7a=this['_invKeySchedule']=[],_0x1fbf37=0x0;_0x1fbf37<_0x2c9045;_0x1fbf37++){var _0x4af24f=_0x2c9045-_0x1fbf37;if(_0x1fbf37%0x4)var _0x1dfd2b=_0x27f1fa[_0x4af24f];else var _0x1dfd2b=_0x27f1fa[_0x4af24f-0x4];_0x1fbf37<0x4||_0x4af24f<=0x4?_0x21db7a[_0x1fbf37]=_0x1dfd2b:_0x21db7a[_0x1fbf37]=_0x286355[_0x122e54[_0x1dfd2b>>>0x18]]^_0x16ca72[_0x122e54[_0x1dfd2b>>>0x10&0xff]]^_0x453801[_0x122e54[_0x1dfd2b>>>0x8&0xff]]^_0xf3e63[_0x122e54[_0x1dfd2b&0xff]];}}},'encryptBlock':function(_0x53b1ac,_0x2ddfb4){var _0x216574=_0x479526;this[_0x216574(0x3fc)](_0x53b1ac,_0x2ddfb4,this[_0x216574(0x2a2)],_0x228880,_0xba4566,_0x283797,_0x1d24d2,_0x122e54);},'decryptBlock':function(_0x147ff8,_0x5dc5e8){var _0x4bcfc7=_0x479526,_0x2e26ae=_0x147ff8[_0x5dc5e8+0x1];_0x147ff8[_0x5dc5e8+0x1]=_0x147ff8[_0x5dc5e8+0x3],_0x147ff8[_0x5dc5e8+0x3]=_0x2e26ae,this[_0x4bcfc7(0x3fc)](_0x147ff8,_0x5dc5e8,this[_0x4bcfc7(0x2e1)],_0x286355,_0x16ca72,_0x453801,_0xf3e63,_0x48ccc7);var _0x2e26ae=_0x147ff8[_0x5dc5e8+0x1];_0x147ff8[_0x5dc5e8+0x1]=_0x147ff8[_0x5dc5e8+0x3],_0x147ff8[_0x5dc5e8+0x3]=_0x2e26ae;},'_doCryptBlock':function(_0x5bb6e1,_0x593f1b,_0x2ad7a5,_0x561cec,_0x5eb7da,_0x57abc3,_0x7d8b32,_0x236f31){var _0x427e2a=_0x479526;for(var _0x9c1e17=this[_0x427e2a(0x196)],_0x557fa2=_0x5bb6e1[_0x593f1b]^_0x2ad7a5[0x0],_0x24403d=_0x5bb6e1[_0x593f1b+0x1]^_0x2ad7a5[0x1],_0x3a3387=_0x5bb6e1[_0x593f1b+0x2]^_0x2ad7a5[0x2],_0x3dcfd7=_0x5bb6e1[_0x593f1b+0x3]^_0x2ad7a5[0x3],_0x20c01f=0x4,_0x2e2ba8=0x1;_0x2e2ba8<_0x9c1e17;_0x2e2ba8++){var _0x35b1c2=_0x561cec[_0x557fa2>>>0x18]^_0x5eb7da[_0x24403d>>>0x10&0xff]^_0x57abc3[_0x3a3387>>>0x8&0xff]^_0x7d8b32[_0x3dcfd7&0xff]^_0x2ad7a5[_0x20c01f++],_0xa1a59a=_0x561cec[_0x24403d>>>0x18]^_0x5eb7da[_0x3a3387>>>0x10&0xff]^_0x57abc3[_0x3dcfd7>>>0x8&0xff]^_0x7d8b32[_0x557fa2&0xff]^_0x2ad7a5[_0x20c01f++],_0x4c3b1c=_0x561cec[_0x3a3387>>>0x18]^_0x5eb7da[_0x3dcfd7>>>0x10&0xff]^_0x57abc3[_0x557fa2>>>0x8&0xff]^_0x7d8b32[_0x24403d&0xff]^_0x2ad7a5[_0x20c01f++],_0x47bd59=_0x561cec[_0x3dcfd7>>>0x18]^_0x5eb7da[_0x557fa2>>>0x10&0xff]^_0x57abc3[_0x24403d>>>0x8&0xff]^_0x7d8b32[_0x3a3387&0xff]^_0x2ad7a5[_0x20c01f++];_0x557fa2=_0x35b1c2,_0x24403d=_0xa1a59a,_0x3a3387=_0x4c3b1c,_0x3dcfd7=_0x47bd59;}var _0x35b1c2=(_0x236f31[_0x557fa2>>>0x18]<<0x18|_0x236f31[_0x24403d>>>0x10&0xff]<<0x10|_0x236f31[_0x3a3387>>>0x8&0xff]<<0x8|_0x236f31[_0x3dcfd7&0xff])^_0x2ad7a5[_0x20c01f++],_0xa1a59a=(_0x236f31[_0x24403d>>>0x18]<<0x18|_0x236f31[_0x3a3387>>>0x10&0xff]<<0x10|_0x236f31[_0x3dcfd7>>>0x8&0xff]<<0x8|_0x236f31[_0x557fa2&0xff])^_0x2ad7a5[_0x20c01f++],_0x4c3b1c=(_0x236f31[_0x3a3387>>>0x18]<<0x18|_0x236f31[_0x3dcfd7>>>0x10&0xff]<<0x10|_0x236f31[_0x557fa2>>>0x8&0xff]<<0x8|_0x236f31[_0x24403d&0xff])^_0x2ad7a5[_0x20c01f++],_0x47bd59=(_0x236f31[_0x3dcfd7>>>0x18]<<0x18|_0x236f31[_0x557fa2>>>0x10&0xff]<<0x10|_0x236f31[_0x24403d>>>0x8&0xff]<<0x8|_0x236f31[_0x3a3387&0xff])^_0x2ad7a5[_0x20c01f++];_0x5bb6e1[_0x593f1b]=_0x35b1c2,_0x5bb6e1[_0x593f1b+0x1]=_0xa1a59a,_0x5bb6e1[_0x593f1b+0x2]=_0x4c3b1c,_0x5bb6e1[_0x593f1b+0x3]=_0x47bd59;},'keySize':0x100/0x20});_0x2c7ce5[_0x479526(0x3dc)]=_0x318170[_0x479526(0x38e)](_0x142a13);}()),_0x24ff09[_0x346176(0x3dc)];}));}(Ie)),Ie[_0x403788(0x292)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x54277f(0x292)],nt;function $i(){var _0x1f6117=_0x54277f;return nt||(nt=0x1,function(_0x4f3585,_0x26ecdc){(function(_0x1d6c77,_0x2de6cf){var _0x422ac9=_0x4c0c;_0x4f3585[_0x422ac9(0x292)]=_0x2de6cf(Z());}(ki,function(_0x1ebaf1){var _0x408ca8=_0x4c0c;return _0x1ebaf1['enc'][_0x408ca8(0x282)];}));}(Oe)),Oe[_0x1f6117(0x292)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x54277f(0x292)],st;function Fi(){var _0x4a15c7=_0x54277f;return st||(st=0x1,function(_0x2e04af,_0x2358b6){(function(_0xcedc10,_0x183f47){var _0x3371cf=_0x4c0c;_0x2e04af[_0x3371cf(0x292)]=_0x183f47(Z());}(Bi,function(_0x14d6ce){var _0x123b6d=_0x4c0c;return(function(){var _0x3a3c74=_0x4c0c;if(typeof ArrayBuffer==_0x3a3c74(0x3d9)){var _0x1e1fbc=_0x14d6ce,_0x5381d7=_0x1e1fbc['lib'],_0x3e9bb4=_0x5381d7[_0x3a3c74(0x1fd)],_0x58e087=_0x3e9bb4[_0x3a3c74(0x19f)],_0x39d9c6=_0x3e9bb4['init']=function(_0x392fd3){var _0x56f619=_0x3a3c74;if(_0x392fd3 instanceof ArrayBuffer&&(_0x392fd3=new Uint8Array(_0x392fd3)),(_0x392fd3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x392fd3 instanceof Uint8ClampedArray||_0x392fd3 instanceof Int16Array||_0x392fd3 instanceof Uint16Array||_0x392fd3 instanceof Int32Array||_0x392fd3 instanceof Uint32Array||_0x392fd3 instanceof Float32Array||_0x392fd3 instanceof Float64Array)&&(_0x392fd3=new Uint8Array(_0x392fd3[_0x56f619(0x181)],_0x392fd3[_0x56f619(0x36b)],_0x392fd3[_0x56f619(0xed)])),_0x392fd3 instanceof Uint8Array){for(var _0x83957=_0x392fd3[_0x56f619(0xed)],_0x4305ee=[],_0x3f8221=0x0;_0x3f8221<_0x83957;_0x3f8221++)_0x4305ee[_0x3f8221>>>0x2]|=_0x392fd3[_0x3f8221]<<0x18-_0x3f8221%0x4*0x8;_0x58e087[_0x56f619(0x423)](this,_0x4305ee,_0x83957);}else _0x58e087[_0x56f619(0x2fe)](this,arguments);};_0x39d9c6[_0x3a3c74(0x2c7)]=_0x3e9bb4;}}()),_0x14d6ce['lib'][_0x123b6d(0x1fd)];}));}(be)),be[_0x4a15c7(0x292)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){return rt||(rt=0x1,function(_0x5e4ee6,_0xd2524d){(function(_0x286aae,_0x28d5c1,_0x3cc5e0){var _0x5a192a=_0x4c0c;_0x5e4ee6[_0x5a192a(0x292)]=_0x28d5c1(Z(),Ot());}(Gi,function(_0x39dfef){var _0x2e1ee8=_0x4c0c;return _0x39dfef['pad'][_0x2e1ee8(0x212)]={'pad':function(){},'unpad':function(){}},_0x39dfef['pad'][_0x2e1ee8(0x212)];}));}(Re)),Re['exports'];}var Ki=Yi();const qi=de(Ki);function zi(_0x54ca87,_0xf9ca7e){var _0x683a7b=_0x54277f;const _0x45fc8f=_0xf9ca7e-_0x54ca87[_0x683a7b(0x3a0)]%_0xf9ca7e,_0x41dc3c=String[_0x683a7b(0x11d)](_0x45fc8f)[_0x683a7b(0x169)](_0x45fc8f);return _0x54ca87+_0x41dc3c;}function Xi(_0x129305,_0x55ab73){var _0x3c8172=_0x54277f;const _0x251e66=Wi[_0x3c8172(0x248)](0x10),_0x1581ff=zi(_0x129305,0x10),_0x2c310a=wi[_0x3c8172(0x2bb)](ji[_0x3c8172(0x288)](_0x1581ff),it[_0x3c8172(0x288)](_0x55ab73),{'iv':_0x251e66,'padding':qi});return _0x251e66[_0x3c8172(0x1f3)](_0x2c310a[_0x3c8172(0x44b)])[_0x3c8172(0xfb)](it);}function Ji(){var _0x134c1b=_0x54277f;const _0xec04f2=Dt[_0x134c1b(0x472)]()['__Key__'];if(_0xec04f2){const _0x46aed2={'time':Math[_0x134c1b(0x455)](Date['now']()/0x3e8),'domain':location[_0x134c1b(0x20c)]};return Xi(JSON[_0x134c1b(0x2a7)](_0x46aed2),_0xec04f2);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x560c90,_0x3ba78a,_0x52fb8f,_0x45cd82)=>{var _0x5d02c7=_0x54277f;for(var _0x40d625=_0x45cd82>0x1?void 0x0:_0x45cd82?Zi(_0x3ba78a,_0x52fb8f):_0x3ba78a,_0x4d8f26=_0x560c90[_0x5d02c7(0x3a0)]-0x1,_0x761aca;_0x4d8f26>=0x0;_0x4d8f26--)(_0x761aca=_0x560c90[_0x4d8f26])&&(_0x40d625=_0x761aca(_0x40d625)||_0x40d625);return _0x40d625;},en=(_0x14e368,_0x2d82a6)=>(_0x179e27,_0x481518)=>_0x2d82a6(_0x179e27,_0x481518,_0x14e368);let De=class{constructor(_0x1b04fe){var _0x40978b=_0x54277f;this[_0x40978b(0x353)]=_0x1b04fe,this[_0x40978b(0xf4)]();}[_0x54277f(0xf4)](){var _0x3e3a5a=_0x54277f;this[_0x3e3a5a(0x353)]['registerHTTPInterceptor']({'interceptor':(_0x565568,_0x32f6b0)=>{var _0x46dd8e=_0x3e3a5a;const _0x40498b=_0x565568[_0x46dd8e(0x21b)],_0x34e980=Ji();return _0x34e980&&_0x40498b[_0x46dd8e(0x34b)](_0x46dd8e(0x17b),_0x34e980),_0x32f6b0(_0x565568);}});}};De=Qi([en(0x0,o[_0x54277f(0x226)](K['HTTPService']))],De);var tn=Object[_0x54277f(0x401)],nn=(_0x5db21f,_0x50d5db,_0x3564dc,_0x2afc61)=>{var _0x4183f9=_0x54277f;for(var _0x232e1b=_0x2afc61>0x1?void 0x0:_0x2afc61?tn(_0x50d5db,_0x3564dc):_0x50d5db,_0x5cb96c=_0x5db21f[_0x4183f9(0x3a0)]-0x1,_0x30b2f8;_0x5cb96c>=0x0;_0x5cb96c--)(_0x30b2f8=_0x5db21f[_0x5cb96c])&&(_0x232e1b=_0x30b2f8(_0x232e1b)||_0x232e1b);return _0x232e1b;},Le=(_0xf2602b,_0x217512)=>(_0x3d73ee,_0x4d8788)=>_0x217512(_0x3d73ee,_0x4d8788,_0xf2602b);exports[_0x54277f(0x447)]=class extends o[_0x54277f(0x233)]{constructor(_0x3865da,_0x3ee387,_0x40a1ab){var _0x2cd542=_0x54277f;super(),A(this,'_unitInfo$',new j[(_0x2cd542(0xea))](null)),A(this,_0x2cd542(0x24b),this[_0x2cd542(0x1c3)]['asObservable']()),(this[_0x2cd542(0x20f)]=_0x3865da,this[_0x2cd542(0x2d4)]=_0x3ee387,this['_localCacheService']=_0x40a1ab);}async[_0x54277f(0x351)](_0x40199a,_0x393d78,_0x2840a5){var _0x457d14=_0x54277f;this[_0x457d14(0x1c3)]['next']({'unitId':_0x40199a,'type':_0x393d78});let _0x3eb9f1=null;switch(_0x393d78){case X[_0x457d14(0x1c7)]:{_0x3eb9f1=await this[_0x457d14(0x2d4)][_0x457d14(0x186)](_0x40199a,_0x2840a5);break;}case X[_0x457d14(0x345)]:{_0x3eb9f1=await this['_snapshotService'][_0x457d14(0x39e)](_0x40199a,_0x2840a5);break;}default:{this[_0x457d14(0x20f)]['error'](_0x457d14(0x454),_0x457d14(0x154));break;}}return _0x3eb9f1;}async[_0x54277f(0x428)](_0x5a429a,_0x305da3,_0x1808f1){var _0x9abba0=_0x54277f,_0x1dc0e0;this['_unitInfo$'][_0x9abba0(0x2f7)]({'unitId':_0x5a429a,'type':_0x305da3,'subUnitId':_0x1808f1});let _0x51cb56=0x0;const _0x32fd27=await((_0x1dc0e0=this[_0x9abba0(0x36c)])==null?void 0x0:_0x1dc0e0[_0x9abba0(0x1cb)](_0x5a429a));return _0x32fd27&&(_0x32fd27[_0x9abba0(0x110)]||_0x32fd27['mutations'][_0x9abba0(0x3a0)]!==0x0)&&(_0x51cb56=_0x32fd27[_0x9abba0(0x177)]),_0x51cb56===0x0&&this['_logService'][_0x9abba0(0x2db)](_0x9abba0(0x454),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x5a429a,_0x305da3,_0x51cb56);}},exports[_0x54277f(0x447)]=nn([Le(0x0,o[_0x54277f(0x15b)]),Le(0x1,o[_0x54277f(0x226)](E['SnapshotService'])),Le(0x2,o[_0x54277f(0x229)](q))],exports[_0x54277f(0x447)]);var sn=Object[_0x54277f(0x401)],rn=(_0x4ce613,_0x5f47e4,_0xfd1e12,_0x951f62)=>{for(var _0x3b5fc7=_0x951f62>0x1?void 0x0:_0x951f62?sn(_0x5f47e4,_0xfd1e12):_0x5f47e4,_0x1786ee=_0x4ce613['length']-0x1,_0x198c7a;_0x1786ee>=0x0;_0x1786ee--)(_0x198c7a=_0x4ce613[_0x1786ee])&&(_0x3b5fc7=_0x198c7a(_0x3b5fc7)||_0x3b5fc7);return _0x3b5fc7;},Me=(_0x33a898,_0x2a0295)=>(_0x53cff4,_0x5cce70)=>_0x2a0295(_0x53cff4,_0x5cce70,_0x33a898);const an=[_0x54277f(0x15a),'image/jpeg','image/jpg','image/gif',_0x54277f(0x28d)],on=0x5*0x400*0x400,cn=_0x54277f(0x334),_n='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x4444c7,_0x75d8fc,_0x51a6e9){var _0x1b0da4=_0x54277f;A(this,'_waitCount',0x0),A(this,_0x1b0da4(0x172),new j[(_0x1b0da4(0x1fe))]()),A(this,_0x1b0da4(0x170),this[_0x1b0da4(0x172)]),A(this,_0x1b0da4(0x134),new Map()),(this['_httpService']=_0x4444c7,this[_0x1b0da4(0x20d)]=_0x75d8fc,this['_univerInstanceService']=_0x51a6e9);}[_0x54277f(0x205)](_0x5797be){var _0x1200fb=_0x54277f;this[_0x1200fb(0xf1)]=_0x5797be,this['_change$']['next'](_0x5797be);}[_0x54277f(0x111)](_0x59d87f,_0x21df90){var _0x4aa16e=_0x54277f;if(_0x21df90===z['ImageSourceType'][_0x4aa16e(0x27d)]){const _0x10a77c=new Image();return _0x10a77c[_0x4aa16e(0x283)]=_0x59d87f,_0x10a77c;}return this[_0x4aa16e(0x134)][_0x4aa16e(0x309)](_0x59d87f);}['addImageSourceCache'](_0x4a1d3d,_0xe34a17,_0x26965e){var _0x147eac=_0x54277f;_0xe34a17===z[_0x147eac(0x28f)]['BASE64']||_0x26965e==null||this[_0x147eac(0x134)][_0x147eac(0x34b)](_0x4a1d3d,_0x26965e);}async[_0x54277f(0x39b)](_0xd681ec){var _0x1e4899=_0x54277f;try{const _0x282075=this[_0x1e4899(0x385)](this[_0x1e4899(0x41a)](),''+_0xd681ec),_0x4a5a0f=(await this[_0x1e4899(0x353)][_0x1e4899(0x309)](_0x282075))[_0x1e4899(0x29e)];if(_0x4a5a0f[_0x1e4899(0x437)]&&_0x4a5a0f[_0x1e4899(0x437)]['code']===vt['OK']){const _0xe65aa6=new URL(_0x4a5a0f[_0x1e4899(0x2de)],this[_0x1e4899(0x2e5)]())[_0x1e4899(0xfb)]();return Promise[_0x1e4899(0xe6)](_0xe65aa6);}return Promise['reject'](_0x4a5a0f[_0x1e4899(0x437)]);}catch(_0x4ac161){return Promise['reject'](_0x4ac161);}}async[_0x54277f(0x1f5)](_0x5ce331){var _0x46281d=_0x54277f;let _0x1b58e5='';if(!an[_0x46281d(0xf9)](_0x5ce331[_0x46281d(0x24e)]))return this[_0x46281d(0x424)](),Promise[_0x46281d(0x419)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x5ce331[_0x46281d(0x44f)]>on)return this[_0x46281d(0x424)](),Promise['reject'](new Error(z[_0x46281d(0x197)]['ERROR_EXCEED_SIZE']));try{const _0x55f385=new FormData();_0x55f385[_0x46281d(0x263)](_0x46281d(0x187),_0x5ce331);const _0x5b44cb=this[_0x46281d(0x327)][_0x46281d(0x23d)](),_0xdff492=_0x5b44cb==null?void 0x0:_0x5b44cb[_0x46281d(0x364)]();if(!_0xdff492)throw new Error('unitId\x20is\x20not\x20found');const _0x18ed43=this[_0x46281d(0x3f4)]()+'?size='+_0x5ce331['size'][_0x46281d(0xfb)]()+_0x46281d(0x3ad)+dt['UnitEmbedded']+_0x46281d(0x19a)+encodeURIComponent(_0xdff492),_0xd8c726={'body':_0x55f385},_0x143d8a=(await this[_0x46281d(0x353)][_0x46281d(0x2a6)](_0x18ed43,_0xd8c726))[_0x46281d(0x29e)];if(typeof _0x143d8a[_0x46281d(0x35c)]!=_0x46281d(0x369))return this[_0x46281d(0x424)](),Promise[_0x46281d(0x419)](new Error(z[_0x46281d(0x197)][_0x46281d(0x2b1)]));_0x1b58e5=_0x143d8a[_0x46281d(0x35c)];}catch{return this['_decreaseWaiting'](),Promise[_0x46281d(0x419)](new Error(z[_0x46281d(0x197)][_0x46281d(0x2b1)]));}return new Promise((_0x2a6897,_0x4d7923)=>{var _0x4ed01a=_0x46281d;const _0x2fd28e=new FileReader();_0x2fd28e[_0x4ed01a(0x31d)](_0x5ce331),_0x2fd28e[_0x4ed01a(0x1b6)]=_0x4e4f18=>{var _0x1ce207=_0x4ed01a,_0x25a97d;const _0x3c2867=(_0x25a97d=_0x4e4f18[_0x1ce207(0x26b)])==null?void 0x0:_0x25a97d[_0x1ce207(0x357)];if(_0x3c2867==null){this[_0x1ce207(0x424)](),_0x4d7923(new Error(z[_0x1ce207(0x197)][_0x1ce207(0x2b1)]));return;}const _0x18988a=o['generateRandomId'](0x6);_0x2a6897({'imageId':_0x18988a,'imageSourceType':z['ImageSourceType'][_0x1ce207(0x3c4)],'source':_0x1b58e5,'base64Cache':_0x3c2867,'status':z[_0x1ce207(0x197)][_0x1ce207(0x24c)]}),this['_decreaseWaiting']();};});}[_0x54277f(0x3f4)](){var _0x19a5cc=_0x54277f,_0x32e4c5;const _0x1e5b3d=this[_0x19a5cc(0x20d)][_0x19a5cc(0x319)](Y);return(_0x32e4c5=_0x1e5b3d==null?void 0x0:_0x1e5b3d[_0x19a5cc(0x3c6)])!=null?_0x32e4c5:cn;}[_0x54277f(0x41a)](){var _0x2d4603=_0x54277f,_0xd4e63c;const _0xbf20bf=this[_0x2d4603(0x20d)][_0x2d4603(0x319)](Y);return(_0xd4e63c=_0xbf20bf==null?void 0x0:_0xbf20bf[_0x2d4603(0x2cb)])!=null?_0xd4e63c:_n;}[_0x54277f(0x2e5)](){var _0x53a6fc=_0x54277f,_0x15a525;const _0xaa81d4=this[_0x53a6fc(0x20d)][_0x53a6fc(0x319)](Y);return(_0x15a525=_0xaa81d4==null?void 0x0:_0xaa81d4[_0x53a6fc(0x163)])!=null?_0x15a525:location[_0x53a6fc(0x463)];}[_0x54277f(0x385)](_0x26c04b,_0x46b3f7){var _0x1a9291=_0x54277f;return _0x26c04b['replace'](_0x1a9291(0xfa),_0x46b3f7);}[_0x54277f(0x424)](){var _0x12356a=_0x54277f;this['_waitCount']-=0x1,this[_0x12356a(0x172)][_0x12356a(0x2f7)](this[_0x12356a(0xf1)]);}},exports[_0x54277f(0x343)]=rn([Me(0x0,o['Inject'](K[_0x54277f(0x12f)])),Me(0x1,o['IConfigService']),Me(0x2,o[_0x54277f(0x226)](o[_0x54277f(0x277)]))],exports[_0x54277f(0x343)]);var hn=Object['getOwnPropertyDescriptor'],ln=(_0x4ff03a,_0x4cfaa9,_0xf6b939,_0x7b4a72)=>{var _0x1c9a59=_0x54277f;for(var _0x1850d1=_0x7b4a72>0x1?void 0x0:_0x7b4a72?hn(_0x4cfaa9,_0xf6b939):_0x4cfaa9,_0x2b9888=_0x4ff03a[_0x1c9a59(0x3a0)]-0x1,_0x148738;_0x2b9888>=0x0;_0x2b9888--)(_0x148738=_0x4ff03a[_0x2b9888])&&(_0x1850d1=_0x148738(_0x1850d1)||_0x1850d1);return _0x1850d1;},at=(_0x31d692,_0x262478)=>(_0x48ff9d,_0x28ed8d)=>_0x262478(_0x48ff9d,_0x28ed8d,_0x31d692);const un=_0x54277f(0x1ba);exports['MentionIoHttpService']=class{constructor(_0x1e6a54,_0x47b8af){var _0x22a1ed=_0x54277f;this[_0x22a1ed(0x20d)]=_0x1e6a54,this['_HTTPService']=_0x47b8af;}[_0x54277f(0x3f0)](){var _0x518973=_0x54277f,_0x566f0b;const _0x30e0a8=this[_0x518973(0x20d)][_0x518973(0x319)](Y);return(_0x566f0b=_0x30e0a8==null?void 0x0:_0x30e0a8[_0x518973(0x27f)])!=null?_0x566f0b:un;}async[_0x54277f(0x25b)](_0x18e0b2){var _0xd9200d=_0x54277f;const _0x219a90=this[_0xd9200d(0x3f0)]()+_0xd9200d(0x337);return{'list':[{'title':_0xd9200d(0x3e3),'mentions':(await this['_HTTPService'][_0xd9200d(0x309)](_0x219a90,{'params':{'objectID':_0x18e0b2['unitId'],'unitID':_0x18e0b2[_0xd9200d(0x1b8)]}}))[_0xd9200d(0x29e)][_0xd9200d(0x2ee)][_0xd9200d(0x1db)](_0x1987cb=>({'objectId':_0x1987cb['id'],'name':_0x1987cb[_0xd9200d(0x3e7)][_0xd9200d(0x3b7)],'metadata':{'icon':_0x1987cb['subject'][_0xd9200d(0x1ec)]},'label':_0x1987cb[_0xd9200d(0x3e7)][_0xd9200d(0x3b7)],'objectType':o[_0xd9200d(0x218)][_0xd9200d(0x316)]})),'metadata':{},'type':o[_0xd9200d(0x218)][_0xd9200d(0x316)]}]};}},exports[_0x54277f(0x3ae)]=ln([at(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x3b4)])),at(0x1,o[_0x54277f(0x226)](K['HTTPService']))],exports[_0x54277f(0x3ae)]);function _0xfa0e(){var _0x8fb87c=['/-/object/list','length','Failed\x20to\x20update\x20permission\x20point','UNAUTHENTICATED','_transformUndoredo','_onLocalMutation','has','selections','takeUntil','DEFAULT_FILE_NAME','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','liveShareOperation','HEARTBEAT_TIMEOUT','UserManagerService','&source=','MentionIoHttpService','UniverCollaborationClientPlugin','UNKNOWN_CMD','key','/universer-api/oidc/authpage','_tryEnsureSocket','IConfigService','_keyPriorReset','ceil','name','CollaborationSessionService','_xformMode','_getLoginPath','OTHER_CLIENTS_EDITING','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','c1Prime','_transformRemoteChangesetByIMECache','_onFetchMissResult','ISingleActiveUnitService','collaboration-client.local-cache-service','enableCollaboration','updateCollaborator','UUID','FAIL','uploadFileServerUrl','complete','SheetsSelectionsService','_roomMembers','conflict','_stopTelemetryCollaborationNewChangeset','startsWith','WorkbookEditablePermission','_onConnectionOpen','REDEMPTION_CODE_FULLY_REDEEMED','blockSize','onTransformRemoteChangesetByIMECache','LocaleService','UnitStatus','CollaborationSocketService','UNKNOWN_CODE','cfg','isArray','ENTITLE_INVALID_COUPON_CODE','function','capture','localCacheService','AES','keySize','_socketMessageSubscription','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_userManagerService','format','toggleOnline','People','TOO_MANY_REQUESTS','[OfflineState]:\x20received\x20rejection.','MOBILE_VERIFY_CODE_MISMATCH','subject','_parse','status$','_acknowledgedAwaitingChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','[PendingState]:\x20received\x20acknowledgement.','localeService','_snapshotServerService','JOINING','_getAPIPrefixPath','univer-pro.collaboration-client.single-active-unit-service','reconnect','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_getUploadFileURL','Malformed\x20UTF-8\x20data','CBC','INTERNAL_ERROR','close','compute','Rectangle','_toggleOffline','_doCryptBlock','_collaborationPaused','symbol','_collaborationSessionService','44SBovkB','getOwnPropertyDescriptor','_onConnectionFailed','reset','_init','_onUserJoin','_telemetryService','FetchingMissState','_createHmacHelper','APPLY_DUPLICATED','sessionStatus','_onJoinRoomEvent','setCurrentUser','_clearCollaborationTimeoutTimer','submit\x20changeset\x20error!','asObservable','IMentionIOService','getTypeOfUnitAdded$','_initMergeInterceptor','LIVESHARE_FETCH_OPERATIONS','findIndex','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_socketReady','_networkConditionService','reject','_getSignURL','charAt','filter','_commandService','_pendingMutations','AWAITING_WITH_PENDING','Workbook','onTransformSelections','_fetchMissChangesets','call','_decreaseWaiting','_retryConnectingTimer','SYNCED','CHANGESET_REJ','loadUnit','unsubscribe','EMAIL_HAS_BEEN_BOUND','YUUMI_RATE_OVER_LIMIT','putCollaborators','_submitChangeset','_onRemoteACK','merge','Tools','createSocket','CollaborationStatus','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_iv','JOIN_ROOM_PERMISSION_DENIED','state','error','PendingState','_replayCachedMutations','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ISnapshotServerService','finalize','_onMessage','_prevBlock','onLocalMutation','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_ACK','Injector','getRoom','every','_startCollaboration','IDLE','DataLoaderService','getTime','getResourcesRequest','_hasher','ciphertext','$super','encode','_commentService','size','SheetTransformSelectionsService','_tryReconnect','_map','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[DataLoaderService]','floor','Hasher','PasswordBasedCipher','__creator','code','failed\x20to\x20apply\x20missed\x20changesets!','_transformIMECache','collaboratorID','_maxTotalRetryTimeout','JOIN','onlyLocal','LOGIN_FAILED','JOIN_ROOM_FAILED','collaMsg','origin','EvpKDF','SOCKET_FAILED','_collaborationUIEventService','_iKey','HMAC','updatePermissionPoint','_roomCreated$','getCollabEntity$','COMMENT_UPDATE','_onRemoteRetry','IPermissionService','APPLY_REJECT','algo','HELLO','getGlobalObject','_queuedRemoteChangesets','_getAPIPrefix','resolve','open$','mixIn','_append','BehaviorSubject','decrypt','SNAPSHOT_INVALID_SNAPSHOT','byteLength','[CollaborationSessionService]:\x20socket\x20error','saveChangeset','UNIVER_UNKNOWN','_waitCount','_getCtorByUniverType','MSG_FOR_ERROR','_initRequestHeader','pending','ICommandService','EmptyMutationInfo','saveSheetBlock','includes','{fileID}','toString','Univer','\x0aAfter:\x20','href','deleteCollaborator','ITransformService','update','_createHandler','onRemoteAck','_disableEditing','createDecryptor','clone','CollaborationEvent','_onRemoteRejected','_undoRedoService','send','_initUnitPermissionChange','SHA1','parseChangesetToProtocol','UNRECOGNIZED','ONLINE','awaitingChangeset','getImageSourceCache','unit-cache-','parseProtocolChangeset','transformSelections','LOCAL_CACHE_INTERVAL_KEY','listCollaborators','SheetCollaborationEntity','_onUserLeave','decryptBlock','_hash','_initCloseConn','actions','fromCharCode','LIVESHARE_TERMINATE','INGEST','_HTTPService','FETCH_MISSING','GLOBAL_ROOMS_CNT_EXCEEDS','UNIVER_SLIDE','setConfig','_changesetReqId','equals','_nDataBytes','APPLY_NON_SEQUENTIAL_REVISION','LEAVE','getUnitOnRev','_listenToNetworkCondition','default','joinEvent','APPLY_PERMISSION_DENIED','HTTPService','&to=','csRejEvent','_clearRedo','connection\x20error','_imageSourceCache','values','socket\x20close','defineProperty','mutations','min','getAllMembers','_entityInit$','RETRY_CONNECTING_MAX_COUNT','UNISCRIPT_RUN','YUUMI_SUBSCRIPTION_NOT_FOUND','_initDependencies','AwaitingWithPendingState','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onRemoteChangeset','Base','/universer-api/snapshot','[SyncedState]:\x20received\x20acknowledgement.','requestParams','56192830EWJekw','joinRsp','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_sendingTimer','OpenSSL','_rescheduleHeartbeat','transformChangesets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_timeoutTimer','YUUMI_ASYNCIO_CANCELLED','REDEMPTION_CODE_HAS_BEEN_CREATED','CONNECTOR_DATA_TOO_LARGE','14aWgenD','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','USERS_ENTER','method','offline','fetching\x20missing\x20changesets\x20from\x20','UserProfileImg','image/png','ILogService','take','ENTITLE_DUP_SUBSCRIPTION','ICollaborationSocketService','roomInfos','from','OPTIONAL','charCodeAt','downloadEndpointUrl','toDisposable','getUnit','commentUpdate$','USER_IS_ANONYMOUS','_localeService','repeat','CollaborationEntity','toStringTag','getUnitStatus$','isInternalEditorID','socketService','CommandType','change$','padding','_change$','22641sBHjlJ','_minBufferSize','onRemoteRetry','INVITE_CODE_ALREADY_BOUND','rev','copyFileMeta','transformUndoRedo','/universer-api/uniscript','x-univer-host','_updateState','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ENTITLE_INSUFFICIENT_QUOTA','MD5','SUBMIT_CHANGESET_TIMEOUT','buffer','PSEUDO_FETCH_MISSING_RESULT','objectType','_process','onTransformState','loadSheet','file','_transformRemoteChangesetByStateCache','Encryptor','LIVESHARE_REQUEST_HOST','objectID','originalMeta','_key','params','\x0aCurrent:\x20','registerHTTPInterceptor','updateMember','\x20in\x20_schedule.','close$','COMPRESS_MUTATION_SEND','HttpImport','_nRounds','ImageUploadStatusType','userID','UniverNetworkPlugin','&assign=','HEARTBEAT_INTERVAL_KEY','onMissingChangesets','PERMISSION_REJ','/allowed','init','getActiveSheet','onMutationExecutedForCollab','APPLY_REVISION_CONFILICT','4QJaBTc','AUTHORIZE_CODE_ILLEGAL','incrementRevOfUnit','_compressMutationService','IUndoRedoService','commentUpdateEvent','_schedule','DEFAULT_WS_SESSION_TICKET_URL','_transitionLocked','_exhaustRemoteChangesetQueue','[CollaborationSession]','_clearUndo','sin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onSyncEditingCollabCursor','HmacSHA1','_resendWithTimeout','LICENSE_IMPORT_SIZE_EXCEEDED','_doCreateSocket','onload','slice','unitId','getLatestCsReqIdBySid','/universer-api/authz','workbook','SheetPermissionInitController','\x20-\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','PY_RUNTIME_SCRIPT_ERROR','CHANGESET_REVISION_CONFILICT','sid','_entities','_unitInfo$','_collabSessionService','_joinRoom','kdf','UNIVER_SHEET','Base64','getCurrentRevOfUnit','pluginName','loadOfflineData','ws://127.0.0.1:8000/universer-api/comb/connect','Could\x20not\x20dynamically\x20require\x20\x22','6905124nybRDo','?url=','dispose','_clearLocalCache','mode','getMemberID','_sender','editingUnit','USER_NOT_INVITED_CODE','_syncEditingCollabCursor','_onCombEvent','_transformSelections','_injector','map','readInt32LE','enableOfflineEditing','SNAPSHOT_HAS_BEEN_REMOVED','CipherParams','save\x20fail\x20reason\x20is\x20','LIVESHARE_OPERATION','_isPermissionRej','registerDependencies','_awaitingChangeset','sigBytes','pipe','_status$','_config','SetSelectionsOperation','ENTITLE_COUPON_EXPIRED','onTransformIME','avatar','_socket','RevisionService','sequenceExecute','ivSize','range','session.room-full','concat','objects','saveImage','getInterceptPoints','getSnapshotAPIPath','Plugin','CollaborationUIEventId','OTHER_CLIENT_EDITING','error$','_mode','WordArray','Subject','_registerDependencies','onStarting','AWAITING','session.room-cnt-exceeds','INVITE_CODE_REQUIRED','_members','setWaitCount','sendChangesetTimeout','duration','_removeRoom','_throwTelemetryCollaborationNewChangeset','responseType','hasOwnProperty','hostname','_configService','find','_logService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','createEncryptor','NoPadding','data','onSendChangeset','SUBMIT_CHANGESET','onCommentUpdate','subscribe','MentionType','ReplaySubject','_oKey','headers','_createInitialState','synced','[CollaborationState]:\x20apply\x20error!','_state$','getWorkbookSelections','session','_sendHeartbeat','HmacMD5','ConflictState','_getRedoStack','Inject','_type','YUUMI_NO_CUBOID_FOR_QUESTION','Optional','1514484mpzWEt','_unlockTransition','onRemoteChangeset','_emitMembers','_updateStatus','_handler','getMember','encodeURIComponent','csShouldRetryEvent','RxDisposable','ENTITLE_USE_COUPON_NOT_1ST_TRADE','ENTITLE_REPORT_LIMIT_EXCEED','_telemetryInfo','/-/object/-/batch_allowed','infoRsp','auth.needGotoLoginAlert','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','2567825DWbrQF','_createInitialStateImpl','getFocusedUnit','getSheetBlock','_remoteChangesetQueue','status','_showConflictNotification','revision','[CollaborationEntity]','_state','title','SHOULD_CLOSE_CONN','getUnitType','random','unknown','join','unitInfo$','SUCCUSS','PERMISSION_DENIED','type','awaiting_with_pending','YUUMI_UNABLE_LOAD_URL','RichTextEditingMutation','_resendTimeout','COMPLETION_FINISHED','_sessions','_clearScheduledTask','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','fetchMiss','_sendHeartbeatTimer','AwaitingState','_memberService','list','ILocalCacheService','_commentUpdate$','ENTITLE_COUPON_USED_UP','USERS_LEAVE','unpad','_clearHeartbeatTimer','now','append','_retryCount','[CollaborationUndoRedoService]','extend','getCurrentSelections','deserializeToCombResponse','transformStack\x20failed!','lib','target','substr','resend','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','confirm','_socketService','words','/universer-api/user/session-ticket','USER_NOT_FOUND','Latin1','INVALID_INVITE_CODE','CollaborationUIEventService','IUniverInstanceService','closeSession','CONFLICT','_event$','socket\x20open.','_changesetSessionId','BASE64','retryConnectingInterval','authzUrl','WECHAT_HAS_BEEN_BOUND','updateOfflineData','Utf8','src','[UniverCollaborationClientPlugin]','PAYMENT_CHANNEL_NOT_SUPPORT','getRandomValues','transformMutationsWithChangeset','parse','unitID','not_collab','initWorkbookPermissionChange','BlockCipher','image/bmp','onRemoteRej','ImageSourceType','ALREADY_EXISTS','SyncedState','exports','c2Prime','ENSURE_SNAPSHOT_EXECUTION','_waitForHeartbeatResponse','/object/','MOBILE_HAS_BEEN_BOUND','AuthzIoHttpService','collabWebSocketUrl','fetchThroughInterceptors','catch','create','startTime','body','baseRev','delete','UniverCollaborationPlugin','_keySchedule','executeCommand','routeKey','roles','post','stringify','emitEvent','YUUMI_URL_COL_OUT_OF_RANGE','event$','ERROR_AGAIN','Hex','UnitSnapshot','forEach','_socket$','/unit/','ERROR_IMAGE','_updateLocalCache','RECV','onMissedChangesetFetched','_resendTimer','YUUMI_CONNECTOR_URL_NOT_FOUND','[SyncedState]:\x20received\x20rejection.','EMAIL_VERIFY_CODE_MISMATCH','encryptBlock','session.join-failed','encrypt','HttpExport','createInstance','formatter','patch','getTypeOfUnitDisposed$','_sheetTransformSelectionsService','_ENC_XFORM_MODE','_substituteRedoStack','enc','DependentOn','Undefined','prototype','updateSnapshot','createIdentifier','_revisionService','signUrlServerUrl','CollaborativeUndoRedoService','location','__splitChunk__','eventID','firstValueFrom','MemberService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_applyRemoteChangeset','_snapshotService','add','UNIVER_PROJECT','_onConflict','_transformStack','getValue','_scheduleCollaborationTimeoutTimer','debug','_toggleOnline','dispose$','url','NO_OTHER_CLIENTS_EDITING','\x20to\x20','_invKeySchedule','Module','_instanceService','OfflineState','_getDownloadEndpointURL','appendMutation','SNAPSHOT_URL_KEY','CLOSE_ROOM','NOT_FOUND','_singleActiveUnitService','clear','_lockTransition','_cipher','collaborators','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UNIVER_COLLABORATION_CLIENT_PLUGIN','crypto','ThresholdInterceptorFactory','_candidateSocket','NOT_COLLAB','REDEMPTION_CODE_INACTIVE','_transformStateCache','next','message$','clamp','allowed','objectActions','_getUndoStack','HEARTBEAT','apply','_unitID','JOIN_ROOM_FULL','memberID','UnitEmbedded','pad','getCollabEntity','RETRY_CONNECTING_MAX_COUNT_KEY','state$','salt','DisposableCollection','get','_transformService','/universer-api/snapshot/','_createSocket','isTransformChangesetsSuccess','UniverInstanceType','_scheduleCompleteTimestamp','LOCAL_CACHE_INTERVAL','_redoStacks','LocalUndoRedoService','randomBytes','ITelemetryService','10047888XrqYGE','PERSON','disposeWithMe','snapshot','getConfig','_doProcessBlock','reverse','getLocalCacheKey','readAsDataURL','mergeOverrideWithDependencies','getCurrentUser','liveShareNewHost','_collaborationTimeoutTimer','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_startTelemetryCollaborationNewChangeset','_getSendChangesetTimeout','SnapshotServerOverHTTPService','[OfflineState]:\x20received\x20acknowledgement.','_univerInstanceService','HEARTBEAT_TIMEOUT_KEY','/block/','ENTITLE_NEED_BILLING_ADDRESS','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','splice','UPDATE_CURSOR','msCrypto','_clearTimeoutTimer','hasher','interceptor','members$','LIVESHARE_NEW_HOST','/universer-api/stream/file/upload','[PendingState]:\x20received\x20rejection.','INVITE_CODE_HAS_BEEN_UES','/collaborator','_data','sessionStatus$','REDEMPTION_USER_NOT_ELIGIBLE','permissionRejEvent','YUUMI_AI_RUN_FAILED','reqId','_checkMissing','awaiting','CompressMutationService','_incrementRevisionNumber','textEncoder','CollaborationImageIoService','override','UNIVER_DOC','ClipsheetFragments','CHANGESET_SHOULD_RETRY','_members$','[CollaborationSessionService]','LICENSE_DISTRO_REJECTED','set','compose','OFFLINE','JOIN_ROOM_NOT_EXISTS','_doReset','refreshPermission','loadUnitOfRevision','telemetry\x20info\x20is\x20not\x20initialized','_httpService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','NEW_CHANGESETS','onTransformRemoteChangesetByStateCache','result','toggleOffline','_reverseMap','collaboration-client.config','changesets','FileId','HEARTBEAT_INTERVAL','setShowComponents','_shouldReportTelemetry','delay','_doFinalize','REDEMPTION_INVALID_CODE','/new_changes','getUnitId','INVALID_ARGUMENT','LOGIN_TOKEN_PROCESSING_FAILED','requireSession','getSheetId','string','stopTime','byteOffset','_localCacheService','CURRENT_STATUS_CANNOT_OPERATE','[OfflineState]:\x20received\x20changeset.','/universer-api/comb','_getCurrentRevision','CollaborationController','COMPRESS_MUTATION_APPLY','isPermissionRej','Cipher','_handlerCallback','isTransformMutationsWithChangesetSuccess','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','removeMember','execute','members','_substituteUndoStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','cmd','6893736KeaQOb','m2Prime','_executeRemoteChangeset','listRoles','BufferedBlockAlgorithm','DocCollaborationEntity','touchDependencies','_replaceFileID','SOCKET_FAILED_RETRY','b64DecodeUnicode','CollaborationSession','_sessionStatus$','fromCollab','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','LICENSE_MAX_UNITS_EXCEEDED','put','_createHelper','Decryptor','FETCH_MISS','Disposable','fetchMissingChangesets','BlockCipherMode','push','_onOffline','HTTPRequest','MUTATION','_DEC_XFORM_MODE','_eventService','StreamCipher','getImage','_permissionService','enableSingleActiveInstanceLock','loadDoc'];_0xfa0e=function(){return _0x8fb87c;};return _0xfa0e();}var vn=Object[_0x54277f(0x401)],dn=(_0x19a4af,_0x75218a,_0x2cc668,_0x2879b9)=>{var _0x28e74f=_0x54277f;for(var _0x1c2f2c=_0x2879b9>0x1?void 0x0:_0x2879b9?vn(_0x75218a,_0x2cc668):_0x75218a,_0x5e4183=_0x19a4af[_0x28e74f(0x3a0)]-0x1,_0x392ebe;_0x5e4183>=0x0;_0x5e4183--)(_0x392ebe=_0x19a4af[_0x5e4183])&&(_0x1c2f2c=_0x392ebe(_0x1c2f2c)||_0x1c2f2c);return _0x1c2f2c;},le=(_0x427b9c,_0x4c220a)=>(_0x2b7f04,_0x3467bf)=>_0x4c220a(_0x2b7f04,_0x3467bf,_0x427b9c);let ye=class extends o[_0x54277f(0x233)]{constructor(_0x3f6e09,_0x2924ee,_0x11ec47,_0x4fcf3b,_0x5b687a){var _0x356e88=_0x54277f;super(),this[_0x356e88(0x1da)]=_0x3f6e09,this[_0x356e88(0x327)]=_0x2924ee,this[_0x356e88(0x39c)]=_0x11ec47,this['_collaborationSessionService']=_0x4fcf3b,this['_collaborationUIEventService']=_0x5b687a,this['_initUnitPermissionChange'](),this[_0x356e88(0x11b)]();}[_0x54277f(0x11b)](){var _0x591069=_0x54277f;const _0x441e3d=async _0x402762=>{var _0x5985a6=_0x4c0c;(await this[_0x5985a6(0x3ff)][_0x5985a6(0x367)](_0x402762))['event$'][_0x5985a6(0x1e6)](V['filter'](_0x41e548=>_0x41e548[_0x5985a6(0x2cf)]===E[_0x5985a6(0x107)][_0x5985a6(0x246)]),V[_0x5985a6(0x3a7)](this[_0x5985a6(0x2dd)]))[_0x5985a6(0x217)](_0x34f95e=>{var _0x2d1b27=_0x5985a6;const _0x3d1756=_0x34f95e,{reason:_0x46375f}=_0x3d1756[_0x2d1b27(0x213)];this['_collaborationUIEventService']['emitEvent']({'id':J[_0x2d1b27(0x2e8)],'data':_0x46375f}),this['_permissionService'][_0x2d1b27(0x469)](new Q['WorkbookEditablePermission'](_0x402762)['id'],!0x1),this[_0x2d1b27(0x3ff)]['closeSession'](_0x402762);});};j[_0x591069(0x42f)](this['_univerInstanceService'][_0x591069(0x411)](o[_0x591069(0x30e)][_0x591069(0x1c7)]),this[_0x591069(0x327)][_0x591069(0x411)](o['UniverInstanceType'][_0x591069(0x345)]))[_0x591069(0x1e6)](V[_0x591069(0x1db)](_0x54df8f=>_0x54df8f['getUnitId']()),V['filter'](_0x3da1d2=>!o[_0x591069(0x16d)](_0x3da1d2)),V[_0x591069(0x3a7)](this[_0x591069(0x2dd)]))[_0x591069(0x217)](_0x565578=>{_0x441e3d(_0x565578);});}[_0x54277f(0x10b)](){var _0x4f1a50=_0x54277f;const _0x2e8739=async _0x202e51=>{var _0x1b3938=_0x4c0c;const _0x191d34=await this[_0x1b3938(0x3ff)][_0x1b3938(0x367)](_0x202e51),_0x63acea=this['_injector']['get'](Q[_0x1b3938(0x1bc)]);_0x191d34[_0x1b3938(0x2aa)]['pipe'](V['filter'](_0x2f4e75=>_0x2f4e75[_0x1b3938(0x2cf)]===E[_0x1b3938(0x107)]['UPDATE_PERMISSION_OBJ']),V[_0x1b3938(0x3a7)](this[_0x1b3938(0x2dd)]))[_0x1b3938(0x217)](_0x49229e=>{var _0x5f1988=_0x1b3938;const _0x485d30=_0x49229e,{objectId:_0x1132cb}=_0x485d30[_0x5f1988(0x213)];_0x1132cb===_0x202e51?_0x63acea[_0x5f1988(0x28b)](_0x202e51):_0x63acea[_0x5f1988(0x350)](_0x202e51,_0x1132cb);});};j[_0x4f1a50(0x42f)](this[_0x4f1a50(0x327)][_0x4f1a50(0x411)](o['UniverInstanceType'][_0x4f1a50(0x1c7)]))[_0x4f1a50(0x1e6)](V['map'](_0x41218e=>_0x41218e['getUnitId']()),V['filter'](_0x1eac9a=>!o[_0x4f1a50(0x16d)](_0x1eac9a)),V[_0x4f1a50(0x3a7)](this[_0x4f1a50(0x2dd)]))[_0x4f1a50(0x217)](_0x281b1a=>{_0x2e8739(_0x281b1a);});}};ye=dn([le(0x0,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),le(0x1,o[_0x54277f(0x277)]),le(0x2,o['IPermissionService']),le(0x3,o[_0x54277f(0x226)](exports[_0x54277f(0x3b8)])),le(0x4,o[_0x54277f(0x226)](ee))],ye);var Sn=Object[_0x54277f(0x401)],In=(_0x4114f1,_0x589fe9,_0x306635,_0xf307fd)=>{for(var _0x599dd7=_0xf307fd>0x1?void 0x0:_0xf307fd?Sn(_0x589fe9,_0x306635):_0x589fe9,_0x3bda81=_0x4114f1['length']-0x1,_0xc51dc5;_0x3bda81>=0x0;_0x3bda81--)(_0xc51dc5=_0x4114f1[_0x3bda81])&&(_0x599dd7=_0xc51dc5(_0x599dd7)||_0x599dd7);return _0x599dd7;},ot=(_0x234e11,_0x133436)=>(_0x469204,_0x533a47)=>_0x133436(_0x469204,_0x533a47,_0x234e11);exports[_0x54277f(0x325)]=class{constructor(_0x5dd9c2,_0x47d066){var _0x2757ee=_0x54277f;this[_0x2757ee(0x20d)]=_0x5dd9c2,this['_httpService']=_0x47d066;}async[_0x54277f(0x12a)](_0x5ad6bd,_0x3ae18c){var _0x4b642e=_0x54277f,_0x5323b2;const {unitID:_0x4f6668,type:_0x45e52d,revision:_0x1b69d1=0x0}=_0x3ae18c,_0x1b5c0a=this[_0x4b642e(0x1f7)]()+'/'+_0x45e52d+'/unit/'+_0x4f6668+'/rev/'+_0x1b69d1,_0x5c1d68=(await this[_0x4b642e(0x353)][_0x4b642e(0x309)](_0x1b5c0a))[_0x4b642e(0x29e)],_0x46cb6f=(_0x5323b2=_0x5c1d68[_0x4b642e(0x318)])==null?void 0x0:_0x5323b2[_0x4b642e(0x1bb)];if(_0x46cb6f){const _0x5437e7=_0x46cb6f==null?void 0x0:_0x46cb6f['originalMeta'],_0x282a15=E[_0x4b642e(0x342)][_0x4b642e(0x44d)](E[_0x4b642e(0x387)](_0x5437e7));_0x46cb6f[_0x4b642e(0x18c)]=_0x282a15,Object['entries'](_0x46cb6f['sheets'])['forEach'](([,_0x1a2454])=>{var _0x42e9a2=_0x4b642e;const _0x1c7714=_0x1a2454[_0x42e9a2(0x18c)],_0x43d97c=E[_0x42e9a2(0x342)][_0x42e9a2(0x44d)](E['b64DecodeUnicode'](_0x1c7714));_0x1a2454[_0x42e9a2(0x18c)]=_0x43d97c;});}return _0x5c1d68;}async[_0x54277f(0x23e)](_0x43b54b,_0x2e3803){var _0x3e998b=_0x54277f;const {unitID:_0x2a033b,type:_0x9c2925,blockID:_0x2d7a2b}=_0x2e3803,_0x24caee=this[_0x3e998b(0xe5)]()+'/'+_0x9c2925+_0x3e998b(0x2b0)+_0x2a033b+_0x3e998b(0x329)+_0x2d7a2b;return(await this[_0x3e998b(0x353)][_0x3e998b(0x309)](_0x24caee))[_0x3e998b(0x29e)];}async['getDeserializedSheetBlock'](_0x336d1c,_0x176ac1){var _0x4cc169=_0x54277f;const {unitID:_0x2bc100,type:_0x1a465b,blockID:_0x24528a}=_0x176ac1,_0x5f216c=this[_0x4cc169(0xe5)]()+_0x4cc169(0x329)+_0x1a465b+_0x4cc169(0x2b0)+_0x2bc100+_0x4cc169(0x329)+_0x24528a;return(await this[_0x4cc169(0x353)][_0x4cc169(0x309)](_0x5f216c))[_0x4cc169(0x29e)];}async['fetchMissingChangesets'](_0x493a3c,_0x514b07){var _0x26734c=_0x54277f;const {unitID:_0xb84240,type:_0x103a4b,from:_0x42caac,to:_0x24c1d2}=_0x514b07,_0x3a238d=this[_0x26734c(0xe5)]()+'/'+_0x103a4b+_0x26734c(0x2b0)+_0xb84240+'/fetchmissing?from='+_0x42caac+_0x26734c(0x130)+_0x24c1d2;return(await this['_httpService'][_0x26734c(0x309)](_0x3a238d))[_0x26734c(0x29e)];}[_0x54277f(0x1f7)](){var _0x1beaa6=_0x54277f,_0x508058;return(_0x508058=this[_0x1beaa6(0x20d)][_0x1beaa6(0x319)](Ut))!=null?_0x508058:this[_0x1beaa6(0xe5)]();}['_getAPIPrefix'](){var _0x5d0f14=_0x54277f,_0x3b85d7;const _0x392a67=this[_0x5d0f14(0x20d)][_0x5d0f14(0x319)](Y);return(_0x3b85d7=_0x392a67==null?void 0x0:_0x392a67['snapshotServerUrl'])!=null?_0x3b85d7:yt;}async[_0x54277f(0x449)](_0x5e17fa,_0x25397d){var _0x5cea4c=_0x54277f;const _0x5856b7=_0x5cea4c(0x30b)+_0x25397d[_0x5cea4c(0x24e)]+_0x5cea4c(0x2b0)+_0x25397d['unitID']+'/resources';return(await this[_0x5cea4c(0x353)]['get'](_0x5856b7,{'params':{'resourceId':JSON['stringify'](_0x25397d['resourceIDs'])}}))[_0x5cea4c(0x29e)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x54277f(0x2c8)](){var _0x59997d=_0x54277f;throw new Error(_0x59997d(0x453));}[_0x54277f(0xf8)](){var _0x39aab5=_0x54277f;throw new Error(_0x39aab5(0x453));}[_0x54277f(0xef)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x54277f(0x178)](){var _0x5e87a5=_0x54277f;throw new Error(_0x5e87a5(0x453));}[_0x54277f(0x1b9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports['SnapshotServerOverHTTPService']=In([ot(0x0,o[_0x54277f(0x3b4)]),ot(0x1,o['Inject'](K[_0x54277f(0x12f)]))],exports[_0x54277f(0x325)]);var fn=Object['getOwnPropertyDescriptor'],En=(_0x29ad09,_0x28a653,_0x1a08e9,_0x43aab6)=>{var _0x214702=_0x54277f;for(var _0xb55b07=_0x43aab6>0x1?void 0x0:_0x43aab6?fn(_0x28a653,_0x1a08e9):_0x28a653,_0x1d2345=_0x29ad09[_0x214702(0x3a0)]-0x1,_0x2c42e0;_0x1d2345>=0x0;_0x1d2345--)(_0x2c42e0=_0x29ad09[_0x1d2345])&&(_0xb55b07=_0x2c42e0(_0xb55b07)||_0xb55b07);return _0xb55b07;},ue=(_0x3cdc6f,_0x2e859e)=>(_0x1c2c39,_0x173858)=>_0x2e859e(_0x1c2c39,_0x173858,_0x3cdc6f);exports[_0x54277f(0x2cc)]=class extends o[_0x54277f(0x312)]{constructor(_0x54637c,_0x63670e,_0x4c22ac,_0x1f53f2,_0xadbb17){var _0x2786de=_0x54277f;super(_0x54637c,_0x63670e,_0x4c22ac),this[_0x2786de(0x30a)]=_0x1f53f2,this['_logService']=_0xadbb17;}[_0x54277f(0x179)](_0xf893f8,_0x290b4){var _0x203fab=_0x54277f;const _0x152986=this[_0x203fab(0x2fc)](_0xf893f8);if(_0x152986)try{const _0x41bf7f=this[_0x203fab(0x2d8)](_0x152986,_0x290b4);this[_0x203fab(0x37b)](_0xf893f8,_0x41bf7f);}catch(_0xff4df5){this[_0x203fab(0x20f)][_0x203fab(0x437)](_0x203fab(0x265),_0xff4df5),this[_0x203fab(0x1ae)](_0xf893f8);}const _0x3ff955=this[_0x203fab(0x225)](_0xf893f8);if(_0x3ff955)try{const _0x236f9c=this[_0x203fab(0x2d8)](_0x3ff955,_0x290b4);this[_0x203fab(0x2c3)](_0xf893f8,_0x236f9c);}catch(_0x2b3de0){this['_logService'][_0x203fab(0x437)](_0x2b3de0),this[_0x203fab(0x132)](_0xf893f8);}}[_0x54277f(0x1ae)](_0x2974ef){var _0x40a249=_0x54277f;const _0x1e9980=this[_0x40a249(0x2fc)](_0x2974ef);_0x1e9980&&(_0x1e9980['length']=0x0,this[_0x40a249(0x22e)]());}[_0x54277f(0x132)](_0x48ebee){var _0x4569d5=_0x54277f;const _0x2072ad=this[_0x4569d5(0x225)](_0x48ebee);_0x2072ad&&(_0x2072ad[_0x4569d5(0x3a0)]=0x0,this['_updateStatus']());}[_0x54277f(0x37b)](_0x491af4,_0x190fdc){this['_undoStacks']['set'](_0x491af4,_0x190fdc),this['_updateStatus']();}['_substituteRedoStack'](_0x3e17a0,_0x1a5953){var _0x27a2fe=_0x54277f;this[_0x27a2fe(0x311)][_0x27a2fe(0x34b)](_0x3e17a0,_0x1a5953),this[_0x27a2fe(0x22e)]();}[_0x54277f(0x2d8)](_0x308f90,_0x3c9b11){var _0x20fabb=_0x54277f;const _0x556b80=[];let _0x3f545e=_0x3c9b11,_0x434189=_0x3c9b11;for(let _0x2524c4=_0x308f90[_0x20fabb(0x3a0)]-0x1;_0x2524c4>=0x0;_0x2524c4--){const {unitID:_0x473f49,undoMutations:_0x5f2213,redoMutations:_0x53d170}=_0x308f90[_0x2524c4],_0x1a7575=this['_transformService'][_0x20fabb(0x287)](_0x3f545e,_0x5f2213),_0x3bbfc3=this[_0x20fabb(0x30a)]['transformMutationsWithChangeset'](_0x434189,_0x53d170);if(E['isTransformMutationsWithChangesetFailure'](_0x1a7575)||E['isTransformMutationsWithChangesetFailure'](_0x3bbfc3)){this[_0x20fabb(0x20f)][_0x20fabb(0x437)](_0x20fabb(0x265),_0x20fabb(0x269),_0x1a7575,_0x3bbfc3);break;}_0x3f545e=_0x1a7575[_0x20fabb(0x3bd)],_0x434189=_0x3bbfc3['c1Prime'],_0x556b80[_0x20fabb(0x394)]({'unitID':_0x473f49,'undoMutations':_0x1a7575['m2Prime'],'redoMutations':_0x3bbfc3[_0x20fabb(0x37f)]});}return _0x556b80[_0x20fabb(0x31b)]();}},exports[_0x54277f(0x2cc)]=En([ue(0x0,o[_0x54277f(0x277)]),ue(0x1,o['ICommandService']),ue(0x2,o['IContextService']),ue(0x3,E['ITransformService']),ue(0x4,o[_0x54277f(0x15b)])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x54277f(0x137)],mn=Object[_0x54277f(0x401)],gn=(_0x42a667,_0x2c4449,_0x3aa214)=>_0x2c4449 in _0x42a667?pn(_0x42a667,_0x2c4449,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3aa214}):_0x42a667[_0x2c4449]=_0x3aa214,Tn=(_0x4d7c86,_0x2e3f77,_0x96cc65,_0x19fe3c)=>{var _0x158f60=_0x54277f;for(var _0x2e742c=_0x19fe3c>0x1?void 0x0:_0x19fe3c?mn(_0x2e3f77,_0x96cc65):_0x2e3f77,_0x12724c=_0x4d7c86[_0x158f60(0x3a0)]-0x1,_0x493997;_0x12724c>=0x0;_0x12724c--)(_0x493997=_0x4d7c86[_0x12724c])&&(_0x2e742c=_0x493997(_0x2e742c)||_0x2e742c);return _0x2e742c;},we=(_0x1e8e05,_0x5cacfe)=>(_0x4ecf10,_0x463da1)=>_0x5cacfe(_0x4ecf10,_0x463da1,_0x1e8e05),Cn=(_0x4c5d57,_0xd1a371,_0x3e7d8d)=>gn(_0x4c5d57,_0xd1a371+'',_0x3e7d8d);const On=_0x54277f(0x2f0);exports['UniverCollaborationClientPlugin']=class extends o[_0x54277f(0x1f8)]{constructor(_0x5da5b3,_0x3800d4,_0x18c3f9,_0x4d6547){var _0x36aec4=_0x54277f;super(),A(this,_0x36aec4(0x1e8)),(this[_0x36aec4(0x20f)]=_0x3800d4,this[_0x36aec4(0x1da)]=_0x18c3f9,this[_0x36aec4(0x20d)]=_0x4d6547);const {..._0x1aa804}=o[_0x36aec4(0x42f)]({},Qt,_0x5da5b3);if(!_0x1aa804[_0x36aec4(0x16e)])throw new Error(_0x36aec4(0x3df));this[_0x36aec4(0x1e8)]=_0x1aa804,this[_0x36aec4(0x20d)][_0x36aec4(0x124)](Y,_0x1aa804);}[_0x54277f(0x200)](){var _0x3ba284=_0x54277f;this[_0x3ba284(0x1ff)](),this[_0x3ba284(0x13f)]();}[_0x54277f(0x1ff)](){var _0x1c30a8=_0x54277f,_0x3a5bec,_0x5f34d6;this['_injector'][_0x1c30a8(0x3a5)](o[_0x1c30a8(0x1a7)])&&this[_0x1c30a8(0x20f)][_0x1c30a8(0x437)](_0x1c30a8(0x284),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1c9b64=o[_0x1c30a8(0x31e)]([[o['IUndoRedoService'],{'useClass':exports[_0x1c30a8(0x2cc)]}],[exports[_0x1c30a8(0x3b8)]],[exports['MemberService']],[exports[_0x1c30a8(0x450)]],[Ne],[De],[$e],[ye],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this['_config']['socketService']}],[E['ISnapshotServerService'],{'useClass':exports[_0x1c30a8(0x325)]}],[o['IAuthzIoService'],{'useClass':exports[_0x1c30a8(0x298)]}],[z['IImageIoService'],{'useClass':exports[_0x1c30a8(0x343)]}],[o[_0x1c30a8(0x410)],{'useClass':exports[_0x1c30a8(0x3ae)]}],[exports['CollaborationController']],[xe]],(_0x3a5bec=this[_0x1c30a8(0x1e8)])==null?void 0x0:_0x3a5bec[_0x1c30a8(0x344)]);if(!((_0x5f34d6=this[_0x1c30a8(0x1e8)])!=null&&_0x5f34d6[_0x1c30a8(0x39d)])){const _0x218e0c=_0x1c9b64[_0x1c30a8(0x414)](([_0x4d518f])=>_0x4d518f===ve);_0x218e0c!==-0x1&&_0x1c9b64[_0x1c30a8(0x32c)](_0x218e0c,0x1);}o[_0x1c30a8(0x1e3)](this['_injector'],_0x1c9b64);}[_0x54277f(0x13f)](){var _0x5ba20d=_0x54277f,_0x3dc29b,_0x48667f,_0x328501;this[_0x5ba20d(0x1da)]['get'](K[_0x5ba20d(0x12f)])[_0x5ba20d(0x190)]({'priority':0x14,'interceptor':K[_0x5ba20d(0x2f2)]({'maxParallel':0x6})}),(_0x3dc29b=this[_0x5ba20d(0x1e8)])!=null&&_0x3dc29b[_0x5ba20d(0x1dd)]||(_0x48667f=this['_injector'][_0x5ba20d(0x309)](q,o['Quantity'][_0x5ba20d(0x161)]))==null||_0x48667f['disableLocalCache'](),(_0x328501=this[_0x5ba20d(0x1e8)])!=null&&_0x328501['enableAuthServer']&&o[_0x5ba20d(0x384)](this[_0x5ba20d(0x1da)],[[Ne]]),o[_0x5ba20d(0x384)](this['_injector'],[[De],[exports[_0x5ba20d(0x371)]],[ye]]);}},Cn(exports[_0x54277f(0x3af)],_0x54277f(0x1ca),On),exports[_0x54277f(0x3af)]=Tn([o[_0x54277f(0x2c5)](E[_0x54277f(0x2a1)],K[_0x54277f(0x199)]),we(0x1,o[_0x54277f(0x15b)]),we(0x2,o[_0x54277f(0x226)](o[_0x54277f(0x442)])),we(0x3,o[_0x54277f(0x3b4)])],exports[_0x54277f(0x3af)]),exports[_0x54277f(0x3f3)]=Y,exports[_0x54277f(0x432)]=je,exports[_0x54277f(0x1f9)]=J,exports[_0x54277f(0x276)]=ee,exports['CommentService']=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=_t,exports[_0x54277f(0x322)]=Bt,exports[_0x54277f(0x1aa)]=Pt,exports[_0x54277f(0x19b)]=ht,exports[_0x54277f(0x328)]=ke,exports[_0x54277f(0x15e)]=Fe,exports[_0x54277f(0x25c)]=q,exports['INetworkConditionService']=pt,exports[_0x54277f(0x3c0)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x54277f(0x115)]=xt,exports[_0x54277f(0x38b)]=jt,exports[_0x54277f(0x305)]=ut,exports['SessionStatus']=se,exports[_0x54277f(0x3d3)]=He,exports[_0x54277f(0x268)]=mt,exports[_0x54277f(0x31c)]=zt,exports['serializeCombRequest']=gt;
|