@univerjs-pro/collaboration-client 0.5.0-alpha.0 → 0.5.0-beta.0
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/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/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/types/config/config.d.ts +49 -0
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +38 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +39 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +18 -0
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
- 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 +58 -0
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +91 -0
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +303 -0
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +24 -0
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +18 -0
- package/lib/types/controllers/collaboration/utils/empty.d.ts +2 -0
- package/lib/types/controllers/config.schema.d.ts +33 -0
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +1 -0
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +22 -0
- package/lib/types/controllers/file-name/file-name.controller.d.ts +12 -0
- package/lib/types/controllers/telemetry.d.ts +11 -0
- package/lib/types/index.d.ts +35 -890
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +39 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/models/cursor.d.ts +30 -0
- package/lib/types/plugin.d.ts +18 -0
- package/lib/types/services/auth-server/auth-server.service.d.ts +10 -0
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +30 -0
- package/lib/types/services/auth-server/domain-request.service.d.ts +6 -0
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +59 -0
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +75 -0
- package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
- package/lib/types/services/comment/comment.service.d.ts +6 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +34 -0
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
- package/lib/types/services/local-cache/local-cache.service.d.ts +37 -0
- package/lib/types/services/member/member.service.d.ts +77 -0
- package/lib/types/services/permission/permission.service.d.ts +12 -0
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +13 -0
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +39 -0
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +21 -0
- package/lib/types/services/socket/collaboration-socket.service.d.ts +34 -0
- package/lib/types/services/socket/serialize.d.ts +3 -0
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +19 -0
- package/lib/types/services/url/url.service.d.ts +12 -0
- package/lib/types/services/url/web-url.service.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
- package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -0
- 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/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 +23 -24
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x4a9685=_0x5f2c;(function(_0x5f360c,_0x2dd306){const _0x2d77c2=_0x5f2c,_0xfe0c38=_0x5f360c();while(!![]){try{const _0x5d4038=parseInt(_0x2d77c2(0x1f7))/0x1+-parseInt(_0x2d77c2(0x1fb))/0x2*(-parseInt(_0x2d77c2(0x4e6))/0x3)+-parseInt(_0x2d77c2(0x44f))/0x4+parseInt(_0x2d77c2(0x4e5))/0x5+parseInt(_0x2d77c2(0x3b6))/0x6+-parseInt(_0x2d77c2(0x3ea))/0x7+parseInt(_0x2d77c2(0x4b1))/0x8*(-parseInt(_0x2d77c2(0x1d5))/0x9);if(_0x5d4038===_0x2dd306)break;else _0xfe0c38['push'](_0xfe0c38['shift']());}catch(_0xc7f311){_0xfe0c38['push'](_0xfe0c38['shift']());}}}(_0x2b0a,0xe46fc));var Ln=Object[_0x4a9685(0x377)],xn=(_0x45e995,_0x1471b2,_0x46dff5)=>_0x1471b2 in _0x45e995?Ln(_0x45e995,_0x1471b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46dff5}):_0x45e995[_0x1471b2]=_0x46dff5,I=(_0x3aaf61,_0x3c30c4,_0x567403)=>xn(_0x3aaf61,typeof _0x3c30c4!=_0x4a9685(0x184)?_0x3c30c4+'':_0x3c30c4,_0x567403);Object[_0x4a9685(0x377)](exports,Symbol[_0x4a9685(0x59a)],{'value':_0x4a9685(0x3b8)});const a=require(_0x4a9685(0x1a5)),A=require(_0x4a9685(0x384)),V=require(_0x4a9685(0x54f)),ge=require(_0x4a9685(0x369)),ee=require('@univerjs/ui'),Z=require(_0x4a9685(0x5bb)),S=require(_0x4a9685(0x48d)),jn=require(_0x4a9685(0x1da)),J=require(_0x4a9685(0x3c0)),k=require(_0x4a9685(0x539)),K=require(_0x4a9685(0x46d)),ye=require(_0x4a9685(0x351)),ne=require(_0x4a9685(0x16c)),Pt=require('@univerjs/engine-formula'),Re=require('@univerjs/sheets-ui'),ae=require(_0x4a9685(0x258)),$n=require(_0x4a9685(0x29d)),Zt='SNAPSHOT_SERVER_URL_KEY',Hn=_0x4a9685(0x152),Qt=_0x4a9685(0x442),Bn=_0x4a9685(0x49b),kn=0x7d0,en=_0x4a9685(0x1e8),Wn='ws://127.0.0.1:8000/universer-api/comb/connect',tn=_0x4a9685(0x488),Fn=0x7530,Ct=_0x4a9685(0x56c),nn=0x4e20,Vn=0x4e20,sn=_0x4a9685(0x191),Gn=0x3,rn='LOCAL_CACHE_INTERVAL',Yn=0x3e8,on=_0x4a9685(0x1a8),Kn=_0x4a9685(0x265),an=_0x4a9685(0x49e),qn=_0x4a9685(0x53d);var cn=(_0x14f6b8=>(_0x14f6b8[_0x14f6b8[_0x4a9685(0x268)]=0x0]=_0x4a9685(0x268),_0x14f6b8[_0x14f6b8['OK']=0x1]='OK',_0x14f6b8[_0x14f6b8['INTERNAL_ERROR']=0x2]=_0x4a9685(0x243),_0x14f6b8[_0x14f6b8['PERMISSION_DENIED']=0x3]=_0x4a9685(0x178),_0x14f6b8[_0x14f6b8[_0x4a9685(0x584)]=0x4]=_0x4a9685(0x584),_0x14f6b8[_0x14f6b8[_0x4a9685(0x43c)]=0x5]=_0x4a9685(0x43c),_0x14f6b8[_0x14f6b8[_0x4a9685(0x2b0)]=0x6]=_0x4a9685(0x2b0),_0x14f6b8[_0x14f6b8[_0x4a9685(0x42c)]=0x7]=_0x4a9685(0x42c),_0x14f6b8[_0x14f6b8[_0x4a9685(0x44e)]=0x8]=_0x4a9685(0x44e),_0x14f6b8[_0x14f6b8[_0x4a9685(0x4ac)]=0x9]=_0x4a9685(0x4ac),_0x14f6b8[_0x14f6b8[_0x4a9685(0x21a)]=0x1389]=_0x4a9685(0x21a),_0x14f6b8[_0x14f6b8[_0x4a9685(0x52b)]=0x1771]=_0x4a9685(0x52b),_0x14f6b8[_0x14f6b8[_0x4a9685(0x3a9)]=0x1772]=_0x4a9685(0x3a9),_0x14f6b8[_0x14f6b8[_0x4a9685(0x517)]=0x1773]=_0x4a9685(0x517),_0x14f6b8[_0x14f6b8['APPLY_REJECT']=0x1b59]=_0x4a9685(0x373),_0x14f6b8[_0x14f6b8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4a9685(0x38d),_0x14f6b8[_0x14f6b8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4a9685(0x30e),_0x14f6b8[_0x14f6b8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4a9685(0x16b),_0x14f6b8[_0x14f6b8[_0x4a9685(0x2c8)]=0x1b5d]=_0x4a9685(0x2c8),_0x14f6b8[_0x14f6b8[_0x4a9685(0x511)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x14f6b8[_0x14f6b8[_0x4a9685(0x1f2)]=0x2329]=_0x4a9685(0x1f2),_0x14f6b8[_0x14f6b8[_0x4a9685(0x1bb)]=0x232a]=_0x4a9685(0x1bb),_0x14f6b8[_0x14f6b8[_0x4a9685(0x535)]=0x232b]=_0x4a9685(0x535),_0x14f6b8[_0x14f6b8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4a9685(0x547),_0x14f6b8[_0x14f6b8[_0x4a9685(0x5ad)]=0x232d]=_0x4a9685(0x5ad),_0x14f6b8[_0x14f6b8[_0x4a9685(0x447)]=0x2711]=_0x4a9685(0x447),_0x14f6b8[_0x14f6b8[_0x4a9685(0x2fd)]=0x2712]=_0x4a9685(0x2fd),_0x14f6b8[_0x14f6b8[_0x4a9685(0x227)]=0x2713]=_0x4a9685(0x227),_0x14f6b8[_0x14f6b8[_0x4a9685(0x567)]=0x2714]=_0x4a9685(0x567),_0x14f6b8[_0x14f6b8['UNRECOGNIZED']=-0x1]=_0x4a9685(0x4be),_0x14f6b8))(cn||{}),ie=(_0x401808=>(_0x401808[_0x401808['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x401808[_0x401808[_0x4a9685(0x22a)]=0x1]=_0x4a9685(0x22a),_0x401808[_0x401808[_0x4a9685(0x1af)]=0x2]=_0x4a9685(0x1af),_0x401808[_0x401808['UNIVER_SLIDE']=0x3]=_0x4a9685(0x518),_0x401808[_0x401808[_0x4a9685(0x433)]=0x4]=_0x4a9685(0x433),_0x401808[_0x401808[_0x4a9685(0x4be)]=-0x1]='UNRECOGNIZED',_0x401808))(ie||{}),G=(_0x5a2263=>(_0x5a2263[_0x5a2263[_0x4a9685(0x41d)]=0x0]=_0x4a9685(0x41d),_0x5a2263[_0x5a2263[_0x4a9685(0x3f5)]=0x1]=_0x4a9685(0x3f5),_0x5a2263[_0x5a2263[_0x4a9685(0x1d3)]=0x2]=_0x4a9685(0x1d3),_0x5a2263[_0x5a2263[_0x4a9685(0x5c2)]=0x3]=_0x4a9685(0x5c2),_0x5a2263[_0x5a2263['INGEST']=0x4]=_0x4a9685(0x3a1),_0x5a2263[_0x5a2263['HEARTBEAT']=0x5]='HEARTBEAT',_0x5a2263[_0x5a2263['RECV']=0x6]=_0x4a9685(0x52e),_0x5a2263[_0x5a2263[_0x4a9685(0x4be)]=-0x1]=_0x4a9685(0x4be),_0x5a2263))(G||{}),Et=(_0x201fc0=>(_0x201fc0[_0x201fc0[_0x4a9685(0x57d)]=0x0]=_0x4a9685(0x57d),_0x201fc0[_0x201fc0['OK']=0x1]='OK',_0x201fc0[_0x201fc0[_0x4a9685(0x5d6)]=0x2]='FAIL',_0x201fc0[_0x201fc0[_0x4a9685(0x4be)]=-0x1]=_0x4a9685(0x4be),_0x201fc0))(Et||{}),ln=(_0x2b63df=>(_0x2b63df[_0x2b63df[_0x4a9685(0x417)]=0x0]='Undefined',_0x2b63df[_0x2b63df[_0x4a9685(0x34c)]=0x1]=_0x4a9685(0x34c),_0x2b63df[_0x2b63df[_0x4a9685(0x4d2)]=0x2]=_0x4a9685(0x4d2),_0x2b63df[_0x2b63df['UnitEmbedded']=0x3]=_0x4a9685(0x3d4),_0x2b63df[_0x2b63df[_0x4a9685(0x1f3)]=0x4]=_0x4a9685(0x1f3),_0x2b63df[_0x2b63df[_0x4a9685(0x4be)]=-0x1]='UNRECOGNIZED',_0x2b63df))(ln||{});const te=_0x4a9685(0x322),zn={};function hn(_0x5d4e9a){const _0x44fe0d=_0x4a9685;var _0x1bb251,_0x77d156,_0x5640ef,_0x18756f,_0x33f382;const _0x2043eb=_0x5d4e9a[_0x44fe0d(0x18f)],_0x548b6f=JSON[_0x44fe0d(0x2af)](_0x2043eb);switch(_0x548b6f['cmd']){case G['HEARTBEAT']:case G[_0x44fe0d(0x3f5)]:{const _0x54fa60=_0x548b6f[_0x44fe0d(0x183)];return{..._0x548b6f,'data':_0x54fa60,'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};}case G[_0x44fe0d(0x1d3)]:{const _0x27bfb5=_0x548b6f['joinRsp'];return{..._0x548b6f,'data':_0x27bfb5,'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};}case G[_0x44fe0d(0x52e)]:{const _0x3cb4be=_0x548b6f[_0x44fe0d(0x5a5)];switch(_0x3cb4be['eventID']){case S[_0x44fe0d(0x35a)][_0x44fe0d(0x5d2)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x1bb251=_0x3cb4be['permissionRejEvent'])==null?void 0x0:_0x1bb251['cs']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x272)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x77d156=_0x3cb4be['csAckEvent'])==null?void 0x0:_0x77d156['cs']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x27c)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x5640ef=_0x3cb4be[_0x44fe0d(0x580)])==null?void 0x0:_0x5640ef['cs']},'cmd':_0x548b6f['cmd']};case S['CollaborationEvent']['CHANGESET_REJ']:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x18756f=_0x3cb4be['csRejEvent'])==null?void 0x0:_0x18756f['cs']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)]['CHANGESET_SHOULD_RETRY']:return{..._0x548b6f,'data':{..._0x3cb4be,'data':(_0x33f382=_0x3cb4be[_0x44fe0d(0x5e0)])==null?void 0x0:_0x33f382['cs']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x49a)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x5d9)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x1ec)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be['joinEvent']},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)]['USERS_LEAVE']:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x53f)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x1c9)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x4b3)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)]['LIVESHARE_FETCH_OPERATIONS']:case S[_0x44fe0d(0x35a)][_0x44fe0d(0x25d)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x474)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x283)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x4b3)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x42e)]:return{..._0x548b6f,'data':_0x3cb4be,'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)]['COMMENT_UPDATE']:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x425)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S['CollaborationEvent'][_0x44fe0d(0x347)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x285)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};case S[_0x44fe0d(0x35a)][_0x44fe0d(0x42b)]:return{..._0x548b6f,'data':{..._0x3cb4be,'data':_0x3cb4be[_0x44fe0d(0x4d0)]},'cmd':_0x548b6f[_0x44fe0d(0x5a3)]};default:return _0x548b6f;}}default:return _0x548b6f;}}function _n(_0x29ba33){const _0x307618=_0x4a9685;switch(_0x29ba33[_0x307618(0x5a3)]){case G[_0x307618(0x427)]:case G['HELLO']:return JSON[_0x307618(0x2d1)]({'cmd':_0x29ba33[_0x307618(0x5a3)],'routeKey':_0x29ba33[_0x307618(0x4f2)]});case G['INGEST']:{let _0x594013;switch(_0x29ba33['data'][_0x307618(0x3af)]){case S[_0x307618(0x35a)]['UPDATE_CURSOR']:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x49a)],'updateCursorEvent':_0x29ba33[_0x307618(0x18f)][_0x307618(0x18f)]};break;}case S[_0x307618(0x35a)][_0x307618(0x5c3)]:{_0x594013={'eventID':S['CollaborationEvent'][_0x307618(0x5c3)],'leaveEvent':_0x29ba33[_0x307618(0x18f)][_0x307618(0x18f)]};break;}case S[_0x307618(0x35a)][_0x307618(0x1ec)]:{_0x594013={'eventID':S[_0x307618(0x35a)]['USERS_ENTER'],'joinEvent':_0x29ba33[_0x307618(0x18f)][_0x307618(0x18f)]};break;}case S['CollaborationEvent'][_0x307618(0x1c9)]:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x1c9)],'liveShareNewHost':_0x29ba33['data'][_0x307618(0x18f)]};break;}case S[_0x307618(0x35a)][_0x307618(0x25d)]:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x25d)],'liveShareOperation':_0x29ba33[_0x307618(0x18f)]['data']};break;}case S[_0x307618(0x35a)]['LIVESHARE_TERMINATE']:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x283)],'liveShareTerminate':_0x29ba33[_0x307618(0x18f)][_0x307618(0x18f)]};break;}case S['CollaborationEvent'][_0x307618(0x32a)]:{_0x594013={'eventID':S[_0x307618(0x35a)][_0x307618(0x32a)],'liveShareRequestHost':_0x29ba33[_0x307618(0x18f)]['data']};break;}case S[_0x307618(0x35a)][_0x307618(0x40d)]:{_0x594013={'eventID':S[_0x307618(0x35a)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x594013={'eventID':_0x29ba33['data']['eventID']};}return JSON['stringify']({'cmd':_0x29ba33[_0x307618(0x5a3)],'routeKey':_0x29ba33[_0x307618(0x4f2)],'collaMsg':_0x594013});}case G[_0x307618(0x1d3)]:return JSON[_0x307618(0x2d1)]({'cmd':_0x29ba33[_0x307618(0x5a3)],'routeKey':_0x29ba33['routeKey'],'joinReq':_0x29ba33[_0x307618(0x18f)]});case G[_0x307618(0x5c2)]:return JSON['stringify']({'cmd':_0x29ba33[_0x307618(0x5a3)],'routeKey':_0x29ba33[_0x307618(0x4f2)],'leaveReq':_0x29ba33[_0x307618(0x18f)]});default:throw new Error(_0x307618(0x357));}}var Xn=Object[_0x4a9685(0x377)],Jn=Object[_0x4a9685(0x484)],Zn=(_0x1be594,_0x259c43,_0x1c13e3,_0x16ce22)=>{const _0x208297=_0x4a9685;for(var _0x9d7745=_0x16ce22>0x1?void 0x0:_0x16ce22?Jn(_0x259c43,_0x1c13e3):_0x259c43,_0x45033b=_0x1be594[_0x208297(0x530)]-0x1,_0x584ef3;_0x45033b>=0x0;_0x45033b--)(_0x584ef3=_0x1be594[_0x45033b])&&(_0x9d7745=(_0x16ce22?_0x584ef3(_0x259c43,_0x1c13e3,_0x9d7745):_0x584ef3(_0x9d7745))||_0x9d7745);return _0x16ce22&&_0x9d7745&&Xn(_0x259c43,_0x1c13e3,_0x9d7745),_0x9d7745;},we=(_0x3ebd51,_0x4115ee)=>(_0x136d2f,_0x538dc4)=>_0x4115ee(_0x136d2f,_0x538dc4,_0x3ebd51);const bt=a[_0x4a9685(0x1e3)](_0x4a9685(0x55f));function Qn(_0x20aba7,_0x4a42f7,_0x45f844){const _0x4531c1=_0x4a9685;return _0x20aba7+'/'+_0x4a42f7+_0x4531c1(0x33b)+_0x45f844+_0x4531c1(0x199);}exports[_0x4a9685(0x53c)]=class extends a[_0x4a9685(0x261)]{constructor(_0xecb7b,_0x1963c0,_0xfc0bb6,_0x2d7033,_0x1ee8cd){const _0xc8a667=_0x4a9685;super(),this[_0xc8a667(0x23d)]=_0xecb7b,this[_0xc8a667(0x3c1)]=_0x1963c0,this[_0xc8a667(0x294)]=_0xfc0bb6,this[_0xc8a667(0x480)]=_0x2d7033,this['_snapshotServerService']=_0x1ee8cd;}[_0x4a9685(0x332)](_0x19e762){const _0x70e249=_0x4a9685,_0x428da3=this['_ws'][_0x70e249(0x332)](_0x19e762);if(!_0x428da3)throw new Error(_0x70e249(0x1f6));const _0x5549f4=new a[(_0x70e249(0x4b2))](),_0x4fa8b8=new A[(_0x70e249(0x4c3))]();_0x5549f4[_0x70e249(0x42a)](_0x428da3['close$'][_0x70e249(0x419)](_0x617ecc=>_0x4fa8b8['next'](_0x617ecc))),_0x5549f4[_0x70e249(0x42a)](a['toDisposable'](()=>_0x4fa8b8[_0x70e249(0x2f7)]()));const _0x231723=new A[(_0x70e249(0x4c3))]();_0x5549f4[_0x70e249(0x42a)](_0x428da3[_0x70e249(0x37c)]['subscribe'](_0xb183ce=>_0x231723['next'](_0xb183ce))),_0x5549f4[_0x70e249(0x42a)](a[_0x70e249(0x4fd)](()=>_0x231723['complete']()));const _0x25253c=new A[(_0x70e249(0x4c3))]();_0x5549f4[_0x70e249(0x42a)](_0x428da3[_0x70e249(0x1cf)][_0x70e249(0x419)](_0x1cb8f7=>{const _0x3e40d3=hn(_0x1cb8f7);_0x25253c['next'](_0x3e40d3);})),_0x5549f4[_0x70e249(0x42a)](a['toDisposable'](()=>_0x25253c[_0x70e249(0x2f7)]()));let _0x230ad1;const _0x32e2a7=()=>{const _0x94e3ca=_0x70e249;_0x231723[_0x94e3ca(0x503)](new Event(_0x94e3ca(0x182))),_0x4fa8b8[_0x94e3ca(0x503)](new CloseEvent(_0x94e3ca(0x182))),_0x230ad1[_0x94e3ca(0x176)]();};return _0x230ad1={'memberID':'','close$':_0x4fa8b8['asObservable'](),'error$':_0x231723[_0x70e249(0x135)](),'open$':_0x428da3[_0x70e249(0x5d5)],'message$':_0x25253c[_0x70e249(0x135)](),'send':_0x6e4dc=>{const _0x267ebf=_0x70e249;if(_0x6e4dc[_0x267ebf(0x5a3)]===G[_0x267ebf(0x3a1)]){if(_0x6e4dc['data'][_0x267ebf(0x3af)]===S[_0x267ebf(0x35a)][_0x267ebf(0x5eb)]){this[_0x267ebf(0x26f)](_0x230ad1,_0x6e4dc['data'])['catch'](_0x3a00ff=>{const _0x4e2661=_0x267ebf;this[_0x4e2661(0x480)][_0x4e2661(0x3d8)](_0x3a00ff),_0x32e2a7();});return;}if(_0x6e4dc[_0x267ebf(0x18f)][_0x267ebf(0x3af)]===S[_0x267ebf(0x35a)][_0x267ebf(0x2b4)]){const _0x12c3a9=_0x6e4dc[_0x267ebf(0x18f)];this[_0x267ebf(0x4a4)](_0x12c3a9)['then'](_0x430cc1=>{const _0x5007b4=_0x267ebf;_0x25253c['next']({'cmd':G[_0x5007b4(0x52e)],'code':Et['OK'],'routeKey':_0x12c3a9['data'][_0x5007b4(0x197)],'routeType':'','data':{'eventID':S[_0x5007b4(0x35a)][_0x5007b4(0x47b)],'data':{'changesets':_0x430cc1}}});})[_0x267ebf(0x4f9)](_0x5c35fa=>{const _0x2adf3d=_0x267ebf;this[_0x2adf3d(0x480)][_0x2adf3d(0x3d8)](_0x5c35fa),_0x32e2a7();});return;}}_0x428da3[_0x267ebf(0x170)](_n(_0x6e4dc));},'close':()=>{const _0x5569d7=_0x70e249;_0x428da3[_0x5569d7(0x176)](),_0x5549f4[_0x5569d7(0x1d7)]();}},_0x230ad1;}async[_0x4a9685(0x26f)](_0x5d1567,_0x7df8b0){const _0x10b6df=_0x4a9685;var _0x4018b1,_0x151791;const {unitType:_0x6ed9ea,unitID:_0x263e72,changeset:_0x9f83c2}=_0x7df8b0[_0x10b6df(0x18f)],_0x154d36={'unitID':_0x263e72,'memberID':_0x5d1567[_0x10b6df(0x1e5)],'type':_0x6ed9ea,'changeset':S[_0x10b6df(0x424)](_0x9f83c2)},_0xc4d8ab=this['_configService'][_0x10b6df(0x4a1)](on),_0x4a4220=this[_0x10b6df(0x294)][_0x10b6df(0x4a1)](te),_0x3200dd=Qn((_0x151791=(_0x4018b1=_0x4a4220==null?void 0x0:_0x4a4220['collabSubmitChangesetUrl'])!=null?_0x4018b1:_0xc4d8ab)!=null?_0x151791:Kn,_0x6ed9ea,_0x263e72);try{await this[_0x10b6df(0x23d)][_0x10b6df(0x171)](_0x3200dd,{'body':_0x154d36});}catch(_0x1b7e84){throw this[_0x10b6df(0x480)][_0x10b6df(0x3d8)](_0x10b6df(0x404),_0x10b6df(0x165)),_0x1b7e84;}}async['_fetchMissChangesets'](_0x2dc864){const _0x2ae173=_0x4a9685,{unitID:_0x5b0ee0,from:_0x571f2a,to:_0x37849b,unitType:_0xb295d9}=_0x2dc864[_0x2ae173(0x18f)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5b0ee0,'type':_0xb295d9,'from':_0x571f2a,'to':_0x37849b}))[_0x2ae173(0x2c1)];}},exports[_0x4a9685(0x53c)]=Zn([we(0x0,a[_0x4a9685(0x27a)](Z['HTTPService'])),we(0x1,a[_0x4a9685(0x27a)](Z['WebSocketService'])),we(0x2,a[_0x4a9685(0x3fb)]),we(0x3,a[_0x4a9685(0x2e8)]),we(0x4,S[_0x4a9685(0x188)])],exports['CollaborationSocketService']);const ei='collaboration_new_changeset';function ti(_0x1f671c){const _0x34b9ac=_0x4a9685;return JSON[_0x34b9ac(0x2d1)](_0x1f671c)[_0x34b9ac(0x530)];}class Tt{constructor(){const _0x232f63=_0x4a9685;I(this,_0x232f63(0x262),new A['Subject']()),I(this,'commentUpdate$',this['_commentUpdate$'][_0x232f63(0x135)]());}[_0x4a9685(0x26e)](_0x444124){const _0x5c24c9=_0x4a9685;this['_commentUpdate$'][_0x5c24c9(0x503)](_0x444124);}}var ni=Object[_0x4a9685(0x377)],ii=Object[_0x4a9685(0x484)],si=(_0x50d48a,_0x36e93f,_0x7de9a9,_0x5dacec)=>{const _0x5969e0=_0x4a9685;for(var _0x13c0c7=_0x5dacec>0x1?void 0x0:_0x5dacec?ii(_0x36e93f,_0x7de9a9):_0x36e93f,_0x1eaf5b=_0x50d48a[_0x5969e0(0x530)]-0x1,_0x1d19a9;_0x1eaf5b>=0x0;_0x1eaf5b--)(_0x1d19a9=_0x50d48a[_0x1eaf5b])&&(_0x13c0c7=(_0x5dacec?_0x1d19a9(_0x36e93f,_0x7de9a9,_0x13c0c7):_0x1d19a9(_0x13c0c7))||_0x13c0c7);return _0x5dacec&&_0x13c0c7&&ni(_0x36e93f,_0x7de9a9,_0x13c0c7),_0x13c0c7;},Ut=(_0x6f5f68,_0x223f89)=>(_0x104f65,_0x5ac08e)=>_0x223f89(_0x104f65,_0x5ac08e,_0x6f5f68);exports[_0x4a9685(0x3e1)]=class extends a['Disposable']{constructor(_0x129b6b,_0x4ed26b){const _0x403638=_0x4a9685;super(),I(this,_0x403638(0x59c),new Map()),(this[_0x403638(0x54a)]=_0x129b6b,this[_0x403638(0x31f)]=_0x4ed26b,this['disposeWithMe'](a[_0x403638(0x4fd)](A[_0x403638(0x345)](this['_univerInstanceService'][_0x403638(0x388)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](V[_0x403638(0x28a)](_0x3f753e=>_0x3f753e[_0x403638(0x56f)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x403638(0x33e)][_0x403638(0x22a)])[_0x403638(0x172)](V['map'](_0x42744c=>_0x42744c[_0x403638(0x56f)]())),this[_0x403638(0x54a)][_0x403638(0x388)](a[_0x403638(0x33e)]['UNIVER_SLIDE'])['pipe'](V[_0x403638(0x28a)](_0x24056b=>_0x24056b[_0x403638(0x56f)]())))[_0x403638(0x419)](_0x358881=>this[_0x403638(0x1cc)](_0x358881)))));}[_0x4a9685(0x14d)](_0x5e402f){const _0x4d834e=_0x4a9685;this[_0x4d834e(0x31f)][_0x4d834e(0x14d)](_0x5e402f);}[_0x4a9685(0x459)](){const _0x213715=_0x4a9685;return this[_0x213715(0x31f)][_0x213715(0x459)]();}['updateMember'](_0x348313,_0x3b3bf1){const _0x248f54=_0x4a9685;let _0x3710bf=this[_0x248f54(0x59c)]['get'](_0x348313);_0x3710bf||(_0x3710bf=new ri(),this[_0x248f54(0x59c)]['set'](_0x348313,_0x3710bf)),_0x3710bf['updateMember'](_0x3b3bf1);}['removeMember'](_0x255bd7,_0x182056){const _0x1ddfe9=_0x4a9685,_0x4a7aa9=this['_roomMembers'][_0x1ddfe9(0x542)](_0x255bd7);_0x4a7aa9&&_0x4a7aa9[_0x1ddfe9(0x1de)](_0x182056);}[_0x4a9685(0x1c2)](_0x35e715){const _0x4af77=_0x4a9685;return this['_roomMembers'][_0x4af77(0x542)](_0x35e715);}['getMember'](_0x15d990,_0x10d825){const _0x234c5c=_0x4a9685,_0x216696=this['_roomMembers'][_0x234c5c(0x542)](_0x15d990);if(_0x216696)return _0x216696[_0x234c5c(0x5a6)](_0x10d825);}['_removeRoom'](_0x19fe95){const _0x1603bd=_0x4a9685,_0x392016=this[_0x1603bd(0x59c)][_0x1603bd(0x542)](_0x19fe95);_0x392016&&(_0x392016['dispose'](),this[_0x1603bd(0x59c)][_0x1603bd(0x224)](_0x19fe95));}['dispose'](){const _0x200158=_0x4a9685;this[_0x200158(0x59c)][_0x200158(0x38f)](_0x317ed0=>_0x317ed0[_0x200158(0x1d7)]()),this[_0x200158(0x59c)]['clear']();}},exports['MemberService']=si([Ut(0x0,a[_0x4a9685(0x3c5)]),Ut(0x1,a[_0x4a9685(0x27a)](a['UserManagerService']))],exports[_0x4a9685(0x3e1)]);class ri extends a[_0x4a9685(0x261)]{constructor(){const _0x46fd7f=_0x4a9685;super(...arguments),I(this,_0x46fd7f(0x143),new Map());}[_0x4a9685(0x1d7)](){const _0x38eceb=_0x4a9685;this[_0x38eceb(0x143)][_0x38eceb(0x271)]();}[_0x4a9685(0x31e)](_0x43e870){const _0x14723a=_0x4a9685;this[_0x14723a(0x143)][_0x14723a(0x568)](_0x43e870['memberID'],_0x43e870);}[_0x4a9685(0x1de)](_0x332ce9){const _0x3e55f7=_0x4a9685;this[_0x3e55f7(0x143)][_0x3e55f7(0x224)](_0x332ce9);}[_0x4a9685(0x5a6)](_0x118388){const _0xabdc51=_0x4a9685;return this['_members'][_0xabdc51(0x542)](_0x118388);}[_0x4a9685(0x2c0)](){const _0x5225dc=_0x4a9685;return Array[_0x5225dc(0x239)](this[_0x5225dc(0x143)]['values']());}}var oi=Object[_0x4a9685(0x377)],ai=Object[_0x4a9685(0x484)],ci=(_0x39ac44,_0x563e19,_0x50ab2e,_0x34cdbe)=>{const _0x48bd85=_0x4a9685;for(var _0x1bf32f=_0x34cdbe>0x1?void 0x0:_0x34cdbe?ai(_0x563e19,_0x50ab2e):_0x563e19,_0x1f515e=_0x39ac44[_0x48bd85(0x530)]-0x1,_0x50b5f2;_0x1f515e>=0x0;_0x1f515e--)(_0x50b5f2=_0x39ac44[_0x1f515e])&&(_0x1bf32f=(_0x34cdbe?_0x50b5f2(_0x563e19,_0x50ab2e,_0x1bf32f):_0x50b5f2(_0x1bf32f))||_0x1bf32f);return _0x34cdbe&&_0x1bf32f&&oi(_0x563e19,_0x50ab2e,_0x1bf32f),_0x1bf32f;},de=(_0x240b38,_0x377456)=>(_0x4a948c,_0x5266f0)=>_0x377456(_0x4a948c,_0x5266f0,_0x240b38),se=(_0x23278c=>(_0x23278c[_0x23278c[_0x4a9685(0x3a0)]=0x0]=_0x4a9685(0x3a0),_0x23278c[_0x23278c['JOINING']=0x1]=_0x4a9685(0x543),_0x23278c[_0x23278c['OFFLINE']=0x2]=_0x4a9685(0x338),_0x23278c[_0x23278c[_0x4a9685(0x244)]=0x3]=_0x4a9685(0x244),_0x23278c))(se||{});exports[_0x4a9685(0x2d2)]=class extends a[_0x4a9685(0x2c7)]{constructor(_0x257ed3,_0xa5032a,_0x1cc9bd,_0x574612,_0x3759e2,_0xe42d43,_0x4dbefa,_0x1ccbc7,_0x27f264,_0x4f7639){const _0x4ac145=_0x4a9685;super(),I(this,_0x4ac145(0x138),new A[(_0x4ac145(0x563))](0x0)),I(this,_0x4ac145(0x44d),this[_0x4ac145(0x138)][_0x4ac145(0x135)]()),I(this,_0x4ac145(0x50b),new A[(_0x4ac145(0x4c3))]()),I(this,_0x4ac145(0x297),this[_0x4ac145(0x50b)][_0x4ac145(0x135)]()),I(this,_0x4ac145(0x2ef)),I(this,_0x4ac145(0x3df)),I(this,_0x4ac145(0x405)),I(this,_0x4ac145(0x5b5),!0x1),I(this,_0x4ac145(0x33f),null),(this[_0x4ac145(0x18a)]=_0x257ed3,this[_0x4ac145(0x480)]=_0x1cc9bd,this[_0x4ac145(0x5b8)]=_0x574612,this[_0x4ac145(0x3a7)]=_0x3759e2,this['_configService']=_0xe42d43,this['_localeService']=_0x4dbefa,this[_0x4ac145(0x1f9)]=_0x1ccbc7,this[_0x4ac145(0x346)]=_0x27f264,this[_0x4ac145(0x1d9)]=_0x4f7639,this[_0x4ac145(0x5b5)]=!!this[_0x4ac145(0x1d9)],_0xa5032a[_0x4ac145(0x172)](A[_0x4ac145(0x5e8)](this['dispose$']))['subscribe'](_0x1c0cb5=>{const _0x198fa6=_0x4ac145;var _0x33f8db;typeof _0x1c0cb5>'u'||(this[_0x198fa6(0x2ef)]=_0x1c0cb5,_0x1c0cb5?(this[_0x198fa6(0x260)](_0x1c0cb5),this['_socketMessageSubscription']=_0x1c0cb5[_0x198fa6(0x1cf)][_0x198fa6(0x419)](_0x208027=>{const _0x3b023b=_0x198fa6;_0x208027[_0x3b023b(0x4f2)]===this[_0x3b023b(0x18a)]&&this[_0x3b023b(0x59f)](_0x208027);})):(this[_0x198fa6(0x1b7)](),this['_sessionStatus$']['next'](0x2),(_0x33f8db=this['_socketMessageSubscription'])==null||_0x33f8db['unsubscribe'](),this[_0x198fa6(0x3df)]=null));}),this[_0x4ac145(0x3c7)](this[_0x4ac145(0x5b8)][_0x4ac145(0x281)](()=>{const _0x1c60df=_0x4ac145;var _0x2ee6a1;(_0x2ee6a1=this['_socket'])==null||_0x2ee6a1[_0x1c60df(0x170)]({'cmd':G[_0x1c60df(0x5c2)],'data':{'roomID':this[_0x1c60df(0x18a)]}});})));}get['sessionStatus'](){const _0x257c7c=_0x4a9685;return this[_0x257c7c(0x138)][_0x257c7c(0x1ae)]();}[_0x4a9685(0x204)](){const _0x3bd8bf=_0x4a9685;var _0x169532,_0x3691ab;return(_0x3691ab=(_0x169532=this['_socket'])==null?void 0x0:_0x169532[_0x3bd8bf(0x1e5)])!=null?_0x3691ab:null;}['dispose'](){const _0x534565=_0x4a9685;super[_0x534565(0x1d7)](),this[_0x534565(0x5c9)][_0x534565(0x503)](),this['dispose$']['complete']();}['close'](){const _0x25a19f=_0x4a9685;var _0x45a88a,_0xcddd46;this[_0x25a19f(0x1b7)](),(_0x45a88a=this[_0x25a19f(0x2ef)])==null||_0x45a88a[_0x25a19f(0x170)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x25a19f(0x18a)]}}),(_0xcddd46=this[_0x25a19f(0x2ef)])==null||_0xcddd46[_0x25a19f(0x176)](),this[_0x25a19f(0x50b)][_0x25a19f(0x2f7)](),this[_0x25a19f(0x138)][_0x25a19f(0x2f7)](),this[_0x25a19f(0x1d7)]();}[_0x4a9685(0x59f)](_0x461e28){const _0xca78b3=_0x4a9685;_0x461e28['cmd']===G[_0xca78b3(0x1d3)]?this[_0xca78b3(0x58c)](_0x461e28):_0x461e28[_0xca78b3(0x5a3)]===G[_0xca78b3(0x52e)]&&this[_0xca78b3(0x479)](_0x461e28);}[_0x4a9685(0x260)](_0x207b69){const _0x3363b4=_0x4a9685;this[_0x3363b4(0x138)][_0x3363b4(0x503)](0x1),_0x207b69[_0x3363b4(0x170)]({'cmd':G[_0x3363b4(0x1d3)],'routeKey':this[_0x3363b4(0x18a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3363b4(0x18a)]}]}});}['_onJoinRoomEvent'](_0x2010d8){const _0x509920=_0x4a9685;var _0x4739e1;if(_0x2010d8['code']===Et[_0x509920(0x5d6)]){this['_messageService'][_0x509920(0x36b)]({'type':ge['MessageType'][_0x509920(0x174)],'content':this[_0x509920(0x39c)]['t']('session.room-full')}),this[_0x509920(0x138)][_0x509920(0x503)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x6eb6f9=(_0x4739e1=_0x2010d8[_0x509920(0x18f)]['roomInfos'][this[_0x509920(0x18a)]])==null?void 0x0:_0x4739e1[_0x509920(0x1e4)];_0x6eb6f9&&_0x6eb6f9[_0x509920(0x38f)](_0x192297=>this['_memberService'][_0x509920(0x31e)](this['_unitID'],_0x192297));}[_0x4a9685(0x479)](_0x293577){const _0x2cf106=_0x4a9685;try{const _0x557abd=_0x293577[_0x2cf106(0x18f)];switch(_0x557abd[_0x2cf106(0x3af)]){case S[_0x2cf106(0x35a)][_0x2cf106(0x1ec)]:this[_0x2cf106(0x34a)](_0x557abd),this[_0x2cf106(0x50b)][_0x2cf106(0x503)](_0x557abd);break;case S[_0x2cf106(0x35a)][_0x2cf106(0x5c3)]:this['_onUserLeave'](_0x557abd),this[_0x2cf106(0x50b)]['next'](_0x557abd);break;case S['CollaborationEvent']['CHANGESET_ACK']:case S[_0x2cf106(0x35a)][_0x2cf106(0x398)]:this[_0x2cf106(0x5ac)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x2cf106(0x503)](_0x557abd);break;case S[_0x2cf106(0x35a)][_0x2cf106(0x42e)]:this[_0x2cf106(0x480)][_0x2cf106(0x3d8)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x2cf106(0x2d1)](_0x557abd)),this[_0x2cf106(0x50b)][_0x2cf106(0x503)](_0x557abd);break;case S[_0x2cf106(0x35a)][_0x2cf106(0x38a)]:this['_commentService'][_0x2cf106(0x26e)](_0x557abd[_0x2cf106(0x18f)]),this[_0x2cf106(0x50b)][_0x2cf106(0x503)](_0x557abd);break;default:this['_event$'][_0x2cf106(0x503)](_0x557abd);}}catch(_0x4d1e7f){this[_0x2cf106(0x480)]['error'](_0x4d1e7f,_0x293577);}}['_onUserJoin'](_0x16a835){const _0x2b2812=_0x4a9685;this['_memberService'][_0x2b2812(0x31e)](this[_0x2b2812(0x18a)],_0x16a835[_0x2b2812(0x18f)]);}[_0x4a9685(0x31b)](_0x2aefb0){const _0x16a645=_0x4a9685;this[_0x16a645(0x1f9)][_0x16a645(0x1de)](this['_unitID'],_0x2aefb0[_0x16a645(0x18f)][_0x16a645(0x1e5)]);}async[_0x4a9685(0x170)](_0x26628d,_0x385c69){const _0x225509=_0x4a9685;if(this[_0x225509(0x450)]!==0x3||!this['_socket'])throw new Error(_0x225509(0x515));try{_0x26628d[_0x225509(0x3af)]===S[_0x225509(0x35a)]['SUBMIT_CHANGESET']&&(this[_0x225509(0x28f)](),this[_0x225509(0x548)](_0x26628d)),this['_socket']['send']({'cmd':G[_0x225509(0x3a1)],'routeKey':_0x385c69,'routeType':'','data':_0x26628d});}catch(_0x246136){this['_logService'][_0x225509(0x3d8)](_0x246136);}}[_0x4a9685(0x28f)](){const _0x43438e=_0x4a9685;var _0x1cf6ce;this['_collaborationTimeoutTimer']=window[_0x43438e(0x595)](()=>{const _0x187d0b=_0x43438e;this[_0x187d0b(0x405)]=null,this['_messageService']['show']({'type':ge[_0x187d0b(0x2e3)][_0x187d0b(0x2d0)],'content':this[_0x187d0b(0x39c)]['t']('session.collaboration-timeout')});},(_0x1cf6ce=this['_configService'][_0x43438e(0x4a1)](Ct))!=null?_0x1cf6ce:nn);}[_0x4a9685(0x278)](){const _0x5aece3=_0x4a9685;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5aece3(0x405)]),this[_0x5aece3(0x405)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x54a588){const _0x4275e3=_0x4a9685;if(!this[_0x4275e3(0x5b5)])return;const {data:_0x204a6d}=_0x54a588,{unitID:_0x1d8ec2,changeset:_0x3548c1}=_0x204a6d,{mutations:_0x4e2931,type:_0xb7aea7}=_0x3548c1;this[_0x4275e3(0x33f)]={'unitId':_0x1d8ec2,'type':_0xb7aea7,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x4e2931)};}[_0x4a9685(0x5ac)](){const _0x3f6353=_0x4a9685;if(this[_0x3f6353(0x5b5)]){if(!this[_0x3f6353(0x33f)]){this[_0x3f6353(0x480)][_0x3f6353(0x3d8)](_0x3f6353(0x404),_0x3f6353(0x157));return;}this['_telemetryInfo'][_0x3f6353(0x26c)]=performance[_0x3f6353(0x358)](),this[_0x3f6353(0x33f)][_0x3f6353(0x301)]=this[_0x3f6353(0x33f)][_0x3f6353(0x26c)]-this['_telemetryInfo'][_0x3f6353(0x5ab)],this[_0x3f6353(0x1d9)][_0x3f6353(0x15a)](ei,this['_telemetryInfo']),this[_0x3f6353(0x33f)]=null;}}[_0x4a9685(0x1b7)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=ci([de(0x2,a[_0x4a9685(0x2e8)]),de(0x3,ee['IBeforeCloseService']),de(0x4,ee[_0x4a9685(0x27d)]),de(0x5,a[_0x4a9685(0x3fb)]),de(0x6,a['Inject'](a[_0x4a9685(0x4a8)])),de(0x7,a[_0x4a9685(0x27a)](exports['MemberService'])),de(0x8,a[_0x4a9685(0x27a)](Tt)),de(0x9,a[_0x4a9685(0x59b)](jn[_0x4a9685(0x483)]))],exports[_0x4a9685(0x2d2)]);var li=Object[_0x4a9685(0x377)],hi=Object['getOwnPropertyDescriptor'],_i=(_0xeeea51,_0x128b59,_0x2e14a8,_0x12327a)=>{const _0x2468b9=_0x4a9685;for(var _0x5ac518=_0x12327a>0x1?void 0x0:_0x12327a?hi(_0x128b59,_0x2e14a8):_0x128b59,_0x1b1799=_0xeeea51[_0x2468b9(0x530)]-0x1,_0x57ac1e;_0x1b1799>=0x0;_0x1b1799--)(_0x57ac1e=_0xeeea51[_0x1b1799])&&(_0x5ac518=(_0x12327a?_0x57ac1e(_0x128b59,_0x2e14a8,_0x5ac518):_0x57ac1e(_0x5ac518))||_0x5ac518);return _0x12327a&&_0x5ac518&&li(_0x128b59,_0x2e14a8,_0x5ac518),_0x5ac518;},Ee=(_0x1db3c5,_0x4a61df)=>(_0x4d36c0,_0x498cfa)=>_0x4a61df(_0x4d36c0,_0x498cfa,_0x1db3c5);exports['CollaborationSessionService']=class extends a[_0x4a9685(0x261)]{constructor(_0x11fd66,_0x15e69a,_0x1f15f7,_0x5e66a6,_0x264414,_0x2a514f){const _0x4edd9c=_0x4a9685;super(),I(this,_0x4edd9c(0x491),new A[(_0x4edd9c(0x563))](void 0x0)),I(this,_0x4edd9c(0x495),this['_socket$'][_0x4edd9c(0x135)]()),I(this,_0x4edd9c(0x2d4),null),I(this,'_sessions',new Map()),I(this,'_status$',new A[(_0x4edd9c(0x563))](se[_0x4edd9c(0x3a0)])),I(this,_0x4edd9c(0x4ba),this[_0x4edd9c(0x366)]['asObservable']()),I(this,_0x4edd9c(0x392),!0x1),I(this,_0x4edd9c(0x3c9)),I(this,_0x4edd9c(0x4f1),0x0),I(this,_0x4edd9c(0x349)),I(this,'_timeoutTimer'),(this[_0x4edd9c(0x372)]=_0x11fd66,this[_0x4edd9c(0x39c)]=_0x15e69a,this[_0x4edd9c(0x3a7)]=_0x1f15f7,this[_0x4edd9c(0x480)]=_0x5e66a6,this[_0x4edd9c(0x294)]=_0x264414,this[_0x4edd9c(0x48b)]=_0x2a514f,this[_0x4edd9c(0x39f)]());}get[_0x4a9685(0x2ef)](){const _0x1b9ee5=_0x4a9685;return this['_socket$'][_0x1b9ee5(0x1ae)]();}[_0x4a9685(0x39f)](){const _0x3d7d2c=_0x4a9685;this[_0x3d7d2c(0x57b)](),this['_listenToOnlineEvent']();}[_0x4a9685(0x1d7)](){const _0x53f35d=_0x4a9685;super['dispose'](),this[_0x53f35d(0x577)][_0x53f35d(0x38f)](_0x2f9b6d=>_0x2f9b6d[_0x53f35d(0x1d7)]()),this[_0x53f35d(0x577)]['clear'](),this[_0x53f35d(0x366)][_0x53f35d(0x2f7)]();}async[_0x4a9685(0x461)](_0x4eeb6c){const _0x1f63f3=_0x4a9685;if(this[_0x1f63f3(0x577)]['has'](_0x4eeb6c))return this[_0x1f63f3(0x577)][_0x1f63f3(0x542)](_0x4eeb6c);this[_0x1f63f3(0x160)]();const _0x206205=this[_0x1f63f3(0x372)]['createInstance'](exports['CollaborationSession'],_0x4eeb6c,this[_0x1f63f3(0x491)][_0x1f63f3(0x135)]());return this[_0x1f63f3(0x577)]['set'](_0x4eeb6c,_0x206205),_0x206205;}['closeSession'](_0xe6278e){const _0x14a245=_0x4a9685;var _0x31cd7f;const _0x3bccf9=this[_0x14a245(0x577)][_0x14a245(0x542)](_0xe6278e);_0x3bccf9&&(this[_0x14a245(0x577)]['delete'](_0xe6278e),_0x3bccf9['close']()),this[_0x14a245(0x577)][_0x14a245(0x2d6)]||(_0x31cd7f=this['_socket'])==null||_0x31cd7f[_0x14a245(0x176)]();}[_0x4a9685(0x24a)](){const _0x55eca2=_0x4a9685;this[_0x55eca2(0x4f1)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x55eca2(0x3c9)]),this['_retryConnectingTimer']=null),this[_0x55eca2(0x24c)]();}[_0x4a9685(0x1b3)](){const _0x2c5e23=_0x4a9685;var _0xddd346,_0x40b1a0;const _0x44e80a=this[_0x2c5e23(0x294)]['getConfig'](en),_0xd7ef34=this[_0x2c5e23(0x294)][_0x2c5e23(0x4a1)](te),_0x2f621c=(_0x40b1a0=(_0xddd346=_0xd7ef34==null?void 0x0:_0xd7ef34[_0x2c5e23(0x253)])!=null?_0xddd346:_0x44e80a)!=null?_0x40b1a0:Wn,_0x1702d8=this[_0x2c5e23(0x48b)][_0x2c5e23(0x332)](_0x2f621c);return this[_0x2c5e23(0x2d4)]=_0x1702d8,_0x1702d8;}['_tryEnsureSocket'](){const _0x4c5249=_0x4a9685;var _0x48c4d5,_0x14b36d;try{const _0x26a5f4=(_0x14b36d=(_0x48c4d5=this['_socket'])!=null?_0x48c4d5:this[_0x4c5249(0x2d4)])!=null?_0x14b36d:this[_0x4c5249(0x1b3)]();if(_0x26a5f4){const _0x805f17=_0x26a5f4[_0x4c5249(0x170)];_0x26a5f4[_0x4c5249(0x170)]=_0x3fdb26=>(this['_rescheduleHeartbeat'](),_0x805f17['apply'](_0x26a5f4,[_0x3fdb26])),_0x26a5f4[_0x4c5249(0x1cf)][_0x4c5249(0x419)](_0x41417b=>this['_onMessage'](_0x26a5f4,_0x41417b)),_0x26a5f4[_0x4c5249(0x37c)]['pipe'](V[_0x4c5249(0x3a5)](0x1))['subscribe'](_0x36da5e=>this[_0x4c5249(0x480)]['error'](_0x4c5249(0x37e),_0x36da5e)),_0x26a5f4[_0x4c5249(0x5d5)][_0x4c5249(0x172)](V[_0x4c5249(0x3a5)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x26a5f4);}),_0x26a5f4['close$']['pipe'](V[_0x4c5249(0x3a5)](0x1))[_0x4c5249(0x419)](_0x2d05c8=>{const _0x1ba83b=_0x4c5249;this[_0x1ba83b(0x480)][_0x1ba83b(0x37a)](_0x1ba83b(0x25a),'socket\x20close',_0x2d05c8),this['_onConnectionFailed']();});}}catch(_0x4598fd){this[_0x4c5249(0x480)][_0x4c5249(0x3d8)](_0x4598fd),this[_0x4c5249(0x254)]();}}[_0x4a9685(0x408)](_0x7636c3){const _0x5dd8df=_0x4a9685;this[_0x5dd8df(0x480)][_0x5dd8df(0x37a)](_0x5dd8df(0x25a),_0x5dd8df(0x56d)),_0x7636c3[_0x5dd8df(0x170)]({'cmd':G[_0x5dd8df(0x3f5)]}),this[_0x5dd8df(0x4fb)]();}[_0x4a9685(0x57b)](){const _0x41b34d=_0x4a9685;window[_0x41b34d(0x368)](_0x41b34d(0x277),()=>this[_0x41b34d(0x263)]());}[_0x4a9685(0x263)](){const _0x411675=_0x4a9685;this[_0x411675(0x392)]=!0x1,this[_0x411675(0x2d4)]=null,this[_0x411675(0x366)][_0x411675(0x503)](se[_0x411675(0x338)]),this[_0x411675(0x491)][_0x411675(0x503)](null),this[_0x411675(0x299)](),this[_0x411675(0x33c)]();}[_0x4a9685(0x254)](){const _0x247087=_0x4a9685;var _0x1b5153;this[_0x247087(0x263)](),this[_0x247087(0x4f1)]<((_0x1b5153=this[_0x247087(0x294)]['getConfig'](sn))!=null?_0x1b5153:Gn)?(this['_messageService'][_0x247087(0x36b)]({'key':'collaboration-session-retry','type':ge[_0x247087(0x2e3)][_0x247087(0x174)],'content':this[_0x247087(0x39c)]['t'](_0x247087(0x573))}),this[_0x247087(0x24c)]()):this[_0x247087(0x3a7)][_0x247087(0x36b)]({'key':_0x247087(0x508),'type':ge[_0x247087(0x2e3)][_0x247087(0x2d0)],'content':this[_0x247087(0x39c)]['t'](_0x247087(0x386))});}[_0x4a9685(0x2bb)](){const _0x496128=_0x4a9685,_0x2d4207=()=>{const _0xa80011=_0x5f2c;this['_socket']||this[_0xa80011(0x24a)]();},_0xa65b88=()=>{const _0x539a9d=_0x5f2c;this[_0x539a9d(0x2ef)]||document[_0x539a9d(0x361)]===_0x539a9d(0x15b)||this['reconnect']();};window['addEventListener']('online',_0x2d4207),document[_0x496128(0x368)](_0x496128(0x2dc),_0xa65b88);}['_tryReconnect'](){const _0x5a8269=_0x4a9685;var _0x4d05a3;const _0x350b32=this['_retryCount'],_0x5e2a5a=this[_0x5a8269(0x294)][_0x5a8269(0x4a1)](te),_0x1d87bc=_0x350b32===0x0?0x0:((_0x4d05a3=_0x5e2a5a==null?void 0x0:_0x5e2a5a[_0x5a8269(0x295)])!=null?_0x4d05a3:Vn)*0x2**_0x350b32;this[_0x5a8269(0x3c9)]=window[_0x5a8269(0x595)](()=>{const _0x709bc8=_0x5a8269;clearTimeout(this[_0x709bc8(0x3c9)]),this['_retryConnectingTimer']=null,this[_0x709bc8(0x160)]();},_0x1d87bc),this[_0x5a8269(0x4f1)]+=0x1;}[_0x4a9685(0x571)](_0x5c98a4,_0xd59711){const _0x34aaba=_0x4a9685,{cmd:_0xd7460c}=_0xd59711;_0xd7460c===G[_0x34aaba(0x3f5)]&&!this['_socketReady']&&(_0x5c98a4['memberID']=_0xd59711[_0x34aaba(0x18f)]['memberID'],this[_0x34aaba(0x491)][_0x34aaba(0x503)](_0x5c98a4),this[_0x34aaba(0x366)][_0x34aaba(0x503)](se['ONLINE']),this[_0x34aaba(0x392)]=!0x0,this[_0x34aaba(0x2d4)]=null),_0xd7460c===G[_0x34aaba(0x427)]&&this[_0x34aaba(0x299)](),this[_0x34aaba(0x4fb)]();}[_0x4a9685(0x4fb)](){const _0x54eafb=_0x4a9685;var _0x1d326d;this['_clearHeartbeatTimer'](),this[_0x54eafb(0x349)]=window['setTimeout'](()=>this[_0x54eafb(0x1f0)](),(_0x1d326d=this[_0x54eafb(0x294)][_0x54eafb(0x4a1)](tn))!=null?_0x1d326d:Fn);}['_sendHeartbeat'](){const _0x1858b5=_0x4a9685;this[_0x1858b5(0x2ef)][_0x1858b5(0x170)]({'cmd':G['HEARTBEAT']}),this[_0x1858b5(0x264)]();}[_0x4a9685(0x264)](){const _0x52dd42=_0x4a9685;var _0x16cd7c;this[_0x52dd42(0x363)]=window['setTimeout'](()=>this[_0x52dd42(0x254)](),(_0x16cd7c=this[_0x52dd42(0x294)][_0x52dd42(0x4a1)](Ct))!=null?_0x16cd7c:nn);}[_0x4a9685(0x33c)](){const _0x1a74db=_0x4a9685;this[_0x1a74db(0x349)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1a74db(0x349)]=null);}[_0x4a9685(0x299)](){const _0x592c2b=_0x4a9685;this[_0x592c2b(0x363)]!=null&&(clearTimeout(this[_0x592c2b(0x363)]),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=_i([Ee(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),Ee(0x1,a['Inject'](a[_0x4a9685(0x4a8)])),Ee(0x2,ee[_0x4a9685(0x27d)]),Ee(0x3,a[_0x4a9685(0x2e8)]),Ee(0x4,a[_0x4a9685(0x3fb)]),Ee(0x5,bt)],exports[_0x4a9685(0x2a7)]);const Y=[];for(let s=0x0;s<0x100;++s)Y['push']((s+0x100)[_0x4a9685(0x350)](0x10)[_0x4a9685(0x2f2)](0x1));function ui(_0x556254,_0x3e7a31=0x0){const _0x83e8a3=_0x4a9685;return(Y[_0x556254[_0x3e7a31+0x0]]+Y[_0x556254[_0x3e7a31+0x1]]+Y[_0x556254[_0x3e7a31+0x2]]+Y[_0x556254[_0x3e7a31+0x3]]+'-'+Y[_0x556254[_0x3e7a31+0x4]]+Y[_0x556254[_0x3e7a31+0x5]]+'-'+Y[_0x556254[_0x3e7a31+0x6]]+Y[_0x556254[_0x3e7a31+0x7]]+'-'+Y[_0x556254[_0x3e7a31+0x8]]+Y[_0x556254[_0x3e7a31+0x9]]+'-'+Y[_0x556254[_0x3e7a31+0xa]]+Y[_0x556254[_0x3e7a31+0xb]]+Y[_0x556254[_0x3e7a31+0xc]]+Y[_0x556254[_0x3e7a31+0xd]]+Y[_0x556254[_0x3e7a31+0xe]]+Y[_0x556254[_0x3e7a31+0xf]])[_0x83e8a3(0x5c4)]();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x18936d=_0x4a9685;if(!Je){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x18936d(0x4ee));Je=crypto[_0x18936d(0x1c8)][_0x18936d(0x151)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x4a9685(0x3a4)][_0x4a9685(0x151)](crypto),Mt={'randomUUID':vi};function mi(_0x51692a,_0x38185a,_0x4f5f25){const _0x1b3080=_0x4a9685;if(Mt[_0x1b3080(0x3a4)]&&!_0x38185a&&!_0x51692a)return Mt[_0x1b3080(0x3a4)]();_0x51692a=_0x51692a||{};const _0x179502=_0x51692a[_0x1b3080(0x588)]||(_0x51692a[_0x1b3080(0x550)]||fi)();return _0x179502[0x6]=_0x179502[0x6]&0xf|0x40,_0x179502[0x8]=_0x179502[0x8]&0x3f|0x80,ui(_0x179502);}var Si=Object[_0x4a9685(0x377)],pi=Object[_0x4a9685(0x484)],gi=(_0x2b387b,_0x3ff0aa,_0x38c8eb,_0x19f33c)=>{for(var _0x43dc87=_0x19f33c>0x1?void 0x0:_0x19f33c?pi(_0x3ff0aa,_0x38c8eb):_0x3ff0aa,_0x4d8f47=_0x2b387b['length']-0x1,_0xb1b877;_0x4d8f47>=0x0;_0x4d8f47--)(_0xb1b877=_0x2b387b[_0x4d8f47])&&(_0x43dc87=(_0x19f33c?_0xb1b877(_0x3ff0aa,_0x38c8eb,_0x43dc87):_0xb1b877(_0x43dc87))||_0x43dc87);return _0x19f33c&&_0x43dc87&&Si(_0x3ff0aa,_0x38c8eb,_0x43dc87),_0x43dc87;},Ze=(_0x59722d,_0x4b1a1c)=>(_0x1ca1bd,_0x2b755e)=>_0x4b1a1c(_0x1ca1bd,_0x2b755e,_0x59722d);let Be=class{constructor(_0x33a6a4,_0x56076b,_0x5ec7fa){const _0x358508=_0x4a9685;this[_0x358508(0x372)]=_0x33a6a4,this['_transformService']=_0x56076b,this[_0x358508(0x582)]=_0x5ec7fa;}[_0x4a9685(0x4fc)](_0x4c3c49){const _0x438717=_0x4a9685;this['_transformUndoRedoStack'](_0x4c3c49),this[_0x438717(0x20b)](_0x4c3c49);}[_0x4a9685(0x203)](_0x498c36){const _0x23e570=_0x4a9685,{unitID:_0x5a00b2}=_0x498c36,_0x17a810=this[_0x23e570(0x582)][_0x23e570(0x31a)](_0x5a00b2)[_0x23e570(0x326)](J[_0x23e570(0x35b)]),{redoCache:_0x2857b7}=_0x17a810[_0x23e570(0x1eb)]();if(_0x2857b7[_0x23e570(0x530)]===0x0)return _0x498c36;let _0x233c20=a[_0x23e570(0x426)]['deepClone'](_0x498c36[_0x23e570(0x1b8)][0x0]);for(let _0x3260d0=0x0;_0x3260d0<_0x2857b7[_0x23e570(0x530)];_0x3260d0++){const _0x5b0747={'id':_0x23e570(0x3cf),'params':{..._0x2857b7[_0x3260d0]}},_0x4c3c5f=this[_0x23e570(0x4f6)][_0x23e570(0x23e)](_0x233c20,_0x5b0747,!0x1);if(S['isTransformMutationFailure'](_0x4c3c5f))throw _0x4c3c5f['error'];_0x233c20=_0x4c3c5f[_0x23e570(0x208)];}return{...a[_0x23e570(0x426)]['deepClone'](_0x498c36),'mutations':[_0x233c20]};}[_0x4a9685(0x3e3)](_0x43c060){const _0x4a5c3b=_0x4a9685,{unitID:_0x22afbe}=_0x43c060,_0x42a87b=this[_0x4a5c3b(0x582)][_0x4a5c3b(0x31a)](_0x22afbe)[_0x4a5c3b(0x326)](J[_0x4a5c3b(0x35b)]),{undoCache:_0x468a6b,redoCache:_0x5ed74d}=_0x42a87b[_0x4a5c3b(0x1eb)]();if(_0x468a6b[_0x4a5c3b(0x530)]===0x0||_0x5ed74d[_0x4a5c3b(0x530)]===0x0)return;const _0x5a10e3=[],_0x1564cd=[];let _0x1e376a=a['Tools']['deepClone'](_0x43c060[_0x4a5c3b(0x1b8)][0x0]),_0x595551=a['Tools'][_0x4a5c3b(0x513)](_0x43c060[_0x4a5c3b(0x1b8)][0x0]);for(let _0x2c0226=_0x468a6b[_0x4a5c3b(0x530)]-0x1;_0x2c0226>=0x0;_0x2c0226--){const _0x305d1a={'id':'doc.mutation.rich-text-editing','params':{..._0x468a6b[_0x2c0226]}},_0x5a1879={'id':_0x4a5c3b(0x3cf),'params':{..._0x5ed74d[_0x2c0226]}},_0x48999b=this['_transformService'][_0x4a5c3b(0x23e)](_0x1e376a,_0x305d1a,!0x1),_0x40ce50=this['_transformService']['transformMutation'](_0x595551,_0x5a1879,!0x1);if(S[_0x4a5c3b(0x498)](_0x48999b))throw _0x48999b[_0x4a5c3b(0x3d8)];if(S['isTransformMutationFailure'](_0x40ce50))throw _0x40ce50[_0x4a5c3b(0x3d8)];_0x5a10e3[_0x4a5c3b(0x1d6)](_0x48999b[_0x4a5c3b(0x403)][_0x4a5c3b(0x4da)]),_0x1564cd['unshift'](_0x40ce50['m2Prime'][_0x4a5c3b(0x4da)]),_0x1e376a=_0x48999b['m1Prime'],_0x595551=_0x40ce50[_0x4a5c3b(0x208)];}_0x42a87b[_0x4a5c3b(0x19d)]({'undoCache':_0x5a10e3,'redoCache':_0x1564cd});}['_transformPreviousActiveRange'](_0x347593){const _0x47a046=_0x4a9685,{unitID:_0x54bcbb}=_0x347593,_0x3fb0b2=this[_0x47a046(0x582)]['getRenderById'](_0x54bcbb)['with'](J['DocIMEInputManagerService']),_0x143772=_0x3fb0b2['getActiveRange']();if(_0x143772==null)return;const _0x4b0d74=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x347593['unitID'],'actions':null,'textRanges':[_0x143772]}}],_0x1d43ad=this[_0x47a046(0x4f6)][_0x47a046(0x4ed)](_0x347593,_0x4b0d74);if(!S['isTransformMutationsWithChangesetSuccess'](_0x1d43ad))throw _0x1d43ad[_0x47a046(0x3d8)];const _0x505c18=_0x1d43ad['m2Prime'][0x0][_0x47a046(0x4da)]['textRanges'];Array[_0x47a046(0x36d)](_0x505c18)&&_0x505c18[_0x47a046(0x530)]&&_0x3fb0b2[_0x47a046(0x4eb)](_0x505c18[0x0]);}};Be=gi([Ze(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),Ze(0x1,S[_0x4a9685(0x315)]),Ze(0x2,K[_0x4a9685(0x147)])],Be);var Ii=Object[_0x4a9685(0x377)],Ci=Object[_0x4a9685(0x484)],Ei=(_0x1dee14,_0x5c3f9e,_0x47b8fb,_0x16b544)=>{for(var _0x233afb=_0x16b544>0x1?void 0x0:_0x16b544?Ci(_0x5c3f9e,_0x47b8fb):_0x5c3f9e,_0x58f1bb=_0x1dee14['length']-0x1,_0x499d1e;_0x58f1bb>=0x0;_0x58f1bb--)(_0x499d1e=_0x1dee14[_0x58f1bb])&&(_0x233afb=(_0x16b544?_0x499d1e(_0x5c3f9e,_0x47b8fb,_0x233afb):_0x499d1e(_0x233afb))||_0x233afb);return _0x16b544&&_0x233afb&&Ii(_0x5c3f9e,_0x47b8fb,_0x233afb),_0x233afb;},Pe=(_0x2fae49,_0x41a866)=>(_0x2926d8,_0xe3de3a)=>_0x41a866(_0x2926d8,_0xe3de3a,_0x2fae49);exports['LocalCacheService']=class extends a['Disposable']{constructor(_0x18b4ba,_0x123008,_0x4340c5,_0x144b40,_0x80ed36){const _0x8b7983=_0x4a9685;super(),I(this,_0x8b7983(0x5f8),new Map()),I(this,_0x8b7983(0x523),new Map()),I(this,'_disabled',!0x1),(this[_0x8b7983(0x294)]=_0x18b4ba,this['_localStorageService']=_0x123008,this[_0x8b7983(0x5b8)]=_0x4340c5,this['_localeService']=_0x144b40,this[_0x8b7983(0x26d)]=_0x80ed36,this[_0x8b7983(0x5b2)]());}[_0x4a9685(0x360)](){const _0x3d7bb0=_0x4a9685;this[_0x3d7bb0(0x2d8)]=!0x0;}[_0x4a9685(0x306)](){const _0x35f485=_0x4a9685;this[_0x35f485(0x2d8)]=!0x1;}[_0x4a9685(0x1d7)](){const _0x52a793=_0x4a9685;this['exhaustSavingTask']()[_0x52a793(0x5ce)](()=>super['dispose']());}async[_0x4a9685(0x206)](_0x644f7e){const _0x1965c0=_0x4a9685;return this[_0x1965c0(0x2d8)]?null:this['_localStorageService'][_0x1965c0(0x286)](At(_0x644f7e));}async[_0x4a9685(0x546)](_0x2e7ed8,_0x52d89e){const _0x511d4d=_0x4a9685;return!!this[_0x511d4d(0x48f)][_0x511d4d(0x2a4)](_0x2e7ed8,_0x52d89e);}[_0x4a9685(0x14f)](_0x418772,_0x2dde02,_0x1c5281,_0x13e8ec){const _0x37cc85=_0x4a9685,_0x1b4a2e=this[_0x37cc85(0x26d)][_0x37cc85(0x3e5)](_0x418772);this[_0x37cc85(0x5f8)][_0x37cc85(0x568)](_0x418772,{'unitID':_0x418772,'type':_0x2dde02,'awaitingChangeset':_0x1c5281,'mutations':_0x13e8ec,'rev':_0x1b4a2e}),this[_0x37cc85(0x523)][_0x37cc85(0x1d2)](_0x418772)||this['_scheduleSaving'](_0x418772);}['_scheduleSaving'](_0x2906ec){const _0x4b2ce2=_0x4a9685,_0x2d6cc5=this[_0x4b2ce2(0x4b6)]();_0x2d6cc5===0x0?this['_saveCache'](_0x2906ec):this[_0x4b2ce2(0x523)]['set'](_0x2906ec,setTimeout(()=>this[_0x4b2ce2(0x1aa)](_0x2906ec),_0x2d6cc5));}[_0x4a9685(0x4b6)](){const _0x1202e8=_0x4a9685;var _0x1517f4;return(_0x1517f4=this[_0x1202e8(0x294)]['getConfig'](rn))!=null?_0x1517f4:Yn;}['_saveCache'](_0x341736){const _0x2099cf=_0x4a9685,_0x2e840e=this[_0x2099cf(0x523)][_0x2099cf(0x542)](_0x341736);return _0x2e840e!==void 0x0&&window[_0x2099cf(0x3b3)](_0x2e840e),this[_0x2099cf(0x48f)][_0x2099cf(0x2a4)](At(_0x341736),this[_0x2099cf(0x5f8)][_0x2099cf(0x542)](_0x341736))['then'](()=>this[_0x2099cf(0x523)][_0x2099cf(0x224)](_0x341736));}async[_0x4a9685(0x45e)](){const _0x572c69=_0x4a9685,_0x8c8a47=[];this[_0x572c69(0x523)][_0x572c69(0x38f)]((_0x21815c,_0x5252d2)=>{const _0x5d884b=_0x572c69;window['clearTimeout'](_0x21815c),_0x8c8a47[_0x5d884b(0x3d6)](this['_saveCache'](_0x5252d2)[_0x5d884b(0x5ce)](()=>{const _0x3ece81=_0x5d884b;this[_0x3ece81(0x523)]['delete'](_0x5252d2);}));}),await Promise[_0x572c69(0x38c)](_0x8c8a47);}[_0x4a9685(0x5b2)](){const _0x2638bf=_0x4a9685;this[_0x2638bf(0x3c7)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x69a0ca=_0x2638bf;if(this['_saveTaskMap'][_0x69a0ca(0x2d6)])return this[_0x69a0ca(0x39c)]['t']('collaboration-client.offline-data-not-saved');}));}},exports[_0x4a9685(0x1a0)]=Ei([Pe(0x0,a['IConfigService']),Pe(0x1,a[_0x4a9685(0x477)]),Pe(0x2,ee[_0x4a9685(0x13d)]),Pe(0x3,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)])),Pe(0x4,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)]))],exports[_0x4a9685(0x1a0)]);function At(_0x4468a4){const _0x504c49=_0x4a9685;return _0x504c49(0x34e)+_0x4468a4;}var bi=Object['defineProperty'],Ti=Object[_0x4a9685(0x484)],Ri=(_0xd02ad4,_0x4350a9,_0x3c8c80,_0x2a1ad1)=>{const _0x19c742=_0x4a9685;for(var _0xac2eb3=_0x2a1ad1>0x1?void 0x0:_0x2a1ad1?Ti(_0x4350a9,_0x3c8c80):_0x4350a9,_0x24172d=_0xd02ad4[_0x19c742(0x530)]-0x1,_0x40b5f8;_0x24172d>=0x0;_0x24172d--)(_0x40b5f8=_0xd02ad4[_0x24172d])&&(_0xac2eb3=(_0x2a1ad1?_0x40b5f8(_0x4350a9,_0x3c8c80,_0xac2eb3):_0x40b5f8(_0xac2eb3))||_0xac2eb3);return _0x2a1ad1&&_0xac2eb3&&bi(_0x4350a9,_0x3c8c80,_0xac2eb3),_0xac2eb3;},Qe=(_0x2945a9,_0x4f0ec2)=>(_0x20aaa6,_0x18d63c)=>_0x4f0ec2(_0x20aaa6,_0x18d63c,_0x2945a9);function yi(_0x1875cb){const _0x16c6e9=_0x4a9685,{unitID:_0x4ed5bc,mutations:_0x1b19ad}=_0x1875cb;return{'unitId':_0x4ed5bc,'subUnitId':_0x1b19ad[0x0][_0x16c6e9(0x4da)][_0x16c6e9(0x2ae)]};}let ke=class{constructor(_0xffb2b2,_0x4bc537,_0x1050e3){const _0x370206=_0x4a9685;this[_0x370206(0x372)]=_0xffb2b2,this[_0x370206(0x4f6)]=_0x4bc537,this[_0x370206(0x2e0)]=_0x1050e3;}[_0x4a9685(0x58f)](_0x5b82d8){const _0x46f0ca=_0x4a9685;var _0x195103,_0x36968c,_0x423ba1,_0x52541d;const _0x428524=this[_0x46f0ca(0x372)][_0x46f0ca(0x542)](k[_0x46f0ca(0x31c)]),{unitId:_0x4b2630,subUnitId:_0x3fa50c}=yi(_0x5b82d8),_0x205d00=_0x428524[_0x46f0ca(0x356)](_0x4b2630)['getCurrentSelections'](),_0x5a0991=(_0x36968c=(_0x195103=this[_0x46f0ca(0x2e0)][_0x46f0ca(0x30a)](_0x4b2630))==null?void 0x0:_0x195103[_0x46f0ca(0x4d4)]())==null?void 0x0:_0x36968c[_0x46f0ca(0x180)]();if(_0x205d00[_0x46f0ca(0x530)]===0x0||!_0x4b2630||!_0x3fa50c)return;const _0x547b06=[{'id':k['SetSelectionsOperation']['id'],'params':{'unitId':_0x4b2630,'subUnitId':_0x5a0991,'selections':a[_0x46f0ca(0x426)][_0x46f0ca(0x513)](_0x205d00)}}],_0x514003=this['_transformService']['transformMutationsWithChangeset'](_0x5b82d8,_0x547b06);if(!S[_0x46f0ca(0x453)](_0x514003))throw _0x514003['error'];const _0x434299=(_0x52541d=(_0x423ba1=_0x514003['m2Prime'][0x0])==null?void 0x0:_0x423ba1['params'])==null?void 0x0:_0x52541d[_0x46f0ca(0x5c6)];if(Array[_0x46f0ca(0x36d)](_0x434299)&&_0x434299[_0x46f0ca(0x530)]){if(_0x434299[_0x46f0ca(0x530)]===_0x547b06[0x0][_0x46f0ca(0x4da)][_0x46f0ca(0x5c6)][_0x46f0ca(0x530)]&&_0x434299[_0x46f0ca(0x4b0)]((_0x1f775a,_0x125a66)=>a['Rectangle'][_0x46f0ca(0x47c)](_0x1f775a['range'],_0x547b06[0x0][_0x46f0ca(0x4da)][_0x46f0ca(0x5c6)][_0x125a66]['range'])))return;this[_0x46f0ca(0x372)][_0x46f0ca(0x542)](a[_0x46f0ca(0x449)])[_0x46f0ca(0x5f4)](k[_0x46f0ca(0x25b)]['id'],{'unitId':_0x4b2630,'subUnitId':_0x5a0991,'selections':_0x434299});}}};ke=Ri([Qe(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),Qe(0x1,S[_0x4a9685(0x315)]),Qe(0x2,a['IUniverInstanceService'])],ke);const qe=a[_0x4a9685(0x1e3)](_0x4a9685(0x46f));var un=(_0x5da832=>(_0x5da832[_0x5da832[_0x4a9685(0x5e9)]=0x0]=_0x4a9685(0x5e9),_0x5da832[_0x5da832[_0x4a9685(0x521)]=0x1]=_0x4a9685(0x521),_0x5da832))(un||{});const Nt=0x7530,Lt='ACTIVE_UNIT_EVENT_CHANNEL';class Oi extends a[_0x4a9685(0x261)]{constructor(){const _0x5bb621=_0x4a9685;super(),I(this,'_id',a['Tools']['generateRandomId']()),I(this,_0x5bb621(0x29b),new Set()),I(this,_0x5bb621(0x1b0),new Map()),I(this,_0x5bb621(0x340),null),I(this,_0x5bb621(0x512),new Map()),I(this,_0x5bb621(0x181),new Map()),this[_0x5bb621(0x3f4)]();}[_0x4a9685(0x1d7)](){const _0x84ce54=_0x4a9685;super[_0x84ce54(0x1d7)](),this[_0x84ce54(0x512)][_0x84ce54(0x38f)]((_0x3550d7,_0x51762a)=>this['_removeClearOtherTimer'](_0x51762a)),this[_0x84ce54(0x340)]&&window[_0x84ce54(0x44a)](this[_0x84ce54(0x340)]);}[_0x4a9685(0x5f6)](_0x10c898){const _0x5b19a3=_0x4a9685;return this['_ensureSubject'](_0x10c898)[_0x5b19a3(0x172)](A[_0x5b19a3(0x4f4)]());}[_0x4a9685(0x223)](_0x51bf57){const _0x50c0f9=_0x4a9685;this['_selfUnitIDs'][_0x50c0f9(0x2d6)]===0x0&&this['_scheduleHeartbeat'](),this[_0x50c0f9(0x29b)][_0x50c0f9(0x42a)](_0x51bf57),this[_0x50c0f9(0x24f)]({'type':0x0,'memberID':this[_0x50c0f9(0x4d3)],'unitIDs':[_0x51bf57],'isForwarded':!0x1});}[_0x4a9685(0x32d)](_0x360fe3){const _0x16a719=_0x4a9685;this['_selfUnitIDs']['delete'](_0x360fe3),this[_0x16a719(0x29b)][_0x16a719(0x2d6)]===0x0&&this[_0x16a719(0x340)]&&window[_0x16a719(0x44a)](this[_0x16a719(0x340)]);}[_0x4a9685(0x3f4)](){const _0x380ef5=_0x4a9685;this['disposeWithMe'](a[_0x380ef5(0x4fd)](A[_0x380ef5(0x59e)](window,_0x380ef5(0x3de))[_0x380ef5(0x419)](_0x2036e6=>{const _0x80da7c=_0x380ef5;if(_0x2036e6[_0x80da7c(0x303)]!==Lt||!_0x2036e6[_0x80da7c(0x3c6)])return;const _0xd7d83b=JSON[_0x80da7c(0x2af)](_0x2036e6[_0x80da7c(0x3c6)]);this[_0x80da7c(0x34f)](_0xd7d83b);}))),window[_0x380ef5(0x368)](_0x380ef5(0x5f3),()=>this['_send']({'type':0x1,'memberID':this[_0x380ef5(0x4d3)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x4a9685(0x34f)](_0x3b30ca){const _0xdf50d7=_0x4a9685;switch(_0x3b30ca[_0xdf50d7(0x3e4)]){case 0x0:this[_0xdf50d7(0x47d)](_0x3b30ca);break;case 0x1:this[_0xdf50d7(0x18e)](_0x3b30ca);break;case 0x2:this[_0xdf50d7(0x32b)](_0x3b30ca);break;}}['_handleJoinEvent'](_0x4c39a1){const _0x4fd06c=_0x4a9685,{unitIDs:_0x4d68fd,memberID:_0x102f7a,isForwarded:_0x35cd4e}=_0x4c39a1;_0x4d68fd[_0x4fd06c(0x38f)](_0x33e3cc=>{const _0x3a157a=_0x4fd06c;if(!_0x35cd4e&&this[_0x3a157a(0x1b0)][_0x3a157a(0x1d2)](_0x33e3cc)&&this[_0x3a157a(0x2bd)](_0x33e3cc)[_0x3a157a(0x503)](0x1),!this[_0x3a157a(0x1b0)]['has'](_0x33e3cc)||!this['_unitOnClients'][_0x3a157a(0x542)](_0x33e3cc)[_0x3a157a(0x1d2)](_0x102f7a)){const _0x29bb21=this[_0x3a157a(0x1b0)][_0x3a157a(0x542)](_0x33e3cc)||new Set();_0x29bb21[_0x3a157a(0x42a)](_0x102f7a),this[_0x3a157a(0x1b0)][_0x3a157a(0x568)](_0x33e3cc,_0x29bb21),this[_0x3a157a(0x56b)](_0x102f7a);}}),_0x35cd4e||this['_send']({'type':0x0,'memberID':this[_0x4fd06c(0x4d3)],'unitIDs':[...this[_0x4fd06c(0x29b)]],'isForwarded':!0x0});}[_0x4a9685(0x56b)](_0x5a4d27){const _0x269d31=_0x4a9685;this[_0x269d31(0x15e)](_0x5a4d27);const _0x3ab673=window['setTimeout'](()=>{const _0x459e81=_0x269d31;this['_unitOnClients'][_0x459e81(0x38f)](_0x32a957=>{_0x32a957['delete'](_0x5a4d27);});},Nt*0x2);this[_0x269d31(0x512)]['set'](_0x5a4d27,_0x3ab673);}[_0x4a9685(0x15e)](_0x24ae2c){const _0x32d806=_0x4a9685;if(this['_clearOtherTimers'][_0x32d806(0x1d2)](_0x24ae2c)){const _0x47a220=this[_0x32d806(0x512)]['get'](_0x24ae2c);_0x47a220&&window[_0x32d806(0x3b3)](_0x47a220),this['_clearOtherTimers'][_0x32d806(0x568)](_0x24ae2c,null);}}[_0x4a9685(0x18e)](_0x337fed){const _0xd81760=_0x4a9685,{memberID:_0x4cbea3,unitIDs:_0x368bc8}=_0x337fed;_0x368bc8[_0xd81760(0x38f)](_0x2ab4f3=>{const _0x38d146=_0xd81760;var _0x3567a3;const _0x25649a=this[_0x38d146(0x1b0)]['get'](_0x2ab4f3);_0x25649a&&(_0x25649a[_0x38d146(0x224)](_0x4cbea3),(_0x3567a3=this[_0x38d146(0x2bd)](_0x2ab4f3))==null||_0x3567a3[_0x38d146(0x503)](_0x25649a[_0x38d146(0x2d6)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x4cbea3);}['_handleHeartbeatEvent'](_0x33dbf8){const _0x46f47b=_0x4a9685;this[_0x46f47b(0x56b)](_0x33dbf8[_0x46f47b(0x1e5)]);}[_0x4a9685(0x24f)](_0x2ad9ce){const _0x5d99c1=_0x4a9685;localStorage[_0x5d99c1(0x2a4)](Lt,JSON[_0x5d99c1(0x2d1)](_0x2ad9ce));}[_0x4a9685(0x1ca)](){const _0x326676=_0x4a9685;this['_heartbeatTimer']=window[_0x326676(0x4c2)](()=>{const _0x28aa65=_0x326676;this[_0x28aa65(0x24f)]({'type':0x2,'memberID':this[_0x28aa65(0x4d3)]});},Nt);}[_0x4a9685(0x2bd)](_0x399c0d){const _0x4b2a7b=_0x4a9685;return this[_0x4b2a7b(0x181)][_0x4b2a7b(0x1d2)](_0x399c0d)||this[_0x4b2a7b(0x181)]['set'](_0x399c0d,new A[(_0x4b2a7b(0x563))](0x0)),this[_0x4b2a7b(0x181)][_0x4b2a7b(0x542)](_0x399c0d);}}var Di=Object[_0x4a9685(0x377)],wi=Object[_0x4a9685(0x484)],Pi=(_0x2ce326,_0x128f59,_0x481486,_0x564bc1)=>{const _0x50b53a=_0x4a9685;for(var _0x47307a=_0x564bc1>0x1?void 0x0:_0x564bc1?wi(_0x128f59,_0x481486):_0x128f59,_0x4cab10=_0x2ce326[_0x50b53a(0x530)]-0x1,_0x1ce078;_0x4cab10>=0x0;_0x4cab10--)(_0x1ce078=_0x2ce326[_0x4cab10])&&(_0x47307a=(_0x564bc1?_0x1ce078(_0x128f59,_0x481486,_0x47307a):_0x1ce078(_0x47307a))||_0x47307a);return _0x564bc1&&_0x47307a&&Di(_0x128f59,_0x481486,_0x47307a),_0x47307a;},et=(_0x189759,_0x543ff2)=>(_0x547fdb,_0x56dcef)=>_0x543ff2(_0x547fdb,_0x56dcef,_0x189759);let We=class{constructor(_0x284419,_0x8ab758,_0x4b9f1c){const _0x47bd8f=_0x4a9685;this['_injector']=_0x284419,this['_transformService']=_0x8ab758,this[_0x47bd8f(0x4c7)]=_0x4b9f1c;}['transformStateCache'](_0x23131a){const _0x1db5d3=_0x4a9685;this[_0x1db5d3(0x4ec)](_0x23131a);}[_0x4a9685(0x203)](_0x281e59){const _0x1c9305=_0x4a9685,{unitID:_0x55094}=_0x281e59,{collaboration:_0xdd29c2}=this[_0x1c9305(0x4c7)]['getStateCache'](_0x55094);if(_0xdd29c2[_0x1c9305(0x530)]===0x0)return _0x281e59;let _0x50272c=a[_0x1c9305(0x426)][_0x1c9305(0x513)](_0x281e59[_0x1c9305(0x1b8)][0x0]);for(let _0x373f15=0x0;_0x373f15<_0xdd29c2[_0x1c9305(0x530)];_0x373f15++){const _0x6b058={'id':_0x1c9305(0x3cf),'params':{'unitId':_0xdd29c2[_0x373f15]['unitId'],..._0xdd29c2[_0x373f15]['redoState']}},_0x3c8ebf=this[_0x1c9305(0x4f6)][_0x1c9305(0x23e)](_0x50272c,_0x6b058,!0x1);if(S['isTransformMutationFailure'](_0x3c8ebf))throw _0x3c8ebf[_0x1c9305(0x3d8)];_0x50272c=_0x3c8ebf[_0x1c9305(0x208)];}return{...a[_0x1c9305(0x426)][_0x1c9305(0x513)](_0x281e59),'mutations':[_0x50272c]};}['_transformHistoryAndStateStack'](_0x2ada99){const _0x2cad81=_0x4a9685,{unitID:_0xab18c7}=_0x2ada99,{history:_0x20bfcf,collaboration:_0x3124a6}=this['_docStateChangeManagerService'][_0x2cad81(0x201)](_0xab18c7);if(_0x20bfcf['length']===0x0&&_0x3124a6[_0x2cad81(0x530)]===0x0)return;const _0x5411ba=[],_0x2c2681=[];let _0x238843=a[_0x2cad81(0x426)][_0x2cad81(0x513)](_0x2ada99['mutations'][0x0]),_0x502d4c=a[_0x2cad81(0x426)][_0x2cad81(0x513)](_0x2ada99[_0x2cad81(0x1b8)][0x0]);for(let _0x5d3aca=_0x20bfcf[_0x2cad81(0x530)]-0x1;_0x5d3aca>=0x0;_0x5d3aca--){const _0xd2cbe={'id':_0x2cad81(0x3cf),'params':{'unitId':_0x20bfcf[_0x5d3aca]['unitId'],..._0x20bfcf[_0x5d3aca][_0x2cad81(0x42f)]}},_0x3f04a6={'id':_0x2cad81(0x3cf),'params':{'unitId':_0x20bfcf[_0x5d3aca][_0x2cad81(0x2de)],..._0x20bfcf[_0x5d3aca][_0x2cad81(0x3ae)]}},_0x266002=this[_0x2cad81(0x4f6)][_0x2cad81(0x23e)](_0x238843,_0xd2cbe,!0x1),_0x4305dc=this[_0x2cad81(0x4f6)][_0x2cad81(0x23e)](_0x502d4c,_0x3f04a6,!0x1);if(S['isTransformMutationFailure'](_0x266002))throw _0x266002['error'];if(S[_0x2cad81(0x498)](_0x4305dc))throw _0x4305dc[_0x2cad81(0x3d8)];_0x5411ba[_0x2cad81(0x1d6)]({..._0x20bfcf[_0x5d3aca],'undoState':_0x266002[_0x2cad81(0x403)][_0x2cad81(0x4da)],'redoState':_0x4305dc[_0x2cad81(0x403)]['params']}),_0x238843=_0x266002[_0x2cad81(0x208)],_0x502d4c=_0x4305dc[_0x2cad81(0x208)];}_0x238843=a['Tools'][_0x2cad81(0x513)](_0x2ada99[_0x2cad81(0x1b8)][0x0]),_0x502d4c=a['Tools'][_0x2cad81(0x513)](_0x2ada99['mutations'][0x0]);for(let _0x42be31=_0x3124a6[_0x2cad81(0x530)]-0x1;_0x42be31>=0x0;_0x42be31--){const _0x17ebbb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3124a6[_0x42be31][_0x2cad81(0x2de)],..._0x3124a6[_0x42be31]['undoState']}},_0x31a0aa={'id':_0x2cad81(0x3cf),'params':{'unitId':_0x3124a6[_0x42be31][_0x2cad81(0x2de)],..._0x3124a6[_0x42be31][_0x2cad81(0x3ae)]}},_0x52614f=this[_0x2cad81(0x4f6)]['transformMutation'](_0x238843,_0x17ebbb,!0x1),_0xba3b3b=this[_0x2cad81(0x4f6)]['transformMutation'](_0x502d4c,_0x31a0aa,!0x1);if(S[_0x2cad81(0x498)](_0x52614f))throw _0x52614f[_0x2cad81(0x3d8)];if(S[_0x2cad81(0x498)](_0xba3b3b))throw _0xba3b3b[_0x2cad81(0x3d8)];_0x2c2681[_0x2cad81(0x1d6)]({..._0x3124a6[_0x42be31],'undoState':_0x52614f['m2Prime'][_0x2cad81(0x4da)],'redoState':_0xba3b3b[_0x2cad81(0x403)][_0x2cad81(0x4da)]}),_0x238843=_0x52614f[_0x2cad81(0x208)],_0x502d4c=_0xba3b3b[_0x2cad81(0x208)];}this['_docStateChangeManagerService'][_0x2cad81(0x215)](_0xab18c7,{'history':_0x5411ba,'collaboration':_0x2c2681});}};We=Pi([et(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),et(0x1,S['ITransformService']),et(0x2,a[_0x4a9685(0x27a)](J[_0x4a9685(0x492)]))],We);function dn(_0x3f164a){let _0x4835e5='';for(const _0x1ed311 of _0x3f164a){const {startOffset:_0x2ffa8d,endOffset:_0x5a3a46,isActive:_0x3c268e,rangeType:_0x3f5837,segmentId:_0x58e97f,segmentPage:_0x1962e4}=_0x1ed311;_0x4835e5['length']&&(_0x4835e5+=','),_0x4835e5+=_0x2ffa8d+':'+_0x5a3a46+':'+(_0x3c268e?'1':'0')+':'+_0x3f5837+':'+_0x58e97f+':'+_0x1962e4;}return _0x4835e5;}function Ui(_0x2e295a){const _0x57841c=_0x4a9685,_0x3cc27b=_0x2e295a[_0x57841c(0x4d8)](','),_0x49552a=[];for(const _0x12fe1d of _0x3cc27b){const [_0x5804c6,_0xd7ee7,_0x3a97c0,_0x2ecf3a,_0x1491b9,_0x796114]=_0x12fe1d[_0x57841c(0x4d8)](':');_0x49552a['push']({'startOffset':Number(_0x5804c6),'endOffset':Number(_0xd7ee7),'collapsed':_0x5804c6===_0xd7ee7,'isActive':_0x3a97c0==='1','rangeType':_0x2ecf3a===a[_0x57841c(0x528)][_0x57841c(0x43b)]?a[_0x57841c(0x528)][_0x57841c(0x43b)]:a[_0x57841c(0x528)]['RECT'],'segmentId':typeof _0x1491b9==_0x57841c(0x3b2)?String(_0x1491b9):'','segmentPage':Number(_0x796114!=null?_0x796114:-0x1)});}return _0x49552a[_0x57841c(0x2fe)](_0x40cf85=>_0x40cf85[_0x57841c(0x4bf)])||(_0x49552a[0x0]['isActive']=!0x0),_0x49552a;}class Rt extends a[_0x4a9685(0x2c7)]{constructor(){const _0x3f1cf8=_0x4a9685;super(...arguments),I(this,_0x3f1cf8(0x3bd),new A['BehaviorSubject'](null)),I(this,_0x3f1cf8(0x20a),this[_0x3f1cf8(0x3bd)][_0x3f1cf8(0x135)]());}[_0x4a9685(0x5bc)](_0x38e726){const _0x3c3f10=_0x4a9685,{unitID:_0x2f7e1d,memberID:_0x301798,textRanges:_0x25947e}=_0x38e726,_0x3d015d=dn(_0x25947e);if(_0x3d015d==='')return;const _0x572bfa={'unitID':_0x2f7e1d,'memberID':_0x301798,'selection':_0x3d015d};this[_0x3c3f10(0x3bd)]['next'](_0x572bfa);}}var Mi=Object['defineProperty'],Ai=Object[_0x4a9685(0x484)],Ni=(_0x3842a0,_0x19c5b0,_0x2e259c,_0x4de77d)=>{for(var _0x1cc09f=_0x4de77d>0x1?void 0x0:_0x4de77d?Ai(_0x19c5b0,_0x2e259c):_0x19c5b0,_0x17c360=_0x3842a0['length']-0x1,_0x36d689;_0x17c360>=0x0;_0x17c360--)(_0x36d689=_0x3842a0[_0x17c360])&&(_0x1cc09f=(_0x4de77d?_0x36d689(_0x19c5b0,_0x2e259c,_0x1cc09f):_0x36d689(_0x1cc09f))||_0x1cc09f);return _0x4de77d&&_0x1cc09f&&Mi(_0x19c5b0,_0x2e259c,_0x1cc09f),_0x1cc09f;},xt=(_0x2da396,_0x3e4205)=>(_0x1844cd,_0x23b80c)=>_0x3e4205(_0x1844cd,_0x23b80c,_0x2da396);let Fe=class{constructor(_0xffc2db,_0x390673){const _0x481fd1=_0x4a9685;this[_0x481fd1(0x372)]=_0xffc2db,this[_0x481fd1(0x4f6)]=_0x390673;}['transformSelections'](_0x54a1a4){const _0x4fa9b1=_0x4a9685;var _0x5c852f;const _0x26ddc6=this['_injector']['get'](ye[_0x4fa9b1(0x1f8)]),_0x50ca38=(_0x5c852f=_0x26ddc6[_0x4fa9b1(0x231)]())!=null?_0x5c852f:[];if(_0x50ca38[_0x4fa9b1(0x530)]===0x0)return;const _0xc81740=_0x54a1a4[_0x4fa9b1(0x197)],_0x51fef6=[{'id':_0x4fa9b1(0x3cf),'params':{'unitId':_0xc81740,'actions':null,'textRanges':_0x50ca38}}],_0x131f1c=this['_transformService'][_0x4fa9b1(0x4ed)](_0x54a1a4,_0x51fef6);if(!S['isTransformMutationsWithChangesetSuccess'](_0x131f1c))throw _0x131f1c[_0x4fa9b1(0x3d8)];const _0x222c6f=_0x131f1c[_0x4fa9b1(0x403)][0x0][_0x4fa9b1(0x4da)][_0x4fa9b1(0x236)];Array[_0x4fa9b1(0x36d)](_0x222c6f)&&_0x222c6f['length']&&_0x26ddc6[_0x4fa9b1(0x30c)](_0x222c6f,{'unitId':_0xc81740,'subUnitId':_0xc81740},!0x1);}};Fe=Ni([xt(0x0,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),xt(0x1,S[_0x4a9685(0x315)])],Fe);const Li=new Set([k[_0x4a9685(0x251)]['id']]);function jt(_0x274244,_0xb9397e,_0x230d10,_0x32f43f,_0x2cf73e){const _0x2ad3cc=_0x4a9685;var _0x1b82f5,_0x5db2e4,_0x35292c,_0x4b543f;const _0x49cc14=[];for(const _0x43a25c of _0x274244)if(Li[_0x2ad3cc(0x1d2)](_0x43a25c['id'])){if(_0x49cc14[_0x2ad3cc(0x530)]>0x0)break;_0x49cc14[_0x2ad3cc(0x3d6)](_0x43a25c);break;}else _0x49cc14['push'](_0x43a25c);const _0x30b8ae=(_0x5db2e4=(_0x1b82f5=_0x2cf73e[_0x2ad3cc(0x459)]())==null?void 0x0:_0x1b82f5[_0x2ad3cc(0x545)])!=null?_0x5db2e4:_0x2ad3cc(0x1c5),_0x25d65f=(_0x4b543f=(_0x35292c=_0x2cf73e[_0x2ad3cc(0x459)]())==null?void 0x0:_0x35292c[_0x2ad3cc(0x1e5)])!=null?_0x4b543f:_0x2ad3cc(0x1c5);return{'changeset':{'unitID':_0xb9397e,'type':S['mapDocumentTypeToUniverType'](_0x230d10[_0x2ad3cc(0x19b)](_0xb9397e)),'baseRev':_0x32f43f[_0x2ad3cc(0x3e5)](_0xb9397e),'revision':0x0,'userID':_0x30b8ae,'memberID':_0x25d65f,'mutations':_0x49cc14},'pendingMutations':_0x274244['slice'](_0x49cc14[_0x2ad3cc(0x530)])};}function xi(_0x3a1eba,_0x23db0a,_0x19ff95,_0x4a4902,_0x2a35ac){const _0x56f407=_0x4a9685;var _0x2ff8c7,_0x4b3fa8,_0x2255fe,_0x54f91a;const _0x2204f4=[_0x3a1eba[_0x56f407(0x2a2)]((_0x59a728,_0x149d80)=>{const _0x1f482e=_0x56f407;var _0x14cda9;const {id:_0x51879a}=_0x59a728,{id:_0x447943,type:_0x562e17}=_0x149d80,_0x17e3a2=(_0x14cda9=_0x59a728['params'])!=null?_0x14cda9:{'actions':null},_0x496ffb=_0x149d80[_0x1f482e(0x4da)];if(_0x51879a&&_0x51879a!==_0x447943)throw new Error(_0x1f482e(0x44b)+_0x51879a+_0x1f482e(0x579)+_0x447943+'.');return{..._0x59a728,'id':_0x447943,'type':_0x562e17,'params':{'unitId':_0x496ffb['unitId'],'textRanges':_0x496ffb[_0x1f482e(0x236)],'actions':a[_0x1f482e(0x14e)][_0x1f482e(0x330)](_0x17e3a2['actions'],_0x496ffb['actions'])}};},{})],_0x5bcae6=(_0x4b3fa8=(_0x2ff8c7=_0x2a35ac[_0x56f407(0x459)]())==null?void 0x0:_0x2ff8c7[_0x56f407(0x545)])!=null?_0x4b3fa8:_0x56f407(0x1c5),_0x211bc0=(_0x54f91a=(_0x2255fe=_0x2a35ac[_0x56f407(0x459)]())==null?void 0x0:_0x2255fe[_0x56f407(0x1e5)])!=null?_0x54f91a:_0x56f407(0x1c5);return{'changeset':{'unitID':_0x23db0a,'type':S['mapDocumentTypeToUniverType'](_0x19ff95[_0x56f407(0x19b)](_0x23db0a)),'baseRev':_0x4a4902[_0x56f407(0x3e5)](_0x23db0a),'revision':0x0,'userID':_0x5bcae6,'memberID':_0x211bc0,'mutations':_0x2204f4},'pendingMutations':[]};}function fn(_0x561c14,_0x158f04){const _0x58ac31=_0x4a9685,_0x411628=new A['ReplaySubject'](0x1);return setTimeout(()=>_0x411628[_0x58ac31(0x503)](_0x158f04),_0x561c14),_0x411628['asObservable']()['pipe'](A[_0x58ac31(0x3a5)](0x1));}const ji={'id':k[_0x4a9685(0x538)]['id'],'type':a[_0x4a9685(0x4b4)][_0x4a9685(0x58a)],'params':{}};var $i=Object[_0x4a9685(0x377)],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x1659c9,_0xb7a90c,_0x116346,_0x4596c0)=>{for(var _0x4aa2db=_0x4596c0>0x1?void 0x0:_0x4596c0?Hi(_0xb7a90c,_0x116346):_0xb7a90c,_0xde0ea3=_0x1659c9['length']-0x1,_0x17c608;_0xde0ea3>=0x0;_0xde0ea3--)(_0x17c608=_0x1659c9[_0xde0ea3])&&(_0x4aa2db=(_0x4596c0?_0x17c608(_0xb7a90c,_0x116346,_0x4aa2db):_0x17c608(_0x4aa2db))||_0x4aa2db);return _0x4596c0&&_0x4aa2db&&$i(_0xb7a90c,_0x116346,_0x4aa2db),_0x4aa2db;},N=(_0x479e8b,_0xfb4892)=>(_0x19f68d,_0xcf47d4)=>_0xfb4892(_0x19f68d,_0xcf47d4,_0x479e8b),q=(_0x1e0a4a=>(_0x1e0a4a[_0x4a9685(0x5bd)]=_0x4a9685(0x1a1),_0x1e0a4a['SYNCED']='synced',_0x1e0a4a['PENDING']=_0x4a9685(0x3f0),_0x1e0a4a[_0x4a9685(0x411)]=_0x4a9685(0x529),_0x1e0a4a[_0x4a9685(0x28b)]=_0x4a9685(0x581),_0x1e0a4a['FETCH_MISS']='fetch_missing',_0x1e0a4a[_0x4a9685(0x328)]=_0x4a9685(0x2b1),_0x1e0a4a[_0x4a9685(0x338)]=_0x4a9685(0x277),_0x1e0a4a))(q||{});const vn=0xea60;class Ce{constructor(_0x200c16,_0x1ace0d,_0x2a6efb,_0xa5aef,_0x3767ae,_0x391079,_0x28bdce,_0x5bb7b4,_0x22c8ee){const _0x5ab528=_0x4a9685;I(this,_0x5ab528(0x249),null),I(this,_0x5ab528(0x256),[]),(this[_0x5ab528(0x197)]=_0x200c16,this[_0x5ab528(0x3e4)]=_0x1ace0d,this[_0x5ab528(0x168)]=_0x3767ae,this[_0x5ab528(0x55e)]=_0x391079,this['_undoRedoService']=_0x28bdce,this[_0x5ab528(0x26d)]=_0x5bb7b4,this[_0x5ab528(0x142)]=_0x22c8ee,this['_awaitingChangeset']=_0x2a6efb,this[_0x5ab528(0x256)]=_0xa5aef);}['_checkMissing'](_0x1ba601){const _0x38dacf=_0x4a9685,_0x2cc558=this[_0x38dacf(0x26d)][_0x38dacf(0x3e5)](this['unitID']);return _0x1ba601[_0x38dacf(0x33a)]>_0x2cc558+0x1?(this[_0x38dacf(0x168)][_0x38dacf(0x354)]({'from':_0x2cc558,'to':_0x1ba601['revision']-0x1}),!0x0):!0x1;}[_0x4a9685(0x53b)](_0x275f28){const _0x30ddd5=_0x4a9685;this[_0x30ddd5(0x3d2)][_0x30ddd5(0x246)](this[_0x30ddd5(0x197)],_0x275f28);}['_transformSelections'](_0x162114){const _0x26066c=_0x4a9685;var _0x244709,_0x515c17;(_0x515c17=(_0x244709=this[_0x26066c(0x168)])['onTransformSelections'])==null||_0x515c17[_0x26066c(0x20c)](_0x244709,_0x162114);}[_0x4a9685(0x43a)](_0xd4df5c){const _0x47c90c=_0x4a9685;var _0x4e34b8,_0x2bbacb;return(_0x2bbacb=(_0x4e34b8=this[_0x47c90c(0x168)])[_0x47c90c(0x45b)])==null?void 0x0:_0x2bbacb[_0x47c90c(0x20c)](_0x4e34b8,_0xd4df5c);}[_0x4a9685(0x5e5)](_0x3505aa){const _0x711246=_0x4a9685;var _0x198abe,_0x40e46c;return(_0x40e46c=(_0x198abe=this[_0x711246(0x168)])['onTransformState'])==null?void 0x0:_0x40e46c[_0x711246(0x20c)](_0x198abe,_0x3505aa);}['_transformRemoteChangesetByIMECache'](_0x53b7f2){const _0x23f861=_0x4a9685;var _0x286f72,_0x161305,_0x3ce5b1;return(_0x3ce5b1=(_0x161305=(_0x286f72=this[_0x23f861(0x168)])[_0x23f861(0x4aa)])==null?void 0x0:_0x161305[_0x23f861(0x20c)](_0x286f72,_0x53b7f2))!=null?_0x3ce5b1:_0x53b7f2;}['_transformRemoteChangesetByStateCache'](_0x4b9bd8){const _0x16c072=_0x4a9685;var _0x400d6b,_0x3688e6,_0x2cd924;return(_0x2cd924=(_0x3688e6=(_0x400d6b=this[_0x16c072(0x168)])[_0x16c072(0x5a0)])==null?void 0x0:_0x3688e6[_0x16c072(0x20c)](_0x400d6b,_0x4b9bd8))!=null?_0x2cd924:_0x4b9bd8;}[_0x4a9685(0x233)](_0x2b2f28){const _0x16bd41=_0x4a9685;var _0x1ec4ce,_0x55b033;if(this[_0x16bd41(0x3e4)]===ie[_0x16bd41(0x22a)]){const {unitID:_0x352632,mutations:_0x3bcf5e,memberID:_0x1b37e6}=_0x2b2f28,_0x2b2789=_0x3bcf5e[0x0][_0x16bd41(0x4da)][_0x16bd41(0x236)];Array[_0x16bd41(0x36d)](_0x2b2789)&&_0x2b2789[_0x16bd41(0x530)]>0x0&&((_0x55b033=(_0x1ec4ce=this[_0x16bd41(0x168)])[_0x16bd41(0x379)])==null||_0x55b033[_0x16bd41(0x20c)](_0x1ec4ce,{'unitID':_0x352632,'memberID':_0x1b37e6,'textRanges':_0x2b2789}));}}[_0x4a9685(0x29e)](){const _0x74b427=_0x4a9685;this[_0x74b427(0x142)][_0x74b427(0x14f)](this[_0x74b427(0x197)],this[_0x74b427(0x3e4)],this['_awaitingChangeset'],this[_0x74b427(0x256)]);}[_0x4a9685(0x342)](){const _0x2c896d=_0x4a9685;return this[_0x2c896d(0x26d)][_0x2c896d(0x3e5)](this[_0x2c896d(0x197)]);}[_0x4a9685(0x25f)](){const _0x450b70=_0x4a9685;this['_revisionService'][_0x450b70(0x1d8)](this[_0x450b70(0x197)]);}[_0x4a9685(0x5b3)](_0x3010bc){const _0x352925=_0x4a9685;var _0x416b6f;let _0x86cfa=this['_transformRemoteChangesetByIMECache'](_0x3010bc);_0x86cfa=this[_0x352925(0x452)](_0x86cfa);const _0x6d9326=a['sequenceExecute'](_0x86cfa['mutations'],this[_0x352925(0x55e)],{'fromCollab':!0x0});if(!_0x6d9326[_0x352925(0x30f)])throw _0x6d9326[_0x352925(0x3d8)]instanceof Error?_0x6d9326['error']:new Error((_0x416b6f=_0x6d9326[_0x352925(0x3d8)])!=null?_0x416b6f:_0x352925(0x136));this[_0x352925(0x43a)](_0x86cfa),this[_0x352925(0x5e5)](_0x86cfa),this[_0x352925(0x53b)](_0x3010bc),this[_0x352925(0x335)](_0x86cfa),this['_syncEditingCollabCursor'](_0x86cfa),this[_0x352925(0x25f)]();}}let Oe=class extends Ce{constructor(_0x2739a2,_0x133aa4,_0x4b35eb,_0x5303a2,_0x28ed98,_0x376622,_0x2cc051,_0xe33258,_0x7b872d,_0x4f72db){const _0xea5f69=_0x4a9685;super(_0x2739a2,_0x133aa4,null,[],_0x4b35eb,_0xe33258,_0x2cc051,_0x5303a2,_0x28ed98),I(this,_0xea5f69(0x226),_0xea5f69(0x3dd)),(this[_0xea5f69(0x372)]=_0x376622,this[_0xea5f69(0x480)]=_0x7b872d,this[_0xea5f69(0x4f6)]=_0x4f72db);}['appendMutation'](_0x563c1f){const _0x536cee=_0x4a9685,_0x349d28=this[_0x536cee(0x372)]['createInstance'](ce,this[_0x536cee(0x197)],this[_0x536cee(0x3e4)],[_0x563c1f],this['_handler']);return _0x349d28[_0x536cee(0x3a8)](),_0x349d28[_0x536cee(0x29e)](),_0x349d28;}[_0x4a9685(0x2bf)](_0x380901){const _0x21d2b0=_0x4a9685;if(this[_0x21d2b0(0x34d)](_0x380901))return this['_injector'][_0x21d2b0(0x572)](re,this[_0x21d2b0(0x197)],this[_0x21d2b0(0x3e4)],null,[],null,[_0x380901],this[_0x21d2b0(0x168)]);try{const _0x16e3a4=this['_transformService'][_0x21d2b0(0x4ed)](_0x380901,[ji]);if(S['isTransformMutationsWithChangesetSuccess'](_0x16e3a4)){const {c1Prime:_0x5c6748}=_0x16e3a4;return this['_executeRemoteChangeset'](_0x5c6748),this;}throw _0x16e3a4[_0x21d2b0(0x3d8)];}catch(_0x31781b){return this[_0x21d2b0(0x480)][_0x21d2b0(0x3d8)](_0x31781b),this[_0x21d2b0(0x341)](!0x1);}}[_0x4a9685(0x341)](_0x53d5d0){const _0x459c52=_0x4a9685;return this[_0x459c52(0x372)]['createInstance'](ve,this['unitID'],this[_0x459c52(0x3e4)],null,[],this['_handler'],_0x53d5d0);}[_0x4a9685(0x3e9)](){const _0x1fab31=_0x4a9685;throw new Error(_0x1fab31(0x1a6));}[_0x4a9685(0x37b)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4a9685(0x2df)](){return this;}[_0x4a9685(0x3b7)](){const _0x4c9994=_0x4a9685;return this[_0x4c9994(0x372)]['createInstance'](me,this[_0x4c9994(0x197)],this['type'],null,[],this[_0x4c9994(0x168)]);}[_0x4a9685(0x2aa)](){return this;}['resend'](){const _0x43e29a=_0x4a9685;throw new Error(_0x43e29a(0x3f6));}[_0x4a9685(0x288)](){const _0x1e83ee=_0x4a9685,_0x45f615=this[_0x1e83ee(0x26d)][_0x1e83ee(0x3e5)](this[_0x1e83ee(0x197)]);return this[_0x1e83ee(0x168)][_0x1e83ee(0x354)]({'from':_0x45f615,'to':0x0}),this['_injector'][_0x1e83ee(0x572)](re,this[_0x1e83ee(0x197)],this[_0x1e83ee(0x3e4)],null,[],null,[],this['_handler']);}};Oe=Ie([N(0x3,a[_0x4a9685(0x27a)](S['RevisionService'])),N(0x4,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0x5,a[_0x4a9685(0x27a)](a['Injector'])),N(0x6,a['IUndoRedoService']),N(0x7,a['ICommandService']),N(0x8,a[_0x4a9685(0x2e8)]),N(0x9,S[_0x4a9685(0x315)])],Oe);let ce=class extends Ce{constructor(_0x987cb9,_0x377578,_0x38a074,_0x4c69ee,_0x1167f5,_0xdb5536,_0x81ac67,_0x5d4499,_0x33408d,_0x14cda2,_0x1ec550,_0x34e453,_0x2a6a99,_0x44dfcb){const _0x1b0e50=_0x4a9685;super(_0x987cb9,_0x377578,null,_0x38a074,_0x4c69ee,_0x14cda2,_0x44dfcb,_0xdb5536,_0x81ac67),I(this,_0x1b0e50(0x226),_0x1b0e50(0x3f0)),I(this,_0x1b0e50(0x267),null),I(this,_0x1b0e50(0x583),null),(this[_0x1b0e50(0x372)]=_0x1167f5,this[_0x1b0e50(0x1f9)]=_0x5d4499,this[_0x1b0e50(0x480)]=_0x33408d,this[_0x1b0e50(0x294)]=_0x1ec550,this['_transformService']=_0x34e453,this[_0x1b0e50(0x54a)]=_0x2a6a99);}[_0x4a9685(0x40c)](_0x3f9ee2){const _0x6de967=_0x4a9685;return this[_0x6de967(0x256)]['push'](_0x3f9ee2),this[_0x6de967(0x29e)](),this;}[_0x4a9685(0x2bf)](_0x400500){const _0x49047f=_0x4a9685;if(this[_0x49047f(0x34d)](_0x400500))return this[_0x49047f(0x1ba)](),this[_0x49047f(0x372)]['createInstance'](re,this['unitID'],this[_0x49047f(0x3e4)],null,this[_0x49047f(0x256)],null,[_0x400500],this[_0x49047f(0x168)]);try{const _0x50b184=this[_0x49047f(0x4f6)][_0x49047f(0x4ed)](_0x400500,this['_pendingMutations']);if(S['isTransformMutationsWithChangesetSuccess'](_0x50b184)){const {c1Prime:_0x5ad64d,m2Prime:_0x330aeb}=_0x50b184;this['_executeRemoteChangeset'](_0x5ad64d);const _0x250f79=this[_0x49047f(0x372)][_0x49047f(0x572)](ce,this[_0x49047f(0x197)],this['type'],_0x330aeb,this[_0x49047f(0x168)]);return this['_clearScheduledTask'](),_0x250f79[_0x49047f(0x3a8)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x49047f(0x1d1)]()-this['_scheduleTimestamp']):this[_0x49047f(0x3cb)]()),_0x250f79;}throw _0x50b184[_0x49047f(0x3d8)];}catch(_0x36a407){return this[_0x49047f(0x480)]['error'](_0x36a407),this['_onConflict'](!0x1);}}[_0x4a9685(0x3e9)](){const _0x1da277=_0x4a9685;throw new Error(_0x1da277(0x4e0));}['onRemoteRej'](){const _0xb24ad4=_0x4a9685;throw new Error(_0xb24ad4(0x391));}[_0x4a9685(0x2df)](){return this;}[_0x4a9685(0x3b7)](){const _0x42bc73=_0x4a9685;return this[_0x42bc73(0x1ba)](),this[_0x42bc73(0x372)][_0x42bc73(0x572)](me,this['unitID'],this['type'],null,this[_0x42bc73(0x256)],this['_handler']);}[_0x4a9685(0x2aa)](){return this;}[_0x4a9685(0x3a8)](_0x4a75bb){const _0x35ba8=_0x4a9685,_0x1111b5=_0x4a75bb!=null?_0x4a75bb:this['_getSendChangesetTimeout']();this[_0x35ba8(0x267)]=new Date()[_0x35ba8(0x1d1)](),this[_0x35ba8(0x583)]=window[_0x35ba8(0x595)](()=>{const _0x4dc62b=_0x35ba8;this['_clearScheduledTask']();let _0x41a809=null;switch(this[_0x4dc62b(0x3e4)]){case ie['UNIVER_SHEET']:{_0x41a809=jt(this[_0x4dc62b(0x256)],this[_0x4dc62b(0x197)],this[_0x4dc62b(0x54a)],this[_0x4dc62b(0x26d)],this[_0x4dc62b(0x1f9)]);break;}case ie[_0x4dc62b(0x22a)]:{this['_pendingMutations'][_0x4dc62b(0x4b0)](_0x24c355=>_0x24c355['id']===ye[_0x4dc62b(0x4de)]['id'])?_0x41a809=xi(this[_0x4dc62b(0x256)],this[_0x4dc62b(0x197)],this['_univerInstanceService'],this[_0x4dc62b(0x26d)],this[_0x4dc62b(0x1f9)]):_0x41a809=jt(this[_0x4dc62b(0x256)],this['unitID'],this['_univerInstanceService'],this[_0x4dc62b(0x26d)],this['_memberService']);break;}default:throw new Error(_0x4dc62b(0x45f)+this[_0x4dc62b(0x3e4)]+_0x4dc62b(0x534));}const {changeset:_0x2f95fe,pendingMutations:_0x4929cf}=_0x41a809;this[_0x4dc62b(0x168)][_0x4dc62b(0x2b8)](_0x2f95fe);const _0xe065d9=_0x4929cf[_0x4dc62b(0x530)]?this[_0x4dc62b(0x372)]['createInstance'](le,this[_0x4dc62b(0x197)],this[_0x4dc62b(0x3e4)],_0x2f95fe,_0x4929cf,this['_handler'],void 0x0):this[_0x4dc62b(0x372)][_0x4dc62b(0x572)](fe,this['unitID'],this[_0x4dc62b(0x3e4)],_0x2f95fe,this[_0x4dc62b(0x168)]);_0xe065d9[_0x4dc62b(0x29e)](),this[_0x4dc62b(0x168)][_0x4dc62b(0x24b)](this,_0xe065d9);},_0x1111b5);}[_0x4a9685(0x3cb)](){const _0x2738da=_0x4a9685;var _0x5c40af;const _0x3cbd5c=this[_0x2738da(0x294)][_0x2738da(0x4a1)](te);return(_0x5c40af=_0x3cbd5c==null?void 0x0:_0x3cbd5c[_0x2738da(0x202)])!=null?_0x5c40af:kn;}[_0x4a9685(0x1dd)](){const _0x1940af=_0x4a9685;throw new Error(_0x1940af(0x48a));}[_0x4a9685(0x1ba)](){const _0x78272=_0x4a9685;this[_0x78272(0x583)]!=null&&(clearTimeout(this[_0x78272(0x583)]),this['_sendingTimer']=null);}[_0x4a9685(0x341)](_0x52d8fa){const _0xc4c151=_0x4a9685;return this[_0xc4c151(0x1ba)](),this[_0xc4c151(0x372)][_0xc4c151(0x572)](ve,this[_0xc4c151(0x197)],this[_0xc4c151(0x3e4)],null,this[_0xc4c151(0x256)],this[_0xc4c151(0x168)],_0x52d8fa);}};ce=Ie([N(0x4,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),N(0x5,a[_0x4a9685(0x27a)](S['RevisionService'])),N(0x6,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0x7,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x3e1)])),N(0x8,a[_0x4a9685(0x2e8)]),N(0x9,a[_0x4a9685(0x449)]),N(0xa,a[_0x4a9685(0x3fb)]),N(0xb,S[_0x4a9685(0x315)]),N(0xc,a[_0x4a9685(0x3c5)]),N(0xd,a[_0x4a9685(0x23b)])],ce);let fe=class extends Ce{constructor(_0x48bf8e,_0x532070,_0x2f6ee5,_0x36421,_0x586c09,_0x3ef998,_0x1e7b0f,_0x14c955,_0xbc1b4f,_0x434ca3,_0x456db9){const _0x4462fb=_0x4a9685;super(_0x48bf8e,_0x532070,_0x2f6ee5,[],_0x36421,_0x14c955,_0x456db9,_0x3ef998,_0x1e7b0f),I(this,_0x4462fb(0x226),_0x4462fb(0x529)),I(this,_0x4462fb(0x4df),0x0),I(this,_0x4462fb(0x177)),I(this,_0x4462fb(0x2a8)),(this['_injector']=_0x586c09,this[_0x4462fb(0x480)]=_0xbc1b4f,this[_0x4462fb(0x4f6)]=_0x434ca3);}[_0x4a9685(0x40c)](_0x3997a8){const _0xa1a965=_0x4a9685;this['_clearScheduledTask']();const _0x13f673=this['_injector'][_0xa1a965(0x572)](le,this[_0xa1a965(0x197)],this[_0xa1a965(0x3e4)],this[_0xa1a965(0x249)],[_0x3997a8],this[_0xa1a965(0x168)],this['_resendTimer']);return _0x13f673['_updateLocalCache'](),_0x13f673;}[_0x4a9685(0x2bf)](_0x33c424){const _0x171ba3=_0x4a9685;if(this[_0x171ba3(0x34d)](_0x33c424))return this[_0x171ba3(0x1ba)](),this[_0x171ba3(0x372)][_0x171ba3(0x572)](re,this['unitID'],this[_0x171ba3(0x3e4)],this[_0x171ba3(0x249)],[],null,[_0x33c424],this[_0x171ba3(0x168)]);try{const _0x21a9de=this['_transformService']['transformChangesets']([_0x33c424],[this['_awaitingChangeset']],!0x1);if(S[_0x171ba3(0x13e)](_0x21a9de)){const {c1Prime:_0x3ac792,c2Prime:_0x5a9bf3}=_0x21a9de;this[_0x171ba3(0x5b3)](_0x3ac792[0x0]),_0x5a9bf3[0x0][_0x171ba3(0x5f0)]=this[_0x171ba3(0x342)](),this['_clearScheduledTask']();const _0x5de4d1=this[_0x171ba3(0x372)][_0x171ba3(0x572)](fe,this[_0x171ba3(0x197)],this[_0x171ba3(0x3e4)],_0x5a9bf3[0x0],this[_0x171ba3(0x168)]);return _0x5de4d1[_0x171ba3(0x29e)](),_0x5de4d1;}return this[_0x171ba3(0x341)](!0x1);}catch(_0x2f6522){return this[_0x171ba3(0x480)][_0x171ba3(0x3d8)](_0x2f6522),this[_0x171ba3(0x341)](!0x1);}}[_0x4a9685(0x3e9)](_0x211bbb){const _0x432e95=_0x4a9685;this[_0x432e95(0x1ba)]();const _0x557efd=this[_0x432e95(0x26d)]['getCurrentRevOfUnit'](this['unitID']);if(_0x211bbb[_0x432e95(0x33a)]<_0x557efd-0x1)return this;if(this['_checkMissing'](_0x211bbb))return this[_0x432e95(0x372)][_0x432e95(0x572)](re,this[_0x432e95(0x197)],this[_0x432e95(0x3e4)],null,[],this[_0x432e95(0x249)],[],this[_0x432e95(0x168)]);this[_0x432e95(0x25f)]();const _0x1febf0=this[_0x432e95(0x372)][_0x432e95(0x572)](Oe,this[_0x432e95(0x197)],this[_0x432e95(0x3e4)],this[_0x432e95(0x168)]);return _0x1febf0[_0x432e95(0x29e)](),_0x1febf0;}['onRemoteRej'](_0x31e1be){const _0x4a1c95=_0x4a9685;return this[_0x4a1c95(0x341)](!!(_0x31e1be!=null&&_0x31e1be['isPermissionRej']));}[_0x4a9685(0x2df)](_0x50751a){const _0x5d665d=_0x4a9685;return this[_0x5d665d(0x4df)]>vn?this[_0x5d665d(0x3b7)]():(this['_resendTimer']=fn(this[_0x5d665d(0x4df)],{'timeout':this[_0x5d665d(0x4df)],'reqId':_0x50751a[_0x5d665d(0x586)]}),this[_0x5d665d(0x2a8)]=this[_0x5d665d(0x177)]['subscribe'](({reqId:_0x2a8f01,timeout:_0x56610d})=>{const _0x3958b0=_0x5d665d;this[_0x3958b0(0x1e6)](_0x2a8f01,_0x56610d);}),this);}[_0x4a9685(0x3b7)](){const _0x1c1a9a=_0x4a9685;return this[_0x1c1a9a(0x1ba)](),this[_0x1c1a9a(0x372)][_0x1c1a9a(0x572)](me,this['unitID'],this[_0x1c1a9a(0x3e4)],this['_awaitingChangeset'],[],this[_0x1c1a9a(0x168)]);}[_0x4a9685(0x2aa)](){return this;}[_0x4a9685(0x1dd)](){const _0x4d39a7=_0x4a9685;this[_0x4d39a7(0x168)][_0x4d39a7(0x2b8)](this[_0x4d39a7(0x249)]);}[_0x4a9685(0x341)](_0x4f4eaf){const _0x43a3d5=_0x4a9685;return this['_clearScheduledTask'](),this[_0x43a3d5(0x372)][_0x43a3d5(0x572)](ve,this['unitID'],this[_0x43a3d5(0x3e4)],this[_0x43a3d5(0x249)],[],this['_handler'],_0x4f4eaf);}[_0x4a9685(0x1e6)](_0x208b73,_0x1fc626){const _0x2bbe4f=_0x4a9685;var _0x403338;_0x208b73===((_0x403338=this[_0x2bbe4f(0x249)])==null?void 0x0:_0x403338[_0x2bbe4f(0x586)])&&(this[_0x2bbe4f(0x1dd)](),this[_0x2bbe4f(0x4df)]=_0x1fc626===0x0?0x3e8:_0x1fc626*0x2);}[_0x4a9685(0x1ba)](){const _0x4dec7e=_0x4a9685;var _0x26934f;(_0x26934f=this[_0x4dec7e(0x2a8)])==null||_0x26934f[_0x4dec7e(0x402)](),this['_resendTimeout']=0x0;}};fe=Ie([N(0x4,a[_0x4a9685(0x27a)](a['Injector'])),N(0x5,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),N(0x6,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0x7,a[_0x4a9685(0x449)]),N(0x8,a[_0x4a9685(0x2e8)]),N(0x9,S[_0x4a9685(0x315)]),N(0xa,a[_0x4a9685(0x23b)])],fe);let le=class extends Ce{constructor(_0x53a8a7,_0x2b9449,_0x1be90b,_0x1297d9,_0x88dfd3,_0x303b43,_0x186116,_0x124e2b,_0x3568f2,_0xed038c,_0x109d4a,_0xc1f37b,_0x376ec4){const _0x1836a4=_0x4a9685;super(_0x53a8a7,_0x2b9449,_0x1be90b,_0x1297d9,_0x88dfd3,_0xed038c,_0x376ec4,_0x124e2b,_0x3568f2),I(this,_0x1836a4(0x226),'awaiting_with_pending'),I(this,_0x1836a4(0x4df),0x0),I(this,'_resendTimer'),I(this,_0x1836a4(0x2a8)),(this[_0x1836a4(0x372)]=_0x186116,this[_0x1836a4(0x480)]=_0x109d4a,this[_0x1836a4(0x4f6)]=_0xc1f37b,_0x303b43&&(this[_0x1836a4(0x177)]=_0x303b43,this[_0x1836a4(0x2a8)]=this[_0x1836a4(0x177)][_0x1836a4(0x419)](({reqId:_0x2186fb,timeout:_0x1be389})=>{const _0x122033=_0x1836a4;this[_0x122033(0x1e6)](_0x2186fb,_0x1be389);})));}[_0x4a9685(0x40c)](_0x5d3193){const _0x4d73b8=_0x4a9685;return this[_0x4d73b8(0x256)][_0x4d73b8(0x3d6)](_0x5d3193),this;}['onRemoteChangeset'](_0x445c07){const _0x589140=_0x4a9685;if(this[_0x589140(0x34d)](_0x445c07))return this[_0x589140(0x1ba)](),this[_0x589140(0x372)]['createInstance'](re,this[_0x589140(0x197)],this[_0x589140(0x3e4)],this[_0x589140(0x249)],this['_pendingMutations'],null,[_0x445c07],this[_0x589140(0x168)]);try{const _0x4a46e8=this[_0x589140(0x4f6)][_0x589140(0x3d5)]([_0x445c07],[this[_0x589140(0x249)]],!0x1);if(S['isTransformChangesetsSuccess'](_0x4a46e8)){const {c1Prime:_0x3f2ae1,c2Prime:_0x173712}=_0x4a46e8,_0x114efa=this[_0x589140(0x4f6)][_0x589140(0x4ed)](_0x3f2ae1[0x0],this[_0x589140(0x256)]);if(S[_0x589140(0x453)](_0x114efa)){const {c1Prime:_0x2f83de,m2Prime:_0x4845c3}=_0x114efa;return this['_executeRemoteChangeset'](_0x2f83de),_0x173712[0x0][_0x589140(0x5f0)]=this[_0x589140(0x342)](),this[_0x589140(0x1ba)](),this[_0x589140(0x372)][_0x589140(0x572)](le,this[_0x589140(0x197)],this['type'],_0x173712[0x0],_0x4845c3,this['_handler'],void 0x0);}throw _0x114efa[_0x589140(0x3d8)];}throw _0x4a46e8[_0x589140(0x3d8)];}catch(_0x26d7f9){return this['_logService'][_0x589140(0x3d8)](_0x26d7f9),this[_0x589140(0x341)](!0x1);}}[_0x4a9685(0x3e9)](_0x158297){const _0x237fed=_0x4a9685;if(this[_0x237fed(0x1ba)](),this[_0x237fed(0x34d)](_0x158297))return this[_0x237fed(0x372)][_0x237fed(0x572)](re,this[_0x237fed(0x197)],this['type'],null,this[_0x237fed(0x256)],this['_awaitingChangeset'],[],this[_0x237fed(0x168)]);this[_0x237fed(0x25f)]();const _0x175135=this['_injector'][_0x237fed(0x572)](ce,this[_0x237fed(0x197)],this[_0x237fed(0x3e4)],this[_0x237fed(0x256)],this[_0x237fed(0x168)]);return _0x175135[_0x237fed(0x3a8)](),_0x175135[_0x237fed(0x29e)](),_0x175135;}['onRemoteRej'](_0x4fff06){return this['_onConflict'](!!(_0x4fff06!=null&&_0x4fff06['isPermissionRej']));}['onRemoteRetry'](_0x533e5a){const _0x14c5e9=_0x4a9685;return this[_0x14c5e9(0x4df)]>vn?this[_0x14c5e9(0x3b7)]():(this[_0x14c5e9(0x177)]=fn(this[_0x14c5e9(0x4df)],{'timeout':this[_0x14c5e9(0x4df)],'reqId':_0x533e5a[_0x14c5e9(0x586)]}),this[_0x14c5e9(0x2a8)]=this['_resendTimer'][_0x14c5e9(0x419)](({reqId:_0x48027b,timeout:_0xa05bb2})=>{const _0xb93115=_0x14c5e9;this[_0xb93115(0x1e6)](_0x48027b,_0xa05bb2);}),this);}[_0x4a9685(0x3b7)](){const _0x3e0f44=_0x4a9685;return this[_0x3e0f44(0x1ba)](),this[_0x3e0f44(0x372)][_0x3e0f44(0x572)](me,this['unitID'],this[_0x3e0f44(0x3e4)],this[_0x3e0f44(0x249)],this[_0x3e0f44(0x256)],this['_handler']);}[_0x4a9685(0x2aa)](){return this;}[_0x4a9685(0x1dd)](){const _0xee4713=_0x4a9685;this[_0xee4713(0x168)][_0xee4713(0x2b8)](this[_0xee4713(0x249)]);}[_0x4a9685(0x341)](_0x14b011){const _0x2f245e=_0x4a9685;return this[_0x2f245e(0x1ba)](),this[_0x2f245e(0x372)][_0x2f245e(0x572)](ve,this[_0x2f245e(0x197)],this['type'],null,this[_0x2f245e(0x256)],this[_0x2f245e(0x168)],_0x14b011);}[_0x4a9685(0x1e6)](_0x498ac8,_0x21bb72){const _0x10498b=_0x4a9685;var _0x508d8a;_0x498ac8===((_0x508d8a=this[_0x10498b(0x249)])==null?void 0x0:_0x508d8a[_0x10498b(0x586)])&&(this[_0x10498b(0x1dd)](),this[_0x10498b(0x4df)]=_0x21bb72===0x0?0x3e8:_0x21bb72*0x2);}[_0x4a9685(0x1ba)](){const _0x2d2a7d=_0x4a9685;var _0xd269a5;(_0xd269a5=this['_sender'])==null||_0xd269a5[_0x2d2a7d(0x402)](),this[_0x2d2a7d(0x4df)]=0x0;}};le=Ie([N(0x6,a['Inject'](a[_0x4a9685(0x17d)])),N(0x7,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),N(0x8,a[_0x4a9685(0x27a)](exports['LocalCacheService'])),N(0x9,a[_0x4a9685(0x449)]),N(0xa,a['ILogService']),N(0xb,S['ITransformService']),N(0xc,a[_0x4a9685(0x23b)])],le);let ve=class extends Ce{constructor(_0x7bb8c4,_0x332ed7,_0x1cf206,_0x17e878,_0x591023,_0x1d3aef=!0x1,_0x20c1a3,_0x123a2e,_0x236b98,_0xdd7aea,_0x4e1e6b,_0x22b8bc,_0x4bd779){const _0x52d4c5=_0x4a9685;super(_0x7bb8c4,_0x332ed7,_0x1cf206,_0x17e878,_0x591023,_0x123a2e,_0x236b98,_0x4e1e6b,_0xdd7aea),I(this,'status','conflict'),(this[_0x52d4c5(0x3ba)]=_0x1d3aef,this[_0x52d4c5(0x3e0)]=_0x20c1a3,this[_0x52d4c5(0x39c)]=_0x22b8bc,this[_0x52d4c5(0x31d)]=_0x4bd779,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x52d4c5(0x1b5)]());}[_0x4a9685(0x40c)](){return this;}[_0x4a9685(0x2bf)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x4a9685(0x2df)](){return this;}[_0x4a9685(0x3b7)](){return this;}[_0x4a9685(0x2aa)](){return this;}['resend'](){const _0x24c2e0=_0x4a9685;throw new Error(_0x24c2e0(0x280));}[_0x4a9685(0x364)](){const _0x3d9836=_0x4a9685;this[_0x3d9836(0x142)]['updateOfflineData'](this['unitID'],this[_0x3d9836(0x3e4)],null,[]);}[_0x4a9685(0x15f)](){const _0x52307c=_0x4a9685;this[_0x52307c(0x3ba)]?this[_0x52307c(0x31d)][_0x52307c(0x36b)]({'title':this[_0x52307c(0x39c)]['t'](_0x52307c(0x18b)),'content':this['_localeService']['t'](_0x52307c(0x51c)),'type':_0x52307c(0x3d8),'duration':0x0}):this[_0x52307c(0x31d)][_0x52307c(0x36b)]({'title':this['_localeService']['t'](_0x52307c(0x4d6)),'content':this[_0x52307c(0x39c)]['t'](_0x52307c(0x51b)),'type':'error','duration':0x0});}[_0x4a9685(0x1b5)](){const _0x14444b=_0x4a9685;this['_permissionService'][_0x14444b(0x38e)](new k[(_0x14444b(0x1ef))](this[_0x14444b(0x197)])['id'],!0x1);}};ve=Ie([N(0x6,a[_0x4a9685(0x27a)](a[_0x4a9685(0x310)])),N(0x7,a[_0x4a9685(0x449)]),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x4a9685(0x27a)](exports['LocalCacheService'])),N(0xa,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),N(0xb,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)])),N(0xc,ee['INotificationService'])],ve);let me=class extends Ce{constructor(_0x34b251,_0x3cf9ee,_0x310e7c,_0x42c445,_0x463f83,_0x1a8a75,_0x277c7a,_0x5651d2,_0x5dd647,_0x3b8b75){const _0x3dc074=_0x4a9685;super(_0x34b251,_0x3cf9ee,_0x310e7c,_0x42c445,_0x463f83,_0x5dd647,_0x3b8b75,_0x277c7a,_0x5651d2),I(this,_0x3dc074(0x226),_0x3dc074(0x277)),this['_injector']=_0x1a8a75;}['appendMutation'](_0x449f74){const _0x14873e=_0x4a9685;return this[_0x14873e(0x256)][_0x14873e(0x3d6)](_0x449f74),this[_0x14873e(0x29e)](),this;}[_0x4a9685(0x2bf)](_0x598d37){const _0x2c0f1c=_0x4a9685;throw new Error(_0x2c0f1c(0x444));}['onRemoteAck'](){const _0x3c1e6b=_0x4a9685;throw new Error(_0x3c1e6b(0x3d3));}['onRemoteRej'](){const _0x532fbe=_0x4a9685;throw new Error(_0x532fbe(0x58b));}[_0x4a9685(0x2df)](){return this;}[_0x4a9685(0x3b7)](){return this;}[_0x4a9685(0x2aa)](){const _0x589aff=_0x4a9685,{_injector:_0xbdac23,_pendingMutations:_0x354862,_awaitingChangeset:_0x2efb45,unitID:_0x3a53dc,_handler:_0x2dd70f,type:_0x1f9e9d}=this,_0x3cd3be=mn(_0xbdac23,_0x3a53dc,_0x1f9e9d,_0x2efb45,_0x354862,_0x2dd70f);return _0x3cd3be instanceof ce?_0x3cd3be[_0x589aff(0x3a8)]():(_0x3cd3be instanceof le||_0x3cd3be instanceof fe)&&_0x3cd3be['resend'](),_0x3cd3be;}[_0x4a9685(0x1dd)](){const _0x2f3950=_0x4a9685;throw new Error(_0x2f3950(0x274));}};me=Ie([N(0x5,a[_0x4a9685(0x27a)](a['Injector'])),N(0x6,a['Inject'](S[_0x4a9685(0x1a9)])),N(0x7,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0x8,a[_0x4a9685(0x449)]),N(0x9,a[_0x4a9685(0x23b)])],me);let re=class extends Ce{constructor(_0x1d3799,_0xb42ce2,_0x43c2c4,_0x4b8e05,_0x184075,_0x103884,_0x3eeb15,_0x53909f,_0x286684,_0x16f268,_0x6f3697,_0x2a2ecd,_0x1c267a,_0x290b86){const _0x27ffd3=_0x4a9685;super(_0x1d3799,_0xb42ce2,_0x43c2c4,_0x4b8e05,_0x3eeb15,_0x2a2ecd,_0x1c267a,_0x286684,_0x16f268),I(this,_0x27ffd3(0x226),_0x27ffd3(0x255)),(this[_0x27ffd3(0x414)]=_0x184075,this[_0x27ffd3(0x1bc)]=_0x103884,this[_0x27ffd3(0x372)]=_0x53909f,this[_0x27ffd3(0x480)]=_0x6f3697,this[_0x27ffd3(0x4f6)]=_0x290b86);}[_0x4a9685(0x144)](_0x1ddb28){const _0x4273aa=_0x4a9685;try{const _0x9d38a6=[..._0x1ddb28,...this['_queuedRemoteChangesets']],_0x9da79d=[this['_awaitingChangeset']||this[_0x4273aa(0x414)]][_0x4273aa(0x464)](_0x582d4b=>!!_0x582d4b);let _0xb06faf,_0x24d492;if(_0x9da79d[_0x4273aa(0x530)]){const _0x266a61=this[_0x4273aa(0x4f6)][_0x4273aa(0x3d5)](_0x9d38a6,_0x9da79d,!0x1);if(!S['isTransformChangesetsSuccess'](_0x266a61))throw _0x266a61[_0x4273aa(0x3d8)];_0xb06faf=_0x266a61['c1Prime'],_0x24d492=_0x266a61[_0x4273aa(0x2ad)];}else _0xb06faf=_0x9d38a6,_0x24d492=[];let _0x2ac278=this['_pendingMutations'];_0xb06faf[_0x4273aa(0x38f)](_0x442eb2=>{const _0x83da00=_0x4273aa;let _0x3c4bd8;if(_0x2ac278[_0x83da00(0x530)]){const _0x593f06=this['_transformService'][_0x83da00(0x4ed)](_0x442eb2,_0x2ac278);if(!S[_0x83da00(0x453)](_0x593f06))throw _0x593f06[_0x83da00(0x3d8)];_0x3c4bd8=_0x593f06[_0x83da00(0x51e)],_0x2ac278=_0x593f06[_0x83da00(0x403)];}else _0x3c4bd8=_0x442eb2;this['_executeRemoteChangeset'](_0x3c4bd8);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x4273aa(0x249)]&&_0x24d492[_0x4273aa(0x530)]&&(_0x24d492[0x0][_0x4273aa(0x5f0)]=this[_0x4273aa(0x342)]());let _0x78556d;if(this[_0x4273aa(0x249)]&&_0x2ac278[_0x4273aa(0x530)]!==0x0)_0x78556d=this[_0x4273aa(0x372)]['createInstance'](le,this[_0x4273aa(0x197)],this[_0x4273aa(0x3e4)],_0x24d492[0x0],_0x2ac278,this[_0x4273aa(0x168)],void 0x0);else{if(this[_0x4273aa(0x249)]&&_0x2ac278[_0x4273aa(0x530)]===0x0)_0x24d492[0x0]['baseRev']=this[_0x4273aa(0x342)](),_0x78556d=this['_injector'][_0x4273aa(0x572)](fe,this['unitID'],this[_0x4273aa(0x3e4)],_0x24d492[0x0],this[_0x4273aa(0x168)]);else{if(_0x2ac278[_0x4273aa(0x530)]!==0x0){const _0x43b4ac=this['_injector'][_0x4273aa(0x572)](ce,this[_0x4273aa(0x197)],this[_0x4273aa(0x3e4)],_0x2ac278,this[_0x4273aa(0x168)]);_0x43b4ac[_0x4273aa(0x3a8)](),_0x78556d=_0x43b4ac;}else _0x78556d=this[_0x4273aa(0x372)]['createInstance'](Oe,this[_0x4273aa(0x197)],this[_0x4273aa(0x3e4)],this['_handler']);}}return _0x78556d[_0x4273aa(0x29e)](),_0x78556d;}catch(_0x5df43d){return this[_0x4273aa(0x480)][_0x4273aa(0x3d8)](_0x4273aa(0x1ce),_0x4273aa(0x140),_0x5df43d),this[_0x4273aa(0x372)][_0x4273aa(0x572)](ve,this[_0x4273aa(0x197)],this['type'],this[_0x4273aa(0x249)],this['_pendingMutations'],this[_0x4273aa(0x168)],!0x1);}}[_0x4a9685(0x1dd)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4a9685(0x40c)](_0x2cfeb1){const _0x2b869c=_0x4a9685;return this[_0x2b869c(0x256)][_0x2b869c(0x3d6)](_0x2cfeb1),this;}[_0x4a9685(0x2bf)](_0x5e7493){const _0x491372=_0x4a9685;return this[_0x491372(0x1bc)]['push'](_0x5e7493),this;}[_0x4a9685(0x3e9)](_0x3f2661){const _0x57ce5d=_0x4a9685;if(this['_awaitingChangeset'])return this[_0x57ce5d(0x414)]=this[_0x57ce5d(0x249)],this[_0x57ce5d(0x249)]=null,this;throw new Error(_0x57ce5d(0x2ed));}[_0x4a9685(0x37b)](_0x289181){const _0x517672=_0x4a9685;return this[_0x517672(0x341)](!!(_0x289181!=null&&_0x289181['isPermissionRej']));}[_0x4a9685(0x2df)](){return this;}['toggleOffline'](){const _0x2306bd=_0x4a9685;return this['_injector'][_0x2306bd(0x572)](me,this[_0x2306bd(0x197)],this['type'],this[_0x2306bd(0x249)],this[_0x2306bd(0x256)],this['_handler']);}['toggleOnline'](){return this;}[_0x4a9685(0x341)](_0xef6b08){const _0xb857c8=_0x4a9685;return this['_injector'][_0xb857c8(0x572)](ve,this[_0xb857c8(0x197)],this[_0xb857c8(0x3e4)],this[_0xb857c8(0x249)],this[_0xb857c8(0x256)],this[_0xb857c8(0x168)],_0xef6b08);}};re=Ie([N(0x7,a['Inject'](a[_0x4a9685(0x17d)])),N(0x8,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),N(0x9,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),N(0xa,a[_0x4a9685(0x2e8)]),N(0xb,a[_0x4a9685(0x449)]),N(0xc,a[_0x4a9685(0x23b)]),N(0xd,S[_0x4a9685(0x315)])],re);function mn(_0x199429,_0x47afcf,_0x170bff,_0x4a8e22,_0x473ffb,_0x51ad88){const _0x384bdb=_0x4a9685;return _0x4a8e22&&_0x473ffb['length']?_0x199429[_0x384bdb(0x572)](le,_0x47afcf,_0x170bff,_0x4a8e22,_0x473ffb,_0x51ad88,void 0x0):_0x4a8e22?_0x199429['createInstance'](fe,_0x47afcf,_0x170bff,_0x4a8e22,_0x51ad88):_0x473ffb[_0x384bdb(0x530)]?_0x199429[_0x384bdb(0x572)](ce,_0x47afcf,_0x170bff,_0x473ffb,_0x51ad88):_0x199429[_0x384bdb(0x572)](Oe,_0x47afcf,_0x170bff,_0x51ad88);}var Bi=Object[_0x4a9685(0x377)],ki=Object[_0x4a9685(0x484)],yt=(_0x2b7223,_0x3f91b9,_0x1aa6c9,_0x4eafab)=>{for(var _0x550af9=_0x4eafab>0x1?void 0x0:_0x4eafab?ki(_0x3f91b9,_0x1aa6c9):_0x3f91b9,_0x3244ee=_0x2b7223['length']-0x1,_0x3be3d2;_0x3244ee>=0x0;_0x3244ee--)(_0x3be3d2=_0x2b7223[_0x3244ee])&&(_0x550af9=(_0x4eafab?_0x3be3d2(_0x3f91b9,_0x1aa6c9,_0x550af9):_0x3be3d2(_0x550af9))||_0x550af9);return _0x4eafab&&_0x550af9&&Bi(_0x3f91b9,_0x1aa6c9,_0x550af9),_0x550af9;},H=(_0x1dad1d,_0x374b24)=>(_0xff7d39,_0x5c2984)=>_0x374b24(_0xff7d39,_0x5c2984,_0x1dad1d);exports[_0x4a9685(0x469)]=class extends a[_0x4a9685(0x2c7)]{constructor(_0x37317a,_0x24eae1,_0x9ab4a,_0x16aed9,_0x59f9c9,_0x112065,_0xc5aa76,_0x1b9af9,_0x9580d5,_0x475998,_0x2992a0,_0x1845df,_0x160f50){const _0x51b813=_0x4a9685;super(),I(this,_0x51b813(0x497),new A[(_0x51b813(0x563))](null)),I(this,_0x51b813(0x189),this[_0x51b813(0x497)][_0x51b813(0x135)]()),I(this,'_state'),I(this,_0x51b813(0x40e),!0x1),I(this,'_changesetSessionId',''),I(this,'_changesetReqId',0x0),I(this,_0x51b813(0x4ba),this[_0x51b813(0x189)][_0x51b813(0x172)](A[_0x51b813(0x28a)](_0x3a7875=>_0x3a7875?_0x3a7875['status']:q[_0x51b813(0x338)]),A[_0x51b813(0x52c)](0x1))),I(this,_0x51b813(0x2ec),!0x1),I(this,_0x51b813(0x437),[]),(this['unitID']=_0x37317a,this[_0x51b813(0x305)]=_0x24eae1,this['_type']=_0x9ab4a,this[_0x51b813(0x372)]=_0x16aed9,this[_0x51b813(0x142)]=_0x59f9c9,this['_compressMutationService']=_0x112065,this[_0x51b813(0x39c)]=_0xc5aa76,this[_0x51b813(0x26d)]=_0x1b9af9,this[_0x51b813(0x480)]=_0x9580d5,this[_0x51b813(0x55e)]=_0x475998,this[_0x51b813(0x3a7)]=_0x2992a0,this[_0x51b813(0x3e0)]=_0x1845df,this[_0x51b813(0x214)]=_0x160f50);}get['state'](){const _0x5c4d42=_0x4a9685;return this[_0x5c4d42(0x16f)];}async[_0x4a9685(0x432)](){const _0x49b7e8=_0x4a9685;if(this['state'])throw new Error(_0x49b7e8(0x536));await this['_init']();}[_0x4a9685(0x228)](){const _0x45c668=_0x4a9685;return this[_0x45c668(0x40e)]=!0x0,a['toDisposable'](()=>{const _0xbb4faa=_0x45c668;this[_0xbb4faa(0x40e)]=!0x1,this[_0xbb4faa(0x5ca)]();});}[_0x4a9685(0x41b)](_0x23b4fd){const _0x43a581=_0x4a9685;this[_0x43a581(0x16f)]=_0x23b4fd,this[_0x43a581(0x497)]['next'](_0x23b4fd);}async[_0x4a9685(0x3f4)](){const _0x499bf2=_0x4a9685;var _0x5db60a;this[_0x499bf2(0x41b)](await this[_0x499bf2(0x2eb)]()),this[_0x499bf2(0x214)]&&((_0x5db60a=this[_0x499bf2(0x214)])==null||_0x5db60a['editingUnit'](this[_0x499bf2(0x197)]),this[_0x499bf2(0x3c7)](this[_0x499bf2(0x214)]['getUnitStatus$'](this['unitID'])[_0x499bf2(0x419)](_0x1fef4d=>{const _0x1bf48e=_0x499bf2;this['_logService'][_0x1bf48e(0x37a)](_0x1bf48e(0x2c9),'editing\x20status\x20changed\x20to',_0x1fef4d),_0x1fef4d===un[_0x1bf48e(0x521)]?(this[_0x1bf48e(0x3a7)][_0x1bf48e(0x36b)]({'content':this[_0x1bf48e(0x39c)]['t'](_0x1bf48e(0x3a3)),'type':ge[_0x1bf48e(0x2e3)][_0x1bf48e(0x174)]}),this[_0x1bf48e(0x3e0)]['updatePermissionPoint'](new k[(_0x1bf48e(0x1ef))](this[_0x1bf48e(0x197)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1bf48e(0x3e0)][_0x1bf48e(0x38e)](new k[(_0x1bf48e(0x1ef))](this[_0x1bf48e(0x197)])['id'],!0x0),this[_0x1bf48e(0x3e0)]['setShowComponents'](!0x0));})));let _0x43f4db=!0x1;return this[_0x499bf2(0x3c7)](this[_0x499bf2(0x305)]['sessionStatus$']['subscribe'](_0x2d34c0=>{const _0x2e40b4=_0x499bf2;_0x2d34c0===se[_0x2e40b4(0x244)]?this[_0x2e40b4(0x4dd)](_0x43f4db):_0x2d34c0===se[_0x2e40b4(0x338)]&&(_0x43f4db=!0x0,this[_0x2e40b4(0x1c0)]());})),this[_0x499bf2(0x3c7)](this[_0x499bf2(0x305)]['event$'][_0x499bf2(0x419)](_0x1d0e41=>{const _0x14ee26=_0x499bf2;try{switch(_0x1d0e41['eventID']){case S[_0x14ee26(0x35a)][_0x14ee26(0x27c)]:{this['_onRemoteChangeset'](S[_0x14ee26(0x3ac)](_0x1d0e41[_0x14ee26(0x18f)]));break;}case S['CollaborationEvent'][_0x14ee26(0x272)]:{this['_onRemoteACK'](_0x1d0e41[_0x14ee26(0x18f)]);break;}case S[_0x14ee26(0x35a)][_0x14ee26(0x473)]:{this[_0x14ee26(0x2ea)]();break;}case S['CollaborationEvent'][_0x14ee26(0x398)]:{this[_0x14ee26(0x383)](_0x1d0e41[_0x14ee26(0x18f)]);break;}case S[_0x14ee26(0x35a)][_0x14ee26(0x47b)]:{this[_0x14ee26(0x4a7)](_0x1d0e41[_0x14ee26(0x18f)][_0x14ee26(0x2c1)]['map'](_0x1258c5=>S[_0x14ee26(0x3ac)](_0x1258c5)));break;}case S[_0x14ee26(0x35a)][_0x14ee26(0x5d2)]:this[_0x14ee26(0x2ea)]({'isPermissionRej':!0x0});}}catch(_0x4198a5){throw console[_0x14ee26(0x3d8)](_0x14ee26(0x5d1),_0x4198a5),_0x4198a5;}})),this['_state'];}[_0x4a9685(0x2fb)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x54dd76=_0x4a9685;if(this[_0x54dd76(0x2ec)])throw new Error(_0x54dd76(0x3f8));this[_0x54dd76(0x2ec)]=!0x0;}[_0x4a9685(0x2b2)](_0x42369a){const _0x29f80c=_0x4a9685;this[_0x29f80c(0x321)](),this[_0x29f80c(0x41b)](this[_0x29f80c(0x16f)][_0x29f80c(0x40c)](_0x42369a)),this[_0x29f80c(0x2fb)]();}[_0x4a9685(0x4b8)](_0x54f541){const _0x15edae=_0x4a9685;if(!(_0x54f541[_0x15edae(0x33a)]<=this[_0x15edae(0x26d)][_0x15edae(0x3e5)](this[_0x15edae(0x197)]))){if(this[_0x15edae(0x40e)]){this[_0x15edae(0x437)][_0x15edae(0x3d6)](_0x54f541);return;}this[_0x15edae(0x1b2)](_0x54f541);}}['_exhaustRemoteChangesetQueue'](){const _0xa03c83=_0x4a9685;this['_remoteChangesetQueue'][_0xa03c83(0x38f)](_0x51c85a=>this[_0xa03c83(0x1b2)](_0x51c85a)),this[_0xa03c83(0x437)]=[];}[_0x4a9685(0x1b2)](_0x50fe95){const _0x127974=_0x4a9685,_0x3de23a=this[_0x127974(0x2b3)][_0x127974(0x200)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x127974(0x200)]['getInterceptPoints']()[_0x127974(0x3e7)])(_0x50fe95[_0x127974(0x1b8)],null)||_0x50fe95[_0x127974(0x1b8)],_0x551b61={..._0x50fe95,'mutations':_0x3de23a};this['_lockTransition'](),this[_0x127974(0x41b)](this[_0x127974(0x16f)]['onRemoteChangeset'](_0x551b61)),this[_0x127974(0x2fb)]();}[_0x4a9685(0x446)](_0x44e03f){const _0x52dce8=_0x4a9685;this[_0x52dce8(0x321)](),this[_0x52dce8(0x41b)](this[_0x52dce8(0x16f)][_0x52dce8(0x3e9)](_0x44e03f)),this[_0x52dce8(0x2fb)]();}[_0x4a9685(0x2ea)](_0x4afe13){const _0x4be43e=_0x4a9685;this[_0x4be43e(0x321)](),this[_0x4be43e(0x41b)](this['_state'][_0x4be43e(0x37b)](_0x4afe13)),this[_0x4be43e(0x2fb)]();}[_0x4a9685(0x383)](_0x160c57){const _0x2bc02e=_0x4a9685;this['_lockTransition'](),this[_0x2bc02e(0x41b)](this['_state']['onRemoteRetry'](_0x160c57)),this[_0x2bc02e(0x2fb)]();}[_0x4a9685(0x4a7)](_0x170f17){const _0x597b37=_0x4a9685;if(!(this[_0x597b37(0x16f)]instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x20ea09=_0x170f17[_0x597b37(0x28a)](_0x8a63fa=>{const _0x38bf8e=_0x597b37,_0x49bc6b=this[_0x38bf8e(0x2b3)][_0x38bf8e(0x200)][_0x38bf8e(0x3cc)](this[_0x38bf8e(0x2b3)][_0x38bf8e(0x200)][_0x38bf8e(0x5ae)]()['COMPRESS_MUTATION_APPLY'])(_0x8a63fa[_0x38bf8e(0x1b8)],null)||_0x8a63fa['mutations'];return{..._0x8a63fa,'mutations':_0x49bc6b};});this[_0x597b37(0x321)](),this[_0x597b37(0x41b)](this['_state']['onMissedChangesetFetched'](_0x20ea09)),this[_0x597b37(0x2fb)]();}[_0x4a9685(0x1c0)](){const _0x3aa3d3=_0x4a9685;this[_0x3aa3d3(0x321)](),this[_0x3aa3d3(0x41b)](this['_state'][_0x3aa3d3(0x3b7)]()),this['_unlockTransition']();}[_0x4a9685(0x4dd)](_0x12e9b2=!0x1){const _0x315ced=_0x4a9685;this['_lockTransition'](),this[_0x315ced(0x41b)](this['_state'][_0x315ced(0x2aa)]()),this[_0x315ced(0x2fb)]();const _0x4c5eea=this[_0x315ced(0x16f)];_0x12e9b2&&_0x4c5eea instanceof Oe&&(this[_0x315ced(0x321)](),this[_0x315ced(0x41b)](_0x4c5eea[_0x315ced(0x288)]()),this[_0x315ced(0x2fb)]());}async[_0x4a9685(0x2eb)](){return new Promise(_0xc74c9a=>{const _0x125503=_0x5f2c;this[_0x125503(0x305)][_0x125503(0x44d)][_0x125503(0x172)](A[_0x125503(0x3a5)](0x1))[_0x125503(0x419)](async _0x469230=>{const _0x213bf9=_0x125503;_0xc74c9a(await this[_0x213bf9(0x17b)](_0x469230===se[_0x213bf9(0x244)]));});});}[_0x4a9685(0x4a0)](){const _0x23d13d=this['unitID'];return{'onStateChange':(_0x2b3a3f,_0x365d54)=>{const _0x4ba9f7=_0x5f2c;if(_0x2b3a3f!==this[_0x4ba9f7(0x16f)])throw new Error(_0x4ba9f7(0x39b)+_0x2b3a3f[_0x4ba9f7(0x226)]+_0x4ba9f7(0x40a)+_0x365d54[_0x4ba9f7(0x226)]+_0x4ba9f7(0x300)+this[_0x4ba9f7(0x16f)][_0x4ba9f7(0x226)]);this['_updateState'](_0x365d54);},'onSendChangeset':_0x1199da=>{const _0x1c9050=_0x5f2c;_0x1199da[_0x1c9050(0x229)]||(_0x1199da[_0x1c9050(0x229)]=this[_0x1c9050(0x279)],_0x1199da[_0x1c9050(0x586)]=++this[_0x1c9050(0x36c)]);const _0x574259={'eventID':S[_0x1c9050(0x35a)][_0x1c9050(0x5eb)],'data':{'unitID':_0x1199da[_0x1c9050(0x197)],'unitType':this[_0x1c9050(0x41a)],'changeset':_0x1199da,'memberID':this[_0x1c9050(0x305)][_0x1c9050(0x204)]()}};this[_0x1c9050(0x305)][_0x1c9050(0x170)](_0x574259,this[_0x1c9050(0x197)]);},'onMissingChangesets':({from:_0xfa4879,to:_0x17d1c3})=>{const _0x21bd72=_0x5f2c;this[_0x21bd72(0x480)]['debug'](_0x21bd72(0x2c9),'fetching\x20missing\x20changesets\x20from\x20'+_0xfa4879+_0x21bd72(0x14a)+_0x17d1c3);const _0x17b6c2={'eventID':S[_0x21bd72(0x35a)][_0x21bd72(0x2b4)],'data':{'unitID':_0x23d13d,'unitType':this[_0x21bd72(0x41a)],'from':_0xfa4879,'to':_0x17d1c3}};this[_0x21bd72(0x305)]['send'](_0x17b6c2,this['unitID']);}};}async[_0x4a9685(0x17b)](_0x137489){const _0x52dc57=_0x4a9685;var _0x1365fa,_0x2327a9;const _0x3d72f3=await this[_0x52dc57(0x142)]['loadOfflineData'](this[_0x52dc57(0x197)]),_0x3ee3f2=(_0x1365fa=_0x3d72f3==null?void 0x0:_0x3d72f3[_0x52dc57(0x1b8)])!=null?_0x1365fa:[],_0x507268=(_0x2327a9=_0x3d72f3==null?void 0x0:_0x3d72f3['awaitingChangeset'])!=null?_0x2327a9:null,_0x426ed6=!!(_0x507268!=null&&_0x507268[_0x52dc57(0x229)])&&!!(_0x507268!=null&&_0x507268[_0x52dc57(0x586)]);this[_0x52dc57(0x279)]=_0x426ed6?_0x507268[_0x52dc57(0x229)]:mi(),this[_0x52dc57(0x36c)]=_0x426ed6?_0x507268['reqId']:0x0;const _0x5ee9ed=this[_0x52dc57(0x197)];try{this[_0x52dc57(0x2a5)](_0x507268,_0x3ee3f2);}catch(_0x3156f8){this[_0x52dc57(0x480)][_0x52dc57(0x3d8)](_0x3156f8);}const _0x424ac0=this[_0x52dc57(0x4a0)]();if(_0x137489){const _0x3bde60=mn(this['_injector'],_0x5ee9ed,this[_0x52dc57(0x41a)],_0x507268,_0x3ee3f2,_0x424ac0);return _0x3bde60 instanceof ce?_0x3bde60['_schedule']():(_0x3bde60 instanceof le||_0x3bde60 instanceof fe)&&_0x3bde60[_0x52dc57(0x1dd)](),_0x3bde60;}return this[_0x52dc57(0x372)][_0x52dc57(0x572)](me,_0x5ee9ed,this[_0x52dc57(0x41a)],_0x507268,_0x3ee3f2,_0x424ac0);}[_0x4a9685(0x2a5)](_0x1f4e1e,_0x11b0d4){const _0xe12273=_0x4a9685;var _0xe7871c,_0x819fe3;const _0xda46ac=this[_0xe12273(0x2b3)][_0xe12273(0x200)][_0xe12273(0x3cc)](this[_0xe12273(0x2b3)][_0xe12273(0x200)]['getInterceptPoints']()[_0xe12273(0x3e7)]);(_0xe7871c=_0xda46ac((_0x1f4e1e==null?void 0x0:_0x1f4e1e[_0xe12273(0x1b8)])||[],null))==null||_0xe7871c['forEach'](_0x1f3678=>this[_0xe12273(0x55e)][_0xe12273(0x5f4)](_0x1f3678['id'],_0x1f3678[_0xe12273(0x4da)])),(_0x819fe3=_0xda46ac(_0x11b0d4||[],null))==null||_0x819fe3[_0xe12273(0x38f)](_0x213698=>this[_0xe12273(0x55e)][_0xe12273(0x5f4)](_0x213698['id'],_0x213698[_0xe12273(0x4da)]));}},exports[_0x4a9685(0x469)]=yt([H(0x3,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),H(0x4,a[_0x4a9685(0x27a)](exports['LocalCacheService'])),H(0x5,a[_0x4a9685(0x27a)](S[_0x4a9685(0x5e2)])),H(0x6,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)])),H(0x7,a[_0x4a9685(0x27a)](S['RevisionService'])),H(0x8,a[_0x4a9685(0x2e8)]),H(0x9,a['ICommandService']),H(0xa,ee['IMessageService']),H(0xb,a[_0x4a9685(0x310)]),H(0xc,a[_0x4a9685(0x59b)](qe))],exports[_0x4a9685(0x469)]),exports[_0x4a9685(0x5b0)]=class extends exports[_0x4a9685(0x469)]{constructor(_0x399965,_0x5d029e,_0x11c7e2,_0x1a6a4a,_0x146416,_0x48e7bd,_0x3af7b3,_0x13d9a3,_0x2cd7c0,_0x3c85c8,_0x255e8e,_0x277ad0,_0x325c19,_0x51232a,_0x5883b6,_0x368630,_0x474536,_0x5861f3){const _0x50e200=_0x4a9685;super(_0x399965,_0x11c7e2,_0x5d029e,_0x1a6a4a,_0x146416,_0x48e7bd,_0x3af7b3,_0x13d9a3,_0x51232a,_0x5883b6,_0x368630,_0x474536,_0x5861f3),this[_0x50e200(0x197)]=_0x399965,this[_0x50e200(0x3e4)]=_0x5d029e,this[_0x50e200(0x4c7)]=_0x2cd7c0,this[_0x50e200(0x504)]=_0x3c85c8,this[_0x50e200(0x24e)]=_0x255e8e,this[_0x50e200(0x59d)]=_0x277ad0,this[_0x50e200(0x53a)]=_0x325c19;}[_0x4a9685(0x4a0)](){const _0x499cc5=_0x4a9685,_0x47095a=super[_0x499cc5(0x4a0)]();return _0x47095a[_0x499cc5(0x45b)]=_0x5e14b6=>this[_0x499cc5(0x504)][_0x499cc5(0x4fc)](_0x5e14b6),_0x47095a['onTransformState']=_0x3c4937=>this[_0x499cc5(0x24e)][_0x499cc5(0x5ba)](_0x3c4937),_0x47095a[_0x499cc5(0x526)]=_0x25da19=>this[_0x499cc5(0x59d)][_0x499cc5(0x58f)](_0x25da19),_0x47095a[_0x499cc5(0x379)]=_0x5bf854=>this[_0x499cc5(0x53a)][_0x499cc5(0x5bc)](_0x5bf854),_0x47095a[_0x499cc5(0x4aa)]=_0x1e61a2=>this['_docTransformIMECacheService'][_0x499cc5(0x203)](_0x1e61a2),_0x47095a[_0x499cc5(0x5a0)]=_0x1cffb5=>this['_docTransformStateCacheService'][_0x499cc5(0x203)](_0x1cffb5),_0x47095a;}async[_0x4a9685(0x3f4)](){const _0x5498fe=_0x4a9685,_0x2388d5=await super[_0x5498fe(0x3f4)]();return this[_0x5498fe(0x4c7)][_0x5498fe(0x430)][_0x5498fe(0x172)](A[_0x5498fe(0x5e8)](this[_0x5498fe(0x5c9)]))[_0x5498fe(0x419)](_0x390f23=>{const _0x34c2a2=_0x5498fe;if(_0x390f23==null)return;const {unitId:_0x381257,redoState:_0x539ca1,commandId:_0x295a26}=_0x390f23;if(_0x381257!==this[_0x34c2a2(0x197)])return;const _0x2b2843={'id':_0x295a26,'type':a[_0x34c2a2(0x4b4)][_0x34c2a2(0x58a)],'params':{'unitId':_0x381257,'actions':_0x539ca1[_0x34c2a2(0x5b6)],'textRanges':null}};this[_0x34c2a2(0x2b2)](_0x2b2843);}),_0x2388d5;}},exports[_0x4a9685(0x5b0)]=yt([H(0x3,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),H(0x4,a['Inject'](exports[_0x4a9685(0x1a0)])),H(0x5,a['Inject'](S[_0x4a9685(0x5e2)])),H(0x6,a['Inject'](a[_0x4a9685(0x4a8)])),H(0x7,a[_0x4a9685(0x27a)](S[_0x4a9685(0x1a9)])),H(0x8,a[_0x4a9685(0x27a)](J[_0x4a9685(0x492)])),H(0x9,a[_0x4a9685(0x27a)](Be)),H(0xa,a[_0x4a9685(0x27a)](We)),H(0xb,a[_0x4a9685(0x27a)](Fe)),H(0xc,a['Inject'](Rt)),H(0xd,a[_0x4a9685(0x2e8)]),H(0xe,a['ICommandService']),H(0xf,ee[_0x4a9685(0x27d)]),H(0x10,a[_0x4a9685(0x310)]),H(0x11,a[_0x4a9685(0x59b)](qe))],exports[_0x4a9685(0x5b0)]),exports[_0x4a9685(0x456)]=class extends exports['CollaborationEntity']{constructor(_0x5e0f91,_0x497c6d,_0x5ac3b7,_0x28a089,_0x14b035,_0x4ae7b9,_0x3f5806,_0x404f48,_0x587e44,_0x2251ec,_0x574217,_0x4c1ddd,_0x4d68bc,_0xba6c57){const _0x2be83b=_0x4a9685;super(_0x5e0f91,_0x5ac3b7,_0x497c6d,_0x28a089,_0x14b035,_0x4ae7b9,_0x3f5806,_0x404f48,_0x2251ec,_0x574217,_0x4c1ddd,_0x4d68bc,_0xba6c57),this['unitID']=_0x5e0f91,this[_0x2be83b(0x3e4)]=_0x497c6d,this[_0x2be83b(0x257)]=_0x587e44;}[_0x4a9685(0x4a0)](){const _0x55ffe8=_0x4a9685,_0x5a7652=super[_0x55ffe8(0x4a0)]();return _0x5a7652[_0x55ffe8(0x526)]=_0x27fdf4=>this[_0x55ffe8(0x257)]['transformSelections'](_0x27fdf4),_0x5a7652;}async[_0x4a9685(0x3f4)](){const _0x18c0d1=_0x4a9685,_0x11eab5=await super[_0x18c0d1(0x3f4)]();return this[_0x18c0d1(0x3c7)](this[_0x18c0d1(0x55e)]['onCommandExecuted']((_0x395dd2,_0x30f940)=>{const _0x379510=_0x18c0d1;if(_0x395dd2[_0x379510(0x3e4)]!==a[_0x379510(0x4b4)][_0x379510(0x58a)]||_0x30f940!=null&&_0x30f940[_0x379510(0x20d)]||_0x30f940!=null&&_0x30f940[_0x379510(0x2d7)])return;const _0x4ea6ae=_0x395dd2[_0x379510(0x4da)];if((_0x4ea6ae==null?void 0x0:_0x4ea6ae[_0x379510(0x2de)])!==this[_0x379510(0x197)])return;const _0xe89315=_0x395dd2,_0x49ccb8=this[_0x379510(0x2b3)][_0x379510(0x200)][_0x379510(0x3cc)](this[_0x379510(0x2b3)][_0x379510(0x200)]['getInterceptPoints']()[_0x379510(0x472)])([_0xe89315],null)||[_0xe89315];this['_onLocalMutation'](_0x49ccb8[0x0]);})),_0x11eab5;}},exports[_0x4a9685(0x456)]=yt([H(0x3,a['Inject'](a[_0x4a9685(0x17d)])),H(0x4,a[_0x4a9685(0x27a)](exports['LocalCacheService'])),H(0x5,a[_0x4a9685(0x27a)](S['CompressMutationService'])),H(0x6,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)])),H(0x7,a['Inject'](S[_0x4a9685(0x1a9)])),H(0x8,a[_0x4a9685(0x27a)](ke)),H(0x9,a[_0x4a9685(0x2e8)]),H(0xa,a['ICommandService']),H(0xb,ee[_0x4a9685(0x27d)]),H(0xc,a[_0x4a9685(0x310)]),H(0xd,a['Optional'](qe))],exports[_0x4a9685(0x456)]);var Wi=Object['defineProperty'],Fi=Object[_0x4a9685(0x484)],Vi=(_0x481ef1,_0xdb0237,_0x47c285,_0x56f2d7)=>{for(var _0x3ea802=_0x56f2d7>0x1?void 0x0:_0x56f2d7?Fi(_0xdb0237,_0x47c285):_0xdb0237,_0xc89e=_0x481ef1['length']-0x1,_0xa7899b;_0xc89e>=0x0;_0xc89e--)(_0xa7899b=_0x481ef1[_0xc89e])&&(_0x3ea802=(_0x56f2d7?_0xa7899b(_0xdb0237,_0x47c285,_0x3ea802):_0xa7899b(_0x3ea802))||_0x3ea802);return _0x56f2d7&&_0x3ea802&&Wi(_0xdb0237,_0x47c285,_0x3ea802),_0x3ea802;},tt=(_0x137694,_0x391c1a)=>(_0x16cba1,_0x3c7aa1)=>_0x391c1a(_0x16cba1,_0x3c7aa1,_0x137694);exports[_0x4a9685(0x1ff)]=class extends a[_0x4a9685(0x2c7)]{constructor(_0x43129f,_0x34bb48,_0x40ae74){const _0x3aa70e=_0x4a9685;super(),I(this,_0x3aa70e(0x35f),new Map()),I(this,_0x3aa70e(0x242),new A[(_0x3aa70e(0x4c3))]()),(this['_injector']=_0x43129f,this[_0x3aa70e(0x5b4)]=_0x34bb48,this[_0x3aa70e(0x54a)]=_0x40ae74,this[_0x3aa70e(0x3f4)]());}['dispose'](){const _0x1c0237=_0x4a9685;super[_0x1c0237(0x1d7)](),this[_0x1c0237(0x35f)][_0x1c0237(0x38f)](_0xa619c=>_0xa619c[_0x1c0237(0x1d7)]()),this[_0x1c0237(0x35f)]['clear']();}[_0x4a9685(0x298)](_0x193866){const _0x5e071e=_0x4a9685;var _0x47ff10;return(_0x47ff10=this[_0x5e071e(0x35f)][_0x5e071e(0x542)](_0x193866))!=null?_0x47ff10:null;}[_0x4a9685(0x5bf)](_0x34a92b){const _0x158256=_0x4a9685,_0x4a60f1=this[_0x158256(0x298)](_0x34a92b);return _0x4a60f1?A['of'](_0x4a60f1):this[_0x158256(0x242)][_0x158256(0x172)](V['filter'](_0x42b5d7=>_0x42b5d7[_0x158256(0x197)]===_0x34a92b));}['_init'](){const _0x57883b=_0x4a9685;this[_0x57883b(0x54a)][_0x57883b(0x3f9)](a[_0x57883b(0x33e)][_0x57883b(0x1af)])[_0x57883b(0x172)](A['takeUntil'](this[_0x57883b(0x5c9)]),V[_0x57883b(0x55d)](0x10))[_0x57883b(0x419)](async _0x3f0a53=>{const _0x475050=_0x57883b,_0x1e7729=_0x3f0a53['getUnitId'](),_0x495c17=await this[_0x475050(0x2a1)](_0x1e7729,ie[_0x475050(0x1af)]);this[_0x475050(0x35f)]['set'](_0x1e7729,_0x495c17);}),this[_0x57883b(0x54a)][_0x57883b(0x3f9)](a['UniverInstanceType'][_0x57883b(0x22a)])['pipe'](A[_0x57883b(0x5e8)](this['dispose$']),V[_0x57883b(0x55d)](0x10))[_0x57883b(0x172)](V[_0x57883b(0x464)](_0x181a9f=>!_0x181a9f['getUnitId']()['startsWith']('__')))[_0x57883b(0x419)](async _0x197c7b=>{const _0x4366f8=_0x57883b,_0x3160b3=_0x197c7b[_0x4366f8(0x56f)](),_0x2c816a=await this[_0x4366f8(0x2a1)](_0x3160b3,ie['UNIVER_DOC']);this[_0x4366f8(0x35f)][_0x4366f8(0x568)](_0x3160b3,_0x2c816a);}),A[_0x57883b(0x345)](this[_0x57883b(0x54a)][_0x57883b(0x388)](a[_0x57883b(0x33e)]['UNIVER_SHEET']),this[_0x57883b(0x54a)][_0x57883b(0x388)](a[_0x57883b(0x33e)]['UNIVER_DOC']))['pipe'](A['takeUntil'](this['dispose$']))[_0x57883b(0x419)](_0x3b4000=>{const _0x41e400=_0x57883b,_0x2954c8=_0x3b4000[_0x41e400(0x56f)](),_0x5e69ac=this[_0x41e400(0x35f)][_0x41e400(0x542)](_0x2954c8);_0x5e69ac&&(_0x5e69ac['dispose'](),this[_0x41e400(0x35f)][_0x41e400(0x224)](_0x2954c8));});}async[_0x4a9685(0x2a1)](_0x633c78,_0x5a7489){const _0x1e3a25=_0x4a9685,_0x2e4088=await this[_0x1e3a25(0x5b4)][_0x1e3a25(0x461)](_0x633c78),_0x1cfa4f=this['_injector'][_0x1e3a25(0x572)](this[_0x1e3a25(0x3fa)](_0x5a7489),_0x633c78,_0x5a7489,_0x2e4088);return await _0x1cfa4f[_0x1e3a25(0x432)](),this[_0x1e3a25(0x242)][_0x1e3a25(0x503)](_0x1cfa4f),_0x1cfa4f;}[_0x4a9685(0x3fa)](_0x4bccd9){const _0x52b296=_0x4a9685;switch(_0x4bccd9){case ie[_0x52b296(0x22a)]:return exports[_0x52b296(0x5b0)];case ie[_0x52b296(0x1af)]:return exports[_0x52b296(0x456)];default:throw new Error(_0x52b296(0x150)+_0x4bccd9);}}},exports[_0x4a9685(0x1ff)]=Vi([tt(0x0,a['Inject'](a[_0x4a9685(0x17d)])),tt(0x1,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x2a7)])),tt(0x2,a[_0x4a9685(0x3c5)])],exports[_0x4a9685(0x1ff)]);const $t=['purple300','jiqing500','verdancy600','red300',_0x4a9685(0x5e4),_0x4a9685(0x1e0)];class Ot extends a[_0x4a9685(0x261)]{constructor(){const _0x2f1cf2=_0x4a9685;super(...arguments),I(this,_0x2f1cf2(0x137),new Map()),I(this,'_colorIndex',0x0);}[_0x4a9685(0x3b0)](_0x3dd24d){const _0x49ede7=_0x4a9685;if(this[_0x49ede7(0x137)][_0x49ede7(0x1d2)](_0x3dd24d))return this['_assignedColors'][_0x49ede7(0x542)](_0x3dd24d);const _0x40ba36=$t[this[_0x49ede7(0x23c)]];return this[_0x49ede7(0x23c)]=(this[_0x49ede7(0x23c)]+0x1)%$t['length'],this[_0x49ede7(0x137)][_0x49ede7(0x568)](_0x3dd24d,_0x40ba36),_0x40ba36;}}var Gi=Object['defineProperty'],Yi=Object[_0x4a9685(0x484)],Ki=(_0x4fd6b0,_0x5b8807,_0x418d26,_0x44ba38)=>{const _0x1197a2=_0x4a9685;for(var _0x1f9b6e=_0x44ba38>0x1?void 0x0:_0x44ba38?Yi(_0x5b8807,_0x418d26):_0x5b8807,_0x238969=_0x4fd6b0[_0x1197a2(0x530)]-0x1,_0xff9bc3;_0x238969>=0x0;_0x238969--)(_0xff9bc3=_0x4fd6b0[_0x238969])&&(_0x1f9b6e=(_0x44ba38?_0xff9bc3(_0x5b8807,_0x418d26,_0x1f9b6e):_0xff9bc3(_0x1f9b6e))||_0x1f9b6e);return _0x44ba38&&_0x1f9b6e&&Gi(_0x5b8807,_0x418d26,_0x1f9b6e),_0x1f9b6e;},Se=(_0x3e1420,_0x286aff)=>(_0x164b10,_0x50fcaf)=>_0x286aff(_0x164b10,_0x50fcaf,_0x3e1420);const qi=0x12c,zi=0x64;let mt=class extends a[_0x4a9685(0x2c7)]{constructor(_0x20ee0b,_0x30ee2b,_0xe0ed27,_0x65bf6e,_0x54c902,_0x30ac97,_0x291bd8,_0x3ff39b,_0x16e904){const _0x5ebb79=_0x4a9685;super(),I(this,_0x5ebb79(0x420),!0x1),I(this,_0x5ebb79(0x3f4),!0x1),I(this,_0x5ebb79(0x3be),new A[(_0x5ebb79(0x563))](new Map())),I(this,_0x5ebb79(0x3d1),this[_0x5ebb79(0x3be)]['asObservable']()),I(this,_0x5ebb79(0x490),new A[(_0x5ebb79(0x563))]([])),I(this,_0x5ebb79(0x46e),this[_0x5ebb79(0x490)][_0x5ebb79(0x172)](A[_0x5ebb79(0x416)](qi))),I(this,_0x5ebb79(0x2fa),a[_0x5ebb79(0x158)](_0x2615a7=>{const _0xc1cf39=_0x5ebb79,_0x15b1f0={'eventID':S[_0xc1cf39(0x35a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xc1cf39(0x197)],'memberID':this[_0xc1cf39(0x466)][_0xc1cf39(0x204)](),'selection':dn(_0x2615a7)}};this[_0xc1cf39(0x466)][_0xc1cf39(0x170)](_0x15b1f0,this[_0xc1cf39(0x197)]);},zi)),(this[_0x5ebb79(0x197)]=_0x20ee0b,this[_0x5ebb79(0x466)]=_0x30ee2b,this[_0x5ebb79(0x372)]=_0xe0ed27,this[_0x5ebb79(0x544)]=_0x65bf6e,this[_0x5ebb79(0x1f9)]=_0x54c902,this['_syncEditingCollabCursorService']=_0x30ac97,this['_transformService']=_0x291bd8,this['_univerInstanceService']=_0x3ff39b,this[_0x5ebb79(0x55e)]=_0x16e904);}get[_0x4a9685(0x468)](){return this['_cursorInfo$']['getValue']();}get[_0x4a9685(0x334)](){const _0x1509db=_0x4a9685;return this[_0x1509db(0x490)][_0x1509db(0x1ae)]();}['dispose'](){const _0x3cf017=_0x4a9685;super[_0x3cf017(0x1d7)](),this[_0x3cf017(0x3be)][_0x3cf017(0x503)](new Map()),this[_0x3cf017(0x3be)]['complete'](),this[_0x3cf017(0x490)][_0x3cf017(0x503)]([]),this[_0x3cf017(0x490)]['complete']();}[_0x4a9685(0x432)](){const _0x355284=_0x4a9685;this[_0x355284(0x3f4)]||(this[_0x355284(0x3f4)]=!0x0,this[_0x355284(0x466)][_0x355284(0x44d)][_0x355284(0x172)](A[_0x355284(0x5e8)](this[_0x355284(0x5c9)]))[_0x355284(0x419)](_0x3a447e=>{const _0x30194f=_0x355284;_0x3a447e===se[_0x30194f(0x244)]?this[_0x30194f(0x4dd)]():this['_toggleOffline']();}),this[_0x355284(0x466)]['event$'][_0x355284(0x172)](A[_0x355284(0x5e8)](this['dispose$']))[_0x355284(0x419)](_0x54ab2a=>{const _0x33e1bc=_0x355284,_0x292e7d=_0x54ab2a['eventID'];_0x292e7d===S[_0x33e1bc(0x35a)][_0x33e1bc(0x49a)]&&this[_0x33e1bc(0x4f8)](_0x54ab2a),_0x292e7d===S[_0x33e1bc(0x35a)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x54ab2a);}),this[_0x355284(0x3c7)](this[_0x355284(0x55e)][_0x355284(0x555)](_0x1a4e16=>{const _0x26b0bf=_0x355284,_0x27d151=_0x1a4e16[_0x26b0bf(0x4da)];_0x27d151!=null&&this['_online']&&_0x1a4e16['id']===ye[_0x26b0bf(0x50a)]['id']&&_0x27d151[_0x26b0bf(0x2de)]===this[_0x26b0bf(0x197)]&&_0x27d151['isEditing']===!0x1&&_0x27d151[_0x26b0bf(0x1c1)]['length']>0x0&&this[_0x26b0bf(0x2fa)](_0x27d151[_0x26b0bf(0x1c1)]);})),this['_syncEditingCollabCursorService'][_0x355284(0x20a)][_0x355284(0x172)](A[_0x355284(0x5e8)](this[_0x355284(0x5c9)]))[_0x355284(0x419)](_0x506934=>{const _0x1590ec=_0x355284;if((_0x506934==null?void 0x0:_0x506934[_0x1590ec(0x197)])!==this['unitID'])return;const _0xff5153={'eventID':S[_0x1590ec(0x35a)][_0x1590ec(0x49a)],'data':_0x506934};this[_0x1590ec(0x4f8)](_0xff5153);}),this[_0x355284(0x3c7)](this[_0x355284(0x55e)]['onCommandExecuted'](_0x422a0a=>{const _0x4397a3=_0x355284;if(_0x422a0a['params']==null)return;const _0x4d80e0=_0x422a0a['params'];if(_0x422a0a['id']!==ye[_0x4397a3(0x4de)]['id']||_0x4d80e0[_0x4397a3(0x2de)]!==this['unitID'])return;const _0x1a9300={'id':_0x4397a3(0x3cf),'params':_0x4d80e0},_0x4aab6e=this['cursorInfo'];for(const [_0x104c0e,_0x4e47f0]of _0x4aab6e){const _0x3fe4f7={'id':_0x4397a3(0x3cf),'params':{'unitId':this[_0x4397a3(0x197)],'actions':null,'textRanges':_0x4e47f0[_0x4397a3(0x1c1)]}},_0x1ff816=this[_0x4397a3(0x4f6)][_0x4397a3(0x23e)](_0x1a9300,_0x3fe4f7,!0x1);if(S[_0x4397a3(0x498)](_0x1ff816))throw _0x1ff816['error'];_0x4aab6e[_0x4397a3(0x568)](_0x104c0e,{..._0x4e47f0,'ranges':_0x1ff816[_0x4397a3(0x403)][_0x4397a3(0x4da)][_0x4397a3(0x236)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4aab6e);});})));}[_0x4a9685(0x4f8)](_0x1b7975){const _0x4747b6=_0x4a9685;var _0x436171,_0x3b1d9f;const {memberID:_0x5344dd,selection:_0x395c1a}=_0x1b7975[_0x4747b6(0x18f)],_0x1f32ac=Ui(_0x395c1a),_0x36632d=(_0x3b1d9f=(_0x436171=this[_0x4747b6(0x1f9)][_0x4747b6(0x5a6)](this[_0x4747b6(0x197)],_0x5344dd))==null?void 0x0:_0x436171[_0x4747b6(0x2b9)])!=null?_0x3b1d9f:_0x4747b6(0x4af),_0x493456={'color':this[_0x4747b6(0x544)]['assignAColorForMemberID'](_0x5344dd),'name':_0x36632d,'ranges':_0x1f32ac},_0xc0c878=this[_0x4747b6(0x468)];_0xc0c878[_0x4747b6(0x568)](_0x5344dd,_0x493456),this[_0x4747b6(0x3be)][_0x4747b6(0x503)](_0xc0c878);}[_0x4a9685(0x4f0)](_0x5842e2){const _0x51a608=_0x4a9685,{memberID:_0xbf7719}=_0x5842e2['data'],_0x55770f=this['cursorInfo'];_0x55770f[_0x51a608(0x224)](_0xbf7719),this[_0x51a608(0x3be)][_0x51a608(0x503)](_0x55770f);}[_0x4a9685(0x4dd)](){const _0x552ccd=_0x4a9685;var _0x4a1b9e;if(this['_online']=!0x0,((_0x4a1b9e=this[_0x552ccd(0x54a)][_0x552ccd(0x2dd)]())==null?void 0x0:_0x4a1b9e[_0x552ccd(0x56f)]())!==this['unitID'])return;const _0x3f6a75=this[_0x552ccd(0x372)]['get'](ye[_0x552ccd(0x1f8)])[_0x552ccd(0x231)]();Array['isArray'](_0x3f6a75)&&_0x3f6a75[_0x552ccd(0x530)]>0x0&&this[_0x552ccd(0x2fa)](_0x3f6a75);}['_toggleOffline'](){this['_online']=!0x1;}};mt=Ki([Se(0x2,a[_0x4a9685(0x27a)](a['Injector'])),Se(0x3,a[_0x4a9685(0x27a)](Ot)),Se(0x4,a['Inject'](exports[_0x4a9685(0x3e1)])),Se(0x5,a[_0x4a9685(0x27a)](Rt)),Se(0x6,S['ITransformService']),Se(0x7,a[_0x4a9685(0x3c5)]),Se(0x8,a['ICommandService'])],mt);var Xi=Object[_0x4a9685(0x377)],Ji=Object[_0x4a9685(0x484)],Zi=(_0x83b968,_0x211619,_0x25a295,_0x5d1c59)=>{for(var _0x20175f=_0x5d1c59>0x1?void 0x0:_0x5d1c59?Ji(_0x211619,_0x25a295):_0x211619,_0x12c720=_0x83b968['length']-0x1,_0x1b60ff;_0x12c720>=0x0;_0x12c720--)(_0x1b60ff=_0x83b968[_0x12c720])&&(_0x20175f=(_0x5d1c59?_0x1b60ff(_0x211619,_0x25a295,_0x20175f):_0x1b60ff(_0x20175f))||_0x20175f);return _0x5d1c59&&_0x20175f&&Xi(_0x211619,_0x25a295,_0x20175f),_0x20175f;},be=(_0x559b03,_0x1ab25f)=>(_0x44ba05,_0x750587)=>_0x1ab25f(_0x44ba05,_0x750587,_0x559b03);const Qi=0x12c,es=0x64,ts=()=>{let _0x3baa65=[],_0x234ee9=!0x1;return _0x482bb6=>{_0x3baa65['push'](_0x482bb6),_0x234ee9||(_0x234ee9=!0x0,setTimeout(()=>{const _0x509fc0=_0x5f2c;_0x3baa65[_0x509fc0(0x38f)](_0xfb7950=>_0xfb7950()),_0x3baa65=[],_0x234ee9=!0x1;}));};};let St=class extends a[_0x4a9685(0x2c7)]{constructor(_0x4c1234,_0x44df28,_0x3b98d2,_0x25f44d,_0x5a32cf,_0x997642,_0x4b61a2,_0x365954){const _0x5cf697=_0x4a9685;super(),I(this,_0x5cf697(0x420),!0x1),I(this,_0x5cf697(0x3f4),!0x1),I(this,'_cursorInfo$',new A[(_0x5cf697(0x563))](new Map())),I(this,_0x5cf697(0x3d1),this[_0x5cf697(0x3be)][_0x5cf697(0x135)]()),I(this,'_roomMembers$',new A[(_0x5cf697(0x563))]([])),I(this,_0x5cf697(0x46e),this['_roomMembers$'][_0x5cf697(0x172)](A[_0x5cf697(0x416)](Qi))),I(this,_0x5cf697(0x2fa),a[_0x5cf697(0x158)]((_0x1cc945,_0xfead57)=>{const _0x259163=_0x5cf697,_0x1e3d54={'eventID':S['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x259163(0x197)],'memberID':this[_0x259163(0x466)][_0x259163(0x204)](),'selection':Pt[_0x259163(0x41c)](_0x1cc945,_0xfead57[_0x259163(0x27f)])}};this['_session']['send'](_0x1e3d54,this[_0x259163(0x197)]);},es)),(this[_0x5cf697(0x197)]=_0x4c1234,this[_0x5cf697(0x466)]=_0x44df28,this['_injector']=_0x3b98d2,this['_colorAssignService']=_0x25f44d,this[_0x5cf697(0x1f9)]=_0x5a32cf,this[_0x5cf697(0x54a)]=_0x997642,this[_0x5cf697(0x55e)]=_0x4b61a2,this[_0x5cf697(0x4fa)]=_0x365954);}get[_0x4a9685(0x468)](){const _0x18f97e=_0x4a9685;return this[_0x18f97e(0x3be)]['getValue']();}get['roomMembers'](){const _0x38d57c=_0x4a9685;return this[_0x38d57c(0x490)][_0x38d57c(0x1ae)]();}[_0x4a9685(0x1d7)](){const _0x190678=_0x4a9685;super[_0x190678(0x1d7)](),this['_cursorInfo$'][_0x190678(0x503)](new Map()),this[_0x190678(0x3be)]['complete'](),this['_roomMembers$'][_0x190678(0x503)]([]),this[_0x190678(0x490)][_0x190678(0x2f7)]();}['init'](){const _0x28d850=_0x4a9685;this[_0x28d850(0x3f4)]||(this['_init']=!0x0,this[_0x28d850(0x466)]['sessionStatus$'][_0x28d850(0x172)](A[_0x28d850(0x5e8)](this[_0x28d850(0x5c9)]))[_0x28d850(0x419)](_0xf2331f=>{const _0x47922a=_0x28d850;_0xf2331f===se[_0x47922a(0x244)]?this[_0x47922a(0x4dd)]():this[_0x47922a(0x1c0)]();}),this['_session'][_0x28d850(0x297)][_0x28d850(0x172)](A[_0x28d850(0x5e8)](this[_0x28d850(0x5c9)]))['subscribe'](_0x595525=>{const _0x3dc3ab=_0x28d850,_0x3d0cb5=_0x595525[_0x3dc3ab(0x3af)];_0x3d0cb5===S[_0x3dc3ab(0x35a)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x595525),_0x3d0cb5===S[_0x3dc3ab(0x35a)][_0x3dc3ab(0x5c3)]&&this[_0x3dc3ab(0x4f0)](_0x595525);}),this[_0x28d850(0x48e)](),this[_0x28d850(0x3c7)](this[_0x28d850(0x55e)]['onCommandExecuted'](_0x67fffb=>{const _0x45b33a=_0x28d850;if(this['_online']&&_0x67fffb['id']===k[_0x45b33a(0x25b)]['id']&&_0x67fffb[_0x45b33a(0x4da)][_0x45b33a(0x2de)]===this[_0x45b33a(0x197)]){const _0x32ef0b=_0x67fffb[_0x45b33a(0x4da)];this[_0x45b33a(0x2fa)](_0x32ef0b[_0x45b33a(0x2ae)],_0x32ef0b[_0x45b33a(0x5c6)][0x0]);}})));}['_onCursorUpdate'](_0x4fdfb3){const _0x482c8e=_0x4a9685;var _0x5a33fe,_0x42bda2;const {memberID:_0x5f474f,selection:_0x1f57d8}=_0x4fdfb3['data'],{sheetName:_0x34ea61,range:_0x306930}=Pt[_0x482c8e(0x329)](_0x1f57d8),_0x194405={'name':(_0x42bda2=(_0x5a33fe=this[_0x482c8e(0x1f9)][_0x482c8e(0x5a6)](this['unitID'],_0x5f474f))==null?void 0x0:_0x5a33fe[_0x482c8e(0x2b9)])!=null?_0x42bda2:_0x482c8e(0x4af),'range':this[_0x482c8e(0x4f5)](_0x34ea61,_0x306930),'sheetID':_0x34ea61,'color':this[_0x482c8e(0x544)]['assignAColorForMemberID'](_0x5f474f),'selection':_0x1f57d8},_0x8526c8=this[_0x482c8e(0x468)];_0x8526c8['set'](_0x5f474f,_0x194405),this[_0x482c8e(0x3be)]['next'](_0x8526c8);}[_0x4a9685(0x4f0)](_0x3aa6a0){const _0x36f32f=_0x4a9685,{memberID:_0x37499c}=_0x3aa6a0[_0x36f32f(0x18f)],_0x5cf652=this[_0x36f32f(0x468)];_0x5cf652['delete'](_0x37499c),this[_0x36f32f(0x3be)][_0x36f32f(0x503)](_0x5cf652);}[_0x4a9685(0x4f5)](_0x9e0736,_0x39d57f){const _0x491ca0=_0x4a9685;var _0xae6002,_0x3e9ccb;const _0x514d02=(_0x3e9ccb=(_0xae6002=this[_0x491ca0(0x54a)]['getUniverSheetInstance'](this[_0x491ca0(0x197)]))==null?void 0x0:_0xae6002[_0x491ca0(0x2ca)](_0x9e0736))==null?void 0x0:_0x3e9ccb[_0x491ca0(0x4d1)]();return(_0x514d02==null?void 0x0:_0x514d02[_0x491ca0(0x284)](_0x40d29a=>a['Rectangle'][_0x491ca0(0x167)](_0x40d29a,_0x39d57f)))||_0x39d57f;}[_0x4a9685(0x48e)](){const _0x2c6bf4=_0x4a9685,_0x365faa=new a[(_0x2c6bf4(0x4b2))](),_0x1d7943=ts(),_0x1870c1=()=>{const _0x1f6d10=_0x2c6bf4;_0x365faa[_0x1f6d10(0x1d7)]();const _0x3e08c9=(_0xaddbc5,_0x2875ca,_0x3e86d3,_0x5b8423)=>{const _0xb54edd=_0x1f6d10;let _0x49258e=[];switch(_0xaddbc5['id']){case k[_0xb54edd(0x48c)][_0xb54edd(0x4b7)]:{_0x49258e=k['handleDeleteRangeMoveLeft'](_0xaddbc5,_0x5b8423);break;}case k['EffectRefRangId'][_0xb54edd(0x2e4)]:{_0x49258e=k[_0xb54edd(0x169)](_0xaddbc5,_0x5b8423);break;}case k['EffectRefRangId'][_0xb54edd(0x2da)]:{_0x49258e=k[_0xb54edd(0x3ff)](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)][_0xb54edd(0x471)]:{_0x49258e=k['handleInsertRangeMoveDown'](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)]['InsertRangeMoveRightCommandId']:{_0x49258e=k['handleInsertRangeMoveRight'](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)][_0xb54edd(0x58e)]:{_0x49258e=k['handleInsertRow'](_0xaddbc5,_0x5b8423);break;}case k['EffectRefRangId'][_0xb54edd(0x219)]:{_0x49258e=k['handleMoveRange'](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)][_0xb54edd(0x316)]:{_0x49258e=k['handleIRemoveCol'](_0xaddbc5,_0x5b8423);break;}case k[_0xb54edd(0x48c)]['RemoveRowCommandId']:{_0x49258e=k[_0xb54edd(0x587)](_0xaddbc5,_0x5b8423);break;}}const _0x56b403=k[_0xb54edd(0x458)](_0x49258e,_0x5b8423),_0x13b859=this['cursorInfo'][_0xb54edd(0x542)](_0x2875ca);if(_0x13b859&&_0x56b403){const _0x469398={..._0x13b859,'range':_0x56b403};this[_0xb54edd(0x468)]['set'](_0x2875ca,_0x469398),_0x1d7943(()=>{const _0x407598=_0xb54edd,_0x215ddc=this['_refRangeService'][_0x407598(0x506)](_0x56b403,_0x3443fe=>(_0x215ddc[_0x407598(0x1d7)](),_0x3e08c9(_0x3443fe,_0x2875ca,_0x3e86d3,_0x56b403)));_0x365faa['add'](_0x215ddc);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1f6d10(0x38f)]((_0x45e2e6,_0x1d1f12)=>{const _0x4b60c7=_0x1f6d10,{range:_0x2a365d,sheetID:_0x1a4317}=_0x45e2e6,_0x5de2d4=this[_0x4b60c7(0x4fa)][_0x4b60c7(0x506)](_0x2a365d,_0xb533=>(_0x5de2d4[_0x4b60c7(0x1d7)](),_0x3e08c9(_0xb533,_0x1d1f12,_0x1a4317,_0x2a365d)));_0x365faa[_0x4b60c7(0x42a)](_0x5de2d4);});};this[_0x2c6bf4(0x3c7)](a[_0x2c6bf4(0x4fd)](this[_0x2c6bf4(0x3be)][_0x2c6bf4(0x419)](()=>{_0x1870c1();})));}[_0x4a9685(0x4dd)](){const _0x26e3ed=_0x4a9685;var _0x62973c,_0x20cf1a;if(this[_0x26e3ed(0x420)]=!0x0,((_0x62973c=this['_univerInstanceService'][_0x26e3ed(0x2dd)]())==null?void 0x0:_0x62973c[_0x26e3ed(0x56f)]())!==this[_0x26e3ed(0x197)])return;const _0x1d4524=(_0x20cf1a=this[_0x26e3ed(0x372)][_0x26e3ed(0x542)](k[_0x26e3ed(0x31c)])[_0x26e3ed(0x3b1)]())==null?void 0x0:_0x20cf1a[0x0],_0x4e2217=this['_univerInstanceService'][_0x26e3ed(0x5cf)](a['UniverInstanceType'][_0x26e3ed(0x1af)])[_0x26e3ed(0x4d4)]();_0x1d4524&&_0x4e2217&&this[_0x26e3ed(0x2fa)](_0x4e2217[_0x26e3ed(0x180)](),_0x1d4524);}[_0x4a9685(0x1c0)](){const _0x123934=_0x4a9685;this[_0x123934(0x420)]=!0x1;}};St=Zi([be(0x2,a['Inject'](a['Injector'])),be(0x3,a[_0x4a9685(0x27a)](Ot)),be(0x4,a['Inject'](exports[_0x4a9685(0x3e1)])),be(0x5,a[_0x4a9685(0x3c5)]),be(0x6,a[_0x4a9685(0x449)]),be(0x7,a[_0x4a9685(0x27a)](k[_0x4a9685(0x198)]))],St);var ns=Object[_0x4a9685(0x377)],is=Object[_0x4a9685(0x484)],ss=(_0x34f34d,_0xa5b57b,_0x24dccc,_0x57fb50)=>{const _0xc984f9=_0x4a9685;for(var _0x3451f1=_0x57fb50>0x1?void 0x0:_0x57fb50?is(_0xa5b57b,_0x24dccc):_0xa5b57b,_0x31250e=_0x34f34d[_0xc984f9(0x530)]-0x1,_0x1fbb62;_0x31250e>=0x0;_0x31250e--)(_0x1fbb62=_0x34f34d[_0x31250e])&&(_0x3451f1=(_0x57fb50?_0x1fbb62(_0xa5b57b,_0x24dccc,_0x3451f1):_0x1fbb62(_0x3451f1))||_0x3451f1);return _0x57fb50&&_0x3451f1&&ns(_0xa5b57b,_0x24dccc,_0x3451f1),_0x3451f1;},nt=(_0x228cff,_0x4619ca)=>(_0x16d455,_0x5b2431)=>_0x4619ca(_0x16d455,_0x5b2431,_0x228cff);let De=class extends a[_0x4a9685(0x2c7)]{constructor(_0x3ad23c,_0x3321e8,_0x4087c3){const _0x16fc7f=_0x4a9685;super(),I(this,_0x16fc7f(0x35f),new Map()),I(this,_0x16fc7f(0x242),new A['Subject']()),(this[_0x16fc7f(0x54a)]=_0x3ad23c,this[_0x16fc7f(0x372)]=_0x3321e8,this[_0x16fc7f(0x5b4)]=_0x4087c3,this[_0x16fc7f(0x3f4)]());}[_0x4a9685(0x1d7)](){const _0x545527=_0x4a9685;super['dispose'](),this[_0x545527(0x242)]['complete'](),this[_0x545527(0x35f)][_0x545527(0x38f)](_0x430d87=>_0x430d87['dispose']());}[_0x4a9685(0x406)](_0xdc9732){const _0x57684f=_0x4a9685;return this[_0x57684f(0x35f)][_0x57684f(0x1d2)](_0xdc9732)?this[_0x57684f(0x35f)][_0x57684f(0x542)](_0xdc9732)[_0x57684f(0x3d1)]:this[_0x57684f(0x242)][_0x57684f(0x172)](A['filter'](_0x4a39cb=>_0x4a39cb[_0x57684f(0x197)]===_0xdc9732),A[_0x57684f(0x4c9)](_0x974679=>_0x974679[_0x57684f(0x3d1)]));}[_0x4a9685(0x3f4)](){const _0x1099ba=_0x4a9685;this[_0x1099ba(0x54a)]['getTypeOfUnitAdded$'](a[_0x1099ba(0x33e)]['UNIVER_SHEET'])[_0x1099ba(0x172)](A[_0x1099ba(0x5e8)](this[_0x1099ba(0x5c9)]))[_0x1099ba(0x419)](async _0x55096c=>{const _0x1a52d0=_0x1099ba,_0x1be740=_0x55096c[_0x1a52d0(0x56f)](),_0x2a0801=await this[_0x1a52d0(0x1c4)](_0x1be740);this[_0x1a52d0(0x242)][_0x1a52d0(0x503)](_0x2a0801),this[_0x1a52d0(0x35f)][_0x1a52d0(0x568)](_0x1be740,_0x2a0801);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1099ba(0x33e)][_0x1099ba(0x22a)])[_0x1099ba(0x172)](A[_0x1099ba(0x5e8)](this[_0x1099ba(0x5c9)]))[_0x1099ba(0x172)](A[_0x1099ba(0x464)](_0x4b06b6=>!_0x4b06b6[_0x1099ba(0x56f)]()[_0x1099ba(0x3c4)]('__')))[_0x1099ba(0x419)](async _0x5dbffe=>{const _0x66163e=_0x1099ba,_0x4164a8=_0x5dbffe[_0x66163e(0x56f)](),_0x277154=await this[_0x66163e(0x574)](_0x4164a8);this[_0x66163e(0x242)][_0x66163e(0x503)](_0x277154),this[_0x66163e(0x35f)][_0x66163e(0x568)](_0x4164a8,_0x277154);}),A['merge'](this[_0x1099ba(0x54a)][_0x1099ba(0x388)](a[_0x1099ba(0x33e)][_0x1099ba(0x22a)]),this[_0x1099ba(0x54a)][_0x1099ba(0x388)](a[_0x1099ba(0x33e)][_0x1099ba(0x1af)]))[_0x1099ba(0x172)](A[_0x1099ba(0x5e8)](this[_0x1099ba(0x5c9)]))[_0x1099ba(0x419)](_0x4d4b69=>{const _0x1b007a=_0x1099ba,_0x176d9d=_0x4d4b69[_0x1b007a(0x56f)](),_0x5dd815=this['_entities'][_0x1b007a(0x542)](_0x176d9d);_0x5dd815&&(_0x5dd815['dispose'](),this['_entities']['delete'](_0x176d9d));});}async[_0x4a9685(0x1c4)](_0x54acaf){const _0x2ff541=_0x4a9685,_0x166a9d=await this[_0x2ff541(0x5b4)][_0x2ff541(0x461)](_0x54acaf),_0x3b137d=this[_0x2ff541(0x372)][_0x2ff541(0x572)](St,_0x54acaf,_0x166a9d);return _0x3b137d['init'](),_0x3b137d;}async[_0x4a9685(0x574)](_0x389cf5){const _0x387af4=_0x4a9685,_0xfe3aa9=await this[_0x387af4(0x5b4)][_0x387af4(0x461)](_0x389cf5),_0x2bc231=this[_0x387af4(0x372)][_0x387af4(0x572)](mt,_0x389cf5,_0xfe3aa9);return _0x2bc231[_0x387af4(0x432)](),_0x2bc231;}};De=ss([nt(0x0,a['IUniverInstanceService']),nt(0x1,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),nt(0x2,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x2a7)]))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x14b240,_0x43b859){const _0x322e1c=_0x4a9685;let {radius:_0x164e66,width:_0x2d8cd9,height:_0x34c08b}=_0x43b859;_0x164e66=_0x164e66!=null?_0x164e66:0x0,_0x2d8cd9=_0x2d8cd9!=null?_0x2d8cd9:0x1e,_0x34c08b=_0x34c08b!=null?_0x34c08b:0x1e;let _0x1e83f4=0x0,_0x2f5924=0x0,_0x59729e=0x0;_0x1e83f4=_0x2f5924=_0x59729e=Math[_0x322e1c(0x585)](_0x164e66,_0x2d8cd9/0x2,_0x34c08b/0x2),_0x14b240['beginPath'](),_0x14b240[_0x322e1c(0x51f)](_0x1e83f4,0x0),_0x14b240['lineTo'](_0x2d8cd9-_0x2f5924,0x0),_0x14b240[_0x322e1c(0x485)](_0x2d8cd9-_0x2f5924,_0x2f5924,_0x2f5924,Math['PI']*0x3/0x2,0x0,!0x1),_0x14b240[_0x322e1c(0x41e)](_0x2d8cd9,_0x34c08b-_0x59729e),_0x14b240['arc'](_0x2d8cd9-_0x59729e,_0x34c08b-_0x59729e,_0x59729e,0x0,Math['PI']/0x2,!0x1),_0x14b240[_0x322e1c(0x41e)](0x0,_0x34c08b),_0x14b240[_0x322e1c(0x41e)](0x0,_0x1e83f4),_0x14b240[_0x322e1c(0x485)](_0x1e83f4,_0x1e83f4,_0x1e83f4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x14b240[_0x322e1c(0x25e)](),_0x43b859[_0x322e1c(0x28d)]&&(_0x14b240[_0x322e1c(0x4ff)](),_0x14b240[_0x322e1c(0x2e2)]=_0x43b859['fill'],_0x43b859[_0x322e1c(0x5c8)]==='evenodd'?_0x14b240['fill'](_0x322e1c(0x2b7)):_0x14b240[_0x322e1c(0x28d)](),_0x14b240[_0x322e1c(0x4a9)]());}function _0x2b0a(){const _0x213ed4=['SheetCollaborationEntity','SheetCollabCursorShape','runRefRangeMutations','getCurrentUser','/block/','onTransformIME','_updateURLWithCurrentState','touchDependencies','exhaustSavingTask','[PendingState]:\x20unhandled\x20univer\x20type:\x20','endColumn','requireSession','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_docSkeleton','filter','url','_session','DocSkeletonManagerService','cursorInfo','CollaborationEntity','withCredentials','_collaborationController','_nDataBytes','@univerjs/engine-render','roomMembers$','univer-pro.collaboration-client.single-active-unit-service','values','InsertRangeMoveDownCommandId','COMPRESS_MUTATION_SEND','CHANGESET_REJ','liveShareOperation','_draw','_doCryptBlock','ILocalStorageService','idSuffix','_onRecvEvent','MergeInterceptorFactory','PSEUDO_FETCH_MISSING_RESULT','equals','_handleJoinEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','column','_logService','round','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ITelemetryService','getOwnPropertyDescriptor','arc','_cursor','_drawAnchor','HEARTBEAT_INTERVAL','collabStatus.fetchMiss','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketService','EffectRefRangId','@univerjs-pro/collaboration','_onRefRangeChange','_localStorageService','_roomMembers$','_socket$','DocStateChangeManagerService','change$','_collaborationSessionService','socket$','?url=','_state$','isTransformMutationFailure','[CollaborationUndoRedoService]','UPDATE_CURSOR','SEND_CHANGESET_TIMEOUT','updateCollaborator','processBlock','LOGIN_URL_KEY','_nRounds','_createHandler','getConfig','none','jsx','_fetchMissChangesets','collab-text-anchor-','_oKey','_onFetchMissResult','LocaleService','restore','onTransformRemoteChangesetByIMECache','currentTheme$','COMPLETION_FINISHED','BuiltInUIPart','collabStatus.conflict','Unknown\x20user','every','957104hgvwHj','DisposableCollection','liveShareNewHost','CommandType','endRow','_getSaveTimeout','DeleteRangeMoveLeftCommandId','_onRemoteChangeset','image/bmp','status$','algo','SheetPermissionInitController','#fff','UNRECOGNIZED','isActive','msCrypto','_name','setInterval','Subject','_change$','create','currentColor','_docStateChangeManagerService','saveSheetBlock','switchMap','SheetSkeletonManagerService','decrypt','src','univer-online-status-icon','fromEventSubject','color','shouldCloseConn','getMergeData','HttpExport','_id','getActiveSheet','_parse','conflict.title','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','split','IRemoteInstanceService','params','_redoStacks','kdf','_toggleOnline','RichTextEditingMutation','_resendTimeout','[PendingState]:\x20received\x20acknowledgement.','getRelativeToViewportCoord','MD5','StreamCipher','encrypt','974055MQSetI','1848510BsEahU','SetWorksheetActivateCommand','getOwnPropertySymbols','_initMergeInterceptor','clipPath','setActiveRange','_transformHistoryAndStateStack','transformMutationsWithChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','onload','_onCursorDelete','_retryCount','routeKey','url(#on-line-single_clip0_910_349)','distinctUntilChanged','_getMergeRange','_transformService','_drawRectRange','_onCursorUpdate','catch','_refRangeService','_rescheduleHeartbeat','transformIMECache','toDisposable','downloadEndpointUrl','save','copyFileMeta','randomBytes','blockSize','next','_docTransformIMECacheService','_render','registerRefRange','PasswordBasedCipher','collaboration-session-retry','transform','SetTextSelectionsOperation','_event$','createEncryptor','ImageIoService','selection','for','font','CONNECTOR_DATA_TOO_LARGE','_clearOtherTimers','deepClone','getCoordByCell','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','0\x200\x2017\x2016','ENSURE_SNAPSHOT_EXECUTION','UNIVER_SLIDE','/role','_key','conflict.content','permission.content','drawWith','c1Prime','moveTo','ColorKit','OTHER_CLIENTS_EDITING','entries','_saveTaskMap','/resources','resize','onTransformSelections','div','DOC_RANGE_TYPE','awaiting','HMAC','SNAPSHOT_INVALID_SNAPSHOT','shareReplay','getRangePointData','RECV','NodePositionConvertToRectRange','length','_range','/collaborator','registerHTTPInterceptor','\x20in\x20_schedule.','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','throttleTime','EmptyMutation','@univerjs/sheets','_docSyncEditingCollabCursorService','_transformUndoredo','CollaborationSocketService','/universer-api/oidc/authpage','FileId','leaveEvent','append','cfg','get','JOINING','_colorAssignService','userID','saveOfflineData','LICENSE_EXPORT_SIZE_EXCEEDED','_startTelemetryCollaborationNewChangeset','NodePositionConvertToCursor','_univerInstanceService','_HTTPService','uploadFileServerUrl','getVpScrollXYInfoByPosToVp','_invKeySchedule','rxjs/operators','rng','_themeService','setShapeProps','mode','DataLoaderController','onCommandExecuted','setAlpha','method','indexOf','location','top','IContextService','defs','delay','_commandService','univer-pro.collaboration-client-socket-service','_imageSourceCache','_prevBlock','collabStatus.offline','BehaviorSubject','crypto','_getDownloadEndpointURL','b64DecodeUnicode','YUUMI_SUBSCRIPTION_NOT_FOUND','set','roles','urlChange$','_scheduleClearOtherTimer','HEARTBEAT_TIMEOUT','socket\x20open.','initWorkbookPermissionChange','getUnitId','_initCloseConn','_onMessage','createInstance','session.will-retry','_startDocCollabCursor','_updateCollabCursors','VIEW_MAIN','_sessions','/rev/','\x20-\x20','_hideTimer','_listenToOfflineEvent','focused$','UNKNOWN_CODE','_labelPosition','mixIn','newCsEvent','awaiting_with_pending','_renderManagerService','_sendingTimer','NOT_FOUND','min','reqId','handleIRemoveRow','random','onPointerEnter$','MUTATION','[OfflineState]:\x20received\x20rejection.','_onJoinRoomEvent','UUID','InsertRowCommandId','transformSelections','getSheetBlock','ciphertext','useObservable','CollaborationStatusDisplay','sheetId','setTimeout','readInt32LE','onTransformChange$','saveChangeset','Workbook','toStringTag','Optional','_roomMembers','_docTransformSelectionsService','fromEvent','_onCombEvent','onTransformRemoteChangesetByStateCache','CommentService','originalMeta','cmd','_hovered','collaMsg','getMember','_setupSubUnitSync','Univer','_docSkeletonManagerService','reverse','startTime','_stopTelemetryCollaborationNewChangeset','LICENSE_DISTRO_REJECTED','getInterceptPoints','collabStatus.syncing','DocCollaborationEntity','pad','_setupBeforeClosingHandler','_executeRemoteChangeset','_collabSessionService','_shouldReportTelemetry','actions','formatter','_beforeCloseService','getSheetObject','transformStateCache','@univerjs/network','syncEditingCollabCursor','NOT_COLLAB','_initStatusListener','getCollabEntity$','_keyPriorReset','HEADER_MENU','LEAVE','USERS_LEAVE','toLowerCase','_sheetSkeletonManagerService','selections','bottom','fillRule','dispose$','_exhaustRemoteChangesetQueue','_reverseMap','apply','_initRequestHeader','then','getCurrentUnitForType','refreshPermission','Error\x20on\x20receiving\x20event','PERMISSION_REJ','url(#$1','Vector2','open$','FAIL','ICollaborationSocketService','_removeCollabCursors','updateCursorEvent','setWaitCount','loginUrlKey','override','exports','snapshot','auth.needGotoLoginAlert','csShouldRetryEvent','searchParams','CompressMutationService','_color','blue400','_transformStateCache','getSkeleton','objectID','takeUntil','NO_OTHER_CLIENTS_EDITING','substr','SUBMIT_CHANGESET','makeDirty','_initUnitPermissionChange','collaboration.closeRoom','translate(.97)','baseRev','defIds','COLLAB_SUBMIT_CHANGESET_URL_KEY','unload','executeCommand','salt','getUnitStatus$','flatMap','_cachedData','isTransformMutationsWithChangesetFailure','measureText','asObservable','[CollaborationState]:\x20apply\x20error!','_assignedColors','_sessionStatus$','current','univer-online','buffer','byteLength','IBeforeCloseService','isTransformChangesetsSuccess','ERROR_IMAGE','failed\x20to\x20apply\x20missed\x20changesets!','_hasher','_localCacheService','_members','onMissedChangesetFetched','serializeCombRequest','COLORS','IRenderManagerService','patch','reset','\x20to\x20','addImageSourceCache','action','setCurrentUser','JSONX','updateOfflineData','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','bind','/universer-api/snapshot','CollaborationStatus','collab-text-range-','words','hasher','telemetry\x20info\x20is\x20not\x20initialized','debounce','SHA1','capture','hidden','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','deleteCollaborator','_removeClearOtherTimer','_showConflictNotification','_tryEnsureSocket','batchAllowed','_getLoginPath','displayName','sheets','submit\x20changeset\x20error!','assign','contains','_handler','handleDeleteRangeMoveUp','_clearRedo','APPLY_PERMISSION_DENIED','@univerjs/drawing','_getRedoStack','className','_state','send','post','pipe','_getSheetObject','Warning','_decreaseWaiting','close','_resendTimer','PERMISSION_DENIED','SNAPSHOT_SERVER_URL_KEY','transformStack\x20failed!','_createInitialStateImpl','textEncoder','Injector','black','&assign=','getSheetId','_unitStatus','connection\x20error','infoRsp','symbol','_hover','toRgbString','_doFinalize','ISnapshotServerService','state$','_unitID','permission.title','substring','lib','_handleLeaveEvent','data','[DataLoaderController]','RETRY_CONNECTING_MAX_COUNT','compute','transformByState','useCallback','localeService','_initStatusComponent','unitID','RefRangeService','/new_changes','_cursors','getUnitType','includes','setUndoRedoMutationParamsCache','UniverCollaborationPlugin','subscribeEvent','LocalCacheService','not_collab','ImageSourceType','enableAuthServer','univer-online-status','@univerjs/core','[SyncedState]:\x20received\x20acknowledgement.','EvpKDF','COLLAB_SUBMIT_CHANGESET_URL','RevisionService','_saveCache','useRef','BufferedBlockAlgorithm','popstate','getValue','UNIVER_SHEET','_unitOnClients','_getUndoStack','_applyRemoteChangeset','_createSocket','startRow','_disableEditing','rev','_throwTelemetryCollaborationNewChangeset','mutations','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_clearScheduledTask','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_queuedRemoteChangesets','Base','x-univer-host','online','_toggleOffline','ranges','getRoom','body','_startSheetCollabCursor','unknown','clone','title','getRandomValues','LIVESHARE_NEW_HOST','_scheduleHeartbeat','_minBufferSize','_removeRoom','loadSheet','[FetchMissState]','message$','floor','getTime','has','JOIN','rgba(255,\x20255,\x20255,\x200.01)','9cyHtzv','unshift','dispose','incrementRevOfUnit','_telemetryService','@univerjs/telemetry','_replaceFileID','_cipher','resend','removeMember','Cipher','gold400','getCurrent','splice','createIdentifier','members','memberID','_resendWithTimeout','collaboratorID','COLLAB_WEB_SOCKET_URL','unit','M0\x200H16V16H0z','getUndoRedoMutationParamsCache','USERS_ENTER','engine','Decryptor','WorkbookEditablePermission','_sendHeartbeat','_getAPIPrefixPath','LICENSE_MAX_UNITS_EXCEEDED','UnitSnapshot','path','{fileID}','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','1663876RofJzw','DocSelectionManagerService','_memberService','_getAPIPrefix','2ECNIjH','react.element','href','default','CollaborationController','interceptor','getStateCache','sendChangesetTimeout','transformRemoteChangeset','getMemberID','encodeURIComponent','loadOfflineData','NoPadding','m1Prime','children','collabCursorState$','_transformPreviousActiveRange','call','fromCollab','getLatestCsReqIdBySid','_doReset','image/png','defaultProps','_eventUnsubscribe','_httpService','_singleActiveUnitService','setStateCache','prototype','getOffsetConfig','RETRY_CONNECTING_MAX_COUNT_KEY','MoveRangeCommandId','CHANGESET_REVISION_CONFILICT','COLLAB_WEB_SOCKET_URL_KEY','OpenSSL','CBC','_updateSubUnitFromURLParams','file','Base64','origin','AES','editingUnit','delete','_data','status','YUUMI_RATE_OVER_LIMIT','pauseCollaboration','sid','UNIVER_DOC','socketService','xlink:href','charAt','padding','/universer-api/file/{fileID}/sign-url','_urlService','getDocRanges','_snapshotService','_syncEditingCollabCursor','Could\x20not\x20dynamically\x20require\x20\x22','put','textRanges','colorChannel1','_textBubble','from','_uiPartsService','IUndoRedoService','_colorIndex','_http','transformMutation','PENDING','authzUrl','join','_entityInit$','INTERNAL_ERROR','ONLINE','useDependency','transformUndoRedo','attrs','HEARTBEAT_TIMEOUT_KEY','_awaitingChangeset','reconnect','onStateChange','_tryReconnect','getDeserializedSheetBlock','_docTransformStateCacheService','_send','_anchorDot','InsertSheetMutation','onlineStatusTitle','collabWebSocketUrl','_onConnectionFailed','fetch_missing','_pendingMutations','_sheetTransformSelectionsService','react','headers','[CollaborationSessionService]','SetSelectionsOperation','collaborators','LIVESHARE_OPERATION','closePath','_incrementRevisionNumber','_joinRoom','Disposable','_commentUpdate$','_onOffline','_waitForHeartbeatResponse','/universer-api/comb','RegularPolygon','_scheduleTimestamp','UNDEFINED','_substituteUndoStack','ImageUploadStatusType','AuthzIoHttpService','stopTime','_revisionService','onCommentUpdate','_submitChangeset','FromArray','clear','CHANGESET_ACK','_transformStack','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','VIEWPORT_KEY','_collabCursorController','offline','_clearCollaborationTimeoutTimer','_changesetSessionId','Inject','onRendered','NEW_CHANGESETS','IMessageService','_registerDependencies','range','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','registerOnClose','setParam','LIVESHARE_TERMINATE','find','updatePermissionObjEvent','getItem','replaceState','fetchMiss','Utf8','map','AWAITING_WITH_PENDING','SYNCED','fill','addObject','_scheduleCollaborationTimeoutTimer','image/gif','_getUploadFileURL','Rect','pushState','_configService','retryConnectingInterval','collab-rect-range-','event$','getCollabEntity','_clearTimeoutTimer','fromCharCode','_selfUnitIDs','_backgroundColor','@univerjs/rpc','_updateLocalCache','_loadDoc','confirm','_startCollaboration','reduce','forwardRef','setItem','_replayCachedMutations','OffLineSingle','CollaborationSessionService','_sender','/universer-api/snapshot/','toggleOnline','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','propertyIsEnumerable','c2Prime','subUnitId','parse','ALREADY_EXISTS','conflict','_onLocalMutation','_compressMutationService','FETCH_MISSING','getCellPositionByOffset','removeParam','evenodd','onSendChangeset','name','onPointerMove$','_listenToOnlineEvent','WordArray','_ensureSubject','format','onRemoteChangeset','getAllMembers','changesets','fillText','concatMap','_clearUndo','sin','FETCH_MISS','RxDisposable','APPLY_DUPLICATED','[CollaborationEntity]','getSheetBySheetId','registerRenderModule','tag','Shape','/-/object/list','getColor','Error','stringify','CollaborationSession','_anchor','_candidateSocket','function','size','onlyLocal','_disabled','_updateStatus','InsertColCommandId','HTTPService','visibilitychange','getFocusedUnit','unitId','onRemoteRetry','_instanceService','onlineStatus','fillStyle','MessageType','DeleteRangeMoveUpCommandId','collabStatus.synced','json','max','ILogService','workbook','_onRemoteRejected','_createInitialState','_transitionLocked','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','$super','_socket','IAuthzIoService','&to=','slice','_initCommandExecutedListener','hasOwnProperty','encryptBlock','_createHelper','complete','DesktopCollaborationStatusDisplayController','...','_updateLocalCursor','_unlockTransition','/allowed','YUUMI_URL_COL_OUT_OF_RANGE','some','ReactCurrentOwner','\x0aCurrent:\x20','duration','_xformMode','key','clamp','session','enableLocalCache','_refreshCollabCursors','TEXT_RANGE_LAYER_INDEX','_keySchedule','getUnit','LOCAL_CACHE_INTERVAL_KEY','replaceDocRanges','createCollaborator','APPLY_REVISION_CONFILICT','result','IPermissionService','_DEC_XFORM_MODE','deserializeToCombResponse','ivSize','Hasher','ITransformService','RemoveColCommandId','encode','BASE64','SessionStatus','getRenderById','_onUserLeave','SheetsSelectionsService','_notificationService','updateMember','_userManagerService','WebURLService','_lockTransition','collaboration-client.config','mergeOverrideWithDependencies','HTTPRequest','enableSingleActiveInstanceLock','with','fetchMissingChangesets','CONFLICT','deserializeRangeWithSheet','LIVESHARE_REQUEST_HOST','_handleHeartbeatEvent','row','disposeUnit','generateRandomId','object','compose','_ENC_XFORM_MODE','createSocket','ref','roomMembers','_transformSelections','_lastPointer','_getAnchorBounding','OFFLINE','allowed','revision','/unit/','_clearHeartbeatTimer','SnapshotService','UniverInstanceType','_telemetryInfo','_heartbeatTimer','_onConflict','_getCurrentRevision','/object/','unitId\x20is\x20not\x20found','merge','_commentService','UPDATE_PERMISSION_OBJ','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sendHeartbeatTimer','_onUserJoin','_append','HttpImport','_checkMissing','unit-cache-','_handleEvent','toString','@univerjs/docs','image/jpeg','1em','onMissingChangesets','_createHmacHelper','getWorkbookSelections','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','now','labelPosition','CollaborationEvent','DocIMEInputManagerService','Encryptor','/fetchmissing?from=','saveImage','_entities','disableLocalCache','visibilityState','reject','_timeoutTimer','_clearLocalCache','objects','_status$','_getScale','addEventListener','@univerjs/design','finalize','show','_changesetReqId','isArray','_substituteRedoStack','url(#off-line-single_clip0_910_343)','getUnitOnRev','hide','_injector','APPLY_REJECT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','currentSkeleton$','SnapshotServerOverHTTPService','defineProperty','WebSocketService','onSyncEditingCollabCursor','debug','onRemoteRej','error$','CipherParams','[CollaborationSessionService]:\x20socket\x20error','BlockCipher','_process','width','update','_onRemoteRetry','rxjs','requestParams','session.connection-failed','HEARTBEAT_INTERVAL_KEY','getTypeOfUnitDisposed$','Plugin','COMMENT_UPDATE','replace','all','APPLY_NON_SEQUENTIAL_REVISION','updatePermissionPoint','forEach','objectActions','[PendingState]:\x20received\x20rejection.','_socketReady','createElement','_document','pluginName','on-line-single_clip0_910_349','trim','CHANGESET_SHOULD_RETRY','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','execute','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_localeService','SerializableCipher','off-line-single','_initEventListeners','IDLE','INGEST','UniverCollaborationClientPlugin','collaboration.single-unit.warning','randomUUID','take','sigBytes','_messageService','_schedule','SNAPSHOT_HAS_BEEN_REMOVED','UniverNetworkPlugin','_waitCount','parseProtocolChangeset','BlockCipherMode','redoState','eventID','assignAColorForMemberID','getCurrentSelections','string','clearTimeout','charCodeAt','/-/object/-/batch_allowed','3203946BScfDh','toggleOffline','Module','list','_isPermissionRej','extend','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_collabCursorState$','_cursorInfo$','jsxs','@univerjs/docs-ui','_ws','_map','_scene','startsWith','IUniverInstanceService','newValue','disposeWithMe','onlineStatusIcon','_retryConnectingTimer','_initDependencies','_getSendChangesetTimeout','fetchThroughInterceptors','number','ThemeService','doc.mutation.rich-text-editing','triggerDblclick','cursorInfo$','_undoRedoService','[OfflineState]:\x20received\x20acknowledgement.','UnitEmbedded','transformChangesets','push','_iv','error','_shapes','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_mode','height','synced','storage','_socketMessageSubscription','_permissionService','MemberService','getParam','_transformUndoRedoStack','type','getCurrentRevOfUnit','enc','COMPRESS_MUTATION_APPLY','_cursorShapes','onRemoteAck','6603884CIvAuT','image/jpg','onReady','ThresholdInterceptorFactory','onMouseMove','combineLatest','pending','keySize','_config','IImageIoService','_init','HELLO','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_hash','[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.','getTypeOfUnitAdded$','_getCtorByUniverType','IConfigService','_context','use','subunit','handleInsertCol','/universer-api/authz','RECT','unsubscribe','m2Prime','[CollaborationSession]','_collaborationTimeoutTimer','getCollabCursors$','concat','_onConnectionOpen','_initResize','\x0aAfter:\x20','decryptBlock','appendMutation','LIVESHARE_FETCH_OPERATIONS','_collaborationPaused','on-line-single','_getSignURL','AWAITING','__creator','responseType','_acknowledgedAwaitingChangeset','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','debounceTime','Undefined','startColumn','subscribe','_type','_updateState','serializeRangeWithSheet','UNKNOWN_CMD','lineTo','target','_online','svg','hovered','_handleHover','parseChangesetToProtocol','commentUpdateEvent','Tools','HEARTBEAT','AUTHZ_URL_KEY','mapTo','add','SHOULD_CLOSE_CONN','INVALID_ARGUMENT','history','MSG_FOR_ERROR','undoState','docStateChange$','POST','init','UNIVER_PROJECT','uni.network.url-service','skeleton','_drawTextRange','_remoteChangesetQueue','icon','off-line-single_clip0_910_343','_transformIMECache','TEXT','UNAUTHENTICATED','findNodePositionByCharIndex','/universer-api/stream/file/upload','SEND_CHANGESET_TIMEOUT_KEY','registerDependencies','sheetID','SNAPSHOT_URL_KEY','enableOfflineEditing','[OfflineState]:\x20received\x20changeset.','addObjects','_onRemoteACK','YUUMI_UNABLE_LOAD_URL','Tooltip','ICommandService','clearInterval','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','#FFF','sessionStatus$','TOO_MANY_REQUESTS','4040488CmPain','sessionStatus','objectType','_transformRemoteChangesetByStateCache','isTransformMutationsWithChangesetSuccess','_loadSheet','createDecryptor'];_0x2b0a=function(){return _0x213ed4;};return _0x2b0a();}class ze extends K[_0x4a9685(0x2cd)]{constructor(_0xa7b895,_0x25bed0){const _0x438573=_0x4a9685;super(_0xa7b895,_0x25bed0),I(this,_0x438573(0x4cf)),I(this,'text'),(this['color']=_0x25bed0==null?void 0x0:_0x25bed0['color'],this['text']=_0x25bed0==null?void 0x0:_0x25bed0['text']);}static[_0x4a9685(0x51d)](_0x56d706,_0xfaa5b){const _0x57673f=_0x4a9685,{text:_0x2367c3,color:_0x4f6fcf}=_0xfaa5b;_0x56d706[_0x57673f(0x4ff)](),_0x56d706[_0x57673f(0x510)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x272b0e=_0x56d706[_0x57673f(0x134)](_0x2367c3)[_0x57673f(0x381)],_0x913e48=Math[_0x57673f(0x585)](_0x272b0e+0x2*it,Ht);os(_0x56d706,{'height':Le,'radius':0x4,'width':_0x913e48,'fill':_0x4f6fcf,'evented':!0x1}),_0x56d706['fillStyle']=_0x57673f(0x44c);const _0x126581=it,_0x2d2a9c=Le-rs,_0xcfa6a1=Ht-0x2*it;if(_0x272b0e>_0xcfa6a1){let _0xc4ff3a='',_0x195c16=0x0;for(const _0x22d885 of _0x2367c3){const _0x13e1e9=_0x56d706[_0x57673f(0x134)](_0x22d885)[_0x57673f(0x381)];if(_0x195c16+_0x13e1e9<=_0xcfa6a1-_0x56d706[_0x57673f(0x134)](_0x57673f(0x2f9))['width'])_0xc4ff3a+=_0x22d885,_0x195c16+=_0x13e1e9;else{_0xc4ff3a+=_0x57673f(0x2f9);break;}}_0x56d706[_0x57673f(0x2c2)](_0xc4ff3a,_0x126581,_0x2d2a9c);}else _0x56d706[_0x57673f(0x2c2)](_0x2367c3,_0x126581,_0x2d2a9c);_0x56d706[_0x57673f(0x4a9)]();}[_0x4a9685(0x475)](_0x260692){const _0x18a7ab=_0x4a9685;ze[_0x18a7ab(0x51d)](_0x260692,this);}}const st=_0x4a9685(0x4a5),as=_0x4a9685(0x154),cs=_0x4a9685(0x296),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x4a9685(0x1d4);class Bt{constructor(_0x24d0cc,_0xb81dd,_0x1c1eaf,_0x3b7d76){const _0x19f27e=_0x4a9685;I(this,_0x19f27e(0x3d9),[]),I(this,_0x19f27e(0x2d3),null),I(this,_0x19f27e(0x238),null),I(this,_0x19f27e(0x250),null),I(this,_0x19f27e(0x57a),null),I(this,_0x19f27e(0x212),null),(this[_0x19f27e(0x486)]=_0x24d0cc,this[_0x19f27e(0x3c3)]=_0xb81dd,this[_0x19f27e(0x463)]=_0x1c1eaf,this[_0x19f27e(0x394)]=_0x3b7d76,this[_0x19f27e(0x505)]());}set[_0x4a9685(0x185)](_0x173211){const _0x2c1d3a=_0x4a9685;_0x173211?(this['_anchorDot']&&this[_0x2c1d3a(0x250)][_0x2c1d3a(0x371)](),this['_textBubble']&&this[_0x2c1d3a(0x238)]['show']()):(this[_0x2c1d3a(0x250)]&&this['_anchorDot'][_0x2c1d3a(0x36b)](),this[_0x2c1d3a(0x238)]&&this[_0x2c1d3a(0x238)][_0x2c1d3a(0x371)]());}['dispose'](){const _0x46c8ce=_0x4a9685;for(const _0x7443b5 of this[_0x46c8ce(0x3d9)])_0x7443b5[_0x46c8ce(0x1d7)]();this[_0x46c8ce(0x238)]&&this[_0x46c8ce(0x238)]['dispose'](),this[_0x46c8ce(0x250)]&&this[_0x46c8ce(0x250)][_0x46c8ce(0x1d7)](),this[_0x46c8ce(0x2d3)]&&this['_anchor'][_0x46c8ce(0x1d7)](),this[_0x46c8ce(0x212)]&&this['_eventUnsubscribe']();}[_0x4a9685(0x505)](){const _0x26c96e=_0x4a9685;var _0xab1cbd;const {_docSkeleton:_0x277fa4,_document:_0x36031f}=this,{color:_0x4a1340,name:_0xf8dd9d,ranges:_0x23f5b8}=this[_0x26c96e(0x486)],_0x40f24f=_0x36031f[_0x26c96e(0x217)](),{docsLeft:_0x559e31,docsTop:_0x3edeb3}=_0x40f24f,_0x2a78aa=new J[(_0x26c96e(0x549))](_0x40f24f,_0x277fa4);for(const {startOffset:_0x12ae9d,endOffset:_0x538794,rangeType:_0x2f83d7,segmentId:_0x5ddbf3,segmentPage:_0x30b4d7,collapsed:_0x418225,isActive:_0x5d710d}of _0x23f5b8){const _0x207fbc=_0x277fa4[_0x26c96e(0x43d)](_0x12ae9d,!0x0,_0x5ddbf3,_0x30b4d7);let _0x1108bb=_0x277fa4[_0x26c96e(0x43d)](_0x538794,!0x0,_0x5ddbf3,_0x30b4d7);if(_0x1108bb==null&&(_0x1108bb=_0x277fa4['findNodePositionByCharIndex'](_0x538794-0x1,!0x1,_0x5ddbf3,_0x30b4d7)),_0x5d710d){const {contentBoxPointGroup:_0x2f9d11}=_0x2a78aa['getRangePointData'](_0x1108bb,_0x1108bb);if(_0x2f9d11[_0x26c96e(0x530)]===0x0)continue;this[_0x26c96e(0x487)](_0x4a1340,_0x2f9d11,_0x559e31,_0x3edeb3,_0xf8dd9d),this[_0x26c96e(0x212)]=this[_0x26c96e(0x423)]();}if(_0x207fbc&&_0x1108bb){if(_0x2f83d7===a[_0x26c96e(0x528)][_0x26c96e(0x401)]){const _0x309173=new J[(_0x26c96e(0x52f))](_0x40f24f,_0x277fa4),{pointGroup:_0x4a82ce}=(_0xab1cbd=_0x309173[_0x26c96e(0x52d)](_0x207fbc,_0x1108bb))!=null?_0xab1cbd:{};if(_0x4a82ce==null||_0x4a82ce[_0x26c96e(0x530)]===0x0)continue;this['_drawRectRange'](_0x4a1340,_0x4a82ce,_0x559e31,_0x3edeb3);}else{if(!_0x418225){const {borderBoxPointGroup:_0x49a541}=_0x2a78aa['getRangePointData'](_0x207fbc,_0x1108bb);if(_0x49a541['length']===0x0)continue;this[_0x26c96e(0x436)](_0x4a1340,_0x49a541,_0x559e31,_0x3edeb3);}}}}}[_0x4a9685(0x487)](_0x4c016e,_0x3fab16,_0x5c19ce,_0xd1f7df,_0x2b156d){const _0x20de16=_0x4a9685,_0x46677b=this[_0x20de16(0x337)](_0x3fab16),{left:_0x2a969d,top:_0x41f125,height:_0x5a3eda}=_0x46677b,_0x2fe142=this[_0x20de16(0x367)](),_0x171ddc=hs/_0x2fe142,_0xbd2c58=new K[(_0x20de16(0x292))](st+a['Tools'][_0x20de16(0x32e)](Ue),{'left':_0x2a969d+_0x5c19ce-_0x171ddc,'top':_0x41f125+_0xd1f7df,'height':_0x5a3eda,'width':ls,'fill':_0x4c016e||K[_0x20de16(0x2cf)](a[_0x20de16(0x146)][_0x20de16(0x17e)],0x0),'strokeWidth':_0x171ddc,'stroke':_s,'evented':!0x0});this[_0x20de16(0x2d3)]=_0xbd2c58,this['_scene'][_0x20de16(0x28e)](_0xbd2c58,J['TEXT_RANGE_LAYER_INDEX']);const _0x28532f=new K[(_0x20de16(0x292))](st+a[_0x20de16(0x426)][_0x20de16(0x32e)](Ue),{'left':_0x2a969d+_0x5c19ce-_0x171ddc,'top':_0x41f125+_0xd1f7df-rt/0x2,'height':rt,'width':rt,'fill':_0x4c016e||K[_0x20de16(0x2cf)](a[_0x20de16(0x146)][_0x20de16(0x17e)],0x0),'strokeWidth':0x0,'stroke':_0x4c016e||K[_0x20de16(0x2cf)](a['COLORS'][_0x20de16(0x17e)],0x0),'evented':!0x1});this[_0x20de16(0x250)]=_0x28532f,this[_0x20de16(0x3c3)][_0x20de16(0x28e)](_0x28532f,J[_0x20de16(0x308)]);const _0xb838b2=new ze(st+a[_0x20de16(0x426)]['generateRandomId'](Ue),{'left':_0x2a969d+_0x5c19ce-_0x171ddc,'top':_0x41f125+_0xd1f7df-Le,'text':_0x2b156d,'color':_0x4c016e});this[_0x20de16(0x238)]=_0xb838b2,this['_scene'][_0x20de16(0x28e)](_0xb838b2,J['TEXT_RANGE_LAYER_INDEX']),this[_0x20de16(0x185)]=!0x1;}['_handleHover'](){const _0xaa9ce6=_0x4a9685,_0x2a6bac=this['_anchor']['onPointerEnter$'][_0xaa9ce6(0x19f)](()=>{const _0xc8d956=_0xaa9ce6;this[_0xc8d956(0x185)]=!0x0;}),_0x325d0c=this['_anchor']['onPointerLeave$'][_0xaa9ce6(0x19f)](()=>{const _0x12a27a=_0xaa9ce6;this[_0x12a27a(0x57a)]&&clearTimeout(this[_0x12a27a(0x57a)]),this[_0x12a27a(0x57a)]=setTimeout(()=>{const _0x374563=_0x12a27a;this[_0x374563(0x185)]=!0x1;},0x7d0);});return()=>{const _0x23fd97=_0xaa9ce6;_0x2a6bac[_0x23fd97(0x402)](),_0x325d0c[_0x23fd97(0x402)]();};}[_0x4a9685(0x436)](_0x3dc19e,_0xde55ff,_0xda5cc7,_0x4fd71a){const _0x46de2b=_0x4a9685,_0x1b7296=new a[(_0x46de2b(0x520))](_0x3dc19e)[_0x46de2b(0x556)](0.2)[_0x46de2b(0x186)](),_0x2f90cd=new K[(_0x46de2b(0x266))](as+a['Tools']['generateRandomId'](Ue),{'pointsGroup':_0xde55ff,'fill':_0x1b7296||K['getColor'](a[_0x46de2b(0x146)][_0x46de2b(0x17e)],0.2),'left':_0xda5cc7,'top':_0x4fd71a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x46de2b(0x3d6)](_0x2f90cd),this[_0x46de2b(0x3c3)][_0x46de2b(0x28e)](_0x2f90cd,J[_0x46de2b(0x308)]);}[_0x4a9685(0x4f7)](_0x27c52d,_0x35b728,_0x24a8cb,_0x16f806){const _0x45e6ef=_0x4a9685,_0x5e8190=new a['ColorKit'](_0x27c52d)['setAlpha'](0.2)[_0x45e6ef(0x186)](),_0x5aa893=new K[(_0x45e6ef(0x266))](cs+a[_0x45e6ef(0x426)][_0x45e6ef(0x32e)](Ue),{'pointsGroup':_0x35b728,'fill':_0x5e8190||K['getColor'](a[_0x45e6ef(0x146)][_0x45e6ef(0x17e)],0.2),'left':_0x24a8cb,'top':_0x16f806,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45e6ef(0x3d9)][_0x45e6ef(0x3d6)](_0x5aa893),this[_0x45e6ef(0x3c3)][_0x45e6ef(0x28e)](_0x5aa893,J[_0x45e6ef(0x308)]);}[_0x4a9685(0x337)](_0x5e30b9){const _0x40c4c8=_0x5e30b9[0x0],_0x437500=_0x40c4c8[0x0],_0xd57ed7=_0x40c4c8[0x2],{x:_0x5a4167,y:_0x5c24a8}=_0x437500,{x:_0x520296,y:_0x48a56e}=_0xd57ed7;return{'left':_0x5a4167,'top':_0x5c24a8,'width':_0x520296-_0x5a4167,'height':_0x48a56e-_0x5c24a8};}[_0x4a9685(0x367)](){const _0x305924=_0x4a9685,{scaleX:_0x45d429,scaleY:_0x3e0d08}=this[_0x305924(0x3c3)]['getAncestorScale']();return Math[_0x305924(0x2e7)](_0x45d429,_0x3e0d08);}}var us=Object[_0x4a9685(0x377)],ds=Object[_0x4a9685(0x484)],fs=(_0x3bc273,_0xa5b36f,_0x545382,_0x402b11)=>{const _0x296d27=_0x4a9685;for(var _0x296f0e=_0x402b11>0x1?void 0x0:_0x402b11?ds(_0xa5b36f,_0x545382):_0xa5b36f,_0x1e2d0a=_0x3bc273[_0x296d27(0x530)]-0x1,_0xb731b5;_0x1e2d0a>=0x0;_0x1e2d0a--)(_0xb731b5=_0x3bc273[_0x1e2d0a])&&(_0x296f0e=(_0x402b11?_0xb731b5(_0xa5b36f,_0x545382,_0x296f0e):_0xb731b5(_0x296f0e))||_0x296f0e);return _0x402b11&&_0x296f0e&&us(_0xa5b36f,_0x545382,_0x296f0e),_0x296f0e;},je=(_0x4c91d7,_0x448d57)=>(_0x8875fe,_0x32eac0)=>_0x448d57(_0x8875fe,_0x32eac0,_0x4c91d7);let pt=class extends a[_0x4a9685(0x2c7)]{constructor(_0x4991ae,_0x29c75b,_0x1ef7be,_0x20fec8,_0x557669){const _0x11501f=_0x4a9685;super(),I(this,'_cursorShapes',[]),I(this,'_cursors',[]),(this[_0x11501f(0x3fc)]=_0x4991ae,this[_0x11501f(0x5a9)]=_0x29c75b,this[_0x11501f(0x276)]=_0x1ef7be,this[_0x11501f(0x55e)]=_0x20fec8,this[_0x11501f(0x551)]=_0x557669,this[_0x11501f(0x3f4)]());}[_0x4a9685(0x3f4)](){const _0x5b1bc8=_0x4a9685,_0x11989f=this[_0x5b1bc8(0x3fc)]['unitId'],_0x4d72d4=this[_0x5b1bc8(0x5a9)];this[_0x5b1bc8(0x3c7)](A[_0x5b1bc8(0x3ef)]([this[_0x5b1bc8(0x276)][_0x5b1bc8(0x406)](_0x11989f),this['_themeService']['currentTheme$']])[_0x5b1bc8(0x172)](V[_0x5b1bc8(0x28a)](([_0x3ef843,_0x55d4c7])=>({'skeleton':_0x4d72d4['getSkeleton'](),'cursors':[..._0x3ef843[_0x5b1bc8(0x470)]()][_0x5b1bc8(0x5f7)](_0x277d2d=>({..._0x277d2d,'color':_0x55d4c7[_0x277d2d['color']]}))})))['subscribe'](_0x36bf32=>{const _0x5ddfc6=_0x5b1bc8;if(this['_removeCollabCursors'](),_0x36bf32){const {skeleton:_0x158127,cursors:_0x4755f8}=_0x36bf32;this[_0x5ddfc6(0x575)](_0x158127,_0x4755f8);}})),this['_initResize'](),this[_0x5b1bc8(0x2f3)]();}['_updateCollabCursors'](_0x3d8440,_0x4e9c73){const _0x354f3a=_0x4a9685,{scene:_0x4b30e9,mainComponent:_0x39a1eb}=this[_0x354f3a(0x3fc)],_0x1b249a=_0x4e9c73[_0x354f3a(0x28a)](_0x238372=>new Bt(_0x238372,_0x4b30e9,_0x3d8440,_0x39a1eb));this[_0x354f3a(0x3e8)]=_0x1b249a,this['_cursors']=_0x4e9c73;}[_0x4a9685(0x307)](){const _0x1e2a58=_0x4a9685;this['_removeCollabCursors']();const {scene:_0x439f06,mainComponent:_0x3ea5de}=this[_0x1e2a58(0x3fc)],_0x4e3c25=this[_0x1e2a58(0x5a9)][_0x1e2a58(0x5e6)](),_0x5a43b6=this[_0x1e2a58(0x19a)][_0x1e2a58(0x28a)](_0x40a977=>new Bt(_0x40a977,_0x439f06,_0x4e3c25,_0x3ea5de));this[_0x1e2a58(0x3e8)]=_0x5a43b6;}[_0x4a9685(0x5d8)](){const _0x36c748=_0x4a9685;this[_0x36c748(0x3e8)][_0x36c748(0x38f)](_0x37d3f0=>_0x37d3f0[_0x36c748(0x1d7)]()),this[_0x36c748(0x3e8)]=[];}[_0x4a9685(0x2f3)](){const _0x1a4517=_0x4a9685,_0xff1c06=[J['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x1a4517(0x55e)]['onCommandExecuted'](_0x1ef7dc=>{const _0x5c487e=_0x1a4517;_0xff1c06[_0x5c487e(0x19c)](_0x1ef7dc['id'])&&_0x1ef7dc[_0x5c487e(0x4da)][_0x5c487e(0x2de)]===this[_0x5c487e(0x3fc)][_0x5c487e(0x2de)]&&this[_0x5c487e(0x307)]();}));}[_0x4a9685(0x409)](){const _0x40910a=_0x4a9685;this['disposeWithMe'](a[_0x40910a(0x4ce)](this[_0x40910a(0x3fc)][_0x40910a(0x1ed)][_0x40910a(0x597)])[_0x40910a(0x172)](V[_0x40910a(0x464)](_0x1b7934=>_0x1b7934['type']===K[_0x40910a(0x3da)][_0x40910a(0x525)]),V[_0x40910a(0x537)](0x10))[_0x40910a(0x419)](()=>{const _0x3661eb=_0x40910a;this[_0x3661eb(0x307)]();}));}};pt=fs([je(0x1,a[_0x4a9685(0x27a)](ye[_0x4a9685(0x467)])),je(0x2,a['Inject'](De)),je(0x3,a[_0x4a9685(0x449)]),je(0x4,a[_0x4a9685(0x27a)](a['ThemeService']))],pt);const vs=0x1,ms=1.5;class Sn extends K['Shape']{constructor(_0x21517c,_0x5ab4ea){const _0x120aa0=_0x4a9685;super(_0x21517c,_0x5ab4ea),I(this,_0x120aa0(0x5e3)),I(this,_0x120aa0(0x5a4),!0x1),I(this,'_range'),I(this,_0x120aa0(0x4c1),''),I(this,_0x120aa0(0x57e),_0x120aa0(0x55a)),I(this,_0x120aa0(0x29c)),(_0x5ab4ea&&this[_0x120aa0(0x552)](_0x5ab4ea),this[_0x120aa0(0x589)]['subscribeEvent'](()=>this[_0x120aa0(0x552)]({'hovered':!0x0})),this['onPointerLeave$'][_0x120aa0(0x19f)](()=>this[_0x120aa0(0x552)]({'hovered':!0x1})));}[_0x4a9685(0x552)](_0x570503){const _0x2128fa=_0x4a9685;var _0x1df9fe,_0x16e3e8,_0x3543f0,_0x3ba7a2,_0x14a4c3,_0x28335c;this['_color']=(_0x1df9fe=_0x570503[_0x2128fa(0x4cf)])!=null?_0x1df9fe:this['_color'],this[_0x2128fa(0x5a4)]=(_0x16e3e8=_0x570503[_0x2128fa(0x422)])!=null?_0x16e3e8:this[_0x2128fa(0x5a4)],this[_0x2128fa(0x531)]=(_0x3543f0=_0x570503[_0x2128fa(0x27f)])!=null?_0x3543f0:this[_0x2128fa(0x531)],this['_name']=(_0x3ba7a2=_0x570503['name'])!=null?_0x3ba7a2:this[_0x2128fa(0x4c1)],this[_0x2128fa(0x57e)]=(_0x14a4c3=_0x570503[_0x2128fa(0x359)])!=null?_0x14a4c3:this[_0x2128fa(0x57e)],this[_0x2128fa(0x29c)]=(_0x28335c=_0x570503['backgroundColor'])!=null?_0x28335c:this[_0x2128fa(0x29c)],this[_0x2128fa(0x193)]({'width':_0x570503[_0x2128fa(0x381)],'height':_0x570503[_0x2128fa(0x3dc)]});}[_0x4a9685(0x3ee)](_0x20189c){const _0x3b2a4c=_0x4a9685,{row:_0x5f22ac,column:_0x5360c9}=_0x20189c;if(_0x5f22ac>=this['_range'][_0x3b2a4c(0x1b4)]&&_0x5f22ac<=this[_0x3b2a4c(0x531)][_0x3b2a4c(0x4b5)]&&_0x5360c9>=this[_0x3b2a4c(0x531)][_0x3b2a4c(0x418)]&&_0x5360c9<=this[_0x3b2a4c(0x531)][_0x3b2a4c(0x460)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3b2a4c(0x552)]({'hovered':!0x1});}[_0x4a9685(0x3d0)](_0x126f54){return!0x1;}[_0x4a9685(0x475)](_0x512eaf){const _0x5a82c8=_0x4a9685;K[_0x5a82c8(0x292)][_0x5a82c8(0x51d)](_0x512eaf,{'width':this[_0x5a82c8(0x381)],'height':this[_0x5a82c8(0x3dc)],'strokeWidth':ms,'stroke':this[_0x5a82c8(0x5e3)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x512eaf[_0x5a82c8(0x4ff)](),_0x512eaf[_0x5a82c8(0x509)](0x1,0x0,0x0,0x1,this[_0x5a82c8(0x381)],this[_0x5a82c8(0x57e)]===_0x5a82c8(0x5c7)?0x0:-Le),ze[_0x5a82c8(0x51d)](_0x512eaf,{'text':this['_name'],'color':this[_0x5a82c8(0x5e3)]}),_0x512eaf[_0x5a82c8(0x4a9)]());}}var Ss=Object['defineProperty'],ps=Object[_0x4a9685(0x484)],gs=(_0x216e7a,_0x5e8c4e,_0x577960,_0x4d265f)=>{for(var _0x3de0ab=_0x4d265f>0x1?void 0x0:_0x4d265f?ps(_0x5e8c4e,_0x577960):_0x5e8c4e,_0x428012=_0x216e7a['length']-0x1,_0x325291;_0x428012>=0x0;_0x428012--)(_0x325291=_0x216e7a[_0x428012])&&(_0x3de0ab=(_0x4d265f?_0x325291(_0x5e8c4e,_0x577960,_0x3de0ab):_0x325291(_0x3de0ab))||_0x3de0ab);return _0x4d265f&&_0x3de0ab&&Ss(_0x5e8c4e,_0x577960,_0x3de0ab),_0x3de0ab;},ot=(_0x23c4c4,_0x1caef5)=>(_0x3d895f,_0x3247a7)=>_0x1caef5(_0x3d895f,_0x3247a7,_0x23c4c4);const Is=0x1389;let gt=class extends a[_0x4a9685(0x2c7)]{constructor(_0x3ff6cf,_0x368c1f,_0x52c2f8,_0x1cbc5c){const _0x16656b=_0x4a9685;super(),I(this,_0x16656b(0x19a),new Set()),I(this,'_lastPointer',null),(this[_0x16656b(0x3fc)]=_0x3ff6cf,this['_sheetSkeletonManagerService']=_0x368c1f,this[_0x16656b(0x276)]=_0x52c2f8,this[_0x16656b(0x551)]=_0x1cbc5c,this['_init']());}[_0x4a9685(0x3f4)](){const _0x42c34b=_0x4a9685;this[_0x42c34b(0x5c5)][_0x42c34b(0x375)][_0x42c34b(0x172)](V[_0x42c34b(0x5e8)](this[_0x42c34b(0x5c9)]),V[_0x42c34b(0x4c9)](_0x3d276e=>{const _0x2f32c9=_0x42c34b;if(_0x3d276e){const _0x1a6173=_0x3d276e[_0x2f32c9(0x594)];return A[_0x2f32c9(0x3ef)](this[_0x2f32c9(0x276)][_0x2f32c9(0x406)](this['_context']['unitId']),this[_0x2f32c9(0x551)][_0x2f32c9(0x4ab)])[_0x2f32c9(0x172)](V[_0x2f32c9(0x28a)](([_0x3699ad,_0xab05af])=>{const _0x4387a5=_0x2f32c9,_0x182aa1=new Map();return _0x3699ad[_0x4387a5(0x38f)]((_0x2ef828,_0x411d53)=>{const _0x3c79d2=_0x4387a5;if(_0x2ef828[_0x3c79d2(0x441)]===_0x1a6173){const _0x30c824={..._0x2ef828};_0x30c824['color']=_0xab05af[_0x2ef828[_0x3c79d2(0x4cf)]],_0x182aa1[_0x3c79d2(0x568)](_0x411d53,_0x30c824);}}),{'skeleton':_0x3d276e,'cursors':_0x182aa1};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x42c34b(0x419)](({skeleton:_0x545d7b,cursors:_0x173e30})=>{const _0x5872dc=_0x42c34b;this['_removeCollabCursors'](),_0x545d7b&&this[_0x5872dc(0x575)](_0x545d7b,_0x173e30);}),this[_0x42c34b(0x5c5)][_0x42c34b(0x375)][_0x42c34b(0x419)](_0x80fe19=>{const _0x13b3d8=_0x42c34b;if(_0x80fe19==null)return;const {skeleton:_0x10e3a3}=_0x80fe19,{scene:_0x203916}=this[_0x13b3d8(0x3fc)];_0x203916[_0x13b3d8(0x2ba)][_0x13b3d8(0x19f)](a[_0x13b3d8(0x158)](_0x3c17e5=>{const _0x5d8010=_0x13b3d8;var _0x291c88,_0x223ef6;const {offsetX:_0x3d4e0f,offsetY:_0x26f063}=_0x3c17e5,{x:_0x2e9797,y:_0x469d55}=_0x203916[_0x5d8010(0x4e1)](K[_0x5d8010(0x5d4)][_0x5d8010(0x270)]([_0x3d4e0f,_0x26f063])),{scaleX:_0x42b259,scaleY:_0x2f230b}=_0x203916['getAncestorScale'](),_0x255c9c=_0x203916['getViewport'](Re[_0x5d8010(0x275)][_0x5d8010(0x576)]),_0x59a85e=_0x203916[_0x5d8010(0x54d)](K[_0x5d8010(0x5d4)][_0x5d8010(0x270)]([_0x2e9797,_0x469d55]),_0x255c9c),_0x37dbf3=_0x10e3a3[_0x5d8010(0x2b5)](_0x3d4e0f,_0x26f063,_0x42b259,_0x2f230b,_0x59a85e);((_0x291c88=this[_0x5d8010(0x336)])==null?void 0x0:_0x291c88['column'])===_0x37dbf3[_0x5d8010(0x47f)]&&((_0x223ef6=this[_0x5d8010(0x336)])==null?void 0x0:_0x223ef6[_0x5d8010(0x32c)])===_0x37dbf3[_0x5d8010(0x32c)]||this[_0x5d8010(0x19a)][_0x5d8010(0x38f)](_0x3f75db=>{const _0xa669ac=_0x5d8010;_0x3f75db[_0xa669ac(0x3ee)](_0x37dbf3);});},0x64));});}[_0x4a9685(0x575)](_0x560673,_0x2aeb33){const _0x5dc7df=_0x4a9685;var _0x4cc7b7;const _0x27da3f=(_0x4cc7b7=this[_0x5dc7df(0x5c5)][_0x5dc7df(0x1e1)]())==null?void 0x0:_0x4cc7b7[_0x5dc7df(0x435)];if(!_0x27da3f)return;const _0xc769c5=this[_0x5dc7df(0x173)]();if(!_0xc769c5)return;this[_0x5dc7df(0x19a)]['forEach'](_0x28787f=>{const _0x40886b=_0x5dc7df;_0x28787f[_0x40886b(0x5ec)]();});const {scene:_0x3d3852}=_0xc769c5,_0x558f62=Cs(Array[_0x5dc7df(0x239)](_0x2aeb33[_0x5dc7df(0x470)]()))[_0x5dc7df(0x28a)](_0xbb9365=>{const _0x135a19=_0x5dc7df,{color:_0x2d6662,range:_0x2e6736,name:_0x43567f,selection:_0x2586a9,sheetID:_0x1ef62a}=_0xbb9365,{startColumn:_0x23b21e,startRow:_0x1107b7,endColumn:_0x5ae4a9,endRow:_0xcc6ddb}=_0x2e6736,_0x210f18=Re[_0x135a19(0x514)](_0x1107b7,_0x23b21e,_0x3d3852,_0x27da3f),_0x511d8c=Re[_0x135a19(0x514)](_0xcc6ddb,_0x5ae4a9,_0x3d3852,_0x27da3f),{columnHeaderHeightAndMarginTop:_0x16d440}=_0x27da3f,{startX:_0x26bee7,startY:_0x483cb3}=_0x210f18,{endX:_0x1b29e6,endY:_0x163da9}=_0x511d8c,_0x16ff0e=_0x1b29e6-_0x26bee7,_0x21dfcf=_0x163da9-_0x483cb3,_0x1f7f4f={'labelPosition':_0x483cb3-_0x16d440>=Le?_0x135a19(0x55a):_0x135a19(0x5c7),'sheetID':_0x1ef62a,'range':_0x2e6736,'color':_0x2d6662,'name':_0x43567f,'selection':_0x2586a9,'left':_0x26bee7,'top':_0x483cb3,'width':_0x16ff0e,'height':_0x21dfcf,'evented':!0x1,'zIndex':Is};return new Sn(_0x43567f,_0x1f7f4f);});_0x3d3852[_0x5dc7df(0x445)](_0x558f62,vs),this[_0x5dc7df(0x19a)]=new Set(_0x558f62);}['_removeCollabCursors'](){const _0x3ebc94=_0x4a9685;var _0x498fc8;(_0x498fc8=this[_0x3ebc94(0x19a)])==null||_0x498fc8[_0x3ebc94(0x38f)](_0x4bcc4d=>_0x4bcc4d[_0x3ebc94(0x1d7)]());}[_0x4a9685(0x173)](){const _0x5d140f=_0x4a9685;return Re[_0x5d140f(0x5b9)](this[_0x5d140f(0x3fc)][_0x5d140f(0x1e9)],this['_context']);}};gt=gs([ot(0x1,a['Inject'](Re[_0x4a9685(0x4ca)])),ot(0x2,a[_0x4a9685(0x27a)](De)),ot(0x3,a[_0x4a9685(0x27a)](a[_0x4a9685(0x3ce)]))],gt);function Cs(_0x408d3b){const _0x5e1c71=_0x4a9685,_0x44288e=new Map();return _0x408d3b[_0x5e1c71(0x38f)](_0x210491=>{const _0x2cc73c=_0x5e1c71;if(_0x44288e[_0x2cc73c(0x1d2)](_0x210491[_0x2cc73c(0x50e)])){const _0xd6ca69=_0x44288e[_0x2cc73c(0x542)](_0x210491['selection']);_0xd6ca69[_0x2cc73c(0x2b9)]+=',\x20'+_0x210491['name'];}else _0x44288e['set'](_0x210491[_0x2cc73c(0x50e)],_0x210491);}),Array[_0x5e1c71(0x239)](_0x44288e[_0x5e1c71(0x470)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0xdbc733){const _0x152afc=_0x4a9685;return _0xdbc733&&_0xdbc733['__esModule']&&Object[_0x152afc(0x216)][_0x152afc(0x2f4)][_0x152afc(0x20c)](_0xdbc733,_0x152afc(0x1fe))?_0xdbc733[_0x152afc(0x1fe)]:_0xdbc733;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x4a9685(0x50f)](_0x4a9685(0x1fc)),Ts=Symbol['for']('react.fragment'),Rs=Object[_0x4a9685(0x216)]['hasOwnProperty'],ys=Es[_0x4a9685(0x3bc)][_0x4a9685(0x2ff)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x3a45db,_0x921192,_0x5d7d5c){const _0x14609d=_0x4a9685;var _0x4a0587,_0x19052b={},_0x12381d=null,_0x5e1182=null;_0x5d7d5c!==void 0x0&&(_0x12381d=''+_0x5d7d5c),_0x921192['key']!==void 0x0&&(_0x12381d=''+_0x921192[_0x14609d(0x303)]),_0x921192[_0x14609d(0x333)]!==void 0x0&&(_0x5e1182=_0x921192[_0x14609d(0x333)]);for(_0x4a0587 in _0x921192)Rs[_0x14609d(0x20c)](_0x921192,_0x4a0587)&&!Os['hasOwnProperty'](_0x4a0587)&&(_0x19052b[_0x4a0587]=_0x921192[_0x4a0587]);if(_0x3a45db&&_0x3a45db[_0x14609d(0x211)]){for(_0x4a0587 in(_0x921192=_0x3a45db[_0x14609d(0x211)],_0x921192))_0x19052b[_0x4a0587]===void 0x0&&(_0x19052b[_0x4a0587]=_0x921192[_0x4a0587]);}return{'$$typeof':bs,'type':_0x3a45db,'key':_0x12381d,'ref':_0x5e1182,'props':_0x19052b,'_owner':ys[_0x14609d(0x139)]};}Xe['Fragment']=Ts,Xe[_0x4a9685(0x4a3)]=gn,Xe[_0x4a9685(0x3bf)]=gn,pn[_0x4a9685(0x5dd)]=Xe;var pe=pn[_0x4a9685(0x5dd)],Q=function(){const _0x7e1e73=_0x4a9685;return Q=Object[_0x7e1e73(0x166)]||function(_0x34613c){const _0x29eb63=_0x7e1e73;for(var _0x3f80c7,_0x2c0b4a=0x1,_0x2e0ba2=arguments[_0x29eb63(0x530)];_0x2c0b4a<_0x2e0ba2;_0x2c0b4a++){_0x3f80c7=arguments[_0x2c0b4a];for(var _0x241f69 in _0x3f80c7)Object['prototype']['hasOwnProperty'][_0x29eb63(0x20c)](_0x3f80c7,_0x241f69)&&(_0x34613c[_0x241f69]=_0x3f80c7[_0x241f69]);}return _0x34613c;},Q[_0x7e1e73(0x5cc)](this,arguments);},Ds=function(_0x32a432,_0x5b27e0){const _0x35cdd9=_0x4a9685;var _0x2571f5={};for(var _0x9a7de in _0x32a432)Object[_0x35cdd9(0x216)][_0x35cdd9(0x2f4)][_0x35cdd9(0x20c)](_0x32a432,_0x9a7de)&&_0x5b27e0[_0x35cdd9(0x558)](_0x9a7de)<0x0&&(_0x2571f5[_0x9a7de]=_0x32a432[_0x9a7de]);if(_0x32a432!=null&&typeof Object[_0x35cdd9(0x4e8)]=='function'){for(var _0x247bd6=0x0,_0x9a7de=Object['getOwnPropertySymbols'](_0x32a432);_0x247bd6<_0x9a7de['length'];_0x247bd6++)_0x5b27e0[_0x35cdd9(0x558)](_0x9a7de[_0x247bd6])<0x0&&Object[_0x35cdd9(0x216)][_0x35cdd9(0x2ac)][_0x35cdd9(0x20c)](_0x32a432,_0x9a7de[_0x247bd6])&&(_0x2571f5[_0x9a7de[_0x247bd6]]=_0x32a432[_0x9a7de[_0x247bd6]]);}return _0x2571f5;},Dt=ae[_0x4a9685(0x2a3)](function(_0x1826bd,_0x5f04df){const _0x1d2366=_0x4a9685;var _0x23ff5a=_0x1826bd[_0x1d2366(0x438)],_0x11298f=_0x1826bd['id'],_0x251fd4=_0x1826bd[_0x1d2366(0x16e)],_0x338dd9=_0x1826bd['extend'],_0x46c379=Ds(_0x1826bd,[_0x1d2366(0x438),'id',_0x1d2366(0x16e),'extend']),_0x2655d3='univerjs-icon\x20univerjs-icon-'[_0x1d2366(0x407)](_0x11298f,'\x20')[_0x1d2366(0x407)](_0x251fd4||'')[_0x1d2366(0x397)](),_0xce4d54=ae[_0x1d2366(0x1ab)]('_'[_0x1d2366(0x407)](Us()));return In(_0x23ff5a,''['concat'](_0x11298f),{'defIds':_0x23ff5a[_0x1d2366(0x5f1)],'idSuffix':_0xce4d54[_0x1d2366(0x139)]},Q({'ref':_0x5f04df,'className':_0x2655d3},_0x46c379),_0x338dd9);});function In(_0x4d4543,_0x2865c7,_0x2ee10f,_0x16b418,_0x25dd91){const _0x4f293f=_0x4a9685;return ae[_0x4f293f(0x393)](_0x4d4543['tag'],Q(Q({'key':_0x2865c7},ws(_0x4d4543,_0x2ee10f,_0x25dd91)),_0x16b418),(Ps(_0x4d4543,_0x2ee10f)[_0x4f293f(0x209)]||[])[_0x4f293f(0x28a)](function(_0x2b2b66,_0x4855a1){const _0x1579bd=_0x4f293f;return In(_0x2b2b66,''['concat'](_0x2865c7,'-')[_0x1579bd(0x407)](_0x4d4543['tag'],'-')['concat'](_0x4855a1),_0x2ee10f,void 0x0,_0x25dd91);}));}function ws(_0x1533d1,_0x2990f9,_0xf6bfa1){const _0x5767c5=_0x4a9685;var _0x2ca07d=Q({},_0x1533d1['attrs']);_0xf6bfa1!=null&&_0xf6bfa1[_0x5767c5(0x237)]&&_0x2ca07d[_0x5767c5(0x28d)]===_0x5767c5(0x237)&&(_0x2ca07d[_0x5767c5(0x28d)]=_0xf6bfa1[_0x5767c5(0x237)]);var _0x281e30=_0x2990f9[_0x5767c5(0x5f1)];return!_0x281e30||_0x281e30[_0x5767c5(0x530)]===0x0||(_0x1533d1[_0x5767c5(0x2cc)]===_0x5767c5(0x3fd)&&_0x2ca07d['xlink:href']&&(_0x2ca07d['xlink:href']=_0x2ca07d[_0x5767c5(0x22c)]+_0x2990f9[_0x5767c5(0x478)]),Object[_0x5767c5(0x522)](_0x2ca07d)['forEach'](function(_0x57f8ba){const _0xe5e036=_0x5767c5;var _0x158eb2=_0x57f8ba[0x0],_0x458580=_0x57f8ba[0x1];typeof _0x458580==_0xe5e036(0x3b2)&&(_0x2ca07d[_0x158eb2]=_0x458580[_0xe5e036(0x38b)](/url\(#(.*)\)/,_0xe5e036(0x5d3)[_0xe5e036(0x407)](_0x2990f9[_0xe5e036(0x478)],')')));})),_0x2ca07d;}function Ps(_0x499521,_0x4091bd){const _0x19e6f8=_0x4a9685;var _0x3d9707,_0x4ecbd9=_0x4091bd[_0x19e6f8(0x5f1)];return!_0x4ecbd9||_0x4ecbd9['length']===0x0?_0x499521:_0x499521[_0x19e6f8(0x2cc)]===_0x19e6f8(0x55c)&&(!((_0x3d9707=_0x499521['children'])===null||_0x3d9707===void 0x0)&&_0x3d9707[_0x19e6f8(0x530)])?Q(Q({},_0x499521),{'children':_0x499521[_0x19e6f8(0x209)][_0x19e6f8(0x28a)](function(_0x52bffc){const _0x1e3026=_0x19e6f8;return typeof _0x52bffc[_0x1e3026(0x247)]['id']==_0x1e3026(0x3b2)&&_0x4ecbd9&&_0x4ecbd9[_0x1e3026(0x558)](_0x52bffc[_0x1e3026(0x247)]['id'])>-0x1?Q(Q({},_0x52bffc),{'attrs':Q(Q({},_0x52bffc[_0x1e3026(0x247)]),{'id':_0x52bffc[_0x1e3026(0x247)]['id']+_0x4091bd[_0x1e3026(0x478)]})}):_0x52bffc;})}):_0x499521;}function Us(){const _0x53822f=_0x4a9685;return Math[_0x53822f(0x588)]()[_0x53822f(0x350)](0x24)[_0x53822f(0x18c)](0x2,0x8);}Dt['displayName']='UniverIcon';var Ms={'tag':_0x4a9685(0x421),'attrs':{'fill':_0x4a9685(0x4a2),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4a9685(0x353)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9685(0x36f)},'children':[{'tag':'path','attrs':{'stroke':_0x4a9685(0x4c6),'d':_0x4a9685(0x415),'strokeLinecap':_0x4a9685(0x481),'strokeLinejoin':_0x4a9685(0x481),'strokeWidth':1.2}}]},{'tag':_0x4a9685(0x55c),'attrs':{},'children':[{'tag':_0x4a9685(0x4ea),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x4a9685(0x1f4),'attrs':{'fill':_0x4a9685(0x4bd),'d':_0x4a9685(0x1ea)}}]}]}],'defIds':[_0x4a9685(0x439)]},Cn=ae[_0x4a9685(0x2a3)](function(_0x19a73c,_0x27019f){const _0x2151f3=_0x4a9685;return ae['createElement'](Dt,Object[_0x2151f3(0x166)]({},_0x19a73c,{'id':_0x2151f3(0x39e),'ref':_0x27019f,'icon':Ms}));});Cn[_0x4a9685(0x163)]=_0x4a9685(0x2a6);var As={'tag':_0x4a9685(0x421),'attrs':{'fill':_0x4a9685(0x4a2),'viewBox':_0x4a9685(0x516),'width':_0x4a9685(0x353),'height':_0x4a9685(0x353)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9685(0x4f3)},'children':[{'tag':_0x4a9685(0x1f4),'attrs':{'stroke':_0x4a9685(0x4c6),'d':_0x4a9685(0x15c),'strokeLinecap':'round','strokeLinejoin':_0x4a9685(0x481),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4a9685(0x396)},'children':[{'tag':_0x4a9685(0x1f4),'attrs':{'fill':'#fff','d':_0x4a9685(0x1ea),'transform':_0x4a9685(0x5ef)}}]}]}],'defIds':[_0x4a9685(0x396)]},En=ae[_0x4a9685(0x2a3)](function(_0x543e0e,_0x10ad11){const _0x4e4104=_0x4a9685;return ae[_0x4e4104(0x393)](Dt,Object[_0x4e4104(0x166)]({},_0x543e0e,{'id':_0x4e4104(0x40f),'ref':_0x10ad11,'icon':As}));});En['displayName']='OnLineSingle';function bn(_0xa8d2e4){const _0x4ff853=_0x4a9685;var _0x24dd33,_0x2f414e,_0x34ff42='';if(typeof _0xa8d2e4==_0x4ff853(0x3b2)||typeof _0xa8d2e4==_0x4ff853(0x3cd))_0x34ff42+=_0xa8d2e4;else{if(typeof _0xa8d2e4==_0x4ff853(0x32f)){if(Array[_0x4ff853(0x36d)](_0xa8d2e4)){var _0x18082f=_0xa8d2e4[_0x4ff853(0x530)];for(_0x24dd33=0x0;_0x24dd33<_0x18082f;_0x24dd33++)_0xa8d2e4[_0x24dd33]&&(_0x2f414e=bn(_0xa8d2e4[_0x24dd33]))&&(_0x34ff42&&(_0x34ff42+='\x20'),_0x34ff42+=_0x2f414e);}else{for(_0x2f414e in _0xa8d2e4)_0xa8d2e4[_0x2f414e]&&(_0x34ff42&&(_0x34ff42+='\x20'),_0x34ff42+=_0x2f414e);}}}return _0x34ff42;}function Ns(){const _0x2d909e=_0x4a9685;for(var _0x195f13,_0x3ccbe3,_0x34d65a=0x0,_0x1d88c3='',_0x161e0e=arguments[_0x2d909e(0x530)];_0x34d65a<_0x161e0e;_0x34d65a++)(_0x195f13=arguments[_0x34d65a])&&(_0x3ccbe3=bn(_0x195f13))&&(_0x1d88c3&&(_0x1d88c3+='\x20'),_0x1d88c3+=_0x3ccbe3);return _0x1d88c3;}const Ls=_0x4a9685(0x4cd),xs='univer-online-status-title',js=_0x4a9685(0x1a4),$s=_0x4a9685(0x13a),Hs='univer-offline',Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x38e9ff){const _0x457b06=_0x4a9685;switch(_0x38e9ff){case q[_0x457b06(0x338)]:return _0x457b06(0x562);case q[_0x457b06(0x328)]:return _0x457b06(0x4ae);case q[_0x457b06(0x2c6)]:return _0x457b06(0x489);case q['NOT_COLLAB']:return'collabStatus.notCollab';case q['AWAITING']:case q[_0x457b06(0x28b)]:return _0x457b06(0x5af);case q[_0x457b06(0x28c)]:case q[_0x457b06(0x23f)]:return _0x457b06(0x2e5);}}function Tn(_0x945aa4){const _0x1fc9c4=_0x4a9685,{status$:_0x5ce12a}=_0x945aa4,_0x3b6846=ee[_0x1fc9c4(0x592)](_0x5ce12a,q[_0x1fc9c4(0x5bd)]),_0xfcef97=a[_0x1fc9c4(0x245)](a[_0x1fc9c4(0x4a8)]),_0x591bbe=a[_0x1fc9c4(0x245)](exports[_0x1fc9c4(0x2a7)]),_0x5f3e28=_0x3b6846!==q[_0x1fc9c4(0x338)],_0x8f3aa1=_0xfcef97['t'](Bs(_0x3b6846)),_0x31bbd6=Ns(Me[_0x1fc9c4(0x2e1)],{[Me[_0x1fc9c4(0x1bf)]]:_0x5f3e28,[Me[_0x1fc9c4(0x277)]]:!_0x5f3e28}),_0x37285a=_0x5f3e28?pe[_0x1fc9c4(0x4a3)](En,{}):pe[_0x1fc9c4(0x4a3)](Cn,{}),_0x45165b=ae[_0x1fc9c4(0x194)](()=>{const _0x24342f=_0x1fc9c4;_0x5f3e28||_0x591bbe[_0x24342f(0x24a)]();},[_0x5f3e28,_0x591bbe]);function _0xba2a86(){const _0x15d753=_0x1fc9c4;return pe[_0x15d753(0x3bf)](_0x15d753(0x527),{'className':_0x31bbd6,'onClick':_0x45165b,'children':[pe['jsx'](_0x15d753(0x527),{'className':Me[_0x15d753(0x3c8)],'children':_0x37285a}),pe[_0x15d753(0x4a3)]('div',{'className':Me[_0x15d753(0x252)],'children':_0x8f3aa1})]});}return _0x5f3e28?_0xba2a86():pe['jsx'](ge[_0x1fc9c4(0x448)],{'title':_0xfcef97['t']('collab-client.tooltip.reconnect'),'children':_0xba2a86()});}var ks=Object[_0x4a9685(0x377)],Ws=Object[_0x4a9685(0x484)],Fs=(_0x2c2a62,_0x41215a,_0x50eb75,_0x84adfc)=>{const _0x55e064=_0x4a9685;for(var _0x6d331=_0x84adfc>0x1?void 0x0:_0x84adfc?Ws(_0x41215a,_0x50eb75):_0x41215a,_0x39e792=_0x2c2a62[_0x55e064(0x530)]-0x1,_0x39e2ef;_0x39e792>=0x0;_0x39e792--)(_0x39e2ef=_0x2c2a62[_0x39e792])&&(_0x6d331=(_0x84adfc?_0x39e2ef(_0x41215a,_0x50eb75,_0x6d331):_0x39e2ef(_0x6d331))||_0x6d331);return _0x84adfc&&_0x6d331&&ks(_0x41215a,_0x50eb75,_0x6d331),_0x6d331;},$e=(_0x19d2c5,_0x53c4ed)=>(_0x1fa745,_0x1870ef)=>_0x53c4ed(_0x1fa745,_0x1870ef,_0x19d2c5);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x4a9685(0x261)]{constructor(_0x1dff0d,_0x4c43a2,_0x294c3d,_0xb45487){const _0xb527b=_0x4a9685;super(),I(this,'_status$',new A['BehaviorSubject'](q[_0xb527b(0x5bd)])),(this[_0xb527b(0x54a)]=_0x1dff0d,this['_uiPartsService']=_0x4c43a2,this[_0xb527b(0x372)]=_0x294c3d,this[_0xb527b(0x46b)]=_0xb45487,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4a9685(0x5be)](){const _0x2ed6a0=_0x4a9685;this[_0x2ed6a0(0x3c7)](this['_univerInstanceService'][_0x2ed6a0(0x57c)][_0x2ed6a0(0x172)](A[_0x2ed6a0(0x4c9)](()=>{const _0x21a734=_0x2ed6a0,_0x5dbd39=this['_univerInstanceService'][_0x21a734(0x2dd)]();return _0x5dbd39?this[_0x21a734(0x46b)][_0x21a734(0x5bf)](_0x5dbd39[_0x21a734(0x56f)]()):A['of'](null);}),A[_0x2ed6a0(0x4c9)](_0x3a5f21=>_0x3a5f21?_0x3a5f21[_0x2ed6a0(0x4ba)]:A['of'](q['NOT_COLLAB'])))['subscribe'](_0x2f69a7=>{const _0x365146=_0x2ed6a0;this[_0x365146(0x366)][_0x365146(0x503)](_0x2f69a7);}));}[_0x4a9685(0x196)](){const _0x53ff94=_0x4a9685;this[_0x53ff94(0x3c7)](this[_0x53ff94(0x23a)]['registerComponent'](ee[_0x53ff94(0x4ad)][_0x53ff94(0x5c1)],()=>a['connectInjector'](Vs({'status$':this['_status$']['asObservable']()}),this['_injector'])));}},exports[_0x4a9685(0x2f8)]=Fs([$e(0x0,a[_0x4a9685(0x3c5)]),$e(0x1,ee['IUIPartsService']),$e(0x2,a[_0x4a9685(0x27a)](a[_0x4a9685(0x17d)])),$e(0x3,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1ff)]))],exports[_0x4a9685(0x2f8)]);function Vs(_0x56a877){const {status$:_0x5a191c}=_0x56a877;return function(){const _0x3b65da=_0x5f2c;return pe[_0x3b65da(0x4a3)](Tn,{'status$':_0x5a191c});};}const wt=a[_0x4a9685(0x1e3)](_0x4a9685(0x434));var Gs=Object['defineProperty'],Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x55b9be,_0x1c1469,_0x57e58a,_0x36bbca)=>{const _0x27a6db=_0x4a9685;for(var _0x285425=_0x36bbca>0x1?void 0x0:_0x36bbca?Ys(_0x1c1469,_0x57e58a):_0x1c1469,_0xf504da=_0x55b9be[_0x27a6db(0x530)]-0x1,_0x272c50;_0xf504da>=0x0;_0xf504da--)(_0x272c50=_0x55b9be[_0xf504da])&&(_0x285425=(_0x36bbca?_0x272c50(_0x1c1469,_0x57e58a,_0x285425):_0x272c50(_0x285425))||_0x285425);return _0x36bbca&&_0x285425&&Gs(_0x1c1469,_0x57e58a,_0x285425),_0x285425;},Te=(_0x2b39fb,_0x709c86)=>(_0x2e575a,_0x2c3b2c)=>_0x709c86(_0x2e575a,_0x2c3b2c,_0x2b39fb);exports[_0x4a9685(0x554)]=class extends a[_0x4a9685(0x2c7)]{constructor(_0x5ec5c6,_0x2f4b62,_0x14f006,_0x3295b8,_0x2d34e1,_0x57985c){const _0x1b082d=_0x4a9685;super(),this['_urlService']=_0x5ec5c6,this[_0x1b082d(0x480)]=_0x2f4b62,this[_0x1b082d(0x55e)]=_0x14f006,this[_0x1b082d(0x142)]=_0x3295b8,this[_0x1b082d(0x232)]=_0x2d34e1,_0x57985c?_0x57985c==null||_0x57985c['whenReady']()['then'](()=>this[_0x1b082d(0x3f4)]()):(this[_0x1b082d(0x480)]['debug'](_0x1b082d(0x190),_0x1b082d(0x1b9)),this['_init']());}async['_init'](){const _0x3b0b8e=_0x4a9685,_0x20f5bb=this['_urlService']['getParam'](_0x3b0b8e(0x1e9)),_0x29158a=this[_0x3b0b8e(0x230)][_0x3b0b8e(0x3e2)](_0x3b0b8e(0x3e4));if(!_0x20f5bb||!_0x29158a){this['_logService'][_0x3b0b8e(0x37a)](_0x3b0b8e(0x190),_0x3b0b8e(0x4d7));return;}switch(Number(_0x29158a)){case ie['UNIVER_SHEET']:{const _0x1b1498=await this['_loadSheet'](_0x20f5bb);this[_0x3b0b8e(0x5a7)](_0x1b1498);break;}case ie['UNIVER_DOC']:{await this['_loadDoc'](_0x20f5bb);break;}default:{this[_0x3b0b8e(0x480)]['error'](_0x3b0b8e(0x190),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x4a9685(0x5a7)](_0x3aea06){const _0x16955a=_0x4a9685;await this[_0x16955a(0x21e)](_0x3aea06),_0x3aea06['activeSheet$']['pipe'](A['takeUntil'](this[_0x16955a(0x5c9)]))[_0x16955a(0x419)](_0x1bb618=>{const _0x2fe324=_0x16955a;_0x1bb618&&this[_0x2fe324(0x45c)](_0x1bb618);}),this['_urlService'][_0x16955a(0x56a)][_0x16955a(0x172)](A['takeUntil'](this[_0x16955a(0x5c9)]))[_0x16955a(0x419)](()=>this['_updateSubUnitFromURLParams'](_0x3aea06));}['_updateURLWithCurrentState'](_0x2f2175,_0x4d041=!0x1){const _0x44093a=_0x4a9685,_0x3e59e0=this[_0x44093a(0x230)]['getParam']('subunit');_0x2f2175['getSheetId']()!==_0x3e59e0&&this[_0x44093a(0x230)][_0x44093a(0x282)](_0x44093a(0x3fe),_0x2f2175['getSheetId'](),_0x4d041);}async[_0x4a9685(0x21e)](_0x9d2fb2){const _0x455a4d=_0x4a9685;var _0xe86375;const _0x1895b4=this[_0x455a4d(0x230)][_0x455a4d(0x3e2)]('subunit');if(!_0x1895b4||!_0x9d2fb2[_0x455a4d(0x2ca)](_0x1895b4)){const _0x1369b1=_0x9d2fb2['getUnhiddenWorksheets']()[0x0],_0x3694d2=_0x9d2fb2['getSheetBySheetId'](_0x1369b1);if(!_0x3694d2)return;this['_updateURLWithCurrentState'](_0x3694d2,!0x0),await this[_0x455a4d(0x55e)][_0x455a4d(0x5f4)](k[_0x455a4d(0x4e7)]['id'],{'unitId':_0x9d2fb2[_0x455a4d(0x56f)](),'subUnitId':_0x1369b1});return;}((_0xe86375=_0x9d2fb2[_0x455a4d(0x4d4)]())==null?void 0x0:_0xe86375[_0x455a4d(0x180)]())!==_0x1895b4&&await this[_0x455a4d(0x55e)][_0x455a4d(0x5f4)](k[_0x455a4d(0x4e7)]['id'],{'unitId':_0x9d2fb2[_0x455a4d(0x56f)](),'subUnitId':_0x1895b4});}async[_0x4a9685(0x454)](_0x7cffb9){const _0x1e7e8f=_0x4a9685;let _0x31f75a=0x0;const _0x1808b0=await this[_0x1e7e8f(0x142)][_0x1e7e8f(0x206)](_0x7cffb9);return _0x1808b0&&(_0x1808b0['awaitingChangeset']||_0x1808b0['mutations'][_0x1e7e8f(0x530)]!==0x0)&&(_0x31f75a=_0x1808b0[_0x1e7e8f(0x1b6)]),_0x31f75a===0x0&&this[_0x1e7e8f(0x480)]['debug'](_0x1e7e8f(0x190),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x1e7e8f(0x1cd)](_0x7cffb9,_0x31f75a);}async[_0x4a9685(0x29f)](_0x2c4431){const _0x822a18=_0x4a9685;let _0x5d4155=0x0;const _0x28ffd1=await this[_0x822a18(0x142)]['loadOfflineData'](_0x2c4431);return _0x28ffd1&&(_0x28ffd1['awaitingChangeset']||_0x28ffd1[_0x822a18(0x1b8)][_0x822a18(0x530)]!==0x0)&&(_0x5d4155=_0x28ffd1[_0x822a18(0x1b6)]),_0x5d4155===0x0&&this['_logService']['debug'](_0x822a18(0x190),_0x822a18(0x47e)),this[_0x822a18(0x232)]['loadDoc'](_0x2c4431,_0x5d4155);}},exports['DataLoaderController']=Ks([Te(0x0,wt),Te(0x1,a[_0x4a9685(0x2e8)]),Te(0x2,a[_0x4a9685(0x449)]),Te(0x3,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x1a0)])),Te(0x4,a[_0x4a9685(0x27a)](S[_0x4a9685(0x33d)])),Te(0x5,a['Optional']($n[_0x4a9685(0x4d9)]))],exports[_0x4a9685(0x554)]);var qs=Object[_0x4a9685(0x377)],zs=Object[_0x4a9685(0x484)],Xs=(_0x5e0e58,_0x5681e1,_0x351554,_0x386dd9)=>{for(var _0x2eea1c=_0x386dd9>0x1?void 0x0:_0x386dd9?zs(_0x5681e1,_0x351554):_0x5681e1,_0x111413=_0x5e0e58['length']-0x1,_0x5dd800;_0x111413>=0x0;_0x111413--)(_0x5dd800=_0x5e0e58[_0x111413])&&(_0x2eea1c=(_0x386dd9?_0x5dd800(_0x5681e1,_0x351554,_0x2eea1c):_0x5dd800(_0x2eea1c))||_0x2eea1c);return _0x386dd9&&_0x2eea1c&&qs(_0x5681e1,_0x351554,_0x2eea1c),_0x2eea1c;},kt=(_0x96b049,_0x54bb60)=>(_0xb601f3,_0x315b8b)=>_0x54bb60(_0xb601f3,_0x315b8b,_0x96b049);const Js='DEFAULT_FILE_NAME',Zs=_0x4a9685(0x5a8);let Ve=class extends a[_0x4a9685(0x261)]{constructor(_0xb9b835,_0x55e433){const _0x28583d=_0x4a9685;super(),this[_0x28583d(0x54a)]=_0xb9b835,this[_0x28583d(0x294)]=_0x55e433,this['_init']();}[_0x4a9685(0x3f4)](){const _0x5325e6=_0x4a9685;this[_0x5325e6(0x3c7)](this[_0x5325e6(0x54a)]['focused$'][_0x5325e6(0x419)](()=>{const _0x48b30f=_0x5325e6;var _0xd4896;const _0x31f219=this[_0x48b30f(0x54a)][_0x48b30f(0x2dd)]();let _0x225c98=(_0xd4896=this[_0x48b30f(0x294)][_0x48b30f(0x4a1)](Js))!=null?_0xd4896:Zs;_0x31f219 instanceof a[_0x48b30f(0x599)]&&(_0x225c98=_0x31f219[_0x48b30f(0x2b9)]),document[_0x48b30f(0x1c7)]=_0x225c98;}));}};Ve=Xs([kt(0x0,a[_0x4a9685(0x3c5)]),kt(0x1,a[_0x4a9685(0x3fb)])],Ve);var Qs=Object[_0x4a9685(0x377)],er=Object[_0x4a9685(0x484)],tr=(_0x1d63a6,_0x1d281d,_0xf17d16,_0x4f7362)=>{const _0x2d0e8b=_0x4a9685;for(var _0x863bf=_0x4f7362>0x1?void 0x0:_0x4f7362?er(_0x1d281d,_0xf17d16):_0x1d281d,_0x463b01=_0x1d63a6[_0x2d0e8b(0x530)]-0x1,_0x4909d2;_0x463b01>=0x0;_0x463b01--)(_0x4909d2=_0x1d63a6[_0x463b01])&&(_0x863bf=(_0x4f7362?_0x4909d2(_0x1d281d,_0xf17d16,_0x863bf):_0x4909d2(_0x863bf))||_0x863bf);return _0x4f7362&&_0x863bf&&Qs(_0x1d281d,_0xf17d16,_0x863bf),_0x863bf;},at=(_0x58396d,_0x2cd97a)=>(_0x45ebd0,_0x1d7e08)=>_0x2cd97a(_0x45ebd0,_0x1d7e08,_0x58396d);function _0x5f2c(_0x16bfb7,_0x42776d){const _0x2b0a68=_0x2b0a();return _0x5f2c=function(_0x5f2c73,_0x241e5d){_0x5f2c73=_0x5f2c73-0x133;let _0x53c513=_0x2b0a68[_0x5f2c73];return _0x53c513;},_0x5f2c(_0x16bfb7,_0x42776d);}let Ge=class{constructor(_0x534843,_0x3702c1,_0x1d41c7){const _0x32c64e=_0x4a9685;this['_configService']=_0x534843,this[_0x32c64e(0x213)]=_0x3702c1,this[_0x32c64e(0x195)]=_0x1d41c7,this[_0x32c64e(0x432)]();}[_0x4a9685(0x432)](){const _0x4c02aa=_0x4a9685;this[_0x4c02aa(0x213)][_0x4c02aa(0x533)]({'priority':0x1,'interceptor':(_0x6fc23a,_0x9733a7)=>_0x9733a7(_0x6fc23a)[_0x4c02aa(0x172)](A[_0x4c02aa(0x2c3)](async _0x529ca0=>{const _0x53589e=_0x4c02aa,_0x263fd4=_0x529ca0;if(_0x263fd4[_0x53589e(0x226)]===0x191&&window[_0x53589e(0x2a0)](this[_0x53589e(0x195)]['t'](_0x53589e(0x5df)))){const _0x19d7f0=window[_0x53589e(0x205)](window[_0x53589e(0x559)][_0x53589e(0x1fd)]);window[_0x53589e(0x559)][_0x53589e(0x1fd)]=this['_getLoginPath']()+_0x53589e(0x496)+_0x19d7f0;}return _0x263fd4;}))});}[_0x4a9685(0x162)](){const _0x4d3bb7=_0x4a9685;var _0x511e17,_0x2081c5;const _0x29f732=this[_0x4d3bb7(0x294)][_0x4d3bb7(0x4a1)](an),_0x1664e4=this[_0x4d3bb7(0x294)]['getConfig'](te);return(_0x2081c5=(_0x511e17=_0x1664e4==null?void 0x0:_0x1664e4[_0x4d3bb7(0x5db)])!=null?_0x511e17:_0x29f732)!=null?_0x2081c5:qn;}};Ge=tr([at(0x0,a[_0x4a9685(0x3fb)]),at(0x1,a[_0x4a9685(0x27a)](Z[_0x4a9685(0x2db)])),at(0x2,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)]))],Ge);var nr=Object[_0x4a9685(0x377)],ir=Object['getOwnPropertyDescriptor'],sr=(_0x25dab8,_0x13c967,_0x19d17c,_0x3318bb)=>{const _0x56b2f6=_0x4a9685;for(var _0x3eaa87=_0x3318bb>0x1?void 0x0:_0x3318bb?ir(_0x13c967,_0x19d17c):_0x13c967,_0x2e9495=_0x25dab8[_0x56b2f6(0x530)]-0x1,_0xc77bd9;_0x2e9495>=0x0;_0x2e9495--)(_0xc77bd9=_0x25dab8[_0x2e9495])&&(_0x3eaa87=(_0x3318bb?_0xc77bd9(_0x13c967,_0x19d17c,_0x3eaa87):_0xc77bd9(_0x3eaa87))||_0x3eaa87);return _0x3318bb&&_0x3eaa87&&nr(_0x13c967,_0x19d17c,_0x3eaa87),_0x3eaa87;},Wt=(_0x4039a6,_0x5458d9)=>(_0x266252,_0x43cbf4)=>_0x5458d9(_0x266252,_0x43cbf4,_0x4039a6);const Rn=_0x4a9685(0x428),rr=_0x4a9685(0x400);exports[_0x4a9685(0x26b)]=class extends a[_0x4a9685(0x261)]{constructor(_0x341f3a,_0x1f0f6a){const _0x19dfe9=_0x4a9685;super(),this[_0x19dfe9(0x54b)]=_0x341f3a,this[_0x19dfe9(0x294)]=_0x1f0f6a,this[_0x19dfe9(0x4e9)]();}['_initMergeInterceptor'](){const _0xc8647=_0x4a9685,_0x38729d=this;this[_0xc8647(0x3c7)](this[_0xc8647(0x54b)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Z[_0xc8647(0x47a)]({'isMatch'(_0x555094){const _0x1146c0=_0xc8647;var _0x473e2d;if(_0x555094[_0x1146c0(0x557)]==='POST'&&((_0x473e2d=_0x555094[_0x1146c0(0x385)])!=null&&_0x473e2d[_0x1146c0(0x1c3)])){const {objectID:_0x5a17c4,objectType:_0x34b0eb}=_0x555094[_0x1146c0(0x385)][_0x1146c0(0x1c3)]||{};if(!_0x5a17c4||_0x34b0eb===void 0x0)return!0x1;const _0x35cf88=_0x38729d[_0x1146c0(0x1f1)]()+'/'+_0x34b0eb+'/object/'+_0x5a17c4+'/allowed';if(_0x555094[_0x1146c0(0x465)]===_0x35cf88)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x487297){var _0x36acd2;return(_0x36acd2=_0x487297['requestParams'])==null?void 0x0:_0x36acd2['body'];},'mergeParamsToRequest'(_0x262d10,_0x923482){const _0x6865fb=_0xc8647,_0xa5a4fe=_0x38729d[_0x6865fb(0x1f1)]()+_0x6865fb(0x3b5),_0x474251=_0x262d10[_0x6865fb(0x2a2)]((_0x45798d,_0x3bf79f)=>{const _0x3435a0=_0x6865fb,{unitID:_0x509f5e,objectID:_0xb708a6,objectType:_0x7b4dfe,actions:_0x3afc57}=_0x3bf79f;return _0x45798d[_0x509f5e]||(_0x45798d[_0x509f5e]={}),_0x45798d[_0x509f5e][_0xb708a6]||(_0x45798d[_0x509f5e][_0xb708a6]={'objectID':_0xb708a6,'objectType':_0x7b4dfe,'actions':[]}),_0x45798d[_0x509f5e][_0xb708a6]['actions'][_0x3435a0(0x3d6)](..._0x3afc57),_0x45798d;},{}),_0x384c84=[];for(const _0x2b667f in _0x474251)for(const _0x256c9c in _0x474251[_0x2b667f]){const {actions:_0x306904,objectType:_0x5c0bcd}=_0x474251[_0x2b667f][_0x256c9c],_0x456238=[...new Set(_0x306904)];_0x384c84[_0x6865fb(0x3d6)]({'unitID':_0x2b667f,'objectID':_0x256c9c,'objectType':_0x5c0bcd,'actions':_0x456238});}return new Z[(_0x6865fb(0x324))](_0x6865fb(0x431),_0xa5a4fe,{'headers':_0x923482[_0x6865fb(0x259)],'withCredentials':_0x923482[_0x6865fb(0x46a)],'responseType':_0x923482[_0x6865fb(0x413)],'body':{'requests':_0x384c84}});}},{'distributeResult'(_0x2031e6,_0x1d133){const {objectActions:_0x29bf0b}=_0x2031e6;return _0x1d133['map'](_0xc9d21e=>{const _0x31f078=_0x5f2c,{unitID:_0x138c05,objectID:_0x139bc3,actions:_0x1c2f58}=_0xc9d21e,_0x465e6=_0x29bf0b[_0x31f078(0x284)](_0x1d21e1=>_0x1d21e1[_0x31f078(0x197)]===_0x138c05&&_0x1d21e1[_0x31f078(0x5e7)]===_0x139bc3),_0x2f9823=_0x1c2f58['map'](_0x52c460=>_0x465e6==null?void 0x0:_0x465e6['actions'][_0x31f078(0x284)](_0x145e3c=>_0x145e3c[_0x31f078(0x14c)]===_0x52c460))[_0x31f078(0x464)](_0x58e3f0=>!!_0x58e3f0);return{'config':_0xc9d21e,'result':{'actions':_0x2f9823,'error':_0x2031e6['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x3a1599=_0x4a9685;var _0x15802d,_0x53b19f;const _0x17db61=this[_0x3a1599(0x294)][_0x3a1599(0x4a1)](Rn),_0x1c702d=this[_0x3a1599(0x294)]['getConfig'](te);return(_0x53b19f=(_0x15802d=_0x1c702d==null?void 0x0:_0x1c702d[_0x3a1599(0x240)])!=null?_0x15802d:_0x17db61)!=null?_0x53b19f:rr;}async[_0x4a9685(0x4c5)](_0x371b00){const _0x5dd1a8=_0x4a9685,_0x4f020a=this[_0x5dd1a8(0x1f1)]()+'/'+_0x371b00[_0x5dd1a8(0x451)]+'/object';return(await this['_HTTPService']['post'](_0x4f020a,{'body':_0x371b00}))[_0x5dd1a8(0x1c3)][_0x5dd1a8(0x5e7)]||'';}async[_0x4a9685(0x3b9)](_0x1434f0){const _0xf61595=_0x4a9685,_0x3888ca=this[_0xf61595(0x1f1)]()+_0xf61595(0x2ce);return(await this[_0xf61595(0x54b)][_0xf61595(0x171)](_0x3888ca,{'body':_0x1434f0}))['body'][_0xf61595(0x365)];}async['update'](_0x3f9bb5){const _0x11501e=_0x4a9685,_0x4e95b8=this['_getAPIPrefixPath']()+'/'+_0x3f9bb5[_0x11501e(0x451)]+_0x11501e(0x343)+_0x3f9bb5[_0x11501e(0x5e7)];await this[_0x11501e(0x54b)]['put'](_0x4e95b8,{'body':_0x3f9bb5});}async[_0x4a9685(0x339)](_0x3855b2){const _0x16e29b=_0x4a9685,_0xb105c6=this[_0x16e29b(0x1f1)]()+'/'+_0x3855b2[_0x16e29b(0x451)]+_0x16e29b(0x343)+_0x3855b2[_0x16e29b(0x5e7)]+_0x16e29b(0x2fc);return(await this[_0x16e29b(0x54b)][_0x16e29b(0x171)](_0xb105c6,{'body':_0x3855b2}))[_0x16e29b(0x1c3)][_0x16e29b(0x5b6)];}async[_0x4a9685(0x161)](_0x31c644){const _0x444f19=_0x4a9685,_0x2a7651=this[_0x444f19(0x1f1)]()+'/-/object/-/batch_allowed';return(await this[_0x444f19(0x54b)][_0x444f19(0x171)](_0x2a7651,{'body':{'requests':_0x31c644}}))['body'][_0x444f19(0x390)];}async['listRoles'](_0x29e437){const _0x595a3a=_0x4a9685,_0x3d2b22=this[_0x595a3a(0x1f1)]()+'/'+_0x29e437[_0x595a3a(0x451)]+_0x595a3a(0x519),_0x313565=await this[_0x595a3a(0x54b)][_0x595a3a(0x171)](_0x3d2b22,{'body':_0x29e437});return{'roles':_0x313565[_0x595a3a(0x1c3)][_0x595a3a(0x569)],'actions':_0x313565[_0x595a3a(0x1c3)]['actions']};}async[_0x4a9685(0x15d)](_0x30182e){const _0x3947a9=_0x4a9685,_0x686027=this[_0x3947a9(0x1f1)]()+_0x3947a9(0x532);await this[_0x3947a9(0x54b)][_0x3947a9(0x224)](_0x686027,{'params':{'collaboratorID':_0x30182e[_0x3947a9(0x1e7)],'objectID':_0x30182e[_0x3947a9(0x5e7)],'unitID':_0x30182e[_0x3947a9(0x197)]}});}async[_0x4a9685(0x49c)](_0x3c76a7){const _0x5c700a=_0x4a9685,_0x20bfe5=this['_getAPIPrefixPath']()+_0x5c700a(0x532);await this[_0x5c700a(0x54b)][_0x5c700a(0x148)](_0x20bfe5,{'body':_0x3c76a7});}async[_0x4a9685(0x30d)](_0x4d2658){const _0x5a5dd5=_0x4a9685,_0x583357=this[_0x5a5dd5(0x1f1)]()+_0x5a5dd5(0x532);await this['_HTTPService'][_0x5a5dd5(0x171)](_0x583357,{'body':_0x4d2658});}async['listCollaborators'](_0x112ca2){const _0x5bc42a=_0x4a9685,_0x521951=this[_0x5bc42a(0x1f1)]()+'/collaborator';return(await this['_HTTPService']['get'](_0x521951,{'params':{'objectID':_0x112ca2[_0x5bc42a(0x5e7)],'unitID':_0x112ca2[_0x5bc42a(0x197)]}}))[_0x5bc42a(0x1c3)][_0x5bc42a(0x25c)];}async['putCollaborators'](_0x1c288c){const _0x53e6a8=_0x4a9685,_0x295f91=this['_getAPIPrefixPath']()+_0x53e6a8(0x532);await this[_0x53e6a8(0x54b)][_0x53e6a8(0x235)](_0x295f91,{'body':_0x1c288c});}},exports[_0x4a9685(0x26b)]=sr([Wt(0x0,a[_0x4a9685(0x27a)](Z[_0x4a9685(0x2db)])),Wt(0x1,a['Inject'](a[_0x4a9685(0x3fb)]))],exports[_0x4a9685(0x26b)]);var yn={'exports':{}};function or(_0x5e0b21){const _0x46e5e6=_0x4a9685;throw new Error(_0x46e5e6(0x234)+_0x5e0b21+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ct={'exports':{}},Ft;function oe(){const _0x396100=_0x4a9685;return Ft||(Ft=0x1,function(_0x33d567,_0x171b64){(function(_0x9c82f,_0x294afb){const _0xf85903=_0x5f2c;_0x33d567[_0xf85903(0x5dd)]=_0x294afb();}(X,function(){var _0x209bbf=_0x209bbf||function(_0x288c73,_0x218720){const _0xd579ef=_0x5f2c;var _0x36d28e;if(typeof window<'u'&&window[_0xd579ef(0x564)]&&(_0x36d28e=window['crypto']),typeof self<'u'&&self[_0xd579ef(0x564)]&&(_0x36d28e=self[_0xd579ef(0x564)]),typeof globalThis<'u'&&globalThis[_0xd579ef(0x564)]&&(_0x36d28e=globalThis[_0xd579ef(0x564)]),!_0x36d28e&&typeof window<'u'&&window[_0xd579ef(0x4c0)]&&(_0x36d28e=window[_0xd579ef(0x4c0)]),!_0x36d28e&&typeof X<'u'&&X[_0xd579ef(0x564)]&&(_0x36d28e=X[_0xd579ef(0x564)]),!_0x36d28e&&typeof or==_0xd579ef(0x2d5))try{_0x36d28e=require('crypto');}catch{}var _0x10cb8d=function(){const _0x547215=_0xd579ef;if(_0x36d28e){if(typeof _0x36d28e[_0x547215(0x1c8)]==_0x547215(0x2d5))try{return _0x36d28e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x36d28e[_0x547215(0x501)]==_0x547215(0x2d5))try{return _0x36d28e[_0x547215(0x501)](0x4)[_0x547215(0x596)]();}catch{}}throw new Error(_0x547215(0x399));},_0x205d70=Object[_0xd579ef(0x4c5)]||(function(){function _0x596158(){}return function(_0x37000b){const _0x363c59=_0x5f2c;var _0x5bac7;return _0x596158[_0x363c59(0x216)]=_0x37000b,_0x5bac7=new _0x596158(),_0x596158['prototype']=null,_0x5bac7;};}()),_0x2b54ef={},_0x3575b6=_0x2b54ef[_0xd579ef(0x18d)]={},_0x54ec5f=_0x3575b6[_0xd579ef(0x1bd)]=(function(){return{'extend':function(_0x2943ed){const _0x4909ef=_0x5f2c;var _0x202943=_0x205d70(this);return _0x2943ed&&_0x202943['mixIn'](_0x2943ed),(!_0x202943[_0x4909ef(0x2f4)](_0x4909ef(0x432))||this[_0x4909ef(0x432)]===_0x202943[_0x4909ef(0x432)])&&(_0x202943[_0x4909ef(0x432)]=function(){const _0x15ae69=_0x4909ef;_0x202943[_0x15ae69(0x2ee)][_0x15ae69(0x432)][_0x15ae69(0x5cc)](this,arguments);}),_0x202943['init'][_0x4909ef(0x216)]=_0x202943,_0x202943[_0x4909ef(0x2ee)]=this,_0x202943;},'create':function(){const _0x5c2cd0=_0x5f2c;var _0x561aaa=this[_0x5c2cd0(0x3bb)]();return _0x561aaa['init'][_0x5c2cd0(0x5cc)](_0x561aaa,arguments),_0x561aaa;},'init':function(){},'mixIn':function(_0x1d9ce7){const _0x2c2b24=_0x5f2c;for(var _0x12f748 in _0x1d9ce7)_0x1d9ce7['hasOwnProperty'](_0x12f748)&&(this[_0x12f748]=_0x1d9ce7[_0x12f748]);_0x1d9ce7[_0x2c2b24(0x2f4)](_0x2c2b24(0x350))&&(this['toString']=_0x1d9ce7['toString']);},'clone':function(){const _0x1f19aa=_0x5f2c;return this[_0x1f19aa(0x432)][_0x1f19aa(0x216)][_0x1f19aa(0x3bb)](this);}};}()),_0x4b53b6=_0x3575b6[_0xd579ef(0x2bc)]=_0x54ec5f['extend']({'init':function(_0x1d6066,_0x2a1fd7){const _0x18e642=_0xd579ef;_0x1d6066=this[_0x18e642(0x155)]=_0x1d6066||[],_0x2a1fd7!=_0x218720?this[_0x18e642(0x3a6)]=_0x2a1fd7:this[_0x18e642(0x3a6)]=_0x1d6066[_0x18e642(0x530)]*0x4;},'toString':function(_0x5e7f3e){const _0x55657a=_0xd579ef;return(_0x5e7f3e||_0x537afb)[_0x55657a(0x2d1)](this);},'concat':function(_0x2b5877){const _0x9c1ffb=_0xd579ef;var _0x4cb8e9=this[_0x9c1ffb(0x155)],_0x416fbc=_0x2b5877[_0x9c1ffb(0x155)],_0x2f77c3=this[_0x9c1ffb(0x3a6)],_0x3f8847=_0x2b5877[_0x9c1ffb(0x3a6)];if(this[_0x9c1ffb(0x304)](),_0x2f77c3%0x4)for(var _0x3841e1=0x0;_0x3841e1<_0x3f8847;_0x3841e1++){var _0x155b1a=_0x416fbc[_0x3841e1>>>0x2]>>>0x18-_0x3841e1%0x4*0x8&0xff;_0x4cb8e9[_0x2f77c3+_0x3841e1>>>0x2]|=_0x155b1a<<0x18-(_0x2f77c3+_0x3841e1)%0x4*0x8;}else{for(var _0xad8d58=0x0;_0xad8d58<_0x3f8847;_0xad8d58+=0x4)_0x4cb8e9[_0x2f77c3+_0xad8d58>>>0x2]=_0x416fbc[_0xad8d58>>>0x2];}return this['sigBytes']+=_0x3f8847,this;},'clamp':function(){const _0x823018=_0xd579ef;var _0x399133=this[_0x823018(0x155)],_0x127f2f=this[_0x823018(0x3a6)];_0x399133[_0x127f2f>>>0x2]&=0xffffffff<<0x20-_0x127f2f%0x4*0x8,_0x399133[_0x823018(0x530)]=_0x288c73['ceil'](_0x127f2f/0x4);},'clone':function(){const _0x4d3a5d=_0xd579ef;var _0x4874b6=_0x54ec5f[_0x4d3a5d(0x1c6)]['call'](this);return _0x4874b6[_0x4d3a5d(0x155)]=this[_0x4d3a5d(0x155)][_0x4d3a5d(0x2f2)](0x0),_0x4874b6;},'random':function(_0x5cb12f){const _0x71dbc7=_0xd579ef;for(var _0x420304=[],_0x5c0db5=0x0;_0x5c0db5<_0x5cb12f;_0x5c0db5+=0x4)_0x420304[_0x71dbc7(0x3d6)](_0x10cb8d());return new _0x4b53b6[(_0x71dbc7(0x432))](_0x420304,_0x5cb12f);}}),_0x49264d=_0x2b54ef['enc']={},_0x537afb=_0x49264d['Hex']={'stringify':function(_0x172aa9){const _0x31ab0b=_0xd579ef;for(var _0x3b07e4=_0x172aa9[_0x31ab0b(0x155)],_0x1eef5d=_0x172aa9[_0x31ab0b(0x3a6)],_0x2cbd6c=[],_0x3a7e50=0x0;_0x3a7e50<_0x1eef5d;_0x3a7e50++){var _0x13ef37=_0x3b07e4[_0x3a7e50>>>0x2]>>>0x18-_0x3a7e50%0x4*0x8&0xff;_0x2cbd6c[_0x31ab0b(0x3d6)]((_0x13ef37>>>0x4)[_0x31ab0b(0x350)](0x10)),_0x2cbd6c['push']((_0x13ef37&0xf)['toString'](0x10));}return _0x2cbd6c['join']('');},'parse':function(_0x96fd5f){const _0x248578=_0xd579ef;for(var _0x3be6b7=_0x96fd5f['length'],_0x21542b=[],_0x2bd6b4=0x0;_0x2bd6b4<_0x3be6b7;_0x2bd6b4+=0x2)_0x21542b[_0x2bd6b4>>>0x3]|=parseInt(_0x96fd5f[_0x248578(0x5ea)](_0x2bd6b4,0x2),0x10)<<0x18-_0x2bd6b4%0x8*0x4;return new _0x4b53b6[(_0x248578(0x432))](_0x21542b,_0x3be6b7/0x2);}},_0x3fafc1=_0x49264d['Latin1']={'stringify':function(_0x52ecb2){const _0x25ea4e=_0xd579ef;for(var _0x26449c=_0x52ecb2[_0x25ea4e(0x155)],_0x5248b0=_0x52ecb2['sigBytes'],_0x4b581c=[],_0x7b4eb7=0x0;_0x7b4eb7<_0x5248b0;_0x7b4eb7++){var _0x57a84e=_0x26449c[_0x7b4eb7>>>0x2]>>>0x18-_0x7b4eb7%0x4*0x8&0xff;_0x4b581c['push'](String[_0x25ea4e(0x29a)](_0x57a84e));}return _0x4b581c['join']('');},'parse':function(_0x4e00c8){const _0x34a4f7=_0xd579ef;for(var _0x3df153=_0x4e00c8[_0x34a4f7(0x530)],_0x395559=[],_0x4229f8=0x0;_0x4229f8<_0x3df153;_0x4229f8++)_0x395559[_0x4229f8>>>0x2]|=(_0x4e00c8[_0x34a4f7(0x3b4)](_0x4229f8)&0xff)<<0x18-_0x4229f8%0x4*0x8;return new _0x4b53b6['init'](_0x395559,_0x3df153);}},_0x1eee9b=_0x49264d[_0xd579ef(0x289)]={'stringify':function(_0x4d7859){const _0x1f3a00=_0xd579ef;try{return decodeURIComponent(escape(_0x3fafc1[_0x1f3a00(0x2d1)](_0x4d7859)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x15c285){return _0x3fafc1['parse'](unescape(encodeURIComponent(_0x15c285)));}},_0x4d915f=_0x3575b6[_0xd579ef(0x1ac)]=_0x54ec5f[_0xd579ef(0x3bb)]({'reset':function(){const _0x14390c=_0xd579ef;this[_0x14390c(0x225)]=new _0x4b53b6[(_0x14390c(0x432))](),this[_0x14390c(0x46c)]=0x0;},'_append':function(_0x29f4b0){const _0x3db43e=_0xd579ef;typeof _0x29f4b0==_0x3db43e(0x3b2)&&(_0x29f4b0=_0x1eee9b[_0x3db43e(0x2af)](_0x29f4b0)),this[_0x3db43e(0x225)][_0x3db43e(0x407)](_0x29f4b0),this['_nDataBytes']+=_0x29f4b0[_0x3db43e(0x3a6)];},'_process':function(_0x55cb44){const _0x37fdf7=_0xd579ef;var _0xea8b81,_0x1ec558=this[_0x37fdf7(0x225)],_0x4f66bd=_0x1ec558['words'],_0x2bd231=_0x1ec558[_0x37fdf7(0x3a6)],_0x1b916c=this[_0x37fdf7(0x502)],_0x5b4b7c=_0x1b916c*0x4,_0x4b6a11=_0x2bd231/_0x5b4b7c;_0x55cb44?_0x4b6a11=_0x288c73['ceil'](_0x4b6a11):_0x4b6a11=_0x288c73[_0x37fdf7(0x2e7)]((_0x4b6a11|0x0)-this[_0x37fdf7(0x1cb)],0x0);var _0x2dbd2b=_0x4b6a11*_0x1b916c,_0x23ca1f=_0x288c73[_0x37fdf7(0x585)](_0x2dbd2b*0x4,_0x2bd231);if(_0x2dbd2b){for(var _0x2c0539=0x0;_0x2c0539<_0x2dbd2b;_0x2c0539+=_0x1b916c)this['_doProcessBlock'](_0x4f66bd,_0x2c0539);_0xea8b81=_0x4f66bd['splice'](0x0,_0x2dbd2b),_0x1ec558[_0x37fdf7(0x3a6)]-=_0x23ca1f;}return new _0x4b53b6[(_0x37fdf7(0x432))](_0xea8b81,_0x23ca1f);},'clone':function(){const _0x124754=_0xd579ef;var _0x23b545=_0x54ec5f['clone'][_0x124754(0x20c)](this);return _0x23b545[_0x124754(0x225)]=this[_0x124754(0x225)][_0x124754(0x1c6)](),_0x23b545;},'_minBufferSize':0x0});_0x3575b6['Hasher']=_0x4d915f['extend']({'cfg':_0x54ec5f[_0xd579ef(0x3bb)](),'init':function(_0x59810a){const _0x263117=_0xd579ef;this['cfg']=this[_0x263117(0x541)]['extend'](_0x59810a),this[_0x263117(0x149)]();},'reset':function(){const _0x9fb42c=_0xd579ef;_0x4d915f[_0x9fb42c(0x149)]['call'](this),this[_0x9fb42c(0x20f)]();},'update':function(_0x4ecebb){const _0x430241=_0xd579ef;return this[_0x430241(0x34b)](_0x4ecebb),this[_0x430241(0x380)](),this;},'finalize':function(_0x2fff7e){const _0x14d8e1=_0xd579ef;_0x2fff7e&&this['_append'](_0x2fff7e);var _0x56a6e5=this[_0x14d8e1(0x187)]();return _0x56a6e5;},'blockSize':0x10,'_createHelper':function(_0x16a174){return function(_0x13b4c1,_0x5b62bc){const _0x49e9b7=_0x5f2c;return new _0x16a174['init'](_0x5b62bc)[_0x49e9b7(0x36a)](_0x13b4c1);};},'_createHmacHelper':function(_0x526f81){return function(_0x3f79bd,_0x581fb6){const _0x2cd6e3=_0x5f2c;return new _0x566044['HMAC']['init'](_0x526f81,_0x581fb6)[_0x2cd6e3(0x36a)](_0x3f79bd);};}});var _0x566044=_0x2b54ef[_0xd579ef(0x4bb)]={};return _0x2b54ef;}(Math);return _0x209bbf;}));}(ct)),ct[_0x396100(0x5dd)];}var lt={'exports':{}},Vt;function On(){const _0x36c78e=_0x4a9685;return Vt||(Vt=0x1,function(_0x866ff,_0x2e4262){(function(_0x379715,_0xd4237a){const _0xa498c4=_0x5f2c;_0x866ff[_0xa498c4(0x5dd)]=_0xd4237a(oe());}(X,function(_0x1c1c82){const _0xb28be2=_0x5f2c;return(function(){const _0x2bb7b1=_0x5f2c;var _0x1e57ce=_0x1c1c82,_0x28d1da=_0x1e57ce[_0x2bb7b1(0x18d)],_0x9d0437=_0x28d1da[_0x2bb7b1(0x2bc)],_0x1f16e2=_0x1e57ce[_0x2bb7b1(0x3e6)];_0x1f16e2['Base64']={'stringify':function(_0x655681){const _0xc16999=_0x2bb7b1;var _0x2c680d=_0x655681['words'],_0x40f15c=_0x655681[_0xc16999(0x3a6)],_0x470e3e=this[_0xc16999(0x3c2)];_0x655681[_0xc16999(0x304)]();for(var _0x4df4d7=[],_0x12bcf1=0x0;_0x12bcf1<_0x40f15c;_0x12bcf1+=0x3)for(var _0x1f9c6b=_0x2c680d[_0x12bcf1>>>0x2]>>>0x18-_0x12bcf1%0x4*0x8&0xff,_0x398ffe=_0x2c680d[_0x12bcf1+0x1>>>0x2]>>>0x18-(_0x12bcf1+0x1)%0x4*0x8&0xff,_0x6c3715=_0x2c680d[_0x12bcf1+0x2>>>0x2]>>>0x18-(_0x12bcf1+0x2)%0x4*0x8&0xff,_0x52ed2f=_0x1f9c6b<<0x10|_0x398ffe<<0x8|_0x6c3715,_0x37c0ee=0x0;_0x37c0ee<0x4&&_0x12bcf1+_0x37c0ee*0.75<_0x40f15c;_0x37c0ee++)_0x4df4d7['push'](_0x470e3e[_0xc16999(0x22d)](_0x52ed2f>>>0x6*(0x3-_0x37c0ee)&0x3f));var _0x2660a1=_0x470e3e['charAt'](0x40);if(_0x2660a1){for(;_0x4df4d7[_0xc16999(0x530)]%0x4;)_0x4df4d7[_0xc16999(0x3d6)](_0x2660a1);}return _0x4df4d7[_0xc16999(0x241)]('');},'parse':function(_0x2f6beb){const _0x20498b=_0x2bb7b1;var _0x2b93f6=_0x2f6beb['length'],_0x20b6c8=this[_0x20498b(0x3c2)],_0x114927=this[_0x20498b(0x5cb)];if(!_0x114927){_0x114927=this[_0x20498b(0x5cb)]=[];for(var _0x3079bb=0x0;_0x3079bb<_0x20b6c8[_0x20498b(0x530)];_0x3079bb++)_0x114927[_0x20b6c8['charCodeAt'](_0x3079bb)]=_0x3079bb;}var _0x4f17bb=_0x20b6c8['charAt'](0x40);if(_0x4f17bb){var _0x1870c0=_0x2f6beb['indexOf'](_0x4f17bb);_0x1870c0!==-0x1&&(_0x2b93f6=_0x1870c0);}return _0x51af72(_0x2f6beb,_0x2b93f6,_0x114927);},'_map':_0x2bb7b1(0x482)};function _0x51af72(_0x5351e7,_0x7c7bce,_0x51702c){const _0x1e84ff=_0x2bb7b1;for(var _0x2e1fbb=[],_0x24ff7a=0x0,_0x64f4a4=0x0;_0x64f4a4<_0x7c7bce;_0x64f4a4++)if(_0x64f4a4%0x4){var _0x505986=_0x51702c[_0x5351e7[_0x1e84ff(0x3b4)](_0x64f4a4-0x1)]<<_0x64f4a4%0x4*0x2,_0x5226ee=_0x51702c[_0x5351e7[_0x1e84ff(0x3b4)](_0x64f4a4)]>>>0x6-_0x64f4a4%0x4*0x2,_0x59097a=_0x505986|_0x5226ee;_0x2e1fbb[_0x24ff7a>>>0x2]|=_0x59097a<<0x18-_0x24ff7a%0x4*0x8,_0x24ff7a++;}return _0x9d0437[_0x1e84ff(0x4c5)](_0x2e1fbb,_0x24ff7a);}}()),_0x1c1c82[_0xb28be2(0x3e6)][_0xb28be2(0x220)];}));}(lt)),lt[_0x36c78e(0x5dd)];}var ht={'exports':{}},Gt;function ar(){const _0x20a98d=_0x4a9685;return Gt||(Gt=0x1,function(_0x2fba60,_0xbebd10){(function(_0x4c38d6,_0x5e3d58){_0x2fba60['exports']=_0x5e3d58(oe());}(X,function(_0x44fd49){const _0x164e18=_0x5f2c;return function(_0x53bd40){const _0x25b699=_0x5f2c;var _0x2d79af=_0x44fd49,_0x4e29d5=_0x2d79af[_0x25b699(0x18d)],_0x1b8b5d=_0x4e29d5[_0x25b699(0x2bc)],_0x4b1123=_0x4e29d5[_0x25b699(0x314)],_0x2ce341=_0x2d79af[_0x25b699(0x4bb)],_0x26af8c=[];(function(){const _0x5af54d=_0x25b699;for(var _0x5acf78=0x0;_0x5acf78<0x40;_0x5acf78++)_0x26af8c[_0x5acf78]=_0x53bd40['abs'](_0x53bd40[_0x5af54d(0x2c5)](_0x5acf78+0x1))*0x100000000|0x0;}());var _0x8790c6=_0x2ce341[_0x25b699(0x4e2)]=_0x4b1123[_0x25b699(0x3bb)]({'_doReset':function(){const _0xa63cf0=_0x25b699;this[_0xa63cf0(0x3f7)]=new _0x1b8b5d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4832f6,_0x1d8ea0){const _0x15e7fe=_0x25b699;for(var _0x24b9ed=0x0;_0x24b9ed<0x10;_0x24b9ed++){var _0x208946=_0x1d8ea0+_0x24b9ed,_0x31bcca=_0x4832f6[_0x208946];_0x4832f6[_0x208946]=(_0x31bcca<<0x8|_0x31bcca>>>0x18)&0xff00ff|(_0x31bcca<<0x18|_0x31bcca>>>0x8)&0xff00ff00;}var _0x51a61b=this[_0x15e7fe(0x3f7)]['words'],_0x349055=_0x4832f6[_0x1d8ea0+0x0],_0x469da0=_0x4832f6[_0x1d8ea0+0x1],_0x5aef62=_0x4832f6[_0x1d8ea0+0x2],_0x37a1bd=_0x4832f6[_0x1d8ea0+0x3],_0x59d26e=_0x4832f6[_0x1d8ea0+0x4],_0x3b0e28=_0x4832f6[_0x1d8ea0+0x5],_0x58de18=_0x4832f6[_0x1d8ea0+0x6],_0x25e9a6=_0x4832f6[_0x1d8ea0+0x7],_0x11f3a0=_0x4832f6[_0x1d8ea0+0x8],_0x18b8db=_0x4832f6[_0x1d8ea0+0x9],_0x2dd31b=_0x4832f6[_0x1d8ea0+0xa],_0x1a734f=_0x4832f6[_0x1d8ea0+0xb],_0x548be8=_0x4832f6[_0x1d8ea0+0xc],_0x325ff3=_0x4832f6[_0x1d8ea0+0xd],_0x31e6f0=_0x4832f6[_0x1d8ea0+0xe],_0xe0cab2=_0x4832f6[_0x1d8ea0+0xf],_0x139ef4=_0x51a61b[0x0],_0x34a64c=_0x51a61b[0x1],_0x34373b=_0x51a61b[0x2],_0x5ca88b=_0x51a61b[0x3];_0x139ef4=_0x24eb0d(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x349055,0x7,_0x26af8c[0x0]),_0x5ca88b=_0x24eb0d(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x469da0,0xc,_0x26af8c[0x1]),_0x34373b=_0x24eb0d(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x5aef62,0x11,_0x26af8c[0x2]),_0x34a64c=_0x24eb0d(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x37a1bd,0x16,_0x26af8c[0x3]),_0x139ef4=_0x24eb0d(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x59d26e,0x7,_0x26af8c[0x4]),_0x5ca88b=_0x24eb0d(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x3b0e28,0xc,_0x26af8c[0x5]),_0x34373b=_0x24eb0d(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x58de18,0x11,_0x26af8c[0x6]),_0x34a64c=_0x24eb0d(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x25e9a6,0x16,_0x26af8c[0x7]),_0x139ef4=_0x24eb0d(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x11f3a0,0x7,_0x26af8c[0x8]),_0x5ca88b=_0x24eb0d(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x18b8db,0xc,_0x26af8c[0x9]),_0x34373b=_0x24eb0d(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x2dd31b,0x11,_0x26af8c[0xa]),_0x34a64c=_0x24eb0d(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x1a734f,0x16,_0x26af8c[0xb]),_0x139ef4=_0x24eb0d(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x548be8,0x7,_0x26af8c[0xc]),_0x5ca88b=_0x24eb0d(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x325ff3,0xc,_0x26af8c[0xd]),_0x34373b=_0x24eb0d(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x31e6f0,0x11,_0x26af8c[0xe]),_0x34a64c=_0x24eb0d(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0xe0cab2,0x16,_0x26af8c[0xf]),_0x139ef4=_0x337a06(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x469da0,0x5,_0x26af8c[0x10]),_0x5ca88b=_0x337a06(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x58de18,0x9,_0x26af8c[0x11]),_0x34373b=_0x337a06(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x1a734f,0xe,_0x26af8c[0x12]),_0x34a64c=_0x337a06(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x349055,0x14,_0x26af8c[0x13]),_0x139ef4=_0x337a06(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x3b0e28,0x5,_0x26af8c[0x14]),_0x5ca88b=_0x337a06(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x2dd31b,0x9,_0x26af8c[0x15]),_0x34373b=_0x337a06(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0xe0cab2,0xe,_0x26af8c[0x16]),_0x34a64c=_0x337a06(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x59d26e,0x14,_0x26af8c[0x17]),_0x139ef4=_0x337a06(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x18b8db,0x5,_0x26af8c[0x18]),_0x5ca88b=_0x337a06(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x31e6f0,0x9,_0x26af8c[0x19]),_0x34373b=_0x337a06(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x37a1bd,0xe,_0x26af8c[0x1a]),_0x34a64c=_0x337a06(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x11f3a0,0x14,_0x26af8c[0x1b]),_0x139ef4=_0x337a06(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x325ff3,0x5,_0x26af8c[0x1c]),_0x5ca88b=_0x337a06(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x5aef62,0x9,_0x26af8c[0x1d]),_0x34373b=_0x337a06(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x25e9a6,0xe,_0x26af8c[0x1e]),_0x34a64c=_0x337a06(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x548be8,0x14,_0x26af8c[0x1f]),_0x139ef4=_0x3fbdd7(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x3b0e28,0x4,_0x26af8c[0x20]),_0x5ca88b=_0x3fbdd7(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x11f3a0,0xb,_0x26af8c[0x21]),_0x34373b=_0x3fbdd7(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x1a734f,0x10,_0x26af8c[0x22]),_0x34a64c=_0x3fbdd7(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x31e6f0,0x17,_0x26af8c[0x23]),_0x139ef4=_0x3fbdd7(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x469da0,0x4,_0x26af8c[0x24]),_0x5ca88b=_0x3fbdd7(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x59d26e,0xb,_0x26af8c[0x25]),_0x34373b=_0x3fbdd7(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x25e9a6,0x10,_0x26af8c[0x26]),_0x34a64c=_0x3fbdd7(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x2dd31b,0x17,_0x26af8c[0x27]),_0x139ef4=_0x3fbdd7(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x325ff3,0x4,_0x26af8c[0x28]),_0x5ca88b=_0x3fbdd7(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x349055,0xb,_0x26af8c[0x29]),_0x34373b=_0x3fbdd7(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x37a1bd,0x10,_0x26af8c[0x2a]),_0x34a64c=_0x3fbdd7(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x58de18,0x17,_0x26af8c[0x2b]),_0x139ef4=_0x3fbdd7(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x18b8db,0x4,_0x26af8c[0x2c]),_0x5ca88b=_0x3fbdd7(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x548be8,0xb,_0x26af8c[0x2d]),_0x34373b=_0x3fbdd7(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0xe0cab2,0x10,_0x26af8c[0x2e]),_0x34a64c=_0x3fbdd7(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x5aef62,0x17,_0x26af8c[0x2f]),_0x139ef4=_0x547cf5(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x349055,0x6,_0x26af8c[0x30]),_0x5ca88b=_0x547cf5(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x25e9a6,0xa,_0x26af8c[0x31]),_0x34373b=_0x547cf5(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x31e6f0,0xf,_0x26af8c[0x32]),_0x34a64c=_0x547cf5(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x3b0e28,0x15,_0x26af8c[0x33]),_0x139ef4=_0x547cf5(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x548be8,0x6,_0x26af8c[0x34]),_0x5ca88b=_0x547cf5(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x37a1bd,0xa,_0x26af8c[0x35]),_0x34373b=_0x547cf5(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x2dd31b,0xf,_0x26af8c[0x36]),_0x34a64c=_0x547cf5(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x469da0,0x15,_0x26af8c[0x37]),_0x139ef4=_0x547cf5(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x11f3a0,0x6,_0x26af8c[0x38]),_0x5ca88b=_0x547cf5(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0xe0cab2,0xa,_0x26af8c[0x39]),_0x34373b=_0x547cf5(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x58de18,0xf,_0x26af8c[0x3a]),_0x34a64c=_0x547cf5(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x325ff3,0x15,_0x26af8c[0x3b]),_0x139ef4=_0x547cf5(_0x139ef4,_0x34a64c,_0x34373b,_0x5ca88b,_0x59d26e,0x6,_0x26af8c[0x3c]),_0x5ca88b=_0x547cf5(_0x5ca88b,_0x139ef4,_0x34a64c,_0x34373b,_0x1a734f,0xa,_0x26af8c[0x3d]),_0x34373b=_0x547cf5(_0x34373b,_0x5ca88b,_0x139ef4,_0x34a64c,_0x5aef62,0xf,_0x26af8c[0x3e]),_0x34a64c=_0x547cf5(_0x34a64c,_0x34373b,_0x5ca88b,_0x139ef4,_0x18b8db,0x15,_0x26af8c[0x3f]),_0x51a61b[0x0]=_0x51a61b[0x0]+_0x139ef4|0x0,_0x51a61b[0x1]=_0x51a61b[0x1]+_0x34a64c|0x0,_0x51a61b[0x2]=_0x51a61b[0x2]+_0x34373b|0x0,_0x51a61b[0x3]=_0x51a61b[0x3]+_0x5ca88b|0x0;},'_doFinalize':function(){const _0x1be980=_0x25b699;var _0x57dae9=this[_0x1be980(0x225)],_0x15a20a=_0x57dae9[_0x1be980(0x155)],_0x1bed08=this['_nDataBytes']*0x8,_0x4be219=_0x57dae9[_0x1be980(0x3a6)]*0x8;_0x15a20a[_0x4be219>>>0x5]|=0x80<<0x18-_0x4be219%0x20;var _0x28e8a2=_0x53bd40[_0x1be980(0x1d0)](_0x1bed08/0x100000000),_0x293ba0=_0x1bed08;_0x15a20a[(_0x4be219+0x40>>>0x9<<0x4)+0xf]=(_0x28e8a2<<0x8|_0x28e8a2>>>0x18)&0xff00ff|(_0x28e8a2<<0x18|_0x28e8a2>>>0x8)&0xff00ff00,_0x15a20a[(_0x4be219+0x40>>>0x9<<0x4)+0xe]=(_0x293ba0<<0x8|_0x293ba0>>>0x18)&0xff00ff|(_0x293ba0<<0x18|_0x293ba0>>>0x8)&0xff00ff00,_0x57dae9[_0x1be980(0x3a6)]=(_0x15a20a[_0x1be980(0x530)]+0x1)*0x4,this[_0x1be980(0x380)]();for(var _0x10f2c0=this[_0x1be980(0x3f7)],_0x44d059=_0x10f2c0['words'],_0x5b8686=0x0;_0x5b8686<0x4;_0x5b8686++){var _0x36933a=_0x44d059[_0x5b8686];_0x44d059[_0x5b8686]=(_0x36933a<<0x8|_0x36933a>>>0x18)&0xff00ff|(_0x36933a<<0x18|_0x36933a>>>0x8)&0xff00ff00;}return _0x10f2c0;},'clone':function(){const _0x29180f=_0x25b699;var _0x37dc7c=_0x4b1123[_0x29180f(0x1c6)][_0x29180f(0x20c)](this);return _0x37dc7c[_0x29180f(0x3f7)]=this[_0x29180f(0x3f7)]['clone'](),_0x37dc7c;}});function _0x24eb0d(_0x2f0d7c,_0x33a419,_0x55bed2,_0xf9edc7,_0x6fd2e9,_0x2812d1,_0x50473b){var _0x3f28c4=_0x2f0d7c+(_0x33a419&_0x55bed2|~_0x33a419&_0xf9edc7)+_0x6fd2e9+_0x50473b;return(_0x3f28c4<<_0x2812d1|_0x3f28c4>>>0x20-_0x2812d1)+_0x33a419;}function _0x337a06(_0x25bd68,_0x948fa,_0x3ec39c,_0x19f722,_0x15fe5e,_0xd6278e,_0x313b18){var _0x5c8a7d=_0x25bd68+(_0x948fa&_0x19f722|_0x3ec39c&~_0x19f722)+_0x15fe5e+_0x313b18;return(_0x5c8a7d<<_0xd6278e|_0x5c8a7d>>>0x20-_0xd6278e)+_0x948fa;}function _0x3fbdd7(_0x4b0b59,_0x4906ff,_0x29e131,_0x1ad888,_0x38cd6f,_0x2457f2,_0x1072a5){var _0x2aa4e9=_0x4b0b59+(_0x4906ff^_0x29e131^_0x1ad888)+_0x38cd6f+_0x1072a5;return(_0x2aa4e9<<_0x2457f2|_0x2aa4e9>>>0x20-_0x2457f2)+_0x4906ff;}function _0x547cf5(_0x5214f9,_0x5cf8a9,_0x2a6eee,_0x39e496,_0x5c86e1,_0xee06aa,_0x177fe4){var _0x579308=_0x5214f9+(_0x2a6eee^(_0x5cf8a9|~_0x39e496))+_0x5c86e1+_0x177fe4;return(_0x579308<<_0xee06aa|_0x579308>>>0x20-_0xee06aa)+_0x5cf8a9;}_0x2d79af[_0x25b699(0x4e2)]=_0x4b1123[_0x25b699(0x2f6)](_0x8790c6),_0x2d79af['HmacMD5']=_0x4b1123['_createHmacHelper'](_0x8790c6);}(Math),_0x44fd49[_0x164e18(0x4e2)];}));}(ht)),ht[_0x20a98d(0x5dd)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){return Yt||(Yt=0x1,function(_0x2bcfc9,_0x3bd4a9){(function(_0x13b15b,_0x142c79){const _0x541b49=_0x5f2c;_0x2bcfc9[_0x541b49(0x5dd)]=_0x142c79(oe());}(X,function(_0xeb114){const _0xf92009=_0x5f2c;return(function(){const _0x163a46=_0x5f2c;var _0x1f8306=_0xeb114,_0x5e37dc=_0x1f8306[_0x163a46(0x18d)],_0xbdd5bf=_0x5e37dc[_0x163a46(0x2bc)],_0x4c9f1a=_0x5e37dc[_0x163a46(0x314)],_0xafeb03=_0x1f8306[_0x163a46(0x4bb)],_0x5cf4c0=[],_0x2bb2ed=_0xafeb03[_0x163a46(0x159)]=_0x4c9f1a[_0x163a46(0x3bb)]({'_doReset':function(){const _0x32bc12=_0x163a46;this[_0x32bc12(0x3f7)]=new _0xbdd5bf[(_0x32bc12(0x432))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3d9b8d,_0x559e27){const _0x2a1f10=_0x163a46;for(var _0x3c99f9=this[_0x2a1f10(0x3f7)][_0x2a1f10(0x155)],_0x530459=_0x3c99f9[0x0],_0x40bf66=_0x3c99f9[0x1],_0x409d24=_0x3c99f9[0x2],_0xcbf88c=_0x3c99f9[0x3],_0x593997=_0x3c99f9[0x4],_0x4f3864=0x0;_0x4f3864<0x50;_0x4f3864++){if(_0x4f3864<0x10)_0x5cf4c0[_0x4f3864]=_0x3d9b8d[_0x559e27+_0x4f3864]|0x0;else{var _0x238314=_0x5cf4c0[_0x4f3864-0x3]^_0x5cf4c0[_0x4f3864-0x8]^_0x5cf4c0[_0x4f3864-0xe]^_0x5cf4c0[_0x4f3864-0x10];_0x5cf4c0[_0x4f3864]=_0x238314<<0x1|_0x238314>>>0x1f;}var _0x3081b3=(_0x530459<<0x5|_0x530459>>>0x1b)+_0x593997+_0x5cf4c0[_0x4f3864];_0x4f3864<0x14?_0x3081b3+=(_0x40bf66&_0x409d24|~_0x40bf66&_0xcbf88c)+0x5a827999:_0x4f3864<0x28?_0x3081b3+=(_0x40bf66^_0x409d24^_0xcbf88c)+0x6ed9eba1:_0x4f3864<0x3c?_0x3081b3+=(_0x40bf66&_0x409d24|_0x40bf66&_0xcbf88c|_0x409d24&_0xcbf88c)-0x70e44324:_0x3081b3+=(_0x40bf66^_0x409d24^_0xcbf88c)-0x359d3e2a,_0x593997=_0xcbf88c,_0xcbf88c=_0x409d24,_0x409d24=_0x40bf66<<0x1e|_0x40bf66>>>0x2,_0x40bf66=_0x530459,_0x530459=_0x3081b3;}_0x3c99f9[0x0]=_0x3c99f9[0x0]+_0x530459|0x0,_0x3c99f9[0x1]=_0x3c99f9[0x1]+_0x40bf66|0x0,_0x3c99f9[0x2]=_0x3c99f9[0x2]+_0x409d24|0x0,_0x3c99f9[0x3]=_0x3c99f9[0x3]+_0xcbf88c|0x0,_0x3c99f9[0x4]=_0x3c99f9[0x4]+_0x593997|0x0;},'_doFinalize':function(){const _0xc28955=_0x163a46;var _0x1aa506=this['_data'],_0xb20b94=_0x1aa506[_0xc28955(0x155)],_0x4f1bb5=this[_0xc28955(0x46c)]*0x8,_0x3b57cc=_0x1aa506[_0xc28955(0x3a6)]*0x8;return _0xb20b94[_0x3b57cc>>>0x5]|=0x80<<0x18-_0x3b57cc%0x20,_0xb20b94[(_0x3b57cc+0x40>>>0x9<<0x4)+0xe]=Math[_0xc28955(0x1d0)](_0x4f1bb5/0x100000000),_0xb20b94[(_0x3b57cc+0x40>>>0x9<<0x4)+0xf]=_0x4f1bb5,_0x1aa506['sigBytes']=_0xb20b94[_0xc28955(0x530)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x57bd38=_0x163a46;var _0x107ae7=_0x4c9f1a[_0x57bd38(0x1c6)][_0x57bd38(0x20c)](this);return _0x107ae7[_0x57bd38(0x3f7)]=this[_0x57bd38(0x3f7)]['clone'](),_0x107ae7;}});_0x1f8306['SHA1']=_0x4c9f1a['_createHelper'](_0x2bb2ed),_0x1f8306['HmacSHA1']=_0x4c9f1a[_0x163a46(0x355)](_0x2bb2ed);}()),_0xeb114[_0xf92009(0x159)];}));}(ut)),ut['exports'];}var dt={'exports':{}},Kt;function lr(){const _0x1bd0a8=_0x4a9685;return Kt||(Kt=0x1,function(_0x28a8b6,_0x57a1fd){(function(_0x4d8a6c,_0x1abf8c){const _0x44cbeb=_0x5f2c;_0x28a8b6[_0x44cbeb(0x5dd)]=_0x1abf8c(oe());}(X,function(_0x84886b){(function(){const _0x580322=_0x5f2c;var _0x5e15f0=_0x84886b,_0x345ed1=_0x5e15f0[_0x580322(0x18d)],_0x48bd86=_0x345ed1[_0x580322(0x1bd)],_0x4319ed=_0x5e15f0[_0x580322(0x3e6)],_0x2c7c91=_0x4319ed[_0x580322(0x289)],_0x515b60=_0x5e15f0[_0x580322(0x4bb)];_0x515b60[_0x580322(0x52a)]=_0x48bd86['extend']({'init':function(_0x4b9e51,_0x499542){const _0x121fc2=_0x580322;_0x4b9e51=this[_0x121fc2(0x141)]=new _0x4b9e51['init'](),typeof _0x499542==_0x121fc2(0x3b2)&&(_0x499542=_0x2c7c91[_0x121fc2(0x2af)](_0x499542));var _0x1e16d9=_0x4b9e51['blockSize'],_0x430db9=_0x1e16d9*0x4;_0x499542[_0x121fc2(0x3a6)]>_0x430db9&&(_0x499542=_0x4b9e51[_0x121fc2(0x36a)](_0x499542)),_0x499542['clamp']();for(var _0x4a2483=this[_0x121fc2(0x4a6)]=_0x499542['clone'](),_0x303fdb=this['_iKey']=_0x499542['clone'](),_0x1028bd=_0x4a2483[_0x121fc2(0x155)],_0x27b6a2=_0x303fdb[_0x121fc2(0x155)],_0x34ff0b=0x0;_0x34ff0b<_0x1e16d9;_0x34ff0b++)_0x1028bd[_0x34ff0b]^=0x5c5c5c5c,_0x27b6a2[_0x34ff0b]^=0x36363636;_0x4a2483[_0x121fc2(0x3a6)]=_0x303fdb[_0x121fc2(0x3a6)]=_0x430db9,this[_0x121fc2(0x149)]();},'reset':function(){const _0x1eee22=_0x580322;var _0x3f87bc=this[_0x1eee22(0x141)];_0x3f87bc['reset'](),_0x3f87bc['update'](this['_iKey']);},'update':function(_0x81d94b){const _0x2b5680=_0x580322;return this[_0x2b5680(0x141)][_0x2b5680(0x382)](_0x81d94b),this;},'finalize':function(_0x9ee063){const _0x203845=_0x580322;var _0x579b8f=this[_0x203845(0x141)],_0x464c23=_0x579b8f[_0x203845(0x36a)](_0x9ee063);_0x579b8f[_0x203845(0x149)]();var _0x3353d8=_0x579b8f[_0x203845(0x36a)](this[_0x203845(0x4a6)][_0x203845(0x1c6)]()['concat'](_0x464c23));return _0x3353d8;}});}());}));}(dt)),dt[_0x1bd0a8(0x5dd)];}var qt;function Dn(){const _0x2fb9c9=_0x4a9685;return qt||(qt=0x1,function(_0x5cafe9,_0x25d2fa){(function(_0x41a392,_0x15b5c4,_0xa984b3){_0x5cafe9['exports']=_0x15b5c4(oe(),cr(),lr());}(X,function(_0x3d94f9){const _0x3c1ea1=_0x5f2c;return(function(){const _0x184440=_0x5f2c;var _0x18a5c2=_0x3d94f9,_0x3bbd12=_0x18a5c2[_0x184440(0x18d)],_0x5d8954=_0x3bbd12['Base'],_0x3af7a8=_0x3bbd12['WordArray'],_0x27e6cd=_0x18a5c2[_0x184440(0x4bb)],_0xfbe86c=_0x27e6cd['MD5'],_0x4a2ba3=_0x27e6cd['EvpKDF']=_0x5d8954[_0x184440(0x3bb)]({'cfg':_0x5d8954['extend']({'keySize':0x80/0x20,'hasher':_0xfbe86c,'iterations':0x1}),'init':function(_0x4a53f4){const _0x4dcea1=_0x184440;this[_0x4dcea1(0x541)]=this['cfg'][_0x4dcea1(0x3bb)](_0x4a53f4);},'compute':function(_0x3b9615,_0x413107){const _0x4af8bf=_0x184440;for(var _0x392fb2,_0x5531a2=this[_0x4af8bf(0x541)],_0x4d35dc=_0x5531a2[_0x4af8bf(0x156)][_0x4af8bf(0x4c5)](),_0x49cd2d=_0x3af7a8[_0x4af8bf(0x4c5)](),_0x2ca635=_0x49cd2d[_0x4af8bf(0x155)],_0x1b6fc7=_0x5531a2[_0x4af8bf(0x3f1)],_0x38625c=_0x5531a2['iterations'];_0x2ca635['length']<_0x1b6fc7;){_0x392fb2&&_0x4d35dc[_0x4af8bf(0x382)](_0x392fb2),_0x392fb2=_0x4d35dc['update'](_0x3b9615)[_0x4af8bf(0x36a)](_0x413107),_0x4d35dc['reset']();for(var _0x562a15=0x1;_0x562a15<_0x38625c;_0x562a15++)_0x392fb2=_0x4d35dc[_0x4af8bf(0x36a)](_0x392fb2),_0x4d35dc['reset']();_0x49cd2d['concat'](_0x392fb2);}return _0x49cd2d[_0x4af8bf(0x3a6)]=_0x1b6fc7*0x4,_0x49cd2d;}});_0x18a5c2['EvpKDF']=function(_0x2f8266,_0x2d0e28,_0x36f4fd){const _0xe8ed72=_0x184440;return _0x4a2ba3[_0xe8ed72(0x4c5)](_0x36f4fd)['compute'](_0x2f8266,_0x2d0e28);};}()),_0x3d94f9[_0x3c1ea1(0x1a7)];}));}(_t)),_t[_0x2fb9c9(0x5dd)];}var ft={'exports':{}},zt;function wn(){const _0x282f53=_0x4a9685;return zt||(zt=0x1,function(_0x2f1f63,_0x232588){(function(_0x2e5627,_0x4f37a3,_0x4cf20b){const _0x222c24=_0x5f2c;_0x2f1f63[_0x222c24(0x5dd)]=_0x4f37a3(oe(),Dn());}(X,function(_0x73392e){const _0x546342=_0x5f2c;_0x73392e[_0x546342(0x18d)]['Cipher']||function(_0x2d756a){const _0x387a19=_0x546342;var _0x1e5b0a=_0x73392e,_0x380cc3=_0x1e5b0a[_0x387a19(0x18d)],_0x5aaf9b=_0x380cc3[_0x387a19(0x1bd)],_0x5caa13=_0x380cc3[_0x387a19(0x2bc)],_0x103b8a=_0x380cc3[_0x387a19(0x1ac)],_0x185711=_0x1e5b0a[_0x387a19(0x3e6)];_0x185711['Utf8'];var _0x4a505d=_0x185711['Base64'],_0x37672c=_0x1e5b0a['algo'],_0x3a7149=_0x37672c[_0x387a19(0x1a7)],_0x1379cf=_0x380cc3[_0x387a19(0x1df)]=_0x103b8a[_0x387a19(0x3bb)]({'cfg':_0x5aaf9b[_0x387a19(0x3bb)](),'createEncryptor':function(_0x5e83f6,_0x3ab844){const _0x31de89=_0x387a19;return this[_0x31de89(0x4c5)](this[_0x31de89(0x331)],_0x5e83f6,_0x3ab844);},'createDecryptor':function(_0x4910c3,_0x38926f){const _0x51f064=_0x387a19;return this['create'](this[_0x51f064(0x311)],_0x4910c3,_0x38926f);},'init':function(_0x34c37c,_0x373a68,_0x114dfc){const _0x50756f=_0x387a19;this['cfg']=this[_0x50756f(0x541)]['extend'](_0x114dfc),this[_0x50756f(0x302)]=_0x34c37c,this['_key']=_0x373a68,this[_0x50756f(0x149)]();},'reset':function(){const _0xb3f85a=_0x387a19;_0x103b8a[_0xb3f85a(0x149)][_0xb3f85a(0x20c)](this),this[_0xb3f85a(0x20f)]();},'process':function(_0x37bf17){const _0x713b42=_0x387a19;return this[_0x713b42(0x34b)](_0x37bf17),this[_0x713b42(0x380)]();},'finalize':function(_0x196006){const _0x461a41=_0x387a19;_0x196006&&this[_0x461a41(0x34b)](_0x196006);var _0x3d8434=this['_doFinalize']();return _0x3d8434;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x820f73(_0x21efd2){const _0x5f1a7b=_0x5f2c;return typeof _0x21efd2==_0x5f1a7b(0x3b2)?_0x2d31a6:_0x53b80d;}return function(_0xc60f01){return{'encrypt':function(_0xcfeb54,_0x4b239a,_0xf823fe){const _0x29fb61=_0x5f2c;return _0x820f73(_0x4b239a)[_0x29fb61(0x4e4)](_0xc60f01,_0xcfeb54,_0x4b239a,_0xf823fe);},'decrypt':function(_0x21ebf2,_0x46db9a,_0x3a71cb){return _0x820f73(_0x46db9a)['decrypt'](_0xc60f01,_0x21ebf2,_0x46db9a,_0x3a71cb);}};};}())});_0x380cc3[_0x387a19(0x4e3)]=_0x1379cf[_0x387a19(0x3bb)]({'_doFinalize':function(){const _0x2ae4e5=_0x387a19;var _0x404e27=this[_0x2ae4e5(0x380)](!0x0);return _0x404e27;},'blockSize':0x1});var _0x5e6787=_0x1e5b0a[_0x387a19(0x553)]={},_0x562035=_0x380cc3[_0x387a19(0x3ad)]=_0x5aaf9b['extend']({'createEncryptor':function(_0x2ebf42,_0x1fd59a){const _0x1f1c59=_0x387a19;return this[_0x1f1c59(0x35c)][_0x1f1c59(0x4c5)](_0x2ebf42,_0x1fd59a);},'createDecryptor':function(_0x711138,_0x384924){const _0x57e38e=_0x387a19;return this[_0x57e38e(0x1ee)][_0x57e38e(0x4c5)](_0x711138,_0x384924);},'init':function(_0x2fbf07,_0x83a969){const _0x2a4049=_0x387a19;this[_0x2a4049(0x1dc)]=_0x2fbf07,this[_0x2a4049(0x3d7)]=_0x83a969;}}),_0x44277=_0x5e6787[_0x387a19(0x21d)]=(function(){const _0x5cae72=_0x387a19;var _0x5deeea=_0x562035[_0x5cae72(0x3bb)]();_0x5deeea[_0x5cae72(0x35c)]=_0x5deeea[_0x5cae72(0x3bb)]({'processBlock':function(_0x340285,_0x5e78e4){const _0x4acdc9=_0x5cae72;var _0x159d2d=this[_0x4acdc9(0x1dc)],_0x400cbf=_0x159d2d[_0x4acdc9(0x502)];_0x1c3b25[_0x4acdc9(0x20c)](this,_0x340285,_0x5e78e4,_0x400cbf),_0x159d2d[_0x4acdc9(0x2f5)](_0x340285,_0x5e78e4),this[_0x4acdc9(0x561)]=_0x340285[_0x4acdc9(0x2f2)](_0x5e78e4,_0x5e78e4+_0x400cbf);}}),_0x5deeea[_0x5cae72(0x1ee)]=_0x5deeea[_0x5cae72(0x3bb)]({'processBlock':function(_0x4e5f09,_0xae41a6){const _0x413442=_0x5cae72;var _0x25bd34=this[_0x413442(0x1dc)],_0x1d080f=_0x25bd34['blockSize'],_0x3086df=_0x4e5f09['slice'](_0xae41a6,_0xae41a6+_0x1d080f);_0x25bd34[_0x413442(0x40b)](_0x4e5f09,_0xae41a6),_0x1c3b25[_0x413442(0x20c)](this,_0x4e5f09,_0xae41a6,_0x1d080f),this['_prevBlock']=_0x3086df;}});function _0x1c3b25(_0x4e464d,_0x85ea5c,_0x44cd40){const _0x25424e=_0x5cae72;var _0x1c9f2e,_0x4968a4=this[_0x25424e(0x3d7)];_0x4968a4?(_0x1c9f2e=_0x4968a4,this[_0x25424e(0x3d7)]=_0x2d756a):_0x1c9f2e=this[_0x25424e(0x561)];for(var _0x50cb1f=0x0;_0x50cb1f<_0x44cd40;_0x50cb1f++)_0x4e464d[_0x85ea5c+_0x50cb1f]^=_0x1c9f2e[_0x50cb1f];}return _0x5deeea;}()),_0x5eb087=_0x1e5b0a[_0x387a19(0x5b1)]={},_0x57ea9f=_0x5eb087['Pkcs7']={'pad':function(_0x179095,_0x2a3259){const _0x60c97f=_0x387a19;for(var _0x2db20f=_0x2a3259*0x4,_0xe3ece9=_0x2db20f-_0x179095[_0x60c97f(0x3a6)]%_0x2db20f,_0x2005bf=_0xe3ece9<<0x18|_0xe3ece9<<0x10|_0xe3ece9<<0x8|_0xe3ece9,_0x242dd2=[],_0x2c55bd=0x0;_0x2c55bd<_0xe3ece9;_0x2c55bd+=0x4)_0x242dd2['push'](_0x2005bf);var _0x2d4645=_0x5caa13[_0x60c97f(0x4c5)](_0x242dd2,_0xe3ece9);_0x179095[_0x60c97f(0x407)](_0x2d4645);},'unpad':function(_0x34300b){const _0x231f2d=_0x387a19;var _0x353e04=_0x34300b[_0x231f2d(0x155)][_0x34300b['sigBytes']-0x1>>>0x2]&0xff;_0x34300b[_0x231f2d(0x3a6)]-=_0x353e04;}};_0x380cc3[_0x387a19(0x37f)]=_0x1379cf[_0x387a19(0x3bb)]({'cfg':_0x1379cf[_0x387a19(0x541)][_0x387a19(0x3bb)]({'mode':_0x44277,'padding':_0x57ea9f}),'reset':function(){const _0x336508=_0x387a19;var _0x227447;_0x1379cf['reset'][_0x336508(0x20c)](this);var _0x40effa=this[_0x336508(0x541)],_0x403706=_0x40effa['iv'],_0x43d2e5=_0x40effa[_0x336508(0x553)];this['_xformMode']==this[_0x336508(0x331)]?_0x227447=_0x43d2e5[_0x336508(0x50c)]:(_0x227447=_0x43d2e5[_0x336508(0x455)],this['_minBufferSize']=0x1),this[_0x336508(0x3db)]&&this[_0x336508(0x3db)]['__creator']==_0x227447?this[_0x336508(0x3db)][_0x336508(0x432)](this,_0x403706&&_0x403706['words']):(this['_mode']=_0x227447[_0x336508(0x20c)](_0x43d2e5,this,_0x403706&&_0x403706[_0x336508(0x155)]),this[_0x336508(0x3db)][_0x336508(0x412)]=_0x227447);},'_doProcessBlock':function(_0x1649cc,_0x1f326f){const _0xe8cb6b=_0x387a19;this['_mode'][_0xe8cb6b(0x49d)](_0x1649cc,_0x1f326f);},'_doFinalize':function(){const _0x21cd2e=_0x387a19;var _0x5ad09b,_0x4d439a=this[_0x21cd2e(0x541)][_0x21cd2e(0x22e)];return this[_0x21cd2e(0x302)]==this['_ENC_XFORM_MODE']?(_0x4d439a['pad'](this['_data'],this[_0x21cd2e(0x502)]),_0x5ad09b=this[_0x21cd2e(0x380)](!0x0)):(_0x5ad09b=this[_0x21cd2e(0x380)](!0x0),_0x4d439a['unpad'](_0x5ad09b)),_0x5ad09b;},'blockSize':0x80/0x20});var _0x3d67d5=_0x380cc3[_0x387a19(0x37d)]=_0x5aaf9b['extend']({'init':function(_0x447257){const _0x245950=_0x387a19;this[_0x245950(0x57f)](_0x447257);},'toString':function(_0x449218){const _0x1e5111=_0x387a19;return(_0x449218||this[_0x1e5111(0x5b7)])[_0x1e5111(0x2d1)](this);}}),_0x2ead2e=_0x1e5b0a[_0x387a19(0x2be)]={},_0x3ea591=_0x2ead2e[_0x387a19(0x21c)]={'stringify':function(_0x1b0473){const _0x4846e2=_0x387a19;var _0x4c1dd1,_0x12f063=_0x1b0473[_0x4846e2(0x591)],_0x2c6f9f=_0x1b0473[_0x4846e2(0x5f5)];return _0x2c6f9f?_0x4c1dd1=_0x5caa13['create']([0x53616c74,0x65645f5f])['concat'](_0x2c6f9f)['concat'](_0x12f063):_0x4c1dd1=_0x12f063,_0x4c1dd1['toString'](_0x4a505d);},'parse':function(_0x97b230){const _0x243fda=_0x387a19;var _0x39c6d9,_0x2f41e9=_0x4a505d[_0x243fda(0x2af)](_0x97b230),_0x5bd4f5=_0x2f41e9[_0x243fda(0x155)];return _0x5bd4f5[0x0]==0x53616c74&&_0x5bd4f5[0x1]==0x65645f5f&&(_0x39c6d9=_0x5caa13['create'](_0x5bd4f5[_0x243fda(0x2f2)](0x2,0x4)),_0x5bd4f5[_0x243fda(0x1e2)](0x0,0x4),_0x2f41e9['sigBytes']-=0x10),_0x3d67d5[_0x243fda(0x4c5)]({'ciphertext':_0x2f41e9,'salt':_0x39c6d9});}},_0x53b80d=_0x380cc3[_0x387a19(0x39d)]=_0x5aaf9b[_0x387a19(0x3bb)]({'cfg':_0x5aaf9b['extend']({'format':_0x3ea591}),'encrypt':function(_0x4ab7df,_0x36f219,_0x2d52bc,_0xeb0a0){const _0x2d30cf=_0x387a19;_0xeb0a0=this[_0x2d30cf(0x541)][_0x2d30cf(0x3bb)](_0xeb0a0);var _0x2405e9=_0x4ab7df[_0x2d30cf(0x50c)](_0x2d52bc,_0xeb0a0),_0x421ebc=_0x2405e9['finalize'](_0x36f219),_0x523dd9=_0x2405e9[_0x2d30cf(0x541)];return _0x3d67d5[_0x2d30cf(0x4c5)]({'ciphertext':_0x421ebc,'key':_0x2d52bc,'iv':_0x523dd9['iv'],'algorithm':_0x4ab7df,'mode':_0x523dd9[_0x2d30cf(0x553)],'padding':_0x523dd9['padding'],'blockSize':_0x4ab7df['blockSize'],'formatter':_0xeb0a0[_0x2d30cf(0x2be)]});},'decrypt':function(_0x28a459,_0x8f64f2,_0x5cfcb9,_0x583e5e){const _0x415481=_0x387a19;_0x583e5e=this[_0x415481(0x541)]['extend'](_0x583e5e),_0x8f64f2=this['_parse'](_0x8f64f2,_0x583e5e['format']);var _0x34cfad=_0x28a459[_0x415481(0x455)](_0x5cfcb9,_0x583e5e)['finalize'](_0x8f64f2['ciphertext']);return _0x34cfad;},'_parse':function(_0x381be1,_0x38db67){const _0x259f86=_0x387a19;return typeof _0x381be1==_0x259f86(0x3b2)?_0x38db67[_0x259f86(0x2af)](_0x381be1,this):_0x381be1;}}),_0x51f750=_0x1e5b0a['kdf']={},_0x56f262=_0x51f750['OpenSSL']={'execute':function(_0x31c94f,_0x764ccb,_0x4a7922,_0xddb030,_0x3cbacf){const _0x52bb18=_0x387a19;if(_0xddb030||(_0xddb030=_0x5caa13[_0x52bb18(0x588)](0x40/0x8)),_0x3cbacf)var _0x217cee=_0x3a7149[_0x52bb18(0x4c5)]({'keySize':_0x764ccb+_0x4a7922,'hasher':_0x3cbacf})[_0x52bb18(0x192)](_0x31c94f,_0xddb030);else var _0x217cee=_0x3a7149['create']({'keySize':_0x764ccb+_0x4a7922})[_0x52bb18(0x192)](_0x31c94f,_0xddb030);var _0x5ebb0c=_0x5caa13[_0x52bb18(0x4c5)](_0x217cee[_0x52bb18(0x155)][_0x52bb18(0x2f2)](_0x764ccb),_0x4a7922*0x4);return _0x217cee[_0x52bb18(0x3a6)]=_0x764ccb*0x4,_0x3d67d5[_0x52bb18(0x4c5)]({'key':_0x217cee,'iv':_0x5ebb0c,'salt':_0xddb030});}},_0x2d31a6=_0x380cc3[_0x387a19(0x507)]=_0x53b80d[_0x387a19(0x3bb)]({'cfg':_0x53b80d[_0x387a19(0x541)][_0x387a19(0x3bb)]({'kdf':_0x56f262}),'encrypt':function(_0x36b88a,_0x309e0c,_0x4fad00,_0x140c7b){const _0x33adbb=_0x387a19;_0x140c7b=this[_0x33adbb(0x541)][_0x33adbb(0x3bb)](_0x140c7b);var _0x31053a=_0x140c7b['kdf'][_0x33adbb(0x39a)](_0x4fad00,_0x36b88a[_0x33adbb(0x3f1)],_0x36b88a[_0x33adbb(0x313)],_0x140c7b[_0x33adbb(0x5f5)],_0x140c7b[_0x33adbb(0x156)]);_0x140c7b['iv']=_0x31053a['iv'];var _0x6220da=_0x53b80d['encrypt'][_0x33adbb(0x20c)](this,_0x36b88a,_0x309e0c,_0x31053a[_0x33adbb(0x303)],_0x140c7b);return _0x6220da['mixIn'](_0x31053a),_0x6220da;},'decrypt':function(_0x3c8bc0,_0xd0ac71,_0x2c3721,_0x46a4f1){const _0x23467c=_0x387a19;_0x46a4f1=this['cfg']['extend'](_0x46a4f1),_0xd0ac71=this[_0x23467c(0x4d5)](_0xd0ac71,_0x46a4f1[_0x23467c(0x2be)]);var _0x52ccd1=_0x46a4f1[_0x23467c(0x4dc)]['execute'](_0x2c3721,_0x3c8bc0[_0x23467c(0x3f1)],_0x3c8bc0[_0x23467c(0x313)],_0xd0ac71[_0x23467c(0x5f5)],_0x46a4f1['hasher']);_0x46a4f1['iv']=_0x52ccd1['iv'];var _0x1f1d18=_0x53b80d[_0x23467c(0x4cb)][_0x23467c(0x20c)](this,_0x3c8bc0,_0xd0ac71,_0x52ccd1[_0x23467c(0x303)],_0x46a4f1);return _0x1f1d18;}});}();}));}(ft)),ft[_0x282f53(0x5dd)];}(function(_0x5a3f30,_0x1167c5){(function(_0x5a02c5,_0x506710,_0x1ad8ea){_0x5a3f30['exports']=_0x506710(oe(),On(),ar(),Dn(),wn());}(X,function(_0x37537c){const _0x46a34e=_0x5f2c;return(function(){const _0x4e1ef1=_0x5f2c;var _0x16ee4a=_0x37537c,_0x167850=_0x16ee4a[_0x4e1ef1(0x18d)],_0x5296df=_0x167850[_0x4e1ef1(0x37f)],_0x57f608=_0x16ee4a[_0x4e1ef1(0x4bb)],_0xbf0193=[],_0x43e1ea=[],_0x3c3462=[],_0x213f3c=[],_0x5b8696=[],_0x5089b1=[],_0x955351=[],_0x188899=[],_0x55e119=[],_0x21cc1a=[];(function(){for(var _0x10247c=[],_0x3e6359=0x0;_0x3e6359<0x100;_0x3e6359++)_0x3e6359<0x80?_0x10247c[_0x3e6359]=_0x3e6359<<0x1:_0x10247c[_0x3e6359]=_0x3e6359<<0x1^0x11b;for(var _0x5be012=0x0,_0x3554d7=0x0,_0x3e6359=0x0;_0x3e6359<0x100;_0x3e6359++){var _0x1629fc=_0x3554d7^_0x3554d7<<0x1^_0x3554d7<<0x2^_0x3554d7<<0x3^_0x3554d7<<0x4;_0x1629fc=_0x1629fc>>>0x8^_0x1629fc&0xff^0x63,_0xbf0193[_0x5be012]=_0x1629fc,_0x43e1ea[_0x1629fc]=_0x5be012;var _0x359d71=_0x10247c[_0x5be012],_0x362857=_0x10247c[_0x359d71],_0x2352f1=_0x10247c[_0x362857],_0x5c4371=_0x10247c[_0x1629fc]*0x101^_0x1629fc*0x1010100;_0x3c3462[_0x5be012]=_0x5c4371<<0x18|_0x5c4371>>>0x8,_0x213f3c[_0x5be012]=_0x5c4371<<0x10|_0x5c4371>>>0x10,_0x5b8696[_0x5be012]=_0x5c4371<<0x8|_0x5c4371>>>0x18,_0x5089b1[_0x5be012]=_0x5c4371;var _0x5c4371=_0x2352f1*0x1010101^_0x362857*0x10001^_0x359d71*0x101^_0x5be012*0x1010100;_0x955351[_0x1629fc]=_0x5c4371<<0x18|_0x5c4371>>>0x8,_0x188899[_0x1629fc]=_0x5c4371<<0x10|_0x5c4371>>>0x10,_0x55e119[_0x1629fc]=_0x5c4371<<0x8|_0x5c4371>>>0x18,_0x21cc1a[_0x1629fc]=_0x5c4371,_0x5be012?(_0x5be012=_0x359d71^_0x10247c[_0x10247c[_0x10247c[_0x2352f1^_0x359d71]]],_0x3554d7^=_0x10247c[_0x10247c[_0x3554d7]]):_0x5be012=_0x3554d7=0x1;}}());var _0x1ccca5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x111a5a=_0x57f608[_0x4e1ef1(0x222)]=_0x5296df[_0x4e1ef1(0x3bb)]({'_doReset':function(){const _0x39e372=_0x4e1ef1;var _0x3daa8f;if(!(this[_0x39e372(0x49f)]&&this[_0x39e372(0x5c0)]===this[_0x39e372(0x51a)])){for(var _0x5078a8=this[_0x39e372(0x5c0)]=this[_0x39e372(0x51a)],_0x306367=_0x5078a8[_0x39e372(0x155)],_0x246d47=_0x5078a8[_0x39e372(0x3a6)]/0x4,_0x415c2f=this[_0x39e372(0x49f)]=_0x246d47+0x6,_0x5dc488=(_0x415c2f+0x1)*0x4,_0x416a3a=this[_0x39e372(0x309)]=[],_0x52a99c=0x0;_0x52a99c<_0x5dc488;_0x52a99c++)_0x52a99c<_0x246d47?_0x416a3a[_0x52a99c]=_0x306367[_0x52a99c]:(_0x3daa8f=_0x416a3a[_0x52a99c-0x1],_0x52a99c%_0x246d47?_0x246d47>0x6&&_0x52a99c%_0x246d47==0x4&&(_0x3daa8f=_0xbf0193[_0x3daa8f>>>0x18]<<0x18|_0xbf0193[_0x3daa8f>>>0x10&0xff]<<0x10|_0xbf0193[_0x3daa8f>>>0x8&0xff]<<0x8|_0xbf0193[_0x3daa8f&0xff]):(_0x3daa8f=_0x3daa8f<<0x8|_0x3daa8f>>>0x18,_0x3daa8f=_0xbf0193[_0x3daa8f>>>0x18]<<0x18|_0xbf0193[_0x3daa8f>>>0x10&0xff]<<0x10|_0xbf0193[_0x3daa8f>>>0x8&0xff]<<0x8|_0xbf0193[_0x3daa8f&0xff],_0x3daa8f^=_0x1ccca5[_0x52a99c/_0x246d47|0x0]<<0x18),_0x416a3a[_0x52a99c]=_0x416a3a[_0x52a99c-_0x246d47]^_0x3daa8f);for(var _0x289239=this[_0x39e372(0x54e)]=[],_0x2191e7=0x0;_0x2191e7<_0x5dc488;_0x2191e7++){var _0x52a99c=_0x5dc488-_0x2191e7;if(_0x2191e7%0x4)var _0x3daa8f=_0x416a3a[_0x52a99c];else var _0x3daa8f=_0x416a3a[_0x52a99c-0x4];_0x2191e7<0x4||_0x52a99c<=0x4?_0x289239[_0x2191e7]=_0x3daa8f:_0x289239[_0x2191e7]=_0x955351[_0xbf0193[_0x3daa8f>>>0x18]]^_0x188899[_0xbf0193[_0x3daa8f>>>0x10&0xff]]^_0x55e119[_0xbf0193[_0x3daa8f>>>0x8&0xff]]^_0x21cc1a[_0xbf0193[_0x3daa8f&0xff]];}}},'encryptBlock':function(_0x282e71,_0x5c55f5){const _0x1d40a1=_0x4e1ef1;this[_0x1d40a1(0x476)](_0x282e71,_0x5c55f5,this[_0x1d40a1(0x309)],_0x3c3462,_0x213f3c,_0x5b8696,_0x5089b1,_0xbf0193);},'decryptBlock':function(_0x8978ec,_0x448843){const _0x560c9e=_0x4e1ef1;var _0x2ffb3b=_0x8978ec[_0x448843+0x1];_0x8978ec[_0x448843+0x1]=_0x8978ec[_0x448843+0x3],_0x8978ec[_0x448843+0x3]=_0x2ffb3b,this[_0x560c9e(0x476)](_0x8978ec,_0x448843,this[_0x560c9e(0x54e)],_0x955351,_0x188899,_0x55e119,_0x21cc1a,_0x43e1ea);var _0x2ffb3b=_0x8978ec[_0x448843+0x1];_0x8978ec[_0x448843+0x1]=_0x8978ec[_0x448843+0x3],_0x8978ec[_0x448843+0x3]=_0x2ffb3b;},'_doCryptBlock':function(_0x224260,_0x5ce112,_0x4e2bb8,_0x4cae06,_0x2cccb2,_0x5a99f2,_0x570f8e,_0x5e310b){const _0x350903=_0x4e1ef1;for(var _0x37b8ac=this[_0x350903(0x49f)],_0x2292f8=_0x224260[_0x5ce112]^_0x4e2bb8[0x0],_0x387970=_0x224260[_0x5ce112+0x1]^_0x4e2bb8[0x1],_0x257a5e=_0x224260[_0x5ce112+0x2]^_0x4e2bb8[0x2],_0x197fb=_0x224260[_0x5ce112+0x3]^_0x4e2bb8[0x3],_0x5f2a66=0x4,_0x204b67=0x1;_0x204b67<_0x37b8ac;_0x204b67++){var _0x5a02bc=_0x4cae06[_0x2292f8>>>0x18]^_0x2cccb2[_0x387970>>>0x10&0xff]^_0x5a99f2[_0x257a5e>>>0x8&0xff]^_0x570f8e[_0x197fb&0xff]^_0x4e2bb8[_0x5f2a66++],_0x3fb048=_0x4cae06[_0x387970>>>0x18]^_0x2cccb2[_0x257a5e>>>0x10&0xff]^_0x5a99f2[_0x197fb>>>0x8&0xff]^_0x570f8e[_0x2292f8&0xff]^_0x4e2bb8[_0x5f2a66++],_0x3f8267=_0x4cae06[_0x257a5e>>>0x18]^_0x2cccb2[_0x197fb>>>0x10&0xff]^_0x5a99f2[_0x2292f8>>>0x8&0xff]^_0x570f8e[_0x387970&0xff]^_0x4e2bb8[_0x5f2a66++],_0x1a4ca5=_0x4cae06[_0x197fb>>>0x18]^_0x2cccb2[_0x2292f8>>>0x10&0xff]^_0x5a99f2[_0x387970>>>0x8&0xff]^_0x570f8e[_0x257a5e&0xff]^_0x4e2bb8[_0x5f2a66++];_0x2292f8=_0x5a02bc,_0x387970=_0x3fb048,_0x257a5e=_0x3f8267,_0x197fb=_0x1a4ca5;}var _0x5a02bc=(_0x5e310b[_0x2292f8>>>0x18]<<0x18|_0x5e310b[_0x387970>>>0x10&0xff]<<0x10|_0x5e310b[_0x257a5e>>>0x8&0xff]<<0x8|_0x5e310b[_0x197fb&0xff])^_0x4e2bb8[_0x5f2a66++],_0x3fb048=(_0x5e310b[_0x387970>>>0x18]<<0x18|_0x5e310b[_0x257a5e>>>0x10&0xff]<<0x10|_0x5e310b[_0x197fb>>>0x8&0xff]<<0x8|_0x5e310b[_0x2292f8&0xff])^_0x4e2bb8[_0x5f2a66++],_0x3f8267=(_0x5e310b[_0x257a5e>>>0x18]<<0x18|_0x5e310b[_0x197fb>>>0x10&0xff]<<0x10|_0x5e310b[_0x2292f8>>>0x8&0xff]<<0x8|_0x5e310b[_0x387970&0xff])^_0x4e2bb8[_0x5f2a66++],_0x1a4ca5=(_0x5e310b[_0x197fb>>>0x18]<<0x18|_0x5e310b[_0x2292f8>>>0x10&0xff]<<0x10|_0x5e310b[_0x387970>>>0x8&0xff]<<0x8|_0x5e310b[_0x257a5e&0xff])^_0x4e2bb8[_0x5f2a66++];_0x224260[_0x5ce112]=_0x5a02bc,_0x224260[_0x5ce112+0x1]=_0x3fb048,_0x224260[_0x5ce112+0x2]=_0x3f8267,_0x224260[_0x5ce112+0x3]=_0x1a4ca5;},'keySize':0x100/0x20});_0x16ee4a[_0x4e1ef1(0x222)]=_0x5296df['_createHelper'](_0x111a5a);}()),_0x37537c[_0x46a34e(0x222)];}));}(yn));var hr=yn[_0x4a9685(0x5dd)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x58973c,_0x1e0edd){(function(_0x507c9e,_0x261515){const _0xeaa695=_0x5f2c;_0x58973c[_0xeaa695(0x5dd)]=_0x261515(oe());}(X,function(_0x54f5e4){const _0x11abe7=_0x5f2c;return _0x54f5e4[_0x11abe7(0x3e6)][_0x11abe7(0x289)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x311bb0,_0x1ab2e7){(function(_0x4856e3,_0x15094b){const _0x5df7ef=_0x5f2c;_0x311bb0[_0x5df7ef(0x5dd)]=_0x15094b(oe());}(X,function(_0x26467e){const _0x22d87f=_0x5f2c;return(function(){const _0x4b47b8=_0x5f2c;if(typeof ArrayBuffer=='function'){var _0x2638b8=_0x26467e,_0x4796e0=_0x2638b8[_0x4b47b8(0x18d)],_0x1eae6b=_0x4796e0[_0x4b47b8(0x2bc)],_0x1e136e=_0x1eae6b[_0x4b47b8(0x432)],_0x457ea4=_0x1eae6b[_0x4b47b8(0x432)]=function(_0x95e098){const _0xca9a8f=_0x4b47b8;if(_0x95e098 instanceof ArrayBuffer&&(_0x95e098=new Uint8Array(_0x95e098)),(_0x95e098 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x95e098 instanceof Uint8ClampedArray||_0x95e098 instanceof Int16Array||_0x95e098 instanceof Uint16Array||_0x95e098 instanceof Int32Array||_0x95e098 instanceof Uint32Array||_0x95e098 instanceof Float32Array||_0x95e098 instanceof Float64Array)&&(_0x95e098=new Uint8Array(_0x95e098[_0xca9a8f(0x13b)],_0x95e098['byteOffset'],_0x95e098[_0xca9a8f(0x13c)])),_0x95e098 instanceof Uint8Array){for(var _0x657b9c=_0x95e098['byteLength'],_0x1e3024=[],_0x632d65=0x0;_0x632d65<_0x657b9c;_0x632d65++)_0x1e3024[_0x632d65>>>0x2]|=_0x95e098[_0x632d65]<<0x18-_0x632d65%0x4*0x8;_0x1e136e[_0xca9a8f(0x20c)](this,_0x1e3024,_0x657b9c);}else _0x1e136e['apply'](this,arguments);};_0x457ea4['prototype']=_0x1eae6b;}}()),_0x26467e[_0x22d87f(0x18d)][_0x22d87f(0x2bc)];}));}(Un));var vr=Un['exports'];const mr=xe(vr);var Mn={'exports':{}};(function(_0x4ec7fe,_0x5974ad){(function(_0x5e0510,_0x39c3fe,_0x232ac0){const _0x1339cd=_0x5f2c;_0x4ec7fe[_0x1339cd(0x5dd)]=_0x39c3fe(oe(),wn());}(X,function(_0x4175cd){const _0x1a7460=_0x5f2c;return _0x4175cd[_0x1a7460(0x5b1)][_0x1a7460(0x207)]={'pad':function(){},'unpad':function(){}},_0x4175cd['pad']['NoPadding'];}));}(Mn));var Sr=Mn[_0x4a9685(0x5dd)];const pr=xe(Sr);function gr(_0x86df85,_0x38e9c1){const _0x2c97ba=_0x38e9c1-_0x86df85['length']%_0x38e9c1,_0x1be686=String['fromCharCode'](_0x2c97ba)['repeat'](_0x2c97ba);return _0x86df85+_0x1be686;}function Ir(_0x1b7773,_0x439ab5){const _0x40bb61=_0x4a9685,_0x5504db=mr[_0x40bb61(0x588)](0x10),_0x368e96=gr(_0x1b7773,0x10),_0x182b66=_r[_0x40bb61(0x4e4)](fr['parse'](_0x368e96),Xt[_0x40bb61(0x2af)](_0x439ab5),{'iv':_0x5504db,'padding':pr});return _0x5504db[_0x40bb61(0x407)](_0x182b66[_0x40bb61(0x591)])[_0x40bb61(0x350)](Xt);}function Cr(){const _0x134731=_0x4a9685,_0x45185d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x45185d){const _0x4b8b35={'time':Math[_0x134731(0x1d0)](Date[_0x134731(0x358)]()/0x3e8),'domain':location['hostname']};return Ir(JSON['stringify'](_0x4b8b35),_0x45185d);}}var Er=Object[_0x4a9685(0x377)],br=Object[_0x4a9685(0x484)],Tr=(_0x468aa6,_0x3b200d,_0x4d6925,_0x1816e9)=>{const _0x3fa23a=_0x4a9685;for(var _0x593e4d=_0x1816e9>0x1?void 0x0:_0x1816e9?br(_0x3b200d,_0x4d6925):_0x3b200d,_0x34aed7=_0x468aa6[_0x3fa23a(0x530)]-0x1,_0x3a761b;_0x34aed7>=0x0;_0x34aed7--)(_0x3a761b=_0x468aa6[_0x34aed7])&&(_0x593e4d=(_0x1816e9?_0x3a761b(_0x3b200d,_0x4d6925,_0x593e4d):_0x3a761b(_0x593e4d))||_0x593e4d);return _0x1816e9&&_0x593e4d&&Er(_0x3b200d,_0x4d6925,_0x593e4d),_0x593e4d;},Rr=(_0x242e69,_0x164c76)=>(_0x4d1b8e,_0x20a1f9)=>_0x164c76(_0x4d1b8e,_0x20a1f9,_0x242e69);let Ye=class{constructor(_0x31e286){const _0x529b4d=_0x4a9685;this[_0x529b4d(0x213)]=_0x31e286,this[_0x529b4d(0x5cd)]();}[_0x4a9685(0x5cd)](){const _0x13001f=_0x4a9685;this[_0x13001f(0x213)]['registerHTTPInterceptor']({'interceptor':(_0x3a191e,_0x4c6aa9)=>{const _0x902fe6=_0x13001f,_0x59ac38=_0x3a191e[_0x902fe6(0x259)],_0x599423=Cr();return _0x599423&&_0x59ac38['set'](_0x902fe6(0x1be),_0x599423),_0x4c6aa9(_0x3a191e);}});}};Ye=Tr([Rr(0x0,a['Inject'](Z[_0x4a9685(0x2db)]))],Ye);var yr=Object['defineProperty'],Or=Object[_0x4a9685(0x484)],Dr=(_0x36e3e9,_0x22c4b1,_0xf98bc7,_0x384612)=>{const _0x3e2029=_0x4a9685;for(var _0x37fa40=_0x384612>0x1?void 0x0:_0x384612?Or(_0x22c4b1,_0xf98bc7):_0x22c4b1,_0x80b23b=_0x36e3e9[_0x3e2029(0x530)]-0x1,_0x598e0f;_0x80b23b>=0x0;_0x80b23b--)(_0x598e0f=_0x36e3e9[_0x80b23b])&&(_0x37fa40=(_0x384612?_0x598e0f(_0x22c4b1,_0xf98bc7,_0x37fa40):_0x598e0f(_0x37fa40))||_0x37fa40);return _0x384612&&_0x37fa40&&yr(_0x22c4b1,_0xf98bc7,_0x37fa40),_0x37fa40;},vt=(_0x4719fa,_0x42d62e)=>(_0x1ed653,_0xa0f7fa)=>_0x42d62e(_0x1ed653,_0xa0f7fa,_0x4719fa);const wr=[_0x4a9685(0x210),_0x4a9685(0x352),_0x4a9685(0x3eb),_0x4a9685(0x290),_0x4a9685(0x4b9)],Pr=0x5*0x400*0x400,Ur=_0x4a9685(0x2ab),Mr=_0x4a9685(0x43e),Ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Nr=_0x4a9685(0x22f);exports[_0x4a9685(0x50d)]=class{constructor(_0x53cadf,_0x337cc3,_0x724ac9){const _0x4e6596=_0x4a9685;I(this,_0x4e6596(0x3ab),0x0),I(this,_0x4e6596(0x4c4),new A[(_0x4e6596(0x4c3))]()),I(this,_0x4e6596(0x493),this[_0x4e6596(0x4c4)]),I(this,_0x4e6596(0x560),new Map()),(this[_0x4e6596(0x213)]=_0x53cadf,this[_0x4e6596(0x294)]=_0x337cc3,this[_0x4e6596(0x54a)]=_0x724ac9);}[_0x4a9685(0x5da)](_0xf074f6){const _0xd9c6e3=_0x4a9685;this[_0xd9c6e3(0x3ab)]=_0xf074f6,this[_0xd9c6e3(0x4c4)][_0xd9c6e3(0x503)](_0xf074f6);}['getImageSourceCache'](_0x8d0f33,_0x42660b){const _0x321eff=_0x4a9685;if(_0x42660b===ne['ImageSourceType'][_0x321eff(0x318)]){const _0x2ef708=new Image();return _0x2ef708[_0x321eff(0x4cc)]=_0x8d0f33,_0x2ef708;}return this[_0x321eff(0x560)][_0x321eff(0x542)](_0x8d0f33);}[_0x4a9685(0x14b)](_0x339205,_0x21f9c1,_0x5ee63b){const _0x40f23a=_0x4a9685;_0x21f9c1===ne['ImageSourceType'][_0x40f23a(0x318)]||_0x5ee63b==null||this['_imageSourceCache'][_0x40f23a(0x568)](_0x339205,_0x5ee63b);}async['getImage'](_0x47c6ab){const _0x338de7=_0x4a9685;try{const _0x45663e=this[_0x338de7(0x1db)](this[_0x338de7(0x410)](),''+_0x47c6ab),_0x19699a=(await this[_0x338de7(0x213)][_0x338de7(0x542)](_0x45663e))['body'];if(_0x19699a[_0x338de7(0x3d8)]&&_0x19699a[_0x338de7(0x3d8)]['code']===cn['OK']){const _0x357d89=new URL(_0x19699a[_0x338de7(0x465)],this['_getDownloadEndpointURL']())[_0x338de7(0x350)]();return Promise['resolve'](_0x357d89);}return Promise['reject'](_0x19699a[_0x338de7(0x3d8)]);}catch(_0x24eebc){return Promise[_0x338de7(0x362)](_0x24eebc);}}async[_0x4a9685(0x35e)](_0x278a35){const _0x2e3a56=_0x4a9685;let _0x3e1b5d='';if(!wr['includes'](_0x278a35[_0x2e3a56(0x3e4)]))return this['_decreaseWaiting'](),Promise[_0x2e3a56(0x362)](new Error(ne[_0x2e3a56(0x26a)]['ERROR_IMAGE_TYPE']));if(_0x278a35['size']>Pr)return this['_decreaseWaiting'](),Promise[_0x2e3a56(0x362)](new Error(ne[_0x2e3a56(0x26a)]['ERROR_EXCEED_SIZE']));try{const _0x671dfa=new FormData();_0x671dfa[_0x2e3a56(0x540)](_0x2e3a56(0x21f),_0x278a35);const _0x27f4b1=this[_0x2e3a56(0x54a)][_0x2e3a56(0x2dd)](),_0x1c993e=_0x27f4b1==null?void 0x0:_0x27f4b1[_0x2e3a56(0x56f)]();if(!_0x1c993e)throw new Error(_0x2e3a56(0x344));const _0x4d859f=this[_0x2e3a56(0x291)]()+'?size='+_0x278a35[_0x2e3a56(0x2d6)][_0x2e3a56(0x350)]()+'&source='+ln[_0x2e3a56(0x3d4)]+_0x2e3a56(0x17f)+encodeURIComponent(_0x1c993e),_0xa75243=await(await fetch(_0x4d859f,{'method':_0x2e3a56(0x431),'body':_0x671dfa}))[_0x2e3a56(0x2e6)]();if(typeof _0xa75243[_0x2e3a56(0x53e)]!='string')return this[_0x2e3a56(0x175)](),Promise['reject'](new Error(ne['ImageUploadStatusType'][_0x2e3a56(0x13f)]));_0x3e1b5d=_0xa75243[_0x2e3a56(0x53e)];}catch{return this[_0x2e3a56(0x175)](),Promise[_0x2e3a56(0x362)](new Error(ne['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0xd221f5,_0x2ee23c)=>{const _0x445ae4=_0x2e3a56,_0x41719f=new FileReader();_0x41719f['readAsDataURL'](_0x278a35),_0x41719f[_0x445ae4(0x4ef)]=_0x2e7ce3=>{const _0x296469=_0x445ae4;var _0x45f0dd;const _0x544327=(_0x45f0dd=_0x2e7ce3[_0x296469(0x41f)])==null?void 0x0:_0x45f0dd['result'];if(_0x544327==null){this[_0x296469(0x175)](),_0x2ee23c(new Error(ne[_0x296469(0x26a)][_0x296469(0x13f)]));return;}const _0x36d5b7=a[_0x296469(0x426)][_0x296469(0x32e)](0x6);_0xd221f5({'imageId':_0x36d5b7,'imageSourceType':ne[_0x296469(0x1a2)][_0x296469(0x58d)],'source':_0x3e1b5d,'base64Cache':_0x544327,'status':ne['ImageUploadStatusType']['SUCCUSS']}),this[_0x296469(0x175)]();};});}[_0x4a9685(0x291)](){const _0xa16b5f=_0x4a9685;var _0x5542f2,_0x4054d7;const _0x4382aa=this[_0xa16b5f(0x294)][_0xa16b5f(0x4a1)](Ur),_0x31b30a=this['_configService'][_0xa16b5f(0x4a1)](te);return(_0x4054d7=(_0x5542f2=_0x31b30a==null?void 0x0:_0x31b30a[_0xa16b5f(0x54c)])!=null?_0x5542f2:_0x4382aa)!=null?_0x4054d7:Mr;}[_0x4a9685(0x410)](){const _0x4998f8=_0x4a9685;var _0x54f1e9,_0x21ba52;const _0x4bda5f=this[_0x4998f8(0x294)]['getConfig'](Ar),_0x19e768=this['_configService']['getConfig'](te);return(_0x21ba52=(_0x54f1e9=_0x19e768==null?void 0x0:_0x19e768['signUrlServerUrl'])!=null?_0x54f1e9:_0x4bda5f)!=null?_0x21ba52:Nr;}[_0x4a9685(0x565)](){const _0x48171c=_0x4a9685;var _0x3c5809;const _0x25b472=this[_0x48171c(0x294)][_0x48171c(0x4a1)](te);return(_0x3c5809=_0x25b472==null?void 0x0:_0x25b472[_0x48171c(0x4fe)])!=null?_0x3c5809:location[_0x48171c(0x221)];}[_0x4a9685(0x1db)](_0x3997ac,_0x3df67c){const _0x24d881=_0x4a9685;return _0x3997ac[_0x24d881(0x38b)](_0x24d881(0x1f5),_0x3df67c);}[_0x4a9685(0x175)](){const _0x30d5ab=_0x4a9685;this[_0x30d5ab(0x3ab)]-=0x1,this[_0x30d5ab(0x4c4)][_0x30d5ab(0x503)](this[_0x30d5ab(0x3ab)]);}},exports[_0x4a9685(0x50d)]=Dr([vt(0x0,a['Inject'](Z[_0x4a9685(0x2db)])),vt(0x1,a[_0x4a9685(0x3fb)]),vt(0x2,a[_0x4a9685(0x27a)](a['IUniverInstanceService']))],exports[_0x4a9685(0x50d)]);var Lr=Object[_0x4a9685(0x377)],xr=Object[_0x4a9685(0x484)],jr=(_0x2a1d3d,_0x49f16d,_0x56352f,_0x43a2de)=>{const _0x39a5ae=_0x4a9685;for(var _0x3e286c=_0x43a2de>0x1?void 0x0:_0x43a2de?xr(_0x49f16d,_0x56352f):_0x49f16d,_0x479e11=_0x2a1d3d[_0x39a5ae(0x530)]-0x1,_0x2e3eae;_0x479e11>=0x0;_0x479e11--)(_0x2e3eae=_0x2a1d3d[_0x479e11])&&(_0x3e286c=(_0x43a2de?_0x2e3eae(_0x49f16d,_0x56352f,_0x3e286c):_0x2e3eae(_0x3e286c))||_0x3e286c);return _0x43a2de&&_0x3e286c&&Lr(_0x49f16d,_0x56352f,_0x3e286c),_0x3e286c;},Ae=(_0x347797,_0x5803b6)=>(_0x2560f2,_0x3e070f)=>_0x5803b6(_0x2560f2,_0x3e070f,_0x347797);let Ke=class extends a[_0x4a9685(0x2c7)]{constructor(_0xd71fa1,_0x42377f,_0x4caadd,_0x1848c9,_0x5439fc){const _0x9cbbf0=_0x4a9685;super(),this['_injector']=_0xd71fa1,this[_0x9cbbf0(0x54a)]=_0x42377f,this[_0x9cbbf0(0x3e0)]=_0x4caadd,this['_collaborationSessionService']=_0x1848c9,this[_0x9cbbf0(0x39c)]=_0x5439fc,this[_0x9cbbf0(0x5ed)](),this[_0x9cbbf0(0x570)]();}[_0x4a9685(0x570)](){const _0xef1b5c=_0x4a9685,_0x296bd9=async _0x56cad1=>{const _0xeff08a=_0x5f2c;(await this[_0xeff08a(0x494)][_0xeff08a(0x461)](_0x56cad1))['event$']['pipe'](V[_0xeff08a(0x464)](_0x5633e8=>_0x5633e8[_0xeff08a(0x3af)]===S[_0xeff08a(0x35a)][_0xeff08a(0x42b)]),V[_0xeff08a(0x5e8)](this[_0xeff08a(0x5c9)]))['subscribe'](_0x4816a3=>{const _0x5fdc8c=_0xeff08a,_0x479f35=_0x4816a3,{reason:_0x301a43}=_0x479f35[_0x5fdc8c(0x18f)];this['_injector'][_0x5fdc8c(0x542)](ee[_0x5fdc8c(0x27d)])[_0x5fdc8c(0x36b)]({'type':ge[_0x5fdc8c(0x2e3)][_0x5fdc8c(0x2d0)],'content':this['_localeService']['t'](_0x5fdc8c(0x5ee))+'('+_0x301a43+')'}),this[_0x5fdc8c(0x3e0)][_0x5fdc8c(0x38e)](new k[(_0x5fdc8c(0x1ef))](_0x56cad1)['id'],!0x1),this[_0x5fdc8c(0x494)]['closeSession'](_0x56cad1);});};A[_0xef1b5c(0x345)](this['_univerInstanceService'][_0xef1b5c(0x3f9)](a[_0xef1b5c(0x33e)][_0xef1b5c(0x1af)]),this[_0xef1b5c(0x54a)][_0xef1b5c(0x3f9)](a['UniverInstanceType']['UNIVER_DOC']))[_0xef1b5c(0x172)](V['map'](_0xe32f95=>_0xe32f95[_0xef1b5c(0x56f)]()),V[_0xef1b5c(0x464)](_0x328090=>!a['isInternalEditorID'](_0x328090)),V['takeUntil'](this[_0xef1b5c(0x5c9)]))[_0xef1b5c(0x419)](_0x160c61=>{_0x296bd9(_0x160c61);});}[_0x4a9685(0x5ed)](){const _0x16a293=_0x4a9685,_0x3d11c5=async _0x9e9e45=>{const _0x4fb4e4=_0x5f2c;(await this[_0x4fb4e4(0x494)][_0x4fb4e4(0x461)](_0x9e9e45))[_0x4fb4e4(0x297)][_0x4fb4e4(0x172)](V[_0x4fb4e4(0x464)](_0x8da3b9=>_0x8da3b9[_0x4fb4e4(0x3af)]===S[_0x4fb4e4(0x35a)][_0x4fb4e4(0x347)]),V[_0x4fb4e4(0x5e8)](this[_0x4fb4e4(0x5c9)]))[_0x4fb4e4(0x419)](_0x45e983=>{const _0x48b720=_0x4fb4e4,_0x2283dc=_0x45e983,{objectId:_0x4e58a0}=_0x2283dc[_0x48b720(0x18f)],_0xb40c20=this['_injector']['get'](Re[_0x48b720(0x4bc)]);_0x4e58a0===_0x9e9e45?_0xb40c20[_0x48b720(0x56e)](_0x9e9e45):_0xb40c20[_0x48b720(0x5d0)](_0x9e9e45,_0x4e58a0);});};A['merge'](this[_0x16a293(0x54a)][_0x16a293(0x3f9)](a['UniverInstanceType'][_0x16a293(0x1af)]),this[_0x16a293(0x54a)][_0x16a293(0x3f9)](a[_0x16a293(0x33e)][_0x16a293(0x22a)]))[_0x16a293(0x172)](V[_0x16a293(0x28a)](_0x23eb66=>_0x23eb66[_0x16a293(0x56f)]()),V['filter'](_0xb39b53=>!a['isInternalEditorID'](_0xb39b53)),V[_0x16a293(0x5e8)](this[_0x16a293(0x5c9)]))[_0x16a293(0x419)](_0x18685b=>{_0x3d11c5(_0x18685b);});}};Ke=jr([Ae(0x0,a['Inject'](a[_0x4a9685(0x17d)])),Ae(0x1,a[_0x4a9685(0x3c5)]),Ae(0x2,a[_0x4a9685(0x310)]),Ae(0x3,a[_0x4a9685(0x27a)](exports[_0x4a9685(0x2a7)])),Ae(0x4,a[_0x4a9685(0x27a)](a[_0x4a9685(0x4a8)]))],Ke);var $r=Object['defineProperty'],Hr=Object[_0x4a9685(0x484)],Br=(_0x48ee30,_0x41ff1d,_0x51afdb,_0x54cbe3)=>{const _0x139c7e=_0x4a9685;for(var _0x30b33a=_0x54cbe3>0x1?void 0x0:_0x54cbe3?Hr(_0x41ff1d,_0x51afdb):_0x41ff1d,_0x1ae4cb=_0x48ee30[_0x139c7e(0x530)]-0x1,_0x2580ff;_0x1ae4cb>=0x0;_0x1ae4cb--)(_0x2580ff=_0x48ee30[_0x1ae4cb])&&(_0x30b33a=(_0x54cbe3?_0x2580ff(_0x41ff1d,_0x51afdb,_0x30b33a):_0x2580ff(_0x30b33a))||_0x30b33a);return _0x54cbe3&&_0x30b33a&&$r(_0x41ff1d,_0x51afdb,_0x30b33a),_0x30b33a;},Jt=(_0x382203,_0x359909)=>(_0x86d34,_0x5f17af)=>_0x359909(_0x86d34,_0x5f17af,_0x382203);exports[_0x4a9685(0x376)]=class{constructor(_0x33d433,_0x36bdf5){const _0x25fb13=_0x4a9685;this['_configService']=_0x33d433,this[_0x25fb13(0x213)]=_0x36bdf5;}async[_0x4a9685(0x370)](_0x5f2ed0,_0x546b86){const _0x4755ac=_0x4a9685;var _0x2ebfb7;const {unitID:_0x2aae17,type:_0x248849,revision:_0x10eaec=0x0}=_0x546b86,_0x34350d=this['_getSnapshotAPIPrefix']()+'/'+_0x248849+_0x4755ac(0x33b)+_0x2aae17+_0x4755ac(0x578)+_0x10eaec,_0x4c8ab1=(await this[_0x4755ac(0x213)][_0x4755ac(0x542)](_0x34350d))[_0x4755ac(0x1c3)],_0x588cae=(_0x2ebfb7=_0x4c8ab1[_0x4755ac(0x5de)])==null?void 0x0:_0x2ebfb7[_0x4755ac(0x2e9)];if(_0x588cae){const _0x21e5f7=_0x588cae==null?void 0x0:_0x588cae[_0x4755ac(0x5a2)],_0x929907=S['textEncoder'][_0x4755ac(0x317)](S[_0x4755ac(0x566)](_0x21e5f7));_0x588cae[_0x4755ac(0x5a2)]=_0x929907,Object['entries'](_0x588cae[_0x4755ac(0x164)])[_0x4755ac(0x38f)](([,_0x480b4b])=>{const _0x9e070d=_0x4755ac,_0x389ba6=_0x480b4b[_0x9e070d(0x5a2)],_0x250d9e=S[_0x9e070d(0x17c)]['encode'](S[_0x9e070d(0x566)](_0x389ba6));_0x480b4b[_0x9e070d(0x5a2)]=_0x250d9e;});}return _0x4c8ab1;}async[_0x4a9685(0x590)](_0x5b585d,_0x3a72ba){const _0x28b86=_0x4a9685,{unitID:_0x12eeec,type:_0x2fecde,blockID:_0x5cf7c1}=_0x3a72ba,_0x944ed8=this['_getAPIPrefix']()+'/'+_0x2fecde+'/unit/'+_0x12eeec+'/block/'+_0x5cf7c1;return(await this[_0x28b86(0x213)][_0x28b86(0x542)](_0x944ed8))[_0x28b86(0x1c3)];}async[_0x4a9685(0x24d)](_0x2e266a,_0x572da6){const _0x5eb3b9=_0x4a9685,{unitID:_0x399df5,type:_0x31b1e5,blockID:_0x291e26}=_0x572da6,_0x55a894=this[_0x5eb3b9(0x1fa)]()+'/block/'+_0x31b1e5+_0x5eb3b9(0x33b)+_0x399df5+_0x5eb3b9(0x45a)+_0x291e26;return(await this[_0x5eb3b9(0x213)][_0x5eb3b9(0x542)](_0x55a894))[_0x5eb3b9(0x1c3)];}async[_0x4a9685(0x327)](_0x3e9f09,_0x3acbdf){const _0xe537a2=_0x4a9685,{unitID:_0x51d361,type:_0x4e664f,from:_0x4e0abd,to:_0x3d52c8}=_0x3acbdf,_0x29f884=this[_0xe537a2(0x1fa)]()+'/'+_0x4e664f+'/unit/'+_0x51d361+_0xe537a2(0x35d)+_0x4e0abd+_0xe537a2(0x2f1)+_0x3d52c8;return(await this['_httpService'][_0xe537a2(0x542)](_0x29f884))[_0xe537a2(0x1c3)];}['_getSnapshotAPIPrefix'](){const _0xbe2d36=_0x4a9685;var _0x3ada12;return(_0x3ada12=this[_0xbe2d36(0x294)]['getConfig'](Qt))!=null?_0x3ada12:this[_0xbe2d36(0x1fa)]();}[_0x4a9685(0x1fa)](){const _0x15c9e0=_0x4a9685;var _0x56d45e,_0x5a89bc;const _0x358709=this[_0x15c9e0(0x294)]['getConfig'](Zt),_0x517f3d=this[_0x15c9e0(0x294)][_0x15c9e0(0x4a1)](te);return(_0x5a89bc=(_0x56d45e=_0x517f3d==null?void 0x0:_0x517f3d['snapshotServerUrl'])!=null?_0x56d45e:_0x358709)!=null?_0x5a89bc:Hn;}async['getResourcesRequest'](_0x1a4a17,_0x2dff41){const _0x198402=_0x4a9685,_0x10fb55=_0x198402(0x2a9)+_0x2dff41[_0x198402(0x3e4)]+'/unit/'+_0x2dff41[_0x198402(0x197)]+_0x198402(0x524);return(await this[_0x198402(0x213)][_0x198402(0x542)](_0x10fb55,{'params':{'resourceId':JSON[_0x198402(0x2d1)](_0x2dff41['resourceIDs'])}}))['body'];}['saveSnapshot'](){const _0xa82188=_0x4a9685;throw new Error(_0xa82188(0x374));}[_0x4a9685(0x4c8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a9685(0x598)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a9685(0x500)](){const _0x5c061f=_0x4a9685;throw new Error(_0x5c061f(0x374));}[_0x4a9685(0x20e)](){const _0x5bbcba=_0x4a9685;throw new Error(_0x5bbcba(0x374));}},exports[_0x4a9685(0x376)]=Br([Jt(0x0,a[_0x4a9685(0x3fb)]),Jt(0x1,a[_0x4a9685(0x27a)](Z[_0x4a9685(0x2db)]))],exports[_0x4a9685(0x376)]);var kr=Object[_0x4a9685(0x377)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x2c08cc,_0x2e8ca9,_0x16568a,_0x34a933)=>{for(var _0x51d4b8=_0x34a933>0x1?void 0x0:_0x34a933?Wr(_0x2e8ca9,_0x16568a):_0x2e8ca9,_0x3bee77=_0x2c08cc['length']-0x1,_0x425779;_0x3bee77>=0x0;_0x3bee77--)(_0x425779=_0x2c08cc[_0x3bee77])&&(_0x51d4b8=(_0x34a933?_0x425779(_0x2e8ca9,_0x16568a,_0x51d4b8):_0x425779(_0x51d4b8))||_0x51d4b8);return _0x34a933&&_0x51d4b8&&kr(_0x2e8ca9,_0x16568a,_0x51d4b8),_0x51d4b8;},Ne=(_0x8f2221,_0x2fdc4a)=>(_0x352217,_0x3b9471)=>_0x2fdc4a(_0x352217,_0x3b9471,_0x8f2221);let It=class extends a['LocalUndoRedoService']{constructor(_0x14fa8b,_0xc8c866,_0x33cd52,_0x2efa7c,_0x2c4290){const _0x24b8fb=_0x4a9685;super(_0x14fa8b,_0xc8c866,_0x33cd52),this[_0x24b8fb(0x4f6)]=_0x2efa7c,this[_0x24b8fb(0x480)]=_0x2c4290;}['transformUndoRedo'](_0x5c35f5,_0x513d11){const _0x6c8ec3=_0x4a9685,_0x2a7c94=this[_0x6c8ec3(0x1b1)](_0x5c35f5);if(_0x2a7c94)try{const _0x474ab0=this[_0x6c8ec3(0x273)](_0x2a7c94,_0x513d11);this[_0x6c8ec3(0x269)](_0x5c35f5,_0x474ab0);}catch(_0x5c8864){this[_0x6c8ec3(0x480)][_0x6c8ec3(0x3d8)](_0x6c8ec3(0x499),_0x5c8864),this[_0x6c8ec3(0x2c4)](_0x5c35f5);}const _0x355f44=this[_0x6c8ec3(0x16d)](_0x5c35f5);if(_0x355f44)try{const _0x33b062=this[_0x6c8ec3(0x273)](_0x355f44,_0x513d11);this[_0x6c8ec3(0x36e)](_0x5c35f5,_0x33b062);}catch(_0x358a8a){this[_0x6c8ec3(0x480)][_0x6c8ec3(0x3d8)](_0x358a8a),this[_0x6c8ec3(0x16a)](_0x5c35f5);}}[_0x4a9685(0x2c4)](_0x211f48){const _0x487f48=_0x4a9685,_0xfbb008=this['_getUndoStack'](_0x211f48);_0xfbb008&&(_0xfbb008[_0x487f48(0x530)]=0x0,this[_0x487f48(0x2d9)]());}['_clearRedo'](_0x411609){const _0x10b28d=_0x4a9685,_0x38b4be=this[_0x10b28d(0x16d)](_0x411609);_0x38b4be&&(_0x38b4be[_0x10b28d(0x530)]=0x0,this[_0x10b28d(0x2d9)]());}[_0x4a9685(0x269)](_0xa706dc,_0x375919){const _0x3cfa1f=_0x4a9685;this['_undoStacks'][_0x3cfa1f(0x568)](_0xa706dc,_0x375919),this[_0x3cfa1f(0x2d9)]();}[_0x4a9685(0x36e)](_0x37af8a,_0x465b93){const _0x41e3ae=_0x4a9685;this[_0x41e3ae(0x4db)][_0x41e3ae(0x568)](_0x37af8a,_0x465b93),this[_0x41e3ae(0x2d9)]();}[_0x4a9685(0x273)](_0x2e9527,_0x5b9c80){const _0x4a149c=_0x4a9685,_0x2b666e=[];let _0x403470=_0x5b9c80,_0x22c04b=_0x5b9c80;for(let _0x20777f=_0x2e9527[_0x4a149c(0x530)]-0x1;_0x20777f>=0x0;_0x20777f--){const {unitID:_0x2672f9,undoMutations:_0x11e09f,redoMutations:_0x330fcb}=_0x2e9527[_0x20777f],_0x336334=this['_transformService']['transformMutationsWithChangeset'](_0x403470,_0x11e09f),_0xeb4c76=this[_0x4a149c(0x4f6)]['transformMutationsWithChangeset'](_0x22c04b,_0x330fcb);if(S['isTransformMutationsWithChangesetFailure'](_0x336334)||S[_0x4a149c(0x133)](_0xeb4c76)){this[_0x4a149c(0x480)][_0x4a149c(0x3d8)](_0x4a149c(0x499),_0x4a149c(0x17a),_0x336334,_0xeb4c76);break;}_0x403470=_0x336334[_0x4a149c(0x51e)],_0x22c04b=_0xeb4c76[_0x4a149c(0x51e)],_0x2b666e[_0x4a149c(0x3d6)]({'unitID':_0x2672f9,'undoMutations':_0x336334[_0x4a149c(0x403)],'redoMutations':_0xeb4c76[_0x4a149c(0x403)]});}return _0x2b666e[_0x4a149c(0x5aa)]();}};It=Fr([Ne(0x0,a[_0x4a9685(0x3c5)]),Ne(0x1,a['ICommandService']),Ne(0x2,a[_0x4a9685(0x55b)]),Ne(0x3,S[_0x4a9685(0x315)]),Ne(0x4,a[_0x4a9685(0x2e8)])],It);class An extends a['RxDisposable']{constructor(){const _0x59bb9c=_0x4a9685;super(),I(this,_0x59bb9c(0x56a)),this[_0x59bb9c(0x56a)]=A[_0x59bb9c(0x59e)](window,_0x59bb9c(0x1ad))[_0x59bb9c(0x172)](A[_0x59bb9c(0x5e8)](this[_0x59bb9c(0x5c9)]),A[_0x59bb9c(0x52c)](0x1),A[_0x59bb9c(0x429)](void 0x0));}[_0x4a9685(0x282)](_0x5c9ce1,_0x1a5423,_0x151032=!0x1){const _0x1524d6=_0x4a9685,_0x3c943a=new URL(window[_0x1524d6(0x559)]['href']);_0x3c943a[_0x1524d6(0x5e1)][_0x1524d6(0x568)](_0x5c9ce1,_0x1a5423),_0x151032?window[_0x1524d6(0x42d)][_0x1524d6(0x287)]('','',_0x3c943a[_0x1524d6(0x350)]()):window['history']['pushState']('','',_0x3c943a['toString']());}[_0x4a9685(0x2b6)](_0x4dd8e7,_0x423762=!0x1){const _0xb11921=_0x4a9685,_0x30ff5d=new URL(window[_0xb11921(0x559)][_0xb11921(0x1fd)]);_0x30ff5d['searchParams'][_0xb11921(0x224)](_0x4dd8e7),_0x423762?window[_0xb11921(0x42d)][_0xb11921(0x287)]('','',_0x30ff5d[_0xb11921(0x350)]()):window[_0xb11921(0x42d)][_0xb11921(0x293)]('','',_0x30ff5d['toString']());}[_0x4a9685(0x3e2)](_0x251e71){const _0x20cfbd=_0x4a9685;var _0x3cc807;return(_0x3cc807=new URL(window[_0x20cfbd(0x559)][_0x20cfbd(0x1fd)])[_0x20cfbd(0x5e1)][_0x20cfbd(0x542)](_0x251e71))!=null?_0x3cc807:void 0x0;}}var Nn=Object[_0x4a9685(0x377)],Vr=Object[_0x4a9685(0x484)],Gr=(_0x334a1e,_0x50e9d5,_0x26f1f1)=>_0x50e9d5 in _0x334a1e?Nn(_0x334a1e,_0x50e9d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26f1f1}):_0x334a1e[_0x50e9d5]=_0x26f1f1,Yr=(_0x23ef46,_0x48efd,_0x2a0155,_0x22d8b7)=>{const _0x7bb278=_0x4a9685;for(var _0x3c4282=_0x22d8b7>0x1?void 0x0:_0x22d8b7?Vr(_0x48efd,_0x2a0155):_0x48efd,_0x242ed5=_0x23ef46[_0x7bb278(0x530)]-0x1,_0x163a1f;_0x242ed5>=0x0;_0x242ed5--)(_0x163a1f=_0x23ef46[_0x242ed5])&&(_0x3c4282=(_0x22d8b7?_0x163a1f(_0x48efd,_0x2a0155,_0x3c4282):_0x163a1f(_0x3c4282))||_0x3c4282);return _0x22d8b7&&_0x3c4282&&Nn(_0x48efd,_0x2a0155,_0x3c4282),_0x3c4282;},He=(_0x3a5c64,_0x37e1ec)=>(_0x339e34,_0xa85f6b)=>_0x37e1ec(_0x339e34,_0xa85f6b,_0x3a5c64),Kr=(_0x19b025,_0x534314,_0x6904b4)=>Gr(_0x19b025,_0x534314+'',_0x6904b4);const qr=_0x4a9685(0x348);exports[_0x4a9685(0x3a2)]=class extends a[_0x4a9685(0x389)]{constructor(_0x298a34=zn,_0x54a264,_0x57f91f,_0x4ea73d,_0x206829){const _0x4e6dbf=_0x4a9685;super(),this[_0x4e6dbf(0x3f2)]=_0x298a34,this['_logService']=_0x54a264,this[_0x4e6dbf(0x582)]=_0x57f91f,this['_injector']=_0x4ea73d,this[_0x4e6dbf(0x294)]=_0x206829;const {..._0x4552c9}=this[_0x4e6dbf(0x3f2)];this[_0x4e6dbf(0x294)]['setConfig'](te,_0x4552c9);}['onStarting'](){const _0x4c6f15=_0x4a9685;this['_registerDependencies'](),this[_0x4c6f15(0x3ca)]();}[_0x4a9685(0x3ec)](){const _0x56f375=_0x4a9685;a[_0x56f375(0x45d)](this[_0x56f375(0x372)],[[Ve]]);}[_0x4a9685(0x27b)](){this['_registerRenderDependencies']();}[_0x4a9685(0x27e)](){const _0x216c94=_0x4a9685;var _0xf6ae82,_0xc6d029,_0x181d9e,_0x34e0d6;this[_0x216c94(0x372)]['has'](a[_0x216c94(0x23b)])&&this[_0x216c94(0x480)][_0x216c94(0x3d8)]('[UniverCollaborationClientPlugin]',_0x216c94(0x462));const _0x35be81=[[a[_0x216c94(0x23b)],{'useClass':It}],[exports[_0x216c94(0x2a7)]],[Ot],[wt,{'useClass':An}],[exports[_0x216c94(0x3e1)]],[exports['LocalCacheService']],[Z[_0x216c94(0x378)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0xc6d029=(_0xf6ae82=this[_0x216c94(0x3f2)])==null?void 0x0:_0xf6ae82[_0x216c94(0x22b)])!=null?_0xc6d029:exports[_0x216c94(0x53c)]}],[S['ISnapshotServerService'],{'useClass':exports[_0x216c94(0x376)]}],[a[_0x216c94(0x2f0)],{'useClass':exports[_0x216c94(0x26b)]}],[ne[_0x216c94(0x3f3)],{'useClass':exports[_0x216c94(0x50d)]}],[exports[_0x216c94(0x1ff)]],[exports[_0x216c94(0x554)]],[exports[_0x216c94(0x2f8)]],[Ve],[De]];(_0x181d9e=this['_config'])!=null&&_0x181d9e[_0x216c94(0x325)]&&_0x35be81['push']([qe,{'useClass':Oi}]),a[_0x216c94(0x440)](this[_0x216c94(0x372)],a[_0x216c94(0x323)](_0x35be81,(_0x34e0d6=this[_0x216c94(0x3f2)])==null?void 0x0:_0x34e0d6[_0x216c94(0x5dc)]));}['_registerRenderDependencies'](){const _0x1904e7=_0x4a9685;this[_0x1904e7(0x3c7)](this[_0x1904e7(0x582)][_0x1904e7(0x2cb)](a['UniverInstanceType'][_0x1904e7(0x22a)],[pt])),this[_0x1904e7(0x3c7)](this[_0x1904e7(0x582)][_0x1904e7(0x2cb)](a[_0x1904e7(0x33e)][_0x1904e7(0x1af)],[gt]));}[_0x4a9685(0x3ca)](){const _0xd318f2=_0x4a9685;var _0x4862b9,_0x3b17b8;this[_0xd318f2(0x372)][_0xd318f2(0x542)](Z['HTTPService'])[_0xd318f2(0x533)]({'priority':0x14,'interceptor':Z[_0xd318f2(0x3ed)]({'maxParallel':0x6})}),(_0x4862b9=this[_0xd318f2(0x3f2)])!=null&&_0x4862b9[_0xd318f2(0x443)]||this[_0xd318f2(0x372)][_0xd318f2(0x542)](exports['LocalCacheService'])[_0xd318f2(0x360)](),(_0x3b17b8=this['_config'])!=null&&_0x3b17b8[_0xd318f2(0x1a3)]&&a['touchDependencies'](this['_injector'],[[Ge]]),a[_0xd318f2(0x45d)](this['_injector'],[[Ye],[De],[exports[_0xd318f2(0x554)]],[exports[_0xd318f2(0x1ff)]],[exports['DesktopCollaborationStatusDisplayController']],[Ke]]);}},Kr(exports['UniverCollaborationClientPlugin'],_0x4a9685(0x395),qr),exports[_0x4a9685(0x3a2)]=Yr([a['DependentOn'](S[_0x4a9685(0x19e)],Z[_0x4a9685(0x3aa)]),He(0x1,a[_0x4a9685(0x2e8)]),He(0x2,K['IRenderManagerService']),He(0x3,a[_0x4a9685(0x27a)](a['Injector'])),He(0x4,a[_0x4a9685(0x3fb)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Rn,exports[_0x4a9685(0x5f2)]=on,exports[_0x4a9685(0x21b)]=en,exports[_0x4a9685(0x153)]=q,exports[_0x4a9685(0x593)]=Tn,exports[_0x4a9685(0x5a1)]=Tt,exports[_0x4a9685(0x387)]=tn,exports[_0x4a9685(0x248)]=Ct,exports[_0x4a9685(0x5d7)]=bt,exports['IURLService']=wt,exports[_0x4a9685(0x30b)]=rn,exports[_0x4a9685(0x49e)]=an,exports[_0x4a9685(0x218)]=sn,exports[_0x4a9685(0x43f)]=Bn,exports[_0x4a9685(0x179)]=Zt,exports[_0x4a9685(0x442)]=Qt,exports[_0x4a9685(0x319)]=se,exports[_0x4a9685(0x457)]=Sn,exports[_0x4a9685(0x320)]=An,exports[_0x4a9685(0x312)]=hn,exports[_0x4a9685(0x145)]=_n;
|
1
|
+
'use strict';const _0x714a18=_0x420c;(function(_0x20a82e,_0x53e1ab){const _0x45d647=_0x420c,_0x15bd85=_0x20a82e();while(!![]){try{const _0x15efd5=-parseInt(_0x45d647(0x3a8))/0x1+parseInt(_0x45d647(0x481))/0x2*(parseInt(_0x45d647(0x2f7))/0x3)+parseInt(_0x45d647(0x1ff))/0x4*(parseInt(_0x45d647(0x57e))/0x5)+-parseInt(_0x45d647(0x60c))/0x6*(-parseInt(_0x45d647(0x5f8))/0x7)+parseInt(_0x45d647(0x59b))/0x8*(parseInt(_0x45d647(0x1a2))/0x9)+-parseInt(_0x45d647(0x406))/0xa*(parseInt(_0x45d647(0x380))/0xb)+-parseInt(_0x45d647(0x38c))/0xc*(parseInt(_0x45d647(0x256))/0xd);if(_0x15efd5===_0x53e1ab)break;else _0x15bd85['push'](_0x15bd85['shift']());}catch(_0x562302){_0x15bd85['push'](_0x15bd85['shift']());}}}(_0x206a,0x44e6b));var Nn=Object[_0x714a18(0x1d2)],Ln=(_0x4af45e,_0x16f2a3,_0x4f322b)=>_0x16f2a3 in _0x4af45e?Nn(_0x4af45e,_0x16f2a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f322b}):_0x4af45e[_0x16f2a3]=_0x4f322b,I=(_0x461d0d,_0x400eb4,_0x156c51)=>Ln(_0x461d0d,typeof _0x400eb4!=_0x714a18(0x334)?_0x400eb4+'':_0x400eb4,_0x156c51);Object[_0x714a18(0x1d2)](exports,Symbol['toStringTag'],{'value':_0x714a18(0x4a9)});const a=require(_0x714a18(0x19b)),A=require('rxjs'),V=require('rxjs/operators'),Ie=require(_0x714a18(0x277)),J=require('@univerjs/network'),te=require(_0x714a18(0x336)),p=require(_0x714a18(0x57f)),xn=require(_0x714a18(0x24a)),Z=require('@univerjs/docs-ui'),B=require(_0x714a18(0x187)),K=require('@univerjs/engine-render'),ye=require(_0x714a18(0x335)),ne=require(_0x714a18(0x236)),wt=require(_0x714a18(0x44e)),Re=require(_0x714a18(0x546)),ae=require(_0x714a18(0x59f)),jn=require(_0x714a18(0x3d4)),Xt='SNAPSHOT_SERVER_URL_KEY',$n=_0x714a18(0x229),Jt='SNAPSHOT_URL_KEY',Hn=_0x714a18(0x423),kn=0x7d0,Zt=_0x714a18(0x22e),Bn=_0x714a18(0x632),Wn='/universer-api/user/session-ticket',Qt='HEARTBEAT_INTERVAL',Fn=0x7530,It=_0x714a18(0x38e),en=0x4e20,Vn=0x4e20,tn=_0x714a18(0x4c2),Gn=0x3,nn='LOCAL_CACHE_INTERVAL',Yn=0x3e8,sn=_0x714a18(0x51d),Kn='/universer-api/comb',rn=_0x714a18(0x4ba),qn='/universer-api/oidc/authpage';var on=(_0x3ffa8c=>(_0x3ffa8c[_0x3ffa8c[_0x714a18(0x310)]=0x0]=_0x714a18(0x310),_0x3ffa8c[_0x3ffa8c['OK']=0x1]='OK',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x300)]=0x2]=_0x714a18(0x300),_0x3ffa8c[_0x3ffa8c['PERMISSION_DENIED']=0x3]=_0x714a18(0x309),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x61d)]=0x4]=_0x714a18(0x61d),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x620)]=0x5]='UNAUTHENTICATED',_0x3ffa8c[_0x3ffa8c['ALREADY_EXISTS']=0x6]=_0x714a18(0x411),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x49d)]=0x7]=_0x714a18(0x49d),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x35d)]=0x8]=_0x714a18(0x35d),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x1c1)]=0x9]=_0x714a18(0x1c1),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x2b9)]=0x1389]=_0x714a18(0x2b9),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x3b3)]=0x1771]=_0x714a18(0x3b3),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x443)]=0x1772]=_0x714a18(0x443),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x364)]=0x1773]=_0x714a18(0x364),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x4ee)]=0x1b59]=_0x714a18(0x4ee),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x259)]=0x1b5a]=_0x714a18(0x259),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x583)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x1f0)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x185)]=0x1b5d]=_0x714a18(0x185),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x1ed)]=0x1f41]=_0x714a18(0x1ed),_0x3ffa8c[_0x3ffa8c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3ffa8c[_0x3ffa8c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x714a18(0x522),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x402)]=0x232b]=_0x714a18(0x402),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x25f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3ffa8c[_0x3ffa8c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x714a18(0x5f6),_0x3ffa8c[_0x3ffa8c['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x5ae)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x5cf)]=0x2713]=_0x714a18(0x5cf),_0x3ffa8c[_0x3ffa8c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x5c2)]=-0x1]='UNRECOGNIZED',_0x3ffa8c))(on||{}),ie=(_0x1cf3c6=>(_0x1cf3c6[_0x1cf3c6['UNIVER_UNKNOWN']=0x0]=_0x714a18(0x2b1),_0x1cf3c6[_0x1cf3c6[_0x714a18(0x5ff)]=0x1]=_0x714a18(0x5ff),_0x1cf3c6[_0x1cf3c6['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1cf3c6[_0x1cf3c6[_0x714a18(0x3c4)]=0x3]=_0x714a18(0x3c4),_0x1cf3c6[_0x1cf3c6['UNIVER_PROJECT']=0x4]=_0x714a18(0x63d),_0x1cf3c6[_0x1cf3c6['UNRECOGNIZED']=-0x1]=_0x714a18(0x5c2),_0x1cf3c6))(ie||{}),G=(_0x361177=>(_0x361177[_0x361177[_0x714a18(0x60b)]=0x0]=_0x714a18(0x60b),_0x361177[_0x361177[_0x714a18(0x23b)]=0x1]='HELLO',_0x361177[_0x361177[_0x714a18(0x327)]=0x2]=_0x714a18(0x327),_0x361177[_0x361177['LEAVE']=0x3]=_0x714a18(0x466),_0x361177[_0x361177[_0x714a18(0x37b)]=0x4]='INGEST',_0x361177[_0x361177[_0x714a18(0x2c9)]=0x5]=_0x714a18(0x2c9),_0x361177[_0x361177['RECV']=0x6]=_0x714a18(0x293),_0x361177[_0x361177[_0x714a18(0x5c2)]=-0x1]=_0x714a18(0x5c2),_0x361177))(G||{}),Ct=(_0x2399f1=>(_0x2399f1[_0x2399f1[_0x714a18(0x3db)]=0x0]=_0x714a18(0x3db),_0x2399f1[_0x2399f1['OK']=0x1]='OK',_0x2399f1[_0x2399f1[_0x714a18(0x4b9)]=0x2]=_0x714a18(0x4b9),_0x2399f1[_0x2399f1[_0x714a18(0x354)]=0x3e9]=_0x714a18(0x354),_0x2399f1[_0x2399f1[_0x714a18(0x33f)]=0x3ea]=_0x714a18(0x33f),_0x2399f1[_0x2399f1['UNRECOGNIZED']=-0x1]=_0x714a18(0x5c2),_0x2399f1))(Ct||{}),an=(_0x5c5190=>(_0x5c5190[_0x5c5190['Undefined']=0x0]=_0x714a18(0x5f7),_0x5c5190[_0x5c5190['HttpImport']=0x1]='HttpImport',_0x5c5190[_0x5c5190[_0x714a18(0x325)]=0x2]='HttpExport',_0x5c5190[_0x5c5190['UnitEmbedded']=0x3]=_0x714a18(0x509),_0x5c5190[_0x5c5190[_0x714a18(0x5fd)]=0x4]=_0x714a18(0x5fd),_0x5c5190[_0x5c5190['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5c5190))(an||{});const ee=_0x714a18(0x62b),zn={};function cn(_0x295f9d){const _0x34ea7b=_0x714a18;var _0x52e19c,_0x3c2ef8,_0x13eb2b,_0x39115c,_0x12d53f;const _0x3ed680=_0x295f9d[_0x34ea7b(0x539)],_0x343832=JSON[_0x34ea7b(0x55a)](_0x3ed680);switch(_0x343832[_0x34ea7b(0x425)]){case G['HEARTBEAT']:case G['HELLO']:{const _0x571af3=_0x343832['infoRsp'];return{..._0x343832,'data':_0x571af3,'cmd':_0x343832[_0x34ea7b(0x425)]};}case G[_0x34ea7b(0x327)]:{const _0x1863c3=_0x343832[_0x34ea7b(0x5da)];return{..._0x343832,'data':_0x1863c3,'cmd':_0x343832['cmd']};}case G[_0x34ea7b(0x293)]:{const _0x36ae15=_0x343832[_0x34ea7b(0x2c0)];switch(_0x36ae15[_0x34ea7b(0x298)]){case p[_0x34ea7b(0x57d)][_0x34ea7b(0x640)]:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x52e19c=_0x36ae15['permissionRejEvent'])==null?void 0x0:_0x52e19c['cs']},'cmd':_0x343832['cmd']};case p[_0x34ea7b(0x57d)]['CHANGESET_ACK']:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x3c2ef8=_0x36ae15[_0x34ea7b(0x3b5)])==null?void 0x0:_0x3c2ef8['cs']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x203)]:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x13eb2b=_0x36ae15[_0x34ea7b(0x48f)])==null?void 0x0:_0x13eb2b['cs']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x477)]:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x39115c=_0x36ae15[_0x34ea7b(0x607)])==null?void 0x0:_0x39115c['cs']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x549)]:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x12d53f=_0x36ae15[_0x34ea7b(0x282)])==null?void 0x0:_0x12d53f['cs']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)]['UPDATE_CURSOR']:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x3d1)]},'cmd':_0x343832['cmd']};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x20c)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15['joinEvent']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)]['USERS_LEAVE']:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x401)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x35e)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x2a0)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p['CollaborationEvent'][_0x34ea7b(0x62d)]:case p[_0x34ea7b(0x57d)]['LIVESHARE_OPERATION']:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x3b8)]},'cmd':_0x343832['cmd']};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x3ec)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x2a0)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x46e)]:return{..._0x343832,'data':_0x36ae15,'cmd':_0x343832['cmd']};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x489)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x3c7)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x3e5)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x524)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x626)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x5e8)]},'cmd':_0x343832['cmd']};default:return _0x343832;}}default:return _0x343832;}}function ln(_0x59f9c2){const _0x1faea2=_0x714a18;switch(_0x59f9c2[_0x1faea2(0x425)]){case G[_0x1faea2(0x2c9)]:case G[_0x1faea2(0x23b)]:return JSON['stringify']({'cmd':_0x59f9c2[_0x1faea2(0x425)],'routeKey':_0x59f9c2[_0x1faea2(0x21c)]});case G[_0x1faea2(0x37b)]:{let _0x1b7fc0;switch(_0x59f9c2['data'][_0x1faea2(0x298)]){case p['CollaborationEvent']['UPDATE_CURSOR']:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x3bc)],'updateCursorEvent':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p['CollaborationEvent'][_0x1faea2(0x490)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x490)],'leaveEvent':_0x59f9c2['data'][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x20c)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)]['USERS_ENTER'],'joinEvent':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x35e)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x35e)],'liveShareNewHost':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x452)]:{_0x1b7fc0={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x3ec)]:{_0x1b7fc0={'eventID':p['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x59f9c2['data'][_0x1faea2(0x539)]};break;}case p['CollaborationEvent'][_0x1faea2(0x44c)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x44c)],'liveShareRequestHost':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x62d)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x62d)]};break;}default:_0x1b7fc0={'eventID':_0x59f9c2[_0x1faea2(0x539)]['eventID']};}return JSON['stringify']({'cmd':_0x59f9c2[_0x1faea2(0x425)],'routeKey':_0x59f9c2[_0x1faea2(0x21c)],'collaMsg':_0x1b7fc0});}case G[_0x1faea2(0x327)]:return JSON['stringify']({'cmd':_0x59f9c2[_0x1faea2(0x425)],'routeKey':_0x59f9c2[_0x1faea2(0x21c)],'joinReq':_0x59f9c2[_0x1faea2(0x539)]});case G[_0x1faea2(0x466)]:return JSON[_0x1faea2(0x570)]({'cmd':_0x59f9c2[_0x1faea2(0x425)],'routeKey':_0x59f9c2[_0x1faea2(0x21c)],'leaveReq':_0x59f9c2[_0x1faea2(0x539)]});default:throw new Error(_0x1faea2(0x38a));}}var Xn=Object[_0x714a18(0x1d2)],Jn=Object[_0x714a18(0x254)],Zn=(_0x514a1f,_0x1a55fc,_0x5c0125,_0x115a51)=>{const _0x275c6f=_0x714a18;for(var _0x2e734b=_0x115a51>0x1?void 0x0:_0x115a51?Jn(_0x1a55fc,_0x5c0125):_0x1a55fc,_0x25b4e6=_0x514a1f[_0x275c6f(0x5a6)]-0x1,_0x184c09;_0x25b4e6>=0x0;_0x25b4e6--)(_0x184c09=_0x514a1f[_0x25b4e6])&&(_0x2e734b=(_0x115a51?_0x184c09(_0x1a55fc,_0x5c0125,_0x2e734b):_0x184c09(_0x2e734b))||_0x2e734b);return _0x115a51&&_0x2e734b&&Xn(_0x1a55fc,_0x5c0125,_0x2e734b),_0x2e734b;},we=(_0x14f276,_0x44b730)=>(_0x383571,_0x11638b)=>_0x44b730(_0x383571,_0x11638b,_0x14f276);const Et=a[_0x714a18(0x2d1)](_0x714a18(0x3f1));function Qn(_0x2b1c61,_0x2ba92e,_0x49507c){const _0x2519f7=_0x714a18;return _0x2b1c61+'/'+_0x2ba92e+_0x2519f7(0x272)+_0x49507c+'/new_changes';}exports[_0x714a18(0x323)]=class extends a[_0x714a18(0x5aa)]{constructor(_0x460c24,_0x352772,_0x50dc46,_0xb70cb9,_0x304f26){const _0x1fa4e8=_0x714a18;super(),this[_0x1fa4e8(0x3f9)]=_0x460c24,this[_0x1fa4e8(0x409)]=_0x352772,this['_configService']=_0x50dc46,this['_logService']=_0xb70cb9,this[_0x1fa4e8(0x3e4)]=_0x304f26;}[_0x714a18(0x573)](_0x2052b8){const _0x46b56b=_0x714a18,_0x44c41e=this[_0x46b56b(0x409)]['createSocket'](_0x2052b8);if(!_0x44c41e)throw new Error(_0x46b56b(0x1cf));const _0x39b705=new a[(_0x46b56b(0x542))](),_0x50f6e5=new A[(_0x46b56b(0x47f))]();_0x39b705[_0x46b56b(0x2fc)](_0x44c41e[_0x46b56b(0x5ad)][_0x46b56b(0x47b)](_0xb7805b=>_0x50f6e5[_0x46b56b(0x5c5)](_0xb7805b))),_0x39b705[_0x46b56b(0x2fc)](a['toDisposable'](()=>_0x50f6e5[_0x46b56b(0x414)]()));const _0x558ecd=new A['Subject']();_0x39b705[_0x46b56b(0x2fc)](_0x44c41e[_0x46b56b(0x46d)][_0x46b56b(0x47b)](_0x5aad34=>_0x558ecd['next'](_0x5aad34))),_0x39b705[_0x46b56b(0x2fc)](a['toDisposable'](()=>_0x558ecd['complete']()));const _0x285b7a=new A['Subject']();_0x39b705[_0x46b56b(0x2fc)](_0x44c41e['message$'][_0x46b56b(0x47b)](_0x386204=>{const _0x57ef2f=_0x46b56b,_0x46bf8e=cn(_0x386204);_0x285b7a[_0x57ef2f(0x5c5)](_0x46bf8e);})),_0x39b705[_0x46b56b(0x2fc)](a[_0x46b56b(0x470)](()=>_0x285b7a[_0x46b56b(0x414)]()));let _0x37769c;const _0x200a8c=()=>{const _0x13c516=_0x46b56b;_0x558ecd[_0x13c516(0x5c5)](new Event(_0x13c516(0x34d))),_0x50f6e5[_0x13c516(0x5c5)](new CloseEvent(_0x13c516(0x34d))),_0x37769c['close']();};return _0x37769c={'memberID':'','close$':_0x50f6e5['asObservable'](),'error$':_0x558ecd[_0x46b56b(0x23c)](),'open$':_0x44c41e['open$'],'message$':_0x285b7a[_0x46b56b(0x23c)](),'send':_0x91a663=>{const _0x5898b1=_0x46b56b;if(_0x91a663['cmd']===G[_0x5898b1(0x37b)]){if(_0x91a663['data'][_0x5898b1(0x298)]===p[_0x5898b1(0x57d)][_0x5898b1(0x569)]){this[_0x5898b1(0x18b)](_0x37769c,_0x91a663[_0x5898b1(0x539)])[_0x5898b1(0x22a)](_0x5d784e=>{const _0x3474f3=_0x5898b1;this[_0x3474f3(0x5be)][_0x3474f3(0x4c3)](_0x5d784e),_0x200a8c();});return;}if(_0x91a663[_0x5898b1(0x539)][_0x5898b1(0x298)]===p[_0x5898b1(0x57d)][_0x5898b1(0x43c)]){const _0x28d4b3=_0x91a663[_0x5898b1(0x539)];this[_0x5898b1(0x5cb)](_0x28d4b3)[_0x5898b1(0x27c)](_0x56a91f=>{const _0x5f1371=_0x5898b1;_0x285b7a[_0x5f1371(0x5c5)]({'cmd':G[_0x5f1371(0x293)],'code':Ct['OK'],'routeKey':_0x28d4b3[_0x5f1371(0x539)][_0x5f1371(0x576)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x5f1371(0x1dc)],'data':{'changesets':_0x56a91f}}});})[_0x5898b1(0x22a)](_0x2fc516=>{const _0x295307=_0x5898b1;this[_0x295307(0x5be)]['error'](_0x2fc516),_0x200a8c();});return;}}_0x44c41e[_0x5898b1(0x4c5)](ln(_0x91a663));},'close':()=>{const _0x33b0cf=_0x46b56b;_0x44c41e[_0x33b0cf(0x1ce)](),_0x39b705[_0x33b0cf(0x19e)]();}},_0x37769c;}async[_0x714a18(0x18b)](_0x355c01,_0x5be3d8){const _0x5837a8=_0x714a18;var _0x670be2,_0x3bac1b;const {unitType:_0x2d88af,unitID:_0x5f39d1,changeset:_0x3c3f96}=_0x5be3d8[_0x5837a8(0x539)],_0x42f890={'unitID':_0x5f39d1,'memberID':_0x355c01[_0x5837a8(0x482)],'type':_0x2d88af,'changeset':p[_0x5837a8(0x545)](_0x3c3f96)},_0x2c948e=this['_configService'][_0x5837a8(0x49b)](sn),_0x3c77df=this[_0x5837a8(0x3dc)]['getConfig'](ee),_0x1e34df=Qn((_0x3bac1b=(_0x670be2=_0x3c77df==null?void 0x0:_0x3c77df[_0x5837a8(0x223)])!=null?_0x670be2:_0x2c948e)!=null?_0x3bac1b:Kn,_0x2d88af,_0x5f39d1);try{await this[_0x5837a8(0x3f9)]['post'](_0x1e34df,{'body':_0x42f890});}catch(_0x581737){throw this[_0x5837a8(0x5be)][_0x5837a8(0x4c3)](_0x5837a8(0x5a1),_0x5837a8(0x359)),_0x581737;}}async[_0x714a18(0x5cb)](_0xd822a5){const _0x2d9724=_0x714a18,{unitID:_0x428d80,from:_0x28e950,to:_0x43bd05,unitType:_0x2888f1}=_0xd822a5[_0x2d9724(0x539)];return(await this['_snapshotServerService'][_0x2d9724(0x5d1)]({'metadata':void 0x0},{'unitID':_0x428d80,'type':_0x2888f1,'from':_0x28e950,'to':_0x43bd05}))['changesets'];}},exports[_0x714a18(0x323)]=Zn([we(0x0,a['Inject'](J[_0x714a18(0x480)])),we(0x1,a[_0x714a18(0x5ce)](J[_0x714a18(0x23d)])),we(0x2,a[_0x714a18(0x292)]),we(0x3,a[_0x714a18(0x204)]),we(0x4,p[_0x714a18(0x53d)])],exports[_0x714a18(0x323)]);const ei=_0x714a18(0x5bb);function ti(_0x593dec){const _0x4de723=_0x714a18;return JSON[_0x4de723(0x570)](_0x593dec)[_0x4de723(0x5a6)];}class bt{constructor(){const _0x46b751=_0x714a18;I(this,_0x46b751(0x43b),new A[(_0x46b751(0x47f))]()),I(this,_0x46b751(0x291),this[_0x46b751(0x43b)][_0x46b751(0x23c)]());}[_0x714a18(0x26d)](_0x185b79){const _0x5f24cb=_0x714a18;this['_commentUpdate$'][_0x5f24cb(0x5c5)](_0x185b79);}}var ni=Object[_0x714a18(0x1d2)],ii=Object['getOwnPropertyDescriptor'],si=(_0x463535,_0x2d94ad,_0x231ea0,_0x5f27fe)=>{const _0x5e25ef=_0x714a18;for(var _0x1542ab=_0x5f27fe>0x1?void 0x0:_0x5f27fe?ii(_0x2d94ad,_0x231ea0):_0x2d94ad,_0x282c11=_0x463535[_0x5e25ef(0x5a6)]-0x1,_0x2a6c48;_0x282c11>=0x0;_0x282c11--)(_0x2a6c48=_0x463535[_0x282c11])&&(_0x1542ab=(_0x5f27fe?_0x2a6c48(_0x2d94ad,_0x231ea0,_0x1542ab):_0x2a6c48(_0x1542ab))||_0x1542ab);return _0x5f27fe&&_0x1542ab&&ni(_0x2d94ad,_0x231ea0,_0x1542ab),_0x1542ab;},Pt=(_0x5e5af8,_0x4452ab)=>(_0x560fc7,_0x40090f)=>_0x4452ab(_0x560fc7,_0x40090f,_0x5e5af8);exports[_0x714a18(0x1f1)]=class extends a[_0x714a18(0x5aa)]{constructor(_0x416387,_0xd0e54e){const _0x4c5bb9=_0x714a18;super(),I(this,'_roomMembers',new Map()),(this[_0x4c5bb9(0x4c0)]=_0x416387,this[_0x4c5bb9(0x40d)]=_0xd0e54e,this[_0x4c5bb9(0x580)](a[_0x4c5bb9(0x470)](A[_0x4c5bb9(0x3ea)](this[_0x4c5bb9(0x4c0)][_0x4c5bb9(0x5ef)](a[_0x4c5bb9(0x3ab)]['UNIVER_SHEET'])[_0x4c5bb9(0x52c)](V[_0x4c5bb9(0x556)](_0x754084=>_0x754084[_0x4c5bb9(0x2e0)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x4c5bb9(0x3ab)][_0x4c5bb9(0x5ff)])[_0x4c5bb9(0x52c)](V['map'](_0x1c2a88=>_0x1c2a88['getUnitId']())),this[_0x4c5bb9(0x4c0)][_0x4c5bb9(0x5ef)](a[_0x4c5bb9(0x3ab)][_0x4c5bb9(0x3c4)])[_0x4c5bb9(0x52c)](V[_0x4c5bb9(0x556)](_0x4861b7=>_0x4861b7[_0x4c5bb9(0x2e0)]())))[_0x4c5bb9(0x47b)](_0x2d88f0=>this[_0x4c5bb9(0x3ad)](_0x2d88f0)))));}[_0x714a18(0x37c)](_0x220f52){const _0x1288bd=_0x714a18;this[_0x1288bd(0x40d)][_0x1288bd(0x37c)](_0x220f52);}[_0x714a18(0x176)](){const _0x11f3aa=_0x714a18;return this[_0x11f3aa(0x40d)][_0x11f3aa(0x176)]();}[_0x714a18(0x43f)](_0x16e3c6,_0x20e8ef){const _0x48de36=_0x714a18;let _0x1961cd=this[_0x48de36(0x3f4)][_0x48de36(0x1bc)](_0x16e3c6);_0x1961cd||(_0x1961cd=new ri(),this[_0x48de36(0x3f4)]['set'](_0x16e3c6,_0x1961cd)),_0x1961cd[_0x48de36(0x43f)](_0x20e8ef);}['removeMember'](_0x316ab0,_0x17b120){const _0x37e374=_0x714a18,_0x80d8c=this[_0x37e374(0x3f4)]['get'](_0x316ab0);_0x80d8c&&_0x80d8c[_0x37e374(0x54d)](_0x17b120);}[_0x714a18(0x2e6)](_0x1d3d57){const _0x1130c4=_0x714a18;return this[_0x1130c4(0x3f4)]['get'](_0x1d3d57);}['getMember'](_0x2e5eec,_0x24682e){const _0x302210=_0x714a18,_0x333782=this[_0x302210(0x3f4)][_0x302210(0x1bc)](_0x2e5eec);if(_0x333782)return _0x333782['getMember'](_0x24682e);}[_0x714a18(0x3ad)](_0x2fb893){const _0x1fa28f=_0x714a18,_0x452f6f=this['_roomMembers']['get'](_0x2fb893);_0x452f6f&&(_0x452f6f[_0x1fa28f(0x19e)](),this[_0x1fa28f(0x3f4)]['delete'](_0x2fb893));}['dispose'](){const _0x268b5a=_0x714a18;this[_0x268b5a(0x3f4)][_0x268b5a(0x39e)](_0x56bd3b=>_0x56bd3b[_0x268b5a(0x19e)]()),this[_0x268b5a(0x3f4)][_0x268b5a(0x442)]();}},exports[_0x714a18(0x1f1)]=si([Pt(0x0,a[_0x714a18(0x617)]),Pt(0x1,a[_0x714a18(0x5ce)](a[_0x714a18(0x5ba)]))],exports[_0x714a18(0x1f1)]);class ri extends a[_0x714a18(0x5aa)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x714a18(0x19e)](){this['_members']['clear']();}[_0x714a18(0x43f)](_0x2844f5){const _0x5b4bdb=_0x714a18;this[_0x5b4bdb(0x29c)][_0x5b4bdb(0x3d0)](_0x2844f5[_0x5b4bdb(0x482)],_0x2844f5);}[_0x714a18(0x54d)](_0x86cc6c){const _0x40f839=_0x714a18;this['_members'][_0x40f839(0x57c)](_0x86cc6c);}[_0x714a18(0x629)](_0x8ad1d9){const _0x5e35bf=_0x714a18;return this[_0x5e35bf(0x29c)][_0x5e35bf(0x1bc)](_0x8ad1d9);}[_0x714a18(0x571)](){const _0x1d8804=_0x714a18;return Array['from'](this['_members'][_0x1d8804(0x40c)]());}}var oi=Object[_0x714a18(0x1d2)],ai=Object['getOwnPropertyDescriptor'],ci=(_0x27d17d,_0x1cfae2,_0x140aff,_0x26cf96)=>{const _0xf6f08f=_0x714a18;for(var _0x5ab8ab=_0x26cf96>0x1?void 0x0:_0x26cf96?ai(_0x1cfae2,_0x140aff):_0x1cfae2,_0x1837e0=_0x27d17d[_0xf6f08f(0x5a6)]-0x1,_0x1e8e3e;_0x1837e0>=0x0;_0x1837e0--)(_0x1e8e3e=_0x27d17d[_0x1837e0])&&(_0x5ab8ab=(_0x26cf96?_0x1e8e3e(_0x1cfae2,_0x140aff,_0x5ab8ab):_0x1e8e3e(_0x5ab8ab))||_0x5ab8ab);return _0x26cf96&&_0x5ab8ab&&oi(_0x1cfae2,_0x140aff,_0x5ab8ab),_0x5ab8ab;},de=(_0x51b81c,_0x3cfeab)=>(_0x2499b9,_0x1f093f)=>_0x3cfeab(_0x2499b9,_0x1f093f,_0x51b81c),se=(_0x3ec924=>(_0x3ec924[_0x3ec924[_0x714a18(0x382)]=0x0]=_0x714a18(0x382),_0x3ec924[_0x3ec924[_0x714a18(0x212)]=0x1]='JOINING',_0x3ec924[_0x3ec924[_0x714a18(0x3c6)]=0x2]='OFFLINE',_0x3ec924[_0x3ec924['ONLINE']=0x3]=_0x714a18(0x32f),_0x3ec924))(se||{});exports[_0x714a18(0x31b)]=class extends a['RxDisposable']{constructor(_0x100759,_0x50a45e,_0x2328e7,_0x11dcdd,_0x7f2712,_0x4acebd,_0x33c9c4,_0xcdfaf1,_0xb8fb41,_0x49223){const _0x2bdca6=_0x714a18;super(),I(this,_0x2bdca6(0x270),new A[(_0x2bdca6(0x638))](0x0)),I(this,_0x2bdca6(0x25c),this[_0x2bdca6(0x270)][_0x2bdca6(0x23c)]()),I(this,_0x2bdca6(0x1dd),new A[(_0x2bdca6(0x47f))]()),I(this,_0x2bdca6(0x55f),this['_event$'][_0x2bdca6(0x23c)]()),I(this,_0x2bdca6(0x322)),I(this,_0x2bdca6(0x29b)),I(this,'_collaborationTimeoutTimer'),I(this,'_shouldReportTelemetry',!0x1),I(this,'_telemetryInfo',null),(this[_0x2bdca6(0x1ab)]=_0x100759,this[_0x2bdca6(0x5be)]=_0x2328e7,this['_beforeCloseService']=_0x11dcdd,this[_0x2bdca6(0x636)]=_0x7f2712,this[_0x2bdca6(0x3dc)]=_0x4acebd,this[_0x2bdca6(0x467)]=_0x33c9c4,this[_0x2bdca6(0x4bc)]=_0xcdfaf1,this[_0x2bdca6(0x534)]=_0xb8fb41,this[_0x2bdca6(0x495)]=_0x49223,this[_0x2bdca6(0x3e7)]=!!this[_0x2bdca6(0x495)],_0x50a45e[_0x2bdca6(0x52c)](A['takeUntil'](this[_0x2bdca6(0x417)]))['subscribe'](_0x35c9d6=>{const _0x5c2ad4=_0x2bdca6;var _0x1c67e8;typeof _0x35c9d6>'u'||(this[_0x5c2ad4(0x322)]=_0x35c9d6,_0x35c9d6?(this[_0x5c2ad4(0x58f)](_0x35c9d6),this[_0x5c2ad4(0x29b)]=_0x35c9d6['message$'][_0x5c2ad4(0x47b)](_0x4e0fd3=>{const _0x3e8224=_0x5c2ad4;_0x4e0fd3[_0x3e8224(0x21c)]===this['_unitID']&&this[_0x3e8224(0x3fe)](_0x4e0fd3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5c2ad4(0x270)]['next'](0x2),(_0x1c67e8=this[_0x5c2ad4(0x29b)])==null||_0x1c67e8[_0x5c2ad4(0x1f9)](),this['_socketMessageSubscription']=null));}),this[_0x2bdca6(0x580)](this[_0x2bdca6(0x52d)]['registerOnClose'](()=>{const _0x55a819=_0x2bdca6;var _0x352cad;(_0x352cad=this[_0x55a819(0x322)])==null||_0x352cad[_0x55a819(0x4c5)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x440481=_0x714a18;return this['_sessionStatus$'][_0x440481(0x416)]();}[_0x714a18(0x2d0)](){const _0x3d0e6b=_0x714a18;var _0x217468,_0x4ef86a;return(_0x4ef86a=(_0x217468=this[_0x3d0e6b(0x322)])==null?void 0x0:_0x217468['memberID'])!=null?_0x4ef86a:null;}['dispose'](){const _0x11f27d=_0x714a18;super['dispose'](),this[_0x11f27d(0x417)][_0x11f27d(0x5c5)](),this[_0x11f27d(0x417)][_0x11f27d(0x414)]();}['close'](){const _0x5c19d3=_0x714a18;var _0x1c2633,_0x374225;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1c2633=this[_0x5c19d3(0x322)])==null||_0x1c2633[_0x5c19d3(0x4c5)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x5c19d3(0x1ab)]}}),(_0x374225=this[_0x5c19d3(0x322)])==null||_0x374225[_0x5c19d3(0x1ce)](),this[_0x5c19d3(0x1dd)][_0x5c19d3(0x414)](),this[_0x5c19d3(0x270)][_0x5c19d3(0x414)](),this[_0x5c19d3(0x19e)]();}[_0x714a18(0x3fe)](_0x164d7a){const _0x779e41=_0x714a18;_0x164d7a[_0x779e41(0x425)]===G[_0x779e41(0x327)]?this[_0x779e41(0x301)](_0x164d7a):_0x164d7a[_0x779e41(0x425)]===G[_0x779e41(0x293)]&&this[_0x779e41(0x5a8)](_0x164d7a);}[_0x714a18(0x58f)](_0x7d142e){const _0x1d42b3=_0x714a18;this[_0x1d42b3(0x270)][_0x1d42b3(0x5c5)](0x1),_0x7d142e[_0x1d42b3(0x4c5)]({'cmd':G[_0x1d42b3(0x327)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1d42b3(0x1ab)]}]}});}[_0x714a18(0x301)](_0x53e1c4){const _0xc759f1=_0x714a18;var _0x2978b6;if(_0x53e1c4[_0xc759f1(0x3e1)]===Ct[_0xc759f1(0x4b9)]){this['_messageService'][_0xc759f1(0x26f)]({'type':Ie[_0xc759f1(0x4b3)][_0xc759f1(0x21a)],'content':this[_0xc759f1(0x467)]['t']('session.room-full')}),this['_sessionStatus$'][_0xc759f1(0x5c5)](0x2);return;}this[_0xc759f1(0x270)][_0xc759f1(0x5c5)](0x3);const _0x21f386=(_0x2978b6=_0x53e1c4[_0xc759f1(0x539)][_0xc759f1(0x5d3)][this[_0xc759f1(0x1ab)]])==null?void 0x0:_0x2978b6['members'];_0x21f386&&_0x21f386[_0xc759f1(0x39e)](_0x45c37c=>this[_0xc759f1(0x4bc)][_0xc759f1(0x43f)](this[_0xc759f1(0x1ab)],_0x45c37c));}['_onRecvEvent'](_0x18b1a0){const _0xd7b2ca=_0x714a18;try{const _0x1bb65e=_0x18b1a0[_0xd7b2ca(0x539)];switch(_0x1bb65e['eventID']){case p[_0xd7b2ca(0x57d)][_0xd7b2ca(0x20c)]:this['_onUserJoin'](_0x1bb65e),this['_event$'][_0xd7b2ca(0x5c5)](_0x1bb65e);break;case p[_0xd7b2ca(0x57d)][_0xd7b2ca(0x490)]:this[_0xd7b2ca(0x315)](_0x1bb65e),this[_0xd7b2ca(0x1dd)][_0xd7b2ca(0x5c5)](_0x1bb65e);break;case p[_0xd7b2ca(0x57d)][_0xd7b2ca(0x211)]:case p[_0xd7b2ca(0x57d)]['CHANGESET_SHOULD_RETRY']:this[_0xd7b2ca(0x1a6)](),this[_0xd7b2ca(0x368)](),this[_0xd7b2ca(0x1dd)][_0xd7b2ca(0x5c5)](_0x1bb65e);break;case p['CollaborationEvent'][_0xd7b2ca(0x46e)]:this[_0xd7b2ca(0x5be)][_0xd7b2ca(0x4c3)](_0xd7b2ca(0x3cc)+JSON[_0xd7b2ca(0x570)](_0x1bb65e)),this[_0xd7b2ca(0x1dd)][_0xd7b2ca(0x5c5)](_0x1bb65e);break;case p[_0xd7b2ca(0x57d)][_0xd7b2ca(0x489)]:this[_0xd7b2ca(0x534)]['onCommentUpdate'](_0x1bb65e['data']),this['_event$'][_0xd7b2ca(0x5c5)](_0x1bb65e);break;default:this[_0xd7b2ca(0x1dd)][_0xd7b2ca(0x5c5)](_0x1bb65e);}}catch(_0x33008f){this[_0xd7b2ca(0x5be)][_0xd7b2ca(0x4c3)](_0x33008f,_0x18b1a0);}}[_0x714a18(0x52a)](_0x25de06){const _0x3b03f3=_0x714a18;this[_0x3b03f3(0x4bc)][_0x3b03f3(0x43f)](this[_0x3b03f3(0x1ab)],_0x25de06['data']);}['_onUserLeave'](_0x128cbd){const _0x2d5681=_0x714a18;this[_0x2d5681(0x4bc)][_0x2d5681(0x54d)](this['_unitID'],_0x128cbd[_0x2d5681(0x539)]['memberID']);}async['send'](_0x15be17,_0x4269c7){const _0x5e2f45=_0x714a18;if(this[_0x5e2f45(0x242)]!==0x3||!this[_0x5e2f45(0x322)])throw new Error(_0x5e2f45(0x4dc));try{_0x15be17[_0x5e2f45(0x298)]===p[_0x5e2f45(0x57d)][_0x5e2f45(0x569)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5e2f45(0x58a)](_0x15be17)),this[_0x5e2f45(0x322)][_0x5e2f45(0x4c5)]({'cmd':G['INGEST'],'routeKey':_0x4269c7,'routeType':'','data':_0x15be17});}catch(_0x30fb7a){this[_0x5e2f45(0x5be)]['error'](_0x30fb7a);}}[_0x714a18(0x604)](){const _0x384f69=_0x714a18;var _0x1006ca;this[_0x384f69(0x57a)]=window[_0x384f69(0x339)](()=>{const _0x395ae5=_0x384f69;this[_0x395ae5(0x57a)]=null,this[_0x395ae5(0x636)][_0x395ae5(0x26f)]({'type':Ie[_0x395ae5(0x4b3)]['Error'],'content':this[_0x395ae5(0x467)]['t'](_0x395ae5(0x538))});},(_0x1006ca=this[_0x384f69(0x3dc)][_0x384f69(0x49b)](It))!=null?_0x1006ca:en);}[_0x714a18(0x368)](){const _0x551bdd=_0x714a18;this[_0x551bdd(0x57a)]&&(clearTimeout(this[_0x551bdd(0x57a)]),this['_collaborationTimeoutTimer']=null);}[_0x714a18(0x58a)](_0x2861eb){const _0x57d8ca=_0x714a18;if(!this['_shouldReportTelemetry'])return;const {data:_0x363ba0}=_0x2861eb,{unitID:_0x1a346d,changeset:_0x2bcfa3}=_0x363ba0,{mutations:_0x93ad5c,type:_0x384ba9}=_0x2bcfa3;this[_0x57d8ca(0x483)]={'unitId':_0x1a346d,'type':_0x384ba9,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x93ad5c)};}[_0x714a18(0x1a6)](){const _0x22c728=_0x714a18;if(this[_0x22c728(0x3e7)]){if(!this['_telemetryInfo']){this[_0x22c728(0x5be)][_0x22c728(0x4c3)](_0x22c728(0x5a1),_0x22c728(0x397));return;}this[_0x22c728(0x483)][_0x22c728(0x62f)]=performance[_0x22c728(0x180)](),this[_0x22c728(0x483)][_0x22c728(0x2c8)]=this['_telemetryInfo'][_0x22c728(0x62f)]-this[_0x22c728(0x483)][_0x22c728(0x5b0)],this['_telemetryService']['capture'](ei,this['_telemetryInfo']),this[_0x22c728(0x483)]=null;}}[_0x714a18(0x404)](){this['_telemetryInfo']=null;}},exports[_0x714a18(0x31b)]=ci([de(0x2,a['ILogService']),de(0x3,te[_0x714a18(0x4ac)]),de(0x4,te['IMessageService']),de(0x5,a[_0x714a18(0x292)]),de(0x6,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),de(0x7,a['Inject'](exports[_0x714a18(0x1f1)])),de(0x8,a[_0x714a18(0x5ce)](bt)),de(0x9,a[_0x714a18(0x600)](xn[_0x714a18(0x3ed)]))],exports[_0x714a18(0x31b)]);var li=Object[_0x714a18(0x1d2)],hi=Object[_0x714a18(0x254)],_i=(_0x11bf38,_0x59e6cd,_0x293adc,_0xfb13f2)=>{const _0x1fbc35=_0x714a18;for(var _0x1b5de1=_0xfb13f2>0x1?void 0x0:_0xfb13f2?hi(_0x59e6cd,_0x293adc):_0x59e6cd,_0x3f852c=_0x11bf38[_0x1fbc35(0x5a6)]-0x1,_0x12013c;_0x3f852c>=0x0;_0x3f852c--)(_0x12013c=_0x11bf38[_0x3f852c])&&(_0x1b5de1=(_0xfb13f2?_0x12013c(_0x59e6cd,_0x293adc,_0x1b5de1):_0x12013c(_0x1b5de1))||_0x1b5de1);return _0xfb13f2&&_0x1b5de1&&li(_0x59e6cd,_0x293adc,_0x1b5de1),_0x1b5de1;},pe=(_0x2dab56,_0x13ca82)=>(_0xa8e063,_0x28c22d)=>_0x13ca82(_0xa8e063,_0x28c22d,_0x2dab56);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x3adac3,_0x198292,_0x102c4f,_0x53b7a6,_0x35a542,_0x287427,_0x41fa3a){const _0xa9610d=_0x714a18;super(),I(this,'_socket$',new A[(_0xa9610d(0x638))](void 0x0)),I(this,_0xa9610d(0x2ba),this[_0xa9610d(0x355)][_0xa9610d(0x23c)]()),I(this,'_candidateSocket',null),I(this,_0xa9610d(0x5b5),new Map()),I(this,_0xa9610d(0x56c),new A['BehaviorSubject'](se['IDLE'])),I(this,_0xa9610d(0x37e),this['_status$'][_0xa9610d(0x23c)]()),I(this,_0xa9610d(0x20b),!0x1),I(this,_0xa9610d(0x1bd)),I(this,_0xa9610d(0x2d4),0x0),I(this,_0xa9610d(0x530)),I(this,_0xa9610d(0x479)),(this['_injector']=_0x3adac3,this[_0xa9610d(0x467)]=_0x198292,this[_0xa9610d(0x636)]=_0x102c4f,this['_logService']=_0x53b7a6,this[_0xa9610d(0x3dc)]=_0x35a542,this[_0xa9610d(0x2de)]=_0x287427,this['_httpService']=_0x41fa3a,this['_initEventListeners']());}get['_socket'](){const _0x2f86e2=_0x714a18;return this[_0x2f86e2(0x355)][_0x2f86e2(0x416)]();}[_0x714a18(0x1b8)](){const _0x229d87=_0x714a18;this['_listenToOfflineEvent'](),this[_0x229d87(0x2cc)]();}[_0x714a18(0x19e)](){const _0x2463e5=_0x714a18;super[_0x2463e5(0x19e)](),this[_0x2463e5(0x5b5)][_0x2463e5(0x39e)](_0x398504=>_0x398504[_0x2463e5(0x19e)]()),this['_sessions']['clear'](),this[_0x2463e5(0x56c)][_0x2463e5(0x414)]();}async[_0x714a18(0x49f)](_0x5a700e){const _0x5093c2=_0x714a18;if(this[_0x5093c2(0x5b5)][_0x5093c2(0x21d)](_0x5a700e))return this[_0x5093c2(0x5b5)][_0x5093c2(0x1bc)](_0x5a700e);this[_0x5093c2(0x2ef)]();const _0x535b5d=this[_0x5093c2(0x5eb)]['createInstance'](exports[_0x5093c2(0x31b)],_0x5a700e,this[_0x5093c2(0x355)][_0x5093c2(0x23c)]());return this['_sessions'][_0x5093c2(0x3d0)](_0x5a700e,_0x535b5d),_0x535b5d;}['closeSession'](_0x1d8680){const _0x2e326f=_0x714a18;var _0xce0a8f;const _0x4bf5c1=this['_sessions']['get'](_0x1d8680);_0x4bf5c1&&(this[_0x2e326f(0x5b5)][_0x2e326f(0x57c)](_0x1d8680),_0x4bf5c1[_0x2e326f(0x1ce)]()),this[_0x2e326f(0x5b5)][_0x2e326f(0x226)]||(_0xce0a8f=this[_0x2e326f(0x322)])==null||_0xce0a8f[_0x2e326f(0x1ce)]();}[_0x714a18(0x287)](){const _0x246d79=_0x714a18;this[_0x246d79(0x2d4)]=0x0,this[_0x246d79(0x1bd)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x246d79(0x1bd)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){const _0x24bbdd=_0x714a18;var _0x3fda95,_0xf4e9db,_0x405a6c;const _0x437ae4=this[_0x24bbdd(0x3dc)]['getConfig'](ee),_0x526677=(_0x3fda95=_0x437ae4==null?void 0x0:_0x437ae4[_0x24bbdd(0x5a2)])!=null?_0x3fda95:Wn;return(_0x405a6c=(_0xf4e9db=(await this[_0x24bbdd(0x4a7)][_0x24bbdd(0x1bc)](_0x526677,{'headers':{'Content-Type':_0x24bbdd(0x5b4)}}))[_0x24bbdd(0x1ee)])==null?void 0x0:_0xf4e9db[_0x24bbdd(0x239)])!=null?_0x405a6c:'';}[_0x714a18(0x4e0)](_0x5943dd){const _0x230e81=_0x714a18;var _0x483afd,_0x3926cb;const _0x2cddbe=this[_0x230e81(0x3dc)][_0x230e81(0x49b)](Zt),_0x28daeb=this[_0x230e81(0x3dc)][_0x230e81(0x49b)](ee),_0x1a1239=(_0x3926cb=(_0x483afd=_0x28daeb==null?void 0x0:_0x28daeb['collabWebSocketUrl'])!=null?_0x483afd:_0x2cddbe)!=null?_0x3926cb:Bn,_0x1aba4c=new URL(_0x1a1239,window[_0x230e81(0x1da)]['origin']);return _0x1aba4c['searchParams']['set'](_0x230e81(0x3fd),_0x5943dd),_0x1aba4c['toString']();}async[_0x714a18(0x2a8)](){const _0x50df32=_0x714a18,_0x63ab14=await this[_0x50df32(0x5ab)](),_0x420d82=this[_0x50df32(0x4e0)](_0x63ab14),_0xd695b9=this[_0x50df32(0x2de)][_0x50df32(0x573)](_0x420d82);return this[_0x50df32(0x1a1)]=_0xd695b9,_0xd695b9;}async[_0x714a18(0x2ef)](){const _0x519a67=_0x714a18;var _0x42945c,_0x2df875;try{const _0x1a9a95=(_0x2df875=(_0x42945c=this[_0x519a67(0x322)])!=null?_0x42945c:this[_0x519a67(0x1a1)])!=null?_0x2df875:await this[_0x519a67(0x2a8)]();if(_0x1a9a95){const _0x3e5b19=_0x1a9a95[_0x519a67(0x4c5)];_0x1a9a95[_0x519a67(0x4c5)]=_0xaca677=>(this['_rescheduleHeartbeat'](),_0x3e5b19[_0x519a67(0x275)](_0x1a9a95,[_0xaca677])),_0x1a9a95[_0x519a67(0x585)][_0x519a67(0x47b)](_0x29f6b7=>this[_0x519a67(0x465)](_0x1a9a95,_0x29f6b7)),_0x1a9a95['error$'][_0x519a67(0x52c)](V[_0x519a67(0x473)](0x1))['subscribe'](_0x1bb907=>this['_logService'][_0x519a67(0x4c3)](_0x519a67(0x486),_0x1bb907)),_0x1a9a95[_0x519a67(0x584)][_0x519a67(0x52c)](V['take'](0x1))['subscribe'](()=>{const _0x3614f5=_0x519a67;this[_0x3614f5(0x5de)](_0x1a9a95);}),_0x1a9a95[_0x519a67(0x5ad)]['pipe'](V['take'](0x1))['subscribe'](_0xfe5f97=>{const _0x6603f8=_0x519a67;this['_logService']['debug'](_0x6603f8(0x61f),_0x6603f8(0x1c0),_0xfe5f97),this[_0x6603f8(0x521)]();});}}catch(_0x126519){this['_logService'][_0x519a67(0x4c3)](_0x126519),this['_onConnectionFailed']();}}[_0x714a18(0x5de)](_0x4f6df7){const _0x4019f8=_0x714a18;this[_0x4019f8(0x5be)][_0x4019f8(0x188)](_0x4019f8(0x61f),_0x4019f8(0x55e)),_0x4f6df7[_0x4019f8(0x4c5)]({'cmd':G['HELLO']}),this[_0x4019f8(0x1de)]();}[_0x714a18(0x3a3)](){const _0x460a4c=_0x714a18;window['addEventListener'](_0x460a4c(0x528),()=>this[_0x460a4c(0x56e)]());}[_0x714a18(0x56e)](){const _0x44b194=_0x714a18;this['_socketReady']=!0x1,this[_0x44b194(0x1a1)]=null,this[_0x44b194(0x56c)][_0x44b194(0x5c5)](se[_0x44b194(0x3c6)]),this[_0x44b194(0x355)][_0x44b194(0x5c5)](null),this[_0x44b194(0x1d0)](),this[_0x44b194(0x5d5)]();}['_onConnectionFailed'](){const _0x1bb9f3=_0x714a18;var _0x40374d;this[_0x1bb9f3(0x56e)](),this[_0x1bb9f3(0x2d4)]<((_0x40374d=this['_configService'][_0x1bb9f3(0x49b)](tn))!=null?_0x40374d:Gn)?(this[_0x1bb9f3(0x636)][_0x1bb9f3(0x26f)]({'key':'collaboration-session-retry','type':Ie[_0x1bb9f3(0x4b3)][_0x1bb9f3(0x21a)],'content':this[_0x1bb9f3(0x467)]['t'](_0x1bb9f3(0x330))}),this[_0x1bb9f3(0x2ab)]()):this[_0x1bb9f3(0x636)][_0x1bb9f3(0x26f)]({'key':_0x1bb9f3(0x501),'type':Ie[_0x1bb9f3(0x4b3)][_0x1bb9f3(0x63a)],'content':this[_0x1bb9f3(0x467)]['t'](_0x1bb9f3(0x59e))});}['_listenToOnlineEvent'](){const _0x3ec594=_0x714a18,_0xb8174=()=>{const _0x27a1d1=_0x420c;this[_0x27a1d1(0x322)]||this['reconnect']();},_0x323c3d=()=>{const _0x20e2c3=_0x420c;this[_0x20e2c3(0x322)]||document[_0x20e2c3(0x5a7)]===_0x20e2c3(0x3df)||this[_0x20e2c3(0x287)]();};window[_0x3ec594(0x4e4)](_0x3ec594(0x548),_0xb8174),document['addEventListener'](_0x3ec594(0x4cd),_0x323c3d);}[_0x714a18(0x2ab)](){const _0x1f131f=_0x714a18;var _0x13d7dd;const _0x4888f3=this[_0x1f131f(0x2d4)],_0x21b3e1=this['_configService'][_0x1f131f(0x49b)](ee),_0x4493d5=_0x4888f3===0x0?0x0:((_0x13d7dd=_0x21b3e1==null?void 0x0:_0x21b3e1[_0x1f131f(0x550)])!=null?_0x13d7dd:Vn)*0x2**_0x4888f3;this[_0x1f131f(0x1bd)]=window[_0x1f131f(0x339)](()=>{const _0x532d9e=_0x1f131f;clearTimeout(this['_retryConnectingTimer']),this[_0x532d9e(0x1bd)]=null,this[_0x532d9e(0x2ef)]();},_0x4493d5),this[_0x1f131f(0x2d4)]+=0x1;}['_onMessage'](_0x365315,_0x2167d1){const _0x2e3cea=_0x714a18,{cmd:_0x458788}=_0x2167d1;_0x458788===G[_0x2e3cea(0x23b)]&&!this[_0x2e3cea(0x20b)]&&(_0x365315[_0x2e3cea(0x482)]=_0x2167d1[_0x2e3cea(0x539)][_0x2e3cea(0x482)],this[_0x2e3cea(0x355)][_0x2e3cea(0x5c5)](_0x365315),this['_status$'][_0x2e3cea(0x5c5)](se[_0x2e3cea(0x32f)]),this[_0x2e3cea(0x20b)]=!0x0,this['_candidateSocket']=null),_0x458788===G['HEARTBEAT']&&this[_0x2e3cea(0x1d0)](),this[_0x2e3cea(0x1de)]();}[_0x714a18(0x1de)](){const _0x335a53=_0x714a18;var _0x2d0085;this[_0x335a53(0x5d5)](),this[_0x335a53(0x530)]=window[_0x335a53(0x339)](()=>this[_0x335a53(0x28c)](),(_0x2d0085=this[_0x335a53(0x3dc)]['getConfig'](Qt))!=null?_0x2d0085:Fn);}[_0x714a18(0x28c)](){const _0x82e5a4=_0x714a18;this[_0x82e5a4(0x322)][_0x82e5a4(0x4c5)]({'cmd':G[_0x82e5a4(0x2c9)]}),this[_0x82e5a4(0x343)]();}['_waitForHeartbeatResponse'](){const _0x4fd905=_0x714a18;var _0x474c22;this[_0x4fd905(0x479)]=window[_0x4fd905(0x339)](()=>this['_onConnectionFailed'](),(_0x474c22=this[_0x4fd905(0x3dc)][_0x4fd905(0x49b)](It))!=null?_0x474c22:en);}[_0x714a18(0x5d5)](){const _0x4d62ee=_0x714a18;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x4d62ee(0x530)]=null);}['_clearTimeoutTimer'](){const _0x11b5af=_0x714a18;this[_0x11b5af(0x479)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x11b5af(0x479)]=null);}},exports[_0x714a18(0x3c2)]=_i([pe(0x0,a[_0x714a18(0x5ce)](a['Injector'])),pe(0x1,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),pe(0x2,te[_0x714a18(0x32c)]),pe(0x3,a['ILogService']),pe(0x4,a[_0x714a18(0x292)]),pe(0x5,Et),pe(0x6,a[_0x714a18(0x5ce)](J[_0x714a18(0x480)]))],exports[_0x714a18(0x3c2)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x714a18(0x5a9)]((s+0x100)[_0x714a18(0x5b9)](0x10)['slice'](0x1));function ui(_0x271dd8,_0x50ff15=0x0){const _0x54b2b4=_0x714a18;return(Y[_0x271dd8[_0x50ff15+0x0]]+Y[_0x271dd8[_0x50ff15+0x1]]+Y[_0x271dd8[_0x50ff15+0x2]]+Y[_0x271dd8[_0x50ff15+0x3]]+'-'+Y[_0x271dd8[_0x50ff15+0x4]]+Y[_0x271dd8[_0x50ff15+0x5]]+'-'+Y[_0x271dd8[_0x50ff15+0x6]]+Y[_0x271dd8[_0x50ff15+0x7]]+'-'+Y[_0x271dd8[_0x50ff15+0x8]]+Y[_0x271dd8[_0x50ff15+0x9]]+'-'+Y[_0x271dd8[_0x50ff15+0xa]]+Y[_0x271dd8[_0x50ff15+0xb]]+Y[_0x271dd8[_0x50ff15+0xc]]+Y[_0x271dd8[_0x50ff15+0xd]]+Y[_0x271dd8[_0x50ff15+0xe]]+Y[_0x271dd8[_0x50ff15+0xf]])[_0x54b2b4(0x1bb)]();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x52b03c=_0x714a18;if(!Je){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto['getRandomValues'][_0x52b03c(0x48e)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x714a18(0x37d)]&&crypto['randomUUID']['bind'](crypto),Ut={'randomUUID':vi};function Si(_0x1d082d,_0xe6338c,_0x3a1224){const _0x5d0142=_0x714a18;if(Ut[_0x5d0142(0x37d)]&&!_0xe6338c&&!_0x1d082d)return Ut[_0x5d0142(0x37d)]();_0x1d082d=_0x1d082d||{};const _0x194ccf=_0x1d082d[_0x5d0142(0x429)]||(_0x1d082d[_0x5d0142(0x5ec)]||fi)();return _0x194ccf[0x6]=_0x194ccf[0x6]&0xf|0x40,_0x194ccf[0x8]=_0x194ccf[0x8]&0x3f|0x80,ui(_0x194ccf);}var pi=Object['defineProperty'],mi=Object[_0x714a18(0x254)],gi=(_0x2bf074,_0x3b8dd7,_0x1135fa,_0x11c92e)=>{for(var _0x1c4dc9=_0x11c92e>0x1?void 0x0:_0x11c92e?mi(_0x3b8dd7,_0x1135fa):_0x3b8dd7,_0x4ad782=_0x2bf074['length']-0x1,_0x25b19b;_0x4ad782>=0x0;_0x4ad782--)(_0x25b19b=_0x2bf074[_0x4ad782])&&(_0x1c4dc9=(_0x11c92e?_0x25b19b(_0x3b8dd7,_0x1135fa,_0x1c4dc9):_0x25b19b(_0x1c4dc9))||_0x1c4dc9);return _0x11c92e&&_0x1c4dc9&&pi(_0x3b8dd7,_0x1135fa,_0x1c4dc9),_0x1c4dc9;},Ze=(_0x292c0c,_0xa18a26)=>(_0x3a1649,_0x4acc33)=>_0xa18a26(_0x3a1649,_0x4acc33,_0x292c0c);let ke=class{constructor(_0x45193b,_0x563aca,_0x21027f){const _0x4fac02=_0x714a18;this['_injector']=_0x45193b,this[_0x4fac02(0x2e2)]=_0x563aca,this[_0x4fac02(0x4d2)]=_0x21027f;}['transformIMECache'](_0x75659b){const _0x274aab=_0x714a18;this[_0x274aab(0x62e)](_0x75659b),this[_0x274aab(0x28b)](_0x75659b);}[_0x714a18(0x31a)](_0x4dfaf4){const _0x221672=_0x714a18,{unitID:_0x4ed5d9}=_0x4dfaf4,_0x50763c=this[_0x221672(0x4d2)][_0x221672(0x36a)](_0x4ed5d9)['with'](Z[_0x221672(0x38f)]),{redoCache:_0x1a113e}=_0x50763c[_0x221672(0x582)]();if(_0x1a113e['length']===0x0)return _0x4dfaf4;let _0x43b816=a[_0x221672(0x392)][_0x221672(0x3d8)](_0x4dfaf4[_0x221672(0x2e1)][0x0]);for(let _0x57bacd=0x0;_0x57bacd<_0x1a113e[_0x221672(0x5a6)];_0x57bacd++){const _0x569b6f={'id':_0x221672(0x458),'params':{..._0x1a113e[_0x57bacd]}},_0x29be8f=this[_0x221672(0x2e2)][_0x221672(0x218)](_0x43b816,_0x569b6f,!0x1);if(p[_0x221672(0x4a4)](_0x29be8f))throw _0x29be8f[_0x221672(0x4c3)];_0x43b816=_0x29be8f[_0x221672(0x433)];}return{...a['Tools'][_0x221672(0x3d8)](_0x4dfaf4),'mutations':[_0x43b816]};}[_0x714a18(0x62e)](_0x1a7069){const _0x31a02f=_0x714a18,{unitID:_0x498279}=_0x1a7069,_0x4bd7e3=this[_0x31a02f(0x4d2)][_0x31a02f(0x36a)](_0x498279)[_0x31a02f(0x267)](Z[_0x31a02f(0x38f)]),{undoCache:_0x4692ae,redoCache:_0x5c5a7e}=_0x4bd7e3[_0x31a02f(0x582)]();if(_0x4692ae[_0x31a02f(0x5a6)]===0x0||_0x5c5a7e[_0x31a02f(0x5a6)]===0x0)return;const _0x15106d=[],_0x526e2a=[];let _0xb6d204=a[_0x31a02f(0x392)]['deepClone'](_0x1a7069[_0x31a02f(0x2e1)][0x0]),_0x15d1f9=a[_0x31a02f(0x392)][_0x31a02f(0x3d8)](_0x1a7069[_0x31a02f(0x2e1)][0x0]);for(let _0x215b73=_0x4692ae[_0x31a02f(0x5a6)]-0x1;_0x215b73>=0x0;_0x215b73--){const _0x5e7c44={'id':_0x31a02f(0x458),'params':{..._0x4692ae[_0x215b73]}},_0x3fd738={'id':'doc.mutation.rich-text-editing','params':{..._0x5c5a7e[_0x215b73]}},_0xb33822=this[_0x31a02f(0x2e2)]['transformMutation'](_0xb6d204,_0x5e7c44,!0x1),_0x1a37b5=this[_0x31a02f(0x2e2)][_0x31a02f(0x218)](_0x15d1f9,_0x3fd738,!0x1);if(p['isTransformMutationFailure'](_0xb33822))throw _0xb33822['error'];if(p[_0x31a02f(0x4a4)](_0x1a37b5))throw _0x1a37b5[_0x31a02f(0x4c3)];_0x15106d[_0x31a02f(0x251)](_0xb33822[_0x31a02f(0x3cd)][_0x31a02f(0x25e)]),_0x526e2a['unshift'](_0x1a37b5[_0x31a02f(0x3cd)][_0x31a02f(0x25e)]),_0xb6d204=_0xb33822[_0x31a02f(0x433)],_0x15d1f9=_0x1a37b5[_0x31a02f(0x433)];}_0x4bd7e3['setUndoRedoMutationParamsCache']({'undoCache':_0x15106d,'redoCache':_0x526e2a});}[_0x714a18(0x28b)](_0x5f4bc8){const _0x374112=_0x714a18,{unitID:_0x572b07}=_0x5f4bc8,_0x413a93=this[_0x374112(0x4d2)][_0x374112(0x36a)](_0x572b07)[_0x374112(0x267)](Z['DocIMEInputManagerService']),_0x46b8d1=_0x413a93[_0x374112(0x1e3)]();if(_0x46b8d1==null)return;const _0x2590dc=[{'id':_0x374112(0x458),'params':{'unitId':_0x5f4bc8[_0x374112(0x576)],'actions':null,'textRanges':[_0x46b8d1]}}],_0xfee88f=this['_transformService'][_0x374112(0x5d6)](_0x5f4bc8,_0x2590dc);if(!p[_0x374112(0x2a9)](_0xfee88f))throw _0xfee88f['error'];const _0x51edcb=_0xfee88f[_0x374112(0x3cd)][0x0][_0x374112(0x25e)][_0x374112(0x34f)];Array[_0x374112(0x3e3)](_0x51edcb)&&_0x51edcb[_0x374112(0x5a6)]&&_0x413a93['setActiveRange'](_0x51edcb[0x0]);}};ke=gi([Ze(0x0,a['Inject'](a[_0x714a18(0x2cb)])),Ze(0x1,p['ITransformService']),Ze(0x2,K[_0x714a18(0x408)])],ke);var Ii=Object[_0x714a18(0x1d2)],Ci=Object[_0x714a18(0x254)],Ei=(_0x4b18d5,_0x36eb4f,_0x16aad7,_0x1826c2)=>{const _0x11bfef=_0x714a18;for(var _0x2dcbab=_0x1826c2>0x1?void 0x0:_0x1826c2?Ci(_0x36eb4f,_0x16aad7):_0x36eb4f,_0x4e79b6=_0x4b18d5[_0x11bfef(0x5a6)]-0x1,_0x42ecef;_0x4e79b6>=0x0;_0x4e79b6--)(_0x42ecef=_0x4b18d5[_0x4e79b6])&&(_0x2dcbab=(_0x1826c2?_0x42ecef(_0x36eb4f,_0x16aad7,_0x2dcbab):_0x42ecef(_0x2dcbab))||_0x2dcbab);return _0x1826c2&&_0x2dcbab&&Ii(_0x36eb4f,_0x16aad7,_0x2dcbab),_0x2dcbab;},Pe=(_0x196fc3,_0x1e599b)=>(_0x2b69f0,_0x38c831)=>_0x1e599b(_0x2b69f0,_0x38c831,_0x196fc3);exports[_0x714a18(0x53c)]=class extends a['Disposable']{constructor(_0x36ba9f,_0x389027,_0x53d6bb,_0x22eb44,_0x134a36){const _0x145c69=_0x714a18;super(),I(this,_0x145c69(0x3bf),new Map()),I(this,_0x145c69(0x1ac),new Map()),I(this,_0x145c69(0x5d8),!0x1),(this[_0x145c69(0x3dc)]=_0x36ba9f,this[_0x145c69(0x2ad)]=_0x389027,this[_0x145c69(0x52d)]=_0x53d6bb,this[_0x145c69(0x467)]=_0x22eb44,this['_revisionService']=_0x134a36,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x290c5d=_0x714a18;this[_0x290c5d(0x5d8)]=!0x0;}[_0x714a18(0x51e)](){this['_disabled']=!0x1;}[_0x714a18(0x19e)](){const _0x550900=_0x714a18;this['exhaustSavingTask']()[_0x550900(0x27c)](()=>super[_0x550900(0x19e)]());}async['loadOfflineData'](_0x26f742){const _0x567671=_0x714a18;return this['_disabled']?null:this['_localStorageService'][_0x567671(0x4a5)](Mt(_0x26f742));}async[_0x714a18(0x200)](_0x5cfa0c,_0x29382a){const _0xceb88d=_0x714a18;return!!this[_0xceb88d(0x2ad)]['setItem'](_0x5cfa0c,_0x29382a);}[_0x714a18(0x215)](_0x501bbb,_0x172f2b,_0x3e2795,_0x31d01d){const _0x2ea844=_0x714a18,_0x3fd702=this[_0x2ea844(0x574)][_0x2ea844(0x445)](_0x501bbb);this[_0x2ea844(0x3bf)][_0x2ea844(0x3d0)](_0x501bbb,{'unitID':_0x501bbb,'type':_0x172f2b,'awaitingChangeset':_0x3e2795,'mutations':_0x31d01d,'rev':_0x3fd702}),this[_0x2ea844(0x1ac)][_0x2ea844(0x21d)](_0x501bbb)||this[_0x2ea844(0x635)](_0x501bbb);}[_0x714a18(0x635)](_0x5c48c4){const _0x70c23c=_0x714a18,_0x1f7fba=this[_0x70c23c(0x510)]();_0x1f7fba===0x0?this[_0x70c23c(0x2f0)](_0x5c48c4):this['_saveTaskMap'][_0x70c23c(0x3d0)](_0x5c48c4,setTimeout(()=>this[_0x70c23c(0x2f0)](_0x5c48c4),_0x1f7fba));}[_0x714a18(0x510)](){const _0x3cefd6=_0x714a18;var _0x170621;return(_0x170621=this[_0x3cefd6(0x3dc)]['getConfig'](nn))!=null?_0x170621:Yn;}['_saveCache'](_0x206da0){const _0x1f49be=_0x714a18,_0x53c1a6=this[_0x1f49be(0x1ac)]['get'](_0x206da0);return _0x53c1a6!==void 0x0&&window['clearTimeout'](_0x53c1a6),this[_0x1f49be(0x2ad)][_0x1f49be(0x4f4)](Mt(_0x206da0),this['_cachedData'][_0x1f49be(0x1bc)](_0x206da0))[_0x1f49be(0x27c)](()=>this[_0x1f49be(0x1ac)][_0x1f49be(0x57c)](_0x206da0));}async[_0x714a18(0x33e)](){const _0x2e2977=_0x714a18,_0x2e0c8f=[];this[_0x2e2977(0x1ac)][_0x2e2977(0x39e)]((_0x5afe8b,_0x5807b0)=>{const _0x492d19=_0x2e2977;window['clearTimeout'](_0x5afe8b),_0x2e0c8f[_0x492d19(0x5a9)](this[_0x492d19(0x2f0)](_0x5807b0)['then'](()=>{const _0x115ec8=_0x492d19;this[_0x115ec8(0x1ac)][_0x115ec8(0x57c)](_0x5807b0);}));}),await Promise[_0x2e2977(0x4c1)](_0x2e0c8f);}[_0x714a18(0x1e5)](){const _0x5f188d=_0x714a18;this[_0x5f188d(0x580)](this[_0x5f188d(0x52d)][_0x5f188d(0x601)](()=>{const _0x128479=_0x5f188d;if(this['_saveTaskMap'][_0x128479(0x226)])return this['_localeService']['t'](_0x128479(0x360));}));}},exports[_0x714a18(0x53c)]=Ei([Pe(0x0,a[_0x714a18(0x292)]),Pe(0x1,a['ILocalStorageService']),Pe(0x2,te[_0x714a18(0x4ac)]),Pe(0x3,a['Inject'](a[_0x714a18(0x565)])),Pe(0x4,a['Inject'](p['RevisionService']))],exports[_0x714a18(0x53c)]);function Mt(_0x4b4f3b){const _0x5177c9=_0x714a18;return _0x5177c9(0x35f)+_0x4b4f3b;}var bi=Object[_0x714a18(0x1d2)],Ti=Object[_0x714a18(0x254)],Ri=(_0x21d41d,_0x2355a4,_0x1f16dc,_0xf857d)=>{const _0x4daff6=_0x714a18;for(var _0x4bbfff=_0xf857d>0x1?void 0x0:_0xf857d?Ti(_0x2355a4,_0x1f16dc):_0x2355a4,_0x88bce9=_0x21d41d[_0x4daff6(0x5a6)]-0x1,_0x53e071;_0x88bce9>=0x0;_0x88bce9--)(_0x53e071=_0x21d41d[_0x88bce9])&&(_0x4bbfff=(_0xf857d?_0x53e071(_0x2355a4,_0x1f16dc,_0x4bbfff):_0x53e071(_0x4bbfff))||_0x4bbfff);return _0xf857d&&_0x4bbfff&&bi(_0x2355a4,_0x1f16dc,_0x4bbfff),_0x4bbfff;},Qe=(_0x5380a4,_0x2d4e02)=>(_0x1e8570,_0x30430c)=>_0x2d4e02(_0x1e8570,_0x30430c,_0x5380a4);function yi(_0x47fab8){const _0x24bddd=_0x714a18,{unitID:_0x4dd4d9,mutations:_0x2b2e59}=_0x47fab8;return{'unitId':_0x4dd4d9,'subUnitId':_0x2b2e59[0x0]['params'][_0x24bddd(0x53f)]};}let Be=class{constructor(_0x307403,_0x56c614,_0x250ed1){const _0x395b13=_0x714a18;this[_0x395b13(0x5eb)]=_0x307403,this[_0x395b13(0x2e2)]=_0x56c614,this['_instanceService']=_0x250ed1;}[_0x714a18(0x213)](_0xf987ea){const _0x17e67=_0x714a18;var _0xce5a22,_0x3752fd,_0x535de9,_0x5b154c;const _0x18d5cc=this[_0x17e67(0x5eb)][_0x17e67(0x1bc)](B[_0x17e67(0x484)]),{unitId:_0x333d4d,subUnitId:_0x19b260}=yi(_0xf987ea),_0x1a73f0=_0x18d5cc[_0x17e67(0x26e)](_0x333d4d)[_0x17e67(0x31d)](),_0x3b7127=(_0x3752fd=(_0xce5a22=this[_0x17e67(0x615)][_0x17e67(0x34c)](_0x333d4d))==null?void 0x0:_0xce5a22['getActiveSheet']())==null?void 0x0:_0x3752fd[_0x17e67(0x424)]();if(_0x1a73f0[_0x17e67(0x5a6)]===0x0||!_0x333d4d||!_0x19b260)return;const _0x59727b=[{'id':B[_0x17e67(0x384)]['id'],'params':{'unitId':_0x333d4d,'subUnitId':_0x3b7127,'selections':a[_0x17e67(0x392)][_0x17e67(0x3d8)](_0x1a73f0)}}],_0x2ff3a2=this[_0x17e67(0x2e2)][_0x17e67(0x5d6)](_0xf987ea,_0x59727b);if(!p['isTransformMutationsWithChangesetSuccess'](_0x2ff3a2))throw _0x2ff3a2[_0x17e67(0x4c3)];const _0x120d0f=(_0x5b154c=(_0x535de9=_0x2ff3a2[_0x17e67(0x3cd)][0x0])==null?void 0x0:_0x535de9[_0x17e67(0x25e)])==null?void 0x0:_0x5b154c[_0x17e67(0x2a1)];if(Array[_0x17e67(0x3e3)](_0x120d0f)&&_0x120d0f[_0x17e67(0x5a6)]){if(_0x120d0f['length']===_0x59727b[0x0][_0x17e67(0x25e)][_0x17e67(0x2a1)][_0x17e67(0x5a6)]&&_0x120d0f[_0x17e67(0x252)]((_0x3f1317,_0x33f376)=>a['Rectangle'][_0x17e67(0x623)](_0x3f1317['range'],_0x59727b[0x0][_0x17e67(0x25e)][_0x17e67(0x2a1)][_0x33f376][_0x17e67(0x531)])))return;this[_0x17e67(0x5eb)][_0x17e67(0x1bc)](a['ICommandService'])['executeCommand'](B[_0x17e67(0x384)]['id'],{'unitId':_0x333d4d,'subUnitId':_0x3b7127,'selections':_0x120d0f});}}};Be=Ri([Qe(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),Qe(0x1,p[_0x714a18(0x1db)]),Qe(0x2,a[_0x714a18(0x617)])],Be);const qe=a['createIdentifier'](_0x714a18(0x1a5));var hn=(_0x2da10d=>(_0x2da10d[_0x2da10d[_0x714a18(0x54c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2da10d[_0x2da10d[_0x714a18(0x1e4)]=0x1]=_0x714a18(0x1e4),_0x2da10d))(hn||{});const At=0x7530,Nt=_0x714a18(0x449);class Oi extends a[_0x714a18(0x5aa)]{constructor(){const _0x8ce0ae=_0x714a18;super(),I(this,_0x8ce0ae(0x5e9),a[_0x8ce0ae(0x392)]['generateRandomId']()),I(this,_0x8ce0ae(0x554),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x8ce0ae(0x2fa),null),I(this,_0x8ce0ae(0x561),new Map()),I(this,_0x8ce0ae(0x3a0),new Map()),this[_0x8ce0ae(0x26c)]();}[_0x714a18(0x19e)](){const _0x5ba9a1=_0x714a18;super[_0x5ba9a1(0x19e)](),this['_clearOtherTimers'][_0x5ba9a1(0x39e)]((_0x381846,_0x211b27)=>this[_0x5ba9a1(0x3b0)](_0x211b27)),this[_0x5ba9a1(0x2fa)]&&window[_0x5ba9a1(0x5f1)](this['_heartbeatTimer']);}[_0x714a18(0x2d6)](_0x2e73e3){const _0x142140=_0x714a18;return this['_ensureSubject'](_0x2e73e3)[_0x142140(0x52c)](A['distinctUntilChanged']());}[_0x714a18(0x61e)](_0x5e2227){const _0x4fa9f2=_0x714a18;this['_selfUnitIDs'][_0x4fa9f2(0x226)]===0x0&&this[_0x4fa9f2(0x4a3)](),this['_selfUnitIDs']['add'](_0x5e2227),this['_send']({'type':0x0,'memberID':this[_0x4fa9f2(0x5e9)],'unitIDs':[_0x5e2227],'isForwarded':!0x1});}[_0x714a18(0x496)](_0x44647d){const _0xa8b7e1=_0x714a18;this['_selfUnitIDs'][_0xa8b7e1(0x57c)](_0x44647d),this['_selfUnitIDs'][_0xa8b7e1(0x226)]===0x0&&this[_0xa8b7e1(0x2fa)]&&window['clearInterval'](this[_0xa8b7e1(0x2fa)]);}[_0x714a18(0x26c)](){const _0x1789a9=_0x714a18;this[_0x1789a9(0x580)](a['toDisposable'](A[_0x1789a9(0x35a)](window,'storage')[_0x1789a9(0x47b)](_0x3d7de3=>{const _0x53a5f0=_0x1789a9;if(_0x3d7de3[_0x53a5f0(0x55d)]!==Nt||!_0x3d7de3[_0x53a5f0(0x543)])return;const _0x3f99ef=JSON[_0x53a5f0(0x55a)](_0x3d7de3[_0x53a5f0(0x543)]);this[_0x53a5f0(0x1b6)](_0x3f99ef);}))),window[_0x1789a9(0x4e4)]('unload',()=>this[_0x1789a9(0x5b6)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x55cfb2){const _0x18f4e7=_0x714a18;switch(_0x55cfb2[_0x18f4e7(0x283)]){case 0x0:this['_handleJoinEvent'](_0x55cfb2);break;case 0x1:this[_0x18f4e7(0x1f3)](_0x55cfb2);break;case 0x2:this['_handleHeartbeatEvent'](_0x55cfb2);break;}}[_0x714a18(0x5bc)](_0x3de6fa){const _0x4f9d8e=_0x714a18,{unitIDs:_0x40407e,memberID:_0x1a78b1,isForwarded:_0x1081bf}=_0x3de6fa;_0x40407e[_0x4f9d8e(0x39e)](_0x2b235f=>{const _0x3f2ae2=_0x4f9d8e;if(!_0x1081bf&&this['_unitOnClients']['has'](_0x2b235f)&&this[_0x3f2ae2(0x3cf)](_0x2b235f)[_0x3f2ae2(0x5c5)](0x1),!this[_0x3f2ae2(0x2f9)][_0x3f2ae2(0x21d)](_0x2b235f)||!this[_0x3f2ae2(0x2f9)][_0x3f2ae2(0x1bc)](_0x2b235f)[_0x3f2ae2(0x21d)](_0x1a78b1)){const _0x1b14f0=this[_0x3f2ae2(0x2f9)][_0x3f2ae2(0x1bc)](_0x2b235f)||new Set();_0x1b14f0[_0x3f2ae2(0x2fc)](_0x1a78b1),this[_0x3f2ae2(0x2f9)][_0x3f2ae2(0x3d0)](_0x2b235f,_0x1b14f0),this[_0x3f2ae2(0x38b)](_0x1a78b1);}}),_0x1081bf||this[_0x4f9d8e(0x5b6)]({'type':0x0,'memberID':this[_0x4f9d8e(0x5e9)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x714a18(0x38b)](_0x52a713){const _0xf52db6=_0x714a18;this[_0xf52db6(0x3b0)](_0x52a713);const _0x3fab58=window[_0xf52db6(0x339)](()=>{const _0x52e109=_0xf52db6;this[_0x52e109(0x2f9)][_0x52e109(0x39e)](_0xa11bc8=>{_0xa11bc8['delete'](_0x52a713);});},At*0x2);this[_0xf52db6(0x561)][_0xf52db6(0x3d0)](_0x52a713,_0x3fab58);}[_0x714a18(0x3b0)](_0x47e687){const _0x53296e=_0x714a18;if(this['_clearOtherTimers'][_0x53296e(0x21d)](_0x47e687)){const _0x5365c3=this[_0x53296e(0x561)][_0x53296e(0x1bc)](_0x47e687);_0x5365c3&&window[_0x53296e(0x3af)](_0x5365c3),this[_0x53296e(0x561)][_0x53296e(0x3d0)](_0x47e687,null);}}['_handleLeaveEvent'](_0x20c839){const _0x7c0f9f=_0x714a18,{memberID:_0x15cc37,unitIDs:_0x2509e8}=_0x20c839;_0x2509e8[_0x7c0f9f(0x39e)](_0x4323fa=>{const _0x4022f7=_0x7c0f9f;var _0x43db56;const _0x56c919=this[_0x4022f7(0x2f9)][_0x4022f7(0x1bc)](_0x4323fa);_0x56c919&&(_0x56c919['delete'](_0x15cc37),(_0x43db56=this[_0x4022f7(0x3cf)](_0x4323fa))==null||_0x43db56['next'](_0x56c919['size']===0x0?0x0:0x1));}),this[_0x7c0f9f(0x3b0)](_0x15cc37);}[_0x714a18(0x4b5)](_0x29b3bb){const _0x14d850=_0x714a18;this[_0x14d850(0x38b)](_0x29b3bb[_0x14d850(0x482)]);}['_send'](_0x4b4f2d){const _0x7d0d81=_0x714a18;localStorage[_0x7d0d81(0x4f4)](Nt,JSON[_0x7d0d81(0x570)](_0x4b4f2d));}['_scheduleHeartbeat'](){const _0x862ac2=_0x714a18;this[_0x862ac2(0x2fa)]=window[_0x862ac2(0x268)](()=>{const _0x1860c1=_0x862ac2;this[_0x1860c1(0x5b6)]({'type':0x2,'memberID':this[_0x1860c1(0x5e9)]});},At);}['_ensureSubject'](_0x129c23){const _0x40ebee=_0x714a18;return this[_0x40ebee(0x3a0)][_0x40ebee(0x21d)](_0x129c23)||this[_0x40ebee(0x3a0)]['set'](_0x129c23,new A[(_0x40ebee(0x638))](0x0)),this['_unitStatus']['get'](_0x129c23);}}var Di=Object[_0x714a18(0x1d2)],wi=Object[_0x714a18(0x254)],Pi=(_0x12a358,_0x3ba88e,_0x283800,_0x3d834a)=>{const _0x27b7c7=_0x714a18;for(var _0x296d16=_0x3d834a>0x1?void 0x0:_0x3d834a?wi(_0x3ba88e,_0x283800):_0x3ba88e,_0x3dc463=_0x12a358[_0x27b7c7(0x5a6)]-0x1,_0x29bd0e;_0x3dc463>=0x0;_0x3dc463--)(_0x29bd0e=_0x12a358[_0x3dc463])&&(_0x296d16=(_0x3d834a?_0x29bd0e(_0x3ba88e,_0x283800,_0x296d16):_0x29bd0e(_0x296d16))||_0x296d16);return _0x3d834a&&_0x296d16&&Di(_0x3ba88e,_0x283800,_0x296d16),_0x296d16;},et=(_0x56a312,_0x1898d4)=>(_0x219a79,_0x191e60)=>_0x1898d4(_0x219a79,_0x191e60,_0x56a312);let We=class{constructor(_0x4e308e,_0x23dbe9,_0x23f476){const _0x20aa3c=_0x714a18;this['_injector']=_0x4e308e,this[_0x20aa3c(0x2e2)]=_0x23dbe9,this['_docStateChangeManagerService']=_0x23f476;}[_0x714a18(0x61b)](_0x542dcc){const _0x59c36a=_0x714a18;this[_0x59c36a(0x306)](_0x542dcc);}['transformRemoteChangeset'](_0x167a8b){const _0x453bd0=_0x714a18,{unitID:_0x572002}=_0x167a8b,{collaboration:_0x246fe0}=this[_0x453bd0(0x4e9)][_0x453bd0(0x3c1)](_0x572002);if(_0x246fe0[_0x453bd0(0x5a6)]===0x0)return _0x167a8b;let _0x710914=a[_0x453bd0(0x392)]['deepClone'](_0x167a8b[_0x453bd0(0x2e1)][0x0]);for(let _0x549093=0x0;_0x549093<_0x246fe0[_0x453bd0(0x5a6)];_0x549093++){const _0x354cc2={'id':_0x453bd0(0x458),'params':{'unitId':_0x246fe0[_0x549093][_0x453bd0(0x219)],..._0x246fe0[_0x549093][_0x453bd0(0x38d)]}},_0x5aa6e6=this[_0x453bd0(0x2e2)][_0x453bd0(0x218)](_0x710914,_0x354cc2,!0x1);if(p[_0x453bd0(0x4a4)](_0x5aa6e6))throw _0x5aa6e6[_0x453bd0(0x4c3)];_0x710914=_0x5aa6e6[_0x453bd0(0x433)];}return{...a[_0x453bd0(0x392)]['deepClone'](_0x167a8b),'mutations':[_0x710914]};}['_transformHistoryAndStateStack'](_0x366900){const _0x599099=_0x714a18,{unitID:_0xfc70e0}=_0x366900,{history:_0x1cecf9,collaboration:_0x1a4d3b}=this['_docStateChangeManagerService'][_0x599099(0x3c1)](_0xfc70e0);if(_0x1cecf9['length']===0x0&&_0x1a4d3b[_0x599099(0x5a6)]===0x0)return;const _0xbabe47=[],_0x2cd504=[];let _0x1d5d98=a['Tools'][_0x599099(0x3d8)](_0x366900[_0x599099(0x2e1)][0x0]),_0x5a2eca=a[_0x599099(0x392)][_0x599099(0x3d8)](_0x366900[_0x599099(0x2e1)][0x0]);for(let _0x2576a3=_0x1cecf9[_0x599099(0x5a6)]-0x1;_0x2576a3>=0x0;_0x2576a3--){const _0x16d29f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cecf9[_0x2576a3][_0x599099(0x219)],..._0x1cecf9[_0x2576a3]['undoState']}},_0x309db5={'id':_0x599099(0x458),'params':{'unitId':_0x1cecf9[_0x2576a3][_0x599099(0x219)],..._0x1cecf9[_0x2576a3][_0x599099(0x38d)]}},_0x47ad7b=this[_0x599099(0x2e2)][_0x599099(0x218)](_0x1d5d98,_0x16d29f,!0x1),_0x57020b=this[_0x599099(0x2e2)][_0x599099(0x218)](_0x5a2eca,_0x309db5,!0x1);if(p[_0x599099(0x4a4)](_0x47ad7b))throw _0x47ad7b['error'];if(p[_0x599099(0x4a4)](_0x57020b))throw _0x57020b[_0x599099(0x4c3)];_0xbabe47[_0x599099(0x251)]({..._0x1cecf9[_0x2576a3],'undoState':_0x47ad7b[_0x599099(0x3cd)]['params'],'redoState':_0x57020b['m2Prime'][_0x599099(0x25e)]}),_0x1d5d98=_0x47ad7b['m1Prime'],_0x5a2eca=_0x57020b['m1Prime'];}_0x1d5d98=a[_0x599099(0x392)][_0x599099(0x3d8)](_0x366900[_0x599099(0x2e1)][0x0]),_0x5a2eca=a[_0x599099(0x392)][_0x599099(0x3d8)](_0x366900[_0x599099(0x2e1)][0x0]);for(let _0x1f2548=_0x1a4d3b[_0x599099(0x5a6)]-0x1;_0x1f2548>=0x0;_0x1f2548--){const _0x569278={'id':_0x599099(0x458),'params':{'unitId':_0x1a4d3b[_0x1f2548][_0x599099(0x219)],..._0x1a4d3b[_0x1f2548][_0x599099(0x338)]}},_0x830de={'id':_0x599099(0x458),'params':{'unitId':_0x1a4d3b[_0x1f2548]['unitId'],..._0x1a4d3b[_0x1f2548][_0x599099(0x38d)]}},_0xb9448e=this['_transformService']['transformMutation'](_0x1d5d98,_0x569278,!0x1),_0x3af32f=this[_0x599099(0x2e2)][_0x599099(0x218)](_0x5a2eca,_0x830de,!0x1);if(p[_0x599099(0x4a4)](_0xb9448e))throw _0xb9448e['error'];if(p[_0x599099(0x4a4)](_0x3af32f))throw _0x3af32f[_0x599099(0x4c3)];_0x2cd504[_0x599099(0x251)]({..._0x1a4d3b[_0x1f2548],'undoState':_0xb9448e['m2Prime']['params'],'redoState':_0x3af32f[_0x599099(0x3cd)][_0x599099(0x25e)]}),_0x1d5d98=_0xb9448e[_0x599099(0x433)],_0x5a2eca=_0x3af32f[_0x599099(0x433)];}this[_0x599099(0x4e9)][_0x599099(0x400)](_0xfc70e0,{'history':_0xbabe47,'collaboration':_0x2cd504});}};We=Pi([et(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),et(0x1,p['ITransformService']),et(0x2,a[_0x714a18(0x5ce)](Z[_0x714a18(0x56b)]))],We);function _n(_0x2c0fee){const _0x340629=_0x714a18;let _0x562f8='';for(const _0x3b2434 of _0x2c0fee){const {startOffset:_0x62bc97,endOffset:_0xfdf7fe,isActive:_0x3bdd38,rangeType:_0x3963a9,segmentId:_0x2fefbc,segmentPage:_0x576dac}=_0x3b2434;_0x562f8[_0x340629(0x5a6)]&&(_0x562f8+=','),_0x562f8+=_0x62bc97+':'+_0xfdf7fe+':'+(_0x3bdd38?'1':'0')+':'+_0x3963a9+':'+_0x2fefbc+':'+_0x576dac;}return _0x562f8;}function Ui(_0x5da7f1){const _0x578eb2=_0x714a18,_0x537545=_0x5da7f1[_0x578eb2(0x1ea)](','),_0xbee817=[];for(const _0x333623 of _0x537545){const [_0x13cdcf,_0x15d5b8,_0x6bc9cf,_0x4ed4c7,_0x379097,_0xfcfcb2]=_0x333623[_0x578eb2(0x1ea)](':');_0xbee817[_0x578eb2(0x5a9)]({'startOffset':Number(_0x13cdcf),'endOffset':Number(_0x15d5b8),'collapsed':_0x13cdcf===_0x15d5b8,'isActive':_0x6bc9cf==='1','rangeType':_0x4ed4c7===a[_0x578eb2(0x1d7)][_0x578eb2(0x472)]?a[_0x578eb2(0x1d7)]['TEXT']:a['DOC_RANGE_TYPE'][_0x578eb2(0x5b1)],'segmentId':typeof _0x379097==_0x578eb2(0x461)?String(_0x379097):'','segmentPage':Number(_0xfcfcb2!=null?_0xfcfcb2:-0x1)});}return _0xbee817[_0x578eb2(0x627)](_0x32defc=>_0x32defc[_0x578eb2(0x41f)])||(_0xbee817[0x0]['isActive']=!0x0),_0xbee817;}class Tt extends a['RxDisposable']{constructor(){const _0x4d1162=_0x714a18;super(...arguments),I(this,_0x4d1162(0x1b2),new A[(_0x4d1162(0x638))](null)),I(this,_0x4d1162(0x3d7),this['_collabCursorState$'][_0x4d1162(0x23c)]());}[_0x714a18(0x468)](_0x3939b8){const _0x34d771=_0x714a18,{unitID:_0x42a838,memberID:_0x59afc4,textRanges:_0x23f862}=_0x3939b8,_0x26b46a=_n(_0x23f862);if(_0x26b46a==='')return;const _0x7f8f47={'unitID':_0x42a838,'memberID':_0x59afc4,'selection':_0x26b46a};this[_0x34d771(0x1b2)]['next'](_0x7f8f47);}}var Mi=Object[_0x714a18(0x1d2)],Ai=Object[_0x714a18(0x254)],Ni=(_0x429408,_0x131be3,_0x146146,_0x1d09aa)=>{const _0x134b8b=_0x714a18;for(var _0x6ed77e=_0x1d09aa>0x1?void 0x0:_0x1d09aa?Ai(_0x131be3,_0x146146):_0x131be3,_0x3020f1=_0x429408[_0x134b8b(0x5a6)]-0x1,_0x27adfb;_0x3020f1>=0x0;_0x3020f1--)(_0x27adfb=_0x429408[_0x3020f1])&&(_0x6ed77e=(_0x1d09aa?_0x27adfb(_0x131be3,_0x146146,_0x6ed77e):_0x27adfb(_0x6ed77e))||_0x6ed77e);return _0x1d09aa&&_0x6ed77e&&Mi(_0x131be3,_0x146146,_0x6ed77e),_0x6ed77e;},Lt=(_0x4b8332,_0x46a4a8)=>(_0xaadd01,_0x25587c)=>_0x46a4a8(_0xaadd01,_0x25587c,_0x4b8332);let Fe=class{constructor(_0x23afa6,_0x25a7aa){const _0xfe729=_0x714a18;this[_0xfe729(0x5eb)]=_0x23afa6,this[_0xfe729(0x2e2)]=_0x25a7aa;}['transformSelections'](_0x54ea5e){const _0x383b85=_0x714a18;var _0x3eb8ee;const _0x7a5f2a=this[_0x383b85(0x5eb)][_0x383b85(0x1bc)](ye['DocSelectionManagerService']),_0x502805=(_0x3eb8ee=_0x7a5f2a[_0x383b85(0x5e0)]())!=null?_0x3eb8ee:[];if(_0x502805[_0x383b85(0x5a6)]===0x0)return;const _0x2085da=_0x54ea5e[_0x383b85(0x576)],_0x43a2ad=[{'id':_0x383b85(0x458),'params':{'unitId':_0x2085da,'actions':null,'textRanges':_0x502805}}],_0x1e69e7=this['_transformService']['transformMutationsWithChangeset'](_0x54ea5e,_0x43a2ad);if(!p[_0x383b85(0x2a9)](_0x1e69e7))throw _0x1e69e7[_0x383b85(0x4c3)];const _0x28303a=_0x1e69e7['m2Prime'][0x0][_0x383b85(0x25e)][_0x383b85(0x34f)];Array['isArray'](_0x28303a)&&_0x28303a[_0x383b85(0x5a6)]&&_0x7a5f2a[_0x383b85(0x371)](_0x28303a,{'unitId':_0x2085da,'subUnitId':_0x2085da},!0x1);}};Fe=Ni([Lt(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),Lt(0x1,p[_0x714a18(0x1db)])],Fe);const Li=new Set([B['InsertSheetMutation']['id']]);function xt(_0x492d66,_0x5d5fc2,_0xa667d2,_0x35ba68,_0x205764){const _0x581603=_0x714a18;var _0x2d83dc,_0x58fa67,_0xceb52c,_0x3b3b00;const _0x3c0935=[];for(const _0x4700f8 of _0x492d66)if(Li[_0x581603(0x21d)](_0x4700f8['id'])){if(_0x3c0935['length']>0x0)break;_0x3c0935[_0x581603(0x5a9)](_0x4700f8);break;}else _0x3c0935[_0x581603(0x5a9)](_0x4700f8);const _0x10ff3b=(_0x58fa67=(_0x2d83dc=_0x205764[_0x581603(0x176)]())==null?void 0x0:_0x2d83dc[_0x581603(0x515)])!=null?_0x58fa67:_0x581603(0x4a8),_0x270df7=(_0x3b3b00=(_0xceb52c=_0x205764[_0x581603(0x176)]())==null?void 0x0:_0xceb52c['memberID'])!=null?_0x3b3b00:'unknown';return{'changeset':{'unitID':_0x5d5fc2,'type':p[_0x581603(0x2b6)](_0xa667d2['getUnitType'](_0x5d5fc2)),'baseRev':_0x35ba68[_0x581603(0x445)](_0x5d5fc2),'revision':0x0,'userID':_0x10ff3b,'memberID':_0x270df7,'mutations':_0x3c0935},'pendingMutations':_0x492d66['slice'](_0x3c0935[_0x581603(0x5a6)])};}function xi(_0x7b6367,_0x2225f7,_0x3e8279,_0x593321,_0x2d151b){const _0x3f309e=_0x714a18;var _0x20e951,_0x50283f,_0x39ac45,_0x336ae5;const _0x215ab5=[_0x7b6367[_0x3f309e(0x4b2)]((_0x1712f1,_0x4a9ad4)=>{const _0x2b6f80=_0x3f309e;var _0xb22bd1;const {id:_0xf1116b}=_0x1712f1,{id:_0x418395,type:_0x404fc6}=_0x4a9ad4,_0x5043d0=(_0xb22bd1=_0x1712f1['params'])!=null?_0xb22bd1:{'actions':null},_0x6e3f2d=_0x4a9ad4[_0x2b6f80(0x25e)];if(_0xf1116b&&_0xf1116b!==_0x418395)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xf1116b+_0x2b6f80(0x390)+_0x418395+'.');return{..._0x1712f1,'id':_0x418395,'type':_0x404fc6,'params':{'unitId':_0x6e3f2d[_0x2b6f80(0x219)],'textRanges':_0x6e3f2d[_0x2b6f80(0x34f)],'actions':a[_0x2b6f80(0x41d)][_0x2b6f80(0x62a)](_0x5043d0[_0x2b6f80(0x431)],_0x6e3f2d['actions'])}};},{})],_0x526144=(_0x50283f=(_0x20e951=_0x2d151b[_0x3f309e(0x176)]())==null?void 0x0:_0x20e951['userID'])!=null?_0x50283f:'unknown',_0x2fab36=(_0x336ae5=(_0x39ac45=_0x2d151b[_0x3f309e(0x176)]())==null?void 0x0:_0x39ac45[_0x3f309e(0x482)])!=null?_0x336ae5:'unknown';return{'changeset':{'unitID':_0x2225f7,'type':p[_0x3f309e(0x2b6)](_0x3e8279['getUnitType'](_0x2225f7)),'baseRev':_0x593321['getCurrentRevOfUnit'](_0x2225f7),'revision':0x0,'userID':_0x526144,'memberID':_0x2fab36,'mutations':_0x215ab5},'pendingMutations':[]};}function un(_0x529a6a,_0x1a1275){const _0x1349ed=_0x714a18,_0xd6171=new A[(_0x1349ed(0x2d8))](0x1);return setTimeout(()=>_0xd6171[_0x1349ed(0x5c5)](_0x1a1275),_0x529a6a),_0xd6171[_0x1349ed(0x23c)]()[_0x1349ed(0x52c)](A['take'](0x1));}const ji={'id':B[_0x714a18(0x286)]['id'],'type':a[_0x714a18(0x28f)][_0x714a18(0x53a)],'params':{}};var $i=Object[_0x714a18(0x1d2)],Hi=Object[_0x714a18(0x254)],Ce=(_0x1b9187,_0xb752e4,_0x5ec284,_0x4c3b60)=>{const _0x44ebc8=_0x714a18;for(var _0x19e4f6=_0x4c3b60>0x1?void 0x0:_0x4c3b60?Hi(_0xb752e4,_0x5ec284):_0xb752e4,_0x4b189e=_0x1b9187[_0x44ebc8(0x5a6)]-0x1,_0xcff499;_0x4b189e>=0x0;_0x4b189e--)(_0xcff499=_0x1b9187[_0x4b189e])&&(_0x19e4f6=(_0x4c3b60?_0xcff499(_0xb752e4,_0x5ec284,_0x19e4f6):_0xcff499(_0x19e4f6))||_0x19e4f6);return _0x4c3b60&&_0x19e4f6&&$i(_0xb752e4,_0x5ec284,_0x19e4f6),_0x19e4f6;},N=(_0x5a97fe,_0x215300)=>(_0x44eebb,_0x11840e)=>_0x215300(_0x44eebb,_0x11840e,_0x5a97fe),q=(_0xbe08ea=>(_0xbe08ea[_0x714a18(0x377)]='not_collab',_0xbe08ea[_0x714a18(0x1c2)]=_0x714a18(0x3d3),_0xbe08ea[_0x714a18(0x622)]='pending',_0xbe08ea[_0x714a18(0x274)]=_0x714a18(0x63e),_0xbe08ea['AWAITING_WITH_PENDING']=_0x714a18(0x59d),_0xbe08ea[_0x714a18(0x4d1)]=_0x714a18(0x541),_0xbe08ea[_0x714a18(0x523)]=_0x714a18(0x500),_0xbe08ea[_0x714a18(0x3c6)]=_0x714a18(0x528),_0xbe08ea))(q||{});const dn=0xea60;class Ee{constructor(_0x102ac5,_0x3782d7,_0x1fb307,_0x28f755,_0x203d99,_0x4ecb1c,_0x2c506a,_0x730f92,_0x1cec14){const _0x10e3d5=_0x714a18;I(this,_0x10e3d5(0x3c9),null),I(this,'_pendingMutations',[]),(this['unitID']=_0x102ac5,this[_0x10e3d5(0x283)]=_0x3782d7,this[_0x10e3d5(0x625)]=_0x203d99,this[_0x10e3d5(0x266)]=_0x4ecb1c,this[_0x10e3d5(0x536)]=_0x2c506a,this[_0x10e3d5(0x574)]=_0x730f92,this['_localCacheService']=_0x1cec14,this[_0x10e3d5(0x3c9)]=_0x1fb307,this[_0x10e3d5(0x5c3)]=_0x28f755);}[_0x714a18(0x205)](_0x557128){const _0x2c023d=_0x714a18,_0x45c2d9=this[_0x2c023d(0x574)][_0x2c023d(0x445)](this['unitID']);return _0x557128[_0x2c023d(0x18c)]>_0x45c2d9+0x1?(this['_handler'][_0x2c023d(0x628)]({'from':_0x45c2d9,'to':_0x557128[_0x2c023d(0x18c)]-0x1}),!0x0):!0x1;}[_0x714a18(0x3a2)](_0x455a8a){const _0x4df19c=_0x714a18;this['_undoRedoService'][_0x4df19c(0x3b1)](this[_0x4df19c(0x576)],_0x455a8a);}[_0x714a18(0x20a)](_0x3f7c94){const _0x4586fb=_0x714a18;var _0xcdf063,_0x2eacf6;(_0x2eacf6=(_0xcdf063=this[_0x4586fb(0x625)])[_0x4586fb(0x48d)])==null||_0x2eacf6['call'](_0xcdf063,_0x3f7c94);}[_0x714a18(0x22b)](_0x1396b7){const _0x1d5f75=_0x714a18;var _0x11f23a,_0x4f6cac;return(_0x4f6cac=(_0x11f23a=this[_0x1d5f75(0x625)])[_0x1d5f75(0x186)])==null?void 0x0:_0x4f6cac['call'](_0x11f23a,_0x1396b7);}[_0x714a18(0x375)](_0x5b9283){const _0x4e9d09=_0x714a18;var _0x292b34,_0x15db61;return(_0x15db61=(_0x292b34=this[_0x4e9d09(0x625)])[_0x4e9d09(0x3de)])==null?void 0x0:_0x15db61['call'](_0x292b34,_0x5b9283);}[_0x714a18(0x1df)](_0x402148){const _0x28e78a=_0x714a18;var _0x1404ea,_0x588913,_0x19b017;return(_0x19b017=(_0x588913=(_0x1404ea=this[_0x28e78a(0x625)])[_0x28e78a(0x552)])==null?void 0x0:_0x588913[_0x28e78a(0x593)](_0x1404ea,_0x402148))!=null?_0x19b017:_0x402148;}[_0x714a18(0x21f)](_0x2b7515){const _0x527880=_0x714a18;var _0xae52ff,_0x790d8b,_0x5da8bf;return(_0x5da8bf=(_0x790d8b=(_0xae52ff=this['_handler'])[_0x527880(0x48b)])==null?void 0x0:_0x790d8b[_0x527880(0x593)](_0xae52ff,_0x2b7515))!=null?_0x5da8bf:_0x2b7515;}[_0x714a18(0x26a)](_0x19504d){const _0x37bc24=_0x714a18;var _0x1a5203,_0x205d12;if(this['type']===ie[_0x37bc24(0x5ff)]){const {unitID:_0x2d9c11,mutations:_0x353ba7,memberID:_0x554175}=_0x19504d,_0x11420e=_0x353ba7[0x0][_0x37bc24(0x25e)][_0x37bc24(0x34f)];Array[_0x37bc24(0x3e3)](_0x11420e)&&_0x11420e[_0x37bc24(0x5a6)]>0x0&&((_0x205d12=(_0x1a5203=this[_0x37bc24(0x625)])[_0x37bc24(0x41a)])==null||_0x205d12['call'](_0x1a5203,{'unitID':_0x2d9c11,'memberID':_0x554175,'textRanges':_0x11420e}));}}[_0x714a18(0x2bf)](){const _0x2fc9d6=_0x714a18;this[_0x2fc9d6(0x4c7)][_0x2fc9d6(0x215)](this['unitID'],this[_0x2fc9d6(0x283)],this['_awaitingChangeset'],this[_0x2fc9d6(0x5c3)]);}[_0x714a18(0x5fc)](){const _0x140952=_0x714a18;return this[_0x140952(0x574)][_0x140952(0x445)](this[_0x140952(0x576)]);}[_0x714a18(0x2eb)](){const _0x41a2c3=_0x714a18;this[_0x41a2c3(0x574)][_0x41a2c3(0x5fa)](this['unitID']);}[_0x714a18(0x634)](_0x2e50e8){const _0x56d80c=_0x714a18;var _0x36cdda;let _0x1c702e=this[_0x56d80c(0x1df)](_0x2e50e8);_0x1c702e=this[_0x56d80c(0x21f)](_0x1c702e);const _0x4201f7=a['sequenceExecute'](_0x1c702e[_0x56d80c(0x2e1)],this[_0x56d80c(0x266)],{'fromCollab':!0x0});if(!_0x4201f7[_0x56d80c(0x3fc)])throw _0x4201f7[_0x56d80c(0x4c3)]instanceof Error?_0x4201f7['error']:new Error((_0x36cdda=_0x4201f7['error'])!=null?_0x36cdda:_0x56d80c(0x579));this[_0x56d80c(0x22b)](_0x1c702e),this[_0x56d80c(0x375)](_0x1c702e),this[_0x56d80c(0x3a2)](_0x2e50e8),this['_transformSelections'](_0x1c702e),this[_0x56d80c(0x26a)](_0x1c702e),this['_incrementRevisionNumber']();}}let Oe=class extends Ee{constructor(_0x53ee2b,_0x2bf43b,_0x5f4d6f,_0x36d58c,_0x466c07,_0x5e89ea,_0x3c69cc,_0x6d5785,_0x3a8eec,_0x337602){const _0x57877d=_0x714a18;super(_0x53ee2b,_0x2bf43b,null,[],_0x5f4d6f,_0x6d5785,_0x3c69cc,_0x36d58c,_0x466c07),I(this,_0x57877d(0x269),'synced'),(this['_injector']=_0x5e89ea,this[_0x57877d(0x5be)]=_0x3a8eec,this[_0x57877d(0x2e2)]=_0x337602);}[_0x714a18(0x28a)](_0x1f3eea){const _0x41662e=_0x714a18,_0x420e4c=this[_0x41662e(0x5eb)][_0x41662e(0x62c)](ce,this[_0x41662e(0x576)],this[_0x41662e(0x283)],[_0x1f3eea],this[_0x41662e(0x625)]);return _0x420e4c[_0x41662e(0x5ed)](),_0x420e4c[_0x41662e(0x2bf)](),_0x420e4c;}[_0x714a18(0x1bf)](_0x275bd9){const _0x1ba4d5=_0x714a18;if(this['_checkMissing'](_0x275bd9))return this[_0x1ba4d5(0x5eb)][_0x1ba4d5(0x62c)](re,this[_0x1ba4d5(0x576)],this[_0x1ba4d5(0x283)],null,[],null,[_0x275bd9],this['_handler']);try{const _0x16f8fe=this[_0x1ba4d5(0x2e2)][_0x1ba4d5(0x5d6)](_0x275bd9,[ji]);if(p[_0x1ba4d5(0x2a9)](_0x16f8fe)){const {c1Prime:_0x4c04aa}=_0x16f8fe;return this['_executeRemoteChangeset'](_0x4c04aa),this;}throw _0x16f8fe[_0x1ba4d5(0x4c3)];}catch(_0x7a9026){return this[_0x1ba4d5(0x5be)][_0x1ba4d5(0x4c3)](_0x7a9026),this[_0x1ba4d5(0x25d)](!0x1);}}[_0x714a18(0x25d)](_0x4a4435){const _0x49f935=_0x714a18;return this['_injector'][_0x49f935(0x62c)](ve,this['unitID'],this[_0x49f935(0x283)],null,[],this[_0x49f935(0x625)],_0x4a4435);}[_0x714a18(0x179)](){const _0xff9595=_0x714a18;throw new Error(_0xff9595(0x529));}[_0x714a18(0x1ca)](){const _0x43f220=_0x714a18;throw new Error(_0x43f220(0x21b));}[_0x714a18(0x30f)](){return this;}[_0x714a18(0x5b2)](){const _0x1fead7=_0x714a18;return this[_0x1fead7(0x5eb)][_0x1fead7(0x62c)](Se,this['unitID'],this[_0x1fead7(0x283)],null,[],this[_0x1fead7(0x625)]);}['toggleOnline'](){return this;}[_0x714a18(0x5f2)](){const _0x348907=_0x714a18;throw new Error(_0x348907(0x4b7));}[_0x714a18(0x1b0)](){const _0x5a3b60=_0x714a18,_0x44c1cd=this['_revisionService'][_0x5a3b60(0x445)](this[_0x5a3b60(0x576)]);return this[_0x5a3b60(0x625)][_0x5a3b60(0x628)]({'from':_0x44c1cd,'to':0x0}),this[_0x5a3b60(0x5eb)]['createInstance'](re,this[_0x5a3b60(0x576)],this[_0x5a3b60(0x283)],null,[],null,[],this[_0x5a3b60(0x625)]);}};Oe=Ce([N(0x3,a[_0x714a18(0x5ce)](p['RevisionService'])),N(0x4,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0x5,a['Inject'](a[_0x714a18(0x2cb)])),N(0x6,a[_0x714a18(0x535)]),N(0x7,a[_0x714a18(0x1c8)]),N(0x8,a[_0x714a18(0x204)]),N(0x9,p['ITransformService'])],Oe);let ce=class extends Ee{constructor(_0x5b2965,_0x4f08e2,_0x4d7fed,_0x4c0ba3,_0x2942bd,_0x2049cf,_0x4af2eb,_0x5a5495,_0x17f240,_0x2cb868,_0x74a64e,_0xf1704f,_0x45a992,_0x1fe601){const _0x5d044b=_0x714a18;super(_0x5b2965,_0x4f08e2,null,_0x4d7fed,_0x4c0ba3,_0x2cb868,_0x1fe601,_0x2049cf,_0x4af2eb),I(this,_0x5d044b(0x269),_0x5d044b(0x320)),I(this,_0x5d044b(0x5a4),null),I(this,_0x5d044b(0x372),null),(this['_injector']=_0x2942bd,this[_0x5d044b(0x4bc)]=_0x5a5495,this[_0x5d044b(0x5be)]=_0x17f240,this[_0x5d044b(0x3dc)]=_0x74a64e,this[_0x5d044b(0x2e2)]=_0xf1704f,this['_univerInstanceService']=_0x45a992);}[_0x714a18(0x28a)](_0x324d11){const _0x43498d=_0x714a18;return this['_pendingMutations'][_0x43498d(0x5a9)](_0x324d11),this['_updateLocalCache'](),this;}[_0x714a18(0x1bf)](_0x7f4ca7){const _0x100dc7=_0x714a18;if(this[_0x100dc7(0x205)](_0x7f4ca7))return this['_clearScheduledTask'](),this[_0x100dc7(0x5eb)][_0x100dc7(0x62c)](re,this['unitID'],this[_0x100dc7(0x283)],null,this[_0x100dc7(0x5c3)],null,[_0x7f4ca7],this[_0x100dc7(0x625)]);try{const _0xbb87c3=this[_0x100dc7(0x2e2)][_0x100dc7(0x5d6)](_0x7f4ca7,this[_0x100dc7(0x5c3)]);if(p[_0x100dc7(0x2a9)](_0xbb87c3)){const {c1Prime:_0x180e6c,m2Prime:_0x257660}=_0xbb87c3;this[_0x100dc7(0x634)](_0x180e6c);const _0x581222=this['_injector'][_0x100dc7(0x62c)](ce,this[_0x100dc7(0x576)],this[_0x100dc7(0x283)],_0x257660,this[_0x100dc7(0x625)]);return this[_0x100dc7(0x255)](),_0x581222[_0x100dc7(0x5ed)](this[_0x100dc7(0x5a4)]?Math[_0x100dc7(0x208)](0x0,new Date()[_0x100dc7(0x45d)]()-this[_0x100dc7(0x5a4)]):this[_0x100dc7(0x520)]()),_0x581222;}throw _0xbb87c3[_0x100dc7(0x4c3)];}catch(_0xca88ae){return this[_0x100dc7(0x5be)]['error'](_0xca88ae),this['_onConflict'](!0x1);}}[_0x714a18(0x179)](){const _0x5df0f3=_0x714a18;throw new Error(_0x5df0f3(0x438));}[_0x714a18(0x1ca)](){const _0xbb913f=_0x714a18;throw new Error(_0xbb913f(0x51f));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x57589a=_0x714a18;return this[_0x57589a(0x255)](),this[_0x57589a(0x5eb)][_0x57589a(0x62c)](Se,this[_0x57589a(0x576)],this['type'],null,this['_pendingMutations'],this['_handler']);}[_0x714a18(0x50e)](){return this;}[_0x714a18(0x5ed)](_0x5afe5a){const _0x3bbb34=_0x714a18,_0x131ac3=_0x5afe5a!=null?_0x5afe5a:this['_getSendChangesetTimeout']();this[_0x3bbb34(0x5a4)]=new Date()['getTime'](),this[_0x3bbb34(0x372)]=window[_0x3bbb34(0x339)](()=>{const _0x31baf5=_0x3bbb34;this[_0x31baf5(0x255)]();let _0x362654=null;switch(this[_0x31baf5(0x283)]){case ie['UNIVER_SHEET']:{_0x362654=xt(this[_0x31baf5(0x5c3)],this[_0x31baf5(0x576)],this[_0x31baf5(0x4c0)],this['_revisionService'],this[_0x31baf5(0x4bc)]);break;}case ie[_0x31baf5(0x5ff)]:{this[_0x31baf5(0x5c3)][_0x31baf5(0x252)](_0x27fc7e=>_0x27fc7e['id']===ye[_0x31baf5(0x454)]['id'])?_0x362654=xi(this['_pendingMutations'],this['unitID'],this[_0x31baf5(0x4c0)],this[_0x31baf5(0x574)],this[_0x31baf5(0x4bc)]):_0x362654=xt(this[_0x31baf5(0x5c3)],this[_0x31baf5(0x576)],this[_0x31baf5(0x4c0)],this[_0x31baf5(0x574)],this[_0x31baf5(0x4bc)]);break;}default:throw new Error(_0x31baf5(0x485)+this['type']+_0x31baf5(0x228));}const {changeset:_0x35ea45,pendingMutations:_0x4ac310}=_0x362654;this[_0x31baf5(0x625)][_0x31baf5(0x367)](_0x35ea45);const _0xe0aabf=_0x4ac310['length']?this['_injector'][_0x31baf5(0x62c)](le,this[_0x31baf5(0x576)],this[_0x31baf5(0x283)],_0x35ea45,_0x4ac310,this['_handler'],void 0x0):this[_0x31baf5(0x5eb)][_0x31baf5(0x62c)](fe,this[_0x31baf5(0x576)],this['type'],_0x35ea45,this['_handler']);_0xe0aabf[_0x31baf5(0x2bf)](),this[_0x31baf5(0x625)]['onStateChange'](this,_0xe0aabf);},_0x131ac3);}[_0x714a18(0x520)](){const _0x36c297=_0x714a18;var _0x6bbcb4;const _0x331b90=this[_0x36c297(0x3dc)][_0x36c297(0x49b)](ee);return(_0x6bbcb4=_0x331b90==null?void 0x0:_0x331b90[_0x36c297(0x25a)])!=null?_0x6bbcb4:kn;}[_0x714a18(0x5f2)](){const _0x384d58=_0x714a18;throw new Error(_0x384d58(0x558));}[_0x714a18(0x255)](){const _0xbb5b46=_0x714a18;this[_0xbb5b46(0x372)]!=null&&(clearTimeout(this[_0xbb5b46(0x372)]),this['_sendingTimer']=null);}['_onConflict'](_0x126536){const _0x56fbe2=_0x714a18;return this[_0x56fbe2(0x255)](),this['_injector'][_0x56fbe2(0x62c)](ve,this[_0x56fbe2(0x576)],this['type'],null,this[_0x56fbe2(0x5c3)],this[_0x56fbe2(0x625)],_0x126536);}};ce=Ce([N(0x4,a['Inject'](a['Injector'])),N(0x5,a[_0x714a18(0x5ce)](p['RevisionService'])),N(0x6,a['Inject'](exports['LocalCacheService'])),N(0x7,a[_0x714a18(0x5ce)](exports[_0x714a18(0x1f1)])),N(0x8,a[_0x714a18(0x204)]),N(0x9,a['ICommandService']),N(0xa,a[_0x714a18(0x292)]),N(0xb,p['ITransformService']),N(0xc,a[_0x714a18(0x617)]),N(0xd,a['IUndoRedoService'])],ce);let fe=class extends Ee{constructor(_0x5965e9,_0x57e6ce,_0x4faea6,_0x5a4b0f,_0x8b7662,_0x28f794,_0x53bb5e,_0x348c98,_0x47c184,_0x2c63a0,_0x435057){const _0x2514e5=_0x714a18;super(_0x5965e9,_0x57e6ce,_0x4faea6,[],_0x5a4b0f,_0x348c98,_0x435057,_0x28f794,_0x53bb5e),I(this,'status',_0x2514e5(0x63e)),I(this,_0x2514e5(0x614),0x0),I(this,_0x2514e5(0x27a)),I(this,_0x2514e5(0x4ec)),(this[_0x2514e5(0x5eb)]=_0x8b7662,this[_0x2514e5(0x5be)]=_0x47c184,this[_0x2514e5(0x2e2)]=_0x2c63a0);}[_0x714a18(0x28a)](_0x556237){const _0x515c89=_0x714a18;this['_clearScheduledTask']();const _0x33a351=this['_injector'][_0x515c89(0x62c)](le,this[_0x515c89(0x576)],this[_0x515c89(0x283)],this['_awaitingChangeset'],[_0x556237],this[_0x515c89(0x625)],this[_0x515c89(0x27a)]);return _0x33a351[_0x515c89(0x2bf)](),_0x33a351;}[_0x714a18(0x1bf)](_0x28ae4d){const _0x362f02=_0x714a18;if(this[_0x362f02(0x205)](_0x28ae4d))return this['_clearScheduledTask'](),this[_0x362f02(0x5eb)][_0x362f02(0x62c)](re,this[_0x362f02(0x576)],this[_0x362f02(0x283)],this[_0x362f02(0x3c9)],[],null,[_0x28ae4d],this[_0x362f02(0x625)]);try{const _0x577a2e=this['_transformService']['transformChangesets']([_0x28ae4d],[this[_0x362f02(0x3c9)]],!0x1);if(p[_0x362f02(0x4f1)](_0x577a2e)){const {c1Prime:_0xa83b81,c2Prime:_0x31054b}=_0x577a2e;this[_0x362f02(0x634)](_0xa83b81[0x0]),_0x31054b[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x4c0643=this['_injector'][_0x362f02(0x62c)](fe,this['unitID'],this[_0x362f02(0x283)],_0x31054b[0x0],this['_handler']);return _0x4c0643[_0x362f02(0x2bf)](),_0x4c0643;}return this['_onConflict'](!0x1);}catch(_0x4de4fa){return this[_0x362f02(0x5be)][_0x362f02(0x4c3)](_0x4de4fa),this['_onConflict'](!0x1);}}[_0x714a18(0x179)](_0x32eedf){const _0x8f67b8=_0x714a18;this[_0x8f67b8(0x255)]();const _0x509a1d=this[_0x8f67b8(0x574)]['getCurrentRevOfUnit'](this['unitID']);if(_0x32eedf[_0x8f67b8(0x18c)]<_0x509a1d-0x1)return this;if(this[_0x8f67b8(0x205)](_0x32eedf))return this[_0x8f67b8(0x5eb)][_0x8f67b8(0x62c)](re,this[_0x8f67b8(0x576)],this[_0x8f67b8(0x283)],null,[],this[_0x8f67b8(0x3c9)],[],this['_handler']);this[_0x8f67b8(0x2eb)]();const _0x12e17d=this[_0x8f67b8(0x5eb)][_0x8f67b8(0x62c)](Oe,this['unitID'],this[_0x8f67b8(0x283)],this[_0x8f67b8(0x625)]);return _0x12e17d[_0x8f67b8(0x2bf)](),_0x12e17d;}['onRemoteRej'](_0x449869){const _0x566514=_0x714a18;return this[_0x566514(0x25d)](!!(_0x449869!=null&&_0x449869[_0x566514(0x58e)]));}[_0x714a18(0x30f)](_0x11c15e){const _0x448287=_0x714a18;return this[_0x448287(0x614)]>dn?this[_0x448287(0x5b2)]():(this['_resendTimer']=un(this[_0x448287(0x614)],{'timeout':this[_0x448287(0x614)],'reqId':_0x11c15e[_0x448287(0x17c)]}),this[_0x448287(0x4ec)]=this[_0x448287(0x27a)]['subscribe'](({reqId:_0x2d4e9c,timeout:_0x560993})=>{const _0x40e896=_0x448287;this[_0x40e896(0x491)](_0x2d4e9c,_0x560993);}),this);}[_0x714a18(0x5b2)](){const _0x3da048=_0x714a18;return this[_0x3da048(0x255)](),this[_0x3da048(0x5eb)]['createInstance'](Se,this[_0x3da048(0x576)],this[_0x3da048(0x283)],this[_0x3da048(0x3c9)],[],this[_0x3da048(0x625)]);}[_0x714a18(0x50e)](){return this;}[_0x714a18(0x5f2)](){const _0x37d196=_0x714a18;this[_0x37d196(0x625)][_0x37d196(0x367)](this[_0x37d196(0x3c9)]);}[_0x714a18(0x25d)](_0x42b9e6){const _0x21f4bc=_0x714a18;return this[_0x21f4bc(0x255)](),this['_injector'][_0x21f4bc(0x62c)](ve,this[_0x21f4bc(0x576)],this[_0x21f4bc(0x283)],this[_0x21f4bc(0x3c9)],[],this[_0x21f4bc(0x625)],_0x42b9e6);}['_resendWithTimeout'](_0x37764b,_0x4fca17){const _0x34bce0=_0x714a18;var _0x47883a;_0x37764b===((_0x47883a=this[_0x34bce0(0x3c9)])==null?void 0x0:_0x47883a['reqId'])&&(this[_0x34bce0(0x5f2)](),this['_resendTimeout']=_0x4fca17===0x0?0x3e8:_0x4fca17*0x2);}['_clearScheduledTask'](){const _0x37dbb0=_0x714a18;var _0x9a8a62;(_0x9a8a62=this[_0x37dbb0(0x4ec)])==null||_0x9a8a62[_0x37dbb0(0x1f9)](),this[_0x37dbb0(0x614)]=0x0;}};fe=Ce([N(0x4,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),N(0x5,a[_0x714a18(0x5ce)](p[_0x714a18(0x58b)])),N(0x6,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0x7,a[_0x714a18(0x1c8)]),N(0x8,a['ILogService']),N(0x9,p[_0x714a18(0x1db)]),N(0xa,a[_0x714a18(0x535)])],fe);let le=class extends Ee{constructor(_0x331610,_0x190d76,_0x4a39c7,_0x5d72e1,_0x51a01c,_0x4d9cf7,_0x1dceca,_0x56d244,_0x789f7b,_0x26545b,_0x85b6ae,_0x2c65c7,_0x4546e2){const _0x2f1a8c=_0x714a18;super(_0x331610,_0x190d76,_0x4a39c7,_0x5d72e1,_0x51a01c,_0x26545b,_0x4546e2,_0x56d244,_0x789f7b),I(this,_0x2f1a8c(0x269),'awaiting_with_pending'),I(this,'_resendTimeout',0x0),I(this,'_resendTimer'),I(this,_0x2f1a8c(0x4ec)),(this[_0x2f1a8c(0x5eb)]=_0x1dceca,this[_0x2f1a8c(0x5be)]=_0x85b6ae,this[_0x2f1a8c(0x2e2)]=_0x2c65c7,_0x4d9cf7&&(this[_0x2f1a8c(0x27a)]=_0x4d9cf7,this[_0x2f1a8c(0x4ec)]=this[_0x2f1a8c(0x27a)]['subscribe'](({reqId:_0x4976fb,timeout:_0x4f4dd8})=>{const _0x2fe2ad=_0x2f1a8c;this[_0x2fe2ad(0x491)](_0x4976fb,_0x4f4dd8);})));}['appendMutation'](_0x2e7d24){const _0xaadb62=_0x714a18;return this['_pendingMutations'][_0xaadb62(0x5a9)](_0x2e7d24),this;}[_0x714a18(0x1bf)](_0x3c61c2){const _0x2a1c95=_0x714a18;if(this['_checkMissing'](_0x3c61c2))return this[_0x2a1c95(0x255)](),this[_0x2a1c95(0x5eb)][_0x2a1c95(0x62c)](re,this[_0x2a1c95(0x576)],this[_0x2a1c95(0x283)],this[_0x2a1c95(0x3c9)],this[_0x2a1c95(0x5c3)],null,[_0x3c61c2],this[_0x2a1c95(0x625)]);try{const _0x5b050b=this[_0x2a1c95(0x2e2)][_0x2a1c95(0x35b)]([_0x3c61c2],[this['_awaitingChangeset']],!0x1);if(p[_0x2a1c95(0x4f1)](_0x5b050b)){const {c1Prime:_0x1a3653,c2Prime:_0x12c151}=_0x5b050b,_0x50460a=this[_0x2a1c95(0x2e2)][_0x2a1c95(0x5d6)](_0x1a3653[0x0],this['_pendingMutations']);if(p[_0x2a1c95(0x2a9)](_0x50460a)){const {c1Prime:_0x4320fb,m2Prime:_0x231482}=_0x50460a;return this[_0x2a1c95(0x634)](_0x4320fb),_0x12c151[0x0][_0x2a1c95(0x324)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this['_injector'][_0x2a1c95(0x62c)](le,this[_0x2a1c95(0x576)],this[_0x2a1c95(0x283)],_0x12c151[0x0],_0x231482,this[_0x2a1c95(0x625)],void 0x0);}throw _0x50460a[_0x2a1c95(0x4c3)];}throw _0x5b050b[_0x2a1c95(0x4c3)];}catch(_0xca94dc){return this['_logService'][_0x2a1c95(0x4c3)](_0xca94dc),this[_0x2a1c95(0x25d)](!0x1);}}[_0x714a18(0x179)](_0x54d89c){const _0x5c4a39=_0x714a18;if(this['_clearScheduledTask'](),this[_0x5c4a39(0x205)](_0x54d89c))return this[_0x5c4a39(0x5eb)][_0x5c4a39(0x62c)](re,this['unitID'],this[_0x5c4a39(0x283)],null,this['_pendingMutations'],this[_0x5c4a39(0x3c9)],[],this['_handler']);this[_0x5c4a39(0x2eb)]();const _0x4327ed=this[_0x5c4a39(0x5eb)][_0x5c4a39(0x62c)](ce,this[_0x5c4a39(0x576)],this['type'],this[_0x5c4a39(0x5c3)],this[_0x5c4a39(0x625)]);return _0x4327ed[_0x5c4a39(0x5ed)](),_0x4327ed[_0x5c4a39(0x2bf)](),_0x4327ed;}[_0x714a18(0x1ca)](_0x1ed301){return this['_onConflict'](!!(_0x1ed301!=null&&_0x1ed301['isPermissionRej']));}[_0x714a18(0x30f)](_0x45cf38){const _0x93841d=_0x714a18;return this[_0x93841d(0x614)]>dn?this[_0x93841d(0x5b2)]():(this[_0x93841d(0x27a)]=un(this[_0x93841d(0x614)],{'timeout':this['_resendTimeout'],'reqId':_0x45cf38[_0x93841d(0x17c)]}),this['_sender']=this[_0x93841d(0x27a)]['subscribe'](({reqId:_0x470468,timeout:_0x3f933b})=>{const _0x480383=_0x93841d;this[_0x480383(0x491)](_0x470468,_0x3f933b);}),this);}[_0x714a18(0x5b2)](){const _0x31a6c1=_0x714a18;return this[_0x31a6c1(0x255)](),this[_0x31a6c1(0x5eb)][_0x31a6c1(0x62c)](Se,this[_0x31a6c1(0x576)],this[_0x31a6c1(0x283)],this[_0x31a6c1(0x3c9)],this[_0x31a6c1(0x5c3)],this[_0x31a6c1(0x625)]);}['toggleOnline'](){return this;}[_0x714a18(0x5f2)](){const _0x36808d=_0x714a18;this[_0x36808d(0x625)]['onSendChangeset'](this[_0x36808d(0x3c9)]);}[_0x714a18(0x25d)](_0x15da0e){const _0x5ebc2d=_0x714a18;return this[_0x5ebc2d(0x255)](),this['_injector']['createInstance'](ve,this[_0x5ebc2d(0x576)],this['type'],null,this['_pendingMutations'],this[_0x5ebc2d(0x625)],_0x15da0e);}['_resendWithTimeout'](_0xfcc906,_0x16ea82){const _0x467e7f=_0x714a18;var _0x2f66d9;_0xfcc906===((_0x2f66d9=this[_0x467e7f(0x3c9)])==null?void 0x0:_0x2f66d9[_0x467e7f(0x17c)])&&(this[_0x467e7f(0x5f2)](),this[_0x467e7f(0x614)]=_0x16ea82===0x0?0x3e8:_0x16ea82*0x2);}[_0x714a18(0x255)](){const _0x1af43f=_0x714a18;var _0xcfb2b5;(_0xcfb2b5=this[_0x1af43f(0x4ec)])==null||_0xcfb2b5[_0x1af43f(0x1f9)](),this[_0x1af43f(0x614)]=0x0;}};le=Ce([N(0x6,a['Inject'](a[_0x714a18(0x2cb)])),N(0x7,a[_0x714a18(0x5ce)](p[_0x714a18(0x58b)])),N(0x8,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0x9,a['ICommandService']),N(0xa,a[_0x714a18(0x204)]),N(0xb,p[_0x714a18(0x1db)]),N(0xc,a[_0x714a18(0x535)])],le);let ve=class extends Ee{constructor(_0x28f515,_0x1c24d5,_0x302361,_0x4a09d1,_0x3c3fd3,_0x1615a6=!0x1,_0x259554,_0x5b4517,_0x58b420,_0x5bf582,_0x37538a,_0x58f751,_0x1c91dc){const _0x5b902b=_0x714a18;super(_0x28f515,_0x1c24d5,_0x302361,_0x4a09d1,_0x3c3fd3,_0x5b4517,_0x58b420,_0x37538a,_0x5bf582),I(this,_0x5b902b(0x269),_0x5b902b(0x500)),(this[_0x5b902b(0x3ff)]=_0x1615a6,this['_permissionService']=_0x259554,this[_0x5b902b(0x467)]=_0x58f751,this[_0x5b902b(0x177)]=_0x1c91dc,this[_0x5b902b(0x3a7)](),this['_clearLocalCache'](),this[_0x5b902b(0x56a)]());}['appendMutation'](){return this;}[_0x714a18(0x1bf)](){return this;}[_0x714a18(0x179)](){return this;}['onRemoteRej'](){return this;}[_0x714a18(0x30f)](){return this;}[_0x714a18(0x5b2)](){return this;}[_0x714a18(0x50e)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x714a18(0x379)](){const _0x33d470=_0x714a18;this[_0x33d470(0x4c7)][_0x33d470(0x215)](this['unitID'],this['type'],null,[]);}[_0x714a18(0x3a7)](){const _0x3dda37=_0x714a18;this[_0x3dda37(0x3ff)]?this['_notificationService'][_0x3dda37(0x26f)]({'title':this[_0x3dda37(0x467)]['t'](_0x3dda37(0x5e1)),'content':this['_localeService']['t'](_0x3dda37(0x349)),'type':'error','duration':0x0}):this[_0x3dda37(0x177)][_0x3dda37(0x26f)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x3dda37(0x467)]['t']('conflict.content'),'type':'error','duration':0x0});}[_0x714a18(0x56a)](){const _0x15dfa5=_0x714a18;this[_0x15dfa5(0x389)][_0x15dfa5(0x492)](new B[(_0x15dfa5(0x365))](this['unitID'])['id'],!0x1);}};ve=Ce([N(0x6,a[_0x714a18(0x5ce)](a[_0x714a18(0x503)])),N(0x7,a['ICommandService']),N(0x8,a[_0x714a18(0x535)]),N(0x9,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0xa,a[_0x714a18(0x5ce)](p['RevisionService'])),N(0xb,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),N(0xc,te['INotificationService'])],ve);let Se=class extends Ee{constructor(_0x30c1fb,_0x46f890,_0x6226c8,_0x500295,_0x39da00,_0x296570,_0x2caddb,_0x565ffa,_0x2f5cb4,_0x546a30){const _0x919f31=_0x714a18;super(_0x30c1fb,_0x46f890,_0x6226c8,_0x500295,_0x39da00,_0x2f5cb4,_0x546a30,_0x2caddb,_0x565ffa),I(this,'status',_0x919f31(0x528)),this[_0x919f31(0x5eb)]=_0x296570;}[_0x714a18(0x28a)](_0xea1843){const _0x11a415=_0x714a18;return this[_0x11a415(0x5c3)][_0x11a415(0x5a9)](_0xea1843),this[_0x11a415(0x2bf)](),this;}[_0x714a18(0x1bf)](_0x2e9d45){const _0x3458df=_0x714a18;throw new Error(_0x3458df(0x527));}[_0x714a18(0x179)](){const _0xa7a35c=_0x714a18;throw new Error(_0xa7a35c(0x1f4));}[_0x714a18(0x1ca)](){const _0x5f2983=_0x714a18;throw new Error(_0x5f2983(0x505));}[_0x714a18(0x30f)](){return this;}[_0x714a18(0x5b2)](){return this;}[_0x714a18(0x50e)](){const _0x475172=_0x714a18,{_injector:_0x24b9cf,_pendingMutations:_0xe91ac0,_awaitingChangeset:_0x33f9c6,unitID:_0x4ad0b3,_handler:_0xf89f70,type:_0x2737d0}=this,_0x23ca50=fn(_0x24b9cf,_0x4ad0b3,_0x2737d0,_0x33f9c6,_0xe91ac0,_0xf89f70);return _0x23ca50 instanceof ce?_0x23ca50[_0x475172(0x5ed)]():(_0x23ca50 instanceof le||_0x23ca50 instanceof fe)&&_0x23ca50[_0x475172(0x5f2)](),_0x23ca50;}[_0x714a18(0x5f2)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};Se=Ce([N(0x5,a['Inject'](a[_0x714a18(0x2cb)])),N(0x6,a['Inject'](p[_0x714a18(0x58b)])),N(0x7,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0x8,a[_0x714a18(0x1c8)]),N(0x9,a[_0x714a18(0x535)])],Se);let re=class extends Ee{constructor(_0x458902,_0x415b54,_0x1bbe42,_0x1289a3,_0x1608c3,_0x50cb9f,_0x1b6348,_0x3a408f,_0xd67ce1,_0x66b94e,_0xea4bb,_0x3d4878,_0x35c8a9,_0x23b220){const _0x52d230=_0x714a18;super(_0x458902,_0x415b54,_0x1bbe42,_0x1289a3,_0x1b6348,_0x3d4878,_0x35c8a9,_0xd67ce1,_0x66b94e),I(this,_0x52d230(0x269),'fetch_missing'),(this[_0x52d230(0x207)]=_0x1608c3,this[_0x52d230(0x577)]=_0x50cb9f,this['_injector']=_0x3a408f,this[_0x52d230(0x5be)]=_0xea4bb,this[_0x52d230(0x2e2)]=_0x23b220);}[_0x714a18(0x190)](_0x262c45){const _0x561bde=_0x714a18;try{const _0x3e45ab=[..._0x262c45,...this['_queuedRemoteChangesets']],_0x959045=[this['_awaitingChangeset']||this[_0x561bde(0x207)]][_0x561bde(0x630)](_0x87042b=>!!_0x87042b);let _0x4a0c6a,_0x1078e5;if(_0x959045[_0x561bde(0x5a6)]){const _0x3cb343=this['_transformService'][_0x561bde(0x35b)](_0x3e45ab,_0x959045,!0x1);if(!p[_0x561bde(0x4f1)](_0x3cb343))throw _0x3cb343['error'];_0x4a0c6a=_0x3cb343[_0x561bde(0x281)],_0x1078e5=_0x3cb343[_0x561bde(0x318)];}else _0x4a0c6a=_0x3e45ab,_0x1078e5=[];let _0x3ca47b=this[_0x561bde(0x5c3)];_0x4a0c6a[_0x561bde(0x39e)](_0x3a2e8c=>{const _0x17db6b=_0x561bde;let _0x1380ac;if(_0x3ca47b[_0x17db6b(0x5a6)]){const _0x5b4f0b=this[_0x17db6b(0x2e2)][_0x17db6b(0x5d6)](_0x3a2e8c,_0x3ca47b);if(!p['isTransformMutationsWithChangesetSuccess'](_0x5b4f0b))throw _0x5b4f0b[_0x17db6b(0x4c3)];_0x1380ac=_0x5b4f0b[_0x17db6b(0x281)],_0x3ca47b=_0x5b4f0b[_0x17db6b(0x3cd)];}else _0x1380ac=_0x3a2e8c;this[_0x17db6b(0x634)](_0x1380ac);}),this['_acknowledgedAwaitingChangeset']&&this[_0x561bde(0x2eb)](),this[_0x561bde(0x3c9)]&&_0x1078e5['length']&&(_0x1078e5[0x0][_0x561bde(0x324)]=this[_0x561bde(0x5fc)]());let _0x2bbdfb;if(this['_awaitingChangeset']&&_0x3ca47b[_0x561bde(0x5a6)]!==0x0)_0x2bbdfb=this[_0x561bde(0x5eb)][_0x561bde(0x62c)](le,this[_0x561bde(0x576)],this['type'],_0x1078e5[0x0],_0x3ca47b,this[_0x561bde(0x625)],void 0x0);else{if(this[_0x561bde(0x3c9)]&&_0x3ca47b[_0x561bde(0x5a6)]===0x0)_0x1078e5[0x0][_0x561bde(0x324)]=this['_getCurrentRevision'](),_0x2bbdfb=this[_0x561bde(0x5eb)]['createInstance'](fe,this[_0x561bde(0x576)],this[_0x561bde(0x283)],_0x1078e5[0x0],this[_0x561bde(0x625)]);else{if(_0x3ca47b[_0x561bde(0x5a6)]!==0x0){const _0x1ac57d=this[_0x561bde(0x5eb)][_0x561bde(0x62c)](ce,this['unitID'],this[_0x561bde(0x283)],_0x3ca47b,this[_0x561bde(0x625)]);_0x1ac57d['_schedule'](),_0x2bbdfb=_0x1ac57d;}else _0x2bbdfb=this[_0x561bde(0x5eb)][_0x561bde(0x62c)](Oe,this[_0x561bde(0x576)],this['type'],this['_handler']);}}return _0x2bbdfb[_0x561bde(0x2bf)](),_0x2bbdfb;}catch(_0x56e050){return this['_logService'][_0x561bde(0x4c3)](_0x561bde(0x183),_0x561bde(0x1ad),_0x56e050),this[_0x561bde(0x5eb)][_0x561bde(0x62c)](ve,this[_0x561bde(0x576)],this[_0x561bde(0x283)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x714a18(0x5f2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x714a18(0x28a)](_0x35cfae){const _0x3a2c9a=_0x714a18;return this[_0x3a2c9a(0x5c3)][_0x3a2c9a(0x5a9)](_0x35cfae),this;}[_0x714a18(0x1bf)](_0x13d2f1){const _0x249b8a=_0x714a18;return this['_queuedRemoteChangesets'][_0x249b8a(0x5a9)](_0x13d2f1),this;}['onRemoteAck'](_0x328f88){const _0xf590f3=_0x714a18;if(this['_awaitingChangeset'])return this[_0xf590f3(0x207)]=this['_awaitingChangeset'],this[_0xf590f3(0x3c9)]=null,this;throw new Error(_0xf590f3(0x2e9));}[_0x714a18(0x1ca)](_0x5a1f4d){const _0x52c008=_0x714a18;return this[_0x52c008(0x25d)](!!(_0x5a1f4d!=null&&_0x5a1f4d[_0x52c008(0x58e)]));}[_0x714a18(0x30f)](){return this;}['toggleOffline'](){const _0x65d70=_0x714a18;return this[_0x65d70(0x5eb)][_0x65d70(0x62c)](Se,this[_0x65d70(0x576)],this[_0x65d70(0x283)],this[_0x65d70(0x3c9)],this[_0x65d70(0x5c3)],this[_0x65d70(0x625)]);}[_0x714a18(0x50e)](){return this;}['_onConflict'](_0x5e706c){const _0x2ac999=_0x714a18;return this[_0x2ac999(0x5eb)][_0x2ac999(0x62c)](ve,this[_0x2ac999(0x576)],this[_0x2ac999(0x283)],this[_0x2ac999(0x3c9)],this[_0x2ac999(0x5c3)],this[_0x2ac999(0x625)],_0x5e706c);}};re=Ce([N(0x7,a['Inject'](a[_0x714a18(0x2cb)])),N(0x8,a[_0x714a18(0x5ce)](p['RevisionService'])),N(0x9,a['Inject'](exports[_0x714a18(0x53c)])),N(0xa,a[_0x714a18(0x204)]),N(0xb,a['ICommandService']),N(0xc,a[_0x714a18(0x535)]),N(0xd,p[_0x714a18(0x1db)])],re);function fn(_0x47bb3c,_0x28b684,_0x3431a0,_0x33ab21,_0x13696c,_0x789d6){const _0x37ae48=_0x714a18;return _0x33ab21&&_0x13696c[_0x37ae48(0x5a6)]?_0x47bb3c[_0x37ae48(0x62c)](le,_0x28b684,_0x3431a0,_0x33ab21,_0x13696c,_0x789d6,void 0x0):_0x33ab21?_0x47bb3c[_0x37ae48(0x62c)](fe,_0x28b684,_0x3431a0,_0x33ab21,_0x789d6):_0x13696c['length']?_0x47bb3c[_0x37ae48(0x62c)](ce,_0x28b684,_0x3431a0,_0x13696c,_0x789d6):_0x47bb3c['createInstance'](Oe,_0x28b684,_0x3431a0,_0x789d6);}var ki=Object[_0x714a18(0x1d2)],Bi=Object[_0x714a18(0x254)],Rt=(_0x2a8fc5,_0x5cdd67,_0xb49f46,_0x18def5)=>{const _0x3ec570=_0x714a18;for(var _0x1863db=_0x18def5>0x1?void 0x0:_0x18def5?Bi(_0x5cdd67,_0xb49f46):_0x5cdd67,_0x50eead=_0x2a8fc5[_0x3ec570(0x5a6)]-0x1,_0x3cb5cc;_0x50eead>=0x0;_0x50eead--)(_0x3cb5cc=_0x2a8fc5[_0x50eead])&&(_0x1863db=(_0x18def5?_0x3cb5cc(_0x5cdd67,_0xb49f46,_0x1863db):_0x3cb5cc(_0x1863db))||_0x1863db);return _0x18def5&&_0x1863db&&ki(_0x5cdd67,_0xb49f46,_0x1863db),_0x1863db;},H=(_0x1066ff,_0x11d494)=>(_0x1c83a4,_0x4a323d)=>_0x11d494(_0x1c83a4,_0x4a323d,_0x1066ff);exports['CollaborationEntity']=class extends a[_0x714a18(0x237)]{constructor(_0x58d5a1,_0x4e16f8,_0x1cfb58,_0x2c4ad,_0x4113ca,_0x430872,_0x285809,_0x136adf,_0xa6829f,_0x174014,_0x115ff4,_0x4f56ad,_0x1e2b88){const _0x443e44=_0x714a18;super(),I(this,_0x443e44(0x47c),new A[(_0x443e44(0x638))](null)),I(this,_0x443e44(0x439),this[_0x443e44(0x47c)][_0x443e44(0x23c)]()),I(this,_0x443e44(0x48c)),I(this,_0x443e44(0x3b4),!0x1),I(this,'_changesetSessionId',''),I(this,_0x443e44(0x597),0x0),I(this,'status$',this[_0x443e44(0x439)][_0x443e44(0x52c)](A['map'](_0x17a7b5=>_0x17a7b5?_0x17a7b5[_0x443e44(0x269)]:q[_0x443e44(0x3c6)]),A[_0x443e44(0x4f7)](0x1))),I(this,_0x443e44(0x4ce),!0x1),I(this,_0x443e44(0x1ec),[]),(this[_0x443e44(0x576)]=_0x58d5a1,this['session']=_0x4e16f8,this[_0x443e44(0x63c)]=_0x1cfb58,this['_injector']=_0x2c4ad,this['_localCacheService']=_0x4113ca,this[_0x443e44(0x3ac)]=_0x430872,this[_0x443e44(0x467)]=_0x285809,this['_revisionService']=_0x136adf,this['_logService']=_0xa6829f,this[_0x443e44(0x266)]=_0x174014,this[_0x443e44(0x636)]=_0x115ff4,this[_0x443e44(0x389)]=_0x4f56ad,this[_0x443e44(0x2e7)]=_0x1e2b88);}get['state'](){const _0x3d4686=_0x714a18;return this[_0x3d4686(0x48c)];}async['init'](){const _0x338be3=_0x714a18;if(this[_0x338be3(0x420)])throw new Error(_0x338be3(0x4bf));await this[_0x338be3(0x26c)]();}[_0x714a18(0x4ea)](){const _0x53a4a9=_0x714a18;return this[_0x53a4a9(0x3b4)]=!0x0,a['toDisposable'](()=>{const _0x1ebf6f=_0x53a4a9;this[_0x1ebf6f(0x3b4)]=!0x1,this[_0x1ebf6f(0x25b)]();});}['_updateState'](_0x6b79b8){const _0x3859ba=_0x714a18;this['_state']=_0x6b79b8,this[_0x3859ba(0x47c)][_0x3859ba(0x5c5)](_0x6b79b8);}async[_0x714a18(0x26c)](){const _0x32bbf9=_0x714a18;var _0x59e520;this[_0x32bbf9(0x5d2)](await this[_0x32bbf9(0x2ec)]()),this[_0x32bbf9(0x2e7)]&&((_0x59e520=this[_0x32bbf9(0x2e7)])==null||_0x59e520[_0x32bbf9(0x61e)](this[_0x32bbf9(0x576)]),this[_0x32bbf9(0x580)](this[_0x32bbf9(0x2e7)][_0x32bbf9(0x2d6)](this[_0x32bbf9(0x576)])['subscribe'](_0x3dbe24=>{const _0x31a1f8=_0x32bbf9;this[_0x31a1f8(0x5be)][_0x31a1f8(0x188)](_0x31a1f8(0x210),'editing\x20status\x20changed\x20to',_0x3dbe24),_0x3dbe24===hn[_0x31a1f8(0x1e4)]?(this[_0x31a1f8(0x636)][_0x31a1f8(0x26f)]({'content':this[_0x31a1f8(0x467)]['t'](_0x31a1f8(0x337)),'type':Ie['MessageType'][_0x31a1f8(0x21a)]}),this[_0x31a1f8(0x389)][_0x31a1f8(0x492)](new B['WorkbookEditablePermission'](this[_0x31a1f8(0x576)])['id'],!0x1),this[_0x31a1f8(0x389)][_0x31a1f8(0x30a)](!0x1)):(this[_0x31a1f8(0x389)][_0x31a1f8(0x492)](new B[(_0x31a1f8(0x365))](this[_0x31a1f8(0x576)])['id'],!0x0),this[_0x31a1f8(0x389)][_0x31a1f8(0x30a)](!0x0));})));let _0x441a68=!0x1;return this['disposeWithMe'](this['session'][_0x32bbf9(0x25c)][_0x32bbf9(0x47b)](_0x9f0c3f=>{const _0x2b59e4=_0x32bbf9;_0x9f0c3f===se[_0x2b59e4(0x32f)]?this[_0x2b59e4(0x5e3)](_0x441a68):_0x9f0c3f===se[_0x2b59e4(0x3c6)]&&(_0x441a68=!0x0,this['_toggleOffline']());})),this[_0x32bbf9(0x580)](this['session']['event$'][_0x32bbf9(0x47b)](_0x28c461=>{const _0x570455=_0x32bbf9;try{switch(_0x28c461[_0x570455(0x298)]){case p[_0x570455(0x57d)][_0x570455(0x203)]:{this[_0x570455(0x3c5)](p['parseProtocolChangeset'](_0x28c461['data']));break;}case p[_0x570455(0x57d)][_0x570455(0x211)]:{this['_onRemoteACK'](_0x28c461[_0x570455(0x539)]);break;}case p[_0x570455(0x57d)]['CHANGESET_REJ']:{this[_0x570455(0x493)]();break;}case p[_0x570455(0x57d)][_0x570455(0x549)]:{this[_0x570455(0x487)](_0x28c461['data']);break;}case p['CollaborationEvent'][_0x570455(0x1dc)]:{this['_onFetchMissResult'](_0x28c461[_0x570455(0x539)]['changesets'][_0x570455(0x556)](_0x47b8f9=>p[_0x570455(0x3cb)](_0x47b8f9)));break;}case p[_0x570455(0x57d)][_0x570455(0x640)]:this[_0x570455(0x493)]({'isPermissionRej':!0x0});}}catch(_0x15cc32){throw console['error'](_0x570455(0x507),_0x15cc32),_0x15cc32;}})),this[_0x32bbf9(0x48c)];}[_0x714a18(0x4dd)](){const _0x5d45fe=_0x714a18;this[_0x5d45fe(0x4ce)]=!0x1;}[_0x714a18(0x4d5)](){const _0xc5100e=_0x714a18;if(this[_0xc5100e(0x4ce)])throw new Error(_0xc5100e(0x41e));this[_0xc5100e(0x4ce)]=!0x0;}['_onLocalMutation'](_0x47cac5){const _0x39e6f4=_0x714a18;this[_0x39e6f4(0x4d5)](),this[_0x39e6f4(0x5d2)](this['_state']['appendMutation'](_0x47cac5)),this['_unlockTransition']();}[_0x714a18(0x3c5)](_0x2f6ef5){const _0x82e272=_0x714a18;if(!(_0x2f6ef5[_0x82e272(0x18c)]<=this[_0x82e272(0x574)][_0x82e272(0x445)](this['unitID']))){if(this[_0x82e272(0x3b4)]){this[_0x82e272(0x1ec)][_0x82e272(0x5a9)](_0x2f6ef5);return;}this[_0x82e272(0x2e5)](_0x2f6ef5);}}[_0x714a18(0x25b)](){const _0x314f7e=_0x714a18;this[_0x314f7e(0x1ec)][_0x314f7e(0x39e)](_0xbe20ad=>this[_0x314f7e(0x2e5)](_0xbe20ad)),this[_0x314f7e(0x1ec)]=[];}[_0x714a18(0x2e5)](_0x3b2fe8){const _0x4af882=_0x714a18,_0x4a2a2a=this[_0x4af882(0x3ac)][_0x4af882(0x1d3)][_0x4af882(0x5ac)](this[_0x4af882(0x3ac)][_0x4af882(0x1d3)]['getInterceptPoints']()[_0x4af882(0x245)])(_0x3b2fe8[_0x4af882(0x2e1)],null)||_0x3b2fe8[_0x4af882(0x2e1)],_0x39dd83={..._0x3b2fe8,'mutations':_0x4a2a2a};this[_0x4af882(0x4d5)](),this[_0x4af882(0x5d2)](this[_0x4af882(0x48c)][_0x4af882(0x1bf)](_0x39dd83)),this[_0x4af882(0x4dd)]();}[_0x714a18(0x224)](_0x4da292){const _0x169bcd=_0x714a18;this[_0x169bcd(0x4d5)](),this[_0x169bcd(0x5d2)](this[_0x169bcd(0x48c)][_0x169bcd(0x179)](_0x4da292)),this[_0x169bcd(0x4dd)]();}['_onRemoteRejected'](_0x51002d){const _0x528669=_0x714a18;this[_0x528669(0x4d5)](),this[_0x528669(0x5d2)](this[_0x528669(0x48c)][_0x528669(0x1ca)](_0x51002d)),this[_0x528669(0x4dd)]();}[_0x714a18(0x487)](_0x6896d2){const _0x38d25a=_0x714a18;this[_0x38d25a(0x4d5)](),this[_0x38d25a(0x5d2)](this['_state'][_0x38d25a(0x30f)](_0x6896d2)),this[_0x38d25a(0x4dd)]();}[_0x714a18(0x575)](_0x9bded5){const _0x44fb15=_0x714a18;if(!(this[_0x44fb15(0x48c)]instanceof re))throw new TypeError(_0x44fb15(0x5cd));const _0x241019=_0x9bded5['map'](_0xc04a48=>{const _0x1c0941=_0x44fb15,_0x2cc00a=this[_0x1c0941(0x3ac)]['interceptor'][_0x1c0941(0x5ac)](this[_0x1c0941(0x3ac)][_0x1c0941(0x1d3)][_0x1c0941(0x494)]()[_0x1c0941(0x245)])(_0xc04a48[_0x1c0941(0x2e1)],null)||_0xc04a48['mutations'];return{..._0xc04a48,'mutations':_0x2cc00a};});this[_0x44fb15(0x4d5)](),this[_0x44fb15(0x5d2)](this[_0x44fb15(0x48c)][_0x44fb15(0x190)](_0x241019)),this[_0x44fb15(0x4dd)]();}[_0x714a18(0x32d)](){const _0x526761=_0x714a18;this[_0x526761(0x4d5)](),this[_0x526761(0x5d2)](this[_0x526761(0x48c)][_0x526761(0x5b2)]()),this[_0x526761(0x4dd)]();}['_toggleOnline'](_0x2cf6ac=!0x1){const _0x472adc=_0x714a18;this[_0x472adc(0x4d5)](),this[_0x472adc(0x5d2)](this[_0x472adc(0x48c)]['toggleOnline']()),this['_unlockTransition']();const _0x25697d=this[_0x472adc(0x48c)];_0x2cf6ac&&_0x25697d instanceof Oe&&(this[_0x472adc(0x4d5)](),this[_0x472adc(0x5d2)](_0x25697d[_0x472adc(0x1b0)]()),this[_0x472adc(0x4dd)]());}async[_0x714a18(0x2ec)](){return new Promise(_0x4ed1a9=>{const _0x2d0cb2=_0x420c;this[_0x2d0cb2(0x5a0)][_0x2d0cb2(0x25c)]['pipe'](A['take'](0x1))[_0x2d0cb2(0x47b)](async _0x4b0a95=>{const _0x435909=_0x2d0cb2;_0x4ed1a9(await this['_createInitialStateImpl'](_0x4b0a95===se[_0x435909(0x32f)]));});});}[_0x714a18(0x34e)](){const _0x53749d=_0x714a18,_0x51efe0=this[_0x53749d(0x576)];return{'onStateChange':(_0xe42ee7,_0x289972)=>{const _0x347052=_0x53749d;if(_0xe42ee7!==this[_0x347052(0x48c)])throw new Error(_0x347052(0x280)+_0xe42ee7['status']+_0x347052(0x2e4)+_0x289972[_0x347052(0x269)]+_0x347052(0x456)+this['_state']['status']);this[_0x347052(0x5d2)](_0x289972);},'onSendChangeset':_0x266fcd=>{const _0x3ca282=_0x53749d;_0x266fcd['sid']||(_0x266fcd['sid']=this[_0x3ca282(0x4d0)],_0x266fcd['reqId']=++this[_0x3ca282(0x597)]);const _0x5eb6c0={'eventID':p[_0x3ca282(0x57d)][_0x3ca282(0x569)],'data':{'unitID':_0x266fcd[_0x3ca282(0x576)],'unitType':this[_0x3ca282(0x63c)],'changeset':_0x266fcd,'memberID':this[_0x3ca282(0x5a0)][_0x3ca282(0x2d0)]()}};this[_0x3ca282(0x5a0)][_0x3ca282(0x4c5)](_0x5eb6c0,this[_0x3ca282(0x576)]);},'onMissingChangesets':({from:_0x13f0fe,to:_0x347a54})=>{const _0xf3f68e=_0x53749d;this['_logService'][_0xf3f68e(0x188)](_0xf3f68e(0x210),_0xf3f68e(0x415)+_0x13f0fe+_0xf3f68e(0x33d)+_0x347a54);const _0x30ee5e={'eventID':p[_0xf3f68e(0x57d)][_0xf3f68e(0x43c)],'data':{'unitID':_0x51efe0,'unitType':this[_0xf3f68e(0x63c)],'from':_0x13f0fe,'to':_0x347a54}};this[_0xf3f68e(0x5a0)][_0xf3f68e(0x4c5)](_0x30ee5e,this['unitID']);}};}async[_0x714a18(0x27b)](_0x7a5611){const _0x1ff3f0=_0x714a18;var _0x1a219e,_0x22693e;const _0x59c8f6=await this[_0x1ff3f0(0x4c7)][_0x1ff3f0(0x5af)](this[_0x1ff3f0(0x576)]),_0x10b3ae=(_0x1a219e=_0x59c8f6==null?void 0x0:_0x59c8f6['mutations'])!=null?_0x1a219e:[],_0x409fbc=(_0x22693e=_0x59c8f6==null?void 0x0:_0x59c8f6[_0x1ff3f0(0x4e6)])!=null?_0x22693e:null,_0x3afe80=!!(_0x409fbc!=null&&_0x409fbc[_0x1ff3f0(0x59c)])&&!!(_0x409fbc!=null&&_0x409fbc[_0x1ff3f0(0x17c)]);this[_0x1ff3f0(0x4d0)]=_0x3afe80?_0x409fbc['sid']:Si(),this['_changesetReqId']=_0x3afe80?_0x409fbc[_0x1ff3f0(0x17c)]:0x0;const _0x297711=this[_0x1ff3f0(0x576)];try{this[_0x1ff3f0(0x427)](_0x409fbc,_0x10b3ae);}catch(_0x5f4759){this[_0x1ff3f0(0x5be)]['error'](_0x5f4759);}const _0x5e4d78=this[_0x1ff3f0(0x34e)]();if(_0x7a5611){const _0x4fb011=fn(this['_injector'],_0x297711,this['_type'],_0x409fbc,_0x10b3ae,_0x5e4d78);return _0x4fb011 instanceof ce?_0x4fb011[_0x1ff3f0(0x5ed)]():(_0x4fb011 instanceof le||_0x4fb011 instanceof fe)&&_0x4fb011[_0x1ff3f0(0x5f2)](),_0x4fb011;}return this[_0x1ff3f0(0x5eb)][_0x1ff3f0(0x62c)](Se,_0x297711,this[_0x1ff3f0(0x63c)],_0x409fbc,_0x10b3ae,_0x5e4d78);}[_0x714a18(0x427)](_0x25d6da,_0x45d940){const _0x288ea3=_0x714a18;var _0x3a605f,_0x1eddf6;const _0x30c741=this['_compressMutationService']['interceptor'][_0x288ea3(0x5ac)](this[_0x288ea3(0x3ac)][_0x288ea3(0x1d3)][_0x288ea3(0x494)]()[_0x288ea3(0x245)]);(_0x3a605f=_0x30c741((_0x25d6da==null?void 0x0:_0x25d6da[_0x288ea3(0x2e1)])||[],null))==null||_0x3a605f[_0x288ea3(0x39e)](_0x2c6852=>this['_commandService'][_0x288ea3(0x3ce)](_0x2c6852['id'],_0x2c6852[_0x288ea3(0x25e)])),(_0x1eddf6=_0x30c741(_0x45d940||[],null))==null||_0x1eddf6[_0x288ea3(0x39e)](_0x47fcc6=>this[_0x288ea3(0x266)][_0x288ea3(0x3ce)](_0x47fcc6['id'],_0x47fcc6[_0x288ea3(0x25e)]));}},exports['CollaborationEntity']=Rt([H(0x3,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),H(0x4,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),H(0x5,a[_0x714a18(0x5ce)](p[_0x714a18(0x351)])),H(0x6,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),H(0x7,a['Inject'](p[_0x714a18(0x58b)])),H(0x8,a[_0x714a18(0x204)]),H(0x9,a[_0x714a18(0x1c8)]),H(0xa,te[_0x714a18(0x32c)]),H(0xb,a[_0x714a18(0x503)]),H(0xc,a[_0x714a18(0x600)](qe))],exports[_0x714a18(0x3ee)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x209382,_0x53a35c,_0x433f30,_0x4145c8,_0x13514c,_0x188b55,_0x2957ff,_0x39a75b,_0x45a04b,_0x2af8d2,_0x1366a1,_0xc5be51,_0x2d29b5,_0x45da21,_0xbe1179,_0x4cfceb,_0x5bdaec,_0x2d00f5){const _0x55b7c3=_0x714a18;super(_0x209382,_0x433f30,_0x53a35c,_0x4145c8,_0x13514c,_0x188b55,_0x2957ff,_0x39a75b,_0x45da21,_0xbe1179,_0x4cfceb,_0x5bdaec,_0x2d00f5),this[_0x55b7c3(0x576)]=_0x209382,this[_0x55b7c3(0x283)]=_0x53a35c,this['_docStateChangeManagerService']=_0x45a04b,this[_0x55b7c3(0x2f8)]=_0x2af8d2,this['_docTransformStateCacheService']=_0x1366a1,this[_0x55b7c3(0x3f2)]=_0xc5be51,this[_0x55b7c3(0x285)]=_0x2d29b5;}['_createHandler'](){const _0x1305d3=_0x714a18,_0xc5bad7=super[_0x1305d3(0x34e)]();return _0xc5bad7[_0x1305d3(0x186)]=_0x419de1=>this[_0x1305d3(0x2f8)][_0x1305d3(0x47d)](_0x419de1),_0xc5bad7[_0x1305d3(0x3de)]=_0x4ecfda=>this['_docTransformStateCacheService']['transformStateCache'](_0x4ecfda),_0xc5bad7[_0x1305d3(0x48d)]=_0x56e9f8=>this[_0x1305d3(0x3f2)][_0x1305d3(0x213)](_0x56e9f8),_0xc5bad7[_0x1305d3(0x41a)]=_0x4c34f9=>this[_0x1305d3(0x285)][_0x1305d3(0x468)](_0x4c34f9),_0xc5bad7[_0x1305d3(0x552)]=_0x18e77d=>this[_0x1305d3(0x2f8)][_0x1305d3(0x31a)](_0x18e77d),_0xc5bad7[_0x1305d3(0x48b)]=_0x526b87=>this[_0x1305d3(0x52e)][_0x1305d3(0x31a)](_0x526b87),_0xc5bad7;}async[_0x714a18(0x26c)](){const _0x14669b=_0x714a18,_0x19c886=await super[_0x14669b(0x26c)]();return this[_0x14669b(0x4e9)][_0x14669b(0x39a)][_0x14669b(0x52c)](A[_0x14669b(0x3c8)](this['dispose$']))['subscribe'](_0x389c92=>{const _0xca7a9=_0x14669b;if(_0x389c92==null)return;const {unitId:_0x3e6753,redoState:_0x51d1bc,commandId:_0x367df6}=_0x389c92;if(_0x3e6753!==this[_0xca7a9(0x576)])return;const _0x4484e2={'id':_0x367df6,'type':a[_0xca7a9(0x28f)][_0xca7a9(0x53a)],'params':{'unitId':_0x3e6753,'actions':_0x51d1bc[_0xca7a9(0x431)],'textRanges':null}};this[_0xca7a9(0x616)](_0x4484e2);}),_0x19c886;}},exports[_0x714a18(0x262)]=Rt([H(0x3,a['Inject'](a[_0x714a18(0x2cb)])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a['Inject'](p[_0x714a18(0x351)])),H(0x6,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),H(0x7,a[_0x714a18(0x5ce)](p[_0x714a18(0x58b)])),H(0x8,a[_0x714a18(0x5ce)](Z[_0x714a18(0x56b)])),H(0x9,a[_0x714a18(0x5ce)](ke)),H(0xa,a[_0x714a18(0x5ce)](We)),H(0xb,a[_0x714a18(0x5ce)](Fe)),H(0xc,a[_0x714a18(0x5ce)](Tt)),H(0xd,a[_0x714a18(0x204)]),H(0xe,a[_0x714a18(0x1c8)]),H(0xf,te['IMessageService']),H(0x10,a['IPermissionService']),H(0x11,a[_0x714a18(0x600)](qe))],exports[_0x714a18(0x262)]),exports[_0x714a18(0x5c7)]=class extends exports[_0x714a18(0x3ee)]{constructor(_0x15b801,_0x4489bd,_0x3047ad,_0x1dbe18,_0x2b0a52,_0x391500,_0x440206,_0x10c5b7,_0x5ce5ed,_0x1f348c,_0x108f17,_0x3cea3e,_0x236315,_0x129cf4){const _0x57bc6e=_0x714a18;super(_0x15b801,_0x3047ad,_0x4489bd,_0x1dbe18,_0x2b0a52,_0x391500,_0x440206,_0x10c5b7,_0x1f348c,_0x108f17,_0x3cea3e,_0x236315,_0x129cf4),this[_0x57bc6e(0x576)]=_0x15b801,this['type']=_0x4489bd,this[_0x57bc6e(0x3fb)]=_0x5ce5ed;}[_0x714a18(0x34e)](){const _0xd7ddbd=_0x714a18,_0x35d7fd=super[_0xd7ddbd(0x34e)]();return _0x35d7fd[_0xd7ddbd(0x48d)]=_0x724965=>this['_sheetTransformSelectionsService'][_0xd7ddbd(0x213)](_0x724965),_0x35d7fd;}async['_init'](){const _0x1e21d0=_0x714a18,_0x56d163=await super[_0x1e21d0(0x26c)]();return this[_0x1e21d0(0x580)](this[_0x1e21d0(0x266)]['onCommandExecuted']((_0x47e080,_0x2787c2)=>{const _0x560e2a=_0x1e21d0;if(_0x47e080['type']!==a[_0x560e2a(0x28f)][_0x560e2a(0x53a)]||_0x2787c2!=null&&_0x2787c2[_0x560e2a(0x610)]||_0x2787c2!=null&&_0x2787c2[_0x560e2a(0x17f)])return;const _0x3fd070=_0x47e080[_0x560e2a(0x25e)];if((_0x3fd070==null?void 0x0:_0x3fd070[_0x560e2a(0x219)])!==this['unitID'])return;const _0x54aed0=_0x47e080,_0x363eb0=this[_0x560e2a(0x3ac)][_0x560e2a(0x1d3)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x560e2a(0x1d3)][_0x560e2a(0x494)]()[_0x560e2a(0x4bd)])([_0x54aed0],null)||[_0x54aed0];this[_0x560e2a(0x616)](_0x363eb0[0x0]);})),_0x56d163;}},exports[_0x714a18(0x5c7)]=Rt([H(0x3,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),H(0x4,a[_0x714a18(0x5ce)](exports['LocalCacheService'])),H(0x5,a['Inject'](p['CompressMutationService'])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x714a18(0x5ce)](p[_0x714a18(0x58b)])),H(0x8,a[_0x714a18(0x5ce)](Be)),H(0x9,a[_0x714a18(0x204)]),H(0xa,a['ICommandService']),H(0xb,te['IMessageService']),H(0xc,a[_0x714a18(0x503)]),H(0xd,a[_0x714a18(0x600)](qe))],exports[_0x714a18(0x5c7)]);var Wi=Object[_0x714a18(0x1d2)],Fi=Object[_0x714a18(0x254)],Vi=(_0x8fbfe7,_0x30af6f,_0x3cfb8f,_0x1afdce)=>{const _0x3eccd9=_0x714a18;for(var _0x160b8a=_0x1afdce>0x1?void 0x0:_0x1afdce?Fi(_0x30af6f,_0x3cfb8f):_0x30af6f,_0x53c949=_0x8fbfe7[_0x3eccd9(0x5a6)]-0x1,_0x1d6137;_0x53c949>=0x0;_0x53c949--)(_0x1d6137=_0x8fbfe7[_0x53c949])&&(_0x160b8a=(_0x1afdce?_0x1d6137(_0x30af6f,_0x3cfb8f,_0x160b8a):_0x1d6137(_0x160b8a))||_0x160b8a);return _0x1afdce&&_0x160b8a&&Wi(_0x30af6f,_0x3cfb8f,_0x160b8a),_0x160b8a;},tt=(_0x11ab39,_0x3a7d10)=>(_0x28a705,_0x1f0cfc)=>_0x3a7d10(_0x28a705,_0x1f0cfc,_0x11ab39);exports[_0x714a18(0x36d)]=class extends a[_0x714a18(0x237)]{constructor(_0x1e0b4c,_0x3b4a8b,_0x33c4a9){const _0xc1d656=_0x714a18;super(),I(this,_0xc1d656(0x316),new Map()),I(this,_0xc1d656(0x5a5),new A['Subject']()),(this[_0xc1d656(0x5eb)]=_0x1e0b4c,this['_collabSessionService']=_0x3b4a8b,this[_0xc1d656(0x4c0)]=_0x33c4a9,this[_0xc1d656(0x26c)]());}[_0x714a18(0x19e)](){const _0x384dc7=_0x714a18;super[_0x384dc7(0x19e)](),this[_0x384dc7(0x316)]['forEach'](_0x3807ef=>_0x3807ef[_0x384dc7(0x19e)]()),this[_0x384dc7(0x316)]['clear']();}[_0x714a18(0x3ca)](_0x4ac602){const _0x26deb9=_0x714a18;var _0xf492b0;return(_0xf492b0=this[_0x26deb9(0x316)]['get'](_0x4ac602))!=null?_0xf492b0:null;}[_0x714a18(0x516)](_0x487a65){const _0x33d8b2=_0x714a18,_0xa7aef7=this[_0x33d8b2(0x3ca)](_0x487a65);return _0xa7aef7?A['of'](_0xa7aef7):this[_0x33d8b2(0x5a5)][_0x33d8b2(0x52c)](V[_0x33d8b2(0x630)](_0x5014f1=>_0x5014f1[_0x33d8b2(0x576)]===_0x487a65));}[_0x714a18(0x26c)](){const _0x4cefd7=_0x714a18;this[_0x4cefd7(0x4c0)][_0x4cefd7(0x3d5)](a['UniverInstanceType'][_0x4cefd7(0x2d2)])['pipe'](A[_0x4cefd7(0x3c8)](this[_0x4cefd7(0x417)]),V[_0x4cefd7(0x599)](0x10))['subscribe'](async _0xfe8a34=>{const _0x26b415=_0x4cefd7,_0x20da1c=_0xfe8a34[_0x26b415(0x2e0)](),_0x166e55=await this[_0x26b415(0x4c9)](_0x20da1c,ie[_0x26b415(0x2d2)]);this[_0x26b415(0x316)][_0x26b415(0x3d0)](_0x20da1c,_0x166e55);}),this[_0x4cefd7(0x4c0)][_0x4cefd7(0x3d5)](a[_0x4cefd7(0x3ab)][_0x4cefd7(0x5ff)])[_0x4cefd7(0x52c)](A[_0x4cefd7(0x3c8)](this[_0x4cefd7(0x417)]),V[_0x4cefd7(0x599)](0x10))[_0x4cefd7(0x52c)](V['filter'](_0x4d476d=>!_0x4d476d[_0x4cefd7(0x2e0)]()[_0x4cefd7(0x227)]('__')))[_0x4cefd7(0x47b)](async _0x1327a6=>{const _0x40e641=_0x4cefd7,_0x229041=_0x1327a6['getUnitId'](),_0x196d0a=await this[_0x40e641(0x4c9)](_0x229041,ie[_0x40e641(0x5ff)]);this[_0x40e641(0x316)][_0x40e641(0x3d0)](_0x229041,_0x196d0a);}),A[_0x4cefd7(0x3ea)](this[_0x4cefd7(0x4c0)][_0x4cefd7(0x5ef)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x4cefd7(0x4c0)]['getTypeOfUnitDisposed$'](a[_0x4cefd7(0x3ab)][_0x4cefd7(0x5ff)]))[_0x4cefd7(0x52c)](A[_0x4cefd7(0x3c8)](this[_0x4cefd7(0x417)]))[_0x4cefd7(0x47b)](_0x5cfe10=>{const _0x20f0b4=_0x4cefd7,_0x4c98cc=_0x5cfe10['getUnitId'](),_0x44fa2f=this[_0x20f0b4(0x316)][_0x20f0b4(0x1bc)](_0x4c98cc);_0x44fa2f&&(_0x44fa2f[_0x20f0b4(0x19e)](),this[_0x20f0b4(0x316)][_0x20f0b4(0x57c)](_0x4c98cc));});}async['_startCollaboration'](_0x47a182,_0x452c4a){const _0x9a652=_0x714a18,_0x29485a=await this[_0x9a652(0x540)][_0x9a652(0x49f)](_0x47a182),_0x3744fc=this[_0x9a652(0x5eb)]['createInstance'](this[_0x9a652(0x2bb)](_0x452c4a),_0x47a182,_0x452c4a,_0x29485a);return await _0x3744fc[_0x9a652(0x413)](),this[_0x9a652(0x5a5)][_0x9a652(0x5c5)](_0x3744fc),_0x3744fc;}[_0x714a18(0x2bb)](_0x45c11c){const _0xfcd4f2=_0x714a18;switch(_0x45c11c){case ie[_0xfcd4f2(0x5ff)]:return exports[_0xfcd4f2(0x262)];case ie['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error(_0xfcd4f2(0x1c5)+_0x45c11c);}}},exports[_0x714a18(0x36d)]=Vi([tt(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),tt(0x1,a[_0x714a18(0x5ce)](exports[_0x714a18(0x3c2)])),tt(0x2,a[_0x714a18(0x617)])],exports['CollaborationController']);const jt=['purple300','jiqing500',_0x714a18(0x41b),_0x714a18(0x502),_0x714a18(0x311),_0x714a18(0x462)];class yt extends a[_0x714a18(0x5aa)]{constructor(){const _0x13a626=_0x714a18;super(...arguments),I(this,_0x13a626(0x58d),new Map()),I(this,_0x13a626(0x50a),0x0);}[_0x714a18(0x3ae)](_0x5ea019){const _0xe8cb38=_0x714a18;if(this[_0xe8cb38(0x58d)]['has'](_0x5ea019))return this['_assignedColors'][_0xe8cb38(0x1bc)](_0x5ea019);const _0x1c15c1=jt[this['_colorIndex']];return this[_0xe8cb38(0x50a)]=(this[_0xe8cb38(0x50a)]+0x1)%jt[_0xe8cb38(0x5a6)],this['_assignedColors'][_0xe8cb38(0x3d0)](_0x5ea019,_0x1c15c1),_0x1c15c1;}}var Gi=Object[_0x714a18(0x1d2)],Yi=Object[_0x714a18(0x254)],Ki=(_0x355015,_0x5de991,_0x5cbea7,_0x1a5d52)=>{const _0x26b898=_0x714a18;for(var _0xe850dd=_0x1a5d52>0x1?void 0x0:_0x1a5d52?Yi(_0x5de991,_0x5cbea7):_0x5de991,_0x4e9905=_0x355015[_0x26b898(0x5a6)]-0x1,_0x35de9f;_0x4e9905>=0x0;_0x4e9905--)(_0x35de9f=_0x355015[_0x4e9905])&&(_0xe850dd=(_0x1a5d52?_0x35de9f(_0x5de991,_0x5cbea7,_0xe850dd):_0x35de9f(_0xe850dd))||_0xe850dd);return _0x1a5d52&&_0xe850dd&&Gi(_0x5de991,_0x5cbea7,_0xe850dd),_0xe850dd;},me=(_0x38769a,_0x328f00)=>(_0x1c3429,_0x23abd8)=>_0x328f00(_0x1c3429,_0x23abd8,_0x38769a);const qi=0x12c,zi=0x64;let vt=class extends a[_0x714a18(0x237)]{constructor(_0x43b489,_0x430190,_0x3acccf,_0xed2e,_0x753bc5,_0xfa0f57,_0x27b5ea,_0x1dd52f,_0x4592b3){const _0x178ccf=_0x714a18;super(),I(this,'_online',!0x1),I(this,_0x178ccf(0x26c),!0x1),I(this,_0x178ccf(0x50c),new A[(_0x178ccf(0x638))](new Map())),I(this,'cursorInfo$',this[_0x178ccf(0x50c)][_0x178ccf(0x23c)]()),I(this,_0x178ccf(0x2b8),new A[(_0x178ccf(0x638))]([])),I(this,'roomMembers$',this[_0x178ccf(0x2b8)][_0x178ccf(0x52c)](A[_0x178ccf(0x201)](qi))),I(this,_0x178ccf(0x405),a[_0x178ccf(0x1a0)](_0xdd42c8=>{const _0x376b71=_0x178ccf,_0x17cf3c={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x376b71(0x576)],'memberID':this[_0x376b71(0x1e9)][_0x376b71(0x2d0)](),'selection':_n(_0xdd42c8)}};this[_0x376b71(0x1e9)][_0x376b71(0x4c5)](_0x17cf3c,this['unitID']);},zi)),(this[_0x178ccf(0x576)]=_0x43b489,this[_0x178ccf(0x1e9)]=_0x430190,this[_0x178ccf(0x5eb)]=_0x3acccf,this[_0x178ccf(0x4e5)]=_0xed2e,this[_0x178ccf(0x4bc)]=_0x753bc5,this[_0x178ccf(0x421)]=_0xfa0f57,this[_0x178ccf(0x2e2)]=_0x27b5ea,this['_univerInstanceService']=_0x1dd52f,this['_commandService']=_0x4592b3);}get[_0x714a18(0x24d)](){const _0x1a3e50=_0x714a18;return this[_0x1a3e50(0x50c)][_0x1a3e50(0x416)]();}get[_0x714a18(0x1d1)](){const _0x33309a=_0x714a18;return this[_0x33309a(0x2b8)][_0x33309a(0x416)]();}[_0x714a18(0x19e)](){const _0x1a4500=_0x714a18;super[_0x1a4500(0x19e)](),this['_cursorInfo$']['next'](new Map()),this[_0x1a4500(0x50c)][_0x1a4500(0x414)](),this[_0x1a4500(0x2b8)][_0x1a4500(0x5c5)]([]),this[_0x1a4500(0x2b8)][_0x1a4500(0x414)]();}['init'](){const _0x38402e=_0x714a18;this[_0x38402e(0x26c)]||(this['_init']=!0x0,this[_0x38402e(0x1e9)]['sessionStatus$']['pipe'](A[_0x38402e(0x3c8)](this[_0x38402e(0x417)]))['subscribe'](_0x2dd670=>{const _0x1c3221=_0x38402e;_0x2dd670===se['ONLINE']?this['_toggleOnline']():this[_0x1c3221(0x32d)]();}),this[_0x38402e(0x1e9)][_0x38402e(0x55f)]['pipe'](A['takeUntil'](this[_0x38402e(0x417)]))[_0x38402e(0x47b)](_0xfe23fd=>{const _0x3cd746=_0x38402e,_0x3aeb0f=_0xfe23fd[_0x3cd746(0x298)];_0x3aeb0f===p['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3cd746(0x1a7)](_0xfe23fd),_0x3aeb0f===p[_0x3cd746(0x57d)][_0x3cd746(0x490)]&&this['_onCursorDelete'](_0xfe23fd);}),this[_0x38402e(0x580)](this[_0x38402e(0x266)][_0x38402e(0x1aa)](_0x374c00=>{const _0xd279f5=_0x38402e,_0x3de396=_0x374c00[_0xd279f5(0x25e)];_0x3de396!=null&&this[_0xd279f5(0x222)]&&_0x374c00['id']===ye['SetTextSelectionsOperation']['id']&&_0x3de396[_0xd279f5(0x219)]===this[_0xd279f5(0x576)]&&_0x3de396[_0xd279f5(0x2e3)]===!0x1&&_0x3de396['ranges'][_0xd279f5(0x5a6)]>0x0&&this[_0xd279f5(0x405)](_0x3de396[_0xd279f5(0x498)]);})),this['_syncEditingCollabCursorService'][_0x38402e(0x3d7)]['pipe'](A[_0x38402e(0x3c8)](this[_0x38402e(0x417)]))[_0x38402e(0x47b)](_0x1a55c0=>{const _0x35c3d6=_0x38402e;if((_0x1a55c0==null?void 0x0:_0x1a55c0[_0x35c3d6(0x576)])!==this[_0x35c3d6(0x576)])return;const _0x4c2be4={'eventID':p[_0x35c3d6(0x57d)][_0x35c3d6(0x3bc)],'data':_0x1a55c0};this[_0x35c3d6(0x1a7)](_0x4c2be4);}),this[_0x38402e(0x580)](this[_0x38402e(0x266)][_0x38402e(0x1aa)](_0x271853=>{const _0x316ffc=_0x38402e;if(_0x271853[_0x316ffc(0x25e)]==null)return;const _0x262f50=_0x271853[_0x316ffc(0x25e)];if(_0x271853['id']!==ye[_0x316ffc(0x454)]['id']||_0x262f50[_0x316ffc(0x219)]!==this[_0x316ffc(0x576)])return;const _0x350d88={'id':_0x316ffc(0x458),'params':_0x262f50},_0x13d1be=this['cursorInfo'];for(const [_0x824e37,_0x85ae54]of _0x13d1be){const _0x5c8aeb={'id':_0x316ffc(0x458),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x85ae54[_0x316ffc(0x498)]}},_0x2446e5=this[_0x316ffc(0x2e2)]['transformMutation'](_0x350d88,_0x5c8aeb,!0x1);if(p['isTransformMutationFailure'](_0x2446e5))throw _0x2446e5[_0x316ffc(0x4c3)];_0x13d1be['set'](_0x824e37,{..._0x85ae54,'ranges':_0x2446e5[_0x316ffc(0x3cd)][_0x316ffc(0x25e)][_0x316ffc(0x34f)]});}queueMicrotask(()=>{const _0x2f7120=_0x316ffc;this[_0x2f7120(0x50c)][_0x2f7120(0x5c5)](_0x13d1be);});})));}['_onCursorUpdate'](_0x5b0066){const _0x530812=_0x714a18;var _0x364883,_0x655169;const {memberID:_0x3b60b6,selection:_0x54acba}=_0x5b0066[_0x530812(0x539)],_0x2e6b0f=Ui(_0x54acba),_0x2c7d30=(_0x655169=(_0x364883=this[_0x530812(0x4bc)][_0x530812(0x629)](this[_0x530812(0x576)],_0x3b60b6))==null?void 0x0:_0x364883[_0x530812(0x4e1)])!=null?_0x655169:'Unknown\x20user',_0x2e661d={'color':this[_0x530812(0x4e5)][_0x530812(0x3ae)](_0x3b60b6),'name':_0x2c7d30,'ranges':_0x2e6b0f},_0x29dfb9=this[_0x530812(0x24d)];_0x29dfb9[_0x530812(0x3d0)](_0x3b60b6,_0x2e661d),this[_0x530812(0x50c)][_0x530812(0x5c5)](_0x29dfb9);}['_onCursorDelete'](_0x3b23e1){const _0x4d36cd=_0x714a18,{memberID:_0x24ccb0}=_0x3b23e1[_0x4d36cd(0x539)],_0x33e206=this[_0x4d36cd(0x24d)];_0x33e206[_0x4d36cd(0x57c)](_0x24ccb0),this[_0x4d36cd(0x50c)][_0x4d36cd(0x5c5)](_0x33e206);}[_0x714a18(0x5e3)](){const _0x26ad1d=_0x714a18;var _0x1caad1;if(this[_0x26ad1d(0x222)]=!0x0,((_0x1caad1=this[_0x26ad1d(0x4c0)][_0x26ad1d(0x28e)]())==null?void 0x0:_0x1caad1[_0x26ad1d(0x2e0)]())!==this['unitID'])return;const _0x184b11=this[_0x26ad1d(0x5eb)]['get'](ye[_0x26ad1d(0x238)])[_0x26ad1d(0x5e0)]();Array['isArray'](_0x184b11)&&_0x184b11['length']>0x0&&this[_0x26ad1d(0x405)](_0x184b11);}[_0x714a18(0x32d)](){const _0x3a94d3=_0x714a18;this[_0x3a94d3(0x222)]=!0x1;}};vt=Ki([me(0x2,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),me(0x3,a[_0x714a18(0x5ce)](yt)),me(0x4,a[_0x714a18(0x5ce)](exports[_0x714a18(0x1f1)])),me(0x5,a[_0x714a18(0x5ce)](Tt)),me(0x6,p[_0x714a18(0x1db)]),me(0x7,a[_0x714a18(0x617)]),me(0x8,a[_0x714a18(0x1c8)])],vt);var Xi=Object[_0x714a18(0x1d2)],Ji=Object[_0x714a18(0x254)],Zi=(_0x2ec72f,_0xb8c52c,_0x5bddb3,_0x4ed0a5)=>{const _0x5c149d=_0x714a18;for(var _0x3aff85=_0x4ed0a5>0x1?void 0x0:_0x4ed0a5?Ji(_0xb8c52c,_0x5bddb3):_0xb8c52c,_0x186a66=_0x2ec72f[_0x5c149d(0x5a6)]-0x1,_0x188766;_0x186a66>=0x0;_0x186a66--)(_0x188766=_0x2ec72f[_0x186a66])&&(_0x3aff85=(_0x4ed0a5?_0x188766(_0xb8c52c,_0x5bddb3,_0x3aff85):_0x188766(_0x3aff85))||_0x3aff85);return _0x4ed0a5&&_0x3aff85&&Xi(_0xb8c52c,_0x5bddb3,_0x3aff85),_0x3aff85;},be=(_0x556dff,_0x452b22)=>(_0x283553,_0x1bb739)=>_0x452b22(_0x283553,_0x1bb739,_0x556dff);const Qi=0x12c,es=0x64,ts=()=>{let _0x40457e=[],_0x431113=!0x1;return _0x5a397d=>{const _0x4fd168=_0x420c;_0x40457e[_0x4fd168(0x5a9)](_0x5a397d),_0x431113||(_0x431113=!0x0,setTimeout(()=>{const _0x154aa6=_0x4fd168;_0x40457e[_0x154aa6(0x39e)](_0x4e7e65=>_0x4e7e65()),_0x40457e=[],_0x431113=!0x1;}));};};let St=class extends a[_0x714a18(0x237)]{constructor(_0x5d4fc0,_0x193a83,_0x3a366e,_0x39b2b6,_0x19b59b,_0x2a5ff6,_0x13c1ee,_0x25e13f){const _0x4fbf7b=_0x714a18;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,_0x4fbf7b(0x50c),new A[(_0x4fbf7b(0x638))](new Map())),I(this,'cursorInfo$',this[_0x4fbf7b(0x50c)][_0x4fbf7b(0x23c)]()),I(this,_0x4fbf7b(0x2b8),new A[(_0x4fbf7b(0x638))]([])),I(this,_0x4fbf7b(0x5d9),this['_roomMembers$'][_0x4fbf7b(0x52c)](A[_0x4fbf7b(0x201)](Qi))),I(this,'_updateLocalCursor',a['debounce']((_0x165de3,_0x18d1ad)=>{const _0x531437=_0x4fbf7b,_0x105367={'eventID':p[_0x531437(0x57d)][_0x531437(0x3bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x531437(0x1e9)][_0x531437(0x2d0)](),'selection':wt[_0x531437(0x2fe)](_0x165de3,_0x18d1ad[_0x531437(0x531)])}};this[_0x531437(0x1e9)][_0x531437(0x4c5)](_0x105367,this['unitID']);},es)),(this[_0x4fbf7b(0x576)]=_0x5d4fc0,this[_0x4fbf7b(0x1e9)]=_0x193a83,this[_0x4fbf7b(0x5eb)]=_0x3a366e,this[_0x4fbf7b(0x4e5)]=_0x39b2b6,this[_0x4fbf7b(0x4bc)]=_0x19b59b,this[_0x4fbf7b(0x4c0)]=_0x2a5ff6,this[_0x4fbf7b(0x266)]=_0x13c1ee,this[_0x4fbf7b(0x525)]=_0x25e13f);}get[_0x714a18(0x24d)](){const _0x2e65f9=_0x714a18;return this[_0x2e65f9(0x50c)][_0x2e65f9(0x416)]();}get[_0x714a18(0x1d1)](){const _0x134cfc=_0x714a18;return this[_0x134cfc(0x2b8)][_0x134cfc(0x416)]();}[_0x714a18(0x19e)](){const _0x19badd=_0x714a18;super[_0x19badd(0x19e)](),this[_0x19badd(0x50c)][_0x19badd(0x5c5)](new Map()),this[_0x19badd(0x50c)]['complete'](),this[_0x19badd(0x2b8)]['next']([]),this['_roomMembers$'][_0x19badd(0x414)]();}[_0x714a18(0x413)](){const _0x2306d7=_0x714a18;this[_0x2306d7(0x26c)]||(this[_0x2306d7(0x26c)]=!0x0,this['_session']['sessionStatus$'][_0x2306d7(0x52c)](A[_0x2306d7(0x3c8)](this['dispose$']))[_0x2306d7(0x47b)](_0xf3c8f8=>{const _0x561201=_0x2306d7;_0xf3c8f8===se[_0x561201(0x32f)]?this[_0x561201(0x5e3)]():this[_0x561201(0x32d)]();}),this[_0x2306d7(0x1e9)][_0x2306d7(0x55f)][_0x2306d7(0x52c)](A[_0x2306d7(0x3c8)](this['dispose$']))[_0x2306d7(0x47b)](_0x52a7a4=>{const _0x1b35bf=_0x2306d7,_0x4ca0e0=_0x52a7a4[_0x1b35bf(0x298)];_0x4ca0e0===p[_0x1b35bf(0x57d)][_0x1b35bf(0x3bc)]&&this['_onCursorUpdate'](_0x52a7a4),_0x4ca0e0===p['CollaborationEvent'][_0x1b35bf(0x490)]&&this[_0x1b35bf(0x4aa)](_0x52a7a4);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x2306d7(0x266)][_0x2306d7(0x1aa)](_0x58c9a6=>{const _0x6683e7=_0x2306d7;if(this[_0x6683e7(0x222)]&&_0x58c9a6['id']===B[_0x6683e7(0x384)]['id']&&_0x58c9a6[_0x6683e7(0x25e)][_0x6683e7(0x219)]===this[_0x6683e7(0x576)]){const _0x22b490=_0x58c9a6[_0x6683e7(0x25e)];this[_0x6683e7(0x405)](_0x22b490[_0x6683e7(0x53f)],_0x22b490['selections'][0x0]);}})));}[_0x714a18(0x1a7)](_0x3377bb){const _0x3c9ef9=_0x714a18;var _0x179cb5,_0x3cfba5;const {memberID:_0x432c1e,selection:_0x28d633}=_0x3377bb[_0x3c9ef9(0x539)],{sheetName:_0x2feff5,range:_0x58c618}=wt[_0x3c9ef9(0x422)](_0x28d633),_0x4afd94={'name':(_0x3cfba5=(_0x179cb5=this[_0x3c9ef9(0x4bc)]['getMember'](this[_0x3c9ef9(0x576)],_0x432c1e))==null?void 0x0:_0x179cb5[_0x3c9ef9(0x4e1)])!=null?_0x3cfba5:_0x3c9ef9(0x26b),'range':this['_getMergeRange'](_0x2feff5,_0x58c618),'sheetID':_0x2feff5,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x432c1e),'selection':_0x28d633},_0x6b8b74=this[_0x3c9ef9(0x24d)];_0x6b8b74[_0x3c9ef9(0x3d0)](_0x432c1e,_0x4afd94),this[_0x3c9ef9(0x50c)]['next'](_0x6b8b74);}[_0x714a18(0x4aa)](_0x1f3729){const _0x1094d9=_0x714a18,{memberID:_0x4c1ef2}=_0x1f3729[_0x1094d9(0x539)],_0x126b57=this[_0x1094d9(0x24d)];_0x126b57[_0x1094d9(0x57c)](_0x4c1ef2),this[_0x1094d9(0x50c)][_0x1094d9(0x5c5)](_0x126b57);}[_0x714a18(0x4ca)](_0x25109c,_0x4a0b8f){const _0x457874=_0x714a18;var _0x2b135b,_0x15bb98;const _0x340c90=(_0x15bb98=(_0x2b135b=this[_0x457874(0x4c0)][_0x457874(0x4ad)](this['unitID']))==null?void 0x0:_0x2b135b[_0x457874(0x3f8)](_0x25109c))==null?void 0x0:_0x15bb98[_0x457874(0x4c4)]();return(_0x340c90==null?void 0x0:_0x340c90['find'](_0x313b14=>a['Rectangle'][_0x457874(0x5f4)](_0x313b14,_0x4a0b8f)))||_0x4a0b8f;}['_onRefRangeChange'](){const _0x52b695=_0x714a18,_0x149560=new a['DisposableCollection'](),_0x4bee56=ts(),_0x4fa7a7=()=>{const _0x2e89f0=_0x420c;_0x149560[_0x2e89f0(0x19e)]();const _0x621b5e=(_0x313595,_0x3fb866,_0x513130,_0x9fde1e)=>{const _0x1eb375=_0x2e89f0;let _0x51f1f4=[];switch(_0x313595['id']){case B[_0x1eb375(0x241)][_0x1eb375(0x294)]:{_0x51f1f4=B[_0x1eb375(0x3f5)](_0x313595,_0x9fde1e);break;}case B['EffectRefRangId'][_0x1eb375(0x609)]:{_0x51f1f4=B['handleDeleteRangeMoveUp'](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)][_0x1eb375(0x555)]:{_0x51f1f4=B[_0x1eb375(0x4ab)](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)][_0x1eb375(0x3ef)]:{_0x51f1f4=B['handleInsertRangeMoveDown'](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)]['InsertRangeMoveRightCommandId']:{_0x51f1f4=B[_0x1eb375(0x4b6)](_0x313595,_0x9fde1e);break;}case B['EffectRefRangId'][_0x1eb375(0x5c1)]:{_0x51f1f4=B['handleInsertRow'](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)][_0x1eb375(0x1d5)]:{_0x51f1f4=B[_0x1eb375(0x248)](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)][_0x1eb375(0x289)]:{_0x51f1f4=B[_0x1eb375(0x428)](_0x313595,_0x9fde1e);break;}case B['EffectRefRangId'][_0x1eb375(0x350)]:{_0x51f1f4=B['handleIRemoveRow'](_0x313595,_0x9fde1e);break;}}const _0x5d1510=B[_0x1eb375(0x20e)](_0x51f1f4,_0x9fde1e),_0x2f3895=this[_0x1eb375(0x24d)][_0x1eb375(0x1bc)](_0x3fb866);if(_0x2f3895&&_0x5d1510){const _0x1cccaa={..._0x2f3895,'range':_0x5d1510};this['cursorInfo'][_0x1eb375(0x3d0)](_0x3fb866,_0x1cccaa),_0x4bee56(()=>{const _0x5be09c=_0x1eb375,_0x55ee46=this['_refRangeService'][_0x5be09c(0x47a)](_0x5d1510,_0x2dfb33=>(_0x55ee46[_0x5be09c(0x19e)](),_0x621b5e(_0x2dfb33,_0x3fb866,_0x513130,_0x5d1510)));_0x149560[_0x5be09c(0x2fc)](_0x55ee46);});}return{'redos':[],'undos':[]};};this[_0x2e89f0(0x24d)][_0x2e89f0(0x39e)]((_0x41019b,_0x298413)=>{const _0x1b701d=_0x2e89f0,{range:_0x13ab1b,sheetID:_0x257ddc}=_0x41019b,_0x1cf588=this[_0x1b701d(0x525)]['registerRefRange'](_0x13ab1b,_0x4d68d4=>(_0x1cf588['dispose'](),_0x621b5e(_0x4d68d4,_0x298413,_0x257ddc,_0x13ab1b)));_0x149560[_0x1b701d(0x2fc)](_0x1cf588);});};this[_0x52b695(0x580)](a[_0x52b695(0x470)](this[_0x52b695(0x50c)]['subscribe'](()=>{_0x4fa7a7();})));}[_0x714a18(0x5e3)](){const _0x57a6dc=_0x714a18;var _0x22819a,_0x5e7700;if(this[_0x57a6dc(0x222)]=!0x0,((_0x22819a=this[_0x57a6dc(0x4c0)][_0x57a6dc(0x28e)]())==null?void 0x0:_0x22819a[_0x57a6dc(0x2e0)]())!==this[_0x57a6dc(0x576)])return;const _0x4271ae=(_0x5e7700=this[_0x57a6dc(0x5eb)][_0x57a6dc(0x1bc)](B[_0x57a6dc(0x484)])[_0x57a6dc(0x31d)]())==null?void 0x0:_0x5e7700[0x0],_0x31b623=this[_0x57a6dc(0x4c0)][_0x57a6dc(0x441)](a[_0x57a6dc(0x3ab)][_0x57a6dc(0x2d2)])[_0x57a6dc(0x506)]();_0x4271ae&&_0x31b623&&this[_0x57a6dc(0x405)](_0x31b623[_0x57a6dc(0x424)](),_0x4271ae);}['_toggleOffline'](){const _0x4e27bf=_0x714a18;this[_0x4e27bf(0x222)]=!0x1;}};St=Zi([be(0x2,a[_0x714a18(0x5ce)](a['Injector'])),be(0x3,a['Inject'](yt)),be(0x4,a[_0x714a18(0x5ce)](exports[_0x714a18(0x1f1)])),be(0x5,a[_0x714a18(0x617)]),be(0x6,a[_0x714a18(0x1c8)]),be(0x7,a[_0x714a18(0x5ce)](B[_0x714a18(0x192)]))],St);var ns=Object['defineProperty'],is=Object[_0x714a18(0x254)],ss=(_0x3244bd,_0x3564c1,_0x29f054,_0xa9e512)=>{const _0x4dfda3=_0x714a18;for(var _0x1a844d=_0xa9e512>0x1?void 0x0:_0xa9e512?is(_0x3564c1,_0x29f054):_0x3564c1,_0x35e14c=_0x3244bd[_0x4dfda3(0x5a6)]-0x1,_0x8a4c55;_0x35e14c>=0x0;_0x35e14c--)(_0x8a4c55=_0x3244bd[_0x35e14c])&&(_0x1a844d=(_0xa9e512?_0x8a4c55(_0x3564c1,_0x29f054,_0x1a844d):_0x8a4c55(_0x1a844d))||_0x1a844d);return _0xa9e512&&_0x1a844d&&ns(_0x3564c1,_0x29f054,_0x1a844d),_0x1a844d;},nt=(_0x444f22,_0x5db0e0)=>(_0x2f2749,_0x1bb7d4)=>_0x5db0e0(_0x2f2749,_0x1bb7d4,_0x444f22);let De=class extends a['RxDisposable']{constructor(_0x53468e,_0x58b311,_0xc4d014){const _0x5ca35a=_0x714a18;super(),I(this,_0x5ca35a(0x316),new Map()),I(this,_0x5ca35a(0x5a5),new A[(_0x5ca35a(0x47f))]()),(this['_univerInstanceService']=_0x53468e,this[_0x5ca35a(0x5eb)]=_0x58b311,this['_collabSessionService']=_0xc4d014,this['_init']());}[_0x714a18(0x19e)](){const _0x862106=_0x714a18;super['dispose'](),this['_entityInit$'][_0x862106(0x414)](),this[_0x862106(0x316)][_0x862106(0x39e)](_0x3c159c=>_0x3c159c['dispose']());}[_0x714a18(0x547)](_0x2cc19a){const _0x22a593=_0x714a18;return this[_0x22a593(0x316)][_0x22a593(0x21d)](_0x2cc19a)?this[_0x22a593(0x316)][_0x22a593(0x1bc)](_0x2cc19a)[_0x22a593(0x18d)]:this['_entityInit$'][_0x22a593(0x52c)](A[_0x22a593(0x630)](_0x4e876b=>_0x4e876b[_0x22a593(0x576)]===_0x2cc19a),A[_0x22a593(0x631)](_0x4d1d8e=>_0x4d1d8e[_0x22a593(0x18d)]));}[_0x714a18(0x26c)](){const _0x1c5838=_0x714a18;this[_0x1c5838(0x4c0)][_0x1c5838(0x3d5)](a[_0x1c5838(0x3ab)][_0x1c5838(0x2d2)])[_0x1c5838(0x52c)](A['takeUntil'](this[_0x1c5838(0x417)]))[_0x1c5838(0x47b)](async _0x2a537b=>{const _0x36ad34=_0x1c5838,_0x572637=_0x2a537b[_0x36ad34(0x2e0)](),_0x52d891=await this[_0x36ad34(0x1ef)](_0x572637);this[_0x36ad34(0x5a5)][_0x36ad34(0x5c5)](_0x52d891),this['_entities'][_0x36ad34(0x3d0)](_0x572637,_0x52d891);}),this[_0x1c5838(0x4c0)][_0x1c5838(0x3d5)](a[_0x1c5838(0x3ab)][_0x1c5838(0x5ff)])['pipe'](A[_0x1c5838(0x3c8)](this[_0x1c5838(0x417)]))[_0x1c5838(0x52c)](A[_0x1c5838(0x630)](_0xfe6941=>!_0xfe6941[_0x1c5838(0x2e0)]()[_0x1c5838(0x227)]('__')))[_0x1c5838(0x47b)](async _0xdf21b3=>{const _0x15fa8c=_0x1c5838,_0x55644f=_0xdf21b3[_0x15fa8c(0x2e0)](),_0x3b767e=await this['_startDocCollabCursor'](_0x55644f);this[_0x15fa8c(0x5a5)][_0x15fa8c(0x5c5)](_0x3b767e),this[_0x15fa8c(0x316)][_0x15fa8c(0x3d0)](_0x55644f,_0x3b767e);}),A[_0x1c5838(0x3ea)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x1c5838(0x3ab)]['UNIVER_DOC']),this[_0x1c5838(0x4c0)][_0x1c5838(0x5ef)](a['UniverInstanceType'][_0x1c5838(0x2d2)]))[_0x1c5838(0x52c)](A[_0x1c5838(0x3c8)](this['dispose$']))[_0x1c5838(0x47b)](_0x2591b4=>{const _0x5b2d91=_0x1c5838,_0x19a157=_0x2591b4[_0x5b2d91(0x2e0)](),_0x2842c7=this['_entities'][_0x5b2d91(0x1bc)](_0x19a157);_0x2842c7&&(_0x2842c7['dispose'](),this[_0x5b2d91(0x316)][_0x5b2d91(0x57c)](_0x19a157));});}async[_0x714a18(0x1ef)](_0x1b92c9){const _0x11630b=_0x714a18,_0x3bb064=await this['_collabSessionService']['requireSession'](_0x1b92c9),_0x18bca3=this[_0x11630b(0x5eb)]['createInstance'](St,_0x1b92c9,_0x3bb064);return _0x18bca3[_0x11630b(0x413)](),_0x18bca3;}async[_0x714a18(0x476)](_0x29c0ba){const _0x33e429=_0x714a18,_0x108dc8=await this[_0x33e429(0x540)][_0x33e429(0x49f)](_0x29c0ba),_0x7f5343=this['_injector']['createInstance'](vt,_0x29c0ba,_0x108dc8);return _0x7f5343[_0x33e429(0x413)](),_0x7f5343;}};function _0x420c(_0x4dab7c,_0x3efc4a){const _0x206ace=_0x206a();return _0x420c=function(_0x420cdd,_0x14c3a8){_0x420cdd=_0x420cdd-0x176;let _0x7c39be=_0x206ace[_0x420cdd];return _0x7c39be;},_0x420c(_0x4dab7c,_0x3efc4a);}De=ss([nt(0x0,a[_0x714a18(0x617)]),nt(0x1,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),nt(0x2,a[_0x714a18(0x5ce)](exports[_0x714a18(0x3c2)]))],De);const Le=0x14,$t=0xc8,it=0x4,rs=0x5;function os(_0x92b966,_0xe539cf){const _0x577564=_0x714a18;let {radius:_0x317600,width:_0xb227e3,height:_0x385384}=_0xe539cf;_0x317600=_0x317600!=null?_0x317600:0x0,_0xb227e3=_0xb227e3!=null?_0xb227e3:0x1e,_0x385384=_0x385384!=null?_0x385384:0x1e;let _0x242a49=0x0,_0x501956=0x0,_0x1be289=0x0;_0x242a49=_0x501956=_0x1be289=Math[_0x577564(0x33c)](_0x317600,_0xb227e3/0x2,_0x385384/0x2),_0x92b966['beginPath'](),_0x92b966[_0x577564(0x3f6)](_0x242a49,0x0),_0x92b966[_0x577564(0x60a)](_0xb227e3-_0x501956,0x0),_0x92b966[_0x577564(0x410)](_0xb227e3-_0x501956,_0x501956,_0x501956,Math['PI']*0x3/0x2,0x0,!0x1),_0x92b966[_0x577564(0x60a)](_0xb227e3,_0x385384-_0x1be289),_0x92b966[_0x577564(0x410)](_0xb227e3-_0x1be289,_0x385384-_0x1be289,_0x1be289,0x0,Math['PI']/0x2,!0x1),_0x92b966[_0x577564(0x60a)](0x0,_0x385384),_0x92b966[_0x577564(0x60a)](0x0,_0x242a49),_0x92b966[_0x577564(0x410)](_0x242a49,_0x242a49,_0x242a49,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x92b966[_0x577564(0x544)](),_0xe539cf[_0x577564(0x374)]&&(_0x92b966[_0x577564(0x2b5)](),_0x92b966['fillStyle']=_0xe539cf[_0x577564(0x374)],_0xe539cf['fillRule']===_0x577564(0x278)?_0x92b966[_0x577564(0x374)]('evenodd'):_0x92b966[_0x577564(0x374)](),_0x92b966[_0x577564(0x234)]());}class ze extends K[_0x714a18(0x54b)]{constructor(_0x5eafbd,_0x39ae2b){const _0x59fde2=_0x714a18;super(_0x5eafbd,_0x39ae2b),I(this,_0x59fde2(0x279)),I(this,_0x59fde2(0x4a2)),(this['color']=_0x39ae2b==null?void 0x0:_0x39ae2b[_0x59fde2(0x279)],this[_0x59fde2(0x4a2)]=_0x39ae2b==null?void 0x0:_0x39ae2b[_0x59fde2(0x4a2)]);}static[_0x714a18(0x59a)](_0x29944f,_0x47d23f){const _0x25f552=_0x714a18,{text:_0x1a31c6,color:_0x2739ca}=_0x47d23f;_0x29944f[_0x25f552(0x2b5)](),_0x29944f[_0x25f552(0x1d9)]=_0x25f552(0x46c);const _0x4c3433=_0x29944f[_0x25f552(0x2fb)](_0x1a31c6)[_0x25f552(0x43e)],_0x3a2204=Math[_0x25f552(0x33c)](_0x4c3433+0x2*it,$t);os(_0x29944f,{'height':Le,'radius':0x4,'width':_0x3a2204,'fill':_0x2739ca,'evented':!0x1}),_0x29944f['fillStyle']=_0x25f552(0x342);const _0x5ca7ad=it,_0x3f5a70=Le-rs,_0x4e4100=$t-0x2*it;if(_0x4c3433>_0x4e4100){let _0x1114f6='',_0x1bf33d=0x0;for(const _0x48018d of _0x1a31c6){const _0x3ca91b=_0x29944f['measureText'](_0x48018d)['width'];if(_0x1bf33d+_0x3ca91b<=_0x4e4100-_0x29944f[_0x25f552(0x2fb)]('...')[_0x25f552(0x43e)])_0x1114f6+=_0x48018d,_0x1bf33d+=_0x3ca91b;else{_0x1114f6+=_0x25f552(0x1b7);break;}}_0x29944f['fillText'](_0x1114f6,_0x5ca7ad,_0x3f5a70);}else _0x29944f['fillText'](_0x1a31c6,_0x5ca7ad,_0x3f5a70);_0x29944f[_0x25f552(0x234)]();}[_0x714a18(0x5dd)](_0xd871db){ze['drawWith'](_0xd871db,this);}}const st=_0x714a18(0x457),as=_0x714a18(0x348),cs=_0x714a18(0x4b0),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s='rgba(255,\x20255,\x20255,\x200.01)';class Ht{constructor(_0x52adf4,_0x53bd19,_0x5b15f1,_0xe3e3ef){const _0x2df59f=_0x714a18;I(this,'_shapes',[]),I(this,_0x2df59f(0x4af),null),I(this,_0x2df59f(0x497),null),I(this,_0x2df59f(0x217),null),I(this,'_hideTimer',null),I(this,_0x2df59f(0x22d),null),(this[_0x2df59f(0x633)]=_0x52adf4,this[_0x2df59f(0x58c)]=_0x53bd19,this[_0x2df59f(0x4f0)]=_0x5b15f1,this[_0x2df59f(0x321)]=_0xe3e3ef,this[_0x2df59f(0x5e7)]());}set[_0x714a18(0x198)](_0x557f8c){const _0x4c4d7e=_0x714a18;_0x557f8c?(this[_0x4c4d7e(0x217)]&&this[_0x4c4d7e(0x217)][_0x4c4d7e(0x2c1)](),this['_textBubble']&&this['_textBubble'][_0x4c4d7e(0x26f)]()):(this['_anchorDot']&&this[_0x4c4d7e(0x217)][_0x4c4d7e(0x26f)](),this['_textBubble']&&this[_0x4c4d7e(0x497)][_0x4c4d7e(0x2c1)]());}[_0x714a18(0x19e)](){const _0x38042d=_0x714a18;for(const _0x1c65fe of this['_shapes'])_0x1c65fe[_0x38042d(0x19e)]();this['_textBubble']&&this[_0x38042d(0x497)][_0x38042d(0x19e)](),this['_anchorDot']&&this[_0x38042d(0x217)][_0x38042d(0x19e)](),this['_anchor']&&this[_0x38042d(0x4af)][_0x38042d(0x19e)](),this[_0x38042d(0x22d)]&&this[_0x38042d(0x22d)]();}[_0x714a18(0x5e7)](){const _0x4463f1=_0x714a18;var _0xa0ff85;const {_docSkeleton:_0x2ddbbe,_document:_0x2323f3}=this,{color:_0x34077f,name:_0x5614f9,ranges:_0x233551}=this['_cursor'],_0x3443a3=_0x2323f3[_0x4463f1(0x592)](),{docsLeft:_0x8c934e,docsTop:_0x34926c}=_0x3443a3,_0x540f37=new Z['NodePositionConvertToCursor'](_0x3443a3,_0x2ddbbe);for(const {startOffset:_0x1938c8,endOffset:_0x18a23a,rangeType:_0x9aa643,segmentId:_0x757080,segmentPage:_0x130d6b,collapsed:_0x4e27dd,isActive:_0x4ce3ee}of _0x233551){const _0xd3dbe3=_0x2ddbbe[_0x4463f1(0x199)](_0x1938c8,!0x0,_0x757080,_0x130d6b);let _0x416d9d=_0x2ddbbe['findNodePositionByCharIndex'](_0x18a23a,!0x0,_0x757080,_0x130d6b);if(_0x416d9d==null&&(_0x416d9d=_0x2ddbbe['findNodePositionByCharIndex'](_0x18a23a-0x1,!0x1,_0x757080,_0x130d6b)),_0x4ce3ee){const {contentBoxPointGroup:_0x5d01d3}=_0x540f37[_0x4463f1(0x53b)](_0x416d9d,_0x416d9d);if(_0x5d01d3['length']===0x0)continue;this[_0x4463f1(0x45c)](_0x34077f,_0x5d01d3,_0x8c934e,_0x34926c,_0x5614f9),this[_0x4463f1(0x22d)]=this[_0x4463f1(0x4c6)]();}if(_0xd3dbe3&&_0x416d9d){if(_0x9aa643===a[_0x4463f1(0x1d7)][_0x4463f1(0x5b1)]){const _0x4f751e=new Z['NodePositionConvertToRectRange'](_0x3443a3,_0x2ddbbe),{pointGroup:_0x30c05a}=(_0xa0ff85=_0x4f751e[_0x4463f1(0x53b)](_0xd3dbe3,_0x416d9d))!=null?_0xa0ff85:{};if(_0x30c05a==null||_0x30c05a[_0x4463f1(0x5a6)]===0x0)continue;this[_0x4463f1(0x361)](_0x34077f,_0x30c05a,_0x8c934e,_0x34926c);}else{if(!_0x4e27dd){const {borderBoxPointGroup:_0x5cb6ce}=_0x540f37[_0x4463f1(0x53b)](_0xd3dbe3,_0x416d9d);if(_0x5cb6ce[_0x4463f1(0x5a6)]===0x0)continue;this[_0x4463f1(0x1c4)](_0x34077f,_0x5cb6ce,_0x8c934e,_0x34926c);}}}}}[_0x714a18(0x45c)](_0x49c912,_0x2b7432,_0x38e37c,_0x68b23e,_0x1a7916){const _0x115aab=_0x714a18,_0xdea09b=this[_0x115aab(0x1f7)](_0x2b7432),{left:_0x2fd19c,top:_0x22fb7d,height:_0xfdd73f}=_0xdea09b,_0x546bdd=this['_getScale'](),_0x10e058=hs/_0x546bdd,_0x2c05ba=new K['Rect'](st+a[_0x115aab(0x392)][_0x115aab(0x4fb)](Ue),{'left':_0x2fd19c+_0x38e37c-_0x10e058,'top':_0x22fb7d+_0x68b23e,'height':_0xfdd73f,'width':ls,'fill':_0x49c912||K[_0x115aab(0x1e6)](a[_0x115aab(0x42f)]['black'],0x0),'strokeWidth':_0x10e058,'stroke':_s,'evented':!0x0});this['_anchor']=_0x2c05ba,this[_0x115aab(0x58c)][_0x115aab(0x1af)](_0x2c05ba,Z[_0x115aab(0x590)]);const _0x2d7dda=new K[(_0x115aab(0x181))](st+a['Tools'][_0x115aab(0x4fb)](Ue),{'left':_0x2fd19c+_0x38e37c-_0x10e058,'top':_0x22fb7d+_0x68b23e-rt/0x2,'height':rt,'width':rt,'fill':_0x49c912||K['getColor'](a[_0x115aab(0x42f)][_0x115aab(0x261)],0x0),'strokeWidth':0x0,'stroke':_0x49c912||K['getColor'](a['COLORS'][_0x115aab(0x261)],0x0),'evented':!0x1});this[_0x115aab(0x217)]=_0x2d7dda,this['_scene'][_0x115aab(0x1af)](_0x2d7dda,Z[_0x115aab(0x590)]);const _0x439c08=new ze(st+a[_0x115aab(0x392)][_0x115aab(0x4fb)](Ue),{'left':_0x2fd19c+_0x38e37c-_0x10e058,'top':_0x22fb7d+_0x68b23e-Le,'text':_0x1a7916,'color':_0x49c912});this[_0x115aab(0x497)]=_0x439c08,this[_0x115aab(0x58c)]['addObject'](_0x439c08,Z[_0x115aab(0x590)]),this[_0x115aab(0x198)]=!0x1;}[_0x714a18(0x4c6)](){const _0x364742=_0x714a18,_0x527f3d=this[_0x364742(0x4af)][_0x364742(0x313)][_0x364742(0x40a)](()=>{this['_hover']=!0x0;}),_0x1112b3=this['_anchor'][_0x364742(0x3c0)][_0x364742(0x40a)](()=>{const _0x48c11d=_0x364742;this[_0x48c11d(0x4f3)]&&clearTimeout(this[_0x48c11d(0x4f3)]),this[_0x48c11d(0x4f3)]=setTimeout(()=>{const _0x56b666=_0x48c11d;this[_0x56b666(0x198)]=!0x1;},0x7d0);});return()=>{const _0x29bc52=_0x364742;_0x527f3d[_0x29bc52(0x1f9)](),_0x1112b3[_0x29bc52(0x1f9)]();};}[_0x714a18(0x1c4)](_0x326cd4,_0x59b689,_0x183f2c,_0x3f002e){const _0x32fc21=_0x714a18,_0x45c435=new a[(_0x32fc21(0x2ce))](_0x326cd4)['setAlpha'](0.2)[_0x32fc21(0x178)](),_0xe189f=new K[(_0x32fc21(0x2da))](as+a[_0x32fc21(0x392)][_0x32fc21(0x4fb)](Ue),{'pointsGroup':_0x59b689,'fill':_0x45c435||K[_0x32fc21(0x1e6)](a[_0x32fc21(0x42f)][_0x32fc21(0x261)],0.2),'left':_0x183f2c,'top':_0x3f002e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32fc21(0x594)]['push'](_0xe189f),this[_0x32fc21(0x58c)]['addObject'](_0xe189f,Z[_0x32fc21(0x590)]);}['_drawRectRange'](_0x10c5fe,_0x20eea7,_0x5cf6ee,_0x1cf0e3){const _0x1c9684=_0x714a18,_0x3bb7f2=new a[(_0x1c9684(0x2ce))](_0x10c5fe)[_0x1c9684(0x253)](0.2)[_0x1c9684(0x178)](),_0x3bb24f=new K[(_0x1c9684(0x2da))](cs+a[_0x1c9684(0x392)][_0x1c9684(0x4fb)](Ue),{'pointsGroup':_0x20eea7,'fill':_0x3bb7f2||K['getColor'](a[_0x1c9684(0x42f)][_0x1c9684(0x261)],0.2),'left':_0x5cf6ee,'top':_0x1cf0e3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c9684(0x594)][_0x1c9684(0x5a9)](_0x3bb24f),this['_scene'][_0x1c9684(0x1af)](_0x3bb24f,Z['TEXT_RANGE_LAYER_INDEX']);}[_0x714a18(0x1f7)](_0xc1dab2){const _0x4cc42f=_0xc1dab2[0x0],_0x35888a=_0x4cc42f[0x0],_0x122095=_0x4cc42f[0x2],{x:_0x2fbc57,y:_0x486403}=_0x35888a,{x:_0x370ccc,y:_0x652653}=_0x122095;return{'left':_0x2fbc57,'top':_0x486403,'width':_0x370ccc-_0x2fbc57,'height':_0x652653-_0x486403};}[_0x714a18(0x290)](){const _0x2ec9b6=_0x714a18,{scaleX:_0x21ac6e,scaleY:_0x5d06c3}=this[_0x2ec9b6(0x58c)][_0x2ec9b6(0x23e)]();return Math[_0x2ec9b6(0x208)](_0x21ac6e,_0x5d06c3);}}var us=Object[_0x714a18(0x1d2)],ds=Object[_0x714a18(0x254)],fs=(_0x5ab5e3,_0x194888,_0x4dc088,_0x5941c6)=>{const _0x218f8c=_0x714a18;for(var _0x19c866=_0x5941c6>0x1?void 0x0:_0x5941c6?ds(_0x194888,_0x4dc088):_0x194888,_0x49f7db=_0x5ab5e3[_0x218f8c(0x5a6)]-0x1,_0x250052;_0x49f7db>=0x0;_0x49f7db--)(_0x250052=_0x5ab5e3[_0x49f7db])&&(_0x19c866=(_0x5941c6?_0x250052(_0x194888,_0x4dc088,_0x19c866):_0x250052(_0x19c866))||_0x19c866);return _0x5941c6&&_0x19c866&&us(_0x194888,_0x4dc088,_0x19c866),_0x19c866;},je=(_0x503b99,_0x456360)=>(_0x44ac6e,_0x2fb9e3)=>_0x456360(_0x44ac6e,_0x2fb9e3,_0x503b99);let pt=class extends a[_0x714a18(0x237)]{constructor(_0x2b4ff0,_0x48c5be,_0x299b46,_0x1f6af7,_0x187170){const _0xe945fe=_0x714a18;super(),I(this,'_cursorShapes',[]),I(this,_0xe945fe(0x20d),[]),(this[_0xe945fe(0x29f)]=_0x2b4ff0,this['_docSkeletonManagerService']=_0x48c5be,this[_0xe945fe(0x225)]=_0x299b46,this[_0xe945fe(0x266)]=_0x1f6af7,this[_0xe945fe(0x1cc)]=_0x187170,this['_init']());}[_0x714a18(0x26c)](){const _0xdec0f1=_0x714a18,_0x265c68=this[_0xdec0f1(0x29f)][_0xdec0f1(0x219)],_0x44fafb=this[_0xdec0f1(0x2c4)];this[_0xdec0f1(0x580)](A['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0x265c68),this[_0xdec0f1(0x1cc)][_0xdec0f1(0x196)]])[_0xdec0f1(0x52c)](V['map'](([_0x15a73e,_0x3b1f22])=>({'skeleton':_0x44fafb[_0xdec0f1(0x533)](),'cursors':[..._0x15a73e[_0xdec0f1(0x40c)]()][_0xdec0f1(0x243)](_0x1ff541=>({..._0x1ff541,'color':_0x3b1f22[_0x1ff541['color']]}))})))['subscribe'](_0x179bf6=>{const _0x181c00=_0xdec0f1;if(this[_0x181c00(0x2a3)](),_0x179bf6){const {skeleton:_0x3420d2,cursors:_0x399ba1}=_0x179bf6;this[_0x181c00(0x209)](_0x3420d2,_0x399ba1);}})),this[_0xdec0f1(0x50d)](),this[_0xdec0f1(0x63b)]();}[_0x714a18(0x209)](_0x1ed1d4,_0x555e7c){const _0x19aecd=_0x714a18,{scene:_0x448094,mainComponent:_0x42654f}=this[_0x19aecd(0x29f)],_0x14a97e=_0x555e7c[_0x19aecd(0x556)](_0x360867=>new Ht(_0x360867,_0x448094,_0x1ed1d4,_0x42654f));this[_0x19aecd(0x216)]=_0x14a97e,this[_0x19aecd(0x20d)]=_0x555e7c;}[_0x714a18(0x24f)](){const _0x1c9ddb=_0x714a18;this[_0x1c9ddb(0x2a3)]();const {scene:_0x16a44e,mainComponent:_0x4793e9}=this[_0x1c9ddb(0x29f)],_0x1299bb=this[_0x1c9ddb(0x2c4)]['getSkeleton'](),_0x3ff273=this[_0x1c9ddb(0x20d)][_0x1c9ddb(0x556)](_0x2fa625=>new Ht(_0x2fa625,_0x16a44e,_0x1299bb,_0x4793e9));this[_0x1c9ddb(0x216)]=_0x3ff273;}[_0x714a18(0x2a3)](){const _0x5c083d=_0x714a18;this['_cursorShapes']['forEach'](_0x1636c8=>_0x1636c8[_0x5c083d(0x19e)]()),this[_0x5c083d(0x216)]=[];}[_0x714a18(0x63b)](){const _0x40fe2e=_0x714a18,_0x520886=[Z[_0x40fe2e(0x18e)]['id']];this[_0x40fe2e(0x580)](this[_0x40fe2e(0x266)][_0x40fe2e(0x1aa)](_0x226f3c=>{const _0x14ad9b=_0x40fe2e;_0x520886[_0x14ad9b(0x2c3)](_0x226f3c['id'])&&_0x226f3c[_0x14ad9b(0x25e)][_0x14ad9b(0x219)]===this['_context'][_0x14ad9b(0x219)]&&this['_refreshCollabCursors']();}));}[_0x714a18(0x50d)](){const _0x435f54=_0x714a18;this['disposeWithMe'](a['fromEventSubject'](this['_context'][_0x435f54(0x1e2)]['onTransformChange$'])[_0x435f54(0x52c)](V['filter'](_0x11244b=>_0x11244b[_0x435f54(0x283)]===K[_0x435f54(0x42c)]['resize']),V[_0x435f54(0x5b3)](0x10))[_0x435f54(0x47b)](()=>{const _0x196508=_0x435f54;this[_0x196508(0x24f)]();}));}};pt=fs([je(0x1,a[_0x714a18(0x5ce)](ye[_0x714a18(0x5c9)])),je(0x2,a['Inject'](De)),je(0x3,a[_0x714a18(0x1c8)]),je(0x4,a[_0x714a18(0x5ce)](a['ThemeService']))],pt);const vs=0x1,Ss=1.5;class vn extends K[_0x714a18(0x54b)]{constructor(_0x3bbd52,_0x53ad90){const _0x29805e=_0x714a18;super(_0x3bbd52,_0x53ad90),I(this,_0x29805e(0x474)),I(this,_0x29805e(0x235),!0x1),I(this,_0x29805e(0x3be)),I(this,_0x29805e(0x581),''),I(this,_0x29805e(0x184),_0x29805e(0x5c4)),I(this,_0x29805e(0x57b)),(_0x53ad90&&this[_0x29805e(0x4d8)](_0x53ad90),this[_0x29805e(0x313)][_0x29805e(0x40a)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x29805e(0x3c0)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x714a18(0x4d8)](_0x3f207c){const _0x27c09e=_0x714a18;var _0x1163a7,_0x1bae6b,_0x1092dd,_0x4cda0d,_0x17ed88,_0x203633;this[_0x27c09e(0x474)]=(_0x1163a7=_0x3f207c[_0x27c09e(0x279)])!=null?_0x1163a7:this[_0x27c09e(0x474)],this[_0x27c09e(0x235)]=(_0x1bae6b=_0x3f207c[_0x27c09e(0x340)])!=null?_0x1bae6b:this[_0x27c09e(0x235)],this[_0x27c09e(0x3be)]=(_0x1092dd=_0x3f207c[_0x27c09e(0x531)])!=null?_0x1092dd:this[_0x27c09e(0x3be)],this[_0x27c09e(0x581)]=(_0x4cda0d=_0x3f207c[_0x27c09e(0x4e1)])!=null?_0x4cda0d:this[_0x27c09e(0x581)],this['_labelPosition']=(_0x17ed88=_0x3f207c['labelPosition'])!=null?_0x17ed88:this[_0x27c09e(0x184)],this[_0x27c09e(0x57b)]=(_0x203633=_0x3f207c[_0x27c09e(0x3bd)])!=null?_0x203633:this[_0x27c09e(0x57b)],this[_0x27c09e(0x475)]({'width':_0x3f207c[_0x27c09e(0x43e)],'height':_0x3f207c[_0x27c09e(0x5e2)]});}[_0x714a18(0x247)](_0x21deb6){const _0x42f613=_0x714a18,{row:_0x41a465,column:_0x5a7143}=_0x21deb6;if(_0x41a465>=this['_range']['startRow']&&_0x41a465<=this[_0x42f613(0x3be)][_0x42f613(0x189)]&&_0x5a7143>=this['_range'][_0x42f613(0x596)]&&_0x5a7143<=this['_range']['endColumn']){this[_0x42f613(0x4d8)]({'hovered':!0x0});return;}this[_0x42f613(0x4d8)]({'hovered':!0x1});}['triggerDblclick'](_0xdbb66c){return!0x1;}['_draw'](_0x369ace){const _0x12bb44=_0x714a18;K['Rect'][_0x12bb44(0x59a)](_0x369ace,{'width':this[_0x12bb44(0x43e)],'height':this[_0x12bb44(0x5e2)],'strokeWidth':Ss,'stroke':this[_0x12bb44(0x474)],'evented':!0x1,'fill':this[_0x12bb44(0x57b)]}),this['_hovered']&&(_0x369ace['save'](),_0x369ace[_0x12bb44(0x284)](0x1,0x0,0x0,0x1,this[_0x12bb44(0x43e)],this[_0x12bb44(0x184)]===_0x12bb44(0x4ae)?0x0:-Le),ze[_0x12bb44(0x59a)](_0x369ace,{'text':this[_0x12bb44(0x581)],'color':this[_0x12bb44(0x474)]}),_0x369ace[_0x12bb44(0x234)]());}}var ps=Object[_0x714a18(0x1d2)],ms=Object[_0x714a18(0x254)],gs=(_0x451cdc,_0x510857,_0x1855cf,_0x291fde)=>{for(var _0x53e2df=_0x291fde>0x1?void 0x0:_0x291fde?ms(_0x510857,_0x1855cf):_0x510857,_0x40d842=_0x451cdc['length']-0x1,_0x2d9da8;_0x40d842>=0x0;_0x40d842--)(_0x2d9da8=_0x451cdc[_0x40d842])&&(_0x53e2df=(_0x291fde?_0x2d9da8(_0x510857,_0x1855cf,_0x53e2df):_0x2d9da8(_0x53e2df))||_0x53e2df);return _0x291fde&&_0x53e2df&&ps(_0x510857,_0x1855cf,_0x53e2df),_0x53e2df;},ot=(_0x285491,_0xa8ff39)=>(_0x5e27a8,_0x268d29)=>_0xa8ff39(_0x5e27a8,_0x268d29,_0x285491);const Is=0x1389;let mt=class extends a['RxDisposable']{constructor(_0x4dd0c9,_0x201b45,_0x58f1f5,_0x2233b6){const _0x5edcd3=_0x714a18;super(),I(this,'_cursors',new Set()),I(this,_0x5edcd3(0x31e),null),(this['_context']=_0x4dd0c9,this['_sheetSkeletonManagerService']=_0x201b45,this[_0x5edcd3(0x225)]=_0x58f1f5,this[_0x5edcd3(0x1cc)]=_0x2233b6,this['_init']());}[_0x714a18(0x26c)](){const _0x4ba88a=_0x714a18;this[_0x4ba88a(0x398)][_0x4ba88a(0x362)][_0x4ba88a(0x52c)](V[_0x4ba88a(0x3c8)](this[_0x4ba88a(0x417)]),V['switchMap'](_0x52bd01=>{const _0x9ba7c1=_0x4ba88a;if(_0x52bd01){const _0x571a1f=_0x52bd01[_0x9ba7c1(0x567)];return A[_0x9ba7c1(0x3dd)](this['_collabCursorController']['getCollabCursors$'](this[_0x9ba7c1(0x29f)][_0x9ba7c1(0x219)]),this[_0x9ba7c1(0x1cc)]['currentTheme$'])[_0x9ba7c1(0x52c)](V['map'](([_0x98f16d,_0x267777])=>{const _0x8193c9=_0x9ba7c1,_0x552366=new Map();return _0x98f16d[_0x8193c9(0x39e)]((_0x1b8a66,_0x536177)=>{const _0x44b60d=_0x8193c9;if(_0x1b8a66[_0x44b60d(0x5cc)]===_0x571a1f){const _0x4e7ca7={..._0x1b8a66};_0x4e7ca7[_0x44b60d(0x279)]=_0x267777[_0x1b8a66[_0x44b60d(0x279)]],_0x552366[_0x44b60d(0x3d0)](_0x536177,_0x4e7ca7);}}),{'skeleton':_0x52bd01,'cursors':_0x552366};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x4ba88a(0x47b)](({skeleton:_0x10294,cursors:_0x5c9d6d})=>{const _0x4d0700=_0x4ba88a;this[_0x4d0700(0x2a3)](),_0x10294&&this[_0x4d0700(0x209)](_0x10294,_0x5c9d6d);}),this[_0x4ba88a(0x398)][_0x4ba88a(0x362)][_0x4ba88a(0x47b)](_0x4d9468=>{const _0x359d81=_0x4ba88a;if(_0x4d9468==null)return;const {skeleton:_0x2f15a0}=_0x4d9468,{scene:_0xf964fe}=this[_0x359d81(0x29f)];_0xf964fe[_0x359d81(0x4fc)]['subscribeEvent'](a[_0x359d81(0x1a0)](_0x5f2557=>{const _0x1c692c=_0x359d81;var _0x56d40b,_0x24832c;const {offsetX:_0x5eee04,offsetY:_0x205a05}=_0x5f2557,{x:_0x143c09,y:_0x505b77}=_0xf964fe[_0x1c692c(0x5d7)](K[_0x1c692c(0x52f)][_0x1c692c(0x45f)]([_0x5eee04,_0x205a05])),{scaleX:_0x557e43,scaleY:_0x473d87}=_0xf964fe[_0x1c692c(0x23e)](),_0x54eaeb=_0xf964fe[_0x1c692c(0x447)](Re[_0x1c692c(0x2ca)][_0x1c692c(0x519)]),_0x1362e9=_0xf964fe[_0x1c692c(0x1b3)](K[_0x1c692c(0x52f)][_0x1c692c(0x45f)]([_0x143c09,_0x505b77]),_0x54eaeb),_0x1d7bbc=_0x2f15a0[_0x1c692c(0x394)](_0x5eee04,_0x205a05,_0x557e43,_0x473d87,_0x1362e9);((_0x56d40b=this[_0x1c692c(0x31e)])==null?void 0x0:_0x56d40b[_0x1c692c(0x514)])===_0x1d7bbc[_0x1c692c(0x514)]&&((_0x24832c=this[_0x1c692c(0x31e)])==null?void 0x0:_0x24832c['row'])===_0x1d7bbc['row']||this['_cursors'][_0x1c692c(0x39e)](_0x8f94e9=>{const _0xa7bae8=_0x1c692c;_0x8f94e9[_0xa7bae8(0x247)](_0x1d7bbc);});},0x64));});}[_0x714a18(0x209)](_0x6a7adb,_0x5d578a){const _0x59bee4=_0x714a18;var _0x11ea11;const _0x527e6b=(_0x11ea11=this[_0x59bee4(0x398)][_0x59bee4(0x36f)]())==null?void 0x0:_0x11ea11[_0x59bee4(0x305)];if(!_0x527e6b)return;const _0x4baaef=this[_0x59bee4(0x3e0)]();if(!_0x4baaef)return;this[_0x59bee4(0x20d)][_0x59bee4(0x39e)](_0x47c3e9=>{const _0x1c4c1b=_0x59bee4;_0x47c3e9[_0x1c4c1b(0x5b7)]();});const {scene:_0x1aefbc}=_0x4baaef,_0x23c571=Cs(Array['from'](_0x5d578a[_0x59bee4(0x40c)]()))[_0x59bee4(0x556)](_0x69eef2=>{const _0x5e06be=_0x59bee4,{color:_0x471b18,range:_0x16aaea,name:_0x20bcad,selection:_0x14b174,sheetID:_0x38dedc}=_0x69eef2,{startColumn:_0x16cf33,startRow:_0x13031e,endColumn:_0xf4fa13,endRow:_0x32e4a6}=_0x16aaea,_0x159419=Re[_0x5e06be(0x34b)](_0x13031e,_0x16cf33,_0x1aefbc,_0x527e6b),_0x2bc477=Re[_0x5e06be(0x34b)](_0x32e4a6,_0xf4fa13,_0x1aefbc,_0x527e6b),{columnHeaderHeightAndMarginTop:_0x18468a}=_0x527e6b,{startX:_0x2b65c7,startY:_0x44c4ca}=_0x159419,{endX:_0x397a34,endY:_0x33b8b8}=_0x2bc477,_0x320bb2=_0x397a34-_0x2b65c7,_0x421922=_0x33b8b8-_0x44c4ca,_0x5cb27f={'labelPosition':_0x44c4ca-_0x18468a>=Le?_0x5e06be(0x5c4):_0x5e06be(0x4ae),'sheetID':_0x38dedc,'range':_0x16aaea,'color':_0x471b18,'name':_0x20bcad,'selection':_0x14b174,'left':_0x2b65c7,'top':_0x44c4ca,'width':_0x320bb2,'height':_0x421922,'evented':!0x1,'zIndex':Is};return new vn(_0x20bcad,_0x5cb27f);});_0x1aefbc['addObjects'](_0x23c571,vs),this[_0x59bee4(0x20d)]=new Set(_0x23c571);}[_0x714a18(0x2a3)](){const _0x3fe09a=_0x714a18;var _0x2a5f71;(_0x2a5f71=this['_cursors'])==null||_0x2a5f71[_0x3fe09a(0x39e)](_0x178294=>_0x178294[_0x3fe09a(0x19e)]());}[_0x714a18(0x3e0)](){const _0x17a0e3=_0x714a18;return Re[_0x17a0e3(0x2a7)](this[_0x17a0e3(0x29f)][_0x17a0e3(0x29d)],this[_0x17a0e3(0x29f)]);}};mt=gs([ot(0x1,a[_0x714a18(0x5ce)](Re[_0x714a18(0x455)])),ot(0x2,a[_0x714a18(0x5ce)](De)),ot(0x3,a[_0x714a18(0x5ce)](a[_0x714a18(0x1a4)]))],mt);function Cs(_0x575c25){const _0x188ffb=_0x714a18,_0x11c8d1=new Map();return _0x575c25[_0x188ffb(0x39e)](_0xe65d90=>{const _0x287062=_0x188ffb;if(_0x11c8d1['has'](_0xe65d90[_0x287062(0x3f7)])){const _0x35f796=_0x11c8d1[_0x287062(0x1bc)](_0xe65d90[_0x287062(0x3f7)]);_0x35f796[_0x287062(0x4e1)]+=',\x20'+_0xe65d90[_0x287062(0x4e1)];}else _0x11c8d1[_0x287062(0x3d0)](_0xe65d90[_0x287062(0x3f7)],_0xe65d90);}),Array[_0x188ffb(0x17b)](_0x11c8d1[_0x188ffb(0x40c)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x5a6365){const _0x3b9881=_0x714a18;return _0x5a6365&&_0x5a6365['__esModule']&&Object[_0x3b9881(0x2c5)][_0x3b9881(0x407)][_0x3b9881(0x593)](_0x5a6365,_0x3b9881(0x1fd))?_0x5a6365[_0x3b9881(0x1fd)]:_0x5a6365;}var Sn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x714a18(0x639)](_0x714a18(0x5e6)),Ts=Symbol[_0x714a18(0x639)](_0x714a18(0x32a)),Rs=Object[_0x714a18(0x2c5)][_0x714a18(0x407)],ys=Es['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x714a18(0x393)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function pn(_0x4880a2,_0x2ddb00,_0x4fd0a1){const _0x2e31d9=_0x714a18;var _0x526a98,_0x5d5947={},_0x324c99=null,_0x227c52=null;_0x4fd0a1!==void 0x0&&(_0x324c99=''+_0x4fd0a1),_0x2ddb00[_0x2e31d9(0x55d)]!==void 0x0&&(_0x324c99=''+_0x2ddb00['key']),_0x2ddb00[_0x2e31d9(0x3aa)]!==void 0x0&&(_0x227c52=_0x2ddb00[_0x2e31d9(0x3aa)]);for(_0x526a98 in _0x2ddb00)Rs['call'](_0x2ddb00,_0x526a98)&&!Os[_0x2e31d9(0x407)](_0x526a98)&&(_0x5d5947[_0x526a98]=_0x2ddb00[_0x526a98]);if(_0x4880a2&&_0x4880a2[_0x2e31d9(0x246)]){for(_0x526a98 in(_0x2ddb00=_0x4880a2[_0x2e31d9(0x246)],_0x2ddb00))_0x5d5947[_0x526a98]===void 0x0&&(_0x5d5947[_0x526a98]=_0x2ddb00[_0x526a98]);}return{'$$typeof':bs,'type':_0x4880a2,'key':_0x324c99,'ref':_0x227c52,'props':_0x5d5947,'_owner':ys[_0x2e31d9(0x2bd)]};}Xe[_0x714a18(0x499)]=Ts,Xe[_0x714a18(0x450)]=pn,Xe[_0x714a18(0x2ae)]=pn,Sn[_0x714a18(0x557)]=Xe;var ge=Sn[_0x714a18(0x557)],Q=function(){const _0x53714a=_0x714a18;return Q=Object[_0x53714a(0x55c)]||function(_0x5bcb8b){const _0x12048f=_0x53714a;for(var _0x5bf035,_0x22f34a=0x1,_0x15935d=arguments[_0x12048f(0x5a6)];_0x22f34a<_0x15935d;_0x22f34a++){_0x5bf035=arguments[_0x22f34a];for(var _0x26bc3b in _0x5bf035)Object[_0x12048f(0x2c5)][_0x12048f(0x407)][_0x12048f(0x593)](_0x5bf035,_0x26bc3b)&&(_0x5bcb8b[_0x26bc3b]=_0x5bf035[_0x26bc3b]);}return _0x5bcb8b;},Q[_0x53714a(0x275)](this,arguments);},Ds=function(_0x953751,_0x5a0703){const _0xaefb9f=_0x714a18;var _0x13a394={};for(var _0x1e3289 in _0x953751)Object[_0xaefb9f(0x2c5)][_0xaefb9f(0x407)]['call'](_0x953751,_0x1e3289)&&_0x5a0703[_0xaefb9f(0x30e)](_0x1e3289)<0x0&&(_0x13a394[_0x1e3289]=_0x953751[_0x1e3289]);if(_0x953751!=null&&typeof Object[_0xaefb9f(0x378)]==_0xaefb9f(0x20f)){for(var _0x4bea65=0x0,_0x1e3289=Object['getOwnPropertySymbols'](_0x953751);_0x4bea65<_0x1e3289[_0xaefb9f(0x5a6)];_0x4bea65++)_0x5a0703[_0xaefb9f(0x30e)](_0x1e3289[_0x4bea65])<0x0&&Object[_0xaefb9f(0x2c5)][_0xaefb9f(0x3c3)]['call'](_0x953751,_0x1e3289[_0x4bea65])&&(_0x13a394[_0x1e3289[_0x4bea65]]=_0x953751[_0x1e3289[_0x4bea65]]);}return _0x13a394;},Ot=ae['forwardRef'](function(_0x55dd7b,_0x298472){const _0x195a48=_0x714a18;var _0x543186=_0x55dd7b[_0x195a48(0x1e0)],_0x11b244=_0x55dd7b['id'],_0x35bd0f=_0x55dd7b[_0x195a48(0x2f5)],_0x1210fc=_0x55dd7b[_0x195a48(0x60d)],_0x11e252=Ds(_0x55dd7b,[_0x195a48(0x1e0),'id','className','extend']),_0x4e9d49='univerjs-icon\x20univerjs-icon-'[_0x195a48(0x345)](_0x11b244,'\x20')['concat'](_0x35bd0f||'')['trim'](),_0x5d0fdb=ae[_0x195a48(0x5b8)]('_'['concat'](Us()));return mn(_0x543186,''['concat'](_0x11b244),{'defIds':_0x543186[_0x195a48(0x220)],'idSuffix':_0x5d0fdb[_0x195a48(0x2bd)]},Q({'ref':_0x298472,'className':_0x4e9d49},_0x11e252),_0x1210fc);});function mn(_0x30f40f,_0x8ed515,_0x2a2295,_0x1b7f84,_0xb6725f){const _0xbb95cd=_0x714a18;return ae[_0xbb95cd(0x230)](_0x30f40f[_0xbb95cd(0x4ed)],Q(Q({'key':_0x8ed515},ws(_0x30f40f,_0x2a2295,_0xb6725f)),_0x1b7f84),(Ps(_0x30f40f,_0x2a2295)[_0xbb95cd(0x1fe)]||[])[_0xbb95cd(0x556)](function(_0x13e78a,_0x19df20){const _0x4796c9=_0xbb95cd;return mn(_0x13e78a,''[_0x4796c9(0x345)](_0x8ed515,'-')[_0x4796c9(0x345)](_0x30f40f['tag'],'-')[_0x4796c9(0x345)](_0x19df20),_0x2a2295,void 0x0,_0xb6725f);}));}function ws(_0x12bda2,_0x2b5c77,_0x457ee4){const _0x5ef743=_0x714a18;var _0x57f6b2=Q({},_0x12bda2[_0x5ef743(0x197)]);_0x457ee4!=null&&_0x457ee4[_0x5ef743(0x5ea)]&&_0x57f6b2[_0x5ef743(0x374)]==='colorChannel1'&&(_0x57f6b2['fill']=_0x457ee4[_0x5ef743(0x5ea)]);var _0x28d5f9=_0x2b5c77[_0x5ef743(0x220)];return!_0x28d5f9||_0x28d5f9['length']===0x0||(_0x12bda2[_0x5ef743(0x4ed)]===_0x5ef743(0x41c)&&_0x57f6b2[_0x5ef743(0x263)]&&(_0x57f6b2[_0x5ef743(0x263)]=_0x57f6b2['xlink:href']+_0x2b5c77['idSuffix']),Object[_0x5ef743(0x4d6)](_0x57f6b2)[_0x5ef743(0x39e)](function(_0x973503){const _0x4203f9=_0x5ef743;var _0x559c4c=_0x973503[0x0],_0x4296cd=_0x973503[0x1];typeof _0x4296cd==_0x4203f9(0x461)&&(_0x57f6b2[_0x559c4c]=_0x4296cd['replace'](/url\(#(.*)\)/,_0x4203f9(0x288)[_0x4203f9(0x345)](_0x2b5c77[_0x4203f9(0x36b)],')')));})),_0x57f6b2;}function Ps(_0x2f11a8,_0x4c8f9f){const _0x24dc29=_0x714a18;var _0x2af2dd,_0x20a58d=_0x4c8f9f[_0x24dc29(0x220)];return!_0x20a58d||_0x20a58d[_0x24dc29(0x5a6)]===0x0?_0x2f11a8:_0x2f11a8[_0x24dc29(0x4ed)]==='defs'&&(!((_0x2af2dd=_0x2f11a8[_0x24dc29(0x1fe)])===null||_0x2af2dd===void 0x0)&&_0x2af2dd[_0x24dc29(0x5a6)])?Q(Q({},_0x2f11a8),{'children':_0x2f11a8['children'][_0x24dc29(0x556)](function(_0x359e9f){const _0x53b120=_0x24dc29;return typeof _0x359e9f[_0x53b120(0x197)]['id']==_0x53b120(0x461)&&_0x20a58d&&_0x20a58d[_0x53b120(0x30e)](_0x359e9f[_0x53b120(0x197)]['id'])>-0x1?Q(Q({},_0x359e9f),{'attrs':Q(Q({},_0x359e9f[_0x53b120(0x197)]),{'id':_0x359e9f[_0x53b120(0x197)]['id']+_0x4c8f9f[_0x53b120(0x36b)]})}):_0x359e9f;})}):_0x2f11a8;}function Us(){const _0x3b3014=_0x714a18;return Math[_0x3b3014(0x429)]()[_0x3b3014(0x5b9)](0x24)[_0x3b3014(0x2aa)](0x2,0x8);}Ot['displayName']=_0x714a18(0x42d);var Ms={'tag':_0x714a18(0x2c2),'attrs':{'fill':_0x714a18(0x553),'viewBox':_0x714a18(0x5ca),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x714a18(0x2be)},'children':[{'tag':_0x714a18(0x1cd),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x714a18(0x43a),'strokeLinejoin':_0x714a18(0x43a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x714a18(0x5ee)},'children':[{'tag':_0x714a18(0x1cd),'attrs':{'fill':_0x714a18(0x1c9),'d':_0x714a18(0x3b7)}}]}]}],'defIds':[_0x714a18(0x5ee)]},gn=ae[_0x714a18(0x3f3)](function(_0x465002,_0x46fbd9){const _0xe805cb=_0x714a18;return ae[_0xe805cb(0x230)](Ot,Object['assign']({},_0x465002,{'id':_0xe805cb(0x4a0),'ref':_0x46fbd9,'icon':Ms}));});gn[_0x714a18(0x4fd)]='OffLineSingle';var As={'tag':_0x714a18(0x2c2),'attrs':{'fill':_0x714a18(0x553),'viewBox':'0\x200\x2017\x2016','width':_0x714a18(0x4d3),'height':_0x714a18(0x4d3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x714a18(0x1cd),'attrs':{'stroke':_0x714a18(0x4b1),'d':'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','strokeLinecap':_0x714a18(0x43a),'strokeLinejoin':_0x714a18(0x43a),'strokeWidth':1.2}}]},{'tag':_0x714a18(0x3e8),'attrs':{},'children':[{'tag':_0x714a18(0x37a),'attrs':{'id':_0x714a18(0x1a9)},'children':[{'tag':_0x714a18(0x1cd),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x714a18(0x4cb)}}]}]}],'defIds':[_0x714a18(0x1a9)]},In=ae[_0x714a18(0x3f3)](function(_0x623d58,_0x120875){const _0x17e7a3=_0x714a18;return ae[_0x17e7a3(0x230)](Ot,Object[_0x17e7a3(0x55c)]({},_0x623d58,{'id':'on-line-single','ref':_0x120875,'icon':As}));});In[_0x714a18(0x4fd)]='OnLineSingle';function Cn(_0x280872){const _0x24f370=_0x714a18;var _0xe4e63c,_0xd07d64,_0x520976='';if(typeof _0x280872=='string'||typeof _0x280872==_0x24f370(0x603))_0x520976+=_0x280872;else{if(typeof _0x280872==_0x24f370(0x488)){if(Array[_0x24f370(0x3e3)](_0x280872)){var _0x10b526=_0x280872[_0x24f370(0x5a6)];for(_0xe4e63c=0x0;_0xe4e63c<_0x10b526;_0xe4e63c++)_0x280872[_0xe4e63c]&&(_0xd07d64=Cn(_0x280872[_0xe4e63c]))&&(_0x520976&&(_0x520976+='\x20'),_0x520976+=_0xd07d64);}else{for(_0xd07d64 in _0x280872)_0x280872[_0xd07d64]&&(_0x520976&&(_0x520976+='\x20'),_0x520976+=_0xd07d64);}}}return _0x520976;}function Ns(){for(var _0x2ace6f,_0x12ba27,_0x3bd0fc=0x0,_0x7b4e99='',_0x395e14=arguments['length'];_0x3bd0fc<_0x395e14;_0x3bd0fc++)(_0x2ace6f=arguments[_0x3bd0fc])&&(_0x12ba27=Cn(_0x2ace6f))&&(_0x7b4e99&&(_0x7b4e99+='\x20'),_0x7b4e99+=_0x12ba27);return _0x7b4e99;}const Ls='univer-online-status-icon',xs=_0x714a18(0x356),js=_0x714a18(0x4df),$s=_0x714a18(0x562),Hs=_0x714a18(0x388),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function ks(_0x378288){const _0x4dce01=_0x714a18;switch(_0x378288){case q[_0x4dce01(0x3c6)]:return _0x4dce01(0x3b9);case q[_0x4dce01(0x523)]:return _0x4dce01(0x1fc);case q['FETCH_MISS']:return _0x4dce01(0x2f1);case q[_0x4dce01(0x377)]:return _0x4dce01(0x5dc);case q[_0x4dce01(0x274)]:case q['AWAITING_WITH_PENDING']:return _0x4dce01(0x508);case q['SYNCED']:case q[_0x4dce01(0x622)]:return _0x4dce01(0x33a);}}function En(_0x545d0e){const _0xfacbac=_0x714a18,{status$:_0x21590f}=_0x545d0e,_0x53cf33=te[_0xfacbac(0x5a3)](_0x21590f,q[_0xfacbac(0x377)]),_0x30e3fe=a[_0xfacbac(0x373)](a['LocaleService']),_0x2cc3f0=a[_0xfacbac(0x373)](exports[_0xfacbac(0x3c2)]),_0x32a049=_0x53cf33!==q[_0xfacbac(0x3c6)],_0x9024c5=_0x30e3fe['t'](ks(_0x53cf33)),_0x4cc3dd=Ns(Me[_0xfacbac(0x28d)],{[Me[_0xfacbac(0x548)]]:_0x32a049,[Me[_0xfacbac(0x528)]]:!_0x32a049}),_0x3a5ce1=_0x32a049?ge[_0xfacbac(0x450)](In,{}):ge['jsx'](gn,{}),_0xbac55d=ae[_0xfacbac(0x23a)](()=>{_0x32a049||_0x2cc3f0['reconnect']();},[_0x32a049,_0x2cc3f0]);function _0x1c893d(){const _0x1e1cb4=_0xfacbac;return ge['jsxs']('div',{'className':_0x4cc3dd,'onClick':_0xbac55d,'children':[ge[_0x1e1cb4(0x450)](_0x1e1cb4(0x40e),{'className':Me['onlineStatusIcon'],'children':_0x3a5ce1}),ge[_0x1e1cb4(0x450)](_0x1e1cb4(0x40e),{'className':Me[_0x1e1cb4(0x194)],'children':_0x9024c5})]});}return _0x32a049?_0x1c893d():ge['jsx'](Ie[_0xfacbac(0x191)],{'title':_0x30e3fe['t'](_0xfacbac(0x5f0)),'children':_0x1c893d()});}var Bs=Object[_0x714a18(0x1d2)],Ws=Object[_0x714a18(0x254)],Fs=(_0x22f4c9,_0x207484,_0x20394d,_0x1cd3ff)=>{const _0x3bea26=_0x714a18;for(var _0x47a494=_0x1cd3ff>0x1?void 0x0:_0x1cd3ff?Ws(_0x207484,_0x20394d):_0x207484,_0x5f1c14=_0x22f4c9[_0x3bea26(0x5a6)]-0x1,_0x118f18;_0x5f1c14>=0x0;_0x5f1c14--)(_0x118f18=_0x22f4c9[_0x5f1c14])&&(_0x47a494=(_0x1cd3ff?_0x118f18(_0x207484,_0x20394d,_0x47a494):_0x118f18(_0x47a494))||_0x47a494);return _0x1cd3ff&&_0x47a494&&Bs(_0x207484,_0x20394d,_0x47a494),_0x47a494;},$e=(_0x20f5b9,_0x491549)=>(_0x2f941f,_0x3145bb)=>_0x491549(_0x2f941f,_0x3145bb,_0x20f5b9);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x714a18(0x5aa)]{constructor(_0x2b6a28,_0x338dcf,_0x51a3d6,_0x35cb4f){const _0x151a65=_0x714a18;super(),I(this,_0x151a65(0x56c),new A[(_0x151a65(0x638))](q['NOT_COLLAB'])),(this[_0x151a65(0x4c0)]=_0x2b6a28,this[_0x151a65(0x612)]=_0x338dcf,this[_0x151a65(0x5eb)]=_0x51a3d6,this['_collaborationController']=_0x35cb4f,this[_0x151a65(0x4b8)](),this[_0x151a65(0x1f8)]());}[_0x714a18(0x1f8)](){const _0x3d9aa5=_0x714a18;this[_0x3d9aa5(0x580)](this[_0x3d9aa5(0x4c0)][_0x3d9aa5(0x440)][_0x3d9aa5(0x52c)](A['switchMap'](()=>{const _0x413082=_0x3d9aa5,_0x2d70bf=this[_0x413082(0x4c0)][_0x413082(0x28e)]();return _0x2d70bf?this['_collaborationController']['getCollabEntity$'](_0x2d70bf['getUnitId']()):A['of'](null);}),A[_0x3d9aa5(0x631)](_0x1d6b2c=>_0x1d6b2c?_0x1d6b2c[_0x3d9aa5(0x37e)]:A['of'](q[_0x3d9aa5(0x377)])))[_0x3d9aa5(0x47b)](_0x3da7f4=>{const _0x595ff5=_0x3d9aa5;this[_0x595ff5(0x56c)][_0x595ff5(0x5c5)](_0x3da7f4);}));}[_0x714a18(0x4b8)](){const _0x12933a=_0x714a18;this[_0x12933a(0x580)](this[_0x12933a(0x612)]['registerComponent'](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x12933a(0x386)](Vs({'status$':this[_0x12933a(0x56c)][_0x12933a(0x23c)]()}),this[_0x12933a(0x5eb)])));}},exports[_0x714a18(0x2a2)]=Fs([$e(0x0,a[_0x714a18(0x617)]),$e(0x1,te[_0x714a18(0x302)]),$e(0x2,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),$e(0x3,a[_0x714a18(0x5ce)](exports[_0x714a18(0x36d)]))],exports[_0x714a18(0x2a2)]);function Vs(_0x544c7f){const {status$:_0x15a569}=_0x544c7f;return function(){const _0x5be802=_0x420c;return ge[_0x5be802(0x450)](En,{'status$':_0x15a569});};}const Dt=a['createIdentifier']('uni.network.url-service');var Gs=Object[_0x714a18(0x1d2)],Ys=Object[_0x714a18(0x254)],Ks=(_0x43bc25,_0x4f014d,_0x286333,_0x5bddee)=>{const _0xfba513=_0x714a18;for(var _0x5d729f=_0x5bddee>0x1?void 0x0:_0x5bddee?Ys(_0x4f014d,_0x286333):_0x4f014d,_0x54e99b=_0x43bc25[_0xfba513(0x5a6)]-0x1,_0x1160b4;_0x54e99b>=0x0;_0x54e99b--)(_0x1160b4=_0x43bc25[_0x54e99b])&&(_0x5d729f=(_0x5bddee?_0x1160b4(_0x4f014d,_0x286333,_0x5d729f):_0x1160b4(_0x5d729f))||_0x5d729f);return _0x5bddee&&_0x5d729f&&Gs(_0x4f014d,_0x286333,_0x5d729f),_0x5d729f;},Te=(_0x5f30c5,_0x47236a)=>(_0x2a28b7,_0x14f897)=>_0x47236a(_0x2a28b7,_0x14f897,_0x5f30c5);exports['DataLoaderController']=class extends a[_0x714a18(0x237)]{constructor(_0x55be3b,_0x4fe6aa,_0x5c5375,_0x17e4bf,_0x307757,_0x2d4f7a){const _0x270277=_0x714a18;super(),this['_urlService']=_0x55be3b,this['_logService']=_0x4fe6aa,this[_0x270277(0x266)]=_0x5c5375,this[_0x270277(0x4c7)]=_0x17e4bf,this[_0x270277(0x619)]=_0x307757,_0x2d4f7a?_0x2d4f7a==null||_0x2d4f7a[_0x270277(0x1d6)]()[_0x270277(0x27c)](()=>this[_0x270277(0x26c)]()):(this[_0x270277(0x5be)][_0x270277(0x188)](_0x270277(0x5e4),_0x270277(0x559)),this[_0x270277(0x26c)]());}async[_0x714a18(0x26c)](){const _0x55b231=_0x714a18,_0x542d47=this[_0x55b231(0x44d)][_0x55b231(0x40f)](_0x55b231(0x29d)),_0x695269=this[_0x55b231(0x44d)][_0x55b231(0x40f)]('type');if(!_0x542d47||!_0x695269){this[_0x55b231(0x5be)]['debug']('[DataLoaderController]',_0x55b231(0x512));return;}switch(Number(_0x695269)){case ie['UNIVER_SHEET']:{const _0x1bf647=await this[_0x55b231(0x1b1)](_0x542d47);this[_0x55b231(0x193)](_0x1bf647);break;}case ie[_0x55b231(0x5ff)]:{await this[_0x55b231(0x295)](_0x542d47);break;}default:{this['_logService'][_0x55b231(0x4c3)](_0x55b231(0x5e4),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x714a18(0x193)](_0x6de7cf){const _0x7cdfcd=_0x714a18;await this[_0x7cdfcd(0x60f)](_0x6de7cf),_0x6de7cf['activeSheet$'][_0x7cdfcd(0x52c)](A[_0x7cdfcd(0x3c8)](this[_0x7cdfcd(0x417)]))[_0x7cdfcd(0x47b)](_0x355074=>{const _0x1e0e79=_0x7cdfcd;_0x355074&&this[_0x1e0e79(0x5bd)](_0x355074);}),this[_0x7cdfcd(0x44d)]['urlChange$'][_0x7cdfcd(0x52c)](A['takeUntil'](this[_0x7cdfcd(0x417)]))[_0x7cdfcd(0x47b)](()=>this[_0x7cdfcd(0x60f)](_0x6de7cf));}['_updateURLWithCurrentState'](_0x38a6c7,_0x30cfa5=!0x1){const _0x341550=_0x714a18,_0x2c84fd=this[_0x341550(0x44d)][_0x341550(0x40f)](_0x341550(0x1be));_0x38a6c7[_0x341550(0x424)]()!==_0x2c84fd&&this['_urlService'][_0x341550(0x5f3)](_0x341550(0x1be),_0x38a6c7[_0x341550(0x424)](),_0x30cfa5);}async['_updateSubUnitFromURLParams'](_0x113515){const _0x52920c=_0x714a18;var _0x302e41;const _0x425af=this[_0x52920c(0x44d)][_0x52920c(0x40f)](_0x52920c(0x1be));if(!_0x425af||!_0x113515[_0x52920c(0x3f8)](_0x425af)){const _0x52cddb=_0x113515[_0x52920c(0x2b7)]()[0x0],_0x2705d9=_0x113515[_0x52920c(0x3f8)](_0x52cddb);if(!_0x2705d9)return;this[_0x52920c(0x5bd)](_0x2705d9,!0x0),await this[_0x52920c(0x266)][_0x52920c(0x3ce)](B[_0x52920c(0x265)]['id'],{'unitId':_0x113515[_0x52920c(0x2e0)](),'subUnitId':_0x52cddb});return;}((_0x302e41=_0x113515[_0x52920c(0x506)]())==null?void 0x0:_0x302e41[_0x52920c(0x424)]())!==_0x425af&&await this['_commandService'][_0x52920c(0x3ce)](B['SetWorksheetActivateCommand']['id'],{'unitId':_0x113515[_0x52920c(0x2e0)](),'subUnitId':_0x425af});}async[_0x714a18(0x1b1)](_0x5c33b4){const _0x3ac201=_0x714a18;let _0x1993d5=0x0;const _0x5a43c9=await this['_localCacheService'][_0x3ac201(0x5af)](_0x5c33b4);return _0x5a43c9&&(_0x5a43c9[_0x3ac201(0x4e6)]||_0x5a43c9[_0x3ac201(0x2e1)]['length']!==0x0)&&(_0x1993d5=_0x5a43c9[_0x3ac201(0x396)]),_0x1993d5===0x0&&this[_0x3ac201(0x5be)][_0x3ac201(0x188)](_0x3ac201(0x5e4),_0x3ac201(0x30d)),this[_0x3ac201(0x619)][_0x3ac201(0x435)](_0x5c33b4,_0x1993d5);}async[_0x714a18(0x295)](_0x4a0fc9){const _0xbe82c7=_0x714a18;let _0x57ff2f=0x0;const _0x1536a0=await this[_0xbe82c7(0x4c7)][_0xbe82c7(0x5af)](_0x4a0fc9);return _0x1536a0&&(_0x1536a0[_0xbe82c7(0x4e6)]||_0x1536a0[_0xbe82c7(0x2e1)][_0xbe82c7(0x5a6)]!==0x0)&&(_0x57ff2f=_0x1536a0['rev']),_0x57ff2f===0x0&&this[_0xbe82c7(0x5be)][_0xbe82c7(0x188)](_0xbe82c7(0x5e4),_0xbe82c7(0x30d)),this['_snapshotService'][_0xbe82c7(0x4d7)](_0x4a0fc9,_0x57ff2f);}},exports[_0x714a18(0x4eb)]=Ks([Te(0x0,Dt),Te(0x1,a['ILogService']),Te(0x2,a[_0x714a18(0x1c8)]),Te(0x3,a[_0x714a18(0x5ce)](exports['LocalCacheService'])),Te(0x4,a['Inject'](p[_0x714a18(0x419)])),Te(0x5,a[_0x714a18(0x600)](jn[_0x714a18(0x23f)]))],exports['DataLoaderController']);var qs=Object[_0x714a18(0x1d2)],zs=Object[_0x714a18(0x254)],Xs=(_0x112e6d,_0x4e2b15,_0x3fa449,_0x16953d)=>{for(var _0xaa778d=_0x16953d>0x1?void 0x0:_0x16953d?zs(_0x4e2b15,_0x3fa449):_0x4e2b15,_0x4f1e21=_0x112e6d['length']-0x1,_0x1d146a;_0x4f1e21>=0x0;_0x4f1e21--)(_0x1d146a=_0x112e6d[_0x4f1e21])&&(_0xaa778d=(_0x16953d?_0x1d146a(_0x4e2b15,_0x3fa449,_0xaa778d):_0x1d146a(_0xaa778d))||_0xaa778d);return _0x16953d&&_0xaa778d&&qs(_0x4e2b15,_0x3fa449,_0xaa778d),_0xaa778d;},kt=(_0x3b6cc3,_0x2aad8d)=>(_0x5c1c92,_0x37ecf5)=>_0x2aad8d(_0x5c1c92,_0x37ecf5,_0x3b6cc3);const Js=_0x714a18(0x55b),Zs=_0x714a18(0x53e);let Ve=class extends a['Disposable']{constructor(_0x19616f,_0x4cc034){const _0x351ce9=_0x714a18;super(),this[_0x351ce9(0x4c0)]=_0x19616f,this[_0x351ce9(0x3dc)]=_0x4cc034,this[_0x351ce9(0x26c)]();}['_init'](){const _0x467071=_0x714a18;this[_0x467071(0x580)](this[_0x467071(0x4c0)][_0x467071(0x440)][_0x467071(0x47b)](()=>{const _0x543d3e=_0x467071;var _0x93a4de;const _0xa7e48c=this[_0x543d3e(0x4c0)][_0x543d3e(0x28e)]();let _0x25399c=(_0x93a4de=this[_0x543d3e(0x3dc)]['getConfig'](Js))!=null?_0x93a4de:Zs;_0xa7e48c instanceof a[_0x543d3e(0x572)]&&(_0x25399c=_0xa7e48c[_0x543d3e(0x4e1)]),document[_0x543d3e(0x2b3)]=_0x25399c;}));}};Ve=Xs([kt(0x0,a[_0x714a18(0x617)]),kt(0x1,a[_0x714a18(0x292)])],Ve);var Qs=Object[_0x714a18(0x1d2)],er=Object[_0x714a18(0x254)],tr=(_0x4e2993,_0x34e579,_0xf83ec3,_0x287cc7)=>{const _0x3436bd=_0x714a18;for(var _0x5179a0=_0x287cc7>0x1?void 0x0:_0x287cc7?er(_0x34e579,_0xf83ec3):_0x34e579,_0x5d00a3=_0x4e2993[_0x3436bd(0x5a6)]-0x1,_0x334bb1;_0x5d00a3>=0x0;_0x5d00a3--)(_0x334bb1=_0x4e2993[_0x5d00a3])&&(_0x5179a0=(_0x287cc7?_0x334bb1(_0x34e579,_0xf83ec3,_0x5179a0):_0x334bb1(_0x5179a0))||_0x5179a0);return _0x287cc7&&_0x5179a0&&Qs(_0x34e579,_0xf83ec3,_0x5179a0),_0x5179a0;},at=(_0x567b93,_0x3125b0)=>(_0x3f99ad,_0x1301da)=>_0x3125b0(_0x3f99ad,_0x1301da,_0x567b93);let Ge=class{constructor(_0x1233a1,_0x2a4362,_0x283363){const _0x491eb0=_0x714a18;this[_0x491eb0(0x3dc)]=_0x1233a1,this[_0x491eb0(0x4a7)]=_0x2a4362,this['localeService']=_0x283363,this['init']();}[_0x714a18(0x413)](){const _0x18af42=_0x714a18;this[_0x18af42(0x4a7)][_0x18af42(0x5f9)]({'priority':0x1,'interceptor':(_0x1d9bdf,_0x33c369)=>_0x33c369(_0x1d9bdf)[_0x18af42(0x52c)](A['concatMap'](async _0x2b0557=>{const _0x4bf64e=_0x18af42,_0xbda1e2=_0x2b0557;if(_0xbda1e2[_0x4bf64e(0x269)]===0x191&&window[_0x4bf64e(0x1e8)](this[_0x4bf64e(0x459)]['t'](_0x4bf64e(0x4cc)))){const _0x38bb90=window[_0x4bf64e(0x304)](window[_0x4bf64e(0x1da)][_0x4bf64e(0x4da)]);window[_0x4bf64e(0x1da)]['href']=this[_0x4bf64e(0x27d)]()+'?url='+_0x38bb90;}return _0xbda1e2;}))});}[_0x714a18(0x27d)](){const _0x51b7d7=_0x714a18;var _0x45061e,_0x229d86;const _0xfb1ee6=this[_0x51b7d7(0x3dc)][_0x51b7d7(0x49b)](rn),_0x2127ec=this['_configService']['getConfig'](ee);return(_0x229d86=(_0x45061e=_0x2127ec==null?void 0x0:_0x2127ec[_0x51b7d7(0x2d9)])!=null?_0x45061e:_0xfb1ee6)!=null?_0x229d86:qn;}};Ge=tr([at(0x0,a[_0x714a18(0x292)]),at(0x1,a[_0x714a18(0x5ce)](J[_0x714a18(0x480)])),at(0x2,a[_0x714a18(0x5ce)](a['LocaleService']))],Ge);var nr=Object[_0x714a18(0x1d2)],ir=Object[_0x714a18(0x254)],sr=(_0x945be2,_0x224b73,_0x1c037a,_0x160939)=>{const _0x466c5d=_0x714a18;for(var _0x4b269e=_0x160939>0x1?void 0x0:_0x160939?ir(_0x224b73,_0x1c037a):_0x224b73,_0x3ff1cf=_0x945be2[_0x466c5d(0x5a6)]-0x1,_0x22d64a;_0x3ff1cf>=0x0;_0x3ff1cf--)(_0x22d64a=_0x945be2[_0x3ff1cf])&&(_0x4b269e=(_0x160939?_0x22d64a(_0x224b73,_0x1c037a,_0x4b269e):_0x22d64a(_0x4b269e))||_0x4b269e);return _0x160939&&_0x4b269e&&nr(_0x224b73,_0x1c037a,_0x4b269e),_0x4b269e;},Bt=(_0x39022e,_0x15dfe4)=>(_0x503231,_0x5a5af6)=>_0x15dfe4(_0x503231,_0x5a5af6,_0x39022e);const bn='AUTHZ_URL_KEY',rr=_0x714a18(0x344);exports[_0x714a18(0x358)]=class extends a[_0x714a18(0x5aa)]{constructor(_0x23641e,_0x7bcac){const _0x2b057c=_0x714a18;super(),this[_0x2b057c(0x314)]=_0x23641e,this[_0x2b057c(0x3dc)]=_0x7bcac,this['_initMergeInterceptor']();}[_0x714a18(0x532)](){const _0x396b7e=_0x714a18,_0x7bf555=this;this[_0x396b7e(0x580)](this['_HTTPService'][_0x396b7e(0x5f9)]({'priority':0x3e7,'interceptor':J[_0x396b7e(0x606)]({'isMatch'(_0x4cf9fc){const _0xa601d3=_0x396b7e;var _0x86095e;if(_0x4cf9fc[_0xa601d3(0x3da)]==='POST'&&((_0x86095e=_0x4cf9fc[_0xa601d3(0x17d)])!=null&&_0x86095e[_0xa601d3(0x1ee)])){const {objectID:_0x2bb2d2,objectType:_0x4f2fb0}=_0x4cf9fc[_0xa601d3(0x17d)][_0xa601d3(0x1ee)]||{};if(!_0x2bb2d2||_0x4f2fb0===void 0x0)return!0x1;const _0x314360=_0x7bf555[_0xa601d3(0x54a)]()+'/'+_0x4f2fb0+'/object/'+_0x2bb2d2+_0xa601d3(0x469);if(_0x4cf9fc[_0xa601d3(0x513)]===_0x314360)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a56fd){const _0x23f4c4=_0x396b7e;var _0x1f98ba;return(_0x1f98ba=_0x4a56fd[_0x23f4c4(0x17d)])==null?void 0x0:_0x1f98ba[_0x23f4c4(0x1ee)];},'mergeParamsToRequest'(_0x18ac77,_0x14cd0d){const _0x1d7118=_0x396b7e,_0x40e926=_0x7bf555[_0x1d7118(0x54a)]()+_0x1d7118(0x19d),_0x4cf453=_0x18ac77[_0x1d7118(0x4b2)]((_0x3bcc42,_0x2f0b49)=>{const _0x563132=_0x1d7118,{unitID:_0xa323ee,objectID:_0x312182,objectType:_0x356c2c,actions:_0x5aa96c}=_0x2f0b49;return _0x3bcc42[_0xa323ee]||(_0x3bcc42[_0xa323ee]={}),_0x3bcc42[_0xa323ee][_0x312182]||(_0x3bcc42[_0xa323ee][_0x312182]={'objectID':_0x312182,'objectType':_0x356c2c,'actions':[]}),_0x3bcc42[_0xa323ee][_0x312182][_0x563132(0x431)][_0x563132(0x5a9)](..._0x5aa96c),_0x3bcc42;},{}),_0x55c016=[];for(const _0x18cadd in _0x4cf453)for(const _0xd7c02a in _0x4cf453[_0x18cadd]){const {actions:_0x1885be,objectType:_0x36b5bb}=_0x4cf453[_0x18cadd][_0xd7c02a],_0xd2288c=[...new Set(_0x1885be)];_0x55c016['push']({'unitID':_0x18cadd,'objectID':_0xd7c02a,'objectType':_0x36b5bb,'actions':_0xd2288c});}return new J['HTTPRequest'](_0x1d7118(0x27e),_0x40e926,{'headers':_0x14cd0d[_0x1d7118(0x1c6)],'withCredentials':_0x14cd0d['withCredentials'],'responseType':_0x14cd0d[_0x1d7118(0x346)],'body':{'requests':_0x55c016}});}},{'distributeResult'(_0xac283,_0x42b0b6){const _0x266b63=_0x396b7e,{objectActions:_0x32ad32}=_0xac283;return _0x42b0b6[_0x266b63(0x556)](_0x3aea58=>{const _0x5c2669=_0x266b63,{unitID:_0x944eca,objectID:_0x200c26,actions:_0x112395}=_0x3aea58,_0x2d8243=_0x32ad32['find'](_0x2cc1b4=>_0x2cc1b4[_0x5c2669(0x576)]===_0x944eca&&_0x2cc1b4['objectID']===_0x200c26),_0x34fd22=_0x112395['map'](_0xb7bf64=>_0x2d8243==null?void 0x0:_0x2d8243[_0x5c2669(0x431)][_0x5c2669(0x47e)](_0x6c6550=>_0x6c6550['action']===_0xb7bf64))[_0x5c2669(0x630)](_0x3a84b4=>!!_0x3a84b4);return{'config':_0x3aea58,'result':{'actions':_0x34fd22,'error':_0xac283['error']}};});}})}));}[_0x714a18(0x54a)](){const _0x30a915=_0x714a18;var _0x33da44,_0x1ea0f6;const _0x1e974d=this[_0x30a915(0x3dc)][_0x30a915(0x49b)](bn),_0x13c851=this[_0x30a915(0x3dc)][_0x30a915(0x49b)](ee);return(_0x1ea0f6=(_0x33da44=_0x13c851==null?void 0x0:_0x13c851[_0x30a915(0x578)])!=null?_0x33da44:_0x1e974d)!=null?_0x1ea0f6:rr;}async[_0x714a18(0x2cf)](_0x5cac1b){const _0x4c85d2=_0x714a18,_0x2e7ff6=this[_0x4c85d2(0x54a)]()+'/'+_0x5cac1b[_0x4c85d2(0x4f2)]+_0x4c85d2(0x1b9);return(await this[_0x4c85d2(0x314)][_0x4c85d2(0x564)](_0x2e7ff6,{'body':_0x5cac1b}))[_0x4c85d2(0x1ee)]['objectID']||'';}async['list'](_0x4423da){const _0x4d78a0=_0x714a18,_0xb70370=this[_0x4d78a0(0x54a)]()+_0x4d78a0(0x46b);return(await this[_0x4d78a0(0x314)][_0x4d78a0(0x564)](_0xb70370,{'body':_0x4423da}))[_0x4d78a0(0x1ee)][_0x4d78a0(0x1a8)];}async[_0x714a18(0x352)](_0x3b2c3e){const _0x481eea=_0x714a18,_0x115c60=this['_getAPIPrefixPath']()+'/'+_0x3b2c3e['objectType']+'/object/'+_0x3b2c3e[_0x481eea(0x1c3)];await this['_HTTPService'][_0x481eea(0x308)](_0x115c60,{'body':_0x3b2c3e});}async[_0x714a18(0x30c)](_0x50e5eb){const _0x1c1273=_0x714a18,_0x2b3c59=this['_getAPIPrefixPath']()+'/'+_0x50e5eb['objectType']+'/object/'+_0x50e5eb[_0x1c1273(0x1c3)]+'/allowed';return(await this[_0x1c1273(0x314)][_0x1c1273(0x564)](_0x2b3c59,{'body':_0x50e5eb}))[_0x1c1273(0x1ee)][_0x1c1273(0x431)];}async['batchAllowed'](_0x42bdd5){const _0x4c900b=_0x714a18,_0x5dece5=this[_0x4c900b(0x54a)]()+'/-/object/-/batch_allowed';return(await this[_0x4c900b(0x314)][_0x4c900b(0x564)](_0x5dece5,{'body':{'requests':_0x42bdd5}}))[_0x4c900b(0x1ee)][_0x4c900b(0x4bb)];}async[_0x714a18(0x2e8)](_0x2a0369){const _0x3f0011=_0x714a18,_0x1764ab=this[_0x3f0011(0x54a)]()+'/'+_0x2a0369['objectType']+_0x3f0011(0x44f),_0x21bc15=await this[_0x3f0011(0x314)][_0x3f0011(0x564)](_0x1764ab,{'body':_0x2a0369});return{'roles':_0x21bc15[_0x3f0011(0x1ee)][_0x3f0011(0x4fa)],'actions':_0x21bc15[_0x3f0011(0x1ee)][_0x3f0011(0x431)]};}async['deleteCollaborator'](_0x40982f){const _0x14fbcd=_0x714a18,_0x26aac8=this[_0x14fbcd(0x54a)]()+_0x14fbcd(0x637);await this[_0x14fbcd(0x314)][_0x14fbcd(0x57c)](_0x26aac8,{'params':{'collaboratorID':_0x40982f['collaboratorID'],'objectID':_0x40982f[_0x14fbcd(0x1c3)],'unitID':_0x40982f[_0x14fbcd(0x576)]}});}async['updateCollaborator'](_0x3827c8){const _0x37362e=_0x714a18,_0x515080=this[_0x37362e(0x54a)]()+'/collaborator';await this[_0x37362e(0x314)]['patch'](_0x515080,{'body':_0x3827c8});}async[_0x714a18(0x34a)](_0x3c051c){const _0x36ec03=_0x714a18,_0x1f9bdb=this[_0x36ec03(0x54a)]()+_0x36ec03(0x637);await this[_0x36ec03(0x314)][_0x36ec03(0x564)](_0x1f9bdb,{'body':_0x3c051c});}async[_0x714a18(0x19a)](_0x2e7347){const _0x248591=_0x714a18,_0x1b71e7=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService']['get'](_0x1b71e7,{'params':{'objectID':_0x2e7347['objectID'],'unitID':_0x2e7347['unitID']}}))[_0x248591(0x1ee)]['collaborators'];}async[_0x714a18(0x60e)](_0x1f57c5){const _0x262fd2=_0x714a18,_0x1a2c4b=this[_0x262fd2(0x54a)]()+_0x262fd2(0x637);await this[_0x262fd2(0x314)][_0x262fd2(0x308)](_0x1a2c4b,{'body':_0x1f57c5});}},exports['AuthzIoHttpService']=sr([Bt(0x0,a[_0x714a18(0x5ce)](J[_0x714a18(0x480)])),Bt(0x1,a[_0x714a18(0x5ce)](a[_0x714a18(0x292)]))],exports[_0x714a18(0x358)]);var Tn={'exports':{}};function or(_0x5588c7){const _0xa45f74=_0x714a18;throw new Error(_0xa45f74(0x526)+_0x5588c7+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ct={'exports':{}},Wt;function oe(){const _0x358534=_0x714a18;return Wt||(Wt=0x1,function(_0x3b9154,_0x5f3749){(function(_0x23b997,_0x18f554){const _0x3f687f=_0x420c;_0x3b9154[_0x3f687f(0x557)]=_0x18f554();}(X,function(){var _0x5303ab=_0x5303ab||function(_0xf0cd7,_0x5514f6){const _0x499377=_0x420c;var _0x183bb4;if(typeof window<'u'&&window['crypto']&&(_0x183bb4=window['crypto']),typeof self<'u'&&self[_0x499377(0x312)]&&(_0x183bb4=self[_0x499377(0x312)]),typeof globalThis<'u'&&globalThis[_0x499377(0x312)]&&(_0x183bb4=globalThis['crypto']),!_0x183bb4&&typeof window<'u'&&window[_0x499377(0x3e2)]&&(_0x183bb4=window['msCrypto']),!_0x183bb4&&typeof X<'u'&&X['crypto']&&(_0x183bb4=X['crypto']),!_0x183bb4&&typeof or=='function')try{_0x183bb4=require(_0x499377(0x312));}catch{}var _0x1df190=function(){const _0x842420=_0x499377;if(_0x183bb4){if(typeof _0x183bb4['getRandomValues']==_0x842420(0x20f))try{return _0x183bb4[_0x842420(0x45b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x183bb4[_0x842420(0x3a5)]==_0x842420(0x20f))try{return _0x183bb4[_0x842420(0x3a5)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x33bdb9=Object[_0x499377(0x2cf)]||(function(){function _0x338464(){}return function(_0x40e91d){const _0x3c4131=_0x420c;var _0x377048;return _0x338464[_0x3c4131(0x2c5)]=_0x40e91d,_0x377048=new _0x338464(),_0x338464[_0x3c4131(0x2c5)]=null,_0x377048;};}()),_0x322b57={},_0x34bd9b=_0x322b57[_0x499377(0x2ee)]={},_0x39bbdf=_0x34bd9b[_0x499377(0x273)]=(function(){return{'extend':function(_0x41b709){const _0xe559b0=_0x420c;var _0x392004=_0x33bdb9(this);return _0x41b709&&_0x392004[_0xe559b0(0x244)](_0x41b709),(!_0x392004[_0xe559b0(0x407)](_0xe559b0(0x413))||this[_0xe559b0(0x413)]===_0x392004[_0xe559b0(0x413)])&&(_0x392004[_0xe559b0(0x413)]=function(){const _0x285d1f=_0xe559b0;_0x392004['$super'][_0x285d1f(0x413)][_0x285d1f(0x275)](this,arguments);}),_0x392004[_0xe559b0(0x413)][_0xe559b0(0x2c5)]=_0x392004,_0x392004[_0xe559b0(0x453)]=this,_0x392004;},'create':function(){const _0xa8bd59=_0x420c;var _0x37d642=this[_0xa8bd59(0x60d)]();return _0x37d642[_0xa8bd59(0x413)][_0xa8bd59(0x275)](_0x37d642,arguments),_0x37d642;},'init':function(){},'mixIn':function(_0x3c9505){const _0x2fe8db=_0x420c;for(var _0x519299 in _0x3c9505)_0x3c9505[_0x2fe8db(0x407)](_0x519299)&&(this[_0x519299]=_0x3c9505[_0x519299]);_0x3c9505['hasOwnProperty'](_0x2fe8db(0x5b9))&&(this[_0x2fe8db(0x5b9)]=_0x3c9505[_0x2fe8db(0x5b9)]);},'clone':function(){const _0x18947d=_0x420c;return this[_0x18947d(0x413)]['prototype']['extend'](this);}};}()),_0x17491a=_0x34bd9b[_0x499377(0x17a)]=_0x39bbdf[_0x499377(0x60d)]({'init':function(_0x1f5404,_0xe2294e){const _0x530c31=_0x499377;_0x1f5404=this[_0x530c31(0x36c)]=_0x1f5404||[],_0xe2294e!=_0x5514f6?this[_0x530c31(0x3d6)]=_0xe2294e:this['sigBytes']=_0x1f5404[_0x530c31(0x5a6)]*0x4;},'toString':function(_0x86747a){const _0x4d73b4=_0x499377;return(_0x86747a||_0x146fca)[_0x4d73b4(0x570)](this);},'concat':function(_0x29199e){const _0x1aebcd=_0x499377;var _0x38debe=this['words'],_0xf09875=_0x29199e[_0x1aebcd(0x36c)],_0x281f91=this[_0x1aebcd(0x3d6)],_0x5de66d=_0x29199e['sigBytes'];if(this[_0x1aebcd(0x478)](),_0x281f91%0x4)for(var _0x5bbea2=0x0;_0x5bbea2<_0x5de66d;_0x5bbea2++){var _0x236c0c=_0xf09875[_0x5bbea2>>>0x2]>>>0x18-_0x5bbea2%0x4*0x8&0xff;_0x38debe[_0x281f91+_0x5bbea2>>>0x2]|=_0x236c0c<<0x18-(_0x281f91+_0x5bbea2)%0x4*0x8;}else{for(var _0x17471f=0x0;_0x17471f<_0x5de66d;_0x17471f+=0x4)_0x38debe[_0x281f91+_0x17471f>>>0x2]=_0xf09875[_0x17471f>>>0x2];}return this[_0x1aebcd(0x3d6)]+=_0x5de66d,this;},'clamp':function(){const _0x25a92f=_0x499377;var _0x117425=this['words'],_0x56d80b=this[_0x25a92f(0x3d6)];_0x117425[_0x56d80b>>>0x2]&=0xffffffff<<0x20-_0x56d80b%0x4*0x8,_0x117425[_0x25a92f(0x5a6)]=_0xf0cd7[_0x25a92f(0x45e)](_0x56d80b/0x4);},'clone':function(){const _0x9d55a4=_0x499377;var _0x40e743=_0x39bbdf['clone'][_0x9d55a4(0x593)](this);return _0x40e743[_0x9d55a4(0x36c)]=this['words'][_0x9d55a4(0x2dc)](0x0),_0x40e743;},'random':function(_0x577802){const _0x31e596=_0x499377;for(var _0x3b7c6a=[],_0x57f454=0x0;_0x57f454<_0x577802;_0x57f454+=0x4)_0x3b7c6a[_0x31e596(0x5a9)](_0x1df190());return new _0x17491a['init'](_0x3b7c6a,_0x577802);}}),_0x41cdf4=_0x322b57['enc']={},_0x146fca=_0x41cdf4[_0x499377(0x260)]={'stringify':function(_0x59b0d7){const _0x5a6170=_0x499377;for(var _0x5897dc=_0x59b0d7[_0x5a6170(0x36c)],_0x25c1c4=_0x59b0d7['sigBytes'],_0x4253f8=[],_0x5536ee=0x0;_0x5536ee<_0x25c1c4;_0x5536ee++){var _0x1433fa=_0x5897dc[_0x5536ee>>>0x2]>>>0x18-_0x5536ee%0x4*0x8&0xff;_0x4253f8[_0x5a6170(0x5a9)]((_0x1433fa>>>0x4)[_0x5a6170(0x5b9)](0x10)),_0x4253f8['push']((_0x1433fa&0xf)[_0x5a6170(0x5b9)](0x10));}return _0x4253f8[_0x5a6170(0x4db)]('');},'parse':function(_0x4670bc){const _0x151827=_0x499377;for(var _0x285d28=_0x4670bc[_0x151827(0x5a6)],_0x4979a6=[],_0x45513a=0x0;_0x45513a<_0x285d28;_0x45513a+=0x2)_0x4979a6[_0x45513a>>>0x3]|=parseInt(_0x4670bc[_0x151827(0x240)](_0x45513a,0x2),0x10)<<0x18-_0x45513a%0x8*0x4;return new _0x17491a['init'](_0x4979a6,_0x285d28/0x2);}},_0x3e9448=_0x41cdf4[_0x499377(0x56d)]={'stringify':function(_0x509d53){const _0x51e388=_0x499377;for(var _0x32ef07=_0x509d53[_0x51e388(0x36c)],_0x2a5c79=_0x509d53[_0x51e388(0x3d6)],_0x3f3eb0=[],_0x44e452=0x0;_0x44e452<_0x2a5c79;_0x44e452++){var _0x115522=_0x32ef07[_0x44e452>>>0x2]>>>0x18-_0x44e452%0x4*0x8&0xff;_0x3f3eb0['push'](String[_0x51e388(0x4d4)](_0x115522));}return _0x3f3eb0[_0x51e388(0x4db)]('');},'parse':function(_0x3de5b2){const _0x2a17d3=_0x499377;for(var _0x3568c9=_0x3de5b2[_0x2a17d3(0x5a6)],_0x26245c=[],_0x1ff875=0x0;_0x1ff875<_0x3568c9;_0x1ff875++)_0x26245c[_0x1ff875>>>0x2]|=(_0x3de5b2[_0x2a17d3(0x357)](_0x1ff875)&0xff)<<0x18-_0x1ff875%0x4*0x8;return new _0x17491a[(_0x2a17d3(0x413))](_0x26245c,_0x3568c9);}},_0x8751fc=_0x41cdf4[_0x499377(0x4c8)]={'stringify':function(_0x1ab23e){const _0x39fbc0=_0x499377;try{return decodeURIComponent(escape(_0x3e9448[_0x39fbc0(0x570)](_0x1ab23e)));}catch{throw new Error(_0x39fbc0(0x437));}},'parse':function(_0x3a3a82){const _0x333e35=_0x499377;return _0x3e9448[_0x333e35(0x55a)](unescape(encodeURIComponent(_0x3a3a82)));}},_0xdba15b=_0x34bd9b[_0x499377(0x1c7)]=_0x39bbdf['extend']({'reset':function(){this['_data']=new _0x17491a['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x14766b){const _0x3e5e8a=_0x499377;typeof _0x14766b=='string'&&(_0x14766b=_0x8751fc[_0x3e5e8a(0x55a)](_0x14766b)),this[_0x3e5e8a(0x4a6)][_0x3e5e8a(0x345)](_0x14766b),this[_0x3e5e8a(0x32b)]+=_0x14766b[_0x3e5e8a(0x3d6)];},'_process':function(_0x2ec18d){const _0x36a550=_0x499377;var _0x37bd1c,_0x3ba1da=this[_0x36a550(0x4a6)],_0xd5c200=_0x3ba1da[_0x36a550(0x36c)],_0x4fe50d=_0x3ba1da[_0x36a550(0x3d6)],_0x5db4e7=this['blockSize'],_0x467870=_0x5db4e7*0x4,_0x43658d=_0x4fe50d/_0x467870;_0x2ec18d?_0x43658d=_0xf0cd7['ceil'](_0x43658d):_0x43658d=_0xf0cd7[_0x36a550(0x208)]((_0x43658d|0x0)-this[_0x36a550(0x29a)],0x0);var _0x54f48e=_0x43658d*_0x5db4e7,_0x2c123a=_0xf0cd7['min'](_0x54f48e*0x4,_0x4fe50d);if(_0x54f48e){for(var _0x5f2866=0x0;_0x5f2866<_0x54f48e;_0x5f2866+=_0x5db4e7)this['_doProcessBlock'](_0xd5c200,_0x5f2866);_0x37bd1c=_0xd5c200[_0x36a550(0x2c7)](0x0,_0x54f48e),_0x3ba1da[_0x36a550(0x3d6)]-=_0x2c123a;}return new _0x17491a['init'](_0x37bd1c,_0x2c123a);},'clone':function(){const _0x1fb4a9=_0x499377;var _0x37d48c=_0x39bbdf[_0x1fb4a9(0x2f4)][_0x1fb4a9(0x593)](this);return _0x37d48c[_0x1fb4a9(0x4a6)]=this[_0x1fb4a9(0x4a6)][_0x1fb4a9(0x2f4)](),_0x37d48c;},'_minBufferSize':0x0});_0x34bd9b[_0x499377(0x5d4)]=_0xdba15b[_0x499377(0x60d)]({'cfg':_0x39bbdf[_0x499377(0x60d)](),'init':function(_0x2a1a21){const _0xffeace=_0x499377;this['cfg']=this[_0xffeace(0x566)][_0xffeace(0x60d)](_0x2a1a21),this[_0xffeace(0x1fa)]();},'reset':function(){const _0x2d9d7c=_0x499377;_0xdba15b[_0x2d9d7c(0x1fa)]['call'](this),this[_0x2d9d7c(0x3b6)]();},'update':function(_0x9904e0){const _0x454f8a=_0x499377;return this[_0x454f8a(0x30b)](_0x9904e0),this[_0x454f8a(0x56f)](),this;},'finalize':function(_0x1a7deb){const _0x5b64af=_0x499377;_0x1a7deb&&this[_0x5b64af(0x30b)](_0x1a7deb);var _0x275b7b=this['_doFinalize']();return _0x275b7b;},'blockSize':0x10,'_createHelper':function(_0x5208d){return function(_0x1e589a,_0x21f3b8){const _0x40f377=_0x420c;return new _0x5208d['init'](_0x21f3b8)[_0x40f377(0x611)](_0x1e589a);};},'_createHmacHelper':function(_0x12aa99){return function(_0x506194,_0x11d040){const _0x22921a=_0x420c;return new _0xaadf01[(_0x22921a(0x49a))][(_0x22921a(0x413))](_0x12aa99,_0x11d040)[_0x22921a(0x611)](_0x506194);};}});var _0xaadf01=_0x322b57[_0x499377(0x551)]={};return _0x322b57;}(Math);return _0x5303ab;}));}(ct)),ct[_0x358534(0x557)];}var Rn={'exports':{}};(function(_0x5927b3,_0x284938){(function(_0x207905,_0x5ca868){const _0x14867f=_0x420c;_0x5927b3[_0x14867f(0x557)]=_0x5ca868(oe());}(X,function(_0x5589b7){const _0x22b5a9=_0x420c;return(function(){const _0x2b8ca4=_0x420c;var _0x24c03c=_0x5589b7,_0x3d7dee=_0x24c03c[_0x2b8ca4(0x2ee)],_0x44dd55=_0x3d7dee['WordArray'],_0x2591c1=_0x24c03c['enc'];_0x2591c1['Base64']={'stringify':function(_0x451cf9){const _0x3c1206=_0x2b8ca4;var _0x151036=_0x451cf9[_0x3c1206(0x36c)],_0x78fa05=_0x451cf9['sigBytes'],_0x1087e7=this['_map'];_0x451cf9[_0x3c1206(0x478)]();for(var _0x4a5096=[],_0x5e9b25=0x0;_0x5e9b25<_0x78fa05;_0x5e9b25+=0x3)for(var _0x42d354=_0x151036[_0x5e9b25>>>0x2]>>>0x18-_0x5e9b25%0x4*0x8&0xff,_0x5d53dd=_0x151036[_0x5e9b25+0x1>>>0x2]>>>0x18-(_0x5e9b25+0x1)%0x4*0x8&0xff,_0x156bee=_0x151036[_0x5e9b25+0x2>>>0x2]>>>0x18-(_0x5e9b25+0x2)%0x4*0x8&0xff,_0x450f81=_0x42d354<<0x10|_0x5d53dd<<0x8|_0x156bee,_0x266c4a=0x0;_0x266c4a<0x4&&_0x5e9b25+_0x266c4a*0.75<_0x78fa05;_0x266c4a++)_0x4a5096[_0x3c1206(0x5a9)](_0x1087e7[_0x3c1206(0x5c8)](_0x450f81>>>0x6*(0x3-_0x266c4a)&0x3f));var _0x294fbf=_0x1087e7[_0x3c1206(0x5c8)](0x40);if(_0x294fbf){for(;_0x4a5096[_0x3c1206(0x5a6)]%0x4;)_0x4a5096['push'](_0x294fbf);}return _0x4a5096[_0x3c1206(0x4db)]('');},'parse':function(_0x29f0cb){const _0x5b6c4f=_0x2b8ca4;var _0x2d4da5=_0x29f0cb[_0x5b6c4f(0x5a6)],_0x374185=this[_0x5b6c4f(0x2a4)],_0x4ad789=this['_reverseMap'];if(!_0x4ad789){_0x4ad789=this[_0x5b6c4f(0x426)]=[];for(var _0x4fe0f3=0x0;_0x4fe0f3<_0x374185[_0x5b6c4f(0x5a6)];_0x4fe0f3++)_0x4ad789[_0x374185[_0x5b6c4f(0x357)](_0x4fe0f3)]=_0x4fe0f3;}var _0x61066f=_0x374185[_0x5b6c4f(0x5c8)](0x40);if(_0x61066f){var _0x522fde=_0x29f0cb[_0x5b6c4f(0x30e)](_0x61066f);_0x522fde!==-0x1&&(_0x2d4da5=_0x522fde);}return _0x1d5000(_0x29f0cb,_0x2d4da5,_0x4ad789);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1d5000(_0x11fe78,_0x5d761b,_0x1a5328){const _0x399200=_0x2b8ca4;for(var _0x27bb19=[],_0x39ef25=0x0,_0x4c3a3b=0x0;_0x4c3a3b<_0x5d761b;_0x4c3a3b++)if(_0x4c3a3b%0x4){var _0x54425c=_0x1a5328[_0x11fe78[_0x399200(0x357)](_0x4c3a3b-0x1)]<<_0x4c3a3b%0x4*0x2,_0x4f0720=_0x1a5328[_0x11fe78[_0x399200(0x357)](_0x4c3a3b)]>>>0x6-_0x4c3a3b%0x4*0x2,_0x5aa012=_0x54425c|_0x4f0720;_0x27bb19[_0x39ef25>>>0x2]|=_0x5aa012<<0x18-_0x39ef25%0x4*0x8,_0x39ef25++;}return _0x44dd55['create'](_0x27bb19,_0x39ef25);}}()),_0x5589b7[_0x22b5a9(0x49e)][_0x22b5a9(0x504)];}));}(Rn));var yn=Rn['exports'];const Ft=xe(yn);var lt={'exports':{}},Vt;function ar(){const _0x5da20d=_0x714a18;return Vt||(Vt=0x1,function(_0x2a494d,_0x4f30ee){(function(_0x393933,_0xe90c84){const _0x436af8=_0x420c;_0x2a494d[_0x436af8(0x557)]=_0xe90c84(oe());}(X,function(_0x2ae822){const _0x2f4ff3=_0x420c;return function(_0x31c507){const _0x44e536=_0x420c;var _0x56111c=_0x2ae822,_0xde5e71=_0x56111c[_0x44e536(0x2ee)],_0x4ef01a=_0xde5e71[_0x44e536(0x17a)],_0x2733aa=_0xde5e71[_0x44e536(0x5d4)],_0x53f433=_0x56111c['algo'],_0x3b4077=[];(function(){const _0x38ab37=_0x44e536;for(var _0x2225a5=0x0;_0x2225a5<0x40;_0x2225a5++)_0x3b4077[_0x2225a5]=_0x31c507[_0x38ab37(0x2cd)](_0x31c507['sin'](_0x2225a5+0x1))*0x100000000|0x0;}());var _0x20c6f6=_0x53f433[_0x44e536(0x43d)]=_0x2733aa[_0x44e536(0x60d)]({'_doReset':function(){const _0x3d96e6=_0x44e536;this['_hash']=new _0x4ef01a[(_0x3d96e6(0x413))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x245633,_0x2271a5){const _0x36b79d=_0x44e536;for(var _0x6a1df2=0x0;_0x6a1df2<0x10;_0x6a1df2++){var _0xc6f3a2=_0x2271a5+_0x6a1df2,_0x563eb1=_0x245633[_0xc6f3a2];_0x245633[_0xc6f3a2]=(_0x563eb1<<0x8|_0x563eb1>>>0x18)&0xff00ff|(_0x563eb1<<0x18|_0x563eb1>>>0x8)&0xff00ff00;}var _0x4c3df4=this[_0x36b79d(0x563)][_0x36b79d(0x36c)],_0x428fec=_0x245633[_0x2271a5+0x0],_0x237f84=_0x245633[_0x2271a5+0x1],_0x50d105=_0x245633[_0x2271a5+0x2],_0x1a2367=_0x245633[_0x2271a5+0x3],_0x4d2966=_0x245633[_0x2271a5+0x4],_0x4c3ced=_0x245633[_0x2271a5+0x5],_0x527ea2=_0x245633[_0x2271a5+0x6],_0x237df2=_0x245633[_0x2271a5+0x7],_0x21508a=_0x245633[_0x2271a5+0x8],_0x3f61dd=_0x245633[_0x2271a5+0x9],_0xe59b3c=_0x245633[_0x2271a5+0xa],_0x40a7f1=_0x245633[_0x2271a5+0xb],_0x4cca63=_0x245633[_0x2271a5+0xc],_0x4f6732=_0x245633[_0x2271a5+0xd],_0x3e77a2=_0x245633[_0x2271a5+0xe],_0x133c75=_0x245633[_0x2271a5+0xf],_0x106299=_0x4c3df4[0x0],_0x5ccb13=_0x4c3df4[0x1],_0x1eb58f=_0x4c3df4[0x2],_0x397f5b=_0x4c3df4[0x3];_0x106299=_0x12e9d0(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x428fec,0x7,_0x3b4077[0x0]),_0x397f5b=_0x12e9d0(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x237f84,0xc,_0x3b4077[0x1]),_0x1eb58f=_0x12e9d0(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x50d105,0x11,_0x3b4077[0x2]),_0x5ccb13=_0x12e9d0(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x1a2367,0x16,_0x3b4077[0x3]),_0x106299=_0x12e9d0(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4d2966,0x7,_0x3b4077[0x4]),_0x397f5b=_0x12e9d0(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x4c3ced,0xc,_0x3b4077[0x5]),_0x1eb58f=_0x12e9d0(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x527ea2,0x11,_0x3b4077[0x6]),_0x5ccb13=_0x12e9d0(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x237df2,0x16,_0x3b4077[0x7]),_0x106299=_0x12e9d0(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x21508a,0x7,_0x3b4077[0x8]),_0x397f5b=_0x12e9d0(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x3f61dd,0xc,_0x3b4077[0x9]),_0x1eb58f=_0x12e9d0(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0xe59b3c,0x11,_0x3b4077[0xa]),_0x5ccb13=_0x12e9d0(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x40a7f1,0x16,_0x3b4077[0xb]),_0x106299=_0x12e9d0(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4cca63,0x7,_0x3b4077[0xc]),_0x397f5b=_0x12e9d0(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x4f6732,0xc,_0x3b4077[0xd]),_0x1eb58f=_0x12e9d0(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x3e77a2,0x11,_0x3b4077[0xe]),_0x5ccb13=_0x12e9d0(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x133c75,0x16,_0x3b4077[0xf]),_0x106299=_0x241d49(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x237f84,0x5,_0x3b4077[0x10]),_0x397f5b=_0x241d49(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x527ea2,0x9,_0x3b4077[0x11]),_0x1eb58f=_0x241d49(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x40a7f1,0xe,_0x3b4077[0x12]),_0x5ccb13=_0x241d49(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x428fec,0x14,_0x3b4077[0x13]),_0x106299=_0x241d49(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4c3ced,0x5,_0x3b4077[0x14]),_0x397f5b=_0x241d49(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0xe59b3c,0x9,_0x3b4077[0x15]),_0x1eb58f=_0x241d49(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x133c75,0xe,_0x3b4077[0x16]),_0x5ccb13=_0x241d49(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x4d2966,0x14,_0x3b4077[0x17]),_0x106299=_0x241d49(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x3f61dd,0x5,_0x3b4077[0x18]),_0x397f5b=_0x241d49(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x3e77a2,0x9,_0x3b4077[0x19]),_0x1eb58f=_0x241d49(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x1a2367,0xe,_0x3b4077[0x1a]),_0x5ccb13=_0x241d49(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x21508a,0x14,_0x3b4077[0x1b]),_0x106299=_0x241d49(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4f6732,0x5,_0x3b4077[0x1c]),_0x397f5b=_0x241d49(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x50d105,0x9,_0x3b4077[0x1d]),_0x1eb58f=_0x241d49(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x237df2,0xe,_0x3b4077[0x1e]),_0x5ccb13=_0x241d49(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x4cca63,0x14,_0x3b4077[0x1f]),_0x106299=_0x2e4fc4(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4c3ced,0x4,_0x3b4077[0x20]),_0x397f5b=_0x2e4fc4(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x21508a,0xb,_0x3b4077[0x21]),_0x1eb58f=_0x2e4fc4(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x40a7f1,0x10,_0x3b4077[0x22]),_0x5ccb13=_0x2e4fc4(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x3e77a2,0x17,_0x3b4077[0x23]),_0x106299=_0x2e4fc4(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x237f84,0x4,_0x3b4077[0x24]),_0x397f5b=_0x2e4fc4(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x4d2966,0xb,_0x3b4077[0x25]),_0x1eb58f=_0x2e4fc4(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x237df2,0x10,_0x3b4077[0x26]),_0x5ccb13=_0x2e4fc4(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0xe59b3c,0x17,_0x3b4077[0x27]),_0x106299=_0x2e4fc4(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4f6732,0x4,_0x3b4077[0x28]),_0x397f5b=_0x2e4fc4(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x428fec,0xb,_0x3b4077[0x29]),_0x1eb58f=_0x2e4fc4(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x1a2367,0x10,_0x3b4077[0x2a]),_0x5ccb13=_0x2e4fc4(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x527ea2,0x17,_0x3b4077[0x2b]),_0x106299=_0x2e4fc4(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x3f61dd,0x4,_0x3b4077[0x2c]),_0x397f5b=_0x2e4fc4(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x4cca63,0xb,_0x3b4077[0x2d]),_0x1eb58f=_0x2e4fc4(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x133c75,0x10,_0x3b4077[0x2e]),_0x5ccb13=_0x2e4fc4(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x50d105,0x17,_0x3b4077[0x2f]),_0x106299=_0x1a0508(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x428fec,0x6,_0x3b4077[0x30]),_0x397f5b=_0x1a0508(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x237df2,0xa,_0x3b4077[0x31]),_0x1eb58f=_0x1a0508(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x3e77a2,0xf,_0x3b4077[0x32]),_0x5ccb13=_0x1a0508(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x4c3ced,0x15,_0x3b4077[0x33]),_0x106299=_0x1a0508(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4cca63,0x6,_0x3b4077[0x34]),_0x397f5b=_0x1a0508(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x1a2367,0xa,_0x3b4077[0x35]),_0x1eb58f=_0x1a0508(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0xe59b3c,0xf,_0x3b4077[0x36]),_0x5ccb13=_0x1a0508(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x237f84,0x15,_0x3b4077[0x37]),_0x106299=_0x1a0508(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x21508a,0x6,_0x3b4077[0x38]),_0x397f5b=_0x1a0508(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x133c75,0xa,_0x3b4077[0x39]),_0x1eb58f=_0x1a0508(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x527ea2,0xf,_0x3b4077[0x3a]),_0x5ccb13=_0x1a0508(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x4f6732,0x15,_0x3b4077[0x3b]),_0x106299=_0x1a0508(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4d2966,0x6,_0x3b4077[0x3c]),_0x397f5b=_0x1a0508(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x40a7f1,0xa,_0x3b4077[0x3d]),_0x1eb58f=_0x1a0508(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x50d105,0xf,_0x3b4077[0x3e]),_0x5ccb13=_0x1a0508(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x3f61dd,0x15,_0x3b4077[0x3f]),_0x4c3df4[0x0]=_0x4c3df4[0x0]+_0x106299|0x0,_0x4c3df4[0x1]=_0x4c3df4[0x1]+_0x5ccb13|0x0,_0x4c3df4[0x2]=_0x4c3df4[0x2]+_0x1eb58f|0x0,_0x4c3df4[0x3]=_0x4c3df4[0x3]+_0x397f5b|0x0;},'_doFinalize':function(){const _0x3d3516=_0x44e536;var _0x598e30=this[_0x3d3516(0x4a6)],_0x1bd478=_0x598e30[_0x3d3516(0x36c)],_0x1824bc=this[_0x3d3516(0x32b)]*0x8,_0x14b32a=_0x598e30[_0x3d3516(0x3d6)]*0x8;_0x1bd478[_0x14b32a>>>0x5]|=0x80<<0x18-_0x14b32a%0x20;var _0x31d570=_0x31c507[_0x3d3516(0x328)](_0x1824bc/0x100000000),_0x56bc76=_0x1824bc;_0x1bd478[(_0x14b32a+0x40>>>0x9<<0x4)+0xf]=(_0x31d570<<0x8|_0x31d570>>>0x18)&0xff00ff|(_0x31d570<<0x18|_0x31d570>>>0x8)&0xff00ff00,_0x1bd478[(_0x14b32a+0x40>>>0x9<<0x4)+0xe]=(_0x56bc76<<0x8|_0x56bc76>>>0x18)&0xff00ff|(_0x56bc76<<0x18|_0x56bc76>>>0x8)&0xff00ff00,_0x598e30[_0x3d3516(0x3d6)]=(_0x1bd478[_0x3d3516(0x5a6)]+0x1)*0x4,this['_process']();for(var _0x46dc10=this[_0x3d3516(0x563)],_0x485900=_0x46dc10[_0x3d3516(0x36c)],_0x56b780=0x0;_0x56b780<0x4;_0x56b780++){var _0x3671b5=_0x485900[_0x56b780];_0x485900[_0x56b780]=(_0x3671b5<<0x8|_0x3671b5>>>0x18)&0xff00ff|(_0x3671b5<<0x18|_0x3671b5>>>0x8)&0xff00ff00;}return _0x46dc10;},'clone':function(){const _0x351561=_0x44e536;var _0x356662=_0x2733aa['clone']['call'](this);return _0x356662[_0x351561(0x563)]=this[_0x351561(0x563)][_0x351561(0x2f4)](),_0x356662;}});function _0x12e9d0(_0x1e0ec2,_0xd12285,_0x1c17b3,_0x2b0e1b,_0x360dd8,_0x4f710d,_0x322ccb){var _0x4f0d52=_0x1e0ec2+(_0xd12285&_0x1c17b3|~_0xd12285&_0x2b0e1b)+_0x360dd8+_0x322ccb;return(_0x4f0d52<<_0x4f710d|_0x4f0d52>>>0x20-_0x4f710d)+_0xd12285;}function _0x241d49(_0x14c8ef,_0x25a2f7,_0x7f1f4a,_0x2bce27,_0x321c77,_0xaf03a2,_0x5cc33f){var _0x289558=_0x14c8ef+(_0x25a2f7&_0x2bce27|_0x7f1f4a&~_0x2bce27)+_0x321c77+_0x5cc33f;return(_0x289558<<_0xaf03a2|_0x289558>>>0x20-_0xaf03a2)+_0x25a2f7;}function _0x2e4fc4(_0x35fd27,_0x5b32c8,_0xede56e,_0x59175f,_0x340ef9,_0x3cc7a,_0xbde1cb){var _0x313240=_0x35fd27+(_0x5b32c8^_0xede56e^_0x59175f)+_0x340ef9+_0xbde1cb;return(_0x313240<<_0x3cc7a|_0x313240>>>0x20-_0x3cc7a)+_0x5b32c8;}function _0x1a0508(_0x4094b2,_0x4ee022,_0x19fc77,_0x57c58e,_0x4f0836,_0x8e6a3b,_0xb35687){var _0xc7e3ca=_0x4094b2+(_0x19fc77^(_0x4ee022|~_0x57c58e))+_0x4f0836+_0xb35687;return(_0xc7e3ca<<_0x8e6a3b|_0xc7e3ca>>>0x20-_0x8e6a3b)+_0x4ee022;}_0x56111c[_0x44e536(0x43d)]=_0x2733aa[_0x44e536(0x42a)](_0x20c6f6),_0x56111c[_0x44e536(0x5d0)]=_0x2733aa['_createHmacHelper'](_0x20c6f6);}(Math),_0x2ae822[_0x2f4ff3(0x43d)];}));}(lt)),lt[_0x5da20d(0x557)];}var ht={'exports':{}},_t={'exports':{}},Gt;function cr(){const _0x473926=_0x714a18;return Gt||(Gt=0x1,function(_0x2c5c5e,_0xb2c6be){(function(_0xcaf08e,_0x4a9e08){const _0xe70e24=_0x420c;_0x2c5c5e[_0xe70e24(0x557)]=_0x4a9e08(oe());}(X,function(_0x5c3edc){return(function(){const _0xd4548e=_0x420c;var _0x2dd4a8=_0x5c3edc,_0x549d66=_0x2dd4a8[_0xd4548e(0x2ee)],_0x210db8=_0x549d66['WordArray'],_0x2d4524=_0x549d66[_0xd4548e(0x5d4)],_0x1e0086=_0x2dd4a8[_0xd4548e(0x551)],_0x59070f=[],_0x12d95e=_0x1e0086['SHA1']=_0x2d4524[_0xd4548e(0x60d)]({'_doReset':function(){const _0x3551db=_0xd4548e;this[_0x3551db(0x563)]=new _0x210db8[(_0x3551db(0x413))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7a1b9a,_0x1b1d95){const _0x5a4d54=_0xd4548e;for(var _0x33b37a=this['_hash'][_0x5a4d54(0x36c)],_0x4d93a9=_0x33b37a[0x0],_0x2c4c13=_0x33b37a[0x1],_0x310f64=_0x33b37a[0x2],_0x4cd142=_0x33b37a[0x3],_0x478b88=_0x33b37a[0x4],_0x21b74a=0x0;_0x21b74a<0x50;_0x21b74a++){if(_0x21b74a<0x10)_0x59070f[_0x21b74a]=_0x7a1b9a[_0x1b1d95+_0x21b74a]|0x0;else{var _0x36e716=_0x59070f[_0x21b74a-0x3]^_0x59070f[_0x21b74a-0x8]^_0x59070f[_0x21b74a-0xe]^_0x59070f[_0x21b74a-0x10];_0x59070f[_0x21b74a]=_0x36e716<<0x1|_0x36e716>>>0x1f;}var _0x473c05=(_0x4d93a9<<0x5|_0x4d93a9>>>0x1b)+_0x478b88+_0x59070f[_0x21b74a];_0x21b74a<0x14?_0x473c05+=(_0x2c4c13&_0x310f64|~_0x2c4c13&_0x4cd142)+0x5a827999:_0x21b74a<0x28?_0x473c05+=(_0x2c4c13^_0x310f64^_0x4cd142)+0x6ed9eba1:_0x21b74a<0x3c?_0x473c05+=(_0x2c4c13&_0x310f64|_0x2c4c13&_0x4cd142|_0x310f64&_0x4cd142)-0x70e44324:_0x473c05+=(_0x2c4c13^_0x310f64^_0x4cd142)-0x359d3e2a,_0x478b88=_0x4cd142,_0x4cd142=_0x310f64,_0x310f64=_0x2c4c13<<0x1e|_0x2c4c13>>>0x2,_0x2c4c13=_0x4d93a9,_0x4d93a9=_0x473c05;}_0x33b37a[0x0]=_0x33b37a[0x0]+_0x4d93a9|0x0,_0x33b37a[0x1]=_0x33b37a[0x1]+_0x2c4c13|0x0,_0x33b37a[0x2]=_0x33b37a[0x2]+_0x310f64|0x0,_0x33b37a[0x3]=_0x33b37a[0x3]+_0x4cd142|0x0,_0x33b37a[0x4]=_0x33b37a[0x4]+_0x478b88|0x0;},'_doFinalize':function(){const _0x1746fb=_0xd4548e;var _0x30229a=this[_0x1746fb(0x4a6)],_0x111646=_0x30229a[_0x1746fb(0x36c)],_0x4a878d=this[_0x1746fb(0x32b)]*0x8,_0xf611ed=_0x30229a[_0x1746fb(0x3d6)]*0x8;return _0x111646[_0xf611ed>>>0x5]|=0x80<<0x18-_0xf611ed%0x20,_0x111646[(_0xf611ed+0x40>>>0x9<<0x4)+0xe]=Math[_0x1746fb(0x328)](_0x4a878d/0x100000000),_0x111646[(_0xf611ed+0x40>>>0x9<<0x4)+0xf]=_0x4a878d,_0x30229a[_0x1746fb(0x3d6)]=_0x111646[_0x1746fb(0x5a6)]*0x4,this[_0x1746fb(0x56f)](),this[_0x1746fb(0x563)];},'clone':function(){const _0x56173b=_0xd4548e;var _0x5773e9=_0x2d4524['clone'][_0x56173b(0x593)](this);return _0x5773e9[_0x56173b(0x563)]=this[_0x56173b(0x563)][_0x56173b(0x2f4)](),_0x5773e9;}});_0x2dd4a8[_0xd4548e(0x39b)]=_0x2d4524[_0xd4548e(0x42a)](_0x12d95e),_0x2dd4a8['HmacSHA1']=_0x2d4524[_0xd4548e(0x3d9)](_0x12d95e);}()),_0x5c3edc['SHA1'];}));}(_t)),_t[_0x473926(0x557)];}var ut={'exports':{}},Yt;function lr(){return Yt||(Yt=0x1,function(_0x3ada42,_0x56f875){(function(_0x354ac0,_0x599ea9){const _0x25102f=_0x420c;_0x3ada42[_0x25102f(0x557)]=_0x599ea9(oe());}(X,function(_0x2a4552){(function(){const _0x11a45f=_0x420c;var _0x5194ae=_0x2a4552,_0x255eb5=_0x5194ae[_0x11a45f(0x2ee)],_0x10ed5f=_0x255eb5['Base'],_0x28df56=_0x5194ae[_0x11a45f(0x49e)],_0x1916e3=_0x28df56[_0x11a45f(0x4c8)],_0x58a646=_0x5194ae[_0x11a45f(0x551)];_0x58a646[_0x11a45f(0x49a)]=_0x10ed5f[_0x11a45f(0x60d)]({'init':function(_0x1ecc30,_0x461d48){const _0xa9d34b=_0x11a45f;_0x1ecc30=this[_0xa9d34b(0x2d5)]=new _0x1ecc30[(_0xa9d34b(0x413))](),typeof _0x461d48==_0xa9d34b(0x461)&&(_0x461d48=_0x1916e3[_0xa9d34b(0x55a)](_0x461d48));var _0x2970ef=_0x1ecc30[_0xa9d34b(0x591)],_0xf62764=_0x2970ef*0x4;_0x461d48['sigBytes']>_0xf62764&&(_0x461d48=_0x1ecc30[_0xa9d34b(0x611)](_0x461d48)),_0x461d48[_0xa9d34b(0x478)]();for(var _0x42a877=this[_0xa9d34b(0x605)]=_0x461d48['clone'](),_0x1c3d1a=this['_iKey']=_0x461d48[_0xa9d34b(0x2f4)](),_0x375455=_0x42a877[_0xa9d34b(0x36c)],_0x2802f9=_0x1c3d1a[_0xa9d34b(0x36c)],_0x1cebbc=0x0;_0x1cebbc<_0x2970ef;_0x1cebbc++)_0x375455[_0x1cebbc]^=0x5c5c5c5c,_0x2802f9[_0x1cebbc]^=0x36363636;_0x42a877[_0xa9d34b(0x3d6)]=_0x1c3d1a[_0xa9d34b(0x3d6)]=_0xf62764,this[_0xa9d34b(0x1fa)]();},'reset':function(){const _0x394c41=_0x11a45f;var _0x427184=this[_0x394c41(0x2d5)];_0x427184[_0x394c41(0x1fa)](),_0x427184[_0x394c41(0x352)](this[_0x394c41(0x4f9)]);},'update':function(_0xafef40){const _0x211730=_0x11a45f;return this[_0x211730(0x2d5)][_0x211730(0x352)](_0xafef40),this;},'finalize':function(_0x3dd068){const _0xcadd63=_0x11a45f;var _0x337ff8=this[_0xcadd63(0x2d5)],_0x218215=_0x337ff8[_0xcadd63(0x611)](_0x3dd068);_0x337ff8['reset']();var _0x36993b=_0x337ff8[_0xcadd63(0x611)](this['_oKey']['clone']()[_0xcadd63(0x345)](_0x218215));return _0x36993b;}});}());}));}(ut)),ut['exports'];}var Kt;function On(){const _0x3f59ee=_0x714a18;return Kt||(Kt=0x1,function(_0x3aad8d,_0x2521d6){(function(_0x2a10b0,_0x434d15,_0x9d2ed5){const _0x2090ff=_0x420c;_0x3aad8d[_0x2090ff(0x557)]=_0x434d15(oe(),cr(),lr());}(X,function(_0x309d00){const _0x2305e3=_0x420c;return(function(){const _0x5149a8=_0x420c;var _0x5df19e=_0x309d00,_0xcde3ca=_0x5df19e[_0x5149a8(0x2ee)],_0x1a9bf1=_0xcde3ca[_0x5149a8(0x273)],_0x41ee5c=_0xcde3ca[_0x5149a8(0x17a)],_0x2f8e08=_0x5df19e[_0x5149a8(0x551)],_0x3b0b01=_0x2f8e08[_0x5149a8(0x43d)],_0x35224e=_0x2f8e08[_0x5149a8(0x2f3)]=_0x1a9bf1['extend']({'cfg':_0x1a9bf1['extend']({'keySize':0x80/0x20,'hasher':_0x3b0b01,'iterations':0x1}),'init':function(_0x369819){const _0x2f9f7c=_0x5149a8;this[_0x2f9f7c(0x566)]=this[_0x2f9f7c(0x566)][_0x2f9f7c(0x60d)](_0x369819);},'compute':function(_0x4da416,_0x4e08d4){const _0x1f968b=_0x5149a8;for(var _0x263d11,_0x25ad03=this[_0x1f968b(0x566)],_0x1ae943=_0x25ad03[_0x1f968b(0x1b4)][_0x1f968b(0x2cf)](),_0x14b711=_0x41ee5c[_0x1f968b(0x2cf)](),_0x310807=_0x14b711[_0x1f968b(0x36c)],_0x20df53=_0x25ad03[_0x1f968b(0x63f)],_0x57d2a4=_0x25ad03[_0x1f968b(0x4be)];_0x310807[_0x1f968b(0x5a6)]<_0x20df53;){_0x263d11&&_0x1ae943[_0x1f968b(0x352)](_0x263d11),_0x263d11=_0x1ae943[_0x1f968b(0x352)](_0x4da416)[_0x1f968b(0x611)](_0x4e08d4),_0x1ae943[_0x1f968b(0x1fa)]();for(var _0x1cf373=0x1;_0x1cf373<_0x57d2a4;_0x1cf373++)_0x263d11=_0x1ae943[_0x1f968b(0x611)](_0x263d11),_0x1ae943['reset']();_0x14b711[_0x1f968b(0x345)](_0x263d11);}return _0x14b711[_0x1f968b(0x3d6)]=_0x20df53*0x4,_0x14b711;}});_0x5df19e[_0x5149a8(0x2f3)]=function(_0x191ce7,_0x12b6a5,_0xd7a24d){const _0x4d1e87=_0x5149a8;return _0x35224e[_0x4d1e87(0x2cf)](_0xd7a24d)[_0x4d1e87(0x17e)](_0x191ce7,_0x12b6a5);};}()),_0x309d00[_0x2305e3(0x2f3)];}));}(ht)),ht[_0x3f59ee(0x557)];}var dt={'exports':{}},qt;function Dn(){const _0x636c9e=_0x714a18;return qt||(qt=0x1,function(_0x5f4c09,_0x321c1b){(function(_0x5333b9,_0x4ec122,_0xb62f83){const _0x14d89a=_0x420c;_0x5f4c09[_0x14d89a(0x557)]=_0x4ec122(oe(),On());}(X,function(_0x57b876){const _0x3a6f9b=_0x420c;_0x57b876[_0x3a6f9b(0x2ee)][_0x3a6f9b(0x2b2)]||function(_0x2181bb){const _0x2166d3=_0x3a6f9b;var _0x19e435=_0x57b876,_0x6da30f=_0x19e435[_0x2166d3(0x2ee)],_0x177434=_0x6da30f[_0x2166d3(0x273)],_0x37a04a=_0x6da30f[_0x2166d3(0x17a)],_0x3d6275=_0x6da30f[_0x2166d3(0x1c7)],_0x33e147=_0x19e435[_0x2166d3(0x49e)];_0x33e147['Utf8'];var _0x189f29=_0x33e147[_0x2166d3(0x504)],_0x2e8bda=_0x19e435[_0x2166d3(0x551)],_0x4db115=_0x2e8bda[_0x2166d3(0x2f3)],_0xc1475c=_0x6da30f['Cipher']=_0x3d6275[_0x2166d3(0x60d)]({'cfg':_0x177434[_0x2166d3(0x60d)](),'createEncryptor':function(_0x26d644,_0x37ab04){const _0x2ee4fe=_0x2166d3;return this[_0x2ee4fe(0x2cf)](this['_ENC_XFORM_MODE'],_0x26d644,_0x37ab04);},'createDecryptor':function(_0x175705,_0x1aa780){const _0x30faa8=_0x2166d3;return this[_0x30faa8(0x2cf)](this['_DEC_XFORM_MODE'],_0x175705,_0x1aa780);},'init':function(_0x46ce54,_0x4e772e,_0x5858c6){const _0x3c8d06=_0x2166d3;this[_0x3c8d06(0x566)]=this[_0x3c8d06(0x566)][_0x3c8d06(0x60d)](_0x5858c6),this['_xformMode']=_0x46ce54,this[_0x3c8d06(0x1d8)]=_0x4e772e,this[_0x3c8d06(0x1fa)]();},'reset':function(){const _0xa652af=_0x2166d3;_0x3d6275['reset'][_0xa652af(0x593)](this),this[_0xa652af(0x3b6)]();},'process':function(_0x55c801){const _0x117af5=_0x2166d3;return this['_append'](_0x55c801),this[_0x117af5(0x56f)]();},'finalize':function(_0x22535c){const _0x563b7e=_0x2166d3;_0x22535c&&this[_0x563b7e(0x30b)](_0x22535c);var _0x178928=this[_0x563b7e(0x299)]();return _0x178928;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6c6cb6(_0x3fc9c4){return typeof _0x3fc9c4=='string'?_0x29ec18:_0x1836fc;}return function(_0x57b9d3){return{'encrypt':function(_0xc31cb0,_0x152e84,_0x13a0a5){const _0x1d5266=_0x420c;return _0x6c6cb6(_0x152e84)[_0x1d5266(0x3d2)](_0x57b9d3,_0xc31cb0,_0x152e84,_0x13a0a5);},'decrypt':function(_0x384042,_0x17af85,_0x439fdb){const _0x1be12c=_0x420c;return _0x6c6cb6(_0x17af85)[_0x1be12c(0x233)](_0x57b9d3,_0x384042,_0x17af85,_0x439fdb);}};};}())});_0x6da30f['StreamCipher']=_0xc1475c[_0x2166d3(0x60d)]({'_doFinalize':function(){const _0x43f60f=_0x2166d3;var _0x2a58c0=this[_0x43f60f(0x56f)](!0x0);return _0x2a58c0;},'blockSize':0x1});var _0xf04afe=_0x19e435[_0x2166d3(0x51a)]={},_0xab959b=_0x6da30f['BlockCipherMode']=_0x177434[_0x2166d3(0x60d)]({'createEncryptor':function(_0x5d7627,_0x249b5a){const _0x56c745=_0x2166d3;return this[_0x56c745(0x4e3)][_0x56c745(0x2cf)](_0x5d7627,_0x249b5a);},'createDecryptor':function(_0x2d3f82,_0x449c97){const _0x519b16=_0x2166d3;return this[_0x519b16(0x4fe)][_0x519b16(0x2cf)](_0x2d3f82,_0x449c97);},'init':function(_0xa993e3,_0x3cca15){const _0x29ac65=_0x2166d3;this['_cipher']=_0xa993e3,this[_0x29ac65(0x2d3)]=_0x3cca15;}}),_0x5a0fe8=_0xf04afe['CBC']=(function(){const _0x5ac3ae=_0x2166d3;var _0x40192b=_0xab959b[_0x5ac3ae(0x60d)]();_0x40192b['Encryptor']=_0x40192b[_0x5ac3ae(0x60d)]({'processBlock':function(_0x428eec,_0x721e42){const _0x2f70b8=_0x5ac3ae;var _0x3e88e2=this['_cipher'],_0x316f8a=_0x3e88e2['blockSize'];_0x477959[_0x2f70b8(0x593)](this,_0x428eec,_0x721e42,_0x316f8a),_0x3e88e2['encryptBlock'](_0x428eec,_0x721e42),this[_0x2f70b8(0x2ed)]=_0x428eec['slice'](_0x721e42,_0x721e42+_0x316f8a);}}),_0x40192b[_0x5ac3ae(0x4fe)]=_0x40192b[_0x5ac3ae(0x60d)]({'processBlock':function(_0x45a4eb,_0x4d0cb1){const _0x3cd03e=_0x5ac3ae;var _0x140d61=this[_0x3cd03e(0x202)],_0x1bff0f=_0x140d61[_0x3cd03e(0x591)],_0x2f13bc=_0x45a4eb[_0x3cd03e(0x2dc)](_0x4d0cb1,_0x4d0cb1+_0x1bff0f);_0x140d61[_0x3cd03e(0x595)](_0x45a4eb,_0x4d0cb1),_0x477959[_0x3cd03e(0x593)](this,_0x45a4eb,_0x4d0cb1,_0x1bff0f),this['_prevBlock']=_0x2f13bc;}});function _0x477959(_0x374ea2,_0x1d98ea,_0x2cb928){const _0x331375=_0x5ac3ae;var _0x292afa,_0x184931=this[_0x331375(0x2d3)];_0x184931?(_0x292afa=_0x184931,this[_0x331375(0x2d3)]=_0x2181bb):_0x292afa=this['_prevBlock'];for(var _0x3327cf=0x0;_0x3327cf<_0x2cb928;_0x3327cf++)_0x374ea2[_0x1d98ea+_0x3327cf]^=_0x292afa[_0x3327cf];}return _0x40192b;}()),_0x55d5a2=_0x19e435[_0x2166d3(0x448)]={},_0x48b267=_0x55d5a2['Pkcs7']={'pad':function(_0x569511,_0xf328e5){const _0x358dc0=_0x2166d3;for(var _0x334ec6=_0xf328e5*0x4,_0x14deef=_0x334ec6-_0x569511[_0x358dc0(0x3d6)]%_0x334ec6,_0x1d63ab=_0x14deef<<0x18|_0x14deef<<0x10|_0x14deef<<0x8|_0x14deef,_0x1188b9=[],_0x5ee736=0x0;_0x5ee736<_0x14deef;_0x5ee736+=0x4)_0x1188b9[_0x358dc0(0x5a9)](_0x1d63ab);var _0x241f84=_0x37a04a[_0x358dc0(0x2cf)](_0x1188b9,_0x14deef);_0x569511['concat'](_0x241f84);},'unpad':function(_0x3f9f4d){const _0x42624e=_0x2166d3;var _0x4d38c3=_0x3f9f4d[_0x42624e(0x36c)][_0x3f9f4d[_0x42624e(0x3d6)]-0x1>>>0x2]&0xff;_0x3f9f4d[_0x42624e(0x3d6)]-=_0x4d38c3;}};_0x6da30f['BlockCipher']=_0xc1475c['extend']({'cfg':_0xc1475c[_0x2166d3(0x566)][_0x2166d3(0x60d)]({'mode':_0x5a0fe8,'padding':_0x48b267}),'reset':function(){const _0x307386=_0x2166d3;var _0x5e8d88;_0xc1475c[_0x307386(0x1fa)][_0x307386(0x593)](this);var _0x41e5ea=this['cfg'],_0x75c358=_0x41e5ea['iv'],_0x205e70=_0x41e5ea[_0x307386(0x51a)];this[_0x307386(0x54e)]==this[_0x307386(0x444)]?_0x5e8d88=_0x205e70[_0x307386(0x329)]:(_0x5e8d88=_0x205e70[_0x307386(0x5f5)],this[_0x307386(0x29a)]=0x1),this[_0x307386(0x376)]&&this[_0x307386(0x376)]['__creator']==_0x5e8d88?this[_0x307386(0x376)][_0x307386(0x413)](this,_0x75c358&&_0x75c358[_0x307386(0x36c)]):(this[_0x307386(0x376)]=_0x5e8d88['call'](_0x205e70,this,_0x75c358&&_0x75c358[_0x307386(0x36c)]),this[_0x307386(0x376)][_0x307386(0x2a6)]=_0x5e8d88);},'_doProcessBlock':function(_0x103dac,_0x37dad2){this['_mode']['processBlock'](_0x103dac,_0x37dad2);},'_doFinalize':function(){const _0x143808=_0x2166d3;var _0x25958a,_0x4c3320=this[_0x143808(0x566)][_0x143808(0x54f)];return this[_0x143808(0x54e)]==this[_0x143808(0x444)]?(_0x4c3320[_0x143808(0x448)](this[_0x143808(0x4a6)],this['blockSize']),_0x25958a=this[_0x143808(0x56f)](!0x0)):(_0x25958a=this['_process'](!0x0),_0x4c3320['unpad'](_0x25958a)),_0x25958a;},'blockSize':0x80/0x20});var _0xa0ac2a=_0x6da30f[_0x2166d3(0x3f0)]=_0x177434[_0x2166d3(0x60d)]({'init':function(_0x25e224){const _0x58bcc3=_0x2166d3;this[_0x58bcc3(0x244)](_0x25e224);},'toString':function(_0x4fa30c){const _0x5c9b9c=_0x2166d3;return(_0x4fa30c||this[_0x5c9b9c(0x61a)])[_0x5c9b9c(0x570)](this);}}),_0x1ff7e5=_0x19e435['format']={},_0xee0cfc=_0x1ff7e5[_0x2166d3(0x4ff)]={'stringify':function(_0x1e6254){const _0x3791d8=_0x2166d3;var _0x49dd32,_0x2b2cea=_0x1e6254['ciphertext'],_0x43655e=_0x1e6254[_0x3791d8(0x297)];return _0x43655e?_0x49dd32=_0x37a04a[_0x3791d8(0x2cf)]([0x53616c74,0x65645f5f])['concat'](_0x43655e)[_0x3791d8(0x345)](_0x2b2cea):_0x49dd32=_0x2b2cea,_0x49dd32[_0x3791d8(0x5b9)](_0x189f29);},'parse':function(_0x546882){const _0x5681b9=_0x2166d3;var _0x336113,_0x5a8c43=_0x189f29[_0x5681b9(0x55a)](_0x546882),_0x5df0a6=_0x5a8c43[_0x5681b9(0x36c)];return _0x5df0a6[0x0]==0x53616c74&&_0x5df0a6[0x1]==0x65645f5f&&(_0x336113=_0x37a04a[_0x5681b9(0x2cf)](_0x5df0a6['slice'](0x2,0x4)),_0x5df0a6[_0x5681b9(0x2c7)](0x0,0x4),_0x5a8c43[_0x5681b9(0x3d6)]-=0x10),_0xa0ac2a[_0x5681b9(0x2cf)]({'ciphertext':_0x5a8c43,'salt':_0x336113});}},_0x1836fc=_0x6da30f[_0x2166d3(0x32e)]=_0x177434[_0x2166d3(0x60d)]({'cfg':_0x177434[_0x2166d3(0x60d)]({'format':_0xee0cfc}),'encrypt':function(_0x28804e,_0x1f39a9,_0xf3546a,_0xf5193e){const _0x5050b9=_0x2166d3;_0xf5193e=this[_0x5050b9(0x566)][_0x5050b9(0x60d)](_0xf5193e);var _0x20c5dc=_0x28804e[_0x5050b9(0x329)](_0xf3546a,_0xf5193e),_0x3a4a3c=_0x20c5dc[_0x5050b9(0x611)](_0x1f39a9),_0xa3194c=_0x20c5dc[_0x5050b9(0x566)];return _0xa0ac2a[_0x5050b9(0x2cf)]({'ciphertext':_0x3a4a3c,'key':_0xf3546a,'iv':_0xa3194c['iv'],'algorithm':_0x28804e,'mode':_0xa3194c[_0x5050b9(0x51a)],'padding':_0xa3194c[_0x5050b9(0x54f)],'blockSize':_0x28804e['blockSize'],'formatter':_0xf5193e[_0x5050b9(0x1b5)]});},'decrypt':function(_0x481e13,_0x3ccee4,_0x3db825,_0x24aa89){const _0x59bb56=_0x2166d3;_0x24aa89=this['cfg'][_0x59bb56(0x60d)](_0x24aa89),_0x3ccee4=this[_0x59bb56(0x206)](_0x3ccee4,_0x24aa89['format']);var _0x1f2c90=_0x481e13['createDecryptor'](_0x3db825,_0x24aa89)[_0x59bb56(0x611)](_0x3ccee4[_0x59bb56(0x271)]);return _0x1f2c90;},'_parse':function(_0x3aee07,_0x31943b){return typeof _0x3aee07=='string'?_0x31943b['parse'](_0x3aee07,this):_0x3aee07;}}),_0x52151c=_0x19e435[_0x2166d3(0x3ba)]={},_0x50e114=_0x52151c[_0x2166d3(0x4ff)]={'execute':function(_0x1f4c06,_0x2f1e42,_0x274ae5,_0x585cf0,_0x57abd7){const _0x506f38=_0x2166d3;if(_0x585cf0||(_0x585cf0=_0x37a04a[_0x506f38(0x429)](0x40/0x8)),_0x57abd7)var _0x497ea6=_0x4db115[_0x506f38(0x2cf)]({'keySize':_0x2f1e42+_0x274ae5,'hasher':_0x57abd7})['compute'](_0x1f4c06,_0x585cf0);else var _0x497ea6=_0x4db115[_0x506f38(0x2cf)]({'keySize':_0x2f1e42+_0x274ae5})[_0x506f38(0x17e)](_0x1f4c06,_0x585cf0);var _0x32734c=_0x37a04a['create'](_0x497ea6[_0x506f38(0x36c)][_0x506f38(0x2dc)](_0x2f1e42),_0x274ae5*0x4);return _0x497ea6[_0x506f38(0x3d6)]=_0x2f1e42*0x4,_0xa0ac2a[_0x506f38(0x2cf)]({'key':_0x497ea6,'iv':_0x32734c,'salt':_0x585cf0});}},_0x29ec18=_0x6da30f[_0x2166d3(0x586)]=_0x1836fc['extend']({'cfg':_0x1836fc[_0x2166d3(0x566)][_0x2166d3(0x60d)]({'kdf':_0x50e114}),'encrypt':function(_0x93de0d,_0x381c73,_0x47903,_0x3d0afa){const _0x26ee26=_0x2166d3;_0x3d0afa=this[_0x26ee26(0x566)][_0x26ee26(0x60d)](_0x3d0afa);var _0x1472eb=_0x3d0afa[_0x26ee26(0x3ba)][_0x26ee26(0x18f)](_0x47903,_0x93de0d[_0x26ee26(0x63f)],_0x93de0d['ivSize'],_0x3d0afa[_0x26ee26(0x297)],_0x3d0afa[_0x26ee26(0x1b4)]);_0x3d0afa['iv']=_0x1472eb['iv'];var _0x514905=_0x1836fc['encrypt'][_0x26ee26(0x593)](this,_0x93de0d,_0x381c73,_0x1472eb['key'],_0x3d0afa);return _0x514905[_0x26ee26(0x244)](_0x1472eb),_0x514905;},'decrypt':function(_0x3e3c1c,_0xfd2349,_0x23353b,_0x5ebf2c){const _0x142427=_0x2166d3;_0x5ebf2c=this[_0x142427(0x566)]['extend'](_0x5ebf2c),_0xfd2349=this['_parse'](_0xfd2349,_0x5ebf2c['format']);var _0x2ebb41=_0x5ebf2c[_0x142427(0x3ba)]['execute'](_0x23353b,_0x3e3c1c['keySize'],_0x3e3c1c[_0x142427(0x5c6)],_0xfd2349[_0x142427(0x297)],_0x5ebf2c[_0x142427(0x1b4)]);_0x5ebf2c['iv']=_0x2ebb41['iv'];var _0x20ef18=_0x1836fc['decrypt']['call'](this,_0x3e3c1c,_0xfd2349,_0x2ebb41['key'],_0x5ebf2c);return _0x20ef18;}});}();}));}(dt)),dt[_0x636c9e(0x557)];}(function(_0x25254d,_0x2189f6){(function(_0x49eff4,_0xe47ec5,_0x2e1572){_0x25254d['exports']=_0xe47ec5(oe(),yn,ar(),On(),Dn());}(X,function(_0x17f69e){const _0x2a958f=_0x420c;return(function(){const _0x4de3d5=_0x420c;var _0x51e4e6=_0x17f69e,_0x1eb6a2=_0x51e4e6[_0x4de3d5(0x2ee)],_0x289274=_0x1eb6a2[_0x4de3d5(0x4ef)],_0x5d46cd=_0x51e4e6[_0x4de3d5(0x551)],_0xa3e2=[],_0x335efc=[],_0x6d5f28=[],_0x161b87=[],_0x34d7f4=[],_0x1a8e71=[],_0x2daabb=[],_0x440694=[],_0x5f0747=[],_0x25b491=[];(function(){for(var _0x13c83c=[],_0xa25403=0x0;_0xa25403<0x100;_0xa25403++)_0xa25403<0x80?_0x13c83c[_0xa25403]=_0xa25403<<0x1:_0x13c83c[_0xa25403]=_0xa25403<<0x1^0x11b;for(var _0x3c0ed4=0x0,_0x2ee844=0x0,_0xa25403=0x0;_0xa25403<0x100;_0xa25403++){var _0x2f6030=_0x2ee844^_0x2ee844<<0x1^_0x2ee844<<0x2^_0x2ee844<<0x3^_0x2ee844<<0x4;_0x2f6030=_0x2f6030>>>0x8^_0x2f6030&0xff^0x63,_0xa3e2[_0x3c0ed4]=_0x2f6030,_0x335efc[_0x2f6030]=_0x3c0ed4;var _0x30e38f=_0x13c83c[_0x3c0ed4],_0x13b85d=_0x13c83c[_0x30e38f],_0xae95a3=_0x13c83c[_0x13b85d],_0x46001a=_0x13c83c[_0x2f6030]*0x101^_0x2f6030*0x1010100;_0x6d5f28[_0x3c0ed4]=_0x46001a<<0x18|_0x46001a>>>0x8,_0x161b87[_0x3c0ed4]=_0x46001a<<0x10|_0x46001a>>>0x10,_0x34d7f4[_0x3c0ed4]=_0x46001a<<0x8|_0x46001a>>>0x18,_0x1a8e71[_0x3c0ed4]=_0x46001a;var _0x46001a=_0xae95a3*0x1010101^_0x13b85d*0x10001^_0x30e38f*0x101^_0x3c0ed4*0x1010100;_0x2daabb[_0x2f6030]=_0x46001a<<0x18|_0x46001a>>>0x8,_0x440694[_0x2f6030]=_0x46001a<<0x10|_0x46001a>>>0x10,_0x5f0747[_0x2f6030]=_0x46001a<<0x8|_0x46001a>>>0x18,_0x25b491[_0x2f6030]=_0x46001a,_0x3c0ed4?(_0x3c0ed4=_0x30e38f^_0x13c83c[_0x13c83c[_0x13c83c[_0xae95a3^_0x30e38f]]],_0x2ee844^=_0x13c83c[_0x13c83c[_0x2ee844]]):_0x3c0ed4=_0x2ee844=0x1;}}());var _0x583073=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30642b=_0x5d46cd['AES']=_0x289274[_0x4de3d5(0x60d)]({'_doReset':function(){const _0x1c6d9c=_0x4de3d5;var _0x1b3e6e;if(!(this[_0x1c6d9c(0x3a1)]&&this[_0x1c6d9c(0x5e5)]===this[_0x1c6d9c(0x1d8)])){for(var _0x43f64f=this[_0x1c6d9c(0x5e5)]=this[_0x1c6d9c(0x1d8)],_0x2498c1=_0x43f64f[_0x1c6d9c(0x36c)],_0x185d9a=_0x43f64f['sigBytes']/0x4,_0x21d05f=this[_0x1c6d9c(0x3a1)]=_0x185d9a+0x6,_0x5e2c40=(_0x21d05f+0x1)*0x4,_0x5f37e5=this['_keySchedule']=[],_0x11a6f5=0x0;_0x11a6f5<_0x5e2c40;_0x11a6f5++)_0x11a6f5<_0x185d9a?_0x5f37e5[_0x11a6f5]=_0x2498c1[_0x11a6f5]:(_0x1b3e6e=_0x5f37e5[_0x11a6f5-0x1],_0x11a6f5%_0x185d9a?_0x185d9a>0x6&&_0x11a6f5%_0x185d9a==0x4&&(_0x1b3e6e=_0xa3e2[_0x1b3e6e>>>0x18]<<0x18|_0xa3e2[_0x1b3e6e>>>0x10&0xff]<<0x10|_0xa3e2[_0x1b3e6e>>>0x8&0xff]<<0x8|_0xa3e2[_0x1b3e6e&0xff]):(_0x1b3e6e=_0x1b3e6e<<0x8|_0x1b3e6e>>>0x18,_0x1b3e6e=_0xa3e2[_0x1b3e6e>>>0x18]<<0x18|_0xa3e2[_0x1b3e6e>>>0x10&0xff]<<0x10|_0xa3e2[_0x1b3e6e>>>0x8&0xff]<<0x8|_0xa3e2[_0x1b3e6e&0xff],_0x1b3e6e^=_0x583073[_0x11a6f5/_0x185d9a|0x0]<<0x18),_0x5f37e5[_0x11a6f5]=_0x5f37e5[_0x11a6f5-_0x185d9a]^_0x1b3e6e);for(var _0x25b4fa=this[_0x1c6d9c(0x249)]=[],_0x40f944=0x0;_0x40f944<_0x5e2c40;_0x40f944++){var _0x11a6f5=_0x5e2c40-_0x40f944;if(_0x40f944%0x4)var _0x1b3e6e=_0x5f37e5[_0x11a6f5];else var _0x1b3e6e=_0x5f37e5[_0x11a6f5-0x4];_0x40f944<0x4||_0x11a6f5<=0x4?_0x25b4fa[_0x40f944]=_0x1b3e6e:_0x25b4fa[_0x40f944]=_0x2daabb[_0xa3e2[_0x1b3e6e>>>0x18]]^_0x440694[_0xa3e2[_0x1b3e6e>>>0x10&0xff]]^_0x5f0747[_0xa3e2[_0x1b3e6e>>>0x8&0xff]]^_0x25b491[_0xa3e2[_0x1b3e6e&0xff]];}}},'encryptBlock':function(_0x551f85,_0x29cc4b){const _0x1c6099=_0x4de3d5;this[_0x1c6099(0x624)](_0x551f85,_0x29cc4b,this['_keySchedule'],_0x6d5f28,_0x161b87,_0x34d7f4,_0x1a8e71,_0xa3e2);},'decryptBlock':function(_0x2f5b23,_0x51c333){const _0x2886a0=_0x4de3d5;var _0x5001dc=_0x2f5b23[_0x51c333+0x1];_0x2f5b23[_0x51c333+0x1]=_0x2f5b23[_0x51c333+0x3],_0x2f5b23[_0x51c333+0x3]=_0x5001dc,this[_0x2886a0(0x624)](_0x2f5b23,_0x51c333,this[_0x2886a0(0x249)],_0x2daabb,_0x440694,_0x5f0747,_0x25b491,_0x335efc);var _0x5001dc=_0x2f5b23[_0x51c333+0x1];_0x2f5b23[_0x51c333+0x1]=_0x2f5b23[_0x51c333+0x3],_0x2f5b23[_0x51c333+0x3]=_0x5001dc;},'_doCryptBlock':function(_0x2a988d,_0x15eea0,_0x5245ba,_0x21a0e5,_0x4e9e39,_0x17fc83,_0x4d0f71,_0x5a19ea){const _0x2e9876=_0x4de3d5;for(var _0x4c1b0c=this[_0x2e9876(0x3a1)],_0x5b957c=_0x2a988d[_0x15eea0]^_0x5245ba[0x0],_0x14e007=_0x2a988d[_0x15eea0+0x1]^_0x5245ba[0x1],_0x3f5974=_0x2a988d[_0x15eea0+0x2]^_0x5245ba[0x2],_0x25c07b=_0x2a988d[_0x15eea0+0x3]^_0x5245ba[0x3],_0x2456ef=0x4,_0x111e82=0x1;_0x111e82<_0x4c1b0c;_0x111e82++){var _0x122271=_0x21a0e5[_0x5b957c>>>0x18]^_0x4e9e39[_0x14e007>>>0x10&0xff]^_0x17fc83[_0x3f5974>>>0x8&0xff]^_0x4d0f71[_0x25c07b&0xff]^_0x5245ba[_0x2456ef++],_0x1bc71c=_0x21a0e5[_0x14e007>>>0x18]^_0x4e9e39[_0x3f5974>>>0x10&0xff]^_0x17fc83[_0x25c07b>>>0x8&0xff]^_0x4d0f71[_0x5b957c&0xff]^_0x5245ba[_0x2456ef++],_0x37c236=_0x21a0e5[_0x3f5974>>>0x18]^_0x4e9e39[_0x25c07b>>>0x10&0xff]^_0x17fc83[_0x5b957c>>>0x8&0xff]^_0x4d0f71[_0x14e007&0xff]^_0x5245ba[_0x2456ef++],_0x2a0346=_0x21a0e5[_0x25c07b>>>0x18]^_0x4e9e39[_0x5b957c>>>0x10&0xff]^_0x17fc83[_0x14e007>>>0x8&0xff]^_0x4d0f71[_0x3f5974&0xff]^_0x5245ba[_0x2456ef++];_0x5b957c=_0x122271,_0x14e007=_0x1bc71c,_0x3f5974=_0x37c236,_0x25c07b=_0x2a0346;}var _0x122271=(_0x5a19ea[_0x5b957c>>>0x18]<<0x18|_0x5a19ea[_0x14e007>>>0x10&0xff]<<0x10|_0x5a19ea[_0x3f5974>>>0x8&0xff]<<0x8|_0x5a19ea[_0x25c07b&0xff])^_0x5245ba[_0x2456ef++],_0x1bc71c=(_0x5a19ea[_0x14e007>>>0x18]<<0x18|_0x5a19ea[_0x3f5974>>>0x10&0xff]<<0x10|_0x5a19ea[_0x25c07b>>>0x8&0xff]<<0x8|_0x5a19ea[_0x5b957c&0xff])^_0x5245ba[_0x2456ef++],_0x37c236=(_0x5a19ea[_0x3f5974>>>0x18]<<0x18|_0x5a19ea[_0x25c07b>>>0x10&0xff]<<0x10|_0x5a19ea[_0x5b957c>>>0x8&0xff]<<0x8|_0x5a19ea[_0x14e007&0xff])^_0x5245ba[_0x2456ef++],_0x2a0346=(_0x5a19ea[_0x25c07b>>>0x18]<<0x18|_0x5a19ea[_0x5b957c>>>0x10&0xff]<<0x10|_0x5a19ea[_0x14e007>>>0x8&0xff]<<0x8|_0x5a19ea[_0x3f5974&0xff])^_0x5245ba[_0x2456ef++];_0x2a988d[_0x15eea0]=_0x122271,_0x2a988d[_0x15eea0+0x1]=_0x1bc71c,_0x2a988d[_0x15eea0+0x2]=_0x37c236,_0x2a988d[_0x15eea0+0x3]=_0x2a0346;},'keySize':0x100/0x20});_0x51e4e6[_0x4de3d5(0x383)]=_0x289274[_0x4de3d5(0x42a)](_0x30642b);}()),_0x17f69e[_0x2a958f(0x383)];}));}(Tn));var hr=Tn['exports'];const _r=xe(hr);var wn={'exports':{}};(function(_0x29e61a,_0x120036){(function(_0x21ebd2,_0x4daa33){const _0x5c04bd=_0x420c;_0x29e61a[_0x5c04bd(0x557)]=_0x4daa33(oe());}(X,function(_0x2d1d3d){const _0x4ddfae=_0x420c;return _0x2d1d3d[_0x4ddfae(0x49e)][_0x4ddfae(0x4c8)];}));}(wn));var ur=wn[_0x714a18(0x557)];const dr=xe(ur);var Pn={'exports':{}};(function(_0x301df3,_0x1d7218){(function(_0x4dafec,_0x459f90){const _0x4c9ef3=_0x420c;_0x301df3[_0x4c9ef3(0x557)]=_0x459f90(oe());}(X,function(_0x1a6e67){const _0x21e0bd=_0x420c;return(function(){const _0x44ed39=_0x420c;if(typeof ArrayBuffer==_0x44ed39(0x20f)){var _0x33d4ce=_0x1a6e67,_0x326495=_0x33d4ce[_0x44ed39(0x2ee)],_0x355d00=_0x326495[_0x44ed39(0x17a)],_0x4821a5=_0x355d00[_0x44ed39(0x413)],_0x1c5277=_0x355d00[_0x44ed39(0x413)]=function(_0x2ff814){const _0x3701a9=_0x44ed39;if(_0x2ff814 instanceof ArrayBuffer&&(_0x2ff814=new Uint8Array(_0x2ff814)),(_0x2ff814 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ff814 instanceof Uint8ClampedArray||_0x2ff814 instanceof Int16Array||_0x2ff814 instanceof Uint16Array||_0x2ff814 instanceof Int32Array||_0x2ff814 instanceof Uint32Array||_0x2ff814 instanceof Float32Array||_0x2ff814 instanceof Float64Array)&&(_0x2ff814=new Uint8Array(_0x2ff814[_0x3701a9(0x51b)],_0x2ff814[_0x3701a9(0x48a)],_0x2ff814[_0x3701a9(0x1ba)])),_0x2ff814 instanceof Uint8Array){for(var _0x43a54f=_0x2ff814[_0x3701a9(0x1ba)],_0xa836b7=[],_0x2d11c2=0x0;_0x2d11c2<_0x43a54f;_0x2d11c2++)_0xa836b7[_0x2d11c2>>>0x2]|=_0x2ff814[_0x2d11c2]<<0x18-_0x2d11c2%0x4*0x8;_0x4821a5[_0x3701a9(0x593)](this,_0xa836b7,_0x43a54f);}else _0x4821a5[_0x3701a9(0x275)](this,arguments);};_0x1c5277[_0x44ed39(0x2c5)]=_0x355d00;}}()),_0x1a6e67[_0x21e0bd(0x2ee)]['WordArray'];}));}(Pn));var fr=Pn[_0x714a18(0x557)];const vr=xe(fr);var Un={'exports':{}};(function(_0x24b2c4,_0x300077){(function(_0x36f3cf,_0x3efd51,_0x4ca8dc){const _0x52b48a=_0x420c;_0x24b2c4[_0x52b48a(0x557)]=_0x3efd51(oe(),Dn());}(X,function(_0xfce154){const _0x3fb0d1=_0x420c;return _0xfce154[_0x3fb0d1(0x448)][_0x3fb0d1(0x332)]={'pad':function(){},'unpad':function(){}},_0xfce154['pad'][_0x3fb0d1(0x332)];}));}(Un));var Sr=Un[_0x714a18(0x557)];const pr=xe(Sr);function mr(_0x3cc359,_0x5cb7ab){const _0x58a382=_0x714a18,_0xd0458a=_0x5cb7ab-_0x3cc359[_0x58a382(0x5a6)]%_0x5cb7ab,_0x3771d4=String['fromCharCode'](_0xd0458a)[_0x58a382(0x3a6)](_0xd0458a);return _0x3cc359+_0x3771d4;}function gr(_0x300912,_0x27846c){const _0x4c1953=_0x714a18,_0x4708b1=vr[_0x4c1953(0x429)](0x10),_0x294ca1=mr(_0x300912,0x10),_0x4d429f=_r['encrypt'](dr[_0x4c1953(0x55a)](_0x294ca1),Ft['parse'](_0x27846c),{'iv':_0x4708b1,'padding':pr});return _0x4708b1['concat'](_0x4d429f[_0x4c1953(0x271)])[_0x4c1953(0x5b9)](Ft);}function Ir(){const _0x4d870c=_0x714a18,_0x1f4bc3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x4d870c(0x3a9)];if(_0x1f4bc3){const _0x41c6ef={'time':Math[_0x4d870c(0x328)](Date[_0x4d870c(0x180)]()/0x3e8),'domain':location[_0x4d870c(0x250)]};return gr(JSON[_0x4d870c(0x570)](_0x41c6ef),_0x1f4bc3);}}var Cr=Object[_0x714a18(0x1d2)],Er=Object[_0x714a18(0x254)],br=(_0xe2bca9,_0x2f75bd,_0x4abe97,_0x39d7bd)=>{const _0x2d7d3b=_0x714a18;for(var _0x50386a=_0x39d7bd>0x1?void 0x0:_0x39d7bd?Er(_0x2f75bd,_0x4abe97):_0x2f75bd,_0x43df73=_0xe2bca9[_0x2d7d3b(0x5a6)]-0x1,_0x1ece7e;_0x43df73>=0x0;_0x43df73--)(_0x1ece7e=_0xe2bca9[_0x43df73])&&(_0x50386a=(_0x39d7bd?_0x1ece7e(_0x2f75bd,_0x4abe97,_0x50386a):_0x1ece7e(_0x50386a))||_0x50386a);return _0x39d7bd&&_0x50386a&&Cr(_0x2f75bd,_0x4abe97,_0x50386a),_0x50386a;},Tr=(_0x297042,_0x3fa2d8)=>(_0x3e9583,_0x143062)=>_0x3fa2d8(_0x3e9583,_0x143062,_0x297042);let Ye=class{constructor(_0x57041e){const _0x1f3660=_0x714a18;this['_httpService']=_0x57041e,this[_0x1f3660(0x35c)]();}[_0x714a18(0x35c)](){const _0x4bc996=_0x714a18;this[_0x4bc996(0x4a7)]['registerHTTPInterceptor']({'interceptor':(_0x44d51e,_0x58ef93)=>{const _0x217178=_0x4bc996,_0x2ff74d=_0x44d51e[_0x217178(0x1c6)],_0x25dead=Ir();return _0x25dead&&_0x2ff74d['set'](_0x217178(0x587),_0x25dead),_0x58ef93(_0x44d51e);}});}};Ye=br([Tr(0x0,a['Inject'](J[_0x714a18(0x480)]))],Ye);var Rr=Object[_0x714a18(0x1d2)],yr=Object[_0x714a18(0x254)],Or=(_0xe1db36,_0x1e1c64,_0x37a614,_0x2c6d6c)=>{const _0x45b539=_0x714a18;for(var _0x3fdb19=_0x2c6d6c>0x1?void 0x0:_0x2c6d6c?yr(_0x1e1c64,_0x37a614):_0x1e1c64,_0x53302f=_0xe1db36[_0x45b539(0x5a6)]-0x1,_0x2fc0f4;_0x53302f>=0x0;_0x53302f--)(_0x2fc0f4=_0xe1db36[_0x53302f])&&(_0x3fdb19=(_0x2c6d6c?_0x2fc0f4(_0x1e1c64,_0x37a614,_0x3fdb19):_0x2fc0f4(_0x3fdb19))||_0x3fdb19);return _0x2c6d6c&&_0x3fdb19&&Rr(_0x1e1c64,_0x37a614,_0x3fdb19),_0x3fdb19;},ft=(_0x1998f3,_0x492895)=>(_0xdc512e,_0x5db817)=>_0x492895(_0xdc512e,_0x5db817,_0x1998f3);const Dr=['image/png',_0x714a18(0x276),_0x714a18(0x19f),_0x714a18(0x4e8),_0x714a18(0x1e1)],wr=0x5*0x400*0x400,Pr=_0x714a18(0x1fb),Ur=_0x714a18(0x33b),Mr=_0x714a18(0x2f2),Ar=_0x714a18(0x3e6);exports[_0x714a18(0x2bc)]=class{constructor(_0x935f6a,_0x593e6f,_0x274cd3){const _0x4ace0b=_0x714a18;I(this,'_waitCount',0x0),I(this,_0x4ace0b(0x5c0),new A[(_0x4ace0b(0x47f))]()),I(this,_0x4ace0b(0x598),this[_0x4ace0b(0x5c0)]),I(this,_0x4ace0b(0x221),new Map()),(this['_httpService']=_0x935f6a,this[_0x4ace0b(0x3dc)]=_0x593e6f,this[_0x4ace0b(0x4c0)]=_0x274cd3);}[_0x714a18(0x391)](_0x1b7fa8){const _0x1b69e=_0x714a18;this[_0x1b69e(0x613)]=_0x1b7fa8,this['_change$'][_0x1b69e(0x5c5)](_0x1b7fa8);}[_0x714a18(0x560)](_0xb5755c,_0x35ce8b){const _0x4fd9c8=_0x714a18;if(_0x35ce8b===ne[_0x4fd9c8(0x1cb)][_0x4fd9c8(0x418)]){const _0x52ede9=new Image();return _0x52ede9[_0x4fd9c8(0x50f)]=_0xb5755c,_0x52ede9;}return this['_imageSourceCache'][_0x4fd9c8(0x1bc)](_0xb5755c);}[_0x714a18(0x37f)](_0x1f480c,_0x443105,_0xc9b92b){const _0x5e7daa=_0x714a18;_0x443105===ne[_0x5e7daa(0x1cb)][_0x5e7daa(0x418)]||_0xc9b92b==null||this[_0x5e7daa(0x221)][_0x5e7daa(0x3d0)](_0x1f480c,_0xc9b92b);}async[_0x714a18(0x1ae)](_0x327e04){const _0x5b621e=_0x714a18;try{const _0x38aea5=this['_replaceFileID'](this[_0x5b621e(0x4e7)](),''+_0x327e04),_0x498de2=(await this[_0x5b621e(0x4a7)]['get'](_0x38aea5))[_0x5b621e(0x1ee)];if(_0x498de2[_0x5b621e(0x4c3)]&&_0x498de2[_0x5b621e(0x4c3)]['code']===on['OK']){const _0x175bcc=new URL(_0x498de2[_0x5b621e(0x513)],this[_0x5b621e(0x29e)]())[_0x5b621e(0x5b9)]();return Promise[_0x5b621e(0x21e)](_0x175bcc);}return Promise[_0x5b621e(0x3fa)](_0x498de2['error']);}catch(_0x4f4bf5){return Promise[_0x5b621e(0x3fa)](_0x4f4bf5);}}async[_0x714a18(0x399)](_0x9e2bab){const _0x5c9b64=_0x714a18;let _0x207c3a='';if(!Dr[_0x5c9b64(0x2c3)](_0x9e2bab['type']))return this['_decreaseWaiting'](),Promise[_0x5c9b64(0x3fa)](new Error(ne[_0x5c9b64(0x1f2)][_0x5c9b64(0x464)]));if(_0x9e2bab['size']>wr)return this[_0x5c9b64(0x317)](),Promise[_0x5c9b64(0x3fa)](new Error(ne[_0x5c9b64(0x1f2)][_0x5c9b64(0x39f)]));try{const _0x2cd6a5=new FormData();_0x2cd6a5[_0x5c9b64(0x2b0)](_0x5c9b64(0x2db),_0x9e2bab);const _0x2c6199=this[_0x5c9b64(0x4c0)][_0x5c9b64(0x28e)](),_0x5e5af1=_0x2c6199==null?void 0x0:_0x2c6199['getUnitId']();if(!_0x5e5af1)throw new Error('unitId\x20is\x20not\x20found');const _0xa4bc06=this[_0x5c9b64(0x307)]()+'?size='+_0x9e2bab[_0x5c9b64(0x226)]['toString']()+_0x5c9b64(0x2a5)+an[_0x5c9b64(0x509)]+_0x5c9b64(0x385)+encodeURIComponent(_0x5e5af1),_0x37fb65=await(await fetch(_0xa4bc06,{'method':_0x5c9b64(0x27e),'body':_0x2cd6a5}))['json']();if(typeof _0x37fb65[_0x5c9b64(0x430)]!='string')return this[_0x5c9b64(0x317)](),Promise[_0x5c9b64(0x3fa)](new Error(ne[_0x5c9b64(0x1f2)][_0x5c9b64(0x381)]));_0x207c3a=_0x37fb65['FileId'];}catch{return this[_0x5c9b64(0x317)](),Promise[_0x5c9b64(0x3fa)](new Error(ne[_0x5c9b64(0x1f2)][_0x5c9b64(0x381)]));}return new Promise((_0x112c24,_0x46d68f)=>{const _0x40e315=_0x5c9b64,_0x2e8192=new FileReader();_0x2e8192[_0x40e315(0x568)](_0x9e2bab),_0x2e8192[_0x40e315(0x264)]=_0x580d3a=>{const _0x5e412b=_0x40e315;var _0x4dbb11;const _0x562d7c=(_0x4dbb11=_0x580d3a['target'])==null?void 0x0:_0x4dbb11['result'];if(_0x562d7c==null){this['_decreaseWaiting'](),_0x46d68f(new Error(ne[_0x5e412b(0x1f2)][_0x5e412b(0x381)]));return;}const _0x4571dc=a[_0x5e412b(0x392)]['generateRandomId'](0x6);_0x112c24({'imageId':_0x4571dc,'imageSourceType':ne[_0x5e412b(0x1cb)][_0x5e412b(0x387)],'source':_0x207c3a,'base64Cache':_0x562d7c,'status':ne[_0x5e412b(0x1f2)][_0x5e412b(0x403)]}),this[_0x5e412b(0x317)]();};});}[_0x714a18(0x307)](){const _0x5d8308=_0x714a18;var _0x34d652,_0x9b49a8;const _0x16ad72=this[_0x5d8308(0x3dc)]['getConfig'](Pr),_0x5a336a=this[_0x5d8308(0x3dc)][_0x5d8308(0x49b)](ee);return(_0x9b49a8=(_0x34d652=_0x5a336a==null?void 0x0:_0x5a336a[_0x5d8308(0x451)])!=null?_0x34d652:_0x16ad72)!=null?_0x9b49a8:Ur;}[_0x714a18(0x4e7)](){const _0x174138=_0x714a18;var _0x58a06b,_0x10a30a;const _0x5346a7=this[_0x174138(0x3dc)][_0x174138(0x49b)](Mr),_0x279e9b=this[_0x174138(0x3dc)][_0x174138(0x49b)](ee);return(_0x10a30a=(_0x58a06b=_0x279e9b==null?void 0x0:_0x279e9b[_0x174138(0x61c)])!=null?_0x58a06b:_0x5346a7)!=null?_0x10a30a:Ar;}['_getDownloadEndpointURL'](){const _0x403687=_0x714a18;var _0x3933af;const _0x16958c=this[_0x403687(0x3dc)][_0x403687(0x49b)](ee);return(_0x3933af=_0x16958c==null?void 0x0:_0x16958c['downloadEndpointUrl'])!=null?_0x3933af:location[_0x403687(0x363)];}[_0x714a18(0x366)](_0x392019,_0x3579fe){const _0x35fb23=_0x714a18;return _0x392019[_0x35fb23(0x258)](_0x35fb23(0x296),_0x3579fe);}[_0x714a18(0x317)](){const _0x307859=_0x714a18;this['_waitCount']-=0x1,this[_0x307859(0x5c0)][_0x307859(0x5c5)](this[_0x307859(0x613)]);}},exports[_0x714a18(0x2bc)]=Or([ft(0x0,a['Inject'](J[_0x714a18(0x480)])),ft(0x1,a['IConfigService']),ft(0x2,a[_0x714a18(0x5ce)](a[_0x714a18(0x617)]))],exports[_0x714a18(0x2bc)]);var Nr=Object[_0x714a18(0x1d2)],Lr=Object[_0x714a18(0x254)],xr=(_0x2debb4,_0x27d266,_0x52812f,_0x4db930)=>{for(var _0x12b5ac=_0x4db930>0x1?void 0x0:_0x4db930?Lr(_0x27d266,_0x52812f):_0x27d266,_0x3fc643=_0x2debb4['length']-0x1,_0x40b4d7;_0x3fc643>=0x0;_0x3fc643--)(_0x40b4d7=_0x2debb4[_0x3fc643])&&(_0x12b5ac=(_0x4db930?_0x40b4d7(_0x27d266,_0x52812f,_0x12b5ac):_0x40b4d7(_0x12b5ac))||_0x12b5ac);return _0x4db930&&_0x12b5ac&&Nr(_0x27d266,_0x52812f,_0x12b5ac),_0x12b5ac;},Ae=(_0x361a5d,_0x19a482)=>(_0x2cf36d,_0x558e10)=>_0x19a482(_0x2cf36d,_0x558e10,_0x361a5d);let Ke=class extends a[_0x714a18(0x237)]{constructor(_0x67fb42,_0x2b5a5e,_0x4ff03e,_0x1d0cf4,_0xa575fc){const _0x13f03c=_0x714a18;super(),this[_0x13f03c(0x5eb)]=_0x67fb42,this[_0x13f03c(0x4c0)]=_0x2b5a5e,this['_permissionService']=_0x4ff03e,this[_0x13f03c(0x40b)]=_0x1d0cf4,this[_0x13f03c(0x467)]=_0xa575fc,this[_0x13f03c(0x2fd)](),this['_initCloseConn']();}[_0x714a18(0x4f6)](){const _0x384fd9=_0x714a18,_0xe6586a=async _0xbe2c3=>{const _0x23cc7d=_0x420c;(await this[_0x23cc7d(0x40b)][_0x23cc7d(0x49f)](_0xbe2c3))[_0x23cc7d(0x55f)][_0x23cc7d(0x52c)](V[_0x23cc7d(0x630)](_0x386301=>_0x386301[_0x23cc7d(0x298)]===p[_0x23cc7d(0x57d)][_0x23cc7d(0x626)]),V[_0x23cc7d(0x3c8)](this[_0x23cc7d(0x417)]))['subscribe'](_0x1da5b8=>{const _0x3f5f0d=_0x23cc7d,_0x4e771a=_0x1da5b8,{reason:_0xb1c5ff}=_0x4e771a[_0x3f5f0d(0x539)];this['_injector'][_0x3f5f0d(0x1bc)](te[_0x3f5f0d(0x32c)])[_0x3f5f0d(0x26f)]({'type':Ie[_0x3f5f0d(0x4b3)][_0x3f5f0d(0x63a)],'content':this['_localeService']['t'](_0x3f5f0d(0x27f))+'('+_0xb1c5ff+')'}),this['_permissionService']['updatePermissionPoint'](new B['WorkbookEditablePermission'](_0xbe2c3)['id'],!0x1),this['_collaborationSessionService'][_0x3f5f0d(0x331)](_0xbe2c3);});};A[_0x384fd9(0x3ea)](this[_0x384fd9(0x4c0)]['getTypeOfUnitAdded$'](a[_0x384fd9(0x3ab)][_0x384fd9(0x2d2)]),this[_0x384fd9(0x4c0)][_0x384fd9(0x3d5)](a[_0x384fd9(0x3ab)][_0x384fd9(0x5ff)]))['pipe'](V['map'](_0x3047c1=>_0x3047c1['getUnitId']()),V[_0x384fd9(0x630)](_0x3cf6ca=>!a['isInternalEditorID'](_0x3cf6ca)),V[_0x384fd9(0x3c8)](this['dispose$']))[_0x384fd9(0x47b)](_0x5c5981=>{_0xe6586a(_0x5c5981);});}[_0x714a18(0x2fd)](){const _0x304d24=_0x714a18,_0x11183a=async _0x472ca9=>{const _0x504abe=_0x420c;(await this[_0x504abe(0x40b)][_0x504abe(0x49f)](_0x472ca9))[_0x504abe(0x55f)][_0x504abe(0x52c)](V[_0x504abe(0x630)](_0x39ab93=>_0x39ab93[_0x504abe(0x298)]===p[_0x504abe(0x57d)][_0x504abe(0x3e5)]),V[_0x504abe(0x3c8)](this[_0x504abe(0x417)]))[_0x504abe(0x47b)](_0x6c8556=>{const _0x2beb30=_0x504abe,_0x368e94=_0x6c8556,{objectId:_0x23ac8a}=_0x368e94['data'],_0x22c923=this[_0x2beb30(0x5eb)][_0x2beb30(0x1bc)](Re['SheetPermissionInitController']);_0x23ac8a===_0x472ca9?_0x22c923[_0x2beb30(0x4a1)](_0x472ca9):_0x22c923['refreshPermission'](_0x472ca9,_0x23ac8a);});};A['merge'](this[_0x304d24(0x4c0)][_0x304d24(0x3d5)](a[_0x304d24(0x3ab)][_0x304d24(0x2d2)]),this['_univerInstanceService'][_0x304d24(0x3d5)](a[_0x304d24(0x3ab)][_0x304d24(0x5ff)]))['pipe'](V[_0x304d24(0x556)](_0x18d456=>_0x18d456[_0x304d24(0x2e0)]()),V[_0x304d24(0x630)](_0x51c044=>!a[_0x304d24(0x42e)](_0x51c044)),V[_0x304d24(0x3c8)](this[_0x304d24(0x417)]))[_0x304d24(0x47b)](_0x225a3d=>{_0x11183a(_0x225a3d);});}};Ke=xr([Ae(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),Ae(0x1,a[_0x714a18(0x617)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x714a18(0x5ce)](exports[_0x714a18(0x3c2)])),Ae(0x4,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)]))],Ke);var jr=Object['defineProperty'],$r=Object['getOwnPropertyDescriptor'],Hr=(_0x37c477,_0x9e072b,_0x29fd34,_0x28ca08)=>{const _0xd554e6=_0x714a18;for(var _0x594e03=_0x28ca08>0x1?void 0x0:_0x28ca08?$r(_0x9e072b,_0x29fd34):_0x9e072b,_0x4c0076=_0x37c477[_0xd554e6(0x5a6)]-0x1,_0x1a607f;_0x4c0076>=0x0;_0x4c0076--)(_0x1a607f=_0x37c477[_0x4c0076])&&(_0x594e03=(_0x28ca08?_0x1a607f(_0x9e072b,_0x29fd34,_0x594e03):_0x1a607f(_0x594e03))||_0x594e03);return _0x28ca08&&_0x594e03&&jr(_0x9e072b,_0x29fd34,_0x594e03),_0x594e03;},zt=(_0x569f24,_0x523266)=>(_0x4fdd8f,_0xf988d4)=>_0x523266(_0x4fdd8f,_0xf988d4,_0x569f24);exports['SnapshotServerOverHTTPService']=class{constructor(_0x482e5c,_0x22cb0e){const _0x10041=_0x714a18;this['_configService']=_0x482e5c,this[_0x10041(0x4a7)]=_0x22cb0e;}async['getUnitOnRev'](_0x12a96a,_0x53f5d8){const _0x3f8f67=_0x714a18;var _0x314076;const {unitID:_0x16e4eb,type:_0x5b48b5,revision:_0x4589af=0x0}=_0x53f5d8,_0x5a03da=this[_0x3f8f67(0x621)]()+'/'+_0x5b48b5+'/unit/'+_0x16e4eb+_0x3f8f67(0x5df)+_0x4589af,_0x52597e=(await this[_0x3f8f67(0x4a7)]['get'](_0x5a03da))[_0x3f8f67(0x1ee)],_0x1b1ccf=(_0x314076=_0x52597e['snapshot'])==null?void 0x0:_0x314076[_0x3f8f67(0x2d7)];if(_0x1b1ccf){const _0x32ff05=_0x1b1ccf==null?void 0x0:_0x1b1ccf[_0x3f8f67(0x326)],_0x2af9d2=p[_0x3f8f67(0x2df)][_0x3f8f67(0x214)](p[_0x3f8f67(0x412)](_0x32ff05));_0x1b1ccf[_0x3f8f67(0x326)]=_0x2af9d2,Object['entries'](_0x1b1ccf[_0x3f8f67(0x31f)])[_0x3f8f67(0x39e)](([,_0x21603f])=>{const _0x29f55b=_0x3f8f67,_0x45fcb5=_0x21603f['originalMeta'],_0x2ccd25=p[_0x29f55b(0x2df)][_0x29f55b(0x214)](p['b64DecodeUnicode'](_0x45fcb5));_0x21603f[_0x29f55b(0x326)]=_0x2ccd25;});}return _0x52597e;}async[_0x714a18(0x395)](_0x390e23,_0x5a0601){const _0x50ef92=_0x714a18,{unitID:_0x5db6b2,type:_0x320efb,blockID:_0x18db3a}=_0x5a0601,_0x49fee6=this['_getAPIPrefix']()+'/'+_0x320efb+_0x50ef92(0x272)+_0x5db6b2+'/block/'+_0x18db3a;return(await this[_0x50ef92(0x4a7)][_0x50ef92(0x1bc)](_0x49fee6))[_0x50ef92(0x1ee)];}async[_0x714a18(0x511)](_0x785a9e,_0x3c7a6f){const _0x58224b=_0x714a18,{unitID:_0x8c9d95,type:_0x39eea4,blockID:_0x56dbe9}=_0x3c7a6f,_0x12388b=this['_getAPIPrefix']()+_0x58224b(0x537)+_0x39eea4+_0x58224b(0x272)+_0x8c9d95+_0x58224b(0x537)+_0x56dbe9;return(await this['_httpService'][_0x58224b(0x1bc)](_0x12388b))[_0x58224b(0x1ee)];}async[_0x714a18(0x5d1)](_0x3415a4,_0x3abc2c){const _0x4e0500=_0x714a18,{unitID:_0x35a1c5,type:_0x10ef4e,from:_0x2570e5,to:_0x51a5ee}=_0x3abc2c,_0x557f48=this[_0x4e0500(0x49c)]()+'/'+_0x10ef4e+_0x4e0500(0x272)+_0x35a1c5+_0x4e0500(0x333)+_0x2570e5+_0x4e0500(0x5fb)+_0x51a5ee;return(await this[_0x4e0500(0x4a7)][_0x4e0500(0x1bc)](_0x557f48))[_0x4e0500(0x1ee)];}['_getSnapshotAPIPrefix'](){const _0x1450f0=_0x714a18;var _0xa61a54;return(_0xa61a54=this[_0x1450f0(0x3dc)][_0x1450f0(0x49b)](Jt))!=null?_0xa61a54:this[_0x1450f0(0x49c)]();}[_0x714a18(0x49c)](){const _0x5e8554=_0x714a18;var _0x27214f,_0x15fb4c;const _0x4f678d=this[_0x5e8554(0x3dc)][_0x5e8554(0x49b)](Xt),_0x479356=this[_0x5e8554(0x3dc)][_0x5e8554(0x49b)](ee);return(_0x15fb4c=(_0x27214f=_0x479356==null?void 0x0:_0x479356[_0x5e8554(0x3a4)])!=null?_0x27214f:_0x4f678d)!=null?_0x15fb4c:$n;}async[_0x714a18(0x588)](_0x3c6440,_0x44bdaa){const _0x2f3829=_0x714a18,_0x1d5aed=_0x2f3829(0x3eb)+_0x44bdaa[_0x2f3829(0x283)]+_0x2f3829(0x272)+_0x44bdaa['unitID']+_0x2f3829(0x24c);return(await this[_0x2f3829(0x4a7)][_0x2f3829(0x1bc)](_0x1d5aed,{'params':{'resourceId':JSON['stringify'](_0x44bdaa[_0x2f3829(0x1eb)])}}))['body'];}[_0x714a18(0x518)](){const _0x5f1ab9=_0x714a18;throw new Error(_0x5f1ab9(0x4cf));}[_0x714a18(0x2ff)](){const _0x17bca9=_0x714a18;throw new Error(_0x17bca9(0x4cf));}[_0x714a18(0x52b)](){const _0x1f56ba=_0x714a18;throw new Error(_0x1f56ba(0x4cf));}['copyFileMeta'](){const _0x344480=_0x714a18;throw new Error(_0x344480(0x4cf));}[_0x714a18(0x44a)](){const _0x1e61e8=_0x714a18;throw new Error(_0x1e61e8(0x4cf));}},exports['SnapshotServerOverHTTPService']=Hr([zt(0x0,a[_0x714a18(0x292)]),zt(0x1,a[_0x714a18(0x5ce)](J['HTTPService']))],exports['SnapshotServerOverHTTPService']);function _0x206a(){const _0x59a58f=['bold\x2013px\x20Source\x20Han\x20Sans\x20CN','error$','MSG_FOR_ERROR','history','toDisposable','_clearUndo','TEXT','take','_color','transformByState','_startDocCollabCursor','CHANGESET_REJ','clamp','_timeoutTimer','registerRefRange','subscribe','_state$','transformIMECache','find','Subject','HTTPService','186mlhydw','memberID','_telemetryInfo','SheetsSelectionsService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationSessionService]:\x20socket\x20error','_onRemoteRetry','object','COMMENT_UPDATE','byteOffset','onTransformRemoteChangesetByStateCache','_state','onTransformSelections','bind','newCsEvent','USERS_LEAVE','_resendWithTimeout','updatePermissionPoint','_onRemoteRejected','getInterceptPoints','_telemetryService','disposeUnit','_textBubble','ranges','Fragment','HMAC','getConfig','_getAPIPrefix','INVALID_ARGUMENT','enc','requireSession','off-line-single','initWorkbookPermissionChange','text','_scheduleHeartbeat','isTransformMutationFailure','getItem','_data','_httpService','unknown','Module','_onCursorDelete','handleInsertCol','IBeforeCloseService','getUniverSheetInstance','bottom','_anchor','collab-rect-range-','currentColor','reduce','MessageType','urlChange$','_handleHeartbeatEvent','handleInsertRangeMoveRight','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_initStatusComponent','FAIL','LOGIN_URL_KEY','objectActions','_memberService','COMPRESS_MUTATION_SEND','iterations','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_univerInstanceService','all','RETRY_CONNECTING_MAX_COUNT','error','getMergeData','send','_handleHover','_localCacheService','Utf8','_startCollaboration','_getMergeRange','translate(.97)','auth.needGotoLoginAlert','visibilitychange','_transitionLocked','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_changesetSessionId','FETCH_MISS','_renderManagerService','1em','fromCharCode','_lockTransition','entries','loadDoc','setShapeProps','_undoStacks','href','join','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_unlockTransition','deserializeToCombResponse','univer-online-status','_createSocketURL','name','CommentService','Encryptor','addEventListener','_colorAssignService','awaitingChangeset','_getSignURL','image/gif','_docStateChangeManagerService','pauseCollaboration','DataLoaderController','_sender','tag','APPLY_REJECT','BlockCipher','_docSkeleton','isTransformChangesetsSuccess','objectType','_hideTimer','setItem','mergeOverrideWithDependencies','_initCloseConn','shareReplay','[UniverCollaborationClientPlugin]','_iKey','roles','generateRandomId','onPointerMove$','displayName','Decryptor','OpenSSL','conflict','collaboration-session-retry','red300','IPermissionService','Base64','[OfflineState]:\x20received\x20rejection.','getActiveSheet','Error\x20on\x20receiving\x20event','collabStatus.syncing','UnitEmbedded','_colorIndex','RETRY_CONNECTING_MAX_COUNT_KEY','_cursorInfo$','_initResize','toggleOnline','src','_getSaveTimeout','getDeserializedSheetBlock','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','url','column','userID','getCollabEntity$','ThresholdInterceptorFactory','saveSnapshot','VIEW_MAIN','mode','buffer','HEARTBEAT_TIMEOUT_KEY','COLLAB_SUBMIT_CHANGESET_URL','enableLocalCache','[PendingState]:\x20received\x20rejection.','_getSendChangesetTimeout','_onConnectionFailed','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CONFLICT','updatePermissionObjEvent','_refRangeService','Could\x20not\x20dynamically\x20require\x20\x22','[OfflineState]:\x20received\x20changeset.','offline','[SyncedState]:\x20received\x20acknowledgement.','_onUserJoin','saveChangeset','pipe','_beforeCloseService','_docTransformStateCacheService','Vector2','_sendHeartbeatTimer','range','_initMergeInterceptor','getSkeleton','_commentService','IUndoRedoService','_undoRedoService','/block/','session.collaboration-timeout','data','MUTATION','getRangePointData','LocalCacheService','ISnapshotServerService','Univer','subUnitId','_collabSessionService','fetch_missing','DisposableCollection','newValue','closePath','parseChangesetToProtocol','@univerjs/sheets-ui','getCollabCursors$','online','CHANGESET_SHOULD_RETRY','_getAPIPrefixPath','Shape','NO_OTHER_CLIENTS_EDITING','removeMember','_xformMode','padding','retryConnectingInterval','algo','onTransformRemoteChangesetByIMECache','none','_selfUnitIDs','InsertColCommandId','map','exports','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','parse','DEFAULT_FILE_NAME','assign','key','socket\x20open.','event$','getImageSourceCache','_clearOtherTimers','univer-online','_hash','post','LocaleService','cfg','sheetId','readAsDataURL','SUBMIT_CHANGESET','_disableEditing','DocStateChangeManagerService','_status$','Latin1','_onOffline','_process','stringify','getAllMembers','Workbook','createSocket','_revisionService','_onFetchMissResult','unitID','_queuedRemoteChangesets','authzUrl','[CollaborationState]:\x20apply\x20error!','_collaborationTimeoutTimer','_backgroundColor','delete','CollaborationEvent','5xUOswU','@univerjs-pro/collaboration','disposeWithMe','_name','getUndoRedoMutationParamsCache','APPLY_REVISION_CONFILICT','open$','message$','PasswordBasedCipher','x-univer-host','getResourcesRequest','_substituteUndoStack','_startTelemetryCollaborationNewChangeset','RevisionService','_scene','_assignedColors','isPermissionRej','_joinRoom','TEXT_RANGE_LAYER_INDEX','blockSize','getOffsetConfig','call','_shapes','decryptBlock','startColumn','_changesetReqId','change$','delay','drawWith','8lvDeoW','sid','awaiting_with_pending','session.connection-failed','react','session','[CollaborationSession]','wsSessionTicketUrl','useObservable','_scheduleTimestamp','_entityInit$','length','visibilityState','_onRecvEvent','push','Disposable','_getSessionTicket','fetchThroughInterceptors','close$','YUUMI_URL_COL_OUT_OF_RANGE','loadOfflineData','startTime','RECT','toggleOffline','throttleTime','application/json','_sessions','_send','makeDirty','useRef','toString','UserManagerService','collaboration_new_changeset','_handleJoinEvent','_updateURLWithCurrentState','_logService','ICollaborationSocketService','_change$','InsertRowCommandId','UNRECOGNIZED','_pendingMutations','top','next','ivSize','SheetCollaborationEntity','charAt','DocSkeletonManagerService','0\x200\x2016\x2016','_fetchMissChangesets','sheetID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Inject','YUUMI_RATE_OVER_LIMIT','HmacMD5','fetchMissingChangesets','_updateState','roomInfos','Hasher','_clearHeartbeatTimer','transformMutationsWithChangeset','getRelativeToViewportCoord','_disabled','roomMembers$','joinRsp','COLLAB_WEB_SOCKET_URL_KEY','collabStatus.notCollab','_draw','_onConnectionOpen','/rev/','getDocRanges','permission.title','height','_toggleOnline','[DataLoaderController]','_keyPriorReset','react.element','_render','shouldCloseConn','_id','colorChannel1','_injector','rng','_schedule','off-line-single_clip0_910_343','getTypeOfUnitDisposed$','collab-client.tooltip.reconnect','clearInterval','resend','setParam','contains','createDecryptor','LICENSE_DISTRO_REJECTED','Undefined','166453brScsw','registerHTTPInterceptor','incrementRevOfUnit','&to=','_getCurrentRevision','UnitSnapshot','IContextService','UNIVER_DOC','Optional','registerBeforeClose','SheetCollabCursorShape','number','_scheduleCollaborationTimeoutTimer','_oKey','MergeInterceptorFactory','csRejEvent','transformStack\x20failed!','DeleteRangeMoveUpCommandId','lineTo','UNKNOWN_CMD','6vdQWoN','extend','putCollaborators','_updateSubUnitFromURLParams','fromCollab','finalize','_uiPartsService','_waitCount','_resendTimeout','_instanceService','_onLocalMutation','IUniverInstanceService','enableOfflineEditing','_snapshotService','formatter','transformStateCache','signUrlServerUrl','NOT_FOUND','editingUnit','[CollaborationSessionService]','UNAUTHENTICATED','_getSnapshotAPIPrefix','PENDING','equals','_doCryptBlock','_handler','SHOULD_CLOSE_CONN','some','onMissingChangesets','getMember','compose','collaboration-client.config','createInstance','LIVESHARE_FETCH_OPERATIONS','_transformUndoRedoStack','stopTime','filter','switchMap','ws://127.0.0.1:8000/universer-api/comb/connect','_cursor','_executeRemoteChangeset','_scheduleSaving','_messageService','/collaborator','BehaviorSubject','for','Error','_initCommandExecutedListener','_type','UNIVER_PROJECT','awaiting','keySize','PERMISSION_REJ','getCurrentUser','_notificationService','toRgbString','onRemoteAck','WordArray','from','reqId','requestParams','compute','onlyLocal','now','Rect','enableSingleActiveInstanceLock','[FetchMissState]','_labelPosition','APPLY_DUPLICATED','onTransformIME','@univerjs/sheets','debug','endRow','UniverCollaborationClientPlugin','_submitChangeset','revision','cursorInfo$','SetDocZoomRatioOperation','execute','onMissedChangesetFetched','Tooltip','RefRangeService','_setupSubUnitSync','onlineStatusTitle','UniverNetworkPlugin','currentTheme$','attrs','_hover','findNodePositionByCharIndex','listCollaborators','@univerjs/core','WebURLService','/-/object/-/batch_allowed','dispose','image/jpg','debounce','_candidateSocket','3480777iTEXbX','UNIVER_COLLABORATION_CLIENT_PLUGIN','ThemeService','univer-pro.collaboration-client.single-active-unit-service','_stopTelemetryCollaborationNewChangeset','_onCursorUpdate','objects','on-line-single_clip0_910_349','onCommandExecuted','_unitID','_saveTaskMap','failed\x20to\x20apply\x20missed\x20changesets!','getImage','addObject','fetchMiss','_loadSheet','_collabCursorState$','getVpScrollXYInfoByPosToVp','hasher','format','_handleEvent','...','_initEventListeners','/object','byteLength','toLowerCase','get','_retryConnectingTimer','subunit','onRemoteChangeset','socket\x20close','COMPLETION_FINISHED','SYNCED','objectID','_drawTextRange','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','headers','BufferedBlockAlgorithm','ICommandService','#fff','onRemoteRej','ImageSourceType','_themeService','path','close','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearTimeoutTimer','roomMembers','defineProperty','interceptor','_getRedoStack','MoveRangeCommandId','whenReady','DOC_RANGE_TYPE','_key','font','location','ITransformService','PSEUDO_FETCH_MISSING_RESULT','_event$','_rescheduleHeartbeat','_transformRemoteChangesetByIMECache','icon','image/bmp','engine','getActiveRange','OTHER_CLIENTS_EDITING','_setupBeforeClosingHandler','getColor','onReady','confirm','_session','split','resourceIDs','_remoteChangesetQueue','CONNECTOR_DATA_TOO_LARGE','body','_startSheetCollabCursor','APPLY_PERMISSION_DENIED','MemberService','ImageUploadStatusType','_handleLeaveEvent','[OfflineState]:\x20received\x20acknowledgement.','onStarting','pluginName','_getAnchorBounding','_initStatusListener','unsubscribe','reset','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','collabStatus.conflict','default','children','1696348dHApgb','saveOfflineData','debounceTime','_cipher','NEW_CHANGESETS','ILogService','_checkMissing','_parse','_acknowledgedAwaitingChangeset','max','_updateCollabCursors','_transformSelections','_socketReady','USERS_ENTER','_cursors','runRefRangeMutations','function','[CollaborationEntity]','CHANGESET_ACK','JOINING','transformSelections','encode','updateOfflineData','_cursorShapes','_anchorDot','transformMutation','unitId','Warning','[SyncedState]:\x20received\x20rejection.','routeKey','has','resolve','_transformRemoteChangesetByStateCache','defIds','_imageSourceCache','_online','collabSubmitChangesetUrl','_onRemoteACK','_collabCursorController','size','startsWith','\x20in\x20_schedule.','/universer-api/snapshot','catch','_transformIMECache','_registerRenderDependencies','_eventUnsubscribe','COLLAB_WEB_SOCKET_URL','_config','createElement','LOCAL_CACHE_INTERVAL_KEY','SessionStatus','decrypt','restore','_hovered','@univerjs/drawing','RxDisposable','DocSelectionManagerService','ticket','useCallback','HELLO','asObservable','WebSocketService','getAncestorScale','IRemoteInstanceService','substr','EffectRefRangId','sessionStatus','flatMap','mixIn','COMPRESS_MUTATION_APPLY','defaultProps','onMouseMove','handleMoveRange','_invKeySchedule','@univerjs/telemetry','SNAPSHOT_SERVER_URL_KEY','/resources','cursorInfo','SEND_CHANGESET_TIMEOUT_KEY','_refreshCollabCursors','hostname','unshift','every','setAlpha','getOwnPropertyDescriptor','_clearScheduledTask','13RoTkDS','_registerDependencies','replace','APPLY_NON_SEQUENTIAL_REVISION','sendChangesetTimeout','_exhaustRemoteChangesetQueue','sessionStatus$','_onConflict','params','LICENSE_EXPORT_SIZE_EXCEEDED','Hex','black','DocCollaborationEntity','xlink:href','onload','SetWorksheetActivateCommand','_commandService','with','setInterval','status','_syncEditingCollabCursor','Unknown\x20user','_init','onCommentUpdate','getWorkbookSelections','show','_sessionStatus$','ciphertext','/unit/','Base','AWAITING','apply','image/jpeg','@univerjs/design','evenodd','color','_resendTimer','_createInitialStateImpl','then','_getLoginPath','POST','collaboration.closeRoom','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','c1Prime','csShouldRetryEvent','type','transform','_docSyncEditingCollabCursorService','EmptyMutation','reconnect','url(#$1','RemoveColCommandId','appendMutation','_transformPreviousActiveRange','_sendHeartbeat','onlineStatus','getFocusedUnit','CommandType','_getScale','commentUpdate$','IConfigService','RECV','DeleteRangeMoveLeftCommandId','_loadDoc','{fileID}','salt','eventID','_doFinalize','_minBufferSize','_socketMessageSubscription','_members','unit','_getDownloadEndpointURL','_context','liveShareNewHost','selections','DesktopCollaborationStatusDisplayController','_removeCollabCursors','_map','&source=','__creator','getSheetObject','_createSocket','isTransformMutationsWithChangesetSuccess','substring','_tryReconnect','touchDependencies','_localStorageService','jsxs','[CollaborationUndoRedoService]','append','UNIVER_UNKNOWN','Cipher','title','IImageIoService','save','mapDocumentTypeToUniverType','getUnhiddenWorksheets','_roomMembers$','CHANGESET_REVISION_CONFILICT','socket$','_getCtorByUniverType','ImageIoService','current','url(#off-line-single_clip0_910_343)','_updateLocalCache','collaMsg','hide','svg','includes','_docSkeletonManagerService','prototype','override','splice','duration','HEARTBEAT','VIEWPORT_KEY','Injector','_listenToOnlineEvent','abs','ColorKit','create','getMemberID','createIdentifier','UNIVER_SHEET','_iv','_retryCount','_hasher','getUnitStatus$','workbook','ReplaySubject','loginUrlKey','RegularPolygon','file','slice','_initDependencies','_socketService','textEncoder','getUnitId','mutations','_transformService','isEditing','\x0aAfter:\x20','_applyRemoteChangeset','getRoom','_singleActiveUnitService','listRoles','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','disableLocalCache','_incrementRevisionNumber','_createInitialState','_prevBlock','lib','_tryEnsureSocket','_saveCache','collabStatus.fetchMiss','EXCHANGE_SIGN_URL_SERVER_URL_KEY','EvpKDF','clone','className','removeParam','10119xwmviF','_docTransformIMECacheService','_unitOnClients','_heartbeatTimer','measureText','add','_initUnitPermissionChange','serializeRangeWithSheet','saveSheetBlock','INTERNAL_ERROR','_onJoinRoomEvent','IUIPartsService','SNAPSHOT_URL_KEY','encodeURIComponent','skeleton','_transformHistoryAndStateStack','_getUploadFileURL','put','PERMISSION_DENIED','setShowComponents','_append','allowed','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','indexOf','onRemoteRetry','UNDEFINED','blue400','crypto','onPointerEnter$','_HTTPService','_onUserLeave','_entities','_decreaseWaiting','c2Prime','COLLAB_SUBMIT_CHANGESET_URL_KEY','transformRemoteChangeset','CollaborationSession','UniverCollaborationPlugin','getCurrentSelections','_lastPointer','sheets','pending','_document','_socket','CollaborationSocketService','baseRev','HttpExport','originalMeta','JOIN','floor','createEncryptor','react.fragment','_nDataBytes','IMessageService','_toggleOffline','SerializableCipher','ONLINE','session.will-retry','closeSession','NoPadding','/fetchmissing?from=','symbol','@univerjs/docs','@univerjs/ui','collaboration.single-unit.warning','undoState','setTimeout','collabStatus.synced','/universer-api/stream/file/upload','min','\x20to\x20','exhaustSavingTask','JOIN_ROOM_NOT_ALLOWED','hovered','SnapshotServerOverHTTPService','#FFF','_waitForHeartbeatResponse','/universer-api/authz','concat','responseType','_redoStacks','collab-text-range-','permission.content','createCollaborator','getCoordByCell','getUnit','connection\x20error','_createHandler','textRanges','RemoveRowCommandId','CompressMutationService','update','DependentOn','JOIN_ROOM_FULL','_socket$','univer-online-status-title','charCodeAt','AuthzIoHttpService','submit\x20changeset\x20error!','fromEvent','transformChangesets','_initRequestHeader','TOO_MANY_REQUESTS','LIVESHARE_NEW_HOST','unit-cache-','collaboration-client.offline-data-not-saved','_drawRectRange','currentSkeleton$','origin','ENSURE_SNAPSHOT_EXECUTION','WorkbookEditablePermission','_replaceFileID','onSendChangeset','_clearCollaborationTimeoutTimer','pushState','getRenderById','idSuffix','words','CollaborationController','LocalUndoRedoService','getCurrent','searchParams','replaceDocRanges','_sendingTimer','useDependency','fill','_transformStateCache','_mode','NOT_COLLAB','getOwnPropertySymbols','_clearLocalCache','clipPath','INGEST','setCurrentUser','randomUUID','status$','addImageSourceCache','22UXTkYi','ERROR_IMAGE','IDLE','AES','SetSelectionsOperation','&assign=','connectInjector','UUID','univer-offline','_permissionService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_scheduleClearOtherTimer','5594676REefvg','redoState','HEARTBEAT_TIMEOUT','DocIMEInputManagerService','\x20-\x20','setWaitCount','Tools','ReactCurrentOwner','getCellPositionByOffset','getSheetBlock','rev','telemetry\x20info\x20is\x20not\x20initialized','_sheetSkeletonManagerService','saveImage','docStateChange$','SHA1','_clearRedo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','forEach','ERROR_EXCEED_SIZE','_unitStatus','_nRounds','_transformUndoredo','_listenToOfflineEvent','snapshotServerUrl','randomBytes','repeat','_showConflictNotification','134532JSzlQg','__Key__','ref','UniverInstanceType','_compressMutationService','_removeRoom','assignAColorForMemberID','clearTimeout','_removeClearOtherTimer','transformUndoRedo','reverse','SNAPSHOT_INVALID_SNAPSHOT','_collaborationPaused','csAckEvent','_doReset','M0\x200H16V16H0z','liveShareOperation','collabStatus.offline','kdf','_getUndoStack','UPDATE_CURSOR','backgroundColor','_range','_cachedData','onPointerLeave$','getStateCache','CollaborationSessionService','propertyIsEnumerable','UNIVER_SLIDE','_onRemoteChangeset','OFFLINE','commentUpdateEvent','takeUntil','_awaitingChangeset','getCollabEntity','parseProtocolChangeset','save\x20fail\x20reason\x20is\x20','m2Prime','executeCommand','_ensureSubject','set','updateCursorEvent','encrypt','synced','@univerjs/rpc','getTypeOfUnitAdded$','sigBytes','collabCursorState$','deepClone','_createHmacHelper','method','UNKNOWN_CODE','_configService','combineLatest','onTransformState','hidden','_getSheetObject','code','msCrypto','isArray','_snapshotServerService','UPDATE_PERMISSION_OBJ','/universer-api/file/{fileID}/sign-url','_shouldReportTelemetry','defs','CollaborationStatus','merge','/universer-api/snapshot/','LIVESHARE_TERMINATE','ITelemetryService','CollaborationEntity','InsertRangeMoveDownCommandId','CipherParams','univer-pro.collaboration-client-socket-service','_docTransformSelectionsService','forwardRef','_roomMembers','handleDeleteRangeMoveLeft','moveTo','selection','getSheetBySheetId','_http','reject','_sheetTransformSelectionsService','result','sessionTicket','_onCombEvent','_isPermissionRej','setStateCache','leaveEvent','LICENSE_IMPORT_SIZE_EXCEEDED','SUCCUSS','_throwTelemetryCollaborationNewChangeset','_updateLocalCursor','1326670YxGmee','hasOwnProperty','IRenderManagerService','_ws','subscribeEvent','_collaborationSessionService','values','_userManagerService','div','getParam','arc','ALREADY_EXISTS','b64DecodeUnicode','init','complete','fetching\x20missing\x20changesets\x20from\x20','getValue','dispose$','BASE64','SnapshotService','onSyncEditingCollabCursor','verdancy600','use','JSONX','[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.','isActive','state','_syncEditingCollabCursorService','deserializeRangeWithSheet','SEND_CHANGESET_TIMEOUT','getSheetId','cmd','_reverseMap','_replayCachedMutations','handleIRemoveCol','random','_createHelper','IURLService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverIcon','isInternalEditorID','COLORS','FileId','actions','serializeCombRequest','m1Prime','_substituteRedoStack','loadSheet','replaceState','Malformed\x20UTF-8\x20data','[PendingState]:\x20received\x20acknowledgement.','state$','round','_commentUpdate$','FETCH_MISSING','MD5','width','updateMember','focused$','getCurrentUnitForType','clear','SNAPSHOT_HAS_BEEN_REMOVED','_ENC_XFORM_MODE','getCurrentRevOfUnit','registerDependencies','getViewport','pad','ACTIVE_UNIT_EVENT_CHANNEL','getLatestCsReqIdBySid','_updateStatus','LIVESHARE_REQUEST_HOST','_urlService','@univerjs/engine-formula','/role','jsx','uploadFileServerUrl','LIVESHARE_OPERATION','$super','RichTextEditingMutation','SheetSkeletonManagerService','\x0aCurrent:\x20','collab-text-anchor-','doc.mutation.rich-text-editing','localeService','_transformStack','getRandomValues','_drawAnchor','getTime','ceil','FromArray','mapTo','string','gold400','isTransformMutationsWithChangesetFailure','ERROR_IMAGE_TYPE','_onMessage','LEAVE','_localeService','syncEditingCollabCursor','/allowed','socketService','/-/object/list'];_0x206a=function(){return _0x59a58f;};return _0x206a();}var kr=Object[_0x714a18(0x1d2)],Br=Object[_0x714a18(0x254)],Wr=(_0x1b8975,_0x23f8ac,_0x299b36,_0x436dab)=>{const _0x2a2760=_0x714a18;for(var _0x4f12df=_0x436dab>0x1?void 0x0:_0x436dab?Br(_0x23f8ac,_0x299b36):_0x23f8ac,_0x3a4eef=_0x1b8975[_0x2a2760(0x5a6)]-0x1,_0x49a565;_0x3a4eef>=0x0;_0x3a4eef--)(_0x49a565=_0x1b8975[_0x3a4eef])&&(_0x4f12df=(_0x436dab?_0x49a565(_0x23f8ac,_0x299b36,_0x4f12df):_0x49a565(_0x4f12df))||_0x4f12df);return _0x436dab&&_0x4f12df&&kr(_0x23f8ac,_0x299b36,_0x4f12df),_0x4f12df;},Ne=(_0x220629,_0x1efbf0)=>(_0x4995a8,_0x2944c5)=>_0x1efbf0(_0x4995a8,_0x2944c5,_0x220629);let gt=class extends a[_0x714a18(0x36e)]{constructor(_0x4920c6,_0x27a0ef,_0x466483,_0x130c08,_0x168b2b){const _0x95e8f1=_0x714a18;super(_0x4920c6,_0x27a0ef,_0x466483),this[_0x95e8f1(0x2e2)]=_0x130c08,this[_0x95e8f1(0x5be)]=_0x168b2b;}[_0x714a18(0x3b1)](_0x503743,_0x2254f4){const _0x573039=_0x714a18,_0x5ca548=this[_0x573039(0x3bb)](_0x503743);if(_0x5ca548)try{const _0x4d563a=this[_0x573039(0x45a)](_0x5ca548,_0x2254f4);this[_0x573039(0x589)](_0x503743,_0x4d563a);}catch(_0x248fa4){this[_0x573039(0x5be)]['error']('[CollaborationUndoRedoService]',_0x248fa4),this[_0x573039(0x471)](_0x503743);}const _0x2929fe=this['_getRedoStack'](_0x503743);if(_0x2929fe)try{const _0x3907f8=this[_0x573039(0x45a)](_0x2929fe,_0x2254f4);this['_substituteRedoStack'](_0x503743,_0x3907f8);}catch(_0x259752){this[_0x573039(0x5be)][_0x573039(0x4c3)](_0x259752),this[_0x573039(0x39c)](_0x503743);}}[_0x714a18(0x471)](_0x1326ed){const _0x41464a=_0x714a18,_0x36c6a8=this[_0x41464a(0x3bb)](_0x1326ed);_0x36c6a8&&(_0x36c6a8[_0x41464a(0x5a6)]=0x0,this[_0x41464a(0x44b)]());}[_0x714a18(0x39c)](_0x150ee3){const _0x4a93b0=_0x714a18,_0x209d9c=this[_0x4a93b0(0x1d4)](_0x150ee3);_0x209d9c&&(_0x209d9c[_0x4a93b0(0x5a6)]=0x0,this[_0x4a93b0(0x44b)]());}['_substituteUndoStack'](_0x165f91,_0x5e2191){const _0x1840dd=_0x714a18;this[_0x1840dd(0x4d9)][_0x1840dd(0x3d0)](_0x165f91,_0x5e2191),this[_0x1840dd(0x44b)]();}[_0x714a18(0x434)](_0x2c26c5,_0x55bb9f){const _0x5905ef=_0x714a18;this[_0x5905ef(0x347)]['set'](_0x2c26c5,_0x55bb9f),this[_0x5905ef(0x44b)]();}[_0x714a18(0x45a)](_0x110d94,_0xdae411){const _0x54240b=_0x714a18,_0xd2debf=[];let _0x51e627=_0xdae411,_0x350a7e=_0xdae411;for(let _0x1f9575=_0x110d94['length']-0x1;_0x1f9575>=0x0;_0x1f9575--){const {unitID:_0x169d64,undoMutations:_0x2fb480,redoMutations:_0x4a49aa}=_0x110d94[_0x1f9575],_0x3ca6b2=this[_0x54240b(0x2e2)]['transformMutationsWithChangeset'](_0x51e627,_0x2fb480),_0x34b981=this[_0x54240b(0x2e2)][_0x54240b(0x5d6)](_0x350a7e,_0x4a49aa);if(p['isTransformMutationsWithChangesetFailure'](_0x3ca6b2)||p[_0x54240b(0x463)](_0x34b981)){this[_0x54240b(0x5be)][_0x54240b(0x4c3)](_0x54240b(0x2af),_0x54240b(0x608),_0x3ca6b2,_0x34b981);break;}_0x51e627=_0x3ca6b2[_0x54240b(0x281)],_0x350a7e=_0x34b981[_0x54240b(0x281)],_0xd2debf[_0x54240b(0x5a9)]({'unitID':_0x169d64,'undoMutations':_0x3ca6b2[_0x54240b(0x3cd)],'redoMutations':_0x34b981['m2Prime']});}return _0xd2debf[_0x54240b(0x3b2)]();}};gt=Wr([Ne(0x0,a[_0x714a18(0x617)]),Ne(0x1,a[_0x714a18(0x1c8)]),Ne(0x2,a[_0x714a18(0x5fe)]),Ne(0x3,p[_0x714a18(0x1db)]),Ne(0x4,a[_0x714a18(0x204)])],gt);class Mn extends a[_0x714a18(0x237)]{constructor(){const _0x358413=_0x714a18;super(),I(this,_0x358413(0x4b4)),this[_0x358413(0x4b4)]=A['fromEvent'](window,'popstate')[_0x358413(0x52c)](A[_0x358413(0x3c8)](this['dispose$']),A[_0x358413(0x4f7)](0x1),A[_0x358413(0x460)](void 0x0));}[_0x714a18(0x5f3)](_0xde5bd1,_0x568e19,_0x426dbd=!0x1){const _0x107adf=_0x714a18,_0xeb2f14=new URL(window[_0x107adf(0x1da)]['href']);_0xeb2f14['searchParams'][_0x107adf(0x3d0)](_0xde5bd1,_0x568e19),_0x426dbd?window[_0x107adf(0x46f)]['replaceState']('','',_0xeb2f14[_0x107adf(0x5b9)]()):window[_0x107adf(0x46f)]['pushState']('','',_0xeb2f14[_0x107adf(0x5b9)]());}[_0x714a18(0x2f6)](_0x44e5b8,_0x185a12=!0x1){const _0x468531=_0x714a18,_0x51d4ec=new URL(window[_0x468531(0x1da)][_0x468531(0x4da)]);_0x51d4ec[_0x468531(0x370)][_0x468531(0x57c)](_0x44e5b8),_0x185a12?window[_0x468531(0x46f)][_0x468531(0x436)]('','',_0x51d4ec['toString']()):window[_0x468531(0x46f)][_0x468531(0x369)]('','',_0x51d4ec[_0x468531(0x5b9)]());}[_0x714a18(0x40f)](_0x35de96){const _0x44d9c8=_0x714a18;var _0x94de24;return(_0x94de24=new URL(window[_0x44d9c8(0x1da)][_0x44d9c8(0x4da)])[_0x44d9c8(0x370)]['get'](_0x35de96))!=null?_0x94de24:void 0x0;}}var An=Object[_0x714a18(0x1d2)],Fr=Object[_0x714a18(0x254)],Vr=(_0x3a0905,_0xf23f16,_0x1e3d82)=>_0xf23f16 in _0x3a0905?An(_0x3a0905,_0xf23f16,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e3d82}):_0x3a0905[_0xf23f16]=_0x1e3d82,Gr=(_0x220076,_0x533c65,_0xbbf73e,_0x466a7c)=>{for(var _0x3b0a00=_0x466a7c>0x1?void 0x0:_0x466a7c?Fr(_0x533c65,_0xbbf73e):_0x533c65,_0x492bf5=_0x220076['length']-0x1,_0x29d0c2;_0x492bf5>=0x0;_0x492bf5--)(_0x29d0c2=_0x220076[_0x492bf5])&&(_0x3b0a00=(_0x466a7c?_0x29d0c2(_0x533c65,_0xbbf73e,_0x3b0a00):_0x29d0c2(_0x3b0a00))||_0x3b0a00);return _0x466a7c&&_0x3b0a00&&An(_0x533c65,_0xbbf73e,_0x3b0a00),_0x3b0a00;},He=(_0x450faf,_0x49cd7b)=>(_0x549695,_0xa0d356)=>_0x49cd7b(_0x549695,_0xa0d356,_0x450faf),Yr=(_0x31b322,_0x4d3101,_0x5c5596)=>Vr(_0x31b322,_0x4d3101+'',_0x5c5596);const Kr=_0x714a18(0x1a3);exports[_0x714a18(0x18a)]=class extends a['Plugin']{constructor(_0x834d6a=zn,_0x527ce6,_0x4bdf0f,_0x370e32,_0x448e2c){const _0x213204=_0x714a18;super(),this[_0x213204(0x22f)]=_0x834d6a,this['_logService']=_0x527ce6,this[_0x213204(0x4d2)]=_0x4bdf0f,this[_0x213204(0x5eb)]=_0x370e32,this[_0x213204(0x3dc)]=_0x448e2c;const {..._0x23741f}=this[_0x213204(0x22f)];this[_0x213204(0x3dc)]['setConfig'](ee,_0x23741f);}[_0x714a18(0x1f5)](){const _0x377ae5=_0x714a18;this[_0x377ae5(0x257)](),this[_0x377ae5(0x2dd)]();}[_0x714a18(0x1e7)](){const _0x5ca496=_0x714a18;a[_0x5ca496(0x2ac)](this[_0x5ca496(0x5eb)],[[Ve]]);}['onRendered'](){const _0x267551=_0x714a18;this[_0x267551(0x22c)]();}[_0x714a18(0x257)](){const _0x5d5345=_0x714a18;var _0x435b85,_0x1b1237,_0x19b568,_0x15101d;this[_0x5d5345(0x5eb)][_0x5d5345(0x21d)](a['IUndoRedoService'])&&this['_logService'][_0x5d5345(0x4c3)](_0x5d5345(0x4f8),_0x5d5345(0x39d));const _0x26a3b4=[[a[_0x5d5345(0x535)],{'useClass':gt}],[exports[_0x5d5345(0x3c2)]],[yt],[Dt,{'useClass':Mn}],[exports[_0x5d5345(0x1f1)]],[exports['LocalCacheService']],[J[_0x5d5345(0x23d)]],[Be],[Fe],[ke],[We],[Tt],[Ge],[Ye],[bt],[Ke],[Et,{'useClass':(_0x1b1237=(_0x435b85=this['_config'])==null?void 0x0:_0x435b85[_0x5d5345(0x46a)])!=null?_0x1b1237:exports[_0x5d5345(0x323)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x5d5345(0x341)]}],[a['IAuthzIoService'],{'useClass':exports[_0x5d5345(0x358)]}],[ne[_0x5d5345(0x2b4)],{'useClass':exports['ImageIoService']}],[exports[_0x5d5345(0x36d)]],[exports[_0x5d5345(0x4eb)]],[exports['DesktopCollaborationStatusDisplayController']],[Ve],[De]];(_0x19b568=this[_0x5d5345(0x22f)])!=null&&_0x19b568[_0x5d5345(0x182)]&&_0x26a3b4[_0x5d5345(0x5a9)]([qe,{'useClass':Oi}]),a[_0x5d5345(0x446)](this[_0x5d5345(0x5eb)],a[_0x5d5345(0x4f5)](_0x26a3b4,(_0x15101d=this['_config'])==null?void 0x0:_0x15101d[_0x5d5345(0x2c6)]));}[_0x714a18(0x22c)](){const _0xfa3bd2=_0x714a18;this[_0xfa3bd2(0x580)](this[_0xfa3bd2(0x4d2)]['registerRenderModule'](a[_0xfa3bd2(0x3ab)]['UNIVER_DOC'],[pt])),this[_0xfa3bd2(0x580)](this[_0xfa3bd2(0x4d2)]['registerRenderModule'](a['UniverInstanceType'][_0xfa3bd2(0x2d2)],[mt]));}[_0x714a18(0x2dd)](){const _0xa24192=_0x714a18;var _0x7a512b,_0x4fb0f1;this[_0xa24192(0x5eb)][_0xa24192(0x1bc)](J['HTTPService'])[_0xa24192(0x5f9)]({'priority':0x14,'interceptor':J[_0xa24192(0x517)]({'maxParallel':0x6})}),(_0x7a512b=this[_0xa24192(0x22f)])!=null&&_0x7a512b[_0xa24192(0x618)]||this[_0xa24192(0x5eb)][_0xa24192(0x1bc)](exports['LocalCacheService'])[_0xa24192(0x2ea)](),(_0x4fb0f1=this[_0xa24192(0x22f)])!=null&&_0x4fb0f1['enableAuthServer']&&a[_0xa24192(0x2ac)](this[_0xa24192(0x5eb)],[[Ge]]),a[_0xa24192(0x2ac)](this['_injector'],[[Ye],[De],[exports['DataLoaderController']],[exports[_0xa24192(0x36d)]],[exports[_0xa24192(0x2a2)]],[Ke]]);}},Yr(exports[_0x714a18(0x18a)],_0x714a18(0x1f6),Kr),exports[_0x714a18(0x18a)]=Gr([a[_0x714a18(0x353)](p[_0x714a18(0x31c)],J[_0x714a18(0x195)]),He(0x1,a[_0x714a18(0x204)]),He(0x2,K[_0x714a18(0x408)]),He(0x3,a[_0x714a18(0x5ce)](a['Injector'])),He(0x4,a[_0x714a18(0x292)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=bn,exports[_0x714a18(0x319)]=sn,exports[_0x714a18(0x5db)]=Zt,exports[_0x714a18(0x3e9)]=q,exports['CollaborationStatusDisplay']=En,exports[_0x714a18(0x4e2)]=bt,exports['HEARTBEAT_INTERVAL_KEY']=Qt,exports[_0x714a18(0x51c)]=It,exports[_0x714a18(0x5bf)]=Et,exports[_0x714a18(0x42b)]=Dt,exports[_0x714a18(0x231)]=nn,exports[_0x714a18(0x4ba)]=rn,exports[_0x714a18(0x50b)]=tn,exports[_0x714a18(0x24e)]=Hn,exports[_0x714a18(0x24b)]=Xt,exports[_0x714a18(0x303)]=Jt,exports[_0x714a18(0x232)]=se,exports[_0x714a18(0x602)]=vn,exports[_0x714a18(0x19c)]=Mn,exports[_0x714a18(0x4de)]=cn,exports[_0x714a18(0x432)]=ln;
|