@univerjs-pro/collaboration-client 0.5.1-nightly.202412011605 → 0.5.1-nightly.202412031606
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/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(_0x3e06e5,_0x3bed7c){const _0xbe553d=_0x3f6c,_0x11509a=_0x3e06e5();while(!![]){try{const _0x14be18=-parseInt(_0xbe553d(0x1f1))/0x1+-parseInt(_0xbe553d(0x296))/0x2*(parseInt(_0xbe553d(0x24f))/0x3)+-parseInt(_0xbe553d(0x503))/0x4+-parseInt(_0xbe553d(0x5ce))/0x5*(-parseInt(_0xbe553d(0x2d3))/0x6)+-parseInt(_0xbe553d(0x4c4))/0x7*(-parseInt(_0xbe553d(0x1e3))/0x8)+-parseInt(_0xbe553d(0x3d4))/0x9*(-parseInt(_0xbe553d(0x416))/0xa)+-parseInt(_0xbe553d(0x2df))/0xb*(-parseInt(_0xbe553d(0x596))/0xc);if(_0x14be18===_0x3bed7c)break;else _0x11509a['push'](_0x11509a['shift']());}catch(_0x49bde7){_0x11509a['push'](_0x11509a['shift']());}}}(_0x2ca0,0x2d873),function(_0x56c37a,_0x3e8e65){const _0x4a92b2=_0x3f6c;typeof exports=='object'&&typeof module<'u'?_0x3e8e65(exports,require(_0x4a92b2(0x6a6)),require('rxjs'),require(_0x4a92b2(0x277)),require(_0x4a92b2(0x43f)),require('@univerjs/network'),require(_0x4a92b2(0x2f0)),require(_0x4a92b2(0x1d2)),require(_0x4a92b2(0x664)),require(_0x4a92b2(0x403)),require(_0x4a92b2(0x58b)),require(_0x4a92b2(0x35a)),require(_0x4a92b2(0x433)),require(_0x4a92b2(0x23d)),require(_0x4a92b2(0x4fd)),require(_0x4a92b2(0x62b)),require('react'),require(_0x4a92b2(0x481))):typeof define=='function'&&define[_0x4a92b2(0x5b1)]?define([_0x4a92b2(0x3b8),_0x4a92b2(0x6a6),_0x4a92b2(0x612),'rxjs/operators',_0x4a92b2(0x43f),_0x4a92b2(0x26f),_0x4a92b2(0x2f0),_0x4a92b2(0x1d2),_0x4a92b2(0x664),'@univerjs/docs','@univerjs/docs-ui','@univerjs/sheets',_0x4a92b2(0x433),_0x4a92b2(0x23d),_0x4a92b2(0x4fd),_0x4a92b2(0x62b),_0x4a92b2(0x650),_0x4a92b2(0x481)],_0x3e8e65):(_0x56c37a=typeof globalThis<'u'?globalThis:_0x56c37a||self,_0x3e8e65(_0x56c37a[_0x4a92b2(0x611)]={},_0x56c37a[_0x4a92b2(0x64b)],_0x56c37a[_0x4a92b2(0x612)],_0x56c37a[_0x4a92b2(0x612)][_0x4a92b2(0x507)],_0x56c37a[_0x4a92b2(0x362)],_0x56c37a[_0x4a92b2(0x526)],_0x56c37a[_0x4a92b2(0x66e)],_0x56c37a[_0x4a92b2(0x360)],_0x56c37a['UniverTelemetry'],_0x56c37a[_0x4a92b2(0x3c2)],_0x56c37a['UniverDocsUi'],_0x56c37a[_0x4a92b2(0x645)],_0x56c37a['UniverEngineRender'],_0x56c37a[_0x4a92b2(0x27c)],_0x56c37a[_0x4a92b2(0x469)],_0x56c37a[_0x4a92b2(0x447)],_0x56c37a[_0x4a92b2(0x65e)],_0x56c37a['UniverRpc']));}(this,function(_0x20c240,_0x4d1a65,_0x605d86,_0x258e23,_0x52328b,_0x4ccb02,_0x247dcf,_0x1c4909,_0x26348a,_0x209469,_0x3f56ba,_0x371d26,_0x50692e,_0x4facdd,_0xc577aa,_0x393b66,_0x54383b,_0x78a419){'use strict';const _0x2ed730=_0x3f6c;var _0x4b9fc4=Object[_0x2ed730(0x4ff)],_0x374548=(_0x41740c,_0x31f980,_0x2eac98)=>_0x31f980 in _0x41740c?_0x4b9fc4(_0x41740c,_0x31f980,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eac98}):_0x41740c[_0x31f980]=_0x2eac98,_0x10a616=(_0x58c9e3,_0x4c23a7,_0x3a1954)=>_0x374548(_0x58c9e3,typeof _0x4c23a7!='symbol'?_0x4c23a7+'':_0x4c23a7,_0x3a1954);const _0x83a653=_0x2ed730(0x2e6),_0x8beff2='/universer-api/snapshot',_0x4c5f9e=_0x2ed730(0x467),_0x2dc443=_0x2ed730(0x444),_0x2f8674=_0x2ed730(0x3ce),_0x1e4373=_0x2ed730(0x597),_0x2f69ec='/universer-api/user/session-ticket',_0x5adefd=_0x2ed730(0x419),_0x302219=_0x2ed730(0x67f),_0x147e62=_0x2ed730(0x623),_0x57a927=_0x2ed730(0x5c3),_0x1839cb=_0x2ed730(0x249),_0x212e26=_0x2ed730(0x675),_0x55fa8c=_0x2ed730(0x3f6),_0x4eab85=_0x2ed730(0x216);var _0x298910=(_0x1e4e89=>(_0x1e4e89[_0x1e4e89[_0x2ed730(0x3dd)]=0x0]='UNDEFINED',_0x1e4e89[_0x1e4e89['OK']=0x1]='OK',_0x1e4e89[_0x1e4e89[_0x2ed730(0x22d)]=0x2]=_0x2ed730(0x22d),_0x1e4e89[_0x1e4e89[_0x2ed730(0x5ee)]=0x3]=_0x2ed730(0x5ee),_0x1e4e89[_0x1e4e89[_0x2ed730(0x298)]=0x4]=_0x2ed730(0x298),_0x1e4e89[_0x1e4e89[_0x2ed730(0x4cc)]=0x5]=_0x2ed730(0x4cc),_0x1e4e89[_0x1e4e89[_0x2ed730(0x4a6)]=0x6]=_0x2ed730(0x4a6),_0x1e4e89[_0x1e4e89['INVALID_ARGUMENT']=0x7]=_0x2ed730(0x4e2),_0x1e4e89[_0x1e4e89[_0x2ed730(0x1ed)]=0x8]=_0x2ed730(0x1ed),_0x1e4e89[_0x1e4e89[_0x2ed730(0x3e8)]=0x9]=_0x2ed730(0x3e8),_0x1e4e89[_0x1e4e89['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2ed730(0x35f),_0x1e4e89[_0x1e4e89[_0x2ed730(0x350)]=0x1771]=_0x2ed730(0x350),_0x1e4e89[_0x1e4e89[_0x2ed730(0x562)]=0x1772]=_0x2ed730(0x562),_0x1e4e89[_0x1e4e89[_0x2ed730(0x210)]=0x1773]=_0x2ed730(0x210),_0x1e4e89[_0x1e4e89[_0x2ed730(0x37e)]=0x1b59]='APPLY_REJECT',_0x1e4e89[_0x1e4e89['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ed730(0x332),_0x1e4e89[_0x1e4e89[_0x2ed730(0x616)]=0x1b5b]=_0x2ed730(0x616),_0x1e4e89[_0x1e4e89['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2ed730(0x52b),_0x1e4e89[_0x1e4e89[_0x2ed730(0x1eb)]=0x1b5d]='APPLY_DUPLICATED',_0x1e4e89[_0x1e4e89[_0x2ed730(0x258)]=0x1f41]=_0x2ed730(0x258),_0x1e4e89[_0x1e4e89['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2ed730(0x63d),_0x1e4e89[_0x1e4e89[_0x2ed730(0x4f3)]=0x232a]=_0x2ed730(0x4f3),_0x1e4e89[_0x1e4e89[_0x2ed730(0x5fd)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e4e89[_0x1e4e89[_0x2ed730(0x391)]=0x232c]=_0x2ed730(0x391),_0x1e4e89[_0x1e4e89['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2ed730(0x2c4),_0x1e4e89[_0x1e4e89[_0x2ed730(0x4fb)]=0x2711]=_0x2ed730(0x4fb),_0x1e4e89[_0x1e4e89[_0x2ed730(0x201)]=0x2712]=_0x2ed730(0x201),_0x1e4e89[_0x1e4e89[_0x2ed730(0x698)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e4e89[_0x1e4e89['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2ed730(0x1df),_0x1e4e89[_0x1e4e89[_0x2ed730(0x23c)]=-0x1]=_0x2ed730(0x23c),_0x1e4e89))(_0x298910||{}),_0x326e6d=(_0x7333c4=>(_0x7333c4[_0x7333c4[_0x2ed730(0x666)]=0x0]=_0x2ed730(0x666),_0x7333c4[_0x7333c4[_0x2ed730(0x60b)]=0x1]=_0x2ed730(0x60b),_0x7333c4[_0x7333c4[_0x2ed730(0x383)]=0x2]=_0x2ed730(0x383),_0x7333c4[_0x7333c4[_0x2ed730(0x3a7)]=0x3]=_0x2ed730(0x3a7),_0x7333c4[_0x7333c4[_0x2ed730(0x2e1)]=0x4]=_0x2ed730(0x2e1),_0x7333c4[_0x7333c4[_0x2ed730(0x23c)]=-0x1]=_0x2ed730(0x23c),_0x7333c4))(_0x326e6d||{}),_0x11592e=(_0x3d0122=>(_0x3d0122[_0x3d0122['UNKNOWN_CMD']=0x0]=_0x2ed730(0x4c6),_0x3d0122[_0x3d0122['HELLO']=0x1]=_0x2ed730(0x42a),_0x3d0122[_0x3d0122[_0x2ed730(0x3ab)]=0x2]=_0x2ed730(0x3ab),_0x3d0122[_0x3d0122['LEAVE']=0x3]=_0x2ed730(0x261),_0x3d0122[_0x3d0122[_0x2ed730(0x256)]=0x4]=_0x2ed730(0x256),_0x3d0122[_0x3d0122['HEARTBEAT']=0x5]=_0x2ed730(0x393),_0x3d0122[_0x3d0122['RECV']=0x6]='RECV',_0x3d0122[_0x3d0122[_0x2ed730(0x23c)]=-0x1]='UNRECOGNIZED',_0x3d0122))(_0x11592e||{}),_0x51f1ba=(_0x6073f7=>(_0x6073f7[_0x6073f7['UNKNOWN_CODE']=0x0]=_0x2ed730(0x3eb),_0x6073f7[_0x6073f7['OK']=0x1]='OK',_0x6073f7[_0x6073f7[_0x2ed730(0x607)]=0x2]=_0x2ed730(0x607),_0x6073f7[_0x6073f7[_0x2ed730(0x69f)]=0x3e9]=_0x2ed730(0x69f),_0x6073f7[_0x6073f7[_0x2ed730(0x64d)]=0x3ea]=_0x2ed730(0x64d),_0x6073f7[_0x6073f7[_0x2ed730(0x38c)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x6073f7[_0x6073f7[_0x2ed730(0x5aa)]=0x3ec]=_0x2ed730(0x5aa),_0x6073f7[_0x6073f7['UNRECOGNIZED']=-0x1]=_0x2ed730(0x23c),_0x6073f7))(_0x51f1ba||{}),_0x41b63d=(_0x29e511=>(_0x29e511[_0x29e511[_0x2ed730(0x694)]=0x0]=_0x2ed730(0x694),_0x29e511[_0x29e511['HttpImport']=0x1]=_0x2ed730(0x5d9),_0x29e511[_0x29e511[_0x2ed730(0x634)]=0x2]=_0x2ed730(0x634),_0x29e511[_0x29e511[_0x2ed730(0x5a4)]=0x3]=_0x2ed730(0x5a4),_0x29e511[_0x29e511[_0x2ed730(0x586)]=0x4]=_0x2ed730(0x586),_0x29e511[_0x29e511[_0x2ed730(0x23c)]=-0x1]=_0x2ed730(0x23c),_0x29e511))(_0x41b63d||{});const _0x1f4f80='collaboration-client.config',_0x5067af={};function _0x42c08e(_0x17956c){const _0x210ae8=_0x2ed730;var _0x119a32,_0x4d28ee,_0x5c2784,_0x335eac,_0x43d872;const _0x2073dd=_0x17956c[_0x210ae8(0x3a1)],_0x23bcff=JSON[_0x210ae8(0x3f7)](_0x2073dd);switch(_0x23bcff[_0x210ae8(0x483)]){case _0x11592e[_0x210ae8(0x393)]:case _0x11592e['HELLO']:{const _0x583c8a=_0x23bcff[_0x210ae8(0x2cd)];return{..._0x23bcff,'data':_0x583c8a,'cmd':_0x23bcff[_0x210ae8(0x483)]};}case _0x11592e[_0x210ae8(0x3ab)]:{const _0x59211f=_0x23bcff[_0x210ae8(0x630)];return{..._0x23bcff,'data':_0x59211f,'cmd':_0x23bcff[_0x210ae8(0x483)]};}case _0x11592e[_0x210ae8(0x497)]:{const _0x4fc2b0=_0x23bcff[_0x210ae8(0x3c3)];switch(_0x4fc2b0['eventID']){case _0x1c4909['CollaborationEvent'][_0x210ae8(0x565)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':(_0x119a32=_0x4fc2b0[_0x210ae8(0x333)])==null?void 0x0:_0x119a32['cs']},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909[_0x210ae8(0x588)][_0x210ae8(0x53b)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':(_0x4d28ee=_0x4fc2b0[_0x210ae8(0x33c)])==null?void 0x0:_0x4d28ee['cs']},'cmd':_0x23bcff['cmd']};case _0x1c4909[_0x210ae8(0x588)][_0x210ae8(0x441)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':(_0x5c2784=_0x4fc2b0[_0x210ae8(0x4c7)])==null?void 0x0:_0x5c2784['cs']},'cmd':_0x23bcff['cmd']};case _0x1c4909[_0x210ae8(0x588)]['CHANGESET_REJ']:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':(_0x335eac=_0x4fc2b0[_0x210ae8(0x231)])==null?void 0x0:_0x335eac['cs']},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909['CollaborationEvent'][_0x210ae8(0x336)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':(_0x43d872=_0x4fc2b0['csShouldRetryEvent'])==null?void 0x0:_0x43d872['cs']},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909['CollaborationEvent'][_0x210ae8(0x5c7)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0['updateCursorEvent']},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909[_0x210ae8(0x588)][_0x210ae8(0x59b)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0[_0x210ae8(0x5db)]},'cmd':_0x23bcff['cmd']};case _0x1c4909['CollaborationEvent'][_0x210ae8(0x2e8)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0['leaveEvent']},'cmd':_0x23bcff['cmd']};case _0x1c4909[_0x210ae8(0x588)][_0x210ae8(0x53d)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0[_0x210ae8(0x600)]},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909[_0x210ae8(0x588)][_0x210ae8(0x29c)]:case _0x1c4909['CollaborationEvent'][_0x210ae8(0x537)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0[_0x210ae8(0x29e)]},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909[_0x210ae8(0x588)][_0x210ae8(0x1cc)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0[_0x210ae8(0x600)]},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909[_0x210ae8(0x588)][_0x210ae8(0x29b)]:return{..._0x23bcff,'data':_0x4fc2b0,'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909[_0x210ae8(0x588)]['COMMENT_UPDATE']:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0[_0x210ae8(0x3b7)]},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909[_0x210ae8(0x588)]['UPDATE_PERMISSION_OBJ']:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0[_0x210ae8(0x1fc)]},'cmd':_0x23bcff[_0x210ae8(0x483)]};case _0x1c4909[_0x210ae8(0x588)][_0x210ae8(0x3da)]:return{..._0x23bcff,'data':{..._0x4fc2b0,'data':_0x4fc2b0[_0x210ae8(0x3cd)]},'cmd':_0x23bcff[_0x210ae8(0x483)]};default:return _0x23bcff;}}default:return _0x23bcff;}}function _0x234916(_0xb6dfe4){const _0xfb58f8=_0x2ed730;switch(_0xb6dfe4['cmd']){case _0x11592e['HEARTBEAT']:case _0x11592e[_0xfb58f8(0x42a)]:return JSON['stringify']({'cmd':_0xb6dfe4[_0xfb58f8(0x483)],'routeKey':_0xb6dfe4[_0xfb58f8(0x508)]});case _0x11592e[_0xfb58f8(0x256)]:{let _0x55f829;switch(_0xb6dfe4[_0xfb58f8(0x3a1)][_0xfb58f8(0x323)]){case _0x1c4909['CollaborationEvent']['UPDATE_CURSOR']:{_0x55f829={'eventID':_0x1c4909[_0xfb58f8(0x588)][_0xfb58f8(0x5c7)],'updateCursorEvent':_0xb6dfe4['data'][_0xfb58f8(0x3a1)]};break;}case _0x1c4909[_0xfb58f8(0x588)]['USERS_LEAVE']:{_0x55f829={'eventID':_0x1c4909[_0xfb58f8(0x588)][_0xfb58f8(0x2e8)],'leaveEvent':_0xb6dfe4[_0xfb58f8(0x3a1)][_0xfb58f8(0x3a1)]};break;}case _0x1c4909[_0xfb58f8(0x588)][_0xfb58f8(0x59b)]:{_0x55f829={'eventID':_0x1c4909['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0xb6dfe4[_0xfb58f8(0x3a1)]['data']};break;}case _0x1c4909['CollaborationEvent'][_0xfb58f8(0x53d)]:{_0x55f829={'eventID':_0x1c4909['CollaborationEvent'][_0xfb58f8(0x53d)],'liveShareNewHost':_0xb6dfe4[_0xfb58f8(0x3a1)][_0xfb58f8(0x3a1)]};break;}case _0x1c4909['CollaborationEvent'][_0xfb58f8(0x537)]:{_0x55f829={'eventID':_0x1c4909[_0xfb58f8(0x588)][_0xfb58f8(0x537)],'liveShareOperation':_0xb6dfe4[_0xfb58f8(0x3a1)][_0xfb58f8(0x3a1)]};break;}case _0x1c4909[_0xfb58f8(0x588)]['LIVESHARE_TERMINATE']:{_0x55f829={'eventID':_0x1c4909['CollaborationEvent'][_0xfb58f8(0x1cc)],'liveShareTerminate':_0xb6dfe4[_0xfb58f8(0x3a1)]['data']};break;}case _0x1c4909[_0xfb58f8(0x588)][_0xfb58f8(0x207)]:{_0x55f829={'eventID':_0x1c4909[_0xfb58f8(0x588)][_0xfb58f8(0x207)],'liveShareRequestHost':_0xb6dfe4[_0xfb58f8(0x3a1)][_0xfb58f8(0x3a1)]};break;}case _0x1c4909[_0xfb58f8(0x588)]['LIVESHARE_FETCH_OPERATIONS']:{_0x55f829={'eventID':_0x1c4909[_0xfb58f8(0x588)][_0xfb58f8(0x29c)]};break;}default:_0x55f829={'eventID':_0xb6dfe4['data'][_0xfb58f8(0x323)]};}return JSON[_0xfb58f8(0x541)]({'cmd':_0xb6dfe4[_0xfb58f8(0x483)],'routeKey':_0xb6dfe4[_0xfb58f8(0x508)],'collaMsg':_0x55f829});}case _0x11592e[_0xfb58f8(0x3ab)]:return JSON[_0xfb58f8(0x541)]({'cmd':_0xb6dfe4[_0xfb58f8(0x483)],'routeKey':_0xb6dfe4[_0xfb58f8(0x508)],'joinReq':_0xb6dfe4[_0xfb58f8(0x3a1)]});case _0x11592e[_0xfb58f8(0x261)]:return JSON[_0xfb58f8(0x541)]({'cmd':_0xb6dfe4['cmd'],'routeKey':_0xb6dfe4[_0xfb58f8(0x508)],'leaveReq':_0xb6dfe4[_0xfb58f8(0x3a1)]});default:throw new Error(_0xfb58f8(0x3ed));}}var _0x392f44=Object[_0x2ed730(0x4ff)],_0x13a63f=Object['getOwnPropertyDescriptor'],_0x40d2ec=(_0x5bcbe1,_0x268228,_0x297a39,_0x38853c)=>{for(var _0x4d9fe4=_0x38853c>0x1?void 0x0:_0x38853c?_0x13a63f(_0x268228,_0x297a39):_0x268228,_0x3ca9ef=_0x5bcbe1['length']-0x1,_0x1b232e;_0x3ca9ef>=0x0;_0x3ca9ef--)(_0x1b232e=_0x5bcbe1[_0x3ca9ef])&&(_0x4d9fe4=(_0x38853c?_0x1b232e(_0x268228,_0x297a39,_0x4d9fe4):_0x1b232e(_0x4d9fe4))||_0x4d9fe4);return _0x38853c&&_0x4d9fe4&&_0x392f44(_0x268228,_0x297a39,_0x4d9fe4),_0x4d9fe4;},_0x11f580=(_0xc25dda,_0x8b9800)=>(_0x2a4fa3,_0x398571)=>_0x8b9800(_0x2a4fa3,_0x398571,_0xc25dda);const _0x235b38=_0x4d1a65[_0x2ed730(0x468)](_0x2ed730(0x28d));function _0x456c50(_0x5912c1,_0x5cce47,_0x10c80e){const _0x264a1f=_0x2ed730;return _0x5912c1+'/'+_0x5cce47+_0x264a1f(0x1f2)+_0x10c80e+_0x264a1f(0x305);}_0x20c240['CollaborationSocketService']=class extends _0x4d1a65[_0x2ed730(0x512)]{constructor(_0x24a1b8,_0x244b3a,_0x5ffd5e,_0x4e87d9,_0x39e060){const _0x4188a2=_0x2ed730;super(),this['_http']=_0x24a1b8,this[_0x4188a2(0x44a)]=_0x244b3a,this[_0x4188a2(0x366)]=_0x5ffd5e,this[_0x4188a2(0x26b)]=_0x4e87d9,this[_0x4188a2(0x334)]=_0x39e060;}[_0x2ed730(0x352)](_0x314706){const _0x52981c=_0x2ed730,_0x100d31=this['_ws'][_0x52981c(0x352)](_0x314706);if(!_0x100d31)throw new Error(_0x52981c(0x575));const _0x14f9a2=new _0x4d1a65[(_0x52981c(0x402))](),_0x7515=new _0x605d86[(_0x52981c(0x2fb))]();_0x14f9a2['add'](_0x100d31[_0x52981c(0x4b8)]['subscribe'](_0x42e448=>_0x7515[_0x52981c(0x4fe)](_0x42e448))),_0x14f9a2[_0x52981c(0x4f4)](_0x4d1a65['toDisposable'](()=>_0x7515[_0x52981c(0x625)]()));const _0xe3f43f=new _0x605d86[(_0x52981c(0x2fb))]();_0x14f9a2['add'](_0x100d31['error$'][_0x52981c(0x60e)](_0x4266bf=>_0xe3f43f['next'](_0x4266bf))),_0x14f9a2['add'](_0x4d1a65[_0x52981c(0x464)](()=>_0xe3f43f[_0x52981c(0x625)]()));const _0x436a78=new _0x605d86['Subject']();_0x14f9a2[_0x52981c(0x4f4)](_0x100d31[_0x52981c(0x643)][_0x52981c(0x60e)](_0x16d087=>{const _0x3f5bc7=_0x42c08e(_0x16d087);_0x436a78['next'](_0x3f5bc7);})),_0x14f9a2['add'](_0x4d1a65['toDisposable'](()=>_0x436a78['complete']()));let _0x3c9a7d;const _0x52fa98=()=>{const _0x5c1db2=_0x52981c;_0xe3f43f[_0x5c1db2(0x4fe)](new Event(_0x5c1db2(0x4f9))),_0x7515['next'](new CloseEvent(_0x5c1db2(0x4f9))),_0x3c9a7d['close']();};return _0x3c9a7d={'memberID':'','close$':_0x7515[_0x52981c(0x5a9)](),'error$':_0xe3f43f[_0x52981c(0x5a9)](),'open$':_0x100d31['open$'],'message$':_0x436a78['asObservable'](),'send':_0x4babea=>{const _0x411397=_0x52981c;if(_0x4babea[_0x411397(0x483)]===_0x11592e[_0x411397(0x256)]){if(_0x4babea[_0x411397(0x3a1)][_0x411397(0x323)]===_0x1c4909[_0x411397(0x588)][_0x411397(0x54a)]){this[_0x411397(0x242)](_0x3c9a7d,_0x4babea[_0x411397(0x3a1)])[_0x411397(0x26e)](_0x8407c7=>{const _0x19b824=_0x411397;this[_0x19b824(0x26b)]['error'](_0x8407c7),_0x52fa98();});return;}if(_0x4babea[_0x411397(0x3a1)][_0x411397(0x323)]===_0x1c4909[_0x411397(0x588)][_0x411397(0x569)]){const _0x275006=_0x4babea['data'];this[_0x411397(0x259)](_0x275006)[_0x411397(0x3a8)](_0x38b510=>{const _0x4f60a5=_0x411397;_0x436a78[_0x4f60a5(0x4fe)]({'cmd':_0x11592e[_0x4f60a5(0x497)],'code':_0x51f1ba['OK'],'routeKey':_0x275006[_0x4f60a5(0x3a1)][_0x4f60a5(0x5e5)],'routeType':'','data':{'eventID':_0x1c4909[_0x4f60a5(0x588)][_0x4f60a5(0x681)],'data':{'changesets':_0x38b510}}});})[_0x411397(0x26e)](_0x574a3e=>{const _0x1006c2=_0x411397;this[_0x1006c2(0x26b)]['error'](_0x574a3e),_0x52fa98();});return;}}_0x100d31[_0x411397(0x1fb)](_0x234916(_0x4babea));},'close':()=>{const _0x5c7453=_0x52981c;_0x100d31[_0x5c7453(0x2b3)](),_0x14f9a2[_0x5c7453(0x368)]();}},_0x3c9a7d;}async[_0x2ed730(0x242)](_0x136c5c,_0x5f13c9){const _0x5e9f69=_0x2ed730;var _0x48f72e,_0x3ea82e;const {unitType:_0xbbe936,unitID:_0x32559e,changeset:_0x96047f}=_0x5f13c9[_0x5e9f69(0x3a1)],_0x3bb4b8={'unitID':_0x32559e,'memberID':_0x136c5c[_0x5e9f69(0x45f)],'type':_0xbbe936,'changeset':_0x1c4909[_0x5e9f69(0x1d8)](_0x96047f)},_0x42cb3e=this['_configService'][_0x5e9f69(0x539)](_0x1839cb),_0x1db2f4=this[_0x5e9f69(0x366)][_0x5e9f69(0x539)](_0x1f4f80),_0x16cf82=_0x456c50((_0x3ea82e=(_0x48f72e=_0x1db2f4==null?void 0x0:_0x1db2f4[_0x5e9f69(0x205)])!=null?_0x48f72e:_0x42cb3e)!=null?_0x3ea82e:_0x212e26,_0xbbe936,_0x32559e);try{await this['_http'][_0x5e9f69(0x55c)](_0x16cf82,{'body':_0x3bb4b8});}catch(_0x59860d){throw this[_0x5e9f69(0x26b)][_0x5e9f69(0x4c3)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x59860d;}}async[_0x2ed730(0x259)](_0x17702e){const _0x240398=_0x2ed730,{unitID:_0xb2d91,from:_0x5883eb,to:_0x226c2c,unitType:_0x268440}=_0x17702e['data'];return(await this[_0x240398(0x334)][_0x240398(0x36f)]({'metadata':void 0x0},{'unitID':_0xb2d91,'type':_0x268440,'from':_0x5883eb,'to':_0x226c2c}))[_0x240398(0x3e0)];}},_0x20c240[_0x2ed730(0x5a0)]=_0x40d2ec([_0x11f580(0x0,_0x4d1a65['Inject'](_0x4ccb02['HTTPService'])),_0x11f580(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x4ccb02[_0x2ed730(0x613)])),_0x11f580(0x2,_0x4d1a65['IConfigService']),_0x11f580(0x3,_0x4d1a65[_0x2ed730(0x22f)]),_0x11f580(0x4,_0x1c4909[_0x2ed730(0x2d9)])],_0x20c240[_0x2ed730(0x5a0)]);const _0x37554d=_0x2ed730(0x264);function _0x3b0696(_0x2a5b86){const _0x51d8c2=_0x2ed730;return JSON[_0x51d8c2(0x541)](_0x2a5b86)['length'];}class _0x183101{constructor(){const _0x4197da=_0x2ed730;_0x10a616(this,_0x4197da(0x5d6),new _0x605d86[(_0x4197da(0x2fb))]()),_0x10a616(this,_0x4197da(0x2e9),this[_0x4197da(0x5d6)][_0x4197da(0x5a9)]());}[_0x2ed730(0x69d)](_0x55f04b){const _0x1e8650=_0x2ed730;this[_0x1e8650(0x5d6)][_0x1e8650(0x4fe)](_0x55f04b);}}var _0x2df83c=Object[_0x2ed730(0x4ff)],_0xbd130e=Object['getOwnPropertyDescriptor'],_0x4ed6d5=(_0x337818,_0x390877,_0x1fbcce,_0x1cb121)=>{const _0xf61173=_0x2ed730;for(var _0x44874a=_0x1cb121>0x1?void 0x0:_0x1cb121?_0xbd130e(_0x390877,_0x1fbcce):_0x390877,_0x48b75b=_0x337818[_0xf61173(0x465)]-0x1,_0x47a589;_0x48b75b>=0x0;_0x48b75b--)(_0x47a589=_0x337818[_0x48b75b])&&(_0x44874a=(_0x1cb121?_0x47a589(_0x390877,_0x1fbcce,_0x44874a):_0x47a589(_0x44874a))||_0x44874a);return _0x1cb121&&_0x44874a&&_0x2df83c(_0x390877,_0x1fbcce,_0x44874a),_0x44874a;},_0x3f58ad=(_0x56c732,_0x25211d)=>(_0x41acc8,_0x17274e)=>_0x25211d(_0x41acc8,_0x17274e,_0x56c732);_0x20c240[_0x2ed730(0x3bd)]=class extends _0x4d1a65[_0x2ed730(0x512)]{constructor(_0x5d1a74,_0x1dfbd3){const _0x3c2025=_0x2ed730;super(),_0x10a616(this,_0x3c2025(0x65f),new Map()),(this[_0x3c2025(0x443)]=_0x5d1a74,this['_userManagerService']=_0x1dfbd3,this[_0x3c2025(0x225)](_0x4d1a65[_0x3c2025(0x464)](_0x605d86[_0x3c2025(0x2fd)](this['_univerInstanceService'][_0x3c2025(0x213)](_0x4d1a65[_0x3c2025(0x251)][_0x3c2025(0x383)])[_0x3c2025(0x661)](_0x258e23[_0x3c2025(0x3fc)](_0x246cc3=>_0x246cc3[_0x3c2025(0x4bd)]())),this[_0x3c2025(0x443)][_0x3c2025(0x213)](_0x4d1a65['UniverInstanceType'][_0x3c2025(0x60b)])['pipe'](_0x258e23[_0x3c2025(0x3fc)](_0x4c2118=>_0x4c2118[_0x3c2025(0x4bd)]())),this[_0x3c2025(0x443)][_0x3c2025(0x213)](_0x4d1a65[_0x3c2025(0x251)][_0x3c2025(0x3a7)])[_0x3c2025(0x661)](_0x258e23[_0x3c2025(0x3fc)](_0x32487a=>_0x32487a[_0x3c2025(0x4bd)]())))[_0x3c2025(0x60e)](_0x3ca097=>this[_0x3c2025(0x232)](_0x3ca097)))));}[_0x2ed730(0x4df)](_0x59164b){const _0x41c865=_0x2ed730;this[_0x41c865(0x1e7)][_0x41c865(0x4df)](_0x59164b);}['getCurrentUser'](){const _0x5a3248=_0x2ed730;return this[_0x5a3248(0x1e7)][_0x5a3248(0x228)]();}[_0x2ed730(0x4b5)](_0x1644c0,_0x17bf22){const _0x178dc3=_0x2ed730;let _0x31ff70=this[_0x178dc3(0x65f)][_0x178dc3(0x3fd)](_0x1644c0);_0x31ff70||(_0x31ff70=new _0x14c38c(),this[_0x178dc3(0x65f)][_0x178dc3(0x576)](_0x1644c0,_0x31ff70)),_0x31ff70[_0x178dc3(0x4b5)](_0x17bf22);}[_0x2ed730(0x2dd)](_0x49b885,_0x3130c4){const _0x2d5234=_0x2ed730,_0x60ecb6=this[_0x2d5234(0x65f)][_0x2d5234(0x3fd)](_0x49b885);_0x60ecb6&&_0x60ecb6[_0x2d5234(0x2dd)](_0x3130c4);}[_0x2ed730(0x41c)](_0x29e31a){const _0x441fdb=_0x2ed730;return this[_0x441fdb(0x65f)][_0x441fdb(0x3fd)](_0x29e31a);}[_0x2ed730(0x2bc)](_0x50a33a,_0x5ad957){const _0x58cb83=_0x2ed730,_0x224ce0=this['_roomMembers'][_0x58cb83(0x3fd)](_0x50a33a);if(_0x224ce0)return _0x224ce0[_0x58cb83(0x2bc)](_0x5ad957);}['_removeRoom'](_0x1b484f){const _0x19b3bd=_0x2ed730,_0x3d523d=this[_0x19b3bd(0x65f)][_0x19b3bd(0x3fd)](_0x1b484f);_0x3d523d&&(_0x3d523d[_0x19b3bd(0x368)](),this['_roomMembers']['delete'](_0x1b484f));}[_0x2ed730(0x368)](){const _0x676dba=_0x2ed730;this[_0x676dba(0x65f)][_0x676dba(0x587)](_0x3c7a71=>_0x3c7a71[_0x676dba(0x368)]()),this[_0x676dba(0x65f)][_0x676dba(0x24c)]();}},_0x20c240[_0x2ed730(0x3bd)]=_0x4ed6d5([_0x3f58ad(0x0,_0x4d1a65[_0x2ed730(0x312)]),_0x3f58ad(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65['UserManagerService']))],_0x20c240[_0x2ed730(0x3bd)]);class _0x14c38c extends _0x4d1a65['Disposable']{constructor(){const _0x1b2fa1=_0x2ed730;super(...arguments),_0x10a616(this,_0x1b2fa1(0x49f),new Map());}[_0x2ed730(0x368)](){const _0x147293=_0x2ed730;this['_members'][_0x147293(0x24c)]();}[_0x2ed730(0x4b5)](_0x445186){const _0x1e8a68=_0x2ed730;this[_0x1e8a68(0x49f)]['set'](_0x445186[_0x1e8a68(0x45f)],_0x445186);}[_0x2ed730(0x2dd)](_0x594fc6){const _0xd62141=_0x2ed730;this[_0xd62141(0x49f)][_0xd62141(0x3dc)](_0x594fc6);}[_0x2ed730(0x2bc)](_0x161f85){const _0x10830f=_0x2ed730;return this['_members'][_0x10830f(0x3fd)](_0x161f85);}[_0x2ed730(0x30b)](){const _0x4a1346=_0x2ed730;return Array[_0x4a1346(0x5b2)](this[_0x4a1346(0x49f)][_0x4a1346(0x57c)]());}}var _0x5eed9f=Object['defineProperty'],_0x441359=Object[_0x2ed730(0x2c1)],_0x171aa6=(_0x191338,_0x323401,_0x8a7e72,_0x1e1a57)=>{const _0x53f835=_0x2ed730;for(var _0x49c983=_0x1e1a57>0x1?void 0x0:_0x1e1a57?_0x441359(_0x323401,_0x8a7e72):_0x323401,_0x108cbe=_0x191338[_0x53f835(0x465)]-0x1,_0x2324bb;_0x108cbe>=0x0;_0x108cbe--)(_0x2324bb=_0x191338[_0x108cbe])&&(_0x49c983=(_0x1e1a57?_0x2324bb(_0x323401,_0x8a7e72,_0x49c983):_0x2324bb(_0x49c983))||_0x49c983);return _0x1e1a57&&_0x49c983&&_0x5eed9f(_0x323401,_0x8a7e72,_0x49c983),_0x49c983;},_0x13945b=(_0x3f5c11,_0x5d2af6)=>(_0xac0ba8,_0x2e7466)=>_0x5d2af6(_0xac0ba8,_0x2e7466,_0x3f5c11),_0x2a1392=(_0x2bbe23=>(_0x2bbe23[_0x2bbe23[_0x2ed730(0x678)]=0x0]='IDLE',_0x2bbe23[_0x2bbe23[_0x2ed730(0x624)]=0x1]=_0x2ed730(0x624),_0x2bbe23[_0x2bbe23[_0x2ed730(0x2a6)]=0x2]=_0x2ed730(0x2a6),_0x2bbe23[_0x2bbe23[_0x2ed730(0x28b)]=0x3]=_0x2ed730(0x28b),_0x2bbe23))(_0x2a1392||{});const _0x5e48fc={[_0x51f1ba[_0x2ed730(0x607)]]:'session.join-failed',[_0x51f1ba[_0x2ed730(0x69f)]]:'session.room-full',[_0x51f1ba['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[_0x51f1ba['JOIN_ROOM_PERMISSION_DENIED']]:_0x2ed730(0x540),[_0x51f1ba[_0x2ed730(0x5aa)]]:_0x2ed730(0x5f7)};_0x20c240['CollaborationSession']=class extends _0x4d1a65[_0x2ed730(0x6a9)]{constructor(_0x1797d4,_0x2dab9b,_0x16b5b7,_0x39cee1,_0x46b275,_0xb142ab,_0x3377b0,_0x5e5271,_0x27f4f4,_0x11f3c3){const _0xa67eb2=_0x2ed730;super(),_0x10a616(this,_0xa67eb2(0x4a0),new _0x605d86[(_0xa67eb2(0x548))](0x0)),_0x10a616(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),_0x10a616(this,_0xa67eb2(0x260),new _0x605d86[(_0xa67eb2(0x2fb))]()),_0x10a616(this,'event$',this[_0xa67eb2(0x260)]['asObservable']()),_0x10a616(this,_0xa67eb2(0x68b)),_0x10a616(this,_0xa67eb2(0x674)),_0x10a616(this,_0xa67eb2(0x23f)),_0x10a616(this,_0xa67eb2(0x4bb),!0x1),_0x10a616(this,_0xa67eb2(0x66f),null),(this[_0xa67eb2(0x687)]=_0x1797d4,this['_logService']=_0x16b5b7,this[_0xa67eb2(0x65c)]=_0x39cee1,this['_messageService']=_0x46b275,this[_0xa67eb2(0x366)]=_0xb142ab,this[_0xa67eb2(0x3d3)]=_0x3377b0,this[_0xa67eb2(0x2e5)]=_0x5e5271,this['_commentService']=_0x27f4f4,this['_telemetryService']=_0x11f3c3,this[_0xa67eb2(0x4bb)]=!!this[_0xa67eb2(0x34d)],_0x2dab9b['pipe'](_0x605d86['takeUntil'](this[_0xa67eb2(0x3ee)]))[_0xa67eb2(0x60e)](_0x5ea1e0=>{const _0x2ef5a5=_0xa67eb2;var _0xe770cf;typeof _0x5ea1e0>'u'||(this['_socket']=_0x5ea1e0,_0x5ea1e0?(this['_joinRoom'](_0x5ea1e0),this['_socketMessageSubscription']=_0x5ea1e0[_0x2ef5a5(0x643)][_0x2ef5a5(0x60e)](_0x1681ad=>{const _0x140f88=_0x2ef5a5;_0x1681ad[_0x140f88(0x508)]===this[_0x140f88(0x687)]&&this[_0x140f88(0x3d1)](_0x1681ad);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2ef5a5(0x4a0)]['next'](0x2),(_0xe770cf=this[_0x2ef5a5(0x674)])==null||_0xe770cf['unsubscribe'](),this[_0x2ef5a5(0x674)]=null));}),this[_0xa67eb2(0x225)](this[_0xa67eb2(0x65c)][_0xa67eb2(0x3e2)](()=>{const _0x38cded=_0xa67eb2;var _0x5d26a3;(_0x5d26a3=this[_0x38cded(0x68b)])==null||_0x5d26a3['send']({'cmd':_0x11592e['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x2ed730(0x31d)](){const _0x3ff208=_0x2ed730;return this[_0x3ff208(0x4a0)]['getValue']();}[_0x2ed730(0x5f9)](){const _0x436168=_0x2ed730;var _0x13ace1,_0x2784e2;return(_0x2784e2=(_0x13ace1=this[_0x436168(0x68b)])==null?void 0x0:_0x13ace1[_0x436168(0x45f)])!=null?_0x2784e2:null;}['dispose'](){const _0x5dc555=_0x2ed730;super['dispose'](),this[_0x5dc555(0x3ee)][_0x5dc555(0x4fe)](),this['dispose$']['complete']();}['close'](){const _0x56a18a=_0x2ed730;var _0x3f95fa,_0x5677ca;this[_0x56a18a(0x392)](),(_0x3f95fa=this[_0x56a18a(0x68b)])==null||_0x3f95fa[_0x56a18a(0x1fb)]({'cmd':_0x11592e[_0x56a18a(0x261)],'data':{'roomID':this['_unitID']}}),(_0x5677ca=this['_socket'])==null||_0x5677ca[_0x56a18a(0x2b3)](),this[_0x56a18a(0x260)]['complete'](),this[_0x56a18a(0x4a0)]['complete'](),this[_0x56a18a(0x368)]();}[_0x2ed730(0x3d1)](_0x16dc78){const _0x40c799=_0x2ed730;_0x16dc78[_0x40c799(0x483)]===_0x11592e[_0x40c799(0x3ab)]?this[_0x40c799(0x43e)](_0x16dc78):_0x16dc78[_0x40c799(0x483)]===_0x11592e[_0x40c799(0x497)]&&this[_0x40c799(0x591)](_0x16dc78);}['_joinRoom'](_0x1dd4e1){const _0x57f9f1=_0x2ed730;this[_0x57f9f1(0x4a0)][_0x57f9f1(0x4fe)](0x1),_0x1dd4e1[_0x57f9f1(0x1fb)]({'cmd':_0x11592e[_0x57f9f1(0x3ab)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x57f9f1(0x687)]}]}});}[_0x2ed730(0x43e)](_0x34c035){const _0x4491e9=_0x2ed730;var _0x25ff4c;if(_0x34c035[_0x4491e9(0x4ae)]in _0x5e48fc){this[_0x4491e9(0x451)][_0x4491e9(0x5f4)]({'type':_0x52328b[_0x4491e9(0x4b0)][_0x4491e9(0x590)],'content':this[_0x4491e9(0x3d3)]['t'](_0x5e48fc[_0x34c035[_0x4491e9(0x4ae)]])}),this[_0x4491e9(0x4a0)][_0x4491e9(0x4fe)](0x2);return;}this['_sessionStatus$'][_0x4491e9(0x4fe)](0x3);const _0xf29736=(_0x25ff4c=_0x34c035['data'][_0x4491e9(0x3a0)][this[_0x4491e9(0x687)]])==null?void 0x0:_0x25ff4c[_0x4491e9(0x1e0)];_0xf29736&&_0xf29736['forEach'](_0x50e442=>this[_0x4491e9(0x2e5)]['updateMember'](this[_0x4491e9(0x687)],_0x50e442));}[_0x2ed730(0x591)](_0x148a64){const _0x4dcf81=_0x2ed730;try{const _0x19e031=_0x148a64[_0x4dcf81(0x3a1)];switch(_0x19e031[_0x4dcf81(0x323)]){case _0x1c4909[_0x4dcf81(0x588)][_0x4dcf81(0x59b)]:this['_onUserJoin'](_0x19e031),this[_0x4dcf81(0x260)][_0x4dcf81(0x4fe)](_0x19e031);break;case _0x1c4909[_0x4dcf81(0x588)][_0x4dcf81(0x2e8)]:this[_0x4dcf81(0x25a)](_0x19e031),this[_0x4dcf81(0x260)][_0x4dcf81(0x4fe)](_0x19e031);break;case _0x1c4909[_0x4dcf81(0x588)][_0x4dcf81(0x53b)]:case _0x1c4909[_0x4dcf81(0x588)][_0x4dcf81(0x336)]:this[_0x4dcf81(0x359)](),this[_0x4dcf81(0x47d)](),this[_0x4dcf81(0x260)]['next'](_0x19e031);break;case _0x1c4909[_0x4dcf81(0x588)][_0x4dcf81(0x29b)]:this[_0x4dcf81(0x26b)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x4dcf81(0x541)](_0x19e031)),this[_0x4dcf81(0x260)][_0x4dcf81(0x4fe)](_0x19e031);break;case _0x1c4909[_0x4dcf81(0x588)][_0x4dcf81(0x50a)]:this[_0x4dcf81(0x50e)][_0x4dcf81(0x69d)](_0x19e031[_0x4dcf81(0x3a1)]),this[_0x4dcf81(0x260)]['next'](_0x19e031);break;default:this['_event$'][_0x4dcf81(0x4fe)](_0x19e031);}}catch(_0xfd5894){this['_logService'][_0x4dcf81(0x4c3)](_0xfd5894,_0x148a64);}}[_0x2ed730(0x446)](_0x564508){const _0x197921=_0x2ed730;this[_0x197921(0x2e5)]['updateMember'](this['_unitID'],_0x564508['data']);}['_onUserLeave'](_0x54d5f1){const _0x35aee1=_0x2ed730;this['_memberService'][_0x35aee1(0x2dd)](this[_0x35aee1(0x687)],_0x54d5f1[_0x35aee1(0x3a1)][_0x35aee1(0x45f)]);}async[_0x2ed730(0x1fb)](_0x4fd52f,_0x299364){const _0x881fdc=_0x2ed730;if(this[_0x881fdc(0x31d)]!==0x3||!this[_0x881fdc(0x68b)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4fd52f[_0x881fdc(0x323)]===_0x1c4909[_0x881fdc(0x588)][_0x881fdc(0x54a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x4fd52f)),this[_0x881fdc(0x68b)]['send']({'cmd':_0x11592e['INGEST'],'routeKey':_0x299364,'routeType':'','data':_0x4fd52f});}catch(_0x1eb7a4){this[_0x881fdc(0x26b)][_0x881fdc(0x4c3)](_0x1eb7a4);}}[_0x2ed730(0x26d)](){const _0xdece58=_0x2ed730;var _0x148b8e;this['_collaborationTimeoutTimer']=window[_0xdece58(0x69c)](()=>{const _0x31d686=_0xdece58;this[_0x31d686(0x23f)]=null,this[_0x31d686(0x451)][_0x31d686(0x5f4)]({'type':_0x52328b[_0x31d686(0x4b0)]['Error'],'content':this[_0x31d686(0x3d3)]['t'](_0x31d686(0x212))});},(_0x148b8e=this['_configService']['getConfig'](_0x302219))!=null?_0x148b8e:0x4e20);}[_0x2ed730(0x47d)](){const _0x291cab=_0x2ed730;this[_0x291cab(0x23f)]&&(clearTimeout(this[_0x291cab(0x23f)]),this[_0x291cab(0x23f)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x308082){const _0xd75559=_0x2ed730;if(!this[_0xd75559(0x4bb)])return;const {data:_0x222bbe}=_0x308082,{unitID:_0x5f2c0d,changeset:_0x486714}=_0x222bbe,{mutations:_0x4643e8,type:_0x555549}=_0x486714;this[_0xd75559(0x66f)]={'unitId':_0x5f2c0d,'type':_0x555549,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x3b0696(_0x4643e8)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x322f4d=_0x2ed730;if(this['_shouldReportTelemetry']){if(!this[_0x322f4d(0x66f)]){this[_0x322f4d(0x26b)]['error'](_0x322f4d(0x4e0),_0x322f4d(0x2d0));return;}this[_0x322f4d(0x66f)][_0x322f4d(0x4d1)]=performance[_0x322f4d(0x494)](),this['_telemetryInfo'][_0x322f4d(0x530)]=this[_0x322f4d(0x66f)][_0x322f4d(0x4d1)]-this[_0x322f4d(0x66f)][_0x322f4d(0x662)],this[_0x322f4d(0x34d)][_0x322f4d(0x422)](_0x37554d,this[_0x322f4d(0x66f)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0xb69a4a=_0x2ed730;this[_0xb69a4a(0x66f)]=null;}},_0x20c240[_0x2ed730(0x396)]=_0x171aa6([_0x13945b(0x2,_0x4d1a65[_0x2ed730(0x22f)]),_0x13945b(0x3,_0x247dcf['IBeforeCloseService']),_0x13945b(0x4,_0x247dcf['IMessageService']),_0x13945b(0x5,_0x4d1a65[_0x2ed730(0x28a)]),_0x13945b(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x353)])),_0x13945b(0x7,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x3bd)])),_0x13945b(0x8,_0x4d1a65[_0x2ed730(0x436)](_0x183101)),_0x13945b(0x9,_0x4d1a65[_0x2ed730(0x46a)](_0x26348a[_0x2ed730(0x281)]))],_0x20c240[_0x2ed730(0x396)]);var _0x5a7f26=Object[_0x2ed730(0x4ff)],_0x59fe8=Object[_0x2ed730(0x2c1)],_0xd61e16=(_0x48a5a6,_0x20c164,_0x4bac7b,_0x10b196)=>{for(var _0x21b1b6=_0x10b196>0x1?void 0x0:_0x10b196?_0x59fe8(_0x20c164,_0x4bac7b):_0x20c164,_0x3427a8=_0x48a5a6['length']-0x1,_0x3a140b;_0x3427a8>=0x0;_0x3427a8--)(_0x3a140b=_0x48a5a6[_0x3427a8])&&(_0x21b1b6=(_0x10b196?_0x3a140b(_0x20c164,_0x4bac7b,_0x21b1b6):_0x3a140b(_0x21b1b6))||_0x21b1b6);return _0x10b196&&_0x21b1b6&&_0x5a7f26(_0x20c164,_0x4bac7b,_0x21b1b6),_0x21b1b6;},_0x6e01b2=(_0x2a8b16,_0x12a567)=>(_0x456480,_0x221936)=>_0x12a567(_0x456480,_0x221936,_0x2a8b16);_0x20c240[_0x2ed730(0x480)]=class extends _0x4d1a65[_0x2ed730(0x512)]{constructor(_0x43c169,_0x5e6cd1,_0x1320d6,_0x28642b,_0x5d5f46,_0x2a083f,_0x2fa366){const _0x1748ac=_0x2ed730;super(),_0x10a616(this,'_socket$',new _0x605d86[(_0x1748ac(0x548))](void 0x0)),_0x10a616(this,_0x1748ac(0x67d),this[_0x1748ac(0x2a7)][_0x1748ac(0x5a9)]()),_0x10a616(this,_0x1748ac(0x4c8),null),_0x10a616(this,_0x1748ac(0x34f),new Map()),_0x10a616(this,_0x1748ac(0x55f),new _0x605d86[(_0x1748ac(0x548))](_0x2a1392[_0x1748ac(0x678)])),_0x10a616(this,_0x1748ac(0x5c5),this[_0x1748ac(0x55f)]['asObservable']()),_0x10a616(this,_0x1748ac(0x337),!0x1),_0x10a616(this,'_retryConnectingTimer'),_0x10a616(this,_0x1748ac(0x2e7),0x0),_0x10a616(this,_0x1748ac(0x5dc)),_0x10a616(this,_0x1748ac(0x644)),(this[_0x1748ac(0x574)]=_0x43c169,this[_0x1748ac(0x3d3)]=_0x5e6cd1,this[_0x1748ac(0x451)]=_0x1320d6,this[_0x1748ac(0x26b)]=_0x28642b,this[_0x1748ac(0x366)]=_0x5d5f46,this[_0x1748ac(0x227)]=_0x2a083f,this['_httpService']=_0x2fa366,this[_0x1748ac(0x218)]());}get['_socket'](){const _0x119952=_0x2ed730;return this[_0x119952(0x2a7)][_0x119952(0x279)]();}['_initEventListeners'](){const _0x2f2bfc=_0x2ed730;this[_0x2f2bfc(0x291)](),this[_0x2f2bfc(0x688)]();}[_0x2ed730(0x368)](){const _0x91b24d=_0x2ed730;super['dispose'](),this[_0x91b24d(0x34f)]['forEach'](_0x2ee2e8=>_0x2ee2e8[_0x91b24d(0x368)]()),this[_0x91b24d(0x34f)][_0x91b24d(0x24c)](),this[_0x91b24d(0x55f)][_0x91b24d(0x625)]();}async[_0x2ed730(0x430)](_0xc70991){const _0x470f2a=_0x2ed730;if(this[_0x470f2a(0x34f)][_0x470f2a(0x356)](_0xc70991))return this['_sessions'][_0x470f2a(0x3fd)](_0xc70991);this[_0x470f2a(0x3ef)]();const _0x424765=this[_0x470f2a(0x574)][_0x470f2a(0x51b)](_0x20c240['CollaborationSession'],_0xc70991,this[_0x470f2a(0x2a7)][_0x470f2a(0x5a9)]());return this[_0x470f2a(0x34f)][_0x470f2a(0x576)](_0xc70991,_0x424765),_0x424765;}[_0x2ed730(0x55d)](_0x327fe8){const _0x2aa29a=_0x2ed730;var _0x348735;const _0x29a393=this['_sessions'][_0x2aa29a(0x3fd)](_0x327fe8);_0x29a393&&(this['_sessions'][_0x2aa29a(0x3dc)](_0x327fe8),_0x29a393['close']()),this[_0x2aa29a(0x34f)]['size']||(_0x348735=this[_0x2aa29a(0x68b)])==null||_0x348735[_0x2aa29a(0x2b3)]();}['reconnect'](){const _0x2a3cac=_0x2ed730;this[_0x2a3cac(0x2e7)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2a3cac(0x61e)]),this[_0x2a3cac(0x61e)]=null),this['_tryReconnect']();}async[_0x2ed730(0x558)](){const _0x19cacb=_0x2ed730;var _0x18fec4,_0x1b6962,_0x232f36;const _0x26731d=this['_configService'][_0x19cacb(0x539)](_0x1f4f80),_0x2cb079=(_0x18fec4=_0x26731d==null?void 0x0:_0x26731d[_0x19cacb(0x66d)])!=null?_0x18fec4:_0x2f69ec;return(_0x232f36=(_0x1b6962=(await this[_0x19cacb(0x35d)][_0x19cacb(0x3fd)](_0x2cb079,{'headers':{'Content-Type':_0x19cacb(0x2b1)}}))[_0x19cacb(0x209)])==null?void 0x0:_0x1b6962[_0x19cacb(0x50c)])!=null?_0x232f36:'';}[_0x2ed730(0x20e)](_0x4b4c28){const _0x5a3390=_0x2ed730;var _0x18e352,_0x1a8c19;const _0x36e2ec=this[_0x5a3390(0x366)][_0x5a3390(0x539)](_0x2f8674),_0x3f7242=this[_0x5a3390(0x366)]['getConfig'](_0x1f4f80),_0x30fa5e=(_0x1a8c19=(_0x18e352=_0x3f7242==null?void 0x0:_0x3f7242[_0x5a3390(0x4f2)])!=null?_0x18e352:_0x36e2ec)!=null?_0x1a8c19:_0x1e4373,_0x224c29=new URL(_0x30fa5e,window[_0x5a3390(0x4a9)][_0x5a3390(0x381)]);return _0x224c29[_0x5a3390(0x40d)][_0x5a3390(0x576)](_0x5a3390(0x478),_0x4b4c28),_0x224c29['toString']();}async[_0x2ed730(0x1f9)](){const _0x438b8a=_0x2ed730,_0x5d0957=await this[_0x438b8a(0x558)](),_0x54bc39=this[_0x438b8a(0x20e)](_0x5d0957),_0x38881f=this[_0x438b8a(0x227)][_0x438b8a(0x352)](_0x54bc39);return this[_0x438b8a(0x4c8)]=_0x38881f,_0x38881f;}async['_tryEnsureSocket'](){const _0x9ed683=_0x2ed730;var _0x103729,_0x5544c6;try{const _0x2b0605=(_0x5544c6=(_0x103729=this[_0x9ed683(0x68b)])!=null?_0x103729:this[_0x9ed683(0x4c8)])!=null?_0x5544c6:await this[_0x9ed683(0x1f9)]();if(_0x2b0605){const _0x171560=_0x2b0605['send'];_0x2b0605[_0x9ed683(0x1fb)]=_0x94705a=>(this[_0x9ed683(0x2cc)](),_0x171560[_0x9ed683(0x3f1)](_0x2b0605,[_0x94705a])),_0x2b0605['message$'][_0x9ed683(0x60e)](_0x2bf06e=>this['_onMessage'](_0x2b0605,_0x2bf06e)),_0x2b0605['error$'][_0x9ed683(0x661)](_0x258e23[_0x9ed683(0x679)](0x1))[_0x9ed683(0x60e)](_0x3fc090=>this['_logService'][_0x9ed683(0x4c3)](_0x9ed683(0x32f),_0x3fc090)),_0x2b0605[_0x9ed683(0x442)]['pipe'](_0x258e23[_0x9ed683(0x679)](0x1))[_0x9ed683(0x60e)](()=>{const _0x3a2bfd=_0x9ed683;this[_0x3a2bfd(0x4ce)](_0x2b0605);}),_0x2b0605[_0x9ed683(0x4b8)][_0x9ed683(0x661)](_0x258e23[_0x9ed683(0x679)](0x1))[_0x9ed683(0x60e)](_0x57c54b=>{const _0x4a4a6b=_0x9ed683;this[_0x4a4a6b(0x26b)][_0x4a4a6b(0x4a4)]('[CollaborationSessionService]',_0x4a4a6b(0x2a4),_0x57c54b),this[_0x4a4a6b(0x43c)]();});}}catch(_0x290fbd){this[_0x9ed683(0x26b)][_0x9ed683(0x4c3)](_0x290fbd),this[_0x9ed683(0x43c)]();}}['_onConnectionOpen'](_0x11b12a){const _0x3bc345=_0x2ed730;this[_0x3bc345(0x26b)]['debug'](_0x3bc345(0x5c2),_0x3bc345(0x4b7)),_0x11b12a[_0x3bc345(0x1fb)]({'cmd':_0x11592e['HELLO']}),this['_rescheduleHeartbeat']();}[_0x2ed730(0x291)](){const _0x378d64=_0x2ed730;window['addEventListener'](_0x378d64(0x45c),()=>this[_0x378d64(0x5a2)]());}[_0x2ed730(0x5a2)](){const _0x528d0b=_0x2ed730;this[_0x528d0b(0x337)]=!0x1,this[_0x528d0b(0x4c8)]=null,this[_0x528d0b(0x55f)][_0x528d0b(0x4fe)](_0x2a1392[_0x528d0b(0x2a6)]),this['_socket$'][_0x528d0b(0x4fe)](null),this[_0x528d0b(0x614)](),this[_0x528d0b(0x382)]();}[_0x2ed730(0x43c)](){const _0x5ce3cc=_0x2ed730;var _0x5a05d4;this[_0x5ce3cc(0x5a2)](),this['_retryCount']<((_0x5a05d4=this[_0x5ce3cc(0x366)][_0x5ce3cc(0x539)](_0x147e62))!=null?_0x5a05d4:0x3)?(this[_0x5ce3cc(0x451)][_0x5ce3cc(0x5f4)]({'key':_0x5ce3cc(0x4a1),'type':_0x52328b[_0x5ce3cc(0x4b0)][_0x5ce3cc(0x590)],'content':this[_0x5ce3cc(0x3d3)]['t'](_0x5ce3cc(0x2a9))}),this[_0x5ce3cc(0x686)]()):this['_messageService'][_0x5ce3cc(0x5f4)]({'key':_0x5ce3cc(0x4a1),'type':_0x52328b[_0x5ce3cc(0x4b0)][_0x5ce3cc(0x1f8)],'content':this[_0x5ce3cc(0x3d3)]['t'](_0x5ce3cc(0x36c))});}[_0x2ed730(0x688)](){const _0x4e6291=_0x2ed730,_0x4c9ca1=()=>{const _0x1eae77=_0x3f6c;this[_0x1eae77(0x68b)]||this[_0x1eae77(0x5f3)]();},_0x4603aa=()=>{const _0x171e5a=_0x3f6c;this['_socket']||document[_0x171e5a(0x31b)]==='hidden'||this[_0x171e5a(0x5f3)]();};window[_0x4e6291(0x369)](_0x4e6291(0x2a2),_0x4c9ca1),document[_0x4e6291(0x369)](_0x4e6291(0x339),_0x4603aa);}['_tryReconnect'](){const _0xff9f3d=_0x2ed730;var _0x2bcb6e;const _0x733f76=this['_retryCount'],_0x19a594=this[_0xff9f3d(0x366)]['getConfig'](_0x1f4f80),_0x4487f6=_0x733f76===0x0?0x0:((_0x2bcb6e=_0x19a594==null?void 0x0:_0x19a594[_0xff9f3d(0x4e9)])!=null?_0x2bcb6e:0x4e20)*0x2**_0x733f76;this['_retryConnectingTimer']=window[_0xff9f3d(0x69c)](()=>{const _0x237f51=_0xff9f3d;clearTimeout(this[_0x237f51(0x61e)]),this[_0x237f51(0x61e)]=null,this[_0x237f51(0x3ef)]();},_0x4487f6),this['_retryCount']+=0x1;}['_onMessage'](_0x5a353e,_0x243187){const _0x5e0b77=_0x2ed730,{cmd:_0x340f82}=_0x243187;_0x340f82===_0x11592e['HELLO']&&!this[_0x5e0b77(0x337)]&&(_0x5a353e[_0x5e0b77(0x45f)]=_0x243187[_0x5e0b77(0x3a1)][_0x5e0b77(0x45f)],this[_0x5e0b77(0x2a7)][_0x5e0b77(0x4fe)](_0x5a353e),this[_0x5e0b77(0x55f)][_0x5e0b77(0x4fe)](_0x2a1392[_0x5e0b77(0x28b)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x340f82===_0x11592e[_0x5e0b77(0x393)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x2ed730(0x2cc)](){const _0x8c9b14=_0x2ed730;var _0x1dc9df;this[_0x8c9b14(0x382)](),this[_0x8c9b14(0x5dc)]=window['setTimeout'](()=>this[_0x8c9b14(0x658)](),(_0x1dc9df=this[_0x8c9b14(0x366)][_0x8c9b14(0x539)](_0x5adefd))!=null?_0x1dc9df:0x7530);}[_0x2ed730(0x658)](){const _0x53ba83=_0x2ed730;this[_0x53ba83(0x68b)][_0x53ba83(0x1fb)]({'cmd':_0x11592e[_0x53ba83(0x393)]}),this[_0x53ba83(0x411)]();}[_0x2ed730(0x411)](){const _0x6632b6=_0x2ed730;var _0x3c7996;this[_0x6632b6(0x644)]=window[_0x6632b6(0x69c)](()=>this[_0x6632b6(0x43c)](),(_0x3c7996=this[_0x6632b6(0x366)][_0x6632b6(0x539)](_0x302219))!=null?_0x3c7996:0x4e20);}[_0x2ed730(0x382)](){const _0x42c9eb=_0x2ed730;this[_0x42c9eb(0x5dc)]!=null&&(clearTimeout(this[_0x42c9eb(0x5dc)]),this[_0x42c9eb(0x5dc)]=null);}[_0x2ed730(0x614)](){const _0x48feab=_0x2ed730;this[_0x48feab(0x644)]!=null&&(clearTimeout(this[_0x48feab(0x644)]),this['_timeoutTimer']=null);}},_0x20c240[_0x2ed730(0x480)]=_0xd61e16([_0x6e01b2(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x6e01b2(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x353)])),_0x6e01b2(0x2,_0x247dcf[_0x2ed730(0x1c7)]),_0x6e01b2(0x3,_0x4d1a65[_0x2ed730(0x22f)]),_0x6e01b2(0x4,_0x4d1a65[_0x2ed730(0x28a)]),_0x6e01b2(0x5,_0x235b38),_0x6e01b2(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x4ccb02[_0x2ed730(0x659)]))],_0x20c240[_0x2ed730(0x480)]);const _0x25c3e1=[];for(let _0xf6f14a=0x0;_0xf6f14a<0x100;++_0xf6f14a)_0x25c3e1[_0x2ed730(0x4ef)]((_0xf6f14a+0x100)[_0x2ed730(0x485)](0x10)['slice'](0x1));function _0x471ed5(_0x4d05c5,_0x17bf7a=0x0){const _0x3a43f1=_0x2ed730;return(_0x25c3e1[_0x4d05c5[_0x17bf7a+0x0]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x1]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x2]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x3]]+'-'+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x4]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x5]]+'-'+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x6]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x7]]+'-'+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x8]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0x9]]+'-'+_0x25c3e1[_0x4d05c5[_0x17bf7a+0xa]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0xb]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0xc]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0xd]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0xe]]+_0x25c3e1[_0x4d05c5[_0x17bf7a+0xf]])[_0x3a43f1(0x4be)]();}let _0x4174b4;const _0xba5abb=new Uint8Array(0x10);function _0x4c3aa7(){const _0x18668d=_0x2ed730;if(!_0x4174b4){if(typeof crypto>'u'||!crypto[_0x18668d(0x567)])throw new Error(_0x18668d(0x62c));_0x4174b4=crypto['getRandomValues'][_0x18668d(0x647)](crypto);}return _0x4174b4(_0xba5abb);}const _0x2ffcdd={'randomUUID':typeof crypto<'u'&&crypto[_0x2ed730(0x3ae)]&&crypto[_0x2ed730(0x3ae)]['bind'](crypto)};function _0x4ce6b5(_0x421121,_0x289b6b,_0x3f90c1){const _0x8cc487=_0x2ed730;if(_0x2ffcdd[_0x8cc487(0x3ae)]&&!_0x289b6b&&!_0x421121)return _0x2ffcdd[_0x8cc487(0x3ae)]();_0x421121=_0x421121||{};const _0x3d5f4f=_0x421121[_0x8cc487(0x2b5)]||(_0x421121['rng']||_0x4c3aa7)();return _0x3d5f4f[0x6]=_0x3d5f4f[0x6]&0xf|0x40,_0x3d5f4f[0x8]=_0x3d5f4f[0x8]&0x3f|0x80,_0x471ed5(_0x3d5f4f);}var _0x3fd0ee=Object[_0x2ed730(0x4ff)],_0x1a00fa=Object[_0x2ed730(0x2c1)],_0x33be40=(_0xab1f4b,_0xbd5f55,_0x2fd6d4,_0x11fd72)=>{const _0x381797=_0x2ed730;for(var _0x26d384=_0x11fd72>0x1?void 0x0:_0x11fd72?_0x1a00fa(_0xbd5f55,_0x2fd6d4):_0xbd5f55,_0x2ecb2d=_0xab1f4b[_0x381797(0x465)]-0x1,_0x5d6815;_0x2ecb2d>=0x0;_0x2ecb2d--)(_0x5d6815=_0xab1f4b[_0x2ecb2d])&&(_0x26d384=(_0x11fd72?_0x5d6815(_0xbd5f55,_0x2fd6d4,_0x26d384):_0x5d6815(_0x26d384))||_0x26d384);return _0x11fd72&&_0x26d384&&_0x3fd0ee(_0xbd5f55,_0x2fd6d4,_0x26d384),_0x26d384;},_0x1a5342=(_0x32b1c7,_0x4de3e7)=>(_0x974f08,_0x232e10)=>_0x4de3e7(_0x974f08,_0x232e10,_0x32b1c7);let _0x101d45=class{constructor(_0x3bc595,_0x4f6a19,_0x9180a9){const _0x556df1=_0x2ed730;this[_0x556df1(0x574)]=_0x3bc595,this['_transformService']=_0x4f6a19,this[_0x556df1(0x55b)]=_0x9180a9;}[_0x2ed730(0x40e)](_0x4b3303){const _0x194435=_0x2ed730;this[_0x194435(0x5dd)](_0x4b3303),this[_0x194435(0x2aa)](_0x4b3303);}[_0x2ed730(0x532)](_0x38380a){const _0xc43eba=_0x2ed730,{unitID:_0x350fd8}=_0x38380a,_0x44bfbe=this[_0xc43eba(0x55b)][_0xc43eba(0x640)](_0x350fd8)[_0xc43eba(0x531)](_0x3f56ba[_0xc43eba(0x3f0)]),{redoCache:_0x413b72}=_0x44bfbe['getUndoRedoMutationParamsCache']();if(_0x413b72[_0xc43eba(0x465)]===0x0)return _0x38380a;let _0x2c423f=_0x4d1a65['Tools'][_0xc43eba(0x346)](_0x38380a['mutations'][0x0]);for(let _0x107120=0x0;_0x107120<_0x413b72[_0xc43eba(0x465)];_0x107120++){const _0x4e3707={'id':'doc.mutation.rich-text-editing','params':{..._0x413b72[_0x107120]}},_0x53ae2c=this[_0xc43eba(0x404)][_0xc43eba(0x5a1)](_0x2c423f,_0x4e3707,!0x1);if(_0x1c4909[_0xc43eba(0x533)](_0x53ae2c))throw _0x53ae2c[_0xc43eba(0x4c3)];_0x2c423f=_0x53ae2c[_0xc43eba(0x2c3)];}return{..._0x4d1a65[_0xc43eba(0x4bf)][_0xc43eba(0x346)](_0x38380a),'mutations':[_0x2c423f]};}['_transformUndoRedoStack'](_0x755433){const _0x212593=_0x2ed730,{unitID:_0x175aad}=_0x755433,_0x5c298d=this['_renderManagerService'][_0x212593(0x640)](_0x175aad)['with'](_0x3f56ba[_0x212593(0x3f0)]),{undoCache:_0x4b6d6c,redoCache:_0x393c00}=_0x5c298d[_0x212593(0x2ab)]();if(_0x4b6d6c[_0x212593(0x465)]===0x0||_0x393c00[_0x212593(0x465)]===0x0)return;const _0x5c5669=[],_0x4e6480=[];let _0x17a3c1=_0x4d1a65[_0x212593(0x4bf)][_0x212593(0x346)](_0x755433['mutations'][0x0]),_0x4d08ce=_0x4d1a65[_0x212593(0x4bf)][_0x212593(0x346)](_0x755433['mutations'][0x0]);for(let _0x1288d6=_0x4b6d6c[_0x212593(0x465)]-0x1;_0x1288d6>=0x0;_0x1288d6--){const _0x24a67b={'id':_0x212593(0x3b0),'params':{..._0x4b6d6c[_0x1288d6]}},_0x1225f0={'id':_0x212593(0x3b0),'params':{..._0x393c00[_0x1288d6]}},_0x104421=this[_0x212593(0x404)][_0x212593(0x5a1)](_0x17a3c1,_0x24a67b,!0x1),_0x15f9c0=this[_0x212593(0x404)]['transformMutation'](_0x4d08ce,_0x1225f0,!0x1);if(_0x1c4909[_0x212593(0x533)](_0x104421))throw _0x104421[_0x212593(0x4c3)];if(_0x1c4909[_0x212593(0x533)](_0x15f9c0))throw _0x15f9c0['error'];_0x5c5669[_0x212593(0x200)](_0x104421[_0x212593(0x5f1)][_0x212593(0x36d)]),_0x4e6480['unshift'](_0x15f9c0[_0x212593(0x5f1)][_0x212593(0x36d)]),_0x17a3c1=_0x104421[_0x212593(0x2c3)],_0x4d08ce=_0x15f9c0['m1Prime'];}_0x5c298d['setUndoRedoMutationParamsCache']({'undoCache':_0x5c5669,'redoCache':_0x4e6480});}[_0x2ed730(0x2aa)](_0x1453fc){const _0x21dc49=_0x2ed730,{unitID:_0x5f3bb7}=_0x1453fc,_0x5dbbe0=this[_0x21dc49(0x55b)][_0x21dc49(0x640)](_0x5f3bb7)[_0x21dc49(0x531)](_0x3f56ba[_0x21dc49(0x3f0)]),_0x116d06=_0x5dbbe0['getActiveRange']();if(_0x116d06==null)return;const _0x3553b7=[{'id':_0x21dc49(0x3b0),'params':{'unitId':_0x1453fc['unitID'],'actions':null,'textRanges':[_0x116d06]}}],_0x2b0299=this[_0x21dc49(0x404)][_0x21dc49(0x40b)](_0x1453fc,_0x3553b7);if(!_0x1c4909['isTransformMutationsWithChangesetSuccess'](_0x2b0299))throw _0x2b0299[_0x21dc49(0x4c3)];const _0x36b30b=_0x2b0299[_0x21dc49(0x5f1)][0x0][_0x21dc49(0x36d)]['textRanges'];Array['isArray'](_0x36b30b)&&_0x36b30b[_0x21dc49(0x465)]&&_0x5dbbe0['setActiveRange'](_0x36b30b[0x0]);}};_0x101d45=_0x33be40([_0x1a5342(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x1a5342(0x1,_0x1c4909[_0x2ed730(0x438)]),_0x1a5342(0x2,_0x50692e[_0x2ed730(0x257)])],_0x101d45);var _0x159f2f=Object['defineProperty'],_0xcb4b23=Object[_0x2ed730(0x2c1)],_0x4a5c5e=(_0x5cfdd5,_0x39f64a,_0x169e66,_0xedc7f5)=>{const _0xb3a6b4=_0x2ed730;for(var _0x148ce0=_0xedc7f5>0x1?void 0x0:_0xedc7f5?_0xcb4b23(_0x39f64a,_0x169e66):_0x39f64a,_0x323815=_0x5cfdd5[_0xb3a6b4(0x465)]-0x1,_0x94be15;_0x323815>=0x0;_0x323815--)(_0x94be15=_0x5cfdd5[_0x323815])&&(_0x148ce0=(_0xedc7f5?_0x94be15(_0x39f64a,_0x169e66,_0x148ce0):_0x94be15(_0x148ce0))||_0x148ce0);return _0xedc7f5&&_0x148ce0&&_0x159f2f(_0x39f64a,_0x169e66,_0x148ce0),_0x148ce0;},_0x519974=(_0x387479,_0x45ced2)=>(_0x2dc4ea,_0x490e66)=>_0x45ced2(_0x2dc4ea,_0x490e66,_0x387479);_0x20c240[_0x2ed730(0x5f8)]=class extends _0x4d1a65[_0x2ed730(0x512)]{constructor(_0x3424e4,_0x32d59a,_0xf5d16f,_0x353101,_0x1b41af){const _0x142c9b=_0x2ed730;super(),_0x10a616(this,_0x142c9b(0x3fb),new Map()),_0x10a616(this,_0x142c9b(0x5ea),new Map()),_0x10a616(this,_0x142c9b(0x33b),!0x1),(this[_0x142c9b(0x366)]=_0x3424e4,this[_0x142c9b(0x4e4)]=_0x32d59a,this[_0x142c9b(0x65c)]=_0xf5d16f,this[_0x142c9b(0x3d3)]=_0x353101,this[_0x142c9b(0x474)]=_0x1b41af,this[_0x142c9b(0x603)]());}['disableLocalCache'](){const _0x8734eb=_0x2ed730;this[_0x8734eb(0x33b)]=!0x0;}[_0x2ed730(0x499)](){this['_disabled']=!0x1;}['dispose'](){const _0x26ecd4=_0x2ed730;this[_0x26ecd4(0x5b6)]()[_0x26ecd4(0x3a8)](()=>super['dispose']());}async[_0x2ed730(0x32b)](_0x4f6df3){const _0x3670db=_0x2ed730;return this[_0x3670db(0x33b)]?null:this['_localStorageService'][_0x3670db(0x660)](_0x15e883(_0x4f6df3));}async[_0x2ed730(0x345)](_0x537160,_0x3c0bc5){const _0xa5f39c=_0x2ed730;return!!this[_0xa5f39c(0x4e4)]['setItem'](_0x537160,_0x3c0bc5);}[_0x2ed730(0x3b1)](_0xb663c6,_0x48b392,_0x5244ea,_0x230dd9){const _0x46a88f=_0x2ed730,_0x2ad297=this['_revisionService']['getCurrentRevOfUnit'](_0xb663c6);this[_0x46a88f(0x3fb)][_0x46a88f(0x576)](_0xb663c6,{'unitID':_0xb663c6,'type':_0x48b392,'awaitingChangeset':_0x5244ea,'mutations':_0x230dd9,'rev':_0x2ad297}),this['_saveTaskMap'][_0x46a88f(0x356)](_0xb663c6)||this['_scheduleSaving'](_0xb663c6);}['_scheduleSaving'](_0x18072d){const _0xc8b2ba=_0x2ed730,_0x30352d=this[_0xc8b2ba(0x486)]();_0x30352d===0x0?this[_0xc8b2ba(0x655)](_0x18072d):this[_0xc8b2ba(0x5ea)]['set'](_0x18072d,setTimeout(()=>this['_saveCache'](_0x18072d),_0x30352d));}[_0x2ed730(0x486)](){const _0x29bbb0=_0x2ed730;var _0x2db0cb;return(_0x2db0cb=this['_configService'][_0x29bbb0(0x539)](_0x57a927))!=null?_0x2db0cb:0x3e8;}[_0x2ed730(0x655)](_0x5ee630){const _0x6370a6=_0x2ed730,_0x58b8ce=this[_0x6370a6(0x5ea)][_0x6370a6(0x3fd)](_0x5ee630);return _0x58b8ce!==void 0x0&&window[_0x6370a6(0x4ed)](_0x58b8ce),this[_0x6370a6(0x4e4)][_0x6370a6(0x5de)](_0x15e883(_0x5ee630),this[_0x6370a6(0x3fb)][_0x6370a6(0x3fd)](_0x5ee630))['then'](()=>this['_saveTaskMap'][_0x6370a6(0x3dc)](_0x5ee630));}async['exhaustSavingTask'](){const _0x3e28e8=_0x2ed730,_0x50af4a=[];this[_0x3e28e8(0x5ea)][_0x3e28e8(0x587)]((_0x499649,_0x4916ee)=>{const _0x5e20a1=_0x3e28e8;window['clearTimeout'](_0x499649),_0x50af4a['push'](this['_saveCache'](_0x4916ee)[_0x5e20a1(0x3a8)](()=>{const _0x4af968=_0x5e20a1;this[_0x4af968(0x5ea)][_0x4af968(0x3dc)](_0x4916ee);}));}),await Promise[_0x3e28e8(0x283)](_0x50af4a);}[_0x2ed730(0x603)](){const _0xcb951f=_0x2ed730;this[_0xcb951f(0x225)](this[_0xcb951f(0x65c)][_0xcb951f(0x57d)](()=>{const _0x431358=_0xcb951f;if(this[_0x431358(0x5ea)][_0x431358(0x294)])return this[_0x431358(0x3d3)]['t'](_0x431358(0x357));}));}},_0x20c240[_0x2ed730(0x5f8)]=_0x4a5c5e([_0x519974(0x0,_0x4d1a65[_0x2ed730(0x28a)]),_0x519974(0x1,_0x4d1a65['ILocalStorageService']),_0x519974(0x2,_0x247dcf[_0x2ed730(0x375)]),_0x519974(0x3,_0x4d1a65['Inject'](_0x4d1a65[_0x2ed730(0x353)])),_0x519974(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x48e)]))],_0x20c240[_0x2ed730(0x5f8)]);function _0x15e883(_0xe00a5b){const _0x6afb13=_0x2ed730;return _0x6afb13(0x5ad)+_0xe00a5b;}var _0x1fffc8=Object[_0x2ed730(0x4ff)],_0x4b4c83=Object[_0x2ed730(0x2c1)],_0x2b190f=(_0x9c23aa,_0x1cdc6a,_0x39d707,_0x43668a)=>{const _0x44c9f1=_0x2ed730;for(var _0x1cb3fc=_0x43668a>0x1?void 0x0:_0x43668a?_0x4b4c83(_0x1cdc6a,_0x39d707):_0x1cdc6a,_0x43793c=_0x9c23aa[_0x44c9f1(0x465)]-0x1,_0x22aa61;_0x43793c>=0x0;_0x43793c--)(_0x22aa61=_0x9c23aa[_0x43793c])&&(_0x1cb3fc=(_0x43668a?_0x22aa61(_0x1cdc6a,_0x39d707,_0x1cb3fc):_0x22aa61(_0x1cb3fc))||_0x1cb3fc);return _0x43668a&&_0x1cb3fc&&_0x1fffc8(_0x1cdc6a,_0x39d707,_0x1cb3fc),_0x1cb3fc;},_0x52b50f=(_0x5f4ac6,_0x535edf)=>(_0x51fb0f,_0x3db7bb)=>_0x535edf(_0x51fb0f,_0x3db7bb,_0x5f4ac6);function _0x31b1f9(_0x51b65e){const _0x499f96=_0x2ed730,{unitID:_0x430807,mutations:_0x160fd0}=_0x51b65e;return{'unitId':_0x430807,'subUnitId':_0x160fd0[0x0][_0x499f96(0x36d)][_0x499f96(0x1e6)]};}let _0x5f1684=class{constructor(_0x4ac2fb,_0x303bf3,_0x39a9bd){const _0x52d85f=_0x2ed730;this[_0x52d85f(0x574)]=_0x4ac2fb,this[_0x52d85f(0x404)]=_0x303bf3,this[_0x52d85f(0x66a)]=_0x39a9bd;}[_0x2ed730(0x2f5)](_0x2b9967){const _0x2a4c10=_0x2ed730;var _0x239b8f,_0x392c9a,_0x3b1544,_0x4e24fe;const _0x57ce80=this[_0x2a4c10(0x574)][_0x2a4c10(0x3fd)](_0x371d26[_0x2a4c10(0x21a)]),{unitId:_0x18af1f,subUnitId:_0x43052a}=_0x31b1f9(_0x2b9967),_0x32c55b=_0x57ce80[_0x2a4c10(0x33f)](_0x18af1f)['getCurrentSelections'](),_0x4e05c7=(_0x392c9a=(_0x239b8f=this['_instanceService']['getUnit'](_0x18af1f))==null?void 0x0:_0x239b8f[_0x2a4c10(0x2f9)]())==null?void 0x0:_0x392c9a[_0x2a4c10(0x3cf)]();if(_0x32c55b[_0x2a4c10(0x465)]===0x0||!_0x18af1f||!_0x43052a)return;const _0xeceff=[{'id':_0x371d26[_0x2a4c10(0x493)]['id'],'params':{'unitId':_0x18af1f,'subUnitId':_0x4e05c7,'selections':_0x4d1a65[_0x2a4c10(0x4bf)][_0x2a4c10(0x346)](_0x32c55b)}}],_0x168d9e=this['_transformService'][_0x2a4c10(0x40b)](_0x2b9967,_0xeceff);if(!_0x1c4909[_0x2a4c10(0x2cf)](_0x168d9e))throw _0x168d9e[_0x2a4c10(0x4c3)];const _0x377320=(_0x4e24fe=(_0x3b1544=_0x168d9e[_0x2a4c10(0x5f1)][0x0])==null?void 0x0:_0x3b1544[_0x2a4c10(0x36d)])==null?void 0x0:_0x4e24fe[_0x2a4c10(0x5b8)];if(Array['isArray'](_0x377320)&&_0x377320[_0x2a4c10(0x465)]){if(_0x377320['length']===_0xeceff[0x0][_0x2a4c10(0x36d)][_0x2a4c10(0x5b8)]['length']&&_0x377320['every']((_0x485370,_0x2aed11)=>_0x4d1a65['Rectangle'][_0x2a4c10(0x584)](_0x485370[_0x2a4c10(0x689)],_0xeceff[0x0][_0x2a4c10(0x36d)][_0x2a4c10(0x5b8)][_0x2aed11][_0x2a4c10(0x689)])))return;this['_injector'][_0x2a4c10(0x3fd)](_0x4d1a65[_0x2a4c10(0x38f)])[_0x2a4c10(0x308)](_0x371d26['SetSelectionsOperation']['id'],{'unitId':_0x18af1f,'subUnitId':_0x4e05c7,'selections':_0x377320});}}};_0x5f1684=_0x2b190f([_0x52b50f(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x52b50f(0x1,_0x1c4909[_0x2ed730(0x438)]),_0x52b50f(0x2,_0x4d1a65[_0x2ed730(0x312)])],_0x5f1684);const _0x1f7abf=_0x4d1a65['createIdentifier'](_0x2ed730(0x45d));var _0x23949a=(_0x647983=>(_0x647983[_0x647983[_0x2ed730(0x3b6)]=0x0]=_0x2ed730(0x3b6),_0x647983[_0x647983[_0x2ed730(0x2af)]=0x1]=_0x2ed730(0x2af),_0x647983))(_0x23949a||{});const _0x280f20=0x7530,_0x5f3fe0=_0x2ed730(0x51f);class _0x29d807 extends _0x4d1a65[_0x2ed730(0x512)]{constructor(){const _0x572709=_0x2ed730;super(),_0x10a616(this,_0x572709(0x4b4),_0x4d1a65['Tools'][_0x572709(0x5a5)]()),_0x10a616(this,'_selfUnitIDs',new Set()),_0x10a616(this,_0x572709(0x473),new Map()),_0x10a616(this,_0x572709(0x41a),null),_0x10a616(this,_0x572709(0x4a3),new Map()),_0x10a616(this,_0x572709(0x1ec),new Map()),this[_0x572709(0x69b)]();}[_0x2ed730(0x368)](){const _0x335b2e=_0x2ed730;super[_0x335b2e(0x368)](),this[_0x335b2e(0x4a3)][_0x335b2e(0x587)]((_0x271669,_0x490d4f)=>this[_0x335b2e(0x6a3)](_0x490d4f)),this[_0x335b2e(0x41a)]&&window[_0x335b2e(0x1f0)](this[_0x335b2e(0x41a)]);}[_0x2ed730(0x39a)](_0xd2af89){const _0x15a7ac=_0x2ed730;return this[_0x15a7ac(0x276)](_0xd2af89)[_0x15a7ac(0x661)](_0x605d86[_0x15a7ac(0x6a7)]());}[_0x2ed730(0x3fa)](_0x243a1f){const _0x3b967b=_0x2ed730;this[_0x3b967b(0x2e3)][_0x3b967b(0x294)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x243a1f),this['_send']({'type':0x0,'memberID':this[_0x3b967b(0x4b4)],'unitIDs':[_0x243a1f],'isForwarded':!0x1});}['disposeUnit'](_0x62937b){const _0x6f496d=_0x2ed730;this[_0x6f496d(0x2e3)][_0x6f496d(0x3dc)](_0x62937b),this[_0x6f496d(0x2e3)][_0x6f496d(0x294)]===0x0&&this[_0x6f496d(0x41a)]&&window[_0x6f496d(0x1f0)](this[_0x6f496d(0x41a)]);}[_0x2ed730(0x69b)](){const _0x2a59b8=_0x2ed730;this[_0x2a59b8(0x225)](_0x4d1a65['toDisposable'](_0x605d86[_0x2a59b8(0x6a0)](window,_0x2a59b8(0x282))['subscribe'](_0x8261b9=>{const _0x6c7d77=_0x2a59b8;if(_0x8261b9[_0x6c7d77(0x29a)]!==_0x5f3fe0||!_0x8261b9[_0x6c7d77(0x523)])return;const _0x22b63d=JSON['parse'](_0x8261b9[_0x6c7d77(0x523)]);this[_0x6c7d77(0x2a0)](_0x22b63d);}))),window[_0x2a59b8(0x369)](_0x2a59b8(0x4f6),()=>this[_0x2a59b8(0x69a)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x1b6eab){const _0x21f3f5=_0x2ed730;switch(_0x1b6eab[_0x21f3f5(0x4ee)]){case 0x0:this[_0x21f3f5(0x457)](_0x1b6eab);break;case 0x1:this[_0x21f3f5(0x5af)](_0x1b6eab);break;case 0x2:this['_handleHeartbeatEvent'](_0x1b6eab);break;}}['_handleJoinEvent'](_0x244b29){const _0x5e6efb=_0x2ed730,{unitIDs:_0x46c29c,memberID:_0x11562a,isForwarded:_0x18fd74}=_0x244b29;_0x46c29c[_0x5e6efb(0x587)](_0x204de5=>{const _0x1ab921=_0x5e6efb;if(!_0x18fd74&&this['_unitOnClients']['has'](_0x204de5)&&this[_0x1ab921(0x276)](_0x204de5)[_0x1ab921(0x4fe)](0x1),!this[_0x1ab921(0x473)][_0x1ab921(0x356)](_0x204de5)||!this[_0x1ab921(0x473)][_0x1ab921(0x3fd)](_0x204de5)[_0x1ab921(0x356)](_0x11562a)){const _0x1d9037=this[_0x1ab921(0x473)]['get'](_0x204de5)||new Set();_0x1d9037[_0x1ab921(0x4f4)](_0x11562a),this[_0x1ab921(0x473)][_0x1ab921(0x576)](_0x204de5,_0x1d9037),this[_0x1ab921(0x355)](_0x11562a);}}),_0x18fd74||this[_0x5e6efb(0x69a)]({'type':0x0,'memberID':this[_0x5e6efb(0x4b4)],'unitIDs':[...this[_0x5e6efb(0x2e3)]],'isForwarded':!0x0});}[_0x2ed730(0x355)](_0x260384){const _0xd2b0c=_0x2ed730;this[_0xd2b0c(0x6a3)](_0x260384);const _0x1906c6=window[_0xd2b0c(0x69c)](()=>{const _0x4633cd=_0xd2b0c;this[_0x4633cd(0x473)][_0x4633cd(0x587)](_0x25d4f9=>{const _0x55e74a=_0x4633cd;_0x25d4f9[_0x55e74a(0x3dc)](_0x260384);});},_0x280f20*0x2);this[_0xd2b0c(0x4a3)][_0xd2b0c(0x576)](_0x260384,_0x1906c6);}[_0x2ed730(0x6a3)](_0x551995){const _0x42e5b0=_0x2ed730;if(this[_0x42e5b0(0x4a3)][_0x42e5b0(0x356)](_0x551995)){const _0x293605=this[_0x42e5b0(0x4a3)][_0x42e5b0(0x3fd)](_0x551995);_0x293605&&window['clearTimeout'](_0x293605),this[_0x42e5b0(0x4a3)][_0x42e5b0(0x576)](_0x551995,null);}}[_0x2ed730(0x5af)](_0x220f9a){const _0x55a2f3=_0x2ed730,{memberID:_0x36ded2,unitIDs:_0x40fa8c}=_0x220f9a;_0x40fa8c[_0x55a2f3(0x587)](_0x3497ba=>{const _0x5bd837=_0x55a2f3;var _0x2db2bc;const _0x281072=this[_0x5bd837(0x473)][_0x5bd837(0x3fd)](_0x3497ba);_0x281072&&(_0x281072[_0x5bd837(0x3dc)](_0x36ded2),(_0x2db2bc=this[_0x5bd837(0x276)](_0x3497ba))==null||_0x2db2bc[_0x5bd837(0x4fe)](_0x281072['size']===0x0?0x0:0x1));}),this[_0x55a2f3(0x6a3)](_0x36ded2);}[_0x2ed730(0x32a)](_0xeab4ef){const _0x56e5c9=_0x2ed730;this[_0x56e5c9(0x355)](_0xeab4ef[_0x56e5c9(0x45f)]);}[_0x2ed730(0x69a)](_0x389fb0){localStorage['setItem'](_0x5f3fe0,JSON['stringify'](_0x389fb0));}[_0x2ed730(0x310)](){const _0x31de68=_0x2ed730;this[_0x31de68(0x41a)]=window[_0x31de68(0x6a5)](()=>{const _0x230d57=_0x31de68;this[_0x230d57(0x69a)]({'type':0x2,'memberID':this[_0x230d57(0x4b4)]});},_0x280f20);}['_ensureSubject'](_0x1b79c9){const _0xaf4a3=_0x2ed730;return this[_0xaf4a3(0x1ec)]['has'](_0x1b79c9)||this[_0xaf4a3(0x1ec)]['set'](_0x1b79c9,new _0x605d86[(_0xaf4a3(0x548))](0x0)),this[_0xaf4a3(0x1ec)][_0xaf4a3(0x3fd)](_0x1b79c9);}}var _0x42d375=Object['defineProperty'],_0x1e8764=Object['getOwnPropertyDescriptor'],_0x5efe50=(_0x520312,_0x333cea,_0x2c8b8f,_0x41b778)=>{const _0x4633be=_0x2ed730;for(var _0x12d62a=_0x41b778>0x1?void 0x0:_0x41b778?_0x1e8764(_0x333cea,_0x2c8b8f):_0x333cea,_0x5070b2=_0x520312[_0x4633be(0x465)]-0x1,_0x40e588;_0x5070b2>=0x0;_0x5070b2--)(_0x40e588=_0x520312[_0x5070b2])&&(_0x12d62a=(_0x41b778?_0x40e588(_0x333cea,_0x2c8b8f,_0x12d62a):_0x40e588(_0x12d62a))||_0x12d62a);return _0x41b778&&_0x12d62a&&_0x42d375(_0x333cea,_0x2c8b8f,_0x12d62a),_0x12d62a;},_0x41fb6d=(_0x183712,_0x4e11ab)=>(_0x3996f2,_0x43957f)=>_0x4e11ab(_0x3996f2,_0x43957f,_0x183712);let _0xcc4ee4=class{constructor(_0x2b720e,_0x27577e,_0x220902){const _0x29fde0=_0x2ed730;this[_0x29fde0(0x574)]=_0x2b720e,this[_0x29fde0(0x404)]=_0x27577e,this[_0x29fde0(0x68c)]=_0x220902;}[_0x2ed730(0x56d)](_0xa06fb6){this['_transformHistoryAndStateStack'](_0xa06fb6);}[_0x2ed730(0x532)](_0x15e750){const _0x5443ec=_0x2ed730,{unitID:_0x4216e5}=_0x15e750,{collaboration:_0x191487}=this['_docStateChangeManagerService']['getStateCache'](_0x4216e5);if(_0x191487['length']===0x0)return _0x15e750;let _0x53d807=_0x4d1a65[_0x5443ec(0x4bf)][_0x5443ec(0x346)](_0x15e750[_0x5443ec(0x3df)][0x0]);for(let _0x332996=0x0;_0x332996<_0x191487[_0x5443ec(0x465)];_0x332996++){const _0x5a5916={'id':_0x5443ec(0x3b0),'params':{'unitId':_0x191487[_0x332996][_0x5443ec(0x578)],..._0x191487[_0x332996]['redoState']}},_0x19ce69=this[_0x5443ec(0x404)][_0x5443ec(0x5a1)](_0x53d807,_0x5a5916,!0x1);if(_0x1c4909[_0x5443ec(0x533)](_0x19ce69))throw _0x19ce69[_0x5443ec(0x4c3)];_0x53d807=_0x19ce69['m1Prime'];}return{..._0x4d1a65[_0x5443ec(0x4bf)]['deepClone'](_0x15e750),'mutations':[_0x53d807]};}[_0x2ed730(0x303)](_0x143a31){const _0x574784=_0x2ed730,{unitID:_0x3849ad}=_0x143a31,{history:_0x104fd9,collaboration:_0x251026}=this[_0x574784(0x68c)][_0x574784(0x44e)](_0x3849ad);if(_0x104fd9[_0x574784(0x465)]===0x0&&_0x251026[_0x574784(0x465)]===0x0)return;const _0x351541=[],_0x23a5ee=[];let _0x4c1a95=_0x4d1a65[_0x574784(0x4bf)][_0x574784(0x346)](_0x143a31[_0x574784(0x3df)][0x0]),_0x6b5fbb=_0x4d1a65['Tools'][_0x574784(0x346)](_0x143a31['mutations'][0x0]);for(let _0x24565b=_0x104fd9[_0x574784(0x465)]-0x1;_0x24565b>=0x0;_0x24565b--){const _0x3ec715={'id':_0x574784(0x3b0),'params':{'unitId':_0x104fd9[_0x24565b]['unitId'],..._0x104fd9[_0x24565b][_0x574784(0x377)]}},_0xc838a6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x104fd9[_0x24565b][_0x574784(0x578)],..._0x104fd9[_0x24565b][_0x574784(0x57e)]}},_0x37e502=this[_0x574784(0x404)]['transformMutation'](_0x4c1a95,_0x3ec715,!0x1),_0x4c0cc2=this[_0x574784(0x404)][_0x574784(0x5a1)](_0x6b5fbb,_0xc838a6,!0x1);if(_0x1c4909[_0x574784(0x533)](_0x37e502))throw _0x37e502['error'];if(_0x1c4909[_0x574784(0x533)](_0x4c0cc2))throw _0x4c0cc2[_0x574784(0x4c3)];_0x351541[_0x574784(0x200)]({..._0x104fd9[_0x24565b],'undoState':_0x37e502[_0x574784(0x5f1)]['params'],'redoState':_0x4c0cc2['m2Prime'][_0x574784(0x36d)]}),_0x4c1a95=_0x37e502[_0x574784(0x2c3)],_0x6b5fbb=_0x4c0cc2['m1Prime'];}_0x4c1a95=_0x4d1a65[_0x574784(0x4bf)][_0x574784(0x346)](_0x143a31[_0x574784(0x3df)][0x0]),_0x6b5fbb=_0x4d1a65[_0x574784(0x4bf)]['deepClone'](_0x143a31[_0x574784(0x3df)][0x0]);for(let _0x1d97cc=_0x251026[_0x574784(0x465)]-0x1;_0x1d97cc>=0x0;_0x1d97cc--){const _0x223265={'id':_0x574784(0x3b0),'params':{'unitId':_0x251026[_0x1d97cc]['unitId'],..._0x251026[_0x1d97cc][_0x574784(0x377)]}},_0x51d20c={'id':_0x574784(0x3b0),'params':{'unitId':_0x251026[_0x1d97cc][_0x574784(0x578)],..._0x251026[_0x1d97cc][_0x574784(0x57e)]}},_0x2fef1e=this[_0x574784(0x404)][_0x574784(0x5a1)](_0x4c1a95,_0x223265,!0x1),_0x2002e9=this[_0x574784(0x404)]['transformMutation'](_0x6b5fbb,_0x51d20c,!0x1);if(_0x1c4909[_0x574784(0x533)](_0x2fef1e))throw _0x2fef1e[_0x574784(0x4c3)];if(_0x1c4909[_0x574784(0x533)](_0x2002e9))throw _0x2002e9[_0x574784(0x4c3)];_0x23a5ee[_0x574784(0x200)]({..._0x251026[_0x1d97cc],'undoState':_0x2fef1e[_0x574784(0x5f1)][_0x574784(0x36d)],'redoState':_0x2002e9[_0x574784(0x5f1)][_0x574784(0x36d)]}),_0x4c1a95=_0x2fef1e[_0x574784(0x2c3)],_0x6b5fbb=_0x2002e9[_0x574784(0x2c3)];}this['_docStateChangeManagerService']['setStateCache'](_0x3849ad,{'history':_0x351541,'collaboration':_0x23a5ee});}};_0xcc4ee4=_0x5efe50([_0x41fb6d(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x41fb6d(0x1,_0x1c4909[_0x2ed730(0x438)]),_0x41fb6d(0x2,_0x4d1a65[_0x2ed730(0x436)](_0x3f56ba['DocStateChangeManagerService']))],_0xcc4ee4);function _0x15b004(_0x5248ac){const _0x480ad9=_0x2ed730;let _0x52a29a='';for(const _0x14ce60 of _0x5248ac){const {startOffset:_0x3667b0,endOffset:_0x5dcaa5,isActive:_0x2548bd,rangeType:_0x39d901,segmentId:_0x4ee966,segmentPage:_0x22f1ab}=_0x14ce60;_0x52a29a[_0x480ad9(0x465)]&&(_0x52a29a+=','),_0x52a29a+=_0x3667b0+':'+_0x5dcaa5+':'+(_0x2548bd?'1':'0')+':'+_0x39d901+':'+_0x4ee966+':'+_0x22f1ab;}return _0x52a29a;}function _0x2eec7f(_0x3eeab5){const _0x4cace6=_0x2ed730,_0xe633d9=_0x3eeab5['split'](','),_0x25808e=[];for(const _0x5165c7 of _0xe633d9){const [_0x3ece2b,_0x423eb7,_0x117a71,_0x1966e8,_0xb5b5ea,_0x188f72]=_0x5165c7[_0x4cace6(0x668)](':');_0x25808e[_0x4cace6(0x4ef)]({'startOffset':Number(_0x3ece2b),'endOffset':Number(_0x423eb7),'collapsed':_0x3ece2b===_0x423eb7,'isActive':_0x117a71==='1','rangeType':_0x1966e8===_0x4d1a65[_0x4cace6(0x6a2)][_0x4cace6(0x68d)]?_0x4d1a65['DOC_RANGE_TYPE']['TEXT']:_0x4d1a65['DOC_RANGE_TYPE'][_0x4cace6(0x46d)],'segmentId':typeof _0xb5b5ea==_0x4cace6(0x506)?String(_0xb5b5ea):'','segmentPage':Number(_0x188f72!=null?_0x188f72:-0x1)});}return _0x25808e['some'](_0x53f2c1=>_0x53f2c1[_0x4cace6(0x1c9)])||(_0x25808e[0x0][_0x4cace6(0x1c9)]=!0x0),_0x25808e;}class _0x4d2573 extends _0x4d1a65['RxDisposable']{constructor(){const _0xe3c8fc=_0x2ed730;super(...arguments),_0x10a616(this,'_collabCursorState$',new _0x605d86[(_0xe3c8fc(0x548))](null)),_0x10a616(this,_0xe3c8fc(0x2d6),this['_collabCursorState$'][_0xe3c8fc(0x5a9)]());}[_0x2ed730(0x57b)](_0x14ec84){const _0x12a61e=_0x2ed730,{unitID:_0x1c810b,memberID:_0x2e4f45,textRanges:_0x5e6fad}=_0x14ec84,_0x4f2787=_0x15b004(_0x5e6fad);if(_0x4f2787==='')return;const _0x405802={'unitID':_0x1c810b,'memberID':_0x2e4f45,'selection':_0x4f2787};this[_0x12a61e(0x536)]['next'](_0x405802);}}var _0x72aab=Object['defineProperty'],_0x3d3bd2=Object[_0x2ed730(0x2c1)],_0xc6d371=(_0x467574,_0x58ea56,_0x4c058c,_0x3b0f68)=>{const _0x24d628=_0x2ed730;for(var _0x3dd34e=_0x3b0f68>0x1?void 0x0:_0x3b0f68?_0x3d3bd2(_0x58ea56,_0x4c058c):_0x58ea56,_0x354863=_0x467574[_0x24d628(0x465)]-0x1,_0xf6b998;_0x354863>=0x0;_0x354863--)(_0xf6b998=_0x467574[_0x354863])&&(_0x3dd34e=(_0x3b0f68?_0xf6b998(_0x58ea56,_0x4c058c,_0x3dd34e):_0xf6b998(_0x3dd34e))||_0x3dd34e);return _0x3b0f68&&_0x3dd34e&&_0x72aab(_0x58ea56,_0x4c058c,_0x3dd34e),_0x3dd34e;},_0x4324b5=(_0x3d0d72,_0x45eae9)=>(_0x4a508f,_0x582664)=>_0x45eae9(_0x4a508f,_0x582664,_0x3d0d72);let _0x52b1c3=class{constructor(_0x2d0d0c,_0x4f3ad3){const _0x300f1f=_0x2ed730;this[_0x300f1f(0x574)]=_0x2d0d0c,this[_0x300f1f(0x404)]=_0x4f3ad3;}[_0x2ed730(0x2f5)](_0x28e554){const _0x4d2fb7=_0x2ed730;var _0xf2928e;const _0x1cdfa7=this[_0x4d2fb7(0x574)][_0x4d2fb7(0x3fd)](_0x209469[_0x4d2fb7(0x551)]),_0xf660aa=(_0xf2928e=_0x1cdfa7[_0x4d2fb7(0x64c)]())!=null?_0xf2928e:[];if(_0xf660aa[_0x4d2fb7(0x465)]===0x0)return;const _0xb9184f=_0x28e554[_0x4d2fb7(0x5e5)],_0x5e9758=[{'id':_0x4d2fb7(0x3b0),'params':{'unitId':_0xb9184f,'actions':null,'textRanges':_0xf660aa}}],_0x8cd80f=this[_0x4d2fb7(0x404)][_0x4d2fb7(0x40b)](_0x28e554,_0x5e9758);if(!_0x1c4909[_0x4d2fb7(0x2cf)](_0x8cd80f))throw _0x8cd80f[_0x4d2fb7(0x4c3)];const _0x9e9487=_0x8cd80f[_0x4d2fb7(0x5f1)][0x0][_0x4d2fb7(0x36d)]['textRanges'];Array[_0x4d2fb7(0x255)](_0x9e9487)&&_0x9e9487['length']&&_0x1cdfa7[_0x4d2fb7(0x5eb)](_0x9e9487,{'unitId':_0xb9184f,'subUnitId':_0xb9184f},!0x1);}};_0x52b1c3=_0xc6d371([_0x4324b5(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x4324b5(0x1,_0x1c4909['ITransformService'])],_0x52b1c3);const _0x536c2a=new Set([_0x371d26[_0x2ed730(0x568)]['id']]);function _0x431f8a(_0x244f6d,_0x10f2c3,_0xc5b753,_0x4809ce,_0xa279cd){const _0x2fef85=_0x2ed730;var _0xccbf6a,_0x1d4f51,_0x42461f,_0x5cd97d;const _0x489447=[];for(const _0x130cf9 of _0x244f6d)if(_0x536c2a[_0x2fef85(0x356)](_0x130cf9['id'])){if(_0x489447['length']>0x0)break;_0x489447[_0x2fef85(0x4ef)](_0x130cf9);break;}else _0x489447[_0x2fef85(0x4ef)](_0x130cf9);const _0x295e4a=(_0x1d4f51=(_0xccbf6a=_0xa279cd['getCurrentUser']())==null?void 0x0:_0xccbf6a['userID'])!=null?_0x1d4f51:_0x2fef85(0x55a),_0x298af4=(_0x5cd97d=(_0x42461f=_0xa279cd[_0x2fef85(0x228)]())==null?void 0x0:_0x42461f[_0x2fef85(0x45f)])!=null?_0x5cd97d:_0x2fef85(0x55a);return{'changeset':{'unitID':_0x10f2c3,'type':_0x1c4909[_0x2fef85(0x490)](_0xc5b753['getUnitType'](_0x10f2c3)),'baseRev':_0x4809ce['getCurrentRevOfUnit'](_0x10f2c3),'revision':0x0,'userID':_0x295e4a,'memberID':_0x298af4,'mutations':_0x489447},'pendingMutations':_0x244f6d[_0x2fef85(0x4c2)](_0x489447['length'])};}function _0x555223(_0x38da25,_0x2bdb96,_0x52de69,_0x38b9d1,_0x52ce6d){const _0x592cbb=_0x2ed730;var _0x1b3429,_0x37d25a,_0x60c8f9,_0x5806d3;const _0x5a2b37=[_0x38da25[_0x592cbb(0x4d8)]((_0x548a33,_0x566759)=>{const _0x390c6d=_0x592cbb;var _0x47580e;const {id:_0x5f02e9}=_0x548a33,{id:_0x5f51d4,type:_0x4e8e7f}=_0x566759,_0x82154e=(_0x47580e=_0x548a33[_0x390c6d(0x36d)])!=null?_0x47580e:{'actions':null},_0x47f00a=_0x566759[_0x390c6d(0x36d)];if(_0x5f02e9&&_0x5f02e9!==_0x5f51d4)throw new Error(_0x390c6d(0x245)+_0x5f02e9+_0x390c6d(0x5e0)+_0x5f51d4+'.');return{..._0x548a33,'id':_0x5f51d4,'type':_0x4e8e7f,'params':{'unitId':_0x47f00a[_0x390c6d(0x578)],'textRanges':_0x47f00a[_0x390c6d(0x608)],'actions':_0x4d1a65[_0x390c6d(0x524)][_0x390c6d(0x545)](_0x82154e[_0x390c6d(0x62a)],_0x47f00a['actions'])}};},{})],_0x1533a7=(_0x37d25a=(_0x1b3429=_0x52ce6d['getCurrentUser']())==null?void 0x0:_0x1b3429[_0x592cbb(0x4b1)])!=null?_0x37d25a:_0x592cbb(0x55a),_0x132115=(_0x5806d3=(_0x60c8f9=_0x52ce6d[_0x592cbb(0x228)]())==null?void 0x0:_0x60c8f9[_0x592cbb(0x45f)])!=null?_0x5806d3:_0x592cbb(0x55a);return{'changeset':{'unitID':_0x2bdb96,'type':_0x1c4909[_0x592cbb(0x490)](_0x52de69[_0x592cbb(0x693)](_0x2bdb96)),'baseRev':_0x38b9d1[_0x592cbb(0x2a3)](_0x2bdb96),'revision':0x0,'userID':_0x1533a7,'memberID':_0x132115,'mutations':_0x5a2b37},'pendingMutations':[]};}function _0x2ff64d(_0x340d25,_0x3d439f){const _0x44236e=_0x2ed730,_0xc569da=new _0x605d86[(_0x44236e(0x1fd))](0x1);return setTimeout(()=>_0xc569da[_0x44236e(0x4fe)](_0x3d439f),_0x340d25),_0xc569da[_0x44236e(0x5a9)]()['pipe'](_0x605d86['take'](0x1));}const _0x44256c={'id':_0x371d26[_0x2ed730(0x672)]['id'],'type':_0x4d1a65[_0x2ed730(0x3b4)][_0x2ed730(0x63a)],'params':{}};var _0x39b78a=Object[_0x2ed730(0x4ff)],_0x193d0e=Object['getOwnPropertyDescriptor'],_0x28c3e5=(_0x40ecb0,_0x275105,_0x82f5d3,_0x312a84)=>{const _0x228d18=_0x2ed730;for(var _0x1ca94b=_0x312a84>0x1?void 0x0:_0x312a84?_0x193d0e(_0x275105,_0x82f5d3):_0x275105,_0x5a2a82=_0x40ecb0[_0x228d18(0x465)]-0x1,_0x322cec;_0x5a2a82>=0x0;_0x5a2a82--)(_0x322cec=_0x40ecb0[_0x5a2a82])&&(_0x1ca94b=(_0x312a84?_0x322cec(_0x275105,_0x82f5d3,_0x1ca94b):_0x322cec(_0x1ca94b))||_0x1ca94b);return _0x312a84&&_0x1ca94b&&_0x39b78a(_0x275105,_0x82f5d3,_0x1ca94b),_0x1ca94b;},_0x39912e=(_0x49c7d7,_0x41db65)=>(_0x185780,_0x56cce0)=>_0x41db65(_0x185780,_0x56cce0,_0x49c7d7),_0x35a0b3=(_0x13c902=>(_0x13c902[_0x2ed730(0x5ed)]=_0x2ed730(0x2f8),_0x13c902[_0x2ed730(0x564)]=_0x2ed730(0x581),_0x13c902[_0x2ed730(0x42d)]=_0x2ed730(0x3ca),_0x13c902[_0x2ed730(0x63e)]='awaiting',_0x13c902[_0x2ed730(0x349)]=_0x2ed730(0x299),_0x13c902['FETCH_MISS']=_0x2ed730(0x58a),_0x13c902[_0x2ed730(0x3a6)]=_0x2ed730(0x65b),_0x13c902['OFFLINE']=_0x2ed730(0x45c),_0x13c902))(_0x35a0b3||{});const _0x53f560=0xea60;class _0x3252ba{constructor(_0x16db24,_0x559076,_0x436732,_0x4122f6,_0x5832b5,_0x2cce16,_0x370233,_0x26127b,_0x14b2df){const _0x360e29=_0x2ed730;_0x10a616(this,'_awaitingChangeset',null),_0x10a616(this,_0x360e29(0x365),[]),(this[_0x360e29(0x5e5)]=_0x16db24,this[_0x360e29(0x4ee)]=_0x559076,this[_0x360e29(0x2d7)]=_0x5832b5,this[_0x360e29(0x224)]=_0x2cce16,this[_0x360e29(0x206)]=_0x370233,this[_0x360e29(0x474)]=_0x26127b,this['_localCacheService']=_0x14b2df,this['_awaitingChangeset']=_0x436732,this[_0x360e29(0x365)]=_0x4122f6);}['_checkMissing'](_0x2b6965){const _0x298ec0=_0x2ed730,_0x1ff353=this[_0x298ec0(0x474)]['getCurrentRevOfUnit'](this['unitID']);return _0x2b6965[_0x298ec0(0x5d3)]>_0x1ff353+0x1?(this[_0x298ec0(0x2d7)]['onMissingChangesets']({'from':_0x1ff353,'to':_0x2b6965['revision']-0x1}),!0x0):!0x1;}[_0x2ed730(0x4b9)](_0x2d967e){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x2d967e);}['_transformSelections'](_0x57295f){const _0x33752d=_0x2ed730;var _0x45e26f,_0x3a27d8;(_0x3a27d8=(_0x45e26f=this[_0x33752d(0x2d7)])[_0x33752d(0x30a)])==null||_0x3a27d8[_0x33752d(0x31e)](_0x45e26f,_0x57295f);}[_0x2ed730(0x36a)](_0x54448c){const _0x3ae3f0=_0x2ed730;var _0x495013,_0x39a5b8;return(_0x39a5b8=(_0x495013=this['_handler'])['onTransformIME'])==null?void 0x0:_0x39a5b8[_0x3ae3f0(0x31e)](_0x495013,_0x54448c);}[_0x2ed730(0x43d)](_0x45469c){const _0x2d0895=_0x2ed730;var _0x41cbd0,_0x315903;return(_0x315903=(_0x41cbd0=this['_handler'])[_0x2d0895(0x53f)])==null?void 0x0:_0x315903[_0x2d0895(0x31e)](_0x41cbd0,_0x45469c);}['_transformRemoteChangesetByIMECache'](_0x419263){const _0x4222e2=_0x2ed730;var _0x58eb69,_0x175d44,_0x3005b4;return(_0x3005b4=(_0x175d44=(_0x58eb69=this[_0x4222e2(0x2d7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x175d44[_0x4222e2(0x31e)](_0x58eb69,_0x419263))!=null?_0x3005b4:_0x419263;}[_0x2ed730(0x552)](_0x3f52da){const _0x2a5b9a=_0x2ed730;var _0x549527,_0x1eb476,_0x2ae0cf;return(_0x2ae0cf=(_0x1eb476=(_0x549527=this[_0x2a5b9a(0x2d7)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1eb476[_0x2a5b9a(0x31e)](_0x549527,_0x3f52da))!=null?_0x2ae0cf:_0x3f52da;}[_0x2ed730(0x1e1)](_0x147e23){const _0x322e89=_0x2ed730;var _0x4ada84,_0x4e3726;if(this[_0x322e89(0x4ee)]===_0x326e6d['UNIVER_DOC']){const {unitID:_0x46a3c3,mutations:_0x5d7bf0,memberID:_0x451ea7}=_0x147e23,_0x235c93=_0x5d7bf0[0x0][_0x322e89(0x36d)][_0x322e89(0x608)];Array[_0x322e89(0x255)](_0x235c93)&&_0x235c93[_0x322e89(0x465)]>0x0&&((_0x4e3726=(_0x4ada84=this[_0x322e89(0x2d7)])[_0x322e89(0x4b3)])==null||_0x4e3726['call'](_0x4ada84,{'unitID':_0x46a3c3,'memberID':_0x451ea7,'textRanges':_0x235c93}));}}[_0x2ed730(0x399)](){const _0x4da690=_0x2ed730;this['_localCacheService'][_0x4da690(0x3b1)](this[_0x4da690(0x5e5)],this['type'],this['_awaitingChangeset'],this[_0x4da690(0x365)]);}['_getCurrentRevision'](){const _0xb18c4f=_0x2ed730;return this[_0xb18c4f(0x474)]['getCurrentRevOfUnit'](this[_0xb18c4f(0x5e5)]);}[_0x2ed730(0x561)](){const _0x4e6039=_0x2ed730;this[_0x4e6039(0x474)][_0x4e6039(0x676)](this[_0x4e6039(0x5e5)]);}['_executeRemoteChangeset'](_0x3667d8){const _0x2b80e4=_0x2ed730;var _0x3de9fd;let _0x7fab33=this[_0x2b80e4(0x2cb)](_0x3667d8);_0x7fab33=this[_0x2b80e4(0x552)](_0x7fab33);const _0x31aff3=_0x4d1a65[_0x2b80e4(0x44d)](_0x7fab33[_0x2b80e4(0x3df)],this[_0x2b80e4(0x224)],{'fromCollab':!0x0});if(!_0x31aff3[_0x2b80e4(0x62d)])throw _0x31aff3[_0x2b80e4(0x4c3)]instanceof Error?_0x31aff3[_0x2b80e4(0x4c3)]:new Error((_0x3de9fd=_0x31aff3[_0x2b80e4(0x4c3)])!=null?_0x3de9fd:_0x2b80e4(0x25b));this[_0x2b80e4(0x36a)](_0x7fab33),this[_0x2b80e4(0x43d)](_0x7fab33),this[_0x2b80e4(0x4b9)](_0x3667d8),this['_transformSelections'](_0x7fab33),this[_0x2b80e4(0x1e1)](_0x7fab33),this['_incrementRevisionNumber']();}}let _0x3789e6=class extends _0x3252ba{constructor(_0x224d32,_0x1ad261,_0x4fc6b6,_0x47be99,_0x21beca,_0x6f0360,_0x34e13b,_0x2571e4,_0x165599,_0x75f1ff){const _0x3eb2bf=_0x2ed730;super(_0x224d32,_0x1ad261,null,[],_0x4fc6b6,_0x2571e4,_0x34e13b,_0x47be99,_0x21beca),_0x10a616(this,_0x3eb2bf(0x370),_0x3eb2bf(0x581)),(this['_injector']=_0x6f0360,this[_0x3eb2bf(0x26b)]=_0x165599,this['_transformService']=_0x75f1ff);}[_0x2ed730(0x55e)](_0x555fb0){const _0x50d14d=_0x2ed730,_0x179258=this[_0x50d14d(0x574)][_0x50d14d(0x51b)](_0x3f310d,this[_0x50d14d(0x5e5)],this['type'],[_0x555fb0],this[_0x50d14d(0x2d7)]);return _0x179258[_0x50d14d(0x663)](),_0x179258[_0x50d14d(0x399)](),_0x179258;}[_0x2ed730(0x5ca)](_0x5aa342){const _0x48a8a8=_0x2ed730;if(this[_0x48a8a8(0x1d9)](_0x5aa342))return this[_0x48a8a8(0x574)][_0x48a8a8(0x51b)](_0x1817fb,this['unitID'],this[_0x48a8a8(0x4ee)],null,[],null,[_0x5aa342],this[_0x48a8a8(0x2d7)]);try{const _0x20a29e=this['_transformService'][_0x48a8a8(0x40b)](_0x5aa342,[_0x44256c]);if(_0x1c4909['isTransformMutationsWithChangesetSuccess'](_0x20a29e)){const {c1Prime:_0x2f89bc}=_0x20a29e;return this[_0x48a8a8(0x4e8)](_0x2f89bc),this;}throw _0x20a29e[_0x48a8a8(0x4c3)];}catch(_0x1541e7){return this['_logService'][_0x48a8a8(0x4c3)](_0x1541e7),this[_0x48a8a8(0x6a1)](!0x1);}}[_0x2ed730(0x6a1)](_0xbb4c7){const _0x319216=_0x2ed730;return this[_0x319216(0x574)][_0x319216(0x51b)](_0x13ddc7,this[_0x319216(0x5e5)],this[_0x319216(0x4ee)],null,[],this[_0x319216(0x2d7)],_0xbb4c7);}['onRemoteAck'](){const _0xf69cfe=_0x2ed730;throw new Error(_0xf69cfe(0x631));}[_0x2ed730(0x313)](){const _0xa17bc0=_0x2ed730;throw new Error(_0xa17bc0(0x3c8));}[_0x2ed730(0x5a7)](){return this;}[_0x2ed730(0x292)](){const _0x341b33=_0x2ed730;return this[_0x341b33(0x574)][_0x341b33(0x51b)](_0x4b5a88,this[_0x341b33(0x5e5)],this['type'],null,[],this[_0x341b33(0x2d7)]);}[_0x2ed730(0x5f0)](){return this;}['resend'](){const _0x253c0d=_0x2ed730;throw new Error(_0x253c0d(0x563));}[_0x2ed730(0x69e)](){const _0x5f527c=_0x2ed730,_0x339bce=this[_0x5f527c(0x474)][_0x5f527c(0x2a3)](this[_0x5f527c(0x5e5)]);return this[_0x5f527c(0x2d7)][_0x5f527c(0x579)]({'from':_0x339bce,'to':0x0}),this[_0x5f527c(0x574)][_0x5f527c(0x51b)](_0x1817fb,this['unitID'],this[_0x5f527c(0x4ee)],null,[],null,[],this[_0x5f527c(0x2d7)]);}};_0x3789e6=_0x28c3e5([_0x39912e(0x3,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x48e)])),_0x39912e(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x5f8)])),_0x39912e(0x5,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x39912e(0x6,_0x4d1a65['IUndoRedoService']),_0x39912e(0x7,_0x4d1a65[_0x2ed730(0x38f)]),_0x39912e(0x8,_0x4d1a65[_0x2ed730(0x22f)]),_0x39912e(0x9,_0x1c4909[_0x2ed730(0x438)])],_0x3789e6);let _0x3f310d=class extends _0x3252ba{constructor(_0x433fab,_0x34e505,_0x1b567b,_0x2fcdd7,_0x1ef5e4,_0x2a528a,_0x44df82,_0x2a69e2,_0x475036,_0x13e4b7,_0x594bcb,_0x5ede5f,_0x1ffa04,_0x5ad310){const _0x21fc7e=_0x2ed730;super(_0x433fab,_0x34e505,null,_0x1b567b,_0x2fcdd7,_0x13e4b7,_0x5ad310,_0x2a528a,_0x44df82),_0x10a616(this,_0x21fc7e(0x370),_0x21fc7e(0x3ca)),_0x10a616(this,_0x21fc7e(0x37d),null),_0x10a616(this,_0x21fc7e(0x5a6),null),(this[_0x21fc7e(0x574)]=_0x1ef5e4,this[_0x21fc7e(0x2e5)]=_0x2a69e2,this[_0x21fc7e(0x26b)]=_0x475036,this['_configService']=_0x594bcb,this[_0x21fc7e(0x404)]=_0x5ede5f,this[_0x21fc7e(0x443)]=_0x1ffa04);}['appendMutation'](_0x4b4599){const _0x4e6680=_0x2ed730;return this['_pendingMutations'][_0x4e6680(0x4ef)](_0x4b4599),this[_0x4e6680(0x399)](),this;}[_0x2ed730(0x5ca)](_0x568ceb){const _0xe760b2=_0x2ed730;if(this[_0xe760b2(0x1d9)](_0x568ceb))return this[_0xe760b2(0x3a5)](),this[_0xe760b2(0x574)]['createInstance'](_0x1817fb,this[_0xe760b2(0x5e5)],this[_0xe760b2(0x4ee)],null,this[_0xe760b2(0x365)],null,[_0x568ceb],this[_0xe760b2(0x2d7)]);try{const _0x5cba5a=this[_0xe760b2(0x404)][_0xe760b2(0x40b)](_0x568ceb,this[_0xe760b2(0x365)]);if(_0x1c4909['isTransformMutationsWithChangesetSuccess'](_0x5cba5a)){const {c1Prime:_0x261a40,m2Prime:_0x205282}=_0x5cba5a;this[_0xe760b2(0x4e8)](_0x261a40);const _0x39be66=this[_0xe760b2(0x574)]['createInstance'](_0x3f310d,this[_0xe760b2(0x5e5)],this[_0xe760b2(0x4ee)],_0x205282,this[_0xe760b2(0x2d7)]);return this['_clearScheduledTask'](),_0x39be66['_schedule'](this[_0xe760b2(0x37d)]?Math[_0xe760b2(0x4db)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0xe760b2(0x27e)]()),_0x39be66;}throw _0x5cba5a[_0xe760b2(0x4c3)];}catch(_0x4d0cb6){return this[_0xe760b2(0x26b)][_0xe760b2(0x4c3)](_0x4d0cb6),this[_0xe760b2(0x6a1)](!0x1);}}[_0x2ed730(0x5e8)](){const _0x53edb4=_0x2ed730;throw new Error(_0x53edb4(0x24a));}[_0x2ed730(0x313)](){const _0x1f44aa=_0x2ed730;throw new Error(_0x1f44aa(0x520));}[_0x2ed730(0x5a7)](){return this;}['toggleOffline'](){const _0x45ac82=_0x2ed730;return this[_0x45ac82(0x3a5)](),this['_injector'][_0x45ac82(0x51b)](_0x4b5a88,this[_0x45ac82(0x5e5)],this[_0x45ac82(0x4ee)],null,this[_0x45ac82(0x365)],this[_0x45ac82(0x2d7)]);}[_0x2ed730(0x5f0)](){return this;}[_0x2ed730(0x663)](_0x2ea723){const _0x5c0bf7=_0x2ed730,_0x345ca7=_0x2ea723!=null?_0x2ea723:this['_getSendChangesetTimeout']();this[_0x5c0bf7(0x37d)]=new Date()[_0x5c0bf7(0x476)](),this[_0x5c0bf7(0x5a6)]=window[_0x5c0bf7(0x69c)](()=>{const _0xab58d9=_0x5c0bf7;this['_clearScheduledTask']();let _0x46ed69=null;switch(this[_0xab58d9(0x4ee)]){case _0x326e6d[_0xab58d9(0x383)]:{_0x46ed69=_0x431f8a(this[_0xab58d9(0x365)],this[_0xab58d9(0x5e5)],this[_0xab58d9(0x443)],this[_0xab58d9(0x474)],this[_0xab58d9(0x2e5)]);break;}case _0x326e6d['UNIVER_DOC']:{this[_0xab58d9(0x365)]['every'](_0x4b87e5=>_0x4b87e5['id']===_0x209469[_0xab58d9(0x38d)]['id'])?_0x46ed69=_0x555223(this[_0xab58d9(0x365)],this[_0xab58d9(0x5e5)],this[_0xab58d9(0x443)],this[_0xab58d9(0x474)],this[_0xab58d9(0x2e5)]):_0x46ed69=_0x431f8a(this['_pendingMutations'],this[_0xab58d9(0x5e5)],this[_0xab58d9(0x443)],this[_0xab58d9(0x474)],this[_0xab58d9(0x2e5)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xab58d9(0x4ee)]+_0xab58d9(0x31f));}const {changeset:_0x55d78d,pendingMutations:_0x193d55}=_0x46ed69;this['_handler']['onSendChangeset'](_0x55d78d);const _0x43a8b1=_0x193d55[_0xab58d9(0x465)]?this['_injector'][_0xab58d9(0x51b)](_0x8e034f,this['unitID'],this[_0xab58d9(0x4ee)],_0x55d78d,_0x193d55,this[_0xab58d9(0x2d7)],void 0x0):this['_injector'][_0xab58d9(0x51b)](_0xffb2b9,this[_0xab58d9(0x5e5)],this[_0xab58d9(0x4ee)],_0x55d78d,this[_0xab58d9(0x2d7)]);_0x43a8b1[_0xab58d9(0x399)](),this['_handler']['onStateChange'](this,_0x43a8b1);},_0x345ca7);}[_0x2ed730(0x27e)](){const _0x3beab1=_0x2ed730;var _0xfc5d52;const _0x14409c=this[_0x3beab1(0x366)][_0x3beab1(0x539)](_0x1f4f80);return(_0xfc5d52=_0x14409c==null?void 0x0:_0x14409c[_0x3beab1(0x341)])!=null?_0xfc5d52:0x7d0;}['resend'](){const _0x359d07=_0x2ed730;throw new Error(_0x359d07(0x39b));}['_clearScheduledTask'](){const _0x4f6ef5=_0x2ed730;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4f6ef5(0x5a6)]=null);}[_0x2ed730(0x6a1)](_0x31429d){const _0x3c09d2=_0x2ed730;return this[_0x3c09d2(0x3a5)](),this[_0x3c09d2(0x574)][_0x3c09d2(0x51b)](_0x13ddc7,this['unitID'],this[_0x3c09d2(0x4ee)],null,this[_0x3c09d2(0x365)],this[_0x3c09d2(0x2d7)],_0x31429d);}};_0x3f310d=_0x28c3e5([_0x39912e(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x39912e(0x5,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x48e)])),_0x39912e(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x5f8)])),_0x39912e(0x7,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x3bd)])),_0x39912e(0x8,_0x4d1a65[_0x2ed730(0x22f)]),_0x39912e(0x9,_0x4d1a65[_0x2ed730(0x38f)]),_0x39912e(0xa,_0x4d1a65[_0x2ed730(0x28a)]),_0x39912e(0xb,_0x1c4909[_0x2ed730(0x438)]),_0x39912e(0xc,_0x4d1a65[_0x2ed730(0x312)]),_0x39912e(0xd,_0x4d1a65['IUndoRedoService'])],_0x3f310d);let _0xffb2b9=class extends _0x3252ba{constructor(_0x3557be,_0x94e538,_0x138170,_0xe6cba1,_0x2ab509,_0x4c6afb,_0x3c29e7,_0x264d6e,_0x3dd5b3,_0x3b7964,_0x4ebd0f){const _0x10b927=_0x2ed730;super(_0x3557be,_0x94e538,_0x138170,[],_0xe6cba1,_0x264d6e,_0x4ebd0f,_0x4c6afb,_0x3c29e7),_0x10a616(this,'status',_0x10b927(0x472)),_0x10a616(this,'_resendTimeout',0x0),_0x10a616(this,_0x10b927(0x270)),_0x10a616(this,_0x10b927(0x4af)),(this[_0x10b927(0x574)]=_0x2ab509,this[_0x10b927(0x26b)]=_0x3dd5b3,this[_0x10b927(0x404)]=_0x3b7964);}['appendMutation'](_0x257946){const _0x4096ca=_0x2ed730;this[_0x4096ca(0x3a5)]();const _0x50edd6=this[_0x4096ca(0x574)]['createInstance'](_0x8e034f,this[_0x4096ca(0x5e5)],this[_0x4096ca(0x4ee)],this['_awaitingChangeset'],[_0x257946],this[_0x4096ca(0x2d7)],this[_0x4096ca(0x270)]);return _0x50edd6['_updateLocalCache'](),_0x50edd6;}[_0x2ed730(0x5ca)](_0xf5a0a0){const _0x1a7d85=_0x2ed730;if(this[_0x1a7d85(0x1d9)](_0xf5a0a0))return this[_0x1a7d85(0x3a5)](),this['_injector']['createInstance'](_0x1817fb,this[_0x1a7d85(0x5e5)],this[_0x1a7d85(0x4ee)],this[_0x1a7d85(0x3c9)],[],null,[_0xf5a0a0],this[_0x1a7d85(0x2d7)]);try{const _0x5d0b98=this[_0x1a7d85(0x404)]['transformChangesets']([_0xf5a0a0],[this[_0x1a7d85(0x3c9)]],!0x1);if(_0x1c4909[_0x1a7d85(0x53e)](_0x5d0b98)){const {c1Prime:_0x4a2e51,c2Prime:_0x502d49}=_0x5d0b98;this[_0x1a7d85(0x4e8)](_0x4a2e51[0x0]),_0x502d49[0x0][_0x1a7d85(0x555)]=this[_0x1a7d85(0x24b)](),this['_clearScheduledTask']();const _0xbe9565=this['_injector'][_0x1a7d85(0x51b)](_0xffb2b9,this[_0x1a7d85(0x5e5)],this['type'],_0x502d49[0x0],this[_0x1a7d85(0x2d7)]);return _0xbe9565[_0x1a7d85(0x399)](),_0xbe9565;}return this['_onConflict'](!0x1);}catch(_0x3cb2e5){return this[_0x1a7d85(0x26b)]['error'](_0x3cb2e5),this[_0x1a7d85(0x6a1)](!0x1);}}['onRemoteAck'](_0x1b9b99){const _0x32febf=_0x2ed730;this[_0x32febf(0x3a5)]();const _0x5d36fb=this[_0x32febf(0x474)][_0x32febf(0x2a3)](this['unitID']);if(_0x1b9b99[_0x32febf(0x5d3)]<_0x5d36fb-0x1)return this;if(this[_0x32febf(0x1d9)](_0x1b9b99))return this['_injector'][_0x32febf(0x51b)](_0x1817fb,this[_0x32febf(0x5e5)],this[_0x32febf(0x4ee)],null,[],this['_awaitingChangeset'],[],this[_0x32febf(0x2d7)]);this['_incrementRevisionNumber']();const _0x45479a=this[_0x32febf(0x574)][_0x32febf(0x51b)](_0x3789e6,this['unitID'],this[_0x32febf(0x4ee)],this[_0x32febf(0x2d7)]);return _0x45479a[_0x32febf(0x399)](),_0x45479a;}[_0x2ed730(0x313)](_0x5aac34){return this['_onConflict'](!!(_0x5aac34!=null&&_0x5aac34['isPermissionRej']));}[_0x2ed730(0x5a7)](_0x100f03){const _0x3a53ea=_0x2ed730;return this[_0x3a53ea(0x656)]>_0x53f560?this[_0x3a53ea(0x292)]():(this[_0x3a53ea(0x270)]=_0x2ff64d(this['_resendTimeout'],{'timeout':this[_0x3a53ea(0x656)],'reqId':_0x100f03[_0x3a53ea(0x61d)]}),this[_0x3a53ea(0x4af)]=this['_resendTimer'][_0x3a53ea(0x60e)](({reqId:_0x123508,timeout:_0x43c99e})=>{const _0x40072b=_0x3a53ea;this[_0x40072b(0x53a)](_0x123508,_0x43c99e);}),this);}[_0x2ed730(0x292)](){const _0x22b649=_0x2ed730;return this['_clearScheduledTask'](),this[_0x22b649(0x574)][_0x22b649(0x51b)](_0x4b5a88,this['unitID'],this[_0x22b649(0x4ee)],this[_0x22b649(0x3c9)],[],this[_0x22b649(0x2d7)]);}['toggleOnline'](){return this;}['resend'](){const _0xfceb09=_0x2ed730;this[_0xfceb09(0x2d7)][_0xfceb09(0x1dd)](this[_0xfceb09(0x3c9)]);}['_onConflict'](_0x359034){const _0x4d3f4b=_0x2ed730;return this[_0x4d3f4b(0x3a5)](),this[_0x4d3f4b(0x574)]['createInstance'](_0x13ddc7,this[_0x4d3f4b(0x5e5)],this[_0x4d3f4b(0x4ee)],this[_0x4d3f4b(0x3c9)],[],this[_0x4d3f4b(0x2d7)],_0x359034);}[_0x2ed730(0x53a)](_0x2bc29c,_0x3611c4){const _0x48ca9f=_0x2ed730;var _0x2e12fe;_0x2bc29c===((_0x2e12fe=this[_0x48ca9f(0x3c9)])==null?void 0x0:_0x2e12fe[_0x48ca9f(0x61d)])&&(this[_0x48ca9f(0x3b3)](),this[_0x48ca9f(0x656)]=_0x3611c4===0x0?0x3e8:_0x3611c4*0x2);}['_clearScheduledTask'](){const _0x5d27db=_0x2ed730;var _0x324e3c;(_0x324e3c=this[_0x5d27db(0x4af)])==null||_0x324e3c[_0x5d27db(0x652)](),this[_0x5d27db(0x656)]=0x0;}};_0xffb2b9=_0x28c3e5([_0x39912e(0x4,_0x4d1a65['Inject'](_0x4d1a65[_0x2ed730(0x463)])),_0x39912e(0x5,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x48e)])),_0x39912e(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x20c240['LocalCacheService'])),_0x39912e(0x7,_0x4d1a65[_0x2ed730(0x38f)]),_0x39912e(0x8,_0x4d1a65['ILogService']),_0x39912e(0x9,_0x1c4909[_0x2ed730(0x438)]),_0x39912e(0xa,_0x4d1a65[_0x2ed730(0x649)])],_0xffb2b9);let _0x8e034f=class extends _0x3252ba{constructor(_0x5891d6,_0x464098,_0x2db087,_0x219e9,_0x25c9fb,_0x87c4e2,_0x33595e,_0xe4b1b6,_0x375e6b,_0x35d772,_0x13bb85,_0x363f6a,_0x28377f){const _0x327617=_0x2ed730;super(_0x5891d6,_0x464098,_0x2db087,_0x219e9,_0x25c9fb,_0x35d772,_0x28377f,_0xe4b1b6,_0x375e6b),_0x10a616(this,_0x327617(0x370),_0x327617(0x299)),_0x10a616(this,_0x327617(0x656),0x0),_0x10a616(this,'_resendTimer'),_0x10a616(this,_0x327617(0x4af)),(this['_injector']=_0x33595e,this[_0x327617(0x26b)]=_0x13bb85,this[_0x327617(0x404)]=_0x363f6a,_0x87c4e2&&(this[_0x327617(0x270)]=_0x87c4e2,this[_0x327617(0x4af)]=this[_0x327617(0x270)][_0x327617(0x60e)](({reqId:_0x4ec1c1,timeout:_0x2fe835})=>{const _0x34dc42=_0x327617;this[_0x34dc42(0x53a)](_0x4ec1c1,_0x2fe835);})));}[_0x2ed730(0x55e)](_0x316bea){const _0x537e8c=_0x2ed730;return this[_0x537e8c(0x365)][_0x537e8c(0x4ef)](_0x316bea),this;}[_0x2ed730(0x5ca)](_0x1d5444){const _0x2bb7bf=_0x2ed730;if(this[_0x2bb7bf(0x1d9)](_0x1d5444))return this[_0x2bb7bf(0x3a5)](),this['_injector'][_0x2bb7bf(0x51b)](_0x1817fb,this[_0x2bb7bf(0x5e5)],this[_0x2bb7bf(0x4ee)],this[_0x2bb7bf(0x3c9)],this[_0x2bb7bf(0x365)],null,[_0x1d5444],this['_handler']);try{const _0x5061c4=this[_0x2bb7bf(0x404)][_0x2bb7bf(0x432)]([_0x1d5444],[this[_0x2bb7bf(0x3c9)]],!0x1);if(_0x1c4909['isTransformChangesetsSuccess'](_0x5061c4)){const {c1Prime:_0xf972e8,c2Prime:_0x5654a1}=_0x5061c4,_0x470b84=this[_0x2bb7bf(0x404)][_0x2bb7bf(0x40b)](_0xf972e8[0x0],this[_0x2bb7bf(0x365)]);if(_0x1c4909[_0x2bb7bf(0x2cf)](_0x470b84)){const {c1Prime:_0x15324f,m2Prime:_0x5668a3}=_0x470b84;return this[_0x2bb7bf(0x4e8)](_0x15324f),_0x5654a1[0x0][_0x2bb7bf(0x555)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x2bb7bf(0x574)]['createInstance'](_0x8e034f,this[_0x2bb7bf(0x5e5)],this[_0x2bb7bf(0x4ee)],_0x5654a1[0x0],_0x5668a3,this[_0x2bb7bf(0x2d7)],void 0x0);}throw _0x470b84[_0x2bb7bf(0x4c3)];}throw _0x5061c4[_0x2bb7bf(0x4c3)];}catch(_0x5ddca2){return this['_logService'][_0x2bb7bf(0x4c3)](_0x5ddca2),this['_onConflict'](!0x1);}}[_0x2ed730(0x5e8)](_0xc11284){const _0x40fc5b=_0x2ed730;if(this[_0x40fc5b(0x3a5)](),this[_0x40fc5b(0x1d9)](_0xc11284))return this[_0x40fc5b(0x574)][_0x40fc5b(0x51b)](_0x1817fb,this[_0x40fc5b(0x5e5)],this[_0x40fc5b(0x4ee)],null,this[_0x40fc5b(0x365)],this[_0x40fc5b(0x3c9)],[],this['_handler']);this[_0x40fc5b(0x561)]();const _0x72e014=this[_0x40fc5b(0x574)][_0x40fc5b(0x51b)](_0x3f310d,this[_0x40fc5b(0x5e5)],this[_0x40fc5b(0x4ee)],this[_0x40fc5b(0x365)],this[_0x40fc5b(0x2d7)]);return _0x72e014[_0x40fc5b(0x663)](),_0x72e014[_0x40fc5b(0x399)](),_0x72e014;}[_0x2ed730(0x313)](_0x140ca5){const _0x32f47d=_0x2ed730;return this[_0x32f47d(0x6a1)](!!(_0x140ca5!=null&&_0x140ca5[_0x32f47d(0x462)]));}['onRemoteRetry'](_0x3fcfd2){const _0x13025d=_0x2ed730;return this[_0x13025d(0x656)]>_0x53f560?this[_0x13025d(0x292)]():(this[_0x13025d(0x270)]=_0x2ff64d(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x3fcfd2[_0x13025d(0x61d)]}),this[_0x13025d(0x4af)]=this['_resendTimer']['subscribe'](({reqId:_0x3ec1e1,timeout:_0x3700c1})=>{const _0x4d6044=_0x13025d;this[_0x4d6044(0x53a)](_0x3ec1e1,_0x3700c1);}),this);}['toggleOffline'](){const _0x351ea9=_0x2ed730;return this['_clearScheduledTask'](),this[_0x351ea9(0x574)][_0x351ea9(0x51b)](_0x4b5a88,this[_0x351ea9(0x5e5)],this[_0x351ea9(0x4ee)],this[_0x351ea9(0x3c9)],this[_0x351ea9(0x365)],this[_0x351ea9(0x2d7)]);}[_0x2ed730(0x5f0)](){return this;}[_0x2ed730(0x3b3)](){const _0x3d8a0a=_0x2ed730;this[_0x3d8a0a(0x2d7)][_0x3d8a0a(0x1dd)](this[_0x3d8a0a(0x3c9)]);}[_0x2ed730(0x6a1)](_0xc9033){const _0xe8a01=_0x2ed730;return this[_0xe8a01(0x3a5)](),this[_0xe8a01(0x574)][_0xe8a01(0x51b)](_0x13ddc7,this[_0xe8a01(0x5e5)],this[_0xe8a01(0x4ee)],null,this['_pendingMutations'],this[_0xe8a01(0x2d7)],_0xc9033);}[_0x2ed730(0x53a)](_0x34c1ad,_0x50b852){const _0xff873d=_0x2ed730;var _0x4f6f5b;_0x34c1ad===((_0x4f6f5b=this[_0xff873d(0x3c9)])==null?void 0x0:_0x4f6f5b[_0xff873d(0x61d)])&&(this['resend'](),this[_0xff873d(0x656)]=_0x50b852===0x0?0x3e8:_0x50b852*0x2);}[_0x2ed730(0x3a5)](){const _0x229c4d=_0x2ed730;var _0x5200b8;(_0x5200b8=this['_sender'])==null||_0x5200b8['unsubscribe'](),this[_0x229c4d(0x656)]=0x0;}};_0x8e034f=_0x28c3e5([_0x39912e(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x39912e(0x7,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x48e)])),_0x39912e(0x8,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x5f8)])),_0x39912e(0x9,_0x4d1a65[_0x2ed730(0x38f)]),_0x39912e(0xa,_0x4d1a65[_0x2ed730(0x22f)]),_0x39912e(0xb,_0x1c4909['ITransformService']),_0x39912e(0xc,_0x4d1a65[_0x2ed730(0x649)])],_0x8e034f);let _0x13ddc7=class extends _0x3252ba{constructor(_0x2a0653,_0x5aa0ce,_0x282feb,_0x34b14e,_0x5b437d,_0x279298=!0x1,_0x57ee80,_0x5c2825,_0x24ae3a,_0x464211,_0x431197,_0x1a200a,_0x127ac2){const _0x45a7fc=_0x2ed730;super(_0x2a0653,_0x5aa0ce,_0x282feb,_0x34b14e,_0x5b437d,_0x5c2825,_0x24ae3a,_0x431197,_0x464211),_0x10a616(this,_0x45a7fc(0x370),_0x45a7fc(0x65b)),(this[_0x45a7fc(0x238)]=_0x279298,this[_0x45a7fc(0x1cf)]=_0x57ee80,this[_0x45a7fc(0x3d3)]=_0x1a200a,this[_0x45a7fc(0x214)]=_0x127ac2,this['_showConflictNotification'](),this[_0x45a7fc(0x51c)](),this[_0x45a7fc(0x423)]());}[_0x2ed730(0x55e)](){return this;}[_0x2ed730(0x5ca)](){return this;}[_0x2ed730(0x5e8)](){return this;}[_0x2ed730(0x313)](){return this;}[_0x2ed730(0x5a7)](){return this;}[_0x2ed730(0x292)](){return this;}[_0x2ed730(0x5f0)](){return this;}[_0x2ed730(0x3b3)](){const _0x44e9fa=_0x2ed730;throw new Error(_0x44e9fa(0x646));}[_0x2ed730(0x51c)](){const _0x4ac0f1=_0x2ed730;this[_0x4ac0f1(0x5e9)][_0x4ac0f1(0x3b1)](this[_0x4ac0f1(0x5e5)],this[_0x4ac0f1(0x4ee)],null,[]);}['_showConflictNotification'](){const _0x27953b=_0x2ed730;this[_0x27953b(0x238)]?this[_0x27953b(0x214)][_0x27953b(0x5f4)]({'title':this[_0x27953b(0x3d3)]['t'](_0x27953b(0x395)),'content':this['_localeService']['t'](_0x27953b(0x50d)),'type':'error','duration':0x0}):this['_notificationService'][_0x27953b(0x5f4)]({'title':this['_localeService']['t'](_0x27953b(0x1f5)),'content':this[_0x27953b(0x3d3)]['t']('conflict.content'),'type':'error','duration':0x0});}[_0x2ed730(0x423)](){const _0x3f4482=_0x2ed730;this[_0x3f4482(0x1cf)]['updatePermissionPoint'](new _0x371d26[(_0x3f4482(0x52c))](this['unitID'])['id'],!0x1);}};_0x13ddc7=_0x28c3e5([_0x39912e(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65['IPermissionService'])),_0x39912e(0x7,_0x4d1a65['ICommandService']),_0x39912e(0x8,_0x4d1a65[_0x2ed730(0x649)]),_0x39912e(0x9,_0x4d1a65[_0x2ed730(0x436)](_0x20c240['LocalCacheService'])),_0x39912e(0xa,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x48e)])),_0x39912e(0xb,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x353)])),_0x39912e(0xc,_0x247dcf[_0x2ed730(0x470)])],_0x13ddc7);let _0x4b5a88=class extends _0x3252ba{constructor(_0x94c2cf,_0x282073,_0x57a219,_0x37834e,_0xbda362,_0x493518,_0x2a76d6,_0x4e5829,_0x35949f,_0x338a90){const _0x1939ab=_0x2ed730;super(_0x94c2cf,_0x282073,_0x57a219,_0x37834e,_0xbda362,_0x35949f,_0x338a90,_0x2a76d6,_0x4e5829),_0x10a616(this,'status',_0x1939ab(0x45c)),this[_0x1939ab(0x574)]=_0x493518;}[_0x2ed730(0x55e)](_0x46a6e1){const _0x381a91=_0x2ed730;return this[_0x381a91(0x365)][_0x381a91(0x4ef)](_0x46a6e1),this[_0x381a91(0x399)](),this;}[_0x2ed730(0x5ca)](_0x4f76f1){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x160a36=_0x2ed730;throw new Error(_0x160a36(0x455));}['onRemoteRej'](){const _0x37c7ad=_0x2ed730;throw new Error(_0x37c7ad(0x319));}[_0x2ed730(0x5a7)](){return this;}[_0x2ed730(0x292)](){return this;}['toggleOnline'](){const _0x32fa98=_0x2ed730,{_injector:_0x18d481,_pendingMutations:_0x1a09e1,_awaitingChangeset:_0x58cf52,unitID:_0x436888,_handler:_0x5f2347,type:_0x1cb791}=this,_0x40bcc5=_0x510e25(_0x18d481,_0x436888,_0x1cb791,_0x58cf52,_0x1a09e1,_0x5f2347);return _0x40bcc5 instanceof _0x3f310d?_0x40bcc5[_0x32fa98(0x663)]():(_0x40bcc5 instanceof _0x8e034f||_0x40bcc5 instanceof _0xffb2b9)&&_0x40bcc5['resend'](),_0x40bcc5;}['resend'](){const _0x1be1a3=_0x2ed730;throw new Error(_0x1be1a3(0x601));}};_0x4b5a88=_0x28c3e5([_0x39912e(0x5,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x39912e(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x48e)])),_0x39912e(0x7,_0x4d1a65[_0x2ed730(0x436)](_0x20c240['LocalCacheService'])),_0x39912e(0x8,_0x4d1a65['ICommandService']),_0x39912e(0x9,_0x4d1a65[_0x2ed730(0x649)])],_0x4b5a88);let _0x1817fb=class extends _0x3252ba{constructor(_0x3c7ddd,_0x3552d2,_0x4a7fa8,_0x1801b1,_0x1e26f9,_0x482ec2,_0xb8741,_0x1f69d5,_0x5d2c94,_0x404248,_0x565065,_0x439b0e,_0x3481b0,_0x3eed2f){const _0xe592df=_0x2ed730;super(_0x3c7ddd,_0x3552d2,_0x4a7fa8,_0x1801b1,_0xb8741,_0x439b0e,_0x3481b0,_0x5d2c94,_0x404248),_0x10a616(this,_0xe592df(0x370),_0xe592df(0x58a)),(this['_acknowledgedAwaitingChangeset']=_0x1e26f9,this[_0xe592df(0x54b)]=_0x482ec2,this[_0xe592df(0x574)]=_0x1f69d5,this[_0xe592df(0x26b)]=_0x565065,this['_transformService']=_0x3eed2f);}[_0x2ed730(0x59c)](_0x273103){const _0x20ae1a=_0x2ed730;try{const _0x14174a=[..._0x273103,...this[_0x20ae1a(0x54b)]],_0x1831b0=[this['_awaitingChangeset']||this[_0x20ae1a(0x20f)]][_0x20ae1a(0x1e8)](_0x3ee08f=>!!_0x3ee08f);let _0x4f37c4,_0xb8d82a;if(_0x1831b0[_0x20ae1a(0x465)]){const _0x2af1ec=this[_0x20ae1a(0x404)]['transformChangesets'](_0x14174a,_0x1831b0,!0x1);if(!_0x1c4909[_0x20ae1a(0x53e)](_0x2af1ec))throw _0x2af1ec[_0x20ae1a(0x4c3)];_0x4f37c4=_0x2af1ec[_0x20ae1a(0x68e)],_0xb8d82a=_0x2af1ec[_0x20ae1a(0x60f)];}else _0x4f37c4=_0x14174a,_0xb8d82a=[];let _0x3bff67=this[_0x20ae1a(0x365)];_0x4f37c4[_0x20ae1a(0x587)](_0x3ca703=>{const _0x110df5=_0x20ae1a;let _0x35df44;if(_0x3bff67[_0x110df5(0x465)]){const _0x15470a=this[_0x110df5(0x404)]['transformMutationsWithChangeset'](_0x3ca703,_0x3bff67);if(!_0x1c4909[_0x110df5(0x2cf)](_0x15470a))throw _0x15470a[_0x110df5(0x4c3)];_0x35df44=_0x15470a[_0x110df5(0x68e)],_0x3bff67=_0x15470a[_0x110df5(0x5f1)];}else _0x35df44=_0x3ca703;this[_0x110df5(0x4e8)](_0x35df44);}),this[_0x20ae1a(0x20f)]&&this[_0x20ae1a(0x561)](),this[_0x20ae1a(0x3c9)]&&_0xb8d82a['length']&&(_0xb8d82a[0x0][_0x20ae1a(0x555)]=this[_0x20ae1a(0x24b)]());let _0xbe3d76;if(this['_awaitingChangeset']&&_0x3bff67[_0x20ae1a(0x465)]!==0x0)_0xbe3d76=this[_0x20ae1a(0x574)][_0x20ae1a(0x51b)](_0x8e034f,this[_0x20ae1a(0x5e5)],this[_0x20ae1a(0x4ee)],_0xb8d82a[0x0],_0x3bff67,this[_0x20ae1a(0x2d7)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3bff67[_0x20ae1a(0x465)]===0x0)_0xb8d82a[0x0][_0x20ae1a(0x555)]=this[_0x20ae1a(0x24b)](),_0xbe3d76=this[_0x20ae1a(0x574)][_0x20ae1a(0x51b)](_0xffb2b9,this[_0x20ae1a(0x5e5)],this[_0x20ae1a(0x4ee)],_0xb8d82a[0x0],this[_0x20ae1a(0x2d7)]);else{if(_0x3bff67[_0x20ae1a(0x465)]!==0x0){const _0x3f8599=this[_0x20ae1a(0x574)][_0x20ae1a(0x51b)](_0x3f310d,this[_0x20ae1a(0x5e5)],this[_0x20ae1a(0x4ee)],_0x3bff67,this[_0x20ae1a(0x2d7)]);_0x3f8599[_0x20ae1a(0x663)](),_0xbe3d76=_0x3f8599;}else _0xbe3d76=this[_0x20ae1a(0x574)][_0x20ae1a(0x51b)](_0x3789e6,this[_0x20ae1a(0x5e5)],this[_0x20ae1a(0x4ee)],this[_0x20ae1a(0x2d7)]);}}return _0xbe3d76['_updateLocalCache'](),_0xbe3d76;}catch(_0x1852c6){return this[_0x20ae1a(0x26b)]['error'](_0x20ae1a(0x2f4),_0x20ae1a(0x5c1),_0x1852c6),this[_0x20ae1a(0x574)]['createInstance'](_0x13ddc7,this[_0x20ae1a(0x5e5)],this[_0x20ae1a(0x4ee)],this[_0x20ae1a(0x3c9)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){const _0x22005d=_0x2ed730;throw new Error(_0x22005d(0x3a9));}[_0x2ed730(0x55e)](_0x3ac6b4){return this['_pendingMutations']['push'](_0x3ac6b4),this;}[_0x2ed730(0x5ca)](_0x5e0990){const _0x2e0129=_0x2ed730;return this['_queuedRemoteChangesets'][_0x2e0129(0x4ef)](_0x5e0990),this;}[_0x2ed730(0x5e8)](_0x477417){const _0x1e82ed=_0x2ed730;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x1e82ed(0x3c9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2ed730(0x313)](_0x467781){const _0x50e4bb=_0x2ed730;return this[_0x50e4bb(0x6a1)](!!(_0x467781!=null&&_0x467781[_0x50e4bb(0x462)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x59dd9f=_0x2ed730;return this[_0x59dd9f(0x574)][_0x59dd9f(0x51b)](_0x4b5a88,this[_0x59dd9f(0x5e5)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x59dd9f(0x2d7)]);}[_0x2ed730(0x5f0)](){return this;}[_0x2ed730(0x6a1)](_0x12f7aa){const _0x1ec74c=_0x2ed730;return this[_0x1ec74c(0x574)][_0x1ec74c(0x51b)](_0x13ddc7,this[_0x1ec74c(0x5e5)],this[_0x1ec74c(0x4ee)],this[_0x1ec74c(0x3c9)],this['_pendingMutations'],this[_0x1ec74c(0x2d7)],_0x12f7aa);}};_0x1817fb=_0x28c3e5([_0x39912e(0x7,_0x4d1a65['Inject'](_0x4d1a65[_0x2ed730(0x463)])),_0x39912e(0x8,_0x4d1a65['Inject'](_0x1c4909[_0x2ed730(0x48e)])),_0x39912e(0x9,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x5f8)])),_0x39912e(0xa,_0x4d1a65[_0x2ed730(0x22f)]),_0x39912e(0xb,_0x4d1a65[_0x2ed730(0x38f)]),_0x39912e(0xc,_0x4d1a65[_0x2ed730(0x649)]),_0x39912e(0xd,_0x1c4909[_0x2ed730(0x438)])],_0x1817fb);function _0x510e25(_0x3bd4fe,_0x55f7e3,_0x5d3cb6,_0x3a43b2,_0x4a65a4,_0x52a93f){const _0x4595d9=_0x2ed730;return _0x3a43b2&&_0x4a65a4[_0x4595d9(0x465)]?_0x3bd4fe['createInstance'](_0x8e034f,_0x55f7e3,_0x5d3cb6,_0x3a43b2,_0x4a65a4,_0x52a93f,void 0x0):_0x3a43b2?_0x3bd4fe['createInstance'](_0xffb2b9,_0x55f7e3,_0x5d3cb6,_0x3a43b2,_0x52a93f):_0x4a65a4[_0x4595d9(0x465)]?_0x3bd4fe['createInstance'](_0x3f310d,_0x55f7e3,_0x5d3cb6,_0x4a65a4,_0x52a93f):_0x3bd4fe[_0x4595d9(0x51b)](_0x3789e6,_0x55f7e3,_0x5d3cb6,_0x52a93f);}var _0x5b2a84=Object['defineProperty'],_0x47ae12=Object[_0x2ed730(0x2c1)],_0x4af22b=(_0x3fe63c,_0x2fa964,_0x24700b,_0xce8bd1)=>{for(var _0x1a4de7=_0xce8bd1>0x1?void 0x0:_0xce8bd1?_0x47ae12(_0x2fa964,_0x24700b):_0x2fa964,_0x40f1c2=_0x3fe63c['length']-0x1,_0xf5488a;_0x40f1c2>=0x0;_0x40f1c2--)(_0xf5488a=_0x3fe63c[_0x40f1c2])&&(_0x1a4de7=(_0xce8bd1?_0xf5488a(_0x2fa964,_0x24700b,_0x1a4de7):_0xf5488a(_0x1a4de7))||_0x1a4de7);return _0xce8bd1&&_0x1a4de7&&_0x5b2a84(_0x2fa964,_0x24700b,_0x1a4de7),_0x1a4de7;},_0xe4974f=(_0xd75c2c,_0x233184)=>(_0x2674f9,_0x5d64eb)=>_0x233184(_0x2674f9,_0x5d64eb,_0xd75c2c);_0x20c240[_0x2ed730(0x440)]=class extends _0x4d1a65[_0x2ed730(0x6a9)]{constructor(_0x454477,_0x3cedb0,_0x570b6a,_0xedd723,_0x2e7b28,_0x200693,_0x302270,_0x17aa57,_0x1baccd,_0x195856,_0x7d02ac,_0x14d1a6,_0x2d027f){const _0x31106c=_0x2ed730;super(),_0x10a616(this,_0x31106c(0x2f7),new _0x605d86[(_0x31106c(0x548))](null)),_0x10a616(this,_0x31106c(0x4ad),this[_0x31106c(0x2f7)][_0x31106c(0x5a9)]()),_0x10a616(this,'_state'),_0x10a616(this,'_collaborationPaused',!0x1),_0x10a616(this,_0x31106c(0x24d),''),_0x10a616(this,'_changesetReqId',0x0),_0x10a616(this,'status$',this[_0x31106c(0x4ad)][_0x31106c(0x661)](_0x605d86[_0x31106c(0x3fc)](_0x3ac6e6=>_0x3ac6e6?_0x3ac6e6['status']:_0x35a0b3[_0x31106c(0x2a6)]),_0x605d86[_0x31106c(0x1ef)](0x1))),_0x10a616(this,_0x31106c(0x67a),!0x1),_0x10a616(this,_0x31106c(0x412),[]),(this[_0x31106c(0x5e5)]=_0x454477,this[_0x31106c(0x358)]=_0x3cedb0,this[_0x31106c(0x220)]=_0x570b6a,this[_0x31106c(0x574)]=_0xedd723,this[_0x31106c(0x5e9)]=_0x2e7b28,this[_0x31106c(0x278)]=_0x200693,this[_0x31106c(0x3d3)]=_0x302270,this[_0x31106c(0x474)]=_0x17aa57,this['_logService']=_0x1baccd,this[_0x31106c(0x224)]=_0x195856,this[_0x31106c(0x451)]=_0x7d02ac,this['_permissionService']=_0x14d1a6,this[_0x31106c(0x505)]=_0x2d027f);}get[_0x2ed730(0x42e)](){const _0x2fcfc0=_0x2ed730;return this[_0x2fcfc0(0x66b)];}async[_0x2ed730(0x514)](){const _0x2748e0=_0x2ed730;if(this[_0x2748e0(0x42e)])throw new Error(_0x2748e0(0x5fc));await this[_0x2748e0(0x69b)]();}[_0x2ed730(0x295)](){const _0x5eaf45=_0x2ed730;return this[_0x5eaf45(0x266)]=!0x0,_0x4d1a65[_0x5eaf45(0x464)](()=>{const _0x3eac2d=_0x5eaf45;this[_0x3eac2d(0x266)]=!0x1,this[_0x3eac2d(0x244)]();});}[_0x2ed730(0x66c)](_0x51bb17){const _0x506aa7=_0x2ed730;this['_state']=_0x51bb17,this[_0x506aa7(0x2f7)][_0x506aa7(0x4fe)](_0x51bb17);}async[_0x2ed730(0x69b)](){const _0x255761=_0x2ed730;var _0x53523e;this[_0x255761(0x66c)](await this[_0x255761(0x410)]()),this[_0x255761(0x505)]&&((_0x53523e=this[_0x255761(0x505)])==null||_0x53523e[_0x255761(0x3fa)](this[_0x255761(0x5e5)]),this[_0x255761(0x225)](this[_0x255761(0x505)][_0x255761(0x39a)](this[_0x255761(0x5e5)])['subscribe'](_0x4b4066=>{const _0x5a83a4=_0x255761;this[_0x5a83a4(0x26b)][_0x5a83a4(0x4a4)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x4b4066),_0x4b4066===_0x23949a['OTHER_CLIENTS_EDITING']?(this[_0x5a83a4(0x451)][_0x5a83a4(0x5f4)]({'content':this[_0x5a83a4(0x3d3)]['t'](_0x5a83a4(0x36b)),'type':_0x52328b['MessageType'][_0x5a83a4(0x590)]}),this['_permissionService'][_0x5a83a4(0x543)](new _0x371d26[(_0x5a83a4(0x52c))](this['unitID'])['id'],!0x1),this[_0x5a83a4(0x1cf)][_0x5a83a4(0x2f2)](!0x1)):(this[_0x5a83a4(0x1cf)][_0x5a83a4(0x543)](new _0x371d26[(_0x5a83a4(0x52c))](this[_0x5a83a4(0x5e5)])['id'],!0x0),this[_0x5a83a4(0x1cf)][_0x5a83a4(0x2f2)](!0x0));})));let _0x20c0e8=!0x1;return this['disposeWithMe'](this[_0x255761(0x358)][_0x255761(0x363)][_0x255761(0x60e)](_0x22b29b=>{const _0x5715c9=_0x255761;_0x22b29b===_0x2a1392[_0x5715c9(0x28b)]?this[_0x5715c9(0x2b4)](_0x20c0e8):_0x22b29b===_0x2a1392[_0x5715c9(0x2a6)]&&(_0x20c0e8=!0x0,this[_0x5715c9(0x5bc)]());})),this[_0x255761(0x225)](this[_0x255761(0x358)][_0x255761(0x325)][_0x255761(0x60e)](_0x155efc=>{const _0x335c51=_0x255761;try{switch(_0x155efc[_0x335c51(0x323)]){case _0x1c4909['CollaborationEvent'][_0x335c51(0x441)]:{this['_onRemoteChangeset'](_0x1c4909[_0x335c51(0x1ff)](_0x155efc['data']));break;}case _0x1c4909[_0x335c51(0x588)][_0x335c51(0x53b)]:{this[_0x335c51(0x2ea)](_0x155efc[_0x335c51(0x3a1)]);break;}case _0x1c4909[_0x335c51(0x588)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x1c4909[_0x335c51(0x588)]['CHANGESET_SHOULD_RETRY']:{this[_0x335c51(0x5d8)](_0x155efc[_0x335c51(0x3a1)]);break;}case _0x1c4909[_0x335c51(0x588)][_0x335c51(0x681)]:{this['_onFetchMissResult'](_0x155efc[_0x335c51(0x3a1)][_0x335c51(0x3e0)][_0x335c51(0x3fc)](_0x4661e5=>_0x1c4909['parseProtocolChangeset'](_0x4661e5)));break;}case _0x1c4909['CollaborationEvent'][_0x335c51(0x565)]:this[_0x335c51(0x45e)]({'isPermissionRej':!0x0});}}catch(_0xeb505d){throw console['error'](_0x335c51(0x5b9),_0xeb505d),_0xeb505d;}})),this[_0x255761(0x66b)];}[_0x2ed730(0x547)](){const _0x2ecc2a=_0x2ed730;this[_0x2ecc2a(0x67a)]=!0x1;}[_0x2ed730(0x1f6)](){const _0x145732=_0x2ed730;if(this['_transitionLocked'])throw new Error(_0x145732(0x609));this[_0x145732(0x67a)]=!0x0;}[_0x2ed730(0x34c)](_0x17db06){const _0x339fe3=_0x2ed730;this[_0x339fe3(0x1f6)](),this[_0x339fe3(0x66c)](this[_0x339fe3(0x66b)]['appendMutation'](_0x17db06)),this['_unlockTransition']();}[_0x2ed730(0x2f6)](_0x3a24a2){const _0x3da3bf=_0x2ed730;if(!(_0x3a24a2[_0x3da3bf(0x5d3)]<=this[_0x3da3bf(0x474)]['getCurrentRevOfUnit'](this[_0x3da3bf(0x5e5)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3da3bf(0x4ef)](_0x3a24a2);return;}this['_applyRemoteChangeset'](_0x3a24a2);}}[_0x2ed730(0x244)](){const _0x20077d=_0x2ed730;this[_0x20077d(0x412)][_0x20077d(0x587)](_0x727634=>this[_0x20077d(0x285)](_0x727634)),this[_0x20077d(0x412)]=[];}['_applyRemoteChangeset'](_0x2adf40){const _0xc025c0=_0x2ed730,_0x440e0f=this[_0xc025c0(0x278)][_0xc025c0(0x39f)][_0xc025c0(0x5e4)](this['_compressMutationService']['interceptor'][_0xc025c0(0x5c4)]()[_0xc025c0(0x49e)])(_0x2adf40[_0xc025c0(0x3df)],null)||_0x2adf40[_0xc025c0(0x3df)],_0x2d6bcd={..._0x2adf40,'mutations':_0x440e0f};this[_0xc025c0(0x1f6)](),this[_0xc025c0(0x66c)](this[_0xc025c0(0x66b)][_0xc025c0(0x5ca)](_0x2d6bcd)),this[_0xc025c0(0x547)]();}[_0x2ed730(0x2ea)](_0x21d634){const _0xd3441b=_0x2ed730;this[_0xd3441b(0x1f6)](),this[_0xd3441b(0x66c)](this['_state']['onRemoteAck'](_0x21d634)),this[_0xd3441b(0x547)]();}[_0x2ed730(0x45e)](_0x5c6c26){const _0x36c592=_0x2ed730;this[_0x36c592(0x1f6)](),this['_updateState'](this['_state'][_0x36c592(0x313)](_0x5c6c26)),this['_unlockTransition']();}[_0x2ed730(0x5d8)](_0x4ececd){const _0xdfe59e=_0x2ed730;this['_lockTransition'](),this[_0xdfe59e(0x66c)](this[_0xdfe59e(0x66b)][_0xdfe59e(0x5a7)](_0x4ececd)),this['_unlockTransition']();}[_0x2ed730(0x338)](_0x44347f){const _0x241e76=_0x2ed730;if(!(this[_0x241e76(0x66b)]instanceof _0x1817fb))throw new TypeError(_0x241e76(0x2ee));const _0x49715b=_0x44347f['map'](_0x561c97=>{const _0x59d97e=_0x241e76,_0x1ea05f=this['_compressMutationService']['interceptor'][_0x59d97e(0x5e4)](this[_0x59d97e(0x278)][_0x59d97e(0x39f)]['getInterceptPoints']()[_0x59d97e(0x49e)])(_0x561c97['mutations'],null)||_0x561c97[_0x59d97e(0x3df)];return{..._0x561c97,'mutations':_0x1ea05f};});this[_0x241e76(0x1f6)](),this[_0x241e76(0x66c)](this[_0x241e76(0x66b)][_0x241e76(0x59c)](_0x49715b)),this['_unlockTransition']();}['_toggleOffline'](){const _0x10349e=_0x2ed730;this[_0x10349e(0x1f6)](),this[_0x10349e(0x66c)](this[_0x10349e(0x66b)][_0x10349e(0x292)]()),this['_unlockTransition']();}[_0x2ed730(0x2b4)](_0xbc0c82=!0x1){const _0x49e314=_0x2ed730;this[_0x49e314(0x1f6)](),this[_0x49e314(0x66c)](this[_0x49e314(0x66b)][_0x49e314(0x5f0)]()),this['_unlockTransition']();const _0xa6a7a8=this[_0x49e314(0x66b)];_0xbc0c82&&_0xa6a7a8 instanceof _0x3789e6&&(this[_0x49e314(0x1f6)](),this[_0x49e314(0x66c)](_0xa6a7a8[_0x49e314(0x69e)]()),this['_unlockTransition']());}async[_0x2ed730(0x410)](){return new Promise(_0x20f872=>{const _0x131e38=_0x3f6c;this['session'][_0x131e38(0x363)]['pipe'](_0x605d86['take'](0x1))[_0x131e38(0x60e)](async _0x4cb442=>{const _0x28bde9=_0x131e38;_0x20f872(await this[_0x28bde9(0x41f)](_0x4cb442===_0x2a1392[_0x28bde9(0x28b)]));});});}[_0x2ed730(0x439)](){const _0x3a460d=_0x2ed730,_0x305e11=this[_0x3a460d(0x5e5)];return{'onStateChange':(_0x1326ca,_0x42e45c)=>{const _0x1b29b6=_0x3a460d;if(_0x1326ca!==this['_state'])throw new Error(_0x1b29b6(0x21e)+_0x1326ca[_0x1b29b6(0x370)]+_0x1b29b6(0x5a8)+_0x42e45c[_0x1b29b6(0x370)]+_0x1b29b6(0x48b)+this[_0x1b29b6(0x66b)][_0x1b29b6(0x370)]);this[_0x1b29b6(0x66c)](_0x42e45c);},'onSendChangeset':_0x4607f3=>{const _0x15fa5d=_0x3a460d;_0x4607f3[_0x15fa5d(0x4d0)]||(_0x4607f3['sid']=this[_0x15fa5d(0x24d)],_0x4607f3[_0x15fa5d(0x61d)]=++this[_0x15fa5d(0x248)]);const _0x536a96={'eventID':_0x1c4909[_0x15fa5d(0x588)][_0x15fa5d(0x54a)],'data':{'unitID':_0x4607f3[_0x15fa5d(0x5e5)],'unitType':this[_0x15fa5d(0x220)],'changeset':_0x4607f3,'memberID':this[_0x15fa5d(0x358)][_0x15fa5d(0x5f9)]()}};this[_0x15fa5d(0x358)][_0x15fa5d(0x1fb)](_0x536a96,this[_0x15fa5d(0x5e5)]);},'onMissingChangesets':({from:_0x55d442,to:_0x24c345})=>{const _0x114206=_0x3a460d;this[_0x114206(0x26b)][_0x114206(0x4a4)](_0x114206(0x459),_0x114206(0x544)+_0x55d442+_0x114206(0x215)+_0x24c345);const _0x36a051={'eventID':_0x1c4909['CollaborationEvent'][_0x114206(0x569)],'data':{'unitID':_0x305e11,'unitType':this[_0x114206(0x220)],'from':_0x55d442,'to':_0x24c345}};this[_0x114206(0x358)]['send'](_0x36a051,this[_0x114206(0x5e5)]);}};}async['_createInitialStateImpl'](_0x24328e){const _0xbdf041=_0x2ed730;var _0x12de7e,_0x35be75;const _0xbd696c=await this[_0xbdf041(0x5e9)][_0xbdf041(0x32b)](this[_0xbdf041(0x5e5)]),_0x3b0e8e=(_0x12de7e=_0xbd696c==null?void 0x0:_0xbd696c[_0xbdf041(0x3df)])!=null?_0x12de7e:[],_0x4cf429=(_0x35be75=_0xbd696c==null?void 0x0:_0xbd696c['awaitingChangeset'])!=null?_0x35be75:null,_0x8fa70d=!!(_0x4cf429!=null&&_0x4cf429[_0xbdf041(0x4d0)])&&!!(_0x4cf429!=null&&_0x4cf429[_0xbdf041(0x61d)]);this['_changesetSessionId']=_0x8fa70d?_0x4cf429[_0xbdf041(0x4d0)]:_0x4ce6b5(),this[_0xbdf041(0x248)]=_0x8fa70d?_0x4cf429['reqId']:0x0;const _0x127390=this[_0xbdf041(0x5e5)];try{this['_replayCachedMutations'](_0x4cf429,_0x3b0e8e);}catch(_0x3a9131){this[_0xbdf041(0x26b)][_0xbdf041(0x4c3)](_0x3a9131);}const _0x3785aa=this[_0xbdf041(0x439)]();if(_0x24328e){const _0x414b31=_0x510e25(this['_injector'],_0x127390,this[_0xbdf041(0x220)],_0x4cf429,_0x3b0e8e,_0x3785aa);return _0x414b31 instanceof _0x3f310d?_0x414b31[_0xbdf041(0x663)]():(_0x414b31 instanceof _0x8e034f||_0x414b31 instanceof _0xffb2b9)&&_0x414b31['resend'](),_0x414b31;}return this[_0xbdf041(0x574)][_0xbdf041(0x51b)](_0x4b5a88,_0x127390,this['_type'],_0x4cf429,_0x3b0e8e,_0x3785aa);}[_0x2ed730(0x1de)](_0x4fe270,_0x5c73dc){const _0x87e9dc=_0x2ed730;var _0x215ee2,_0x10a460;const _0x25c92d=this['_compressMutationService'][_0x87e9dc(0x39f)][_0x87e9dc(0x5e4)](this[_0x87e9dc(0x278)][_0x87e9dc(0x39f)]['getInterceptPoints']()[_0x87e9dc(0x49e)]);(_0x215ee2=_0x25c92d((_0x4fe270==null?void 0x0:_0x4fe270[_0x87e9dc(0x3df)])||[],null))==null||_0x215ee2[_0x87e9dc(0x587)](_0xbe5043=>this[_0x87e9dc(0x224)]['executeCommand'](_0xbe5043['id'],_0xbe5043[_0x87e9dc(0x36d)])),(_0x10a460=_0x25c92d(_0x5c73dc||[],null))==null||_0x10a460[_0x87e9dc(0x587)](_0x577270=>this[_0x87e9dc(0x224)][_0x87e9dc(0x308)](_0x577270['id'],_0x577270['params']));}},_0x20c240['CollaborationEntity']=_0x4af22b([_0xe4974f(0x3,_0x4d1a65['Inject'](_0x4d1a65[_0x2ed730(0x463)])),_0xe4974f(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x5f8)])),_0xe4974f(0x5,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909['CompressMutationService'])),_0xe4974f(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x353)])),_0xe4974f(0x7,_0x4d1a65['Inject'](_0x1c4909[_0x2ed730(0x48e)])),_0xe4974f(0x8,_0x4d1a65[_0x2ed730(0x22f)]),_0xe4974f(0x9,_0x4d1a65[_0x2ed730(0x38f)]),_0xe4974f(0xa,_0x247dcf[_0x2ed730(0x1c7)]),_0xe4974f(0xb,_0x4d1a65[_0x2ed730(0x420)]),_0xe4974f(0xc,_0x4d1a65[_0x2ed730(0x46a)](_0x1f7abf))],_0x20c240[_0x2ed730(0x440)]),_0x20c240['DocCollaborationEntity']=class extends _0x20c240['CollaborationEntity']{constructor(_0x530f75,_0xf4e209,_0x2e22a9,_0x4244f4,_0x372756,_0xc14f49,_0xe79dda,_0x1ba4bd,_0x1c5f18,_0xd6ff74,_0x409e9b,_0x57637c,_0x4e20a4,_0x285ed9,_0x56e3cf,_0x579ff8,_0x41c0f9,_0x4864f4){const _0x274197=_0x2ed730;super(_0x530f75,_0x2e22a9,_0xf4e209,_0x4244f4,_0x372756,_0xc14f49,_0xe79dda,_0x1ba4bd,_0x285ed9,_0x56e3cf,_0x579ff8,_0x41c0f9,_0x4864f4),this[_0x274197(0x5e5)]=_0x530f75,this['type']=_0xf4e209,this[_0x274197(0x68c)]=_0x1c5f18,this[_0x274197(0x2c5)]=_0xd6ff74,this[_0x274197(0x4e6)]=_0x409e9b,this['_docTransformSelectionsService']=_0x57637c,this['_docSyncEditingCollabCursorService']=_0x4e20a4;}['_createHandler'](){const _0x16d68c=_0x2ed730,_0x5bc68d=super[_0x16d68c(0x439)]();return _0x5bc68d['onTransformIME']=_0x5b258b=>this[_0x16d68c(0x2c5)]['transformIMECache'](_0x5b258b),_0x5bc68d['onTransformState']=_0x599de4=>this[_0x16d68c(0x4e6)]['transformStateCache'](_0x599de4),_0x5bc68d['onTransformSelections']=_0x4663a0=>this[_0x16d68c(0x2d5)][_0x16d68c(0x2f5)](_0x4663a0),_0x5bc68d['onSyncEditingCollabCursor']=_0x17ca33=>this[_0x16d68c(0x43a)]['syncEditingCollabCursor'](_0x17ca33),_0x5bc68d[_0x16d68c(0x3c5)]=_0x32fe63=>this[_0x16d68c(0x2c5)]['transformRemoteChangeset'](_0x32fe63),_0x5bc68d['onTransformRemoteChangesetByStateCache']=_0x14b73d=>this[_0x16d68c(0x4e6)][_0x16d68c(0x532)](_0x14b73d),_0x5bc68d;}async[_0x2ed730(0x69b)](){const _0x2b38da=_0x2ed730,_0x5c5e85=await super['_init']();return this[_0x2b38da(0x225)](this['_docStateChangeManagerService'][_0x2b38da(0x64a)][_0x2b38da(0x661)](_0x605d86['takeUntil'](this[_0x2b38da(0x3ee)]))[_0x2b38da(0x60e)](_0x132315=>{const _0x2ce2b4=_0x2b38da;if(_0x132315==null)return;const {unitId:_0x15fc36,redoState:_0x16d86d,commandId:_0x456980}=_0x132315;if(_0x15fc36!==this[_0x2ce2b4(0x5e5)])return;const _0x3515dc={'id':_0x456980,'type':_0x4d1a65['CommandType'][_0x2ce2b4(0x63a)],'params':{'unitId':_0x15fc36,'actions':_0x16d86d[_0x2ce2b4(0x62a)],'textRanges':null}};this[_0x2ce2b4(0x34c)](_0x3515dc);})),this[_0x2b38da(0x225)](this[_0x2b38da(0x224)]['onCommandExecuted']((_0x5ea7e0,_0x470e89)=>{const _0xe17c5f=_0x2b38da;if(_0x5ea7e0[_0xe17c5f(0x4ee)]!==_0x4d1a65[_0xe17c5f(0x3b4)][_0xe17c5f(0x63a)]||_0x470e89!=null&&_0x470e89[_0xe17c5f(0x491)]||_0x470e89!=null&&_0x470e89[_0xe17c5f(0x560)]||_0x5ea7e0['id']===_0x209469[_0xe17c5f(0x38d)]['id'])return;const _0x183e03=_0x5ea7e0[_0xe17c5f(0x36d)];if((_0x183e03==null?void 0x0:_0x183e03['unitId'])!==this[_0xe17c5f(0x5e5)])return;const _0x2ecd15=_0x5ea7e0,_0x5c516a=this['_compressMutationService']['interceptor'][_0xe17c5f(0x5e4)](this[_0xe17c5f(0x278)][_0xe17c5f(0x39f)][_0xe17c5f(0x5c4)]()[_0xe17c5f(0x4dc)])([_0x2ecd15],null)||[_0x2ecd15];this[_0xe17c5f(0x34c)](_0x5c516a[0x0]);})),_0x5c5e85;}},_0x20c240['DocCollaborationEntity']=_0x4af22b([_0xe4974f(0x3,_0x4d1a65['Inject'](_0x4d1a65[_0x2ed730(0x463)])),_0xe4974f(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x5f8)])),_0xe4974f(0x5,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x635)])),_0xe4974f(0x6,_0x4d1a65['Inject'](_0x4d1a65[_0x2ed730(0x353)])),_0xe4974f(0x7,_0x4d1a65['Inject'](_0x1c4909[_0x2ed730(0x48e)])),_0xe4974f(0x8,_0x4d1a65['Inject'](_0x3f56ba['DocStateChangeManagerService'])),_0xe4974f(0x9,_0x4d1a65['Inject'](_0x101d45)),_0xe4974f(0xa,_0x4d1a65[_0x2ed730(0x436)](_0xcc4ee4)),_0xe4974f(0xb,_0x4d1a65[_0x2ed730(0x436)](_0x52b1c3)),_0xe4974f(0xc,_0x4d1a65[_0x2ed730(0x436)](_0x4d2573)),_0xe4974f(0xd,_0x4d1a65['ILogService']),_0xe4974f(0xe,_0x4d1a65[_0x2ed730(0x38f)]),_0xe4974f(0xf,_0x247dcf[_0x2ed730(0x1c7)]),_0xe4974f(0x10,_0x4d1a65[_0x2ed730(0x420)]),_0xe4974f(0x11,_0x4d1a65['Optional'](_0x1f7abf))],_0x20c240[_0x2ed730(0x5b3)]),_0x20c240[_0x2ed730(0x449)]=class extends _0x20c240['CollaborationEntity']{constructor(_0x11c80f,_0x46795f,_0x488d66,_0x1c3c94,_0x50edff,_0x12a962,_0x355f47,_0x487c82,_0x56a62a,_0x20b4f6,_0x4730ed,_0x38e638,_0x8f0253,_0xd0f8ca){const _0x58a700=_0x2ed730;super(_0x11c80f,_0x488d66,_0x46795f,_0x1c3c94,_0x50edff,_0x12a962,_0x355f47,_0x487c82,_0x20b4f6,_0x4730ed,_0x38e638,_0x8f0253,_0xd0f8ca),this['unitID']=_0x11c80f,this[_0x58a700(0x4ee)]=_0x46795f,this['_sheetTransformSelectionsService']=_0x56a62a;}['_createHandler'](){const _0x53203e=_0x2ed730,_0x2317d7=super['_createHandler']();return _0x2317d7[_0x53203e(0x30a)]=_0x1732bf=>this[_0x53203e(0x302)][_0x53203e(0x2f5)](_0x1732bf),_0x2317d7;}async[_0x2ed730(0x69b)](){const _0x522adf=_0x2ed730,_0x50e9d2=await super[_0x522adf(0x69b)]();return this[_0x522adf(0x225)](this[_0x522adf(0x224)][_0x522adf(0x34a)]((_0x4eab8c,_0x49a731)=>{const _0x21ead4=_0x522adf;if(_0x4eab8c[_0x21ead4(0x4ee)]!==_0x4d1a65[_0x21ead4(0x3b4)]['MUTATION']||_0x49a731!=null&&_0x49a731[_0x21ead4(0x491)]||_0x49a731!=null&&_0x49a731['onlyLocal'])return;const _0x8614bc=_0x4eab8c[_0x21ead4(0x36d)];if((_0x8614bc==null?void 0x0:_0x8614bc[_0x21ead4(0x578)])!==this['unitID'])return;const _0x4d2557=_0x4eab8c,_0xc403b3=this[_0x21ead4(0x278)][_0x21ead4(0x39f)][_0x21ead4(0x5e4)](this[_0x21ead4(0x278)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x4d2557],null)||[_0x4d2557];this['_onLocalMutation'](_0xc403b3[0x0]);})),_0x50e9d2;}},_0x20c240[_0x2ed730(0x449)]=_0x4af22b([_0xe4974f(0x3,_0x4d1a65['Inject'](_0x4d1a65['Injector'])),_0xe4974f(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x5f8)])),_0xe4974f(0x5,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x635)])),_0xe4974f(0x6,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x353)])),_0xe4974f(0x7,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x48e)])),_0xe4974f(0x8,_0x4d1a65[_0x2ed730(0x436)](_0x5f1684)),_0xe4974f(0x9,_0x4d1a65['ILogService']),_0xe4974f(0xa,_0x4d1a65[_0x2ed730(0x38f)]),_0xe4974f(0xb,_0x247dcf[_0x2ed730(0x1c7)]),_0xe4974f(0xc,_0x4d1a65[_0x2ed730(0x420)]),_0xe4974f(0xd,_0x4d1a65[_0x2ed730(0x46a)](_0x1f7abf))],_0x20c240[_0x2ed730(0x449)]);var _0x130543=Object[_0x2ed730(0x4ff)],_0x307326=Object[_0x2ed730(0x2c1)],_0x173e39=(_0x2843d9,_0x52944e,_0x578c52,_0x2d2a3c)=>{const _0x209e1d=_0x2ed730;for(var _0xa436f0=_0x2d2a3c>0x1?void 0x0:_0x2d2a3c?_0x307326(_0x52944e,_0x578c52):_0x52944e,_0x196b6e=_0x2843d9[_0x209e1d(0x465)]-0x1,_0x2543eb;_0x196b6e>=0x0;_0x196b6e--)(_0x2543eb=_0x2843d9[_0x196b6e])&&(_0xa436f0=(_0x2d2a3c?_0x2543eb(_0x52944e,_0x578c52,_0xa436f0):_0x2543eb(_0xa436f0))||_0xa436f0);return _0x2d2a3c&&_0xa436f0&&_0x130543(_0x52944e,_0x578c52,_0xa436f0),_0xa436f0;},_0x1b3019=(_0xee3fbf,_0x2c3789)=>(_0x2e6676,_0x26f0c0)=>_0x2c3789(_0x2e6676,_0x26f0c0,_0xee3fbf);_0x20c240['CollaborationController']=class extends _0x4d1a65['RxDisposable']{constructor(_0x561b87,_0x5b31cc,_0x4f5826){const _0x167374=_0x2ed730;super(),_0x10a616(this,'_entities',new Map()),_0x10a616(this,_0x167374(0x2c0),new _0x605d86['Subject']()),(this[_0x167374(0x574)]=_0x561b87,this[_0x167374(0x59a)]=_0x5b31cc,this[_0x167374(0x443)]=_0x4f5826,this[_0x167374(0x69b)]());}[_0x2ed730(0x368)](){const _0x52266d=_0x2ed730;super[_0x52266d(0x368)](),this[_0x52266d(0x2b0)]['forEach'](_0x5f362f=>_0x5f362f[_0x52266d(0x368)]()),this['_entities'][_0x52266d(0x24c)]();}['getCollabEntity'](_0xfa9a31){const _0x35d715=_0x2ed730;var _0x4ae828;return(_0x4ae828=this['_entities'][_0x35d715(0x3fd)](_0xfa9a31))!=null?_0x4ae828:null;}[_0x2ed730(0x1f3)](_0xfeb5a6){const _0x1ecff6=_0x2ed730,_0x474ede=this['getCollabEntity'](_0xfeb5a6);return _0x474ede?_0x605d86['of'](_0x474ede):this[_0x1ecff6(0x2c0)][_0x1ecff6(0x661)](_0x258e23['filter'](_0x571e1a=>_0x571e1a[_0x1ecff6(0x5e5)]===_0xfeb5a6));}[_0x2ed730(0x69b)](){const _0x578cff=_0x2ed730;this[_0x578cff(0x443)][_0x578cff(0x648)](_0x4d1a65[_0x578cff(0x251)][_0x578cff(0x383)])['pipe'](_0x605d86[_0x578cff(0x4d9)](this[_0x578cff(0x3ee)]),_0x258e23[_0x578cff(0x4a8)](0x10))[_0x578cff(0x60e)](async _0x2c3eab=>{const _0x20db6b=_0x578cff,_0x18f5ff=_0x2c3eab[_0x20db6b(0x4bd)](),_0x1a5c98=await this[_0x20db6b(0x5ae)](_0x18f5ff,_0x326e6d[_0x20db6b(0x383)]);this[_0x20db6b(0x2b0)][_0x20db6b(0x576)](_0x18f5ff,_0x1a5c98);}),this[_0x578cff(0x443)][_0x578cff(0x648)](_0x4d1a65[_0x578cff(0x251)][_0x578cff(0x60b)])[_0x578cff(0x661)](_0x605d86[_0x578cff(0x4d9)](this[_0x578cff(0x3ee)]),_0x258e23['delay'](0x10))['pipe'](_0x258e23['filter'](_0x2f2781=>!_0x2f2781[_0x578cff(0x4bd)]()[_0x578cff(0x529)]('__')))[_0x578cff(0x60e)](async _0x2e9451=>{const _0x125305=_0x578cff,_0x5af36e=_0x2e9451['getUnitId'](),_0x58cf55=await this[_0x125305(0x5ae)](_0x5af36e,_0x326e6d[_0x125305(0x60b)]);this[_0x125305(0x2b0)][_0x125305(0x576)](_0x5af36e,_0x58cf55);}),_0x605d86[_0x578cff(0x2fd)](this[_0x578cff(0x443)][_0x578cff(0x213)](_0x4d1a65[_0x578cff(0x251)]['UNIVER_SHEET']),this[_0x578cff(0x443)][_0x578cff(0x213)](_0x4d1a65[_0x578cff(0x251)]['UNIVER_DOC']))[_0x578cff(0x661)](_0x605d86[_0x578cff(0x4d9)](this[_0x578cff(0x3ee)]))[_0x578cff(0x60e)](_0x1daa6f=>{const _0x5c018e=_0x578cff,_0x4ce26b=_0x1daa6f[_0x5c018e(0x4bd)](),_0xb30745=this[_0x5c018e(0x2b0)]['get'](_0x4ce26b);_0xb30745&&(_0xb30745[_0x5c018e(0x368)](),this[_0x5c018e(0x2b0)]['delete'](_0x4ce26b));});}async[_0x2ed730(0x5ae)](_0x55d47b,_0x5847a3){const _0x907d24=_0x2ed730,_0xb9288d=await this[_0x907d24(0x59a)][_0x907d24(0x430)](_0x55d47b),_0x32e96e=this['_injector'][_0x907d24(0x51b)](this[_0x907d24(0x41d)](_0x5847a3),_0x55d47b,_0x5847a3,_0xb9288d);return await _0x32e96e[_0x907d24(0x514)](),this[_0x907d24(0x2c0)][_0x907d24(0x4fe)](_0x32e96e),_0x32e96e;}['_getCtorByUniverType'](_0x581c7a){const _0x84a309=_0x2ed730;switch(_0x581c7a){case _0x326e6d[_0x84a309(0x60b)]:return _0x20c240['DocCollaborationEntity'];case _0x326e6d[_0x84a309(0x383)]:return _0x20c240['SheetCollaborationEntity'];default:throw new Error(_0x84a309(0x417)+_0x581c7a);}}},_0x20c240[_0x2ed730(0x667)]=_0x173e39([_0x1b3019(0x0,_0x4d1a65['Inject'](_0x4d1a65[_0x2ed730(0x463)])),_0x1b3019(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x480)])),_0x1b3019(0x2,_0x4d1a65['IUniverInstanceService'])],_0x20c240[_0x2ed730(0x667)]);var _0x475f14=Object[_0x2ed730(0x4ff)],_0x12e74c=Object[_0x2ed730(0x2c1)],_0xfb89e2=(_0x5c865a,_0x4ab111,_0x527fd8,_0x51d28a)=>{const _0x311926=_0x2ed730;for(var _0x1cd009=_0x51d28a>0x1?void 0x0:_0x51d28a?_0x12e74c(_0x4ab111,_0x527fd8):_0x4ab111,_0x5b09a0=_0x5c865a[_0x311926(0x465)]-0x1,_0x49e035;_0x5b09a0>=0x0;_0x5b09a0--)(_0x49e035=_0x5c865a[_0x5b09a0])&&(_0x1cd009=(_0x51d28a?_0x49e035(_0x4ab111,_0x527fd8,_0x1cd009):_0x49e035(_0x1cd009))||_0x1cd009);return _0x51d28a&&_0x1cd009&&_0x475f14(_0x4ab111,_0x527fd8,_0x1cd009),_0x1cd009;},_0x4bdb5b=(_0x5a4631,_0x4fe200)=>(_0x2891f2,_0x5a7b84)=>_0x4fe200(_0x2891f2,_0x5a7b84,_0x5a4631);let _0x40acea=class extends _0x4d1a65['RxDisposable']{constructor(_0x2dbd0a,_0x3fc5c8){const _0x16031a=_0x2ed730;super(),this[_0x16031a(0x592)]=_0x2dbd0a,this['_imageIoService']=_0x3fc5c8,this[_0x16031a(0x69b)]();}[_0x2ed730(0x69b)](){const _0x2a181e=_0x2ed730,_0x46f63f=this;this[_0x2a181e(0x225)](this[_0x2a181e(0x592)][_0x2a181e(0x1d3)]({'onBeforePasteImage':async _0x3d5733=>{const _0x1d14e3=_0x2a181e,_0x2f891a=await _0x46f63f[_0x1d14e3(0x22e)]['saveImage'](_0x3d5733);return _0x2f891a?{'source':_0x2f891a[_0x1d14e3(0x4c9)],'imageSourceType':_0x2f891a[_0x1d14e3(0x3ba)]}:null;}}));}};_0x40acea=_0xfb89e2([_0x4bdb5b(0x0,_0x3f56ba[_0x2ed730(0x263)]),_0x4bdb5b(0x1,_0x4facdd[_0x2ed730(0x58f)])],_0x40acea);const _0x47d444=['purple300',_0x2ed730(0x60a),_0x2ed730(0x5b7),_0x2ed730(0x388),_0x2ed730(0x583),_0x2ed730(0x20b)];class _0x27c8f extends _0x4d1a65[_0x2ed730(0x512)]{constructor(){const _0x2c38ed=_0x2ed730;super(...arguments),_0x10a616(this,_0x2c38ed(0x33a),new Map()),_0x10a616(this,_0x2c38ed(0x321),0x0);}['assignAColorForMemberID'](_0x5885dd){const _0x15a7d2=_0x2ed730;if(this[_0x15a7d2(0x33a)][_0x15a7d2(0x356)](_0x5885dd))return this[_0x15a7d2(0x33a)]['get'](_0x5885dd);const _0x5c3213=_0x47d444[this['_colorIndex']];return this[_0x15a7d2(0x321)]=(this[_0x15a7d2(0x321)]+0x1)%_0x47d444[_0x15a7d2(0x465)],this['_assignedColors'][_0x15a7d2(0x576)](_0x5885dd,_0x5c3213),_0x5c3213;}}var _0x1754f6=Object[_0x2ed730(0x4ff)],_0x9f476a=Object[_0x2ed730(0x2c1)],_0x218a4c=(_0x215962,_0x2a13d0,_0x565124,_0x485175)=>{const _0x4cd0a8=_0x2ed730;for(var _0x9955e2=_0x485175>0x1?void 0x0:_0x485175?_0x9f476a(_0x2a13d0,_0x565124):_0x2a13d0,_0x475413=_0x215962[_0x4cd0a8(0x465)]-0x1,_0x1a326e;_0x475413>=0x0;_0x475413--)(_0x1a326e=_0x215962[_0x475413])&&(_0x9955e2=(_0x485175?_0x1a326e(_0x2a13d0,_0x565124,_0x9955e2):_0x1a326e(_0x9955e2))||_0x9955e2);return _0x485175&&_0x9955e2&&_0x1754f6(_0x2a13d0,_0x565124,_0x9955e2),_0x9955e2;},_0x170f5d=(_0x3bb3e9,_0x25787a)=>(_0x2e4484,_0x37fec4)=>_0x25787a(_0x2e4484,_0x37fec4,_0x3bb3e9);const _0x4944af=0x12c,_0x23d3bd=0x64;let _0x34a9de=class extends _0x4d1a65['RxDisposable']{constructor(_0x5eda4a,_0xdc946e,_0x121b74,_0x193651,_0x55f674,_0x1a0e1a,_0x1b6760,_0x117db9,_0x38529b){const _0x5197d7=_0x2ed730;super(),_0x10a616(this,_0x5197d7(0x400),!0x1),_0x10a616(this,_0x5197d7(0x69b),!0x1),_0x10a616(this,'_cursorInfo$',new _0x605d86[(_0x5197d7(0x548))](new Map())),_0x10a616(this,_0x5197d7(0x22a),this[_0x5197d7(0x3bf)][_0x5197d7(0x5a9)]()),_0x10a616(this,'_roomMembers$',new _0x605d86['BehaviorSubject']([])),_0x10a616(this,_0x5197d7(0x304),this['_roomMembers$'][_0x5197d7(0x661)](_0x605d86[_0x5197d7(0x680)](_0x4944af))),_0x10a616(this,'_updateLocalCursor',_0x4d1a65[_0x5197d7(0x30f)](_0x1c0656=>{const _0x27aaf6=_0x5197d7,_0x478e29={'eventID':_0x1c4909['CollaborationEvent'][_0x27aaf6(0x5c7)],'data':{'unitID':this[_0x27aaf6(0x5e5)],'memberID':this['_session'][_0x27aaf6(0x5f9)](),'selection':_0x15b004(_0x1c0656)}};this[_0x27aaf6(0x20a)][_0x27aaf6(0x1fb)](_0x478e29,this[_0x27aaf6(0x5e5)]);},_0x23d3bd)),(this[_0x5197d7(0x5e5)]=_0x5eda4a,this['_session']=_0xdc946e,this[_0x5197d7(0x574)]=_0x121b74,this['_colorAssignService']=_0x193651,this['_memberService']=_0x55f674,this[_0x5197d7(0x219)]=_0x1a0e1a,this[_0x5197d7(0x404)]=_0x1b6760,this[_0x5197d7(0x443)]=_0x117db9,this[_0x5197d7(0x224)]=_0x38529b);}get[_0x2ed730(0x253)](){return this['_cursorInfo$']['getValue']();}get[_0x2ed730(0x1e4)](){const _0x5d0970=_0x2ed730;return this[_0x5d0970(0x2e2)]['getValue']();}[_0x2ed730(0x368)](){const _0x3ee6dc=_0x2ed730;super[_0x3ee6dc(0x368)](),this[_0x3ee6dc(0x3bf)]['next'](new Map()),this[_0x3ee6dc(0x3bf)][_0x3ee6dc(0x625)](),this['_roomMembers$'][_0x3ee6dc(0x4fe)]([]),this[_0x3ee6dc(0x2e2)][_0x3ee6dc(0x625)]();}['init'](){const _0x462d4c=_0x2ed730;this['_init']||(this[_0x462d4c(0x69b)]=!0x0,this[_0x462d4c(0x20a)][_0x462d4c(0x363)][_0x462d4c(0x661)](_0x605d86['takeUntil'](this['dispose$']))[_0x462d4c(0x60e)](_0xab339d=>{const _0x72dbad=_0x462d4c;_0xab339d===_0x2a1392[_0x72dbad(0x28b)]?this[_0x72dbad(0x2b4)]():this[_0x72dbad(0x5bc)]();}),this[_0x462d4c(0x20a)][_0x462d4c(0x325)][_0x462d4c(0x661)](_0x605d86[_0x462d4c(0x4d9)](this[_0x462d4c(0x3ee)]))['subscribe'](_0x286449=>{const _0x38c20c=_0x462d4c,_0x458e16=_0x286449[_0x38c20c(0x323)];_0x458e16===_0x1c4909['CollaborationEvent'][_0x38c20c(0x5c7)]&&this[_0x38c20c(0x466)](_0x286449),_0x458e16===_0x1c4909[_0x38c20c(0x588)][_0x38c20c(0x2e8)]&&this[_0x38c20c(0x284)](_0x286449);}),this[_0x462d4c(0x225)](this[_0x462d4c(0x224)]['onCommandExecuted'](_0x19ef90=>{const _0x1f3d79=_0x462d4c,_0xb04650=_0x19ef90[_0x1f3d79(0x36d)];_0xb04650!=null&&this['_online']&&_0x19ef90['id']===_0x209469[_0x1f3d79(0x2ec)]['id']&&_0xb04650[_0x1f3d79(0x578)]===this[_0x1f3d79(0x5e5)]&&_0xb04650[_0x1f3d79(0x354)]===!0x1&&_0xb04650[_0x1f3d79(0x3f5)][_0x1f3d79(0x465)]>0x0&&this['_updateLocalCursor'](_0xb04650[_0x1f3d79(0x3f5)]);})),this[_0x462d4c(0x219)]['collabCursorState$'][_0x462d4c(0x661)](_0x605d86['takeUntil'](this[_0x462d4c(0x3ee)]))[_0x462d4c(0x60e)](_0x4853e5=>{const _0x29171=_0x462d4c;if((_0x4853e5==null?void 0x0:_0x4853e5[_0x29171(0x5e5)])!==this['unitID'])return;const _0x1f7351={'eventID':_0x1c4909[_0x29171(0x588)][_0x29171(0x5c7)],'data':_0x4853e5};this[_0x29171(0x466)](_0x1f7351);}),this['disposeWithMe'](this[_0x462d4c(0x224)][_0x462d4c(0x34a)](_0x368f32=>{const _0x5b96d4=_0x462d4c;if(_0x368f32['params']==null)return;const _0x447250=_0x368f32[_0x5b96d4(0x36d)];if(_0x368f32['id']!==_0x209469[_0x5b96d4(0x38d)]['id']||_0x447250[_0x5b96d4(0x578)]!==this[_0x5b96d4(0x5e5)])return;const _0x3c4a01={'id':_0x5b96d4(0x3b0),'params':_0x447250},_0x5dcbf0=this['cursorInfo'];for(const [_0x46ccfb,_0x30546c]of _0x5dcbf0){const _0x225cc7={'id':_0x5b96d4(0x3b0),'params':{'unitId':this[_0x5b96d4(0x5e5)],'actions':null,'textRanges':_0x30546c[_0x5b96d4(0x3f5)]}},_0x283d12=this[_0x5b96d4(0x404)][_0x5b96d4(0x5a1)](_0x3c4a01,_0x225cc7,!0x1);if(_0x1c4909[_0x5b96d4(0x533)](_0x283d12))throw _0x283d12[_0x5b96d4(0x4c3)];_0x5dcbf0[_0x5b96d4(0x576)](_0x46ccfb,{..._0x30546c,'ranges':_0x283d12[_0x5b96d4(0x5f1)][_0x5b96d4(0x36d)][_0x5b96d4(0x608)]});}queueMicrotask(()=>{const _0x25286f=_0x5b96d4;this[_0x25286f(0x3bf)]['next'](_0x5dcbf0);});})));}[_0x2ed730(0x466)](_0x5c3aa1){const _0xed850d=_0x2ed730;var _0x58d487,_0xb5015a;const {memberID:_0x5a336d,selection:_0x3f7a09}=_0x5c3aa1[_0xed850d(0x3a1)],_0xac9441=_0x2eec7f(_0x3f7a09),_0x557d60=(_0xb5015a=(_0x58d487=this[_0xed850d(0x2e5)][_0xed850d(0x2bc)](this[_0xed850d(0x5e5)],_0x5a336d))==null?void 0x0:_0x58d487[_0xed850d(0x342)])!=null?_0xb5015a:'Unknown\x20user',_0x40ee42={'color':this[_0xed850d(0x3e5)][_0xed850d(0x570)](_0x5a336d),'name':_0x557d60,'ranges':_0xac9441},_0x35fb8a=this[_0xed850d(0x253)];_0x35fb8a[_0xed850d(0x576)](_0x5a336d,_0x40ee42),this['_cursorInfo$']['next'](_0x35fb8a);}[_0x2ed730(0x284)](_0x38a472){const _0x7ac9c8=_0x2ed730,{memberID:_0x4e95bc}=_0x38a472[_0x7ac9c8(0x3a1)],_0x21b7f1=this['cursorInfo'];_0x21b7f1['delete'](_0x4e95bc),this[_0x7ac9c8(0x3bf)][_0x7ac9c8(0x4fe)](_0x21b7f1);}[_0x2ed730(0x2b4)](){const _0xef24eb=_0x2ed730;var _0x2ec677;if(this['_online']=!0x0,((_0x2ec677=this[_0xef24eb(0x443)][_0xef24eb(0x4e5)]())==null?void 0x0:_0x2ec677[_0xef24eb(0x4bd)]())!==this[_0xef24eb(0x5e5)])return;const _0x44d5a8=this[_0xef24eb(0x574)][_0xef24eb(0x3fd)](_0x209469[_0xef24eb(0x551)])[_0xef24eb(0x64c)]();Array['isArray'](_0x44d5a8)&&_0x44d5a8[_0xef24eb(0x465)]>0x0&&this[_0xef24eb(0x59e)](_0x44d5a8);}[_0x2ed730(0x5bc)](){this['_online']=!0x1;}};_0x34a9de=_0x218a4c([_0x170f5d(0x2,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x170f5d(0x3,_0x4d1a65[_0x2ed730(0x436)](_0x27c8f)),_0x170f5d(0x4,_0x4d1a65['Inject'](_0x20c240[_0x2ed730(0x3bd)])),_0x170f5d(0x5,_0x4d1a65[_0x2ed730(0x436)](_0x4d2573)),_0x170f5d(0x6,_0x1c4909[_0x2ed730(0x438)]),_0x170f5d(0x7,_0x4d1a65['IUniverInstanceService']),_0x170f5d(0x8,_0x4d1a65[_0x2ed730(0x38f)])],_0x34a9de);var _0x5dd242=Object[_0x2ed730(0x4ff)],_0x204700=Object[_0x2ed730(0x2c1)],_0x50194a=(_0x46d19c,_0x2da2de,_0x4c6512,_0x4ad450)=>{const _0x4c8ae3=_0x2ed730;for(var _0x1c658b=_0x4ad450>0x1?void 0x0:_0x4ad450?_0x204700(_0x2da2de,_0x4c6512):_0x2da2de,_0x3d94c2=_0x46d19c[_0x4c8ae3(0x465)]-0x1,_0x50c786;_0x3d94c2>=0x0;_0x3d94c2--)(_0x50c786=_0x46d19c[_0x3d94c2])&&(_0x1c658b=(_0x4ad450?_0x50c786(_0x2da2de,_0x4c6512,_0x1c658b):_0x50c786(_0x1c658b))||_0x1c658b);return _0x4ad450&&_0x1c658b&&_0x5dd242(_0x2da2de,_0x4c6512,_0x1c658b),_0x1c658b;},_0x55686d=(_0x185cc1,_0xb74a4a)=>(_0x551fcf,_0x232988)=>_0xb74a4a(_0x551fcf,_0x232988,_0x185cc1);const _0x3d3f64=0x12c,_0x1dfd52=0x64,_0x51261a=()=>{let _0x1f31ea=[],_0x5c4f20=!0x1;return _0x5662fe=>{const _0x3b163a=_0x3f6c;_0x1f31ea[_0x3b163a(0x4ef)](_0x5662fe),_0x5c4f20||(_0x5c4f20=!0x0,setTimeout(()=>{const _0x5e8a1a=_0x3b163a;_0x1f31ea[_0x5e8a1a(0x587)](_0x506967=>_0x506967()),_0x1f31ea=[],_0x5c4f20=!0x1;}));};};let _0x10a524=class extends _0x4d1a65[_0x2ed730(0x6a9)]{constructor(_0xd00cba,_0x51b5b9,_0x42d766,_0x57dfc9,_0x13ecf4,_0x50d48b,_0x4f6bbb,_0x4ddd86){const _0x109212=_0x2ed730;super(),_0x10a616(this,_0x109212(0x400),!0x1),_0x10a616(this,_0x109212(0x69b),!0x1),_0x10a616(this,'_cursorInfo$',new _0x605d86['BehaviorSubject'](new Map())),_0x10a616(this,_0x109212(0x22a),this[_0x109212(0x3bf)][_0x109212(0x5a9)]()),_0x10a616(this,_0x109212(0x2e2),new _0x605d86['BehaviorSubject']([])),_0x10a616(this,'roomMembers$',this[_0x109212(0x2e2)][_0x109212(0x661)](_0x605d86[_0x109212(0x680)](_0x3d3f64))),_0x10a616(this,_0x109212(0x59e),_0x4d1a65[_0x109212(0x30f)]((_0x3954c9,_0x50d1a2)=>{const _0x5b7b4f=_0x109212,_0x3ba0e5={'eventID':_0x1c4909['CollaborationEvent'][_0x5b7b4f(0x5c7)],'data':{'unitID':this[_0x5b7b4f(0x5e5)],'memberID':this['_session'][_0x5b7b4f(0x5f9)](),'selection':_0xc577aa['serializeRangeWithSheet'](_0x3954c9,_0x50d1a2['range'])}};this[_0x5b7b4f(0x20a)][_0x5b7b4f(0x1fb)](_0x3ba0e5,this['unitID']);},_0x1dfd52)),(this['unitID']=_0xd00cba,this['_session']=_0x51b5b9,this['_injector']=_0x42d766,this['_colorAssignService']=_0x57dfc9,this[_0x109212(0x2e5)]=_0x13ecf4,this[_0x109212(0x443)]=_0x50d48b,this[_0x109212(0x224)]=_0x4f6bbb,this[_0x109212(0x482)]=_0x4ddd86);}get[_0x2ed730(0x253)](){const _0x285a84=_0x2ed730;return this[_0x285a84(0x3bf)]['getValue']();}get[_0x2ed730(0x1e4)](){const _0x4fb8c9=_0x2ed730;return this[_0x4fb8c9(0x2e2)][_0x4fb8c9(0x279)]();}[_0x2ed730(0x368)](){const _0x289426=_0x2ed730;super[_0x289426(0x368)](),this['_cursorInfo$'][_0x289426(0x4fe)](new Map()),this[_0x289426(0x3bf)][_0x289426(0x625)](),this[_0x289426(0x2e2)][_0x289426(0x4fe)]([]),this['_roomMembers$']['complete']();}[_0x2ed730(0x514)](){const _0x5cbbc3=_0x2ed730;this['_init']||(this[_0x5cbbc3(0x69b)]=!0x0,this[_0x5cbbc3(0x20a)][_0x5cbbc3(0x363)]['pipe'](_0x605d86[_0x5cbbc3(0x4d9)](this[_0x5cbbc3(0x3ee)]))['subscribe'](_0x309987=>{const _0x5a662d=_0x5cbbc3;_0x309987===_0x2a1392[_0x5a662d(0x28b)]?this[_0x5a662d(0x2b4)]():this[_0x5a662d(0x5bc)]();}),this[_0x5cbbc3(0x20a)][_0x5cbbc3(0x325)][_0x5cbbc3(0x661)](_0x605d86[_0x5cbbc3(0x4d9)](this[_0x5cbbc3(0x3ee)]))['subscribe'](_0x3b18b6=>{const _0x337565=_0x5cbbc3,_0x28910e=_0x3b18b6[_0x337565(0x323)];_0x28910e===_0x1c4909[_0x337565(0x588)][_0x337565(0x5c7)]&&this['_onCursorUpdate'](_0x3b18b6),_0x28910e===_0x1c4909[_0x337565(0x588)][_0x337565(0x2e8)]&&this[_0x337565(0x284)](_0x3b18b6);}),this[_0x5cbbc3(0x65a)](),this[_0x5cbbc3(0x225)](this[_0x5cbbc3(0x224)]['onCommandExecuted'](_0x348f5d=>{const _0xc6323d=_0x5cbbc3;if(this[_0xc6323d(0x400)]&&_0x348f5d['id']===_0x371d26['SetSelectionsOperation']['id']&&_0x348f5d[_0xc6323d(0x36d)]['unitId']===this[_0xc6323d(0x5e5)]){const _0x12f962=_0x348f5d[_0xc6323d(0x36d)];this[_0xc6323d(0x59e)](_0x12f962[_0xc6323d(0x1e6)],_0x12f962['selections'][0x0]);}})));}['_onCursorUpdate'](_0x42ee00){const _0x9d7e98=_0x2ed730;var _0x3cd464,_0xc03a76;const {memberID:_0x4783e5,selection:_0x46440f}=_0x42ee00[_0x9d7e98(0x3a1)],{sheetName:_0x2bb1f7,range:_0x4da489}=_0xc577aa[_0x9d7e98(0x273)](_0x46440f),_0x2a0d53={'name':(_0xc03a76=(_0x3cd464=this[_0x9d7e98(0x2e5)][_0x9d7e98(0x2bc)](this['unitID'],_0x4783e5))==null?void 0x0:_0x3cd464['name'])!=null?_0xc03a76:_0x9d7e98(0x2fe),'range':this[_0x9d7e98(0x621)](_0x2bb1f7,_0x4da489),'sheetID':_0x2bb1f7,'color':this[_0x9d7e98(0x3e5)][_0x9d7e98(0x570)](_0x4783e5),'selection':_0x46440f},_0x36594f=this[_0x9d7e98(0x253)];_0x36594f['set'](_0x4783e5,_0x2a0d53),this['_cursorInfo$'][_0x9d7e98(0x4fe)](_0x36594f);}[_0x2ed730(0x284)](_0x5a18f0){const _0x119bf3=_0x2ed730,{memberID:_0x418fcb}=_0x5a18f0[_0x119bf3(0x3a1)],_0x1b9944=this[_0x119bf3(0x253)];_0x1b9944['delete'](_0x418fcb),this[_0x119bf3(0x3bf)]['next'](_0x1b9944);}[_0x2ed730(0x621)](_0x324493,_0x1a6929){const _0x1bed94=_0x2ed730;var _0x4c5fc6,_0x294d9f;const _0x4ba057=(_0x294d9f=(_0x4c5fc6=this[_0x1bed94(0x443)]['getUniverSheetInstance'](this[_0x1bed94(0x5e5)]))==null?void 0x0:_0x4c5fc6[_0x1bed94(0x519)](_0x324493))==null?void 0x0:_0x294d9f['getMergeData']();return(_0x4ba057==null?void 0x0:_0x4ba057['find'](_0x937b10=>_0x4d1a65[_0x1bed94(0x4fa)][_0x1bed94(0x5ff)](_0x937b10,_0x1a6929)))||_0x1a6929;}[_0x2ed730(0x65a)](){const _0x29882e=_0x2ed730,_0x34a592=new _0x4d1a65[(_0x29882e(0x402))](),_0x18fb6d=_0x51261a(),_0xdba54a=()=>{const _0x2839d9=_0x29882e;_0x34a592['dispose']();const _0x33ff8a=(_0xb4fd97,_0x6b8922,_0x2b766c,_0x263011)=>{const _0x134a2f=_0x3f6c;let _0x5967cc=[];switch(_0xb4fd97['id']){case _0x371d26[_0x134a2f(0x37b)]['DeleteRangeMoveLeftCommandId']:{_0x5967cc=_0x371d26[_0x134a2f(0x3d6)](_0xb4fd97,_0x263011);break;}case _0x371d26['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x5967cc=_0x371d26[_0x134a2f(0x629)](_0xb4fd97,_0x263011);break;}case _0x371d26[_0x134a2f(0x37b)]['InsertColCommandId']:{_0x5967cc=_0x371d26[_0x134a2f(0x5e3)](_0xb4fd97,_0x263011);break;}case _0x371d26[_0x134a2f(0x37b)][_0x134a2f(0x39c)]:{_0x5967cc=_0x371d26['handleInsertRangeMoveDown'](_0xb4fd97,_0x263011);break;}case _0x371d26[_0x134a2f(0x37b)][_0x134a2f(0x677)]:{_0x5967cc=_0x371d26[_0x134a2f(0x56f)](_0xb4fd97,_0x263011);break;}case _0x371d26['EffectRefRangId'][_0x134a2f(0x606)]:{_0x5967cc=_0x371d26[_0x134a2f(0x268)](_0xb4fd97,_0x263011);break;}case _0x371d26[_0x134a2f(0x37b)][_0x134a2f(0x3ff)]:{_0x5967cc=_0x371d26['handleMoveRange'](_0xb4fd97,_0x263011);break;}case _0x371d26[_0x134a2f(0x37b)][_0x134a2f(0x54d)]:{_0x5967cc=_0x371d26[_0x134a2f(0x3f2)](_0xb4fd97,_0x263011);break;}case _0x371d26[_0x134a2f(0x37b)]['RemoveRowCommandId']:{_0x5967cc=_0x371d26['handleIRemoveRow'](_0xb4fd97,_0x263011);break;}}const _0x49baee=_0x371d26['runRefRangeMutations'](_0x5967cc,_0x263011),_0x34764e=this[_0x134a2f(0x253)][_0x134a2f(0x3fd)](_0x6b8922);if(_0x34764e&&_0x49baee){const _0x1e99a5={..._0x34764e,'range':_0x49baee};this[_0x134a2f(0x253)][_0x134a2f(0x576)](_0x6b8922,_0x1e99a5),_0x18fb6d(()=>{const _0x33545e=_0x134a2f,_0x3a491c=this[_0x33545e(0x482)][_0x33545e(0x202)](_0x49baee,_0x30939c=>(_0x3a491c[_0x33545e(0x368)](),_0x33ff8a(_0x30939c,_0x6b8922,_0x2b766c,_0x49baee)));_0x34a592[_0x33545e(0x4f4)](_0x3a491c);});}return{'redos':[],'undos':[]};};this[_0x2839d9(0x253)][_0x2839d9(0x587)]((_0x282802,_0x1db52b)=>{const _0x55bee8=_0x2839d9,{range:_0x396019,sheetID:_0x1c529f}=_0x282802,_0x112954=this[_0x55bee8(0x482)][_0x55bee8(0x202)](_0x396019,_0xff2257=>(_0x112954[_0x55bee8(0x368)](),_0x33ff8a(_0xff2257,_0x1db52b,_0x1c529f,_0x396019)));_0x34a592[_0x55bee8(0x4f4)](_0x112954);});};this[_0x29882e(0x225)](_0x4d1a65[_0x29882e(0x464)](this[_0x29882e(0x3bf)][_0x29882e(0x60e)](()=>{_0xdba54a();})));}['_toggleOnline'](){const _0x20694a=_0x2ed730;var _0x2013e9,_0x580f5f;if(this[_0x20694a(0x400)]=!0x0,((_0x2013e9=this[_0x20694a(0x443)][_0x20694a(0x4e5)]())==null?void 0x0:_0x2013e9[_0x20694a(0x4bd)]())!==this['unitID'])return;const _0x203f0f=(_0x580f5f=this[_0x20694a(0x574)]['get'](_0x371d26['SheetsSelectionsService'])[_0x20694a(0x615)]())==null?void 0x0:_0x580f5f[0x0],_0x3ffa6d=this[_0x20694a(0x443)][_0x20694a(0x45b)](_0x4d1a65[_0x20694a(0x251)]['UNIVER_SHEET'])['getActiveSheet']();_0x203f0f&&_0x3ffa6d&&this['_updateLocalCursor'](_0x3ffa6d['getSheetId'](),_0x203f0f);}[_0x2ed730(0x5bc)](){const _0xa893aa=_0x2ed730;this[_0xa893aa(0x400)]=!0x1;}};_0x10a524=_0x50194a([_0x55686d(0x2,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x55686d(0x3,_0x4d1a65[_0x2ed730(0x436)](_0x27c8f)),_0x55686d(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x20c240['MemberService'])),_0x55686d(0x5,_0x4d1a65[_0x2ed730(0x312)]),_0x55686d(0x6,_0x4d1a65['ICommandService']),_0x55686d(0x7,_0x4d1a65['Inject'](_0x371d26[_0x2ed730(0x2bd)]))],_0x10a524);var _0x19a551=Object['defineProperty'],_0x2f49c7=Object['getOwnPropertyDescriptor'],_0x23608e=(_0x5e6517,_0x5607d5,_0x2b2552,_0x346f1f)=>{const _0x8c658=_0x2ed730;for(var _0x4722bd=_0x346f1f>0x1?void 0x0:_0x346f1f?_0x2f49c7(_0x5607d5,_0x2b2552):_0x5607d5,_0xc8ed2c=_0x5e6517[_0x8c658(0x465)]-0x1,_0xe9c2d;_0xc8ed2c>=0x0;_0xc8ed2c--)(_0xe9c2d=_0x5e6517[_0xc8ed2c])&&(_0x4722bd=(_0x346f1f?_0xe9c2d(_0x5607d5,_0x2b2552,_0x4722bd):_0xe9c2d(_0x4722bd))||_0x4722bd);return _0x346f1f&&_0x4722bd&&_0x19a551(_0x5607d5,_0x2b2552,_0x4722bd),_0x4722bd;},_0x15c75f=(_0x37a08e,_0x1573d1)=>(_0x563d50,_0x517b29)=>_0x1573d1(_0x563d50,_0x517b29,_0x37a08e);let _0x4e6112=class extends _0x4d1a65['RxDisposable']{constructor(_0x159c00,_0x164d24,_0x24b396){const _0x2aaf93=_0x2ed730;super(),_0x10a616(this,'_entities',new Map()),_0x10a616(this,_0x2aaf93(0x2c0),new _0x605d86[(_0x2aaf93(0x2fb))]()),(this[_0x2aaf93(0x443)]=_0x159c00,this[_0x2aaf93(0x574)]=_0x164d24,this[_0x2aaf93(0x59a)]=_0x24b396,this[_0x2aaf93(0x69b)]());}[_0x2ed730(0x368)](){const _0x318b81=_0x2ed730;super[_0x318b81(0x368)](),this[_0x318b81(0x2c0)][_0x318b81(0x625)](),this['_entities'][_0x318b81(0x587)](_0x28f436=>_0x28f436['dispose']());}[_0x2ed730(0x275)](_0x424c6a){const _0x1215ec=_0x2ed730;return this[_0x1215ec(0x2b0)][_0x1215ec(0x356)](_0x424c6a)?this[_0x1215ec(0x2b0)]['get'](_0x424c6a)['cursorInfo$']:this['_entityInit$'][_0x1215ec(0x661)](_0x605d86[_0x1215ec(0x1e8)](_0x366d20=>_0x366d20[_0x1215ec(0x5e5)]===_0x424c6a),_0x605d86[_0x1215ec(0x236)](_0x462836=>_0x462836['cursorInfo$']));}['_init'](){const _0x3c0917=_0x2ed730;this[_0x3c0917(0x443)][_0x3c0917(0x648)](_0x4d1a65[_0x3c0917(0x251)][_0x3c0917(0x383)])[_0x3c0917(0x661)](_0x605d86[_0x3c0917(0x4d9)](this['dispose$']))[_0x3c0917(0x60e)](async _0x8d16d5=>{const _0x54edab=_0x3c0917,_0x18f181=_0x8d16d5[_0x54edab(0x4bd)](),_0x3320c2=await this['_startSheetCollabCursor'](_0x18f181);this['_entityInit$'][_0x54edab(0x4fe)](_0x3320c2),this[_0x54edab(0x2b0)]['set'](_0x18f181,_0x3320c2);}),this['_univerInstanceService'][_0x3c0917(0x648)](_0x4d1a65[_0x3c0917(0x251)][_0x3c0917(0x60b)])[_0x3c0917(0x661)](_0x605d86[_0x3c0917(0x4d9)](this[_0x3c0917(0x3ee)]))[_0x3c0917(0x661)](_0x605d86['filter'](_0x57a3b9=>!_0x57a3b9[_0x3c0917(0x4bd)]()[_0x3c0917(0x529)]('__')))[_0x3c0917(0x60e)](async _0x498aa3=>{const _0x10140f=_0x3c0917,_0x1ae44b=_0x498aa3['getUnitId'](),_0x49c949=await this[_0x10140f(0x3f3)](_0x1ae44b);this[_0x10140f(0x2c0)][_0x10140f(0x4fe)](_0x49c949),this['_entities'][_0x10140f(0x576)](_0x1ae44b,_0x49c949);}),_0x605d86[_0x3c0917(0x2fd)](this[_0x3c0917(0x443)][_0x3c0917(0x213)](_0x4d1a65[_0x3c0917(0x251)]['UNIVER_DOC']),this[_0x3c0917(0x443)][_0x3c0917(0x213)](_0x4d1a65[_0x3c0917(0x251)][_0x3c0917(0x383)]))[_0x3c0917(0x661)](_0x605d86['takeUntil'](this['dispose$']))[_0x3c0917(0x60e)](_0xda535f=>{const _0x482c26=_0x3c0917,_0x49c421=_0xda535f[_0x482c26(0x4bd)](),_0x4ab2dc=this['_entities'][_0x482c26(0x3fd)](_0x49c421);_0x4ab2dc&&(_0x4ab2dc[_0x482c26(0x368)](),this['_entities'][_0x482c26(0x3dc)](_0x49c421));});}async[_0x2ed730(0x52f)](_0x2dd2d2){const _0x5510fe=_0x2ed730,_0x3b55a3=await this[_0x5510fe(0x59a)][_0x5510fe(0x430)](_0x2dd2d2),_0x2bebd8=this[_0x5510fe(0x574)][_0x5510fe(0x51b)](_0x10a524,_0x2dd2d2,_0x3b55a3);return _0x2bebd8['init'](),_0x2bebd8;}async['_startDocCollabCursor'](_0x361ad4){const _0x1e872e=_0x2ed730,_0x36f81a=await this[_0x1e872e(0x59a)][_0x1e872e(0x430)](_0x361ad4),_0x4826d8=this[_0x1e872e(0x574)]['createInstance'](_0x34a9de,_0x361ad4,_0x36f81a);return _0x4826d8[_0x1e872e(0x514)](),_0x4826d8;}};_0x4e6112=_0x23608e([_0x15c75f(0x0,_0x4d1a65[_0x2ed730(0x312)]),_0x15c75f(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x15c75f(0x2,_0x4d1a65['Inject'](_0x20c240[_0x2ed730(0x480)]))],_0x4e6112);const _0x225044=0x14,_0x5d526d=0xc8,_0x1641b8=0x4,_0x25837d=0x5;function _0x428604(_0x547780,_0x10f5e9){const _0x4dca65=_0x2ed730;let {radius:_0x1e3b96,width:_0x5c30d2,height:_0x309ef4}=_0x10f5e9;_0x1e3b96=_0x1e3b96!=null?_0x1e3b96:0x0,_0x5c30d2=_0x5c30d2!=null?_0x5c30d2:0x1e,_0x309ef4=_0x309ef4!=null?_0x309ef4:0x1e;let _0x43bdfa=0x0,_0x392e62=0x0,_0x130662=0x0;_0x43bdfa=_0x392e62=_0x130662=Math[_0x4dca65(0x67b)](_0x1e3b96,_0x5c30d2/0x2,_0x309ef4/0x2),_0x547780[_0x4dca65(0x598)](),_0x547780[_0x4dca65(0x250)](_0x43bdfa,0x0),_0x547780['lineTo'](_0x5c30d2-_0x392e62,0x0),_0x547780[_0x4dca65(0x4f1)](_0x5c30d2-_0x392e62,_0x392e62,_0x392e62,Math['PI']*0x3/0x2,0x0,!0x1),_0x547780[_0x4dca65(0x46f)](_0x5c30d2,_0x309ef4-_0x130662),_0x547780[_0x4dca65(0x4f1)](_0x5c30d2-_0x130662,_0x309ef4-_0x130662,_0x130662,0x0,Math['PI']/0x2,!0x1),_0x547780[_0x4dca65(0x46f)](0x0,_0x309ef4),_0x547780[_0x4dca65(0x46f)](0x0,_0x43bdfa),_0x547780[_0x4dca65(0x4f1)](_0x43bdfa,_0x43bdfa,_0x43bdfa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x547780[_0x4dca65(0x5cb)](),_0x10f5e9[_0x4dca65(0x651)]&&(_0x547780[_0x4dca65(0x63c)](),_0x547780['fillStyle']=_0x10f5e9[_0x4dca65(0x651)],_0x10f5e9[_0x4dca65(0x3b2)]==='evenodd'?_0x547780[_0x4dca65(0x651)]('evenodd'):_0x547780[_0x4dca65(0x651)](),_0x547780[_0x4dca65(0x2be)]());}class _0x227b5a extends _0x50692e[_0x2ed730(0x1d4)]{constructor(_0x5a5448,_0x393953){const _0x2c665c=_0x2ed730;super(_0x5a5448,_0x393953),_0x10a616(this,_0x2c665c(0x39e)),_0x10a616(this,_0x2c665c(0x595)),(this[_0x2c665c(0x39e)]=_0x393953==null?void 0x0:_0x393953[_0x2c665c(0x39e)],this[_0x2c665c(0x595)]=_0x393953==null?void 0x0:_0x393953['text']);}static[_0x2ed730(0x3de)](_0x2b8953,_0x559590){const _0x29ec78=_0x2ed730,{text:_0x2d6bd6,color:_0x3b6388}=_0x559590;_0x2b8953[_0x29ec78(0x63c)](),_0x2b8953[_0x29ec78(0x4f5)]=_0x29ec78(0x4f0);const _0x35115e=_0x2b8953[_0x29ec78(0x538)](_0x2d6bd6)[_0x29ec78(0x407)],_0x2cc2f2=Math[_0x29ec78(0x67b)](_0x35115e+0x2*_0x1641b8,_0x5d526d);_0x428604(_0x2b8953,{'height':_0x225044,'radius':0x4,'width':_0x2cc2f2,'fill':_0x3b6388,'evented':!0x1}),_0x2b8953[_0x29ec78(0x429)]='#FFF';const _0x435c9a=_0x1641b8,_0x43d14e=_0x225044-_0x25837d,_0x27f758=_0x5d526d-0x2*_0x1641b8;if(_0x35115e>_0x27f758){let _0x25f3d7='',_0x31fd10=0x0;for(const _0x20a5aa of _0x2d6bd6){const _0x11c99b=_0x2b8953[_0x29ec78(0x538)](_0x20a5aa)[_0x29ec78(0x407)];if(_0x31fd10+_0x11c99b<=_0x27f758-_0x2b8953['measureText'](_0x29ec78(0x697))[_0x29ec78(0x407)])_0x25f3d7+=_0x20a5aa,_0x31fd10+=_0x11c99b;else{_0x25f3d7+=_0x29ec78(0x697);break;}}_0x2b8953[_0x29ec78(0x431)](_0x25f3d7,_0x435c9a,_0x43d14e);}else _0x2b8953[_0x29ec78(0x431)](_0x2d6bd6,_0x435c9a,_0x43d14e);_0x2b8953[_0x29ec78(0x2be)]();}[_0x2ed730(0x3e7)](_0x3af4a5){_0x227b5a['drawWith'](_0x3af4a5,this);}}const _0x5b2f47=_0x2ed730(0x267),_0x5294ac=_0x2ed730(0x4cb),_0x55505f='collab-rect-range-',_0x5cdb0b=0x6,_0x1e804d=1.5,_0x2735a2=0x4,_0x408fe4=1.5,_0x55bb42=_0x2ed730(0x28c);class _0x70470d{constructor(_0x2fbed4,_0x4a2d72,_0x5b82c7,_0x4d30e9){const _0x300bf8=_0x2ed730;_0x10a616(this,_0x300bf8(0x638),[]),_0x10a616(this,'_anchor',null),_0x10a616(this,_0x300bf8(0x322),null),_0x10a616(this,_0x300bf8(0x43b),null),_0x10a616(this,'_hideTimer',null),_0x10a616(this,_0x300bf8(0x1dc),null),(this[_0x300bf8(0x454)]=_0x2fbed4,this[_0x300bf8(0x2d1)]=_0x4a2d72,this['_docSkeleton']=_0x5b82c7,this[_0x300bf8(0x4ca)]=_0x4d30e9,this[_0x300bf8(0x2c2)]());}set[_0x2ed730(0x2fa)](_0x3ce6ef){const _0x361e71=_0x2ed730;_0x3ce6ef?(this['_anchorDot']&&this[_0x361e71(0x43b)]['hide'](),this['_textBubble']&&this[_0x361e71(0x322)][_0x361e71(0x5f4)]()):(this[_0x361e71(0x43b)]&&this[_0x361e71(0x43b)][_0x361e71(0x5f4)](),this['_textBubble']&&this[_0x361e71(0x322)][_0x361e71(0x683)]());}[_0x2ed730(0x368)](){const _0x37efa1=_0x2ed730;for(const _0x6aab56 of this['_shapes'])_0x6aab56['dispose']();this[_0x37efa1(0x322)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this[_0x37efa1(0x43b)][_0x37efa1(0x368)](),this[_0x37efa1(0x3d9)]&&this[_0x37efa1(0x3d9)][_0x37efa1(0x368)](),this[_0x37efa1(0x1dc)]&&this[_0x37efa1(0x1dc)]();}[_0x2ed730(0x2c2)](){const _0x21cd20=_0x2ed730;var _0x5b1a4b;const {_docSkeleton:_0x3e3dbd,_document:_0x3aa3ef}=this,{color:_0x5f016e,name:_0x236580,ranges:_0x131786}=this[_0x21cd20(0x454)],_0x54e4f8=_0x3aa3ef[_0x21cd20(0x5c6)](),{docsLeft:_0x5cc1fc,docsTop:_0x4517db}=_0x54e4f8,_0x5d6e93=new _0x3f56ba['NodePositionConvertToCursor'](_0x54e4f8,_0x3e3dbd);for(const {startOffset:_0x5b68a9,endOffset:_0x4baee4,rangeType:_0x14ed8e,segmentId:_0x2872c7,segmentPage:_0x9c2d9,collapsed:_0x10a795,isActive:_0x5a1bfd}of _0x131786){const _0x543a23=_0x3e3dbd['findNodePositionByCharIndex'](_0x5b68a9,!0x0,_0x2872c7,_0x9c2d9);let _0x4a3aa8=_0x3e3dbd[_0x21cd20(0x58c)](_0x4baee4,!0x0,_0x2872c7,_0x9c2d9);if(_0x4a3aa8==null&&(_0x4a3aa8=_0x3e3dbd[_0x21cd20(0x58c)](_0x4baee4-0x1,!0x1,_0x2872c7,_0x9c2d9)),_0x5a1bfd){const {contentBoxPointGroup:_0x2432df}=_0x5d6e93[_0x21cd20(0x241)](_0x4a3aa8,_0x4a3aa8);if(_0x2432df[_0x21cd20(0x465)]===0x0)continue;this['_drawAnchor'](_0x5f016e,_0x2432df,_0x5cc1fc,_0x4517db,_0x236580),this[_0x21cd20(0x1dc)]=this[_0x21cd20(0x5c0)]();}if(_0x543a23&&_0x4a3aa8){if(_0x14ed8e===_0x4d1a65[_0x21cd20(0x6a2)][_0x21cd20(0x46d)]){const _0x16ba1d=new _0x3f56ba[(_0x21cd20(0x5da))](_0x54e4f8,_0x3e3dbd),{pointGroup:_0x3465ae}=(_0x5b1a4b=_0x16ba1d[_0x21cd20(0x241)](_0x543a23,_0x4a3aa8))!=null?_0x5b1a4b:{};if(_0x3465ae==null||_0x3465ae['length']===0x0)continue;this[_0x21cd20(0x20d)](_0x5f016e,_0x3465ae,_0x5cc1fc,_0x4517db);}else{if(!_0x10a795){const {borderBoxPointGroup:_0xc0b816}=_0x5d6e93['getRangePointData'](_0x543a23,_0x4a3aa8);if(_0xc0b816[_0x21cd20(0x465)]===0x0)continue;this[_0x21cd20(0x4c0)](_0x5f016e,_0xc0b816,_0x5cc1fc,_0x4517db);}}}}}['_drawAnchor'](_0x4ec2f2,_0x4f9398,_0x562ac4,_0x4c4f03,_0x58955a){const _0x40f6d5=_0x2ed730,_0x286216=this['_getAnchorBounding'](_0x4f9398),{left:_0x269df2,top:_0xecdf7,height:_0x4d4274}=_0x286216,_0x429ee9=this[_0x40f6d5(0x5d4)](),_0x59e7e7=_0x408fe4/_0x429ee9,_0x48f77f=new _0x50692e[(_0x40f6d5(0x405))](_0x5b2f47+_0x4d1a65['Tools']['generateRandomId'](_0x5cdb0b),{'left':_0x269df2+_0x562ac4-_0x59e7e7,'top':_0xecdf7+_0x4c4f03,'height':_0x4d4274,'width':_0x1e804d,'fill':_0x4ec2f2||_0x50692e['getColor'](_0x4d1a65[_0x40f6d5(0x618)][_0x40f6d5(0x424)],0x0),'strokeWidth':_0x59e7e7,'stroke':_0x55bb42,'evented':!0x0});this[_0x40f6d5(0x3d9)]=_0x48f77f,this['_scene'][_0x40f6d5(0x3cb)](_0x48f77f,_0x3f56ba['TEXT_RANGE_LAYER_INDEX']);const _0x424138=new _0x50692e[(_0x40f6d5(0x405))](_0x5b2f47+_0x4d1a65[_0x40f6d5(0x4bf)][_0x40f6d5(0x5a5)](_0x5cdb0b),{'left':_0x269df2+_0x562ac4-_0x59e7e7,'top':_0xecdf7+_0x4c4f03-_0x2735a2/0x2,'height':_0x2735a2,'width':_0x2735a2,'fill':_0x4ec2f2||_0x50692e[_0x40f6d5(0x5cc)](_0x4d1a65['COLORS'][_0x40f6d5(0x424)],0x0),'strokeWidth':0x0,'stroke':_0x4ec2f2||_0x50692e[_0x40f6d5(0x5cc)](_0x4d1a65['COLORS'][_0x40f6d5(0x424)],0x0),'evented':!0x1});this['_anchorDot']=_0x424138,this[_0x40f6d5(0x2d1)][_0x40f6d5(0x3cb)](_0x424138,_0x3f56ba['TEXT_RANGE_LAYER_INDEX']);const _0x1c7f04=new _0x227b5a(_0x5b2f47+_0x4d1a65[_0x40f6d5(0x4bf)]['generateRandomId'](_0x5cdb0b),{'left':_0x269df2+_0x562ac4-_0x59e7e7,'top':_0xecdf7+_0x4c4f03-_0x225044,'text':_0x58955a,'color':_0x4ec2f2});this['_textBubble']=_0x1c7f04,this['_scene']['addObject'](_0x1c7f04,_0x3f56ba[_0x40f6d5(0x21c)]),this[_0x40f6d5(0x2fa)]=!0x1;}[_0x2ed730(0x5c0)](){const _0x16d228=_0x2ed730,_0x349a19=this[_0x16d228(0x3d9)][_0x16d228(0x475)][_0x16d228(0x1fe)](()=>{this['_hover']=!0x0;}),_0x112768=this[_0x16d228(0x3d9)][_0x16d228(0x582)][_0x16d228(0x1fe)](()=>{const _0x366757=_0x16d228;this[_0x366757(0x272)]&&clearTimeout(this[_0x366757(0x272)]),this[_0x366757(0x272)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2feed3=_0x16d228;_0x349a19[_0x2feed3(0x652)](),_0x112768['unsubscribe']();};}[_0x2ed730(0x4c0)](_0x1284a1,_0x47c1cc,_0xfae3bf,_0x33762a){const _0x5120ce=_0x2ed730,_0x20b5d7=new _0x4d1a65[(_0x5120ce(0x669))](_0x1284a1)['setAlpha'](0.2)[_0x5120ce(0x49c)](),_0x45bcfd=new _0x50692e[(_0x5120ce(0x5d5))](_0x5294ac+_0x4d1a65[_0x5120ce(0x4bf)][_0x5120ce(0x5a5)](_0x5cdb0b),{'pointsGroup':_0x47c1cc,'fill':_0x20b5d7||_0x50692e[_0x5120ce(0x5cc)](_0x4d1a65['COLORS'][_0x5120ce(0x424)],0.2),'left':_0xfae3bf,'top':_0x33762a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5120ce(0x638)][_0x5120ce(0x4ef)](_0x45bcfd),this['_scene'][_0x5120ce(0x3cb)](_0x45bcfd,_0x3f56ba[_0x5120ce(0x21c)]);}['_drawRectRange'](_0x1919cc,_0xad8080,_0x2389bc,_0x301a7a){const _0xef8791=_0x2ed730,_0x360ce3=new _0x4d1a65[(_0xef8791(0x669))](_0x1919cc)[_0xef8791(0x4cf)](0.2)[_0xef8791(0x49c)](),_0x3c71cf=new _0x50692e[(_0xef8791(0x5d5))](_0x55505f+_0x4d1a65[_0xef8791(0x4bf)]['generateRandomId'](_0x5cdb0b),{'pointsGroup':_0xad8080,'fill':_0x360ce3||_0x50692e[_0xef8791(0x5cc)](_0x4d1a65['COLORS']['black'],0.2),'left':_0x2389bc,'top':_0x301a7a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xef8791(0x638)][_0xef8791(0x4ef)](_0x3c71cf),this[_0xef8791(0x2d1)][_0xef8791(0x3cb)](_0x3c71cf,_0x3f56ba['TEXT_RANGE_LAYER_INDEX']);}[_0x2ed730(0x51d)](_0x2daa20){const _0x4548f5=_0x2daa20[0x0],_0x4fb72c=_0x4548f5[0x0],_0x5af489=_0x4548f5[0x2],{x:_0x1a5625,y:_0x75ced0}=_0x4fb72c,{x:_0xdbf8ca,y:_0x2fc565}=_0x5af489;return{'left':_0x1a5625,'top':_0x75ced0,'width':_0xdbf8ca-_0x1a5625,'height':_0x2fc565-_0x75ced0};}[_0x2ed730(0x5d4)](){const _0xd59ccc=_0x2ed730,{scaleX:_0x3c4d8f,scaleY:_0x4b97c9}=this[_0xd59ccc(0x2d1)]['getAncestorScale']();return Math[_0xd59ccc(0x4db)](_0x3c4d8f,_0x4b97c9);}}var _0x1ffbad=Object[_0x2ed730(0x4ff)],_0x64114d=Object['getOwnPropertyDescriptor'],_0x4b6f08=(_0x420f8a,_0x3296cb,_0x20a1ff,_0x3308ae)=>{const _0x5acf6e=_0x2ed730;for(var _0x1c9870=_0x3308ae>0x1?void 0x0:_0x3308ae?_0x64114d(_0x3296cb,_0x20a1ff):_0x3296cb,_0x2c2551=_0x420f8a[_0x5acf6e(0x465)]-0x1,_0x5b1136;_0x2c2551>=0x0;_0x2c2551--)(_0x5b1136=_0x420f8a[_0x2c2551])&&(_0x1c9870=(_0x3308ae?_0x5b1136(_0x3296cb,_0x20a1ff,_0x1c9870):_0x5b1136(_0x1c9870))||_0x1c9870);return _0x3308ae&&_0x1c9870&&_0x1ffbad(_0x3296cb,_0x20a1ff,_0x1c9870),_0x1c9870;},_0x3a651c=(_0x2ce012,_0x3f6a20)=>(_0x47ca98,_0x122204)=>_0x3f6a20(_0x47ca98,_0x122204,_0x2ce012);let _0x28c269=class extends _0x4d1a65[_0x2ed730(0x6a9)]{constructor(_0x525f4f,_0x56d9fa,_0x4effed,_0x5cfe67,_0x1150e8){const _0x255855=_0x2ed730;super(),_0x10a616(this,_0x255855(0x3b5),[]),_0x10a616(this,_0x255855(0x4f7),[]),(this[_0x255855(0x376)]=_0x525f4f,this[_0x255855(0x535)]=_0x56d9fa,this[_0x255855(0x54f)]=_0x4effed,this[_0x255855(0x224)]=_0x5cfe67,this[_0x255855(0x2dc)]=_0x1150e8,this[_0x255855(0x69b)]());}[_0x2ed730(0x69b)](){const _0x589f45=_0x2ed730,_0x1dfd4c=this[_0x589f45(0x376)][_0x589f45(0x578)],_0x51aeb0=this[_0x589f45(0x535)];this['disposeWithMe'](_0x605d86[_0x589f45(0x25c)]([this[_0x589f45(0x54f)]['getCollabCursors$'](_0x1dfd4c),this[_0x589f45(0x2dc)]['currentTheme$']])['pipe'](_0x258e23['map'](([_0x4dd66b,_0x416147])=>({'skeleton':_0x51aeb0['getSkeleton'](),'cursors':[..._0x4dd66b['values']()][_0x589f45(0x262)](_0x530330=>({..._0x530330,'color':_0x416147[_0x530330[_0x589f45(0x39e)]]}))})))['subscribe'](_0x38fe33=>{const _0x4b8ba0=_0x589f45;if(this[_0x4b8ba0(0x3f4)](),_0x38fe33){const {skeleton:_0x40f189,cursors:_0x1ec212}=_0x38fe33;this['_updateCollabCursors'](_0x40f189,_0x1ec212);}})),this[_0x589f45(0x226)](),this[_0x589f45(0x3cc)]();}[_0x2ed730(0x550)](_0x113381,_0x2b00e5){const _0x5d5934=_0x2ed730,{scene:_0x5ac564,mainComponent:_0x389e1f}=this[_0x5d5934(0x376)],_0x19cb03=_0x2b00e5[_0x5d5934(0x3fc)](_0x1115fd=>new _0x70470d(_0x1115fd,_0x5ac564,_0x113381,_0x389e1f));this[_0x5d5934(0x3b5)]=_0x19cb03,this[_0x5d5934(0x4f7)]=_0x2b00e5;}[_0x2ed730(0x48d)](){const _0x27b5ac=_0x2ed730;this[_0x27b5ac(0x3f4)]();const {scene:_0x8d9ef1,mainComponent:_0x1b842e}=this[_0x27b5ac(0x376)],_0x3f4697=this[_0x27b5ac(0x535)][_0x27b5ac(0x2b2)](),_0x32ba45=this[_0x27b5ac(0x4f7)]['map'](_0x2c8b5e=>new _0x70470d(_0x2c8b5e,_0x8d9ef1,_0x3f4697,_0x1b842e));this['_cursorShapes']=_0x32ba45;}[_0x2ed730(0x3f4)](){const _0x2605f8=_0x2ed730;this[_0x2605f8(0x3b5)][_0x2605f8(0x587)](_0x3555e8=>_0x3555e8[_0x2605f8(0x368)]()),this[_0x2605f8(0x3b5)]=[];}[_0x2ed730(0x3cc)](){const _0x14cb81=_0x2ed730,_0x250d28=[_0x3f56ba[_0x14cb81(0x49d)]['id']];this[_0x14cb81(0x225)](this['_commandService']['onCommandExecuted'](_0x5e3cc6=>{const _0x446a44=_0x14cb81;_0x250d28[_0x446a44(0x4a5)](_0x5e3cc6['id'])&&_0x5e3cc6[_0x446a44(0x36d)][_0x446a44(0x578)]===this['_context'][_0x446a44(0x578)]&&this['_refreshCollabCursors']();}));}[_0x2ed730(0x226)](){const _0x89a229=_0x2ed730;this[_0x89a229(0x225)](_0x4d1a65[_0x89a229(0x5bb)](this['_context']['engine'][_0x89a229(0x52d)])[_0x89a229(0x661)](_0x258e23[_0x89a229(0x1e8)](_0x4354d5=>_0x4354d5[_0x89a229(0x4ee)]===_0x50692e[_0x89a229(0x3ec)][_0x89a229(0x68f)]),_0x258e23[_0x89a229(0x684)](0x10))[_0x89a229(0x60e)](()=>{const _0xd0b493=_0x89a229;this[_0xd0b493(0x48d)]();}));}};_0x28c269=_0x4b6f08([_0x3a651c(0x1,_0x4d1a65['Inject'](_0x209469[_0x2ed730(0x556)])),_0x3a651c(0x2,_0x4d1a65[_0x2ed730(0x436)](_0x4e6112)),_0x3a651c(0x3,_0x4d1a65[_0x2ed730(0x38f)]),_0x3a651c(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x4e1)]))],_0x28c269);const _0x1a503d=0x1,_0x24e8fe=1.5;class _0x1e1831 extends _0x50692e[_0x2ed730(0x1d4)]{constructor(_0x5e5169,_0x2396c9){const _0x362f17=_0x2ed730;super(_0x5e5169,_0x2396c9),_0x10a616(this,'_color'),_0x10a616(this,_0x362f17(0x364),!0x1),_0x10a616(this,_0x362f17(0x289)),_0x10a616(this,_0x362f17(0x57f),''),_0x10a616(this,_0x362f17(0x49b),_0x362f17(0x29f)),_0x10a616(this,'_backgroundColor'),(_0x2396c9&&this[_0x362f17(0x5f5)](_0x2396c9),this[_0x362f17(0x475)][_0x362f17(0x1fe)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x362f17(0x582)]['subscribeEvent'](()=>this[_0x362f17(0x5f5)]({'hovered':!0x1})));}[_0x2ed730(0x5f5)](_0x268e6e){const _0x1a04b7=_0x2ed730;var _0x5e03d2,_0x58a149,_0x20c863,_0x4407e3,_0x12babb,_0x5241c9;this[_0x1a04b7(0x397)]=(_0x5e03d2=_0x268e6e[_0x1a04b7(0x39e)])!=null?_0x5e03d2:this['_color'],this['_hovered']=(_0x58a149=_0x268e6e[_0x1a04b7(0x414)])!=null?_0x58a149:this[_0x1a04b7(0x364)],this[_0x1a04b7(0x289)]=(_0x20c863=_0x268e6e[_0x1a04b7(0x689)])!=null?_0x20c863:this[_0x1a04b7(0x289)],this[_0x1a04b7(0x57f)]=(_0x4407e3=_0x268e6e[_0x1a04b7(0x342)])!=null?_0x4407e3:this['_name'],this[_0x1a04b7(0x49b)]=(_0x12babb=_0x268e6e[_0x1a04b7(0x35e)])!=null?_0x12babb:this[_0x1a04b7(0x49b)],this['_backgroundColor']=(_0x5241c9=_0x268e6e['backgroundColor'])!=null?_0x5241c9:this[_0x1a04b7(0x3be)],this['transformByState']({'width':_0x268e6e[_0x1a04b7(0x407)],'height':_0x268e6e['height']});}[_0x2ed730(0x26c)](_0x8ebaf9){const _0x12ec8e=_0x2ed730,{row:_0x4832f4,column:_0x24aea3}=_0x8ebaf9;if(_0x4832f4>=this[_0x12ec8e(0x289)][_0x12ec8e(0x373)]&&_0x4832f4<=this[_0x12ec8e(0x289)]['endRow']&&_0x24aea3>=this[_0x12ec8e(0x289)]['startColumn']&&_0x24aea3<=this['_range'][_0x12ec8e(0x5e2)]){this[_0x12ec8e(0x5f5)]({'hovered':!0x0});return;}this[_0x12ec8e(0x5f5)]({'hovered':!0x1});}[_0x2ed730(0x495)](_0x2ad48f){return!0x1;}[_0x2ed730(0x3e7)](_0x5d2bae){const _0x44a191=_0x2ed730;_0x50692e[_0x44a191(0x405)][_0x44a191(0x3de)](_0x5d2bae,{'width':this['width'],'height':this[_0x44a191(0x428)],'strokeWidth':_0x24e8fe,'stroke':this[_0x44a191(0x397)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x44a191(0x364)]&&(_0x5d2bae['save'](),_0x5d2bae[_0x44a191(0x40f)](0x1,0x0,0x0,0x1,this[_0x44a191(0x407)],this['_labelPosition']===_0x44a191(0x413)?0x0:-_0x225044),_0x227b5a[_0x44a191(0x3de)](_0x5d2bae,{'text':this[_0x44a191(0x57f)],'color':this[_0x44a191(0x397)]}),_0x5d2bae[_0x44a191(0x2be)]());}}var _0x1ca137=Object[_0x2ed730(0x4ff)],_0x23655b=Object[_0x2ed730(0x2c1)],_0x3bee06=(_0x4bee0f,_0x271432,_0x9b0655,_0x3fc268)=>{const _0x2b2540=_0x2ed730;for(var _0x4ac863=_0x3fc268>0x1?void 0x0:_0x3fc268?_0x23655b(_0x271432,_0x9b0655):_0x271432,_0x1a9fe8=_0x4bee0f[_0x2b2540(0x465)]-0x1,_0x30335a;_0x1a9fe8>=0x0;_0x1a9fe8--)(_0x30335a=_0x4bee0f[_0x1a9fe8])&&(_0x4ac863=(_0x3fc268?_0x30335a(_0x271432,_0x9b0655,_0x4ac863):_0x30335a(_0x4ac863))||_0x4ac863);return _0x3fc268&&_0x4ac863&&_0x1ca137(_0x271432,_0x9b0655,_0x4ac863),_0x4ac863;},_0x49f359=(_0x1bd372,_0x4e49c1)=>(_0x494bb4,_0x1ce5dc)=>_0x4e49c1(_0x494bb4,_0x1ce5dc,_0x1bd372);const _0x588313=0x1389;let _0x5dc338=class extends _0x4d1a65[_0x2ed730(0x6a9)]{constructor(_0x1edf5e,_0x41489,_0x2b8ee5,_0x29e333){const _0x1acf5b=_0x2ed730;super(),_0x10a616(this,_0x1acf5b(0x4f7),new Set()),_0x10a616(this,_0x1acf5b(0x3c7),null),(this[_0x1acf5b(0x376)]=_0x1edf5e,this[_0x1acf5b(0x4d6)]=_0x41489,this[_0x1acf5b(0x54f)]=_0x2b8ee5,this[_0x1acf5b(0x2dc)]=_0x29e333,this['_init']());}[_0x2ed730(0x69b)](){const _0x490b91=_0x2ed730;this['_sheetSkeletonManagerService'][_0x490b91(0x58e)][_0x490b91(0x661)](_0x258e23[_0x490b91(0x4d9)](this[_0x490b91(0x3ee)]),_0x258e23[_0x490b91(0x236)](_0x2d7df4=>{const _0x1abec4=_0x490b91;if(_0x2d7df4){const _0x49e273=_0x2d7df4[_0x1abec4(0x37c)];return _0x605d86[_0x1abec4(0x25c)](this[_0x1abec4(0x54f)]['getCollabCursors$'](this[_0x1abec4(0x376)][_0x1abec4(0x578)]),this[_0x1abec4(0x2dc)][_0x1abec4(0x409)])[_0x1abec4(0x661)](_0x258e23[_0x1abec4(0x3fc)](([_0x541000,_0x478046])=>{const _0x3ea8ba=_0x1abec4,_0x51eab6=new Map();return _0x541000[_0x3ea8ba(0x587)]((_0x25daab,_0x79cce2)=>{const _0x11e2c0=_0x3ea8ba;if(_0x25daab[_0x11e2c0(0x385)]===_0x49e273){const _0x2d807c={..._0x25daab};_0x2d807c[_0x11e2c0(0x39e)]=_0x478046[_0x25daab[_0x11e2c0(0x39e)]],_0x51eab6[_0x11e2c0(0x576)](_0x79cce2,_0x2d807c);}}),{'skeleton':_0x2d7df4,'cursors':_0x51eab6};}));}return _0x605d86['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5ce921,cursors:_0x45f0ba})=>{const _0x32fbd2=_0x490b91;this[_0x32fbd2(0x3f4)](),_0x5ce921&&this[_0x32fbd2(0x550)](_0x5ce921,_0x45f0ba);}),this[_0x490b91(0x4d6)][_0x490b91(0x58e)][_0x490b91(0x60e)](_0xb0528f=>{const _0x219a83=_0x490b91;if(_0xb0528f==null)return;const {skeleton:_0x56c860}=_0xb0528f,{scene:_0x3b380d}=this[_0x219a83(0x376)];_0x3b380d[_0x219a83(0x3c4)][_0x219a83(0x1fe)](_0x4d1a65[_0x219a83(0x30f)](_0xd5a00a=>{const _0x36e974=_0x219a83;var _0x15d291,_0x531bf2;const {offsetX:_0x21335b,offsetY:_0x2280fd}=_0xd5a00a,{x:_0x20b002,y:_0x8a64b1}=_0x3b380d[_0x36e974(0x5e1)](_0x50692e[_0x36e974(0x453)]['FromArray']([_0x21335b,_0x2280fd])),{scaleX:_0x45f76e,scaleY:_0x5e9a63}=_0x3b380d['getAncestorScale'](),_0x22e120=_0x3b380d[_0x36e974(0x243)](_0x50692e[_0x36e974(0x1d5)]['VIEW_MAIN']),_0x2dd901=_0x3b380d[_0x36e974(0x297)](_0x50692e[_0x36e974(0x453)][_0x36e974(0x690)]([_0x20b002,_0x8a64b1]),_0x22e120),_0x10ebee=_0x56c860[_0x36e974(0x28f)](_0x21335b,_0x2280fd,_0x45f76e,_0x5e9a63,_0x2dd901);((_0x15d291=this[_0x36e974(0x3c7)])==null?void 0x0:_0x15d291[_0x36e974(0x2fc)])===_0x10ebee[_0x36e974(0x2fc)]&&((_0x531bf2=this[_0x36e974(0x3c7)])==null?void 0x0:_0x531bf2[_0x36e974(0x3ea)])===_0x10ebee[_0x36e974(0x3ea)]||this[_0x36e974(0x4f7)][_0x36e974(0x587)](_0x492cde=>{_0x492cde['onMouseMove'](_0x10ebee);});},0x64));});}[_0x2ed730(0x550)](_0x4cdf88,_0x2ae1b4){const _0x2f5cd9=_0x2ed730;var _0x4f0146;const _0x476db7=(_0x4f0146=this[_0x2f5cd9(0x4d6)]['getCurrent']())==null?void 0x0:_0x4f0146[_0x2f5cd9(0x309)];if(!_0x476db7)return;const _0x5e8ba2=this[_0x2f5cd9(0x511)]();if(!_0x5e8ba2)return;this['_cursors'][_0x2f5cd9(0x587)](_0x268a5b=>{const _0x4ec2e4=_0x2f5cd9;_0x268a5b[_0x4ec2e4(0x3d0)]();});const {scene:_0x3290df}=_0x5e8ba2,_0x476428=_0x5dd700(Array[_0x2f5cd9(0x5b2)](_0x2ae1b4[_0x2f5cd9(0x57c)]()))[_0x2f5cd9(0x3fc)](_0x1e2fab=>{const _0x22c811=_0x2f5cd9,{color:_0x54692b,range:_0x15fc8f,name:_0x39fca7,selection:_0x44a8a4,sheetID:_0x366872}=_0x1e2fab,{startColumn:_0x17276f,startRow:_0xff5bf3,endColumn:_0x456c80,endRow:_0x1ee8a9}=_0x15fc8f,_0x49ebb6=_0x393b66['getCoordByCell'](_0xff5bf3,_0x17276f,_0x3290df,_0x476db7),_0x5e3a71=_0x393b66[_0x22c811(0x271)](_0x1ee8a9,_0x456c80,_0x3290df,_0x476db7),{columnHeaderHeightAndMarginTop:_0xffdc2}=_0x476db7,{startX:_0x534573,startY:_0x56b54a}=_0x49ebb6,{endX:_0x5a9ce1,endY:_0x55b6b7}=_0x5e3a71,_0x323a10=_0x5a9ce1-_0x534573,_0xbda120=_0x55b6b7-_0x56b54a,_0x1f8dae={'labelPosition':_0x56b54a-_0xffdc2>=_0x225044?_0x22c811(0x29f):_0x22c811(0x413),'sheetID':_0x366872,'range':_0x15fc8f,'color':_0x54692b,'name':_0x39fca7,'selection':_0x44a8a4,'left':_0x534573,'top':_0x56b54a,'width':_0x323a10,'height':_0xbda120,'evented':!0x1,'zIndex':_0x588313};return new _0x1e1831(_0x39fca7,_0x1f8dae);});_0x3290df[_0x2f5cd9(0x692)](_0x476428,_0x1a503d),this[_0x2f5cd9(0x4f7)]=new Set(_0x476428);}[_0x2ed730(0x3f4)](){const _0x325286=_0x2ed730;var _0x250999;(_0x250999=this[_0x325286(0x4f7)])==null||_0x250999[_0x325286(0x587)](_0x159214=>_0x159214['dispose']());}[_0x2ed730(0x511)](){const _0x3fd290=_0x2ed730;return _0x393b66['getSheetObject'](this[_0x3fd290(0x376)][_0x3fd290(0x233)],this['_context']);}};_0x5dc338=_0x3bee06([_0x49f359(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x393b66['SheetSkeletonManagerService'])),_0x49f359(0x2,_0x4d1a65[_0x2ed730(0x436)](_0x4e6112)),_0x49f359(0x3,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x4e1)]))],_0x5dc338);function _0x5dd700(_0x21d60a){const _0x161d7b=_0x2ed730,_0x41fd44=new Map();return _0x21d60a[_0x161d7b(0x587)](_0x43ccc0=>{const _0x1cc38c=_0x161d7b;if(_0x41fd44[_0x1cc38c(0x356)](_0x43ccc0[_0x1cc38c(0x5b4)])){const _0x5f0d77=_0x41fd44['get'](_0x43ccc0[_0x1cc38c(0x5b4)]);_0x5f0d77[_0x1cc38c(0x342)]+=',\x20'+_0x43ccc0[_0x1cc38c(0x342)];}else _0x41fd44['set'](_0x43ccc0[_0x1cc38c(0x5b4)],_0x43ccc0);}),Array[_0x161d7b(0x5b2)](_0x41fd44[_0x161d7b(0x57c)]());}var _0xe9a5a0=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2e62d0(_0x4dd3ae){const _0x133ca8=_0x2ed730;return _0x4dd3ae&&_0x4dd3ae['__esModule']&&Object['prototype'][_0x133ca8(0x1c5)][_0x133ca8(0x31e)](_0x4dd3ae,_0x133ca8(0x4a2))?_0x4dd3ae[_0x133ca8(0x4a2)]:_0x4dd3ae;}var _0x24d6a5={'exports':{}},_0x7625c5={},_0x2c3b68;function _0x2ea024(){const _0x1fddc3=_0x2ed730;if(_0x2c3b68)return _0x7625c5;_0x2c3b68=0x1;var _0x16f1d8=_0x54383b,_0x36eae2=Symbol[_0x1fddc3(0x5d2)](_0x1fddc3(0x24e)),_0x52084d=Symbol[_0x1fddc3(0x5d2)]('react.fragment'),_0x257a19=Object[_0x1fddc3(0x47e)][_0x1fddc3(0x1c5)],_0x3995c9=_0x16f1d8[_0x1fddc3(0x2e0)][_0x1fddc3(0x380)],_0x277d58={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x52763f(_0x143081,_0xfceb4f,_0x5aca84){const _0x530f9c=_0x1fddc3;var _0x57e376,_0x258936={},_0x45e1c8=null,_0x506d4f=null;_0x5aca84!==void 0x0&&(_0x45e1c8=''+_0x5aca84),_0xfceb4f[_0x530f9c(0x29a)]!==void 0x0&&(_0x45e1c8=''+_0xfceb4f[_0x530f9c(0x29a)]),_0xfceb4f[_0x530f9c(0x340)]!==void 0x0&&(_0x506d4f=_0xfceb4f[_0x530f9c(0x340)]);for(_0x57e376 in _0xfceb4f)_0x257a19[_0x530f9c(0x31e)](_0xfceb4f,_0x57e376)&&!_0x277d58[_0x530f9c(0x1c5)](_0x57e376)&&(_0x258936[_0x57e376]=_0xfceb4f[_0x57e376]);if(_0x143081&&_0x143081['defaultProps']){for(_0x57e376 in(_0xfceb4f=_0x143081[_0x530f9c(0x203)],_0xfceb4f))_0x258936[_0x57e376]===void 0x0&&(_0x258936[_0x57e376]=_0xfceb4f[_0x57e376]);}return{'$$typeof':_0x36eae2,'type':_0x143081,'key':_0x45e1c8,'ref':_0x506d4f,'props':_0x258936,'_owner':_0x3995c9[_0x530f9c(0x421)]};}return _0x7625c5[_0x1fddc3(0x4aa)]=_0x52084d,_0x7625c5[_0x1fddc3(0x4d4)]=_0x52763f,_0x7625c5[_0x1fddc3(0x61f)]=_0x52763f,_0x7625c5;}var _0x4babc4;function _0x26210e(){const _0x5947b9=_0x2ed730;return _0x4babc4||(_0x4babc4=0x1,_0x24d6a5['exports']=_0x2ea024()),_0x24d6a5[_0x5947b9(0x3b8)];}var _0x4a5cc3=_0x26210e(),_0x4eda71=function(){const _0x272dc1=_0x2ed730;return _0x4eda71=Object[_0x272dc1(0x64f)]||function(_0x4703f6){const _0x20f320=_0x272dc1;for(var _0x1a94af,_0x45e72e=0x1,_0x1902da=arguments[_0x20f320(0x465)];_0x45e72e<_0x1902da;_0x45e72e++){_0x1a94af=arguments[_0x45e72e];for(var _0x5bd1dc in _0x1a94af)Object[_0x20f320(0x47e)][_0x20f320(0x1c5)][_0x20f320(0x31e)](_0x1a94af,_0x5bd1dc)&&(_0x4703f6[_0x5bd1dc]=_0x1a94af[_0x5bd1dc]);}return _0x4703f6;},_0x4eda71['apply'](this,arguments);},_0x5b1526=function(_0xd8116b,_0x3cc6ae){const _0x119bbe=_0x2ed730;var _0xac9b90={};for(var _0x1fa169 in _0xd8116b)Object['prototype'][_0x119bbe(0x1c5)]['call'](_0xd8116b,_0x1fa169)&&_0x3cc6ae['indexOf'](_0x1fa169)<0x0&&(_0xac9b90[_0x1fa169]=_0xd8116b[_0x1fa169]);if(_0xd8116b!=null&&typeof Object['getOwnPropertySymbols']==_0x119bbe(0x589)){for(var _0x2dbab1=0x0,_0x1fa169=Object[_0x119bbe(0x301)](_0xd8116b);_0x2dbab1<_0x1fa169['length'];_0x2dbab1++)_0x3cc6ae[_0x119bbe(0x371)](_0x1fa169[_0x2dbab1])<0x0&&Object[_0x119bbe(0x47e)][_0x119bbe(0x2d8)]['call'](_0xd8116b,_0x1fa169[_0x2dbab1])&&(_0xac9b90[_0x1fa169[_0x2dbab1]]=_0xd8116b[_0x1fa169[_0x2dbab1]]);}return _0xac9b90;},_0x38caa3=_0x54383b[_0x2ed730(0x386)](function(_0xee12db,_0x1c0df1){const _0x316329=_0x2ed730;var _0x43913c=_0xee12db[_0x316329(0x4b2)],_0x2db85e=_0xee12db['id'],_0x56c857=_0xee12db[_0x316329(0x504)],_0x3af054=_0xee12db['extend'],_0x1bdced=_0x5b1526(_0xee12db,['icon','id',_0x316329(0x504),_0x316329(0x2c6)]),_0x402a1b='univerjs-icon\x20univerjs-icon-'[_0x316329(0x557)](_0x2db85e,'\x20')[_0x316329(0x557)](_0x56c857||'')['trim'](),_0x440717=_0x54383b[_0x316329(0x502)]('_'[_0x316329(0x557)](_0x45e94c()));return _0x448093(_0x43913c,''[_0x316329(0x557)](_0x2db85e),{'defIds':_0x43913c[_0x316329(0x47a)],'idSuffix':_0x440717[_0x316329(0x421)]},_0x4eda71({'ref':_0x1c0df1,'className':_0x402a1b},_0x1bdced),_0x3af054);});function _0x448093(_0x269d2b,_0x109f7a,_0x483bb1,_0x5509f4,_0x5c5624){const _0x16669e=_0x2ed730;return _0x54383b[_0x16669e(0x300)](_0x269d2b[_0x16669e(0x3d7)],_0x4eda71(_0x4eda71({'key':_0x109f7a},_0x4e4151(_0x269d2b,_0x483bb1,_0x5c5624)),_0x5509f4),(_0x56312c(_0x269d2b,_0x483bb1)['children']||[])[_0x16669e(0x3fc)](function(_0x1b45d5,_0xa4eab1){const _0x458e29=_0x16669e;return _0x448093(_0x1b45d5,''[_0x458e29(0x557)](_0x109f7a,'-')['concat'](_0x269d2b[_0x458e29(0x3d7)],'-')['concat'](_0xa4eab1),_0x483bb1,void 0x0,_0x5c5624);}));}function _0x4e4151(_0x584f5f,_0x51e9c6,_0x4bbc10){const _0x54d8bb=_0x2ed730;var _0x1448be=_0x4eda71({},_0x584f5f[_0x54d8bb(0x489)]);_0x4bbc10!=null&&_0x4bbc10[_0x54d8bb(0x290)]&&_0x1448be[_0x54d8bb(0x651)]===_0x54d8bb(0x290)&&(_0x1448be['fill']=_0x4bbc10[_0x54d8bb(0x290)]);var _0x4a9a57=_0x51e9c6[_0x54d8bb(0x47a)];return!_0x4a9a57||_0x4a9a57[_0x54d8bb(0x465)]===0x0||(_0x584f5f[_0x54d8bb(0x3d7)]==='use'&&_0x1448be[_0x54d8bb(0x384)]&&(_0x1448be[_0x54d8bb(0x384)]=_0x1448be['xlink:href']+_0x51e9c6['idSuffix']),Object[_0x54d8bb(0x408)](_0x1448be)[_0x54d8bb(0x587)](function(_0x31a4eb){const _0x20e2d6=_0x54d8bb;var _0x49ed1b=_0x31a4eb[0x0],_0x340bf0=_0x31a4eb[0x1];typeof _0x340bf0==_0x20e2d6(0x506)&&(_0x1448be[_0x49ed1b]=_0x340bf0['replace'](/url\(#(.*)\)/,'url(#$1'[_0x20e2d6(0x557)](_0x51e9c6[_0x20e2d6(0x5b0)],')')));})),_0x1448be;}function _0x56312c(_0x461afb,_0x323def){const _0x207c81=_0x2ed730;var _0x280236,_0x4772cb=_0x323def['defIds'];return!_0x4772cb||_0x4772cb[_0x207c81(0x465)]===0x0?_0x461afb:_0x461afb['tag']==='defs'&&(!((_0x280236=_0x461afb[_0x207c81(0x40a)])===null||_0x280236===void 0x0)&&_0x280236[_0x207c81(0x465)])?_0x4eda71(_0x4eda71({},_0x461afb),{'children':_0x461afb[_0x207c81(0x40a)][_0x207c81(0x3fc)](function(_0x499145){const _0x4b6808=_0x207c81;return typeof _0x499145[_0x4b6808(0x489)]['id']==_0x4b6808(0x506)&&_0x4772cb&&_0x4772cb[_0x4b6808(0x371)](_0x499145[_0x4b6808(0x489)]['id'])>-0x1?_0x4eda71(_0x4eda71({},_0x499145),{'attrs':_0x4eda71(_0x4eda71({},_0x499145['attrs']),{'id':_0x499145[_0x4b6808(0x489)]['id']+_0x323def[_0x4b6808(0x5b0)]})}):_0x499145;})}):_0x461afb;}function _0x45e94c(){const _0x54c06f=_0x2ed730;return Math[_0x54c06f(0x2b5)]()[_0x54c06f(0x485)](0x24)[_0x54c06f(0x4bc)](0x2,0x8);}_0x38caa3['displayName']=_0x2ed730(0x62f);var _0xb268bf={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2ed730(0x427),'width':_0x2ed730(0x1ce),'height':_0x2ed730(0x1ce)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ed730(0x378)},'children':[{'tag':'path','attrs':{'stroke':_0x2ed730(0x450),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2ed730(0x5bf),'strokeLinejoin':_0x2ed730(0x5bf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2ed730(0x406),'attrs':{'id':_0x2ed730(0x287)},'children':[{'tag':_0x2ed730(0x33d),'attrs':{'fill':_0x2ed730(0x654),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2ed730(0x287)]},_0x1ab9b5=_0x54383b[_0x2ed730(0x386)](function(_0x818dff,_0x9fcb6){const _0x4f9217=_0x2ed730;return _0x54383b['createElement'](_0x38caa3,Object[_0x4f9217(0x64f)]({},_0x818dff,{'id':_0x4f9217(0x610),'ref':_0x9fcb6,'icon':_0xb268bf}));});_0x1ab9b5[_0x2ed730(0x42f)]=_0x2ed730(0x2ae);var _0x1936ad={'tag':_0x2ed730(0x2f1),'attrs':{'fill':'none','viewBox':_0x2ed730(0x52e),'width':_0x2ed730(0x1ce),'height':_0x2ed730(0x1ce)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ed730(0x3e6)},'children':[{'tag':_0x2ed730(0x33d),'attrs':{'stroke':_0x2ed730(0x450),'d':_0x2ed730(0x487),'strokeLinecap':_0x2ed730(0x5bf),'strokeLinejoin':_0x2ed730(0x5bf),'strokeWidth':1.2}}]},{'tag':_0x2ed730(0x4d2),'attrs':{},'children':[{'tag':_0x2ed730(0x406),'attrs':{'id':_0x2ed730(0x2ed)},'children':[{'tag':_0x2ed730(0x33d),'attrs':{'fill':_0x2ed730(0x654),'d':'M0\x200H16V16H0z','transform':_0x2ed730(0x628)}}]}]}],'defIds':[_0x2ed730(0x2ed)]},_0x1538fb=_0x54383b[_0x2ed730(0x386)](function(_0x6511b2,_0x4f7cd3){const _0x1995f8=_0x2ed730;return _0x54383b['createElement'](_0x38caa3,Object[_0x1995f8(0x64f)]({},_0x6511b2,{'id':_0x1995f8(0x3e1),'ref':_0x4f7cd3,'icon':_0x1936ad}));});_0x1538fb[_0x2ed730(0x42f)]='OnLineSingle';function _0x516982(_0x1056f6){const _0x4efe53=_0x2ed730;var _0x707064,_0x3997b2,_0x17b8dc='';if(typeof _0x1056f6=='string'||typeof _0x1056f6==_0x4efe53(0x2bf))_0x17b8dc+=_0x1056f6;else{if(typeof _0x1056f6==_0x4efe53(0x328)){if(Array[_0x4efe53(0x255)](_0x1056f6)){var _0x44bb24=_0x1056f6[_0x4efe53(0x465)];for(_0x707064=0x0;_0x707064<_0x44bb24;_0x707064++)_0x1056f6[_0x707064]&&(_0x3997b2=_0x516982(_0x1056f6[_0x707064]))&&(_0x17b8dc&&(_0x17b8dc+='\x20'),_0x17b8dc+=_0x3997b2);}else{for(_0x3997b2 in _0x1056f6)_0x1056f6[_0x3997b2]&&(_0x17b8dc&&(_0x17b8dc+='\x20'),_0x17b8dc+=_0x3997b2);}}}return _0x17b8dc;}function _0x18795f(){const _0x4d3b2d=_0x2ed730;for(var _0x363f34,_0x52a602,_0x2de805=0x0,_0x311346='',_0x1546b3=arguments[_0x4d3b2d(0x465)];_0x2de805<_0x1546b3;_0x2de805++)(_0x363f34=arguments[_0x2de805])&&(_0x52a602=_0x516982(_0x363f34))&&(_0x311346&&(_0x311346+='\x20'),_0x311346+=_0x52a602);return _0x311346;}const _0x2ab5a7={'onlineStatusIcon':_0x2ed730(0x286),'onlineStatusTitle':_0x2ed730(0x517),'onlineStatus':_0x2ed730(0x549),'online':_0x2ed730(0x1ee),'offline':_0x2ed730(0x38a)};function _0x25102a(_0x431a57){const _0x2bd84d=_0x2ed730;switch(_0x431a57){case _0x35a0b3[_0x2bd84d(0x2a6)]:return'collabStatus.offline';case _0x35a0b3[_0x2bd84d(0x3a6)]:return _0x2bd84d(0x30e);case _0x35a0b3['FETCH_MISS']:return _0x2bd84d(0x247);case _0x35a0b3[_0x2bd84d(0x5ed)]:return'collabStatus.notCollab';case _0x35a0b3[_0x2bd84d(0x63e)]:case _0x35a0b3['AWAITING_WITH_PENDING']:return _0x2bd84d(0x573);case _0x35a0b3[_0x2bd84d(0x564)]:case _0x35a0b3[_0x2bd84d(0x42d)]:return _0x2bd84d(0x633);}}function _0x76af3d(_0xce2902){const _0x17509b=_0x2ed730,{status$:_0x5db472}=_0xce2902,_0x321298=_0x247dcf[_0x17509b(0x5a3)](_0x5db472,_0x35a0b3[_0x17509b(0x5ed)]),_0x38651f=_0x4d1a65[_0x17509b(0x456)](_0x4d1a65[_0x17509b(0x353)]),_0x42a605=_0x4d1a65['useDependency'](_0x20c240['CollaborationSessionService']),_0x55d8fc=_0x321298!==_0x35a0b3[_0x17509b(0x2a6)],_0x4d7978=_0x38651f['t'](_0x25102a(_0x321298)),_0x4e7af3=_0x18795f(_0x2ab5a7[_0x17509b(0x329)],{[_0x2ab5a7[_0x17509b(0x2a2)]]:_0x55d8fc,[_0x2ab5a7[_0x17509b(0x45c)]]:!_0x55d8fc}),_0x5479a4=_0x55d8fc?_0x4a5cc3[_0x17509b(0x4d4)](_0x1538fb,{}):_0x4a5cc3['jsx'](_0x1ab9b5,{}),_0x5db2c3=_0x54383b[_0x17509b(0x2ad)](()=>{const _0x4463ce=_0x17509b;_0x55d8fc||_0x42a605[_0x4463ce(0x5f3)]();},[_0x55d8fc,_0x42a605]);function _0x262060(){const _0x659563=_0x17509b;return _0x4a5cc3[_0x659563(0x61f)](_0x659563(0x1d1),{'className':_0x4e7af3,'onClick':_0x5db2c3,'children':[_0x4a5cc3['jsx'](_0x659563(0x1d1),{'className':_0x2ab5a7[_0x659563(0x626)],'children':_0x5479a4}),_0x4a5cc3['jsx']('div',{'className':_0x2ab5a7[_0x659563(0x3b9)],'children':_0x4d7978})]});}return _0x55d8fc?_0x262060():_0x4a5cc3[_0x17509b(0x4d4)](_0x52328b[_0x17509b(0x2ce)],{'title':_0x38651f['t'](_0x17509b(0x617)),'children':_0x262060()});}var _0x3b41f0=Object[_0x2ed730(0x4ff)],_0x1c2806=Object['getOwnPropertyDescriptor'],_0x373164=(_0x181586,_0x5d09c4,_0x4cc52d,_0x23140d)=>{const _0x3863c0=_0x2ed730;for(var _0x5a523a=_0x23140d>0x1?void 0x0:_0x23140d?_0x1c2806(_0x5d09c4,_0x4cc52d):_0x5d09c4,_0x4431e4=_0x181586[_0x3863c0(0x465)]-0x1,_0xb3c096;_0x4431e4>=0x0;_0x4431e4--)(_0xb3c096=_0x181586[_0x4431e4])&&(_0x5a523a=(_0x23140d?_0xb3c096(_0x5d09c4,_0x4cc52d,_0x5a523a):_0xb3c096(_0x5a523a))||_0x5a523a);return _0x23140d&&_0x5a523a&&_0x3b41f0(_0x5d09c4,_0x4cc52d,_0x5a523a),_0x5a523a;},_0x295431=(_0x4aed80,_0x2201bf)=>(_0x43432e,_0x35fecb)=>_0x2201bf(_0x43432e,_0x35fecb,_0x4aed80);_0x20c240['DesktopCollaborationStatusDisplayController']=class extends _0x4d1a65[_0x2ed730(0x512)]{constructor(_0x438cbe,_0xbcb08c,_0x30667d,_0x2cd8cd){const _0x27f5c8=_0x2ed730;super(),_0x10a616(this,'_status$',new _0x605d86[(_0x27f5c8(0x548))](_0x35a0b3[_0x27f5c8(0x5ed)])),(this['_univerInstanceService']=_0x438cbe,this[_0x27f5c8(0x670)]=_0xbcb08c,this[_0x27f5c8(0x574)]=_0x30667d,this['_collaborationController']=_0x2cd8cd,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x2ed730(0x1f4)](){const _0x3bb9af=_0x2ed730;this['disposeWithMe'](this[_0x3bb9af(0x443)]['focused$'][_0x3bb9af(0x661)](_0x605d86['switchMap'](()=>{const _0x362e01=_0x3bb9af,_0x80f2bf=this['_univerInstanceService'][_0x362e01(0x4e5)]();return _0x80f2bf?this[_0x362e01(0x671)]['getCollabEntity$'](_0x80f2bf['getUnitId']()):_0x605d86['of'](null);}),_0x605d86['switchMap'](_0x127638=>_0x127638?_0x127638[_0x3bb9af(0x5c5)]:_0x605d86['of'](_0x35a0b3[_0x3bb9af(0x5ed)])))['subscribe'](_0x52849a=>{this['_status$']['next'](_0x52849a);}));}['_initStatusComponent'](){const _0x4c0da5=_0x2ed730;this[_0x4c0da5(0x225)](this[_0x4c0da5(0x670)][_0x4c0da5(0x68a)](_0x247dcf[_0x4c0da5(0x5f6)][_0x4c0da5(0x2c9)],()=>_0x4d1a65['connectInjector'](_0x58d557({'status$':this[_0x4c0da5(0x55f)]['asObservable']()}),this[_0x4c0da5(0x574)])));}},_0x20c240[_0x2ed730(0x2db)]=_0x373164([_0x295431(0x0,_0x4d1a65['IUniverInstanceService']),_0x295431(0x1,_0x247dcf[_0x2ed730(0x5c8)]),_0x295431(0x2,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65['Injector'])),_0x295431(0x3,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x667)]))],_0x20c240['DesktopCollaborationStatusDisplayController']);function _0x58d557(_0x2dc1b3){const {status$:_0x423cf9}=_0x2dc1b3;return function(){const _0xb27b35=_0x3f6c;return _0x4a5cc3[_0xb27b35(0x4d4)](_0x76af3d,{'status$':_0x423cf9});};}const _0x5b9754=_0x4d1a65[_0x2ed730(0x468)]('uni.network.url-service');var _0x459f2a=Object[_0x2ed730(0x4ff)],_0x58e064=Object[_0x2ed730(0x2c1)],_0x57fae7=(_0x54c8de,_0x1a5178,_0xca1592,_0x1be07d)=>{const _0x526c0c=_0x2ed730;for(var _0x1f3d60=_0x1be07d>0x1?void 0x0:_0x1be07d?_0x58e064(_0x1a5178,_0xca1592):_0x1a5178,_0x252195=_0x54c8de[_0x526c0c(0x465)]-0x1,_0x40b9c1;_0x252195>=0x0;_0x252195--)(_0x40b9c1=_0x54c8de[_0x252195])&&(_0x1f3d60=(_0x1be07d?_0x40b9c1(_0x1a5178,_0xca1592,_0x1f3d60):_0x40b9c1(_0x1f3d60))||_0x1f3d60);return _0x1be07d&&_0x1f3d60&&_0x459f2a(_0x1a5178,_0xca1592,_0x1f3d60),_0x1f3d60;},_0x353df2=(_0x48118e,_0x4e6fe7)=>(_0x1377de,_0x44e362)=>_0x4e6fe7(_0x1377de,_0x44e362,_0x48118e);_0x20c240[_0x2ed730(0x5e6)]=class extends _0x4d1a65['RxDisposable']{constructor(_0x1e2870,_0x1a5480,_0x2560ea,_0x5154cf,_0x24da86,_0x15e09f){const _0x5868f1=_0x2ed730;super(),this[_0x5868f1(0x602)]=_0x1e2870,this['_logService']=_0x1a5480,this[_0x5868f1(0x224)]=_0x2560ea,this[_0x5868f1(0x5e9)]=_0x5154cf,this[_0x5868f1(0x25e)]=_0x24da86,_0x15e09f?_0x15e09f==null||_0x15e09f[_0x5868f1(0x38e)]()[_0x5868f1(0x3a8)](()=>this[_0x5868f1(0x69b)]()):(this['_logService'][_0x5868f1(0x4a4)](_0x5868f1(0x41e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5868f1(0x69b)]());}async['_init'](){const _0x5adc57=_0x2ed730,_0x5bbe12=this['_urlService'][_0x5adc57(0x32e)](_0x5adc57(0x233)),_0x10b513=this[_0x5adc57(0x602)]['getParam']('type');if(!_0x5bbe12||!_0x10b513){this['_logService'][_0x5adc57(0x4a4)](_0x5adc57(0x41e),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x10b513)){case _0x326e6d[_0x5adc57(0x383)]:{const _0x34d497=await this[_0x5adc57(0x25f)](_0x5bbe12);this[_0x5adc57(0x32c)](_0x34d497);break;}case _0x326e6d['UNIVER_DOC']:{await this[_0x5adc57(0x1c6)](_0x5bbe12);break;}default:{this[_0x5adc57(0x26b)][_0x5adc57(0x4c3)](_0x5adc57(0x41e),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x2ed730(0x32c)](_0x1b3f8c){const _0xb91de=_0x2ed730;await this[_0xb91de(0x418)](_0x1b3f8c),_0x1b3f8c[_0xb91de(0x4d7)][_0xb91de(0x661)](_0x605d86[_0xb91de(0x4d9)](this['dispose$']))['subscribe'](_0x11c0b7=>{const _0x2fef42=_0xb91de;_0x11c0b7&&this[_0x2fef42(0x691)](_0x11c0b7);}),this[_0xb91de(0x602)][_0xb91de(0x518)][_0xb91de(0x661)](_0x605d86[_0xb91de(0x4d9)](this[_0xb91de(0x3ee)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1b3f8c));}[_0x2ed730(0x691)](_0x317137,_0x11e388=!0x1){const _0x15f3b8=_0x2ed730,_0x50edfc=this[_0x15f3b8(0x602)][_0x15f3b8(0x32e)](_0x15f3b8(0x1d7));_0x317137[_0x15f3b8(0x3cf)]()!==_0x50edfc&&this[_0x15f3b8(0x602)][_0x15f3b8(0x527)](_0x15f3b8(0x1d7),_0x317137[_0x15f3b8(0x3cf)](),_0x11e388);}async[_0x2ed730(0x418)](_0x489091){const _0x1101a1=_0x2ed730;var _0x5c5bcb;const _0x7dca38=this[_0x1101a1(0x602)]['getParam'](_0x1101a1(0x1d7));if(!_0x7dca38||!_0x489091['getSheetBySheetId'](_0x7dca38)){const _0x3d34b9=_0x489091['getUnhiddenWorksheets']()[0x0],_0x50db93=_0x489091[_0x1101a1(0x519)](_0x3d34b9);if(!_0x50db93)return;this[_0x1101a1(0x691)](_0x50db93,!0x0),await this[_0x1101a1(0x224)]['executeCommand'](_0x371d26[_0x1101a1(0x57a)]['id'],{'unitId':_0x489091['getUnitId'](),'subUnitId':_0x3d34b9});return;}((_0x5c5bcb=_0x489091['getActiveSheet']())==null?void 0x0:_0x5c5bcb[_0x1101a1(0x3cf)]())!==_0x7dca38&&await this['_commandService'][_0x1101a1(0x308)](_0x371d26[_0x1101a1(0x57a)]['id'],{'unitId':_0x489091['getUnitId'](),'subUnitId':_0x7dca38});}async[_0x2ed730(0x25f)](_0x29c2bb){const _0x5362ed=_0x2ed730;let _0x51f9dd=0x0;const _0x302358=await this['_localCacheService']['loadOfflineData'](_0x29c2bb);return _0x302358&&(_0x302358[_0x5362ed(0x1cd)]||_0x302358['mutations'][_0x5362ed(0x465)]!==0x0)&&(_0x51f9dd=_0x302358[_0x5362ed(0x4c5)]),_0x51f9dd===0x0&&this[_0x5362ed(0x26b)][_0x5362ed(0x4a4)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5362ed(0x25e)][_0x5362ed(0x496)](_0x29c2bb,_0x51f9dd);}async[_0x2ed730(0x1c6)](_0x2527ff){const _0x8372a4=_0x2ed730;let _0x29d998=0x0;const _0x5d02d4=await this['_localCacheService'][_0x8372a4(0x32b)](_0x2527ff);return _0x5d02d4&&(_0x5d02d4['awaitingChangeset']||_0x5d02d4[_0x8372a4(0x3df)]['length']!==0x0)&&(_0x29d998=_0x5d02d4[_0x8372a4(0x4c5)]),_0x29d998===0x0&&this[_0x8372a4(0x26b)][_0x8372a4(0x4a4)]('[DataLoaderController]',_0x8372a4(0x54c)),this[_0x8372a4(0x25e)]['loadDoc'](_0x2527ff,_0x29d998);}},_0x20c240[_0x2ed730(0x5e6)]=_0x57fae7([_0x353df2(0x0,_0x5b9754),_0x353df2(0x1,_0x4d1a65[_0x2ed730(0x22f)]),_0x353df2(0x2,_0x4d1a65['ICommandService']),_0x353df2(0x3,_0x4d1a65[_0x2ed730(0x436)](_0x20c240[_0x2ed730(0x5f8)])),_0x353df2(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x1c4909[_0x2ed730(0x1cb)])),_0x353df2(0x5,_0x4d1a65['Optional'](_0x78a419[_0x2ed730(0x46c)]))],_0x20c240[_0x2ed730(0x5e6)]);var _0x87f255=Object[_0x2ed730(0x4ff)],_0x1151e1=Object[_0x2ed730(0x2c1)],_0xd499fd=(_0x4eda7a,_0xd931f8,_0x2eb754,_0x4faa59)=>{const _0x229958=_0x2ed730;for(var _0x55a7b6=_0x4faa59>0x1?void 0x0:_0x4faa59?_0x1151e1(_0xd931f8,_0x2eb754):_0xd931f8,_0x58c878=_0x4eda7a[_0x229958(0x465)]-0x1,_0x5ae689;_0x58c878>=0x0;_0x58c878--)(_0x5ae689=_0x4eda7a[_0x58c878])&&(_0x55a7b6=(_0x4faa59?_0x5ae689(_0xd931f8,_0x2eb754,_0x55a7b6):_0x5ae689(_0x55a7b6))||_0x55a7b6);return _0x4faa59&&_0x55a7b6&&_0x87f255(_0xd931f8,_0x2eb754,_0x55a7b6),_0x55a7b6;},_0x2da9af=(_0x5b4512,_0x4524dc)=>(_0x1421fe,_0x4655fa)=>_0x4524dc(_0x1421fe,_0x4655fa,_0x5b4512);const _0x41e804=_0x2ed730(0x515),_0x32207d=_0x2ed730(0x1f7);let _0x51f4fd=class extends _0x4d1a65['Disposable']{constructor(_0x320d4c,_0x36edc8){const _0x159369=_0x2ed730;super(),this[_0x159369(0x443)]=_0x320d4c,this['_configService']=_0x36edc8,this[_0x159369(0x69b)]();}[_0x2ed730(0x69b)](){const _0x1f6796=_0x2ed730;this['disposeWithMe'](this[_0x1f6796(0x443)]['focused$'][_0x1f6796(0x60e)](()=>{const _0x5b1576=_0x1f6796;var _0x3b4b0f;const _0x5a10b6=this['_univerInstanceService'][_0x5b1576(0x4e5)]();let _0x2a9ea9=(_0x3b4b0f=this['_configService'][_0x5b1576(0x539)](_0x41e804))!=null?_0x3b4b0f:_0x32207d;_0x5a10b6 instanceof _0x4d1a65[_0x5b1576(0x673)]&&(_0x2a9ea9=_0x5a10b6[_0x5b1576(0x342)]),document[_0x5b1576(0x1db)]=_0x2a9ea9;}));}};_0x51f4fd=_0xd499fd([_0x2da9af(0x0,_0x4d1a65[_0x2ed730(0x312)]),_0x2da9af(0x1,_0x4d1a65['IConfigService'])],_0x51f4fd);var _0x3a5a0e=Object['defineProperty'],_0x10a7af=Object[_0x2ed730(0x2c1)],_0x1d0425=(_0x3fe1a2,_0x448945,_0x4120ba,_0x29291d)=>{const _0x55eb56=_0x2ed730;for(var _0x1ad553=_0x29291d>0x1?void 0x0:_0x29291d?_0x10a7af(_0x448945,_0x4120ba):_0x448945,_0x298bb3=_0x3fe1a2[_0x55eb56(0x465)]-0x1,_0xafd24b;_0x298bb3>=0x0;_0x298bb3--)(_0xafd24b=_0x3fe1a2[_0x298bb3])&&(_0x1ad553=(_0x29291d?_0xafd24b(_0x448945,_0x4120ba,_0x1ad553):_0xafd24b(_0x1ad553))||_0x1ad553);return _0x29291d&&_0x1ad553&&_0x3a5a0e(_0x448945,_0x4120ba,_0x1ad553),_0x1ad553;},_0x3c3d4f=(_0x373b2a,_0x1e6434)=>(_0x4722e5,_0x78b28)=>_0x1e6434(_0x4722e5,_0x78b28,_0x373b2a);let _0xedab7f=class{constructor(_0x147ec9,_0xbd8410,_0x1d6115){const _0x55c008=_0x2ed730;this['_configService']=_0x147ec9,this[_0x55c008(0x35d)]=_0xbd8410,this[_0x55c008(0x398)]=_0x1d6115,this[_0x55c008(0x514)]();}['init'](){const _0x369a46=_0x2ed730;this[_0x369a46(0x35d)][_0x369a46(0x637)]({'priority':0x1,'interceptor':(_0xdc1d32,_0x4bbc6c)=>_0x4bbc6c(_0xdc1d32)[_0x369a46(0x661)](_0x605d86[_0x369a46(0x39d)](async _0x532ae1=>{const _0x279354=_0x369a46,_0x40c4ee=_0x532ae1;if(_0x40c4ee[_0x279354(0x370)]===0x191&&window[_0x279354(0x27d)](this[_0x279354(0x398)]['t'](_0x279354(0x5ab)))){const _0x6e4882=window['encodeURIComponent'](window[_0x279354(0x4a9)][_0x279354(0x657)]);window[_0x279354(0x4a9)][_0x279354(0x657)]=this[_0x279354(0x3e9)]()+_0x279354(0x331)+_0x6e4882;}return _0x40c4ee;}))});}[_0x2ed730(0x3e9)](){const _0x98df9e=_0x2ed730;var _0xfac5b0,_0x58083f;const _0x55587a=this[_0x98df9e(0x366)][_0x98df9e(0x539)](_0x55fa8c),_0x30dfaf=this[_0x98df9e(0x366)]['getConfig'](_0x1f4f80);return(_0x58083f=(_0xfac5b0=_0x30dfaf==null?void 0x0:_0x30dfaf['loginUrlKey'])!=null?_0xfac5b0:_0x55587a)!=null?_0x58083f:_0x4eab85;}};_0xedab7f=_0x1d0425([_0x3c3d4f(0x0,_0x4d1a65[_0x2ed730(0x28a)]),_0x3c3d4f(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x4ccb02['HTTPService'])),_0x3c3d4f(0x2,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x353)]))],_0xedab7f);var _0x159bb4=Object[_0x2ed730(0x4ff)],_0x36fdf4=Object['getOwnPropertyDescriptor'],_0x267f3f=(_0x4de97b,_0x1c761e,_0x12da51,_0x535b0e)=>{const _0x5be4f2=_0x2ed730;for(var _0x1b462c=_0x535b0e>0x1?void 0x0:_0x535b0e?_0x36fdf4(_0x1c761e,_0x12da51):_0x1c761e,_0x5e293c=_0x4de97b[_0x5be4f2(0x465)]-0x1,_0x3c31b2;_0x5e293c>=0x0;_0x5e293c--)(_0x3c31b2=_0x4de97b[_0x5e293c])&&(_0x1b462c=(_0x535b0e?_0x3c31b2(_0x1c761e,_0x12da51,_0x1b462c):_0x3c31b2(_0x1b462c))||_0x1b462c);return _0x535b0e&&_0x1b462c&&_0x159bb4(_0x1c761e,_0x12da51,_0x1b462c),_0x1b462c;},_0x1380f8=(_0x1a50d8,_0x42a8f8)=>(_0x3e6395,_0x2d92d7)=>_0x42a8f8(_0x3e6395,_0x2d92d7,_0x1a50d8);const _0xdb0aed=_0x2ed730(0x682),_0x4fc185=_0x2ed730(0x48a);_0x20c240[_0x2ed730(0x435)]=class extends _0x4d1a65['Disposable']{constructor(_0x334a35,_0x50ce13){const _0x1fc71c=_0x2ed730;super(),this[_0x1fc71c(0x46e)]=_0x334a35,this[_0x1fc71c(0x366)]=_0x50ce13,this[_0x1fc71c(0x27b)]();}[_0x2ed730(0x27b)](){const _0x46066c=_0x2ed730,_0x44ea9f=this;this[_0x46066c(0x225)](this[_0x46066c(0x46e)][_0x46066c(0x637)]({'priority':0x3e7,'interceptor':_0x4ccb02[_0x46066c(0x3e3)]({'isMatch'(_0x2c8300){const _0x52ebf6=_0x46066c;var _0x5eada9;if(_0x2c8300[_0x52ebf6(0x605)]===_0x52ebf6(0x534)&&((_0x5eada9=_0x2c8300[_0x52ebf6(0x37a)])!=null&&_0x5eada9[_0x52ebf6(0x209)])){const {objectID:_0x58ff61,objectType:_0x539d90}=_0x2c8300[_0x52ebf6(0x37a)]['body']||{};if(!_0x58ff61||_0x539d90===void 0x0)return!0x1;const _0x410fac=_0x44ea9f[_0x52ebf6(0x559)]()+'/'+_0x539d90+_0x52ebf6(0x54e)+_0x58ff61+'/allowed';if(_0x2c8300[_0x52ebf6(0x479)]===_0x410fac)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x379c67){const _0x5de81a=_0x46066c;var _0x4c9e51;return(_0x4c9e51=_0x379c67['requestParams'])==null?void 0x0:_0x4c9e51[_0x5de81a(0x209)];},'mergeParamsToRequest'(_0x30d5e5,_0x2e0e99){const _0x2f3e39=_0x46066c,_0x1ab9bf=_0x44ea9f[_0x2f3e39(0x559)]()+_0x2f3e39(0x56c),_0x373c59=_0x30d5e5[_0x2f3e39(0x4d8)]((_0xdb421c,_0x5144d0)=>{const _0x28abfc=_0x2f3e39,{unitID:_0x88f8f3,objectID:_0x4f12d7,objectType:_0x19f84e,actions:_0x5cf5ee}=_0x5144d0;return _0xdb421c[_0x88f8f3]||(_0xdb421c[_0x88f8f3]={}),_0xdb421c[_0x88f8f3][_0x4f12d7]||(_0xdb421c[_0x88f8f3][_0x4f12d7]={'objectID':_0x4f12d7,'objectType':_0x19f84e,'actions':[]}),_0xdb421c[_0x88f8f3][_0x4f12d7][_0x28abfc(0x62a)][_0x28abfc(0x4ef)](..._0x5cf5ee),_0xdb421c;},{}),_0x38d7cb=[];for(const _0x44d23c in _0x373c59)for(const _0x1ed87e in _0x373c59[_0x44d23c]){const {actions:_0x224f21,objectType:_0x415968}=_0x373c59[_0x44d23c][_0x1ed87e],_0x5175d4=[...new Set(_0x224f21)];_0x38d7cb[_0x2f3e39(0x4ef)]({'unitID':_0x44d23c,'objectID':_0x1ed87e,'objectType':_0x415968,'actions':_0x5175d4});}return new _0x4ccb02['HTTPRequest'](_0x2f3e39(0x534),_0x1ab9bf,{'headers':_0x2e0e99[_0x2f3e39(0x316)],'withCredentials':_0x2e0e99[_0x2f3e39(0x36e)],'responseType':_0x2e0e99[_0x2f3e39(0x426)],'body':{'requests':_0x38d7cb}});}},{'distributeResult'(_0x2a0cfc,_0x117d20){const {objectActions:_0x1adc0c}=_0x2a0cfc;return _0x117d20['map'](_0x50634a=>{const _0xb2db3e=_0x3f6c,{unitID:_0x1b5e7c,objectID:_0xf1413d,actions:_0x5eba56}=_0x50634a,_0x5d843d=_0x1adc0c['find'](_0x332c7c=>_0x332c7c[_0xb2db3e(0x5e5)]===_0x1b5e7c&&_0x332c7c[_0xb2db3e(0x6aa)]===_0xf1413d),_0x71d4d=_0x5eba56['map'](_0x315fc0=>_0x5d843d==null?void 0x0:_0x5d843d['actions'][_0xb2db3e(0x21b)](_0x6c35d1=>_0x6c35d1[_0xb2db3e(0x585)]===_0x315fc0))[_0xb2db3e(0x1e8)](_0x2e341c=>!!_0x2e341c);return{'config':_0x50634a,'result':{'actions':_0x71d4d,'error':_0x2a0cfc[_0xb2db3e(0x4c3)]}};});}})}));}[_0x2ed730(0x559)](){const _0x56f36c=_0x2ed730;var _0x4224d7,_0x259cd5;const _0x3da295=this[_0x56f36c(0x366)][_0x56f36c(0x539)](_0xdb0aed),_0x189ffe=this[_0x56f36c(0x366)]['getConfig'](_0x1f4f80);return(_0x259cd5=(_0x4224d7=_0x189ffe==null?void 0x0:_0x189ffe[_0x56f36c(0x461)])!=null?_0x4224d7:_0x3da295)!=null?_0x259cd5:_0x4fc185;}async['create'](_0x1c8ebb){const _0x5904b8=_0x2ed730,_0x378faa=this[_0x5904b8(0x559)]()+'/'+_0x1c8ebb['objectType']+_0x5904b8(0x510);return(await this[_0x5904b8(0x46e)][_0x5904b8(0x55c)](_0x378faa,{'body':_0x1c8ebb}))['body']['objectID']||'';}async[_0x2ed730(0x348)](_0x284d52){const _0x104950=_0x2ed730,_0x58b9c9=this['_getAPIPrefixPath']()+'/-/object/list';return(await this['_HTTPService'][_0x104950(0x55c)](_0x58b9c9,{'body':_0x284d52}))[_0x104950(0x209)][_0x104950(0x4ea)];}async[_0x2ed730(0x46b)](_0x1d333e){const _0xae5111=_0x2ed730,_0x61c2f5=this[_0xae5111(0x559)]()+'/'+_0x1d333e['objectType']+_0xae5111(0x54e)+_0x1d333e[_0xae5111(0x6aa)];await this[_0xae5111(0x46e)]['put'](_0x61c2f5,{'body':_0x1d333e});}async[_0x2ed730(0x4d3)](_0x529985){const _0x386a05=_0x2ed730,_0x1e31a8=this[_0x386a05(0x559)]()+'/'+_0x529985['objectType']+_0x386a05(0x54e)+_0x529985[_0x386a05(0x6aa)]+_0x386a05(0x33e);return(await this[_0x386a05(0x46e)][_0x386a05(0x55c)](_0x1e31a8,{'body':_0x529985}))[_0x386a05(0x209)][_0x386a05(0x62a)];}async[_0x2ed730(0x5d7)](_0x2b76d9){const _0x1ac4f9=_0x2ed730,_0x211231=this[_0x1ac4f9(0x559)]()+'/-/object/-/batch_allowed';return(await this[_0x1ac4f9(0x46e)][_0x1ac4f9(0x55c)](_0x211231,{'body':{'requests':_0x2b76d9}}))['body'][_0x1ac4f9(0x327)];}async[_0x2ed730(0x27a)](_0x3368a2){const _0x1543c3=_0x2ed730,_0x4f19cf=this[_0x1543c3(0x559)]()+'/'+_0x3368a2[_0x1543c3(0x387)]+_0x1543c3(0x51e),_0x583d5a=await this[_0x1543c3(0x46e)][_0x1543c3(0x55c)](_0x4f19cf,{'body':_0x3368a2});return{'roles':_0x583d5a[_0x1543c3(0x209)][_0x1543c3(0x311)],'actions':_0x583d5a[_0x1543c3(0x209)]['actions']};}async[_0x2ed730(0x3c6)](_0x206e44){const _0x2db5d0=_0x2ed730,_0x30a615=this[_0x2db5d0(0x559)]()+_0x2db5d0(0x44b);await this[_0x2db5d0(0x46e)][_0x2db5d0(0x3dc)](_0x30a615,{'params':{'collaboratorID':_0x206e44[_0x2db5d0(0x501)],'objectID':_0x206e44[_0x2db5d0(0x6aa)],'unitID':_0x206e44[_0x2db5d0(0x5e5)]}});}async['updateCollaborator'](_0x13d847){const _0x2da13c=_0x2ed730,_0xf42b6d=this[_0x2da13c(0x559)]()+'/collaborator';await this[_0x2da13c(0x46e)][_0x2da13c(0x320)](_0xf42b6d,{'body':_0x13d847});}async[_0x2ed730(0x61a)](_0x40a553){const _0x2c824b=_0x2ed730,_0x451fb9=this[_0x2c824b(0x559)]()+_0x2c824b(0x44b);await this[_0x2c824b(0x46e)][_0x2c824b(0x55c)](_0x451fb9,{'body':_0x40a553});}async[_0x2ed730(0x335)](_0x254839){const _0x1ce535=_0x2ed730,_0xfc6080=this['_getAPIPrefixPath']()+_0x1ce535(0x44b);return(await this[_0x1ce535(0x46e)]['get'](_0xfc6080,{'params':{'objectID':_0x254839[_0x1ce535(0x6aa)],'unitID':_0x254839[_0x1ce535(0x5e5)]}}))[_0x1ce535(0x209)][_0x1ce535(0x38b)];}async[_0x2ed730(0x60d)](_0x323520){const _0x35f3db=_0x2ed730,_0x1c51b7=this[_0x35f3db(0x559)]()+'/collaborator';await this[_0x35f3db(0x46e)][_0x35f3db(0x246)](_0x1c51b7,{'body':_0x323520});}},_0x20c240[_0x2ed730(0x435)]=_0x267f3f([_0x1380f8(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4ccb02[_0x2ed730(0x659)])),_0x1380f8(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x28a)]))],_0x20c240[_0x2ed730(0x435)]);var _0x51bbdf={'exports':{}};function _0x278f52(_0x5959de){const _0x35e1a6=_0x2ed730;throw new Error(_0x35e1a6(0x4ac)+_0x5959de+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x190db4={'exports':{}},_0x4fa554=_0x190db4[_0x2ed730(0x3b8)],_0x3430b9;function _0x53bf25(){const _0x41b73a=_0x2ed730;return _0x3430b9||(_0x3430b9=0x1,function(_0x1e8699,_0x204707){(function(_0xe4a723,_0x301b43){const _0x20a863=_0x3f6c;_0x1e8699[_0x20a863(0x3b8)]=_0x301b43();}(_0x4fa554,function(){var _0x3315ab=_0x3315ab||function(_0x2a8613,_0x3634f7){const _0x48af24=_0x3f6c;var _0x4ccd7f;if(typeof window<'u'&&window[_0x48af24(0x330)]&&(_0x4ccd7f=window[_0x48af24(0x330)]),typeof self<'u'&&self[_0x48af24(0x330)]&&(_0x4ccd7f=self[_0x48af24(0x330)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4ccd7f=globalThis[_0x48af24(0x330)]),!_0x4ccd7f&&typeof window<'u'&&window[_0x48af24(0x525)]&&(_0x4ccd7f=window[_0x48af24(0x525)]),!_0x4ccd7f&&typeof _0xe9a5a0<'u'&&_0xe9a5a0[_0x48af24(0x330)]&&(_0x4ccd7f=_0xe9a5a0[_0x48af24(0x330)]),!_0x4ccd7f&&typeof _0x278f52=='function')try{_0x4ccd7f=require('crypto');}catch{}var _0x255d3f=function(){const _0x144b89=_0x48af24;if(_0x4ccd7f){if(typeof _0x4ccd7f[_0x144b89(0x567)]==_0x144b89(0x589))try{return _0x4ccd7f[_0x144b89(0x567)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ccd7f['randomBytes']==_0x144b89(0x589))try{return _0x4ccd7f[_0x144b89(0x4c1)](0x4)[_0x144b89(0x56a)]();}catch{}}throw new Error(_0x144b89(0x31c));},_0x65776=Object[_0x48af24(0x63b)]||(function(){function _0x3bb31f(){}return function(_0x4f03bb){const _0x38064a=_0x3f6c;var _0x54a3ad;return _0x3bb31f[_0x38064a(0x47e)]=_0x4f03bb,_0x54a3ad=new _0x3bb31f(),_0x3bb31f['prototype']=null,_0x54a3ad;};}()),_0x49a30c={},_0x28cfad=_0x49a30c[_0x48af24(0x2ba)]={},_0x511c5e=_0x28cfad[_0x48af24(0x229)]=(function(){return{'extend':function(_0x4286e4){const _0x3c7bd9=_0x3f6c;var _0x2f2806=_0x65776(this);return _0x4286e4&&_0x2f2806['mixIn'](_0x4286e4),(!_0x2f2806['hasOwnProperty'](_0x3c7bd9(0x514))||this[_0x3c7bd9(0x514)]===_0x2f2806[_0x3c7bd9(0x514)])&&(_0x2f2806[_0x3c7bd9(0x514)]=function(){const _0x4c302e=_0x3c7bd9;_0x2f2806[_0x4c302e(0x639)][_0x4c302e(0x514)][_0x4c302e(0x3f1)](this,arguments);}),_0x2f2806[_0x3c7bd9(0x514)][_0x3c7bd9(0x47e)]=_0x2f2806,_0x2f2806['$super']=this,_0x2f2806;},'create':function(){const _0x29215b=_0x3f6c;var _0x578996=this['extend']();return _0x578996['init'][_0x29215b(0x3f1)](_0x578996,arguments),_0x578996;},'init':function(){},'mixIn':function(_0x13365d){const _0x18bea1=_0x3f6c;for(var _0x42102a in _0x13365d)_0x13365d[_0x18bea1(0x1c5)](_0x42102a)&&(this[_0x42102a]=_0x13365d[_0x42102a]);_0x13365d[_0x18bea1(0x1c5)]('toString')&&(this[_0x18bea1(0x485)]=_0x13365d[_0x18bea1(0x485)]);},'clone':function(){const _0x543867=_0x3f6c;return this[_0x543867(0x514)]['prototype'][_0x543867(0x2c6)](this);}};}()),_0x549b48=_0x28cfad['WordArray']=_0x511c5e['extend']({'init':function(_0x12cb78,_0x197b13){const _0x20832e=_0x48af24;_0x12cb78=this[_0x20832e(0x528)]=_0x12cb78||[],_0x197b13!=_0x3634f7?this[_0x20832e(0x2b8)]=_0x197b13:this['sigBytes']=_0x12cb78['length']*0x4;},'toString':function(_0x3ff64c){return(_0x3ff64c||_0x351ca6)['stringify'](this);},'concat':function(_0x23203c){const _0x4df81d=_0x48af24;var _0x29704b=this[_0x4df81d(0x528)],_0x3450ee=_0x23203c[_0x4df81d(0x528)],_0x2ffce1=this['sigBytes'],_0x33ca68=_0x23203c[_0x4df81d(0x2b8)];if(this[_0x4df81d(0x577)](),_0x2ffce1%0x4)for(var _0x90276e=0x0;_0x90276e<_0x33ca68;_0x90276e++){var _0x55f69c=_0x3450ee[_0x90276e>>>0x2]>>>0x18-_0x90276e%0x4*0x8&0xff;_0x29704b[_0x2ffce1+_0x90276e>>>0x2]|=_0x55f69c<<0x18-(_0x2ffce1+_0x90276e)%0x4*0x8;}else{for(var _0x71f1c6=0x0;_0x71f1c6<_0x33ca68;_0x71f1c6+=0x4)_0x29704b[_0x2ffce1+_0x71f1c6>>>0x2]=_0x3450ee[_0x71f1c6>>>0x2];}return this[_0x4df81d(0x2b8)]+=_0x33ca68,this;},'clamp':function(){const _0x321f58=_0x48af24;var _0x2ee860=this['words'],_0x143647=this[_0x321f58(0x2b8)];_0x2ee860[_0x143647>>>0x2]&=0xffffffff<<0x20-_0x143647%0x4*0x8,_0x2ee860[_0x321f58(0x465)]=_0x2a8613[_0x321f58(0x498)](_0x143647/0x4);},'clone':function(){const _0x348cda=_0x48af24;var _0x11f367=_0x511c5e[_0x348cda(0x5c9)]['call'](this);return _0x11f367[_0x348cda(0x528)]=this[_0x348cda(0x528)]['slice'](0x0),_0x11f367;},'random':function(_0x1d32bd){const _0x1d1b19=_0x48af24;for(var _0x4fa1e1=[],_0x1ccbce=0x0;_0x1ccbce<_0x1d32bd;_0x1ccbce+=0x4)_0x4fa1e1[_0x1d1b19(0x4ef)](_0x255d3f());return new _0x549b48[(_0x1d1b19(0x514))](_0x4fa1e1,_0x1d32bd);}}),_0x3f106d=_0x49a30c[_0x48af24(0x622)]={},_0x351ca6=_0x3f106d[_0x48af24(0x4e7)]={'stringify':function(_0x32f758){const _0x44bb98=_0x48af24;for(var _0x3b4a35=_0x32f758[_0x44bb98(0x528)],_0x19e186=_0x32f758[_0x44bb98(0x2b8)],_0x300b9e=[],_0x403d45=0x0;_0x403d45<_0x19e186;_0x403d45++){var _0x5bb2a4=_0x3b4a35[_0x403d45>>>0x2]>>>0x18-_0x403d45%0x4*0x8&0xff;_0x300b9e[_0x44bb98(0x4ef)]((_0x5bb2a4>>>0x4)[_0x44bb98(0x485)](0x10)),_0x300b9e[_0x44bb98(0x4ef)]((_0x5bb2a4&0xf)['toString'](0x10));}return _0x300b9e[_0x44bb98(0x4dd)]('');},'parse':function(_0x45cda6){const _0x71c8e7=_0x48af24;for(var _0xdff1b=_0x45cda6['length'],_0x339522=[],_0x5a2b9d=0x0;_0x5a2b9d<_0xdff1b;_0x5a2b9d+=0x2)_0x339522[_0x5a2b9d>>>0x3]|=parseInt(_0x45cda6['substr'](_0x5a2b9d,0x2),0x10)<<0x18-_0x5a2b9d%0x8*0x4;return new _0x549b48[(_0x71c8e7(0x514))](_0x339522,_0xdff1b/0x2);}},_0x58a4ca=_0x3f106d[_0x48af24(0x40c)]={'stringify':function(_0x3a1ae4){const _0xe3b8a4=_0x48af24;for(var _0x3f89ef=_0x3a1ae4[_0xe3b8a4(0x528)],_0x39b06a=_0x3a1ae4[_0xe3b8a4(0x2b8)],_0x1ccbbe=[],_0x5017ab=0x0;_0x5017ab<_0x39b06a;_0x5017ab++){var _0xbe9c9=_0x3f89ef[_0x5017ab>>>0x2]>>>0x18-_0x5017ab%0x4*0x8&0xff;_0x1ccbbe[_0xe3b8a4(0x4ef)](String[_0xe3b8a4(0x22b)](_0xbe9c9));}return _0x1ccbbe[_0xe3b8a4(0x4dd)]('');},'parse':function(_0x4fc561){const _0x5e8643=_0x48af24;for(var _0x3878ef=_0x4fc561[_0x5e8643(0x465)],_0x683fdf=[],_0x391cf5=0x0;_0x391cf5<_0x3878ef;_0x391cf5++)_0x683fdf[_0x391cf5>>>0x2]|=(_0x4fc561[_0x5e8643(0x2d2)](_0x391cf5)&0xff)<<0x18-_0x391cf5%0x4*0x8;return new _0x549b48['init'](_0x683fdf,_0x3878ef);}},_0x1943af=_0x3f106d[_0x48af24(0x31a)]={'stringify':function(_0x469332){const _0x3ee416=_0x48af24;try{return decodeURIComponent(escape(_0x58a4ca[_0x3ee416(0x541)](_0x469332)));}catch{throw new Error(_0x3ee416(0x4eb));}},'parse':function(_0x33d3a4){return _0x58a4ca['parse'](unescape(encodeURIComponent(_0x33d3a4)));}},_0x215371=_0x28cfad[_0x48af24(0x65d)]=_0x511c5e[_0x48af24(0x2c6)]({'reset':function(){const _0x4ec72e=_0x48af24;this[_0x4ec72e(0x2e4)]=new _0x549b48['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x1772d0){const _0x41e23c=_0x48af24;typeof _0x1772d0==_0x41e23c(0x506)&&(_0x1772d0=_0x1943af['parse'](_0x1772d0)),this['_data'][_0x41e23c(0x557)](_0x1772d0),this['_nDataBytes']+=_0x1772d0['sigBytes'];},'_process':function(_0xbb4be2){const _0x2193d7=_0x48af24;var _0x19a38e,_0x5d93cc=this[_0x2193d7(0x2e4)],_0x4edb14=_0x5d93cc[_0x2193d7(0x528)],_0x395032=_0x5d93cc[_0x2193d7(0x2b8)],_0x257a13=this[_0x2193d7(0x347)],_0x23fdf5=_0x257a13*0x4,_0x4490da=_0x395032/_0x23fdf5;_0xbb4be2?_0x4490da=_0x2a8613[_0x2193d7(0x498)](_0x4490da):_0x4490da=_0x2a8613[_0x2193d7(0x4db)]((_0x4490da|0x0)-this[_0x2193d7(0x35b)],0x0);var _0x219e74=_0x4490da*_0x257a13,_0x51c000=_0x2a8613[_0x2193d7(0x67b)](_0x219e74*0x4,_0x395032);if(_0x219e74){for(var _0x27f06b=0x0;_0x27f06b<_0x219e74;_0x27f06b+=_0x257a13)this[_0x2193d7(0x5bd)](_0x4edb14,_0x27f06b);_0x19a38e=_0x4edb14[_0x2193d7(0x230)](0x0,_0x219e74),_0x5d93cc[_0x2193d7(0x2b8)]-=_0x51c000;}return new _0x549b48[(_0x2193d7(0x514))](_0x19a38e,_0x51c000);},'clone':function(){const _0xcd98d8=_0x48af24;var _0x5bc86e=_0x511c5e['clone'][_0xcd98d8(0x31e)](this);return _0x5bc86e['_data']=this['_data'][_0xcd98d8(0x5c9)](),_0x5bc86e;},'_minBufferSize':0x0});_0x28cfad[_0x48af24(0x35c)]=_0x215371['extend']({'cfg':_0x511c5e[_0x48af24(0x2c6)](),'init':function(_0x4b8194){const _0x45cf4c=_0x48af24;this['cfg']=this[_0x45cf4c(0x632)][_0x45cf4c(0x2c6)](_0x4b8194),this[_0x45cf4c(0x546)]();},'reset':function(){const _0x29cd7c=_0x48af24;_0x215371[_0x29cd7c(0x546)]['call'](this),this[_0x29cd7c(0x67e)]();},'update':function(_0x547d29){const _0x483cf6=_0x48af24;return this[_0x483cf6(0x3a2)](_0x547d29),this[_0x483cf6(0x3db)](),this;},'finalize':function(_0x49f48e){const _0x3a862e=_0x48af24;_0x49f48e&&this[_0x3a862e(0x3a2)](_0x49f48e);var _0x574544=this[_0x3a862e(0x542)]();return _0x574544;},'blockSize':0x10,'_createHelper':function(_0x8cc969){return function(_0x5f1bb3,_0xabbac9){const _0x1e123c=_0x3f6c;return new _0x8cc969[(_0x1e123c(0x514))](_0xabbac9)[_0x1e123c(0x204)](_0x5f1bb3);};},'_createHmacHelper':function(_0x45639a){return function(_0x2d5e07,_0x253598){const _0x4d41ee=_0x3f6c;return new _0x405cd7[(_0x4d41ee(0x500))][(_0x4d41ee(0x514))](_0x45639a,_0x253598)[_0x4d41ee(0x204)](_0x2d5e07);};}});var _0x405cd7=_0x49a30c['algo']={};return _0x49a30c;}(Math);return _0x3315ab;}));}(_0x190db4)),_0x190db4[_0x41b73a(0x3b8)];}var _0x3c783f={'exports':{}},_0x2442c2=_0x3c783f['exports'],_0x2c135b;function _0x55f539(){const _0x1b6b50=_0x2ed730;return _0x2c135b||(_0x2c135b=0x1,function(_0x38b727,_0xcc17e0){(function(_0x126e4a,_0x57ce02){_0x38b727['exports']=_0x57ce02(_0x53bf25());}(_0x2442c2,function(_0xa7b4c6){const _0xa6916a=_0x3f6c;return(function(){const _0x48ae1f=_0x3f6c;var _0x10c574=_0xa7b4c6,_0x1aff4a=_0x10c574['lib'],_0x4d1786=_0x1aff4a['WordArray'],_0x43d473=_0x10c574[_0x48ae1f(0x622)];_0x43d473[_0x48ae1f(0x620)]={'stringify':function(_0x59124e){const _0x215539=_0x48ae1f;var _0x5b6454=_0x59124e['words'],_0x14ca95=_0x59124e[_0x215539(0x2b8)],_0x21a27f=this[_0x215539(0x5cf)];_0x59124e[_0x215539(0x577)]();for(var _0x148da8=[],_0x429ca9=0x0;_0x429ca9<_0x14ca95;_0x429ca9+=0x3)for(var _0x14035b=_0x5b6454[_0x429ca9>>>0x2]>>>0x18-_0x429ca9%0x4*0x8&0xff,_0x37e265=_0x5b6454[_0x429ca9+0x1>>>0x2]>>>0x18-(_0x429ca9+0x1)%0x4*0x8&0xff,_0x5a79c0=_0x5b6454[_0x429ca9+0x2>>>0x2]>>>0x18-(_0x429ca9+0x2)%0x4*0x8&0xff,_0x5497f8=_0x14035b<<0x10|_0x37e265<<0x8|_0x5a79c0,_0x5dbd0a=0x0;_0x5dbd0a<0x4&&_0x429ca9+_0x5dbd0a*0.75<_0x14ca95;_0x5dbd0a++)_0x148da8[_0x215539(0x4ef)](_0x21a27f[_0x215539(0x30c)](_0x5497f8>>>0x6*(0x3-_0x5dbd0a)&0x3f));var _0x5078cb=_0x21a27f[_0x215539(0x30c)](0x40);if(_0x5078cb){for(;_0x148da8[_0x215539(0x465)]%0x4;)_0x148da8[_0x215539(0x4ef)](_0x5078cb);}return _0x148da8['join']('');},'parse':function(_0x4a6044){const _0x16a7a7=_0x48ae1f;var _0x2be38c=_0x4a6044[_0x16a7a7(0x465)],_0x20e444=this[_0x16a7a7(0x5cf)],_0x3e60bf=this[_0x16a7a7(0x3d5)];if(!_0x3e60bf){_0x3e60bf=this[_0x16a7a7(0x3d5)]=[];for(var _0x290ba7=0x0;_0x290ba7<_0x20e444['length'];_0x290ba7++)_0x3e60bf[_0x20e444[_0x16a7a7(0x2d2)](_0x290ba7)]=_0x290ba7;}var _0x218f42=_0x20e444[_0x16a7a7(0x30c)](0x40);if(_0x218f42){var _0x12ee3c=_0x4a6044[_0x16a7a7(0x371)](_0x218f42);_0x12ee3c!==-0x1&&(_0x2be38c=_0x12ee3c);}return _0x4bdd03(_0x4a6044,_0x2be38c,_0x3e60bf);},'_map':_0x48ae1f(0x47b)};function _0x4bdd03(_0x511373,_0x1bfffd,_0x171d76){const _0x1f293e=_0x48ae1f;for(var _0xf4c89c=[],_0x1ff7b7=0x0,_0x490eb0=0x0;_0x490eb0<_0x1bfffd;_0x490eb0++)if(_0x490eb0%0x4){var _0x35f1ba=_0x171d76[_0x511373[_0x1f293e(0x2d2)](_0x490eb0-0x1)]<<_0x490eb0%0x4*0x2,_0x5b9deb=_0x171d76[_0x511373['charCodeAt'](_0x490eb0)]>>>0x6-_0x490eb0%0x4*0x2,_0x31e40b=_0x35f1ba|_0x5b9deb;_0xf4c89c[_0x1ff7b7>>>0x2]|=_0x31e40b<<0x18-_0x1ff7b7%0x4*0x8,_0x1ff7b7++;}return _0x4d1786[_0x1f293e(0x63b)](_0xf4c89c,_0x1ff7b7);}}()),_0xa7b4c6[_0xa6916a(0x622)]['Base64'];}));}(_0x3c783f)),_0x3c783f[_0x1b6b50(0x3b8)];}var _0x59bc03={'exports':{}},_0x4475fa=_0x59bc03['exports'],_0x26839b;function _0xaa224d(){const _0x55c97d=_0x2ed730;return _0x26839b||(_0x26839b=0x1,function(_0x27aead,_0xa44cec){(function(_0x27b15b,_0x24c003){const _0x349d15=_0x3f6c;_0x27aead[_0x349d15(0x3b8)]=_0x24c003(_0x53bf25());}(_0x4475fa,function(_0x572ccf){const _0x4dd0b3=_0x3f6c;return function(_0xa2837c){const _0x300719=_0x3f6c;var _0x1fcdd0=_0x572ccf,_0x125198=_0x1fcdd0[_0x300719(0x2ba)],_0x22bfc2=_0x125198[_0x300719(0x2a1)],_0x1d7319=_0x125198['Hasher'],_0x18bbbc=_0x1fcdd0[_0x300719(0x5d1)],_0x3a0086=[];(function(){const _0x1eb5ca=_0x300719;for(var _0x35c0b3=0x0;_0x35c0b3<0x40;_0x35c0b3++)_0x3a0086[_0x35c0b3]=_0xa2837c[_0x1eb5ca(0x5cd)](_0xa2837c['sin'](_0x35c0b3+0x1))*0x100000000|0x0;}());var _0x39b482=_0x18bbbc[_0x300719(0x521)]=_0x1d7319['extend']({'_doReset':function(){const _0x427500=_0x300719;this['_hash']=new _0x22bfc2[(_0x427500(0x514))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5cd11f,_0x591681){const _0x5a2d1f=_0x300719;for(var _0x9bb5e0=0x0;_0x9bb5e0<0x10;_0x9bb5e0++){var _0x13a576=_0x591681+_0x9bb5e0,_0x2b58c5=_0x5cd11f[_0x13a576];_0x5cd11f[_0x13a576]=(_0x2b58c5<<0x8|_0x2b58c5>>>0x18)&0xff00ff|(_0x2b58c5<<0x18|_0x2b58c5>>>0x8)&0xff00ff00;}var _0xa74be8=this['_hash'][_0x5a2d1f(0x528)],_0x5ee791=_0x5cd11f[_0x591681+0x0],_0x20bc0f=_0x5cd11f[_0x591681+0x1],_0x15ae4b=_0x5cd11f[_0x591681+0x2],_0x2e9249=_0x5cd11f[_0x591681+0x3],_0xb7737b=_0x5cd11f[_0x591681+0x4],_0xb92c0d=_0x5cd11f[_0x591681+0x5],_0x4883c9=_0x5cd11f[_0x591681+0x6],_0x3a4cb1=_0x5cd11f[_0x591681+0x7],_0x48c21e=_0x5cd11f[_0x591681+0x8],_0x19d779=_0x5cd11f[_0x591681+0x9],_0x363b36=_0x5cd11f[_0x591681+0xa],_0x40af54=_0x5cd11f[_0x591681+0xb],_0x3cd7c7=_0x5cd11f[_0x591681+0xc],_0x176b4b=_0x5cd11f[_0x591681+0xd],_0x25ec48=_0x5cd11f[_0x591681+0xe],_0x59e1db=_0x5cd11f[_0x591681+0xf],_0x50138b=_0xa74be8[0x0],_0x117ffc=_0xa74be8[0x1],_0x4ee420=_0xa74be8[0x2],_0x447402=_0xa74be8[0x3];_0x50138b=_0x2680bf(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x5ee791,0x7,_0x3a0086[0x0]),_0x447402=_0x2680bf(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x20bc0f,0xc,_0x3a0086[0x1]),_0x4ee420=_0x2680bf(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x15ae4b,0x11,_0x3a0086[0x2]),_0x117ffc=_0x2680bf(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x2e9249,0x16,_0x3a0086[0x3]),_0x50138b=_0x2680bf(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0xb7737b,0x7,_0x3a0086[0x4]),_0x447402=_0x2680bf(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0xb92c0d,0xc,_0x3a0086[0x5]),_0x4ee420=_0x2680bf(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x4883c9,0x11,_0x3a0086[0x6]),_0x117ffc=_0x2680bf(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x3a4cb1,0x16,_0x3a0086[0x7]),_0x50138b=_0x2680bf(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x48c21e,0x7,_0x3a0086[0x8]),_0x447402=_0x2680bf(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x19d779,0xc,_0x3a0086[0x9]),_0x4ee420=_0x2680bf(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x363b36,0x11,_0x3a0086[0xa]),_0x117ffc=_0x2680bf(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x40af54,0x16,_0x3a0086[0xb]),_0x50138b=_0x2680bf(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x3cd7c7,0x7,_0x3a0086[0xc]),_0x447402=_0x2680bf(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x176b4b,0xc,_0x3a0086[0xd]),_0x4ee420=_0x2680bf(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x25ec48,0x11,_0x3a0086[0xe]),_0x117ffc=_0x2680bf(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x59e1db,0x16,_0x3a0086[0xf]),_0x50138b=_0x4ef38d(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x20bc0f,0x5,_0x3a0086[0x10]),_0x447402=_0x4ef38d(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x4883c9,0x9,_0x3a0086[0x11]),_0x4ee420=_0x4ef38d(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x40af54,0xe,_0x3a0086[0x12]),_0x117ffc=_0x4ef38d(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x5ee791,0x14,_0x3a0086[0x13]),_0x50138b=_0x4ef38d(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0xb92c0d,0x5,_0x3a0086[0x14]),_0x447402=_0x4ef38d(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x363b36,0x9,_0x3a0086[0x15]),_0x4ee420=_0x4ef38d(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x59e1db,0xe,_0x3a0086[0x16]),_0x117ffc=_0x4ef38d(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0xb7737b,0x14,_0x3a0086[0x17]),_0x50138b=_0x4ef38d(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x19d779,0x5,_0x3a0086[0x18]),_0x447402=_0x4ef38d(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x25ec48,0x9,_0x3a0086[0x19]),_0x4ee420=_0x4ef38d(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x2e9249,0xe,_0x3a0086[0x1a]),_0x117ffc=_0x4ef38d(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x48c21e,0x14,_0x3a0086[0x1b]),_0x50138b=_0x4ef38d(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x176b4b,0x5,_0x3a0086[0x1c]),_0x447402=_0x4ef38d(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x15ae4b,0x9,_0x3a0086[0x1d]),_0x4ee420=_0x4ef38d(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x3a4cb1,0xe,_0x3a0086[0x1e]),_0x117ffc=_0x4ef38d(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x3cd7c7,0x14,_0x3a0086[0x1f]),_0x50138b=_0x465a35(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0xb92c0d,0x4,_0x3a0086[0x20]),_0x447402=_0x465a35(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x48c21e,0xb,_0x3a0086[0x21]),_0x4ee420=_0x465a35(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x40af54,0x10,_0x3a0086[0x22]),_0x117ffc=_0x465a35(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x25ec48,0x17,_0x3a0086[0x23]),_0x50138b=_0x465a35(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x20bc0f,0x4,_0x3a0086[0x24]),_0x447402=_0x465a35(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0xb7737b,0xb,_0x3a0086[0x25]),_0x4ee420=_0x465a35(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x3a4cb1,0x10,_0x3a0086[0x26]),_0x117ffc=_0x465a35(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x363b36,0x17,_0x3a0086[0x27]),_0x50138b=_0x465a35(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x176b4b,0x4,_0x3a0086[0x28]),_0x447402=_0x465a35(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x5ee791,0xb,_0x3a0086[0x29]),_0x4ee420=_0x465a35(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x2e9249,0x10,_0x3a0086[0x2a]),_0x117ffc=_0x465a35(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x4883c9,0x17,_0x3a0086[0x2b]),_0x50138b=_0x465a35(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x19d779,0x4,_0x3a0086[0x2c]),_0x447402=_0x465a35(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x3cd7c7,0xb,_0x3a0086[0x2d]),_0x4ee420=_0x465a35(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x59e1db,0x10,_0x3a0086[0x2e]),_0x117ffc=_0x465a35(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x15ae4b,0x17,_0x3a0086[0x2f]),_0x50138b=_0x555c57(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x5ee791,0x6,_0x3a0086[0x30]),_0x447402=_0x555c57(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x3a4cb1,0xa,_0x3a0086[0x31]),_0x4ee420=_0x555c57(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x25ec48,0xf,_0x3a0086[0x32]),_0x117ffc=_0x555c57(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0xb92c0d,0x15,_0x3a0086[0x33]),_0x50138b=_0x555c57(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x3cd7c7,0x6,_0x3a0086[0x34]),_0x447402=_0x555c57(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x2e9249,0xa,_0x3a0086[0x35]),_0x4ee420=_0x555c57(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x363b36,0xf,_0x3a0086[0x36]),_0x117ffc=_0x555c57(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x20bc0f,0x15,_0x3a0086[0x37]),_0x50138b=_0x555c57(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0x48c21e,0x6,_0x3a0086[0x38]),_0x447402=_0x555c57(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x59e1db,0xa,_0x3a0086[0x39]),_0x4ee420=_0x555c57(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x4883c9,0xf,_0x3a0086[0x3a]),_0x117ffc=_0x555c57(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x176b4b,0x15,_0x3a0086[0x3b]),_0x50138b=_0x555c57(_0x50138b,_0x117ffc,_0x4ee420,_0x447402,_0xb7737b,0x6,_0x3a0086[0x3c]),_0x447402=_0x555c57(_0x447402,_0x50138b,_0x117ffc,_0x4ee420,_0x40af54,0xa,_0x3a0086[0x3d]),_0x4ee420=_0x555c57(_0x4ee420,_0x447402,_0x50138b,_0x117ffc,_0x15ae4b,0xf,_0x3a0086[0x3e]),_0x117ffc=_0x555c57(_0x117ffc,_0x4ee420,_0x447402,_0x50138b,_0x19d779,0x15,_0x3a0086[0x3f]),_0xa74be8[0x0]=_0xa74be8[0x0]+_0x50138b|0x0,_0xa74be8[0x1]=_0xa74be8[0x1]+_0x117ffc|0x0,_0xa74be8[0x2]=_0xa74be8[0x2]+_0x4ee420|0x0,_0xa74be8[0x3]=_0xa74be8[0x3]+_0x447402|0x0;},'_doFinalize':function(){const _0x59b861=_0x300719;var _0x891cea=this[_0x59b861(0x2e4)],_0x1eb88b=_0x891cea[_0x59b861(0x528)],_0x5cf514=this[_0x59b861(0x280)]*0x8,_0xa3febd=_0x891cea['sigBytes']*0x8;_0x1eb88b[_0xa3febd>>>0x5]|=0x80<<0x18-_0xa3febd%0x20;var _0x3b44f1=_0xa2837c[_0x59b861(0x23a)](_0x5cf514/0x100000000),_0x41387e=_0x5cf514;_0x1eb88b[(_0xa3febd+0x40>>>0x9<<0x4)+0xf]=(_0x3b44f1<<0x8|_0x3b44f1>>>0x18)&0xff00ff|(_0x3b44f1<<0x18|_0x3b44f1>>>0x8)&0xff00ff00,_0x1eb88b[(_0xa3febd+0x40>>>0x9<<0x4)+0xe]=(_0x41387e<<0x8|_0x41387e>>>0x18)&0xff00ff|(_0x41387e<<0x18|_0x41387e>>>0x8)&0xff00ff00,_0x891cea[_0x59b861(0x2b8)]=(_0x1eb88b[_0x59b861(0x465)]+0x1)*0x4,this['_process']();for(var _0x36d0b8=this[_0x59b861(0x254)],_0x2fa3f4=_0x36d0b8['words'],_0x11574d=0x0;_0x11574d<0x4;_0x11574d++){var _0x169526=_0x2fa3f4[_0x11574d];_0x2fa3f4[_0x11574d]=(_0x169526<<0x8|_0x169526>>>0x18)&0xff00ff|(_0x169526<<0x18|_0x169526>>>0x8)&0xff00ff00;}return _0x36d0b8;},'clone':function(){const _0x517750=_0x300719;var _0x3d4795=_0x1d7319['clone'][_0x517750(0x31e)](this);return _0x3d4795['_hash']=this[_0x517750(0x254)][_0x517750(0x5c9)](),_0x3d4795;}});function _0x2680bf(_0x2e94b4,_0x84c3d2,_0xee0a51,_0x5d3935,_0x16141c,_0x39d8e5,_0x504148){var _0x407e78=_0x2e94b4+(_0x84c3d2&_0xee0a51|~_0x84c3d2&_0x5d3935)+_0x16141c+_0x504148;return(_0x407e78<<_0x39d8e5|_0x407e78>>>0x20-_0x39d8e5)+_0x84c3d2;}function _0x4ef38d(_0x128253,_0x858580,_0x2bf321,_0x3c5d17,_0x49c6e1,_0x7ac0cd,_0x6b6eb){var _0x31862d=_0x128253+(_0x858580&_0x3c5d17|_0x2bf321&~_0x3c5d17)+_0x49c6e1+_0x6b6eb;return(_0x31862d<<_0x7ac0cd|_0x31862d>>>0x20-_0x7ac0cd)+_0x858580;}function _0x465a35(_0x22399c,_0x4f6bac,_0x160f14,_0x47026b,_0x3e29e3,_0x2167d2,_0x599b97){var _0x34ae1d=_0x22399c+(_0x4f6bac^_0x160f14^_0x47026b)+_0x3e29e3+_0x599b97;return(_0x34ae1d<<_0x2167d2|_0x34ae1d>>>0x20-_0x2167d2)+_0x4f6bac;}function _0x555c57(_0x3e70eb,_0x5bbcaa,_0x112e4,_0x2c424b,_0x1eb280,_0x12154a,_0x584512){var _0x17eb69=_0x3e70eb+(_0x112e4^(_0x5bbcaa|~_0x2c424b))+_0x1eb280+_0x584512;return(_0x17eb69<<_0x12154a|_0x17eb69>>>0x20-_0x12154a)+_0x5bbcaa;}_0x1fcdd0[_0x300719(0x521)]=_0x1d7319[_0x300719(0x2b6)](_0x39b482),_0x1fcdd0[_0x300719(0x1da)]=_0x1d7319[_0x300719(0x636)](_0x39b482);}(Math),_0x572ccf[_0x4dd0b3(0x521)];}));}(_0x59bc03)),_0x59bc03[_0x55c97d(0x3b8)];}var _0x503c26={'exports':{}},_0x214807={'exports':{}},_0x2c8729=_0x214807[_0x2ed730(0x3b8)],_0x387b5f;function _0x41109c(){const _0x54f787=_0x2ed730;return _0x387b5f||(_0x387b5f=0x1,function(_0x360088,_0x3ed57f){(function(_0x1c83b0,_0x2d4b43){const _0x4e1941=_0x3f6c;_0x360088[_0x4e1941(0x3b8)]=_0x2d4b43(_0x53bf25());}(_0x2c8729,function(_0x50f603){const _0x3fe544=_0x3f6c;return(function(){const _0x1c96a4=_0x3f6c;var _0x3dbe5b=_0x50f603,_0x64e65b=_0x3dbe5b[_0x1c96a4(0x2ba)],_0x152b4d=_0x64e65b['WordArray'],_0x4fe7e3=_0x64e65b[_0x1c96a4(0x35c)],_0x3a5b88=_0x3dbe5b[_0x1c96a4(0x5d1)],_0x5ec6d7=[],_0x3ec7b7=_0x3a5b88[_0x1c96a4(0x252)]=_0x4fe7e3[_0x1c96a4(0x2c6)]({'_doReset':function(){const _0x3ed01a=_0x1c96a4;this['_hash']=new _0x152b4d[(_0x3ed01a(0x514))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4dd97e,_0x573e80){const _0x100dcb=_0x1c96a4;for(var _0x536786=this[_0x100dcb(0x254)][_0x100dcb(0x528)],_0x19349b=_0x536786[0x0],_0x70771e=_0x536786[0x1],_0x2f7c88=_0x536786[0x2],_0x43584a=_0x536786[0x3],_0x339be6=_0x536786[0x4],_0x573df2=0x0;_0x573df2<0x50;_0x573df2++){if(_0x573df2<0x10)_0x5ec6d7[_0x573df2]=_0x4dd97e[_0x573e80+_0x573df2]|0x0;else{var _0x53160c=_0x5ec6d7[_0x573df2-0x3]^_0x5ec6d7[_0x573df2-0x8]^_0x5ec6d7[_0x573df2-0xe]^_0x5ec6d7[_0x573df2-0x10];_0x5ec6d7[_0x573df2]=_0x53160c<<0x1|_0x53160c>>>0x1f;}var _0x42c90a=(_0x19349b<<0x5|_0x19349b>>>0x1b)+_0x339be6+_0x5ec6d7[_0x573df2];_0x573df2<0x14?_0x42c90a+=(_0x70771e&_0x2f7c88|~_0x70771e&_0x43584a)+0x5a827999:_0x573df2<0x28?_0x42c90a+=(_0x70771e^_0x2f7c88^_0x43584a)+0x6ed9eba1:_0x573df2<0x3c?_0x42c90a+=(_0x70771e&_0x2f7c88|_0x70771e&_0x43584a|_0x2f7c88&_0x43584a)-0x70e44324:_0x42c90a+=(_0x70771e^_0x2f7c88^_0x43584a)-0x359d3e2a,_0x339be6=_0x43584a,_0x43584a=_0x2f7c88,_0x2f7c88=_0x70771e<<0x1e|_0x70771e>>>0x2,_0x70771e=_0x19349b,_0x19349b=_0x42c90a;}_0x536786[0x0]=_0x536786[0x0]+_0x19349b|0x0,_0x536786[0x1]=_0x536786[0x1]+_0x70771e|0x0,_0x536786[0x2]=_0x536786[0x2]+_0x2f7c88|0x0,_0x536786[0x3]=_0x536786[0x3]+_0x43584a|0x0,_0x536786[0x4]=_0x536786[0x4]+_0x339be6|0x0;},'_doFinalize':function(){const _0x42091f=_0x1c96a4;var _0x71ff7c=this[_0x42091f(0x2e4)],_0x2a82ba=_0x71ff7c[_0x42091f(0x528)],_0x405d41=this[_0x42091f(0x280)]*0x8,_0x59d14e=_0x71ff7c[_0x42091f(0x2b8)]*0x8;return _0x2a82ba[_0x59d14e>>>0x5]|=0x80<<0x18-_0x59d14e%0x20,_0x2a82ba[(_0x59d14e+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x405d41/0x100000000),_0x2a82ba[(_0x59d14e+0x40>>>0x9<<0x4)+0xf]=_0x405d41,_0x71ff7c[_0x42091f(0x2b8)]=_0x2a82ba[_0x42091f(0x465)]*0x4,this[_0x42091f(0x3db)](),this[_0x42091f(0x254)];},'clone':function(){const _0x30ecdf=_0x1c96a4;var _0x1257b8=_0x4fe7e3[_0x30ecdf(0x5c9)][_0x30ecdf(0x31e)](this);return _0x1257b8[_0x30ecdf(0x254)]=this[_0x30ecdf(0x254)]['clone'](),_0x1257b8;}});_0x3dbe5b[_0x1c96a4(0x252)]=_0x4fe7e3[_0x1c96a4(0x2b6)](_0x3ec7b7),_0x3dbe5b[_0x1c96a4(0x3bb)]=_0x4fe7e3['_createHmacHelper'](_0x3ec7b7);}()),_0x50f603[_0x3fe544(0x252)];}));}(_0x214807)),_0x214807[_0x54f787(0x3b8)];}var _0xce9de7={'exports':{}},_0x38fe9a=_0xce9de7[_0x2ed730(0x3b8)],_0x1f50e0;function _0x21dad1(){const _0x27e240=_0x2ed730;return _0x1f50e0||(_0x1f50e0=0x1,function(_0x5dfdf7,_0x2d2071){(function(_0x4db52d,_0x5f4d1e){const _0xd566cd=_0x3f6c;_0x5dfdf7[_0xd566cd(0x3b8)]=_0x5f4d1e(_0x53bf25());}(_0x38fe9a,function(_0x2e4b19){(function(){const _0x196804=_0x3f6c;var _0x57ae1a=_0x2e4b19,_0x7fb11c=_0x57ae1a[_0x196804(0x2ba)],_0x2f03cf=_0x7fb11c[_0x196804(0x229)],_0x1fa622=_0x57ae1a[_0x196804(0x622)],_0xba0760=_0x1fa622[_0x196804(0x31a)],_0x4725b8=_0x57ae1a[_0x196804(0x5d1)];_0x4725b8['HMAC']=_0x2f03cf[_0x196804(0x2c6)]({'init':function(_0x30344b,_0x1b7846){const _0x10a232=_0x196804;_0x30344b=this[_0x10a232(0x5ec)]=new _0x30344b['init'](),typeof _0x1b7846==_0x10a232(0x506)&&(_0x1b7846=_0xba0760[_0x10a232(0x3f7)](_0x1b7846));var _0x22cf08=_0x30344b['blockSize'],_0x274e60=_0x22cf08*0x4;_0x1b7846['sigBytes']>_0x274e60&&(_0x1b7846=_0x30344b[_0x10a232(0x204)](_0x1b7846)),_0x1b7846['clamp']();for(var _0xc3f7d0=this[_0x10a232(0x437)]=_0x1b7846[_0x10a232(0x5c9)](),_0x278420=this[_0x10a232(0x30d)]=_0x1b7846[_0x10a232(0x5c9)](),_0x6fb45=_0xc3f7d0['words'],_0x542d49=_0x278420[_0x10a232(0x528)],_0x6a08b3=0x0;_0x6a08b3<_0x22cf08;_0x6a08b3++)_0x6fb45[_0x6a08b3]^=0x5c5c5c5c,_0x542d49[_0x6a08b3]^=0x36363636;_0xc3f7d0[_0x10a232(0x2b8)]=_0x278420[_0x10a232(0x2b8)]=_0x274e60,this[_0x10a232(0x546)]();},'reset':function(){const _0x2f5c11=_0x196804;var _0xe0d640=this[_0x2f5c11(0x5ec)];_0xe0d640[_0x2f5c11(0x546)](),_0xe0d640[_0x2f5c11(0x46b)](this['_iKey']);},'update':function(_0x4b04a7){const _0x43a5ea=_0x196804;return this[_0x43a5ea(0x5ec)]['update'](_0x4b04a7),this;},'finalize':function(_0x1cf892){const _0x3114a9=_0x196804;var _0x33e747=this[_0x3114a9(0x5ec)],_0x2314cb=_0x33e747[_0x3114a9(0x204)](_0x1cf892);_0x33e747[_0x3114a9(0x546)]();var _0x33673a=_0x33e747['finalize'](this['_oKey'][_0x3114a9(0x5c9)]()['concat'](_0x2314cb));return _0x33673a;}});}());}));}(_0xce9de7)),_0xce9de7[_0x27e240(0x3b8)];}var _0x310e86=_0x503c26[_0x2ed730(0x3b8)],_0x113a7c;function _0x1c2bfa(){return _0x113a7c||(_0x113a7c=0x1,function(_0x202467,_0x4af5f2){(function(_0x1697f9,_0x1039e2,_0x5826a9){const _0x17cacb=_0x3f6c;_0x202467[_0x17cacb(0x3b8)]=_0x1039e2(_0x53bf25(),_0x41109c(),_0x21dad1());}(_0x310e86,function(_0x491b2a){const _0x2971b7=_0x3f6c;return(function(){const _0x3f6a87=_0x3f6c;var _0x205970=_0x491b2a,_0x1b2085=_0x205970[_0x3f6a87(0x2ba)],_0x5acbe2=_0x1b2085['Base'],_0x2884b3=_0x1b2085[_0x3f6a87(0x2a1)],_0x1f306b=_0x205970['algo'],_0x17cd4b=_0x1f306b[_0x3f6a87(0x521)],_0x2c18e1=_0x1f306b['EvpKDF']=_0x5acbe2['extend']({'cfg':_0x5acbe2['extend']({'keySize':0x80/0x20,'hasher':_0x17cd4b,'iterations':0x1}),'init':function(_0x441988){const _0x3d2b4c=_0x3f6a87;this[_0x3d2b4c(0x632)]=this['cfg'][_0x3d2b4c(0x2c6)](_0x441988);},'compute':function(_0x2110a9,_0x456b43){const _0x2b5b73=_0x3f6a87;for(var _0x1b0a72,_0x24c7bd=this[_0x2b5b73(0x632)],_0x52e5d2=_0x24c7bd[_0x2b5b73(0x3d8)][_0x2b5b73(0x63b)](),_0xf22efc=_0x2884b3[_0x2b5b73(0x63b)](),_0xc4ce97=_0xf22efc[_0x2b5b73(0x528)],_0x23929e=_0x24c7bd[_0x2b5b73(0x326)],_0x1a37e8=_0x24c7bd[_0x2b5b73(0x235)];_0xc4ce97['length']<_0x23929e;){_0x1b0a72&&_0x52e5d2[_0x2b5b73(0x46b)](_0x1b0a72),_0x1b0a72=_0x52e5d2[_0x2b5b73(0x46b)](_0x2110a9)['finalize'](_0x456b43),_0x52e5d2[_0x2b5b73(0x546)]();for(var _0x55e5e5=0x1;_0x55e5e5<_0x1a37e8;_0x55e5e5++)_0x1b0a72=_0x52e5d2[_0x2b5b73(0x204)](_0x1b0a72),_0x52e5d2['reset']();_0xf22efc[_0x2b5b73(0x557)](_0x1b0a72);}return _0xf22efc[_0x2b5b73(0x2b8)]=_0x23929e*0x4,_0xf22efc;}});_0x205970[_0x3f6a87(0x642)]=function(_0x539c88,_0x5dcb16,_0x25b224){return _0x2c18e1['create'](_0x25b224)['compute'](_0x539c88,_0x5dcb16);};}()),_0x491b2a[_0x2971b7(0x642)];}));}(_0x503c26)),_0x503c26['exports'];}var _0x1fdaaa={'exports':{}},_0x54224d=_0x1fdaaa[_0x2ed730(0x3b8)],_0x598a9f;function _0x2cec46(){const _0x3ab23f=_0x2ed730;return _0x598a9f||(_0x598a9f=0x1,function(_0x476a19,_0x51b840){(function(_0x584a56,_0xe417f4,_0x1f93a2){const _0xc790f8=_0x3f6c;_0x476a19[_0xc790f8(0x3b8)]=_0xe417f4(_0x53bf25(),_0x1c2bfa());}(_0x54224d,function(_0x3ad93e){const _0x2fca76=_0x3f6c;_0x3ad93e[_0x2fca76(0x2ba)]['Cipher']||function(_0x573943){const _0x5b9b6f=_0x2fca76;var _0x23d3ab=_0x3ad93e,_0x34cf5f=_0x23d3ab[_0x5b9b6f(0x2ba)],_0x3c91b6=_0x34cf5f['Base'],_0x20d034=_0x34cf5f['WordArray'],_0x3f1b19=_0x34cf5f[_0x5b9b6f(0x65d)],_0x2160f7=_0x23d3ab[_0x5b9b6f(0x622)];_0x2160f7[_0x5b9b6f(0x31a)];var _0x54db95=_0x2160f7[_0x5b9b6f(0x620)],_0x2aaf27=_0x23d3ab['algo'],_0x39980=_0x2aaf27[_0x5b9b6f(0x642)],_0x129d6a=_0x34cf5f[_0x5b9b6f(0x1e9)]=_0x3f1b19['extend']({'cfg':_0x3c91b6[_0x5b9b6f(0x2c6)](),'createEncryptor':function(_0x3029ac,_0x5472e2){const _0x959126=_0x5b9b6f;return this[_0x959126(0x63b)](this[_0x959126(0x4de)],_0x3029ac,_0x5472e2);},'createDecryptor':function(_0x66c4fb,_0x14e7eb){const _0x5da12a=_0x5b9b6f;return this['create'](this[_0x5da12a(0x6a8)],_0x66c4fb,_0x14e7eb);},'init':function(_0x3af068,_0x185699,_0x409bbf){const _0x141b59=_0x5b9b6f;this[_0x141b59(0x632)]=this[_0x141b59(0x632)][_0x141b59(0x2c6)](_0x409bbf),this[_0x141b59(0x5d0)]=_0x3af068,this[_0x141b59(0x4da)]=_0x185699,this[_0x141b59(0x546)]();},'reset':function(){const _0x217774=_0x5b9b6f;_0x3f1b19['reset'][_0x217774(0x31e)](this),this[_0x217774(0x67e)]();},'process':function(_0x4d6021){const _0x3f0e2c=_0x5b9b6f;return this[_0x3f0e2c(0x3a2)](_0x4d6021),this[_0x3f0e2c(0x3db)]();},'finalize':function(_0x400d40){const _0x39a016=_0x5b9b6f;_0x400d40&&this[_0x39a016(0x3a2)](_0x400d40);var _0x21498d=this[_0x39a016(0x542)]();return _0x21498d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4c48c8(_0x31ca6d){const _0x2e79e0=_0x3f6c;return typeof _0x31ca6d==_0x2e79e0(0x506)?_0x589edf:_0x5caeb4;}return function(_0x4bda8c){return{'encrypt':function(_0x3525b1,_0x10d1c9,_0x42f4b3){const _0x24709d=_0x3f6c;return _0x4c48c8(_0x10d1c9)[_0x24709d(0x599)](_0x4bda8c,_0x3525b1,_0x10d1c9,_0x42f4b3);},'decrypt':function(_0x2622b5,_0x2d69ea,_0x441ae2){return _0x4c48c8(_0x2d69ea)['decrypt'](_0x4bda8c,_0x2622b5,_0x2d69ea,_0x441ae2);}};};}())});_0x34cf5f[_0x5b9b6f(0x56b)]=_0x129d6a[_0x5b9b6f(0x2c6)]({'_doFinalize':function(){const _0x431143=_0x5b9b6f;var _0x1e28ec=this[_0x431143(0x3db)](!0x0);return _0x1e28ec;},'blockSize':0x1});var _0x5273be=_0x23d3ab['mode']={},_0x24e1a1=_0x34cf5f[_0x5b9b6f(0x5ef)]=_0x3c91b6['extend']({'createEncryptor':function(_0x128a79,_0x1a0113){const _0x53ffdb=_0x5b9b6f;return this[_0x53ffdb(0x50b)][_0x53ffdb(0x63b)](_0x128a79,_0x1a0113);},'createDecryptor':function(_0x494b83,_0x3644ec){const _0x1c5839=_0x5b9b6f;return this[_0x1c5839(0x34b)]['create'](_0x494b83,_0x3644ec);},'init':function(_0x47da3e,_0x18de8d){const _0x5f0d81=_0x5b9b6f;this[_0x5f0d81(0x222)]=_0x47da3e,this['_iv']=_0x18de8d;}}),_0x10ca70=_0x5273be[_0x5b9b6f(0x48c)]=(function(){const _0x2daecc=_0x5b9b6f;var _0x500f4e=_0x24e1a1[_0x2daecc(0x2c6)]();_0x500f4e[_0x2daecc(0x50b)]=_0x500f4e['extend']({'processBlock':function(_0x375fbf,_0x79db91){const _0x3b927b=_0x2daecc;var _0x13a220=this[_0x3b927b(0x222)],_0x438c2d=_0x13a220[_0x3b927b(0x347)];_0x56b3fa['call'](this,_0x375fbf,_0x79db91,_0x438c2d),_0x13a220[_0x3b927b(0x1e5)](_0x375fbf,_0x79db91),this[_0x3b927b(0x5ac)]=_0x375fbf[_0x3b927b(0x4c2)](_0x79db91,_0x79db91+_0x438c2d);}}),_0x500f4e[_0x2daecc(0x34b)]=_0x500f4e[_0x2daecc(0x2c6)]({'processBlock':function(_0x138845,_0x1ac407){const _0x506b55=_0x2daecc;var _0x439f19=this[_0x506b55(0x222)],_0x35eff5=_0x439f19[_0x506b55(0x347)],_0x69a35=_0x138845[_0x506b55(0x4c2)](_0x1ac407,_0x1ac407+_0x35eff5);_0x439f19['decryptBlock'](_0x138845,_0x1ac407),_0x56b3fa[_0x506b55(0x31e)](this,_0x138845,_0x1ac407,_0x35eff5),this[_0x506b55(0x5ac)]=_0x69a35;}});function _0x56b3fa(_0x5e1bf7,_0x37fa2e,_0xc1ec29){const _0x34d623=_0x2daecc;var _0x4da919,_0x3ac8ea=this[_0x34d623(0x4a7)];_0x3ac8ea?(_0x4da919=_0x3ac8ea,this[_0x34d623(0x4a7)]=_0x573943):_0x4da919=this[_0x34d623(0x5ac)];for(var _0xc4fab9=0x0;_0xc4fab9<_0xc1ec29;_0xc4fab9++)_0x5e1bf7[_0x37fa2e+_0xc4fab9]^=_0x4da919[_0xc4fab9];}return _0x500f4e;}()),_0x3848bb=_0x23d3ab[_0x5b9b6f(0x51a)]={},_0x58d628=_0x3848bb[_0x5b9b6f(0x293)]={'pad':function(_0x5be97c,_0x25ad36){const _0x52ab25=_0x5b9b6f;for(var _0x2a767c=_0x25ad36*0x4,_0x3f4958=_0x2a767c-_0x5be97c['sigBytes']%_0x2a767c,_0x51ab7c=_0x3f4958<<0x18|_0x3f4958<<0x10|_0x3f4958<<0x8|_0x3f4958,_0x31104c=[],_0x4cb98e=0x0;_0x4cb98e<_0x3f4958;_0x4cb98e+=0x4)_0x31104c[_0x52ab25(0x4ef)](_0x51ab7c);var _0x4c7535=_0x20d034[_0x52ab25(0x63b)](_0x31104c,_0x3f4958);_0x5be97c[_0x52ab25(0x557)](_0x4c7535);},'unpad':function(_0x7623d7){const _0x2a1e08=_0x5b9b6f;var _0x45f7c6=_0x7623d7['words'][_0x7623d7[_0x2a1e08(0x2b8)]-0x1>>>0x2]&0xff;_0x7623d7[_0x2a1e08(0x2b8)]-=_0x45f7c6;}};_0x34cf5f['BlockCipher']=_0x129d6a[_0x5b9b6f(0x2c6)]({'cfg':_0x129d6a[_0x5b9b6f(0x632)]['extend']({'mode':_0x10ca70,'padding':_0x58d628}),'reset':function(){const _0x493c87=_0x5b9b6f;var _0x44bd38;_0x129d6a['reset'][_0x493c87(0x31e)](this);var _0x5d7c0b=this[_0x493c87(0x632)],_0x5d5ac2=_0x5d7c0b['iv'],_0x5ee8d4=_0x5d7c0b[_0x493c87(0x234)];this[_0x493c87(0x5d0)]==this[_0x493c87(0x4de)]?_0x44bd38=_0x5ee8d4[_0x493c87(0x3ac)]:(_0x44bd38=_0x5ee8d4[_0x493c87(0x28e)],this[_0x493c87(0x35b)]=0x1),this[_0x493c87(0x307)]&&this[_0x493c87(0x307)][_0x493c87(0x566)]==_0x44bd38?this['_mode'][_0x493c87(0x514)](this,_0x5d5ac2&&_0x5d5ac2[_0x493c87(0x528)]):(this[_0x493c87(0x307)]=_0x44bd38[_0x493c87(0x31e)](_0x5ee8d4,this,_0x5d5ac2&&_0x5d5ac2['words']),this[_0x493c87(0x307)]['__creator']=_0x44bd38);},'_doProcessBlock':function(_0x923ad4,_0x3020b1){const _0x518de2=_0x5b9b6f;this[_0x518de2(0x307)]['processBlock'](_0x923ad4,_0x3020b1);},'_doFinalize':function(){const _0x38940b=_0x5b9b6f;var _0x520a5b,_0x5eb974=this[_0x38940b(0x632)][_0x38940b(0x221)];return this[_0x38940b(0x5d0)]==this[_0x38940b(0x4de)]?(_0x5eb974[_0x38940b(0x51a)](this[_0x38940b(0x2e4)],this[_0x38940b(0x347)]),_0x520a5b=this[_0x38940b(0x3db)](!0x0)):(_0x520a5b=this[_0x38940b(0x3db)](!0x0),_0x5eb974['unpad'](_0x520a5b)),_0x520a5b;},'blockSize':0x80/0x20});var _0x463977=_0x34cf5f['CipherParams']=_0x3c91b6[_0x5b9b6f(0x2c6)]({'init':function(_0xb5b384){const _0x47b024=_0x5b9b6f;this[_0x47b024(0x4b6)](_0xb5b384);},'toString':function(_0x2b4070){const _0x17a11b=_0x5b9b6f;return(_0x2b4070||this['formatter'])[_0x17a11b(0x541)](this);}}),_0x131777=_0x23d3ab[_0x5b9b6f(0x448)]={},_0x395281=_0x131777[_0x5b9b6f(0x553)]={'stringify':function(_0x49f1bf){const _0x1e0bd9=_0x5b9b6f;var _0x24b907,_0x412c9f=_0x49f1bf[_0x1e0bd9(0x351)],_0xc547d8=_0x49f1bf[_0x1e0bd9(0x2de)];return _0xc547d8?_0x24b907=_0x20d034[_0x1e0bd9(0x63b)]([0x53616c74,0x65645f5f])[_0x1e0bd9(0x557)](_0xc547d8)[_0x1e0bd9(0x557)](_0x412c9f):_0x24b907=_0x412c9f,_0x24b907[_0x1e0bd9(0x485)](_0x54db95);},'parse':function(_0x3be131){const _0x2b386d=_0x5b9b6f;var _0x9fad0e,_0x6afcfc=_0x54db95['parse'](_0x3be131),_0x244f23=_0x6afcfc[_0x2b386d(0x528)];return _0x244f23[0x0]==0x53616c74&&_0x244f23[0x1]==0x65645f5f&&(_0x9fad0e=_0x20d034[_0x2b386d(0x63b)](_0x244f23[_0x2b386d(0x4c2)](0x2,0x4)),_0x244f23['splice'](0x0,0x4),_0x6afcfc['sigBytes']-=0x10),_0x463977['create']({'ciphertext':_0x6afcfc,'salt':_0x9fad0e});}},_0x5caeb4=_0x34cf5f[_0x5b9b6f(0x665)]=_0x3c91b6[_0x5b9b6f(0x2c6)]({'cfg':_0x3c91b6['extend']({'format':_0x395281}),'encrypt':function(_0x3b641b,_0x2a9e2c,_0xf3bb01,_0x155a23){const _0x36a109=_0x5b9b6f;_0x155a23=this[_0x36a109(0x632)]['extend'](_0x155a23);var _0x2da8b1=_0x3b641b['createEncryptor'](_0xf3bb01,_0x155a23),_0x1ce095=_0x2da8b1[_0x36a109(0x204)](_0x2a9e2c),_0x38b3b6=_0x2da8b1[_0x36a109(0x632)];return _0x463977[_0x36a109(0x63b)]({'ciphertext':_0x1ce095,'key':_0xf3bb01,'iv':_0x38b3b6['iv'],'algorithm':_0x3b641b,'mode':_0x38b3b6['mode'],'padding':_0x38b3b6[_0x36a109(0x221)],'blockSize':_0x3b641b['blockSize'],'formatter':_0x155a23[_0x36a109(0x448)]});},'decrypt':function(_0x13f1ba,_0x5a229c,_0x38e86a,_0x4cce98){const _0x7ec6=_0x5b9b6f;_0x4cce98=this[_0x7ec6(0x632)][_0x7ec6(0x2c6)](_0x4cce98),_0x5a229c=this['_parse'](_0x5a229c,_0x4cce98[_0x7ec6(0x448)]);var _0x42e467=_0x13f1ba[_0x7ec6(0x28e)](_0x38e86a,_0x4cce98)['finalize'](_0x5a229c[_0x7ec6(0x351)]);return _0x42e467;},'_parse':function(_0x1acf6d,_0x4f5da2){const _0xbb662d=_0x5b9b6f;return typeof _0x1acf6d==_0xbb662d(0x506)?_0x4f5da2['parse'](_0x1acf6d,this):_0x1acf6d;}}),_0x3b8c16=_0x23d3ab[_0x5b9b6f(0x571)]={},_0x46225f=_0x3b8c16[_0x5b9b6f(0x553)]={'execute':function(_0x54ad82,_0x35411b,_0x1e5650,_0x58e281,_0x4949b2){const _0x2dc915=_0x5b9b6f;if(_0x58e281||(_0x58e281=_0x20d034[_0x2dc915(0x2b5)](0x40/0x8)),_0x4949b2)var _0x2863e0=_0x39980[_0x2dc915(0x63b)]({'keySize':_0x35411b+_0x1e5650,'hasher':_0x4949b2})[_0x2dc915(0x3c0)](_0x54ad82,_0x58e281);else var _0x2863e0=_0x39980[_0x2dc915(0x63b)]({'keySize':_0x35411b+_0x1e5650})[_0x2dc915(0x3c0)](_0x54ad82,_0x58e281);var _0x4e84ca=_0x20d034['create'](_0x2863e0[_0x2dc915(0x528)][_0x2dc915(0x4c2)](_0x35411b),_0x1e5650*0x4);return _0x2863e0[_0x2dc915(0x2b8)]=_0x35411b*0x4,_0x463977['create']({'key':_0x2863e0,'iv':_0x4e84ca,'salt':_0x58e281});}},_0x589edf=_0x34cf5f['PasswordBasedCipher']=_0x5caeb4[_0x5b9b6f(0x2c6)]({'cfg':_0x5caeb4[_0x5b9b6f(0x632)][_0x5b9b6f(0x2c6)]({'kdf':_0x46225f}),'encrypt':function(_0x2cf845,_0x44ce88,_0x84f98,_0x1f6189){const _0x367aaf=_0x5b9b6f;_0x1f6189=this[_0x367aaf(0x632)][_0x367aaf(0x2c6)](_0x1f6189);var _0x2fc6d2=_0x1f6189[_0x367aaf(0x571)]['execute'](_0x84f98,_0x2cf845[_0x367aaf(0x326)],_0x2cf845[_0x367aaf(0x37f)],_0x1f6189[_0x367aaf(0x2de)],_0x1f6189['hasher']);_0x1f6189['iv']=_0x2fc6d2['iv'];var _0x225565=_0x5caeb4[_0x367aaf(0x599)]['call'](this,_0x2cf845,_0x44ce88,_0x2fc6d2[_0x367aaf(0x29a)],_0x1f6189);return _0x225565[_0x367aaf(0x4b6)](_0x2fc6d2),_0x225565;},'decrypt':function(_0xda5ceb,_0x4c2a01,_0x4ddc6d,_0x2b0a6d){const _0x2c0a1b=_0x5b9b6f;_0x2b0a6d=this[_0x2c0a1b(0x632)][_0x2c0a1b(0x2c6)](_0x2b0a6d),_0x4c2a01=this[_0x2c0a1b(0x314)](_0x4c2a01,_0x2b0a6d[_0x2c0a1b(0x448)]);var _0xa9a1db=_0x2b0a6d[_0x2c0a1b(0x571)][_0x2c0a1b(0x3c1)](_0x4ddc6d,_0xda5ceb[_0x2c0a1b(0x326)],_0xda5ceb['ivSize'],_0x4c2a01[_0x2c0a1b(0x2de)],_0x2b0a6d['hasher']);_0x2b0a6d['iv']=_0xa9a1db['iv'];var _0x33849=_0x5caeb4[_0x2c0a1b(0x1ca)][_0x2c0a1b(0x31e)](this,_0xda5ceb,_0x4c2a01,_0xa9a1db[_0x2c0a1b(0x29a)],_0x2b0a6d);return _0x33849;}});}();}));}(_0x1fdaaa)),_0x1fdaaa[_0x3ab23f(0x3b8)];}var _0x170922=_0x51bbdf[_0x2ed730(0x3b8)],_0x279fb3;function _0x1cdeef(){const _0x3bd617=_0x2ed730;return _0x279fb3||(_0x279fb3=0x1,function(_0xbb49d2,_0x186f9b){(function(_0x54c3dc,_0x1ca788,_0x12b99d){_0xbb49d2['exports']=_0x1ca788(_0x53bf25(),_0x55f539(),_0xaa224d(),_0x1c2bfa(),_0x2cec46());}(_0x170922,function(_0xf4a118){const _0x5d6f57=_0x3f6c;return(function(){const _0x17dfab=_0x3f6c;var _0xbb6365=_0xf4a118,_0x337e64=_0xbb6365[_0x17dfab(0x2ba)],_0x451f4c=_0x337e64[_0x17dfab(0x685)],_0x2192a6=_0xbb6365['algo'],_0x26c211=[],_0x349c15=[],_0x28e640=[],_0x3399a7=[],_0x2ed944=[],_0x125180=[],_0x5db71a=[],_0xf09e6c=[],_0x2007dd=[],_0x47c989=[];(function(){for(var _0x2f7366=[],_0x5221b9=0x0;_0x5221b9<0x100;_0x5221b9++)_0x5221b9<0x80?_0x2f7366[_0x5221b9]=_0x5221b9<<0x1:_0x2f7366[_0x5221b9]=_0x5221b9<<0x1^0x11b;for(var _0x13598f=0x0,_0x2c7a29=0x0,_0x5221b9=0x0;_0x5221b9<0x100;_0x5221b9++){var _0x269258=_0x2c7a29^_0x2c7a29<<0x1^_0x2c7a29<<0x2^_0x2c7a29<<0x3^_0x2c7a29<<0x4;_0x269258=_0x269258>>>0x8^_0x269258&0xff^0x63,_0x26c211[_0x13598f]=_0x269258,_0x349c15[_0x269258]=_0x13598f;var _0x16e038=_0x2f7366[_0x13598f],_0x56e26b=_0x2f7366[_0x16e038],_0x7c601a=_0x2f7366[_0x56e26b],_0xa9fe13=_0x2f7366[_0x269258]*0x101^_0x269258*0x1010100;_0x28e640[_0x13598f]=_0xa9fe13<<0x18|_0xa9fe13>>>0x8,_0x3399a7[_0x13598f]=_0xa9fe13<<0x10|_0xa9fe13>>>0x10,_0x2ed944[_0x13598f]=_0xa9fe13<<0x8|_0xa9fe13>>>0x18,_0x125180[_0x13598f]=_0xa9fe13;var _0xa9fe13=_0x7c601a*0x1010101^_0x56e26b*0x10001^_0x16e038*0x101^_0x13598f*0x1010100;_0x5db71a[_0x269258]=_0xa9fe13<<0x18|_0xa9fe13>>>0x8,_0xf09e6c[_0x269258]=_0xa9fe13<<0x10|_0xa9fe13>>>0x10,_0x2007dd[_0x269258]=_0xa9fe13<<0x8|_0xa9fe13>>>0x18,_0x47c989[_0x269258]=_0xa9fe13,_0x13598f?(_0x13598f=_0x16e038^_0x2f7366[_0x2f7366[_0x2f7366[_0x7c601a^_0x16e038]]],_0x2c7a29^=_0x2f7366[_0x2f7366[_0x2c7a29]]):_0x13598f=_0x2c7a29=0x1;}}());var _0x3921e1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4456cb=_0x2192a6[_0x17dfab(0x45a)]=_0x451f4c[_0x17dfab(0x2c6)]({'_doReset':function(){const _0xcf7b6f=_0x17dfab;var _0x2eede7;if(!(this['_nRounds']&&this[_0xcf7b6f(0x5e7)]===this[_0xcf7b6f(0x4da)])){for(var _0x16f632=this[_0xcf7b6f(0x5e7)]=this[_0xcf7b6f(0x4da)],_0x558b40=_0x16f632['words'],_0x143833=_0x16f632[_0xcf7b6f(0x2b8)]/0x4,_0x8881a4=this[_0xcf7b6f(0x3bc)]=_0x143833+0x6,_0x4c7a84=(_0x8881a4+0x1)*0x4,_0x31a9dc=this[_0xcf7b6f(0x484)]=[],_0x499237=0x0;_0x499237<_0x4c7a84;_0x499237++)_0x499237<_0x143833?_0x31a9dc[_0x499237]=_0x558b40[_0x499237]:(_0x2eede7=_0x31a9dc[_0x499237-0x1],_0x499237%_0x143833?_0x143833>0x6&&_0x499237%_0x143833==0x4&&(_0x2eede7=_0x26c211[_0x2eede7>>>0x18]<<0x18|_0x26c211[_0x2eede7>>>0x10&0xff]<<0x10|_0x26c211[_0x2eede7>>>0x8&0xff]<<0x8|_0x26c211[_0x2eede7&0xff]):(_0x2eede7=_0x2eede7<<0x8|_0x2eede7>>>0x18,_0x2eede7=_0x26c211[_0x2eede7>>>0x18]<<0x18|_0x26c211[_0x2eede7>>>0x10&0xff]<<0x10|_0x26c211[_0x2eede7>>>0x8&0xff]<<0x8|_0x26c211[_0x2eede7&0xff],_0x2eede7^=_0x3921e1[_0x499237/_0x143833|0x0]<<0x18),_0x31a9dc[_0x499237]=_0x31a9dc[_0x499237-_0x143833]^_0x2eede7);for(var _0x4a8d84=this[_0xcf7b6f(0x2a8)]=[],_0x3f221c=0x0;_0x3f221c<_0x4c7a84;_0x3f221c++){var _0x499237=_0x4c7a84-_0x3f221c;if(_0x3f221c%0x4)var _0x2eede7=_0x31a9dc[_0x499237];else var _0x2eede7=_0x31a9dc[_0x499237-0x4];_0x3f221c<0x4||_0x499237<=0x4?_0x4a8d84[_0x3f221c]=_0x2eede7:_0x4a8d84[_0x3f221c]=_0x5db71a[_0x26c211[_0x2eede7>>>0x18]]^_0xf09e6c[_0x26c211[_0x2eede7>>>0x10&0xff]]^_0x2007dd[_0x26c211[_0x2eede7>>>0x8&0xff]]^_0x47c989[_0x26c211[_0x2eede7&0xff]];}}},'encryptBlock':function(_0x1429e4,_0x410d78){const _0x3021ac=_0x17dfab;this[_0x3021ac(0x425)](_0x1429e4,_0x410d78,this[_0x3021ac(0x484)],_0x28e640,_0x3399a7,_0x2ed944,_0x125180,_0x26c211);},'decryptBlock':function(_0x58f017,_0x6bfabf){const _0x59c31d=_0x17dfab;var _0x40f7ff=_0x58f017[_0x6bfabf+0x1];_0x58f017[_0x6bfabf+0x1]=_0x58f017[_0x6bfabf+0x3],_0x58f017[_0x6bfabf+0x3]=_0x40f7ff,this['_doCryptBlock'](_0x58f017,_0x6bfabf,this[_0x59c31d(0x2a8)],_0x5db71a,_0xf09e6c,_0x2007dd,_0x47c989,_0x349c15);var _0x40f7ff=_0x58f017[_0x6bfabf+0x1];_0x58f017[_0x6bfabf+0x1]=_0x58f017[_0x6bfabf+0x3],_0x58f017[_0x6bfabf+0x3]=_0x40f7ff;},'_doCryptBlock':function(_0x1dfd72,_0x3d510c,_0x57a210,_0x77879e,_0x254fd3,_0x473e17,_0x440f41,_0x4db90e){const _0x35594a=_0x17dfab;for(var _0x32786e=this[_0x35594a(0x3bc)],_0x6ba92f=_0x1dfd72[_0x3d510c]^_0x57a210[0x0],_0x4addf9=_0x1dfd72[_0x3d510c+0x1]^_0x57a210[0x1],_0x2ba779=_0x1dfd72[_0x3d510c+0x2]^_0x57a210[0x2],_0x44ef7e=_0x1dfd72[_0x3d510c+0x3]^_0x57a210[0x3],_0x2227bd=0x4,_0x3fdc88=0x1;_0x3fdc88<_0x32786e;_0x3fdc88++){var _0x46ab88=_0x77879e[_0x6ba92f>>>0x18]^_0x254fd3[_0x4addf9>>>0x10&0xff]^_0x473e17[_0x2ba779>>>0x8&0xff]^_0x440f41[_0x44ef7e&0xff]^_0x57a210[_0x2227bd++],_0x4ace9c=_0x77879e[_0x4addf9>>>0x18]^_0x254fd3[_0x2ba779>>>0x10&0xff]^_0x473e17[_0x44ef7e>>>0x8&0xff]^_0x440f41[_0x6ba92f&0xff]^_0x57a210[_0x2227bd++],_0xa5ace4=_0x77879e[_0x2ba779>>>0x18]^_0x254fd3[_0x44ef7e>>>0x10&0xff]^_0x473e17[_0x6ba92f>>>0x8&0xff]^_0x440f41[_0x4addf9&0xff]^_0x57a210[_0x2227bd++],_0xc2e7c1=_0x77879e[_0x44ef7e>>>0x18]^_0x254fd3[_0x6ba92f>>>0x10&0xff]^_0x473e17[_0x4addf9>>>0x8&0xff]^_0x440f41[_0x2ba779&0xff]^_0x57a210[_0x2227bd++];_0x6ba92f=_0x46ab88,_0x4addf9=_0x4ace9c,_0x2ba779=_0xa5ace4,_0x44ef7e=_0xc2e7c1;}var _0x46ab88=(_0x4db90e[_0x6ba92f>>>0x18]<<0x18|_0x4db90e[_0x4addf9>>>0x10&0xff]<<0x10|_0x4db90e[_0x2ba779>>>0x8&0xff]<<0x8|_0x4db90e[_0x44ef7e&0xff])^_0x57a210[_0x2227bd++],_0x4ace9c=(_0x4db90e[_0x4addf9>>>0x18]<<0x18|_0x4db90e[_0x2ba779>>>0x10&0xff]<<0x10|_0x4db90e[_0x44ef7e>>>0x8&0xff]<<0x8|_0x4db90e[_0x6ba92f&0xff])^_0x57a210[_0x2227bd++],_0xa5ace4=(_0x4db90e[_0x2ba779>>>0x18]<<0x18|_0x4db90e[_0x44ef7e>>>0x10&0xff]<<0x10|_0x4db90e[_0x6ba92f>>>0x8&0xff]<<0x8|_0x4db90e[_0x4addf9&0xff])^_0x57a210[_0x2227bd++],_0xc2e7c1=(_0x4db90e[_0x44ef7e>>>0x18]<<0x18|_0x4db90e[_0x6ba92f>>>0x10&0xff]<<0x10|_0x4db90e[_0x4addf9>>>0x8&0xff]<<0x8|_0x4db90e[_0x2ba779&0xff])^_0x57a210[_0x2227bd++];_0x1dfd72[_0x3d510c]=_0x46ab88,_0x1dfd72[_0x3d510c+0x1]=_0x4ace9c,_0x1dfd72[_0x3d510c+0x2]=_0xa5ace4,_0x1dfd72[_0x3d510c+0x3]=_0xc2e7c1;},'keySize':0x100/0x20});_0xbb6365[_0x17dfab(0x45a)]=_0x451f4c[_0x17dfab(0x2b6)](_0x4456cb);}()),_0xf4a118[_0x5d6f57(0x45a)];}));}(_0x51bbdf)),_0x51bbdf[_0x3bd617(0x3b8)];}var _0x9178d6=_0x1cdeef();const _0x4ec926=_0x2e62d0(_0x9178d6);var _0x17d9c4=_0x55f539();const _0x2817d3=_0x2e62d0(_0x17d9c4);var _0x40005e={'exports':{}},_0x524f36=_0x40005e['exports'],_0x18f168;function _0xc0b8ce(){const _0x161452=_0x2ed730;return _0x18f168||(_0x18f168=0x1,function(_0x355c5d,_0x3ed856){(function(_0x370b24,_0x201524){const _0x3d9b36=_0x3f6c;_0x355c5d[_0x3d9b36(0x3b8)]=_0x201524(_0x53bf25());}(_0x524f36,function(_0x3e7684){return _0x3e7684['enc']['Utf8'];}));}(_0x40005e)),_0x40005e[_0x161452(0x3b8)];}var _0x294ffe=_0xc0b8ce();const _0x1f6ea0=_0x2e62d0(_0x294ffe);var _0x55a267={'exports':{}},_0x9046=_0x55a267[_0x2ed730(0x3b8)],_0x39dd4a;function _0x5e0e6c(){return _0x39dd4a||(_0x39dd4a=0x1,function(_0x2bc606,_0x38961d){(function(_0x504bbd,_0x320011){_0x2bc606['exports']=_0x320011(_0x53bf25());}(_0x9046,function(_0x57902d){const _0x3daa9c=_0x3f6c;return(function(){const _0x59040b=_0x3f6c;if(typeof ArrayBuffer=='function'){var _0x408b6b=_0x57902d,_0x34272e=_0x408b6b['lib'],_0x33353d=_0x34272e['WordArray'],_0x19011a=_0x33353d[_0x59040b(0x514)],_0x20647f=_0x33353d['init']=function(_0x58b35b){const _0x36ffa5=_0x59040b;if(_0x58b35b instanceof ArrayBuffer&&(_0x58b35b=new Uint8Array(_0x58b35b)),(_0x58b35b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x58b35b instanceof Uint8ClampedArray||_0x58b35b instanceof Int16Array||_0x58b35b instanceof Uint16Array||_0x58b35b instanceof Int32Array||_0x58b35b instanceof Uint32Array||_0x58b35b instanceof Float32Array||_0x58b35b instanceof Float64Array)&&(_0x58b35b=new Uint8Array(_0x58b35b[_0x36ffa5(0x41b)],_0x58b35b[_0x36ffa5(0x554)],_0x58b35b['byteLength'])),_0x58b35b instanceof Uint8Array){for(var _0x3e25c8=_0x58b35b[_0x36ffa5(0x3af)],_0x51379f=[],_0x15f27e=0x0;_0x15f27e<_0x3e25c8;_0x15f27e++)_0x51379f[_0x15f27e>>>0x2]|=_0x58b35b[_0x15f27e]<<0x18-_0x15f27e%0x4*0x8;_0x19011a[_0x36ffa5(0x31e)](this,_0x51379f,_0x3e25c8);}else _0x19011a['apply'](this,arguments);};_0x20647f[_0x59040b(0x47e)]=_0x33353d;}}()),_0x57902d[_0x3daa9c(0x2ba)][_0x3daa9c(0x2a1)];}));}(_0x55a267)),_0x55a267['exports'];}var _0x32cec5=_0x5e0e6c();const _0x7cbe62=_0x2e62d0(_0x32cec5);var _0x16bb6c={'exports':{}},_0x2cfdf5=_0x16bb6c['exports'],_0x262e62;function _0x272678(){const _0x2086c9=_0x2ed730;return _0x262e62||(_0x262e62=0x1,function(_0x6f81fa,_0x13be07){(function(_0x3a1d2c,_0x3227cd,_0xd79617){_0x6f81fa['exports']=_0x3227cd(_0x53bf25(),_0x2cec46());}(_0x2cfdf5,function(_0x34bb06){const _0x46c889=_0x3f6c;return _0x34bb06[_0x46c889(0x51a)][_0x46c889(0x4d5)]={'pad':function(){},'unpad':function(){}},_0x34bb06['pad'][_0x46c889(0x4d5)];}));}(_0x16bb6c)),_0x16bb6c[_0x2086c9(0x3b8)];}var _0x6645a1=_0x272678();const _0x314b9b=_0x2e62d0(_0x6645a1);function _0x594018(_0x42f51e,_0x4f2895){const _0x2e75c3=_0x2ed730,_0x3019b9=_0x4f2895-_0x42f51e['length']%_0x4f2895,_0x399f27=String[_0x2e75c3(0x22b)](_0x3019b9)[_0x2e75c3(0x415)](_0x3019b9);return _0x42f51e+_0x399f27;}function _0x1e8086(_0x29e9ad,_0x370026){const _0x1e8f8b=_0x2ed730,_0x391d2a=_0x7cbe62[_0x1e8f8b(0x2b5)](0x10),_0x4f985b=_0x594018(_0x29e9ad,0x10),_0x4cef3c=_0x4ec926[_0x1e8f8b(0x599)](_0x1f6ea0[_0x1e8f8b(0x3f7)](_0x4f985b),_0x2817d3[_0x1e8f8b(0x3f7)](_0x370026),{'iv':_0x391d2a,'padding':_0x314b9b});return _0x391d2a[_0x1e8f8b(0x557)](_0x4cef3c[_0x1e8f8b(0x351)])['toString'](_0x2817d3);}function _0x318a73(){const _0x3c8e54=_0x2ed730,_0x5963e8=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x5963e8){const _0x38bd0c={'time':Math[_0x3c8e54(0x23a)](Date['now']()/0x3e8),'domain':location[_0x3c8e54(0x5fa)]};return _0x1e8086(JSON['stringify'](_0x38bd0c),_0x5963e8);}}var _0x45b60a=Object[_0x2ed730(0x4ff)],_0x28fac9=Object[_0x2ed730(0x2c1)],_0x4978d6=(_0x34998b,_0x455992,_0x485266,_0x1e08d8)=>{const _0x565c03=_0x2ed730;for(var _0x23c57f=_0x1e08d8>0x1?void 0x0:_0x1e08d8?_0x28fac9(_0x455992,_0x485266):_0x455992,_0x26f317=_0x34998b[_0x565c03(0x465)]-0x1,_0x56296d;_0x26f317>=0x0;_0x26f317--)(_0x56296d=_0x34998b[_0x26f317])&&(_0x23c57f=(_0x1e08d8?_0x56296d(_0x455992,_0x485266,_0x23c57f):_0x56296d(_0x23c57f))||_0x23c57f);return _0x1e08d8&&_0x23c57f&&_0x45b60a(_0x455992,_0x485266,_0x23c57f),_0x23c57f;},_0x4c4579=(_0x224b25,_0x1d1c43)=>(_0x206464,_0xfb25c1)=>_0x1d1c43(_0x206464,_0xfb25c1,_0x224b25);let _0x22a242=class{constructor(_0x37827f){const _0x5536fb=_0x2ed730;this['_httpService']=_0x37827f,this[_0x5536fb(0x367)]();}[_0x2ed730(0x367)](){const _0x36f5a5=_0x2ed730;this[_0x36f5a5(0x35d)][_0x36f5a5(0x637)]({'interceptor':(_0x37c642,_0x3c3b5f)=>{const _0x3b7f93=_0x36f5a5,_0x320c39=_0x37c642[_0x3b7f93(0x316)],_0x145373=_0x318a73();return _0x145373&&_0x320c39[_0x3b7f93(0x576)](_0x3b7f93(0x315),_0x145373),_0x3c3b5f(_0x37c642);}});}};_0x22a242=_0x4978d6([_0x4c4579(0x0,_0x4d1a65['Inject'](_0x4ccb02[_0x2ed730(0x659)]))],_0x22a242);var _0x4708f4=Object[_0x2ed730(0x4ff)],_0x5cbe39=Object['getOwnPropertyDescriptor'],_0x3214ef=(_0x49f4ed,_0x17bf52,_0x595240,_0xa63429)=>{const _0x7557d=_0x2ed730;for(var _0x4e3339=_0xa63429>0x1?void 0x0:_0xa63429?_0x5cbe39(_0x17bf52,_0x595240):_0x17bf52,_0x48e979=_0x49f4ed[_0x7557d(0x465)]-0x1,_0x5d60af;_0x48e979>=0x0;_0x48e979--)(_0x5d60af=_0x49f4ed[_0x48e979])&&(_0x4e3339=(_0xa63429?_0x5d60af(_0x17bf52,_0x595240,_0x4e3339):_0x5d60af(_0x4e3339))||_0x4e3339);return _0xa63429&&_0x4e3339&&_0x4708f4(_0x17bf52,_0x595240,_0x4e3339),_0x4e3339;},_0x10e870=(_0xec35c9,_0x5076f4)=>(_0x4330ac,_0x44a61e)=>_0x5076f4(_0x4330ac,_0x44a61e,_0xec35c9);const _0x75e35c=[_0x2ed730(0x488),_0x2ed730(0x627),'image/jpg',_0x2ed730(0x4ab),'image/bmp'],_0x2c1571=0x5*0x400*0x400,_0x4ced4e=_0x2ed730(0x3ad),_0x5a61ef=_0x2ed730(0x34e),_0x32f435=_0x2ed730(0x23b),_0x117c6c='/universer-api/file/{fileID}/sign-url';_0x20c240[_0x2ed730(0x58d)]=class{constructor(_0x2f5acf,_0x240568,_0x2bd0b5){const _0x24749b=_0x2ed730;_0x10a616(this,_0x24749b(0x4f8),0x0),_0x10a616(this,'_change$',new _0x605d86[(_0x24749b(0x2fb))]()),_0x10a616(this,'change$',this[_0x24749b(0x374)]),_0x10a616(this,_0x24749b(0x53c),new Map()),(this[_0x24749b(0x35d)]=_0x2f5acf,this[_0x24749b(0x366)]=_0x240568,this['_univerInstanceService']=_0x2bd0b5);}[_0x2ed730(0x240)](_0x1fbdb7){const _0x159be1=_0x2ed730;this[_0x159be1(0x4f8)]=_0x1fbdb7,this[_0x159be1(0x374)][_0x159be1(0x4fe)](_0x1fbdb7);}[_0x2ed730(0x1ea)](_0x594deb,_0x2c288c){const _0x40fa80=_0x2ed730;if(_0x2c288c===_0x4facdd[_0x40fa80(0x2b7)][_0x40fa80(0x61c)]){const _0x2e895c=new Image();return _0x2e895c[_0x40fa80(0x389)]=_0x594deb,_0x2e895c;}return this['_imageSourceCache']['get'](_0x594deb);}[_0x2ed730(0x63f)](_0x61bfb1,_0x43a4b2,_0xddb249){const _0x530f5c=_0x2ed730;_0x43a4b2===_0x4facdd[_0x530f5c(0x2b7)]['BASE64']||_0xddb249==null||this['_imageSourceCache'][_0x530f5c(0x576)](_0x61bfb1,_0xddb249);}async['getImage'](_0x5a39aa){const _0x1a6f49=_0x2ed730;try{const _0x3158f2=this[_0x1a6f49(0x22c)](this[_0x1a6f49(0x522)](),''+_0x5a39aa),_0x2e9c60=(await this[_0x1a6f49(0x35d)][_0x1a6f49(0x3fd)](_0x3158f2))[_0x1a6f49(0x209)];if(_0x2e9c60['error']&&_0x2e9c60[_0x1a6f49(0x4c3)][_0x1a6f49(0x4ae)]===_0x298910['OK']){const _0x877513=new URL(_0x2e9c60['url'],this[_0x1a6f49(0x3d2)]())[_0x1a6f49(0x485)]();return Promise['resolve'](_0x877513);}return Promise[_0x1a6f49(0x274)](_0x2e9c60['error']);}catch(_0x38291d){return Promise[_0x1a6f49(0x274)](_0x38291d);}}async['saveImage'](_0x543e72){const _0x47a672=_0x2ed730;let _0x67377c='';if(!_0x75e35c[_0x47a672(0x4a5)](_0x543e72[_0x47a672(0x4ee)]))return this['_decreaseWaiting'](),Promise[_0x47a672(0x274)](new Error(_0x4facdd['ImageUploadStatusType'][_0x47a672(0x361)]));if(_0x543e72[_0x47a672(0x294)]>_0x2c1571)return this[_0x47a672(0x2ef)](),Promise['reject'](new Error(_0x4facdd[_0x47a672(0x390)][_0x47a672(0x1d0)]));try{const _0x42170e=new FormData();_0x42170e[_0x47a672(0x513)](_0x47a672(0x324),_0x543e72);const _0x7394ef=this[_0x47a672(0x443)]['getFocusedUnit'](),_0x159684=_0x7394ef==null?void 0x0:_0x7394ef[_0x47a672(0x4bd)]();if(!_0x159684)throw new Error(_0x47a672(0x6a4));const _0x51fbca=this[_0x47a672(0x4cd)]()+_0x47a672(0x47c)+_0x543e72[_0x47a672(0x294)]['toString']()+_0x47a672(0x394)+_0x41b63d[_0x47a672(0x5a4)]+'&assign='+encodeURIComponent(_0x159684),_0xbb01e8=await(await fetch(_0x51fbca,{'method':_0x47a672(0x534),'body':_0x42170e}))[_0x47a672(0x208)]();if(typeof _0xbb01e8[_0x47a672(0x27f)]!=_0x47a672(0x506))return this[_0x47a672(0x2ef)](),Promise[_0x47a672(0x274)](new Error(_0x4facdd['ImageUploadStatusType'][_0x47a672(0x4e3)]));_0x67377c=_0xbb01e8[_0x47a672(0x27f)];}catch{return this[_0x47a672(0x2ef)](),Promise[_0x47a672(0x274)](new Error(_0x4facdd[_0x47a672(0x390)][_0x47a672(0x4e3)]));}return new Promise((_0x2c8537,_0x287aab)=>{const _0x2a9a87=_0x47a672,_0x1a3cfe=new FileReader();_0x1a3cfe[_0x2a9a87(0x44c)](_0x543e72),_0x1a3cfe[_0x2a9a87(0x44f)]=_0x407a34=>{const _0x48f64f=_0x2a9a87;var _0x110e37;const _0x34782c=(_0x110e37=_0x407a34['target'])==null?void 0x0:_0x110e37[_0x48f64f(0x62d)];if(_0x34782c==null){this[_0x48f64f(0x2ef)](),_0x287aab(new Error(_0x4facdd[_0x48f64f(0x390)]['ERROR_IMAGE']));return;}const _0x5311e4=_0x4d1a65['Tools'][_0x48f64f(0x5a5)](0x6);_0x2c8537({'imageId':_0x5311e4,'imageSourceType':_0x4facdd[_0x48f64f(0x2b7)]['UUID'],'source':_0x67377c,'base64Cache':_0x34782c,'status':_0x4facdd['ImageUploadStatusType']['SUCCUSS']}),this[_0x48f64f(0x2ef)]();};});}['_getUploadFileURL'](){const _0x460441=_0x2ed730;var _0x1de6e2,_0x2dc5f7;const _0x18887c=this[_0x460441(0x366)]['getConfig'](_0x4ced4e),_0x2c8d76=this[_0x460441(0x366)]['getConfig'](_0x1f4f80);return(_0x2dc5f7=(_0x1de6e2=_0x2c8d76==null?void 0x0:_0x2c8d76[_0x460441(0x695)])!=null?_0x1de6e2:_0x18887c)!=null?_0x2dc5f7:_0x5a61ef;}['_getSignURL'](){const _0x601732=_0x2ed730;var _0x5d7381,_0x4ace57;const _0x57984c=this[_0x601732(0x366)]['getConfig'](_0x32f435),_0x205fe3=this[_0x601732(0x366)][_0x601732(0x539)](_0x1f4f80);return(_0x4ace57=(_0x5d7381=_0x205fe3==null?void 0x0:_0x205fe3['signUrlServerUrl'])!=null?_0x5d7381:_0x57984c)!=null?_0x4ace57:_0x117c6c;}[_0x2ed730(0x3d2)](){const _0x302c1a=_0x2ed730;var _0x3f581a;const _0x5d29a8=this[_0x302c1a(0x366)][_0x302c1a(0x539)](_0x1f4f80);return(_0x3f581a=_0x5d29a8==null?void 0x0:_0x5d29a8[_0x302c1a(0x318)])!=null?_0x3f581a:location['origin'];}['_replaceFileID'](_0x23adc1,_0x36f9c1){const _0x371dcc=_0x2ed730;return _0x23adc1['replace'](_0x371dcc(0x6ab),_0x36f9c1);}[_0x2ed730(0x2ef)](){const _0x9359d6=_0x2ed730;this[_0x9359d6(0x4f8)]-=0x1,this['_change$'][_0x9359d6(0x4fe)](this[_0x9359d6(0x4f8)]);}},_0x20c240[_0x2ed730(0x58d)]=_0x3214ef([_0x10e870(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4ccb02[_0x2ed730(0x659)])),_0x10e870(0x1,_0x4d1a65['IConfigService']),_0x10e870(0x2,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x312)]))],_0x20c240['CollabrationImageIoService']);var _0x52e723=Object[_0x2ed730(0x4ff)],_0x192a53=Object[_0x2ed730(0x2c1)],_0x4ce11e=(_0x13b929,_0x3ecb4a,_0x5001d,_0x4ff792)=>{const _0x213fc4=_0x2ed730;for(var _0x13d0c6=_0x4ff792>0x1?void 0x0:_0x4ff792?_0x192a53(_0x3ecb4a,_0x5001d):_0x3ecb4a,_0x3fe454=_0x13b929[_0x213fc4(0x465)]-0x1,_0xa6b2f3;_0x3fe454>=0x0;_0x3fe454--)(_0xa6b2f3=_0x13b929[_0x3fe454])&&(_0x13d0c6=(_0x4ff792?_0xa6b2f3(_0x3ecb4a,_0x5001d,_0x13d0c6):_0xa6b2f3(_0x13d0c6))||_0x13d0c6);return _0x4ff792&&_0x13d0c6&&_0x52e723(_0x3ecb4a,_0x5001d,_0x13d0c6),_0x13d0c6;},_0x306f95=(_0x553718,_0x1a0c06)=>(_0x14cbdd,_0x2457d2)=>_0x1a0c06(_0x14cbdd,_0x2457d2,_0x553718);const _0x792fea=_0x2ed730(0x48a);_0x20c240['MentionIoHttpService']=class{constructor(_0x46943e,_0x1a26b0){const _0x117cb8=_0x2ed730;this[_0x117cb8(0x366)]=_0x46943e,this[_0x117cb8(0x46e)]=_0x1a26b0;}[_0x2ed730(0x559)](){const _0x49d887=_0x2ed730;var _0x1c6025,_0x39384f;const _0x59b947=this['_configService'][_0x49d887(0x539)](_0xdb0aed),_0x43e5de=this[_0x49d887(0x366)]['getConfig'](_0x1f4f80);return(_0x39384f=(_0x1c6025=_0x43e5de==null?void 0x0:_0x43e5de[_0x49d887(0x461)])!=null?_0x1c6025:_0x59b947)!=null?_0x39384f:_0x792fea;}async[_0x2ed730(0x348)](_0x4cfc72){const _0x5b984e=_0x2ed730,_0x39b2b1=this[_0x5b984e(0x559)]()+'/collaborator';return{'list':[{'title':_0x5b984e(0x343),'mentions':(await this[_0x5b984e(0x46e)][_0x5b984e(0x3fd)](_0x39b2b1,{'params':{'objectID':_0x4cfc72[_0x5b984e(0x578)],'unitID':_0x4cfc72['unitId']}}))[_0x5b984e(0x209)][_0x5b984e(0x38b)][_0x5b984e(0x3fc)](_0x204c85=>({'objectId':_0x204c85['id'],'name':_0x204c85[_0x5b984e(0x3fe)][_0x5b984e(0x342)],'metadata':{'icon':_0x204c85[_0x5b984e(0x3fe)]['avatar']},'label':_0x204c85[_0x5b984e(0x3fe)][_0x5b984e(0x342)],'objectType':_0x4d1a65[_0x5b984e(0x379)]['PERSON']})),'metadata':{},'type':_0x4d1a65[_0x5b984e(0x379)][_0x5b984e(0x48f)]}]};}},_0x20c240[_0x2ed730(0x1e2)]=_0x4ce11e([_0x306f95(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x28a)])),_0x306f95(0x1,_0x4d1a65[_0x2ed730(0x436)](_0x4ccb02['HTTPService']))],_0x20c240[_0x2ed730(0x1e2)]);var _0x1f7b8e=Object['defineProperty'],_0x14f99c=Object[_0x2ed730(0x2c1)],_0x2df682=(_0x47c86d,_0x1781e1,_0x20778b,_0x3e069d)=>{const _0x2c4999=_0x2ed730;for(var _0x3276c8=_0x3e069d>0x1?void 0x0:_0x3e069d?_0x14f99c(_0x1781e1,_0x20778b):_0x1781e1,_0x2d1813=_0x47c86d[_0x2c4999(0x465)]-0x1,_0x2b00c1;_0x2d1813>=0x0;_0x2d1813--)(_0x2b00c1=_0x47c86d[_0x2d1813])&&(_0x3276c8=(_0x3e069d?_0x2b00c1(_0x1781e1,_0x20778b,_0x3276c8):_0x2b00c1(_0x3276c8))||_0x3276c8);return _0x3e069d&&_0x3276c8&&_0x1f7b8e(_0x1781e1,_0x20778b,_0x3276c8),_0x3276c8;},_0x834d92=(_0x30f151,_0x1f2ce2)=>(_0xfdd64f,_0x12c2c1)=>_0x1f2ce2(_0xfdd64f,_0x12c2c1,_0x30f151);let _0x321539=class extends _0x4d1a65[_0x2ed730(0x6a9)]{constructor(_0x2942ce,_0x58c348,_0x4093b3,_0x5aadb9,_0x29a0c3){const _0x4fbf87=_0x2ed730;super(),this[_0x4fbf87(0x574)]=_0x2942ce,this[_0x4fbf87(0x443)]=_0x58c348,this[_0x4fbf87(0x1cf)]=_0x4093b3,this[_0x4fbf87(0x452)]=_0x5aadb9,this['_localeService']=_0x29a0c3,this[_0x4fbf87(0x20c)](),this['_initCloseConn']();}[_0x2ed730(0x445)](){const _0x5e8f89=_0x2ed730,_0x8963a5=async _0x3626fb=>{const _0x1454f3=_0x3f6c;(await this[_0x1454f3(0x452)][_0x1454f3(0x430)](_0x3626fb))['event$'][_0x1454f3(0x661)](_0x258e23[_0x1454f3(0x1e8)](_0x17ae7a=>_0x17ae7a[_0x1454f3(0x323)]===_0x1c4909[_0x1454f3(0x588)]['SHOULD_CLOSE_CONN']),_0x258e23['takeUntil'](this['dispose$']))['subscribe'](_0x1b90f4=>{const _0x5dc59a=_0x1454f3,_0x2e90ec=_0x1b90f4,{reason:_0x28b502}=_0x2e90ec[_0x5dc59a(0x3a1)];this[_0x5dc59a(0x574)][_0x5dc59a(0x3fd)](_0x247dcf['IMessageService'])[_0x5dc59a(0x5f4)]({'type':_0x52328b['MessageType'][_0x5dc59a(0x1f8)],'content':this[_0x5dc59a(0x3d3)]['t'](_0x5dc59a(0x67c))+'('+_0x28b502+')'}),this[_0x5dc59a(0x1cf)][_0x5dc59a(0x543)](new _0x371d26['WorkbookEditablePermission'](_0x3626fb)['id'],!0x1),this[_0x5dc59a(0x452)][_0x5dc59a(0x55d)](_0x3626fb);});};_0x605d86[_0x5e8f89(0x2fd)](this[_0x5e8f89(0x443)][_0x5e8f89(0x648)](_0x4d1a65[_0x5e8f89(0x251)][_0x5e8f89(0x383)]),this[_0x5e8f89(0x443)]['getTypeOfUnitAdded$'](_0x4d1a65[_0x5e8f89(0x251)][_0x5e8f89(0x60b)]))['pipe'](_0x258e23[_0x5e8f89(0x3fc)](_0x2632a6=>_0x2632a6[_0x5e8f89(0x4bd)]()),_0x258e23[_0x5e8f89(0x1e8)](_0x98f72b=>!_0x4d1a65[_0x5e8f89(0x269)](_0x98f72b)),_0x258e23[_0x5e8f89(0x4d9)](this[_0x5e8f89(0x3ee)]))[_0x5e8f89(0x60e)](_0x2023a3=>{_0x8963a5(_0x2023a3);});}['_initUnitPermissionChange'](){const _0x30c49f=_0x2ed730,_0x5573a5=async _0x57fd63=>{const _0x3ca563=_0x3f6c;(await this[_0x3ca563(0x452)][_0x3ca563(0x430)](_0x57fd63))[_0x3ca563(0x325)][_0x3ca563(0x661)](_0x258e23[_0x3ca563(0x1e8)](_0x57c0d6=>_0x57c0d6['eventID']===_0x1c4909[_0x3ca563(0x588)][_0x3ca563(0x3a3)]),_0x258e23[_0x3ca563(0x4d9)](this[_0x3ca563(0x3ee)]))[_0x3ca563(0x60e)](_0x153f17=>{const _0x3d63d8=_0x3ca563,_0xd431c1=_0x153f17,{objectId:_0x2f188c}=_0xd431c1[_0x3d63d8(0x3a1)],_0x6ef576=this[_0x3d63d8(0x574)][_0x3d63d8(0x3fd)](_0x393b66['SheetPermissionInitController']);_0x2f188c===_0x57fd63?_0x6ef576[_0x3d63d8(0x223)](_0x57fd63):_0x6ef576[_0x3d63d8(0x401)](_0x57fd63,_0x2f188c);});};_0x605d86['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4d1a65[_0x30c49f(0x251)]['UNIVER_SHEET']),this[_0x30c49f(0x443)][_0x30c49f(0x648)](_0x4d1a65[_0x30c49f(0x251)][_0x30c49f(0x60b)]))[_0x30c49f(0x661)](_0x258e23[_0x30c49f(0x3fc)](_0xa20dd5=>_0xa20dd5[_0x30c49f(0x4bd)]()),_0x258e23[_0x30c49f(0x1e8)](_0x279c06=>!_0x4d1a65[_0x30c49f(0x269)](_0x279c06)),_0x258e23[_0x30c49f(0x4d9)](this[_0x30c49f(0x3ee)]))[_0x30c49f(0x60e)](_0x37b9ae=>{_0x5573a5(_0x37b9ae);});}};_0x321539=_0x2df682([_0x834d92(0x0,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x834d92(0x1,_0x4d1a65[_0x2ed730(0x312)]),_0x834d92(0x2,_0x4d1a65[_0x2ed730(0x420)]),_0x834d92(0x3,_0x4d1a65[_0x2ed730(0x436)](_0x20c240['CollaborationSessionService'])),_0x834d92(0x4,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x353)]))],_0x321539);var _0x59aaf2=Object[_0x2ed730(0x4ff)],_0x239011=Object[_0x2ed730(0x2c1)],_0x94e999=(_0x425ffb,_0x19a382,_0x114023,_0x25c7dc)=>{const _0x485645=_0x2ed730;for(var _0x44d4cd=_0x25c7dc>0x1?void 0x0:_0x25c7dc?_0x239011(_0x19a382,_0x114023):_0x19a382,_0x7feb93=_0x425ffb[_0x485645(0x465)]-0x1,_0x1d83da;_0x7feb93>=0x0;_0x7feb93--)(_0x1d83da=_0x425ffb[_0x7feb93])&&(_0x44d4cd=(_0x25c7dc?_0x1d83da(_0x19a382,_0x114023,_0x44d4cd):_0x1d83da(_0x44d4cd))||_0x44d4cd);return _0x25c7dc&&_0x44d4cd&&_0x59aaf2(_0x19a382,_0x114023,_0x44d4cd),_0x44d4cd;},_0xc9e7d1=(_0x314e05,_0x3aad23)=>(_0x2bbd49,_0x5a36fb)=>_0x3aad23(_0x2bbd49,_0x5a36fb,_0x314e05);_0x20c240[_0x2ed730(0x211)]=class{constructor(_0x5a3024,_0x2e7dbf){const _0x547b02=_0x2ed730;this[_0x547b02(0x366)]=_0x5a3024,this[_0x547b02(0x35d)]=_0x2e7dbf;}async['getUnitOnRev'](_0x247bc9,_0x505633){const _0x44ae77=_0x2ed730;var _0x860444;const {unitID:_0x39c0c8,type:_0x2a8ce6,revision:_0x1f3e52=0x0}=_0x505633,_0x4263df=this[_0x44ae77(0x5f2)]()+'/'+_0x2a8ce6+'/unit/'+_0x39c0c8+_0x44ae77(0x2b9)+_0x1f3e52,_0x5afa55=(await this[_0x44ae77(0x35d)][_0x44ae77(0x3fd)](_0x4263df))['body'],_0x5b9910=(_0x860444=_0x5afa55[_0x44ae77(0x344)])==null?void 0x0:_0x860444['workbook'];if(_0x5b9910){const _0x5637c6=_0x5b9910==null?void 0x0:_0x5b9910[_0x44ae77(0x619)],_0x5a033e=_0x1c4909[_0x44ae77(0x56e)]['encode'](_0x1c4909['b64DecodeUnicode'](_0x5637c6));_0x5b9910[_0x44ae77(0x619)]=_0x5a033e,Object[_0x44ae77(0x408)](_0x5b9910[_0x44ae77(0x237)])[_0x44ae77(0x587)](([,_0x2b13b7])=>{const _0x2f0196=_0x44ae77,_0x48ee8e=_0x2b13b7[_0x2f0196(0x619)],_0x33cb7e=_0x1c4909[_0x2f0196(0x56e)][_0x2f0196(0x265)](_0x1c4909['b64DecodeUnicode'](_0x48ee8e));_0x2b13b7[_0x2f0196(0x619)]=_0x33cb7e;});}return _0x5afa55;}async[_0x2ed730(0x50f)](_0x4f9c11,_0x1d34ad){const _0x53d911=_0x2ed730,{unitID:_0x5e64df,type:_0x5b1eed,blockID:_0x5cb267}=_0x1d34ad,_0xa06cc7=this[_0x53d911(0x5fb)]()+'/'+_0x5b1eed+_0x53d911(0x1f2)+_0x5e64df+_0x53d911(0x3e4)+_0x5cb267;return(await this[_0x53d911(0x35d)]['get'](_0xa06cc7))[_0x53d911(0x209)];}async[_0x2ed730(0x21f)](_0x48b38f,_0x144322){const _0x36284f=_0x2ed730,{unitID:_0x430b65,type:_0x2f1607,blockID:_0x273b49}=_0x144322,_0x47c808=this[_0x36284f(0x5fb)]()+_0x36284f(0x3e4)+_0x2f1607+_0x36284f(0x1f2)+_0x430b65+_0x36284f(0x3e4)+_0x273b49;return(await this[_0x36284f(0x35d)][_0x36284f(0x3fd)](_0x47c808))[_0x36284f(0x209)];}async[_0x2ed730(0x36f)](_0x48dd6f,_0x2c515b){const _0xae173c=_0x2ed730,{unitID:_0x2e5460,type:_0x21ca33,from:_0x19cc90,to:_0x11e36f}=_0x2c515b,_0x44dce1=this['_getAPIPrefix']()+'/'+_0x21ca33+'/unit/'+_0x2e5460+_0xae173c(0x2da)+_0x19cc90+'&to='+_0x11e36f;return(await this['_httpService'][_0xae173c(0x3fd)](_0x44dce1))[_0xae173c(0x209)];}[_0x2ed730(0x5f2)](){const _0x5b099e=_0x2ed730;var _0x5aa0d6;return(_0x5aa0d6=this[_0x5b099e(0x366)]['getConfig'](_0x4c5f9e))!=null?_0x5aa0d6:this[_0x5b099e(0x5fb)]();}[_0x2ed730(0x5fb)](){const _0xa567aa=_0x2ed730;var _0x105ecc,_0x3ef5b7;const _0x3f61ed=this[_0xa567aa(0x366)][_0xa567aa(0x539)](_0x83a653),_0x2032fe=this[_0xa567aa(0x366)][_0xa567aa(0x539)](_0x1f4f80);return(_0x3ef5b7=(_0x105ecc=_0x2032fe==null?void 0x0:_0x2032fe[_0xa567aa(0x4ba)])!=null?_0x105ecc:_0x3f61ed)!=null?_0x3ef5b7:_0x8beff2;}async[_0x2ed730(0x2ac)](_0x4abed0,_0x2e417f){const _0x5682aa=_0x2ed730,_0x44c1ed='/universer-api/snapshot/'+_0x2e417f['type']+_0x5682aa(0x1f2)+_0x2e417f['unitID']+_0x5682aa(0x3f8);return(await this[_0x5682aa(0x35d)][_0x5682aa(0x3fd)](_0x44c1ed,{'params':{'resourceId':JSON[_0x5682aa(0x541)](_0x2e417f['resourceIDs'])}}))[_0x5682aa(0x209)];}['saveSnapshot'](){const _0x260e02=_0x2ed730;throw new Error(_0x260e02(0x47f));}[_0x2ed730(0x23e)](){const _0xb20dc8=_0x2ed730;throw new Error(_0xb20dc8(0x47f));}['saveChangeset'](){const _0x3dff48=_0x2ed730;throw new Error(_0x3dff48(0x47f));}['copyFileMeta'](){const _0x150c40=_0x2ed730;throw new Error(_0x150c40(0x47f));}[_0x2ed730(0x5be)](){const _0x1c5415=_0x2ed730;throw new Error(_0x1c5415(0x47f));}},_0x20c240[_0x2ed730(0x211)]=_0x94e999([_0xc9e7d1(0x0,_0x4d1a65[_0x2ed730(0x28a)]),_0xc9e7d1(0x1,_0x4d1a65['Inject'](_0x4ccb02[_0x2ed730(0x659)]))],_0x20c240['SnapshotServerOverHTTPService']);var _0x4f279e=Object[_0x2ed730(0x4ff)],_0x2bf4ab=Object[_0x2ed730(0x2c1)],_0x3f9559=(_0x57eb3a,_0x76f31b,_0x2455d5,_0x578ddc)=>{for(var _0x1a179d=_0x578ddc>0x1?void 0x0:_0x578ddc?_0x2bf4ab(_0x76f31b,_0x2455d5):_0x76f31b,_0x5e6ef7=_0x57eb3a['length']-0x1,_0x448b27;_0x5e6ef7>=0x0;_0x5e6ef7--)(_0x448b27=_0x57eb3a[_0x5e6ef7])&&(_0x1a179d=(_0x578ddc?_0x448b27(_0x76f31b,_0x2455d5,_0x1a179d):_0x448b27(_0x1a179d))||_0x1a179d);return _0x578ddc&&_0x1a179d&&_0x4f279e(_0x76f31b,_0x2455d5,_0x1a179d),_0x1a179d;},_0x3cfef9=(_0x5060bb,_0x38f81d)=>(_0x24482b,_0x4ab8c6)=>_0x38f81d(_0x24482b,_0x4ab8c6,_0x5060bb);let _0x8530e6=class extends _0x4d1a65[_0x2ed730(0x25d)]{constructor(_0x23f8ea,_0x5b04c6,_0x1f8ba7,_0x217aa0,_0x381d38){const _0x142e66=_0x2ed730;super(_0x23f8ea,_0x5b04c6,_0x1f8ba7),this[_0x142e66(0x404)]=_0x217aa0,this[_0x142e66(0x26b)]=_0x381d38;}[_0x2ed730(0x653)](_0x22cee9,_0x39e1de){const _0x4a1328=_0x2ed730,_0x358f70=this[_0x4a1328(0x59f)](_0x22cee9);if(_0x358f70)try{const _0x2d6877=this[_0x4a1328(0x696)](_0x358f70,_0x39e1de);this['_substituteUndoStack'](_0x22cee9,_0x2d6877);}catch(_0x12927f){this[_0x4a1328(0x26b)]['error'](_0x4a1328(0x60c),_0x12927f),this[_0x4a1328(0x492)](_0x22cee9);}const _0x498fcb=this[_0x4a1328(0x2c8)](_0x22cee9);if(_0x498fcb)try{const _0x3c4ea2=this[_0x4a1328(0x696)](_0x498fcb,_0x39e1de);this[_0x4a1328(0x3f9)](_0x22cee9,_0x3c4ea2);}catch(_0x283e1c){this[_0x4a1328(0x26b)][_0x4a1328(0x4c3)](_0x283e1c),this[_0x4a1328(0x460)](_0x22cee9);}}[_0x2ed730(0x492)](_0x568554){const _0x20de86=_0x2ed730,_0x2769d6=this[_0x20de86(0x59f)](_0x568554);_0x2769d6&&(_0x2769d6[_0x20de86(0x465)]=0x0,this[_0x20de86(0x4ec)]());}['_clearRedo'](_0x5027c6){const _0x5a617f=_0x2ed730,_0x498259=this['_getRedoStack'](_0x5027c6);_0x498259&&(_0x498259[_0x5a617f(0x465)]=0x0,this[_0x5a617f(0x4ec)]());}['_substituteUndoStack'](_0x43394d,_0x5f4015){const _0x15949e=_0x2ed730;this[_0x15949e(0x29d)]['set'](_0x43394d,_0x5f4015),this[_0x15949e(0x4ec)]();}[_0x2ed730(0x3f9)](_0x341748,_0x37baac){const _0x1c7a70=_0x2ed730;this[_0x1c7a70(0x317)][_0x1c7a70(0x576)](_0x341748,_0x37baac),this[_0x1c7a70(0x4ec)]();}[_0x2ed730(0x696)](_0x5a540a,_0x115b58){const _0xde6173=_0x2ed730,_0x18cc6e=[];let _0x605a64=_0x115b58,_0x44a1e4=_0x115b58;for(let _0x387020=_0x5a540a[_0xde6173(0x465)]-0x1;_0x387020>=0x0;_0x387020--){const {unitID:_0x19b545,undoMutations:_0x2f85f9,redoMutations:_0x28a613}=_0x5a540a[_0x387020],_0x5c78d4=this['_transformService'][_0xde6173(0x40b)](_0x605a64,_0x2f85f9),_0x3d2a4a=this[_0xde6173(0x404)]['transformMutationsWithChangeset'](_0x44a1e4,_0x28a613);if(_0x1c4909[_0xde6173(0x217)](_0x5c78d4)||_0x1c4909[_0xde6173(0x217)](_0x3d2a4a)){this[_0xde6173(0x26b)][_0xde6173(0x4c3)](_0xde6173(0x60c),'transformStack\x20failed!',_0x5c78d4,_0x3d2a4a);break;}_0x605a64=_0x5c78d4[_0xde6173(0x68e)],_0x44a1e4=_0x3d2a4a[_0xde6173(0x68e)],_0x18cc6e[_0xde6173(0x4ef)]({'unitID':_0x19b545,'undoMutations':_0x5c78d4[_0xde6173(0x5f1)],'redoMutations':_0x3d2a4a[_0xde6173(0x5f1)]});}return _0x18cc6e[_0xde6173(0x2f3)]();}};_0x8530e6=_0x3f9559([_0x3cfef9(0x0,_0x4d1a65['IUniverInstanceService']),_0x3cfef9(0x1,_0x4d1a65[_0x2ed730(0x38f)]),_0x3cfef9(0x2,_0x4d1a65[_0x2ed730(0x62e)]),_0x3cfef9(0x3,_0x1c4909[_0x2ed730(0x438)]),_0x3cfef9(0x4,_0x4d1a65[_0x2ed730(0x22f)])],_0x8530e6);class _0x5ca21f extends _0x4d1a65['RxDisposable']{constructor(){const _0x6a777d=_0x2ed730;super(),_0x10a616(this,_0x6a777d(0x518)),this['urlChange$']=_0x605d86[_0x6a777d(0x6a0)](window,_0x6a777d(0x3a4))[_0x6a777d(0x661)](_0x605d86['takeUntil'](this[_0x6a777d(0x3ee)]),_0x605d86[_0x6a777d(0x1ef)](0x1),_0x605d86[_0x6a777d(0x372)](void 0x0));}[_0x2ed730(0x527)](_0x3d1fe8,_0x514e8b,_0x3fbb39=!0x1){const _0x2d0eeb=_0x2ed730,_0x274d6c=new URL(window['location'][_0x2d0eeb(0x657)]);_0x274d6c[_0x2d0eeb(0x40d)][_0x2d0eeb(0x576)](_0x3d1fe8,_0x514e8b),_0x3fbb39?window[_0x2d0eeb(0x604)][_0x2d0eeb(0x434)]('','',_0x274d6c[_0x2d0eeb(0x485)]()):window['history'][_0x2d0eeb(0x509)]('','',_0x274d6c[_0x2d0eeb(0x485)]());}[_0x2ed730(0x2ff)](_0x241202,_0x528ab0=!0x1){const _0x4e8cdf=_0x2ed730,_0x29ad58=new URL(window[_0x4e8cdf(0x4a9)][_0x4e8cdf(0x657)]);_0x29ad58['searchParams'][_0x4e8cdf(0x3dc)](_0x241202),_0x528ab0?window['history'][_0x4e8cdf(0x434)]('','',_0x29ad58[_0x4e8cdf(0x485)]()):window[_0x4e8cdf(0x604)][_0x4e8cdf(0x509)]('','',_0x29ad58[_0x4e8cdf(0x485)]());}[_0x2ed730(0x32e)](_0x4ac4de){const _0x1d9aa5=_0x2ed730;var _0x56af85;return(_0x56af85=new URL(window[_0x1d9aa5(0x4a9)][_0x1d9aa5(0x657)])['searchParams']['get'](_0x4ac4de))!=null?_0x56af85:void 0x0;}}var _0x38bd9a=Object[_0x2ed730(0x4ff)],_0x561398=Object[_0x2ed730(0x2c1)],_0x33c383=(_0x52c13f,_0x1e2e21,_0x249b1b)=>_0x1e2e21 in _0x52c13f?_0x38bd9a(_0x52c13f,_0x1e2e21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x249b1b}):_0x52c13f[_0x1e2e21]=_0x249b1b,_0xd65bf8=(_0x5f457e,_0x56fa15,_0x227da5,_0x4f9f82)=>{for(var _0x250fc7=_0x4f9f82>0x1?void 0x0:_0x4f9f82?_0x561398(_0x56fa15,_0x227da5):_0x56fa15,_0xdc6f0f=_0x5f457e['length']-0x1,_0x2a3a0e;_0xdc6f0f>=0x0;_0xdc6f0f--)(_0x2a3a0e=_0x5f457e[_0xdc6f0f])&&(_0x250fc7=(_0x4f9f82?_0x2a3a0e(_0x56fa15,_0x227da5,_0x250fc7):_0x2a3a0e(_0x250fc7))||_0x250fc7);return _0x4f9f82&&_0x250fc7&&_0x38bd9a(_0x56fa15,_0x227da5,_0x250fc7),_0x250fc7;},_0x282b42=(_0xde2f03,_0x365458)=>(_0x32218e,_0x393de1)=>_0x365458(_0x32218e,_0x393de1,_0xde2f03),_0x375f84=(_0xf6fe0e,_0x1740b2,_0x176796)=>_0x33c383(_0xf6fe0e,_0x1740b2+'',_0x176796);const _0x2bb6cd=_0x2ed730(0x61b);_0x20c240[_0x2ed730(0x4fc)]=class extends _0x4d1a65[_0x2ed730(0x26a)]{constructor(_0x5308fb=_0x5067af,_0x3bf759,_0x4c99ee,_0x3fd65d,_0x48a9f4){const _0x3e5747=_0x2ed730;super(),this['_config']=_0x5308fb,this[_0x3e5747(0x26b)]=_0x3bf759,this[_0x3e5747(0x55b)]=_0x4c99ee,this[_0x3e5747(0x574)]=_0x3fd65d,this[_0x3e5747(0x366)]=_0x48a9f4;const {..._0xc39d40}=this['_config'];this[_0x3e5747(0x366)][_0x3e5747(0x2ca)](_0x1f4f80,_0xc39d40);}[_0x2ed730(0x516)](){const _0x59695c=_0x2ed730;this['_registerDependencies'](),this[_0x59695c(0x458)]();}[_0x2ed730(0x5fe)](){const _0x2cb631=_0x2ed730;_0x4d1a65[_0x2cb631(0x239)](this[_0x2cb631(0x574)],[[_0x51f4fd],[_0x40acea]]);}['onRendered'](){const _0x13e231=_0x2ed730;this[_0x13e231(0x52a)]();}[_0x2ed730(0x593)](){const _0x485bd3=_0x2ed730;var _0x397d9f,_0x2b1bf4,_0x4aaf2b,_0x1e1b82;this[_0x485bd3(0x574)][_0x485bd3(0x356)](_0x4d1a65[_0x485bd3(0x649)])&&this['_logService'][_0x485bd3(0x4c3)]('[UniverCollaborationClientPlugin]',_0x485bd3(0x64e));const _0x321564=[[_0x4d1a65[_0x485bd3(0x649)],{'useClass':_0x8530e6}],[_0x20c240[_0x485bd3(0x480)]],[_0x27c8f],[_0x5b9754,{'useClass':_0x5ca21f}],[_0x20c240[_0x485bd3(0x3bd)]],[_0x20c240['LocalCacheService']],[_0x4ccb02[_0x485bd3(0x613)]],[_0x5f1684],[_0x52b1c3],[_0x101d45],[_0xcc4ee4],[_0x4d2573],[_0xedab7f],[_0x22a242],[_0x183101],[_0x321539],[_0x235b38,{'useClass':(_0x2b1bf4=(_0x397d9f=this[_0x485bd3(0x1fa)])==null?void 0x0:_0x397d9f[_0x485bd3(0x2bb)])!=null?_0x2b1bf4:_0x20c240[_0x485bd3(0x5a0)]}],[_0x1c4909[_0x485bd3(0x2d9)],{'useClass':_0x20c240[_0x485bd3(0x211)]}],[_0x4d1a65[_0x485bd3(0x2a5)],{'useClass':_0x20c240['AuthzIoHttpService']}],[_0x4facdd[_0x485bd3(0x58f)],{'useClass':_0x20c240[_0x485bd3(0x58d)]}],[_0x4d1a65['IMentionIOService'],{'useClass':_0x20c240['MentionIoHttpService']}],[_0x20c240[_0x485bd3(0x667)]],[_0x20c240['DataLoaderController']],[_0x20c240['DesktopCollaborationStatusDisplayController']],[_0x51f4fd],[_0x4e6112],[_0x40acea]];(_0x4aaf2b=this[_0x485bd3(0x1fa)])!=null&&_0x4aaf2b[_0x485bd3(0x5ba)]&&_0x321564['push']([_0x1f7abf,{'useClass':_0x29d807}]),_0x4d1a65[_0x485bd3(0x594)](this['_injector'],_0x4d1a65['mergeOverrideWithDependencies'](_0x321564,(_0x1e1b82=this[_0x485bd3(0x1fa)])==null?void 0x0:_0x1e1b82[_0x485bd3(0x3aa)]));}[_0x2ed730(0x52a)](){const _0x3679f9=_0x2ed730;this['disposeWithMe'](this[_0x3679f9(0x55b)][_0x3679f9(0x59d)](_0x4d1a65[_0x3679f9(0x251)][_0x3679f9(0x60b)],[_0x28c269])),this[_0x3679f9(0x225)](this['_renderManagerService'][_0x3679f9(0x59d)](_0x4d1a65[_0x3679f9(0x251)][_0x3679f9(0x383)],[_0x5dc338]));}['_initDependencies'](){const _0x3d786e=_0x2ed730;var _0xea83c1,_0x2bdc69;this['_injector']['get'](_0x4ccb02[_0x3d786e(0x659)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x4ccb02['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0xea83c1=this[_0x3d786e(0x1fa)])!=null&&_0xea83c1['enableOfflineEditing']||this['_injector']['get'](_0x20c240[_0x3d786e(0x5f8)])['disableLocalCache'](),(_0x2bdc69=this['_config'])!=null&&_0x2bdc69['enableAuthServer']&&_0x4d1a65['touchDependencies'](this[_0x3d786e(0x574)],[[_0xedab7f]]),_0x4d1a65['touchDependencies'](this[_0x3d786e(0x574)],[[_0x22a242],[_0x4e6112],[_0x20c240[_0x3d786e(0x5e6)]],[_0x20c240[_0x3d786e(0x667)]],[_0x20c240[_0x3d786e(0x2db)]],[_0x321539]]);}},_0x375f84(_0x20c240[_0x2ed730(0x4fc)],_0x2ed730(0x2c7),_0x2bb6cd),_0x20c240[_0x2ed730(0x4fc)]=_0xd65bf8([_0x4d1a65[_0x2ed730(0x32d)](_0x1c4909[_0x2ed730(0x5b5)],_0x4ccb02[_0x2ed730(0x471)]),_0x282b42(0x1,_0x4d1a65[_0x2ed730(0x22f)]),_0x282b42(0x2,_0x50692e[_0x2ed730(0x257)]),_0x282b42(0x3,_0x4d1a65[_0x2ed730(0x436)](_0x4d1a65[_0x2ed730(0x463)])),_0x282b42(0x4,_0x4d1a65[_0x2ed730(0x28a)])],_0x20c240['UniverCollaborationClientPlugin']),_0x20c240[_0x2ed730(0x682)]=_0xdb0aed,_0x20c240[_0x2ed730(0x288)]=_0x1f4f80,_0x20c240['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x1839cb,_0x20c240[_0x2ed730(0x42c)]=_0x2f8674,_0x20c240['CollaborationStatus']=_0x35a0b3,_0x20c240[_0x2ed730(0x641)]=_0x76af3d,_0x20c240[_0x2ed730(0x5df)]=_0x183101,_0x20c240[_0x2ed730(0x699)]=_0x5adefd,_0x20c240[_0x2ed730(0x306)]=_0x302219,_0x20c240[_0x2ed730(0x580)]=_0x235b38,_0x20c240[_0x2ed730(0x477)]=_0x5b9754,_0x20c240[_0x2ed730(0x2eb)]=_0x57a927,_0x20c240[_0x2ed730(0x3f6)]=_0x55fa8c,_0x20c240[_0x2ed730(0x1d6)]=_0x147e62,_0x20c240['SEND_CHANGESET_TIMEOUT_KEY']=_0x2dc443,_0x20c240[_0x2ed730(0x2e6)]=_0x83a653,_0x20c240[_0x2ed730(0x467)]=_0x4c5f9e,_0x20c240[_0x2ed730(0x572)]=_0x2a1392,_0x20c240[_0x2ed730(0x1c8)]=_0x1e1831,_0x20c240[_0x2ed730(0x21d)]=_0x5ca21f,_0x20c240[_0x2ed730(0x42b)]=_0x42c08e,_0x20c240[_0x2ed730(0x2d4)]=_0x234916,Object['defineProperty'](_0x20c240,Symbol['toStringTag'],{'value':_0x2ed730(0x49a)});}));function _0x3f6c(_0x21f3a0,_0x31c72b){const _0x2ca08d=_0x2ca0();return _0x3f6c=function(_0x3f6c83,_0x5c9649){_0x3f6c83=_0x3f6c83-0x1c5;let _0x2be7c4=_0x2ca08d[_0x3f6c83];return _0x2be7c4;},_0x3f6c(_0x21f3a0,_0x31c72b);}function _0x2ca0(){const _0x228399=['_setupBeforeClosingHandler','history','method','InsertRowCommandId','FAIL','textRanges','[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.','jiqing500','UNIVER_DOC','[CollaborationUndoRedoService]','putCollaborators','subscribe','c2Prime','off-line-single','UniverProCollaborationClient','rxjs','WebSocketService','_clearTimeoutTimer','getCurrentSelections','APPLY_REVISION_CONFILICT','collab-client.tooltip.reconnect','COLORS','originalMeta','createCollaborator','UNIVER_COLLABORATION_CLIENT_PLUGIN','BASE64','reqId','_retryConnectingTimer','jsxs','Base64','_getMergeRange','enc','RETRY_CONNECTING_MAX_COUNT','JOINING','complete','onlineStatusIcon','image/jpeg','translate(.97)','handleDeleteRangeMoveUp','actions','@univerjs/sheets-ui','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','result','IContextService','UniverIcon','joinRsp','[SyncedState]:\x20received\x20acknowledgement.','cfg','collabStatus.synced','HttpExport','CompressMutationService','_createHmacHelper','registerHTTPInterceptor','_shapes','$super','MUTATION','create','save','LICENSE_MAX_UNITS_EXCEEDED','AWAITING','addImageSourceCache','getRenderById','CollaborationStatusDisplay','EvpKDF','message$','_timeoutTimer','UniverSheets','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','bind','getTypeOfUnitAdded$','IUndoRedoService','docStateChange$','UniverCore','getDocRanges','JOIN_ROOM_NOT_EXISTS','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','assign','react','fill','unsubscribe','transformUndoRedo','#fff','_saveCache','_resendTimeout','href','_sendHeartbeat','HTTPService','_onRefRangeChange','conflict','_beforeCloseService','BufferedBlockAlgorithm','React','_roomMembers','getItem','pipe','startTime','_schedule','@univerjs/telemetry','SerializableCipher','UNIVER_UNKNOWN','CollaborationController','split','ColorKit','_instanceService','_state','_updateState','wsSessionTicketUrl','UniverUi','_telemetryInfo','_uiPartsService','_collaborationController','EmptyMutation','Workbook','_socketMessageSubscription','/universer-api/comb','incrementRevOfUnit','InsertRangeMoveRightCommandId','IDLE','take','_transitionLocked','min','collaboration.closeRoom','socket$','_doReset','HEARTBEAT_TIMEOUT','debounceTime','PSEUDO_FETCH_MISSING_RESULT','AUTHZ_URL_KEY','hide','throttleTime','BlockCipher','_tryReconnect','_unitID','_listenToOnlineEvent','range','registerComponent','_socket','_docStateChangeManagerService','TEXT','c1Prime','resize','FromArray','_updateURLWithCurrentState','addObjects','getUnitType','Undefined','uploadFileServerUrl','_transformStack','...','YUUMI_RATE_OVER_LIMIT','HEARTBEAT_INTERVAL_KEY','_send','_init','setTimeout','onCommentUpdate','fetchMiss','JOIN_ROOM_FULL','fromEvent','_onConflict','DOC_RANGE_TYPE','_removeClearOtherTimer','unitId\x20is\x20not\x20found','setInterval','@univerjs/core','distinctUntilChanged','_DEC_XFORM_MODE','RxDisposable','objectID','{fileID}','hasOwnProperty','_loadDoc','IMessageService','SheetCollabCursorShape','isActive','decrypt','SnapshotService','LIVESHARE_TERMINATE','awaitingChangeset','1em','_permissionService','ERROR_EXCEED_SIZE','div','@univerjs-pro/collaboration','addClipboardHook','Shape','SHEET_VIEWPORT_KEY','RETRY_CONNECTING_MAX_COUNT_KEY','subunit','parseChangesetToProtocol','_checkMissing','HmacMD5','title','_eventUnsubscribe','onSendChangeset','_replayCachedMutations','YUUMI_SUBSCRIPTION_NOT_FOUND','members','_syncEditingCollabCursor','MentionIoHttpService','32KomqVb','roomMembers','encryptBlock','subUnitId','_userManagerService','filter','Cipher','getImageSourceCache','APPLY_DUPLICATED','_unitStatus','TOO_MANY_REQUESTS','univer-online','shareReplay','clearInterval','285015tYgALc','/unit/','getCollabEntity$','_initStatusListener','conflict.title','_lockTransition','Univer','Error','_createSocket','_config','send','updatePermissionObjEvent','ReplaySubject','subscribeEvent','parseProtocolChangeset','unshift','YUUMI_URL_COL_OUT_OF_RANGE','registerRefRange','defaultProps','finalize','collabSubmitChangesetUrl','_undoRedoService','LIVESHARE_REQUEST_HOST','json','body','_session','gold400','_initUnitPermissionChange','_drawRectRange','_createSocketURL','_acknowledgedAwaitingChangeset','ENSURE_SNAPSHOT_EXECUTION','SnapshotServerOverHTTPService','session.collaboration-timeout','getTypeOfUnitDisposed$','_notificationService','\x20to\x20','/universer-api/oidc/authpage','isTransformMutationsWithChangesetFailure','_initEventListeners','_syncEditingCollabCursorService','SheetsSelectionsService','find','TEXT_RANGE_LAYER_INDEX','WebURLService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getDeserializedSheetBlock','_type','padding','_cipher','initWorkbookPermissionChange','_commandService','disposeWithMe','_initResize','_socketService','getCurrentUser','Base','cursorInfo$','fromCharCode','_replaceFileID','INTERNAL_ERROR','_imageIoService','ILogService','splice','csRejEvent','_removeRoom','unit','mode','iterations','switchMap','sheets','_isPermissionRej','touchDependencies','floor','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UNRECOGNIZED','@univerjs/drawing','saveSheetBlock','_collaborationTimeoutTimer','setWaitCount','getRangePointData','_submitChangeset','getViewport','_exhaustRemoteChangesetQueue','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','put','collabStatus.fetchMiss','_changesetReqId','COLLAB_SUBMIT_CHANGESET_URL','[PendingState]:\x20received\x20acknowledgement.','_getCurrentRevision','clear','_changesetSessionId','react.element','6ETFglG','moveTo','UniverInstanceType','SHA1','cursorInfo','_hash','isArray','INGEST','IRenderManagerService','CONNECTOR_DATA_TOO_LARGE','_fetchMissChangesets','_onUserLeave','[CollaborationState]:\x20apply\x20error!','combineLatest','LocalUndoRedoService','_snapshotService','_loadSheet','_event$','LEAVE','flatMap','IDocClipboardService','collaboration_new_changeset','encode','_collaborationPaused','collab-text-anchor-','handleInsertRow','isInternalEditorID','Plugin','_logService','onMouseMove','_scheduleCollaborationTimeoutTimer','catch','@univerjs/network','_resendTimer','getCoordByCell','_hideTimer','deserializeRangeWithSheet','reject','getCollabCursors$','_ensureSubject','rxjs/operators','_compressMutationService','getValue','listRoles','_initMergeInterceptor','UniverDrawing','confirm','_getSendChangesetTimeout','FileId','_nDataBytes','ITelemetryService','storage','all','_onCursorDelete','_applyRemoteChangeset','univer-online-status-icon','off-line-single_clip0_910_343','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_range','IConfigService','ONLINE','rgba(255,\x20255,\x20255,\x200.01)','univer-pro.collaboration-client-socket-service','createDecryptor','getCellPositionByOffset','colorChannel1','_listenToOfflineEvent','toggleOffline','Pkcs7','size','pauseCollaboration','261238qxOiRH','getVpScrollXYInfoByPosToVp','NOT_FOUND','awaiting_with_pending','key','MSG_FOR_ERROR','LIVESHARE_FETCH_OPERATIONS','_undoStacks','liveShareOperation','top','_handleEvent','WordArray','online','getCurrentRevOfUnit','socket\x20close','IAuthzIoService','OFFLINE','_socket$','_invKeySchedule','session.will-retry','_transformPreviousActiveRange','getUndoRedoMutationParamsCache','getResourcesRequest','useCallback','OffLineSingle','OTHER_CLIENTS_EDITING','_entities','application/json','getSkeleton','close','_toggleOnline','random','_createHelper','ImageSourceType','sigBytes','/rev/','lib','socketService','getMember','RefRangeService','restore','number','_entityInit$','getOwnPropertyDescriptor','_render','m1Prime','LICENSE_DISTRO_REJECTED','_docTransformIMECacheService','extend','pluginName','_getRedoStack','HEADER_MENU','setConfig','_transformRemoteChangesetByIMECache','_rescheduleHeartbeat','infoRsp','Tooltip','isTransformMutationsWithChangesetSuccess','telemetry\x20info\x20is\x20not\x20initialized','_scene','charCodeAt','156174dnAPFc','serializeCombRequest','_docTransformSelectionsService','collabCursorState$','_handler','propertyIsEnumerable','ISnapshotServerService','/fetchmissing?from=','DesktopCollaborationStatusDisplayController','_themeService','removeMember','salt','1980WUksrD','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','UNIVER_PROJECT','_roomMembers$','_selfUnitIDs','_data','_memberService','SNAPSHOT_SERVER_URL_KEY','_retryCount','USERS_LEAVE','commentUpdate$','_onRemoteACK','LOCAL_CACHE_INTERVAL_KEY','SetTextSelectionsOperation','on-line-single_clip0_910_349','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_decreaseWaiting','@univerjs/ui','svg','setShowComponents','reverse','[FetchMissState]','transformSelections','_onRemoteChangeset','_state$','not_collab','getActiveSheet','_hover','Subject','column','merge','Unknown\x20user','removeParam','createElement','getOwnPropertySymbols','_sheetTransformSelectionsService','_transformHistoryAndStateStack','roomMembers$','/new_changes','HEARTBEAT_TIMEOUT_KEY','_mode','executeCommand','skeleton','onTransformSelections','getAllMembers','charAt','_iKey','collabStatus.conflict','debounce','_scheduleHeartbeat','roles','IUniverInstanceService','onRemoteRej','_parse','x-univer-host','headers','_redoStacks','downloadEndpointUrl','[OfflineState]:\x20received\x20rejection.','Utf8','visibilityState','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','sessionStatus','call','\x20in\x20_schedule.','patch','_colorIndex','_textBubble','eventID','file','event$','keySize','objectActions','object','onlineStatus','_handleHeartbeatEvent','loadOfflineData','_setupSubUnitSync','DependentOn','getParam','[CollaborationSessionService]:\x20socket\x20error','crypto','?url=','APPLY_NON_SEQUENTIAL_REVISION','permissionRejEvent','_snapshotServerService','listCollaborators','CHANGESET_SHOULD_RETRY','_socketReady','_onFetchMissResult','visibilitychange','_assignedColors','_disabled','csAckEvent','path','/allowed','getWorkbookSelections','ref','sendChangesetTimeout','name','People','snapshot','saveOfflineData','deepClone','blockSize','list','AWAITING_WITH_PENDING','onCommandExecuted','Decryptor','_onLocalMutation','_telemetryService','/universer-api/stream/file/upload','_sessions','SNAPSHOT_INVALID_SNAPSHOT','ciphertext','createSocket','LocaleService','isEditing','_scheduleClearOtherTimer','has','collaboration-client.offline-data-not-saved','session','_stopTelemetryCollaborationNewChangeset','@univerjs/sheets','_minBufferSize','Hasher','_httpService','labelPosition','CHANGESET_REVISION_CONFILICT','UniverProCollaboration','ERROR_IMAGE_TYPE','UniverDesign','sessionStatus$','_hovered','_pendingMutations','_configService','_initRequestHeader','dispose','addEventListener','_transformIMECache','collaboration.single-unit.warning','session.connection-failed','params','withCredentials','fetchMissingChangesets','status','indexOf','mapTo','startRow','_change$','IBeforeCloseService','_context','undoState','url(#off-line-single_clip0_910_343)','MentionType','requestParams','EffectRefRangId','sheetId','_scheduleTimestamp','APPLY_REJECT','ivSize','ReactCurrentOwner','origin','_clearHeartbeatTimer','UNIVER_SHEET','xlink:href','sheetID','forwardRef','objectType','red300','src','univer-offline','collaborators','JOIN_ROOM_PERMISSION_DENIED','RichTextEditingMutation','whenReady','ICommandService','ImageUploadStatusType','LICENSE_EXPORT_SIZE_EXCEEDED','_throwTelemetryCollaborationNewChangeset','HEARTBEAT','&source=','permission.title','CollaborationSession','_color','localeService','_updateLocalCache','getUnitStatus$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','InsertRangeMoveDownCommandId','concatMap','color','interceptor','roomInfos','data','_append','UPDATE_PERMISSION_OBJ','popstate','_clearScheduledTask','CONFLICT','UNIVER_SLIDE','then','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','override','JOIN','createEncryptor','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','randomUUID','byteLength','doc.mutation.rich-text-editing','updateOfflineData','fillRule','resend','CommandType','_cursorShapes','NO_OTHER_CLIENTS_EDITING','commentUpdateEvent','exports','onlineStatusTitle','imageSourceType','HmacSHA1','_nRounds','MemberService','_backgroundColor','_cursorInfo$','compute','execute','UniverDocs','collaMsg','onPointerMove$','onTransformRemoteChangesetByIMECache','deleteCollaborator','_lastPointer','[SyncedState]:\x20received\x20rejection.','_awaitingChangeset','pending','addObject','_initCommandExecutedListener','shouldCloseConn','COLLAB_WEB_SOCKET_URL','getSheetId','makeDirty','_onCombEvent','_getDownloadEndpointURL','_localeService','747VNlYEI','_reverseMap','handleDeleteRangeMoveLeft','tag','hasher','_anchor','SHOULD_CLOSE_CONN','_process','delete','UNDEFINED','drawWith','mutations','changesets','on-line-single','registerOnClose','MergeInterceptorFactory','/block/','_colorAssignService','url(#on-line-single_clip0_910_349)','_draw','COMPLETION_FINISHED','_getLoginPath','row','UNKNOWN_CODE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','dispose$','_tryEnsureSocket','DocIMEInputManagerService','apply','handleIRemoveCol','_startDocCollabCursor','_removeCollabCursors','ranges','LOGIN_URL_KEY','parse','/resources','_substituteRedoStack','editingUnit','_cachedData','map','get','subject','MoveRangeCommandId','_online','refreshPermission','DisposableCollection','@univerjs/docs','_transformService','Rect','clipPath','width','entries','currentTheme$','children','transformMutationsWithChangeset','Latin1','searchParams','transformIMECache','transform','_createInitialState','_waitForHeartbeatResponse','_remoteChangesetQueue','bottom','hovered','repeat','40070ECvHij','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateSubUnitFromURLParams','HEARTBEAT_INTERVAL','_heartbeatTimer','buffer','getRoom','_getCtorByUniverType','[DataLoaderController]','_createInitialStateImpl','IPermissionService','current','capture','_disableEditing','black','_doCryptBlock','responseType','0\x200\x2016\x2016','height','fillStyle','HELLO','deserializeToCombResponse','COLLAB_WEB_SOCKET_URL_KEY','PENDING','state','displayName','requireSession','fillText','transformChangesets','@univerjs/engine-render','replaceState','AuthzIoHttpService','Inject','_oKey','ITransformService','_createHandler','_docSyncEditingCollabCursorService','_anchorDot','_onConnectionFailed','_transformStateCache','_onJoinRoomEvent','@univerjs/design','CollaborationEntity','NEW_CHANGESETS','open$','_univerInstanceService','SEND_CHANGESET_TIMEOUT','_initCloseConn','_onUserJoin','UniverSheetsUi','format','SheetCollaborationEntity','_ws','/collaborator','readAsDataURL','sequenceExecute','getStateCache','onload','currentColor','_messageService','_collaborationSessionService','Vector2','_cursor','[OfflineState]:\x20received\x20acknowledgement.','useDependency','_handleJoinEvent','_initDependencies','[CollaborationEntity]','AES','getCurrentUnitForType','offline','univer-pro.collaboration-client.single-active-unit-service','_onRemoteRejected','memberID','_clearRedo','authzUrl','isPermissionRej','Injector','toDisposable','length','_onCursorUpdate','SNAPSHOT_URL_KEY','createIdentifier','UniverEngineFormula','Optional','update','IRemoteInstanceService','RECT','_HTTPService','lineTo','INotificationService','UniverNetworkPlugin','awaiting','_unitOnClients','_revisionService','onPointerEnter$','getTime','IURLService','sessionTicket','url','defIds','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','?size=','_clearCollaborationTimeoutTimer','prototype','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CollaborationSessionService','@univerjs/rpc','_refRangeService','cmd','_keySchedule','toString','_getSaveTimeout','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','image/png','attrs','/universer-api/authz','\x0aCurrent:\x20','CBC','_refreshCollabCursors','RevisionService','PERSON','mapDocumentTypeToUniverType','fromCollab','_clearUndo','SetSelectionsOperation','now','triggerDblclick','loadSheet','RECV','ceil','enableLocalCache','Module','_labelPosition','toRgbString','SetDocZoomRatioOperation','COMPRESS_MUTATION_APPLY','_members','_sessionStatus$','collaboration-session-retry','default','_clearOtherTimers','debug','includes','ALREADY_EXISTS','_iv','delay','location','Fragment','image/gif','Could\x20not\x20dynamically\x20require\x20\x22','state$','code','_sender','MessageType','userID','icon','onSyncEditingCollabCursor','_id','updateMember','mixIn','socket\x20open.','close$','_transformUndoredo','snapshotServerUrl','_shouldReportTelemetry','substring','getUnitId','toLowerCase','Tools','_drawTextRange','randomBytes','slice','error','364518hTAyEA','rev','UNKNOWN_CMD','newCsEvent','_candidateSocket','source','_document','collab-text-range-','UNAUTHENTICATED','_getUploadFileURL','_onConnectionOpen','setAlpha','sid','stopTime','defs','allowed','jsx','NoPadding','_sheetSkeletonManagerService','activeSheet$','reduce','takeUntil','_key','max','COMPRESS_MUTATION_SEND','join','_ENC_XFORM_MODE','setCurrentUser','[CollaborationSession]','ThemeService','INVALID_ARGUMENT','ERROR_IMAGE','_localStorageService','getFocusedUnit','_docTransformStateCacheService','Hex','_executeRemoteChangeset','retryConnectingInterval','objects','Malformed\x20UTF-8\x20data','_updateStatus','clearTimeout','type','push','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','arc','collabWebSocketUrl','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','add','font','unload','_cursors','_waitCount','connection\x20error','Rectangle','YUUMI_UNABLE_LOAD_URL','UniverCollaborationClientPlugin','@univerjs/engine-formula','next','defineProperty','HMAC','collaboratorID','useRef','857472cXYfyT','className','_singleActiveUnitService','string','operators','routeKey','pushState','COMMENT_UPDATE','Encryptor','ticket','permission.content','_commentService','getSheetBlock','/object','_getSheetObject','Disposable','append','init','DEFAULT_FILE_NAME','onStarting','univer-online-status-title','urlChange$','getSheetBySheetId','pad','createInstance','_clearLocalCache','_getAnchorBounding','/role','ACTIVE_UNIT_EVENT_CHANNEL','[PendingState]:\x20received\x20rejection.','MD5','_getSignURL','newValue','JSONX','msCrypto','UniverNetwork','setParam','words','startsWith','_registerRenderDependencies','APPLY_PERMISSION_DENIED','WorkbookEditablePermission','onTransformChange$','0\x200\x2017\x2016','_startSheetCollabCursor','duration','with','transformRemoteChangeset','isTransformMutationFailure','POST','_docSkeletonManagerService','_collabCursorState$','LIVESHARE_OPERATION','measureText','getConfig','_resendWithTimeout','CHANGESET_ACK','_imageSourceCache','LIVESHARE_NEW_HOST','isTransformChangesetsSuccess','onTransformState','session.room-permission-denied','stringify','_doFinalize','updatePermissionPoint','fetching\x20missing\x20changesets\x20from\x20','compose','reset','_unlockTransition','BehaviorSubject','univer-online-status','SUBMIT_CHANGESET','_queuedRemoteChangesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','RemoveColCommandId','/object/','_collabCursorController','_updateCollabCursors','DocSelectionManagerService','_transformRemoteChangesetByStateCache','OpenSSL','byteOffset','baseRev','DocSkeletonManagerService','concat','_getSessionTicket','_getAPIPrefixPath','unknown','_renderManagerService','post','closeSession','appendMutation','_status$','onlyLocal','_incrementRevisionNumber','SNAPSHOT_HAS_BEEN_REMOVED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','SYNCED','PERMISSION_REJ','__creator','getRandomValues','InsertSheetMutation','FETCH_MISSING','readInt32LE','StreamCipher','/-/object/-/batch_allowed','transformStateCache','textEncoder','handleInsertRangeMoveRight','assignAColorForMemberID','kdf','SessionStatus','collabStatus.syncing','_injector','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','set','clamp','unitId','onMissingChangesets','SetWorksheetActivateCommand','syncEditingCollabCursor','values','registerBeforeClose','redoState','_name','ICollaborationSocketService','synced','onPointerLeave$','blue400','equals','action','UnitSnapshot','forEach','CollaborationEvent','function','fetch_missing','@univerjs/docs-ui','findNodePositionByCharIndex','CollabrationImageIoService','currentSkeleton$','IImageIoService','Warning','_onRecvEvent','_docClipboardService','_registerDependencies','registerDependencies','text','21876EvQgwk','ws://127.0.0.1:8000/universer-api/comb/connect','beginPath','encrypt','_collabSessionService','USERS_ENTER','onMissedChangesetFetched','registerRenderModule','_updateLocalCursor','_getUndoStack','CollaborationSocketService','transformMutation','_onOffline','useObservable','UnitEmbedded','generateRandomId','_sendingTimer','onRemoteRetry','\x0aAfter:\x20','asObservable','GLOBAL_ROOMS_CNT_EXCEEDS','auth.needGotoLoginAlert','_prevBlock','unit-cache-','_startCollaboration','_handleLeaveEvent','idSuffix','amd','from','DocCollaborationEntity','selection','UniverCollaborationPlugin','exhaustSavingTask','verdancy600','selections','Error\x20on\x20receiving\x20event','enableSingleActiveInstanceLock','fromEventSubject','_toggleOffline','_doProcessBlock','getLatestCsReqIdBySid','round','_handleHover','failed\x20to\x20apply\x20missed\x20changesets!','[CollaborationSessionService]','LOCAL_CACHE_INTERVAL','getInterceptPoints','status$','getOffsetConfig','UPDATE_CURSOR','IUIPartsService','clone','onRemoteChangeset','closePath','getColor','abs','15QbxSkg','_map','_xformMode','algo','for','revision','_getScale','RegularPolygon','_commentUpdate$','batchAllowed','_onRemoteRetry','HttpImport','NodePositionConvertToRectRange','joinEvent','_sendHeartbeatTimer','_transformUndoRedoStack','setItem','CommentService','\x20-\x20','getRelativeToViewportCoord','endColumn','handleInsertCol','fetchThroughInterceptors','unitID','DataLoaderController','_keyPriorReset','onRemoteAck','_localCacheService','_saveTaskMap','replaceDocRanges','_hasher','NOT_COLLAB','PERMISSION_DENIED','BlockCipherMode','toggleOnline','m2Prime','getSnapshotAPIPath','reconnect','show','setShapeProps','BuiltInUIPart','session.room-cnt-exceeds','LocalCacheService','getMemberID','hostname','_getAPIPrefix','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','LICENSE_IMPORT_SIZE_EXCEEDED','onReady','contains','liveShareNewHost','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_urlService'];_0x2ca0=function(){return _0x228399;};return _0x2ca0();}
|
1
|
+
function _0x1eb4(_0x361275,_0x1e082c){const _0x4ea7de=_0x4ea7();return _0x1eb4=function(_0x1eb4ef,_0x3c8581){_0x1eb4ef=_0x1eb4ef-0x7a;let _0x259988=_0x4ea7de[_0x1eb4ef];return _0x259988;},_0x1eb4(_0x361275,_0x1e082c);}(function(_0x5608a1,_0x3387d4){const _0xe5f23c=_0x1eb4,_0x7a84c2=_0x5608a1();while(!![]){try{const _0x41f2f3=-parseInt(_0xe5f23c(0x313))/0x1+parseInt(_0xe5f23c(0x535))/0x2*(parseInt(_0xe5f23c(0x26d))/0x3)+-parseInt(_0xe5f23c(0x4f3))/0x4*(parseInt(_0xe5f23c(0x467))/0x5)+-parseInt(_0xe5f23c(0x3e3))/0x6*(-parseInt(_0xe5f23c(0x4ab))/0x7)+parseInt(_0xe5f23c(0x4ee))/0x8*(parseInt(_0xe5f23c(0x525))/0x9)+parseInt(_0xe5f23c(0x26a))/0xa+parseInt(_0xe5f23c(0x43c))/0xb*(parseInt(_0xe5f23c(0x529))/0xc);if(_0x41f2f3===_0x3387d4)break;else _0x7a84c2['push'](_0x7a84c2['shift']());}catch(_0x18202c){_0x7a84c2['push'](_0x7a84c2['shift']());}}}(_0x4ea7,0x4e357),function(_0x1c67ed,_0x261a15){const _0x1be2b8=_0x1eb4;typeof exports==_0x1be2b8(0x397)&&typeof module<'u'?_0x261a15(exports,require(_0x1be2b8(0x3af)),require(_0x1be2b8(0x2d7)),require(_0x1be2b8(0x28e)),require(_0x1be2b8(0x17a)),require('@univerjs/network'),require(_0x1be2b8(0x137)),require(_0x1be2b8(0x158)),require(_0x1be2b8(0x1a6)),require(_0x1be2b8(0xfc)),require(_0x1be2b8(0x3f5)),require(_0x1be2b8(0x141)),require(_0x1be2b8(0x2e5)),require(_0x1be2b8(0x2e0)),require(_0x1be2b8(0x2ee)),require(_0x1be2b8(0x278)),require('react'),require(_0x1be2b8(0x173))):typeof define=='function'&&define[_0x1be2b8(0x140)]?define([_0x1be2b8(0x44f),_0x1be2b8(0x3af),_0x1be2b8(0x2d7),'rxjs/operators',_0x1be2b8(0x17a),'@univerjs/network','@univerjs/ui','@univerjs-pro/collaboration',_0x1be2b8(0x1a6),'@univerjs/docs',_0x1be2b8(0x3f5),_0x1be2b8(0x141),'@univerjs/engine-render',_0x1be2b8(0x2e0),_0x1be2b8(0x2ee),_0x1be2b8(0x278),_0x1be2b8(0x408),_0x1be2b8(0x173)],_0x261a15):(_0x1c67ed=typeof globalThis<'u'?globalThis:_0x1c67ed||self,_0x261a15(_0x1c67ed['UniverProCollaborationClient']={},_0x1c67ed[_0x1be2b8(0x2b7)],_0x1c67ed[_0x1be2b8(0x2d7)],_0x1c67ed[_0x1be2b8(0x2d7)]['operators'],_0x1c67ed[_0x1be2b8(0x11b)],_0x1c67ed[_0x1be2b8(0x2a5)],_0x1c67ed[_0x1be2b8(0x1ac)],_0x1c67ed[_0x1be2b8(0x16b)],_0x1c67ed[_0x1be2b8(0x248)],_0x1c67ed[_0x1be2b8(0x164)],_0x1c67ed[_0x1be2b8(0x368)],_0x1c67ed[_0x1be2b8(0x325)],_0x1c67ed[_0x1be2b8(0x12e)],_0x1c67ed['UniverDrawing'],_0x1c67ed[_0x1be2b8(0x2ce)],_0x1c67ed[_0x1be2b8(0x95)],_0x1c67ed[_0x1be2b8(0x478)],_0x1c67ed[_0x1be2b8(0x530)]));}(this,function(_0xe0b603,_0x5d7f39,_0x48eeba,_0x187edc,_0x48ea23,_0x37b388,_0x54c9ff,_0x250718,_0x45a981,_0x4fe995,_0x43dacb,_0x2dcdfa,_0x533483,_0x1435ab,_0x5701a0,_0x57d8cb,_0x437675,_0x188cc5){'use strict';const _0x5c58d9=_0x1eb4;var _0x417859=Object[_0x5c58d9(0xf4)],_0x107f2e=(_0x5b4545,_0x72d0fb,_0x4b128f)=>_0x72d0fb in _0x5b4545?_0x417859(_0x5b4545,_0x72d0fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b128f}):_0x5b4545[_0x72d0fb]=_0x4b128f,_0x171b2f=(_0x433345,_0x6b1ffd,_0x57bd93)=>_0x107f2e(_0x433345,typeof _0x6b1ffd!=_0x5c58d9(0x4b0)?_0x6b1ffd+'':_0x6b1ffd,_0x57bd93);const _0x46c5b5=_0x5c58d9(0x548),_0x13bce5=_0x5c58d9(0x3d3),_0x40521e=_0x5c58d9(0x359),_0x4fff74=_0x5c58d9(0x2af),_0x36dc32=_0x5c58d9(0x311),_0x2175ef=_0x5c58d9(0x2ca),_0x344084='/universer-api/user/session-ticket',_0x204173=_0x5c58d9(0xd4),_0x3e6851=_0x5c58d9(0x2f9),_0x3c43eb=_0x5c58d9(0x204),_0xd04df8=_0x5c58d9(0x293),_0x4979cb=_0x5c58d9(0x2ab),_0x1fd64e=_0x5c58d9(0x3f1),_0x315a97=_0x5c58d9(0x509),_0x46d9d1=_0x5c58d9(0x1b8);var _0x2cf3bb=(_0x13ad36=>(_0x13ad36[_0x13ad36[_0x5c58d9(0x2cf)]=0x0]=_0x5c58d9(0x2cf),_0x13ad36[_0x13ad36['OK']=0x1]='OK',_0x13ad36[_0x13ad36[_0x5c58d9(0x17b)]=0x2]='INTERNAL_ERROR',_0x13ad36[_0x13ad36['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x13ad36[_0x13ad36[_0x5c58d9(0x29e)]=0x4]='NOT_FOUND',_0x13ad36[_0x13ad36[_0x5c58d9(0x46f)]=0x5]=_0x5c58d9(0x46f),_0x13ad36[_0x13ad36[_0x5c58d9(0x10f)]=0x6]=_0x5c58d9(0x10f),_0x13ad36[_0x13ad36['INVALID_ARGUMENT']=0x7]=_0x5c58d9(0x186),_0x13ad36[_0x13ad36[_0x5c58d9(0x505)]=0x8]=_0x5c58d9(0x505),_0x13ad36[_0x13ad36[_0x5c58d9(0x344)]=0x9]=_0x5c58d9(0x344),_0x13ad36[_0x13ad36['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x13ad36[_0x13ad36[_0x5c58d9(0x45a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x13ad36[_0x13ad36[_0x5c58d9(0x504)]=0x1772]=_0x5c58d9(0x504),_0x13ad36[_0x13ad36[_0x5c58d9(0x81)]=0x1773]=_0x5c58d9(0x81),_0x13ad36[_0x13ad36[_0x5c58d9(0xe1)]=0x1b59]='APPLY_REJECT',_0x13ad36[_0x13ad36[_0x5c58d9(0x49b)]=0x1b5a]=_0x5c58d9(0x49b),_0x13ad36[_0x13ad36[_0x5c58d9(0x51f)]=0x1b5b]=_0x5c58d9(0x51f),_0x13ad36[_0x13ad36['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5c58d9(0x1ce),_0x13ad36[_0x13ad36[_0x5c58d9(0x13b)]=0x1b5d]='APPLY_DUPLICATED',_0x13ad36[_0x13ad36['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5c58d9(0x165),_0x13ad36[_0x13ad36['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x13ad36[_0x13ad36[_0x5c58d9(0x1c7)]=0x232a]=_0x5c58d9(0x1c7),_0x13ad36[_0x13ad36[_0x5c58d9(0x480)]=0x232b]=_0x5c58d9(0x480),_0x13ad36[_0x13ad36[_0x5c58d9(0x1d7)]=0x232c]=_0x5c58d9(0x1d7),_0x13ad36[_0x13ad36[_0x5c58d9(0x526)]=0x232d]=_0x5c58d9(0x526),_0x13ad36[_0x13ad36[_0x5c58d9(0x419)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x13ad36[_0x13ad36[_0x5c58d9(0x85)]=0x2712]=_0x5c58d9(0x85),_0x13ad36[_0x13ad36[_0x5c58d9(0x150)]=0x2713]=_0x5c58d9(0x150),_0x13ad36[_0x13ad36['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5c58d9(0x4cf),_0x13ad36[_0x13ad36[_0x5c58d9(0x3ab)]=-0x1]='UNRECOGNIZED',_0x13ad36))(_0x2cf3bb||{}),_0x54490e=(_0x56220e=>(_0x56220e[_0x56220e[_0x5c58d9(0x466)]=0x0]=_0x5c58d9(0x466),_0x56220e[_0x56220e[_0x5c58d9(0x3c8)]=0x1]=_0x5c58d9(0x3c8),_0x56220e[_0x56220e['UNIVER_SHEET']=0x2]=_0x5c58d9(0x3f0),_0x56220e[_0x56220e[_0x5c58d9(0x40c)]=0x3]=_0x5c58d9(0x40c),_0x56220e[_0x56220e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x56220e[_0x56220e[_0x5c58d9(0x3ab)]=-0x1]=_0x5c58d9(0x3ab),_0x56220e))(_0x54490e||{}),_0x1cbcdd=(_0x34fc1c=>(_0x34fc1c[_0x34fc1c[_0x5c58d9(0x117)]=0x0]=_0x5c58d9(0x117),_0x34fc1c[_0x34fc1c[_0x5c58d9(0x3cc)]=0x1]=_0x5c58d9(0x3cc),_0x34fc1c[_0x34fc1c[_0x5c58d9(0x4c1)]=0x2]=_0x5c58d9(0x4c1),_0x34fc1c[_0x34fc1c[_0x5c58d9(0x1ca)]=0x3]=_0x5c58d9(0x1ca),_0x34fc1c[_0x34fc1c[_0x5c58d9(0x3c3)]=0x4]=_0x5c58d9(0x3c3),_0x34fc1c[_0x34fc1c[_0x5c58d9(0x105)]=0x5]=_0x5c58d9(0x105),_0x34fc1c[_0x34fc1c[_0x5c58d9(0x256)]=0x6]=_0x5c58d9(0x256),_0x34fc1c[_0x34fc1c[_0x5c58d9(0x3ab)]=-0x1]=_0x5c58d9(0x3ab),_0x34fc1c))(_0x1cbcdd||{}),_0x28c1e9=(_0x47c3d5=>(_0x47c3d5[_0x47c3d5[_0x5c58d9(0x192)]=0x0]=_0x5c58d9(0x192),_0x47c3d5[_0x47c3d5['OK']=0x1]='OK',_0x47c3d5[_0x47c3d5[_0x5c58d9(0x3e9)]=0x2]=_0x5c58d9(0x3e9),_0x47c3d5[_0x47c3d5[_0x5c58d9(0x108)]=0x3e9]='JOIN_ROOM_FULL',_0x47c3d5[_0x47c3d5[_0x5c58d9(0x2dd)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x47c3d5[_0x47c3d5[_0x5c58d9(0x220)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x47c3d5[_0x47c3d5[_0x5c58d9(0xba)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x47c3d5[_0x47c3d5['UNRECOGNIZED']=-0x1]=_0x5c58d9(0x3ab),_0x47c3d5))(_0x28c1e9||{}),_0x5cd602=(_0x21a606=>(_0x21a606[_0x21a606[_0x5c58d9(0x1aa)]=0x0]=_0x5c58d9(0x1aa),_0x21a606[_0x21a606[_0x5c58d9(0x481)]=0x1]='HttpImport',_0x21a606[_0x21a606[_0x5c58d9(0x3dc)]=0x2]=_0x5c58d9(0x3dc),_0x21a606[_0x21a606[_0x5c58d9(0x3e1)]=0x3]='UnitEmbedded',_0x21a606[_0x21a606[_0x5c58d9(0x3ba)]=0x4]=_0x5c58d9(0x3ba),_0x21a606[_0x21a606[_0x5c58d9(0x3ab)]=-0x1]='UNRECOGNIZED',_0x21a606))(_0x5cd602||{});const _0x14626f=_0x5c58d9(0x37a),_0x4984d6={};function _0x23caee(_0x4b60a9){const _0x595f30=_0x5c58d9;var _0x2e48d4,_0x130c33,_0x3f0107,_0x3f1c41,_0x27d5c3;const _0x5993bc=_0x4b60a9[_0x595f30(0x387)],_0x53ef91=JSON['parse'](_0x5993bc);switch(_0x53ef91[_0x595f30(0x47e)]){case _0x1cbcdd[_0x595f30(0x105)]:case _0x1cbcdd['HELLO']:{const _0x660bb0=_0x53ef91[_0x595f30(0x4f5)];return{..._0x53ef91,'data':_0x660bb0,'cmd':_0x53ef91[_0x595f30(0x47e)]};}case _0x1cbcdd[_0x595f30(0x4c1)]:{const _0xdb2d37=_0x53ef91[_0x595f30(0x3cd)];return{..._0x53ef91,'data':_0xdb2d37,'cmd':_0x53ef91['cmd']};}case _0x1cbcdd[_0x595f30(0x256)]:{const _0x5b48fa=_0x53ef91[_0x595f30(0x428)];switch(_0x5b48fa['eventID']){case _0x250718['CollaborationEvent'][_0x595f30(0x552)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':(_0x2e48d4=_0x5b48fa[_0x595f30(0x546)])==null?void 0x0:_0x2e48d4['cs']},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)][_0x595f30(0x461)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':(_0x130c33=_0x5b48fa[_0x595f30(0x35d)])==null?void 0x0:_0x130c33['cs']},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)][_0x595f30(0x4e8)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':(_0x3f0107=_0x5b48fa[_0x595f30(0x36b)])==null?void 0x0:_0x3f0107['cs']},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)][_0x595f30(0x3db)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':(_0x3f1c41=_0x5b48fa[_0x595f30(0x2d3)])==null?void 0x0:_0x3f1c41['cs']},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x53ef91,'data':{..._0x5b48fa,'data':(_0x27d5c3=_0x5b48fa[_0x595f30(0x132)])==null?void 0x0:_0x27d5c3['cs']},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)][_0x595f30(0x329)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa[_0x595f30(0x264)]},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)][_0x595f30(0x54f)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa['joinEvent']},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)]['USERS_LEAVE']:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa[_0x595f30(0x182)]},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718['CollaborationEvent'][_0x595f30(0x25f)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa[_0x595f30(0xd5)]},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)]['LIVESHARE_FETCH_OPERATIONS']:case _0x250718[_0x595f30(0x4cb)]['LIVESHARE_OPERATION']:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa[_0x595f30(0x425)]},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)][_0x595f30(0x4a0)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa[_0x595f30(0xd5)]},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718['CollaborationEvent'][_0x595f30(0x4dc)]:return{..._0x53ef91,'data':_0x5b48fa,'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)][_0x595f30(0x232)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa[_0x595f30(0x28b)]},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718[_0x595f30(0x4cb)]['UPDATE_PERMISSION_OBJ']:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa[_0x595f30(0x386)]},'cmd':_0x53ef91[_0x595f30(0x47e)]};case _0x250718['CollaborationEvent'][_0x595f30(0x371)]:return{..._0x53ef91,'data':{..._0x5b48fa,'data':_0x5b48fa[_0x595f30(0x1e8)]},'cmd':_0x53ef91[_0x595f30(0x47e)]};default:return _0x53ef91;}}default:return _0x53ef91;}}function _0x37728e(_0xe168d8){const _0x34198e=_0x5c58d9;switch(_0xe168d8[_0x34198e(0x47e)]){case _0x1cbcdd['HEARTBEAT']:case _0x1cbcdd['HELLO']:return JSON[_0x34198e(0x228)]({'cmd':_0xe168d8['cmd'],'routeKey':_0xe168d8[_0x34198e(0x4c3)]});case _0x1cbcdd[_0x34198e(0x3c3)]:{let _0xb2c380;switch(_0xe168d8[_0x34198e(0x387)]['eventID']){case _0x250718[_0x34198e(0x4cb)][_0x34198e(0x329)]:{_0xb2c380={'eventID':_0x250718[_0x34198e(0x4cb)]['UPDATE_CURSOR'],'updateCursorEvent':_0xe168d8[_0x34198e(0x387)]['data']};break;}case _0x250718[_0x34198e(0x4cb)][_0x34198e(0x1d4)]:{_0xb2c380={'eventID':_0x250718[_0x34198e(0x4cb)][_0x34198e(0x1d4)],'leaveEvent':_0xe168d8[_0x34198e(0x387)][_0x34198e(0x387)]};break;}case _0x250718[_0x34198e(0x4cb)]['USERS_ENTER']:{_0xb2c380={'eventID':_0x250718['CollaborationEvent'][_0x34198e(0x54f)],'joinEvent':_0xe168d8[_0x34198e(0x387)][_0x34198e(0x387)]};break;}case _0x250718[_0x34198e(0x4cb)]['LIVESHARE_NEW_HOST']:{_0xb2c380={'eventID':_0x250718[_0x34198e(0x4cb)][_0x34198e(0x25f)],'liveShareNewHost':_0xe168d8[_0x34198e(0x387)]['data']};break;}case _0x250718[_0x34198e(0x4cb)][_0x34198e(0x269)]:{_0xb2c380={'eventID':_0x250718[_0x34198e(0x4cb)]['LIVESHARE_OPERATION'],'liveShareOperation':_0xe168d8[_0x34198e(0x387)][_0x34198e(0x387)]};break;}case _0x250718['CollaborationEvent'][_0x34198e(0x4a0)]:{_0xb2c380={'eventID':_0x250718[_0x34198e(0x4cb)][_0x34198e(0x4a0)],'liveShareTerminate':_0xe168d8['data']['data']};break;}case _0x250718[_0x34198e(0x4cb)][_0x34198e(0x28d)]:{_0xb2c380={'eventID':_0x250718[_0x34198e(0x4cb)][_0x34198e(0x28d)],'liveShareRequestHost':_0xe168d8[_0x34198e(0x387)]['data']};break;}case _0x250718[_0x34198e(0x4cb)]['LIVESHARE_FETCH_OPERATIONS']:{_0xb2c380={'eventID':_0x250718['CollaborationEvent'][_0x34198e(0x252)]};break;}default:_0xb2c380={'eventID':_0xe168d8[_0x34198e(0x387)][_0x34198e(0x3f3)]};}return JSON[_0x34198e(0x228)]({'cmd':_0xe168d8['cmd'],'routeKey':_0xe168d8['routeKey'],'collaMsg':_0xb2c380});}case _0x1cbcdd[_0x34198e(0x4c1)]:return JSON[_0x34198e(0x228)]({'cmd':_0xe168d8['cmd'],'routeKey':_0xe168d8[_0x34198e(0x4c3)],'joinReq':_0xe168d8[_0x34198e(0x387)]});case _0x1cbcdd[_0x34198e(0x1ca)]:return JSON[_0x34198e(0x228)]({'cmd':_0xe168d8['cmd'],'routeKey':_0xe168d8[_0x34198e(0x4c3)],'leaveReq':_0xe168d8[_0x34198e(0x387)]});default:throw new Error(_0x34198e(0x440));}}var _0x5b3ca8=Object[_0x5c58d9(0xf4)],_0x2a6e92=Object['getOwnPropertyDescriptor'],_0x20ced1=(_0x398e2c,_0x5b4f5a,_0x3cb8e3,_0x15efc1)=>{for(var _0x589c53=_0x15efc1>0x1?void 0x0:_0x15efc1?_0x2a6e92(_0x5b4f5a,_0x3cb8e3):_0x5b4f5a,_0x2a770f=_0x398e2c['length']-0x1,_0x4f15a0;_0x2a770f>=0x0;_0x2a770f--)(_0x4f15a0=_0x398e2c[_0x2a770f])&&(_0x589c53=(_0x15efc1?_0x4f15a0(_0x5b4f5a,_0x3cb8e3,_0x589c53):_0x4f15a0(_0x589c53))||_0x589c53);return _0x15efc1&&_0x589c53&&_0x5b3ca8(_0x5b4f5a,_0x3cb8e3,_0x589c53),_0x589c53;},_0x45d363=(_0x3c6251,_0x27b72b)=>(_0x578280,_0x17a195)=>_0x27b72b(_0x578280,_0x17a195,_0x3c6251);const _0x43e8c6=_0x5d7f39[_0x5c58d9(0x2b6)](_0x5c58d9(0x54c));function _0x122e07(_0x5de617,_0x2c17d5,_0x26892f){const _0x482e45=_0x5c58d9;return _0x5de617+'/'+_0x2c17d5+_0x482e45(0x514)+_0x26892f+_0x482e45(0x27e);}_0xe0b603['CollaborationSocketService']=class extends _0x5d7f39['Disposable']{constructor(_0xd2af17,_0x4849dd,_0x60e4a1,_0x3fd914,_0x11e08d){const _0x4cc22b=_0x5c58d9;super(),this[_0x4cc22b(0x101)]=_0xd2af17,this[_0x4cc22b(0x147)]=_0x4849dd,this['_configService']=_0x60e4a1,this[_0x4cc22b(0x4a8)]=_0x3fd914,this[_0x4cc22b(0x12a)]=_0x11e08d;}[_0x5c58d9(0x54d)](_0x5b1e1c){const _0x4f9534=_0x5c58d9,_0x4b80a8=this[_0x4f9534(0x147)][_0x4f9534(0x54d)](_0x5b1e1c);if(!_0x4b80a8)throw new Error(_0x4f9534(0xbe));const _0x1edec3=new _0x5d7f39[(_0x4f9534(0x342))](),_0x59ef80=new _0x48eeba[(_0x4f9534(0x1d8))]();_0x1edec3[_0x4f9534(0x149)](_0x4b80a8[_0x4f9534(0x323)][_0x4f9534(0x1fd)](_0x132afd=>_0x59ef80[_0x4f9534(0x4fb)](_0x132afd))),_0x1edec3[_0x4f9534(0x149)](_0x5d7f39[_0x4f9534(0x4a3)](()=>_0x59ef80[_0x4f9534(0x20c)]()));const _0x3e93b3=new _0x48eeba[(_0x4f9534(0x1d8))]();_0x1edec3[_0x4f9534(0x149)](_0x4b80a8['error$']['subscribe'](_0x42b2ee=>_0x3e93b3['next'](_0x42b2ee))),_0x1edec3[_0x4f9534(0x149)](_0x5d7f39[_0x4f9534(0x4a3)](()=>_0x3e93b3[_0x4f9534(0x20c)]()));const _0x3e50ab=new _0x48eeba['Subject']();_0x1edec3[_0x4f9534(0x149)](_0x4b80a8[_0x4f9534(0x212)][_0x4f9534(0x1fd)](_0x226115=>{const _0x486e13=_0x4f9534,_0x12b66a=_0x23caee(_0x226115);_0x3e50ab[_0x486e13(0x4fb)](_0x12b66a);})),_0x1edec3[_0x4f9534(0x149)](_0x5d7f39[_0x4f9534(0x4a3)](()=>_0x3e50ab[_0x4f9534(0x20c)]()));let _0x17d8e8;const _0x3c970c=()=>{const _0x48c6f5=_0x4f9534;_0x3e93b3[_0x48c6f5(0x4fb)](new Event(_0x48c6f5(0x32b))),_0x59ef80[_0x48c6f5(0x4fb)](new CloseEvent(_0x48c6f5(0x32b))),_0x17d8e8[_0x48c6f5(0x4ae)]();};return _0x17d8e8={'memberID':'','close$':_0x59ef80[_0x4f9534(0x1e5)](),'error$':_0x3e93b3[_0x4f9534(0x1e5)](),'open$':_0x4b80a8['open$'],'message$':_0x3e50ab[_0x4f9534(0x1e5)](),'send':_0x166886=>{const _0x52d28b=_0x4f9534;if(_0x166886[_0x52d28b(0x47e)]===_0x1cbcdd[_0x52d28b(0x3c3)]){if(_0x166886[_0x52d28b(0x387)][_0x52d28b(0x3f3)]===_0x250718[_0x52d28b(0x4cb)][_0x52d28b(0x131)]){this[_0x52d28b(0x19c)](_0x17d8e8,_0x166886['data'])['catch'](_0x547bbe=>{const _0x36a496=_0x52d28b;this[_0x36a496(0x4a8)][_0x36a496(0x405)](_0x547bbe),_0x3c970c();});return;}if(_0x166886[_0x52d28b(0x387)][_0x52d28b(0x3f3)]===_0x250718[_0x52d28b(0x4cb)][_0x52d28b(0x148)]){const _0x5c6eb4=_0x166886[_0x52d28b(0x387)];this[_0x52d28b(0x4f1)](_0x5c6eb4)[_0x52d28b(0x30d)](_0x17eff8=>{const _0x556695=_0x52d28b;_0x3e50ab[_0x556695(0x4fb)]({'cmd':_0x1cbcdd[_0x556695(0x256)],'code':_0x28c1e9['OK'],'routeKey':_0x5c6eb4[_0x556695(0x387)]['unitID'],'routeType':'','data':{'eventID':_0x250718['CollaborationEvent'][_0x556695(0x556)],'data':{'changesets':_0x17eff8}}});})[_0x52d28b(0x24b)](_0x54aaea=>{const _0x4ee1e4=_0x52d28b;this[_0x4ee1e4(0x4a8)]['error'](_0x54aaea),_0x3c970c();});return;}}_0x4b80a8[_0x52d28b(0x190)](_0x37728e(_0x166886));},'close':()=>{const _0x9d27df=_0x4f9534;_0x4b80a8['close'](),_0x1edec3[_0x9d27df(0x3cf)]();}},_0x17d8e8;}async['_submitChangeset'](_0x506bba,_0x348209){const _0x3be914=_0x5c58d9;var _0x2482c9,_0x46ddb7;const {unitType:_0x19d024,unitID:_0x15564b,changeset:_0x58f756}=_0x348209[_0x3be914(0x387)],_0x46bdfc={'unitID':_0x15564b,'memberID':_0x506bba['memberID'],'type':_0x19d024,'changeset':_0x250718[_0x3be914(0x51c)](_0x58f756)},_0x3159ea=this[_0x3be914(0x7a)]['getConfig'](_0x4979cb),_0x2b4b39=this[_0x3be914(0x7a)][_0x3be914(0x1a0)](_0x14626f),_0xbb37e=_0x122e07((_0x46ddb7=(_0x2482c9=_0x2b4b39==null?void 0x0:_0x2b4b39[_0x3be914(0x25d)])!=null?_0x2482c9:_0x3159ea)!=null?_0x46ddb7:_0x1fd64e,_0x19d024,_0x15564b);try{await this[_0x3be914(0x101)][_0x3be914(0x2fa)](_0xbb37e,{'body':_0x46bdfc});}catch(_0x2d2f02){throw this['_logService'][_0x3be914(0x405)](_0x3be914(0xbd),_0x3be914(0xf2)),_0x2d2f02;}}async[_0x5c58d9(0x4f1)](_0x4b0a1d){const _0x18c93c=_0x5c58d9,{unitID:_0x564fc2,from:_0xd5ed51,to:_0x404fc2,unitType:_0x301cf2}=_0x4b0a1d[_0x18c93c(0x387)];return(await this[_0x18c93c(0x12a)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x564fc2,'type':_0x301cf2,'from':_0xd5ed51,'to':_0x404fc2}))[_0x18c93c(0x4a6)];}},_0xe0b603[_0x5c58d9(0x366)]=_0x20ced1([_0x45d363(0x0,_0x5d7f39[_0x5c58d9(0x3a2)](_0x37b388['HTTPService'])),_0x45d363(0x1,_0x5d7f39[_0x5c58d9(0x3a2)](_0x37b388['WebSocketService'])),_0x45d363(0x2,_0x5d7f39['IConfigService']),_0x45d363(0x3,_0x5d7f39['ILogService']),_0x45d363(0x4,_0x250718[_0x5c58d9(0x3f2)])],_0xe0b603[_0x5c58d9(0x366)]);const _0x2c9a1a=_0x5c58d9(0x28f);function _0xb73a69(_0x517b82){const _0x3468f5=_0x5c58d9;return JSON['stringify'](_0x517b82)[_0x3468f5(0x3d9)];}class _0x785446{constructor(){const _0x3a499d=_0x5c58d9;_0x171b2f(this,_0x3a499d(0x527),new _0x48eeba[(_0x3a499d(0x1d8))]()),_0x171b2f(this,_0x3a499d(0x353),this['_commentUpdate$'][_0x3a499d(0x1e5)]());}[_0x5c58d9(0x21d)](_0x48c9d5){const _0x18881f=_0x5c58d9;this[_0x18881f(0x527)][_0x18881f(0x4fb)](_0x48c9d5);}}var _0x5c2299=Object[_0x5c58d9(0xf4)],_0x43ebeb=Object[_0x5c58d9(0x314)],_0x1bf303=(_0x229e51,_0xfa229d,_0x49e76b,_0x142d7c)=>{const _0x53e87b=_0x5c58d9;for(var _0xcc1f0c=_0x142d7c>0x1?void 0x0:_0x142d7c?_0x43ebeb(_0xfa229d,_0x49e76b):_0xfa229d,_0x5015bc=_0x229e51[_0x53e87b(0x3d9)]-0x1,_0x319ad9;_0x5015bc>=0x0;_0x5015bc--)(_0x319ad9=_0x229e51[_0x5015bc])&&(_0xcc1f0c=(_0x142d7c?_0x319ad9(_0xfa229d,_0x49e76b,_0xcc1f0c):_0x319ad9(_0xcc1f0c))||_0xcc1f0c);return _0x142d7c&&_0xcc1f0c&&_0x5c2299(_0xfa229d,_0x49e76b,_0xcc1f0c),_0xcc1f0c;},_0x31058f=(_0x3cdb6c,_0x35ca06)=>(_0x3c10b5,_0x536806)=>_0x35ca06(_0x3c10b5,_0x536806,_0x3cdb6c);_0xe0b603[_0x5c58d9(0x215)]=class extends _0x5d7f39['Disposable']{constructor(_0x16febd,_0x3b4683){const _0x588bdf=_0x5c58d9;super(),_0x171b2f(this,'_roomMembers',new Map()),(this[_0x588bdf(0x224)]=_0x16febd,this[_0x588bdf(0xfa)]=_0x3b4683,this[_0x588bdf(0x10b)](_0x5d7f39[_0x588bdf(0x4a3)](_0x48eeba['merge'](this[_0x588bdf(0x224)][_0x588bdf(0x19d)](_0x5d7f39[_0x588bdf(0x2cd)]['UNIVER_SHEET'])['pipe'](_0x187edc[_0x588bdf(0x491)](_0x1026ce=>_0x1026ce['getUnitId']())),this[_0x588bdf(0x224)][_0x588bdf(0x19d)](_0x5d7f39['UniverInstanceType'][_0x588bdf(0x3c8)])[_0x588bdf(0x3b0)](_0x187edc['map'](_0x48060f=>_0x48060f[_0x588bdf(0x506)]())),this[_0x588bdf(0x224)][_0x588bdf(0x19d)](_0x5d7f39[_0x588bdf(0x2cd)][_0x588bdf(0x40c)])['pipe'](_0x187edc[_0x588bdf(0x491)](_0x2d18a5=>_0x2d18a5[_0x588bdf(0x506)]())))[_0x588bdf(0x1fd)](_0x50f72a=>this[_0x588bdf(0xb8)](_0x50f72a)))));}['setCurrentUser'](_0x27aca8){const _0x1a5d06=_0x5c58d9;this['_userManagerService'][_0x1a5d06(0xa6)](_0x27aca8);}[_0x5c58d9(0x3de)](){const _0x51392d=_0x5c58d9;return this[_0x51392d(0xfa)][_0x51392d(0x3de)]();}[_0x5c58d9(0x2c3)](_0x2a7dc9,_0x38133f){const _0x10e26c=_0x5c58d9;let _0x4bfeac=this['_roomMembers'][_0x10e26c(0x191)](_0x2a7dc9);_0x4bfeac||(_0x4bfeac=new _0x4ac02a(),this['_roomMembers']['set'](_0x2a7dc9,_0x4bfeac)),_0x4bfeac[_0x10e26c(0x2c3)](_0x38133f);}[_0x5c58d9(0x4d8)](_0x518a4a,_0x2664d0){const _0x28683f=_0x5c58d9,_0x5b5638=this[_0x28683f(0x3b9)][_0x28683f(0x191)](_0x518a4a);_0x5b5638&&_0x5b5638['removeMember'](_0x2664d0);}[_0x5c58d9(0x87)](_0x283ce0){const _0x4a91f7=_0x5c58d9;return this[_0x4a91f7(0x3b9)]['get'](_0x283ce0);}[_0x5c58d9(0x2de)](_0x509d11,_0x47153d){const _0x3432d5=_0x5c58d9,_0x16d47f=this[_0x3432d5(0x3b9)]['get'](_0x509d11);if(_0x16d47f)return _0x16d47f[_0x3432d5(0x2de)](_0x47153d);}['_removeRoom'](_0x2042b4){const _0x11a6e9=_0x5c58d9,_0x5b3b73=this[_0x11a6e9(0x3b9)][_0x11a6e9(0x191)](_0x2042b4);_0x5b3b73&&(_0x5b3b73['dispose'](),this['_roomMembers'][_0x11a6e9(0x183)](_0x2042b4));}[_0x5c58d9(0x3cf)](){const _0x30f4a4=_0x5c58d9;this[_0x30f4a4(0x3b9)][_0x30f4a4(0x418)](_0x4b4ae6=>_0x4b4ae6[_0x30f4a4(0x3cf)]()),this[_0x30f4a4(0x3b9)]['clear']();}},_0xe0b603[_0x5c58d9(0x215)]=_0x1bf303([_0x31058f(0x0,_0x5d7f39['IUniverInstanceService']),_0x31058f(0x1,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x11a)]))],_0xe0b603[_0x5c58d9(0x215)]);class _0x4ac02a extends _0x5d7f39[_0x5c58d9(0x542)]{constructor(){const _0x3939c8=_0x5c58d9;super(...arguments),_0x171b2f(this,_0x3939c8(0x363),new Map());}[_0x5c58d9(0x3cf)](){const _0x2ba3ce=_0x5c58d9;this[_0x2ba3ce(0x363)][_0x2ba3ce(0xb5)]();}[_0x5c58d9(0x2c3)](_0x11ba08){const _0x3a2ab7=_0x5c58d9;this['_members'][_0x3a2ab7(0x335)](_0x11ba08['memberID'],_0x11ba08);}[_0x5c58d9(0x4d8)](_0x4b348b){const _0x1d75f=_0x5c58d9;this[_0x1d75f(0x363)]['delete'](_0x4b348b);}[_0x5c58d9(0x2de)](_0x59399f){const _0x417148=_0x5c58d9;return this[_0x417148(0x363)][_0x417148(0x191)](_0x59399f);}[_0x5c58d9(0x29d)](){const _0x4ecfd2=_0x5c58d9;return Array[_0x4ecfd2(0x30b)](this[_0x4ecfd2(0x363)][_0x4ecfd2(0x1ea)]());}}var _0x5189cc=Object[_0x5c58d9(0xf4)],_0x49f896=Object[_0x5c58d9(0x314)],_0x4a4853=(_0x49b0a8,_0x110d33,_0x507b59,_0x215aa1)=>{const _0x435554=_0x5c58d9;for(var _0x36615f=_0x215aa1>0x1?void 0x0:_0x215aa1?_0x49f896(_0x110d33,_0x507b59):_0x110d33,_0x41f36c=_0x49b0a8[_0x435554(0x3d9)]-0x1,_0x17bb35;_0x41f36c>=0x0;_0x41f36c--)(_0x17bb35=_0x49b0a8[_0x41f36c])&&(_0x36615f=(_0x215aa1?_0x17bb35(_0x110d33,_0x507b59,_0x36615f):_0x17bb35(_0x36615f))||_0x36615f);return _0x215aa1&&_0x36615f&&_0x5189cc(_0x110d33,_0x507b59,_0x36615f),_0x36615f;},_0x2096a7=(_0x5116ff,_0x2c5a5b)=>(_0x3a589d,_0x47dffb)=>_0x2c5a5b(_0x3a589d,_0x47dffb,_0x5116ff),_0x4c9cb6=(_0x7e72a3=>(_0x7e72a3[_0x7e72a3[_0x5c58d9(0x185)]=0x0]='IDLE',_0x7e72a3[_0x7e72a3[_0x5c58d9(0x42a)]=0x1]='JOINING',_0x7e72a3[_0x7e72a3[_0x5c58d9(0x1d6)]=0x2]=_0x5c58d9(0x1d6),_0x7e72a3[_0x7e72a3['ONLINE']=0x3]=_0x5c58d9(0x332),_0x7e72a3))(_0x4c9cb6||{});const _0xe92672={[_0x28c1e9['FAIL']]:_0x5c58d9(0x128),[_0x28c1e9[_0x5c58d9(0x108)]]:_0x5c58d9(0x4d5),[_0x28c1e9[_0x5c58d9(0x2dd)]]:_0x5c58d9(0x14a),[_0x28c1e9['JOIN_ROOM_PERMISSION_DENIED']]:_0x5c58d9(0x315),[_0x28c1e9[_0x5c58d9(0xba)]]:_0x5c58d9(0x2d4)};_0xe0b603[_0x5c58d9(0x257)]=class extends _0x5d7f39['RxDisposable']{constructor(_0xfc6706,_0x42a781,_0x26524c,_0x4083b3,_0x3b6672,_0x44e183,_0x54cad4,_0xb9616d,_0x50b66c,_0x4816f4){const _0x3ea766=_0x5c58d9;super(),_0x171b2f(this,_0x3ea766(0x307),new _0x48eeba[(_0x3ea766(0x1bf))](0x0)),_0x171b2f(this,_0x3ea766(0x2bb),this[_0x3ea766(0x307)]['asObservable']()),_0x171b2f(this,_0x3ea766(0x13d),new _0x48eeba[(_0x3ea766(0x1d8))]()),_0x171b2f(this,_0x3ea766(0x8b),this[_0x3ea766(0x13d)][_0x3ea766(0x1e5)]()),_0x171b2f(this,'_socket'),_0x171b2f(this,_0x3ea766(0x484)),_0x171b2f(this,_0x3ea766(0x184)),_0x171b2f(this,_0x3ea766(0x121),!0x1),_0x171b2f(this,'_telemetryInfo',null),(this[_0x3ea766(0x1f6)]=_0xfc6706,this[_0x3ea766(0x4a8)]=_0x26524c,this[_0x3ea766(0x240)]=_0x4083b3,this[_0x3ea766(0x421)]=_0x3b6672,this[_0x3ea766(0x7a)]=_0x44e183,this[_0x3ea766(0x13c)]=_0x54cad4,this[_0x3ea766(0xa5)]=_0xb9616d,this['_commentService']=_0x50b66c,this[_0x3ea766(0x377)]=_0x4816f4,this[_0x3ea766(0x121)]=!!this[_0x3ea766(0x377)],_0x42a781['pipe'](_0x48eeba[_0x3ea766(0x234)](this[_0x3ea766(0x20b)]))[_0x3ea766(0x1fd)](_0x3930ac=>{const _0x11d8ef=_0x3ea766;var _0x1f7b8f;typeof _0x3930ac>'u'||(this['_socket']=_0x3930ac,_0x3930ac?(this[_0x11d8ef(0x455)](_0x3930ac),this[_0x11d8ef(0x484)]=_0x3930ac[_0x11d8ef(0x212)][_0x11d8ef(0x1fd)](_0x3213d4=>{const _0x5a8b3e=_0x11d8ef;_0x3213d4[_0x5a8b3e(0x4c3)]===this[_0x5a8b3e(0x1f6)]&&this[_0x5a8b3e(0x4dd)](_0x3213d4);})):(this[_0x11d8ef(0x41a)](),this[_0x11d8ef(0x307)]['next'](0x2),(_0x1f7b8f=this[_0x11d8ef(0x484)])==null||_0x1f7b8f[_0x11d8ef(0x2be)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0x3ea766(0x3fa)](()=>{const _0x1ea860=_0x3ea766;var _0x2577f3;(_0x2577f3=this[_0x1ea860(0x550)])==null||_0x2577f3['send']({'cmd':_0x1cbcdd['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x5c58d9(0xe9)](){const _0x2c317b=_0x5c58d9;return this['_sessionStatus$'][_0x2c317b(0x54e)]();}['getMemberID'](){const _0x14b256=_0x5c58d9;var _0x14c681,_0x42e6ac;return(_0x42e6ac=(_0x14c681=this['_socket'])==null?void 0x0:_0x14c681[_0x14b256(0x133)])!=null?_0x42e6ac:null;}['dispose'](){const _0x5a3ade=_0x5c58d9;super[_0x5a3ade(0x3cf)](),this[_0x5a3ade(0x20b)][_0x5a3ade(0x4fb)](),this[_0x5a3ade(0x20b)][_0x5a3ade(0x20c)]();}[_0x5c58d9(0x4ae)](){const _0x52867c=_0x5c58d9;var _0x5657d9,_0x34ee78;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5657d9=this['_socket'])==null||_0x5657d9[_0x52867c(0x190)]({'cmd':_0x1cbcdd[_0x52867c(0x1ca)],'data':{'roomID':this[_0x52867c(0x1f6)]}}),(_0x34ee78=this[_0x52867c(0x550)])==null||_0x34ee78['close'](),this[_0x52867c(0x13d)][_0x52867c(0x20c)](),this[_0x52867c(0x307)][_0x52867c(0x20c)](),this[_0x52867c(0x3cf)]();}[_0x5c58d9(0x4dd)](_0x1e2044){const _0x35254=_0x5c58d9;_0x1e2044[_0x35254(0x47e)]===_0x1cbcdd['JOIN']?this[_0x35254(0x451)](_0x1e2044):_0x1e2044[_0x35254(0x47e)]===_0x1cbcdd[_0x35254(0x256)]&&this[_0x35254(0x3b5)](_0x1e2044);}['_joinRoom'](_0x4b3fc4){const _0x35eb6d=_0x5c58d9;this[_0x35eb6d(0x307)]['next'](0x1),_0x4b3fc4['send']({'cmd':_0x1cbcdd[_0x35eb6d(0x4c1)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x35eb6d(0x1f6)]}]}});}[_0x5c58d9(0x451)](_0x1c6f19){const _0x2882fa=_0x5c58d9;var _0x4dbab4;if(_0x1c6f19[_0x2882fa(0x23e)]in _0xe92672){this[_0x2882fa(0x421)][_0x2882fa(0x4e2)]({'type':_0x48ea23['MessageType']['Warning'],'content':this[_0x2882fa(0x13c)]['t'](_0xe92672[_0x1c6f19[_0x2882fa(0x23e)]])}),this[_0x2882fa(0x307)][_0x2882fa(0x4fb)](0x2);return;}this[_0x2882fa(0x307)][_0x2882fa(0x4fb)](0x3);const _0x16976d=(_0x4dbab4=_0x1c6f19[_0x2882fa(0x387)][_0x2882fa(0x213)][this['_unitID']])==null?void 0x0:_0x4dbab4[_0x2882fa(0x2dc)];_0x16976d&&_0x16976d[_0x2882fa(0x418)](_0x4d4819=>this[_0x2882fa(0xa5)][_0x2882fa(0x2c3)](this[_0x2882fa(0x1f6)],_0x4d4819));}[_0x5c58d9(0x3b5)](_0x55e975){const _0x56e0c6=_0x5c58d9;try{const _0x542f08=_0x55e975[_0x56e0c6(0x387)];switch(_0x542f08[_0x56e0c6(0x3f3)]){case _0x250718[_0x56e0c6(0x4cb)][_0x56e0c6(0x54f)]:this[_0x56e0c6(0x2eb)](_0x542f08),this['_event$'][_0x56e0c6(0x4fb)](_0x542f08);break;case _0x250718[_0x56e0c6(0x4cb)]['USERS_LEAVE']:this[_0x56e0c6(0x2ec)](_0x542f08),this[_0x56e0c6(0x13d)][_0x56e0c6(0x4fb)](_0x542f08);break;case _0x250718[_0x56e0c6(0x4cb)]['CHANGESET_ACK']:case _0x250718['CollaborationEvent'][_0x56e0c6(0x123)]:this[_0x56e0c6(0x47c)](),this[_0x56e0c6(0x1ae)](),this[_0x56e0c6(0x13d)][_0x56e0c6(0x4fb)](_0x542f08);break;case _0x250718['CollaborationEvent'][_0x56e0c6(0x4dc)]:this[_0x56e0c6(0x4a8)][_0x56e0c6(0x405)](_0x56e0c6(0x438)+JSON[_0x56e0c6(0x228)](_0x542f08)),this[_0x56e0c6(0x13d)]['next'](_0x542f08);break;case _0x250718['CollaborationEvent']['COMMENT_UPDATE']:this[_0x56e0c6(0x25a)]['onCommentUpdate'](_0x542f08[_0x56e0c6(0x387)]),this['_event$']['next'](_0x542f08);break;default:this[_0x56e0c6(0x13d)]['next'](_0x542f08);}}catch(_0x253479){this['_logService'][_0x56e0c6(0x405)](_0x253479,_0x55e975);}}['_onUserJoin'](_0xc1f08f){const _0x1ab0b3=_0x5c58d9;this[_0x1ab0b3(0xa5)]['updateMember'](this[_0x1ab0b3(0x1f6)],_0xc1f08f[_0x1ab0b3(0x387)]);}[_0x5c58d9(0x2ec)](_0x4be14d){const _0x32efd7=_0x5c58d9;this[_0x32efd7(0xa5)][_0x32efd7(0x4d8)](this[_0x32efd7(0x1f6)],_0x4be14d[_0x32efd7(0x387)][_0x32efd7(0x133)]);}async[_0x5c58d9(0x190)](_0x2ed163,_0x167d05){const _0x47973c=_0x5c58d9;if(this[_0x47973c(0xe9)]!==0x3||!this[_0x47973c(0x550)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2ed163[_0x47973c(0x3f3)]===_0x250718[_0x47973c(0x4cb)][_0x47973c(0x131)]&&(this[_0x47973c(0x33d)](),this[_0x47973c(0x407)](_0x2ed163)),this[_0x47973c(0x550)][_0x47973c(0x190)]({'cmd':_0x1cbcdd[_0x47973c(0x3c3)],'routeKey':_0x167d05,'routeType':'','data':_0x2ed163});}catch(_0xedcad1){this[_0x47973c(0x4a8)][_0x47973c(0x405)](_0xedcad1);}}[_0x5c58d9(0x33d)](){const _0x39807c=_0x5c58d9;var _0x36d761;this['_collaborationTimeoutTimer']=window[_0x39807c(0x2d5)](()=>{const _0x3e931e=_0x39807c;this[_0x3e931e(0x184)]=null,this[_0x3e931e(0x421)][_0x3e931e(0x4e2)]({'type':_0x48ea23['MessageType'][_0x3e931e(0xe0)],'content':this[_0x3e931e(0x13c)]['t'](_0x3e931e(0x492))});},(_0x36d761=this[_0x39807c(0x7a)][_0x39807c(0x1a0)](_0x3e6851))!=null?_0x36d761:0x4e20);}[_0x5c58d9(0x1ae)](){const _0x20a706=_0x5c58d9;this[_0x20a706(0x184)]&&(clearTimeout(this[_0x20a706(0x184)]),this[_0x20a706(0x184)]=null);}['_startTelemetryCollaborationNewChangeset'](_0xae4f60){const _0x513afd=_0x5c58d9;if(!this[_0x513afd(0x121)])return;const {data:_0x2b9c9d}=_0xae4f60,{unitID:_0x233811,changeset:_0x1f3ef0}=_0x2b9c9d,{mutations:_0x38f2be,type:_0xbf6626}=_0x1f3ef0;this[_0x513afd(0x268)]={'unitId':_0x233811,'type':_0xbf6626,'startTime':performance[_0x513afd(0x25c)](),'stopTime':0x0,'duration':0x0,'size':_0xb73a69(_0x38f2be)};}[_0x5c58d9(0x47c)](){const _0x5ca31b=_0x5c58d9;if(this[_0x5ca31b(0x121)]){if(!this[_0x5ca31b(0x268)]){this['_logService'][_0x5ca31b(0x405)](_0x5ca31b(0xbd),_0x5ca31b(0x365));return;}this[_0x5ca31b(0x268)][_0x5ca31b(0x1a9)]=performance[_0x5ca31b(0x25c)](),this[_0x5ca31b(0x268)][_0x5ca31b(0x145)]=this[_0x5ca31b(0x268)]['stopTime']-this['_telemetryInfo'][_0x5ca31b(0x356)],this['_telemetryService'][_0x5ca31b(0x497)](_0x2c9a1a,this[_0x5ca31b(0x268)]),this[_0x5ca31b(0x268)]=null;}}[_0x5c58d9(0x41a)](){const _0x48f151=_0x5c58d9;this[_0x48f151(0x268)]=null;}},_0xe0b603[_0x5c58d9(0x257)]=_0x4a4853([_0x2096a7(0x2,_0x5d7f39[_0x5c58d9(0x221)]),_0x2096a7(0x3,_0x54c9ff['IBeforeCloseService']),_0x2096a7(0x4,_0x54c9ff[_0x5c58d9(0x302)]),_0x2096a7(0x5,_0x5d7f39[_0x5c58d9(0x436)]),_0x2096a7(0x6,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x1cb)])),_0x2096a7(0x7,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x215)])),_0x2096a7(0x8,_0x5d7f39[_0x5c58d9(0x3a2)](_0x785446)),_0x2096a7(0x9,_0x5d7f39[_0x5c58d9(0xf6)](_0x45a981[_0x5c58d9(0x3a3)]))],_0xe0b603[_0x5c58d9(0x257)]);var _0x2ee843=Object[_0x5c58d9(0xf4)],_0x2767e0=Object[_0x5c58d9(0x314)],_0x33b5df=(_0x349fd5,_0x4e249e,_0x17931a,_0x53de30)=>{const _0x4c5cb1=_0x5c58d9;for(var _0x5c9b55=_0x53de30>0x1?void 0x0:_0x53de30?_0x2767e0(_0x4e249e,_0x17931a):_0x4e249e,_0x1bcc59=_0x349fd5[_0x4c5cb1(0x3d9)]-0x1,_0xd331db;_0x1bcc59>=0x0;_0x1bcc59--)(_0xd331db=_0x349fd5[_0x1bcc59])&&(_0x5c9b55=(_0x53de30?_0xd331db(_0x4e249e,_0x17931a,_0x5c9b55):_0xd331db(_0x5c9b55))||_0x5c9b55);return _0x53de30&&_0x5c9b55&&_0x2ee843(_0x4e249e,_0x17931a,_0x5c9b55),_0x5c9b55;},_0x4a4f7a=(_0x1a9164,_0x4bbc36)=>(_0x5685fa,_0x276246)=>_0x4bbc36(_0x5685fa,_0x276246,_0x1a9164);_0xe0b603[_0x5c58d9(0x4e6)]=class extends _0x5d7f39[_0x5c58d9(0x542)]{constructor(_0x48e478,_0x15d620,_0x57f3c2,_0x3c91f1,_0x4ae36c,_0x24e85b,_0x26c319){const _0x3682aa=_0x5c58d9;super(),_0x171b2f(this,_0x3682aa(0xd2),new _0x48eeba[(_0x3682aa(0x1bf))](void 0x0)),_0x171b2f(this,_0x3682aa(0x55e),this[_0x3682aa(0xd2)][_0x3682aa(0x1e5)]()),_0x171b2f(this,'_candidateSocket',null),_0x171b2f(this,_0x3682aa(0x2b2),new Map()),_0x171b2f(this,_0x3682aa(0xbc),new _0x48eeba[(_0x3682aa(0x1bf))](_0x4c9cb6[_0x3682aa(0x185)])),_0x171b2f(this,_0x3682aa(0x488),this['_status$'][_0x3682aa(0x1e5)]()),_0x171b2f(this,_0x3682aa(0x346),!0x1),_0x171b2f(this,'_retryConnectingTimer'),_0x171b2f(this,_0x3682aa(0x4ac),0x0),_0x171b2f(this,_0x3682aa(0x55d)),_0x171b2f(this,_0x3682aa(0xae)),(this['_injector']=_0x48e478,this[_0x3682aa(0x13c)]=_0x15d620,this[_0x3682aa(0x421)]=_0x57f3c2,this[_0x3682aa(0x4a8)]=_0x3c91f1,this[_0x3682aa(0x7a)]=_0x4ae36c,this['_socketService']=_0x24e85b,this[_0x3682aa(0x40a)]=_0x26c319,this['_initEventListeners']());}get['_socket'](){const _0x3ca7e5=_0x5c58d9;return this[_0x3ca7e5(0xd2)][_0x3ca7e5(0x54e)]();}[_0x5c58d9(0x1e0)](){const _0x50f170=_0x5c58d9;this[_0x50f170(0x47b)](),this['_listenToOnlineEvent']();}[_0x5c58d9(0x3cf)](){const _0x14ed71=_0x5c58d9;super[_0x14ed71(0x3cf)](),this[_0x14ed71(0x2b2)][_0x14ed71(0x418)](_0x346681=>_0x346681[_0x14ed71(0x3cf)]()),this[_0x14ed71(0x2b2)]['clear'](),this[_0x14ed71(0xbc)]['complete']();}async[_0x5c58d9(0xdf)](_0x1d0aec){const _0x3e89e4=_0x5c58d9;if(this[_0x3e89e4(0x2b2)][_0x3e89e4(0x383)](_0x1d0aec))return this[_0x3e89e4(0x2b2)]['get'](_0x1d0aec);this['_tryEnsureSocket']();const _0x2c164c=this['_injector'][_0x3e89e4(0xd6)](_0xe0b603[_0x3e89e4(0x257)],_0x1d0aec,this[_0x3e89e4(0xd2)][_0x3e89e4(0x1e5)]());return this['_sessions'][_0x3e89e4(0x335)](_0x1d0aec,_0x2c164c),_0x2c164c;}[_0x5c58d9(0x86)](_0x47b86e){const _0x1247fa=_0x5c58d9;var _0x57cb00;const _0x578411=this['_sessions'][_0x1247fa(0x191)](_0x47b86e);_0x578411&&(this['_sessions'][_0x1247fa(0x183)](_0x47b86e),_0x578411[_0x1247fa(0x4ae)]()),this['_sessions'][_0x1247fa(0x50c)]||(_0x57cb00=this[_0x1247fa(0x550)])==null||_0x57cb00[_0x1247fa(0x4ae)]();}[_0x5c58d9(0x124)](){const _0x161cc2=_0x5c58d9;this['_retryCount']=0x0,this[_0x161cc2(0x39d)]!=null&&(clearTimeout(this[_0x161cc2(0x39d)]),this[_0x161cc2(0x39d)]=null),this['_tryReconnect']();}async[_0x5c58d9(0x389)](){const _0x1019e3=_0x5c58d9;var _0x23871e,_0x201c8c,_0x1e3e41;const _0x3ff6ca=this[_0x1019e3(0x7a)]['getConfig'](_0x14626f),_0x416c88=(_0x23871e=_0x3ff6ca==null?void 0x0:_0x3ff6ca[_0x1019e3(0xad)])!=null?_0x23871e:_0x344084;return(_0x1e3e41=(_0x201c8c=(await this['_httpService'][_0x1019e3(0x191)](_0x416c88,{'headers':{'Content-Type':_0x1019e3(0x1f5)}}))[_0x1019e3(0x9b)])==null?void 0x0:_0x201c8c[_0x1019e3(0xaf)])!=null?_0x1e3e41:'';}[_0x5c58d9(0x118)](_0x2679b0){const _0x1d6dd9=_0x5c58d9;var _0x830583,_0x44b356;const _0x256015=this[_0x1d6dd9(0x7a)][_0x1d6dd9(0x1a0)](_0x36dc32),_0x24e014=this[_0x1d6dd9(0x7a)][_0x1d6dd9(0x1a0)](_0x14626f),_0x538fcd=(_0x44b356=(_0x830583=_0x24e014==null?void 0x0:_0x24e014[_0x1d6dd9(0x1b2)])!=null?_0x830583:_0x256015)!=null?_0x44b356:_0x2175ef,_0x495c67=new URL(_0x538fcd,window[_0x1d6dd9(0x271)]['origin']);return _0x495c67[_0x1d6dd9(0x15c)][_0x1d6dd9(0x335)](_0x1d6dd9(0x3bb),_0x2679b0),_0x495c67['toString']();}async[_0x5c58d9(0x13f)](){const _0xe0cd97=_0x5c58d9,_0x5c9626=await this[_0xe0cd97(0x389)](),_0x4b4d3a=this[_0xe0cd97(0x118)](_0x5c9626),_0xb457be=this[_0xe0cd97(0x292)][_0xe0cd97(0x54d)](_0x4b4d3a);return this[_0xe0cd97(0x4cc)]=_0xb457be,_0xb457be;}async[_0x5c58d9(0x202)](){const _0x2e1158=_0x5c58d9;var _0x41949a,_0x3df051;try{const _0x469e1b=(_0x3df051=(_0x41949a=this['_socket'])!=null?_0x41949a:this[_0x2e1158(0x4cc)])!=null?_0x3df051:await this[_0x2e1158(0x13f)]();if(_0x469e1b){const _0x5c7539=_0x469e1b[_0x2e1158(0x190)];_0x469e1b[_0x2e1158(0x190)]=_0x2ac046=>(this[_0x2e1158(0x3ec)](),_0x5c7539[_0x2e1158(0x384)](_0x469e1b,[_0x2ac046])),_0x469e1b[_0x2e1158(0x212)][_0x2e1158(0x1fd)](_0x3c0d89=>this[_0x2e1158(0x1d9)](_0x469e1b,_0x3c0d89)),_0x469e1b['error$'][_0x2e1158(0x3b0)](_0x187edc[_0x2e1158(0x533)](0x1))['subscribe'](_0x5e78e6=>this[_0x2e1158(0x4a8)][_0x2e1158(0x405)](_0x2e1158(0x142),_0x5e78e6)),_0x469e1b[_0x2e1158(0x3f6)][_0x2e1158(0x3b0)](_0x187edc[_0x2e1158(0x533)](0x1))[_0x2e1158(0x1fd)](()=>{this['_onConnectionOpen'](_0x469e1b);}),_0x469e1b[_0x2e1158(0x323)][_0x2e1158(0x3b0)](_0x187edc[_0x2e1158(0x533)](0x1))[_0x2e1158(0x1fd)](_0x117ce0=>{const _0x3e6992=_0x2e1158;this[_0x3e6992(0x4a8)][_0x3e6992(0x2e2)]('[CollaborationSessionService]',_0x3e6992(0xc4),_0x117ce0),this[_0x3e6992(0x1e7)]();});}}catch(_0x27a74a){this[_0x2e1158(0x4a8)][_0x2e1158(0x405)](_0x27a74a),this[_0x2e1158(0x1e7)]();}}['_onConnectionOpen'](_0x27c744){const _0x3d278e=_0x5c58d9;this[_0x3d278e(0x4a8)][_0x3d278e(0x2e2)]('[CollaborationSessionService]','socket\x20open.'),_0x27c744['send']({'cmd':_0x1cbcdd[_0x3d278e(0x3cc)]}),this[_0x3d278e(0x3ec)]();}['_listenToOfflineEvent'](){const _0x585583=_0x5c58d9;window[_0x585583(0x4fd)](_0x585583(0x43e),()=>this[_0x585583(0x222)]());}[_0x5c58d9(0x222)](){const _0x4231ce=_0x5c58d9;this[_0x4231ce(0x346)]=!0x1,this[_0x4231ce(0x4cc)]=null,this[_0x4231ce(0xbc)]['next'](_0x4c9cb6['OFFLINE']),this[_0x4231ce(0xd2)][_0x4231ce(0x4fb)](null),this[_0x4231ce(0xf9)](),this[_0x4231ce(0x51a)]();}[_0x5c58d9(0x1e7)](){const _0xaa181a=_0x5c58d9;var _0x6ee02f;this[_0xaa181a(0x222)](),this[_0xaa181a(0x4ac)]<((_0x6ee02f=this['_configService']['getConfig'](_0x3c43eb))!=null?_0x6ee02f:0x3)?(this[_0xaa181a(0x421)][_0xaa181a(0x4e2)]({'key':_0xaa181a(0x24c),'type':_0x48ea23[_0xaa181a(0x496)][_0xaa181a(0x2cc)],'content':this[_0xaa181a(0x13c)]['t'](_0xaa181a(0x50e))}),this['_tryReconnect']()):this['_messageService'][_0xaa181a(0x4e2)]({'key':_0xaa181a(0x24c),'type':_0x48ea23['MessageType']['Error'],'content':this['_localeService']['t'](_0xaa181a(0x42c))});}[_0x5c58d9(0x4de)](){const _0x2c242c=_0x5c58d9,_0x3f4fcd=()=>{const _0xa834b8=_0x1eb4;this[_0xa834b8(0x550)]||this[_0xa834b8(0x124)]();},_0x1fc1f4=()=>{const _0xd41050=_0x1eb4;this['_socket']||document[_0xd41050(0x345)]===_0xd41050(0x282)||this[_0xd41050(0x124)]();};window[_0x2c242c(0x4fd)]('online',_0x3f4fcd),document[_0x2c242c(0x4fd)](_0x2c242c(0x300),_0x1fc1f4);}['_tryReconnect'](){const _0x17d7f0=_0x5c58d9;var _0x1914b3;const _0x4b2e91=this[_0x17d7f0(0x4ac)],_0x49fe95=this['_configService'][_0x17d7f0(0x1a0)](_0x14626f),_0x539685=_0x4b2e91===0x0?0x0:((_0x1914b3=_0x49fe95==null?void 0x0:_0x49fe95[_0x17d7f0(0x469)])!=null?_0x1914b3:0x4e20)*0x2**_0x4b2e91;this[_0x17d7f0(0x39d)]=window[_0x17d7f0(0x2d5)](()=>{const _0x23f95a=_0x17d7f0;clearTimeout(this[_0x23f95a(0x39d)]),this[_0x23f95a(0x39d)]=null,this[_0x23f95a(0x202)]();},_0x539685),this[_0x17d7f0(0x4ac)]+=0x1;}[_0x5c58d9(0x1d9)](_0x3247d4,_0x504ebd){const _0x18be1f=_0x5c58d9,{cmd:_0x314b40}=_0x504ebd;_0x314b40===_0x1cbcdd[_0x18be1f(0x3cc)]&&!this[_0x18be1f(0x346)]&&(_0x3247d4[_0x18be1f(0x133)]=_0x504ebd[_0x18be1f(0x387)]['memberID'],this['_socket$'][_0x18be1f(0x4fb)](_0x3247d4),this['_status$'][_0x18be1f(0x4fb)](_0x4c9cb6[_0x18be1f(0x332)]),this[_0x18be1f(0x346)]=!0x0,this['_candidateSocket']=null),_0x314b40===_0x1cbcdd[_0x18be1f(0x105)]&&this['_clearTimeoutTimer'](),this[_0x18be1f(0x3ec)]();}[_0x5c58d9(0x3ec)](){const _0x551056=_0x5c58d9;var _0x3c9d0d;this[_0x551056(0x51a)](),this['_sendHeartbeatTimer']=window[_0x551056(0x2d5)](()=>this[_0x551056(0xb3)](),(_0x3c9d0d=this[_0x551056(0x7a)]['getConfig'](_0x204173))!=null?_0x3c9d0d:0x7530);}['_sendHeartbeat'](){const _0x538179=_0x5c58d9;this['_socket']['send']({'cmd':_0x1cbcdd['HEARTBEAT']}),this[_0x538179(0x544)]();}[_0x5c58d9(0x544)](){const _0x170bbd=_0x5c58d9;var _0x14632f;this[_0x170bbd(0xae)]=window[_0x170bbd(0x2d5)](()=>this[_0x170bbd(0x1e7)](),(_0x14632f=this['_configService'][_0x170bbd(0x1a0)](_0x3e6851))!=null?_0x14632f:0x4e20);}[_0x5c58d9(0x51a)](){const _0x5e023d=_0x5c58d9;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5e023d(0x55d)]),this[_0x5e023d(0x55d)]=null);}[_0x5c58d9(0xf9)](){const _0x50b144=_0x5c58d9;this[_0x50b144(0xae)]!=null&&(clearTimeout(this[_0x50b144(0xae)]),this[_0x50b144(0xae)]=null);}},_0xe0b603[_0x5c58d9(0x4e6)]=_0x33b5df([_0x4a4f7a(0x0,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x4a4f7a(0x1,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x1cb)])),_0x4a4f7a(0x2,_0x54c9ff[_0x5c58d9(0x302)]),_0x4a4f7a(0x3,_0x5d7f39['ILogService']),_0x4a4f7a(0x4,_0x5d7f39[_0x5c58d9(0x436)]),_0x4a4f7a(0x5,_0x43e8c6),_0x4a4f7a(0x6,_0x5d7f39[_0x5c58d9(0x3a2)](_0x37b388[_0x5c58d9(0x94)]))],_0xe0b603[_0x5c58d9(0x4e6)]);const _0x343eb5=[];for(let _0x403f99=0x0;_0x403f99<0x100;++_0x403f99)_0x343eb5[_0x5c58d9(0x443)]((_0x403f99+0x100)[_0x5c58d9(0x1f2)](0x10)[_0x5c58d9(0x483)](0x1));function _0x2feb3d(_0x325d7e,_0x1a7a46=0x0){const _0x3bfd7c=_0x5c58d9;return(_0x343eb5[_0x325d7e[_0x1a7a46+0x0]]+_0x343eb5[_0x325d7e[_0x1a7a46+0x1]]+_0x343eb5[_0x325d7e[_0x1a7a46+0x2]]+_0x343eb5[_0x325d7e[_0x1a7a46+0x3]]+'-'+_0x343eb5[_0x325d7e[_0x1a7a46+0x4]]+_0x343eb5[_0x325d7e[_0x1a7a46+0x5]]+'-'+_0x343eb5[_0x325d7e[_0x1a7a46+0x6]]+_0x343eb5[_0x325d7e[_0x1a7a46+0x7]]+'-'+_0x343eb5[_0x325d7e[_0x1a7a46+0x8]]+_0x343eb5[_0x325d7e[_0x1a7a46+0x9]]+'-'+_0x343eb5[_0x325d7e[_0x1a7a46+0xa]]+_0x343eb5[_0x325d7e[_0x1a7a46+0xb]]+_0x343eb5[_0x325d7e[_0x1a7a46+0xc]]+_0x343eb5[_0x325d7e[_0x1a7a46+0xd]]+_0x343eb5[_0x325d7e[_0x1a7a46+0xe]]+_0x343eb5[_0x325d7e[_0x1a7a46+0xf]])[_0x3bfd7c(0x143)]();}let _0x5d2e9e;const _0x1854aa=new Uint8Array(0x10);function _0x3fd97c(){const _0x5ab036=_0x5c58d9;if(!_0x5d2e9e){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5ab036(0x2ba));_0x5d2e9e=crypto[_0x5ab036(0x1b9)][_0x5ab036(0x24e)](crypto);}return _0x5d2e9e(_0x1854aa);}const _0x32dae4={'randomUUID':typeof crypto<'u'&&crypto[_0x5c58d9(0x7f)]&&crypto[_0x5c58d9(0x7f)][_0x5c58d9(0x24e)](crypto)};function _0x3ae938(_0xbcb4ab,_0x15b3f0,_0x4ba3ff){const _0x284efe=_0x5c58d9;if(_0x32dae4[_0x284efe(0x7f)]&&!_0x15b3f0&&!_0xbcb4ab)return _0x32dae4['randomUUID']();_0xbcb4ab=_0xbcb4ab||{};const _0x23cdce=_0xbcb4ab['random']||(_0xbcb4ab[_0x284efe(0x1be)]||_0x3fd97c)();return _0x23cdce[0x6]=_0x23cdce[0x6]&0xf|0x40,_0x23cdce[0x8]=_0x23cdce[0x8]&0x3f|0x80,_0x2feb3d(_0x23cdce);}var _0x2e187d=Object[_0x5c58d9(0xf4)],_0x45e39a=Object[_0x5c58d9(0x314)],_0x2297fb=(_0x132245,_0x50de45,_0x5a4c04,_0x18c093)=>{for(var _0x5a8a0b=_0x18c093>0x1?void 0x0:_0x18c093?_0x45e39a(_0x50de45,_0x5a4c04):_0x50de45,_0x4f75ba=_0x132245['length']-0x1,_0x2a8de5;_0x4f75ba>=0x0;_0x4f75ba--)(_0x2a8de5=_0x132245[_0x4f75ba])&&(_0x5a8a0b=(_0x18c093?_0x2a8de5(_0x50de45,_0x5a4c04,_0x5a8a0b):_0x2a8de5(_0x5a8a0b))||_0x5a8a0b);return _0x18c093&&_0x5a8a0b&&_0x2e187d(_0x50de45,_0x5a4c04,_0x5a8a0b),_0x5a8a0b;},_0x3a05d9=(_0x7408d7,_0x459608)=>(_0x380bd2,_0x4bf2b3)=>_0x459608(_0x380bd2,_0x4bf2b3,_0x7408d7);let _0x5b0ed5=class{constructor(_0x4b7242,_0x1cfc3e,_0x5e428c){const _0x59126c=_0x5c58d9;this[_0x59126c(0x1dc)]=_0x4b7242,this[_0x59126c(0x2a7)]=_0x1cfc3e,this[_0x59126c(0x50a)]=_0x5e428c;}[_0x5c58d9(0x8a)](_0x4dc2fd){const _0x3a125e=_0x5c58d9;this[_0x3a125e(0x2e1)](_0x4dc2fd),this['_transformPreviousActiveRange'](_0x4dc2fd);}[_0x5c58d9(0x26c)](_0x14ce0c){const _0x1a81bb=_0x5c58d9,{unitID:_0x5621a5}=_0x14ce0c,_0x46a965=this[_0x1a81bb(0x50a)][_0x1a81bb(0x36c)](_0x5621a5)[_0x1a81bb(0x472)](_0x43dacb['DocIMEInputManagerService']),{redoCache:_0x14b77e}=_0x46a965[_0x1a81bb(0xc9)]();if(_0x14b77e[_0x1a81bb(0x3d9)]===0x0)return _0x14ce0c;let _0x82033b=_0x5d7f39[_0x1a81bb(0x441)][_0x1a81bb(0x39b)](_0x14ce0c[_0x1a81bb(0x298)][0x0]);for(let _0x3141c5=0x0;_0x3141c5<_0x14b77e[_0x1a81bb(0x3d9)];_0x3141c5++){const _0x4e1cc3={'id':_0x1a81bb(0xa3),'params':{..._0x14b77e[_0x3141c5]}},_0x4ecc29=this[_0x1a81bb(0x2a7)][_0x1a81bb(0x400)](_0x82033b,_0x4e1cc3,!0x1);if(_0x250718[_0x1a81bb(0x40d)](_0x4ecc29))throw _0x4ecc29[_0x1a81bb(0x405)];_0x82033b=_0x4ecc29['m1Prime'];}return{..._0x5d7f39[_0x1a81bb(0x441)][_0x1a81bb(0x39b)](_0x14ce0c),'mutations':[_0x82033b]};}['_transformUndoRedoStack'](_0x50d98c){const _0x56d5c1=_0x5c58d9,{unitID:_0x51cfb1}=_0x50d98c,_0x2e18ee=this[_0x56d5c1(0x50a)][_0x56d5c1(0x36c)](_0x51cfb1)[_0x56d5c1(0x472)](_0x43dacb[_0x56d5c1(0xc1)]),{undoCache:_0x26f3db,redoCache:_0x5696c5}=_0x2e18ee[_0x56d5c1(0xc9)]();if(_0x26f3db[_0x56d5c1(0x3d9)]===0x0||_0x5696c5['length']===0x0)return;const _0x47c0e2=[],_0x1785d5=[];let _0x1c9a0d=_0x5d7f39[_0x56d5c1(0x441)][_0x56d5c1(0x39b)](_0x50d98c[_0x56d5c1(0x298)][0x0]),_0x5b4de8=_0x5d7f39[_0x56d5c1(0x441)]['deepClone'](_0x50d98c['mutations'][0x0]);for(let _0x166bb8=_0x26f3db[_0x56d5c1(0x3d9)]-0x1;_0x166bb8>=0x0;_0x166bb8--){const _0xd47743={'id':_0x56d5c1(0xa3),'params':{..._0x26f3db[_0x166bb8]}},_0x330bb2={'id':_0x56d5c1(0xa3),'params':{..._0x5696c5[_0x166bb8]}},_0x454afe=this['_transformService'][_0x56d5c1(0x400)](_0x1c9a0d,_0xd47743,!0x1),_0x42269e=this[_0x56d5c1(0x2a7)][_0x56d5c1(0x400)](_0x5b4de8,_0x330bb2,!0x1);if(_0x250718['isTransformMutationFailure'](_0x454afe))throw _0x454afe[_0x56d5c1(0x405)];if(_0x250718['isTransformMutationFailure'](_0x42269e))throw _0x42269e['error'];_0x47c0e2['unshift'](_0x454afe[_0x56d5c1(0x434)]['params']),_0x1785d5[_0x56d5c1(0x2a3)](_0x42269e['m2Prime'][_0x56d5c1(0x521)]),_0x1c9a0d=_0x454afe['m1Prime'],_0x5b4de8=_0x42269e['m1Prime'];}_0x2e18ee['setUndoRedoMutationParamsCache']({'undoCache':_0x47c0e2,'redoCache':_0x1785d5});}['_transformPreviousActiveRange'](_0x49445d){const _0x5c85ab=_0x5c58d9,{unitID:_0x7bb46c}=_0x49445d,_0x29d201=this['_renderManagerService']['getRenderById'](_0x7bb46c)['with'](_0x43dacb[_0x5c85ab(0xc1)]),_0x1250d7=_0x29d201[_0x5c85ab(0x21c)]();if(_0x1250d7==null)return;const _0x3d4208=[{'id':_0x5c85ab(0xa3),'params':{'unitId':_0x49445d[_0x5c85ab(0x541)],'actions':null,'textRanges':[_0x1250d7]}}],_0x57a218=this[_0x5c85ab(0x2a7)][_0x5c85ab(0x16c)](_0x49445d,_0x3d4208);if(!_0x250718[_0x5c85ab(0x1c6)](_0x57a218))throw _0x57a218['error'];const _0x2d370d=_0x57a218[_0x5c85ab(0x434)][0x0]['params']['textRanges'];Array[_0x5c85ab(0x229)](_0x2d370d)&&_0x2d370d[_0x5c85ab(0x3d9)]&&_0x29d201['setActiveRange'](_0x2d370d[0x0]);}};_0x5b0ed5=_0x2297fb([_0x3a05d9(0x0,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x485)])),_0x3a05d9(0x1,_0x250718['ITransformService']),_0x3a05d9(0x2,_0x533483['IRenderManagerService'])],_0x5b0ed5);var _0x476fe4=Object[_0x5c58d9(0xf4)],_0x56bf75=Object['getOwnPropertyDescriptor'],_0x1db735=(_0x3b0f49,_0x2cc9e2,_0x2c9e29,_0x1b1822)=>{for(var _0x24cdfc=_0x1b1822>0x1?void 0x0:_0x1b1822?_0x56bf75(_0x2cc9e2,_0x2c9e29):_0x2cc9e2,_0x2f1a0f=_0x3b0f49['length']-0x1,_0x4bf6a0;_0x2f1a0f>=0x0;_0x2f1a0f--)(_0x4bf6a0=_0x3b0f49[_0x2f1a0f])&&(_0x24cdfc=(_0x1b1822?_0x4bf6a0(_0x2cc9e2,_0x2c9e29,_0x24cdfc):_0x4bf6a0(_0x24cdfc))||_0x24cdfc);return _0x1b1822&&_0x24cdfc&&_0x476fe4(_0x2cc9e2,_0x2c9e29,_0x24cdfc),_0x24cdfc;},_0x3a5751=(_0xbcf195,_0x1d46ad)=>(_0x508c72,_0x1baf90)=>_0x1d46ad(_0x508c72,_0x1baf90,_0xbcf195);_0xe0b603[_0x5c58d9(0x115)]=class extends _0x5d7f39[_0x5c58d9(0x542)]{constructor(_0x49c665,_0x13e706,_0x2cb510,_0x29e076,_0x3e4423){const _0x56131c=_0x5c58d9;super(),_0x171b2f(this,_0x56131c(0x2b1),new Map()),_0x171b2f(this,'_saveTaskMap',new Map()),_0x171b2f(this,_0x56131c(0x393),!0x1),(this[_0x56131c(0x7a)]=_0x49c665,this[_0x56131c(0x22f)]=_0x13e706,this['_beforeCloseService']=_0x2cb510,this[_0x56131c(0x13c)]=_0x29e076,this[_0x56131c(0x412)]=_0x3e4423,this['_setupBeforeClosingHandler']());}[_0x5c58d9(0x175)](){const _0x33ef51=_0x5c58d9;this[_0x33ef51(0x393)]=!0x0;}[_0x5c58d9(0x20d)](){const _0x2498a0=_0x5c58d9;this[_0x2498a0(0x393)]=!0x1;}['dispose'](){const _0x30e7ed=_0x5c58d9;this[_0x30e7ed(0x304)]()[_0x30e7ed(0x30d)](()=>super[_0x30e7ed(0x3cf)]());}async['loadOfflineData'](_0x2853ab){const _0x45259c=_0x5c58d9;return this[_0x45259c(0x393)]?null:this['_localStorageService'][_0x45259c(0x3e2)](_0x18cc46(_0x2853ab));}async[_0x5c58d9(0x406)](_0x397155,_0x1c872a){const _0x3dfbb1=_0x5c58d9;return!!this[_0x3dfbb1(0x22f)][_0x3dfbb1(0x4a4)](_0x397155,_0x1c872a);}[_0x5c58d9(0xf3)](_0x53f6f7,_0x430bdc,_0xeb0891,_0x218402){const _0x1f6da7=_0x5c58d9,_0x135cad=this[_0x1f6da7(0x412)][_0x1f6da7(0x245)](_0x53f6f7);this['_cachedData'][_0x1f6da7(0x335)](_0x53f6f7,{'unitID':_0x53f6f7,'type':_0x430bdc,'awaitingChangeset':_0xeb0891,'mutations':_0x218402,'rev':_0x135cad}),this[_0x1f6da7(0x2da)][_0x1f6da7(0x383)](_0x53f6f7)||this[_0x1f6da7(0x385)](_0x53f6f7);}[_0x5c58d9(0x385)](_0x2f5bd1){const _0xf10b49=_0x5c58d9,_0x306e45=this[_0xf10b49(0x424)]();_0x306e45===0x0?this['_saveCache'](_0x2f5bd1):this[_0xf10b49(0x2da)]['set'](_0x2f5bd1,setTimeout(()=>this[_0xf10b49(0xda)](_0x2f5bd1),_0x306e45));}[_0x5c58d9(0x424)](){const _0x2c2222=_0x5c58d9;var _0xb17044;return(_0xb17044=this[_0x2c2222(0x7a)][_0x2c2222(0x1a0)](_0xd04df8))!=null?_0xb17044:0x3e8;}[_0x5c58d9(0xda)](_0x28b6f8){const _0x331258=_0x5c58d9,_0x5e7b8a=this[_0x331258(0x2da)][_0x331258(0x191)](_0x28b6f8);return _0x5e7b8a!==void 0x0&&window[_0x331258(0x100)](_0x5e7b8a),this[_0x331258(0x22f)][_0x331258(0x4a4)](_0x18cc46(_0x28b6f8),this[_0x331258(0x2b1)][_0x331258(0x191)](_0x28b6f8))[_0x331258(0x30d)](()=>this['_saveTaskMap']['delete'](_0x28b6f8));}async[_0x5c58d9(0x304)](){const _0x19f099=_0x5c58d9,_0xd1cb58=[];this[_0x19f099(0x2da)][_0x19f099(0x418)]((_0x4ee588,_0x3558a0)=>{const _0x2f0848=_0x19f099;window['clearTimeout'](_0x4ee588),_0xd1cb58['push'](this[_0x2f0848(0xda)](_0x3558a0)[_0x2f0848(0x30d)](()=>{const _0x5d1b7d=_0x2f0848;this[_0x5d1b7d(0x2da)][_0x5d1b7d(0x183)](_0x3558a0);}));}),await Promise['all'](_0xd1cb58);}[_0x5c58d9(0x3e8)](){const _0x55565e=_0x5c58d9;this['disposeWithMe'](this[_0x55565e(0x240)][_0x55565e(0x2fe)](()=>{const _0x169d00=_0x55565e;if(this[_0x169d00(0x2da)][_0x169d00(0x50c)])return this[_0x169d00(0x13c)]['t'](_0x169d00(0x8c));}));}},_0xe0b603[_0x5c58d9(0x115)]=_0x1db735([_0x3a5751(0x0,_0x5d7f39['IConfigService']),_0x3a5751(0x1,_0x5d7f39['ILocalStorageService']),_0x3a5751(0x2,_0x54c9ff[_0x5c58d9(0x11e)]),_0x3a5751(0x3,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x1cb)])),_0x3a5751(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718['RevisionService']))],_0xe0b603['LocalCacheService']);function _0x18cc46(_0xb0a0a4){const _0x2207f6=_0x5c58d9;return _0x2207f6(0x1fe)+_0xb0a0a4;}var _0x4c413d=Object[_0x5c58d9(0xf4)],_0x3285cc=Object['getOwnPropertyDescriptor'],_0x58769d=(_0x19de2a,_0x264291,_0x54d70f,_0x2fe1d8)=>{for(var _0x2fd200=_0x2fe1d8>0x1?void 0x0:_0x2fe1d8?_0x3285cc(_0x264291,_0x54d70f):_0x264291,_0x591ea5=_0x19de2a['length']-0x1,_0x481994;_0x591ea5>=0x0;_0x591ea5--)(_0x481994=_0x19de2a[_0x591ea5])&&(_0x2fd200=(_0x2fe1d8?_0x481994(_0x264291,_0x54d70f,_0x2fd200):_0x481994(_0x2fd200))||_0x2fd200);return _0x2fe1d8&&_0x2fd200&&_0x4c413d(_0x264291,_0x54d70f,_0x2fd200),_0x2fd200;},_0x338024=(_0x446be5,_0x1d354d)=>(_0x4a360b,_0x17344a)=>_0x1d354d(_0x4a360b,_0x17344a,_0x446be5);function _0x236f0a(_0x56d394){const _0x274211=_0x5c58d9,{unitID:_0x4494b6,mutations:_0x272be0}=_0x56d394;return{'unitId':_0x4494b6,'subUnitId':_0x272be0[0x0][_0x274211(0x521)][_0x274211(0x36e)]};}let _0x396264=class{constructor(_0x55a907,_0x35d632,_0x25fbba){const _0x34e7ba=_0x5c58d9;this[_0x34e7ba(0x1dc)]=_0x55a907,this[_0x34e7ba(0x2a7)]=_0x35d632,this['_instanceService']=_0x25fbba;}['transformSelections'](_0x5e5170){const _0x69403=_0x5c58d9;var _0x51c8fa,_0x12c5fb,_0x15e4e6,_0x474e43;const _0x4ee967=this[_0x69403(0x1dc)][_0x69403(0x191)](_0x2dcdfa[_0x69403(0x4aa)]),{unitId:_0x2a5252,subUnitId:_0x5c2932}=_0x236f0a(_0x5e5170),_0x58081c=_0x4ee967[_0x69403(0x198)](_0x2a5252)['getCurrentSelections'](),_0x140f90=(_0x12c5fb=(_0x51c8fa=this['_instanceService'][_0x69403(0x3bd)](_0x2a5252))==null?void 0x0:_0x51c8fa[_0x69403(0x1f1)]())==null?void 0x0:_0x12c5fb['getSheetId']();if(_0x58081c[_0x69403(0x3d9)]===0x0||!_0x2a5252||!_0x5c2932)return;const _0x3646b7=[{'id':_0x2dcdfa[_0x69403(0x172)]['id'],'params':{'unitId':_0x2a5252,'subUnitId':_0x140f90,'selections':_0x5d7f39['Tools'][_0x69403(0x39b)](_0x58081c)}}],_0xe2da67=this[_0x69403(0x2a7)][_0x69403(0x16c)](_0x5e5170,_0x3646b7);if(!_0x250718[_0x69403(0x1c6)](_0xe2da67))throw _0xe2da67['error'];const _0x36c35d=(_0x474e43=(_0x15e4e6=_0xe2da67[_0x69403(0x434)][0x0])==null?void 0x0:_0x15e4e6['params'])==null?void 0x0:_0x474e43[_0x69403(0x1b0)];if(Array[_0x69403(0x229)](_0x36c35d)&&_0x36c35d[_0x69403(0x3d9)]){if(_0x36c35d[_0x69403(0x3d9)]===_0x3646b7[0x0]['params'][_0x69403(0x1b0)][_0x69403(0x3d9)]&&_0x36c35d[_0x69403(0x83)]((_0x432809,_0x14751)=>_0x5d7f39[_0x69403(0x2fd)]['equals'](_0x432809['range'],_0x3646b7[0x0][_0x69403(0x521)][_0x69403(0x1b0)][_0x14751][_0x69403(0x2ad)])))return;this[_0x69403(0x1dc)][_0x69403(0x191)](_0x5d7f39['ICommandService'])[_0x69403(0x41b)](_0x2dcdfa['SetSelectionsOperation']['id'],{'unitId':_0x2a5252,'subUnitId':_0x140f90,'selections':_0x36c35d});}}};_0x396264=_0x58769d([_0x338024(0x0,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x338024(0x1,_0x250718['ITransformService']),_0x338024(0x2,_0x5d7f39[_0x5c58d9(0x54a)])],_0x396264);const _0x5c81df=_0x5d7f39[_0x5c58d9(0x2b6)](_0x5c58d9(0x2a9));var _0x3db651=(_0x3ced82=>(_0x3ced82[_0x3ced82[_0x5c58d9(0x91)]=0x0]=_0x5c58d9(0x91),_0x3ced82[_0x3ced82[_0x5c58d9(0x23d)]=0x1]='OTHER_CLIENTS_EDITING',_0x3ced82))(_0x3db651||{});const _0x1fcff1=0x7530,_0x46f87c=_0x5c58d9(0x343);class _0x2c621e extends _0x5d7f39[_0x5c58d9(0x542)]{constructor(){const _0xddfc55=_0x5c58d9;super(),_0x171b2f(this,_0xddfc55(0x303),_0x5d7f39[_0xddfc55(0x441)][_0xddfc55(0x4b4)]()),_0x171b2f(this,_0xddfc55(0x490),new Set()),_0x171b2f(this,_0xddfc55(0x127),new Map()),_0x171b2f(this,_0xddfc55(0x515),null),_0x171b2f(this,_0xddfc55(0x1e9),new Map()),_0x171b2f(this,_0xddfc55(0x470),new Map()),this[_0xddfc55(0x3c4)]();}[_0x5c58d9(0x3cf)](){const _0x50ee5c=_0x5c58d9;super[_0x50ee5c(0x3cf)](),this[_0x50ee5c(0x1e9)][_0x50ee5c(0x418)]((_0x22af29,_0x42c130)=>this['_removeClearOtherTimer'](_0x42c130)),this[_0x50ee5c(0x515)]&&window[_0x50ee5c(0x3c1)](this[_0x50ee5c(0x515)]);}[_0x5c58d9(0x246)](_0x2a9645){const _0x5b6c3a=_0x5c58d9;return this['_ensureSubject'](_0x2a9645)[_0x5b6c3a(0x3b0)](_0x48eeba[_0x5b6c3a(0x16a)]());}[_0x5c58d9(0x333)](_0x1268fc){const _0x3feba4=_0x5c58d9;this[_0x3feba4(0x490)][_0x3feba4(0x50c)]===0x0&&this[_0x3feba4(0x39f)](),this[_0x3feba4(0x490)][_0x3feba4(0x149)](_0x1268fc),this['_send']({'type':0x0,'memberID':this[_0x3feba4(0x303)],'unitIDs':[_0x1268fc],'isForwarded':!0x1});}[_0x5c58d9(0x1e6)](_0x4e20f9){const _0x365799=_0x5c58d9;this[_0x365799(0x490)]['delete'](_0x4e20f9),this['_selfUnitIDs'][_0x365799(0x50c)]===0x0&&this[_0x365799(0x515)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x5c58d9(0x3c4)](){const _0x5e481a=_0x5c58d9;this[_0x5e481a(0x10b)](_0x5d7f39['toDisposable'](_0x48eeba[_0x5e481a(0x2ac)](window,_0x5e481a(0x4f6))[_0x5e481a(0x1fd)](_0x82c972=>{const _0x6789b0=_0x5e481a;if(_0x82c972[_0x6789b0(0x3df)]!==_0x46f87c||!_0x82c972['newValue'])return;const _0x69035b=JSON[_0x6789b0(0xd9)](_0x82c972[_0x6789b0(0x2df)]);this[_0x6789b0(0x43b)](_0x69035b);}))),window[_0x5e481a(0x4fd)](_0x5e481a(0x2c9),()=>this[_0x5e481a(0x457)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5e481a(0x30b)](this['_selfUnitIDs'])}));}[_0x5c58d9(0x43b)](_0x53f6fb){const _0x50c82c=_0x5c58d9;switch(_0x53f6fb[_0x50c82c(0x475)]){case 0x0:this['_handleJoinEvent'](_0x53f6fb);break;case 0x1:this['_handleLeaveEvent'](_0x53f6fb);break;case 0x2:this[_0x50c82c(0x287)](_0x53f6fb);break;}}[_0x5c58d9(0x401)](_0xf49e47){const _0x1a9e19=_0x5c58d9,{unitIDs:_0x24b416,memberID:_0x312135,isForwarded:_0x1c936c}=_0xf49e47;_0x24b416[_0x1a9e19(0x418)](_0x362dd1=>{const _0x348f36=_0x1a9e19;if(!_0x1c936c&&this['_unitOnClients'][_0x348f36(0x383)](_0x362dd1)&&this[_0x348f36(0x545)](_0x362dd1)['next'](0x1),!this[_0x348f36(0x127)]['has'](_0x362dd1)||!this[_0x348f36(0x127)][_0x348f36(0x191)](_0x362dd1)[_0x348f36(0x383)](_0x312135)){const _0x4ceffd=this[_0x348f36(0x127)][_0x348f36(0x191)](_0x362dd1)||new Set();_0x4ceffd[_0x348f36(0x149)](_0x312135),this[_0x348f36(0x127)][_0x348f36(0x335)](_0x362dd1,_0x4ceffd),this[_0x348f36(0x3ef)](_0x312135);}}),_0x1c936c||this[_0x1a9e19(0x457)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1a9e19(0x490)]],'isForwarded':!0x0});}[_0x5c58d9(0x3ef)](_0xc1275f){const _0x268f37=_0x5c58d9;this['_removeClearOtherTimer'](_0xc1275f);const _0x34a95a=window[_0x268f37(0x2d5)](()=>{this['_unitOnClients']['forEach'](_0x2ad04d=>{const _0x235779=_0x1eb4;_0x2ad04d[_0x235779(0x183)](_0xc1275f);});},_0x1fcff1*0x2);this[_0x268f37(0x1e9)][_0x268f37(0x335)](_0xc1275f,_0x34a95a);}['_removeClearOtherTimer'](_0x4a7c10){const _0xa143eb=_0x5c58d9;if(this['_clearOtherTimers'][_0xa143eb(0x383)](_0x4a7c10)){const _0x20d5bb=this[_0xa143eb(0x1e9)][_0xa143eb(0x191)](_0x4a7c10);_0x20d5bb&&window[_0xa143eb(0x100)](_0x20d5bb),this[_0xa143eb(0x1e9)][_0xa143eb(0x335)](_0x4a7c10,null);}}['_handleLeaveEvent'](_0x3a8adb){const _0x3a5c48=_0x5c58d9,{memberID:_0x50b347,unitIDs:_0x563652}=_0x3a8adb;_0x563652[_0x3a5c48(0x418)](_0x284130=>{const _0x332776=_0x3a5c48;var _0x27bcac;const _0x547c2c=this['_unitOnClients'][_0x332776(0x191)](_0x284130);_0x547c2c&&(_0x547c2c[_0x332776(0x183)](_0x50b347),(_0x27bcac=this[_0x332776(0x545)](_0x284130))==null||_0x27bcac['next'](_0x547c2c['size']===0x0?0x0:0x1));}),this[_0x3a5c48(0x196)](_0x50b347);}[_0x5c58d9(0x287)](_0x19a1e8){const _0x342f78=_0x5c58d9;this[_0x342f78(0x3ef)](_0x19a1e8[_0x342f78(0x133)]);}[_0x5c58d9(0x457)](_0x37c20c){const _0x44d106=_0x5c58d9;localStorage[_0x44d106(0x4a4)](_0x46f87c,JSON['stringify'](_0x37c20c));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4d93f8=_0x1eb4;this[_0x4d93f8(0x457)]({'type':0x2,'memberID':this[_0x4d93f8(0x303)]});},_0x1fcff1);}['_ensureSubject'](_0x382733){const _0x4c0012=_0x5c58d9;return this[_0x4c0012(0x470)][_0x4c0012(0x383)](_0x382733)||this[_0x4c0012(0x470)][_0x4c0012(0x335)](_0x382733,new _0x48eeba['BehaviorSubject'](0x0)),this[_0x4c0012(0x470)][_0x4c0012(0x191)](_0x382733);}}var _0xc64216=Object[_0x5c58d9(0xf4)],_0x2331b6=Object[_0x5c58d9(0x314)],_0x51a779=(_0x2507e5,_0x598113,_0x29c20d,_0x25f287)=>{const _0x33c6f0=_0x5c58d9;for(var _0x1ba753=_0x25f287>0x1?void 0x0:_0x25f287?_0x2331b6(_0x598113,_0x29c20d):_0x598113,_0x313c06=_0x2507e5[_0x33c6f0(0x3d9)]-0x1,_0x17677d;_0x313c06>=0x0;_0x313c06--)(_0x17677d=_0x2507e5[_0x313c06])&&(_0x1ba753=(_0x25f287?_0x17677d(_0x598113,_0x29c20d,_0x1ba753):_0x17677d(_0x1ba753))||_0x1ba753);return _0x25f287&&_0x1ba753&&_0xc64216(_0x598113,_0x29c20d,_0x1ba753),_0x1ba753;},_0x1c6a55=(_0x41f484,_0x2f5d94)=>(_0x4caf74,_0xdb0e31)=>_0x2f5d94(_0x4caf74,_0xdb0e31,_0x41f484);let _0x4844c5=class{constructor(_0x454bc8,_0x5a3f80,_0x2633b9){const _0x47916a=_0x5c58d9;this[_0x47916a(0x1dc)]=_0x454bc8,this['_transformService']=_0x5a3f80,this[_0x47916a(0x12f)]=_0x2633b9;}[_0x5c58d9(0x107)](_0x1e0a2c){const _0x39f9ac=_0x5c58d9;this[_0x39f9ac(0x178)](_0x1e0a2c);}[_0x5c58d9(0x26c)](_0x434fe7){const _0x1b4bc8=_0x5c58d9,{unitID:_0x1f5002}=_0x434fe7,{collaboration:_0x5ba5a4}=this[_0x1b4bc8(0x12f)][_0x1b4bc8(0x3f7)](_0x1f5002);if(_0x5ba5a4[_0x1b4bc8(0x3d9)]===0x0)return _0x434fe7;let _0x5868e7=_0x5d7f39[_0x1b4bc8(0x441)][_0x1b4bc8(0x39b)](_0x434fe7[_0x1b4bc8(0x298)][0x0]);for(let _0x1539a8=0x0;_0x1539a8<_0x5ba5a4['length'];_0x1539a8++){const _0x563a56={'id':_0x1b4bc8(0xa3),'params':{'unitId':_0x5ba5a4[_0x1539a8][_0x1b4bc8(0x113)],..._0x5ba5a4[_0x1539a8][_0x1b4bc8(0x1b7)]}},_0x3c647a=this[_0x1b4bc8(0x2a7)][_0x1b4bc8(0x400)](_0x5868e7,_0x563a56,!0x1);if(_0x250718[_0x1b4bc8(0x40d)](_0x3c647a))throw _0x3c647a['error'];_0x5868e7=_0x3c647a[_0x1b4bc8(0x45f)];}return{..._0x5d7f39[_0x1b4bc8(0x441)]['deepClone'](_0x434fe7),'mutations':[_0x5868e7]};}[_0x5c58d9(0x178)](_0x4cf26e){const _0x55d1ce=_0x5c58d9,{unitID:_0x4d4a0a}=_0x4cf26e,{history:_0x5a0736,collaboration:_0x383ca3}=this[_0x55d1ce(0x12f)]['getStateCache'](_0x4d4a0a);if(_0x5a0736['length']===0x0&&_0x383ca3[_0x55d1ce(0x3d9)]===0x0)return;const _0x59753b=[],_0x23023c=[];let _0x2055e0=_0x5d7f39[_0x55d1ce(0x441)][_0x55d1ce(0x39b)](_0x4cf26e[_0x55d1ce(0x298)][0x0]),_0xe89438=_0x5d7f39['Tools'][_0x55d1ce(0x39b)](_0x4cf26e[_0x55d1ce(0x298)][0x0]);for(let _0x1b12fb=_0x5a0736[_0x55d1ce(0x3d9)]-0x1;_0x1b12fb>=0x0;_0x1b12fb--){const _0x38e573={'id':_0x55d1ce(0xa3),'params':{'unitId':_0x5a0736[_0x1b12fb][_0x55d1ce(0x113)],..._0x5a0736[_0x1b12fb]['undoState']}},_0x1f1dcd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a0736[_0x1b12fb][_0x55d1ce(0x113)],..._0x5a0736[_0x1b12fb]['redoState']}},_0x1975b1=this[_0x55d1ce(0x2a7)][_0x55d1ce(0x400)](_0x2055e0,_0x38e573,!0x1),_0x97a556=this[_0x55d1ce(0x2a7)]['transformMutation'](_0xe89438,_0x1f1dcd,!0x1);if(_0x250718['isTransformMutationFailure'](_0x1975b1))throw _0x1975b1['error'];if(_0x250718[_0x55d1ce(0x40d)](_0x97a556))throw _0x97a556[_0x55d1ce(0x405)];_0x59753b[_0x55d1ce(0x2a3)]({..._0x5a0736[_0x1b12fb],'undoState':_0x1975b1[_0x55d1ce(0x434)][_0x55d1ce(0x521)],'redoState':_0x97a556[_0x55d1ce(0x434)]['params']}),_0x2055e0=_0x1975b1[_0x55d1ce(0x45f)],_0xe89438=_0x97a556['m1Prime'];}_0x2055e0=_0x5d7f39[_0x55d1ce(0x441)]['deepClone'](_0x4cf26e['mutations'][0x0]),_0xe89438=_0x5d7f39[_0x55d1ce(0x441)][_0x55d1ce(0x39b)](_0x4cf26e[_0x55d1ce(0x298)][0x0]);for(let _0x37f2e5=_0x383ca3[_0x55d1ce(0x3d9)]-0x1;_0x37f2e5>=0x0;_0x37f2e5--){const _0x30abcf={'id':_0x55d1ce(0xa3),'params':{'unitId':_0x383ca3[_0x37f2e5]['unitId'],..._0x383ca3[_0x37f2e5][_0x55d1ce(0x2b0)]}},_0x25176f={'id':_0x55d1ce(0xa3),'params':{'unitId':_0x383ca3[_0x37f2e5][_0x55d1ce(0x113)],..._0x383ca3[_0x37f2e5]['redoState']}},_0x4bad04=this['_transformService']['transformMutation'](_0x2055e0,_0x30abcf,!0x1),_0x487f81=this[_0x55d1ce(0x2a7)]['transformMutation'](_0xe89438,_0x25176f,!0x1);if(_0x250718[_0x55d1ce(0x40d)](_0x4bad04))throw _0x4bad04[_0x55d1ce(0x405)];if(_0x250718[_0x55d1ce(0x40d)](_0x487f81))throw _0x487f81[_0x55d1ce(0x405)];_0x23023c[_0x55d1ce(0x2a3)]({..._0x383ca3[_0x37f2e5],'undoState':_0x4bad04[_0x55d1ce(0x434)]['params'],'redoState':_0x487f81[_0x55d1ce(0x434)][_0x55d1ce(0x521)]}),_0x2055e0=_0x4bad04[_0x55d1ce(0x45f)],_0xe89438=_0x487f81[_0x55d1ce(0x45f)];}this[_0x55d1ce(0x12f)]['setStateCache'](_0x4d4a0a,{'history':_0x59753b,'collaboration':_0x23023c});}};_0x4844c5=_0x51a779([_0x1c6a55(0x0,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x485)])),_0x1c6a55(0x1,_0x250718[_0x5c58d9(0x265)]),_0x1c6a55(0x2,_0x5d7f39[_0x5c58d9(0x3a2)](_0x43dacb[_0x5c58d9(0xc8)]))],_0x4844c5);function _0x3f559f(_0x3fcadb){const _0x31725e=_0x5c58d9;let _0x410a4c='';for(const _0x4836e6 of _0x3fcadb){const {startOffset:_0xe8a9de,endOffset:_0x4240f7,isActive:_0xa2fcbd,rangeType:_0x87d1ee,segmentId:_0x334437,segmentPage:_0x5e1e12}=_0x4836e6;_0x410a4c[_0x31725e(0x3d9)]&&(_0x410a4c+=','),_0x410a4c+=_0xe8a9de+':'+_0x4240f7+':'+(_0xa2fcbd?'1':'0')+':'+_0x87d1ee+':'+_0x334437+':'+_0x5e1e12;}return _0x410a4c;}function _0x320da9(_0xa53fec){const _0x5421cb=_0x5c58d9,_0x1b51b1=_0xa53fec[_0x5421cb(0x254)](','),_0x28a789=[];for(const _0x2b44e9 of _0x1b51b1){const [_0x23601d,_0x5e6b19,_0x4885a4,_0x2e4e7d,_0x5b738a,_0x5e1036]=_0x2b44e9[_0x5421cb(0x254)](':');_0x28a789['push']({'startOffset':Number(_0x23601d),'endOffset':Number(_0x5e6b19),'collapsed':_0x23601d===_0x5e6b19,'isActive':_0x4885a4==='1','rangeType':_0x2e4e7d===_0x5d7f39[_0x5421cb(0x39e)][_0x5421cb(0x3ce)]?_0x5d7f39['DOC_RANGE_TYPE']['TEXT']:_0x5d7f39['DOC_RANGE_TYPE'][_0x5421cb(0x3a7)],'segmentId':typeof _0x5b738a==_0x5421cb(0x369)?String(_0x5b738a):'','segmentPage':Number(_0x5e1036!=null?_0x5e1036:-0x1)});}return _0x28a789[_0x5421cb(0x431)](_0x39ca99=>_0x39ca99['isActive'])||(_0x28a789[0x0]['isActive']=!0x0),_0x28a789;}class _0x3cb27c extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(){const _0x3bf47f=_0x5c58d9;super(...arguments),_0x171b2f(this,'_collabCursorState$',new _0x48eeba[(_0x3bf47f(0x1bf))](null)),_0x171b2f(this,_0x3bf47f(0x454),this[_0x3bf47f(0x13e)][_0x3bf47f(0x1e5)]());}[_0x5c58d9(0x28c)](_0x1b9a67){const {unitID:_0x41e07d,memberID:_0x1919a3,textRanges:_0x723af5}=_0x1b9a67,_0x48f6a7=_0x3f559f(_0x723af5);if(_0x48f6a7==='')return;const _0x574294={'unitID':_0x41e07d,'memberID':_0x1919a3,'selection':_0x48f6a7};this['_collabCursorState$']['next'](_0x574294);}}var _0x5360dc=Object[_0x5c58d9(0xf4)],_0x2c4418=Object[_0x5c58d9(0x314)],_0x19c164=(_0x275349,_0x4207cd,_0x5b9020,_0x40a15c)=>{const _0xe2d723=_0x5c58d9;for(var _0x18f29e=_0x40a15c>0x1?void 0x0:_0x40a15c?_0x2c4418(_0x4207cd,_0x5b9020):_0x4207cd,_0x95f543=_0x275349[_0xe2d723(0x3d9)]-0x1,_0x2da378;_0x95f543>=0x0;_0x95f543--)(_0x2da378=_0x275349[_0x95f543])&&(_0x18f29e=(_0x40a15c?_0x2da378(_0x4207cd,_0x5b9020,_0x18f29e):_0x2da378(_0x18f29e))||_0x18f29e);return _0x40a15c&&_0x18f29e&&_0x5360dc(_0x4207cd,_0x5b9020,_0x18f29e),_0x18f29e;},_0x5bacc1=(_0x41e018,_0x115721)=>(_0x3d9907,_0x532f10)=>_0x115721(_0x3d9907,_0x532f10,_0x41e018);let _0x2bdd6b=class{constructor(_0x102a0f,_0x1edfb6){const _0x568c66=_0x5c58d9;this[_0x568c66(0x1dc)]=_0x102a0f,this[_0x568c66(0x2a7)]=_0x1edfb6;}[_0x5c58d9(0x21b)](_0x3934cd){const _0x4172c6=_0x5c58d9;var _0x2410a1;const _0x13a214=this[_0x4172c6(0x1dc)][_0x4172c6(0x191)](_0x4fe995[_0x4172c6(0x34d)]),_0x4cbe6f=(_0x2410a1=_0x13a214[_0x4172c6(0x36d)]())!=null?_0x2410a1:[];if(_0x4cbe6f['length']===0x0)return;const _0x1424f6=_0x3934cd['unitID'],_0x2d5d6e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1424f6,'actions':null,'textRanges':_0x4cbe6f}}],_0x1b8b26=this[_0x4172c6(0x2a7)][_0x4172c6(0x16c)](_0x3934cd,_0x2d5d6e);if(!_0x250718[_0x4172c6(0x1c6)](_0x1b8b26))throw _0x1b8b26['error'];const _0x997b79=_0x1b8b26[_0x4172c6(0x434)][0x0][_0x4172c6(0x521)][_0x4172c6(0x312)];Array[_0x4172c6(0x229)](_0x997b79)&&_0x997b79['length']&&_0x13a214[_0x4172c6(0x270)](_0x997b79,{'unitId':_0x1424f6,'subUnitId':_0x1424f6},!0x1);}};_0x2bdd6b=_0x19c164([_0x5bacc1(0x0,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x5bacc1(0x1,_0x250718[_0x5c58d9(0x265)])],_0x2bdd6b);const _0x284104=new Set([_0x2dcdfa[_0x5c58d9(0x14e)]['id']]);function _0x5e9e88(_0x53c2ba,_0x2606aa,_0x4cdda7,_0x187f1e,_0x184577){const _0x2e62ca=_0x5c58d9;var _0x2f5afa,_0x1981bf,_0x31d6fb,_0x29a4be;const _0x8aae51=[];for(const _0x52104b of _0x53c2ba)if(_0x284104[_0x2e62ca(0x383)](_0x52104b['id'])){if(_0x8aae51['length']>0x0)break;_0x8aae51['push'](_0x52104b);break;}else _0x8aae51[_0x2e62ca(0x443)](_0x52104b);const _0x484f35=(_0x1981bf=(_0x2f5afa=_0x184577[_0x2e62ca(0x3de)]())==null?void 0x0:_0x2f5afa[_0x2e62ca(0x554)])!=null?_0x1981bf:_0x2e62ca(0x230),_0x59ca17=(_0x29a4be=(_0x31d6fb=_0x184577[_0x2e62ca(0x3de)]())==null?void 0x0:_0x31d6fb['memberID'])!=null?_0x29a4be:_0x2e62ca(0x230);return{'changeset':{'unitID':_0x2606aa,'type':_0x250718[_0x2e62ca(0x295)](_0x4cdda7['getUnitType'](_0x2606aa)),'baseRev':_0x187f1e[_0x2e62ca(0x245)](_0x2606aa),'revision':0x0,'userID':_0x484f35,'memberID':_0x59ca17,'mutations':_0x8aae51},'pendingMutations':_0x53c2ba[_0x2e62ca(0x483)](_0x8aae51[_0x2e62ca(0x3d9)])};}function _0x467aea(_0x3a5f89,_0x5b01ad,_0x1c5282,_0x582b9e,_0x3cbaec){const _0x32a70e=_0x5c58d9;var _0x3016d6,_0x3e0447,_0x27a9b3,_0x47f12b;const _0xff5a4c=[_0x3a5f89[_0x32a70e(0x24a)]((_0x3b05fb,_0x45eb88)=>{const _0x156e2f=_0x32a70e;var _0x4b27a3;const {id:_0x9a5b93}=_0x3b05fb,{id:_0x5ea745,type:_0x3628e1}=_0x45eb88,_0x1b7ece=(_0x4b27a3=_0x3b05fb['params'])!=null?_0x4b27a3:{'actions':null},_0x4313f7=_0x45eb88[_0x156e2f(0x521)];if(_0x9a5b93&&_0x9a5b93!==_0x5ea745)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x9a5b93+'\x20-\x20'+_0x5ea745+'.');return{..._0x3b05fb,'id':_0x5ea745,'type':_0x3628e1,'params':{'unitId':_0x4313f7[_0x156e2f(0x113)],'textRanges':_0x4313f7[_0x156e2f(0x312)],'actions':_0x5d7f39[_0x156e2f(0x364)][_0x156e2f(0x31b)](_0x1b7ece['actions'],_0x4313f7[_0x156e2f(0x414)])}};},{})],_0x155366=(_0x3e0447=(_0x3016d6=_0x3cbaec[_0x32a70e(0x3de)]())==null?void 0x0:_0x3016d6[_0x32a70e(0x554)])!=null?_0x3e0447:_0x32a70e(0x230),_0x2af601=(_0x47f12b=(_0x27a9b3=_0x3cbaec[_0x32a70e(0x3de)]())==null?void 0x0:_0x27a9b3['memberID'])!=null?_0x47f12b:_0x32a70e(0x230);return{'changeset':{'unitID':_0x5b01ad,'type':_0x250718[_0x32a70e(0x295)](_0x1c5282['getUnitType'](_0x5b01ad)),'baseRev':_0x582b9e[_0x32a70e(0x245)](_0x5b01ad),'revision':0x0,'userID':_0x155366,'memberID':_0x2af601,'mutations':_0xff5a4c},'pendingMutations':[]};}function _0xc12cee(_0x384dfe,_0xe27873){const _0x1c9c42=_0x5c58d9,_0x15440f=new _0x48eeba[(_0x1c9c42(0x4d7))](0x1);return setTimeout(()=>_0x15440f[_0x1c9c42(0x4fb)](_0xe27873),_0x384dfe),_0x15440f['asObservable']()[_0x1c9c42(0x3b0)](_0x48eeba[_0x1c9c42(0x533)](0x1));}const _0x3862ea={'id':_0x2dcdfa[_0x5c58d9(0x4fe)]['id'],'type':_0x5d7f39[_0x5c58d9(0x1f3)][_0x5c58d9(0x543)],'params':{}};var _0x1c5645=Object['defineProperty'],_0x557b0f=Object[_0x5c58d9(0x314)],_0x39df17=(_0x41adcb,_0x476612,_0x4fb68c,_0x28e586)=>{const _0x2110c0=_0x5c58d9;for(var _0x2d8c18=_0x28e586>0x1?void 0x0:_0x28e586?_0x557b0f(_0x476612,_0x4fb68c):_0x476612,_0x971957=_0x41adcb[_0x2110c0(0x3d9)]-0x1,_0x4c08e2;_0x971957>=0x0;_0x971957--)(_0x4c08e2=_0x41adcb[_0x971957])&&(_0x2d8c18=(_0x28e586?_0x4c08e2(_0x476612,_0x4fb68c,_0x2d8c18):_0x4c08e2(_0x2d8c18))||_0x2d8c18);return _0x28e586&&_0x2d8c18&&_0x1c5645(_0x476612,_0x4fb68c,_0x2d8c18),_0x2d8c18;},_0x2e7e5e=(_0x2f8159,_0x54486d)=>(_0x489e36,_0x1e50a5)=>_0x54486d(_0x489e36,_0x1e50a5,_0x2f8159),_0x4eef96=(_0x1dd694=>(_0x1dd694[_0x5c58d9(0x316)]=_0x5c58d9(0x2ef),_0x1dd694[_0x5c58d9(0x486)]=_0x5c58d9(0x3ad),_0x1dd694[_0x5c58d9(0x286)]=_0x5c58d9(0x360),_0x1dd694[_0x5c58d9(0x216)]=_0x5c58d9(0x2ed),_0x1dd694[_0x5c58d9(0xb1)]=_0x5c58d9(0x23a),_0x1dd694[_0x5c58d9(0x452)]=_0x5c58d9(0x290),_0x1dd694[_0x5c58d9(0x374)]='conflict',_0x1dd694[_0x5c58d9(0x1d6)]=_0x5c58d9(0x43e),_0x1dd694))(_0x4eef96||{});const _0x245f56=0xea60;class _0x4b1960{constructor(_0x47fce6,_0x1be31b,_0xce926a,_0x6b932b,_0x1a89c7,_0x34517b,_0x32e97c,_0x3cbd5a,_0x327fad){const _0x330453=_0x5c58d9;_0x171b2f(this,_0x330453(0x2d6),null),_0x171b2f(this,_0x330453(0x15f),[]),(this[_0x330453(0x541)]=_0x47fce6,this[_0x330453(0x475)]=_0x1be31b,this[_0x330453(0x53b)]=_0x1a89c7,this[_0x330453(0x4c8)]=_0x34517b,this[_0x330453(0x42f)]=_0x32e97c,this[_0x330453(0x412)]=_0x3cbd5a,this[_0x330453(0xb4)]=_0x327fad,this[_0x330453(0x2d6)]=_0xce926a,this['_pendingMutations']=_0x6b932b);}[_0x5c58d9(0x279)](_0x5e8e69){const _0x21433e=_0x5c58d9,_0x1ba53a=this[_0x21433e(0x412)][_0x21433e(0x245)](this[_0x21433e(0x541)]);return _0x5e8e69[_0x21433e(0x154)]>_0x1ba53a+0x1?(this[_0x21433e(0x53b)]['onMissingChangesets']({'from':_0x1ba53a,'to':_0x5e8e69[_0x21433e(0x154)]-0x1}),!0x0):!0x1;}[_0x5c58d9(0x534)](_0x5dcd94){const _0x5a9d95=_0x5c58d9;this[_0x5a9d95(0x42f)][_0x5a9d95(0x30f)](this['unitID'],_0x5dcd94);}[_0x5c58d9(0x120)](_0x358cae){const _0x469acc=_0x5c58d9;var _0x1bace7,_0x57160a;(_0x57160a=(_0x1bace7=this[_0x469acc(0x53b)])['onTransformSelections'])==null||_0x57160a[_0x469acc(0x46c)](_0x1bace7,_0x358cae);}[_0x5c58d9(0x539)](_0x2c0f5f){const _0x5b9c25=_0x5c58d9;var _0x40e4e3,_0x68aab6;return(_0x68aab6=(_0x40e4e3=this['_handler'])['onTransformIME'])==null?void 0x0:_0x68aab6[_0x5b9c25(0x46c)](_0x40e4e3,_0x2c0f5f);}[_0x5c58d9(0x1af)](_0x33a392){const _0x50be7a=_0x5c58d9;var _0x11dfcf,_0x314c04;return(_0x314c04=(_0x11dfcf=this[_0x50be7a(0x53b)])[_0x50be7a(0xb7)])==null?void 0x0:_0x314c04[_0x50be7a(0x46c)](_0x11dfcf,_0x33a392);}[_0x5c58d9(0x12c)](_0x20079b){const _0x6c0a1a=_0x5c58d9;var _0x469bc6,_0x124576,_0xcea128;return(_0xcea128=(_0x124576=(_0x469bc6=this[_0x6c0a1a(0x53b)])[_0x6c0a1a(0x2c5)])==null?void 0x0:_0x124576[_0x6c0a1a(0x46c)](_0x469bc6,_0x20079b))!=null?_0xcea128:_0x20079b;}['_transformRemoteChangesetByStateCache'](_0x2b60e4){const _0x3b42a8=_0x5c58d9;var _0x370734,_0x3b7dde,_0x8badc;return(_0x8badc=(_0x3b7dde=(_0x370734=this[_0x3b42a8(0x53b)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3b7dde[_0x3b42a8(0x46c)](_0x370734,_0x2b60e4))!=null?_0x8badc:_0x2b60e4;}[_0x5c58d9(0x235)](_0x2ab687){const _0x1b8e7e=_0x5c58d9;var _0x2c0b79,_0x3df840;if(this[_0x1b8e7e(0x475)]===_0x54490e[_0x1b8e7e(0x3c8)]){const {unitID:_0x174b42,mutations:_0x57f821,memberID:_0xfa4397}=_0x2ab687,_0x2f78bd=_0x57f821[0x0][_0x1b8e7e(0x521)][_0x1b8e7e(0x312)];Array[_0x1b8e7e(0x229)](_0x2f78bd)&&_0x2f78bd[_0x1b8e7e(0x3d9)]>0x0&&((_0x3df840=(_0x2c0b79=this[_0x1b8e7e(0x53b)])[_0x1b8e7e(0x1c3)])==null||_0x3df840[_0x1b8e7e(0x46c)](_0x2c0b79,{'unitID':_0x174b42,'memberID':_0xfa4397,'textRanges':_0x2f78bd}));}}['_updateLocalCache'](){const _0xbcea4b=_0x5c58d9;this['_localCacheService'][_0xbcea4b(0xf3)](this[_0xbcea4b(0x541)],this[_0xbcea4b(0x475)],this[_0xbcea4b(0x2d6)],this[_0xbcea4b(0x15f)]);}[_0x5c58d9(0x187)](){const _0xfbc384=_0x5c58d9;return this['_revisionService'][_0xfbc384(0x245)](this[_0xfbc384(0x541)]);}[_0x5c58d9(0x134)](){const _0x1e18cf=_0x5c58d9;this[_0x1e18cf(0x412)][_0x1e18cf(0x380)](this[_0x1e18cf(0x541)]);}[_0x5c58d9(0x1d1)](_0x3861ea){const _0x12f6ac=_0x5c58d9;var _0x22a04a;let _0x340de7=this[_0x12f6ac(0x12c)](_0x3861ea);_0x340de7=this['_transformRemoteChangesetByStateCache'](_0x340de7);const _0xd0e31=_0x5d7f39[_0x12f6ac(0x449)](_0x340de7[_0x12f6ac(0x298)],this['_commandService'],{'fromCollab':!0x0});if(!_0xd0e31[_0x12f6ac(0x482)])throw _0xd0e31[_0x12f6ac(0x405)]instanceof Error?_0xd0e31[_0x12f6ac(0x405)]:new Error((_0x22a04a=_0xd0e31['error'])!=null?_0x22a04a:'[CollaborationState]:\x20apply\x20error!');this[_0x12f6ac(0x539)](_0x340de7),this[_0x12f6ac(0x1af)](_0x340de7),this['_transformUndoredo'](_0x3861ea),this[_0x12f6ac(0x120)](_0x340de7),this[_0x12f6ac(0x235)](_0x340de7),this['_incrementRevisionNumber']();}}let _0x3d4cd4=class extends _0x4b1960{constructor(_0x27c1bf,_0x1a400b,_0x565899,_0x11a948,_0x2dd20d,_0x1dc7ab,_0x14e440,_0x4948cb,_0x2a0209,_0x3d357b){const _0x162fdd=_0x5c58d9;super(_0x27c1bf,_0x1a400b,null,[],_0x565899,_0x4948cb,_0x14e440,_0x11a948,_0x2dd20d),_0x171b2f(this,_0x162fdd(0x55a),_0x162fdd(0x3ad)),(this[_0x162fdd(0x1dc)]=_0x1dc7ab,this[_0x162fdd(0x4a8)]=_0x2a0209,this[_0x162fdd(0x2a7)]=_0x3d357b);}[_0x5c58d9(0x370)](_0x2aece5){const _0x52821b=_0x5c58d9,_0x25b789=this[_0x52821b(0x1dc)][_0x52821b(0xd6)](_0x5e1069,this[_0x52821b(0x541)],this[_0x52821b(0x475)],[_0x2aece5],this[_0x52821b(0x53b)]);return _0x25b789[_0x52821b(0x1c9)](),_0x25b789['_updateLocalCache'](),_0x25b789;}[_0x5c58d9(0x1f0)](_0x2d3c68){const _0x550890=_0x5c58d9;if(this[_0x550890(0x279)](_0x2d3c68))return this['_injector'][_0x550890(0xd6)](_0x357f2b,this[_0x550890(0x541)],this[_0x550890(0x475)],null,[],null,[_0x2d3c68],this['_handler']);try{const _0x2c43f6=this[_0x550890(0x2a7)][_0x550890(0x16c)](_0x2d3c68,[_0x3862ea]);if(_0x250718[_0x550890(0x1c6)](_0x2c43f6)){const {c1Prime:_0x482ae9}=_0x2c43f6;return this[_0x550890(0x1d1)](_0x482ae9),this;}throw _0x2c43f6['error'];}catch(_0x4b3fe3){return this[_0x550890(0x4a8)][_0x550890(0x405)](_0x4b3fe3),this['_onConflict'](!0x1);}}[_0x5c58d9(0x33e)](_0x688a04){const _0x56aff6=_0x5c58d9;return this[_0x56aff6(0x1dc)][_0x56aff6(0xd6)](_0x1aaa98,this['unitID'],this[_0x56aff6(0x475)],null,[],this[_0x56aff6(0x53b)],_0x688a04);}[_0x5c58d9(0x3dd)](){const _0x32602f=_0x5c58d9;throw new Error(_0x32602f(0x4bd));}[_0x5c58d9(0x50f)](){const _0x1f33af=_0x5c58d9;throw new Error(_0x1f33af(0x266));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x39f6c=_0x5c58d9;return this[_0x39f6c(0x1dc)][_0x39f6c(0xd6)](_0x1f5877,this[_0x39f6c(0x541)],this[_0x39f6c(0x475)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x5c58d9(0x1ba)](){const _0xed8d30=_0x5c58d9;throw new Error(_0xed8d30(0x4be));}[_0x5c58d9(0x15a)](){const _0x8f504=_0x5c58d9,_0x23521a=this[_0x8f504(0x412)][_0x8f504(0x245)](this['unitID']);return this[_0x8f504(0x53b)][_0x8f504(0x207)]({'from':_0x23521a,'to':0x0}),this[_0x8f504(0x1dc)][_0x8f504(0xd6)](_0x357f2b,this[_0x8f504(0x541)],this[_0x8f504(0x475)],null,[],null,[],this[_0x8f504(0x53b)]);}};_0x3d4cd4=_0x39df17([_0x2e7e5e(0x3,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x38c)])),_0x2e7e5e(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x115)])),_0x2e7e5e(0x5,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x485)])),_0x2e7e5e(0x6,_0x5d7f39[_0x5c58d9(0x2a1)]),_0x2e7e5e(0x7,_0x5d7f39[_0x5c58d9(0x42d)]),_0x2e7e5e(0x8,_0x5d7f39['ILogService']),_0x2e7e5e(0x9,_0x250718['ITransformService'])],_0x3d4cd4);let _0x5e1069=class extends _0x4b1960{constructor(_0x3c30c5,_0x22f301,_0x2fb916,_0x154614,_0x6c687a,_0x26f649,_0x2eda38,_0x5a020d,_0x26d3b5,_0x1a91f2,_0x3d94cb,_0x4e0396,_0x174e76,_0x4f1dd6){const _0x5e5d27=_0x5c58d9;super(_0x3c30c5,_0x22f301,null,_0x2fb916,_0x154614,_0x1a91f2,_0x4f1dd6,_0x26f649,_0x2eda38),_0x171b2f(this,_0x5e5d27(0x55a),_0x5e5d27(0x360)),_0x171b2f(this,_0x5e5d27(0x1ed),null),_0x171b2f(this,_0x5e5d27(0x426),null),(this['_injector']=_0x6c687a,this[_0x5e5d27(0xa5)]=_0x5a020d,this['_logService']=_0x26d3b5,this[_0x5e5d27(0x7a)]=_0x3d94cb,this[_0x5e5d27(0x2a7)]=_0x4e0396,this[_0x5e5d27(0x224)]=_0x174e76);}['appendMutation'](_0x49c754){const _0x1a0e59=_0x5c58d9;return this[_0x1a0e59(0x15f)][_0x1a0e59(0x443)](_0x49c754),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x13edc6){const _0x3a8c5a=_0x5c58d9;if(this['_checkMissing'](_0x13edc6))return this[_0x3a8c5a(0x261)](),this[_0x3a8c5a(0x1dc)][_0x3a8c5a(0xd6)](_0x357f2b,this['unitID'],this[_0x3a8c5a(0x475)],null,this[_0x3a8c5a(0x15f)],null,[_0x13edc6],this[_0x3a8c5a(0x53b)]);try{const _0x3a612a=this[_0x3a8c5a(0x2a7)][_0x3a8c5a(0x16c)](_0x13edc6,this[_0x3a8c5a(0x15f)]);if(_0x250718[_0x3a8c5a(0x1c6)](_0x3a612a)){const {c1Prime:_0x326028,m2Prime:_0x1d370e}=_0x3a612a;this['_executeRemoteChangeset'](_0x326028);const _0x5d996b=this['_injector'][_0x3a8c5a(0xd6)](_0x5e1069,this[_0x3a8c5a(0x541)],this[_0x3a8c5a(0x475)],_0x1d370e,this[_0x3a8c5a(0x53b)]);return this[_0x3a8c5a(0x261)](),_0x5d996b[_0x3a8c5a(0x1c9)](this[_0x3a8c5a(0x1ed)]?Math[_0x3a8c5a(0x96)](0x0,new Date()[_0x3a8c5a(0x27c)]()-this[_0x3a8c5a(0x1ed)]):this[_0x3a8c5a(0x2f1)]()),_0x5d996b;}throw _0x3a612a[_0x3a8c5a(0x405)];}catch(_0x76199f){return this[_0x3a8c5a(0x4a8)]['error'](_0x76199f),this[_0x3a8c5a(0x33e)](!0x1);}}[_0x5c58d9(0x3dd)](){const _0x42cf13=_0x5c58d9;throw new Error(_0x42cf13(0x1c4));}[_0x5c58d9(0x50f)](){const _0x221105=_0x5c58d9;throw new Error(_0x221105(0x354));}[_0x5c58d9(0xed)](){return this;}['toggleOffline'](){const _0x4a3925=_0x5c58d9;return this[_0x4a3925(0x261)](),this[_0x4a3925(0x1dc)][_0x4a3925(0xd6)](_0x1f5877,this['unitID'],this[_0x4a3925(0x475)],null,this[_0x4a3925(0x15f)],this['_handler']);}[_0x5c58d9(0x2a2)](){return this;}[_0x5c58d9(0x1c9)](_0x4e2d1c){const _0x304d89=_0x5c58d9,_0x136689=_0x4e2d1c!=null?_0x4e2d1c:this[_0x304d89(0x2f1)]();this[_0x304d89(0x1ed)]=new Date()['getTime'](),this[_0x304d89(0x426)]=window[_0x304d89(0x2d5)](()=>{const _0x3b4952=_0x304d89;this[_0x3b4952(0x261)]();let _0x176b4f=null;switch(this[_0x3b4952(0x475)]){case _0x54490e[_0x3b4952(0x3f0)]:{_0x176b4f=_0x5e9e88(this['_pendingMutations'],this[_0x3b4952(0x541)],this[_0x3b4952(0x224)],this[_0x3b4952(0x412)],this[_0x3b4952(0xa5)]);break;}case _0x54490e[_0x3b4952(0x3c8)]:{this[_0x3b4952(0x15f)][_0x3b4952(0x83)](_0x494e86=>_0x494e86['id']===_0x4fe995['RichTextEditingMutation']['id'])?_0x176b4f=_0x467aea(this[_0x3b4952(0x15f)],this[_0x3b4952(0x541)],this[_0x3b4952(0x224)],this[_0x3b4952(0x412)],this[_0x3b4952(0xa5)]):_0x176b4f=_0x5e9e88(this[_0x3b4952(0x15f)],this['unitID'],this[_0x3b4952(0x224)],this['_revisionService'],this[_0x3b4952(0xa5)]);break;}default:throw new Error(_0x3b4952(0xbf)+this[_0x3b4952(0x475)]+'\x20in\x20_schedule.');}const {changeset:_0x39ce92,pendingMutations:_0x42d348}=_0x176b4f;this[_0x3b4952(0x53b)][_0x3b4952(0x468)](_0x39ce92);const _0x4a8bd0=_0x42d348[_0x3b4952(0x3d9)]?this[_0x3b4952(0x1dc)][_0x3b4952(0xd6)](_0x56788c,this[_0x3b4952(0x541)],this[_0x3b4952(0x475)],_0x39ce92,_0x42d348,this['_handler'],void 0x0):this['_injector'][_0x3b4952(0xd6)](_0x5243fd,this[_0x3b4952(0x541)],this[_0x3b4952(0x475)],_0x39ce92,this[_0x3b4952(0x53b)]);_0x4a8bd0[_0x3b4952(0x44c)](),this[_0x3b4952(0x53b)][_0x3b4952(0x4ca)](this,_0x4a8bd0);},_0x136689);}[_0x5c58d9(0x2f1)](){const _0x58bb57=_0x5c58d9;var _0x4ffd12;const _0x23c0fc=this[_0x58bb57(0x7a)][_0x58bb57(0x1a0)](_0x14626f);return(_0x4ffd12=_0x23c0fc==null?void 0x0:_0x23c0fc[_0x58bb57(0x3b1)])!=null?_0x4ffd12:0x7d0;}[_0x5c58d9(0x1ba)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5c58d9(0x261)](){const _0x26d8a6=_0x5c58d9;this[_0x26d8a6(0x426)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x26d8a6(0x426)]=null);}[_0x5c58d9(0x33e)](_0x2e854b){const _0x46719f=_0x5c58d9;return this[_0x46719f(0x261)](),this[_0x46719f(0x1dc)][_0x46719f(0xd6)](_0x1aaa98,this[_0x46719f(0x541)],this[_0x46719f(0x475)],null,this[_0x46719f(0x15f)],this[_0x46719f(0x53b)],_0x2e854b);}};_0x5e1069=_0x39df17([_0x2e7e5e(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x2e7e5e(0x5,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x38c)])),_0x2e7e5e(0x6,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x115)])),_0x2e7e5e(0x7,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x215)])),_0x2e7e5e(0x8,_0x5d7f39[_0x5c58d9(0x221)]),_0x2e7e5e(0x9,_0x5d7f39[_0x5c58d9(0x42d)]),_0x2e7e5e(0xa,_0x5d7f39[_0x5c58d9(0x436)]),_0x2e7e5e(0xb,_0x250718[_0x5c58d9(0x265)]),_0x2e7e5e(0xc,_0x5d7f39[_0x5c58d9(0x54a)]),_0x2e7e5e(0xd,_0x5d7f39[_0x5c58d9(0x2a1)])],_0x5e1069);let _0x5243fd=class extends _0x4b1960{constructor(_0x3f29d5,_0x10def7,_0x1787dc,_0x16b3f5,_0x284945,_0x2a577e,_0x254754,_0x5c5a28,_0x1a0209,_0x31ba52,_0x269710){const _0x335ee3=_0x5c58d9;super(_0x3f29d5,_0x10def7,_0x1787dc,[],_0x16b3f5,_0x5c5a28,_0x269710,_0x2a577e,_0x254754),_0x171b2f(this,_0x335ee3(0x55a),'awaiting'),_0x171b2f(this,_0x335ee3(0x1b5),0x0),_0x171b2f(this,_0x335ee3(0x2c2)),_0x171b2f(this,'_sender'),(this['_injector']=_0x284945,this['_logService']=_0x1a0209,this[_0x335ee3(0x2a7)]=_0x31ba52);}[_0x5c58d9(0x370)](_0x415cf0){const _0x226550=_0x5c58d9;this['_clearScheduledTask']();const _0x2d90b6=this['_injector'][_0x226550(0xd6)](_0x56788c,this[_0x226550(0x541)],this[_0x226550(0x475)],this['_awaitingChangeset'],[_0x415cf0],this['_handler'],this[_0x226550(0x2c2)]);return _0x2d90b6['_updateLocalCache'](),_0x2d90b6;}['onRemoteChangeset'](_0x1e1299){const _0x4d1811=_0x5c58d9;if(this[_0x4d1811(0x279)](_0x1e1299))return this[_0x4d1811(0x261)](),this[_0x4d1811(0x1dc)][_0x4d1811(0xd6)](_0x357f2b,this['unitID'],this[_0x4d1811(0x475)],this[_0x4d1811(0x2d6)],[],null,[_0x1e1299],this['_handler']);try{const _0x1a4959=this['_transformService'][_0x4d1811(0x516)]([_0x1e1299],[this[_0x4d1811(0x2d6)]],!0x1);if(_0x250718[_0x4d1811(0x508)](_0x1a4959)){const {c1Prime:_0x18010d,c2Prime:_0x6354ff}=_0x1a4959;this[_0x4d1811(0x1d1)](_0x18010d[0x0]),_0x6354ff[0x0][_0x4d1811(0x2f2)]=this[_0x4d1811(0x187)](),this[_0x4d1811(0x261)]();const _0x711079=this[_0x4d1811(0x1dc)]['createInstance'](_0x5243fd,this[_0x4d1811(0x541)],this[_0x4d1811(0x475)],_0x6354ff[0x0],this[_0x4d1811(0x53b)]);return _0x711079[_0x4d1811(0x44c)](),_0x711079;}return this[_0x4d1811(0x33e)](!0x1);}catch(_0x3a21c5){return this[_0x4d1811(0x4a8)]['error'](_0x3a21c5),this[_0x4d1811(0x33e)](!0x1);}}[_0x5c58d9(0x3dd)](_0x5f29ba){const _0x173f4f=_0x5c58d9;this[_0x173f4f(0x261)]();const _0xc879c1=this[_0x173f4f(0x412)][_0x173f4f(0x245)](this[_0x173f4f(0x541)]);if(_0x5f29ba['revision']<_0xc879c1-0x1)return this;if(this[_0x173f4f(0x279)](_0x5f29ba))return this['_injector']['createInstance'](_0x357f2b,this['unitID'],this[_0x173f4f(0x475)],null,[],this[_0x173f4f(0x2d6)],[],this[_0x173f4f(0x53b)]);this[_0x173f4f(0x134)]();const _0x4f6029=this[_0x173f4f(0x1dc)]['createInstance'](_0x3d4cd4,this[_0x173f4f(0x541)],this[_0x173f4f(0x475)],this[_0x173f4f(0x53b)]);return _0x4f6029[_0x173f4f(0x44c)](),_0x4f6029;}[_0x5c58d9(0x50f)](_0x52b8cf){const _0x398b3b=_0x5c58d9;return this[_0x398b3b(0x33e)](!!(_0x52b8cf!=null&&_0x52b8cf[_0x398b3b(0x259)]));}[_0x5c58d9(0xed)](_0x571fda){const _0x3488e6=_0x5c58d9;return this[_0x3488e6(0x1b5)]>_0x245f56?this[_0x3488e6(0x1da)]():(this[_0x3488e6(0x2c2)]=_0xc12cee(this[_0x3488e6(0x1b5)],{'timeout':this['_resendTimeout'],'reqId':_0x571fda[_0x3488e6(0x4b3)]}),this['_sender']=this[_0x3488e6(0x2c2)][_0x3488e6(0x1fd)](({reqId:_0xfb91ba,timeout:_0x367f0a})=>{const _0x25a0b1=_0x3488e6;this[_0x25a0b1(0x48e)](_0xfb91ba,_0x367f0a);}),this);}[_0x5c58d9(0x1da)](){const _0x1f70df=_0x5c58d9;return this[_0x1f70df(0x261)](),this[_0x1f70df(0x1dc)][_0x1f70df(0xd6)](_0x1f5877,this[_0x1f70df(0x541)],this['type'],this['_awaitingChangeset'],[],this[_0x1f70df(0x53b)]);}['toggleOnline'](){return this;}[_0x5c58d9(0x1ba)](){const _0x403980=_0x5c58d9;this[_0x403980(0x53b)]['onSendChangeset'](this[_0x403980(0x2d6)]);}['_onConflict'](_0x2b2552){const _0x34e495=_0x5c58d9;return this[_0x34e495(0x261)](),this['_injector'][_0x34e495(0xd6)](_0x1aaa98,this[_0x34e495(0x541)],this[_0x34e495(0x475)],this[_0x34e495(0x2d6)],[],this[_0x34e495(0x53b)],_0x2b2552);}[_0x5c58d9(0x48e)](_0x341375,_0x59c6cb){const _0x4d86b5=_0x5c58d9;var _0x45b01a;_0x341375===((_0x45b01a=this[_0x4d86b5(0x2d6)])==null?void 0x0:_0x45b01a[_0x4d86b5(0x4b3)])&&(this[_0x4d86b5(0x1ba)](),this[_0x4d86b5(0x1b5)]=_0x59c6cb===0x0?0x3e8:_0x59c6cb*0x2);}[_0x5c58d9(0x261)](){const _0x4d20b7=_0x5c58d9;var _0xf1564e;(_0xf1564e=this[_0x4d20b7(0x4f7)])==null||_0xf1564e['unsubscribe'](),this['_resendTimeout']=0x0;}};_0x5243fd=_0x39df17([_0x2e7e5e(0x4,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x485)])),_0x2e7e5e(0x5,_0x5d7f39['Inject'](_0x250718['RevisionService'])),_0x2e7e5e(0x6,_0x5d7f39['Inject'](_0xe0b603[_0x5c58d9(0x115)])),_0x2e7e5e(0x7,_0x5d7f39['ICommandService']),_0x2e7e5e(0x8,_0x5d7f39[_0x5c58d9(0x221)]),_0x2e7e5e(0x9,_0x250718[_0x5c58d9(0x265)]),_0x2e7e5e(0xa,_0x5d7f39[_0x5c58d9(0x2a1)])],_0x5243fd);let _0x56788c=class extends _0x4b1960{constructor(_0x3ae7d6,_0x2fb969,_0x687033,_0x1eae2d,_0x2e82e5,_0x3026a1,_0x31b8c7,_0x2a996f,_0x28799e,_0x2d434f,_0x2e2a4e,_0x1559c1,_0x3ee552){const _0x386d81=_0x5c58d9;super(_0x3ae7d6,_0x2fb969,_0x687033,_0x1eae2d,_0x2e82e5,_0x2d434f,_0x3ee552,_0x2a996f,_0x28799e),_0x171b2f(this,_0x386d81(0x55a),_0x386d81(0x23a)),_0x171b2f(this,_0x386d81(0x1b5),0x0),_0x171b2f(this,'_resendTimer'),_0x171b2f(this,'_sender'),(this['_injector']=_0x31b8c7,this[_0x386d81(0x4a8)]=_0x2e2a4e,this[_0x386d81(0x2a7)]=_0x1559c1,_0x3026a1&&(this['_resendTimer']=_0x3026a1,this['_sender']=this['_resendTimer'][_0x386d81(0x1fd)](({reqId:_0x2bc6f1,timeout:_0x1aa24})=>{const _0x6942ea=_0x386d81;this[_0x6942ea(0x48e)](_0x2bc6f1,_0x1aa24);})));}[_0x5c58d9(0x370)](_0x2c6a40){const _0x27db1c=_0x5c58d9;return this[_0x27db1c(0x15f)][_0x27db1c(0x443)](_0x2c6a40),this;}[_0x5c58d9(0x1f0)](_0x35d81c){const _0x2e3768=_0x5c58d9;if(this[_0x2e3768(0x279)](_0x35d81c))return this[_0x2e3768(0x261)](),this[_0x2e3768(0x1dc)]['createInstance'](_0x357f2b,this[_0x2e3768(0x541)],this['type'],this[_0x2e3768(0x2d6)],this['_pendingMutations'],null,[_0x35d81c],this['_handler']);try{const _0xfd1832=this[_0x2e3768(0x2a7)][_0x2e3768(0x516)]([_0x35d81c],[this[_0x2e3768(0x2d6)]],!0x1);if(_0x250718[_0x2e3768(0x508)](_0xfd1832)){const {c1Prime:_0x2b0eb6,c2Prime:_0x59abcd}=_0xfd1832,_0xdf55e1=this[_0x2e3768(0x2a7)][_0x2e3768(0x16c)](_0x2b0eb6[0x0],this[_0x2e3768(0x15f)]);if(_0x250718['isTransformMutationsWithChangesetSuccess'](_0xdf55e1)){const {c1Prime:_0x4f8a19,m2Prime:_0x3e3479}=_0xdf55e1;return this[_0x2e3768(0x1d1)](_0x4f8a19),_0x59abcd[0x0]['baseRev']=this[_0x2e3768(0x187)](),this[_0x2e3768(0x261)](),this[_0x2e3768(0x1dc)][_0x2e3768(0xd6)](_0x56788c,this[_0x2e3768(0x541)],this[_0x2e3768(0x475)],_0x59abcd[0x0],_0x3e3479,this['_handler'],void 0x0);}throw _0xdf55e1[_0x2e3768(0x405)];}throw _0xfd1832[_0x2e3768(0x405)];}catch(_0x5a3e33){return this[_0x2e3768(0x4a8)][_0x2e3768(0x405)](_0x5a3e33),this[_0x2e3768(0x33e)](!0x1);}}[_0x5c58d9(0x3dd)](_0x1f2256){const _0x10672f=_0x5c58d9;if(this[_0x10672f(0x261)](),this[_0x10672f(0x279)](_0x1f2256))return this[_0x10672f(0x1dc)]['createInstance'](_0x357f2b,this[_0x10672f(0x541)],this[_0x10672f(0x475)],null,this[_0x10672f(0x15f)],this[_0x10672f(0x2d6)],[],this[_0x10672f(0x53b)]);this[_0x10672f(0x134)]();const _0x59f165=this[_0x10672f(0x1dc)][_0x10672f(0xd6)](_0x5e1069,this[_0x10672f(0x541)],this[_0x10672f(0x475)],this[_0x10672f(0x15f)],this[_0x10672f(0x53b)]);return _0x59f165[_0x10672f(0x1c9)](),_0x59f165['_updateLocalCache'](),_0x59f165;}[_0x5c58d9(0x50f)](_0xc880e7){const _0xc8de49=_0x5c58d9;return this['_onConflict'](!!(_0xc880e7!=null&&_0xc880e7[_0xc8de49(0x259)]));}['onRemoteRetry'](_0x65e9a0){const _0xc00b4e=_0x5c58d9;return this[_0xc00b4e(0x1b5)]>_0x245f56?this[_0xc00b4e(0x1da)]():(this['_resendTimer']=_0xc12cee(this[_0xc00b4e(0x1b5)],{'timeout':this[_0xc00b4e(0x1b5)],'reqId':_0x65e9a0['reqId']}),this[_0xc00b4e(0x4f7)]=this[_0xc00b4e(0x2c2)]['subscribe'](({reqId:_0x203064,timeout:_0x3c8ce6})=>{this['_resendWithTimeout'](_0x203064,_0x3c8ce6);}),this);}[_0x5c58d9(0x1da)](){const _0x16b6d0=_0x5c58d9;return this[_0x16b6d0(0x261)](),this[_0x16b6d0(0x1dc)][_0x16b6d0(0xd6)](_0x1f5877,this[_0x16b6d0(0x541)],this[_0x16b6d0(0x475)],this[_0x16b6d0(0x2d6)],this[_0x16b6d0(0x15f)],this[_0x16b6d0(0x53b)]);}[_0x5c58d9(0x2a2)](){return this;}[_0x5c58d9(0x1ba)](){const _0x3636d3=_0x5c58d9;this[_0x3636d3(0x53b)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5c58d9(0x33e)](_0x47e4ab){const _0x31943c=_0x5c58d9;return this[_0x31943c(0x261)](),this[_0x31943c(0x1dc)][_0x31943c(0xd6)](_0x1aaa98,this['unitID'],this[_0x31943c(0x475)],null,this[_0x31943c(0x15f)],this[_0x31943c(0x53b)],_0x47e4ab);}['_resendWithTimeout'](_0x1a767b,_0x410d72){const _0xa85fe9=_0x5c58d9;var _0x385de5;_0x1a767b===((_0x385de5=this[_0xa85fe9(0x2d6)])==null?void 0x0:_0x385de5['reqId'])&&(this[_0xa85fe9(0x1ba)](),this[_0xa85fe9(0x1b5)]=_0x410d72===0x0?0x3e8:_0x410d72*0x2);}[_0x5c58d9(0x261)](){const _0x258187=_0x5c58d9;var _0x4ebdab;(_0x4ebdab=this['_sender'])==null||_0x4ebdab[_0x258187(0x2be)](),this[_0x258187(0x1b5)]=0x0;}};_0x56788c=_0x39df17([_0x2e7e5e(0x6,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x485)])),_0x2e7e5e(0x7,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x38c)])),_0x2e7e5e(0x8,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603['LocalCacheService'])),_0x2e7e5e(0x9,_0x5d7f39['ICommandService']),_0x2e7e5e(0xa,_0x5d7f39[_0x5c58d9(0x221)]),_0x2e7e5e(0xb,_0x250718['ITransformService']),_0x2e7e5e(0xc,_0x5d7f39['IUndoRedoService'])],_0x56788c);let _0x1aaa98=class extends _0x4b1960{constructor(_0x54dc97,_0x99f271,_0x349c5d,_0x3f8a5c,_0x2906dc,_0x1afdb4=!0x1,_0x5e0f27,_0x297c46,_0x1a5d4c,_0x49f64f,_0x559900,_0x46d932,_0x4fb83c){const _0x23df16=_0x5c58d9;super(_0x54dc97,_0x99f271,_0x349c5d,_0x3f8a5c,_0x2906dc,_0x297c46,_0x1a5d4c,_0x559900,_0x49f64f),_0x171b2f(this,_0x23df16(0x55a),'conflict'),(this[_0x23df16(0x1cd)]=_0x1afdb4,this['_permissionService']=_0x5e0f27,this['_localeService']=_0x46d932,this[_0x23df16(0x41c)]=_0x4fb83c,this[_0x23df16(0x27a)](),this[_0x23df16(0x2a0)](),this[_0x23df16(0x439)]());}[_0x5c58d9(0x370)](){return this;}[_0x5c58d9(0x1f0)](){return this;}[_0x5c58d9(0x3dd)](){return this;}[_0x5c58d9(0x50f)](){return this;}[_0x5c58d9(0xed)](){return this;}['toggleOffline'](){return this;}[_0x5c58d9(0x2a2)](){return this;}[_0x5c58d9(0x1ba)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5c58d9(0x2a0)](){const _0x10b545=_0x5c58d9;this[_0x10b545(0xb4)][_0x10b545(0xf3)](this['unitID'],this[_0x10b545(0x475)],null,[]);}[_0x5c58d9(0x27a)](){const _0xf32a25=_0x5c58d9;this[_0xf32a25(0x1cd)]?this[_0xf32a25(0x41c)]['show']({'title':this[_0xf32a25(0x13c)]['t']('permission.title'),'content':this[_0xf32a25(0x13c)]['t'](_0xf32a25(0x44d)),'type':_0xf32a25(0x405),'duration':0x0}):this[_0xf32a25(0x41c)][_0xf32a25(0x4e2)]({'title':this[_0xf32a25(0x13c)]['t'](_0xf32a25(0x4a9)),'content':this[_0xf32a25(0x13c)]['t']('conflict.content'),'type':_0xf32a25(0x405),'duration':0x0});}[_0x5c58d9(0x439)](){const _0x3a41ad=_0x5c58d9;this[_0x3a41ad(0x422)][_0x3a41ad(0x17f)](new _0x2dcdfa[(_0x3a41ad(0x349))](this[_0x3a41ad(0x541)])['id'],!0x1);}};_0x1aaa98=_0x39df17([_0x2e7e5e(0x6,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x18d)])),_0x2e7e5e(0x7,_0x5d7f39[_0x5c58d9(0x42d)]),_0x2e7e5e(0x8,_0x5d7f39[_0x5c58d9(0x2a1)]),_0x2e7e5e(0x9,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x115)])),_0x2e7e5e(0xa,_0x5d7f39['Inject'](_0x250718['RevisionService'])),_0x2e7e5e(0xb,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x1cb)])),_0x2e7e5e(0xc,_0x54c9ff[_0x5c58d9(0x2e7)])],_0x1aaa98);let _0x1f5877=class extends _0x4b1960{constructor(_0x4e98b7,_0x42ebfb,_0x1446e2,_0x546d29,_0x4a66e4,_0x607a4f,_0xfe6e3f,_0x55bb9a,_0x1fa3cc,_0x394c55){const _0x556ec3=_0x5c58d9;super(_0x4e98b7,_0x42ebfb,_0x1446e2,_0x546d29,_0x4a66e4,_0x1fa3cc,_0x394c55,_0xfe6e3f,_0x55bb9a),_0x171b2f(this,'status',_0x556ec3(0x43e)),this[_0x556ec3(0x1dc)]=_0x607a4f;}[_0x5c58d9(0x370)](_0x7b10c8){const _0x529353=_0x5c58d9;return this[_0x529353(0x15f)]['push'](_0x7b10c8),this[_0x529353(0x44c)](),this;}[_0x5c58d9(0x1f0)](_0x2683af){const _0xb03ef6=_0x5c58d9;throw new Error(_0xb03ef6(0x30e));}['onRemoteAck'](){const _0x397a6a=_0x5c58d9;throw new Error(_0x397a6a(0x510));}[_0x5c58d9(0x50f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5c58d9(0xed)](){return this;}[_0x5c58d9(0x1da)](){return this;}[_0x5c58d9(0x2a2)](){const {_injector:_0x57b249,_pendingMutations:_0x5f170c,_awaitingChangeset:_0x38fa41,unitID:_0x4d37f9,_handler:_0x450b00,type:_0x4a3cfa}=this,_0x323a67=_0x4c4626(_0x57b249,_0x4d37f9,_0x4a3cfa,_0x38fa41,_0x5f170c,_0x450b00);return _0x323a67 instanceof _0x5e1069?_0x323a67['_schedule']():(_0x323a67 instanceof _0x56788c||_0x323a67 instanceof _0x5243fd)&&_0x323a67['resend'](),_0x323a67;}[_0x5c58d9(0x1ba)](){const _0xac3075=_0x5c58d9;throw new Error(_0xac3075(0x442));}};_0x1f5877=_0x39df17([_0x2e7e5e(0x5,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39['Injector'])),_0x2e7e5e(0x6,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718['RevisionService'])),_0x2e7e5e(0x7,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x115)])),_0x2e7e5e(0x8,_0x5d7f39[_0x5c58d9(0x42d)]),_0x2e7e5e(0x9,_0x5d7f39[_0x5c58d9(0x2a1)])],_0x1f5877);let _0x357f2b=class extends _0x4b1960{constructor(_0x244ae8,_0x5e43f1,_0x4843e5,_0xb937d8,_0x382857,_0xec4654,_0x5e5c3c,_0x44a2f9,_0x22b1c3,_0x4acfc1,_0x89e5c7,_0x45f8dd,_0x2f4a84,_0x2eaf10){const _0x3cfab8=_0x5c58d9;super(_0x244ae8,_0x5e43f1,_0x4843e5,_0xb937d8,_0x5e5c3c,_0x45f8dd,_0x2f4a84,_0x22b1c3,_0x4acfc1),_0x171b2f(this,_0x3cfab8(0x55a),_0x3cfab8(0x290)),(this[_0x3cfab8(0x3ea)]=_0x382857,this[_0x3cfab8(0x2b5)]=_0xec4654,this[_0x3cfab8(0x1dc)]=_0x44a2f9,this[_0x3cfab8(0x4a8)]=_0x89e5c7,this['_transformService']=_0x2eaf10);}[_0x5c58d9(0x301)](_0x19ffeb){const _0x333592=_0x5c58d9;try{const _0x550b2d=[..._0x19ffeb,...this[_0x333592(0x2b5)]],_0x1bb1ac=[this['_awaitingChangeset']||this[_0x333592(0x3ea)]][_0x333592(0x116)](_0x30962b=>!!_0x30962b);let _0x15af2f,_0x59c732;if(_0x1bb1ac[_0x333592(0x3d9)]){const _0x55a9ed=this[_0x333592(0x2a7)][_0x333592(0x516)](_0x550b2d,_0x1bb1ac,!0x1);if(!_0x250718[_0x333592(0x508)](_0x55a9ed))throw _0x55a9ed['error'];_0x15af2f=_0x55a9ed[_0x333592(0x46b)],_0x59c732=_0x55a9ed[_0x333592(0x4da)];}else _0x15af2f=_0x550b2d,_0x59c732=[];let _0x3f7d49=this['_pendingMutations'];_0x15af2f['forEach'](_0x5e34ca=>{const _0x532687=_0x333592;let _0x65725b;if(_0x3f7d49[_0x532687(0x3d9)]){const _0x1a8dc9=this[_0x532687(0x2a7)]['transformMutationsWithChangeset'](_0x5e34ca,_0x3f7d49);if(!_0x250718[_0x532687(0x1c6)](_0x1a8dc9))throw _0x1a8dc9['error'];_0x65725b=_0x1a8dc9[_0x532687(0x46b)],_0x3f7d49=_0x1a8dc9['m2Prime'];}else _0x65725b=_0x5e34ca;this['_executeRemoteChangeset'](_0x65725b);}),this[_0x333592(0x3ea)]&&this['_incrementRevisionNumber'](),this[_0x333592(0x2d6)]&&_0x59c732[_0x333592(0x3d9)]&&(_0x59c732[0x0][_0x333592(0x2f2)]=this[_0x333592(0x187)]());let _0x14e940;if(this['_awaitingChangeset']&&_0x3f7d49[_0x333592(0x3d9)]!==0x0)_0x14e940=this[_0x333592(0x1dc)]['createInstance'](_0x56788c,this[_0x333592(0x541)],this['type'],_0x59c732[0x0],_0x3f7d49,this[_0x333592(0x53b)],void 0x0);else{if(this[_0x333592(0x2d6)]&&_0x3f7d49[_0x333592(0x3d9)]===0x0)_0x59c732[0x0][_0x333592(0x2f2)]=this['_getCurrentRevision'](),_0x14e940=this[_0x333592(0x1dc)][_0x333592(0xd6)](_0x5243fd,this['unitID'],this[_0x333592(0x475)],_0x59c732[0x0],this[_0x333592(0x53b)]);else{if(_0x3f7d49[_0x333592(0x3d9)]!==0x0){const _0x4a8738=this['_injector']['createInstance'](_0x5e1069,this[_0x333592(0x541)],this[_0x333592(0x475)],_0x3f7d49,this['_handler']);_0x4a8738[_0x333592(0x1c9)](),_0x14e940=_0x4a8738;}else _0x14e940=this[_0x333592(0x1dc)]['createInstance'](_0x3d4cd4,this[_0x333592(0x541)],this[_0x333592(0x475)],this[_0x333592(0x53b)]);}}return _0x14e940[_0x333592(0x44c)](),_0x14e940;}catch(_0xd8ea3b){return this[_0x333592(0x4a8)][_0x333592(0x405)](_0x333592(0x1a2),_0x333592(0x448),_0xd8ea3b),this['_injector']['createInstance'](_0x1aaa98,this[_0x333592(0x541)],this[_0x333592(0x475)],this[_0x333592(0x2d6)],this[_0x333592(0x15f)],this[_0x333592(0x53b)],!0x1);}}[_0x5c58d9(0x1ba)](){const _0x55c3a1=_0x5c58d9;throw new Error(_0x55c3a1(0xdb));}[_0x5c58d9(0x370)](_0x3ffaa1){const _0x1d7e2e=_0x5c58d9;return this[_0x1d7e2e(0x15f)]['push'](_0x3ffaa1),this;}['onRemoteChangeset'](_0x3ac5ef){return this['_queuedRemoteChangesets']['push'](_0x3ac5ef),this;}[_0x5c58d9(0x3dd)](_0x11d7bc){const _0x10cc40=_0x5c58d9;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x10cc40(0x2d6)],this[_0x10cc40(0x2d6)]=null,this;throw new Error(_0x10cc40(0x299));}['onRemoteRej'](_0x2e2e59){const _0xb6e19=_0x5c58d9;return this[_0xb6e19(0x33e)](!!(_0x2e2e59!=null&&_0x2e2e59[_0xb6e19(0x259)]));}[_0x5c58d9(0xed)](){return this;}['toggleOffline'](){const _0x1f6b52=_0x5c58d9;return this[_0x1f6b52(0x1dc)][_0x1f6b52(0xd6)](_0x1f5877,this[_0x1f6b52(0x541)],this['type'],this[_0x1f6b52(0x2d6)],this[_0x1f6b52(0x15f)],this[_0x1f6b52(0x53b)]);}[_0x5c58d9(0x2a2)](){return this;}[_0x5c58d9(0x33e)](_0x6122a0){const _0xb4d6b2=_0x5c58d9;return this[_0xb4d6b2(0x1dc)]['createInstance'](_0x1aaa98,this[_0xb4d6b2(0x541)],this[_0xb4d6b2(0x475)],this[_0xb4d6b2(0x2d6)],this['_pendingMutations'],this[_0xb4d6b2(0x53b)],_0x6122a0);}};_0x357f2b=_0x39df17([_0x2e7e5e(0x7,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x485)])),_0x2e7e5e(0x8,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718['RevisionService'])),_0x2e7e5e(0x9,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x115)])),_0x2e7e5e(0xa,_0x5d7f39[_0x5c58d9(0x221)]),_0x2e7e5e(0xb,_0x5d7f39['ICommandService']),_0x2e7e5e(0xc,_0x5d7f39['IUndoRedoService']),_0x2e7e5e(0xd,_0x250718[_0x5c58d9(0x265)])],_0x357f2b);function _0x4c4626(_0x28d068,_0x4849cd,_0x33a576,_0x292507,_0x256054,_0x200b8f){const _0x4f568b=_0x5c58d9;return _0x292507&&_0x256054[_0x4f568b(0x3d9)]?_0x28d068[_0x4f568b(0xd6)](_0x56788c,_0x4849cd,_0x33a576,_0x292507,_0x256054,_0x200b8f,void 0x0):_0x292507?_0x28d068['createInstance'](_0x5243fd,_0x4849cd,_0x33a576,_0x292507,_0x200b8f):_0x256054['length']?_0x28d068[_0x4f568b(0xd6)](_0x5e1069,_0x4849cd,_0x33a576,_0x256054,_0x200b8f):_0x28d068[_0x4f568b(0xd6)](_0x3d4cd4,_0x4849cd,_0x33a576,_0x200b8f);}var _0x393ccc=Object[_0x5c58d9(0xf4)],_0x8e3a2a=Object[_0x5c58d9(0x314)],_0x27c931=(_0x485346,_0x430bb3,_0x1beb21,_0x2b52c0)=>{const _0x1a3151=_0x5c58d9;for(var _0x43b2b3=_0x2b52c0>0x1?void 0x0:_0x2b52c0?_0x8e3a2a(_0x430bb3,_0x1beb21):_0x430bb3,_0x2e2fee=_0x485346[_0x1a3151(0x3d9)]-0x1,_0xee1e8a;_0x2e2fee>=0x0;_0x2e2fee--)(_0xee1e8a=_0x485346[_0x2e2fee])&&(_0x43b2b3=(_0x2b52c0?_0xee1e8a(_0x430bb3,_0x1beb21,_0x43b2b3):_0xee1e8a(_0x43b2b3))||_0x43b2b3);return _0x2b52c0&&_0x43b2b3&&_0x393ccc(_0x430bb3,_0x1beb21,_0x43b2b3),_0x43b2b3;},_0x4a06d4=(_0x31b386,_0x3cfde8)=>(_0x40e2cd,_0x21a255)=>_0x3cfde8(_0x40e2cd,_0x21a255,_0x31b386);_0xe0b603['CollaborationEntity']=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x703476,_0x236266,_0x40132a,_0x5614eb,_0x22e9c6,_0x3c50be,_0x2b9f11,_0x3f2dba,_0x4cdb04,_0x2f5188,_0x41ee09,_0x348298,_0x3dd11d){const _0x5ab097=_0x5c58d9;super(),_0x171b2f(this,_0x5ab097(0xdc),new _0x48eeba[(_0x5ab097(0x1bf))](null)),_0x171b2f(this,_0x5ab097(0x51d),this[_0x5ab097(0xdc)]['asObservable']()),_0x171b2f(this,_0x5ab097(0x226)),_0x171b2f(this,'_collaborationPaused',!0x1),_0x171b2f(this,'_changesetSessionId',''),_0x171b2f(this,_0x5ab097(0xdd),0x0),_0x171b2f(this,_0x5ab097(0x488),this[_0x5ab097(0x51d)][_0x5ab097(0x3b0)](_0x48eeba[_0x5ab097(0x491)](_0x41f903=>_0x41f903?_0x41f903[_0x5ab097(0x55a)]:_0x4eef96[_0x5ab097(0x1d6)]),_0x48eeba['shareReplay'](0x1))),_0x171b2f(this,_0x5ab097(0x32a),!0x1),_0x171b2f(this,_0x5ab097(0x2e4),[]),(this[_0x5ab097(0x541)]=_0x703476,this[_0x5ab097(0x236)]=_0x236266,this[_0x5ab097(0x4c2)]=_0x40132a,this[_0x5ab097(0x1dc)]=_0x5614eb,this[_0x5ab097(0xb4)]=_0x22e9c6,this['_compressMutationService']=_0x3c50be,this[_0x5ab097(0x13c)]=_0x2b9f11,this[_0x5ab097(0x412)]=_0x3f2dba,this[_0x5ab097(0x4a8)]=_0x4cdb04,this[_0x5ab097(0x4c8)]=_0x2f5188,this['_messageService']=_0x41ee09,this[_0x5ab097(0x422)]=_0x348298,this['_singleActiveUnitService']=_0x3dd11d);}get[_0x5c58d9(0x159)](){const _0x22d66c=_0x5c58d9;return this[_0x22d66c(0x226)];}async[_0x5c58d9(0x242)](){const _0x182e9f=_0x5c58d9;if(this[_0x182e9f(0x159)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x182e9f(0x3c4)]();}['pauseCollaboration'](){const _0x38d9e5=_0x5c58d9;return this[_0x38d9e5(0x3da)]=!0x0,_0x5d7f39['toDisposable'](()=>{const _0x465333=_0x38d9e5;this[_0x465333(0x3da)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5c58d9(0x417)](_0x109a7e){const _0x5d6eec=_0x5c58d9;this['_state']=_0x109a7e,this[_0x5d6eec(0xdc)][_0x5d6eec(0x4fb)](_0x109a7e);}async[_0x5c58d9(0x3c4)](){const _0x4c3511=_0x5c58d9;var _0xb1f516;this[_0x4c3511(0x417)](await this[_0x4c3511(0x463)]()),this[_0x4c3511(0x3b7)]&&((_0xb1f516=this[_0x4c3511(0x3b7)])==null||_0xb1f516['editingUnit'](this[_0x4c3511(0x541)]),this[_0x4c3511(0x10b)](this[_0x4c3511(0x3b7)]['getUnitStatus$'](this[_0x4c3511(0x541)])[_0x4c3511(0x1fd)](_0x1e3ae=>{const _0x5e0433=_0x4c3511;this['_logService'][_0x5e0433(0x2e2)](_0x5e0433(0x319),'editing\x20status\x20changed\x20to',_0x1e3ae),_0x1e3ae===_0x3db651[_0x5e0433(0x23d)]?(this['_messageService']['show']({'content':this[_0x5e0433(0x13c)]['t'](_0x5e0433(0x15b)),'type':_0x48ea23['MessageType'][_0x5e0433(0x2cc)]}),this[_0x5e0433(0x422)]['updatePermissionPoint'](new _0x2dcdfa[(_0x5e0433(0x349))](this[_0x5e0433(0x541)])['id'],!0x1),this[_0x5e0433(0x422)][_0x5e0433(0x40b)](!0x1)):(this[_0x5e0433(0x422)][_0x5e0433(0x17f)](new _0x2dcdfa[(_0x5e0433(0x349))](this[_0x5e0433(0x541)])['id'],!0x0),this[_0x5e0433(0x422)][_0x5e0433(0x40b)](!0x0));})));let _0x4af4bb=!0x1;return this[_0x4c3511(0x10b)](this[_0x4c3511(0x236)][_0x4c3511(0x2bb)][_0x4c3511(0x1fd)](_0x5038b0=>{const _0x48f7bd=_0x4c3511;_0x5038b0===_0x4c9cb6['ONLINE']?this[_0x48f7bd(0x273)](_0x4af4bb):_0x5038b0===_0x4c9cb6[_0x48f7bd(0x1d6)]&&(_0x4af4bb=!0x0,this[_0x48f7bd(0x52c)]());})),this['disposeWithMe'](this['session'][_0x4c3511(0x8b)]['subscribe'](_0x5d4eca=>{const _0x33e784=_0x4c3511;try{switch(_0x5d4eca[_0x33e784(0x3f3)]){case _0x250718[_0x33e784(0x4cb)][_0x33e784(0x4e8)]:{this[_0x33e784(0x3ae)](_0x250718[_0x33e784(0x31d)](_0x5d4eca[_0x33e784(0x387)]));break;}case _0x250718[_0x33e784(0x4cb)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x5d4eca['data']);break;}case _0x250718[_0x33e784(0x4cb)]['CHANGESET_REJ']:{this[_0x33e784(0xb2)]();break;}case _0x250718[_0x33e784(0x4cb)][_0x33e784(0x123)]:{this['_onRemoteRetry'](_0x5d4eca['data']);break;}case _0x250718[_0x33e784(0x4cb)][_0x33e784(0x556)]:{this[_0x33e784(0x395)](_0x5d4eca['data'][_0x33e784(0x4a6)]['map'](_0x510b33=>_0x250718[_0x33e784(0x31d)](_0x510b33)));break;}case _0x250718[_0x33e784(0x4cb)][_0x33e784(0x552)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x213ef2){throw console['error'](_0x33e784(0x306),_0x213ef2),_0x213ef2;}})),this['_state'];}['_unlockTransition'](){const _0x121a35=_0x5c58d9;this[_0x121a35(0x32a)]=!0x1;}['_lockTransition'](){const _0x3ab3cc=_0x5c58d9;if(this[_0x3ab3cc(0x32a)])throw new Error(_0x3ab3cc(0x7e));this['_transitionLocked']=!0x0;}[_0x5c58d9(0x2c8)](_0x7fff5f){const _0x8a53bf=_0x5c58d9;this[_0x8a53bf(0x1c0)](),this[_0x8a53bf(0x417)](this['_state'][_0x8a53bf(0x370)](_0x7fff5f)),this[_0x8a53bf(0x195)]();}[_0x5c58d9(0x3ae)](_0x1b08e2){const _0x219f3c=_0x5c58d9;if(!(_0x1b08e2[_0x219f3c(0x154)]<=this[_0x219f3c(0x412)][_0x219f3c(0x245)](this[_0x219f3c(0x541)]))){if(this[_0x219f3c(0x3da)]){this['_remoteChangesetQueue']['push'](_0x1b08e2);return;}this['_applyRemoteChangeset'](_0x1b08e2);}}[_0x5c58d9(0x199)](){const _0x542424=_0x5c58d9;this[_0x542424(0x2e4)]['forEach'](_0x445670=>this[_0x542424(0x296)](_0x445670)),this[_0x542424(0x2e4)]=[];}[_0x5c58d9(0x296)](_0x588ed7){const _0x39bcd1=_0x5c58d9,_0x412865=this[_0x39bcd1(0x367)][_0x39bcd1(0x50d)][_0x39bcd1(0x2fc)](this[_0x39bcd1(0x367)]['interceptor'][_0x39bcd1(0x1cc)]()[_0x39bcd1(0x130)])(_0x588ed7[_0x39bcd1(0x298)],null)||_0x588ed7[_0x39bcd1(0x298)],_0x4a0cc4={..._0x588ed7,'mutations':_0x412865};this[_0x39bcd1(0x1c0)](),this['_updateState'](this[_0x39bcd1(0x226)]['onRemoteChangeset'](_0x4a0cc4)),this[_0x39bcd1(0x195)]();}['_onRemoteACK'](_0x20381d){const _0x1277ee=_0x5c58d9;this[_0x1277ee(0x1c0)](),this[_0x1277ee(0x417)](this[_0x1277ee(0x226)][_0x1277ee(0x3dd)](_0x20381d)),this[_0x1277ee(0x195)]();}[_0x5c58d9(0xb2)](_0x566f0b){const _0x233785=_0x5c58d9;this[_0x233785(0x1c0)](),this[_0x233785(0x417)](this[_0x233785(0x226)][_0x233785(0x50f)](_0x566f0b)),this[_0x233785(0x195)]();}[_0x5c58d9(0x416)](_0x441d76){const _0xb99f1b=_0x5c58d9;this[_0xb99f1b(0x1c0)](),this['_updateState'](this[_0xb99f1b(0x226)][_0xb99f1b(0xed)](_0x441d76)),this[_0xb99f1b(0x195)]();}['_onFetchMissResult'](_0x597228){const _0x5bff44=_0x5c58d9;if(!(this[_0x5bff44(0x226)]instanceof _0x357f2b))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5b1881=_0x597228[_0x5bff44(0x491)](_0x4810b4=>{const _0x1a0f60=_0x5bff44,_0x4a980a=this[_0x1a0f60(0x367)][_0x1a0f60(0x50d)]['fetchThroughInterceptors'](this[_0x1a0f60(0x367)][_0x1a0f60(0x50d)][_0x1a0f60(0x1cc)]()[_0x1a0f60(0x130)])(_0x4810b4[_0x1a0f60(0x298)],null)||_0x4810b4[_0x1a0f60(0x298)];return{..._0x4810b4,'mutations':_0x4a980a};});this[_0x5bff44(0x1c0)](),this['_updateState'](this['_state'][_0x5bff44(0x301)](_0x5b1881)),this['_unlockTransition']();}[_0x5c58d9(0x52c)](){const _0x59ebaa=_0x5c58d9;this['_lockTransition'](),this[_0x59ebaa(0x417)](this[_0x59ebaa(0x226)][_0x59ebaa(0x1da)]()),this[_0x59ebaa(0x195)]();}[_0x5c58d9(0x273)](_0x45e7a1=!0x1){const _0x202037=_0x5c58d9;this[_0x202037(0x1c0)](),this[_0x202037(0x417)](this[_0x202037(0x226)]['toggleOnline']()),this[_0x202037(0x195)]();const _0xfa57de=this[_0x202037(0x226)];_0x45e7a1&&_0xfa57de instanceof _0x3d4cd4&&(this['_lockTransition'](),this[_0x202037(0x417)](_0xfa57de['fetchMiss']()),this[_0x202037(0x195)]());}async[_0x5c58d9(0x463)](){return new Promise(_0xd74a58=>{const _0x52efb3=_0x1eb4;this['session'][_0x52efb3(0x2bb)]['pipe'](_0x48eeba['take'](0x1))['subscribe'](async _0x101a71=>{const _0x46a6b5=_0x52efb3;_0xd74a58(await this[_0x46a6b5(0x33b)](_0x101a71===_0x4c9cb6['ONLINE']));});});}['_createHandler'](){const _0x1c9a15=_0x5c58d9,_0x323935=this[_0x1c9a15(0x541)];return{'onStateChange':(_0x3a86af,_0x33082f)=>{const _0x16143a=_0x1c9a15;if(_0x3a86af!==this[_0x16143a(0x226)])throw new Error(_0x16143a(0x2d8)+_0x3a86af[_0x16143a(0x55a)]+_0x16143a(0x4ce)+_0x33082f['status']+'\x0aCurrent:\x20'+this[_0x16143a(0x226)][_0x16143a(0x55a)]);this['_updateState'](_0x33082f);},'onSendChangeset':_0x52530f=>{const _0x19ac9b=_0x1c9a15;_0x52530f[_0x19ac9b(0x39c)]||(_0x52530f[_0x19ac9b(0x39c)]=this['_changesetSessionId'],_0x52530f[_0x19ac9b(0x4b3)]=++this[_0x19ac9b(0xdd)]);const _0xdbe761={'eventID':_0x250718['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x52530f[_0x19ac9b(0x541)],'unitType':this[_0x19ac9b(0x4c2)],'changeset':_0x52530f,'memberID':this[_0x19ac9b(0x236)][_0x19ac9b(0x32d)]()}};this[_0x19ac9b(0x236)][_0x19ac9b(0x190)](_0xdbe761,this[_0x19ac9b(0x541)]);},'onMissingChangesets':({from:_0x522613,to:_0x4d86d2})=>{const _0x566093=_0x1c9a15;this[_0x566093(0x4a8)][_0x566093(0x2e2)](_0x566093(0x319),'fetching\x20missing\x20changesets\x20from\x20'+_0x522613+_0x566093(0x227)+_0x4d86d2);const _0x12fdef={'eventID':_0x250718[_0x566093(0x4cb)][_0x566093(0x148)],'data':{'unitID':_0x323935,'unitType':this['_type'],'from':_0x522613,'to':_0x4d86d2}};this[_0x566093(0x236)]['send'](_0x12fdef,this[_0x566093(0x541)]);}};}async['_createInitialStateImpl'](_0x1622b9){const _0x6feed8=_0x5c58d9;var _0x3e240c,_0x5dde78;const _0x429071=await this[_0x6feed8(0xb4)][_0x6feed8(0x37f)](this[_0x6feed8(0x541)]),_0x5cca11=(_0x3e240c=_0x429071==null?void 0x0:_0x429071[_0x6feed8(0x298)])!=null?_0x3e240c:[],_0x5a5c80=(_0x5dde78=_0x429071==null?void 0x0:_0x429071['awaitingChangeset'])!=null?_0x5dde78:null,_0x234f1d=!!(_0x5a5c80!=null&&_0x5a5c80[_0x6feed8(0x39c)])&&!!(_0x5a5c80!=null&&_0x5a5c80['reqId']);this[_0x6feed8(0xca)]=_0x234f1d?_0x5a5c80['sid']:_0x3ae938(),this[_0x6feed8(0xdd)]=_0x234f1d?_0x5a5c80[_0x6feed8(0x4b3)]:0x0;const _0x1feb16=this[_0x6feed8(0x541)];try{this[_0x6feed8(0x2b9)](_0x5a5c80,_0x5cca11);}catch(_0x166fef){this[_0x6feed8(0x4a8)][_0x6feed8(0x405)](_0x166fef);}const _0x37e694=this['_createHandler']();if(_0x1622b9){const _0x2debb8=_0x4c4626(this[_0x6feed8(0x1dc)],_0x1feb16,this[_0x6feed8(0x4c2)],_0x5a5c80,_0x5cca11,_0x37e694);return _0x2debb8 instanceof _0x5e1069?_0x2debb8[_0x6feed8(0x1c9)]():(_0x2debb8 instanceof _0x56788c||_0x2debb8 instanceof _0x5243fd)&&_0x2debb8[_0x6feed8(0x1ba)](),_0x2debb8;}return this[_0x6feed8(0x1dc)][_0x6feed8(0xd6)](_0x1f5877,_0x1feb16,this[_0x6feed8(0x4c2)],_0x5a5c80,_0x5cca11,_0x37e694);}['_replayCachedMutations'](_0x2da97f,_0x524ab5){const _0x31978a=_0x5c58d9;var _0x1ba49c,_0x4b0b31;const _0x3f1d84=this[_0x31978a(0x367)][_0x31978a(0x50d)][_0x31978a(0x2fc)](this[_0x31978a(0x367)]['interceptor'][_0x31978a(0x1cc)]()[_0x31978a(0x130)]);(_0x1ba49c=_0x3f1d84((_0x2da97f==null?void 0x0:_0x2da97f[_0x31978a(0x298)])||[],null))==null||_0x1ba49c[_0x31978a(0x418)](_0x4e1338=>this[_0x31978a(0x4c8)][_0x31978a(0x41b)](_0x4e1338['id'],_0x4e1338[_0x31978a(0x521)])),(_0x4b0b31=_0x3f1d84(_0x524ab5||[],null))==null||_0x4b0b31['forEach'](_0x2facc4=>this[_0x31978a(0x4c8)]['executeCommand'](_0x2facc4['id'],_0x2facc4[_0x31978a(0x521)]));}},_0xe0b603[_0x5c58d9(0x34a)]=_0x27c931([_0x4a06d4(0x3,_0x5d7f39['Inject'](_0x5d7f39['Injector'])),_0x4a06d4(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x115)])),_0x4a06d4(0x5,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x14c)])),_0x4a06d4(0x6,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x1cb)])),_0x4a06d4(0x7,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x38c)])),_0x4a06d4(0x8,_0x5d7f39[_0x5c58d9(0x221)]),_0x4a06d4(0x9,_0x5d7f39[_0x5c58d9(0x42d)]),_0x4a06d4(0xa,_0x54c9ff[_0x5c58d9(0x302)]),_0x4a06d4(0xb,_0x5d7f39[_0x5c58d9(0x18d)]),_0x4a06d4(0xc,_0x5d7f39[_0x5c58d9(0xf6)](_0x5c81df))],_0xe0b603['CollaborationEntity']),_0xe0b603[_0x5c58d9(0x1df)]=class extends _0xe0b603[_0x5c58d9(0x34a)]{constructor(_0x1915eb,_0x2fb853,_0x2d3027,_0x21b4eb,_0xce00b8,_0x1a66b1,_0x56baf0,_0x3ea63a,_0x7a5559,_0x4befc3,_0x5a9c69,_0x3cfee3,_0xfea18c,_0x16a85e,_0x3cfbe5,_0x45d5a9,_0x2590b3,_0x36b022){const _0x589208=_0x5c58d9;super(_0x1915eb,_0x2d3027,_0x2fb853,_0x21b4eb,_0xce00b8,_0x1a66b1,_0x56baf0,_0x3ea63a,_0x16a85e,_0x3cfbe5,_0x45d5a9,_0x2590b3,_0x36b022),this[_0x589208(0x541)]=_0x1915eb,this[_0x589208(0x475)]=_0x2fb853,this[_0x589208(0x12f)]=_0x7a5559,this[_0x589208(0x97)]=_0x4befc3,this[_0x589208(0x559)]=_0x5a9c69,this[_0x589208(0x7b)]=_0x3cfee3,this[_0x589208(0xcc)]=_0xfea18c;}['_createHandler'](){const _0x47a860=_0x5c58d9,_0x4bad86=super[_0x47a860(0x411)]();return _0x4bad86[_0x47a860(0x170)]=_0x37c717=>this[_0x47a860(0x97)][_0x47a860(0x8a)](_0x37c717),_0x4bad86[_0x47a860(0xb7)]=_0x33d234=>this[_0x47a860(0x559)][_0x47a860(0x107)](_0x33d234),_0x4bad86[_0x47a860(0xc2)]=_0x42b945=>this[_0x47a860(0x7b)]['transformSelections'](_0x42b945),_0x4bad86[_0x47a860(0x1c3)]=_0xe5922a=>this[_0x47a860(0xcc)]['syncEditingCollabCursor'](_0xe5922a),_0x4bad86['onTransformRemoteChangesetByIMECache']=_0x1029fd=>this[_0x47a860(0x97)]['transformRemoteChangeset'](_0x1029fd),_0x4bad86[_0x47a860(0x4e0)]=_0x4c0a7b=>this[_0x47a860(0x559)][_0x47a860(0x26c)](_0x4c0a7b),_0x4bad86;}async[_0x5c58d9(0x3c4)](){const _0x3701ae=_0x5c58d9,_0xc810db=await super['_init']();return this[_0x3701ae(0x10b)](this['_docStateChangeManagerService'][_0x3701ae(0x253)][_0x3701ae(0x3b0)](_0x48eeba[_0x3701ae(0x234)](this[_0x3701ae(0x20b)]))['subscribe'](_0x2d6543=>{const _0x5cfd9e=_0x3701ae;if(_0x2d6543==null)return;const {unitId:_0x47c8ff,redoState:_0x2f04d3,commandId:_0x53c668}=_0x2d6543;if(_0x47c8ff!==this[_0x5cfd9e(0x541)])return;const _0x2c20c1={'id':_0x53c668,'type':_0x5d7f39['CommandType']['MUTATION'],'params':{'unitId':_0x47c8ff,'actions':_0x2f04d3['actions'],'textRanges':null}};this['_onLocalMutation'](_0x2c20c1);})),this[_0x3701ae(0x10b)](this[_0x3701ae(0x4c8)][_0x3701ae(0x166)]((_0x414c88,_0x496712)=>{const _0x485afa=_0x3701ae;if(_0x414c88[_0x485afa(0x475)]!==_0x5d7f39[_0x485afa(0x1f3)][_0x485afa(0x543)]||_0x496712!=null&&_0x496712[_0x485afa(0x520)]||_0x496712!=null&&_0x496712['onlyLocal']||_0x414c88['id']===_0x4fe995[_0x485afa(0x157)]['id'])return;const _0x22b966=_0x414c88['params'];if((_0x22b966==null?void 0x0:_0x22b966[_0x485afa(0x113)])!==this['unitID'])return;const _0x6b881=_0x414c88,_0xc3f099=this[_0x485afa(0x367)][_0x485afa(0x50d)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x485afa(0x50d)][_0x485afa(0x1cc)]()[_0x485afa(0x49a)])([_0x6b881],null)||[_0x6b881];this[_0x485afa(0x2c8)](_0xc3f099[0x0]);})),_0xc810db;}},_0xe0b603[_0x5c58d9(0x1df)]=_0x27c931([_0x4a06d4(0x3,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x4a06d4(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x115)])),_0x4a06d4(0x5,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x14c)])),_0x4a06d4(0x6,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x1cb)])),_0x4a06d4(0x7,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x38c)])),_0x4a06d4(0x8,_0x5d7f39['Inject'](_0x43dacb[_0x5c58d9(0xc8)])),_0x4a06d4(0x9,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5b0ed5)),_0x4a06d4(0xa,_0x5d7f39['Inject'](_0x4844c5)),_0x4a06d4(0xb,_0x5d7f39[_0x5c58d9(0x3a2)](_0x2bdd6b)),_0x4a06d4(0xc,_0x5d7f39[_0x5c58d9(0x3a2)](_0x3cb27c)),_0x4a06d4(0xd,_0x5d7f39['ILogService']),_0x4a06d4(0xe,_0x5d7f39[_0x5c58d9(0x42d)]),_0x4a06d4(0xf,_0x54c9ff[_0x5c58d9(0x302)]),_0x4a06d4(0x10,_0x5d7f39[_0x5c58d9(0x18d)]),_0x4a06d4(0x11,_0x5d7f39[_0x5c58d9(0xf6)](_0x5c81df))],_0xe0b603['DocCollaborationEntity']),_0xe0b603[_0x5c58d9(0x285)]=class extends _0xe0b603[_0x5c58d9(0x34a)]{constructor(_0x80dab3,_0x39d553,_0x2cb825,_0x470d99,_0x438971,_0xf62937,_0x5e563e,_0x6ee3bb,_0x1d3267,_0x188e17,_0x53e99f,_0x190a1b,_0x9cacf7,_0x376e6f){const _0x42340f=_0x5c58d9;super(_0x80dab3,_0x2cb825,_0x39d553,_0x470d99,_0x438971,_0xf62937,_0x5e563e,_0x6ee3bb,_0x188e17,_0x53e99f,_0x190a1b,_0x9cacf7,_0x376e6f),this[_0x42340f(0x541)]=_0x80dab3,this[_0x42340f(0x475)]=_0x39d553,this['_sheetTransformSelectionsService']=_0x1d3267;}[_0x5c58d9(0x411)](){const _0x34dd4f=_0x5c58d9,_0x1dc210=super[_0x34dd4f(0x411)]();return _0x1dc210['onTransformSelections']=_0x55e323=>this[_0x34dd4f(0x22d)][_0x34dd4f(0x21b)](_0x55e323),_0x1dc210;}async['_init'](){const _0x210bac=_0x5c58d9,_0x5588b6=await super[_0x210bac(0x3c4)]();return this[_0x210bac(0x10b)](this[_0x210bac(0x4c8)][_0x210bac(0x166)]((_0x5cb912,_0x11718f)=>{const _0x1f44cf=_0x210bac;if(_0x5cb912['type']!==_0x5d7f39[_0x1f44cf(0x1f3)][_0x1f44cf(0x543)]||_0x11718f!=null&&_0x11718f[_0x1f44cf(0x520)]||_0x11718f!=null&&_0x11718f[_0x1f44cf(0x557)])return;const _0x50b5fc=_0x5cb912[_0x1f44cf(0x521)];if((_0x50b5fc==null?void 0x0:_0x50b5fc[_0x1f44cf(0x113)])!==this[_0x1f44cf(0x541)])return;const _0x31d52c=_0x5cb912,_0x38c9cb=this[_0x1f44cf(0x367)][_0x1f44cf(0x50d)][_0x1f44cf(0x2fc)](this['_compressMutationService'][_0x1f44cf(0x50d)][_0x1f44cf(0x1cc)]()[_0x1f44cf(0x49a)])([_0x31d52c],null)||[_0x31d52c];this[_0x1f44cf(0x2c8)](_0x38c9cb[0x0]);})),_0x5588b6;}},_0xe0b603[_0x5c58d9(0x285)]=_0x27c931([_0x4a06d4(0x3,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x4a06d4(0x4,_0x5d7f39['Inject'](_0xe0b603[_0x5c58d9(0x115)])),_0x4a06d4(0x5,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x14c)])),_0x4a06d4(0x6,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39['LocaleService'])),_0x4a06d4(0x7,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718['RevisionService'])),_0x4a06d4(0x8,_0x5d7f39[_0x5c58d9(0x3a2)](_0x396264)),_0x4a06d4(0x9,_0x5d7f39[_0x5c58d9(0x221)]),_0x4a06d4(0xa,_0x5d7f39[_0x5c58d9(0x42d)]),_0x4a06d4(0xb,_0x54c9ff[_0x5c58d9(0x302)]),_0x4a06d4(0xc,_0x5d7f39[_0x5c58d9(0x18d)]),_0x4a06d4(0xd,_0x5d7f39['Optional'](_0x5c81df))],_0xe0b603[_0x5c58d9(0x285)]);var _0xe215bc=Object[_0x5c58d9(0xf4)],_0x3af00d=Object[_0x5c58d9(0x314)],_0x22e8c2=(_0x2926fd,_0x266a2d,_0x328995,_0x416c8c)=>{const _0x37d81d=_0x5c58d9;for(var _0x2d0a66=_0x416c8c>0x1?void 0x0:_0x416c8c?_0x3af00d(_0x266a2d,_0x328995):_0x266a2d,_0x19a2c4=_0x2926fd[_0x37d81d(0x3d9)]-0x1,_0x502fef;_0x19a2c4>=0x0;_0x19a2c4--)(_0x502fef=_0x2926fd[_0x19a2c4])&&(_0x2d0a66=(_0x416c8c?_0x502fef(_0x266a2d,_0x328995,_0x2d0a66):_0x502fef(_0x2d0a66))||_0x2d0a66);return _0x416c8c&&_0x2d0a66&&_0xe215bc(_0x266a2d,_0x328995,_0x2d0a66),_0x2d0a66;},_0x2578fc=(_0x3f53be,_0x497141)=>(_0x3d4b78,_0x2e2454)=>_0x497141(_0x3d4b78,_0x2e2454,_0x3f53be);_0xe0b603[_0x5c58d9(0x29a)]=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x4505dc,_0xc96d83,_0x46ddd0){const _0x458f54=_0x5c58d9;super(),_0x171b2f(this,_0x458f54(0x19e),new Map()),_0x171b2f(this,_0x458f54(0x34b),new _0x48eeba[(_0x458f54(0x1d8))]()),(this[_0x458f54(0x1dc)]=_0x4505dc,this[_0x458f54(0x462)]=_0xc96d83,this[_0x458f54(0x224)]=_0x46ddd0,this[_0x458f54(0x3c4)]());}[_0x5c58d9(0x3cf)](){const _0x435355=_0x5c58d9;super['dispose'](),this[_0x435355(0x19e)][_0x435355(0x418)](_0x31125f=>_0x31125f['dispose']()),this[_0x435355(0x19e)][_0x435355(0xb5)]();}[_0x5c58d9(0xc6)](_0x285a03){const _0x20a15f=_0x5c58d9;var _0x4d3629;return(_0x4d3629=this[_0x20a15f(0x19e)]['get'](_0x285a03))!=null?_0x4d3629:null;}[_0x5c58d9(0x10a)](_0x4c76af){const _0x3ef13b=_0x5c58d9,_0x3097df=this[_0x3ef13b(0xc6)](_0x4c76af);return _0x3097df?_0x48eeba['of'](_0x3097df):this['_entityInit$'][_0x3ef13b(0x3b0)](_0x187edc[_0x3ef13b(0x116)](_0x12a94e=>_0x12a94e[_0x3ef13b(0x541)]===_0x4c76af));}[_0x5c58d9(0x3c4)](){const _0x3802f0=_0x5c58d9;this[_0x3802f0(0x224)][_0x3802f0(0x200)](_0x5d7f39[_0x3802f0(0x2cd)][_0x3802f0(0x3f0)])['pipe'](_0x48eeba['takeUntil'](this[_0x3802f0(0x20b)]),_0x187edc[_0x3802f0(0x288)](0x10))[_0x3802f0(0x1fd)](async _0x4b8a21=>{const _0xbc8d60=_0x3802f0,_0x44caa9=_0x4b8a21[_0xbc8d60(0x506)](),_0x5568b9=await this[_0xbc8d60(0x262)](_0x44caa9,_0x54490e[_0xbc8d60(0x3f0)]);this['_entities'][_0xbc8d60(0x335)](_0x44caa9,_0x5568b9);}),this[_0x3802f0(0x224)][_0x3802f0(0x200)](_0x5d7f39[_0x3802f0(0x2cd)][_0x3802f0(0x3c8)])[_0x3802f0(0x3b0)](_0x48eeba['takeUntil'](this[_0x3802f0(0x20b)]),_0x187edc['delay'](0x10))['pipe'](_0x187edc[_0x3802f0(0x116)](_0x11f5e0=>!_0x11f5e0[_0x3802f0(0x506)]()[_0x3802f0(0x4a7)]('__')))[_0x3802f0(0x1fd)](async _0x4bff02=>{const _0x185130=_0x3802f0,_0x139398=_0x4bff02[_0x185130(0x506)](),_0x480c26=await this[_0x185130(0x262)](_0x139398,_0x54490e[_0x185130(0x3c8)]);this['_entities']['set'](_0x139398,_0x480c26);}),_0x48eeba[_0x3802f0(0x1fb)](this['_univerInstanceService'][_0x3802f0(0x19d)](_0x5d7f39[_0x3802f0(0x2cd)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x3802f0(0x19d)](_0x5d7f39[_0x3802f0(0x2cd)][_0x3802f0(0x3c8)]))[_0x3802f0(0x3b0)](_0x48eeba['takeUntil'](this[_0x3802f0(0x20b)]))['subscribe'](_0x2e417e=>{const _0x467d6a=_0x3802f0,_0x173d90=_0x2e417e[_0x467d6a(0x506)](),_0x3710e8=this[_0x467d6a(0x19e)][_0x467d6a(0x191)](_0x173d90);_0x3710e8&&(_0x3710e8[_0x467d6a(0x3cf)](),this['_entities'][_0x467d6a(0x183)](_0x173d90));});}async[_0x5c58d9(0x262)](_0x3d0bea,_0x4ca131){const _0xd62e72=_0x5c58d9,_0x5cb3b7=await this[_0xd62e72(0x462)][_0xd62e72(0xdf)](_0x3d0bea),_0x39b16d=this[_0xd62e72(0x1dc)][_0xd62e72(0xd6)](this['_getCtorByUniverType'](_0x4ca131),_0x3d0bea,_0x4ca131,_0x5cb3b7);return await _0x39b16d['init'](),this[_0xd62e72(0x34b)][_0xd62e72(0x4fb)](_0x39b16d),_0x39b16d;}[_0x5c58d9(0x225)](_0x5bb0d7){const _0x234bc3=_0x5c58d9;switch(_0x5bb0d7){case _0x54490e[_0x234bc3(0x3c8)]:return _0xe0b603[_0x234bc3(0x1df)];case _0x54490e[_0x234bc3(0x3f0)]:return _0xe0b603[_0x234bc3(0x285)];default:throw new Error(_0x234bc3(0xee)+_0x5bb0d7);}}},_0xe0b603['CollaborationController']=_0x22e8c2([_0x2578fc(0x0,_0x5d7f39['Inject'](_0x5d7f39['Injector'])),_0x2578fc(0x1,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x4e6)])),_0x2578fc(0x2,_0x5d7f39[_0x5c58d9(0x54a)])],_0xe0b603[_0x5c58d9(0x29a)]);var _0x46f5e7=Object['defineProperty'],_0x419dff=Object[_0x5c58d9(0x314)],_0x3a97c6=(_0x652857,_0x1e7839,_0x5db6d,_0x1069cd)=>{for(var _0x43abd5=_0x1069cd>0x1?void 0x0:_0x1069cd?_0x419dff(_0x1e7839,_0x5db6d):_0x1e7839,_0x342d2f=_0x652857['length']-0x1,_0x2ae958;_0x342d2f>=0x0;_0x342d2f--)(_0x2ae958=_0x652857[_0x342d2f])&&(_0x43abd5=(_0x1069cd?_0x2ae958(_0x1e7839,_0x5db6d,_0x43abd5):_0x2ae958(_0x43abd5))||_0x43abd5);return _0x1069cd&&_0x43abd5&&_0x46f5e7(_0x1e7839,_0x5db6d,_0x43abd5),_0x43abd5;},_0x560f07=(_0x32d924,_0x5d673d)=>(_0x306752,_0x50be20)=>_0x5d673d(_0x306752,_0x50be20,_0x32d924);let _0x5c01b7=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x3f9e41,_0x438363){const _0x305379=_0x5c58d9;super(),this[_0x305379(0xe8)]=_0x3f9e41,this[_0x305379(0x3a5)]=_0x438363,this['_init']();}[_0x5c58d9(0x3c4)](){const _0x5a9d69=_0x5c58d9,_0x60fe0b=this;this[_0x5a9d69(0x10b)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4c9856=>{const _0x396cdc=_0x5a9d69,_0x4b4a0c=await _0x60fe0b[_0x396cdc(0x3a5)][_0x396cdc(0x106)](_0x4c9856);return _0x4b4a0c?{'source':_0x4b4a0c['source'],'imageSourceType':_0x4b4a0c[_0x396cdc(0x2ff)]}:null;}}));}};_0x5c01b7=_0x3a97c6([_0x560f07(0x0,_0x43dacb[_0x5c58d9(0x88)]),_0x560f07(0x1,_0x1435ab['IImageIoService'])],_0x5c01b7);const _0x1600a6=[_0x5c58d9(0x7c),_0x5c58d9(0x507),_0x5c58d9(0x30c),_0x5c58d9(0x31f),_0x5c58d9(0x9a),_0x5c58d9(0x2d9)];class _0x3f8816 extends _0x5d7f39[_0x5c58d9(0x542)]{constructor(){const _0x5e7ee4=_0x5c58d9;super(...arguments),_0x171b2f(this,_0x5e7ee4(0x519),new Map()),_0x171b2f(this,_0x5e7ee4(0xa0),0x0);}[_0x5c58d9(0x430)](_0x546bbe){const _0x557c55=_0x5c58d9;if(this[_0x557c55(0x519)][_0x557c55(0x383)](_0x546bbe))return this['_assignedColors'][_0x557c55(0x191)](_0x546bbe);const _0x1a6950=_0x1600a6[this[_0x557c55(0xa0)]];return this[_0x557c55(0xa0)]=(this['_colorIndex']+0x1)%_0x1600a6[_0x557c55(0x3d9)],this['_assignedColors']['set'](_0x546bbe,_0x1a6950),_0x1a6950;}}var _0x3f58c6=Object['defineProperty'],_0x372f41=Object[_0x5c58d9(0x314)],_0x2b106f=(_0x499f65,_0x1ba809,_0x3b36dc,_0x18e113)=>{const _0x1afcb4=_0x5c58d9;for(var _0x3cd596=_0x18e113>0x1?void 0x0:_0x18e113?_0x372f41(_0x1ba809,_0x3b36dc):_0x1ba809,_0x14cd93=_0x499f65[_0x1afcb4(0x3d9)]-0x1,_0x4991fd;_0x14cd93>=0x0;_0x14cd93--)(_0x4991fd=_0x499f65[_0x14cd93])&&(_0x3cd596=(_0x18e113?_0x4991fd(_0x1ba809,_0x3b36dc,_0x3cd596):_0x4991fd(_0x3cd596))||_0x3cd596);return _0x18e113&&_0x3cd596&&_0x3f58c6(_0x1ba809,_0x3b36dc,_0x3cd596),_0x3cd596;},_0x3e829f=(_0x44d072,_0x3165dc)=>(_0x2a0738,_0x26e3a5)=>_0x3165dc(_0x2a0738,_0x26e3a5,_0x44d072);const _0x5bfa9d=0x12c,_0x2b7a13=0x64;let _0x1b95e7=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x368dc4,_0x11f7f7,_0x18a4f8,_0x31ab34,_0xcb7aa2,_0x323004,_0x22aad3,_0x5a5f5b,_0x2030e5){const _0x2c8067=_0x5c58d9;super(),_0x171b2f(this,_0x2c8067(0x4e1),!0x1),_0x171b2f(this,_0x2c8067(0x3c4),!0x1),_0x171b2f(this,_0x2c8067(0x465),new _0x48eeba['BehaviorSubject'](new Map())),_0x171b2f(this,_0x2c8067(0x156),this[_0x2c8067(0x465)][_0x2c8067(0x1e5)]()),_0x171b2f(this,_0x2c8067(0x399),new _0x48eeba[(_0x2c8067(0x1bf))]([])),_0x171b2f(this,'roomMembers$',this[_0x2c8067(0x399)][_0x2c8067(0x3b0)](_0x48eeba[_0x2c8067(0x34e)](_0x5bfa9d))),_0x171b2f(this,_0x2c8067(0x214),_0x5d7f39[_0x2c8067(0x20f)](_0x5cd2f9=>{const _0x18b4e6=_0x2c8067,_0x553fed={'eventID':_0x250718[_0x18b4e6(0x4cb)][_0x18b4e6(0x329)],'data':{'unitID':this['unitID'],'memberID':this[_0x18b4e6(0x339)][_0x18b4e6(0x32d)](),'selection':_0x3f559f(_0x5cd2f9)}};this[_0x18b4e6(0x339)][_0x18b4e6(0x190)](_0x553fed,this[_0x18b4e6(0x541)]);},_0x2b7a13)),(this[_0x2c8067(0x541)]=_0x368dc4,this[_0x2c8067(0x339)]=_0x11f7f7,this[_0x2c8067(0x1dc)]=_0x18a4f8,this['_colorAssignService']=_0x31ab34,this[_0x2c8067(0xa5)]=_0xcb7aa2,this[_0x2c8067(0x13a)]=_0x323004,this[_0x2c8067(0x2a7)]=_0x22aad3,this[_0x2c8067(0x224)]=_0x5a5f5b,this[_0x2c8067(0x4c8)]=_0x2030e5);}get[_0x5c58d9(0x46d)](){const _0x3d96cb=_0x5c58d9;return this[_0x3d96cb(0x465)][_0x3d96cb(0x54e)]();}get[_0x5c58d9(0xb6)](){const _0x1163af=_0x5c58d9;return this[_0x1163af(0x399)][_0x1163af(0x54e)]();}[_0x5c58d9(0x3cf)](){const _0x3c1279=_0x5c58d9;super[_0x3c1279(0x3cf)](),this[_0x3c1279(0x465)][_0x3c1279(0x4fb)](new Map()),this[_0x3c1279(0x465)]['complete'](),this['_roomMembers$']['next']([]),this[_0x3c1279(0x399)][_0x3c1279(0x20c)]();}[_0x5c58d9(0x242)](){const _0x57cd6c=_0x5c58d9;this[_0x57cd6c(0x3c4)]||(this[_0x57cd6c(0x3c4)]=!0x0,this[_0x57cd6c(0x339)][_0x57cd6c(0x2bb)][_0x57cd6c(0x3b0)](_0x48eeba[_0x57cd6c(0x234)](this[_0x57cd6c(0x20b)]))['subscribe'](_0x10e7e2=>{const _0x15b573=_0x57cd6c;_0x10e7e2===_0x4c9cb6[_0x15b573(0x332)]?this['_toggleOnline']():this[_0x15b573(0x52c)]();}),this[_0x57cd6c(0x339)]['event$'][_0x57cd6c(0x3b0)](_0x48eeba[_0x57cd6c(0x234)](this['dispose$']))[_0x57cd6c(0x1fd)](_0x5be603=>{const _0x22fad1=_0x57cd6c,_0x53b93a=_0x5be603[_0x22fad1(0x3f3)];_0x53b93a===_0x250718['CollaborationEvent'][_0x22fad1(0x329)]&&this[_0x22fad1(0x46e)](_0x5be603),_0x53b93a===_0x250718[_0x22fad1(0x4cb)][_0x22fad1(0x1d4)]&&this['_onCursorDelete'](_0x5be603);}),this['disposeWithMe'](this['_commandService'][_0x57cd6c(0x166)](_0x48acbb=>{const _0x57a7e7=_0x57cd6c,_0x3fa012=_0x48acbb[_0x57a7e7(0x521)];_0x3fa012!=null&&this[_0x57a7e7(0x4e1)]&&_0x48acbb['id']===_0x4fe995['SetTextSelectionsOperation']['id']&&_0x3fa012[_0x57a7e7(0x113)]===this[_0x57a7e7(0x541)]&&_0x3fa012[_0x57a7e7(0x4df)]===!0x1&&_0x3fa012[_0x57a7e7(0x53f)][_0x57a7e7(0x3d9)]>0x0&&this[_0x57a7e7(0x214)](_0x3fa012[_0x57a7e7(0x53f)]);})),this[_0x57cd6c(0x13a)]['collabCursorState$'][_0x57cd6c(0x3b0)](_0x48eeba['takeUntil'](this[_0x57cd6c(0x20b)]))['subscribe'](_0x45f6c8=>{const _0x8ba627=_0x57cd6c;if((_0x45f6c8==null?void 0x0:_0x45f6c8[_0x8ba627(0x541)])!==this['unitID'])return;const _0x17256e={'eventID':_0x250718[_0x8ba627(0x4cb)]['UPDATE_CURSOR'],'data':_0x45f6c8};this[_0x8ba627(0x46e)](_0x17256e);}),this[_0x57cd6c(0x10b)](this[_0x57cd6c(0x4c8)]['onCommandExecuted'](_0x3a7f65=>{const _0x42ffae=_0x57cd6c;if(_0x3a7f65[_0x42ffae(0x521)]==null)return;const _0xf53a68=_0x3a7f65[_0x42ffae(0x521)];if(_0x3a7f65['id']!==_0x4fe995[_0x42ffae(0x157)]['id']||_0xf53a68[_0x42ffae(0x113)]!==this[_0x42ffae(0x541)])return;const _0x5efccf={'id':_0x42ffae(0xa3),'params':_0xf53a68},_0x5093d6=this['cursorInfo'];for(const [_0x4b41b4,_0x56f5c4]of _0x5093d6){const _0x4b1d2f={'id':_0x42ffae(0xa3),'params':{'unitId':this[_0x42ffae(0x541)],'actions':null,'textRanges':_0x56f5c4[_0x42ffae(0x53f)]}},_0x5b7f2b=this[_0x42ffae(0x2a7)][_0x42ffae(0x400)](_0x5efccf,_0x4b1d2f,!0x1);if(_0x250718[_0x42ffae(0x40d)](_0x5b7f2b))throw _0x5b7f2b[_0x42ffae(0x405)];_0x5093d6['set'](_0x4b41b4,{..._0x56f5c4,'ranges':_0x5b7f2b['m2Prime']['params'][_0x42ffae(0x312)]});}queueMicrotask(()=>{const _0x47d602=_0x42ffae;this[_0x47d602(0x465)][_0x47d602(0x4fb)](_0x5093d6);});})));}[_0x5c58d9(0x46e)](_0x47bef5){const _0x3478ff=_0x5c58d9;var _0x35c147,_0x4571dc;const {memberID:_0x449dd0,selection:_0xf9eae1}=_0x47bef5[_0x3478ff(0x387)],_0x3aac18=_0x320da9(_0xf9eae1),_0x251ec2=(_0x4571dc=(_0x35c147=this['_memberService'][_0x3478ff(0x2de)](this['unitID'],_0x449dd0))==null?void 0x0:_0x35c147[_0x3478ff(0x322)])!=null?_0x4571dc:_0x3478ff(0x409),_0x307569={'color':this[_0x3478ff(0x1e4)][_0x3478ff(0x430)](_0x449dd0),'name':_0x251ec2,'ranges':_0x3aac18},_0x4e249d=this[_0x3478ff(0x46d)];_0x4e249d[_0x3478ff(0x335)](_0x449dd0,_0x307569),this[_0x3478ff(0x465)][_0x3478ff(0x4fb)](_0x4e249d);}['_onCursorDelete'](_0x1dd21b){const _0x5c5038=_0x5c58d9,{memberID:_0x3d4409}=_0x1dd21b[_0x5c5038(0x387)],_0x528a37=this['cursorInfo'];_0x528a37['delete'](_0x3d4409),this[_0x5c5038(0x465)]['next'](_0x528a37);}[_0x5c58d9(0x273)](){const _0x5d6b46=_0x5c58d9;var _0x24263f;if(this[_0x5d6b46(0x4e1)]=!0x0,((_0x24263f=this[_0x5d6b46(0x224)][_0x5d6b46(0x238)]())==null?void 0x0:_0x24263f[_0x5d6b46(0x506)]())!==this[_0x5d6b46(0x541)])return;const _0x5c9b56=this[_0x5d6b46(0x1dc)][_0x5d6b46(0x191)](_0x4fe995['DocSelectionManagerService'])[_0x5d6b46(0x36d)]();Array[_0x5d6b46(0x229)](_0x5c9b56)&&_0x5c9b56[_0x5d6b46(0x3d9)]>0x0&&this['_updateLocalCursor'](_0x5c9b56);}[_0x5c58d9(0x52c)](){const _0x3be35c=_0x5c58d9;this[_0x3be35c(0x4e1)]=!0x1;}};_0x1b95e7=_0x2b106f([_0x3e829f(0x2,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39['Injector'])),_0x3e829f(0x3,_0x5d7f39['Inject'](_0x3f8816)),_0x3e829f(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x215)])),_0x3e829f(0x5,_0x5d7f39[_0x5c58d9(0x3a2)](_0x3cb27c)),_0x3e829f(0x6,_0x250718['ITransformService']),_0x3e829f(0x7,_0x5d7f39[_0x5c58d9(0x54a)]),_0x3e829f(0x8,_0x5d7f39[_0x5c58d9(0x42d)])],_0x1b95e7);var _0x29701d=Object[_0x5c58d9(0xf4)],_0x37e264=Object[_0x5c58d9(0x314)],_0x2b0e33=(_0x25fc77,_0x39dd5,_0x1541df,_0x5cc7c3)=>{const _0x39735e=_0x5c58d9;for(var _0x539de6=_0x5cc7c3>0x1?void 0x0:_0x5cc7c3?_0x37e264(_0x39dd5,_0x1541df):_0x39dd5,_0x1b648e=_0x25fc77[_0x39735e(0x3d9)]-0x1,_0x5d51ae;_0x1b648e>=0x0;_0x1b648e--)(_0x5d51ae=_0x25fc77[_0x1b648e])&&(_0x539de6=(_0x5cc7c3?_0x5d51ae(_0x39dd5,_0x1541df,_0x539de6):_0x5d51ae(_0x539de6))||_0x539de6);return _0x5cc7c3&&_0x539de6&&_0x29701d(_0x39dd5,_0x1541df,_0x539de6),_0x539de6;},_0x876fca=(_0x1db6b4,_0x568e29)=>(_0x3bc69c,_0x9ae8d5)=>_0x568e29(_0x3bc69c,_0x9ae8d5,_0x1db6b4);const _0x4e7310=0x12c,_0x4ce7f4=0x64,_0x2ebb63=()=>{let _0xd255e=[],_0x166d57=!0x1;return _0x4b3394=>{const _0x3bee72=_0x1eb4;_0xd255e[_0x3bee72(0x443)](_0x4b3394),_0x166d57||(_0x166d57=!0x0,setTimeout(()=>{const _0xe64d31=_0x3bee72;_0xd255e[_0xe64d31(0x418)](_0x4cea00=>_0x4cea00()),_0xd255e=[],_0x166d57=!0x1;}));};};let _0x44d95f=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x19c5d2,_0x38b256,_0x341629,_0x34f69b,_0x5a96ce,_0x4dff5a,_0x5b4b14,_0x109012){const _0x144713=_0x5c58d9;super(),_0x171b2f(this,_0x144713(0x4e1),!0x1),_0x171b2f(this,_0x144713(0x3c4),!0x1),_0x171b2f(this,_0x144713(0x465),new _0x48eeba[(_0x144713(0x1bf))](new Map())),_0x171b2f(this,_0x144713(0x156),this[_0x144713(0x465)][_0x144713(0x1e5)]()),_0x171b2f(this,_0x144713(0x399),new _0x48eeba['BehaviorSubject']([])),_0x171b2f(this,_0x144713(0x24d),this['_roomMembers$']['pipe'](_0x48eeba[_0x144713(0x34e)](_0x4e7310))),_0x171b2f(this,_0x144713(0x214),_0x5d7f39[_0x144713(0x20f)]((_0x17035b,_0x509c29)=>{const _0x11e5cc=_0x144713,_0x1c2086={'eventID':_0x250718['CollaborationEvent'][_0x11e5cc(0x329)],'data':{'unitID':this[_0x11e5cc(0x541)],'memberID':this[_0x11e5cc(0x339)][_0x11e5cc(0x32d)](),'selection':_0x5701a0[_0x11e5cc(0x446)](_0x17035b,_0x509c29[_0x11e5cc(0x2ad)])}};this[_0x11e5cc(0x339)][_0x11e5cc(0x190)](_0x1c2086,this[_0x11e5cc(0x541)]);},_0x4ce7f4)),(this[_0x144713(0x541)]=_0x19c5d2,this['_session']=_0x38b256,this[_0x144713(0x1dc)]=_0x341629,this[_0x144713(0x1e4)]=_0x34f69b,this['_memberService']=_0x5a96ce,this['_univerInstanceService']=_0x4dff5a,this[_0x144713(0x4c8)]=_0x5b4b14,this[_0x144713(0x3a9)]=_0x109012);}get[_0x5c58d9(0x46d)](){const _0x2c7142=_0x5c58d9;return this[_0x2c7142(0x465)][_0x2c7142(0x54e)]();}get[_0x5c58d9(0xb6)](){const _0x4a6505=_0x5c58d9;return this['_roomMembers$'][_0x4a6505(0x54e)]();}[_0x5c58d9(0x3cf)](){const _0x3474a1=_0x5c58d9;super['dispose'](),this[_0x3474a1(0x465)][_0x3474a1(0x4fb)](new Map()),this[_0x3474a1(0x465)][_0x3474a1(0x20c)](),this[_0x3474a1(0x399)][_0x3474a1(0x4fb)]([]),this[_0x3474a1(0x399)][_0x3474a1(0x20c)]();}[_0x5c58d9(0x242)](){const _0x1c0133=_0x5c58d9;this[_0x1c0133(0x3c4)]||(this[_0x1c0133(0x3c4)]=!0x0,this['_session'][_0x1c0133(0x2bb)][_0x1c0133(0x3b0)](_0x48eeba['takeUntil'](this['dispose$']))[_0x1c0133(0x1fd)](_0x5eaa10=>{const _0x19d8c7=_0x1c0133;_0x5eaa10===_0x4c9cb6[_0x19d8c7(0x332)]?this[_0x19d8c7(0x273)]():this[_0x19d8c7(0x52c)]();}),this[_0x1c0133(0x339)][_0x1c0133(0x8b)][_0x1c0133(0x3b0)](_0x48eeba[_0x1c0133(0x234)](this[_0x1c0133(0x20b)]))['subscribe'](_0x471298=>{const _0x2976aa=_0x1c0133,_0x15a3a4=_0x471298[_0x2976aa(0x3f3)];_0x15a3a4===_0x250718[_0x2976aa(0x4cb)][_0x2976aa(0x329)]&&this[_0x2976aa(0x46e)](_0x471298),_0x15a3a4===_0x250718['CollaborationEvent'][_0x2976aa(0x1d4)]&&this[_0x2976aa(0x294)](_0x471298);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x1c0133(0x166)](_0x3c413e=>{const _0x49b14d=_0x1c0133;if(this[_0x49b14d(0x4e1)]&&_0x3c413e['id']===_0x2dcdfa[_0x49b14d(0x172)]['id']&&_0x3c413e[_0x49b14d(0x521)][_0x49b14d(0x113)]===this[_0x49b14d(0x541)]){const _0x2a94f9=_0x3c413e['params'];this[_0x49b14d(0x214)](_0x2a94f9[_0x49b14d(0x36e)],_0x2a94f9['selections'][0x0]);}})));}[_0x5c58d9(0x46e)](_0x4e496e){const _0x824123=_0x5c58d9;var _0x5e868e,_0x3c6929;const {memberID:_0x4f4727,selection:_0x44f452}=_0x4e496e[_0x824123(0x387)],{sheetName:_0xc33fac,range:_0x15ec89}=_0x5701a0[_0x824123(0x263)](_0x44f452),_0x561f47={'name':(_0x3c6929=(_0x5e868e=this[_0x824123(0xa5)][_0x824123(0x2de)](this[_0x824123(0x541)],_0x4f4727))==null?void 0x0:_0x5e868e[_0x824123(0x322)])!=null?_0x3c6929:_0x824123(0x409),'range':this[_0x824123(0x3a1)](_0xc33fac,_0x15ec89),'sheetID':_0xc33fac,'color':this['_colorAssignService'][_0x824123(0x430)](_0x4f4727),'selection':_0x44f452},_0x326dd3=this[_0x824123(0x46d)];_0x326dd3[_0x824123(0x335)](_0x4f4727,_0x561f47),this[_0x824123(0x465)]['next'](_0x326dd3);}[_0x5c58d9(0x294)](_0x4260e2){const _0x11bb68=_0x5c58d9,{memberID:_0x4c0371}=_0x4260e2[_0x11bb68(0x387)],_0x556003=this[_0x11bb68(0x46d)];_0x556003[_0x11bb68(0x183)](_0x4c0371),this[_0x11bb68(0x465)][_0x11bb68(0x4fb)](_0x556003);}[_0x5c58d9(0x3a1)](_0x5dd41f,_0x3fb896){const _0x5b909a=_0x5c58d9;var _0x2e4d36,_0x3508f3;const _0x2a7313=(_0x3508f3=(_0x2e4d36=this[_0x5b909a(0x224)][_0x5b909a(0x381)](this[_0x5b909a(0x541)]))==null?void 0x0:_0x2e4d36['getSheetBySheetId'](_0x5dd41f))==null?void 0x0:_0x3508f3[_0x5b909a(0x27b)]();return(_0x2a7313==null?void 0x0:_0x2a7313[_0x5b909a(0x331)](_0xbe3642=>_0x5d7f39[_0x5b909a(0x2fd)][_0x5b909a(0x89)](_0xbe3642,_0x3fb896)))||_0x3fb896;}[_0x5c58d9(0x47f)](){const _0x1c097e=_0x5c58d9,_0x5cd668=new _0x5d7f39[(_0x1c097e(0x342))](),_0x24de0f=_0x2ebb63(),_0x475b0a=()=>{const _0x482008=_0x1c097e;_0x5cd668[_0x482008(0x3cf)]();const _0x55c4fc=(_0x166573,_0x5d3510,_0x2a5ede,_0x4830ba)=>{const _0x5c9d71=_0x482008;let _0x1bd864=[];switch(_0x166573['id']){case _0x2dcdfa[_0x5c9d71(0x4f8)]['DeleteRangeMoveLeftCommandId']:{_0x1bd864=_0x2dcdfa[_0x5c9d71(0x36f)](_0x166573,_0x4830ba);break;}case _0x2dcdfa[_0x5c9d71(0x4f8)][_0x5c9d71(0x47a)]:{_0x1bd864=_0x2dcdfa[_0x5c9d71(0x177)](_0x166573,_0x4830ba);break;}case _0x2dcdfa['EffectRefRangId'][_0x5c9d71(0x17e)]:{_0x1bd864=_0x2dcdfa[_0x5c9d71(0x398)](_0x166573,_0x4830ba);break;}case _0x2dcdfa[_0x5c9d71(0x4f8)][_0x5c9d71(0x453)]:{_0x1bd864=_0x2dcdfa['handleInsertRangeMoveDown'](_0x166573,_0x4830ba);break;}case _0x2dcdfa[_0x5c9d71(0x4f8)]['InsertRangeMoveRightCommandId']:{_0x1bd864=_0x2dcdfa[_0x5c9d71(0x250)](_0x166573,_0x4830ba);break;}case _0x2dcdfa['EffectRefRangId']['InsertRowCommandId']:{_0x1bd864=_0x2dcdfa[_0x5c9d71(0x4ba)](_0x166573,_0x4830ba);break;}case _0x2dcdfa[_0x5c9d71(0x4f8)][_0x5c9d71(0x29b)]:{_0x1bd864=_0x2dcdfa[_0x5c9d71(0xc5)](_0x166573,_0x4830ba);break;}case _0x2dcdfa[_0x5c9d71(0x4f8)]['RemoveColCommandId']:{_0x1bd864=_0x2dcdfa[_0x5c9d71(0x404)](_0x166573,_0x4830ba);break;}case _0x2dcdfa['EffectRefRangId'][_0x5c9d71(0x3c7)]:{_0x1bd864=_0x2dcdfa[_0x5c9d71(0x24f)](_0x166573,_0x4830ba);break;}}const _0x3df7e0=_0x2dcdfa['runRefRangeMutations'](_0x1bd864,_0x4830ba),_0x2449a4=this[_0x5c9d71(0x46d)]['get'](_0x5d3510);if(_0x2449a4&&_0x3df7e0){const _0x393e5e={..._0x2449a4,'range':_0x3df7e0};this['cursorInfo'][_0x5c9d71(0x335)](_0x5d3510,_0x393e5e),_0x24de0f(()=>{const _0x524c70=_0x5c9d71,_0x5ccba6=this[_0x524c70(0x3a9)][_0x524c70(0x334)](_0x3df7e0,_0x1cd298=>(_0x5ccba6[_0x524c70(0x3cf)](),_0x55c4fc(_0x1cd298,_0x5d3510,_0x2a5ede,_0x3df7e0)));_0x5cd668[_0x524c70(0x149)](_0x5ccba6);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x2c27a4,_0x1cc559)=>{const _0x428c3a=_0x482008,{range:_0x109a38,sheetID:_0x4a60c2}=_0x2c27a4,_0xc7eb13=this[_0x428c3a(0x3a9)][_0x428c3a(0x334)](_0x109a38,_0x350b83=>(_0xc7eb13[_0x428c3a(0x3cf)](),_0x55c4fc(_0x350b83,_0x1cc559,_0x4a60c2,_0x109a38)));_0x5cd668[_0x428c3a(0x149)](_0xc7eb13);});};this[_0x1c097e(0x10b)](_0x5d7f39[_0x1c097e(0x4a3)](this[_0x1c097e(0x465)]['subscribe'](()=>{_0x475b0a();})));}[_0x5c58d9(0x273)](){const _0x5e2228=_0x5c58d9;var _0x3e9b40,_0x255725;if(this['_online']=!0x0,((_0x3e9b40=this[_0x5e2228(0x224)]['getFocusedUnit']())==null?void 0x0:_0x3e9b40[_0x5e2228(0x506)]())!==this[_0x5e2228(0x541)])return;const _0xf1ca1a=(_0x255725=this['_injector']['get'](_0x2dcdfa['SheetsSelectionsService'])[_0x5e2228(0xfb)]())==null?void 0x0:_0x255725[0x0],_0x27653f=this[_0x5e2228(0x224)][_0x5e2228(0x110)](_0x5d7f39['UniverInstanceType'][_0x5e2228(0x3f0)])[_0x5e2228(0x1f1)]();_0xf1ca1a&&_0x27653f&&this['_updateLocalCursor'](_0x27653f[_0x5e2228(0x53d)](),_0xf1ca1a);}['_toggleOffline'](){const _0x29ad94=_0x5c58d9;this[_0x29ad94(0x4e1)]=!0x1;}};_0x44d95f=_0x2b0e33([_0x876fca(0x2,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39['Injector'])),_0x876fca(0x3,_0x5d7f39['Inject'](_0x3f8816)),_0x876fca(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x215)])),_0x876fca(0x5,_0x5d7f39[_0x5c58d9(0x54a)]),_0x876fca(0x6,_0x5d7f39[_0x5c58d9(0x42d)]),_0x876fca(0x7,_0x5d7f39[_0x5c58d9(0x3a2)](_0x2dcdfa['RefRangeService']))],_0x44d95f);var _0x22c5b4=Object['defineProperty'],_0x5dceb0=Object[_0x5c58d9(0x314)],_0x12a79f=(_0x5a09d4,_0xf1c86f,_0x4dcbcb,_0x197131)=>{const _0x2ba1bc=_0x5c58d9;for(var _0x33d932=_0x197131>0x1?void 0x0:_0x197131?_0x5dceb0(_0xf1c86f,_0x4dcbcb):_0xf1c86f,_0x160dc1=_0x5a09d4[_0x2ba1bc(0x3d9)]-0x1,_0x4a6b33;_0x160dc1>=0x0;_0x160dc1--)(_0x4a6b33=_0x5a09d4[_0x160dc1])&&(_0x33d932=(_0x197131?_0x4a6b33(_0xf1c86f,_0x4dcbcb,_0x33d932):_0x4a6b33(_0x33d932))||_0x33d932);return _0x197131&&_0x33d932&&_0x22c5b4(_0xf1c86f,_0x4dcbcb,_0x33d932),_0x33d932;},_0x2bab51=(_0x11954f,_0xa04fef)=>(_0x4d0b1c,_0x494c58)=>_0xa04fef(_0x4d0b1c,_0x494c58,_0x11954f);let _0x21488c=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x5dc653,_0x3058e0,_0x2b16d0){const _0x144283=_0x5c58d9;super(),_0x171b2f(this,_0x144283(0x19e),new Map()),_0x171b2f(this,_0x144283(0x34b),new _0x48eeba[(_0x144283(0x1d8))]()),(this['_univerInstanceService']=_0x5dc653,this[_0x144283(0x1dc)]=_0x3058e0,this['_collabSessionService']=_0x2b16d0,this[_0x144283(0x3c4)]());}['dispose'](){const _0x508b8c=_0x5c58d9;super[_0x508b8c(0x3cf)](),this[_0x508b8c(0x34b)][_0x508b8c(0x20c)](),this[_0x508b8c(0x19e)][_0x508b8c(0x418)](_0x227bf8=>_0x227bf8[_0x508b8c(0x3cf)]());}['getCollabCursors$'](_0x26cf6d){const _0x4fcd97=_0x5c58d9;return this[_0x4fcd97(0x19e)][_0x4fcd97(0x383)](_0x26cf6d)?this[_0x4fcd97(0x19e)][_0x4fcd97(0x191)](_0x26cf6d)['cursorInfo$']:this['_entityInit$'][_0x4fcd97(0x3b0)](_0x48eeba[_0x4fcd97(0x116)](_0x26f13c=>_0x26f13c[_0x4fcd97(0x541)]===_0x26cf6d),_0x48eeba[_0x4fcd97(0x4c0)](_0x4075c0=>_0x4075c0[_0x4fcd97(0x156)]));}[_0x5c58d9(0x3c4)](){const _0x36e5db=_0x5c58d9;this[_0x36e5db(0x224)][_0x36e5db(0x200)](_0x5d7f39[_0x36e5db(0x2cd)][_0x36e5db(0x3f0)])[_0x36e5db(0x3b0)](_0x48eeba[_0x36e5db(0x234)](this[_0x36e5db(0x20b)]))[_0x36e5db(0x1fd)](async _0xcec0f8=>{const _0x3e5062=_0x36e5db,_0x27ab3d=_0xcec0f8[_0x3e5062(0x506)](),_0x261daa=await this['_startSheetCollabCursor'](_0x27ab3d);this[_0x3e5062(0x34b)][_0x3e5062(0x4fb)](_0x261daa),this[_0x3e5062(0x19e)][_0x3e5062(0x335)](_0x27ab3d,_0x261daa);}),this[_0x36e5db(0x224)][_0x36e5db(0x200)](_0x5d7f39[_0x36e5db(0x2cd)][_0x36e5db(0x3c8)])[_0x36e5db(0x3b0)](_0x48eeba[_0x36e5db(0x234)](this[_0x36e5db(0x20b)]))[_0x36e5db(0x3b0)](_0x48eeba[_0x36e5db(0x116)](_0x499cf3=>!_0x499cf3[_0x36e5db(0x506)]()[_0x36e5db(0x4a7)]('__')))[_0x36e5db(0x1fd)](async _0x4eba35=>{const _0x477058=_0x36e5db,_0x2f622f=_0x4eba35[_0x477058(0x506)](),_0x1060dc=await this['_startDocCollabCursor'](_0x2f622f);this['_entityInit$'][_0x477058(0x4fb)](_0x1060dc),this[_0x477058(0x19e)][_0x477058(0x335)](_0x2f622f,_0x1060dc);}),_0x48eeba[_0x36e5db(0x1fb)](this[_0x36e5db(0x224)][_0x36e5db(0x19d)](_0x5d7f39[_0x36e5db(0x2cd)][_0x36e5db(0x3c8)]),this['_univerInstanceService'][_0x36e5db(0x19d)](_0x5d7f39['UniverInstanceType'][_0x36e5db(0x3f0)]))[_0x36e5db(0x3b0)](_0x48eeba[_0x36e5db(0x234)](this[_0x36e5db(0x20b)]))['subscribe'](_0x595021=>{const _0x35a6f6=_0x36e5db,_0x221fe6=_0x595021[_0x35a6f6(0x506)](),_0x1af3ef=this[_0x35a6f6(0x19e)][_0x35a6f6(0x191)](_0x221fe6);_0x1af3ef&&(_0x1af3ef[_0x35a6f6(0x3cf)](),this[_0x35a6f6(0x19e)][_0x35a6f6(0x183)](_0x221fe6));});}async['_startSheetCollabCursor'](_0x413ddc){const _0x4abb29=_0x5c58d9,_0x27c9f6=await this[_0x4abb29(0x462)]['requireSession'](_0x413ddc),_0x2b5e6a=this['_injector'][_0x4abb29(0xd6)](_0x44d95f,_0x413ddc,_0x27c9f6);return _0x2b5e6a[_0x4abb29(0x242)](),_0x2b5e6a;}async[_0x5c58d9(0x494)](_0x447aa3){const _0x1104e9=_0x5c58d9,_0x1f86ca=await this['_collabSessionService'][_0x1104e9(0xdf)](_0x447aa3),_0x4d591b=this['_injector'][_0x1104e9(0xd6)](_0x1b95e7,_0x447aa3,_0x1f86ca);return _0x4d591b[_0x1104e9(0x242)](),_0x4d591b;}};_0x21488c=_0x12a79f([_0x2bab51(0x0,_0x5d7f39[_0x5c58d9(0x54a)]),_0x2bab51(0x1,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x2bab51(0x2,_0x5d7f39['Inject'](_0xe0b603[_0x5c58d9(0x4e6)]))],_0x21488c);const _0x125aa9=0x14,_0x5e2860=0xc8,_0x22f7d4=0x4,_0x3d3ba7=0x5;function _0x37e586(_0x3c9230,_0x1348da){const _0x59fc70=_0x5c58d9;let {radius:_0x5cc6dd,width:_0xabc149,height:_0x30f850}=_0x1348da;_0x5cc6dd=_0x5cc6dd!=null?_0x5cc6dd:0x0,_0xabc149=_0xabc149!=null?_0xabc149:0x1e,_0x30f850=_0x30f850!=null?_0x30f850:0x1e;let _0xa5c41d=0x0,_0x574d03=0x0,_0x26710b=0x0;_0xa5c41d=_0x574d03=_0x26710b=Math['min'](_0x5cc6dd,_0xabc149/0x2,_0x30f850/0x2),_0x3c9230[_0x59fc70(0x50b)](),_0x3c9230['moveTo'](_0xa5c41d,0x0),_0x3c9230[_0x59fc70(0x48a)](_0xabc149-_0x574d03,0x0),_0x3c9230['arc'](_0xabc149-_0x574d03,_0x574d03,_0x574d03,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c9230[_0x59fc70(0x48a)](_0xabc149,_0x30f850-_0x26710b),_0x3c9230[_0x59fc70(0x1a3)](_0xabc149-_0x26710b,_0x30f850-_0x26710b,_0x26710b,0x0,Math['PI']/0x2,!0x1),_0x3c9230[_0x59fc70(0x48a)](0x0,_0x30f850),_0x3c9230[_0x59fc70(0x48a)](0x0,_0xa5c41d),_0x3c9230[_0x59fc70(0x1a3)](_0xa5c41d,_0xa5c41d,_0xa5c41d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c9230[_0x59fc70(0x536)](),_0x1348da['fill']&&(_0x3c9230['save'](),_0x3c9230['fillStyle']=_0x1348da[_0x59fc70(0x528)],_0x1348da[_0x59fc70(0x2f6)]===_0x59fc70(0x498)?_0x3c9230[_0x59fc70(0x528)](_0x59fc70(0x498)):_0x3c9230[_0x59fc70(0x528)](),_0x3c9230[_0x59fc70(0x3b8)]());}class _0x5517bf extends _0x533483[_0x5c58d9(0x53c)]{constructor(_0x14575a,_0x41e151){const _0x3658df=_0x5c58d9;super(_0x14575a,_0x41e151),_0x171b2f(this,_0x3658df(0x171)),_0x171b2f(this,_0x3658df(0x4f9)),(this[_0x3658df(0x171)]=_0x41e151==null?void 0x0:_0x41e151[_0x3658df(0x171)],this[_0x3658df(0x4f9)]=_0x41e151==null?void 0x0:_0x41e151[_0x3658df(0x4f9)]);}static[_0x5c58d9(0x551)](_0x325ee5,_0xb46b86){const _0x587fad=_0x5c58d9,{text:_0x509d10,color:_0x5aab3b}=_0xb46b86;_0x325ee5[_0x587fad(0x512)](),_0x325ee5[_0x587fad(0x2b3)]=_0x587fad(0x35a);const _0x402687=_0x325ee5['measureText'](_0x509d10)['width'],_0xc5749a=Math['min'](_0x402687+0x2*_0x22f7d4,_0x5e2860);_0x37e586(_0x325ee5,{'height':_0x125aa9,'radius':0x4,'width':_0xc5749a,'fill':_0x5aab3b,'evented':!0x1}),_0x325ee5['fillStyle']=_0x587fad(0x31a);const _0x2747ef=_0x22f7d4,_0x579d3e=_0x125aa9-_0x3d3ba7,_0x474f2c=_0x5e2860-0x2*_0x22f7d4;if(_0x402687>_0x474f2c){let _0x3bcf89='',_0x2a77a0=0x0;for(const _0x2de657 of _0x509d10){const _0x3881a3=_0x325ee5['measureText'](_0x2de657)[_0x587fad(0x1f9)];if(_0x2a77a0+_0x3881a3<=_0x474f2c-_0x325ee5[_0x587fad(0x3f8)](_0x587fad(0x376))[_0x587fad(0x1f9)])_0x3bcf89+=_0x2de657,_0x2a77a0+=_0x3881a3;else{_0x3bcf89+='...';break;}}_0x325ee5[_0x587fad(0x49d)](_0x3bcf89,_0x2747ef,_0x579d3e);}else _0x325ee5[_0x587fad(0x49d)](_0x509d10,_0x2747ef,_0x579d3e);_0x325ee5[_0x587fad(0x3b8)]();}[_0x5c58d9(0x243)](_0x9af0bb){const _0x37f93b=_0x5c58d9;_0x5517bf[_0x37f93b(0x551)](_0x9af0bb,this);}}const _0x2f895d=_0x5c58d9(0x3a0),_0x472fa2=_0x5c58d9(0x3fe),_0x5394e0=_0x5c58d9(0x27d),_0x251a0b=0x6,_0x10f5cf=1.5,_0x47bcdb=0x4,_0x58d5ae=1.5,_0x4bea26=_0x5c58d9(0x415);class _0x4e172b{constructor(_0x594e16,_0x4c1bcb,_0x18ea36,_0x5acb85){const _0x5278cd=_0x5c58d9;_0x171b2f(this,_0x5278cd(0xff),[]),_0x171b2f(this,_0x5278cd(0x14b),null),_0x171b2f(this,_0x5278cd(0xde),null),_0x171b2f(this,_0x5278cd(0x2c0),null),_0x171b2f(this,_0x5278cd(0x15d),null),_0x171b2f(this,_0x5278cd(0x1e2),null),(this[_0x5278cd(0x55c)]=_0x594e16,this['_scene']=_0x4c1bcb,this['_docSkeleton']=_0x18ea36,this[_0x5278cd(0x4f4)]=_0x5acb85,this[_0x5278cd(0x3d8)]());}set[_0x5c58d9(0x2a4)](_0x5c39b1){const _0x393e3e=_0x5c58d9;_0x5c39b1?(this['_anchorDot']&&this['_anchorDot'][_0x393e3e(0xe5)](),this[_0x393e3e(0xde)]&&this[_0x393e3e(0xde)][_0x393e3e(0x4e2)]()):(this[_0x393e3e(0x2c0)]&&this['_anchorDot'][_0x393e3e(0x4e2)](),this[_0x393e3e(0xde)]&&this[_0x393e3e(0xde)][_0x393e3e(0xe5)]());}[_0x5c58d9(0x3cf)](){const _0x315d88=_0x5c58d9;for(const _0x232240 of this['_shapes'])_0x232240[_0x315d88(0x3cf)]();this[_0x315d88(0xde)]&&this[_0x315d88(0xde)][_0x315d88(0x3cf)](),this[_0x315d88(0x2c0)]&&this[_0x315d88(0x2c0)][_0x315d88(0x3cf)](),this[_0x315d88(0x14b)]&&this[_0x315d88(0x14b)][_0x315d88(0x3cf)](),this[_0x315d88(0x1e2)]&&this[_0x315d88(0x1e2)]();}['_render'](){const _0x3c6fe0=_0x5c58d9;var _0x84e315;const {_docSkeleton:_0x41c1bb,_document:_0x5a677f}=this,{color:_0x5f0fac,name:_0x5ab38c,ranges:_0x2978df}=this[_0x3c6fe0(0x55c)],_0x101e5b=_0x5a677f['getOffsetConfig'](),{docsLeft:_0x2df414,docsTop:_0x1616f2}=_0x101e5b,_0x573d4f=new _0x43dacb[(_0x3c6fe0(0x41f))](_0x101e5b,_0x41c1bb);for(const {startOffset:_0x2a98f2,endOffset:_0x3025ec,rangeType:_0x2301f1,segmentId:_0x35babe,segmentPage:_0xf836cd,collapsed:_0x57bfff,isActive:_0x5ed287}of _0x2978df){const _0x5832d0=_0x41c1bb[_0x3c6fe0(0x1ef)](_0x2a98f2,!0x0,_0x35babe,_0xf836cd);let _0x4116dd=_0x41c1bb[_0x3c6fe0(0x1ef)](_0x3025ec,!0x0,_0x35babe,_0xf836cd);if(_0x4116dd==null&&(_0x4116dd=_0x41c1bb[_0x3c6fe0(0x1ef)](_0x3025ec-0x1,!0x1,_0x35babe,_0xf836cd)),_0x5ed287){const {contentBoxPointGroup:_0x2f8dd5}=_0x573d4f[_0x3c6fe0(0xec)](_0x4116dd,_0x4116dd);if(_0x2f8dd5[_0x3c6fe0(0x3d9)]===0x0)continue;this[_0x3c6fe0(0x3ee)](_0x5f0fac,_0x2f8dd5,_0x2df414,_0x1616f2,_0x5ab38c),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x5832d0&&_0x4116dd){if(_0x2301f1===_0x5d7f39[_0x3c6fe0(0x39e)][_0x3c6fe0(0x3a7)]){const _0x46f61c=new _0x43dacb['NodePositionConvertToRectRange'](_0x101e5b,_0x41c1bb),{pointGroup:_0x153b16}=(_0x84e315=_0x46f61c[_0x3c6fe0(0xec)](_0x5832d0,_0x4116dd))!=null?_0x84e315:{};if(_0x153b16==null||_0x153b16['length']===0x0)continue;this[_0x3c6fe0(0x37b)](_0x5f0fac,_0x153b16,_0x2df414,_0x1616f2);}else{if(!_0x57bfff){const {borderBoxPointGroup:_0x319f11}=_0x573d4f['getRangePointData'](_0x5832d0,_0x4116dd);if(_0x319f11[_0x3c6fe0(0x3d9)]===0x0)continue;this[_0x3c6fe0(0x161)](_0x5f0fac,_0x319f11,_0x2df414,_0x1616f2);}}}}}[_0x5c58d9(0x3ee)](_0x204404,_0x2a824a,_0x2ae8b6,_0x39614f,_0x3370aa){const _0x3e01fb=_0x5c58d9,_0xd49f64=this[_0x3e01fb(0x109)](_0x2a824a),{left:_0x2e806c,top:_0x554050,height:_0x498bf7}=_0xd49f64,_0x45f135=this[_0x3e01fb(0x4d4)](),_0x633a2c=_0x58d5ae/_0x45f135,_0x50ce5c=new _0x533483[(_0x3e01fb(0x274))](_0x2f895d+_0x5d7f39[_0x3e01fb(0x441)]['generateRandomId'](_0x251a0b),{'left':_0x2e806c+_0x2ae8b6-_0x633a2c,'top':_0x554050+_0x39614f,'height':_0x498bf7,'width':_0x10f5cf,'fill':_0x204404||_0x533483[_0x3e01fb(0x16d)](_0x5d7f39[_0x3e01fb(0x532)][_0x3e01fb(0x194)],0x0),'strokeWidth':_0x633a2c,'stroke':_0x4bea26,'evented':!0x0});this['_anchor']=_0x50ce5c,this[_0x3e01fb(0x244)][_0x3e01fb(0x4bf)](_0x50ce5c,_0x43dacb[_0x3e01fb(0x471)]);const _0x2fb7d5=new _0x533483['Rect'](_0x2f895d+_0x5d7f39[_0x3e01fb(0x441)][_0x3e01fb(0x4b4)](_0x251a0b),{'left':_0x2e806c+_0x2ae8b6-_0x633a2c,'top':_0x554050+_0x39614f-_0x47bcdb/0x2,'height':_0x47bcdb,'width':_0x47bcdb,'fill':_0x204404||_0x533483[_0x3e01fb(0x16d)](_0x5d7f39[_0x3e01fb(0x532)][_0x3e01fb(0x194)],0x0),'strokeWidth':0x0,'stroke':_0x204404||_0x533483[_0x3e01fb(0x16d)](_0x5d7f39['COLORS']['black'],0x0),'evented':!0x1});this[_0x3e01fb(0x2c0)]=_0x2fb7d5,this[_0x3e01fb(0x244)][_0x3e01fb(0x4bf)](_0x2fb7d5,_0x43dacb[_0x3e01fb(0x471)]);const _0x17b7f0=new _0x5517bf(_0x2f895d+_0x5d7f39[_0x3e01fb(0x441)][_0x3e01fb(0x4b4)](_0x251a0b),{'left':_0x2e806c+_0x2ae8b6-_0x633a2c,'top':_0x554050+_0x39614f-_0x125aa9,'text':_0x3370aa,'color':_0x204404});this['_textBubble']=_0x17b7f0,this[_0x3e01fb(0x244)]['addObject'](_0x17b7f0,_0x43dacb['TEXT_RANGE_LAYER_INDEX']),this[_0x3e01fb(0x2a4)]=!0x1;}['_handleHover'](){const _0x49618d=_0x5c58d9,_0x488bae=this[_0x49618d(0x14b)]['onPointerEnter$'][_0x49618d(0x4b6)](()=>{const _0x162ec8=_0x49618d;this[_0x162ec8(0x2a4)]=!0x0;}),_0x304443=this['_anchor'][_0x49618d(0x129)][_0x49618d(0x4b6)](()=>{const _0x37e56a=_0x49618d;this[_0x37e56a(0x15d)]&&clearTimeout(this['_hideTimer']),this[_0x37e56a(0x15d)]=setTimeout(()=>{const _0x5c4430=_0x37e56a;this[_0x5c4430(0x2a4)]=!0x1;},0x7d0);});return()=>{const _0x4ef512=_0x49618d;_0x488bae[_0x4ef512(0x2be)](),_0x304443[_0x4ef512(0x2be)]();};}[_0x5c58d9(0x161)](_0x181467,_0xb7e37c,_0x489778,_0x421c2c){const _0xc76591=_0x5c58d9,_0x49fdaf=new _0x5d7f39['ColorKit'](_0x181467)[_0xc76591(0x18b)](0.2)[_0xc76591(0x38b)](),_0x118902=new _0x533483[(_0xc76591(0x189))](_0x472fa2+_0x5d7f39[_0xc76591(0x441)][_0xc76591(0x4b4)](_0x251a0b),{'pointsGroup':_0xb7e37c,'fill':_0x49fdaf||_0x533483[_0xc76591(0x16d)](_0x5d7f39[_0xc76591(0x532)]['black'],0.2),'left':_0x489778,'top':_0x421c2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc76591(0xff)][_0xc76591(0x443)](_0x118902),this['_scene'][_0xc76591(0x4bf)](_0x118902,_0x43dacb['TEXT_RANGE_LAYER_INDEX']);}[_0x5c58d9(0x37b)](_0x2dda12,_0x542e18,_0x28fb70,_0x58ab12){const _0x35f4e7=_0x5c58d9,_0x28a050=new _0x5d7f39[(_0x35f4e7(0x2d0))](_0x2dda12)[_0x35f4e7(0x18b)](0.2)['toRgbString'](),_0x51e252=new _0x533483[(_0x35f4e7(0x189))](_0x5394e0+_0x5d7f39[_0x35f4e7(0x441)][_0x35f4e7(0x4b4)](_0x251a0b),{'pointsGroup':_0x542e18,'fill':_0x28a050||_0x533483[_0x35f4e7(0x16d)](_0x5d7f39[_0x35f4e7(0x532)][_0x35f4e7(0x194)],0.2),'left':_0x28fb70,'top':_0x58ab12,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x35f4e7(0x443)](_0x51e252),this['_scene'][_0x35f4e7(0x4bf)](_0x51e252,_0x43dacb[_0x35f4e7(0x471)]);}[_0x5c58d9(0x109)](_0x53b37b){const _0x2167e4=_0x53b37b[0x0],_0x542748=_0x2167e4[0x0],_0x4bf2a5=_0x2167e4[0x2],{x:_0x26c0b0,y:_0x2908ce}=_0x542748,{x:_0x15b23d,y:_0x34cafa}=_0x4bf2a5;return{'left':_0x26c0b0,'top':_0x2908ce,'width':_0x15b23d-_0x26c0b0,'height':_0x34cafa-_0x2908ce};}['_getScale'](){const _0x24c3f4=_0x5c58d9,{scaleX:_0x11ab34,scaleY:_0x23be53}=this[_0x24c3f4(0x244)]['getAncestorScale']();return Math[_0x24c3f4(0x96)](_0x11ab34,_0x23be53);}}var _0x5b5e13=Object[_0x5c58d9(0xf4)],_0x2b38cc=Object[_0x5c58d9(0x314)],_0x514a78=(_0x3a86df,_0x25a327,_0x301df3,_0x4f39b3)=>{const _0x57fd5e=_0x5c58d9;for(var _0x2ef1e2=_0x4f39b3>0x1?void 0x0:_0x4f39b3?_0x2b38cc(_0x25a327,_0x301df3):_0x25a327,_0x7f8968=_0x3a86df[_0x57fd5e(0x3d9)]-0x1,_0x33493b;_0x7f8968>=0x0;_0x7f8968--)(_0x33493b=_0x3a86df[_0x7f8968])&&(_0x2ef1e2=(_0x4f39b3?_0x33493b(_0x25a327,_0x301df3,_0x2ef1e2):_0x33493b(_0x2ef1e2))||_0x2ef1e2);return _0x4f39b3&&_0x2ef1e2&&_0x5b5e13(_0x25a327,_0x301df3,_0x2ef1e2),_0x2ef1e2;},_0x39e7cb=(_0x25c189,_0xf17382)=>(_0x4dc443,_0x5f28ce)=>_0xf17382(_0x4dc443,_0x5f28ce,_0x25c189);let _0x443295=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x3e30e5,_0x45cfec,_0x34479d,_0x4814cf,_0x428a58){const _0x4af4e8=_0x5c58d9;super(),_0x171b2f(this,_0x4af4e8(0x3c9),[]),_0x171b2f(this,'_cursors',[]),(this[_0x4af4e8(0x375)]=_0x3e30e5,this['_docSkeletonManagerService']=_0x45cfec,this[_0x4af4e8(0x3e0)]=_0x34479d,this[_0x4af4e8(0x4c8)]=_0x4814cf,this[_0x4af4e8(0xd1)]=_0x428a58,this[_0x4af4e8(0x3c4)]());}[_0x5c58d9(0x3c4)](){const _0x327444=_0x5c58d9,_0x8d7117=this['_context']['unitId'],_0x3da207=this[_0x327444(0x3b4)];this[_0x327444(0x10b)](_0x48eeba['combineLatest']([this[_0x327444(0x3e0)][_0x327444(0x46a)](_0x8d7117),this[_0x327444(0xd1)]['currentTheme$']])[_0x327444(0x3b0)](_0x187edc[_0x327444(0x491)](([_0x2beabd,_0x56abac])=>({'skeleton':_0x3da207[_0x327444(0x4e7)](),'cursors':[..._0x2beabd['values']()][_0x327444(0x437)](_0x2849e1=>({..._0x2849e1,'color':_0x56abac[_0x2849e1[_0x327444(0x171)]]}))})))['subscribe'](_0xc943e3=>{const _0x37e078=_0x327444;if(this[_0x37e078(0x22c)](),_0xc943e3){const {skeleton:_0x46c31a,cursors:_0x280b9d}=_0xc943e3;this['_updateCollabCursors'](_0x46c31a,_0x280b9d);}})),this[_0x327444(0x2f3)](),this['_initCommandExecutedListener']();}[_0x5c58d9(0xfd)](_0x2c2594,_0x5cec15){const _0x3b39fd=_0x5c58d9,{scene:_0x20e387,mainComponent:_0x1c20f4}=this['_context'],_0x475e85=_0x5cec15[_0x3b39fd(0x491)](_0x13c870=>new _0x4e172b(_0x13c870,_0x20e387,_0x2c2594,_0x1c20f4));this['_cursorShapes']=_0x475e85,this[_0x3b39fd(0x80)]=_0x5cec15;}[_0x5c58d9(0x4af)](){const _0x19d404=_0x5c58d9;this[_0x19d404(0x22c)]();const {scene:_0x4270f4,mainComponent:_0x913a53}=this[_0x19d404(0x375)],_0x24531c=this['_docSkeletonManagerService'][_0x19d404(0x4e7)](),_0x59a345=this['_cursors']['map'](_0x19ec1d=>new _0x4e172b(_0x19ec1d,_0x4270f4,_0x24531c,_0x913a53));this['_cursorShapes']=_0x59a345;}[_0x5c58d9(0x22c)](){const _0x2efaac=_0x5c58d9;this[_0x2efaac(0x3c9)][_0x2efaac(0x418)](_0x5220a1=>_0x5220a1[_0x2efaac(0x3cf)]()),this['_cursorShapes']=[];}[_0x5c58d9(0x4d0)](){const _0x2373af=_0x5c58d9,_0x50435e=[_0x43dacb[_0x2373af(0x479)]['id']];this[_0x2373af(0x10b)](this[_0x2373af(0x4c8)][_0x2373af(0x166)](_0x5c1cc9=>{const _0x9d898d=_0x2373af;_0x50435e[_0x9d898d(0x44b)](_0x5c1cc9['id'])&&_0x5c1cc9['params'][_0x9d898d(0x113)]===this[_0x9d898d(0x375)][_0x9d898d(0x113)]&&this[_0x9d898d(0x4af)]();}));}[_0x5c58d9(0x2f3)](){const _0x2fc7cd=_0x5c58d9;this[_0x2fc7cd(0x10b)](_0x5d7f39[_0x2fc7cd(0x4d9)](this[_0x2fc7cd(0x375)][_0x2fc7cd(0x4ed)][_0x2fc7cd(0x155)])['pipe'](_0x187edc[_0x2fc7cd(0x116)](_0x2e121a=>_0x2e121a[_0x2fc7cd(0x475)]===_0x533483[_0x2fc7cd(0x1b3)][_0x2fc7cd(0x23c)]),_0x187edc[_0x2fc7cd(0x3c2)](0x10))[_0x2fc7cd(0x1fd)](()=>{const _0x2e6e15=_0x2fc7cd;this[_0x2e6e15(0x4af)]();}));}};_0x443295=_0x514a78([_0x39e7cb(0x1,_0x5d7f39[_0x5c58d9(0x3a2)](_0x4fe995['DocSkeletonManagerService'])),_0x39e7cb(0x2,_0x5d7f39[_0x5c58d9(0x3a2)](_0x21488c)),_0x39e7cb(0x3,_0x5d7f39['ICommandService']),_0x39e7cb(0x4,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0xe7)]))],_0x443295);const _0x2b40b2=0x1,_0xba742c=1.5;class _0x330a9e extends _0x533483[_0x5c58d9(0x53c)]{constructor(_0x1c4e70,_0x1588ee){const _0x174f64=_0x5c58d9;super(_0x1c4e70,_0x1588ee),_0x171b2f(this,_0x174f64(0x3d1)),_0x171b2f(this,'_hovered',!0x1),_0x171b2f(this,_0x174f64(0x1f4)),_0x171b2f(this,_0x174f64(0xce),''),_0x171b2f(this,_0x174f64(0x388),_0x174f64(0xf5)),_0x171b2f(this,'_backgroundColor'),(_0x1588ee&&this[_0x174f64(0x540)](_0x1588ee),this['onPointerEnter$'][_0x174f64(0x4b6)](()=>this[_0x174f64(0x540)]({'hovered':!0x0})),this[_0x174f64(0x129)][_0x174f64(0x4b6)](()=>this[_0x174f64(0x540)]({'hovered':!0x1})));}[_0x5c58d9(0x540)](_0x420c5d){const _0x17168e=_0x5c58d9;var _0x466129,_0x2988f9,_0x12bdda,_0x2b81a5,_0x13c118,_0x167941;this[_0x17168e(0x3d1)]=(_0x466129=_0x420c5d[_0x17168e(0x171)])!=null?_0x466129:this[_0x17168e(0x3d1)],this['_hovered']=(_0x2988f9=_0x420c5d[_0x17168e(0x22e)])!=null?_0x2988f9:this[_0x17168e(0x181)],this[_0x17168e(0x1f4)]=(_0x12bdda=_0x420c5d[_0x17168e(0x2ad)])!=null?_0x12bdda:this[_0x17168e(0x1f4)],this[_0x17168e(0xce)]=(_0x2b81a5=_0x420c5d[_0x17168e(0x322)])!=null?_0x2b81a5:this[_0x17168e(0xce)],this[_0x17168e(0x388)]=(_0x13c118=_0x420c5d[_0x17168e(0x37c)])!=null?_0x13c118:this[_0x17168e(0x388)],this[_0x17168e(0x3d0)]=(_0x167941=_0x420c5d[_0x17168e(0x1ad)])!=null?_0x167941:this[_0x17168e(0x3d0)],this[_0x17168e(0x518)]({'width':_0x420c5d[_0x17168e(0x1f9)],'height':_0x420c5d['height']});}[_0x5c58d9(0x378)](_0x1862eb){const _0x173b29=_0x5c58d9,{row:_0x6c18d1,column:_0x34b5c3}=_0x1862eb;if(_0x6c18d1>=this[_0x173b29(0x1f4)][_0x173b29(0x3d6)]&&_0x6c18d1<=this['_range'][_0x173b29(0x445)]&&_0x34b5c3>=this[_0x173b29(0x1f4)]['startColumn']&&_0x34b5c3<=this[_0x173b29(0x1f4)]['endColumn']){this[_0x173b29(0x540)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5c58d9(0x444)](_0x3d8631){return!0x1;}['_draw'](_0x447afc){const _0x384f64=_0x5c58d9;_0x533483['Rect'][_0x384f64(0x551)](_0x447afc,{'width':this[_0x384f64(0x1f9)],'height':this[_0x384f64(0x413)],'strokeWidth':_0xba742c,'stroke':this[_0x384f64(0x3d1)],'evented':!0x1,'fill':this[_0x384f64(0x3d0)]}),this[_0x384f64(0x181)]&&(_0x447afc['save'](),_0x447afc[_0x384f64(0x180)](0x1,0x0,0x0,0x1,this[_0x384f64(0x1f9)],this[_0x384f64(0x388)]===_0x384f64(0x277)?0x0:-_0x125aa9),_0x5517bf[_0x384f64(0x551)](_0x447afc,{'text':this['_name'],'color':this[_0x384f64(0x3d1)]}),_0x447afc[_0x384f64(0x3b8)]());}}var _0x3b67c2=Object[_0x5c58d9(0xf4)],_0x25a1fa=Object['getOwnPropertyDescriptor'],_0x548950=(_0x588f3f,_0x3cf48c,_0x5649bb,_0x3c40f9)=>{const _0x7e0bc7=_0x5c58d9;for(var _0x46896c=_0x3c40f9>0x1?void 0x0:_0x3c40f9?_0x25a1fa(_0x3cf48c,_0x5649bb):_0x3cf48c,_0xc0bdbc=_0x588f3f[_0x7e0bc7(0x3d9)]-0x1,_0x2710bc;_0xc0bdbc>=0x0;_0xc0bdbc--)(_0x2710bc=_0x588f3f[_0xc0bdbc])&&(_0x46896c=(_0x3c40f9?_0x2710bc(_0x3cf48c,_0x5649bb,_0x46896c):_0x2710bc(_0x46896c))||_0x46896c);return _0x3c40f9&&_0x46896c&&_0x3b67c2(_0x3cf48c,_0x5649bb,_0x46896c),_0x46896c;},_0x266190=(_0x4531bf,_0x247d1a)=>(_0x423c16,_0x36a792)=>_0x247d1a(_0x423c16,_0x36a792,_0x4531bf);const _0x555e20=0x1389;let _0xd6d8b3=class extends _0x5d7f39['RxDisposable']{constructor(_0x12cd91,_0x4a9f8f,_0x28f574,_0x1e9be9){const _0x2713f2=_0x5c58d9;super(),_0x171b2f(this,_0x2713f2(0x80),new Set()),_0x171b2f(this,_0x2713f2(0xeb),null),(this['_context']=_0x12cd91,this[_0x2713f2(0x474)]=_0x4a9f8f,this[_0x2713f2(0x3e0)]=_0x28f574,this['_themeService']=_0x1e9be9,this['_init']());}[_0x5c58d9(0x3c4)](){const _0x1f254c=_0x5c58d9;this[_0x1f254c(0x474)]['currentSkeleton$'][_0x1f254c(0x3b0)](_0x187edc[_0x1f254c(0x234)](this[_0x1f254c(0x20b)]),_0x187edc['switchMap'](_0x426dc6=>{const _0x43b6c6=_0x1f254c;if(_0x426dc6){const _0x407d2f=_0x426dc6[_0x43b6c6(0x2a8)];return _0x48eeba['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x43b6c6(0x375)][_0x43b6c6(0x113)]),this[_0x43b6c6(0xd1)][_0x43b6c6(0x2e8)])[_0x43b6c6(0x3b0)](_0x187edc[_0x43b6c6(0x491)](([_0x5d4355,_0x2516ca])=>{const _0x4286f3=_0x43b6c6,_0x1e460c=new Map();return _0x5d4355[_0x4286f3(0x418)]((_0x1441df,_0x506b84)=>{const _0x1da11e=_0x4286f3;if(_0x1441df[_0x1da11e(0x1cf)]===_0x407d2f){const _0x32aa74={..._0x1441df};_0x32aa74[_0x1da11e(0x171)]=_0x2516ca[_0x1441df['color']],_0x1e460c[_0x1da11e(0x335)](_0x506b84,_0x32aa74);}}),{'skeleton':_0x426dc6,'cursors':_0x1e460c};}));}return _0x48eeba['of']({'skeleton':null,'cursors':new Map()});}))[_0x1f254c(0x1fd)](({skeleton:_0x5dd71f,cursors:_0x1d6568})=>{const _0x44a631=_0x1f254c;this[_0x44a631(0x22c)](),_0x5dd71f&&this[_0x44a631(0xfd)](_0x5dd71f,_0x1d6568);}),this[_0x1f254c(0x474)][_0x1f254c(0x4eb)]['subscribe'](_0x48e4f9=>{const _0x2479a7=_0x1f254c;if(_0x48e4f9==null)return;const {skeleton:_0xc74c8}=_0x48e4f9,{scene:_0x30e7b5}=this[_0x2479a7(0x375)];_0x30e7b5[_0x2479a7(0x4f2)][_0x2479a7(0x4b6)](_0x5d7f39[_0x2479a7(0x20f)](_0x2ddc68=>{const _0x165e71=_0x2479a7;var _0x2280c8,_0x4b7b4d;const {offsetX:_0x2be6dc,offsetY:_0x635275}=_0x2ddc68,{x:_0x379e8b,y:_0x1436a4}=_0x30e7b5[_0x165e71(0x53e)](_0x533483['Vector2'][_0x165e71(0x1a8)]([_0x2be6dc,_0x635275])),{scaleX:_0x4cd78c,scaleY:_0x3f7a34}=_0x30e7b5[_0x165e71(0x48d)](),_0x448101=_0x30e7b5['getViewport'](_0x533483['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x363848=_0x30e7b5[_0x165e71(0x394)](_0x533483[_0x165e71(0x52e)]['FromArray']([_0x379e8b,_0x1436a4]),_0x448101),_0x377933=_0xc74c8['getCellPositionByOffset'](_0x2be6dc,_0x635275,_0x4cd78c,_0x3f7a34,_0x363848);((_0x2280c8=this[_0x165e71(0xeb)])==null?void 0x0:_0x2280c8['column'])===_0x377933[_0x165e71(0x420)]&&((_0x4b7b4d=this['_lastPointer'])==null?void 0x0:_0x4b7b4d[_0x165e71(0x203)])===_0x377933[_0x165e71(0x203)]||this['_cursors'][_0x165e71(0x418)](_0x189e9d=>{const _0x1759c7=_0x165e71;_0x189e9d[_0x1759c7(0x378)](_0x377933);});},0x64));});}[_0x5c58d9(0xfd)](_0x1b3deb,_0xe424cc){const _0x3a65fd=_0x5c58d9;var _0x2e88c8;const _0x22beca=(_0x2e88c8=this['_sheetSkeletonManagerService'][_0x3a65fd(0x1d0)]())==null?void 0x0:_0x2e88c8['skeleton'];if(!_0x22beca)return;const _0x298892=this[_0x3a65fd(0x379)]();if(!_0x298892)return;this['_cursors'][_0x3a65fd(0x418)](_0x253c38=>{const _0x443c6b=_0x3a65fd;_0x253c38[_0x443c6b(0x22b)]();});const {scene:_0x5164b6}=_0x298892,_0x3ab3a4=_0x3590cb(Array[_0x3a65fd(0x30b)](_0xe424cc[_0x3a65fd(0x1ea)]()))['map'](_0xab2ab2=>{const _0x22c4e3=_0x3a65fd,{color:_0x555cd8,range:_0x5dc4b3,name:_0x1f1ecf,selection:_0x40efca,sheetID:_0x1cb9a8}=_0xab2ab2,{startColumn:_0x17eb02,startRow:_0x324efd,endColumn:_0x381f99,endRow:_0x4338fd}=_0x5dc4b3,_0x19a408=_0x57d8cb[_0x22c4e3(0x3fd)](_0x324efd,_0x17eb02,_0x5164b6,_0x22beca),_0x2cf7b5=_0x57d8cb[_0x22c4e3(0x3fd)](_0x4338fd,_0x381f99,_0x5164b6,_0x22beca),{columnHeaderHeightAndMarginTop:_0x56fcfc}=_0x22beca,{startX:_0x248790,startY:_0x13da9c}=_0x19a408,{endX:_0x3d2ff7,endY:_0x34023b}=_0x2cf7b5,_0x3eac81=_0x3d2ff7-_0x248790,_0x28dcd8=_0x34023b-_0x13da9c,_0x4e551b={'labelPosition':_0x13da9c-_0x56fcfc>=_0x125aa9?_0x22c4e3(0xf5):_0x22c4e3(0x277),'sheetID':_0x1cb9a8,'range':_0x5dc4b3,'color':_0x555cd8,'name':_0x1f1ecf,'selection':_0x40efca,'left':_0x248790,'top':_0x13da9c,'width':_0x3eac81,'height':_0x28dcd8,'evented':!0x1,'zIndex':_0x555e20};return new _0x330a9e(_0x1f1ecf,_0x4e551b);});_0x5164b6[_0x3a65fd(0x4b5)](_0x3ab3a4,_0x2b40b2),this['_cursors']=new Set(_0x3ab3a4);}[_0x5c58d9(0x22c)](){const _0x5e4b48=_0x5c58d9;var _0x3532d7;(_0x3532d7=this[_0x5e4b48(0x80)])==null||_0x3532d7[_0x5e4b48(0x418)](_0xae8c9c=>_0xae8c9c['dispose']());}[_0x5c58d9(0x379)](){const _0x175acb=_0x5c58d9;return _0x57d8cb[_0x175acb(0x23b)](this['_context'][_0x175acb(0x93)],this[_0x175acb(0x375)]);}};_0xd6d8b3=_0x548950([_0x266190(0x1,_0x5d7f39['Inject'](_0x57d8cb[_0x5c58d9(0x2f4)])),_0x266190(0x2,_0x5d7f39[_0x5c58d9(0x3a2)](_0x21488c)),_0x266190(0x3,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0xe7)]))],_0xd6d8b3);function _0x3590cb(_0x16fa78){const _0x1a0061=_0x5c58d9,_0x134a42=new Map();return _0x16fa78['forEach'](_0x5616ce=>{const _0x3ba1ce=_0x1eb4;if(_0x134a42[_0x3ba1ce(0x383)](_0x5616ce[_0x3ba1ce(0xe6)])){const _0x24b14a=_0x134a42[_0x3ba1ce(0x191)](_0x5616ce[_0x3ba1ce(0xe6)]);_0x24b14a[_0x3ba1ce(0x322)]+=',\x20'+_0x5616ce[_0x3ba1ce(0x322)];}else _0x134a42[_0x3ba1ce(0x335)](_0x5616ce[_0x3ba1ce(0xe6)],_0x5616ce);}),Array[_0x1a0061(0x30b)](_0x134a42['values']());}var _0x5e16bd=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3955ec(_0x52915a){const _0x4f155c=_0x5c58d9;return _0x52915a&&_0x52915a[_0x4f155c(0x392)]&&Object['prototype']['hasOwnProperty'][_0x4f155c(0x46c)](_0x52915a,_0x4f155c(0x4e4))?_0x52915a['default']:_0x52915a;}var _0x3472a2={'exports':{}},_0x164ec8={},_0x11f875;function _0x47015e(){const _0x481848=_0x5c58d9;if(_0x11f875)return _0x164ec8;_0x11f875=0x1;var _0x32f009=_0x437675,_0x158cd8=Symbol['for'](_0x481848(0x2f8)),_0x433b2b=Symbol[_0x481848(0xb0)]('react.fragment'),_0x5c88f2=Object['prototype'][_0x481848(0x19a)],_0x7e9b7a=_0x32f009[_0x481848(0x4e3)]['ReactCurrentOwner'],_0xad04ac={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x5a146e(_0x4243aa,_0x420f16,_0x25ca9b){const _0x2500d6=_0x481848;var _0x2d02de,_0x3e19d1={},_0x45e7c9=null,_0x3a8763=null;_0x25ca9b!==void 0x0&&(_0x45e7c9=''+_0x25ca9b),_0x420f16[_0x2500d6(0x3df)]!==void 0x0&&(_0x45e7c9=''+_0x420f16[_0x2500d6(0x3df)]),_0x420f16[_0x2500d6(0x2c1)]!==void 0x0&&(_0x3a8763=_0x420f16[_0x2500d6(0x2c1)]);for(_0x2d02de in _0x420f16)_0x5c88f2[_0x2500d6(0x46c)](_0x420f16,_0x2d02de)&&!_0xad04ac[_0x2500d6(0x19a)](_0x2d02de)&&(_0x3e19d1[_0x2d02de]=_0x420f16[_0x2d02de]);if(_0x4243aa&&_0x4243aa[_0x2500d6(0x549)]){for(_0x2d02de in(_0x420f16=_0x4243aa[_0x2500d6(0x549)],_0x420f16))_0x3e19d1[_0x2d02de]===void 0x0&&(_0x3e19d1[_0x2d02de]=_0x420f16[_0x2d02de]);}return{'$$typeof':_0x158cd8,'type':_0x4243aa,'key':_0x45e7c9,'ref':_0x3a8763,'props':_0x3e19d1,'_owner':_0x7e9b7a[_0x2500d6(0xd7)]};}return _0x164ec8['Fragment']=_0x433b2b,_0x164ec8[_0x481848(0x27f)]=_0x5a146e,_0x164ec8[_0x481848(0x337)]=_0x5a146e,_0x164ec8;}var _0x1789e3;function _0xb03fec(){const _0x31025d=_0x5c58d9;return _0x1789e3||(_0x1789e3=0x1,_0x3472a2[_0x31025d(0x44f)]=_0x47015e()),_0x3472a2[_0x31025d(0x44f)];}var _0x4dfc8e=_0xb03fec(),_0x5ee3f9=function(){const _0x1721fe=_0x5c58d9;return _0x5ee3f9=Object[_0x1721fe(0xcd)]||function(_0x226b03){const _0x4eedc2=_0x1721fe;for(var _0x46ecaf,_0x16a5fc=0x1,_0x5b7632=arguments[_0x4eedc2(0x3d9)];_0x16a5fc<_0x5b7632;_0x16a5fc++){_0x46ecaf=arguments[_0x16a5fc];for(var _0x57fa83 in _0x46ecaf)Object[_0x4eedc2(0x547)]['hasOwnProperty'][_0x4eedc2(0x46c)](_0x46ecaf,_0x57fa83)&&(_0x226b03[_0x57fa83]=_0x46ecaf[_0x57fa83]);}return _0x226b03;},_0x5ee3f9[_0x1721fe(0x384)](this,arguments);},_0x5ba749=function(_0x5be3b7,_0x16e379){const _0x381129=_0x5c58d9;var _0x2a4854={};for(var _0x25c30e in _0x5be3b7)Object[_0x381129(0x547)][_0x381129(0x19a)][_0x381129(0x46c)](_0x5be3b7,_0x25c30e)&&_0x16e379[_0x381129(0xa4)](_0x25c30e)<0x0&&(_0x2a4854[_0x25c30e]=_0x5be3b7[_0x25c30e]);if(_0x5be3b7!=null&&typeof Object['getOwnPropertySymbols']==_0x381129(0x169)){for(var _0x2642f7=0x0,_0x25c30e=Object[_0x381129(0x501)](_0x5be3b7);_0x2642f7<_0x25c30e[_0x381129(0x3d9)];_0x2642f7++)_0x16e379[_0x381129(0xa4)](_0x25c30e[_0x2642f7])<0x0&&Object[_0x381129(0x547)][_0x381129(0x4c5)][_0x381129(0x46c)](_0x5be3b7,_0x25c30e[_0x2642f7])&&(_0x2a4854[_0x25c30e[_0x2642f7]]=_0x5be3b7[_0x25c30e[_0x2642f7]]);}return _0x2a4854;},_0x5594fb=_0x437675[_0x5c58d9(0x18f)](function(_0x3bce6d,_0x30c1a8){const _0x124b48=_0x5c58d9;var _0x338952=_0x3bce6d['icon'],_0x481533=_0x3bce6d['id'],_0x19a174=_0x3bce6d[_0x124b48(0x373)],_0x47d914=_0x3bce6d['extend'],_0x15f2b0=_0x5ba749(_0x3bce6d,[_0x124b48(0x538),'id','className',_0x124b48(0x9e)]),_0x23b0b6=_0x124b48(0x111)[_0x124b48(0x499)](_0x481533,'\x20')[_0x124b48(0x499)](_0x19a174||'')['trim'](),_0x4fdc90=_0x437675[_0x124b48(0xac)]('_'['concat'](_0x2003d4()));return _0x90035(_0x338952,''[_0x124b48(0x499)](_0x481533),{'defIds':_0x338952[_0x124b48(0xf8)],'idSuffix':_0x4fdc90[_0x124b48(0xd7)]},_0x5ee3f9({'ref':_0x30c1a8,'className':_0x23b0b6},_0x15f2b0),_0x47d914);});function _0x90035(_0x5f0049,_0x3019d4,_0x2220bd,_0x9cafaa,_0x39ce7e){const _0x519247=_0x5c58d9;return _0x437675[_0x519247(0x2f0)](_0x5f0049[_0x519247(0x336)],_0x5ee3f9(_0x5ee3f9({'key':_0x3019d4},_0x5afb78(_0x5f0049,_0x2220bd,_0x39ce7e)),_0x9cafaa),(_0x4e2321(_0x5f0049,_0x2220bd)[_0x519247(0x8f)]||[])[_0x519247(0x491)](function(_0x3093f5,_0x17f943){const _0xe72299=_0x519247;return _0x90035(_0x3093f5,''[_0xe72299(0x499)](_0x3019d4,'-')[_0xe72299(0x499)](_0x5f0049[_0xe72299(0x336)],'-')['concat'](_0x17f943),_0x2220bd,void 0x0,_0x39ce7e);}));}function _0x5afb78(_0x467c1e,_0x422e00,_0x11fff3){const _0x30111b=_0x5c58d9;var _0x708193=_0x5ee3f9({},_0x467c1e['attrs']);_0x11fff3!=null&&_0x11fff3['colorChannel1']&&_0x708193[_0x30111b(0x528)]===_0x30111b(0x32c)&&(_0x708193['fill']=_0x11fff3[_0x30111b(0x32c)]);var _0x519ebd=_0x422e00[_0x30111b(0xf8)];return!_0x519ebd||_0x519ebd[_0x30111b(0x3d9)]===0x0||(_0x467c1e[_0x30111b(0x336)]===_0x30111b(0x51b)&&_0x708193[_0x30111b(0x4b2)]&&(_0x708193[_0x30111b(0x4b2)]=_0x708193[_0x30111b(0x4b2)]+_0x422e00[_0x30111b(0x19b)]),Object[_0x30111b(0x98)](_0x708193)['forEach'](function(_0x1c8a14){const _0x38fd7e=_0x30111b;var _0x3e0a0a=_0x1c8a14[0x0],_0x163143=_0x1c8a14[0x1];typeof _0x163143==_0x38fd7e(0x369)&&(_0x708193[_0x3e0a0a]=_0x163143[_0x38fd7e(0x3be)](/url\(#(.*)\)/,_0x38fd7e(0x403)['concat'](_0x422e00['idSuffix'],')')));})),_0x708193;}function _0x4e2321(_0x2928ba,_0x12f749){const _0x41628f=_0x5c58d9;var _0x3a982c,_0xf95265=_0x12f749['defIds'];return!_0xf95265||_0xf95265[_0x41628f(0x3d9)]===0x0?_0x2928ba:_0x2928ba[_0x41628f(0x336)]===_0x41628f(0x330)&&(!((_0x3a982c=_0x2928ba[_0x41628f(0x8f)])===null||_0x3a982c===void 0x0)&&_0x3a982c[_0x41628f(0x3d9)])?_0x5ee3f9(_0x5ee3f9({},_0x2928ba),{'children':_0x2928ba[_0x41628f(0x8f)][_0x41628f(0x491)](function(_0x5acb07){const _0x56abaf=_0x41628f;return typeof _0x5acb07[_0x56abaf(0x362)]['id']==_0x56abaf(0x369)&&_0xf95265&&_0xf95265['indexOf'](_0x5acb07[_0x56abaf(0x362)]['id'])>-0x1?_0x5ee3f9(_0x5ee3f9({},_0x5acb07),{'attrs':_0x5ee3f9(_0x5ee3f9({},_0x5acb07['attrs']),{'id':_0x5acb07['attrs']['id']+_0x12f749[_0x56abaf(0x19b)]})}):_0x5acb07;})}):_0x2928ba;}function _0x2003d4(){const _0x575ee5=_0x5c58d9;return Math[_0x575ee5(0x52a)]()[_0x575ee5(0x1f2)](0x24)['substring'](0x2,0x8);}_0x5594fb[_0x5c58d9(0x3d7)]='UniverIcon';var _0x63ea3b={'tag':_0x5c58d9(0x3e6),'attrs':{'fill':'none','viewBox':_0x5c58d9(0x122),'width':_0x5c58d9(0x43f),'height':_0x5c58d9(0x43f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x5c58d9(0x3c6),'attrs':{'stroke':_0x5c58d9(0x16e),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x5c58d9(0xa1),'strokeLinejoin':_0x5c58d9(0xa1),'strokeWidth':1.2}}]},{'tag':_0x5c58d9(0x330),'attrs':{},'children':[{'tag':_0x5c58d9(0x3ff),'attrs':{'id':_0x5c58d9(0x20a)},'children':[{'tag':'path','attrs':{'fill':_0x5c58d9(0x10e),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5c58d9(0x20a)]},_0x3d72ae=_0x437675[_0x5c58d9(0x18f)](function(_0x2f1e04,_0x2b1854){const _0x3ce3a3=_0x5c58d9;return _0x437675[_0x3ce3a3(0x2f0)](_0x5594fb,Object[_0x3ce3a3(0xcd)]({},_0x2f1e04,{'id':_0x3ce3a3(0xef),'ref':_0x2b1854,'icon':_0x63ea3b}));});_0x3d72ae[_0x5c58d9(0x3d7)]=_0x5c58d9(0x4db);var _0x4c50d5={'tag':_0x5c58d9(0x3e6),'attrs':{'fill':_0x5c58d9(0x211),'viewBox':_0x5c58d9(0x495),'width':_0x5c58d9(0x43f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5c58d9(0x324)},'children':[{'tag':_0x5c58d9(0x3c6),'attrs':{'stroke':_0x5c58d9(0x16e),'d':_0x5c58d9(0x341),'strokeLinecap':_0x5c58d9(0xa1),'strokeLinejoin':_0x5c58d9(0xa1),'strokeWidth':1.2}}]},{'tag':_0x5c58d9(0x330),'attrs':{},'children':[{'tag':_0x5c58d9(0x3ff),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x5c58d9(0x10e),'d':_0x5c58d9(0x19f),'transform':_0x5c58d9(0x1e3)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x366da8=_0x437675[_0x5c58d9(0x18f)](function(_0x2c556c,_0x5097fe){const _0x53fc88=_0x5c58d9;return _0x437675[_0x53fc88(0x2f0)](_0x5594fb,Object['assign']({},_0x2c556c,{'id':_0x53fc88(0x3b3),'ref':_0x5097fe,'icon':_0x4c50d5}));});_0x366da8[_0x5c58d9(0x3d7)]='OnLineSingle';function _0x2e7d1e(_0x21583a){const _0x5a9d20=_0x5c58d9;var _0x29ca95,_0x23d45d,_0x3b8b7d='';if(typeof _0x21583a=='string'||typeof _0x21583a=='number')_0x3b8b7d+=_0x21583a;else{if(typeof _0x21583a==_0x5a9d20(0x397)){if(Array['isArray'](_0x21583a)){var _0xfd9605=_0x21583a['length'];for(_0x29ca95=0x0;_0x29ca95<_0xfd9605;_0x29ca95++)_0x21583a[_0x29ca95]&&(_0x23d45d=_0x2e7d1e(_0x21583a[_0x29ca95]))&&(_0x3b8b7d&&(_0x3b8b7d+='\x20'),_0x3b8b7d+=_0x23d45d);}else{for(_0x23d45d in _0x21583a)_0x21583a[_0x23d45d]&&(_0x3b8b7d&&(_0x3b8b7d+='\x20'),_0x3b8b7d+=_0x23d45d);}}}return _0x3b8b7d;}function _0x2ca6d2(){const _0xb80641=_0x5c58d9;for(var _0x171f5e,_0x39fb2e,_0x3e06e1=0x0,_0x212832='',_0x19c325=arguments[_0xb80641(0x3d9)];_0x3e06e1<_0x19c325;_0x3e06e1++)(_0x171f5e=arguments[_0x3e06e1])&&(_0x39fb2e=_0x2e7d1e(_0x171f5e))&&(_0x212832&&(_0x212832+='\x20'),_0x212832+=_0x39fb2e);return _0x212832;}const _0x9fbab5={'onlineStatusIcon':_0x5c58d9(0x7d),'onlineStatusTitle':_0x5c58d9(0x251),'onlineStatus':_0x5c58d9(0x320),'online':_0x5c58d9(0x4ff),'offline':'univer-offline'};function _0x47143d(_0x19e61c){const _0x31fc26=_0x5c58d9;switch(_0x19e61c){case _0x4eef96['OFFLINE']:return _0x31fc26(0x272);case _0x4eef96[_0x31fc26(0x374)]:return _0x31fc26(0x55b);case _0x4eef96[_0x31fc26(0x452)]:return _0x31fc26(0xc3);case _0x4eef96[_0x31fc26(0x316)]:return _0x31fc26(0xd8);case _0x4eef96[_0x31fc26(0x216)]:case _0x4eef96[_0x31fc26(0xb1)]:return _0x31fc26(0x1a4);case _0x4eef96[_0x31fc26(0x486)]:case _0x4eef96[_0x31fc26(0x286)]:return _0x31fc26(0x40e);}}function _0x50d608(_0x57b141){const _0x1fab13=_0x5c58d9,{status$:_0x14815f}=_0x57b141,_0x125556=_0x54c9ff['useObservable'](_0x14815f,_0x4eef96[_0x1fab13(0x316)]),_0x5f8444=_0x5d7f39[_0x1fab13(0xea)](_0x5d7f39[_0x1fab13(0x1cb)]),_0x3ec50c=_0x5d7f39['useDependency'](_0xe0b603[_0x1fab13(0x4e6)]),_0x1109f4=_0x125556!==_0x4eef96[_0x1fab13(0x1d6)],_0x577901=_0x5f8444['t'](_0x47143d(_0x125556)),_0x2af72e=_0x2ca6d2(_0x9fbab5[_0x1fab13(0x84)],{[_0x9fbab5[_0x1fab13(0x1fc)]]:_0x1109f4,[_0x9fbab5['offline']]:!_0x1109f4}),_0x9761e=_0x1109f4?_0x4dfc8e['jsx'](_0x366da8,{}):_0x4dfc8e[_0x1fab13(0x27f)](_0x3d72ae,{}),_0x128766=_0x437675[_0x1fab13(0x151)](()=>{const _0x214142=_0x1fab13;_0x1109f4||_0x3ec50c[_0x214142(0x124)]();},[_0x1109f4,_0x3ec50c]);function _0x1bf754(){const _0x2bc019=_0x1fab13;return _0x4dfc8e[_0x2bc019(0x337)](_0x2bc019(0x35c),{'className':_0x2af72e,'onClick':_0x128766,'children':[_0x4dfc8e[_0x2bc019(0x27f)]('div',{'className':_0x9fbab5['onlineStatusIcon'],'children':_0x9761e}),_0x4dfc8e[_0x2bc019(0x27f)](_0x2bc019(0x35c),{'className':_0x9fbab5[_0x2bc019(0x4bc)],'children':_0x577901})]});}return _0x1109f4?_0x1bf754():_0x4dfc8e[_0x1fab13(0x27f)](_0x48ea23[_0x1fab13(0x112)],{'title':_0x5f8444['t'](_0x1fab13(0xc7)),'children':_0x1bf754()});}var _0x31f91a=Object[_0x5c58d9(0xf4)],_0xf893ea=Object['getOwnPropertyDescriptor'],_0x1be5df=(_0x5f4f08,_0x3a1b9f,_0x4bc17d,_0x27bac9)=>{for(var _0x329f40=_0x27bac9>0x1?void 0x0:_0x27bac9?_0xf893ea(_0x3a1b9f,_0x4bc17d):_0x3a1b9f,_0x1504b8=_0x5f4f08['length']-0x1,_0x4ec0fb;_0x1504b8>=0x0;_0x1504b8--)(_0x4ec0fb=_0x5f4f08[_0x1504b8])&&(_0x329f40=(_0x27bac9?_0x4ec0fb(_0x3a1b9f,_0x4bc17d,_0x329f40):_0x4ec0fb(_0x329f40))||_0x329f40);return _0x27bac9&&_0x329f40&&_0x31f91a(_0x3a1b9f,_0x4bc17d,_0x329f40),_0x329f40;},_0x2a1cf7=(_0x2ed9bb,_0x5ce09e)=>(_0x40714e,_0x3a6fc7)=>_0x5ce09e(_0x40714e,_0x3a6fc7,_0x2ed9bb);_0xe0b603['DesktopCollaborationStatusDisplayController']=class extends _0x5d7f39[_0x5c58d9(0x542)]{constructor(_0x2aad3b,_0x47e785,_0x4946a8,_0x2615f7){const _0x37d223=_0x5c58d9;super(),_0x171b2f(this,_0x37d223(0xbc),new _0x48eeba[(_0x37d223(0x1bf))](_0x4eef96[_0x37d223(0x316)])),(this[_0x37d223(0x224)]=_0x2aad3b,this['_uiPartsService']=_0x47e785,this[_0x37d223(0x1dc)]=_0x4946a8,this[_0x37d223(0x260)]=_0x2615f7,this[_0x37d223(0x2d2)](),this[_0x37d223(0x1c5)]());}[_0x5c58d9(0x1c5)](){const _0x4cd1ca=_0x5c58d9;this[_0x4cd1ca(0x10b)](this['_univerInstanceService']['focused$']['pipe'](_0x48eeba['switchMap'](()=>{const _0x1830b3=_0x4cd1ca,_0x2d6938=this[_0x1830b3(0x224)]['getFocusedUnit']();return _0x2d6938?this[_0x1830b3(0x260)][_0x1830b3(0x10a)](_0x2d6938[_0x1830b3(0x506)]()):_0x48eeba['of'](null);}),_0x48eeba[_0x4cd1ca(0x4c0)](_0x316d3d=>_0x316d3d?_0x316d3d[_0x4cd1ca(0x488)]:_0x48eeba['of'](_0x4eef96[_0x4cd1ca(0x316)])))[_0x4cd1ca(0x1fd)](_0x170555=>{const _0x58824e=_0x4cd1ca;this['_status$'][_0x58824e(0x4fb)](_0x170555);}));}['_initStatusComponent'](){const _0x32dac0=_0x5c58d9;this[_0x32dac0(0x10b)](this[_0x32dac0(0x37d)][_0x32dac0(0xb9)](_0x54c9ff[_0x32dac0(0xaa)]['HEADER_MENU'],()=>_0x5d7f39[_0x32dac0(0x4c9)](_0x10c5ed({'status$':this[_0x32dac0(0xbc)][_0x32dac0(0x1e5)]()}),this[_0x32dac0(0x1dc)])));}},_0xe0b603[_0x5c58d9(0x382)]=_0x1be5df([_0x2a1cf7(0x0,_0x5d7f39[_0x5c58d9(0x54a)]),_0x2a1cf7(0x1,_0x54c9ff[_0x5c58d9(0x1db)]),_0x2a1cf7(0x2,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x2a1cf7(0x3,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603[_0x5c58d9(0x29a)]))],_0xe0b603[_0x5c58d9(0x382)]);function _0x10c5ed(_0x23dd29){const {status$:_0x4d25f3}=_0x23dd29;return function(){return _0x4dfc8e['jsx'](_0x50d608,{'status$':_0x4d25f3});};}const _0x171c66=_0x5d7f39['createIdentifier'](_0x5c58d9(0x350));var _0x207e25=Object[_0x5c58d9(0xf4)],_0x4c3712=Object[_0x5c58d9(0x314)],_0x5a8086=(_0xe656b1,_0x4d7987,_0x526a77,_0x410244)=>{for(var _0x20bca9=_0x410244>0x1?void 0x0:_0x410244?_0x4c3712(_0x4d7987,_0x526a77):_0x4d7987,_0x55824b=_0xe656b1['length']-0x1,_0x58cafd;_0x55824b>=0x0;_0x55824b--)(_0x58cafd=_0xe656b1[_0x55824b])&&(_0x20bca9=(_0x410244?_0x58cafd(_0x4d7987,_0x526a77,_0x20bca9):_0x58cafd(_0x20bca9))||_0x20bca9);return _0x410244&&_0x20bca9&&_0x207e25(_0x4d7987,_0x526a77,_0x20bca9),_0x20bca9;},_0x5b54cb=(_0x918068,_0xfcab95)=>(_0x3ed548,_0x53eeab)=>_0xfcab95(_0x3ed548,_0x53eeab,_0x918068);_0xe0b603[_0x5c58d9(0x193)]=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x3f5978,_0x3924c8,_0x2013e6,_0x59fcc5,_0x53ba83,_0x1ce3ed){const _0x2f67f3=_0x5c58d9;super(),this[_0x2f67f3(0x39a)]=_0x3f5978,this[_0x2f67f3(0x4a8)]=_0x3924c8,this['_commandService']=_0x2013e6,this['_localCacheService']=_0x59fcc5,this[_0x2f67f3(0x3d2)]=_0x53ba83,_0x1ce3ed?_0x1ce3ed==null||_0x1ce3ed[_0x2f67f3(0x21a)]()[_0x2f67f3(0x30d)](()=>this[_0x2f67f3(0x3c4)]()):(this[_0x2f67f3(0x4a8)]['debug'](_0x2f67f3(0x21f),_0x2f67f3(0x247)),this[_0x2f67f3(0x3c4)]());}async['_init'](){const _0x1bdc0d=_0x5c58d9,_0x162ae6=this[_0x1bdc0d(0x39a)][_0x1bdc0d(0x11f)](_0x1bdc0d(0x93)),_0x5678b9=this[_0x1bdc0d(0x39a)][_0x1bdc0d(0x11f)]('type');if(!_0x162ae6||!_0x5678b9){this[_0x1bdc0d(0x4a8)][_0x1bdc0d(0x2e2)](_0x1bdc0d(0x21f),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x5678b9)){case _0x54490e[_0x1bdc0d(0x3f0)]:{const _0x5b3614=await this[_0x1bdc0d(0x17c)](_0x162ae6);this[_0x1bdc0d(0x33a)](_0x5b3614);break;}case _0x54490e[_0x1bdc0d(0x3c8)]:{await this[_0x1bdc0d(0x4f0)](_0x162ae6);break;}default:{this[_0x1bdc0d(0x4a8)][_0x1bdc0d(0x405)]('[DataLoaderController]',_0x1bdc0d(0x231));break;}}}async[_0x5c58d9(0x33a)](_0x376e24){const _0x51da2e=_0x5c58d9;await this['_updateSubUnitFromURLParams'](_0x376e24),_0x376e24[_0x51da2e(0x18e)]['pipe'](_0x48eeba['takeUntil'](this[_0x51da2e(0x20b)]))[_0x51da2e(0x1fd)](_0x165afa=>{const _0xcd219=_0x51da2e;_0x165afa&&this[_0xcd219(0x276)](_0x165afa);}),this[_0x51da2e(0x39a)]['urlChange$'][_0x51da2e(0x3b0)](_0x48eeba[_0x51da2e(0x234)](this['dispose$']))[_0x51da2e(0x1fd)](()=>this[_0x51da2e(0x1c8)](_0x376e24));}[_0x5c58d9(0x276)](_0x5b30f7,_0xa9f00b=!0x1){const _0x378f9f=_0x5c58d9,_0x2b8150=this[_0x378f9f(0x39a)][_0x378f9f(0x11f)]('subunit');_0x5b30f7[_0x378f9f(0x53d)]()!==_0x2b8150&&this[_0x378f9f(0x39a)][_0x378f9f(0x281)](_0x378f9f(0x26f),_0x5b30f7['getSheetId'](),_0xa9f00b);}async[_0x5c58d9(0x1c8)](_0x4bc36d){const _0x43ee0c=_0x5c58d9;var _0x308b64;const _0x402cfc=this[_0x43ee0c(0x39a)][_0x43ee0c(0x11f)](_0x43ee0c(0x26f));if(!_0x402cfc||!_0x4bc36d['getSheetBySheetId'](_0x402cfc)){const _0x35a1f0=_0x4bc36d[_0x43ee0c(0x1f8)]()[0x0],_0x59f830=_0x4bc36d['getSheetBySheetId'](_0x35a1f0);if(!_0x59f830)return;this[_0x43ee0c(0x276)](_0x59f830,!0x0),await this[_0x43ee0c(0x4c8)]['executeCommand'](_0x2dcdfa['SetWorksheetActivateCommand']['id'],{'unitId':_0x4bc36d[_0x43ee0c(0x506)](),'subUnitId':_0x35a1f0});return;}((_0x308b64=_0x4bc36d['getActiveSheet']())==null?void 0x0:_0x308b64[_0x43ee0c(0x53d)]())!==_0x402cfc&&await this['_commandService'][_0x43ee0c(0x41b)](_0x2dcdfa[_0x43ee0c(0x3bc)]['id'],{'unitId':_0x4bc36d[_0x43ee0c(0x506)](),'subUnitId':_0x402cfc});}async[_0x5c58d9(0x17c)](_0x34597e){const _0x2914ad=_0x5c58d9;let _0x1f2c7a=0x0;const _0x20b35a=await this['_localCacheService'][_0x2914ad(0x37f)](_0x34597e);return _0x20b35a&&(_0x20b35a[_0x2914ad(0x34c)]||_0x20b35a[_0x2914ad(0x298)][_0x2914ad(0x3d9)]!==0x0)&&(_0x1f2c7a=_0x20b35a['rev']),_0x1f2c7a===0x0&&this['_logService'][_0x2914ad(0x2e2)](_0x2914ad(0x21f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2914ad(0x3d2)][_0x2914ad(0x327)](_0x34597e,_0x1f2c7a);}async[_0x5c58d9(0x4f0)](_0x44bfc5){const _0x3ee80f=_0x5c58d9;let _0x53c9fd=0x0;const _0x1e4cc2=await this[_0x3ee80f(0xb4)][_0x3ee80f(0x37f)](_0x44bfc5);return _0x1e4cc2&&(_0x1e4cc2['awaitingChangeset']||_0x1e4cc2[_0x3ee80f(0x298)][_0x3ee80f(0x3d9)]!==0x0)&&(_0x53c9fd=_0x1e4cc2[_0x3ee80f(0x4b1)]),_0x53c9fd===0x0&&this['_logService']['debug'](_0x3ee80f(0x21f),_0x3ee80f(0x160)),this[_0x3ee80f(0x3d2)]['loadDoc'](_0x44bfc5,_0x53c9fd);}},_0xe0b603[_0x5c58d9(0x193)]=_0x5a8086([_0x5b54cb(0x0,_0x171c66),_0x5b54cb(0x1,_0x5d7f39[_0x5c58d9(0x221)]),_0x5b54cb(0x2,_0x5d7f39[_0x5c58d9(0x42d)]),_0x5b54cb(0x3,_0x5d7f39['Inject'](_0xe0b603[_0x5c58d9(0x115)])),_0x5b54cb(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0x250718[_0x5c58d9(0x4cd)])),_0x5b54cb(0x5,_0x5d7f39['Optional'](_0x188cc5[_0x5c58d9(0x4bb)]))],_0xe0b603['DataLoaderController']);var _0x46a148=Object[_0x5c58d9(0xf4)],_0x2dca6d=Object[_0x5c58d9(0x314)],_0x471135=(_0x33887e,_0x3b16e8,_0x2c74f3,_0x10aca1)=>{const _0x46bddd=_0x5c58d9;for(var _0x1e8a9c=_0x10aca1>0x1?void 0x0:_0x10aca1?_0x2dca6d(_0x3b16e8,_0x2c74f3):_0x3b16e8,_0x36a450=_0x33887e[_0x46bddd(0x3d9)]-0x1,_0x1bc817;_0x36a450>=0x0;_0x36a450--)(_0x1bc817=_0x33887e[_0x36a450])&&(_0x1e8a9c=(_0x10aca1?_0x1bc817(_0x3b16e8,_0x2c74f3,_0x1e8a9c):_0x1bc817(_0x1e8a9c))||_0x1e8a9c);return _0x10aca1&&_0x1e8a9c&&_0x46a148(_0x3b16e8,_0x2c74f3,_0x1e8a9c),_0x1e8a9c;},_0x449e9a=(_0x454171,_0x30a29d)=>(_0x47100d,_0x3eb907)=>_0x30a29d(_0x47100d,_0x3eb907,_0x454171);const _0x2d98c4=_0x5c58d9(0x4c4),_0x2b471e='Univer';let _0x1f01f4=class extends _0x5d7f39[_0x5c58d9(0x542)]{constructor(_0x4ef8db,_0x122b7e){const _0x2ba6d5=_0x5c58d9;super(),this['_univerInstanceService']=_0x4ef8db,this[_0x2ba6d5(0x7a)]=_0x122b7e,this[_0x2ba6d5(0x3c4)]();}[_0x5c58d9(0x3c4)](){const _0x15069b=_0x5c58d9;this[_0x15069b(0x10b)](this[_0x15069b(0x224)][_0x15069b(0x361)][_0x15069b(0x1fd)](()=>{const _0x9fb0e2=_0x15069b;var _0x49497e;const _0x32366a=this[_0x9fb0e2(0x224)][_0x9fb0e2(0x238)]();let _0x3cef0d=(_0x49497e=this[_0x9fb0e2(0x7a)][_0x9fb0e2(0x1a0)](_0x2d98c4))!=null?_0x49497e:_0x2b471e;_0x32366a instanceof _0x5d7f39['Workbook']&&(_0x3cef0d=_0x32366a[_0x9fb0e2(0x322)]),document[_0x9fb0e2(0x3bf)]=_0x3cef0d;}));}};_0x1f01f4=_0x471135([_0x449e9a(0x0,_0x5d7f39[_0x5c58d9(0x54a)]),_0x449e9a(0x1,_0x5d7f39[_0x5c58d9(0x436)])],_0x1f01f4);var _0x18ee7f=Object['defineProperty'],_0x498b60=Object['getOwnPropertyDescriptor'],_0x1619b5=(_0x3a08f2,_0x16b71c,_0x77e11,_0x52bb51)=>{for(var _0xeccf44=_0x52bb51>0x1?void 0x0:_0x52bb51?_0x498b60(_0x16b71c,_0x77e11):_0x16b71c,_0x3411d7=_0x3a08f2['length']-0x1,_0x22863d;_0x3411d7>=0x0;_0x3411d7--)(_0x22863d=_0x3a08f2[_0x3411d7])&&(_0xeccf44=(_0x52bb51?_0x22863d(_0x16b71c,_0x77e11,_0xeccf44):_0x22863d(_0xeccf44))||_0xeccf44);return _0x52bb51&&_0xeccf44&&_0x18ee7f(_0x16b71c,_0x77e11,_0xeccf44),_0xeccf44;},_0x4bf63d=(_0x1dc3e5,_0x4fb7eb)=>(_0x15d61d,_0x487fe2)=>_0x4fb7eb(_0x15d61d,_0x487fe2,_0x1dc3e5);let _0x492335=class{constructor(_0x2a63e6,_0x5013f8,_0x2b1cbf){const _0x2ff724=_0x5c58d9;this[_0x2ff724(0x7a)]=_0x2a63e6,this['_httpService']=_0x5013f8,this[_0x2ff724(0x144)]=_0x2b1cbf,this[_0x2ff724(0x242)]();}['init'](){const _0x5ee84f=_0x5c58d9;this[_0x5ee84f(0x40a)][_0x5ee84f(0x390)]({'priority':0x1,'interceptor':(_0x333454,_0x256d9d)=>_0x256d9d(_0x333454)[_0x5ee84f(0x3b0)](_0x48eeba[_0x5ee84f(0x51e)](async _0x1e3e33=>{const _0x6c1db8=_0x5ee84f,_0x41490b=_0x1e3e33;if(_0x41490b[_0x6c1db8(0x55a)]===0x191&&window[_0x6c1db8(0x396)](this['localeService']['t'](_0x6c1db8(0x210)))){const _0x36d72f=window[_0x6c1db8(0x1eb)](window['location'][_0x6c1db8(0x1ab)]);window['location'][_0x6c1db8(0x1ab)]=this[_0x6c1db8(0x3a8)]()+_0x6c1db8(0x179)+_0x36d72f;}return _0x41490b;}))});}['_getLoginPath'](){const _0x3267f6=_0x5c58d9;var _0x310125,_0x3df5bc;const _0x492fcb=this[_0x3267f6(0x7a)][_0x3267f6(0x1a0)](_0x315a97),_0x590d77=this['_configService'][_0x3267f6(0x1a0)](_0x14626f);return(_0x3df5bc=(_0x310125=_0x590d77==null?void 0x0:_0x590d77[_0x3267f6(0xfe)])!=null?_0x310125:_0x492fcb)!=null?_0x3df5bc:_0x46d9d1;}};_0x492335=_0x1619b5([_0x4bf63d(0x0,_0x5d7f39[_0x5c58d9(0x436)]),_0x4bf63d(0x1,_0x5d7f39['Inject'](_0x37b388[_0x5c58d9(0x94)])),_0x4bf63d(0x2,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x1cb)]))],_0x492335);var _0x34b81e=Object[_0x5c58d9(0xf4)],_0x58ac5a=Object[_0x5c58d9(0x314)],_0x51f229=(_0x3a95be,_0x32d6db,_0x1d5fe4,_0xc1bde6)=>{const _0x2b51fd=_0x5c58d9;for(var _0x19b61d=_0xc1bde6>0x1?void 0x0:_0xc1bde6?_0x58ac5a(_0x32d6db,_0x1d5fe4):_0x32d6db,_0x14b211=_0x3a95be[_0x2b51fd(0x3d9)]-0x1,_0x2e6980;_0x14b211>=0x0;_0x14b211--)(_0x2e6980=_0x3a95be[_0x14b211])&&(_0x19b61d=(_0xc1bde6?_0x2e6980(_0x32d6db,_0x1d5fe4,_0x19b61d):_0x2e6980(_0x19b61d))||_0x19b61d);return _0xc1bde6&&_0x19b61d&&_0x34b81e(_0x32d6db,_0x1d5fe4,_0x19b61d),_0x19b61d;},_0x44c254=(_0x794185,_0x195c89)=>(_0x1bec57,_0x41a446)=>_0x195c89(_0x1bec57,_0x41a446,_0x794185);const _0x4b5210=_0x5c58d9(0x1b1),_0x1b5ec9=_0x5c58d9(0x3ca);_0xe0b603[_0x5c58d9(0x237)]=class extends _0x5d7f39[_0x5c58d9(0x542)]{constructor(_0x5db740,_0x2bc661){const _0x371ade=_0x5c58d9;super(),this[_0x371ade(0x45e)]=_0x5db740,this[_0x371ade(0x7a)]=_0x2bc661,this[_0x371ade(0x135)]();}[_0x5c58d9(0x135)](){const _0x4016b3=_0x5c58d9,_0x38f60c=this;this[_0x4016b3(0x10b)](this[_0x4016b3(0x45e)][_0x4016b3(0x390)]({'priority':0x3e7,'interceptor':_0x37b388[_0x4016b3(0xe4)]({'isMatch'(_0x51c7d2){const _0x5d4044=_0x4016b3;var _0x5a2790;if(_0x51c7d2[_0x5d4044(0x351)]===_0x5d4044(0x1c1)&&((_0x5a2790=_0x51c7d2[_0x5d4044(0x36a)])!=null&&_0x5a2790['body'])){const {objectID:_0x772b5d,objectType:_0x1e9a8e}=_0x51c7d2['requestParams'][_0x5d4044(0x9b)]||{};if(!_0x772b5d||_0x1e9a8e===void 0x0)return!0x1;const _0x5902b6=_0x38f60c[_0x5d4044(0x29f)]()+'/'+_0x1e9a8e+_0x5d4044(0x20e)+_0x772b5d+'/allowed';if(_0x51c7d2[_0x5d4044(0x289)]===_0x5902b6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x98cda1){const _0x2b5233=_0x4016b3;var _0x34c9c7;return(_0x34c9c7=_0x98cda1['requestParams'])==null?void 0x0:_0x34c9c7[_0x2b5233(0x9b)];},'mergeParamsToRequest'(_0x56e340,_0x1e04da){const _0x387a36=_0x4016b3,_0x72f92d=_0x38f60c['_getAPIPrefixPath']()+_0x387a36(0x9f),_0x42f84e=_0x56e340[_0x387a36(0x24a)]((_0x30353e,_0x1ded9d)=>{const _0x2f78f0=_0x387a36,{unitID:_0x1b1114,objectID:_0x3d7a31,objectType:_0x58712f,actions:_0x49e577}=_0x1ded9d;return _0x30353e[_0x1b1114]||(_0x30353e[_0x1b1114]={}),_0x30353e[_0x1b1114][_0x3d7a31]||(_0x30353e[_0x1b1114][_0x3d7a31]={'objectID':_0x3d7a31,'objectType':_0x58712f,'actions':[]}),_0x30353e[_0x1b1114][_0x3d7a31][_0x2f78f0(0x414)][_0x2f78f0(0x443)](..._0x49e577),_0x30353e;},{}),_0x59ce40=[];for(const _0x1fbd64 in _0x42f84e)for(const _0x5c50e2 in _0x42f84e[_0x1fbd64]){const {actions:_0x17efac,objectType:_0x101d78}=_0x42f84e[_0x1fbd64][_0x5c50e2],_0x384302=[...new Set(_0x17efac)];_0x59ce40[_0x387a36(0x443)]({'unitID':_0x1fbd64,'objectID':_0x5c50e2,'objectType':_0x101d78,'actions':_0x384302});}return new _0x37b388[(_0x387a36(0x12d))](_0x387a36(0x1c1),_0x72f92d,{'headers':_0x1e04da[_0x387a36(0xd3)],'withCredentials':_0x1e04da['withCredentials'],'responseType':_0x1e04da[_0x387a36(0x473)],'body':{'requests':_0x59ce40}});}},{'distributeResult'(_0x46751e,_0x12a670){const _0x48fb49=_0x4016b3,{objectActions:_0x3801a3}=_0x46751e;return _0x12a670[_0x48fb49(0x491)](_0x12d58b=>{const _0x5ac25e=_0x48fb49,{unitID:_0x5c9bf1,objectID:_0x39b845,actions:_0x5a595f}=_0x12d58b,_0x5c03a9=_0x3801a3['find'](_0x2847ce=>_0x2847ce['unitID']===_0x5c9bf1&&_0x2847ce[_0x5ac25e(0x223)]===_0x39b845),_0x3b0ad2=_0x5a595f[_0x5ac25e(0x491)](_0x246551=>_0x5c03a9==null?void 0x0:_0x5c03a9[_0x5ac25e(0x414)]['find'](_0x2dafa6=>_0x2dafa6[_0x5ac25e(0x2ae)]===_0x246551))[_0x5ac25e(0x116)](_0x325004=>!!_0x325004);return{'config':_0x12d58b,'result':{'actions':_0x3b0ad2,'error':_0x46751e[_0x5ac25e(0x405)]}};});}})}));}[_0x5c58d9(0x29f)](){const _0x1e3323=_0x5c58d9;var _0x4d39ec,_0x5f0bee;const _0xec5919=this['_configService'][_0x1e3323(0x1a0)](_0x4b5210),_0x43486d=this['_configService'][_0x1e3323(0x1a0)](_0x14626f);return(_0x5f0bee=(_0x4d39ec=_0x43486d==null?void 0x0:_0x43486d[_0x1e3323(0x291)])!=null?_0x4d39ec:_0xec5919)!=null?_0x5f0bee:_0x1b5ec9;}async[_0x5c58d9(0x3cb)](_0x25039b){const _0x16d1cf=_0x5c58d9,_0x359eb7=this['_getAPIPrefixPath']()+'/'+_0x25039b[_0x16d1cf(0x32e)]+_0x16d1cf(0xa8);return(await this[_0x16d1cf(0x45e)]['post'](_0x359eb7,{'body':_0x25039b}))[_0x16d1cf(0x9b)]['objectID']||'';}async['list'](_0x5b9028){const _0x1d17bd=_0x5c58d9,_0x2bb157=this[_0x1d17bd(0x29f)]()+'/-/object/list';return(await this[_0x1d17bd(0x45e)][_0x1d17bd(0x2fa)](_0x2bb157,{'body':_0x5b9028}))[_0x1d17bd(0x9b)][_0x1d17bd(0x11d)];}async[_0x5c58d9(0x358)](_0x57ad7c){const _0x158607=_0x5c58d9,_0x465ad5=this[_0x158607(0x29f)]()+'/'+_0x57ad7c[_0x158607(0x32e)]+'/object/'+_0x57ad7c[_0x158607(0x223)];await this[_0x158607(0x45e)][_0x158607(0x218)](_0x465ad5,{'body':_0x57ad7c});}async[_0x5c58d9(0x355)](_0x1fffec){const _0x71c9dd=_0x5c58d9,_0x10369a=this[_0x71c9dd(0x29f)]()+'/'+_0x1fffec[_0x71c9dd(0x32e)]+'/object/'+_0x1fffec[_0x71c9dd(0x223)]+'/allowed';return(await this['_HTTPService'][_0x71c9dd(0x2fa)](_0x10369a,{'body':_0x1fffec}))['body'][_0x71c9dd(0x414)];}async[_0x5c58d9(0x138)](_0x1c468f){const _0x1cb61f=_0x5c58d9,_0x4d9217=this[_0x1cb61f(0x29f)]()+'/-/object/-/batch_allowed';return(await this[_0x1cb61f(0x45e)]['post'](_0x4d9217,{'body':{'requests':_0x1c468f}}))[_0x1cb61f(0x9b)][_0x1cb61f(0x35b)];}async[_0x5c58d9(0x126)](_0x25e050){const _0x2cd379=_0x5c58d9,_0x19f685=this[_0x2cd379(0x29f)]()+'/'+_0x25e050[_0x2cd379(0x32e)]+'/role',_0x453f57=await this[_0x2cd379(0x45e)][_0x2cd379(0x2fa)](_0x19f685,{'body':_0x25e050});return{'roles':_0x453f57[_0x2cd379(0x9b)][_0x2cd379(0xbb)],'actions':_0x453f57[_0x2cd379(0x9b)][_0x2cd379(0x414)]};}async['deleteCollaborator'](_0x5ec41c){const _0x2ac9d4=_0x5c58d9,_0x3e769f=this[_0x2ac9d4(0x29f)]()+_0x2ac9d4(0x3aa);await this[_0x2ac9d4(0x45e)]['delete'](_0x3e769f,{'params':{'collaboratorID':_0x5ec41c[_0x2ac9d4(0x146)],'objectID':_0x5ec41c['objectID'],'unitID':_0x5ec41c[_0x2ac9d4(0x541)]}});}async[_0x5c58d9(0x2a6)](_0x5bf9fa){const _0x4d5cff=_0x5c58d9,_0x4712af=this[_0x4d5cff(0x29f)]()+_0x4d5cff(0x3aa);await this[_0x4d5cff(0x45e)][_0x4d5cff(0x318)](_0x4712af,{'body':_0x5bf9fa});}async[_0x5c58d9(0x555)](_0x132b8d){const _0x2c70de=_0x5c58d9,_0x5bb55b=this[_0x2c70de(0x29f)]()+_0x2c70de(0x3aa);await this['_HTTPService']['post'](_0x5bb55b,{'body':_0x132b8d});}async[_0x5c58d9(0x1d5)](_0xd3990e){const _0x5dbe91=_0x5c58d9,_0x20b702=this[_0x5dbe91(0x29f)]()+'/collaborator';return(await this[_0x5dbe91(0x45e)]['get'](_0x20b702,{'params':{'objectID':_0xd3990e[_0x5dbe91(0x223)],'unitID':_0xd3990e[_0x5dbe91(0x541)]}}))['body'][_0x5dbe91(0x460)];}async[_0x5c58d9(0x2cb)](_0x2fb0e9){const _0x3f600e=_0x5c58d9,_0x5bd62f=this[_0x3f600e(0x29f)]()+'/collaborator';await this[_0x3f600e(0x45e)][_0x3f600e(0x218)](_0x5bd62f,{'body':_0x2fb0e9});}},_0xe0b603['AuthzIoHttpService']=_0x51f229([_0x44c254(0x0,_0x5d7f39[_0x5c58d9(0x3a2)](_0x37b388[_0x5c58d9(0x94)])),_0x44c254(0x1,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x436)]))],_0xe0b603['AuthzIoHttpService']);var _0x56ef71={'exports':{}};function _0x1cdfa5(_0x5b5b84){const _0x102b0c=_0x5c58d9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5b5b84+_0x102b0c(0x560));}var _0x4b7c73={'exports':{}},_0x3b4357=_0x4b7c73[_0x5c58d9(0x44f)],_0x51975f;function _0x27a223(){const _0x1bfe4d=_0x5c58d9;return _0x51975f||(_0x51975f=0x1,function(_0x28641e,_0xb262ae){(function(_0x3790e7,_0x1c9943){const _0x528795=_0x1eb4;_0x28641e[_0x528795(0x44f)]=_0x1c9943();}(_0x3b4357,function(){var _0x18df1d=_0x18df1d||function(_0x4d401c,_0x595c97){const _0x2c3d4=_0x1eb4;var _0x5108ac;if(typeof window<'u'&&window['crypto']&&(_0x5108ac=window[_0x2c3d4(0x1dd)]),typeof self<'u'&&self[_0x2c3d4(0x1dd)]&&(_0x5108ac=self[_0x2c3d4(0x1dd)]),typeof globalThis<'u'&&globalThis[_0x2c3d4(0x1dd)]&&(_0x5108ac=globalThis[_0x2c3d4(0x1dd)]),!_0x5108ac&&typeof window<'u'&&window[_0x2c3d4(0x45c)]&&(_0x5108ac=window[_0x2c3d4(0x45c)]),!_0x5108ac&&typeof _0x5e16bd<'u'&&_0x5e16bd[_0x2c3d4(0x1dd)]&&(_0x5108ac=_0x5e16bd[_0x2c3d4(0x1dd)]),!_0x5108ac&&typeof _0x1cdfa5==_0x2c3d4(0x169))try{_0x5108ac=require('crypto');}catch{}var _0x325bac=function(){const _0x230fbd=_0x2c3d4;if(_0x5108ac){if(typeof _0x5108ac[_0x230fbd(0x1b9)]=='function')try{return _0x5108ac[_0x230fbd(0x1b9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5108ac[_0x230fbd(0x2bc)]=='function')try{return _0x5108ac[_0x230fbd(0x2bc)](0x4)[_0x230fbd(0x3eb)]();}catch{}}throw new Error(_0x230fbd(0x3fc));},_0x36c7ab=Object[_0x2c3d4(0x3cb)]||(function(){function _0xf8291d(){}return function(_0x31f233){var _0x1e40cb;return _0xf8291d['prototype']=_0x31f233,_0x1e40cb=new _0xf8291d(),_0xf8291d['prototype']=null,_0x1e40cb;};}()),_0x302e32={},_0x12aa10=_0x302e32[_0x2c3d4(0x537)]={},_0x2f3e43=_0x12aa10[_0x2c3d4(0x2ea)]=(function(){return{'extend':function(_0x40d097){const _0xd9d447=_0x1eb4;var _0x1543cf=_0x36c7ab(this);return _0x40d097&&_0x1543cf[_0xd9d447(0x90)](_0x40d097),(!_0x1543cf[_0xd9d447(0x19a)]('init')||this[_0xd9d447(0x242)]===_0x1543cf[_0xd9d447(0x242)])&&(_0x1543cf[_0xd9d447(0x242)]=function(){const _0x7a4fd6=_0xd9d447;_0x1543cf['$super'][_0x7a4fd6(0x242)][_0x7a4fd6(0x384)](this,arguments);}),_0x1543cf[_0xd9d447(0x242)][_0xd9d447(0x547)]=_0x1543cf,_0x1543cf[_0xd9d447(0x340)]=this,_0x1543cf;},'create':function(){const _0x4d0b0d=_0x1eb4;var _0x452d91=this[_0x4d0b0d(0x9e)]();return _0x452d91['init'][_0x4d0b0d(0x384)](_0x452d91,arguments),_0x452d91;},'init':function(){},'mixIn':function(_0x43cd04){const _0x46a976=_0x1eb4;for(var _0x48e74d in _0x43cd04)_0x43cd04['hasOwnProperty'](_0x48e74d)&&(this[_0x48e74d]=_0x43cd04[_0x48e74d]);_0x43cd04[_0x46a976(0x19a)]('toString')&&(this[_0x46a976(0x1f2)]=_0x43cd04[_0x46a976(0x1f2)]);},'clone':function(){const _0x2ea99d=_0x1eb4;return this[_0x2ea99d(0x242)][_0x2ea99d(0x547)][_0x2ea99d(0x9e)](this);}};}()),_0x637e46=_0x12aa10[_0x2c3d4(0x4c7)]=_0x2f3e43['extend']({'init':function(_0x3ba915,_0x5b1e82){const _0x268342=_0x2c3d4;_0x3ba915=this[_0x268342(0x32f)]=_0x3ba915||[],_0x5b1e82!=_0x595c97?this[_0x268342(0x338)]=_0x5b1e82:this[_0x268342(0x338)]=_0x3ba915[_0x268342(0x3d9)]*0x4;},'toString':function(_0x23d73a){const _0x4d7b21=_0x2c3d4;return(_0x23d73a||_0x1d88ff)[_0x4d7b21(0x228)](this);},'concat':function(_0x5b0b90){const _0x1a567d=_0x2c3d4;var _0x3d7237=this[_0x1a567d(0x32f)],_0x55f26d=_0x5b0b90[_0x1a567d(0x32f)],_0xf8648a=this['sigBytes'],_0x2a8a1a=_0x5b0b90['sigBytes'];if(this[_0x1a567d(0x1c2)](),_0xf8648a%0x4)for(var _0x147e1d=0x0;_0x147e1d<_0x2a8a1a;_0x147e1d++){var _0x21f7cc=_0x55f26d[_0x147e1d>>>0x2]>>>0x18-_0x147e1d%0x4*0x8&0xff;_0x3d7237[_0xf8648a+_0x147e1d>>>0x2]|=_0x21f7cc<<0x18-(_0xf8648a+_0x147e1d)%0x4*0x8;}else{for(var _0x2ff5c5=0x0;_0x2ff5c5<_0x2a8a1a;_0x2ff5c5+=0x4)_0x3d7237[_0xf8648a+_0x2ff5c5>>>0x2]=_0x55f26d[_0x2ff5c5>>>0x2];}return this[_0x1a567d(0x338)]+=_0x2a8a1a,this;},'clamp':function(){const _0x5edc5f=_0x2c3d4;var _0x24b9b9=this[_0x5edc5f(0x32f)],_0x50bd76=this[_0x5edc5f(0x338)];_0x24b9b9[_0x50bd76>>>0x2]&=0xffffffff<<0x20-_0x50bd76%0x4*0x8,_0x24b9b9['length']=_0x4d401c[_0x5edc5f(0x176)](_0x50bd76/0x4);},'clone':function(){const _0x35ff2b=_0x2c3d4;var _0x440687=_0x2f3e43['clone'][_0x35ff2b(0x46c)](this);return _0x440687[_0x35ff2b(0x32f)]=this[_0x35ff2b(0x32f)][_0x35ff2b(0x483)](0x0),_0x440687;},'random':function(_0x3087b7){const _0x2adb6a=_0x2c3d4;for(var _0x3493d0=[],_0x9a1868=0x0;_0x9a1868<_0x3087b7;_0x9a1868+=0x4)_0x3493d0[_0x2adb6a(0x443)](_0x325bac());return new _0x637e46['init'](_0x3493d0,_0x3087b7);}}),_0x114df7=_0x302e32[_0x2c3d4(0x372)]={},_0x1d88ff=_0x114df7[_0x2c3d4(0x1bd)]={'stringify':function(_0x20a628){const _0x564947=_0x2c3d4;for(var _0x2293ff=_0x20a628['words'],_0x122e34=_0x20a628[_0x564947(0x338)],_0x214cc4=[],_0x388d75=0x0;_0x388d75<_0x122e34;_0x388d75++){var _0x5dad65=_0x2293ff[_0x388d75>>>0x2]>>>0x18-_0x388d75%0x4*0x8&0xff;_0x214cc4['push']((_0x5dad65>>>0x4)[_0x564947(0x1f2)](0x10)),_0x214cc4[_0x564947(0x443)]((_0x5dad65&0xf)[_0x564947(0x1f2)](0x10));}return _0x214cc4[_0x564947(0x357)]('');},'parse':function(_0x1fd976){const _0x3be516=_0x2c3d4;for(var _0xd1d7bd=_0x1fd976[_0x3be516(0x3d9)],_0xbdcf4=[],_0x225219=0x0;_0x225219<_0xd1d7bd;_0x225219+=0x2)_0xbdcf4[_0x225219>>>0x3]|=parseInt(_0x1fd976[_0x3be516(0x188)](_0x225219,0x2),0x10)<<0x18-_0x225219%0x8*0x4;return new _0x637e46[(_0x3be516(0x242))](_0xbdcf4,_0xd1d7bd/0x2);}},_0x5f0326=_0x114df7[_0x2c3d4(0x4ea)]={'stringify':function(_0x141203){const _0x2877a8=_0x2c3d4;for(var _0x2331c8=_0x141203[_0x2877a8(0x32f)],_0x1ac973=_0x141203[_0x2877a8(0x338)],_0x257b8a=[],_0x5a11eb=0x0;_0x5a11eb<_0x1ac973;_0x5a11eb++){var _0x4e9934=_0x2331c8[_0x5a11eb>>>0x2]>>>0x18-_0x5a11eb%0x4*0x8&0xff;_0x257b8a[_0x2877a8(0x443)](String[_0x2877a8(0x328)](_0x4e9934));}return _0x257b8a[_0x2877a8(0x357)]('');},'parse':function(_0x32fe33){const _0x16f5bd=_0x2c3d4;for(var _0x59a541=_0x32fe33['length'],_0x1fe645=[],_0x73b41f=0x0;_0x73b41f<_0x59a541;_0x73b41f++)_0x1fe645[_0x73b41f>>>0x2]|=(_0x32fe33['charCodeAt'](_0x73b41f)&0xff)<<0x18-_0x73b41f%0x4*0x8;return new _0x637e46[(_0x16f5bd(0x242))](_0x1fe645,_0x59a541);}},_0x1abf1b=_0x114df7[_0x2c3d4(0x29c)]={'stringify':function(_0x1798be){const _0x537e0d=_0x2c3d4;try{return decodeURIComponent(escape(_0x5f0326['stringify'](_0x1798be)));}catch{throw new Error(_0x537e0d(0x53a));}},'parse':function(_0x2f282d){const _0x38b7f9=_0x2c3d4;return _0x5f0326[_0x38b7f9(0xd9)](unescape(encodeURIComponent(_0x2f282d)));}},_0x188a44=_0x12aa10[_0x2c3d4(0x4ec)]=_0x2f3e43[_0x2c3d4(0x9e)]({'reset':function(){const _0x40452b=_0x2c3d4;this['_data']=new _0x637e46[(_0x40452b(0x242))](),this[_0x40452b(0x1bc)]=0x0;},'_append':function(_0x25f227){const _0x3fc180=_0x2c3d4;typeof _0x25f227==_0x3fc180(0x369)&&(_0x25f227=_0x1abf1b[_0x3fc180(0xd9)](_0x25f227)),this[_0x3fc180(0x4d3)][_0x3fc180(0x499)](_0x25f227),this[_0x3fc180(0x1bc)]+=_0x25f227['sigBytes'];},'_process':function(_0x5aa18b){const _0x14abc9=_0x2c3d4;var _0x53774d,_0x472849=this[_0x14abc9(0x4d3)],_0x3c9aca=_0x472849[_0x14abc9(0x32f)],_0x37983f=_0x472849[_0x14abc9(0x338)],_0x21e795=this[_0x14abc9(0x241)],_0x22caff=_0x21e795*0x4,_0x59bb13=_0x37983f/_0x22caff;_0x5aa18b?_0x59bb13=_0x4d401c[_0x14abc9(0x176)](_0x59bb13):_0x59bb13=_0x4d401c['max']((_0x59bb13|0x0)-this[_0x14abc9(0x2fb)],0x0);var _0x581bdf=_0x59bb13*_0x21e795,_0x5ab076=_0x4d401c['min'](_0x581bdf*0x4,_0x37983f);if(_0x581bdf){for(var _0x47c838=0x0;_0x47c838<_0x581bdf;_0x47c838+=_0x21e795)this[_0x14abc9(0x4a1)](_0x3c9aca,_0x47c838);_0x53774d=_0x3c9aca[_0x14abc9(0x2e3)](0x0,_0x581bdf),_0x472849[_0x14abc9(0x338)]-=_0x5ab076;}return new _0x637e46['init'](_0x53774d,_0x5ab076);},'clone':function(){const _0x2ad218=_0x2c3d4;var _0x37dad3=_0x2f3e43['clone'][_0x2ad218(0x46c)](this);return _0x37dad3[_0x2ad218(0x4d3)]=this[_0x2ad218(0x4d3)][_0x2ad218(0x38e)](),_0x37dad3;},'_minBufferSize':0x0});_0x12aa10[_0x2c3d4(0x500)]=_0x188a44[_0x2c3d4(0x9e)]({'cfg':_0x2f3e43[_0x2c3d4(0x9e)](),'init':function(_0x4120f2){const _0x52cbac=_0x2c3d4;this[_0x52cbac(0x3e5)]=this['cfg'][_0x52cbac(0x9e)](_0x4120f2),this[_0x52cbac(0x435)]();},'reset':function(){const _0x4cbd2c=_0x2c3d4;_0x188a44[_0x4cbd2c(0x435)][_0x4cbd2c(0x46c)](this),this[_0x4cbd2c(0x2f5)]();},'update':function(_0x4767c6){const _0x525c75=_0x2c3d4;return this[_0x525c75(0xe2)](_0x4767c6),this[_0x525c75(0x3f4)](),this;},'finalize':function(_0x5a09bb){const _0x25033=_0x2c3d4;_0x5a09bb&&this[_0x25033(0xe2)](_0x5a09bb);var _0x3a1f1c=this['_doFinalize']();return _0x3a1f1c;},'blockSize':0x10,'_createHelper':function(_0xe12e8a){return function(_0x167001,_0x25dab4){const _0x2fe950=_0x1eb4;return new _0xe12e8a[(_0x2fe950(0x242))](_0x25dab4)[_0x2fe950(0x493)](_0x167001);};},'_createHmacHelper':function(_0x3b46db){return function(_0x47e733,_0x130b0b){const _0x1ada74=_0x1eb4;return new _0x248111[(_0x1ada74(0x34f))]['init'](_0x3b46db,_0x130b0b)['finalize'](_0x47e733);};}});var _0x248111=_0x302e32[_0x2c3d4(0x503)]={};return _0x302e32;}(Math);return _0x18df1d;}));}(_0x4b7c73)),_0x4b7c73[_0x1bfe4d(0x44f)];}var _0x211196={'exports':{}},_0x1c0e44=_0x211196[_0x5c58d9(0x44f)],_0x46c2c1;function _0x2f5107(){const _0x586648=_0x5c58d9;return _0x46c2c1||(_0x46c2c1=0x1,function(_0x42304a,_0xe23b4){(function(_0xfaf45c,_0xd00075){const _0x30bd05=_0x1eb4;_0x42304a[_0x30bd05(0x44f)]=_0xd00075(_0x27a223());}(_0x1c0e44,function(_0x3b2aca){return(function(){const _0x393fa7=_0x1eb4;var _0x4da4b4=_0x3b2aca,_0x16b961=_0x4da4b4[_0x393fa7(0x537)],_0xa4b0b3=_0x16b961[_0x393fa7(0x4c7)],_0x10b02e=_0x4da4b4['enc'];_0x10b02e[_0x393fa7(0x3f9)]={'stringify':function(_0x1fb86d){const _0x4fbfb5=_0x393fa7;var _0x5cb125=_0x1fb86d[_0x4fbfb5(0x32f)],_0x38032a=_0x1fb86d[_0x4fbfb5(0x338)],_0x557b71=this[_0x4fbfb5(0x43a)];_0x1fb86d[_0x4fbfb5(0x1c2)]();for(var _0x12a7d9=[],_0x5802b6=0x0;_0x5802b6<_0x38032a;_0x5802b6+=0x3)for(var _0x88772f=_0x5cb125[_0x5802b6>>>0x2]>>>0x18-_0x5802b6%0x4*0x8&0xff,_0x35e79b=_0x5cb125[_0x5802b6+0x1>>>0x2]>>>0x18-(_0x5802b6+0x1)%0x4*0x8&0xff,_0x5c4760=_0x5cb125[_0x5802b6+0x2>>>0x2]>>>0x18-(_0x5802b6+0x2)%0x4*0x8&0xff,_0xfc9184=_0x88772f<<0x10|_0x35e79b<<0x8|_0x5c4760,_0x498ace=0x0;_0x498ace<0x4&&_0x5802b6+_0x498ace*0.75<_0x38032a;_0x498ace++)_0x12a7d9[_0x4fbfb5(0x443)](_0x557b71[_0x4fbfb5(0x1a7)](_0xfc9184>>>0x6*(0x3-_0x498ace)&0x3f));var _0x2d0fe1=_0x557b71[_0x4fbfb5(0x1a7)](0x40);if(_0x2d0fe1){for(;_0x12a7d9[_0x4fbfb5(0x3d9)]%0x4;)_0x12a7d9[_0x4fbfb5(0x443)](_0x2d0fe1);}return _0x12a7d9[_0x4fbfb5(0x357)]('');},'parse':function(_0x27d1e7){const _0x1b1eaf=_0x393fa7;var _0xeed28d=_0x27d1e7['length'],_0x461e86=this[_0x1b1eaf(0x43a)],_0x32ec4c=this[_0x1b1eaf(0x522)];if(!_0x32ec4c){_0x32ec4c=this['_reverseMap']=[];for(var _0x3e9362=0x0;_0x3e9362<_0x461e86[_0x1b1eaf(0x3d9)];_0x3e9362++)_0x32ec4c[_0x461e86['charCodeAt'](_0x3e9362)]=_0x3e9362;}var _0x5e0e65=_0x461e86[_0x1b1eaf(0x1a7)](0x40);if(_0x5e0e65){var _0x2df2a1=_0x27d1e7[_0x1b1eaf(0xa4)](_0x5e0e65);_0x2df2a1!==-0x1&&(_0xeed28d=_0x2df2a1);}return _0x226faa(_0x27d1e7,_0xeed28d,_0x32ec4c);},'_map':_0x393fa7(0x99)};function _0x226faa(_0x3e668b,_0x29bbb1,_0x2ed30c){const _0x3153af=_0x393fa7;for(var _0x531ac2=[],_0x58bffc=0x0,_0x4838c1=0x0;_0x4838c1<_0x29bbb1;_0x4838c1++)if(_0x4838c1%0x4){var _0x2f1227=_0x2ed30c[_0x3e668b[_0x3153af(0x239)](_0x4838c1-0x1)]<<_0x4838c1%0x4*0x2,_0x5a3e16=_0x2ed30c[_0x3e668b[_0x3153af(0x239)](_0x4838c1)]>>>0x6-_0x4838c1%0x4*0x2,_0x595cb5=_0x2f1227|_0x5a3e16;_0x531ac2[_0x58bffc>>>0x2]|=_0x595cb5<<0x18-_0x58bffc%0x4*0x8,_0x58bffc++;}return _0xa4b0b3['create'](_0x531ac2,_0x58bffc);}}()),_0x3b2aca['enc']['Base64'];}));}(_0x211196)),_0x211196[_0x586648(0x44f)];}var _0x33242c={'exports':{}},_0x3852ac=_0x33242c['exports'],_0x38dfb9;function _0x508bf0(){const _0x5e7f3a=_0x5c58d9;return _0x38dfb9||(_0x38dfb9=0x1,function(_0x2c055b,_0x596e16){(function(_0x161f9b,_0x55d9fd){_0x2c055b['exports']=_0x55d9fd(_0x27a223());}(_0x3852ac,function(_0x4cc877){const _0x290b52=_0x1eb4;return function(_0x13a2be){const _0x268da3=_0x1eb4;var _0x5f548f=_0x4cc877,_0x15da6f=_0x5f548f[_0x268da3(0x537)],_0xc14b1b=_0x15da6f[_0x268da3(0x4c7)],_0x1e338a=_0x15da6f[_0x268da3(0x500)],_0x31e8f8=_0x5f548f[_0x268da3(0x503)],_0x59e753=[];(function(){for(var _0x39c733=0x0;_0x39c733<0x40;_0x39c733++)_0x59e753[_0x39c733]=_0x13a2be['abs'](_0x13a2be['sin'](_0x39c733+0x1))*0x100000000|0x0;}());var _0x30fce6=_0x31e8f8[_0x268da3(0x2bd)]=_0x1e338a[_0x268da3(0x9e)]({'_doReset':function(){const _0x7ea1e0=_0x268da3;this['_hash']=new _0xc14b1b[(_0x7ea1e0(0x242))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x47a65f,_0xe352a7){const _0x5d19cb=_0x268da3;for(var _0x396675=0x0;_0x396675<0x10;_0x396675++){var _0x1626b9=_0xe352a7+_0x396675,_0x593289=_0x47a65f[_0x1626b9];_0x47a65f[_0x1626b9]=(_0x593289<<0x8|_0x593289>>>0x18)&0xff00ff|(_0x593289<<0x18|_0x593289>>>0x8)&0xff00ff00;}var _0x596ee6=this['_hash'][_0x5d19cb(0x32f)],_0x1837c2=_0x47a65f[_0xe352a7+0x0],_0x68a512=_0x47a65f[_0xe352a7+0x1],_0x52b1ef=_0x47a65f[_0xe352a7+0x2],_0x529fdf=_0x47a65f[_0xe352a7+0x3],_0x123190=_0x47a65f[_0xe352a7+0x4],_0x1a4d43=_0x47a65f[_0xe352a7+0x5],_0xdab5b5=_0x47a65f[_0xe352a7+0x6],_0x519d5d=_0x47a65f[_0xe352a7+0x7],_0x15f9bb=_0x47a65f[_0xe352a7+0x8],_0x5ba1b0=_0x47a65f[_0xe352a7+0x9],_0x26a40f=_0x47a65f[_0xe352a7+0xa],_0xf3f3ee=_0x47a65f[_0xe352a7+0xb],_0x3415db=_0x47a65f[_0xe352a7+0xc],_0x305be8=_0x47a65f[_0xe352a7+0xd],_0x2adbb0=_0x47a65f[_0xe352a7+0xe],_0x5a3869=_0x47a65f[_0xe352a7+0xf],_0x56d836=_0x596ee6[0x0],_0x54b8a2=_0x596ee6[0x1],_0x1191b0=_0x596ee6[0x2],_0x86d9b8=_0x596ee6[0x3];_0x56d836=_0x4cfacb(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x1837c2,0x7,_0x59e753[0x0]),_0x86d9b8=_0x4cfacb(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x68a512,0xc,_0x59e753[0x1]),_0x1191b0=_0x4cfacb(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x52b1ef,0x11,_0x59e753[0x2]),_0x54b8a2=_0x4cfacb(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x529fdf,0x16,_0x59e753[0x3]),_0x56d836=_0x4cfacb(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x123190,0x7,_0x59e753[0x4]),_0x86d9b8=_0x4cfacb(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x1a4d43,0xc,_0x59e753[0x5]),_0x1191b0=_0x4cfacb(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0xdab5b5,0x11,_0x59e753[0x6]),_0x54b8a2=_0x4cfacb(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x519d5d,0x16,_0x59e753[0x7]),_0x56d836=_0x4cfacb(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x15f9bb,0x7,_0x59e753[0x8]),_0x86d9b8=_0x4cfacb(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x5ba1b0,0xc,_0x59e753[0x9]),_0x1191b0=_0x4cfacb(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x26a40f,0x11,_0x59e753[0xa]),_0x54b8a2=_0x4cfacb(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0xf3f3ee,0x16,_0x59e753[0xb]),_0x56d836=_0x4cfacb(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x3415db,0x7,_0x59e753[0xc]),_0x86d9b8=_0x4cfacb(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x305be8,0xc,_0x59e753[0xd]),_0x1191b0=_0x4cfacb(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x2adbb0,0x11,_0x59e753[0xe]),_0x54b8a2=_0x4cfacb(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x5a3869,0x16,_0x59e753[0xf]),_0x56d836=_0x5f1c6a(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x68a512,0x5,_0x59e753[0x10]),_0x86d9b8=_0x5f1c6a(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0xdab5b5,0x9,_0x59e753[0x11]),_0x1191b0=_0x5f1c6a(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0xf3f3ee,0xe,_0x59e753[0x12]),_0x54b8a2=_0x5f1c6a(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x1837c2,0x14,_0x59e753[0x13]),_0x56d836=_0x5f1c6a(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x1a4d43,0x5,_0x59e753[0x14]),_0x86d9b8=_0x5f1c6a(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x26a40f,0x9,_0x59e753[0x15]),_0x1191b0=_0x5f1c6a(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x5a3869,0xe,_0x59e753[0x16]),_0x54b8a2=_0x5f1c6a(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x123190,0x14,_0x59e753[0x17]),_0x56d836=_0x5f1c6a(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x5ba1b0,0x5,_0x59e753[0x18]),_0x86d9b8=_0x5f1c6a(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x2adbb0,0x9,_0x59e753[0x19]),_0x1191b0=_0x5f1c6a(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x529fdf,0xe,_0x59e753[0x1a]),_0x54b8a2=_0x5f1c6a(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x15f9bb,0x14,_0x59e753[0x1b]),_0x56d836=_0x5f1c6a(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x305be8,0x5,_0x59e753[0x1c]),_0x86d9b8=_0x5f1c6a(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x52b1ef,0x9,_0x59e753[0x1d]),_0x1191b0=_0x5f1c6a(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x519d5d,0xe,_0x59e753[0x1e]),_0x54b8a2=_0x5f1c6a(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x3415db,0x14,_0x59e753[0x1f]),_0x56d836=_0x399f57(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x1a4d43,0x4,_0x59e753[0x20]),_0x86d9b8=_0x399f57(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x15f9bb,0xb,_0x59e753[0x21]),_0x1191b0=_0x399f57(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0xf3f3ee,0x10,_0x59e753[0x22]),_0x54b8a2=_0x399f57(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x2adbb0,0x17,_0x59e753[0x23]),_0x56d836=_0x399f57(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x68a512,0x4,_0x59e753[0x24]),_0x86d9b8=_0x399f57(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x123190,0xb,_0x59e753[0x25]),_0x1191b0=_0x399f57(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x519d5d,0x10,_0x59e753[0x26]),_0x54b8a2=_0x399f57(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x26a40f,0x17,_0x59e753[0x27]),_0x56d836=_0x399f57(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x305be8,0x4,_0x59e753[0x28]),_0x86d9b8=_0x399f57(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x1837c2,0xb,_0x59e753[0x29]),_0x1191b0=_0x399f57(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x529fdf,0x10,_0x59e753[0x2a]),_0x54b8a2=_0x399f57(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0xdab5b5,0x17,_0x59e753[0x2b]),_0x56d836=_0x399f57(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x5ba1b0,0x4,_0x59e753[0x2c]),_0x86d9b8=_0x399f57(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x3415db,0xb,_0x59e753[0x2d]),_0x1191b0=_0x399f57(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x5a3869,0x10,_0x59e753[0x2e]),_0x54b8a2=_0x399f57(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x52b1ef,0x17,_0x59e753[0x2f]),_0x56d836=_0x44da4c(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x1837c2,0x6,_0x59e753[0x30]),_0x86d9b8=_0x44da4c(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x519d5d,0xa,_0x59e753[0x31]),_0x1191b0=_0x44da4c(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x2adbb0,0xf,_0x59e753[0x32]),_0x54b8a2=_0x44da4c(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x1a4d43,0x15,_0x59e753[0x33]),_0x56d836=_0x44da4c(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x3415db,0x6,_0x59e753[0x34]),_0x86d9b8=_0x44da4c(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x529fdf,0xa,_0x59e753[0x35]),_0x1191b0=_0x44da4c(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x26a40f,0xf,_0x59e753[0x36]),_0x54b8a2=_0x44da4c(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x68a512,0x15,_0x59e753[0x37]),_0x56d836=_0x44da4c(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x15f9bb,0x6,_0x59e753[0x38]),_0x86d9b8=_0x44da4c(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0x5a3869,0xa,_0x59e753[0x39]),_0x1191b0=_0x44da4c(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0xdab5b5,0xf,_0x59e753[0x3a]),_0x54b8a2=_0x44da4c(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x305be8,0x15,_0x59e753[0x3b]),_0x56d836=_0x44da4c(_0x56d836,_0x54b8a2,_0x1191b0,_0x86d9b8,_0x123190,0x6,_0x59e753[0x3c]),_0x86d9b8=_0x44da4c(_0x86d9b8,_0x56d836,_0x54b8a2,_0x1191b0,_0xf3f3ee,0xa,_0x59e753[0x3d]),_0x1191b0=_0x44da4c(_0x1191b0,_0x86d9b8,_0x56d836,_0x54b8a2,_0x52b1ef,0xf,_0x59e753[0x3e]),_0x54b8a2=_0x44da4c(_0x54b8a2,_0x1191b0,_0x86d9b8,_0x56d836,_0x5ba1b0,0x15,_0x59e753[0x3f]),_0x596ee6[0x0]=_0x596ee6[0x0]+_0x56d836|0x0,_0x596ee6[0x1]=_0x596ee6[0x1]+_0x54b8a2|0x0,_0x596ee6[0x2]=_0x596ee6[0x2]+_0x1191b0|0x0,_0x596ee6[0x3]=_0x596ee6[0x3]+_0x86d9b8|0x0;},'_doFinalize':function(){const _0x21db18=_0x268da3;var _0x47b569=this[_0x21db18(0x4d3)],_0x45c006=_0x47b569[_0x21db18(0x32f)],_0x402073=this[_0x21db18(0x1bc)]*0x8,_0x1acee1=_0x47b569[_0x21db18(0x338)]*0x8;_0x45c006[_0x1acee1>>>0x5]|=0x80<<0x18-_0x1acee1%0x20;var _0x29be91=_0x13a2be['floor'](_0x402073/0x100000000),_0x4567f2=_0x402073;_0x45c006[(_0x1acee1+0x40>>>0x9<<0x4)+0xf]=(_0x29be91<<0x8|_0x29be91>>>0x18)&0xff00ff|(_0x29be91<<0x18|_0x29be91>>>0x8)&0xff00ff00,_0x45c006[(_0x1acee1+0x40>>>0x9<<0x4)+0xe]=(_0x4567f2<<0x8|_0x4567f2>>>0x18)&0xff00ff|(_0x4567f2<<0x18|_0x4567f2>>>0x8)&0xff00ff00,_0x47b569[_0x21db18(0x338)]=(_0x45c006[_0x21db18(0x3d9)]+0x1)*0x4,this[_0x21db18(0x3f4)]();for(var _0x5b8b2e=this[_0x21db18(0x3d4)],_0x2334d8=_0x5b8b2e[_0x21db18(0x32f)],_0x391780=0x0;_0x391780<0x4;_0x391780++){var _0x219b84=_0x2334d8[_0x391780];_0x2334d8[_0x391780]=(_0x219b84<<0x8|_0x219b84>>>0x18)&0xff00ff|(_0x219b84<<0x18|_0x219b84>>>0x8)&0xff00ff00;}return _0x5b8b2e;},'clone':function(){const _0xab4bbf=_0x268da3;var _0x365291=_0x1e338a[_0xab4bbf(0x38e)][_0xab4bbf(0x46c)](this);return _0x365291['_hash']=this[_0xab4bbf(0x3d4)][_0xab4bbf(0x38e)](),_0x365291;}});function _0x4cfacb(_0x32b360,_0x3ba074,_0x1e91ad,_0x2ced12,_0x1d78f2,_0x274c3d,_0x547da){var _0x53f81f=_0x32b360+(_0x3ba074&_0x1e91ad|~_0x3ba074&_0x2ced12)+_0x1d78f2+_0x547da;return(_0x53f81f<<_0x274c3d|_0x53f81f>>>0x20-_0x274c3d)+_0x3ba074;}function _0x5f1c6a(_0x2b6274,_0x1a1663,_0x5db4b9,_0x5e7c83,_0x1bc1dd,_0x4e1781,_0x55b78a){var _0x5b40d6=_0x2b6274+(_0x1a1663&_0x5e7c83|_0x5db4b9&~_0x5e7c83)+_0x1bc1dd+_0x55b78a;return(_0x5b40d6<<_0x4e1781|_0x5b40d6>>>0x20-_0x4e1781)+_0x1a1663;}function _0x399f57(_0x152c59,_0x2ef6ce,_0x1ea5df,_0x456058,_0x4b28cb,_0x52562c,_0x2d9f20){var _0x435223=_0x152c59+(_0x2ef6ce^_0x1ea5df^_0x456058)+_0x4b28cb+_0x2d9f20;return(_0x435223<<_0x52562c|_0x435223>>>0x20-_0x52562c)+_0x2ef6ce;}function _0x44da4c(_0x2bf640,_0x4aa55f,_0x4850a6,_0x5caa83,_0x4fbbff,_0x32f511,_0x5a21f6){var _0x354948=_0x2bf640+(_0x4850a6^(_0x4aa55f|~_0x5caa83))+_0x4fbbff+_0x5a21f6;return(_0x354948<<_0x32f511|_0x354948>>>0x20-_0x32f511)+_0x4aa55f;}_0x5f548f[_0x268da3(0x2bd)]=_0x1e338a[_0x268da3(0x139)](_0x30fce6),_0x5f548f[_0x268da3(0xcf)]=_0x1e338a[_0x268da3(0x447)](_0x30fce6);}(Math),_0x4cc877[_0x290b52(0x2bd)];}));}(_0x33242c)),_0x33242c[_0x5e7f3a(0x44f)];}var _0x4a8a20={'exports':{}},_0xd5e235={'exports':{}},_0x25923b=_0xd5e235[_0x5c58d9(0x44f)],_0x552be4;function _0x46665f(){return _0x552be4||(_0x552be4=0x1,function(_0x43da4b,_0x4eb857){(function(_0x2239b3,_0x507dde){const _0x18e38c=_0x1eb4;_0x43da4b[_0x18e38c(0x44f)]=_0x507dde(_0x27a223());}(_0x25923b,function(_0x4074c7){const _0x40bab0=_0x1eb4;return(function(){const _0x4d0d1b=_0x1eb4;var _0x334981=_0x4074c7,_0x57b465=_0x334981[_0x4d0d1b(0x537)],_0x2d8838=_0x57b465[_0x4d0d1b(0x4c7)],_0x47b1ff=_0x57b465[_0x4d0d1b(0x500)],_0x590032=_0x334981[_0x4d0d1b(0x503)],_0x169e45=[],_0x501791=_0x590032[_0x4d0d1b(0x14d)]=_0x47b1ff[_0x4d0d1b(0x9e)]({'_doReset':function(){const _0x40a685=_0x4d0d1b;this['_hash']=new _0x2d8838[(_0x40a685(0x242))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3d49cb,_0x18ddb9){const _0x1a9815=_0x4d0d1b;for(var _0x342ab4=this[_0x1a9815(0x3d4)][_0x1a9815(0x32f)],_0x3d0b84=_0x342ab4[0x0],_0x57779d=_0x342ab4[0x1],_0x290726=_0x342ab4[0x2],_0x1c8067=_0x342ab4[0x3],_0x102850=_0x342ab4[0x4],_0x2a7e6c=0x0;_0x2a7e6c<0x50;_0x2a7e6c++){if(_0x2a7e6c<0x10)_0x169e45[_0x2a7e6c]=_0x3d49cb[_0x18ddb9+_0x2a7e6c]|0x0;else{var _0x50607a=_0x169e45[_0x2a7e6c-0x3]^_0x169e45[_0x2a7e6c-0x8]^_0x169e45[_0x2a7e6c-0xe]^_0x169e45[_0x2a7e6c-0x10];_0x169e45[_0x2a7e6c]=_0x50607a<<0x1|_0x50607a>>>0x1f;}var _0x39cc34=(_0x3d0b84<<0x5|_0x3d0b84>>>0x1b)+_0x102850+_0x169e45[_0x2a7e6c];_0x2a7e6c<0x14?_0x39cc34+=(_0x57779d&_0x290726|~_0x57779d&_0x1c8067)+0x5a827999:_0x2a7e6c<0x28?_0x39cc34+=(_0x57779d^_0x290726^_0x1c8067)+0x6ed9eba1:_0x2a7e6c<0x3c?_0x39cc34+=(_0x57779d&_0x290726|_0x57779d&_0x1c8067|_0x290726&_0x1c8067)-0x70e44324:_0x39cc34+=(_0x57779d^_0x290726^_0x1c8067)-0x359d3e2a,_0x102850=_0x1c8067,_0x1c8067=_0x290726,_0x290726=_0x57779d<<0x1e|_0x57779d>>>0x2,_0x57779d=_0x3d0b84,_0x3d0b84=_0x39cc34;}_0x342ab4[0x0]=_0x342ab4[0x0]+_0x3d0b84|0x0,_0x342ab4[0x1]=_0x342ab4[0x1]+_0x57779d|0x0,_0x342ab4[0x2]=_0x342ab4[0x2]+_0x290726|0x0,_0x342ab4[0x3]=_0x342ab4[0x3]+_0x1c8067|0x0,_0x342ab4[0x4]=_0x342ab4[0x4]+_0x102850|0x0;},'_doFinalize':function(){const _0x14539b=_0x4d0d1b;var _0x55e3b7=this[_0x14539b(0x4d3)],_0x83ea22=_0x55e3b7[_0x14539b(0x32f)],_0x2ee087=this[_0x14539b(0x1bc)]*0x8,_0x215d10=_0x55e3b7[_0x14539b(0x338)]*0x8;return _0x83ea22[_0x215d10>>>0x5]|=0x80<<0x18-_0x215d10%0x20,_0x83ea22[(_0x215d10+0x40>>>0x9<<0x4)+0xe]=Math[_0x14539b(0x3a6)](_0x2ee087/0x100000000),_0x83ea22[(_0x215d10+0x40>>>0x9<<0x4)+0xf]=_0x2ee087,_0x55e3b7[_0x14539b(0x338)]=_0x83ea22[_0x14539b(0x3d9)]*0x4,this[_0x14539b(0x3f4)](),this[_0x14539b(0x3d4)];},'clone':function(){const _0x36ac55=_0x4d0d1b;var _0x30ffb6=_0x47b1ff['clone']['call'](this);return _0x30ffb6[_0x36ac55(0x3d4)]=this['_hash'][_0x36ac55(0x38e)](),_0x30ffb6;}});_0x334981[_0x4d0d1b(0x14d)]=_0x47b1ff[_0x4d0d1b(0x139)](_0x501791),_0x334981[_0x4d0d1b(0x402)]=_0x47b1ff[_0x4d0d1b(0x447)](_0x501791);}()),_0x4074c7[_0x40bab0(0x14d)];}));}(_0xd5e235)),_0xd5e235['exports'];}var _0x1e8b07={'exports':{}},_0xc2dc26=_0x1e8b07['exports'],_0x50d0f5;function _0x27b163(){const _0xd6ccef=_0x5c58d9;return _0x50d0f5||(_0x50d0f5=0x1,function(_0xab832d,_0x22dfbb){(function(_0x401bbc,_0x2e37c){_0xab832d['exports']=_0x2e37c(_0x27a223());}(_0xc2dc26,function(_0x299903){(function(){const _0x34e90e=_0x1eb4;var _0x305830=_0x299903,_0x13a8d7=_0x305830[_0x34e90e(0x537)],_0x2238fa=_0x13a8d7['Base'],_0x573820=_0x305830[_0x34e90e(0x372)],_0x371b29=_0x573820[_0x34e90e(0x29c)],_0x4b9086=_0x305830['algo'];_0x4b9086[_0x34e90e(0x34f)]=_0x2238fa[_0x34e90e(0x9e)]({'init':function(_0x1785ad,_0x34a58c){const _0x405c98=_0x34e90e;_0x1785ad=this[_0x405c98(0x487)]=new _0x1785ad['init'](),typeof _0x34a58c==_0x405c98(0x369)&&(_0x34a58c=_0x371b29[_0x405c98(0xd9)](_0x34a58c));var _0x3535b8=_0x1785ad['blockSize'],_0x4fe3e1=_0x3535b8*0x4;_0x34a58c[_0x405c98(0x338)]>_0x4fe3e1&&(_0x34a58c=_0x1785ad['finalize'](_0x34a58c)),_0x34a58c[_0x405c98(0x1c2)]();for(var _0x94fe0e=this[_0x405c98(0x8d)]=_0x34a58c[_0x405c98(0x38e)](),_0x36f785=this[_0x405c98(0xf0)]=_0x34a58c[_0x405c98(0x38e)](),_0x2fc09d=_0x94fe0e['words'],_0x414a9d=_0x36f785[_0x405c98(0x32f)],_0x3f6ab4=0x0;_0x3f6ab4<_0x3535b8;_0x3f6ab4++)_0x2fc09d[_0x3f6ab4]^=0x5c5c5c5c,_0x414a9d[_0x3f6ab4]^=0x36363636;_0x94fe0e[_0x405c98(0x338)]=_0x36f785[_0x405c98(0x338)]=_0x4fe3e1,this['reset']();},'reset':function(){const _0x5478dd=_0x34e90e;var _0x25b8e7=this[_0x5478dd(0x487)];_0x25b8e7[_0x5478dd(0x435)](),_0x25b8e7['update'](this[_0x5478dd(0xf0)]);},'update':function(_0xc1233e){const _0x5ce531=_0x34e90e;return this[_0x5ce531(0x487)][_0x5ce531(0x358)](_0xc1233e),this;},'finalize':function(_0x10f8aa){const _0x258173=_0x34e90e;var _0x13f54f=this[_0x258173(0x487)],_0x4ab210=_0x13f54f[_0x258173(0x493)](_0x10f8aa);_0x13f54f[_0x258173(0x435)]();var _0x59f4ee=_0x13f54f['finalize'](this[_0x258173(0x8d)]['clone']()[_0x258173(0x499)](_0x4ab210));return _0x59f4ee;}});}());}));}(_0x1e8b07)),_0x1e8b07[_0xd6ccef(0x44f)];}var _0x2cadcd=_0x4a8a20['exports'],_0x434162;function _0x5ed2d3(){const _0xba7456=_0x5c58d9;return _0x434162||(_0x434162=0x1,function(_0x1cf098,_0x575c6d){(function(_0x23f115,_0xed8a56,_0x2833fb){const _0x5c2fd2=_0x1eb4;_0x1cf098[_0x5c2fd2(0x44f)]=_0xed8a56(_0x27a223(),_0x46665f(),_0x27b163());}(_0x2cadcd,function(_0x5c1bf8){const _0x1ca495=_0x1eb4;return(function(){const _0x4dea3d=_0x1eb4;var _0x1aa742=_0x5c1bf8,_0x1ee39d=_0x1aa742[_0x4dea3d(0x537)],_0x512c9b=_0x1ee39d[_0x4dea3d(0x2ea)],_0x12458b=_0x1ee39d['WordArray'],_0x45d06c=_0x1aa742[_0x4dea3d(0x503)],_0x3cf599=_0x45d06c[_0x4dea3d(0x2bd)],_0x373088=_0x45d06c[_0x4dea3d(0x102)]=_0x512c9b['extend']({'cfg':_0x512c9b[_0x4dea3d(0x9e)]({'keySize':0x80/0x20,'hasher':_0x3cf599,'iterations':0x1}),'init':function(_0x41609c){const _0x23f16b=_0x4dea3d;this[_0x23f16b(0x3e5)]=this['cfg']['extend'](_0x41609c);},'compute':function(_0x1676d1,_0x5add74){const _0x3658c4=_0x4dea3d;for(var _0x2be21e,_0x3e24c9=this[_0x3658c4(0x3e5)],_0x78507f=_0x3e24c9['hasher']['create'](),_0x4e2093=_0x12458b[_0x3658c4(0x3cb)](),_0xbd3251=_0x4e2093['words'],_0x31868f=_0x3e24c9['keySize'],_0x4fb117=_0x3e24c9[_0x3658c4(0x502)];_0xbd3251['length']<_0x31868f;){_0x2be21e&&_0x78507f[_0x3658c4(0x358)](_0x2be21e),_0x2be21e=_0x78507f['update'](_0x1676d1)[_0x3658c4(0x493)](_0x5add74),_0x78507f[_0x3658c4(0x435)]();for(var _0x339234=0x1;_0x339234<_0x4fb117;_0x339234++)_0x2be21e=_0x78507f[_0x3658c4(0x493)](_0x2be21e),_0x78507f[_0x3658c4(0x435)]();_0x4e2093[_0x3658c4(0x499)](_0x2be21e);}return _0x4e2093[_0x3658c4(0x338)]=_0x31868f*0x4,_0x4e2093;}});_0x1aa742[_0x4dea3d(0x102)]=function(_0x3c1a09,_0xa60a0c,_0x24930d){const _0x428dd6=_0x4dea3d;return _0x373088[_0x428dd6(0x3cb)](_0x24930d)['compute'](_0x3c1a09,_0xa60a0c);};}()),_0x5c1bf8[_0x1ca495(0x102)];}));}(_0x4a8a20)),_0x4a8a20[_0xba7456(0x44f)];}var _0x1e6c9c={'exports':{}},_0x22fec0=_0x1e6c9c[_0x5c58d9(0x44f)],_0x5c0af6;function _0xc3d6b0(){return _0x5c0af6||(_0x5c0af6=0x1,function(_0x18d59c,_0x2a3d75){(function(_0x2353bb,_0x5d7928,_0x836afc){const _0x158e14=_0x1eb4;_0x18d59c[_0x158e14(0x44f)]=_0x5d7928(_0x27a223(),_0x5ed2d3());}(_0x22fec0,function(_0x5c71fe){const _0x3a49df=_0x1eb4;_0x5c71fe[_0x3a49df(0x537)][_0x3a49df(0x429)]||function(_0x7a1f5c){const _0x510aa1=_0x3a49df;var _0x5b1ee8=_0x5c71fe,_0x47c14f=_0x5b1ee8[_0x510aa1(0x537)],_0x4c409d=_0x47c14f[_0x510aa1(0x2ea)],_0xfa4deb=_0x47c14f['WordArray'],_0x13c5ef=_0x47c14f[_0x510aa1(0x4ec)],_0x5eeccf=_0x5b1ee8[_0x510aa1(0x372)];_0x5eeccf[_0x510aa1(0x29c)];var _0xcde1f9=_0x5eeccf[_0x510aa1(0x3f9)],_0x3dbbc4=_0x5b1ee8[_0x510aa1(0x503)],_0x212b2d=_0x3dbbc4[_0x510aa1(0x102)],_0x1010a8=_0x47c14f[_0x510aa1(0x429)]=_0x13c5ef[_0x510aa1(0x9e)]({'cfg':_0x4c409d[_0x510aa1(0x9e)](),'createEncryptor':function(_0x9b8547,_0x13c688){const _0x204837=_0x510aa1;return this[_0x204837(0x3cb)](this[_0x204837(0x4b9)],_0x9b8547,_0x13c688);},'createDecryptor':function(_0x2f3b51,_0x5f3be0){const _0x19416b=_0x510aa1;return this[_0x19416b(0x3cb)](this[_0x19416b(0x3e7)],_0x2f3b51,_0x5f3be0);},'init':function(_0x21cf3e,_0x275434,_0x49f5ab){const _0xe651ce=_0x510aa1;this['cfg']=this['cfg'][_0xe651ce(0x9e)](_0x49f5ab),this[_0xe651ce(0x3a4)]=_0x21cf3e,this[_0xe651ce(0x30a)]=_0x275434,this['reset']();},'reset':function(){const _0xe09905=_0x510aa1;_0x13c5ef[_0xe09905(0x435)]['call'](this),this[_0xe09905(0x2f5)]();},'process':function(_0x48ac23){const _0x2924b9=_0x510aa1;return this[_0x2924b9(0xe2)](_0x48ac23),this['_process']();},'finalize':function(_0x4c10c1){const _0x14f09f=_0x510aa1;_0x4c10c1&&this[_0x14f09f(0xe2)](_0x4c10c1);var _0x1ecca0=this[_0x14f09f(0x163)]();return _0x1ecca0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x297cd1(_0x22b8d3){return typeof _0x22b8d3=='string'?_0x3a8929:_0x444ac8;}return function(_0x49a48e){return{'encrypt':function(_0x14fab9,_0x2d22f2,_0x596100){const _0x379e7f=_0x1eb4;return _0x297cd1(_0x2d22f2)[_0x379e7f(0x4d1)](_0x49a48e,_0x14fab9,_0x2d22f2,_0x596100);},'decrypt':function(_0x11f20a,_0xac98b9,_0x4a5473){return _0x297cd1(_0xac98b9)['decrypt'](_0x49a48e,_0x11f20a,_0xac98b9,_0x4a5473);}};};}())});_0x47c14f['StreamCipher']=_0x1010a8[_0x510aa1(0x9e)]({'_doFinalize':function(){const _0x2fb72d=_0x510aa1;var _0x49fa00=this[_0x2fb72d(0x3f4)](!0x0);return _0x49fa00;},'blockSize':0x1});var _0x2cb065=_0x5b1ee8[_0x510aa1(0x267)]={},_0x4a1cda=_0x47c14f[_0x510aa1(0x49f)]=_0x4c409d[_0x510aa1(0x9e)]({'createEncryptor':function(_0x157ba7,_0x5d110d){const _0x28542a=_0x510aa1;return this[_0x28542a(0x168)][_0x28542a(0x3cb)](_0x157ba7,_0x5d110d);},'createDecryptor':function(_0x1dbd62,_0x45b3c4){const _0x1fac28=_0x510aa1;return this[_0x1fac28(0x42b)][_0x1fac28(0x3cb)](_0x1dbd62,_0x45b3c4);},'init':function(_0x51ec04,_0x3abb51){const _0x4cf445=_0x510aa1;this[_0x4cf445(0x22a)]=_0x51ec04,this['_iv']=_0x3abb51;}}),_0x2b3f5f=_0x2cb065[_0x510aa1(0x15e)]=(function(){const _0xfca5f2=_0x510aa1;var _0x44094c=_0x4a1cda['extend']();_0x44094c[_0xfca5f2(0x168)]=_0x44094c['extend']({'processBlock':function(_0x41f86b,_0x36ae68){const _0x1b6697=_0xfca5f2;var _0x49c191=this[_0x1b6697(0x22a)],_0x5d968f=_0x49c191[_0x1b6697(0x241)];_0x31c482[_0x1b6697(0x46c)](this,_0x41f86b,_0x36ae68,_0x5d968f),_0x49c191[_0x1b6697(0x524)](_0x41f86b,_0x36ae68),this[_0x1b6697(0x3e4)]=_0x41f86b['slice'](_0x36ae68,_0x36ae68+_0x5d968f);}}),_0x44094c['Decryptor']=_0x44094c[_0xfca5f2(0x9e)]({'processBlock':function(_0x4082e8,_0x611ffe){const _0x5cafa8=_0xfca5f2;var _0x41ca01=this[_0x5cafa8(0x22a)],_0x266988=_0x41ca01['blockSize'],_0x335dd5=_0x4082e8['slice'](_0x611ffe,_0x611ffe+_0x266988);_0x41ca01[_0x5cafa8(0x136)](_0x4082e8,_0x611ffe),_0x31c482['call'](this,_0x4082e8,_0x611ffe,_0x266988),this[_0x5cafa8(0x3e4)]=_0x335dd5;}});function _0x31c482(_0x57bb88,_0x367708,_0x87c8ce){const _0x235279=_0xfca5f2;var _0xd0c9e4,_0x200810=this[_0x235279(0x3fb)];_0x200810?(_0xd0c9e4=_0x200810,this[_0x235279(0x3fb)]=_0x7a1f5c):_0xd0c9e4=this[_0x235279(0x3e4)];for(var _0x528e43=0x0;_0x528e43<_0x87c8ce;_0x528e43++)_0x57bb88[_0x367708+_0x528e43]^=_0xd0c9e4[_0x528e43];}return _0x44094c;}()),_0x16027a=_0x5b1ee8[_0x510aa1(0x4b7)]={},_0x3e133e=_0x16027a[_0x510aa1(0x347)]={'pad':function(_0x1c371f,_0x1af8c6){const _0x2a3f1e=_0x510aa1;for(var _0x5a1400=_0x1af8c6*0x4,_0x3b6dc0=_0x5a1400-_0x1c371f[_0x2a3f1e(0x338)]%_0x5a1400,_0x1195ad=_0x3b6dc0<<0x18|_0x3b6dc0<<0x10|_0x3b6dc0<<0x8|_0x3b6dc0,_0xfa46e4=[],_0x233055=0x0;_0x233055<_0x3b6dc0;_0x233055+=0x4)_0xfa46e4[_0x2a3f1e(0x443)](_0x1195ad);var _0x13f7c8=_0xfa4deb[_0x2a3f1e(0x3cb)](_0xfa46e4,_0x3b6dc0);_0x1c371f[_0x2a3f1e(0x499)](_0x13f7c8);},'unpad':function(_0x15c39d){const _0x1b7df2=_0x510aa1;var _0x34c80b=_0x15c39d['words'][_0x15c39d[_0x1b7df2(0x338)]-0x1>>>0x2]&0xff;_0x15c39d[_0x1b7df2(0x338)]-=_0x34c80b;}};_0x47c14f[_0x510aa1(0x352)]=_0x1010a8[_0x510aa1(0x9e)]({'cfg':_0x1010a8['cfg']['extend']({'mode':_0x2b3f5f,'padding':_0x3e133e}),'reset':function(){const _0x461e47=_0x510aa1;var _0x2b1a29;_0x1010a8[_0x461e47(0x435)]['call'](this);var _0x327a22=this[_0x461e47(0x3e5)],_0x33b517=_0x327a22['iv'],_0x3aaa15=_0x327a22[_0x461e47(0x267)];this[_0x461e47(0x3a4)]==this['_ENC_XFORM_MODE']?_0x2b1a29=_0x3aaa15[_0x461e47(0x1d2)]:(_0x2b1a29=_0x3aaa15[_0x461e47(0x326)],this[_0x461e47(0x2fb)]=0x1),this[_0x461e47(0x3d5)]&&this['_mode'][_0x461e47(0x26e)]==_0x2b1a29?this['_mode'][_0x461e47(0x242)](this,_0x33b517&&_0x33b517[_0x461e47(0x32f)]):(this[_0x461e47(0x3d5)]=_0x2b1a29['call'](_0x3aaa15,this,_0x33b517&&_0x33b517[_0x461e47(0x32f)]),this[_0x461e47(0x3d5)]['__creator']=_0x2b1a29);},'_doProcessBlock':function(_0x41218a,_0x16b95a){const _0x5a8474=_0x510aa1;this[_0x5a8474(0x3d5)][_0x5a8474(0x18a)](_0x41218a,_0x16b95a);},'_doFinalize':function(){const _0x17715e=_0x510aa1;var _0x4fb3a3,_0x904ebd=this[_0x17715e(0x3e5)][_0x17715e(0x2aa)];return this[_0x17715e(0x3a4)]==this['_ENC_XFORM_MODE']?(_0x904ebd['pad'](this[_0x17715e(0x4d3)],this[_0x17715e(0x241)]),_0x4fb3a3=this['_process'](!0x0)):(_0x4fb3a3=this[_0x17715e(0x3f4)](!0x0),_0x904ebd[_0x17715e(0x476)](_0x4fb3a3)),_0x4fb3a3;},'blockSize':0x80/0x20});var _0x1bb032=_0x47c14f[_0x510aa1(0x42e)]=_0x4c409d[_0x510aa1(0x9e)]({'init':function(_0x114a65){const _0x2762d3=_0x510aa1;this[_0x2762d3(0x90)](_0x114a65);},'toString':function(_0x171a5f){const _0x17cf14=_0x510aa1;return(_0x171a5f||this[_0x17cf14(0x48c)])['stringify'](this);}}),_0x3c2ca6=_0x5b1ee8[_0x510aa1(0x283)]={},_0x2c11b3=_0x3c2ca6['OpenSSL']={'stringify':function(_0x2fc2ea){const _0x45ab2f=_0x510aa1;var _0x52cf5c,_0x5639c3=_0x2fc2ea[_0x45ab2f(0x3b2)],_0x15dc96=_0x2fc2ea[_0x45ab2f(0x45b)];return _0x15dc96?_0x52cf5c=_0xfa4deb[_0x45ab2f(0x3cb)]([0x53616c74,0x65645f5f])[_0x45ab2f(0x499)](_0x15dc96)[_0x45ab2f(0x499)](_0x5639c3):_0x52cf5c=_0x5639c3,_0x52cf5c[_0x45ab2f(0x1f2)](_0xcde1f9);},'parse':function(_0x2f9b1e){const _0x41268c=_0x510aa1;var _0xd9ccc9,_0x4213e8=_0xcde1f9['parse'](_0x2f9b1e),_0x25569e=_0x4213e8[_0x41268c(0x32f)];return _0x25569e[0x0]==0x53616c74&&_0x25569e[0x1]==0x65645f5f&&(_0xd9ccc9=_0xfa4deb[_0x41268c(0x3cb)](_0x25569e[_0x41268c(0x483)](0x2,0x4)),_0x25569e[_0x41268c(0x2e3)](0x0,0x4),_0x4213e8[_0x41268c(0x338)]-=0x10),_0x1bb032[_0x41268c(0x3cb)]({'ciphertext':_0x4213e8,'salt':_0xd9ccc9});}},_0x444ac8=_0x47c14f['SerializableCipher']=_0x4c409d[_0x510aa1(0x9e)]({'cfg':_0x4c409d['extend']({'format':_0x2c11b3}),'encrypt':function(_0x1eaf9d,_0x21752d,_0x16e45f,_0x42d586){const _0x46a00a=_0x510aa1;_0x42d586=this[_0x46a00a(0x3e5)][_0x46a00a(0x9e)](_0x42d586);var _0x3d643a=_0x1eaf9d['createEncryptor'](_0x16e45f,_0x42d586),_0x2d7bc1=_0x3d643a['finalize'](_0x21752d),_0x546aac=_0x3d643a[_0x46a00a(0x3e5)];return _0x1bb032[_0x46a00a(0x3cb)]({'ciphertext':_0x2d7bc1,'key':_0x16e45f,'iv':_0x546aac['iv'],'algorithm':_0x1eaf9d,'mode':_0x546aac[_0x46a00a(0x267)],'padding':_0x546aac[_0x46a00a(0x2aa)],'blockSize':_0x1eaf9d[_0x46a00a(0x241)],'formatter':_0x42d586['format']});},'decrypt':function(_0x5cbb31,_0x2d2d23,_0x2ec6e4,_0x6816dc){const _0x5a71da=_0x510aa1;_0x6816dc=this[_0x5a71da(0x3e5)][_0x5a71da(0x9e)](_0x6816dc),_0x2d2d23=this['_parse'](_0x2d2d23,_0x6816dc['format']);var _0x55cc77=_0x5cbb31[_0x5a71da(0x326)](_0x2ec6e4,_0x6816dc)[_0x5a71da(0x493)](_0x2d2d23[_0x5a71da(0x3b2)]);return _0x55cc77;},'_parse':function(_0x4381d2,_0x2352ff){const _0x302cbc=_0x510aa1;return typeof _0x4381d2=='string'?_0x2352ff[_0x302cbc(0xd9)](_0x4381d2,this):_0x4381d2;}}),_0x5389c4=_0x5b1ee8[_0x510aa1(0x35e)]={},_0x49d291=_0x5389c4['OpenSSL']={'execute':function(_0x2d33f4,_0x59448e,_0xed0402,_0x53bc8c,_0x46e81e){const _0x133837=_0x510aa1;if(_0x53bc8c||(_0x53bc8c=_0xfa4deb[_0x133837(0x52a)](0x40/0x8)),_0x46e81e)var _0x15fdf8=_0x212b2d[_0x133837(0x3cb)]({'keySize':_0x59448e+_0xed0402,'hasher':_0x46e81e})[_0x133837(0x4a5)](_0x2d33f4,_0x53bc8c);else var _0x15fdf8=_0x212b2d['create']({'keySize':_0x59448e+_0xed0402})[_0x133837(0x4a5)](_0x2d33f4,_0x53bc8c);var _0x1b632c=_0xfa4deb[_0x133837(0x3cb)](_0x15fdf8[_0x133837(0x32f)]['slice'](_0x59448e),_0xed0402*0x4);return _0x15fdf8[_0x133837(0x338)]=_0x59448e*0x4,_0x1bb032[_0x133837(0x3cb)]({'key':_0x15fdf8,'iv':_0x1b632c,'salt':_0x53bc8c});}},_0x3a8929=_0x47c14f['PasswordBasedCipher']=_0x444ac8[_0x510aa1(0x9e)]({'cfg':_0x444ac8[_0x510aa1(0x3e5)][_0x510aa1(0x9e)]({'kdf':_0x49d291}),'encrypt':function(_0x44d5b9,_0x4f970d,_0x2bcb14,_0x42ed02){const _0x104a79=_0x510aa1;_0x42ed02=this[_0x104a79(0x3e5)][_0x104a79(0x9e)](_0x42ed02);var _0x3a5194=_0x42ed02[_0x104a79(0x35e)][_0x104a79(0x489)](_0x2bcb14,_0x44d5b9[_0x104a79(0x513)],_0x44d5b9['ivSize'],_0x42ed02[_0x104a79(0x45b)],_0x42ed02['hasher']);_0x42ed02['iv']=_0x3a5194['iv'];var _0x416e81=_0x444ac8[_0x104a79(0x4d1)][_0x104a79(0x46c)](this,_0x44d5b9,_0x4f970d,_0x3a5194[_0x104a79(0x3df)],_0x42ed02);return _0x416e81[_0x104a79(0x90)](_0x3a5194),_0x416e81;},'decrypt':function(_0x3eb286,_0x35e675,_0x44ff76,_0x3896fb){const _0x48b5ec=_0x510aa1;_0x3896fb=this[_0x48b5ec(0x3e5)][_0x48b5ec(0x9e)](_0x3896fb),_0x35e675=this[_0x48b5ec(0x4ef)](_0x35e675,_0x3896fb[_0x48b5ec(0x283)]);var _0x58e253=_0x3896fb[_0x48b5ec(0x35e)]['execute'](_0x44ff76,_0x3eb286['keySize'],_0x3eb286[_0x48b5ec(0x49e)],_0x35e675[_0x48b5ec(0x45b)],_0x3896fb[_0x48b5ec(0x209)]);_0x3896fb['iv']=_0x58e253['iv'];var _0x2bc0a5=_0x444ac8['decrypt']['call'](this,_0x3eb286,_0x35e675,_0x58e253[_0x48b5ec(0x3df)],_0x3896fb);return _0x2bc0a5;}});}();}));}(_0x1e6c9c)),_0x1e6c9c['exports'];}var _0x21e050=_0x56ef71[_0x5c58d9(0x44f)],_0x3339d5;function _0x3b40a4(){return _0x3339d5||(_0x3339d5=0x1,function(_0x5803ed,_0x1d9e1e){(function(_0x51ec09,_0x2dd695,_0xbaa2fb){const _0x1680d0=_0x1eb4;_0x5803ed[_0x1680d0(0x44f)]=_0x2dd695(_0x27a223(),_0x2f5107(),_0x508bf0(),_0x5ed2d3(),_0xc3d6b0());}(_0x21e050,function(_0x3a0955){const _0x51811d=_0x1eb4;return(function(){const _0x15938a=_0x1eb4;var _0x43b115=_0x3a0955,_0x299b33=_0x43b115[_0x15938a(0x537)],_0xc983fc=_0x299b33[_0x15938a(0x352)],_0x4940ed=_0x43b115[_0x15938a(0x503)],_0xbcd146=[],_0x4ac696=[],_0x5bbf79=[],_0x5741d2=[],_0x147181=[],_0x20dece=[],_0x59bffd=[],_0x509709=[],_0x26b3f5=[],_0x14681d=[];(function(){for(var _0x97225e=[],_0x2b1ca2=0x0;_0x2b1ca2<0x100;_0x2b1ca2++)_0x2b1ca2<0x80?_0x97225e[_0x2b1ca2]=_0x2b1ca2<<0x1:_0x97225e[_0x2b1ca2]=_0x2b1ca2<<0x1^0x11b;for(var _0x190394=0x0,_0x4a5fec=0x0,_0x2b1ca2=0x0;_0x2b1ca2<0x100;_0x2b1ca2++){var _0x42aae9=_0x4a5fec^_0x4a5fec<<0x1^_0x4a5fec<<0x2^_0x4a5fec<<0x3^_0x4a5fec<<0x4;_0x42aae9=_0x42aae9>>>0x8^_0x42aae9&0xff^0x63,_0xbcd146[_0x190394]=_0x42aae9,_0x4ac696[_0x42aae9]=_0x190394;var _0x4f2cff=_0x97225e[_0x190394],_0x3ffef4=_0x97225e[_0x4f2cff],_0x316a39=_0x97225e[_0x3ffef4],_0x5d1b53=_0x97225e[_0x42aae9]*0x101^_0x42aae9*0x1010100;_0x5bbf79[_0x190394]=_0x5d1b53<<0x18|_0x5d1b53>>>0x8,_0x5741d2[_0x190394]=_0x5d1b53<<0x10|_0x5d1b53>>>0x10,_0x147181[_0x190394]=_0x5d1b53<<0x8|_0x5d1b53>>>0x18,_0x20dece[_0x190394]=_0x5d1b53;var _0x5d1b53=_0x316a39*0x1010101^_0x3ffef4*0x10001^_0x4f2cff*0x101^_0x190394*0x1010100;_0x59bffd[_0x42aae9]=_0x5d1b53<<0x18|_0x5d1b53>>>0x8,_0x509709[_0x42aae9]=_0x5d1b53<<0x10|_0x5d1b53>>>0x10,_0x26b3f5[_0x42aae9]=_0x5d1b53<<0x8|_0x5d1b53>>>0x18,_0x14681d[_0x42aae9]=_0x5d1b53,_0x190394?(_0x190394=_0x4f2cff^_0x97225e[_0x97225e[_0x97225e[_0x316a39^_0x4f2cff]]],_0x4a5fec^=_0x97225e[_0x97225e[_0x4a5fec]]):_0x190394=_0x4a5fec=0x1;}}());var _0x1251e3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1ecfbf=_0x4940ed['AES']=_0xc983fc[_0x15938a(0x9e)]({'_doReset':function(){const _0x266e30=_0x15938a;var _0x6feb26;if(!(this['_nRounds']&&this[_0x266e30(0x25e)]===this[_0x266e30(0x30a)])){for(var _0x38a409=this[_0x266e30(0x25e)]=this[_0x266e30(0x30a)],_0x12785d=_0x38a409[_0x266e30(0x32f)],_0x29261f=_0x38a409['sigBytes']/0x4,_0x148d8c=this[_0x266e30(0x2c6)]=_0x29261f+0x6,_0x1ab575=(_0x148d8c+0x1)*0x4,_0x436641=this['_keySchedule']=[],_0x307b36=0x0;_0x307b36<_0x1ab575;_0x307b36++)_0x307b36<_0x29261f?_0x436641[_0x307b36]=_0x12785d[_0x307b36]:(_0x6feb26=_0x436641[_0x307b36-0x1],_0x307b36%_0x29261f?_0x29261f>0x6&&_0x307b36%_0x29261f==0x4&&(_0x6feb26=_0xbcd146[_0x6feb26>>>0x18]<<0x18|_0xbcd146[_0x6feb26>>>0x10&0xff]<<0x10|_0xbcd146[_0x6feb26>>>0x8&0xff]<<0x8|_0xbcd146[_0x6feb26&0xff]):(_0x6feb26=_0x6feb26<<0x8|_0x6feb26>>>0x18,_0x6feb26=_0xbcd146[_0x6feb26>>>0x18]<<0x18|_0xbcd146[_0x6feb26>>>0x10&0xff]<<0x10|_0xbcd146[_0x6feb26>>>0x8&0xff]<<0x8|_0xbcd146[_0x6feb26&0xff],_0x6feb26^=_0x1251e3[_0x307b36/_0x29261f|0x0]<<0x18),_0x436641[_0x307b36]=_0x436641[_0x307b36-_0x29261f]^_0x6feb26);for(var _0x328ee6=this[_0x266e30(0x21e)]=[],_0x5eccec=0x0;_0x5eccec<_0x1ab575;_0x5eccec++){var _0x307b36=_0x1ab575-_0x5eccec;if(_0x5eccec%0x4)var _0x6feb26=_0x436641[_0x307b36];else var _0x6feb26=_0x436641[_0x307b36-0x4];_0x5eccec<0x4||_0x307b36<=0x4?_0x328ee6[_0x5eccec]=_0x6feb26:_0x328ee6[_0x5eccec]=_0x59bffd[_0xbcd146[_0x6feb26>>>0x18]]^_0x509709[_0xbcd146[_0x6feb26>>>0x10&0xff]]^_0x26b3f5[_0xbcd146[_0x6feb26>>>0x8&0xff]]^_0x14681d[_0xbcd146[_0x6feb26&0xff]];}}},'encryptBlock':function(_0x673d5c,_0x427c71){const _0x327574=_0x15938a;this['_doCryptBlock'](_0x673d5c,_0x427c71,this[_0x327574(0x1ee)],_0x5bbf79,_0x5741d2,_0x147181,_0x20dece,_0xbcd146);},'decryptBlock':function(_0x28bf0e,_0x3d76a6){const _0x159274=_0x15938a;var _0x3eb831=_0x28bf0e[_0x3d76a6+0x1];_0x28bf0e[_0x3d76a6+0x1]=_0x28bf0e[_0x3d76a6+0x3],_0x28bf0e[_0x3d76a6+0x3]=_0x3eb831,this['_doCryptBlock'](_0x28bf0e,_0x3d76a6,this[_0x159274(0x21e)],_0x59bffd,_0x509709,_0x26b3f5,_0x14681d,_0x4ac696);var _0x3eb831=_0x28bf0e[_0x3d76a6+0x1];_0x28bf0e[_0x3d76a6+0x1]=_0x28bf0e[_0x3d76a6+0x3],_0x28bf0e[_0x3d76a6+0x3]=_0x3eb831;},'_doCryptBlock':function(_0x2944fb,_0x128cd2,_0x32eaee,_0x104597,_0x1a9e58,_0x46aa53,_0x1b0153,_0x59d690){const _0x40116a=_0x15938a;for(var _0x14b05c=this[_0x40116a(0x2c6)],_0x2d4867=_0x2944fb[_0x128cd2]^_0x32eaee[0x0],_0x14f4f9=_0x2944fb[_0x128cd2+0x1]^_0x32eaee[0x1],_0x4e69d3=_0x2944fb[_0x128cd2+0x2]^_0x32eaee[0x2],_0x1166aa=_0x2944fb[_0x128cd2+0x3]^_0x32eaee[0x3],_0x118e52=0x4,_0x4bbac5=0x1;_0x4bbac5<_0x14b05c;_0x4bbac5++){var _0x374b1d=_0x104597[_0x2d4867>>>0x18]^_0x1a9e58[_0x14f4f9>>>0x10&0xff]^_0x46aa53[_0x4e69d3>>>0x8&0xff]^_0x1b0153[_0x1166aa&0xff]^_0x32eaee[_0x118e52++],_0x153189=_0x104597[_0x14f4f9>>>0x18]^_0x1a9e58[_0x4e69d3>>>0x10&0xff]^_0x46aa53[_0x1166aa>>>0x8&0xff]^_0x1b0153[_0x2d4867&0xff]^_0x32eaee[_0x118e52++],_0x4e0dbe=_0x104597[_0x4e69d3>>>0x18]^_0x1a9e58[_0x1166aa>>>0x10&0xff]^_0x46aa53[_0x2d4867>>>0x8&0xff]^_0x1b0153[_0x14f4f9&0xff]^_0x32eaee[_0x118e52++],_0x3dd391=_0x104597[_0x1166aa>>>0x18]^_0x1a9e58[_0x2d4867>>>0x10&0xff]^_0x46aa53[_0x14f4f9>>>0x8&0xff]^_0x1b0153[_0x4e69d3&0xff]^_0x32eaee[_0x118e52++];_0x2d4867=_0x374b1d,_0x14f4f9=_0x153189,_0x4e69d3=_0x4e0dbe,_0x1166aa=_0x3dd391;}var _0x374b1d=(_0x59d690[_0x2d4867>>>0x18]<<0x18|_0x59d690[_0x14f4f9>>>0x10&0xff]<<0x10|_0x59d690[_0x4e69d3>>>0x8&0xff]<<0x8|_0x59d690[_0x1166aa&0xff])^_0x32eaee[_0x118e52++],_0x153189=(_0x59d690[_0x14f4f9>>>0x18]<<0x18|_0x59d690[_0x4e69d3>>>0x10&0xff]<<0x10|_0x59d690[_0x1166aa>>>0x8&0xff]<<0x8|_0x59d690[_0x2d4867&0xff])^_0x32eaee[_0x118e52++],_0x4e0dbe=(_0x59d690[_0x4e69d3>>>0x18]<<0x18|_0x59d690[_0x1166aa>>>0x10&0xff]<<0x10|_0x59d690[_0x2d4867>>>0x8&0xff]<<0x8|_0x59d690[_0x14f4f9&0xff])^_0x32eaee[_0x118e52++],_0x3dd391=(_0x59d690[_0x1166aa>>>0x18]<<0x18|_0x59d690[_0x2d4867>>>0x10&0xff]<<0x10|_0x59d690[_0x14f4f9>>>0x8&0xff]<<0x8|_0x59d690[_0x4e69d3&0xff])^_0x32eaee[_0x118e52++];_0x2944fb[_0x128cd2]=_0x374b1d,_0x2944fb[_0x128cd2+0x1]=_0x153189,_0x2944fb[_0x128cd2+0x2]=_0x4e0dbe,_0x2944fb[_0x128cd2+0x3]=_0x3dd391;},'keySize':0x100/0x20});_0x43b115['AES']=_0xc983fc[_0x15938a(0x139)](_0x1ecfbf);}()),_0x3a0955[_0x51811d(0x16f)];}));}(_0x56ef71)),_0x56ef71['exports'];}var _0x3b5318=_0x3b40a4();const _0x4c0cb6=_0x3955ec(_0x3b5318);var _0xbbfb79=_0x2f5107();const _0x39484f=_0x3955ec(_0xbbfb79);var _0x47df6c={'exports':{}},_0x181fbe=_0x47df6c['exports'],_0x28c26f;function _0x59843c(){const _0x42f06b=_0x5c58d9;return _0x28c26f||(_0x28c26f=0x1,function(_0x151464,_0x27a5ea){(function(_0x589db2,_0x50d99b){const _0x6f75d6=_0x1eb4;_0x151464[_0x6f75d6(0x44f)]=_0x50d99b(_0x27a223());}(_0x181fbe,function(_0x17636c){const _0x344bf4=_0x1eb4;return _0x17636c['enc'][_0x344bf4(0x29c)];}));}(_0x47df6c)),_0x47df6c[_0x42f06b(0x44f)];}var _0x35c72b=_0x59843c();const _0x2a0dc8=_0x3955ec(_0x35c72b);var _0x29dbe1={'exports':{}},_0x20e8ee=_0x29dbe1[_0x5c58d9(0x44f)],_0x3d5629;function _0x3cc20b(){const _0x36b10b=_0x5c58d9;return _0x3d5629||(_0x3d5629=0x1,function(_0x287a1c,_0x539608){(function(_0x519c72,_0xee32a8){const _0x270e64=_0x1eb4;_0x287a1c[_0x270e64(0x44f)]=_0xee32a8(_0x27a223());}(_0x20e8ee,function(_0x34c311){const _0xe6cb2=_0x1eb4;return(function(){const _0x21b7f4=_0x1eb4;if(typeof ArrayBuffer==_0x21b7f4(0x169)){var _0x1105e2=_0x34c311,_0x5acafe=_0x1105e2[_0x21b7f4(0x537)],_0x36d0aa=_0x5acafe[_0x21b7f4(0x4c7)],_0x589fce=_0x36d0aa['init'],_0xebb604=_0x36d0aa[_0x21b7f4(0x242)]=function(_0x7fc72f){const _0x5d191b=_0x21b7f4;if(_0x7fc72f instanceof ArrayBuffer&&(_0x7fc72f=new Uint8Array(_0x7fc72f)),(_0x7fc72f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x7fc72f instanceof Uint8ClampedArray||_0x7fc72f instanceof Int16Array||_0x7fc72f instanceof Uint16Array||_0x7fc72f instanceof Int32Array||_0x7fc72f instanceof Uint32Array||_0x7fc72f instanceof Float32Array||_0x7fc72f instanceof Float64Array)&&(_0x7fc72f=new Uint8Array(_0x7fc72f['buffer'],_0x7fc72f[_0x5d191b(0xa7)],_0x7fc72f[_0x5d191b(0x477)])),_0x7fc72f instanceof Uint8Array){for(var _0x5e5648=_0x7fc72f['byteLength'],_0x300e21=[],_0x27056b=0x0;_0x27056b<_0x5e5648;_0x27056b++)_0x300e21[_0x27056b>>>0x2]|=_0x7fc72f[_0x27056b]<<0x18-_0x27056b%0x4*0x8;_0x589fce[_0x5d191b(0x46c)](this,_0x300e21,_0x5e5648);}else _0x589fce[_0x5d191b(0x384)](this,arguments);};_0xebb604[_0x21b7f4(0x547)]=_0x36d0aa;}}()),_0x34c311[_0xe6cb2(0x537)][_0xe6cb2(0x4c7)];}));}(_0x29dbe1)),_0x29dbe1[_0x36b10b(0x44f)];}var _0x3503e8=_0x3cc20b();const _0x3d10a6=_0x3955ec(_0x3503e8);var _0x2c6724={'exports':{}},_0x3bed0e=_0x2c6724[_0x5c58d9(0x44f)],_0x15b954;function _0x7fb413(){return _0x15b954||(_0x15b954=0x1,function(_0x1a80ec,_0x168f1c){(function(_0x60e073,_0xd3702a,_0x59c163){_0x1a80ec['exports']=_0xd3702a(_0x27a223(),_0xc3d6b0());}(_0x3bed0e,function(_0x5bf28e){const _0x2459d7=_0x1eb4;return _0x5bf28e[_0x2459d7(0x4b7)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5bf28e[_0x2459d7(0x4b7)][_0x2459d7(0x1de)];}));}(_0x2c6724)),_0x2c6724['exports'];}var _0x3a5734=_0x7fb413();const _0x27d7eb=_0x3955ec(_0x3a5734);function _0x15a5e7(_0x19471b,_0x1cb668){const _0x392c15=_0x5c58d9,_0x2af49e=_0x1cb668-_0x19471b[_0x392c15(0x3d9)]%_0x1cb668,_0x2c880d=String[_0x392c15(0x328)](_0x2af49e)[_0x392c15(0x3b6)](_0x2af49e);return _0x19471b+_0x2c880d;}function _0x3bd2ef(_0xc15a5a,_0x43e395){const _0x476141=_0x5c58d9,_0x5f1d6f=_0x3d10a6[_0x476141(0x52a)](0x10),_0x4885b5=_0x15a5e7(_0xc15a5a,0x10),_0x3ae0ac=_0x4c0cb6['encrypt'](_0x2a0dc8[_0x476141(0xd9)](_0x4885b5),_0x39484f['parse'](_0x43e395),{'iv':_0x5f1d6f,'padding':_0x27d7eb});return _0x5f1d6f[_0x476141(0x499)](_0x3ae0ac[_0x476141(0x3b2)])[_0x476141(0x1f2)](_0x39484f);}function _0x179946(){const _0x6ea541=_0x5c58d9,_0x32c944=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x6ea541(0xf7)];if(_0x32c944){const _0x18c465={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x6ea541(0x45d)]};return _0x3bd2ef(JSON['stringify'](_0x18c465),_0x32c944);}}var _0x579672=Object['defineProperty'],_0x511151=Object[_0x5c58d9(0x314)],_0x47243d=(_0x2229ad,_0xda8cfb,_0x2e481e,_0x347971)=>{const _0xcafa54=_0x5c58d9;for(var _0x2899f8=_0x347971>0x1?void 0x0:_0x347971?_0x511151(_0xda8cfb,_0x2e481e):_0xda8cfb,_0x4abd1d=_0x2229ad[_0xcafa54(0x3d9)]-0x1,_0x213026;_0x4abd1d>=0x0;_0x4abd1d--)(_0x213026=_0x2229ad[_0x4abd1d])&&(_0x2899f8=(_0x347971?_0x213026(_0xda8cfb,_0x2e481e,_0x2899f8):_0x213026(_0x2899f8))||_0x2899f8);return _0x347971&&_0x2899f8&&_0x579672(_0xda8cfb,_0x2e481e,_0x2899f8),_0x2899f8;},_0x15fb45=(_0x52c45c,_0x31ee03)=>(_0x42a3cf,_0x60a06c)=>_0x31ee03(_0x42a3cf,_0x60a06c,_0x52c45c);let _0x4e1c38=class{constructor(_0x231933){const _0x244ec2=_0x5c58d9;this[_0x244ec2(0x40a)]=_0x231933,this[_0x244ec2(0x553)]();}['_initRequestHeader'](){const _0x513cc2=_0x5c58d9;this[_0x513cc2(0x40a)][_0x513cc2(0x390)]({'interceptor':(_0x3757f6,_0x396e46)=>{const _0x278a31=_0x513cc2,_0x48dc47=_0x3757f6[_0x278a31(0xd3)],_0x2c85ee=_0x179946();return _0x2c85ee&&_0x48dc47['set'](_0x278a31(0x1d3),_0x2c85ee),_0x396e46(_0x3757f6);}});}};_0x4e1c38=_0x47243d([_0x15fb45(0x0,_0x5d7f39['Inject'](_0x37b388[_0x5c58d9(0x94)]))],_0x4e1c38);var _0x194836=Object['defineProperty'],_0x151094=Object[_0x5c58d9(0x314)],_0x378a29=(_0x3524a9,_0x2f8b3a,_0x144fa4,_0x12b26e)=>{const _0x1c9b7a=_0x5c58d9;for(var _0x200d24=_0x12b26e>0x1?void 0x0:_0x12b26e?_0x151094(_0x2f8b3a,_0x144fa4):_0x2f8b3a,_0xac55a5=_0x3524a9[_0x1c9b7a(0x3d9)]-0x1,_0x39ff4d;_0xac55a5>=0x0;_0xac55a5--)(_0x39ff4d=_0x3524a9[_0xac55a5])&&(_0x200d24=(_0x12b26e?_0x39ff4d(_0x2f8b3a,_0x144fa4,_0x200d24):_0x39ff4d(_0x200d24))||_0x200d24);return _0x12b26e&&_0x200d24&&_0x194836(_0x2f8b3a,_0x144fa4,_0x200d24),_0x200d24;},_0x9cae01=(_0x350b20,_0x2391ab)=>(_0x4787ef,_0x4ddc70)=>_0x2391ab(_0x4787ef,_0x4ddc70,_0x350b20);const _0x521e28=['image/png','image/jpeg',_0x5c58d9(0x2c4),_0x5c58d9(0x1ec),_0x5c58d9(0x3ac)],_0x317ee4=0x5*0x400*0x400,_0x12e940=_0x5c58d9(0x28a),_0x357368='/universer-api/stream/file/upload',_0x45d080=_0x5c58d9(0x18c),_0x40ff24=_0x5c58d9(0x119);_0xe0b603[_0x5c58d9(0x410)]=class{constructor(_0x355c53,_0x496d8c,_0x36257b){const _0x1f1ed3=_0x5c58d9;_0x171b2f(this,_0x1f1ed3(0xf1),0x0),_0x171b2f(this,_0x1f1ed3(0x23f),new _0x48eeba[(_0x1f1ed3(0x1d8))]()),_0x171b2f(this,_0x1f1ed3(0x92),this['_change$']),_0x171b2f(this,_0x1f1ed3(0x1fa),new Map()),(this[_0x1f1ed3(0x40a)]=_0x355c53,this[_0x1f1ed3(0x7a)]=_0x496d8c,this[_0x1f1ed3(0x224)]=_0x36257b);}[_0x5c58d9(0x37e)](_0xfd874a){const _0x1622f5=_0x5c58d9;this[_0x1622f5(0xf1)]=_0xfd874a,this[_0x1622f5(0x23f)][_0x1622f5(0x4fb)](_0xfd874a);}[_0x5c58d9(0xcb)](_0x2037cc,_0x197542){const _0x4a80dc=_0x5c58d9;if(_0x197542===_0x1435ab[_0x4a80dc(0x31e)][_0x4a80dc(0x40f)]){const _0x298e75=new Image();return _0x298e75[_0x4a80dc(0x114)]=_0x2037cc,_0x298e75;}return this[_0x4a80dc(0x1fa)][_0x4a80dc(0x191)](_0x2037cc);}[_0x5c58d9(0x258)](_0x892c78,_0x4340a8,_0xec8d1f){const _0x108117=_0x5c58d9;_0x4340a8===_0x1435ab[_0x108117(0x31e)][_0x108117(0x40f)]||_0xec8d1f==null||this['_imageSourceCache'][_0x108117(0x335)](_0x892c78,_0xec8d1f);}async[_0x5c58d9(0x2e6)](_0x47253e){const _0x291ff3=_0x5c58d9;try{const _0x4c3a46=this[_0x291ff3(0xa9)](this[_0x291ff3(0x423)](),''+_0x47253e),_0x552903=(await this[_0x291ff3(0x40a)]['get'](_0x4c3a46))[_0x291ff3(0x9b)];if(_0x552903[_0x291ff3(0x405)]&&_0x552903['error'][_0x291ff3(0x23e)]===_0x2cf3bb['OK']){const _0x19f61b=new URL(_0x552903[_0x291ff3(0x289)],this['_getDownloadEndpointURL']())[_0x291ff3(0x1f2)]();return Promise[_0x291ff3(0x162)](_0x19f61b);}return Promise[_0x291ff3(0x233)](_0x552903['error']);}catch(_0x1fd0ec){return Promise[_0x291ff3(0x233)](_0x1fd0ec);}}async['saveImage'](_0xfbd098){const _0x4c8ddc=_0x5c58d9;let _0x688957='';if(!_0x521e28[_0x4c8ddc(0x44b)](_0xfbd098[_0x4c8ddc(0x475)]))return this['_decreaseWaiting'](),Promise[_0x4c8ddc(0x233)](new Error(_0x1435ab[_0x4c8ddc(0x523)][_0x4c8ddc(0x432)]));if(_0xfbd098[_0x4c8ddc(0x50c)]>_0x317ee4)return this[_0x4c8ddc(0x38f)](),Promise[_0x4c8ddc(0x233)](new Error(_0x1435ab['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x2f00ac=new FormData();_0x2f00ac['append'](_0x4c8ddc(0x2f7),_0xfbd098);const _0x3003be=this[_0x4c8ddc(0x224)][_0x4c8ddc(0x238)](),_0x6f88be=_0x3003be==null?void 0x0:_0x3003be[_0x4c8ddc(0x506)]();if(!_0x6f88be)throw new Error('unitId\x20is\x20not\x20found');const _0x258b41=this[_0x4c8ddc(0x9d)]()+_0x4c8ddc(0x217)+_0xfbd098[_0x4c8ddc(0x50c)][_0x4c8ddc(0x1f2)]()+'&source='+_0x5cd602[_0x4c8ddc(0x3e1)]+'&assign='+encodeURIComponent(_0x6f88be),_0x35b346=await(await fetch(_0x258b41,{'method':_0x4c8ddc(0x1c1),'body':_0x2f00ac}))[_0x4c8ddc(0x2c7)]();if(typeof _0x35b346[_0x4c8ddc(0x82)]!=_0x4c8ddc(0x369))return this[_0x4c8ddc(0x38f)](),Promise[_0x4c8ddc(0x233)](new Error(_0x1435ab[_0x4c8ddc(0x523)][_0x4c8ddc(0xab)]));_0x688957=_0x35b346[_0x4c8ddc(0x82)];}catch{return this[_0x4c8ddc(0x38f)](),Promise[_0x4c8ddc(0x233)](new Error(_0x1435ab[_0x4c8ddc(0x523)]['ERROR_IMAGE']));}return new Promise((_0xf2ea35,_0x3ade05)=>{const _0xc43399=_0x4c8ddc,_0x49fa34=new FileReader();_0x49fa34[_0xc43399(0x531)](_0xfbd098),_0x49fa34[_0xc43399(0x464)]=_0x2fc669=>{const _0x231d57=_0xc43399;var _0x201a3b;const _0x174323=(_0x201a3b=_0x2fc669[_0x231d57(0x3ed)])==null?void 0x0:_0x201a3b[_0x231d57(0x482)];if(_0x174323==null){this[_0x231d57(0x38f)](),_0x3ade05(new Error(_0x1435ab[_0x231d57(0x523)]['ERROR_IMAGE']));return;}const _0xace133=_0x5d7f39[_0x231d57(0x441)][_0x231d57(0x4b4)](0x6);_0xf2ea35({'imageId':_0xace133,'imageSourceType':_0x1435ab['ImageSourceType']['UUID'],'source':_0x688957,'base64Cache':_0x174323,'status':_0x1435ab[_0x231d57(0x523)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x5c58d9(0x9d)](){const _0x5038aa=_0x5c58d9;var _0x312b6f,_0x573954;const _0x56e0ab=this[_0x5038aa(0x7a)][_0x5038aa(0x1a0)](_0x12e940),_0x41a6c3=this[_0x5038aa(0x7a)]['getConfig'](_0x14626f);return(_0x573954=(_0x312b6f=_0x41a6c3==null?void 0x0:_0x41a6c3[_0x5038aa(0x12b)])!=null?_0x312b6f:_0x56e0ab)!=null?_0x573954:_0x357368;}['_getSignURL'](){const _0x2a87be=_0x5c58d9;var _0x26d035,_0x52b648;const _0x1aa3c1=this['_configService'][_0x2a87be(0x1a0)](_0x45d080),_0x1ea90e=this[_0x2a87be(0x7a)][_0x2a87be(0x1a0)](_0x14626f);return(_0x52b648=(_0x26d035=_0x1ea90e==null?void 0x0:_0x1ea90e[_0x2a87be(0x517)])!=null?_0x26d035:_0x1aa3c1)!=null?_0x52b648:_0x40ff24;}['_getDownloadEndpointURL'](){const _0x13f22f=_0x5c58d9;var _0x43f0d2;const _0x531164=this[_0x13f22f(0x7a)][_0x13f22f(0x1a0)](_0x14626f);return(_0x43f0d2=_0x531164==null?void 0x0:_0x531164[_0x13f22f(0x52d)])!=null?_0x43f0d2:location[_0x13f22f(0x4d6)];}[_0x5c58d9(0xa9)](_0x5c6866,_0xff8e52){const _0x528b05=_0x5c58d9;return _0x5c6866[_0x528b05(0x3be)](_0x528b05(0x174),_0xff8e52);}[_0x5c58d9(0x38f)](){const _0x2c6870=_0x5c58d9;this['_waitCount']-=0x1,this['_change$'][_0x2c6870(0x4fb)](this[_0x2c6870(0xf1)]);}},_0xe0b603[_0x5c58d9(0x410)]=_0x378a29([_0x9cae01(0x0,_0x5d7f39['Inject'](_0x37b388['HTTPService'])),_0x9cae01(0x1,_0x5d7f39['IConfigService']),_0x9cae01(0x2,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39['IUniverInstanceService']))],_0xe0b603[_0x5c58d9(0x410)]);var _0x3b5275=Object[_0x5c58d9(0xf4)],_0x783e55=Object[_0x5c58d9(0x314)],_0x58b35e=(_0x2fe424,_0xa4a49c,_0x380c80,_0x308626)=>{const _0x51966d=_0x5c58d9;for(var _0x2a4760=_0x308626>0x1?void 0x0:_0x308626?_0x783e55(_0xa4a49c,_0x380c80):_0xa4a49c,_0x28ed74=_0x2fe424[_0x51966d(0x3d9)]-0x1,_0x4150aa;_0x28ed74>=0x0;_0x28ed74--)(_0x4150aa=_0x2fe424[_0x28ed74])&&(_0x2a4760=(_0x308626?_0x4150aa(_0xa4a49c,_0x380c80,_0x2a4760):_0x4150aa(_0x2a4760))||_0x2a4760);return _0x308626&&_0x2a4760&&_0x3b5275(_0xa4a49c,_0x380c80,_0x2a4760),_0x2a4760;},_0x5cbbe0=(_0x3e8745,_0xd5a26a)=>(_0x2f7c54,_0x18b308)=>_0xd5a26a(_0x2f7c54,_0x18b308,_0x3e8745);const _0x5aaaea='/universer-api/authz';_0xe0b603['MentionIoHttpService']=class{constructor(_0x37b4bf,_0x203afc){const _0x3ff3a3=_0x5c58d9;this[_0x3ff3a3(0x7a)]=_0x37b4bf,this[_0x3ff3a3(0x45e)]=_0x203afc;}[_0x5c58d9(0x29f)](){const _0x7db86=_0x5c58d9;var _0x301645,_0x13067f;const _0x350734=this[_0x7db86(0x7a)][_0x7db86(0x1a0)](_0x4b5210),_0x59b882=this[_0x7db86(0x7a)]['getConfig'](_0x14626f);return(_0x13067f=(_0x301645=_0x59b882==null?void 0x0:_0x59b882[_0x7db86(0x291)])!=null?_0x301645:_0x350734)!=null?_0x13067f:_0x5aaaea;}async['list'](_0x23b2be){const _0x50d48e=_0x5c58d9,_0xf483fc=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x50d48e(0x45e)]['get'](_0xf483fc,{'params':{'objectID':_0x23b2be[_0x50d48e(0x113)],'unitID':_0x23b2be['unitId']}}))[_0x50d48e(0x9b)][_0x50d48e(0x460)][_0x50d48e(0x491)](_0x3d66c2=>({'objectId':_0x3d66c2['id'],'name':_0x3d66c2[_0x50d48e(0x41d)]['name'],'metadata':{'icon':_0x3d66c2[_0x50d48e(0x41d)][_0x50d48e(0x206)]},'label':_0x3d66c2[_0x50d48e(0x41d)][_0x50d48e(0x322)],'objectType':_0x5d7f39[_0x50d48e(0x4fc)][_0x50d48e(0x275)]})),'metadata':{},'type':_0x5d7f39[_0x50d48e(0x4fc)][_0x50d48e(0x275)]}]};}},_0xe0b603['MentionIoHttpService']=_0x58b35e([_0x5cbbe0(0x0,_0x5d7f39['Inject'](_0x5d7f39[_0x5c58d9(0x436)])),_0x5cbbe0(0x1,_0x5d7f39[_0x5c58d9(0x3a2)](_0x37b388[_0x5c58d9(0x94)]))],_0xe0b603[_0x5c58d9(0x2db)]);var _0x57af36=Object[_0x5c58d9(0xf4)],_0xa953bd=Object[_0x5c58d9(0x314)],_0x24fa4d=(_0x171757,_0x3e46ca,_0x442883,_0x5210ba)=>{const _0x57a7f4=_0x5c58d9;for(var _0x41aa92=_0x5210ba>0x1?void 0x0:_0x5210ba?_0xa953bd(_0x3e46ca,_0x442883):_0x3e46ca,_0x3d5e7d=_0x171757[_0x57a7f4(0x3d9)]-0x1,_0x26d81e;_0x3d5e7d>=0x0;_0x3d5e7d--)(_0x26d81e=_0x171757[_0x3d5e7d])&&(_0x41aa92=(_0x5210ba?_0x26d81e(_0x3e46ca,_0x442883,_0x41aa92):_0x26d81e(_0x41aa92))||_0x41aa92);return _0x5210ba&&_0x41aa92&&_0x57af36(_0x3e46ca,_0x442883,_0x41aa92),_0x41aa92;},_0x5e94bd=(_0x8d2fa1,_0x4cb121)=>(_0x133e8c,_0x378bb9)=>_0x4cb121(_0x133e8c,_0x378bb9,_0x8d2fa1);let _0x5644e7=class extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(_0x4d1e6b,_0x1e7783,_0x7c1f0d,_0x514450,_0x56b3c6){const _0x377ead=_0x5c58d9;super(),this[_0x377ead(0x1dc)]=_0x4d1e6b,this[_0x377ead(0x224)]=_0x1e7783,this[_0x377ead(0x422)]=_0x7c1f0d,this[_0x377ead(0x205)]=_0x514450,this[_0x377ead(0x13c)]=_0x56b3c6,this['_initUnitPermissionChange'](),this[_0x377ead(0xa2)]();}['_initCloseConn'](){const _0x18a89f=_0x5c58d9,_0x3cb630=async _0x388837=>{const _0x3c221e=_0x1eb4;(await this['_collaborationSessionService'][_0x3c221e(0xdf)](_0x388837))[_0x3c221e(0x8b)][_0x3c221e(0x3b0)](_0x187edc['filter'](_0x3bb181=>_0x3bb181[_0x3c221e(0x3f3)]===_0x250718[_0x3c221e(0x4cb)]['SHOULD_CLOSE_CONN']),_0x187edc['takeUntil'](this[_0x3c221e(0x20b)]))[_0x3c221e(0x1fd)](_0x223cc7=>{const _0x5e65f6=_0x3c221e,_0x18052d=_0x223cc7,{reason:_0x2e2cb2}=_0x18052d['data'];this['_injector']['get'](_0x54c9ff[_0x5e65f6(0x302)])[_0x5e65f6(0x4e2)]({'type':_0x48ea23[_0x5e65f6(0x496)][_0x5e65f6(0xe0)],'content':this[_0x5e65f6(0x13c)]['t'](_0x5e65f6(0x558))+'('+_0x2e2cb2+')'}),this[_0x5e65f6(0x422)][_0x5e65f6(0x17f)](new _0x2dcdfa[(_0x5e65f6(0x349))](_0x388837)['id'],!0x1),this[_0x5e65f6(0x205)]['closeSession'](_0x388837);});};_0x48eeba[_0x18a89f(0x1fb)](this[_0x18a89f(0x224)]['getTypeOfUnitAdded$'](_0x5d7f39[_0x18a89f(0x2cd)][_0x18a89f(0x3f0)]),this[_0x18a89f(0x224)]['getTypeOfUnitAdded$'](_0x5d7f39[_0x18a89f(0x2cd)][_0x18a89f(0x3c8)]))[_0x18a89f(0x3b0)](_0x187edc[_0x18a89f(0x491)](_0x18599c=>_0x18599c[_0x18a89f(0x506)]()),_0x187edc[_0x18a89f(0x116)](_0x15988e=>!_0x5d7f39[_0x18a89f(0x1bb)](_0x15988e)),_0x187edc[_0x18a89f(0x234)](this[_0x18a89f(0x20b)]))[_0x18a89f(0x1fd)](_0x312a83=>{_0x3cb630(_0x312a83);});}[_0x5c58d9(0x48f)](){const _0x1b4035=_0x5c58d9,_0x19dc2b=async _0x13ad98=>{const _0x84156=_0x1eb4;(await this['_collaborationSessionService'][_0x84156(0xdf)](_0x13ad98))[_0x84156(0x8b)]['pipe'](_0x187edc[_0x84156(0x116)](_0x37ed51=>_0x37ed51[_0x84156(0x3f3)]===_0x250718[_0x84156(0x4cb)]['UPDATE_PERMISSION_OBJ']),_0x187edc[_0x84156(0x234)](this[_0x84156(0x20b)]))[_0x84156(0x1fd)](_0x2f8c77=>{const _0x5c6d60=_0x84156,_0x582594=_0x2f8c77,{objectId:_0xd2abd9}=_0x582594[_0x5c6d60(0x387)],_0x7021c6=this[_0x5c6d60(0x1dc)][_0x5c6d60(0x191)](_0x57d8cb[_0x5c6d60(0x31c)]);_0xd2abd9===_0x13ad98?_0x7021c6['initWorkbookPermissionChange'](_0x13ad98):_0x7021c6['refreshPermission'](_0x13ad98,_0xd2abd9);});};_0x48eeba[_0x1b4035(0x1fb)](this['_univerInstanceService'][_0x1b4035(0x200)](_0x5d7f39[_0x1b4035(0x2cd)][_0x1b4035(0x3f0)]),this[_0x1b4035(0x224)][_0x1b4035(0x200)](_0x5d7f39['UniverInstanceType'][_0x1b4035(0x3c8)]))[_0x1b4035(0x3b0)](_0x187edc[_0x1b4035(0x491)](_0x14a77a=>_0x14a77a[_0x1b4035(0x506)]()),_0x187edc[_0x1b4035(0x116)](_0x4a0ab1=>!_0x5d7f39[_0x1b4035(0x1bb)](_0x4a0ab1)),_0x187edc[_0x1b4035(0x234)](this['dispose$']))[_0x1b4035(0x1fd)](_0x2f35cb=>{_0x19dc2b(_0x2f35cb);});}};_0x5644e7=_0x24fa4d([_0x5e94bd(0x0,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x5e94bd(0x1,_0x5d7f39[_0x5c58d9(0x54a)]),_0x5e94bd(0x2,_0x5d7f39[_0x5c58d9(0x18d)]),_0x5e94bd(0x3,_0x5d7f39[_0x5c58d9(0x3a2)](_0xe0b603['CollaborationSessionService'])),_0x5e94bd(0x4,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x1cb)]))],_0x5644e7);var _0x26f965=Object[_0x5c58d9(0xf4)],_0x3f1f56=Object[_0x5c58d9(0x314)],_0x49cb9c=(_0xd1bdb5,_0x3a95df,_0x3e95eb,_0x2b7345)=>{const _0x57b3a5=_0x5c58d9;for(var _0x1b3440=_0x2b7345>0x1?void 0x0:_0x2b7345?_0x3f1f56(_0x3a95df,_0x3e95eb):_0x3a95df,_0x562497=_0xd1bdb5[_0x57b3a5(0x3d9)]-0x1,_0x544798;_0x562497>=0x0;_0x562497--)(_0x544798=_0xd1bdb5[_0x562497])&&(_0x1b3440=(_0x2b7345?_0x544798(_0x3a95df,_0x3e95eb,_0x1b3440):_0x544798(_0x1b3440))||_0x1b3440);return _0x2b7345&&_0x1b3440&&_0x26f965(_0x3a95df,_0x3e95eb,_0x1b3440),_0x1b3440;},_0x2f8771=(_0x4d5c6c,_0x31e9e1)=>(_0x58c034,_0x18a70e)=>_0x31e9e1(_0x58c034,_0x18a70e,_0x4d5c6c);_0xe0b603['SnapshotServerOverHTTPService']=class{constructor(_0x81d515,_0x93d529){const _0x25ef66=_0x5c58d9;this[_0x25ef66(0x7a)]=_0x81d515,this[_0x25ef66(0x40a)]=_0x93d529;}async[_0x5c58d9(0x38a)](_0x1a5b4c,_0x1c94e4){const _0x17ef0c=_0x5c58d9;var _0x142bac;const {unitID:_0x373b29,type:_0xbfa281,revision:_0x1918db=0x0}=_0x1c94e4,_0x154911=this[_0x17ef0c(0x297)]()+'/'+_0xbfa281+'/unit/'+_0x373b29+'/rev/'+_0x1918db,_0x3967fb=(await this[_0x17ef0c(0x40a)][_0x17ef0c(0x191)](_0x154911))[_0x17ef0c(0x9b)],_0x5ca039=(_0x142bac=_0x3967fb['snapshot'])==null?void 0x0:_0x142bac['workbook'];if(_0x5ca039){const _0x2f3292=_0x5ca039==null?void 0x0:_0x5ca039['originalMeta'],_0x2ce80e=_0x250718['textEncoder'][_0x17ef0c(0x4e5)](_0x250718[_0x17ef0c(0x25b)](_0x2f3292));_0x5ca039[_0x17ef0c(0x317)]=_0x2ce80e,Object[_0x17ef0c(0x98)](_0x5ca039['sheets'])['forEach'](([,_0x1d5d2b])=>{const _0x661043=_0x17ef0c,_0x19016c=_0x1d5d2b[_0x661043(0x317)],_0x1aecfd=_0x250718[_0x661043(0x52b)][_0x661043(0x4e5)](_0x250718[_0x661043(0x25b)](_0x19016c));_0x1d5d2b[_0x661043(0x317)]=_0x1aecfd;});}return _0x3967fb;}async['getSheetBlock'](_0x993ff,_0x2fac65){const _0x36a68f=_0x5c58d9,{unitID:_0x9b3cfe,type:_0x1aeef8,blockID:_0x1dddbf}=_0x2fac65,_0x35e82f=this['_getAPIPrefix']()+'/'+_0x1aeef8+_0x36a68f(0x514)+_0x9b3cfe+'/block/'+_0x1dddbf;return(await this[_0x36a68f(0x40a)][_0x36a68f(0x191)](_0x35e82f))[_0x36a68f(0x9b)];}async['getDeserializedSheetBlock'](_0x3d9899,_0x4c3722){const _0x5e9d80=_0x5c58d9,{unitID:_0x1fcb6f,type:_0xb1d28b,blockID:_0x3cb8a7}=_0x4c3722,_0x1cef2b=this['_getAPIPrefix']()+_0x5e9d80(0x103)+_0xb1d28b+_0x5e9d80(0x514)+_0x1fcb6f+'/block/'+_0x3cb8a7;return(await this['_httpService'][_0x5e9d80(0x191)](_0x1cef2b))[_0x5e9d80(0x9b)];}async['fetchMissingChangesets'](_0x79b841,_0x1d31fa){const _0x425a24=_0x5c58d9,{unitID:_0x197943,type:_0x3653a7,from:_0x511af3,to:_0x37fd7e}=_0x1d31fa,_0xc96d53=this[_0x425a24(0xe3)]()+'/'+_0x3653a7+'/unit/'+_0x197943+'/fetchmissing?from='+_0x511af3+_0x425a24(0x10c)+_0x37fd7e;return(await this['_httpService'][_0x425a24(0x191)](_0xc96d53))[_0x425a24(0x9b)];}[_0x5c58d9(0x297)](){const _0x4b4784=_0x5c58d9;var _0x2b7f31;return(_0x2b7f31=this[_0x4b4784(0x7a)][_0x4b4784(0x1a0)](_0x40521e))!=null?_0x2b7f31:this[_0x4b4784(0xe3)]();}[_0x5c58d9(0xe3)](){const _0x4707af=_0x5c58d9;var _0x163808,_0x3113b0;const _0x3120e3=this[_0x4707af(0x7a)][_0x4707af(0x1a0)](_0x46c5b5),_0x51a6b3=this[_0x4707af(0x7a)][_0x4707af(0x1a0)](_0x14626f);return(_0x3113b0=(_0x163808=_0x51a6b3==null?void 0x0:_0x51a6b3[_0x4707af(0x47d)])!=null?_0x163808:_0x3120e3)!=null?_0x3113b0:_0x13bce5;}async[_0x5c58d9(0x17d)](_0x483491,_0x3daa71){const _0xab1ed7=_0x5c58d9,_0x2ea6eb=_0xab1ed7(0x427)+_0x3daa71[_0xab1ed7(0x475)]+_0xab1ed7(0x514)+_0x3daa71['unitID']+_0xab1ed7(0x197);return(await this['_httpService'][_0xab1ed7(0x191)](_0x2ea6eb,{'params':{'resourceId':JSON['stringify'](_0x3daa71[_0xab1ed7(0x2b4)])}}))['body'];}[_0x5c58d9(0x38d)](){const _0x2fb9fa=_0x5c58d9;throw new Error(_0x2fb9fa(0x153));}['saveSheetBlock'](){const _0x5b91c2=_0x5c58d9;throw new Error(_0x5b91c2(0x153));}[_0x5c58d9(0x4a2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){const _0x16e7be=_0x5c58d9;throw new Error(_0x16e7be(0x153));}[_0x5c58d9(0x208)](){const _0x500013=_0x5c58d9;throw new Error(_0x500013(0x153));}},_0xe0b603[_0x5c58d9(0x1a5)]=_0x49cb9c([_0x2f8771(0x0,_0x5d7f39['IConfigService']),_0x2f8771(0x1,_0x5d7f39['Inject'](_0x37b388[_0x5c58d9(0x94)]))],_0xe0b603[_0x5c58d9(0x1a5)]);var _0x4a2dae=Object['defineProperty'],_0x8735c7=Object[_0x5c58d9(0x314)],_0x40b551=(_0x2b5677,_0x431e64,_0x22bb9f,_0x445335)=>{const _0x3d9d1a=_0x5c58d9;for(var _0x3be610=_0x445335>0x1?void 0x0:_0x445335?_0x8735c7(_0x431e64,_0x22bb9f):_0x431e64,_0x409887=_0x2b5677[_0x3d9d1a(0x3d9)]-0x1,_0x161185;_0x409887>=0x0;_0x409887--)(_0x161185=_0x2b5677[_0x409887])&&(_0x3be610=(_0x445335?_0x161185(_0x431e64,_0x22bb9f,_0x3be610):_0x161185(_0x3be610))||_0x3be610);return _0x445335&&_0x3be610&&_0x4a2dae(_0x431e64,_0x22bb9f,_0x3be610),_0x3be610;},_0x509819=(_0x9d8de1,_0x3cd24)=>(_0x3690d9,_0x4261f4)=>_0x3cd24(_0x3690d9,_0x4261f4,_0x9d8de1);let _0x4b3e66=class extends _0x5d7f39[_0x5c58d9(0x2e9)]{constructor(_0x8b50cb,_0x5676c1,_0x3a7441,_0x1d471d,_0x4d0f43){const _0x5e6a76=_0x5c58d9;super(_0x8b50cb,_0x5676c1,_0x3a7441),this[_0x5e6a76(0x2a7)]=_0x1d471d,this[_0x5e6a76(0x4a8)]=_0x4d0f43;}[_0x5c58d9(0x30f)](_0x78077e,_0x3c3686){const _0xbb1e02=_0x5c58d9,_0x1e95f7=this['_getUndoStack'](_0x78077e);if(_0x1e95f7)try{const _0x21b245=this[_0xbb1e02(0x308)](_0x1e95f7,_0x3c3686);this[_0xbb1e02(0x511)](_0x78077e,_0x21b245);}catch(_0x4d4446){this[_0xbb1e02(0x4a8)][_0xbb1e02(0x405)]('[CollaborationUndoRedoService]',_0x4d4446),this[_0xbb1e02(0x10d)](_0x78077e);}const _0x4914ca=this[_0xbb1e02(0x1f7)](_0x78077e);if(_0x4914ca)try{const _0x212921=this[_0xbb1e02(0x308)](_0x4914ca,_0x3c3686);this['_substituteRedoStack'](_0x78077e,_0x212921);}catch(_0x3ad27c){this[_0xbb1e02(0x4a8)][_0xbb1e02(0x405)](_0x3ad27c),this[_0xbb1e02(0x35f)](_0x78077e);}}['_clearUndo'](_0x274581){const _0x3266a9=_0x5c58d9,_0x58a2ce=this[_0x3266a9(0x104)](_0x274581);_0x58a2ce&&(_0x58a2ce[_0x3266a9(0x3d9)]=0x0,this[_0x3266a9(0x2b8)]());}[_0x5c58d9(0x35f)](_0x2ff3e2){const _0x300b7d=_0x5c58d9,_0x125516=this[_0x300b7d(0x1f7)](_0x2ff3e2);_0x125516&&(_0x125516[_0x300b7d(0x3d9)]=0x0,this[_0x300b7d(0x2b8)]());}[_0x5c58d9(0x511)](_0x5a11fd,_0xa35cad){const _0x2a1bb1=_0x5c58d9;this[_0x2a1bb1(0x4d2)]['set'](_0x5a11fd,_0xa35cad),this[_0x2a1bb1(0x2b8)]();}[_0x5c58d9(0x321)](_0x2c4201,_0xb24542){const _0xb5c3b2=_0x5c58d9;this[_0xb5c3b2(0x280)][_0xb5c3b2(0x335)](_0x2c4201,_0xb24542),this[_0xb5c3b2(0x2b8)]();}[_0x5c58d9(0x308)](_0xe895fb,_0x47fcdb){const _0x361edf=_0x5c58d9,_0x253f8d=[];let _0x27eae9=_0x47fcdb,_0x5aa2b2=_0x47fcdb;for(let _0x808684=_0xe895fb[_0x361edf(0x3d9)]-0x1;_0x808684>=0x0;_0x808684--){const {unitID:_0x5eff6e,undoMutations:_0x38d354,redoMutations:_0x561c63}=_0xe895fb[_0x808684],_0x41dce7=this[_0x361edf(0x2a7)][_0x361edf(0x16c)](_0x27eae9,_0x38d354),_0x432af4=this[_0x361edf(0x2a7)][_0x361edf(0x16c)](_0x5aa2b2,_0x561c63);if(_0x250718['isTransformMutationsWithChangesetFailure'](_0x41dce7)||_0x250718[_0x361edf(0x450)](_0x432af4)){this[_0x361edf(0x4a8)][_0x361edf(0x405)](_0x361edf(0x41e),_0x361edf(0xc0),_0x41dce7,_0x432af4);break;}_0x27eae9=_0x41dce7[_0x361edf(0x46b)],_0x5aa2b2=_0x432af4[_0x361edf(0x46b)],_0x253f8d['push']({'unitID':_0x5eff6e,'undoMutations':_0x41dce7[_0x361edf(0x434)],'redoMutations':_0x432af4[_0x361edf(0x434)]});}return _0x253f8d[_0x361edf(0x1b6)]();}};_0x4b3e66=_0x40b551([_0x509819(0x0,_0x5d7f39[_0x5c58d9(0x54a)]),_0x509819(0x1,_0x5d7f39[_0x5c58d9(0x42d)]),_0x509819(0x2,_0x5d7f39['IContextService']),_0x509819(0x3,_0x250718[_0x5c58d9(0x265)]),_0x509819(0x4,_0x5d7f39[_0x5c58d9(0x221)])],_0x4b3e66);class _0x5159e4 extends _0x5d7f39[_0x5c58d9(0x167)]{constructor(){const _0x3ba803=_0x5c58d9;super(),_0x171b2f(this,'urlChange$'),this[_0x3ba803(0xd0)]=_0x48eeba[_0x3ba803(0x2ac)](window,'popstate')[_0x3ba803(0x3b0)](_0x48eeba[_0x3ba803(0x234)](this[_0x3ba803(0x20b)]),_0x48eeba[_0x3ba803(0x255)](0x1),_0x48eeba[_0x3ba803(0x305)](void 0x0));}[_0x5c58d9(0x281)](_0x573fa3,_0x5881bb,_0x1cbba7=!0x1){const _0x1add05=_0x5c58d9,_0x21aa75=new URL(window[_0x1add05(0x271)]['href']);_0x21aa75[_0x1add05(0x15c)][_0x1add05(0x335)](_0x573fa3,_0x5881bb),_0x1cbba7?window[_0x1add05(0x4ad)][_0x1add05(0x43d)]('','',_0x21aa75[_0x1add05(0x1f2)]()):window[_0x1add05(0x4ad)][_0x1add05(0x8e)]('','',_0x21aa75[_0x1add05(0x1f2)]());}[_0x5c58d9(0x348)](_0x3f1885,_0x23b362=!0x1){const _0x5f57dc=_0x5c58d9,_0x52f5b2=new URL(window['location'][_0x5f57dc(0x1ab)]);_0x52f5b2[_0x5f57dc(0x15c)][_0x5f57dc(0x183)](_0x3f1885),_0x23b362?window[_0x5f57dc(0x4ad)][_0x5f57dc(0x43d)]('','',_0x52f5b2[_0x5f57dc(0x1f2)]()):window['history'][_0x5f57dc(0x8e)]('','',_0x52f5b2[_0x5f57dc(0x1f2)]());}[_0x5c58d9(0x11f)](_0x4e1ba0){const _0x440232=_0x5c58d9;var _0x46dd27;return(_0x46dd27=new URL(window['location']['href'])[_0x440232(0x15c)][_0x440232(0x191)](_0x4e1ba0))!=null?_0x46dd27:void 0x0;}}var _0x33c17d=Object['defineProperty'],_0xa05bf=Object['getOwnPropertyDescriptor'],_0x1d9cde=(_0x4c8d27,_0x2e102d,_0x167219)=>_0x2e102d in _0x4c8d27?_0x33c17d(_0x4c8d27,_0x2e102d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x167219}):_0x4c8d27[_0x2e102d]=_0x167219,_0x6c19be=(_0x3225ca,_0x4bde37,_0x4f1385,_0x46146c)=>{for(var _0x241cfa=_0x46146c>0x1?void 0x0:_0x46146c?_0xa05bf(_0x4bde37,_0x4f1385):_0x4bde37,_0x17c4b6=_0x3225ca['length']-0x1,_0xd113ca;_0x17c4b6>=0x0;_0x17c4b6--)(_0xd113ca=_0x3225ca[_0x17c4b6])&&(_0x241cfa=(_0x46146c?_0xd113ca(_0x4bde37,_0x4f1385,_0x241cfa):_0xd113ca(_0x241cfa))||_0x241cfa);return _0x46146c&&_0x241cfa&&_0x33c17d(_0x4bde37,_0x4f1385,_0x241cfa),_0x241cfa;},_0x47941f=(_0x3339a5,_0x2e1904)=>(_0x1739e8,_0x8232d0)=>_0x2e1904(_0x1739e8,_0x8232d0,_0x3339a5),_0x25b055=(_0x394e2f,_0x2bc681,_0x4f365f)=>_0x1d9cde(_0x394e2f,_0x2bc681+'',_0x4f365f);const _0x9cdc85=_0x5c58d9(0x33f);_0xe0b603[_0x5c58d9(0x125)]=class extends _0x5d7f39[_0x5c58d9(0x1b4)]{constructor(_0x199707=_0x4984d6,_0x2ceeae,_0x48fe7b,_0x3b9b7c,_0xf2b1d8){const _0x4ba690=_0x5c58d9;super(),this[_0x4ba690(0x458)]=_0x199707,this[_0x4ba690(0x4a8)]=_0x2ceeae,this[_0x4ba690(0x50a)]=_0x48fe7b,this[_0x4ba690(0x1dc)]=_0x3b9b7c,this[_0x4ba690(0x7a)]=_0xf2b1d8;const {..._0x122d13}=this['_config'];this['_configService'][_0x4ba690(0x9c)](_0x14626f,_0x122d13);}[_0x5c58d9(0x3c5)](){const _0x4a964a=_0x5c58d9;this[_0x4a964a(0x44a)](),this['_initDependencies']();}[_0x5c58d9(0x249)](){const _0x21d7ce=_0x5c58d9;_0x5d7f39[_0x21d7ce(0x309)](this['_injector'],[[_0x1f01f4],[_0x5c01b7]]);}[_0x5c58d9(0x44e)](){const _0x56e810=_0x5c58d9;this[_0x56e810(0x201)]();}[_0x5c58d9(0x44a)](){const _0x495972=_0x5c58d9;var _0x4525d1,_0x3c93ee,_0x475064,_0x249c4c;this[_0x495972(0x1dc)]['has'](_0x5d7f39[_0x495972(0x2a1)])&&this[_0x495972(0x4a8)][_0x495972(0x405)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0xf8809d=[[_0x5d7f39[_0x495972(0x2a1)],{'useClass':_0x4b3e66}],[_0xe0b603['CollaborationSessionService']],[_0x3f8816],[_0x171c66,{'useClass':_0x5159e4}],[_0xe0b603[_0x495972(0x215)]],[_0xe0b603['LocalCacheService']],[_0x37b388[_0x495972(0x219)]],[_0x396264],[_0x2bdd6b],[_0x5b0ed5],[_0x4844c5],[_0x3cb27c],[_0x492335],[_0x4e1c38],[_0x785446],[_0x5644e7],[_0x43e8c6,{'useClass':(_0x3c93ee=(_0x4525d1=this[_0x495972(0x458)])==null?void 0x0:_0x4525d1[_0x495972(0x4b8)])!=null?_0x3c93ee:_0xe0b603[_0x495972(0x366)]}],[_0x250718['ISnapshotServerService'],{'useClass':_0xe0b603['SnapshotServerOverHTTPService']}],[_0x5d7f39[_0x495972(0x433)],{'useClass':_0xe0b603[_0x495972(0x237)]}],[_0x1435ab['IImageIoService'],{'useClass':_0xe0b603[_0x495972(0x410)]}],[_0x5d7f39[_0x495972(0x26b)],{'useClass':_0xe0b603[_0x495972(0x2db)]}],[_0xe0b603[_0x495972(0x29a)]],[_0xe0b603[_0x495972(0x193)]],[_0xe0b603[_0x495972(0x382)]],[_0x1f01f4],[_0x21488c],[_0x5c01b7]];(_0x475064=this[_0x495972(0x458)])!=null&&_0x475064[_0x495972(0x456)]&&_0xf8809d[_0x495972(0x443)]([_0x5c81df,{'useClass':_0x2c621e}]),_0x5d7f39[_0x495972(0x284)](this['_injector'],_0x5d7f39[_0x495972(0x55f)](_0xf8809d,(_0x249c4c=this['_config'])==null?void 0x0:_0x249c4c[_0x495972(0x3c0)]));}['_registerRenderDependencies'](){const _0x465cdc=_0x5c58d9;this[_0x465cdc(0x10b)](this[_0x465cdc(0x50a)][_0x465cdc(0x2d1)](_0x5d7f39[_0x465cdc(0x2cd)][_0x465cdc(0x3c8)],[_0x443295])),this[_0x465cdc(0x10b)](this[_0x465cdc(0x50a)][_0x465cdc(0x2d1)](_0x5d7f39[_0x465cdc(0x2cd)][_0x465cdc(0x3f0)],[_0xd6d8b3]));}[_0x5c58d9(0x4fa)](){const _0x3656e4=_0x5c58d9;var _0x37c023,_0x5973f1;this[_0x3656e4(0x1dc)][_0x3656e4(0x191)](_0x37b388[_0x3656e4(0x94)])[_0x3656e4(0x390)]({'priority':0x14,'interceptor':_0x37b388['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x37c023=this[_0x3656e4(0x458)])!=null&&_0x37c023['enableOfflineEditing']||this[_0x3656e4(0x1dc)][_0x3656e4(0x191)](_0xe0b603[_0x3656e4(0x115)])[_0x3656e4(0x175)](),(_0x5973f1=this['_config'])!=null&&_0x5973f1[_0x3656e4(0x1e1)]&&_0x5d7f39['touchDependencies'](this[_0x3656e4(0x1dc)],[[_0x492335]]),_0x5d7f39['touchDependencies'](this['_injector'],[[_0x4e1c38],[_0x21488c],[_0xe0b603[_0x3656e4(0x193)]],[_0xe0b603[_0x3656e4(0x29a)]],[_0xe0b603['DesktopCollaborationStatusDisplayController']],[_0x5644e7]]);}},_0x25b055(_0xe0b603[_0x5c58d9(0x125)],'pluginName',_0x9cdc85),_0xe0b603[_0x5c58d9(0x125)]=_0x6c19be([_0x5d7f39[_0x5c58d9(0x310)](_0x250718['UniverCollaborationPlugin'],_0x37b388['UniverNetworkPlugin']),_0x47941f(0x1,_0x5d7f39[_0x5c58d9(0x221)]),_0x47941f(0x2,_0x533483[_0x5c58d9(0x54b)]),_0x47941f(0x3,_0x5d7f39[_0x5c58d9(0x3a2)](_0x5d7f39[_0x5c58d9(0x485)])),_0x47941f(0x4,_0x5d7f39[_0x5c58d9(0x436)])],_0xe0b603['UniverCollaborationClientPlugin']),_0xe0b603[_0x5c58d9(0x1b1)]=_0x4b5210,_0xe0b603[_0x5c58d9(0x11c)]=_0x14626f,_0xe0b603[_0x5c58d9(0x49c)]=_0x4979cb,_0xe0b603[_0x5c58d9(0x14f)]=_0x36dc32,_0xe0b603[_0x5c58d9(0x33c)]=_0x4eef96,_0xe0b603['CollaborationStatusDisplay']=_0x50d608,_0xe0b603['CommentService']=_0x785446,_0xe0b603[_0x5c58d9(0x1ff)]=_0x204173,_0xe0b603[_0x5c58d9(0x4c6)]=_0x3e6851,_0xe0b603[_0x5c58d9(0x4e9)]=_0x43e8c6,_0xe0b603[_0x5c58d9(0x52f)]=_0x171c66,_0xe0b603[_0x5c58d9(0x391)]=_0xd04df8,_0xe0b603[_0x5c58d9(0x509)]=_0x315a97,_0xe0b603[_0x5c58d9(0x48b)]=_0x3c43eb,_0xe0b603[_0x5c58d9(0x152)]=_0x4fff74,_0xe0b603[_0x5c58d9(0x548)]=_0x46c5b5,_0xe0b603[_0x5c58d9(0x359)]=_0x40521e,_0xe0b603['SessionStatus']=_0x4c9cb6,_0xe0b603[_0x5c58d9(0x459)]=_0x330a9e,_0xe0b603[_0x5c58d9(0x2bf)]=_0x5159e4,_0xe0b603['deserializeToCombResponse']=_0x23caee,_0xe0b603['serializeCombRequest']=_0x37728e,Object[_0x5c58d9(0xf4)](_0xe0b603,Symbol['toStringTag'],{'value':_0x5c58d9(0x1a1)});}));function _0x4ea7(){const _0x5bc017=['...','_telemetryService','onMouseMove','_getSheetObject','collaboration-client.config','_drawRectRange','labelPosition','_uiPartsService','setWaitCount','loadOfflineData','incrementRevOfUnit','getUniverSheetInstance','DesktopCollaborationStatusDisplayController','has','apply','_scheduleSaving','updatePermissionObjEvent','data','_labelPosition','_getSessionTicket','getUnitOnRev','toRgbString','RevisionService','saveSnapshot','clone','_decreaseWaiting','registerHTTPInterceptor','LOCAL_CACHE_INTERVAL_KEY','__esModule','_disabled','getVpScrollXYInfoByPosToVp','_onFetchMissResult','confirm','object','handleInsertCol','_roomMembers$','_urlService','deepClone','sid','_retryConnectingTimer','DOC_RANGE_TYPE','_scheduleHeartbeat','collab-text-anchor-','_getMergeRange','Inject','ITelemetryService','_xformMode','_imageIoService','floor','RECT','_getLoginPath','_refRangeService','/collaborator','UNRECOGNIZED','image/bmp','synced','_onRemoteChangeset','@univerjs/core','pipe','sendChangesetTimeout','ciphertext','on-line-single','_docSkeletonManagerService','_onRecvEvent','repeat','_singleActiveUnitService','restore','_roomMembers','UnitSnapshot','sessionTicket','SetWorksheetActivateCommand','getUnit','replace','title','override','clearInterval','throttleTime','INGEST','_init','onStarting','path','RemoveRowCommandId','UNIVER_DOC','_cursorShapes','/universer-api/authz','create','HELLO','joinRsp','TEXT','dispose','_backgroundColor','_color','_snapshotService','/universer-api/snapshot','_hash','_mode','startRow','displayName','_render','length','_collaborationPaused','CHANGESET_REJ','HttpExport','onRemoteAck','getCurrentUser','key','_collabCursorController','UnitEmbedded','getItem','701232jNEYCh','_prevBlock','cfg','svg','_DEC_XFORM_MODE','_setupBeforeClosingHandler','FAIL','_acknowledgedAwaitingChangeset','readInt32LE','_rescheduleHeartbeat','target','_drawAnchor','_scheduleClearOtherTimer','UNIVER_SHEET','/universer-api/comb','ISnapshotServerService','eventID','_process','@univerjs/docs-ui','open$','getStateCache','measureText','Base64','registerOnClose','_iv','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getCoordByCell','collab-text-range-','clipPath','transformMutation','_handleJoinEvent','HmacSHA1','url(#$1','handleIRemoveCol','error','saveOfflineData','_startTelemetryCollaborationNewChangeset','react','Unknown\x20user','_httpService','setShowComponents','UNIVER_SLIDE','isTransformMutationFailure','collabStatus.synced','BASE64','CollabrationImageIoService','_createHandler','_revisionService','height','actions','rgba(255,\x20255,\x20255,\x200.01)','_onRemoteRetry','_updateState','forEach','YUUMI_UNABLE_LOAD_URL','_throwTelemetryCollaborationNewChangeset','executeCommand','_notificationService','subject','[CollaborationUndoRedoService]','NodePositionConvertToCursor','column','_messageService','_permissionService','_getSignURL','_getSaveTimeout','liveShareOperation','_sendingTimer','/universer-api/snapshot/','collaMsg','Cipher','JOINING','Decryptor','session.connection-failed','ICommandService','CipherParams','_undoRedoService','assignAColorForMemberID','some','ERROR_IMAGE_TYPE','IAuthzIoService','m2Prime','reset','IConfigService','flatMap','save\x20fail\x20reason\x20is\x20','_disableEditing','_map','_handleEvent','805354xWmhSl','replaceState','offline','1em','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Tools','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','push','triggerDblclick','endRow','serializeRangeWithSheet','_createHmacHelper','failed\x20to\x20apply\x20missed\x20changesets!','sequenceExecute','_registerDependencies','includes','_updateLocalCache','permission.content','onRendered','exports','isTransformMutationsWithChangesetFailure','_onJoinRoomEvent','FETCH_MISS','InsertRangeMoveDownCommandId','collabCursorState$','_joinRoom','enableSingleActiveInstanceLock','_send','_config','SheetCollabCursorShape','SNAPSHOT_INVALID_SNAPSHOT','salt','msCrypto','hostname','_HTTPService','m1Prime','collaborators','CHANGESET_ACK','_collabSessionService','_createInitialState','onload','_cursorInfo$','UNIVER_UNKNOWN','5JQnaiA','onSendChangeset','retryConnectingInterval','getCollabCursors$','c1Prime','call','cursorInfo','_onCursorUpdate','UNAUTHENTICATED','_unitStatus','TEXT_RANGE_LAYER_INDEX','with','responseType','_sheetSkeletonManagerService','type','unpad','byteLength','React','SetDocZoomRatioOperation','DeleteRangeMoveUpCommandId','_listenToOfflineEvent','_stopTelemetryCollaborationNewChangeset','snapshotServerUrl','cmd','_onRefRangeChange','LICENSE_IMPORT_SIZE_EXCEEDED','HttpImport','result','slice','_socketMessageSubscription','Injector','SYNCED','_hasher','status$','execute','lineTo','RETRY_CONNECTING_MAX_COUNT_KEY','formatter','getAncestorScale','_resendWithTimeout','_initUnitPermissionChange','_selfUnitIDs','map','session.collaboration-timeout','finalize','_startDocCollabCursor','0\x200\x2017\x2016','MessageType','capture','evenodd','concat','COMPRESS_MUTATION_SEND','APPLY_NON_SEQUENTIAL_REVISION','COLLAB_SUBMIT_CHANGESET_URL_KEY','fillText','ivSize','BlockCipherMode','LIVESHARE_TERMINATE','_doProcessBlock','saveChangeset','toDisposable','setItem','compute','changesets','startsWith','_logService','conflict.title','SheetsSelectionsService','14VHNNfN','_retryCount','history','close','_refreshCollabCursors','symbol','rev','xlink:href','reqId','generateRandomId','addObjects','subscribeEvent','pad','socketService','_ENC_XFORM_MODE','handleInsertRow','IRemoteInstanceService','onlineStatusTitle','[SyncedState]:\x20received\x20acknowledgement.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','addObject','switchMap','JOIN','_type','routeKey','DEFAULT_FILE_NAME','propertyIsEnumerable','HEARTBEAT_TIMEOUT_KEY','WordArray','_commandService','connectInjector','onStateChange','CollaborationEvent','_candidateSocket','SnapshotService','\x0aAfter:\x20','YUUMI_SUBSCRIPTION_NOT_FOUND','_initCommandExecutedListener','encrypt','_undoStacks','_data','_getScale','session.room-full','origin','ReplaySubject','removeMember','fromEventSubject','c2Prime','OffLineSingle','MSG_FOR_ERROR','_onCombEvent','_listenToOnlineEvent','isEditing','onTransformRemoteChangesetByStateCache','_online','show','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','default','encode','CollaborationSessionService','getSkeleton','NEW_CHANGESETS','ICollaborationSocketService','Latin1','currentSkeleton$','BufferedBlockAlgorithm','engine','8rylswG','_parse','_loadDoc','_fetchMissChangesets','onPointerMove$','1883312WACHff','_document','infoRsp','storage','_sender','EffectRefRangId','text','_initDependencies','next','MentionType','addEventListener','EmptyMutation','univer-online','Hasher','getOwnPropertySymbols','iterations','algo','SNAPSHOT_HAS_BEEN_REMOVED','TOO_MANY_REQUESTS','getUnitId','jiqing500','isTransformChangesetsSuccess','LOGIN_URL_KEY','_renderManagerService','beginPath','size','interceptor','session.will-retry','onRemoteRej','[OfflineState]:\x20received\x20acknowledgement.','_substituteUndoStack','save','keySize','/unit/','_heartbeatTimer','transformChangesets','signUrlServerUrl','transformByState','_assignedColors','_clearHeartbeatTimer','use','parseChangesetToProtocol','state$','concatMap','APPLY_REVISION_CONFILICT','fromCollab','params','_reverseMap','ImageUploadStatusType','encryptBlock','3281949khBftt','LICENSE_DISTRO_REJECTED','_commentUpdate$','fill','24AqhlNO','random','textEncoder','_toggleOffline','downloadEndpointUrl','Vector2','IURLService','UniverRpc','readAsDataURL','COLORS','take','_transformUndoredo','2iltyIP','closePath','lib','icon','_transformIMECache','Malformed\x20UTF-8\x20data','_handler','Shape','getSheetId','getRelativeToViewportCoord','ranges','setShapeProps','unitID','Disposable','MUTATION','_waitForHeartbeatResponse','_ensureSubject','permissionRejEvent','prototype','SNAPSHOT_SERVER_URL_KEY','defaultProps','IUniverInstanceService','IRenderManagerService','univer-pro.collaboration-client-socket-service','createSocket','getValue','USERS_ENTER','_socket','drawWith','PERMISSION_REJ','_initRequestHeader','userID','createCollaborator','PSEUDO_FETCH_MISSING_RESULT','onlyLocal','collaboration.closeRoom','_docTransformStateCacheService','status','collabStatus.conflict','_cursor','_sendHeartbeatTimer','socket$','mergeOverrideWithDependencies','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_configService','_docTransformSelectionsService','purple300','univer-online-status-icon','[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.','randomUUID','_cursors','ENSURE_SNAPSHOT_EXECUTION','FileId','every','onlineStatus','YUUMI_URL_COL_OUT_OF_RANGE','closeSession','getRoom','IDocClipboardService','contains','transformIMECache','event$','collaboration-client.offline-data-not-saved','_oKey','pushState','children','mixIn','NO_OTHER_CLIENTS_EDITING','change$','unit','HTTPService','UniverSheetsUi','max','_docTransformIMECacheService','entries','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','blue400','body','setConfig','_getUploadFileURL','extend','/-/object/-/batch_allowed','_colorIndex','round','_initCloseConn','doc.mutation.rich-text-editing','indexOf','_memberService','setCurrentUser','byteOffset','/object','_replaceFileID','BuiltInUIPart','ERROR_IMAGE','useRef','wsSessionTicketUrl','_timeoutTimer','ticket','for','AWAITING_WITH_PENDING','_onRemoteRejected','_sendHeartbeat','_localCacheService','clear','roomMembers','onTransformState','_removeRoom','registerComponent','GLOBAL_ROOMS_CNT_EXCEEDS','roles','_status$','[CollaborationSession]','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[PendingState]:\x20unhandled\x20univer\x20type:\x20','transformStack\x20failed!','DocIMEInputManagerService','onTransformSelections','collabStatus.fetchMiss','socket\x20close','handleMoveRange','getCollabEntity','collab-client.tooltip.reconnect','DocStateChangeManagerService','getUndoRedoMutationParamsCache','_changesetSessionId','getImageSourceCache','_docSyncEditingCollabCursorService','assign','_name','HmacMD5','urlChange$','_themeService','_socket$','headers','HEARTBEAT_INTERVAL','liveShareNewHost','createInstance','current','collabStatus.notCollab','parse','_saveCache','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','_changesetReqId','_textBubble','requireSession','Error','APPLY_REJECT','_append','_getAPIPrefix','MergeInterceptorFactory','hide','selection','ThemeService','_docClipboardService','sessionStatus','useDependency','_lastPointer','getRangePointData','onRemoteRetry','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','off-line-single','_iKey','_waitCount','submit\x20changeset\x20error!','updateOfflineData','defineProperty','top','Optional','__Key__','defIds','_clearTimeoutTimer','_userManagerService','getCurrentSelections','@univerjs/docs','_updateCollabCursors','loginUrlKey','_shapes','clearTimeout','_http','EvpKDF','/block/','_getUndoStack','HEARTBEAT','saveImage','transformStateCache','JOIN_ROOM_FULL','_getAnchorBounding','getCollabEntity$','disposeWithMe','&to=','_clearUndo','#fff','ALREADY_EXISTS','getCurrentUnitForType','univerjs-icon\x20univerjs-icon-','Tooltip','unitId','src','LocalCacheService','filter','UNKNOWN_CMD','_createSocketURL','/universer-api/file/{fileID}/sign-url','UserManagerService','UniverDesign','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','objects','IBeforeCloseService','getParam','_transformSelections','_shouldReportTelemetry','0\x200\x2016\x2016','CHANGESET_SHOULD_RETRY','reconnect','UniverCollaborationClientPlugin','listRoles','_unitOnClients','session.join-failed','onPointerLeave$','_snapshotServerService','uploadFileServerUrl','_transformRemoteChangesetByIMECache','HTTPRequest','UniverEngineRender','_docStateChangeManagerService','COMPRESS_MUTATION_APPLY','SUBMIT_CHANGESET','csShouldRetryEvent','memberID','_incrementRevisionNumber','_initMergeInterceptor','decryptBlock','@univerjs/ui','batchAllowed','_createHelper','_syncEditingCollabCursorService','APPLY_DUPLICATED','_localeService','_event$','_collabCursorState$','_createSocket','amd','@univerjs/sheets','[CollaborationSessionService]:\x20socket\x20error','toLowerCase','localeService','duration','collaboratorID','_ws','FETCH_MISSING','add','session.room-not-exists','_anchor','CompressMutationService','SHA1','InsertSheetMutation','COLLAB_WEB_SOCKET_URL_KEY','YUUMI_RATE_OVER_LIMIT','useCallback','SEND_CHANGESET_TIMEOUT_KEY','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','revision','onTransformChange$','cursorInfo$','RichTextEditingMutation','@univerjs-pro/collaboration','state','fetchMiss','collaboration.single-unit.warning','searchParams','_hideTimer','CBC','_pendingMutations','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_drawTextRange','resolve','_doFinalize','UniverDocs','CONNECTOR_DATA_TOO_LARGE','onCommandExecuted','RxDisposable','Encryptor','function','distinctUntilChanged','UniverProCollaboration','transformMutationsWithChangeset','getColor','currentColor','AES','onTransformIME','color','SetSelectionsOperation','@univerjs/rpc','{fileID}','disableLocalCache','ceil','handleDeleteRangeMoveUp','_transformHistoryAndStateStack','?url=','@univerjs/design','INTERNAL_ERROR','_loadSheet','getResourcesRequest','InsertColCommandId','updatePermissionPoint','transform','_hovered','leaveEvent','delete','_collaborationTimeoutTimer','IDLE','INVALID_ARGUMENT','_getCurrentRevision','substr','RegularPolygon','processBlock','setAlpha','EXCHANGE_SIGN_URL_SERVER_URL_KEY','IPermissionService','activeSheet$','forwardRef','send','get','UNKNOWN_CODE','DataLoaderController','black','_unlockTransition','_removeClearOtherTimer','/resources','getWorkbookSelections','_exhaustRemoteChangesetQueue','hasOwnProperty','idSuffix','_submitChangeset','getTypeOfUnitDisposed$','_entities','M0\x200H16V16H0z','getConfig','Module','[FetchMissState]','arc','collabStatus.syncing','SnapshotServerOverHTTPService','@univerjs/telemetry','charAt','FromArray','stopTime','Undefined','href','UniverUi','backgroundColor','_clearCollaborationTimeoutTimer','_transformStateCache','selections','AUTHZ_URL_KEY','collabWebSocketUrl','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Plugin','_resendTimeout','reverse','redoState','/universer-api/oidc/authpage','getRandomValues','resend','isInternalEditorID','_nDataBytes','Hex','rng','BehaviorSubject','_lockTransition','POST','clamp','onSyncEditingCollabCursor','[PendingState]:\x20received\x20acknowledgement.','_initStatusListener','isTransformMutationsWithChangesetSuccess','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_updateSubUnitFromURLParams','_schedule','LEAVE','LocaleService','getInterceptPoints','_isPermissionRej','APPLY_PERMISSION_DENIED','sheetID','getCurrent','_executeRemoteChangeset','createEncryptor','x-univer-host','USERS_LEAVE','listCollaborators','OFFLINE','LICENSE_EXPORT_SIZE_EXCEEDED','Subject','_onMessage','toggleOffline','IUIPartsService','_injector','crypto','NoPadding','DocCollaborationEntity','_initEventListeners','enableAuthServer','_eventUnsubscribe','translate(.97)','_colorAssignService','asObservable','disposeUnit','_onConnectionFailed','shouldCloseConn','_clearOtherTimers','values','encodeURIComponent','image/gif','_scheduleTimestamp','_keySchedule','findNodePositionByCharIndex','onRemoteChangeset','getActiveSheet','toString','CommandType','_range','application/json','_unitID','_getRedoStack','getUnhiddenWorksheets','width','_imageSourceCache','merge','online','subscribe','unit-cache-','HEARTBEAT_INTERVAL_KEY','getTypeOfUnitAdded$','_registerRenderDependencies','_tryEnsureSocket','row','RETRY_CONNECTING_MAX_COUNT','_collaborationSessionService','avatar','onMissingChangesets','getLatestCsReqIdBySid','hasher','off-line-single_clip0_910_343','dispose$','complete','enableLocalCache','/object/','debounce','auth.needGotoLoginAlert','none','message$','roomInfos','_updateLocalCursor','MemberService','AWAITING','?size=','put','WebSocketService','whenReady','transformSelections','getActiveRange','onCommentUpdate','_invKeySchedule','[DataLoaderController]','JOIN_ROOM_PERMISSION_DENIED','ILogService','_onOffline','objectID','_univerInstanceService','_getCtorByUniverType','_state','\x20to\x20','stringify','isArray','_cipher','makeDirty','_removeCollabCursors','_sheetTransformSelectionsService','hovered','_localStorageService','unknown','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COMMENT_UPDATE','reject','takeUntil','_syncEditingCollabCursor','session','AuthzIoHttpService','getFocusedUnit','charCodeAt','awaiting_with_pending','getSheetObject','resize','OTHER_CLIENTS_EDITING','code','_change$','_beforeCloseService','blockSize','init','_draw','_scene','getCurrentRevOfUnit','getUnitStatus$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverTelemetry','onReady','reduce','catch','collaboration-session-retry','roomMembers$','bind','handleIRemoveRow','handleInsertRangeMoveRight','univer-online-status-title','LIVESHARE_FETCH_OPERATIONS','docStateChange$','split','shareReplay','RECV','CollaborationSession','addImageSourceCache','isPermissionRej','_commentService','b64DecodeUnicode','now','collabSubmitChangesetUrl','_keyPriorReset','LIVESHARE_NEW_HOST','_collaborationController','_clearScheduledTask','_startCollaboration','deserializeRangeWithSheet','updateCursorEvent','ITransformService','[SyncedState]:\x20received\x20rejection.','mode','_telemetryInfo','LIVESHARE_OPERATION','439670kjhCYh','IMentionIOService','transformRemoteChangeset','1236072gWThAF','__creator','subunit','replaceDocRanges','location','collabStatus.offline','_toggleOnline','Rect','PERSON','_updateURLWithCurrentState','bottom','@univerjs/sheets-ui','_checkMissing','_showConflictNotification','getMergeData','getTime','collab-rect-range-','/new_changes','jsx','_redoStacks','setParam','hidden','format','registerDependencies','SheetCollaborationEntity','PENDING','_handleHeartbeatEvent','delay','url','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','commentUpdateEvent','syncEditingCollabCursor','LIVESHARE_REQUEST_HOST','rxjs/operators','collaboration_new_changeset','fetch_missing','authzUrl','_socketService','LOCAL_CACHE_INTERVAL','_onCursorDelete','mapDocumentTypeToUniverType','_applyRemoteChangeset','getSnapshotAPIPath','mutations','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborationController','MoveRangeCommandId','Utf8','getAllMembers','NOT_FOUND','_getAPIPrefixPath','_clearLocalCache','IUndoRedoService','toggleOnline','unshift','_hover','UniverNetwork','updateCollaborator','_transformService','sheetId','univer-pro.collaboration-client.single-active-unit-service','padding','COLLAB_SUBMIT_CHANGESET_URL','fromEvent','range','action','SEND_CHANGESET_TIMEOUT','undoState','_cachedData','_sessions','font','resourceIDs','_queuedRemoteChangesets','createIdentifier','UniverCore','_updateStatus','_replayCachedMutations','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','sessionStatus$','randomBytes','MD5','unsubscribe','WebURLService','_anchorDot','ref','_resendTimer','updateMember','image/jpg','onTransformRemoteChangesetByIMECache','_nRounds','json','_onLocalMutation','unload','ws://127.0.0.1:8000/universer-api/comb/connect','putCollaborators','Warning','UniverInstanceType','UniverEngineFormula','UNDEFINED','ColorKit','registerRenderModule','_initStatusComponent','csRejEvent','session.room-cnt-exceeds','setTimeout','_awaitingChangeset','rxjs','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','gold400','_saveTaskMap','MentionIoHttpService','members','JOIN_ROOM_NOT_EXISTS','getMember','newValue','@univerjs/drawing','_transformUndoRedoStack','debug','splice','_remoteChangesetQueue','@univerjs/engine-render','getImage','INotificationService','currentTheme$','LocalUndoRedoService','Base','_onUserJoin','_onUserLeave','awaiting','@univerjs/engine-formula','not_collab','createElement','_getSendChangesetTimeout','baseRev','_initResize','SheetSkeletonManagerService','_doReset','fillRule','file','react.element','HEARTBEAT_TIMEOUT','post','_minBufferSize','fetchThroughInterceptors','Rectangle','registerBeforeClose','imageSourceType','visibilitychange','onMissedChangesetFetched','IMessageService','_id','exhaustSavingTask','mapTo','Error\x20on\x20receiving\x20event','_sessionStatus$','_transformStack','touchDependencies','_key','from','verdancy600','then','[OfflineState]:\x20received\x20changeset.','transformUndoRedo','DependentOn','COLLAB_WEB_SOCKET_URL','textRanges','409653oDFtrn','getOwnPropertyDescriptor','session.room-permission-denied','NOT_COLLAB','originalMeta','patch','[CollaborationEntity]','#FFF','compose','SheetPermissionInitController','parseProtocolChangeset','ImageSourceType','red300','univer-online-status','_substituteRedoStack','name','close$','url(#on-line-single_clip0_910_349)','UniverSheets','createDecryptor','loadSheet','fromCharCode','UPDATE_CURSOR','_transitionLocked','connection\x20error','colorChannel1','getMemberID','objectType','words','defs','find','ONLINE','editingUnit','registerRefRange','set','tag','jsxs','sigBytes','_session','_setupSubUnitSync','_createInitialStateImpl','CollaborationStatus','_scheduleCollaborationTimeoutTimer','_onConflict','UNIVER_COLLABORATION_CLIENT_PLUGIN','$super','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','DisposableCollection','ACTIVE_UNIT_EVENT_CHANNEL','COMPLETION_FINISHED','visibilityState','_socketReady','Pkcs7','removeParam','WorkbookEditablePermission','CollaborationEntity','_entityInit$','awaitingChangeset','DocSelectionManagerService','debounceTime','HMAC','uni.network.url-service','method','BlockCipher','commentUpdate$','[PendingState]:\x20received\x20rejection.','allowed','startTime','join','update','SNAPSHOT_URL_KEY','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','objectActions','div','csAckEvent','kdf','_clearRedo','pending','focused$','attrs','_members','JSONX','telemetry\x20info\x20is\x20not\x20initialized','CollaborationSocketService','_compressMutationService','UniverDocsUi','string','requestParams','newCsEvent','getRenderById','getDocRanges','subUnitId','handleDeleteRangeMoveLeft','appendMutation','SHOULD_CLOSE_CONN','enc','className','CONFLICT','_context'];_0x4ea7=function(){return _0x5bc017;};return _0x4ea7();}
|