@univerjs-pro/collaboration-client 0.15.0 → 0.15.1-insiders.20260117-8ce4a01
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/types/facade/f-collaboration.d.ts +12 -4
- package/lib/types/facade/f-event.d.ts +50 -0
- package/lib/types/facade/f-univer.d.ts +2 -1
- package/lib/types/facade/index.d.ts +2 -0
- 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 +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x10f867=_0x4aec;(function(_0x5a9c39,_0x3acaa4){var _0x29f815=_0x4aec,_0x55e6c0=_0x5a9c39();while(!![]){try{var _0xa76596=parseInt(_0x29f815(0x427))/0x1+parseInt(_0x29f815(0x3fd))/0x2+-parseInt(_0x29f815(0x182))/0x3*(-parseInt(_0x29f815(0x486))/0x4)+-parseInt(_0x29f815(0x1a0))/0x5+parseInt(_0x29f815(0x39e))/0x6*(-parseInt(_0x29f815(0x30a))/0x7)+-parseInt(_0x29f815(0x47b))/0x8+parseInt(_0x29f815(0x227))/0x9*(parseInt(_0x29f815(0x1bc))/0xa);if(_0xa76596===_0x3acaa4)break;else _0x55e6c0['push'](_0x55e6c0['shift']());}catch(_0x231475){_0x55e6c0['push'](_0x55e6c0['shift']());}}}(_0x4832,0x566d6));var bt=Object[_0x10f867(0x3f5)],Rt=(_0x342f2e,_0x437a92,_0xda8bae)=>_0x437a92 in _0x342f2e?bt(_0x342f2e,_0x437a92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xda8bae}):_0x342f2e[_0x437a92]=_0xda8bae,A=(_0x1909d9,_0x3a7e89,_0x29ddf6)=>Rt(_0x1909d9,typeof _0x3a7e89!='symbol'?_0x3a7e89+'':_0x3a7e89,_0x29ddf6);Object[_0x10f867(0x3f5)](exports,Symbol[_0x10f867(0x1dd)],{'value':_0x10f867(0x18f)});function _0x4aec(_0x4d8cc3,_0x2379f2){_0x4d8cc3=_0x4d8cc3-0x17d;var _0x483208=_0x4832();var _0x4aecc0=_0x483208[_0x4d8cc3];return _0x4aecc0;}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='/universer-api/snapshot',Ut=_0x10f867(0x4fd),At=0x7d0,_t=_0x10f867(0x291),Pt='/universer-api/user/session-ticket',ht=_0x10f867(0x3e0),Lt=0x7530,ke=_0x10f867(0x4fb),lt=0x4e20,Mt=0x4e20,ut=_0x10f867(0x4b8),wt=0x3,xt=_0x10f867(0x37e),kt=0x3e8,$t='/universer-api/comb',Ht=_0x10f867(0x1d0),jt=_0x10f867(0x1e2),Bt=_0x10f867(0x44a);var vt=(_0x4ae1ad=>(_0x4ae1ad[_0x4ae1ad['UNDEFINED']=0x0]=_0x10f867(0x327),_0x4ae1ad[_0x4ae1ad['OK']=0x1]='OK',_0x4ae1ad[_0x4ae1ad['INTERNAL_ERROR']=0x2]=_0x10f867(0x286),_0x4ae1ad[_0x4ae1ad['PERMISSION_DENIED']=0x3]=_0x10f867(0x23f),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x506)]=0x4]=_0x10f867(0x506),_0x4ae1ad[_0x4ae1ad['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x344)]=0x6]='ALREADY_EXISTS',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x475)]=0x7]=_0x10f867(0x475),_0x4ae1ad[_0x4ae1ad['TOO_MANY_REQUESTS']=0x8]=_0x10f867(0x242),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1c5)]=0x9]=_0x10f867(0x1c5),_0x4ae1ad[_0x4ae1ad['LOGIN_FAILED']=0xa]=_0x10f867(0x18a),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x208)]=0xb]=_0x10f867(0x208),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4dd)]=0xc]=_0x10f867(0x4dd),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x264)]=0xd]=_0x10f867(0x264),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x255)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3ae)]=0xf]=_0x10f867(0x3ae),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2f6)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x26c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4ae1ad[_0x4ae1ad['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3ac)]=0xc9]='USER_NOT_FOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x50b)]=0xca]='USER_IS_ANONYMOUS',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x38b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4ae1ad[_0x4ae1ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x10f867(0x29d),_0x4ae1ad[_0x4ae1ad['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x10f867(0x1aa),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1c0)]=0x1773]=_0x10f867(0x1c0),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x275)]=0x1b59]=_0x10f867(0x275),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3fc)]=0x1b5a]=_0x10f867(0x3fc),_0x4ae1ad[_0x4ae1ad['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x10f867(0x36f),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x189)]=0x1b5c]=_0x10f867(0x189),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x484)]=0x1b5d]=_0x10f867(0x484),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1bb)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4d5)]=0x2329]=_0x10f867(0x4d5),_0x4ae1ad[_0x4ae1ad['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x10f867(0x214),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1b8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4ae1ad[_0x4ae1ad['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x10f867(0x320),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x465)]=0x232d]=_0x10f867(0x465),_0x4ae1ad[_0x4ae1ad['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x10f867(0x498),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x367)]=0x2712]=_0x10f867(0x367),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x218)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4a4)]=0x2714]=_0x10f867(0x4a4),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4dc)]=0x271a]=_0x10f867(0x4dc),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x20e)]=0x271b]=_0x10f867(0x20e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4e0)]=0x271c]=_0x10f867(0x4e0),_0x4ae1ad[_0x4ae1ad['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x10f867(0x3ed),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4bb)]=0x271e]=_0x10f867(0x4bb),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x181)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x50d)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x26a)]=0x2af9]=_0x10f867(0x26a),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x38e)]=0x2ee1]=_0x10f867(0x38e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x43a)]=0x2ee2]=_0x10f867(0x43a),_0x4ae1ad[_0x4ae1ad['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1b1)]=0x2ee4]=_0x10f867(0x1b1),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x308)]=0x2ee5]=_0x10f867(0x308),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x235)]=0x32c9]=_0x10f867(0x235),_0x4ae1ad[_0x4ae1ad['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x10f867(0x1e5),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x438)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x49b)]=0x36b1]=_0x10f867(0x49b),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2b9)]=0x36b2]=_0x10f867(0x2b9),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x417)]=0x36b3]=_0x10f867(0x417),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x33e)]=0x36b4]=_0x10f867(0x33e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3d7)]=0x36b5]=_0x10f867(0x3d7),_0x4ae1ad[_0x4ae1ad['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x10f867(0x3c5),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x309)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1cb)]=0x36b8]=_0x10f867(0x1cb),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x265)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3d6)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x48e)]=0x3717]=_0x10f867(0x48e),_0x4ae1ad[_0x4ae1ad['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x10f867(0x1f0),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x271)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4e8)]=0x3a9a]=_0x10f867(0x4e8),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x418)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x420)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x460)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x351)]=0x3a9e]=_0x10f867(0x351),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2db)]=0x3a9f]=_0x10f867(0x2db),_0x4ae1ad[_0x4ae1ad['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x10f867(0x456),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x4ae1ad))(vt||{}),X=(_0x164246=>(_0x164246[_0x164246['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x164246[_0x164246[_0x10f867(0x382)]=0x1]=_0x10f867(0x382),_0x164246[_0x164246[_0x10f867(0x3bf)]=0x2]=_0x10f867(0x3bf),_0x164246[_0x164246[_0x10f867(0x4a6)]=0x3]='UNIVER_SLIDE',_0x164246[_0x164246[_0x10f867(0x48f)]=0x4]=_0x10f867(0x48f),_0x164246[_0x164246[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x164246))(X||{}),W=(_0x460921=>(_0x460921[_0x460921[_0x10f867(0x413)]=0x0]='UNKNOWN_CMD',_0x460921[_0x460921[_0x10f867(0x229)]=0x1]='HELLO',_0x460921[_0x460921[_0x10f867(0x37b)]=0x2]='JOIN',_0x460921[_0x460921[_0x10f867(0x46e)]=0x3]='LEAVE',_0x460921[_0x460921[_0x10f867(0x343)]=0x4]='INGEST',_0x460921[_0x460921[_0x10f867(0x2a0)]=0x5]=_0x10f867(0x2a0),_0x460921[_0x460921[_0x10f867(0x38d)]=0x6]=_0x10f867(0x38d),_0x460921[_0x460921[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x460921))(W||{}),re=(_0x3f0112=>(_0x3f0112[_0x3f0112['UNKNOWN_CODE']=0x0]=_0x10f867(0x221),_0x3f0112[_0x3f0112['OK']=0x1]='OK',_0x3f0112[_0x3f0112['FAIL']=0x2]=_0x10f867(0x4ed),_0x3f0112[_0x3f0112[_0x10f867(0x2e1)]=0x3e9]=_0x10f867(0x2e1),_0x3f0112[_0x3f0112[_0x10f867(0x2b0)]=0x3ea]=_0x10f867(0x2b0),_0x3f0112[_0x3f0112[_0x10f867(0x49a)]=0x3eb]=_0x10f867(0x49a),_0x3f0112[_0x3f0112[_0x10f867(0x4d9)]=0x3ec]=_0x10f867(0x4d9),_0x3f0112[_0x3f0112[_0x10f867(0x46d)]=-0x1]='UNRECOGNIZED',_0x3f0112))(re||{}),dt=(_0x19520a=>(_0x19520a[_0x19520a['Undefined']=0x0]=_0x10f867(0x281),_0x19520a[_0x19520a['HttpImport']=0x1]='HttpImport',_0x19520a[_0x19520a['HttpExport']=0x2]=_0x10f867(0x1f9),_0x19520a[_0x19520a[_0x10f867(0x2b1)]=0x3]='UnitEmbedded',_0x19520a[_0x19520a[_0x10f867(0x1cf)]=0x4]=_0x10f867(0x1cf),_0x19520a[_0x19520a[_0x10f867(0x233)]=0x5]=_0x10f867(0x233),_0x19520a[_0x19520a[_0x10f867(0x1a2)]=0x6]='ClipsheetFragments',_0x19520a[_0x19520a[_0x10f867(0x46d)]=-0x1]='UNRECOGNIZED',_0x19520a))(dt||{});const Ft='collaboration_new_changeset';function Vt(_0x1e4d86){var _0x367913=_0x10f867;return JSON['stringify'](_0x1e4d86)[_0x367913(0x371)];}var J=(_0x3a080c=>(_0x3a080c['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x3a080c[_0x10f867(0x23f)]=_0x10f867(0x23f),_0x3a080c['CONFLICT']='CONFLICT',_0x3a080c['CLOSE_ROOM']=_0x10f867(0x386),_0x3a080c[_0x10f867(0x1ea)]=_0x10f867(0x1ea),_0x3a080c[_0x10f867(0x3da)]=_0x10f867(0x3da),_0x3a080c[_0x10f867(0x449)]='SOCKET_FAILED',_0x3a080c[_0x10f867(0x1d6)]=_0x10f867(0x1d6),_0x3a080c))(J||{});class ee{constructor(){var _0xd59102=_0x10f867;A(this,_0xd59102(0x1e1),new j[(_0xd59102(0x1d1))]()),A(this,_0xd59102(0x48b),this['_event$'][_0xd59102(0x440)]());}['emitEvent'](_0x12d110){var _0x24f464=_0x10f867;this[_0x24f464(0x1e1)]['next'](_0x12d110);}}class $e{constructor(){var _0x249a4e=_0x10f867;A(this,_0x249a4e(0x361),new j[(_0x249a4e(0x1d1))]()),A(this,_0x249a4e(0x3c8),this[_0x249a4e(0x361)]['asObservable']());}['onCommentUpdate'](_0xf9655e){var _0x18ad8d=_0x10f867;this[_0x18ad8d(0x361)][_0x18ad8d(0x19d)](_0xf9655e);}}var Wt=Object['getOwnPropertyDescriptor'],Gt=(_0xa418,_0x33f306,_0x9b4b3a,_0x47cb5f)=>{for(var _0xab6530=_0x47cb5f>0x1?void 0x0:_0x47cb5f?Wt(_0x33f306,_0x9b4b3a):_0x33f306,_0x1198db=_0xa418['length']-0x1,_0x1593ba;_0x1198db>=0x0;_0x1198db--)(_0x1593ba=_0xa418[_0x1198db])&&(_0xab6530=_0x1593ba(_0xab6530)||_0xab6530);return _0xab6530;},Ve=(_0xc65e99,_0x24a10e)=>(_0x54bc6d,_0xade8f3)=>_0x24a10e(_0x54bc6d,_0xade8f3,_0xc65e99);exports[_0x10f867(0x215)]=class extends o[_0x10f867(0x352)]{constructor(_0x24360c,_0x122af5){var _0x452ad7=_0x10f867;super(),A(this,_0x452ad7(0x3af),new Map()),A(this,_0x452ad7(0x487),new j[(_0x452ad7(0x1d1))]()),(this['_univerInstanceService']=_0x24360c,this[_0x452ad7(0x4bd)]=_0x122af5,this[_0x452ad7(0x241)](j['merge'](this[_0x452ad7(0x497)]['getTypeOfUnitDisposed$'](o[_0x452ad7(0x2a8)][_0x452ad7(0x3bf)])[_0x452ad7(0x4e4)](V[_0x452ad7(0x25e)](_0x24255d=>_0x24255d[_0x452ad7(0x298)]())),this[_0x452ad7(0x497)]['getTypeOfUnitDisposed$'](o[_0x452ad7(0x2a8)][_0x452ad7(0x382)])[_0x452ad7(0x4e4)](V[_0x452ad7(0x25e)](_0x1b91b9=>_0x1b91b9[_0x452ad7(0x298)]())),this['_univerInstanceService'][_0x452ad7(0x3a4)](o[_0x452ad7(0x2a8)]['UNIVER_SLIDE'])['pipe'](V['map'](_0xa586f5=>_0xa586f5[_0x452ad7(0x298)]())))['subscribe'](_0x6ce59c=>this[_0x452ad7(0x2ed)](_0x6ce59c))));}['waitForRoom$'](_0x2057cf){var _0x49c494=_0x10f867;return this['_roomMembers']['has'](_0x2057cf)?j['of'](this[_0x49c494(0x3af)]['get'](_0x2057cf)):this[_0x49c494(0x487)]['pipe'](V['map'](_0x2f893b=>{var _0x21b4dc=_0x49c494;if(_0x2f893b===_0x2057cf)return this[_0x21b4dc(0x3af)][_0x21b4dc(0x433)](_0x2f893b);}));}['setCurrentUser'](_0x52e849){var _0x3a1dc5=_0x10f867;this['_userManagerService'][_0x3a1dc5(0x317)](_0x52e849);}[_0x10f867(0x250)](){var _0x50b689=_0x10f867;return this[_0x50b689(0x4bd)][_0x50b689(0x250)]();}['updateMember'](_0x48f557,_0x5d61f7){var _0x6d8f41=_0x10f867;let _0x5dcae6=this['_roomMembers'][_0x6d8f41(0x433)](_0x48f557);_0x5dcae6||(_0x5dcae6=new Yt(),this[_0x6d8f41(0x3af)]['set'](_0x48f557,_0x5dcae6),this[_0x6d8f41(0x487)][_0x6d8f41(0x19d)](_0x48f557)),_0x5dcae6[_0x6d8f41(0x3f7)](_0x5d61f7);}[_0x10f867(0x4ca)](_0x34abc8,_0x2bd193){var _0x3673e4=_0x10f867;const _0x154e6a=this['_roomMembers'][_0x3673e4(0x433)](_0x34abc8);_0x154e6a&&_0x154e6a[_0x3673e4(0x4ca)](_0x2bd193);}[_0x10f867(0x33d)](_0x5c9b97){var _0x350405=_0x10f867;return this[_0x350405(0x3af)][_0x350405(0x433)](_0x5c9b97);}[_0x10f867(0x2c2)](_0x40e6df,_0x12b06a){var _0x1b510a=_0x10f867;const _0x79fb90=this[_0x1b510a(0x3af)][_0x1b510a(0x433)](_0x40e6df);if(_0x79fb90)return _0x79fb90[_0x1b510a(0x2c2)](_0x12b06a);}[_0x10f867(0x2ed)](_0x1d6426){var _0x3c5842=_0x10f867;const _0x5f42f7=this[_0x3c5842(0x3af)][_0x3c5842(0x433)](_0x1d6426);_0x5f42f7&&(_0x5f42f7[_0x3c5842(0x3dc)](),this[_0x3c5842(0x3af)][_0x3c5842(0x458)](_0x1d6426));}[_0x10f867(0x3dc)](){var _0x4671f7=_0x10f867;this[_0x4671f7(0x3af)][_0x4671f7(0x35b)](_0x9ad1c4=>_0x9ad1c4[_0x4671f7(0x3dc)]()),this[_0x4671f7(0x3af)][_0x4671f7(0x2aa)](),this[_0x4671f7(0x487)]['complete']();}},exports[_0x10f867(0x215)]=Gt([Ve(0x0,o[_0x10f867(0x470)]),Ve(0x1,o[_0x10f867(0x225)](o[_0x10f867(0x375)]))],exports[_0x10f867(0x215)]);class Yt extends o['Disposable']{constructor(){var _0x50e83f=_0x10f867;super(...arguments),A(this,_0x50e83f(0x3b7),new Map()),A(this,_0x50e83f(0x39b),new j[(_0x50e83f(0x1da))](this[_0x50e83f(0x3b7)])),A(this,'members$',this[_0x50e83f(0x39b)][_0x50e83f(0x440)]());}['dispose'](){var _0x3c6d44=_0x10f867;this[_0x3c6d44(0x3b7)][_0x3c6d44(0x2aa)]();}[_0x10f867(0x3f7)](_0x237c6c){var _0x10c644=_0x10f867;this['_members'][_0x10c644(0x186)](_0x237c6c['memberID'],_0x237c6c),this[_0x10c644(0x46a)]();}[_0x10f867(0x4ca)](_0x5aca44){var _0x4427bf=_0x10f867;this['_members'][_0x4427bf(0x458)](_0x5aca44);}[_0x10f867(0x2c2)](_0x3bfec6){var _0x108ba9=_0x10f867;return this[_0x108ba9(0x3b7)][_0x108ba9(0x433)](_0x3bfec6);}[_0x10f867(0x35c)](){var _0x1fabe5=_0x10f867;return Array[_0x1fabe5(0x318)](this['_members']['values']());}[_0x10f867(0x46a)](){var _0x542c2b=_0x10f867;this[_0x542c2b(0x39b)][_0x542c2b(0x19d)](this[_0x542c2b(0x3b7)]);}}var Kt=Object[_0x10f867(0x509)],qt=(_0x3d3c34,_0x5e90ed,_0x5dd70e,_0xa52033)=>{var _0x516ed0=_0x10f867;for(var _0x4a91f7=_0xa52033>0x1?void 0x0:_0xa52033?Kt(_0x5e90ed,_0x5dd70e):_0x5e90ed,_0x21eaa6=_0x3d3c34[_0x516ed0(0x371)]-0x1,_0x132adb;_0x21eaa6>=0x0;_0x21eaa6--)(_0x132adb=_0x3d3c34[_0x21eaa6])&&(_0x4a91f7=_0x132adb(_0x4a91f7)||_0x4a91f7);return _0x4a91f7;},ce=(_0x102791,_0x3799b7)=>(_0x47d85d,_0x8ae634)=>_0x3799b7(_0x47d85d,_0x8ae634,_0x102791),se=(_0x21f1b5=>(_0x21f1b5[_0x21f1b5[_0x10f867(0x2c8)]=0x0]=_0x10f867(0x2c8),_0x21f1b5[_0x21f1b5[_0x10f867(0x49f)]=0x1]=_0x10f867(0x49f),_0x21f1b5[_0x21f1b5[_0x10f867(0x2ef)]=0x2]=_0x10f867(0x2ef),_0x21f1b5[_0x21f1b5[_0x10f867(0x1fb)]=0x3]='ONLINE',_0x21f1b5))(se||{});const We={[re[_0x10f867(0x4ed)]]:_0x10f867(0x399),[re[_0x10f867(0x2e1)]]:'session.room-full',[re[_0x10f867(0x2b0)]]:_0x10f867(0x3a9),[re[_0x10f867(0x49a)]]:_0x10f867(0x390),[re[_0x10f867(0x4d9)]]:_0x10f867(0x237)};exports[_0x10f867(0x362)]=class extends o['RxDisposable']{constructor(_0x13f120,_0x21861b,_0x5cbde8,_0x1a358b,_0x2306ec,_0x574c4d,_0x250626,_0x4d3f10){var _0x56359c=_0x10f867;super(),A(this,_0x56359c(0x4c2),new j[(_0x56359c(0x1da))](0x0)),A(this,_0x56359c(0x191),this[_0x56359c(0x4c2)][_0x56359c(0x440)]()),A(this,'_event$',new j[(_0x56359c(0x1d1))]()),A(this,'event$',this[_0x56359c(0x1e1)]['asObservable']()),A(this,_0x56359c(0x1d3)),A(this,_0x56359c(0x3b1)),A(this,_0x56359c(0x3ec)),A(this,_0x56359c(0x274),!0x1),A(this,_0x56359c(0x192),null),(this[_0x56359c(0x4b1)]=_0x13f120,this[_0x56359c(0x280)]=_0x5cbde8,this['_configService']=_0x1a358b,this[_0x56359c(0x1bf)]=_0x2306ec,this[_0x56359c(0x330)]=_0x574c4d,this[_0x56359c(0x336)]=_0x250626,this[_0x56359c(0x504)]=_0x4d3f10,this[_0x56359c(0x274)]=!!this[_0x56359c(0x504)],_0x21861b[_0x56359c(0x4e4)](j[_0x56359c(0x45f)](this['dispose$']))[_0x56359c(0x34a)](_0x1c8b45=>{var _0x1aaf33=_0x56359c,_0x266b77;typeof _0x1c8b45>'u'||(this[_0x1aaf33(0x1d3)]=_0x1c8b45,_0x1c8b45?(this[_0x1aaf33(0x321)](_0x1c8b45),this[_0x1aaf33(0x3b1)]=_0x1c8b45['message$'][_0x1aaf33(0x34a)](_0x56de37=>{var _0xf26d29=_0x1aaf33;_0x56de37[_0xf26d29(0x31e)]===this['_unitID']&&this[_0xf26d29(0x314)](_0x56de37);})):(this[_0x1aaf33(0x40d)](),this[_0x1aaf33(0x4c2)][_0x1aaf33(0x19d)](0x2),(_0x266b77=this[_0x1aaf33(0x3b1)])==null||_0x266b77[_0x1aaf33(0x46c)](),this[_0x1aaf33(0x3b1)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}[_0x10f867(0x31f)](){var _0x2c1d37=_0x10f867,_0xb40f81,_0xf02d2b;return(_0xf02d2b=(_0xb40f81=this[_0x2c1d37(0x1d3)])==null?void 0x0:_0xb40f81[_0x2c1d37(0x1f8)])!=null?_0xf02d2b:null;}[_0x10f867(0x3dc)](){var _0x4f6b09=_0x10f867;super[_0x4f6b09(0x3dc)](),this['dispose$'][_0x4f6b09(0x19d)](),this[_0x4f6b09(0x25c)][_0x4f6b09(0x443)]();}[_0x10f867(0x293)](){var _0x202d14=_0x10f867,_0x5939c9,_0x48aa05;this[_0x202d14(0x40d)](),(_0x5939c9=this[_0x202d14(0x1d3)])==null||_0x5939c9[_0x202d14(0x47d)]({'cmd':W[_0x202d14(0x46e)],'data':{'roomID':this['_unitID']}}),(_0x48aa05=this[_0x202d14(0x1d3)])==null||_0x48aa05[_0x202d14(0x293)](),this[_0x202d14(0x1e1)]['complete'](),this['_sessionStatus$']['complete'](),this['dispose']();}['_onCombEvent'](_0x5f3b8f){var _0x3eb65a=_0x10f867;_0x5f3b8f[_0x3eb65a(0x239)]===W[_0x3eb65a(0x37b)]?this['_onJoinRoomEvent'](_0x5f3b8f):_0x5f3b8f[_0x3eb65a(0x239)]===W[_0x3eb65a(0x38d)]&&this['_onRecvEvent'](_0x5f3b8f);}[_0x10f867(0x321)](_0xea798){var _0x4ce73a=_0x10f867;this[_0x4ce73a(0x4c2)][_0x4ce73a(0x19d)](0x1),_0xea798['send']({'cmd':W['JOIN'],'routeKey':this[_0x4ce73a(0x4b1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4ce73a(0x4b1)]}]}});}[_0x10f867(0x26b)](_0x3a95d2){var _0x592220=_0x10f867,_0x24c4f6;if(_0x3a95d2[_0x592220(0x429)]in We){this['_collaborationUIEventService'][_0x592220(0x3e2)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x3a95d2[_0x592220(0x429)]]}),this['_sessionStatus$'][_0x592220(0x19d)](0x2);return;}this[_0x592220(0x4c2)][_0x592220(0x19d)](0x3);const _0x36d0d3=(_0x24c4f6=_0x3a95d2[_0x592220(0x46b)]['roomInfos'][this[_0x592220(0x4b1)]])==null?void 0x0:_0x24c4f6[_0x592220(0x447)];_0x36d0d3&&_0x36d0d3[_0x592220(0x35b)](_0x5df9db=>this['_memberService'][_0x592220(0x3f7)](this[_0x592220(0x4b1)],_0x5df9db));}['_onRecvEvent'](_0x1714d3){var _0x5bd030=_0x10f867;try{const _0x20d9eb=_0x1714d3['data'];switch(_0x20d9eb[_0x5bd030(0x2ad)]){case E[_0x5bd030(0x481)][_0x5bd030(0x196)]:this[_0x5bd030(0x4f3)](_0x20d9eb),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent']['USERS_LEAVE']:this[_0x5bd030(0x485)](_0x20d9eb),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent'][_0x5bd030(0x36b)]:case E[_0x5bd030(0x481)][_0x5bd030(0x3b9)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x5bd030(0x1e1)]['next'](_0x20d9eb);break;case E['CollaborationEvent'][_0x5bd030(0x304)]:this['_logService'][_0x5bd030(0x3a8)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x20d9eb)),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x5bd030(0x4cf)](_0x20d9eb['data']),this[_0x5bd030(0x1e1)]['next'](_0x20d9eb);break;default:this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);}}catch(_0x5f0e7a){this[_0x5bd030(0x280)][_0x5bd030(0x3a8)](_0x5f0e7a,_0x1714d3);}}[_0x10f867(0x4f3)](_0x381142){var _0xb302e4=_0x10f867;this[_0xb302e4(0x1bf)][_0xb302e4(0x3f7)](this[_0xb302e4(0x4b1)],_0x381142[_0xb302e4(0x46b)]);}[_0x10f867(0x485)](_0x238c81){var _0x50221c=_0x10f867;this[_0x50221c(0x1bf)][_0x50221c(0x4ca)](this[_0x50221c(0x4b1)],_0x238c81['data'][_0x50221c(0x1f8)]);}async[_0x10f867(0x47d)](_0x416802,_0xe32c99){var _0x3d7b33=_0x10f867;if(this[_0x3d7b33(0x27f)]!==0x3||!this['_socket'])throw new Error(_0x3d7b33(0x37a));try{_0x416802['eventID']===E[_0x3d7b33(0x481)][_0x3d7b33(0x1c6)]&&(this[_0x3d7b33(0x4a2)](),this[_0x3d7b33(0x502)](_0x416802)),this[_0x3d7b33(0x1d3)]['send']({'cmd':W[_0x3d7b33(0x343)],'routeKey':_0xe32c99,'routeType':'','data':_0x416802});}catch(_0x405beb){this['_logService'][_0x3d7b33(0x3a8)](_0x405beb);}}['_scheduleCollaborationTimeoutTimer'](){var _0x586c25=_0x10f867,_0x297b64;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x50c083=_0x4aec;this['_collaborationTimeoutTimer']=null,this[_0x50c083(0x336)][_0x50c083(0x3e2)]({'id':J[_0x50c083(0x1d6)]});},(_0x297b64=this[_0x586c25(0x22b)]['getConfig'](ke))!=null?_0x297b64:lt);}[_0x10f867(0x4cc)](){var _0x27cb23=_0x10f867;this[_0x27cb23(0x3ec)]&&(clearTimeout(this[_0x27cb23(0x3ec)]),this[_0x27cb23(0x3ec)]=null);}[_0x10f867(0x502)](_0xebb4b1){var _0x335bac=_0x10f867;if(!this[_0x335bac(0x274)])return;const {data:_0x388159}=_0xebb4b1,{unitID:_0x1870e5,changeset:_0x3dd21d}=_0x388159,{mutations:_0x5edb86,type:_0x323ae5}=_0x3dd21d;this['_telemetryInfo']={'unitId':_0x1870e5,'type':_0x323ae5,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x5edb86)};}[_0x10f867(0x41a)](){var _0x363794=_0x10f867;if(this[_0x363794(0x274)]){if(!this[_0x363794(0x192)]){this[_0x363794(0x280)][_0x363794(0x3a8)](_0x363794(0x3c7),_0x363794(0x360));return;}this[_0x363794(0x192)]['stopTime']=performance[_0x363794(0x1ed)](),this[_0x363794(0x192)][_0x363794(0x43c)]=this[_0x363794(0x192)][_0x363794(0x1b6)]-this[_0x363794(0x192)]['startTime'],this[_0x363794(0x504)][_0x363794(0x446)](Ft,this['_telemetryInfo']),this[_0x363794(0x192)]=null;}}[_0x10f867(0x40d)](){var _0x43c0c3=_0x10f867;this[_0x43c0c3(0x192)]=null;}},exports[_0x10f867(0x362)]=qt([ce(0x2,o[_0x10f867(0x4f6)]),ce(0x3,o[_0x10f867(0x405)]),ce(0x4,o[_0x10f867(0x225)](exports[_0x10f867(0x215)])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x10f867(0x225)](ee)),ce(0x7,o[_0x10f867(0x244)](Nt['ITelemetryService']))],exports['CollaborationSession']);const q=o[_0x10f867(0x480)](_0x10f867(0x22f));function zt(_0x10b935){return'unit-cache-'+_0x10b935;}var Xt=Object[_0x10f867(0x509)],Jt=(_0x58b66f,_0x5a717d,_0x1f678b,_0x590acd)=>{var _0x5073ec=_0x10f867;for(var _0x34be67=_0x590acd>0x1?void 0x0:_0x590acd?Xt(_0x5a717d,_0x1f678b):_0x5a717d,_0x5c0efc=_0x58b66f[_0x5073ec(0x371)]-0x1,_0x5c0b47;_0x5c0efc>=0x0;_0x5c0efc--)(_0x5c0b47=_0x58b66f[_0x5c0efc])&&(_0x34be67=_0x5c0b47(_0x34be67)||_0x34be67);return _0x34be67;},Ue=(_0x3ca1e8,_0x16ca91)=>(_0x380bd1,_0x27e0bc)=>_0x16ca91(_0x380bd1,_0x27e0bc,_0x3ca1e8);function Zt(_0x50f6c2){var _0xa10d3d=_0x10f867;const {unitID:_0x377f9c,mutations:_0xba70a7}=_0x50f6c2;return{'unitId':_0x377f9c,'subUnitId':_0xba70a7[_0xa10d3d(0x371)]>0x0?_0xba70a7[0x0][_0xa10d3d(0x32c)][_0xa10d3d(0x38f)]:null};}exports[_0x10f867(0x508)]=class{constructor(_0x3945dc,_0x10890a,_0x3e6cd2){var _0x306919=_0x10f867;this[_0x306919(0x4f8)]=_0x3945dc,this[_0x306919(0x33c)]=_0x10890a,this[_0x306919(0x276)]=_0x3e6cd2;}[_0x10f867(0x2a4)](_0x5b3be5){var _0x4f45a1=_0x10f867,_0xd86046,_0x338a6f,_0x2bdc42,_0xddfcc6;const _0x3e1410=this[_0x4f45a1(0x4f8)]['get'](Q[_0x4f45a1(0x4be)]),{unitId:_0x409013,subUnitId:_0x7ebabf}=Zt(_0x5b3be5),_0x5a85eb=_0x3e1410==null?void 0x0:_0x3e1410[_0x4f45a1(0x3aa)](_0x409013)[_0x4f45a1(0x1fc)](),_0x51077b=(_0x338a6f=(_0xd86046=this[_0x4f45a1(0x276)][_0x4f45a1(0x4c0)](_0x409013))==null?void 0x0:_0xd86046[_0x4f45a1(0x392)]())==null?void 0x0:_0x338a6f[_0x4f45a1(0x4df)]();if(_0x5a85eb[_0x4f45a1(0x371)]===0x0||!_0x409013||!_0x7ebabf)return;const _0x4de673=[{'id':Q[_0x4f45a1(0x3d8)]['id'],'params':{'unitId':_0x409013,'subUnitId':_0x51077b,'selections':o[_0x4f45a1(0x378)][_0x4f45a1(0x3d2)](_0x5a85eb)}}],_0x30a1e2=this['_transformService']['transformMutationsWithChangeset'](_0x5b3be5,_0x4de673);if(!E['isTransformMutationsWithChangesetSuccess'](_0x30a1e2))throw _0x30a1e2[_0x4f45a1(0x3a8)];const _0x74922=(_0xddfcc6=(_0x2bdc42=_0x30a1e2[_0x4f45a1(0x323)][0x0])==null?void 0x0:_0x2bdc42[_0x4f45a1(0x32c)])==null?void 0x0:_0xddfcc6['selections'];if(Array[_0x4f45a1(0x34c)](_0x74922)&&_0x74922[_0x4f45a1(0x371)]){if(_0x74922[_0x4f45a1(0x371)]===_0x4de673[0x0][_0x4f45a1(0x32c)][_0x4f45a1(0x303)]['length']&&_0x74922['every']((_0x565fac,_0x470167)=>o[_0x4f45a1(0x3b5)][_0x4f45a1(0x1cc)](_0x565fac[_0x4f45a1(0x461)],_0x4de673[0x0][_0x4f45a1(0x32c)][_0x4f45a1(0x303)][_0x470167][_0x4f45a1(0x461)])))return;this[_0x4f45a1(0x4f8)]['get'](o['ICommandService'])['executeCommand'](Q[_0x4f45a1(0x3d8)]['id'],{'unitId':_0x409013,'subUnitId':_0x51077b,'selections':_0x74922});}}},exports[_0x10f867(0x508)]=Jt([Ue(0x0,o[_0x10f867(0x225)](o['Injector'])),Ue(0x1,E[_0x10f867(0x297)]),Ue(0x2,o[_0x10f867(0x470)])],exports[_0x10f867(0x508)]);const ve=o[_0x10f867(0x480)](_0x10f867(0x45d));var He=(_0x24d22b=>(_0x24d22b[_0x24d22b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x10f867(0x3cc),_0x24d22b[_0x24d22b[_0x10f867(0x25f)]=0x1]=_0x10f867(0x25f),_0x24d22b))(He||{});const Y=_0x10f867(0x1f4),Qt={};function ei(_0x34156c){var _0x2b1384=_0x10f867,_0x385c23;return!!((_0x385c23=_0x34156c[_0x2b1384(0x32c)])!=null&&_0x385c23[_0x2b1384(0x2f1)]);}const ti=new Set([Q[_0x10f867(0x1e9)]['id']]);function Ge(_0x100e2d,_0x509e72,_0x4e4f29,_0x57829f,_0xe1a2a9){var _0x512fa6=_0x10f867,_0x1439c7,_0x3129b8,_0x59f9d7,_0x1de042;const _0xa6c0e3=[];for(const _0x5bd5b4 of _0x100e2d){if(ti[_0x512fa6(0x295)](_0x5bd5b4['id'])){if(_0xa6c0e3['length']>0x0)break;_0xa6c0e3[_0x512fa6(0x24d)](_0x5bd5b4);break;}if(ei(_0x5bd5b4)){if(_0xa6c0e3['length']>0x0)break;_0xa6c0e3[_0x512fa6(0x24d)](_0x5bd5b4);break;}_0xa6c0e3['push'](_0x5bd5b4);}const _0x261959=(_0x3129b8=(_0x1439c7=_0xe1a2a9[_0x512fa6(0x250)]())==null?void 0x0:_0x1439c7[_0x512fa6(0x21e)])!=null?_0x3129b8:_0x512fa6(0x3c1),_0x32a578=(_0x1de042=(_0x59f9d7=_0xe1a2a9[_0x512fa6(0x250)]())==null?void 0x0:_0x59f9d7[_0x512fa6(0x1f8)])!=null?_0x1de042:'unknown';return{'changeset':{'unitID':_0x509e72,'type':E[_0x512fa6(0x401)](_0x4e4f29[_0x512fa6(0x33f)](_0x509e72)),'baseRev':_0x57829f[_0x512fa6(0x1b4)](_0x509e72),'revision':0x0,'userID':_0x261959,'memberID':_0x32a578,'mutations':_0xa6c0e3},'pendingMutations':_0x100e2d['slice'](_0xa6c0e3[_0x512fa6(0x371)])};}function ii(_0x1fd442,_0x242f9d,_0x3a75aa,_0x32bcfb,_0x26978b){var _0x111441=_0x10f867,_0x51ec5f,_0x1f1024,_0x399ee8,_0x5bc248;const _0x6a4514=[_0x1fd442[_0x111441(0x364)]((_0x182cb0,_0x3bcc24)=>{var _0x298321=_0x111441,_0x36de8c;const {id:_0x4f2531}=_0x182cb0,{id:_0x4af8bd,type:_0x56c81e}=_0x3bcc24,_0x1e2059=(_0x36de8c=_0x182cb0[_0x298321(0x32c)])!=null?_0x36de8c:{'actions':null},_0x584d49=_0x3bcc24[_0x298321(0x32c)];if(_0x4f2531&&_0x4f2531!==_0x4af8bd)throw new Error(_0x298321(0x31a)+_0x4f2531+_0x298321(0x27d)+_0x4af8bd+'.');return{..._0x182cb0,'id':_0x4af8bd,'type':_0x56c81e,'params':{'unitId':_0x584d49[_0x298321(0x1fa)],'textRanges':_0x584d49[_0x298321(0x1f3)],'actions':o[_0x298321(0x403)][_0x298321(0x3b3)](_0x1e2059[_0x298321(0x2b7)],_0x584d49[_0x298321(0x2b7)])}};},{})],_0x555cc7=(_0x1f1024=(_0x51ec5f=_0x26978b[_0x111441(0x250)]())==null?void 0x0:_0x51ec5f[_0x111441(0x21e)])!=null?_0x1f1024:'unknown',_0x4af9a3=(_0x5bc248=(_0x399ee8=_0x26978b['getCurrentUser']())==null?void 0x0:_0x399ee8['memberID'])!=null?_0x5bc248:_0x111441(0x3c1);return{'changeset':{'unitID':_0x242f9d,'type':E[_0x111441(0x401)](_0x3a75aa[_0x111441(0x33f)](_0x242f9d)),'baseRev':_0x32bcfb[_0x111441(0x1b4)](_0x242f9d),'revision':0x0,'userID':_0x555cc7,'memberID':_0x4af9a3,'mutations':_0x6a4514},'pendingMutations':[]};}function St(_0x4d8e32,_0x417cd9){var _0x4e32c5=_0x10f867;const _0x411f7b=new j[(_0x4e32c5(0x2ce))](0x1);return setTimeout(()=>_0x411f7b[_0x4e32c5(0x19d)](_0x417cd9),_0x4d8e32),_0x411f7b[_0x4e32c5(0x440)]()[_0x4e32c5(0x4e4)](j['take'](0x1));}var ni=Object[_0x10f867(0x509)],ae=(_0x2304e0,_0x3803f6,_0x190445,_0x4cfbe6)=>{var _0x2727ee=_0x10f867;for(var _0x2dd550=_0x4cfbe6>0x1?void 0x0:_0x4cfbe6?ni(_0x3803f6,_0x190445):_0x3803f6,_0x329d1f=_0x2304e0[_0x2727ee(0x371)]-0x1,_0x280834;_0x329d1f>=0x0;_0x329d1f--)(_0x280834=_0x2304e0[_0x329d1f])&&(_0x2dd550=_0x280834(_0x2dd550)||_0x2dd550);return _0x2dd550;},L=(_0x37e50e,_0x336ead)=>(_0x1788a7,_0x57b3cb)=>_0x336ead(_0x1788a7,_0x57b3cb,_0x37e50e),je=(_0x462b5b=>(_0x462b5b[_0x10f867(0x4f2)]='not_collab',_0x462b5b['SYNCED']=_0x10f867(0x4b0),_0x462b5b['PENDING']=_0x10f867(0x326),_0x462b5b['AWAITING']=_0x10f867(0x3dd),_0x462b5b[_0x10f867(0x2b4)]=_0x10f867(0x32e),_0x462b5b[_0x10f867(0x4fa)]=_0x10f867(0x310),_0x462b5b[_0x10f867(0x3e6)]='conflict',_0x462b5b['OFFLINE']=_0x10f867(0x45e),_0x462b5b))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0xba21f0,_0x594add,_0x55dd4e,_0x25bfcb,_0x49a495,_0x1f8c57,_0x45b631,_0x262378,_0x2ca3d9){var _0x591c13=_0x10f867;A(this,_0x591c13(0x3b6),null),A(this,'_pendingMutations',[]),(this['unitID']=_0xba21f0,this[_0x591c13(0x19e)]=_0x594add,this[_0x591c13(0x2ff)]=_0x49a495,this[_0x591c13(0x2ee)]=_0x1f8c57,this[_0x591c13(0x44b)]=_0x45b631,this['_revisionService']=_0x262378,this[_0x591c13(0x2de)]=_0x2ca3d9,this[_0x591c13(0x3b6)]=_0x55dd4e,this[_0x591c13(0x421)]=_0x25bfcb);}[_0x10f867(0x2a3)](_0x490a6b){var _0x5e7341=_0x10f867;const _0x2c92fa=this[_0x5e7341(0x380)][_0x5e7341(0x1b4)](this[_0x5e7341(0x2cd)]);return _0x490a6b['revision']>_0x2c92fa+0x1?(this[_0x5e7341(0x2ff)][_0x5e7341(0x43e)]({'from':_0x2c92fa,'to':_0x490a6b[_0x5e7341(0x357)]-0x1}),!0x0):!0x1;}[_0x10f867(0x23d)](_0x7b0bdb){var _0x572fbd=_0x10f867;this[_0x572fbd(0x44b)][_0x572fbd(0x3a0)](this[_0x572fbd(0x2cd)],_0x7b0bdb);}[_0x10f867(0x231)](_0xf5ff22){var _0x251d95=_0x10f867,_0x28cd8e,_0x48d6ce;(_0x48d6ce=(_0x28cd8e=this[_0x251d95(0x2ff)])[_0x251d95(0x1c3)])==null||_0x48d6ce[_0x251d95(0x411)](_0x28cd8e,_0xf5ff22);}[_0x10f867(0x334)](_0x3869ae){var _0x3c5fa5=_0x10f867,_0x1e3310,_0x3f311b;return(_0x3f311b=(_0x1e3310=this[_0x3c5fa5(0x2ff)])['onTransformIME'])==null?void 0x0:_0x3f311b[_0x3c5fa5(0x411)](_0x1e3310,_0x3869ae);}[_0x10f867(0x4b9)](_0x2a11f0){var _0x172d82=_0x10f867,_0x461e2e,_0xbeba7c;return(_0xbeba7c=(_0x461e2e=this[_0x172d82(0x2ff)])[_0x172d82(0x205)])==null?void 0x0:_0xbeba7c[_0x172d82(0x411)](_0x461e2e,_0x2a11f0);}['_transformRemoteChangesetByIMECache'](_0x4a32af){var _0x226c5b=_0x10f867,_0xf11ede,_0x3e3222,_0x92c613;return(_0x92c613=(_0x3e3222=(_0xf11ede=this[_0x226c5b(0x2ff)])[_0x226c5b(0x20f)])==null?void 0x0:_0x3e3222[_0x226c5b(0x411)](_0xf11ede,_0x4a32af))!=null?_0x92c613:_0x4a32af;}[_0x10f867(0x262)](_0x577553){var _0x3913ba=_0x10f867,_0x25fbb2,_0x268da8,_0x55277b;return(_0x55277b=(_0x268da8=(_0x25fbb2=this[_0x3913ba(0x2ff)])[_0x3913ba(0x451)])==null?void 0x0:_0x268da8[_0x3913ba(0x411)](_0x25fbb2,_0x577553))!=null?_0x55277b:_0x577553;}[_0x10f867(0x3bd)](_0x5a6772){var _0x4b15c7=_0x10f867,_0x2f48a0,_0x3fe678;if(this[_0x4b15c7(0x19e)]===X[_0x4b15c7(0x382)]){const {unitID:_0x195d8f,mutations:_0x589552,memberID:_0x3642f5}=_0x5a6772,_0x1f81eb=_0x589552[_0x4b15c7(0x371)]>0x0?_0x589552[0x0][_0x4b15c7(0x32c)][_0x4b15c7(0x1f3)]:[];Array[_0x4b15c7(0x34c)](_0x1f81eb)&&_0x1f81eb[_0x4b15c7(0x371)]>0x0&&((_0x3fe678=(_0x2f48a0=this[_0x4b15c7(0x2ff)])[_0x4b15c7(0x37c)])==null||_0x3fe678[_0x4b15c7(0x411)](_0x2f48a0,{'unitID':_0x195d8f,'memberID':_0x3642f5,'textRanges':_0x1f81eb}));}}[_0x10f867(0x49e)](){var _0x2df970=_0x10f867,_0x3016f7;(_0x3016f7=this[_0x2df970(0x2de)])==null||_0x3016f7['updateOfflineData'](this['unitID'],this[_0x2df970(0x19e)],this[_0x2df970(0x3b6)],this['_pendingMutations']);}[_0x10f867(0x1d9)](){var _0x48fb49=_0x10f867;return this[_0x48fb49(0x380)]['getCurrentRevOfUnit'](this[_0x48fb49(0x2cd)]);}[_0x10f867(0x2c1)](){var _0x4d5cb4=_0x10f867;this[_0x4d5cb4(0x380)][_0x4d5cb4(0x404)](this[_0x4d5cb4(0x2cd)]);}[_0x10f867(0x1a5)](_0x42e8c4){var _0x136304=_0x10f867,_0x363555;let _0x2c471e=this[_0x136304(0x313)](_0x42e8c4);_0x2c471e=this[_0x136304(0x262)](_0x2c471e);const _0xa98e3b=o[_0x136304(0x476)](_0x2c471e[_0x136304(0x44e)],this['_commandService'],{'fromCollab':!0x0});if(!_0xa98e3b[_0x136304(0x4e3)])throw _0xa98e3b[_0x136304(0x3a8)]instanceof Error?_0xa98e3b[_0x136304(0x3a8)]:new Error((_0x363555=_0xa98e3b[_0x136304(0x3a8)])!=null?_0x363555:_0x136304(0x3a5));this[_0x136304(0x334)](_0x2c471e),this[_0x136304(0x4b9)](_0x2c471e),this[_0x136304(0x23d)](_0x42e8c4),this[_0x136304(0x231)](_0x2c471e),this['_syncEditingCollabCursor'](_0x2c471e),this[_0x136304(0x2c1)]();}}exports[_0x10f867(0x4b4)]=class extends oe{constructor(_0x362056,_0x2c8fe6,_0x3f6b7d,_0x310718,_0x32419e,_0x48147f,_0x1b1e3a,_0x201156,_0x442090,_0x145968){var _0x4d9c82=_0x10f867;super(_0x362056,_0x2c8fe6,null,[],_0x3f6b7d,_0x1b1e3a,_0x48147f,_0x310718,_0x145968),A(this,_0x4d9c82(0x224),'synced'),(this[_0x4d9c82(0x4f8)]=_0x32419e,this[_0x4d9c82(0x280)]=_0x201156,this['_transformService']=_0x442090,this[_0x4d9c82(0x426)]=_0x145968);}[_0x10f867(0x1a4)](_0x38a8e8){var _0x441d2c=_0x10f867;const _0x361337=this[_0x441d2c(0x4f8)][_0x441d2c(0x22d)](exports[_0x441d2c(0x3a1)],this['unitID'],this[_0x441d2c(0x19e)],[_0x38a8e8],this[_0x441d2c(0x2ff)]);return _0x361337['_schedule'](),_0x361337['_updateLocalCache'](),_0x361337;}[_0x10f867(0x4c3)](_0x22f1eb){var _0x4d3bfe=_0x10f867;if(this[_0x4d3bfe(0x2a3)](_0x22f1eb))return this['_injector'][_0x4d3bfe(0x22d)](exports[_0x4d3bfe(0x201)],this['unitID'],this[_0x4d3bfe(0x19e)],null,[],null,[_0x22f1eb],this['_handler']);try{const _0x5ef65b=this[_0x4d3bfe(0x33c)][_0x4d3bfe(0x4da)](_0x22f1eb,[E['EmptyMutationInfo']]);if(E[_0x4d3bfe(0x25a)](_0x5ef65b)){const {c1Prime:_0x41681a}=_0x5ef65b;return this[_0x4d3bfe(0x1a5)](_0x41681a),this;}throw _0x5ef65b[_0x4d3bfe(0x3a8)];}catch(_0xe52672){return this[_0x4d3bfe(0x280)]['error'](_0xe52672),this[_0x4d3bfe(0x416)](!0x1);}}[_0x10f867(0x416)](_0x52f9ad){var _0xa2cf4a=_0x10f867;return this[_0xa2cf4a(0x4f8)][_0xa2cf4a(0x22d)](exports[_0xa2cf4a(0x35f)],this['unitID'],this[_0xa2cf4a(0x19e)],null,[],this[_0xa2cf4a(0x2ff)],_0x52f9ad);}['onRemoteAck'](){var _0x107a61=_0x10f867;throw new Error(_0x107a61(0x1df));}[_0x10f867(0x3f8)](){var _0x4e70c2=_0x10f867;throw new Error(_0x4e70c2(0x24e));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){var _0x5e991c=_0x10f867;return this[_0x5e991c(0x4f8)][_0x5e991c(0x22d)](exports['OfflineState'],this[_0x5e991c(0x2cd)],this[_0x5e991c(0x19e)],null,[],this[_0x5e991c(0x2ff)]);}['toggleOnline'](){return this;}[_0x10f867(0x469)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x56eeba=_0x10f867;const _0x376069=this[_0x56eeba(0x380)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x56eeba(0x43e)]({'from':_0x376069,'to':0x0}),this['_injector'][_0x56eeba(0x22d)](exports[_0x56eeba(0x201)],this[_0x56eeba(0x2cd)],this['type'],null,[],null,[],this[_0x56eeba(0x2ff)]);}},exports['SyncedState']=ae([L(0x3,o[_0x10f867(0x225)](E['RevisionService'])),L(0x4,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x5,o['IUndoRedoService']),L(0x6,o['ICommandService']),L(0x7,o['ILogService']),L(0x8,E[_0x10f867(0x297)]),L(0x9,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x4b4)]),exports[_0x10f867(0x3a1)]=class extends oe{constructor(_0x31d117,_0x5653a6,_0xc6f69c,_0x154f30,_0x5aa81f,_0x2471b4,_0xd141c8,_0xf705ff,_0x3d5c70,_0xf0d797,_0x154f14,_0xf42588,_0xfd055c,_0x1d7609){var _0xf00d36=_0x10f867;super(_0x31d117,_0x5653a6,null,_0xc6f69c,_0x154f30,_0x3d5c70,_0xfd055c,_0x2471b4,_0x1d7609),A(this,'status',_0xf00d36(0x326)),A(this,_0xf00d36(0x243),null),A(this,_0xf00d36(0x47a),null),(this['_injector']=_0x5aa81f,this[_0xf00d36(0x1bf)]=_0xd141c8,this[_0xf00d36(0x280)]=_0xf705ff,this[_0xf00d36(0x22b)]=_0xf0d797,this[_0xf00d36(0x33c)]=_0x154f14,this['_univerInstanceService']=_0xf42588);}[_0x10f867(0x1a4)](_0x267504){var _0x4768d2=_0x10f867;return this['_pendingMutations'][_0x4768d2(0x24d)](_0x267504),this[_0x4768d2(0x49e)](),this;}[_0x10f867(0x4c3)](_0x4a99a2){var _0x29f474=_0x10f867;if(this[_0x29f474(0x2a3)](_0x4a99a2))return this[_0x29f474(0x2d1)](),this['_injector'][_0x29f474(0x22d)](exports[_0x29f474(0x201)],this[_0x29f474(0x2cd)],this[_0x29f474(0x19e)],null,this['_pendingMutations'],null,[_0x4a99a2],this[_0x29f474(0x2ff)]);try{const _0x4407a2=this[_0x29f474(0x33c)][_0x29f474(0x4da)](_0x4a99a2,this[_0x29f474(0x421)]);if(E['isTransformMutationsWithChangesetSuccess'](_0x4407a2)){const {c1Prime:_0x58e1d9,m2Prime:_0x5f3b66}=_0x4407a2;this[_0x29f474(0x1a5)](_0x58e1d9);const _0x487572=this[_0x29f474(0x4f8)][_0x29f474(0x22d)](exports[_0x29f474(0x3a1)],this['unitID'],this['type'],_0x5f3b66,this['_handler']);this[_0x29f474(0x2d1)]();const _0x1ecf44=new Date()[_0x29f474(0x3ee)](),_0x162742=this['_scheduleCompleteTimestamp']?Math[_0x29f474(0x3cf)](this[_0x29f474(0x243)]-_0x1ecf44,0x0):this[_0x29f474(0x43b)]();return _0x487572['_schedule'](_0x162742),_0x487572;}throw _0x4407a2['error'];}catch(_0x1aa3ed){return this[_0x29f474(0x280)]['error'](_0x1aa3ed),this[_0x29f474(0x416)](!0x1);}}[_0x10f867(0x349)](){var _0x574f85=_0x10f867;throw new Error(_0x574f85(0x3f4));}[_0x10f867(0x3f8)](){var _0x26f90e=_0x10f867;throw new Error(_0x26f90e(0x3f3));}[_0x10f867(0x29b)](){return this;}[_0x10f867(0x4f1)](){var _0x54d6be=_0x10f867;return this['_clearScheduledTask'](),this[_0x54d6be(0x4f8)][_0x54d6be(0x22d)](exports[_0x54d6be(0x2eb)],this[_0x54d6be(0x2cd)],this[_0x54d6be(0x19e)],null,this[_0x54d6be(0x421)],this[_0x54d6be(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x1c9)](_0xe8b9cc){var _0xf3f18f=_0x10f867;const _0x584e47=_0xe8b9cc!=null?_0xe8b9cc:this[_0xf3f18f(0x43b)]();this[_0xf3f18f(0x243)]=new Date()['getTime']()+_0x584e47,this[_0xf3f18f(0x47a)]=setTimeout(()=>{var _0x54d679=_0xf3f18f;this['_clearScheduledTask']();let _0x386d0b=null;switch(this[_0x54d679(0x19e)]){case X[_0x54d679(0x3bf)]:{_0x386d0b=Ge(this['_pendingMutations'],this[_0x54d679(0x2cd)],this['_univerInstanceService'],this['_revisionService'],this[_0x54d679(0x1bf)]);break;}case X[_0x54d679(0x382)]:{this[_0x54d679(0x421)][_0x54d679(0x423)](_0x5e18af=>_0x5e18af['id']===ct['RichTextEditingMutation']['id'])?_0x386d0b=ii(this[_0x54d679(0x421)],this[_0x54d679(0x2cd)],this['_univerInstanceService'],this[_0x54d679(0x380)],this['_memberService']):_0x386d0b=Ge(this[_0x54d679(0x421)],this[_0x54d679(0x2cd)],this[_0x54d679(0x497)],this[_0x54d679(0x380)],this['_memberService']);break;}default:throw new Error(_0x54d679(0x425)+this[_0x54d679(0x19e)]+'\x20in\x20_schedule.');}const {changeset:_0x4fb9a6,pendingMutations:_0x26c8a2}=_0x386d0b;this[_0x54d679(0x2ff)][_0x54d679(0x30f)](_0x4fb9a6);const _0x69767e=_0x26c8a2[_0x54d679(0x371)]?this[_0x54d679(0x4f8)][_0x54d679(0x22d)](exports['AwaitingWithPendingState'],this[_0x54d679(0x2cd)],this[_0x54d679(0x19e)],_0x4fb9a6,_0x26c8a2,this[_0x54d679(0x2ff)],void 0x0):this[_0x54d679(0x4f8)][_0x54d679(0x22d)](exports[_0x54d679(0x29f)],this[_0x54d679(0x2cd)],this[_0x54d679(0x19e)],_0x4fb9a6,this['_handler']);_0x69767e['_updateLocalCache'](),this[_0x54d679(0x2ff)][_0x54d679(0x17f)](this,_0x69767e);},_0x584e47);}['_getSendChangesetTimeout'](){var _0x477eec=_0x10f867,_0x32abdd;const _0x18dae8=this[_0x477eec(0x22b)][_0x477eec(0x345)](Y);return(_0x32abdd=_0x18dae8==null?void 0x0:_0x18dae8[_0x477eec(0x1d4)])!=null?_0x32abdd:At;}[_0x10f867(0x469)](){var _0x406873=_0x10f867;throw new Error(_0x406873(0x319));}[_0x10f867(0x2d1)](){var _0x780ddf=_0x10f867;this[_0x780ddf(0x47a)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x780ddf(0x47a)]=null);}[_0x10f867(0x416)](_0xd25597){var _0x30fa14=_0x10f867;return this[_0x30fa14(0x2d1)](),this[_0x30fa14(0x4f8)][_0x30fa14(0x22d)](exports[_0x30fa14(0x35f)],this[_0x30fa14(0x2cd)],this[_0x30fa14(0x19e)],null,this[_0x30fa14(0x421)],this[_0x30fa14(0x2ff)],_0xd25597);}},exports['PendingState']=ae([L(0x4,o['Inject'](o['Injector'])),L(0x5,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x6,o['Inject'](exports[_0x10f867(0x215)])),L(0x7,o[_0x10f867(0x4f6)]),L(0x8,o[_0x10f867(0x374)]),L(0x9,o['IConfigService']),L(0xa,E[_0x10f867(0x297)]),L(0xb,o[_0x10f867(0x470)]),L(0xc,o[_0x10f867(0x4f9)]),L(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x3a1)]),exports[_0x10f867(0x29f)]=class extends oe{constructor(_0xeba57d,_0x1d9222,_0x2f5af7,_0xfc7272,_0x2a75a7,_0x207c8d,_0x5be193,_0x37dc17,_0x4be111,_0x421320,_0x995a18){var _0x2e6315=_0x10f867;super(_0xeba57d,_0x1d9222,_0x2f5af7,[],_0xfc7272,_0x5be193,_0x421320,_0x207c8d,_0x995a18),A(this,_0x2e6315(0x224),_0x2e6315(0x3dd)),A(this,_0x2e6315(0x454),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,'_resendTimer'),A(this,_0x2e6315(0x415)),(this['_injector']=_0x2a75a7,this[_0x2e6315(0x280)]=_0x37dc17,this['_transformService']=_0x4be111);}[_0x10f867(0x1a4)](_0x1217fe){var _0x300078=_0x10f867;this[_0x300078(0x2d1)]();const _0x4fe5e1=this[_0x300078(0x4f8)][_0x300078(0x22d)](exports[_0x300078(0x4c5)],this[_0x300078(0x2cd)],this[_0x300078(0x19e)],this['_awaitingChangeset'],[_0x1217fe],this[_0x300078(0x2ff)],this['_resendTimer']);return _0x4fe5e1[_0x300078(0x49e)](),_0x4fe5e1;}['onRemoteChangeset'](_0x3bafd3){var _0x1e6ccb=_0x10f867;if(this[_0x1e6ccb(0x2a3)](_0x3bafd3))return this[_0x1e6ccb(0x2d1)](),this[_0x1e6ccb(0x4f8)][_0x1e6ccb(0x22d)](exports[_0x1e6ccb(0x201)],this[_0x1e6ccb(0x2cd)],this[_0x1e6ccb(0x19e)],this[_0x1e6ccb(0x3b6)],[],null,[_0x3bafd3],this[_0x1e6ccb(0x2ff)]);try{const _0x2a58a0=this['_transformService'][_0x1e6ccb(0x1de)]([_0x3bafd3],[this['_awaitingChangeset']],!0x1);if(E[_0x1e6ccb(0x34d)](_0x2a58a0)){const {c1Prime:_0x234b64,c2Prime:_0x289c8b}=_0x2a58a0;this[_0x1e6ccb(0x1a5)](_0x234b64[0x0]),_0x289c8b[0x0][_0x1e6ccb(0x32b)]=this[_0x1e6ccb(0x1d9)](),this[_0x1e6ccb(0x2d1)]();const _0x18a025=this[_0x1e6ccb(0x4f8)]['createInstance'](exports[_0x1e6ccb(0x29f)],this[_0x1e6ccb(0x2cd)],this[_0x1e6ccb(0x19e)],_0x289c8b[0x0],this[_0x1e6ccb(0x2ff)]);return _0x18a025['_updateLocalCache'](),_0x18a025;}return this[_0x1e6ccb(0x416)](!0x1);}catch(_0x57ca6f){return this[_0x1e6ccb(0x280)][_0x1e6ccb(0x3a8)](_0x57ca6f),this[_0x1e6ccb(0x416)](!0x1);}}[_0x10f867(0x349)](_0x17f31b){var _0x39d8ee=_0x10f867;this[_0x39d8ee(0x2d1)]();const _0x1afecd=this[_0x39d8ee(0x380)][_0x39d8ee(0x1b4)](this[_0x39d8ee(0x2cd)]);if(_0x17f31b[_0x39d8ee(0x357)]<_0x1afecd-0x1)return this;if(this[_0x39d8ee(0x2a3)](_0x17f31b))return this[_0x39d8ee(0x4f8)][_0x39d8ee(0x22d)](exports[_0x39d8ee(0x201)],this[_0x39d8ee(0x2cd)],this[_0x39d8ee(0x19e)],null,[],this[_0x39d8ee(0x3b6)],[],this[_0x39d8ee(0x2ff)]);this['_incrementRevisionNumber']();const _0x116325=this[_0x39d8ee(0x4f8)][_0x39d8ee(0x22d)](exports[_0x39d8ee(0x4b4)],this[_0x39d8ee(0x2cd)],this[_0x39d8ee(0x19e)],this[_0x39d8ee(0x2ff)]);return _0x116325[_0x39d8ee(0x49e)](),_0x116325;}[_0x10f867(0x3f8)](_0x4eaac7){var _0x4716c2=_0x10f867;return this[_0x4716c2(0x416)](!!(_0x4eaac7!=null&&_0x4eaac7[_0x4716c2(0x2f5)]));}[_0x10f867(0x29b)](_0x4e26a4){var _0x172f5d=_0x10f867;return this['_maxTotalRetryTimeout']>ft?this['toggleOffline']():(this[_0x172f5d(0x3cd)]=St(this[_0x172f5d(0x454)],{'timeout':this[_0x172f5d(0x454)],'reqId':_0x4e26a4['reqId']}),this[_0x172f5d(0x415)]=this[_0x172f5d(0x3cd)][_0x172f5d(0x34a)](({reqId:_0x3aed05,timeout:_0xb8371f})=>{this['_resendWithTimeout'](_0x3aed05,_0xb8371f);}),this);}[_0x10f867(0x4f1)](){var _0x14d9e9=_0x10f867;return this[_0x14d9e9(0x2d1)](),this[_0x14d9e9(0x4f8)][_0x14d9e9(0x22d)](exports[_0x14d9e9(0x2eb)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x14d9e9(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x469)](){var _0x420723=_0x10f867;this[_0x420723(0x2ff)][_0x420723(0x30f)](this[_0x420723(0x3b6)]);}[_0x10f867(0x416)](_0x21fdb4){var _0x2ef4c2=_0x10f867;return this['_clearScheduledTask'](),this[_0x2ef4c2(0x4f8)][_0x2ef4c2(0x22d)](exports[_0x2ef4c2(0x35f)],this[_0x2ef4c2(0x2cd)],this[_0x2ef4c2(0x19e)],this[_0x2ef4c2(0x3b6)],[],this[_0x2ef4c2(0x2ff)],_0x21fdb4);}[_0x10f867(0x29c)](_0x119976,_0x2dad8d){var _0x7b33e1=_0x10f867,_0x11d0ef;_0x119976===((_0x11d0ef=this[_0x7b33e1(0x3b6)])==null?void 0x0:_0x11d0ef[_0x7b33e1(0x30e)])&&(this[_0x7b33e1(0x469)](),this['_resendTimeout']=_0x2dad8d===0x0?0x3e8:Math[_0x7b33e1(0x3df)](_0x2dad8d*0x2,It),this[_0x7b33e1(0x20b)]+=this[_0x7b33e1(0x454)]);}[_0x10f867(0x2d1)](){var _0x5e410d=_0x10f867,_0x2c3e28;(_0x2c3e28=this[_0x5e410d(0x415)])==null||_0x2c3e28['unsubscribe'](),this[_0x5e410d(0x454)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x10f867(0x29f)]=ae([L(0x4,o[_0x10f867(0x225)](o['Injector'])),L(0x5,o[_0x10f867(0x225)](E['RevisionService'])),L(0x6,o[_0x10f867(0x374)]),L(0x7,o[_0x10f867(0x4f6)]),L(0x8,E[_0x10f867(0x297)]),L(0x9,o[_0x10f867(0x4f9)]),L(0xa,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x29f)]),exports[_0x10f867(0x4c5)]=class extends oe{constructor(_0xb90075,_0x23f3d4,_0x2cf6d8,_0x30fe29,_0x27a6ba,_0x3b077e,_0x2c05c5,_0x313595,_0x3c3a4c,_0x32244b,_0x376986,_0x29b01d,_0x105e68){var _0x52412c=_0x10f867;super(_0xb90075,_0x23f3d4,_0x2cf6d8,_0x30fe29,_0x27a6ba,_0x3c3a4c,_0x29b01d,_0x313595,_0x105e68),A(this,_0x52412c(0x224),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,_0x52412c(0x20b),0x0),A(this,_0x52412c(0x3cd)),A(this,_0x52412c(0x415)),(this[_0x52412c(0x4f8)]=_0x2c05c5,this[_0x52412c(0x280)]=_0x32244b,this[_0x52412c(0x33c)]=_0x376986,this[_0x52412c(0x426)]=_0x105e68,_0x3b077e&&(this[_0x52412c(0x3cd)]=_0x3b077e,this['_sender']=this[_0x52412c(0x3cd)]['subscribe'](({reqId:_0x49f234,timeout:_0x1a55f1})=>{var _0x310254=_0x52412c;this[_0x310254(0x29c)](_0x49f234,_0x1a55f1);})));}[_0x10f867(0x1a4)](_0x58c2bd){var _0x413cef=_0x10f867;return this[_0x413cef(0x421)]['push'](_0x58c2bd),this;}['onRemoteChangeset'](_0x47a63d){var _0x593198=_0x10f867;if(this['_checkMissing'](_0x47a63d))return this[_0x593198(0x2d1)](),this[_0x593198(0x4f8)][_0x593198(0x22d)](exports[_0x593198(0x201)],this[_0x593198(0x2cd)],this[_0x593198(0x19e)],this[_0x593198(0x3b6)],this[_0x593198(0x421)],null,[_0x47a63d],this[_0x593198(0x2ff)]);try{const _0x4c1818=this[_0x593198(0x33c)][_0x593198(0x1de)]([_0x47a63d],[this[_0x593198(0x3b6)]],!0x1);if(E[_0x593198(0x34d)](_0x4c1818)){const {c1Prime:_0x2b2105,c2Prime:_0x1453d7}=_0x4c1818,_0x1daa05=this[_0x593198(0x33c)][_0x593198(0x4da)](_0x2b2105[0x0],this['_pendingMutations']);if(E['isTransformMutationsWithChangesetSuccess'](_0x1daa05)){const {c1Prime:_0x289a68,m2Prime:_0x219604}=_0x1daa05;return this['_executeRemoteChangeset'](_0x289a68),_0x1453d7[0x0][_0x593198(0x32b)]=this[_0x593198(0x1d9)](),this[_0x593198(0x2d1)](),this[_0x593198(0x4f8)][_0x593198(0x22d)](exports[_0x593198(0x4c5)],this[_0x593198(0x2cd)],this[_0x593198(0x19e)],_0x1453d7[0x0],_0x219604,this[_0x593198(0x2ff)],void 0x0);}throw _0x1daa05[_0x593198(0x3a8)];}throw _0x4c1818['error'];}catch(_0x3b2514){return this[_0x593198(0x280)]['error'](_0x3b2514),this[_0x593198(0x416)](!0x1);}}[_0x10f867(0x349)](_0x2633e9){var _0xe4265b=_0x10f867;if(this[_0xe4265b(0x2d1)](),this['_checkMissing'](_0x2633e9))return this[_0xe4265b(0x4f8)][_0xe4265b(0x22d)](exports[_0xe4265b(0x201)],this[_0xe4265b(0x2cd)],this[_0xe4265b(0x19e)],null,this[_0xe4265b(0x421)],this[_0xe4265b(0x3b6)],[],this[_0xe4265b(0x2ff)]);this[_0xe4265b(0x2c1)]();const _0x24300c=this[_0xe4265b(0x4f8)][_0xe4265b(0x22d)](exports[_0xe4265b(0x3a1)],this[_0xe4265b(0x2cd)],this['type'],this[_0xe4265b(0x421)],this['_handler']);return _0x24300c[_0xe4265b(0x1c9)](),_0x24300c[_0xe4265b(0x49e)](),_0x24300c;}[_0x10f867(0x3f8)](_0x1f7768){var _0x396d45=_0x10f867;return this['_onConflict'](!!(_0x1f7768!=null&&_0x1f7768[_0x396d45(0x2f5)]));}['onRemoteRetry'](_0xcedf07){var _0x338015=_0x10f867;return this[_0x338015(0x20b)]>ft?this[_0x338015(0x4f1)]():(this[_0x338015(0x3cd)]=St(this[_0x338015(0x454)],{'timeout':this[_0x338015(0x454)],'reqId':_0xcedf07['reqId']}),this[_0x338015(0x415)]=this[_0x338015(0x3cd)][_0x338015(0x34a)](({reqId:_0x2e08a5,timeout:_0x17dfc8})=>{var _0x140d85=_0x338015;this[_0x140d85(0x29c)](_0x2e08a5,_0x17dfc8);}),this);}['toggleOffline'](){var _0x44a33c=_0x10f867;return this[_0x44a33c(0x2d1)](),this[_0x44a33c(0x4f8)][_0x44a33c(0x22d)](exports[_0x44a33c(0x2eb)],this[_0x44a33c(0x2cd)],this[_0x44a33c(0x19e)],this['_awaitingChangeset'],this[_0x44a33c(0x421)],this[_0x44a33c(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}['resend'](){var _0x40f340=_0x10f867;this[_0x40f340(0x2ff)][_0x40f340(0x30f)](this[_0x40f340(0x3b6)]);}[_0x10f867(0x416)](_0x5572c6){var _0x705d49=_0x10f867;return this[_0x705d49(0x2d1)](),this['_injector'][_0x705d49(0x22d)](exports[_0x705d49(0x35f)],this[_0x705d49(0x2cd)],this['type'],null,this[_0x705d49(0x421)],this['_handler'],_0x5572c6);}['_resendWithTimeout'](_0x14bbf8,_0x314578){var _0x167cf6=_0x10f867,_0x258618;_0x14bbf8===((_0x258618=this['_awaitingChangeset'])==null?void 0x0:_0x258618['reqId'])&&(this['resend'](),this[_0x167cf6(0x454)]=_0x314578===0x0?0x3e8:Math[_0x167cf6(0x3df)](_0x314578*0x2,It),this[_0x167cf6(0x20b)]+=this[_0x167cf6(0x454)]);}[_0x10f867(0x2d1)](){var _0x2cd995=_0x10f867,_0xee28e1;(_0xee28e1=this[_0x2cd995(0x415)])==null||_0xee28e1[_0x2cd995(0x46c)](),this[_0x2cd995(0x454)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports['AwaitingWithPendingState']=ae([L(0x6,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x7,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x8,o[_0x10f867(0x374)]),L(0x9,o[_0x10f867(0x4f6)]),L(0xa,E[_0x10f867(0x297)]),L(0xb,o['IUndoRedoService']),L(0xc,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x4c5)]),exports[_0x10f867(0x35f)]=class extends oe{constructor(_0x3f2e91,_0x36989f,_0x868323,_0x4b6672,_0x299480,_0xfcdd5=!0x1,_0x52f619,_0x342dc9,_0x1a2ea5,_0x3d5612,_0xb80cd,_0x1b218a,_0x2eae6f){var _0x52ed48=_0x10f867;super(_0x3f2e91,_0x36989f,_0x868323,_0x4b6672,_0x299480,_0x342dc9,_0x1a2ea5,_0x3d5612,_0x2eae6f),A(this,_0x52ed48(0x224),_0x52ed48(0x4cb)),(this[_0x52ed48(0x270)]=_0xfcdd5,this[_0x52ed48(0x4f0)]=_0x52f619,this['_localeService']=_0xb80cd,this[_0x52ed48(0x336)]=_0x1b218a,this['localCacheService']=_0x2eae6f,this[_0x52ed48(0x2ca)](),this[_0x52ed48(0x4a7)](),this['_disableEditing']());}[_0x10f867(0x1a4)](){return this;}[_0x10f867(0x4c3)](){return this;}[_0x10f867(0x349)](){return this;}[_0x10f867(0x3f8)](){return this;}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){return this;}['toggleOnline'](){return this;}[_0x10f867(0x469)](){var _0x1706d2=_0x10f867;throw new Error(_0x1706d2(0x4de));}['_clearLocalCache'](){var _0x198463=_0x10f867,_0x381776;(_0x381776=this[_0x198463(0x2de)])==null||_0x381776[_0x198463(0x1a8)](this['unitID'],this[_0x198463(0x19e)],null,[]);}[_0x10f867(0x2ca)](){var _0x260388=_0x10f867;this['_isPermissionRej']?this[_0x260388(0x336)][_0x260388(0x3e2)]({'id':J['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x260388(0x3e2)]({'id':J[_0x260388(0x3e6)]});}[_0x10f867(0x223)](){var _0x43d0f4=_0x10f867;this['_permissionService'][_0x43d0f4(0x2fc)](new Q[(_0x43d0f4(0x3c6))](this[_0x43d0f4(0x2cd)])['id'],!0x1);}},exports[_0x10f867(0x35f)]=ae([L(0x6,o['Inject'](o[_0x10f867(0x36a)])),L(0x7,o['ICommandService']),L(0x8,o[_0x10f867(0x4f9)]),L(0x9,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0xa,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),L(0xb,o[_0x10f867(0x225)](ee)),L(0xc,o[_0x10f867(0x244)](q))],exports['ConflictState']),exports[_0x10f867(0x2eb)]=class extends oe{constructor(_0x1145c4,_0x5441a5,_0x10c326,_0x29bb70,_0x118721,_0x357377,_0x29df13,_0x31eb7d,_0x12eaba,_0x45c704){var _0x4f42c4=_0x10f867;super(_0x1145c4,_0x5441a5,_0x10c326,_0x29bb70,_0x118721,_0x31eb7d,_0x12eaba,_0x29df13,_0x45c704),A(this,_0x4f42c4(0x224),_0x4f42c4(0x45e)),this[_0x4f42c4(0x4f8)]=_0x357377;}['appendMutation'](_0x1efec6){var _0x166f08=_0x10f867;return this[_0x166f08(0x421)][_0x166f08(0x24d)](_0x1efec6),this['_updateLocalCache'](),this;}[_0x10f867(0x4c3)](_0x1a970c){var _0x5318cb=_0x10f867;throw new Error(_0x5318cb(0x24c));}[_0x10f867(0x349)](){var _0x4ca91b=_0x10f867;throw new Error(_0x4ca91b(0x251));}[_0x10f867(0x3f8)](){var _0x524323=_0x10f867;throw new Error(_0x524323(0x32d));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){return this;}[_0x10f867(0x4f4)](){var _0x3f43e7=_0x10f867;const {_injector:_0x2d2a4c,_pendingMutations:_0x1186f8,_awaitingChangeset:_0x1b8d65,unitID:_0x2d5ee6,_handler:_0x4a1344,type:_0x5a3ea2}=this,_0x22fad7=Et(_0x2d2a4c,_0x2d5ee6,_0x5a3ea2,_0x1b8d65,_0x1186f8,_0x4a1344);return _0x22fad7 instanceof exports[_0x3f43e7(0x3a1)]?_0x22fad7[_0x3f43e7(0x1c9)]():(_0x22fad7 instanceof exports[_0x3f43e7(0x4c5)]||_0x22fad7 instanceof exports[_0x3f43e7(0x29f)])&&_0x22fad7[_0x3f43e7(0x469)](),_0x22fad7;}[_0x10f867(0x469)](){var _0x1b196f=_0x10f867;throw new Error(_0x1b196f(0x409));}},exports[_0x10f867(0x2eb)]=ae([L(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x6,o[_0x10f867(0x225)](E['RevisionService'])),L(0x7,o[_0x10f867(0x374)]),L(0x8,o[_0x10f867(0x4f9)]),L(0x9,o['Optional'](q))],exports['OfflineState']),exports[_0x10f867(0x201)]=class extends oe{constructor(_0x598812,_0x305c55,_0x3b6e20,_0x186093,_0x43395c,_0x13df7d,_0x2cd2af,_0x3d286d,_0x1d3381,_0x495360,_0x4acbf0,_0x54092f,_0x290bef,_0xd39896){var _0x156acc=_0x10f867;super(_0x598812,_0x305c55,_0x3b6e20,_0x186093,_0x2cd2af,_0x4acbf0,_0x54092f,_0x1d3381,_0xd39896),A(this,_0x156acc(0x224),_0x156acc(0x310)),(this[_0x156acc(0x412)]=_0x43395c,this[_0x156acc(0x1a6)]=_0x13df7d,this['_injector']=_0x3d286d,this[_0x156acc(0x280)]=_0x495360,this[_0x156acc(0x33c)]=_0x290bef,this[_0x156acc(0x426)]=_0xd39896);}[_0x10f867(0x39f)](_0x5c0452){var _0x4fa2e5=_0x10f867;try{const _0x554eb7=[..._0x5c0452,...this[_0x4fa2e5(0x1a6)]],_0x2f2446=[this['_awaitingChangeset']||this[_0x4fa2e5(0x412)]]['filter'](_0x33aa5d=>!!_0x33aa5d);let _0x32f332,_0x5d692b;if(_0x2f2446[_0x4fa2e5(0x371)]){const _0x24052f=this['_transformService'][_0x4fa2e5(0x1de)](_0x554eb7,_0x2f2446,!0x1);if(!E['isTransformChangesetsSuccess'](_0x24052f))throw _0x24052f[_0x4fa2e5(0x3a8)];_0x32f332=_0x24052f[_0x4fa2e5(0x1a3)],_0x5d692b=_0x24052f[_0x4fa2e5(0x47f)];}else _0x32f332=_0x554eb7,_0x5d692b=[];let _0x561185=this[_0x4fa2e5(0x421)];_0x32f332[_0x4fa2e5(0x35b)](_0x5b436f=>{var _0x31a1d2=_0x4fa2e5;let _0x5a94af;if(_0x561185[_0x31a1d2(0x371)]){const _0x2b9534=this['_transformService']['transformMutationsWithChangeset'](_0x5b436f,_0x561185);if(!E[_0x31a1d2(0x25a)](_0x2b9534))throw _0x2b9534[_0x31a1d2(0x3a8)];_0x5a94af=_0x2b9534['c1Prime'],_0x561185=_0x2b9534[_0x31a1d2(0x323)];}else _0x5a94af=_0x5b436f;this['_executeRemoteChangeset'](_0x5a94af);}),this[_0x4fa2e5(0x412)]&&this[_0x4fa2e5(0x2c1)](),this[_0x4fa2e5(0x3b6)]&&_0x5d692b[_0x4fa2e5(0x371)]&&(_0x5d692b[0x0][_0x4fa2e5(0x32b)]=this[_0x4fa2e5(0x1d9)]());let _0x1430e1;if(this[_0x4fa2e5(0x3b6)]&&_0x561185[_0x4fa2e5(0x371)]!==0x0)_0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x4c5)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x5d692b[0x0],_0x561185,this[_0x4fa2e5(0x2ff)],void 0x0);else{if(this[_0x4fa2e5(0x3b6)]&&_0x561185[_0x4fa2e5(0x371)]===0x0)_0x5d692b[0x0][_0x4fa2e5(0x32b)]=this['_getCurrentRevision'](),_0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x29f)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x5d692b[0x0],this[_0x4fa2e5(0x2ff)]);else{if(_0x561185[_0x4fa2e5(0x371)]!==0x0){const _0x5b8c04=this[_0x4fa2e5(0x4f8)]['createInstance'](exports[_0x4fa2e5(0x3a1)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x561185,this[_0x4fa2e5(0x2ff)]);_0x5b8c04['_schedule'](),_0x1430e1=_0x5b8c04;}else _0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x4b4)],this['unitID'],this['type'],this[_0x4fa2e5(0x2ff)]);}}return _0x1430e1[_0x4fa2e5(0x49e)](),_0x1430e1;}catch(_0x35ddce){return this[_0x4fa2e5(0x280)][_0x4fa2e5(0x3a8)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x35ddce),this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports['ConflictState'],this['unitID'],this['type'],this[_0x4fa2e5(0x3b6)],this[_0x4fa2e5(0x421)],this['_handler'],!0x1);}}[_0x10f867(0x469)](){var _0x14255e=_0x10f867;throw new Error(_0x14255e(0x3eb));}['appendMutation'](_0x2733c4){var _0x133b3a=_0x10f867;return this['_pendingMutations'][_0x133b3a(0x24d)](_0x2733c4),this;}[_0x10f867(0x4c3)](_0x264d37){var _0x3d287c=_0x10f867;return this[_0x3d287c(0x1a6)][_0x3d287c(0x24d)](_0x264d37),this;}[_0x10f867(0x349)](_0x53de75){var _0x292876=_0x10f867;if(this[_0x292876(0x3b6)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x292876(0x3b6)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x10f867(0x3f8)](_0x4234ec){var _0x269aff=_0x10f867;return this[_0x269aff(0x416)](!!(_0x4234ec!=null&&_0x4234ec['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){var _0x401415=_0x10f867;return this[_0x401415(0x4f8)][_0x401415(0x22d)](exports[_0x401415(0x2eb)],this[_0x401415(0x2cd)],this[_0x401415(0x19e)],this[_0x401415(0x3b6)],this['_pendingMutations'],this[_0x401415(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x416)](_0xdcede4){var _0x380cd2=_0x10f867;return this['_injector']['createInstance'](exports[_0x380cd2(0x35f)],this[_0x380cd2(0x2cd)],this[_0x380cd2(0x19e)],this[_0x380cd2(0x3b6)],this['_pendingMutations'],this[_0x380cd2(0x2ff)],_0xdcede4);}},exports[_0x10f867(0x201)]=ae([L(0x7,o['Inject'](o[_0x10f867(0x2c4)])),L(0x8,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x9,o[_0x10f867(0x4f6)]),L(0xa,o[_0x10f867(0x374)]),L(0xb,o['IUndoRedoService']),L(0xc,E[_0x10f867(0x297)]),L(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x201)]);function Et(_0x353952,_0x353a29,_0x546907,_0x377538,_0x15b684,_0x2702da){var _0x4dfd0f=_0x10f867;return _0x377538&&_0x15b684[_0x4dfd0f(0x371)]?_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x4c5)],_0x353a29,_0x546907,_0x377538,_0x15b684,_0x2702da,void 0x0):_0x377538?_0x353952['createInstance'](exports['AwaitingState'],_0x353a29,_0x546907,_0x377538,_0x2702da):_0x15b684['length']?_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x3a1)],_0x353a29,_0x546907,_0x15b684,_0x2702da):_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x4b4)],_0x353a29,_0x546907,_0x2702da);}var si=Object[_0x10f867(0x509)],Be=(_0x45bc93,_0x38ae26,_0x2bac05,_0x125592)=>{for(var _0x26e26b=_0x125592>0x1?void 0x0:_0x125592?si(_0x38ae26,_0x2bac05):_0x38ae26,_0xf0406a=_0x45bc93['length']-0x1,_0x3fdd59;_0xf0406a>=0x0;_0xf0406a--)(_0x3fdd59=_0x45bc93[_0xf0406a])&&(_0x26e26b=_0x3fdd59(_0x26e26b)||_0x26e26b);return _0x26e26b;},$=(_0x2ddda4,_0x3c09cf)=>(_0x20d7ae,_0x2e523b)=>_0x3c09cf(_0x20d7ae,_0x2e523b,_0x2ddda4);exports['CollaborationEntity']=class extends o[_0x10f867(0x2d8)]{constructor(_0x2f8cb2,_0x59e89b,_0x1a06d9,_0x2d6043,_0x414eea,_0x23184d,_0x92ded2,_0x40963e,_0x1b5be5,_0x28d081,_0x4155f9,_0x2d58dd,_0x5e179b,_0x229357){var _0x5b408f=_0x10f867;super(),A(this,_0x5b408f(0x4ee),new j[(_0x5b408f(0x1da))](null)),A(this,_0x5b408f(0x198),this[_0x5b408f(0x4ee)][_0x5b408f(0x440)]()),A(this,_0x5b408f(0x45a)),A(this,_0x5b408f(0x253),!0x1),A(this,_0x5b408f(0x2fb),''),A(this,_0x5b408f(0x2e3),0x0),A(this,_0x5b408f(0x40a),this[_0x5b408f(0x198)][_0x5b408f(0x4e4)](j[_0x5b408f(0x25e)](_0x3a6eea=>_0x3a6eea?_0x3a6eea['status']:je[_0x5b408f(0x2ef)]),j[_0x5b408f(0x1f6)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x5b408f(0x2dc),[]),(this['unitID']=_0x2f8cb2,this[_0x5b408f(0x4bc)]=_0x59e89b,this[_0x5b408f(0x316)]=_0x1a06d9,this[_0x5b408f(0x4f8)]=_0x2d6043,this['_compressMutationService']=_0x414eea,this['_localeService']=_0x23184d,this[_0x5b408f(0x380)]=_0x92ded2,this[_0x5b408f(0x45b)]=_0x40963e,this[_0x5b408f(0x497)]=_0x1b5be5,this[_0x5b408f(0x280)]=_0x28d081,this['_commandService']=_0x4155f9,this[_0x5b408f(0x4f0)]=_0x2d58dd,this['_singleActiveUnitService']=_0x5e179b,this['_localCacheService']=_0x229357);}get[_0x10f867(0x1f1)](){var _0x331b2c=_0x10f867;return this[_0x331b2c(0x45a)];}async['init'](){var _0x42ea6d=_0x10f867;if(this[_0x42ea6d(0x1f1)])throw new Error(_0x42ea6d(0x30c));await this['_init']();}[_0x10f867(0x2af)](){var _0x16ca64=_0x10f867;return this[_0x16ca64(0x253)]=!0x0,o[_0x16ca64(0x483)](()=>{var _0x5a592f=_0x16ca64;this[_0x5a592f(0x253)]=!0x1,this[_0x5a592f(0x466)]();});}[_0x10f867(0x180)](_0x37b48a){var _0x120aee=_0x10f867;this[_0x120aee(0x359)](_0x37b48a);}[_0x10f867(0x27c)](_0x5351b0){var _0x530c80=_0x10f867;this[_0x530c80(0x45a)]=_0x5351b0,this['_state$'][_0x530c80(0x19d)](_0x5351b0);}async[_0x10f867(0x358)](){var _0x37dae4=_0x10f867,_0x3cc382;this[_0x37dae4(0x27c)](await this[_0x37dae4(0x26d)]()),this[_0x37dae4(0x492)]&&((_0x3cc382=this[_0x37dae4(0x492)])==null||_0x3cc382['editingUnit'](this['unitID']),this[_0x37dae4(0x241)](this[_0x37dae4(0x492)][_0x37dae4(0x389)](this[_0x37dae4(0x2cd)])[_0x37dae4(0x34a)](_0x22bb94=>{var _0x55bde4=_0x37dae4;this[_0x55bde4(0x280)]['debug'](_0x55bde4(0x3f1),_0x55bde4(0x1ef),_0x22bb94),_0x22bb94===He[_0x55bde4(0x25f)]?(this[_0x55bde4(0x45b)][_0x55bde4(0x3e2)]({'id':J['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x55bde4(0x2fc)](new Q[(_0x55bde4(0x3c6))](this[_0x55bde4(0x2cd)])['id'],!0x1),this[_0x55bde4(0x4f0)][_0x55bde4(0x30d)](!0x1)):(this[_0x55bde4(0x4f0)]['updatePermissionPoint'](new Q['WorkbookEditablePermission'](this[_0x55bde4(0x2cd)])['id'],!0x0),this[_0x55bde4(0x4f0)][_0x55bde4(0x30d)](!0x0));})));let _0x1ce194=!0x1;return this[_0x37dae4(0x241)](this[_0x37dae4(0x4bc)][_0x37dae4(0x191)][_0x37dae4(0x34a)](_0x3b43ca=>{var _0x49887b=_0x37dae4;_0x3b43ca===se[_0x49887b(0x1fb)]?this[_0x49887b(0x431)](_0x1ce194):_0x3b43ca===se[_0x49887b(0x2ef)]&&(_0x1ce194=!0x0,this['_toggleOffline']());})),this[_0x37dae4(0x241)](this[_0x37dae4(0x4bc)][_0x37dae4(0x48b)][_0x37dae4(0x34a)](_0x3bcafe=>{var _0x38872f=_0x37dae4;try{switch(_0x3bcafe[_0x38872f(0x2ad)]){case E[_0x38872f(0x481)][_0x38872f(0x478)]:{this[_0x38872f(0x2fd)](E[_0x38872f(0x331)](_0x3bcafe[_0x38872f(0x46b)]));break;}case E[_0x38872f(0x481)][_0x38872f(0x36b)]:{this[_0x38872f(0x259)](_0x3bcafe[_0x38872f(0x46b)]);break;}case E[_0x38872f(0x481)][_0x38872f(0x3e8)]:{this['_onRemoteRejected']();break;}case E[_0x38872f(0x481)][_0x38872f(0x3b9)]:{this[_0x38872f(0x300)](_0x3bcafe[_0x38872f(0x46b)]);break;}case E['CollaborationEvent'][_0x38872f(0x3d3)]:{this[_0x38872f(0x381)](_0x3bcafe[_0x38872f(0x46b)]['changesets'][_0x38872f(0x25e)](_0x151701=>E['parseProtocolChangeset'](_0x151701)));break;}case E[_0x38872f(0x481)][_0x38872f(0x2fa)]:{this[_0x38872f(0x2c7)]({'isPermissionRej':!0x0});break;}case E['CollaborationEvent'][_0x38872f(0x36d)]:break;}}catch(_0x69a6d8){throw console[_0x38872f(0x3a8)](_0x38872f(0x3d5),_0x69a6d8),_0x69a6d8;}})),this[_0x37dae4(0x45a)];}[_0x10f867(0x1ca)](){var _0x25f56e=_0x10f867;this[_0x25f56e(0x2e0)]=!0x1;}[_0x10f867(0x4c9)](){var _0x2c01ed=_0x10f867;if(this['_transitionLocked'])throw new Error(_0x2c01ed(0x398));this[_0x2c01ed(0x2e0)]=!0x0;}[_0x10f867(0x359)](_0xf01d68){var _0x308e6e=_0x10f867;this['_lockTransition'](),this[_0x308e6e(0x27c)](this['_state'][_0x308e6e(0x1a4)](_0xf01d68)),this['_unlockTransition']();}[_0x10f867(0x2fd)](_0x12b175){var _0x3fbb90=_0x10f867;if(!(_0x12b175[_0x3fbb90(0x357)]<=this[_0x3fbb90(0x380)][_0x3fbb90(0x1b4)](this['unitID']))){if(this[_0x3fbb90(0x253)]){this['_remoteChangesetQueue']['push'](_0x12b175);return;}this[_0x3fbb90(0x2a9)](_0x12b175);}}['_exhaustRemoteChangesetQueue'](){var _0x5ebb8b=_0x10f867;this[_0x5ebb8b(0x2dc)]['forEach'](_0x116ef8=>this[_0x5ebb8b(0x2a9)](_0x116ef8)),this[_0x5ebb8b(0x2dc)]=[];}[_0x10f867(0x2a9)](_0x5f4ac7){var _0x5bc390=_0x10f867;const _0x24f36e=this[_0x5bc390(0x507)][_0x5bc390(0x428)][_0x5bc390(0x2c5)](this[_0x5bc390(0x507)][_0x5bc390(0x428)][_0x5bc390(0x44c)]()[_0x5bc390(0x2df)])(_0x5f4ac7[_0x5bc390(0x44e)],null)||_0x5f4ac7['mutations'],_0x20cc64={..._0x5f4ac7,'mutations':_0x24f36e};this[_0x5bc390(0x4c9)](),this['_updateState'](this['_state'][_0x5bc390(0x4c3)](_0x20cc64)),this[_0x5bc390(0x1ca)]();}['_onRemoteACK'](_0x184900){var _0x11a736=_0x10f867;this[_0x11a736(0x4c9)](),this[_0x11a736(0x27c)](this[_0x11a736(0x45a)]['onRemoteAck'](_0x184900)),this[_0x11a736(0x1ca)]();}[_0x10f867(0x2c7)](_0x2ea69b){var _0x5c7f5a=_0x10f867;this['_lockTransition'](),this[_0x5c7f5a(0x27c)](this['_state'][_0x5c7f5a(0x3f8)](_0x2ea69b)),this[_0x5c7f5a(0x1ca)]();}[_0x10f867(0x300)](_0x3aaa67){var _0x4659e3=_0x10f867;this[_0x4659e3(0x4c9)](),this[_0x4659e3(0x27c)](this[_0x4659e3(0x45a)]['onRemoteRetry'](_0x3aaa67)),this[_0x4659e3(0x1ca)]();}[_0x10f867(0x381)](_0x20fae3){var _0x55ebdd=_0x10f867;if(!(this['_state']instanceof exports[_0x55ebdd(0x201)]))throw new TypeError(_0x55ebdd(0x252));const _0x465754=_0x20fae3['map'](_0x32a127=>{var _0x1b8732=_0x55ebdd;const _0x51d3d9=this[_0x1b8732(0x507)][_0x1b8732(0x428)]['fetchThroughInterceptors'](this[_0x1b8732(0x507)]['interceptor'][_0x1b8732(0x44c)]()[_0x1b8732(0x2df)])(_0x32a127[_0x1b8732(0x44e)],null)||_0x32a127[_0x1b8732(0x44e)];return{..._0x32a127,'mutations':_0x51d3d9};});this['_lockTransition'](),this[_0x55ebdd(0x27c)](this[_0x55ebdd(0x45a)][_0x55ebdd(0x39f)](_0x465754)),this[_0x55ebdd(0x1ca)]();}[_0x10f867(0x42a)](){var _0x3590ee=_0x10f867;this[_0x3590ee(0x4c9)](),this[_0x3590ee(0x27c)](this[_0x3590ee(0x45a)][_0x3590ee(0x4f1)]()),this[_0x3590ee(0x1ca)]();}[_0x10f867(0x431)](_0x469ce2=!0x1){var _0x1efab6=_0x10f867;this[_0x1efab6(0x4c9)](),this['_updateState'](this['_state'][_0x1efab6(0x4f4)]()),this['_unlockTransition']();const _0x29d0c8=this[_0x1efab6(0x45a)];_0x469ce2&&_0x29d0c8 instanceof exports[_0x1efab6(0x4b4)]&&(this[_0x1efab6(0x4c9)](),this[_0x1efab6(0x27c)](_0x29d0c8[_0x1efab6(0x273)]()),this[_0x1efab6(0x1ca)]());}async[_0x10f867(0x26d)](){return new Promise(_0xf06c9d=>{var _0x27d0fd=_0x4aec;this[_0x27d0fd(0x4bc)][_0x27d0fd(0x191)]['pipe'](j[_0x27d0fd(0x257)](0x1))['subscribe'](async _0x9825f7=>{var _0x507d21=_0x27d0fd;_0xf06c9d(await this[_0x507d21(0x406)](_0x9825f7===se['ONLINE']));});});}[_0x10f867(0x190)](){var _0x9584f1=_0x10f867;const _0x2f00cc=this[_0x9584f1(0x2cd)];return{'onStateChange':(_0x23fe47,_0x4bf45a)=>{var _0x267181=_0x9584f1;if(_0x23fe47!==this[_0x267181(0x45a)])throw new Error(_0x267181(0x22e)+_0x23fe47[_0x267181(0x224)]+_0x267181(0x3bc)+_0x4bf45a[_0x267181(0x224)]+_0x267181(0x211)+this['_state']['status']);this['_updateState'](_0x4bf45a);},'onSendChangeset':_0x426e08=>{var _0x221e24=_0x9584f1;_0x426e08[_0x221e24(0x19a)]||(_0x426e08[_0x221e24(0x19a)]=this[_0x221e24(0x2fb)],_0x426e08[_0x221e24(0x30e)]=++this[_0x221e24(0x2e3)]);const _0x479aee={'eventID':E[_0x221e24(0x481)][_0x221e24(0x1c6)],'data':{'unitID':_0x426e08[_0x221e24(0x2cd)],'unitType':this[_0x221e24(0x316)],'changeset':_0x426e08,'memberID':this[_0x221e24(0x4bc)][_0x221e24(0x31f)]()}};this[_0x221e24(0x4bc)][_0x221e24(0x47d)](_0x479aee,this[_0x221e24(0x2cd)]);},'onMissingChangesets':({from:_0x1d726f,to:_0x94d2a0})=>{var _0xa655a5=_0x9584f1;this[_0xa655a5(0x280)][_0xa655a5(0x47e)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1d726f+'\x20to\x20'+_0x94d2a0);const _0x343d05={'eventID':E[_0xa655a5(0x481)][_0xa655a5(0x25d)],'data':{'unitID':_0x2f00cc,'unitType':this[_0xa655a5(0x316)],'from':_0x1d726f,'to':_0x94d2a0}};this[_0xa655a5(0x4bc)][_0xa655a5(0x47d)](_0x343d05,this[_0xa655a5(0x2cd)]);}};}async[_0x10f867(0x406)](_0x50894f){var _0x5a6b37=_0x10f867,_0x3d749f,_0x4ee8df,_0x2ba7a8;const _0x4b84cb=await((_0x3d749f=this[_0x5a6b37(0x2de)])==null?void 0x0:_0x3d749f['loadOfflineData'](this[_0x5a6b37(0x2cd)])),_0x24deab=(_0x4ee8df=_0x4b84cb==null?void 0x0:_0x4b84cb[_0x5a6b37(0x44e)])!=null?_0x4ee8df:[],_0x31b217=(_0x2ba7a8=_0x4b84cb==null?void 0x0:_0x4b84cb['awaitingChangeset'])!=null?_0x2ba7a8:null,_0x4bd2c9=!!(_0x31b217!=null&&_0x31b217[_0x5a6b37(0x19a)])&&!!(_0x31b217!=null&&_0x31b217[_0x5a6b37(0x30e)]);this[_0x5a6b37(0x2fb)]=_0x4bd2c9?_0x31b217['sid']:E[_0x5a6b37(0x2e9)](),this[_0x5a6b37(0x2e3)]=_0x4bd2c9?_0x31b217[_0x5a6b37(0x30e)]:0x0;const _0x87c010=this['unitID'];try{this[_0x5a6b37(0x48a)](_0x31b217,_0x24deab);}catch(_0x3ed0cd){this[_0x5a6b37(0x280)][_0x5a6b37(0x3a8)](_0x3ed0cd);}const _0x82249e=this[_0x5a6b37(0x190)]();if(_0x50894f){const _0xb87a26=Et(this['_injector'],_0x87c010,this['_type'],_0x31b217,_0x24deab,_0x82249e);return _0xb87a26 instanceof exports[_0x5a6b37(0x3a1)]?_0xb87a26[_0x5a6b37(0x1c9)]():(_0xb87a26 instanceof exports['AwaitingWithPendingState']||_0xb87a26 instanceof exports[_0x5a6b37(0x29f)])&&_0xb87a26[_0x5a6b37(0x469)](),_0xb87a26;}return this['_injector']['createInstance'](exports[_0x5a6b37(0x2eb)],_0x87c010,this['_type'],_0x31b217,_0x24deab,_0x82249e);}[_0x10f867(0x48a)](_0x2762a4,_0x3861e9){var _0xe1abab=_0x10f867,_0x3b939d,_0x469e66;const _0x117d23=this[_0xe1abab(0x507)][_0xe1abab(0x428)][_0xe1abab(0x2c5)](this['_compressMutationService']['interceptor'][_0xe1abab(0x44c)]()['COMPRESS_MUTATION_APPLY']);(_0x3b939d=_0x117d23((_0x2762a4==null?void 0x0:_0x2762a4[_0xe1abab(0x44e)])||[],null))==null||_0x3b939d['forEach'](_0x531dda=>this[_0xe1abab(0x2ee)][_0xe1abab(0x238)](_0x531dda['id'],_0x531dda[_0xe1abab(0x32c)])),(_0x469e66=_0x117d23(_0x3861e9||[],null))==null||_0x469e66[_0xe1abab(0x35b)](_0x13c95b=>this['_commandService'][_0xe1abab(0x238)](_0x13c95b['id'],_0x13c95b[_0xe1abab(0x32c)]));}},exports[_0x10f867(0x30b)]=Be([$(0x3,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),$(0x4,o[_0x10f867(0x225)](E[_0x10f867(0x23c)])),$(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),$(0x6,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x10f867(0x470)]),$(0x9,o[_0x10f867(0x4f6)]),$(0xa,o[_0x10f867(0x374)]),$(0xb,o[_0x10f867(0x36a)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x30b)]),exports[_0x10f867(0x22a)]=class extends exports[_0x10f867(0x30b)]{constructor(_0x4039a9,_0x42db52,_0x5a0b25,_0x2187b8,_0x303e57,_0x788d1d,_0x19924a,_0x32533f,_0x5780f8,_0x57a1f9,_0x45bfeb,_0x7cb195,_0x360067,_0x55e0f0){var _0x2a3274=_0x10f867;super(_0x4039a9,_0x5a0b25,_0x42db52,_0x2187b8,_0x303e57,_0x788d1d,_0x19924a,_0x32533f,_0x5780f8,_0x57a1f9,_0x45bfeb,_0x7cb195,_0x360067,_0x55e0f0),A(this,_0x2a3274(0x294),null),(this[_0x2a3274(0x2cd)]=_0x4039a9,this[_0x2a3274(0x19e)]=_0x42db52);}[_0x10f867(0x3c4)](_0x256483){this['_handlerCallback']=_0x256483;}[_0x10f867(0x3dc)](){var _0x4a7bee=_0x10f867;this[_0x4a7bee(0x294)]=null,super['dispose']();}[_0x10f867(0x190)](){var _0x3b079b=_0x10f867;const _0xe3a028=super[_0x3b079b(0x190)]();return _0xe3a028[_0x3b079b(0x184)]=_0x2e36ad=>{var _0x5ab5a3=_0x3b079b,_0x39fb51,_0xf176f2;return(_0xf176f2=(_0x39fb51=this[_0x5ab5a3(0x294)])==null?void 0x0:_0x39fb51[_0x5ab5a3(0x184)])==null?void 0x0:_0xf176f2['call'](_0x39fb51,_0x2e36ad);},_0xe3a028[_0x3b079b(0x205)]=_0x47a31a=>{var _0x5882f0=_0x3b079b,_0xcbd51b,_0x3ecc46;return(_0x3ecc46=(_0xcbd51b=this[_0x5882f0(0x294)])==null?void 0x0:_0xcbd51b['onTransformState'])==null?void 0x0:_0x3ecc46[_0x5882f0(0x411)](_0xcbd51b,_0x47a31a);},_0xe3a028['onTransformSelections']=_0x4489ae=>{var _0xec328e=_0x3b079b,_0x327f93,_0xe74912;return(_0xe74912=(_0x327f93=this[_0xec328e(0x294)])==null?void 0x0:_0x327f93[_0xec328e(0x1c3)])==null?void 0x0:_0xe74912[_0xec328e(0x411)](_0x327f93,_0x4489ae);},_0xe3a028['onSyncEditingCollabCursor']=_0x207d87=>{var _0x58db80=_0x3b079b,_0x1976d9,_0x5acaf0;return(_0x5acaf0=(_0x1976d9=this[_0x58db80(0x294)])==null?void 0x0:_0x1976d9[_0x58db80(0x37c)])==null?void 0x0:_0x5acaf0['call'](_0x1976d9,_0x207d87);},_0xe3a028[_0x3b079b(0x20f)]=_0x5d8305=>{var _0x3ed380=_0x3b079b,_0x508b48,_0x4564c9,_0x4ee819;if(!((_0x508b48=this['_handlerCallback'])!=null&&_0x508b48[_0x3ed380(0x20f)]))throw new Error(_0x3ed380(0x435));return(_0x4ee819=(_0x4564c9=this[_0x3ed380(0x294)])==null?void 0x0:_0x4564c9['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4ee819[_0x3ed380(0x411)](_0x4564c9,_0x5d8305);},_0xe3a028[_0x3b079b(0x451)]=_0x4e03a7=>{var _0x20cedb=_0x3b079b,_0x33f9ca,_0x58ea88,_0x484968;if(!((_0x33f9ca=this[_0x20cedb(0x294)])!=null&&_0x33f9ca['onTransformRemoteChangesetByStateCache']))throw new Error(_0x20cedb(0x4ce));return(_0x484968=(_0x58ea88=this[_0x20cedb(0x294)])==null?void 0x0:_0x58ea88[_0x20cedb(0x451)])==null?void 0x0:_0x484968[_0x20cedb(0x411)](_0x58ea88,_0x4e03a7);},_0xe3a028;}async['_init'](){var _0x54335f=_0x10f867;const _0x1176ef=await super['_init']();return this[_0x54335f(0x241)](this['_commandService'][_0x54335f(0x4c8)]((_0x5a6aaa,_0x4b9117)=>{var _0x4d4dea=_0x54335f;if(_0x5a6aaa[_0x4d4dea(0x19e)]!==o['CommandType']['MUTATION']||_0x4b9117!=null&&_0x4b9117['fromCollab']||_0x4b9117!=null&&_0x4b9117[_0x4d4dea(0x24a)]||_0x5a6aaa['id']===ct[_0x4d4dea(0x31c)]['id'])return;const _0x24e786=_0x5a6aaa[_0x4d4dea(0x32c)];if((_0x24e786==null?void 0x0:_0x24e786[_0x4d4dea(0x1fa)])!==this[_0x4d4dea(0x2cd)])return;const _0x55de6d=_0x5a6aaa,_0x2dac5f=this[_0x4d4dea(0x507)]['interceptor'][_0x4d4dea(0x2c5)](this[_0x4d4dea(0x507)][_0x4d4dea(0x428)][_0x4d4dea(0x44c)]()[_0x4d4dea(0x36e)])([_0x55de6d],this[_0x4d4dea(0x497)])||[_0x55de6d];this[_0x4d4dea(0x359)](_0x2dac5f[0x0]);})),_0x1176ef;}},exports[_0x10f867(0x22a)]=Be([$(0x3,o[_0x10f867(0x225)](o['Injector'])),$(0x4,o[_0x10f867(0x225)](E['CompressMutationService'])),$(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),$(0x6,o['Inject'](E['RevisionService'])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x10f867(0x470)]),$(0x9,o['ILogService']),$(0xa,o[_0x10f867(0x374)]),$(0xb,o['IPermissionService']),$(0xc,o[_0x10f867(0x244)](ve)),$(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x22a)]),exports[_0x10f867(0x20a)]=class extends exports[_0x10f867(0x30b)]{constructor(_0x4431d7,_0x5eca33,_0x2a60b3,_0x454f92,_0x1231af,_0x5c56ed,_0x59d392,_0x34f3e6,_0x29dd06,_0xe2d2b7,_0x122467,_0x290eb2,_0x1d388b,_0x9271ea,_0x5cdfc4){var _0x32a51d=_0x10f867;super(_0x4431d7,_0x2a60b3,_0x5eca33,_0x454f92,_0x1231af,_0x5c56ed,_0x59d392,_0x29dd06,_0xe2d2b7,_0x122467,_0x290eb2,_0x1d388b,_0x9271ea,_0x5cdfc4),this[_0x32a51d(0x2cd)]=_0x4431d7,this['type']=_0x5eca33,this[_0x32a51d(0x26e)]=_0x34f3e6;}[_0x10f867(0x190)](){var _0x5da8ce=_0x10f867;const _0x3d02cb=super['_createHandler']();return _0x3d02cb[_0x5da8ce(0x1c3)]=_0x342aef=>this[_0x5da8ce(0x26e)][_0x5da8ce(0x2a4)](_0x342aef),_0x3d02cb;}async['_init'](){var _0x21f0a2=_0x10f867;const _0x4cf96a=await super[_0x21f0a2(0x358)]();return this[_0x21f0a2(0x241)](this[_0x21f0a2(0x2ee)][_0x21f0a2(0x4c8)]((_0x58b4d9,_0x1fbbc0)=>{var _0x18400e=_0x21f0a2;if(_0x58b4d9['type']!==o[_0x18400e(0x4b6)][_0x18400e(0x4e2)]||_0x1fbbc0!=null&&_0x1fbbc0['fromCollab']||_0x1fbbc0!=null&&_0x1fbbc0[_0x18400e(0x24a)])return;const _0x2fc290=_0x58b4d9[_0x18400e(0x32c)];if((_0x2fc290==null?void 0x0:_0x2fc290[_0x18400e(0x1fa)])!==this[_0x18400e(0x2cd)])return;const _0x2c7972=_0x58b4d9,_0x5688e8=this[_0x18400e(0x507)][_0x18400e(0x428)][_0x18400e(0x2c5)](this[_0x18400e(0x507)][_0x18400e(0x428)][_0x18400e(0x44c)]()[_0x18400e(0x36e)])([_0x2c7972],this['_univerInstanceService'])||[_0x2c7972];this[_0x18400e(0x359)](_0x5688e8[0x0]);})),_0x4cf96a;}},exports[_0x10f867(0x20a)]=Be([$(0x3,o['Inject'](o[_0x10f867(0x2c4)])),$(0x4,o[_0x10f867(0x225)](E[_0x10f867(0x23c)])),$(0x5,o['Inject'](o[_0x10f867(0x1ac)])),$(0x6,o[_0x10f867(0x225)](E['RevisionService'])),$(0x7,o[_0x10f867(0x225)](exports[_0x10f867(0x508)])),$(0x8,o[_0x10f867(0x225)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x10f867(0x4f6)]),$(0xb,o[_0x10f867(0x374)]),$(0xc,o[_0x10f867(0x36a)]),$(0xd,o['Optional'](ve)),$(0xe,o['Optional'](q))],exports[_0x10f867(0x20a)]);const pt=o[_0x10f867(0x480)](_0x10f867(0x430));function mt(_0xe79fc9){var _0x1c2e14=_0x10f867,_0x103b00,_0x316099,_0x402b71,_0x1ab868,_0x596b98;const _0x569ef8=_0xe79fc9['data'],_0x48a7bd=JSON[_0x1c2e14(0x477)](_0x569ef8);switch(_0x48a7bd['cmd']){case W[_0x1c2e14(0x2a0)]:case W[_0x1c2e14(0x229)]:{const _0x37a9f1=_0x48a7bd[_0x1c2e14(0x21d)];return{..._0x48a7bd,'data':_0x37a9f1,'cmd':_0x48a7bd[_0x1c2e14(0x239)]};}case W[_0x1c2e14(0x37b)]:{const _0x3a701c=_0x48a7bd['joinRsp'];return{..._0x48a7bd,'data':_0x3a701c,'cmd':_0x48a7bd['cmd']};}case W[_0x1c2e14(0x38d)]:{const _0x23747c=_0x48a7bd[_0x1c2e14(0x17d)];switch(_0x23747c[_0x1c2e14(0x2ad)]){case E[_0x1c2e14(0x481)][_0x1c2e14(0x2fa)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x103b00=_0x23747c[_0x1c2e14(0x471)])==null?void 0x0:_0x103b00['cs']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x36b)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x316099=_0x23747c[_0x1c2e14(0x4e7)])==null?void 0x0:_0x316099['cs']},'cmd':_0x48a7bd['cmd']};case E['CollaborationEvent'][_0x1c2e14(0x478)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x402b71=_0x23747c['newCsEvent'])==null?void 0x0:_0x402b71['cs']},'cmd':_0x48a7bd['cmd']};case E['CollaborationEvent'][_0x1c2e14(0x3e8)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x1ab868=_0x23747c['csRejEvent'])==null?void 0x0:_0x1ab868['cs']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x3b9)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x596b98=_0x23747c[_0x1c2e14(0x206)])==null?void 0x0:_0x596b98['cs']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x332)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['updateCursorEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x196)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x3ff)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E['CollaborationEvent']['USERS_LEAVE']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['leaveEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x4a0)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['liveShareNewHost']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x1ba)]:case E['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x278)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)]['LIVESHARE_TERMINATE']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['liveShareNewHost']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x304)]:return{..._0x48a7bd,'data':_0x23747c,'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x491)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x1ff)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E['CollaborationEvent'][_0x1c2e14(0x2fe)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x289)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x42d)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x24b)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x36d)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['uniscriptRunEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};default:return _0x48a7bd;}}default:return _0x48a7bd;}}function gt(_0x4b8d91){var _0x5b5d09=_0x10f867;switch(_0x4b8d91[_0x5b5d09(0x239)]){case W[_0x5b5d09(0x2a0)]:case W['HELLO']:return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91[_0x5b5d09(0x31e)]});case W['INGEST']:{let _0x1afd2a;switch(_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x2ad)]){case E['CollaborationEvent'][_0x5b5d09(0x332)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x332)],'updateCursorEvent':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x25b)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x25b)],'leaveEvent':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E['CollaborationEvent']['USERS_ENTER']:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x196)],'joinEvent':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x4a0)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x4a0)],'liveShareNewHost':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x434)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x434)],'liveShareOperation':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x2bb)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x2bb)],'liveShareTerminate':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x41e)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x41e)],'liveShareRequestHost':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x1ba)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x1ba)]};break;}default:_0x1afd2a={'eventID':_0x4b8d91['data'][_0x5b5d09(0x2ad)]};}return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'collaMsg':_0x1afd2a});}case W[_0x5b5d09(0x37b)]:return JSON['stringify']({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'joinReq':_0x4b8d91['data']});case W[_0x5b5d09(0x46e)]:return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'leaveReq':_0x4b8d91['data']});default:throw new Error(_0x5b5d09(0x501));}}var ri=Object[_0x10f867(0x509)],ai=(_0x4b63f4,_0x23a51f,_0x5a3309,_0x5ad216)=>{var _0x242365=_0x10f867;for(var _0x4a77c4=_0x5ad216>0x1?void 0x0:_0x5ad216?ri(_0x23a51f,_0x5a3309):_0x23a51f,_0x2a39bf=_0x4b63f4[_0x242365(0x371)]-0x1,_0x6f43d4;_0x2a39bf>=0x0;_0x2a39bf--)(_0x6f43d4=_0x4b63f4[_0x2a39bf])&&(_0x4a77c4=_0x6f43d4(_0x4a77c4)||_0x4a77c4);return _0x4a77c4;},he=(_0x41ab2a,_0x35f2ab)=>(_0x35dc1c,_0xb7315f)=>_0x35f2ab(_0x35dc1c,_0xb7315f,_0x41ab2a);const Fe=o[_0x10f867(0x480)](_0x10f867(0x4b2));function oi(_0x37aa4c,_0x1c09ad,_0x1ee4de){var _0x43c7f0=_0x10f867;return _0x37aa4c+'/'+_0x1c09ad+_0x43c7f0(0x408)+_0x1ee4de+_0x43c7f0(0x4ba);}exports['CollaborationSocketService']=class extends o[_0x10f867(0x352)]{constructor(_0x10c8db,_0x5ea90b,_0x255421,_0x37df07,_0x3dfe1d){var _0x1a5d29=_0x10f867;super(),this[_0x1a5d29(0x4f8)]=_0x10c8db,this[_0x1a5d29(0x397)]=_0x5ea90b,this['_configService']=_0x255421,this[_0x1a5d29(0x280)]=_0x37df07,this[_0x1a5d29(0x505)]=_0x3dfe1d;}[_0x10f867(0x19b)](_0x1b2bb5){var _0x16961e=_0x10f867;const _0x31a637=this[_0x16961e(0x4f8)][_0x16961e(0x433)](K['ISocketService']);if(!_0x31a637)throw new Error(_0x16961e(0x4d4));const _0x32d965=_0x31a637[_0x16961e(0x50c)](_0x1b2bb5);if(!_0x32d965)throw new Error(_0x16961e(0x1ad));const _0x35d890=new o[(_0x16961e(0x193))](),_0x411350=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965[_0x16961e(0x2ba)][_0x16961e(0x34a)](_0x3a1a26=>_0x411350[_0x16961e(0x19d)](_0x3a1a26))),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x411350['complete']()));const _0x2e4c91=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965['error$'][_0x16961e(0x34a)](_0x5f1e5e=>_0x2e4c91[_0x16961e(0x19d)](_0x5f1e5e))),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x2e4c91[_0x16961e(0x443)]()));const _0x48b9b6=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965['message$'][_0x16961e(0x34a)](_0x1ec54f=>{var _0x1f88ad=_0x16961e;const _0x22565e=mt(_0x1ec54f);_0x48b9b6[_0x1f88ad(0x19d)](_0x22565e);})),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x48b9b6[_0x16961e(0x443)]()));let _0x5768ba;const _0x25d13e=()=>{var _0x3b9e78=_0x16961e;_0x2e4c91[_0x3b9e78(0x19d)](new Event(_0x3b9e78(0x341))),_0x411350[_0x3b9e78(0x19d)](new Event(_0x3b9e78(0x341))),_0x5768ba[_0x3b9e78(0x293)]();};return _0x5768ba={'memberID':'','close$':_0x411350[_0x16961e(0x440)](),'error$':_0x2e4c91[_0x16961e(0x440)](),'open$':_0x32d965[_0x16961e(0x20c)],'message$':_0x48b9b6[_0x16961e(0x440)](),'send':_0x5c06e4=>{var _0x3b5282=_0x16961e;if(_0x5c06e4['cmd']===W[_0x3b5282(0x343)]){if(_0x5c06e4[_0x3b5282(0x46b)]['eventID']===E[_0x3b5282(0x481)][_0x3b5282(0x1c6)]){this[_0x3b5282(0x35e)](_0x5768ba,_0x5c06e4[_0x3b5282(0x46b)])[_0x3b5282(0x3f0)](_0x2336eb=>{var _0x324bfa=_0x3b5282;this[_0x324bfa(0x280)][_0x324bfa(0x3a8)](_0x2336eb),_0x25d13e();});return;}if(_0x5c06e4['data'][_0x3b5282(0x2ad)]===E[_0x3b5282(0x481)][_0x3b5282(0x25d)]){const _0x1e7e9e=_0x5c06e4[_0x3b5282(0x46b)];this[_0x3b5282(0x348)](_0x1e7e9e)[_0x3b5282(0x41c)](_0x287805=>{var _0x2fe8bb=_0x3b5282;_0x48b9b6[_0x2fe8bb(0x19d)]({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x1e7e9e[_0x2fe8bb(0x46b)][_0x2fe8bb(0x2cd)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x2fe8bb(0x3d3)],'data':{'changesets':_0x287805}}});})[_0x3b5282(0x3f0)](_0x4ee491=>{var _0x5cb707=_0x3b5282;this[_0x5cb707(0x280)][_0x5cb707(0x3a8)](_0x4ee491),_0x25d13e();});return;}}_0x32d965[_0x3b5282(0x47d)](gt(_0x5c06e4));},'close':()=>{var _0x296a66=_0x16961e;_0x32d965[_0x296a66(0x293)](),_0x35d890['dispose']();}},_0x5768ba;}async[_0x10f867(0x35e)](_0x2a5f93,_0x2c46d8){var _0x27b9fb=_0x10f867,_0x156109;const {unitType:_0x4c6441,unitID:_0x3689b1,changeset:_0x1615ef}=_0x2c46d8['data'],_0x3fa704={'unitID':_0x3689b1,'memberID':_0x2a5f93[_0x27b9fb(0x1f8)],'type':_0x4c6441,'changeset':E[_0x27b9fb(0x42e)](_0x1615ef)},_0x12aca5=this[_0x27b9fb(0x22b)][_0x27b9fb(0x345)](Y),_0x4737d3=oi((_0x156109=_0x12aca5==null?void 0x0:_0x12aca5['collabSubmitChangesetUrl'])!=null?_0x156109:$t,_0x4c6441,_0x3689b1);try{await this[_0x27b9fb(0x397)]['post'](_0x4737d3,{'body':_0x3fa704});}catch(_0x1bc0b9){throw this['_logService'][_0x27b9fb(0x3a8)](_0x27b9fb(0x3c7),'submit\x20changeset\x20error!'),_0x1bc0b9;}}async[_0x10f867(0x348)](_0x1c4d7c){var _0x1f305c=_0x10f867;const {unitID:_0x1cc4d4,from:_0x3cd978,to:_0x219221,unitType:_0x1d2bb6}=_0x1c4d7c[_0x1f305c(0x46b)];return(await this[_0x1f305c(0x505)][_0x1f305c(0x3f2)]({'metadata':void 0x0},{'unitID':_0x1cc4d4,'type':_0x1d2bb6,'from':_0x3cd978,'to':_0x219221}))['changesets'][_0x1f305c(0x25e)](_0x29a986=>((_0x29a986[_0x1f305c(0x44e)]===null||_0x29a986[_0x1f305c(0x44e)]===void 0x0)&&(_0x29a986[_0x1f305c(0x44e)]=[]),_0x29a986));}},exports[_0x10f867(0x4a3)]=ai([he(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),he(0x1,o[_0x10f867(0x225)](K[_0x10f867(0x328)])),he(0x2,o[_0x10f867(0x405)]),he(0x3,o[_0x10f867(0x4f6)]),he(0x4,E['ISnapshotServerService'])],exports[_0x10f867(0x4a3)]);var ci=Object['getOwnPropertyDescriptor'],_i=(_0x5e6c8e,_0x298354,_0x3218d9,_0x4f6db9)=>{for(var _0x31ad56=_0x4f6db9>0x1?void 0x0:_0x4f6db9?ci(_0x298354,_0x3218d9):_0x298354,_0x14f550=_0x5e6c8e['length']-0x1,_0x2d0797;_0x14f550>=0x0;_0x14f550--)(_0x2d0797=_0x5e6c8e[_0x14f550])&&(_0x31ad56=_0x2d0797(_0x31ad56)||_0x31ad56);return _0x31ad56;},_e=(_0x21b4af,_0x532b70)=>(_0x6fba1,_0x24f92f)=>_0x532b70(_0x6fba1,_0x24f92f,_0x21b4af);exports[_0x10f867(0x1fd)]=class extends o['Disposable']{constructor(_0x375771,_0x16584e,_0x67ae24,_0xa97924,_0x596dc4,_0x19b696){var _0x211105=_0x10f867;super(),A(this,_0x211105(0x4d2),new j[(_0x211105(0x1da))](void 0x0)),A(this,'socket$',this[_0x211105(0x4d2)][_0x211105(0x440)]()),A(this,_0x211105(0x248),null),A(this,_0x211105(0x3ef),new Map()),A(this,_0x211105(0x4f7),new j[(_0x211105(0x1da))](se['IDLE'])),A(this,_0x211105(0x40a),this[_0x211105(0x4f7)][_0x211105(0x440)]()),A(this,_0x211105(0x1e8),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x211105(0x395),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x211105(0x2a2)),(this[_0x211105(0x4f8)]=_0x375771,this['_logService']=_0x16584e,this[_0x211105(0x22b)]=_0x67ae24,this[_0x211105(0x272)]=_0xa97924,this[_0x211105(0x336)]=_0x596dc4,this[_0x211105(0x26f)]=_0x19b696,this[_0x211105(0x32f)]());}get[_0x10f867(0x1d3)](){var _0x59320a=_0x10f867;return this[_0x59320a(0x4d2)][_0x59320a(0x1d8)]();}['_listenToNetworkCondition'](){var _0x5ad1f6=_0x10f867;this[_0x5ad1f6(0x26f)]&&this[_0x5ad1f6(0x241)](this[_0x5ad1f6(0x26f)][_0x5ad1f6(0x2ec)][_0x5ad1f6(0x34a)](_0x26381e=>{var _0x14302e=_0x5ad1f6;_0x26381e&&!this['_socket']&&this[_0x14302e(0x213)](),_0x26381e||this[_0x14302e(0x2a5)]();}));}['dispose'](){var _0x263886=_0x10f867;super[_0x263886(0x3dc)](),this['_clearRetryConnectingTimer'](),this[_0x263886(0x503)](),this[_0x263886(0x18b)](),this[_0x263886(0x3ef)]['forEach'](_0x311dd1=>_0x311dd1[_0x263886(0x3dc)]()),this[_0x263886(0x3ef)][_0x263886(0x2aa)](),this[_0x263886(0x4f7)][_0x263886(0x443)]();}async[_0x10f867(0x4ae)](_0x4dac0f){var _0x248895=_0x10f867;if(this[_0x248895(0x3ef)][_0x248895(0x295)](_0x4dac0f))return this[_0x248895(0x3ef)][_0x248895(0x433)](_0x4dac0f);this[_0x248895(0x269)]();const _0x21b8ed=this[_0x248895(0x4f8)]['createInstance'](exports[_0x248895(0x362)],_0x4dac0f,this[_0x248895(0x4d2)]['asObservable']());return this[_0x248895(0x3ef)]['set'](_0x4dac0f,_0x21b8ed),_0x21b8ed;}[_0x10f867(0x462)](_0x520321){var _0x31ba92=_0x10f867,_0xb6b174;const _0x2ba340=this[_0x31ba92(0x3ef)]['get'](_0x520321);_0x2ba340&&(this[_0x31ba92(0x3ef)][_0x31ba92(0x458)](_0x520321),_0x2ba340[_0x31ba92(0x293)]()),this[_0x31ba92(0x3ef)][_0x31ba92(0x363)]||(_0xb6b174=this[_0x31ba92(0x1d3)])==null||_0xb6b174[_0x31ba92(0x293)]();}[_0x10f867(0x213)](){var _0x30a18d=_0x10f867;this['_retryCount']=0x0,this[_0x30a18d(0x236)](),this[_0x30a18d(0x3d4)]();}[_0x10f867(0x236)](){var _0x424921=_0x10f867;this[_0x424921(0x419)]!=null&&(clearTimeout(this[_0x424921(0x419)]),this[_0x424921(0x419)]=null);}async['_createSocket'](){var _0x1ab258=_0x10f867,_0x163304;const _0x5a3a8f=this[_0x1ab258(0x22b)]['getConfig'](Y),_0x10e731=(_0x163304=_0x5a3a8f==null?void 0x0:_0x5a3a8f['collabWebSocketUrl'])!=null?_0x163304:_t,_0x266be3=await this[_0x1ab258(0x272)][_0x1ab258(0x50c)](_0x10e731);return this[_0x1ab258(0x248)]=_0x266be3,_0x266be3;}async[_0x10f867(0x269)](){var _0x2e1c4a=_0x10f867,_0x52d897,_0x11b367;try{const _0x592361=(_0x11b367=(_0x52d897=this['_socket'])!=null?_0x52d897:this['_candidateSocket'])!=null?_0x11b367:await this[_0x2e1c4a(0x28b)]();if(_0x592361){const _0x540090=_0x592361[_0x2e1c4a(0x47d)];_0x592361[_0x2e1c4a(0x47d)]=_0x16c2d9=>(this[_0x2e1c4a(0x4d7)](),_0x540090[_0x2e1c4a(0x21f)](_0x592361,[_0x16c2d9])),_0x592361[_0x2e1c4a(0x34b)][_0x2e1c4a(0x34a)](_0x857caf=>this['_onMessage'](_0x592361,_0x857caf)),_0x592361[_0x2e1c4a(0x18d)]['pipe'](V[_0x2e1c4a(0x257)](0x1))[_0x2e1c4a(0x34a)](_0x21e34f=>this['_logService'][_0x2e1c4a(0x3a8)](_0x2e1c4a(0x459),_0x21e34f)),_0x592361[_0x2e1c4a(0x20c)]['pipe'](V[_0x2e1c4a(0x257)](0x1))[_0x2e1c4a(0x34a)](()=>{this['_onConnectionOpen'](_0x592361);}),_0x592361[_0x2e1c4a(0x2ba)]['pipe'](V['take'](0x1))[_0x2e1c4a(0x34a)](_0x14c230=>{var _0x5d86e1=_0x2e1c4a;this['_logService'][_0x5d86e1(0x47e)]('[CollaborationSessionService]','socket\x20close',_0x14c230),this[_0x5d86e1(0x27a)]();});}}catch(_0x2af7ef){this[_0x2e1c4a(0x280)][_0x2e1c4a(0x3a8)](_0x2af7ef),this[_0x2e1c4a(0x27a)]();}}[_0x10f867(0x3cb)](_0x3d77f0){var _0x4d0431=_0x10f867;this[_0x4d0431(0x280)]['debug'](_0x4d0431(0x1a7),'socket\x20open.'),_0x3d77f0['send']({'cmd':W[_0x4d0431(0x229)]}),this[_0x4d0431(0x4d7)]();}[_0x10f867(0x2a5)](){var _0x487f78=_0x10f867;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x487f78(0x19d)](se[_0x487f78(0x2ef)]),this[_0x487f78(0x4d2)][_0x487f78(0x19d)](null),this[_0x487f78(0x503)](),this['_clearHeartbeatTimer']();}[_0x10f867(0x27a)](){var _0x4d15e1=_0x10f867,_0x3e2c4c;this[_0x4d15e1(0x2a5)](),this[_0x4d15e1(0x395)]<((_0x3e2c4c=this[_0x4d15e1(0x22b)][_0x4d15e1(0x345)](ut))!=null?_0x3e2c4c:wt)?(this['_collaborationUIEventService']['emitEvent']({'id':J[_0x4d15e1(0x3da)]}),this[_0x4d15e1(0x3d4)]()):this[_0x4d15e1(0x336)][_0x4d15e1(0x3e2)]({'id':J['SOCKET_FAILED']});}[_0x10f867(0x3d4)](){var _0x183cc0=_0x10f867,_0x597777;const _0x4c3652=this[_0x183cc0(0x395)],_0x1045aa=this['_configService'][_0x183cc0(0x345)](Y),_0xeece46=_0x4c3652===0x0?0x0:((_0x597777=_0x1045aa==null?void 0x0:_0x1045aa['retryConnectingInterval'])!=null?_0x597777:Mt)*0x2**_0x4c3652;this['_retryConnectingTimer']=setTimeout(()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0xeece46),this[_0x183cc0(0x395)]+=0x1;}[_0x10f867(0x372)](_0x3a3ae9,_0xdf33d2){var _0x5d3d0e=_0x10f867;const {cmd:_0x27a8e8}=_0xdf33d2;_0x27a8e8===W['HELLO']&&!this[_0x5d3d0e(0x1e8)]&&(_0x3a3ae9[_0x5d3d0e(0x1f8)]=_0xdf33d2[_0x5d3d0e(0x46b)][_0x5d3d0e(0x1f8)],this[_0x5d3d0e(0x4d2)][_0x5d3d0e(0x19d)](_0x3a3ae9),this['_status$'][_0x5d3d0e(0x19d)](se[_0x5d3d0e(0x1fb)]),this[_0x5d3d0e(0x1e8)]=!0x0,this[_0x5d3d0e(0x248)]=null),_0x27a8e8===W[_0x5d3d0e(0x2a0)]&&this[_0x5d3d0e(0x503)](),this[_0x5d3d0e(0x4d7)]();}[_0x10f867(0x4d7)](){var _0x1f828e=_0x10f867,_0x212458;this[_0x1f828e(0x18b)](),this[_0x1f828e(0x1d2)]=setTimeout(()=>this[_0x1f828e(0x453)](),(_0x212458=this[_0x1f828e(0x22b)][_0x1f828e(0x345)](ht))!=null?_0x212458:Lt);}['_sendHeartbeat'](){var _0x16b2b5=_0x10f867;this['_socket'][_0x16b2b5(0x47d)]({'cmd':W[_0x16b2b5(0x2a0)]}),this[_0x16b2b5(0x311)]();}[_0x10f867(0x311)](){var _0x2e4d2a=_0x10f867,_0x2deecc;this[_0x2e4d2a(0x2a2)]=setTimeout(()=>this[_0x2e4d2a(0x27a)](),(_0x2deecc=this['_configService'][_0x2e4d2a(0x345)](ke))!=null?_0x2deecc:lt);}['_clearHeartbeatTimer'](){var _0x64c9bd=_0x10f867;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x64c9bd(0x1d2)]),this[_0x64c9bd(0x1d2)]=null);}[_0x10f867(0x503)](){var _0x58222f=_0x10f867;this[_0x58222f(0x2a2)]!=null&&(clearTimeout(this[_0x58222f(0x2a2)]),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=_i([_e(0x0,o['Inject'](o[_0x10f867(0x2c4)])),_e(0x1,o[_0x10f867(0x4f6)]),_e(0x2,o[_0x10f867(0x405)]),_e(0x3,Fe),_e(0x4,o[_0x10f867(0x225)](ee)),_e(0x5,o[_0x10f867(0x244)](pt))],exports[_0x10f867(0x1fd)]);var hi=Object[_0x10f867(0x509)],li=(_0x5cc563,_0x1408bc,_0x282aa2,_0x3559df)=>{var _0x51b9b9=_0x10f867;for(var _0x41e7bc=_0x3559df>0x1?void 0x0:_0x3559df?hi(_0x1408bc,_0x282aa2):_0x1408bc,_0x4fe542=_0x5cc563[_0x51b9b9(0x371)]-0x1,_0x59f807;_0x4fe542>=0x0;_0x4fe542--)(_0x59f807=_0x5cc563[_0x4fe542])&&(_0x41e7bc=_0x59f807(_0x41e7bc)||_0x41e7bc);return _0x41e7bc;},Se=(_0x1ca275,_0x43ead7)=>(_0x3f43d0,_0x46db86)=>_0x43ead7(_0x3f43d0,_0x46db86,_0x1ca275);exports['CollaborationController']=class extends o['RxDisposable']{constructor(_0x5b1f28,_0x385063,_0x3cb4e3,_0x5b2f95){var _0xbab837=_0x10f867,_0x52d427;super(),A(this,_0xbab837(0x3e3),new Map()),A(this,'_entityInit$',new j[(_0xbab837(0x1d1))]()),A(this,'entityInit$',this[_0xbab837(0x1d7)][_0xbab837(0x440)]()),(this[_0xbab837(0x4f8)]=_0x5b1f28,this[_0xbab837(0x337)]=_0x385063,this[_0xbab837(0x22b)]=_0x3cb4e3,this['_univerInstanceService']=_0x5b2f95,((_0x52d427=this[_0xbab837(0x22b)]['getConfig'](Y))==null?void 0x0:_0x52d427[_0xbab837(0x21b)])!==!0x1&&this[_0xbab837(0x358)]());}[_0x10f867(0x3dc)](){var _0x1750e1=_0x10f867;super['dispose'](),this[_0x1750e1(0x3e3)]['forEach'](_0xa83fe2=>_0xa83fe2[_0x1750e1(0x3dc)]()),this[_0x1750e1(0x3e3)][_0x1750e1(0x2aa)]();}['getCollabEntity'](_0x27937b){var _0x1e0abb=_0x10f867,_0x59c78e;return(_0x59c78e=this['_entities'][_0x1e0abb(0x433)](_0x27937b))!=null?_0x59c78e:null;}[_0x10f867(0x3ce)](_0x16e2d9){var _0x587370=_0x10f867;const _0x2ce772=this[_0x587370(0x277)](_0x16e2d9);return _0x2ce772?j['of'](_0x2ce772):this[_0x587370(0x1d7)]['pipe'](V['filter'](_0x49bb8c=>_0x49bb8c[_0x587370(0x2cd)]===_0x16e2d9));}[_0x10f867(0x3f6)](_0x52bde1){var _0x21aeea=_0x10f867;return j[_0x21aeea(0x3e5)](this[_0x21aeea(0x3ce)](_0x52bde1)[_0x21aeea(0x4e4)](V['map'](()=>{})));}[_0x10f867(0x358)](){var _0xf2905e=_0x10f867;this[_0xf2905e(0x497)][_0xf2905e(0x256)](o[_0xf2905e(0x2a8)][_0xf2905e(0x3bf)])[_0xf2905e(0x4e4)](j['takeUntil'](this[_0xf2905e(0x25c)]),V[_0xf2905e(0x436)](0x10))[_0xf2905e(0x34a)](async _0xd88807=>{var _0x356646=_0xf2905e;const _0x48f608=_0xd88807['getUnitId'](),_0x5c9f20=await this[_0x356646(0x38a)](_0x48f608,X[_0x356646(0x3bf)]);this[_0x356646(0x3e3)][_0x356646(0x186)](_0x48f608,_0x5c9f20);}),this[_0xf2905e(0x497)][_0xf2905e(0x256)](o['UniverInstanceType'][_0xf2905e(0x382)])[_0xf2905e(0x4e4)](j[_0xf2905e(0x45f)](this[_0xf2905e(0x25c)]),V[_0xf2905e(0x436)](0x10))['pipe'](V[_0xf2905e(0x306)](_0x4950c6=>!_0x4950c6[_0xf2905e(0x298)]()[_0xf2905e(0x204)]('__')))[_0xf2905e(0x34a)](async _0x1ab91a=>{var _0x31a7e5=_0xf2905e;const _0x52ff1b=_0x1ab91a[_0x31a7e5(0x298)](),_0x3ad6bb=await this[_0x31a7e5(0x38a)](_0x52ff1b,X[_0x31a7e5(0x382)]);this[_0x31a7e5(0x3e3)][_0x31a7e5(0x186)](_0x52ff1b,_0x3ad6bb);}),j['merge'](this[_0xf2905e(0x497)][_0xf2905e(0x3a4)](o[_0xf2905e(0x2a8)][_0xf2905e(0x3bf)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0xf2905e(0x2a8)]['UNIVER_DOC']))[_0xf2905e(0x4e4)](j[_0xf2905e(0x45f)](this[_0xf2905e(0x25c)]))['subscribe'](_0x2b0dab=>{var _0x2733b4=_0xf2905e;const _0x34b398=_0x2b0dab[_0x2733b4(0x298)](),_0x4682cd=this['_entities'][_0x2733b4(0x433)](_0x34b398);_0x4682cd&&(_0x4682cd[_0x2733b4(0x3dc)](),this[_0x2733b4(0x3e3)][_0x2733b4(0x458)](_0x34b398));});}async[_0x10f867(0x38a)](_0x54074c,_0x586ff8){var _0xc88c0d=_0x10f867;const _0x392e8f=await this[_0xc88c0d(0x337)][_0xc88c0d(0x4ae)](_0x54074c),_0x465eda=this[_0xc88c0d(0x4f8)][_0xc88c0d(0x22d)](this['_getCtorByUniverType'](_0x586ff8),_0x54074c,_0x586ff8,_0x392e8f);return await _0x465eda[_0xc88c0d(0x1e0)](),this[_0xc88c0d(0x1d7)]['next'](_0x465eda),_0x465eda;}[_0x10f867(0x2f9)](_0x3e6836){var _0x311388=_0x10f867;switch(_0x3e6836){case X[_0x311388(0x382)]:return exports[_0x311388(0x22a)];case X[_0x311388(0x3bf)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x311388(0x3c3)+_0x3e6836);}}},exports[_0x10f867(0x4e5)]=li([Se(0x0,o[_0x10f867(0x225)](o['Injector'])),Se(0x1,o[_0x10f867(0x225)](exports[_0x10f867(0x1fd)])),Se(0x2,o[_0x10f867(0x405)]),Se(0x3,o[_0x10f867(0x470)])],exports[_0x10f867(0x4e5)]);var ui=Object[_0x10f867(0x509)],vi=(_0x1ed921,_0x2888ec,_0xbfc6d3,_0x2ac4fa)=>{for(var _0x5ad2c4=_0x2ac4fa>0x1?void 0x0:_0x2ac4fa?ui(_0x2888ec,_0xbfc6d3):_0x2888ec,_0x4dfeb0=_0x1ed921['length']-0x1,_0x88494e;_0x4dfeb0>=0x0;_0x4dfeb0--)(_0x88494e=_0x1ed921[_0x4dfeb0])&&(_0x5ad2c4=_0x88494e(_0x5ad2c4)||_0x5ad2c4);return _0x5ad2c4;},Ye=(_0x56ae7d,_0x2a72ac)=>(_0x5a0a95,_0x49c7a1)=>_0x2a72ac(_0x5a0a95,_0x49c7a1,_0x56ae7d);const di=_0x10f867(0x2d9),Si=_0x10f867(0x495);let xe=class extends o['Disposable']{constructor(_0x24641a,_0x182a66){var _0x49045c=_0x10f867;super(),this[_0x49045c(0x497)]=_0x24641a,this[_0x49045c(0x22b)]=_0x182a66,this[_0x49045c(0x358)]();}['_init'](){var _0x692e39=_0x10f867;this[_0x692e39(0x241)](this['_univerInstanceService'][_0x692e39(0x4a8)][_0x692e39(0x34a)](()=>{var _0x2d30a9=_0x692e39,_0x5edefd;const _0x516bce=this[_0x2d30a9(0x497)][_0x2d30a9(0x407)]();let _0xb0350e=(_0x5edefd=this[_0x2d30a9(0x22b)][_0x2d30a9(0x345)](di))!=null?_0x5edefd:Si;_0x516bce instanceof o[_0x2d30a9(0x2e4)]&&(_0xb0350e=_0x516bce['name']),document[_0x2d30a9(0x3fe)]=_0xb0350e;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x10f867(0x405)])],xe);var Ii=Object[_0x10f867(0x509)],fi=(_0x59f58b,_0x542b7b,_0x224a1b,_0x553be3)=>{var _0x10297e=_0x10f867;for(var _0x408fd4=_0x553be3>0x1?void 0x0:_0x553be3?Ii(_0x542b7b,_0x224a1b):_0x542b7b,_0x4fec5a=_0x59f58b[_0x10297e(0x371)]-0x1,_0xa9cdcc;_0x4fec5a>=0x0;_0x4fec5a--)(_0xa9cdcc=_0x59f58b[_0x4fec5a])&&(_0x408fd4=_0xa9cdcc(_0x408fd4)||_0x408fd4);return _0x408fd4;},Ae=(_0x423a8a,_0x585327)=>(_0x41762d,_0x22c266)=>_0x585327(_0x41762d,_0x22c266,_0x423a8a);let Ne=class{constructor(_0x1236b2,_0x5f52ff,_0x37a7f6){var _0x27fbcb=_0x10f867;this[_0x27fbcb(0x22b)]=_0x1236b2,this[_0x27fbcb(0x397)]=_0x5f52ff,this[_0x27fbcb(0x234)]=_0x37a7f6,this[_0x27fbcb(0x1e0)]();}[_0x10f867(0x1e0)](){var _0x5d841f=_0x10f867;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x518a57,_0x1dd788)=>_0x1dd788(_0x518a57)[_0x5d841f(0x4e4)](j[_0x5d841f(0x3a2)](async _0xd62fa4=>{var _0x4c4329=_0x5d841f;const _0x4aaba1=_0xd62fa4;if(_0x4aaba1[_0x4c4329(0x224)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x4c4329(0x234)]['t'](_0x4c4329(0x2f8)))){const _0x25d45e=window['encodeURIComponent'](window['location'][_0x4c4329(0x301)]);window[_0x4c4329(0x1c8)][_0x4c4329(0x301)]=this['_getLoginPath']()+_0x4c4329(0x1fe)+_0x25d45e;}}return _0x4aaba1;}))});}[_0x10f867(0x463)](){var _0x57962b=_0x10f867,_0x40230d;const _0x476318=this['_configService'][_0x57962b(0x345)](Y);return(_0x40230d=_0x476318==null?void 0x0:_0x476318[_0x57962b(0x261)])!=null?_0x40230d:Ht;}};Ne=fi([Ae(0x0,o[_0x10f867(0x405)]),Ae(0x1,o['Inject'](K[_0x10f867(0x328)])),Ae(0x2,o['Inject'](o[_0x10f867(0x1ac)]))],Ne);var Ei=Object[_0x10f867(0x509)],pi=(_0x571846,_0x3c6198,_0x333246,_0x73a2c8)=>{var _0x16d913=_0x10f867;for(var _0x57bfea=_0x73a2c8>0x1?void 0x0:_0x73a2c8?Ei(_0x3c6198,_0x333246):_0x3c6198,_0x256831=_0x571846[_0x16d913(0x371)]-0x1,_0x1acab2;_0x256831>=0x0;_0x256831--)(_0x1acab2=_0x571846[_0x256831])&&(_0x57bfea=_0x1acab2(_0x57bfea)||_0x57bfea);return _0x57bfea;},Ke=(_0x26b0b6,_0x41d417)=>(_0x5822cf,_0x1ceac7)=>_0x41d417(_0x5822cf,_0x1ceac7,_0x26b0b6);const mi='/universer-api/authz';exports[_0x10f867(0x441)]=class extends o[_0x10f867(0x352)]{constructor(_0x58ca96,_0x45111d){var _0x5a801f=_0x10f867;super(),this[_0x5a801f(0x388)]=_0x58ca96,this[_0x5a801f(0x22b)]=_0x45111d,this[_0x5a801f(0x29e)]();}[_0x10f867(0x29e)](){var _0x65b376=_0x10f867;const _0x433884=this;this['disposeWithMe'](this[_0x65b376(0x388)][_0x65b376(0x35a)]({'priority':0x3e7,'interceptor':K[_0x65b376(0x230)]({'isMatch'(_0x3c4483){var _0x8247d5=_0x65b376,_0x3420a0;if(_0x3c4483[_0x8247d5(0x4b7)]===_0x8247d5(0x2c9)&&((_0x3420a0=_0x3c4483[_0x8247d5(0x2e8)])!=null&&_0x3420a0[_0x8247d5(0x22c)])){const {objectID:_0x185ca3,objectType:_0xcec491}=_0x3c4483[_0x8247d5(0x2e8)][_0x8247d5(0x22c)]||{};if(!_0x185ca3||_0xcec491===void 0x0)return!0x1;const _0x5ef2fa=_0x433884[_0x8247d5(0x42f)]()+'/'+_0xcec491+_0x8247d5(0x365)+_0x185ca3+_0x8247d5(0x4d6);if(_0x3c4483[_0x8247d5(0x40b)]===_0x5ef2fa)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xc4fa3){var _0x40e8c8=_0x65b376,_0x555cee;return(_0x555cee=_0xc4fa3[_0x40e8c8(0x2e8)])==null?void 0x0:_0x555cee[_0x40e8c8(0x22c)];},'mergeParamsToRequest'(_0x41370d,_0x395568){var _0x402401=_0x65b376;const _0x252767=_0x433884['_getAPIPrefixPath']()+_0x402401(0x379),_0xf8338d=_0x41370d[_0x402401(0x364)]((_0x344abb,_0x5d3e33)=>{var _0x4070e9=_0x402401;const {unitID:_0xb91996,objectID:_0x4fe850,objectType:_0x1c26b5,actions:_0x154207}=_0x5d3e33;return _0x344abb[_0xb91996]||(_0x344abb[_0xb91996]={}),_0x344abb[_0xb91996][_0x4fe850]||(_0x344abb[_0xb91996][_0x4fe850]={'objectID':_0x4fe850,'objectType':_0x1c26b5,'actions':[]}),_0x344abb[_0xb91996][_0x4fe850]['actions'][_0x4070e9(0x24d)](..._0x154207),_0x344abb;},{}),_0x3dae97=[];for(const _0x1df2c5 in _0xf8338d)for(const _0x3fd68b in _0xf8338d[_0x1df2c5]){const {actions:_0x5d0eb4,objectType:_0x52c65a}=_0xf8338d[_0x1df2c5][_0x3fd68b],_0x24e361=[...new Set(_0x5d0eb4)];_0x3dae97['push']({'unitID':_0x1df2c5,'objectID':_0x3fd68b,'objectType':_0x52c65a,'actions':_0x24e361});}return new K['HTTPRequest'](_0x402401(0x2c9),_0x252767,{'headers':_0x395568[_0x402401(0x1eb)],'withCredentials':_0x395568[_0x402401(0x452)],'responseType':_0x395568[_0x402401(0x245)],'body':{'requests':_0x3dae97}});}},{'distributeResult'(_0x2a3dff,_0x3ad780){var _0x4585b3=_0x65b376;const {objectActions:_0x12ab49}=_0x2a3dff;return _0x3ad780[_0x4585b3(0x25e)](_0x3483bb=>{var _0x39d2f0=_0x4585b3;const {unitID:_0x276782,objectID:_0x1fa59a,actions:_0x55ba75}=_0x3483bb,_0x3ae231=_0x12ab49[_0x39d2f0(0x2da)](_0x2b95e7=>_0x2b95e7[_0x39d2f0(0x2cd)]===_0x276782&&_0x2b95e7[_0x39d2f0(0x254)]===_0x1fa59a),_0x207e1a=_0x55ba75[_0x39d2f0(0x25e)](_0x197886=>_0x3ae231==null?void 0x0:_0x3ae231['actions'][_0x39d2f0(0x2da)](_0x57c1f7=>_0x57c1f7[_0x39d2f0(0x3ab)]===_0x197886))[_0x39d2f0(0x306)](_0x225894=>!!_0x225894);return{'config':_0x3483bb,'result':{'actions':_0x207e1a,'error':_0x2a3dff[_0x39d2f0(0x3a8)]}};});}})}));}[_0x10f867(0x42f)](){var _0x2ea59b=_0x10f867,_0xf42e67;const _0x2e98fd=this['_configService'][_0x2ea59b(0x345)](Y);return(_0xf42e67=_0x2e98fd==null?void 0x0:_0x2e98fd['authzUrl'])!=null?_0xf42e67:mi;}async[_0x10f867(0x2be)](_0xab5ee1){var _0x362942=_0x10f867;const _0xc61d1d=this[_0x362942(0x42f)]()+'/'+_0xab5ee1[_0x362942(0x47c)]+'/object';return(await this['_HTTPService']['post'](_0xc61d1d,{'body':_0xab5ee1}))[_0x362942(0x22c)][_0x362942(0x254)]||'';}async[_0x10f867(0x18c)](_0x11eb0d){var _0x49947a=_0x10f867;const _0x52a920=this[_0x49947a(0x42f)]()+_0x49947a(0x3e1);return(await this[_0x49947a(0x388)][_0x49947a(0x338)](_0x52a920,{'body':_0x11eb0d}))[_0x49947a(0x22c)][_0x49947a(0x19f)];}async[_0x10f867(0x4e1)](_0x460751){var _0x3ab20a=_0x10f867,_0x5b5ec7,_0x37835b;const _0xf6c728=this[_0x3ab20a(0x42f)]()+'/'+_0x460751[_0x3ab20a(0x47c)]+_0x3ab20a(0x365)+_0x460751[_0x3ab20a(0x254)],_0xb1c65c=await this[_0x3ab20a(0x388)][_0x3ab20a(0x28c)](_0xf6c728,{'body':_0x460751});if(((_0x37835b=(_0x5b5ec7=_0xb1c65c==null?void 0x0:_0xb1c65c[_0x3ab20a(0x22c)])==null?void 0x0:_0x5b5ec7[_0x3ab20a(0x3a8)])==null?void 0x0:_0x37835b['code'])!==0x1)throw new Error(_0x3ab20a(0x402));}async[_0x10f867(0x288)](_0x3f2b04){var _0xd46bba=_0x10f867;const _0x1a229c=this['_getAPIPrefixPath']()+'/'+_0x3f2b04['objectType']+_0xd46bba(0x365)+_0x3f2b04['objectID']+_0xd46bba(0x4d6);return(await this['_HTTPService']['post'](_0x1a229c,{'body':_0x3f2b04}))[_0xd46bba(0x22c)]['actions'];}async[_0x10f867(0x4f5)](_0xa91258){var _0x63681=_0x10f867;const _0x255953=this[_0x63681(0x42f)]()+'/-/object/-/batch_allowed';return(await this[_0x63681(0x388)][_0x63681(0x338)](_0x255953,{'body':{'requests':_0xa91258}}))['body'][_0x63681(0x4fe)];}async[_0x10f867(0x2a7)](_0x188e23){var _0x599152=_0x10f867;const _0x4e7148=this[_0x599152(0x42f)]()+'/'+_0x188e23[_0x599152(0x47c)]+_0x599152(0x2ab),_0x178055=await this[_0x599152(0x388)][_0x599152(0x338)](_0x4e7148,{'body':_0x188e23});return{'roles':_0x178055[_0x599152(0x22c)][_0x599152(0x226)],'actions':_0x178055[_0x599152(0x22c)][_0x599152(0x2b7)]};}async['deleteCollaborator'](_0x5e60c4){var _0x3824a5=_0x10f867;const _0xfd72a9=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3824a5(0x388)][_0x3824a5(0x458)](_0xfd72a9,{'params':{'collaboratorID':_0x5e60c4[_0x3824a5(0x369)],'objectID':_0x5e60c4[_0x3824a5(0x254)],'unitID':_0x5e60c4['unitID']}});}async[_0x10f867(0x1d5)](_0x44a940){var _0x3a8e13=_0x10f867;const _0x2cd876=this[_0x3a8e13(0x42f)]()+_0x3a8e13(0x32a);await this['_HTTPService']['patch'](_0x2cd876,{'body':_0x44a940});}async[_0x10f867(0x195)](_0x43bbd3){var _0x3d20d4=_0x10f867;const _0xab539=this['_getAPIPrefixPath']()+_0x3d20d4(0x32a);await this[_0x3d20d4(0x388)]['post'](_0xab539,{'body':_0x43bbd3});}async['listCollaborators'](_0x518be2){var _0x385193=_0x10f867;const _0x4ed15=this[_0x385193(0x42f)]()+_0x385193(0x32a);return(await this[_0x385193(0x388)][_0x385193(0x433)](_0x4ed15,{'params':{'objectID':_0x518be2[_0x385193(0x254)],'unitID':_0x518be2['unitID']}}))[_0x385193(0x22c)][_0x385193(0x45c)];}async['putCollaborators'](_0x48ded4){var _0x29e2ed=_0x10f867;const _0x1a26f4=this[_0x29e2ed(0x42f)]()+'/collaborator';await this[_0x29e2ed(0x388)]['put'](_0x1a26f4,{'body':_0x48ded4});}},exports['AuthzIoHttpService']=pi([Ke(0x0,o[_0x10f867(0x225)](K['HTTPService'])),Ke(0x1,o[_0x10f867(0x225)](o['IConfigService']))],exports[_0x10f867(0x441)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x1d6c8f){var _0x349372=_0x10f867;return _0x1d6c8f&&_0x1d6c8f[_0x349372(0x39d)]&&Object[_0x349372(0x2d3)][_0x349372(0x4a9)][_0x349372(0x411)](_0x1d6c8f,'default')?_0x1d6c8f[_0x349372(0x39a)]:_0x1d6c8f;}var Ie={'exports':{}};function gi(_0x2c54ad){var _0x1c3e38=_0x10f867;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2c54ad+_0x1c3e38(0x383));}var fe={'exports':{}},Ti=fe[_0x10f867(0x1cd)],qe;function Z(){var _0x4c35a8=_0x10f867;return qe||(qe=0x1,function(_0x1b9957,_0x58aa64){(function(_0x3ad236,_0x240841){var _0x323182=_0x4aec;_0x1b9957[_0x323182(0x1cd)]=_0x240841();}(Ti,function(){var _0x30543e=_0x30543e||function(_0x1b9b63,_0x52ab81){var _0x1c5143=_0x4aec,_0x368db8;if(typeof window<'u'&&window[_0x1c5143(0x2d7)]&&(_0x368db8=window[_0x1c5143(0x2d7)]),typeof self<'u'&&self[_0x1c5143(0x2d7)]&&(_0x368db8=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1c5143(0x2d7)]&&(_0x368db8=globalThis[_0x1c5143(0x2d7)]),!_0x368db8&&typeof window<'u'&&window[_0x1c5143(0x3de)]&&(_0x368db8=window[_0x1c5143(0x3de)]),!_0x368db8&&typeof Pe<'u'&&Pe['crypto']&&(_0x368db8=Pe['crypto']),!_0x368db8&&typeof gi==_0x1c5143(0x4b3))try{_0x368db8=require('crypto');}catch{}var _0x143360=function(){var _0x49ccdd=_0x1c5143;if(_0x368db8){if(typeof _0x368db8[_0x49ccdd(0x1dc)]==_0x49ccdd(0x4b3))try{return _0x368db8[_0x49ccdd(0x1dc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x368db8[_0x49ccdd(0x29a)]==_0x49ccdd(0x4b3))try{return _0x368db8[_0x49ccdd(0x29a)](0x4)[_0x49ccdd(0x410)]();}catch{}}throw new Error(_0x49ccdd(0x40f));},_0x480c1b=Object[_0x1c5143(0x2be)]||(function(){function _0xdb8b8d(){}return function(_0x40dedc){var _0x15bc42=_0x4aec,_0x5eb489;return _0xdb8b8d[_0x15bc42(0x2d3)]=_0x40dedc,_0x5eb489=new _0xdb8b8d(),_0xdb8b8d[_0x15bc42(0x2d3)]=null,_0x5eb489;};}()),_0x16c8a7={},_0x32a18c=_0x16c8a7['lib']={},_0x5314ff=_0x32a18c[_0x1c5143(0x35d)]=(function(){return{'extend':function(_0x449991){var _0xbbc175=_0x4aec,_0x457233=_0x480c1b(this);return _0x449991&&_0x457233[_0xbbc175(0x391)](_0x449991),(!_0x457233[_0xbbc175(0x4a9)](_0xbbc175(0x1e0))||this[_0xbbc175(0x1e0)]===_0x457233[_0xbbc175(0x1e0)])&&(_0x457233[_0xbbc175(0x1e0)]=function(){var _0x57ffd6=_0xbbc175;_0x457233['$super'][_0x57ffd6(0x1e0)][_0x57ffd6(0x21f)](this,arguments);}),_0x457233['init']['prototype']=_0x457233,_0x457233['$super']=this,_0x457233;},'create':function(){var _0x5b9869=_0x4aec,_0x524b41=this[_0x5b9869(0x285)]();return _0x524b41['init'][_0x5b9869(0x21f)](_0x524b41,arguments),_0x524b41;},'init':function(){},'mixIn':function(_0x467fca){var _0x3949d6=_0x4aec;for(var _0xda9bbb in _0x467fca)_0x467fca['hasOwnProperty'](_0xda9bbb)&&(this[_0xda9bbb]=_0x467fca[_0xda9bbb]);_0x467fca[_0x3949d6(0x4a9)](_0x3949d6(0x376))&&(this[_0x3949d6(0x376)]=_0x467fca[_0x3949d6(0x376)]);},'clone':function(){var _0x39eba9=_0x4aec;return this[_0x39eba9(0x1e0)][_0x39eba9(0x2d3)][_0x39eba9(0x285)](this);}};}()),_0x4396e5=_0x32a18c[_0x1c5143(0x4fc)]=_0x5314ff['extend']({'init':function(_0xc772c4,_0x250449){var _0x245f10=_0x1c5143;_0xc772c4=this['words']=_0xc772c4||[],_0x250449!=_0x52ab81?this['sigBytes']=_0x250449:this['sigBytes']=_0xc772c4[_0x245f10(0x371)]*0x4;},'toString':function(_0x2e9a58){return(_0x2e9a58||_0x756b63)['stringify'](this);},'concat':function(_0x224a44){var _0xa75121=_0x1c5143,_0x12bcb1=this[_0xa75121(0x3ea)],_0x1f2432=_0x224a44[_0xa75121(0x3ea)],_0x2caa88=this[_0xa75121(0x4cd)],_0x2fedeb=_0x224a44[_0xa75121(0x4cd)];if(this[_0xa75121(0x1ec)](),_0x2caa88%0x4)for(var _0x49f313=0x0;_0x49f313<_0x2fedeb;_0x49f313++){var _0x39fc65=_0x1f2432[_0x49f313>>>0x2]>>>0x18-_0x49f313%0x4*0x8&0xff;_0x12bcb1[_0x2caa88+_0x49f313>>>0x2]|=_0x39fc65<<0x18-(_0x2caa88+_0x49f313)%0x4*0x8;}else{for(var _0x269014=0x0;_0x269014<_0x2fedeb;_0x269014+=0x4)_0x12bcb1[_0x2caa88+_0x269014>>>0x2]=_0x1f2432[_0x269014>>>0x2];}return this[_0xa75121(0x4cd)]+=_0x2fedeb,this;},'clamp':function(){var _0x100063=_0x1c5143,_0x2b0068=this[_0x100063(0x3ea)],_0x5a17c5=this['sigBytes'];_0x2b0068[_0x5a17c5>>>0x2]&=0xffffffff<<0x20-_0x5a17c5%0x4*0x8,_0x2b0068[_0x100063(0x371)]=_0x1b9b63[_0x100063(0x329)](_0x5a17c5/0x4);},'clone':function(){var _0x2a399a=_0x1c5143,_0x3b7eec=_0x5314ff[_0x2a399a(0x33b)][_0x2a399a(0x411)](this);return _0x3b7eec[_0x2a399a(0x3ea)]=this[_0x2a399a(0x3ea)][_0x2a399a(0x4ab)](0x0),_0x3b7eec;},'random':function(_0x491beb){var _0x537806=_0x1c5143;for(var _0x332b87=[],_0x4d406d=0x0;_0x4d406d<_0x491beb;_0x4d406d+=0x4)_0x332b87[_0x537806(0x24d)](_0x143360());return new _0x4396e5[(_0x537806(0x1e0))](_0x332b87,_0x491beb);}}),_0x200c2f=_0x16c8a7[_0x1c5143(0x216)]={},_0x756b63=_0x200c2f[_0x1c5143(0x4a1)]={'stringify':function(_0xb1fc70){var _0x21a6d8=_0x1c5143;for(var _0x3f76d7=_0xb1fc70[_0x21a6d8(0x3ea)],_0x53dbcb=_0xb1fc70[_0x21a6d8(0x4cd)],_0x3498df=[],_0x283419=0x0;_0x283419<_0x53dbcb;_0x283419++){var _0x134a36=_0x3f76d7[_0x283419>>>0x2]>>>0x18-_0x283419%0x4*0x8&0xff;_0x3498df[_0x21a6d8(0x24d)]((_0x134a36>>>0x4)[_0x21a6d8(0x376)](0x10)),_0x3498df[_0x21a6d8(0x24d)]((_0x134a36&0xf)[_0x21a6d8(0x376)](0x10));}return _0x3498df[_0x21a6d8(0x315)]('');},'parse':function(_0x22708d){var _0x27a737=_0x1c5143;for(var _0x84fe49=_0x22708d['length'],_0x35be00=[],_0x1ed6f8=0x0;_0x1ed6f8<_0x84fe49;_0x1ed6f8+=0x2)_0x35be00[_0x1ed6f8>>>0x3]|=parseInt(_0x22708d['substr'](_0x1ed6f8,0x2),0x10)<<0x18-_0x1ed6f8%0x8*0x4;return new _0x4396e5[(_0x27a737(0x1e0))](_0x35be00,_0x84fe49/0x2);}},_0xe4d444=_0x200c2f['Latin1']={'stringify':function(_0x48b661){var _0x3bc2b4=_0x1c5143;for(var _0xd78868=_0x48b661[_0x3bc2b4(0x3ea)],_0x560645=_0x48b661[_0x3bc2b4(0x4cd)],_0xe9650d=[],_0x55ecfb=0x0;_0x55ecfb<_0x560645;_0x55ecfb++){var _0xcde0b=_0xd78868[_0x55ecfb>>>0x2]>>>0x18-_0x55ecfb%0x4*0x8&0xff;_0xe9650d[_0x3bc2b4(0x24d)](String[_0x3bc2b4(0x34e)](_0xcde0b));}return _0xe9650d[_0x3bc2b4(0x315)]('');},'parse':function(_0x5f3df4){var _0x1d4005=_0x1c5143;for(var _0x132655=_0x5f3df4[_0x1d4005(0x371)],_0xb8e585=[],_0x289199=0x0;_0x289199<_0x132655;_0x289199++)_0xb8e585[_0x289199>>>0x2]|=(_0x5f3df4['charCodeAt'](_0x289199)&0xff)<<0x18-_0x289199%0x4*0x8;return new _0x4396e5['init'](_0xb8e585,_0x132655);}},_0x39f0dc=_0x200c2f['Utf8']={'stringify':function(_0x3ae695){var _0x55084e=_0x1c5143;try{return decodeURIComponent(escape(_0xe4d444[_0x55084e(0x34f)](_0x3ae695)));}catch{throw new Error(_0x55084e(0x340));}},'parse':function(_0x425694){return _0xe4d444['parse'](unescape(encodeURIComponent(_0x425694)));}},_0x3336da=_0x32a18c[_0x1c5143(0x43f)]=_0x5314ff[_0x1c5143(0x285)]({'reset':function(){var _0x4ee760=_0x1c5143;this[_0x4ee760(0x268)]=new _0x4396e5[(_0x4ee760(0x1e0))](),this['_nDataBytes']=0x0;},'_append':function(_0x1f0044){var _0x47802b=_0x1c5143;typeof _0x1f0044==_0x47802b(0x356)&&(_0x1f0044=_0x39f0dc[_0x47802b(0x477)](_0x1f0044)),this['_data'][_0x47802b(0x448)](_0x1f0044),this['_nDataBytes']+=_0x1f0044[_0x47802b(0x4cd)];},'_process':function(_0x41c22e){var _0x16a6aa=_0x1c5143,_0x522238,_0x5148be=this[_0x16a6aa(0x268)],_0xfb5f37=_0x5148be[_0x16a6aa(0x3ea)],_0x524b98=_0x5148be[_0x16a6aa(0x4cd)],_0x54942c=this['blockSize'],_0x1d2cc4=_0x54942c*0x4,_0x2b2125=_0x524b98/_0x1d2cc4;_0x41c22e?_0x2b2125=_0x1b9b63['ceil'](_0x2b2125):_0x2b2125=_0x1b9b63[_0x16a6aa(0x3cf)]((_0x2b2125|0x0)-this[_0x16a6aa(0x3f9)],0x0);var _0x292965=_0x2b2125*_0x54942c,_0x16e560=_0x1b9b63['min'](_0x292965*0x4,_0x524b98);if(_0x292965){for(var _0x364322=0x0;_0x364322<_0x292965;_0x364322+=_0x54942c)this[_0x16a6aa(0x4db)](_0xfb5f37,_0x364322);_0x522238=_0xfb5f37[_0x16a6aa(0x50a)](0x0,_0x292965),_0x5148be[_0x16a6aa(0x4cd)]-=_0x16e560;}return new _0x4396e5['init'](_0x522238,_0x16e560);},'clone':function(){var _0x5b5b62=_0x1c5143,_0x2cd5c5=_0x5314ff['clone'][_0x5b5b62(0x411)](this);return _0x2cd5c5['_data']=this[_0x5b5b62(0x268)]['clone'](),_0x2cd5c5;},'_minBufferSize':0x0});_0x32a18c[_0x1c5143(0x3a7)]=_0x3336da[_0x1c5143(0x285)]({'cfg':_0x5314ff[_0x1c5143(0x285)](),'init':function(_0x37f972){var _0x1a1b3b=_0x1c5143;this[_0x1a1b3b(0x3fa)]=this[_0x1a1b3b(0x3fa)][_0x1a1b3b(0x285)](_0x37f972),this[_0x1a1b3b(0x232)]();},'reset':function(){var _0x367148=_0x1c5143;_0x3336da['reset'][_0x367148(0x411)](this),this['_doReset']();},'update':function(_0x58955d){var _0x52b8a2=_0x1c5143;return this[_0x52b8a2(0x28f)](_0x58955d),this[_0x52b8a2(0x44f)](),this;},'finalize':function(_0x5568a4){var _0xf267c5=_0x1c5143;_0x5568a4&&this[_0xf267c5(0x28f)](_0x5568a4);var _0x5f1686=this[_0xf267c5(0x23e)]();return _0x5f1686;},'blockSize':0x10,'_createHelper':function(_0x4d9b26){return function(_0x409d09,_0xefdbce){var _0x37f54f=_0x4aec;return new _0x4d9b26[(_0x37f54f(0x1e0))](_0xefdbce)[_0x37f54f(0x4ff)](_0x409d09);};},'_createHmacHelper':function(_0x13f2ee){return function(_0x4c72d1,_0x6e2fcf){var _0x396dc7=_0x4aec;return new _0x4d2f0b[(_0x396dc7(0x496))][(_0x396dc7(0x1e0))](_0x13f2ee,_0x6e2fcf)[_0x396dc7(0x4ff)](_0x4c72d1);};}});var _0x4d2f0b=_0x16c8a7[_0x1c5143(0x3db)]={};return _0x16c8a7;}(Math);return _0x30543e;}));}(fe)),fe[_0x4c35a8(0x1cd)];}var Ee={'exports':{}},Ci=Ee['exports'],ze;function Tt(){return ze||(ze=0x1,function(_0x1e8442,_0xea7d86){(function(_0x4e16b7,_0x2f1d70){_0x1e8442['exports']=_0x2f1d70(Z());}(Ci,function(_0x353ff8){var _0x5a419f=_0x4aec;return(function(){var _0xc382e8=_0x4aec,_0x3f261b=_0x353ff8,_0xac19c1=_0x3f261b[_0xc382e8(0x4eb)],_0x5852d1=_0xac19c1[_0xc382e8(0x4fc)],_0x5b49ff=_0x3f261b['enc'];_0x5b49ff[_0xc382e8(0x489)]={'stringify':function(_0x8c72b7){var _0x5098e3=_0xc382e8,_0x1bbf35=_0x8c72b7['words'],_0x3dd509=_0x8c72b7[_0x5098e3(0x4cd)],_0x18f3df=this[_0x5098e3(0x220)];_0x8c72b7['clamp']();for(var _0x2b2335=[],_0x17b2e5=0x0;_0x17b2e5<_0x3dd509;_0x17b2e5+=0x3)for(var _0x3dc42f=_0x1bbf35[_0x17b2e5>>>0x2]>>>0x18-_0x17b2e5%0x4*0x8&0xff,_0x4e8d10=_0x1bbf35[_0x17b2e5+0x1>>>0x2]>>>0x18-(_0x17b2e5+0x1)%0x4*0x8&0xff,_0x463941=_0x1bbf35[_0x17b2e5+0x2>>>0x2]>>>0x18-(_0x17b2e5+0x2)%0x4*0x8&0xff,_0x331e5f=_0x3dc42f<<0x10|_0x4e8d10<<0x8|_0x463941,_0x7fb81d=0x0;_0x7fb81d<0x4&&_0x17b2e5+_0x7fb81d*0.75<_0x3dd509;_0x7fb81d++)_0x2b2335[_0x5098e3(0x24d)](_0x18f3df[_0x5098e3(0x350)](_0x331e5f>>>0x6*(0x3-_0x7fb81d)&0x3f));var _0x2a9b9b=_0x18f3df[_0x5098e3(0x350)](0x40);if(_0x2a9b9b){for(;_0x2b2335[_0x5098e3(0x371)]%0x4;)_0x2b2335['push'](_0x2a9b9b);}return _0x2b2335['join']('');},'parse':function(_0x1bfd63){var _0x5d6e62=_0xc382e8,_0x434443=_0x1bfd63[_0x5d6e62(0x371)],_0x3ff055=this[_0x5d6e62(0x220)],_0x2d3eb6=this['_reverseMap'];if(!_0x2d3eb6){_0x2d3eb6=this[_0x5d6e62(0x1b0)]=[];for(var _0x2e649e=0x0;_0x2e649e<_0x3ff055['length'];_0x2e649e++)_0x2d3eb6[_0x3ff055[_0x5d6e62(0x1f2)](_0x2e649e)]=_0x2e649e;}var _0x3693dd=_0x3ff055[_0x5d6e62(0x350)](0x40);if(_0x3693dd){var _0x1e66e5=_0x1bfd63[_0x5d6e62(0x467)](_0x3693dd);_0x1e66e5!==-0x1&&(_0x434443=_0x1e66e5);}return _0x1613b0(_0x1bfd63,_0x434443,_0x2d3eb6);},'_map':_0xc382e8(0x2d6)};function _0x1613b0(_0x5b68a5,_0x3dc875,_0x4393fc){var _0x715bc8=_0xc382e8;for(var _0x26f1c9=[],_0xe9f502=0x0,_0x4fc08c=0x0;_0x4fc08c<_0x3dc875;_0x4fc08c++)if(_0x4fc08c%0x4){var _0x284a10=_0x4393fc[_0x5b68a5[_0x715bc8(0x1f2)](_0x4fc08c-0x1)]<<_0x4fc08c%0x4*0x2,_0x39e042=_0x4393fc[_0x5b68a5[_0x715bc8(0x1f2)](_0x4fc08c)]>>>0x6-_0x4fc08c%0x4*0x2,_0x184f3e=_0x284a10|_0x39e042;_0x26f1c9[_0xe9f502>>>0x2]|=_0x184f3e<<0x18-_0xe9f502%0x4*0x8,_0xe9f502++;}return _0x5852d1['create'](_0x26f1c9,_0xe9f502);}}()),_0x353ff8[_0x5a419f(0x216)][_0x5a419f(0x489)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Oi=pe['exports'],Xe;function bi(){return Xe||(Xe=0x1,function(_0x5b0abe,_0x1a5af7){(function(_0x459d4d,_0x58d906){_0x5b0abe['exports']=_0x58d906(Z());}(Oi,function(_0x1a4dde){return function(_0xc201e8){var _0x2cb3fc=_0x4aec,_0x33a673=_0x1a4dde,_0x31b203=_0x33a673[_0x2cb3fc(0x4eb)],_0x184ef0=_0x31b203[_0x2cb3fc(0x4fc)],_0x445d38=_0x31b203[_0x2cb3fc(0x3a7)],_0x2fd78f=_0x33a673[_0x2cb3fc(0x3db)],_0x572225=[];(function(){var _0x4f8d80=_0x2cb3fc;for(var _0x561165=0x0;_0x561165<0x40;_0x561165++)_0x572225[_0x561165]=_0xc201e8[_0x4f8d80(0x1e4)](_0xc201e8['sin'](_0x561165+0x1))*0x100000000|0x0;}());var _0xcefe57=_0x2fd78f[_0x2cb3fc(0x2b8)]=_0x445d38['extend']({'_doReset':function(){var _0x54eab4=_0x2cb3fc;this[_0x54eab4(0x2b6)]=new _0x184ef0['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x54557d,_0x47723c){var _0xe113dd=_0x2cb3fc;for(var _0x3adf89=0x0;_0x3adf89<0x10;_0x3adf89++){var _0x3ced32=_0x47723c+_0x3adf89,_0x4e65eb=_0x54557d[_0x3ced32];_0x54557d[_0x3ced32]=(_0x4e65eb<<0x8|_0x4e65eb>>>0x18)&0xff00ff|(_0x4e65eb<<0x18|_0x4e65eb>>>0x8)&0xff00ff00;}var _0x490575=this[_0xe113dd(0x2b6)][_0xe113dd(0x3ea)],_0x1de2a5=_0x54557d[_0x47723c+0x0],_0x36d936=_0x54557d[_0x47723c+0x1],_0x5de48d=_0x54557d[_0x47723c+0x2],_0x331427=_0x54557d[_0x47723c+0x3],_0x18d042=_0x54557d[_0x47723c+0x4],_0x425110=_0x54557d[_0x47723c+0x5],_0xaa59bd=_0x54557d[_0x47723c+0x6],_0xc2972a=_0x54557d[_0x47723c+0x7],_0x12c751=_0x54557d[_0x47723c+0x8],_0x481849=_0x54557d[_0x47723c+0x9],_0x90dc65=_0x54557d[_0x47723c+0xa],_0x4cead6=_0x54557d[_0x47723c+0xb],_0x3d11fb=_0x54557d[_0x47723c+0xc],_0x8ae6b1=_0x54557d[_0x47723c+0xd],_0x5577d0=_0x54557d[_0x47723c+0xe],_0x339bfb=_0x54557d[_0x47723c+0xf],_0x47039a=_0x490575[0x0],_0x1820b5=_0x490575[0x1],_0x4e9cc1=_0x490575[0x2],_0x2ff46b=_0x490575[0x3];_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x1de2a5,0x7,_0x572225[0x0]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x36d936,0xc,_0x572225[0x1]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5de48d,0x11,_0x572225[0x2]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x331427,0x16,_0x572225[0x3]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x18d042,0x7,_0x572225[0x4]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x425110,0xc,_0x572225[0x5]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xaa59bd,0x11,_0x572225[0x6]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0xc2972a,0x16,_0x572225[0x7]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x12c751,0x7,_0x572225[0x8]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x481849,0xc,_0x572225[0x9]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x90dc65,0x11,_0x572225[0xa]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x4cead6,0x16,_0x572225[0xb]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x3d11fb,0x7,_0x572225[0xc]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x8ae6b1,0xc,_0x572225[0xd]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5577d0,0x11,_0x572225[0xe]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x339bfb,0x16,_0x572225[0xf]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x36d936,0x5,_0x572225[0x10]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0xaa59bd,0x9,_0x572225[0x11]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x4cead6,0xe,_0x572225[0x12]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1de2a5,0x14,_0x572225[0x13]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x425110,0x5,_0x572225[0x14]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x90dc65,0x9,_0x572225[0x15]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x339bfb,0xe,_0x572225[0x16]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x18d042,0x14,_0x572225[0x17]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x481849,0x5,_0x572225[0x18]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x5577d0,0x9,_0x572225[0x19]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x331427,0xe,_0x572225[0x1a]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x12c751,0x14,_0x572225[0x1b]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x8ae6b1,0x5,_0x572225[0x1c]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x5de48d,0x9,_0x572225[0x1d]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xc2972a,0xe,_0x572225[0x1e]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x3d11fb,0x14,_0x572225[0x1f]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x425110,0x4,_0x572225[0x20]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x12c751,0xb,_0x572225[0x21]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x4cead6,0x10,_0x572225[0x22]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x5577d0,0x17,_0x572225[0x23]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x36d936,0x4,_0x572225[0x24]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x18d042,0xb,_0x572225[0x25]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xc2972a,0x10,_0x572225[0x26]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x90dc65,0x17,_0x572225[0x27]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x8ae6b1,0x4,_0x572225[0x28]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x1de2a5,0xb,_0x572225[0x29]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x331427,0x10,_0x572225[0x2a]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0xaa59bd,0x17,_0x572225[0x2b]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x481849,0x4,_0x572225[0x2c]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x3d11fb,0xb,_0x572225[0x2d]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x339bfb,0x10,_0x572225[0x2e]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x5de48d,0x17,_0x572225[0x2f]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x1de2a5,0x6,_0x572225[0x30]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0xc2972a,0xa,_0x572225[0x31]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5577d0,0xf,_0x572225[0x32]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x425110,0x15,_0x572225[0x33]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x3d11fb,0x6,_0x572225[0x34]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x331427,0xa,_0x572225[0x35]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x90dc65,0xf,_0x572225[0x36]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x36d936,0x15,_0x572225[0x37]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x12c751,0x6,_0x572225[0x38]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x339bfb,0xa,_0x572225[0x39]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xaa59bd,0xf,_0x572225[0x3a]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x8ae6b1,0x15,_0x572225[0x3b]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x18d042,0x6,_0x572225[0x3c]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x4cead6,0xa,_0x572225[0x3d]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5de48d,0xf,_0x572225[0x3e]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x481849,0x15,_0x572225[0x3f]),_0x490575[0x0]=_0x490575[0x0]+_0x47039a|0x0,_0x490575[0x1]=_0x490575[0x1]+_0x1820b5|0x0,_0x490575[0x2]=_0x490575[0x2]+_0x4e9cc1|0x0,_0x490575[0x3]=_0x490575[0x3]+_0x2ff46b|0x0;},'_doFinalize':function(){var _0x40963d=_0x2cb3fc,_0x2eaa31=this[_0x40963d(0x268)],_0x1f1caf=_0x2eaa31[_0x40963d(0x3ea)],_0x5c68fe=this[_0x40963d(0x377)]*0x8,_0x577858=_0x2eaa31[_0x40963d(0x4cd)]*0x8;_0x1f1caf[_0x577858>>>0x5]|=0x80<<0x18-_0x577858%0x20;var _0x30c3e2=_0xc201e8[_0x40963d(0x28d)](_0x5c68fe/0x100000000),_0x2197cb=_0x5c68fe;_0x1f1caf[(_0x577858+0x40>>>0x9<<0x4)+0xf]=(_0x30c3e2<<0x8|_0x30c3e2>>>0x18)&0xff00ff|(_0x30c3e2<<0x18|_0x30c3e2>>>0x8)&0xff00ff00,_0x1f1caf[(_0x577858+0x40>>>0x9<<0x4)+0xe]=(_0x2197cb<<0x8|_0x2197cb>>>0x18)&0xff00ff|(_0x2197cb<<0x18|_0x2197cb>>>0x8)&0xff00ff00,_0x2eaa31['sigBytes']=(_0x1f1caf[_0x40963d(0x371)]+0x1)*0x4,this[_0x40963d(0x44f)]();for(var _0x326c75=this[_0x40963d(0x2b6)],_0x347581=_0x326c75['words'],_0x57e17b=0x0;_0x57e17b<0x4;_0x57e17b++){var _0x53c303=_0x347581[_0x57e17b];_0x347581[_0x57e17b]=(_0x53c303<<0x8|_0x53c303>>>0x18)&0xff00ff|(_0x53c303<<0x18|_0x53c303>>>0x8)&0xff00ff00;}return _0x326c75;},'clone':function(){var _0x53c011=_0x2cb3fc,_0x51277c=_0x445d38['clone'][_0x53c011(0x411)](this);return _0x51277c['_hash']=this[_0x53c011(0x2b6)]['clone'](),_0x51277c;}});function _0xe5311c(_0x30dffb,_0x4b997f,_0x14eab6,_0x30c20c,_0x4e340d,_0x5cb663,_0x6a4cd5){var _0x396cbb=_0x30dffb+(_0x4b997f&_0x14eab6|~_0x4b997f&_0x30c20c)+_0x4e340d+_0x6a4cd5;return(_0x396cbb<<_0x5cb663|_0x396cbb>>>0x20-_0x5cb663)+_0x4b997f;}function _0x7eb791(_0x2e5cad,_0x15af49,_0x223658,_0x61884c,_0x1967c5,_0x246955,_0x1e574d){var _0xf923ed=_0x2e5cad+(_0x15af49&_0x61884c|_0x223658&~_0x61884c)+_0x1967c5+_0x1e574d;return(_0xf923ed<<_0x246955|_0xf923ed>>>0x20-_0x246955)+_0x15af49;}function _0x909f29(_0x3922f7,_0x202eda,_0x584230,_0x3ef860,_0x32ee47,_0x512735,_0xcd4226){var _0x46a6bb=_0x3922f7+(_0x202eda^_0x584230^_0x3ef860)+_0x32ee47+_0xcd4226;return(_0x46a6bb<<_0x512735|_0x46a6bb>>>0x20-_0x512735)+_0x202eda;}function _0x3384b7(_0xa7839e,_0x34b68d,_0x36be6d,_0x387d68,_0x29947c,_0x5d69a9,_0x24f4c5){var _0x368859=_0xa7839e+(_0x36be6d^(_0x34b68d|~_0x387d68))+_0x29947c+_0x24f4c5;return(_0x368859<<_0x5d69a9|_0x368859>>>0x20-_0x5d69a9)+_0x34b68d;}_0x33a673[_0x2cb3fc(0x2b8)]=_0x445d38[_0x2cb3fc(0x283)](_0xcefe57),_0x33a673['HmacMD5']=_0x445d38[_0x2cb3fc(0x1bd)](_0xcefe57);}(Math),_0x1a4dde['MD5'];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x10f867(0x1cd)],Je;function Ni(){return Je||(Je=0x1,function(_0x383090,_0x3a0dfe){(function(_0x415b30,_0x16d673){_0x383090['exports']=_0x16d673(Z());}(Ri,function(_0x2f87c2){return(function(){var _0x15cded=_0x4aec,_0x4af5b7=_0x2f87c2,_0x18f464=_0x4af5b7[_0x15cded(0x4eb)],_0x15300b=_0x18f464[_0x15cded(0x4fc)],_0x2b5909=_0x18f464[_0x15cded(0x3a7)],_0x3d0743=_0x4af5b7[_0x15cded(0x3db)],_0x5c0369=[],_0x1bfff8=_0x3d0743[_0x15cded(0x1b7)]=_0x2b5909[_0x15cded(0x285)]({'_doReset':function(){this['_hash']=new _0x15300b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xe3a632,_0x580b0e){var _0x157fe8=_0x15cded;for(var _0x28cb11=this[_0x157fe8(0x2b6)][_0x157fe8(0x3ea)],_0x2505fa=_0x28cb11[0x0],_0xe1d6fd=_0x28cb11[0x1],_0xd98506=_0x28cb11[0x2],_0x1fd9aa=_0x28cb11[0x3],_0x555c22=_0x28cb11[0x4],_0x2040b2=0x0;_0x2040b2<0x50;_0x2040b2++){if(_0x2040b2<0x10)_0x5c0369[_0x2040b2]=_0xe3a632[_0x580b0e+_0x2040b2]|0x0;else{var _0x2886f5=_0x5c0369[_0x2040b2-0x3]^_0x5c0369[_0x2040b2-0x8]^_0x5c0369[_0x2040b2-0xe]^_0x5c0369[_0x2040b2-0x10];_0x5c0369[_0x2040b2]=_0x2886f5<<0x1|_0x2886f5>>>0x1f;}var _0x488ea9=(_0x2505fa<<0x5|_0x2505fa>>>0x1b)+_0x555c22+_0x5c0369[_0x2040b2];_0x2040b2<0x14?_0x488ea9+=(_0xe1d6fd&_0xd98506|~_0xe1d6fd&_0x1fd9aa)+0x5a827999:_0x2040b2<0x28?_0x488ea9+=(_0xe1d6fd^_0xd98506^_0x1fd9aa)+0x6ed9eba1:_0x2040b2<0x3c?_0x488ea9+=(_0xe1d6fd&_0xd98506|_0xe1d6fd&_0x1fd9aa|_0xd98506&_0x1fd9aa)-0x70e44324:_0x488ea9+=(_0xe1d6fd^_0xd98506^_0x1fd9aa)-0x359d3e2a,_0x555c22=_0x1fd9aa,_0x1fd9aa=_0xd98506,_0xd98506=_0xe1d6fd<<0x1e|_0xe1d6fd>>>0x2,_0xe1d6fd=_0x2505fa,_0x2505fa=_0x488ea9;}_0x28cb11[0x0]=_0x28cb11[0x0]+_0x2505fa|0x0,_0x28cb11[0x1]=_0x28cb11[0x1]+_0xe1d6fd|0x0,_0x28cb11[0x2]=_0x28cb11[0x2]+_0xd98506|0x0,_0x28cb11[0x3]=_0x28cb11[0x3]+_0x1fd9aa|0x0,_0x28cb11[0x4]=_0x28cb11[0x4]+_0x555c22|0x0;},'_doFinalize':function(){var _0x45258b=_0x15cded,_0x7c8cdc=this['_data'],_0xe1fb1a=_0x7c8cdc[_0x45258b(0x3ea)],_0x3567c2=this[_0x45258b(0x377)]*0x8,_0x14d512=_0x7c8cdc[_0x45258b(0x4cd)]*0x8;return _0xe1fb1a[_0x14d512>>>0x5]|=0x80<<0x18-_0x14d512%0x20,_0xe1fb1a[(_0x14d512+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3567c2/0x100000000),_0xe1fb1a[(_0x14d512+0x40>>>0x9<<0x4)+0xf]=_0x3567c2,_0x7c8cdc[_0x45258b(0x4cd)]=_0xe1fb1a['length']*0x4,this[_0x45258b(0x44f)](),this['_hash'];},'clone':function(){var _0x16bb5c=_0x15cded,_0x26f4c4=_0x2b5909[_0x16bb5c(0x33b)][_0x16bb5c(0x411)](this);return _0x26f4c4[_0x16bb5c(0x2b6)]=this[_0x16bb5c(0x2b6)][_0x16bb5c(0x33b)](),_0x26f4c4;}});_0x4af5b7[_0x15cded(0x1b7)]=_0x2b5909['_createHelper'](_0x1bfff8),_0x4af5b7[_0x15cded(0x3b2)]=_0x2b5909[_0x15cded(0x1bd)](_0x1bfff8);}()),_0x2f87c2['SHA1'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te['exports'],Ze;function yi(){var _0x1ae132=_0x10f867;return Ze||(Ze=0x1,function(_0x1c3b9b,_0x241753){(function(_0x67697,_0x37ead2){_0x1c3b9b['exports']=_0x37ead2(Z());}(Di,function(_0x5e26ba){(function(){var _0x3196da=_0x4aec,_0x1cc2f3=_0x5e26ba,_0x1d40b5=_0x1cc2f3[_0x3196da(0x4eb)],_0x17cbd7=_0x1d40b5[_0x3196da(0x35d)],_0x2002c7=_0x1cc2f3[_0x3196da(0x216)],_0x422857=_0x2002c7['Utf8'],_0x5c5113=_0x1cc2f3[_0x3196da(0x3db)];_0x5c5113['HMAC']=_0x17cbd7[_0x3196da(0x285)]({'init':function(_0x10dd7b,_0xb333b4){var _0x11f1c3=_0x3196da;_0x10dd7b=this[_0x11f1c3(0x28e)]=new _0x10dd7b[(_0x11f1c3(0x1e0))](),typeof _0xb333b4==_0x11f1c3(0x356)&&(_0xb333b4=_0x422857[_0x11f1c3(0x477)](_0xb333b4));var _0x29ef82=_0x10dd7b['blockSize'],_0x330371=_0x29ef82*0x4;_0xb333b4[_0x11f1c3(0x4cd)]>_0x330371&&(_0xb333b4=_0x10dd7b[_0x11f1c3(0x4ff)](_0xb333b4)),_0xb333b4[_0x11f1c3(0x1ec)]();for(var _0x26a0fb=this['_oKey']=_0xb333b4[_0x11f1c3(0x33b)](),_0x55ed91=this[_0x11f1c3(0x1c4)]=_0xb333b4[_0x11f1c3(0x33b)](),_0x18afeb=_0x26a0fb[_0x11f1c3(0x3ea)],_0x21fe56=_0x55ed91['words'],_0x4084f8=0x0;_0x4084f8<_0x29ef82;_0x4084f8++)_0x18afeb[_0x4084f8]^=0x5c5c5c5c,_0x21fe56[_0x4084f8]^=0x36363636;_0x26a0fb[_0x11f1c3(0x4cd)]=_0x55ed91[_0x11f1c3(0x4cd)]=_0x330371,this[_0x11f1c3(0x232)]();},'reset':function(){var _0x5986a7=_0x3196da,_0x3f1011=this[_0x5986a7(0x28e)];_0x3f1011[_0x5986a7(0x232)](),_0x3f1011[_0x5986a7(0x4e1)](this['_iKey']);},'update':function(_0x30a34b){var _0x1514dc=_0x3196da;return this[_0x1514dc(0x28e)][_0x1514dc(0x4e1)](_0x30a34b),this;},'finalize':function(_0x2aa87e){var _0x297159=_0x3196da,_0x34e6d4=this['_hasher'],_0x2593d9=_0x34e6d4[_0x297159(0x4ff)](_0x2aa87e);_0x34e6d4[_0x297159(0x232)]();var _0x333723=_0x34e6d4['finalize'](this['_oKey'][_0x297159(0x33b)]()[_0x297159(0x448)](_0x2593d9));return _0x333723;}});}());}));}(Te)),Te[_0x1ae132(0x1cd)];}var Ui=me[_0x10f867(0x1cd)],Qe;function Ct(){var _0x3cbb32=_0x10f867;return Qe||(Qe=0x1,function(_0x1fe651,_0x5e485c){(function(_0x164eb2,_0x5ee3bf,_0x3a4815){var _0x267dc7=_0x4aec;_0x1fe651[_0x267dc7(0x1cd)]=_0x5ee3bf(Z(),Ni(),yi());}(Ui,function(_0xdbb29c){var _0x223ecc=_0x4aec;return(function(){var _0x202590=_0x4aec,_0x27b662=_0xdbb29c,_0x12641b=_0x27b662['lib'],_0x37acc4=_0x12641b[_0x202590(0x35d)],_0x2c35c6=_0x12641b[_0x202590(0x4fc)],_0x183d1a=_0x27b662[_0x202590(0x3db)],_0x4e3413=_0x183d1a[_0x202590(0x2b8)],_0x4eb62e=_0x183d1a[_0x202590(0x2c0)]=_0x37acc4[_0x202590(0x285)]({'cfg':_0x37acc4['extend']({'keySize':0x80/0x20,'hasher':_0x4e3413,'iterations':0x1}),'init':function(_0x342f50){var _0x3486fe=_0x202590;this[_0x3486fe(0x3fa)]=this[_0x3486fe(0x3fa)][_0x3486fe(0x285)](_0x342f50);},'compute':function(_0x355855,_0x1d29ed){var _0xdf6eaf=_0x202590;for(var _0x5b9745,_0x282e60=this[_0xdf6eaf(0x3fa)],_0x187773=_0x282e60[_0xdf6eaf(0x335)][_0xdf6eaf(0x2be)](),_0x519341=_0x2c35c6['create'](),_0x465249=_0x519341[_0xdf6eaf(0x3ea)],_0x1dff24=_0x282e60[_0xdf6eaf(0x3d9)],_0x533b38=_0x282e60['iterations'];_0x465249[_0xdf6eaf(0x371)]<_0x1dff24;){_0x5b9745&&_0x187773[_0xdf6eaf(0x4e1)](_0x5b9745),_0x5b9745=_0x187773['update'](_0x355855)[_0xdf6eaf(0x4ff)](_0x1d29ed),_0x187773[_0xdf6eaf(0x232)]();for(var _0x178409=0x1;_0x178409<_0x533b38;_0x178409++)_0x5b9745=_0x187773[_0xdf6eaf(0x4ff)](_0x5b9745),_0x187773[_0xdf6eaf(0x232)]();_0x519341[_0xdf6eaf(0x448)](_0x5b9745);}return _0x519341[_0xdf6eaf(0x4cd)]=_0x1dff24*0x4,_0x519341;}});_0x27b662[_0x202590(0x2c0)]=function(_0x2ab64f,_0x1e1cca,_0x3ecd50){var _0x485e37=_0x202590;return _0x4eb62e['create'](_0x3ecd50)[_0x485e37(0x366)](_0x2ab64f,_0x1e1cca);};}()),_0xdbb29c[_0x223ecc(0x2c0)];}));}(me)),me[_0x3cbb32(0x1cd)];}var Ce={'exports':{}},Ai=Ce['exports'],et;function Ot(){var _0x87f755=_0x10f867;return et||(et=0x1,function(_0x497544,_0x1f8693){(function(_0x4f12b3,_0x333dc3,_0x2cb507){var _0x2d5104=_0x4aec;_0x497544[_0x2d5104(0x1cd)]=_0x333dc3(Z(),Ct());}(Ai,function(_0x520f5e){var _0x23b6b3=_0x4aec;_0x520f5e[_0x23b6b3(0x4eb)][_0x23b6b3(0x4d0)]||function(_0x576133){var _0x518991=_0x23b6b3,_0x290048=_0x520f5e,_0x528eac=_0x290048[_0x518991(0x4eb)],_0x2647d0=_0x528eac['Base'],_0x4ffd36=_0x528eac['WordArray'],_0x1fe0f3=_0x528eac['BufferedBlockAlgorithm'],_0x505073=_0x290048[_0x518991(0x216)];_0x505073[_0x518991(0x4ef)];var _0x460307=_0x505073[_0x518991(0x489)],_0x1c2cda=_0x290048[_0x518991(0x3db)],_0xc720a5=_0x1c2cda[_0x518991(0x2c0)],_0x577e69=_0x528eac[_0x518991(0x4d0)]=_0x1fe0f3[_0x518991(0x285)]({'cfg':_0x2647d0[_0x518991(0x285)](),'createEncryptor':function(_0x5a615f,_0x28de6c){var _0x5761fe=_0x518991;return this[_0x5761fe(0x2be)](this[_0x5761fe(0x46f)],_0x5a615f,_0x28de6c);},'createDecryptor':function(_0x254826,_0x4861d9){var _0xf51f8b=_0x518991;return this[_0xf51f8b(0x2be)](this['_DEC_XFORM_MODE'],_0x254826,_0x4861d9);},'init':function(_0x9d96ea,_0x307525,_0x3f9280){var _0x5d3e0c=_0x518991;this[_0x5d3e0c(0x3fa)]=this['cfg']['extend'](_0x3f9280),this['_xformMode']=_0x9d96ea,this[_0x5d3e0c(0x41d)]=_0x307525,this[_0x5d3e0c(0x232)]();},'reset':function(){var _0x5ead81=_0x518991;_0x1fe0f3[_0x5ead81(0x232)][_0x5ead81(0x411)](this),this[_0x5ead81(0x387)]();},'process':function(_0x2a2ccd){var _0x3c92d7=_0x518991;return this[_0x3c92d7(0x28f)](_0x2a2ccd),this[_0x3c92d7(0x44f)]();},'finalize':function(_0x86cf02){var _0x2d0750=_0x518991;_0x86cf02&&this['_append'](_0x86cf02);var _0x1864b7=this[_0x2d0750(0x23e)]();return _0x1864b7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x13fa73(_0x5bf0a4){var _0x516028=_0x4aec;return typeof _0x5bf0a4==_0x516028(0x356)?_0x2b579f:_0x258f76;}return function(_0x3592d){return{'encrypt':function(_0xdd794b,_0x2998a7,_0x433715){return _0x13fa73(_0x2998a7)['encrypt'](_0x3592d,_0xdd794b,_0x2998a7,_0x433715);},'decrypt':function(_0x2817a,_0x232702,_0x23fcdf){var _0xa17468=_0x4aec;return _0x13fa73(_0x232702)[_0xa17468(0x31b)](_0x3592d,_0x2817a,_0x232702,_0x23fcdf);}};};}())});_0x528eac[_0x518991(0x473)]=_0x577e69['extend']({'_doFinalize':function(){var _0x2b2b9e=_0x518991,_0x88a88e=this[_0x2b2b9e(0x44f)](!0x0);return _0x88a88e;},'blockSize':0x1});var _0x2b1076=_0x290048[_0x518991(0x353)]={},_0x354839=_0x528eac[_0x518991(0x258)]=_0x2647d0[_0x518991(0x285)]({'createEncryptor':function(_0xbf924d,_0x429468){var _0xafa8f7=_0x518991;return this['Encryptor'][_0xafa8f7(0x2be)](_0xbf924d,_0x429468);},'createDecryptor':function(_0x47fdfa,_0x37e425){var _0x1a1103=_0x518991;return this['Decryptor'][_0x1a1103(0x2be)](_0x47fdfa,_0x37e425);},'init':function(_0xc3b7fa,_0x1d333e){var _0x3ea5f7=_0x518991;this['_cipher']=_0xc3b7fa,this[_0x3ea5f7(0x414)]=_0x1d333e;}}),_0x5e0ff8=_0x2b1076['CBC']=(function(){var _0x28d88a=_0x518991,_0x337fa0=_0x354839['extend']();_0x337fa0[_0x28d88a(0x3ad)]=_0x337fa0[_0x28d88a(0x285)]({'processBlock':function(_0x594077,_0x15c278){var _0x514ee2=_0x28d88a,_0x560723=this['_cipher'],_0x32f2ea=_0x560723[_0x514ee2(0x457)];_0xcadbb1[_0x514ee2(0x411)](this,_0x594077,_0x15c278,_0x32f2ea),_0x560723[_0x514ee2(0x2d5)](_0x594077,_0x15c278),this['_prevBlock']=_0x594077[_0x514ee2(0x4ab)](_0x15c278,_0x15c278+_0x32f2ea);}}),_0x337fa0[_0x28d88a(0x1be)]=_0x337fa0[_0x28d88a(0x285)]({'processBlock':function(_0xcce66e,_0x5dbc6e){var _0x150679=_0x28d88a,_0x2bfd42=this[_0x150679(0x3a3)],_0x54ea0c=_0x2bfd42[_0x150679(0x457)],_0x180377=_0xcce66e[_0x150679(0x4ab)](_0x5dbc6e,_0x5dbc6e+_0x54ea0c);_0x2bfd42[_0x150679(0x3d0)](_0xcce66e,_0x5dbc6e),_0xcadbb1[_0x150679(0x411)](this,_0xcce66e,_0x5dbc6e,_0x54ea0c),this['_prevBlock']=_0x180377;}});function _0xcadbb1(_0xdedbe6,_0x43286b,_0x50e7b5){var _0x3655a0=_0x28d88a,_0x5a20f3,_0x365554=this['_iv'];_0x365554?(_0x5a20f3=_0x365554,this[_0x3655a0(0x414)]=_0x576133):_0x5a20f3=this['_prevBlock'];for(var _0x1b562b=0x0;_0x1b562b<_0x50e7b5;_0x1b562b++)_0xdedbe6[_0x43286b+_0x1b562b]^=_0x5a20f3[_0x1b562b];}return _0x337fa0;}()),_0x400a88=_0x290048[_0x518991(0x27e)]={},_0x369aff=_0x400a88[_0x518991(0x2e6)]={'pad':function(_0x2f459b,_0x46232f){var _0x232b79=_0x518991;for(var _0x384314=_0x46232f*0x4,_0xe68b46=_0x384314-_0x2f459b[_0x232b79(0x4cd)]%_0x384314,_0x7d4382=_0xe68b46<<0x18|_0xe68b46<<0x10|_0xe68b46<<0x8|_0xe68b46,_0x31346c=[],_0x22ff73=0x0;_0x22ff73<_0xe68b46;_0x22ff73+=0x4)_0x31346c[_0x232b79(0x24d)](_0x7d4382);var _0xdb5c2c=_0x4ffd36[_0x232b79(0x2be)](_0x31346c,_0xe68b46);_0x2f459b[_0x232b79(0x448)](_0xdb5c2c);},'unpad':function(_0x398b3f){var _0x204131=_0x518991,_0x58819e=_0x398b3f[_0x204131(0x3ea)][_0x398b3f['sigBytes']-0x1>>>0x2]&0xff;_0x398b3f[_0x204131(0x4cd)]-=_0x58819e;}};_0x528eac[_0x518991(0x1a1)]=_0x577e69[_0x518991(0x285)]({'cfg':_0x577e69[_0x518991(0x3fa)][_0x518991(0x285)]({'mode':_0x5e0ff8,'padding':_0x369aff}),'reset':function(){var _0x56e472=_0x518991,_0x53901a;_0x577e69[_0x56e472(0x232)]['call'](this);var _0x13a0fe=this['cfg'],_0x4d0b37=_0x13a0fe['iv'],_0xb6e687=_0x13a0fe[_0x56e472(0x353)];this[_0x56e472(0x2e2)]==this['_ENC_XFORM_MODE']?_0x53901a=_0xb6e687[_0x56e472(0x4d3)]:(_0x53901a=_0xb6e687['createDecryptor'],this[_0x56e472(0x3f9)]=0x1),this[_0x56e472(0x325)]&&this[_0x56e472(0x325)]['__creator']==_0x53901a?this[_0x56e472(0x325)]['init'](this,_0x4d0b37&&_0x4d0b37[_0x56e472(0x3ea)]):(this[_0x56e472(0x325)]=_0x53901a[_0x56e472(0x411)](_0xb6e687,this,_0x4d0b37&&_0x4d0b37[_0x56e472(0x3ea)]),this[_0x56e472(0x325)][_0x56e472(0x3ca)]=_0x53901a);},'_doProcessBlock':function(_0x516157,_0x59eb96){var _0x2f9a49=_0x518991;this[_0x2f9a49(0x325)][_0x2f9a49(0x282)](_0x516157,_0x59eb96);},'_doFinalize':function(){var _0x3c0b66=_0x518991,_0x5eb532,_0x444687=this[_0x3c0b66(0x3fa)][_0x3c0b66(0x312)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x444687['pad'](this[_0x3c0b66(0x268)],this[_0x3c0b66(0x457)]),_0x5eb532=this[_0x3c0b66(0x44f)](!0x0)):(_0x5eb532=this[_0x3c0b66(0x44f)](!0x0),_0x444687[_0x3c0b66(0x40e)](_0x5eb532)),_0x5eb532;},'blockSize':0x80/0x20});var _0x25ef3d=_0x528eac['CipherParams']=_0x2647d0[_0x518991(0x285)]({'init':function(_0x2090d5){var _0x446faa=_0x518991;this[_0x446faa(0x391)](_0x2090d5);},'toString':function(_0x2cef21){var _0x57f576=_0x518991;return(_0x2cef21||this[_0x57f576(0x307)])[_0x57f576(0x34f)](this);}}),_0x4bd7c2=_0x290048[_0x518991(0x48d)]={},_0x271be7=_0x4bd7c2[_0x518991(0x1ce)]={'stringify':function(_0x574a82){var _0x5975f2=_0x518991,_0x57aab6,_0xa6d0a7=_0x574a82['ciphertext'],_0x47b12d=_0x574a82[_0x5975f2(0x222)];return _0x47b12d?_0x57aab6=_0x4ffd36[_0x5975f2(0x2be)]([0x53616c74,0x65645f5f])[_0x5975f2(0x448)](_0x47b12d)[_0x5975f2(0x448)](_0xa6d0a7):_0x57aab6=_0xa6d0a7,_0x57aab6[_0x5975f2(0x376)](_0x460307);},'parse':function(_0x4cb0dc){var _0x34e69a=_0x518991,_0x323eea,_0x5f44fe=_0x460307['parse'](_0x4cb0dc),_0x2cc0cb=_0x5f44fe[_0x34e69a(0x3ea)];return _0x2cc0cb[0x0]==0x53616c74&&_0x2cc0cb[0x1]==0x65645f5f&&(_0x323eea=_0x4ffd36[_0x34e69a(0x2be)](_0x2cc0cb['slice'](0x2,0x4)),_0x2cc0cb['splice'](0x0,0x4),_0x5f44fe['sigBytes']-=0x10),_0x25ef3d['create']({'ciphertext':_0x5f44fe,'salt':_0x323eea});}},_0x258f76=_0x528eac[_0x518991(0x266)]=_0x2647d0[_0x518991(0x285)]({'cfg':_0x2647d0[_0x518991(0x285)]({'format':_0x271be7}),'encrypt':function(_0x3693cd,_0x3b21a5,_0x4374c7,_0x476f06){var _0x57288c=_0x518991;_0x476f06=this['cfg']['extend'](_0x476f06);var _0x19c66f=_0x3693cd[_0x57288c(0x4d3)](_0x4374c7,_0x476f06),_0x5e11c6=_0x19c66f[_0x57288c(0x4ff)](_0x3b21a5),_0x46d415=_0x19c66f[_0x57288c(0x3fa)];return _0x25ef3d[_0x57288c(0x2be)]({'ciphertext':_0x5e11c6,'key':_0x4374c7,'iv':_0x46d415['iv'],'algorithm':_0x3693cd,'mode':_0x46d415['mode'],'padding':_0x46d415[_0x57288c(0x312)],'blockSize':_0x3693cd['blockSize'],'formatter':_0x476f06['format']});},'decrypt':function(_0xc8c710,_0xb38a25,_0x31848d,_0x4105a8){var _0x21af1d=_0x518991;_0x4105a8=this[_0x21af1d(0x3fa)][_0x21af1d(0x285)](_0x4105a8),_0xb38a25=this[_0x21af1d(0x3fb)](_0xb38a25,_0x4105a8['format']);var _0xd20dc9=_0xc8c710[_0x21af1d(0x200)](_0x31848d,_0x4105a8)[_0x21af1d(0x4ff)](_0xb38a25[_0x21af1d(0x324)]);return _0xd20dc9;},'_parse':function(_0x2ec8c5,_0x342fe9){var _0xc7b309=_0x518991;return typeof _0x2ec8c5==_0xc7b309(0x356)?_0x342fe9[_0xc7b309(0x477)](_0x2ec8c5,this):_0x2ec8c5;}}),_0xda9acb=_0x290048[_0x518991(0x394)]={},_0x395861=_0xda9acb['OpenSSL']={'execute':function(_0x425df3,_0x7769ea,_0x52a25d,_0x1bad70,_0x50e6f2){var _0x3482f3=_0x518991;if(_0x1bad70||(_0x1bad70=_0x4ffd36[_0x3482f3(0x1f7)](0x40/0x8)),_0x50e6f2)var _0x4fd7e8=_0xc720a5['create']({'keySize':_0x7769ea+_0x52a25d,'hasher':_0x50e6f2})['compute'](_0x425df3,_0x1bad70);else var _0x4fd7e8=_0xc720a5[_0x3482f3(0x2be)]({'keySize':_0x7769ea+_0x52a25d})[_0x3482f3(0x366)](_0x425df3,_0x1bad70);var _0x1d6cb9=_0x4ffd36['create'](_0x4fd7e8[_0x3482f3(0x3ea)][_0x3482f3(0x4ab)](_0x7769ea),_0x52a25d*0x4);return _0x4fd7e8[_0x3482f3(0x4cd)]=_0x7769ea*0x4,_0x25ef3d[_0x3482f3(0x2be)]({'key':_0x4fd7e8,'iv':_0x1d6cb9,'salt':_0x1bad70});}},_0x2b579f=_0x528eac[_0x518991(0x20d)]=_0x258f76[_0x518991(0x285)]({'cfg':_0x258f76[_0x518991(0x3fa)][_0x518991(0x285)]({'kdf':_0x395861}),'encrypt':function(_0x111325,_0x326278,_0xcab12,_0x15716e){var _0x2b4778=_0x518991;_0x15716e=this[_0x2b4778(0x3fa)][_0x2b4778(0x285)](_0x15716e);var _0x5200bc=_0x15716e[_0x2b4778(0x394)]['execute'](_0xcab12,_0x111325['keySize'],_0x111325[_0x2b4778(0x494)],_0x15716e[_0x2b4778(0x222)],_0x15716e[_0x2b4778(0x335)]);_0x15716e['iv']=_0x5200bc['iv'];var _0x49864e=_0x258f76['encrypt'][_0x2b4778(0x411)](this,_0x111325,_0x326278,_0x5200bc['key'],_0x15716e);return _0x49864e[_0x2b4778(0x391)](_0x5200bc),_0x49864e;},'decrypt':function(_0x48cf11,_0x3a8929,_0xfb724c,_0x1bccf8){var _0x540f2d=_0x518991;_0x1bccf8=this[_0x540f2d(0x3fa)]['extend'](_0x1bccf8),_0x3a8929=this[_0x540f2d(0x3fb)](_0x3a8929,_0x1bccf8['format']);var _0x150d80=_0x1bccf8[_0x540f2d(0x394)][_0x540f2d(0x287)](_0xfb724c,_0x48cf11[_0x540f2d(0x3d9)],_0x48cf11[_0x540f2d(0x494)],_0x3a8929[_0x540f2d(0x222)],_0x1bccf8[_0x540f2d(0x335)]);_0x1bccf8['iv']=_0x150d80['iv'];var _0x340327=_0x258f76['decrypt']['call'](this,_0x48cf11,_0x3a8929,_0x150d80[_0x540f2d(0x1ee)],_0x1bccf8);return _0x340327;}});}();}));}(Ce)),Ce[_0x87f755(0x1cd)];}var Pi=Ie[_0x10f867(0x1cd)],tt;function Li(){var _0x14c56f=_0x10f867;return tt||(tt=0x1,function(_0x489af9,_0x304057){(function(_0x14699a,_0x59e22e,_0x5ca579){_0x489af9['exports']=_0x59e22e(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x2d9482){return(function(){var _0x448766=_0x4aec,_0x58043b=_0x2d9482,_0x39f8e2=_0x58043b[_0x448766(0x4eb)],_0x59ed18=_0x39f8e2[_0x448766(0x1a1)],_0x5313af=_0x58043b[_0x448766(0x3db)],_0x4ecdbc=[],_0x14f312=[],_0x49823c=[],_0x4a7f05=[],_0x441927=[],_0x40ff7a=[],_0xeae7f5=[],_0x868835=[],_0x4288a6=[],_0x1c5bad=[];(function(){for(var _0x12befb=[],_0x48cb10=0x0;_0x48cb10<0x100;_0x48cb10++)_0x48cb10<0x80?_0x12befb[_0x48cb10]=_0x48cb10<<0x1:_0x12befb[_0x48cb10]=_0x48cb10<<0x1^0x11b;for(var _0x18b13e=0x0,_0x4903f6=0x0,_0x48cb10=0x0;_0x48cb10<0x100;_0x48cb10++){var _0x23362f=_0x4903f6^_0x4903f6<<0x1^_0x4903f6<<0x2^_0x4903f6<<0x3^_0x4903f6<<0x4;_0x23362f=_0x23362f>>>0x8^_0x23362f&0xff^0x63,_0x4ecdbc[_0x18b13e]=_0x23362f,_0x14f312[_0x23362f]=_0x18b13e;var _0x4c2ea8=_0x12befb[_0x18b13e],_0x31c0d5=_0x12befb[_0x4c2ea8],_0x18fbf8=_0x12befb[_0x31c0d5],_0x11ccad=_0x12befb[_0x23362f]*0x101^_0x23362f*0x1010100;_0x49823c[_0x18b13e]=_0x11ccad<<0x18|_0x11ccad>>>0x8,_0x4a7f05[_0x18b13e]=_0x11ccad<<0x10|_0x11ccad>>>0x10,_0x441927[_0x18b13e]=_0x11ccad<<0x8|_0x11ccad>>>0x18,_0x40ff7a[_0x18b13e]=_0x11ccad;var _0x11ccad=_0x18fbf8*0x1010101^_0x31c0d5*0x10001^_0x4c2ea8*0x101^_0x18b13e*0x1010100;_0xeae7f5[_0x23362f]=_0x11ccad<<0x18|_0x11ccad>>>0x8,_0x868835[_0x23362f]=_0x11ccad<<0x10|_0x11ccad>>>0x10,_0x4288a6[_0x23362f]=_0x11ccad<<0x8|_0x11ccad>>>0x18,_0x1c5bad[_0x23362f]=_0x11ccad,_0x18b13e?(_0x18b13e=_0x4c2ea8^_0x12befb[_0x12befb[_0x12befb[_0x18fbf8^_0x4c2ea8]]],_0x4903f6^=_0x12befb[_0x12befb[_0x4903f6]]):_0x18b13e=_0x4903f6=0x1;}}());var _0x5db09a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1b8c9e=_0x5313af[_0x448766(0x49d)]=_0x59ed18['extend']({'_doReset':function(){var _0x3297d1=_0x448766,_0xef024b;if(!(this['_nRounds']&&this[_0x3297d1(0x1b9)]===this[_0x3297d1(0x41d)])){for(var _0x16e017=this[_0x3297d1(0x1b9)]=this['_key'],_0x1e4699=_0x16e017[_0x3297d1(0x3ea)],_0x519b58=_0x16e017['sigBytes']/0x4,_0x176ee2=this[_0x3297d1(0x439)]=_0x519b58+0x6,_0xaa82c3=(_0x176ee2+0x1)*0x4,_0x35cd3e=this['_keySchedule']=[],_0xc1edd7=0x0;_0xc1edd7<_0xaa82c3;_0xc1edd7++)_0xc1edd7<_0x519b58?_0x35cd3e[_0xc1edd7]=_0x1e4699[_0xc1edd7]:(_0xef024b=_0x35cd3e[_0xc1edd7-0x1],_0xc1edd7%_0x519b58?_0x519b58>0x6&&_0xc1edd7%_0x519b58==0x4&&(_0xef024b=_0x4ecdbc[_0xef024b>>>0x18]<<0x18|_0x4ecdbc[_0xef024b>>>0x10&0xff]<<0x10|_0x4ecdbc[_0xef024b>>>0x8&0xff]<<0x8|_0x4ecdbc[_0xef024b&0xff]):(_0xef024b=_0xef024b<<0x8|_0xef024b>>>0x18,_0xef024b=_0x4ecdbc[_0xef024b>>>0x18]<<0x18|_0x4ecdbc[_0xef024b>>>0x10&0xff]<<0x10|_0x4ecdbc[_0xef024b>>>0x8&0xff]<<0x8|_0x4ecdbc[_0xef024b&0xff],_0xef024b^=_0x5db09a[_0xc1edd7/_0x519b58|0x0]<<0x18),_0x35cd3e[_0xc1edd7]=_0x35cd3e[_0xc1edd7-_0x519b58]^_0xef024b);for(var _0x6ae75b=this[_0x3297d1(0x2c3)]=[],_0x29e740=0x0;_0x29e740<_0xaa82c3;_0x29e740++){var _0xc1edd7=_0xaa82c3-_0x29e740;if(_0x29e740%0x4)var _0xef024b=_0x35cd3e[_0xc1edd7];else var _0xef024b=_0x35cd3e[_0xc1edd7-0x4];_0x29e740<0x4||_0xc1edd7<=0x4?_0x6ae75b[_0x29e740]=_0xef024b:_0x6ae75b[_0x29e740]=_0xeae7f5[_0x4ecdbc[_0xef024b>>>0x18]]^_0x868835[_0x4ecdbc[_0xef024b>>>0x10&0xff]]^_0x4288a6[_0x4ecdbc[_0xef024b>>>0x8&0xff]]^_0x1c5bad[_0x4ecdbc[_0xef024b&0xff]];}}},'encryptBlock':function(_0x583a30,_0x565380){var _0x575962=_0x448766;this['_doCryptBlock'](_0x583a30,_0x565380,this[_0x575962(0x1f5)],_0x49823c,_0x4a7f05,_0x441927,_0x40ff7a,_0x4ecdbc);},'decryptBlock':function(_0x26390a,_0x553858){var _0x5c0687=_0x448766,_0x4a57de=_0x26390a[_0x553858+0x1];_0x26390a[_0x553858+0x1]=_0x26390a[_0x553858+0x3],_0x26390a[_0x553858+0x3]=_0x4a57de,this['_doCryptBlock'](_0x26390a,_0x553858,this[_0x5c0687(0x2c3)],_0xeae7f5,_0x868835,_0x4288a6,_0x1c5bad,_0x14f312);var _0x4a57de=_0x26390a[_0x553858+0x1];_0x26390a[_0x553858+0x1]=_0x26390a[_0x553858+0x3],_0x26390a[_0x553858+0x3]=_0x4a57de;},'_doCryptBlock':function(_0x35ed03,_0x4332f9,_0x6ea3fa,_0x517943,_0x1727d4,_0x16ba75,_0xde57f6,_0x1871e9){var _0x460a73=_0x448766;for(var _0x47dde7=this[_0x460a73(0x439)],_0x329889=_0x35ed03[_0x4332f9]^_0x6ea3fa[0x0],_0x374bc2=_0x35ed03[_0x4332f9+0x1]^_0x6ea3fa[0x1],_0x3024fc=_0x35ed03[_0x4332f9+0x2]^_0x6ea3fa[0x2],_0x4c3cc6=_0x35ed03[_0x4332f9+0x3]^_0x6ea3fa[0x3],_0x256f0d=0x4,_0x370982=0x1;_0x370982<_0x47dde7;_0x370982++){var _0xe760e6=_0x517943[_0x329889>>>0x18]^_0x1727d4[_0x374bc2>>>0x10&0xff]^_0x16ba75[_0x3024fc>>>0x8&0xff]^_0xde57f6[_0x4c3cc6&0xff]^_0x6ea3fa[_0x256f0d++],_0x139b03=_0x517943[_0x374bc2>>>0x18]^_0x1727d4[_0x3024fc>>>0x10&0xff]^_0x16ba75[_0x4c3cc6>>>0x8&0xff]^_0xde57f6[_0x329889&0xff]^_0x6ea3fa[_0x256f0d++],_0x3b91dc=_0x517943[_0x3024fc>>>0x18]^_0x1727d4[_0x4c3cc6>>>0x10&0xff]^_0x16ba75[_0x329889>>>0x8&0xff]^_0xde57f6[_0x374bc2&0xff]^_0x6ea3fa[_0x256f0d++],_0x2fa616=_0x517943[_0x4c3cc6>>>0x18]^_0x1727d4[_0x329889>>>0x10&0xff]^_0x16ba75[_0x374bc2>>>0x8&0xff]^_0xde57f6[_0x3024fc&0xff]^_0x6ea3fa[_0x256f0d++];_0x329889=_0xe760e6,_0x374bc2=_0x139b03,_0x3024fc=_0x3b91dc,_0x4c3cc6=_0x2fa616;}var _0xe760e6=(_0x1871e9[_0x329889>>>0x18]<<0x18|_0x1871e9[_0x374bc2>>>0x10&0xff]<<0x10|_0x1871e9[_0x3024fc>>>0x8&0xff]<<0x8|_0x1871e9[_0x4c3cc6&0xff])^_0x6ea3fa[_0x256f0d++],_0x139b03=(_0x1871e9[_0x374bc2>>>0x18]<<0x18|_0x1871e9[_0x3024fc>>>0x10&0xff]<<0x10|_0x1871e9[_0x4c3cc6>>>0x8&0xff]<<0x8|_0x1871e9[_0x329889&0xff])^_0x6ea3fa[_0x256f0d++],_0x3b91dc=(_0x1871e9[_0x3024fc>>>0x18]<<0x18|_0x1871e9[_0x4c3cc6>>>0x10&0xff]<<0x10|_0x1871e9[_0x329889>>>0x8&0xff]<<0x8|_0x1871e9[_0x374bc2&0xff])^_0x6ea3fa[_0x256f0d++],_0x2fa616=(_0x1871e9[_0x4c3cc6>>>0x18]<<0x18|_0x1871e9[_0x329889>>>0x10&0xff]<<0x10|_0x1871e9[_0x374bc2>>>0x8&0xff]<<0x8|_0x1871e9[_0x3024fc&0xff])^_0x6ea3fa[_0x256f0d++];_0x35ed03[_0x4332f9]=_0xe760e6,_0x35ed03[_0x4332f9+0x1]=_0x139b03,_0x35ed03[_0x4332f9+0x2]=_0x3b91dc,_0x35ed03[_0x4332f9+0x3]=_0x2fa616;},'keySize':0x100/0x20});_0x58043b['AES']=_0x59ed18[_0x448766(0x283)](_0x1b8c9e);}()),_0x2d9482['AES'];}));}(Ie)),Ie[_0x14c56f(0x1cd)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x10f867(0x1cd)],nt;function $i(){var _0x377456=_0x10f867;return nt||(nt=0x1,function(_0x7e9080,_0x4fbfbd){(function(_0x4653f0,_0x434da4){var _0x2e93a3=_0x4aec;_0x7e9080[_0x2e93a3(0x1cd)]=_0x434da4(Z());}(ki,function(_0x38c689){var _0x17dc58=_0x4aec;return _0x38c689[_0x17dc58(0x216)][_0x17dc58(0x4ef)];}));}(Oe)),Oe[_0x377456(0x1cd)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be['exports'],st;function Fi(){var _0x49a748=_0x10f867;return st||(st=0x1,function(_0x335d27,_0x4e8790){(function(_0x309011,_0x562506){var _0x19a127=_0x4aec;_0x335d27[_0x19a127(0x1cd)]=_0x562506(Z());}(Bi,function(_0x446e66){var _0xfbc79c=_0x4aec;return(function(){var _0x4c610b=_0x4aec;if(typeof ArrayBuffer=='function'){var _0x1d7059=_0x446e66,_0x16fbf4=_0x1d7059[_0x4c610b(0x4eb)],_0x503f28=_0x16fbf4['WordArray'],_0x53d3d7=_0x503f28[_0x4c610b(0x1e0)],_0x657b19=_0x503f28[_0x4c610b(0x1e0)]=function(_0x2f6e54){var _0x992edd=_0x4c610b;if(_0x2f6e54 instanceof ArrayBuffer&&(_0x2f6e54=new Uint8Array(_0x2f6e54)),(_0x2f6e54 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2f6e54 instanceof Uint8ClampedArray||_0x2f6e54 instanceof Int16Array||_0x2f6e54 instanceof Uint16Array||_0x2f6e54 instanceof Int32Array||_0x2f6e54 instanceof Uint32Array||_0x2f6e54 instanceof Float32Array||_0x2f6e54 instanceof Float64Array)&&(_0x2f6e54=new Uint8Array(_0x2f6e54[_0x992edd(0x41b)],_0x2f6e54[_0x992edd(0x3a6)],_0x2f6e54[_0x992edd(0x490)])),_0x2f6e54 instanceof Uint8Array){for(var _0x478004=_0x2f6e54[_0x992edd(0x490)],_0x24233b=[],_0x5ab8e8=0x0;_0x5ab8e8<_0x478004;_0x5ab8e8++)_0x24233b[_0x5ab8e8>>>0x2]|=_0x2f6e54[_0x5ab8e8]<<0x18-_0x5ab8e8%0x4*0x8;_0x53d3d7['call'](this,_0x24233b,_0x478004);}else _0x53d3d7['apply'](this,arguments);};_0x657b19[_0x4c610b(0x2d3)]=_0x503f28;}}()),_0x446e66[_0xfbc79c(0x4eb)][_0xfbc79c(0x4fc)];}));}(be)),be[_0x49a748(0x1cd)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){return rt||(rt=0x1,function(_0x1b8bb1,_0x22dd2e){(function(_0x1f3306,_0xe9ba4f,_0x383458){_0x1b8bb1['exports']=_0xe9ba4f(Z(),Ot());}(Gi,function(_0x3f7c9b){var _0x51d9d3=_0x4aec;return _0x3f7c9b['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3f7c9b[_0x51d9d3(0x27e)][_0x51d9d3(0x3c9)];}));}(Re)),Re['exports'];}var Ki=Yi();const qi=de(Ki);function zi(_0x18871e,_0x5b52e9){var _0x2fab13=_0x10f867;const _0x25b99a=_0x5b52e9-_0x18871e['length']%_0x5b52e9,_0x51ce30=String['fromCharCode'](_0x25b99a)[_0x2fab13(0x4e9)](_0x25b99a);return _0x18871e+_0x51ce30;}function Xi(_0x367726,_0x4d408d){var _0x66d5b1=_0x10f867;const _0x29a055=Wi[_0x66d5b1(0x1f7)](0x10),_0x2e51fb=zi(_0x367726,0x10),_0x1647d1=wi[_0x66d5b1(0x4ad)](ji[_0x66d5b1(0x477)](_0x2e51fb),it[_0x66d5b1(0x477)](_0x4d408d),{'iv':_0x29a055,'padding':qi});return _0x29a055[_0x66d5b1(0x448)](_0x1647d1[_0x66d5b1(0x324)])['toString'](it);}function Ji(){var _0x4e2e37=_0x10f867;const _0x3e74ee=Dt['getGlobalObject']()['__Key__'];if(_0x3e74ee){const _0x319abc={'time':Math[_0x4e2e37(0x28d)](Date[_0x4e2e37(0x1ed)]()/0x3e8),'domain':location[_0x4e2e37(0x202)]};return Xi(JSON[_0x4e2e37(0x34f)](_0x319abc),_0x3e74ee);}}var Zi=Object[_0x10f867(0x509)],Qi=(_0x2a3912,_0x5522b8,_0x257673,_0x373e7a)=>{for(var _0x6cbe62=_0x373e7a>0x1?void 0x0:_0x373e7a?Zi(_0x5522b8,_0x257673):_0x5522b8,_0x4d7771=_0x2a3912['length']-0x1,_0x349eb1;_0x4d7771>=0x0;_0x4d7771--)(_0x349eb1=_0x2a3912[_0x4d7771])&&(_0x6cbe62=_0x349eb1(_0x6cbe62)||_0x6cbe62);return _0x6cbe62;},en=(_0x2b1c53,_0x57cd8a)=>(_0x5c4783,_0x5481de)=>_0x57cd8a(_0x5c4783,_0x5481de,_0x2b1c53);let De=class{constructor(_0x39259b){var _0x1da3a1=_0x10f867;this[_0x1da3a1(0x397)]=_0x39259b,this[_0x1da3a1(0x474)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1b1be3,_0x2f7f82)=>{var _0xda2744=_0x4aec;const _0x45a7a7=_0x1b1be3['headers'],_0x341973=Ji();return _0x341973&&_0x45a7a7['set'](_0xda2744(0x2c6),_0x341973),_0x2f7f82(_0x1b1be3);}});}};De=Qi([en(0x0,o[_0x10f867(0x225)](K[_0x10f867(0x328)]))],De);var tn=Object[_0x10f867(0x509)],nn=(_0x32ff41,_0x36e170,_0x380f94,_0xe7c68b)=>{var _0x57749e=_0x10f867;for(var _0x44b357=_0xe7c68b>0x1?void 0x0:_0xe7c68b?tn(_0x36e170,_0x380f94):_0x36e170,_0x2f6af1=_0x32ff41[_0x57749e(0x371)]-0x1,_0x35c620;_0x2f6af1>=0x0;_0x2f6af1--)(_0x35c620=_0x32ff41[_0x2f6af1])&&(_0x44b357=_0x35c620(_0x44b357)||_0x44b357);return _0x44b357;},Le=(_0xd61fe2,_0x4f8a88)=>(_0x12abdc,_0x40093d)=>_0x4f8a88(_0x12abdc,_0x40093d,_0xd61fe2);exports[_0x10f867(0x39c)]=class extends o[_0x10f867(0x2d8)]{constructor(_0x18b72b,_0xddcc47,_0x49dfb5){var _0x4d3efe=_0x10f867;super(),A(this,_0x4d3efe(0x424),new j[(_0x4d3efe(0x1da))](null)),A(this,_0x4d3efe(0x217),this[_0x4d3efe(0x424)][_0x4d3efe(0x440)]()),(this[_0x4d3efe(0x280)]=_0x18b72b,this[_0x4d3efe(0x450)]=_0xddcc47,this['_localCacheService']=_0x49dfb5);}async[_0x10f867(0x1e3)](_0x341e6f,_0x28cf04,_0x2d0002){var _0x1ca387=_0x10f867;this[_0x1ca387(0x424)][_0x1ca387(0x19d)]({'unitId':_0x341e6f,'type':_0x28cf04});let _0x21a809=null;switch(_0x28cf04){case X[_0x1ca387(0x3bf)]:{_0x21a809=await this[_0x1ca387(0x450)][_0x1ca387(0x479)](_0x341e6f,_0x2d0002);break;}case X[_0x1ca387(0x382)]:{_0x21a809=await this[_0x1ca387(0x450)][_0x1ca387(0x4ec)](_0x341e6f,_0x2d0002);break;}default:{this[_0x1ca387(0x280)][_0x1ca387(0x3a8)](_0x1ca387(0x3ba),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x21a809;}async[_0x10f867(0x472)](_0x4bab91,_0x32b1da,_0x3821c1){var _0x426edc=_0x10f867,_0x38d5d8;this[_0x426edc(0x424)][_0x426edc(0x19d)]({'unitId':_0x4bab91,'type':_0x32b1da,'subUnitId':_0x3821c1});let _0xf30f18=0x0;const _0x5bd399=await((_0x38d5d8=this[_0x426edc(0x2de)])==null?void 0x0:_0x38d5d8[_0x426edc(0x37f)](_0x4bab91));return _0x5bd399&&(_0x5bd399['awaitingChangeset']||_0x5bd399[_0x426edc(0x44e)][_0x426edc(0x371)]!==0x0)&&(_0xf30f18=_0x5bd399['rev']),_0xf30f18===0x0&&this[_0x426edc(0x280)][_0x426edc(0x47e)](_0x426edc(0x3ba),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x426edc(0x1e3)](_0x4bab91,_0x32b1da,_0xf30f18);}},exports[_0x10f867(0x39c)]=nn([Le(0x0,o[_0x10f867(0x4f6)]),Le(0x1,o['Inject'](E[_0x10f867(0x445)])),Le(0x2,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x39c)]);var sn=Object['getOwnPropertyDescriptor'],rn=(_0x3ae8f7,_0x446384,_0x18bcde,_0x2287ac)=>{var _0x4a8852=_0x10f867;for(var _0x49c09d=_0x2287ac>0x1?void 0x0:_0x2287ac?sn(_0x446384,_0x18bcde):_0x446384,_0x37cd3f=_0x3ae8f7[_0x4a8852(0x371)]-0x1,_0x409320;_0x37cd3f>=0x0;_0x37cd3f--)(_0x409320=_0x3ae8f7[_0x37cd3f])&&(_0x49c09d=_0x409320(_0x49c09d)||_0x49c09d);return _0x49c09d;},Me=(_0x3da249,_0x52a4d4)=>(_0x3c24ef,_0x5e7e1a)=>_0x52a4d4(_0x3c24ef,_0x5e7e1a,_0x3da249);const an=[_0x10f867(0x4e6),_0x10f867(0x292),_0x10f867(0x38c),_0x10f867(0x185),_0x10f867(0x3be)],on=0x5*0x400*0x400,cn='/universer-api/stream/file/upload',_n='/universer-api/file/{fileID}/sign-url';exports[_0x10f867(0x1c7)]=class{constructor(_0x354164,_0x2ddd1f,_0x44cd14){var _0x335eed=_0x10f867;A(this,_0x335eed(0x2b5),0x0),A(this,_0x335eed(0x199),new j[(_0x335eed(0x1d1))]()),A(this,_0x335eed(0x400),this[_0x335eed(0x199)]),A(this,'_imageSourceCache',new Map()),(this[_0x335eed(0x397)]=_0x354164,this[_0x335eed(0x22b)]=_0x2ddd1f,this['_univerInstanceService']=_0x44cd14);}[_0x10f867(0x500)](_0x134b26){var _0x4d85fd=_0x10f867;this[_0x4d85fd(0x2b5)]=_0x134b26,this[_0x4d85fd(0x199)][_0x4d85fd(0x19d)](_0x134b26);}[_0x10f867(0x2f0)](_0x912751,_0x3b28aa){var _0x5dae86=_0x10f867;if(_0x3b28aa===z[_0x5dae86(0x2f4)][_0x5dae86(0x188)]){const _0x15d0a3=new Image();return _0x15d0a3[_0x5dae86(0x36c)]=_0x912751,_0x15d0a3;}return this[_0x5dae86(0x2b2)][_0x5dae86(0x433)](_0x912751);}[_0x10f867(0x43d)](_0x570110,_0x2864af,_0x188626){var _0x3db587=_0x10f867;_0x2864af===z[_0x3db587(0x2f4)][_0x3db587(0x188)]||_0x188626==null||this[_0x3db587(0x2b2)][_0x3db587(0x186)](_0x570110,_0x188626);}async[_0x10f867(0x1db)](_0x5e9c64){var _0x3bd33b=_0x10f867;try{const _0x584893=this[_0x3bd33b(0x263)](this[_0x3bd33b(0x37d)](),''+_0x5e9c64),_0x590252=(await this['_httpService'][_0x3bd33b(0x433)](_0x584893))[_0x3bd33b(0x22c)];if(_0x590252[_0x3bd33b(0x3a8)]&&_0x590252['error']['code']===vt['OK']){const _0x5dee65=new URL(_0x590252[_0x3bd33b(0x40b)],this[_0x3bd33b(0x499)]())['toString']();return Promise[_0x3bd33b(0x212)](_0x5dee65);}return Promise['reject'](_0x590252['error']);}catch(_0xda4535){return Promise[_0x3bd33b(0x194)](_0xda4535);}}async[_0x10f867(0x4aa)](_0x5e1308){var _0x20c42e=_0x10f867;let _0x2f0b5d='';if(!an[_0x20c42e(0x2d4)](_0x5e1308['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x33a)]));if(_0x5e1308[_0x20c42e(0x363)]>on)return this['_decreaseWaiting'](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x4a5)]));try{const _0x508649=new FormData();_0x508649['append'](_0x20c42e(0x299),_0x5e1308);const _0xae4438=this[_0x20c42e(0x497)][_0x20c42e(0x407)](),_0x3c3e38=_0xae4438==null?void 0x0:_0xae4438['getUnitId']();if(!_0x3c3e38)throw new Error(_0x20c42e(0x3b4));const _0x1fae76=this['_getUploadFileURL']()+_0x20c42e(0x322)+_0x5e1308[_0x20c42e(0x363)]['toString']()+'&source='+dt[_0x20c42e(0x2b1)]+_0x20c42e(0x437)+encodeURIComponent(_0x3c3e38),_0x379408={'body':_0x508649},_0x2a63f2=(await this[_0x20c42e(0x397)]['post'](_0x1fae76,_0x379408))[_0x20c42e(0x22c)];if(typeof _0x2a63f2[_0x20c42e(0x249)]!=_0x20c42e(0x356))return this[_0x20c42e(0x2d2)](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x197)]));_0x2f0b5d=_0x2a63f2[_0x20c42e(0x249)];}catch{return this[_0x20c42e(0x2d2)](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x197)]));}return new Promise((_0x47cf4a,_0x2ad52b)=>{var _0x112928=_0x20c42e;const _0xd47959=new FileReader();_0xd47959['readAsDataURL'](_0x5e1308),_0xd47959[_0x112928(0x4d1)]=_0xfe629b=>{var _0x59945f=_0x112928,_0x28281c;const _0x26228b=(_0x28281c=_0xfe629b[_0x59945f(0x219)])==null?void 0x0:_0x28281c[_0x59945f(0x4e3)];if(_0x26228b==null){this['_decreaseWaiting'](),_0x2ad52b(new Error(z[_0x59945f(0x305)][_0x59945f(0x197)]));return;}const _0xe8132b=o[_0x59945f(0x23a)](0x6);_0x47cf4a({'imageId':_0xe8132b,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x2f0b5d,'base64Cache':_0x26228b,'status':z[_0x59945f(0x305)][_0x59945f(0x3b0)]}),this[_0x59945f(0x2d2)]();};});}['_getUploadFileURL'](){var _0x3c007f=_0x10f867,_0x5c5fae;const _0x4dd5f6=this[_0x3c007f(0x22b)][_0x3c007f(0x345)](Y);return(_0x5c5fae=_0x4dd5f6==null?void 0x0:_0x4dd5f6['uploadFileServerUrl'])!=null?_0x5c5fae:cn;}[_0x10f867(0x37d)](){var _0x2b83c3=_0x10f867,_0x31722a;const _0x3688db=this['_configService'][_0x2b83c3(0x345)](Y);return(_0x31722a=_0x3688db==null?void 0x0:_0x3688db[_0x2b83c3(0x187)])!=null?_0x31722a:_n;}['_getDownloadEndpointURL'](){var _0x2b4b20=_0x10f867,_0x450432;const _0x3c3c59=this['_configService'][_0x2b4b20(0x345)](Y);return(_0x450432=_0x3c3c59==null?void 0x0:_0x3c3c59[_0x2b4b20(0x209)])!=null?_0x450432:location['origin'];}['_replaceFileID'](_0xda88a0,_0x5dc84f){var _0xb5d56b=_0x10f867;return _0xda88a0[_0xb5d56b(0x260)](_0xb5d56b(0x4bf),_0x5dc84f);}[_0x10f867(0x2d2)](){var _0x1e8069=_0x10f867;this[_0x1e8069(0x2b5)]-=0x1,this[_0x1e8069(0x199)][_0x1e8069(0x19d)](this[_0x1e8069(0x2b5)]);}},exports[_0x10f867(0x1c7)]=rn([Me(0x0,o['Inject'](K[_0x10f867(0x328)])),Me(0x1,o[_0x10f867(0x405)]),Me(0x2,o[_0x10f867(0x225)](o[_0x10f867(0x470)]))],exports[_0x10f867(0x1c7)]);var hn=Object[_0x10f867(0x509)],ln=(_0x5d977e,_0x1f8594,_0x1514ed,_0x3fc26b)=>{var _0x2a364c=_0x10f867;for(var _0x10e0b4=_0x3fc26b>0x1?void 0x0:_0x3fc26b?hn(_0x1f8594,_0x1514ed):_0x1f8594,_0x4af28e=_0x5d977e[_0x2a364c(0x371)]-0x1,_0x274a9e;_0x4af28e>=0x0;_0x4af28e--)(_0x274a9e=_0x5d977e[_0x4af28e])&&(_0x10e0b4=_0x274a9e(_0x10e0b4)||_0x10e0b4);return _0x10e0b4;},at=(_0x5b5542,_0x1c4911)=>(_0x49b61e,_0x46eb34)=>_0x1c4911(_0x49b61e,_0x46eb34,_0x5b5542);const un=_0x10f867(0x432);exports[_0x10f867(0x1af)]=class{constructor(_0x465f0b,_0x345551){var _0x24dd70=_0x10f867;this['_configService']=_0x465f0b,this[_0x24dd70(0x388)]=_0x345551;}['_getAPIPrefixPath'](){var _0x498c69=_0x10f867,_0x1e0bfc;const _0xec9d8c=this[_0x498c69(0x22b)]['getConfig'](Y);return(_0x1e0bfc=_0xec9d8c==null?void 0x0:_0xec9d8c[_0x498c69(0x455)])!=null?_0x1e0bfc:un;}async['list'](_0x25df4c){var _0x661820=_0x10f867;const _0x59942e=this[_0x661820(0x42f)]()+_0x661820(0x32a);return{'list':[{'title':_0x661820(0x2cf),'mentions':(await this['_HTTPService'][_0x661820(0x433)](_0x59942e,{'params':{'objectID':_0x25df4c['unitId'],'unitID':_0x25df4c[_0x661820(0x1fa)]}}))[_0x661820(0x22c)][_0x661820(0x45c)]['map'](_0x16e299=>({'objectId':_0x16e299['id'],'name':_0x16e299[_0x661820(0x49c)][_0x661820(0x385)],'metadata':{'icon':_0x16e299[_0x661820(0x49c)][_0x661820(0x396)]},'label':_0x16e299[_0x661820(0x49c)][_0x661820(0x385)],'objectType':o[_0x661820(0x203)][_0x661820(0x368)]})),'metadata':{},'type':o['MentionType'][_0x661820(0x368)]}]};}},exports[_0x10f867(0x1af)]=ln([at(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x405)])),at(0x1,o['Inject'](K[_0x10f867(0x328)]))],exports[_0x10f867(0x1af)]);var vn=Object[_0x10f867(0x509)],dn=(_0xd104c0,_0x19543f,_0x59c475,_0x47e6fa)=>{for(var _0x1f38a5=_0x47e6fa>0x1?void 0x0:_0x47e6fa?vn(_0x19543f,_0x59c475):_0x19543f,_0x8330c3=_0xd104c0['length']-0x1,_0x5dd305;_0x8330c3>=0x0;_0x8330c3--)(_0x5dd305=_0xd104c0[_0x8330c3])&&(_0x1f38a5=_0x5dd305(_0x1f38a5)||_0x1f38a5);return _0x1f38a5;},le=(_0x4c937d,_0x232fb7)=>(_0x26b196,_0x216cd0)=>_0x232fb7(_0x26b196,_0x216cd0,_0x4c937d);let ye=class extends o[_0x10f867(0x2d8)]{constructor(_0x59098f,_0x5a5b40,_0x38ae55,_0x4bfd68,_0x12c6e5){var _0x116524=_0x10f867;super(),this[_0x116524(0x4f8)]=_0x59098f,this[_0x116524(0x497)]=_0x5a5b40,this[_0x116524(0x4f0)]=_0x38ae55,this[_0x116524(0x2dd)]=_0x4bfd68,this[_0x116524(0x336)]=_0x12c6e5,this[_0x116524(0x2ea)](),this[_0x116524(0x24f)]();}[_0x10f867(0x24f)](){var _0x344f39=_0x10f867;const _0xbcb914=async _0xd686f=>{var _0x129582=_0x4aec;(await this[_0x129582(0x2dd)][_0x129582(0x4ae)](_0xd686f))[_0x129582(0x48b)][_0x129582(0x4e4)](V['filter'](_0x51467f=>_0x51467f[_0x129582(0x2ad)]===E[_0x129582(0x481)]['SHOULD_CLOSE_CONN']),V[_0x129582(0x45f)](this[_0x129582(0x25c)]))[_0x129582(0x34a)](_0x4b9845=>{var _0x239e96=_0x129582;const _0x1a1218=_0x4b9845,{reason:_0x154158}=_0x1a1218['data'];this['_collaborationUIEventService'][_0x239e96(0x3e2)]({'id':J[_0x239e96(0x386)],'data':_0x154158}),this[_0x239e96(0x4f0)]['updatePermissionPoint'](new Q[(_0x239e96(0x3c6))](_0xd686f)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0xd686f);});};j[_0x344f39(0x2f7)](this[_0x344f39(0x497)][_0x344f39(0x256)](o['UniverInstanceType']['UNIVER_SHEET']),this[_0x344f39(0x497)][_0x344f39(0x256)](o['UniverInstanceType'][_0x344f39(0x382)]))['pipe'](V['map'](_0x2c786e=>_0x2c786e[_0x344f39(0x298)]()),V[_0x344f39(0x306)](_0x4984bc=>!o[_0x344f39(0x1ab)](_0x4984bc)),V[_0x344f39(0x45f)](this[_0x344f39(0x25c)]))[_0x344f39(0x34a)](_0x51f58c=>{_0xbcb914(_0x51f58c);});}[_0x10f867(0x2ea)](){var _0x2ea2e0=_0x10f867;const _0x357c4c=async _0x11d56b=>{var _0x4cc9bd=_0x4aec;const _0x52aba7=await this[_0x4cc9bd(0x2dd)][_0x4cc9bd(0x4ae)](_0x11d56b),_0x2fe88e=this[_0x4cc9bd(0x4f8)][_0x4cc9bd(0x433)](Q[_0x4cc9bd(0x2bf)]);_0x52aba7['event$'][_0x4cc9bd(0x4e4)](V[_0x4cc9bd(0x306)](_0x1bea86=>_0x1bea86[_0x4cc9bd(0x2ad)]===E['CollaborationEvent'][_0x4cc9bd(0x2fe)]),V['takeUntil'](this[_0x4cc9bd(0x25c)]))[_0x4cc9bd(0x34a)](_0x2b5c90=>{var _0x3ffe74=_0x4cc9bd;const _0x147806=_0x2b5c90,{objectId:_0x15edea}=_0x147806[_0x3ffe74(0x46b)];_0x15edea===_0x11d56b?_0x2fe88e['initWorkbookPermissionChange'](_0x11d56b):_0x2fe88e[_0x3ffe74(0x2f2)](_0x11d56b,_0x15edea);});};j[_0x2ea2e0(0x2f7)](this['_univerInstanceService'][_0x2ea2e0(0x256)](o[_0x2ea2e0(0x2a8)][_0x2ea2e0(0x3bf)]))[_0x2ea2e0(0x4e4)](V[_0x2ea2e0(0x25e)](_0x410276=>_0x410276[_0x2ea2e0(0x298)]()),V['filter'](_0x2e7638=>!o[_0x2ea2e0(0x1ab)](_0x2e7638)),V[_0x2ea2e0(0x45f)](this[_0x2ea2e0(0x25c)]))['subscribe'](_0x3a6ea4=>{_0x357c4c(_0x3a6ea4);});}};ye=dn([le(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),le(0x1,o[_0x10f867(0x470)]),le(0x2,o['IPermissionService']),le(0x3,o['Inject'](exports[_0x10f867(0x1fd)])),le(0x4,o[_0x10f867(0x225)](ee))],ye);var Sn=Object[_0x10f867(0x509)],In=(_0x1fc0b0,_0x3a4382,_0x4a5a7c,_0x32bc0a)=>{var _0x37571c=_0x10f867;for(var _0x19e206=_0x32bc0a>0x1?void 0x0:_0x32bc0a?Sn(_0x3a4382,_0x4a5a7c):_0x3a4382,_0x53dfa4=_0x1fc0b0[_0x37571c(0x371)]-0x1,_0x1ff547;_0x53dfa4>=0x0;_0x53dfa4--)(_0x1ff547=_0x1fc0b0[_0x53dfa4])&&(_0x19e206=_0x1ff547(_0x19e206)||_0x19e206);return _0x19e206;},ot=(_0xdd002a,_0x5c207a)=>(_0x594f11,_0x52e90d)=>_0x5c207a(_0x594f11,_0x52e90d,_0xdd002a);exports[_0x10f867(0x2b3)]=class{constructor(_0x21dc8b,_0x1d563c){var _0x509063=_0x10f867;this[_0x509063(0x22b)]=_0x21dc8b,this[_0x509063(0x397)]=_0x1d563c;}async[_0x10f867(0x370)](_0x2b2f90,_0x38ee39){var _0x265810=_0x10f867,_0xfca8ba;const {unitID:_0x4accd8,type:_0x1bae83,revision:_0x50cdb1=0x0}=_0x38ee39,_0x203679=this[_0x265810(0x27b)]()+'/'+_0x1bae83+'/unit/'+_0x4accd8+_0x265810(0x284)+_0x50cdb1,_0x35bec1=(await this[_0x265810(0x397)]['get'](_0x203679))[_0x265810(0x22c)],_0x1732dc=(_0xfca8ba=_0x35bec1[_0x265810(0x464)])==null?void 0x0:_0xfca8ba['workbook'];if(_0x1732dc){const _0x44c133=_0x1732dc==null?void 0x0:_0x1732dc[_0x265810(0x28a)],_0x567c29=E[_0x265810(0x1b2)]['encode'](E[_0x265810(0x4b5)](_0x44c133));_0x1732dc[_0x265810(0x28a)]=_0x567c29,Object[_0x265810(0x2bc)](_0x1732dc[_0x265810(0x1c2)])[_0x265810(0x35b)](([,_0x39123a])=>{var _0xe3e983=_0x265810;const _0x19885c=_0x39123a[_0xe3e983(0x28a)],_0x2b734d=E[_0xe3e983(0x1b2)][_0xe3e983(0x1b3)](E['b64DecodeUnicode'](_0x19885c));_0x39123a[_0xe3e983(0x28a)]=_0x2b734d;});}return _0x35bec1;}async[_0x10f867(0x44d)](_0x575c48,_0x151261){var _0x1f6dbd=_0x10f867;const {unitID:_0x398099,type:_0x238a6c,blockID:_0xc28fc0}=_0x151261,_0x3192c2=this['_getAPIPrefix']()+'/'+_0x238a6c+_0x1f6dbd(0x408)+_0x398099+'/block/'+_0xc28fc0;return(await this[_0x1f6dbd(0x397)]['get'](_0x3192c2))[_0x1f6dbd(0x22c)];}async[_0x10f867(0x354)](_0xf764b1,_0x526c4a){var _0x140f00=_0x10f867;const {unitID:_0x3c81fa,type:_0x792585,blockID:_0x4b9a83}=_0x526c4a,_0x2af654=this[_0x140f00(0x42c)]()+'/block/'+_0x792585+_0x140f00(0x408)+_0x3c81fa+_0x140f00(0x4c1)+_0x4b9a83;return(await this[_0x140f00(0x397)][_0x140f00(0x433)](_0x2af654))[_0x140f00(0x22c)];}async[_0x10f867(0x3f2)](_0x4827de,_0xc553d0){var _0x2f758b=_0x10f867;const {unitID:_0x4b7beb,type:_0x2de84d,from:_0x5494d2,to:_0x57cc43}=_0xc553d0,_0x25aeb1=this['_getAPIPrefix']()+'/'+_0x2de84d+_0x2f758b(0x408)+_0x4b7beb+_0x2f758b(0x468)+_0x5494d2+_0x2f758b(0x228)+_0x57cc43;return(await this['_httpService'][_0x2f758b(0x433)](_0x25aeb1))[_0x2f758b(0x22c)];}[_0x10f867(0x27b)](){var _0x21d683=_0x10f867,_0x19921b;return(_0x19921b=this[_0x21d683(0x22b)][_0x21d683(0x345)](Ut))!=null?_0x19921b:this[_0x21d683(0x42c)]();}['_getAPIPrefix'](){var _0xd4260f=_0x10f867,_0x4ee5c1;const _0x22316c=this[_0xd4260f(0x22b)]['getConfig'](Y);return(_0x4ee5c1=_0x22316c==null?void 0x0:_0x22316c['snapshotServerUrl'])!=null?_0x4ee5c1:yt;}async[_0x10f867(0x2cb)](_0x3323d3,_0x16ae49){var _0x19fe8c=_0x10f867;const _0x3329b3='/universer-api/snapshot/'+_0x16ae49['type']+_0x19fe8c(0x408)+_0x16ae49[_0x19fe8c(0x2cd)]+_0x19fe8c(0x2a6);return(await this[_0x19fe8c(0x397)][_0x19fe8c(0x433)](_0x3329b3,{'params':{'resourceId':JSON[_0x19fe8c(0x34f)](_0x16ae49[_0x19fe8c(0x422)])}}))[_0x19fe8c(0x22c)];}[_0x10f867(0x210)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x905616=_0x10f867;throw new Error(_0x905616(0x19c));}[_0x10f867(0x384)](){var _0x273dcd=_0x10f867;throw new Error(_0x273dcd(0x19c));}[_0x10f867(0x2ac)](){var _0x4a4e12=_0x10f867;throw new Error(_0x4a4e12(0x19c));}[_0x10f867(0x3d1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x10f867(0x4d8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x10f867(0x2b3)]=In([ot(0x0,o[_0x10f867(0x405)]),ot(0x1,o[_0x10f867(0x225)](K[_0x10f867(0x328)]))],exports[_0x10f867(0x2b3)]);var fn=Object[_0x10f867(0x509)],En=(_0x5ef401,_0x22ede2,_0x331e1c,_0x598595)=>{var _0x57efa4=_0x10f867;for(var _0x277ba1=_0x598595>0x1?void 0x0:_0x598595?fn(_0x22ede2,_0x331e1c):_0x22ede2,_0x2301b0=_0x5ef401[_0x57efa4(0x371)]-0x1,_0x1d1c9f;_0x2301b0>=0x0;_0x2301b0--)(_0x1d1c9f=_0x5ef401[_0x2301b0])&&(_0x277ba1=_0x1d1c9f(_0x277ba1)||_0x277ba1);return _0x277ba1;},ue=(_0x819113,_0x3033a2)=>(_0x59f4f2,_0x1c9212)=>_0x3033a2(_0x59f4f2,_0x1c9212,_0x819113);exports['CollaborativeUndoRedoService']=class extends o[_0x10f867(0x482)]{constructor(_0x53260f,_0x505ef5,_0x3ea90a,_0x306b6b,_0x31a64c){var _0x273286=_0x10f867;super(_0x53260f,_0x505ef5,_0x3ea90a),this['_transformService']=_0x306b6b,this[_0x273286(0x280)]=_0x31a64c;}[_0x10f867(0x3a0)](_0x144b49,_0x57b7b8){var _0x183bb5=_0x10f867;const _0x5cc3f3=this[_0x183bb5(0x2ae)](_0x144b49);if(_0x5cc3f3)try{const _0x52ebba=this[_0x183bb5(0x342)](_0x5cc3f3,_0x57b7b8);this[_0x183bb5(0x1b5)](_0x144b49,_0x52ebba);}catch(_0x2b2052){this[_0x183bb5(0x280)][_0x183bb5(0x3a8)](_0x183bb5(0x3c2),_0x2b2052),this[_0x183bb5(0x31d)](_0x144b49);}const _0xed7e82=this['_getRedoStack'](_0x144b49);if(_0xed7e82)try{const _0x6e5778=this['_transformStack'](_0xed7e82,_0x57b7b8);this[_0x183bb5(0x4af)](_0x144b49,_0x6e5778);}catch(_0x2aa640){this[_0x183bb5(0x280)][_0x183bb5(0x3a8)](_0x2aa640),this[_0x183bb5(0x4ea)](_0x144b49);}}[_0x10f867(0x31d)](_0x49a114){var _0x131953=_0x10f867;const _0x39950b=this[_0x131953(0x2ae)](_0x49a114);_0x39950b&&(_0x39950b[_0x131953(0x371)]=0x0,this[_0x131953(0x1a9)]());}[_0x10f867(0x4ea)](_0x3c32d3){var _0x3b3bd7=_0x10f867;const _0x31c9e6=this[_0x3b3bd7(0x3e4)](_0x3c32d3);_0x31c9e6&&(_0x31c9e6['length']=0x0,this[_0x3b3bd7(0x1a9)]());}[_0x10f867(0x1b5)](_0x116bca,_0x25977c){var _0x3ee2f9=_0x10f867;this[_0x3ee2f9(0x3b8)][_0x3ee2f9(0x186)](_0x116bca,_0x25977c),this[_0x3ee2f9(0x1a9)]();}[_0x10f867(0x4af)](_0x5240a3,_0xcf547){var _0x4102a3=_0x10f867;this['_redoStacks'][_0x4102a3(0x186)](_0x5240a3,_0xcf547),this[_0x4102a3(0x1a9)]();}[_0x10f867(0x342)](_0x15e0f0,_0xf0aa94){var _0x4e56aa=_0x10f867;const _0x2f7b5d=[];let _0x106165=_0xf0aa94,_0x1416ef=_0xf0aa94;for(let _0x4eae2a=_0x15e0f0[_0x4e56aa(0x371)]-0x1;_0x4eae2a>=0x0;_0x4eae2a--){const {unitID:_0x41f9c3,undoMutations:_0x37c398,redoMutations:_0x1f777c}=_0x15e0f0[_0x4eae2a],_0x1d40ee=this[_0x4e56aa(0x33c)][_0x4e56aa(0x4da)](_0x106165,_0x37c398),_0x3c496=this[_0x4e56aa(0x33c)][_0x4e56aa(0x4da)](_0x1416ef,_0x1f777c);if(E[_0x4e56aa(0x240)](_0x1d40ee)||E[_0x4e56aa(0x240)](_0x3c496)){this[_0x4e56aa(0x280)][_0x4e56aa(0x3a8)](_0x4e56aa(0x3c2),_0x4e56aa(0x23b),_0x1d40ee,_0x3c496);break;}_0x106165=_0x1d40ee['c1Prime'],_0x1416ef=_0x3c496[_0x4e56aa(0x1a3)],_0x2f7b5d[_0x4e56aa(0x24d)]({'unitID':_0x41f9c3,'undoMutations':_0x1d40ee['m2Prime'],'redoMutations':_0x3c496[_0x4e56aa(0x323)]});}return _0x2f7b5d[_0x4e56aa(0x346)]();}},exports[_0x10f867(0x41f)]=En([ue(0x0,o[_0x10f867(0x470)]),ue(0x1,o[_0x10f867(0x374)]),ue(0x2,o[_0x10f867(0x3e7)]),ue(0x3,E[_0x10f867(0x297)]),ue(0x4,o[_0x10f867(0x4f6)])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x10f867(0x3f5)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x5b7dc0,_0x58a50f,_0x726b8)=>_0x58a50f in _0x5b7dc0?pn(_0x5b7dc0,_0x58a50f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x726b8}):_0x5b7dc0[_0x58a50f]=_0x726b8,Tn=(_0x358426,_0x5008ec,_0x529ded,_0x4cad9c)=>{var _0x480835=_0x10f867;for(var _0x49d955=_0x4cad9c>0x1?void 0x0:_0x4cad9c?mn(_0x5008ec,_0x529ded):_0x5008ec,_0x4cfd62=_0x358426[_0x480835(0x371)]-0x1,_0x4a93ec;_0x4cfd62>=0x0;_0x4cfd62--)(_0x4a93ec=_0x358426[_0x4cfd62])&&(_0x49d955=_0x4a93ec(_0x49d955)||_0x49d955);return _0x49d955;},we=(_0x17dca2,_0x5d3883)=>(_0x48d8b4,_0x128daa)=>_0x5d3883(_0x48d8b4,_0x128daa,_0x17dca2),Cn=(_0x511d39,_0x30dac3,_0x1e555e)=>gn(_0x511d39,_0x30dac3+'',_0x1e555e);const On=_0x10f867(0x493);exports[_0x10f867(0x4c7)]=class extends o[_0x10f867(0x2e5)]{constructor(_0x287a5b,_0x1d202b,_0x580a19,_0x159b04){var _0x361cd4=_0x10f867;super(),A(this,_0x361cd4(0x1c1)),(this[_0x361cd4(0x280)]=_0x1d202b,this[_0x361cd4(0x4f8)]=_0x580a19,this[_0x361cd4(0x22b)]=_0x159b04);const {..._0x4271be}=o[_0x361cd4(0x2f7)]({},Qt,_0x287a5b);if(!_0x4271be[_0x361cd4(0x3bb)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x4271be,this[_0x361cd4(0x22b)][_0x361cd4(0x183)](Y,_0x4271be);}[_0x10f867(0x247)](){var _0x2ea53a=_0x10f867;this[_0x2ea53a(0x40c)](),this[_0x2ea53a(0x1ae)]();}[_0x10f867(0x40c)](){var _0x344cbe=_0x10f867,_0x1ef605,_0x215666;this['_injector']['has'](o['IUndoRedoService'])&&this[_0x344cbe(0x280)][_0x344cbe(0x3a8)](_0x344cbe(0x488),_0x344cbe(0x2cc));const _0x52dd49=o[_0x344cbe(0x1e7)]([[o[_0x344cbe(0x4f9)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x344cbe(0x1fd)]],[exports[_0x344cbe(0x215)]],[exports[_0x344cbe(0x508)]],[Ne],[De],[$e],[ye],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this[_0x344cbe(0x1c1)][_0x344cbe(0x3bb)]}],[E[_0x344cbe(0x296)],{'useClass':exports[_0x344cbe(0x2b3)]}],[o[_0x344cbe(0x2bd)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x344cbe(0x18e)],{'useClass':exports['CollaborationImageIoService']}],[o[_0x344cbe(0x373)],{'useClass':exports[_0x344cbe(0x1af)]}],[exports['CollaborationController']],[xe]],(_0x1ef605=this['_config'])==null?void 0x0:_0x1ef605[_0x344cbe(0x21a)]);if(!((_0x215666=this[_0x344cbe(0x1c1)])!=null&&_0x215666['enableSingleActiveInstanceLock'])){const _0x33d5f7=_0x52dd49[_0x344cbe(0x2f3)](([_0x4880df])=>_0x4880df===ve);_0x33d5f7!==-0x1&&_0x52dd49['splice'](_0x33d5f7,0x1);}o['registerDependencies'](this[_0x344cbe(0x4f8)],_0x52dd49);}['_initDependencies'](){var _0x570627=_0x10f867,_0xff274,_0x1423cc,_0xa4e0ce;this[_0x570627(0x4f8)][_0x570627(0x433)](K[_0x570627(0x328)])[_0x570627(0x35a)]({'priority':0x14,'interceptor':K[_0x570627(0x17e)]({'maxParallel':0x6})}),(_0xff274=this[_0x570627(0x1c1)])!=null&&_0xff274[_0x570627(0x393)]||(_0x1423cc=this[_0x570627(0x4f8)]['get'](q,o['Quantity'][_0x570627(0x333)]))==null||_0x1423cc[_0x570627(0x246)](),(_0xa4e0ce=this[_0x570627(0x1c1)])!=null&&_0xa4e0ce[_0x570627(0x1e6)]&&o['touchDependencies'](this['_injector'],[[Ne]]),o[_0x570627(0x4c4)](this[_0x570627(0x4f8)],[[De],[exports[_0x570627(0x4e5)]],[ye]]);}},Cn(exports[_0x10f867(0x4c7)],_0x10f867(0x339),On),exports[_0x10f867(0x4c7)]=Tn([o[_0x10f867(0x355)](E[_0x10f867(0x2e7)],K[_0x10f867(0x442)]),we(0x1,o[_0x10f867(0x4f6)]),we(0x2,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),we(0x3,o[_0x10f867(0x405)])],exports[_0x10f867(0x4c7)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x10f867(0x3e9)]=je,exports['CollaborationUIEventId']=J,exports[_0x10f867(0x42b)]=ee,exports[_0x10f867(0x48c)]=$e,exports[_0x10f867(0x4ac)]=_t,exports[_0x10f867(0x4c6)]=Bt,exports[_0x10f867(0x347)]=Pt,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=Fe,exports[_0x10f867(0x2a1)]=q,exports['INetworkConditionService']=pt,exports[_0x10f867(0x21c)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x10f867(0x290)]=xt,exports[_0x10f867(0x2d0)]=jt,exports[_0x10f867(0x3c0)]=ut,exports['SessionStatus']=se,exports[_0x10f867(0x267)]=He,exports[_0x10f867(0x444)]=mt,exports['getLocalCacheKey']=zt,exports[_0x10f867(0x302)]=gt;function _0x4832(){var _0x540dbc=['commentUpdate$','NoPadding','__creator','_onConnectionOpen','NO_OTHER_CLIENTS_EDITING','_resendTimer','getCollabEntity$','max','decryptBlock','copyFileMeta','deepClone','PSEUDO_FETCH_MISSING_RESULT','_tryReconnect','Error\x20on\x20receiving\x20event','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_INVALID_COUPON_CODE','SetSelectionsOperation','keySize','SOCKET_FAILED_RETRY','algo','dispose','awaiting','msCrypto','min','HEARTBEAT_INTERVAL','/-/object/list','emitEvent','_entities','_getRedoStack','firstValueFrom','CONFLICT','IContextService','CHANGESET_REJ','CollaborationStatus','words','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationTimeoutTimer','YUUMI_ALL_TABLES_IS_INVALID','getTime','_sessions','catch','[CollaborationEntity]','fetchMissingChangesets','[PendingState]:\x20received\x20rejection.','[PendingState]:\x20received\x20acknowledgement.','defineProperty','readyForCollab','updateMember','onRemoteRej','_minBufferSize','cfg','_parse','APPLY_NON_SEQUENTIAL_REVISION','1196088qBPDEX','title','joinEvent','change$','mapDocumentTypeToUniverType','Failed\x20to\x20update\x20permission\x20point','JSONX','incrementRevOfUnit','IConfigService','_createInitialStateImpl','getFocusedUnit','/unit/','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','status$','url','_registerDependencies','_throwTelemetryCollaborationNewChangeset','unpad','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','readInt32LE','call','_acknowledgedAwaitingChangeset','UNKNOWN_CMD','_iv','_sender','_onConflict','ENTITLE_DUP_SUBSCRIPTION','REDEMPTION_CODE_FULLY_REDEEMED','_retryConnectingTimer','_stopTelemetryCollaborationNewChangeset','buffer','then','_key','LIVESHARE_REQUEST_HOST','CollaborativeUndoRedoService','REDEMPTION_CODE_NOT_STARTED','_pendingMutations','resourceIDs','every','_unitInfo$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','localCacheService','499151UfoZXd','interceptor','code','_toggleOffline','CollaborationUIEventService','_getAPIPrefix','SHOULD_CLOSE_CONN','parseChangesetToProtocol','_getAPIPrefixPath','univer-pro.collaboration-client.network-condition.service','_toggleOnline','/universer-api/authz','get','LIVESHARE_OPERATION','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','delay','&assign=','EMAIL_HAS_BEEN_BOUND','_nRounds','INVALID_INVITE_CODE','_getSendChangesetTimeout','duration','addImageSourceCache','onMissingChangesets','BufferedBlockAlgorithm','asObservable','AuthzIoHttpService','UniverNetworkPlugin','complete','deserializeToCombResponse','SnapshotService','capture','members','concat','SOCKET_FAILED','/universer-api/uniscript','_undoRedoService','getInterceptPoints','getSheetBlock','mutations','_process','_snapshotService','onTransformRemoteChangesetByStateCache','withCredentials','_sendHeartbeat','_resendTimeout','authzUrl','DATA_SOURCE_TOO_LARGE','blockSize','delete','[CollaborationSessionService]:\x20socket\x20error','_state','_eventService','collaborators','univer-pro.collaboration-client.single-active-unit-service','offline','takeUntil','REDEMPTION_USER_NOT_ELIGIBLE','range','closeSession','_getLoginPath','snapshot','LICENSE_DISTRO_REJECTED','_exhaustRemoteChangesetQueue','indexOf','/fetchmissing?from=','resend','_emitMembers','data','unsubscribe','UNRECOGNIZED','LEAVE','_ENC_XFORM_MODE','IUniverInstanceService','permissionRejEvent','loadUnit','StreamCipher','_initRequestHeader','INVALID_ARGUMENT','sequenceExecute','parse','NEW_CHANGESETS','loadSheet','_sendingTimer','3706328VudXGy','objectType','send','debug','c2Prime','createIdentifier','CollaborationEvent','LocalUndoRedoService','toDisposable','APPLY_DUPLICATED','_onUserLeave','4nsCgvw','_roomCreated$','[UniverCollaborationClientPlugin]','Base64','_replayCachedMutations','event$','CommentService','format','ENTITLE_INSUFFICIENT_QUOTA','UNIVER_PROJECT','byteLength','COMMENT_UPDATE','_singleActiveUnitService','UNIVER_COLLABORATION_CLIENT_PLUGIN','ivSize','Univer','HMAC','_univerInstanceService','YUUMI_UNABLE_LOAD_URL','_getDownloadEndpointURL','JOIN_ROOM_PERMISSION_DENIED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','subject','AES','_updateLocalCache','JOINING','LIVESHARE_NEW_HOST','Hex','_scheduleCollaborationTimeoutTimer','CollaborationSocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','ERROR_EXCEED_SIZE','UNIVER_SLIDE','_clearLocalCache','focused$','hasOwnProperty','saveImage','slice','DEFAULT_COLLAB_WEB_SOCKET_URL','encrypt','requireSession','_substituteRedoStack','synced','_unitID','univer-pro.collaboration-client-socket-service','function','SyncedState','b64DecodeUnicode','CommandType','method','RETRY_CONNECTING_MAX_COUNT','_transformStateCache','/new_changes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','session','_userManagerService','SheetsSelectionsService','{fileID}','getUnit','/block/','_sessionStatus$','onRemoteChangeset','touchDependencies','AwaitingWithPendingState','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverCollaborationClientPlugin','onMutationExecutedForCollab','_lockTransition','removeMember','conflict','_clearCollaborationTimeoutTimer','sigBytes','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onCommentUpdate','Cipher','onload','_socket$','createEncryptor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','LICENSE_MAX_UNITS_EXCEEDED','/allowed','_rescheduleHeartbeat','getLatestCsReqIdBySid','GLOBAL_ROOMS_CNT_EXCEEDS','transformMutationsWithChangeset','_doProcessBlock','YUUMI_NO_CUBOID_FOR_QUESTION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','update','MUTATION','result','pipe','CollaborationController','image/png','csAckEvent','REDEMPTION_CODE_INACTIVE','repeat','_clearRedo','lib','loadDoc','FAIL','_state$','Utf8','_permissionService','toggleOffline','NOT_COLLAB','_onUserJoin','toggleOnline','batchAllowed','ILogService','_status$','_injector','IUndoRedoService','FETCH_MISS','HEARTBEAT_TIMEOUT','WordArray','SNAPSHOT_URL_KEY','objectActions','finalize','setWaitCount','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_startTelemetryCollaborationNewChangeset','_clearTimeoutTimer','_telemetryService','_snapshotServerService','NOT_FOUND','_compressMutationService','SheetTransformSelectionsService','getOwnPropertyDescriptor','splice','USER_IS_ANONYMOUS','createSocket','YUUMI_CONNECTOR_URL_NOT_FOUND','collaMsg','ThresholdInterceptorFactory','onStateChange','onLocalMutation','YUUMI_AI_RUN_FAILED','43638WzipUJ','setConfig','onTransformIME','image/gif','set','signUrlServerUrl','BASE64','APPLY_PERMISSION_DENIED','LOGIN_FAILED','_clearHeartbeatTimer','list','error$','IImageIoService','Module','_createHandler','sessionStatus$','_telemetryInfo','DisposableCollection','reject','createCollaborator','USERS_ENTER','ERROR_IMAGE','state$','_change$','sid','_doCreateSocket','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','next','type','objects','1150935HYDWBv','BlockCipher','ClipsheetFragments','c1Prime','appendMutation','_executeRemoteChangeset','_queuedRemoteChangesets','[CollaborationSessionService]','updateOfflineData','_updateStatus','SNAPSHOT_HAS_BEEN_REMOVED','isInternalEditorID','LocaleService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_initDependencies','MentionIoHttpService','_reverseMap','USER_NOT_INVITED_CODE','textEncoder','encode','getCurrentRevOfUnit','_substituteUndoStack','stopTime','SHA1','LICENSE_IMPORT_SIZE_EXCEEDED','_keyPriorReset','LIVESHARE_FETCH_OPERATIONS','CONNECTOR_DATA_TOO_LARGE','1110640jZYlvy','_createHmacHelper','Decryptor','_memberService','ENSURE_SNAPSHOT_EXECUTION','_config','sheets','onTransformSelections','_iKey','COMPLETION_FINISHED','SUBMIT_CHANGESET','CollaborationImageIoService','location','_schedule','_unlockTransition','ENTITLE_USE_COUPON_NOT_1ST_TRADE','equals','exports','OpenSSL','UnitSnapshot','/universer-api/oidc/authpage','Subject','_sendHeartbeatTimer','_socket','sendChangesetTimeout','updateCollaborator','SUBMIT_CHANGESET_TIMEOUT','_entityInit$','getValue','_getCurrentRevision','BehaviorSubject','getImage','getRandomValues','toStringTag','transformChangesets','[SyncedState]:\x20received\x20acknowledgement.','init','_event$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','loadUnitOfRevision','abs','MOBILE_HAS_BEEN_BOUND','enableAuthServer','mergeOverrideWithDependencies','_socketReady','InsertSheetMutation','JOIN_ROOM_FAILED','headers','clamp','now','key','editing\x20status\x20changed\x20to','ENTITLE_NEED_BILLING_ADDRESS','state','charCodeAt','textRanges','collaboration-client.config','_keySchedule','shareReplay','random','memberID','HttpExport','unitId','ONLINE','getCurrentSelections','CollaborationSessionService','?url=','commentUpdateEvent','createDecryptor','FetchingMissState','hostname','MentionType','startsWith','onTransformState','csShouldRetryEvent','add','MOBILE_VERIFY_CODE_MISMATCH','downloadEndpointUrl','SheetCollaborationEntity','_maxTotalRetryTimeout','open$','PasswordBasedCipher','YUUMI_ASYNCIO_CANCELLED','onTransformRemoteChangesetByIMECache','saveSnapshot','\x0aCurrent:\x20','resolve','reconnect','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MemberService','enc','unitInfo$','YUUMI_RATE_OVER_LIMIT','target','override','enableCollaboration','ISingleActiveUnitService','infoRsp','userID','apply','_map','UNKNOWN_CODE','salt','_disableEditing','status','Inject','roles','27YhIRik','&to=','HELLO','DocCollaborationEntity','_configService','body','createInstance','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','collaboration-client.local-cache-service','MergeInterceptorFactory','_transformSelections','reset','UserProfileImg','localeService','WECHAT_HAS_BEEN_BOUND','_clearRetryConnectingTimer','session.room-cnt-exceeds','executeCommand','cmd','generateRandomId','transformStack\x20failed!','CompressMutationService','_transformUndoredo','_doFinalize','PERMISSION_DENIED','isTransformMutationsWithChangesetFailure','disposeWithMe','TOO_MANY_REQUESTS','_scheduleCompleteTimestamp','Optional','responseType','disableLocalCache','onStarting','_candidateSocket','FileId','onlyLocal','shouldCloseConn','[OfflineState]:\x20received\x20changeset.','push','[SyncedState]:\x20received\x20rejection.','_initCloseConn','getCurrentUser','[OfflineState]:\x20received\x20acknowledgement.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_collaborationPaused','objectID','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getTypeOfUnitAdded$','take','BlockCipherMode','_onRemoteACK','isTransformMutationsWithChangesetSuccess','USERS_LEAVE','dispose$','FETCH_MISSING','map','OTHER_CLIENTS_EDITING','replace','loginUrlKey','_transformRemoteChangesetByStateCache','_replaceFileID','EMAIL_VERIFY_CODE_MISMATCH','ENTITLE_CHAT_LIMIT_EXCEED','SerializableCipher','UnitStatus','_data','_tryEnsureSocket','PY_RUNTIME_SCRIPT_ERROR','_onJoinRoomEvent','CURRENT_STATUS_CANNOT_OPERATE','_createInitialState','_sheetTransformSelectionsService','_networkConditionService','_isPermissionRej','REDEMPTION_INVALID_CODE','_socketService','fetchMiss','_shouldReportTelemetry','APPLY_REJECT','_instanceService','getCollabEntity','liveShareOperation','RevisionService','_onConnectionFailed','getSnapshotAPIPath','_updateState','\x20-\x20','pad','sessionStatus','_logService','Undefined','processBlock','_createHelper','/rev/','extend','INTERNAL_ERROR','execute','allowed','updatePermissionObjEvent','originalMeta','_createSocket','put','floor','_hasher','_append','LOCAL_CACHE_INTERVAL_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','image/jpeg','close','_handlerCallback','has','ISnapshotServerService','ITransformService','getUnitId','file','randomBytes','onRemoteRetry','_resendWithTimeout','SNAPSHOT_INVALID_SNAPSHOT','_initMergeInterceptor','AwaitingState','HEARTBEAT','ILocalCacheService','_timeoutTimer','_checkMissing','transformSelections','_onOffline','/resources','listRoles','UniverInstanceType','_applyRemoteChangeset','clear','/role','saveChangeset','eventID','_getUndoStack','pauseCollaboration','JOIN_ROOM_NOT_EXISTS','UnitEmbedded','_imageSourceCache','SnapshotServerOverHTTPService','AWAITING_WITH_PENDING','_waitCount','_hash','actions','MD5','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','close$','LIVESHARE_TERMINATE','entries','IAuthzIoService','create','SheetPermissionInitController','EvpKDF','_incrementRevisionNumber','getMember','_invKeySchedule','Injector','fetchThroughInterceptors','x-univer-host','_onRemoteRejected','IDLE','POST','_showConflictNotification','getResourcesRequest','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unitID','ReplaySubject','People','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearScheduledTask','_decreaseWaiting','prototype','includes','encryptBlock','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','crypto','RxDisposable','DEFAULT_FILE_NAME','find','REDEMPTION_CODE_HAS_BEEN_CREATED','_remoteChangesetQueue','_collaborationSessionService','_localCacheService','COMPRESS_MUTATION_APPLY','_transitionLocked','JOIN_ROOM_FULL','_xformMode','_changesetReqId','Workbook','Plugin','Pkcs7','UniverCollaborationPlugin','requestParams','uuidv4','_initUnitPermissionChange','OfflineState','online$','_removeRoom','_commandService','OFFLINE','getImageSourceCache','__splitChunk__','refreshPermission','findIndex','ImageSourceType','isPermissionRej','LOGIN_TOKEN_PROCESSING_FAILED','merge','auth.needGotoLoginAlert','_getCtorByUniverType','PERMISSION_REJ','_changesetSessionId','updatePermissionPoint','_onRemoteChangeset','UPDATE_PERMISSION_OBJ','_handler','_onRemoteRetry','href','serializeCombRequest','selections','MSG_FOR_ERROR','ImageUploadStatusType','filter','formatter','INVITE_CODE_ALREADY_BOUND','ENTITLE_COUPON_USED_UP','11739LfTagP','CollaborationEntity','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','setShowComponents','reqId','onSendChangeset','fetch_missing','_waitForHeartbeatResponse','padding','_transformRemoteChangesetByIMECache','_onCombEvent','join','_type','setCurrentUser','from','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','decrypt','RichTextEditingMutation','_clearUndo','routeKey','getMemberID','LICENSE_EXPORT_SIZE_EXCEEDED','_joinRoom','?size=','m2Prime','ciphertext','_mode','pending','UNDEFINED','HTTPService','ceil','/collaborator','baseRev','params','[OfflineState]:\x20received\x20rejection.','awaiting_with_pending','_listenToNetworkCondition','_commentService','parseProtocolChangeset','UPDATE_CURSOR','OPTIONAL','_transformIMECache','hasher','_collaborationUIEventService','_collabSessionService','post','pluginName','ERROR_IMAGE_TYPE','clone','_transformService','getRoom','PAYMENT_CHANNEL_NOT_SUPPORT','getUnitType','Malformed\x20UTF-8\x20data','connection\x20error','_transformStack','INGEST','ALREADY_EXISTS','getConfig','reverse','DEFAULT_WS_SESSION_TICKET_URL','_fetchMissChangesets','onRemoteAck','subscribe','message$','isArray','isTransformChangesetsSuccess','fromCharCode','stringify','charAt','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Disposable','mode','getDeserializedSheetBlock','DependentOn','string','revision','_init','_onLocalMutation','registerHTTPInterceptor','forEach','getAllMembers','Base','_submitChangeset','ConflictState','telemetry\x20info\x20is\x20not\x20initialized','_commentUpdate$','CollaborationSession','size','reduce','/object/','compute','YUUMI_URL_COL_OUT_OF_RANGE','PERSON','collaboratorID','IPermissionService','CHANGESET_ACK','src','UNISCRIPT_RUN','COMPRESS_MUTATION_SEND','APPLY_REVISION_CONFILICT','getUnitOnRev','length','_onMessage','IMentionIOService','ICommandService','UserManagerService','toString','_nDataBytes','Tools','/-/object/-/batch_allowed','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','JOIN','onSyncEditingCollabCursor','_getSignURL','LOCAL_CACHE_INTERVAL','loadOfflineData','_revisionService','_onFetchMissResult','UNIVER_DOC','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','saveSheetBlock','name','CLOSE_ROOM','_doReset','_HTTPService','getUnitStatus$','_startCollaboration','CHANGESET_REVISION_CONFILICT','image/jpg','RECV','INVITE_CODE_HAS_BEEN_UES','subUnitId','session.room-permission-denied','mixIn','getActiveSheet','enableOfflineEditing','kdf','_retryCount','avatar','_httpService','[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.','session.join-failed','default','_members$','DataLoaderService','__esModule','1422CcCqbE','onMissedChangesetFetched','transformUndoRedo','PendingState','concatMap','_cipher','getTypeOfUnitDisposed$','[CollaborationState]:\x20apply\x20error!','byteOffset','Hasher','error','session.room-not-exists','getWorkbookSelections','action','USER_NOT_FOUND','Encryptor','AUTHORIZE_CODE_ILLEGAL','_roomMembers','SUCCUSS','_socketMessageSubscription','HmacSHA1','compose','unitId\x20is\x20not\x20found','Rectangle','_awaitingChangeset','_members','_undoStacks','CHANGESET_SHOULD_RETRY','[DataLoaderService]','socketService','\x0aAfter:\x20','_syncEditingCollabCursor','image/bmp','UNIVER_SHEET','RETRY_CONNECTING_MAX_COUNT_KEY','unknown','[CollaborationUndoRedoService]','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','addHandlerCallback','ENTITLE_COUPON_EXPIRED','WorkbookEditablePermission','[CollaborationSession]'];_0x4832=function(){return _0x540dbc;};return _0x4832();}
|
|
1
|
+
'use strict';var _0x4dc0f1=_0x571e;(function(_0x2a6d83,_0x4cbb70){var _0x2a2d09=_0x571e,_0x234f6d=_0x2a6d83();while(!![]){try{var _0x20e8f9=-parseInt(_0x2a2d09(0x221))/0x1*(parseInt(_0x2a2d09(0x262))/0x2)+-parseInt(_0x2a2d09(0x1be))/0x3*(parseInt(_0x2a2d09(0x3a3))/0x4)+-parseInt(_0x2a2d09(0x1b7))/0x5*(-parseInt(_0x2a2d09(0x23f))/0x6)+parseInt(_0x2a2d09(0xcc))/0x7+parseInt(_0x2a2d09(0xa2))/0x8*(-parseInt(_0x2a2d09(0x14c))/0x9)+-parseInt(_0x2a2d09(0x2f6))/0xa*(parseInt(_0x2a2d09(0x1ac))/0xb)+-parseInt(_0x2a2d09(0x125))/0xc*(-parseInt(_0x2a2d09(0x1e7))/0xd);if(_0x20e8f9===_0x4cbb70)break;else _0x234f6d['push'](_0x234f6d['shift']());}catch(_0x3cdc9e){_0x234f6d['push'](_0x234f6d['shift']());}}}(_0x1dd0,0x2e369));var bt=Object[_0x4dc0f1(0x34d)],Rt=(_0x28be0a,_0x21427f,_0x764f2c)=>_0x21427f in _0x28be0a?bt(_0x28be0a,_0x21427f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x764f2c}):_0x28be0a[_0x21427f]=_0x764f2c,A=(_0x3f8b85,_0x13a29b,_0x145328)=>Rt(_0x3f8b85,typeof _0x13a29b!=_0x4dc0f1(0x151)?_0x13a29b+'':_0x13a29b,_0x145328);Object[_0x4dc0f1(0x34d)](exports,Symbol['toStringTag'],{'value':'Module'});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=_0x4dc0f1(0xa7),Ut=_0x4dc0f1(0x39b),At=0x7d0,_t=_0x4dc0f1(0x111),Pt=_0x4dc0f1(0x154),ht=_0x4dc0f1(0x394),Lt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,Mt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',wt=0x3,xt=_0x4dc0f1(0x3a5),kt=0x3e8,$t='/universer-api/comb',Ht=_0x4dc0f1(0x171),jt=_0x4dc0f1(0x3f6),Bt=_0x4dc0f1(0xa4);var vt=(_0x261a89=>(_0x261a89[_0x261a89[_0x4dc0f1(0x337)]=0x0]='UNDEFINED',_0x261a89[_0x261a89['OK']=0x1]='OK',_0x261a89[_0x261a89['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x261a89[_0x261a89['PERMISSION_DENIED']=0x3]=_0x4dc0f1(0x210),_0x261a89[_0x261a89[_0x4dc0f1(0xae)]=0x4]=_0x4dc0f1(0xae),_0x261a89[_0x261a89[_0x4dc0f1(0x2ef)]=0x5]=_0x4dc0f1(0x2ef),_0x261a89[_0x261a89[_0x4dc0f1(0x1e3)]=0x6]=_0x4dc0f1(0x1e3),_0x261a89[_0x261a89['INVALID_ARGUMENT']=0x7]=_0x4dc0f1(0x1ea),_0x261a89[_0x261a89['TOO_MANY_REQUESTS']=0x8]=_0x4dc0f1(0x3cb),_0x261a89[_0x261a89[_0x4dc0f1(0x286)]=0x9]=_0x4dc0f1(0x286),_0x261a89[_0x261a89[_0x4dc0f1(0x290)]=0xa]='LOGIN_FAILED',_0x261a89[_0x261a89[_0x4dc0f1(0x108)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x261a89[_0x261a89[_0x4dc0f1(0x1f0)]=0xc]=_0x4dc0f1(0x1f0),_0x261a89[_0x261a89[_0x4dc0f1(0x1e1)]=0xd]=_0x4dc0f1(0x1e1),_0x261a89[_0x261a89[_0x4dc0f1(0x32f)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x261a89[_0x261a89[_0x4dc0f1(0x1e9)]=0xf]=_0x4dc0f1(0x1e9),_0x261a89[_0x261a89[_0x4dc0f1(0x362)]=0x10]=_0x4dc0f1(0x362),_0x261a89[_0x261a89[_0x4dc0f1(0x8b)]=0x64]=_0x4dc0f1(0x8b),_0x261a89[_0x261a89[_0x4dc0f1(0x2cf)]=0x65]=_0x4dc0f1(0x2cf),_0x261a89[_0x261a89['USER_NOT_FOUND']=0xc9]=_0x4dc0f1(0x17e),_0x261a89[_0x261a89[_0x4dc0f1(0x1d5)]=0xca]=_0x4dc0f1(0x1d5),_0x261a89[_0x261a89[_0x4dc0f1(0xfd)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x261a89[_0x261a89[_0x4dc0f1(0x2a2)]=0x1771]=_0x4dc0f1(0x2a2),_0x261a89[_0x261a89[_0x4dc0f1(0x38e)]=0x1772]=_0x4dc0f1(0x38e),_0x261a89[_0x261a89[_0x4dc0f1(0x97)]=0x1773]=_0x4dc0f1(0x97),_0x261a89[_0x261a89[_0x4dc0f1(0x1b8)]=0x1b59]=_0x4dc0f1(0x1b8),_0x261a89[_0x261a89[_0x4dc0f1(0x232)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x261a89[_0x261a89[_0x4dc0f1(0x194)]=0x1b5b]=_0x4dc0f1(0x194),_0x261a89[_0x261a89[_0x4dc0f1(0xe6)]=0x1b5c]=_0x4dc0f1(0xe6),_0x261a89[_0x261a89[_0x4dc0f1(0x387)]=0x1b5d]=_0x4dc0f1(0x387),_0x261a89[_0x261a89[_0x4dc0f1(0x349)]=0x1f41]=_0x4dc0f1(0x349),_0x261a89[_0x261a89[_0x4dc0f1(0x1a3)]=0x2329]=_0x4dc0f1(0x1a3),_0x261a89[_0x261a89['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4dc0f1(0x222),_0x261a89[_0x261a89[_0x4dc0f1(0x320)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x261a89[_0x261a89[_0x4dc0f1(0x3fb)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x261a89[_0x261a89[_0x4dc0f1(0x391)]=0x232d]=_0x4dc0f1(0x391),_0x261a89[_0x261a89[_0x4dc0f1(0x39a)]=0x2711]=_0x4dc0f1(0x39a),_0x261a89[_0x261a89[_0x4dc0f1(0x7b)]=0x2712]=_0x4dc0f1(0x7b),_0x261a89[_0x261a89[_0x4dc0f1(0x254)]=0x2713]=_0x4dc0f1(0x254),_0x261a89[_0x261a89[_0x4dc0f1(0x3fc)]=0x2714]=_0x4dc0f1(0x3fc),_0x261a89[_0x261a89[_0x4dc0f1(0x410)]=0x271a]=_0x4dc0f1(0x410),_0x261a89[_0x261a89[_0x4dc0f1(0x184)]=0x271b]=_0x4dc0f1(0x184),_0x261a89[_0x261a89['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x261a89[_0x261a89['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4dc0f1(0x141),_0x261a89[_0x261a89['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x261a89[_0x261a89['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4dc0f1(0x21c),_0x261a89[_0x261a89[_0x4dc0f1(0x3ff)]=0x2720]=_0x4dc0f1(0x3ff),_0x261a89[_0x261a89[_0x4dc0f1(0x22c)]=0x2af9]=_0x4dc0f1(0x22c),_0x261a89[_0x261a89[_0x4dc0f1(0x2dc)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x261a89[_0x261a89[_0x4dc0f1(0x390)]=0x2ee2]=_0x4dc0f1(0x390),_0x261a89[_0x261a89['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4dc0f1(0x331),_0x261a89[_0x261a89['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4dc0f1(0x32b),_0x261a89[_0x261a89['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4dc0f1(0x20e),_0x261a89[_0x261a89[_0x4dc0f1(0xe2)]=0x32c9]=_0x4dc0f1(0xe2),_0x261a89[_0x261a89[_0x4dc0f1(0x32c)]=0x32ca]=_0x4dc0f1(0x32c),_0x261a89[_0x261a89[_0x4dc0f1(0x103)]=0x32cb]=_0x4dc0f1(0x103),_0x261a89[_0x261a89['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4dc0f1(0x36d),_0x261a89[_0x261a89['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4dc0f1(0xf9),_0x261a89[_0x261a89[_0x4dc0f1(0x147)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x261a89[_0x261a89[_0x4dc0f1(0x329)]=0x36b4]=_0x4dc0f1(0x329),_0x261a89[_0x261a89['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4dc0f1(0x2fd),_0x261a89[_0x261a89[_0x4dc0f1(0x2ea)]=0x36b6]=_0x4dc0f1(0x2ea),_0x261a89[_0x261a89[_0x4dc0f1(0x2da)]=0x36b7]=_0x4dc0f1(0x2da),_0x261a89[_0x261a89[_0x4dc0f1(0x251)]=0x36b8]=_0x4dc0f1(0x251),_0x261a89[_0x261a89[_0x4dc0f1(0x39c)]=0x3715]=_0x4dc0f1(0x39c),_0x261a89[_0x261a89[_0x4dc0f1(0x38a)]=0x3716]=_0x4dc0f1(0x38a),_0x261a89[_0x261a89[_0x4dc0f1(0x14b)]=0x3717]=_0x4dc0f1(0x14b),_0x261a89[_0x261a89[_0x4dc0f1(0x3f2)]=0x37dd]=_0x4dc0f1(0x3f2),_0x261a89[_0x261a89['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4dc0f1(0xc1),_0x261a89[_0x261a89[_0x4dc0f1(0x1b9)]=0x3a9a]=_0x4dc0f1(0x1b9),_0x261a89[_0x261a89[_0x4dc0f1(0x374)]=0x3a9b]=_0x4dc0f1(0x374),_0x261a89[_0x261a89['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x4dc0f1(0x19f),_0x261a89[_0x261a89[_0x4dc0f1(0x13b)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x261a89[_0x261a89[_0x4dc0f1(0x336)]=0x3a9e]=_0x4dc0f1(0x336),_0x261a89[_0x261a89[_0x4dc0f1(0x7a)]=0x3a9f]=_0x4dc0f1(0x7a),_0x261a89[_0x261a89[_0x4dc0f1(0x1d2)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x261a89[_0x261a89['UNRECOGNIZED']=-0x1]=_0x4dc0f1(0x263),_0x261a89))(vt||{}),X=(_0x4cf35b=>(_0x4cf35b[_0x4cf35b[_0x4dc0f1(0x31f)]=0x0]='UNIVER_UNKNOWN',_0x4cf35b[_0x4cf35b[_0x4dc0f1(0x3b0)]=0x1]=_0x4dc0f1(0x3b0),_0x4cf35b[_0x4cf35b[_0x4dc0f1(0x30a)]=0x2]='UNIVER_SHEET',_0x4cf35b[_0x4cf35b[_0x4dc0f1(0x404)]=0x3]=_0x4dc0f1(0x404),_0x4cf35b[_0x4cf35b[_0x4dc0f1(0x377)]=0x4]=_0x4dc0f1(0x377),_0x4cf35b[_0x4cf35b[_0x4dc0f1(0x263)]=-0x1]=_0x4dc0f1(0x263),_0x4cf35b))(X||{}),W=(_0x485f8e=>(_0x485f8e[_0x485f8e['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x485f8e[_0x485f8e[_0x4dc0f1(0x346)]=0x1]=_0x4dc0f1(0x346),_0x485f8e[_0x485f8e['JOIN']=0x2]=_0x4dc0f1(0x81),_0x485f8e[_0x485f8e[_0x4dc0f1(0x330)]=0x3]=_0x4dc0f1(0x330),_0x485f8e[_0x485f8e[_0x4dc0f1(0x2eb)]=0x4]=_0x4dc0f1(0x2eb),_0x485f8e[_0x485f8e[_0x4dc0f1(0x179)]=0x5]='HEARTBEAT',_0x485f8e[_0x485f8e['RECV']=0x6]=_0x4dc0f1(0x398),_0x485f8e[_0x485f8e[_0x4dc0f1(0x263)]=-0x1]='UNRECOGNIZED',_0x485f8e))(W||{}),re=(_0x5bb8d3=>(_0x5bb8d3[_0x5bb8d3[_0x4dc0f1(0x361)]=0x0]=_0x4dc0f1(0x361),_0x5bb8d3[_0x5bb8d3['OK']=0x1]='OK',_0x5bb8d3[_0x5bb8d3[_0x4dc0f1(0xea)]=0x2]='FAIL',_0x5bb8d3[_0x5bb8d3[_0x4dc0f1(0x386)]=0x3e9]=_0x4dc0f1(0x386),_0x5bb8d3[_0x5bb8d3[_0x4dc0f1(0x117)]=0x3ea]=_0x4dc0f1(0x117),_0x5bb8d3[_0x5bb8d3[_0x4dc0f1(0xc3)]=0x3eb]=_0x4dc0f1(0xc3),_0x5bb8d3[_0x5bb8d3[_0x4dc0f1(0x341)]=0x3ec]=_0x4dc0f1(0x341),_0x5bb8d3[_0x5bb8d3['UNRECOGNIZED']=-0x1]=_0x4dc0f1(0x263),_0x5bb8d3))(re||{}),dt=(_0x4f1d89=>(_0x4f1d89[_0x4f1d89[_0x4dc0f1(0x214)]=0x0]=_0x4dc0f1(0x214),_0x4f1d89[_0x4f1d89[_0x4dc0f1(0x2c1)]=0x1]=_0x4dc0f1(0x2c1),_0x4f1d89[_0x4f1d89['HttpExport']=0x2]=_0x4dc0f1(0x2f8),_0x4f1d89[_0x4f1d89[_0x4dc0f1(0x15d)]=0x3]=_0x4dc0f1(0x15d),_0x4f1d89[_0x4f1d89[_0x4dc0f1(0x369)]=0x4]='UnitSnapshot',_0x4f1d89[_0x4f1d89[_0x4dc0f1(0x354)]=0x5]=_0x4dc0f1(0x354),_0x4f1d89[_0x4f1d89[_0x4dc0f1(0xe3)]=0x6]=_0x4dc0f1(0xe3),_0x4f1d89[_0x4f1d89[_0x4dc0f1(0x263)]=-0x1]=_0x4dc0f1(0x263),_0x4f1d89))(dt||{});function _0x1dd0(){var _0x427532=['forEach','RECV','_candidateSocket','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_URL_KEY','ENTITLE_CHAT_LIMIT_EXCEED','_createInitialStateImpl','_onFetchMissResult','DisposableCollection','_incrementRevisionNumber','OpenSSL','padding','52JARcFr','pluginName','LOCAL_CACHE_INTERVAL','WordArray','getMember','awaitingChangeset','PERMISSION_REJ','image/gif','ITelemetryService','keySize','DEFAULT_FILE_NAME','ceil','getTypeOfUnitDisposed$','UNIVER_DOC','OTHER_CLIENT_EDITING','_disableEditing','_singleActiveUnitService','createCollaborator','decryptBlock','_startTelemetryCollaborationNewChangeset','code','Hex','status','Plugin','Decryptor','getFocusedUnit','_isPermissionRej','/role','max','toDisposable','_cipher','FETCH_MISS','enableSingleActiveInstanceLock','duration','ONLINE','getCollabEntity$','indexOf','JOINING','complete','IContextService','TOO_MANY_REQUESTS','IImageIoService','socket\x20open.','sid','_doProcessBlock','_updateLocalCache','csAckEvent','_networkConditionService','onStarting','SheetCollaborationEntity','/block/','updatePermissionPoint','LIVESHARE_OPERATION','removeMember','BufferedBlockAlgorithm','getUnitType','unknown','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationSessionService','createIdentifier','_keySchedule','[PendingState]:\x20received\x20acknowledgement.','NEW_CHANGESETS','execute','Subject','saveSnapshot','LIVESHARE_FETCH_OPERATIONS','setShowComponents','touchDependencies','UniverInstanceType','from','responseType','_memberService','PERSON','CollaborativeUndoRedoService','put','onSyncEditingCollabCursor','_init','getRandomValues','ENTITLE_NEED_BILLING_ADDRESS','push','_removeRoom','_onMessage','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','list','CollaborationEntity','_submitChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_SUBSCRIPTION_NOT_FOUND','mapDocumentTypeToUniverType','localCacheService','YUUMI_CONNECTOR_URL_NOT_FOUND','_state','_retryCount','has','RevisionService','UNIVER_SLIDE','session.join-failed','reconnect','_timeoutTimer','onMissingChangesets','ITransformService','state','iterations','headers','socket$','/-/object/list','_exhaustRemoteChangesetQueue','YUUMI_NO_CUBOID_FOR_QUESTION','_transformUndoredo','_queuedRemoteChangesets','initWorkbookPermissionChange','getLatestCsReqIdBySid','size','_onRemoteRetry','serializeCombRequest','commentUpdate$','_unlockTransition','delay','IMentionIOService','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_URL_COL_OUT_OF_RANGE','_logService','formatter','sendChangesetTimeout','key','getLocalCacheKey','JOIN','isTransformMutationsWithChangesetSuccess','reject','downloadEndpointUrl','AES','UPDATE_PERMISSION_OBJ','parse','_commandService','FetchingMissState','encrypt','CURRENT_STATUS_CANNOT_OPERATE','encodeURIComponent','__esModule','src','pad','BlockCipherMode','onTransformRemoteChangesetByStateCache','kdf','?size=','_tryReconnect','reduce','_registerDependencies','ENSURE_SNAPSHOT_EXECUTION','getCurrentSelections','updateCursorEvent','_onRecvEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_checkMissing','_replayCachedMutations','_snapshotService','Failed\x20to\x20update\x20permission\x20point','infoRsp','extend','112iPdRmn','getCurrentUser','/universer-api/uniscript','ILocalCacheService','resourceIDs','/universer-api/snapshot','session.room-permission-denied','uuidv4','Optional','find','_scheduleCollaborationTimeoutTimer','SessionStatus','NOT_FOUND','closeSession','onTransformSelections','state$','[CollaborationSessionService]:\x20socket\x20error','LIVESHARE_TERMINATE','authzUrl','collaboration_new_changeset','_nRounds','createInstance','onTransformRemoteChangesetByIMECache','unitId','name','deserializeToCombResponse','_hash','_roomCreated$','_fetchMissChangesets','createSocket','_clearTimeoutTimer','REDEMPTION_INVALID_CODE','offline','JOIN_ROOM_PERMISSION_DENIED','FileId','StreamCipher','CipherParams','save\x20fail\x20reason\x20is\x20','_univerInstanceService','session.room-full','delete','href','252623vyqkHq','onRemoteRej','_resendWithTimeout','message$','_snapshotServerService','mixIn','/allowed','append','encryptBlock','_xformMode','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','\x20in\x20_schedule.','abs','open$','data','mutations','_joinRoom','setConfig','HmacSHA1','\x0aAfter:\x20','file','_transformSelections','WECHAT_HAS_BEEN_BOUND','ClipsheetFragments','_clearUndo','onload','APPLY_PERMISSION_DENIED','getUnitOnRev','getAllMembers','/collaborator','FAIL','concat','[UniverCollaborationClientPlugin]','CommandType','BehaviorSubject','PENDING','setCurrentUser','clamp','[CollaborationUndoRedoService]','createEncryptor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','slice','hasOwnProperty','call','send','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','blockSize','UNISCRIPT_RUN','map','CHANGESET_REVISION_CONFILICT','algo','Encryptor','LOCAL_CACHE_INTERVAL_KEY','_getDownloadEndpointURL','/object/','EMAIL_HAS_BEEN_BOUND','_event$','toggleOffline','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','dispose$','MOBILE_VERIFY_CODE_MISMATCH','salt','/universer-api/file/{fileID}/sign-url','cmd','_sheetTransformSelectionsService','prototype','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','HEARTBEAT_TIMEOUT_KEY','CHANGESET_REJ','ws://127.0.0.1:8000/universer-api/comb/connect','_rescheduleHeartbeat','roles','_compressMutationService','MentionType','then','JOIN_ROOM_NOT_EXISTS','__Key__','\x20-\x20','transformChangesets','MUTATION','floor','CONFLICT','enableAuthServer','_instanceService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[FetchMissState]','online$','_onConnectionFailed','revision','324wVRofm','HMAC','requireSession','init','_replaceFileID','DEFAULT_WS_SESSION_TICKET_URL','Malformed\x20UTF-8\x20data','unit-cache-','onRemoteAck','CollaborationSession','mode','actions','_transformStateCache','uniscriptRunEvent','_injector','DocCollaborationEntity','_initUnitPermissionChange','members$','_process','fetchThroughInterceptors','_sendingTimer','getImage','REDEMPTION_USER_NOT_ELIGIBLE','ILogService','_getAPIPrefixPath','subUnitId','_mode','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_ALL_TABLES_IS_INVALID','location','substr','workbook','processBlock','_initRequestHeader','ENTITLE_DUP_SUBSCRIPTION','b64DecodeUnicode','_remoteChangesetQueue','socketService','ENTITLE_INSUFFICIENT_QUOTA','3411juweXL','collaborators','transformMutationsWithChangeset','_iKey','?url=','symbol','target','SOCKET_FAILED_RETRY','/universer-api/user/session-ticket','randomBytes','unsubscribe','body','changesets','_waitCount','SetSelectionsOperation','CollaborationImageIoService','CollaborationEvent','UnitEmbedded','getInterceptPoints','collaboration-client.config','OFFLINE','dispose','_getUndoStack','loadUnitOfRevision','stringify','awaiting_with_pending','PSEUDO_FETCH_MISSING_RESULT','Base64','_createHandler','_redoStacks','objectActions','override','COMPRESS_MUTATION_SEND','_onOffline','transformUndoRedo','msCrypto','isInternalEditorID','/universer-api/oidc/authpage','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','MemberService','includes','getSnapshotAPIPath','get','COMPRESS_MUTATION_APPLY','ReplaySubject','HEARTBEAT','telemetry\x20info\x20is\x20not\x20initialized','editingUnit','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ivSize','USER_NOT_FOUND','LocalUndoRedoService','ERROR_IMAGE','_imageSourceCache','_sessionStatus$','length','YUUMI_ASYNCIO_CANCELLED','SUBMIT_CHANGESET_TIMEOUT','getResourcesRequest','repeat','onMutationExecutedForCollab','capture','change$','[DataLoaderService]','copyFileMeta','hostname','_localCacheService','catch','ciphertext','crypto','Cipher','People','APPLY_REVISION_CONFILICT','decrypt','getTypeOfUnitAdded$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ISnapshotServerService','_collabSessionService','joinEvent','disposeWithMe','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_prevBlock','liveShareNewHost','REDEMPTION_CODE_NOT_STARTED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','subscribe','members','LICENSE_MAX_UNITS_EXCEEDED','exports','requestParams','charAt','auth.needGotoLoginAlert','LIVESHARE_REQUEST_HOST','origin','SyncedState','/unit/','3331295eEWjQr','textEncoder','appendMutation','UniverCollaborationClientPlugin','[OfflineState]:\x20received\x20rejection.','$super','_toggleOnline','getOwnPropertyDescriptor','_initMergeInterceptor','Workbook','COMMENT_UPDATE','95aOSqHu','APPLY_REJECT','REDEMPTION_CODE_INACTIVE','_change$','_socket$','getConfig','deleteCollaborator','23919sDvovv','eventID','[OfflineState]:\x20received\x20changeset.','isTransformChangesetsSuccess','_shouldReportTelemetry','_entityInit$','MSG_FOR_ERROR','_clearRedo','default','fromCollab','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetTransformSelectionsService','startTime','_handlerCallback','pipe','_nDataBytes','every','status$','Utf8','BASE64','DATA_SOURCE_TOO_LARGE','error','_createHelper','USER_IS_ANONYMOUS','saveChangeset','_decreaseWaiting','c1Prime','EvpKDF','awaiting','onLocalMutation','transformSelections','USERS_LEAVE','_configService','InsertSheetMutation','univer-pro.collaboration-client-socket-service','EMAIL_VERIFY_CODE_MISMATCH','Injector','ALREADY_EXISTS','/rev/','PasswordBasedCipher','CHANGESET_ACK','406289ncJYds','_config','AUTHORIZE_CODE_ILLEGAL','INVALID_ARGUMENT','interceptor','function','fetchMiss','_transformRemoteChangesetByStateCache','getUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SOCKET_FAILED','_status$','post','UNIVER_COLLABORATION_CLIENT_PLUGIN','_createSocket','leaveEvent','NO_OTHER_CLIENTS_EDITING','_doReset','string','update','compose','clear','onMissedChangesetFetched','JOIN_ROOM_FAILED','loginUrlKey','[CollaborationSessionService]','_getUploadFileURL','baseRev','enableOfflineEditing','SnapshotServerOverHTTPService','Base','getCurrentRevOfUnit','reset','RxDisposable','clone','action','collaboration-client.local-cache-service','objectID','splice','INVITE_CODE_ALREADY_BOUND','_invKeySchedule','PERMISSION_DENIED','_permissionService','_data','compute','Undefined','DependentOn','IUniverInstanceService','AwaitingWithPendingState','/universer-api/authz','replace','AWAITING_WITH_PENDING','routeKey','YUUMI_AI_RUN_FAILED','addImageSourceCache','_doFinalize','getValue','snapshotServerUrl','26ZrGeID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ImageSourceType','_clearLocalCache','_oKey','executeCommand','\x20to\x20','WorkbookEditablePermission','join','FETCH_MISSING','SHA1','PY_RUNTIME_SCRIPT_ERROR','CollaborationUIEventService','joinRsp','_members$','[CollaborationSession]','buffer','APPLY_NON_SEQUENTIAL_REVISION','addHandlerCallback','putCollaborators','updateSnapshot','_onConnectionOpen','unitID','saveSheetBlock','session','CollaborationSocketService','onSendChangeset','findIndex','createDecryptor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','21222JxGvZi','ThresholdInterceptorFactory','reverse','_onJoinRoomEvent','POST','charCodeAt','_HTTPService','resolve','univer-pro.collaboration-client.single-active-unit-service','m2Prime','_transformStack','UnitStatus','_parse','_resendTimeout','firstValueFrom','OTHER_CLIENTS_EDITING','_clearScheduledTask','create','ENTITLE_USE_COUPON_NOT_1ST_TRADE','/-/object/-/batch_allowed','__creator','YUUMI_RATE_OVER_LIMIT','_entities','method','_doCryptBlock','collabSubmitChangesetUrl','_iv','_doCreateSocket','/resources','UniverCollaborationPlugin','SerializableCipher','loadSheet','_maxTotalRetryTimeout','AWAITING','_socketService','26618OyJAhx','UNRECOGNIZED','_toggleOffline','LIVESHARE_NEW_HOST','IPermissionService','conflict','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Hasher','[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20','textRanges','SHOULD_CLOSE_CONN','getUnitStatus$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','image/jpeg','startsWith','_listenToNetworkCondition','USERS_ENTER','_onUserJoin','_keyPriorReset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_transformIMECache','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','ICollaborationSocketService','selections','encode','_onCombEvent','close','emitEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_socketMessageSubscription','confirm','pauseCollaboration','CompressMutationService','CBC','loadOfflineData','COMPLETION_FINISHED','_getAPIPrefix','_transformRemoteChangesetByIMECache','now','PendingState','_createHmacHelper','getTime','finalize','filter','resolveWithBasePath','LOGIN_FAILED','pending','/fetchmissing?from=','INetworkConditionService','CLOSE_ROOM','words','SnapshotService','not_collab','LocaleService','localeService','ERROR_EXCEED_SIZE','withCredentials','asObservable','_getRedoStack','_getSendChangesetTimeout','RichTextEditingMutation','_initDependencies','IConfigService','SNAPSHOT_INVALID_SNAPSHOT','type','_schedule','_collaborationUIEventService','socket\x20close','_lockTransition','onlyLocal','_executeRemoteChangeset','_revisionService','ICommandService','loadUnit','&assign=','[SyncedState]:\x20received\x20acknowledgement.','x-univer-host','failed\x20to\x20apply\x20missed\x20changesets!','UPDATE_CURSOR','result','sheets','isPermissionRej','\x0aCurrent:\x20','_map','_localeService','DataLoaderService','_throwTelemetryCollaborationNewChangeset','mergeOverrideWithDependencies','_collaborationPaused','getSheetId','updateMember','_undoRedoService','_transitionLocked','_onConflict','HttpImport','_showConflictNotification','registerDependencies','_unitInfo$','event$','_key','set','params','_changesetReqId','Disposable','enc','sessionStatus','CollaborationController','_commentUpdate$','ERROR_AGAIN','_updateState','Quantity','takeUntil','Could\x20not\x20dynamically\x20require\x20\x22','_getLoginPath','isTransformMutationsWithChangesetFailure','waitForRoom$','_scheduleCompleteTimestamp','onRemoteChangeset','_onRemoteACK','ENTITLE_COUPON_USED_UP','Error\x20on\x20receiving\x20event','INVITE_CODE_HAS_BEEN_UES','_syncEditingCollabCursor','_stopTelemetryCollaborationNewChangeset','toString','_hasher','_awaitingChangeset','HEARTBEAT_INTERVAL_KEY','image/png','_onRemoteRejected','_onLocalMutation','_members','OfflineState','onCommentUpdate','sessionStatus$','ENTITLE_COUPON_EXPIRED','INGEST','/new_changes','listRoles','Tools','UNAUTHENTICATED','_append','SheetPermissionInitController','SheetsSelectionsService','BlockCipher','HTTPService','fromCharCode','10Noxobr','lib','HttpExport','IDLE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','editing\x20status\x20changed\x20to','_sender','ENTITLE_INVALID_COUPON_CODE','collabWebSocketUrl','byteLength','_resendTimer','loadDoc','sigBytes','UserManagerService','take','_getCtorByUniverType','_minBufferSize','byteOffset','collaMsg','IUndoRedoService','UNIVER_SHEET','[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.','_sendHeartbeat','_sendHeartbeatTimer','SUBMIT_CHANGESET','min','onTransformState','isArray','_httpService','_roomMembers','_eventService','updateOfflineData','_applyRemoteChangeset','sequenceExecute','objects','refreshPermission','getUnitId','_startCollaboration','resend','MD5','toggleOnline','UNIVER_UNKNOWN','LICENSE_IMPORT_SIZE_EXCEEDED','getDeserializedSheetBlock','_state$','ConflictState','AwaitingState','_telemetryInfo','SYNCED','_waitForHeartbeatResponse','_unitID','PAYMENT_CHANNEL_NOT_SUPPORT','signUrlServerUrl','USER_NOT_INVITED_CODE','MOBILE_HAS_BEEN_BOUND','getSheetBlock','sin','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LEAVE','INVITE_CODE_REQUIRED','_acknowledgedAwaitingChangeset','apply','CommentService','_retryConnectingTimer','REDEMPTION_USER_REDEEM_TIMES_EXCEED','UNDEFINED','_socketReady','CHANGESET_SHOULD_RETRY','_updateStatus','_changesetSessionId','fetch_missing','liveShareOperation','_handler','connection\x20error','reqId','GLOBAL_ROOMS_CNT_EXCEEDS','_type','_substituteRedoStack','ImageUploadStatusType','registerHTTPInterceptor','HELLO','values','HTTPRequest','CONNECTOR_DATA_TOO_LARGE','format','csRejEvent','_initCloseConn','defineProperty','AuthzIoHttpService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','debug','objectType','range','MentionIoHttpService','UserProfileImg','_collaborationTimeoutTimer','_clearHeartbeatTimer','_collaborationSessionService','unitInfo$','NoPadding','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getActiveSheet','random','getGlobalObject','readyForCollab','hasher','subject','UNKNOWN_CODE','LOGIN_TOKEN_PROCESSING_FAILED','roomInfos','_clearRetryConnectingTimer','_getCurrentRevision','close$','url','_onUserLeave','UnitSnapshot','session.room-not-exists','getCollabEntity','add','ENTITLE_CAN_NOT_BUY_LOWER_OTP','saveImage','permissionRejEvent','memberID','Latin1','onRemoteRetry','next','REDEMPTION_CODE_FULLY_REDEEMED','_tryEnsureSocket','setWaitCount','UNIVER_PROJECT','/universer-api/stream/file/upload','_userManagerService','allowed','onTransformIME','ISocketService','_socket','_ENC_XFORM_MODE','cfg','_pendingMutations','_sessions','merge','[PendingState]:\x20received\x20rejection.','stopTime','_telemetryService','JOIN_ROOM_FULL','APPLY_DUPLICATED','_createInitialState','Inject','ENTITLE_REPORT_LIMIT_EXCEED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_transformService','updatePermissionObjEvent','SNAPSHOT_HAS_BEEN_REMOVED','listCollaborators','INVALID_INVITE_CODE','LICENSE_DISTRO_REJECTED','_clearCollaborationTimeoutTimer','fetchMissingChangesets','HEARTBEAT_INTERVAL','_onRemoteChangeset','incrementRevOfUnit'];_0x1dd0=function(){return _0x427532;};return _0x1dd0();}const Ft=_0x4dc0f1(0xb5);function Vt(_0x1cc30d){var _0x2b273f=_0x4dc0f1;return JSON['stringify'](_0x1cc30d)[_0x2b273f(0x183)];}var J=(_0xde1257=>(_0xde1257[_0x4dc0f1(0x3b1)]=_0x4dc0f1(0x3b1),_0xde1257[_0x4dc0f1(0x210)]=_0x4dc0f1(0x210),_0xde1257[_0x4dc0f1(0x11d)]=_0x4dc0f1(0x11d),_0xde1257[_0x4dc0f1(0x294)]=_0x4dc0f1(0x294),_0xde1257[_0x4dc0f1(0x1fe)]=_0x4dc0f1(0x1fe),_0xde1257[_0x4dc0f1(0x153)]=_0x4dc0f1(0x153),_0xde1257[_0x4dc0f1(0x1f1)]=_0x4dc0f1(0x1f1),_0xde1257[_0x4dc0f1(0x185)]='SUBMIT_CHANGESET_TIMEOUT',_0xde1257))(J||{});class ee{constructor(){var _0x581c3d=_0x4dc0f1;A(this,_0x581c3d(0x104),new j[(_0x581c3d(0x3e3))]()),A(this,'event$',this[_0x581c3d(0x104)][_0x581c3d(0x29c)]());}['emitEvent'](_0xb6558d){var _0x2a88a3=_0x4dc0f1;this[_0x2a88a3(0x104)][_0x2a88a3(0x373)](_0xb6558d);}}class $e{constructor(){var _0x1b76be=_0x4dc0f1;A(this,_0x1b76be(0x2ce),new j['Subject']()),A(this,_0x1b76be(0x76),this[_0x1b76be(0x2ce)][_0x1b76be(0x29c)]());}[_0x4dc0f1(0x2e8)](_0x579686){var _0x5d3b01=_0x4dc0f1;this[_0x5d3b01(0x2ce)]['next'](_0x579686);}}var Wt=Object[_0x4dc0f1(0x1b3)],Gt=(_0x2f53c4,_0x49a76a,_0x14e4bd,_0x3af88b)=>{var _0xc133d6=_0x4dc0f1;for(var _0x4eb912=_0x3af88b>0x1?void 0x0:_0x3af88b?Wt(_0x49a76a,_0x14e4bd):_0x49a76a,_0x46a579=_0x2f53c4[_0xc133d6(0x183)]-0x1,_0x7394ab;_0x46a579>=0x0;_0x46a579--)(_0x7394ab=_0x2f53c4[_0x46a579])&&(_0x4eb912=_0x7394ab(_0x4eb912)||_0x4eb912);return _0x4eb912;},Ve=(_0x1f06c5,_0x112d07)=>(_0x4177b5,_0x1787cf)=>_0x112d07(_0x4177b5,_0x1787cf,_0x1f06c5);exports[_0x4dc0f1(0x173)]=class extends o['Disposable']{constructor(_0x5cd981,_0x1f7b47){var _0x28dd71=_0x4dc0f1;super(),A(this,_0x28dd71(0x313),new Map()),A(this,'_roomCreated$',new j[(_0x28dd71(0x3e3))]()),(this[_0x28dd71(0xc8)]=_0x5cd981,this['_userManagerService']=_0x1f7b47,this['disposeWithMe'](j['merge'](this['_univerInstanceService'][_0x28dd71(0x3af)](o[_0x28dd71(0x3e8)][_0x28dd71(0x30a)])[_0x28dd71(0x1cc)](V[_0x28dd71(0xfc)](_0x3d9d92=>_0x3d9d92[_0x28dd71(0x31a)]())),this['_univerInstanceService'][_0x28dd71(0x3af)](o[_0x28dd71(0x3e8)]['UNIVER_DOC'])['pipe'](V[_0x28dd71(0xfc)](_0x5baeb3=>_0x5baeb3[_0x28dd71(0x31a)]())),this[_0x28dd71(0xc8)][_0x28dd71(0x3af)](o['UniverInstanceType'][_0x28dd71(0x404)])[_0x28dd71(0x1cc)](V[_0x28dd71(0xfc)](_0x2a72eb=>_0x2a72eb['getUnitId']())))['subscribe'](_0x589142=>this['_removeRoom'](_0x589142))));}[_0x4dc0f1(0x2d6)](_0x5df7d6){var _0x2352b8=_0x4dc0f1;return this[_0x2352b8(0x313)][_0x2352b8(0x402)](_0x5df7d6)?j['of'](this[_0x2352b8(0x313)][_0x2352b8(0x176)](_0x5df7d6)):this[_0x2352b8(0xbd)]['pipe'](V[_0x2352b8(0xfc)](_0x10cda8=>{var _0x128f81=_0x2352b8;if(_0x10cda8===_0x5df7d6)return this[_0x128f81(0x313)][_0x128f81(0x176)](_0x10cda8);}));}[_0x4dc0f1(0xf0)](_0xa7e68b){var _0x1d23e0=_0x4dc0f1;this[_0x1d23e0(0x379)]['setCurrentUser'](_0xa7e68b);}[_0x4dc0f1(0xa3)](){var _0x33ed01=_0x4dc0f1;return this[_0x33ed01(0x379)][_0x33ed01(0xa3)]();}[_0x4dc0f1(0x2bd)](_0x5e274d,_0x24ca27){var _0x386c3d=_0x4dc0f1;let _0x303b5c=this[_0x386c3d(0x313)]['get'](_0x5e274d);_0x303b5c||(_0x303b5c=new Yt(),this[_0x386c3d(0x313)]['set'](_0x5e274d,_0x303b5c),this[_0x386c3d(0xbd)][_0x386c3d(0x373)](_0x5e274d)),_0x303b5c[_0x386c3d(0x2bd)](_0x24ca27);}[_0x4dc0f1(0x3d8)](_0x4470ad,_0x1933f4){var _0x296a85=_0x4dc0f1;const _0x43cb55=this[_0x296a85(0x313)][_0x296a85(0x176)](_0x4470ad);_0x43cb55&&_0x43cb55[_0x296a85(0x3d8)](_0x1933f4);}['getRoom'](_0xcd5c89){var _0x2c13da=_0x4dc0f1;return this[_0x2c13da(0x313)][_0x2c13da(0x176)](_0xcd5c89);}[_0x4dc0f1(0x3a7)](_0x225ec7,_0x132976){var _0x4dd528=_0x4dc0f1;const _0x53dba4=this[_0x4dd528(0x313)]['get'](_0x225ec7);if(_0x53dba4)return _0x53dba4[_0x4dd528(0x3a7)](_0x132976);}[_0x4dc0f1(0x3f4)](_0x1a306f){var _0x273315=_0x4dc0f1;const _0x3c6ba7=this[_0x273315(0x313)][_0x273315(0x176)](_0x1a306f);_0x3c6ba7&&(_0x3c6ba7[_0x273315(0x161)](),this['_roomMembers']['delete'](_0x1a306f));}['dispose'](){var _0x3d2928=_0x4dc0f1;this[_0x3d2928(0x313)][_0x3d2928(0x397)](_0x4e1141=>_0x4e1141[_0x3d2928(0x161)]()),this[_0x3d2928(0x313)]['clear'](),this['_roomCreated$'][_0x3d2928(0x3c9)]();}},exports[_0x4dc0f1(0x173)]=Gt([Ve(0x0,o[_0x4dc0f1(0x216)]),Ve(0x1,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x303)]))],exports['MemberService']);class Yt extends o[_0x4dc0f1(0x2ca)]{constructor(){var _0x24cd83=_0x4dc0f1;super(...arguments),A(this,_0x24cd83(0x2e6),new Map()),A(this,_0x24cd83(0x22f),new j[(_0x24cd83(0xee))](this[_0x24cd83(0x2e6)])),A(this,_0x24cd83(0x136),this['_members$']['asObservable']());}['dispose'](){var _0xeca3ec=_0x4dc0f1;this[_0xeca3ec(0x2e6)]['clear']();}[_0x4dc0f1(0x2bd)](_0x4a53d2){var _0x3eb33e=_0x4dc0f1;this[_0x3eb33e(0x2e6)][_0x3eb33e(0x2c7)](_0x4a53d2[_0x3eb33e(0x370)],_0x4a53d2),this['_emitMembers']();}[_0x4dc0f1(0x3d8)](_0xf0d95f){var _0x28574c=_0x4dc0f1;this['_members'][_0x28574c(0xca)](_0xf0d95f);}[_0x4dc0f1(0x3a7)](_0x544ac9){var _0x52efac=_0x4dc0f1;return this[_0x52efac(0x2e6)][_0x52efac(0x176)](_0x544ac9);}[_0x4dc0f1(0xe8)](){var _0x3b50d1=_0x4dc0f1;return Array[_0x3b50d1(0x3e9)](this[_0x3b50d1(0x2e6)][_0x3b50d1(0x347)]());}['_emitMembers'](){var _0x1f3995=_0x4dc0f1;this[_0x1f3995(0x22f)][_0x1f3995(0x373)](this[_0x1f3995(0x2e6)]);}}var Kt=Object[_0x4dc0f1(0x1b3)],qt=(_0x1ad99d,_0x2c5a7f,_0xcae817,_0x3a4f67)=>{var _0x50b4ed=_0x4dc0f1;for(var _0x19f97=_0x3a4f67>0x1?void 0x0:_0x3a4f67?Kt(_0x2c5a7f,_0xcae817):_0x2c5a7f,_0x1442e8=_0x1ad99d[_0x50b4ed(0x183)]-0x1,_0x33d7c2;_0x1442e8>=0x0;_0x1442e8--)(_0x33d7c2=_0x1ad99d[_0x1442e8])&&(_0x19f97=_0x33d7c2(_0x19f97)||_0x19f97);return _0x19f97;},ce=(_0x3dcd20,_0x5b1999)=>(_0x13491b,_0x4834e0)=>_0x5b1999(_0x13491b,_0x4834e0,_0x3dcd20),se=(_0x3389f3=>(_0x3389f3[_0x3389f3[_0x4dc0f1(0x2f9)]=0x0]='IDLE',_0x3389f3[_0x3389f3[_0x4dc0f1(0x3c8)]=0x1]=_0x4dc0f1(0x3c8),_0x3389f3[_0x3389f3[_0x4dc0f1(0x160)]=0x2]=_0x4dc0f1(0x160),_0x3389f3[_0x3389f3[_0x4dc0f1(0x3c5)]=0x3]=_0x4dc0f1(0x3c5),_0x3389f3))(se||{});const We={[re[_0x4dc0f1(0xea)]]:_0x4dc0f1(0x405),[re[_0x4dc0f1(0x386)]]:_0x4dc0f1(0xc9),[re['JOIN_ROOM_NOT_EXISTS']]:_0x4dc0f1(0x36a),[re['JOIN_ROOM_PERMISSION_DENIED']]:_0x4dc0f1(0xa8),[re['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};exports[_0x4dc0f1(0x12e)]=class extends o[_0x4dc0f1(0x208)]{constructor(_0xa8934,_0x26d3c2,_0x1521dd,_0x3b5ced,_0x55a083,_0x363c00,_0x5bcfa8,_0x528b36){var _0x3368e0=_0x4dc0f1;super(),A(this,_0x3368e0(0x182),new j[(_0x3368e0(0xee))](0x0)),A(this,_0x3368e0(0x2e9),this[_0x3368e0(0x182)][_0x3368e0(0x29c)]()),A(this,_0x3368e0(0x104),new j[(_0x3368e0(0x3e3))]()),A(this,_0x3368e0(0x2c5),this[_0x3368e0(0x104)]['asObservable']()),A(this,_0x3368e0(0x37d)),A(this,_0x3368e0(0x280)),A(this,'_collaborationTimeoutTimer'),A(this,_0x3368e0(0x1c2),!0x1),A(this,'_telemetryInfo',null),(this[_0x3368e0(0x328)]=_0xa8934,this['_logService']=_0x1521dd,this['_configService']=_0x3b5ced,this[_0x3368e0(0x3eb)]=_0x55a083,this['_commentService']=_0x363c00,this[_0x3368e0(0x2a5)]=_0x5bcfa8,this[_0x3368e0(0x385)]=_0x528b36,this[_0x3368e0(0x1c2)]=!!this[_0x3368e0(0x385)],_0x26d3c2[_0x3368e0(0x1cc)](j[_0x3368e0(0x2d2)](this['dispose$']))[_0x3368e0(0x1a1)](_0x1ed8ba=>{var _0x5ccc1e=_0x3368e0,_0x35a241;typeof _0x1ed8ba>'u'||(this['_socket']=_0x1ed8ba,_0x1ed8ba?(this[_0x5ccc1e(0xdc)](_0x1ed8ba),this[_0x5ccc1e(0x280)]=_0x1ed8ba[_0x5ccc1e(0xcf)][_0x5ccc1e(0x1a1)](_0x4e63d8=>{var _0x46467a=_0x5ccc1e;_0x4e63d8[_0x46467a(0x21b)]===this[_0x46467a(0x328)]&&this['_onCombEvent'](_0x4e63d8);})):(this[_0x5ccc1e(0x2b9)](),this[_0x5ccc1e(0x182)]['next'](0x2),(_0x35a241=this['_socketMessageSubscription'])==null||_0x35a241['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x4dc0f1(0x2cc)](){var _0xc0505b=_0x4dc0f1;return this[_0xc0505b(0x182)][_0xc0505b(0x21f)]();}['getMemberID'](){var _0x46efad=_0x4dc0f1,_0x3e3988,_0x5ca4a4;return(_0x5ca4a4=(_0x3e3988=this[_0x46efad(0x37d)])==null?void 0x0:_0x3e3988['memberID'])!=null?_0x5ca4a4:null;}[_0x4dc0f1(0x161)](){var _0xcdae25=_0x4dc0f1;super[_0xcdae25(0x161)](),this[_0xcdae25(0x107)][_0xcdae25(0x373)](),this[_0xcdae25(0x107)][_0xcdae25(0x3c9)]();}['close'](){var _0x283a3c=_0x4dc0f1,_0xdb6dba,_0x45cf13;this[_0x283a3c(0x2b9)](),(_0xdb6dba=this['_socket'])==null||_0xdb6dba[_0x283a3c(0xf8)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x283a3c(0x328)]}}),(_0x45cf13=this[_0x283a3c(0x37d)])==null||_0x45cf13['close'](),this[_0x283a3c(0x104)][_0x283a3c(0x3c9)](),this['_sessionStatus$'][_0x283a3c(0x3c9)](),this[_0x283a3c(0x161)]();}[_0x4dc0f1(0x27c)](_0x432931){var _0x1231fd=_0x4dc0f1;_0x432931[_0x1231fd(0x10b)]===W['JOIN']?this[_0x1231fd(0x242)](_0x432931):_0x432931[_0x1231fd(0x10b)]===W['RECV']&&this[_0x1231fd(0x9a)](_0x432931);}[_0x4dc0f1(0xdc)](_0x415885){var _0x30dc7c=_0x4dc0f1;this[_0x30dc7c(0x182)][_0x30dc7c(0x373)](0x1),_0x415885[_0x30dc7c(0xf8)]({'cmd':W[_0x30dc7c(0x81)],'routeKey':this[_0x30dc7c(0x328)],'routeType':'','data':{'rooms':[{'roomID':this[_0x30dc7c(0x328)]}]}});}['_onJoinRoomEvent'](_0x5320aa){var _0x2ec8a9=_0x4dc0f1,_0xfbc27a;if(_0x5320aa['code']in We){this['_collaborationUIEventService'][_0x2ec8a9(0x27e)]({'id':J[_0x2ec8a9(0x1fe)],'data':We[_0x5320aa['code']]}),this[_0x2ec8a9(0x182)][_0x2ec8a9(0x373)](0x2);return;}this[_0x2ec8a9(0x182)][_0x2ec8a9(0x373)](0x3);const _0x257ecc=(_0xfbc27a=_0x5320aa['data'][_0x2ec8a9(0x363)][this[_0x2ec8a9(0x328)]])==null?void 0x0:_0xfbc27a[_0x2ec8a9(0x1a2)];_0x257ecc&&_0x257ecc[_0x2ec8a9(0x397)](_0x342bf3=>this[_0x2ec8a9(0x3eb)][_0x2ec8a9(0x2bd)](this[_0x2ec8a9(0x328)],_0x342bf3));}[_0x4dc0f1(0x9a)](_0x2c1c2f){var _0x7752f9=_0x4dc0f1;try{const _0x4e8859=_0x2c1c2f[_0x7752f9(0xda)];switch(_0x4e8859[_0x7752f9(0x1bf)]){case E[_0x7752f9(0x15c)][_0x7752f9(0x273)]:this[_0x7752f9(0x274)](_0x4e8859),this['_event$'][_0x7752f9(0x373)](_0x4e8859);break;case E[_0x7752f9(0x15c)][_0x7752f9(0x1dd)]:this['_onUserLeave'](_0x4e8859),this[_0x7752f9(0x104)][_0x7752f9(0x373)](_0x4e8859);break;case E[_0x7752f9(0x15c)][_0x7752f9(0x1e6)]:case E[_0x7752f9(0x15c)][_0x7752f9(0x339)]:this[_0x7752f9(0x2de)](),this[_0x7752f9(0x392)](),this[_0x7752f9(0x104)][_0x7752f9(0x373)](_0x4e8859);break;case E[_0x7752f9(0x15c)][_0x7752f9(0x1c4)]:this['_logService']['error'](_0x7752f9(0xc7)+JSON[_0x7752f9(0x164)](_0x4e8859)),this[_0x7752f9(0x104)][_0x7752f9(0x373)](_0x4e8859);break;case E['CollaborationEvent'][_0x7752f9(0x1b6)]:this['_commentService'][_0x7752f9(0x2e8)](_0x4e8859[_0x7752f9(0xda)]),this['_event$'][_0x7752f9(0x373)](_0x4e8859);break;default:this[_0x7752f9(0x104)][_0x7752f9(0x373)](_0x4e8859);}}catch(_0x54307f){this[_0x7752f9(0x7c)][_0x7752f9(0x1d3)](_0x54307f,_0x2c1c2f);}}[_0x4dc0f1(0x274)](_0x32811b){var _0x4ef954=_0x4dc0f1;this[_0x4ef954(0x3eb)][_0x4ef954(0x2bd)](this[_0x4ef954(0x328)],_0x32811b['data']);}[_0x4dc0f1(0x368)](_0x2058e6){var _0xbfa3e5=_0x4dc0f1;this[_0xbfa3e5(0x3eb)][_0xbfa3e5(0x3d8)](this[_0xbfa3e5(0x328)],_0x2058e6['data'][_0xbfa3e5(0x370)]);}async[_0x4dc0f1(0xf8)](_0x7762c9,_0x19c681){var _0x17c3b1=_0x4dc0f1;if(this[_0x17c3b1(0x2cc)]!==0x3||!this[_0x17c3b1(0x37d)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x7762c9['eventID']===E['CollaborationEvent'][_0x17c3b1(0x30e)]&&(this[_0x17c3b1(0xac)](),this[_0x17c3b1(0x3b6)](_0x7762c9)),this['_socket'][_0x17c3b1(0xf8)]({'cmd':W[_0x17c3b1(0x2eb)],'routeKey':_0x19c681,'routeType':'','data':_0x7762c9});}catch(_0x572b10){this[_0x17c3b1(0x7c)]['error'](_0x572b10);}}[_0x4dc0f1(0xac)](){var _0x56555b=_0x4dc0f1,_0x24a5eb;this[_0x56555b(0x355)]=setTimeout(()=>{var _0x161a48=_0x56555b;this['_collaborationTimeoutTimer']=null,this[_0x161a48(0x2a5)][_0x161a48(0x27e)]({'id':J[_0x161a48(0x185)]});},(_0x24a5eb=this[_0x56555b(0x1de)][_0x56555b(0x1bc)](ke))!=null?_0x24a5eb:lt);}['_clearCollaborationTimeoutTimer'](){var _0x588b07=_0x4dc0f1;this[_0x588b07(0x355)]&&(clearTimeout(this[_0x588b07(0x355)]),this[_0x588b07(0x355)]=null);}[_0x4dc0f1(0x3b6)](_0x26fbfd){var _0x127439=_0x4dc0f1;if(!this[_0x127439(0x1c2)])return;const {data:_0xa5c510}=_0x26fbfd,{unitID:_0x1cd265,changeset:_0x1a7b7b}=_0xa5c510,{mutations:_0x5c99b2,type:_0x452a19}=_0x1a7b7b;this[_0x127439(0x325)]={'unitId':_0x1cd265,'type':_0x452a19,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x5c99b2)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x261069=_0x4dc0f1;if(this[_0x261069(0x1c2)]){if(!this['_telemetryInfo']){this[_0x261069(0x7c)][_0x261069(0x1d3)]('[CollaborationSession]',_0x261069(0x17a));return;}this[_0x261069(0x325)][_0x261069(0x384)]=performance[_0x261069(0x289)](),this[_0x261069(0x325)][_0x261069(0x3c4)]=this[_0x261069(0x325)][_0x261069(0x384)]-this[_0x261069(0x325)][_0x261069(0x1ca)],this[_0x261069(0x385)][_0x261069(0x189)](Ft,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x59e697=_0x4dc0f1;this[_0x59e697(0x325)]=null;}},exports[_0x4dc0f1(0x12e)]=qt([ce(0x2,o['ILogService']),ce(0x3,o['IConfigService']),ce(0x4,o['Inject'](exports[_0x4dc0f1(0x173)])),ce(0x5,o[_0x4dc0f1(0x389)]($e)),ce(0x6,o['Inject'](ee)),ce(0x7,o['Optional'](Nt[_0x4dc0f1(0x3ab)]))],exports[_0x4dc0f1(0x12e)]);const q=o[_0x4dc0f1(0x3de)](_0x4dc0f1(0x20b));function zt(_0x42fa25){var _0x4252cb=_0x4dc0f1;return _0x4252cb(0x12c)+_0x42fa25;}var Xt=Object[_0x4dc0f1(0x1b3)],Jt=(_0x4b9b02,_0x2ec955,_0x39cea1,_0x3e85bd)=>{var _0x164ab2=_0x4dc0f1;for(var _0x1edf97=_0x3e85bd>0x1?void 0x0:_0x3e85bd?Xt(_0x2ec955,_0x39cea1):_0x2ec955,_0x500c09=_0x4b9b02[_0x164ab2(0x183)]-0x1,_0x3d5c21;_0x500c09>=0x0;_0x500c09--)(_0x3d5c21=_0x4b9b02[_0x500c09])&&(_0x1edf97=_0x3d5c21(_0x1edf97)||_0x1edf97);return _0x1edf97;},Ue=(_0x258541,_0xe25ed3)=>(_0x4c9c7a,_0x59bb96)=>_0xe25ed3(_0x4c9c7a,_0x59bb96,_0x258541);function Zt(_0x55c3c2){var _0x40e9b3=_0x4dc0f1;const {unitID:_0x461d43,mutations:_0x4feb39}=_0x55c3c2;return{'unitId':_0x461d43,'subUnitId':_0x4feb39[_0x40e9b3(0x183)]>0x0?_0x4feb39[0x0][_0x40e9b3(0x2c8)][_0x40e9b3(0x13e)]:null};}exports[_0x4dc0f1(0x1c9)]=class{constructor(_0x20ce48,_0xaed2a9,_0x69bf10){var _0x37d793=_0x4dc0f1;this[_0x37d793(0x133)]=_0x20ce48,this[_0x37d793(0x38c)]=_0xaed2a9,this[_0x37d793(0x11f)]=_0x69bf10;}[_0x4dc0f1(0x1dc)](_0x5a4df5){var _0x138653=_0x4dc0f1,_0x132a96,_0x5a3f3e,_0x525664,_0x3e9ceb;const _0x580acd=this[_0x138653(0x133)][_0x138653(0x176)](Q[_0x138653(0x2f2)]),{unitId:_0x112961,subUnitId:_0xb9f951}=Zt(_0x5a4df5),_0x4444c6=_0x580acd==null?void 0x0:_0x580acd['getWorkbookSelections'](_0x112961)[_0x138653(0x98)](),_0x1fc31a=(_0x5a3f3e=(_0x132a96=this[_0x138653(0x11f)][_0x138653(0x1ef)](_0x112961))==null?void 0x0:_0x132a96[_0x138653(0x35b)]())==null?void 0x0:_0x5a3f3e[_0x138653(0x2bc)]();if(_0x4444c6[_0x138653(0x183)]===0x0||!_0x112961||!_0xb9f951)return;const _0x54154b=[{'id':Q['SetSelectionsOperation']['id'],'params':{'unitId':_0x112961,'subUnitId':_0x1fc31a,'selections':o[_0x138653(0x2ee)]['deepClone'](_0x4444c6)}}],_0x5b93e9=this[_0x138653(0x38c)][_0x138653(0x14e)](_0x5a4df5,_0x54154b);if(!E[_0x138653(0x82)](_0x5b93e9))throw _0x5b93e9['error'];const _0x4bcbcf=(_0x3e9ceb=(_0x525664=_0x5b93e9[_0x138653(0x248)][0x0])==null?void 0x0:_0x525664[_0x138653(0x2c8)])==null?void 0x0:_0x3e9ceb[_0x138653(0x27a)];if(Array['isArray'](_0x4bcbcf)&&_0x4bcbcf[_0x138653(0x183)]){if(_0x4bcbcf[_0x138653(0x183)]===_0x54154b[0x0][_0x138653(0x2c8)]['selections']['length']&&_0x4bcbcf[_0x138653(0x1ce)]((_0x111e40,_0x59358d)=>o['Rectangle']['equals'](_0x111e40[_0x138653(0x352)],_0x54154b[0x0][_0x138653(0x2c8)][_0x138653(0x27a)][_0x59358d]['range'])))return;this[_0x138653(0x133)][_0x138653(0x176)](o[_0x138653(0x2ab)])[_0x138653(0x226)](Q[_0x138653(0x15a)]['id'],{'unitId':_0x112961,'subUnitId':_0x1fc31a,'selections':_0x4bcbcf});}}},exports[_0x4dc0f1(0x1c9)]=Jt([Ue(0x0,o[_0x4dc0f1(0x389)](o['Injector'])),Ue(0x1,E[_0x4dc0f1(0x409)]),Ue(0x2,o[_0x4dc0f1(0x216)])],exports[_0x4dc0f1(0x1c9)]);const ve=o[_0x4dc0f1(0x3de)](_0x4dc0f1(0x247));var He=(_0x1cfc1c=>(_0x1cfc1c[_0x1cfc1c['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4dc0f1(0x1f7),_0x1cfc1c[_0x1cfc1c[_0x4dc0f1(0x24e)]=0x1]=_0x4dc0f1(0x24e),_0x1cfc1c))(He||{});const Y=_0x4dc0f1(0x15f),Qt={};function ei(_0x2f57d5){var _0xb9be70=_0x4dc0f1,_0x157750;return!!((_0x157750=_0x2f57d5[_0xb9be70(0x2c8)])!=null&&_0x157750['__splitChunk__']);}const ti=new Set([Q[_0x4dc0f1(0x1df)]['id']]);function Ge(_0x45dc35,_0x4542bb,_0x57424f,_0x12badc,_0x2a09f0){var _0x2e73d4=_0x4dc0f1,_0x580cd4,_0x3824b4,_0x418b39,_0x2dc06e;const _0x15c477=[];for(const _0x159ace of _0x45dc35){if(ti['has'](_0x159ace['id'])){if(_0x15c477[_0x2e73d4(0x183)]>0x0)break;_0x15c477[_0x2e73d4(0x3f3)](_0x159ace);break;}if(ei(_0x159ace)){if(_0x15c477[_0x2e73d4(0x183)]>0x0)break;_0x15c477[_0x2e73d4(0x3f3)](_0x159ace);break;}_0x15c477['push'](_0x159ace);}const _0x541bf8=(_0x3824b4=(_0x580cd4=_0x2a09f0[_0x2e73d4(0xa3)]())==null?void 0x0:_0x580cd4['userID'])!=null?_0x3824b4:'unknown',_0x8b7d54=(_0x2dc06e=(_0x418b39=_0x2a09f0[_0x2e73d4(0xa3)]())==null?void 0x0:_0x418b39[_0x2e73d4(0x370)])!=null?_0x2dc06e:_0x2e73d4(0x3db);return{'changeset':{'unitID':_0x4542bb,'type':E[_0x2e73d4(0x3fd)](_0x57424f[_0x2e73d4(0x3da)](_0x4542bb)),'baseRev':_0x12badc[_0x2e73d4(0x206)](_0x4542bb),'revision':0x0,'userID':_0x541bf8,'memberID':_0x8b7d54,'mutations':_0x15c477},'pendingMutations':_0x45dc35[_0x2e73d4(0xf5)](_0x15c477['length'])};}function ii(_0x265a3c,_0x3c03b1,_0x2b5063,_0x2941fb,_0x46b46b){var _0x559398=_0x4dc0f1,_0x36fb19,_0x1b0f83,_0x130ce6,_0x1ab639;const _0x5b3c8c=[_0x265a3c[_0x559398(0x95)]((_0x2931b8,_0x803c34)=>{var _0x375adb=_0x559398,_0x113356;const {id:_0x47526a}=_0x2931b8,{id:_0x2819bf,type:_0x4743c8}=_0x803c34,_0x5242e3=(_0x113356=_0x2931b8['params'])!=null?_0x113356:{'actions':null},_0x194b03=_0x803c34[_0x375adb(0x2c8)];if(_0x47526a&&_0x47526a!==_0x2819bf)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x47526a+_0x375adb(0x119)+_0x2819bf+'.');return{..._0x2931b8,'id':_0x2819bf,'type':_0x4743c8,'params':{'unitId':_0x194b03[_0x375adb(0xb9)],'textRanges':_0x194b03[_0x375adb(0x26c)],'actions':o['JSONX'][_0x375adb(0x1fb)](_0x5242e3[_0x375adb(0x130)],_0x194b03[_0x375adb(0x130)])}};},{})],_0x375714=(_0x1b0f83=(_0x36fb19=_0x46b46b[_0x559398(0xa3)]())==null?void 0x0:_0x36fb19['userID'])!=null?_0x1b0f83:'unknown',_0x13437d=(_0x1ab639=(_0x130ce6=_0x46b46b[_0x559398(0xa3)]())==null?void 0x0:_0x130ce6['memberID'])!=null?_0x1ab639:_0x559398(0x3db);return{'changeset':{'unitID':_0x3c03b1,'type':E[_0x559398(0x3fd)](_0x2b5063['getUnitType'](_0x3c03b1)),'baseRev':_0x2941fb[_0x559398(0x206)](_0x3c03b1),'revision':0x0,'userID':_0x375714,'memberID':_0x13437d,'mutations':_0x5b3c8c},'pendingMutations':[]};}function St(_0x566456,_0x5e733e){var _0x1352ff=_0x4dc0f1;const _0x30eef5=new j[(_0x1352ff(0x178))](0x1);return setTimeout(()=>_0x30eef5['next'](_0x5e733e),_0x566456),_0x30eef5[_0x1352ff(0x29c)]()[_0x1352ff(0x1cc)](j[_0x1352ff(0x304)](0x1));}var ni=Object[_0x4dc0f1(0x1b3)],ae=(_0x1bfd9f,_0x2e6f8c,_0x244b92,_0x1e611a)=>{for(var _0x525021=_0x1e611a>0x1?void 0x0:_0x1e611a?ni(_0x2e6f8c,_0x244b92):_0x2e6f8c,_0x1962fb=_0x1bfd9f['length']-0x1,_0x561f32;_0x1962fb>=0x0;_0x1962fb--)(_0x561f32=_0x1bfd9f[_0x1962fb])&&(_0x525021=_0x561f32(_0x525021)||_0x525021);return _0x525021;},L=(_0x51c77e,_0xa990bf)=>(_0x222beb,_0x1b9a55)=>_0xa990bf(_0x222beb,_0x1b9a55,_0x51c77e),je=(_0xb9c32a=>(_0xb9c32a['NOT_COLLAB']=_0x4dc0f1(0x297),_0xb9c32a[_0x4dc0f1(0x326)]='synced',_0xb9c32a[_0x4dc0f1(0xef)]=_0x4dc0f1(0x291),_0xb9c32a[_0x4dc0f1(0x260)]=_0x4dc0f1(0x1da),_0xb9c32a[_0x4dc0f1(0x21a)]=_0x4dc0f1(0x165),_0xb9c32a[_0x4dc0f1(0x3c2)]='fetch_missing',_0xb9c32a['CONFLICT']=_0x4dc0f1(0x267),_0xb9c32a[_0x4dc0f1(0x160)]=_0x4dc0f1(0xc2),_0xb9c32a))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x4ab67f,_0x24df45,_0x4cf337,_0x2a7d6c,_0x8fa9b1,_0x4e57b8,_0x503c58,_0x3c3700,_0xa103c2){var _0x537c0e=_0x4dc0f1;A(this,'_awaitingChangeset',null),A(this,_0x537c0e(0x380),[]),(this['unitID']=_0x4ab67f,this[_0x537c0e(0x2a3)]=_0x24df45,this[_0x537c0e(0x33e)]=_0x8fa9b1,this[_0x537c0e(0x88)]=_0x4e57b8,this[_0x537c0e(0x2be)]=_0x503c58,this[_0x537c0e(0x2aa)]=_0x3c3700,this[_0x537c0e(0x18e)]=_0xa103c2,this[_0x537c0e(0x2e1)]=_0x4cf337,this[_0x537c0e(0x380)]=_0x2a7d6c);}[_0x4dc0f1(0x9c)](_0x1964fb){var _0x4d5c62=_0x4dc0f1;const _0xee7717=this[_0x4d5c62(0x2aa)][_0x4d5c62(0x206)](this[_0x4d5c62(0x237)]);return _0x1964fb['revision']>_0xee7717+0x1?(this[_0x4d5c62(0x33e)][_0x4d5c62(0x408)]({'from':_0xee7717,'to':_0x1964fb[_0x4d5c62(0x124)]-0x1}),!0x0):!0x1;}[_0x4dc0f1(0x411)](_0x55f905){var _0x1feae8=_0x4dc0f1;this[_0x1feae8(0x2be)]['transformUndoRedo'](this['unitID'],_0x55f905);}[_0x4dc0f1(0xe1)](_0x5d850f){var _0xc9b072=_0x4dc0f1,_0x4a75da,_0xd95036;(_0xd95036=(_0x4a75da=this[_0xc9b072(0x33e)])[_0xc9b072(0xb0)])==null||_0xd95036[_0xc9b072(0xf7)](_0x4a75da,_0x5d850f);}[_0x4dc0f1(0x277)](_0x5bc52a){var _0x2ef3c8=_0x4dc0f1,_0x443b78,_0x2eb490;return(_0x2eb490=(_0x443b78=this[_0x2ef3c8(0x33e)])[_0x2ef3c8(0x37b)])==null?void 0x0:_0x2eb490[_0x2ef3c8(0xf7)](_0x443b78,_0x5bc52a);}[_0x4dc0f1(0x131)](_0xddfbb7){var _0x5ea372=_0x4dc0f1,_0x59b29d,_0x7fb7bd;return(_0x7fb7bd=(_0x59b29d=this[_0x5ea372(0x33e)])['onTransformState'])==null?void 0x0:_0x7fb7bd[_0x5ea372(0xf7)](_0x59b29d,_0xddfbb7);}[_0x4dc0f1(0x288)](_0x3f3ab7){var _0x4f8677=_0x4dc0f1,_0x48f2e8,_0x4856c2,_0x4b2b79;return(_0x4b2b79=(_0x4856c2=(_0x48f2e8=this['_handler'])[_0x4f8677(0xb8)])==null?void 0x0:_0x4856c2[_0x4f8677(0xf7)](_0x48f2e8,_0x3f3ab7))!=null?_0x4b2b79:_0x3f3ab7;}[_0x4dc0f1(0x1ee)](_0x482473){var _0x1720fc=_0x4dc0f1,_0x3ac5e2,_0x3a2a7,_0x3ae949;return(_0x3ae949=(_0x3a2a7=(_0x3ac5e2=this[_0x1720fc(0x33e)])[_0x1720fc(0x91)])==null?void 0x0:_0x3a2a7['call'](_0x3ac5e2,_0x482473))!=null?_0x3ae949:_0x482473;}[_0x4dc0f1(0x2dd)](_0x431181){var _0x5b689e=_0x4dc0f1,_0x60b10d,_0xd04c4a;if(this[_0x5b689e(0x2a3)]===X[_0x5b689e(0x3b0)]){const {unitID:_0xf39293,mutations:_0x9a6a21,memberID:_0x2028a2}=_0x431181,_0x3f0c84=_0x9a6a21[_0x5b689e(0x183)]>0x0?_0x9a6a21[0x0][_0x5b689e(0x2c8)][_0x5b689e(0x26c)]:[];Array[_0x5b689e(0x311)](_0x3f0c84)&&_0x3f0c84[_0x5b689e(0x183)]>0x0&&((_0xd04c4a=(_0x60b10d=this[_0x5b689e(0x33e)])[_0x5b689e(0x3ef)])==null||_0xd04c4a[_0x5b689e(0xf7)](_0x60b10d,{'unitID':_0xf39293,'memberID':_0x2028a2,'textRanges':_0x3f0c84}));}}['_updateLocalCache'](){var _0x42c35b=_0x4dc0f1,_0x257733;(_0x257733=this[_0x42c35b(0x18e)])==null||_0x257733[_0x42c35b(0x315)](this[_0x42c35b(0x237)],this[_0x42c35b(0x2a3)],this['_awaitingChangeset'],this[_0x42c35b(0x380)]);}[_0x4dc0f1(0x365)](){var _0x5e102a=_0x4dc0f1;return this[_0x5e102a(0x2aa)]['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x2bf2f4=_0x4dc0f1;this[_0x2bf2f4(0x2aa)][_0x2bf2f4(0x396)](this[_0x2bf2f4(0x237)]);}[_0x4dc0f1(0x2a9)](_0x3648d6){var _0x48aaa2=_0x4dc0f1,_0xfeff07;let _0x38f639=this['_transformRemoteChangesetByIMECache'](_0x3648d6);_0x38f639=this[_0x48aaa2(0x1ee)](_0x38f639);const _0x5da6a2=o[_0x48aaa2(0x317)](_0x38f639['mutations'],this[_0x48aaa2(0x88)],{'fromCollab':!0x0});if(!_0x5da6a2[_0x48aaa2(0x2b2)])throw _0x5da6a2[_0x48aaa2(0x1d3)]instanceof Error?_0x5da6a2[_0x48aaa2(0x1d3)]:new Error((_0xfeff07=_0x5da6a2[_0x48aaa2(0x1d3)])!=null?_0xfeff07:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x38f639),this[_0x48aaa2(0x131)](_0x38f639),this['_transformUndoredo'](_0x3648d6),this['_transformSelections'](_0x38f639),this['_syncEditingCollabCursor'](_0x38f639),this[_0x48aaa2(0x3a0)]();}}exports[_0x4dc0f1(0x1aa)]=class extends oe{constructor(_0x155ed6,_0x288c8a,_0x5dabeb,_0x379aaf,_0x4bc231,_0x5b0b1e,_0x16983d,_0x43e4de,_0x34fe19,_0x3c8f0b){var _0xc66a9c=_0x4dc0f1;super(_0x155ed6,_0x288c8a,null,[],_0x5dabeb,_0x16983d,_0x5b0b1e,_0x379aaf,_0x3c8f0b),A(this,_0xc66a9c(0x3b9),'synced'),(this['_injector']=_0x4bc231,this['_logService']=_0x43e4de,this[_0xc66a9c(0x38c)]=_0x34fe19,this[_0xc66a9c(0x3fe)]=_0x3c8f0b);}[_0x4dc0f1(0x1ae)](_0x5f1031){var _0x5382f3=_0x4dc0f1;const _0x268fce=this[_0x5382f3(0x133)]['createInstance'](exports['PendingState'],this[_0x5382f3(0x237)],this[_0x5382f3(0x2a3)],[_0x5f1031],this[_0x5382f3(0x33e)]);return _0x268fce[_0x5382f3(0x2a4)](),_0x268fce[_0x5382f3(0x3d0)](),_0x268fce;}[_0x4dc0f1(0x2d8)](_0x289848){var _0x46377f=_0x4dc0f1;if(this[_0x46377f(0x9c)](_0x289848))return this[_0x46377f(0x133)][_0x46377f(0xb7)](exports[_0x46377f(0x89)],this[_0x46377f(0x237)],this[_0x46377f(0x2a3)],null,[],null,[_0x289848],this[_0x46377f(0x33e)]);try{const _0x2a3c83=this['_transformService'][_0x46377f(0x14e)](_0x289848,[E['EmptyMutationInfo']]);if(E['isTransformMutationsWithChangesetSuccess'](_0x2a3c83)){const {c1Prime:_0x55bae4}=_0x2a3c83;return this[_0x46377f(0x2a9)](_0x55bae4),this;}throw _0x2a3c83[_0x46377f(0x1d3)];}catch(_0x3f6591){return this[_0x46377f(0x7c)][_0x46377f(0x1d3)](_0x3f6591),this[_0x46377f(0x2c0)](!0x1);}}['_onConflict'](_0x301271){var _0x4c82d7=_0x4dc0f1;return this[_0x4c82d7(0x133)][_0x4c82d7(0xb7)](exports[_0x4c82d7(0x323)],this[_0x4c82d7(0x237)],this['type'],null,[],this[_0x4c82d7(0x33e)],_0x301271);}[_0x4dc0f1(0x12d)](){var _0x2892c5=_0x4dc0f1;throw new Error(_0x2892c5(0x2ae));}[_0x4dc0f1(0xcd)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4dc0f1(0x372)](){return this;}[_0x4dc0f1(0x105)](){var _0x25d220=_0x4dc0f1;return this['_injector'][_0x25d220(0xb7)](exports['OfflineState'],this[_0x25d220(0x237)],this[_0x25d220(0x2a3)],null,[],this['_handler']);}[_0x4dc0f1(0x31e)](){return this;}[_0x4dc0f1(0x31c)](){var _0x9e281f=_0x4dc0f1;throw new Error(_0x9e281f(0xf4));}[_0x4dc0f1(0x1ed)](){var _0x3f1627=_0x4dc0f1;const _0x521440=this['_revisionService'][_0x3f1627(0x206)](this[_0x3f1627(0x237)]);return this[_0x3f1627(0x33e)][_0x3f1627(0x408)]({'from':_0x521440,'to':0x0}),this['_injector'][_0x3f1627(0xb7)](exports[_0x3f1627(0x89)],this[_0x3f1627(0x237)],this[_0x3f1627(0x2a3)],null,[],null,[],this[_0x3f1627(0x33e)]);}},exports[_0x4dc0f1(0x1aa)]=ae([L(0x3,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x403)])),L(0x4,o['Inject'](o[_0x4dc0f1(0x1e2)])),L(0x5,o[_0x4dc0f1(0x309)]),L(0x6,o['ICommandService']),L(0x7,o[_0x4dc0f1(0x13c)]),L(0x8,E[_0x4dc0f1(0x409)]),L(0x9,o[_0x4dc0f1(0xaa)](q))],exports[_0x4dc0f1(0x1aa)]),exports[_0x4dc0f1(0x28a)]=class extends oe{constructor(_0x4f6dd3,_0x1721ea,_0x2df982,_0x485bb0,_0x1d53e1,_0x3c0f5a,_0x33c88b,_0x9cc7e0,_0x51740f,_0xe9dc5d,_0x331096,_0x318aca,_0x56f16b,_0x3bce82){var _0x4be9ff=_0x4dc0f1;super(_0x4f6dd3,_0x1721ea,null,_0x2df982,_0x485bb0,_0x51740f,_0x56f16b,_0x3c0f5a,_0x3bce82),A(this,_0x4be9ff(0x3b9),_0x4be9ff(0x291)),A(this,_0x4be9ff(0x2d7),null),A(this,_0x4be9ff(0x139),null),(this[_0x4be9ff(0x133)]=_0x1d53e1,this[_0x4be9ff(0x3eb)]=_0x33c88b,this[_0x4be9ff(0x7c)]=_0x9cc7e0,this[_0x4be9ff(0x1de)]=_0xe9dc5d,this['_transformService']=_0x331096,this[_0x4be9ff(0xc8)]=_0x318aca);}[_0x4dc0f1(0x1ae)](_0x571304){var _0x18073c=_0x4dc0f1;return this[_0x18073c(0x380)][_0x18073c(0x3f3)](_0x571304),this[_0x18073c(0x3d0)](),this;}[_0x4dc0f1(0x2d8)](_0x1ac3bb){var _0x187d99=_0x4dc0f1;if(this[_0x187d99(0x9c)](_0x1ac3bb))return this[_0x187d99(0x24f)](),this[_0x187d99(0x133)][_0x187d99(0xb7)](exports['FetchingMissState'],this[_0x187d99(0x237)],this[_0x187d99(0x2a3)],null,this[_0x187d99(0x380)],null,[_0x1ac3bb],this['_handler']);try{const _0x335259=this[_0x187d99(0x38c)][_0x187d99(0x14e)](_0x1ac3bb,this[_0x187d99(0x380)]);if(E[_0x187d99(0x82)](_0x335259)){const {c1Prime:_0x310388,m2Prime:_0x25d48f}=_0x335259;this[_0x187d99(0x2a9)](_0x310388);const _0x1c1c48=this[_0x187d99(0x133)]['createInstance'](exports[_0x187d99(0x28a)],this[_0x187d99(0x237)],this[_0x187d99(0x2a3)],_0x25d48f,this[_0x187d99(0x33e)]);this['_clearScheduledTask']();const _0x7f4b7b=new Date()[_0x187d99(0x28c)](),_0x509b7d=this[_0x187d99(0x2d7)]?Math[_0x187d99(0x3bf)](this['_scheduleCompleteTimestamp']-_0x7f4b7b,0x0):this[_0x187d99(0x29e)]();return _0x1c1c48['_schedule'](_0x509b7d),_0x1c1c48;}throw _0x335259[_0x187d99(0x1d3)];}catch(_0x4c94d7){return this[_0x187d99(0x7c)]['error'](_0x4c94d7),this[_0x187d99(0x2c0)](!0x1);}}[_0x4dc0f1(0x12d)](){var _0x214045=_0x4dc0f1;throw new Error(_0x214045(0x3e0));}['onRemoteRej'](){var _0x3f4d2d=_0x4dc0f1;throw new Error(_0x3f4d2d(0x383));}[_0x4dc0f1(0x372)](){return this;}[_0x4dc0f1(0x105)](){var _0x57d118=_0x4dc0f1;return this[_0x57d118(0x24f)](),this['_injector'][_0x57d118(0xb7)](exports[_0x57d118(0x2e7)],this['unitID'],this[_0x57d118(0x2a3)],null,this['_pendingMutations'],this[_0x57d118(0x33e)]);}[_0x4dc0f1(0x31e)](){return this;}[_0x4dc0f1(0x2a4)](_0x46a153){var _0x50c497=_0x4dc0f1;const _0x50b174=_0x46a153!=null?_0x46a153:this['_getSendChangesetTimeout']();this[_0x50c497(0x2d7)]=new Date()[_0x50c497(0x28c)]()+_0x50b174,this[_0x50c497(0x139)]=setTimeout(()=>{var _0x2ed490=_0x50c497;this[_0x2ed490(0x24f)]();let _0x1c56af=null;switch(this[_0x2ed490(0x2a3)]){case X[_0x2ed490(0x30a)]:{_0x1c56af=Ge(this[_0x2ed490(0x380)],this[_0x2ed490(0x237)],this[_0x2ed490(0xc8)],this[_0x2ed490(0x2aa)],this[_0x2ed490(0x3eb)]);break;}case X['UNIVER_DOC']:{this[_0x2ed490(0x380)]['every'](_0x18a132=>_0x18a132['id']===ct[_0x2ed490(0x29f)]['id'])?_0x1c56af=ii(this[_0x2ed490(0x380)],this[_0x2ed490(0x237)],this[_0x2ed490(0xc8)],this[_0x2ed490(0x2aa)],this[_0x2ed490(0x3eb)]):_0x1c56af=Ge(this[_0x2ed490(0x380)],this['unitID'],this[_0x2ed490(0xc8)],this[_0x2ed490(0x2aa)],this[_0x2ed490(0x3eb)]);break;}default:throw new Error(_0x2ed490(0x17c)+this['type']+_0x2ed490(0xd7));}const {changeset:_0x3bbd72,pendingMutations:_0x4f2cea}=_0x1c56af;this[_0x2ed490(0x33e)][_0x2ed490(0x23b)](_0x3bbd72);const _0x2be74f=_0x4f2cea['length']?this['_injector'][_0x2ed490(0xb7)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x2ed490(0x2a3)],_0x3bbd72,_0x4f2cea,this['_handler'],void 0x0):this[_0x2ed490(0x133)]['createInstance'](exports[_0x2ed490(0x324)],this[_0x2ed490(0x237)],this[_0x2ed490(0x2a3)],_0x3bbd72,this['_handler']);_0x2be74f[_0x2ed490(0x3d0)](),this[_0x2ed490(0x33e)]['onStateChange'](this,_0x2be74f);},_0x50b174);}['_getSendChangesetTimeout'](){var _0x3d679f=_0x4dc0f1,_0x57a18b;const _0x2be1d9=this[_0x3d679f(0x1de)][_0x3d679f(0x1bc)](Y);return(_0x57a18b=_0x2be1d9==null?void 0x0:_0x2be1d9[_0x3d679f(0x7e)])!=null?_0x57a18b:At;}[_0x4dc0f1(0x31c)](){var _0x413e88=_0x4dc0f1;throw new Error(_0x413e88(0x140));}[_0x4dc0f1(0x24f)](){var _0x40f1ce=_0x4dc0f1;this[_0x40f1ce(0x139)]!=null&&(clearTimeout(this[_0x40f1ce(0x139)]),this[_0x40f1ce(0x139)]=null);}[_0x4dc0f1(0x2c0)](_0x3835c9){var _0x2c16bb=_0x4dc0f1;return this[_0x2c16bb(0x24f)](),this[_0x2c16bb(0x133)][_0x2c16bb(0xb7)](exports['ConflictState'],this['unitID'],this[_0x2c16bb(0x2a3)],null,this[_0x2c16bb(0x380)],this[_0x2c16bb(0x33e)],_0x3835c9);}},exports['PendingState']=ae([L(0x4,o[_0x4dc0f1(0x389)](o['Injector'])),L(0x5,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x403)])),L(0x6,o[_0x4dc0f1(0x389)](exports[_0x4dc0f1(0x173)])),L(0x7,o[_0x4dc0f1(0x13c)]),L(0x8,o['ICommandService']),L(0x9,o[_0x4dc0f1(0x2a1)]),L(0xa,E[_0x4dc0f1(0x409)]),L(0xb,o[_0x4dc0f1(0x216)]),L(0xc,o[_0x4dc0f1(0x309)]),L(0xd,o[_0x4dc0f1(0xaa)](q))],exports[_0x4dc0f1(0x28a)]),exports[_0x4dc0f1(0x324)]=class extends oe{constructor(_0x336556,_0x2311af,_0x1d185a,_0x15e128,_0x2f6873,_0x47b3ab,_0x5db0bd,_0x5d7106,_0x41d450,_0x328353,_0x3b0931){var _0x206c74=_0x4dc0f1;super(_0x336556,_0x2311af,_0x1d185a,[],_0x15e128,_0x5db0bd,_0x328353,_0x47b3ab,_0x3b0931),A(this,_0x206c74(0x3b9),_0x206c74(0x1da)),A(this,'_resendTimeout',0x0),A(this,_0x206c74(0x25f),0x0),A(this,_0x206c74(0x300)),A(this,'_sender'),(this[_0x206c74(0x133)]=_0x2f6873,this[_0x206c74(0x7c)]=_0x5d7106,this[_0x206c74(0x38c)]=_0x41d450);}['appendMutation'](_0x1b7138){var _0x36dd84=_0x4dc0f1;this[_0x36dd84(0x24f)]();const _0x54e1a7=this[_0x36dd84(0x133)][_0x36dd84(0xb7)](exports[_0x36dd84(0x217)],this[_0x36dd84(0x237)],this['type'],this[_0x36dd84(0x2e1)],[_0x1b7138],this[_0x36dd84(0x33e)],this[_0x36dd84(0x300)]);return _0x54e1a7[_0x36dd84(0x3d0)](),_0x54e1a7;}[_0x4dc0f1(0x2d8)](_0x522964){var _0x2d567c=_0x4dc0f1;if(this[_0x2d567c(0x9c)](_0x522964))return this[_0x2d567c(0x24f)](),this[_0x2d567c(0x133)][_0x2d567c(0xb7)](exports[_0x2d567c(0x89)],this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x522964],this[_0x2d567c(0x33e)]);try{const _0x28b115=this[_0x2d567c(0x38c)]['transformChangesets']([_0x522964],[this[_0x2d567c(0x2e1)]],!0x1);if(E[_0x2d567c(0x1c1)](_0x28b115)){const {c1Prime:_0x2d509,c2Prime:_0x59c3be}=_0x28b115;this[_0x2d567c(0x2a9)](_0x2d509[0x0]),_0x59c3be[0x0][_0x2d567c(0x202)]=this[_0x2d567c(0x365)](),this[_0x2d567c(0x24f)]();const _0x3ee34c=this[_0x2d567c(0x133)][_0x2d567c(0xb7)](exports[_0x2d567c(0x324)],this[_0x2d567c(0x237)],this[_0x2d567c(0x2a3)],_0x59c3be[0x0],this[_0x2d567c(0x33e)]);return _0x3ee34c['_updateLocalCache'](),_0x3ee34c;}return this[_0x2d567c(0x2c0)](!0x1);}catch(_0x80745c){return this[_0x2d567c(0x7c)][_0x2d567c(0x1d3)](_0x80745c),this[_0x2d567c(0x2c0)](!0x1);}}[_0x4dc0f1(0x12d)](_0x42e76e){var _0x1201ee=_0x4dc0f1;this['_clearScheduledTask']();const _0x5a1e5=this[_0x1201ee(0x2aa)]['getCurrentRevOfUnit'](this['unitID']);if(_0x42e76e[_0x1201ee(0x124)]<_0x5a1e5-0x1)return this;if(this[_0x1201ee(0x9c)](_0x42e76e))return this['_injector']['createInstance'](exports[_0x1201ee(0x89)],this[_0x1201ee(0x237)],this[_0x1201ee(0x2a3)],null,[],this[_0x1201ee(0x2e1)],[],this[_0x1201ee(0x33e)]);this[_0x1201ee(0x3a0)]();const _0x5f3f99=this[_0x1201ee(0x133)][_0x1201ee(0xb7)](exports[_0x1201ee(0x1aa)],this[_0x1201ee(0x237)],this[_0x1201ee(0x2a3)],this['_handler']);return _0x5f3f99[_0x1201ee(0x3d0)](),_0x5f3f99;}[_0x4dc0f1(0xcd)](_0x489883){var _0x8b4fd7=_0x4dc0f1;return this[_0x8b4fd7(0x2c0)](!!(_0x489883!=null&&_0x489883[_0x8b4fd7(0x2b4)]));}[_0x4dc0f1(0x372)](_0x218c04){var _0x365f5a=_0x4dc0f1;return this['_maxTotalRetryTimeout']>ft?this['toggleOffline']():(this[_0x365f5a(0x300)]=St(this[_0x365f5a(0x24c)],{'timeout':this[_0x365f5a(0x24c)],'reqId':_0x218c04[_0x365f5a(0x340)]}),this[_0x365f5a(0x2fc)]=this[_0x365f5a(0x300)]['subscribe'](({reqId:_0xcc575f,timeout:_0x5203eb})=>{var _0x14c4a8=_0x365f5a;this[_0x14c4a8(0xce)](_0xcc575f,_0x5203eb);}),this);}[_0x4dc0f1(0x105)](){var _0x57d26a=_0x4dc0f1;return this[_0x57d26a(0x24f)](),this[_0x57d26a(0x133)][_0x57d26a(0xb7)](exports[_0x57d26a(0x2e7)],this[_0x57d26a(0x237)],this[_0x57d26a(0x2a3)],this['_awaitingChangeset'],[],this['_handler']);}[_0x4dc0f1(0x31e)](){return this;}['resend'](){var _0x1c212b=_0x4dc0f1;this[_0x1c212b(0x33e)][_0x1c212b(0x23b)](this['_awaitingChangeset']);}[_0x4dc0f1(0x2c0)](_0x2b3668){var _0x238140=_0x4dc0f1;return this['_clearScheduledTask'](),this[_0x238140(0x133)][_0x238140(0xb7)](exports[_0x238140(0x323)],this[_0x238140(0x237)],this[_0x238140(0x2a3)],this['_awaitingChangeset'],[],this[_0x238140(0x33e)],_0x2b3668);}['_resendWithTimeout'](_0xe0c0fe,_0x2de4eb){var _0x3b9c17=_0x4dc0f1,_0x2c05b0;_0xe0c0fe===((_0x2c05b0=this['_awaitingChangeset'])==null?void 0x0:_0x2c05b0[_0x3b9c17(0x340)])&&(this[_0x3b9c17(0x31c)](),this[_0x3b9c17(0x24c)]=_0x2de4eb===0x0?0x3e8:Math[_0x3b9c17(0x30f)](_0x2de4eb*0x2,It),this['_maxTotalRetryTimeout']+=this[_0x3b9c17(0x24c)]);}[_0x4dc0f1(0x24f)](){var _0x1f3f93=_0x4dc0f1,_0x2ebb3f;(_0x2ebb3f=this[_0x1f3f93(0x2fc)])==null||_0x2ebb3f[_0x1f3f93(0x156)](),this[_0x1f3f93(0x24c)]=0x0,this[_0x1f3f93(0x25f)]=0x0;}},exports[_0x4dc0f1(0x324)]=ae([L(0x4,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x1e2)])),L(0x5,o['Inject'](E[_0x4dc0f1(0x403)])),L(0x6,o[_0x4dc0f1(0x2ab)]),L(0x7,o[_0x4dc0f1(0x13c)]),L(0x8,E[_0x4dc0f1(0x409)]),L(0x9,o[_0x4dc0f1(0x309)]),L(0xa,o['Optional'](q))],exports[_0x4dc0f1(0x324)]),exports[_0x4dc0f1(0x217)]=class extends oe{constructor(_0x12d9d6,_0x384f4a,_0x105882,_0x79a33c,_0x5dde1a,_0x3d6e2a,_0x289a5a,_0x2d22fc,_0x1b3acb,_0x3bdeef,_0x7dc695,_0x3219aa,_0x25fd4a){var _0x5e9e2d=_0x4dc0f1;super(_0x12d9d6,_0x384f4a,_0x105882,_0x79a33c,_0x5dde1a,_0x1b3acb,_0x3219aa,_0x2d22fc,_0x25fd4a),A(this,'status',_0x5e9e2d(0x165)),A(this,_0x5e9e2d(0x24c),0x0),A(this,_0x5e9e2d(0x25f),0x0),A(this,_0x5e9e2d(0x300)),A(this,_0x5e9e2d(0x2fc)),(this[_0x5e9e2d(0x133)]=_0x289a5a,this[_0x5e9e2d(0x7c)]=_0x3bdeef,this[_0x5e9e2d(0x38c)]=_0x7dc695,this[_0x5e9e2d(0x3fe)]=_0x25fd4a,_0x3d6e2a&&(this[_0x5e9e2d(0x300)]=_0x3d6e2a,this['_sender']=this[_0x5e9e2d(0x300)][_0x5e9e2d(0x1a1)](({reqId:_0x3643c6,timeout:_0x231957})=>{this['_resendWithTimeout'](_0x3643c6,_0x231957);})));}[_0x4dc0f1(0x1ae)](_0x5452c2){var _0x173d4e=_0x4dc0f1;return this[_0x173d4e(0x380)][_0x173d4e(0x3f3)](_0x5452c2),this;}[_0x4dc0f1(0x2d8)](_0x2378a1){var _0x1843ec=_0x4dc0f1;if(this[_0x1843ec(0x9c)](_0x2378a1))return this[_0x1843ec(0x24f)](),this['_injector']['createInstance'](exports[_0x1843ec(0x89)],this[_0x1843ec(0x237)],this[_0x1843ec(0x2a3)],this['_awaitingChangeset'],this[_0x1843ec(0x380)],null,[_0x2378a1],this[_0x1843ec(0x33e)]);try{const _0x5b187f=this[_0x1843ec(0x38c)][_0x1843ec(0x11a)]([_0x2378a1],[this[_0x1843ec(0x2e1)]],!0x1);if(E[_0x1843ec(0x1c1)](_0x5b187f)){const {c1Prime:_0x48b065,c2Prime:_0x421544}=_0x5b187f,_0x335f29=this['_transformService'][_0x1843ec(0x14e)](_0x48b065[0x0],this[_0x1843ec(0x380)]);if(E[_0x1843ec(0x82)](_0x335f29)){const {c1Prime:_0x1a17ff,m2Prime:_0x4617cc}=_0x335f29;return this[_0x1843ec(0x2a9)](_0x1a17ff),_0x421544[0x0][_0x1843ec(0x202)]=this[_0x1843ec(0x365)](),this[_0x1843ec(0x24f)](),this[_0x1843ec(0x133)]['createInstance'](exports[_0x1843ec(0x217)],this[_0x1843ec(0x237)],this[_0x1843ec(0x2a3)],_0x421544[0x0],_0x4617cc,this[_0x1843ec(0x33e)],void 0x0);}throw _0x335f29[_0x1843ec(0x1d3)];}throw _0x5b187f[_0x1843ec(0x1d3)];}catch(_0x24482c){return this['_logService']['error'](_0x24482c),this[_0x1843ec(0x2c0)](!0x1);}}[_0x4dc0f1(0x12d)](_0x24d142){var _0x40ce1c=_0x4dc0f1;if(this[_0x40ce1c(0x24f)](),this[_0x40ce1c(0x9c)](_0x24d142))return this[_0x40ce1c(0x133)][_0x40ce1c(0xb7)](exports[_0x40ce1c(0x89)],this[_0x40ce1c(0x237)],this[_0x40ce1c(0x2a3)],null,this[_0x40ce1c(0x380)],this['_awaitingChangeset'],[],this[_0x40ce1c(0x33e)]);this[_0x40ce1c(0x3a0)]();const _0x384001=this[_0x40ce1c(0x133)][_0x40ce1c(0xb7)](exports[_0x40ce1c(0x28a)],this['unitID'],this['type'],this[_0x40ce1c(0x380)],this['_handler']);return _0x384001[_0x40ce1c(0x2a4)](),_0x384001[_0x40ce1c(0x3d0)](),_0x384001;}[_0x4dc0f1(0xcd)](_0x5398a2){var _0x4e1188=_0x4dc0f1;return this[_0x4e1188(0x2c0)](!!(_0x5398a2!=null&&_0x5398a2[_0x4e1188(0x2b4)]));}['onRemoteRetry'](_0x20f2b5){var _0x48d3aa=_0x4dc0f1;return this[_0x48d3aa(0x25f)]>ft?this['toggleOffline']():(this[_0x48d3aa(0x300)]=St(this[_0x48d3aa(0x24c)],{'timeout':this[_0x48d3aa(0x24c)],'reqId':_0x20f2b5[_0x48d3aa(0x340)]}),this['_sender']=this['_resendTimer'][_0x48d3aa(0x1a1)](({reqId:_0x5f4a14,timeout:_0x4a3666})=>{var _0x1bc79e=_0x48d3aa;this[_0x1bc79e(0xce)](_0x5f4a14,_0x4a3666);}),this);}[_0x4dc0f1(0x105)](){var _0x2544ea=_0x4dc0f1;return this[_0x2544ea(0x24f)](),this['_injector'][_0x2544ea(0xb7)](exports[_0x2544ea(0x2e7)],this[_0x2544ea(0x237)],this[_0x2544ea(0x2a3)],this[_0x2544ea(0x2e1)],this[_0x2544ea(0x380)],this[_0x2544ea(0x33e)]);}[_0x4dc0f1(0x31e)](){return this;}[_0x4dc0f1(0x31c)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x4dc0f1(0x2c0)](_0x11ac8a){var _0x4a2e3c=_0x4dc0f1;return this[_0x4a2e3c(0x24f)](),this[_0x4a2e3c(0x133)][_0x4a2e3c(0xb7)](exports[_0x4a2e3c(0x323)],this[_0x4a2e3c(0x237)],this[_0x4a2e3c(0x2a3)],null,this[_0x4a2e3c(0x380)],this[_0x4a2e3c(0x33e)],_0x11ac8a);}[_0x4dc0f1(0xce)](_0x217bcc,_0x85a4f8){var _0x35a8e3=_0x4dc0f1,_0x3b0c62;_0x217bcc===((_0x3b0c62=this[_0x35a8e3(0x2e1)])==null?void 0x0:_0x3b0c62['reqId'])&&(this['resend'](),this[_0x35a8e3(0x24c)]=_0x85a4f8===0x0?0x3e8:Math[_0x35a8e3(0x30f)](_0x85a4f8*0x2,It),this[_0x35a8e3(0x25f)]+=this[_0x35a8e3(0x24c)]);}['_clearScheduledTask'](){var _0x19dd04=_0x4dc0f1,_0x553516;(_0x553516=this['_sender'])==null||_0x553516['unsubscribe'](),this[_0x19dd04(0x24c)]=0x0,this[_0x19dd04(0x25f)]=0x0;}},exports[_0x4dc0f1(0x217)]=ae([L(0x6,o[_0x4dc0f1(0x389)](o['Injector'])),L(0x7,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x403)])),L(0x8,o[_0x4dc0f1(0x2ab)]),L(0x9,o['ILogService']),L(0xa,E[_0x4dc0f1(0x409)]),L(0xb,o[_0x4dc0f1(0x309)]),L(0xc,o[_0x4dc0f1(0xaa)](q))],exports[_0x4dc0f1(0x217)]),exports[_0x4dc0f1(0x323)]=class extends oe{constructor(_0x55d041,_0x9b0ab9,_0x234df1,_0x103a58,_0x10a954,_0x26dcc9=!0x1,_0x104e0e,_0x52074b,_0x199192,_0x4c4cfa,_0x10addd,_0x33acc1,_0x136233){var _0x465022=_0x4dc0f1;super(_0x55d041,_0x9b0ab9,_0x234df1,_0x103a58,_0x10a954,_0x52074b,_0x199192,_0x4c4cfa,_0x136233),A(this,_0x465022(0x3b9),'conflict'),(this[_0x465022(0x3bd)]=_0x26dcc9,this[_0x465022(0x211)]=_0x104e0e,this[_0x465022(0x2b7)]=_0x10addd,this[_0x465022(0x2a5)]=_0x33acc1,this[_0x465022(0x3fe)]=_0x136233,this[_0x465022(0x2c2)](),this[_0x465022(0x224)](),this['_disableEditing']());}[_0x4dc0f1(0x1ae)](){return this;}[_0x4dc0f1(0x2d8)](){return this;}[_0x4dc0f1(0x12d)](){return this;}[_0x4dc0f1(0xcd)](){return this;}[_0x4dc0f1(0x372)](){return this;}['toggleOffline'](){return this;}[_0x4dc0f1(0x31e)](){return this;}[_0x4dc0f1(0x31c)](){var _0x2aba56=_0x4dc0f1;throw new Error(_0x2aba56(0x26f));}['_clearLocalCache'](){var _0x4b1ce9=_0x4dc0f1,_0x16e2f7;(_0x16e2f7=this[_0x4b1ce9(0x18e)])==null||_0x16e2f7[_0x4b1ce9(0x315)](this[_0x4b1ce9(0x237)],this[_0x4b1ce9(0x2a3)],null,[]);}[_0x4dc0f1(0x2c2)](){var _0x40b9c3=_0x4dc0f1;this[_0x40b9c3(0x3bd)]?this[_0x40b9c3(0x2a5)][_0x40b9c3(0x27e)]({'id':J[_0x40b9c3(0x210)]}):this['_collaborationUIEventService'][_0x40b9c3(0x27e)]({'id':J['CONFLICT']});}[_0x4dc0f1(0x3b2)](){var _0x2f7653=_0x4dc0f1;this[_0x2f7653(0x211)]['updatePermissionPoint'](new Q[(_0x2f7653(0x228))](this['unitID'])['id'],!0x1);}},exports['ConflictState']=ae([L(0x6,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x266)])),L(0x7,o[_0x4dc0f1(0x2ab)]),L(0x8,o[_0x4dc0f1(0x309)]),L(0x9,o['Inject'](E[_0x4dc0f1(0x403)])),L(0xa,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x298)])),L(0xb,o['Inject'](ee)),L(0xc,o[_0x4dc0f1(0xaa)](q))],exports['ConflictState']),exports['OfflineState']=class extends oe{constructor(_0x1df0ca,_0x17b339,_0x290ea3,_0xa1c71c,_0x1abafa,_0x325ff1,_0x4918ae,_0x3c7ee3,_0x1db4f8,_0x34a7c2){var _0x503cbf=_0x4dc0f1;super(_0x1df0ca,_0x17b339,_0x290ea3,_0xa1c71c,_0x1abafa,_0x3c7ee3,_0x1db4f8,_0x4918ae,_0x34a7c2),A(this,_0x503cbf(0x3b9),'offline'),this[_0x503cbf(0x133)]=_0x325ff1;}['appendMutation'](_0x203b6a){var _0x19b050=_0x4dc0f1;return this[_0x19b050(0x380)][_0x19b050(0x3f3)](_0x203b6a),this[_0x19b050(0x3d0)](),this;}[_0x4dc0f1(0x2d8)](_0x641fe4){var _0x1a26a3=_0x4dc0f1;throw new Error(_0x1a26a3(0x1c0));}[_0x4dc0f1(0x12d)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4dc0f1(0xcd)](){var _0x2002d6=_0x4dc0f1;throw new Error(_0x2002d6(0x1b0));}[_0x4dc0f1(0x372)](){return this;}[_0x4dc0f1(0x105)](){return this;}[_0x4dc0f1(0x31e)](){var _0x565c48=_0x4dc0f1;const {_injector:_0x3ffd1c,_pendingMutations:_0x373e61,_awaitingChangeset:_0x2bf065,unitID:_0x5b580a,_handler:_0x259173,type:_0x4ddda3}=this,_0x572069=Et(_0x3ffd1c,_0x5b580a,_0x4ddda3,_0x2bf065,_0x373e61,_0x259173);return _0x572069 instanceof exports[_0x565c48(0x28a)]?_0x572069[_0x565c48(0x2a4)]():(_0x572069 instanceof exports[_0x565c48(0x217)]||_0x572069 instanceof exports[_0x565c48(0x324)])&&_0x572069['resend'](),_0x572069;}[_0x4dc0f1(0x31c)](){var _0x3222a9=_0x4dc0f1;throw new Error(_0x3222a9(0x3dc));}},exports[_0x4dc0f1(0x2e7)]=ae([L(0x5,o['Inject'](o[_0x4dc0f1(0x1e2)])),L(0x6,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x403)])),L(0x7,o[_0x4dc0f1(0x2ab)]),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x4dc0f1(0xaa)](q))],exports[_0x4dc0f1(0x2e7)]),exports[_0x4dc0f1(0x89)]=class extends oe{constructor(_0x5525ac,_0x3563b6,_0x154e18,_0x5ad48b,_0x2aa624,_0x417b4f,_0x4ae112,_0x17abfd,_0x1ceb13,_0x44aab0,_0xa1373e,_0x214ab5,_0x4376d3,_0x374de1){var _0x33ca4f=_0x4dc0f1;super(_0x5525ac,_0x3563b6,_0x154e18,_0x5ad48b,_0x4ae112,_0xa1373e,_0x214ab5,_0x1ceb13,_0x374de1),A(this,_0x33ca4f(0x3b9),_0x33ca4f(0x33c)),(this['_acknowledgedAwaitingChangeset']=_0x2aa624,this[_0x33ca4f(0x412)]=_0x417b4f,this[_0x33ca4f(0x133)]=_0x17abfd,this['_logService']=_0x44aab0,this[_0x33ca4f(0x38c)]=_0x4376d3,this[_0x33ca4f(0x3fe)]=_0x374de1);}['onMissedChangesetFetched'](_0x388efd){var _0x56c065=_0x4dc0f1;try{const _0x372824=[..._0x388efd,...this[_0x56c065(0x412)]],_0x121ea0=[this[_0x56c065(0x2e1)]||this[_0x56c065(0x332)]][_0x56c065(0x28e)](_0x5f4cb9=>!!_0x5f4cb9);let _0x2cc9b6,_0x58969c;if(_0x121ea0[_0x56c065(0x183)]){const _0x343d4c=this[_0x56c065(0x38c)][_0x56c065(0x11a)](_0x372824,_0x121ea0,!0x1);if(!E[_0x56c065(0x1c1)](_0x343d4c))throw _0x343d4c[_0x56c065(0x1d3)];_0x2cc9b6=_0x343d4c[_0x56c065(0x1d8)],_0x58969c=_0x343d4c['c2Prime'];}else _0x2cc9b6=_0x372824,_0x58969c=[];let _0x3e0653=this[_0x56c065(0x380)];_0x2cc9b6[_0x56c065(0x397)](_0x49431b=>{var _0x85d423=_0x56c065;let _0x185686;if(_0x3e0653['length']){const _0x2e7043=this['_transformService'][_0x85d423(0x14e)](_0x49431b,_0x3e0653);if(!E['isTransformMutationsWithChangesetSuccess'](_0x2e7043))throw _0x2e7043[_0x85d423(0x1d3)];_0x185686=_0x2e7043[_0x85d423(0x1d8)],_0x3e0653=_0x2e7043[_0x85d423(0x248)];}else _0x185686=_0x49431b;this['_executeRemoteChangeset'](_0x185686);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x56c065(0x2e1)]&&_0x58969c[_0x56c065(0x183)]&&(_0x58969c[0x0]['baseRev']=this[_0x56c065(0x365)]());let _0x10491e;if(this[_0x56c065(0x2e1)]&&_0x3e0653[_0x56c065(0x183)]!==0x0)_0x10491e=this[_0x56c065(0x133)]['createInstance'](exports[_0x56c065(0x217)],this['unitID'],this[_0x56c065(0x2a3)],_0x58969c[0x0],_0x3e0653,this[_0x56c065(0x33e)],void 0x0);else{if(this[_0x56c065(0x2e1)]&&_0x3e0653['length']===0x0)_0x58969c[0x0][_0x56c065(0x202)]=this[_0x56c065(0x365)](),_0x10491e=this[_0x56c065(0x133)][_0x56c065(0xb7)](exports[_0x56c065(0x324)],this[_0x56c065(0x237)],this['type'],_0x58969c[0x0],this[_0x56c065(0x33e)]);else{if(_0x3e0653[_0x56c065(0x183)]!==0x0){const _0x15b930=this[_0x56c065(0x133)][_0x56c065(0xb7)](exports[_0x56c065(0x28a)],this[_0x56c065(0x237)],this['type'],_0x3e0653,this[_0x56c065(0x33e)]);_0x15b930[_0x56c065(0x2a4)](),_0x10491e=_0x15b930;}else _0x10491e=this[_0x56c065(0x133)][_0x56c065(0xb7)](exports[_0x56c065(0x1aa)],this[_0x56c065(0x237)],this['type'],this[_0x56c065(0x33e)]);}}return _0x10491e[_0x56c065(0x3d0)](),_0x10491e;}catch(_0x26418e){return this[_0x56c065(0x7c)][_0x56c065(0x1d3)](_0x56c065(0x121),_0x56c065(0x2b0),_0x26418e),this[_0x56c065(0x133)]['createInstance'](exports[_0x56c065(0x323)],this['unitID'],this[_0x56c065(0x2a3)],this[_0x56c065(0x2e1)],this[_0x56c065(0x380)],this['_handler'],!0x1);}}['resend'](){var _0x11c27f=_0x4dc0f1;throw new Error(_0x11c27f(0x1c8));}[_0x4dc0f1(0x1ae)](_0x17e199){var _0x2f7dea=_0x4dc0f1;return this['_pendingMutations'][_0x2f7dea(0x3f3)](_0x17e199),this;}[_0x4dc0f1(0x2d8)](_0x314a97){var _0x32c74d=_0x4dc0f1;return this[_0x32c74d(0x412)]['push'](_0x314a97),this;}[_0x4dc0f1(0x12d)](_0x13901b){var _0x8e43a1=_0x4dc0f1;if(this[_0x8e43a1(0x2e1)])return this[_0x8e43a1(0x332)]=this['_awaitingChangeset'],this[_0x8e43a1(0x2e1)]=null,this;throw new Error(_0x8e43a1(0x34f));}[_0x4dc0f1(0xcd)](_0x2ab406){var _0x5bf5ce=_0x4dc0f1;return this[_0x5bf5ce(0x2c0)](!!(_0x2ab406!=null&&_0x2ab406[_0x5bf5ce(0x2b4)]));}['onRemoteRetry'](){return this;}[_0x4dc0f1(0x105)](){var _0x1130cd=_0x4dc0f1;return this['_injector'][_0x1130cd(0xb7)](exports[_0x1130cd(0x2e7)],this['unitID'],this[_0x1130cd(0x2a3)],this['_awaitingChangeset'],this[_0x1130cd(0x380)],this[_0x1130cd(0x33e)]);}[_0x4dc0f1(0x31e)](){return this;}[_0x4dc0f1(0x2c0)](_0x364ffa){var _0x1fae9c=_0x4dc0f1;return this['_injector'][_0x1fae9c(0xb7)](exports[_0x1fae9c(0x323)],this[_0x1fae9c(0x237)],this[_0x1fae9c(0x2a3)],this['_awaitingChangeset'],this[_0x1fae9c(0x380)],this[_0x1fae9c(0x33e)],_0x364ffa);}},exports['FetchingMissState']=ae([L(0x7,o['Inject'](o[_0x4dc0f1(0x1e2)])),L(0x8,o[_0x4dc0f1(0x389)](E['RevisionService'])),L(0x9,o[_0x4dc0f1(0x13c)]),L(0xa,o['ICommandService']),L(0xb,o[_0x4dc0f1(0x309)]),L(0xc,E[_0x4dc0f1(0x409)]),L(0xd,o['Optional'](q))],exports['FetchingMissState']);function Et(_0x57bda3,_0x15d6ad,_0x107231,_0x14283b,_0x15ebef,_0x181757){var _0x2f23df=_0x4dc0f1;return _0x14283b&&_0x15ebef[_0x2f23df(0x183)]?_0x57bda3[_0x2f23df(0xb7)](exports[_0x2f23df(0x217)],_0x15d6ad,_0x107231,_0x14283b,_0x15ebef,_0x181757,void 0x0):_0x14283b?_0x57bda3[_0x2f23df(0xb7)](exports[_0x2f23df(0x324)],_0x15d6ad,_0x107231,_0x14283b,_0x181757):_0x15ebef[_0x2f23df(0x183)]?_0x57bda3['createInstance'](exports[_0x2f23df(0x28a)],_0x15d6ad,_0x107231,_0x15ebef,_0x181757):_0x57bda3[_0x2f23df(0xb7)](exports['SyncedState'],_0x15d6ad,_0x107231,_0x181757);}var si=Object[_0x4dc0f1(0x1b3)],Be=(_0x2080d1,_0x4dbf0e,_0x43bfcd,_0x17abb1)=>{var _0x2b154c=_0x4dc0f1;for(var _0x8de677=_0x17abb1>0x1?void 0x0:_0x17abb1?si(_0x4dbf0e,_0x43bfcd):_0x4dbf0e,_0x4f960f=_0x2080d1[_0x2b154c(0x183)]-0x1,_0x2ba0b9;_0x4f960f>=0x0;_0x4f960f--)(_0x2ba0b9=_0x2080d1[_0x4f960f])&&(_0x8de677=_0x2ba0b9(_0x8de677)||_0x8de677);return _0x8de677;},$=(_0x464eec,_0x295d7c)=>(_0x1ab560,_0xaca134)=>_0x295d7c(_0x1ab560,_0xaca134,_0x464eec);exports[_0x4dc0f1(0x3f8)]=class extends o[_0x4dc0f1(0x208)]{constructor(_0x41ff6a,_0x58da42,_0x489063,_0x3c0ea4,_0x1a43c4,_0x455a5a,_0x4215b6,_0x306204,_0x4e798e,_0x426c49,_0x365b22,_0x265dbb,_0x528398,_0x3e7bc1){var _0x1e86bc=_0x4dc0f1;super(),A(this,_0x1e86bc(0x322),new j[(_0x1e86bc(0xee))](null)),A(this,_0x1e86bc(0xb1),this['_state$']['asObservable']()),A(this,_0x1e86bc(0x400)),A(this,_0x1e86bc(0x2bb),!0x1),A(this,_0x1e86bc(0x33b),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x1e86bc(0xb1)][_0x1e86bc(0x1cc)](j[_0x1e86bc(0xfc)](_0x37cfee=>_0x37cfee?_0x37cfee['status']:je[_0x1e86bc(0x160)]),j['shareReplay'](0x1))),A(this,_0x1e86bc(0x2bf),!0x1),A(this,_0x1e86bc(0x149),[]),(this[_0x1e86bc(0x237)]=_0x41ff6a,this['session']=_0x58da42,this[_0x1e86bc(0x342)]=_0x489063,this[_0x1e86bc(0x133)]=_0x3c0ea4,this[_0x1e86bc(0x114)]=_0x1a43c4,this['_localeService']=_0x455a5a,this[_0x1e86bc(0x2aa)]=_0x4215b6,this[_0x1e86bc(0x314)]=_0x306204,this[_0x1e86bc(0xc8)]=_0x4e798e,this[_0x1e86bc(0x7c)]=_0x426c49,this[_0x1e86bc(0x88)]=_0x365b22,this['_permissionService']=_0x265dbb,this['_singleActiveUnitService']=_0x528398,this[_0x1e86bc(0x18e)]=_0x3e7bc1);}get[_0x4dc0f1(0x40a)](){var _0x55f24f=_0x4dc0f1;return this[_0x55f24f(0x400)];}async[_0x4dc0f1(0x128)](){var _0x38c146=_0x4dc0f1;if(this[_0x38c146(0x40a)])throw new Error(_0x38c146(0x2fa));await this[_0x38c146(0x3f0)]();}[_0x4dc0f1(0x282)](){var _0x13501d=_0x4dc0f1;return this[_0x13501d(0x2bb)]=!0x0,o[_0x13501d(0x3c0)](()=>{var _0x55f7fe=_0x13501d;this[_0x55f7fe(0x2bb)]=!0x1,this[_0x55f7fe(0x40f)]();});}[_0x4dc0f1(0x1db)](_0x21ca9c){var _0x1deaaf=_0x4dc0f1;this[_0x1deaaf(0x2e5)](_0x21ca9c);}[_0x4dc0f1(0x2d0)](_0x46ff52){var _0x4e0f0a=_0x4dc0f1;this['_state']=_0x46ff52,this[_0x4e0f0a(0x322)]['next'](_0x46ff52);}async[_0x4dc0f1(0x3f0)](){var _0x3f9cc7=_0x4dc0f1,_0x523f17;this['_updateState'](await this[_0x3f9cc7(0x388)]()),this[_0x3f9cc7(0x3b3)]&&((_0x523f17=this[_0x3f9cc7(0x3b3)])==null||_0x523f17[_0x3f9cc7(0x17b)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3f9cc7(0x26e)](this['unitID'])[_0x3f9cc7(0x1a1)](_0x3bb960=>{var _0xff600f=_0x3f9cc7;this[_0xff600f(0x7c)][_0xff600f(0x350)]('[CollaborationEntity]',_0xff600f(0x2fb),_0x3bb960),_0x3bb960===He['OTHER_CLIENTS_EDITING']?(this[_0xff600f(0x314)][_0xff600f(0x27e)]({'id':J['OTHER_CLIENT_EDITING']}),this[_0xff600f(0x211)][_0xff600f(0x3d6)](new Q['WorkbookEditablePermission'](this[_0xff600f(0x237)])['id'],!0x1),this[_0xff600f(0x211)][_0xff600f(0x3e6)](!0x1)):(this[_0xff600f(0x211)][_0xff600f(0x3d6)](new Q[(_0xff600f(0x228))](this[_0xff600f(0x237)])['id'],!0x0),this['_permissionService'][_0xff600f(0x3e6)](!0x0));})));let _0xe2b7bd=!0x1;return this[_0x3f9cc7(0x19b)](this[_0x3f9cc7(0x239)]['sessionStatus$']['subscribe'](_0xfdda10=>{var _0x466345=_0x3f9cc7;_0xfdda10===se[_0x466345(0x3c5)]?this['_toggleOnline'](_0xe2b7bd):_0xfdda10===se[_0x466345(0x160)]&&(_0xe2b7bd=!0x0,this['_toggleOffline']());})),this[_0x3f9cc7(0x19b)](this[_0x3f9cc7(0x239)][_0x3f9cc7(0x2c5)][_0x3f9cc7(0x1a1)](_0x31b18c=>{var _0x493511=_0x3f9cc7;try{switch(_0x31b18c[_0x493511(0x1bf)]){case E[_0x493511(0x15c)][_0x493511(0x3e1)]:{this[_0x493511(0x395)](E['parseProtocolChangeset'](_0x31b18c[_0x493511(0xda)]));break;}case E[_0x493511(0x15c)][_0x493511(0x1e6)]:{this['_onRemoteACK'](_0x31b18c[_0x493511(0xda)]);break;}case E[_0x493511(0x15c)][_0x493511(0x110)]:{this[_0x493511(0x2e4)]();break;}case E[_0x493511(0x15c)][_0x493511(0x339)]:{this[_0x493511(0x416)](_0x31b18c[_0x493511(0xda)]);break;}case E[_0x493511(0x15c)][_0x493511(0x166)]:{this[_0x493511(0x39e)](_0x31b18c[_0x493511(0xda)][_0x493511(0x158)]['map'](_0x39dbb1=>E['parseProtocolChangeset'](_0x39dbb1)));break;}case E[_0x493511(0x15c)][_0x493511(0x3a9)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case E[_0x493511(0x15c)]['UNISCRIPT_RUN']:break;}}catch(_0x476f7e){throw console['error'](_0x493511(0x2db),_0x476f7e),_0x476f7e;}})),this[_0x3f9cc7(0x400)];}['_unlockTransition'](){var _0x36d916=_0x4dc0f1;this[_0x36d916(0x2bf)]=!0x1;}['_lockTransition'](){var _0x487428=_0x4dc0f1;if(this['_transitionLocked'])throw new Error(_0x487428(0x30b));this[_0x487428(0x2bf)]=!0x0;}[_0x4dc0f1(0x2e5)](_0x50c7c4){var _0x54d7e9=_0x4dc0f1;this['_lockTransition'](),this[_0x54d7e9(0x2d0)](this[_0x54d7e9(0x400)]['appendMutation'](_0x50c7c4)),this[_0x54d7e9(0x77)]();}[_0x4dc0f1(0x395)](_0x298f33){var _0x4aa61c=_0x4dc0f1;if(!(_0x298f33[_0x4aa61c(0x124)]<=this[_0x4aa61c(0x2aa)][_0x4aa61c(0x206)](this[_0x4aa61c(0x237)]))){if(this[_0x4aa61c(0x2bb)]){this[_0x4aa61c(0x149)][_0x4aa61c(0x3f3)](_0x298f33);return;}this[_0x4aa61c(0x316)](_0x298f33);}}['_exhaustRemoteChangesetQueue'](){var _0x3a4a29=_0x4dc0f1;this[_0x3a4a29(0x149)]['forEach'](_0x458caf=>this[_0x3a4a29(0x316)](_0x458caf)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x350193){var _0x3e3270=_0x4dc0f1;const _0x5715e9=this[_0x3e3270(0x114)][_0x3e3270(0x1eb)][_0x3e3270(0x138)](this[_0x3e3270(0x114)][_0x3e3270(0x1eb)][_0x3e3270(0x15e)]()['COMPRESS_MUTATION_APPLY'])(_0x350193[_0x3e3270(0xdb)],null)||_0x350193['mutations'],_0x326203={..._0x350193,'mutations':_0x5715e9};this[_0x3e3270(0x2a7)](),this[_0x3e3270(0x2d0)](this[_0x3e3270(0x400)][_0x3e3270(0x2d8)](_0x326203)),this['_unlockTransition']();}[_0x4dc0f1(0x2d9)](_0x4a4974){var _0x5ba4f0=_0x4dc0f1;this['_lockTransition'](),this[_0x5ba4f0(0x2d0)](this[_0x5ba4f0(0x400)][_0x5ba4f0(0x12d)](_0x4a4974)),this[_0x5ba4f0(0x77)]();}[_0x4dc0f1(0x2e4)](_0x37005b){var _0x351673=_0x4dc0f1;this[_0x351673(0x2a7)](),this[_0x351673(0x2d0)](this[_0x351673(0x400)][_0x351673(0xcd)](_0x37005b)),this[_0x351673(0x77)]();}[_0x4dc0f1(0x416)](_0x2446e4){var _0x17c2e0=_0x4dc0f1;this[_0x17c2e0(0x2a7)](),this[_0x17c2e0(0x2d0)](this[_0x17c2e0(0x400)]['onRemoteRetry'](_0x2446e4)),this[_0x17c2e0(0x77)]();}['_onFetchMissResult'](_0x5431ca){var _0x14d4f0=_0x4dc0f1;if(!(this[_0x14d4f0(0x400)]instanceof exports['FetchingMissState']))throw new TypeError(_0x14d4f0(0x268));const _0x3e39dd=_0x5431ca['map'](_0x1ff700=>{var _0x4b9dd9=_0x14d4f0;const _0x3f8add=this[_0x4b9dd9(0x114)][_0x4b9dd9(0x1eb)][_0x4b9dd9(0x138)](this[_0x4b9dd9(0x114)][_0x4b9dd9(0x1eb)][_0x4b9dd9(0x15e)]()[_0x4b9dd9(0x177)])(_0x1ff700[_0x4b9dd9(0xdb)],null)||_0x1ff700[_0x4b9dd9(0xdb)];return{..._0x1ff700,'mutations':_0x3f8add};});this[_0x14d4f0(0x2a7)](),this[_0x14d4f0(0x2d0)](this[_0x14d4f0(0x400)][_0x14d4f0(0x1fd)](_0x3e39dd)),this[_0x14d4f0(0x77)]();}[_0x4dc0f1(0x264)](){var _0x51e5ce=_0x4dc0f1;this[_0x51e5ce(0x2a7)](),this[_0x51e5ce(0x2d0)](this[_0x51e5ce(0x400)][_0x51e5ce(0x105)]()),this[_0x51e5ce(0x77)]();}[_0x4dc0f1(0x1b2)](_0x22c926=!0x1){var _0x3946e9=_0x4dc0f1;this[_0x3946e9(0x2a7)](),this['_updateState'](this['_state'][_0x3946e9(0x31e)]()),this[_0x3946e9(0x77)]();const _0x55ed1e=this[_0x3946e9(0x400)];_0x22c926&&_0x55ed1e instanceof exports[_0x3946e9(0x1aa)]&&(this[_0x3946e9(0x2a7)](),this[_0x3946e9(0x2d0)](_0x55ed1e[_0x3946e9(0x1ed)]()),this[_0x3946e9(0x77)]());}async[_0x4dc0f1(0x388)](){return new Promise(_0x38d406=>{var _0x20cec1=_0x571e;this[_0x20cec1(0x239)]['sessionStatus$']['pipe'](j[_0x20cec1(0x304)](0x1))[_0x20cec1(0x1a1)](async _0x3b904b=>{var _0x42ac34=_0x20cec1;_0x38d406(await this[_0x42ac34(0x39d)](_0x3b904b===se[_0x42ac34(0x3c5)]));});});}[_0x4dc0f1(0x168)](){const _0x320fd4=this['unitID'];return{'onStateChange':(_0x5b08b0,_0x420617)=>{var _0x171d4c=_0x571e;if(_0x5b08b0!==this[_0x171d4c(0x400)])throw new Error(_0x171d4c(0x172)+_0x5b08b0[_0x171d4c(0x3b9)]+_0x171d4c(0xdf)+_0x420617['status']+_0x171d4c(0x2b5)+this[_0x171d4c(0x400)][_0x171d4c(0x3b9)]);this[_0x171d4c(0x2d0)](_0x420617);},'onSendChangeset':_0x3c4495=>{var _0x41fec5=_0x571e;_0x3c4495[_0x41fec5(0x3ce)]||(_0x3c4495['sid']=this['_changesetSessionId'],_0x3c4495[_0x41fec5(0x340)]=++this[_0x41fec5(0x2c9)]);const _0x4fc156={'eventID':E[_0x41fec5(0x15c)][_0x41fec5(0x30e)],'data':{'unitID':_0x3c4495[_0x41fec5(0x237)],'unitType':this['_type'],'changeset':_0x3c4495,'memberID':this[_0x41fec5(0x239)]['getMemberID']()}};this[_0x41fec5(0x239)][_0x41fec5(0xf8)](_0x4fc156,this[_0x41fec5(0x237)]);},'onMissingChangesets':({from:_0x385e64,to:_0x15e200})=>{var _0x30221d=_0x571e;this[_0x30221d(0x7c)]['debug'](_0x30221d(0x26a),_0x30221d(0x26b)+_0x385e64+_0x30221d(0x227)+_0x15e200);const _0x1926fb={'eventID':E['CollaborationEvent'][_0x30221d(0x22a)],'data':{'unitID':_0x320fd4,'unitType':this['_type'],'from':_0x385e64,'to':_0x15e200}};this[_0x30221d(0x239)][_0x30221d(0xf8)](_0x1926fb,this['unitID']);}};}async[_0x4dc0f1(0x39d)](_0xe9b62e){var _0x123623=_0x4dc0f1,_0x4a3b04,_0x47c41d,_0xf8b51;const _0x3f58f5=await((_0x4a3b04=this['_localCacheService'])==null?void 0x0:_0x4a3b04[_0x123623(0x285)](this[_0x123623(0x237)])),_0x128969=(_0x47c41d=_0x3f58f5==null?void 0x0:_0x3f58f5[_0x123623(0xdb)])!=null?_0x47c41d:[],_0x5e0416=(_0xf8b51=_0x3f58f5==null?void 0x0:_0x3f58f5['awaitingChangeset'])!=null?_0xf8b51:null,_0x1f3493=!!(_0x5e0416!=null&&_0x5e0416[_0x123623(0x3ce)])&&!!(_0x5e0416!=null&&_0x5e0416['reqId']);this[_0x123623(0x33b)]=_0x1f3493?_0x5e0416['sid']:E[_0x123623(0xa9)](),this['_changesetReqId']=_0x1f3493?_0x5e0416[_0x123623(0x340)]:0x0;const _0x18927c=this[_0x123623(0x237)];try{this['_replayCachedMutations'](_0x5e0416,_0x128969);}catch(_0x1f9573){this[_0x123623(0x7c)][_0x123623(0x1d3)](_0x1f9573);}const _0x20bed4=this[_0x123623(0x168)]();if(_0xe9b62e){const _0x4ea256=Et(this['_injector'],_0x18927c,this['_type'],_0x5e0416,_0x128969,_0x20bed4);return _0x4ea256 instanceof exports[_0x123623(0x28a)]?_0x4ea256['_schedule']():(_0x4ea256 instanceof exports[_0x123623(0x217)]||_0x4ea256 instanceof exports[_0x123623(0x324)])&&_0x4ea256[_0x123623(0x31c)](),_0x4ea256;}return this[_0x123623(0x133)]['createInstance'](exports[_0x123623(0x2e7)],_0x18927c,this[_0x123623(0x342)],_0x5e0416,_0x128969,_0x20bed4);}[_0x4dc0f1(0x9d)](_0x12291c,_0x143a94){var _0x26a4df=_0x4dc0f1,_0x25a017,_0x2be29d;const _0x1d3866=this[_0x26a4df(0x114)][_0x26a4df(0x1eb)][_0x26a4df(0x138)](this['_compressMutationService'][_0x26a4df(0x1eb)]['getInterceptPoints']()[_0x26a4df(0x177)]);(_0x25a017=_0x1d3866((_0x12291c==null?void 0x0:_0x12291c['mutations'])||[],null))==null||_0x25a017[_0x26a4df(0x397)](_0x2cef2d=>this[_0x26a4df(0x88)][_0x26a4df(0x226)](_0x2cef2d['id'],_0x2cef2d[_0x26a4df(0x2c8)])),(_0x2be29d=_0x1d3866(_0x143a94||[],null))==null||_0x2be29d[_0x26a4df(0x397)](_0x4c5efb=>this[_0x26a4df(0x88)]['executeCommand'](_0x4c5efb['id'],_0x4c5efb[_0x26a4df(0x2c8)]));}},exports[_0x4dc0f1(0x3f8)]=Be([$(0x3,o[_0x4dc0f1(0x389)](o['Injector'])),$(0x4,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x283)])),$(0x5,o[_0x4dc0f1(0x389)](o['LocaleService'])),$(0x6,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x403)])),$(0x7,o[_0x4dc0f1(0x389)](ee)),$(0x8,o[_0x4dc0f1(0x216)]),$(0x9,o[_0x4dc0f1(0x13c)]),$(0xa,o[_0x4dc0f1(0x2ab)]),$(0xb,o[_0x4dc0f1(0x266)]),$(0xc,o[_0x4dc0f1(0xaa)](ve)),$(0xd,o[_0x4dc0f1(0xaa)](q))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x4dc0f1(0x3f8)]{constructor(_0x1f83d2,_0x437b66,_0x543fef,_0x5522dd,_0x3fd988,_0x40aff5,_0x9b918f,_0x4803d1,_0x36e97f,_0x3766d6,_0x247d74,_0x448017,_0x52bc9c,_0x4160ab){var _0x2edeed=_0x4dc0f1;super(_0x1f83d2,_0x543fef,_0x437b66,_0x5522dd,_0x3fd988,_0x40aff5,_0x9b918f,_0x4803d1,_0x36e97f,_0x3766d6,_0x247d74,_0x448017,_0x52bc9c,_0x4160ab),A(this,_0x2edeed(0x1cb),null),(this[_0x2edeed(0x237)]=_0x1f83d2,this['type']=_0x437b66);}[_0x4dc0f1(0x233)](_0x5362e6){var _0x115151=_0x4dc0f1;this[_0x115151(0x1cb)]=_0x5362e6;}[_0x4dc0f1(0x161)](){var _0x75b14a=_0x4dc0f1;this[_0x75b14a(0x1cb)]=null,super[_0x75b14a(0x161)]();}['_createHandler'](){var _0x33a4fb=_0x4dc0f1;const _0x48c8df=super[_0x33a4fb(0x168)]();return _0x48c8df[_0x33a4fb(0x37b)]=_0x7ef9a7=>{var _0x3a66f4=_0x33a4fb,_0x2c77dc,_0x5f5dec;return(_0x5f5dec=(_0x2c77dc=this[_0x3a66f4(0x1cb)])==null?void 0x0:_0x2c77dc[_0x3a66f4(0x37b)])==null?void 0x0:_0x5f5dec['call'](_0x2c77dc,_0x7ef9a7);},_0x48c8df[_0x33a4fb(0x310)]=_0x5b5f1a=>{var _0x324070=_0x33a4fb,_0xc2308a,_0x5176a2;return(_0x5176a2=(_0xc2308a=this[_0x324070(0x1cb)])==null?void 0x0:_0xc2308a[_0x324070(0x310)])==null?void 0x0:_0x5176a2[_0x324070(0xf7)](_0xc2308a,_0x5b5f1a);},_0x48c8df[_0x33a4fb(0xb0)]=_0x245f93=>{var _0x13300c=_0x33a4fb,_0x27e00f,_0x5305fd;return(_0x5305fd=(_0x27e00f=this[_0x13300c(0x1cb)])==null?void 0x0:_0x27e00f[_0x13300c(0xb0)])==null?void 0x0:_0x5305fd[_0x13300c(0xf7)](_0x27e00f,_0x245f93);},_0x48c8df[_0x33a4fb(0x3ef)]=_0x2291cd=>{var _0x5a3732=_0x33a4fb,_0x40e9df,_0x554b6e;return(_0x554b6e=(_0x40e9df=this[_0x5a3732(0x1cb)])==null?void 0x0:_0x40e9df[_0x5a3732(0x3ef)])==null?void 0x0:_0x554b6e['call'](_0x40e9df,_0x2291cd);},_0x48c8df[_0x33a4fb(0xb8)]=_0x5f5340=>{var _0x2bd0d1=_0x33a4fb,_0x4c081d,_0x20efc,_0x54e3a8;if(!((_0x4c081d=this[_0x2bd0d1(0x1cb)])!=null&&_0x4c081d['onTransformRemoteChangesetByIMECache']))throw new Error(_0x2bd0d1(0x278));return(_0x54e3a8=(_0x20efc=this['_handlerCallback'])==null?void 0x0:_0x20efc[_0x2bd0d1(0xb8)])==null?void 0x0:_0x54e3a8[_0x2bd0d1(0xf7)](_0x20efc,_0x5f5340);},_0x48c8df[_0x33a4fb(0x91)]=_0x391c84=>{var _0x5c34f7=_0x33a4fb,_0x289143,_0x3ef7cd,_0x56d0f3;if(!((_0x289143=this[_0x5c34f7(0x1cb)])!=null&&_0x289143[_0x5c34f7(0x91)]))throw new Error(_0x5c34f7(0x23e));return(_0x56d0f3=(_0x3ef7cd=this[_0x5c34f7(0x1cb)])==null?void 0x0:_0x3ef7cd['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x56d0f3[_0x5c34f7(0xf7)](_0x3ef7cd,_0x391c84);},_0x48c8df;}async[_0x4dc0f1(0x3f0)](){var _0x335eb1=_0x4dc0f1;const _0x29ee40=await super[_0x335eb1(0x3f0)]();return this[_0x335eb1(0x19b)](this[_0x335eb1(0x88)][_0x335eb1(0x188)]((_0x4aaa6f,_0xb97b3b)=>{var _0x4b50c9=_0x335eb1;if(_0x4aaa6f[_0x4b50c9(0x2a3)]!==o[_0x4b50c9(0xed)][_0x4b50c9(0x11b)]||_0xb97b3b!=null&&_0xb97b3b[_0x4b50c9(0x1c7)]||_0xb97b3b!=null&&_0xb97b3b[_0x4b50c9(0x2a8)]||_0x4aaa6f['id']===ct[_0x4b50c9(0x29f)]['id'])return;const _0x4aebbb=_0x4aaa6f[_0x4b50c9(0x2c8)];if((_0x4aebbb==null?void 0x0:_0x4aebbb[_0x4b50c9(0xb9)])!==this[_0x4b50c9(0x237)])return;const _0x33308c=_0x4aaa6f,_0x485753=this[_0x4b50c9(0x114)][_0x4b50c9(0x1eb)][_0x4b50c9(0x138)](this[_0x4b50c9(0x114)]['interceptor'][_0x4b50c9(0x15e)]()['COMPRESS_MUTATION_SEND'])([_0x33308c],this['_univerInstanceService'])||[_0x33308c];this[_0x4b50c9(0x2e5)](_0x485753[0x0]);})),_0x29ee40;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x1e2)])),$(0x4,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x283)])),$(0x5,o['Inject'](o['LocaleService'])),$(0x6,o['Inject'](E[_0x4dc0f1(0x403)])),$(0x7,o[_0x4dc0f1(0x389)](ee)),$(0x8,o[_0x4dc0f1(0x216)]),$(0x9,o[_0x4dc0f1(0x13c)]),$(0xa,o[_0x4dc0f1(0x2ab)]),$(0xb,o[_0x4dc0f1(0x266)]),$(0xc,o[_0x4dc0f1(0xaa)](ve)),$(0xd,o[_0x4dc0f1(0xaa)](q))],exports[_0x4dc0f1(0x134)]),exports[_0x4dc0f1(0x3d4)]=class extends exports[_0x4dc0f1(0x3f8)]{constructor(_0x165928,_0x220f58,_0x248767,_0x400fdb,_0x4a0dcd,_0xb7844d,_0x297655,_0x2aa059,_0x266d7d,_0x3f0033,_0x3402e0,_0x52d2b4,_0x580387,_0x16d790,_0x3b8bd2){var _0x4ab735=_0x4dc0f1;super(_0x165928,_0x248767,_0x220f58,_0x400fdb,_0x4a0dcd,_0xb7844d,_0x297655,_0x266d7d,_0x3f0033,_0x3402e0,_0x52d2b4,_0x580387,_0x16d790,_0x3b8bd2),this[_0x4ab735(0x237)]=_0x165928,this[_0x4ab735(0x2a3)]=_0x220f58,this[_0x4ab735(0x10c)]=_0x2aa059;}[_0x4dc0f1(0x168)](){var _0x48d20e=_0x4dc0f1;const _0x2af4c7=super[_0x48d20e(0x168)]();return _0x2af4c7[_0x48d20e(0xb0)]=_0x2204cf=>this[_0x48d20e(0x10c)][_0x48d20e(0x1dc)](_0x2204cf),_0x2af4c7;}async['_init'](){var _0x3f5a89=_0x4dc0f1;const _0x57beb0=await super['_init']();return this[_0x3f5a89(0x19b)](this[_0x3f5a89(0x88)][_0x3f5a89(0x188)]((_0x609ef8,_0x241910)=>{var _0xb4a2c3=_0x3f5a89;if(_0x609ef8[_0xb4a2c3(0x2a3)]!==o[_0xb4a2c3(0xed)][_0xb4a2c3(0x11b)]||_0x241910!=null&&_0x241910[_0xb4a2c3(0x1c7)]||_0x241910!=null&&_0x241910[_0xb4a2c3(0x2a8)])return;const _0x1babc3=_0x609ef8[_0xb4a2c3(0x2c8)];if((_0x1babc3==null?void 0x0:_0x1babc3[_0xb4a2c3(0xb9)])!==this['unitID'])return;const _0x20ef83=_0x609ef8,_0x529be6=this['_compressMutationService'][_0xb4a2c3(0x1eb)][_0xb4a2c3(0x138)](this['_compressMutationService'][_0xb4a2c3(0x1eb)][_0xb4a2c3(0x15e)]()[_0xb4a2c3(0x16c)])([_0x20ef83],this[_0xb4a2c3(0xc8)])||[_0x20ef83];this[_0xb4a2c3(0x2e5)](_0x529be6[0x0]);})),_0x57beb0;}},exports[_0x4dc0f1(0x3d4)]=Be([$(0x3,o[_0x4dc0f1(0x389)](o['Injector'])),$(0x4,o['Inject'](E[_0x4dc0f1(0x283)])),$(0x5,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x298)])),$(0x6,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x403)])),$(0x7,o[_0x4dc0f1(0x389)](exports[_0x4dc0f1(0x1c9)])),$(0x8,o[_0x4dc0f1(0x389)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x4dc0f1(0x13c)]),$(0xb,o[_0x4dc0f1(0x2ab)]),$(0xc,o[_0x4dc0f1(0x266)]),$(0xd,o[_0x4dc0f1(0xaa)](ve)),$(0xe,o[_0x4dc0f1(0xaa)](q))],exports[_0x4dc0f1(0x3d4)]);const pt=o['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function mt(_0x3a32c8){var _0x2efcaf=_0x4dc0f1,_0x4bcaf0,_0x5eaed0,_0x29ed44,_0x5143be,_0x4d9b9f;const _0x403cb6=_0x3a32c8[_0x2efcaf(0xda)],_0xe5bb79=JSON[_0x2efcaf(0x87)](_0x403cb6);switch(_0xe5bb79[_0x2efcaf(0x10b)]){case W[_0x2efcaf(0x179)]:case W[_0x2efcaf(0x346)]:{const _0x2e8138=_0xe5bb79[_0x2efcaf(0xa0)];return{..._0xe5bb79,'data':_0x2e8138,'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};}case W[_0x2efcaf(0x81)]:{const _0x35180f=_0xe5bb79[_0x2efcaf(0x22e)];return{..._0xe5bb79,'data':_0x35180f,'cmd':_0xe5bb79['cmd']};}case W[_0x2efcaf(0x398)]:{const _0x4df721=_0xe5bb79[_0x2efcaf(0x308)];switch(_0x4df721['eventID']){case E[_0x2efcaf(0x15c)][_0x2efcaf(0x3a9)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':(_0x4bcaf0=_0x4df721[_0x2efcaf(0x36f)])==null?void 0x0:_0x4bcaf0['cs']},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E[_0x2efcaf(0x15c)][_0x2efcaf(0x1e6)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':(_0x5eaed0=_0x4df721[_0x2efcaf(0x3d1)])==null?void 0x0:_0x5eaed0['cs']},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E['CollaborationEvent']['NEW_CHANGESETS']:return{..._0xe5bb79,'data':{..._0x4df721,'data':(_0x29ed44=_0x4df721['newCsEvent'])==null?void 0x0:_0x29ed44['cs']},'cmd':_0xe5bb79['cmd']};case E[_0x2efcaf(0x15c)]['CHANGESET_REJ']:return{..._0xe5bb79,'data':{..._0x4df721,'data':(_0x5143be=_0x4df721[_0x2efcaf(0x34b)])==null?void 0x0:_0x5143be['cs']},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E['CollaborationEvent'][_0x2efcaf(0x339)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':(_0x4d9b9f=_0x4df721['csShouldRetryEvent'])==null?void 0x0:_0x4d9b9f['cs']},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E[_0x2efcaf(0x15c)][_0x2efcaf(0x2b1)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721[_0x2efcaf(0x99)]},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E['CollaborationEvent'][_0x2efcaf(0x273)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721[_0x2efcaf(0x19a)]},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E[_0x2efcaf(0x15c)]['USERS_LEAVE']:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721[_0x2efcaf(0x1f6)]},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E[_0x2efcaf(0x15c)][_0x2efcaf(0x265)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721[_0x2efcaf(0x19e)]},'cmd':_0xe5bb79['cmd']};case E[_0x2efcaf(0x15c)][_0x2efcaf(0x3e5)]:case E[_0x2efcaf(0x15c)][_0x2efcaf(0x3d7)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721[_0x2efcaf(0x33d)]},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E[_0x2efcaf(0x15c)][_0x2efcaf(0xb3)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721[_0x2efcaf(0x19e)]},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E['CollaborationEvent'][_0x2efcaf(0x1c4)]:return{..._0xe5bb79,'data':_0x4df721,'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E['CollaborationEvent'][_0x2efcaf(0x1b6)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721['commentUpdateEvent']},'cmd':_0xe5bb79['cmd']};case E[_0x2efcaf(0x15c)][_0x2efcaf(0x86)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721[_0x2efcaf(0x38d)]},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E[_0x2efcaf(0x15c)]['SHOULD_CLOSE_CONN']:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721['shouldCloseConn']},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};case E['CollaborationEvent'][_0x2efcaf(0xfb)]:return{..._0xe5bb79,'data':{..._0x4df721,'data':_0x4df721[_0x2efcaf(0x132)]},'cmd':_0xe5bb79[_0x2efcaf(0x10b)]};default:return _0xe5bb79;}}default:return _0xe5bb79;}}function gt(_0x475435){var _0x2ad31e=_0x4dc0f1;switch(_0x475435[_0x2ad31e(0x10b)]){case W[_0x2ad31e(0x179)]:case W['HELLO']:return JSON[_0x2ad31e(0x164)]({'cmd':_0x475435[_0x2ad31e(0x10b)],'routeKey':_0x475435[_0x2ad31e(0x21b)]});case W[_0x2ad31e(0x2eb)]:{let _0x92394;switch(_0x475435['data'][_0x2ad31e(0x1bf)]){case E[_0x2ad31e(0x15c)][_0x2ad31e(0x2b1)]:{_0x92394={'eventID':E[_0x2ad31e(0x15c)][_0x2ad31e(0x2b1)],'updateCursorEvent':_0x475435[_0x2ad31e(0xda)][_0x2ad31e(0xda)]};break;}case E[_0x2ad31e(0x15c)][_0x2ad31e(0x1dd)]:{_0x92394={'eventID':E[_0x2ad31e(0x15c)]['USERS_LEAVE'],'leaveEvent':_0x475435[_0x2ad31e(0xda)][_0x2ad31e(0xda)]};break;}case E['CollaborationEvent'][_0x2ad31e(0x273)]:{_0x92394={'eventID':E[_0x2ad31e(0x15c)]['USERS_ENTER'],'joinEvent':_0x475435[_0x2ad31e(0xda)][_0x2ad31e(0xda)]};break;}case E['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x92394={'eventID':E['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x475435[_0x2ad31e(0xda)]['data']};break;}case E[_0x2ad31e(0x15c)][_0x2ad31e(0x3d7)]:{_0x92394={'eventID':E['CollaborationEvent'][_0x2ad31e(0x3d7)],'liveShareOperation':_0x475435['data'][_0x2ad31e(0xda)]};break;}case E[_0x2ad31e(0x15c)][_0x2ad31e(0xb3)]:{_0x92394={'eventID':E[_0x2ad31e(0x15c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x475435[_0x2ad31e(0xda)][_0x2ad31e(0xda)]};break;}case E[_0x2ad31e(0x15c)][_0x2ad31e(0x1a8)]:{_0x92394={'eventID':E['CollaborationEvent'][_0x2ad31e(0x1a8)],'liveShareRequestHost':_0x475435[_0x2ad31e(0xda)]['data']};break;}case E['CollaborationEvent'][_0x2ad31e(0x3e5)]:{_0x92394={'eventID':E[_0x2ad31e(0x15c)][_0x2ad31e(0x3e5)]};break;}default:_0x92394={'eventID':_0x475435[_0x2ad31e(0xda)][_0x2ad31e(0x1bf)]};}return JSON[_0x2ad31e(0x164)]({'cmd':_0x475435[_0x2ad31e(0x10b)],'routeKey':_0x475435[_0x2ad31e(0x21b)],'collaMsg':_0x92394});}case W[_0x2ad31e(0x81)]:return JSON[_0x2ad31e(0x164)]({'cmd':_0x475435[_0x2ad31e(0x10b)],'routeKey':_0x475435['routeKey'],'joinReq':_0x475435['data']});case W['LEAVE']:return JSON['stringify']({'cmd':_0x475435[_0x2ad31e(0x10b)],'routeKey':_0x475435['routeKey'],'leaveReq':_0x475435[_0x2ad31e(0xda)]});default:throw new Error(_0x2ad31e(0x10e));}}var ri=Object[_0x4dc0f1(0x1b3)],ai=(_0x2cb133,_0x21d0de,_0x145761,_0x3cc310)=>{for(var _0x14887f=_0x3cc310>0x1?void 0x0:_0x3cc310?ri(_0x21d0de,_0x145761):_0x21d0de,_0x1e7489=_0x2cb133['length']-0x1,_0x27bf48;_0x1e7489>=0x0;_0x1e7489--)(_0x27bf48=_0x2cb133[_0x1e7489])&&(_0x14887f=_0x27bf48(_0x14887f)||_0x14887f);return _0x14887f;},he=(_0x3fa05d,_0x2117e1)=>(_0x5e15a8,_0x2910ba)=>_0x2117e1(_0x5e15a8,_0x2910ba,_0x3fa05d);const Fe=o[_0x4dc0f1(0x3de)](_0x4dc0f1(0x1e0));function oi(_0x292ae5,_0x5d3167,_0x93a9e5){var _0x74d4ac=_0x4dc0f1;return _0x292ae5+'/'+_0x5d3167+_0x74d4ac(0x1ab)+_0x93a9e5+_0x74d4ac(0x2ec);}exports[_0x4dc0f1(0x23a)]=class extends o[_0x4dc0f1(0x2ca)]{constructor(_0x2f4c3b,_0x5d558c,_0x51c977,_0x3f70e9,_0x301239){var _0x48597d=_0x4dc0f1;super(),this[_0x48597d(0x133)]=_0x2f4c3b,this['_httpService']=_0x5d558c,this[_0x48597d(0x1de)]=_0x51c977,this['_logService']=_0x3f70e9,this[_0x48597d(0xd0)]=_0x301239;}[_0x4dc0f1(0x25a)](_0x13114d){var _0x14e09a=_0x4dc0f1;const _0x3d6bc0=this[_0x14e09a(0x133)]['get'](K[_0x14e09a(0x37c)]);if(!_0x3d6bc0)throw new Error(_0x14e09a(0x35a));const _0x28a378=_0x3d6bc0['createSocket'](_0x13114d);if(!_0x28a378)throw new Error(_0x14e09a(0x9b));const _0xf57ca1=new o[(_0x14e09a(0x39f))](),_0x5db58f=new j[(_0x14e09a(0x3e3))]();_0xf57ca1['add'](_0x28a378[_0x14e09a(0x366)][_0x14e09a(0x1a1)](_0x5eff4c=>_0x5db58f[_0x14e09a(0x373)](_0x5eff4c))),_0xf57ca1['add'](o[_0x14e09a(0x3c0)](()=>_0x5db58f[_0x14e09a(0x3c9)]()));const _0x43dfbc=new j[(_0x14e09a(0x3e3))]();_0xf57ca1[_0x14e09a(0x36c)](_0x28a378['error$'][_0x14e09a(0x1a1)](_0x5dfdcc=>_0x43dfbc[_0x14e09a(0x373)](_0x5dfdcc))),_0xf57ca1[_0x14e09a(0x36c)](o[_0x14e09a(0x3c0)](()=>_0x43dfbc['complete']()));const _0x175fbc=new j[(_0x14e09a(0x3e3))]();_0xf57ca1[_0x14e09a(0x36c)](_0x28a378[_0x14e09a(0xcf)][_0x14e09a(0x1a1)](_0xc25c1a=>{var _0xcc3370=_0x14e09a;const _0x5a9042=mt(_0xc25c1a);_0x175fbc[_0xcc3370(0x373)](_0x5a9042);})),_0xf57ca1[_0x14e09a(0x36c)](o[_0x14e09a(0x3c0)](()=>_0x175fbc[_0x14e09a(0x3c9)]()));let _0x461ac5;const _0x44e799=()=>{var _0x1be39a=_0x14e09a;_0x43dfbc['next'](new Event('connection\x20error')),_0x5db58f['next'](new Event(_0x1be39a(0x33f))),_0x461ac5['close']();};return _0x461ac5={'memberID':'','close$':_0x5db58f['asObservable'](),'error$':_0x43dfbc[_0x14e09a(0x29c)](),'open$':_0x28a378[_0x14e09a(0xd9)],'message$':_0x175fbc[_0x14e09a(0x29c)](),'send':_0xdb58ae=>{var _0x53f8ec=_0x14e09a;if(_0xdb58ae[_0x53f8ec(0x10b)]===W['INGEST']){if(_0xdb58ae['data'][_0x53f8ec(0x1bf)]===E[_0x53f8ec(0x15c)][_0x53f8ec(0x30e)]){this['_submitChangeset'](_0x461ac5,_0xdb58ae[_0x53f8ec(0xda)])['catch'](_0x246a97=>{var _0x26908b=_0x53f8ec;this[_0x26908b(0x7c)]['error'](_0x246a97),_0x44e799();});return;}if(_0xdb58ae['data']['eventID']===E[_0x53f8ec(0x15c)]['FETCH_MISSING']){const _0x4fcadf=_0xdb58ae[_0x53f8ec(0xda)];this[_0x53f8ec(0xbe)](_0x4fcadf)[_0x53f8ec(0x116)](_0x408d60=>{var _0x4cd220=_0x53f8ec;_0x175fbc['next']({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x4fcadf['data']['unitID'],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x4cd220(0x166)],'data':{'changesets':_0x408d60}}});})[_0x53f8ec(0x18f)](_0x1fd402=>{var _0x5008a6=_0x53f8ec;this[_0x5008a6(0x7c)][_0x5008a6(0x1d3)](_0x1fd402),_0x44e799();});return;}}_0x28a378[_0x53f8ec(0xf8)](gt(_0xdb58ae));},'close':()=>{var _0x5417fd=_0x14e09a;_0x28a378[_0x5417fd(0x27d)](),_0xf57ca1[_0x5417fd(0x161)]();}},_0x461ac5;}async[_0x4dc0f1(0x3f9)](_0x46b201,_0x240820){var _0x496f90=_0x4dc0f1,_0x5ab37e;const {unitType:_0x4c16d8,unitID:_0x29bca7,changeset:_0x27d676}=_0x240820[_0x496f90(0xda)],_0x43e534={'unitID':_0x29bca7,'memberID':_0x46b201[_0x496f90(0x370)],'type':_0x4c16d8,'changeset':E['parseChangesetToProtocol'](_0x27d676)},_0x30e6c7=this[_0x496f90(0x1de)][_0x496f90(0x1bc)](Y),_0x5954a7=oi((_0x5ab37e=_0x30e6c7==null?void 0x0:_0x30e6c7[_0x496f90(0x258)])!=null?_0x5ab37e:$t,_0x4c16d8,_0x29bca7);try{await this[_0x496f90(0x312)]['post'](_0x5954a7,{'body':_0x43e534});}catch(_0x3ea46a){throw this[_0x496f90(0x7c)][_0x496f90(0x1d3)](_0x496f90(0x230),'submit\x20changeset\x20error!'),_0x3ea46a;}}async['_fetchMissChangesets'](_0x1f732c){var _0x2a91bc=_0x4dc0f1;const {unitID:_0xada6d0,from:_0x2c313d,to:_0x48ae18,unitType:_0x11fab0}=_0x1f732c['data'];return(await this[_0x2a91bc(0xd0)][_0x2a91bc(0x393)]({'metadata':void 0x0},{'unitID':_0xada6d0,'type':_0x11fab0,'from':_0x2c313d,'to':_0x48ae18}))[_0x2a91bc(0x158)]['map'](_0x9997e0=>((_0x9997e0[_0x2a91bc(0xdb)]===null||_0x9997e0['mutations']===void 0x0)&&(_0x9997e0['mutations']=[]),_0x9997e0));}},exports[_0x4dc0f1(0x23a)]=ai([he(0x0,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x1e2)])),he(0x1,o['Inject'](K[_0x4dc0f1(0x2f4)])),he(0x2,o[_0x4dc0f1(0x2a1)]),he(0x3,o[_0x4dc0f1(0x13c)]),he(0x4,E[_0x4dc0f1(0x198)])],exports[_0x4dc0f1(0x23a)]);var ci=Object[_0x4dc0f1(0x1b3)],_i=(_0x4f2bab,_0x55d383,_0x3d4bf0,_0x331957)=>{for(var _0x38374c=_0x331957>0x1?void 0x0:_0x331957?ci(_0x55d383,_0x3d4bf0):_0x55d383,_0x180b9a=_0x4f2bab['length']-0x1,_0x22dff2;_0x180b9a>=0x0;_0x180b9a--)(_0x22dff2=_0x4f2bab[_0x180b9a])&&(_0x38374c=_0x22dff2(_0x38374c)||_0x38374c);return _0x38374c;},_e=(_0x2e6f26,_0x233331)=>(_0x2d5377,_0xc42b75)=>_0x233331(_0x2d5377,_0xc42b75,_0x2e6f26);exports[_0x4dc0f1(0x3dd)]=class extends o[_0x4dc0f1(0x2ca)]{constructor(_0x139cdc,_0x5014e7,_0x491d78,_0x22a079,_0x4d5ef6,_0x12aa23){var _0x2d9ceb=_0x4dc0f1;super(),A(this,_0x2d9ceb(0x1bb),new j[(_0x2d9ceb(0xee))](void 0x0)),A(this,_0x2d9ceb(0x40d),this['_socket$']['asObservable']()),A(this,_0x2d9ceb(0x399),null),A(this,_0x2d9ceb(0x381),new Map()),A(this,_0x2d9ceb(0x1f2),new j[(_0x2d9ceb(0xee))](se[_0x2d9ceb(0x2f9)])),A(this,_0x2d9ceb(0x1cf),this[_0x2d9ceb(0x1f2)][_0x2d9ceb(0x29c)]()),A(this,_0x2d9ceb(0x338),!0x1),A(this,_0x2d9ceb(0x335)),A(this,_0x2d9ceb(0x401),0x0),A(this,'_sendHeartbeatTimer'),A(this,'_timeoutTimer'),(this[_0x2d9ceb(0x133)]=_0x139cdc,this['_logService']=_0x5014e7,this['_configService']=_0x491d78,this[_0x2d9ceb(0x261)]=_0x22a079,this[_0x2d9ceb(0x2a5)]=_0x4d5ef6,this[_0x2d9ceb(0x3d2)]=_0x12aa23,this[_0x2d9ceb(0x272)]());}get['_socket'](){var _0x2179f6=_0x4dc0f1;return this[_0x2179f6(0x1bb)][_0x2179f6(0x21f)]();}[_0x4dc0f1(0x272)](){var _0xf65329=_0x4dc0f1;this[_0xf65329(0x3d2)]&&this['disposeWithMe'](this[_0xf65329(0x3d2)][_0xf65329(0x122)][_0xf65329(0x1a1)](_0x33f2e1=>{var _0x25652c=_0xf65329;_0x33f2e1&&!this[_0x25652c(0x37d)]&&this[_0x25652c(0x406)](),_0x33f2e1||this[_0x25652c(0x16d)]();}));}[_0x4dc0f1(0x161)](){var _0x5e26d4=_0x4dc0f1;super[_0x5e26d4(0x161)](),this[_0x5e26d4(0x364)](),this[_0x5e26d4(0xc0)](),this[_0x5e26d4(0x356)](),this[_0x5e26d4(0x381)]['forEach'](_0x45e721=>_0x45e721[_0x5e26d4(0x161)]()),this[_0x5e26d4(0x381)][_0x5e26d4(0x1fc)](),this[_0x5e26d4(0x1f2)][_0x5e26d4(0x3c9)]();}async['requireSession'](_0x45cbe9){var _0x91a5b3=_0x4dc0f1;if(this[_0x91a5b3(0x381)][_0x91a5b3(0x402)](_0x45cbe9))return this[_0x91a5b3(0x381)]['get'](_0x45cbe9);this[_0x91a5b3(0x375)]();const _0x4603e5=this['_injector'][_0x91a5b3(0xb7)](exports['CollaborationSession'],_0x45cbe9,this['_socket$'][_0x91a5b3(0x29c)]());return this['_sessions'][_0x91a5b3(0x2c7)](_0x45cbe9,_0x4603e5),_0x4603e5;}[_0x4dc0f1(0xaf)](_0x4bf898){var _0x511a0b=_0x4dc0f1,_0x2f0921;const _0x4eac61=this[_0x511a0b(0x381)][_0x511a0b(0x176)](_0x4bf898);_0x4eac61&&(this['_sessions'][_0x511a0b(0xca)](_0x4bf898),_0x4eac61[_0x511a0b(0x27d)]()),this[_0x511a0b(0x381)][_0x511a0b(0x415)]||(_0x2f0921=this[_0x511a0b(0x37d)])==null||_0x2f0921[_0x511a0b(0x27d)]();}[_0x4dc0f1(0x406)](){var _0x32d3c5=_0x4dc0f1;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x32d3c5(0x94)]();}[_0x4dc0f1(0x364)](){var _0x4902e7=_0x4dc0f1;this[_0x4902e7(0x335)]!=null&&(clearTimeout(this[_0x4902e7(0x335)]),this[_0x4902e7(0x335)]=null);}async['_createSocket'](){var _0x7fe8de=_0x4dc0f1,_0xda9cc4;const _0x133a8e=this[_0x7fe8de(0x1de)][_0x7fe8de(0x1bc)](Y),_0x5ce464=(_0xda9cc4=_0x133a8e==null?void 0x0:_0x133a8e[_0x7fe8de(0x2fe)])!=null?_0xda9cc4:_t,_0x551126=await this[_0x7fe8de(0x261)][_0x7fe8de(0xbf)](_0x5ce464);return this[_0x7fe8de(0x399)]=_0x551126,_0x551126;}async[_0x4dc0f1(0x375)](){var _0x1f3675=_0x4dc0f1,_0x58a110,_0x3c9e21;try{const _0x20edd6=(_0x3c9e21=(_0x58a110=this[_0x1f3675(0x37d)])!=null?_0x58a110:this[_0x1f3675(0x399)])!=null?_0x3c9e21:await this[_0x1f3675(0x1f5)]();if(_0x20edd6){const _0x3881ba=_0x20edd6['send'];_0x20edd6[_0x1f3675(0xf8)]=_0x80087c=>(this[_0x1f3675(0x112)](),_0x3881ba[_0x1f3675(0x333)](_0x20edd6,[_0x80087c])),_0x20edd6[_0x1f3675(0xcf)][_0x1f3675(0x1a1)](_0x3c965b=>this[_0x1f3675(0x3f5)](_0x20edd6,_0x3c965b)),_0x20edd6['error$'][_0x1f3675(0x1cc)](V['take'](0x1))[_0x1f3675(0x1a1)](_0x5479a5=>this[_0x1f3675(0x7c)]['error'](_0x1f3675(0xb2),_0x5479a5)),_0x20edd6[_0x1f3675(0xd9)][_0x1f3675(0x1cc)](V['take'](0x1))[_0x1f3675(0x1a1)](()=>{var _0x3343f2=_0x1f3675;this[_0x3343f2(0x236)](_0x20edd6);}),_0x20edd6[_0x1f3675(0x366)][_0x1f3675(0x1cc)](V[_0x1f3675(0x304)](0x1))['subscribe'](_0x309afa=>{var _0x4c0d76=_0x1f3675;this[_0x4c0d76(0x7c)]['debug']('[CollaborationSessionService]',_0x4c0d76(0x2a6),_0x309afa),this[_0x4c0d76(0x123)]();});}}catch(_0x3043b7){this[_0x1f3675(0x7c)][_0x1f3675(0x1d3)](_0x3043b7),this[_0x1f3675(0x123)]();}}[_0x4dc0f1(0x236)](_0x2c5ff1){var _0x5a03ad=_0x4dc0f1;this[_0x5a03ad(0x7c)][_0x5a03ad(0x350)](_0x5a03ad(0x200),_0x5a03ad(0x3cd)),_0x2c5ff1[_0x5a03ad(0xf8)]({'cmd':W['HELLO']}),this[_0x5a03ad(0x112)]();}[_0x4dc0f1(0x16d)](){var _0x2feb64=_0x4dc0f1;this[_0x2feb64(0x338)]=!0x1,this[_0x2feb64(0x399)]=null,this['_status$']['next'](se[_0x2feb64(0x160)]),this[_0x2feb64(0x1bb)]['next'](null),this[_0x2feb64(0xc0)](),this['_clearHeartbeatTimer']();}[_0x4dc0f1(0x123)](){var _0x45fa92=_0x4dc0f1,_0x4a482b;this['_onOffline'](),this[_0x45fa92(0x401)]<((_0x4a482b=this[_0x45fa92(0x1de)][_0x45fa92(0x1bc)](ut))!=null?_0x4a482b:wt)?(this['_collaborationUIEventService'][_0x45fa92(0x27e)]({'id':J[_0x45fa92(0x153)]}),this[_0x45fa92(0x94)]()):this[_0x45fa92(0x2a5)]['emitEvent']({'id':J['SOCKET_FAILED']});}[_0x4dc0f1(0x94)](){var _0x414378=_0x4dc0f1,_0x319a5f;const _0x3c81b1=this[_0x414378(0x401)],_0x52be05=this[_0x414378(0x1de)]['getConfig'](Y),_0x9f864f=_0x3c81b1===0x0?0x0:((_0x319a5f=_0x52be05==null?void 0x0:_0x52be05['retryConnectingInterval'])!=null?_0x319a5f:Mt)*0x2**_0x3c81b1;this[_0x414378(0x335)]=setTimeout(()=>{var _0x77d8f1=_0x414378;clearTimeout(this[_0x77d8f1(0x335)]),this[_0x77d8f1(0x335)]=null,this[_0x77d8f1(0x375)]();},_0x9f864f),this[_0x414378(0x401)]+=0x1;}[_0x4dc0f1(0x3f5)](_0x217925,_0x418a7c){var _0x29ac63=_0x4dc0f1;const {cmd:_0x39da53}=_0x418a7c;_0x39da53===W[_0x29ac63(0x346)]&&!this['_socketReady']&&(_0x217925[_0x29ac63(0x370)]=_0x418a7c[_0x29ac63(0xda)][_0x29ac63(0x370)],this[_0x29ac63(0x1bb)][_0x29ac63(0x373)](_0x217925),this[_0x29ac63(0x1f2)][_0x29ac63(0x373)](se['ONLINE']),this[_0x29ac63(0x338)]=!0x0,this['_candidateSocket']=null),_0x39da53===W[_0x29ac63(0x179)]&&this[_0x29ac63(0xc0)](),this[_0x29ac63(0x112)]();}[_0x4dc0f1(0x112)](){var _0xed8e93=_0x4dc0f1,_0x22a692;this[_0xed8e93(0x356)](),this[_0xed8e93(0x30d)]=setTimeout(()=>this[_0xed8e93(0x30c)](),(_0x22a692=this['_configService'][_0xed8e93(0x1bc)](ht))!=null?_0x22a692:Lt);}['_sendHeartbeat'](){var _0x1b9f85=_0x4dc0f1;this[_0x1b9f85(0x37d)][_0x1b9f85(0xf8)]({'cmd':W[_0x1b9f85(0x179)]}),this[_0x1b9f85(0x327)]();}[_0x4dc0f1(0x327)](){var _0x5042a0=_0x4dc0f1,_0x3b832e;this[_0x5042a0(0x407)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x3b832e=this[_0x5042a0(0x1de)][_0x5042a0(0x1bc)](ke))!=null?_0x3b832e:lt);}['_clearHeartbeatTimer'](){var _0x584a77=_0x4dc0f1;this[_0x584a77(0x30d)]!=null&&(clearTimeout(this[_0x584a77(0x30d)]),this[_0x584a77(0x30d)]=null);}['_clearTimeoutTimer'](){var _0x44166a=_0x4dc0f1;this[_0x44166a(0x407)]!=null&&(clearTimeout(this[_0x44166a(0x407)]),this['_timeoutTimer']=null);}},exports[_0x4dc0f1(0x3dd)]=_i([_e(0x0,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x1e2)])),_e(0x1,o[_0x4dc0f1(0x13c)]),_e(0x2,o[_0x4dc0f1(0x2a1)]),_e(0x3,Fe),_e(0x4,o[_0x4dc0f1(0x389)](ee)),_e(0x5,o[_0x4dc0f1(0xaa)](pt))],exports[_0x4dc0f1(0x3dd)]);var hi=Object['getOwnPropertyDescriptor'],li=(_0x16c5d1,_0x4377c9,_0x101f46,_0x1d8656)=>{var _0x173d25=_0x4dc0f1;for(var _0x593c51=_0x1d8656>0x1?void 0x0:_0x1d8656?hi(_0x4377c9,_0x101f46):_0x4377c9,_0x4c5cbf=_0x16c5d1[_0x173d25(0x183)]-0x1,_0x456f04;_0x4c5cbf>=0x0;_0x4c5cbf--)(_0x456f04=_0x16c5d1[_0x4c5cbf])&&(_0x593c51=_0x456f04(_0x593c51)||_0x593c51);return _0x593c51;},Se=(_0x3fa27e,_0x5ab384)=>(_0x588c8a,_0x4e2a1a)=>_0x5ab384(_0x588c8a,_0x4e2a1a,_0x3fa27e);exports[_0x4dc0f1(0x2cd)]=class extends o['RxDisposable']{constructor(_0x294998,_0x31e20a,_0x546474,_0x3d646d){var _0x1547a6=_0x4dc0f1,_0x39d3db;super(),A(this,'_entities',new Map()),A(this,_0x1547a6(0x1c3),new j[(_0x1547a6(0x3e3))]()),A(this,'entityInit$',this[_0x1547a6(0x1c3)][_0x1547a6(0x29c)]()),(this[_0x1547a6(0x133)]=_0x294998,this['_collabSessionService']=_0x31e20a,this[_0x1547a6(0x1de)]=_0x546474,this['_univerInstanceService']=_0x3d646d,((_0x39d3db=this[_0x1547a6(0x1de)][_0x1547a6(0x1bc)](Y))==null?void 0x0:_0x39d3db['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x2e3664=_0x4dc0f1;super[_0x2e3664(0x161)](),this['_entities'][_0x2e3664(0x397)](_0x2800ad=>_0x2800ad[_0x2e3664(0x161)]()),this['_entities'][_0x2e3664(0x1fc)]();}[_0x4dc0f1(0x36b)](_0x518375){var _0x4ef217=_0x4dc0f1,_0x45b3db;return(_0x45b3db=this[_0x4ef217(0x255)]['get'](_0x518375))!=null?_0x45b3db:null;}[_0x4dc0f1(0x3c6)](_0x42741d){var _0x169800=_0x4dc0f1;const _0x4bf0a3=this[_0x169800(0x36b)](_0x42741d);return _0x4bf0a3?j['of'](_0x4bf0a3):this[_0x169800(0x1c3)][_0x169800(0x1cc)](V['filter'](_0x55f22c=>_0x55f22c[_0x169800(0x237)]===_0x42741d));}[_0x4dc0f1(0x35e)](_0x53e4d6){var _0x4e25e7=_0x4dc0f1;return j[_0x4e25e7(0x24d)](this[_0x4e25e7(0x3c6)](_0x53e4d6)[_0x4e25e7(0x1cc)](V[_0x4e25e7(0xfc)](()=>{})));}['_init'](){var _0x33119e=_0x4dc0f1;this['_univerInstanceService'][_0x33119e(0x196)](o['UniverInstanceType'][_0x33119e(0x30a)])[_0x33119e(0x1cc)](j[_0x33119e(0x2d2)](this[_0x33119e(0x107)]),V[_0x33119e(0x78)](0x10))[_0x33119e(0x1a1)](async _0x1ec91b=>{var _0x3dd94c=_0x33119e;const _0x38972d=_0x1ec91b[_0x3dd94c(0x31a)](),_0x2a1c4c=await this[_0x3dd94c(0x31b)](_0x38972d,X[_0x3dd94c(0x30a)]);this[_0x3dd94c(0x255)]['set'](_0x38972d,_0x2a1c4c);}),this[_0x33119e(0xc8)]['getTypeOfUnitAdded$'](o[_0x33119e(0x3e8)][_0x33119e(0x3b0)])[_0x33119e(0x1cc)](j[_0x33119e(0x2d2)](this[_0x33119e(0x107)]),V['delay'](0x10))['pipe'](V[_0x33119e(0x28e)](_0x3d7195=>!_0x3d7195[_0x33119e(0x31a)]()[_0x33119e(0x271)]('__')))[_0x33119e(0x1a1)](async _0x31f404=>{var _0x4d8cc2=_0x33119e;const _0x247057=_0x31f404['getUnitId'](),_0x245c3d=await this['_startCollaboration'](_0x247057,X[_0x4d8cc2(0x3b0)]);this['_entities']['set'](_0x247057,_0x245c3d);}),j[_0x33119e(0x382)](this[_0x33119e(0xc8)][_0x33119e(0x3af)](o[_0x33119e(0x3e8)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x33119e(0x3af)](o['UniverInstanceType']['UNIVER_DOC']))['pipe'](j[_0x33119e(0x2d2)](this[_0x33119e(0x107)]))[_0x33119e(0x1a1)](_0x653dca=>{var _0x222111=_0x33119e;const _0xf55700=_0x653dca[_0x222111(0x31a)](),_0x51be12=this[_0x222111(0x255)]['get'](_0xf55700);_0x51be12&&(_0x51be12['dispose'](),this[_0x222111(0x255)][_0x222111(0xca)](_0xf55700));});}async['_startCollaboration'](_0x20c29e,_0x4d1f31){var _0x3d4f42=_0x4dc0f1;const _0x4556cc=await this[_0x3d4f42(0x199)]['requireSession'](_0x20c29e),_0x2c9594=this[_0x3d4f42(0x133)][_0x3d4f42(0xb7)](this[_0x3d4f42(0x305)](_0x4d1f31),_0x20c29e,_0x4d1f31,_0x4556cc);return await _0x2c9594[_0x3d4f42(0x128)](),this[_0x3d4f42(0x1c3)]['next'](_0x2c9594),_0x2c9594;}[_0x4dc0f1(0x305)](_0x4b7766){var _0x2ce021=_0x4dc0f1;switch(_0x4b7766){case X['UNIVER_DOC']:return exports[_0x2ce021(0x134)];case X[_0x2ce021(0x30a)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x2ce021(0x120)+_0x4b7766);}}},exports[_0x4dc0f1(0x2cd)]=li([Se(0x0,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x1e2)])),Se(0x1,o['Inject'](exports[_0x4dc0f1(0x3dd)])),Se(0x2,o['IConfigService']),Se(0x3,o[_0x4dc0f1(0x216)])],exports[_0x4dc0f1(0x2cd)]);var ui=Object[_0x4dc0f1(0x1b3)],vi=(_0x20013a,_0x42290c,_0x5b70e6,_0x1a8f7f)=>{var _0x41b386=_0x4dc0f1;for(var _0x3fa014=_0x1a8f7f>0x1?void 0x0:_0x1a8f7f?ui(_0x42290c,_0x5b70e6):_0x42290c,_0x121782=_0x20013a[_0x41b386(0x183)]-0x1,_0x31c90d;_0x121782>=0x0;_0x121782--)(_0x31c90d=_0x20013a[_0x121782])&&(_0x3fa014=_0x31c90d(_0x3fa014)||_0x3fa014);return _0x3fa014;},Ye=(_0xcac345,_0x20c3a9)=>(_0x58e63d,_0x5ea992)=>_0x20c3a9(_0x58e63d,_0x5ea992,_0xcac345);const di=_0x4dc0f1(0x3ad),Si='Univer';let xe=class extends o[_0x4dc0f1(0x2ca)]{constructor(_0x2689e4,_0x36bb93){var _0x4f919e=_0x4dc0f1;super(),this['_univerInstanceService']=_0x2689e4,this[_0x4f919e(0x1de)]=_0x36bb93,this[_0x4f919e(0x3f0)]();}[_0x4dc0f1(0x3f0)](){var _0x432236=_0x4dc0f1;this[_0x432236(0x19b)](this[_0x432236(0xc8)]['focused$']['subscribe'](()=>{var _0x269615=_0x432236,_0x537969;const _0x553f6e=this[_0x269615(0xc8)][_0x269615(0x3bc)]();let _0x2f685b=(_0x537969=this[_0x269615(0x1de)][_0x269615(0x1bc)](di))!=null?_0x537969:Si;_0x553f6e instanceof o[_0x269615(0x1b5)]&&(_0x2f685b=_0x553f6e[_0x269615(0xba)]),document['title']=_0x2f685b;}));}};xe=vi([Ye(0x0,o[_0x4dc0f1(0x216)]),Ye(0x1,o[_0x4dc0f1(0x2a1)])],xe);var Ii=Object['getOwnPropertyDescriptor'],fi=(_0x4a91df,_0x1b45cf,_0x322a41,_0x39d603)=>{for(var _0x465605=_0x39d603>0x1?void 0x0:_0x39d603?Ii(_0x1b45cf,_0x322a41):_0x1b45cf,_0x2eccb3=_0x4a91df['length']-0x1,_0x36c3b1;_0x2eccb3>=0x0;_0x2eccb3--)(_0x36c3b1=_0x4a91df[_0x2eccb3])&&(_0x465605=_0x36c3b1(_0x465605)||_0x465605);return _0x465605;},Ae=(_0x3bb154,_0xb12ce1)=>(_0x4733f5,_0x5276b3)=>_0xb12ce1(_0x4733f5,_0x5276b3,_0x3bb154);let Ne=class{constructor(_0x3b1986,_0x356c68,_0xe1ddde){var _0x325bb9=_0x4dc0f1;this[_0x325bb9(0x1de)]=_0x3b1986,this[_0x325bb9(0x312)]=_0x356c68,this['localeService']=_0xe1ddde,this[_0x325bb9(0x128)]();}[_0x4dc0f1(0x128)](){var _0x2b2fd7=_0x4dc0f1;this['_httpService'][_0x2b2fd7(0x345)]({'priority':0x1,'interceptor':(_0x255f43,_0x122373)=>_0x122373(_0x255f43)[_0x2b2fd7(0x1cc)](j['concatMap'](async _0x1e4d0d=>{var _0x19ce42=_0x2b2fd7;const _0x5757d4=_0x1e4d0d;if(_0x5757d4[_0x19ce42(0x3b9)]===0x191){if(typeof window>'u')throw new Error(_0x19ce42(0x3fa));if(window[_0x19ce42(0x281)](this[_0x19ce42(0x299)]['t'](_0x19ce42(0x1a7)))){const _0x579f5e=window[_0x19ce42(0x8c)](window[_0x19ce42(0x142)][_0x19ce42(0xcb)]);window[_0x19ce42(0x142)][_0x19ce42(0xcb)]=this[_0x19ce42(0x2d4)]()+_0x19ce42(0x150)+_0x579f5e;}}return _0x5757d4;}))});}[_0x4dc0f1(0x2d4)](){var _0x469b07=_0x4dc0f1,_0x4021fc;const _0x1f33b3=this[_0x469b07(0x1de)]['getConfig'](Y);return(_0x4021fc=_0x1f33b3==null?void 0x0:_0x1f33b3[_0x469b07(0x1ff)])!=null?_0x4021fc:Ht;}};Ne=fi([Ae(0x0,o[_0x4dc0f1(0x2a1)]),Ae(0x1,o[_0x4dc0f1(0x389)](K[_0x4dc0f1(0x2f4)])),Ae(0x2,o[_0x4dc0f1(0x389)](o['LocaleService']))],Ne);var Ei=Object[_0x4dc0f1(0x1b3)],pi=(_0x575f00,_0x5d30d2,_0xefe47f,_0x1548f8)=>{var _0x270e82=_0x4dc0f1;for(var _0x29a4ac=_0x1548f8>0x1?void 0x0:_0x1548f8?Ei(_0x5d30d2,_0xefe47f):_0x5d30d2,_0x375f6e=_0x575f00[_0x270e82(0x183)]-0x1,_0x3ab2cf;_0x375f6e>=0x0;_0x375f6e--)(_0x3ab2cf=_0x575f00[_0x375f6e])&&(_0x29a4ac=_0x3ab2cf(_0x29a4ac)||_0x29a4ac);return _0x29a4ac;},Ke=(_0x299343,_0x1cb629)=>(_0xd8edd2,_0x3c0f31)=>_0x1cb629(_0xd8edd2,_0x3c0f31,_0x299343);const mi=_0x4dc0f1(0x218);exports[_0x4dc0f1(0x34e)]=class extends o[_0x4dc0f1(0x2ca)]{constructor(_0xf6e11a,_0x1959a0){var _0x23b5b1=_0x4dc0f1;super(),this[_0x23b5b1(0x245)]=_0xf6e11a,this[_0x23b5b1(0x1de)]=_0x1959a0,this[_0x23b5b1(0x1b4)]();}[_0x4dc0f1(0x1b4)](){var _0x3949ab=_0x4dc0f1;const _0x246f43=this;this[_0x3949ab(0x19b)](this[_0x3949ab(0x245)][_0x3949ab(0x345)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x477a3d){var _0x179647=_0x3949ab,_0x363747;if(_0x477a3d[_0x179647(0x256)]==='POST'&&((_0x363747=_0x477a3d[_0x179647(0x1a5)])!=null&&_0x363747['body'])){const {objectID:_0x42b2e9,objectType:_0x196fde}=_0x477a3d[_0x179647(0x1a5)][_0x179647(0x157)]||{};if(!_0x42b2e9||_0x196fde===void 0x0)return!0x1;const _0x3893f2=_0x246f43[_0x179647(0x13d)]()+'/'+_0x196fde+_0x179647(0x102)+_0x42b2e9+_0x179647(0xd2);if(_0x477a3d[_0x179647(0x367)]===_0x3893f2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x437093){var _0xc0ac6e=_0x3949ab,_0x27b1f7;return(_0x27b1f7=_0x437093[_0xc0ac6e(0x1a5)])==null?void 0x0:_0x27b1f7['body'];},'mergeParamsToRequest'(_0xb6a3c4,_0x322e55){var _0x2ed48f=_0x3949ab;const _0x330bfc=_0x246f43[_0x2ed48f(0x13d)]()+_0x2ed48f(0x252),_0x453f8f=_0xb6a3c4[_0x2ed48f(0x95)]((_0x295ac7,_0x4d74d4)=>{var _0x38e5e1=_0x2ed48f;const {unitID:_0x2d975f,objectID:_0x270a2a,objectType:_0x2c5368,actions:_0x1efd97}=_0x4d74d4;return _0x295ac7[_0x2d975f]||(_0x295ac7[_0x2d975f]={}),_0x295ac7[_0x2d975f][_0x270a2a]||(_0x295ac7[_0x2d975f][_0x270a2a]={'objectID':_0x270a2a,'objectType':_0x2c5368,'actions':[]}),_0x295ac7[_0x2d975f][_0x270a2a]['actions'][_0x38e5e1(0x3f3)](..._0x1efd97),_0x295ac7;},{}),_0x5f319c=[];for(const _0x4339a3 in _0x453f8f)for(const _0x289921 in _0x453f8f[_0x4339a3]){const {actions:_0x505f47,objectType:_0x1e0150}=_0x453f8f[_0x4339a3][_0x289921],_0x1b65b1=[...new Set(_0x505f47)];_0x5f319c[_0x2ed48f(0x3f3)]({'unitID':_0x4339a3,'objectID':_0x289921,'objectType':_0x1e0150,'actions':_0x1b65b1});}return new K[(_0x2ed48f(0x348))](_0x2ed48f(0x243),_0x330bfc,{'headers':_0x322e55[_0x2ed48f(0x40c)],'withCredentials':_0x322e55[_0x2ed48f(0x29b)],'responseType':_0x322e55[_0x2ed48f(0x3ea)],'body':{'requests':_0x5f319c}});}},{'distributeResult'(_0x46d308,_0x50698f){var _0x51606b=_0x3949ab;const {objectActions:_0x315f2d}=_0x46d308;return _0x50698f[_0x51606b(0xfc)](_0xfee41d=>{var _0x100232=_0x51606b;const {unitID:_0xc31c8b,objectID:_0x1fa26a,actions:_0xe29c71}=_0xfee41d,_0x24b8c9=_0x315f2d[_0x100232(0xab)](_0x434383=>_0x434383[_0x100232(0x237)]===_0xc31c8b&&_0x434383[_0x100232(0x20c)]===_0x1fa26a),_0x2cf7e9=_0xe29c71['map'](_0xeed9dc=>_0x24b8c9==null?void 0x0:_0x24b8c9[_0x100232(0x130)][_0x100232(0xab)](_0x4d62cb=>_0x4d62cb[_0x100232(0x20a)]===_0xeed9dc))[_0x100232(0x28e)](_0x33bfc1=>!!_0x33bfc1);return{'config':_0xfee41d,'result':{'actions':_0x2cf7e9,'error':_0x46d308[_0x100232(0x1d3)]}};});}})}));}[_0x4dc0f1(0x13d)](){var _0x446e08=_0x4dc0f1,_0x34f3c7;const _0x1e22cc=this[_0x446e08(0x1de)][_0x446e08(0x1bc)](Y);return(_0x34f3c7=_0x1e22cc==null?void 0x0:_0x1e22cc[_0x446e08(0xb4)])!=null?_0x34f3c7:mi;}async['create'](_0x1d1b97){var _0x543efd=_0x4dc0f1;const _0x205aa7=this['_getAPIPrefixPath']()+'/'+_0x1d1b97[_0x543efd(0x351)]+'/object';return(await this[_0x543efd(0x245)][_0x543efd(0x1f3)](_0x205aa7,{'body':_0x1d1b97}))[_0x543efd(0x157)]['objectID']||'';}async['list'](_0x3ef136){var _0x539a91=_0x4dc0f1;const _0x3e2722=this[_0x539a91(0x13d)]()+_0x539a91(0x40e);return(await this['_HTTPService'][_0x539a91(0x1f3)](_0x3e2722,{'body':_0x3ef136}))[_0x539a91(0x157)][_0x539a91(0x318)];}async['update'](_0x430712){var _0x44d087=_0x4dc0f1,_0x32d697,_0x4640b6;const _0x542707=this[_0x44d087(0x13d)]()+'/'+_0x430712['objectType']+_0x44d087(0x102)+_0x430712[_0x44d087(0x20c)],_0x5ab2a6=await this[_0x44d087(0x245)][_0x44d087(0x3ee)](_0x542707,{'body':_0x430712});if(((_0x4640b6=(_0x32d697=_0x5ab2a6==null?void 0x0:_0x5ab2a6[_0x44d087(0x157)])==null?void 0x0:_0x32d697[_0x44d087(0x1d3)])==null?void 0x0:_0x4640b6[_0x44d087(0x3b7)])!==0x1)throw new Error(_0x44d087(0x9f));}async[_0x4dc0f1(0x37a)](_0x5e78bf){var _0x2c428b=_0x4dc0f1;const _0x21aa1a=this[_0x2c428b(0x13d)]()+'/'+_0x5e78bf[_0x2c428b(0x351)]+_0x2c428b(0x102)+_0x5e78bf[_0x2c428b(0x20c)]+_0x2c428b(0xd2);return(await this[_0x2c428b(0x245)]['post'](_0x21aa1a,{'body':_0x5e78bf}))['body'][_0x2c428b(0x130)];}async['batchAllowed'](_0x58a2a4){var _0x1159dd=_0x4dc0f1;const _0x310521=this[_0x1159dd(0x13d)]()+_0x1159dd(0x252);return(await this[_0x1159dd(0x245)][_0x1159dd(0x1f3)](_0x310521,{'body':{'requests':_0x58a2a4}}))['body'][_0x1159dd(0x16a)];}async[_0x4dc0f1(0x2ed)](_0x22c1d6){var _0x568b2a=_0x4dc0f1;const _0x5db9ec=this[_0x568b2a(0x13d)]()+'/'+_0x22c1d6['objectType']+_0x568b2a(0x3be),_0x50fbe8=await this[_0x568b2a(0x245)][_0x568b2a(0x1f3)](_0x5db9ec,{'body':_0x22c1d6});return{'roles':_0x50fbe8[_0x568b2a(0x157)][_0x568b2a(0x113)],'actions':_0x50fbe8[_0x568b2a(0x157)][_0x568b2a(0x130)]};}async[_0x4dc0f1(0x1bd)](_0x23c3bf){var _0x251655=_0x4dc0f1;const _0x311bd5=this[_0x251655(0x13d)]()+_0x251655(0xe9);await this['_HTTPService'][_0x251655(0xca)](_0x311bd5,{'params':{'collaboratorID':_0x23c3bf['collaboratorID'],'objectID':_0x23c3bf[_0x251655(0x20c)],'unitID':_0x23c3bf['unitID']}});}async['updateCollaborator'](_0x5af0c1){var _0x2a5d85=_0x4dc0f1;const _0x4bf956=this[_0x2a5d85(0x13d)]()+_0x2a5d85(0xe9);await this[_0x2a5d85(0x245)]['patch'](_0x4bf956,{'body':_0x5af0c1});}async[_0x4dc0f1(0x3b4)](_0x4b91ae){var _0x566dce=_0x4dc0f1;const _0x38eb01=this[_0x566dce(0x13d)]()+_0x566dce(0xe9);await this[_0x566dce(0x245)][_0x566dce(0x1f3)](_0x38eb01,{'body':_0x4b91ae});}async[_0x4dc0f1(0x38f)](_0x41deec){var _0x59220f=_0x4dc0f1;const _0x298218=this[_0x59220f(0x13d)]()+_0x59220f(0xe9);return(await this[_0x59220f(0x245)][_0x59220f(0x176)](_0x298218,{'params':{'objectID':_0x41deec[_0x59220f(0x20c)],'unitID':_0x41deec[_0x59220f(0x237)]}}))[_0x59220f(0x157)][_0x59220f(0x14d)];}async[_0x4dc0f1(0x234)](_0x1fc04a){var _0x2da62d=_0x4dc0f1;const _0x1b1fcd=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2da62d(0x245)][_0x2da62d(0x3ee)](_0x1b1fcd,{'body':_0x1fc04a});}},exports[_0x4dc0f1(0x34e)]=pi([Ke(0x0,o[_0x4dc0f1(0x389)](K[_0x4dc0f1(0x2f4)])),Ke(0x1,o[_0x4dc0f1(0x389)](o['IConfigService']))],exports[_0x4dc0f1(0x34e)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x1c3316){var _0x5b61ec=_0x4dc0f1;return _0x1c3316&&_0x1c3316[_0x5b61ec(0x8d)]&&Object[_0x5b61ec(0x10d)][_0x5b61ec(0xf6)][_0x5b61ec(0xf7)](_0x1c3316,_0x5b61ec(0x1c6))?_0x1c3316[_0x5b61ec(0x1c6)]:_0x1c3316;}var Ie={'exports':{}};function gi(_0x38c956){var _0x3a2115=_0x4dc0f1;throw new Error(_0x3a2115(0x2d3)+_0x38c956+_0x3a2115(0x106));}var fe={'exports':{}},Ti=fe['exports'],qe;function Z(){var _0x5bb104=_0x4dc0f1;return qe||(qe=0x1,function(_0x1188a4,_0x190f96){(function(_0x2982d6,_0x209c53){var _0x3dffee=_0x571e;_0x1188a4[_0x3dffee(0x1a4)]=_0x209c53();}(Ti,function(){var _0x4788e7=_0x4788e7||function(_0x851434,_0x3d8d93){var _0x4bc193=_0x571e,_0x2fe7a4;if(typeof window<'u'&&window[_0x4bc193(0x191)]&&(_0x2fe7a4=window[_0x4bc193(0x191)]),typeof self<'u'&&self[_0x4bc193(0x191)]&&(_0x2fe7a4=self[_0x4bc193(0x191)]),typeof globalThis<'u'&&globalThis[_0x4bc193(0x191)]&&(_0x2fe7a4=globalThis[_0x4bc193(0x191)]),!_0x2fe7a4&&typeof window<'u'&&window['msCrypto']&&(_0x2fe7a4=window[_0x4bc193(0x16f)]),!_0x2fe7a4&&typeof Pe<'u'&&Pe['crypto']&&(_0x2fe7a4=Pe[_0x4bc193(0x191)]),!_0x2fe7a4&&typeof gi==_0x4bc193(0x1ec))try{_0x2fe7a4=require('crypto');}catch{}var _0x567720=function(){var _0x421152=_0x4bc193;if(_0x2fe7a4){if(typeof _0x2fe7a4[_0x421152(0x3f1)]==_0x421152(0x1ec))try{return _0x2fe7a4[_0x421152(0x3f1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2fe7a4[_0x421152(0x155)]==_0x421152(0x1ec))try{return _0x2fe7a4[_0x421152(0x155)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x421152(0x27f));},_0x20e168=Object[_0x4bc193(0x250)]||(function(){function _0x5a8837(){}return function(_0x1485f1){var _0xfec471=_0x571e,_0x2a0a16;return _0x5a8837[_0xfec471(0x10d)]=_0x1485f1,_0x2a0a16=new _0x5a8837(),_0x5a8837['prototype']=null,_0x2a0a16;};}()),_0x5de7da={},_0x3f82b6=_0x5de7da['lib']={},_0x123854=_0x3f82b6[_0x4bc193(0x205)]=(function(){return{'extend':function(_0x53bb2d){var _0x6e33f1=_0x571e,_0x5f5c18=_0x20e168(this);return _0x53bb2d&&_0x5f5c18[_0x6e33f1(0xd1)](_0x53bb2d),(!_0x5f5c18[_0x6e33f1(0xf6)](_0x6e33f1(0x128))||this[_0x6e33f1(0x128)]===_0x5f5c18['init'])&&(_0x5f5c18[_0x6e33f1(0x128)]=function(){var _0x529c3a=_0x6e33f1;_0x5f5c18[_0x529c3a(0x1b1)][_0x529c3a(0x128)][_0x529c3a(0x333)](this,arguments);}),_0x5f5c18[_0x6e33f1(0x128)][_0x6e33f1(0x10d)]=_0x5f5c18,_0x5f5c18[_0x6e33f1(0x1b1)]=this,_0x5f5c18;},'create':function(){var _0x5432a5=_0x571e,_0x7e3ab=this[_0x5432a5(0xa1)]();return _0x7e3ab[_0x5432a5(0x128)]['apply'](_0x7e3ab,arguments),_0x7e3ab;},'init':function(){},'mixIn':function(_0x50cccf){var _0x1772cc=_0x571e;for(var _0x25fbec in _0x50cccf)_0x50cccf['hasOwnProperty'](_0x25fbec)&&(this[_0x25fbec]=_0x50cccf[_0x25fbec]);_0x50cccf[_0x1772cc(0xf6)](_0x1772cc(0x2df))&&(this[_0x1772cc(0x2df)]=_0x50cccf['toString']);},'clone':function(){var _0x2e1df4=_0x571e;return this[_0x2e1df4(0x128)][_0x2e1df4(0x10d)]['extend'](this);}};}()),_0x1b9af0=_0x3f82b6[_0x4bc193(0x3a6)]=_0x123854[_0x4bc193(0xa1)]({'init':function(_0x267cdd,_0x52c25d){var _0x175d69=_0x4bc193;_0x267cdd=this['words']=_0x267cdd||[],_0x52c25d!=_0x3d8d93?this[_0x175d69(0x302)]=_0x52c25d:this[_0x175d69(0x302)]=_0x267cdd[_0x175d69(0x183)]*0x4;},'toString':function(_0xa4b997){return(_0xa4b997||_0x1ce280)['stringify'](this);},'concat':function(_0x24a40f){var _0xf1d914=_0x4bc193,_0x5aad7d=this[_0xf1d914(0x295)],_0x361bf0=_0x24a40f[_0xf1d914(0x295)],_0x80b1fe=this[_0xf1d914(0x302)],_0x4a0189=_0x24a40f[_0xf1d914(0x302)];if(this[_0xf1d914(0xf1)](),_0x80b1fe%0x4)for(var _0x3133c4=0x0;_0x3133c4<_0x4a0189;_0x3133c4++){var _0x23c3f4=_0x361bf0[_0x3133c4>>>0x2]>>>0x18-_0x3133c4%0x4*0x8&0xff;_0x5aad7d[_0x80b1fe+_0x3133c4>>>0x2]|=_0x23c3f4<<0x18-(_0x80b1fe+_0x3133c4)%0x4*0x8;}else{for(var _0x231d3e=0x0;_0x231d3e<_0x4a0189;_0x231d3e+=0x4)_0x5aad7d[_0x80b1fe+_0x231d3e>>>0x2]=_0x361bf0[_0x231d3e>>>0x2];}return this['sigBytes']+=_0x4a0189,this;},'clamp':function(){var _0x3478cb=_0x4bc193,_0xf868f0=this['words'],_0x3798b5=this['sigBytes'];_0xf868f0[_0x3798b5>>>0x2]&=0xffffffff<<0x20-_0x3798b5%0x4*0x8,_0xf868f0[_0x3478cb(0x183)]=_0x851434[_0x3478cb(0x3ae)](_0x3798b5/0x4);},'clone':function(){var _0x1492bc=_0x4bc193,_0x1b192f=_0x123854['clone']['call'](this);return _0x1b192f['words']=this[_0x1492bc(0x295)]['slice'](0x0),_0x1b192f;},'random':function(_0x52bdac){var _0x35fa24=_0x4bc193;for(var _0x16f22f=[],_0x19ca22=0x0;_0x19ca22<_0x52bdac;_0x19ca22+=0x4)_0x16f22f[_0x35fa24(0x3f3)](_0x567720());return new _0x1b9af0[(_0x35fa24(0x128))](_0x16f22f,_0x52bdac);}}),_0x2ad498=_0x5de7da['enc']={},_0x1ce280=_0x2ad498[_0x4bc193(0x3b8)]={'stringify':function(_0x8a68f6){var _0x50ab41=_0x4bc193;for(var _0x2d8ef2=_0x8a68f6[_0x50ab41(0x295)],_0x3683a1=_0x8a68f6[_0x50ab41(0x302)],_0x185397=[],_0x16960f=0x0;_0x16960f<_0x3683a1;_0x16960f++){var _0x488e1b=_0x2d8ef2[_0x16960f>>>0x2]>>>0x18-_0x16960f%0x4*0x8&0xff;_0x185397[_0x50ab41(0x3f3)]((_0x488e1b>>>0x4)[_0x50ab41(0x2df)](0x10)),_0x185397[_0x50ab41(0x3f3)]((_0x488e1b&0xf)[_0x50ab41(0x2df)](0x10));}return _0x185397[_0x50ab41(0x229)]('');},'parse':function(_0x2ef99d){var _0x534195=_0x4bc193;for(var _0x42e16d=_0x2ef99d[_0x534195(0x183)],_0x1603db=[],_0x226bd7=0x0;_0x226bd7<_0x42e16d;_0x226bd7+=0x2)_0x1603db[_0x226bd7>>>0x3]|=parseInt(_0x2ef99d[_0x534195(0x143)](_0x226bd7,0x2),0x10)<<0x18-_0x226bd7%0x8*0x4;return new _0x1b9af0[(_0x534195(0x128))](_0x1603db,_0x42e16d/0x2);}},_0x50221d=_0x2ad498[_0x4bc193(0x371)]={'stringify':function(_0x7e240){var _0x176635=_0x4bc193;for(var _0x9dd901=_0x7e240[_0x176635(0x295)],_0x865892=_0x7e240['sigBytes'],_0x499f19=[],_0x41417f=0x0;_0x41417f<_0x865892;_0x41417f++){var _0x49216e=_0x9dd901[_0x41417f>>>0x2]>>>0x18-_0x41417f%0x4*0x8&0xff;_0x499f19[_0x176635(0x3f3)](String[_0x176635(0x2f5)](_0x49216e));}return _0x499f19['join']('');},'parse':function(_0xa3aaa5){var _0xd5e591=_0x4bc193;for(var _0x4321b2=_0xa3aaa5[_0xd5e591(0x183)],_0x1d2c0a=[],_0x5928ef=0x0;_0x5928ef<_0x4321b2;_0x5928ef++)_0x1d2c0a[_0x5928ef>>>0x2]|=(_0xa3aaa5[_0xd5e591(0x244)](_0x5928ef)&0xff)<<0x18-_0x5928ef%0x4*0x8;return new _0x1b9af0[(_0xd5e591(0x128))](_0x1d2c0a,_0x4321b2);}},_0xee070d=_0x2ad498[_0x4bc193(0x1d0)]={'stringify':function(_0x1a1e6b){var _0x45d2ab=_0x4bc193;try{return decodeURIComponent(escape(_0x50221d[_0x45d2ab(0x164)](_0x1a1e6b)));}catch{throw new Error(_0x45d2ab(0x12b));}},'parse':function(_0x3ffaa7){var _0x31c7c4=_0x4bc193;return _0x50221d[_0x31c7c4(0x87)](unescape(encodeURIComponent(_0x3ffaa7)));}},_0x4f7967=_0x3f82b6['BufferedBlockAlgorithm']=_0x123854[_0x4bc193(0xa1)]({'reset':function(){var _0x39f44b=_0x4bc193;this[_0x39f44b(0x212)]=new _0x1b9af0[(_0x39f44b(0x128))](),this[_0x39f44b(0x1cd)]=0x0;},'_append':function(_0x31d6f8){var _0x284940=_0x4bc193;typeof _0x31d6f8==_0x284940(0x1f9)&&(_0x31d6f8=_0xee070d[_0x284940(0x87)](_0x31d6f8)),this[_0x284940(0x212)][_0x284940(0xeb)](_0x31d6f8),this['_nDataBytes']+=_0x31d6f8['sigBytes'];},'_process':function(_0x1cbdda){var _0x2ba2a8=_0x4bc193,_0x4ec826,_0x4105d1=this[_0x2ba2a8(0x212)],_0x1ccd45=_0x4105d1['words'],_0x1a5f66=_0x4105d1[_0x2ba2a8(0x302)],_0x37762e=this['blockSize'],_0x38e4ae=_0x37762e*0x4,_0x1203a6=_0x1a5f66/_0x38e4ae;_0x1cbdda?_0x1203a6=_0x851434[_0x2ba2a8(0x3ae)](_0x1203a6):_0x1203a6=_0x851434['max']((_0x1203a6|0x0)-this[_0x2ba2a8(0x306)],0x0);var _0x172d1c=_0x1203a6*_0x37762e,_0x332b15=_0x851434['min'](_0x172d1c*0x4,_0x1a5f66);if(_0x172d1c){for(var _0x336772=0x0;_0x336772<_0x172d1c;_0x336772+=_0x37762e)this[_0x2ba2a8(0x3cf)](_0x1ccd45,_0x336772);_0x4ec826=_0x1ccd45[_0x2ba2a8(0x20d)](0x0,_0x172d1c),_0x4105d1[_0x2ba2a8(0x302)]-=_0x332b15;}return new _0x1b9af0['init'](_0x4ec826,_0x332b15);},'clone':function(){var _0x54a5d=_0x4bc193,_0x515963=_0x123854[_0x54a5d(0x209)][_0x54a5d(0xf7)](this);return _0x515963[_0x54a5d(0x212)]=this[_0x54a5d(0x212)][_0x54a5d(0x209)](),_0x515963;},'_minBufferSize':0x0});_0x3f82b6[_0x4bc193(0x269)]=_0x4f7967[_0x4bc193(0xa1)]({'cfg':_0x123854[_0x4bc193(0xa1)](),'init':function(_0x235e44){var _0x115c86=_0x4bc193;this[_0x115c86(0x37f)]=this[_0x115c86(0x37f)][_0x115c86(0xa1)](_0x235e44),this['reset']();},'reset':function(){var _0x352a79=_0x4bc193;_0x4f7967[_0x352a79(0x207)][_0x352a79(0xf7)](this),this[_0x352a79(0x1f8)]();},'update':function(_0x1d087d){var _0x3251a5=_0x4bc193;return this[_0x3251a5(0x2f0)](_0x1d087d),this['_process'](),this;},'finalize':function(_0x5b1853){var _0x644fd=_0x4bc193;_0x5b1853&&this[_0x644fd(0x2f0)](_0x5b1853);var _0x589218=this[_0x644fd(0x21e)]();return _0x589218;},'blockSize':0x10,'_createHelper':function(_0x50e2f6){return function(_0xde0866,_0x343bf4){var _0x4be7c3=_0x571e;return new _0x50e2f6[(_0x4be7c3(0x128))](_0x343bf4)[_0x4be7c3(0x28d)](_0xde0866);};},'_createHmacHelper':function(_0x2307fe){return function(_0x59938d,_0xa13ab0){var _0x5293df=_0x571e;return new _0x3f84d7[(_0x5293df(0x126))][(_0x5293df(0x128))](_0x2307fe,_0xa13ab0)[_0x5293df(0x28d)](_0x59938d);};}});var _0x3f84d7=_0x5de7da[_0x4bc193(0xfe)]={};return _0x5de7da;}(Math);return _0x4788e7;}));}(fe)),fe[_0x5bb104(0x1a4)];}function _0x571e(_0x2344c7,_0x492609){_0x2344c7=_0x2344c7-0x75;var _0x1dd0b9=_0x1dd0();var _0x571e85=_0x1dd0b9[_0x2344c7];return _0x571e85;}var Ee={'exports':{}},Ci=Ee[_0x4dc0f1(0x1a4)],ze;function Tt(){var _0x67e2e1=_0x4dc0f1;return ze||(ze=0x1,function(_0x544743,_0x3c8109){(function(_0x108a9e,_0x4b3287){_0x544743['exports']=_0x4b3287(Z());}(Ci,function(_0x3e6447){var _0x4604f3=_0x571e;return(function(){var _0x51d6d7=_0x571e,_0x2a4ba1=_0x3e6447,_0x1082f5=_0x2a4ba1[_0x51d6d7(0x2f7)],_0xe022a0=_0x1082f5[_0x51d6d7(0x3a6)],_0xf7947b=_0x2a4ba1[_0x51d6d7(0x2cb)];_0xf7947b['Base64']={'stringify':function(_0x42be73){var _0x3ed9f1=_0x51d6d7,_0x33ee1a=_0x42be73['words'],_0xc2929d=_0x42be73['sigBytes'],_0x48067c=this[_0x3ed9f1(0x2b6)];_0x42be73[_0x3ed9f1(0xf1)]();for(var _0x4d6bfa=[],_0x3a3ca1=0x0;_0x3a3ca1<_0xc2929d;_0x3a3ca1+=0x3)for(var _0x54f758=_0x33ee1a[_0x3a3ca1>>>0x2]>>>0x18-_0x3a3ca1%0x4*0x8&0xff,_0x1d221b=_0x33ee1a[_0x3a3ca1+0x1>>>0x2]>>>0x18-(_0x3a3ca1+0x1)%0x4*0x8&0xff,_0x1e257a=_0x33ee1a[_0x3a3ca1+0x2>>>0x2]>>>0x18-(_0x3a3ca1+0x2)%0x4*0x8&0xff,_0x44be02=_0x54f758<<0x10|_0x1d221b<<0x8|_0x1e257a,_0x43e29e=0x0;_0x43e29e<0x4&&_0x3a3ca1+_0x43e29e*0.75<_0xc2929d;_0x43e29e++)_0x4d6bfa[_0x3ed9f1(0x3f3)](_0x48067c['charAt'](_0x44be02>>>0x6*(0x3-_0x43e29e)&0x3f));var _0x1906c4=_0x48067c[_0x3ed9f1(0x1a6)](0x40);if(_0x1906c4){for(;_0x4d6bfa[_0x3ed9f1(0x183)]%0x4;)_0x4d6bfa[_0x3ed9f1(0x3f3)](_0x1906c4);}return _0x4d6bfa[_0x3ed9f1(0x229)]('');},'parse':function(_0x4f1040){var _0x50e5a6=_0x51d6d7,_0x493961=_0x4f1040[_0x50e5a6(0x183)],_0x42dbd1=this[_0x50e5a6(0x2b6)],_0x32de46=this['_reverseMap'];if(!_0x32de46){_0x32de46=this['_reverseMap']=[];for(var _0x1f290e=0x0;_0x1f290e<_0x42dbd1[_0x50e5a6(0x183)];_0x1f290e++)_0x32de46[_0x42dbd1[_0x50e5a6(0x244)](_0x1f290e)]=_0x1f290e;}var _0x11a178=_0x42dbd1[_0x50e5a6(0x1a6)](0x40);if(_0x11a178){var _0x51fb64=_0x4f1040[_0x50e5a6(0x3c7)](_0x11a178);_0x51fb64!==-0x1&&(_0x493961=_0x51fb64);}return _0x1495d4(_0x4f1040,_0x493961,_0x32de46);},'_map':_0x51d6d7(0x19c)};function _0x1495d4(_0x8d6753,_0x54eda8,_0x9a1d55){var _0x306712=_0x51d6d7;for(var _0x5216aa=[],_0x22ea99=0x0,_0x4d4fcf=0x0;_0x4d4fcf<_0x54eda8;_0x4d4fcf++)if(_0x4d4fcf%0x4){var _0x46d176=_0x9a1d55[_0x8d6753['charCodeAt'](_0x4d4fcf-0x1)]<<_0x4d4fcf%0x4*0x2,_0x3f989f=_0x9a1d55[_0x8d6753[_0x306712(0x244)](_0x4d4fcf)]>>>0x6-_0x4d4fcf%0x4*0x2,_0x4f00c2=_0x46d176|_0x3f989f;_0x5216aa[_0x22ea99>>>0x2]|=_0x4f00c2<<0x18-_0x22ea99%0x4*0x8,_0x22ea99++;}return _0xe022a0['create'](_0x5216aa,_0x22ea99);}}()),_0x3e6447[_0x4604f3(0x2cb)][_0x4604f3(0x167)];}));}(Ee)),Ee[_0x67e2e1(0x1a4)];}var pe={'exports':{}},Oi=pe[_0x4dc0f1(0x1a4)],Xe;function bi(){var _0x2d2a62=_0x4dc0f1;return Xe||(Xe=0x1,function(_0x584ba9,_0x107e80){(function(_0x366e01,_0x375a99){_0x584ba9['exports']=_0x375a99(Z());}(Oi,function(_0x538e4e){return function(_0x41675d){var _0x5b20d1=_0x571e,_0x56ffd9=_0x538e4e,_0x5e4c78=_0x56ffd9[_0x5b20d1(0x2f7)],_0x1dc449=_0x5e4c78[_0x5b20d1(0x3a6)],_0x8116b5=_0x5e4c78[_0x5b20d1(0x269)],_0x1edab3=_0x56ffd9[_0x5b20d1(0xfe)],_0x11f0f3=[];(function(){var _0x4e329f=_0x5b20d1;for(var _0x622977=0x0;_0x622977<0x40;_0x622977++)_0x11f0f3[_0x622977]=_0x41675d[_0x4e329f(0xd8)](_0x41675d[_0x4e329f(0x32e)](_0x622977+0x1))*0x100000000|0x0;}());var _0xd2fa53=_0x1edab3[_0x5b20d1(0x31d)]=_0x8116b5[_0x5b20d1(0xa1)]({'_doReset':function(){var _0x2bf406=_0x5b20d1;this[_0x2bf406(0xbc)]=new _0x1dc449[(_0x2bf406(0x128))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x25d238,_0x56f906){for(var _0x4b96c0=0x0;_0x4b96c0<0x10;_0x4b96c0++){var _0x4c728b=_0x56f906+_0x4b96c0,_0x50c67b=_0x25d238[_0x4c728b];_0x25d238[_0x4c728b]=(_0x50c67b<<0x8|_0x50c67b>>>0x18)&0xff00ff|(_0x50c67b<<0x18|_0x50c67b>>>0x8)&0xff00ff00;}var _0x47be14=this['_hash']['words'],_0x2a60f1=_0x25d238[_0x56f906+0x0],_0x2fab7f=_0x25d238[_0x56f906+0x1],_0x2e7c4a=_0x25d238[_0x56f906+0x2],_0x3598bc=_0x25d238[_0x56f906+0x3],_0x59771f=_0x25d238[_0x56f906+0x4],_0xed35a9=_0x25d238[_0x56f906+0x5],_0x15f2d3=_0x25d238[_0x56f906+0x6],_0x32dd4f=_0x25d238[_0x56f906+0x7],_0xaab3c9=_0x25d238[_0x56f906+0x8],_0x495884=_0x25d238[_0x56f906+0x9],_0x276dd1=_0x25d238[_0x56f906+0xa],_0x4fa97f=_0x25d238[_0x56f906+0xb],_0x16d2eb=_0x25d238[_0x56f906+0xc],_0x499a1d=_0x25d238[_0x56f906+0xd],_0xe83d40=_0x25d238[_0x56f906+0xe],_0x63255b=_0x25d238[_0x56f906+0xf],_0xb3db49=_0x47be14[0x0],_0x504cc9=_0x47be14[0x1],_0x5f1b33=_0x47be14[0x2],_0x3158c7=_0x47be14[0x3];_0xb3db49=_0x52bb84(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x2a60f1,0x7,_0x11f0f3[0x0]),_0x3158c7=_0x52bb84(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x2fab7f,0xc,_0x11f0f3[0x1]),_0x5f1b33=_0x52bb84(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x2e7c4a,0x11,_0x11f0f3[0x2]),_0x504cc9=_0x52bb84(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x3598bc,0x16,_0x11f0f3[0x3]),_0xb3db49=_0x52bb84(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x59771f,0x7,_0x11f0f3[0x4]),_0x3158c7=_0x52bb84(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0xed35a9,0xc,_0x11f0f3[0x5]),_0x5f1b33=_0x52bb84(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x15f2d3,0x11,_0x11f0f3[0x6]),_0x504cc9=_0x52bb84(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x32dd4f,0x16,_0x11f0f3[0x7]),_0xb3db49=_0x52bb84(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0xaab3c9,0x7,_0x11f0f3[0x8]),_0x3158c7=_0x52bb84(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x495884,0xc,_0x11f0f3[0x9]),_0x5f1b33=_0x52bb84(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x276dd1,0x11,_0x11f0f3[0xa]),_0x504cc9=_0x52bb84(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x4fa97f,0x16,_0x11f0f3[0xb]),_0xb3db49=_0x52bb84(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x16d2eb,0x7,_0x11f0f3[0xc]),_0x3158c7=_0x52bb84(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x499a1d,0xc,_0x11f0f3[0xd]),_0x5f1b33=_0x52bb84(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0xe83d40,0x11,_0x11f0f3[0xe]),_0x504cc9=_0x52bb84(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x63255b,0x16,_0x11f0f3[0xf]),_0xb3db49=_0x280266(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x2fab7f,0x5,_0x11f0f3[0x10]),_0x3158c7=_0x280266(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x15f2d3,0x9,_0x11f0f3[0x11]),_0x5f1b33=_0x280266(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x4fa97f,0xe,_0x11f0f3[0x12]),_0x504cc9=_0x280266(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x2a60f1,0x14,_0x11f0f3[0x13]),_0xb3db49=_0x280266(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0xed35a9,0x5,_0x11f0f3[0x14]),_0x3158c7=_0x280266(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x276dd1,0x9,_0x11f0f3[0x15]),_0x5f1b33=_0x280266(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x63255b,0xe,_0x11f0f3[0x16]),_0x504cc9=_0x280266(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x59771f,0x14,_0x11f0f3[0x17]),_0xb3db49=_0x280266(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x495884,0x5,_0x11f0f3[0x18]),_0x3158c7=_0x280266(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0xe83d40,0x9,_0x11f0f3[0x19]),_0x5f1b33=_0x280266(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x3598bc,0xe,_0x11f0f3[0x1a]),_0x504cc9=_0x280266(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0xaab3c9,0x14,_0x11f0f3[0x1b]),_0xb3db49=_0x280266(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x499a1d,0x5,_0x11f0f3[0x1c]),_0x3158c7=_0x280266(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x2e7c4a,0x9,_0x11f0f3[0x1d]),_0x5f1b33=_0x280266(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x32dd4f,0xe,_0x11f0f3[0x1e]),_0x504cc9=_0x280266(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x16d2eb,0x14,_0x11f0f3[0x1f]),_0xb3db49=_0xd9c466(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0xed35a9,0x4,_0x11f0f3[0x20]),_0x3158c7=_0xd9c466(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0xaab3c9,0xb,_0x11f0f3[0x21]),_0x5f1b33=_0xd9c466(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x4fa97f,0x10,_0x11f0f3[0x22]),_0x504cc9=_0xd9c466(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0xe83d40,0x17,_0x11f0f3[0x23]),_0xb3db49=_0xd9c466(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x2fab7f,0x4,_0x11f0f3[0x24]),_0x3158c7=_0xd9c466(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x59771f,0xb,_0x11f0f3[0x25]),_0x5f1b33=_0xd9c466(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x32dd4f,0x10,_0x11f0f3[0x26]),_0x504cc9=_0xd9c466(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x276dd1,0x17,_0x11f0f3[0x27]),_0xb3db49=_0xd9c466(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x499a1d,0x4,_0x11f0f3[0x28]),_0x3158c7=_0xd9c466(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x2a60f1,0xb,_0x11f0f3[0x29]),_0x5f1b33=_0xd9c466(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x3598bc,0x10,_0x11f0f3[0x2a]),_0x504cc9=_0xd9c466(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x15f2d3,0x17,_0x11f0f3[0x2b]),_0xb3db49=_0xd9c466(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x495884,0x4,_0x11f0f3[0x2c]),_0x3158c7=_0xd9c466(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x16d2eb,0xb,_0x11f0f3[0x2d]),_0x5f1b33=_0xd9c466(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x63255b,0x10,_0x11f0f3[0x2e]),_0x504cc9=_0xd9c466(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x2e7c4a,0x17,_0x11f0f3[0x2f]),_0xb3db49=_0x2ca5bf(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x2a60f1,0x6,_0x11f0f3[0x30]),_0x3158c7=_0x2ca5bf(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x32dd4f,0xa,_0x11f0f3[0x31]),_0x5f1b33=_0x2ca5bf(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0xe83d40,0xf,_0x11f0f3[0x32]),_0x504cc9=_0x2ca5bf(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0xed35a9,0x15,_0x11f0f3[0x33]),_0xb3db49=_0x2ca5bf(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x16d2eb,0x6,_0x11f0f3[0x34]),_0x3158c7=_0x2ca5bf(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x3598bc,0xa,_0x11f0f3[0x35]),_0x5f1b33=_0x2ca5bf(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x276dd1,0xf,_0x11f0f3[0x36]),_0x504cc9=_0x2ca5bf(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x2fab7f,0x15,_0x11f0f3[0x37]),_0xb3db49=_0x2ca5bf(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0xaab3c9,0x6,_0x11f0f3[0x38]),_0x3158c7=_0x2ca5bf(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x63255b,0xa,_0x11f0f3[0x39]),_0x5f1b33=_0x2ca5bf(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x15f2d3,0xf,_0x11f0f3[0x3a]),_0x504cc9=_0x2ca5bf(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x499a1d,0x15,_0x11f0f3[0x3b]),_0xb3db49=_0x2ca5bf(_0xb3db49,_0x504cc9,_0x5f1b33,_0x3158c7,_0x59771f,0x6,_0x11f0f3[0x3c]),_0x3158c7=_0x2ca5bf(_0x3158c7,_0xb3db49,_0x504cc9,_0x5f1b33,_0x4fa97f,0xa,_0x11f0f3[0x3d]),_0x5f1b33=_0x2ca5bf(_0x5f1b33,_0x3158c7,_0xb3db49,_0x504cc9,_0x2e7c4a,0xf,_0x11f0f3[0x3e]),_0x504cc9=_0x2ca5bf(_0x504cc9,_0x5f1b33,_0x3158c7,_0xb3db49,_0x495884,0x15,_0x11f0f3[0x3f]),_0x47be14[0x0]=_0x47be14[0x0]+_0xb3db49|0x0,_0x47be14[0x1]=_0x47be14[0x1]+_0x504cc9|0x0,_0x47be14[0x2]=_0x47be14[0x2]+_0x5f1b33|0x0,_0x47be14[0x3]=_0x47be14[0x3]+_0x3158c7|0x0;},'_doFinalize':function(){var _0x27227e=_0x5b20d1,_0x2e4286=this[_0x27227e(0x212)],_0x3d7417=_0x2e4286['words'],_0x42c496=this['_nDataBytes']*0x8,_0x45eeea=_0x2e4286['sigBytes']*0x8;_0x3d7417[_0x45eeea>>>0x5]|=0x80<<0x18-_0x45eeea%0x20;var _0x5dd0f3=_0x41675d[_0x27227e(0x11c)](_0x42c496/0x100000000),_0xc2c4af=_0x42c496;_0x3d7417[(_0x45eeea+0x40>>>0x9<<0x4)+0xf]=(_0x5dd0f3<<0x8|_0x5dd0f3>>>0x18)&0xff00ff|(_0x5dd0f3<<0x18|_0x5dd0f3>>>0x8)&0xff00ff00,_0x3d7417[(_0x45eeea+0x40>>>0x9<<0x4)+0xe]=(_0xc2c4af<<0x8|_0xc2c4af>>>0x18)&0xff00ff|(_0xc2c4af<<0x18|_0xc2c4af>>>0x8)&0xff00ff00,_0x2e4286[_0x27227e(0x302)]=(_0x3d7417[_0x27227e(0x183)]+0x1)*0x4,this[_0x27227e(0x137)]();for(var _0x3556ab=this[_0x27227e(0xbc)],_0x2906cc=_0x3556ab[_0x27227e(0x295)],_0x34885a=0x0;_0x34885a<0x4;_0x34885a++){var _0x4194e7=_0x2906cc[_0x34885a];_0x2906cc[_0x34885a]=(_0x4194e7<<0x8|_0x4194e7>>>0x18)&0xff00ff|(_0x4194e7<<0x18|_0x4194e7>>>0x8)&0xff00ff00;}return _0x3556ab;},'clone':function(){var _0x54b547=_0x5b20d1,_0x181cbf=_0x8116b5[_0x54b547(0x209)][_0x54b547(0xf7)](this);return _0x181cbf[_0x54b547(0xbc)]=this['_hash'][_0x54b547(0x209)](),_0x181cbf;}});function _0x52bb84(_0x3c962a,_0x4cc9f5,_0x40646a,_0x386846,_0x21829b,_0x24bb50,_0x2a11cc){var _0x1fb6fc=_0x3c962a+(_0x4cc9f5&_0x40646a|~_0x4cc9f5&_0x386846)+_0x21829b+_0x2a11cc;return(_0x1fb6fc<<_0x24bb50|_0x1fb6fc>>>0x20-_0x24bb50)+_0x4cc9f5;}function _0x280266(_0x517bc7,_0x20ff69,_0x57ff42,_0x2ffdad,_0x322210,_0x418225,_0x110f72){var _0x5a9c83=_0x517bc7+(_0x20ff69&_0x2ffdad|_0x57ff42&~_0x2ffdad)+_0x322210+_0x110f72;return(_0x5a9c83<<_0x418225|_0x5a9c83>>>0x20-_0x418225)+_0x20ff69;}function _0xd9c466(_0x36df88,_0x4bcb17,_0x1fb70a,_0x1119da,_0xf0db8f,_0x1a3a5e,_0x40452c){var _0x313e7d=_0x36df88+(_0x4bcb17^_0x1fb70a^_0x1119da)+_0xf0db8f+_0x40452c;return(_0x313e7d<<_0x1a3a5e|_0x313e7d>>>0x20-_0x1a3a5e)+_0x4bcb17;}function _0x2ca5bf(_0x436b72,_0x28e771,_0x3665d3,_0x4a3852,_0x517f5d,_0x328c80,_0x252ca1){var _0x5ad678=_0x436b72+(_0x3665d3^(_0x28e771|~_0x4a3852))+_0x517f5d+_0x252ca1;return(_0x5ad678<<_0x328c80|_0x5ad678>>>0x20-_0x328c80)+_0x28e771;}_0x56ffd9['MD5']=_0x8116b5[_0x5b20d1(0x1d4)](_0xd2fa53),_0x56ffd9['HmacMD5']=_0x8116b5[_0x5b20d1(0x28b)](_0xd2fa53);}(Math),_0x538e4e['MD5'];}));}(pe)),pe[_0x2d2a62(0x1a4)];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x4dc0f1(0x1a4)],Je;function Ni(){var _0x540e22=_0x4dc0f1;return Je||(Je=0x1,function(_0x49d6f6,_0x459ba1){(function(_0x347df4,_0x3283e0){var _0x5277ca=_0x571e;_0x49d6f6[_0x5277ca(0x1a4)]=_0x3283e0(Z());}(Ri,function(_0x5bf5d0){var _0x55096f=_0x571e;return(function(){var _0x257513=_0x571e,_0x501057=_0x5bf5d0,_0x2a8944=_0x501057['lib'],_0x1dfa67=_0x2a8944[_0x257513(0x3a6)],_0x271bd1=_0x2a8944[_0x257513(0x269)],_0x503d87=_0x501057[_0x257513(0xfe)],_0x2800e1=[],_0x2f9029=_0x503d87[_0x257513(0x22b)]=_0x271bd1[_0x257513(0xa1)]({'_doReset':function(){var _0x315327=_0x257513;this[_0x315327(0xbc)]=new _0x1dfa67[(_0x315327(0x128))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4f9e11,_0x555f47){var _0x6864b0=_0x257513;for(var _0x1e6a87=this['_hash'][_0x6864b0(0x295)],_0x2758f1=_0x1e6a87[0x0],_0x4606da=_0x1e6a87[0x1],_0xabd862=_0x1e6a87[0x2],_0x5cf1db=_0x1e6a87[0x3],_0x2c3a33=_0x1e6a87[0x4],_0x34318b=0x0;_0x34318b<0x50;_0x34318b++){if(_0x34318b<0x10)_0x2800e1[_0x34318b]=_0x4f9e11[_0x555f47+_0x34318b]|0x0;else{var _0x4b9925=_0x2800e1[_0x34318b-0x3]^_0x2800e1[_0x34318b-0x8]^_0x2800e1[_0x34318b-0xe]^_0x2800e1[_0x34318b-0x10];_0x2800e1[_0x34318b]=_0x4b9925<<0x1|_0x4b9925>>>0x1f;}var _0x8f92db=(_0x2758f1<<0x5|_0x2758f1>>>0x1b)+_0x2c3a33+_0x2800e1[_0x34318b];_0x34318b<0x14?_0x8f92db+=(_0x4606da&_0xabd862|~_0x4606da&_0x5cf1db)+0x5a827999:_0x34318b<0x28?_0x8f92db+=(_0x4606da^_0xabd862^_0x5cf1db)+0x6ed9eba1:_0x34318b<0x3c?_0x8f92db+=(_0x4606da&_0xabd862|_0x4606da&_0x5cf1db|_0xabd862&_0x5cf1db)-0x70e44324:_0x8f92db+=(_0x4606da^_0xabd862^_0x5cf1db)-0x359d3e2a,_0x2c3a33=_0x5cf1db,_0x5cf1db=_0xabd862,_0xabd862=_0x4606da<<0x1e|_0x4606da>>>0x2,_0x4606da=_0x2758f1,_0x2758f1=_0x8f92db;}_0x1e6a87[0x0]=_0x1e6a87[0x0]+_0x2758f1|0x0,_0x1e6a87[0x1]=_0x1e6a87[0x1]+_0x4606da|0x0,_0x1e6a87[0x2]=_0x1e6a87[0x2]+_0xabd862|0x0,_0x1e6a87[0x3]=_0x1e6a87[0x3]+_0x5cf1db|0x0,_0x1e6a87[0x4]=_0x1e6a87[0x4]+_0x2c3a33|0x0;},'_doFinalize':function(){var _0x331d6f=_0x257513,_0x485607=this[_0x331d6f(0x212)],_0x774a48=_0x485607['words'],_0x4742e0=this[_0x331d6f(0x1cd)]*0x8,_0x55d8f6=_0x485607['sigBytes']*0x8;return _0x774a48[_0x55d8f6>>>0x5]|=0x80<<0x18-_0x55d8f6%0x20,_0x774a48[(_0x55d8f6+0x40>>>0x9<<0x4)+0xe]=Math[_0x331d6f(0x11c)](_0x4742e0/0x100000000),_0x774a48[(_0x55d8f6+0x40>>>0x9<<0x4)+0xf]=_0x4742e0,_0x485607[_0x331d6f(0x302)]=_0x774a48[_0x331d6f(0x183)]*0x4,this[_0x331d6f(0x137)](),this[_0x331d6f(0xbc)];},'clone':function(){var _0x2832ba=_0x257513,_0x52f035=_0x271bd1[_0x2832ba(0x209)]['call'](this);return _0x52f035[_0x2832ba(0xbc)]=this[_0x2832ba(0xbc)]['clone'](),_0x52f035;}});_0x501057[_0x257513(0x22b)]=_0x271bd1[_0x257513(0x1d4)](_0x2f9029),_0x501057[_0x257513(0xde)]=_0x271bd1['_createHmacHelper'](_0x2f9029);}()),_0x5bf5d0[_0x55096f(0x22b)];}));}(ge)),ge[_0x540e22(0x1a4)];}var Te={'exports':{}},Di=Te[_0x4dc0f1(0x1a4)],Ze;function yi(){var _0x33f74a=_0x4dc0f1;return Ze||(Ze=0x1,function(_0x4be3cc,_0x4ddc86){(function(_0x19f695,_0x341644){var _0x5d585c=_0x571e;_0x4be3cc[_0x5d585c(0x1a4)]=_0x341644(Z());}(Di,function(_0x7bb120){(function(){var _0x1aeb2e=_0x571e,_0x368213=_0x7bb120,_0x64850a=_0x368213['lib'],_0x249132=_0x64850a[_0x1aeb2e(0x205)],_0xcab9de=_0x368213['enc'],_0x319e3a=_0xcab9de['Utf8'],_0x2d6e54=_0x368213[_0x1aeb2e(0xfe)];_0x2d6e54['HMAC']=_0x249132[_0x1aeb2e(0xa1)]({'init':function(_0x5b14f5,_0x26f6af){var _0x42d44a=_0x1aeb2e;_0x5b14f5=this['_hasher']=new _0x5b14f5['init'](),typeof _0x26f6af==_0x42d44a(0x1f9)&&(_0x26f6af=_0x319e3a[_0x42d44a(0x87)](_0x26f6af));var _0x249b86=_0x5b14f5[_0x42d44a(0xfa)],_0x182e5e=_0x249b86*0x4;_0x26f6af[_0x42d44a(0x302)]>_0x182e5e&&(_0x26f6af=_0x5b14f5[_0x42d44a(0x28d)](_0x26f6af)),_0x26f6af[_0x42d44a(0xf1)]();for(var _0x3a6b7a=this['_oKey']=_0x26f6af['clone'](),_0x41079f=this[_0x42d44a(0x14f)]=_0x26f6af[_0x42d44a(0x209)](),_0x37de42=_0x3a6b7a[_0x42d44a(0x295)],_0x37e776=_0x41079f[_0x42d44a(0x295)],_0x11d7e6=0x0;_0x11d7e6<_0x249b86;_0x11d7e6++)_0x37de42[_0x11d7e6]^=0x5c5c5c5c,_0x37e776[_0x11d7e6]^=0x36363636;_0x3a6b7a[_0x42d44a(0x302)]=_0x41079f[_0x42d44a(0x302)]=_0x182e5e,this[_0x42d44a(0x207)]();},'reset':function(){var _0x3fa538=_0x1aeb2e,_0x4b1d16=this[_0x3fa538(0x2e0)];_0x4b1d16[_0x3fa538(0x207)](),_0x4b1d16[_0x3fa538(0x1fa)](this['_iKey']);},'update':function(_0x3a273b){return this['_hasher']['update'](_0x3a273b),this;},'finalize':function(_0x4615cc){var _0x325fe7=_0x1aeb2e,_0x38b116=this['_hasher'],_0x284662=_0x38b116[_0x325fe7(0x28d)](_0x4615cc);_0x38b116[_0x325fe7(0x207)]();var _0xe481e1=_0x38b116[_0x325fe7(0x28d)](this[_0x325fe7(0x225)][_0x325fe7(0x209)]()[_0x325fe7(0xeb)](_0x284662));return _0xe481e1;}});}());}));}(Te)),Te[_0x33f74a(0x1a4)];}var Ui=me[_0x4dc0f1(0x1a4)],Qe;function Ct(){var _0x206554=_0x4dc0f1;return Qe||(Qe=0x1,function(_0x34c3af,_0x198e26){(function(_0x425775,_0x1b3429,_0x3f3efa){var _0x5da898=_0x571e;_0x34c3af[_0x5da898(0x1a4)]=_0x1b3429(Z(),Ni(),yi());}(Ui,function(_0x42980a){var _0x5296e7=_0x571e;return(function(){var _0x2e8189=_0x571e,_0x5f49ea=_0x42980a,_0x59f636=_0x5f49ea[_0x2e8189(0x2f7)],_0x719861=_0x59f636['Base'],_0x3bb3e6=_0x59f636[_0x2e8189(0x3a6)],_0x2f684d=_0x5f49ea['algo'],_0x59fe23=_0x2f684d['MD5'],_0x2779cc=_0x2f684d[_0x2e8189(0x1d9)]=_0x719861[_0x2e8189(0xa1)]({'cfg':_0x719861['extend']({'keySize':0x80/0x20,'hasher':_0x59fe23,'iterations':0x1}),'init':function(_0x28c8a7){var _0x39d6e8=_0x2e8189;this[_0x39d6e8(0x37f)]=this[_0x39d6e8(0x37f)]['extend'](_0x28c8a7);},'compute':function(_0x3f7655,_0x447ccb){var _0x598b4e=_0x2e8189;for(var _0x240b91,_0x4c6b8f=this[_0x598b4e(0x37f)],_0x5df484=_0x4c6b8f[_0x598b4e(0x35f)][_0x598b4e(0x250)](),_0x58a4f7=_0x3bb3e6[_0x598b4e(0x250)](),_0x1a66d5=_0x58a4f7['words'],_0x33d0fd=_0x4c6b8f[_0x598b4e(0x3ac)],_0x137085=_0x4c6b8f[_0x598b4e(0x40b)];_0x1a66d5[_0x598b4e(0x183)]<_0x33d0fd;){_0x240b91&&_0x5df484[_0x598b4e(0x1fa)](_0x240b91),_0x240b91=_0x5df484[_0x598b4e(0x1fa)](_0x3f7655)[_0x598b4e(0x28d)](_0x447ccb),_0x5df484[_0x598b4e(0x207)]();for(var _0x7ac604=0x1;_0x7ac604<_0x137085;_0x7ac604++)_0x240b91=_0x5df484[_0x598b4e(0x28d)](_0x240b91),_0x5df484[_0x598b4e(0x207)]();_0x58a4f7[_0x598b4e(0xeb)](_0x240b91);}return _0x58a4f7['sigBytes']=_0x33d0fd*0x4,_0x58a4f7;}});_0x5f49ea[_0x2e8189(0x1d9)]=function(_0x8d94c,_0x3f28ae,_0x2577f0){var _0x17aae3=_0x2e8189;return _0x2779cc[_0x17aae3(0x250)](_0x2577f0)[_0x17aae3(0x213)](_0x8d94c,_0x3f28ae);};}()),_0x42980a[_0x5296e7(0x1d9)];}));}(me)),me[_0x206554(0x1a4)];}var Ce={'exports':{}},Ai=Ce[_0x4dc0f1(0x1a4)],et;function Ot(){return et||(et=0x1,function(_0x199077,_0x1418ff){(function(_0x2e8323,_0x37e658,_0x5917a9){var _0x42c229=_0x571e;_0x199077[_0x42c229(0x1a4)]=_0x37e658(Z(),Ct());}(Ai,function(_0x5f5350){var _0x278238=_0x571e;_0x5f5350[_0x278238(0x2f7)][_0x278238(0x192)]||function(_0x5bf5cf){var _0x15c57c=_0x278238,_0x3eaba0=_0x5f5350,_0x4b1c22=_0x3eaba0[_0x15c57c(0x2f7)],_0x3db127=_0x4b1c22['Base'],_0x354b0b=_0x4b1c22[_0x15c57c(0x3a6)],_0x41034d=_0x4b1c22[_0x15c57c(0x3d9)],_0x152581=_0x3eaba0['enc'];_0x152581[_0x15c57c(0x1d0)];var _0x2b1699=_0x152581[_0x15c57c(0x167)],_0x594a69=_0x3eaba0[_0x15c57c(0xfe)],_0x3224b3=_0x594a69[_0x15c57c(0x1d9)],_0x7432e2=_0x4b1c22[_0x15c57c(0x192)]=_0x41034d[_0x15c57c(0xa1)]({'cfg':_0x3db127[_0x15c57c(0xa1)](),'createEncryptor':function(_0x525e7c,_0x1666eb){var _0x3098c3=_0x15c57c;return this['create'](this[_0x3098c3(0x37e)],_0x525e7c,_0x1666eb);},'createDecryptor':function(_0x1de482,_0xe9a04){var _0x6af6b9=_0x15c57c;return this[_0x6af6b9(0x250)](this['_DEC_XFORM_MODE'],_0x1de482,_0xe9a04);},'init':function(_0xf878d,_0x417ea5,_0x202eab){var _0x43c2a6=_0x15c57c;this[_0x43c2a6(0x37f)]=this[_0x43c2a6(0x37f)][_0x43c2a6(0xa1)](_0x202eab),this[_0x43c2a6(0xd5)]=_0xf878d,this[_0x43c2a6(0x2c6)]=_0x417ea5,this[_0x43c2a6(0x207)]();},'reset':function(){var _0x3a2860=_0x15c57c;_0x41034d[_0x3a2860(0x207)][_0x3a2860(0xf7)](this),this['_doReset']();},'process':function(_0x30b977){var _0x40f954=_0x15c57c;return this['_append'](_0x30b977),this[_0x40f954(0x137)]();},'finalize':function(_0xc243fb){var _0x7a77e2=_0x15c57c;_0xc243fb&&this[_0x7a77e2(0x2f0)](_0xc243fb);var _0x3d29eb=this[_0x7a77e2(0x21e)]();return _0x3d29eb;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x249a07(_0x41b69e){return typeof _0x41b69e=='string'?_0x4f8c1e:_0x1020a8;}return function(_0x98b616){return{'encrypt':function(_0x57e7e7,_0x23de9c,_0x113760){var _0x905c7d=_0x571e;return _0x249a07(_0x23de9c)[_0x905c7d(0x8a)](_0x98b616,_0x57e7e7,_0x23de9c,_0x113760);},'decrypt':function(_0x33d0fb,_0x4fa0bd,_0xbb16f4){var _0x1c9924=_0x571e;return _0x249a07(_0x4fa0bd)[_0x1c9924(0x195)](_0x98b616,_0x33d0fb,_0x4fa0bd,_0xbb16f4);}};};}())});_0x4b1c22[_0x15c57c(0xc5)]=_0x7432e2[_0x15c57c(0xa1)]({'_doFinalize':function(){var _0x1b854e=this['_process'](!0x0);return _0x1b854e;},'blockSize':0x1});var _0x27e603=_0x3eaba0[_0x15c57c(0x12f)]={},_0x16ec08=_0x4b1c22[_0x15c57c(0x90)]=_0x3db127[_0x15c57c(0xa1)]({'createEncryptor':function(_0x267044,_0x508073){var _0x289df7=_0x15c57c;return this[_0x289df7(0xff)][_0x289df7(0x250)](_0x267044,_0x508073);},'createDecryptor':function(_0x3e9f3d,_0x893efc){var _0x39a3f8=_0x15c57c;return this[_0x39a3f8(0x3bb)]['create'](_0x3e9f3d,_0x893efc);},'init':function(_0x157aaa,_0xfded69){this['_cipher']=_0x157aaa,this['_iv']=_0xfded69;}}),_0x28da60=_0x27e603[_0x15c57c(0x284)]=(function(){var _0xcba63a=_0x15c57c,_0x1b7ddb=_0x16ec08[_0xcba63a(0xa1)]();_0x1b7ddb['Encryptor']=_0x1b7ddb[_0xcba63a(0xa1)]({'processBlock':function(_0x324a37,_0x2aa150){var _0x291d44=_0xcba63a,_0x26606d=this[_0x291d44(0x3c1)],_0x3e1872=_0x26606d[_0x291d44(0xfa)];_0x4388c1[_0x291d44(0xf7)](this,_0x324a37,_0x2aa150,_0x3e1872),_0x26606d[_0x291d44(0xd4)](_0x324a37,_0x2aa150),this['_prevBlock']=_0x324a37[_0x291d44(0xf5)](_0x2aa150,_0x2aa150+_0x3e1872);}}),_0x1b7ddb['Decryptor']=_0x1b7ddb[_0xcba63a(0xa1)]({'processBlock':function(_0x55ab85,_0x267f8e){var _0x37b119=_0xcba63a,_0x16d254=this[_0x37b119(0x3c1)],_0x570427=_0x16d254[_0x37b119(0xfa)],_0x2809a1=_0x55ab85[_0x37b119(0xf5)](_0x267f8e,_0x267f8e+_0x570427);_0x16d254[_0x37b119(0x3b5)](_0x55ab85,_0x267f8e),_0x4388c1['call'](this,_0x55ab85,_0x267f8e,_0x570427),this[_0x37b119(0x19d)]=_0x2809a1;}});function _0x4388c1(_0x135c98,_0x14224a,_0x5ceb4e){var _0x1b1ae3=_0xcba63a,_0x4f165a,_0x5991aa=this[_0x1b1ae3(0x259)];_0x5991aa?(_0x4f165a=_0x5991aa,this[_0x1b1ae3(0x259)]=_0x5bf5cf):_0x4f165a=this[_0x1b1ae3(0x19d)];for(var _0x28438b=0x0;_0x28438b<_0x5ceb4e;_0x28438b++)_0x135c98[_0x14224a+_0x28438b]^=_0x4f165a[_0x28438b];}return _0x1b7ddb;}()),_0x48efec=_0x3eaba0['pad']={},_0x43567a=_0x48efec['Pkcs7']={'pad':function(_0x1131be,_0x1ef824){var _0x4427ac=_0x15c57c;for(var _0x5bab43=_0x1ef824*0x4,_0xfc7bbe=_0x5bab43-_0x1131be[_0x4427ac(0x302)]%_0x5bab43,_0x561d29=_0xfc7bbe<<0x18|_0xfc7bbe<<0x10|_0xfc7bbe<<0x8|_0xfc7bbe,_0x483999=[],_0x3827fd=0x0;_0x3827fd<_0xfc7bbe;_0x3827fd+=0x4)_0x483999['push'](_0x561d29);var _0x40df4d=_0x354b0b[_0x4427ac(0x250)](_0x483999,_0xfc7bbe);_0x1131be[_0x4427ac(0xeb)](_0x40df4d);},'unpad':function(_0x431c6c){var _0x2a6fc8=_0x15c57c,_0x314f1e=_0x431c6c[_0x2a6fc8(0x295)][_0x431c6c['sigBytes']-0x1>>>0x2]&0xff;_0x431c6c[_0x2a6fc8(0x302)]-=_0x314f1e;}};_0x4b1c22[_0x15c57c(0x2f3)]=_0x7432e2['extend']({'cfg':_0x7432e2[_0x15c57c(0x37f)][_0x15c57c(0xa1)]({'mode':_0x28da60,'padding':_0x43567a}),'reset':function(){var _0x412ebd=_0x15c57c,_0x45ea89;_0x7432e2[_0x412ebd(0x207)]['call'](this);var _0x50390f=this[_0x412ebd(0x37f)],_0x3c71c0=_0x50390f['iv'],_0x339541=_0x50390f['mode'];this[_0x412ebd(0xd5)]==this['_ENC_XFORM_MODE']?_0x45ea89=_0x339541[_0x412ebd(0xf3)]:(_0x45ea89=_0x339541['createDecryptor'],this['_minBufferSize']=0x1),this[_0x412ebd(0x13f)]&&this[_0x412ebd(0x13f)]['__creator']==_0x45ea89?this[_0x412ebd(0x13f)][_0x412ebd(0x128)](this,_0x3c71c0&&_0x3c71c0[_0x412ebd(0x295)]):(this[_0x412ebd(0x13f)]=_0x45ea89[_0x412ebd(0xf7)](_0x339541,this,_0x3c71c0&&_0x3c71c0['words']),this[_0x412ebd(0x13f)][_0x412ebd(0x253)]=_0x45ea89);},'_doProcessBlock':function(_0x162943,_0x4e35c7){var _0x41b69f=_0x15c57c;this['_mode'][_0x41b69f(0x145)](_0x162943,_0x4e35c7);},'_doFinalize':function(){var _0x18b00e=_0x15c57c,_0x4a5a55,_0x2d0b3d=this[_0x18b00e(0x37f)][_0x18b00e(0x3a2)];return this[_0x18b00e(0xd5)]==this[_0x18b00e(0x37e)]?(_0x2d0b3d['pad'](this['_data'],this[_0x18b00e(0xfa)]),_0x4a5a55=this['_process'](!0x0)):(_0x4a5a55=this[_0x18b00e(0x137)](!0x0),_0x2d0b3d['unpad'](_0x4a5a55)),_0x4a5a55;},'blockSize':0x80/0x20});var _0x38e44a=_0x4b1c22[_0x15c57c(0xc6)]=_0x3db127[_0x15c57c(0xa1)]({'init':function(_0x57def0){var _0x42d146=_0x15c57c;this[_0x42d146(0xd1)](_0x57def0);},'toString':function(_0x87704e){var _0xed175c=_0x15c57c;return(_0x87704e||this[_0xed175c(0x7d)])[_0xed175c(0x164)](this);}}),_0x3ccccd=_0x3eaba0[_0x15c57c(0x34a)]={},_0x5d0a55=_0x3ccccd[_0x15c57c(0x3a1)]={'stringify':function(_0x40e76c){var _0x337cfc=_0x15c57c,_0x151465,_0x10dbb4=_0x40e76c[_0x337cfc(0x190)],_0x5abb2d=_0x40e76c[_0x337cfc(0x109)];return _0x5abb2d?_0x151465=_0x354b0b['create']([0x53616c74,0x65645f5f])[_0x337cfc(0xeb)](_0x5abb2d)[_0x337cfc(0xeb)](_0x10dbb4):_0x151465=_0x10dbb4,_0x151465['toString'](_0x2b1699);},'parse':function(_0x4cb035){var _0x161020=_0x15c57c,_0xc20de8,_0x5403a2=_0x2b1699['parse'](_0x4cb035),_0x52b566=_0x5403a2[_0x161020(0x295)];return _0x52b566[0x0]==0x53616c74&&_0x52b566[0x1]==0x65645f5f&&(_0xc20de8=_0x354b0b['create'](_0x52b566[_0x161020(0xf5)](0x2,0x4)),_0x52b566[_0x161020(0x20d)](0x0,0x4),_0x5403a2['sigBytes']-=0x10),_0x38e44a[_0x161020(0x250)]({'ciphertext':_0x5403a2,'salt':_0xc20de8});}},_0x1020a8=_0x4b1c22[_0x15c57c(0x25d)]=_0x3db127[_0x15c57c(0xa1)]({'cfg':_0x3db127[_0x15c57c(0xa1)]({'format':_0x5d0a55}),'encrypt':function(_0xb6ccf2,_0x4ae014,_0x5f0e6f,_0x1a593a){var _0x3d0c6c=_0x15c57c;_0x1a593a=this[_0x3d0c6c(0x37f)]['extend'](_0x1a593a);var _0x82d7db=_0xb6ccf2[_0x3d0c6c(0xf3)](_0x5f0e6f,_0x1a593a),_0x3f0b62=_0x82d7db[_0x3d0c6c(0x28d)](_0x4ae014),_0x5a2f86=_0x82d7db[_0x3d0c6c(0x37f)];return _0x38e44a[_0x3d0c6c(0x250)]({'ciphertext':_0x3f0b62,'key':_0x5f0e6f,'iv':_0x5a2f86['iv'],'algorithm':_0xb6ccf2,'mode':_0x5a2f86[_0x3d0c6c(0x12f)],'padding':_0x5a2f86[_0x3d0c6c(0x3a2)],'blockSize':_0xb6ccf2['blockSize'],'formatter':_0x1a593a[_0x3d0c6c(0x34a)]});},'decrypt':function(_0x215699,_0x30a79d,_0x477f7a,_0xbde301){var _0xe61219=_0x15c57c;_0xbde301=this['cfg'][_0xe61219(0xa1)](_0xbde301),_0x30a79d=this['_parse'](_0x30a79d,_0xbde301[_0xe61219(0x34a)]);var _0x5192e4=_0x215699[_0xe61219(0x23d)](_0x477f7a,_0xbde301)[_0xe61219(0x28d)](_0x30a79d[_0xe61219(0x190)]);return _0x5192e4;},'_parse':function(_0x4941a7,_0xb57d1e){var _0x58054c=_0x15c57c;return typeof _0x4941a7==_0x58054c(0x1f9)?_0xb57d1e['parse'](_0x4941a7,this):_0x4941a7;}}),_0x229eb3=_0x3eaba0[_0x15c57c(0x92)]={},_0x586521=_0x229eb3[_0x15c57c(0x3a1)]={'execute':function(_0x333f0c,_0x146c8e,_0x32569d,_0x186fe7,_0x4fec09){var _0x4a4a7c=_0x15c57c;if(_0x186fe7||(_0x186fe7=_0x354b0b[_0x4a4a7c(0x35c)](0x40/0x8)),_0x4fec09)var _0x18c67b=_0x3224b3[_0x4a4a7c(0x250)]({'keySize':_0x146c8e+_0x32569d,'hasher':_0x4fec09})[_0x4a4a7c(0x213)](_0x333f0c,_0x186fe7);else var _0x18c67b=_0x3224b3[_0x4a4a7c(0x250)]({'keySize':_0x146c8e+_0x32569d})[_0x4a4a7c(0x213)](_0x333f0c,_0x186fe7);var _0x5412ae=_0x354b0b[_0x4a4a7c(0x250)](_0x18c67b['words'][_0x4a4a7c(0xf5)](_0x146c8e),_0x32569d*0x4);return _0x18c67b[_0x4a4a7c(0x302)]=_0x146c8e*0x4,_0x38e44a[_0x4a4a7c(0x250)]({'key':_0x18c67b,'iv':_0x5412ae,'salt':_0x186fe7});}},_0x4f8c1e=_0x4b1c22[_0x15c57c(0x1e5)]=_0x1020a8[_0x15c57c(0xa1)]({'cfg':_0x1020a8[_0x15c57c(0x37f)][_0x15c57c(0xa1)]({'kdf':_0x586521}),'encrypt':function(_0x491824,_0x399887,_0x3d7cad,_0x538a05){var _0x4e1822=_0x15c57c;_0x538a05=this[_0x4e1822(0x37f)][_0x4e1822(0xa1)](_0x538a05);var _0x570a54=_0x538a05[_0x4e1822(0x92)][_0x4e1822(0x3e2)](_0x3d7cad,_0x491824[_0x4e1822(0x3ac)],_0x491824[_0x4e1822(0x17d)],_0x538a05[_0x4e1822(0x109)],_0x538a05[_0x4e1822(0x35f)]);_0x538a05['iv']=_0x570a54['iv'];var _0x3a9d2b=_0x1020a8[_0x4e1822(0x8a)][_0x4e1822(0xf7)](this,_0x491824,_0x399887,_0x570a54[_0x4e1822(0x7f)],_0x538a05);return _0x3a9d2b['mixIn'](_0x570a54),_0x3a9d2b;},'decrypt':function(_0x4eff1a,_0x1cd092,_0x3ce434,_0x2b9692){var _0x47d7d7=_0x15c57c;_0x2b9692=this[_0x47d7d7(0x37f)][_0x47d7d7(0xa1)](_0x2b9692),_0x1cd092=this[_0x47d7d7(0x24b)](_0x1cd092,_0x2b9692[_0x47d7d7(0x34a)]);var _0x5da8a9=_0x2b9692[_0x47d7d7(0x92)]['execute'](_0x3ce434,_0x4eff1a[_0x47d7d7(0x3ac)],_0x4eff1a[_0x47d7d7(0x17d)],_0x1cd092[_0x47d7d7(0x109)],_0x2b9692['hasher']);_0x2b9692['iv']=_0x5da8a9['iv'];var _0x1844ed=_0x1020a8[_0x47d7d7(0x195)]['call'](this,_0x4eff1a,_0x1cd092,_0x5da8a9[_0x47d7d7(0x7f)],_0x2b9692);return _0x1844ed;}});}();}));}(Ce)),Ce['exports'];}var Pi=Ie[_0x4dc0f1(0x1a4)],tt;function Li(){var _0xcaefa3=_0x4dc0f1;return tt||(tt=0x1,function(_0x28525b,_0x2de630){(function(_0x5968ab,_0x223d49,_0x467b3f){var _0xd43fea=_0x571e;_0x28525b[_0xd43fea(0x1a4)]=_0x223d49(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x1eacd9){return(function(){var _0x192427=_0x571e,_0x3b3b01=_0x1eacd9,_0x59f978=_0x3b3b01['lib'],_0x2126d1=_0x59f978[_0x192427(0x2f3)],_0x4ea122=_0x3b3b01['algo'],_0x2cd667=[],_0xd15ab8=[],_0x1b88c4=[],_0x368e49=[],_0x53cd3f=[],_0x4faf59=[],_0xe0608=[],_0x5e35be=[],_0x29e88d=[],_0x1166c1=[];(function(){for(var _0x32f283=[],_0x4b1ad9=0x0;_0x4b1ad9<0x100;_0x4b1ad9++)_0x4b1ad9<0x80?_0x32f283[_0x4b1ad9]=_0x4b1ad9<<0x1:_0x32f283[_0x4b1ad9]=_0x4b1ad9<<0x1^0x11b;for(var _0x4ee321=0x0,_0x4f567f=0x0,_0x4b1ad9=0x0;_0x4b1ad9<0x100;_0x4b1ad9++){var _0x15f311=_0x4f567f^_0x4f567f<<0x1^_0x4f567f<<0x2^_0x4f567f<<0x3^_0x4f567f<<0x4;_0x15f311=_0x15f311>>>0x8^_0x15f311&0xff^0x63,_0x2cd667[_0x4ee321]=_0x15f311,_0xd15ab8[_0x15f311]=_0x4ee321;var _0x45b614=_0x32f283[_0x4ee321],_0x51dcf4=_0x32f283[_0x45b614],_0x3299d6=_0x32f283[_0x51dcf4],_0x172d89=_0x32f283[_0x15f311]*0x101^_0x15f311*0x1010100;_0x1b88c4[_0x4ee321]=_0x172d89<<0x18|_0x172d89>>>0x8,_0x368e49[_0x4ee321]=_0x172d89<<0x10|_0x172d89>>>0x10,_0x53cd3f[_0x4ee321]=_0x172d89<<0x8|_0x172d89>>>0x18,_0x4faf59[_0x4ee321]=_0x172d89;var _0x172d89=_0x3299d6*0x1010101^_0x51dcf4*0x10001^_0x45b614*0x101^_0x4ee321*0x1010100;_0xe0608[_0x15f311]=_0x172d89<<0x18|_0x172d89>>>0x8,_0x5e35be[_0x15f311]=_0x172d89<<0x10|_0x172d89>>>0x10,_0x29e88d[_0x15f311]=_0x172d89<<0x8|_0x172d89>>>0x18,_0x1166c1[_0x15f311]=_0x172d89,_0x4ee321?(_0x4ee321=_0x45b614^_0x32f283[_0x32f283[_0x32f283[_0x3299d6^_0x45b614]]],_0x4f567f^=_0x32f283[_0x32f283[_0x4f567f]]):_0x4ee321=_0x4f567f=0x1;}}());var _0x3c670d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x432755=_0x4ea122[_0x192427(0x85)]=_0x2126d1[_0x192427(0xa1)]({'_doReset':function(){var _0x379ea9=_0x192427,_0x302cbc;if(!(this[_0x379ea9(0xb6)]&&this['_keyPriorReset']===this[_0x379ea9(0x2c6)])){for(var _0x3869a1=this[_0x379ea9(0x275)]=this['_key'],_0x284f95=_0x3869a1[_0x379ea9(0x295)],_0x4707e5=_0x3869a1[_0x379ea9(0x302)]/0x4,_0x5da9ce=this[_0x379ea9(0xb6)]=_0x4707e5+0x6,_0x3b4261=(_0x5da9ce+0x1)*0x4,_0x53c196=this[_0x379ea9(0x3df)]=[],_0x753138=0x0;_0x753138<_0x3b4261;_0x753138++)_0x753138<_0x4707e5?_0x53c196[_0x753138]=_0x284f95[_0x753138]:(_0x302cbc=_0x53c196[_0x753138-0x1],_0x753138%_0x4707e5?_0x4707e5>0x6&&_0x753138%_0x4707e5==0x4&&(_0x302cbc=_0x2cd667[_0x302cbc>>>0x18]<<0x18|_0x2cd667[_0x302cbc>>>0x10&0xff]<<0x10|_0x2cd667[_0x302cbc>>>0x8&0xff]<<0x8|_0x2cd667[_0x302cbc&0xff]):(_0x302cbc=_0x302cbc<<0x8|_0x302cbc>>>0x18,_0x302cbc=_0x2cd667[_0x302cbc>>>0x18]<<0x18|_0x2cd667[_0x302cbc>>>0x10&0xff]<<0x10|_0x2cd667[_0x302cbc>>>0x8&0xff]<<0x8|_0x2cd667[_0x302cbc&0xff],_0x302cbc^=_0x3c670d[_0x753138/_0x4707e5|0x0]<<0x18),_0x53c196[_0x753138]=_0x53c196[_0x753138-_0x4707e5]^_0x302cbc);for(var _0x291877=this[_0x379ea9(0x20f)]=[],_0x4ec0a5=0x0;_0x4ec0a5<_0x3b4261;_0x4ec0a5++){var _0x753138=_0x3b4261-_0x4ec0a5;if(_0x4ec0a5%0x4)var _0x302cbc=_0x53c196[_0x753138];else var _0x302cbc=_0x53c196[_0x753138-0x4];_0x4ec0a5<0x4||_0x753138<=0x4?_0x291877[_0x4ec0a5]=_0x302cbc:_0x291877[_0x4ec0a5]=_0xe0608[_0x2cd667[_0x302cbc>>>0x18]]^_0x5e35be[_0x2cd667[_0x302cbc>>>0x10&0xff]]^_0x29e88d[_0x2cd667[_0x302cbc>>>0x8&0xff]]^_0x1166c1[_0x2cd667[_0x302cbc&0xff]];}}},'encryptBlock':function(_0x2390e4,_0x5b5549){var _0x842279=_0x192427;this[_0x842279(0x257)](_0x2390e4,_0x5b5549,this['_keySchedule'],_0x1b88c4,_0x368e49,_0x53cd3f,_0x4faf59,_0x2cd667);},'decryptBlock':function(_0x29a47e,_0x195b20){var _0x1ec01c=_0x192427,_0x18ecb=_0x29a47e[_0x195b20+0x1];_0x29a47e[_0x195b20+0x1]=_0x29a47e[_0x195b20+0x3],_0x29a47e[_0x195b20+0x3]=_0x18ecb,this[_0x1ec01c(0x257)](_0x29a47e,_0x195b20,this[_0x1ec01c(0x20f)],_0xe0608,_0x5e35be,_0x29e88d,_0x1166c1,_0xd15ab8);var _0x18ecb=_0x29a47e[_0x195b20+0x1];_0x29a47e[_0x195b20+0x1]=_0x29a47e[_0x195b20+0x3],_0x29a47e[_0x195b20+0x3]=_0x18ecb;},'_doCryptBlock':function(_0x3b280a,_0x2727cd,_0xbed9b5,_0x2dcba6,_0x68f9a0,_0x332973,_0x2b49f9,_0xa771fe){for(var _0x13c9ce=this['_nRounds'],_0x51ca79=_0x3b280a[_0x2727cd]^_0xbed9b5[0x0],_0x4addef=_0x3b280a[_0x2727cd+0x1]^_0xbed9b5[0x1],_0x422c5b=_0x3b280a[_0x2727cd+0x2]^_0xbed9b5[0x2],_0x1ea7d2=_0x3b280a[_0x2727cd+0x3]^_0xbed9b5[0x3],_0x20ae30=0x4,_0x192b89=0x1;_0x192b89<_0x13c9ce;_0x192b89++){var _0x195e2b=_0x2dcba6[_0x51ca79>>>0x18]^_0x68f9a0[_0x4addef>>>0x10&0xff]^_0x332973[_0x422c5b>>>0x8&0xff]^_0x2b49f9[_0x1ea7d2&0xff]^_0xbed9b5[_0x20ae30++],_0x2fcc4b=_0x2dcba6[_0x4addef>>>0x18]^_0x68f9a0[_0x422c5b>>>0x10&0xff]^_0x332973[_0x1ea7d2>>>0x8&0xff]^_0x2b49f9[_0x51ca79&0xff]^_0xbed9b5[_0x20ae30++],_0x4e8d64=_0x2dcba6[_0x422c5b>>>0x18]^_0x68f9a0[_0x1ea7d2>>>0x10&0xff]^_0x332973[_0x51ca79>>>0x8&0xff]^_0x2b49f9[_0x4addef&0xff]^_0xbed9b5[_0x20ae30++],_0x1a5aeb=_0x2dcba6[_0x1ea7d2>>>0x18]^_0x68f9a0[_0x51ca79>>>0x10&0xff]^_0x332973[_0x4addef>>>0x8&0xff]^_0x2b49f9[_0x422c5b&0xff]^_0xbed9b5[_0x20ae30++];_0x51ca79=_0x195e2b,_0x4addef=_0x2fcc4b,_0x422c5b=_0x4e8d64,_0x1ea7d2=_0x1a5aeb;}var _0x195e2b=(_0xa771fe[_0x51ca79>>>0x18]<<0x18|_0xa771fe[_0x4addef>>>0x10&0xff]<<0x10|_0xa771fe[_0x422c5b>>>0x8&0xff]<<0x8|_0xa771fe[_0x1ea7d2&0xff])^_0xbed9b5[_0x20ae30++],_0x2fcc4b=(_0xa771fe[_0x4addef>>>0x18]<<0x18|_0xa771fe[_0x422c5b>>>0x10&0xff]<<0x10|_0xa771fe[_0x1ea7d2>>>0x8&0xff]<<0x8|_0xa771fe[_0x51ca79&0xff])^_0xbed9b5[_0x20ae30++],_0x4e8d64=(_0xa771fe[_0x422c5b>>>0x18]<<0x18|_0xa771fe[_0x1ea7d2>>>0x10&0xff]<<0x10|_0xa771fe[_0x51ca79>>>0x8&0xff]<<0x8|_0xa771fe[_0x4addef&0xff])^_0xbed9b5[_0x20ae30++],_0x1a5aeb=(_0xa771fe[_0x1ea7d2>>>0x18]<<0x18|_0xa771fe[_0x51ca79>>>0x10&0xff]<<0x10|_0xa771fe[_0x4addef>>>0x8&0xff]<<0x8|_0xa771fe[_0x422c5b&0xff])^_0xbed9b5[_0x20ae30++];_0x3b280a[_0x2727cd]=_0x195e2b,_0x3b280a[_0x2727cd+0x1]=_0x2fcc4b,_0x3b280a[_0x2727cd+0x2]=_0x4e8d64,_0x3b280a[_0x2727cd+0x3]=_0x1a5aeb;},'keySize':0x100/0x20});_0x3b3b01[_0x192427(0x85)]=_0x2126d1[_0x192427(0x1d4)](_0x432755);}()),_0x1eacd9['AES'];}));}(Ie)),Ie[_0xcaefa3(0x1a4)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x4dc0f1(0x1a4)],nt;function $i(){var _0x1a44e5=_0x4dc0f1;return nt||(nt=0x1,function(_0x1bb3bd,_0x1c6318){(function(_0x509493,_0x14410d){var _0x483e28=_0x571e;_0x1bb3bd[_0x483e28(0x1a4)]=_0x14410d(Z());}(ki,function(_0xd65392){var _0x1d7604=_0x571e;return _0xd65392[_0x1d7604(0x2cb)][_0x1d7604(0x1d0)];}));}(Oe)),Oe[_0x1a44e5(0x1a4)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x4dc0f1(0x1a4)],st;function Fi(){var _0x388364=_0x4dc0f1;return st||(st=0x1,function(_0x4666ab,_0x554f5f){(function(_0xdcdc95,_0x38ae9d){var _0x4508ad=_0x571e;_0x4666ab[_0x4508ad(0x1a4)]=_0x38ae9d(Z());}(Bi,function(_0x5382e5){var _0x2def8c=_0x571e;return(function(){var _0x5041d1=_0x571e;if(typeof ArrayBuffer==_0x5041d1(0x1ec)){var _0xce6103=_0x5382e5,_0x571afe=_0xce6103['lib'],_0x53513f=_0x571afe['WordArray'],_0x531277=_0x53513f['init'],_0x27c616=_0x53513f[_0x5041d1(0x128)]=function(_0x4259c6){var _0x351ca6=_0x5041d1;if(_0x4259c6 instanceof ArrayBuffer&&(_0x4259c6=new Uint8Array(_0x4259c6)),(_0x4259c6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4259c6 instanceof Uint8ClampedArray||_0x4259c6 instanceof Int16Array||_0x4259c6 instanceof Uint16Array||_0x4259c6 instanceof Int32Array||_0x4259c6 instanceof Uint32Array||_0x4259c6 instanceof Float32Array||_0x4259c6 instanceof Float64Array)&&(_0x4259c6=new Uint8Array(_0x4259c6[_0x351ca6(0x231)],_0x4259c6[_0x351ca6(0x307)],_0x4259c6[_0x351ca6(0x2ff)])),_0x4259c6 instanceof Uint8Array){for(var _0x28c853=_0x4259c6[_0x351ca6(0x2ff)],_0x28273e=[],_0x10b582=0x0;_0x10b582<_0x28c853;_0x10b582++)_0x28273e[_0x10b582>>>0x2]|=_0x4259c6[_0x10b582]<<0x18-_0x10b582%0x4*0x8;_0x531277['call'](this,_0x28273e,_0x28c853);}else _0x531277[_0x351ca6(0x333)](this,arguments);};_0x27c616[_0x5041d1(0x10d)]=_0x53513f;}}()),_0x5382e5['lib'][_0x2def8c(0x3a6)];}));}(be)),be[_0x388364(0x1a4)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){var _0x3dba06=_0x4dc0f1;return rt||(rt=0x1,function(_0x1b2f18,_0xff2c9){(function(_0x2dd473,_0xbf429b,_0x37f142){var _0x4bbe4d=_0x571e;_0x1b2f18[_0x4bbe4d(0x1a4)]=_0xbf429b(Z(),Ot());}(Gi,function(_0x4e4ebf){var _0x395823=_0x571e;return _0x4e4ebf['pad'][_0x395823(0x359)]={'pad':function(){},'unpad':function(){}},_0x4e4ebf[_0x395823(0x8f)]['NoPadding'];}));}(Re)),Re[_0x3dba06(0x1a4)];}var Ki=Yi();const qi=de(Ki);function zi(_0x478525,_0x52c5ec){var _0x2ef4dd=_0x4dc0f1;const _0x2ec72c=_0x52c5ec-_0x478525[_0x2ef4dd(0x183)]%_0x52c5ec,_0x2e725f=String[_0x2ef4dd(0x2f5)](_0x2ec72c)[_0x2ef4dd(0x187)](_0x2ec72c);return _0x478525+_0x2e725f;}function Xi(_0x3cbedc,_0x3c4018){var _0x5e4348=_0x4dc0f1;const _0x510a1b=Wi['random'](0x10),_0x561855=zi(_0x3cbedc,0x10),_0x5635fe=wi['encrypt'](ji[_0x5e4348(0x87)](_0x561855),it[_0x5e4348(0x87)](_0x3c4018),{'iv':_0x510a1b,'padding':qi});return _0x510a1b['concat'](_0x5635fe[_0x5e4348(0x190)])[_0x5e4348(0x2df)](it);}function Ji(){var _0x44d53f=_0x4dc0f1;const _0x1f3ac8=Dt[_0x44d53f(0x35d)]()[_0x44d53f(0x118)];if(typeof window<'u'&&typeof window[_0x44d53f(0x142)]<'u'&&_0x1f3ac8){const _0x124110={'time':Math[_0x44d53f(0x11c)](Date[_0x44d53f(0x289)]()/0x3e8),'domain':location[_0x44d53f(0x18d)]};return Xi(JSON[_0x44d53f(0x164)](_0x124110),_0x1f3ac8);}}var Zi=Object[_0x4dc0f1(0x1b3)],Qi=(_0x53adc8,_0x17e0ca,_0x3dd334,_0x29ba73)=>{for(var _0x2bb9e6=_0x29ba73>0x1?void 0x0:_0x29ba73?Zi(_0x17e0ca,_0x3dd334):_0x17e0ca,_0xb10bdd=_0x53adc8['length']-0x1,_0x7a5e31;_0xb10bdd>=0x0;_0xb10bdd--)(_0x7a5e31=_0x53adc8[_0xb10bdd])&&(_0x2bb9e6=_0x7a5e31(_0x2bb9e6)||_0x2bb9e6);return _0x2bb9e6;},en=(_0x1fad20,_0x251935)=>(_0x50f8ca,_0x57d00f)=>_0x251935(_0x50f8ca,_0x57d00f,_0x1fad20);let De=class{constructor(_0x5d5914){var _0x28ecc5=_0x4dc0f1;this[_0x28ecc5(0x312)]=_0x5d5914,this[_0x28ecc5(0x146)]();}[_0x4dc0f1(0x146)](){var _0x2fc029=_0x4dc0f1;this['_httpService'][_0x2fc029(0x345)]({'interceptor':(_0x39f7fc,_0x462d20)=>{var _0x1fa7f0=_0x2fc029;const _0x2e4aeb=_0x39f7fc[_0x1fa7f0(0x40c)],_0x5a9c6c=Ji();return _0x5a9c6c&&_0x2e4aeb['set'](_0x1fa7f0(0x2af),_0x5a9c6c),_0x462d20(_0x39f7fc);}});}};De=Qi([en(0x0,o[_0x4dc0f1(0x389)](K[_0x4dc0f1(0x2f4)]))],De);var tn=Object[_0x4dc0f1(0x1b3)],nn=(_0x1404e7,_0x232866,_0x4539fd,_0x50bad9)=>{var _0x42ae8f=_0x4dc0f1;for(var _0x296d51=_0x50bad9>0x1?void 0x0:_0x50bad9?tn(_0x232866,_0x4539fd):_0x232866,_0x24493a=_0x1404e7[_0x42ae8f(0x183)]-0x1,_0x264477;_0x24493a>=0x0;_0x24493a--)(_0x264477=_0x1404e7[_0x24493a])&&(_0x296d51=_0x264477(_0x296d51)||_0x296d51);return _0x296d51;},Le=(_0x3809f7,_0x2c6d4f)=>(_0x260f0a,_0x46e018)=>_0x2c6d4f(_0x260f0a,_0x46e018,_0x3809f7);exports[_0x4dc0f1(0x2b8)]=class extends o['RxDisposable']{constructor(_0x1d577a,_0x544fbb,_0x53c299){var _0x1f650b=_0x4dc0f1;super(),A(this,_0x1f650b(0x2c4),new j['BehaviorSubject'](null)),A(this,_0x1f650b(0x358),this[_0x1f650b(0x2c4)][_0x1f650b(0x29c)]()),(this['_logService']=_0x1d577a,this[_0x1f650b(0x9e)]=_0x544fbb,this['_localCacheService']=_0x53c299);}async[_0x4dc0f1(0x163)](_0x2c4ac2,_0x4c8617,_0x1fb3bf){var _0x3f244c=_0x4dc0f1;this['_unitInfo$'][_0x3f244c(0x373)]({'unitId':_0x2c4ac2,'type':_0x4c8617});let _0x2910c2=null;switch(_0x4c8617){case X['UNIVER_SHEET']:{_0x2910c2=await this[_0x3f244c(0x9e)][_0x3f244c(0x25e)](_0x2c4ac2,_0x1fb3bf);break;}case X['UNIVER_DOC']:{_0x2910c2=await this[_0x3f244c(0x9e)][_0x3f244c(0x301)](_0x2c4ac2,_0x1fb3bf);break;}default:{this[_0x3f244c(0x7c)][_0x3f244c(0x1d3)](_0x3f244c(0x18b),_0x3f244c(0x38b));break;}}return _0x2910c2;}async[_0x4dc0f1(0x2ac)](_0x546df1,_0x15703a,_0x5e201e){var _0xfeba4a=_0x4dc0f1,_0x1f3e82;this[_0xfeba4a(0x2c4)][_0xfeba4a(0x373)]({'unitId':_0x546df1,'type':_0x15703a,'subUnitId':_0x5e201e});let _0x1b6308=0x0;const _0x59567e=await((_0x1f3e82=this[_0xfeba4a(0x18e)])==null?void 0x0:_0x1f3e82[_0xfeba4a(0x285)](_0x546df1));return _0x59567e&&(_0x59567e[_0xfeba4a(0x3a8)]||_0x59567e[_0xfeba4a(0xdb)]['length']!==0x0)&&(_0x1b6308=_0x59567e['rev']),_0x1b6308===0x0&&this[_0xfeba4a(0x7c)][_0xfeba4a(0x350)](_0xfeba4a(0x18b),_0xfeba4a(0x276)),this[_0xfeba4a(0x163)](_0x546df1,_0x15703a,_0x1b6308);}},exports[_0x4dc0f1(0x2b8)]=nn([Le(0x0,o[_0x4dc0f1(0x13c)]),Le(0x1,o[_0x4dc0f1(0x389)](E[_0x4dc0f1(0x296)])),Le(0x2,o[_0x4dc0f1(0xaa)](q))],exports[_0x4dc0f1(0x2b8)]);var sn=Object[_0x4dc0f1(0x1b3)],rn=(_0xfac332,_0x1454eb,_0x4a24e5,_0x5591eb)=>{var _0xedff24=_0x4dc0f1;for(var _0x4b7082=_0x5591eb>0x1?void 0x0:_0x5591eb?sn(_0x1454eb,_0x4a24e5):_0x1454eb,_0x40796c=_0xfac332[_0xedff24(0x183)]-0x1,_0x5e9cc5;_0x40796c>=0x0;_0x40796c--)(_0x5e9cc5=_0xfac332[_0x40796c])&&(_0x4b7082=_0x5e9cc5(_0x4b7082)||_0x4b7082);return _0x4b7082;},Me=(_0x2e7c24,_0x285b35)=>(_0x578273,_0x565d9c)=>_0x285b35(_0x578273,_0x565d9c,_0x2e7c24);const an=[_0x4dc0f1(0x2e3),_0x4dc0f1(0x270),'image/jpg',_0x4dc0f1(0x3aa),'image/bmp'],on=0x5*0x400*0x400,cn=_0x4dc0f1(0x378),_n=_0x4dc0f1(0x10a);exports[_0x4dc0f1(0x15b)]=class{constructor(_0x21aadb,_0xd28a8c,_0x4357d6){var _0x83ba61=_0x4dc0f1;A(this,_0x83ba61(0x159),0x0),A(this,_0x83ba61(0x1ba),new j[(_0x83ba61(0x3e3))]()),A(this,_0x83ba61(0x18a),this['_change$']),A(this,_0x83ba61(0x181),new Map()),(this[_0x83ba61(0x312)]=_0x21aadb,this[_0x83ba61(0x1de)]=_0xd28a8c,this[_0x83ba61(0xc8)]=_0x4357d6);}[_0x4dc0f1(0x376)](_0x20027f){var _0x3b8363=_0x4dc0f1;this[_0x3b8363(0x159)]=_0x20027f,this[_0x3b8363(0x1ba)]['next'](_0x20027f);}['getImageSourceCache'](_0x4176fa,_0x552d79){var _0x3eeccd=_0x4dc0f1;if(_0x552d79===z[_0x3eeccd(0x223)][_0x3eeccd(0x1d1)]){const _0x33564d=new Image();return _0x33564d[_0x3eeccd(0x8e)]=_0x4176fa,_0x33564d;}return this[_0x3eeccd(0x181)][_0x3eeccd(0x176)](_0x4176fa);}[_0x4dc0f1(0x21d)](_0x96629d,_0x5a8974,_0x27bf86){var _0x486031=_0x4dc0f1;_0x5a8974===z[_0x486031(0x223)][_0x486031(0x1d1)]||_0x27bf86==null||this[_0x486031(0x181)][_0x486031(0x2c7)](_0x96629d,_0x27bf86);}async[_0x4dc0f1(0x13a)](_0x5a2b55){var _0x1bd508=_0x4dc0f1;try{const _0x2d766c=this[_0x1bd508(0x129)](this['_getSignURL'](),''+_0x5a2b55),_0x1b441b=(await this['_httpService'][_0x1bd508(0x176)](_0x2d766c))[_0x1bd508(0x157)];if(_0x1b441b[_0x1bd508(0x1d3)]&&_0x1b441b['error'][_0x1bd508(0x3b7)]===vt['OK']){const _0x4d169f=o[_0x1bd508(0x28f)](_0x1b441b['url'],this[_0x1bd508(0x101)]());return Promise[_0x1bd508(0x246)](_0x4d169f);}return Promise['reject'](_0x1b441b[_0x1bd508(0x1d3)]);}catch(_0x56d2fc){return Promise['reject'](_0x56d2fc);}}async[_0x4dc0f1(0x36e)](_0xe53c62){var _0x3eb20e=_0x4dc0f1;let _0x2cead9='';if(!an[_0x3eb20e(0x174)](_0xe53c62[_0x3eb20e(0x2a3)]))return this[_0x3eb20e(0x1d7)](),Promise[_0x3eb20e(0x83)](new Error(z[_0x3eb20e(0x344)]['ERROR_IMAGE_TYPE']));if(_0xe53c62[_0x3eb20e(0x415)]>on)return this[_0x3eb20e(0x1d7)](),Promise[_0x3eb20e(0x83)](new Error(z['ImageUploadStatusType'][_0x3eb20e(0x29a)]));try{const _0x518a53=new FormData();_0x518a53[_0x3eb20e(0xd3)](_0x3eb20e(0xe0),_0xe53c62);const _0x1ea9b1=this[_0x3eb20e(0xc8)][_0x3eb20e(0x3bc)](),_0x2a424e=_0x1ea9b1==null?void 0x0:_0x1ea9b1[_0x3eb20e(0x31a)]();if(!_0x2a424e)throw new Error('unitId\x20is\x20not\x20found');const _0x5342af=this[_0x3eb20e(0x201)]()+_0x3eb20e(0x93)+_0xe53c62[_0x3eb20e(0x415)][_0x3eb20e(0x2df)]()+'&source='+dt[_0x3eb20e(0x15d)]+_0x3eb20e(0x2ad)+encodeURIComponent(_0x2a424e),_0x33eea0={'body':_0x518a53},_0xbfbdae=(await this[_0x3eb20e(0x312)][_0x3eb20e(0x1f3)](_0x5342af,_0x33eea0))[_0x3eb20e(0x157)];if(typeof _0xbfbdae[_0x3eb20e(0xc4)]!='string')return this[_0x3eb20e(0x1d7)](),Promise[_0x3eb20e(0x83)](new Error(z[_0x3eb20e(0x344)][_0x3eb20e(0x180)]));_0x2cead9=_0xbfbdae[_0x3eb20e(0xc4)];}catch{return this[_0x3eb20e(0x1d7)](),Promise[_0x3eb20e(0x83)](new Error(z[_0x3eb20e(0x344)][_0x3eb20e(0x180)]));}return new Promise((_0x21ee5f,_0xa36eda)=>{var _0x77895d=_0x3eb20e;const _0x467cbb=new FileReader();_0x467cbb['readAsDataURL'](_0xe53c62),_0x467cbb[_0x77895d(0xe5)]=_0xa53036=>{var _0x22bef8=_0x77895d,_0x2f5cfd;const _0xc36fce=(_0x2f5cfd=_0xa53036[_0x22bef8(0x152)])==null?void 0x0:_0x2f5cfd['result'];if(_0xc36fce==null){this[_0x22bef8(0x1d7)](),_0xa36eda(new Error(z[_0x22bef8(0x344)]['ERROR_IMAGE']));return;}const _0x546c38=o['generateRandomId'](0x6);_0x21ee5f({'imageId':_0x546c38,'imageSourceType':z[_0x22bef8(0x223)]['UUID'],'source':_0x2cead9,'base64Cache':_0xc36fce,'status':z['ImageUploadStatusType']['SUCCUSS']}),this[_0x22bef8(0x1d7)]();};});}[_0x4dc0f1(0x201)](){var _0xca87e7=_0x4dc0f1,_0x26a027;const _0xd149ba=this[_0xca87e7(0x1de)]['getConfig'](Y);return(_0x26a027=_0xd149ba==null?void 0x0:_0xd149ba['uploadFileServerUrl'])!=null?_0x26a027:cn;}['_getSignURL'](){var _0x1cb276=_0x4dc0f1,_0x828915;const _0x1eabe2=this['_configService']['getConfig'](Y);return(_0x828915=_0x1eabe2==null?void 0x0:_0x1eabe2[_0x1cb276(0x32a)])!=null?_0x828915:_n;}[_0x4dc0f1(0x101)](){var _0x11637e=_0x4dc0f1,_0x1dc89e;const _0x4cc9a4=this[_0x11637e(0x1de)][_0x11637e(0x1bc)](Y);return(_0x1dc89e=_0x4cc9a4==null?void 0x0:_0x4cc9a4[_0x11637e(0x84)])!=null?_0x1dc89e:location[_0x11637e(0x1a9)];}[_0x4dc0f1(0x129)](_0x13872b,_0x15c0c){var _0x5b4c64=_0x4dc0f1;return _0x13872b[_0x5b4c64(0x219)]('{fileID}',_0x15c0c);}[_0x4dc0f1(0x1d7)](){var _0x410b27=_0x4dc0f1;this[_0x410b27(0x159)]-=0x1,this[_0x410b27(0x1ba)][_0x410b27(0x373)](this[_0x410b27(0x159)]);}},exports[_0x4dc0f1(0x15b)]=rn([Me(0x0,o['Inject'](K[_0x4dc0f1(0x2f4)])),Me(0x1,o[_0x4dc0f1(0x2a1)]),Me(0x2,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x216)]))],exports['CollaborationImageIoService']);var hn=Object[_0x4dc0f1(0x1b3)],ln=(_0x5702d4,_0x4b3dd3,_0xa61375,_0x4e03e0)=>{var _0x3b9cdc=_0x4dc0f1;for(var _0x5a95dc=_0x4e03e0>0x1?void 0x0:_0x4e03e0?hn(_0x4b3dd3,_0xa61375):_0x4b3dd3,_0x3596cb=_0x5702d4[_0x3b9cdc(0x183)]-0x1,_0x435caa;_0x3596cb>=0x0;_0x3596cb--)(_0x435caa=_0x5702d4[_0x3596cb])&&(_0x5a95dc=_0x435caa(_0x5a95dc)||_0x5a95dc);return _0x5a95dc;},at=(_0x10ca12,_0x4d1407)=>(_0x418748,_0x42bffb)=>_0x4d1407(_0x418748,_0x42bffb,_0x10ca12);const un=_0x4dc0f1(0x218);exports[_0x4dc0f1(0x353)]=class{constructor(_0x5823eb,_0x5049cd){var _0x1e8fb9=_0x4dc0f1;this[_0x1e8fb9(0x1de)]=_0x5823eb,this['_HTTPService']=_0x5049cd;}['_getAPIPrefixPath'](){var _0x56b414=_0x4dc0f1,_0x36ba51;const _0x4940bd=this[_0x56b414(0x1de)][_0x56b414(0x1bc)](Y);return(_0x36ba51=_0x4940bd==null?void 0x0:_0x4940bd['authzUrl'])!=null?_0x36ba51:un;}async[_0x4dc0f1(0x3f7)](_0x5d13f4){var _0x2c99d3=_0x4dc0f1;const _0x30fbea=this[_0x2c99d3(0x13d)]()+_0x2c99d3(0xe9);return{'list':[{'title':_0x2c99d3(0x193),'mentions':(await this['_HTTPService'][_0x2c99d3(0x176)](_0x30fbea,{'params':{'objectID':_0x5d13f4[_0x2c99d3(0xb9)],'unitID':_0x5d13f4[_0x2c99d3(0xb9)]}}))['body'][_0x2c99d3(0x14d)][_0x2c99d3(0xfc)](_0x9f0c66=>({'objectId':_0x9f0c66['id'],'name':_0x9f0c66['subject'][_0x2c99d3(0xba)],'metadata':{'icon':_0x9f0c66['subject']['avatar']},'label':_0x9f0c66[_0x2c99d3(0x360)]['name'],'objectType':o[_0x2c99d3(0x115)][_0x2c99d3(0x3ec)]})),'metadata':{},'type':o[_0x2c99d3(0x115)]['PERSON']}]};}},exports[_0x4dc0f1(0x353)]=ln([at(0x0,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x2a1)])),at(0x1,o[_0x4dc0f1(0x389)](K[_0x4dc0f1(0x2f4)]))],exports[_0x4dc0f1(0x353)]);var vn=Object['getOwnPropertyDescriptor'],dn=(_0xc2249f,_0x4d0fab,_0x10069f,_0x2f051a)=>{for(var _0x54ddb9=_0x2f051a>0x1?void 0x0:_0x2f051a?vn(_0x4d0fab,_0x10069f):_0x4d0fab,_0x43f7ea=_0xc2249f['length']-0x1,_0x2eb7ce;_0x43f7ea>=0x0;_0x43f7ea--)(_0x2eb7ce=_0xc2249f[_0x43f7ea])&&(_0x54ddb9=_0x2eb7ce(_0x54ddb9)||_0x54ddb9);return _0x54ddb9;},le=(_0x725c9,_0x53d8dc)=>(_0x3f198c,_0x521877)=>_0x53d8dc(_0x3f198c,_0x521877,_0x725c9);let ye=class extends o['RxDisposable']{constructor(_0x47c4f3,_0x1adf5a,_0x3dca44,_0x2c6475,_0x4d202d){var _0x18120a=_0x4dc0f1;super(),this['_injector']=_0x47c4f3,this[_0x18120a(0xc8)]=_0x1adf5a,this['_permissionService']=_0x3dca44,this[_0x18120a(0x357)]=_0x2c6475,this[_0x18120a(0x2a5)]=_0x4d202d,this[_0x18120a(0x135)](),this[_0x18120a(0x34c)]();}[_0x4dc0f1(0x34c)](){var _0x114f58=_0x4dc0f1;const _0x1c0b35=async _0x9b4f7a=>{var _0x361d5b=_0x571e;(await this['_collaborationSessionService'][_0x361d5b(0x127)](_0x9b4f7a))[_0x361d5b(0x2c5)][_0x361d5b(0x1cc)](V['filter'](_0x349dfb=>_0x349dfb['eventID']===E['CollaborationEvent'][_0x361d5b(0x26d)]),V[_0x361d5b(0x2d2)](this[_0x361d5b(0x107)]))[_0x361d5b(0x1a1)](_0x52c7cf=>{var _0x2a204b=_0x361d5b;const _0x3f3c4a=_0x52c7cf,{reason:_0x56c3ae}=_0x3f3c4a['data'];this[_0x2a204b(0x2a5)][_0x2a204b(0x27e)]({'id':J[_0x2a204b(0x294)],'data':_0x56c3ae}),this[_0x2a204b(0x211)]['updatePermissionPoint'](new Q[(_0x2a204b(0x228))](_0x9b4f7a)['id'],!0x1),this[_0x2a204b(0x357)][_0x2a204b(0xaf)](_0x9b4f7a);});};j[_0x114f58(0x382)](this[_0x114f58(0xc8)][_0x114f58(0x196)](o['UniverInstanceType'][_0x114f58(0x30a)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](o['UniverInstanceType']['UNIVER_DOC']))[_0x114f58(0x1cc)](V[_0x114f58(0xfc)](_0x346bf5=>_0x346bf5[_0x114f58(0x31a)]()),V[_0x114f58(0x28e)](_0x242a0d=>!o[_0x114f58(0x170)](_0x242a0d)),V[_0x114f58(0x2d2)](this[_0x114f58(0x107)]))[_0x114f58(0x1a1)](_0x143635=>{_0x1c0b35(_0x143635);});}[_0x4dc0f1(0x135)](){var _0x54dad8=_0x4dc0f1;const _0x2f231e=async _0x1125c9=>{var _0x4211f2=_0x571e;const _0x44af18=await this[_0x4211f2(0x357)][_0x4211f2(0x127)](_0x1125c9),_0x2d176e=this[_0x4211f2(0x133)][_0x4211f2(0x176)](Q[_0x4211f2(0x2f1)]);_0x44af18[_0x4211f2(0x2c5)]['pipe'](V[_0x4211f2(0x28e)](_0x1a5f08=>_0x1a5f08[_0x4211f2(0x1bf)]===E[_0x4211f2(0x15c)][_0x4211f2(0x86)]),V['takeUntil'](this[_0x4211f2(0x107)]))[_0x4211f2(0x1a1)](_0x583ef8=>{var _0x51e843=_0x4211f2;const _0x190c0a=_0x583ef8,{objectId:_0x3c489e}=_0x190c0a[_0x51e843(0xda)];_0x3c489e===_0x1125c9?_0x2d176e[_0x51e843(0x413)](_0x1125c9):_0x2d176e[_0x51e843(0x319)](_0x1125c9,_0x3c489e);});};j['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](o[_0x54dad8(0x3e8)][_0x54dad8(0x30a)]))[_0x54dad8(0x1cc)](V[_0x54dad8(0xfc)](_0x2e1aba=>_0x2e1aba[_0x54dad8(0x31a)]()),V[_0x54dad8(0x28e)](_0x2ac62a=>!o[_0x54dad8(0x170)](_0x2ac62a)),V[_0x54dad8(0x2d2)](this[_0x54dad8(0x107)]))['subscribe'](_0x2a9bbe=>{_0x2f231e(_0x2a9bbe);});}};ye=dn([le(0x0,o['Inject'](o[_0x4dc0f1(0x1e2)])),le(0x1,o[_0x4dc0f1(0x216)]),le(0x2,o['IPermissionService']),le(0x3,o[_0x4dc0f1(0x389)](exports[_0x4dc0f1(0x3dd)])),le(0x4,o[_0x4dc0f1(0x389)](ee))],ye);var Sn=Object[_0x4dc0f1(0x1b3)],In=(_0xe40e43,_0x51236d,_0x5210ce,_0x538370)=>{for(var _0x3117ab=_0x538370>0x1?void 0x0:_0x538370?Sn(_0x51236d,_0x5210ce):_0x51236d,_0x1fac78=_0xe40e43['length']-0x1,_0x20f7d7;_0x1fac78>=0x0;_0x1fac78--)(_0x20f7d7=_0xe40e43[_0x1fac78])&&(_0x3117ab=_0x20f7d7(_0x3117ab)||_0x3117ab);return _0x3117ab;},ot=(_0x2056d3,_0x2ad545)=>(_0x5c8d60,_0x207af6)=>_0x2ad545(_0x5c8d60,_0x207af6,_0x2056d3);exports[_0x4dc0f1(0x204)]=class{constructor(_0x1bfc8a,_0x379736){var _0xedf7a2=_0x4dc0f1;this[_0xedf7a2(0x1de)]=_0x1bfc8a,this['_httpService']=_0x379736;}async[_0x4dc0f1(0xe7)](_0x14ba90,_0x29df2f){var _0x44e604=_0x4dc0f1,_0x40e76f;const {unitID:_0x537379,type:_0xf8c685,revision:_0x167be7=0x0}=_0x29df2f,_0x22fdd6=this[_0x44e604(0x175)]()+'/'+_0xf8c685+_0x44e604(0x1ab)+_0x537379+_0x44e604(0x1e4)+_0x167be7,_0xe2d1b5=(await this[_0x44e604(0x312)][_0x44e604(0x176)](_0x22fdd6))['body'],_0x1015c7=(_0x40e76f=_0xe2d1b5['snapshot'])==null?void 0x0:_0x40e76f[_0x44e604(0x144)];if(_0x1015c7){const _0x5b1baa=_0x1015c7==null?void 0x0:_0x1015c7['originalMeta'],_0x7f5ee7=E[_0x44e604(0x1ad)][_0x44e604(0x27b)](E[_0x44e604(0x148)](_0x5b1baa));_0x1015c7['originalMeta']=_0x7f5ee7,Object['entries'](_0x1015c7[_0x44e604(0x2b3)])['forEach'](([,_0x1e255f])=>{var _0x3d0a76=_0x44e604;const _0x11b93c=_0x1e255f['originalMeta'],_0x139694=E[_0x3d0a76(0x1ad)]['encode'](E[_0x3d0a76(0x148)](_0x11b93c));_0x1e255f['originalMeta']=_0x139694;});}return _0xe2d1b5;}async[_0x4dc0f1(0x32d)](_0x18b8ee,_0x2ce9a5){var _0x970b18=_0x4dc0f1;const {unitID:_0x1be76c,type:_0x2aae5d,blockID:_0x383652}=_0x2ce9a5,_0x5123f5=this['_getAPIPrefix']()+'/'+_0x2aae5d+_0x970b18(0x1ab)+_0x1be76c+'/block/'+_0x383652;return(await this[_0x970b18(0x312)]['get'](_0x5123f5))[_0x970b18(0x157)];}async[_0x4dc0f1(0x321)](_0x2e258d,_0x58c51d){var _0xa3c3e9=_0x4dc0f1;const {unitID:_0x5536b7,type:_0x2c52b9,blockID:_0x4a51d2}=_0x58c51d,_0x5a2e7e=this[_0xa3c3e9(0x287)]()+_0xa3c3e9(0x3d5)+_0x2c52b9+_0xa3c3e9(0x1ab)+_0x5536b7+_0xa3c3e9(0x3d5)+_0x4a51d2;return(await this[_0xa3c3e9(0x312)]['get'](_0x5a2e7e))[_0xa3c3e9(0x157)];}async[_0x4dc0f1(0x393)](_0x5a1285,_0x4ae238){var _0x21f137=_0x4dc0f1;const {unitID:_0x130e57,type:_0x552c0f,from:_0x26e07a,to:_0x38d602}=_0x4ae238,_0x3641a1=this['_getAPIPrefix']()+'/'+_0x552c0f+_0x21f137(0x1ab)+_0x130e57+_0x21f137(0x292)+_0x26e07a+'&to='+_0x38d602;return(await this[_0x21f137(0x312)][_0x21f137(0x176)](_0x3641a1))[_0x21f137(0x157)];}[_0x4dc0f1(0x175)](){var _0x3f502e=_0x4dc0f1,_0x4d9730;return(_0x4d9730=this['_configService'][_0x3f502e(0x1bc)](Ut))!=null?_0x4d9730:this[_0x3f502e(0x287)]();}['_getAPIPrefix'](){var _0xadd53d=_0x4dc0f1,_0x3cfd8f;const _0xac69db=this[_0xadd53d(0x1de)][_0xadd53d(0x1bc)](Y);return(_0x3cfd8f=_0xac69db==null?void 0x0:_0xac69db[_0xadd53d(0x220)])!=null?_0x3cfd8f:yt;}async[_0x4dc0f1(0x186)](_0x3b22e6,_0x16bee8){var _0x1bff8a=_0x4dc0f1;const _0x19fdb8='/universer-api/snapshot/'+_0x16bee8['type']+'/unit/'+_0x16bee8[_0x1bff8a(0x237)]+_0x1bff8a(0x25b);return(await this[_0x1bff8a(0x312)][_0x1bff8a(0x176)](_0x19fdb8,{'params':{'resourceId':JSON[_0x1bff8a(0x164)](_0x16bee8[_0x1bff8a(0xa6)])}}))[_0x1bff8a(0x157)];}[_0x4dc0f1(0x3e4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4dc0f1(0x235)](){var _0x293341=_0x4dc0f1;throw new Error(_0x293341(0x197));}[_0x4dc0f1(0x238)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4dc0f1(0x1d6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4dc0f1(0x18c)](){var _0x4ab2a5=_0x4dc0f1;throw new Error(_0x4ab2a5(0x197));}[_0x4dc0f1(0x414)](){var _0x2b3dde=_0x4dc0f1;throw new Error(_0x2b3dde(0x197));}},exports[_0x4dc0f1(0x204)]=In([ot(0x0,o[_0x4dc0f1(0x2a1)]),ot(0x1,o[_0x4dc0f1(0x389)](K[_0x4dc0f1(0x2f4)]))],exports[_0x4dc0f1(0x204)]);var fn=Object['getOwnPropertyDescriptor'],En=(_0x2fb24a,_0x401c95,_0x3c12a6,_0x2a99a3)=>{for(var _0x5353d9=_0x2a99a3>0x1?void 0x0:_0x2a99a3?fn(_0x401c95,_0x3c12a6):_0x401c95,_0x2fc0fa=_0x2fb24a['length']-0x1,_0x498752;_0x2fc0fa>=0x0;_0x2fc0fa--)(_0x498752=_0x2fb24a[_0x2fc0fa])&&(_0x5353d9=_0x498752(_0x5353d9)||_0x5353d9);return _0x5353d9;},ue=(_0x2b3be2,_0x3ba9c0)=>(_0x226b81,_0x4498c6)=>_0x3ba9c0(_0x226b81,_0x4498c6,_0x2b3be2);exports[_0x4dc0f1(0x3ed)]=class extends o[_0x4dc0f1(0x17f)]{constructor(_0x434bf7,_0x4bfac6,_0xfe157,_0x4fcb28,_0x1078a9){var _0x830d35=_0x4dc0f1;super(_0x434bf7,_0x4bfac6,_0xfe157),this[_0x830d35(0x38c)]=_0x4fcb28,this[_0x830d35(0x7c)]=_0x1078a9;}[_0x4dc0f1(0x16e)](_0x125b65,_0x2f4472){var _0x4dbd3b=_0x4dc0f1;const _0xa940a0=this['_getUndoStack'](_0x125b65);if(_0xa940a0)try{const _0x2058de=this[_0x4dbd3b(0x249)](_0xa940a0,_0x2f4472);this['_substituteUndoStack'](_0x125b65,_0x2058de);}catch(_0x44340d){this['_logService']['error'](_0x4dbd3b(0xf2),_0x44340d),this[_0x4dbd3b(0xe4)](_0x125b65);}const _0x18fb03=this[_0x4dbd3b(0x29d)](_0x125b65);if(_0x18fb03)try{const _0x2646de=this[_0x4dbd3b(0x249)](_0x18fb03,_0x2f4472);this[_0x4dbd3b(0x343)](_0x125b65,_0x2646de);}catch(_0x5c43b2){this[_0x4dbd3b(0x7c)][_0x4dbd3b(0x1d3)](_0x5c43b2),this['_clearRedo'](_0x125b65);}}[_0x4dc0f1(0xe4)](_0x4803a3){var _0x3190a6=_0x4dc0f1;const _0x3a56ed=this[_0x3190a6(0x162)](_0x4803a3);_0x3a56ed&&(_0x3a56ed['length']=0x0,this[_0x3190a6(0x33a)]());}[_0x4dc0f1(0x1c5)](_0x1d2247){var _0x5bd92e=_0x4dc0f1;const _0x909b43=this[_0x5bd92e(0x29d)](_0x1d2247);_0x909b43&&(_0x909b43[_0x5bd92e(0x183)]=0x0,this[_0x5bd92e(0x33a)]());}['_substituteUndoStack'](_0x1bd773,_0x473190){var _0x9ac51a=_0x4dc0f1;this['_undoStacks'][_0x9ac51a(0x2c7)](_0x1bd773,_0x473190),this[_0x9ac51a(0x33a)]();}[_0x4dc0f1(0x343)](_0x251017,_0x43f628){var _0x32f576=_0x4dc0f1;this[_0x32f576(0x169)][_0x32f576(0x2c7)](_0x251017,_0x43f628),this['_updateStatus']();}[_0x4dc0f1(0x249)](_0x2a5a81,_0x412fd1){var _0x56534e=_0x4dc0f1;const _0x3f3207=[];let _0x4d315c=_0x412fd1,_0x494e41=_0x412fd1;for(let _0x180177=_0x2a5a81[_0x56534e(0x183)]-0x1;_0x180177>=0x0;_0x180177--){const {unitID:_0x3de5e3,undoMutations:_0x286c9f,redoMutations:_0x5070aa}=_0x2a5a81[_0x180177],_0x37cfcb=this[_0x56534e(0x38c)][_0x56534e(0x14e)](_0x4d315c,_0x286c9f),_0x4d87d0=this[_0x56534e(0x38c)]['transformMutationsWithChangeset'](_0x494e41,_0x5070aa);if(E[_0x56534e(0x2d5)](_0x37cfcb)||E[_0x56534e(0x2d5)](_0x4d87d0)){this[_0x56534e(0x7c)][_0x56534e(0x1d3)](_0x56534e(0xf2),'transformStack\x20failed!',_0x37cfcb,_0x4d87d0);break;}_0x4d315c=_0x37cfcb[_0x56534e(0x1d8)],_0x494e41=_0x4d87d0[_0x56534e(0x1d8)],_0x3f3207[_0x56534e(0x3f3)]({'unitID':_0x3de5e3,'undoMutations':_0x37cfcb[_0x56534e(0x248)],'redoMutations':_0x4d87d0[_0x56534e(0x248)]});}return _0x3f3207[_0x56534e(0x241)]();}},exports[_0x4dc0f1(0x3ed)]=En([ue(0x0,o[_0x4dc0f1(0x216)]),ue(0x1,o[_0x4dc0f1(0x2ab)]),ue(0x2,o[_0x4dc0f1(0x3ca)]),ue(0x3,E[_0x4dc0f1(0x409)]),ue(0x4,o['ILogService'])],exports[_0x4dc0f1(0x3ed)]);var pn=Object['defineProperty'],mn=Object[_0x4dc0f1(0x1b3)],gn=(_0x41c882,_0x183324,_0x7f112c)=>_0x183324 in _0x41c882?pn(_0x41c882,_0x183324,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7f112c}):_0x41c882[_0x183324]=_0x7f112c,Tn=(_0x58c714,_0x7ee945,_0x2dbaa6,_0x2fc185)=>{for(var _0x3fe6b1=_0x2fc185>0x1?void 0x0:_0x2fc185?mn(_0x7ee945,_0x2dbaa6):_0x7ee945,_0x5c54dc=_0x58c714['length']-0x1,_0x40280a;_0x5c54dc>=0x0;_0x5c54dc--)(_0x40280a=_0x58c714[_0x5c54dc])&&(_0x3fe6b1=_0x40280a(_0x3fe6b1)||_0x3fe6b1);return _0x3fe6b1;},we=(_0x47bc06,_0x1f2e55)=>(_0x21790b,_0x243b6e)=>_0x1f2e55(_0x21790b,_0x243b6e,_0x47bc06),Cn=(_0x3de256,_0x37d1fb,_0x531563)=>gn(_0x3de256,_0x37d1fb+'',_0x531563);const On=_0x4dc0f1(0x1f4);exports['UniverCollaborationClientPlugin']=class extends o[_0x4dc0f1(0x3ba)]{constructor(_0x5345e3,_0x5492b3,_0x246dea,_0xc5e333){var _0x512813=_0x4dc0f1;super(),A(this,_0x512813(0x1e8)),(this[_0x512813(0x7c)]=_0x5492b3,this['_injector']=_0x246dea,this[_0x512813(0x1de)]=_0xc5e333);const {..._0x5e76de}=o[_0x512813(0x382)]({},Qt,_0x5345e3);if(!_0x5e76de[_0x512813(0x14a)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5e76de,this['_configService'][_0x512813(0xdd)](Y,_0x5e76de);}[_0x4dc0f1(0x3d3)](){var _0x13e640=_0x4dc0f1;this['_registerDependencies'](),this[_0x13e640(0x2a0)]();}[_0x4dc0f1(0x96)](){var _0x2ddc03=_0x4dc0f1,_0x3ea40f,_0x5601a7;this['_injector'][_0x2ddc03(0x402)](o[_0x2ddc03(0x309)])&&this[_0x2ddc03(0x7c)]['error'](_0x2ddc03(0xec),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x52e157=o[_0x2ddc03(0x2ba)]([[o[_0x2ddc03(0x309)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x2ddc03(0x3dd)]],[exports[_0x2ddc03(0x173)]],[exports[_0x2ddc03(0x1c9)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x2ddc03(0x2b8)]],[Fe,{'useClass':this[_0x2ddc03(0x1e8)][_0x2ddc03(0x14a)]}],[E['ISnapshotServerService'],{'useClass':exports[_0x2ddc03(0x204)]}],[o['IAuthzIoService'],{'useClass':exports[_0x2ddc03(0x34e)]}],[z[_0x2ddc03(0x3cc)],{'useClass':exports[_0x2ddc03(0x15b)]}],[o[_0x2ddc03(0x79)],{'useClass':exports[_0x2ddc03(0x353)]}],[exports['CollaborationController']],[xe]],(_0x3ea40f=this[_0x2ddc03(0x1e8)])==null?void 0x0:_0x3ea40f[_0x2ddc03(0x16b)]);if(!((_0x5601a7=this[_0x2ddc03(0x1e8)])!=null&&_0x5601a7[_0x2ddc03(0x3c3)])){const _0x51462b=_0x52e157[_0x2ddc03(0x23c)](([_0x3172a2])=>_0x3172a2===ve);_0x51462b!==-0x1&&_0x52e157[_0x2ddc03(0x20d)](_0x51462b,0x1);}o[_0x2ddc03(0x2c3)](this[_0x2ddc03(0x133)],_0x52e157);}[_0x4dc0f1(0x2a0)](){var _0x12c4c7=_0x4dc0f1,_0x379b3f,_0x5e324b,_0x5a9219;this[_0x12c4c7(0x133)][_0x12c4c7(0x176)](K[_0x12c4c7(0x2f4)])[_0x12c4c7(0x345)]({'priority':0x14,'interceptor':K[_0x12c4c7(0x240)]({'maxParallel':0x6})}),(_0x379b3f=this[_0x12c4c7(0x1e8)])!=null&&_0x379b3f[_0x12c4c7(0x203)]||(_0x5e324b=this[_0x12c4c7(0x133)][_0x12c4c7(0x176)](q,o[_0x12c4c7(0x2d1)]['OPTIONAL']))==null||_0x5e324b['disableLocalCache'](),(_0x5a9219=this[_0x12c4c7(0x1e8)])!=null&&_0x5a9219[_0x12c4c7(0x11e)]&&o[_0x12c4c7(0x3e7)](this['_injector'],[[Ne]]),o['touchDependencies'](this[_0x12c4c7(0x133)],[[De],[exports['CollaborationController']],[ye]]);}},Cn(exports[_0x4dc0f1(0x1af)],_0x4dc0f1(0x3a4),On),exports[_0x4dc0f1(0x1af)]=Tn([o[_0x4dc0f1(0x215)](E[_0x4dc0f1(0x25c)],K['UniverNetworkPlugin']),we(0x1,o[_0x4dc0f1(0x13c)]),we(0x2,o[_0x4dc0f1(0x389)](o[_0x4dc0f1(0x1e2)])),we(0x3,o[_0x4dc0f1(0x2a1)])],exports[_0x4dc0f1(0x1af)]),exports[_0x4dc0f1(0xd6)]=Y,exports['CollaborationStatus']=je,exports['CollaborationUIEventId']=J,exports[_0x4dc0f1(0x22d)]=ee,exports[_0x4dc0f1(0x334)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=_t,exports[_0x4dc0f1(0x1a0)]=Bt,exports[_0x4dc0f1(0x12a)]=Pt,exports[_0x4dc0f1(0x2e2)]=ht,exports[_0x4dc0f1(0x10f)]=ke,exports[_0x4dc0f1(0x279)]=Fe,exports[_0x4dc0f1(0xa5)]=q,exports[_0x4dc0f1(0x293)]=pt,exports['ISingleActiveUnitService']=ve,exports[_0x4dc0f1(0x3a5)]=kt,exports[_0x4dc0f1(0x100)]=xt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x4dc0f1(0xad)]=se,exports[_0x4dc0f1(0x24a)]=He,exports[_0x4dc0f1(0xbb)]=mt,exports[_0x4dc0f1(0x80)]=zt,exports[_0x4dc0f1(0x75)]=gt;
|