@univerjs-pro/collaboration-client 0.5.1-nightly.202412041606 → 0.5.1-nightly.202412061606
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/index.css +0 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +17 -14
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -0
- package/lib/types/index.d.ts +11 -11
- package/lib/types/plugin.d.ts +1 -6
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +3 -4
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -3
- package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +19 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +23 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
- package/lib/types/services/local-cache/local-cache.service.d.ts +7 -23
- package/lib/types/services/permission/permission.service.d.ts +8 -3
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -24
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -18
- package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +0 -9
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -58
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
- package/lib/types/models/cursor.d.ts +0 -30
- package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
- package/lib/types/services/url/url.service.d.ts +0 -12
- package/lib/types/services/url/web-url.service.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
- package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x519f42=_0x3f43;(function(_0x40314d,_0x442fce){const _0x4d164d=_0x3f43,_0x2fca10=_0x40314d();while(!![]){try{const _0x3ba1b2=parseInt(_0x4d164d(0x3c9))/0x1+parseInt(_0x4d164d(0x2ec))/0x2*(-parseInt(_0x4d164d(0x42b))/0x3)+parseInt(_0x4d164d(0x2b1))/0x4+-parseInt(_0x4d164d(0x5f9))/0x5+parseInt(_0x4d164d(0x175))/0x6*(parseInt(_0x4d164d(0x3a1))/0x7)+-parseInt(_0x4d164d(0x2c5))/0x8+parseInt(_0x4d164d(0x4cd))/0x9;if(_0x3ba1b2===_0x442fce)break;else _0x2fca10['push'](_0x2fca10['shift']());}catch(_0x20fd6e){_0x2fca10['push'](_0x2fca10['shift']());}}}(_0x1367,0x923d9));var Fi=Object[_0x519f42(0x360)],Vi=(_0x4f9fc6,_0x430843,_0x1fec6c)=>_0x430843 in _0x4f9fc6?Fi(_0x4f9fc6,_0x430843,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fec6c}):_0x4f9fc6[_0x430843]=_0x1fec6c,I=(_0x9ad391,_0x4f6cfd,_0x3f3c28)=>Vi(_0x9ad391,typeof _0x4f6cfd!=_0x519f42(0x38e)?_0x4f6cfd+'':_0x4f6cfd,_0x3f3c28);Object[_0x519f42(0x360)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require('@univerjs/core'),N=require(_0x519f42(0x379)),V=require('rxjs/operators'),Ce=require(_0x519f42(0x316)),z=require(_0x519f42(0x24b)),ee=require(_0x519f42(0x558)),m=require(_0x519f42(0x4d8)),Gi=require(_0x519f42(0x387)),Ie=require(_0x519f42(0x3ca)),J=require(_0x519f42(0x422)),k=require('@univerjs/sheets'),Y=require(_0x519f42(0x22f)),te=require(_0x519f42(0x1af)),$t=require(_0x519f42(0x294)),Le=require(_0x519f42(0x448)),oe=require(_0x519f42(0x3ce)),Yi=require(_0x519f42(0x33e)),fi=_0x519f42(0x384),qi='/universer-api/snapshot',vi=_0x519f42(0x263),Ki=_0x519f42(0x571),zi=0x7d0,Si='COLLAB_WEB_SOCKET_URL',Xi=_0x519f42(0x3d2),Ji=_0x519f42(0x592),pi=_0x519f42(0x44d),Zi=0x7530,Dt=_0x519f42(0x4ab),mi=0x4e20,Qi=0x4e20,gi=_0x519f42(0x27f),en=0x3,Ii=_0x519f42(0x29f),tn=0x3e8,Ci='COLLAB_SUBMIT_CHANGESET_URL',nn=_0x519f42(0x380),Ei=_0x519f42(0x31d),rn=_0x519f42(0x2ce);var bi=(_0x28944f=>(_0x28944f[_0x28944f['UNDEFINED']=0x0]='UNDEFINED',_0x28944f[_0x28944f['OK']=0x1]='OK',_0x28944f[_0x28944f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x28944f[_0x28944f[_0x519f42(0x494)]=0x3]=_0x519f42(0x494),_0x28944f[_0x28944f[_0x519f42(0x1ca)]=0x4]=_0x519f42(0x1ca),_0x28944f[_0x28944f[_0x519f42(0x381)]=0x5]=_0x519f42(0x381),_0x28944f[_0x28944f[_0x519f42(0x289)]=0x6]=_0x519f42(0x289),_0x28944f[_0x28944f[_0x519f42(0x1b1)]=0x7]=_0x519f42(0x1b1),_0x28944f[_0x28944f[_0x519f42(0x633)]=0x8]=_0x519f42(0x633),_0x28944f[_0x28944f[_0x519f42(0x25d)]=0x9]='COMPLETION_FINISHED',_0x28944f[_0x28944f[_0x519f42(0x31a)]=0x1389]=_0x519f42(0x31a),_0x28944f[_0x28944f[_0x519f42(0x1e1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x28944f[_0x28944f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x519f42(0x179),_0x28944f[_0x28944f[_0x519f42(0x2d2)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x28944f[_0x28944f[_0x519f42(0x3b5)]=0x1b59]=_0x519f42(0x3b5),_0x28944f[_0x28944f[_0x519f42(0x482)]=0x1b5a]=_0x519f42(0x482),_0x28944f[_0x28944f[_0x519f42(0x375)]=0x1b5b]=_0x519f42(0x375),_0x28944f[_0x28944f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x519f42(0x5a7),_0x28944f[_0x28944f[_0x519f42(0x644)]=0x1b5d]=_0x519f42(0x644),_0x28944f[_0x28944f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x519f42(0x3ab),_0x28944f[_0x28944f[_0x519f42(0x1bd)]=0x2329]=_0x519f42(0x1bd),_0x28944f[_0x28944f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x519f42(0x215),_0x28944f[_0x28944f[_0x519f42(0x4fc)]=0x232b]=_0x519f42(0x4fc),_0x28944f[_0x28944f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x519f42(0x2bc),_0x28944f[_0x28944f[_0x519f42(0x4e7)]=0x232d]=_0x519f42(0x4e7),_0x28944f[_0x28944f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x519f42(0x362),_0x28944f[_0x28944f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x519f42(0x642),_0x28944f[_0x28944f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x28944f[_0x28944f[_0x519f42(0x331)]=0x2714]=_0x519f42(0x331),_0x28944f[_0x28944f['UNRECOGNIZED']=-0x1]=_0x519f42(0x500),_0x28944f))(bi||{}),ie=(_0x4e24db=>(_0x4e24db[_0x4e24db[_0x519f42(0x1d9)]=0x0]=_0x519f42(0x1d9),_0x4e24db[_0x4e24db[_0x519f42(0x249)]=0x1]='UNIVER_DOC',_0x4e24db[_0x4e24db[_0x519f42(0x248)]=0x2]=_0x519f42(0x248),_0x4e24db[_0x4e24db[_0x519f42(0x1a1)]=0x3]=_0x519f42(0x1a1),_0x4e24db[_0x4e24db[_0x519f42(0x629)]=0x4]='UNIVER_PROJECT',_0x4e24db[_0x4e24db['UNRECOGNIZED']=-0x1]=_0x519f42(0x500),_0x4e24db))(ie||{}),G=(_0x53b481=>(_0x53b481[_0x53b481[_0x519f42(0x229)]=0x0]=_0x519f42(0x229),_0x53b481[_0x53b481[_0x519f42(0x441)]=0x1]='HELLO',_0x53b481[_0x53b481[_0x519f42(0x553)]=0x2]=_0x519f42(0x553),_0x53b481[_0x53b481['LEAVE']=0x3]='LEAVE',_0x53b481[_0x53b481['INGEST']=0x4]=_0x519f42(0x260),_0x53b481[_0x53b481[_0x519f42(0x225)]=0x5]=_0x519f42(0x225),_0x53b481[_0x53b481['RECV']=0x6]=_0x519f42(0x43e),_0x53b481[_0x53b481[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x53b481))(G||{}),ge=(_0x56f33a=>(_0x56f33a[_0x56f33a[_0x519f42(0x50b)]=0x0]=_0x519f42(0x50b),_0x56f33a[_0x56f33a['OK']=0x1]='OK',_0x56f33a[_0x56f33a[_0x519f42(0x35d)]=0x2]=_0x519f42(0x35d),_0x56f33a[_0x56f33a['JOIN_ROOM_FULL']=0x3e9]=_0x519f42(0x37b),_0x56f33a[_0x56f33a[_0x519f42(0x2e2)]=0x3ea]=_0x519f42(0x2e2),_0x56f33a[_0x56f33a[_0x519f42(0x1b2)]=0x3eb]=_0x519f42(0x1b2),_0x56f33a[_0x56f33a[_0x519f42(0x534)]=0x3ec]=_0x519f42(0x534),_0x56f33a[_0x56f33a[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x56f33a))(ge||{}),Ti=(_0x4cd811=>(_0x4cd811[_0x4cd811[_0x519f42(0x1da)]=0x0]=_0x519f42(0x1da),_0x4cd811[_0x4cd811['HttpImport']=0x1]=_0x519f42(0x38a),_0x4cd811[_0x4cd811[_0x519f42(0x212)]=0x2]=_0x519f42(0x212),_0x4cd811[_0x4cd811[_0x519f42(0x61d)]=0x3]=_0x519f42(0x61d),_0x4cd811[_0x4cd811['UnitSnapshot']=0x4]=_0x519f42(0x302),_0x4cd811[_0x4cd811[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x4cd811))(Ti||{});const Z=_0x519f42(0x4f5),sn={};function Ri(_0x6ba35c){const _0xab0ce8=_0x519f42;var _0x4b15cc,_0x31e5a2,_0x2c61bc,_0x55d7e7,_0x10ed8c;const _0x127c47=_0x6ba35c['data'],_0x57446b=JSON[_0xab0ce8(0x2f6)](_0x127c47);switch(_0x57446b[_0xab0ce8(0x25c)]){case G[_0xab0ce8(0x225)]:case G[_0xab0ce8(0x441)]:{const _0x5af170=_0x57446b['infoRsp'];return{..._0x57446b,'data':_0x5af170,'cmd':_0x57446b[_0xab0ce8(0x25c)]};}case G[_0xab0ce8(0x553)]:{const _0x50d656=_0x57446b[_0xab0ce8(0x60f)];return{..._0x57446b,'data':_0x50d656,'cmd':_0x57446b['cmd']};}case G[_0xab0ce8(0x43e)]:{const _0x177a3b=_0x57446b[_0xab0ce8(0x2d3)];switch(_0x177a3b[_0xab0ce8(0x509)]){case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x587)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x4b15cc=_0x177a3b[_0xab0ce8(0x2db)])==null?void 0x0:_0x4b15cc['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x47c)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x31e5a2=_0x177a3b['csAckEvent'])==null?void 0x0:_0x31e5a2['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x40a)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x2c61bc=_0x177a3b['newCsEvent'])==null?void 0x0:_0x2c61bc['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x3d7)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x55d7e7=_0x177a3b[_0xab0ce8(0x33a)])==null?void 0x0:_0x55d7e7['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x5f1)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x10ed8c=_0x177a3b[_0xab0ce8(0x4a9)])==null?void 0x0:_0x10ed8c['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x2ef)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x4b2)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['USERS_ENTER']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x29c)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m['CollaborationEvent'][_0xab0ce8(0x41b)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x358)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['LIVESHARE_NEW_HOST']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x234)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x32a)]:case m[_0xab0ce8(0x3bc)]['LIVESHARE_OPERATION']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x1cd)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x5e9)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b['liveShareNewHost']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x3d3)]:return{..._0x57446b,'data':_0x177a3b,'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['COMMENT_UPDATE']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b['commentUpdateEvent']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x605)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x5d1)]},'cmd':_0x57446b['cmd']};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x502)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x241)]},'cmd':_0x57446b['cmd']};default:return _0x57446b;}}default:return _0x57446b;}}function Oi(_0x4d3b6c){const _0x3a9218=_0x519f42;switch(_0x4d3b6c['cmd']){case G['HEARTBEAT']:case G[_0x3a9218(0x441)]:return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c['routeKey']});case G[_0x3a9218(0x260)]:{let _0x53cd85;switch(_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x509)]){case m[_0x3a9218(0x3bc)][_0x3a9218(0x2ef)]:{_0x53cd85={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)]['USERS_LEAVE']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x41b)],'leaveEvent':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x5b1)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x5b1)],'joinEvent':_0x4d3b6c['data'][_0x3a9218(0x2f1)]};break;}case m['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x385)],'liveShareNewHost':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x602)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x602)],'liveShareOperation':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x5e9)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x5e9)],'liveShareTerminate':_0x4d3b6c[_0x3a9218(0x2f1)]['data']};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x231)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x231)],'liveShareRequestHost':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)]['LIVESHARE_FETCH_OPERATIONS']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x32a)]};break;}default:_0x53cd85={'eventID':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x509)]};}return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c[_0x3a9218(0x25c)],'routeKey':_0x4d3b6c[_0x3a9218(0x1c7)],'collaMsg':_0x53cd85});}case G[_0x3a9218(0x553)]:return JSON['stringify']({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c[_0x3a9218(0x1c7)],'joinReq':_0x4d3b6c[_0x3a9218(0x2f1)]});case G['LEAVE']:return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c['routeKey'],'leaveReq':_0x4d3b6c[_0x3a9218(0x2f1)]});default:throw new Error(_0x3a9218(0x5b7));}}var on=Object[_0x519f42(0x360)],an=Object[_0x519f42(0x544)],cn=(_0x250e0e,_0x4e62e0,_0x8c020a,_0xf4b502)=>{const _0x11bac3=_0x519f42;for(var _0x1d7df8=_0xf4b502>0x1?void 0x0:_0xf4b502?an(_0x4e62e0,_0x8c020a):_0x4e62e0,_0x4a31a1=_0x250e0e[_0x11bac3(0x53a)]-0x1,_0x3a150d;_0x4a31a1>=0x0;_0x4a31a1--)(_0x3a150d=_0x250e0e[_0x4a31a1])&&(_0x1d7df8=(_0xf4b502?_0x3a150d(_0x4e62e0,_0x8c020a,_0x1d7df8):_0x3a150d(_0x1d7df8))||_0x1d7df8);return _0xf4b502&&_0x1d7df8&&on(_0x4e62e0,_0x8c020a,_0x1d7df8),_0x1d7df8;},De=(_0x2400b9,_0x317995)=>(_0x33f4eb,_0x35a6ed)=>_0x317995(_0x33f4eb,_0x35a6ed,_0x2400b9);const Pt=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function ln(_0x466908,_0x3d0f3b,_0x4a3013){const _0x51008e=_0x519f42;return _0x466908+'/'+_0x3d0f3b+_0x51008e(0x4ee)+_0x4a3013+'/new_changes';}exports[_0x519f42(0x1cb)]=class extends a[_0x519f42(0x5f8)]{constructor(_0x20b87c,_0x3c7e2b,_0x39078a,_0x4bae2b,_0x1ebca6){const _0x44bd45=_0x519f42;super(),this[_0x44bd45(0x58a)]=_0x20b87c,this['_ws']=_0x3c7e2b,this[_0x44bd45(0x193)]=_0x39078a,this[_0x44bd45(0x392)]=_0x4bae2b,this[_0x44bd45(0x5f7)]=_0x1ebca6;}[_0x519f42(0x4c9)](_0x4aa885){const _0x262698=_0x519f42,_0xb5ed93=this[_0x262698(0x2c7)]['createSocket'](_0x4aa885);if(!_0xb5ed93)throw new Error(_0x262698(0x5e0));const _0x47d974=new a[(_0x262698(0x3cf))](),_0x14eac7=new N['Subject']();_0x47d974[_0x262698(0x556)](_0xb5ed93['close$'][_0x262698(0x1db)](_0xc887ce=>_0x14eac7[_0x262698(0x213)](_0xc887ce))),_0x47d974[_0x262698(0x556)](a['toDisposable'](()=>_0x14eac7['complete']()));const _0x2b2f78=new N[(_0x262698(0x3ec))]();_0x47d974[_0x262698(0x556)](_0xb5ed93[_0x262698(0x488)][_0x262698(0x1db)](_0x5443dd=>_0x2b2f78[_0x262698(0x213)](_0x5443dd))),_0x47d974[_0x262698(0x556)](a[_0x262698(0x503)](()=>_0x2b2f78[_0x262698(0x324)]()));const _0x14c327=new N[(_0x262698(0x3ec))]();_0x47d974[_0x262698(0x556)](_0xb5ed93[_0x262698(0x2b9)][_0x262698(0x1db)](_0x33af64=>{const _0x1ea0ec=_0x262698,_0x5c1100=Ri(_0x33af64);_0x14c327[_0x1ea0ec(0x213)](_0x5c1100);})),_0x47d974[_0x262698(0x556)](a['toDisposable'](()=>_0x14c327['complete']()));let _0x2172ad;const _0x55d49a=()=>{const _0x4c54e4=_0x262698;_0x2b2f78[_0x4c54e4(0x213)](new Event(_0x4c54e4(0x279))),_0x14eac7[_0x4c54e4(0x213)](new CloseEvent(_0x4c54e4(0x279))),_0x2172ad['close']();};return _0x2172ad={'memberID':'','close$':_0x14eac7[_0x262698(0x20b)](),'error$':_0x2b2f78[_0x262698(0x20b)](),'open$':_0xb5ed93['open$'],'message$':_0x14c327[_0x262698(0x20b)](),'send':_0x104177=>{const _0x930f30=_0x262698;if(_0x104177[_0x930f30(0x25c)]===G[_0x930f30(0x260)]){if(_0x104177[_0x930f30(0x2f1)]['eventID']===m['CollaborationEvent'][_0x930f30(0x207)]){this[_0x930f30(0x192)](_0x2172ad,_0x104177[_0x930f30(0x2f1)])[_0x930f30(0x271)](_0x4fc87f=>{this['_logService']['error'](_0x4fc87f),_0x55d49a();});return;}if(_0x104177[_0x930f30(0x2f1)][_0x930f30(0x509)]===m[_0x930f30(0x3bc)][_0x930f30(0x269)]){const _0x378d51=_0x104177[_0x930f30(0x2f1)];this[_0x930f30(0x20e)](_0x378d51)[_0x930f30(0x5b5)](_0x218620=>{const _0x2f11c0=_0x930f30;_0x14c327[_0x2f11c0(0x213)]({'cmd':G[_0x2f11c0(0x43e)],'code':ge['OK'],'routeKey':_0x378d51[_0x2f11c0(0x2f1)][_0x2f11c0(0x57d)],'routeType':'','data':{'eventID':m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x218620}}});})[_0x930f30(0x271)](_0x2047fa=>{const _0x3a4ba2=_0x930f30;this[_0x3a4ba2(0x392)]['error'](_0x2047fa),_0x55d49a();});return;}}_0xb5ed93[_0x930f30(0x2a8)](Oi(_0x104177));},'close':()=>{const _0xb92498=_0x262698;_0xb5ed93[_0xb92498(0x19c)](),_0x47d974[_0xb92498(0x5fa)]();}},_0x2172ad;}async[_0x519f42(0x192)](_0x19d60b,_0x47a69e){const _0x152f8b=_0x519f42;var _0x533c9e,_0x2a8527;const {unitType:_0x383823,unitID:_0xa827c6,changeset:_0x2d88fe}=_0x47a69e[_0x152f8b(0x2f1)],_0x11d093={'unitID':_0xa827c6,'memberID':_0x19d60b[_0x152f8b(0x563)],'type':_0x383823,'changeset':m[_0x152f8b(0x3cd)](_0x2d88fe)},_0x43ea42=this[_0x152f8b(0x193)][_0x152f8b(0x4ba)](Ci),_0x29d968=this[_0x152f8b(0x193)][_0x152f8b(0x4ba)](Z),_0x35851f=ln((_0x2a8527=(_0x533c9e=_0x29d968==null?void 0x0:_0x29d968['collabSubmitChangesetUrl'])!=null?_0x533c9e:_0x43ea42)!=null?_0x2a8527:nn,_0x383823,_0xa827c6);try{await this[_0x152f8b(0x58a)][_0x152f8b(0x627)](_0x35851f,{'body':_0x11d093});}catch(_0x5f4432){throw this[_0x152f8b(0x392)][_0x152f8b(0x1d8)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x5f4432;}}async[_0x519f42(0x20e)](_0x1b92ec){const _0x188417=_0x519f42,{unitID:_0x36634d,from:_0x598918,to:_0x835c42,unitType:_0x587f7d}=_0x1b92ec[_0x188417(0x2f1)];return(await this[_0x188417(0x5f7)][_0x188417(0x2bd)]({'metadata':void 0x0},{'unitID':_0x36634d,'type':_0x587f7d,'from':_0x598918,'to':_0x835c42}))[_0x188417(0x220)];}},exports[_0x519f42(0x1cb)]=cn([De(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),De(0x1,a['Inject'](z[_0x519f42(0x2d9)])),De(0x2,a[_0x519f42(0x4e5)]),De(0x3,a[_0x519f42(0x5eb)]),De(0x4,m[_0x519f42(0x433)])],exports['CollaborationSocketService']);const hn='collaboration_new_changeset';function _n(_0x44f475){const _0x455713=_0x519f42;return JSON[_0x455713(0x648)](_0x44f475)[_0x455713(0x53a)];}class wt{constructor(){const _0x3234b9=_0x519f42;I(this,_0x3234b9(0x1ea),new N['Subject']()),I(this,'commentUpdate$',this['_commentUpdate$'][_0x3234b9(0x20b)]());}[_0x519f42(0x50c)](_0x3fa85c){const _0x37526d=_0x519f42;this[_0x37526d(0x1ea)][_0x37526d(0x213)](_0x3fa85c);}}var un=Object[_0x519f42(0x360)],dn=Object[_0x519f42(0x544)],fn=(_0x163e7b,_0x152507,_0x22bc57,_0x3adc15)=>{for(var _0x5ec314=_0x3adc15>0x1?void 0x0:_0x3adc15?dn(_0x152507,_0x22bc57):_0x152507,_0x28d946=_0x163e7b['length']-0x1,_0xe60c9f;_0x28d946>=0x0;_0x28d946--)(_0xe60c9f=_0x163e7b[_0x28d946])&&(_0x5ec314=(_0x3adc15?_0xe60c9f(_0x152507,_0x22bc57,_0x5ec314):_0xe60c9f(_0x5ec314))||_0x5ec314);return _0x3adc15&&_0x5ec314&&un(_0x152507,_0x22bc57,_0x5ec314),_0x5ec314;},jt=(_0xa5efaf,_0x2e4c49)=>(_0x3ea1f7,_0x5a18dc)=>_0x2e4c49(_0x3ea1f7,_0x5a18dc,_0xa5efaf);exports['MemberService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x150ae7,_0x4c33f5){const _0x24e8ee=_0x519f42;super(),I(this,_0x24e8ee(0x53e),new Map()),(this[_0x24e8ee(0x403)]=_0x150ae7,this[_0x24e8ee(0x332)]=_0x4c33f5,this['disposeWithMe'](a[_0x24e8ee(0x503)](N['merge'](this['_univerInstanceService'][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x248)])[_0x24e8ee(0x641)](V[_0x24e8ee(0x444)](_0x5e274b=>_0x5e274b['getUnitId']())),this[_0x24e8ee(0x403)][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x249)])[_0x24e8ee(0x641)](V[_0x24e8ee(0x444)](_0x43462f=>_0x43462f[_0x24e8ee(0x238)]())),this[_0x24e8ee(0x403)][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x1a1)])['pipe'](V[_0x24e8ee(0x444)](_0x236a90=>_0x236a90['getUnitId']())))[_0x24e8ee(0x1db)](_0x44f5dc=>this[_0x24e8ee(0x1d3)](_0x44f5dc)))));}[_0x519f42(0x31b)](_0x537e17){const _0x34bf6f=_0x519f42;this[_0x34bf6f(0x332)]['setCurrentUser'](_0x537e17);}[_0x519f42(0x484)](){const _0x5a0b7e=_0x519f42;return this[_0x5a0b7e(0x332)][_0x5a0b7e(0x484)]();}[_0x519f42(0x25e)](_0x3eaa66,_0x5b6fa6){const _0xe0fe44=_0x519f42;let _0x3d055c=this[_0xe0fe44(0x53e)][_0xe0fe44(0x4a6)](_0x3eaa66);_0x3d055c||(_0x3d055c=new vn(),this[_0xe0fe44(0x53e)][_0xe0fe44(0x3e1)](_0x3eaa66,_0x3d055c)),_0x3d055c[_0xe0fe44(0x25e)](_0x5b6fa6);}[_0x519f42(0x247)](_0x4b5d72,_0x49a008){const _0x19bf2f=_0x519f42,_0x2f2196=this[_0x19bf2f(0x53e)]['get'](_0x4b5d72);_0x2f2196&&_0x2f2196[_0x19bf2f(0x247)](_0x49a008);}[_0x519f42(0x62b)](_0xc03e92){const _0x51b970=_0x519f42;return this[_0x51b970(0x53e)][_0x51b970(0x4a6)](_0xc03e92);}['getMember'](_0x263257,_0x2f4d39){const _0x4ec7d1=_0x519f42,_0x171c41=this[_0x4ec7d1(0x53e)][_0x4ec7d1(0x4a6)](_0x263257);if(_0x171c41)return _0x171c41['getMember'](_0x2f4d39);}[_0x519f42(0x1d3)](_0x4e97cd){const _0x19eeb2=_0x519f42,_0x426c20=this['_roomMembers'][_0x19eeb2(0x4a6)](_0x4e97cd);_0x426c20&&(_0x426c20[_0x19eeb2(0x5fa)](),this[_0x19eeb2(0x53e)][_0x19eeb2(0x203)](_0x4e97cd));}[_0x519f42(0x5fa)](){const _0x4f07f3=_0x519f42;this[_0x4f07f3(0x53e)][_0x4f07f3(0x24a)](_0x279c13=>_0x279c13['dispose']()),this[_0x4f07f3(0x53e)][_0x4f07f3(0x604)]();}},exports[_0x519f42(0x1f6)]=fn([jt(0x0,a[_0x519f42(0x4aa)]),jt(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x1aa)]))],exports['MemberService']);class vn extends a[_0x519f42(0x5f8)]{constructor(){super(...arguments),I(this,'_members',new Map());}['dispose'](){const _0x25300a=_0x519f42;this['_members'][_0x25300a(0x604)]();}['updateMember'](_0x5eeb91){const _0x5a1513=_0x519f42;this[_0x5a1513(0x1f4)][_0x5a1513(0x3e1)](_0x5eeb91[_0x5a1513(0x563)],_0x5eeb91);}[_0x519f42(0x247)](_0x15842b){const _0x12cf2f=_0x519f42;this[_0x12cf2f(0x1f4)][_0x12cf2f(0x203)](_0x15842b);}[_0x519f42(0x449)](_0x86a7cc){const _0x361026=_0x519f42;return this[_0x361026(0x1f4)][_0x361026(0x4a6)](_0x86a7cc);}[_0x519f42(0x49f)](){const _0x1e3e91=_0x519f42;return Array['from'](this['_members'][_0x1e3e91(0x426)]());}}var Sn=Object[_0x519f42(0x360)],pn=Object['getOwnPropertyDescriptor'],mn=(_0x213806,_0x14e08b,_0x189c32,_0x1f643f)=>{for(var _0x49cda2=_0x1f643f>0x1?void 0x0:_0x1f643f?pn(_0x14e08b,_0x189c32):_0x14e08b,_0x3a2766=_0x213806['length']-0x1,_0x1ddd2c;_0x3a2766>=0x0;_0x3a2766--)(_0x1ddd2c=_0x213806[_0x3a2766])&&(_0x49cda2=(_0x1f643f?_0x1ddd2c(_0x14e08b,_0x189c32,_0x49cda2):_0x1ddd2c(_0x49cda2))||_0x49cda2);return _0x1f643f&&_0x49cda2&&Sn(_0x14e08b,_0x189c32,_0x49cda2),_0x49cda2;},ue=(_0x28e359,_0xa17687)=>(_0x177d11,_0x210e56)=>_0xa17687(_0x177d11,_0x210e56,_0x28e359),ne=(_0x21675c=>(_0x21675c[_0x21675c[_0x519f42(0x56f)]=0x0]=_0x519f42(0x56f),_0x21675c[_0x21675c[_0x519f42(0x61c)]=0x1]='JOINING',_0x21675c[_0x21675c['OFFLINE']=0x2]='OFFLINE',_0x21675c[_0x21675c[_0x519f42(0x481)]=0x3]=_0x519f42(0x481),_0x21675c))(ne||{});const Ht={[ge[_0x519f42(0x35d)]]:_0x519f42(0x579),[ge[_0x519f42(0x37b)]]:_0x519f42(0x3db),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x519f42(0x181),[ge[_0x519f42(0x1b2)]]:_0x519f42(0x2eb),[ge[_0x519f42(0x534)]]:_0x519f42(0x4e9)};exports[_0x519f42(0x47d)]=class extends a[_0x519f42(0x275)]{constructor(_0x302fa2,_0x9e86ca,_0x4dcf42,_0x3b2165,_0x36ae0e,_0x264068,_0x4c85b2,_0xcedb05,_0x27cc2a,_0x5e6791){const _0x3227be=_0x519f42;super(),I(this,_0x3227be(0x1a8),new N[(_0x3227be(0x46f))](0x0)),I(this,'sessionStatus$',this[_0x3227be(0x1a8)][_0x3227be(0x20b)]()),I(this,_0x3227be(0x3ea),new N[(_0x3227be(0x3ec))]()),I(this,'event$',this[_0x3227be(0x3ea)]['asObservable']()),I(this,_0x3227be(0x250)),I(this,_0x3227be(0x450)),I(this,_0x3227be(0x389)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x3227be(0x1a6),null),(this[_0x3227be(0x564)]=_0x302fa2,this[_0x3227be(0x392)]=_0x4dcf42,this[_0x3227be(0x48d)]=_0x3b2165,this[_0x3227be(0x471)]=_0x36ae0e,this[_0x3227be(0x193)]=_0x264068,this['_localeService']=_0x4c85b2,this[_0x3227be(0x24e)]=_0xcedb05,this[_0x3227be(0x370)]=_0x27cc2a,this[_0x3227be(0x40e)]=_0x5e6791,this[_0x3227be(0x56d)]=!!this[_0x3227be(0x40e)],_0x9e86ca[_0x3227be(0x641)](N[_0x3227be(0x1e9)](this[_0x3227be(0x191)]))['subscribe'](_0x4e2116=>{const _0x5f4c3a=_0x3227be;var _0x204e46;typeof _0x4e2116>'u'||(this[_0x5f4c3a(0x250)]=_0x4e2116,_0x4e2116?(this['_joinRoom'](_0x4e2116),this[_0x5f4c3a(0x450)]=_0x4e2116['message$'][_0x5f4c3a(0x1db)](_0x9dbea7=>{const _0x38d908=_0x5f4c3a;_0x9dbea7[_0x38d908(0x1c7)]===this[_0x38d908(0x564)]&&this[_0x38d908(0x3fb)](_0x9dbea7);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5f4c3a(0x1a8)][_0x5f4c3a(0x213)](0x2),(_0x204e46=this['_socketMessageSubscription'])==null||_0x204e46[_0x5f4c3a(0x347)](),this[_0x5f4c3a(0x450)]=null));}),this['disposeWithMe'](this[_0x3227be(0x48d)][_0x3227be(0x1b5)](()=>{const _0x22d5bd=_0x3227be;var _0x503513;(_0x503513=this[_0x22d5bd(0x250)])==null||_0x503513[_0x22d5bd(0x2a8)]({'cmd':G[_0x22d5bd(0x5c1)],'data':{'roomID':this[_0x22d5bd(0x564)]}});})));}get[_0x519f42(0x36e)](){const _0x4b4b10=_0x519f42;return this[_0x4b4b10(0x1a8)]['getValue']();}[_0x519f42(0x2cd)](){const _0x3a5342=_0x519f42;var _0xb4a80f,_0x2eab45;return(_0x2eab45=(_0xb4a80f=this[_0x3a5342(0x250)])==null?void 0x0:_0xb4a80f[_0x3a5342(0x563)])!=null?_0x2eab45:null;}['dispose'](){const _0x3b7859=_0x519f42;super[_0x3b7859(0x5fa)](),this[_0x3b7859(0x191)]['next'](),this[_0x3b7859(0x191)][_0x3b7859(0x324)]();}[_0x519f42(0x19c)](){const _0x332966=_0x519f42;var _0x41aff1,_0x150e4e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x41aff1=this[_0x332966(0x250)])==null||_0x41aff1['send']({'cmd':G[_0x332966(0x5c1)],'data':{'roomID':this[_0x332966(0x564)]}}),(_0x150e4e=this[_0x332966(0x250)])==null||_0x150e4e['close'](),this[_0x332966(0x3ea)][_0x332966(0x324)](),this[_0x332966(0x1a8)][_0x332966(0x324)](),this[_0x332966(0x5fa)]();}[_0x519f42(0x3fb)](_0x684b60){const _0x55c6f3=_0x519f42;_0x684b60[_0x55c6f3(0x25c)]===G[_0x55c6f3(0x553)]?this[_0x55c6f3(0x38b)](_0x684b60):_0x684b60[_0x55c6f3(0x25c)]===G[_0x55c6f3(0x43e)]&&this[_0x55c6f3(0x27e)](_0x684b60);}[_0x519f42(0x3de)](_0x400c31){const _0x584542=_0x519f42;this[_0x584542(0x1a8)]['next'](0x1),_0x400c31[_0x584542(0x2a8)]({'cmd':G[_0x584542(0x553)],'routeKey':this[_0x584542(0x564)],'routeType':'','data':{'rooms':[{'roomID':this[_0x584542(0x564)]}]}});}[_0x519f42(0x38b)](_0x30ad1b){const _0x146903=_0x519f42;var _0x312f35;if(_0x30ad1b[_0x146903(0x615)]in Ht){this['_messageService'][_0x146903(0x1e6)]({'type':Ce[_0x146903(0x57a)]['Warning'],'content':this[_0x146903(0x52f)]['t'](Ht[_0x30ad1b[_0x146903(0x615)]])}),this[_0x146903(0x1a8)][_0x146903(0x213)](0x2);return;}this[_0x146903(0x1a8)][_0x146903(0x213)](0x3);const _0x3dfaa7=(_0x312f35=_0x30ad1b[_0x146903(0x2f1)][_0x146903(0x3d4)][this[_0x146903(0x564)]])==null?void 0x0:_0x312f35[_0x146903(0x285)];_0x3dfaa7&&_0x3dfaa7[_0x146903(0x24a)](_0x3ecd04=>this[_0x146903(0x24e)]['updateMember'](this[_0x146903(0x564)],_0x3ecd04));}[_0x519f42(0x27e)](_0x53c175){const _0x5c9638=_0x519f42;try{const _0x4028c8=_0x53c175[_0x5c9638(0x2f1)];switch(_0x4028c8[_0x5c9638(0x509)]){case m[_0x5c9638(0x3bc)][_0x5c9638(0x5b1)]:this[_0x5c9638(0x47f)](_0x4028c8),this['_event$'][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x41b)]:this['_onUserLeave'](_0x4028c8),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)]['CHANGESET_ACK']:case m[_0x5c9638(0x3bc)][_0x5c9638(0x5f1)]:this[_0x5c9638(0x5ee)](),this[_0x5c9638(0x325)](),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x3d3)]:this[_0x5c9638(0x392)][_0x5c9638(0x1d8)](_0x5c9638(0x1a9)+JSON[_0x5c9638(0x648)](_0x4028c8)),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x24d)]:this[_0x5c9638(0x370)][_0x5c9638(0x50c)](_0x4028c8[_0x5c9638(0x2f1)]),this[_0x5c9638(0x3ea)]['next'](_0x4028c8);break;default:this['_event$'][_0x5c9638(0x213)](_0x4028c8);}}catch(_0x394dad){this[_0x5c9638(0x392)]['error'](_0x394dad,_0x53c175);}}[_0x519f42(0x47f)](_0x234e10){const _0x5f2cca=_0x519f42;this[_0x5f2cca(0x24e)][_0x5f2cca(0x25e)](this[_0x5f2cca(0x564)],_0x234e10['data']);}[_0x519f42(0x453)](_0x37c7a6){const _0x16b0cb=_0x519f42;this['_memberService'][_0x16b0cb(0x247)](this[_0x16b0cb(0x564)],_0x37c7a6[_0x16b0cb(0x2f1)][_0x16b0cb(0x563)]);}async[_0x519f42(0x2a8)](_0x2c20c7,_0x586835){const _0x5172b8=_0x519f42;if(this[_0x5172b8(0x36e)]!==0x3||!this[_0x5172b8(0x250)])throw new Error(_0x5172b8(0x25b));try{_0x2c20c7[_0x5172b8(0x509)]===m['CollaborationEvent'][_0x5172b8(0x207)]&&(this[_0x5172b8(0x3f4)](),this[_0x5172b8(0x54a)](_0x2c20c7)),this[_0x5172b8(0x250)][_0x5172b8(0x2a8)]({'cmd':G['INGEST'],'routeKey':_0x586835,'routeType':'','data':_0x2c20c7});}catch(_0x442661){this[_0x5172b8(0x392)][_0x5172b8(0x1d8)](_0x442661);}}['_scheduleCollaborationTimeoutTimer'](){const _0xa2b85=_0x519f42;var _0xdb96d9;this[_0xa2b85(0x389)]=window[_0xa2b85(0x2e9)](()=>{const _0x5b7f22=_0xa2b85;this[_0x5b7f22(0x389)]=null,this['_messageService'][_0x5b7f22(0x1e6)]({'type':Ce[_0x5b7f22(0x57a)]['Error'],'content':this[_0x5b7f22(0x52f)]['t'](_0x5b7f22(0x3ac))});},(_0xdb96d9=this[_0xa2b85(0x193)][_0xa2b85(0x4ba)](Dt))!=null?_0xdb96d9:mi);}[_0x519f42(0x325)](){const _0x2c94f3=_0x519f42;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2c94f3(0x389)]),this[_0x2c94f3(0x389)]=null);}[_0x519f42(0x54a)](_0x47602d){const _0x5d5ab3=_0x519f42;if(!this[_0x5d5ab3(0x56d)])return;const {data:_0x5f1c1f}=_0x47602d,{unitID:_0x469784,changeset:_0x122141}=_0x5f1c1f,{mutations:_0x589f11,type:_0x342798}=_0x122141;this[_0x5d5ab3(0x1a6)]={'unitId':_0x469784,'type':_0x342798,'startTime':performance[_0x5d5ab3(0x59c)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x589f11)};}[_0x519f42(0x5ee)](){const _0xd7f085=_0x519f42;if(this[_0xd7f085(0x56d)]){if(!this[_0xd7f085(0x1a6)]){this[_0xd7f085(0x392)][_0xd7f085(0x1d8)](_0xd7f085(0x34a),_0xd7f085(0x531));return;}this[_0xd7f085(0x1a6)][_0xd7f085(0x4fd)]=performance['now'](),this[_0xd7f085(0x1a6)][_0xd7f085(0x593)]=this[_0xd7f085(0x1a6)][_0xd7f085(0x4fd)]-this['_telemetryInfo'][_0xd7f085(0x217)],this[_0xd7f085(0x40e)][_0xd7f085(0x5b3)](hn,this[_0xd7f085(0x1a6)]),this[_0xd7f085(0x1a6)]=null;}}[_0x519f42(0x5c8)](){this['_telemetryInfo']=null;}},exports[_0x519f42(0x47d)]=mn([ue(0x2,a[_0x519f42(0x5eb)]),ue(0x3,ee[_0x519f42(0x34b)]),ue(0x4,ee[_0x519f42(0x4c8)]),ue(0x5,a['IConfigService']),ue(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),ue(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x1f6)])),ue(0x8,a[_0x519f42(0x3b4)](wt)),ue(0x9,a['Optional'](Gi[_0x519f42(0x18c)]))],exports[_0x519f42(0x47d)]);var gn=Object[_0x519f42(0x360)],In=Object[_0x519f42(0x544)],Cn=(_0x13a20d,_0xb6c982,_0x2ca99f,_0x129d97)=>{const _0x3fd051=_0x519f42;for(var _0x16f496=_0x129d97>0x1?void 0x0:_0x129d97?In(_0xb6c982,_0x2ca99f):_0xb6c982,_0x5377dc=_0x13a20d[_0x3fd051(0x53a)]-0x1,_0x37b701;_0x5377dc>=0x0;_0x5377dc--)(_0x37b701=_0x13a20d[_0x5377dc])&&(_0x16f496=(_0x129d97?_0x37b701(_0xb6c982,_0x2ca99f,_0x16f496):_0x37b701(_0x16f496))||_0x16f496);return _0x129d97&&_0x16f496&&gn(_0xb6c982,_0x2ca99f,_0x16f496),_0x16f496;},Se=(_0x410bf6,_0x246fd3)=>(_0x1dc71b,_0x3b781e)=>_0x246fd3(_0x1dc71b,_0x3b781e,_0x410bf6);exports['CollaborationSessionService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x2eb8da,_0x625339,_0x52404c,_0x27ff84,_0x18ec8b,_0x2a20ba,_0x4260f0){const _0x480daf=_0x519f42;super(),I(this,_0x480daf(0x2a4),new N[(_0x480daf(0x46f))](void 0x0)),I(this,_0x480daf(0x273),this[_0x480daf(0x2a4)][_0x480daf(0x20b)]()),I(this,_0x480daf(0x371),null),I(this,_0x480daf(0x628),new Map()),I(this,_0x480daf(0x646),new N[(_0x480daf(0x46f))](ne[_0x480daf(0x56f)])),I(this,_0x480daf(0x227),this[_0x480daf(0x646)][_0x480daf(0x20b)]()),I(this,_0x480daf(0x1ee),!0x1),I(this,_0x480daf(0x1d0)),I(this,_0x480daf(0x5dc),0x0),I(this,_0x480daf(0x4e1)),I(this,'_timeoutTimer'),(this[_0x480daf(0x590)]=_0x2eb8da,this[_0x480daf(0x52f)]=_0x625339,this[_0x480daf(0x471)]=_0x52404c,this['_logService']=_0x27ff84,this[_0x480daf(0x193)]=_0x18ec8b,this[_0x480daf(0x4b8)]=_0x2a20ba,this[_0x480daf(0x2a1)]=_0x4260f0,this[_0x480daf(0x243)]());}get[_0x519f42(0x250)](){const _0x4dba4a=_0x519f42;return this['_socket$'][_0x4dba4a(0x489)]();}['_initEventListeners'](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x519f42(0x5fa)](){const _0x3badc4=_0x519f42;super['dispose'](),this['_sessions'][_0x3badc4(0x24a)](_0x12c33f=>_0x12c33f[_0x3badc4(0x5fa)]()),this[_0x3badc4(0x628)][_0x3badc4(0x604)](),this['_status$'][_0x3badc4(0x324)]();}async[_0x519f42(0x295)](_0x4dc429){const _0x34f2d1=_0x519f42;if(this[_0x34f2d1(0x628)][_0x34f2d1(0x443)](_0x4dc429))return this[_0x34f2d1(0x628)][_0x34f2d1(0x4a6)](_0x4dc429);this[_0x34f2d1(0x5d9)]();const _0x140912=this[_0x34f2d1(0x590)][_0x34f2d1(0x35c)](exports[_0x34f2d1(0x47d)],_0x4dc429,this[_0x34f2d1(0x2a4)]['asObservable']());return this[_0x34f2d1(0x628)][_0x34f2d1(0x3e1)](_0x4dc429,_0x140912),_0x140912;}['closeSession'](_0x254507){const _0x430dd7=_0x519f42;var _0x4e0ad1;const _0x4bb050=this['_sessions'][_0x430dd7(0x4a6)](_0x254507);_0x4bb050&&(this[_0x430dd7(0x628)][_0x430dd7(0x203)](_0x254507),_0x4bb050[_0x430dd7(0x19c)]()),this['_sessions']['size']||(_0x4e0ad1=this[_0x430dd7(0x250)])==null||_0x4e0ad1[_0x430dd7(0x19c)]();}[_0x519f42(0x4cc)](){const _0x297a57=_0x519f42;this[_0x297a57(0x5dc)]=0x0,this[_0x297a57(0x1d0)]!=null&&(clearTimeout(this[_0x297a57(0x1d0)]),this['_retryConnectingTimer']=null),this[_0x297a57(0x4df)]();}async['_getSessionTicket'](){const _0x57aa90=_0x519f42;var _0x284015,_0x342ba9,_0x47e24a;const _0x242c78=this[_0x57aa90(0x193)][_0x57aa90(0x4ba)](Z),_0x28f300=(_0x284015=_0x242c78==null?void 0x0:_0x242c78[_0x57aa90(0x613)])!=null?_0x284015:Ji;return(_0x47e24a=(_0x342ba9=(await this['_httpService'][_0x57aa90(0x4a6)](_0x28f300,{'headers':{'Content-Type':_0x57aa90(0x368)}}))['body'])==null?void 0x0:_0x342ba9[_0x57aa90(0x56e)])!=null?_0x47e24a:'';}[_0x519f42(0x56b)](_0x24f9ad){const _0x11986d=_0x519f42;var _0x4cb390,_0x18b11;const _0x2a8ae1=this[_0x11986d(0x193)][_0x11986d(0x4ba)](Si),_0x587647=this[_0x11986d(0x193)][_0x11986d(0x4ba)](Z),_0x309f3c=(_0x18b11=(_0x4cb390=_0x587647==null?void 0x0:_0x587647[_0x11986d(0x56c)])!=null?_0x4cb390:_0x2a8ae1)!=null?_0x18b11:Xi,_0x53286d=new URL(_0x309f3c,window[_0x11986d(0x376)]['origin']);return _0x53286d['searchParams'][_0x11986d(0x3e1)](_0x11986d(0x423),_0x24f9ad),_0x53286d[_0x11986d(0x1a0)]();}async[_0x519f42(0x27c)](){const _0x5706cd=_0x519f42,_0xce1327=await this[_0x5706cd(0x5b0)](),_0x3b0abb=this['_createSocketURL'](_0xce1327),_0x50f5be=this[_0x5706cd(0x4b8)]['createSocket'](_0x3b0abb);return this[_0x5706cd(0x371)]=_0x50f5be,_0x50f5be;}async[_0x519f42(0x5d9)](){const _0xb8e9df=_0x519f42;var _0x111b32,_0xf0724f;try{const _0x1c6e3b=(_0xf0724f=(_0x111b32=this['_socket'])!=null?_0x111b32:this[_0xb8e9df(0x371)])!=null?_0xf0724f:await this[_0xb8e9df(0x27c)]();if(_0x1c6e3b){const _0x4b26ad=_0x1c6e3b[_0xb8e9df(0x2a8)];_0x1c6e3b[_0xb8e9df(0x2a8)]=_0x2908b3=>(this['_rescheduleHeartbeat'](),_0x4b26ad[_0xb8e9df(0x52e)](_0x1c6e3b,[_0x2908b3])),_0x1c6e3b[_0xb8e9df(0x2b9)][_0xb8e9df(0x1db)](_0x2fc30a=>this[_0xb8e9df(0x621)](_0x1c6e3b,_0x2fc30a)),_0x1c6e3b['error$'][_0xb8e9df(0x641)](V['take'](0x1))[_0xb8e9df(0x1db)](_0x45431d=>this[_0xb8e9df(0x392)][_0xb8e9df(0x1d8)](_0xb8e9df(0x18a),_0x45431d)),_0x1c6e3b['open$'][_0xb8e9df(0x641)](V[_0xb8e9df(0x292)](0x1))[_0xb8e9df(0x1db)](()=>{const _0x413a9c=_0xb8e9df;this[_0x413a9c(0x252)](_0x1c6e3b);}),_0x1c6e3b[_0xb8e9df(0x57c)][_0xb8e9df(0x641)](V['take'](0x1))[_0xb8e9df(0x1db)](_0x527ba9=>{const _0x49f790=_0xb8e9df;this['_logService'][_0x49f790(0x408)](_0x49f790(0x617),_0x49f790(0x5a6),_0x527ba9),this[_0x49f790(0x1be)]();});}}catch(_0x2fb5f8){this[_0xb8e9df(0x392)][_0xb8e9df(0x1d8)](_0x2fb5f8),this[_0xb8e9df(0x1be)]();}}[_0x519f42(0x252)](_0x2a6a65){const _0x29dec4=_0x519f42;this[_0x29dec4(0x392)][_0x29dec4(0x408)](_0x29dec4(0x617),_0x29dec4(0x415)),_0x2a6a65[_0x29dec4(0x2a8)]({'cmd':G['HELLO']}),this[_0x29dec4(0x48f)]();}[_0x519f42(0x5c5)](){const _0x48ebc1=_0x519f42;window[_0x48ebc1(0x60a)](_0x48ebc1(0x574),()=>this[_0x48ebc1(0x486)]());}[_0x519f42(0x486)](){const _0x312dac=_0x519f42;this[_0x312dac(0x1ee)]=!0x1,this[_0x312dac(0x371)]=null,this[_0x312dac(0x646)][_0x312dac(0x213)](ne[_0x312dac(0x419)]),this[_0x312dac(0x2a4)][_0x312dac(0x213)](null),this['_clearTimeoutTimer'](),this[_0x312dac(0x581)]();}[_0x519f42(0x1be)](){const _0x269b8a=_0x519f42;var _0x4473ce;this['_onOffline'](),this[_0x269b8a(0x5dc)]<((_0x4473ce=this[_0x269b8a(0x193)][_0x269b8a(0x4ba)](gi))!=null?_0x4473ce:en)?(this[_0x269b8a(0x471)]['show']({'key':'collaboration-session-retry','type':Ce[_0x269b8a(0x57a)][_0x269b8a(0x598)],'content':this[_0x269b8a(0x52f)]['t'](_0x269b8a(0x4c6))}),this['_tryReconnect']()):this['_messageService']['show']({'key':'collaboration-session-retry','type':Ce[_0x269b8a(0x57a)][_0x269b8a(0x45a)],'content':this['_localeService']['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x5e9361=_0x519f42,_0xf9b2d4=()=>{const _0x30b9d3=_0x3f43;this[_0x30b9d3(0x250)]||this[_0x30b9d3(0x4cc)]();},_0x502b80=()=>{const _0x5c2da6=_0x3f43;this[_0x5c2da6(0x250)]||document['visibilityState']==='hidden'||this[_0x5c2da6(0x4cc)]();};window[_0x5e9361(0x60a)](_0x5e9361(0x306),_0xf9b2d4),document[_0x5e9361(0x60a)](_0x5e9361(0x258),_0x502b80);}[_0x519f42(0x4df)](){const _0x87202b=_0x519f42;var _0x119c0c;const _0x183deb=this['_retryCount'],_0x182f0b=this['_configService'][_0x87202b(0x4ba)](Z),_0x23bde6=_0x183deb===0x0?0x0:((_0x119c0c=_0x182f0b==null?void 0x0:_0x182f0b[_0x87202b(0x388)])!=null?_0x119c0c:Qi)*0x2**_0x183deb;this[_0x87202b(0x1d0)]=window[_0x87202b(0x2e9)](()=>{const _0xe05e3=_0x87202b;clearTimeout(this[_0xe05e3(0x1d0)]),this[_0xe05e3(0x1d0)]=null,this[_0xe05e3(0x5d9)]();},_0x23bde6),this[_0x87202b(0x5dc)]+=0x1;}[_0x519f42(0x621)](_0x295b22,_0x3adcae){const _0x13d459=_0x519f42,{cmd:_0x302344}=_0x3adcae;_0x302344===G[_0x13d459(0x441)]&&!this['_socketReady']&&(_0x295b22[_0x13d459(0x563)]=_0x3adcae[_0x13d459(0x2f1)]['memberID'],this[_0x13d459(0x2a4)][_0x13d459(0x213)](_0x295b22),this[_0x13d459(0x646)][_0x13d459(0x213)](ne[_0x13d459(0x481)]),this[_0x13d459(0x1ee)]=!0x0,this['_candidateSocket']=null),_0x302344===G[_0x13d459(0x225)]&&this[_0x13d459(0x5d8)](),this[_0x13d459(0x48f)]();}[_0x519f42(0x48f)](){const _0x30f2ff=_0x519f42;var _0x4789e3;this[_0x30f2ff(0x581)](),this[_0x30f2ff(0x4e1)]=window[_0x30f2ff(0x2e9)](()=>this['_sendHeartbeat'](),(_0x4789e3=this['_configService'][_0x30f2ff(0x4ba)](pi))!=null?_0x4789e3:Zi);}['_sendHeartbeat'](){const _0x42e6b3=_0x519f42;this[_0x42e6b3(0x250)][_0x42e6b3(0x2a8)]({'cmd':G['HEARTBEAT']}),this[_0x42e6b3(0x40b)]();}['_waitForHeartbeatResponse'](){const _0x4f5e29=_0x519f42;var _0x31a266;this['_timeoutTimer']=window[_0x4f5e29(0x2e9)](()=>this['_onConnectionFailed'](),(_0x31a266=this[_0x4f5e29(0x193)][_0x4f5e29(0x4ba)](Dt))!=null?_0x31a266:mi);}[_0x519f42(0x581)](){const _0x14a948=_0x519f42;this[_0x14a948(0x4e1)]!=null&&(clearTimeout(this[_0x14a948(0x4e1)]),this[_0x14a948(0x4e1)]=null);}[_0x519f42(0x5d8)](){const _0x1a1551=_0x519f42;this[_0x1a1551(0x49c)]!=null&&(clearTimeout(this[_0x1a1551(0x49c)]),this[_0x1a1551(0x49c)]=null);}},exports[_0x519f42(0x4ae)]=Cn([Se(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Se(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),Se(0x2,ee[_0x519f42(0x4c8)]),Se(0x3,a[_0x519f42(0x5eb)]),Se(0x4,a['IConfigService']),Se(0x5,Pt),Se(0x6,a['Inject'](z[_0x519f42(0x623)]))],exports[_0x519f42(0x4ae)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x519f42(0x205)]((r+0x100)[_0x519f42(0x1a0)](0x10)[_0x519f42(0x428)](0x1));function En(_0x5a0c45,_0x446692=0x0){const _0x5f48f0=_0x519f42;return(q[_0x5a0c45[_0x446692+0x0]]+q[_0x5a0c45[_0x446692+0x1]]+q[_0x5a0c45[_0x446692+0x2]]+q[_0x5a0c45[_0x446692+0x3]]+'-'+q[_0x5a0c45[_0x446692+0x4]]+q[_0x5a0c45[_0x446692+0x5]]+'-'+q[_0x5a0c45[_0x446692+0x6]]+q[_0x5a0c45[_0x446692+0x7]]+'-'+q[_0x5a0c45[_0x446692+0x8]]+q[_0x5a0c45[_0x446692+0x9]]+'-'+q[_0x5a0c45[_0x446692+0xa]]+q[_0x5a0c45[_0x446692+0xb]]+q[_0x5a0c45[_0x446692+0xc]]+q[_0x5a0c45[_0x446692+0xd]]+q[_0x5a0c45[_0x446692+0xe]]+q[_0x5a0c45[_0x446692+0xf]])[_0x5f48f0(0x365)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x37872d=_0x519f42;if(!lt){if(typeof crypto>'u'||!crypto[_0x37872d(0x267)])throw new Error(_0x37872d(0x3d9));lt=crypto[_0x37872d(0x267)][_0x37872d(0x255)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto[_0x519f42(0x60c)]&&crypto[_0x519f42(0x60c)]['bind'](crypto),Bt={'randomUUID':Rn};function On(_0x58b4c0,_0x31a764,_0x42d095){const _0x397d08=_0x519f42;if(Bt['randomUUID']&&!_0x31a764&&!_0x58b4c0)return Bt['randomUUID']();_0x58b4c0=_0x58b4c0||{};const _0x38f593=_0x58b4c0[_0x397d08(0x351)]||(_0x58b4c0[_0x397d08(0x48c)]||Tn)();return _0x38f593[0x6]=_0x38f593[0x6]&0xf|0x40,_0x38f593[0x8]=_0x38f593[0x8]&0x3f|0x80,En(_0x38f593);}var yn=Object[_0x519f42(0x360)],Dn=Object[_0x519f42(0x544)],Pn=(_0x97a5b4,_0x2e9a38,_0x530a24,_0xa683b5)=>{const _0x30239b=_0x519f42;for(var _0xdbef4d=_0xa683b5>0x1?void 0x0:_0xa683b5?Dn(_0x2e9a38,_0x530a24):_0x2e9a38,_0x834d0e=_0x97a5b4[_0x30239b(0x53a)]-0x1,_0x4bc182;_0x834d0e>=0x0;_0x834d0e--)(_0x4bc182=_0x97a5b4[_0x834d0e])&&(_0xdbef4d=(_0xa683b5?_0x4bc182(_0x2e9a38,_0x530a24,_0xdbef4d):_0x4bc182(_0xdbef4d))||_0xdbef4d);return _0xa683b5&&_0xdbef4d&&yn(_0x2e9a38,_0x530a24,_0xdbef4d),_0xdbef4d;},ht=(_0x7e428e,_0x4c919f)=>(_0x46d118,_0x6cfdd0)=>_0x4c919f(_0x46d118,_0x6cfdd0,_0x7e428e);let Ze=class{constructor(_0x26f2cf,_0x5705d0,_0x2c4465){const _0xcde44f=_0x519f42;this[_0xcde44f(0x590)]=_0x26f2cf,this[_0xcde44f(0x2b6)]=_0x5705d0,this[_0xcde44f(0x42c)]=_0x2c4465;}[_0x519f42(0x4bc)](_0xffb958){const _0x19bdef=_0x519f42;this[_0x19bdef(0x4f6)](_0xffb958),this['_transformPreviousActiveRange'](_0xffb958);}[_0x519f42(0x5ce)](_0x11f661){const _0x112926=_0x519f42,{unitID:_0x2e9b1b}=_0x11f661,_0x1aa200=this[_0x112926(0x42c)][_0x112926(0x5f4)](_0x2e9b1b)[_0x112926(0x395)](J[_0x112926(0x63e)]),{redoCache:_0x3f6f6c}=_0x1aa200['getUndoRedoMutationParamsCache']();if(_0x3f6f6c[_0x112926(0x53a)]===0x0)return _0x11f661;let _0x341e77=a[_0x112926(0x2c8)]['deepClone'](_0x11f661[_0x112926(0x4af)][0x0]);for(let _0xea81dd=0x0;_0xea81dd<_0x3f6f6c[_0x112926(0x53a)];_0xea81dd++){const _0x16c0b3={'id':_0x112926(0x5d5),'params':{..._0x3f6f6c[_0xea81dd]}},_0x5f13da=this['_transformService'][_0x112926(0x18f)](_0x341e77,_0x16c0b3,!0x1);if(m[_0x112926(0x447)](_0x5f13da))throw _0x5f13da[_0x112926(0x1d8)];_0x341e77=_0x5f13da[_0x112926(0x5fb)];}return{...a[_0x112926(0x2c8)][_0x112926(0x244)](_0x11f661),'mutations':[_0x341e77]};}[_0x519f42(0x4f6)](_0x10ea18){const _0x1fd470=_0x519f42,{unitID:_0x1fdcc6}=_0x10ea18,_0x321d7f=this[_0x1fd470(0x42c)][_0x1fd470(0x5f4)](_0x1fdcc6)[_0x1fd470(0x395)](J['DocIMEInputManagerService']),{undoCache:_0x487e08,redoCache:_0x31c6b9}=_0x321d7f['getUndoRedoMutationParamsCache']();if(_0x487e08[_0x1fd470(0x53a)]===0x0||_0x31c6b9[_0x1fd470(0x53a)]===0x0)return;const _0x263bbb=[],_0x49093=[];let _0xeefb43=a[_0x1fd470(0x2c8)][_0x1fd470(0x244)](_0x10ea18[_0x1fd470(0x4af)][0x0]),_0xde8b23=a[_0x1fd470(0x2c8)]['deepClone'](_0x10ea18['mutations'][0x0]);for(let _0xceb1f2=_0x487e08[_0x1fd470(0x53a)]-0x1;_0xceb1f2>=0x0;_0xceb1f2--){const _0x527899={'id':_0x1fd470(0x5d5),'params':{..._0x487e08[_0xceb1f2]}},_0x4f546e={'id':_0x1fd470(0x5d5),'params':{..._0x31c6b9[_0xceb1f2]}},_0xc24e45=this['_transformService'][_0x1fd470(0x18f)](_0xeefb43,_0x527899,!0x1),_0x4fb282=this['_transformService'][_0x1fd470(0x18f)](_0xde8b23,_0x4f546e,!0x1);if(m[_0x1fd470(0x447)](_0xc24e45))throw _0xc24e45['error'];if(m['isTransformMutationFailure'](_0x4fb282))throw _0x4fb282['error'];_0x263bbb['unshift'](_0xc24e45[_0x1fd470(0x20d)][_0x1fd470(0x322)]),_0x49093[_0x1fd470(0x5ff)](_0x4fb282['m2Prime'][_0x1fd470(0x322)]),_0xeefb43=_0xc24e45[_0x1fd470(0x5fb)],_0xde8b23=_0x4fb282[_0x1fd470(0x5fb)];}_0x321d7f[_0x1fd470(0x383)]({'undoCache':_0x263bbb,'redoCache':_0x49093});}[_0x519f42(0x630)](_0x290c43){const _0x676ddd=_0x519f42,{unitID:_0x5349db}=_0x290c43,_0x357287=this['_renderManagerService'][_0x676ddd(0x5f4)](_0x5349db)[_0x676ddd(0x395)](J[_0x676ddd(0x63e)]),_0x25f827=_0x357287[_0x676ddd(0x508)]();if(_0x25f827==null)return;const _0x43c450=[{'id':_0x676ddd(0x5d5),'params':{'unitId':_0x290c43['unitID'],'actions':null,'textRanges':[_0x25f827]}}],_0x4814ba=this[_0x676ddd(0x2b6)][_0x676ddd(0x187)](_0x290c43,_0x43c450);if(!m['isTransformMutationsWithChangesetSuccess'](_0x4814ba))throw _0x4814ba[_0x676ddd(0x1d8)];const _0x56a291=_0x4814ba[_0x676ddd(0x20d)][0x0][_0x676ddd(0x322)][_0x676ddd(0x1e0)];Array[_0x676ddd(0x5f2)](_0x56a291)&&_0x56a291['length']&&_0x357287[_0x676ddd(0x50e)](_0x56a291[0x0]);}};Ze=Pn([ht(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),ht(0x1,m[_0x519f42(0x562)]),ht(0x2,Y[_0x519f42(0x479)])],Ze);var wn=Object[_0x519f42(0x360)],Un=Object['getOwnPropertyDescriptor'],Mn=(_0x5280f7,_0x24bf73,_0x2f7718,_0x1c1b33)=>{const _0x64a2e=_0x519f42;for(var _0x3f02d4=_0x1c1b33>0x1?void 0x0:_0x1c1b33?Un(_0x24bf73,_0x2f7718):_0x24bf73,_0x20147d=_0x5280f7[_0x64a2e(0x53a)]-0x1,_0xd48e27;_0x20147d>=0x0;_0x20147d--)(_0xd48e27=_0x5280f7[_0x20147d])&&(_0x3f02d4=(_0x1c1b33?_0xd48e27(_0x24bf73,_0x2f7718,_0x3f02d4):_0xd48e27(_0x3f02d4))||_0x3f02d4);return _0x1c1b33&&_0x3f02d4&&wn(_0x24bf73,_0x2f7718,_0x3f02d4),_0x3f02d4;},Pe=(_0x1d48ca,_0x41ac45)=>(_0x1a4e6f,_0x2c7812)=>_0x41ac45(_0x1a4e6f,_0x2c7812,_0x1d48ca);exports[_0x519f42(0x467)]=class extends a['Disposable']{constructor(_0x2b60d5,_0x4182cf,_0xfc5ba5,_0x3716b6,_0x102d2a){const _0x4fb5d0=_0x519f42;super(),I(this,_0x4fb5d0(0x62c),new Map()),I(this,_0x4fb5d0(0x501),new Map()),I(this,_0x4fb5d0(0x4f7),!0x1),(this[_0x4fb5d0(0x193)]=_0x2b60d5,this[_0x4fb5d0(0x4a7)]=_0x4182cf,this[_0x4fb5d0(0x48d)]=_0xfc5ba5,this[_0x4fb5d0(0x52f)]=_0x3716b6,this[_0x4fb5d0(0x3c7)]=_0x102d2a,this[_0x4fb5d0(0x283)]());}[_0x519f42(0x5de)](){this['_disabled']=!0x0;}[_0x519f42(0x299)](){const _0x6c57b9=_0x519f42;this[_0x6c57b9(0x4f7)]=!0x1;}[_0x519f42(0x5fa)](){const _0x561cc6=_0x519f42;this[_0x561cc6(0x649)]()[_0x561cc6(0x5b5)](()=>super[_0x561cc6(0x5fa)]());}async[_0x519f42(0x39f)](_0x1b5135){const _0x2253e1=_0x519f42;return this[_0x2253e1(0x4f7)]?null:this['_localStorageService'][_0x2253e1(0x446)](kt(_0x1b5135));}async['saveOfflineData'](_0x5883f5,_0x1630f3){const _0xa00960=_0x519f42;return!!this['_localStorageService'][_0xa00960(0x1fd)](_0x5883f5,_0x1630f3);}[_0x519f42(0x21e)](_0x48eb29,_0x11bfea,_0x15fcd9,_0x356465){const _0x9f74b1=_0x519f42,_0x38abf9=this[_0x9f74b1(0x3c7)][_0x9f74b1(0x35e)](_0x48eb29);this[_0x9f74b1(0x62c)][_0x9f74b1(0x3e1)](_0x48eb29,{'unitID':_0x48eb29,'type':_0x11bfea,'awaitingChangeset':_0x15fcd9,'mutations':_0x356465,'rev':_0x38abf9}),this[_0x9f74b1(0x501)][_0x9f74b1(0x443)](_0x48eb29)||this['_scheduleSaving'](_0x48eb29);}[_0x519f42(0x3a9)](_0xa1a02){const _0x587e51=_0x519f42,_0x10db33=this[_0x587e51(0x430)]();_0x10db33===0x0?this[_0x587e51(0x416)](_0xa1a02):this[_0x587e51(0x501)]['set'](_0xa1a02,setTimeout(()=>this[_0x587e51(0x416)](_0xa1a02),_0x10db33));}[_0x519f42(0x430)](){const _0x169118=_0x519f42;var _0x25fafa;return(_0x25fafa=this[_0x169118(0x193)][_0x169118(0x4ba)](Ii))!=null?_0x25fafa:tn;}[_0x519f42(0x416)](_0x57137a){const _0x3c2016=_0x519f42,_0x298d01=this['_saveTaskMap'][_0x3c2016(0x4a6)](_0x57137a);return _0x298d01!==void 0x0&&window[_0x3c2016(0x236)](_0x298d01),this[_0x3c2016(0x4a7)][_0x3c2016(0x1fd)](kt(_0x57137a),this[_0x3c2016(0x62c)][_0x3c2016(0x4a6)](_0x57137a))[_0x3c2016(0x5b5)](()=>this[_0x3c2016(0x501)][_0x3c2016(0x203)](_0x57137a));}async[_0x519f42(0x649)](){const _0x3ff383=_0x519f42,_0x5aac97=[];this[_0x3ff383(0x501)][_0x3ff383(0x24a)]((_0x57a23e,_0x266f73)=>{const _0x121637=_0x3ff383;window[_0x121637(0x236)](_0x57a23e),_0x5aac97['push'](this['_saveCache'](_0x266f73)['then'](()=>{const _0x4c9ab0=_0x121637;this[_0x4c9ab0(0x501)][_0x4c9ab0(0x203)](_0x266f73);}));}),await Promise[_0x3ff383(0x335)](_0x5aac97);}[_0x519f42(0x283)](){const _0x5d5139=_0x519f42;this['disposeWithMe'](this[_0x5d5139(0x48d)][_0x5d5139(0x390)](()=>{const _0x4fef8e=_0x5d5139;if(this['_saveTaskMap'][_0x4fef8e(0x542)])return this[_0x4fef8e(0x52f)]['t'](_0x4fef8e(0x1f5));}));}},exports['LocalCacheService']=Mn([Pe(0x0,a[_0x519f42(0x4e5)]),Pe(0x1,a[_0x519f42(0x2f0)]),Pe(0x2,ee[_0x519f42(0x34b)]),Pe(0x3,a['Inject'](a[_0x519f42(0x609)])),Pe(0x4,a['Inject'](m['RevisionService']))],exports['LocalCacheService']);function kt(_0x128537){const _0x44ef48=_0x519f42;return _0x44ef48(0x307)+_0x128537;}var Nn=Object['defineProperty'],An=Object[_0x519f42(0x544)],Ln=(_0x5175d7,_0x191a63,_0x2a8dca,_0x4b813d)=>{const _0x4eaea3=_0x519f42;for(var _0x141792=_0x4b813d>0x1?void 0x0:_0x4b813d?An(_0x191a63,_0x2a8dca):_0x191a63,_0x49fcd7=_0x5175d7[_0x4eaea3(0x53a)]-0x1,_0x7798e9;_0x49fcd7>=0x0;_0x49fcd7--)(_0x7798e9=_0x5175d7[_0x49fcd7])&&(_0x141792=(_0x4b813d?_0x7798e9(_0x191a63,_0x2a8dca,_0x141792):_0x7798e9(_0x141792))||_0x141792);return _0x4b813d&&_0x141792&&Nn(_0x191a63,_0x2a8dca,_0x141792),_0x141792;},_t=(_0x451bc1,_0x493bb7)=>(_0xd39da6,_0x35983e)=>_0x493bb7(_0xd39da6,_0x35983e,_0x451bc1);function xn(_0x3614ef){const {unitID:_0x2e7c71,mutations:_0x94c05d}=_0x3614ef;return{'unitId':_0x2e7c71,'subUnitId':_0x94c05d[0x0]['params']['subUnitId']};}let Qe=class{constructor(_0x2cd35a,_0x58b650,_0x4201ac){const _0x4795ed=_0x519f42;this[_0x4795ed(0x590)]=_0x2cd35a,this[_0x4795ed(0x2b6)]=_0x58b650,this[_0x4795ed(0x32c)]=_0x4201ac;}[_0x519f42(0x35b)](_0x533362){const _0x4f7812=_0x519f42;var _0xfae88a,_0x4506b2,_0x5d9bc2,_0x18e365;const _0x48a382=this[_0x4f7812(0x590)][_0x4f7812(0x4a6)](k['SheetsSelectionsService']),{unitId:_0x545584,subUnitId:_0x1a8992}=xn(_0x533362),_0x49e61=_0x48a382['getWorkbookSelections'](_0x545584)[_0x4f7812(0x1d6)](),_0x37f643=(_0x4506b2=(_0xfae88a=this[_0x4f7812(0x32c)]['getUnit'](_0x545584))==null?void 0x0:_0xfae88a[_0x4f7812(0x5fc)]())==null?void 0x0:_0x4506b2[_0x4f7812(0x584)]();if(_0x49e61['length']===0x0||!_0x545584||!_0x1a8992)return;const _0x451c58=[{'id':k[_0x4f7812(0x4bd)]['id'],'params':{'unitId':_0x545584,'subUnitId':_0x37f643,'selections':a[_0x4f7812(0x2c8)][_0x4f7812(0x244)](_0x49e61)}}],_0x2e35a2=this[_0x4f7812(0x2b6)]['transformMutationsWithChangeset'](_0x533362,_0x451c58);if(!m[_0x4f7812(0x60d)](_0x2e35a2))throw _0x2e35a2[_0x4f7812(0x1d8)];const _0x3ca33d=(_0x18e365=(_0x5d9bc2=_0x2e35a2[_0x4f7812(0x20d)][0x0])==null?void 0x0:_0x5d9bc2[_0x4f7812(0x322)])==null?void 0x0:_0x18e365[_0x4f7812(0x515)];if(Array[_0x4f7812(0x5f2)](_0x3ca33d)&&_0x3ca33d[_0x4f7812(0x53a)]){if(_0x3ca33d[_0x4f7812(0x53a)]===_0x451c58[0x0][_0x4f7812(0x322)][_0x4f7812(0x515)]['length']&&_0x3ca33d[_0x4f7812(0x3c1)]((_0x1936ba,_0x232b82)=>a[_0x4f7812(0x3f5)][_0x4f7812(0x5d3)](_0x1936ba['range'],_0x451c58[0x0][_0x4f7812(0x322)]['selections'][_0x232b82][_0x4f7812(0x400)])))return;this[_0x4f7812(0x590)][_0x4f7812(0x4a6)](a[_0x4f7812(0x3e8)])[_0x4f7812(0x237)](k[_0x4f7812(0x4bd)]['id'],{'unitId':_0x545584,'subUnitId':_0x37f643,'selections':_0x3ca33d});}}};Qe=Ln([_t(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),_t(0x1,m[_0x519f42(0x562)]),_t(0x2,a[_0x519f42(0x4aa)])],Qe);const at=a[_0x519f42(0x3c8)](_0x519f42(0x5dd));var yi=(_0xb1bf4b=>(_0xb1bf4b[_0xb1bf4b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x519f42(0x189),_0xb1bf4b[_0xb1bf4b[_0x519f42(0x4f3)]=0x1]=_0x519f42(0x4f3),_0xb1bf4b))(yi||{});const Wt=0x7530,Ft='ACTIVE_UNIT_EVENT_CHANNEL';class $n extends a['Disposable']{constructor(){const _0x28eef8=_0x519f42;super(),I(this,'_id',a['Tools'][_0x28eef8(0x472)]()),I(this,_0x28eef8(0x421),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x28eef8(0x1ff),null),I(this,_0x28eef8(0x2e4),new Map()),I(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x5b8c67=_0x519f42;super[_0x5b8c67(0x5fa)](),this['_clearOtherTimers'][_0x5b8c67(0x24a)]((_0x5cbaf6,_0x3b37bb)=>this[_0x5b8c67(0x600)](_0x3b37bb)),this[_0x5b8c67(0x1ff)]&&window[_0x5b8c67(0x477)](this['_heartbeatTimer']);}[_0x519f42(0x552)](_0x4e7bce){const _0x579832=_0x519f42;return this[_0x579832(0x19a)](_0x4e7bce)[_0x579832(0x641)](N[_0x579832(0x4ff)]());}[_0x519f42(0x401)](_0x2b15f8){const _0x953e53=_0x519f42;this[_0x953e53(0x421)]['size']===0x0&&this[_0x953e53(0x5d0)](),this[_0x953e53(0x421)]['add'](_0x2b15f8),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2b15f8],'isForwarded':!0x1});}[_0x519f42(0x40f)](_0xfd009){const _0x4adf24=_0x519f42;this[_0x4adf24(0x421)][_0x4adf24(0x203)](_0xfd009),this[_0x4adf24(0x421)]['size']===0x0&&this[_0x4adf24(0x1ff)]&&window[_0x4adf24(0x477)](this[_0x4adf24(0x1ff)]);}['_init'](){const _0xe28dcd=_0x519f42;this[_0xe28dcd(0x5db)](a['toDisposable'](N['fromEvent'](window,_0xe28dcd(0x577))[_0xe28dcd(0x1db)](_0x9378a8=>{const _0x49bc3e=_0xe28dcd;if(_0x9378a8[_0x49bc3e(0x2aa)]!==Ft||!_0x9378a8[_0x49bc3e(0x2ad)])return;const _0x2377d6=JSON[_0x49bc3e(0x2f6)](_0x9378a8[_0x49bc3e(0x2ad)]);this[_0x49bc3e(0x1e3)](_0x2377d6);}))),window['addEventListener'](_0xe28dcd(0x514),()=>this['_send']({'type':0x1,'memberID':this[_0xe28dcd(0x568)],'unitIDs':Array[_0xe28dcd(0x3fe)](this[_0xe28dcd(0x421)])}));}[_0x519f42(0x1e3)](_0x3dfc6b){const _0x3facba=_0x519f42;switch(_0x3dfc6b[_0x3facba(0x1d1)]){case 0x0:this[_0x3facba(0x4e3)](_0x3dfc6b);break;case 0x1:this[_0x3facba(0x2dc)](_0x3dfc6b);break;case 0x2:this[_0x3facba(0x5d6)](_0x3dfc6b);break;}}[_0x519f42(0x4e3)](_0x50cf13){const _0x5462d4=_0x519f42,{unitIDs:_0x58b8f9,memberID:_0x198d70,isForwarded:_0x49475a}=_0x50cf13;_0x58b8f9[_0x5462d4(0x24a)](_0x1eee36=>{const _0x54056d=_0x5462d4;if(!_0x49475a&&this['_unitOnClients'][_0x54056d(0x443)](_0x1eee36)&&this[_0x54056d(0x19a)](_0x1eee36)[_0x54056d(0x213)](0x1),!this[_0x54056d(0x374)][_0x54056d(0x443)](_0x1eee36)||!this[_0x54056d(0x374)][_0x54056d(0x4a6)](_0x1eee36)[_0x54056d(0x443)](_0x198d70)){const _0x5dfe3a=this[_0x54056d(0x374)][_0x54056d(0x4a6)](_0x1eee36)||new Set();_0x5dfe3a[_0x54056d(0x556)](_0x198d70),this['_unitOnClients'][_0x54056d(0x3e1)](_0x1eee36,_0x5dfe3a),this[_0x54056d(0x406)](_0x198d70);}}),_0x49475a||this[_0x5462d4(0x425)]({'type':0x0,'memberID':this[_0x5462d4(0x568)],'unitIDs':[...this[_0x5462d4(0x421)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x478e73){const _0x1ced92=_0x519f42;this[_0x1ced92(0x600)](_0x478e73);const _0x3e470e=window[_0x1ced92(0x2e9)](()=>{const _0x59b462=_0x1ced92;this['_unitOnClients'][_0x59b462(0x24a)](_0x1c4b5d=>{const _0xff4ccc=_0x59b462;_0x1c4b5d[_0xff4ccc(0x203)](_0x478e73);});},Wt*0x2);this[_0x1ced92(0x2e4)][_0x1ced92(0x3e1)](_0x478e73,_0x3e470e);}[_0x519f42(0x600)](_0x42c095){const _0x153f4f=_0x519f42;if(this[_0x153f4f(0x2e4)][_0x153f4f(0x443)](_0x42c095)){const _0x4f4689=this[_0x153f4f(0x2e4)]['get'](_0x42c095);_0x4f4689&&window[_0x153f4f(0x236)](_0x4f4689),this[_0x153f4f(0x2e4)][_0x153f4f(0x3e1)](_0x42c095,null);}}[_0x519f42(0x2dc)](_0x1f4051){const _0x5f34d1=_0x519f42,{memberID:_0x383d2d,unitIDs:_0x210441}=_0x1f4051;_0x210441[_0x5f34d1(0x24a)](_0x3b8a51=>{const _0x54f41a=_0x5f34d1;var _0x172dcf;const _0x15cd05=this[_0x54f41a(0x374)][_0x54f41a(0x4a6)](_0x3b8a51);_0x15cd05&&(_0x15cd05[_0x54f41a(0x203)](_0x383d2d),(_0x172dcf=this[_0x54f41a(0x19a)](_0x3b8a51))==null||_0x172dcf[_0x54f41a(0x213)](_0x15cd05[_0x54f41a(0x542)]===0x0?0x0:0x1));}),this[_0x5f34d1(0x600)](_0x383d2d);}[_0x519f42(0x5d6)](_0x2e9d77){const _0x565f0a=_0x519f42;this[_0x565f0a(0x406)](_0x2e9d77[_0x565f0a(0x563)]);}['_send'](_0x10d014){const _0xf2dc9c=_0x519f42;localStorage[_0xf2dc9c(0x1fd)](Ft,JSON[_0xf2dc9c(0x648)](_0x10d014));}[_0x519f42(0x5d0)](){const _0x39abbd=_0x519f42;this[_0x39abbd(0x1ff)]=window[_0x39abbd(0x5f6)](()=>{const _0x13fc91=_0x39abbd;this[_0x13fc91(0x425)]({'type':0x2,'memberID':this['_id']});},Wt);}[_0x519f42(0x19a)](_0x37c83e){const _0x3c75a1=_0x519f42;return this[_0x3c75a1(0x37d)]['has'](_0x37c83e)||this[_0x3c75a1(0x37d)][_0x3c75a1(0x3e1)](_0x37c83e,new N[(_0x3c75a1(0x46f))](0x0)),this[_0x3c75a1(0x37d)][_0x3c75a1(0x4a6)](_0x37c83e);}}var jn=Object[_0x519f42(0x360)],Hn=Object[_0x519f42(0x544)],Bn=(_0xf502c9,_0x90000b,_0x451044,_0x1075fa)=>{const _0x4e3de8=_0x519f42;for(var _0x591c04=_0x1075fa>0x1?void 0x0:_0x1075fa?Hn(_0x90000b,_0x451044):_0x90000b,_0x2b4d50=_0xf502c9[_0x4e3de8(0x53a)]-0x1,_0x10d3e7;_0x2b4d50>=0x0;_0x2b4d50--)(_0x10d3e7=_0xf502c9[_0x2b4d50])&&(_0x591c04=(_0x1075fa?_0x10d3e7(_0x90000b,_0x451044,_0x591c04):_0x10d3e7(_0x591c04))||_0x591c04);return _0x1075fa&&_0x591c04&&jn(_0x90000b,_0x451044,_0x591c04),_0x591c04;},ut=(_0x36f851,_0x46a898)=>(_0x315824,_0x158416)=>_0x46a898(_0x315824,_0x158416,_0x36f851);let et=class{constructor(_0x24ad47,_0x4de3bd,_0x238fe4){const _0x13d7ea=_0x519f42;this['_injector']=_0x24ad47,this[_0x13d7ea(0x2b6)]=_0x4de3bd,this[_0x13d7ea(0x596)]=_0x238fe4;}[_0x519f42(0x3e9)](_0x2dc3c7){this['_transformHistoryAndStateStack'](_0x2dc3c7);}[_0x519f42(0x5ce)](_0x25aee2){const _0x4bdcc6=_0x519f42,{unitID:_0x2bda44}=_0x25aee2,{collaboration:_0x1fa1bc}=this[_0x4bdcc6(0x596)][_0x4bdcc6(0x3d5)](_0x2bda44);if(_0x1fa1bc['length']===0x0)return _0x25aee2;let _0x24ef41=a[_0x4bdcc6(0x2c8)][_0x4bdcc6(0x244)](_0x25aee2[_0x4bdcc6(0x4af)][0x0]);for(let _0x3c858a=0x0;_0x3c858a<_0x1fa1bc[_0x4bdcc6(0x53a)];_0x3c858a++){const _0xcab725={'id':_0x4bdcc6(0x5d5),'params':{'unitId':_0x1fa1bc[_0x3c858a][_0x4bdcc6(0x235)],..._0x1fa1bc[_0x3c858a][_0x4bdcc6(0x2d6)]}},_0x18fbe3=this[_0x4bdcc6(0x2b6)][_0x4bdcc6(0x18f)](_0x24ef41,_0xcab725,!0x1);if(m['isTransformMutationFailure'](_0x18fbe3))throw _0x18fbe3[_0x4bdcc6(0x1d8)];_0x24ef41=_0x18fbe3['m1Prime'];}return{...a['Tools'][_0x4bdcc6(0x244)](_0x25aee2),'mutations':[_0x24ef41]};}[_0x519f42(0x3c0)](_0x284ea2){const _0x5c43a9=_0x519f42,{unitID:_0x1aea0f}=_0x284ea2,{history:_0x34c61a,collaboration:_0x319175}=this[_0x5c43a9(0x596)][_0x5c43a9(0x3d5)](_0x1aea0f);if(_0x34c61a[_0x5c43a9(0x53a)]===0x0&&_0x319175[_0x5c43a9(0x53a)]===0x0)return;const _0xc3a73c=[],_0x571990=[];let _0x82559c=a['Tools'][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]),_0x1477bc=a[_0x5c43a9(0x2c8)][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]);for(let _0x3bd546=_0x34c61a['length']-0x1;_0x3bd546>=0x0;_0x3bd546--){const _0x10bbc4={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x34c61a[_0x3bd546][_0x5c43a9(0x235)],..._0x34c61a[_0x3bd546]['undoState']}},_0x55fd5e={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x34c61a[_0x3bd546][_0x5c43a9(0x235)],..._0x34c61a[_0x3bd546][_0x5c43a9(0x2d6)]}},_0x561d83=this['_transformService'][_0x5c43a9(0x18f)](_0x82559c,_0x10bbc4,!0x1),_0x4a0667=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x1477bc,_0x55fd5e,!0x1);if(m['isTransformMutationFailure'](_0x561d83))throw _0x561d83[_0x5c43a9(0x1d8)];if(m['isTransformMutationFailure'](_0x4a0667))throw _0x4a0667[_0x5c43a9(0x1d8)];_0xc3a73c[_0x5c43a9(0x5ff)]({..._0x34c61a[_0x3bd546],'undoState':_0x561d83[_0x5c43a9(0x20d)][_0x5c43a9(0x322)],'redoState':_0x4a0667[_0x5c43a9(0x20d)][_0x5c43a9(0x322)]}),_0x82559c=_0x561d83['m1Prime'],_0x1477bc=_0x4a0667[_0x5c43a9(0x5fb)];}_0x82559c=a[_0x5c43a9(0x2c8)]['deepClone'](_0x284ea2[_0x5c43a9(0x4af)][0x0]),_0x1477bc=a[_0x5c43a9(0x2c8)][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]);for(let _0x23ad70=_0x319175[_0x5c43a9(0x53a)]-0x1;_0x23ad70>=0x0;_0x23ad70--){const _0x4a16b5={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x319175[_0x23ad70][_0x5c43a9(0x235)],..._0x319175[_0x23ad70][_0x5c43a9(0x4d9)]}},_0x122be0={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x319175[_0x23ad70][_0x5c43a9(0x235)],..._0x319175[_0x23ad70][_0x5c43a9(0x2d6)]}},_0x3e65f3=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x82559c,_0x4a16b5,!0x1),_0x14e5f8=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x1477bc,_0x122be0,!0x1);if(m[_0x5c43a9(0x447)](_0x3e65f3))throw _0x3e65f3[_0x5c43a9(0x1d8)];if(m[_0x5c43a9(0x447)](_0x14e5f8))throw _0x14e5f8[_0x5c43a9(0x1d8)];_0x571990[_0x5c43a9(0x5ff)]({..._0x319175[_0x23ad70],'undoState':_0x3e65f3[_0x5c43a9(0x20d)][_0x5c43a9(0x322)],'redoState':_0x14e5f8[_0x5c43a9(0x20d)][_0x5c43a9(0x322)]}),_0x82559c=_0x3e65f3[_0x5c43a9(0x5fb)],_0x1477bc=_0x14e5f8[_0x5c43a9(0x5fb)];}this[_0x5c43a9(0x596)][_0x5c43a9(0x543)](_0x1aea0f,{'history':_0xc3a73c,'collaboration':_0x571990});}};et=Bn([ut(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),ut(0x1,m[_0x519f42(0x562)]),ut(0x2,a[_0x519f42(0x3b4)](J[_0x519f42(0x2ca)]))],et);function Di(_0x30767e){const _0x298f3e=_0x519f42;let _0x475b5c='';for(const _0x26b98f of _0x30767e){const {startOffset:_0x3bc5a5,endOffset:_0x570c62,isActive:_0x154f77,rangeType:_0x96ffb5,segmentId:_0x3af7d9,segmentPage:_0x92d42a}=_0x26b98f;_0x475b5c[_0x298f3e(0x53a)]&&(_0x475b5c+=','),_0x475b5c+=_0x3bc5a5+':'+_0x570c62+':'+(_0x154f77?'1':'0')+':'+_0x96ffb5+':'+_0x3af7d9+':'+_0x92d42a;}return _0x475b5c;}function kn(_0x3779cf){const _0x2f4834=_0x519f42,_0x48230a=_0x3779cf[_0x2f4834(0x3a3)](','),_0x222807=[];for(const _0x531ad5 of _0x48230a){const [_0x2e020f,_0x287dee,_0x214847,_0x12b643,_0x34fc88,_0x4e5ecc]=_0x531ad5['split'](':');_0x222807[_0x2f4834(0x205)]({'startOffset':Number(_0x2e020f),'endOffset':Number(_0x287dee),'collapsed':_0x2e020f===_0x287dee,'isActive':_0x214847==='1','rangeType':_0x12b643===a[_0x2f4834(0x5ae)][_0x2f4834(0x2c6)]?a[_0x2f4834(0x5ae)][_0x2f4834(0x2c6)]:a[_0x2f4834(0x5ae)][_0x2f4834(0x328)],'segmentId':typeof _0x34fc88==_0x2f4834(0x32b)?String(_0x34fc88):'','segmentPage':Number(_0x4e5ecc!=null?_0x4e5ecc:-0x1)});}return _0x222807['some'](_0x424f7d=>_0x424f7d[_0x2f4834(0x5ad)])||(_0x222807[0x0][_0x2f4834(0x5ad)]=!0x0),_0x222807;}class Ut extends a[_0x519f42(0x275)]{constructor(){const _0x492efb=_0x519f42;super(...arguments),I(this,_0x492efb(0x4a0),new N['BehaviorSubject'](null)),I(this,_0x492efb(0x5fe),this[_0x492efb(0x4a0)][_0x492efb(0x20b)]());}[_0x519f42(0x3e3)](_0x5c6138){const _0x132ebc=_0x519f42,{unitID:_0x314b14,memberID:_0xe50aba,textRanges:_0x1ea36c}=_0x5c6138,_0x51b072=Di(_0x1ea36c);if(_0x51b072==='')return;const _0x49400e={'unitID':_0x314b14,'memberID':_0xe50aba,'selection':_0x51b072};this[_0x132ebc(0x4a0)][_0x132ebc(0x213)](_0x49400e);}}var Wn=Object['defineProperty'],Fn=Object[_0x519f42(0x544)],Vn=(_0x23999c,_0x35ff55,_0x58e0f4,_0x2aa8f0)=>{const _0x222a82=_0x519f42;for(var _0x337618=_0x2aa8f0>0x1?void 0x0:_0x2aa8f0?Fn(_0x35ff55,_0x58e0f4):_0x35ff55,_0x1fc1b5=_0x23999c[_0x222a82(0x53a)]-0x1,_0x172c67;_0x1fc1b5>=0x0;_0x1fc1b5--)(_0x172c67=_0x23999c[_0x1fc1b5])&&(_0x337618=(_0x2aa8f0?_0x172c67(_0x35ff55,_0x58e0f4,_0x337618):_0x172c67(_0x337618))||_0x337618);return _0x2aa8f0&&_0x337618&&Wn(_0x35ff55,_0x58e0f4,_0x337618),_0x337618;},Vt=(_0x483529,_0x1a7f4a)=>(_0x29c309,_0xd88af5)=>_0x1a7f4a(_0x29c309,_0xd88af5,_0x483529);let tt=class{constructor(_0xc9b3a6,_0x2d3713){const _0x520f1b=_0x519f42;this[_0x520f1b(0x590)]=_0xc9b3a6,this[_0x520f1b(0x2b6)]=_0x2d3713;}[_0x519f42(0x35b)](_0x5b159f){const _0x137142=_0x519f42;var _0xff69df;const _0x343042=this['_injector'][_0x137142(0x4a6)](Ie['DocSelectionManagerService']),_0xf88a17=(_0xff69df=_0x343042[_0x137142(0x50d)]())!=null?_0xff69df:[];if(_0xf88a17[_0x137142(0x53a)]===0x0)return;const _0x28f548=_0x5b159f[_0x137142(0x57d)],_0x9b2fba=[{'id':_0x137142(0x5d5),'params':{'unitId':_0x28f548,'actions':null,'textRanges':_0xf88a17}}],_0x1ba59c=this[_0x137142(0x2b6)]['transformMutationsWithChangeset'](_0x5b159f,_0x9b2fba);if(!m[_0x137142(0x60d)](_0x1ba59c))throw _0x1ba59c[_0x137142(0x1d8)];const _0xfc367b=_0x1ba59c[_0x137142(0x20d)][0x0][_0x137142(0x322)][_0x137142(0x1e0)];Array['isArray'](_0xfc367b)&&_0xfc367b[_0x137142(0x53a)]&&_0x343042[_0x137142(0x28a)](_0xfc367b,{'unitId':_0x28f548,'subUnitId':_0x28f548},!0x1);}};tt=Vn([Vt(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Vt(0x1,m[_0x519f42(0x562)])],tt);const Gn=new Set([k[_0x519f42(0x539)]['id']]);function Gt(_0x177022,_0x5e51a3,_0x2bb207,_0x17fabd,_0x7f83e){const _0x47cb71=_0x519f42;var _0x1c4a07,_0x2b51ae,_0x321db8,_0x19d02b;const _0x4a45d5=[];for(const _0xc0575b of _0x177022)if(Gn['has'](_0xc0575b['id'])){if(_0x4a45d5[_0x47cb71(0x53a)]>0x0)break;_0x4a45d5[_0x47cb71(0x205)](_0xc0575b);break;}else _0x4a45d5[_0x47cb71(0x205)](_0xc0575b);const _0xa1bdab=(_0x2b51ae=(_0x1c4a07=_0x7f83e[_0x47cb71(0x484)]())==null?void 0x0:_0x1c4a07[_0x47cb71(0x20a)])!=null?_0x2b51ae:'unknown',_0x49ecac=(_0x19d02b=(_0x321db8=_0x7f83e[_0x47cb71(0x484)]())==null?void 0x0:_0x321db8[_0x47cb71(0x563)])!=null?_0x19d02b:'unknown';return{'changeset':{'unitID':_0x5e51a3,'type':m['mapDocumentTypeToUniverType'](_0x2bb207[_0x47cb71(0x499)](_0x5e51a3)),'baseRev':_0x17fabd[_0x47cb71(0x35e)](_0x5e51a3),'revision':0x0,'userID':_0xa1bdab,'memberID':_0x49ecac,'mutations':_0x4a45d5},'pendingMutations':_0x177022['slice'](_0x4a45d5[_0x47cb71(0x53a)])};}function Yn(_0x331b16,_0x1ef47a,_0xc87dd5,_0x60fdf,_0x4eb337){const _0x40cecb=_0x519f42;var _0x50a0b4,_0xf73d12,_0x5bb72d,_0x18b75e;const _0x46e001=[_0x331b16['reduce']((_0x36f2e6,_0x3c968e)=>{const _0x13a00d=_0x3f43;var _0x46c0bd;const {id:_0x38d083}=_0x36f2e6,{id:_0xb072f,type:_0x455827}=_0x3c968e,_0x2a8a34=(_0x46c0bd=_0x36f2e6[_0x13a00d(0x322)])!=null?_0x46c0bd:{'actions':null},_0x848fc7=_0x3c968e[_0x13a00d(0x322)];if(_0x38d083&&_0x38d083!==_0xb072f)throw new Error(_0x13a00d(0x281)+_0x38d083+'\x20-\x20'+_0xb072f+'.');return{..._0x36f2e6,'id':_0xb072f,'type':_0x455827,'params':{'unitId':_0x848fc7[_0x13a00d(0x235)],'textRanges':_0x848fc7[_0x13a00d(0x1e0)],'actions':a[_0x13a00d(0x339)]['compose'](_0x2a8a34['actions'],_0x848fc7[_0x13a00d(0x36a)])}};},{})],_0x229144=(_0xf73d12=(_0x50a0b4=_0x4eb337['getCurrentUser']())==null?void 0x0:_0x50a0b4[_0x40cecb(0x20a)])!=null?_0xf73d12:_0x40cecb(0x2b7),_0xb823f0=(_0x18b75e=(_0x5bb72d=_0x4eb337['getCurrentUser']())==null?void 0x0:_0x5bb72d['memberID'])!=null?_0x18b75e:'unknown';return{'changeset':{'unitID':_0x1ef47a,'type':m[_0x40cecb(0x33b)](_0xc87dd5['getUnitType'](_0x1ef47a)),'baseRev':_0x60fdf[_0x40cecb(0x35e)](_0x1ef47a),'revision':0x0,'userID':_0x229144,'memberID':_0xb823f0,'mutations':_0x46e001},'pendingMutations':[]};}function Pi(_0x52dd10,_0x538561){const _0x23699b=_0x519f42,_0x35f2e3=new N[(_0x23699b(0x239))](0x1);return setTimeout(()=>_0x35f2e3[_0x23699b(0x213)](_0x538561),_0x52dd10),_0x35f2e3[_0x23699b(0x20b)]()[_0x23699b(0x641)](N[_0x23699b(0x292)](0x1));}const qn={'id':k[_0x519f42(0x4ea)]['id'],'type':a['CommandType'][_0x519f42(0x53f)],'params':{}};var Kn=Object['defineProperty'],zn=Object[_0x519f42(0x544)],Ee=(_0x4901be,_0x2c838f,_0xa9be65,_0x318094)=>{const _0x5a526b=_0x519f42;for(var _0x59b75a=_0x318094>0x1?void 0x0:_0x318094?zn(_0x2c838f,_0xa9be65):_0x2c838f,_0x3d8dab=_0x4901be[_0x5a526b(0x53a)]-0x1,_0x20931d;_0x3d8dab>=0x0;_0x3d8dab--)(_0x20931d=_0x4901be[_0x3d8dab])&&(_0x59b75a=(_0x318094?_0x20931d(_0x2c838f,_0xa9be65,_0x59b75a):_0x20931d(_0x59b75a))||_0x59b75a);return _0x318094&&_0x59b75a&&Kn(_0x2c838f,_0xa9be65,_0x59b75a),_0x59b75a;},A=(_0x24f679,_0x1afaa3)=>(_0x42ea23,_0x59281e)=>_0x1afaa3(_0x42ea23,_0x59281e,_0x24f679),K=(_0x4e8db9=>(_0x4e8db9[_0x519f42(0x46c)]=_0x519f42(0x612),_0x4e8db9[_0x519f42(0x445)]=_0x519f42(0x270),_0x4e8db9['PENDING']='pending',_0x4e8db9[_0x519f42(0x57b)]=_0x519f42(0x4fb),_0x4e8db9[_0x519f42(0x540)]=_0x519f42(0x312),_0x4e8db9[_0x519f42(0x52b)]=_0x519f42(0x5cb),_0x4e8db9[_0x519f42(0x51f)]=_0x519f42(0x309),_0x4e8db9[_0x519f42(0x419)]='offline',_0x4e8db9))(K||{});const wi=0xea60;class be{constructor(_0x1adfa8,_0x3d5a99,_0x4a5f16,_0x1d0e6f,_0x4daf08,_0x3571a3,_0x134dd2,_0x5cb90d,_0x5c88f4){const _0x422542=_0x519f42;I(this,_0x422542(0x43c),null),I(this,_0x422542(0x1c0),[]),(this[_0x422542(0x57d)]=_0x1adfa8,this[_0x422542(0x1d1)]=_0x3d5a99,this['_handler']=_0x4daf08,this[_0x422542(0x636)]=_0x3571a3,this['_undoRedoService']=_0x134dd2,this[_0x422542(0x3c7)]=_0x5cb90d,this[_0x422542(0x5ca)]=_0x5c88f4,this[_0x422542(0x43c)]=_0x4a5f16,this['_pendingMutations']=_0x1d0e6f);}[_0x519f42(0x647)](_0x23893e){const _0x4af999=_0x519f42,_0xd46cb5=this[_0x4af999(0x3c7)][_0x4af999(0x35e)](this['unitID']);return _0x23893e[_0x4af999(0x4db)]>_0xd46cb5+0x1?(this['_handler'][_0x4af999(0x442)]({'from':_0xd46cb5,'to':_0x23893e[_0x4af999(0x4db)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4fe4c5){const _0x42d48b=_0x519f42;this['_undoRedoService'][_0x42d48b(0x46b)](this[_0x42d48b(0x57d)],_0x4fe4c5);}[_0x519f42(0x3a2)](_0x56a0db){const _0x4c3992=_0x519f42;var _0x40512c,_0x449564;(_0x449564=(_0x40512c=this['_handler'])[_0x4c3992(0x523)])==null||_0x449564[_0x4c3992(0x3bb)](_0x40512c,_0x56a0db);}[_0x519f42(0x5cf)](_0x32c904){const _0x161e87=_0x519f42;var _0x1305ff,_0x3d030b;return(_0x3d030b=(_0x1305ff=this[_0x161e87(0x3e2)])[_0x161e87(0x60e)])==null?void 0x0:_0x3d030b[_0x161e87(0x3bb)](_0x1305ff,_0x32c904);}[_0x519f42(0x4f0)](_0x24a459){const _0x44228c=_0x519f42;var _0x35febf,_0x2a3a82;return(_0x2a3a82=(_0x35febf=this[_0x44228c(0x3e2)])[_0x44228c(0x176)])==null?void 0x0:_0x2a3a82[_0x44228c(0x3bb)](_0x35febf,_0x24a459);}[_0x519f42(0x1b8)](_0x4fbb56){const _0x142767=_0x519f42;var _0x4f60ac,_0x217d8b,_0xec5697;return(_0xec5697=(_0x217d8b=(_0x4f60ac=this[_0x142767(0x3e2)])[_0x142767(0x1f8)])==null?void 0x0:_0x217d8b[_0x142767(0x3bb)](_0x4f60ac,_0x4fbb56))!=null?_0xec5697:_0x4fbb56;}[_0x519f42(0x202)](_0x50661c){const _0x362f2d=_0x519f42;var _0x194225,_0x5a2479,_0xd7727e;return(_0xd7727e=(_0x5a2479=(_0x194225=this[_0x362f2d(0x3e2)])[_0x362f2d(0x5ef)])==null?void 0x0:_0x5a2479[_0x362f2d(0x3bb)](_0x194225,_0x50661c))!=null?_0xd7727e:_0x50661c;}[_0x519f42(0x54c)](_0xc1d167){const _0x45e50a=_0x519f42;var _0x7db44d,_0x382a4d;if(this[_0x45e50a(0x1d1)]===ie[_0x45e50a(0x249)]){const {unitID:_0x5eaa61,mutations:_0x523fb7,memberID:_0x5d0d44}=_0xc1d167,_0xbabe37=_0x523fb7[0x0][_0x45e50a(0x322)][_0x45e50a(0x1e0)];Array[_0x45e50a(0x5f2)](_0xbabe37)&&_0xbabe37['length']>0x0&&((_0x382a4d=(_0x7db44d=this[_0x45e50a(0x3e2)])[_0x45e50a(0x4f1)])==null||_0x382a4d[_0x45e50a(0x3bb)](_0x7db44d,{'unitID':_0x5eaa61,'memberID':_0x5d0d44,'textRanges':_0xbabe37}));}}[_0x519f42(0x48b)](){const _0x3b72f3=_0x519f42;this[_0x3b72f3(0x5ca)]['updateOfflineData'](this[_0x3b72f3(0x57d)],this[_0x3b72f3(0x1d1)],this[_0x3b72f3(0x43c)],this[_0x3b72f3(0x1c0)]);}['_getCurrentRevision'](){const _0x5b9640=_0x519f42;return this['_revisionService'][_0x5b9640(0x35e)](this[_0x5b9640(0x57d)]);}['_incrementRevisionNumber'](){const _0x241764=_0x519f42;this[_0x241764(0x3c7)][_0x241764(0x1c1)](this[_0x241764(0x57d)]);}[_0x519f42(0x547)](_0x50f0a3){const _0x24e337=_0x519f42;var _0x21c2f0;let _0xe0287c=this['_transformRemoteChangesetByIMECache'](_0x50f0a3);_0xe0287c=this['_transformRemoteChangesetByStateCache'](_0xe0287c);const _0xf8486b=a[_0x24e337(0x240)](_0xe0287c[_0x24e337(0x4af)],this['_commandService'],{'fromCollab':!0x0});if(!_0xf8486b[_0x24e337(0x5f0)])throw _0xf8486b[_0x24e337(0x1d8)]instanceof Error?_0xf8486b[_0x24e337(0x1d8)]:new Error((_0x21c2f0=_0xf8486b[_0x24e337(0x1d8)])!=null?_0x21c2f0:_0x24e337(0x1b6));this[_0x24e337(0x5cf)](_0xe0287c),this[_0x24e337(0x4f0)](_0xe0287c),this[_0x24e337(0x424)](_0x50f0a3),this[_0x24e337(0x3a2)](_0xe0287c),this[_0x24e337(0x54c)](_0xe0287c),this[_0x24e337(0x637)]();}}let Oe=class extends be{constructor(_0x36e983,_0x417148,_0x27c75e,_0x4cbc3b,_0x246c62,_0x51e951,_0x4dc59b,_0x4104b0,_0x1028f6,_0x35b80c){const _0x10d039=_0x519f42;super(_0x36e983,_0x417148,null,[],_0x27c75e,_0x4104b0,_0x4dc59b,_0x4cbc3b,_0x246c62),I(this,_0x10d039(0x32e),'synced'),(this[_0x10d039(0x590)]=_0x51e951,this[_0x10d039(0x392)]=_0x1028f6,this[_0x10d039(0x2b6)]=_0x35b80c);}[_0x519f42(0x26f)](_0x23c4fc){const _0x477000=_0x519f42,_0xab86dc=this['_injector']['createInstance'](ae,this[_0x477000(0x57d)],this['type'],[_0x23c4fc],this['_handler']);return _0xab86dc[_0x477000(0x1e8)](),_0xab86dc[_0x477000(0x48b)](),_0xab86dc;}[_0x519f42(0x4de)](_0x15ce51){const _0xe4c532=_0x519f42;if(this[_0xe4c532(0x647)](_0x15ce51))return this[_0xe4c532(0x590)][_0xe4c532(0x35c)](re,this['unitID'],this[_0xe4c532(0x1d1)],null,[],null,[_0x15ce51],this[_0xe4c532(0x3e2)]);try{const _0x46aa9c=this[_0xe4c532(0x2b6)][_0xe4c532(0x187)](_0x15ce51,[qn]);if(m['isTransformMutationsWithChangesetSuccess'](_0x46aa9c)){const {c1Prime:_0x42238b}=_0x46aa9c;return this[_0xe4c532(0x547)](_0x42238b),this;}throw _0x46aa9c[_0xe4c532(0x1d8)];}catch(_0x8bf551){return this[_0xe4c532(0x392)][_0xe4c532(0x1d8)](_0x8bf551),this[_0xe4c532(0x178)](!0x1);}}[_0x519f42(0x178)](_0x2180f1){const _0x20deb6=_0x519f42;return this['_injector'][_0x20deb6(0x35c)](fe,this[_0x20deb6(0x57d)],this[_0x20deb6(0x1d1)],null,[],this[_0x20deb6(0x3e2)],_0x2180f1);}[_0x519f42(0x17e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){const _0x2dbb77=_0x519f42;throw new Error(_0x2dbb77(0x516));}['onRemoteRetry'](){return this;}[_0x519f42(0x349)](){const _0x333ff6=_0x519f42;return this[_0x333ff6(0x590)][_0x333ff6(0x35c)](ve,this['unitID'],this[_0x333ff6(0x1d1)],null,[],this[_0x333ff6(0x3e2)]);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x48a)](){const _0x1a80f1=_0x519f42;throw new Error(_0x1a80f1(0x4b3));}[_0x519f42(0x520)](){const _0x29475b=_0x519f42,_0x24401a=this[_0x29475b(0x3c7)]['getCurrentRevOfUnit'](this[_0x29475b(0x57d)]);return this[_0x29475b(0x3e2)]['onMissingChangesets']({'from':_0x24401a,'to':0x0}),this['_injector']['createInstance'](re,this[_0x29475b(0x57d)],this[_0x29475b(0x1d1)],null,[],null,[],this[_0x29475b(0x3e2)]);}};Oe=Ee([A(0x3,a['Inject'](m['RevisionService'])),A(0x4,a['Inject'](exports['LocalCacheService'])),A(0x5,a[_0x519f42(0x3b4)](a['Injector'])),A(0x6,a['IUndoRedoService']),A(0x7,a[_0x519f42(0x3e8)]),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,m[_0x519f42(0x562)])],Oe);let ae=class extends be{constructor(_0x48864f,_0x2dee0e,_0x1a0abb,_0x547c93,_0x1dd2fc,_0x12fcde,_0x4a0af2,_0x30f42,_0x267850,_0x2b4883,_0x326545,_0x28c5f7,_0xf271a7,_0x28f208){const _0x4f14c2=_0x519f42;super(_0x48864f,_0x2dee0e,null,_0x1a0abb,_0x547c93,_0x2b4883,_0x28f208,_0x12fcde,_0x4a0af2),I(this,_0x4f14c2(0x32e),'pending'),I(this,_0x4f14c2(0x595),null),I(this,_0x4f14c2(0x483),null),(this[_0x4f14c2(0x590)]=_0x1dd2fc,this[_0x4f14c2(0x24e)]=_0x30f42,this[_0x4f14c2(0x392)]=_0x267850,this[_0x4f14c2(0x193)]=_0x326545,this[_0x4f14c2(0x2b6)]=_0x28c5f7,this['_univerInstanceService']=_0xf271a7);}['appendMutation'](_0x5189c6){const _0x416410=_0x519f42;return this[_0x416410(0x1c0)][_0x416410(0x205)](_0x5189c6),this[_0x416410(0x48b)](),this;}['onRemoteChangeset'](_0x5105ee){const _0x441bc6=_0x519f42;if(this[_0x441bc6(0x647)](_0x5105ee))return this[_0x441bc6(0x458)](),this[_0x441bc6(0x590)][_0x441bc6(0x35c)](re,this[_0x441bc6(0x57d)],this[_0x441bc6(0x1d1)],null,this[_0x441bc6(0x1c0)],null,[_0x5105ee],this[_0x441bc6(0x3e2)]);try{const _0xbf551c=this[_0x441bc6(0x2b6)][_0x441bc6(0x187)](_0x5105ee,this[_0x441bc6(0x1c0)]);if(m['isTransformMutationsWithChangesetSuccess'](_0xbf551c)){const {c1Prime:_0x3f6f47,m2Prime:_0x1b39c6}=_0xbf551c;this[_0x441bc6(0x547)](_0x3f6f47);const _0x4edc8d=this[_0x441bc6(0x590)][_0x441bc6(0x35c)](ae,this[_0x441bc6(0x57d)],this[_0x441bc6(0x1d1)],_0x1b39c6,this['_handler']);return this[_0x441bc6(0x458)](),_0x4edc8d[_0x441bc6(0x1e8)](this[_0x441bc6(0x595)]?Math['max'](0x0,new Date()['getTime']()-this[_0x441bc6(0x595)]):this[_0x441bc6(0x510)]()),_0x4edc8d;}throw _0xbf551c['error'];}catch(_0x42a917){return this[_0x441bc6(0x392)][_0x441bc6(0x1d8)](_0x42a917),this[_0x441bc6(0x178)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){const _0x465e6c=_0x519f42;throw new Error(_0x465e6c(0x4b4));}[_0x519f42(0x277)](){return this;}[_0x519f42(0x349)](){const _0x3bdbe3=_0x519f42;return this['_clearScheduledTask'](),this[_0x3bdbe3(0x590)][_0x3bdbe3(0x35c)](ve,this[_0x3bdbe3(0x57d)],this['type'],null,this[_0x3bdbe3(0x1c0)],this['_handler']);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x1e8)](_0x4a4326){const _0x5f0517=_0x519f42,_0x5dbda9=_0x4a4326!=null?_0x4a4326:this[_0x5f0517(0x510)]();this['_scheduleTimestamp']=new Date()[_0x5f0517(0x345)](),this[_0x5f0517(0x483)]=window['setTimeout'](()=>{const _0x24fdc3=_0x5f0517;this['_clearScheduledTask']();let _0x3060c4=null;switch(this[_0x24fdc3(0x1d1)]){case ie[_0x24fdc3(0x248)]:{_0x3060c4=Gt(this[_0x24fdc3(0x1c0)],this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x403)],this[_0x24fdc3(0x3c7)],this[_0x24fdc3(0x24e)]);break;}case ie[_0x24fdc3(0x249)]:{this[_0x24fdc3(0x1c0)][_0x24fdc3(0x3c1)](_0x3d6578=>_0x3d6578['id']===Ie[_0x24fdc3(0x1ad)]['id'])?_0x3060c4=Yn(this[_0x24fdc3(0x1c0)],this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x403)],this[_0x24fdc3(0x3c7)],this[_0x24fdc3(0x24e)]):_0x3060c4=Gt(this[_0x24fdc3(0x1c0)],this['unitID'],this[_0x24fdc3(0x403)],this['_revisionService'],this[_0x24fdc3(0x24e)]);break;}default:throw new Error(_0x24fdc3(0x417)+this[_0x24fdc3(0x1d1)]+'\x20in\x20_schedule.');}const {changeset:_0x132809,pendingMutations:_0xf3043f}=_0x3060c4;this['_handler']['onSendChangeset'](_0x132809);const _0x42806f=_0xf3043f[_0x24fdc3(0x53a)]?this['_injector'][_0x24fdc3(0x35c)](ce,this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x1d1)],_0x132809,_0xf3043f,this[_0x24fdc3(0x3e2)],void 0x0):this['_injector']['createInstance'](de,this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x1d1)],_0x132809,this[_0x24fdc3(0x3e2)]);_0x42806f['_updateLocalCache'](),this[_0x24fdc3(0x3e2)][_0x24fdc3(0x23b)](this,_0x42806f);},_0x5dbda9);}[_0x519f42(0x510)](){const _0x307de6=_0x519f42;var _0x4f54a7;const _0x310417=this['_configService'][_0x307de6(0x4ba)](Z);return(_0x4f54a7=_0x310417==null?void 0x0:_0x310417[_0x307de6(0x183)])!=null?_0x4f54a7:zi;}['resend'](){const _0x437b2f=_0x519f42;throw new Error(_0x437b2f(0x36f));}[_0x519f42(0x458)](){const _0x2158aa=_0x519f42;this[_0x2158aa(0x483)]!=null&&(clearTimeout(this[_0x2158aa(0x483)]),this['_sendingTimer']=null);}[_0x519f42(0x178)](_0xb9a5c9){const _0x175e64=_0x519f42;return this[_0x175e64(0x458)](),this[_0x175e64(0x590)]['createInstance'](fe,this[_0x175e64(0x57d)],this[_0x175e64(0x1d1)],null,this[_0x175e64(0x1c0)],this[_0x175e64(0x3e2)],_0xb9a5c9);}};ae=Ee([A(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0x6,a['Inject'](exports[_0x519f42(0x467)])),A(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x1f6)])),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,a[_0x519f42(0x3e8)]),A(0xa,a[_0x519f42(0x4e5)]),A(0xb,m[_0x519f42(0x562)]),A(0xc,a[_0x519f42(0x4aa)]),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x2ab3a3,_0x34b1f6,_0x2fc24f,_0x5a8091,_0x5a9b63,_0x510787,_0x123974,_0x2043af,_0x4e40c1,_0x2580da,_0x17481e){const _0x4aced8=_0x519f42;super(_0x2ab3a3,_0x34b1f6,_0x2fc24f,[],_0x5a8091,_0x2043af,_0x17481e,_0x510787,_0x123974),I(this,_0x4aced8(0x32e),_0x4aced8(0x4fb)),I(this,_0x4aced8(0x201),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this[_0x4aced8(0x590)]=_0x5a9b63,this[_0x4aced8(0x392)]=_0x4e40c1,this[_0x4aced8(0x2b6)]=_0x2580da);}[_0x519f42(0x26f)](_0x16c12b){const _0x4dd719=_0x519f42;this[_0x4dd719(0x458)]();const _0x5e3b62=this[_0x4dd719(0x590)][_0x4dd719(0x35c)](ce,this[_0x4dd719(0x57d)],this[_0x4dd719(0x1d1)],this[_0x4dd719(0x43c)],[_0x16c12b],this[_0x4dd719(0x3e2)],this['_resendTimer']);return _0x5e3b62[_0x4dd719(0x48b)](),_0x5e3b62;}[_0x519f42(0x4de)](_0x70beee){const _0x4f9a44=_0x519f42;if(this[_0x4f9a44(0x647)](_0x70beee))return this[_0x4f9a44(0x458)](),this[_0x4f9a44(0x590)][_0x4f9a44(0x35c)](re,this['unitID'],this['type'],this[_0x4f9a44(0x43c)],[],null,[_0x70beee],this[_0x4f9a44(0x3e2)]);try{const _0x2e2fc8=this['_transformService'][_0x4f9a44(0x45f)]([_0x70beee],[this['_awaitingChangeset']],!0x1);if(m[_0x4f9a44(0x61e)](_0x2e2fc8)){const {c1Prime:_0x3e3b3b,c2Prime:_0x1d6183}=_0x2e2fc8;this[_0x4f9a44(0x547)](_0x3e3b3b[0x0]),_0x1d6183[0x0][_0x4f9a44(0x1ef)]=this[_0x4f9a44(0x532)](),this['_clearScheduledTask']();const _0x37930c=this[_0x4f9a44(0x590)][_0x4f9a44(0x35c)](de,this[_0x4f9a44(0x57d)],this[_0x4f9a44(0x1d1)],_0x1d6183[0x0],this[_0x4f9a44(0x3e2)]);return _0x37930c[_0x4f9a44(0x48b)](),_0x37930c;}return this[_0x4f9a44(0x178)](!0x1);}catch(_0x4da289){return this[_0x4f9a44(0x392)][_0x4f9a44(0x1d8)](_0x4da289),this[_0x4f9a44(0x178)](!0x1);}}[_0x519f42(0x17e)](_0x56e032){const _0x1d2e84=_0x519f42;this[_0x1d2e84(0x458)]();const _0x5ea485=this[_0x1d2e84(0x3c7)][_0x1d2e84(0x35e)](this[_0x1d2e84(0x57d)]);if(_0x56e032[_0x1d2e84(0x4db)]<_0x5ea485-0x1)return this;if(this[_0x1d2e84(0x647)](_0x56e032))return this[_0x1d2e84(0x590)][_0x1d2e84(0x35c)](re,this['unitID'],this['type'],null,[],this[_0x1d2e84(0x43c)],[],this[_0x1d2e84(0x3e2)]);this[_0x1d2e84(0x637)]();const _0x1f5a87=this[_0x1d2e84(0x590)]['createInstance'](Oe,this[_0x1d2e84(0x57d)],this[_0x1d2e84(0x1d1)],this[_0x1d2e84(0x3e2)]);return _0x1f5a87[_0x1d2e84(0x48b)](),_0x1f5a87;}[_0x519f42(0x195)](_0x350c62){const _0x484587=_0x519f42;return this[_0x484587(0x178)](!!(_0x350c62!=null&&_0x350c62[_0x484587(0x29e)]));}[_0x519f42(0x277)](_0xa33399){const _0x4ae7dc=_0x519f42;return this['_resendTimeout']>wi?this[_0x4ae7dc(0x349)]():(this[_0x4ae7dc(0x17d)]=Pi(this[_0x4ae7dc(0x201)],{'timeout':this[_0x4ae7dc(0x201)],'reqId':_0xa33399[_0x4ae7dc(0x30e)]}),this['_sender']=this[_0x4ae7dc(0x17d)][_0x4ae7dc(0x1db)](({reqId:_0x365b48,timeout:_0x575682})=>{this['_resendWithTimeout'](_0x365b48,_0x575682);}),this);}[_0x519f42(0x349)](){const _0x57140b=_0x519f42;return this[_0x57140b(0x458)](),this[_0x57140b(0x590)][_0x57140b(0x35c)](ve,this[_0x57140b(0x57d)],this[_0x57140b(0x1d1)],this[_0x57140b(0x43c)],[],this['_handler']);}[_0x519f42(0x46e)](){return this;}['resend'](){const _0x1cca61=_0x519f42;this[_0x1cca61(0x3e2)][_0x1cca61(0x29b)](this[_0x1cca61(0x43c)]);}[_0x519f42(0x178)](_0xfb9890){const _0x271201=_0x519f42;return this[_0x271201(0x458)](),this[_0x271201(0x590)][_0x271201(0x35c)](fe,this[_0x271201(0x57d)],this[_0x271201(0x1d1)],this[_0x271201(0x43c)],[],this['_handler'],_0xfb9890);}[_0x519f42(0x338)](_0x5439e9,_0x3b4166){const _0x1248ab=_0x519f42;var _0x40c568;_0x5439e9===((_0x40c568=this[_0x1248ab(0x43c)])==null?void 0x0:_0x40c568[_0x1248ab(0x30e)])&&(this[_0x1248ab(0x48a)](),this['_resendTimeout']=_0x3b4166===0x0?0x3e8:_0x3b4166*0x2);}[_0x519f42(0x458)](){const _0x7dd2f4=_0x519f42;var _0x1bd977;(_0x1bd977=this[_0x7dd2f4(0x22e)])==null||_0x1bd977['unsubscribe'](),this[_0x7dd2f4(0x201)]=0x0;}};de=Ee([A(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x5,a[_0x519f42(0x3b4)](m['RevisionService'])),A(0x6,a['Inject'](exports['LocalCacheService'])),A(0x7,a[_0x519f42(0x3e8)]),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,m[_0x519f42(0x562)]),A(0xa,a[_0x519f42(0x2da)])],de);let ce=class extends be{constructor(_0x1ccb96,_0xe50b75,_0x15005a,_0x3c87e0,_0x2fcb1c,_0x45b3f3,_0x2bc39f,_0x9994b0,_0x361477,_0x1e8d6c,_0x228b21,_0x509285,_0x5dd618){const _0x2d06c1=_0x519f42;super(_0x1ccb96,_0xe50b75,_0x15005a,_0x3c87e0,_0x2fcb1c,_0x1e8d6c,_0x5dd618,_0x9994b0,_0x361477),I(this,_0x2d06c1(0x32e),_0x2d06c1(0x312)),I(this,'_resendTimeout',0x0),I(this,_0x2d06c1(0x17d)),I(this,_0x2d06c1(0x22e)),(this[_0x2d06c1(0x590)]=_0x2bc39f,this['_logService']=_0x228b21,this['_transformService']=_0x509285,_0x45b3f3&&(this[_0x2d06c1(0x17d)]=_0x45b3f3,this[_0x2d06c1(0x22e)]=this[_0x2d06c1(0x17d)][_0x2d06c1(0x1db)](({reqId:_0x2f92a9,timeout:_0x1cb7bb})=>{const _0x19accc=_0x2d06c1;this[_0x19accc(0x338)](_0x2f92a9,_0x1cb7bb);})));}[_0x519f42(0x26f)](_0x174e2f){const _0x6ee3b9=_0x519f42;return this[_0x6ee3b9(0x1c0)]['push'](_0x174e2f),this;}['onRemoteChangeset'](_0x127888){const _0x5914d5=_0x519f42;if(this[_0x5914d5(0x647)](_0x127888))return this['_clearScheduledTask'](),this['_injector'][_0x5914d5(0x35c)](re,this[_0x5914d5(0x57d)],this[_0x5914d5(0x1d1)],this[_0x5914d5(0x43c)],this['_pendingMutations'],null,[_0x127888],this[_0x5914d5(0x3e2)]);try{const _0x20ec2b=this[_0x5914d5(0x2b6)][_0x5914d5(0x45f)]([_0x127888],[this[_0x5914d5(0x43c)]],!0x1);if(m[_0x5914d5(0x61e)](_0x20ec2b)){const {c1Prime:_0x2cd9a8,c2Prime:_0x52a8fb}=_0x20ec2b,_0x46607c=this[_0x5914d5(0x2b6)][_0x5914d5(0x187)](_0x2cd9a8[0x0],this[_0x5914d5(0x1c0)]);if(m[_0x5914d5(0x60d)](_0x46607c)){const {c1Prime:_0x2c428b,m2Prime:_0xa935d4}=_0x46607c;return this[_0x5914d5(0x547)](_0x2c428b),_0x52a8fb[0x0][_0x5914d5(0x1ef)]=this[_0x5914d5(0x532)](),this[_0x5914d5(0x458)](),this[_0x5914d5(0x590)][_0x5914d5(0x35c)](ce,this[_0x5914d5(0x57d)],this['type'],_0x52a8fb[0x0],_0xa935d4,this[_0x5914d5(0x3e2)],void 0x0);}throw _0x46607c[_0x5914d5(0x1d8)];}throw _0x20ec2b[_0x5914d5(0x1d8)];}catch(_0x421abc){return this[_0x5914d5(0x392)][_0x5914d5(0x1d8)](_0x421abc),this[_0x5914d5(0x178)](!0x1);}}['onRemoteAck'](_0x148d3e){const _0x4274d7=_0x519f42;if(this[_0x4274d7(0x458)](),this[_0x4274d7(0x647)](_0x148d3e))return this['_injector']['createInstance'](re,this[_0x4274d7(0x57d)],this[_0x4274d7(0x1d1)],null,this[_0x4274d7(0x1c0)],this['_awaitingChangeset'],[],this['_handler']);this[_0x4274d7(0x637)]();const _0x5ac821=this['_injector'][_0x4274d7(0x35c)](ae,this[_0x4274d7(0x57d)],this['type'],this[_0x4274d7(0x1c0)],this[_0x4274d7(0x3e2)]);return _0x5ac821['_schedule'](),_0x5ac821[_0x4274d7(0x48b)](),_0x5ac821;}[_0x519f42(0x195)](_0x355a08){return this['_onConflict'](!!(_0x355a08!=null&&_0x355a08['isPermissionRej']));}[_0x519f42(0x277)](_0x170b9d){const _0x26d1fa=_0x519f42;return this['_resendTimeout']>wi?this['toggleOffline']():(this[_0x26d1fa(0x17d)]=Pi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x170b9d[_0x26d1fa(0x30e)]}),this[_0x26d1fa(0x22e)]=this['_resendTimer'][_0x26d1fa(0x1db)](({reqId:_0x32824f,timeout:_0x3f9460})=>{this['_resendWithTimeout'](_0x32824f,_0x3f9460);}),this);}[_0x519f42(0x349)](){const _0x42e929=_0x519f42;return this[_0x42e929(0x458)](),this[_0x42e929(0x590)][_0x42e929(0x35c)](ve,this['unitID'],this[_0x42e929(0x1d1)],this[_0x42e929(0x43c)],this['_pendingMutations'],this[_0x42e929(0x3e2)]);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x48a)](){const _0x5232f8=_0x519f42;this[_0x5232f8(0x3e2)][_0x5232f8(0x29b)](this['_awaitingChangeset']);}[_0x519f42(0x178)](_0x2ede08){const _0x23e130=_0x519f42;return this[_0x23e130(0x458)](),this['_injector'][_0x23e130(0x35c)](fe,this[_0x23e130(0x57d)],this[_0x23e130(0x1d1)],null,this['_pendingMutations'],this[_0x23e130(0x3e2)],_0x2ede08);}[_0x519f42(0x338)](_0x1458ed,_0x45e9e5){const _0x408a26=_0x519f42;var _0x50eb4d;_0x1458ed===((_0x50eb4d=this['_awaitingChangeset'])==null?void 0x0:_0x50eb4d[_0x408a26(0x30e)])&&(this[_0x408a26(0x48a)](),this[_0x408a26(0x201)]=_0x45e9e5===0x0?0x3e8:_0x45e9e5*0x2);}['_clearScheduledTask'](){const _0x131449=_0x519f42;var _0x3f223c;(_0x3f223c=this['_sender'])==null||_0x3f223c['unsubscribe'](),this[_0x131449(0x201)]=0x0;}};ce=Ee([A(0x6,a['Inject'](a[_0x519f42(0x377)])),A(0x7,a['Inject'](m[_0x519f42(0x404)])),A(0x8,a['Inject'](exports[_0x519f42(0x467)])),A(0x9,a[_0x519f42(0x3e8)]),A(0xa,a['ILogService']),A(0xb,m[_0x519f42(0x562)]),A(0xc,a[_0x519f42(0x2da)])],ce);let fe=class extends be{constructor(_0x434c4a,_0x57ad61,_0x13992a,_0x52e6a7,_0x538f96,_0x582c53=!0x1,_0x3fd446,_0x31753b,_0xdb98dd,_0x5046c9,_0x1168b0,_0x30671a,_0x4e37a9){const _0x39d894=_0x519f42;super(_0x434c4a,_0x57ad61,_0x13992a,_0x52e6a7,_0x538f96,_0x31753b,_0xdb98dd,_0x1168b0,_0x5046c9),I(this,'status','conflict'),(this[_0x39d894(0x24f)]=_0x582c53,this[_0x39d894(0x409)]=_0x3fd446,this['_localeService']=_0x30671a,this[_0x39d894(0x17f)]=_0x4e37a9,this[_0x39d894(0x23d)](),this['_clearLocalCache'](),this[_0x39d894(0x341)]());}[_0x519f42(0x26f)](){return this;}[_0x519f42(0x4de)](){return this;}['onRemoteAck'](){return this;}[_0x519f42(0x195)](){return this;}[_0x519f42(0x277)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x536191=_0x519f42;throw new Error(_0x536191(0x29d));}['_clearLocalCache'](){const _0x73541e=_0x519f42;this[_0x73541e(0x5ca)][_0x73541e(0x21e)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){const _0x3a21b5=_0x519f42;this[_0x3a21b5(0x24f)]?this['_notificationService']['show']({'title':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x492)),'content':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x549)),'type':_0x3a21b5(0x1d8),'duration':0x0}):this[_0x3a21b5(0x17f)][_0x3a21b5(0x1e6)]({'title':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x228)),'content':this[_0x3a21b5(0x52f)]['t']('conflict.content'),'type':_0x3a21b5(0x1d8),'duration':0x0});}['_disableEditing'](){const _0x4873c3=_0x519f42;this[_0x4873c3(0x409)][_0x4873c3(0x4d1)](new k['WorkbookEditablePermission'](this[_0x4873c3(0x57d)])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x3ed)])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a['Inject'](exports[_0x519f42(0x467)])),A(0xa,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0xb,a[_0x519f42(0x3b4)](a['LocaleService'])),A(0xc,ee[_0x519f42(0x31c)])],fe);let ve=class extends be{constructor(_0x22698b,_0x454aec,_0x2cdcb1,_0x33a376,_0x103e3b,_0x4e4a46,_0x2dad91,_0x9bc937,_0x250f08,_0x1ad86d){const _0xbb7b3b=_0x519f42;super(_0x22698b,_0x454aec,_0x2cdcb1,_0x33a376,_0x103e3b,_0x250f08,_0x1ad86d,_0x2dad91,_0x9bc937),I(this,_0xbb7b3b(0x32e),'offline'),this[_0xbb7b3b(0x590)]=_0x4e4a46;}[_0x519f42(0x26f)](_0x26fe1e){const _0xe0fb75=_0x519f42;return this[_0xe0fb75(0x1c0)][_0xe0fb75(0x205)](_0x26fe1e),this[_0xe0fb75(0x48b)](),this;}[_0x519f42(0x4de)](_0x5c9f0e){const _0x3e3ec4=_0x519f42;throw new Error(_0x3e3ec4(0x63b));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x519f42(0x277)](){return this;}[_0x519f42(0x349)](){return this;}[_0x519f42(0x46e)](){const _0x338f4f=_0x519f42,{_injector:_0x63832d,_pendingMutations:_0xb8bc34,_awaitingChangeset:_0x390c55,unitID:_0x317aa3,_handler:_0x3a1eb9,type:_0x61cbbe}=this,_0x4b7c33=Ui(_0x63832d,_0x317aa3,_0x61cbbe,_0x390c55,_0xb8bc34,_0x3a1eb9);return _0x4b7c33 instanceof ae?_0x4b7c33[_0x338f4f(0x1e8)]():(_0x4b7c33 instanceof ce||_0x4b7c33 instanceof de)&&_0x4b7c33[_0x338f4f(0x48a)](),_0x4b7c33;}[_0x519f42(0x48a)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ve=Ee([A(0x5,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x6,a['Inject'](m[_0x519f42(0x404)])),A(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),A(0x8,a[_0x519f42(0x3e8)]),A(0x9,a[_0x519f42(0x2da)])],ve);let re=class extends be{constructor(_0x1b1ea2,_0x2393fa,_0x229c29,_0xefd68e,_0x110206,_0x378da8,_0x3ebdf6,_0x10e0a4,_0xff9a00,_0x287676,_0x4f0921,_0x55a1b8,_0x3689e7,_0x6ec1c7){const _0x188745=_0x519f42;super(_0x1b1ea2,_0x2393fa,_0x229c29,_0xefd68e,_0x3ebdf6,_0x55a1b8,_0x3689e7,_0xff9a00,_0x287676),I(this,'status',_0x188745(0x5cb)),(this[_0x188745(0x578)]=_0x110206,this[_0x188745(0x251)]=_0x378da8,this['_injector']=_0x10e0a4,this[_0x188745(0x392)]=_0x4f0921,this[_0x188745(0x2b6)]=_0x6ec1c7);}['onMissedChangesetFetched'](_0x2c2fe0){const _0x37d3b7=_0x519f42;try{const _0x21d16c=[..._0x2c2fe0,...this['_queuedRemoteChangesets']],_0x35f781=[this[_0x37d3b7(0x43c)]||this[_0x37d3b7(0x578)]]['filter'](_0x13c295=>!!_0x13c295);let _0x287dd4,_0x320350;if(_0x35f781[_0x37d3b7(0x53a)]){const _0x3496d6=this[_0x37d3b7(0x2b6)][_0x37d3b7(0x45f)](_0x21d16c,_0x35f781,!0x1);if(!m[_0x37d3b7(0x61e)](_0x3496d6))throw _0x3496d6[_0x37d3b7(0x1d8)];_0x287dd4=_0x3496d6['c1Prime'],_0x320350=_0x3496d6[_0x37d3b7(0x226)];}else _0x287dd4=_0x21d16c,_0x320350=[];let _0x1abc87=this['_pendingMutations'];_0x287dd4[_0x37d3b7(0x24a)](_0x5a5216=>{const _0x5bbf56=_0x37d3b7;let _0x380cee;if(_0x1abc87[_0x5bbf56(0x53a)]){const _0x34e464=this[_0x5bbf56(0x2b6)][_0x5bbf56(0x187)](_0x5a5216,_0x1abc87);if(!m[_0x5bbf56(0x60d)](_0x34e464))throw _0x34e464[_0x5bbf56(0x1d8)];_0x380cee=_0x34e464['c1Prime'],_0x1abc87=_0x34e464[_0x5bbf56(0x20d)];}else _0x380cee=_0x5a5216;this['_executeRemoteChangeset'](_0x380cee);}),this['_acknowledgedAwaitingChangeset']&&this[_0x37d3b7(0x637)](),this[_0x37d3b7(0x43c)]&&_0x320350['length']&&(_0x320350[0x0][_0x37d3b7(0x1ef)]=this[_0x37d3b7(0x532)]());let _0x52d44d;if(this[_0x37d3b7(0x43c)]&&_0x1abc87[_0x37d3b7(0x53a)]!==0x0)_0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](ce,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x320350[0x0],_0x1abc87,this[_0x37d3b7(0x3e2)],void 0x0);else{if(this[_0x37d3b7(0x43c)]&&_0x1abc87[_0x37d3b7(0x53a)]===0x0)_0x320350[0x0][_0x37d3b7(0x1ef)]=this[_0x37d3b7(0x532)](),_0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](de,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x320350[0x0],this['_handler']);else{if(_0x1abc87[_0x37d3b7(0x53a)]!==0x0){const _0x306638=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](ae,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x1abc87,this[_0x37d3b7(0x3e2)]);_0x306638[_0x37d3b7(0x1e8)](),_0x52d44d=_0x306638;}else _0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](Oe,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],this[_0x37d3b7(0x3e2)]);}}return _0x52d44d['_updateLocalCache'](),_0x52d44d;}catch(_0x2195d8){return this['_logService']['error']('[FetchMissState]',_0x37d3b7(0x54e),_0x2195d8),this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](fe,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x37d3b7(0x3e2)],!0x1);}}[_0x519f42(0x48a)](){const _0x43a1f3=_0x519f42;throw new Error(_0x43a1f3(0x51c));}[_0x519f42(0x26f)](_0x4f35e8){const _0x56f748=_0x519f42;return this[_0x56f748(0x1c0)]['push'](_0x4f35e8),this;}['onRemoteChangeset'](_0x34d059){const _0x5bc943=_0x519f42;return this[_0x5bc943(0x251)]['push'](_0x34d059),this;}[_0x519f42(0x17e)](_0x5bc3f7){const _0x829c9f=_0x519f42;if(this['_awaitingChangeset'])return this[_0x829c9f(0x578)]=this[_0x829c9f(0x43c)],this[_0x829c9f(0x43c)]=null,this;throw new Error(_0x829c9f(0x45b));}[_0x519f42(0x195)](_0x1c11ab){const _0x448f27=_0x519f42;return this[_0x448f27(0x178)](!!(_0x1c11ab!=null&&_0x1c11ab['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x519f42(0x349)](){const _0x324ac=_0x519f42;return this['_injector']['createInstance'](ve,this[_0x324ac(0x57d)],this['type'],this[_0x324ac(0x43c)],this[_0x324ac(0x1c0)],this[_0x324ac(0x3e2)]);}[_0x519f42(0x46e)](){return this;}['_onConflict'](_0x1742f9){const _0x26a4cb=_0x519f42;return this[_0x26a4cb(0x590)]['createInstance'](fe,this[_0x26a4cb(0x57d)],this[_0x26a4cb(0x1d1)],this[_0x26a4cb(0x43c)],this[_0x26a4cb(0x1c0)],this['_handler'],_0x1742f9);}};re=Ee([A(0x7,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x8,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0x9,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),A(0xa,a[_0x519f42(0x5eb)]),A(0xb,a[_0x519f42(0x3e8)]),A(0xc,a['IUndoRedoService']),A(0xd,m[_0x519f42(0x562)])],re);function Ui(_0x5a98cf,_0x1799e2,_0xd94892,_0x36d7ff,_0x3b4ce5,_0x2bbf5c){const _0xdd9708=_0x519f42;return _0x36d7ff&&_0x3b4ce5[_0xdd9708(0x53a)]?_0x5a98cf['createInstance'](ce,_0x1799e2,_0xd94892,_0x36d7ff,_0x3b4ce5,_0x2bbf5c,void 0x0):_0x36d7ff?_0x5a98cf[_0xdd9708(0x35c)](de,_0x1799e2,_0xd94892,_0x36d7ff,_0x2bbf5c):_0x3b4ce5[_0xdd9708(0x53a)]?_0x5a98cf[_0xdd9708(0x35c)](ae,_0x1799e2,_0xd94892,_0x3b4ce5,_0x2bbf5c):_0x5a98cf[_0xdd9708(0x35c)](Oe,_0x1799e2,_0xd94892,_0x2bbf5c);}var Xn=Object[_0x519f42(0x360)],Jn=Object[_0x519f42(0x544)],Mt=(_0x3dbefc,_0x37475d,_0x13246a,_0x42d68c)=>{for(var _0x2222dd=_0x42d68c>0x1?void 0x0:_0x42d68c?Jn(_0x37475d,_0x13246a):_0x37475d,_0xcf5b95=_0x3dbefc['length']-0x1,_0x16370c;_0xcf5b95>=0x0;_0xcf5b95--)(_0x16370c=_0x3dbefc[_0xcf5b95])&&(_0x2222dd=(_0x42d68c?_0x16370c(_0x37475d,_0x13246a,_0x2222dd):_0x16370c(_0x2222dd))||_0x2222dd);return _0x42d68c&&_0x2222dd&&Xn(_0x37475d,_0x13246a,_0x2222dd),_0x2222dd;},H=(_0x5572dd,_0x2b7d70)=>(_0x1e7aa6,_0x2ce0ba)=>_0x2b7d70(_0x1e7aa6,_0x2ce0ba,_0x5572dd);exports[_0x519f42(0x4dc)]=class extends a[_0x519f42(0x275)]{constructor(_0xfafab8,_0x1172e5,_0x53e28d,_0x3b3578,_0x22ba56,_0x472e8b,_0x10d02e,_0x2f2b99,_0x115ff1,_0x542440,_0x37e4f1,_0x191ea4,_0x291ba8){const _0x585a1b=_0x519f42;super(),I(this,_0x585a1b(0x36c),new N[(_0x585a1b(0x46f))](null)),I(this,'state$',this['_state$'][_0x585a1b(0x20b)]()),I(this,_0x585a1b(0x353)),I(this,'_collaborationPaused',!0x1),I(this,_0x585a1b(0x3fc),''),I(this,_0x585a1b(0x597),0x0),I(this,_0x585a1b(0x227),this['state$'][_0x585a1b(0x641)](N[_0x585a1b(0x444)](_0xad70ff=>_0xad70ff?_0xad70ff['status']:K[_0x585a1b(0x419)]),N[_0x585a1b(0x3cb)](0x1))),I(this,_0x585a1b(0x3bd),!0x1),I(this,_0x585a1b(0x216),[]),(this[_0x585a1b(0x57d)]=_0xfafab8,this[_0x585a1b(0x468)]=_0x1172e5,this['_type']=_0x53e28d,this[_0x585a1b(0x590)]=_0x3b3578,this[_0x585a1b(0x5ca)]=_0x22ba56,this['_compressMutationService']=_0x472e8b,this[_0x585a1b(0x52f)]=_0x10d02e,this[_0x585a1b(0x3c7)]=_0x2f2b99,this[_0x585a1b(0x392)]=_0x115ff1,this[_0x585a1b(0x636)]=_0x542440,this[_0x585a1b(0x471)]=_0x37e4f1,this['_permissionService']=_0x191ea4,this['_singleActiveUnitService']=_0x291ba8);}get[_0x519f42(0x619)](){const _0x3db0cb=_0x519f42;return this[_0x3db0cb(0x353)];}async['init'](){const _0x2d74a5=_0x519f42;if(this[_0x2d74a5(0x619)])throw new Error(_0x2d74a5(0x59e));await this[_0x2d74a5(0x3b9)]();}[_0x519f42(0x585)](){const _0x59f665=_0x519f42;return this[_0x59f665(0x367)]=!0x0,a[_0x59f665(0x503)](()=>{const _0x368877=_0x59f665;this['_collaborationPaused']=!0x1,this[_0x368877(0x525)]();});}['_updateState'](_0xac5375){const _0x3638aa=_0x519f42;this['_state']=_0xac5375,this[_0x3638aa(0x36c)][_0x3638aa(0x213)](_0xac5375);}async[_0x519f42(0x3b9)](){const _0x22918d=_0x519f42;var _0x125c71;this[_0x22918d(0x222)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x125c71=this['_singleActiveUnitService'])==null||_0x125c71[_0x22918d(0x401)](this[_0x22918d(0x57d)]),this[_0x22918d(0x5db)](this[_0x22918d(0x1de)][_0x22918d(0x552)](this[_0x22918d(0x57d)])[_0x22918d(0x1db)](_0x5d4401=>{const _0x3efdb8=_0x22918d;this[_0x3efdb8(0x392)][_0x3efdb8(0x408)](_0x3efdb8(0x22d),'editing\x20status\x20changed\x20to',_0x5d4401),_0x5d4401===yi[_0x3efdb8(0x4f3)]?(this[_0x3efdb8(0x471)][_0x3efdb8(0x1e6)]({'content':this[_0x3efdb8(0x52f)]['t'](_0x3efdb8(0x4b0)),'type':Ce[_0x3efdb8(0x57a)][_0x3efdb8(0x598)]}),this[_0x3efdb8(0x409)][_0x3efdb8(0x4d1)](new k[(_0x3efdb8(0x26e))](this[_0x3efdb8(0x57d)])['id'],!0x1),this[_0x3efdb8(0x409)]['setShowComponents'](!0x1)):(this[_0x3efdb8(0x409)][_0x3efdb8(0x4d1)](new k[(_0x3efdb8(0x26e))](this['unitID'])['id'],!0x0),this[_0x3efdb8(0x409)][_0x3efdb8(0x242)](!0x0));})));let _0x1773e5=!0x1;return this[_0x22918d(0x5db)](this[_0x22918d(0x468)][_0x22918d(0x4b5)][_0x22918d(0x1db)](_0xa381f9=>{const _0x4c6193=_0x22918d;_0xa381f9===ne['ONLINE']?this[_0x4c6193(0x3ef)](_0x1773e5):_0xa381f9===ne[_0x4c6193(0x419)]&&(_0x1773e5=!0x0,this[_0x4c6193(0x214)]());})),this['disposeWithMe'](this[_0x22918d(0x468)]['event$'][_0x22918d(0x1db)](_0x5a244c=>{const _0x3d0692=_0x22918d;try{switch(_0x5a244c['eventID']){case m['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x3d0692(0x42d)](m['parseProtocolChangeset'](_0x5a244c['data']));break;}case m[_0x3d0692(0x3bc)]['CHANGESET_ACK']:{this[_0x3d0692(0x47b)](_0x5a244c[_0x3d0692(0x2f1)]);break;}case m['CollaborationEvent'][_0x3d0692(0x3d7)]:{this[_0x3d0692(0x356)]();break;}case m[_0x3d0692(0x3bc)][_0x3d0692(0x5f1)]:{this['_onRemoteRetry'](_0x5a244c[_0x3d0692(0x2f1)]);break;}case m['CollaborationEvent'][_0x3d0692(0x473)]:{this['_onFetchMissResult'](_0x5a244c['data'][_0x3d0692(0x220)]['map'](_0x4a9bea=>m[_0x3d0692(0x4d2)](_0x4a9bea)));break;}case m[_0x3d0692(0x3bc)]['PERMISSION_REJ']:this[_0x3d0692(0x356)]({'isPermissionRej':!0x0});}}catch(_0x1f2f8e){throw console[_0x3d0692(0x1d8)]('Error\x20on\x20receiving\x20event',_0x1f2f8e),_0x1f2f8e;}})),this[_0x22918d(0x353)];}[_0x519f42(0x2a6)](){const _0x3e361f=_0x519f42;this[_0x3e361f(0x3bd)]=!0x1;}[_0x519f42(0x5a4)](){const _0xaa40f4=_0x519f42;if(this[_0xaa40f4(0x3bd)])throw new Error(_0xaa40f4(0x366));this[_0xaa40f4(0x3bd)]=!0x0;}[_0x519f42(0x58d)](_0x47b08c){const _0xa8c574=_0x519f42;this[_0xa8c574(0x5a4)](),this[_0xa8c574(0x222)](this[_0xa8c574(0x353)]['appendMutation'](_0x47b08c)),this[_0xa8c574(0x2a6)]();}['_onRemoteChangeset'](_0x98fd5a){const _0x20ef38=_0x519f42;if(!(_0x98fd5a[_0x20ef38(0x4db)]<=this['_revisionService'][_0x20ef38(0x35e)](this['unitID']))){if(this[_0x20ef38(0x367)]){this['_remoteChangesetQueue'][_0x20ef38(0x205)](_0x98fd5a);return;}this[_0x20ef38(0x354)](_0x98fd5a);}}[_0x519f42(0x525)](){const _0x509e08=_0x519f42;this[_0x509e08(0x216)]['forEach'](_0x136ff5=>this[_0x509e08(0x354)](_0x136ff5)),this['_remoteChangesetQueue']=[];}[_0x519f42(0x354)](_0x28ac4a){const _0x407a1f=_0x519f42,_0x35e921=this[_0x407a1f(0x259)]['interceptor'][_0x407a1f(0x352)](this[_0x407a1f(0x259)][_0x407a1f(0x4a3)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x28ac4a['mutations'],null)||_0x28ac4a[_0x407a1f(0x4af)],_0xc1bd44={..._0x28ac4a,'mutations':_0x35e921};this[_0x407a1f(0x5a4)](),this['_updateState'](this[_0x407a1f(0x353)][_0x407a1f(0x4de)](_0xc1bd44)),this[_0x407a1f(0x2a6)]();}[_0x519f42(0x47b)](_0x20703e){const _0x1e4998=_0x519f42;this[_0x1e4998(0x5a4)](),this[_0x1e4998(0x222)](this[_0x1e4998(0x353)][_0x1e4998(0x17e)](_0x20703e)),this[_0x1e4998(0x2a6)]();}['_onRemoteRejected'](_0x56c17e){const _0x2aa0d0=_0x519f42;this[_0x2aa0d0(0x5a4)](),this['_updateState'](this['_state'][_0x2aa0d0(0x195)](_0x56c17e)),this[_0x2aa0d0(0x2a6)]();}[_0x519f42(0x5fd)](_0x257fa7){const _0x849efd=_0x519f42;this['_lockTransition'](),this[_0x849efd(0x222)](this['_state'][_0x849efd(0x277)](_0x257fa7)),this[_0x849efd(0x2a6)]();}['_onFetchMissResult'](_0x4fd9f2){const _0xf8a93c=_0x519f42;if(!(this[_0xf8a93c(0x353)]instanceof re))throw new TypeError(_0xf8a93c(0x3df));const _0x35e71a=_0x4fd9f2['map'](_0x46b2ff=>{const _0x1879ef=_0xf8a93c,_0x46c913=this[_0x1879ef(0x259)][_0x1879ef(0x4a3)][_0x1879ef(0x352)](this[_0x1879ef(0x259)][_0x1879ef(0x4a3)][_0x1879ef(0x382)]()[_0x1879ef(0x3f9)])(_0x46b2ff[_0x1879ef(0x4af)],null)||_0x46b2ff[_0x1879ef(0x4af)];return{..._0x46b2ff,'mutations':_0x46c913};});this[_0xf8a93c(0x5a4)](),this[_0xf8a93c(0x222)](this['_state'][_0xf8a93c(0x194)](_0x35e71a)),this['_unlockTransition']();}[_0x519f42(0x214)](){const _0x261480=_0x519f42;this[_0x261480(0x5a4)](),this[_0x261480(0x222)](this[_0x261480(0x353)][_0x261480(0x349)]()),this['_unlockTransition']();}[_0x519f42(0x3ef)](_0x6f03ac=!0x1){const _0x1e184a=_0x519f42;this['_lockTransition'](),this[_0x1e184a(0x222)](this['_state'][_0x1e184a(0x46e)]()),this[_0x1e184a(0x2a6)]();const _0x4fb929=this[_0x1e184a(0x353)];_0x6f03ac&&_0x4fb929 instanceof Oe&&(this['_lockTransition'](),this[_0x1e184a(0x222)](_0x4fb929[_0x1e184a(0x520)]()),this[_0x1e184a(0x2a6)]());}async[_0x519f42(0x31f)](){return new Promise(_0x30c839=>{const _0x3a4eac=_0x3f43;this['session'][_0x3a4eac(0x4b5)][_0x3a4eac(0x641)](N['take'](0x1))[_0x3a4eac(0x1db)](async _0x784ca=>{const _0x15a971=_0x3a4eac;_0x30c839(await this[_0x15a971(0x315)](_0x784ca===ne[_0x15a971(0x481)]));});});}['_createHandler'](){const _0x1ef84e=_0x519f42,_0x20ff2a=this[_0x1ef84e(0x57d)];return{'onStateChange':(_0x2c2c76,_0x49d3f2)=>{const _0x310448=_0x1ef84e;if(_0x2c2c76!==this[_0x310448(0x353)])throw new Error(_0x310448(0x230)+_0x2c2c76[_0x310448(0x32e)]+_0x310448(0x3f8)+_0x49d3f2[_0x310448(0x32e)]+_0x310448(0x1b7)+this[_0x310448(0x353)][_0x310448(0x32e)]);this[_0x310448(0x222)](_0x49d3f2);},'onSendChangeset':_0x3411fb=>{const _0x54e398=_0x1ef84e;_0x3411fb[_0x54e398(0x476)]||(_0x3411fb[_0x54e398(0x476)]=this[_0x54e398(0x3fc)],_0x3411fb[_0x54e398(0x30e)]=++this[_0x54e398(0x597)]);const _0x1a08da={'eventID':m[_0x54e398(0x3bc)][_0x54e398(0x207)],'data':{'unitID':_0x3411fb['unitID'],'unitType':this['_type'],'changeset':_0x3411fb,'memberID':this[_0x54e398(0x468)][_0x54e398(0x2cd)]()}};this[_0x54e398(0x468)][_0x54e398(0x2a8)](_0x1a08da,this[_0x54e398(0x57d)]);},'onMissingChangesets':({from:_0x295f0b,to:_0x2c05ac})=>{const _0x3c8bad=_0x1ef84e;this[_0x3c8bad(0x392)][_0x3c8bad(0x408)](_0x3c8bad(0x22d),_0x3c8bad(0x26c)+_0x295f0b+'\x20to\x20'+_0x2c05ac);const _0x5e74dc={'eventID':m[_0x3c8bad(0x3bc)][_0x3c8bad(0x269)],'data':{'unitID':_0x20ff2a,'unitType':this[_0x3c8bad(0x26d)],'from':_0x295f0b,'to':_0x2c05ac}};this['session'][_0x3c8bad(0x2a8)](_0x5e74dc,this[_0x3c8bad(0x57d)]);}};}async['_createInitialStateImpl'](_0xc659f0){const _0x1a4000=_0x519f42;var _0x167d5e,_0x493802;const _0x22f632=await this[_0x1a4000(0x5ca)]['loadOfflineData'](this[_0x1a4000(0x57d)]),_0x2ed0b0=(_0x167d5e=_0x22f632==null?void 0x0:_0x22f632[_0x1a4000(0x4af)])!=null?_0x167d5e:[],_0x19dc5f=(_0x493802=_0x22f632==null?void 0x0:_0x22f632[_0x1a4000(0x3c5)])!=null?_0x493802:null,_0x30e4ad=!!(_0x19dc5f!=null&&_0x19dc5f['sid'])&&!!(_0x19dc5f!=null&&_0x19dc5f[_0x1a4000(0x30e)]);this[_0x1a4000(0x3fc)]=_0x30e4ad?_0x19dc5f[_0x1a4000(0x476)]:On(),this[_0x1a4000(0x597)]=_0x30e4ad?_0x19dc5f['reqId']:0x0;const _0x5da44c=this['unitID'];try{this['_replayCachedMutations'](_0x19dc5f,_0x2ed0b0);}catch(_0x5df4bb){this['_logService'][_0x1a4000(0x1d8)](_0x5df4bb);}const _0x1bceb1=this[_0x1a4000(0x327)]();if(_0xc659f0){const _0x581c52=Ui(this[_0x1a4000(0x590)],_0x5da44c,this[_0x1a4000(0x26d)],_0x19dc5f,_0x2ed0b0,_0x1bceb1);return _0x581c52 instanceof ae?_0x581c52[_0x1a4000(0x1e8)]():(_0x581c52 instanceof ce||_0x581c52 instanceof de)&&_0x581c52['resend'](),_0x581c52;}return this['_injector']['createInstance'](ve,_0x5da44c,this['_type'],_0x19dc5f,_0x2ed0b0,_0x1bceb1);}[_0x519f42(0x535)](_0x5d10df,_0x380aec){const _0x2fd76d=_0x519f42;var _0x3d5b9d,_0xdfc52f;const _0x52fcd6=this[_0x2fd76d(0x259)][_0x2fd76d(0x4a3)][_0x2fd76d(0x352)](this[_0x2fd76d(0x259)][_0x2fd76d(0x4a3)][_0x2fd76d(0x382)]()[_0x2fd76d(0x3f9)]);(_0x3d5b9d=_0x52fcd6((_0x5d10df==null?void 0x0:_0x5d10df[_0x2fd76d(0x4af)])||[],null))==null||_0x3d5b9d[_0x2fd76d(0x24a)](_0x2c547b=>this[_0x2fd76d(0x636)][_0x2fd76d(0x237)](_0x2c547b['id'],_0x2c547b['params'])),(_0xdfc52f=_0x52fcd6(_0x380aec||[],null))==null||_0xdfc52f['forEach'](_0x4c1fb7=>this[_0x2fd76d(0x636)][_0x2fd76d(0x237)](_0x4c1fb7['id'],_0x4c1fb7[_0x2fd76d(0x322)]));}},exports['CollaborationEntity']=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),H(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x1d7)])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a['Inject'](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x5eb)]),H(0x9,a[_0x519f42(0x3e8)]),H(0xa,ee['IMessageService']),H(0xb,a[_0x519f42(0x3ed)]),H(0xc,a[_0x519f42(0x462)](at))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x519f42(0x4dc)]{constructor(_0xcde323,_0x232515,_0x550cb8,_0x5cf1e8,_0x4ffce6,_0x2f7d35,_0x1a150f,_0xa78ecc,_0x149166,_0x3a049a,_0x29c43b,_0x2b00c0,_0x34034f,_0x459b88,_0x34d6c9,_0x3d7e9e,_0x207a38,_0x5002c2){const _0x5eafcc=_0x519f42;super(_0xcde323,_0x550cb8,_0x232515,_0x5cf1e8,_0x4ffce6,_0x2f7d35,_0x1a150f,_0xa78ecc,_0x459b88,_0x34d6c9,_0x3d7e9e,_0x207a38,_0x5002c2),this['unitID']=_0xcde323,this[_0x5eafcc(0x1d1)]=_0x232515,this[_0x5eafcc(0x596)]=_0x149166,this[_0x5eafcc(0x2ff)]=_0x3a049a,this[_0x5eafcc(0x2a9)]=_0x29c43b,this[_0x5eafcc(0x524)]=_0x2b00c0,this[_0x5eafcc(0x407)]=_0x34034f;}[_0x519f42(0x327)](){const _0x9b4f1a=_0x519f42,_0x5334b5=super['_createHandler']();return _0x5334b5[_0x9b4f1a(0x60e)]=_0x55d49f=>this[_0x9b4f1a(0x2ff)][_0x9b4f1a(0x4bc)](_0x55d49f),_0x5334b5['onTransformState']=_0x45c9e3=>this[_0x9b4f1a(0x2a9)][_0x9b4f1a(0x3e9)](_0x45c9e3),_0x5334b5[_0x9b4f1a(0x523)]=_0x4f2517=>this[_0x9b4f1a(0x524)][_0x9b4f1a(0x35b)](_0x4f2517),_0x5334b5[_0x9b4f1a(0x4f1)]=_0x49f508=>this['_docSyncEditingCollabCursorService'][_0x9b4f1a(0x3e3)](_0x49f508),_0x5334b5[_0x9b4f1a(0x1f8)]=_0x193735=>this[_0x9b4f1a(0x2ff)][_0x9b4f1a(0x5ce)](_0x193735),_0x5334b5[_0x9b4f1a(0x5ef)]=_0x206fc5=>this[_0x9b4f1a(0x2a9)][_0x9b4f1a(0x5ce)](_0x206fc5),_0x5334b5;}async[_0x519f42(0x3b9)](){const _0x286b93=_0x519f42,_0x3dc10e=await super[_0x286b93(0x3b9)]();return this['disposeWithMe'](this[_0x286b93(0x596)][_0x286b93(0x5da)][_0x286b93(0x641)](N['takeUntil'](this[_0x286b93(0x191)]))[_0x286b93(0x1db)](_0x4aecdd=>{const _0x2d1b7c=_0x286b93;if(_0x4aecdd==null)return;const {unitId:_0x5cf9cb,redoState:_0x35759e,commandId:_0x1d21a5}=_0x4aecdd;if(_0x5cf9cb!==this[_0x2d1b7c(0x57d)])return;const _0x36dcd1={'id':_0x1d21a5,'type':a[_0x2d1b7c(0x44c)]['MUTATION'],'params':{'unitId':_0x5cf9cb,'actions':_0x35759e[_0x2d1b7c(0x36a)],'textRanges':null}};this['_onLocalMutation'](_0x36dcd1);})),this[_0x286b93(0x5db)](this[_0x286b93(0x636)][_0x286b93(0x4a8)]((_0x387f71,_0x3c28ba)=>{const _0x2427e1=_0x286b93;if(_0x387f71[_0x2427e1(0x1d1)]!==a[_0x2427e1(0x44c)]['MUTATION']||_0x3c28ba!=null&&_0x3c28ba[_0x2427e1(0x393)]||_0x3c28ba!=null&&_0x3c28ba[_0x2427e1(0x1bf)]||_0x387f71['id']===Ie['RichTextEditingMutation']['id'])return;const _0x5163a8=_0x387f71['params'];if((_0x5163a8==null?void 0x0:_0x5163a8[_0x2427e1(0x235)])!==this[_0x2427e1(0x57d)])return;const _0x122926=_0x387f71,_0x3a8233=this[_0x2427e1(0x259)][_0x2427e1(0x4a3)][_0x2427e1(0x352)](this[_0x2427e1(0x259)][_0x2427e1(0x4a3)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x122926],null)||[_0x122926];this[_0x2427e1(0x58d)](_0x3a8233[0x0]);})),_0x3dc10e;}},exports[_0x519f42(0x2fb)]=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a['Inject'](exports[_0x519f42(0x467)])),H(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x1d7)])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x3b4)](J[_0x519f42(0x2ca)])),H(0x9,a['Inject'](Ze)),H(0xa,a[_0x519f42(0x3b4)](et)),H(0xb,a[_0x519f42(0x3b4)](tt)),H(0xc,a[_0x519f42(0x3b4)](Ut)),H(0xd,a['ILogService']),H(0xe,a['ICommandService']),H(0xf,ee[_0x519f42(0x4c8)]),H(0x10,a[_0x519f42(0x3ed)]),H(0x11,a[_0x519f42(0x462)](at))],exports[_0x519f42(0x2fb)]),exports[_0x519f42(0x2cc)]=class extends exports['CollaborationEntity']{constructor(_0x1096b3,_0x4c4bdd,_0x423a90,_0x4f3569,_0x256670,_0x46a2ae,_0x3d629f,_0x288dfa,_0x3b20bb,_0x4e5612,_0x2fe45e,_0x1aff49,_0x47883a,_0x39e1f4){const _0x2c28d7=_0x519f42;super(_0x1096b3,_0x423a90,_0x4c4bdd,_0x4f3569,_0x256670,_0x46a2ae,_0x3d629f,_0x288dfa,_0x4e5612,_0x2fe45e,_0x1aff49,_0x47883a,_0x39e1f4),this['unitID']=_0x1096b3,this[_0x2c28d7(0x1d1)]=_0x4c4bdd,this[_0x2c28d7(0x372)]=_0x3b20bb;}[_0x519f42(0x327)](){const _0x363930=_0x519f42,_0x3a7537=super['_createHandler']();return _0x3a7537[_0x363930(0x523)]=_0x316137=>this['_sheetTransformSelectionsService']['transformSelections'](_0x316137),_0x3a7537;}async[_0x519f42(0x3b9)](){const _0x32129b=_0x519f42,_0x41d026=await super[_0x32129b(0x3b9)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x5b4600,_0x5a88ed)=>{const _0x55d922=_0x32129b;if(_0x5b4600[_0x55d922(0x1d1)]!==a[_0x55d922(0x44c)][_0x55d922(0x53f)]||_0x5a88ed!=null&&_0x5a88ed[_0x55d922(0x393)]||_0x5a88ed!=null&&_0x5a88ed['onlyLocal'])return;const _0x106f6a=_0x5b4600['params'];if((_0x106f6a==null?void 0x0:_0x106f6a[_0x55d922(0x235)])!==this[_0x55d922(0x57d)])return;const _0x30db60=_0x5b4600,_0x125c50=this[_0x55d922(0x259)][_0x55d922(0x4a3)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x55d922(0x4a3)][_0x55d922(0x382)]()[_0x55d922(0x1c2)])([_0x30db60],null)||[_0x30db60];this[_0x55d922(0x58d)](_0x125c50[0x0]);})),_0x41d026;}},exports[_0x519f42(0x2cc)]=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),H(0x5,a['Inject'](m['CompressMutationService'])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x3b4)](Qe)),H(0x9,a[_0x519f42(0x5eb)]),H(0xa,a[_0x519f42(0x3e8)]),H(0xb,ee[_0x519f42(0x4c8)]),H(0xc,a[_0x519f42(0x3ed)]),H(0xd,a['Optional'](at))],exports['SheetCollaborationEntity']);var Zn=Object[_0x519f42(0x360)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x41fa84,_0x56c0ff,_0x189d26,_0x24fb9c)=>{const _0x3243c6=_0x519f42;for(var _0x1f7470=_0x24fb9c>0x1?void 0x0:_0x24fb9c?Qn(_0x56c0ff,_0x189d26):_0x56c0ff,_0x50bba0=_0x41fa84[_0x3243c6(0x53a)]-0x1,_0x599eb4;_0x50bba0>=0x0;_0x50bba0--)(_0x599eb4=_0x41fa84[_0x50bba0])&&(_0x1f7470=(_0x24fb9c?_0x599eb4(_0x56c0ff,_0x189d26,_0x1f7470):_0x599eb4(_0x1f7470))||_0x1f7470);return _0x24fb9c&&_0x1f7470&&Zn(_0x56c0ff,_0x189d26,_0x1f7470),_0x1f7470;},dt=(_0x28dae3,_0x268dd8)=>(_0x4e5cdf,_0x12d6ef)=>_0x268dd8(_0x4e5cdf,_0x12d6ef,_0x28dae3);exports[_0x519f42(0x321)]=class extends a[_0x519f42(0x275)]{constructor(_0x28e34c,_0x149c49,_0x391701){const _0x2c6a09=_0x519f42;super(),I(this,_0x2c6a09(0x41d),new Map()),I(this,_0x2c6a09(0x276),new N['Subject']()),(this[_0x2c6a09(0x590)]=_0x28e34c,this[_0x2c6a09(0x55b)]=_0x149c49,this[_0x2c6a09(0x403)]=_0x391701,this[_0x2c6a09(0x3b9)]());}['dispose'](){const _0x1354c8=_0x519f42;super[_0x1354c8(0x5fa)](),this[_0x1354c8(0x41d)][_0x1354c8(0x24a)](_0x52569c=>_0x52569c[_0x1354c8(0x5fa)]()),this['_entities']['clear']();}[_0x519f42(0x4c4)](_0x37bd9b){const _0x4770ab=_0x519f42;var _0x2abc95;return(_0x2abc95=this[_0x4770ab(0x41d)][_0x4770ab(0x4a6)](_0x37bd9b))!=null?_0x2abc95:null;}[_0x519f42(0x4d5)](_0x472116){const _0x5b69bc=_0x519f42,_0xf203bf=this[_0x5b69bc(0x4c4)](_0x472116);return _0xf203bf?N['of'](_0xf203bf):this['_entityInit$'][_0x5b69bc(0x641)](V['filter'](_0x393934=>_0x393934[_0x5b69bc(0x57d)]===_0x472116));}[_0x519f42(0x3b9)](){const _0x453cfb=_0x519f42;this[_0x453cfb(0x403)][_0x453cfb(0x253)](a[_0x453cfb(0x475)][_0x453cfb(0x248)])[_0x453cfb(0x641)](N[_0x453cfb(0x1e9)](this[_0x453cfb(0x191)]),V[_0x453cfb(0x634)](0x10))[_0x453cfb(0x1db)](async _0x499713=>{const _0x37c1b9=_0x453cfb,_0x40966a=_0x499713[_0x37c1b9(0x238)](),_0x3ccc18=await this[_0x37c1b9(0x1a4)](_0x40966a,ie[_0x37c1b9(0x248)]);this['_entities'][_0x37c1b9(0x3e1)](_0x40966a,_0x3ccc18);}),this[_0x453cfb(0x403)]['getTypeOfUnitAdded$'](a[_0x453cfb(0x475)][_0x453cfb(0x249)])[_0x453cfb(0x641)](N['takeUntil'](this[_0x453cfb(0x191)]),V[_0x453cfb(0x634)](0x10))['pipe'](V[_0x453cfb(0x1ae)](_0x21a379=>!_0x21a379['getUnitId']()[_0x453cfb(0x2ea)]('__')))[_0x453cfb(0x1db)](async _0x566aec=>{const _0x2e9fee=_0x453cfb,_0x327854=_0x566aec['getUnitId'](),_0x2ab8a4=await this[_0x2e9fee(0x1a4)](_0x327854,ie[_0x2e9fee(0x249)]);this[_0x2e9fee(0x41d)][_0x2e9fee(0x3e1)](_0x327854,_0x2ab8a4);}),N['merge'](this[_0x453cfb(0x403)][_0x453cfb(0x610)](a[_0x453cfb(0x475)][_0x453cfb(0x248)]),this[_0x453cfb(0x403)][_0x453cfb(0x610)](a[_0x453cfb(0x475)][_0x453cfb(0x249)]))['pipe'](N[_0x453cfb(0x1e9)](this[_0x453cfb(0x191)]))[_0x453cfb(0x1db)](_0x323b9e=>{const _0x50d057=_0x453cfb,_0x404853=_0x323b9e[_0x50d057(0x238)](),_0x1a2101=this[_0x50d057(0x41d)][_0x50d057(0x4a6)](_0x404853);_0x1a2101&&(_0x1a2101[_0x50d057(0x5fa)](),this[_0x50d057(0x41d)][_0x50d057(0x203)](_0x404853));});}async[_0x519f42(0x1a4)](_0x3ba1c4,_0x16f967){const _0x185ce6=_0x519f42,_0x5600c0=await this[_0x185ce6(0x55b)][_0x185ce6(0x295)](_0x3ba1c4),_0x3b93a3=this[_0x185ce6(0x590)][_0x185ce6(0x35c)](this[_0x185ce6(0x2c9)](_0x16f967),_0x3ba1c4,_0x16f967,_0x5600c0);return await _0x3b93a3[_0x185ce6(0x1fe)](),this[_0x185ce6(0x276)][_0x185ce6(0x213)](_0x3b93a3),_0x3b93a3;}[_0x519f42(0x2c9)](_0x23abb4){const _0x56d326=_0x519f42;switch(_0x23abb4){case ie['UNIVER_DOC']:return exports[_0x56d326(0x2fb)];case ie[_0x56d326(0x248)]:return exports[_0x56d326(0x2cc)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x23abb4);}}},exports[_0x519f42(0x321)]=er([dt(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),dt(0x1,a[_0x519f42(0x3b4)](exports[_0x519f42(0x4ae)])),dt(0x2,a['IUniverInstanceService'])],exports['CollaborationController']);var tr=Object[_0x519f42(0x360)],ir=Object[_0x519f42(0x544)],nr=(_0x3f4d20,_0xf13d9,_0x103005,_0x4a724e)=>{const _0x1eeff6=_0x519f42;for(var _0x8ebe6b=_0x4a724e>0x1?void 0x0:_0x4a724e?ir(_0xf13d9,_0x103005):_0xf13d9,_0x3c9c1b=_0x3f4d20[_0x1eeff6(0x53a)]-0x1,_0x32480b;_0x3c9c1b>=0x0;_0x3c9c1b--)(_0x32480b=_0x3f4d20[_0x3c9c1b])&&(_0x8ebe6b=(_0x4a724e?_0x32480b(_0xf13d9,_0x103005,_0x8ebe6b):_0x32480b(_0x8ebe6b))||_0x8ebe6b);return _0x4a724e&&_0x8ebe6b&&tr(_0xf13d9,_0x103005,_0x8ebe6b),_0x8ebe6b;},Yt=(_0x440155,_0x5da2b2)=>(_0x5c99bb,_0x55bf96)=>_0x5da2b2(_0x5c99bb,_0x55bf96,_0x440155);let it=class extends a[_0x519f42(0x275)]{constructor(_0x27ab64,_0x577366){const _0x4303eb=_0x519f42;super(),this[_0x4303eb(0x2d8)]=_0x27ab64,this[_0x4303eb(0x4ce)]=_0x577366,this[_0x4303eb(0x3b9)]();}[_0x519f42(0x3b9)](){const _0x5983b3=_0x519f42,_0x42812f=this;this['disposeWithMe'](this[_0x5983b3(0x2d8)]['addClipboardHook']({'onBeforePasteImage':async _0x5b3fa1=>{const _0x5990ef=_0x5983b3,_0x4c22b2=await _0x42812f[_0x5990ef(0x4ce)][_0x5990ef(0x2e8)](_0x5b3fa1);return _0x4c22b2?{'source':_0x4c22b2[_0x5990ef(0x456)],'imageSourceType':_0x4c22b2[_0x5990ef(0x2c3)]}:null;}}));}};it=nr([Yt(0x0,J[_0x519f42(0x373)]),Yt(0x1,te['IImageIoService'])],it);const qt=['purple300',_0x519f42(0x607),_0x519f42(0x4b9),'red300',_0x519f42(0x3a7),_0x519f42(0x576)];class Nt extends a[_0x519f42(0x5f8)]{constructor(){const _0x211a42=_0x519f42;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x211a42(0x30d),0x0);}[_0x519f42(0x305)](_0x590bbc){const _0x30b24d=_0x519f42;if(this[_0x30b24d(0x52c)][_0x30b24d(0x443)](_0x590bbc))return this[_0x30b24d(0x52c)][_0x30b24d(0x4a6)](_0x590bbc);const _0x200593=qt[this[_0x30b24d(0x30d)]];return this[_0x30b24d(0x30d)]=(this[_0x30b24d(0x30d)]+0x1)%qt[_0x30b24d(0x53a)],this[_0x30b24d(0x52c)][_0x30b24d(0x3e1)](_0x590bbc,_0x200593),_0x200593;}}var rr=Object[_0x519f42(0x360)],sr=Object[_0x519f42(0x544)],or=(_0x5103ae,_0x136d7f,_0x3b1c70,_0x1a281b)=>{for(var _0x585b4a=_0x1a281b>0x1?void 0x0:_0x1a281b?sr(_0x136d7f,_0x3b1c70):_0x136d7f,_0x8a41d9=_0x5103ae['length']-0x1,_0x254915;_0x8a41d9>=0x0;_0x8a41d9--)(_0x254915=_0x5103ae[_0x8a41d9])&&(_0x585b4a=(_0x1a281b?_0x254915(_0x136d7f,_0x3b1c70,_0x585b4a):_0x254915(_0x585b4a))||_0x585b4a);return _0x1a281b&&_0x585b4a&&rr(_0x136d7f,_0x3b1c70,_0x585b4a),_0x585b4a;},pe=(_0x15146a,_0x48f3f5)=>(_0x4c2710,_0xe9893c)=>_0x48f3f5(_0x4c2710,_0xe9893c,_0x15146a);const ar=0x12c,cr=0x64;let bt=class extends a['RxDisposable']{constructor(_0x3ffdf1,_0x2e422b,_0x3b8bc1,_0x3d8b6f,_0x3a1376,_0x1c72fb,_0x230a67,_0xf93db,_0x4a4aa4){const _0x17d3f2=_0x519f42;super(),I(this,_0x17d3f2(0x1a3),!0x1),I(this,_0x17d3f2(0x3b9),!0x1),I(this,_0x17d3f2(0x266),new N[(_0x17d3f2(0x46f))](new Map())),I(this,_0x17d3f2(0x5e8),this[_0x17d3f2(0x266)][_0x17d3f2(0x20b)]()),I(this,'_roomMembers$',new N[(_0x17d3f2(0x46f))]([])),I(this,_0x17d3f2(0x17a),this[_0x17d3f2(0x44f)][_0x17d3f2(0x641)](N['debounceTime'](ar))),I(this,_0x17d3f2(0x3be),a[_0x17d3f2(0x261)](_0x22e3a5=>{const _0x1a5c14=_0x17d3f2,_0x57b4a7={'eventID':m['CollaborationEvent'][_0x1a5c14(0x2ef)],'data':{'unitID':this[_0x1a5c14(0x57d)],'memberID':this[_0x1a5c14(0x37c)][_0x1a5c14(0x2cd)](),'selection':Di(_0x22e3a5)}};this[_0x1a5c14(0x37c)][_0x1a5c14(0x2a8)](_0x57b4a7,this[_0x1a5c14(0x57d)]);},cr)),(this['unitID']=_0x3ffdf1,this[_0x17d3f2(0x37c)]=_0x2e422b,this[_0x17d3f2(0x590)]=_0x3b8bc1,this[_0x17d3f2(0x223)]=_0x3d8b6f,this[_0x17d3f2(0x24e)]=_0x3a1376,this[_0x17d3f2(0x582)]=_0x1c72fb,this[_0x17d3f2(0x2b6)]=_0x230a67,this[_0x17d3f2(0x403)]=_0xf93db,this['_commandService']=_0x4a4aa4);}get['cursorInfo'](){const _0x39578f=_0x519f42;return this['_cursorInfo$'][_0x39578f(0x489)]();}get[_0x519f42(0x272)](){const _0x2331af=_0x519f42;return this[_0x2331af(0x44f)][_0x2331af(0x489)]();}[_0x519f42(0x5fa)](){const _0x34d894=_0x519f42;super[_0x34d894(0x5fa)](),this[_0x34d894(0x266)][_0x34d894(0x213)](new Map()),this['_cursorInfo$']['complete'](),this[_0x34d894(0x44f)]['next']([]),this[_0x34d894(0x44f)]['complete']();}[_0x519f42(0x1fe)](){const _0x682cbb=_0x519f42;this[_0x682cbb(0x3b9)]||(this[_0x682cbb(0x3b9)]=!0x0,this[_0x682cbb(0x37c)][_0x682cbb(0x4b5)]['pipe'](N['takeUntil'](this[_0x682cbb(0x191)]))[_0x682cbb(0x1db)](_0x2dfc0b=>{const _0x36ad56=_0x682cbb;_0x2dfc0b===ne[_0x36ad56(0x481)]?this[_0x36ad56(0x3ef)]():this[_0x36ad56(0x214)]();}),this[_0x682cbb(0x37c)][_0x682cbb(0x4c0)][_0x682cbb(0x641)](N[_0x682cbb(0x1e9)](this[_0x682cbb(0x191)]))[_0x682cbb(0x1db)](_0x14a38d=>{const _0x27d1c5=_0x682cbb,_0x1d0529=_0x14a38d[_0x27d1c5(0x509)];_0x1d0529===m[_0x27d1c5(0x3bc)]['UPDATE_CURSOR']&&this[_0x27d1c5(0x4c2)](_0x14a38d),_0x1d0529===m['CollaborationEvent'][_0x27d1c5(0x41b)]&&this[_0x27d1c5(0x2fa)](_0x14a38d);}),this[_0x682cbb(0x5db)](this[_0x682cbb(0x636)][_0x682cbb(0x4a8)](_0x5c23d7=>{const _0x58381a=_0x682cbb,_0x469007=_0x5c23d7[_0x58381a(0x322)];_0x469007!=null&&this[_0x58381a(0x1a3)]&&_0x5c23d7['id']===Ie[_0x58381a(0x20c)]['id']&&_0x469007['unitId']===this['unitID']&&_0x469007[_0x58381a(0x4ad)]===!0x1&&_0x469007[_0x58381a(0x2a5)][_0x58381a(0x53a)]>0x0&&this[_0x58381a(0x3be)](_0x469007[_0x58381a(0x2a5)]);})),this[_0x682cbb(0x582)][_0x682cbb(0x5fe)][_0x682cbb(0x641)](N['takeUntil'](this['dispose$']))['subscribe'](_0x23f548=>{const _0x48ff00=_0x682cbb;if((_0x23f548==null?void 0x0:_0x23f548[_0x48ff00(0x57d)])!==this['unitID'])return;const _0x2da0ec={'eventID':m['CollaborationEvent'][_0x48ff00(0x2ef)],'data':_0x23f548};this[_0x48ff00(0x4c2)](_0x2da0ec);}),this['disposeWithMe'](this[_0x682cbb(0x636)][_0x682cbb(0x4a8)](_0x4f9085=>{const _0x7464cf=_0x682cbb;if(_0x4f9085[_0x7464cf(0x322)]==null)return;const _0x3eb854=_0x4f9085[_0x7464cf(0x322)];if(_0x4f9085['id']!==Ie['RichTextEditingMutation']['id']||_0x3eb854['unitId']!==this['unitID'])return;const _0x571005={'id':_0x7464cf(0x5d5),'params':_0x3eb854},_0x5cd694=this[_0x7464cf(0x232)];for(const [_0x415ccb,_0x556120]of _0x5cd694){const _0x97f7b9={'id':_0x7464cf(0x5d5),'params':{'unitId':this[_0x7464cf(0x57d)],'actions':null,'textRanges':_0x556120[_0x7464cf(0x2a5)]}},_0x574160=this[_0x7464cf(0x2b6)][_0x7464cf(0x18f)](_0x571005,_0x97f7b9,!0x1);if(m['isTransformMutationFailure'](_0x574160))throw _0x574160['error'];_0x5cd694[_0x7464cf(0x3e1)](_0x415ccb,{..._0x556120,'ranges':_0x574160[_0x7464cf(0x20d)][_0x7464cf(0x322)][_0x7464cf(0x1e0)]});}queueMicrotask(()=>{const _0x3f6c42=_0x7464cf;this['_cursorInfo$'][_0x3f6c42(0x213)](_0x5cd694);});})));}[_0x519f42(0x4c2)](_0x3a092e){const _0x2fa9c7=_0x519f42;var _0x77e1d6,_0x539951;const {memberID:_0x5c5c58,selection:_0x4216a0}=_0x3a092e[_0x2fa9c7(0x2f1)],_0xbdbb=kn(_0x4216a0),_0x14dfe4=(_0x539951=(_0x77e1d6=this[_0x2fa9c7(0x24e)]['getMember'](this[_0x2fa9c7(0x57d)],_0x5c5c58))==null?void 0x0:_0x77e1d6[_0x2fa9c7(0x3b2)])!=null?_0x539951:'Unknown\x20user',_0x5d8b9c={'color':this[_0x2fa9c7(0x223)][_0x2fa9c7(0x305)](_0x5c5c58),'name':_0x14dfe4,'ranges':_0xbdbb},_0x508526=this[_0x2fa9c7(0x232)];_0x508526[_0x2fa9c7(0x3e1)](_0x5c5c58,_0x5d8b9c),this[_0x2fa9c7(0x266)][_0x2fa9c7(0x213)](_0x508526);}[_0x519f42(0x2fa)](_0x5c168d){const _0x4ea7e3=_0x519f42,{memberID:_0x444fab}=_0x5c168d[_0x4ea7e3(0x2f1)],_0x43e70c=this[_0x4ea7e3(0x232)];_0x43e70c[_0x4ea7e3(0x203)](_0x444fab),this[_0x4ea7e3(0x266)][_0x4ea7e3(0x213)](_0x43e70c);}[_0x519f42(0x3ef)](){const _0x3d9bff=_0x519f42;var _0x34c259;if(this[_0x3d9bff(0x1a3)]=!0x0,((_0x34c259=this['_univerInstanceService'][_0x3d9bff(0x5a3)]())==null?void 0x0:_0x34c259[_0x3d9bff(0x238)]())!==this[_0x3d9bff(0x57d)])return;const _0x58ea34=this[_0x3d9bff(0x590)]['get'](Ie[_0x3d9bff(0x278)])['getDocRanges']();Array['isArray'](_0x58ea34)&&_0x58ea34[_0x3d9bff(0x53a)]>0x0&&this[_0x3d9bff(0x3be)](_0x58ea34);}['_toggleOffline'](){const _0x5cae1e=_0x519f42;this[_0x5cae1e(0x1a3)]=!0x1;}};bt=or([pe(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),pe(0x3,a[_0x519f42(0x3b4)](Nt)),pe(0x4,a['Inject'](exports[_0x519f42(0x1f6)])),pe(0x5,a[_0x519f42(0x3b4)](Ut)),pe(0x6,m[_0x519f42(0x562)]),pe(0x7,a[_0x519f42(0x4aa)]),pe(0x8,a[_0x519f42(0x3e8)])],bt);var lr=Object[_0x519f42(0x360)],hr=Object[_0x519f42(0x544)],_r=(_0xd4486b,_0x491c19,_0x4566e5,_0x143624)=>{const _0x47393d=_0x519f42;for(var _0xb1c823=_0x143624>0x1?void 0x0:_0x143624?hr(_0x491c19,_0x4566e5):_0x491c19,_0xd95b3b=_0xd4486b[_0x47393d(0x53a)]-0x1,_0x1d51e5;_0xd95b3b>=0x0;_0xd95b3b--)(_0x1d51e5=_0xd4486b[_0xd95b3b])&&(_0xb1c823=(_0x143624?_0x1d51e5(_0x491c19,_0x4566e5,_0xb1c823):_0x1d51e5(_0xb1c823))||_0xb1c823);return _0x143624&&_0xb1c823&&lr(_0x491c19,_0x4566e5,_0xb1c823),_0xb1c823;},Te=(_0x2e3d53,_0x4b3c89)=>(_0xbb7504,_0x5a0721)=>_0x4b3c89(_0xbb7504,_0x5a0721,_0x2e3d53);const ur=0x12c,dr=0x64,fr=()=>{let _0x192e0b=[],_0xdc9a3c=!0x1;return _0x52031=>{_0x192e0b['push'](_0x52031),_0xdc9a3c||(_0xdc9a3c=!0x0,setTimeout(()=>{const _0x3ced2c=_0x3f43;_0x192e0b[_0x3ced2c(0x24a)](_0x533b7c=>_0x533b7c()),_0x192e0b=[],_0xdc9a3c=!0x1;}));};};let Tt=class extends a[_0x519f42(0x275)]{constructor(_0x62ea88,_0x30296d,_0x5e8e4b,_0xfe794a,_0x5e6d22,_0x408c9a,_0x2a6efc,_0x3f9bd9){const _0x232e68=_0x519f42;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,_0x232e68(0x266),new N['BehaviorSubject'](new Map())),I(this,'cursorInfo$',this['_cursorInfo$'][_0x232e68(0x20b)]()),I(this,_0x232e68(0x44f),new N[(_0x232e68(0x46f))]([])),I(this,_0x232e68(0x17a),this['_roomMembers$'][_0x232e68(0x641)](N[_0x232e68(0x3a4)](ur))),I(this,_0x232e68(0x3be),a[_0x232e68(0x261)]((_0x447f93,_0x485a71)=>{const _0xe6f85d=_0x232e68,_0x414b8b={'eventID':m['CollaborationEvent'][_0xe6f85d(0x2ef)],'data':{'unitID':this['unitID'],'memberID':this[_0xe6f85d(0x37c)][_0xe6f85d(0x2cd)](),'selection':$t[_0xe6f85d(0x526)](_0x447f93,_0x485a71['range'])}};this['_session'][_0xe6f85d(0x2a8)](_0x414b8b,this['unitID']);},dr)),(this[_0x232e68(0x57d)]=_0x62ea88,this[_0x232e68(0x37c)]=_0x30296d,this['_injector']=_0x5e8e4b,this[_0x232e68(0x223)]=_0xfe794a,this['_memberService']=_0x5e6d22,this[_0x232e68(0x403)]=_0x408c9a,this['_commandService']=_0x2a6efc,this[_0x232e68(0x20f)]=_0x3f9bd9);}get[_0x519f42(0x232)](){const _0x1b147d=_0x519f42;return this[_0x1b147d(0x266)]['getValue']();}get[_0x519f42(0x272)](){const _0x1096d7=_0x519f42;return this[_0x1096d7(0x44f)][_0x1096d7(0x489)]();}[_0x519f42(0x5fa)](){const _0x14c4b4=_0x519f42;super[_0x14c4b4(0x5fa)](),this[_0x14c4b4(0x266)][_0x14c4b4(0x213)](new Map()),this[_0x14c4b4(0x266)][_0x14c4b4(0x324)](),this[_0x14c4b4(0x44f)][_0x14c4b4(0x213)]([]),this[_0x14c4b4(0x44f)][_0x14c4b4(0x324)]();}[_0x519f42(0x1fe)](){const _0x1f7e2b=_0x519f42;this[_0x1f7e2b(0x3b9)]||(this[_0x1f7e2b(0x3b9)]=!0x0,this[_0x1f7e2b(0x37c)]['sessionStatus$'][_0x1f7e2b(0x641)](N[_0x1f7e2b(0x1e9)](this['dispose$']))['subscribe'](_0x562df0=>{const _0x369266=_0x1f7e2b;_0x562df0===ne['ONLINE']?this['_toggleOnline']():this[_0x369266(0x214)]();}),this[_0x1f7e2b(0x37c)][_0x1f7e2b(0x4c0)][_0x1f7e2b(0x641)](N[_0x1f7e2b(0x1e9)](this[_0x1f7e2b(0x191)]))[_0x1f7e2b(0x1db)](_0x4c779b=>{const _0x58ddeb=_0x1f7e2b,_0x15cb48=_0x4c779b['eventID'];_0x15cb48===m[_0x58ddeb(0x3bc)][_0x58ddeb(0x2ef)]&&this[_0x58ddeb(0x4c2)](_0x4c779b),_0x15cb48===m[_0x58ddeb(0x3bc)][_0x58ddeb(0x41b)]&&this[_0x58ddeb(0x2fa)](_0x4c779b);}),this['_onRefRangeChange'](),this[_0x1f7e2b(0x5db)](this[_0x1f7e2b(0x636)][_0x1f7e2b(0x4a8)](_0x1dd0c3=>{const _0x1d7d63=_0x1f7e2b;if(this[_0x1d7d63(0x1a3)]&&_0x1dd0c3['id']===k[_0x1d7d63(0x4bd)]['id']&&_0x1dd0c3['params'][_0x1d7d63(0x235)]===this[_0x1d7d63(0x57d)]){const _0x554c40=_0x1dd0c3[_0x1d7d63(0x322)];this['_updateLocalCursor'](_0x554c40[_0x1d7d63(0x60b)],_0x554c40[_0x1d7d63(0x515)][0x0]);}})));}['_onCursorUpdate'](_0x431211){const _0x185d9c=_0x519f42;var _0x22fa5a,_0x3d11ea;const {memberID:_0xe5a8fa,selection:_0xddf58a}=_0x431211[_0x185d9c(0x2f1)],{sheetName:_0x451c8d,range:_0x38403b}=$t['deserializeRangeWithSheet'](_0xddf58a),_0x4e4ad4={'name':(_0x3d11ea=(_0x22fa5a=this[_0x185d9c(0x24e)][_0x185d9c(0x449)](this[_0x185d9c(0x57d)],_0xe5a8fa))==null?void 0x0:_0x22fa5a[_0x185d9c(0x3b2)])!=null?_0x3d11ea:_0x185d9c(0x35f),'range':this[_0x185d9c(0x61b)](_0x451c8d,_0x38403b),'sheetID':_0x451c8d,'color':this[_0x185d9c(0x223)][_0x185d9c(0x305)](_0xe5a8fa),'selection':_0xddf58a},_0x3a67d5=this[_0x185d9c(0x232)];_0x3a67d5[_0x185d9c(0x3e1)](_0xe5a8fa,_0x4e4ad4),this[_0x185d9c(0x266)][_0x185d9c(0x213)](_0x3a67d5);}[_0x519f42(0x2fa)](_0x12eeab){const _0x3909bf=_0x519f42,{memberID:_0x1ce9ab}=_0x12eeab[_0x3909bf(0x2f1)],_0x737fd0=this[_0x3909bf(0x232)];_0x737fd0[_0x3909bf(0x203)](_0x1ce9ab),this[_0x3909bf(0x266)]['next'](_0x737fd0);}[_0x519f42(0x61b)](_0x122a69,_0xf3ff6e){const _0x51887c=_0x519f42;var _0x578ffe,_0x101f1b;const _0x2a0830=(_0x101f1b=(_0x578ffe=this[_0x51887c(0x403)][_0x51887c(0x5a9)](this['unitID']))==null?void 0x0:_0x578ffe[_0x51887c(0x54d)](_0x122a69))==null?void 0x0:_0x101f1b[_0x51887c(0x397)]();return(_0x2a0830==null?void 0x0:_0x2a0830[_0x51887c(0x1c6)](_0x2eb3ab=>a[_0x51887c(0x3f5)]['contains'](_0x2eb3ab,_0xf3ff6e)))||_0xf3ff6e;}['_onRefRangeChange'](){const _0x2a81cc=_0x519f42,_0x397a25=new a[(_0x2a81cc(0x3cf))](),_0x36d717=fr(),_0x38fa12=()=>{const _0x345aab=_0x2a81cc;_0x397a25[_0x345aab(0x5fa)]();const _0x4a3857=(_0x2ac8e8,_0x460e0a,_0x2ddde1,_0x1befdb)=>{const _0xb727f2=_0x345aab;let _0x3fbe26=[];switch(_0x2ac8e8['id']){case k[_0xb727f2(0x459)][_0xb727f2(0x480)]:{_0x3fbe26=k[_0xb727f2(0x288)](_0x2ac8e8,_0x1befdb);break;}case k['EffectRefRangId'][_0xb727f2(0x5c2)]:{_0x3fbe26=k['handleDeleteRangeMoveUp'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x54f)]:{_0x3fbe26=k[_0xb727f2(0x4ed)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x61a)]:{_0x3fbe26=k['handleInsertRangeMoveDown'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x5c9)]:{_0x3fbe26=k['handleInsertRangeMoveRight'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['InsertRowCommandId']:{_0x3fbe26=k[_0xb727f2(0x287)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['MoveRangeCommandId']:{_0x3fbe26=k['handleMoveRange'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x3f0)]:{_0x3fbe26=k[_0xb727f2(0x533)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['RemoveRowCommandId']:{_0x3fbe26=k[_0xb727f2(0x41e)](_0x2ac8e8,_0x1befdb);break;}}const _0x3d5963=k[_0xb727f2(0x2ac)](_0x3fbe26,_0x1befdb),_0x272540=this[_0xb727f2(0x232)][_0xb727f2(0x4a6)](_0x460e0a);if(_0x272540&&_0x3d5963){const _0x81098e={..._0x272540,'range':_0x3d5963};this[_0xb727f2(0x232)]['set'](_0x460e0a,_0x81098e),_0x36d717(()=>{const _0x1e26d4=_0xb727f2,_0x2de034=this['_refRangeService'][_0x1e26d4(0x5a2)](_0x3d5963,_0x466f6e=>(_0x2de034[_0x1e26d4(0x5fa)](),_0x4a3857(_0x466f6e,_0x460e0a,_0x2ddde1,_0x3d5963)));_0x397a25[_0x1e26d4(0x556)](_0x2de034);});}return{'redos':[],'undos':[]};};this[_0x345aab(0x232)][_0x345aab(0x24a)]((_0x19bce8,_0x2c8fde)=>{const _0x182cfa=_0x345aab,{range:_0x3bb1ec,sheetID:_0x5e0fc1}=_0x19bce8,_0x5bd678=this[_0x182cfa(0x20f)][_0x182cfa(0x5a2)](_0x3bb1ec,_0x36b10c=>(_0x5bd678[_0x182cfa(0x5fa)](),_0x4a3857(_0x36b10c,_0x2c8fde,_0x5e0fc1,_0x3bb1ec)));_0x397a25[_0x182cfa(0x556)](_0x5bd678);});};this[_0x2a81cc(0x5db)](a['toDisposable'](this[_0x2a81cc(0x266)]['subscribe'](()=>{_0x38fa12();})));}[_0x519f42(0x3ef)](){const _0x3bce9c=_0x519f42;var _0x114d4b,_0x438f1b;if(this[_0x3bce9c(0x1a3)]=!0x0,((_0x114d4b=this[_0x3bce9c(0x403)][_0x3bce9c(0x5a3)]())==null?void 0x0:_0x114d4b[_0x3bce9c(0x238)]())!==this[_0x3bce9c(0x57d)])return;const _0x28245d=(_0x438f1b=this[_0x3bce9c(0x590)]['get'](k['SheetsSelectionsService'])[_0x3bce9c(0x1d6)]())==null?void 0x0:_0x438f1b[0x0],_0x53d3c9=this['_univerInstanceService'][_0x3bce9c(0x4d6)](a[_0x3bce9c(0x475)][_0x3bce9c(0x248)])['getActiveSheet']();_0x28245d&&_0x53d3c9&&this[_0x3bce9c(0x3be)](_0x53d3c9[_0x3bce9c(0x584)](),_0x28245d);}['_toggleOffline'](){const _0x358fa1=_0x519f42;this[_0x358fa1(0x1a3)]=!0x1;}};Tt=_r([Te(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Te(0x3,a[_0x519f42(0x3b4)](Nt)),Te(0x4,a[_0x519f42(0x3b4)](exports['MemberService'])),Te(0x5,a['IUniverInstanceService']),Te(0x6,a['ICommandService']),Te(0x7,a[_0x519f42(0x3b4)](k[_0x519f42(0x62f)]))],Tt);var vr=Object['defineProperty'],Sr=Object[_0x519f42(0x544)],pr=(_0x53c00c,_0x361159,_0x4cca72,_0x900fdd)=>{const _0x1173a8=_0x519f42;for(var _0x3f69a6=_0x900fdd>0x1?void 0x0:_0x900fdd?Sr(_0x361159,_0x4cca72):_0x361159,_0x275afd=_0x53c00c[_0x1173a8(0x53a)]-0x1,_0x58bcf2;_0x275afd>=0x0;_0x275afd--)(_0x58bcf2=_0x53c00c[_0x275afd])&&(_0x3f69a6=(_0x900fdd?_0x58bcf2(_0x361159,_0x4cca72,_0x3f69a6):_0x58bcf2(_0x3f69a6))||_0x3f69a6);return _0x900fdd&&_0x3f69a6&&vr(_0x361159,_0x4cca72,_0x3f69a6),_0x3f69a6;},ft=(_0x1749eb,_0x2878ed)=>(_0xa8478b,_0x1bfdc2)=>_0x2878ed(_0xa8478b,_0x1bfdc2,_0x1749eb);let ye=class extends a[_0x519f42(0x275)]{constructor(_0x3af524,_0x16f01e,_0x25d40d){const _0x26da1e=_0x519f42;super(),I(this,_0x26da1e(0x41d),new Map()),I(this,_0x26da1e(0x276),new N[(_0x26da1e(0x3ec))]()),(this[_0x26da1e(0x403)]=_0x3af524,this[_0x26da1e(0x590)]=_0x16f01e,this[_0x26da1e(0x55b)]=_0x25d40d,this[_0x26da1e(0x3b9)]());}['dispose'](){const _0xc747ef=_0x519f42;super[_0xc747ef(0x5fa)](),this['_entityInit$'][_0xc747ef(0x324)](),this[_0xc747ef(0x41d)][_0xc747ef(0x24a)](_0x532534=>_0x532534['dispose']());}[_0x519f42(0x199)](_0x2a7736){const _0x255209=_0x519f42;return this[_0x255209(0x41d)][_0x255209(0x443)](_0x2a7736)?this[_0x255209(0x41d)]['get'](_0x2a7736)[_0x255209(0x5e8)]:this[_0x255209(0x276)][_0x255209(0x641)](N[_0x255209(0x1ae)](_0x23458c=>_0x23458c[_0x255209(0x57d)]===_0x2a7736),N['switchMap'](_0x55a92e=>_0x55a92e[_0x255209(0x5e8)]));}[_0x519f42(0x3b9)](){const _0xcc75d4=_0x519f42;this[_0xcc75d4(0x403)][_0xcc75d4(0x253)](a[_0xcc75d4(0x475)]['UNIVER_SHEET'])['pipe'](N[_0xcc75d4(0x1e9)](this[_0xcc75d4(0x191)]))['subscribe'](async _0x1a23df=>{const _0x2816b1=_0xcc75d4,_0x2b66d3=_0x1a23df['getUnitId'](),_0x25262d=await this[_0x2816b1(0x41f)](_0x2b66d3);this[_0x2816b1(0x276)][_0x2816b1(0x213)](_0x25262d),this['_entities']['set'](_0x2b66d3,_0x25262d);}),this[_0xcc75d4(0x403)][_0xcc75d4(0x253)](a[_0xcc75d4(0x475)]['UNIVER_DOC'])[_0xcc75d4(0x641)](N['takeUntil'](this[_0xcc75d4(0x191)]))[_0xcc75d4(0x641)](N['filter'](_0x1dab26=>!_0x1dab26[_0xcc75d4(0x238)]()[_0xcc75d4(0x2ea)]('__')))[_0xcc75d4(0x1db)](async _0x185abc=>{const _0x40edfb=_0xcc75d4,_0x93f197=_0x185abc[_0x40edfb(0x238)](),_0x55be8b=await this[_0x40edfb(0x3ff)](_0x93f197);this[_0x40edfb(0x276)][_0x40edfb(0x213)](_0x55be8b),this[_0x40edfb(0x41d)]['set'](_0x93f197,_0x55be8b);}),N['merge'](this['_univerInstanceService'][_0xcc75d4(0x610)](a['UniverInstanceType'][_0xcc75d4(0x249)]),this['_univerInstanceService'][_0xcc75d4(0x610)](a[_0xcc75d4(0x475)][_0xcc75d4(0x248)]))[_0xcc75d4(0x641)](N['takeUntil'](this[_0xcc75d4(0x191)]))[_0xcc75d4(0x1db)](_0x378270=>{const _0x4d76f0=_0xcc75d4,_0x2bebee=_0x378270[_0x4d76f0(0x238)](),_0x3a04ff=this[_0x4d76f0(0x41d)]['get'](_0x2bebee);_0x3a04ff&&(_0x3a04ff[_0x4d76f0(0x5fa)](),this[_0x4d76f0(0x41d)]['delete'](_0x2bebee));});}async[_0x519f42(0x41f)](_0xa49dc){const _0x197609=_0x519f42,_0x4e3a71=await this[_0x197609(0x55b)][_0x197609(0x295)](_0xa49dc),_0x18dbdb=this[_0x197609(0x590)][_0x197609(0x35c)](Tt,_0xa49dc,_0x4e3a71);return _0x18dbdb[_0x197609(0x1fe)](),_0x18dbdb;}async['_startDocCollabCursor'](_0x2d8864){const _0x7c149b=_0x519f42,_0x162f85=await this[_0x7c149b(0x55b)]['requireSession'](_0x2d8864),_0x15d4e4=this[_0x7c149b(0x590)]['createInstance'](bt,_0x2d8864,_0x162f85);return _0x15d4e4[_0x7c149b(0x1fe)](),_0x15d4e4;}};ye=pr([ft(0x0,a['IUniverInstanceService']),ft(0x1,a['Inject'](a['Injector'])),ft(0x2,a[_0x519f42(0x3b4)](exports[_0x519f42(0x4ae)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x17d730,_0x57611c){const _0x9a8bcc=_0x519f42;let {radius:_0x5bf219,width:_0x12bbdf,height:_0x371c5b}=_0x57611c;_0x5bf219=_0x5bf219!=null?_0x5bf219:0x0,_0x12bbdf=_0x12bbdf!=null?_0x12bbdf:0x1e,_0x371c5b=_0x371c5b!=null?_0x371c5b:0x1e;let _0xe71c9d=0x0,_0x4a4571=0x0,_0x5b919c=0x0;_0xe71c9d=_0x4a4571=_0x5b919c=Math[_0x9a8bcc(0x3ba)](_0x5bf219,_0x12bbdf/0x2,_0x371c5b/0x2),_0x17d730[_0x9a8bcc(0x550)](),_0x17d730[_0x9a8bcc(0x62e)](_0xe71c9d,0x0),_0x17d730['lineTo'](_0x12bbdf-_0x4a4571,0x0),_0x17d730['arc'](_0x12bbdf-_0x4a4571,_0x4a4571,_0x4a4571,Math['PI']*0x3/0x2,0x0,!0x1),_0x17d730[_0x9a8bcc(0x257)](_0x12bbdf,_0x371c5b-_0x5b919c),_0x17d730[_0x9a8bcc(0x286)](_0x12bbdf-_0x5b919c,_0x371c5b-_0x5b919c,_0x5b919c,0x0,Math['PI']/0x2,!0x1),_0x17d730[_0x9a8bcc(0x257)](0x0,_0x371c5b),_0x17d730[_0x9a8bcc(0x257)](0x0,_0xe71c9d),_0x17d730[_0x9a8bcc(0x286)](_0xe71c9d,_0xe71c9d,_0xe71c9d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17d730[_0x9a8bcc(0x504)](),_0x57611c[_0x9a8bcc(0x221)]&&(_0x17d730['save'](),_0x17d730[_0x9a8bcc(0x567)]=_0x57611c['fill'],_0x57611c[_0x9a8bcc(0x1fb)]==='evenodd'?_0x17d730[_0x9a8bcc(0x221)](_0x9a8bcc(0x55f)):_0x17d730['fill'](),_0x17d730[_0x9a8bcc(0x1a7)]());}class ct extends Y['Shape']{constructor(_0x28be89,_0x2e5824){const _0x12d7e2=_0x519f42;super(_0x28be89,_0x2e5824),I(this,'color'),I(this,_0x12d7e2(0x18d)),(this['color']=_0x2e5824==null?void 0x0:_0x2e5824['color'],this['text']=_0x2e5824==null?void 0x0:_0x2e5824[_0x12d7e2(0x18d)]);}static[_0x519f42(0x290)](_0x4739ba,_0x33cd50){const _0x34995d=_0x519f42,{text:_0x508986,color:_0x1096b}=_0x33cd50;_0x4739ba[_0x34995d(0x3c4)](),_0x4739ba[_0x34995d(0x177)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4909c7=_0x4739ba['measureText'](_0x508986)[_0x34995d(0x5c0)],_0x40db66=Math['min'](_0x4909c7+0x2*vt,Kt);gr(_0x4739ba,{'height':xe,'radius':0x4,'width':_0x40db66,'fill':_0x1096b,'evented':!0x1}),_0x4739ba[_0x34995d(0x567)]=_0x34995d(0x184);const _0x2b48b9=vt,_0x388a65=xe-mr,_0x1cbb26=Kt-0x2*vt;if(_0x4909c7>_0x1cbb26){let _0x959276='',_0x150879=0x0;for(const _0x2ec0f3 of _0x508986){const _0x79b1c7=_0x4739ba[_0x34995d(0x545)](_0x2ec0f3)[_0x34995d(0x5c0)];if(_0x150879+_0x79b1c7<=_0x1cbb26-_0x4739ba['measureText'](_0x34995d(0x2b3))['width'])_0x959276+=_0x2ec0f3,_0x150879+=_0x79b1c7;else{_0x959276+='...';break;}}_0x4739ba[_0x34995d(0x541)](_0x959276,_0x2b48b9,_0x388a65);}else _0x4739ba[_0x34995d(0x541)](_0x508986,_0x2b48b9,_0x388a65);_0x4739ba[_0x34995d(0x1a7)]();}[_0x519f42(0x611)](_0x557863){const _0x3c9e50=_0x519f42;ct[_0x3c9e50(0x290)](_0x557863,this);}}const St='collab-text-anchor-',Ir=_0x519f42(0x33f),Cr=_0x519f42(0x264),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr='rgba(255,\x20255,\x20255,\x200.01)';class zt{constructor(_0x296aaf,_0x4ac3d3,_0x5c82ae,_0x2d0862){const _0x303572=_0x519f42;I(this,_0x303572(0x463),[]),I(this,'_anchor',null),I(this,_0x303572(0x507),null),I(this,_0x303572(0x3e4),null),I(this,_0x303572(0x438),null),I(this,_0x303572(0x452),null),(this[_0x303572(0x399)]=_0x296aaf,this[_0x303572(0x1c5)]=_0x4ac3d3,this[_0x303572(0x573)]=_0x5c82ae,this['_document']=_0x2d0862,this[_0x303572(0x317)]());}set[_0x519f42(0x359)](_0x8c2a60){const _0x3d8b0e=_0x519f42;_0x8c2a60?(this[_0x3d8b0e(0x3e4)]&&this[_0x3d8b0e(0x3e4)][_0x3d8b0e(0x42a)](),this[_0x3d8b0e(0x507)]&&this['_textBubble']['show']()):(this[_0x3d8b0e(0x3e4)]&&this[_0x3d8b0e(0x3e4)][_0x3d8b0e(0x1e6)](),this[_0x3d8b0e(0x507)]&&this['_textBubble']['hide']());}['dispose'](){const _0x133971=_0x519f42;for(const _0x57977f of this['_shapes'])_0x57977f[_0x133971(0x5fa)]();this['_textBubble']&&this[_0x133971(0x507)]['dispose'](),this['_anchorDot']&&this[_0x133971(0x3e4)][_0x133971(0x5fa)](),this[_0x133971(0x344)]&&this[_0x133971(0x344)][_0x133971(0x5fa)](),this['_eventUnsubscribe']&&this[_0x133971(0x452)]();}[_0x519f42(0x317)](){const _0x2669b1=_0x519f42;var _0x3eb638;const {_docSkeleton:_0x4cdc50,_document:_0x593e93}=this,{color:_0x30d53b,name:_0x5125e8,ranges:_0x47e066}=this[_0x2669b1(0x399)],_0xfd4d16=_0x593e93[_0x2669b1(0x3b0)](),{docsLeft:_0x50a760,docsTop:_0x14443f}=_0xfd4d16,_0x212545=new J['NodePositionConvertToCursor'](_0xfd4d16,_0x4cdc50);for(const {startOffset:_0x547515,endOffset:_0xe48d8f,rangeType:_0x4e73dd,segmentId:_0x173d20,segmentPage:_0x3c143c,collapsed:_0x202445,isActive:_0xe87cf}of _0x47e066){const _0x4e7556=_0x4cdc50[_0x2669b1(0x474)](_0x547515,!0x0,_0x173d20,_0x3c143c);let _0x1b704a=_0x4cdc50['findNodePositionByCharIndex'](_0xe48d8f,!0x0,_0x173d20,_0x3c143c);if(_0x1b704a==null&&(_0x1b704a=_0x4cdc50[_0x2669b1(0x474)](_0xe48d8f-0x1,!0x1,_0x173d20,_0x3c143c)),_0xe87cf){const {contentBoxPointGroup:_0x2e3c76}=_0x212545[_0x2669b1(0x4eb)](_0x1b704a,_0x1b704a);if(_0x2e3c76['length']===0x0)continue;this['_drawAnchor'](_0x30d53b,_0x2e3c76,_0x50a760,_0x14443f,_0x5125e8),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x4e7556&&_0x1b704a){if(_0x4e73dd===a[_0x2669b1(0x5ae)]['RECT']){const _0x1c6ef2=new J[(_0x2669b1(0x27b))](_0xfd4d16,_0x4cdc50),{pointGroup:_0x4fc0ac}=(_0x3eb638=_0x1c6ef2[_0x2669b1(0x4eb)](_0x4e7556,_0x1b704a))!=null?_0x3eb638:{};if(_0x4fc0ac==null||_0x4fc0ac[_0x2669b1(0x53a)]===0x0)continue;this[_0x2669b1(0x36b)](_0x30d53b,_0x4fc0ac,_0x50a760,_0x14443f);}else{if(!_0x202445){const {borderBoxPointGroup:_0x37ec9a}=_0x212545['getRangePointData'](_0x4e7556,_0x1b704a);if(_0x37ec9a[_0x2669b1(0x53a)]===0x0)continue;this[_0x2669b1(0x1ed)](_0x30d53b,_0x37ec9a,_0x50a760,_0x14443f);}}}}}['_drawAnchor'](_0x1de6d0,_0x1039db,_0x13bb0b,_0x41a488,_0x2e7980){const _0xe91b97=_0x519f42,_0x489d92=this[_0xe91b97(0x4c3)](_0x1039db),{left:_0x1a6b65,top:_0x102450,height:_0x164cc0}=_0x489d92,_0x26e520=this[_0xe91b97(0x44a)](),_0x101932=br/_0x26e520,_0x5c7dd5=new Y[(_0xe91b97(0x1c3))](St+a['Tools'][_0xe91b97(0x472)](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488,'height':_0x164cc0,'width':Er,'fill':_0x1de6d0||Y[_0xe91b97(0x357)](a[_0xe91b97(0x5cd)]['black'],0x0),'strokeWidth':_0x101932,'stroke':Tr,'evented':!0x0});this[_0xe91b97(0x344)]=_0x5c7dd5,this[_0xe91b97(0x1c5)]['addObject'](_0x5c7dd5,J[_0xe91b97(0x59f)]);const _0x459534=new Y['Rect'](St+a[_0xe91b97(0x2c8)][_0xe91b97(0x472)](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488-pt/0x2,'height':pt,'width':pt,'fill':_0x1de6d0||Y['getColor'](a[_0xe91b97(0x5cd)][_0xe91b97(0x53d)],0x0),'strokeWidth':0x0,'stroke':_0x1de6d0||Y[_0xe91b97(0x357)](a[_0xe91b97(0x5cd)][_0xe91b97(0x53d)],0x0),'evented':!0x1});this[_0xe91b97(0x3e4)]=_0x459534,this['_scene'][_0xe91b97(0x180)](_0x459534,J[_0xe91b97(0x59f)]);const _0x4a5eae=new ct(St+a['Tools']['generateRandomId'](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488-xe,'text':_0x2e7980,'color':_0x1de6d0});this[_0xe91b97(0x507)]=_0x4a5eae,this['_scene']['addObject'](_0x4a5eae,J[_0xe91b97(0x59f)]),this['_hover']=!0x1;}[_0x519f42(0x310)](){const _0xf3ba4=_0x519f42,_0xe4f070=this[_0xf3ba4(0x344)][_0xf3ba4(0x2cf)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x462a0e=this[_0xf3ba4(0x344)][_0xf3ba4(0x485)][_0xf3ba4(0x49d)](()=>{const _0x394199=_0xf3ba4;this[_0x394199(0x438)]&&clearTimeout(this['_hideTimer']),this[_0x394199(0x438)]=setTimeout(()=>{const _0x4a25e5=_0x394199;this[_0x4a25e5(0x359)]=!0x1;},0x7d0);});return()=>{const _0x96ded3=_0xf3ba4;_0xe4f070[_0x96ded3(0x347)](),_0x462a0e['unsubscribe']();};}[_0x519f42(0x1ed)](_0x4d327d,_0x2acd44,_0x14a7b1,_0xcb950b){const _0x358710=_0x519f42,_0x162ec6=new a[(_0x358710(0x5aa))](_0x4d327d)[_0x358710(0x551)](0.2)[_0x358710(0x3e5)](),_0x558fd0=new Y[(_0x358710(0x5c6))](Ir+a[_0x358710(0x2c8)][_0x358710(0x472)](we),{'pointsGroup':_0x2acd44,'fill':_0x162ec6||Y[_0x358710(0x357)](a[_0x358710(0x5cd)][_0x358710(0x53d)],0.2),'left':_0x14a7b1,'top':_0xcb950b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x358710(0x463)][_0x358710(0x205)](_0x558fd0),this[_0x358710(0x1c5)]['addObject'](_0x558fd0,J[_0x358710(0x59f)]);}[_0x519f42(0x36b)](_0x29de5c,_0x5e2e0f,_0x25093f,_0x4b07bb){const _0x387fcc=_0x519f42,_0x4acdc3=new a[(_0x387fcc(0x5aa))](_0x29de5c)[_0x387fcc(0x551)](0.2)[_0x387fcc(0x3e5)](),_0x50dbb3=new Y[(_0x387fcc(0x5c6))](Cr+a['Tools']['generateRandomId'](we),{'pointsGroup':_0x5e2e0f,'fill':_0x4acdc3||Y[_0x387fcc(0x357)](a[_0x387fcc(0x5cd)][_0x387fcc(0x53d)],0.2),'left':_0x25093f,'top':_0x4b07bb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x387fcc(0x463)][_0x387fcc(0x205)](_0x50dbb3),this['_scene'][_0x387fcc(0x180)](_0x50dbb3,J[_0x387fcc(0x59f)]);}['_getAnchorBounding'](_0x196126){const _0x240daa=_0x196126[0x0],_0x36a991=_0x240daa[0x0],_0x38cc4f=_0x240daa[0x2],{x:_0x453982,y:_0x5591d7}=_0x36a991,{x:_0x404623,y:_0x5e978e}=_0x38cc4f;return{'left':_0x453982,'top':_0x5591d7,'width':_0x404623-_0x453982,'height':_0x5e978e-_0x5591d7};}[_0x519f42(0x44a)](){const _0x153dcc=_0x519f42,{scaleX:_0x2ba3a9,scaleY:_0x5e9cff}=this[_0x153dcc(0x1c5)][_0x153dcc(0x30a)]();return Math['max'](_0x2ba3a9,_0x5e9cff);}}var Rr=Object[_0x519f42(0x360)],Or=Object[_0x519f42(0x544)],yr=(_0x51f305,_0x140acf,_0x1dcfd6,_0x4d0851)=>{const _0x2abcb6=_0x519f42;for(var _0xface28=_0x4d0851>0x1?void 0x0:_0x4d0851?Or(_0x140acf,_0x1dcfd6):_0x140acf,_0x511c81=_0x51f305[_0x2abcb6(0x53a)]-0x1,_0x402083;_0x511c81>=0x0;_0x511c81--)(_0x402083=_0x51f305[_0x511c81])&&(_0xface28=(_0x4d0851?_0x402083(_0x140acf,_0x1dcfd6,_0xface28):_0x402083(_0xface28))||_0xface28);return _0x4d0851&&_0xface28&&Rr(_0x140acf,_0x1dcfd6,_0xface28),_0xface28;},je=(_0x5801e5,_0x3bf739)=>(_0x3d96b0,_0x58363b)=>_0x3bf739(_0x3d96b0,_0x58363b,_0x5801e5);let Rt=class extends a['RxDisposable']{constructor(_0x125d61,_0x81a3c9,_0x55a36b,_0x2b061a,_0x4a8f8c){const _0x2eabbc=_0x519f42;super(),I(this,_0x2eabbc(0x624),[]),I(this,_0x2eabbc(0x2f9),[]),(this['_context']=_0x125d61,this[_0x2eabbc(0x304)]=_0x81a3c9,this['_collabCursorController']=_0x55a36b,this['_commandService']=_0x2b061a,this[_0x2eabbc(0x28c)]=_0x4a8f8c,this[_0x2eabbc(0x3b9)]());}[_0x519f42(0x3b9)](){const _0x1fed14=_0x519f42,_0x1b7a1c=this[_0x1fed14(0x1b0)]['unitId'],_0x881578=this[_0x1fed14(0x304)];this[_0x1fed14(0x5db)](N[_0x1fed14(0x18e)]([this[_0x1fed14(0x566)][_0x1fed14(0x199)](_0x1b7a1c),this[_0x1fed14(0x28c)][_0x1fed14(0x25f)]])[_0x1fed14(0x641)](V['map'](([_0x3f4d38,_0x5535c2])=>({'skeleton':_0x881578[_0x1fed14(0x518)](),'cursors':[..._0x3f4d38[_0x1fed14(0x426)]()]['flatMap'](_0x1d0535=>({..._0x1d0535,'color':_0x5535c2[_0x1d0535[_0x1fed14(0x350)]]}))})))[_0x1fed14(0x1db)](_0x52f6e1=>{const _0x1a7fbd=_0x1fed14;if(this[_0x1a7fbd(0x59d)](),_0x52f6e1){const {skeleton:_0x3e6d6a,cursors:_0x2ba7ce}=_0x52f6e1;this[_0x1a7fbd(0x455)](_0x3e6d6a,_0x2ba7ce);}})),this[_0x1fed14(0x420)](),this[_0x1fed14(0x3d1)]();}['_updateCollabCursors'](_0x560af4,_0x19fd24){const _0x323b21=_0x519f42,{scene:_0x26f4c1,mainComponent:_0x2ca27c}=this[_0x323b21(0x1b0)],_0x32f14c=_0x19fd24[_0x323b21(0x444)](_0x5e7ccb=>new zt(_0x5e7ccb,_0x26f4c1,_0x560af4,_0x2ca27c));this[_0x323b21(0x624)]=_0x32f14c,this['_cursors']=_0x19fd24;}[_0x519f42(0x2b2)](){const _0xc2474f=_0x519f42;this['_removeCollabCursors']();const {scene:_0x4d8869,mainComponent:_0x31d2d3}=this[_0xc2474f(0x1b0)],_0x58495b=this[_0xc2474f(0x304)][_0xc2474f(0x518)](),_0x4fdce9=this[_0xc2474f(0x2f9)]['map'](_0x2db6f4=>new zt(_0x2db6f4,_0x4d8869,_0x58495b,_0x31d2d3));this[_0xc2474f(0x624)]=_0x4fdce9;}['_removeCollabCursors'](){const _0xd8bcd6=_0x519f42;this[_0xd8bcd6(0x624)]['forEach'](_0x92a68f=>_0x92a68f[_0xd8bcd6(0x5fa)]()),this[_0xd8bcd6(0x624)]=[];}[_0x519f42(0x3d1)](){const _0x520d8f=_0x519f42,_0x100e7d=[J[_0x520d8f(0x588)]['id']];this[_0x520d8f(0x5db)](this['_commandService'][_0x520d8f(0x4a8)](_0x2493a0=>{const _0x45820f=_0x520d8f;_0x100e7d['includes'](_0x2493a0['id'])&&_0x2493a0[_0x45820f(0x322)][_0x45820f(0x235)]===this[_0x45820f(0x1b0)][_0x45820f(0x235)]&&this[_0x45820f(0x2b2)]();}));}['_initResize'](){const _0x1ab117=_0x519f42;this[_0x1ab117(0x5db)](a[_0x1ab117(0x396)](this[_0x1ab117(0x1b0)][_0x1ab117(0x23f)][_0x1ab117(0x5a5)])[_0x1ab117(0x641)](V[_0x1ab117(0x1ae)](_0x59516c=>_0x59516c[_0x1ab117(0x1d1)]===Y[_0x1ab117(0x361)][_0x1ab117(0x58b)]),V[_0x1ab117(0x21a)](0x10))[_0x1ab117(0x1db)](()=>{const _0x1c8a76=_0x1ab117;this[_0x1c8a76(0x2b2)]();}));}};Rt=yr([je(0x1,a['Inject'](Ie[_0x519f42(0x5b6)])),je(0x2,a[_0x519f42(0x3b4)](ye)),je(0x3,a['ICommandService']),je(0x4,a['Inject'](a['ThemeService']))],Rt);const Dr=0x1,Pr=1.5;class Mi extends Y['Shape']{constructor(_0x4af30b,_0x33d800){const _0xbdb16f=_0x519f42;super(_0x4af30b,_0x33d800),I(this,_0xbdb16f(0x4da)),I(this,_0xbdb16f(0x268),!0x1),I(this,_0xbdb16f(0x19f)),I(this,_0xbdb16f(0x575),''),I(this,_0xbdb16f(0x1bb),_0xbdb16f(0x2fd)),I(this,'_backgroundColor'),(_0x33d800&&this['setShapeProps'](_0x33d800),this['onPointerEnter$']['subscribeEvent'](()=>this[_0xbdb16f(0x1c9)]({'hovered':!0x0})),this[_0xbdb16f(0x485)][_0xbdb16f(0x49d)](()=>this[_0xbdb16f(0x1c9)]({'hovered':!0x1})));}[_0x519f42(0x1c9)](_0x1f66cf){const _0x5a3b3b=_0x519f42;var _0x422a60,_0x5861c1,_0x16d07d,_0x2dfe3b,_0x83cc7a,_0x510cbb;this[_0x5a3b3b(0x4da)]=(_0x422a60=_0x1f66cf[_0x5a3b3b(0x350)])!=null?_0x422a60:this[_0x5a3b3b(0x4da)],this[_0x5a3b3b(0x268)]=(_0x5861c1=_0x1f66cf[_0x5a3b3b(0x23e)])!=null?_0x5861c1:this[_0x5a3b3b(0x268)],this[_0x5a3b3b(0x19f)]=(_0x16d07d=_0x1f66cf[_0x5a3b3b(0x400)])!=null?_0x16d07d:this[_0x5a3b3b(0x19f)],this[_0x5a3b3b(0x575)]=(_0x2dfe3b=_0x1f66cf[_0x5a3b3b(0x3b2)])!=null?_0x2dfe3b:this[_0x5a3b3b(0x575)],this['_labelPosition']=(_0x83cc7a=_0x1f66cf[_0x5a3b3b(0x2dd)])!=null?_0x83cc7a:this['_labelPosition'],this[_0x5a3b3b(0x262)]=(_0x510cbb=_0x1f66cf[_0x5a3b3b(0x1c4)])!=null?_0x510cbb:this[_0x5a3b3b(0x262)],this[_0x5a3b3b(0x2d1)]({'width':_0x1f66cf[_0x5a3b3b(0x5c0)],'height':_0x1f66cf[_0x5a3b3b(0x53b)]});}[_0x519f42(0x3c3)](_0x2be35e){const _0x2fd1f1=_0x519f42,{row:_0x31c2f7,column:_0x5d51bb}=_0x2be35e;if(_0x31c2f7>=this[_0x2fd1f1(0x19f)][_0x2fd1f1(0x28b)]&&_0x31c2f7<=this[_0x2fd1f1(0x19f)][_0x2fd1f1(0x434)]&&_0x5d51bb>=this[_0x2fd1f1(0x19f)]['startColumn']&&_0x5d51bb<=this['_range'][_0x2fd1f1(0x209)]){this[_0x2fd1f1(0x1c9)]({'hovered':!0x0});return;}this[_0x2fd1f1(0x1c9)]({'hovered':!0x1});}[_0x519f42(0x570)](_0x3c344d){return!0x1;}[_0x519f42(0x611)](_0x266f4e){const _0x3479c4=_0x519f42;Y[_0x3479c4(0x1c3)][_0x3479c4(0x290)](_0x266f4e,{'width':this['width'],'height':this[_0x3479c4(0x53b)],'strokeWidth':Pr,'stroke':this[_0x3479c4(0x4da)],'evented':!0x1,'fill':this[_0x3479c4(0x262)]}),this[_0x3479c4(0x268)]&&(_0x266f4e[_0x3479c4(0x3c4)](),_0x266f4e['transform'](0x1,0x0,0x0,0x1,this[_0x3479c4(0x5c0)],this['_labelPosition']===_0x3479c4(0x21b)?0x0:-xe),ct['drawWith'](_0x266f4e,{'text':this[_0x3479c4(0x575)],'color':this[_0x3479c4(0x4da)]}),_0x266f4e[_0x3479c4(0x1a7)]());}}var wr=Object[_0x519f42(0x360)],Ur=Object[_0x519f42(0x544)],Mr=(_0xc9178f,_0x52be9f,_0x560c17,_0x2b5b76)=>{const _0x40a11f=_0x519f42;for(var _0x1b3d90=_0x2b5b76>0x1?void 0x0:_0x2b5b76?Ur(_0x52be9f,_0x560c17):_0x52be9f,_0x2277a1=_0xc9178f[_0x40a11f(0x53a)]-0x1,_0x1f2a1c;_0x2277a1>=0x0;_0x2277a1--)(_0x1f2a1c=_0xc9178f[_0x2277a1])&&(_0x1b3d90=(_0x2b5b76?_0x1f2a1c(_0x52be9f,_0x560c17,_0x1b3d90):_0x1f2a1c(_0x1b3d90))||_0x1b3d90);return _0x2b5b76&&_0x1b3d90&&wr(_0x52be9f,_0x560c17,_0x1b3d90),_0x1b3d90;},mt=(_0xe59ec2,_0xffde98)=>(_0xefb048,_0x32ee99)=>_0xffde98(_0xefb048,_0x32ee99,_0xe59ec2);const Nr=0x1389;let Ot=class extends a[_0x519f42(0x275)]{constructor(_0x279eb3,_0x4415af,_0x562170,_0x481e9e){const _0x3d9076=_0x519f42;super(),I(this,'_cursors',new Set()),I(this,_0x3d9076(0x1f2),null),(this[_0x3d9076(0x1b0)]=_0x279eb3,this[_0x3d9076(0x643)]=_0x4415af,this[_0x3d9076(0x566)]=_0x562170,this[_0x3d9076(0x28c)]=_0x481e9e,this['_init']());}[_0x519f42(0x3b9)](){const _0x2739cf=_0x519f42;this['_sheetSkeletonManagerService'][_0x2739cf(0x318)][_0x2739cf(0x641)](V[_0x2739cf(0x1e9)](this[_0x2739cf(0x191)]),V['switchMap'](_0x1a74dd=>{const _0x5222b1=_0x2739cf;if(_0x1a74dd){const _0x1c3ea5=_0x1a74dd['sheetId'];return N[_0x5222b1(0x18e)](this[_0x5222b1(0x566)][_0x5222b1(0x199)](this['_context'][_0x5222b1(0x235)]),this[_0x5222b1(0x28c)][_0x5222b1(0x25f)])[_0x5222b1(0x641)](V['map'](([_0x22957e,_0x451cc1])=>{const _0x3f8866=_0x5222b1,_0xa0b307=new Map();return _0x22957e[_0x3f8866(0x24a)]((_0x24f429,_0x53b536)=>{const _0x291af7=_0x3f8866;if(_0x24f429[_0x291af7(0x398)]===_0x1c3ea5){const _0xa02d6={..._0x24f429};_0xa02d6[_0x291af7(0x350)]=_0x451cc1[_0x24f429[_0x291af7(0x350)]],_0xa0b307['set'](_0x53b536,_0xa02d6);}}),{'skeleton':_0x1a74dd,'cursors':_0xa0b307};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))[_0x2739cf(0x1db)](({skeleton:_0x21040f,cursors:_0x37e552})=>{const _0x20f5a4=_0x2739cf;this[_0x20f5a4(0x59d)](),_0x21040f&&this[_0x20f5a4(0x455)](_0x21040f,_0x37e552);}),this[_0x2739cf(0x643)][_0x2739cf(0x318)][_0x2739cf(0x1db)](_0x38362c=>{const _0x52e0e7=_0x2739cf;if(_0x38362c==null)return;const {skeleton:_0x486b54}=_0x38362c,{scene:_0x5d0a2a}=this[_0x52e0e7(0x1b0)];_0x5d0a2a[_0x52e0e7(0x4ac)][_0x52e0e7(0x49d)](a[_0x52e0e7(0x261)](_0x32ad91=>{const _0x4b3ded=_0x52e0e7;var _0x75173f,_0x4c8480;const {offsetX:_0x48d4ba,offsetY:_0x334bc6}=_0x32ad91,{x:_0x32fbf8,y:_0x697a8a}=_0x5d0a2a['getRelativeToViewportCoord'](Y['Vector2'][_0x4b3ded(0x28f)]([_0x48d4ba,_0x334bc6])),{scaleX:_0x157f0f,scaleY:_0x2b1767}=_0x5d0a2a[_0x4b3ded(0x30a)](),_0x4a63e0=_0x5d0a2a['getViewport'](Y[_0x4b3ded(0x1a5)][_0x4b3ded(0x1d5)]),_0x1593ec=_0x5d0a2a[_0x4b3ded(0x254)](Y['Vector2'][_0x4b3ded(0x28f)]([_0x32fbf8,_0x697a8a]),_0x4a63e0),_0x2ed88a=_0x486b54[_0x4b3ded(0x39d)](_0x48d4ba,_0x334bc6,_0x157f0f,_0x2b1767,_0x1593ec);((_0x75173f=this[_0x4b3ded(0x1f2)])==null?void 0x0:_0x75173f[_0x4b3ded(0x4ef)])===_0x2ed88a['column']&&((_0x4c8480=this['_lastPointer'])==null?void 0x0:_0x4c8480['row'])===_0x2ed88a[_0x4b3ded(0x519)]||this[_0x4b3ded(0x2f9)][_0x4b3ded(0x24a)](_0x2ebc62=>{_0x2ebc62['onMouseMove'](_0x2ed88a);});},0x64));});}[_0x519f42(0x455)](_0x29af43,_0x2924f7){const _0x491011=_0x519f42;var _0x12f6c9;const _0xb23ac7=(_0x12f6c9=this[_0x491011(0x643)][_0x491011(0x311)]())==null?void 0x0:_0x12f6c9['skeleton'];if(!_0xb23ac7)return;const _0x1e4752=this[_0x491011(0x435)]();if(!_0x1e4752)return;this['_cursors']['forEach'](_0x18c693=>{_0x18c693['makeDirty']();});const {scene:_0x520d53}=_0x1e4752,_0xa8ba00=Ar(Array[_0x491011(0x3fe)](_0x2924f7[_0x491011(0x426)]()))[_0x491011(0x444)](_0x1ad810=>{const _0x1bd391=_0x491011,{color:_0xcd8010,range:_0x488629,name:_0x1b9ca4,selection:_0x5e1929,sheetID:_0x452cf1}=_0x1ad810,{startColumn:_0x5d3a24,startRow:_0x14e106,endColumn:_0x45fa1b,endRow:_0x2c692b}=_0x488629,_0x2903ad=Le['getCoordByCell'](_0x14e106,_0x5d3a24,_0x520d53,_0xb23ac7),_0x28739a=Le[_0x1bd391(0x4d4)](_0x2c692b,_0x45fa1b,_0x520d53,_0xb23ac7),{columnHeaderHeightAndMarginTop:_0x302d36}=_0xb23ac7,{startX:_0x47c529,startY:_0x4fb54c}=_0x2903ad,{endX:_0x32880a,endY:_0x175219}=_0x28739a,_0x46c127=_0x32880a-_0x47c529,_0x56279e=_0x175219-_0x4fb54c,_0x5d8852={'labelPosition':_0x4fb54c-_0x302d36>=xe?_0x1bd391(0x2fd):_0x1bd391(0x21b),'sheetID':_0x452cf1,'range':_0x488629,'color':_0xcd8010,'name':_0x1b9ca4,'selection':_0x5e1929,'left':_0x47c529,'top':_0x4fb54c,'width':_0x46c127,'height':_0x56279e,'evented':!0x1,'zIndex':Nr};return new Mi(_0x1b9ca4,_0x5d8852);});_0x520d53[_0x491011(0x4bf)](_0xa8ba00,Dr),this[_0x491011(0x2f9)]=new Set(_0xa8ba00);}[_0x519f42(0x59d)](){const _0x3953c4=_0x519f42;var _0xf53a74;(_0xf53a74=this['_cursors'])==null||_0xf53a74[_0x3953c4(0x24a)](_0x3b1b68=>_0x3b1b68[_0x3953c4(0x5fa)]());}[_0x519f42(0x435)](){const _0x3dc1fc=_0x519f42;return Le[_0x3dc1fc(0x323)](this[_0x3dc1fc(0x1b0)][_0x3dc1fc(0x27a)],this[_0x3dc1fc(0x1b0)]);}};Ot=Mr([mt(0x1,a[_0x519f42(0x3b4)](Le['SheetSkeletonManagerService'])),mt(0x2,a['Inject'](ye)),mt(0x3,a[_0x519f42(0x3b4)](a['ThemeService']))],Ot);function Ar(_0x28be99){const _0x30178f=_0x519f42,_0x43f420=new Map();return _0x28be99[_0x30178f(0x24a)](_0x5a4e5e=>{const _0x4eab20=_0x30178f;if(_0x43f420['has'](_0x5a4e5e[_0x4eab20(0x204)])){const _0x1bc386=_0x43f420[_0x4eab20(0x4a6)](_0x5a4e5e[_0x4eab20(0x204)]);_0x1bc386[_0x4eab20(0x3b2)]+=',\x20'+_0x5a4e5e['name'];}else _0x43f420[_0x4eab20(0x3e1)](_0x5a4e5e['selection'],_0x5a4e5e);}),Array[_0x30178f(0x3fe)](_0x43f420[_0x30178f(0x426)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3199f0){const _0x4600ce=_0x519f42;return _0x3199f0&&_0x3199f0['__esModule']&&Object[_0x4600ce(0x4f9)][_0x4600ce(0x635)][_0x4600ce(0x3bb)](_0x3199f0,'default')?_0x3199f0[_0x4600ce(0x2f5)]:_0x3199f0;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x3918f1=_0x519f42;if(Xt)return Ue;Xt=0x1;var _0x1e058b=oe,_0x3f8bff=Symbol[_0x3918f1(0x436)](_0x3918f1(0x554)),_0x182691=Symbol[_0x3918f1(0x436)]('react.fragment'),_0x4b3a65=Object[_0x3918f1(0x4f9)][_0x3918f1(0x635)],_0x37073c=_0x1e058b['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3918f1(0x440)],_0xbb50d0={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1be254(_0x4cd2d1,_0x25097a,_0x36f614){const _0x428fc9=_0x3918f1;var _0x580b82,_0x1b01d4={},_0x2a40ca=null,_0x364133=null;_0x36f614!==void 0x0&&(_0x2a40ca=''+_0x36f614),_0x25097a['key']!==void 0x0&&(_0x2a40ca=''+_0x25097a['key']),_0x25097a['ref']!==void 0x0&&(_0x364133=_0x25097a[_0x428fc9(0x559)]);for(_0x580b82 in _0x25097a)_0x4b3a65[_0x428fc9(0x3bb)](_0x25097a,_0x580b82)&&!_0xbb50d0[_0x428fc9(0x635)](_0x580b82)&&(_0x1b01d4[_0x580b82]=_0x25097a[_0x580b82]);if(_0x4cd2d1&&_0x4cd2d1[_0x428fc9(0x5ab)]){for(_0x580b82 in(_0x25097a=_0x4cd2d1['defaultProps'],_0x25097a))_0x1b01d4[_0x580b82]===void 0x0&&(_0x1b01d4[_0x580b82]=_0x25097a[_0x580b82]);}return{'$$typeof':_0x3f8bff,'type':_0x4cd2d1,'key':_0x2a40ca,'ref':_0x364133,'props':_0x1b01d4,'_owner':_0x37073c[_0x428fc9(0x265)]};}return Ue[_0x3918f1(0x21d)]=_0x182691,Ue[_0x3918f1(0x640)]=_0x1be254,Ue[_0x3918f1(0x3cc)]=_0x1be254,Ue;}var Jt;function xr(){const _0x26ec94=_0x519f42;return Jt||(Jt=0x1,It[_0x26ec94(0x495)]=Lr()),It[_0x26ec94(0x495)];}var me=xr(),Q=function(){const _0x99e8e8=_0x519f42;return Q=Object[_0x99e8e8(0x38d)]||function(_0x375a85){const _0x211d21=_0x99e8e8;for(var _0x57be3f,_0x48a5e9=0x1,_0x2f48b5=arguments['length'];_0x48a5e9<_0x2f48b5;_0x48a5e9++){_0x57be3f=arguments[_0x48a5e9];for(var _0x2ea0d2 in _0x57be3f)Object['prototype'][_0x211d21(0x635)][_0x211d21(0x3bb)](_0x57be3f,_0x2ea0d2)&&(_0x375a85[_0x2ea0d2]=_0x57be3f[_0x2ea0d2]);}return _0x375a85;},Q['apply'](this,arguments);},$r=function(_0x4e2309,_0x1668a6){const _0x1f63ef=_0x519f42;var _0x41fdb2={};for(var _0xa4db5e in _0x4e2309)Object[_0x1f63ef(0x4f9)][_0x1f63ef(0x635)]['call'](_0x4e2309,_0xa4db5e)&&_0x1668a6[_0x1f63ef(0x61f)](_0xa4db5e)<0x0&&(_0x41fdb2[_0xa4db5e]=_0x4e2309[_0xa4db5e]);if(_0x4e2309!=null&&typeof Object[_0x1f63ef(0x5d7)]=='function'){for(var _0x4f30a9=0x0,_0xa4db5e=Object[_0x1f63ef(0x5d7)](_0x4e2309);_0x4f30a9<_0xa4db5e[_0x1f63ef(0x53a)];_0x4f30a9++)_0x1668a6['indexOf'](_0xa4db5e[_0x4f30a9])<0x0&&Object[_0x1f63ef(0x4f9)]['propertyIsEnumerable'][_0x1f63ef(0x3bb)](_0x4e2309,_0xa4db5e[_0x4f30a9])&&(_0x41fdb2[_0xa4db5e[_0x4f30a9]]=_0x4e2309[_0xa4db5e[_0x4f30a9]]);}return _0x41fdb2;},At=oe['forwardRef'](function(_0x565c54,_0x901de3){const _0x14abab=_0x519f42;var _0x30509a=_0x565c54[_0x14abab(0x557)],_0x40f082=_0x565c54['id'],_0x324bd4=_0x565c54[_0x14abab(0x58f)],_0x2693d5=_0x565c54[_0x14abab(0x5f5)],_0x3c451f=$r(_0x565c54,[_0x14abab(0x557),'id',_0x14abab(0x58f),_0x14abab(0x5f5)]),_0x112be6=_0x14abab(0x26a)[_0x14abab(0x538)](_0x40f082,'\x20')[_0x14abab(0x538)](_0x324bd4||'')[_0x14abab(0x2f4)](),_0x5634ab=oe[_0x14abab(0x1f0)]('_'[_0x14abab(0x538)](Br()));return Ni(_0x30509a,''[_0x14abab(0x538)](_0x40f082),{'defIds':_0x30509a[_0x14abab(0x5b9)],'idSuffix':_0x5634ab[_0x14abab(0x265)]},Q({'ref':_0x901de3,'className':_0x112be6},_0x3c451f),_0x2693d5);});function Ni(_0x2c71fa,_0x33041a,_0xf7150c,_0x1163eb,_0x5c8730){const _0x1d1db8=_0x519f42;return oe['createElement'](_0x2c71fa[_0x1d1db8(0x19d)],Q(Q({'key':_0x33041a},jr(_0x2c71fa,_0xf7150c,_0x5c8730)),_0x1163eb),(Hr(_0x2c71fa,_0xf7150c)['children']||[])[_0x1d1db8(0x444)](function(_0x249ed7,_0xc5ad79){const _0x28d47a=_0x1d1db8;return Ni(_0x249ed7,''['concat'](_0x33041a,'-')[_0x28d47a(0x538)](_0x2c71fa[_0x28d47a(0x19d)],'-')[_0x28d47a(0x538)](_0xc5ad79),_0xf7150c,void 0x0,_0x5c8730);}));}function jr(_0x5cd4b2,_0x19a98f,_0x4fbbb3){const _0x1e2f4b=_0x519f42;var _0x5d2d7=Q({},_0x5cd4b2[_0x1e2f4b(0x589)]);_0x4fbbb3!=null&&_0x4fbbb3[_0x1e2f4b(0x2a0)]&&_0x5d2d7[_0x1e2f4b(0x221)]===_0x1e2f4b(0x2a0)&&(_0x5d2d7[_0x1e2f4b(0x221)]=_0x4fbbb3[_0x1e2f4b(0x2a0)]);var _0x543074=_0x19a98f[_0x1e2f4b(0x5b9)];return!_0x543074||_0x543074[_0x1e2f4b(0x53a)]===0x0||(_0x5cd4b2[_0x1e2f4b(0x19d)]===_0x1e2f4b(0x2d5)&&_0x5d2d7[_0x1e2f4b(0x2e1)]&&(_0x5d2d7['xlink:href']=_0x5d2d7[_0x1e2f4b(0x2e1)]+_0x19a98f[_0x1e2f4b(0x521)]),Object[_0x1e2f4b(0x36d)](_0x5d2d7)['forEach'](function(_0x273c81){const _0xcd8f27=_0x1e2f4b;var _0x1e25a1=_0x273c81[0x0],_0x58814f=_0x273c81[0x1];typeof _0x58814f=='string'&&(_0x5d2d7[_0x1e25a1]=_0x58814f[_0xcd8f27(0x2e5)](/url\(#(.*)\)/,_0xcd8f27(0x21c)[_0xcd8f27(0x538)](_0x19a98f['idSuffix'],')')));})),_0x5d2d7;}function Hr(_0x54b4b1,_0x3c59c6){const _0x5a17f4=_0x519f42;var _0x56ded1,_0x50506f=_0x3c59c6[_0x5a17f4(0x5b9)];return!_0x50506f||_0x50506f[_0x5a17f4(0x53a)]===0x0?_0x54b4b1:_0x54b4b1['tag']===_0x5a17f4(0x1f3)&&(!((_0x56ded1=_0x54b4b1[_0x5a17f4(0x631)])===null||_0x56ded1===void 0x0)&&_0x56ded1[_0x5a17f4(0x53a)])?Q(Q({},_0x54b4b1),{'children':_0x54b4b1['children'][_0x5a17f4(0x444)](function(_0x5394a0){const _0x2a873b=_0x5a17f4;return typeof _0x5394a0['attrs']['id']==_0x2a873b(0x32b)&&_0x50506f&&_0x50506f['indexOf'](_0x5394a0[_0x2a873b(0x589)]['id'])>-0x1?Q(Q({},_0x5394a0),{'attrs':Q(Q({},_0x5394a0[_0x2a873b(0x589)]),{'id':_0x5394a0[_0x2a873b(0x589)]['id']+_0x3c59c6[_0x2a873b(0x521)]})}):_0x5394a0;})}):_0x54b4b1;}function Br(){const _0x136acf=_0x519f42;return Math['random']()[_0x136acf(0x1a0)](0x24)[_0x136acf(0x1d4)](0x2,0x8);}At['displayName']=_0x519f42(0x355);var kr={'tag':_0x519f42(0x5b8),'attrs':{'fill':_0x519f42(0x39e),'viewBox':_0x519f42(0x33c),'width':_0x519f42(0x63f),'height':_0x519f42(0x63f)},'children':[{'tag':'g','attrs':{'clipPath':_0x519f42(0x50a)},'children':[{'tag':'path','attrs':{'stroke':_0x519f42(0x3a8),'d':_0x519f42(0x583),'strokeLinecap':_0x519f42(0x54b),'strokeLinejoin':_0x519f42(0x54b),'strokeWidth':1.2}}]},{'tag':_0x519f42(0x1f3),'attrs':{},'children':[{'tag':_0x519f42(0x211),'attrs':{'id':_0x519f42(0x491)},'children':[{'tag':_0x519f42(0x2ba),'attrs':{'fill':_0x519f42(0x461),'d':_0x519f42(0x280)}}]}]}],'defIds':[_0x519f42(0x491)]},Ai=oe[_0x519f42(0x2b8)](function(_0x483e9a,_0x27191d){const _0xa96689=_0x519f42;return oe['createElement'](At,Object[_0xa96689(0x38d)]({},_0x483e9a,{'id':_0xa96689(0x5ec),'ref':_0x27191d,'icon':kr}));});Ai[_0x519f42(0x1cf)]=_0x519f42(0x55c);var Wr={'tag':_0x519f42(0x5b8),'attrs':{'fill':_0x519f42(0x39e),'viewBox':_0x519f42(0x5bb),'width':_0x519f42(0x63f),'height':_0x519f42(0x63f)},'children':[{'tag':'g','attrs':{'clipPath':_0x519f42(0x1dd)},'children':[{'tag':'path','attrs':{'stroke':_0x519f42(0x3a8),'d':_0x519f42(0x50f),'strokeLinecap':'round','strokeLinejoin':_0x519f42(0x54b),'strokeWidth':1.2}}]},{'tag':_0x519f42(0x1f3),'attrs':{},'children':[{'tag':_0x519f42(0x211),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x519f42(0x2ba),'attrs':{'fill':_0x519f42(0x461),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x519f42(0x2ed)]},Li=oe[_0x519f42(0x2b8)](function(_0x2eb0a5,_0x4d30){const _0x478786=_0x519f42;return oe[_0x478786(0x3b1)](At,Object[_0x478786(0x38d)]({},_0x2eb0a5,{'id':_0x478786(0x614),'ref':_0x4d30,'icon':Wr}));});Li[_0x519f42(0x1cf)]=_0x519f42(0x3eb);function xi(_0x195d2c){const _0x25e755=_0x519f42;var _0x579835,_0x202211,_0x354345='';if(typeof _0x195d2c==_0x25e755(0x32b)||typeof _0x195d2c=='number')_0x354345+=_0x195d2c;else{if(typeof _0x195d2c==_0x25e755(0x330)){if(Array[_0x25e755(0x5f2)](_0x195d2c)){var _0x480bbc=_0x195d2c['length'];for(_0x579835=0x0;_0x579835<_0x480bbc;_0x579835++)_0x195d2c[_0x579835]&&(_0x202211=xi(_0x195d2c[_0x579835]))&&(_0x354345&&(_0x354345+='\x20'),_0x354345+=_0x202211);}else{for(_0x202211 in _0x195d2c)_0x195d2c[_0x202211]&&(_0x354345&&(_0x354345+='\x20'),_0x354345+=_0x202211);}}}return _0x354345;}function Fr(){const _0x11dc77=_0x519f42;for(var _0x41f9d7,_0x25ab15,_0x124d2a=0x0,_0x4b9533='',_0x27cc67=arguments[_0x11dc77(0x53a)];_0x124d2a<_0x27cc67;_0x124d2a++)(_0x41f9d7=arguments[_0x124d2a])&&(_0x25ab15=xi(_0x41f9d7))&&(_0x4b9533&&(_0x4b9533+='\x20'),_0x4b9533+=_0x25ab15);return _0x4b9533;}const Vr='univer-online-status-icon',Gr=_0x519f42(0x52d),Yr='univer-online-status',qr='univer-online',Kr='univer-offline',Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x300606){const _0x4ca153=_0x519f42;switch(_0x300606){case K['OFFLINE']:return _0x4ca153(0x2b4);case K['CONFLICT']:return _0x4ca153(0x2e0);case K['FETCH_MISS']:return _0x4ca153(0x493);case K[_0x4ca153(0x46c)]:return _0x4ca153(0x1dc);case K[_0x4ca153(0x57b)]:case K['AWAITING_WITH_PENDING']:return _0x4ca153(0x601);case K[_0x4ca153(0x445)]:case K[_0x4ca153(0x546)]:return _0x4ca153(0x256);}}function $i(_0x3cbf92){const _0x36bc59=_0x519f42,{status$:_0x936cba}=_0x3cbf92,_0x382de8=ee[_0x36bc59(0x46a)](_0x936cba,K[_0x36bc59(0x46c)]),_0x314899=a[_0x36bc59(0x336)](a[_0x36bc59(0x609)]),_0x856a7a=a[_0x36bc59(0x336)](exports[_0x36bc59(0x4ae)]),_0x2a2e28=_0x382de8!==K['OFFLINE'],_0x3fc099=_0x314899['t'](zr(_0x382de8)),_0x47e432=Fr(Me[_0x36bc59(0x59b)],{[Me[_0x36bc59(0x306)]]:_0x2a2e28,[Me['offline']]:!_0x2a2e28}),_0x367dc5=_0x2a2e28?me[_0x36bc59(0x640)](Li,{}):me['jsx'](Ai,{}),_0x5e7a28=oe['useCallback'](()=>{const _0x1bb0f1=_0x36bc59;_0x2a2e28||_0x856a7a[_0x1bb0f1(0x4cc)]();},[_0x2a2e28,_0x856a7a]);function _0x2988d8(){const _0x4106f3=_0x36bc59;return me[_0x4106f3(0x3cc)](_0x4106f3(0x4f2),{'className':_0x47e432,'onClick':_0x5e7a28,'children':[me['jsx'](_0x4106f3(0x4f2),{'className':Me['onlineStatusIcon'],'children':_0x367dc5}),me[_0x4106f3(0x640)](_0x4106f3(0x4f2),{'className':Me[_0x4106f3(0x224)],'children':_0x3fc099})]});}return _0x2a2e28?_0x2988d8():me[_0x36bc59(0x640)](Ce['Tooltip'],{'title':_0x314899['t'](_0x36bc59(0x1fc)),'children':_0x2988d8()});}var Xr=Object[_0x519f42(0x360)],Jr=Object[_0x519f42(0x544)],Zr=(_0x2810ae,_0x28555a,_0x291448,_0x7b9f21)=>{const _0x2c9fb6=_0x519f42;for(var _0x48afc9=_0x7b9f21>0x1?void 0x0:_0x7b9f21?Jr(_0x28555a,_0x291448):_0x28555a,_0xe80d8c=_0x2810ae[_0x2c9fb6(0x53a)]-0x1,_0x51c492;_0xe80d8c>=0x0;_0xe80d8c--)(_0x51c492=_0x2810ae[_0xe80d8c])&&(_0x48afc9=(_0x7b9f21?_0x51c492(_0x28555a,_0x291448,_0x48afc9):_0x51c492(_0x48afc9))||_0x48afc9);return _0x7b9f21&&_0x48afc9&&Xr(_0x28555a,_0x291448,_0x48afc9),_0x48afc9;},He=(_0x1ed809,_0x3052ab)=>(_0x36fc81,_0xfc937c)=>_0x3052ab(_0x36fc81,_0xfc937c,_0x1ed809);exports[_0x519f42(0x460)]=class extends a[_0x519f42(0x5f8)]{constructor(_0x414d02,_0x286e48,_0x14d8de,_0x218790){const _0x4e7426=_0x519f42;super(),I(this,_0x4e7426(0x646),new N[(_0x4e7426(0x46f))](K[_0x4e7426(0x46c)])),(this[_0x4e7426(0x403)]=_0x414d02,this[_0x4e7426(0x429)]=_0x286e48,this[_0x4e7426(0x590)]=_0x14d8de,this[_0x4e7426(0x22a)]=_0x218790,this[_0x4e7426(0x2fe)](),this[_0x4e7426(0x300)]());}['_initStatusListener'](){const _0xe818cf=_0x519f42;this['disposeWithMe'](this[_0xe818cf(0x403)][_0xe818cf(0x297)][_0xe818cf(0x641)](N['switchMap'](()=>{const _0x262a38=_0xe818cf,_0x4acbbd=this[_0x262a38(0x403)][_0x262a38(0x5a3)]();return _0x4acbbd?this['_collaborationController']['getCollabEntity$'](_0x4acbbd['getUnitId']()):N['of'](null);}),N['switchMap'](_0xd0aebb=>_0xd0aebb?_0xd0aebb[_0xe818cf(0x227)]:N['of'](K[_0xe818cf(0x46c)])))[_0xe818cf(0x1db)](_0x3ebed1=>{const _0x37e1a7=_0xe818cf;this[_0x37e1a7(0x646)][_0x37e1a7(0x213)](_0x3ebed1);}));}[_0x519f42(0x2fe)](){const _0x343126=_0x519f42;this[_0x343126(0x5db)](this[_0x343126(0x429)]['registerComponent'](ee[_0x343126(0x210)]['HEADER_MENU'],()=>a[_0x343126(0x5bd)](Qr({'status$':this['_status$'][_0x343126(0x20b)]()}),this[_0x343126(0x590)])));}},exports['DesktopCollaborationStatusDisplayController']=Zr([He(0x0,a[_0x519f42(0x4aa)]),He(0x1,ee[_0x519f42(0x626)]),He(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),He(0x3,a[_0x519f42(0x3b4)](exports['CollaborationController']))],exports[_0x519f42(0x460)]);function Qr(_0x41b282){const {status$:_0x5b45f6}=_0x41b282;return function(){const _0x548e26=_0x3f43;return me[_0x548e26(0x640)]($i,{'status$':_0x5b45f6});};}const Lt=a[_0x519f42(0x3c8)]('uni.network.url-service');var es=Object[_0x519f42(0x360)],ts=Object[_0x519f42(0x544)],is=(_0x53fc1e,_0x1b7686,_0x5b7922,_0x295cdd)=>{const _0x412685=_0x519f42;for(var _0x48b24b=_0x295cdd>0x1?void 0x0:_0x295cdd?ts(_0x1b7686,_0x5b7922):_0x1b7686,_0x27113c=_0x53fc1e[_0x412685(0x53a)]-0x1,_0x4287c1;_0x27113c>=0x0;_0x27113c--)(_0x4287c1=_0x53fc1e[_0x27113c])&&(_0x48b24b=(_0x295cdd?_0x4287c1(_0x1b7686,_0x5b7922,_0x48b24b):_0x4287c1(_0x48b24b))||_0x48b24b);return _0x295cdd&&_0x48b24b&&es(_0x1b7686,_0x5b7922,_0x48b24b),_0x48b24b;},Re=(_0x41c702,_0x29ab19)=>(_0x3113f4,_0x18af75)=>_0x29ab19(_0x3113f4,_0x18af75,_0x41c702);exports[_0x519f42(0x31e)]=class extends a[_0x519f42(0x275)]{constructor(_0x35dbf9,_0x89cf15,_0x1d2cb2,_0x204bda,_0x2eff44,_0x335fb3){const _0x279e68=_0x519f42;super(),this[_0x279e68(0x3da)]=_0x35dbf9,this[_0x279e68(0x392)]=_0x89cf15,this['_commandService']=_0x1d2cb2,this[_0x279e68(0x5ca)]=_0x204bda,this[_0x279e68(0x608)]=_0x2eff44,_0x335fb3?_0x335fb3==null||_0x335fb3[_0x279e68(0x246)]()[_0x279e68(0x5b5)](()=>this[_0x279e68(0x3b9)]()):(this[_0x279e68(0x392)][_0x279e68(0x408)](_0x279e68(0x2b5),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x279e68(0x3b9)]());}async[_0x519f42(0x3b9)](){const _0x3650da=_0x519f42,_0x4a0e42=this[_0x3650da(0x3da)][_0x3650da(0x245)]('unit'),_0x2a3c56=this['_urlService'][_0x3650da(0x245)](_0x3650da(0x1d1));if(!_0x4a0e42||!_0x2a3c56){this[_0x3650da(0x392)][_0x3650da(0x408)](_0x3650da(0x2b5),_0x3650da(0x4cb));return;}switch(Number(_0x2a3c56)){case ie[_0x3650da(0x248)]:{const _0x5357c7=await this['_loadSheet'](_0x4a0e42);this[_0x3650da(0x3ee)](_0x5357c7);break;}case ie['UNIVER_DOC']:{await this[_0x3650da(0x62d)](_0x4a0e42);break;}default:{this[_0x3650da(0x392)][_0x3650da(0x1d8)]('[DataLoaderController]',_0x3650da(0x3f2));break;}}}async[_0x519f42(0x3ee)](_0x541e43){const _0xe19932=_0x519f42;await this['_updateSubUnitFromURLParams'](_0x541e43),_0x541e43['activeSheet$'][_0xe19932(0x641)](N[_0xe19932(0x1e9)](this['dispose$']))[_0xe19932(0x1db)](_0x28331c=>{_0x28331c&&this['_updateURLWithCurrentState'](_0x28331c);}),this[_0xe19932(0x3da)][_0xe19932(0x513)][_0xe19932(0x641)](N[_0xe19932(0x1e9)](this[_0xe19932(0x191)]))[_0xe19932(0x1db)](()=>this[_0xe19932(0x1cc)](_0x541e43));}[_0x519f42(0x5af)](_0x3f40c2,_0x84e618=!0x1){const _0x47df1b=_0x519f42,_0x218570=this[_0x47df1b(0x3da)]['getParam']('subunit');_0x3f40c2[_0x47df1b(0x584)]()!==_0x218570&&this['_urlService']['setParam']('subunit',_0x3f40c2[_0x47df1b(0x584)](),_0x84e618);}async['_updateSubUnitFromURLParams'](_0x2b0cbf){const _0x413696=_0x519f42;var _0x325c93;const _0x373fd8=this['_urlService'][_0x413696(0x245)](_0x413696(0x594));if(!_0x373fd8||!_0x2b0cbf[_0x413696(0x54d)](_0x373fd8)){const _0x311104=_0x2b0cbf[_0x413696(0x3bf)]()[0x0],_0x46d541=_0x2b0cbf[_0x413696(0x54d)](_0x311104);if(!_0x46d541)return;this['_updateURLWithCurrentState'](_0x46d541,!0x0),await this[_0x413696(0x636)][_0x413696(0x237)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x2b0cbf[_0x413696(0x238)](),'subUnitId':_0x311104});return;}((_0x325c93=_0x2b0cbf[_0x413696(0x5fc)]())==null?void 0x0:_0x325c93[_0x413696(0x584)]())!==_0x373fd8&&await this[_0x413696(0x636)][_0x413696(0x237)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x2b0cbf[_0x413696(0x238)](),'subUnitId':_0x373fd8});}async[_0x519f42(0x44b)](_0x2929b9){const _0x38e478=_0x519f42;let _0x31fe65=0x0;const _0x4ff6c5=await this[_0x38e478(0x5ca)][_0x38e478(0x39f)](_0x2929b9);return _0x4ff6c5&&(_0x4ff6c5[_0x38e478(0x3c5)]||_0x4ff6c5['mutations'][_0x38e478(0x53a)]!==0x0)&&(_0x31fe65=_0x4ff6c5[_0x38e478(0x2bf)]),_0x31fe65===0x0&&this[_0x38e478(0x392)][_0x38e478(0x408)]('[DataLoaderController]',_0x38e478(0x555)),this[_0x38e478(0x608)][_0x38e478(0x4e8)](_0x2929b9,_0x31fe65);}async[_0x519f42(0x62d)](_0x1ee49f){const _0x5184ec=_0x519f42;let _0x3da6dc=0x0;const _0x3594c3=await this[_0x5184ec(0x5ca)][_0x5184ec(0x39f)](_0x1ee49f);return _0x3594c3&&(_0x3594c3[_0x5184ec(0x3c5)]||_0x3594c3[_0x5184ec(0x4af)]['length']!==0x0)&&(_0x3da6dc=_0x3594c3[_0x5184ec(0x2bf)]),_0x3da6dc===0x0&&this[_0x5184ec(0x392)][_0x5184ec(0x408)](_0x5184ec(0x2b5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x5184ec(0x418)](_0x1ee49f,_0x3da6dc);}},exports['DataLoaderController']=is([Re(0x0,Lt),Re(0x1,a['ILogService']),Re(0x2,a[_0x519f42(0x3e8)]),Re(0x3,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),Re(0x4,a[_0x519f42(0x3b4)](m[_0x519f42(0x19b)])),Re(0x5,a['Optional'](Yi[_0x519f42(0x5e2)]))],exports[_0x519f42(0x31e)]);var ns=Object[_0x519f42(0x360)],rs=Object[_0x519f42(0x544)],ss=(_0x27deeb,_0x8de378,_0x425cbe,_0x313947)=>{const _0x459a70=_0x519f42;for(var _0x2e21dd=_0x313947>0x1?void 0x0:_0x313947?rs(_0x8de378,_0x425cbe):_0x8de378,_0x33cd6d=_0x27deeb[_0x459a70(0x53a)]-0x1,_0x1cfb22;_0x33cd6d>=0x0;_0x33cd6d--)(_0x1cfb22=_0x27deeb[_0x33cd6d])&&(_0x2e21dd=(_0x313947?_0x1cfb22(_0x8de378,_0x425cbe,_0x2e21dd):_0x1cfb22(_0x2e21dd))||_0x2e21dd);return _0x313947&&_0x2e21dd&&ns(_0x8de378,_0x425cbe,_0x2e21dd),_0x2e21dd;},Zt=(_0x2bbc7d,_0x3f31d7)=>(_0x56fcbe,_0x19c9dd)=>_0x3f31d7(_0x56fcbe,_0x19c9dd,_0x2bbc7d);const os=_0x519f42(0x298),as=_0x519f42(0x25a);let nt=class extends a['Disposable']{constructor(_0x1b8583,_0x37916c){const _0x110f8b=_0x519f42;super(),this[_0x110f8b(0x403)]=_0x1b8583,this[_0x110f8b(0x193)]=_0x37916c,this['_init']();}[_0x519f42(0x3b9)](){const _0x49e20c=_0x519f42;this[_0x49e20c(0x5db)](this['_univerInstanceService']['focused$'][_0x49e20c(0x1db)](()=>{const _0x450fd3=_0x49e20c;var _0x33618b;const _0x175354=this['_univerInstanceService']['getFocusedUnit']();let _0xca98d7=(_0x33618b=this[_0x450fd3(0x193)][_0x450fd3(0x4ba)](os))!=null?_0x33618b:as;_0x175354 instanceof a[_0x450fd3(0x3aa)]&&(_0xca98d7=_0x175354['name']),document[_0x450fd3(0x5e1)]=_0xca98d7;}));}};nt=ss([Zt(0x0,a[_0x519f42(0x4aa)]),Zt(0x1,a['IConfigService'])],nt);var cs=Object[_0x519f42(0x360)],ls=Object[_0x519f42(0x544)],hs=(_0x18f101,_0x19f9b7,_0x13b303,_0x31ede1)=>{const _0x558c25=_0x519f42;for(var _0x40a765=_0x31ede1>0x1?void 0x0:_0x31ede1?ls(_0x19f9b7,_0x13b303):_0x19f9b7,_0x27c7cb=_0x18f101[_0x558c25(0x53a)]-0x1,_0x1615c0;_0x27c7cb>=0x0;_0x27c7cb--)(_0x1615c0=_0x18f101[_0x27c7cb])&&(_0x40a765=(_0x31ede1?_0x1615c0(_0x19f9b7,_0x13b303,_0x40a765):_0x1615c0(_0x40a765))||_0x40a765);return _0x31ede1&&_0x40a765&&cs(_0x19f9b7,_0x13b303,_0x40a765),_0x40a765;},Ct=(_0x1232ce,_0x5173a0)=>(_0x5e09cc,_0x1473c5)=>_0x5173a0(_0x5e09cc,_0x1473c5,_0x1232ce);let rt=class{constructor(_0x4b972b,_0x28bc7c,_0x55c9eb){const _0x1eee9d=_0x519f42;this[_0x1eee9d(0x193)]=_0x4b972b,this[_0x1eee9d(0x2a1)]=_0x28bc7c,this[_0x1eee9d(0x439)]=_0x55c9eb,this[_0x1eee9d(0x1fe)]();}[_0x519f42(0x1fe)](){const _0x160735=_0x519f42;this[_0x160735(0x2a1)][_0x160735(0x5a0)]({'priority':0x1,'interceptor':(_0x543882,_0x33c035)=>_0x33c035(_0x543882)[_0x160735(0x641)](N[_0x160735(0x4b7)](async _0x12d9b0=>{const _0x5f4462=_0x160735,_0x55fbef=_0x12d9b0;if(_0x55fbef[_0x5f4462(0x32e)]===0x191&&window[_0x5f4462(0x1eb)](this[_0x5f4462(0x439)]['t']('auth.needGotoLoginAlert'))){const _0x3d7f30=window[_0x5f4462(0x320)](window[_0x5f4462(0x376)]['href']);window[_0x5f4462(0x376)][_0x5f4462(0x1c8)]=this[_0x5f4462(0x47e)]()+_0x5f4462(0x4a2)+_0x3d7f30;}return _0x55fbef;}))});}[_0x519f42(0x47e)](){const _0x5564a1=_0x519f42;var _0x479c19,_0x34d63c;const _0x530910=this[_0x5564a1(0x193)][_0x5564a1(0x4ba)](Ei),_0x353aa9=this['_configService'][_0x5564a1(0x4ba)](Z);return(_0x34d63c=(_0x479c19=_0x353aa9==null?void 0x0:_0x353aa9[_0x5564a1(0x34c)])!=null?_0x479c19:_0x530910)!=null?_0x34d63c:rn;}};rt=hs([Ct(0x0,a[_0x519f42(0x4e5)]),Ct(0x1,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),Ct(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)]))],rt);var _s=Object[_0x519f42(0x360)],us=Object[_0x519f42(0x544)],ds=(_0x5d21ed,_0x5194ce,_0x3fe71a,_0x4f2c32)=>{const _0x2bfc64=_0x519f42;for(var _0xf4571c=_0x4f2c32>0x1?void 0x0:_0x4f2c32?us(_0x5194ce,_0x3fe71a):_0x5194ce,_0x43b2d6=_0x5d21ed[_0x2bfc64(0x53a)]-0x1,_0x210c74;_0x43b2d6>=0x0;_0x43b2d6--)(_0x210c74=_0x5d21ed[_0x43b2d6])&&(_0xf4571c=(_0x4f2c32?_0x210c74(_0x5194ce,_0x3fe71a,_0xf4571c):_0x210c74(_0xf4571c))||_0xf4571c);return _0x4f2c32&&_0xf4571c&&_s(_0x5194ce,_0x3fe71a,_0xf4571c),_0xf4571c;},Qt=(_0x16b18f,_0x2aacee)=>(_0x300ea5,_0xcb078b)=>_0x2aacee(_0x300ea5,_0xcb078b,_0x16b18f);const xt='AUTHZ_URL_KEY',fs=_0x519f42(0x343);exports['AuthzIoHttpService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x270e95,_0x2d82d5){const _0x18cf60=_0x519f42;super(),this[_0x18cf60(0x51d)]=_0x270e95,this[_0x18cf60(0x193)]=_0x2d82d5,this[_0x18cf60(0x4ca)]();}[_0x519f42(0x4ca)](){const _0x5068c8=_0x519f42,_0xefd581=this;this[_0x5068c8(0x5db)](this['_HTTPService'][_0x5068c8(0x5a0)]({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x454bb7){const _0x3cc046=_0x5068c8;var _0x27eaa2;if(_0x454bb7['method']===_0x3cc046(0x18b)&&((_0x27eaa2=_0x454bb7[_0x3cc046(0x1f1)])!=null&&_0x27eaa2[_0x3cc046(0x32d)])){const {objectID:_0x41b162,objectType:_0xfa3790}=_0x454bb7[_0x3cc046(0x1f1)][_0x3cc046(0x32d)]||{};if(!_0x41b162||_0xfa3790===void 0x0)return!0x1;const _0x46a97b=_0xefd581[_0x3cc046(0x394)]()+'/'+_0xfa3790+_0x3cc046(0x638)+_0x41b162+_0x3cc046(0x3fa);if(_0x454bb7[_0x3cc046(0x188)]===_0x46a97b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x249c1a){const _0x4291c6=_0x5068c8;var _0x3ef3c0;return(_0x3ef3c0=_0x249c1a[_0x4291c6(0x1f1)])==null?void 0x0:_0x3ef3c0[_0x4291c6(0x32d)];},'mergeParamsToRequest'(_0x3ae2e4,_0x539b46){const _0x5ac735=_0x5068c8,_0x2273ac=_0xefd581[_0x5ac735(0x394)]()+_0x5ac735(0x4d3),_0x3c16b5=_0x3ae2e4[_0x5ac735(0x19e)]((_0x5ef0cb,_0x3f4e4f)=>{const _0xacc92a=_0x5ac735,{unitID:_0x5e2737,objectID:_0x15e36f,objectType:_0x5067f0,actions:_0x30ad8c}=_0x3f4e4f;return _0x5ef0cb[_0x5e2737]||(_0x5ef0cb[_0x5e2737]={}),_0x5ef0cb[_0x5e2737][_0x15e36f]||(_0x5ef0cb[_0x5e2737][_0x15e36f]={'objectID':_0x15e36f,'objectType':_0x5067f0,'actions':[]}),_0x5ef0cb[_0x5e2737][_0x15e36f]['actions'][_0xacc92a(0x205)](..._0x30ad8c),_0x5ef0cb;},{}),_0x1423df=[];for(const _0x2e2e8e in _0x3c16b5)for(const _0x3f3c57 in _0x3c16b5[_0x2e2e8e]){const {actions:_0x507669,objectType:_0x1de081}=_0x3c16b5[_0x2e2e8e][_0x3f3c57],_0x32d47a=[...new Set(_0x507669)];_0x1423df['push']({'unitID':_0x2e2e8e,'objectID':_0x3f3c57,'objectType':_0x1de081,'actions':_0x32d47a});}return new z[(_0x5ac735(0x5a8))]('POST',_0x2273ac,{'headers':_0x539b46[_0x5ac735(0x1e7)],'withCredentials':_0x539b46['withCredentials'],'responseType':_0x539b46[_0x5ac735(0x3f6)],'body':{'requests':_0x1423df}});}},{'distributeResult'(_0x588b3a,_0x3b2e65){const _0x3d4434=_0x5068c8,{objectActions:_0x41b214}=_0x588b3a;return _0x3b2e65[_0x3d4434(0x444)](_0x2dca07=>{const _0x183a31=_0x3d4434,{unitID:_0x4321f7,objectID:_0x308feb,actions:_0xfe9426}=_0x2dca07,_0x1fbc88=_0x41b214['find'](_0x5d4660=>_0x5d4660[_0x183a31(0x57d)]===_0x4321f7&&_0x5d4660[_0x183a31(0x291)]===_0x308feb),_0x909505=_0xfe9426['map'](_0x36ed3a=>_0x1fbc88==null?void 0x0:_0x1fbc88[_0x183a31(0x36a)]['find'](_0x3cbc43=>_0x3cbc43[_0x183a31(0x2a7)]===_0x36ed3a))[_0x183a31(0x1ae)](_0x319971=>!!_0x319971);return{'config':_0x2dca07,'result':{'actions':_0x909505,'error':_0x588b3a[_0x183a31(0x1d8)]}};});}})}));}[_0x519f42(0x394)](){const _0x15daca=_0x519f42;var _0x52605b,_0x26b543;const _0x35e210=this[_0x15daca(0x193)]['getConfig'](xt),_0x5c2254=this['_configService']['getConfig'](Z);return(_0x26b543=(_0x52605b=_0x5c2254==null?void 0x0:_0x5c2254[_0x15daca(0x511)])!=null?_0x52605b:_0x35e210)!=null?_0x26b543:fs;}async['create'](_0x8da8f){const _0x2754e7=_0x519f42,_0x303c84=this['_getAPIPrefixPath']()+'/'+_0x8da8f[_0x2754e7(0x28e)]+_0x2754e7(0x4b1);return(await this[_0x2754e7(0x51d)][_0x2754e7(0x627)](_0x303c84,{'body':_0x8da8f}))[_0x2754e7(0x32d)]['objectID']||'';}async[_0x519f42(0x2af)](_0x4f982a){const _0x45af27=_0x519f42,_0x20dc30=this[_0x45af27(0x394)]()+_0x45af27(0x51a);return(await this[_0x45af27(0x51d)][_0x45af27(0x627)](_0x20dc30,{'body':_0x4f982a}))[_0x45af27(0x32d)]['objects'];}async[_0x519f42(0x182)](_0x5d3552){const _0x4eb303=_0x519f42,_0xbf106f=this[_0x4eb303(0x394)]()+'/'+_0x5d3552[_0x4eb303(0x28e)]+'/object/'+_0x5d3552[_0x4eb303(0x291)];await this[_0x4eb303(0x51d)][_0x4eb303(0x233)](_0xbf106f,{'body':_0x5d3552});}async[_0x519f42(0x2a2)](_0x42b85c){const _0x5d8872=_0x519f42,_0x766108=this['_getAPIPrefixPath']()+'/'+_0x42b85c['objectType']+_0x5d8872(0x638)+_0x42b85c[_0x5d8872(0x291)]+_0x5d8872(0x3fa);return(await this['_HTTPService'][_0x5d8872(0x627)](_0x766108,{'body':_0x42b85c}))[_0x5d8872(0x32d)][_0x5d8872(0x36a)];}async[_0x519f42(0x405)](_0x24a7cd){const _0x254f95=_0x519f42,_0x4dbea8=this[_0x254f95(0x394)]()+_0x254f95(0x4d3);return(await this['_HTTPService'][_0x254f95(0x627)](_0x4dbea8,{'body':{'requests':_0x24a7cd}}))[_0x254f95(0x32d)][_0x254f95(0x39a)];}async['listRoles'](_0x1fd5b1){const _0x3f423e=_0x519f42,_0x19d413=this[_0x3f423e(0x394)]()+'/'+_0x1fd5b1[_0x3f423e(0x28e)]+_0x3f423e(0x326),_0x300d56=await this['_HTTPService'][_0x3f423e(0x627)](_0x19d413,{'body':_0x1fd5b1});return{'roles':_0x300d56[_0x3f423e(0x32d)]['roles'],'actions':_0x300d56[_0x3f423e(0x32d)][_0x3f423e(0x36a)]};}async[_0x519f42(0x470)](_0x1aa344){const _0x2b2746=_0x519f42,_0x442d55=this[_0x2b2746(0x394)]()+_0x2b2746(0x3f3);await this[_0x2b2746(0x51d)][_0x2b2746(0x203)](_0x442d55,{'params':{'collaboratorID':_0x1aa344[_0x2b2746(0x206)],'objectID':_0x1aa344['objectID'],'unitID':_0x1aa344['unitID']}});}async[_0x519f42(0x2df)](_0x209e34){const _0x40cb1c=_0x519f42,_0xc68856=this[_0x40cb1c(0x394)]()+_0x40cb1c(0x3f3);await this[_0x40cb1c(0x51d)][_0x40cb1c(0x2c0)](_0xc68856,{'body':_0x209e34});}async[_0x519f42(0x190)](_0xf0b0f){const _0x460779=_0x519f42,_0x59d11f=this[_0x460779(0x394)]()+_0x460779(0x3f3);await this[_0x460779(0x51d)][_0x460779(0x627)](_0x59d11f,{'body':_0xf0b0f});}async[_0x519f42(0x1ba)](_0x56c16e){const _0x3cb44d=_0x519f42,_0x35cd90=this['_getAPIPrefixPath']()+_0x3cb44d(0x3f3);return(await this[_0x3cb44d(0x51d)][_0x3cb44d(0x4a6)](_0x35cd90,{'params':{'objectID':_0x56c16e[_0x3cb44d(0x291)],'unitID':_0x56c16e[_0x3cb44d(0x57d)]}}))[_0x3cb44d(0x32d)]['collaborators'];}async[_0x519f42(0x2ab)](_0x50281f){const _0x3584e7=_0x519f42,_0x3cde89=this['_getAPIPrefixPath']()+_0x3584e7(0x3f3);await this[_0x3584e7(0x51d)][_0x3584e7(0x233)](_0x3cde89,{'body':_0x50281f});}},exports['AuthzIoHttpService']=ds([Qt(0x0,a['Inject'](z[_0x519f42(0x623)])),Qt(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x4e5)]))],exports['AuthzIoHttpService']);var ke={'exports':{}};function vs(_0x1dfa36){const _0x3e2ef5=_0x519f42;throw new Error(_0x3e2ef5(0x4c1)+_0x1dfa36+_0x3e2ef5(0x2f8));}var We={'exports':{}},Ss=We[_0x519f42(0x495)],ei;function se(){return ei||(ei=0x1,function(_0x3e047b,_0x5a2e45){(function(_0x2e40fc,_0x5b4d83){const _0xce0120=_0x3f43;_0x3e047b[_0xce0120(0x495)]=_0x5b4d83();}(Ss,function(){var _0x1421a5=_0x1421a5||function(_0x463c74,_0xb8b36e){const _0x2c08fa=_0x3f43;var _0x2604f5;if(typeof window<'u'&&window['crypto']&&(_0x2604f5=window[_0x2c08fa(0x5b4)]),typeof self<'u'&&self[_0x2c08fa(0x5b4)]&&(_0x2604f5=self[_0x2c08fa(0x5b4)]),typeof globalThis<'u'&&globalThis[_0x2c08fa(0x5b4)]&&(_0x2604f5=globalThis[_0x2c08fa(0x5b4)]),!_0x2604f5&&typeof window<'u'&&window[_0x2c08fa(0x45c)]&&(_0x2604f5=window['msCrypto']),!_0x2604f5&&typeof gt<'u'&>[_0x2c08fa(0x5b4)]&&(_0x2604f5=gt[_0x2c08fa(0x5b4)]),!_0x2604f5&&typeof vs==_0x2c08fa(0x4c7))try{_0x2604f5=require(_0x2c08fa(0x5b4));}catch{}var _0x5b9b29=function(){const _0x26bb42=_0x2c08fa;if(_0x2604f5){if(typeof _0x2604f5[_0x26bb42(0x267)]=='function')try{return _0x2604f5[_0x26bb42(0x267)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2604f5[_0x26bb42(0x48e)]==_0x26bb42(0x4c7))try{return _0x2604f5[_0x26bb42(0x48e)](0x4)[_0x26bb42(0x4d0)]();}catch{}}throw new Error(_0x26bb42(0x313));},_0x144121=Object[_0x2c08fa(0x282)]||(function(){function _0x1e5446(){}return function(_0x9f29fb){const _0x541c80=_0x3f43;var _0x30a3aa;return _0x1e5446[_0x541c80(0x4f9)]=_0x9f29fb,_0x30a3aa=new _0x1e5446(),_0x1e5446[_0x541c80(0x4f9)]=null,_0x30a3aa;};}()),_0x49e38f={},_0x59d7cf=_0x49e38f[_0x2c08fa(0x3d6)]={},_0x3f2439=_0x59d7cf['Base']=(function(){return{'extend':function(_0x1e0cb8){const _0x190635=_0x3f43;var _0x57b00f=_0x144121(this);return _0x1e0cb8&&_0x57b00f[_0x190635(0x391)](_0x1e0cb8),(!_0x57b00f[_0x190635(0x635)](_0x190635(0x1fe))||this[_0x190635(0x1fe)]===_0x57b00f[_0x190635(0x1fe)])&&(_0x57b00f[_0x190635(0x1fe)]=function(){const _0x31665a=_0x190635;_0x57b00f[_0x31665a(0x528)][_0x31665a(0x1fe)][_0x31665a(0x52e)](this,arguments);}),_0x57b00f['init'][_0x190635(0x4f9)]=_0x57b00f,_0x57b00f[_0x190635(0x528)]=this,_0x57b00f;},'create':function(){const _0x301552=_0x3f43;var _0x5c9f7c=this['extend']();return _0x5c9f7c[_0x301552(0x1fe)]['apply'](_0x5c9f7c,arguments),_0x5c9f7c;},'init':function(){},'mixIn':function(_0x98516b){const _0x33c5ae=_0x3f43;for(var _0x1a7f22 in _0x98516b)_0x98516b[_0x33c5ae(0x635)](_0x1a7f22)&&(this[_0x1a7f22]=_0x98516b[_0x1a7f22]);_0x98516b[_0x33c5ae(0x635)](_0x33c5ae(0x1a0))&&(this[_0x33c5ae(0x1a0)]=_0x98516b['toString']);},'clone':function(){const _0x341426=_0x3f43;return this[_0x341426(0x1fe)][_0x341426(0x4f9)][_0x341426(0x5f5)](this);}};}()),_0x431463=_0x59d7cf[_0x2c08fa(0x17b)]=_0x3f2439[_0x2c08fa(0x5f5)]({'init':function(_0x173e38,_0x1377d9){const _0x559763=_0x2c08fa;_0x173e38=this[_0x559763(0x1b9)]=_0x173e38||[],_0x1377d9!=_0xb8b36e?this['sigBytes']=_0x1377d9:this[_0x559763(0x386)]=_0x173e38[_0x559763(0x53a)]*0x4;},'toString':function(_0x251f81){const _0x20b1f1=_0x2c08fa;return(_0x251f81||_0x7a5017)[_0x20b1f1(0x648)](this);},'concat':function(_0x3e4706){const _0x373ff7=_0x2c08fa;var _0x32c4e0=this[_0x373ff7(0x1b9)],_0x5f3118=_0x3e4706[_0x373ff7(0x1b9)],_0x3daa64=this[_0x373ff7(0x386)],_0x263683=_0x3e4706[_0x373ff7(0x386)];if(this[_0x373ff7(0x5d4)](),_0x3daa64%0x4)for(var _0x5e8fab=0x0;_0x5e8fab<_0x263683;_0x5e8fab++){var _0x1eb8e0=_0x5f3118[_0x5e8fab>>>0x2]>>>0x18-_0x5e8fab%0x4*0x8&0xff;_0x32c4e0[_0x3daa64+_0x5e8fab>>>0x2]|=_0x1eb8e0<<0x18-(_0x3daa64+_0x5e8fab)%0x4*0x8;}else{for(var _0x21e1f0=0x0;_0x21e1f0<_0x263683;_0x21e1f0+=0x4)_0x32c4e0[_0x3daa64+_0x21e1f0>>>0x2]=_0x5f3118[_0x21e1f0>>>0x2];}return this[_0x373ff7(0x386)]+=_0x263683,this;},'clamp':function(){const _0x43c153=_0x2c08fa;var _0x18f8aa=this['words'],_0x476040=this['sigBytes'];_0x18f8aa[_0x476040>>>0x2]&=0xffffffff<<0x20-_0x476040%0x4*0x8,_0x18f8aa[_0x43c153(0x53a)]=_0x463c74[_0x43c153(0x4cf)](_0x476040/0x4);},'clone':function(){const _0x153763=_0x2c08fa;var _0xcd1d41=_0x3f2439[_0x153763(0x1ce)][_0x153763(0x3bb)](this);return _0xcd1d41[_0x153763(0x1b9)]=this[_0x153763(0x1b9)][_0x153763(0x428)](0x0),_0xcd1d41;},'random':function(_0x456537){for(var _0x853e4=[],_0x7b02a2=0x0;_0x7b02a2<_0x456537;_0x7b02a2+=0x4)_0x853e4['push'](_0x5b9b29());return new _0x431463['init'](_0x853e4,_0x456537);}}),_0x18e92d=_0x49e38f[_0x2c08fa(0x333)]={},_0x7a5017=_0x18e92d[_0x2c08fa(0x1e4)]={'stringify':function(_0xeaea1b){const _0x4436f8=_0x2c08fa;for(var _0x46fb91=_0xeaea1b[_0x4436f8(0x1b9)],_0x74fd90=_0xeaea1b[_0x4436f8(0x386)],_0x153cfc=[],_0x57f073=0x0;_0x57f073<_0x74fd90;_0x57f073++){var _0x5b0634=_0x46fb91[_0x57f073>>>0x2]>>>0x18-_0x57f073%0x4*0x8&0xff;_0x153cfc[_0x4436f8(0x205)]((_0x5b0634>>>0x4)['toString'](0x10)),_0x153cfc[_0x4436f8(0x205)]((_0x5b0634&0xf)['toString'](0x10));}return _0x153cfc[_0x4436f8(0x3b7)]('');},'parse':function(_0x170a98){const _0x484d58=_0x2c08fa;for(var _0x17a486=_0x170a98[_0x484d58(0x53a)],_0x53dc7e=[],_0x49ada1=0x0;_0x49ada1<_0x17a486;_0x49ada1+=0x2)_0x53dc7e[_0x49ada1>>>0x3]|=parseInt(_0x170a98['substr'](_0x49ada1,0x2),0x10)<<0x18-_0x49ada1%0x8*0x4;return new _0x431463[(_0x484d58(0x1fe))](_0x53dc7e,_0x17a486/0x2);}},_0x3a3901=_0x18e92d[_0x2c08fa(0x2f7)]={'stringify':function(_0x501cfd){const _0x323852=_0x2c08fa;for(var _0x41242a=_0x501cfd[_0x323852(0x1b9)],_0x185dcf=_0x501cfd['sigBytes'],_0x31c857=[],_0x668c8c=0x0;_0x668c8c<_0x185dcf;_0x668c8c++){var _0x4c5470=_0x41242a[_0x668c8c>>>0x2]>>>0x18-_0x668c8c%0x4*0x8&0xff;_0x31c857[_0x323852(0x205)](String[_0x323852(0x63c)](_0x4c5470));}return _0x31c857[_0x323852(0x3b7)]('');},'parse':function(_0x4de2d2){const _0x198dc5=_0x2c08fa;for(var _0xb2415c=_0x4de2d2[_0x198dc5(0x53a)],_0x760ad7=[],_0x1c3c9d=0x0;_0x1c3c9d<_0xb2415c;_0x1c3c9d++)_0x760ad7[_0x1c3c9d>>>0x2]|=(_0x4de2d2[_0x198dc5(0x1fa)](_0x1c3c9d)&0xff)<<0x18-_0x1c3c9d%0x4*0x8;return new _0x431463[(_0x198dc5(0x1fe))](_0x760ad7,_0xb2415c);}},_0x40dc1e=_0x18e92d[_0x2c08fa(0x4a5)]={'stringify':function(_0x11b130){try{return decodeURIComponent(escape(_0x3a3901['stringify'](_0x11b130)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2fe7b6){const _0xa127ae=_0x2c08fa;return _0x3a3901[_0xa127ae(0x2f6)](unescape(encodeURIComponent(_0x2fe7b6)));}},_0x15cbe3=_0x59d7cf['BufferedBlockAlgorithm']=_0x3f2439['extend']({'reset':function(){const _0x3a5e50=_0x2c08fa;this['_data']=new _0x431463[(_0x3a5e50(0x1fe))](),this[_0x3a5e50(0x2c4)]=0x0;},'_append':function(_0x57de23){const _0x569f01=_0x2c08fa;typeof _0x57de23==_0x569f01(0x32b)&&(_0x57de23=_0x40dc1e[_0x569f01(0x2f6)](_0x57de23)),this[_0x569f01(0x5f3)][_0x569f01(0x538)](_0x57de23),this[_0x569f01(0x2c4)]+=_0x57de23['sigBytes'];},'_process':function(_0x1d52c7){const _0x21e8ca=_0x2c08fa;var _0x363be1,_0x525e6e=this['_data'],_0x7682fa=_0x525e6e[_0x21e8ca(0x1b9)],_0x5ac095=_0x525e6e[_0x21e8ca(0x386)],_0x2e05e1=this[_0x21e8ca(0x337)],_0x26221d=_0x2e05e1*0x4,_0x3b8cae=_0x5ac095/_0x26221d;_0x1d52c7?_0x3b8cae=_0x463c74[_0x21e8ca(0x4cf)](_0x3b8cae):_0x3b8cae=_0x463c74[_0x21e8ca(0x2f3)]((_0x3b8cae|0x0)-this['_minBufferSize'],0x0);var _0x207966=_0x3b8cae*_0x2e05e1,_0x9907f0=_0x463c74[_0x21e8ca(0x3ba)](_0x207966*0x4,_0x5ac095);if(_0x207966){for(var _0x148f6c=0x0;_0x148f6c<_0x207966;_0x148f6c+=_0x2e05e1)this[_0x21e8ca(0x4d7)](_0x7682fa,_0x148f6c);_0x363be1=_0x7682fa['splice'](0x0,_0x207966),_0x525e6e['sigBytes']-=_0x9907f0;}return new _0x431463[(_0x21e8ca(0x1fe))](_0x363be1,_0x9907f0);},'clone':function(){const _0x3133b6=_0x2c08fa;var _0x119bb0=_0x3f2439['clone']['call'](this);return _0x119bb0[_0x3133b6(0x5f3)]=this[_0x3133b6(0x5f3)][_0x3133b6(0x1ce)](),_0x119bb0;},'_minBufferSize':0x0});_0x59d7cf[_0x2c08fa(0x2bb)]=_0x15cbe3['extend']({'cfg':_0x3f2439['extend'](),'init':function(_0xc2a2f2){const _0x44b6df=_0x2c08fa;this[_0x44b6df(0x2b0)]=this['cfg'][_0x44b6df(0x5f5)](_0xc2a2f2),this[_0x44b6df(0x414)]();},'reset':function(){const _0x8600d9=_0x2c08fa;_0x15cbe3[_0x8600d9(0x414)]['call'](this),this[_0x8600d9(0x2c2)]();},'update':function(_0x4b0957){const _0x3e55e0=_0x2c08fa;return this[_0x3e55e0(0x599)](_0x4b0957),this['_process'](),this;},'finalize':function(_0x3b0a06){const _0x467f13=_0x2c08fa;_0x3b0a06&&this[_0x467f13(0x599)](_0x3b0a06);var _0x4a6ce7=this['_doFinalize']();return _0x4a6ce7;},'blockSize':0x10,'_createHelper':function(_0x36d926){return function(_0x75c18,_0x42daa8){const _0x5219f3=_0x3f43;return new _0x36d926[(_0x5219f3(0x1fe))](_0x42daa8)[_0x5219f3(0x35a)](_0x75c18);};},'_createHmacHelper':function(_0x28f714){return function(_0x3d0294,_0x485595){const _0x392daa=_0x3f43;return new _0x3f09fb['HMAC']['init'](_0x28f714,_0x485595)[_0x392daa(0x35a)](_0x3d0294);};}});var _0x3f09fb=_0x49e38f[_0x2c08fa(0x296)]={};return _0x49e38f;}(Math);return _0x1421a5;}));}(We)),We['exports'];}var Fe={'exports':{}},ps=Fe[_0x519f42(0x495)],ti;function ji(){const _0x5f4f8f=_0x519f42;return ti||(ti=0x1,function(_0x54aee7,_0xfd7277){(function(_0x1d64fb,_0x554356){_0x54aee7['exports']=_0x554356(se());}(ps,function(_0x5e21fa){const _0x28b4c4=_0x3f43;return(function(){const _0x52f400=_0x3f43;var _0x4719d3=_0x5e21fa,_0x3f9db=_0x4719d3[_0x52f400(0x3d6)],_0x1b1a36=_0x3f9db[_0x52f400(0x17b)],_0x540e7a=_0x4719d3['enc'];_0x540e7a['Base64']={'stringify':function(_0x217609){const _0x1b2dfd=_0x52f400;var _0x4f326e=_0x217609[_0x1b2dfd(0x1b9)],_0x1ab9cb=_0x217609[_0x1b2dfd(0x386)],_0x351b19=this[_0x1b2dfd(0x219)];_0x217609[_0x1b2dfd(0x5d4)]();for(var _0x943ed8=[],_0x1e4117=0x0;_0x1e4117<_0x1ab9cb;_0x1e4117+=0x3)for(var _0x3ea405=_0x4f326e[_0x1e4117>>>0x2]>>>0x18-_0x1e4117%0x4*0x8&0xff,_0x1827c1=_0x4f326e[_0x1e4117+0x1>>>0x2]>>>0x18-(_0x1e4117+0x1)%0x4*0x8&0xff,_0x475725=_0x4f326e[_0x1e4117+0x2>>>0x2]>>>0x18-(_0x1e4117+0x2)%0x4*0x8&0xff,_0x8622cd=_0x3ea405<<0x10|_0x1827c1<<0x8|_0x475725,_0x5a6890=0x0;_0x5a6890<0x4&&_0x1e4117+_0x5a6890*0.75<_0x1ab9cb;_0x5a6890++)_0x943ed8[_0x1b2dfd(0x205)](_0x351b19['charAt'](_0x8622cd>>>0x6*(0x3-_0x5a6890)&0x3f));var _0x40930e=_0x351b19[_0x1b2dfd(0x2d4)](0x40);if(_0x40930e){for(;_0x943ed8['length']%0x4;)_0x943ed8[_0x1b2dfd(0x205)](_0x40930e);}return _0x943ed8[_0x1b2dfd(0x3b7)]('');},'parse':function(_0x1696d9){const _0x2cfd2a=_0x52f400;var _0x241ad4=_0x1696d9[_0x2cfd2a(0x53a)],_0x39a5d7=this['_map'],_0x54bffe=this[_0x2cfd2a(0x3a0)];if(!_0x54bffe){_0x54bffe=this[_0x2cfd2a(0x3a0)]=[];for(var _0x14608a=0x0;_0x14608a<_0x39a5d7[_0x2cfd2a(0x53a)];_0x14608a++)_0x54bffe[_0x39a5d7[_0x2cfd2a(0x1fa)](_0x14608a)]=_0x14608a;}var _0x39142f=_0x39a5d7[_0x2cfd2a(0x2d4)](0x40);if(_0x39142f){var _0x4eac12=_0x1696d9[_0x2cfd2a(0x61f)](_0x39142f);_0x4eac12!==-0x1&&(_0x241ad4=_0x4eac12);}return _0x1795d1(_0x1696d9,_0x241ad4,_0x54bffe);},'_map':_0x52f400(0x3f7)};function _0x1795d1(_0x39d7af,_0x5d0f91,_0x3e18d5){const _0x5c240a=_0x52f400;for(var _0x324f0e=[],_0x43fb0f=0x0,_0x14f4ef=0x0;_0x14f4ef<_0x5d0f91;_0x14f4ef++)if(_0x14f4ef%0x4){var _0x52808d=_0x3e18d5[_0x39d7af[_0x5c240a(0x1fa)](_0x14f4ef-0x1)]<<_0x14f4ef%0x4*0x2,_0x431ab2=_0x3e18d5[_0x39d7af[_0x5c240a(0x1fa)](_0x14f4ef)]>>>0x6-_0x14f4ef%0x4*0x2,_0x2ff370=_0x52808d|_0x431ab2;_0x324f0e[_0x43fb0f>>>0x2]|=_0x2ff370<<0x18-_0x43fb0f%0x4*0x8,_0x43fb0f++;}return _0x1b1a36[_0x5c240a(0x282)](_0x324f0e,_0x43fb0f);}}()),_0x5e21fa[_0x28b4c4(0x333)][_0x28b4c4(0x218)];}));}(Fe)),Fe[_0x5f4f8f(0x495)];}var Ve={'exports':{}},ms=Ve[_0x519f42(0x495)],ii;function gs(){const _0x3b7f1a=_0x519f42;return ii||(ii=0x1,function(_0x158d47,_0x2ab385){(function(_0x22e433,_0x6e572c){const _0x382413=_0x3f43;_0x158d47[_0x382413(0x495)]=_0x6e572c(se());}(ms,function(_0x3da9ab){return function(_0x1626a5){const _0x5e9546=_0x3f43;var _0x198483=_0x3da9ab,_0x3e44d7=_0x198483['lib'],_0x59614a=_0x3e44d7[_0x5e9546(0x17b)],_0x58122d=_0x3e44d7[_0x5e9546(0x2bb)],_0x35a60e=_0x198483[_0x5e9546(0x296)],_0xec0bea=[];(function(){const _0x20c6dc=_0x5e9546;for(var _0x146e7a=0x0;_0x146e7a<0x40;_0x146e7a++)_0xec0bea[_0x146e7a]=_0x1626a5[_0x20c6dc(0x44e)](_0x1626a5[_0x20c6dc(0x5e3)](_0x146e7a+0x1))*0x100000000|0x0;}());var _0x7e3df6=_0x35a60e[_0x5e9546(0x23c)]=_0x58122d[_0x5e9546(0x5f5)]({'_doReset':function(){const _0x5d30fc=_0x5e9546;this[_0x5d30fc(0x301)]=new _0x59614a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xeeab48,_0x2f8b12){const _0x4e062c=_0x5e9546;for(var _0x43b04a=0x0;_0x43b04a<0x10;_0x43b04a++){var _0x1693a9=_0x2f8b12+_0x43b04a,_0x460d90=_0xeeab48[_0x1693a9];_0xeeab48[_0x1693a9]=(_0x460d90<<0x8|_0x460d90>>>0x18)&0xff00ff|(_0x460d90<<0x18|_0x460d90>>>0x8)&0xff00ff00;}var _0x31e687=this[_0x4e062c(0x301)][_0x4e062c(0x1b9)],_0x1bfa5e=_0xeeab48[_0x2f8b12+0x0],_0x4db2da=_0xeeab48[_0x2f8b12+0x1],_0x55785f=_0xeeab48[_0x2f8b12+0x2],_0x2162da=_0xeeab48[_0x2f8b12+0x3],_0x400556=_0xeeab48[_0x2f8b12+0x4],_0x3f4ff0=_0xeeab48[_0x2f8b12+0x5],_0x3ee254=_0xeeab48[_0x2f8b12+0x6],_0x225a7c=_0xeeab48[_0x2f8b12+0x7],_0x1326fc=_0xeeab48[_0x2f8b12+0x8],_0x175c6b=_0xeeab48[_0x2f8b12+0x9],_0x327f62=_0xeeab48[_0x2f8b12+0xa],_0x12a837=_0xeeab48[_0x2f8b12+0xb],_0x29cbcd=_0xeeab48[_0x2f8b12+0xc],_0x3cf200=_0xeeab48[_0x2f8b12+0xd],_0x1cc496=_0xeeab48[_0x2f8b12+0xe],_0x29ef8d=_0xeeab48[_0x2f8b12+0xf],_0x527115=_0x31e687[0x0],_0x2ea759=_0x31e687[0x1],_0x1666ec=_0x31e687[0x2],_0x256982=_0x31e687[0x3];_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1bfa5e,0x7,_0xec0bea[0x0]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x4db2da,0xc,_0xec0bea[0x1]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x55785f,0x11,_0xec0bea[0x2]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x2162da,0x16,_0xec0bea[0x3]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x400556,0x7,_0xec0bea[0x4]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3f4ff0,0xc,_0xec0bea[0x5]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x3ee254,0x11,_0xec0bea[0x6]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x225a7c,0x16,_0xec0bea[0x7]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1326fc,0x7,_0xec0bea[0x8]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x175c6b,0xc,_0xec0bea[0x9]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x327f62,0x11,_0xec0bea[0xa]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x12a837,0x16,_0xec0bea[0xb]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x29cbcd,0x7,_0xec0bea[0xc]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3cf200,0xc,_0xec0bea[0xd]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x1cc496,0x11,_0xec0bea[0xe]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x29ef8d,0x16,_0xec0bea[0xf]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x4db2da,0x5,_0xec0bea[0x10]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3ee254,0x9,_0xec0bea[0x11]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x12a837,0xe,_0xec0bea[0x12]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1bfa5e,0x14,_0xec0bea[0x13]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3f4ff0,0x5,_0xec0bea[0x14]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x327f62,0x9,_0xec0bea[0x15]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x29ef8d,0xe,_0xec0bea[0x16]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x400556,0x14,_0xec0bea[0x17]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x175c6b,0x5,_0xec0bea[0x18]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1cc496,0x9,_0xec0bea[0x19]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x2162da,0xe,_0xec0bea[0x1a]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1326fc,0x14,_0xec0bea[0x1b]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3cf200,0x5,_0xec0bea[0x1c]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x55785f,0x9,_0xec0bea[0x1d]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x225a7c,0xe,_0xec0bea[0x1e]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x29cbcd,0x14,_0xec0bea[0x1f]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3f4ff0,0x4,_0xec0bea[0x20]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1326fc,0xb,_0xec0bea[0x21]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x12a837,0x10,_0xec0bea[0x22]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1cc496,0x17,_0xec0bea[0x23]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x4db2da,0x4,_0xec0bea[0x24]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x400556,0xb,_0xec0bea[0x25]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x225a7c,0x10,_0xec0bea[0x26]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x327f62,0x17,_0xec0bea[0x27]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3cf200,0x4,_0xec0bea[0x28]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1bfa5e,0xb,_0xec0bea[0x29]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x2162da,0x10,_0xec0bea[0x2a]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3ee254,0x17,_0xec0bea[0x2b]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x175c6b,0x4,_0xec0bea[0x2c]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x29cbcd,0xb,_0xec0bea[0x2d]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x29ef8d,0x10,_0xec0bea[0x2e]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x55785f,0x17,_0xec0bea[0x2f]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1bfa5e,0x6,_0xec0bea[0x30]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x225a7c,0xa,_0xec0bea[0x31]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x1cc496,0xf,_0xec0bea[0x32]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3f4ff0,0x15,_0xec0bea[0x33]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x29cbcd,0x6,_0xec0bea[0x34]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x2162da,0xa,_0xec0bea[0x35]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x327f62,0xf,_0xec0bea[0x36]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x4db2da,0x15,_0xec0bea[0x37]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1326fc,0x6,_0xec0bea[0x38]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x29ef8d,0xa,_0xec0bea[0x39]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x3ee254,0xf,_0xec0bea[0x3a]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3cf200,0x15,_0xec0bea[0x3b]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x400556,0x6,_0xec0bea[0x3c]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x12a837,0xa,_0xec0bea[0x3d]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x55785f,0xf,_0xec0bea[0x3e]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x175c6b,0x15,_0xec0bea[0x3f]),_0x31e687[0x0]=_0x31e687[0x0]+_0x527115|0x0,_0x31e687[0x1]=_0x31e687[0x1]+_0x2ea759|0x0,_0x31e687[0x2]=_0x31e687[0x2]+_0x1666ec|0x0,_0x31e687[0x3]=_0x31e687[0x3]+_0x256982|0x0;},'_doFinalize':function(){const _0x26f5fd=_0x5e9546;var _0x3b1af1=this['_data'],_0x573a27=_0x3b1af1['words'],_0x643fb7=this[_0x26f5fd(0x2c4)]*0x8,_0x4b0dc6=_0x3b1af1[_0x26f5fd(0x386)]*0x8;_0x573a27[_0x4b0dc6>>>0x5]|=0x80<<0x18-_0x4b0dc6%0x20;var _0x466cb9=_0x1626a5[_0x26f5fd(0x4e0)](_0x643fb7/0x100000000),_0x61b6ad=_0x643fb7;_0x573a27[(_0x4b0dc6+0x40>>>0x9<<0x4)+0xf]=(_0x466cb9<<0x8|_0x466cb9>>>0x18)&0xff00ff|(_0x466cb9<<0x18|_0x466cb9>>>0x8)&0xff00ff00,_0x573a27[(_0x4b0dc6+0x40>>>0x9<<0x4)+0xe]=(_0x61b6ad<<0x8|_0x61b6ad>>>0x18)&0xff00ff|(_0x61b6ad<<0x18|_0x61b6ad>>>0x8)&0xff00ff00,_0x3b1af1['sigBytes']=(_0x573a27[_0x26f5fd(0x53a)]+0x1)*0x4,this[_0x26f5fd(0x5e6)]();for(var _0x47339e=this[_0x26f5fd(0x301)],_0xdaa9fa=_0x47339e[_0x26f5fd(0x1b9)],_0x5cd3c2=0x0;_0x5cd3c2<0x4;_0x5cd3c2++){var _0x221c20=_0xdaa9fa[_0x5cd3c2];_0xdaa9fa[_0x5cd3c2]=(_0x221c20<<0x8|_0x221c20>>>0x18)&0xff00ff|(_0x221c20<<0x18|_0x221c20>>>0x8)&0xff00ff00;}return _0x47339e;},'clone':function(){const _0x5946da=_0x5e9546;var _0x1f20a9=_0x58122d[_0x5946da(0x1ce)][_0x5946da(0x3bb)](this);return _0x1f20a9[_0x5946da(0x301)]=this[_0x5946da(0x301)][_0x5946da(0x1ce)](),_0x1f20a9;}});function _0x593785(_0x17090c,_0x251045,_0x47721b,_0x4b42ce,_0x4599a9,_0x1caeef,_0x10254c){var _0x477960=_0x17090c+(_0x251045&_0x47721b|~_0x251045&_0x4b42ce)+_0x4599a9+_0x10254c;return(_0x477960<<_0x1caeef|_0x477960>>>0x20-_0x1caeef)+_0x251045;}function _0x1ae4b3(_0x55fa03,_0x3f8495,_0x22ebb2,_0x496425,_0x44d8de,_0x3a6b1d,_0x4a6a75){var _0x3b05a9=_0x55fa03+(_0x3f8495&_0x496425|_0x22ebb2&~_0x496425)+_0x44d8de+_0x4a6a75;return(_0x3b05a9<<_0x3a6b1d|_0x3b05a9>>>0x20-_0x3a6b1d)+_0x3f8495;}function _0x15ab18(_0x3e6b95,_0xb99817,_0x48a2d1,_0x1f6258,_0x12f9a9,_0x15b7a,_0x132503){var _0x139a70=_0x3e6b95+(_0xb99817^_0x48a2d1^_0x1f6258)+_0x12f9a9+_0x132503;return(_0x139a70<<_0x15b7a|_0x139a70>>>0x20-_0x15b7a)+_0xb99817;}function _0x19eb9f(_0x4edebb,_0x45ccea,_0x2832af,_0x5d5522,_0x568899,_0x51196f,_0x52c477){var _0x2ef04c=_0x4edebb+(_0x2832af^(_0x45ccea|~_0x5d5522))+_0x568899+_0x52c477;return(_0x2ef04c<<_0x51196f|_0x2ef04c>>>0x20-_0x51196f)+_0x45ccea;}_0x198483[_0x5e9546(0x23c)]=_0x58122d['_createHelper'](_0x7e3df6),_0x198483['HmacMD5']=_0x58122d['_createHmacHelper'](_0x7e3df6);}(Math),_0x3da9ab['MD5'];}));}(Ve)),Ve[_0x3b7f1a(0x495)];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye['exports'],ni;function Cs(){const _0xfa2fb0=_0x519f42;return ni||(ni=0x1,function(_0x269a46,_0xab3843){(function(_0x53ed41,_0x3f8fb3){const _0xd28957=_0x3f43;_0x269a46[_0xd28957(0x495)]=_0x3f8fb3(se());}(Is,function(_0x5472a4){const _0x8dd7d6=_0x3f43;return(function(){const _0x2d9eff=_0x3f43;var _0x142391=_0x5472a4,_0x5ae72c=_0x142391[_0x2d9eff(0x3d6)],_0x5cce83=_0x5ae72c[_0x2d9eff(0x17b)],_0x504ee9=_0x5ae72c[_0x2d9eff(0x2bb)],_0x32f2eb=_0x142391[_0x2d9eff(0x296)],_0x29a46e=[],_0x95473d=_0x32f2eb[_0x2d9eff(0x42e)]=_0x504ee9[_0x2d9eff(0x5f5)]({'_doReset':function(){const _0x7642ec=_0x2d9eff;this[_0x7642ec(0x301)]=new _0x5cce83[(_0x7642ec(0x1fe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x113ad1,_0x5ace4f){const _0x4230cd=_0x2d9eff;for(var _0x44089e=this['_hash'][_0x4230cd(0x1b9)],_0x178336=_0x44089e[0x0],_0x499ed1=_0x44089e[0x1],_0x56c585=_0x44089e[0x2],_0x1df6d0=_0x44089e[0x3],_0x2b8458=_0x44089e[0x4],_0x4daeb4=0x0;_0x4daeb4<0x50;_0x4daeb4++){if(_0x4daeb4<0x10)_0x29a46e[_0x4daeb4]=_0x113ad1[_0x5ace4f+_0x4daeb4]|0x0;else{var _0x5121c=_0x29a46e[_0x4daeb4-0x3]^_0x29a46e[_0x4daeb4-0x8]^_0x29a46e[_0x4daeb4-0xe]^_0x29a46e[_0x4daeb4-0x10];_0x29a46e[_0x4daeb4]=_0x5121c<<0x1|_0x5121c>>>0x1f;}var _0x92a539=(_0x178336<<0x5|_0x178336>>>0x1b)+_0x2b8458+_0x29a46e[_0x4daeb4];_0x4daeb4<0x14?_0x92a539+=(_0x499ed1&_0x56c585|~_0x499ed1&_0x1df6d0)+0x5a827999:_0x4daeb4<0x28?_0x92a539+=(_0x499ed1^_0x56c585^_0x1df6d0)+0x6ed9eba1:_0x4daeb4<0x3c?_0x92a539+=(_0x499ed1&_0x56c585|_0x499ed1&_0x1df6d0|_0x56c585&_0x1df6d0)-0x70e44324:_0x92a539+=(_0x499ed1^_0x56c585^_0x1df6d0)-0x359d3e2a,_0x2b8458=_0x1df6d0,_0x1df6d0=_0x56c585,_0x56c585=_0x499ed1<<0x1e|_0x499ed1>>>0x2,_0x499ed1=_0x178336,_0x178336=_0x92a539;}_0x44089e[0x0]=_0x44089e[0x0]+_0x178336|0x0,_0x44089e[0x1]=_0x44089e[0x1]+_0x499ed1|0x0,_0x44089e[0x2]=_0x44089e[0x2]+_0x56c585|0x0,_0x44089e[0x3]=_0x44089e[0x3]+_0x1df6d0|0x0,_0x44089e[0x4]=_0x44089e[0x4]+_0x2b8458|0x0;},'_doFinalize':function(){const _0x3c98b0=_0x2d9eff;var _0x397a55=this[_0x3c98b0(0x5f3)],_0x10a3ad=_0x397a55[_0x3c98b0(0x1b9)],_0x2b2f6f=this[_0x3c98b0(0x2c4)]*0x8,_0x5e518c=_0x397a55[_0x3c98b0(0x386)]*0x8;return _0x10a3ad[_0x5e518c>>>0x5]|=0x80<<0x18-_0x5e518c%0x20,_0x10a3ad[(_0x5e518c+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c98b0(0x4e0)](_0x2b2f6f/0x100000000),_0x10a3ad[(_0x5e518c+0x40>>>0x9<<0x4)+0xf]=_0x2b2f6f,_0x397a55['sigBytes']=_0x10a3ad['length']*0x4,this[_0x3c98b0(0x5e6)](),this['_hash'];},'clone':function(){const _0x251ce2=_0x2d9eff;var _0x4a21cc=_0x504ee9[_0x251ce2(0x1ce)]['call'](this);return _0x4a21cc['_hash']=this[_0x251ce2(0x301)]['clone'](),_0x4a21cc;}});_0x142391[_0x2d9eff(0x42e)]=_0x504ee9['_createHelper'](_0x95473d),_0x142391[_0x2d9eff(0x57e)]=_0x504ee9[_0x2d9eff(0x5e5)](_0x95473d);}()),_0x5472a4[_0x8dd7d6(0x42e)];}));}(Ye)),Ye[_0xfa2fb0(0x495)];}var qe={'exports':{}},Es=qe[_0x519f42(0x495)],ri;function bs(){const _0x4ddcb2=_0x519f42;return ri||(ri=0x1,function(_0x41fa42,_0x3a236f){(function(_0x3836f9,_0x455813){const _0x33c715=_0x3f43;_0x41fa42[_0x33c715(0x495)]=_0x455813(se());}(Es,function(_0x49995c){(function(){const _0x6c8dfe=_0x3f43;var _0x3455c2=_0x49995c,_0x5d2cc1=_0x3455c2[_0x6c8dfe(0x3d6)],_0x363dbf=_0x5d2cc1['Base'],_0x28edd9=_0x3455c2[_0x6c8dfe(0x333)],_0x2925c0=_0x28edd9[_0x6c8dfe(0x4a5)],_0x1aea82=_0x3455c2[_0x6c8dfe(0x296)];_0x1aea82[_0x6c8dfe(0x402)]=_0x363dbf[_0x6c8dfe(0x5f5)]({'init':function(_0x108e47,_0x586311){const _0x3ec7b7=_0x6c8dfe;_0x108e47=this[_0x3ec7b7(0x2d7)]=new _0x108e47['init'](),typeof _0x586311==_0x3ec7b7(0x32b)&&(_0x586311=_0x2925c0[_0x3ec7b7(0x2f6)](_0x586311));var _0xc3e512=_0x108e47[_0x3ec7b7(0x337)],_0x4a0d66=_0xc3e512*0x4;_0x586311['sigBytes']>_0x4a0d66&&(_0x586311=_0x108e47[_0x3ec7b7(0x35a)](_0x586311)),_0x586311[_0x3ec7b7(0x5d4)]();for(var _0x43af6e=this[_0x3ec7b7(0x43d)]=_0x586311['clone'](),_0x499d0f=this['_iKey']=_0x586311['clone'](),_0x967755=_0x43af6e['words'],_0x41d451=_0x499d0f[_0x3ec7b7(0x1b9)],_0x38f9c6=0x0;_0x38f9c6<_0xc3e512;_0x38f9c6++)_0x967755[_0x38f9c6]^=0x5c5c5c5c,_0x41d451[_0x38f9c6]^=0x36363636;_0x43af6e[_0x3ec7b7(0x386)]=_0x499d0f['sigBytes']=_0x4a0d66,this[_0x3ec7b7(0x414)]();},'reset':function(){const _0x4a5196=_0x6c8dfe;var _0xa8346a=this[_0x4a5196(0x2d7)];_0xa8346a[_0x4a5196(0x414)](),_0xa8346a[_0x4a5196(0x182)](this[_0x4a5196(0x4fa)]);},'update':function(_0x37e4af){const _0x3d4c38=_0x6c8dfe;return this[_0x3d4c38(0x2d7)][_0x3d4c38(0x182)](_0x37e4af),this;},'finalize':function(_0x59b5e4){const _0x2f9a1a=_0x6c8dfe;var _0x3fa89f=this[_0x2f9a1a(0x2d7)],_0x56fe99=_0x3fa89f[_0x2f9a1a(0x35a)](_0x59b5e4);_0x3fa89f[_0x2f9a1a(0x414)]();var _0x578872=_0x3fa89f[_0x2f9a1a(0x35a)](this['_oKey']['clone']()[_0x2f9a1a(0x538)](_0x56fe99));return _0x578872;}});}());}));}(qe)),qe[_0x4ddcb2(0x495)];}var Ts=Ge[_0x519f42(0x495)],si;function Hi(){const _0x27e8f4=_0x519f42;return si||(si=0x1,function(_0x2c832b,_0xbac0b6){(function(_0x486c0c,_0x436183,_0x1f147a){const _0x3034db=_0x3f43;_0x2c832b[_0x3034db(0x495)]=_0x436183(se(),Cs(),bs());}(Ts,function(_0x126a04){return(function(){const _0x1ac2cc=_0x3f43;var _0x4bb920=_0x126a04,_0x26e700=_0x4bb920['lib'],_0x29ef5e=_0x26e700[_0x1ac2cc(0x603)],_0x40a167=_0x26e700[_0x1ac2cc(0x17b)],_0x252b1f=_0x4bb920[_0x1ac2cc(0x296)],_0x769a0c=_0x252b1f[_0x1ac2cc(0x23c)],_0xa607ed=_0x252b1f[_0x1ac2cc(0x64a)]=_0x29ef5e[_0x1ac2cc(0x5f5)]({'cfg':_0x29ef5e['extend']({'keySize':0x80/0x20,'hasher':_0x769a0c,'iterations':0x1}),'init':function(_0x1b1d46){const _0x14fe2d=_0x1ac2cc;this[_0x14fe2d(0x2b0)]=this['cfg'][_0x14fe2d(0x5f5)](_0x1b1d46);},'compute':function(_0x21255b,_0x54f911){const _0x50e060=_0x1ac2cc;for(var _0x968d97,_0x498493=this[_0x50e060(0x2b0)],_0x20cd82=_0x498493[_0x50e060(0x5d2)][_0x50e060(0x282)](),_0x52378d=_0x40a167[_0x50e060(0x282)](),_0x28c484=_0x52378d[_0x50e060(0x1b9)],_0x2c0c45=_0x498493[_0x50e060(0x1bc)],_0x344c41=_0x498493[_0x50e060(0x1b3)];_0x28c484[_0x50e060(0x53a)]<_0x2c0c45;){_0x968d97&&_0x20cd82['update'](_0x968d97),_0x968d97=_0x20cd82[_0x50e060(0x182)](_0x21255b)[_0x50e060(0x35a)](_0x54f911),_0x20cd82['reset']();for(var _0x49adc0=0x1;_0x49adc0<_0x344c41;_0x49adc0++)_0x968d97=_0x20cd82['finalize'](_0x968d97),_0x20cd82[_0x50e060(0x414)]();_0x52378d[_0x50e060(0x538)](_0x968d97);}return _0x52378d[_0x50e060(0x386)]=_0x2c0c45*0x4,_0x52378d;}});_0x4bb920[_0x1ac2cc(0x64a)]=function(_0x12f5bc,_0x3ed2a3,_0x5883d8){const _0x2ab374=_0x1ac2cc;return _0xa607ed[_0x2ab374(0x282)](_0x5883d8)[_0x2ab374(0x622)](_0x12f5bc,_0x3ed2a3);};}()),_0x126a04['EvpKDF'];}));}(Ge)),Ge[_0x27e8f4(0x495)];}var Ke={'exports':{}},Rs=Ke[_0x519f42(0x495)],oi;function Bi(){return oi||(oi=0x1,function(_0x3ab902,_0x34dbeb){(function(_0x815432,_0x1cb38e,_0x47d487){const _0x4c0a0f=_0x3f43;_0x3ab902[_0x4c0a0f(0x495)]=_0x1cb38e(se(),Hi());}(Rs,function(_0x56bf7c){const _0x5340b0=_0x3f43;_0x56bf7c[_0x5340b0(0x3d6)]['Cipher']||function(_0x5594ef){const _0x3ee83a=_0x5340b0;var _0x1111eb=_0x56bf7c,_0x463996=_0x1111eb[_0x3ee83a(0x3d6)],_0x599053=_0x463996[_0x3ee83a(0x603)],_0x5d76d6=_0x463996['WordArray'],_0x985ebb=_0x463996[_0x3ee83a(0x4bb)],_0x562754=_0x1111eb[_0x3ee83a(0x333)];_0x562754['Utf8'];var _0x153f91=_0x562754[_0x3ee83a(0x218)],_0x380ee9=_0x1111eb[_0x3ee83a(0x296)],_0x49f8b5=_0x380ee9[_0x3ee83a(0x64a)],_0x152cb3=_0x463996[_0x3ee83a(0x30b)]=_0x985ebb[_0x3ee83a(0x5f5)]({'cfg':_0x599053[_0x3ee83a(0x5f5)](),'createEncryptor':function(_0x5d9c48,_0x42799){const _0x2bb721=_0x3ee83a;return this[_0x2bb721(0x282)](this[_0x2bb721(0x451)],_0x5d9c48,_0x42799);},'createDecryptor':function(_0x1580d3,_0x1d7348){const _0x3b7d9e=_0x3ee83a;return this['create'](this[_0x3b7d9e(0x4fe)],_0x1580d3,_0x1d7348);},'init':function(_0x2f4f59,_0x47dbd8,_0x130650){const _0x170784=_0x3ee83a;this[_0x170784(0x2b0)]=this['cfg']['extend'](_0x130650),this[_0x170784(0x2fc)]=_0x2f4f59,this[_0x170784(0x2f2)]=_0x47dbd8,this[_0x170784(0x414)]();},'reset':function(){const _0xda853b=_0x3ee83a;_0x985ebb[_0xda853b(0x414)][_0xda853b(0x3bb)](this),this[_0xda853b(0x2c2)]();},'process':function(_0x576889){const _0xc6f704=_0x3ee83a;return this['_append'](_0x576889),this[_0xc6f704(0x5e6)]();},'finalize':function(_0xc2351){const _0x89db0b=_0x3ee83a;_0xc2351&&this['_append'](_0xc2351);var _0x1b484e=this[_0x89db0b(0x4a4)]();return _0x1b484e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x278ee5(_0x455dc9){const _0x56edc2=_0x3f43;return typeof _0x455dc9==_0x56edc2(0x32b)?_0x452083:_0x4e68df;}return function(_0x3cc1cb){return{'encrypt':function(_0x114ad0,_0x9f2ab7,_0x43850c){const _0x1a84f7=_0x3f43;return _0x278ee5(_0x9f2ab7)[_0x1a84f7(0x2e3)](_0x3cc1cb,_0x114ad0,_0x9f2ab7,_0x43850c);},'decrypt':function(_0x303bf7,_0x165f65,_0x4eb68c){const _0x4c347e=_0x3f43;return _0x278ee5(_0x165f65)[_0x4c347e(0x45e)](_0x3cc1cb,_0x303bf7,_0x165f65,_0x4eb68c);}};};}())});_0x463996[_0x3ee83a(0x4ec)]=_0x152cb3[_0x3ee83a(0x5f5)]({'_doFinalize':function(){var _0x409601=this['_process'](!0x0);return _0x409601;},'blockSize':0x1});var _0x41ed50=_0x1111eb[_0x3ee83a(0x478)]={},_0x4cda54=_0x463996[_0x3ee83a(0x3c6)]=_0x599053['extend']({'createEncryptor':function(_0x2aa6e6,_0x3d3516){const _0x296e78=_0x3ee83a;return this[_0x296e78(0x548)]['create'](_0x2aa6e6,_0x3d3516);},'createDecryptor':function(_0x1ef170,_0x2e1e1c){const _0x5d6045=_0x3ee83a;return this['Decryptor'][_0x5d6045(0x282)](_0x1ef170,_0x2e1e1c);},'init':function(_0x54129e,_0xa18900){const _0x4d2923=_0x3ee83a;this[_0x4d2923(0x2de)]=_0x54129e,this[_0x4d2923(0x569)]=_0xa18900;}}),_0x1822e1=_0x41ed50[_0x3ee83a(0x3af)]=(function(){const _0x16db93=_0x3ee83a;var _0x4753fa=_0x4cda54[_0x16db93(0x5f5)]();_0x4753fa[_0x16db93(0x548)]=_0x4753fa['extend']({'processBlock':function(_0x5a7d9b,_0x11d333){const _0x28f113=_0x16db93;var _0x4b192f=this[_0x28f113(0x2de)],_0x14fe46=_0x4b192f[_0x28f113(0x337)];_0x5877e4['call'](this,_0x5a7d9b,_0x11d333,_0x14fe46),_0x4b192f[_0x28f113(0x58c)](_0x5a7d9b,_0x11d333),this[_0x28f113(0x1e5)]=_0x5a7d9b[_0x28f113(0x428)](_0x11d333,_0x11d333+_0x14fe46);}}),_0x4753fa[_0x16db93(0x3ad)]=_0x4753fa[_0x16db93(0x5f5)]({'processBlock':function(_0x23aab1,_0x3b21b6){const _0x15ed2e=_0x16db93;var _0x15edca=this[_0x15ed2e(0x2de)],_0x199ff2=_0x15edca[_0x15ed2e(0x337)],_0x36f0e9=_0x23aab1[_0x15ed2e(0x428)](_0x3b21b6,_0x3b21b6+_0x199ff2);_0x15edca['decryptBlock'](_0x23aab1,_0x3b21b6),_0x5877e4[_0x15ed2e(0x3bb)](this,_0x23aab1,_0x3b21b6,_0x199ff2),this['_prevBlock']=_0x36f0e9;}});function _0x5877e4(_0x5e0b38,_0x42b965,_0x2702e8){const _0x53b2c4=_0x16db93;var _0x115090,_0x5e5dae=this[_0x53b2c4(0x569)];_0x5e5dae?(_0x115090=_0x5e5dae,this['_iv']=_0x5594ef):_0x115090=this[_0x53b2c4(0x1e5)];for(var _0x198ed9=0x0;_0x198ed9<_0x2702e8;_0x198ed9++)_0x5e0b38[_0x42b965+_0x198ed9]^=_0x115090[_0x198ed9];}return _0x4753fa;}()),_0x10d4be=_0x1111eb[_0x3ee83a(0x49e)]={},_0x1be3e3=_0x10d4be[_0x3ee83a(0x413)]={'pad':function(_0x1d8621,_0x48bc12){const _0xc67cce=_0x3ee83a;for(var _0x5ebeb7=_0x48bc12*0x4,_0xaa1a=_0x5ebeb7-_0x1d8621['sigBytes']%_0x5ebeb7,_0x5e7b6b=_0xaa1a<<0x18|_0xaa1a<<0x10|_0xaa1a<<0x8|_0xaa1a,_0x401725=[],_0x4a41e6=0x0;_0x4a41e6<_0xaa1a;_0x4a41e6+=0x4)_0x401725['push'](_0x5e7b6b);var _0x31fccb=_0x5d76d6[_0xc67cce(0x282)](_0x401725,_0xaa1a);_0x1d8621['concat'](_0x31fccb);},'unpad':function(_0x32aa2f){const _0x24e2cb=_0x3ee83a;var _0x155b23=_0x32aa2f[_0x24e2cb(0x1b9)][_0x32aa2f[_0x24e2cb(0x386)]-0x1>>>0x2]&0xff;_0x32aa2f[_0x24e2cb(0x386)]-=_0x155b23;}};_0x463996[_0x3ee83a(0x454)]=_0x152cb3[_0x3ee83a(0x5f5)]({'cfg':_0x152cb3['cfg'][_0x3ee83a(0x5f5)]({'mode':_0x1822e1,'padding':_0x1be3e3}),'reset':function(){const _0x4fa8d9=_0x3ee83a;var _0x4fac27;_0x152cb3[_0x4fa8d9(0x414)][_0x4fa8d9(0x3bb)](this);var _0x219623=this[_0x4fa8d9(0x2b0)],_0x1d5f9c=_0x219623['iv'],_0x3bbbb3=_0x219623[_0x4fa8d9(0x478)];this['_xformMode']==this[_0x4fa8d9(0x451)]?_0x4fac27=_0x3bbbb3[_0x4fa8d9(0x431)]:(_0x4fac27=_0x3bbbb3[_0x4fa8d9(0x4dd)],this[_0x4fa8d9(0x1ab)]=0x1),this[_0x4fa8d9(0x560)]&&this['_mode'][_0x4fa8d9(0x3fd)]==_0x4fac27?this['_mode'][_0x4fa8d9(0x1fe)](this,_0x1d5f9c&&_0x1d5f9c['words']):(this['_mode']=_0x4fac27[_0x4fa8d9(0x3bb)](_0x3bbbb3,this,_0x1d5f9c&&_0x1d5f9c[_0x4fa8d9(0x1b9)]),this[_0x4fa8d9(0x560)]['__creator']=_0x4fac27);},'_doProcessBlock':function(_0x20dc26,_0xee3458){const _0xf4490d=_0x3ee83a;this[_0xf4490d(0x560)][_0xf4490d(0x2be)](_0x20dc26,_0xee3458);},'_doFinalize':function(){const _0x41e48c=_0x3ee83a;var _0xeddbd6,_0x3c066c=this[_0x41e48c(0x2b0)][_0x41e48c(0x2ae)];return this[_0x41e48c(0x2fc)]==this[_0x41e48c(0x451)]?(_0x3c066c[_0x41e48c(0x49e)](this['_data'],this[_0x41e48c(0x337)]),_0xeddbd6=this['_process'](!0x0)):(_0xeddbd6=this[_0x41e48c(0x5e6)](!0x0),_0x3c066c['unpad'](_0xeddbd6)),_0xeddbd6;},'blockSize':0x80/0x20});var _0x1866bb=_0x463996[_0x3ee83a(0x22b)]=_0x599053[_0x3ee83a(0x5f5)]({'init':function(_0x33e8ab){const _0x497f71=_0x3ee83a;this[_0x497f71(0x391)](_0x33e8ab);},'toString':function(_0x10a0e7){const _0x2a707b=_0x3ee83a;return(_0x10a0e7||this[_0x2a707b(0x2ee)])[_0x2a707b(0x648)](this);}}),_0x180d47=_0x1111eb[_0x3ee83a(0x22c)]={},_0x285b41=_0x180d47['OpenSSL']={'stringify':function(_0x50d99c){const _0x5c4a26=_0x3ee83a;var _0x3eaa58,_0x27a67d=_0x50d99c[_0x5c4a26(0x427)],_0x5f118e=_0x50d99c[_0x5c4a26(0x464)];return _0x5f118e?_0x3eaa58=_0x5d76d6['create']([0x53616c74,0x65645f5f])[_0x5c4a26(0x538)](_0x5f118e)[_0x5c4a26(0x538)](_0x27a67d):_0x3eaa58=_0x27a67d,_0x3eaa58[_0x5c4a26(0x1a0)](_0x153f91);},'parse':function(_0x83d02a){const _0x20f788=_0x3ee83a;var _0x38ae9a,_0xe704ca=_0x153f91[_0x20f788(0x2f6)](_0x83d02a),_0x2fe357=_0xe704ca['words'];return _0x2fe357[0x0]==0x53616c74&&_0x2fe357[0x1]==0x65645f5f&&(_0x38ae9a=_0x5d76d6[_0x20f788(0x282)](_0x2fe357[_0x20f788(0x428)](0x2,0x4)),_0x2fe357['splice'](0x0,0x4),_0xe704ca[_0x20f788(0x386)]-=0x10),_0x1866bb[_0x20f788(0x282)]({'ciphertext':_0xe704ca,'salt':_0x38ae9a});}},_0x4e68df=_0x463996[_0x3ee83a(0x1e2)]=_0x599053[_0x3ee83a(0x5f5)]({'cfg':_0x599053[_0x3ee83a(0x5f5)]({'format':_0x285b41}),'encrypt':function(_0x489790,_0x556959,_0x3eca34,_0x407480){const _0x3a8786=_0x3ee83a;_0x407480=this[_0x3a8786(0x2b0)][_0x3a8786(0x5f5)](_0x407480);var _0x4cce59=_0x489790[_0x3a8786(0x431)](_0x3eca34,_0x407480),_0x311a5=_0x4cce59['finalize'](_0x556959),_0x57befa=_0x4cce59[_0x3a8786(0x2b0)];return _0x1866bb['create']({'ciphertext':_0x311a5,'key':_0x3eca34,'iv':_0x57befa['iv'],'algorithm':_0x489790,'mode':_0x57befa['mode'],'padding':_0x57befa['padding'],'blockSize':_0x489790[_0x3a8786(0x337)],'formatter':_0x407480[_0x3a8786(0x22c)]});},'decrypt':function(_0x1404e3,_0x45f6ef,_0x316dff,_0x38edef){const _0x512176=_0x3ee83a;_0x38edef=this['cfg']['extend'](_0x38edef),_0x45f6ef=this[_0x512176(0x517)](_0x45f6ef,_0x38edef[_0x512176(0x22c)]);var _0x138441=_0x1404e3[_0x512176(0x4dd)](_0x316dff,_0x38edef)['finalize'](_0x45f6ef[_0x512176(0x427)]);return _0x138441;},'_parse':function(_0x29c85d,_0x3c5f05){const _0x4beec7=_0x3ee83a;return typeof _0x29c85d==_0x4beec7(0x32b)?_0x3c5f05[_0x4beec7(0x2f6)](_0x29c85d,this):_0x29c85d;}}),_0x467740=_0x1111eb[_0x3ee83a(0x465)]={},_0x93e2f8=_0x467740[_0x3ee83a(0x3ae)]={'execute':function(_0x311d5d,_0x7447c6,_0xa69c16,_0x28b3cd,_0x59628a){const _0x3e1984=_0x3ee83a;if(_0x28b3cd||(_0x28b3cd=_0x5d76d6['random'](0x40/0x8)),_0x59628a)var _0x136a39=_0x49f8b5[_0x3e1984(0x282)]({'keySize':_0x7447c6+_0xa69c16,'hasher':_0x59628a})['compute'](_0x311d5d,_0x28b3cd);else var _0x136a39=_0x49f8b5[_0x3e1984(0x282)]({'keySize':_0x7447c6+_0xa69c16})[_0x3e1984(0x622)](_0x311d5d,_0x28b3cd);var _0x58dc8c=_0x5d76d6[_0x3e1984(0x282)](_0x136a39[_0x3e1984(0x1b9)]['slice'](_0x7447c6),_0xa69c16*0x4);return _0x136a39[_0x3e1984(0x386)]=_0x7447c6*0x4,_0x1866bb[_0x3e1984(0x282)]({'key':_0x136a39,'iv':_0x58dc8c,'salt':_0x28b3cd});}},_0x452083=_0x463996[_0x3ee83a(0x32f)]=_0x4e68df[_0x3ee83a(0x5f5)]({'cfg':_0x4e68df[_0x3ee83a(0x2b0)][_0x3ee83a(0x5f5)]({'kdf':_0x93e2f8}),'encrypt':function(_0x30fad8,_0x59f2e7,_0x3fd718,_0x53a0bc){const _0x53a014=_0x3ee83a;_0x53a0bc=this[_0x53a014(0x2b0)][_0x53a014(0x5f5)](_0x53a0bc);var _0x3c45d2=_0x53a0bc[_0x53a014(0x465)]['execute'](_0x3fd718,_0x30fad8[_0x53a014(0x1bc)],_0x30fad8['ivSize'],_0x53a0bc[_0x53a014(0x464)],_0x53a0bc['hasher']);_0x53a0bc['iv']=_0x3c45d2['iv'];var _0x357d3e=_0x4e68df[_0x53a014(0x2e3)][_0x53a014(0x3bb)](this,_0x30fad8,_0x59f2e7,_0x3c45d2['key'],_0x53a0bc);return _0x357d3e[_0x53a014(0x391)](_0x3c45d2),_0x357d3e;},'decrypt':function(_0xec4ce6,_0x56ddc8,_0x474ef5,_0x28a7df){const _0x582f6e=_0x3ee83a;_0x28a7df=this['cfg'][_0x582f6e(0x5f5)](_0x28a7df),_0x56ddc8=this['_parse'](_0x56ddc8,_0x28a7df[_0x582f6e(0x22c)]);var _0x5bfc19=_0x28a7df[_0x582f6e(0x465)][_0x582f6e(0x4f8)](_0x474ef5,_0xec4ce6[_0x582f6e(0x1bc)],_0xec4ce6[_0x582f6e(0x4b6)],_0x56ddc8[_0x582f6e(0x464)],_0x28a7df['hasher']);_0x28a7df['iv']=_0x5bfc19['iv'];var _0x25b7df=_0x4e68df['decrypt']['call'](this,_0xec4ce6,_0x56ddc8,_0x5bfc19['key'],_0x28a7df);return _0x25b7df;}});}();}));}(Ke)),Ke['exports'];}var Os=ke[_0x519f42(0x495)],ai;function ys(){return ai||(ai=0x1,function(_0x2da128,_0x57698b){(function(_0x337590,_0x24bf05,_0x810da5){_0x2da128['exports']=_0x24bf05(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x34ea46){const _0x2aaaea=_0x3f43;return(function(){const _0x160edb=_0x3f43;var _0x4b8c8c=_0x34ea46,_0x335900=_0x4b8c8c[_0x160edb(0x3d6)],_0x38b34f=_0x335900[_0x160edb(0x454)],_0x34aa99=_0x4b8c8c['algo'],_0x1c8c7d=[],_0x1b3d14=[],_0x2a3abb=[],_0x10023d=[],_0x27540d=[],_0x25a3de=[],_0x49cfd0=[],_0x43fa6c=[],_0x2fe44f=[],_0x59bd7a=[];(function(){for(var _0x443ab2=[],_0x3f039b=0x0;_0x3f039b<0x100;_0x3f039b++)_0x3f039b<0x80?_0x443ab2[_0x3f039b]=_0x3f039b<<0x1:_0x443ab2[_0x3f039b]=_0x3f039b<<0x1^0x11b;for(var _0x1faa67=0x0,_0xad2307=0x0,_0x3f039b=0x0;_0x3f039b<0x100;_0x3f039b++){var _0xaa03c=_0xad2307^_0xad2307<<0x1^_0xad2307<<0x2^_0xad2307<<0x3^_0xad2307<<0x4;_0xaa03c=_0xaa03c>>>0x8^_0xaa03c&0xff^0x63,_0x1c8c7d[_0x1faa67]=_0xaa03c,_0x1b3d14[_0xaa03c]=_0x1faa67;var _0x3544ac=_0x443ab2[_0x1faa67],_0x2994e7=_0x443ab2[_0x3544ac],_0x25b995=_0x443ab2[_0x2994e7],_0x270d68=_0x443ab2[_0xaa03c]*0x101^_0xaa03c*0x1010100;_0x2a3abb[_0x1faa67]=_0x270d68<<0x18|_0x270d68>>>0x8,_0x10023d[_0x1faa67]=_0x270d68<<0x10|_0x270d68>>>0x10,_0x27540d[_0x1faa67]=_0x270d68<<0x8|_0x270d68>>>0x18,_0x25a3de[_0x1faa67]=_0x270d68;var _0x270d68=_0x25b995*0x1010101^_0x2994e7*0x10001^_0x3544ac*0x101^_0x1faa67*0x1010100;_0x49cfd0[_0xaa03c]=_0x270d68<<0x18|_0x270d68>>>0x8,_0x43fa6c[_0xaa03c]=_0x270d68<<0x10|_0x270d68>>>0x10,_0x2fe44f[_0xaa03c]=_0x270d68<<0x8|_0x270d68>>>0x18,_0x59bd7a[_0xaa03c]=_0x270d68,_0x1faa67?(_0x1faa67=_0x3544ac^_0x443ab2[_0x443ab2[_0x443ab2[_0x25b995^_0x3544ac]]],_0xad2307^=_0x443ab2[_0x443ab2[_0xad2307]]):_0x1faa67=_0xad2307=0x1;}}());var _0x4e254=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fa2aa=_0x34aa99['AES']=_0x38b34f[_0x160edb(0x5f5)]({'_doReset':function(){const _0x1e6765=_0x160edb;var _0x29f665;if(!(this[_0x1e6765(0x586)]&&this[_0x1e6765(0x3d8)]===this['_key'])){for(var _0x545828=this[_0x1e6765(0x3d8)]=this[_0x1e6765(0x2f2)],_0x2a918e=_0x545828[_0x1e6765(0x1b9)],_0x39b50f=_0x545828[_0x1e6765(0x386)]/0x4,_0x2f92a1=this['_nRounds']=_0x39b50f+0x6,_0x42f1b1=(_0x2f92a1+0x1)*0x4,_0x9bb9c5=this[_0x1e6765(0x496)]=[],_0x4135af=0x0;_0x4135af<_0x42f1b1;_0x4135af++)_0x4135af<_0x39b50f?_0x9bb9c5[_0x4135af]=_0x2a918e[_0x4135af]:(_0x29f665=_0x9bb9c5[_0x4135af-0x1],_0x4135af%_0x39b50f?_0x39b50f>0x6&&_0x4135af%_0x39b50f==0x4&&(_0x29f665=_0x1c8c7d[_0x29f665>>>0x18]<<0x18|_0x1c8c7d[_0x29f665>>>0x10&0xff]<<0x10|_0x1c8c7d[_0x29f665>>>0x8&0xff]<<0x8|_0x1c8c7d[_0x29f665&0xff]):(_0x29f665=_0x29f665<<0x8|_0x29f665>>>0x18,_0x29f665=_0x1c8c7d[_0x29f665>>>0x18]<<0x18|_0x1c8c7d[_0x29f665>>>0x10&0xff]<<0x10|_0x1c8c7d[_0x29f665>>>0x8&0xff]<<0x8|_0x1c8c7d[_0x29f665&0xff],_0x29f665^=_0x4e254[_0x4135af/_0x39b50f|0x0]<<0x18),_0x9bb9c5[_0x4135af]=_0x9bb9c5[_0x4135af-_0x39b50f]^_0x29f665);for(var _0x2f0bbd=this[_0x1e6765(0x303)]=[],_0x5ecd8e=0x0;_0x5ecd8e<_0x42f1b1;_0x5ecd8e++){var _0x4135af=_0x42f1b1-_0x5ecd8e;if(_0x5ecd8e%0x4)var _0x29f665=_0x9bb9c5[_0x4135af];else var _0x29f665=_0x9bb9c5[_0x4135af-0x4];_0x5ecd8e<0x4||_0x4135af<=0x4?_0x2f0bbd[_0x5ecd8e]=_0x29f665:_0x2f0bbd[_0x5ecd8e]=_0x49cfd0[_0x1c8c7d[_0x29f665>>>0x18]]^_0x43fa6c[_0x1c8c7d[_0x29f665>>>0x10&0xff]]^_0x2fe44f[_0x1c8c7d[_0x29f665>>>0x8&0xff]]^_0x59bd7a[_0x1c8c7d[_0x29f665&0xff]];}}},'encryptBlock':function(_0x398021,_0x64e2ff){const _0x46ddfe=_0x160edb;this[_0x46ddfe(0x4e4)](_0x398021,_0x64e2ff,this[_0x46ddfe(0x496)],_0x2a3abb,_0x10023d,_0x27540d,_0x25a3de,_0x1c8c7d);},'decryptBlock':function(_0x5bfd82,_0x34738c){const _0x33c5fb=_0x160edb;var _0x83c381=_0x5bfd82[_0x34738c+0x1];_0x5bfd82[_0x34738c+0x1]=_0x5bfd82[_0x34738c+0x3],_0x5bfd82[_0x34738c+0x3]=_0x83c381,this[_0x33c5fb(0x4e4)](_0x5bfd82,_0x34738c,this['_invKeySchedule'],_0x49cfd0,_0x43fa6c,_0x2fe44f,_0x59bd7a,_0x1b3d14);var _0x83c381=_0x5bfd82[_0x34738c+0x1];_0x5bfd82[_0x34738c+0x1]=_0x5bfd82[_0x34738c+0x3],_0x5bfd82[_0x34738c+0x3]=_0x83c381;},'_doCryptBlock':function(_0x1f4706,_0x70404,_0x3f5cb9,_0x298d54,_0x5d82c2,_0x40f41,_0x8eeff0,_0x39bcf4){const _0x2a9a71=_0x160edb;for(var _0x51b002=this[_0x2a9a71(0x586)],_0x18ff91=_0x1f4706[_0x70404]^_0x3f5cb9[0x0],_0xced0f2=_0x1f4706[_0x70404+0x1]^_0x3f5cb9[0x1],_0x346f8c=_0x1f4706[_0x70404+0x2]^_0x3f5cb9[0x2],_0x2f8a21=_0x1f4706[_0x70404+0x3]^_0x3f5cb9[0x3],_0x2aa64e=0x4,_0x155c3c=0x1;_0x155c3c<_0x51b002;_0x155c3c++){var _0x447a5d=_0x298d54[_0x18ff91>>>0x18]^_0x5d82c2[_0xced0f2>>>0x10&0xff]^_0x40f41[_0x346f8c>>>0x8&0xff]^_0x8eeff0[_0x2f8a21&0xff]^_0x3f5cb9[_0x2aa64e++],_0x8f9920=_0x298d54[_0xced0f2>>>0x18]^_0x5d82c2[_0x346f8c>>>0x10&0xff]^_0x40f41[_0x2f8a21>>>0x8&0xff]^_0x8eeff0[_0x18ff91&0xff]^_0x3f5cb9[_0x2aa64e++],_0x2f2183=_0x298d54[_0x346f8c>>>0x18]^_0x5d82c2[_0x2f8a21>>>0x10&0xff]^_0x40f41[_0x18ff91>>>0x8&0xff]^_0x8eeff0[_0xced0f2&0xff]^_0x3f5cb9[_0x2aa64e++],_0x55d4b4=_0x298d54[_0x2f8a21>>>0x18]^_0x5d82c2[_0x18ff91>>>0x10&0xff]^_0x40f41[_0xced0f2>>>0x8&0xff]^_0x8eeff0[_0x346f8c&0xff]^_0x3f5cb9[_0x2aa64e++];_0x18ff91=_0x447a5d,_0xced0f2=_0x8f9920,_0x346f8c=_0x2f2183,_0x2f8a21=_0x55d4b4;}var _0x447a5d=(_0x39bcf4[_0x18ff91>>>0x18]<<0x18|_0x39bcf4[_0xced0f2>>>0x10&0xff]<<0x10|_0x39bcf4[_0x346f8c>>>0x8&0xff]<<0x8|_0x39bcf4[_0x2f8a21&0xff])^_0x3f5cb9[_0x2aa64e++],_0x8f9920=(_0x39bcf4[_0xced0f2>>>0x18]<<0x18|_0x39bcf4[_0x346f8c>>>0x10&0xff]<<0x10|_0x39bcf4[_0x2f8a21>>>0x8&0xff]<<0x8|_0x39bcf4[_0x18ff91&0xff])^_0x3f5cb9[_0x2aa64e++],_0x2f2183=(_0x39bcf4[_0x346f8c>>>0x18]<<0x18|_0x39bcf4[_0x2f8a21>>>0x10&0xff]<<0x10|_0x39bcf4[_0x18ff91>>>0x8&0xff]<<0x8|_0x39bcf4[_0xced0f2&0xff])^_0x3f5cb9[_0x2aa64e++],_0x55d4b4=(_0x39bcf4[_0x2f8a21>>>0x18]<<0x18|_0x39bcf4[_0x18ff91>>>0x10&0xff]<<0x10|_0x39bcf4[_0xced0f2>>>0x8&0xff]<<0x8|_0x39bcf4[_0x346f8c&0xff])^_0x3f5cb9[_0x2aa64e++];_0x1f4706[_0x70404]=_0x447a5d,_0x1f4706[_0x70404+0x1]=_0x8f9920,_0x1f4706[_0x70404+0x2]=_0x2f2183,_0x1f4706[_0x70404+0x3]=_0x55d4b4;},'keySize':0x100/0x20});_0x4b8c8c[_0x160edb(0x632)]=_0x38b34f[_0x160edb(0x522)](_0x2fa2aa);}()),_0x34ea46[_0x2aaaea(0x632)];}));}(ke)),ke['exports'];}function _0x1367(){const _0x46cb5b=['getResourcesRequest','_throwTelemetryCollaborationNewChangeset','InsertRangeMoveRightCommandId','_localCacheService','fetch_missing','&assign=','COLORS','transformRemoteChangeset','_transformIMECache','_scheduleHeartbeat','updatePermissionObjEvent','hasher','equals','clamp','doc.mutation.rich-text-editing','_handleHeartbeatEvent','getOwnPropertySymbols','_clearTimeoutTimer','_tryEnsureSocket','docStateChange$','disposeWithMe','_retryCount','univer-pro.collaboration-client.single-active-unit-service','disableLocalCache','COLLAB_WEB_SOCKET_URL_KEY','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','title','IRemoteInstanceService','sin','/fetchmissing?from=','_createHmacHelper','_process','CollaborationStatus','cursorInfo$','LIVESHARE_TERMINATE','_collaborationSessionService','ILogService','off-line-single','src','_stopTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByStateCache','result','CHANGESET_SHOULD_RETRY','isArray','_data','getRenderById','extend','setInterval','_snapshotServerService','Disposable','5508830oVtEiK','dispose','m1Prime','getActiveSheet','_onRemoteRetry','collabCursorState$','unshift','_removeClearOtherTimer','collabStatus.syncing','LIVESHARE_OPERATION','Base','clear','UPDATE_PERMISSION_OBJ','replaceState','jiqing500','_snapshotService','LocaleService','addEventListener','subUnitId','randomUUID','isTransformMutationsWithChangesetSuccess','onTransformIME','joinRsp','getTypeOfUnitDisposed$','_draw','not_collab','wsSessionTicketUrl','on-line-single','code','_getUploadFileURL','[CollaborationSessionService]','_getDownloadEndpointURL','state','InsertRangeMoveDownCommandId','_getMergeRange','JOINING','UnitEmbedded','isTransformChangesetsSuccess','indexOf','registerRenderModule','_onMessage','compute','HTTPService','_cursorShapes','registerDependencies','IUIPartsService','post','_sessions','UNIVER_PROJECT','enableSingleActiveInstanceLock','getRoom','_cachedData','_loadDoc','moveTo','RefRangeService','_transformPreviousActiveRange','children','AES','TOO_MANY_REQUESTS','delay','hasOwnProperty','_commandService','_incrementRevisionNumber','/object/','textEncoder','IContextService','[OfflineState]:\x20received\x20changeset.','fromCharCode','mergeOverrideWithDependencies','DocIMEInputManagerService','1em','jsx','pipe','YUUMI_URL_COL_OUT_OF_RANGE','_sheetSkeletonManagerService','APPLY_DUPLICATED','_updateStatus','_status$','_checkMissing','stringify','exhaustSavingTask','EvpKDF','RETRY_CONNECTING_MAX_COUNT_KEY','6FvegSC','onTransformState','font','_onConflict','SNAPSHOT_HAS_BEEN_REMOVED','roomMembers$','WordArray','b64DecodeUnicode','_resendTimer','onRemoteAck','_notificationService','addObject','session.room-not-exists','update','sendChangesetTimeout','#FFF','addImageSourceCache','_initDependencies','transformMutationsWithChangeset','url','NO_OTHER_CLIENTS_EDITING','[CollaborationSessionService]:\x20socket\x20error','POST','ITelemetryService','text','combineLatest','transformMutation','createCollaborator','dispose$','_submitChangeset','_configService','onMissedChangesetFetched','onRemoteRej','append','searchParams','file','getCollabCursors$','_ensureSubject','SnapshotService','close','tag','reduce','_range','toString','UNIVER_SLIDE','deserializeToCombResponse','_online','_startCollaboration','SHEET_VIEWPORT_KEY','_telemetryInfo','restore','_sessionStatus$','save\x20fail\x20reason\x20is\x20','UserManagerService','_minBufferSize','LOCAL_CACHE_INTERVAL_KEY','RichTextEditingMutation','filter','@univerjs/drawing','_context','INVALID_ARGUMENT','JOIN_ROOM_PERMISSION_DENIED','iterations','avatar','registerOnClose','[CollaborationState]:\x20apply\x20error!','\x0aCurrent:\x20','_transformRemoteChangesetByIMECache','words','listCollaborators','_labelPosition','keySize','LICENSE_MAX_UNITS_EXCEEDED','_onConnectionFailed','onlyLocal','_pendingMutations','incrementRevOfUnit','COMPRESS_MUTATION_SEND','Rect','backgroundColor','_scene','find','routeKey','href','setShapeProps','NOT_FOUND','CollaborationSocketService','_updateSubUnitFromURLParams','liveShareOperation','clone','displayName','_retryConnectingTimer','type','setConfig','_removeRoom','substring','VIEW_MAIN','getCurrentSelections','CompressMutationService','error','UNIVER_UNKNOWN','Undefined','subscribe','collabStatus.notCollab','url(#on-line-single_clip0_910_349)','_singleActiveUnitService','refreshPermission','textRanges','SNAPSHOT_INVALID_SNAPSHOT','SerializableCipher','_handleEvent','Hex','_prevBlock','show','headers','_schedule','takeUntil','_commentUpdate$','confirm','encode','_drawTextRange','_socketReady','baseRev','useRef','requestParams','_lastPointer','defs','_members','collaboration-client.offline-data-not-saved','MemberService','HEARTBEAT_TIMEOUT_KEY','onTransformRemoteChangesetByIMECache','enableAuthServer','charCodeAt','fillRule','collab-client.tooltip.reconnect','setItem','init','_heartbeatTimer','image/png','_resendTimeout','_transformRemoteChangesetByStateCache','delete','selection','push','collaboratorID','SUBMIT_CHANGESET','_initRequestHeader','endColumn','userID','asObservable','SetTextSelectionsOperation','m2Prime','_fetchMissChangesets','_refRangeService','BuiltInUIPart','clipPath','HttpExport','next','_toggleOffline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_remoteChangesetQueue','startTime','Base64','_map','throttleTime','bottom','url(#$1','Fragment','updateOfflineData','/universer-api/file/{fileID}/sign-url','changesets','fill','_updateState','_colorAssignService','onlineStatusTitle','HEARTBEAT','c2Prime','status$','conflict.title','UNKNOWN_CMD','_collaborationController','CipherParams','format','[CollaborationEntity]','_sender','@univerjs/engine-render','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LIVESHARE_REQUEST_HOST','cursorInfo','put','liveShareNewHost','unitId','clearTimeout','executeCommand','getUnitId','ReplaySubject','IAuthzIoService','onStateChange','MD5','_showConflictNotification','hovered','engine','sequenceExecute','shouldCloseConn','setShowComponents','_initEventListeners','deepClone','getParam','whenReady','removeMember','UNIVER_SHEET','UNIVER_DOC','forEach','@univerjs/network','IMentionIOService','COMMENT_UPDATE','_memberService','_isPermissionRej','_socket','_queuedRemoteChangesets','_onConnectionOpen','getTypeOfUnitAdded$','getVpScrollXYInfoByPosToVp','bind','collabStatus.synced','lineTo','visibilitychange','_compressMutationService','Univer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','cmd','COMPLETION_FINISHED','updateMember','currentTheme$','INGEST','debounce','_backgroundColor','SNAPSHOT_URL_KEY','collab-rect-range-','current','_cursorInfo$','getRandomValues','_hovered','FETCH_MISSING','univerjs-icon\x20univerjs-icon-','SheetCollabCursorShape','fetching\x20missing\x20changesets\x20from\x20','_type','WorkbookEditablePermission','appendMutation','synced','catch','roomMembers','socket$','&source=','RxDisposable','_entityInit$','onRemoteRetry','DocSelectionManagerService','connection\x20error','unit','NodePositionConvertToRectRange','_createSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRecvEvent','RETRY_CONNECTING_MAX_COUNT','M0\x200H16V16H0z','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','create','_setupBeforeClosingHandler','collaboration.closeRoom','members','arc','handleInsertRow','handleDeleteRangeMoveLeft','ALREADY_EXISTS','replaceDocRanges','startRow','_themeService','reject','objectType','FromArray','drawWith','objectID','take','_config','@univerjs/engine-formula','requireSession','algo','focused$','DEFAULT_FILE_NAME','enableLocalCache','onStarting','onSendChangeset','joinEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','isPermissionRej','LOCAL_CACHE_INTERVAL','colorChannel1','_httpService','allowed','getUnitOnRev','_socket$','ranges','_unlockTransition','action','send','_docTransformStateCacheService','key','putCollaborators','runRefRangeMutations','newValue','padding','list','cfg','241376OAmmHA','_refreshCollabCursors','...','collabStatus.offline','[DataLoaderController]','_transformService','unknown','forwardRef','message$','path','Hasher','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMissingChangesets','processBlock','rev','patch','resolve','_doReset','imageSourceType','_nDataBytes','7997872hETdLW','TEXT','_ws','Tools','_getCtorByUniverType','DocStateChangeManagerService','onRendered','SheetCollaborationEntity','getMemberID','/universer-api/oidc/authpage','onPointerEnter$','getImageSourceCache','transformByState','ENSURE_SNAPSHOT_EXECUTION','collaMsg','charAt','use','redoState','_hasher','_docClipboardService','WebSocketService','IUndoRedoService','permissionRejEvent','_handleLeaveEvent','labelPosition','_cipher','updateCollaborator','collabStatus.conflict','xlink:href','JOIN_ROOM_NOT_EXISTS','encrypt','_clearOtherTimers','replace','closeSession','x-univer-host','saveImage','setTimeout','startsWith','session.room-permission-denied','2nYiAMj','on-line-single_clip0_910_349','formatter','UPDATE_CURSOR','ILocalStorageService','data','_key','max','trim','default','parse','Latin1','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_cursors','_onCursorDelete','DocCollaborationEntity','_xformMode','top','_initStatusComponent','_docTransformIMECacheService','_initStatusListener','_hash','UnitSnapshot','_invKeySchedule','_docSkeletonManagerService','assignAColorForMemberID','online','unit-cache-','EXCHANGE_SIGN_URL_SERVER_URL_KEY','conflict','getAncestorScale','Cipher','NoPadding','_colorIndex','reqId','UniverCollaborationClientPlugin','_handleHover','getCurrent','awaiting_with_pending','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','buffer','_createInitialStateImpl','@univerjs/design','_render','currentSkeleton$','unitId\x20is\x20not\x20found','CHANGESET_REVISION_CONFILICT','setCurrentUser','INotificationService','LOGIN_URL_KEY','DataLoaderController','_createInitialState','encodeURIComponent','CollaborationController','params','getSheetObject','complete','_clearCollaborationTimeoutTimer','/role','_createHandler','RECT','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','LIVESHARE_FETCH_OPERATIONS','string','_instanceService','body','status','PasswordBasedCipher','object','YUUMI_SUBSCRIPTION_NOT_FOUND','_userManagerService','enc','CommentService','all','useDependency','blockSize','_resendWithTimeout','JSONX','csRejEvent','mapDocumentTypeToUniverType','0\x200\x2016\x2016','readAsDataURL','@univerjs/rpc','collab-text-range-','_transformStack','_disableEditing','ImageSourceType','/universer-api/authz','_anchor','getTime','_substituteRedoStack','unsubscribe','/rev/','toggleOffline','[CollaborationSession]','IBeforeCloseService','loginUrlKey','serializeCombRequest','_getSignURL','origin','color','random','fetchThroughInterceptors','_state','_applyRemoteChangeset','UniverIcon','_onRemoteRejected','getColor','leaveEvent','_hover','finalize','transformSelections','createInstance','FAIL','getCurrentRevOfUnit','Unknown\x20user','defineProperty','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_UNABLE_LOAD_URL','onload','mapTo','toLowerCase','[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.','_collaborationPaused','application/json','_registerDependencies','actions','_drawRectRange','_state$','entries','sessionStatus','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentService','_candidateSocket','_sheetTransformSelectionsService','IDocClipboardService','_unitOnClients','APPLY_REVISION_CONFILICT','location','Injector','history','rxjs','byteLength','JOIN_ROOM_FULL','_session','_unitStatus','_waitCount','_initCloseConn','/universer-api/comb','UNAUTHENTICATED','getInterceptPoints','setUndoRedoMutationParamsCache','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_NEW_HOST','sigBytes','@univerjs/telemetry','retryConnectingInterval','_collaborationTimeoutTimer','HttpImport','_onJoinRoomEvent','_change$','assign','symbol','SEND_CHANGESET_TIMEOUT_KEY','registerBeforeClose','mixIn','_logService','fromCollab','_getAPIPrefixPath','with','fromEventSubject','getMergeData','sheetID','_cursor','objectActions','_initUnitPermissionChange','getSnapshotAPIPath','getCellPositionByOffset','none','loadOfflineData','_reverseMap','5942139MbFxJE','_transformSelections','split','debounceTime','_substituteUndoStack','SessionStatus','blue400','currentColor','_scheduleSaving','Workbook','CONNECTOR_DATA_TOO_LARGE','session.collaboration-timeout','Decryptor','OpenSSL','CBC','getOffsetConfig','createElement','name','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Inject','APPLY_REJECT','c1Prime','join','merge','_init','min','call','CollaborationEvent','_transitionLocked','_updateLocalCursor','getUnhiddenWorksheets','_transformHistoryAndStateStack','every','copyFileMeta','onMouseMove','save','awaitingChangeset','BlockCipherMode','_revisionService','createIdentifier','908774opHQHH','@univerjs/docs','shareReplay','jsxs','parseChangesetToProtocol','react','DisposableCollection','fromEvent','_initCommandExecutedListener','ws://127.0.0.1:8000/universer-api/comb/connect','MSG_FOR_ERROR','roomInfos','getStateCache','lib','CHANGESET_REJ','_keyPriorReset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_urlService','session.room-full','repeat','UUID','_joinRoom','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','snapshot','set','_handler','syncEditingCollabCursor','_anchorDot','toRgbString','popstate','pluginName','ICommandService','transformStateCache','_event$','OnLineSingle','Subject','IPermissionService','_setupSubUnitSync','_toggleOnline','RemoveColCommandId','getLatestCsReqIdBySid','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/collaborator','_scheduleCollaborationTimeoutTimer','Rectangle','responseType','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','\x0aAfter:\x20','COMPRESS_MUTATION_APPLY','/allowed','_onCombEvent','_changesetSessionId','__creator','from','_startDocCollabCursor','range','editingUnit','HMAC','_univerInstanceService','RevisionService','batchAllowed','_scheduleClearOtherTimer','_docSyncEditingCollabCursorService','debug','_permissionService','NEW_CHANGESETS','_waitForHeartbeatResponse','ERROR_IMAGE','json','_telemetryService','disposeUnit','removeParam','_clearRedo','image/bmp','Pkcs7','reset','socket\x20open.','_saveCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','loadDoc','OFFLINE','ERROR_IMAGE_TYPE','USERS_LEAVE','_getRedoStack','_entities','handleIRemoveRow','_startSheetCollabCursor','_initResize','_selfUnitIDs','@univerjs/docs-ui','sessionTicket','_transformUndoredo','_send','values','ciphertext','slice','_uiPartsService','hide','128781DolfrU','_renderManagerService','_onRemoteChangeset','SHA1','_registerRenderDependencies','_getSaveTimeout','createEncryptor','change$','ISnapshotServerService','endRow','_getSheetObject','for','getSheetBlock','_hideTimer','localeService','IImageIoService','subject','_awaitingChangeset','_oKey','RECV','touchDependencies','ReactCurrentOwner','HELLO','onMissingChangesets','has','map','SYNCED','getItem','isTransformMutationFailure','@univerjs/sheets-ui','getMember','_getScale','_loadSheet','CommandType','HEARTBEAT_INTERVAL','abs','_roomMembers$','_socketMessageSubscription','_ENC_XFORM_MODE','_eventUnsubscribe','_onUserLeave','BlockCipher','_updateCollabCursors','source','_getAPIPrefix','_clearScheduledTask','EffectRefRangId','Error','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','msCrypto','socketService','decrypt','transformChangesets','DesktopCollaborationStatusDisplayController','#fff','Optional','_shapes','salt','kdf','COLLAB_SUBMIT_CHANGESET_URL_KEY','LocalCacheService','session','&to=','useObservable','transformUndoRedo','NOT_COLLAB','UNIVER_COLLABORATION_CLIENT_PLUGIN','toggleOnline','BehaviorSubject','deleteCollaborator','_messageService','generateRandomId','PSEUDO_FETCH_MISSING_RESULT','findNodePositionByCharIndex','UniverInstanceType','sid','clearInterval','mode','IRenderManagerService','ERROR_EXCEED_SIZE','_onRemoteACK','CHANGESET_ACK','CollaborationSession','_getLoginPath','_onUserJoin','DeleteRangeMoveLeftCommandId','ONLINE','APPLY_NON_SEQUENTIAL_REVISION','_sendingTimer','getCurrentUser','onPointerLeave$','_onOffline','originalMeta','error$','getValue','resend','_updateLocalCache','rng','_beforeCloseService','randomBytes','_rescheduleHeartbeat','initWorkbookPermissionChange','off-line-single_clip0_910_343','permission.title','collabStatus.fetchMiss','PERMISSION_DENIED','exports','_keySchedule','PERSON','CollabrationImageIoService','getUnitType','UniverCollaborationPlugin','SnapshotServerOverHTTPService','_timeoutTimer','subscribeEvent','pad','getAllMembers','_collabCursorState$','pushState','?url=','interceptor','_doFinalize','Utf8','get','_localStorageService','onCommandExecuted','csShouldRetryEvent','IUniverInstanceService','HEARTBEAT_TIMEOUT','onPointerMove$','isEditing','CollaborationSessionService','mutations','collaboration.single-unit.warning','/object','updateCursorEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20received\x20rejection.','sessionStatus$','ivSize','concatMap','_socketService','verdancy600','getConfig','BufferedBlockAlgorithm','transformIMECache','SetSelectionsOperation','_clearUndo','addObjects','event$','Could\x20not\x20dynamically\x20require\x20\x22','_onCursorUpdate','_getAnchorBounding','getCollabEntity','ImageUploadStatusType','session.will-retry','function','IMessageService','createSocket','_initMergeInterceptor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','reconnect','8328897dIZdem','_imageIoService','ceil','readInt32LE','updatePermissionPoint','parseProtocolChangeset','/-/object/-/batch_allowed','getCoordByCell','getCollabEntity$','getCurrentUnitForType','_doProcessBlock','@univerjs-pro/collaboration','undoState','_color','revision','CollaborationEntity','createDecryptor','onRemoteChangeset','_tryReconnect','floor','_sendHeartbeatTimer','FileId','_handleJoinEvent','_doCryptBlock','IConfigService','/universer-api/stream/file/upload','LICENSE_DISTRO_REJECTED','loadSheet','session.room-cnt-exceeds','EmptyMutation','getRangePointData','StreamCipher','handleInsertCol','/unit/','column','_transformStateCache','onSyncEditingCollabCursor','div','OTHER_CLIENTS_EDITING','CollaborationStatusDisplay','collaboration-client.config','_transformUndoRedoStack','_disabled','execute','prototype','_iKey','awaiting','LICENSE_IMPORT_SIZE_EXCEEDED','stopTime','_DEC_XFORM_MODE','distinctUntilChanged','UNRECOGNIZED','_saveTaskMap','SHOULD_CLOSE_CONN','toDisposable','closePath','/resources','uploadFileServerUrl','_textBubble','getActiveRange','eventID','url(#off-line-single_clip0_910_343)','UNKNOWN_CODE','onCommentUpdate','getDocRanges','setActiveRange','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','_getSendChangesetTimeout','authzUrl','transformStack\x20failed!','urlChange$','unload','selections','[SyncedState]:\x20received\x20rejection.','_parse','getSkeleton','row','/-/object/list','[CollaborationUndoRedoService]','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','MentionType','CONFLICT','fetchMiss','idSuffix','_createHelper','onTransformSelections','_docTransformSelectionsService','_exhaustRemoteChangesetQueue','serializeRangeWithSheet','getImage','$super','isInternalEditorID','saveSheetBlock','FETCH_MISS','_assignedColors','univer-online-status-title','apply','_localeService','image/gif','telemetry\x20info\x20is\x20not\x20initialized','_getCurrentRevision','handleIRemoveCol','GLOBAL_ROOMS_CNT_EXCEEDS','_replayCachedMutations','LocalUndoRedoService','image/jpeg','concat','InsertSheetMutation','length','height','_decreaseWaiting','black','_roomMembers','MUTATION','AWAITING_WITH_PENDING','fillText','size','setStateCache','getOwnPropertyDescriptor','measureText','PENDING','_executeRemoteChangeset','Encryptor','permission.content','_startTelemetryCollaborationNewChangeset','round','_syncEditingCollabCursor','getSheetBySheetId','failed\x20to\x20apply\x20missed\x20changesets!','InsertColCommandId','beginPath','setAlpha','getUnitStatus$','JOIN','react.element','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','add','icon','@univerjs/ui','ref','HEARTBEAT_INTERVAL_KEY','_collabSessionService','OffLineSingle','includes','/universer-api/snapshot/','evenodd','_mode','MentionIoHttpService','ITransformService','memberID','_unitID','/block/','_collabCursorController','fillStyle','_id','_iv','_replaceFileID','_createSocketURL','collabWebSocketUrl','_shouldReportTelemetry','ticket','IDLE','triggerDblclick','SEND_CHANGESET_TIMEOUT','Plugin','_docSkeleton','offline','_name','gold400','storage','_acknowledgedAwaitingChangeset','session.join-failed','MessageType','AWAITING','close$','unitID','HmacSHA1','{fileID}','collaborators','_clearHeartbeatTimer','_syncEditingCollabCursorService','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','getSheetId','pauseCollaboration','_nRounds','PERMISSION_REJ','SetDocZoomRatioOperation','attrs','_http','resize','encryptBlock','_onLocalMutation','saveChangeset','className','_injector','saveSnapshot','/universer-api/user/session-ticket','duration','subunit','_scheduleTimestamp','_docStateChangeManagerService','_changesetReqId','Warning','_append','downloadEndpointUrl','onlineStatus','now','_removeCollabCursors','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','TEXT_RANGE_LAYER_INDEX','registerHTTPInterceptor','_getUndoStack','registerRefRange','getFocusedUnit','_lockTransition','onTransformChange$','socket\x20close','APPLY_PERMISSION_DENIED','HTTPRequest','getUniverSheetInstance','ColorKit','defaultProps','_imageSourceCache','isActive','DOC_RANGE_TYPE','_updateURLWithCurrentState','_getSessionTicket','USERS_ENTER','UniverNetworkPlugin','capture','crypto','then','DocSkeletonManagerService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','svg','defIds','IURLService','0\x200\x2017\x2016','AUTHZ_URL_KEY','connectInjector','__Key__','SheetPermissionInitController','width','LEAVE','DeleteRangeMoveUpCommandId','setWaitCount','_redoStacks','_listenToOfflineEvent','RegularPolygon'];_0x1367=function(){return _0x46cb5b;};return _0x1367();}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x519f42(0x495)],li;function Ms(){const _0x597933=_0x519f42;return li||(li=0x1,function(_0x2a4ca9,_0x25778c){(function(_0xeb08a4,_0x515a42){const _0xa5b41c=_0x3f43;_0x2a4ca9[_0xa5b41c(0x495)]=_0x515a42(se());}(Us,function(_0x26296e){const _0x552fc4=_0x3f43;return _0x26296e[_0x552fc4(0x333)][_0x552fc4(0x4a5)];}));}(ze)),ze[_0x597933(0x495)];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x519f42(0x495)],hi;function xs(){return hi||(hi=0x1,function(_0x321426,_0x106dca){(function(_0x24324f,_0x1ec2b5){const _0x47f3f4=_0x3f43;_0x321426[_0x47f3f4(0x495)]=_0x1ec2b5(se());}(Ls,function(_0x1bca49){const _0x48a537=_0x3f43;return(function(){const _0x1bb632=_0x3f43;if(typeof ArrayBuffer=='function'){var _0x276e0c=_0x1bca49,_0x9bf0d2=_0x276e0c[_0x1bb632(0x3d6)],_0x24da62=_0x9bf0d2['WordArray'],_0x519c7e=_0x24da62[_0x1bb632(0x1fe)],_0x529424=_0x24da62[_0x1bb632(0x1fe)]=function(_0xe2c9d7){const _0x43c924=_0x1bb632;if(_0xe2c9d7 instanceof ArrayBuffer&&(_0xe2c9d7=new Uint8Array(_0xe2c9d7)),(_0xe2c9d7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe2c9d7 instanceof Uint8ClampedArray||_0xe2c9d7 instanceof Int16Array||_0xe2c9d7 instanceof Uint16Array||_0xe2c9d7 instanceof Int32Array||_0xe2c9d7 instanceof Uint32Array||_0xe2c9d7 instanceof Float32Array||_0xe2c9d7 instanceof Float64Array)&&(_0xe2c9d7=new Uint8Array(_0xe2c9d7[_0x43c924(0x314)],_0xe2c9d7['byteOffset'],_0xe2c9d7[_0x43c924(0x37a)])),_0xe2c9d7 instanceof Uint8Array){for(var _0x316655=_0xe2c9d7[_0x43c924(0x37a)],_0x3f61cb=[],_0x46d6e2=0x0;_0x46d6e2<_0x316655;_0x46d6e2++)_0x3f61cb[_0x46d6e2>>>0x2]|=_0xe2c9d7[_0x46d6e2]<<0x18-_0x46d6e2%0x4*0x8;_0x519c7e[_0x43c924(0x3bb)](this,_0x3f61cb,_0x316655);}else _0x519c7e[_0x43c924(0x52e)](this,arguments);};_0x529424[_0x1bb632(0x4f9)]=_0x24da62;}}()),_0x1bca49[_0x48a537(0x3d6)]['WordArray'];}));}(Xe)),Xe['exports'];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je[_0x519f42(0x495)],_i;function Bs(){return _i||(_i=0x1,function(_0x292d49,_0x3f0423){(function(_0x425630,_0x597b42,_0x30ea4f){const _0xac657a=_0x3f43;_0x292d49[_0xac657a(0x495)]=_0x597b42(se(),Bi());}(Hs,function(_0x43ae90){const _0x18217b=_0x3f43;return _0x43ae90[_0x18217b(0x49e)][_0x18217b(0x30c)]={'pad':function(){},'unpad':function(){}},_0x43ae90[_0x18217b(0x49e)][_0x18217b(0x30c)];}));}(Je)),Je['exports'];}var ks=Bs();const Ws=$e(ks);function Fs(_0x176a05,_0x5d8766){const _0xfb3af6=_0x519f42,_0x3ee856=_0x5d8766-_0x176a05[_0xfb3af6(0x53a)]%_0x5d8766,_0x58a590=String['fromCharCode'](_0x3ee856)[_0xfb3af6(0x3dc)](_0x3ee856);return _0x176a05+_0x58a590;}function Vs(_0xbbea39,_0x25d8a9){const _0xb151b1=_0x519f42,_0xcebc1f=js['random'](0x10),_0xe3e34=Fs(_0xbbea39,0x10),_0x221887=Ps[_0xb151b1(0x2e3)](As[_0xb151b1(0x2f6)](_0xe3e34),ci[_0xb151b1(0x2f6)](_0x25d8a9),{'iv':_0xcebc1f,'padding':Ws});return _0xcebc1f['concat'](_0x221887[_0xb151b1(0x427)])[_0xb151b1(0x1a0)](ci);}function Gs(){const _0xe38dcf=_0x519f42,_0x3db0bd=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xe38dcf(0x5be)];if(_0x3db0bd){const _0x401e8d={'time':Math['floor'](Date[_0xe38dcf(0x59c)]()/0x3e8),'domain':location['hostname']};return Vs(JSON[_0xe38dcf(0x648)](_0x401e8d),_0x3db0bd);}}var Ys=Object[_0x519f42(0x360)],qs=Object['getOwnPropertyDescriptor'],Ks=(_0x3e6494,_0x284904,_0x7c4532,_0x167f5c)=>{const _0x2d20be=_0x519f42;for(var _0x24e376=_0x167f5c>0x1?void 0x0:_0x167f5c?qs(_0x284904,_0x7c4532):_0x284904,_0x5dd930=_0x3e6494[_0x2d20be(0x53a)]-0x1,_0x1d6a2b;_0x5dd930>=0x0;_0x5dd930--)(_0x1d6a2b=_0x3e6494[_0x5dd930])&&(_0x24e376=(_0x167f5c?_0x1d6a2b(_0x284904,_0x7c4532,_0x24e376):_0x1d6a2b(_0x24e376))||_0x24e376);return _0x167f5c&&_0x24e376&&Ys(_0x284904,_0x7c4532,_0x24e376),_0x24e376;},zs=(_0x5894a5,_0x5c7f7e)=>(_0x5e56b9,_0x3fc467)=>_0x5c7f7e(_0x5e56b9,_0x3fc467,_0x5894a5);let st=class{constructor(_0x107fb6){const _0x350051=_0x519f42;this[_0x350051(0x2a1)]=_0x107fb6,this[_0x350051(0x208)]();}[_0x519f42(0x208)](){const _0x127e46=_0x519f42;this[_0x127e46(0x2a1)][_0x127e46(0x5a0)]({'interceptor':(_0x44dc10,_0x359a22)=>{const _0x588d7e=_0x127e46,_0x3cd962=_0x44dc10['headers'],_0x3a32ba=Gs();return _0x3a32ba&&_0x3cd962[_0x588d7e(0x3e1)](_0x588d7e(0x2e7),_0x3a32ba),_0x359a22(_0x44dc10);}});}};st=Ks([zs(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)]))],st);var Xs=Object[_0x519f42(0x360)],Js=Object[_0x519f42(0x544)],Zs=(_0x3f197c,_0x3d6e60,_0x44ddda,_0x31d8e1)=>{const _0x1f4de4=_0x519f42;for(var _0x2661b2=_0x31d8e1>0x1?void 0x0:_0x31d8e1?Js(_0x3d6e60,_0x44ddda):_0x3d6e60,_0x2ccc67=_0x3f197c[_0x1f4de4(0x53a)]-0x1,_0x36547b;_0x2ccc67>=0x0;_0x2ccc67--)(_0x36547b=_0x3f197c[_0x2ccc67])&&(_0x2661b2=(_0x31d8e1?_0x36547b(_0x3d6e60,_0x44ddda,_0x2661b2):_0x36547b(_0x2661b2))||_0x2661b2);return _0x31d8e1&&_0x2661b2&&Xs(_0x3d6e60,_0x44ddda,_0x2661b2),_0x2661b2;},Et=(_0x2f2556,_0x249973)=>(_0xcdc095,_0x235adb)=>_0x249973(_0xcdc095,_0x235adb,_0x2f2556);const Qs=[_0x519f42(0x200),_0x519f42(0x537),'image/jpg',_0x519f42(0x530),_0x519f42(0x412)],eo=0x5*0x400*0x400,to=_0x519f42(0x329),io=_0x519f42(0x4e6),no=_0x519f42(0x308),ro=_0x519f42(0x21f);exports[_0x519f42(0x498)]=class{constructor(_0x11a735,_0x2421e6,_0x1ee473){const _0x200aa6=_0x519f42;I(this,_0x200aa6(0x37e),0x0),I(this,_0x200aa6(0x38c),new N[(_0x200aa6(0x3ec))]()),I(this,_0x200aa6(0x432),this[_0x200aa6(0x38c)]),I(this,_0x200aa6(0x5ac),new Map()),(this[_0x200aa6(0x2a1)]=_0x11a735,this[_0x200aa6(0x193)]=_0x2421e6,this[_0x200aa6(0x403)]=_0x1ee473);}[_0x519f42(0x5c3)](_0x403567){const _0x58cfed=_0x519f42;this[_0x58cfed(0x37e)]=_0x403567,this['_change$'][_0x58cfed(0x213)](_0x403567);}[_0x519f42(0x2d0)](_0x490f80,_0xf26304){const _0x356f09=_0x519f42;if(_0xf26304===te[_0x356f09(0x342)]['BASE64']){const _0xd0546a=new Image();return _0xd0546a[_0x356f09(0x5ed)]=_0x490f80,_0xd0546a;}return this[_0x356f09(0x5ac)]['get'](_0x490f80);}[_0x519f42(0x185)](_0x2468af,_0x41aa2d,_0x3f4e54){const _0x165f4a=_0x519f42;_0x41aa2d===te[_0x165f4a(0x342)]['BASE64']||_0x3f4e54==null||this['_imageSourceCache'][_0x165f4a(0x3e1)](_0x2468af,_0x3f4e54);}async[_0x519f42(0x527)](_0x58208c){const _0x2d0b83=_0x519f42;try{const _0x1df42b=this[_0x2d0b83(0x56a)](this['_getSignURL'](),''+_0x58208c),_0xc375e4=(await this['_httpService'][_0x2d0b83(0x4a6)](_0x1df42b))[_0x2d0b83(0x32d)];if(_0xc375e4[_0x2d0b83(0x1d8)]&&_0xc375e4[_0x2d0b83(0x1d8)][_0x2d0b83(0x615)]===bi['OK']){const _0x6f8ab1=new URL(_0xc375e4[_0x2d0b83(0x188)],this[_0x2d0b83(0x618)]())[_0x2d0b83(0x1a0)]();return Promise[_0x2d0b83(0x2c1)](_0x6f8ab1);}return Promise[_0x2d0b83(0x28d)](_0xc375e4[_0x2d0b83(0x1d8)]);}catch(_0x431ac5){return Promise[_0x2d0b83(0x28d)](_0x431ac5);}}async['saveImage'](_0x54c24e){const _0xd9b685=_0x519f42;let _0x43dd36='';if(!Qs[_0xd9b685(0x55d)](_0x54c24e[_0xd9b685(0x1d1)]))return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x41a)]));if(_0x54c24e['size']>eo)return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x47a)]));try{const _0x57fee4=new FormData();_0x57fee4[_0xd9b685(0x196)](_0xd9b685(0x198),_0x54c24e);const _0x5ee945=this[_0xd9b685(0x403)][_0xd9b685(0x5a3)](),_0xb06313=_0x5ee945==null?void 0x0:_0x5ee945[_0xd9b685(0x238)]();if(!_0xb06313)throw new Error(_0xd9b685(0x319));const _0xc6bb9e=this[_0xd9b685(0x616)]()+'?size='+_0x54c24e['size'][_0xd9b685(0x1a0)]()+_0xd9b685(0x274)+Ti['UnitEmbedded']+_0xd9b685(0x5cc)+encodeURIComponent(_0xb06313),_0x4941cf=await(await fetch(_0xc6bb9e,{'method':_0xd9b685(0x18b),'body':_0x57fee4}))[_0xd9b685(0x40d)]();if(typeof _0x4941cf[_0xd9b685(0x4e2)]!=_0xd9b685(0x32b))return this['_decreaseWaiting'](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x40c)]));_0x43dd36=_0x4941cf['FileId'];}catch{return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)]['ERROR_IMAGE']));}return new Promise((_0x194aaa,_0x3d2073)=>{const _0x32cf2b=_0xd9b685,_0x322b9c=new FileReader();_0x322b9c[_0x32cf2b(0x33d)](_0x54c24e),_0x322b9c[_0x32cf2b(0x363)]=_0x2991db=>{const _0xc70872=_0x32cf2b;var _0x190b7f;const _0x3b6616=(_0x190b7f=_0x2991db['target'])==null?void 0x0:_0x190b7f[_0xc70872(0x5f0)];if(_0x3b6616==null){this[_0xc70872(0x53c)](),_0x3d2073(new Error(te[_0xc70872(0x4c5)][_0xc70872(0x40c)]));return;}const _0x1689a9=a[_0xc70872(0x2c8)]['generateRandomId'](0x6);_0x194aaa({'imageId':_0x1689a9,'imageSourceType':te[_0xc70872(0x342)][_0xc70872(0x3dd)],'source':_0x43dd36,'base64Cache':_0x3b6616,'status':te[_0xc70872(0x4c5)]['SUCCUSS']}),this[_0xc70872(0x53c)]();};});}[_0x519f42(0x616)](){const _0x45c663=_0x519f42;var _0x38a9f8,_0x3f9401;const _0x5ed00f=this[_0x45c663(0x193)]['getConfig'](to),_0x83fbaa=this[_0x45c663(0x193)][_0x45c663(0x4ba)](Z);return(_0x3f9401=(_0x38a9f8=_0x83fbaa==null?void 0x0:_0x83fbaa[_0x45c663(0x506)])!=null?_0x38a9f8:_0x5ed00f)!=null?_0x3f9401:io;}[_0x519f42(0x34e)](){const _0x36fd4b=_0x519f42;var _0xe6df39,_0x47327b;const _0x1207ec=this['_configService'][_0x36fd4b(0x4ba)](no),_0x37fc18=this[_0x36fd4b(0x193)]['getConfig'](Z);return(_0x47327b=(_0xe6df39=_0x37fc18==null?void 0x0:_0x37fc18['signUrlServerUrl'])!=null?_0xe6df39:_0x1207ec)!=null?_0x47327b:ro;}['_getDownloadEndpointURL'](){const _0x44ec60=_0x519f42;var _0x2ee6b8;const _0x1aef3e=this['_configService']['getConfig'](Z);return(_0x2ee6b8=_0x1aef3e==null?void 0x0:_0x1aef3e[_0x44ec60(0x59a)])!=null?_0x2ee6b8:location[_0x44ec60(0x34f)];}[_0x519f42(0x56a)](_0x48cfde,_0x10475a){const _0x1cc47d=_0x519f42;return _0x48cfde[_0x1cc47d(0x2e5)](_0x1cc47d(0x57f),_0x10475a);}[_0x519f42(0x53c)](){const _0x4dcc96=_0x519f42;this[_0x4dcc96(0x37e)]-=0x1,this[_0x4dcc96(0x38c)][_0x4dcc96(0x213)](this[_0x4dcc96(0x37e)]);}},exports['CollabrationImageIoService']=Zs([Et(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),Et(0x1,a[_0x519f42(0x4e5)]),Et(0x2,a[_0x519f42(0x3b4)](a['IUniverInstanceService']))],exports[_0x519f42(0x498)]);var so=Object[_0x519f42(0x360)],oo=Object['getOwnPropertyDescriptor'],ao=(_0x54f701,_0x3ff512,_0x50aea9,_0x455d53)=>{const _0x4119fc=_0x519f42;for(var _0x24bb66=_0x455d53>0x1?void 0x0:_0x455d53?oo(_0x3ff512,_0x50aea9):_0x3ff512,_0x587fbd=_0x54f701[_0x4119fc(0x53a)]-0x1,_0xdba5ee;_0x587fbd>=0x0;_0x587fbd--)(_0xdba5ee=_0x54f701[_0x587fbd])&&(_0x24bb66=(_0x455d53?_0xdba5ee(_0x3ff512,_0x50aea9,_0x24bb66):_0xdba5ee(_0x24bb66))||_0x24bb66);return _0x455d53&&_0x24bb66&&so(_0x3ff512,_0x50aea9,_0x24bb66),_0x24bb66;},ui=(_0x387923,_0x249a00)=>(_0x141455,_0x5d2245)=>_0x249a00(_0x141455,_0x5d2245,_0x387923);function _0x3f43(_0x416233,_0x76d056){const _0x13672b=_0x1367();return _0x3f43=function(_0x3f4315,_0x5cdd34){_0x3f4315=_0x3f4315-0x175;let _0x284b89=_0x13672b[_0x3f4315];return _0x284b89;},_0x3f43(_0x416233,_0x76d056);}const co=_0x519f42(0x343);exports['MentionIoHttpService']=class{constructor(_0x5a3c64,_0x15e4f3){const _0x2d5fce=_0x519f42;this[_0x2d5fce(0x193)]=_0x5a3c64,this[_0x2d5fce(0x51d)]=_0x15e4f3;}[_0x519f42(0x394)](){const _0x4f6431=_0x519f42;var _0x26a63b,_0x2b4863;const _0x255dc6=this[_0x4f6431(0x193)][_0x4f6431(0x4ba)](xt),_0x56c1e5=this[_0x4f6431(0x193)][_0x4f6431(0x4ba)](Z);return(_0x2b4863=(_0x26a63b=_0x56c1e5==null?void 0x0:_0x56c1e5['authzUrl'])!=null?_0x26a63b:_0x255dc6)!=null?_0x2b4863:co;}async[_0x519f42(0x2af)](_0x1905d1){const _0x53f48c=_0x519f42,_0x3d4df2=this[_0x53f48c(0x394)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x3d4df2,{'params':{'objectID':_0x1905d1[_0x53f48c(0x235)],'unitID':_0x1905d1['unitId']}}))[_0x53f48c(0x32d)][_0x53f48c(0x580)][_0x53f48c(0x444)](_0x402d52=>({'objectId':_0x402d52['id'],'name':_0x402d52[_0x53f48c(0x43b)][_0x53f48c(0x3b2)],'metadata':{'icon':_0x402d52['subject'][_0x53f48c(0x1b4)]},'label':_0x402d52[_0x53f48c(0x43b)][_0x53f48c(0x3b2)],'objectType':a[_0x53f48c(0x51e)][_0x53f48c(0x497)]})),'metadata':{},'type':a[_0x53f48c(0x51e)]['PERSON']}]};}},exports[_0x519f42(0x561)]=ao([ui(0x0,a['Inject'](a[_0x519f42(0x4e5)])),ui(0x1,a[_0x519f42(0x3b4)](z['HTTPService']))],exports[_0x519f42(0x561)]);var lo=Object['defineProperty'],ho=Object[_0x519f42(0x544)],_o=(_0x500acb,_0x343942,_0x2f7a3b,_0x237b16)=>{const _0x12ffad=_0x519f42;for(var _0x279fd7=_0x237b16>0x1?void 0x0:_0x237b16?ho(_0x343942,_0x2f7a3b):_0x343942,_0x14c42d=_0x500acb[_0x12ffad(0x53a)]-0x1,_0x251668;_0x14c42d>=0x0;_0x14c42d--)(_0x251668=_0x500acb[_0x14c42d])&&(_0x279fd7=(_0x237b16?_0x251668(_0x343942,_0x2f7a3b,_0x279fd7):_0x251668(_0x279fd7))||_0x279fd7);return _0x237b16&&_0x279fd7&&lo(_0x343942,_0x2f7a3b,_0x279fd7),_0x279fd7;},Ne=(_0x2efc52,_0x1d8fde)=>(_0x387500,_0xa5a647)=>_0x1d8fde(_0x387500,_0xa5a647,_0x2efc52);let ot=class extends a[_0x519f42(0x275)]{constructor(_0xde4376,_0xad7d6d,_0x4a4e0c,_0x2b5c52,_0x4d6de5){const _0x2629bc=_0x519f42;super(),this[_0x2629bc(0x590)]=_0xde4376,this['_univerInstanceService']=_0xad7d6d,this['_permissionService']=_0x4a4e0c,this[_0x2629bc(0x5ea)]=_0x2b5c52,this[_0x2629bc(0x52f)]=_0x4d6de5,this[_0x2629bc(0x39b)](),this[_0x2629bc(0x37f)]();}[_0x519f42(0x37f)](){const _0x56d978=_0x519f42,_0x34bbde=async _0x2ffe98=>{const _0x324625=_0x3f43;(await this[_0x324625(0x5ea)][_0x324625(0x295)](_0x2ffe98))[_0x324625(0x4c0)][_0x324625(0x641)](V[_0x324625(0x1ae)](_0x252067=>_0x252067[_0x324625(0x509)]===m[_0x324625(0x3bc)][_0x324625(0x502)]),V[_0x324625(0x1e9)](this[_0x324625(0x191)]))[_0x324625(0x1db)](_0x3dc950=>{const _0x934589=_0x324625,_0x1fd29f=_0x3dc950,{reason:_0x4da1c3}=_0x1fd29f[_0x934589(0x2f1)];this[_0x934589(0x590)][_0x934589(0x4a6)](ee[_0x934589(0x4c8)])[_0x934589(0x1e6)]({'type':Ce[_0x934589(0x57a)][_0x934589(0x45a)],'content':this[_0x934589(0x52f)]['t'](_0x934589(0x284))+'('+_0x4da1c3+')'}),this[_0x934589(0x409)][_0x934589(0x4d1)](new k[(_0x934589(0x26e))](_0x2ffe98)['id'],!0x1),this['_collaborationSessionService'][_0x934589(0x2e6)](_0x2ffe98);});};N[_0x56d978(0x3b8)](this['_univerInstanceService'][_0x56d978(0x253)](a[_0x56d978(0x475)][_0x56d978(0x248)]),this[_0x56d978(0x403)]['getTypeOfUnitAdded$'](a[_0x56d978(0x475)][_0x56d978(0x249)]))[_0x56d978(0x641)](V['map'](_0x55417c=>_0x55417c['getUnitId']()),V['filter'](_0x323183=>!a[_0x56d978(0x529)](_0x323183)),V[_0x56d978(0x1e9)](this[_0x56d978(0x191)]))['subscribe'](_0x52ef94=>{_0x34bbde(_0x52ef94);});}['_initUnitPermissionChange'](){const _0x452c41=_0x519f42,_0x3b9024=async _0x209756=>{const _0x5098f7=_0x3f43;(await this[_0x5098f7(0x5ea)][_0x5098f7(0x295)](_0x209756))[_0x5098f7(0x4c0)][_0x5098f7(0x641)](V[_0x5098f7(0x1ae)](_0x17254f=>_0x17254f[_0x5098f7(0x509)]===m['CollaborationEvent'][_0x5098f7(0x605)]),V['takeUntil'](this[_0x5098f7(0x191)]))[_0x5098f7(0x1db)](_0x6d9c52=>{const _0x4ddf37=_0x5098f7,_0x2f19ff=_0x6d9c52,{objectId:_0x27e1a9}=_0x2f19ff['data'],_0x2c2915=this['_injector'][_0x4ddf37(0x4a6)](Le[_0x4ddf37(0x5bf)]);_0x27e1a9===_0x209756?_0x2c2915[_0x4ddf37(0x490)](_0x209756):_0x2c2915[_0x4ddf37(0x1df)](_0x209756,_0x27e1a9);});};N[_0x452c41(0x3b8)](this[_0x452c41(0x403)][_0x452c41(0x253)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x452c41(0x403)][_0x452c41(0x253)](a['UniverInstanceType'][_0x452c41(0x249)]))[_0x452c41(0x641)](V['map'](_0x263cd6=>_0x263cd6['getUnitId']()),V['filter'](_0x39b2ae=>!a[_0x452c41(0x529)](_0x39b2ae)),V[_0x452c41(0x1e9)](this[_0x452c41(0x191)]))[_0x452c41(0x1db)](_0x1e6f5e=>{_0x3b9024(_0x1e6f5e);});}};ot=_o([Ne(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Ne(0x1,a[_0x519f42(0x4aa)]),Ne(0x2,a[_0x519f42(0x3ed)]),Ne(0x3,a['Inject'](exports[_0x519f42(0x4ae)])),Ne(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)]))],ot);var uo=Object[_0x519f42(0x360)],fo=Object['getOwnPropertyDescriptor'],vo=(_0x3efe29,_0xc27bd,_0x446e75,_0x1a9209)=>{const _0x1499ee=_0x519f42;for(var _0x4558ef=_0x1a9209>0x1?void 0x0:_0x1a9209?fo(_0xc27bd,_0x446e75):_0xc27bd,_0x39cda4=_0x3efe29[_0x1499ee(0x53a)]-0x1,_0x4a92dc;_0x39cda4>=0x0;_0x39cda4--)(_0x4a92dc=_0x3efe29[_0x39cda4])&&(_0x4558ef=(_0x1a9209?_0x4a92dc(_0xc27bd,_0x446e75,_0x4558ef):_0x4a92dc(_0x4558ef))||_0x4558ef);return _0x1a9209&&_0x4558ef&&uo(_0xc27bd,_0x446e75,_0x4558ef),_0x4558ef;},di=(_0x5e863f,_0xfaafa7)=>(_0x313451,_0x3453a1)=>_0xfaafa7(_0x313451,_0x3453a1,_0x5e863f);exports[_0x519f42(0x49b)]=class{constructor(_0x5b74d9,_0x5469be){const _0x5cdf1d=_0x519f42;this[_0x5cdf1d(0x193)]=_0x5b74d9,this[_0x5cdf1d(0x2a1)]=_0x5469be;}async[_0x519f42(0x2a3)](_0x4e954b,_0x4f22ee){const _0x4c14d0=_0x519f42;var _0x1708e5;const {unitID:_0x2da39d,type:_0x52654a,revision:_0x4d3c54=0x0}=_0x4f22ee,_0x1d1d0b=this[_0x4c14d0(0x39c)]()+'/'+_0x52654a+_0x4c14d0(0x4ee)+_0x2da39d+_0x4c14d0(0x348)+_0x4d3c54,_0x36c5ca=(await this[_0x4c14d0(0x2a1)][_0x4c14d0(0x4a6)](_0x1d1d0b))[_0x4c14d0(0x32d)],_0x30607c=(_0x1708e5=_0x36c5ca[_0x4c14d0(0x3e0)])==null?void 0x0:_0x1708e5['workbook'];if(_0x30607c){const _0x3ab74b=_0x30607c==null?void 0x0:_0x30607c[_0x4c14d0(0x487)],_0x14eb92=m[_0x4c14d0(0x639)][_0x4c14d0(0x1ec)](m[_0x4c14d0(0x17c)](_0x3ab74b));_0x30607c[_0x4c14d0(0x487)]=_0x14eb92,Object[_0x4c14d0(0x36d)](_0x30607c['sheets'])['forEach'](([,_0x47f824])=>{const _0x2e2c1d=_0x4c14d0,_0x3b2493=_0x47f824['originalMeta'],_0x2f8b58=m['textEncoder']['encode'](m[_0x2e2c1d(0x17c)](_0x3b2493));_0x47f824['originalMeta']=_0x2f8b58;});}return _0x36c5ca;}async[_0x519f42(0x437)](_0x1df13a,_0x2bf9e2){const _0x28271c=_0x519f42,{unitID:_0x433f7b,type:_0x34680e,blockID:_0x4caa99}=_0x2bf9e2,_0xa28a98=this['_getAPIPrefix']()+'/'+_0x34680e+_0x28271c(0x4ee)+_0x433f7b+_0x28271c(0x565)+_0x4caa99;return(await this[_0x28271c(0x2a1)][_0x28271c(0x4a6)](_0xa28a98))[_0x28271c(0x32d)];}async['getDeserializedSheetBlock'](_0x3f6905,_0x3a4382){const _0x555f05=_0x519f42,{unitID:_0x1d14a8,type:_0x54a530,blockID:_0x2e21ad}=_0x3a4382,_0x5e7c11=this['_getAPIPrefix']()+_0x555f05(0x565)+_0x54a530+'/unit/'+_0x1d14a8+_0x555f05(0x565)+_0x2e21ad;return(await this[_0x555f05(0x2a1)][_0x555f05(0x4a6)](_0x5e7c11))[_0x555f05(0x32d)];}async[_0x519f42(0x2bd)](_0x5d73bb,_0x9ec84e){const _0xf2aedd=_0x519f42,{unitID:_0x51c34a,type:_0x5c0949,from:_0x4d2005,to:_0x5976cf}=_0x9ec84e,_0x183ac3=this[_0xf2aedd(0x457)]()+'/'+_0x5c0949+_0xf2aedd(0x4ee)+_0x51c34a+_0xf2aedd(0x5e4)+_0x4d2005+_0xf2aedd(0x469)+_0x5976cf;return(await this[_0xf2aedd(0x2a1)][_0xf2aedd(0x4a6)](_0x183ac3))[_0xf2aedd(0x32d)];}['getSnapshotAPIPath'](){const _0x2eeb63=_0x519f42;var _0x2efa7a;return(_0x2efa7a=this['_configService'][_0x2eeb63(0x4ba)](vi))!=null?_0x2efa7a:this[_0x2eeb63(0x457)]();}['_getAPIPrefix'](){const _0x23ab35=_0x519f42;var _0x2f464f,_0x227bfe;const _0x52e6fe=this[_0x23ab35(0x193)][_0x23ab35(0x4ba)](fi),_0x408dee=this[_0x23ab35(0x193)]['getConfig'](Z);return(_0x227bfe=(_0x2f464f=_0x408dee==null?void 0x0:_0x408dee['snapshotServerUrl'])!=null?_0x2f464f:_0x52e6fe)!=null?_0x227bfe:qi;}async[_0x519f42(0x5c7)](_0x83ee6c,_0x25b2e1){const _0x51bf4c=_0x519f42,_0x33b08e=_0x51bf4c(0x55e)+_0x25b2e1[_0x51bf4c(0x1d1)]+_0x51bf4c(0x4ee)+_0x25b2e1[_0x51bf4c(0x57d)]+_0x51bf4c(0x505);return(await this[_0x51bf4c(0x2a1)][_0x51bf4c(0x4a6)](_0x33b08e,{'params':{'resourceId':JSON['stringify'](_0x25b2e1['resourceIDs'])}}))['body'];}[_0x519f42(0x591)](){const _0x4532f6=_0x519f42;throw new Error(_0x4532f6(0x3b3));}[_0x519f42(0x52a)](){const _0x2c991b=_0x519f42;throw new Error(_0x2c991b(0x3b3));}[_0x519f42(0x58e)](){const _0x5af1ca=_0x519f42;throw new Error(_0x5af1ca(0x3b3));}[_0x519f42(0x3c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x519f42(0x3f1)](){const _0x24d09e=_0x519f42;throw new Error(_0x24d09e(0x3b3));}},exports[_0x519f42(0x49b)]=vo([di(0x0,a[_0x519f42(0x4e5)]),di(0x1,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)]))],exports[_0x519f42(0x49b)]);var So=Object['defineProperty'],po=Object['getOwnPropertyDescriptor'],mo=(_0x381ac0,_0x11ac63,_0xffc08a,_0x449826)=>{for(var _0x53cb29=_0x449826>0x1?void 0x0:_0x449826?po(_0x11ac63,_0xffc08a):_0x11ac63,_0x522354=_0x381ac0['length']-0x1,_0x57f5b7;_0x522354>=0x0;_0x522354--)(_0x57f5b7=_0x381ac0[_0x522354])&&(_0x53cb29=(_0x449826?_0x57f5b7(_0x11ac63,_0xffc08a,_0x53cb29):_0x57f5b7(_0x53cb29))||_0x53cb29);return _0x449826&&_0x53cb29&&So(_0x11ac63,_0xffc08a,_0x53cb29),_0x53cb29;},Ae=(_0x34d3e1,_0x28ce69)=>(_0x4cf18a,_0x1c87f4)=>_0x28ce69(_0x4cf18a,_0x1c87f4,_0x34d3e1);let yt=class extends a[_0x519f42(0x536)]{constructor(_0x459c31,_0x3fcdc7,_0x6865a5,_0x53053f,_0x5bf9e9){const _0x28de48=_0x519f42;super(_0x459c31,_0x3fcdc7,_0x6865a5),this[_0x28de48(0x2b6)]=_0x53053f,this['_logService']=_0x5bf9e9;}[_0x519f42(0x46b)](_0xc6361d,_0x60625b){const _0x259503=_0x519f42,_0x3d3cdb=this['_getUndoStack'](_0xc6361d);if(_0x3d3cdb)try{const _0x4fe70f=this['_transformStack'](_0x3d3cdb,_0x60625b);this[_0x259503(0x3a5)](_0xc6361d,_0x4fe70f);}catch(_0xa13a3f){this[_0x259503(0x392)][_0x259503(0x1d8)](_0x259503(0x51b),_0xa13a3f),this[_0x259503(0x4be)](_0xc6361d);}const _0x5cb428=this[_0x259503(0x41c)](_0xc6361d);if(_0x5cb428)try{const _0x583a05=this[_0x259503(0x340)](_0x5cb428,_0x60625b);this[_0x259503(0x346)](_0xc6361d,_0x583a05);}catch(_0x5cdfd9){this[_0x259503(0x392)][_0x259503(0x1d8)](_0x5cdfd9),this[_0x259503(0x411)](_0xc6361d);}}['_clearUndo'](_0x5c5726){const _0x4cde32=_0x519f42,_0x14401d=this[_0x4cde32(0x5a1)](_0x5c5726);_0x14401d&&(_0x14401d[_0x4cde32(0x53a)]=0x0,this[_0x4cde32(0x645)]());}[_0x519f42(0x411)](_0x53d4d1){const _0x5adf26=_0x519f42,_0x301f3a=this[_0x5adf26(0x41c)](_0x53d4d1);_0x301f3a&&(_0x301f3a[_0x5adf26(0x53a)]=0x0,this[_0x5adf26(0x645)]());}[_0x519f42(0x3a5)](_0x1d8484,_0x136d81){const _0x589a53=_0x519f42;this['_undoStacks'][_0x589a53(0x3e1)](_0x1d8484,_0x136d81),this[_0x589a53(0x645)]();}['_substituteRedoStack'](_0x17add8,_0x3eb8f4){const _0x427e61=_0x519f42;this[_0x427e61(0x5c4)][_0x427e61(0x3e1)](_0x17add8,_0x3eb8f4),this[_0x427e61(0x645)]();}['_transformStack'](_0x25cc24,_0x305cae){const _0x4e4616=_0x519f42,_0x924f0a=[];let _0x4c3786=_0x305cae,_0x1aec9e=_0x305cae;for(let _0x4bf15b=_0x25cc24[_0x4e4616(0x53a)]-0x1;_0x4bf15b>=0x0;_0x4bf15b--){const {unitID:_0x4aff13,undoMutations:_0x53b524,redoMutations:_0x2bafa9}=_0x25cc24[_0x4bf15b],_0x125fc0=this[_0x4e4616(0x2b6)][_0x4e4616(0x187)](_0x4c3786,_0x53b524),_0x5cb66a=this[_0x4e4616(0x2b6)][_0x4e4616(0x187)](_0x1aec9e,_0x2bafa9);if(m['isTransformMutationsWithChangesetFailure'](_0x125fc0)||m['isTransformMutationsWithChangesetFailure'](_0x5cb66a)){this[_0x4e4616(0x392)][_0x4e4616(0x1d8)]('[CollaborationUndoRedoService]',_0x4e4616(0x512),_0x125fc0,_0x5cb66a);break;}_0x4c3786=_0x125fc0[_0x4e4616(0x3b6)],_0x1aec9e=_0x5cb66a[_0x4e4616(0x3b6)],_0x924f0a[_0x4e4616(0x205)]({'unitID':_0x4aff13,'undoMutations':_0x125fc0[_0x4e4616(0x20d)],'redoMutations':_0x5cb66a[_0x4e4616(0x20d)]});}return _0x924f0a['reverse']();}};yt=mo([Ae(0x0,a['IUniverInstanceService']),Ae(0x1,a['ICommandService']),Ae(0x2,a[_0x519f42(0x63a)]),Ae(0x3,m[_0x519f42(0x562)]),Ae(0x4,a[_0x519f42(0x5eb)])],yt);class ki extends a[_0x519f42(0x275)]{constructor(){const _0x10d01d=_0x519f42;super(),I(this,_0x10d01d(0x513)),this[_0x10d01d(0x513)]=N[_0x10d01d(0x3d0)](window,_0x10d01d(0x3e6))[_0x10d01d(0x641)](N[_0x10d01d(0x1e9)](this['dispose$']),N[_0x10d01d(0x3cb)](0x1),N[_0x10d01d(0x364)](void 0x0));}['setParam'](_0x234937,_0x33918d,_0x463d18=!0x1){const _0x3d9fa0=_0x519f42,_0x2f59c9=new URL(window['location'][_0x3d9fa0(0x1c8)]);_0x2f59c9[_0x3d9fa0(0x197)][_0x3d9fa0(0x3e1)](_0x234937,_0x33918d),_0x463d18?window[_0x3d9fa0(0x378)][_0x3d9fa0(0x606)]('','',_0x2f59c9[_0x3d9fa0(0x1a0)]()):window['history'][_0x3d9fa0(0x4a1)]('','',_0x2f59c9[_0x3d9fa0(0x1a0)]());}[_0x519f42(0x410)](_0x3cbafb,_0x3af625=!0x1){const _0x4af19b=_0x519f42,_0x15ad09=new URL(window[_0x4af19b(0x376)]['href']);_0x15ad09[_0x4af19b(0x197)]['delete'](_0x3cbafb),_0x3af625?window[_0x4af19b(0x378)]['replaceState']('','',_0x15ad09[_0x4af19b(0x1a0)]()):window[_0x4af19b(0x378)][_0x4af19b(0x4a1)]('','',_0x15ad09['toString']());}['getParam'](_0x28e086){const _0x2e5945=_0x519f42;var _0x543c13;return(_0x543c13=new URL(window[_0x2e5945(0x376)]['href'])[_0x2e5945(0x197)][_0x2e5945(0x4a6)](_0x28e086))!=null?_0x543c13:void 0x0;}}var Wi=Object[_0x519f42(0x360)],go=Object[_0x519f42(0x544)],Io=(_0x977741,_0x5a4344,_0xb631c7)=>_0x5a4344 in _0x977741?Wi(_0x977741,_0x5a4344,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb631c7}):_0x977741[_0x5a4344]=_0xb631c7,Co=(_0x33d0b7,_0x43ef96,_0x634455,_0x3670eb)=>{const _0x130a69=_0x519f42;for(var _0x1ab9e7=_0x3670eb>0x1?void 0x0:_0x3670eb?go(_0x43ef96,_0x634455):_0x43ef96,_0x29cf55=_0x33d0b7[_0x130a69(0x53a)]-0x1,_0x1d3711;_0x29cf55>=0x0;_0x29cf55--)(_0x1d3711=_0x33d0b7[_0x29cf55])&&(_0x1ab9e7=(_0x3670eb?_0x1d3711(_0x43ef96,_0x634455,_0x1ab9e7):_0x1d3711(_0x1ab9e7))||_0x1ab9e7);return _0x3670eb&&_0x1ab9e7&&Wi(_0x43ef96,_0x634455,_0x1ab9e7),_0x1ab9e7;},Be=(_0x5d7d0f,_0x272148)=>(_0x3e894c,_0x2a9faa)=>_0x272148(_0x3e894c,_0x2a9faa,_0x5d7d0f),Eo=(_0x409ace,_0x8b3fb3,_0x28fbc8)=>Io(_0x409ace,_0x8b3fb3+'',_0x28fbc8);const bo=_0x519f42(0x46d);exports[_0x519f42(0x30f)]=class extends a[_0x519f42(0x572)]{constructor(_0x17229d=sn,_0x528f1f,_0x5b0862,_0xf5b4e4,_0x2f387c){const _0x266758=_0x519f42;super(),this[_0x266758(0x293)]=_0x17229d,this[_0x266758(0x392)]=_0x528f1f,this[_0x266758(0x42c)]=_0x5b0862,this[_0x266758(0x590)]=_0xf5b4e4,this[_0x266758(0x193)]=_0x2f387c;const {..._0x1c7895}=this[_0x266758(0x293)];this[_0x266758(0x193)][_0x266758(0x1d2)](Z,_0x1c7895);}[_0x519f42(0x29a)](){const _0x50c028=_0x519f42;this[_0x50c028(0x369)](),this[_0x50c028(0x186)]();}['onReady'](){const _0x2d1085=_0x519f42;a[_0x2d1085(0x43f)](this[_0x2d1085(0x590)],[[nt],[it]]);}[_0x519f42(0x2cb)](){this['_registerRenderDependencies']();}[_0x519f42(0x369)](){const _0x52edca=_0x519f42;var _0x43ca0c,_0x4ab757,_0x12c949,_0x239bf9;this[_0x52edca(0x590)]['has'](a[_0x52edca(0x2da)])&&this['_logService'][_0x52edca(0x1d8)]('[UniverCollaborationClientPlugin]',_0x52edca(0x27d));const _0x491abb=[[a[_0x52edca(0x2da)],{'useClass':yt}],[exports[_0x52edca(0x4ae)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x52edca(0x1f6)]],[exports[_0x52edca(0x467)]],[z[_0x52edca(0x2d9)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x4ab757=(_0x43ca0c=this['_config'])==null?void 0x0:_0x43ca0c[_0x52edca(0x45d)])!=null?_0x4ab757:exports[_0x52edca(0x1cb)]}],[m[_0x52edca(0x433)],{'useClass':exports[_0x52edca(0x49b)]}],[a[_0x52edca(0x23a)],{'useClass':exports['AuthzIoHttpService']}],[te[_0x52edca(0x43a)],{'useClass':exports['CollabrationImageIoService']}],[a[_0x52edca(0x24c)],{'useClass':exports[_0x52edca(0x561)]}],[exports[_0x52edca(0x321)]],[exports['DataLoaderController']],[exports[_0x52edca(0x460)]],[nt],[ye],[it]];(_0x12c949=this['_config'])!=null&&_0x12c949[_0x52edca(0x62a)]&&_0x491abb['push']([at,{'useClass':$n}]),a[_0x52edca(0x625)](this['_injector'],a[_0x52edca(0x63d)](_0x491abb,(_0x239bf9=this[_0x52edca(0x293)])==null?void 0x0:_0x239bf9['override']));}[_0x519f42(0x42f)](){const _0x58c2de=_0x519f42;this[_0x58c2de(0x5db)](this[_0x58c2de(0x42c)]['registerRenderModule'](a[_0x58c2de(0x475)][_0x58c2de(0x249)],[Rt])),this[_0x58c2de(0x5db)](this[_0x58c2de(0x42c)][_0x58c2de(0x620)](a[_0x58c2de(0x475)]['UNIVER_SHEET'],[Ot]));}['_initDependencies'](){const _0x2a5a1f=_0x519f42;var _0x1bbee4,_0x3c201e;this[_0x2a5a1f(0x590)][_0x2a5a1f(0x4a6)](z[_0x2a5a1f(0x623)])[_0x2a5a1f(0x5a0)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1bbee4=this['_config'])!=null&&_0x1bbee4['enableOfflineEditing']||this[_0x2a5a1f(0x590)][_0x2a5a1f(0x4a6)](exports['LocalCacheService'])[_0x2a5a1f(0x5de)](),(_0x3c201e=this['_config'])!=null&&_0x3c201e[_0x2a5a1f(0x1f9)]&&a[_0x2a5a1f(0x43f)](this[_0x2a5a1f(0x590)],[[rt]]),a[_0x2a5a1f(0x43f)](this['_injector'],[[st],[ye],[exports['DataLoaderController']],[exports[_0x2a5a1f(0x321)]],[exports[_0x2a5a1f(0x460)]],[ot]]);}},Eo(exports[_0x519f42(0x30f)],_0x519f42(0x3e7),bo),exports[_0x519f42(0x30f)]=Co([a['DependentOn'](m[_0x519f42(0x49a)],z[_0x519f42(0x5b2)]),Be(0x1,a['ILogService']),Be(0x2,Y['IRenderManagerService']),Be(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Be(0x4,a[_0x519f42(0x4e5)])],exports['UniverCollaborationClientPlugin']),exports[_0x519f42(0x5bc)]=xt,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Z,exports[_0x519f42(0x466)]=Ci,exports[_0x519f42(0x5df)]=Si,exports[_0x519f42(0x5e7)]=K,exports[_0x519f42(0x4f4)]=$i,exports[_0x519f42(0x334)]=wt,exports[_0x519f42(0x55a)]=pi,exports[_0x519f42(0x1f7)]=Dt,exports['ICollaborationSocketService']=Pt,exports[_0x519f42(0x5ba)]=Lt,exports[_0x519f42(0x1ac)]=Ii,exports['LOGIN_URL_KEY']=Ei,exports[_0x519f42(0x64b)]=gi,exports[_0x519f42(0x38f)]=Ki,exports[_0x519f42(0x384)]=fi,exports[_0x519f42(0x263)]=vi,exports[_0x519f42(0x3a6)]=ne,exports[_0x519f42(0x26b)]=Mi,exports['WebURLService']=ki,exports[_0x519f42(0x1a2)]=Ri,exports[_0x519f42(0x34d)]=Oi;
|
1
|
+
'use strict';var _0x4088ec=_0x5540;(function(_0x8100b5,_0x12b6b0){var _0x23a1f5=_0x5540,_0x34f259=_0x8100b5();while(!![]){try{var _0x581f22=parseInt(_0x23a1f5(0x39c))/0x1+parseInt(_0x23a1f5(0x2dc))/0x2*(parseInt(_0x23a1f5(0x40f))/0x3)+parseInt(_0x23a1f5(0x3c9))/0x4+parseInt(_0x23a1f5(0x351))/0x5+-parseInt(_0x23a1f5(0x2b8))/0x6*(parseInt(_0x23a1f5(0x233))/0x7)+parseInt(_0x23a1f5(0x3f1))/0x8*(-parseInt(_0x23a1f5(0x49c))/0x9)+parseInt(_0x23a1f5(0x50c))/0xa*(-parseInt(_0x23a1f5(0x1f8))/0xb);if(_0x581f22===_0x12b6b0)break;else _0x34f259['push'](_0x34f259['shift']());}catch(_0x3f3ace){_0x34f259['push'](_0x34f259['shift']());}}}(_0x5935,0xd27ad));var At=Object[_0x4088ec(0x4b1)],Lt=(_0x1ee05a,_0x534a45,_0x774edd)=>_0x534a45 in _0x1ee05a?At(_0x1ee05a,_0x534a45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x774edd}):_0x1ee05a[_0x534a45]=_0x774edd,w=(_0xb95744,_0x444864,_0x5777b7)=>Lt(_0xb95744,typeof _0x444864!='symbol'?_0x444864+'':_0x444864,_0x5777b7);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x4088ec(0x3a8)});const a=require('@univerjs/core'),B=require('rxjs'),G=require(_0x4088ec(0x41a)),Y=require(_0x4088ec(0x42e)),m=require(_0x4088ec(0x4a2)),Mt=require(_0x4088ec(0x33c)),ut=require(_0x4088ec(0x4db)),W=require(_0x4088ec(0x307)),X=require(_0x4088ec(0x26c)),dt=_0x4088ec(0x1ea),xt='/universer-api/snapshot',vt=_0x4088ec(0x3b6),jt=_0x4088ec(0x43c),$t=0x7d0,ft=_0x4088ec(0x388),St=_0x4088ec(0x441),Ht=_0x4088ec(0x516),pt='HEARTBEAT_INTERVAL',kt=0x7530,He=_0x4088ec(0x23b),gt=0x4e20,Bt=0x4e20,mt=_0x4088ec(0x4b4),Ft=0x3,Wt=_0x4088ec(0x27e),Vt=0x3e8,It=_0x4088ec(0x314),Gt=_0x4088ec(0x2cf),Et=_0x4088ec(0x48f),Kt=_0x4088ec(0x38a);var Ct=(_0xb9e0f=>(_0xb9e0f[_0xb9e0f[_0x4088ec(0x1f5)]=0x0]=_0x4088ec(0x1f5),_0xb9e0f[_0xb9e0f['OK']=0x1]='OK',_0xb9e0f[_0xb9e0f[_0x4088ec(0x2b7)]=0x2]=_0x4088ec(0x2b7),_0xb9e0f[_0xb9e0f[_0x4088ec(0x508)]=0x3]=_0x4088ec(0x508),_0xb9e0f[_0xb9e0f[_0x4088ec(0x4cb)]=0x4]=_0x4088ec(0x4cb),_0xb9e0f[_0xb9e0f[_0x4088ec(0x38f)]=0x5]=_0x4088ec(0x38f),_0xb9e0f[_0xb9e0f[_0x4088ec(0x3c6)]=0x6]=_0x4088ec(0x3c6),_0xb9e0f[_0xb9e0f[_0x4088ec(0x2c7)]=0x7]=_0x4088ec(0x2c7),_0xb9e0f[_0xb9e0f[_0x4088ec(0x460)]=0x8]='TOO_MANY_REQUESTS',_0xb9e0f[_0xb9e0f['COMPLETION_FINISHED']=0x9]=_0x4088ec(0x459),_0xb9e0f[_0xb9e0f[_0x4088ec(0x23d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xb9e0f[_0xb9e0f[_0x4088ec(0x27b)]=0x1771]=_0x4088ec(0x27b),_0xb9e0f[_0xb9e0f[_0x4088ec(0x445)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xb9e0f[_0xb9e0f[_0x4088ec(0x28e)]=0x1773]=_0x4088ec(0x28e),_0xb9e0f[_0xb9e0f[_0x4088ec(0x2fa)]=0x1b59]=_0x4088ec(0x2fa),_0xb9e0f[_0xb9e0f[_0x4088ec(0x369)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xb9e0f[_0xb9e0f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4088ec(0x2b6),_0xb9e0f[_0xb9e0f[_0x4088ec(0x34b)]=0x1b5c]=_0x4088ec(0x34b),_0xb9e0f[_0xb9e0f[_0x4088ec(0x204)]=0x1b5d]='APPLY_DUPLICATED',_0xb9e0f[_0xb9e0f[_0x4088ec(0x2a5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xb9e0f[_0xb9e0f[_0x4088ec(0x310)]=0x2329]=_0x4088ec(0x310),_0xb9e0f[_0xb9e0f[_0x4088ec(0x3a2)]=0x232a]=_0x4088ec(0x3a2),_0xb9e0f[_0xb9e0f[_0x4088ec(0x3c4)]=0x232b]=_0x4088ec(0x3c4),_0xb9e0f[_0xb9e0f[_0x4088ec(0x1c6)]=0x232c]=_0x4088ec(0x1c6),_0xb9e0f[_0xb9e0f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4088ec(0x359),_0xb9e0f[_0xb9e0f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4088ec(0x244),_0xb9e0f[_0xb9e0f[_0x4088ec(0x2c5)]=0x2712]=_0x4088ec(0x2c5),_0xb9e0f[_0xb9e0f[_0x4088ec(0x214)]=0x2713]=_0x4088ec(0x214),_0xb9e0f[_0xb9e0f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4088ec(0x33d),_0xb9e0f[_0xb9e0f['UNRECOGNIZED']=-0x1]=_0x4088ec(0x3cb),_0xb9e0f))(Ct||{}),Z=(_0x23fcbb=>(_0x23fcbb[_0x23fcbb[_0x4088ec(0x482)]=0x0]=_0x4088ec(0x482),_0x23fcbb[_0x23fcbb[_0x4088ec(0x3f8)]=0x1]=_0x4088ec(0x3f8),_0x23fcbb[_0x23fcbb[_0x4088ec(0x3c5)]=0x2]=_0x4088ec(0x3c5),_0x23fcbb[_0x23fcbb['UNIVER_SLIDE']=0x3]=_0x4088ec(0x531),_0x23fcbb[_0x23fcbb['UNIVER_PROJECT']=0x4]=_0x4088ec(0x2f5),_0x23fcbb[_0x23fcbb[_0x4088ec(0x3cb)]=-0x1]=_0x4088ec(0x3cb),_0x23fcbb))(Z||{}),V=(_0x468f38=>(_0x468f38[_0x468f38[_0x4088ec(0x20d)]=0x0]='UNKNOWN_CMD',_0x468f38[_0x468f38[_0x4088ec(0x387)]=0x1]=_0x4088ec(0x387),_0x468f38[_0x468f38[_0x4088ec(0x397)]=0x2]=_0x4088ec(0x397),_0x468f38[_0x468f38[_0x4088ec(0x3be)]=0x3]=_0x4088ec(0x3be),_0x468f38[_0x468f38[_0x4088ec(0x25d)]=0x4]='INGEST',_0x468f38[_0x468f38['HEARTBEAT']=0x5]=_0x4088ec(0x22a),_0x468f38[_0x468f38[_0x4088ec(0x426)]=0x6]='RECV',_0x468f38[_0x468f38[_0x4088ec(0x3cb)]=-0x1]='UNRECOGNIZED',_0x468f38))(V||{}),he=(_0x3a1bb8=>(_0x3a1bb8[_0x3a1bb8[_0x4088ec(0x2cb)]=0x0]='UNKNOWN_CODE',_0x3a1bb8[_0x3a1bb8['OK']=0x1]='OK',_0x3a1bb8[_0x3a1bb8[_0x4088ec(0x2a9)]=0x2]=_0x4088ec(0x2a9),_0x3a1bb8[_0x3a1bb8[_0x4088ec(0x28b)]=0x3e9]=_0x4088ec(0x28b),_0x3a1bb8[_0x3a1bb8[_0x4088ec(0x1cd)]=0x3ea]=_0x4088ec(0x1cd),_0x3a1bb8[_0x3a1bb8[_0x4088ec(0x407)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3a1bb8[_0x3a1bb8[_0x4088ec(0x2f4)]=0x3ec]=_0x4088ec(0x2f4),_0x3a1bb8[_0x3a1bb8[_0x4088ec(0x3cb)]=-0x1]='UNRECOGNIZED',_0x3a1bb8))(he||{}),Tt=(_0x3a5566=>(_0x3a5566[_0x3a5566[_0x4088ec(0x393)]=0x0]=_0x4088ec(0x393),_0x3a5566[_0x3a5566[_0x4088ec(0x4eb)]=0x1]=_0x4088ec(0x4eb),_0x3a5566[_0x3a5566['HttpExport']=0x2]=_0x4088ec(0x3c8),_0x3a5566[_0x3a5566['UnitEmbedded']=0x3]=_0x4088ec(0x1fb),_0x3a5566[_0x3a5566[_0x4088ec(0x44f)]=0x4]=_0x4088ec(0x44f),_0x3a5566[_0x3a5566['UNRECOGNIZED']=-0x1]=_0x4088ec(0x3cb),_0x3a5566))(Tt||{});const z=_0x4088ec(0x28d),Yt={};function bt(_0x1c29bf){var _0x43d1b7=_0x4088ec,_0x3fa0e1,_0x38b1da,_0x4e3fb1,_0x3ad2b3,_0x205d02;const _0x46686b=_0x1c29bf['data'],_0x3455e1=JSON[_0x43d1b7(0x225)](_0x46686b);switch(_0x3455e1[_0x43d1b7(0x1e0)]){case V['HEARTBEAT']:case V[_0x43d1b7(0x387)]:{const _0x3a0667=_0x3455e1[_0x43d1b7(0x429)];return{..._0x3455e1,'data':_0x3a0667,'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};}case V[_0x43d1b7(0x397)]:{const _0x7aefec=_0x3455e1['joinRsp'];return{..._0x3455e1,'data':_0x7aefec,'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};}case V[_0x43d1b7(0x426)]:{const _0x17af96=_0x3455e1[_0x43d1b7(0x487)];switch(_0x17af96[_0x43d1b7(0x4d6)]){case m[_0x43d1b7(0x4ad)][_0x43d1b7(0x2a0)]:return{..._0x3455e1,'data':{..._0x17af96,'data':(_0x3fa0e1=_0x17af96[_0x43d1b7(0x411)])==null?void 0x0:_0x3fa0e1['cs']},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m['CollaborationEvent'][_0x43d1b7(0x37b)]:return{..._0x3455e1,'data':{..._0x17af96,'data':(_0x38b1da=_0x17af96['csAckEvent'])==null?void 0x0:_0x38b1da['cs']},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m[_0x43d1b7(0x4ad)][_0x43d1b7(0x4d7)]:return{..._0x3455e1,'data':{..._0x17af96,'data':(_0x4e3fb1=_0x17af96[_0x43d1b7(0x28c)])==null?void 0x0:_0x4e3fb1['cs']},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m[_0x43d1b7(0x4ad)][_0x43d1b7(0x383)]:return{..._0x3455e1,'data':{..._0x17af96,'data':(_0x3ad2b3=_0x17af96[_0x43d1b7(0x1ef)])==null?void 0x0:_0x3ad2b3['cs']},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m[_0x43d1b7(0x4ad)][_0x43d1b7(0x392)]:return{..._0x3455e1,'data':{..._0x17af96,'data':(_0x205d02=_0x17af96[_0x43d1b7(0x519)])==null?void 0x0:_0x205d02['cs']},'cmd':_0x3455e1['cmd']};case m[_0x43d1b7(0x4ad)]['UPDATE_CURSOR']:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96[_0x43d1b7(0x256)]},'cmd':_0x3455e1['cmd']};case m[_0x43d1b7(0x4ad)][_0x43d1b7(0x25b)]:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96[_0x43d1b7(0x2ef)]},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m[_0x43d1b7(0x4ad)]['USERS_LEAVE']:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96[_0x43d1b7(0x415)]},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m[_0x43d1b7(0x4ad)][_0x43d1b7(0x3e9)]:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96['liveShareNewHost']},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m['CollaborationEvent'][_0x43d1b7(0x300)]:case m[_0x43d1b7(0x4ad)]['LIVESHARE_OPERATION']:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96[_0x43d1b7(0x344)]},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m['CollaborationEvent'][_0x43d1b7(0x4bb)]:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96[_0x43d1b7(0x20f)]},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m[_0x43d1b7(0x4ad)][_0x43d1b7(0x3ee)]:return{..._0x3455e1,'data':_0x17af96,'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m['CollaborationEvent'][_0x43d1b7(0x4bd)]:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96[_0x43d1b7(0x44d)]},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m[_0x43d1b7(0x4ad)][_0x43d1b7(0x353)]:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96[_0x43d1b7(0x2ca)]},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};case m['CollaborationEvent'][_0x43d1b7(0x4c8)]:return{..._0x3455e1,'data':{..._0x17af96,'data':_0x17af96[_0x43d1b7(0x26a)]},'cmd':_0x3455e1[_0x43d1b7(0x1e0)]};default:return _0x3455e1;}}default:return _0x3455e1;}}function Rt(_0x22101f){var _0xab43b3=_0x4088ec;switch(_0x22101f[_0xab43b3(0x1e0)]){case V[_0xab43b3(0x22a)]:case V[_0xab43b3(0x387)]:return JSON[_0xab43b3(0x2ff)]({'cmd':_0x22101f[_0xab43b3(0x1e0)],'routeKey':_0x22101f[_0xab43b3(0x277)]});case V[_0xab43b3(0x25d)]:{let _0x2fa39e;switch(_0x22101f[_0xab43b3(0x432)][_0xab43b3(0x4d6)]){case m[_0xab43b3(0x4ad)][_0xab43b3(0x2df)]:{_0x2fa39e={'eventID':m[_0xab43b3(0x4ad)][_0xab43b3(0x2df)],'updateCursorEvent':_0x22101f[_0xab43b3(0x432)][_0xab43b3(0x432)]};break;}case m[_0xab43b3(0x4ad)]['USERS_LEAVE']:{_0x2fa39e={'eventID':m['CollaborationEvent'][_0xab43b3(0x42c)],'leaveEvent':_0x22101f['data'][_0xab43b3(0x432)]};break;}case m[_0xab43b3(0x4ad)][_0xab43b3(0x25b)]:{_0x2fa39e={'eventID':m[_0xab43b3(0x4ad)][_0xab43b3(0x25b)],'joinEvent':_0x22101f[_0xab43b3(0x432)][_0xab43b3(0x432)]};break;}case m[_0xab43b3(0x4ad)][_0xab43b3(0x3e9)]:{_0x2fa39e={'eventID':m['CollaborationEvent'][_0xab43b3(0x3e9)],'liveShareNewHost':_0x22101f[_0xab43b3(0x432)][_0xab43b3(0x432)]};break;}case m[_0xab43b3(0x4ad)][_0xab43b3(0x1dc)]:{_0x2fa39e={'eventID':m[_0xab43b3(0x4ad)][_0xab43b3(0x1dc)],'liveShareOperation':_0x22101f[_0xab43b3(0x432)]['data']};break;}case m['CollaborationEvent'][_0xab43b3(0x4bb)]:{_0x2fa39e={'eventID':m[_0xab43b3(0x4ad)][_0xab43b3(0x4bb)],'liveShareTerminate':_0x22101f[_0xab43b3(0x432)][_0xab43b3(0x432)]};break;}case m[_0xab43b3(0x4ad)][_0xab43b3(0x206)]:{_0x2fa39e={'eventID':m[_0xab43b3(0x4ad)][_0xab43b3(0x206)],'liveShareRequestHost':_0x22101f[_0xab43b3(0x432)][_0xab43b3(0x432)]};break;}case m[_0xab43b3(0x4ad)][_0xab43b3(0x300)]:{_0x2fa39e={'eventID':m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2fa39e={'eventID':_0x22101f[_0xab43b3(0x432)]['eventID']};}return JSON[_0xab43b3(0x2ff)]({'cmd':_0x22101f[_0xab43b3(0x1e0)],'routeKey':_0x22101f['routeKey'],'collaMsg':_0x2fa39e});}case V['JOIN']:return JSON[_0xab43b3(0x2ff)]({'cmd':_0x22101f[_0xab43b3(0x1e0)],'routeKey':_0x22101f[_0xab43b3(0x277)],'joinReq':_0x22101f[_0xab43b3(0x432)]});case V[_0xab43b3(0x3be)]:return JSON[_0xab43b3(0x2ff)]({'cmd':_0x22101f[_0xab43b3(0x1e0)],'routeKey':_0x22101f[_0xab43b3(0x277)],'leaveReq':_0x22101f[_0xab43b3(0x432)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x4088ec(0x4b1)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x1d5800,_0x4f5607,_0x5043ed,_0x4d3d12)=>{var _0x235fe3=_0x4088ec;for(var _0x4e6833=_0x4d3d12>0x1?void 0x0:_0x4d3d12?zt(_0x4f5607,_0x5043ed):_0x4f5607,_0x211c85=_0x1d5800[_0x235fe3(0x42f)]-0x1,_0x1e6701;_0x211c85>=0x0;_0x211c85--)(_0x1e6701=_0x1d5800[_0x211c85])&&(_0x4e6833=(_0x4d3d12?_0x1e6701(_0x4f5607,_0x5043ed,_0x4e6833):_0x1e6701(_0x4e6833))||_0x4e6833);return _0x4d3d12&&_0x4e6833&&qt(_0x4f5607,_0x5043ed,_0x4e6833),_0x4e6833;},ue=(_0x4191b1,_0x2957be)=>(_0x31a4b6,_0x122a49)=>_0x2957be(_0x31a4b6,_0x122a49,_0x4191b1);const ke=a['createIdentifier'](_0x4088ec(0x4f7));function Xt(_0x376de8,_0xea6bb8,_0x1f8086){var _0x2257a3=_0x4088ec;return _0x376de8+'/'+_0xea6bb8+'/unit/'+_0x1f8086+_0x2257a3(0x27a);}exports[_0x4088ec(0x3b9)]=class extends a[_0x4088ec(0x3f3)]{constructor(_0x3f2e20,_0x1c6440,_0x4d1280,_0x1d17a8,_0x3226e8){var _0x488a63=_0x4088ec;super(),this[_0x488a63(0x24e)]=_0x3f2e20,this[_0x488a63(0x26e)]=_0x1c6440,this[_0x488a63(0x3f5)]=_0x4d1280,this[_0x488a63(0x2ee)]=_0x1d17a8,this[_0x488a63(0x458)]=_0x3226e8;}[_0x4088ec(0x333)](_0x183601){var _0x519fd9=_0x4088ec;const _0x2f8878=this[_0x519fd9(0x26e)]['createSocket'](_0x183601);if(!_0x2f8878)throw new Error(_0x519fd9(0x3d8));const _0x1e44b2=new a[(_0x519fd9(0x27f))](),_0x28b952=new B[(_0x519fd9(0x3b7))]();_0x1e44b2[_0x519fd9(0x335)](_0x2f8878['close$'][_0x519fd9(0x202)](_0x406c6d=>_0x28b952[_0x519fd9(0x22e)](_0x406c6d))),_0x1e44b2['add'](a[_0x519fd9(0x4bc)](()=>_0x28b952[_0x519fd9(0x352)]()));const _0x3d0cc5=new B[(_0x519fd9(0x3b7))]();_0x1e44b2[_0x519fd9(0x335)](_0x2f8878[_0x519fd9(0x4f3)][_0x519fd9(0x202)](_0xbbcb54=>_0x3d0cc5[_0x519fd9(0x22e)](_0xbbcb54))),_0x1e44b2['add'](a[_0x519fd9(0x4bc)](()=>_0x3d0cc5[_0x519fd9(0x352)]()));const _0x5ac38e=new B[(_0x519fd9(0x3b7))]();_0x1e44b2[_0x519fd9(0x335)](_0x2f8878[_0x519fd9(0x268)]['subscribe'](_0x259395=>{var _0x2f1098=_0x519fd9;const _0x5651d1=bt(_0x259395);_0x5ac38e[_0x2f1098(0x22e)](_0x5651d1);})),_0x1e44b2[_0x519fd9(0x335)](a['toDisposable'](()=>_0x5ac38e[_0x519fd9(0x352)]()));let _0x112f9f;const _0x522711=()=>{var _0x5c3aa6=_0x519fd9;_0x3d0cc5[_0x5c3aa6(0x22e)](new Event(_0x5c3aa6(0x3df))),_0x28b952[_0x5c3aa6(0x22e)](new CloseEvent('connection\x20error')),_0x112f9f[_0x5c3aa6(0x467)]();};return _0x112f9f={'memberID':'','close$':_0x28b952[_0x519fd9(0x483)](),'error$':_0x3d0cc5[_0x519fd9(0x483)](),'open$':_0x2f8878[_0x519fd9(0x2e4)],'message$':_0x5ac38e['asObservable'](),'send':_0x51196e=>{var _0x31343b=_0x519fd9;if(_0x51196e[_0x31343b(0x1e0)]===V['INGEST']){if(_0x51196e[_0x31343b(0x432)][_0x31343b(0x4d6)]===m[_0x31343b(0x4ad)][_0x31343b(0x39b)]){this[_0x31343b(0x4f2)](_0x112f9f,_0x51196e[_0x31343b(0x432)])[_0x31343b(0x377)](_0xe0b459=>{var _0x1270e3=_0x31343b;this['_logService'][_0x1270e3(0x539)](_0xe0b459),_0x522711();});return;}if(_0x51196e[_0x31343b(0x432)]['eventID']===m[_0x31343b(0x4ad)][_0x31343b(0x386)]){const _0x518ba3=_0x51196e[_0x31343b(0x432)];this[_0x31343b(0x1f6)](_0x518ba3)[_0x31343b(0x533)](_0x2d9bd7=>{var _0x941ce8=_0x31343b;_0x5ac38e['next']({'cmd':V['RECV'],'code':he['OK'],'routeKey':_0x518ba3[_0x941ce8(0x432)]['unitID'],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x941ce8(0x267)],'data':{'changesets':_0x2d9bd7}}});})[_0x31343b(0x377)](_0x121977=>{var _0x3a31ac=_0x31343b;this[_0x3a31ac(0x2ee)][_0x3a31ac(0x539)](_0x121977),_0x522711();});return;}}_0x2f8878[_0x31343b(0x4cc)](Rt(_0x51196e));},'close':()=>{var _0x5abd88=_0x519fd9;_0x2f8878[_0x5abd88(0x467)](),_0x1e44b2[_0x5abd88(0x36e)]();}},_0x112f9f;}async[_0x4088ec(0x4f2)](_0x387bee,_0xe03018){var _0x2a848c=_0x4088ec,_0x545b34,_0x3bc742;const {unitType:_0x443c34,unitID:_0x38f656,changeset:_0x36f8b6}=_0xe03018[_0x2a848c(0x432)],_0x2e1b69={'unitID':_0x38f656,'memberID':_0x387bee[_0x2a848c(0x2a4)],'type':_0x443c34,'changeset':m[_0x2a848c(0x3ff)](_0x36f8b6)},_0x5563ef=this[_0x2a848c(0x3f5)][_0x2a848c(0x51d)](It),_0x3e77ca=this[_0x2a848c(0x3f5)]['getConfig'](z),_0x3176f9=Xt((_0x3bc742=(_0x545b34=_0x3e77ca==null?void 0x0:_0x3e77ca[_0x2a848c(0x2db)])!=null?_0x545b34:_0x5563ef)!=null?_0x3bc742:Gt,_0x443c34,_0x38f656);try{await this[_0x2a848c(0x24e)][_0x2a848c(0x1ee)](_0x3176f9,{'body':_0x2e1b69});}catch(_0x4b979d){throw this[_0x2a848c(0x2ee)][_0x2a848c(0x539)](_0x2a848c(0x247),_0x2a848c(0x2af)),_0x4b979d;}}async[_0x4088ec(0x1f6)](_0x2ba80c){var _0x32795f=_0x4088ec;const {unitID:_0x368e1a,from:_0x944223,to:_0x2e3b41,unitType:_0x1765c7}=_0x2ba80c[_0x32795f(0x432)];return(await this['_snapshotServerService'][_0x32795f(0x435)]({'metadata':void 0x0},{'unitID':_0x368e1a,'type':_0x1765c7,'from':_0x944223,'to':_0x2e3b41}))[_0x32795f(0x3a7)];}},exports['CollaborationSocketService']=Jt([ue(0x0,a['Inject'](Y[_0x4088ec(0x3c7)])),ue(0x1,a[_0x4088ec(0x4e2)](Y['WebSocketService'])),ue(0x2,a[_0x4088ec(0x1d0)]),ue(0x3,a[_0x4088ec(0x303)]),ue(0x4,m[_0x4088ec(0x263)])],exports[_0x4088ec(0x3b9)]);const Zt='collaboration_new_changeset';function Qt(_0x4e3080){var _0x15ff57=_0x4088ec;return JSON['stringify'](_0x4e3080)[_0x15ff57(0x42f)];}class Be{constructor(){var _0x333867=_0x4088ec;w(this,'_commentUpdate$',new B[(_0x333867(0x3b7))]()),w(this,_0x333867(0x4e4),this['_commentUpdate$'][_0x333867(0x483)]());}['onCommentUpdate'](_0x3d30d0){var _0x19e9c0=_0x4088ec;this[_0x19e9c0(0x444)][_0x19e9c0(0x22e)](_0x3d30d0);}}var ei=Object[_0x4088ec(0x4b1)],ti=Object['getOwnPropertyDescriptor'],ii=(_0x27b8ff,_0x47c025,_0x4cfc7a,_0x11c446)=>{var _0x2c9148=_0x4088ec;for(var _0x137d7c=_0x11c446>0x1?void 0x0:_0x11c446?ti(_0x47c025,_0x4cfc7a):_0x47c025,_0x51465b=_0x27b8ff[_0x2c9148(0x42f)]-0x1,_0xacd485;_0x51465b>=0x0;_0x51465b--)(_0xacd485=_0x27b8ff[_0x51465b])&&(_0x137d7c=(_0x11c446?_0xacd485(_0x47c025,_0x4cfc7a,_0x137d7c):_0xacd485(_0x137d7c))||_0x137d7c);return _0x11c446&&_0x137d7c&&ei(_0x47c025,_0x4cfc7a,_0x137d7c),_0x137d7c;},Ke=(_0x191f68,_0x41a886)=>(_0xe012c6,_0x2dae2b)=>_0x41a886(_0xe012c6,_0x2dae2b,_0x191f68);exports['MemberService']=class extends a[_0x4088ec(0x3f3)]{constructor(_0x46a15c,_0x559ec7){var _0x509608=_0x4088ec;super(),w(this,_0x509608(0x408),new Map()),(this[_0x509608(0x290)]=_0x46a15c,this[_0x509608(0x439)]=_0x559ec7,this[_0x509608(0x4e0)](a[_0x509608(0x4bc)](B['merge'](this[_0x509608(0x290)]['getTypeOfUnitDisposed$'](a[_0x509608(0x259)][_0x509608(0x3c5)])[_0x509608(0x3fe)](G['map'](_0x42c620=>_0x42c620[_0x509608(0x2a6)]())),this['_univerInstanceService'][_0x509608(0x368)](a[_0x509608(0x259)]['UNIVER_DOC'])['pipe'](G[_0x509608(0x325)](_0x222f4c=>_0x222f4c['getUnitId']())),this[_0x509608(0x290)][_0x509608(0x368)](a[_0x509608(0x259)][_0x509608(0x531)])['pipe'](G['map'](_0x3abeb7=>_0x3abeb7[_0x509608(0x2a6)]())))[_0x509608(0x202)](_0x213a36=>this['_removeRoom'](_0x213a36)))));}[_0x4088ec(0x309)](_0x5a71c1){var _0xf1710e=_0x4088ec;this[_0xf1710e(0x439)][_0xf1710e(0x309)](_0x5a71c1);}['getCurrentUser'](){var _0x31fec3=_0x4088ec;return this[_0x31fec3(0x439)][_0x31fec3(0x315)]();}[_0x4088ec(0x261)](_0x2c87a5,_0x44fd02){var _0x19b638=_0x4088ec;let _0x5eeab3=this['_roomMembers'][_0x19b638(0x372)](_0x2c87a5);_0x5eeab3||(_0x5eeab3=new ni(),this[_0x19b638(0x408)][_0x19b638(0x257)](_0x2c87a5,_0x5eeab3)),_0x5eeab3[_0x19b638(0x261)](_0x44fd02);}[_0x4088ec(0x288)](_0x3f71b6,_0x563b5e){var _0x3b28e0=_0x4088ec;const _0x1d10a4=this[_0x3b28e0(0x408)][_0x3b28e0(0x372)](_0x3f71b6);_0x1d10a4&&_0x1d10a4[_0x3b28e0(0x288)](_0x563b5e);}[_0x4088ec(0x4a5)](_0x18e0eb){var _0x3f8443=_0x4088ec;return this['_roomMembers'][_0x3f8443(0x372)](_0x18e0eb);}[_0x4088ec(0x1ca)](_0x246eac,_0x251565){var _0x1e95c4=_0x4088ec;const _0x44ebbf=this[_0x1e95c4(0x408)][_0x1e95c4(0x372)](_0x246eac);if(_0x44ebbf)return _0x44ebbf[_0x1e95c4(0x1ca)](_0x251565);}[_0x4088ec(0x1be)](_0x485782){var _0x534ee3=_0x4088ec;const _0xa89f64=this[_0x534ee3(0x408)][_0x534ee3(0x372)](_0x485782);_0xa89f64&&(_0xa89f64[_0x534ee3(0x36e)](),this[_0x534ee3(0x408)][_0x534ee3(0x4c6)](_0x485782));}[_0x4088ec(0x36e)](){var _0x2c5c09=_0x4088ec;this['_roomMembers'][_0x2c5c09(0x4c2)](_0x578185=>_0x578185[_0x2c5c09(0x36e)]()),this[_0x2c5c09(0x408)][_0x2c5c09(0x356)]();}},exports[_0x4088ec(0x4af)]=ii([Ke(0x0,a[_0x4088ec(0x1de)]),Ke(0x1,a[_0x4088ec(0x4e2)](a['UserManagerService']))],exports[_0x4088ec(0x4af)]);function _0x5540(_0x333f00,_0x4b6c58){var _0x593537=_0x5935();return _0x5540=function(_0x55405c,_0x28f077){_0x55405c=_0x55405c-0x1be;var _0x4adcb0=_0x593537[_0x55405c];return _0x4adcb0;},_0x5540(_0x333f00,_0x4b6c58);}class ni extends a[_0x4088ec(0x3f3)]{constructor(){super(...arguments),w(this,'_members',new Map());}[_0x4088ec(0x36e)](){var _0x51a5c5=_0x4088ec;this['_members'][_0x51a5c5(0x356)]();}[_0x4088ec(0x261)](_0x29ab40){var _0x21f0a5=_0x4088ec;this['_members'][_0x21f0a5(0x257)](_0x29ab40[_0x21f0a5(0x2a4)],_0x29ab40);}[_0x4088ec(0x288)](_0x560992){var _0x51056a=_0x4088ec;this[_0x51056a(0x35a)]['delete'](_0x560992);}[_0x4088ec(0x1ca)](_0x3f958){var _0x1ceb29=_0x4088ec;return this[_0x1ceb29(0x35a)][_0x1ceb29(0x372)](_0x3f958);}['getAllMembers'](){var _0x5ae8bb=_0x4088ec;return Array['from'](this[_0x5ae8bb(0x35a)][_0x5ae8bb(0x2cd)]());}}var Q=(_0x2a1692=>(_0x2a1692['OTHER_CLIENT_EDITING']=_0x4088ec(0x1da),_0x2a1692['PERMISSION_DENIED']=_0x4088ec(0x508),_0x2a1692[_0x4088ec(0x20a)]=_0x4088ec(0x20a),_0x2a1692[_0x4088ec(0x23c)]=_0x4088ec(0x23c),_0x2a1692[_0x4088ec(0x4be)]='JOIN_ROOM_FAILED',_0x2a1692['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x2a1692[_0x4088ec(0x3ed)]=_0x4088ec(0x3ed),_0x2a1692[_0x4088ec(0x1e2)]=_0x4088ec(0x1e2),_0x2a1692))(Q||{});class te{constructor(){var _0x15eed1=_0x4088ec;w(this,_0x15eed1(0x285),new B[(_0x15eed1(0x3b7))]()),w(this,'event$',this[_0x15eed1(0x285)][_0x15eed1(0x483)]());}[_0x4088ec(0x37f)](_0x223416){var _0x1d8ff5=_0x4088ec;this[_0x1d8ff5(0x285)][_0x1d8ff5(0x22e)](_0x223416);}}var ri=Object[_0x4088ec(0x4b1)],si=Object['getOwnPropertyDescriptor'],oi=(_0x3d1651,_0x59b79a,_0x56ae1c,_0x3ef52f)=>{var _0x50ad32=_0x4088ec;for(var _0x4a5128=_0x3ef52f>0x1?void 0x0:_0x3ef52f?si(_0x59b79a,_0x56ae1c):_0x59b79a,_0x55286c=_0x3d1651[_0x50ad32(0x42f)]-0x1,_0x5aa0a4;_0x55286c>=0x0;_0x55286c--)(_0x5aa0a4=_0x3d1651[_0x55286c])&&(_0x4a5128=(_0x3ef52f?_0x5aa0a4(_0x59b79a,_0x56ae1c,_0x4a5128):_0x5aa0a4(_0x4a5128))||_0x4a5128);return _0x3ef52f&&_0x4a5128&&ri(_0x59b79a,_0x56ae1c,_0x4a5128),_0x4a5128;},oe=(_0x57366b,_0x1f1e38)=>(_0x3f6847,_0x7f22b2)=>_0x1f1e38(_0x3f6847,_0x7f22b2,_0x57366b),se=(_0x306d73=>(_0x306d73[_0x306d73['IDLE']=0x0]=_0x4088ec(0x42a),_0x306d73[_0x306d73[_0x4088ec(0x245)]=0x1]=_0x4088ec(0x245),_0x306d73[_0x306d73[_0x4088ec(0x274)]=0x2]='OFFLINE',_0x306d73[_0x306d73[_0x4088ec(0x43f)]=0x3]=_0x4088ec(0x43f),_0x306d73))(se||{});const Ye={[he['FAIL']]:_0x4088ec(0x2b2),[he[_0x4088ec(0x28b)]]:_0x4088ec(0x243),[he[_0x4088ec(0x1cd)]]:_0x4088ec(0x4c7),[he[_0x4088ec(0x407)]]:_0x4088ec(0x323),[he[_0x4088ec(0x2f4)]]:_0x4088ec(0x2c9)};exports[_0x4088ec(0x455)]=class extends a['RxDisposable']{constructor(_0x1b47f5,_0x47815f,_0x3dc9cd,_0x4e8817,_0x21a540,_0x44fa54,_0x21328a,_0x4007ad,_0x422766){var _0x2645e8=_0x4088ec;super(),w(this,'_sessionStatus$',new B[(_0x2645e8(0x484))](0x0)),w(this,_0x2645e8(0x336),this[_0x2645e8(0x48c)][_0x2645e8(0x483)]()),w(this,_0x2645e8(0x285),new B[(_0x2645e8(0x3b7))]()),w(this,_0x2645e8(0x2ba),this[_0x2645e8(0x285)][_0x2645e8(0x483)]()),w(this,_0x2645e8(0x1ce)),w(this,_0x2645e8(0x456)),w(this,_0x2645e8(0x38c)),w(this,_0x2645e8(0x2f6),!0x1),w(this,'_telemetryInfo',null),(this['_unitID']=_0x1b47f5,this[_0x2645e8(0x2ee)]=_0x3dc9cd,this[_0x2645e8(0x3f5)]=_0x4e8817,this[_0x2645e8(0x379)]=_0x21a540,this[_0x2645e8(0x502)]=_0x44fa54,this[_0x2645e8(0x338)]=_0x21328a,this['_collaborationUIEventService']=_0x4007ad,this[_0x2645e8(0x51f)]=_0x422766,this[_0x2645e8(0x2f6)]=!!this['_telemetryService'],_0x47815f[_0x2645e8(0x3fe)](B[_0x2645e8(0x2a1)](this[_0x2645e8(0x3aa)]))[_0x2645e8(0x202)](_0x933ef3=>{var _0x5c0227=_0x2645e8,_0x52f32a;typeof _0x933ef3>'u'||(this[_0x5c0227(0x1ce)]=_0x933ef3,_0x933ef3?(this[_0x5c0227(0x38e)](_0x933ef3),this[_0x5c0227(0x456)]=_0x933ef3[_0x5c0227(0x268)][_0x5c0227(0x202)](_0x1c3996=>{var _0x2b6922=_0x5c0227;_0x1c3996[_0x2b6922(0x277)]===this[_0x2b6922(0x41b)]&&this[_0x2b6922(0x1f3)](_0x1c3996);})):(this[_0x5c0227(0x522)](),this['_sessionStatus$']['next'](0x2),(_0x52f32a=this[_0x5c0227(0x456)])==null||_0x52f32a[_0x5c0227(0x228)](),this['_socketMessageSubscription']=null));}));}get[_0x4088ec(0x25f)](){var _0x35b32e=_0x4088ec;return this[_0x35b32e(0x48c)][_0x35b32e(0x24f)]();}[_0x4088ec(0x2e8)](){var _0x44798a=_0x4088ec,_0xfcd0e9,_0x4707fd;return(_0x4707fd=(_0xfcd0e9=this['_socket'])==null?void 0x0:_0xfcd0e9[_0x44798a(0x2a4)])!=null?_0x4707fd:null;}[_0x4088ec(0x36e)](){var _0x3dc731=_0x4088ec;super['dispose'](),this['dispose$'][_0x3dc731(0x22e)](),this[_0x3dc731(0x3aa)][_0x3dc731(0x352)]();}[_0x4088ec(0x467)](){var _0x462c5d=_0x4088ec,_0x48d0b6,_0x35f5b3;this[_0x462c5d(0x522)](),(_0x48d0b6=this['_socket'])==null||_0x48d0b6[_0x462c5d(0x4cc)]({'cmd':V['LEAVE'],'data':{'roomID':this[_0x462c5d(0x41b)]}}),(_0x35f5b3=this[_0x462c5d(0x1ce)])==null||_0x35f5b3[_0x462c5d(0x467)](),this[_0x462c5d(0x285)][_0x462c5d(0x352)](),this[_0x462c5d(0x48c)]['complete'](),this[_0x462c5d(0x36e)]();}[_0x4088ec(0x1f3)](_0x2a12f8){var _0x19d050=_0x4088ec;_0x2a12f8[_0x19d050(0x1e0)]===V[_0x19d050(0x397)]?this[_0x19d050(0x53d)](_0x2a12f8):_0x2a12f8['cmd']===V[_0x19d050(0x426)]&&this[_0x19d050(0x4e9)](_0x2a12f8);}['_joinRoom'](_0xff94e5){var _0x1b495f=_0x4088ec;this['_sessionStatus$'][_0x1b495f(0x22e)](0x1),_0xff94e5['send']({'cmd':V['JOIN'],'routeKey':this[_0x1b495f(0x41b)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4088ec(0x53d)](_0xab788){var _0x407b81=_0x4088ec,_0x51a787;if(_0xab788[_0x407b81(0x29b)]in Ye){this['_collaborationUIEventService'][_0x407b81(0x37f)]({'id':Q[_0x407b81(0x4be)],'data':Ye[_0xab788[_0x407b81(0x29b)]]}),this['_sessionStatus$'][_0x407b81(0x22e)](0x2);return;}this['_sessionStatus$'][_0x407b81(0x22e)](0x3);const _0x1111b7=(_0x51a787=_0xab788[_0x407b81(0x432)][_0x407b81(0x520)][this[_0x407b81(0x41b)]])==null?void 0x0:_0x51a787[_0x407b81(0x423)];_0x1111b7&&_0x1111b7[_0x407b81(0x4c2)](_0x3c8653=>this['_memberService'][_0x407b81(0x261)](this['_unitID'],_0x3c8653));}[_0x4088ec(0x4e9)](_0x4f8e89){var _0x31c8dc=_0x4088ec;try{const _0x519e38=_0x4f8e89[_0x31c8dc(0x432)];switch(_0x519e38[_0x31c8dc(0x4d6)]){case m['CollaborationEvent'][_0x31c8dc(0x25b)]:this[_0x31c8dc(0x431)](_0x519e38),this[_0x31c8dc(0x285)][_0x31c8dc(0x22e)](_0x519e38);break;case m[_0x31c8dc(0x4ad)][_0x31c8dc(0x42c)]:this[_0x31c8dc(0x450)](_0x519e38),this[_0x31c8dc(0x285)][_0x31c8dc(0x22e)](_0x519e38);break;case m[_0x31c8dc(0x4ad)][_0x31c8dc(0x37b)]:case m['CollaborationEvent'][_0x31c8dc(0x392)]:this[_0x31c8dc(0x4fb)](),this[_0x31c8dc(0x334)](),this[_0x31c8dc(0x285)][_0x31c8dc(0x22e)](_0x519e38);break;case m[_0x31c8dc(0x4ad)][_0x31c8dc(0x3ee)]:this['_logService'][_0x31c8dc(0x539)](_0x31c8dc(0x1c9)+JSON[_0x31c8dc(0x2ff)](_0x519e38)),this[_0x31c8dc(0x285)][_0x31c8dc(0x22e)](_0x519e38);break;case m[_0x31c8dc(0x4ad)][_0x31c8dc(0x4bd)]:this['_commentService'][_0x31c8dc(0x22f)](_0x519e38[_0x31c8dc(0x432)]),this[_0x31c8dc(0x285)][_0x31c8dc(0x22e)](_0x519e38);break;default:this[_0x31c8dc(0x285)][_0x31c8dc(0x22e)](_0x519e38);}}catch(_0x379ef8){this[_0x31c8dc(0x2ee)]['error'](_0x379ef8,_0x4f8e89);}}[_0x4088ec(0x431)](_0xe014ba){var _0x2ca864=_0x4088ec;this['_memberService']['updateMember'](this[_0x2ca864(0x41b)],_0xe014ba[_0x2ca864(0x432)]);}[_0x4088ec(0x450)](_0x4a8f52){var _0x171131=_0x4088ec;this[_0x171131(0x502)][_0x171131(0x288)](this[_0x171131(0x41b)],_0x4a8f52[_0x171131(0x432)][_0x171131(0x2a4)]);}async[_0x4088ec(0x4cc)](_0x2d6a5e,_0x969f58){var _0x476d70=_0x4088ec;if(this[_0x476d70(0x25f)]!==0x3||!this[_0x476d70(0x1ce)])throw new Error(_0x476d70(0x3ea));try{_0x2d6a5e['eventID']===m['CollaborationEvent'][_0x476d70(0x39b)]&&(this[_0x476d70(0x1c0)](),this[_0x476d70(0x258)](_0x2d6a5e)),this[_0x476d70(0x1ce)]['send']({'cmd':V[_0x476d70(0x25d)],'routeKey':_0x969f58,'routeType':'','data':_0x2d6a5e});}catch(_0x3ca75b){this['_logService'][_0x476d70(0x539)](_0x3ca75b);}}[_0x4088ec(0x1c0)](){var _0x21405b=_0x4088ec,_0x512cc1;this['_collaborationTimeoutTimer']=window[_0x21405b(0x1cb)](()=>{var _0x5d3bd8=_0x21405b;this[_0x5d3bd8(0x38c)]=null,this['_collaborationUIEventService'][_0x5d3bd8(0x37f)]({'id':Q[_0x5d3bd8(0x1e2)]});},(_0x512cc1=this['_configService']['getConfig'](He))!=null?_0x512cc1:gt);}[_0x4088ec(0x334)](){var _0x1a2ac2=_0x4088ec;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1a2ac2(0x38c)]),this[_0x1a2ac2(0x38c)]=null);}[_0x4088ec(0x258)](_0x1a3c18){var _0x1d6da4=_0x4088ec;if(!this[_0x1d6da4(0x2f6)])return;const {data:_0x4feb89}=_0x1a3c18,{unitID:_0xd03cc4,changeset:_0x5a2f80}=_0x4feb89,{mutations:_0x54904a,type:_0x5939e6}=_0x5a2f80;this[_0x1d6da4(0x4ff)]={'unitId':_0xd03cc4,'type':_0x5939e6,'startTime':performance[_0x1d6da4(0x1d4)](),'stopTime':0x0,'duration':0x0,'size':Qt(_0x54904a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5a00a5=_0x4088ec;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x5a00a5(0x2ee)][_0x5a00a5(0x539)]('[CollaborationSession]',_0x5a00a5(0x48d));return;}this['_telemetryInfo'][_0x5a00a5(0x2f1)]=performance['now'](),this[_0x5a00a5(0x4ff)][_0x5a00a5(0x41e)]=this[_0x5a00a5(0x4ff)][_0x5a00a5(0x2f1)]-this['_telemetryInfo'][_0x5a00a5(0x29f)],this[_0x5a00a5(0x51f)][_0x5a00a5(0x2ae)](Zt,this[_0x5a00a5(0x4ff)]),this[_0x5a00a5(0x4ff)]=null;}}[_0x4088ec(0x522)](){this['_telemetryInfo']=null;}},exports[_0x4088ec(0x455)]=oi([oe(0x2,a[_0x4088ec(0x303)]),oe(0x3,a[_0x4088ec(0x1d0)]),oe(0x4,a['Inject'](a[_0x4088ec(0x24a)])),oe(0x5,a[_0x4088ec(0x4e2)](exports[_0x4088ec(0x4af)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x4088ec(0x4e2)](te)),oe(0x8,a[_0x4088ec(0x1e9)](Mt[_0x4088ec(0x313)]))],exports[_0x4088ec(0x455)]);var ai=Object['defineProperty'],ci=Object[_0x4088ec(0x4cd)],hi=(_0xd5e918,_0x5a0516,_0x47710e,_0x535637)=>{var _0x5c5bb7=_0x4088ec;for(var _0x3f4922=_0x535637>0x1?void 0x0:_0x535637?ci(_0x5a0516,_0x47710e):_0x5a0516,_0x3d7918=_0xd5e918[_0x5c5bb7(0x42f)]-0x1,_0x48e0e5;_0x3d7918>=0x0;_0x3d7918--)(_0x48e0e5=_0xd5e918[_0x3d7918])&&(_0x3f4922=(_0x535637?_0x48e0e5(_0x5a0516,_0x47710e,_0x3f4922):_0x48e0e5(_0x3f4922))||_0x3f4922);return _0x535637&&_0x3f4922&&ai(_0x5a0516,_0x47710e,_0x3f4922),_0x3f4922;},ae=(_0x115ef2,_0x1162c7)=>(_0x1065fc,_0x5197e2)=>_0x1162c7(_0x1065fc,_0x5197e2,_0x115ef2);exports[_0x4088ec(0x4e7)]=class extends a[_0x4088ec(0x3f3)]{constructor(_0x4ae20d,_0x543945,_0x4b6f47,_0x154f9d,_0x2fb85f,_0x469b69,_0x5a99c2){var _0x5e2be1=_0x4088ec;super(),w(this,_0x5e2be1(0x3f7),new B['BehaviorSubject'](void 0x0)),w(this,'socket$',this[_0x5e2be1(0x3f7)]['asObservable']()),w(this,'_candidateSocket',null),w(this,'_sessions',new Map()),w(this,_0x5e2be1(0x287),new B[(_0x5e2be1(0x484))](se['IDLE'])),w(this,_0x5e2be1(0x31a),this[_0x5e2be1(0x287)][_0x5e2be1(0x483)]()),w(this,'_socketReady',!0x1),w(this,_0x5e2be1(0x36b)),w(this,_0x5e2be1(0x53a),0x0),w(this,_0x5e2be1(0x457)),w(this,'_timeoutTimer'),(this[_0x5e2be1(0x416)]=_0x4ae20d,this[_0x5e2be1(0x379)]=_0x543945,this[_0x5e2be1(0x2ee)]=_0x4b6f47,this['_configService']=_0x154f9d,this['_socketService']=_0x2fb85f,this['_httpService']=_0x469b69,this[_0x5e2be1(0x1e1)]=_0x5a99c2,this[_0x5e2be1(0x3ce)]());}get[_0x4088ec(0x1ce)](){var _0x1981b1=_0x4088ec;return this['_socket$'][_0x1981b1(0x24f)]();}[_0x4088ec(0x3ce)](){var _0x4532bb=_0x4088ec;this[_0x4532bb(0x537)](),this[_0x4532bb(0x1e6)]();}['dispose'](){var _0x4350c6=_0x4088ec;super[_0x4350c6(0x36e)](),this['_sessions'][_0x4350c6(0x4c2)](_0x2c7824=>_0x2c7824['dispose']()),this['_sessions']['clear'](),this[_0x4350c6(0x287)][_0x4350c6(0x352)]();}async[_0x4088ec(0x1c1)](_0x2da695){var _0x12981b=_0x4088ec;if(this['_sessions'][_0x12981b(0x437)](_0x2da695))return this[_0x12981b(0x436)][_0x12981b(0x372)](_0x2da695);this[_0x12981b(0x1fe)]();const _0x49e244=this[_0x12981b(0x416)][_0x12981b(0x246)](exports[_0x12981b(0x455)],_0x2da695,this[_0x12981b(0x3f7)][_0x12981b(0x483)]());return this[_0x12981b(0x436)][_0x12981b(0x257)](_0x2da695,_0x49e244),_0x49e244;}[_0x4088ec(0x23a)](_0x15fc6c){var _0x4be816=_0x4088ec,_0x4ef701;const _0x673cc0=this[_0x4be816(0x436)][_0x4be816(0x372)](_0x15fc6c);_0x673cc0&&(this[_0x4be816(0x436)][_0x4be816(0x4c6)](_0x15fc6c),_0x673cc0[_0x4be816(0x467)]()),this[_0x4be816(0x436)]['size']||(_0x4ef701=this[_0x4be816(0x1ce)])==null||_0x4ef701['close']();}['reconnect'](){var _0x45046c=_0x4088ec;this[_0x45046c(0x53a)]=0x0,this[_0x45046c(0x36b)]!=null&&(clearTimeout(this[_0x45046c(0x36b)]),this[_0x45046c(0x36b)]=null),this['_tryReconnect']();}async[_0x4088ec(0x223)](){var _0x24c333=_0x4088ec,_0x23277e,_0x3a9cdf,_0x2adfa6;const _0x42e986=this[_0x24c333(0x3f5)][_0x24c333(0x51d)](z),_0x419d23=(_0x23277e=_0x42e986==null?void 0x0:_0x42e986[_0x24c333(0x33f)])!=null?_0x23277e:Ht;return(_0x2adfa6=(_0x3a9cdf=(await this['_httpService'][_0x24c333(0x372)](_0x419d23,{'headers':{'Content-Type':_0x24c333(0x2a3)}}))[_0x24c333(0x3ca)])==null?void 0x0:_0x3a9cdf[_0x24c333(0x20e)])!=null?_0x2adfa6:'';}['_createSocketURL'](_0x2ec05b){var _0x4052b7=_0x4088ec,_0x2a425b,_0x374b7f;const _0x3bfc17=this[_0x4052b7(0x3f5)][_0x4052b7(0x51d)](ft),_0xb79469=this[_0x4052b7(0x3f5)][_0x4052b7(0x51d)](z),_0x3f8f68=(_0x374b7f=(_0x2a425b=_0xb79469==null?void 0x0:_0xb79469[_0x4052b7(0x280)])!=null?_0x2a425b:_0x3bfc17)!=null?_0x374b7f:St,_0xbf1567=new URL(_0x3f8f68,window[_0x4052b7(0x440)]['origin']);return _0xbf1567[_0x4052b7(0x4e1)][_0x4052b7(0x257)](_0x4052b7(0x27d),_0x2ec05b),_0xbf1567[_0x4052b7(0x49b)]();}async[_0x4088ec(0x521)](){var _0x40d495=_0x4088ec;const _0xe127f5=await this[_0x40d495(0x223)](),_0x169e1e=this[_0x40d495(0x212)](_0xe127f5),_0x221d35=this[_0x40d495(0x255)][_0x40d495(0x333)](_0x169e1e);return this['_candidateSocket']=_0x221d35,_0x221d35;}async[_0x4088ec(0x1fe)](){var _0x4c3c40=_0x4088ec,_0x135b25,_0x1e16d9;try{const _0x597c7d=(_0x1e16d9=(_0x135b25=this['_socket'])!=null?_0x135b25:this['_candidateSocket'])!=null?_0x1e16d9:await this[_0x4c3c40(0x521)]();if(_0x597c7d){const _0x5e8523=_0x597c7d[_0x4c3c40(0x4cc)];_0x597c7d[_0x4c3c40(0x4cc)]=_0x24cc65=>(this[_0x4c3c40(0x1f0)](),_0x5e8523[_0x4c3c40(0x410)](_0x597c7d,[_0x24cc65])),_0x597c7d['message$'][_0x4c3c40(0x202)](_0x33abae=>this[_0x4c3c40(0x4f8)](_0x597c7d,_0x33abae)),_0x597c7d[_0x4c3c40(0x4f3)][_0x4c3c40(0x3fe)](G[_0x4c3c40(0x218)](0x1))[_0x4c3c40(0x202)](_0xedd39e=>this[_0x4c3c40(0x2ee)][_0x4c3c40(0x539)]('[CollaborationSessionService]:\x20socket\x20error',_0xedd39e)),_0x597c7d['open$']['pipe'](G['take'](0x1))[_0x4c3c40(0x202)](()=>{var _0x46e883=_0x4c3c40;this[_0x46e883(0x3fc)](_0x597c7d);}),_0x597c7d[_0x4c3c40(0x468)][_0x4c3c40(0x3fe)](G['take'](0x1))[_0x4c3c40(0x202)](_0x39f1d3=>{var _0x26b1a7=_0x4c3c40;this[_0x26b1a7(0x2ee)][_0x26b1a7(0x3cc)](_0x26b1a7(0x4d2),_0x26b1a7(0x4a7),_0x39f1d3),this['_onConnectionFailed']();});}}catch(_0x10853a){this[_0x4c3c40(0x2ee)][_0x4c3c40(0x539)](_0x10853a),this[_0x4c3c40(0x2b3)]();}}[_0x4088ec(0x3fc)](_0x524cf9){var _0x56def2=_0x4088ec;this[_0x56def2(0x2ee)][_0x56def2(0x3cc)](_0x56def2(0x4d2),_0x56def2(0x270)),_0x524cf9['send']({'cmd':V['HELLO']}),this['_rescheduleHeartbeat']();}[_0x4088ec(0x537)](){var _0x1161b0=_0x4088ec;window[_0x1161b0(0x4c0)](_0x1161b0(0x2cc),()=>this[_0x1161b0(0x2e9)]());}[_0x4088ec(0x2e9)](){var _0x10c2eb=_0x4088ec;this[_0x10c2eb(0x3c2)]=!0x1,this[_0x10c2eb(0x497)]=null,this[_0x10c2eb(0x287)]['next'](se[_0x10c2eb(0x274)]),this[_0x10c2eb(0x3f7)]['next'](null),this[_0x10c2eb(0x2fb)](),this[_0x10c2eb(0x4de)]();}[_0x4088ec(0x2b3)](){var _0x283884=_0x4088ec,_0xbf4d5c;this[_0x283884(0x2e9)](),this['_retryCount']<((_0xbf4d5c=this[_0x283884(0x3f5)]['getConfig'](mt))!=null?_0xbf4d5c:Ft)?(this[_0x283884(0x1e1)]['emitEvent']({'id':Q[_0x283884(0x490)]}),this[_0x283884(0x2b1)]()):this[_0x283884(0x1e1)][_0x283884(0x37f)]({'id':Q[_0x283884(0x3ed)]});}['_listenToOnlineEvent'](){var _0x54f000=_0x4088ec;const _0x283d4a=()=>{var _0x105a83=_0x5540;this[_0x105a83(0x1ce)]||this['reconnect']();},_0x3589c1=()=>{var _0x1afb29=_0x5540;this['_socket']||document[_0x1afb29(0x3e5)]==='hidden'||this['reconnect']();};window[_0x54f000(0x4c0)](_0x54f000(0x21b),_0x283d4a),document[_0x54f000(0x4c0)]('visibilitychange',_0x3589c1);}[_0x4088ec(0x2b1)](){var _0x30d963=_0x4088ec,_0x32f431;const _0x1d684a=this['_retryCount'],_0x4ccbec=this[_0x30d963(0x3f5)][_0x30d963(0x51d)](z),_0x32f7c4=_0x1d684a===0x0?0x0:((_0x32f431=_0x4ccbec==null?void 0x0:_0x4ccbec['retryConnectingInterval'])!=null?_0x32f431:Bt)*0x2**_0x1d684a;this[_0x30d963(0x36b)]=window[_0x30d963(0x1cb)](()=>{var _0x10f81a=_0x30d963;clearTimeout(this[_0x10f81a(0x36b)]),this[_0x10f81a(0x36b)]=null,this['_tryEnsureSocket']();},_0x32f7c4),this[_0x30d963(0x53a)]+=0x1;}[_0x4088ec(0x4f8)](_0x18db4e,_0x27c3fe){var _0x531d97=_0x4088ec;const {cmd:_0x43f700}=_0x27c3fe;_0x43f700===V[_0x531d97(0x387)]&&!this[_0x531d97(0x3c2)]&&(_0x18db4e['memberID']=_0x27c3fe[_0x531d97(0x432)][_0x531d97(0x2a4)],this['_socket$'][_0x531d97(0x22e)](_0x18db4e),this[_0x531d97(0x287)][_0x531d97(0x22e)](se['ONLINE']),this['_socketReady']=!0x0,this[_0x531d97(0x497)]=null),_0x43f700===V[_0x531d97(0x22a)]&&this[_0x531d97(0x2fb)](),this[_0x531d97(0x1f0)]();}[_0x4088ec(0x1f0)](){var _0x39d786=_0x4088ec,_0x5ebdde;this[_0x39d786(0x4de)](),this['_sendHeartbeatTimer']=window[_0x39d786(0x1cb)](()=>this[_0x39d786(0x28a)](),(_0x5ebdde=this[_0x39d786(0x3f5)][_0x39d786(0x51d)](pt))!=null?_0x5ebdde:kt);}[_0x4088ec(0x28a)](){var _0x17dba7=_0x4088ec;this['_socket'][_0x17dba7(0x4cc)]({'cmd':V['HEARTBEAT']}),this[_0x17dba7(0x332)]();}[_0x4088ec(0x332)](){var _0x7b64b1=_0x4088ec,_0x5216a4;this[_0x7b64b1(0x32b)]=window[_0x7b64b1(0x1cb)](()=>this['_onConnectionFailed'](),(_0x5216a4=this[_0x7b64b1(0x3f5)]['getConfig'](He))!=null?_0x5216a4:gt);}[_0x4088ec(0x4de)](){var _0x403990=_0x4088ec;this[_0x403990(0x457)]!=null&&(clearTimeout(this[_0x403990(0x457)]),this[_0x403990(0x457)]=null);}[_0x4088ec(0x2fb)](){var _0xf02951=_0x4088ec;this[_0xf02951(0x32b)]!=null&&(clearTimeout(this[_0xf02951(0x32b)]),this[_0xf02951(0x32b)]=null);}},exports[_0x4088ec(0x4e7)]=hi([ae(0x0,a['Inject'](a[_0x4088ec(0x538)])),ae(0x1,a['Inject'](a[_0x4088ec(0x24a)])),ae(0x2,a['ILogService']),ae(0x3,a['IConfigService']),ae(0x4,ke),ae(0x5,a[_0x4088ec(0x4e2)](Y[_0x4088ec(0x3c7)])),ae(0x6,a[_0x4088ec(0x4e2)](te))],exports[_0x4088ec(0x4e7)]);const K=[];for(let r=0x0;r<0x100;++r)K[_0x4088ec(0x52e)]((r+0x100)['toString'](0x10)[_0x4088ec(0x4ba)](0x1));function li(_0x15038b,_0x18d27f=0x0){var _0x20e5b7=_0x4088ec;return(K[_0x15038b[_0x18d27f+0x0]]+K[_0x15038b[_0x18d27f+0x1]]+K[_0x15038b[_0x18d27f+0x2]]+K[_0x15038b[_0x18d27f+0x3]]+'-'+K[_0x15038b[_0x18d27f+0x4]]+K[_0x15038b[_0x18d27f+0x5]]+'-'+K[_0x15038b[_0x18d27f+0x6]]+K[_0x15038b[_0x18d27f+0x7]]+'-'+K[_0x15038b[_0x18d27f+0x8]]+K[_0x15038b[_0x18d27f+0x9]]+'-'+K[_0x15038b[_0x18d27f+0xa]]+K[_0x15038b[_0x18d27f+0xb]]+K[_0x15038b[_0x18d27f+0xc]]+K[_0x15038b[_0x18d27f+0xd]]+K[_0x15038b[_0x18d27f+0xe]]+K[_0x15038b[_0x18d27f+0xf]])[_0x20e5b7(0x513)]();}let Ue;function _0x5935(){var _0x2d8d7b=['Subject','_transitionLocked','CollaborationSocketService','COLLAB_SUBMIT_CHANGESET_URL_KEY','WebSocketService','SHA1','_onRemoteRetry','LEAVE','AuthzIoHttpService','_iKey','shareReplay','_socketReady','state$','LICENSE_IMPORT_SIZE_EXCEEDED','UNIVER_SHEET','ALREADY_EXISTS','HTTPService','HttpExport','3576628uLSScK','body','UNRECOGNIZED','debug','/universer-api/authz','_initEventListeners','/allowed','reqId','value','target','onRemoteAck','readAsDataURL','onRemoteRej','_isPermissionRej','AwaitingState','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','appendMutation','action','onTransformState','random','objectType','subUnitId','connection\x20error','createDecryptor','_getLoginPath','\x0aCurrent:\x20','baseProtectionActions','src','visibilityState','salt','getFocusedUnit','string','LIVESHARE_NEW_HOST','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_change$','_initRequestHeader','SOCKET_FAILED','MSG_FOR_ERROR','JSONX','_clearLocalCache','2408RulLmj','_eventService','Disposable','hasher','_configService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket$','UNIVER_DOC','PasswordBasedCipher','entityInit$','People','_onConnectionOpen','/fetchmissing?from=','pipe','parseChangesetToProtocol','_showConflictNotification','reduce','_entityInit$','json','sid','hostname','__esModule','JOIN_ROOM_PERMISSION_DENIED','_roomMembers','_unitInfo$','image/jpg','_remoteChangesetQueue','socketService','toggleOnline','sheets','3669shFBTS','apply','permissionRejEvent','updatePermissionPoint','[UniverCollaborationClientPlugin]','_revisionService','leaveEvent','_injector','_handler','filter','UnitObject','rxjs/operators','_unitID','getLatestCsReqIdBySid','charCodeAt','duration','params','ISingleActiveUnitService','AwaitingWithPendingState','DEFAULT_FILE_NAME','members','/object/','/resources','RECV','originalMeta','getSnapshotAPIPath','infoRsp','IDLE','headers','USERS_LEAVE','_waitCount','@univerjs/network','length','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onUserJoin','data','_sender','min','fetchMissingChangesets','_sessions','has','getRandomValues','_userManagerService','serializeCombRequest','_onFetchMissResult','SEND_CHANGESET_TIMEOUT','_doReset','PERSON','ONLINE','location','ws://127.0.0.1:8000/universer-api/comb/connect','_process','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentUpdate$','SNAPSHOT_HAS_BEEN_REMOVED','_changesetSessionId','OTHER_CLIENTS_EDITING','updateOfflineData','_doCryptBlock','reset','onRemoteChangeset','max','commentUpdateEvent','_getCurrentRevision','UnitSnapshot','_onUserLeave','RangeProtectionRuleModel','saveChangeset','_entities','getWorkbookSelections','CollaborationSession','_socketMessageSubscription','_sendHeartbeatTimer','_snapshotServerService','COMPLETION_FINISHED','Rectangle','_registerDependencies','_minBufferSize','isTransformMutationsWithChangesetSuccess','execute','_lockTransition','TOO_MANY_REQUESTS','m2Prime','HmacMD5','loginUrlKey','focused$','COLLAB_WEB_SOCKET_URL_KEY','onStateChange','close','close$','_keySchedule','encodeURIComponent','HEARTBEAT_INTERVAL_KEY','_append','init','repeat','ERROR_IMAGE_TYPE','ImageUploadStatusType','getUnitOnRev','/role','encrypt','_clearRedo','_replaceFileID','_onLocalMutation','image/jpeg','_transformIMECache','IMentionIOService','getLocalCacheKey','_initDependencies','finalize','buffer','_createInitialState','change$','_onRemoteACK','unitID','UNIVER_UNKNOWN','asObservable','BehaviorSubject','_loadDoc','HTTPRequest','collaMsg','formatter','isInternalEditorID','ReplaySubject','refreshPermission','_sessionStatus$','telemetry\x20info\x20is\x20not\x20initialized','not_collab','LOGIN_URL_KEY','SOCKET_FAILED_RETRY','FETCH_MISS','_transformRemoteChangesetByIMECache','_executeRemoteChangeset','_instanceService','delay','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_candidateSocket','ICommandService','resend','_localCacheService','toString','30717CoPMBe','_substituteUndoStack','_transformStack','ICollaborationSocketService','call','pending','@univerjs-pro/collaboration','putCollaborators','onTransformRemoteChangesetByStateCache','getRoom','_httpService','socket\x20close','_state','reverse','/-/object/list','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/block/','CollaborationEvent','getCurrentRevOfUnit','MemberService','Hasher','defineProperty','_scheduleTimestamp','pad','RETRY_CONNECTING_MAX_COUNT','executeCommand','_updateStatus','FetchingMissState','every','WorkbookEditablePermission','slice','LIVESHARE_TERMINATE','toDisposable','COMMENT_UPDATE','JOIN_ROOM_FAILED','function','addEventListener','default','forEach','roles','_reverseMap','_ENC_XFORM_MODE','delete','session.room-not-exists','SHOULD_CLOSE_CONN','crypto','EvpKDF','NOT_FOUND','send','getOwnPropertyDescriptor','_acknowledgedAwaitingChangeset','merge','onTransformIME','getSheetId','[CollaborationSessionService]','HMAC','confirm','_onRemoteRejected','eventID','NEW_CHANGESETS','name','[SyncedState]:\x20received\x20rejection.','_createHmacHelper','@univerjs/docs','SheetCollaborationEntity','createCollaborator','_clearHeartbeatTimer','abs','disposeWithMe','searchParams','Inject','Could\x20not\x20dynamically\x20require\x20\x22','commentUpdate$','collaborators','auth.needGotoLoginAlert','CollaborationSessionService','_collaborationSessionService','_onRecvEvent','MUTATION','HttpImport','univer-pro.collaboration-client.single-active-unit-service','CollaborationStatus','_pendingMutations','_DEC_XFORM_MODE','_onConflict','POST','_submitChangeset','error$','getAllWorksheetPermissionPointByPointPanel','encryptBlock','_exhaustRemoteChangesetQueue','univer-pro.collaboration-client-socket-service','_onMessage','synced','ceil','_stopTelemetryCollaborationNewChangeset','_doFinalize','[CollaborationState]:\x20apply\x20error!','_xformMode','_telemetryInfo','CBC','textRanges','_memberService','concat','objectID','getUnit','isPermissionRej','RxDisposable','PERMISSION_DENIED','_data','padding','actions','22590ukJapO','MD5','byteOffset','_changesetReqId','CollaborationImageIoService','isArray','unknown','toLowerCase','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SEND_CHANGESET_TIMEOUT_KEY','/universer-api/user/session-ticket','revision','_initCloseConn','csShouldRetryEvent','clearUndoRedo','_getSendChangesetTimeout','Decryptor','getConfig','fromCollab','_telemetryService','roomInfos','_createSocket','_throwTelemetryCollaborationNewChangeset','SerializableCipher','_collaborationPaused','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','addHandlerCallback','getCurrentUnitForType','FileId','{fileID}','randomBytes','UniverCollaborationClientPlugin','mode','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','push','CommandType','sigBytes','UNIVER_SLIDE','awaiting_with_pending','then','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','BufferedBlockAlgorithm','_prevBlock','_listenToOfflineEvent','Injector','error','_retryCount','compute','transformSelections','_onJoinRoomEvent','unitId','/universer-api/file/{fileID}/sign-url','_removeRoom','reject','_scheduleCollaborationTimeoutTimer','requireSession','_nDataBytes','_imageSourceCache','Tools','MentionType','LICENSE_EXPORT_SIZE_EXCEEDED','words','\x20in\x20_schedule.','save\x20fail\x20reason\x20is\x20','getMember','setTimeout','MentionIoHttpService','JOIN_ROOM_NOT_EXISTS','_socket','editing\x20status\x20changed\x20to','IConfigService','BASE64','getCurrentSelections','UUID','now','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_state$','[OfflineState]:\x20received\x20changeset.','image/gif','_startCollaboration','OTHER_CLIENT_EDITING','enableSingleActiveInstanceLock','LIVESHARE_OPERATION','_createHandler','IUniverInstanceService','unitId\x20is\x20not\x20found','cmd','_collaborationUIEventService','SUBMIT_CHANGESET_TIMEOUT','_disableEditing','_type','transformChangesets','_listenToOnlineEvent','url','DocCollaborationEntity','Optional','SNAPSHOT_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','startsWith','result','post','csRejEvent','_rescheduleHeartbeat','[CollaborationUndoRedoService]','CollaborationController','_onCombEvent','&assign=','UNDEFINED','_fetchMissChangesets','_schedule','1914utcKNb','onMissedChangesetFetched','_hash','UnitEmbedded','IUndoRedoService','OpenSSL','_tryEnsureSocket','override','SetSelectionsOperation','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','subscribe','_unlockTransition','APPLY_DUPLICATED','EmptyMutation','LIVESHARE_REQUEST_HOST','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[OfflineState]:\x20received\x20acknowledgement.','_snapshotService','CONFLICT','_onRemoteChangeset','/universer-api/snapshot/','UNKNOWN_CMD','ticket','liveShareNewHost','Error\x20on\x20receiving\x20event','b64DecodeUnicode','_createSocketURL','_initUnitPermissionChange','YUUMI_RATE_OVER_LIMIT','enc','defaultWorksheetPermissionPoint','_getSignURL','take','WorksheetProtectionPointModel','join','online','sin','/collaborator','byteLength','_oKey','_getAPIPrefixPath','IPermissionService','msCrypto','_getSessionTicket','getInterceptPoints','parse','_substituteRedoStack','responseType','unsubscribe','ITransformService','HEARTBEAT','_getDownloadEndpointURL','_mode','processBlock','next','onCommentUpdate','_compressMutationService','c2Prime','ImageSourceType','42NHNxUB','cfg','deserializeToCombResponse','state','_resendWithTimeout','readInt32LE','CollaborationUIEventId','closeSession','HEARTBEAT_TIMEOUT','CLOSE_ROOM','CHANGESET_REVISION_CONFILICT','MergeInterceptorFactory','onCommandExecuted','loadUnit','mapDocumentTypeToUniverType','getAllRangePermissionPoint','session.room-full','YUUMI_UNABLE_LOAD_URL','JOINING','createInstance','[CollaborationSession]','[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.','clamp','LocaleService','onTransformSelections','Base64','subject','_http','getValue','Workbook','StreamCipher','_init','snapshot','_parse','_socketService','updateCursorEvent','set','_startTelemetryCollaborationNewChangeset','UniverInstanceType','collaboration-client.local-cache-service','USERS_ENTER','_loadSheet','INGEST','_invKeySchedule','sessionStatus','session','updateMember','\x20to\x20','ISnapshotServerService','getTime','_incrementRevisionNumber','baseRev','PSEUDO_FETCH_MISSING_RESULT','message$','getImageSourceCache','shouldCloseConn','/object','@univerjs/drawing','_queuedRemoteChangesets','_ws','RichTextEditingMutation','socket\x20open.','getSheetBlock','listRoles','authzUrl','OFFLINE','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','fetchMiss','routeKey','loadSheet','_getAPIPrefix','/new_changes','SNAPSHOT_INVALID_SNAPSHOT','_map','sessionTicket','LOCAL_CACHE_INTERVAL','DisposableCollection','collabWebSocketUrl','[SyncedState]:\x20received\x20acknowledgement.','getCollabEntity$','_collabSessionService','rev','_event$','_hasher','_status$','removeMember','transformUndoRedo','_sendHeartbeat','JOIN_ROOM_FULL','newCsEvent','collaboration-client.config','ENSURE_SNAPSHOT_EXECUTION','enableOfflineEditing','_univerInstanceService','Hex','_updateLocalCache','_createHelper','DataLoaderService','InsertSheetMutation','getCollabEntity','incrementRevOfUnit','[CollaborationEntity]','replace','_sendingTimer','code','_toggleOffline','_updateState','Base','startTime','PERMISSION_REJ','takeUntil','method','application/json','memberID','CONNECTOR_DATA_TOO_LARGE','getUnitId','transformMutationsWithChangeset','getDeserializedSheetBlock','FAIL','bind','onTransformRemoteChangesetByIMECache','registerHTTPInterceptor','\x0aAfter:\x20','capture','submit\x20changeset\x20error!','encode','_tryReconnect','session.join-failed','_onConnectionFailed','list','HmacSHA1','APPLY_REVISION_CONFILICT','INTERNAL_ERROR','1076154HfLXCD','parseProtocolChangeset','event$','find','_replayCachedMutations','requestParams','_transformStateCache','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getResourcesRequest','status','_decreaseWaiting','AWAITING','getUnitStatus$','YUUMI_URL_COL_OUT_OF_RANGE','BlockCipher','INVALID_ARGUMENT','SessionStatus','session.room-cnt-exceeds','updatePermissionObjEvent','UNKNOWN_CODE','offline','values','pauseCollaboration','/universer-api/comb','algo','workbook','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','create','onSendChangeset','transformStack\x20failed!','allowed','fetch_missing','/unit/','SYNCED','onRemoteRetry','collabSubmitChangesetUrl','794FiwMEC','toggleOffline','SUCCUSS','UPDATE_CURSOR','append','selections','_applyRemoteChangeset','prototype','open$','NoPadding','_getUploadFileURL','indexOf','getMemberID','_onOffline','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','put','_transformRemoteChangesetByStateCache','localeService','_logService','joinEvent','ConflictState','stopTime','loadDoc','hasOwnProperty','GLOBAL_ROOMS_CNT_EXCEEDS','UNIVER_PROJECT','_shouldReportTelemetry','SnapshotServerOverHTTPService','_resendTimeout','IAuthzIoService','APPLY_REJECT','_clearTimeoutTimer','SyncedState','PendingState','loadOfflineData','stringify','LIVESHARE_FETCH_OPERATIONS','_handlerCallback','c1Prime','ILogService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SheetTransformSelectionsService','LOCAL_CACHE_INTERVAL_KEY','@univerjs/sheets','_getCtorByUniverType','setCurrentUser','initWorkbookPermissionChange','Utf8','equals','getPermissionPoint','\x20-\x20','_nRounds','LICENSE_MAX_UNITS_EXCEEDED','RevisionService','_cipher','ITelemetryService','COLLAB_SUBMIT_CHANGESET_URL','getCurrentUser','AUTHZ_URL_KEY','_undoRedoService','signUrlServerUrl','WordArray','status$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_keyPriorReset','listCollaborators','userID','DependentOn','ERROR_IMAGE','OfflineState','_syncEditingCollabCursor','session.room-permission-denied','range','map','_permissionService','lib','UniverNetworkPlugin','getTargetByPermissionId','_clearScheduledTask','_timeoutTimer','compose','mixIn','SnapshotService','ciphertext','[PendingState]:\x20received\x20rejection.','_commandService','_waitForHeartbeatResponse','createSocket','_clearCollaborationTimeoutTimer','add','sessionStatus$','saveSnapshot','_commentService','format','clone','_initMergeInterceptor','@univerjs/telemetry','YUUMI_SUBSCRIPTION_NOT_FOUND','exports','wsSessionTicketUrl','enableAuthServer','CollaborationEntity','interceptor','getUnitType','liveShareOperation','&source=','_key','blockSize','unpad','_awaitingChangeset','createIdentifier','APPLY_PERMISSION_DENIED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Latin1','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearUndo','COMPRESS_MUTATION_SEND','4809700KDOCcs','complete','UPDATE_PERMISSION_OBJ','CompressMutationService','collaboratorID','clear','defaultWorkbookPermissionPoints','SheetsSelectionsService','LICENSE_DISTRO_REJECTED','_members','batchAllowed','fromCharCode','getTypeOfUnitAdded$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Worksheet','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getUndoStack','CollaborativeUndoRedoService','isTransformChangesetsSuccess','disableLocalCache','_transformService','Pkcs7','AWAITING_WITH_PENDING','getTypeOfUnitDisposed$','APPLY_NON_SEQUENTIAL_REVISION','_resendTimer','_retryConnectingTimer','?size=','UNIVER_COLLABORATION_CLIENT_PLUGIN','dispose','floor','fetching\x20missing\x20changesets\x20from\x20','localCacheService','get','_toggleOnline','_iv','fetchThroughInterceptors','mutations','catch','ivSize','_localeService','onMissingChangesets','CHANGESET_ACK','image/bmp','_singleActiveUnitService','IImageIoService','emitEvent','kdf','onlyLocal','conflict','CHANGESET_REJ','rng','_checkMissing','FETCH_MISSING','HELLO','COLLAB_WEB_SOCKET_URL','NO_OTHER_CLIENTS_EDITING','/universer-api/oidc/authpage','WorksheetProtectionRuleModel','_collaborationTimeoutTimer','_HTTPService','_joinRoom','UNAUTHENTICATED','keySize','isTransformMutationsWithChangesetFailure','CHANGESET_SHOULD_RETRY','Undefined','getImage','type','downloadEndpointUrl','JOIN','PENDING','setWaitCount','sequenceExecute','SUBMIT_CHANGESET','1017030UeNWRm','_transformUndoredo','decrypt','subType','extend','randomUUID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','key','href','update','ruleRefresh','changesets','Module','setShowComponents','dispose$','touchDependencies','_config','[DataLoaderService]','ILocalCacheService','Cipher','_authzIoService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createInitialStateImpl','IContextService','getAllWorksheetPermissionPoint','onSyncEditingCollabCursor','SNAPSHOT_URL_KEY'];_0x5935=function(){return _0x2d8d7b;};return _0x5935();}const _i=new Uint8Array(0x10);function ui(){var _0x82aeb1=_0x4088ec;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x82aeb1(0x2ea));Ue=crypto[_0x82aeb1(0x438)][_0x82aeb1(0x2aa)](crypto);}return Ue(_i);}const di=typeof crypto<'u'&&crypto[_0x4088ec(0x3a1)]&&crypto[_0x4088ec(0x3a1)][_0x4088ec(0x2aa)](crypto),qe={'randomUUID':di};function vi(_0x1ea041,_0x531217,_0x1503d1){var _0x38ff=_0x4088ec;if(qe[_0x38ff(0x3a1)]&&!_0x531217&&!_0x1ea041)return qe['randomUUID']();_0x1ea041=_0x1ea041||{};const _0x5598a9=_0x1ea041['random']||(_0x1ea041[_0x38ff(0x384)]||ui)();return _0x5598a9[0x6]=_0x5598a9[0x6]&0xf|0x40,_0x5598a9[0x8]=_0x5598a9[0x8]&0x3f|0x80,li(_0x5598a9);}const J=a[_0x4088ec(0x34a)](_0x4088ec(0x25a));function fi(_0x1d5a28){return'unit-cache-'+_0x1d5a28;}var Si=Object[_0x4088ec(0x4b1)],pi=Object[_0x4088ec(0x4cd)],gi=(_0xdb22dd,_0x59551f,_0x133ce2,_0x1096cf)=>{var _0x42cdc9=_0x4088ec;for(var _0x50cb78=_0x1096cf>0x1?void 0x0:_0x1096cf?pi(_0x59551f,_0x133ce2):_0x59551f,_0xaafc08=_0xdb22dd[_0x42cdc9(0x42f)]-0x1,_0x1e3f9a;_0xaafc08>=0x0;_0xaafc08--)(_0x1e3f9a=_0xdb22dd[_0xaafc08])&&(_0x50cb78=(_0x1096cf?_0x1e3f9a(_0x59551f,_0x133ce2,_0x50cb78):_0x1e3f9a(_0x50cb78))||_0x50cb78);return _0x1096cf&&_0x50cb78&&Si(_0x59551f,_0x133ce2,_0x50cb78),_0x50cb78;},Ne=(_0x304f3d,_0x44763e)=>(_0x50835a,_0x4892ac)=>_0x44763e(_0x50835a,_0x4892ac,_0x304f3d);function mi(_0x404463){var _0x1dcda7=_0x4088ec;const {unitID:_0xf4514a,mutations:_0x6651ed}=_0x404463;return{'unitId':_0xf4514a,'subUnitId':_0x6651ed[0x0]['params'][_0x1dcda7(0x3de)]};}exports[_0x4088ec(0x305)]=class{constructor(_0x9e754,_0xb11cee,_0x2798f6){var _0x24bd40=_0x4088ec;this[_0x24bd40(0x416)]=_0x9e754,this[_0x24bd40(0x365)]=_0xb11cee,this[_0x24bd40(0x494)]=_0x2798f6;}[_0x4088ec(0x53c)](_0x1c31ba){var _0x17a415=_0x4088ec,_0x12f16c,_0x30a359,_0x2b4dc0,_0x4d0a31;const _0x22ff16=this[_0x17a415(0x416)][_0x17a415(0x372)](W[_0x17a415(0x358)]),{unitId:_0x342393,subUnitId:_0x4a62d4}=mi(_0x1c31ba),_0x2ef639=_0x22ff16==null?void 0x0:_0x22ff16[_0x17a415(0x454)](_0x342393)[_0x17a415(0x1d2)](),_0x58373b=(_0x30a359=(_0x12f16c=this[_0x17a415(0x494)][_0x17a415(0x505)](_0x342393))==null?void 0x0:_0x12f16c['getActiveSheet']())==null?void 0x0:_0x30a359[_0x17a415(0x4d1)]();if(_0x2ef639[_0x17a415(0x42f)]===0x0||!_0x342393||!_0x4a62d4)return;const _0x2ac456=[{'id':W[_0x17a415(0x200)]['id'],'params':{'unitId':_0x342393,'subUnitId':_0x58373b,'selections':a[_0x17a415(0x1c4)]['deepClone'](_0x2ef639)}}],_0x50ff6f=this[_0x17a415(0x365)][_0x17a415(0x2a7)](_0x1c31ba,_0x2ac456);if(!m[_0x17a415(0x45d)](_0x50ff6f))throw _0x50ff6f[_0x17a415(0x539)];const _0x1a9977=(_0x4d0a31=(_0x2b4dc0=_0x50ff6f['m2Prime'][0x0])==null?void 0x0:_0x2b4dc0[_0x17a415(0x41f)])==null?void 0x0:_0x4d0a31[_0x17a415(0x2e1)];if(Array[_0x17a415(0x511)](_0x1a9977)&&_0x1a9977[_0x17a415(0x42f)]){if(_0x1a9977['length']===_0x2ac456[0x0]['params'][_0x17a415(0x2e1)][_0x17a415(0x42f)]&&_0x1a9977[_0x17a415(0x4b8)]((_0x171a21,_0x47dbe9)=>a[_0x17a415(0x45a)][_0x17a415(0x30c)](_0x171a21['range'],_0x2ac456[0x0][_0x17a415(0x41f)][_0x17a415(0x2e1)][_0x47dbe9][_0x17a415(0x324)])))return;this[_0x17a415(0x416)][_0x17a415(0x372)](a['ICommandService'])[_0x17a415(0x4b5)](W[_0x17a415(0x200)]['id'],{'unitId':_0x342393,'subUnitId':_0x58373b,'selections':_0x1a9977});}}},exports[_0x4088ec(0x305)]=gi([Ne(0x0,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x538)])),Ne(0x1,m[_0x4088ec(0x229)]),Ne(0x2,a[_0x4088ec(0x1de)])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier'](_0x4088ec(0x4ec));var Fe=(_0x4cd44d=>(_0x4cd44d[_0x4cd44d[_0x4088ec(0x389)]=0x0]=_0x4088ec(0x389),_0x4cd44d[_0x4cd44d[_0x4088ec(0x447)]=0x1]=_0x4088ec(0x447),_0x4cd44d))(Fe||{});const Ii=new Set([W[_0x4088ec(0x295)]['id']]);function ze(_0x409184,_0x5248a2,_0x1ab880,_0x319658,_0x43a7cd){var _0x54e529=_0x4088ec,_0x2ce96b,_0x3db6df,_0x3e56c9,_0x115a0f;const _0x1244b8=[];for(const _0x39b33b of _0x409184)if(Ii[_0x54e529(0x437)](_0x39b33b['id'])){if(_0x1244b8[_0x54e529(0x42f)]>0x0)break;_0x1244b8[_0x54e529(0x52e)](_0x39b33b);break;}else _0x1244b8[_0x54e529(0x52e)](_0x39b33b);const _0x568126=(_0x3db6df=(_0x2ce96b=_0x43a7cd[_0x54e529(0x315)]())==null?void 0x0:_0x2ce96b[_0x54e529(0x31e)])!=null?_0x3db6df:_0x54e529(0x512),_0x38f63f=(_0x115a0f=(_0x3e56c9=_0x43a7cd[_0x54e529(0x315)]())==null?void 0x0:_0x3e56c9[_0x54e529(0x2a4)])!=null?_0x115a0f:_0x54e529(0x512);return{'changeset':{'unitID':_0x5248a2,'type':m['mapDocumentTypeToUniverType'](_0x1ab880[_0x54e529(0x343)](_0x5248a2)),'baseRev':_0x319658[_0x54e529(0x4ae)](_0x5248a2),'revision':0x0,'userID':_0x568126,'memberID':_0x38f63f,'mutations':_0x1244b8},'pendingMutations':_0x409184[_0x54e529(0x4ba)](_0x1244b8[_0x54e529(0x42f)])};}function Ei(_0x5ab1c3,_0x5d4ce2,_0x48d6cf,_0x316570,_0x3fa712){var _0x829cdd=_0x4088ec,_0xa2c8d1,_0x1d9462,_0x45252c,_0x68afa7;const _0x34e549=[_0x5ab1c3[_0x829cdd(0x401)]((_0x31baca,_0x772d3e)=>{var _0x3e4d5e=_0x829cdd,_0x3918de;const {id:_0x4d1901}=_0x31baca,{id:_0x50942f,type:_0x5b5c03}=_0x772d3e,_0x4a3b63=(_0x3918de=_0x31baca['params'])!=null?_0x3918de:{'actions':null},_0x574143=_0x772d3e[_0x3e4d5e(0x41f)];if(_0x4d1901&&_0x4d1901!==_0x50942f)throw new Error(_0x3e4d5e(0x534)+_0x4d1901+_0x3e4d5e(0x30e)+_0x50942f+'.');return{..._0x31baca,'id':_0x50942f,'type':_0x5b5c03,'params':{'unitId':_0x574143[_0x3e4d5e(0x53e)],'textRanges':_0x574143[_0x3e4d5e(0x501)],'actions':a[_0x3e4d5e(0x3ef)][_0x3e4d5e(0x32c)](_0x4a3b63[_0x3e4d5e(0x50b)],_0x574143[_0x3e4d5e(0x50b)])}};},{})],_0x421491=(_0x1d9462=(_0xa2c8d1=_0x3fa712[_0x829cdd(0x315)]())==null?void 0x0:_0xa2c8d1[_0x829cdd(0x31e)])!=null?_0x1d9462:_0x829cdd(0x512),_0x5d4e73=(_0x68afa7=(_0x45252c=_0x3fa712['getCurrentUser']())==null?void 0x0:_0x45252c[_0x829cdd(0x2a4)])!=null?_0x68afa7:_0x829cdd(0x512);return{'changeset':{'unitID':_0x5d4ce2,'type':m[_0x829cdd(0x241)](_0x48d6cf[_0x829cdd(0x343)](_0x5d4ce2)),'baseRev':_0x316570[_0x829cdd(0x4ae)](_0x5d4ce2),'revision':0x0,'userID':_0x421491,'memberID':_0x5d4e73,'mutations':_0x34e549},'pendingMutations':[]};}function yt(_0x59c17c,_0x414409){var _0x51305d=_0x4088ec;const _0x35a0c0=new B[(_0x51305d(0x48a))](0x1);return setTimeout(()=>_0x35a0c0['next'](_0x414409),_0x59c17c),_0x35a0c0[_0x51305d(0x483)]()[_0x51305d(0x3fe)](B[_0x51305d(0x218)](0x1));}const Ci={'id':W[_0x4088ec(0x205)]['id'],'type':a[_0x4088ec(0x52f)][_0x4088ec(0x4ea)],'params':{}};var Ti=Object[_0x4088ec(0x4b1)],bi=Object['getOwnPropertyDescriptor'],le=(_0x2bea93,_0x3a8d6c,_0x1435c1,_0x4e4a03)=>{var _0x5db773=_0x4088ec;for(var _0x49a9a5=_0x4e4a03>0x1?void 0x0:_0x4e4a03?bi(_0x3a8d6c,_0x1435c1):_0x3a8d6c,_0x42227c=_0x2bea93[_0x5db773(0x42f)]-0x1,_0x5ba68f;_0x42227c>=0x0;_0x42227c--)(_0x5ba68f=_0x2bea93[_0x42227c])&&(_0x49a9a5=(_0x4e4a03?_0x5ba68f(_0x3a8d6c,_0x1435c1,_0x49a9a5):_0x5ba68f(_0x49a9a5))||_0x49a9a5);return _0x4e4a03&&_0x49a9a5&&Ti(_0x3a8d6c,_0x1435c1,_0x49a9a5),_0x49a9a5;},A=(_0x248d29,_0x265d67)=>(_0x5f0764,_0x206c1a)=>_0x265d67(_0x5f0764,_0x206c1a,_0x248d29),We=(_0x3c64d7=>(_0x3c64d7['NOT_COLLAB']=_0x4088ec(0x48e),_0x3c64d7[_0x4088ec(0x2d9)]=_0x4088ec(0x4f9),_0x3c64d7[_0x4088ec(0x398)]='pending',_0x3c64d7[_0x4088ec(0x2c3)]='awaiting',_0x3c64d7[_0x4088ec(0x367)]=_0x4088ec(0x532),_0x3c64d7[_0x4088ec(0x491)]=_0x4088ec(0x2d7),_0x3c64d7[_0x4088ec(0x20a)]=_0x4088ec(0x382),_0x3c64d7[_0x4088ec(0x274)]=_0x4088ec(0x2cc),_0x3c64d7))(We||{});const Ot=0xea60;class _e{constructor(_0x416bd0,_0xcba8cf,_0x361618,_0x5c03bc,_0x22919a,_0x1d7d90,_0x1fe581,_0x34761a,_0x282ddf){var _0x347d5c=_0x4088ec;w(this,'_awaitingChangeset',null),w(this,_0x347d5c(0x4ee),[]),(this[_0x347d5c(0x481)]=_0x416bd0,this[_0x347d5c(0x395)]=_0xcba8cf,this[_0x347d5c(0x417)]=_0x22919a,this['_commandService']=_0x1d7d90,this[_0x347d5c(0x317)]=_0x1fe581,this[_0x347d5c(0x414)]=_0x34761a,this[_0x347d5c(0x49a)]=_0x282ddf,this[_0x347d5c(0x349)]=_0x361618,this[_0x347d5c(0x4ee)]=_0x5c03bc);}['_checkMissing'](_0x1ff80d){var _0x46eea4=_0x4088ec;const _0x4a2938=this[_0x46eea4(0x414)][_0x46eea4(0x4ae)](this[_0x46eea4(0x481)]);return _0x1ff80d[_0x46eea4(0x517)]>_0x4a2938+0x1?(this[_0x46eea4(0x417)][_0x46eea4(0x37a)]({'from':_0x4a2938,'to':_0x1ff80d[_0x46eea4(0x517)]-0x1}),!0x0):!0x1;}[_0x4088ec(0x39d)](_0x2da114){var _0x1e973a=_0x4088ec;this[_0x1e973a(0x317)][_0x1e973a(0x289)](this[_0x1e973a(0x481)],_0x2da114);}['_transformSelections'](_0x8d8b1a){var _0x174b41=_0x4088ec,_0x5b6277,_0x55b8a5;(_0x55b8a5=(_0x5b6277=this['_handler'])[_0x174b41(0x24b)])==null||_0x55b8a5[_0x174b41(0x4a0)](_0x5b6277,_0x8d8b1a);}[_0x4088ec(0x478)](_0x5ce185){var _0x6c3e60=_0x4088ec,_0x1d7eb3,_0x23115c;return(_0x23115c=(_0x1d7eb3=this[_0x6c3e60(0x417)])[_0x6c3e60(0x4d0)])==null?void 0x0:_0x23115c[_0x6c3e60(0x4a0)](_0x1d7eb3,_0x5ce185);}['_transformStateCache'](_0xa73421){var _0x5c2e97=_0x4088ec,_0x3dc9cc,_0x35e454;return(_0x35e454=(_0x3dc9cc=this[_0x5c2e97(0x417)])['onTransformState'])==null?void 0x0:_0x35e454[_0x5c2e97(0x4a0)](_0x3dc9cc,_0xa73421);}[_0x4088ec(0x492)](_0x31afa3){var _0x117bfc,_0x58a29f,_0x312c78;return(_0x312c78=(_0x58a29f=(_0x117bfc=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x58a29f['call'](_0x117bfc,_0x31afa3))!=null?_0x312c78:_0x31afa3;}['_transformRemoteChangesetByStateCache'](_0x253735){var _0x5c82b8=_0x4088ec,_0x808ef4,_0x224cd7,_0x2cba9a;return(_0x2cba9a=(_0x224cd7=(_0x808ef4=this[_0x5c82b8(0x417)])[_0x5c82b8(0x4a4)])==null?void 0x0:_0x224cd7[_0x5c82b8(0x4a0)](_0x808ef4,_0x253735))!=null?_0x2cba9a:_0x253735;}[_0x4088ec(0x322)](_0x1d5753){var _0x4df5bb=_0x4088ec,_0x34ec99,_0x40e9d8;if(this['type']===Z[_0x4df5bb(0x3f8)]){const {unitID:_0x3fa1f7,mutations:_0x211126,memberID:_0x4b4537}=_0x1d5753,_0x3842a5=_0x211126[0x0]['params'][_0x4df5bb(0x501)];Array[_0x4df5bb(0x511)](_0x3842a5)&&_0x3842a5[_0x4df5bb(0x42f)]>0x0&&((_0x40e9d8=(_0x34ec99=this[_0x4df5bb(0x417)])['onSyncEditingCollabCursor'])==null||_0x40e9d8['call'](_0x34ec99,{'unitID':_0x3fa1f7,'memberID':_0x4b4537,'textRanges':_0x3842a5}));}}[_0x4088ec(0x292)](){var _0x1fa566=_0x4088ec,_0x3385f5;(_0x3385f5=this[_0x1fa566(0x49a)])==null||_0x3385f5[_0x1fa566(0x448)](this['unitID'],this[_0x1fa566(0x395)],this['_awaitingChangeset'],this[_0x1fa566(0x4ee)]);}[_0x4088ec(0x44e)](){var _0x52915a=_0x4088ec;return this[_0x52915a(0x414)][_0x52915a(0x4ae)](this[_0x52915a(0x481)]);}[_0x4088ec(0x265)](){var _0x1e6d16=_0x4088ec;this[_0x1e6d16(0x414)][_0x1e6d16(0x297)](this[_0x1e6d16(0x481)]);}[_0x4088ec(0x493)](_0x546a4e){var _0x179ab3=_0x4088ec,_0x29c698;let _0x5d1d59=this['_transformRemoteChangesetByIMECache'](_0x546a4e);_0x5d1d59=this[_0x179ab3(0x2ec)](_0x5d1d59);const _0x38504b=a[_0x179ab3(0x39a)](_0x5d1d59[_0x179ab3(0x376)],this[_0x179ab3(0x331)],{'fromCollab':!0x0});if(!_0x38504b[_0x179ab3(0x1ed)])throw _0x38504b[_0x179ab3(0x539)]instanceof Error?_0x38504b[_0x179ab3(0x539)]:new Error((_0x29c698=_0x38504b[_0x179ab3(0x539)])!=null?_0x29c698:_0x179ab3(0x4fd));this[_0x179ab3(0x478)](_0x5d1d59),this[_0x179ab3(0x2be)](_0x5d1d59),this[_0x179ab3(0x39d)](_0x546a4e),this['_transformSelections'](_0x5d1d59),this[_0x179ab3(0x322)](_0x5d1d59),this[_0x179ab3(0x265)]();}}exports[_0x4088ec(0x2fc)]=class extends _e{constructor(_0x564dc6,_0x1ff22c,_0x10fc61,_0x8c70aa,_0x32a283,_0x442b63,_0x293683,_0x2bdcf9,_0x27c8b9,_0x30755e){var _0x5512da=_0x4088ec;super(_0x564dc6,_0x1ff22c,null,[],_0x10fc61,_0x293683,_0x442b63,_0x8c70aa,_0x30755e),w(this,_0x5512da(0x2c1),'synced'),(this[_0x5512da(0x416)]=_0x32a283,this['_logService']=_0x2bdcf9,this[_0x5512da(0x365)]=_0x27c8b9,this[_0x5512da(0x371)]=_0x30755e);}[_0x4088ec(0x3d9)](_0x4f48f1){var _0x39c512=_0x4088ec;const _0x4aa525=this[_0x39c512(0x416)][_0x39c512(0x246)](exports['PendingState'],this['unitID'],this[_0x39c512(0x395)],[_0x4f48f1],this[_0x39c512(0x417)]);return _0x4aa525[_0x39c512(0x1f7)](),_0x4aa525[_0x39c512(0x292)](),_0x4aa525;}[_0x4088ec(0x44b)](_0x516cd8){var _0x4f97eb=_0x4088ec;if(this[_0x4f97eb(0x385)](_0x516cd8))return this[_0x4f97eb(0x416)][_0x4f97eb(0x246)](exports['FetchingMissState'],this[_0x4f97eb(0x481)],this[_0x4f97eb(0x395)],null,[],null,[_0x516cd8],this[_0x4f97eb(0x417)]);try{const _0x189aaa=this[_0x4f97eb(0x365)][_0x4f97eb(0x2a7)](_0x516cd8,[Ci]);if(m['isTransformMutationsWithChangesetSuccess'](_0x189aaa)){const {c1Prime:_0xff9d9c}=_0x189aaa;return this['_executeRemoteChangeset'](_0xff9d9c),this;}throw _0x189aaa[_0x4f97eb(0x539)];}catch(_0x2f6ebc){return this['_logService'][_0x4f97eb(0x539)](_0x2f6ebc),this[_0x4f97eb(0x4f0)](!0x1);}}['_onConflict'](_0x51f834){var _0x19c473=_0x4088ec;return this[_0x19c473(0x416)][_0x19c473(0x246)](exports[_0x19c473(0x2f0)],this[_0x19c473(0x481)],this[_0x19c473(0x395)],null,[],this[_0x19c473(0x417)],_0x51f834);}[_0x4088ec(0x3d3)](){var _0x5c60a0=_0x4088ec;throw new Error(_0x5c60a0(0x281));}[_0x4088ec(0x3d5)](){var _0x3bab57=_0x4088ec;throw new Error(_0x3bab57(0x4d9));}[_0x4088ec(0x2da)](){return this;}[_0x4088ec(0x2dd)](){var _0x168afb=_0x4088ec;return this[_0x168afb(0x416)][_0x168afb(0x246)](exports[_0x168afb(0x321)],this[_0x168afb(0x481)],this[_0x168afb(0x395)],null,[],this[_0x168afb(0x417)]);}[_0x4088ec(0x40d)](){return this;}[_0x4088ec(0x499)](){var _0x3d2cb8=_0x4088ec;throw new Error(_0x3d2cb8(0x496));}[_0x4088ec(0x276)](){var _0x196d5a=_0x4088ec;const _0xdff8f8=this[_0x196d5a(0x414)]['getCurrentRevOfUnit'](this[_0x196d5a(0x481)]);return this['_handler'][_0x196d5a(0x37a)]({'from':_0xdff8f8,'to':0x0}),this[_0x196d5a(0x416)][_0x196d5a(0x246)](exports['FetchingMissState'],this[_0x196d5a(0x481)],this[_0x196d5a(0x395)],null,[],null,[],this['_handler']);}},exports[_0x4088ec(0x2fc)]=le([A(0x3,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x311)])),A(0x4,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x538)])),A(0x5,a['IUndoRedoService']),A(0x6,a['ICommandService']),A(0x7,a[_0x4088ec(0x303)]),A(0x8,m[_0x4088ec(0x229)]),A(0x9,a[_0x4088ec(0x1e9)](J))],exports['SyncedState']),exports[_0x4088ec(0x2fd)]=class extends _e{constructor(_0x4b2842,_0x48feb9,_0x5b9d9a,_0x57677c,_0x37e829,_0x2f3555,_0x44ae8f,_0x489f72,_0x346f35,_0x581977,_0x1a2fd9,_0x41b7b0,_0x3426b7,_0x232cac){var _0x514030=_0x4088ec;super(_0x4b2842,_0x48feb9,null,_0x5b9d9a,_0x57677c,_0x346f35,_0x3426b7,_0x2f3555,_0x232cac),w(this,'status',_0x514030(0x4a1)),w(this,_0x514030(0x4b2),null),w(this,_0x514030(0x29a),null),(this[_0x514030(0x416)]=_0x37e829,this[_0x514030(0x502)]=_0x44ae8f,this[_0x514030(0x2ee)]=_0x489f72,this[_0x514030(0x3f5)]=_0x581977,this[_0x514030(0x365)]=_0x1a2fd9,this[_0x514030(0x290)]=_0x41b7b0);}[_0x4088ec(0x3d9)](_0x2f95cd){var _0x284cc6=_0x4088ec;return this[_0x284cc6(0x4ee)][_0x284cc6(0x52e)](_0x2f95cd),this[_0x284cc6(0x292)](),this;}[_0x4088ec(0x44b)](_0x8a9f4b){var _0xb1d8ed=_0x4088ec;if(this[_0xb1d8ed(0x385)](_0x8a9f4b))return this[_0xb1d8ed(0x32a)](),this[_0xb1d8ed(0x416)][_0xb1d8ed(0x246)](exports[_0xb1d8ed(0x4b7)],this[_0xb1d8ed(0x481)],this['type'],null,this[_0xb1d8ed(0x4ee)],null,[_0x8a9f4b],this[_0xb1d8ed(0x417)]);try{const _0x2d48c7=this[_0xb1d8ed(0x365)]['transformMutationsWithChangeset'](_0x8a9f4b,this[_0xb1d8ed(0x4ee)]);if(m[_0xb1d8ed(0x45d)](_0x2d48c7)){const {c1Prime:_0xa37109,m2Prime:_0x1866b6}=_0x2d48c7;this[_0xb1d8ed(0x493)](_0xa37109);const _0x3c7f52=this[_0xb1d8ed(0x416)][_0xb1d8ed(0x246)](exports[_0xb1d8ed(0x2fd)],this[_0xb1d8ed(0x481)],this['type'],_0x1866b6,this['_handler']);return this[_0xb1d8ed(0x32a)](),_0x3c7f52['_schedule'](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0xb1d8ed(0x264)]()-this['_scheduleTimestamp']):this[_0xb1d8ed(0x51b)]()),_0x3c7f52;}throw _0x2d48c7['error'];}catch(_0x514c47){return this[_0xb1d8ed(0x2ee)]['error'](_0x514c47),this['_onConflict'](!0x1);}}[_0x4088ec(0x3d3)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4088ec(0x3d5)](){var _0x13f6ea=_0x4088ec;throw new Error(_0x13f6ea(0x330));}['onRemoteRetry'](){return this;}[_0x4088ec(0x2dd)](){var _0x2f9bf8=_0x4088ec;return this[_0x2f9bf8(0x32a)](),this[_0x2f9bf8(0x416)][_0x2f9bf8(0x246)](exports['OfflineState'],this[_0x2f9bf8(0x481)],this['type'],null,this[_0x2f9bf8(0x4ee)],this[_0x2f9bf8(0x417)]);}[_0x4088ec(0x40d)](){return this;}['_schedule'](_0x439208){var _0x5e0719=_0x4088ec;const _0x12e499=_0x439208!=null?_0x439208:this[_0x5e0719(0x51b)]();this[_0x5e0719(0x4b2)]=new Date()[_0x5e0719(0x264)](),this['_sendingTimer']=window[_0x5e0719(0x1cb)](()=>{var _0x3d30cc=_0x5e0719;this[_0x3d30cc(0x32a)]();let _0x4f7f9d=null;switch(this['type']){case Z[_0x3d30cc(0x3c5)]:{_0x4f7f9d=ze(this[_0x3d30cc(0x4ee)],this['unitID'],this[_0x3d30cc(0x290)],this[_0x3d30cc(0x414)],this['_memberService']);break;}case Z[_0x3d30cc(0x3f8)]:{this[_0x3d30cc(0x4ee)]['every'](_0xf6ed1f=>_0xf6ed1f['id']===ut[_0x3d30cc(0x26f)]['id'])?_0x4f7f9d=Ei(this[_0x3d30cc(0x4ee)],this['unitID'],this[_0x3d30cc(0x290)],this[_0x3d30cc(0x414)],this[_0x3d30cc(0x502)]):_0x4f7f9d=ze(this[_0x3d30cc(0x4ee)],this['unitID'],this[_0x3d30cc(0x290)],this[_0x3d30cc(0x414)],this['_memberService']);break;}default:throw new Error(_0x3d30cc(0x304)+this[_0x3d30cc(0x395)]+_0x3d30cc(0x1c8));}const {changeset:_0x394cb8,pendingMutations:_0x47db87}=_0x4f7f9d;this[_0x3d30cc(0x417)][_0x3d30cc(0x2d4)](_0x394cb8);const _0x1637c6=_0x47db87[_0x3d30cc(0x42f)]?this[_0x3d30cc(0x416)][_0x3d30cc(0x246)](exports[_0x3d30cc(0x421)],this[_0x3d30cc(0x481)],this[_0x3d30cc(0x395)],_0x394cb8,_0x47db87,this[_0x3d30cc(0x417)],void 0x0):this[_0x3d30cc(0x416)]['createInstance'](exports[_0x3d30cc(0x3d7)],this[_0x3d30cc(0x481)],this[_0x3d30cc(0x395)],_0x394cb8,this[_0x3d30cc(0x417)]);_0x1637c6[_0x3d30cc(0x292)](),this['_handler'][_0x3d30cc(0x466)](this,_0x1637c6);},_0x12e499);}[_0x4088ec(0x51b)](){var _0x1bb2ea=_0x4088ec,_0x36375a;const _0x3ae8a9=this[_0x1bb2ea(0x3f5)]['getConfig'](z);return(_0x36375a=_0x3ae8a9==null?void 0x0:_0x3ae8a9['sendChangesetTimeout'])!=null?_0x36375a:$t;}['resend'](){var _0x8fae10=_0x4088ec;throw new Error(_0x8fae10(0x2bf));}[_0x4088ec(0x32a)](){var _0x201ffd=_0x4088ec;this[_0x201ffd(0x29a)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x201ffd(0x29a)]=null);}[_0x4088ec(0x4f0)](_0x4e376d){var _0x2a581d=_0x4088ec;return this[_0x2a581d(0x32a)](),this[_0x2a581d(0x416)][_0x2a581d(0x246)](exports[_0x2a581d(0x2f0)],this[_0x2a581d(0x481)],this['type'],null,this['_pendingMutations'],this[_0x2a581d(0x417)],_0x4e376d);}},exports[_0x4088ec(0x2fd)]=le([A(0x4,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x538)])),A(0x5,a[_0x4088ec(0x4e2)](m['RevisionService'])),A(0x6,a[_0x4088ec(0x4e2)](exports[_0x4088ec(0x4af)])),A(0x7,a[_0x4088ec(0x303)]),A(0x8,a[_0x4088ec(0x498)]),A(0x9,a[_0x4088ec(0x1d0)]),A(0xa,m[_0x4088ec(0x229)]),A(0xb,a[_0x4088ec(0x1de)]),A(0xc,a[_0x4088ec(0x1fc)]),A(0xd,a[_0x4088ec(0x1e9)](J))],exports[_0x4088ec(0x2fd)]),exports[_0x4088ec(0x3d7)]=class extends _e{constructor(_0x1386b5,_0x51cfa0,_0x1c32e6,_0x2ddacf,_0x4788c0,_0x551c89,_0xead06d,_0xfe2753,_0x2a8ddb,_0x46a4bb,_0x12fd3e){var _0x2ece2b=_0x4088ec;super(_0x1386b5,_0x51cfa0,_0x1c32e6,[],_0x2ddacf,_0xead06d,_0x46a4bb,_0x551c89,_0x12fd3e),w(this,_0x2ece2b(0x2c1),'awaiting'),w(this,_0x2ece2b(0x2f8),0x0),w(this,_0x2ece2b(0x36a)),w(this,_0x2ece2b(0x433)),(this['_injector']=_0x4788c0,this['_logService']=_0xfe2753,this['_transformService']=_0x2a8ddb);}[_0x4088ec(0x3d9)](_0x390c76){var _0x134c6b=_0x4088ec;this['_clearScheduledTask']();const _0x4fdc1b=this[_0x134c6b(0x416)][_0x134c6b(0x246)](exports[_0x134c6b(0x421)],this['unitID'],this[_0x134c6b(0x395)],this['_awaitingChangeset'],[_0x390c76],this['_handler'],this[_0x134c6b(0x36a)]);return _0x4fdc1b[_0x134c6b(0x292)](),_0x4fdc1b;}['onRemoteChangeset'](_0x40bc71){var _0x2bc221=_0x4088ec;if(this[_0x2bc221(0x385)](_0x40bc71))return this[_0x2bc221(0x32a)](),this['_injector'][_0x2bc221(0x246)](exports[_0x2bc221(0x4b7)],this[_0x2bc221(0x481)],this['type'],this[_0x2bc221(0x349)],[],null,[_0x40bc71],this[_0x2bc221(0x417)]);try{const _0x310bdb=this[_0x2bc221(0x365)][_0x2bc221(0x1e5)]([_0x40bc71],[this['_awaitingChangeset']],!0x1);if(m[_0x2bc221(0x363)](_0x310bdb)){const {c1Prime:_0x59152c,c2Prime:_0x288835}=_0x310bdb;this[_0x2bc221(0x493)](_0x59152c[0x0]),_0x288835[0x0][_0x2bc221(0x266)]=this[_0x2bc221(0x44e)](),this[_0x2bc221(0x32a)]();const _0x31c5fa=this[_0x2bc221(0x416)][_0x2bc221(0x246)](exports[_0x2bc221(0x3d7)],this['unitID'],this['type'],_0x288835[0x0],this[_0x2bc221(0x417)]);return _0x31c5fa[_0x2bc221(0x292)](),_0x31c5fa;}return this[_0x2bc221(0x4f0)](!0x1);}catch(_0x3fd848){return this[_0x2bc221(0x2ee)][_0x2bc221(0x539)](_0x3fd848),this[_0x2bc221(0x4f0)](!0x1);}}[_0x4088ec(0x3d3)](_0x44b4f7){var _0xf1b0cf=_0x4088ec;this[_0xf1b0cf(0x32a)]();const _0x3e7715=this[_0xf1b0cf(0x414)][_0xf1b0cf(0x4ae)](this[_0xf1b0cf(0x481)]);if(_0x44b4f7[_0xf1b0cf(0x517)]<_0x3e7715-0x1)return this;if(this[_0xf1b0cf(0x385)](_0x44b4f7))return this[_0xf1b0cf(0x416)][_0xf1b0cf(0x246)](exports['FetchingMissState'],this[_0xf1b0cf(0x481)],this[_0xf1b0cf(0x395)],null,[],this[_0xf1b0cf(0x349)],[],this['_handler']);this[_0xf1b0cf(0x265)]();const _0x7f9933=this[_0xf1b0cf(0x416)]['createInstance'](exports['SyncedState'],this['unitID'],this['type'],this[_0xf1b0cf(0x417)]);return _0x7f9933[_0xf1b0cf(0x292)](),_0x7f9933;}[_0x4088ec(0x3d5)](_0x20a335){var _0x282d6d=_0x4088ec;return this[_0x282d6d(0x4f0)](!!(_0x20a335!=null&&_0x20a335[_0x282d6d(0x506)]));}[_0x4088ec(0x2da)](_0x4dc465){var _0x545c81=_0x4088ec;return this[_0x545c81(0x2f8)]>Ot?this[_0x545c81(0x2dd)]():(this[_0x545c81(0x36a)]=yt(this[_0x545c81(0x2f8)],{'timeout':this[_0x545c81(0x2f8)],'reqId':_0x4dc465['reqId']}),this[_0x545c81(0x433)]=this[_0x545c81(0x36a)]['subscribe'](({reqId:_0x506f43,timeout:_0x18ae36})=>{var _0x4c9a70=_0x545c81;this[_0x4c9a70(0x237)](_0x506f43,_0x18ae36);}),this);}[_0x4088ec(0x2dd)](){var _0x40fbdd=_0x4088ec;return this[_0x40fbdd(0x32a)](),this['_injector'][_0x40fbdd(0x246)](exports[_0x40fbdd(0x321)],this[_0x40fbdd(0x481)],this[_0x40fbdd(0x395)],this[_0x40fbdd(0x349)],[],this[_0x40fbdd(0x417)]);}[_0x4088ec(0x40d)](){return this;}[_0x4088ec(0x499)](){var _0x4dd5e9=_0x4088ec;this[_0x4dd5e9(0x417)][_0x4dd5e9(0x2d4)](this[_0x4dd5e9(0x349)]);}[_0x4088ec(0x4f0)](_0x48cb45){var _0x199c20=_0x4088ec;return this[_0x199c20(0x32a)](),this[_0x199c20(0x416)][_0x199c20(0x246)](exports['ConflictState'],this[_0x199c20(0x481)],this[_0x199c20(0x395)],this['_awaitingChangeset'],[],this[_0x199c20(0x417)],_0x48cb45);}[_0x4088ec(0x237)](_0x4a3090,_0x1ac255){var _0x55db53=_0x4088ec,_0xd02141;_0x4a3090===((_0xd02141=this[_0x55db53(0x349)])==null?void 0x0:_0xd02141['reqId'])&&(this[_0x55db53(0x499)](),this['_resendTimeout']=_0x1ac255===0x0?0x3e8:_0x1ac255*0x2);}['_clearScheduledTask'](){var _0x310b09=_0x4088ec,_0x2b9cc8;(_0x2b9cc8=this[_0x310b09(0x433)])==null||_0x2b9cc8[_0x310b09(0x228)](),this[_0x310b09(0x2f8)]=0x0;}},exports[_0x4088ec(0x3d7)]=le([A(0x4,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x538)])),A(0x5,a['Inject'](m[_0x4088ec(0x311)])),A(0x6,a[_0x4088ec(0x498)]),A(0x7,a['ILogService']),A(0x8,m[_0x4088ec(0x229)]),A(0x9,a[_0x4088ec(0x1fc)]),A(0xa,a['Optional'](J))],exports[_0x4088ec(0x3d7)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x269b76,_0x2aafac,_0x289f87,_0x25c1cf,_0x31a249,_0x204b73,_0x3ec5a2,_0x341f5f,_0x5dabb1,_0x58fcfb,_0x5150ff,_0x186fe9,_0x42955a){var _0x34009f=_0x4088ec;super(_0x269b76,_0x2aafac,_0x289f87,_0x25c1cf,_0x31a249,_0x5dabb1,_0x186fe9,_0x341f5f,_0x42955a),w(this,'status','awaiting_with_pending'),w(this,_0x34009f(0x2f8),0x0),w(this,_0x34009f(0x36a)),w(this,'_sender'),(this[_0x34009f(0x416)]=_0x3ec5a2,this['_logService']=_0x58fcfb,this[_0x34009f(0x365)]=_0x5150ff,this[_0x34009f(0x371)]=_0x42955a,_0x204b73&&(this[_0x34009f(0x36a)]=_0x204b73,this[_0x34009f(0x433)]=this[_0x34009f(0x36a)][_0x34009f(0x202)](({reqId:_0x12bae2,timeout:_0x53a2e4})=>{var _0x1a7864=_0x34009f;this[_0x1a7864(0x237)](_0x12bae2,_0x53a2e4);})));}['appendMutation'](_0x113762){var _0x2a472c=_0x4088ec;return this[_0x2a472c(0x4ee)][_0x2a472c(0x52e)](_0x113762),this;}['onRemoteChangeset'](_0x2c0c5a){var _0x46f895=_0x4088ec;if(this[_0x46f895(0x385)](_0x2c0c5a))return this['_clearScheduledTask'](),this['_injector'][_0x46f895(0x246)](exports[_0x46f895(0x4b7)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x46f895(0x4ee)],null,[_0x2c0c5a],this['_handler']);try{const _0x19e577=this[_0x46f895(0x365)]['transformChangesets']([_0x2c0c5a],[this[_0x46f895(0x349)]],!0x1);if(m[_0x46f895(0x363)](_0x19e577)){const {c1Prime:_0x488e58,c2Prime:_0x30c1ab}=_0x19e577,_0x5dfed3=this[_0x46f895(0x365)][_0x46f895(0x2a7)](_0x488e58[0x0],this['_pendingMutations']);if(m[_0x46f895(0x45d)](_0x5dfed3)){const {c1Prime:_0x3da19b,m2Prime:_0x424713}=_0x5dfed3;return this[_0x46f895(0x493)](_0x3da19b),_0x30c1ab[0x0][_0x46f895(0x266)]=this[_0x46f895(0x44e)](),this[_0x46f895(0x32a)](),this[_0x46f895(0x416)]['createInstance'](exports[_0x46f895(0x421)],this[_0x46f895(0x481)],this['type'],_0x30c1ab[0x0],_0x424713,this[_0x46f895(0x417)],void 0x0);}throw _0x5dfed3['error'];}throw _0x19e577[_0x46f895(0x539)];}catch(_0x79447e){return this['_logService']['error'](_0x79447e),this[_0x46f895(0x4f0)](!0x1);}}[_0x4088ec(0x3d3)](_0x3a3d53){var _0x202565=_0x4088ec;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x3a3d53))return this[_0x202565(0x416)][_0x202565(0x246)](exports['FetchingMissState'],this['unitID'],this[_0x202565(0x395)],null,this[_0x202565(0x4ee)],this['_awaitingChangeset'],[],this[_0x202565(0x417)]);this[_0x202565(0x265)]();const _0x54d5f5=this[_0x202565(0x416)][_0x202565(0x246)](exports[_0x202565(0x2fd)],this[_0x202565(0x481)],this[_0x202565(0x395)],this[_0x202565(0x4ee)],this[_0x202565(0x417)]);return _0x54d5f5[_0x202565(0x1f7)](),_0x54d5f5[_0x202565(0x292)](),_0x54d5f5;}['onRemoteRej'](_0x4ec64b){var _0xf97692=_0x4088ec;return this['_onConflict'](!!(_0x4ec64b!=null&&_0x4ec64b[_0xf97692(0x506)]));}[_0x4088ec(0x2da)](_0x5a4304){var _0x5c55ef=_0x4088ec;return this['_resendTimeout']>Ot?this[_0x5c55ef(0x2dd)]():(this[_0x5c55ef(0x36a)]=yt(this[_0x5c55ef(0x2f8)],{'timeout':this[_0x5c55ef(0x2f8)],'reqId':_0x5a4304[_0x5c55ef(0x3d0)]}),this['_sender']=this[_0x5c55ef(0x36a)]['subscribe'](({reqId:_0x7b0ed4,timeout:_0x5e5d47})=>{var _0x4946a5=_0x5c55ef;this[_0x4946a5(0x237)](_0x7b0ed4,_0x5e5d47);}),this);}[_0x4088ec(0x2dd)](){var _0x586f10=_0x4088ec;return this[_0x586f10(0x32a)](),this[_0x586f10(0x416)][_0x586f10(0x246)](exports['OfflineState'],this[_0x586f10(0x481)],this[_0x586f10(0x395)],this['_awaitingChangeset'],this[_0x586f10(0x4ee)],this['_handler']);}[_0x4088ec(0x40d)](){return this;}[_0x4088ec(0x499)](){var _0x4ad7d6=_0x4088ec;this[_0x4ad7d6(0x417)][_0x4ad7d6(0x2d4)](this[_0x4ad7d6(0x349)]);}[_0x4088ec(0x4f0)](_0x597dcb){var _0xbd6626=_0x4088ec;return this[_0xbd6626(0x32a)](),this[_0xbd6626(0x416)]['createInstance'](exports[_0xbd6626(0x2f0)],this[_0xbd6626(0x481)],this['type'],null,this[_0xbd6626(0x4ee)],this[_0xbd6626(0x417)],_0x597dcb);}[_0x4088ec(0x237)](_0x30087d,_0x1b0d66){var _0x40015c=_0x4088ec,_0x39c501;_0x30087d===((_0x39c501=this[_0x40015c(0x349)])==null?void 0x0:_0x39c501[_0x40015c(0x3d0)])&&(this[_0x40015c(0x499)](),this[_0x40015c(0x2f8)]=_0x1b0d66===0x0?0x3e8:_0x1b0d66*0x2);}[_0x4088ec(0x32a)](){var _0x4756dd=_0x4088ec,_0x199cb8;(_0x199cb8=this['_sender'])==null||_0x199cb8[_0x4756dd(0x228)](),this[_0x4756dd(0x2f8)]=0x0;}},exports[_0x4088ec(0x421)]=le([A(0x6,a['Inject'](a[_0x4088ec(0x538)])),A(0x7,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x311)])),A(0x8,a[_0x4088ec(0x498)]),A(0x9,a[_0x4088ec(0x303)]),A(0xa,m[_0x4088ec(0x229)]),A(0xb,a['IUndoRedoService']),A(0xc,a[_0x4088ec(0x1e9)](J))],exports[_0x4088ec(0x421)]),exports[_0x4088ec(0x2f0)]=class extends _e{constructor(_0x422920,_0x2649e0,_0x363137,_0x14ad6e,_0x2ce488,_0x441d97=!0x1,_0x2a025f,_0x46953,_0x1b3f66,_0x3b42e0,_0x56e9c3,_0xf07af6,_0x46a699){var _0x36c6b0=_0x4088ec;super(_0x422920,_0x2649e0,_0x363137,_0x14ad6e,_0x2ce488,_0x46953,_0x1b3f66,_0x3b42e0,_0x46a699),w(this,_0x36c6b0(0x2c1),'conflict'),(this[_0x36c6b0(0x3d6)]=_0x441d97,this[_0x36c6b0(0x326)]=_0x2a025f,this['_localeService']=_0x56e9c3,this[_0x36c6b0(0x1e1)]=_0xf07af6,this[_0x36c6b0(0x371)]=_0x46a699,this[_0x36c6b0(0x400)](),this[_0x36c6b0(0x3f0)](),this[_0x36c6b0(0x1e3)]());}['appendMutation'](){return this;}[_0x4088ec(0x44b)](){return this;}['onRemoteAck'](){return this;}[_0x4088ec(0x3d5)](){return this;}[_0x4088ec(0x2da)](){return this;}['toggleOffline'](){return this;}[_0x4088ec(0x40d)](){return this;}[_0x4088ec(0x499)](){var _0x472109=_0x4088ec;throw new Error(_0x472109(0x443));}[_0x4088ec(0x3f0)](){var _0x2c93d9=_0x4088ec,_0x242760;(_0x242760=this[_0x2c93d9(0x49a)])==null||_0x242760[_0x2c93d9(0x448)](this[_0x2c93d9(0x481)],this[_0x2c93d9(0x395)],null,[]);}[_0x4088ec(0x400)](){var _0x3ee6a6=_0x4088ec;this[_0x3ee6a6(0x3d6)]?this[_0x3ee6a6(0x1e1)]['emitEvent']({'id':Q['PERMISSION_DENIED']}):this[_0x3ee6a6(0x1e1)]['emitEvent']({'id':Q[_0x3ee6a6(0x20a)]});}[_0x4088ec(0x1e3)](){var _0x220166=_0x4088ec;this[_0x220166(0x326)][_0x220166(0x412)](new W[(_0x220166(0x4b9))](this[_0x220166(0x481)])['id'],!0x1);}},exports[_0x4088ec(0x2f0)]=le([A(0x6,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x221)])),A(0x7,a[_0x4088ec(0x498)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x311)])),A(0xa,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x24a)])),A(0xb,a[_0x4088ec(0x4e2)](te)),A(0xc,a[_0x4088ec(0x1e9)](J))],exports[_0x4088ec(0x2f0)]),exports[_0x4088ec(0x321)]=class extends _e{constructor(_0x2fcf95,_0x369169,_0x5ccc91,_0x11692a,_0x551946,_0xe8c4fe,_0x1e55ed,_0x2f2e67,_0x1a74f6,_0x152f6c){var _0x24e694=_0x4088ec;super(_0x2fcf95,_0x369169,_0x5ccc91,_0x11692a,_0x551946,_0x2f2e67,_0x1a74f6,_0x1e55ed,_0x152f6c),w(this,'status',_0x24e694(0x2cc)),this[_0x24e694(0x416)]=_0xe8c4fe;}[_0x4088ec(0x3d9)](_0x1a748e){var _0x6cf941=_0x4088ec;return this[_0x6cf941(0x4ee)][_0x6cf941(0x52e)](_0x1a748e),this[_0x6cf941(0x292)](),this;}[_0x4088ec(0x44b)](_0x14ec32){var _0x1c4021=_0x4088ec;throw new Error(_0x1c4021(0x1d7));}[_0x4088ec(0x3d3)](){var _0xdb5798=_0x4088ec;throw new Error(_0xdb5798(0x208));}[_0x4088ec(0x3d5)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4088ec(0x2da)](){return this;}[_0x4088ec(0x2dd)](){return this;}[_0x4088ec(0x40d)](){var _0x11b44a=_0x4088ec;const {_injector:_0x2aa6c8,_pendingMutations:_0x555190,_awaitingChangeset:_0x50f52d,unitID:_0x4b2466,_handler:_0x5ec274,type:_0x5437ee}=this,_0x1e8328=Pt(_0x2aa6c8,_0x4b2466,_0x5437ee,_0x50f52d,_0x555190,_0x5ec274);return _0x1e8328 instanceof exports[_0x11b44a(0x2fd)]?_0x1e8328[_0x11b44a(0x1f7)]():(_0x1e8328 instanceof exports[_0x11b44a(0x421)]||_0x1e8328 instanceof exports['AwaitingState'])&&_0x1e8328[_0x11b44a(0x499)](),_0x1e8328;}[_0x4088ec(0x499)](){var _0x440f8d=_0x4088ec;throw new Error(_0x440f8d(0x2d2));}},exports[_0x4088ec(0x321)]=le([A(0x5,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x538)])),A(0x6,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x311)])),A(0x7,a[_0x4088ec(0x498)]),A(0x8,a[_0x4088ec(0x1fc)]),A(0x9,a['Optional'](J))],exports[_0x4088ec(0x321)]),exports['FetchingMissState']=class extends _e{constructor(_0x2b548d,_0x1981bf,_0x343b37,_0x12fc43,_0x59619d,_0x1f98d4,_0x6304c3,_0x5f10e6,_0x406e80,_0x4b8788,_0x2b2556,_0x5c9992,_0x5d41ee,_0x55976f){var _0x1c7583=_0x4088ec;super(_0x2b548d,_0x1981bf,_0x343b37,_0x12fc43,_0x6304c3,_0x2b2556,_0x5c9992,_0x406e80,_0x55976f),w(this,'status',_0x1c7583(0x2d7)),(this[_0x1c7583(0x4ce)]=_0x59619d,this[_0x1c7583(0x26d)]=_0x1f98d4,this[_0x1c7583(0x416)]=_0x5f10e6,this[_0x1c7583(0x2ee)]=_0x4b8788,this[_0x1c7583(0x365)]=_0x5d41ee,this[_0x1c7583(0x371)]=_0x55976f);}[_0x4088ec(0x1f9)](_0xd9bc15){var _0x2db685=_0x4088ec;try{const _0x3059d3=[..._0xd9bc15,...this[_0x2db685(0x26d)]],_0x3eabcd=[this[_0x2db685(0x349)]||this[_0x2db685(0x4ce)]][_0x2db685(0x418)](_0xf6bac3=>!!_0xf6bac3);let _0x989cc3,_0x24fb41;if(_0x3eabcd['length']){const _0x249e45=this[_0x2db685(0x365)][_0x2db685(0x1e5)](_0x3059d3,_0x3eabcd,!0x1);if(!m[_0x2db685(0x363)](_0x249e45))throw _0x249e45['error'];_0x989cc3=_0x249e45[_0x2db685(0x302)],_0x24fb41=_0x249e45[_0x2db685(0x231)];}else _0x989cc3=_0x3059d3,_0x24fb41=[];let _0x48d7b5=this[_0x2db685(0x4ee)];_0x989cc3[_0x2db685(0x4c2)](_0x29fc67=>{var _0x35f07c=_0x2db685;let _0x2d3410;if(_0x48d7b5[_0x35f07c(0x42f)]){const _0x2aa1b0=this[_0x35f07c(0x365)][_0x35f07c(0x2a7)](_0x29fc67,_0x48d7b5);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2aa1b0))throw _0x2aa1b0['error'];_0x2d3410=_0x2aa1b0['c1Prime'],_0x48d7b5=_0x2aa1b0[_0x35f07c(0x461)];}else _0x2d3410=_0x29fc67;this['_executeRemoteChangeset'](_0x2d3410);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x2db685(0x349)]&&_0x24fb41[_0x2db685(0x42f)]&&(_0x24fb41[0x0]['baseRev']=this['_getCurrentRevision']());let _0x12468a;if(this[_0x2db685(0x349)]&&_0x48d7b5['length']!==0x0)_0x12468a=this[_0x2db685(0x416)][_0x2db685(0x246)](exports['AwaitingWithPendingState'],this[_0x2db685(0x481)],this[_0x2db685(0x395)],_0x24fb41[0x0],_0x48d7b5,this[_0x2db685(0x417)],void 0x0);else{if(this[_0x2db685(0x349)]&&_0x48d7b5[_0x2db685(0x42f)]===0x0)_0x24fb41[0x0][_0x2db685(0x266)]=this[_0x2db685(0x44e)](),_0x12468a=this[_0x2db685(0x416)][_0x2db685(0x246)](exports[_0x2db685(0x3d7)],this[_0x2db685(0x481)],this['type'],_0x24fb41[0x0],this[_0x2db685(0x417)]);else{if(_0x48d7b5[_0x2db685(0x42f)]!==0x0){const _0x36ec03=this[_0x2db685(0x416)]['createInstance'](exports[_0x2db685(0x2fd)],this[_0x2db685(0x481)],this[_0x2db685(0x395)],_0x48d7b5,this[_0x2db685(0x417)]);_0x36ec03[_0x2db685(0x1f7)](),_0x12468a=_0x36ec03;}else _0x12468a=this[_0x2db685(0x416)][_0x2db685(0x246)](exports[_0x2db685(0x2fc)],this[_0x2db685(0x481)],this[_0x2db685(0x395)],this[_0x2db685(0x417)]);}}return _0x12468a[_0x2db685(0x292)](),_0x12468a;}catch(_0x137ec6){return this[_0x2db685(0x2ee)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x137ec6),this[_0x2db685(0x416)][_0x2db685(0x246)](exports['ConflictState'],this[_0x2db685(0x481)],this['type'],this[_0x2db685(0x349)],this[_0x2db685(0x4ee)],this[_0x2db685(0x417)],!0x1);}}[_0x4088ec(0x499)](){var _0x8d7b6f=_0x4088ec;throw new Error(_0x8d7b6f(0x3f6));}['appendMutation'](_0xc4f707){var _0x161860=_0x4088ec;return this[_0x161860(0x4ee)][_0x161860(0x52e)](_0xc4f707),this;}[_0x4088ec(0x44b)](_0x51609d){var _0x423463=_0x4088ec;return this['_queuedRemoteChangesets'][_0x423463(0x52e)](_0x51609d),this;}['onRemoteAck'](_0x2ae9fd){var _0x164c57=_0x4088ec;if(this['_awaitingChangeset'])return this[_0x164c57(0x4ce)]=this[_0x164c57(0x349)],this[_0x164c57(0x349)]=null,this;throw new Error(_0x164c57(0x4ab));}['onRemoteRej'](_0x10bc8e){var _0x5ac861=_0x4088ec;return this[_0x5ac861(0x4f0)](!!(_0x10bc8e!=null&&_0x10bc8e[_0x5ac861(0x506)]));}[_0x4088ec(0x2da)](){return this;}[_0x4088ec(0x2dd)](){var _0x24efd7=_0x4088ec;return this[_0x24efd7(0x416)][_0x24efd7(0x246)](exports[_0x24efd7(0x321)],this[_0x24efd7(0x481)],this[_0x24efd7(0x395)],this[_0x24efd7(0x349)],this['_pendingMutations'],this['_handler']);}[_0x4088ec(0x40d)](){return this;}['_onConflict'](_0x250ec8){var _0x365f99=_0x4088ec;return this[_0x365f99(0x416)][_0x365f99(0x246)](exports[_0x365f99(0x2f0)],this[_0x365f99(0x481)],this[_0x365f99(0x395)],this[_0x365f99(0x349)],this[_0x365f99(0x4ee)],this[_0x365f99(0x417)],_0x250ec8);}},exports[_0x4088ec(0x4b7)]=le([A(0x7,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x538)])),A(0x8,a['Inject'](m['RevisionService'])),A(0x9,a['ILogService']),A(0xa,a[_0x4088ec(0x498)]),A(0xb,a[_0x4088ec(0x1fc)]),A(0xc,m['ITransformService']),A(0xd,a[_0x4088ec(0x1e9)](J))],exports[_0x4088ec(0x4b7)]);function Pt(_0x2761bd,_0x46c951,_0x4ee1d8,_0x552dd8,_0x2cd2b6,_0x2131f5){var _0x5a77d9=_0x4088ec;return _0x552dd8&&_0x2cd2b6['length']?_0x2761bd[_0x5a77d9(0x246)](exports['AwaitingWithPendingState'],_0x46c951,_0x4ee1d8,_0x552dd8,_0x2cd2b6,_0x2131f5,void 0x0):_0x552dd8?_0x2761bd[_0x5a77d9(0x246)](exports[_0x5a77d9(0x3d7)],_0x46c951,_0x4ee1d8,_0x552dd8,_0x2131f5):_0x2cd2b6[_0x5a77d9(0x42f)]?_0x2761bd[_0x5a77d9(0x246)](exports[_0x5a77d9(0x2fd)],_0x46c951,_0x4ee1d8,_0x2cd2b6,_0x2131f5):_0x2761bd[_0x5a77d9(0x246)](exports[_0x5a77d9(0x2fc)],_0x46c951,_0x4ee1d8,_0x2131f5);}var Ri=Object['defineProperty'],yi=Object[_0x4088ec(0x4cd)],Ve=(_0x385046,_0x5bf92c,_0x4b1805,_0x35f97a)=>{var _0x182a9d=_0x4088ec;for(var _0x24094f=_0x35f97a>0x1?void 0x0:_0x35f97a?yi(_0x5bf92c,_0x4b1805):_0x5bf92c,_0x1f2fbb=_0x385046[_0x182a9d(0x42f)]-0x1,_0x3a3442;_0x1f2fbb>=0x0;_0x1f2fbb--)(_0x3a3442=_0x385046[_0x1f2fbb])&&(_0x24094f=(_0x35f97a?_0x3a3442(_0x5bf92c,_0x4b1805,_0x24094f):_0x3a3442(_0x24094f))||_0x24094f);return _0x35f97a&&_0x24094f&&Ri(_0x5bf92c,_0x4b1805,_0x24094f),_0x24094f;},H=(_0x5cc424,_0x1c7a59)=>(_0x2c4726,_0x2c81ff)=>_0x1c7a59(_0x2c4726,_0x2c81ff,_0x5cc424);exports[_0x4088ec(0x341)]=class extends a['RxDisposable']{constructor(_0x5406a1,_0xf904e1,_0x415987,_0x555523,_0x4d1ac0,_0x2396bd,_0x28b435,_0x49f35b,_0x6e323d,_0x53064c,_0x2c9fca,_0x558ad7,_0x2b2697){var _0x5c5af4=_0x4088ec;super(),w(this,'_state$',new B[(_0x5c5af4(0x484))](null)),w(this,_0x5c5af4(0x3c3),this[_0x5c5af4(0x1d6)]['asObservable']()),w(this,_0x5c5af4(0x4a8)),w(this,_0x5c5af4(0x524),!0x1),w(this,_0x5c5af4(0x446),''),w(this,_0x5c5af4(0x50f),0x0),w(this,'status$',this[_0x5c5af4(0x3c3)][_0x5c5af4(0x3fe)](B[_0x5c5af4(0x325)](_0x40f9d7=>_0x40f9d7?_0x40f9d7[_0x5c5af4(0x2c1)]:We[_0x5c5af4(0x274)]),B[_0x5c5af4(0x3c1)](0x1))),w(this,'_transitionLocked',!0x1),w(this,_0x5c5af4(0x40b),[]),(this[_0x5c5af4(0x481)]=_0x5406a1,this[_0x5c5af4(0x260)]=_0xf904e1,this[_0x5c5af4(0x1e4)]=_0x415987,this[_0x5c5af4(0x416)]=_0x555523,this[_0x5c5af4(0x230)]=_0x4d1ac0,this[_0x5c5af4(0x379)]=_0x2396bd,this[_0x5c5af4(0x414)]=_0x28b435,this[_0x5c5af4(0x3f2)]=_0x49f35b,this[_0x5c5af4(0x2ee)]=_0x6e323d,this['_commandService']=_0x53064c,this[_0x5c5af4(0x326)]=_0x2c9fca,this[_0x5c5af4(0x37d)]=_0x558ad7,this[_0x5c5af4(0x49a)]=_0x2b2697);}get[_0x4088ec(0x236)](){var _0x39baca=_0x4088ec;return this[_0x39baca(0x4a8)];}async['init'](){var _0x412de4=_0x4088ec;if(this[_0x412de4(0x236)])throw new Error(_0x412de4(0x3b1));await this[_0x412de4(0x252)]();}[_0x4088ec(0x2ce)](){var _0x227903=_0x4088ec;return this[_0x227903(0x524)]=!0x0,a[_0x227903(0x4bc)](()=>{var _0x1865d6=_0x227903;this[_0x1865d6(0x524)]=!0x1,this[_0x1865d6(0x4f6)]();});}['onLocalMutation'](_0x538b62){this['_onLocalMutation'](_0x538b62);}[_0x4088ec(0x29d)](_0x54f436){var _0x3dfadc=_0x4088ec;this[_0x3dfadc(0x4a8)]=_0x54f436,this['_state$'][_0x3dfadc(0x22e)](_0x54f436);}async['_init'](){var _0x2686c2=_0x4088ec,_0x56b57d;this[_0x2686c2(0x29d)](await this[_0x2686c2(0x47e)]()),this[_0x2686c2(0x37d)]&&((_0x56b57d=this[_0x2686c2(0x37d)])==null||_0x56b57d['editingUnit'](this['unitID']),this[_0x2686c2(0x4e0)](this['_singleActiveUnitService'][_0x2686c2(0x2c4)](this[_0x2686c2(0x481)])[_0x2686c2(0x202)](_0x828efa=>{var _0x524c8b=_0x2686c2;this[_0x524c8b(0x2ee)]['debug'](_0x524c8b(0x298),_0x524c8b(0x1cf),_0x828efa),_0x828efa===Fe[_0x524c8b(0x447)]?(this[_0x524c8b(0x3f2)][_0x524c8b(0x37f)]({'id':Q[_0x524c8b(0x1da)]}),this[_0x524c8b(0x326)][_0x524c8b(0x412)](new W[(_0x524c8b(0x4b9))](this[_0x524c8b(0x481)])['id'],!0x1),this[_0x524c8b(0x326)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x524c8b(0x412)](new W['WorkbookEditablePermission'](this[_0x524c8b(0x481)])['id'],!0x0),this[_0x524c8b(0x326)][_0x524c8b(0x3a9)](!0x0));})));let _0x54544c=!0x1;return this[_0x2686c2(0x4e0)](this['session']['sessionStatus$'][_0x2686c2(0x202)](_0x706539=>{var _0x278b4e=_0x2686c2;_0x706539===se[_0x278b4e(0x43f)]?this[_0x278b4e(0x373)](_0x54544c):_0x706539===se[_0x278b4e(0x274)]&&(_0x54544c=!0x0,this[_0x278b4e(0x29c)]());})),this[_0x2686c2(0x4e0)](this[_0x2686c2(0x260)][_0x2686c2(0x2ba)][_0x2686c2(0x202)](_0x294125=>{var _0x5afc7b=_0x2686c2;try{switch(_0x294125[_0x5afc7b(0x4d6)]){case m[_0x5afc7b(0x4ad)][_0x5afc7b(0x4d7)]:{this[_0x5afc7b(0x20b)](m[_0x5afc7b(0x2b9)](_0x294125['data']));break;}case m[_0x5afc7b(0x4ad)][_0x5afc7b(0x37b)]:{this[_0x5afc7b(0x480)](_0x294125[_0x5afc7b(0x432)]);break;}case m[_0x5afc7b(0x4ad)]['CHANGESET_REJ']:{this[_0x5afc7b(0x4d5)]();break;}case m[_0x5afc7b(0x4ad)][_0x5afc7b(0x392)]:{this[_0x5afc7b(0x3bd)](_0x294125['data']);break;}case m[_0x5afc7b(0x4ad)][_0x5afc7b(0x267)]:{this[_0x5afc7b(0x43b)](_0x294125[_0x5afc7b(0x432)][_0x5afc7b(0x3a7)][_0x5afc7b(0x325)](_0x5ee131=>m[_0x5afc7b(0x2b9)](_0x5ee131)));break;}case m[_0x5afc7b(0x4ad)][_0x5afc7b(0x2a0)]:this[_0x5afc7b(0x4d5)]({'isPermissionRej':!0x0});}}catch(_0x2df522){throw console[_0x5afc7b(0x539)](_0x5afc7b(0x210),_0x2df522),_0x2df522;}})),this['_state'];}[_0x4088ec(0x203)](){var _0x5dd7f4=_0x4088ec;this[_0x5dd7f4(0x3b8)]=!0x1;}[_0x4088ec(0x45f)](){var _0x103a64=_0x4088ec;if(this[_0x103a64(0x3b8)])throw new Error(_0x103a64(0x248));this[_0x103a64(0x3b8)]=!0x0;}[_0x4088ec(0x476)](_0x1d7ada){var _0x24cfc6=_0x4088ec;this[_0x24cfc6(0x45f)](),this[_0x24cfc6(0x29d)](this[_0x24cfc6(0x4a8)]['appendMutation'](_0x1d7ada)),this['_unlockTransition']();}[_0x4088ec(0x20b)](_0x33a18c){var _0x1dbc1a=_0x4088ec;if(!(_0x33a18c[_0x1dbc1a(0x517)]<=this['_revisionService'][_0x1dbc1a(0x4ae)](this[_0x1dbc1a(0x481)]))){if(this[_0x1dbc1a(0x524)]){this[_0x1dbc1a(0x40b)]['push'](_0x33a18c);return;}this[_0x1dbc1a(0x2e2)](_0x33a18c);}}['_exhaustRemoteChangesetQueue'](){var _0x36877d=_0x4088ec;this['_remoteChangesetQueue'][_0x36877d(0x4c2)](_0x38098d=>this[_0x36877d(0x2e2)](_0x38098d)),this[_0x36877d(0x40b)]=[];}['_applyRemoteChangeset'](_0x27552f){var _0x38d5bc=_0x4088ec;const _0x522fed=this[_0x38d5bc(0x230)][_0x38d5bc(0x342)][_0x38d5bc(0x375)](this[_0x38d5bc(0x230)]['interceptor'][_0x38d5bc(0x224)]()[_0x38d5bc(0x1eb)])(_0x27552f[_0x38d5bc(0x376)],null)||_0x27552f[_0x38d5bc(0x376)],_0xd182c4={..._0x27552f,'mutations':_0x522fed};this['_lockTransition'](),this['_updateState'](this[_0x38d5bc(0x4a8)][_0x38d5bc(0x44b)](_0xd182c4)),this[_0x38d5bc(0x203)]();}['_onRemoteACK'](_0x494444){var _0x3de347=_0x4088ec;this[_0x3de347(0x45f)](),this[_0x3de347(0x29d)](this[_0x3de347(0x4a8)][_0x3de347(0x3d3)](_0x494444)),this[_0x3de347(0x203)]();}[_0x4088ec(0x4d5)](_0x6c3e79){var _0x2d4d7e=_0x4088ec;this[_0x2d4d7e(0x45f)](),this['_updateState'](this[_0x2d4d7e(0x4a8)][_0x2d4d7e(0x3d5)](_0x6c3e79)),this[_0x2d4d7e(0x203)]();}['_onRemoteRetry'](_0x270601){var _0x32674f=_0x4088ec;this[_0x32674f(0x45f)](),this[_0x32674f(0x29d)](this[_0x32674f(0x4a8)]['onRemoteRetry'](_0x270601)),this['_unlockTransition']();}[_0x4088ec(0x43b)](_0x3e83f9){var _0x316954=_0x4088ec;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x316954(0x34e));const _0x15e572=_0x3e83f9[_0x316954(0x325)](_0x55099f=>{var _0x1d9b97=_0x316954;const _0x2f0f85=this[_0x1d9b97(0x230)][_0x1d9b97(0x342)][_0x1d9b97(0x375)](this[_0x1d9b97(0x230)][_0x1d9b97(0x342)][_0x1d9b97(0x224)]()[_0x1d9b97(0x1eb)])(_0x55099f['mutations'],null)||_0x55099f[_0x1d9b97(0x376)];return{..._0x55099f,'mutations':_0x2f0f85};});this[_0x316954(0x45f)](),this[_0x316954(0x29d)](this[_0x316954(0x4a8)]['onMissedChangesetFetched'](_0x15e572)),this[_0x316954(0x203)]();}['_toggleOffline'](){var _0x4bff06=_0x4088ec;this['_lockTransition'](),this['_updateState'](this[_0x4bff06(0x4a8)][_0x4bff06(0x2dd)]()),this[_0x4bff06(0x203)]();}[_0x4088ec(0x373)](_0x354559=!0x1){var _0x96973e=_0x4088ec;this[_0x96973e(0x45f)](),this[_0x96973e(0x29d)](this[_0x96973e(0x4a8)]['toggleOnline']()),this[_0x96973e(0x203)]();const _0x31c67d=this['_state'];_0x354559&&_0x31c67d instanceof exports[_0x96973e(0x2fc)]&&(this[_0x96973e(0x45f)](),this[_0x96973e(0x29d)](_0x31c67d[_0x96973e(0x276)]()),this['_unlockTransition']());}async[_0x4088ec(0x47e)](){return new Promise(_0x6613d0=>{var _0x278e58=_0x5540;this['session'][_0x278e58(0x336)]['pipe'](B[_0x278e58(0x218)](0x1))[_0x278e58(0x202)](async _0x1138dd=>{var _0x24483f=_0x278e58;_0x6613d0(await this[_0x24483f(0x3b2)](_0x1138dd===se[_0x24483f(0x43f)]));});});}[_0x4088ec(0x1dd)](){var _0x2f6e84=_0x4088ec;const _0x203c06=this[_0x2f6e84(0x481)];return{'onStateChange':(_0x53026e,_0x2492f3)=>{var _0x5745ad=_0x2f6e84;if(_0x53026e!==this[_0x5745ad(0x4a8)])throw new Error(_0x5745ad(0x514)+_0x53026e[_0x5745ad(0x2c1)]+_0x5745ad(0x2ad)+_0x2492f3[_0x5745ad(0x2c1)]+_0x5745ad(0x3e2)+this['_state'][_0x5745ad(0x2c1)]);this[_0x5745ad(0x29d)](_0x2492f3);},'onSendChangeset':_0x396da3=>{var _0x55f1de=_0x2f6e84;_0x396da3[_0x55f1de(0x404)]||(_0x396da3[_0x55f1de(0x404)]=this[_0x55f1de(0x446)],_0x396da3[_0x55f1de(0x3d0)]=++this[_0x55f1de(0x50f)]);const _0xd8efa9={'eventID':m[_0x55f1de(0x4ad)][_0x55f1de(0x39b)],'data':{'unitID':_0x396da3[_0x55f1de(0x481)],'unitType':this[_0x55f1de(0x1e4)],'changeset':_0x396da3,'memberID':this[_0x55f1de(0x260)][_0x55f1de(0x2e8)]()}};this[_0x55f1de(0x260)][_0x55f1de(0x4cc)](_0xd8efa9,this[_0x55f1de(0x481)]);},'onMissingChangesets':({from:_0x28af7f,to:_0x56bcb2})=>{var _0x1167e3=_0x2f6e84;this[_0x1167e3(0x2ee)][_0x1167e3(0x3cc)](_0x1167e3(0x298),_0x1167e3(0x370)+_0x28af7f+_0x1167e3(0x262)+_0x56bcb2);const _0x446d41={'eventID':m[_0x1167e3(0x4ad)][_0x1167e3(0x386)],'data':{'unitID':_0x203c06,'unitType':this[_0x1167e3(0x1e4)],'from':_0x28af7f,'to':_0x56bcb2}};this[_0x1167e3(0x260)][_0x1167e3(0x4cc)](_0x446d41,this[_0x1167e3(0x481)]);}};}async[_0x4088ec(0x3b2)](_0x77c4e7){var _0x3b1091=_0x4088ec,_0x10e66e,_0x5bc752,_0x4b3e42;const _0x40df51=await((_0x10e66e=this[_0x3b1091(0x49a)])==null?void 0x0:_0x10e66e[_0x3b1091(0x2fe)](this['unitID'])),_0x1968fe=(_0x5bc752=_0x40df51==null?void 0x0:_0x40df51[_0x3b1091(0x376)])!=null?_0x5bc752:[],_0x4e6a6d=(_0x4b3e42=_0x40df51==null?void 0x0:_0x40df51['awaitingChangeset'])!=null?_0x4b3e42:null,_0x4f70b9=!!(_0x4e6a6d!=null&&_0x4e6a6d[_0x3b1091(0x404)])&&!!(_0x4e6a6d!=null&&_0x4e6a6d['reqId']);this[_0x3b1091(0x446)]=_0x4f70b9?_0x4e6a6d[_0x3b1091(0x404)]:vi(),this[_0x3b1091(0x50f)]=_0x4f70b9?_0x4e6a6d[_0x3b1091(0x3d0)]:0x0;const _0x234380=this[_0x3b1091(0x481)];try{this[_0x3b1091(0x2bc)](_0x4e6a6d,_0x1968fe);}catch(_0x4407ec){this[_0x3b1091(0x2ee)][_0x3b1091(0x539)](_0x4407ec);}const _0xda56c4=this[_0x3b1091(0x1dd)]();if(_0x77c4e7){const _0xff365a=Pt(this['_injector'],_0x234380,this[_0x3b1091(0x1e4)],_0x4e6a6d,_0x1968fe,_0xda56c4);return _0xff365a instanceof exports[_0x3b1091(0x2fd)]?_0xff365a[_0x3b1091(0x1f7)]():(_0xff365a instanceof exports['AwaitingWithPendingState']||_0xff365a instanceof exports[_0x3b1091(0x3d7)])&&_0xff365a[_0x3b1091(0x499)](),_0xff365a;}return this[_0x3b1091(0x416)][_0x3b1091(0x246)](exports[_0x3b1091(0x321)],_0x234380,this[_0x3b1091(0x1e4)],_0x4e6a6d,_0x1968fe,_0xda56c4);}['_replayCachedMutations'](_0x3a43a2,_0x433972){var _0x2e0f4f=_0x4088ec,_0xa6400b,_0x2a0f49;const _0x25b04e=this[_0x2e0f4f(0x230)]['interceptor'][_0x2e0f4f(0x375)](this[_0x2e0f4f(0x230)]['interceptor'][_0x2e0f4f(0x224)]()[_0x2e0f4f(0x1eb)]);(_0xa6400b=_0x25b04e((_0x3a43a2==null?void 0x0:_0x3a43a2[_0x2e0f4f(0x376)])||[],null))==null||_0xa6400b['forEach'](_0x3fc7fb=>this[_0x2e0f4f(0x331)][_0x2e0f4f(0x4b5)](_0x3fc7fb['id'],_0x3fc7fb['params'])),(_0x2a0f49=_0x25b04e(_0x433972||[],null))==null||_0x2a0f49[_0x2e0f4f(0x4c2)](_0x55df25=>this[_0x2e0f4f(0x331)][_0x2e0f4f(0x4b5)](_0x55df25['id'],_0x55df25['params']));}},exports['CollaborationEntity']=Ve([H(0x3,a[_0x4088ec(0x4e2)](a['Injector'])),H(0x4,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x354)])),H(0x5,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x24a)])),H(0x6,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x311)])),H(0x7,a[_0x4088ec(0x4e2)](te)),H(0x8,a[_0x4088ec(0x303)]),H(0x9,a[_0x4088ec(0x498)]),H(0xa,a[_0x4088ec(0x221)]),H(0xb,a[_0x4088ec(0x1e9)](ve)),H(0xc,a[_0x4088ec(0x1e9)](J))],exports[_0x4088ec(0x341)]),exports[_0x4088ec(0x1e8)]=class extends exports[_0x4088ec(0x341)]{constructor(_0x753869,_0x330b2e,_0x9056a9,_0x586a34,_0x38be67,_0x292337,_0x516fb9,_0x4224fd,_0x219453,_0x393d79,_0x278b4c,_0x3148b9,_0x250360){var _0x2015a3=_0x4088ec;super(_0x753869,_0x9056a9,_0x330b2e,_0x586a34,_0x38be67,_0x292337,_0x516fb9,_0x4224fd,_0x219453,_0x393d79,_0x278b4c,_0x3148b9,_0x250360),w(this,_0x2015a3(0x301),null),(this['unitID']=_0x753869,this[_0x2015a3(0x395)]=_0x330b2e);}[_0x4088ec(0x526)](_0x40e241){var _0x19f56d=_0x4088ec;this[_0x19f56d(0x301)]=_0x40e241;}[_0x4088ec(0x36e)](){var _0x326981=_0x4088ec;this[_0x326981(0x301)]=null,super['dispose']();}[_0x4088ec(0x1dd)](){var _0x4c34ed=_0x4088ec;const _0x553631=super[_0x4c34ed(0x1dd)]();return _0x553631[_0x4c34ed(0x4d0)]=_0x38fe1a=>{var _0x5cade1=_0x4c34ed,_0x3570b3,_0x1c1cc5;return(_0x1c1cc5=(_0x3570b3=this[_0x5cade1(0x301)])==null?void 0x0:_0x3570b3['onTransformIME'])==null?void 0x0:_0x1c1cc5[_0x5cade1(0x4a0)](_0x3570b3,_0x38fe1a);},_0x553631['onTransformState']=_0x369cc9=>{var _0x2c44eb=_0x4c34ed,_0x1c4740,_0x1ef3d9;return(_0x1ef3d9=(_0x1c4740=this[_0x2c44eb(0x301)])==null?void 0x0:_0x1c4740[_0x2c44eb(0x3db)])==null?void 0x0:_0x1ef3d9[_0x2c44eb(0x4a0)](_0x1c4740,_0x369cc9);},_0x553631[_0x4c34ed(0x24b)]=_0x1e97fe=>{var _0x31b4cc=_0x4c34ed,_0x43e5ea,_0x319d06;return(_0x319d06=(_0x43e5ea=this[_0x31b4cc(0x301)])==null?void 0x0:_0x43e5ea[_0x31b4cc(0x24b)])==null?void 0x0:_0x319d06[_0x31b4cc(0x4a0)](_0x43e5ea,_0x1e97fe);},_0x553631[_0x4c34ed(0x3b5)]=_0x486256=>{var _0x3723f9=_0x4c34ed,_0x5d8562,_0x3b8677;return(_0x3b8677=(_0x5d8562=this[_0x3723f9(0x301)])==null?void 0x0:_0x5d8562[_0x3723f9(0x3b5)])==null?void 0x0:_0x3b8677[_0x3723f9(0x4a0)](_0x5d8562,_0x486256);},_0x553631[_0x4c34ed(0x2ab)]=_0x1d8b18=>{var _0x4c34fb=_0x4c34ed,_0xb7d48e,_0x592e89,_0x380514;if(!((_0xb7d48e=this['_handlerCallback'])!=null&&_0xb7d48e[_0x4c34fb(0x2ab)]))throw new Error(_0x4c34fb(0x207));return(_0x380514=(_0x592e89=this[_0x4c34fb(0x301)])==null?void 0x0:_0x592e89[_0x4c34fb(0x2ab)])==null?void 0x0:_0x380514[_0x4c34fb(0x4a0)](_0x592e89,_0x1d8b18);},_0x553631[_0x4c34ed(0x4a4)]=_0x2d7612=>{var _0x888f64=_0x4c34ed,_0x1667c1,_0x1abd62,_0x38fd79;if(!((_0x1667c1=this[_0x888f64(0x301)])!=null&&_0x1667c1[_0x888f64(0x4a4)]))throw new Error(_0x888f64(0x52d));return(_0x38fd79=(_0x1abd62=this[_0x888f64(0x301)])==null?void 0x0:_0x1abd62[_0x888f64(0x4a4)])==null?void 0x0:_0x38fd79[_0x888f64(0x4a0)](_0x1abd62,_0x2d7612);},_0x553631;}async[_0x4088ec(0x252)](){var _0x1076eb=_0x4088ec;const _0x5d8cd6=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x1076eb(0x23f)]((_0x5718d2,_0x5bcc8a)=>{var _0x11b76c=_0x1076eb;if(_0x5718d2[_0x11b76c(0x395)]!==a['CommandType'][_0x11b76c(0x4ea)]||_0x5bcc8a!=null&&_0x5bcc8a[_0x11b76c(0x51e)]||_0x5bcc8a!=null&&_0x5bcc8a['onlyLocal']||_0x5718d2['id']===ut['RichTextEditingMutation']['id'])return;const _0x5b9e40=_0x5718d2[_0x11b76c(0x41f)];if((_0x5b9e40==null?void 0x0:_0x5b9e40['unitId'])!==this[_0x11b76c(0x481)])return;const _0x4bbb95=_0x5718d2,_0xe11dbe=this['_compressMutationService'][_0x11b76c(0x342)][_0x11b76c(0x375)](this[_0x11b76c(0x230)]['interceptor'][_0x11b76c(0x224)]()[_0x11b76c(0x350)])([_0x4bbb95],null)||[_0x4bbb95];this['_onLocalMutation'](_0xe11dbe[0x0]);})),_0x5d8cd6;}},exports[_0x4088ec(0x1e8)]=Ve([H(0x3,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x538)])),H(0x4,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x354)])),H(0x5,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x24a)])),H(0x6,a[_0x4088ec(0x4e2)](m['RevisionService'])),H(0x7,a[_0x4088ec(0x4e2)](te)),H(0x8,a[_0x4088ec(0x303)]),H(0x9,a[_0x4088ec(0x498)]),H(0xa,a[_0x4088ec(0x221)]),H(0xb,a[_0x4088ec(0x1e9)](ve)),H(0xc,a[_0x4088ec(0x1e9)](J))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x4088ec(0x341)]{constructor(_0x37da68,_0x3ef5d4,_0x37b983,_0x5a4e48,_0x514677,_0x4a51cf,_0x288c26,_0x546556,_0x4cbe5f,_0x19e0df,_0x16b00a,_0x547f43,_0x4b3226,_0x2fc382){var _0x5f0050=_0x4088ec;super(_0x37da68,_0x37b983,_0x3ef5d4,_0x5a4e48,_0x514677,_0x4a51cf,_0x288c26,_0x4cbe5f,_0x19e0df,_0x16b00a,_0x547f43,_0x4b3226,_0x2fc382),this[_0x5f0050(0x481)]=_0x37da68,this['type']=_0x3ef5d4,this['_sheetTransformSelectionsService']=_0x546556;}[_0x4088ec(0x1dd)](){var _0xfc26e8=_0x4088ec;const _0x374029=super[_0xfc26e8(0x1dd)]();return _0x374029[_0xfc26e8(0x24b)]=_0x58780e=>this['_sheetTransformSelectionsService'][_0xfc26e8(0x53c)](_0x58780e),_0x374029;}async[_0x4088ec(0x252)](){var _0x3f96a6=_0x4088ec;const _0x26b951=await super['_init']();return this[_0x3f96a6(0x4e0)](this['_commandService'][_0x3f96a6(0x23f)]((_0x406ce1,_0x4c8556)=>{var _0x54ed73=_0x3f96a6;if(_0x406ce1[_0x54ed73(0x395)]!==a['CommandType'][_0x54ed73(0x4ea)]||_0x4c8556!=null&&_0x4c8556[_0x54ed73(0x51e)]||_0x4c8556!=null&&_0x4c8556[_0x54ed73(0x381)])return;const _0x48b0ca=_0x406ce1[_0x54ed73(0x41f)];if((_0x48b0ca==null?void 0x0:_0x48b0ca[_0x54ed73(0x53e)])!==this[_0x54ed73(0x481)])return;const _0x45709b=_0x406ce1,_0x46f613=this['_compressMutationService'][_0x54ed73(0x342)][_0x54ed73(0x375)](this[_0x54ed73(0x230)][_0x54ed73(0x342)][_0x54ed73(0x224)]()[_0x54ed73(0x350)])([_0x45709b],null)||[_0x45709b];this[_0x54ed73(0x476)](_0x46f613[0x0]);})),_0x26b951;}},exports[_0x4088ec(0x4dc)]=Ve([H(0x3,a['Inject'](a[_0x4088ec(0x538)])),H(0x4,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x354)])),H(0x5,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x24a)])),H(0x6,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x311)])),H(0x7,a[_0x4088ec(0x4e2)](exports[_0x4088ec(0x305)])),H(0x8,a[_0x4088ec(0x4e2)](te)),H(0x9,a[_0x4088ec(0x303)]),H(0xa,a[_0x4088ec(0x498)]),H(0xb,a[_0x4088ec(0x221)]),H(0xc,a[_0x4088ec(0x1e9)](ve)),H(0xd,a[_0x4088ec(0x1e9)](J))],exports[_0x4088ec(0x4dc)]);var Oi=Object[_0x4088ec(0x4b1)],Pi=Object[_0x4088ec(0x4cd)],Di=(_0x7d7b2f,_0x1f9b82,_0x3875cd,_0x10af84)=>{for(var _0x409a1f=_0x10af84>0x1?void 0x0:_0x10af84?Pi(_0x1f9b82,_0x3875cd):_0x1f9b82,_0x6a9842=_0x7d7b2f['length']-0x1,_0x535eea;_0x6a9842>=0x0;_0x6a9842--)(_0x535eea=_0x7d7b2f[_0x6a9842])&&(_0x409a1f=(_0x10af84?_0x535eea(_0x1f9b82,_0x3875cd,_0x409a1f):_0x535eea(_0x409a1f))||_0x409a1f);return _0x10af84&&_0x409a1f&&Oi(_0x1f9b82,_0x3875cd,_0x409a1f),_0x409a1f;},we=(_0x332e76,_0x94d9a0)=>(_0x49fbc5,_0x3cecac)=>_0x94d9a0(_0x49fbc5,_0x3cecac,_0x332e76);exports[_0x4088ec(0x1f2)]=class extends a[_0x4088ec(0x507)]{constructor(_0x46a4a6,_0x298cd1,_0x39d594){var _0x169cd9=_0x4088ec;super(),w(this,'_entities',new Map()),w(this,_0x169cd9(0x402),new B[(_0x169cd9(0x3b7))]()),w(this,_0x169cd9(0x3fa),this[_0x169cd9(0x402)][_0x169cd9(0x483)]()),(this[_0x169cd9(0x416)]=_0x46a4a6,this[_0x169cd9(0x283)]=_0x298cd1,this[_0x169cd9(0x290)]=_0x39d594,this['_init']());}[_0x4088ec(0x36e)](){var _0x335ff4=_0x4088ec;super[_0x335ff4(0x36e)](),this[_0x335ff4(0x453)]['forEach'](_0x249068=>_0x249068[_0x335ff4(0x36e)]()),this[_0x335ff4(0x453)][_0x335ff4(0x356)]();}[_0x4088ec(0x296)](_0xf24622){var _0x5bf5dc=_0x4088ec,_0x1c7ac9;return(_0x1c7ac9=this[_0x5bf5dc(0x453)][_0x5bf5dc(0x372)](_0xf24622))!=null?_0x1c7ac9:null;}[_0x4088ec(0x282)](_0x582bc4){var _0x2a9de9=_0x4088ec;const _0x3486e0=this[_0x2a9de9(0x296)](_0x582bc4);return _0x3486e0?B['of'](_0x3486e0):this[_0x2a9de9(0x402)]['pipe'](G[_0x2a9de9(0x418)](_0xbb5a88=>_0xbb5a88['unitID']===_0x582bc4));}['_init'](){var _0x1249f6=_0x4088ec;this[_0x1249f6(0x290)][_0x1249f6(0x35d)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x1249f6(0x3fe)](B[_0x1249f6(0x2a1)](this[_0x1249f6(0x3aa)]),G[_0x1249f6(0x495)](0x10))[_0x1249f6(0x202)](async _0xc51919=>{var _0x103bae=_0x1249f6;const _0x4014be=_0xc51919[_0x103bae(0x2a6)](),_0xc89b5d=await this[_0x103bae(0x1d9)](_0x4014be,Z[_0x103bae(0x3c5)]);this[_0x103bae(0x453)][_0x103bae(0x257)](_0x4014be,_0xc89b5d);}),this[_0x1249f6(0x290)]['getTypeOfUnitAdded$'](a[_0x1249f6(0x259)][_0x1249f6(0x3f8)])[_0x1249f6(0x3fe)](B[_0x1249f6(0x2a1)](this[_0x1249f6(0x3aa)]),G[_0x1249f6(0x495)](0x10))[_0x1249f6(0x3fe)](G['filter'](_0x2aef53=>!_0x2aef53['getUnitId']()[_0x1249f6(0x1ec)]('__')))[_0x1249f6(0x202)](async _0x12cf4d=>{var _0x3832f5=_0x1249f6;const _0x5770bf=_0x12cf4d['getUnitId'](),_0x5acc56=await this[_0x3832f5(0x1d9)](_0x5770bf,Z[_0x3832f5(0x3f8)]);this['_entities'][_0x3832f5(0x257)](_0x5770bf,_0x5acc56);}),B[_0x1249f6(0x4cf)](this[_0x1249f6(0x290)][_0x1249f6(0x368)](a[_0x1249f6(0x259)][_0x1249f6(0x3c5)]),this[_0x1249f6(0x290)]['getTypeOfUnitDisposed$'](a[_0x1249f6(0x259)][_0x1249f6(0x3f8)]))[_0x1249f6(0x3fe)](B[_0x1249f6(0x2a1)](this[_0x1249f6(0x3aa)]))['subscribe'](_0x58195c=>{var _0x2368b8=_0x1249f6;const _0x11d231=_0x58195c[_0x2368b8(0x2a6)](),_0x38ec50=this['_entities'][_0x2368b8(0x372)](_0x11d231);_0x38ec50&&(_0x38ec50[_0x2368b8(0x36e)](),this[_0x2368b8(0x453)]['delete'](_0x11d231));});}async[_0x4088ec(0x1d9)](_0x2133e1,_0x24ce03){var _0xd92049=_0x4088ec;const _0xacbcd1=await this[_0xd92049(0x283)]['requireSession'](_0x2133e1),_0x3e8876=this[_0xd92049(0x416)][_0xd92049(0x246)](this[_0xd92049(0x308)](_0x24ce03),_0x2133e1,_0x24ce03,_0xacbcd1);return await _0x3e8876[_0xd92049(0x46d)](),this[_0xd92049(0x402)]['next'](_0x3e8876),_0x3e8876;}[_0x4088ec(0x308)](_0x529464){var _0x3fb531=_0x4088ec;switch(_0x529464){case Z[_0x3fb531(0x3f8)]:return exports[_0x3fb531(0x1e8)];case Z['UNIVER_SHEET']:return exports[_0x3fb531(0x4dc)];default:throw new Error(_0x3fb531(0x34c)+_0x529464);}}},exports['CollaborationController']=Di([we(0x0,a[_0x4088ec(0x4e2)](a['Injector'])),we(0x1,a[_0x4088ec(0x4e2)](exports[_0x4088ec(0x4e7)])),we(0x2,a[_0x4088ec(0x1de)])],exports[_0x4088ec(0x1f2)]);var Ui=Object[_0x4088ec(0x4b1)],Ni=Object['getOwnPropertyDescriptor'],wi=(_0x539cc5,_0x4e67f3,_0x4f423b,_0x3fc9d8)=>{var _0x1ee799=_0x4088ec;for(var _0x4035c7=_0x3fc9d8>0x1?void 0x0:_0x3fc9d8?Ni(_0x4e67f3,_0x4f423b):_0x4e67f3,_0x473157=_0x539cc5[_0x1ee799(0x42f)]-0x1,_0x25fdc1;_0x473157>=0x0;_0x473157--)(_0x25fdc1=_0x539cc5[_0x473157])&&(_0x4035c7=(_0x3fc9d8?_0x25fdc1(_0x4e67f3,_0x4f423b,_0x4035c7):_0x25fdc1(_0x4035c7))||_0x4035c7);return _0x3fc9d8&&_0x4035c7&&Ui(_0x4e67f3,_0x4f423b,_0x4035c7),_0x4035c7;},Je=(_0x57a8d3,_0x2c4113)=>(_0x3ee934,_0x5486ee)=>_0x2c4113(_0x3ee934,_0x5486ee,_0x57a8d3);const Ai=_0x4088ec(0x422),Li='Univer';let $e=class extends a['Disposable']{constructor(_0x3e860b,_0x429d38){var _0xb7f075=_0x4088ec;super(),this['_univerInstanceService']=_0x3e860b,this[_0xb7f075(0x3f5)]=_0x429d38,this[_0xb7f075(0x252)]();}[_0x4088ec(0x252)](){var _0x1110b1=_0x4088ec;this[_0x1110b1(0x4e0)](this[_0x1110b1(0x290)][_0x1110b1(0x464)][_0x1110b1(0x202)](()=>{var _0x404b29=_0x1110b1,_0x870d8b;const _0x5b737e=this[_0x404b29(0x290)][_0x404b29(0x3e7)]();let _0x122eba=(_0x870d8b=this[_0x404b29(0x3f5)][_0x404b29(0x51d)](Ai))!=null?_0x870d8b:Li;_0x5b737e instanceof a[_0x404b29(0x250)]&&(_0x122eba=_0x5b737e[_0x404b29(0x4d8)]),document['title']=_0x122eba;}));}};$e=wi([Je(0x0,a[_0x4088ec(0x1de)]),Je(0x1,a[_0x4088ec(0x1d0)])],$e);var Mi=Object['defineProperty'],xi=Object[_0x4088ec(0x4cd)],ji=(_0x1ef1aa,_0x34cc67,_0x47a149,_0x27d88a)=>{for(var _0xd36a58=_0x27d88a>0x1?void 0x0:_0x27d88a?xi(_0x34cc67,_0x47a149):_0x34cc67,_0x3461fb=_0x1ef1aa['length']-0x1,_0x274544;_0x3461fb>=0x0;_0x3461fb--)(_0x274544=_0x1ef1aa[_0x3461fb])&&(_0xd36a58=(_0x27d88a?_0x274544(_0x34cc67,_0x47a149,_0xd36a58):_0x274544(_0xd36a58))||_0xd36a58);return _0x27d88a&&_0xd36a58&&Mi(_0x34cc67,_0x47a149,_0xd36a58),_0xd36a58;},Ae=(_0x4f8759,_0x155b0e)=>(_0xbbdd95,_0x5ec95a)=>_0x155b0e(_0xbbdd95,_0x5ec95a,_0x4f8759);let Oe=class{constructor(_0xe14123,_0x259d15,_0x52f4d1){var _0x472195=_0x4088ec;this[_0x472195(0x3f5)]=_0xe14123,this[_0x472195(0x4a6)]=_0x259d15,this[_0x472195(0x2ed)]=_0x52f4d1,this[_0x472195(0x46d)]();}[_0x4088ec(0x46d)](){var _0xa66b10=_0x4088ec;this['_httpService'][_0xa66b10(0x2ac)]({'priority':0x1,'interceptor':(_0x209167,_0x28480d)=>_0x28480d(_0x209167)[_0xa66b10(0x3fe)](B['concatMap'](async _0x50100e=>{var _0xbe4918=_0xa66b10;const _0x9d4cb7=_0x50100e;if(_0x9d4cb7[_0xbe4918(0x2c1)]===0x191&&window[_0xbe4918(0x4d4)](this['localeService']['t'](_0xbe4918(0x4e6)))){const _0x660eae=window[_0xbe4918(0x46a)](window['location'][_0xbe4918(0x3a4)]);window[_0xbe4918(0x440)]['href']=this[_0xbe4918(0x3e1)]()+'?url='+_0x660eae;}return _0x9d4cb7;}))});}['_getLoginPath'](){var _0x1f1687=_0x4088ec,_0x5c60f4,_0x5377c1;const _0x118d74=this[_0x1f1687(0x3f5)][_0x1f1687(0x51d)](Et),_0x23be58=this[_0x1f1687(0x3f5)][_0x1f1687(0x51d)](z);return(_0x5377c1=(_0x5c60f4=_0x23be58==null?void 0x0:_0x23be58[_0x1f1687(0x463)])!=null?_0x5c60f4:_0x118d74)!=null?_0x5377c1:Kt;}};Oe=ji([Ae(0x0,a[_0x4088ec(0x1d0)]),Ae(0x1,a[_0x4088ec(0x4e2)](Y[_0x4088ec(0x3c7)])),Ae(0x2,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x24a)]))],Oe);var $i=Object[_0x4088ec(0x4b1)],Hi=Object[_0x4088ec(0x4cd)],ki=(_0x3ab90d,_0x3dab8f,_0x53f86f,_0x34bc09)=>{var _0x2eab85=_0x4088ec;for(var _0x25a033=_0x34bc09>0x1?void 0x0:_0x34bc09?Hi(_0x3dab8f,_0x53f86f):_0x3dab8f,_0x3ab2ad=_0x3ab90d[_0x2eab85(0x42f)]-0x1,_0xe1af15;_0x3ab2ad>=0x0;_0x3ab2ad--)(_0xe1af15=_0x3ab90d[_0x3ab2ad])&&(_0x25a033=(_0x34bc09?_0xe1af15(_0x3dab8f,_0x53f86f,_0x25a033):_0xe1af15(_0x25a033))||_0x25a033);return _0x34bc09&&_0x25a033&&$i(_0x3dab8f,_0x53f86f,_0x25a033),_0x25a033;},Xe=(_0x318974,_0x4ca6b1)=>(_0x5d804c,_0x15b64b)=>_0x4ca6b1(_0x5d804c,_0x15b64b,_0x318974);const Ge=_0x4088ec(0x316),Bi=_0x4088ec(0x3cd);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x3b8bf5,_0x397b6b){var _0x4ef636=_0x4088ec;super(),this[_0x4ef636(0x38d)]=_0x3b8bf5,this[_0x4ef636(0x3f5)]=_0x397b6b,this[_0x4ef636(0x33b)]();}['_initMergeInterceptor'](){var _0x56e1c8=_0x4088ec;const _0x47c719=this;this['disposeWithMe'](this['_HTTPService'][_0x56e1c8(0x2ac)]({'priority':0x3e7,'interceptor':Y[_0x56e1c8(0x23e)]({'isMatch'(_0x26005b){var _0x3ceb60=_0x56e1c8,_0x13fbd6;if(_0x26005b[_0x3ceb60(0x2a2)]===_0x3ceb60(0x4f1)&&((_0x13fbd6=_0x26005b[_0x3ceb60(0x2bd)])!=null&&_0x13fbd6[_0x3ceb60(0x3ca)])){const {objectID:_0x2b9015,objectType:_0xf9fe90}=_0x26005b[_0x3ceb60(0x2bd)][_0x3ceb60(0x3ca)]||{};if(!_0x2b9015||_0xf9fe90===void 0x0)return!0x1;const _0x3dc065=_0x47c719[_0x3ceb60(0x220)]()+'/'+_0xf9fe90+'/object/'+_0x2b9015+_0x3ceb60(0x3cf);if(_0x26005b[_0x3ceb60(0x1e7)]===_0x3dc065)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x83686a){var _0x13fe13=_0x56e1c8,_0x5a840f;return(_0x5a840f=_0x83686a[_0x13fe13(0x2bd)])==null?void 0x0:_0x5a840f[_0x13fe13(0x3ca)];},'mergeParamsToRequest'(_0x3480f3,_0x196905){var _0x1cfc43=_0x56e1c8;const _0x5cf06a=_0x47c719[_0x1cfc43(0x220)]()+'/-/object/-/batch_allowed',_0x5d5b31=_0x3480f3['reduce']((_0x1329b1,_0x4b9c5b)=>{var _0x4f0519=_0x1cfc43;const {unitID:_0x373c27,objectID:_0x46740d,objectType:_0x16d61b,actions:_0x2c62a4}=_0x4b9c5b;return _0x1329b1[_0x373c27]||(_0x1329b1[_0x373c27]={}),_0x1329b1[_0x373c27][_0x46740d]||(_0x1329b1[_0x373c27][_0x46740d]={'objectID':_0x46740d,'objectType':_0x16d61b,'actions':[]}),_0x1329b1[_0x373c27][_0x46740d][_0x4f0519(0x50b)][_0x4f0519(0x52e)](..._0x2c62a4),_0x1329b1;},{}),_0x3da113=[];for(const _0xe8364c in _0x5d5b31)for(const _0xfbe01a in _0x5d5b31[_0xe8364c]){const {actions:_0x249a79,objectType:_0x13f0c6}=_0x5d5b31[_0xe8364c][_0xfbe01a],_0x34de83=[...new Set(_0x249a79)];_0x3da113[_0x1cfc43(0x52e)]({'unitID':_0xe8364c,'objectID':_0xfbe01a,'objectType':_0x13f0c6,'actions':_0x34de83});}return new Y[(_0x1cfc43(0x486))]('POST',_0x5cf06a,{'headers':_0x196905[_0x1cfc43(0x42b)],'withCredentials':_0x196905['withCredentials'],'responseType':_0x196905[_0x1cfc43(0x227)],'body':{'requests':_0x3da113}});}},{'distributeResult'(_0x2f8eaa,_0x195c75){const {objectActions:_0x20e8d2}=_0x2f8eaa;return _0x195c75['map'](_0x3189f2=>{var _0x593dbc=_0x5540;const {unitID:_0x580002,objectID:_0x1537f9,actions:_0x2ba5f5}=_0x3189f2,_0x13a0b7=_0x20e8d2[_0x593dbc(0x2bb)](_0x50edd8=>_0x50edd8[_0x593dbc(0x481)]===_0x580002&&_0x50edd8[_0x593dbc(0x504)]===_0x1537f9),_0x4f78ec=_0x2ba5f5[_0x593dbc(0x325)](_0x5bb9b0=>_0x13a0b7==null?void 0x0:_0x13a0b7[_0x593dbc(0x50b)][_0x593dbc(0x2bb)](_0x379614=>_0x379614[_0x593dbc(0x3da)]===_0x5bb9b0))[_0x593dbc(0x418)](_0x1c298e=>!!_0x1c298e);return{'config':_0x3189f2,'result':{'actions':_0x4f78ec,'error':_0x2f8eaa[_0x593dbc(0x539)]}};});}})}));}[_0x4088ec(0x220)](){var _0x205b20=_0x4088ec,_0x146141,_0x490547;const _0x22ff41=this[_0x205b20(0x3f5)]['getConfig'](Ge),_0xb453b0=this[_0x205b20(0x3f5)][_0x205b20(0x51d)](z);return(_0x490547=(_0x146141=_0xb453b0==null?void 0x0:_0xb453b0[_0x205b20(0x273)])!=null?_0x146141:_0x22ff41)!=null?_0x490547:Bi;}async[_0x4088ec(0x2d3)](_0x25c363){var _0x17684b=_0x4088ec;const _0x459aff=this[_0x17684b(0x220)]()+'/'+_0x25c363['objectType']+_0x17684b(0x26b);return(await this[_0x17684b(0x38d)]['post'](_0x459aff,{'body':_0x25c363}))[_0x17684b(0x3ca)][_0x17684b(0x504)]||'';}async['list'](_0x2221dc){var _0x4131b1=_0x4088ec;const _0x1cc9f5=this[_0x4131b1(0x220)]()+_0x4131b1(0x4aa);return(await this[_0x4131b1(0x38d)][_0x4131b1(0x1ee)](_0x1cc9f5,{'body':_0x2221dc}))[_0x4131b1(0x3ca)]['objects'];}async[_0x4088ec(0x3a5)](_0x57108e){var _0x3f024c=_0x4088ec;const _0xaae2db=this[_0x3f024c(0x220)]()+'/'+_0x57108e[_0x3f024c(0x3dd)]+_0x3f024c(0x424)+_0x57108e[_0x3f024c(0x504)];await this[_0x3f024c(0x38d)][_0x3f024c(0x2eb)](_0xaae2db,{'body':_0x57108e});}async[_0x4088ec(0x2d6)](_0x11f2ac){var _0xdbe331=_0x4088ec;const _0x342249=this['_getAPIPrefixPath']()+'/'+_0x11f2ac[_0xdbe331(0x3dd)]+_0xdbe331(0x424)+_0x11f2ac['objectID']+_0xdbe331(0x3cf);return(await this[_0xdbe331(0x38d)][_0xdbe331(0x1ee)](_0x342249,{'body':_0x11f2ac}))[_0xdbe331(0x3ca)][_0xdbe331(0x50b)];}async[_0x4088ec(0x35b)](_0x5c7e57){var _0x1d4f7f=_0x4088ec;const _0x298052=this[_0x1d4f7f(0x220)]()+'/-/object/-/batch_allowed';return(await this[_0x1d4f7f(0x38d)]['post'](_0x298052,{'body':{'requests':_0x5c7e57}}))[_0x1d4f7f(0x3ca)]['objectActions'];}async[_0x4088ec(0x272)](_0x262741){var _0x3c5e34=_0x4088ec;const _0x4218c0=this[_0x3c5e34(0x220)]()+'/'+_0x262741[_0x3c5e34(0x3dd)]+_0x3c5e34(0x472),_0x25d70f=await this[_0x3c5e34(0x38d)][_0x3c5e34(0x1ee)](_0x4218c0,{'body':_0x262741});return{'roles':_0x25d70f[_0x3c5e34(0x3ca)][_0x3c5e34(0x4c3)],'actions':_0x25d70f[_0x3c5e34(0x3ca)]['actions']};}async['deleteCollaborator'](_0x2e8344){var _0x40bd3b=_0x4088ec;const _0x524912=this[_0x40bd3b(0x220)]()+_0x40bd3b(0x21d);await this[_0x40bd3b(0x38d)][_0x40bd3b(0x4c6)](_0x524912,{'params':{'collaboratorID':_0x2e8344[_0x40bd3b(0x355)],'objectID':_0x2e8344[_0x40bd3b(0x504)],'unitID':_0x2e8344[_0x40bd3b(0x481)]}});}async['updateCollaborator'](_0x1b7c92){var _0x1ae84f=_0x4088ec;const _0x8b2895=this[_0x1ae84f(0x220)]()+_0x1ae84f(0x21d);await this[_0x1ae84f(0x38d)]['patch'](_0x8b2895,{'body':_0x1b7c92});}async[_0x4088ec(0x4dd)](_0x3c51ad){var _0x2f758c=_0x4088ec;const _0x59b0b0=this['_getAPIPrefixPath']()+_0x2f758c(0x21d);await this[_0x2f758c(0x38d)][_0x2f758c(0x1ee)](_0x59b0b0,{'body':_0x3c51ad});}async[_0x4088ec(0x31d)](_0x2f7c5a){var _0x16c1d8=_0x4088ec;const _0x1306c0=this['_getAPIPrefixPath']()+_0x16c1d8(0x21d);return(await this['_HTTPService'][_0x16c1d8(0x372)](_0x1306c0,{'params':{'objectID':_0x2f7c5a[_0x16c1d8(0x504)],'unitID':_0x2f7c5a[_0x16c1d8(0x481)]}}))[_0x16c1d8(0x3ca)]['collaborators'];}async[_0x4088ec(0x4a3)](_0x219487){var _0x53e243=_0x4088ec;const _0xb71391=this[_0x53e243(0x220)]()+_0x53e243(0x21d);await this[_0x53e243(0x38d)][_0x53e243(0x2eb)](_0xb71391,{'body':_0x219487});}},exports[_0x4088ec(0x3bf)]=ki([Xe(0x0,a[_0x4088ec(0x4e2)](Y[_0x4088ec(0x3c7)])),Xe(0x1,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x1d0)]))],exports[_0x4088ec(0x3bf)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x35b392){var _0x2cae2c=_0x4088ec;return _0x35b392&&_0x35b392[_0x2cae2c(0x406)]&&Object[_0x2cae2c(0x2e3)][_0x2cae2c(0x2f3)][_0x2cae2c(0x4a0)](_0x35b392,_0x2cae2c(0x4c1))?_0x35b392[_0x2cae2c(0x4c1)]:_0x35b392;}var Se={'exports':{}};function Fi(_0x6d0e51){var _0x102f25=_0x4088ec;throw new Error(_0x102f25(0x4e3)+_0x6d0e51+_0x102f25(0x275));}var pe={'exports':{}},Wi=pe['exports'],Ze;function ee(){var _0xc0ec8e=_0x4088ec;return Ze||(Ze=0x1,function(_0x639b6a,_0x1c4b79){(function(_0x4a27ab,_0x3a2d04){_0x639b6a['exports']=_0x3a2d04();}(Wi,function(){var _0x58a857=_0x58a857||function(_0x2c82bd,_0x3288be){var _0x415be0=_0x5540,_0x3f6715;if(typeof window<'u'&&window[_0x415be0(0x4c9)]&&(_0x3f6715=window[_0x415be0(0x4c9)]),typeof self<'u'&&self['crypto']&&(_0x3f6715=self['crypto']),typeof globalThis<'u'&&globalThis[_0x415be0(0x4c9)]&&(_0x3f6715=globalThis['crypto']),!_0x3f6715&&typeof window<'u'&&window[_0x415be0(0x222)]&&(_0x3f6715=window[_0x415be0(0x222)]),!_0x3f6715&&typeof Le<'u'&&Le[_0x415be0(0x4c9)]&&(_0x3f6715=Le['crypto']),!_0x3f6715&&typeof Fi==_0x415be0(0x4bf))try{_0x3f6715=require(_0x415be0(0x4c9));}catch{}var _0x4d7947=function(){var _0x1b42c4=_0x415be0;if(_0x3f6715){if(typeof _0x3f6715[_0x1b42c4(0x438)]==_0x1b42c4(0x4bf))try{return _0x3f6715['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3f6715[_0x1b42c4(0x52a)]==_0x1b42c4(0x4bf))try{return _0x3f6715[_0x1b42c4(0x52a)](0x4)[_0x1b42c4(0x238)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x262a12=Object['create']||(function(){function _0x44a609(){}return function(_0x4db3ab){var _0x1ecc11=_0x5540,_0x2c5203;return _0x44a609[_0x1ecc11(0x2e3)]=_0x4db3ab,_0x2c5203=new _0x44a609(),_0x44a609[_0x1ecc11(0x2e3)]=null,_0x2c5203;};}()),_0x525d89={},_0x121220=_0x525d89['lib']={},_0x2ade92=_0x121220['Base']=(function(){return{'extend':function(_0x44e494){var _0x187a24=_0x5540,_0x26f7a0=_0x262a12(this);return _0x44e494&&_0x26f7a0['mixIn'](_0x44e494),(!_0x26f7a0[_0x187a24(0x2f3)](_0x187a24(0x46d))||this[_0x187a24(0x46d)]===_0x26f7a0['init'])&&(_0x26f7a0[_0x187a24(0x46d)]=function(){var _0xd24e61=_0x187a24;_0x26f7a0['$super'][_0xd24e61(0x46d)]['apply'](this,arguments);}),_0x26f7a0[_0x187a24(0x46d)][_0x187a24(0x2e3)]=_0x26f7a0,_0x26f7a0['$super']=this,_0x26f7a0;},'create':function(){var _0x537d1e=_0x5540,_0x2d9c5b=this['extend']();return _0x2d9c5b[_0x537d1e(0x46d)]['apply'](_0x2d9c5b,arguments),_0x2d9c5b;},'init':function(){},'mixIn':function(_0x26b1ad){var _0x36327a=_0x5540;for(var _0x23ef43 in _0x26b1ad)_0x26b1ad[_0x36327a(0x2f3)](_0x23ef43)&&(this[_0x23ef43]=_0x26b1ad[_0x23ef43]);_0x26b1ad[_0x36327a(0x2f3)]('toString')&&(this[_0x36327a(0x49b)]=_0x26b1ad[_0x36327a(0x49b)]);},'clone':function(){var _0xc32c2f=_0x5540;return this[_0xc32c2f(0x46d)][_0xc32c2f(0x2e3)][_0xc32c2f(0x3a0)](this);}};}()),_0x23d7af=_0x121220['WordArray']=_0x2ade92[_0x415be0(0x3a0)]({'init':function(_0x18882e,_0x2b754f){var _0x1e7d38=_0x415be0;_0x18882e=this[_0x1e7d38(0x1c7)]=_0x18882e||[],_0x2b754f!=_0x3288be?this[_0x1e7d38(0x530)]=_0x2b754f:this[_0x1e7d38(0x530)]=_0x18882e['length']*0x4;},'toString':function(_0x3d12b3){var _0x1c7c01=_0x415be0;return(_0x3d12b3||_0x55aab4)[_0x1c7c01(0x2ff)](this);},'concat':function(_0x24c6de){var _0x42a09d=_0x415be0,_0x6f798b=this[_0x42a09d(0x1c7)],_0x43d7f7=_0x24c6de[_0x42a09d(0x1c7)],_0x1c7bf1=this['sigBytes'],_0x32fbed=_0x24c6de[_0x42a09d(0x530)];if(this[_0x42a09d(0x249)](),_0x1c7bf1%0x4)for(var _0x2a9f5c=0x0;_0x2a9f5c<_0x32fbed;_0x2a9f5c++){var _0x5fb28c=_0x43d7f7[_0x2a9f5c>>>0x2]>>>0x18-_0x2a9f5c%0x4*0x8&0xff;_0x6f798b[_0x1c7bf1+_0x2a9f5c>>>0x2]|=_0x5fb28c<<0x18-(_0x1c7bf1+_0x2a9f5c)%0x4*0x8;}else{for(var _0x5615d9=0x0;_0x5615d9<_0x32fbed;_0x5615d9+=0x4)_0x6f798b[_0x1c7bf1+_0x5615d9>>>0x2]=_0x43d7f7[_0x5615d9>>>0x2];}return this[_0x42a09d(0x530)]+=_0x32fbed,this;},'clamp':function(){var _0x5b5161=_0x415be0,_0x5124ef=this[_0x5b5161(0x1c7)],_0x41b8a7=this[_0x5b5161(0x530)];_0x5124ef[_0x41b8a7>>>0x2]&=0xffffffff<<0x20-_0x41b8a7%0x4*0x8,_0x5124ef[_0x5b5161(0x42f)]=_0x2c82bd[_0x5b5161(0x4fa)](_0x41b8a7/0x4);},'clone':function(){var _0x53c063=_0x415be0,_0x507298=_0x2ade92[_0x53c063(0x33a)]['call'](this);return _0x507298['words']=this[_0x53c063(0x1c7)][_0x53c063(0x4ba)](0x0),_0x507298;},'random':function(_0x470031){for(var _0x50135c=[],_0x2fbfdf=0x0;_0x2fbfdf<_0x470031;_0x2fbfdf+=0x4)_0x50135c['push'](_0x4d7947());return new _0x23d7af['init'](_0x50135c,_0x470031);}}),_0x50fed4=_0x525d89['enc']={},_0x55aab4=_0x50fed4[_0x415be0(0x291)]={'stringify':function(_0x24732a){var _0x91d120=_0x415be0;for(var _0x237776=_0x24732a[_0x91d120(0x1c7)],_0x1fa92b=_0x24732a[_0x91d120(0x530)],_0x4f29b1=[],_0x20fd1a=0x0;_0x20fd1a<_0x1fa92b;_0x20fd1a++){var _0x195ff8=_0x237776[_0x20fd1a>>>0x2]>>>0x18-_0x20fd1a%0x4*0x8&0xff;_0x4f29b1[_0x91d120(0x52e)]((_0x195ff8>>>0x4)[_0x91d120(0x49b)](0x10)),_0x4f29b1['push']((_0x195ff8&0xf)[_0x91d120(0x49b)](0x10));}return _0x4f29b1[_0x91d120(0x21a)]('');},'parse':function(_0x3696bb){var _0x55e905=_0x415be0;for(var _0xffa4b4=_0x3696bb[_0x55e905(0x42f)],_0x12d81f=[],_0x1727d6=0x0;_0x1727d6<_0xffa4b4;_0x1727d6+=0x2)_0x12d81f[_0x1727d6>>>0x3]|=parseInt(_0x3696bb['substr'](_0x1727d6,0x2),0x10)<<0x18-_0x1727d6%0x8*0x4;return new _0x23d7af[(_0x55e905(0x46d))](_0x12d81f,_0xffa4b4/0x2);}},_0x618ce9=_0x50fed4[_0x415be0(0x34d)]={'stringify':function(_0xe098bd){var _0x226b3f=_0x415be0;for(var _0x2fe32a=_0xe098bd[_0x226b3f(0x1c7)],_0x1964d7=_0xe098bd[_0x226b3f(0x530)],_0x11ddcd=[],_0x18e842=0x0;_0x18e842<_0x1964d7;_0x18e842++){var _0xd8bcbf=_0x2fe32a[_0x18e842>>>0x2]>>>0x18-_0x18e842%0x4*0x8&0xff;_0x11ddcd[_0x226b3f(0x52e)](String[_0x226b3f(0x35c)](_0xd8bcbf));}return _0x11ddcd[_0x226b3f(0x21a)]('');},'parse':function(_0x4ad9e3){var _0x488f5e=_0x415be0;for(var _0x1d65d2=_0x4ad9e3['length'],_0x4d8d39=[],_0x318799=0x0;_0x318799<_0x1d65d2;_0x318799++)_0x4d8d39[_0x318799>>>0x2]|=(_0x4ad9e3['charCodeAt'](_0x318799)&0xff)<<0x18-_0x318799%0x4*0x8;return new _0x23d7af[(_0x488f5e(0x46d))](_0x4d8d39,_0x1d65d2);}},_0x41243a=_0x50fed4[_0x415be0(0x30b)]={'stringify':function(_0x4bfb80){try{return decodeURIComponent(escape(_0x618ce9['stringify'](_0x4bfb80)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x33aa60){return _0x618ce9['parse'](unescape(encodeURIComponent(_0x33aa60)));}},_0x276fac=_0x121220[_0x415be0(0x535)]=_0x2ade92[_0x415be0(0x3a0)]({'reset':function(){var _0x28cba3=_0x415be0;this[_0x28cba3(0x509)]=new _0x23d7af[(_0x28cba3(0x46d))](),this[_0x28cba3(0x1c2)]=0x0;},'_append':function(_0xdcccc3){var _0x43acc9=_0x415be0;typeof _0xdcccc3==_0x43acc9(0x3e8)&&(_0xdcccc3=_0x41243a['parse'](_0xdcccc3)),this[_0x43acc9(0x509)][_0x43acc9(0x503)](_0xdcccc3),this['_nDataBytes']+=_0xdcccc3[_0x43acc9(0x530)];},'_process':function(_0x4331ec){var _0x279033=_0x415be0,_0x123f59,_0xd0d3a4=this[_0x279033(0x509)],_0x3ea1d4=_0xd0d3a4['words'],_0x48df11=_0xd0d3a4[_0x279033(0x530)],_0x29ef1e=this['blockSize'],_0x59190b=_0x29ef1e*0x4,_0x2927f3=_0x48df11/_0x59190b;_0x4331ec?_0x2927f3=_0x2c82bd[_0x279033(0x4fa)](_0x2927f3):_0x2927f3=_0x2c82bd[_0x279033(0x44c)]((_0x2927f3|0x0)-this[_0x279033(0x45c)],0x0);var _0x2e7d24=_0x2927f3*_0x29ef1e,_0x2fef1a=_0x2c82bd[_0x279033(0x434)](_0x2e7d24*0x4,_0x48df11);if(_0x2e7d24){for(var _0x22ae9c=0x0;_0x22ae9c<_0x2e7d24;_0x22ae9c+=_0x29ef1e)this['_doProcessBlock'](_0x3ea1d4,_0x22ae9c);_0x123f59=_0x3ea1d4['splice'](0x0,_0x2e7d24),_0xd0d3a4[_0x279033(0x530)]-=_0x2fef1a;}return new _0x23d7af[(_0x279033(0x46d))](_0x123f59,_0x2fef1a);},'clone':function(){var _0x2a7fb9=_0x415be0,_0x474de2=_0x2ade92[_0x2a7fb9(0x33a)]['call'](this);return _0x474de2['_data']=this[_0x2a7fb9(0x509)][_0x2a7fb9(0x33a)](),_0x474de2;},'_minBufferSize':0x0});_0x121220[_0x415be0(0x4b0)]=_0x276fac[_0x415be0(0x3a0)]({'cfg':_0x2ade92[_0x415be0(0x3a0)](),'init':function(_0x43f6e6){var _0x5c9911=_0x415be0;this['cfg']=this[_0x5c9911(0x234)][_0x5c9911(0x3a0)](_0x43f6e6),this[_0x5c9911(0x44a)]();},'reset':function(){var _0x54acd5=_0x415be0;_0x276fac[_0x54acd5(0x44a)][_0x54acd5(0x4a0)](this),this[_0x54acd5(0x43d)]();},'update':function(_0xa39f68){var _0x151698=_0x415be0;return this[_0x151698(0x46c)](_0xa39f68),this[_0x151698(0x442)](),this;},'finalize':function(_0xa9ba46){var _0x5f26e2=_0x415be0;_0xa9ba46&&this['_append'](_0xa9ba46);var _0x423894=this[_0x5f26e2(0x4fc)]();return _0x423894;},'blockSize':0x10,'_createHelper':function(_0x1d2a80){return function(_0x44f5cc,_0x43622c){var _0x58376c=_0x5540;return new _0x1d2a80[(_0x58376c(0x46d))](_0x43622c)[_0x58376c(0x47c)](_0x44f5cc);};},'_createHmacHelper':function(_0x5b186d){return function(_0x19560f,_0x5b6b7e){var _0x3f0eb7=_0x5540;return new _0x203c74[(_0x3f0eb7(0x4d3))][(_0x3f0eb7(0x46d))](_0x5b186d,_0x5b6b7e)['finalize'](_0x19560f);};}});var _0x203c74=_0x525d89[_0x415be0(0x2d0)]={};return _0x525d89;}(Math);return _0x58a857;}));}(pe)),pe[_0xc0ec8e(0x33e)];}var ge={'exports':{}},Vi=ge[_0x4088ec(0x33e)],Qe;function Dt(){return Qe||(Qe=0x1,function(_0x2090b2,_0x407060){(function(_0x2ce570,_0x12c89a){_0x2090b2['exports']=_0x12c89a(ee());}(Vi,function(_0x216c7d){var _0x41f90d=_0x5540;return(function(){var _0x3b0b98=_0x5540,_0x4f7e79=_0x216c7d,_0x17137e=_0x4f7e79[_0x3b0b98(0x327)],_0x5ea4bd=_0x17137e[_0x3b0b98(0x319)],_0x5afb1e=_0x4f7e79[_0x3b0b98(0x215)];_0x5afb1e[_0x3b0b98(0x24c)]={'stringify':function(_0x1e907a){var _0x56e301=_0x3b0b98,_0x4eb1df=_0x1e907a['words'],_0x57674a=_0x1e907a[_0x56e301(0x530)],_0x53567a=this[_0x56e301(0x27c)];_0x1e907a[_0x56e301(0x249)]();for(var _0x271612=[],_0x39a4c0=0x0;_0x39a4c0<_0x57674a;_0x39a4c0+=0x3)for(var _0x9ed243=_0x4eb1df[_0x39a4c0>>>0x2]>>>0x18-_0x39a4c0%0x4*0x8&0xff,_0x166123=_0x4eb1df[_0x39a4c0+0x1>>>0x2]>>>0x18-(_0x39a4c0+0x1)%0x4*0x8&0xff,_0x535a1f=_0x4eb1df[_0x39a4c0+0x2>>>0x2]>>>0x18-(_0x39a4c0+0x2)%0x4*0x8&0xff,_0x30200a=_0x9ed243<<0x10|_0x166123<<0x8|_0x535a1f,_0x6e5ab2=0x0;_0x6e5ab2<0x4&&_0x39a4c0+_0x6e5ab2*0.75<_0x57674a;_0x6e5ab2++)_0x271612['push'](_0x53567a['charAt'](_0x30200a>>>0x6*(0x3-_0x6e5ab2)&0x3f));var _0x3fde66=_0x53567a['charAt'](0x40);if(_0x3fde66){for(;_0x271612[_0x56e301(0x42f)]%0x4;)_0x271612[_0x56e301(0x52e)](_0x3fde66);}return _0x271612[_0x56e301(0x21a)]('');},'parse':function(_0x4b9718){var _0x217c14=_0x3b0b98,_0x314691=_0x4b9718['length'],_0xfd6c52=this[_0x217c14(0x27c)],_0x1cdf0c=this['_reverseMap'];if(!_0x1cdf0c){_0x1cdf0c=this[_0x217c14(0x4c4)]=[];for(var _0x13e269=0x0;_0x13e269<_0xfd6c52[_0x217c14(0x42f)];_0x13e269++)_0x1cdf0c[_0xfd6c52[_0x217c14(0x41d)](_0x13e269)]=_0x13e269;}var _0x4ddce2=_0xfd6c52['charAt'](0x40);if(_0x4ddce2){var _0x218b90=_0x4b9718[_0x217c14(0x2e7)](_0x4ddce2);_0x218b90!==-0x1&&(_0x314691=_0x218b90);}return _0xc1f0d5(_0x4b9718,_0x314691,_0x1cdf0c);},'_map':_0x3b0b98(0x430)};function _0xc1f0d5(_0x394b07,_0x3f28cd,_0xe45669){var _0x15c069=_0x3b0b98;for(var _0x33b528=[],_0xa2db96=0x0,_0x19d87d=0x0;_0x19d87d<_0x3f28cd;_0x19d87d++)if(_0x19d87d%0x4){var _0x1032fd=_0xe45669[_0x394b07[_0x15c069(0x41d)](_0x19d87d-0x1)]<<_0x19d87d%0x4*0x2,_0x2374ca=_0xe45669[_0x394b07[_0x15c069(0x41d)](_0x19d87d)]>>>0x6-_0x19d87d%0x4*0x2,_0xfd46e7=_0x1032fd|_0x2374ca;_0x33b528[_0xa2db96>>>0x2]|=_0xfd46e7<<0x18-_0xa2db96%0x4*0x8,_0xa2db96++;}return _0x5ea4bd[_0x15c069(0x2d3)](_0x33b528,_0xa2db96);}}()),_0x216c7d[_0x41f90d(0x215)][_0x41f90d(0x24c)];}));}(ge)),ge['exports'];}var me={'exports':{}},Gi=me[_0x4088ec(0x33e)],et;function Ki(){var _0x5816d9=_0x4088ec;return et||(et=0x1,function(_0x2a53df,_0x14468e){(function(_0x321fff,_0xd37fb7){var _0x3dbcb3=_0x5540;_0x2a53df[_0x3dbcb3(0x33e)]=_0xd37fb7(ee());}(Gi,function(_0x195a8f){return function(_0x4827d8){var _0x1e890b=_0x5540,_0x4d5435=_0x195a8f,_0x5a105f=_0x4d5435[_0x1e890b(0x327)],_0x3e4860=_0x5a105f[_0x1e890b(0x319)],_0x2cc570=_0x5a105f[_0x1e890b(0x4b0)],_0x261e95=_0x4d5435[_0x1e890b(0x2d0)],_0x476288=[];(function(){var _0x5d52da=_0x1e890b;for(var _0x135e7c=0x0;_0x135e7c<0x40;_0x135e7c++)_0x476288[_0x135e7c]=_0x4827d8[_0x5d52da(0x4df)](_0x4827d8[_0x5d52da(0x21c)](_0x135e7c+0x1))*0x100000000|0x0;}());var _0x5cd64c=_0x261e95[_0x1e890b(0x50d)]=_0x2cc570[_0x1e890b(0x3a0)]({'_doReset':function(){var _0x221b6c=_0x1e890b;this[_0x221b6c(0x1fa)]=new _0x3e4860[(_0x221b6c(0x46d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x132dae,_0x206665){var _0x408bb8=_0x1e890b;for(var _0x42fe9a=0x0;_0x42fe9a<0x10;_0x42fe9a++){var _0x30c366=_0x206665+_0x42fe9a,_0x8eede0=_0x132dae[_0x30c366];_0x132dae[_0x30c366]=(_0x8eede0<<0x8|_0x8eede0>>>0x18)&0xff00ff|(_0x8eede0<<0x18|_0x8eede0>>>0x8)&0xff00ff00;}var _0x332b32=this[_0x408bb8(0x1fa)][_0x408bb8(0x1c7)],_0x3377ef=_0x132dae[_0x206665+0x0],_0xf8e6f0=_0x132dae[_0x206665+0x1],_0x4c8e2d=_0x132dae[_0x206665+0x2],_0x418445=_0x132dae[_0x206665+0x3],_0x336f57=_0x132dae[_0x206665+0x4],_0x1d9406=_0x132dae[_0x206665+0x5],_0x251e4e=_0x132dae[_0x206665+0x6],_0x2c0d6f=_0x132dae[_0x206665+0x7],_0x41a8d5=_0x132dae[_0x206665+0x8],_0x26cb70=_0x132dae[_0x206665+0x9],_0x2e2b7b=_0x132dae[_0x206665+0xa],_0x5828b5=_0x132dae[_0x206665+0xb],_0x573d58=_0x132dae[_0x206665+0xc],_0x5285bf=_0x132dae[_0x206665+0xd],_0x2ada6b=_0x132dae[_0x206665+0xe],_0xd4c2fb=_0x132dae[_0x206665+0xf],_0x29501a=_0x332b32[0x0],_0x34fafb=_0x332b32[0x1],_0x53f451=_0x332b32[0x2],_0x1a4a76=_0x332b32[0x3];_0x29501a=_0x16be7a(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x3377ef,0x7,_0x476288[0x0]),_0x1a4a76=_0x16be7a(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0xf8e6f0,0xc,_0x476288[0x1]),_0x53f451=_0x16be7a(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x4c8e2d,0x11,_0x476288[0x2]),_0x34fafb=_0x16be7a(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x418445,0x16,_0x476288[0x3]),_0x29501a=_0x16be7a(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x336f57,0x7,_0x476288[0x4]),_0x1a4a76=_0x16be7a(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x1d9406,0xc,_0x476288[0x5]),_0x53f451=_0x16be7a(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x251e4e,0x11,_0x476288[0x6]),_0x34fafb=_0x16be7a(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x2c0d6f,0x16,_0x476288[0x7]),_0x29501a=_0x16be7a(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x41a8d5,0x7,_0x476288[0x8]),_0x1a4a76=_0x16be7a(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x26cb70,0xc,_0x476288[0x9]),_0x53f451=_0x16be7a(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x2e2b7b,0x11,_0x476288[0xa]),_0x34fafb=_0x16be7a(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x5828b5,0x16,_0x476288[0xb]),_0x29501a=_0x16be7a(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x573d58,0x7,_0x476288[0xc]),_0x1a4a76=_0x16be7a(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x5285bf,0xc,_0x476288[0xd]),_0x53f451=_0x16be7a(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x2ada6b,0x11,_0x476288[0xe]),_0x34fafb=_0x16be7a(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0xd4c2fb,0x16,_0x476288[0xf]),_0x29501a=_0x499bd0(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0xf8e6f0,0x5,_0x476288[0x10]),_0x1a4a76=_0x499bd0(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x251e4e,0x9,_0x476288[0x11]),_0x53f451=_0x499bd0(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x5828b5,0xe,_0x476288[0x12]),_0x34fafb=_0x499bd0(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x3377ef,0x14,_0x476288[0x13]),_0x29501a=_0x499bd0(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x1d9406,0x5,_0x476288[0x14]),_0x1a4a76=_0x499bd0(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x2e2b7b,0x9,_0x476288[0x15]),_0x53f451=_0x499bd0(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0xd4c2fb,0xe,_0x476288[0x16]),_0x34fafb=_0x499bd0(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x336f57,0x14,_0x476288[0x17]),_0x29501a=_0x499bd0(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x26cb70,0x5,_0x476288[0x18]),_0x1a4a76=_0x499bd0(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x2ada6b,0x9,_0x476288[0x19]),_0x53f451=_0x499bd0(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x418445,0xe,_0x476288[0x1a]),_0x34fafb=_0x499bd0(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x41a8d5,0x14,_0x476288[0x1b]),_0x29501a=_0x499bd0(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x5285bf,0x5,_0x476288[0x1c]),_0x1a4a76=_0x499bd0(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x4c8e2d,0x9,_0x476288[0x1d]),_0x53f451=_0x499bd0(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x2c0d6f,0xe,_0x476288[0x1e]),_0x34fafb=_0x499bd0(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x573d58,0x14,_0x476288[0x1f]),_0x29501a=_0x46dc7e(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x1d9406,0x4,_0x476288[0x20]),_0x1a4a76=_0x46dc7e(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x41a8d5,0xb,_0x476288[0x21]),_0x53f451=_0x46dc7e(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x5828b5,0x10,_0x476288[0x22]),_0x34fafb=_0x46dc7e(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x2ada6b,0x17,_0x476288[0x23]),_0x29501a=_0x46dc7e(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0xf8e6f0,0x4,_0x476288[0x24]),_0x1a4a76=_0x46dc7e(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x336f57,0xb,_0x476288[0x25]),_0x53f451=_0x46dc7e(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x2c0d6f,0x10,_0x476288[0x26]),_0x34fafb=_0x46dc7e(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x2e2b7b,0x17,_0x476288[0x27]),_0x29501a=_0x46dc7e(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x5285bf,0x4,_0x476288[0x28]),_0x1a4a76=_0x46dc7e(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x3377ef,0xb,_0x476288[0x29]),_0x53f451=_0x46dc7e(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x418445,0x10,_0x476288[0x2a]),_0x34fafb=_0x46dc7e(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x251e4e,0x17,_0x476288[0x2b]),_0x29501a=_0x46dc7e(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x26cb70,0x4,_0x476288[0x2c]),_0x1a4a76=_0x46dc7e(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x573d58,0xb,_0x476288[0x2d]),_0x53f451=_0x46dc7e(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0xd4c2fb,0x10,_0x476288[0x2e]),_0x34fafb=_0x46dc7e(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x4c8e2d,0x17,_0x476288[0x2f]),_0x29501a=_0x5343b1(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x3377ef,0x6,_0x476288[0x30]),_0x1a4a76=_0x5343b1(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x2c0d6f,0xa,_0x476288[0x31]),_0x53f451=_0x5343b1(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x2ada6b,0xf,_0x476288[0x32]),_0x34fafb=_0x5343b1(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x1d9406,0x15,_0x476288[0x33]),_0x29501a=_0x5343b1(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x573d58,0x6,_0x476288[0x34]),_0x1a4a76=_0x5343b1(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x418445,0xa,_0x476288[0x35]),_0x53f451=_0x5343b1(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x2e2b7b,0xf,_0x476288[0x36]),_0x34fafb=_0x5343b1(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0xf8e6f0,0x15,_0x476288[0x37]),_0x29501a=_0x5343b1(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x41a8d5,0x6,_0x476288[0x38]),_0x1a4a76=_0x5343b1(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0xd4c2fb,0xa,_0x476288[0x39]),_0x53f451=_0x5343b1(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x251e4e,0xf,_0x476288[0x3a]),_0x34fafb=_0x5343b1(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x5285bf,0x15,_0x476288[0x3b]),_0x29501a=_0x5343b1(_0x29501a,_0x34fafb,_0x53f451,_0x1a4a76,_0x336f57,0x6,_0x476288[0x3c]),_0x1a4a76=_0x5343b1(_0x1a4a76,_0x29501a,_0x34fafb,_0x53f451,_0x5828b5,0xa,_0x476288[0x3d]),_0x53f451=_0x5343b1(_0x53f451,_0x1a4a76,_0x29501a,_0x34fafb,_0x4c8e2d,0xf,_0x476288[0x3e]),_0x34fafb=_0x5343b1(_0x34fafb,_0x53f451,_0x1a4a76,_0x29501a,_0x26cb70,0x15,_0x476288[0x3f]),_0x332b32[0x0]=_0x332b32[0x0]+_0x29501a|0x0,_0x332b32[0x1]=_0x332b32[0x1]+_0x34fafb|0x0,_0x332b32[0x2]=_0x332b32[0x2]+_0x53f451|0x0,_0x332b32[0x3]=_0x332b32[0x3]+_0x1a4a76|0x0;},'_doFinalize':function(){var _0x56baee=_0x1e890b,_0x58cbcc=this[_0x56baee(0x509)],_0x1323ef=_0x58cbcc[_0x56baee(0x1c7)],_0x2c0469=this[_0x56baee(0x1c2)]*0x8,_0x584940=_0x58cbcc[_0x56baee(0x530)]*0x8;_0x1323ef[_0x584940>>>0x5]|=0x80<<0x18-_0x584940%0x20;var _0x2e8e7e=_0x4827d8[_0x56baee(0x36f)](_0x2c0469/0x100000000),_0x2b6dd8=_0x2c0469;_0x1323ef[(_0x584940+0x40>>>0x9<<0x4)+0xf]=(_0x2e8e7e<<0x8|_0x2e8e7e>>>0x18)&0xff00ff|(_0x2e8e7e<<0x18|_0x2e8e7e>>>0x8)&0xff00ff00,_0x1323ef[(_0x584940+0x40>>>0x9<<0x4)+0xe]=(_0x2b6dd8<<0x8|_0x2b6dd8>>>0x18)&0xff00ff|(_0x2b6dd8<<0x18|_0x2b6dd8>>>0x8)&0xff00ff00,_0x58cbcc['sigBytes']=(_0x1323ef[_0x56baee(0x42f)]+0x1)*0x4,this[_0x56baee(0x442)]();for(var _0x340768=this[_0x56baee(0x1fa)],_0xfece32=_0x340768['words'],_0x2a5479=0x0;_0x2a5479<0x4;_0x2a5479++){var _0x2ff8ee=_0xfece32[_0x2a5479];_0xfece32[_0x2a5479]=(_0x2ff8ee<<0x8|_0x2ff8ee>>>0x18)&0xff00ff|(_0x2ff8ee<<0x18|_0x2ff8ee>>>0x8)&0xff00ff00;}return _0x340768;},'clone':function(){var _0x3016e4=_0x1e890b,_0x5c8b28=_0x2cc570[_0x3016e4(0x33a)][_0x3016e4(0x4a0)](this);return _0x5c8b28[_0x3016e4(0x1fa)]=this['_hash'][_0x3016e4(0x33a)](),_0x5c8b28;}});function _0x16be7a(_0xa8cd7b,_0x2acb2c,_0x191dd8,_0x456d59,_0x2375e5,_0x293825,_0x454d1d){var _0x31afdc=_0xa8cd7b+(_0x2acb2c&_0x191dd8|~_0x2acb2c&_0x456d59)+_0x2375e5+_0x454d1d;return(_0x31afdc<<_0x293825|_0x31afdc>>>0x20-_0x293825)+_0x2acb2c;}function _0x499bd0(_0xfefdd1,_0x28493c,_0x50cd81,_0x4a060b,_0x4ef82c,_0x4edb78,_0xefb80e){var _0xb210da=_0xfefdd1+(_0x28493c&_0x4a060b|_0x50cd81&~_0x4a060b)+_0x4ef82c+_0xefb80e;return(_0xb210da<<_0x4edb78|_0xb210da>>>0x20-_0x4edb78)+_0x28493c;}function _0x46dc7e(_0x14c00e,_0x55125c,_0x269881,_0x3ebb39,_0x5a8d74,_0x1f1c2c,_0x280cd4){var _0x14231d=_0x14c00e+(_0x55125c^_0x269881^_0x3ebb39)+_0x5a8d74+_0x280cd4;return(_0x14231d<<_0x1f1c2c|_0x14231d>>>0x20-_0x1f1c2c)+_0x55125c;}function _0x5343b1(_0x27b009,_0x52915c,_0x34d236,_0x2da272,_0x461659,_0x17ad82,_0x13c760){var _0x4b60ee=_0x27b009+(_0x34d236^(_0x52915c|~_0x2da272))+_0x461659+_0x13c760;return(_0x4b60ee<<_0x17ad82|_0x4b60ee>>>0x20-_0x17ad82)+_0x52915c;}_0x4d5435['MD5']=_0x2cc570[_0x1e890b(0x293)](_0x5cd64c),_0x4d5435[_0x1e890b(0x462)]=_0x2cc570[_0x1e890b(0x4da)](_0x5cd64c);}(Math),_0x195a8f['MD5'];}));}(me)),me[_0x5816d9(0x33e)];}var Ie={'exports':{}},Ee={'exports':{}},Yi=Ee[_0x4088ec(0x33e)],tt;function qi(){return tt||(tt=0x1,function(_0x280667,_0x301db5){(function(_0x30a08f,_0x5481e6){var _0x27e901=_0x5540;_0x280667[_0x27e901(0x33e)]=_0x5481e6(ee());}(Yi,function(_0x2dd2e0){return(function(){var _0x4b497b=_0x5540,_0x2053d8=_0x2dd2e0,_0x3114e9=_0x2053d8['lib'],_0x53af57=_0x3114e9[_0x4b497b(0x319)],_0x149ef2=_0x3114e9[_0x4b497b(0x4b0)],_0x4fd7d9=_0x2053d8[_0x4b497b(0x2d0)],_0x189a0a=[],_0x22f401=_0x4fd7d9[_0x4b497b(0x3bc)]=_0x149ef2['extend']({'_doReset':function(){var _0x16a01b=_0x4b497b;this[_0x16a01b(0x1fa)]=new _0x53af57[(_0x16a01b(0x46d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x55f33e,_0x4d1138){var _0x54a2b2=_0x4b497b;for(var _0x15db11=this['_hash'][_0x54a2b2(0x1c7)],_0x509cda=_0x15db11[0x0],_0x40df7f=_0x15db11[0x1],_0x28d43c=_0x15db11[0x2],_0x877349=_0x15db11[0x3],_0x119e61=_0x15db11[0x4],_0x40dded=0x0;_0x40dded<0x50;_0x40dded++){if(_0x40dded<0x10)_0x189a0a[_0x40dded]=_0x55f33e[_0x4d1138+_0x40dded]|0x0;else{var _0x3a9ae0=_0x189a0a[_0x40dded-0x3]^_0x189a0a[_0x40dded-0x8]^_0x189a0a[_0x40dded-0xe]^_0x189a0a[_0x40dded-0x10];_0x189a0a[_0x40dded]=_0x3a9ae0<<0x1|_0x3a9ae0>>>0x1f;}var _0x4a4b3e=(_0x509cda<<0x5|_0x509cda>>>0x1b)+_0x119e61+_0x189a0a[_0x40dded];_0x40dded<0x14?_0x4a4b3e+=(_0x40df7f&_0x28d43c|~_0x40df7f&_0x877349)+0x5a827999:_0x40dded<0x28?_0x4a4b3e+=(_0x40df7f^_0x28d43c^_0x877349)+0x6ed9eba1:_0x40dded<0x3c?_0x4a4b3e+=(_0x40df7f&_0x28d43c|_0x40df7f&_0x877349|_0x28d43c&_0x877349)-0x70e44324:_0x4a4b3e+=(_0x40df7f^_0x28d43c^_0x877349)-0x359d3e2a,_0x119e61=_0x877349,_0x877349=_0x28d43c,_0x28d43c=_0x40df7f<<0x1e|_0x40df7f>>>0x2,_0x40df7f=_0x509cda,_0x509cda=_0x4a4b3e;}_0x15db11[0x0]=_0x15db11[0x0]+_0x509cda|0x0,_0x15db11[0x1]=_0x15db11[0x1]+_0x40df7f|0x0,_0x15db11[0x2]=_0x15db11[0x2]+_0x28d43c|0x0,_0x15db11[0x3]=_0x15db11[0x3]+_0x877349|0x0,_0x15db11[0x4]=_0x15db11[0x4]+_0x119e61|0x0;},'_doFinalize':function(){var _0x1c81c2=_0x4b497b,_0x3bf906=this[_0x1c81c2(0x509)],_0x5dda10=_0x3bf906[_0x1c81c2(0x1c7)],_0x33f8ad=this[_0x1c81c2(0x1c2)]*0x8,_0x1323af=_0x3bf906[_0x1c81c2(0x530)]*0x8;return _0x5dda10[_0x1323af>>>0x5]|=0x80<<0x18-_0x1323af%0x20,_0x5dda10[(_0x1323af+0x40>>>0x9<<0x4)+0xe]=Math[_0x1c81c2(0x36f)](_0x33f8ad/0x100000000),_0x5dda10[(_0x1323af+0x40>>>0x9<<0x4)+0xf]=_0x33f8ad,_0x3bf906['sigBytes']=_0x5dda10[_0x1c81c2(0x42f)]*0x4,this[_0x1c81c2(0x442)](),this[_0x1c81c2(0x1fa)];},'clone':function(){var _0x19ef24=_0x4b497b,_0x375f94=_0x149ef2[_0x19ef24(0x33a)][_0x19ef24(0x4a0)](this);return _0x375f94[_0x19ef24(0x1fa)]=this['_hash'][_0x19ef24(0x33a)](),_0x375f94;}});_0x2053d8[_0x4b497b(0x3bc)]=_0x149ef2[_0x4b497b(0x293)](_0x22f401),_0x2053d8[_0x4b497b(0x2b5)]=_0x149ef2[_0x4b497b(0x4da)](_0x22f401);}()),_0x2dd2e0['SHA1'];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},zi=Ce[_0x4088ec(0x33e)],it;function Ji(){var _0x2602bc=_0x4088ec;return it||(it=0x1,function(_0x12c31a,_0xb344ce){(function(_0x4a8f5c,_0x16cfb1){var _0x2d6bad=_0x5540;_0x12c31a[_0x2d6bad(0x33e)]=_0x16cfb1(ee());}(zi,function(_0x301dde){(function(){var _0x1dbe22=_0x5540,_0x18f145=_0x301dde,_0x5be80e=_0x18f145[_0x1dbe22(0x327)],_0x1887d6=_0x5be80e[_0x1dbe22(0x29e)],_0x53e718=_0x18f145['enc'],_0x314c34=_0x53e718['Utf8'],_0x1b5cd7=_0x18f145[_0x1dbe22(0x2d0)];_0x1b5cd7[_0x1dbe22(0x4d3)]=_0x1887d6['extend']({'init':function(_0xa5c3e9,_0x167ad8){var _0x49ebf1=_0x1dbe22;_0xa5c3e9=this[_0x49ebf1(0x286)]=new _0xa5c3e9[(_0x49ebf1(0x46d))](),typeof _0x167ad8==_0x49ebf1(0x3e8)&&(_0x167ad8=_0x314c34[_0x49ebf1(0x225)](_0x167ad8));var _0x590c05=_0xa5c3e9[_0x49ebf1(0x347)],_0x4d95c5=_0x590c05*0x4;_0x167ad8['sigBytes']>_0x4d95c5&&(_0x167ad8=_0xa5c3e9[_0x49ebf1(0x47c)](_0x167ad8)),_0x167ad8[_0x49ebf1(0x249)]();for(var _0x363d6a=this[_0x49ebf1(0x21f)]=_0x167ad8[_0x49ebf1(0x33a)](),_0x16cc14=this[_0x49ebf1(0x3c0)]=_0x167ad8[_0x49ebf1(0x33a)](),_0x599f5f=_0x363d6a['words'],_0x213a81=_0x16cc14['words'],_0x4fe015=0x0;_0x4fe015<_0x590c05;_0x4fe015++)_0x599f5f[_0x4fe015]^=0x5c5c5c5c,_0x213a81[_0x4fe015]^=0x36363636;_0x363d6a['sigBytes']=_0x16cc14[_0x49ebf1(0x530)]=_0x4d95c5,this[_0x49ebf1(0x44a)]();},'reset':function(){var _0xc23af6=_0x1dbe22,_0x384bf3=this[_0xc23af6(0x286)];_0x384bf3[_0xc23af6(0x44a)](),_0x384bf3[_0xc23af6(0x3a5)](this[_0xc23af6(0x3c0)]);},'update':function(_0x386c3c){var _0x62fc7f=_0x1dbe22;return this[_0x62fc7f(0x286)]['update'](_0x386c3c),this;},'finalize':function(_0x4a6054){var _0x5d6b30=_0x1dbe22,_0x50584d=this[_0x5d6b30(0x286)],_0x487c88=_0x50584d['finalize'](_0x4a6054);_0x50584d[_0x5d6b30(0x44a)]();var _0x3945db=_0x50584d[_0x5d6b30(0x47c)](this[_0x5d6b30(0x21f)]['clone']()[_0x5d6b30(0x503)](_0x487c88));return _0x3945db;}});}());}));}(Ce)),Ce[_0x2602bc(0x33e)];}var Xi=Ie[_0x4088ec(0x33e)],nt;function Ut(){return nt||(nt=0x1,function(_0x288117,_0x2ac1a9){(function(_0xa8bfa5,_0x356aaa,_0x18cca7){var _0x1bbe3c=_0x5540;_0x288117[_0x1bbe3c(0x33e)]=_0x356aaa(ee(),qi(),Ji());}(Xi,function(_0x2c63d2){var _0x5b427c=_0x5540;return(function(){var _0x1d4929=_0x5540,_0x175b93=_0x2c63d2,_0x518a8a=_0x175b93['lib'],_0x4282dd=_0x518a8a['Base'],_0xc806eb=_0x518a8a[_0x1d4929(0x319)],_0x37a532=_0x175b93[_0x1d4929(0x2d0)],_0x2dae95=_0x37a532[_0x1d4929(0x50d)],_0x48ed1b=_0x37a532['EvpKDF']=_0x4282dd[_0x1d4929(0x3a0)]({'cfg':_0x4282dd[_0x1d4929(0x3a0)]({'keySize':0x80/0x20,'hasher':_0x2dae95,'iterations':0x1}),'init':function(_0xfa752){var _0xcb8add=_0x1d4929;this[_0xcb8add(0x234)]=this[_0xcb8add(0x234)][_0xcb8add(0x3a0)](_0xfa752);},'compute':function(_0x5b8e35,_0xacabf3){var _0x42e189=_0x1d4929;for(var _0x4d45ac,_0x1e472c=this[_0x42e189(0x234)],_0x235da9=_0x1e472c['hasher'][_0x42e189(0x2d3)](),_0x99fa18=_0xc806eb[_0x42e189(0x2d3)](),_0x44354b=_0x99fa18[_0x42e189(0x1c7)],_0xbd4b56=_0x1e472c[_0x42e189(0x390)],_0x176d13=_0x1e472c['iterations'];_0x44354b[_0x42e189(0x42f)]<_0xbd4b56;){_0x4d45ac&&_0x235da9[_0x42e189(0x3a5)](_0x4d45ac),_0x4d45ac=_0x235da9['update'](_0x5b8e35)[_0x42e189(0x47c)](_0xacabf3),_0x235da9[_0x42e189(0x44a)]();for(var _0x321d7a=0x1;_0x321d7a<_0x176d13;_0x321d7a++)_0x4d45ac=_0x235da9['finalize'](_0x4d45ac),_0x235da9[_0x42e189(0x44a)]();_0x99fa18['concat'](_0x4d45ac);}return _0x99fa18[_0x42e189(0x530)]=_0xbd4b56*0x4,_0x99fa18;}});_0x175b93[_0x1d4929(0x4ca)]=function(_0x3711d3,_0x330d07,_0x4f36a2){var _0x2d7210=_0x1d4929;return _0x48ed1b[_0x2d7210(0x2d3)](_0x4f36a2)[_0x2d7210(0x53b)](_0x3711d3,_0x330d07);};}()),_0x2c63d2[_0x5b427c(0x4ca)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Zi=Te[_0x4088ec(0x33e)],rt;function Nt(){var _0x412165=_0x4088ec;return rt||(rt=0x1,function(_0x14a1cd,_0x1f932b){(function(_0x40ec5c,_0x415352,_0x1471a0){var _0xf93028=_0x5540;_0x14a1cd[_0xf93028(0x33e)]=_0x415352(ee(),Ut());}(Zi,function(_0x1e5b18){var _0x573b4f=_0x5540;_0x1e5b18[_0x573b4f(0x327)]['Cipher']||function(_0xb63fdf){var _0x289b4b=_0x573b4f,_0x511139=_0x1e5b18,_0x1d17b5=_0x511139[_0x289b4b(0x327)],_0xa76b02=_0x1d17b5[_0x289b4b(0x29e)],_0x4766d2=_0x1d17b5['WordArray'],_0x2abe03=_0x1d17b5[_0x289b4b(0x535)],_0x5a0e8b=_0x511139['enc'];_0x5a0e8b[_0x289b4b(0x30b)];var _0x5e85e7=_0x5a0e8b[_0x289b4b(0x24c)],_0x4146b1=_0x511139[_0x289b4b(0x2d0)],_0x56d55e=_0x4146b1[_0x289b4b(0x4ca)],_0x41d153=_0x1d17b5[_0x289b4b(0x3af)]=_0x2abe03[_0x289b4b(0x3a0)]({'cfg':_0xa76b02[_0x289b4b(0x3a0)](),'createEncryptor':function(_0x6bbe89,_0x3f9462){var _0x21ecff=_0x289b4b;return this[_0x21ecff(0x2d3)](this['_ENC_XFORM_MODE'],_0x6bbe89,_0x3f9462);},'createDecryptor':function(_0x57cf21,_0x55d357){var _0x3dfb12=_0x289b4b;return this[_0x3dfb12(0x2d3)](this[_0x3dfb12(0x4ef)],_0x57cf21,_0x55d357);},'init':function(_0x21d032,_0x541347,_0x5b9997){var _0x2a6c30=_0x289b4b;this['cfg']=this[_0x2a6c30(0x234)][_0x2a6c30(0x3a0)](_0x5b9997),this[_0x2a6c30(0x4fe)]=_0x21d032,this[_0x2a6c30(0x346)]=_0x541347,this['reset']();},'reset':function(){var _0x32777e=_0x289b4b;_0x2abe03[_0x32777e(0x44a)]['call'](this),this[_0x32777e(0x43d)]();},'process':function(_0x3901da){var _0x28da43=_0x289b4b;return this[_0x28da43(0x46c)](_0x3901da),this[_0x28da43(0x442)]();},'finalize':function(_0x19f157){var _0xab504a=_0x289b4b;_0x19f157&&this['_append'](_0x19f157);var _0x1795a0=this[_0xab504a(0x4fc)]();return _0x1795a0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x42df44(_0x55a024){var _0x5cb451=_0x5540;return typeof _0x55a024==_0x5cb451(0x3e8)?_0x381885:_0x47b9e5;}return function(_0x4c2acc){return{'encrypt':function(_0x23c4e9,_0x2208ae,_0x23ba0b){var _0x1570c2=_0x5540;return _0x42df44(_0x2208ae)[_0x1570c2(0x473)](_0x4c2acc,_0x23c4e9,_0x2208ae,_0x23ba0b);},'decrypt':function(_0xd959f0,_0x1c9c1f,_0x3fc245){var _0x433c6d=_0x5540;return _0x42df44(_0x1c9c1f)[_0x433c6d(0x39e)](_0x4c2acc,_0xd959f0,_0x1c9c1f,_0x3fc245);}};};}())});_0x1d17b5[_0x289b4b(0x251)]=_0x41d153[_0x289b4b(0x3a0)]({'_doFinalize':function(){var _0xbbc8d3=_0x289b4b,_0x5c9eb5=this[_0xbbc8d3(0x442)](!0x0);return _0x5c9eb5;},'blockSize':0x1});var _0x14e76f=_0x511139[_0x289b4b(0x52c)]={},_0x4758bd=_0x1d17b5['BlockCipherMode']=_0xa76b02['extend']({'createEncryptor':function(_0x3c6673,_0x59c523){var _0x383741=_0x289b4b;return this['Encryptor'][_0x383741(0x2d3)](_0x3c6673,_0x59c523);},'createDecryptor':function(_0x3a5bc6,_0x1734fa){return this['Decryptor']['create'](_0x3a5bc6,_0x1734fa);},'init':function(_0xa5c96c,_0xaa3ef2){var _0x52e3a4=_0x289b4b;this['_cipher']=_0xa5c96c,this[_0x52e3a4(0x374)]=_0xaa3ef2;}}),_0x418962=_0x14e76f[_0x289b4b(0x500)]=(function(){var _0x12f38e=_0x289b4b,_0x41d47=_0x4758bd[_0x12f38e(0x3a0)]();_0x41d47['Encryptor']=_0x41d47[_0x12f38e(0x3a0)]({'processBlock':function(_0x13560b,_0x31ab5c){var _0x2d0601=_0x12f38e,_0x3fae3a=this[_0x2d0601(0x312)],_0x375296=_0x3fae3a[_0x2d0601(0x347)];_0x3a6630[_0x2d0601(0x4a0)](this,_0x13560b,_0x31ab5c,_0x375296),_0x3fae3a[_0x2d0601(0x4f5)](_0x13560b,_0x31ab5c),this[_0x2d0601(0x536)]=_0x13560b[_0x2d0601(0x4ba)](_0x31ab5c,_0x31ab5c+_0x375296);}}),_0x41d47[_0x12f38e(0x51c)]=_0x41d47['extend']({'processBlock':function(_0x495f31,_0x30f53c){var _0x3db70c=_0x12f38e,_0x5701e2=this['_cipher'],_0x102c17=_0x5701e2[_0x3db70c(0x347)],_0x2df97b=_0x495f31[_0x3db70c(0x4ba)](_0x30f53c,_0x30f53c+_0x102c17);_0x5701e2['decryptBlock'](_0x495f31,_0x30f53c),_0x3a6630[_0x3db70c(0x4a0)](this,_0x495f31,_0x30f53c,_0x102c17),this[_0x3db70c(0x536)]=_0x2df97b;}});function _0x3a6630(_0x2e4aa4,_0x37aedb,_0x5d3a1f){var _0xea4980=_0x12f38e,_0x576c74,_0x932bdd=this[_0xea4980(0x374)];_0x932bdd?(_0x576c74=_0x932bdd,this['_iv']=_0xb63fdf):_0x576c74=this[_0xea4980(0x536)];for(var _0x31da65=0x0;_0x31da65<_0x5d3a1f;_0x31da65++)_0x2e4aa4[_0x37aedb+_0x31da65]^=_0x576c74[_0x31da65];}return _0x41d47;}()),_0x880b5c=_0x511139[_0x289b4b(0x4b3)]={},_0x112927=_0x880b5c[_0x289b4b(0x366)]={'pad':function(_0x5703ed,_0x442cb9){var _0x55dc5c=_0x289b4b;for(var _0xada08d=_0x442cb9*0x4,_0x2a3afc=_0xada08d-_0x5703ed[_0x55dc5c(0x530)]%_0xada08d,_0x420818=_0x2a3afc<<0x18|_0x2a3afc<<0x10|_0x2a3afc<<0x8|_0x2a3afc,_0x8de54d=[],_0x1f5deb=0x0;_0x1f5deb<_0x2a3afc;_0x1f5deb+=0x4)_0x8de54d['push'](_0x420818);var _0x5d5b62=_0x4766d2[_0x55dc5c(0x2d3)](_0x8de54d,_0x2a3afc);_0x5703ed['concat'](_0x5d5b62);},'unpad':function(_0xcd180c){var _0x1bca2b=_0x289b4b,_0x102f10=_0xcd180c[_0x1bca2b(0x1c7)][_0xcd180c[_0x1bca2b(0x530)]-0x1>>>0x2]&0xff;_0xcd180c[_0x1bca2b(0x530)]-=_0x102f10;}};_0x1d17b5[_0x289b4b(0x2c6)]=_0x41d153[_0x289b4b(0x3a0)]({'cfg':_0x41d153[_0x289b4b(0x234)][_0x289b4b(0x3a0)]({'mode':_0x418962,'padding':_0x112927}),'reset':function(){var _0x210c94=_0x289b4b,_0x360783;_0x41d153[_0x210c94(0x44a)][_0x210c94(0x4a0)](this);var _0x454e87=this[_0x210c94(0x234)],_0x299526=_0x454e87['iv'],_0x3cb4bf=_0x454e87[_0x210c94(0x52c)];this['_xformMode']==this[_0x210c94(0x4c5)]?_0x360783=_0x3cb4bf['createEncryptor']:(_0x360783=_0x3cb4bf[_0x210c94(0x3e0)],this[_0x210c94(0x45c)]=0x1),this[_0x210c94(0x22c)]&&this[_0x210c94(0x22c)]['__creator']==_0x360783?this[_0x210c94(0x22c)][_0x210c94(0x46d)](this,_0x299526&&_0x299526[_0x210c94(0x1c7)]):(this[_0x210c94(0x22c)]=_0x360783[_0x210c94(0x4a0)](_0x3cb4bf,this,_0x299526&&_0x299526['words']),this[_0x210c94(0x22c)]['__creator']=_0x360783);},'_doProcessBlock':function(_0x28e94e,_0x433e48){var _0x5d27b7=_0x289b4b;this[_0x5d27b7(0x22c)][_0x5d27b7(0x22d)](_0x28e94e,_0x433e48);},'_doFinalize':function(){var _0x230b70=_0x289b4b,_0x2e3f9b,_0x5d9443=this['cfg'][_0x230b70(0x50a)];return this[_0x230b70(0x4fe)]==this[_0x230b70(0x4c5)]?(_0x5d9443[_0x230b70(0x4b3)](this[_0x230b70(0x509)],this[_0x230b70(0x347)]),_0x2e3f9b=this['_process'](!0x0)):(_0x2e3f9b=this[_0x230b70(0x442)](!0x0),_0x5d9443[_0x230b70(0x348)](_0x2e3f9b)),_0x2e3f9b;},'blockSize':0x80/0x20});var _0x4cc286=_0x1d17b5['CipherParams']=_0xa76b02[_0x289b4b(0x3a0)]({'init':function(_0x15060f){this['mixIn'](_0x15060f);},'toString':function(_0x11b790){var _0x10f07f=_0x289b4b;return(_0x11b790||this[_0x10f07f(0x488)])[_0x10f07f(0x2ff)](this);}}),_0x39506b=_0x511139['format']={},_0x103f2f=_0x39506b[_0x289b4b(0x1fd)]={'stringify':function(_0x2a0182){var _0x1023a8=_0x289b4b,_0x2d5ed6,_0x2c26d1=_0x2a0182[_0x1023a8(0x32f)],_0x4ff4dd=_0x2a0182['salt'];return _0x4ff4dd?_0x2d5ed6=_0x4766d2[_0x1023a8(0x2d3)]([0x53616c74,0x65645f5f])[_0x1023a8(0x503)](_0x4ff4dd)[_0x1023a8(0x503)](_0x2c26d1):_0x2d5ed6=_0x2c26d1,_0x2d5ed6[_0x1023a8(0x49b)](_0x5e85e7);},'parse':function(_0x7bb9fd){var _0x5d3d2e=_0x289b4b,_0xa6efa7,_0x2980f4=_0x5e85e7[_0x5d3d2e(0x225)](_0x7bb9fd),_0x3ee371=_0x2980f4['words'];return _0x3ee371[0x0]==0x53616c74&&_0x3ee371[0x1]==0x65645f5f&&(_0xa6efa7=_0x4766d2[_0x5d3d2e(0x2d3)](_0x3ee371[_0x5d3d2e(0x4ba)](0x2,0x4)),_0x3ee371['splice'](0x0,0x4),_0x2980f4[_0x5d3d2e(0x530)]-=0x10),_0x4cc286[_0x5d3d2e(0x2d3)]({'ciphertext':_0x2980f4,'salt':_0xa6efa7});}},_0x47b9e5=_0x1d17b5[_0x289b4b(0x523)]=_0xa76b02[_0x289b4b(0x3a0)]({'cfg':_0xa76b02[_0x289b4b(0x3a0)]({'format':_0x103f2f}),'encrypt':function(_0x17d3c6,_0x35826f,_0x27a860,_0x413784){var _0x2c3c93=_0x289b4b;_0x413784=this[_0x2c3c93(0x234)][_0x2c3c93(0x3a0)](_0x413784);var _0x38341b=_0x17d3c6['createEncryptor'](_0x27a860,_0x413784),_0x3d2826=_0x38341b[_0x2c3c93(0x47c)](_0x35826f),_0x4af8d2=_0x38341b['cfg'];return _0x4cc286[_0x2c3c93(0x2d3)]({'ciphertext':_0x3d2826,'key':_0x27a860,'iv':_0x4af8d2['iv'],'algorithm':_0x17d3c6,'mode':_0x4af8d2[_0x2c3c93(0x52c)],'padding':_0x4af8d2['padding'],'blockSize':_0x17d3c6[_0x2c3c93(0x347)],'formatter':_0x413784[_0x2c3c93(0x339)]});},'decrypt':function(_0x42c2b5,_0x537e5d,_0x4e402f,_0x3400f3){var _0x509bb2=_0x289b4b;_0x3400f3=this[_0x509bb2(0x234)][_0x509bb2(0x3a0)](_0x3400f3),_0x537e5d=this[_0x509bb2(0x254)](_0x537e5d,_0x3400f3['format']);var _0x370c3b=_0x42c2b5[_0x509bb2(0x3e0)](_0x4e402f,_0x3400f3)[_0x509bb2(0x47c)](_0x537e5d[_0x509bb2(0x32f)]);return _0x370c3b;},'_parse':function(_0x5c397f,_0x1eadb3){var _0x219e05=_0x289b4b;return typeof _0x5c397f==_0x219e05(0x3e8)?_0x1eadb3[_0x219e05(0x225)](_0x5c397f,this):_0x5c397f;}}),_0x4afcbc=_0x511139[_0x289b4b(0x380)]={},_0x3d2307=_0x4afcbc[_0x289b4b(0x1fd)]={'execute':function(_0x1f103d,_0x568937,_0x35bc2e,_0x24186d,_0xb1ecb7){var _0x57c288=_0x289b4b;if(_0x24186d||(_0x24186d=_0x4766d2[_0x57c288(0x3dc)](0x40/0x8)),_0xb1ecb7)var _0x51e870=_0x56d55e[_0x57c288(0x2d3)]({'keySize':_0x568937+_0x35bc2e,'hasher':_0xb1ecb7})[_0x57c288(0x53b)](_0x1f103d,_0x24186d);else var _0x51e870=_0x56d55e['create']({'keySize':_0x568937+_0x35bc2e})[_0x57c288(0x53b)](_0x1f103d,_0x24186d);var _0x268c56=_0x4766d2[_0x57c288(0x2d3)](_0x51e870['words'][_0x57c288(0x4ba)](_0x568937),_0x35bc2e*0x4);return _0x51e870[_0x57c288(0x530)]=_0x568937*0x4,_0x4cc286[_0x57c288(0x2d3)]({'key':_0x51e870,'iv':_0x268c56,'salt':_0x24186d});}},_0x381885=_0x1d17b5[_0x289b4b(0x3f9)]=_0x47b9e5[_0x289b4b(0x3a0)]({'cfg':_0x47b9e5['cfg'][_0x289b4b(0x3a0)]({'kdf':_0x3d2307}),'encrypt':function(_0x16a31c,_0x523eb5,_0x415d64,_0x5a0f17){var _0x3d1b2f=_0x289b4b;_0x5a0f17=this[_0x3d1b2f(0x234)]['extend'](_0x5a0f17);var _0x253be7=_0x5a0f17[_0x3d1b2f(0x380)][_0x3d1b2f(0x45e)](_0x415d64,_0x16a31c[_0x3d1b2f(0x390)],_0x16a31c[_0x3d1b2f(0x378)],_0x5a0f17['salt'],_0x5a0f17[_0x3d1b2f(0x3f4)]);_0x5a0f17['iv']=_0x253be7['iv'];var _0x501c11=_0x47b9e5[_0x3d1b2f(0x473)][_0x3d1b2f(0x4a0)](this,_0x16a31c,_0x523eb5,_0x253be7[_0x3d1b2f(0x3a3)],_0x5a0f17);return _0x501c11[_0x3d1b2f(0x32d)](_0x253be7),_0x501c11;},'decrypt':function(_0x61bb7,_0x4b30ae,_0x4615fa,_0x4521da){var _0x4e3965=_0x289b4b;_0x4521da=this[_0x4e3965(0x234)]['extend'](_0x4521da),_0x4b30ae=this[_0x4e3965(0x254)](_0x4b30ae,_0x4521da['format']);var _0x4ed3ff=_0x4521da['kdf'][_0x4e3965(0x45e)](_0x4615fa,_0x61bb7[_0x4e3965(0x390)],_0x61bb7[_0x4e3965(0x378)],_0x4b30ae[_0x4e3965(0x3e6)],_0x4521da[_0x4e3965(0x3f4)]);_0x4521da['iv']=_0x4ed3ff['iv'];var _0x223c27=_0x47b9e5[_0x4e3965(0x39e)][_0x4e3965(0x4a0)](this,_0x61bb7,_0x4b30ae,_0x4ed3ff['key'],_0x4521da);return _0x223c27;}});}();}));}(Te)),Te[_0x412165(0x33e)];}var Qi=Se[_0x4088ec(0x33e)],st;function en(){var _0x2067aa=_0x4088ec;return st||(st=0x1,function(_0x3db0e5,_0x180d44){(function(_0x15540a,_0x14f15b,_0x3b5ae3){var _0x4d9aeb=_0x5540;_0x3db0e5[_0x4d9aeb(0x33e)]=_0x14f15b(ee(),Dt(),Ki(),Ut(),Nt());}(Qi,function(_0x57a297){return(function(){var _0x1286bf=_0x5540,_0x32a0e7=_0x57a297,_0x1c8317=_0x32a0e7[_0x1286bf(0x327)],_0x1d7187=_0x1c8317['BlockCipher'],_0x21b15c=_0x32a0e7[_0x1286bf(0x2d0)],_0xfddc3=[],_0x94633c=[],_0x2659dc=[],_0x324461=[],_0x47b767=[],_0x5caf29=[],_0x4b6e4a=[],_0x5bb120=[],_0x9b3fa0=[],_0x4dbab7=[];(function(){for(var _0x15f04a=[],_0x3bcd43=0x0;_0x3bcd43<0x100;_0x3bcd43++)_0x3bcd43<0x80?_0x15f04a[_0x3bcd43]=_0x3bcd43<<0x1:_0x15f04a[_0x3bcd43]=_0x3bcd43<<0x1^0x11b;for(var _0xc816e6=0x0,_0x150dab=0x0,_0x3bcd43=0x0;_0x3bcd43<0x100;_0x3bcd43++){var _0x4980bd=_0x150dab^_0x150dab<<0x1^_0x150dab<<0x2^_0x150dab<<0x3^_0x150dab<<0x4;_0x4980bd=_0x4980bd>>>0x8^_0x4980bd&0xff^0x63,_0xfddc3[_0xc816e6]=_0x4980bd,_0x94633c[_0x4980bd]=_0xc816e6;var _0x4ac884=_0x15f04a[_0xc816e6],_0x58e02d=_0x15f04a[_0x4ac884],_0x2465c2=_0x15f04a[_0x58e02d],_0x313041=_0x15f04a[_0x4980bd]*0x101^_0x4980bd*0x1010100;_0x2659dc[_0xc816e6]=_0x313041<<0x18|_0x313041>>>0x8,_0x324461[_0xc816e6]=_0x313041<<0x10|_0x313041>>>0x10,_0x47b767[_0xc816e6]=_0x313041<<0x8|_0x313041>>>0x18,_0x5caf29[_0xc816e6]=_0x313041;var _0x313041=_0x2465c2*0x1010101^_0x58e02d*0x10001^_0x4ac884*0x101^_0xc816e6*0x1010100;_0x4b6e4a[_0x4980bd]=_0x313041<<0x18|_0x313041>>>0x8,_0x5bb120[_0x4980bd]=_0x313041<<0x10|_0x313041>>>0x10,_0x9b3fa0[_0x4980bd]=_0x313041<<0x8|_0x313041>>>0x18,_0x4dbab7[_0x4980bd]=_0x313041,_0xc816e6?(_0xc816e6=_0x4ac884^_0x15f04a[_0x15f04a[_0x15f04a[_0x2465c2^_0x4ac884]]],_0x150dab^=_0x15f04a[_0x15f04a[_0x150dab]]):_0xc816e6=_0x150dab=0x1;}}());var _0x5dc0b7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x20a8ba=_0x21b15c['AES']=_0x1d7187[_0x1286bf(0x3a0)]({'_doReset':function(){var _0x21586d=_0x1286bf,_0x1ace4b;if(!(this[_0x21586d(0x30f)]&&this[_0x21586d(0x31c)]===this['_key'])){for(var _0x246842=this[_0x21586d(0x31c)]=this[_0x21586d(0x346)],_0x2ffffd=_0x246842[_0x21586d(0x1c7)],_0x257064=_0x246842['sigBytes']/0x4,_0x49e292=this[_0x21586d(0x30f)]=_0x257064+0x6,_0x4ab86d=(_0x49e292+0x1)*0x4,_0x3ac997=this[_0x21586d(0x469)]=[],_0x54a0a5=0x0;_0x54a0a5<_0x4ab86d;_0x54a0a5++)_0x54a0a5<_0x257064?_0x3ac997[_0x54a0a5]=_0x2ffffd[_0x54a0a5]:(_0x1ace4b=_0x3ac997[_0x54a0a5-0x1],_0x54a0a5%_0x257064?_0x257064>0x6&&_0x54a0a5%_0x257064==0x4&&(_0x1ace4b=_0xfddc3[_0x1ace4b>>>0x18]<<0x18|_0xfddc3[_0x1ace4b>>>0x10&0xff]<<0x10|_0xfddc3[_0x1ace4b>>>0x8&0xff]<<0x8|_0xfddc3[_0x1ace4b&0xff]):(_0x1ace4b=_0x1ace4b<<0x8|_0x1ace4b>>>0x18,_0x1ace4b=_0xfddc3[_0x1ace4b>>>0x18]<<0x18|_0xfddc3[_0x1ace4b>>>0x10&0xff]<<0x10|_0xfddc3[_0x1ace4b>>>0x8&0xff]<<0x8|_0xfddc3[_0x1ace4b&0xff],_0x1ace4b^=_0x5dc0b7[_0x54a0a5/_0x257064|0x0]<<0x18),_0x3ac997[_0x54a0a5]=_0x3ac997[_0x54a0a5-_0x257064]^_0x1ace4b);for(var _0x23ae11=this[_0x21586d(0x25e)]=[],_0x4b4822=0x0;_0x4b4822<_0x4ab86d;_0x4b4822++){var _0x54a0a5=_0x4ab86d-_0x4b4822;if(_0x4b4822%0x4)var _0x1ace4b=_0x3ac997[_0x54a0a5];else var _0x1ace4b=_0x3ac997[_0x54a0a5-0x4];_0x4b4822<0x4||_0x54a0a5<=0x4?_0x23ae11[_0x4b4822]=_0x1ace4b:_0x23ae11[_0x4b4822]=_0x4b6e4a[_0xfddc3[_0x1ace4b>>>0x18]]^_0x5bb120[_0xfddc3[_0x1ace4b>>>0x10&0xff]]^_0x9b3fa0[_0xfddc3[_0x1ace4b>>>0x8&0xff]]^_0x4dbab7[_0xfddc3[_0x1ace4b&0xff]];}}},'encryptBlock':function(_0x3c6295,_0x78f1f0){var _0x343de4=_0x1286bf;this[_0x343de4(0x449)](_0x3c6295,_0x78f1f0,this[_0x343de4(0x469)],_0x2659dc,_0x324461,_0x47b767,_0x5caf29,_0xfddc3);},'decryptBlock':function(_0x4a5d22,_0xed80e8){var _0x39d58d=_0x1286bf,_0x46cf68=_0x4a5d22[_0xed80e8+0x1];_0x4a5d22[_0xed80e8+0x1]=_0x4a5d22[_0xed80e8+0x3],_0x4a5d22[_0xed80e8+0x3]=_0x46cf68,this['_doCryptBlock'](_0x4a5d22,_0xed80e8,this[_0x39d58d(0x25e)],_0x4b6e4a,_0x5bb120,_0x9b3fa0,_0x4dbab7,_0x94633c);var _0x46cf68=_0x4a5d22[_0xed80e8+0x1];_0x4a5d22[_0xed80e8+0x1]=_0x4a5d22[_0xed80e8+0x3],_0x4a5d22[_0xed80e8+0x3]=_0x46cf68;},'_doCryptBlock':function(_0x5b5db7,_0x30c084,_0x9a9687,_0x127d88,_0x3dda57,_0x56b3ca,_0x5c557f,_0x1cb63e){var _0x338266=_0x1286bf;for(var _0x245bc6=this[_0x338266(0x30f)],_0x59107c=_0x5b5db7[_0x30c084]^_0x9a9687[0x0],_0x3ce5d8=_0x5b5db7[_0x30c084+0x1]^_0x9a9687[0x1],_0x4eec9f=_0x5b5db7[_0x30c084+0x2]^_0x9a9687[0x2],_0x46fe74=_0x5b5db7[_0x30c084+0x3]^_0x9a9687[0x3],_0x5e2e49=0x4,_0x57b3a0=0x1;_0x57b3a0<_0x245bc6;_0x57b3a0++){var _0x519bc6=_0x127d88[_0x59107c>>>0x18]^_0x3dda57[_0x3ce5d8>>>0x10&0xff]^_0x56b3ca[_0x4eec9f>>>0x8&0xff]^_0x5c557f[_0x46fe74&0xff]^_0x9a9687[_0x5e2e49++],_0x479f68=_0x127d88[_0x3ce5d8>>>0x18]^_0x3dda57[_0x4eec9f>>>0x10&0xff]^_0x56b3ca[_0x46fe74>>>0x8&0xff]^_0x5c557f[_0x59107c&0xff]^_0x9a9687[_0x5e2e49++],_0xf65b34=_0x127d88[_0x4eec9f>>>0x18]^_0x3dda57[_0x46fe74>>>0x10&0xff]^_0x56b3ca[_0x59107c>>>0x8&0xff]^_0x5c557f[_0x3ce5d8&0xff]^_0x9a9687[_0x5e2e49++],_0x1afbd3=_0x127d88[_0x46fe74>>>0x18]^_0x3dda57[_0x59107c>>>0x10&0xff]^_0x56b3ca[_0x3ce5d8>>>0x8&0xff]^_0x5c557f[_0x4eec9f&0xff]^_0x9a9687[_0x5e2e49++];_0x59107c=_0x519bc6,_0x3ce5d8=_0x479f68,_0x4eec9f=_0xf65b34,_0x46fe74=_0x1afbd3;}var _0x519bc6=(_0x1cb63e[_0x59107c>>>0x18]<<0x18|_0x1cb63e[_0x3ce5d8>>>0x10&0xff]<<0x10|_0x1cb63e[_0x4eec9f>>>0x8&0xff]<<0x8|_0x1cb63e[_0x46fe74&0xff])^_0x9a9687[_0x5e2e49++],_0x479f68=(_0x1cb63e[_0x3ce5d8>>>0x18]<<0x18|_0x1cb63e[_0x4eec9f>>>0x10&0xff]<<0x10|_0x1cb63e[_0x46fe74>>>0x8&0xff]<<0x8|_0x1cb63e[_0x59107c&0xff])^_0x9a9687[_0x5e2e49++],_0xf65b34=(_0x1cb63e[_0x4eec9f>>>0x18]<<0x18|_0x1cb63e[_0x46fe74>>>0x10&0xff]<<0x10|_0x1cb63e[_0x59107c>>>0x8&0xff]<<0x8|_0x1cb63e[_0x3ce5d8&0xff])^_0x9a9687[_0x5e2e49++],_0x1afbd3=(_0x1cb63e[_0x46fe74>>>0x18]<<0x18|_0x1cb63e[_0x59107c>>>0x10&0xff]<<0x10|_0x1cb63e[_0x3ce5d8>>>0x8&0xff]<<0x8|_0x1cb63e[_0x4eec9f&0xff])^_0x9a9687[_0x5e2e49++];_0x5b5db7[_0x30c084]=_0x519bc6,_0x5b5db7[_0x30c084+0x1]=_0x479f68,_0x5b5db7[_0x30c084+0x2]=_0xf65b34,_0x5b5db7[_0x30c084+0x3]=_0x1afbd3;},'keySize':0x100/0x20});_0x32a0e7['AES']=_0x1d7187[_0x1286bf(0x293)](_0x20a8ba);}()),_0x57a297['AES'];}));}(Se)),Se[_0x2067aa(0x33e)];}var tn=en();const nn=fe(tn);var rn=Dt();const ot=fe(rn);var be={'exports':{}},sn=be[_0x4088ec(0x33e)],at;function on(){var _0x4177fb=_0x4088ec;return at||(at=0x1,function(_0x33daca,_0x2339ab){(function(_0x2a4d4a,_0x444e1d){_0x33daca['exports']=_0x444e1d(ee());}(sn,function(_0x5811d9){var _0x74c649=_0x5540;return _0x5811d9[_0x74c649(0x215)][_0x74c649(0x30b)];}));}(be)),be[_0x4177fb(0x33e)];}var an=on();const cn=fe(an);var Re={'exports':{}},hn=Re['exports'],ct;function ln(){var _0x71611=_0x4088ec;return ct||(ct=0x1,function(_0x24f5db,_0x3f5917){(function(_0x3c37ac,_0x19dda2){var _0x1f50e9=_0x5540;_0x24f5db[_0x1f50e9(0x33e)]=_0x19dda2(ee());}(hn,function(_0x2685b6){var _0x21f9e8=_0x5540;return(function(){var _0xb93489=_0x5540;if(typeof ArrayBuffer==_0xb93489(0x4bf)){var _0x47fce0=_0x2685b6,_0x11e5ab=_0x47fce0[_0xb93489(0x327)],_0x1bb41e=_0x11e5ab[_0xb93489(0x319)],_0x1ab3ee=_0x1bb41e[_0xb93489(0x46d)],_0x1b5274=_0x1bb41e[_0xb93489(0x46d)]=function(_0x22107f){var _0x2374d7=_0xb93489;if(_0x22107f instanceof ArrayBuffer&&(_0x22107f=new Uint8Array(_0x22107f)),(_0x22107f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x22107f instanceof Uint8ClampedArray||_0x22107f instanceof Int16Array||_0x22107f instanceof Uint16Array||_0x22107f instanceof Int32Array||_0x22107f instanceof Uint32Array||_0x22107f instanceof Float32Array||_0x22107f instanceof Float64Array)&&(_0x22107f=new Uint8Array(_0x22107f[_0x2374d7(0x47d)],_0x22107f[_0x2374d7(0x50e)],_0x22107f[_0x2374d7(0x21e)])),_0x22107f instanceof Uint8Array){for(var _0xa8cf73=_0x22107f[_0x2374d7(0x21e)],_0x56de24=[],_0xb61b9d=0x0;_0xb61b9d<_0xa8cf73;_0xb61b9d++)_0x56de24[_0xb61b9d>>>0x2]|=_0x22107f[_0xb61b9d]<<0x18-_0xb61b9d%0x4*0x8;_0x1ab3ee[_0x2374d7(0x4a0)](this,_0x56de24,_0xa8cf73);}else _0x1ab3ee[_0x2374d7(0x410)](this,arguments);};_0x1b5274[_0xb93489(0x2e3)]=_0x1bb41e;}}()),_0x2685b6[_0x21f9e8(0x327)]['WordArray'];}));}(Re)),Re[_0x71611(0x33e)];}var _n=ln();const un=fe(_n);var ye={'exports':{}},dn=ye[_0x4088ec(0x33e)],ht;function vn(){return ht||(ht=0x1,function(_0x1a36ab,_0x4c3b67){(function(_0x24f14b,_0x48d4ec,_0x1ad5ff){var _0x5083c4=_0x5540;_0x1a36ab[_0x5083c4(0x33e)]=_0x48d4ec(ee(),Nt());}(dn,function(_0xb9dea3){var _0x1ee349=_0x5540;return _0xb9dea3[_0x1ee349(0x4b3)][_0x1ee349(0x2e5)]={'pad':function(){},'unpad':function(){}},_0xb9dea3[_0x1ee349(0x4b3)]['NoPadding'];}));}(ye)),ye['exports'];}var fn=vn();const Sn=fe(fn);function pn(_0x5126e7,_0x1693ed){var _0x4d9617=_0x4088ec;const _0x26ccd6=_0x1693ed-_0x5126e7[_0x4d9617(0x42f)]%_0x1693ed,_0x5a089a=String[_0x4d9617(0x35c)](_0x26ccd6)[_0x4d9617(0x46e)](_0x26ccd6);return _0x5126e7+_0x5a089a;}function gn(_0x113d06,_0x5ccf41){var _0x531d73=_0x4088ec;const _0x164d0c=un[_0x531d73(0x3dc)](0x10),_0x2f941d=pn(_0x113d06,0x10),_0x11556d=nn[_0x531d73(0x473)](cn[_0x531d73(0x225)](_0x2f941d),ot['parse'](_0x5ccf41),{'iv':_0x164d0c,'padding':Sn});return _0x164d0c['concat'](_0x11556d[_0x531d73(0x32f)])[_0x531d73(0x49b)](ot);}function mn(){var _0x4a9f32=_0x4088ec;const _0x15fb25=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x15fb25){const _0x156ed9={'time':Math[_0x4a9f32(0x36f)](Date[_0x4a9f32(0x1d4)]()/0x3e8),'domain':location[_0x4a9f32(0x405)]};return gn(JSON[_0x4a9f32(0x2ff)](_0x156ed9),_0x15fb25);}}var In=Object['defineProperty'],En=Object[_0x4088ec(0x4cd)],Cn=(_0x540817,_0x89ccf4,_0x541f92,_0xed14e4)=>{var _0x4e547e=_0x4088ec;for(var _0x43d255=_0xed14e4>0x1?void 0x0:_0xed14e4?En(_0x89ccf4,_0x541f92):_0x89ccf4,_0x9fe3f=_0x540817[_0x4e547e(0x42f)]-0x1,_0xe5cdd1;_0x9fe3f>=0x0;_0x9fe3f--)(_0xe5cdd1=_0x540817[_0x9fe3f])&&(_0x43d255=(_0xed14e4?_0xe5cdd1(_0x89ccf4,_0x541f92,_0x43d255):_0xe5cdd1(_0x43d255))||_0x43d255);return _0xed14e4&&_0x43d255&&In(_0x89ccf4,_0x541f92,_0x43d255),_0x43d255;},Tn=(_0x32ed0f,_0x14f8ab)=>(_0x51de15,_0x4dd28d)=>_0x14f8ab(_0x51de15,_0x4dd28d,_0x32ed0f);let Pe=class{constructor(_0x2f2fb1){var _0x3c10a2=_0x4088ec;this[_0x3c10a2(0x4a6)]=_0x2f2fb1,this[_0x3c10a2(0x3ec)]();}[_0x4088ec(0x3ec)](){var _0x23513b=_0x4088ec;this['_httpService'][_0x23513b(0x2ac)]({'interceptor':(_0x1051f3,_0x781629)=>{var _0x2d7929=_0x23513b;const _0x5381bd=_0x1051f3[_0x2d7929(0x42b)],_0x248f5c=mn();return _0x248f5c&&_0x5381bd[_0x2d7929(0x257)]('x-univer-host',_0x248f5c),_0x781629(_0x1051f3);}});}};Pe=Cn([Tn(0x0,a['Inject'](Y[_0x4088ec(0x3c7)]))],Pe);var bn=Object[_0x4088ec(0x4b1)],Rn=Object['getOwnPropertyDescriptor'],yn=(_0x3eacce,_0x322dca,_0x42cd2b,_0x4a6fb7)=>{var _0x3265a6=_0x4088ec;for(var _0x4a1a65=_0x4a6fb7>0x1?void 0x0:_0x4a6fb7?Rn(_0x322dca,_0x42cd2b):_0x322dca,_0x16328c=_0x3eacce[_0x3265a6(0x42f)]-0x1,_0x2ca621;_0x16328c>=0x0;_0x16328c--)(_0x2ca621=_0x3eacce[_0x16328c])&&(_0x4a1a65=(_0x4a6fb7?_0x2ca621(_0x322dca,_0x42cd2b,_0x4a1a65):_0x2ca621(_0x4a1a65))||_0x4a1a65);return _0x4a6fb7&&_0x4a1a65&&bn(_0x322dca,_0x42cd2b,_0x4a1a65),_0x4a1a65;},Me=(_0x1a546c,_0x41ed2d)=>(_0x5be5a0,_0x1607ce)=>_0x41ed2d(_0x5be5a0,_0x1607ce,_0x1a546c);exports[_0x4088ec(0x294)]=class extends a[_0x4088ec(0x507)]{constructor(_0x41da2d,_0x53569a,_0x5930d1){var _0x1ce674=_0x4088ec;super(),w(this,_0x1ce674(0x409),new B[(_0x1ce674(0x484))](null)),w(this,'unitInfo$',this[_0x1ce674(0x409)][_0x1ce674(0x483)]()),(this['_logService']=_0x41da2d,this[_0x1ce674(0x209)]=_0x53569a,this[_0x1ce674(0x49a)]=_0x5930d1);}async[_0x4088ec(0x240)](_0x5fb443,_0x5aef66,_0x4397d3){var _0x1eecf1=_0x4088ec;this[_0x1eecf1(0x409)][_0x1eecf1(0x22e)]({'unitId':_0x5fb443,'type':_0x5aef66,'subUnitId':_0x4397d3});let _0x89c289=null;switch(_0x5aef66){case Z[_0x1eecf1(0x3c5)]:{_0x89c289=await this[_0x1eecf1(0x25c)](_0x5fb443);break;}case Z[_0x1eecf1(0x3f8)]:{_0x89c289=await this[_0x1eecf1(0x485)](_0x5fb443);break;}default:{this[_0x1eecf1(0x2ee)]['error'](_0x1eecf1(0x3ad),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x89c289;}async[_0x4088ec(0x25c)](_0x22c47e){var _0x4d7125=_0x4088ec,_0x1984cc;let _0x2e8a7a=0x0;const _0xf3f01b=await((_0x1984cc=this[_0x4d7125(0x49a)])==null?void 0x0:_0x1984cc['loadOfflineData'](_0x22c47e));return _0xf3f01b&&(_0xf3f01b['awaitingChangeset']||_0xf3f01b['mutations'][_0x4d7125(0x42f)]!==0x0)&&(_0x2e8a7a=_0xf3f01b[_0x4d7125(0x284)]),_0x2e8a7a===0x0&&this['_logService'][_0x4d7125(0x3cc)](_0x4d7125(0x3ad),_0x4d7125(0x525)),this[_0x4d7125(0x209)][_0x4d7125(0x278)](_0x22c47e,_0x2e8a7a);}async['_loadDoc'](_0x27857c){var _0x36d388=_0x4088ec,_0x4aad63;let _0x477b71=0x0;const _0x3a8aee=await((_0x4aad63=this[_0x36d388(0x49a)])==null?void 0x0:_0x4aad63[_0x36d388(0x2fe)](_0x27857c));return _0x3a8aee&&(_0x3a8aee['awaitingChangeset']||_0x3a8aee[_0x36d388(0x376)]['length']!==0x0)&&(_0x477b71=_0x3a8aee[_0x36d388(0x284)]),_0x477b71===0x0&&this[_0x36d388(0x2ee)][_0x36d388(0x3cc)](_0x36d388(0x3ad),_0x36d388(0x525)),this[_0x36d388(0x209)][_0x36d388(0x2f2)](_0x27857c,_0x477b71);}},exports['DataLoaderService']=yn([Me(0x0,a[_0x4088ec(0x303)]),Me(0x1,a[_0x4088ec(0x4e2)](m[_0x4088ec(0x32e)])),Me(0x2,a[_0x4088ec(0x1e9)](J))],exports[_0x4088ec(0x294)]);var On=Object[_0x4088ec(0x4b1)],Pn=Object[_0x4088ec(0x4cd)],Dn=(_0xf5db08,_0x22979d,_0x582198,_0x53089d)=>{for(var _0x255caf=_0x53089d>0x1?void 0x0:_0x53089d?Pn(_0x22979d,_0x582198):_0x22979d,_0x29c907=_0xf5db08['length']-0x1,_0x33a7f0;_0x29c907>=0x0;_0x29c907--)(_0x33a7f0=_0xf5db08[_0x29c907])&&(_0x255caf=(_0x53089d?_0x33a7f0(_0x22979d,_0x582198,_0x255caf):_0x33a7f0(_0x255caf))||_0x255caf);return _0x53089d&&_0x255caf&&On(_0x22979d,_0x582198,_0x255caf),_0x255caf;},xe=(_0x5bb997,_0x4914c2)=>(_0x5aac67,_0x54f295)=>_0x4914c2(_0x5aac67,_0x54f295,_0x5bb997);const Un=['image/png',_0x4088ec(0x477),_0x4088ec(0x40a),_0x4088ec(0x1d8),_0x4088ec(0x37c)],Nn=0x5*0x400*0x400,wn=_0x4088ec(0x360),An='/universer-api/stream/file/upload',Ln=_0x4088ec(0x31b),Mn=_0x4088ec(0x53f);exports[_0x4088ec(0x510)]=class{constructor(_0x32de59,_0x132d27,_0x1f0e6a){var _0x4a6b49=_0x4088ec;w(this,_0x4a6b49(0x42d),0x0),w(this,_0x4a6b49(0x3eb),new B['Subject']()),w(this,_0x4a6b49(0x47f),this['_change$']),w(this,_0x4a6b49(0x1c3),new Map()),(this[_0x4a6b49(0x4a6)]=_0x32de59,this[_0x4a6b49(0x3f5)]=_0x132d27,this[_0x4a6b49(0x290)]=_0x1f0e6a);}[_0x4088ec(0x399)](_0x1312c2){var _0x52f400=_0x4088ec;this[_0x52f400(0x42d)]=_0x1312c2,this[_0x52f400(0x3eb)][_0x52f400(0x22e)](_0x1312c2);}[_0x4088ec(0x269)](_0x1036a5,_0x12aee8){var _0x3f3cdb=_0x4088ec;if(_0x12aee8===X[_0x3f3cdb(0x232)][_0x3f3cdb(0x1d1)]){const _0x12f4f0=new Image();return _0x12f4f0[_0x3f3cdb(0x3e4)]=_0x1036a5,_0x12f4f0;}return this['_imageSourceCache'][_0x3f3cdb(0x372)](_0x1036a5);}['addImageSourceCache'](_0x2996b0,_0x5b1b34,_0x2b8acc){var _0x5236f5=_0x4088ec;_0x5b1b34===X[_0x5236f5(0x232)][_0x5236f5(0x1d1)]||_0x2b8acc==null||this['_imageSourceCache'][_0x5236f5(0x257)](_0x2996b0,_0x2b8acc);}async[_0x4088ec(0x394)](_0x5bc547){var _0x32675c=_0x4088ec;try{const _0xf54748=this[_0x32675c(0x475)](this[_0x32675c(0x217)](),''+_0x5bc547),_0x442781=(await this[_0x32675c(0x4a6)][_0x32675c(0x372)](_0xf54748))[_0x32675c(0x3ca)];if(_0x442781['error']&&_0x442781[_0x32675c(0x539)]['code']===Ct['OK']){const _0x5e283e=new URL(_0x442781['url'],this['_getDownloadEndpointURL']())[_0x32675c(0x49b)]();return Promise['resolve'](_0x5e283e);}return Promise[_0x32675c(0x1bf)](_0x442781['error']);}catch(_0x203ddb){return Promise['reject'](_0x203ddb);}}async['saveImage'](_0x5f5486){var _0x45e4d8=_0x4088ec;let _0x4d426a='';if(!Un['includes'](_0x5f5486['type']))return this[_0x45e4d8(0x2c2)](),Promise[_0x45e4d8(0x1bf)](new Error(X[_0x45e4d8(0x470)][_0x45e4d8(0x46f)]));if(_0x5f5486['size']>Nn)return this[_0x45e4d8(0x2c2)](),Promise[_0x45e4d8(0x1bf)](new Error(X[_0x45e4d8(0x470)]['ERROR_EXCEED_SIZE']));try{const _0x5b3fe1=new FormData();_0x5b3fe1[_0x45e4d8(0x2e0)]('file',_0x5f5486);const _0x10e5ba=this['_univerInstanceService'][_0x45e4d8(0x3e7)](),_0x44749d=_0x10e5ba==null?void 0x0:_0x10e5ba['getUnitId']();if(!_0x44749d)throw new Error(_0x45e4d8(0x1df));const _0x9856c4=this[_0x45e4d8(0x2e6)]()+_0x45e4d8(0x36c)+_0x5f5486['size'][_0x45e4d8(0x49b)]()+_0x45e4d8(0x345)+Tt[_0x45e4d8(0x1fb)]+_0x45e4d8(0x1f4)+encodeURIComponent(_0x44749d),_0x13c256=await(await fetch(_0x9856c4,{'method':_0x45e4d8(0x4f1),'body':_0x5b3fe1}))[_0x45e4d8(0x403)]();if(typeof _0x13c256[_0x45e4d8(0x528)]!=_0x45e4d8(0x3e8))return this[_0x45e4d8(0x2c2)](),Promise[_0x45e4d8(0x1bf)](new Error(X[_0x45e4d8(0x470)][_0x45e4d8(0x320)]));_0x4d426a=_0x13c256[_0x45e4d8(0x528)];}catch{return this[_0x45e4d8(0x2c2)](),Promise[_0x45e4d8(0x1bf)](new Error(X[_0x45e4d8(0x470)][_0x45e4d8(0x320)]));}return new Promise((_0x7b4e6c,_0x1c0d24)=>{var _0x418127=_0x45e4d8;const _0x59e732=new FileReader();_0x59e732[_0x418127(0x3d4)](_0x5f5486),_0x59e732['onload']=_0x55a441=>{var _0x1c0c4c=_0x418127,_0x36c212;const _0x354fc9=(_0x36c212=_0x55a441[_0x1c0c4c(0x3d2)])==null?void 0x0:_0x36c212['result'];if(_0x354fc9==null){this[_0x1c0c4c(0x2c2)](),_0x1c0d24(new Error(X['ImageUploadStatusType'][_0x1c0c4c(0x320)]));return;}const _0x5b1a44=a['Tools']['generateRandomId'](0x6);_0x7b4e6c({'imageId':_0x5b1a44,'imageSourceType':X['ImageSourceType'][_0x1c0c4c(0x1d3)],'source':_0x4d426a,'base64Cache':_0x354fc9,'status':X[_0x1c0c4c(0x470)][_0x1c0c4c(0x2de)]}),this[_0x1c0c4c(0x2c2)]();};});}['_getUploadFileURL'](){var _0x43c7ce=_0x4088ec,_0x3a3104,_0x369cab;const _0x4c888f=this[_0x43c7ce(0x3f5)]['getConfig'](wn),_0x134d75=this[_0x43c7ce(0x3f5)][_0x43c7ce(0x51d)](z);return(_0x369cab=(_0x3a3104=_0x134d75==null?void 0x0:_0x134d75['uploadFileServerUrl'])!=null?_0x3a3104:_0x4c888f)!=null?_0x369cab:An;}[_0x4088ec(0x217)](){var _0x4f0037=_0x4088ec,_0x11a47d,_0x41959f;const _0x4ca2ef=this['_configService'][_0x4f0037(0x51d)](Ln),_0x1ad925=this[_0x4f0037(0x3f5)][_0x4f0037(0x51d)](z);return(_0x41959f=(_0x11a47d=_0x1ad925==null?void 0x0:_0x1ad925[_0x4f0037(0x318)])!=null?_0x11a47d:_0x4ca2ef)!=null?_0x41959f:Mn;}[_0x4088ec(0x22b)](){var _0x2e1f3e=_0x4088ec,_0x3c0f3d;const _0x523044=this[_0x2e1f3e(0x3f5)][_0x2e1f3e(0x51d)](z);return(_0x3c0f3d=_0x523044==null?void 0x0:_0x523044[_0x2e1f3e(0x396)])!=null?_0x3c0f3d:location['origin'];}[_0x4088ec(0x475)](_0x559c05,_0x4b60fa){var _0x3f62fb=_0x4088ec;return _0x559c05[_0x3f62fb(0x299)](_0x3f62fb(0x529),_0x4b60fa);}[_0x4088ec(0x2c2)](){var _0x542990=_0x4088ec;this[_0x542990(0x42d)]-=0x1,this[_0x542990(0x3eb)]['next'](this['_waitCount']);}},exports[_0x4088ec(0x510)]=Dn([xe(0x0,a['Inject'](Y[_0x4088ec(0x3c7)])),xe(0x1,a[_0x4088ec(0x1d0)]),xe(0x2,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x1de)]))],exports['CollaborationImageIoService']);var xn=Object['defineProperty'],jn=Object[_0x4088ec(0x4cd)],$n=(_0xa0d8e7,_0x11ccff,_0x228072,_0x532f9b)=>{var _0x1626dd=_0x4088ec;for(var _0x5ee38b=_0x532f9b>0x1?void 0x0:_0x532f9b?jn(_0x11ccff,_0x228072):_0x11ccff,_0x1752cb=_0xa0d8e7[_0x1626dd(0x42f)]-0x1,_0x463601;_0x1752cb>=0x0;_0x1752cb--)(_0x463601=_0xa0d8e7[_0x1752cb])&&(_0x5ee38b=(_0x532f9b?_0x463601(_0x11ccff,_0x228072,_0x5ee38b):_0x463601(_0x5ee38b))||_0x5ee38b);return _0x532f9b&&_0x5ee38b&&xn(_0x11ccff,_0x228072,_0x5ee38b),_0x5ee38b;},lt=(_0x518abc,_0x25f6fb)=>(_0x289569,_0x15e4ae)=>_0x25f6fb(_0x289569,_0x15e4ae,_0x518abc);const Hn=_0x4088ec(0x3cd);exports[_0x4088ec(0x1cc)]=class{constructor(_0x5ec92d,_0x2c2388){var _0x5ec3c9=_0x4088ec;this[_0x5ec3c9(0x3f5)]=_0x5ec92d,this[_0x5ec3c9(0x38d)]=_0x2c2388;}[_0x4088ec(0x220)](){var _0x5e571c=_0x4088ec,_0x1de334,_0x554beb;const _0x4c1f72=this[_0x5e571c(0x3f5)]['getConfig'](Ge),_0x47c8fd=this[_0x5e571c(0x3f5)]['getConfig'](z);return(_0x554beb=(_0x1de334=_0x47c8fd==null?void 0x0:_0x47c8fd[_0x5e571c(0x273)])!=null?_0x1de334:_0x4c1f72)!=null?_0x554beb:Hn;}async[_0x4088ec(0x2b4)](_0x1d9d90){var _0x1c01e3=_0x4088ec;const _0x527d8c=this[_0x1c01e3(0x220)]()+_0x1c01e3(0x21d);return{'list':[{'title':_0x1c01e3(0x3fb),'mentions':(await this[_0x1c01e3(0x38d)][_0x1c01e3(0x372)](_0x527d8c,{'params':{'objectID':_0x1d9d90[_0x1c01e3(0x53e)],'unitID':_0x1d9d90[_0x1c01e3(0x53e)]}}))[_0x1c01e3(0x3ca)][_0x1c01e3(0x4e5)][_0x1c01e3(0x325)](_0x3c75e1=>({'objectId':_0x3c75e1['id'],'name':_0x3c75e1[_0x1c01e3(0x24d)][_0x1c01e3(0x4d8)],'metadata':{'icon':_0x3c75e1[_0x1c01e3(0x24d)]['avatar']},'label':_0x3c75e1[_0x1c01e3(0x24d)][_0x1c01e3(0x4d8)],'objectType':a[_0x1c01e3(0x1c5)][_0x1c01e3(0x43e)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x4088ec(0x1cc)]=$n([lt(0x0,a[_0x4088ec(0x4e2)](a['IConfigService'])),lt(0x1,a['Inject'](Y[_0x4088ec(0x3c7)]))],exports[_0x4088ec(0x1cc)]);var kn=Object[_0x4088ec(0x4b1)],Bn=Object[_0x4088ec(0x4cd)],Fn=(_0x20c147,_0x2d962c,_0x3cbeea,_0x4f9ef8)=>{var _0x15bb8e=_0x4088ec;for(var _0x1a2981=_0x4f9ef8>0x1?void 0x0:_0x4f9ef8?Bn(_0x2d962c,_0x3cbeea):_0x2d962c,_0x2b7d9b=_0x20c147[_0x15bb8e(0x42f)]-0x1,_0x4dbe38;_0x2b7d9b>=0x0;_0x2b7d9b--)(_0x4dbe38=_0x20c147[_0x2b7d9b])&&(_0x1a2981=(_0x4f9ef8?_0x4dbe38(_0x2d962c,_0x3cbeea,_0x1a2981):_0x4dbe38(_0x1a2981))||_0x1a2981);return _0x4f9ef8&&_0x1a2981&&kn(_0x2d962c,_0x3cbeea,_0x1a2981),_0x1a2981;},ce=(_0x171ace,_0x4d1d1e)=>(_0x1c5b09,_0x52ccb2)=>_0x4d1d1e(_0x1c5b09,_0x52ccb2,_0x171ace);let De=class extends a[_0x4088ec(0x507)]{constructor(_0x1f7c93,_0x26177e,_0xc90943,_0x3abb6f,_0x49d833,_0x1decd7,_0xbb1f15){var _0x180c35=_0x4088ec;super(),this[_0x180c35(0x416)]=_0x1f7c93,this['_univerInstanceService']=_0x26177e,this[_0x180c35(0x326)]=_0xc90943,this['_collaborationSessionService']=_0x3abb6f,this[_0x180c35(0x1e1)]=_0x49d833,this[_0x180c35(0x3b0)]=_0x1decd7,this[_0x180c35(0x317)]=_0xbb1f15,this[_0x180c35(0x213)](),this['_initCloseConn']();}[_0x4088ec(0x518)](){var _0x434e5b=_0x4088ec;const _0x4bba57=async _0x574263=>{var _0x493050=_0x5540;(await this['_collaborationSessionService']['requireSession'](_0x574263))['event$']['pipe'](G[_0x493050(0x418)](_0x417541=>_0x417541[_0x493050(0x4d6)]===m[_0x493050(0x4ad)][_0x493050(0x4c8)]),G['takeUntil'](this[_0x493050(0x3aa)]))['subscribe'](_0x574702=>{var _0x4e7aa3=_0x493050;const _0x3f31f0=_0x574702,{reason:_0x2722ec}=_0x3f31f0['data'];this[_0x4e7aa3(0x1e1)][_0x4e7aa3(0x37f)]({'id':Q[_0x4e7aa3(0x23c)],'data':_0x2722ec}),this[_0x4e7aa3(0x326)][_0x4e7aa3(0x412)](new W[(_0x4e7aa3(0x4b9))](_0x574263)['id'],!0x1),this[_0x4e7aa3(0x4e8)][_0x4e7aa3(0x23a)](_0x574263);});};B[_0x434e5b(0x4cf)](this[_0x434e5b(0x290)][_0x434e5b(0x35d)](a[_0x434e5b(0x259)][_0x434e5b(0x3c5)]),this[_0x434e5b(0x290)][_0x434e5b(0x35d)](a[_0x434e5b(0x259)][_0x434e5b(0x3f8)]))[_0x434e5b(0x3fe)](G[_0x434e5b(0x325)](_0x1f251c=>_0x1f251c[_0x434e5b(0x2a6)]()),G[_0x434e5b(0x418)](_0x121917=>!a[_0x434e5b(0x489)](_0x121917)),G[_0x434e5b(0x2a1)](this[_0x434e5b(0x3aa)]))[_0x434e5b(0x202)](_0x24f71d=>{_0x4bba57(_0x24f71d);});}['_initUnitPermissionChange'](){var _0xc54f3b=_0x4088ec;const _0xfd01f3=async _0x17e2e7=>{var _0x135316=_0x5540;(await this[_0x135316(0x4e8)]['requireSession'](_0x17e2e7))[_0x135316(0x2ba)][_0x135316(0x3fe)](G[_0x135316(0x418)](_0x495228=>_0x495228['eventID']===m[_0x135316(0x4ad)][_0x135316(0x353)]),G[_0x135316(0x2a1)](this[_0x135316(0x3aa)]))[_0x135316(0x202)](_0x5824e7=>{var _0x192c04=_0x135316;const _0x4dce9f=_0x5824e7,{objectId:_0x284e84}=_0x4dce9f[_0x192c04(0x432)];_0x284e84===_0x17e2e7?this['initWorkbookPermissionChange'](_0x17e2e7):this[_0x192c04(0x48b)](_0x17e2e7,_0x284e84);});};B[_0xc54f3b(0x4cf)](this[_0xc54f3b(0x290)][_0xc54f3b(0x35d)](a[_0xc54f3b(0x259)][_0xc54f3b(0x3c5)]),this[_0xc54f3b(0x290)][_0xc54f3b(0x35d)](a[_0xc54f3b(0x259)][_0xc54f3b(0x3f8)]))[_0xc54f3b(0x3fe)](G[_0xc54f3b(0x325)](_0xaaa866=>_0xaaa866[_0xc54f3b(0x2a6)]()),G['filter'](_0x11a6ca=>!a[_0xc54f3b(0x489)](_0x11a6ca)),G['takeUntil'](this['dispose$']))[_0xc54f3b(0x202)](_0x59b05a=>{_0xfd01f3(_0x59b05a);});}async[_0x4088ec(0x30a)](_0x53f920){var _0x5d91df=_0x4088ec,_0x93aace;const _0x4a0696=_0x53f920||((_0x93aace=this[_0x5d91df(0x290)][_0x5d91df(0x527)](a[_0x5d91df(0x259)][_0x5d91df(0x3c5)]))==null?void 0x0:_0x93aace['getUnitId']());_0x4a0696&&this['_authzIoService']['allowed']({'objectID':_0x4a0696,'objectType':W[_0x5d91df(0x419)][_0x5d91df(0x250)],'unitID':_0x4a0696,'actions':W[_0x5d91df(0x357)]})[_0x5d91df(0x533)](_0x6e892d=>{var _0x3884e3=_0x5d91df;W['getAllWorkbookPermissionPoint']()[_0x3884e3(0x4c2)](_0x183cfc=>{var _0x828ead=_0x3884e3;const _0x483087=new _0x183cfc(_0x4a0696),_0x4376a1=_0x483087[_0x828ead(0x39f)],_0xf0eda7=_0x6e892d[_0x828ead(0x2bb)](_0x295334=>_0x295334[_0x828ead(0x3da)]===_0x4376a1);_0xf0eda7&&this[_0x828ead(0x326)][_0x828ead(0x412)](_0x483087['id'],_0xf0eda7[_0x828ead(0x2d6)]);});});}[_0x4088ec(0x48b)](_0x84bdd2,_0x366561){var _0x21eb69=_0x4088ec;const _0x475e6c=this['_injector'][_0x21eb69(0x372)](W[_0x21eb69(0x38b)]),_0x5b7496=_0x475e6c[_0x21eb69(0x329)](_0x84bdd2,_0x366561);let _0x5c4e65=!0x1;if(_0x5b7496){const [_0x3d71b,_0x23e560]=_0x5b7496;this[_0x21eb69(0x3b0)]['allowed']({'objectID':_0x366561,'unitID':_0x84bdd2,'objectType':W[_0x21eb69(0x419)][_0x21eb69(0x35f)],'actions':W[_0x21eb69(0x3e3)]})[_0x21eb69(0x533)](_0x458315=>{var _0x5abad3=_0x21eb69;let _0x478e16='';W[_0x5abad3(0x3b4)]()['forEach'](_0x3070bb=>{var _0xc760b2=_0x5abad3,_0x2ba4bf;const _0x39024c=new _0x3070bb(_0x84bdd2,_0x23e560),_0x5cffec=_0x39024c['subType'],_0x20c707=_0x458315[_0xc760b2(0x2bb)](_0x415dd1=>_0x415dd1[_0xc760b2(0x3da)]===_0x5cffec);_0x20c707&&(((_0x2ba4bf=this[_0xc760b2(0x326)][_0xc760b2(0x30d)](_0x39024c['id']))==null?void 0x0:_0x2ba4bf['value'])!==_0x20c707[_0xc760b2(0x2d6)]&&(_0x5c4e65=!0x0),this[_0xc760b2(0x326)]['updatePermissionPoint'](_0x39024c['id'],_0x20c707[_0xc760b2(0x2d6)]),_0x478e16+=_0x20c707['action']+'_'+_0x20c707[_0xc760b2(0x2d6)]);}),_0x475e6c[_0x5abad3(0x3a6)](_0x366561+'_'+_0x478e16),_0x5c4e65&&this[_0x5abad3(0x317)][_0x5abad3(0x51a)](_0x84bdd2);});}const _0x37770c=this[_0x21eb69(0x416)][_0x21eb69(0x372)](W[_0x21eb69(0x219)])[_0x21eb69(0x329)](_0x84bdd2,_0x366561);if(_0x37770c){const [_0x5ac8cc,_0x4b92ad]=_0x37770c;this[_0x21eb69(0x3b0)][_0x21eb69(0x2d6)]({'objectID':_0x366561,'unitID':_0x84bdd2,'objectType':W[_0x21eb69(0x419)]['Worksheet'],'actions':W[_0x21eb69(0x216)]})['then'](_0x4b595e=>{var _0x4cf08b=_0x21eb69;W[_0x4cf08b(0x4f4)]()['forEach'](_0x4980e0=>{var _0x2343b4=_0x4cf08b,_0x4bc815;const _0x263c90=new _0x4980e0(_0x84bdd2,_0x4b92ad),_0x5f5536=_0x263c90[_0x2343b4(0x39f)],_0x69882b=_0x4b595e[_0x2343b4(0x2bb)](_0x5696c6=>_0x5696c6[_0x2343b4(0x3da)]===_0x5f5536);_0x69882b&&(((_0x4bc815=this['_permissionService'][_0x2343b4(0x30d)](_0x263c90['id']))==null?void 0x0:_0x4bc815[_0x2343b4(0x3d1)])!==_0x69882b[_0x2343b4(0x2d6)]&&(_0x5c4e65=!0x0),this['_permissionService'][_0x2343b4(0x412)](_0x263c90['id'],_0x69882b['allowed']));}),_0x5c4e65&&this[_0x4cf08b(0x317)][_0x4cf08b(0x51a)](_0x84bdd2);});}const _0x4a744c=this['_injector'][_0x21eb69(0x372)](W[_0x21eb69(0x451)]),_0x27b33d=_0x4a744c[_0x21eb69(0x329)](_0x84bdd2,_0x366561);if(_0x27b33d){const [_0x4f830c,_0x2ab9a8]=_0x27b33d;this[_0x21eb69(0x3b0)][_0x21eb69(0x2d6)]({'objectID':_0x366561,'unitID':_0x84bdd2,'objectType':W['UnitObject']['SelectRange'],'actions':W['baseProtectionActions']})['then'](_0x2c054f=>{var _0x9f45f0=_0x21eb69;let _0x1c3391='';W[_0x9f45f0(0x242)]()[_0x9f45f0(0x4c2)](_0x306ae2=>{var _0x123b8d=_0x9f45f0,_0x103db9;const _0x15d5f7=new _0x306ae2(_0x84bdd2,_0x2ab9a8,_0x366561),_0xcc28e3=_0x15d5f7[_0x123b8d(0x39f)],_0x333b34=_0x2c054f['find'](_0x379230=>_0x379230[_0x123b8d(0x3da)]===_0xcc28e3);_0x333b34&&(((_0x103db9=this[_0x123b8d(0x326)][_0x123b8d(0x30d)](_0x15d5f7['id']))==null?void 0x0:_0x103db9['value'])!==_0x333b34['allowed']&&(_0x5c4e65=!0x0),this[_0x123b8d(0x326)][_0x123b8d(0x412)](_0x15d5f7['id'],_0x333b34[_0x123b8d(0x2d6)]),_0x1c3391+=_0x333b34['action']+'_'+_0x333b34[_0x123b8d(0x2d6)]);}),_0x4a744c[_0x9f45f0(0x3a6)](_0x366561+'_'+_0x1c3391),_0x5c4e65&&this[_0x9f45f0(0x317)][_0x9f45f0(0x51a)](_0x84bdd2);});}}};De=Fn([ce(0x0,a['Inject'](a[_0x4088ec(0x538)])),ce(0x1,a[_0x4088ec(0x1de)]),ce(0x2,a[_0x4088ec(0x221)]),ce(0x3,a[_0x4088ec(0x4e2)](exports['CollaborationSessionService'])),ce(0x4,a['Inject'](te)),ce(0x5,a[_0x4088ec(0x2f9)]),ce(0x6,a[_0x4088ec(0x1fc)])],De);var Wn=Object[_0x4088ec(0x4b1)],Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x1ff25e,_0x2c90b8,_0x1efca2,_0x19e518)=>{var _0x5f4837=_0x4088ec;for(var _0x14431c=_0x19e518>0x1?void 0x0:_0x19e518?Vn(_0x2c90b8,_0x1efca2):_0x2c90b8,_0xa9fe32=_0x1ff25e[_0x5f4837(0x42f)]-0x1,_0x27d689;_0xa9fe32>=0x0;_0xa9fe32--)(_0x27d689=_0x1ff25e[_0xa9fe32])&&(_0x14431c=(_0x19e518?_0x27d689(_0x2c90b8,_0x1efca2,_0x14431c):_0x27d689(_0x14431c))||_0x14431c);return _0x19e518&&_0x14431c&&Wn(_0x2c90b8,_0x1efca2,_0x14431c),_0x14431c;},_t=(_0x3909ca,_0x297895)=>(_0x28ad13,_0x13bbc7)=>_0x297895(_0x28ad13,_0x13bbc7,_0x3909ca);exports[_0x4088ec(0x2f7)]=class{constructor(_0xa91c5d,_0x3129c0){var _0x290a71=_0x4088ec;this['_configService']=_0xa91c5d,this[_0x290a71(0x4a6)]=_0x3129c0;}async[_0x4088ec(0x471)](_0x533c20,_0x1a1ada){var _0x57dfee=_0x4088ec,_0x7d4238;const {unitID:_0x1d7590,type:_0x4eabce,revision:_0x13b742=0x0}=_0x1a1ada,_0x579753=this[_0x57dfee(0x428)]()+'/'+_0x4eabce+'/unit/'+_0x1d7590+'/rev/'+_0x13b742,_0x3deba9=(await this['_httpService'][_0x57dfee(0x372)](_0x579753))[_0x57dfee(0x3ca)],_0x5099c7=(_0x7d4238=_0x3deba9[_0x57dfee(0x253)])==null?void 0x0:_0x7d4238[_0x57dfee(0x2d1)];if(_0x5099c7){const _0x33b6e4=_0x5099c7==null?void 0x0:_0x5099c7['originalMeta'],_0x253dc8=m['textEncoder'][_0x57dfee(0x2b0)](m[_0x57dfee(0x211)](_0x33b6e4));_0x5099c7[_0x57dfee(0x427)]=_0x253dc8,Object['entries'](_0x5099c7[_0x57dfee(0x40e)])[_0x57dfee(0x4c2)](([,_0x1a5910])=>{var _0x4cd6c4=_0x57dfee;const _0x269c51=_0x1a5910[_0x4cd6c4(0x427)],_0x2ead17=m['textEncoder'][_0x4cd6c4(0x2b0)](m[_0x4cd6c4(0x211)](_0x269c51));_0x1a5910[_0x4cd6c4(0x427)]=_0x2ead17;});}return _0x3deba9;}async[_0x4088ec(0x271)](_0x1b8218,_0x2a4209){var _0x4beee0=_0x4088ec;const {unitID:_0xb6f9b,type:_0x37d699,blockID:_0x298533}=_0x2a4209,_0x67b783=this[_0x4beee0(0x279)]()+'/'+_0x37d699+_0x4beee0(0x2d8)+_0xb6f9b+_0x4beee0(0x4ac)+_0x298533;return(await this[_0x4beee0(0x4a6)][_0x4beee0(0x372)](_0x67b783))[_0x4beee0(0x3ca)];}async[_0x4088ec(0x2a8)](_0x2de9c4,_0x9b31a5){var _0x543134=_0x4088ec;const {unitID:_0x4a4058,type:_0x1fa5d8,blockID:_0x3fe7fa}=_0x9b31a5,_0x5ee660=this[_0x543134(0x279)]()+_0x543134(0x4ac)+_0x1fa5d8+_0x543134(0x2d8)+_0x4a4058+_0x543134(0x4ac)+_0x3fe7fa;return(await this[_0x543134(0x4a6)]['get'](_0x5ee660))[_0x543134(0x3ca)];}async[_0x4088ec(0x435)](_0x57ec26,_0x571a75){var _0x551c9b=_0x4088ec;const {unitID:_0x2672aa,type:_0x173541,from:_0x4d7146,to:_0x3af9de}=_0x571a75,_0x196f17=this[_0x551c9b(0x279)]()+'/'+_0x173541+'/unit/'+_0x2672aa+_0x551c9b(0x3fd)+_0x4d7146+'&to='+_0x3af9de;return(await this['_httpService'][_0x551c9b(0x372)](_0x196f17))[_0x551c9b(0x3ca)];}[_0x4088ec(0x428)](){var _0x55a700=_0x4088ec,_0x2c286b;return(_0x2c286b=this[_0x55a700(0x3f5)][_0x55a700(0x51d)](vt))!=null?_0x2c286b:this[_0x55a700(0x279)]();}['_getAPIPrefix'](){var _0x3ae441=_0x4088ec,_0x1ca6cc,_0x2f8259;const _0x52767f=this[_0x3ae441(0x3f5)][_0x3ae441(0x51d)](dt),_0x19a8c2=this['_configService'][_0x3ae441(0x51d)](z);return(_0x2f8259=(_0x1ca6cc=_0x19a8c2==null?void 0x0:_0x19a8c2['snapshotServerUrl'])!=null?_0x1ca6cc:_0x52767f)!=null?_0x2f8259:xt;}async[_0x4088ec(0x2c0)](_0x195f33,_0x38a668){var _0x2ca24a=_0x4088ec;const _0x1b7a6e=_0x2ca24a(0x20c)+_0x38a668[_0x2ca24a(0x395)]+'/unit/'+_0x38a668['unitID']+_0x2ca24a(0x425);return(await this[_0x2ca24a(0x4a6)]['get'](_0x1b7a6e,{'params':{'resourceId':JSON['stringify'](_0x38a668['resourceIDs'])}}))['body'];}[_0x4088ec(0x337)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x5410e7=_0x4088ec;throw new Error(_0x5410e7(0x1d5));}[_0x4088ec(0x452)](){var _0x181213=_0x4088ec;throw new Error(_0x181213(0x1d5));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4088ec(0x41c)](){var _0x3a65b1=_0x4088ec;throw new Error(_0x3a65b1(0x1d5));}},exports[_0x4088ec(0x2f7)]=Gn([_t(0x0,a[_0x4088ec(0x1d0)]),_t(0x1,a[_0x4088ec(0x4e2)](Y['HTTPService']))],exports['SnapshotServerOverHTTPService']);var Kn=Object[_0x4088ec(0x4b1)],Yn=Object[_0x4088ec(0x4cd)],qn=(_0x1eb42f,_0x20d109,_0x537c86,_0x32baa3)=>{for(var _0x6109e1=_0x32baa3>0x1?void 0x0:_0x32baa3?Yn(_0x20d109,_0x537c86):_0x20d109,_0x162f55=_0x1eb42f['length']-0x1,_0x3c9b96;_0x162f55>=0x0;_0x162f55--)(_0x3c9b96=_0x1eb42f[_0x162f55])&&(_0x6109e1=(_0x32baa3?_0x3c9b96(_0x20d109,_0x537c86,_0x6109e1):_0x3c9b96(_0x6109e1))||_0x6109e1);return _0x32baa3&&_0x6109e1&&Kn(_0x20d109,_0x537c86,_0x6109e1),_0x6109e1;},de=(_0x26f15e,_0x59d937)=>(_0x5e671d,_0x3b4a41)=>_0x59d937(_0x5e671d,_0x3b4a41,_0x26f15e);exports[_0x4088ec(0x362)]=class extends a['LocalUndoRedoService']{constructor(_0x3af0d0,_0x2fdf23,_0x59e3ae,_0x200ce7,_0x2f6093){var _0x295e7b=_0x4088ec;super(_0x3af0d0,_0x2fdf23,_0x59e3ae),this['_transformService']=_0x200ce7,this[_0x295e7b(0x2ee)]=_0x2f6093;}[_0x4088ec(0x289)](_0x58aaca,_0x172da7){var _0x5f4ea9=_0x4088ec;const _0x4c20c3=this['_getUndoStack'](_0x58aaca);if(_0x4c20c3)try{const _0x1295c3=this[_0x5f4ea9(0x49e)](_0x4c20c3,_0x172da7);this[_0x5f4ea9(0x49d)](_0x58aaca,_0x1295c3);}catch(_0x41ed9e){this[_0x5f4ea9(0x2ee)][_0x5f4ea9(0x539)](_0x5f4ea9(0x1f1),_0x41ed9e),this[_0x5f4ea9(0x34f)](_0x58aaca);}const _0x2c510b=this['_getRedoStack'](_0x58aaca);if(_0x2c510b)try{const _0x43dbc1=this['_transformStack'](_0x2c510b,_0x172da7);this[_0x5f4ea9(0x226)](_0x58aaca,_0x43dbc1);}catch(_0x256cd4){this[_0x5f4ea9(0x2ee)]['error'](_0x256cd4),this[_0x5f4ea9(0x474)](_0x58aaca);}}[_0x4088ec(0x34f)](_0x1ece4a){var _0x3d1719=_0x4088ec;const _0x5e7e19=this[_0x3d1719(0x361)](_0x1ece4a);_0x5e7e19&&(_0x5e7e19[_0x3d1719(0x42f)]=0x0,this[_0x3d1719(0x4b6)]());}[_0x4088ec(0x474)](_0x3fac25){var _0x5e0179=_0x4088ec;const _0x583a13=this['_getRedoStack'](_0x3fac25);_0x583a13&&(_0x583a13[_0x5e0179(0x42f)]=0x0,this[_0x5e0179(0x4b6)]());}[_0x4088ec(0x49d)](_0x16e2ab,_0x483b0f){var _0x470132=_0x4088ec;this['_undoStacks'][_0x470132(0x257)](_0x16e2ab,_0x483b0f),this[_0x470132(0x4b6)]();}[_0x4088ec(0x226)](_0x5b7710,_0x1e3660){var _0x3a99df=_0x4088ec;this['_redoStacks'][_0x3a99df(0x257)](_0x5b7710,_0x1e3660),this['_updateStatus']();}[_0x4088ec(0x49e)](_0x316184,_0x3be1db){var _0x27cf46=_0x4088ec;const _0x2f8b49=[];let _0x254d59=_0x3be1db,_0x55e28e=_0x3be1db;for(let _0x4b84e0=_0x316184[_0x27cf46(0x42f)]-0x1;_0x4b84e0>=0x0;_0x4b84e0--){const {unitID:_0x49564e,undoMutations:_0x3fb1dc,redoMutations:_0x48fb04}=_0x316184[_0x4b84e0],_0x360b70=this[_0x27cf46(0x365)][_0x27cf46(0x2a7)](_0x254d59,_0x3fb1dc),_0x518bd8=this[_0x27cf46(0x365)][_0x27cf46(0x2a7)](_0x55e28e,_0x48fb04);if(m['isTransformMutationsWithChangesetFailure'](_0x360b70)||m[_0x27cf46(0x391)](_0x518bd8)){this[_0x27cf46(0x2ee)][_0x27cf46(0x539)]('[CollaborationUndoRedoService]',_0x27cf46(0x2d5),_0x360b70,_0x518bd8);break;}_0x254d59=_0x360b70['c1Prime'],_0x55e28e=_0x518bd8[_0x27cf46(0x302)],_0x2f8b49['push']({'unitID':_0x49564e,'undoMutations':_0x360b70['m2Prime'],'redoMutations':_0x518bd8[_0x27cf46(0x461)]});}return _0x2f8b49[_0x27cf46(0x4a9)]();}},exports[_0x4088ec(0x362)]=qn([de(0x0,a[_0x4088ec(0x1de)]),de(0x1,a['ICommandService']),de(0x2,a[_0x4088ec(0x3b3)]),de(0x3,m[_0x4088ec(0x229)]),de(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var wt=Object['defineProperty'],zn=Object[_0x4088ec(0x4cd)],Jn=(_0x53bb3d,_0x1bdb86,_0x36fe5e)=>_0x1bdb86 in _0x53bb3d?wt(_0x53bb3d,_0x1bdb86,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36fe5e}):_0x53bb3d[_0x1bdb86]=_0x36fe5e,Xn=(_0x1ec3ae,_0x45d182,_0x4ecc18,_0x491a87)=>{var _0x4fb585=_0x4088ec;for(var _0x188c6d=_0x491a87>0x1?void 0x0:_0x491a87?zn(_0x45d182,_0x4ecc18):_0x45d182,_0x363064=_0x1ec3ae[_0x4fb585(0x42f)]-0x1,_0x2e6cf7;_0x363064>=0x0;_0x363064--)(_0x2e6cf7=_0x1ec3ae[_0x363064])&&(_0x188c6d=(_0x491a87?_0x2e6cf7(_0x45d182,_0x4ecc18,_0x188c6d):_0x2e6cf7(_0x188c6d))||_0x188c6d);return _0x491a87&&_0x188c6d&&wt(_0x45d182,_0x4ecc18,_0x188c6d),_0x188c6d;},je=(_0x508f5f,_0x5048ac)=>(_0x240ac3,_0x45062a)=>_0x5048ac(_0x240ac3,_0x45062a,_0x508f5f),Zn=(_0x417268,_0x1765b6,_0xd1b554)=>Jn(_0x417268,_0x1765b6+'',_0xd1b554);const Qn=_0x4088ec(0x36d);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x47d790=Yt,_0x2fde93,_0x5a864a,_0x365aef){var _0x4c4812=_0x4088ec;super(),this[_0x4c4812(0x3ac)]=_0x47d790,this[_0x4c4812(0x2ee)]=_0x2fde93,this['_injector']=_0x5a864a,this['_configService']=_0x365aef;const {..._0xe623f1}=this[_0x4c4812(0x3ac)];this[_0x4c4812(0x3f5)]['setConfig'](z,_0xe623f1);}['onStarting'](){var _0x56a8ab=_0x4088ec;this[_0x56a8ab(0x45b)](),this['_initDependencies']();}[_0x4088ec(0x45b)](){var _0x4de05f=_0x4088ec,_0x3b3bb3,_0x2a87a7,_0xcb518f,_0x577bf3;this[_0x4de05f(0x416)]['has'](a[_0x4de05f(0x1fc)])&&this[_0x4de05f(0x2ee)][_0x4de05f(0x539)](_0x4de05f(0x413),_0x4de05f(0x35e));const _0x352406=a['mergeOverrideWithDependencies']([[a['IUndoRedoService'],{'useClass':exports[_0x4de05f(0x362)]}],[exports[_0x4de05f(0x4e7)]],[exports[_0x4de05f(0x4af)]],[Y[_0x4de05f(0x3bb)]],[exports[_0x4de05f(0x305)]],[Oe],[Pe],[Be],[De],[te],[exports[_0x4de05f(0x294)]],[ke,{'useClass':(_0x2a87a7=(_0x3b3bb3=this[_0x4de05f(0x3ac)])==null?void 0x0:_0x3b3bb3[_0x4de05f(0x40c)])!=null?_0x2a87a7:exports[_0x4de05f(0x3b9)]}],[m[_0x4de05f(0x263)],{'useClass':exports[_0x4de05f(0x2f7)]}],[a[_0x4de05f(0x2f9)],{'useClass':exports[_0x4de05f(0x3bf)]}],[X[_0x4de05f(0x37e)],{'useClass':exports[_0x4de05f(0x510)]}],[a[_0x4de05f(0x479)],{'useClass':exports[_0x4de05f(0x1cc)]}],[exports[_0x4de05f(0x1f2)]],[$e]],(_0xcb518f=this['_config'])==null?void 0x0:_0xcb518f[_0x4de05f(0x1ff)]);if(!((_0x577bf3=this[_0x4de05f(0x3ac)])!=null&&_0x577bf3[_0x4de05f(0x1db)])){const _0x17ca92=_0x352406['findIndex'](([_0x21b6fd])=>_0x21b6fd===ve);_0x17ca92!==-0x1&&_0x352406['splice'](_0x17ca92,0x1);}a['registerDependencies'](this['_injector'],_0x352406);}[_0x4088ec(0x47b)](){var _0x39eaf3=_0x4088ec,_0x4122bf,_0x122e96;this[_0x39eaf3(0x416)][_0x39eaf3(0x372)](Y['HTTPService'])[_0x39eaf3(0x2ac)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x4122bf=this['_config'])!=null&&_0x4122bf[_0x39eaf3(0x28f)]||this[_0x39eaf3(0x416)]['get'](J)[_0x39eaf3(0x364)](),(_0x122e96=this[_0x39eaf3(0x3ac)])!=null&&_0x122e96[_0x39eaf3(0x340)]&&a[_0x39eaf3(0x3ab)](this[_0x39eaf3(0x416)],[[Oe]]),a['touchDependencies'](this[_0x39eaf3(0x416)],[[Pe],[exports['CollaborationController']],[De]]);}},Zn(exports[_0x4088ec(0x52b)],'pluginName',Qn),exports['UniverCollaborationClientPlugin']=Xn([a[_0x4088ec(0x31f)](m['UniverCollaborationPlugin'],W['UniverSheetsPlugin'],Y[_0x4088ec(0x328)]),je(0x1,a[_0x4088ec(0x303)]),je(0x2,a[_0x4088ec(0x4e2)](a[_0x4088ec(0x538)])),je(0x3,a['IConfigService'])],exports[_0x4088ec(0x52b)]),exports[_0x4088ec(0x316)]=Ge,exports[_0x4088ec(0x201)]=z,exports[_0x4088ec(0x3ba)]=It,exports[_0x4088ec(0x465)]=ft,exports[_0x4088ec(0x4ed)]=We,exports[_0x4088ec(0x239)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=St,exports[_0x4088ec(0x46b)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports[_0x4088ec(0x49f)]=ke,exports[_0x4088ec(0x3ae)]=J,exports[_0x4088ec(0x420)]=ve,exports[_0x4088ec(0x27e)]=Vt,exports[_0x4088ec(0x306)]=Wt,exports['LOGIN_URL_KEY']=Et,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x4088ec(0x515)]=jt,exports[_0x4088ec(0x1ea)]=dt,exports[_0x4088ec(0x3b6)]=vt,exports[_0x4088ec(0x2c8)]=se,exports['UnitStatus']=Fe,exports[_0x4088ec(0x235)]=bt,exports[_0x4088ec(0x47a)]=fi,exports[_0x4088ec(0x43a)]=Rt;
|