@univerjs-pro/collaboration-client 0.7.0-nightly.202505081607 → 0.7.0-nightly.202505101606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x445966=_0x1614;(function(_0x1c323b,_0x333773){var _0x2023ff=_0x1614,_0x4a92d9=_0x1c323b();while(!![]){try{var _0x1ec2ec=-parseInt(_0x2023ff(0x4c3))/0x1*(parseInt(_0x2023ff(0x2b1))/0x2)+-parseInt(_0x2023ff(0x2d3))/0x3+-parseInt(_0x2023ff(0x2d0))/0x4+-parseInt(_0x2023ff(0x401))/0x5*(parseInt(_0x2023ff(0x199))/0x6)+-parseInt(_0x2023ff(0x32a))/0x7+-parseInt(_0x2023ff(0x412))/0x8+-parseInt(_0x2023ff(0x3da))/0x9*(-parseInt(_0x2023ff(0x2a1))/0xa);if(_0x1ec2ec===_0x333773)break;else _0x4a92d9['push'](_0x4a92d9['shift']());}catch(_0x43103e){_0x4a92d9['push'](_0x4a92d9['shift']());}}}(_0x82d4,0x79260));var wt=Object[_0x445966(0x25d)],Lt=(_0x270ebb,_0x269456,_0x442798)=>_0x269456 in _0x270ebb?wt(_0x270ebb,_0x269456,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x442798}):_0x270ebb[_0x269456]=_0x442798,A=(_0x5d3557,_0x25e5ac,_0x1f6c18)=>Lt(_0x5d3557,typeof _0x25e5ac!='symbol'?_0x25e5ac+'':_0x25e5ac,_0x1f6c18);Object[_0x445966(0x25d)](exports,Symbol[_0x445966(0x475)],{'value':_0x445966(0x2d9)});const a=require(_0x445966(0x314)),j=require('rxjs'),V=require('rxjs/operators'),g=require(_0x445966(0x426)),q=require(_0x445966(0x3f8)),Mt=require(_0x445966(0x462)),ut=require('@univerjs/docs'),Z=require(_0x445966(0x18d)),J=require(_0x445966(0x4b1)),xt=require(_0x445966(0x200)),dt=_0x445966(0x1a2),kt='/universer-api/snapshot',vt=_0x445966(0x210),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x445966(0x183),ft=_0x445966(0x230),$t=_0x445966(0x455),pt=_0x445966(0x26b),Bt=0x7530,je=_0x445966(0x4a3),gt=0x4e20,Ft=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x445966(0x4e8),Kt=_0x445966(0x28d),Et=_0x445966(0x4ea),Yt=_0x445966(0x2d4),qt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',zt=_0x445966(0x436);var Ct=(_0xea542f=>(_0xea542f[_0xea542f[_0x445966(0x18a)]=0x0]=_0x445966(0x18a),_0xea542f[_0xea542f['OK']=0x1]='OK',_0xea542f[_0xea542f[_0x445966(0x405)]=0x2]=_0x445966(0x405),_0xea542f[_0xea542f[_0x445966(0x4da)]=0x3]=_0x445966(0x4da),_0xea542f[_0xea542f[_0x445966(0x33b)]=0x4]=_0x445966(0x33b),_0xea542f[_0xea542f[_0x445966(0x479)]=0x5]=_0x445966(0x479),_0xea542f[_0xea542f['ALREADY_EXISTS']=0x6]=_0x445966(0x4a0),_0xea542f[_0xea542f[_0x445966(0x46f)]=0x7]=_0x445966(0x46f),_0xea542f[_0xea542f[_0x445966(0x4f4)]=0x8]=_0x445966(0x4f4),_0xea542f[_0xea542f[_0x445966(0x3cc)]=0x9]=_0x445966(0x3cc),_0xea542f[_0xea542f[_0x445966(0x2bf)]=0xa]=_0x445966(0x2bf),_0xea542f[_0xea542f[_0x445966(0x253)]=0x1389]=_0x445966(0x253),_0xea542f[_0xea542f[_0x445966(0x3c4)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xea542f[_0xea542f[_0x445966(0x251)]=0x1772]=_0x445966(0x251),_0xea542f[_0xea542f[_0x445966(0x1b2)]=0x1773]=_0x445966(0x1b2),_0xea542f[_0xea542f[_0x445966(0x201)]=0x1b59]=_0x445966(0x201),_0xea542f[_0xea542f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xea542f[_0xea542f[_0x445966(0x2e4)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xea542f[_0xea542f['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xea542f[_0xea542f[_0x445966(0x44b)]=0x1b5d]='APPLY_DUPLICATED',_0xea542f[_0xea542f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x445966(0x1ab),_0xea542f[_0xea542f[_0x445966(0x409)]=0x2329]=_0x445966(0x409),_0xea542f[_0xea542f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x445966(0x3a0),_0xea542f[_0xea542f[_0x445966(0x2ab)]=0x232b]=_0x445966(0x2ab),_0xea542f[_0xea542f[_0x445966(0x2aa)]=0x232c]=_0x445966(0x2aa),_0xea542f[_0xea542f[_0x445966(0x241)]=0x232d]=_0x445966(0x241),_0xea542f[_0xea542f[_0x445966(0x49b)]=0x2711]=_0x445966(0x49b),_0xea542f[_0xea542f[_0x445966(0x3f2)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xea542f[_0xea542f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x445966(0x23d),_0xea542f[_0xea542f[_0x445966(0x45b)]=0x2714]=_0x445966(0x45b),_0xea542f[_0xea542f[_0x445966(0x44a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xea542f[_0xea542f[_0x445966(0x4aa)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xea542f[_0xea542f[_0x445966(0x482)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xea542f[_0xea542f[_0x445966(0x3f0)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xea542f[_0xea542f[_0x445966(0x3fa)]=0x271e]=_0x445966(0x3fa),_0xea542f[_0xea542f['YUUMI_AI_RUN_FAILED']=0x271f]=_0x445966(0x227),_0xea542f[_0xea542f[_0x445966(0x44c)]=0x2af9]=_0x445966(0x44c),_0xea542f[_0xea542f[_0x445966(0x2f1)]=0x2ee1]=_0x445966(0x2f1),_0xea542f[_0xea542f[_0x445966(0x4d8)]=0x2ee2]=_0x445966(0x4d8),_0xea542f[_0xea542f['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xea542f[_0xea542f[_0x445966(0x46e)]=0x2ee4]=_0x445966(0x46e),_0xea542f[_0xea542f[_0x445966(0x3ab)]=0x2ee5]=_0x445966(0x3ab),_0xea542f[_0xea542f[_0x445966(0x17e)]=0x32c9]=_0x445966(0x17e),_0xea542f[_0xea542f[_0x445966(0x4c0)]=0x32ca]=_0x445966(0x4c0),_0xea542f[_0xea542f[_0x445966(0x356)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xea542f[_0xea542f[_0x445966(0x276)]=-0x1]=_0x445966(0x276),_0xea542f))(Ct||{}),X=(_0x561677=>(_0x561677[_0x561677[_0x445966(0x30b)]=0x0]=_0x445966(0x30b),_0x561677[_0x561677[_0x445966(0x2f0)]=0x1]=_0x445966(0x2f0),_0x561677[_0x561677[_0x445966(0x480)]=0x2]='UNIVER_SHEET',_0x561677[_0x561677[_0x445966(0x1ec)]=0x3]=_0x445966(0x1ec),_0x561677[_0x561677[_0x445966(0x1e7)]=0x4]=_0x445966(0x1e7),_0x561677[_0x561677[_0x445966(0x276)]=-0x1]='UNRECOGNIZED',_0x561677))(X||{}),W=(_0x4bac9f=>(_0x4bac9f[_0x4bac9f[_0x445966(0x499)]=0x0]='UNKNOWN_CMD',_0x4bac9f[_0x4bac9f[_0x445966(0x2ff)]=0x1]='HELLO',_0x4bac9f[_0x4bac9f['JOIN']=0x2]=_0x445966(0x484),_0x4bac9f[_0x4bac9f[_0x445966(0x1bf)]=0x3]=_0x445966(0x1bf),_0x4bac9f[_0x4bac9f[_0x445966(0x1ce)]=0x4]=_0x445966(0x1ce),_0x4bac9f[_0x4bac9f['HEARTBEAT']=0x5]=_0x445966(0x363),_0x4bac9f[_0x4bac9f['RECV']=0x6]='RECV',_0x4bac9f[_0x4bac9f[_0x445966(0x276)]=-0x1]=_0x445966(0x276),_0x4bac9f))(W||{}),ae=(_0xb5de9a=>(_0xb5de9a[_0xb5de9a[_0x445966(0x33f)]=0x0]=_0x445966(0x33f),_0xb5de9a[_0xb5de9a['OK']=0x1]='OK',_0xb5de9a[_0xb5de9a[_0x445966(0x1b7)]=0x2]=_0x445966(0x1b7),_0xb5de9a[_0xb5de9a[_0x445966(0x397)]=0x3e9]='JOIN_ROOM_FULL',_0xb5de9a[_0xb5de9a[_0x445966(0x49f)]=0x3ea]=_0x445966(0x49f),_0xb5de9a[_0xb5de9a[_0x445966(0x259)]=0x3eb]=_0x445966(0x259),_0xb5de9a[_0xb5de9a['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x445966(0x49a),_0xb5de9a[_0xb5de9a[_0x445966(0x276)]=-0x1]=_0x445966(0x276),_0xb5de9a))(ae||{}),Tt=(_0x518815=>(_0x518815[_0x518815[_0x445966(0x317)]=0x0]='Undefined',_0x518815[_0x518815[_0x445966(0x4ab)]=0x1]=_0x445966(0x4ab),_0x518815[_0x518815[_0x445966(0x1d3)]=0x2]=_0x445966(0x1d3),_0x518815[_0x518815['UnitEmbedded']=0x3]=_0x445966(0x38e),_0x518815[_0x518815[_0x445966(0x42f)]=0x4]='UnitSnapshot',_0x518815[_0x518815[_0x445966(0x47b)]=0x5]=_0x445966(0x47b),_0x518815[_0x518815[_0x445966(0x276)]=-0x1]=_0x445966(0x276),_0x518815))(Tt||{});const Y=_0x445966(0x3e0),Jt={};var Q=(_0x56126e=>(_0x56126e[_0x445966(0x211)]='OTHER_CLIENT_EDITING',_0x56126e['PERMISSION_DENIED']=_0x445966(0x4da),_0x56126e[_0x445966(0x1db)]=_0x445966(0x1db),_0x56126e['CLOSE_ROOM']='CLOSE_ROOM',_0x56126e[_0x445966(0x358)]='JOIN_ROOM_FAILED',_0x56126e[_0x445966(0x1de)]=_0x445966(0x1de),_0x56126e['SOCKET_FAILED']=_0x445966(0x24a),_0x56126e['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x56126e))(Q||{});class te{constructor(){var _0x2c1b4f=_0x445966;A(this,_0x2c1b4f(0x1c0),new j[(_0x2c1b4f(0x4d5))]()),A(this,_0x2c1b4f(0x4cf),this['_event$'][_0x2c1b4f(0x1be)]());}[_0x445966(0x2d2)](_0x6ea2e9){var _0x5e1a4c=_0x445966;this['_event$'][_0x5e1a4c(0x36e)](_0x6ea2e9);}}const bt=a[_0x445966(0x198)](_0x445966(0x3e5));function Rt(_0x10e348){var _0xe3d1cc=_0x445966,_0xcd640a,_0x4f2219,_0x2c860f,_0x41304b,_0x71c047;const _0x3b1714=_0x10e348[_0xe3d1cc(0x3a5)],_0x45877a=JSON[_0xe3d1cc(0x4d7)](_0x3b1714);switch(_0x45877a[_0xe3d1cc(0x4e0)]){case W[_0xe3d1cc(0x363)]:case W['HELLO']:{const _0x508412=_0x45877a['infoRsp'];return{..._0x45877a,'data':_0x508412,'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};}case W['JOIN']:{const _0x111649=_0x45877a[_0xe3d1cc(0x2d5)];return{..._0x45877a,'data':_0x111649,'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};}case W[_0xe3d1cc(0x4a5)]:{const _0x1f21f0=_0x45877a['collaMsg'];switch(_0x1f21f0[_0xe3d1cc(0x4e5)]){case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x4ee)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':(_0xcd640a=_0x1f21f0['permissionRejEvent'])==null?void 0x0:_0xcd640a['cs']},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x2d7)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':(_0x4f2219=_0x1f21f0[_0xe3d1cc(0x2e1)])==null?void 0x0:_0x4f2219['cs']},'cmd':_0x45877a['cmd']};case g[_0xe3d1cc(0x3a3)]['NEW_CHANGESETS']:return{..._0x45877a,'data':{..._0x1f21f0,'data':(_0x2c860f=_0x1f21f0[_0xe3d1cc(0x4f2)])==null?void 0x0:_0x2c860f['cs']},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x4a6)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':(_0x41304b=_0x1f21f0[_0xe3d1cc(0x282)])==null?void 0x0:_0x41304b['cs']},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x4b8)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':(_0x71c047=_0x1f21f0[_0xe3d1cc(0x263)])==null?void 0x0:_0x71c047['cs']},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x400)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x2bc)]},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x376)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x2e2)]},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g['CollaborationEvent']['USERS_LEAVE']:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x3d4)]},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)]['LIVESHARE_NEW_HOST']:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x385)]},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x20c)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0['liveShareOperation']},'cmd':_0x45877a['cmd']};case g[_0xe3d1cc(0x3a3)]['LIVESHARE_TERMINATE']:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x385)]},'cmd':_0x45877a['cmd']};case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x2ed)]:return{..._0x45877a,'data':_0x1f21f0,'cmd':_0x45877a['cmd']};case g['CollaborationEvent'][_0xe3d1cc(0x2a3)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x4c4)]},'cmd':_0x45877a['cmd']};case g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x371)]},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)][_0xe3d1cc(0x3bc)]:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x243)]},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};case g[_0xe3d1cc(0x3a3)]['UNISCRIPT_RUN']:return{..._0x45877a,'data':{..._0x1f21f0,'data':_0x1f21f0[_0xe3d1cc(0x38d)]},'cmd':_0x45877a[_0xe3d1cc(0x4e0)]};default:return _0x45877a;}}default:return _0x45877a;}}function Ot(_0x323b4a){var _0x25f354=_0x445966;switch(_0x323b4a[_0x25f354(0x4e0)]){case W[_0x25f354(0x363)]:case W[_0x25f354(0x2ff)]:return JSON['stringify']({'cmd':_0x323b4a['cmd'],'routeKey':_0x323b4a['routeKey']});case W[_0x25f354(0x1ce)]:{let _0xb28ba5;switch(_0x323b4a[_0x25f354(0x3a5)]['eventID']){case g['CollaborationEvent']['UPDATE_CURSOR']:{_0xb28ba5={'eventID':g[_0x25f354(0x3a3)]['UPDATE_CURSOR'],'updateCursorEvent':_0x323b4a[_0x25f354(0x3a5)][_0x25f354(0x3a5)]};break;}case g[_0x25f354(0x3a3)][_0x25f354(0x3ce)]:{_0xb28ba5={'eventID':g['CollaborationEvent'][_0x25f354(0x3ce)],'leaveEvent':_0x323b4a[_0x25f354(0x3a5)][_0x25f354(0x3a5)]};break;}case g[_0x25f354(0x3a3)]['USERS_ENTER']:{_0xb28ba5={'eventID':g[_0x25f354(0x3a3)][_0x25f354(0x376)],'joinEvent':_0x323b4a['data'][_0x25f354(0x3a5)]};break;}case g[_0x25f354(0x3a3)][_0x25f354(0x4b3)]:{_0xb28ba5={'eventID':g['CollaborationEvent'][_0x25f354(0x4b3)],'liveShareNewHost':_0x323b4a['data']['data']};break;}case g[_0x25f354(0x3a3)][_0x25f354(0x20c)]:{_0xb28ba5={'eventID':g[_0x25f354(0x3a3)][_0x25f354(0x20c)],'liveShareOperation':_0x323b4a['data'][_0x25f354(0x3a5)]};break;}case g['CollaborationEvent'][_0x25f354(0x19f)]:{_0xb28ba5={'eventID':g['CollaborationEvent'][_0x25f354(0x19f)],'liveShareTerminate':_0x323b4a['data'][_0x25f354(0x3a5)]};break;}case g['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0xb28ba5={'eventID':g[_0x25f354(0x3a3)][_0x25f354(0x4f5)],'liveShareRequestHost':_0x323b4a[_0x25f354(0x3a5)][_0x25f354(0x3a5)]};break;}case g[_0x25f354(0x3a3)][_0x25f354(0x3ef)]:{_0xb28ba5={'eventID':g[_0x25f354(0x3a3)][_0x25f354(0x3ef)]};break;}default:_0xb28ba5={'eventID':_0x323b4a[_0x25f354(0x3a5)][_0x25f354(0x4e5)]};}return JSON[_0x25f354(0x438)]({'cmd':_0x323b4a[_0x25f354(0x4e0)],'routeKey':_0x323b4a[_0x25f354(0x375)],'collaMsg':_0xb28ba5});}case W[_0x25f354(0x484)]:return JSON[_0x25f354(0x438)]({'cmd':_0x323b4a[_0x25f354(0x4e0)],'routeKey':_0x323b4a[_0x25f354(0x375)],'joinReq':_0x323b4a['data']});case W['LEAVE']:return JSON['stringify']({'cmd':_0x323b4a['cmd'],'routeKey':_0x323b4a[_0x25f354(0x375)],'leaveReq':_0x323b4a['data']});default:throw new Error(_0x25f354(0x17b));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0xa8635e,_0x1a8936,_0x163999,_0x721dd3)=>{var _0x31c26f=_0x445966;for(var _0x2446e8=_0x721dd3>0x1?void 0x0:_0x721dd3?Xt(_0x1a8936,_0x163999):_0x1a8936,_0x25d07d=_0xa8635e[_0x31c26f(0x2a6)]-0x1,_0x3129e7;_0x25d07d>=0x0;_0x25d07d--)(_0x3129e7=_0xa8635e[_0x25d07d])&&(_0x2446e8=_0x3129e7(_0x2446e8)||_0x2446e8);return _0x2446e8;},le=(_0x5e9672,_0x432379)=>(_0x3196c5,_0x2d76a7)=>_0x432379(_0x3196c5,_0x2d76a7,_0x5e9672);const $e=a[_0x445966(0x198)]('univer-pro.collaboration-client-socket-service');function Qt(_0x35e18c,_0x183a44,_0x78b620){var _0x37de11=_0x445966;return _0x35e18c+'/'+_0x183a44+_0x37de11(0x3b2)+_0x78b620+'/new_changes';}exports[_0x445966(0x439)]=class extends a[_0x445966(0x26e)]{constructor(_0xeb05eb,_0x2e5e97,_0x5907b1,_0x12cb1c,_0x122de1){var _0x2e3ad5=_0x445966;super(),this['_injector']=_0xeb05eb,this['_httpService']=_0x2e5e97,this['_configService']=_0x5907b1,this['_logService']=_0x12cb1c,this[_0x2e3ad5(0x3b7)]=_0x122de1;}[_0x445966(0x347)](_0x2dfe70){var _0x178db7=_0x445966;const _0x379bc=this[_0x178db7(0x3b4)]['get'](q[_0x178db7(0x1bb)]);if(!_0x379bc)throw new Error(_0x178db7(0x353));const _0x54d577=_0x379bc[_0x178db7(0x4ff)](_0x2dfe70);if(!_0x54d577)throw new Error(_0x178db7(0x355));const _0xe5b8d9=new a[(_0x178db7(0x1cf))](),_0xd067d7=new j[(_0x178db7(0x4d5))]();_0xe5b8d9[_0x178db7(0x203)](_0x54d577[_0x178db7(0x4de)][_0x178db7(0x1e8)](_0x2d5c75=>_0xd067d7['next'](_0x2d5c75))),_0xe5b8d9[_0x178db7(0x203)](a['toDisposable'](()=>_0xd067d7[_0x178db7(0x423)]()));const _0x39d3d9=new j[(_0x178db7(0x4d5))]();_0xe5b8d9['add'](_0x54d577[_0x178db7(0x1d1)][_0x178db7(0x1e8)](_0xa9632d=>_0x39d3d9[_0x178db7(0x36e)](_0xa9632d))),_0xe5b8d9[_0x178db7(0x203)](a['toDisposable'](()=>_0x39d3d9[_0x178db7(0x423)]()));const _0x2ec0db=new j['Subject']();_0xe5b8d9[_0x178db7(0x203)](_0x54d577['message$']['subscribe'](_0x255d7e=>{var _0x406337=_0x178db7;const _0x39c2f7=Rt(_0x255d7e);_0x2ec0db[_0x406337(0x36e)](_0x39c2f7);})),_0xe5b8d9[_0x178db7(0x203)](a[_0x178db7(0x3ff)](()=>_0x2ec0db[_0x178db7(0x423)]()));let _0x16a8d1;const _0x2d50ff=()=>{var _0x5eadda=_0x178db7;_0x39d3d9[_0x5eadda(0x36e)](new Event(_0x5eadda(0x3d2))),_0xd067d7[_0x5eadda(0x36e)](new Event(_0x5eadda(0x3d2))),_0x16a8d1[_0x5eadda(0x486)]();};return _0x16a8d1={'memberID':'','close$':_0xd067d7['asObservable'](),'error$':_0x39d3d9[_0x178db7(0x1be)](),'open$':_0x54d577[_0x178db7(0x2bd)],'message$':_0x2ec0db[_0x178db7(0x1be)](),'send':_0x1378ef=>{var _0x40e4ca=_0x178db7;if(_0x1378ef['cmd']===W['INGEST']){if(_0x1378ef[_0x40e4ca(0x3a5)][_0x40e4ca(0x4e5)]===g['CollaborationEvent'][_0x40e4ca(0x18b)]){this[_0x40e4ca(0x4d9)](_0x16a8d1,_0x1378ef[_0x40e4ca(0x3a5)])[_0x40e4ca(0x29e)](_0x5782a2=>{var _0x53ece8=_0x40e4ca;this[_0x53ece8(0x2b0)][_0x53ece8(0x31f)](_0x5782a2),_0x2d50ff();});return;}if(_0x1378ef[_0x40e4ca(0x3a5)][_0x40e4ca(0x4e5)]===g[_0x40e4ca(0x3a3)][_0x40e4ca(0x4bb)]){const _0x4af1fa=_0x1378ef[_0x40e4ca(0x3a5)];this[_0x40e4ca(0x24b)](_0x4af1fa)['then'](_0x3af0da=>{var _0x29b97c=_0x40e4ca;_0x2ec0db['next']({'cmd':W[_0x29b97c(0x4a5)],'code':ae['OK'],'routeKey':_0x4af1fa[_0x29b97c(0x3a5)][_0x29b97c(0x457)],'routeType':'','data':{'eventID':g[_0x29b97c(0x3a3)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3af0da}}});})[_0x40e4ca(0x29e)](_0x1054fc=>{var _0x38639a=_0x40e4ca;this[_0x38639a(0x2b0)][_0x38639a(0x31f)](_0x1054fc),_0x2d50ff();});return;}}_0x54d577[_0x40e4ca(0x468)](Ot(_0x1378ef));},'close':()=>{var _0x3980ed=_0x178db7;_0x54d577['close'](),_0xe5b8d9[_0x3980ed(0x48b)]();}},_0x16a8d1;}async['_submitChangeset'](_0x16e399,_0x1f010c){var _0x20d0e5=_0x445966,_0x379028,_0x156147;const {unitType:_0x3b3cad,unitID:_0x9c4b34,changeset:_0x3451a8}=_0x1f010c['data'],_0x358ca0={'unitID':_0x9c4b34,'memberID':_0x16e399[_0x20d0e5(0x4e4)],'type':_0x3b3cad,'changeset':g[_0x20d0e5(0x1f9)](_0x3451a8)},_0x49a118=this[_0x20d0e5(0x42c)][_0x20d0e5(0x29a)](mt),_0x7bb3ad=this[_0x20d0e5(0x42c)][_0x20d0e5(0x29a)](Y),_0x30896f=Qt((_0x156147=(_0x379028=_0x7bb3ad==null?void 0x0:_0x7bb3ad[_0x20d0e5(0x238)])!=null?_0x379028:_0x49a118)!=null?_0x156147:Kt,_0x3b3cad,_0x9c4b34);try{await this[_0x20d0e5(0x194)][_0x20d0e5(0x44e)](_0x30896f,{'body':_0x358ca0});}catch(_0x25764e){throw this[_0x20d0e5(0x2b0)][_0x20d0e5(0x31f)]('[CollaborationSession]',_0x20d0e5(0x31d)),_0x25764e;}}async['_fetchMissChangesets'](_0x17d93b){var _0x2f51d5=_0x445966;const {unitID:_0x1dbb6d,from:_0x55e856,to:_0x510d9a,unitType:_0x2c787b}=_0x17d93b[_0x2f51d5(0x3a5)];return(await this[_0x2f51d5(0x3b7)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1dbb6d,'type':_0x2c787b,'from':_0x55e856,'to':_0x510d9a}))[_0x2f51d5(0x2db)];}},exports['CollaborationSocketService']=Zt([le(0x0,a[_0x445966(0x2cb)](a[_0x445966(0x35b)])),le(0x1,a[_0x445966(0x2cb)](q[_0x445966(0x47d)])),le(0x2,a[_0x445966(0x4df)]),le(0x3,a[_0x445966(0x42a)]),le(0x4,g[_0x445966(0x344)])],exports[_0x445966(0x439)]);const ei='collaboration_new_changeset';function ti(_0x12fa11){var _0x18d35a=_0x445966;return JSON[_0x18d35a(0x438)](_0x12fa11)['length'];}class Be{constructor(){var _0x206af8=_0x445966;A(this,_0x206af8(0x274),new j[(_0x206af8(0x4d5))]()),A(this,_0x206af8(0x46c),this[_0x206af8(0x274)][_0x206af8(0x1be)]());}[_0x445966(0x177)](_0x2e8b56){var _0x4148b6=_0x445966;this['_commentUpdate$'][_0x4148b6(0x36e)](_0x2e8b56);}}var ii=Object[_0x445966(0x2b5)],ni=(_0x4182ae,_0x4057e8,_0x837054,_0x52e553)=>{var _0xee92be=_0x445966;for(var _0x3a5a9d=_0x52e553>0x1?void 0x0:_0x52e553?ii(_0x4057e8,_0x837054):_0x4057e8,_0x49846c=_0x4182ae[_0xee92be(0x2a6)]-0x1,_0x478afc;_0x49846c>=0x0;_0x49846c--)(_0x478afc=_0x4182ae[_0x49846c])&&(_0x3a5a9d=_0x478afc(_0x3a5a9d)||_0x3a5a9d);return _0x3a5a9d;},Ke=(_0x5482b6,_0x22ee52)=>(_0x36c2dc,_0x59e076)=>_0x22ee52(_0x36c2dc,_0x59e076,_0x5482b6);exports['MemberService']=class extends a[_0x445966(0x26e)]{constructor(_0x38111a,_0x579b25){var _0x59a313=_0x445966;super(),A(this,'_roomMembers',new Map()),A(this,_0x59a313(0x192),new j[(_0x59a313(0x4d5))]()),(this[_0x59a313(0x4a9)]=_0x38111a,this[_0x59a313(0x4d0)]=_0x579b25,this[_0x59a313(0x494)](j[_0x59a313(0x1af)](this['_univerInstanceService'][_0x59a313(0x4bd)](a[_0x59a313(0x481)][_0x59a313(0x480)])['pipe'](V['map'](_0x404893=>_0x404893['getUnitId']())),this[_0x59a313(0x4a9)][_0x59a313(0x4bd)](a[_0x59a313(0x481)][_0x59a313(0x2f0)])['pipe'](V[_0x59a313(0x308)](_0x5e212d=>_0x5e212d[_0x59a313(0x487)]())),this[_0x59a313(0x4a9)][_0x59a313(0x4bd)](a[_0x59a313(0x481)][_0x59a313(0x1ec)])['pipe'](V[_0x59a313(0x308)](_0x47de40=>_0x47de40[_0x59a313(0x487)]())))['subscribe'](_0xe19823=>this[_0x59a313(0x35d)](_0xe19823))));}[_0x445966(0x4d2)](_0x32e470){var _0x163cb5=_0x445966;return this[_0x163cb5(0x36a)][_0x163cb5(0x279)](_0x32e470)?j['of'](this[_0x163cb5(0x36a)][_0x163cb5(0x4b2)](_0x32e470)):this[_0x163cb5(0x192)]['pipe'](V[_0x163cb5(0x308)](_0x2939bd=>{var _0x2f1c91=_0x163cb5;if(_0x2939bd===_0x32e470)return this['_roomMembers'][_0x2f1c91(0x4b2)](_0x2939bd);}));}[_0x445966(0x448)](_0x119aba){var _0x18e2d0=_0x445966;this[_0x18e2d0(0x4d0)][_0x18e2d0(0x448)](_0x119aba);}['getCurrentUser'](){var _0x588ef1=_0x445966;return this[_0x588ef1(0x4d0)]['getCurrentUser']();}[_0x445966(0x427)](_0x412586,_0x2745b5){var _0x3f5533=_0x445966;let _0x2423b6=this['_roomMembers'][_0x3f5533(0x4b2)](_0x412586);_0x2423b6||(_0x2423b6=new ri(),this[_0x3f5533(0x36a)]['set'](_0x412586,_0x2423b6),this[_0x3f5533(0x192)]['next'](_0x412586)),_0x2423b6[_0x3f5533(0x427)](_0x2745b5);}['removeMember'](_0x45f615,_0x1178b3){var _0x44ed82=_0x445966;const _0x841362=this[_0x44ed82(0x36a)][_0x44ed82(0x4b2)](_0x45f615);_0x841362&&_0x841362[_0x44ed82(0x255)](_0x1178b3);}[_0x445966(0x393)](_0x3f8f8d){var _0x48fdc8=_0x445966;return this[_0x48fdc8(0x36a)]['get'](_0x3f8f8d);}[_0x445966(0x3cb)](_0xdb0265,_0x1f5aba){var _0x285c6b=_0x445966;const _0x441129=this['_roomMembers'][_0x285c6b(0x4b2)](_0xdb0265);if(_0x441129)return _0x441129['getMember'](_0x1f5aba);}[_0x445966(0x35d)](_0xdd6c7){var _0x486dfa=_0x445966;const _0x518f7d=this[_0x486dfa(0x36a)][_0x486dfa(0x4b2)](_0xdd6c7);_0x518f7d&&(_0x518f7d[_0x486dfa(0x48b)](),this[_0x486dfa(0x36a)]['delete'](_0xdd6c7));}[_0x445966(0x48b)](){var _0x4b94ee=_0x445966;this[_0x4b94ee(0x36a)][_0x4b94ee(0x329)](_0x542443=>_0x542443[_0x4b94ee(0x48b)]()),this[_0x4b94ee(0x36a)][_0x4b94ee(0x23b)](),this['_roomCreated$'][_0x4b94ee(0x423)]();}},exports[_0x445966(0x3eb)]=ni([Ke(0x0,a[_0x445966(0x1f7)]),Ke(0x1,a[_0x445966(0x2cb)](a[_0x445966(0x491)]))],exports[_0x445966(0x3eb)]);class ri extends a[_0x445966(0x26e)]{constructor(){var _0x5f36b2=_0x445966;super(...arguments),A(this,_0x5f36b2(0x4af),new Map()),A(this,_0x5f36b2(0x40f),new j['BehaviorSubject'](this['_members'])),A(this,_0x5f36b2(0x2be),this['_members$'][_0x5f36b2(0x1be)]());}[_0x445966(0x48b)](){var _0x2628a7=_0x445966;this[_0x2628a7(0x4af)]['clear']();}[_0x445966(0x427)](_0x7d988e){var _0xf04dca=_0x445966;this[_0xf04dca(0x4af)][_0xf04dca(0x424)](_0x7d988e['memberID'],_0x7d988e),this[_0xf04dca(0x1d7)]();}[_0x445966(0x255)](_0x42c937){var _0x451d91=_0x445966;this[_0x451d91(0x4af)][_0x451d91(0x28e)](_0x42c937);}['getMember'](_0x461018){var _0x3cc834=_0x445966;return this['_members'][_0x3cc834(0x4b2)](_0x461018);}[_0x445966(0x2bb)](){var _0x1ef46a=_0x445966;return Array['from'](this[_0x1ef46a(0x4af)][_0x1ef46a(0x258)]());}[_0x445966(0x1d7)](){var _0x516130=_0x445966;this[_0x516130(0x40f)][_0x516130(0x36e)](this['_members']);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x556e17,_0x49b074,_0x4b0869,_0x5c0c9f)=>{var _0x46f061=_0x445966;for(var _0x4bb81e=_0x5c0c9f>0x1?void 0x0:_0x5c0c9f?si(_0x49b074,_0x4b0869):_0x49b074,_0x3bb627=_0x556e17[_0x46f061(0x2a6)]-0x1,_0x83b306;_0x3bb627>=0x0;_0x3bb627--)(_0x83b306=_0x556e17[_0x3bb627])&&(_0x4bb81e=_0x83b306(_0x4bb81e)||_0x4bb81e);return _0x4bb81e;},oe=(_0x5dcdd8,_0x26f093)=>(_0x2e36c3,_0x5953d6)=>_0x26f093(_0x2e36c3,_0x5953d6,_0x5dcdd8),se=(_0x1ee33f=>(_0x1ee33f[_0x1ee33f['IDLE']=0x0]=_0x445966(0x23f),_0x1ee33f[_0x1ee33f[_0x445966(0x2c0)]=0x1]=_0x445966(0x2c0),_0x1ee33f[_0x1ee33f[_0x445966(0x4c7)]=0x2]=_0x445966(0x4c7),_0x1ee33f[_0x1ee33f[_0x445966(0x1fe)]=0x3]=_0x445966(0x1fe),_0x1ee33f))(se||{});const Ye={[ae['FAIL']]:'session.join-failed',[ae[_0x445966(0x397)]]:_0x445966(0x23c),[ae[_0x445966(0x49f)]]:_0x445966(0x37a),[ae[_0x445966(0x259)]]:_0x445966(0x4fd),[ae[_0x445966(0x49a)]]:_0x445966(0x181)};exports[_0x445966(0x4db)]=class extends a['RxDisposable']{constructor(_0xfdb117,_0x736e77,_0x1cd06e,_0x1846e4,_0x2e4481,_0x2037a8,_0x421226,_0x5a8798,_0x309aff){var _0x132cb8=_0x445966;super(),A(this,'_sessionStatus$',new j[(_0x132cb8(0x33d))](0x0)),A(this,_0x132cb8(0x477),this['_sessionStatus$'][_0x132cb8(0x1be)]()),A(this,_0x132cb8(0x1c0),new j[(_0x132cb8(0x4d5))]()),A(this,'event$',this[_0x132cb8(0x1c0)][_0x132cb8(0x1be)]()),A(this,_0x132cb8(0x290)),A(this,_0x132cb8(0x381)),A(this,_0x132cb8(0x3a6)),A(this,'_shouldReportTelemetry',!0x1),A(this,'_telemetryInfo',null),(this['_unitID']=_0xfdb117,this[_0x132cb8(0x2b0)]=_0x1cd06e,this['_configService']=_0x1846e4,this[_0x132cb8(0x236)]=_0x2e4481,this[_0x132cb8(0x450)]=_0x2037a8,this['_commentService']=_0x421226,this['_collaborationUIEventService']=_0x5a8798,this['_telemetryService']=_0x309aff,this[_0x132cb8(0x47f)]=!!this[_0x132cb8(0x4e7)],_0x736e77[_0x132cb8(0x3d0)](j[_0x132cb8(0x299)](this['dispose$']))['subscribe'](_0x391b82=>{var _0x13634c=_0x132cb8,_0xa63cbc;typeof _0x391b82>'u'||(this['_socket']=_0x391b82,_0x391b82?(this['_joinRoom'](_0x391b82),this[_0x13634c(0x381)]=_0x391b82[_0x13634c(0x325)][_0x13634c(0x1e8)](_0x1c835a=>{var _0x55b13f=_0x13634c;_0x1c835a[_0x55b13f(0x375)]===this[_0x55b13f(0x176)]&&this[_0x55b13f(0x4f8)](_0x1c835a);})):(this[_0x13634c(0x442)](),this[_0x13634c(0x17a)][_0x13634c(0x36e)](0x2),(_0xa63cbc=this[_0x13634c(0x381)])==null||_0xa63cbc[_0x13634c(0x22c)](),this[_0x13634c(0x381)]=null));}));}get['sessionStatus'](){var _0x27d407=_0x445966;return this['_sessionStatus$'][_0x27d407(0x196)]();}['getMemberID'](){var _0x34bc38,_0x4fb349;return(_0x4fb349=(_0x34bc38=this['_socket'])==null?void 0x0:_0x34bc38['memberID'])!=null?_0x4fb349:null;}[_0x445966(0x48b)](){var _0x296d1c=_0x445966;super[_0x296d1c(0x48b)](),this['dispose$'][_0x296d1c(0x36e)](),this['dispose$'][_0x296d1c(0x423)]();}[_0x445966(0x486)](){var _0x168f21=_0x445966,_0x1edb5f,_0x31eab1;this[_0x168f21(0x442)](),(_0x1edb5f=this[_0x168f21(0x290)])==null||_0x1edb5f[_0x168f21(0x468)]({'cmd':W[_0x168f21(0x1bf)],'data':{'roomID':this[_0x168f21(0x176)]}}),(_0x31eab1=this[_0x168f21(0x290)])==null||_0x31eab1[_0x168f21(0x486)](),this['_event$'][_0x168f21(0x423)](),this[_0x168f21(0x17a)]['complete'](),this[_0x168f21(0x48b)]();}[_0x445966(0x4f8)](_0x561ef9){var _0x180b4e=_0x445966;_0x561ef9[_0x180b4e(0x4e0)]===W['JOIN']?this[_0x180b4e(0x3f7)](_0x561ef9):_0x561ef9[_0x180b4e(0x4e0)]===W[_0x180b4e(0x4a5)]&&this[_0x180b4e(0x190)](_0x561ef9);}[_0x445966(0x270)](_0x3d77a2){var _0x129d2a=_0x445966;this[_0x129d2a(0x17a)][_0x129d2a(0x36e)](0x1),_0x3d77a2[_0x129d2a(0x468)]({'cmd':W[_0x129d2a(0x484)],'routeKey':this[_0x129d2a(0x176)],'routeType':'','data':{'rooms':[{'roomID':this[_0x129d2a(0x176)]}]}});}['_onJoinRoomEvent'](_0x8d89c9){var _0x4d1323=_0x445966,_0x5877e9;if(_0x8d89c9['code']in Ye){this[_0x4d1323(0x19b)][_0x4d1323(0x2d2)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x8d89c9[_0x4d1323(0x421)]]}),this[_0x4d1323(0x17a)][_0x4d1323(0x36e)](0x2);return;}this[_0x4d1323(0x17a)][_0x4d1323(0x36e)](0x3);const _0x4cb715=(_0x5877e9=_0x8d89c9[_0x4d1323(0x3a5)][_0x4d1323(0x44d)][this[_0x4d1323(0x176)]])==null?void 0x0:_0x5877e9[_0x4d1323(0x444)];_0x4cb715&&_0x4cb715[_0x4d1323(0x329)](_0x4a16bb=>this[_0x4d1323(0x450)][_0x4d1323(0x427)](this[_0x4d1323(0x176)],_0x4a16bb));}['_onRecvEvent'](_0x3a6d9e){var _0x14ca55=_0x445966;try{const _0x394ae5=_0x3a6d9e[_0x14ca55(0x3a5)];switch(_0x394ae5[_0x14ca55(0x4e5)]){case g[_0x14ca55(0x3a3)][_0x14ca55(0x376)]:this[_0x14ca55(0x264)](_0x394ae5),this['_event$']['next'](_0x394ae5);break;case g[_0x14ca55(0x3a3)][_0x14ca55(0x3ce)]:this[_0x14ca55(0x38f)](_0x394ae5),this['_event$'][_0x14ca55(0x36e)](_0x394ae5);break;case g['CollaborationEvent'][_0x14ca55(0x2d7)]:case g['CollaborationEvent'][_0x14ca55(0x4b8)]:this[_0x14ca55(0x360)](),this[_0x14ca55(0x2e0)](),this[_0x14ca55(0x1c0)][_0x14ca55(0x36e)](_0x394ae5);break;case g['CollaborationEvent'][_0x14ca55(0x2ed)]:this[_0x14ca55(0x2b0)]['error'](_0x14ca55(0x1c2)+JSON['stringify'](_0x394ae5)),this[_0x14ca55(0x1c0)][_0x14ca55(0x36e)](_0x394ae5);break;case g[_0x14ca55(0x3a3)][_0x14ca55(0x2a3)]:this[_0x14ca55(0x260)][_0x14ca55(0x177)](_0x394ae5['data']),this[_0x14ca55(0x1c0)][_0x14ca55(0x36e)](_0x394ae5);break;default:this[_0x14ca55(0x1c0)][_0x14ca55(0x36e)](_0x394ae5);}}catch(_0x5020ca){this[_0x14ca55(0x2b0)][_0x14ca55(0x31f)](_0x5020ca,_0x3a6d9e);}}[_0x445966(0x264)](_0x2bf668){var _0x1053dc=_0x445966;this[_0x1053dc(0x450)][_0x1053dc(0x427)](this[_0x1053dc(0x176)],_0x2bf668[_0x1053dc(0x3a5)]);}[_0x445966(0x38f)](_0x3fecd4){var _0x17459=_0x445966;this[_0x17459(0x450)][_0x17459(0x255)](this['_unitID'],_0x3fecd4[_0x17459(0x3a5)][_0x17459(0x4e4)]);}async[_0x445966(0x468)](_0x3d8c94,_0x57cbaa){var _0x12bbfc=_0x445966;if(this[_0x12bbfc(0x3c8)]!==0x3||!this[_0x12bbfc(0x290)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3d8c94[_0x12bbfc(0x4e5)]===g['CollaborationEvent'][_0x12bbfc(0x18b)]&&(this[_0x12bbfc(0x383)](),this[_0x12bbfc(0x449)](_0x3d8c94)),this['_socket'][_0x12bbfc(0x468)]({'cmd':W[_0x12bbfc(0x1ce)],'routeKey':_0x57cbaa,'routeType':'','data':_0x3d8c94});}catch(_0x1c7484){this[_0x12bbfc(0x2b0)][_0x12bbfc(0x31f)](_0x1c7484);}}[_0x445966(0x383)](){var _0x15ecf9=_0x445966,_0x4a4c29;this[_0x15ecf9(0x3a6)]=setTimeout(()=>{var _0x353308=_0x15ecf9;this[_0x353308(0x3a6)]=null,this[_0x353308(0x19b)][_0x353308(0x2d2)]({'id':Q[_0x353308(0x300)]});},(_0x4a4c29=this['_configService'][_0x15ecf9(0x29a)](je))!=null?_0x4a4c29:gt);}[_0x445966(0x2e0)](){var _0x4c53c4=_0x445966;this[_0x4c53c4(0x3a6)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x445966(0x449)](_0x270c2f){var _0x1454dd=_0x445966;if(!this['_shouldReportTelemetry'])return;const {data:_0x403fc1}=_0x270c2f,{unitID:_0x44da34,changeset:_0x570642}=_0x403fc1,{mutations:_0x2f74c1,type:_0x1fd255}=_0x570642;this[_0x1454dd(0x39d)]={'unitId':_0x44da34,'type':_0x1fd255,'startTime':performance[_0x1454dd(0x218)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x2f74c1)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1edc9e=_0x445966;if(this['_shouldReportTelemetry']){if(!this[_0x1edc9e(0x39d)]){this[_0x1edc9e(0x2b0)][_0x1edc9e(0x31f)](_0x1edc9e(0x368),_0x1edc9e(0x4eb));return;}this[_0x1edc9e(0x39d)]['stopTime']=performance[_0x1edc9e(0x218)](),this[_0x1edc9e(0x39d)][_0x1edc9e(0x3db)]=this[_0x1edc9e(0x39d)][_0x1edc9e(0x231)]-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x1edc9e(0x414)](ei,this['_telemetryInfo']),this[_0x1edc9e(0x39d)]=null;}}[_0x445966(0x442)](){var _0x97ab8c=_0x445966;this[_0x97ab8c(0x39d)]=null;}},exports[_0x445966(0x4db)]=oi([oe(0x2,a[_0x445966(0x42a)]),oe(0x3,a['IConfigService']),oe(0x4,a['Inject'](a[_0x445966(0x4cd)])),oe(0x5,a['Inject'](exports[_0x445966(0x3eb)])),oe(0x6,a[_0x445966(0x2cb)](Be)),oe(0x7,a[_0x445966(0x2cb)](te)),oe(0x8,a[_0x445966(0x32e)](Mt[_0x445966(0x2e6)]))],exports[_0x445966(0x4db)]);var ai=Object[_0x445966(0x2b5)],ci=(_0x12271d,_0x277f96,_0x4fb466,_0x5528e2)=>{for(var _0x19b7d7=_0x5528e2>0x1?void 0x0:_0x5528e2?ai(_0x277f96,_0x4fb466):_0x277f96,_0x3cb1ed=_0x12271d['length']-0x1,_0x4477c0;_0x3cb1ed>=0x0;_0x3cb1ed--)(_0x4477c0=_0x12271d[_0x3cb1ed])&&(_0x19b7d7=_0x4477c0(_0x19b7d7)||_0x19b7d7);return _0x19b7d7;},_e=(_0x4e4f38,_0x1ccd0e)=>(_0xe72f5e,_0x47276a)=>_0x1ccd0e(_0xe72f5e,_0x47276a,_0x4e4f38);exports[_0x445966(0x1e5)]=class extends a[_0x445966(0x26e)]{constructor(_0x1215e5,_0x2fc7cc,_0x2938c4,_0x5afc76,_0x1eaec1,_0x5e9d59){var _0x6a8bb3=_0x445966;super(),A(this,_0x6a8bb3(0x40b),new j[(_0x6a8bb3(0x33d))](void 0x0)),A(this,_0x6a8bb3(0x365),this[_0x6a8bb3(0x40b)][_0x6a8bb3(0x1be)]()),A(this,_0x6a8bb3(0x338),null),A(this,'_sessions',new Map()),A(this,_0x6a8bb3(0x1f6),new j['BehaviorSubject'](se['IDLE'])),A(this,_0x6a8bb3(0x43c),this['_status$'][_0x6a8bb3(0x1be)]()),A(this,_0x6a8bb3(0x4dd),!0x1),A(this,_0x6a8bb3(0x248)),A(this,_0x6a8bb3(0x262),0x0),A(this,'_sendHeartbeatTimer'),A(this,'_timeoutTimer'),(this['_injector']=_0x1215e5,this[_0x6a8bb3(0x2b0)]=_0x2fc7cc,this[_0x6a8bb3(0x42c)]=_0x2938c4,this[_0x6a8bb3(0x1aa)]=_0x5afc76,this['_collaborationUIEventService']=_0x1eaec1,this[_0x6a8bb3(0x29b)]=_0x5e9d59,this[_0x6a8bb3(0x2c4)]());}get[_0x445966(0x290)](){var _0x467343=_0x445966;return this[_0x467343(0x40b)][_0x467343(0x196)]();}['_listenToNetworkCondition'](){var _0x3be8a0=_0x445966;this[_0x3be8a0(0x29b)]&&this[_0x3be8a0(0x494)](this[_0x3be8a0(0x29b)][_0x3be8a0(0x4c6)]['subscribe'](_0xe252c6=>{var _0x2192e5=_0x3be8a0;_0xe252c6&&!this[_0x2192e5(0x290)]&&this[_0x2192e5(0x1f3)](),_0xe252c6||this['_onOffline']();}));}['dispose'](){var _0x266b08=_0x445966;super[_0x266b08(0x48b)](),this['_clearRetryConnectingTimer'](),this[_0x266b08(0x25c)](),this[_0x266b08(0x302)](),this[_0x266b08(0x404)][_0x266b08(0x329)](_0x4c9150=>_0x4c9150[_0x266b08(0x48b)]()),this[_0x266b08(0x404)]['clear'](),this[_0x266b08(0x1f6)]['complete']();}async[_0x445966(0x21f)](_0x46f5f4){var _0x50a44f=_0x445966;if(this['_sessions']['has'](_0x46f5f4))return this[_0x50a44f(0x404)][_0x50a44f(0x4b2)](_0x46f5f4);this[_0x50a44f(0x379)]();const _0x4c7a66=this[_0x50a44f(0x3b4)][_0x50a44f(0x46b)](exports[_0x50a44f(0x4db)],_0x46f5f4,this[_0x50a44f(0x40b)]['asObservable']());return this['_sessions'][_0x50a44f(0x424)](_0x46f5f4,_0x4c7a66),_0x4c7a66;}[_0x445966(0x2e5)](_0x1f6fbd){var _0x24ffab=_0x445966,_0x325580;const _0x1cf4bd=this[_0x24ffab(0x404)][_0x24ffab(0x4b2)](_0x1f6fbd);_0x1cf4bd&&(this[_0x24ffab(0x404)][_0x24ffab(0x28e)](_0x1f6fbd),_0x1cf4bd['close']()),this[_0x24ffab(0x404)][_0x24ffab(0x322)]||(_0x325580=this['_socket'])==null||_0x325580[_0x24ffab(0x486)]();}[_0x445966(0x1f3)](){var _0x9f2df6=_0x445966;this['_retryCount']=0x0,this[_0x9f2df6(0x3e4)](),this[_0x9f2df6(0x195)]();}[_0x445966(0x3e4)](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x4ef0a0=_0x445966,_0x26cb17,_0x2d5030;const _0x537750=this[_0x4ef0a0(0x42c)][_0x4ef0a0(0x29a)](St),_0xe0f13c=this[_0x4ef0a0(0x42c)][_0x4ef0a0(0x29a)](Y),_0x4f6ea1=(_0x2d5030=(_0x26cb17=_0xe0f13c==null?void 0x0:_0xe0f13c[_0x4ef0a0(0x32c)])!=null?_0x26cb17:_0x537750)!=null?_0x2d5030:ft,_0x2b1072=await this[_0x4ef0a0(0x1aa)]['createSocket'](_0x4f6ea1);return this[_0x4ef0a0(0x338)]=_0x2b1072,_0x2b1072;}async['_tryEnsureSocket'](){var _0x1710f9=_0x445966,_0x5ba6bd,_0x1bb15;try{const _0x2ccd81=(_0x1bb15=(_0x5ba6bd=this[_0x1710f9(0x290)])!=null?_0x5ba6bd:this[_0x1710f9(0x338)])!=null?_0x1bb15:await this['_createSocket']();if(_0x2ccd81){const _0x101c92=_0x2ccd81[_0x1710f9(0x468)];_0x2ccd81[_0x1710f9(0x468)]=_0x59aa8d=>(this['_rescheduleHeartbeat'](),_0x101c92[_0x1710f9(0x2b3)](_0x2ccd81,[_0x59aa8d])),_0x2ccd81[_0x1710f9(0x325)][_0x1710f9(0x1e8)](_0x240570=>this['_onMessage'](_0x2ccd81,_0x240570)),_0x2ccd81[_0x1710f9(0x1d1)][_0x1710f9(0x3d0)](V[_0x1710f9(0x206)](0x1))[_0x1710f9(0x1e8)](_0x187803=>this[_0x1710f9(0x2b0)][_0x1710f9(0x31f)](_0x1710f9(0x217),_0x187803)),_0x2ccd81[_0x1710f9(0x2bd)][_0x1710f9(0x3d0)](V['take'](0x1))[_0x1710f9(0x1e8)](()=>{var _0x34664a=_0x1710f9;this[_0x34664a(0x1a0)](_0x2ccd81);}),_0x2ccd81[_0x1710f9(0x4de)]['pipe'](V[_0x1710f9(0x206)](0x1))[_0x1710f9(0x1e8)](_0x2a3754=>{var _0x42b62c=_0x1710f9;this['_logService']['debug'](_0x42b62c(0x425),_0x42b62c(0x43e),_0x2a3754),this[_0x42b62c(0x293)]();});}}catch(_0x182c26){this[_0x1710f9(0x2b0)][_0x1710f9(0x31f)](_0x182c26),this[_0x1710f9(0x293)]();}}['_onConnectionOpen'](_0x41332c){var _0x363366=_0x445966;this[_0x363366(0x2b0)][_0x363366(0x27b)](_0x363366(0x425),_0x363366(0x1c8)),_0x41332c['send']({'cmd':W[_0x363366(0x2ff)]}),this[_0x363366(0x3c2)]();}[_0x445966(0x2dd)](){var _0x516f94=_0x445966;this[_0x516f94(0x4dd)]=!0x1,this[_0x516f94(0x338)]=null,this['_status$'][_0x516f94(0x36e)](se[_0x516f94(0x4c7)]),this[_0x516f94(0x40b)][_0x516f94(0x36e)](null),this['_clearTimeoutTimer'](),this[_0x516f94(0x302)]();}[_0x445966(0x293)](){var _0x3389bb=_0x445966,_0x29472e;this[_0x3389bb(0x2dd)](),this[_0x3389bb(0x262)]<((_0x29472e=this[_0x3389bb(0x42c)][_0x3389bb(0x29a)](It))!=null?_0x29472e:Vt)?(this[_0x3389bb(0x19b)][_0x3389bb(0x2d2)]({'id':Q[_0x3389bb(0x1de)]}),this[_0x3389bb(0x195)]()):this[_0x3389bb(0x19b)][_0x3389bb(0x2d2)]({'id':Q[_0x3389bb(0x24a)]});}[_0x445966(0x195)](){var _0x33b64b=_0x445966,_0x57fec2;const _0x5bee45=this['_retryCount'],_0x170e40=this[_0x33b64b(0x42c)][_0x33b64b(0x29a)](Y),_0x774798=_0x5bee45===0x0?0x0:((_0x57fec2=_0x170e40==null?void 0x0:_0x170e40['retryConnectingInterval'])!=null?_0x57fec2:Ft)*0x2**_0x5bee45;this['_retryConnectingTimer']=setTimeout(()=>{var _0x8d2900=_0x33b64b;clearTimeout(this['_retryConnectingTimer']),this[_0x8d2900(0x248)]=null,this[_0x8d2900(0x379)]();},_0x774798),this[_0x33b64b(0x262)]+=0x1;}[_0x445966(0x3c0)](_0x3d370c,_0x58f985){var _0x276c90=_0x445966;const {cmd:_0x51e23a}=_0x58f985;_0x51e23a===W[_0x276c90(0x2ff)]&&!this[_0x276c90(0x4dd)]&&(_0x3d370c[_0x276c90(0x4e4)]=_0x58f985['data']['memberID'],this['_socket$'][_0x276c90(0x36e)](_0x3d370c),this[_0x276c90(0x1f6)]['next'](se['ONLINE']),this['_socketReady']=!0x0,this[_0x276c90(0x338)]=null),_0x51e23a===W[_0x276c90(0x363)]&&this[_0x276c90(0x25c)](),this[_0x276c90(0x3c2)]();}[_0x445966(0x3c2)](){var _0xd876f5=_0x445966,_0x23a7d7;this[_0xd876f5(0x302)](),this[_0xd876f5(0x330)]=setTimeout(()=>this[_0xd876f5(0x44f)](),(_0x23a7d7=this[_0xd876f5(0x42c)][_0xd876f5(0x29a)](pt))!=null?_0x23a7d7:Bt);}[_0x445966(0x44f)](){var _0x510837=_0x445966;this[_0x510837(0x290)][_0x510837(0x468)]({'cmd':W['HEARTBEAT']}),this[_0x510837(0x4c8)]();}[_0x445966(0x4c8)](){var _0x50529e=_0x445966,_0x170923;this[_0x50529e(0x1a9)]=setTimeout(()=>this[_0x50529e(0x293)](),(_0x170923=this[_0x50529e(0x42c)][_0x50529e(0x29a)](je))!=null?_0x170923:gt);}[_0x445966(0x302)](){var _0x4ae8c2=_0x445966;this[_0x4ae8c2(0x330)]!=null&&(clearTimeout(this[_0x4ae8c2(0x330)]),this[_0x4ae8c2(0x330)]=null);}[_0x445966(0x25c)](){var _0x1bab24=_0x445966;this[_0x1bab24(0x1a9)]!=null&&(clearTimeout(this[_0x1bab24(0x1a9)]),this[_0x1bab24(0x1a9)]=null);}},exports[_0x445966(0x1e5)]=ci([_e(0x0,a[_0x445966(0x2cb)](a[_0x445966(0x35b)])),_e(0x1,a[_0x445966(0x42a)]),_e(0x2,a['IConfigService']),_e(0x3,$e),_e(0x4,a[_0x445966(0x2cb)](te)),_e(0x5,a[_0x445966(0x32e)](bt))],exports['CollaborationSessionService']);const G=[];for(let n=0x0;n<0x100;++n)G[_0x445966(0x32f)]((n+0x100)[_0x445966(0x1f0)](0x10)[_0x445966(0x3b8)](0x1));function hi(_0xf00098,_0xd65574=0x0){var _0x54c638=_0x445966;return(G[_0xf00098[_0xd65574+0x0]]+G[_0xf00098[_0xd65574+0x1]]+G[_0xf00098[_0xd65574+0x2]]+G[_0xf00098[_0xd65574+0x3]]+'-'+G[_0xf00098[_0xd65574+0x4]]+G[_0xf00098[_0xd65574+0x5]]+'-'+G[_0xf00098[_0xd65574+0x6]]+G[_0xf00098[_0xd65574+0x7]]+'-'+G[_0xf00098[_0xd65574+0x8]]+G[_0xf00098[_0xd65574+0x9]]+'-'+G[_0xf00098[_0xd65574+0xa]]+G[_0xf00098[_0xd65574+0xb]]+G[_0xf00098[_0xd65574+0xc]]+G[_0xf00098[_0xd65574+0xd]]+G[_0xf00098[_0xd65574+0xe]]+G[_0xf00098[_0xd65574+0xf]])[_0x54c638(0x35e)]();}let De;const _i=new Uint8Array(0x10);function li(){var _0x42db9f=_0x445966;if(!De){if(typeof crypto>'u'||!crypto[_0x42db9f(0x245)])throw new Error(_0x42db9f(0x3cf));De=crypto[_0x42db9f(0x245)][_0x42db9f(0x197)](crypto);}return De(_i);}const ui=typeof crypto<'u'&&crypto[_0x445966(0x26c)]&&crypto[_0x445966(0x26c)][_0x445966(0x197)](crypto),qe={'randomUUID':ui};function di(_0x4ef2b9,_0x538fc0,_0x414cec){var _0x14c7df=_0x445966,_0x2bcdbb,_0x4841cf,_0x6c4acf;if(qe['randomUUID']&&!_0x4ef2b9)return qe[_0x14c7df(0x26c)]();_0x4ef2b9=_0x4ef2b9||{};const _0x306ae5=(_0x6c4acf=(_0x4841cf=_0x4ef2b9[_0x14c7df(0x31b)])!=null?_0x4841cf:(_0x2bcdbb=_0x4ef2b9['rng'])==null?void 0x0:_0x2bcdbb['call'](_0x4ef2b9))!=null?_0x6c4acf:li();if(_0x306ae5[_0x14c7df(0x2a6)]<0x10)throw new Error(_0x14c7df(0x1a7));return _0x306ae5[0x6]=_0x306ae5[0x6]&0xf|0x40,_0x306ae5[0x8]=_0x306ae5[0x8]&0x3f|0x80,hi(_0x306ae5);}const z=a['createIdentifier'](_0x445966(0x337));function vi(_0xd2a831){return'unit-cache-'+_0xd2a831;}var Si=Object[_0x445966(0x2b5)],fi=(_0x56e75d,_0x41e340,_0x1cd28f,_0x45d55a)=>{var _0x66ca3=_0x445966;for(var _0x364db8=_0x45d55a>0x1?void 0x0:_0x45d55a?Si(_0x41e340,_0x1cd28f):_0x41e340,_0x300ce9=_0x56e75d[_0x66ca3(0x2a6)]-0x1,_0x27b475;_0x300ce9>=0x0;_0x300ce9--)(_0x27b475=_0x56e75d[_0x300ce9])&&(_0x364db8=_0x27b475(_0x364db8)||_0x364db8);return _0x364db8;},Ae=(_0x5d2d27,_0x14ec81)=>(_0x2f23ed,_0x515986)=>_0x14ec81(_0x2f23ed,_0x515986,_0x5d2d27);function pi(_0x3e27bd){const {unitID:_0x456b31,mutations:_0x5db1ab}=_0x3e27bd;return{'unitId':_0x456b31,'subUnitId':_0x5db1ab[0x0]['params']['subUnitId']};}exports[_0x445966(0x2cc)]=class{constructor(_0x53fcb7,_0x29520d,_0x20e2ed){var _0x53dc44=_0x445966;this[_0x53dc44(0x3b4)]=_0x53fcb7,this[_0x53dc44(0x2ca)]=_0x29520d,this['_instanceService']=_0x20e2ed;}[_0x445966(0x261)](_0x124591){var _0x40bb20=_0x445966,_0x14944f,_0xf8709d,_0x3f126e,_0x56f8f8;const _0x45cdb4=this[_0x40bb20(0x3b4)][_0x40bb20(0x4b2)](Z['SheetsSelectionsService']),{unitId:_0x1ace5f,subUnitId:_0x3ce3b1}=pi(_0x124591),_0x102e9a=_0x45cdb4==null?void 0x0:_0x45cdb4['getWorkbookSelections'](_0x1ace5f)['getCurrentSelections'](),_0x155fab=(_0xf8709d=(_0x14944f=this[_0x40bb20(0x32b)][_0x40bb20(0x4bc)](_0x1ace5f))==null?void 0x0:_0x14944f[_0x40bb20(0x2c5)]())==null?void 0x0:_0xf8709d['getSheetId']();if(_0x102e9a['length']===0x0||!_0x1ace5f||!_0x3ce3b1)return;const _0x3907dd=[{'id':Z[_0x40bb20(0x2f6)]['id'],'params':{'unitId':_0x1ace5f,'subUnitId':_0x155fab,'selections':a[_0x40bb20(0x3cd)]['deepClone'](_0x102e9a)}}],_0x351878=this[_0x40bb20(0x2ca)][_0x40bb20(0x41d)](_0x124591,_0x3907dd);if(!g[_0x40bb20(0x2f7)](_0x351878))throw _0x351878[_0x40bb20(0x31f)];const _0x2b8170=(_0x56f8f8=(_0x3f126e=_0x351878[_0x40bb20(0x339)][0x0])==null?void 0x0:_0x3f126e[_0x40bb20(0x3d7)])==null?void 0x0:_0x56f8f8[_0x40bb20(0x1b8)];if(Array[_0x40bb20(0x36c)](_0x2b8170)&&_0x2b8170['length']){if(_0x2b8170['length']===_0x3907dd[0x0][_0x40bb20(0x3d7)][_0x40bb20(0x1b8)][_0x40bb20(0x2a6)]&&_0x2b8170['every']((_0x46c172,_0x19f26c)=>a['Rectangle'][_0x40bb20(0x3d5)](_0x46c172['range'],_0x3907dd[0x0][_0x40bb20(0x3d7)][_0x40bb20(0x1b8)][_0x19f26c][_0x40bb20(0x1ba)])))return;this[_0x40bb20(0x3b4)][_0x40bb20(0x4b2)](a[_0x40bb20(0x3de)])[_0x40bb20(0x4fa)](Z['SetSelectionsOperation']['id'],{'unitId':_0x1ace5f,'subUnitId':_0x155fab,'selections':_0x2b8170});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a['Inject'](a[_0x445966(0x35b)])),Ae(0x1,g[_0x445966(0x483)]),Ae(0x2,a[_0x445966(0x1f7)])],exports[_0x445966(0x2cc)]);const ve=a['createIdentifier'](_0x445966(0x4f1));var Fe=(_0x500eed=>(_0x500eed[_0x500eed[_0x445966(0x21b)]=0x0]=_0x445966(0x21b),_0x500eed[_0x500eed[_0x445966(0x1ee)]=0x1]=_0x445966(0x1ee),_0x500eed))(Fe||{});const gi=new Set([Z[_0x445966(0x47e)]['id']]);function ze(_0x3e5283,_0x44ef33,_0x27f6aa,_0x4e0a69,_0x5ce589){var _0x142a8f=_0x445966,_0x1b88f8,_0x2a3a0a,_0x20d70c,_0x8fce93;const _0x455b3b=[];for(const _0x10c568 of _0x3e5283)if(gi[_0x142a8f(0x279)](_0x10c568['id'])){if(_0x455b3b[_0x142a8f(0x2a6)]>0x0)break;_0x455b3b['push'](_0x10c568);break;}else _0x455b3b[_0x142a8f(0x32f)](_0x10c568);const _0x509fd9=(_0x2a3a0a=(_0x1b88f8=_0x5ce589[_0x142a8f(0x1e4)]())==null?void 0x0:_0x1b88f8[_0x142a8f(0x386)])!=null?_0x2a3a0a:_0x142a8f(0x2c3),_0x2514ba=(_0x8fce93=(_0x20d70c=_0x5ce589[_0x142a8f(0x1e4)]())==null?void 0x0:_0x20d70c['memberID'])!=null?_0x8fce93:'unknown';return{'changeset':{'unitID':_0x44ef33,'type':g['mapDocumentTypeToUniverType'](_0x27f6aa[_0x142a8f(0x4e1)](_0x44ef33)),'baseRev':_0x4e0a69['getCurrentRevOfUnit'](_0x44ef33),'revision':0x0,'userID':_0x509fd9,'memberID':_0x2514ba,'mutations':_0x455b3b},'pendingMutations':_0x3e5283[_0x142a8f(0x3b8)](_0x455b3b[_0x142a8f(0x2a6)])};}function Ii(_0x597882,_0x514377,_0x366d8c,_0x18a420,_0x16b1b4){var _0x166649=_0x445966,_0x4a9596,_0x3ccb61,_0x36da9f,_0x1a49a0;const _0xb3e612=[_0x597882[_0x166649(0x3d3)]((_0x174417,_0x11191f)=>{var _0x384038=_0x166649,_0x54491c;const {id:_0x5d2d69}=_0x174417,{id:_0x446c53,type:_0x24c360}=_0x11191f,_0x53dadf=(_0x54491c=_0x174417[_0x384038(0x3d7)])!=null?_0x54491c:{'actions':null},_0x5ce48c=_0x11191f[_0x384038(0x3d7)];if(_0x5d2d69&&_0x5d2d69!==_0x446c53)throw new Error(_0x384038(0x36f)+_0x5d2d69+_0x384038(0x291)+_0x446c53+'.');return{..._0x174417,'id':_0x446c53,'type':_0x24c360,'params':{'unitId':_0x5ce48c[_0x384038(0x3fd)],'textRanges':_0x5ce48c[_0x384038(0x387)],'actions':a[_0x384038(0x310)][_0x384038(0x3b9)](_0x53dadf[_0x384038(0x4b9)],_0x5ce48c[_0x384038(0x4b9)])}};},{})],_0x331185=(_0x3ccb61=(_0x4a9596=_0x16b1b4[_0x166649(0x1e4)]())==null?void 0x0:_0x4a9596[_0x166649(0x386)])!=null?_0x3ccb61:_0x166649(0x2c3),_0x47a03b=(_0x1a49a0=(_0x36da9f=_0x16b1b4[_0x166649(0x1e4)]())==null?void 0x0:_0x36da9f['memberID'])!=null?_0x1a49a0:_0x166649(0x2c3);return{'changeset':{'unitID':_0x514377,'type':g[_0x166649(0x45c)](_0x366d8c['getUnitType'](_0x514377)),'baseRev':_0x18a420['getCurrentRevOfUnit'](_0x514377),'revision':0x0,'userID':_0x331185,'memberID':_0x47a03b,'mutations':_0xb3e612},'pendingMutations':[]};}function yt(_0x2d45b0,_0x338fcf){var _0x4a6be2=_0x445966;const _0x2d1175=new j[(_0x4a6be2(0x4f9))](0x1);return setTimeout(()=>_0x2d1175[_0x4a6be2(0x36e)](_0x338fcf),_0x2d45b0),_0x2d1175[_0x4a6be2(0x1be)]()[_0x4a6be2(0x3d0)](j[_0x4a6be2(0x206)](0x1));}const mi={'id':Z[_0x445966(0x229)]['id'],'type':a[_0x445966(0x1b6)][_0x445966(0x4a1)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x25d32c,_0xc788f4,_0x1c842d,_0x4d943f)=>{var _0x5743b1=_0x445966;for(var _0x71fa90=_0x4d943f>0x1?void 0x0:_0x4d943f?Ei(_0xc788f4,_0x1c842d):_0xc788f4,_0x33aa23=_0x25d32c[_0x5743b1(0x2a6)]-0x1,_0x5d5126;_0x33aa23>=0x0;_0x33aa23--)(_0x5d5126=_0x25d32c[_0x33aa23])&&(_0x71fa90=_0x5d5126(_0x71fa90)||_0x71fa90);return _0x71fa90;},w=(_0x24304e,_0x1a73ec)=>(_0x51e267,_0x10b789)=>_0x1a73ec(_0x51e267,_0x10b789,_0x24304e),Ve=(_0x3e826a=>(_0x3e826a[_0x445966(0x466)]='not_collab',_0x3e826a[_0x445966(0x378)]='synced',_0x3e826a[_0x445966(0x1d2)]='pending',_0x3e826a[_0x445966(0x180)]=_0x445966(0x186),_0x3e826a[_0x445966(0x27c)]=_0x445966(0x331),_0x3e826a[_0x445966(0x3a2)]='fetch_missing',_0x3e826a['CONFLICT']='conflict',_0x3e826a[_0x445966(0x4c7)]=_0x445966(0x286),_0x3e826a))(Ve||{});const Nt=0xea60;class he{constructor(_0x39e68f,_0x3dfcf3,_0x34a1a4,_0x207262,_0x80757b,_0x4b0533,_0x19679b,_0x5f2b4f,_0x386636){var _0x3c2358=_0x445966;A(this,_0x3c2358(0x3be),null),A(this,_0x3c2358(0x267),[]),(this['unitID']=_0x39e68f,this['type']=_0x3dfcf3,this[_0x3c2358(0x32d)]=_0x80757b,this[_0x3c2358(0x2ec)]=_0x4b0533,this['_undoRedoService']=_0x19679b,this[_0x3c2358(0x1ed)]=_0x5f2b4f,this['_localCacheService']=_0x386636,this['_awaitingChangeset']=_0x34a1a4,this[_0x3c2358(0x267)]=_0x207262);}[_0x445966(0x1eb)](_0x1c1cb2){var _0x1d4840=_0x445966;const _0x1fab5d=this['_revisionService'][_0x1d4840(0x3ed)](this[_0x1d4840(0x457)]);return _0x1c1cb2[_0x1d4840(0x320)]>_0x1fab5d+0x1?(this[_0x1d4840(0x32d)][_0x1d4840(0x4ec)]({'from':_0x1fab5d,'to':_0x1c1cb2[_0x1d4840(0x320)]-0x1}),!0x0):!0x1;}[_0x445966(0x4bf)](_0x1f3d6b){var _0x45324d=_0x445966;this[_0x45324d(0x3e2)]['transformUndoRedo'](this[_0x45324d(0x457)],_0x1f3d6b);}[_0x445966(0x22b)](_0x19091f){var _0x588c1d=_0x445966,_0x1f19e5,_0x2853e8;(_0x2853e8=(_0x1f19e5=this[_0x588c1d(0x32d)])['onTransformSelections'])==null||_0x2853e8[_0x588c1d(0x453)](_0x1f19e5,_0x19091f);}[_0x445966(0x2ba)](_0x1431ba){var _0xfc10a6=_0x445966,_0x1a1854,_0x33ba2d;return(_0x33ba2d=(_0x1a1854=this[_0xfc10a6(0x32d)])[_0xfc10a6(0x4a8)])==null?void 0x0:_0x33ba2d['call'](_0x1a1854,_0x1431ba);}['_transformStateCache'](_0x10f38f){var _0x108ea8=_0x445966,_0x6d1346,_0x412a8b;return(_0x412a8b=(_0x6d1346=this[_0x108ea8(0x32d)])['onTransformState'])==null?void 0x0:_0x412a8b['call'](_0x6d1346,_0x10f38f);}[_0x445966(0x48d)](_0x3ff5d3){var _0x10dc61=_0x445966,_0x56a6f0,_0x4f12bd,_0x2e0f57;return(_0x2e0f57=(_0x4f12bd=(_0x56a6f0=this[_0x10dc61(0x32d)])[_0x10dc61(0x1ff)])==null?void 0x0:_0x4f12bd['call'](_0x56a6f0,_0x3ff5d3))!=null?_0x2e0f57:_0x3ff5d3;}[_0x445966(0x420)](_0x16f24e){var _0x279177=_0x445966,_0x1ab887,_0x3fe07a,_0x41ba20;return(_0x41ba20=(_0x3fe07a=(_0x1ab887=this[_0x279177(0x32d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3fe07a[_0x279177(0x453)](_0x1ab887,_0x16f24e))!=null?_0x41ba20:_0x16f24e;}[_0x445966(0x2de)](_0x37aabb){var _0xb54694=_0x445966,_0x76a7bc,_0x1bac4f;if(this['type']===X[_0xb54694(0x2f0)]){const {unitID:_0x4cec12,mutations:_0x4a4fa2,memberID:_0x2beac0}=_0x37aabb,_0x3dd2fd=_0x4a4fa2[0x0][_0xb54694(0x3d7)][_0xb54694(0x387)];Array[_0xb54694(0x36c)](_0x3dd2fd)&&_0x3dd2fd[_0xb54694(0x2a6)]>0x0&&((_0x1bac4f=(_0x76a7bc=this[_0xb54694(0x32d)])[_0xb54694(0x2f5)])==null||_0x1bac4f[_0xb54694(0x453)](_0x76a7bc,{'unitID':_0x4cec12,'memberID':_0x2beac0,'textRanges':_0x3dd2fd}));}}[_0x445966(0x362)](){var _0xffb50d=_0x445966,_0x5bfcaa;(_0x5bfcaa=this[_0xffb50d(0x21a)])==null||_0x5bfcaa[_0xffb50d(0x47a)](this['unitID'],this[_0xffb50d(0x1b1)],this[_0xffb50d(0x3be)],this['_pendingMutations']);}[_0x445966(0x460)](){var _0x13e02c=_0x445966;return this[_0x13e02c(0x1ed)][_0x13e02c(0x3ed)](this[_0x13e02c(0x457)]);}[_0x445966(0x333)](){var _0x3d3e7f=_0x445966;this[_0x3d3e7f(0x1ed)][_0x3d3e7f(0x434)](this[_0x3d3e7f(0x457)]);}['_executeRemoteChangeset'](_0x2544fd){var _0x255af1=_0x445966,_0x207f0a;let _0xdf698a=this[_0x255af1(0x48d)](_0x2544fd);_0xdf698a=this[_0x255af1(0x420)](_0xdf698a);const _0x2da016=a['sequenceExecute'](_0xdf698a[_0x255af1(0x48e)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2da016[_0x255af1(0x23e)])throw _0x2da016[_0x255af1(0x31f)]instanceof Error?_0x2da016['error']:new Error((_0x207f0a=_0x2da016['error'])!=null?_0x207f0a:'[CollaborationState]:\x20apply\x20error!');this[_0x255af1(0x2ba)](_0xdf698a),this['_transformStateCache'](_0xdf698a),this['_transformUndoredo'](_0x2544fd),this[_0x255af1(0x22b)](_0xdf698a),this[_0x255af1(0x2de)](_0xdf698a),this[_0x255af1(0x333)]();}}exports[_0x445966(0x24f)]=class extends he{constructor(_0xc0df28,_0x57d2fe,_0x4eb47b,_0x274988,_0x59097d,_0x17089d,_0x167980,_0xd42370,_0x2fb476,_0x560cd0){var _0x29bc1e=_0x445966;super(_0xc0df28,_0x57d2fe,null,[],_0x4eb47b,_0x167980,_0x17089d,_0x274988,_0x560cd0),A(this,_0x29bc1e(0x222),_0x29bc1e(0x323)),(this[_0x29bc1e(0x3b4)]=_0x59097d,this[_0x29bc1e(0x2b0)]=_0xd42370,this['_transformService']=_0x2fb476,this[_0x29bc1e(0x295)]=_0x560cd0);}[_0x445966(0x17c)](_0x1ff6bb){var _0x1f82a1=_0x445966;const _0x2fafcc=this['_injector'][_0x1f82a1(0x46b)](exports[_0x1f82a1(0x28f)],this[_0x1f82a1(0x457)],this[_0x1f82a1(0x1b1)],[_0x1ff6bb],this['_handler']);return _0x2fafcc[_0x1f82a1(0x1f5)](),_0x2fafcc[_0x1f82a1(0x362)](),_0x2fafcc;}[_0x445966(0x1c7)](_0x2e585c){var _0x45397d=_0x445966;if(this[_0x45397d(0x1eb)](_0x2e585c))return this[_0x45397d(0x3b4)][_0x45397d(0x46b)](exports['FetchingMissState'],this[_0x45397d(0x457)],this[_0x45397d(0x1b1)],null,[],null,[_0x2e585c],this[_0x45397d(0x32d)]);try{const _0x2d3cfc=this[_0x45397d(0x2ca)][_0x45397d(0x41d)](_0x2e585c,[mi]);if(g[_0x45397d(0x2f7)](_0x2d3cfc)){const {c1Prime:_0x3c0e14}=_0x2d3cfc;return this[_0x45397d(0x39a)](_0x3c0e14),this;}throw _0x2d3cfc[_0x45397d(0x31f)];}catch(_0x3d1c7c){return this['_logService'][_0x45397d(0x31f)](_0x3d1c7c),this['_onConflict'](!0x1);}}['_onConflict'](_0xd2fb69){var _0x3f37f0=_0x445966;return this[_0x3f37f0(0x3b4)][_0x3f37f0(0x46b)](exports[_0x3f37f0(0x1dc)],this[_0x3f37f0(0x457)],this[_0x3f37f0(0x1b1)],null,[],this[_0x3f37f0(0x32d)],_0xd2fb69);}[_0x445966(0x437)](){var _0x5412c1=_0x445966;throw new Error(_0x5412c1(0x318));}[_0x445966(0x49e)](){var _0x497c23=_0x445966;throw new Error(_0x497c23(0x34a));}[_0x445966(0x428)](){return this;}[_0x445966(0x43a)](){var _0x5a5470=_0x445966;return this[_0x5a5470(0x3b4)][_0x5a5470(0x46b)](exports[_0x5a5470(0x3b0)],this['unitID'],this[_0x5a5470(0x1b1)],null,[],this[_0x5a5470(0x32d)]);}['toggleOnline'](){return this;}[_0x445966(0x321)](){var _0xd67d41=_0x445966;throw new Error(_0xd67d41(0x1b3));}[_0x445966(0x2c6)](){var _0x122b07=_0x445966;const _0x34073c=this[_0x122b07(0x1ed)][_0x122b07(0x3ed)](this[_0x122b07(0x457)]);return this[_0x122b07(0x32d)]['onMissingChangesets']({'from':_0x34073c,'to':0x0}),this[_0x122b07(0x3b4)][_0x122b07(0x46b)](exports[_0x122b07(0x3e9)],this[_0x122b07(0x457)],this['type'],null,[],null,[],this[_0x122b07(0x32d)]);}},exports[_0x445966(0x24f)]=ce([w(0x3,a[_0x445966(0x2cb)](g[_0x445966(0x311)])),w(0x4,a['Inject'](a[_0x445966(0x35b)])),w(0x5,a[_0x445966(0x452)]),w(0x6,a[_0x445966(0x3de)]),w(0x7,a[_0x445966(0x42a)]),w(0x8,g[_0x445966(0x483)]),w(0x9,a['Optional'](z))],exports[_0x445966(0x24f)]),exports[_0x445966(0x28f)]=class extends he{constructor(_0x1f944b,_0x2651e1,_0x7d6df,_0x5831d3,_0x596bd3,_0x59d62c,_0x472b2a,_0x15aab0,_0x37c3d8,_0x47732a,_0x54a667,_0xae481c,_0x2204bf,_0x5f1511){var _0x72ff25=_0x445966;super(_0x1f944b,_0x2651e1,null,_0x7d6df,_0x5831d3,_0x37c3d8,_0x2204bf,_0x59d62c,_0x5f1511),A(this,'status',_0x72ff25(0x476)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x72ff25(0x463),null),(this[_0x72ff25(0x3b4)]=_0x596bd3,this[_0x72ff25(0x450)]=_0x472b2a,this[_0x72ff25(0x2b0)]=_0x15aab0,this[_0x72ff25(0x42c)]=_0x47732a,this['_transformService']=_0x54a667,this[_0x72ff25(0x4a9)]=_0xae481c);}[_0x445966(0x17c)](_0x289091){var _0x24d46c=_0x445966;return this[_0x24d46c(0x267)][_0x24d46c(0x32f)](_0x289091),this[_0x24d46c(0x362)](),this;}['onRemoteChangeset'](_0x555b36){var _0x1eec41=_0x445966;if(this[_0x1eec41(0x1eb)](_0x555b36))return this[_0x1eec41(0x1f1)](),this[_0x1eec41(0x3b4)][_0x1eec41(0x46b)](exports['FetchingMissState'],this['unitID'],this['type'],null,this[_0x1eec41(0x267)],null,[_0x555b36],this['_handler']);try{const _0x4b483d=this[_0x1eec41(0x2ca)][_0x1eec41(0x41d)](_0x555b36,this[_0x1eec41(0x267)]);if(g[_0x1eec41(0x2f7)](_0x4b483d)){const {c1Prime:_0x2a6629,m2Prime:_0x14759f}=_0x4b483d;this[_0x1eec41(0x39a)](_0x2a6629);const _0xdc3440=this['_injector'][_0x1eec41(0x46b)](exports['PendingState'],this[_0x1eec41(0x457)],this['type'],_0x14759f,this[_0x1eec41(0x32d)]);this['_clearScheduledTask']();const _0x3a3e24=new Date()[_0x1eec41(0x1d8)](),_0x36082a=this[_0x1eec41(0x2da)]?Math[_0x1eec41(0x422)](this[_0x1eec41(0x2da)]-_0x3a3e24,0x0):this[_0x1eec41(0x1cc)]();return _0xdc3440[_0x1eec41(0x1f5)](_0x36082a),_0xdc3440;}throw _0x4b483d[_0x1eec41(0x31f)];}catch(_0x1a8c0c){return this[_0x1eec41(0x2b0)]['error'](_0x1a8c0c),this[_0x1eec41(0x4f7)](!0x1);}}['onRemoteAck'](){var _0x182f81=_0x445966;throw new Error(_0x182f81(0x336));}[_0x445966(0x49e)](){var _0x2958c6=_0x445966;throw new Error(_0x2958c6(0x435));}['onRemoteRetry'](){return this;}[_0x445966(0x43a)](){var _0x524ac6=_0x445966;return this['_clearScheduledTask'](),this[_0x524ac6(0x3b4)][_0x524ac6(0x46b)](exports['OfflineState'],this[_0x524ac6(0x457)],this[_0x524ac6(0x1b1)],null,this[_0x524ac6(0x267)],this[_0x524ac6(0x32d)]);}[_0x445966(0x4b4)](){return this;}[_0x445966(0x1f5)](_0x27b1d4){var _0x3cd515=_0x445966;const _0x39cb44=_0x27b1d4!=null?_0x27b1d4:this['_getSendChangesetTimeout']();this[_0x3cd515(0x2da)]=new Date()['getTime']()+_0x39cb44,this['_sendingTimer']=setTimeout(()=>{var _0x45b614=_0x3cd515;this[_0x45b614(0x1f1)]();let _0x3639ef=null;switch(this['type']){case X[_0x45b614(0x480)]:{_0x3639ef=ze(this[_0x45b614(0x267)],this[_0x45b614(0x457)],this[_0x45b614(0x4a9)],this[_0x45b614(0x1ed)],this[_0x45b614(0x450)]);break;}case X['UNIVER_DOC']:{this[_0x45b614(0x267)][_0x45b614(0x40d)](_0xa6d49f=>_0xa6d49f['id']===ut['RichTextEditingMutation']['id'])?_0x3639ef=Ii(this[_0x45b614(0x267)],this['unitID'],this['_univerInstanceService'],this[_0x45b614(0x1ed)],this[_0x45b614(0x450)]):_0x3639ef=ze(this['_pendingMutations'],this[_0x45b614(0x457)],this[_0x45b614(0x4a9)],this[_0x45b614(0x1ed)],this[_0x45b614(0x450)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x45b614(0x1b1)]+_0x45b614(0x473));}const {changeset:_0xebab82,pendingMutations:_0x2a1195}=_0x3639ef;this[_0x45b614(0x32d)]['onSendChangeset'](_0xebab82);const _0x38b9ab=_0x2a1195['length']?this[_0x45b614(0x3b4)][_0x45b614(0x46b)](exports[_0x45b614(0x3d9)],this['unitID'],this[_0x45b614(0x1b1)],_0xebab82,_0x2a1195,this[_0x45b614(0x32d)],void 0x0):this[_0x45b614(0x3b4)][_0x45b614(0x46b)](exports[_0x45b614(0x4d1)],this[_0x45b614(0x457)],this[_0x45b614(0x1b1)],_0xebab82,this[_0x45b614(0x32d)]);_0x38b9ab['_updateLocalCache'](),this[_0x45b614(0x32d)][_0x45b614(0x2af)](this,_0x38b9ab);},_0x39cb44);}[_0x445966(0x1cc)](){var _0x4f27cb=_0x445966,_0x507412;const _0x59bf03=this[_0x4f27cb(0x42c)][_0x4f27cb(0x29a)](Y);return(_0x507412=_0x59bf03==null?void 0x0:_0x59bf03['sendChangesetTimeout'])!=null?_0x507412:jt;}[_0x445966(0x321)](){var _0x452b7b=_0x445966;throw new Error(_0x452b7b(0x34c));}[_0x445966(0x1f1)](){var _0xb7f3fb=_0x445966;this[_0xb7f3fb(0x463)]!=null&&(clearTimeout(this[_0xb7f3fb(0x463)]),this[_0xb7f3fb(0x463)]=null);}['_onConflict'](_0x2509ac){var _0x33318d=_0x445966;return this[_0x33318d(0x1f1)](),this[_0x33318d(0x3b4)][_0x33318d(0x46b)](exports['ConflictState'],this[_0x33318d(0x457)],this[_0x33318d(0x1b1)],null,this[_0x33318d(0x267)],this[_0x33318d(0x32d)],_0x2509ac);}},exports[_0x445966(0x28f)]=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](g[_0x445966(0x311)])),w(0x6,a[_0x445966(0x2cb)](exports[_0x445966(0x3eb)])),w(0x7,a[_0x445966(0x42a)]),w(0x8,a[_0x445966(0x3de)]),w(0x9,a[_0x445966(0x4df)]),w(0xa,g[_0x445966(0x483)]),w(0xb,a[_0x445966(0x1f7)]),w(0xc,a[_0x445966(0x452)]),w(0xd,a[_0x445966(0x32e)](z))],exports[_0x445966(0x28f)]),exports[_0x445966(0x4d1)]=class extends he{constructor(_0x53ed38,_0x5f054e,_0x5498bc,_0x1f244b,_0xeaf4c3,_0x39256b,_0x5c8f8b,_0x20dc3a,_0x1f0599,_0x36a731,_0xef3880){var _0x4b5291=_0x445966;super(_0x53ed38,_0x5f054e,_0x5498bc,[],_0x1f244b,_0x5c8f8b,_0x36a731,_0x39256b,_0xef3880),A(this,_0x4b5291(0x222),_0x4b5291(0x186)),A(this,_0x4b5291(0x29d),0x0),A(this,_0x4b5291(0x21c)),A(this,'_sender'),(this[_0x4b5291(0x3b4)]=_0xeaf4c3,this[_0x4b5291(0x2b0)]=_0x20dc3a,this[_0x4b5291(0x2ca)]=_0x1f0599);}[_0x445966(0x17c)](_0x5e80ac){var _0x2597fd=_0x445966;this[_0x2597fd(0x1f1)]();const _0x3d84d8=this[_0x2597fd(0x3b4)][_0x2597fd(0x46b)](exports['AwaitingWithPendingState'],this[_0x2597fd(0x457)],this[_0x2597fd(0x1b1)],this[_0x2597fd(0x3be)],[_0x5e80ac],this['_handler'],this[_0x2597fd(0x21c)]);return _0x3d84d8['_updateLocalCache'](),_0x3d84d8;}[_0x445966(0x1c7)](_0x3478e2){var _0x30d237=_0x445966;if(this['_checkMissing'](_0x3478e2))return this[_0x30d237(0x1f1)](),this[_0x30d237(0x3b4)][_0x30d237(0x46b)](exports[_0x30d237(0x3e9)],this['unitID'],this[_0x30d237(0x1b1)],this['_awaitingChangeset'],[],null,[_0x3478e2],this[_0x30d237(0x32d)]);try{const _0x5ba715=this[_0x30d237(0x2ca)][_0x30d237(0x48c)]([_0x3478e2],[this['_awaitingChangeset']],!0x1);if(g[_0x30d237(0x1bc)](_0x5ba715)){const {c1Prime:_0x3bf744,c2Prime:_0x392921}=_0x5ba715;this[_0x30d237(0x39a)](_0x3bf744[0x0]),_0x392921[0x0][_0x30d237(0x25b)]=this[_0x30d237(0x460)](),this[_0x30d237(0x1f1)]();const _0x2b72f8=this[_0x30d237(0x3b4)]['createInstance'](exports[_0x30d237(0x4d1)],this['unitID'],this[_0x30d237(0x1b1)],_0x392921[0x0],this[_0x30d237(0x32d)]);return _0x2b72f8[_0x30d237(0x362)](),_0x2b72f8;}return this[_0x30d237(0x4f7)](!0x1);}catch(_0x3253cb){return this[_0x30d237(0x2b0)][_0x30d237(0x31f)](_0x3253cb),this[_0x30d237(0x4f7)](!0x1);}}[_0x445966(0x437)](_0x2abb8f){var _0x13db94=_0x445966;this[_0x13db94(0x1f1)]();const _0x36f10b=this['_revisionService'][_0x13db94(0x3ed)](this['unitID']);if(_0x2abb8f['revision']<_0x36f10b-0x1)return this;if(this['_checkMissing'](_0x2abb8f))return this[_0x13db94(0x3b4)]['createInstance'](exports['FetchingMissState'],this[_0x13db94(0x457)],this['type'],null,[],this[_0x13db94(0x3be)],[],this[_0x13db94(0x32d)]);this[_0x13db94(0x333)]();const _0x2e3259=this['_injector'][_0x13db94(0x46b)](exports[_0x13db94(0x24f)],this[_0x13db94(0x457)],this[_0x13db94(0x1b1)],this[_0x13db94(0x32d)]);return _0x2e3259[_0x13db94(0x362)](),_0x2e3259;}[_0x445966(0x49e)](_0x1b5ac8){var _0x2554ce=_0x445966;return this['_onConflict'](!!(_0x1b5ac8!=null&&_0x1b5ac8[_0x2554ce(0x4ca)]));}[_0x445966(0x428)](_0x391b3d){var _0x56167d=_0x445966;return this[_0x56167d(0x29d)]>Nt?this[_0x56167d(0x43a)]():(this[_0x56167d(0x21c)]=yt(this[_0x56167d(0x29d)],{'timeout':this['_resendTimeout'],'reqId':_0x391b3d['reqId']}),this['_sender']=this[_0x56167d(0x21c)][_0x56167d(0x1e8)](({reqId:_0xf2383d,timeout:_0x286764})=>{this['_resendWithTimeout'](_0xf2383d,_0x286764);}),this);}[_0x445966(0x43a)](){var _0x5daa4e=_0x445966;return this['_clearScheduledTask'](),this['_injector'][_0x5daa4e(0x46b)](exports[_0x5daa4e(0x3b0)],this['unitID'],this[_0x5daa4e(0x1b1)],this[_0x5daa4e(0x3be)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x445966(0x321)](){var _0x5df037=_0x445966;this[_0x5df037(0x32d)][_0x5df037(0x235)](this[_0x5df037(0x3be)]);}['_onConflict'](_0x2ddb1a){var _0x447aa9=_0x445966;return this['_clearScheduledTask'](),this[_0x447aa9(0x3b4)][_0x447aa9(0x46b)](exports[_0x447aa9(0x1dc)],this[_0x447aa9(0x457)],this[_0x447aa9(0x1b1)],this['_awaitingChangeset'],[],this[_0x447aa9(0x32d)],_0x2ddb1a);}[_0x445966(0x2b4)](_0x19c631,_0x3bdbee){var _0x290045=_0x445966,_0xc1a519;_0x19c631===((_0xc1a519=this['_awaitingChangeset'])==null?void 0x0:_0xc1a519['reqId'])&&(this[_0x290045(0x321)](),this[_0x290045(0x29d)]=_0x3bdbee===0x0?0x3e8:_0x3bdbee*0x2);}[_0x445966(0x1f1)](){var _0x3cb698=_0x445966,_0x14ac07;(_0x14ac07=this[_0x3cb698(0x46d)])==null||_0x14ac07[_0x3cb698(0x22c)](),this['_resendTimeout']=0x0;}},exports[_0x445966(0x4d1)]=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x445966(0x2cb)](g[_0x445966(0x311)])),w(0x6,a[_0x445966(0x3de)]),w(0x7,a[_0x445966(0x42a)]),w(0x8,g[_0x445966(0x483)]),w(0x9,a[_0x445966(0x452)]),w(0xa,a[_0x445966(0x32e)](z))],exports[_0x445966(0x4d1)]),exports['AwaitingWithPendingState']=class extends he{constructor(_0x57e66e,_0x587dc8,_0x3b891a,_0x2b6319,_0x253a9e,_0x1e817f,_0xceb214,_0x1550b4,_0x5038a6,_0x33c98c,_0x4815c9,_0x5d3ba8,_0x57fccd){var _0x218197=_0x445966;super(_0x57e66e,_0x587dc8,_0x3b891a,_0x2b6319,_0x253a9e,_0x5038a6,_0x5d3ba8,_0x1550b4,_0x57fccd),A(this,_0x218197(0x222),_0x218197(0x331)),A(this,'_resendTimeout',0x0),A(this,_0x218197(0x21c)),A(this,_0x218197(0x46d)),(this[_0x218197(0x3b4)]=_0xceb214,this['_logService']=_0x33c98c,this[_0x218197(0x2ca)]=_0x4815c9,this[_0x218197(0x295)]=_0x57fccd,_0x1e817f&&(this[_0x218197(0x21c)]=_0x1e817f,this[_0x218197(0x46d)]=this[_0x218197(0x21c)]['subscribe'](({reqId:_0x280a2b,timeout:_0x520eda})=>{this['_resendWithTimeout'](_0x280a2b,_0x520eda);})));}['appendMutation'](_0x37f7bc){var _0x3edb69=_0x445966;return this[_0x3edb69(0x267)][_0x3edb69(0x32f)](_0x37f7bc),this;}[_0x445966(0x1c7)](_0x1d6c4b){var _0x3ff839=_0x445966;if(this[_0x3ff839(0x1eb)](_0x1d6c4b))return this[_0x3ff839(0x1f1)](),this['_injector'][_0x3ff839(0x46b)](exports['FetchingMissState'],this[_0x3ff839(0x457)],this['type'],this[_0x3ff839(0x3be)],this['_pendingMutations'],null,[_0x1d6c4b],this[_0x3ff839(0x32d)]);try{const _0x1e3407=this[_0x3ff839(0x2ca)][_0x3ff839(0x48c)]([_0x1d6c4b],[this['_awaitingChangeset']],!0x1);if(g[_0x3ff839(0x1bc)](_0x1e3407)){const {c1Prime:_0x3b09ee,c2Prime:_0x159511}=_0x1e3407,_0x3bcf28=this['_transformService'][_0x3ff839(0x41d)](_0x3b09ee[0x0],this[_0x3ff839(0x267)]);if(g[_0x3ff839(0x2f7)](_0x3bcf28)){const {c1Prime:_0x1060d7,m2Prime:_0x392333}=_0x3bcf28;return this['_executeRemoteChangeset'](_0x1060d7),_0x159511[0x0][_0x3ff839(0x25b)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x3ff839(0x3d9)],this[_0x3ff839(0x457)],this[_0x3ff839(0x1b1)],_0x159511[0x0],_0x392333,this[_0x3ff839(0x32d)],void 0x0);}throw _0x3bcf28[_0x3ff839(0x31f)];}throw _0x1e3407[_0x3ff839(0x31f)];}catch(_0x121f03){return this['_logService'][_0x3ff839(0x31f)](_0x121f03),this[_0x3ff839(0x4f7)](!0x1);}}[_0x445966(0x437)](_0x25af04){var _0x468c3b=_0x445966;if(this[_0x468c3b(0x1f1)](),this['_checkMissing'](_0x25af04))return this[_0x468c3b(0x3b4)][_0x468c3b(0x46b)](exports[_0x468c3b(0x3e9)],this['unitID'],this[_0x468c3b(0x1b1)],null,this[_0x468c3b(0x267)],this[_0x468c3b(0x3be)],[],this[_0x468c3b(0x32d)]);this[_0x468c3b(0x333)]();const _0x190928=this['_injector']['createInstance'](exports[_0x468c3b(0x28f)],this[_0x468c3b(0x457)],this[_0x468c3b(0x1b1)],this[_0x468c3b(0x267)],this[_0x468c3b(0x32d)]);return _0x190928[_0x468c3b(0x1f5)](),_0x190928[_0x468c3b(0x362)](),_0x190928;}['onRemoteRej'](_0x5be058){var _0x3bc89f=_0x445966;return this[_0x3bc89f(0x4f7)](!!(_0x5be058!=null&&_0x5be058['isPermissionRej']));}[_0x445966(0x428)](_0x15b79c){var _0x177a12=_0x445966;return this[_0x177a12(0x29d)]>Nt?this[_0x177a12(0x43a)]():(this[_0x177a12(0x21c)]=yt(this[_0x177a12(0x29d)],{'timeout':this[_0x177a12(0x29d)],'reqId':_0x15b79c['reqId']}),this[_0x177a12(0x46d)]=this[_0x177a12(0x21c)][_0x177a12(0x1e8)](({reqId:_0x24d245,timeout:_0x554475})=>{var _0x366339=_0x177a12;this[_0x366339(0x2b4)](_0x24d245,_0x554475);}),this);}['toggleOffline'](){var _0xe6d622=_0x445966;return this[_0xe6d622(0x1f1)](),this[_0xe6d622(0x3b4)][_0xe6d622(0x46b)](exports[_0xe6d622(0x3b0)],this[_0xe6d622(0x457)],this[_0xe6d622(0x1b1)],this[_0xe6d622(0x3be)],this['_pendingMutations'],this[_0xe6d622(0x32d)]);}[_0x445966(0x4b4)](){return this;}['resend'](){var _0x41ef9f=_0x445966;this[_0x41ef9f(0x32d)]['onSendChangeset'](this[_0x41ef9f(0x3be)]);}[_0x445966(0x4f7)](_0x17a8a1){var _0x278a7e=_0x445966;return this[_0x278a7e(0x1f1)](),this[_0x278a7e(0x3b4)]['createInstance'](exports['ConflictState'],this[_0x278a7e(0x457)],this['type'],null,this[_0x278a7e(0x267)],this[_0x278a7e(0x32d)],_0x17a8a1);}['_resendWithTimeout'](_0x58cd01,_0x1b0b8f){var _0x4511c6=_0x445966,_0x47c693;_0x58cd01===((_0x47c693=this[_0x4511c6(0x3be)])==null?void 0x0:_0x47c693[_0x4511c6(0x271)])&&(this[_0x4511c6(0x321)](),this[_0x4511c6(0x29d)]=_0x1b0b8f===0x0?0x3e8:_0x1b0b8f*0x2);}[_0x445966(0x1f1)](){var _0x1c061c=_0x445966,_0x32de4a;(_0x32de4a=this['_sender'])==null||_0x32de4a[_0x1c061c(0x22c)](),this['_resendTimeout']=0x0;}},exports[_0x445966(0x3d9)]=ce([w(0x6,a['Inject'](a[_0x445966(0x35b)])),w(0x7,a['Inject'](g[_0x445966(0x311)])),w(0x8,a[_0x445966(0x3de)]),w(0x9,a['ILogService']),w(0xa,g[_0x445966(0x483)]),w(0xb,a['IUndoRedoService']),w(0xc,a['Optional'](z))],exports['AwaitingWithPendingState']),exports[_0x445966(0x1dc)]=class extends he{constructor(_0x2a7be7,_0x4b56b8,_0x58e85b,_0x21ede4,_0x1dffbb,_0x328525=!0x1,_0x57e32d,_0x37118a,_0x2744fe,_0xa634dc,_0x5b808a,_0x3e9339,_0x1bfcbd){var _0x3fba1c=_0x445966;super(_0x2a7be7,_0x4b56b8,_0x58e85b,_0x21ede4,_0x1dffbb,_0x37118a,_0x2744fe,_0xa634dc,_0x1bfcbd),A(this,_0x3fba1c(0x222),_0x3fba1c(0x4c1)),(this[_0x3fba1c(0x3bf)]=_0x328525,this['_permissionService']=_0x57e32d,this[_0x3fba1c(0x236)]=_0x5b808a,this[_0x3fba1c(0x19b)]=_0x3e9339,this[_0x3fba1c(0x295)]=_0x1bfcbd,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x445966(0x17c)](){return this;}['onRemoteChangeset'](){return this;}[_0x445966(0x437)](){return this;}[_0x445966(0x49e)](){return this;}[_0x445966(0x428)](){return this;}['toggleOffline'](){return this;}[_0x445966(0x4b4)](){return this;}[_0x445966(0x321)](){var _0xdceb9e=_0x445966;throw new Error(_0xdceb9e(0x284));}[_0x445966(0x1ae)](){var _0x443205=_0x445966,_0x3854f5;(_0x3854f5=this[_0x443205(0x21a)])==null||_0x3854f5['updateOfflineData'](this[_0x443205(0x457)],this[_0x443205(0x1b1)],null,[]);}[_0x445966(0x419)](){var _0x4c17c7=_0x445966;this[_0x4c17c7(0x3bf)]?this[_0x4c17c7(0x19b)][_0x4c17c7(0x2d2)]({'id':Q['PERMISSION_DENIED']}):this[_0x4c17c7(0x19b)][_0x4c17c7(0x2d2)]({'id':Q['CONFLICT']});}[_0x445966(0x285)](){var _0x392481=_0x445966;this[_0x392481(0x38a)][_0x392481(0x1ef)](new Z[(_0x392481(0x25e))](this['unitID'])['id'],!0x1);}},exports[_0x445966(0x1dc)]=ce([w(0x6,a[_0x445966(0x2cb)](a['IPermissionService'])),w(0x7,a[_0x445966(0x3de)]),w(0x8,a[_0x445966(0x452)]),w(0x9,a[_0x445966(0x2cb)](g['RevisionService'])),w(0xa,a[_0x445966(0x2cb)](a[_0x445966(0x4cd)])),w(0xb,a[_0x445966(0x2cb)](te)),w(0xc,a['Optional'](z))],exports[_0x445966(0x1dc)]),exports[_0x445966(0x3b0)]=class extends he{constructor(_0x39bade,_0x2a05f8,_0x19a935,_0x121ef4,_0x45343b,_0x1ce98d,_0x1ec815,_0x4a58c1,_0x1e028f,_0x5b8e1c){var _0x51c944=_0x445966;super(_0x39bade,_0x2a05f8,_0x19a935,_0x121ef4,_0x45343b,_0x4a58c1,_0x1e028f,_0x1ec815,_0x5b8e1c),A(this,'status',_0x51c944(0x286)),this[_0x51c944(0x3b4)]=_0x1ce98d;}[_0x445966(0x17c)](_0xe32665){var _0x1c6e4d=_0x445966;return this[_0x1c6e4d(0x267)][_0x1c6e4d(0x32f)](_0xe32665),this[_0x1c6e4d(0x362)](),this;}[_0x445966(0x1c7)](_0x1f9501){var _0x4d2c3d=_0x445966;throw new Error(_0x4d2c3d(0x432));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x445966(0x49e)](){var _0x5e2560=_0x445966;throw new Error(_0x5e2560(0x272));}['onRemoteRetry'](){return this;}[_0x445966(0x43a)](){return this;}[_0x445966(0x4b4)](){var _0xa3e1c3=_0x445966;const {_injector:_0x234594,_pendingMutations:_0x15cec4,_awaitingChangeset:_0x338f51,unitID:_0x1d052a,_handler:_0x1c8006,type:_0x538f6f}=this,_0xd57b6e=Ut(_0x234594,_0x1d052a,_0x538f6f,_0x338f51,_0x15cec4,_0x1c8006);return _0xd57b6e instanceof exports[_0xa3e1c3(0x28f)]?_0xd57b6e[_0xa3e1c3(0x1f5)]():(_0xd57b6e instanceof exports[_0xa3e1c3(0x3d9)]||_0xd57b6e instanceof exports[_0xa3e1c3(0x4d1)])&&_0xd57b6e['resend'](),_0xd57b6e;}[_0x445966(0x321)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x445966(0x3b0)]=ce([w(0x5,a[_0x445966(0x2cb)](a['Injector'])),w(0x6,a[_0x445966(0x2cb)](g[_0x445966(0x311)])),w(0x7,a[_0x445966(0x3de)]),w(0x8,a[_0x445966(0x452)]),w(0x9,a[_0x445966(0x32e)](z))],exports[_0x445966(0x3b0)]),exports[_0x445966(0x3e9)]=class extends he{constructor(_0x1ca337,_0x54fdfb,_0x4402f0,_0xa79c59,_0x5dcb57,_0x7360f1,_0x294a00,_0x4bf975,_0x47a985,_0x39606c,_0x3f21b1,_0x1c97ac,_0x4216a2,_0x44d834){var _0x571ed5=_0x445966;super(_0x1ca337,_0x54fdfb,_0x4402f0,_0xa79c59,_0x294a00,_0x3f21b1,_0x1c97ac,_0x47a985,_0x44d834),A(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x5dcb57,this[_0x571ed5(0x417)]=_0x7360f1,this[_0x571ed5(0x3b4)]=_0x4bf975,this['_logService']=_0x39606c,this[_0x571ed5(0x2ca)]=_0x4216a2,this[_0x571ed5(0x295)]=_0x44d834);}[_0x445966(0x454)](_0x422c9a){var _0xaaa25f=_0x445966;try{const _0x685d9e=[..._0x422c9a,...this[_0xaaa25f(0x417)]],_0x5bc8b1=[this['_awaitingChangeset']||this[_0xaaa25f(0x30f)]][_0xaaa25f(0x3d8)](_0x5c01bc=>!!_0x5c01bc);let _0x4e15ba,_0x52b39d;if(_0x5bc8b1[_0xaaa25f(0x2a6)]){const _0x17183a=this['_transformService'][_0xaaa25f(0x48c)](_0x685d9e,_0x5bc8b1,!0x1);if(!g[_0xaaa25f(0x1bc)](_0x17183a))throw _0x17183a[_0xaaa25f(0x31f)];_0x4e15ba=_0x17183a[_0xaaa25f(0x289)],_0x52b39d=_0x17183a[_0xaaa25f(0x374)];}else _0x4e15ba=_0x685d9e,_0x52b39d=[];let _0x57e9da=this[_0xaaa25f(0x267)];_0x4e15ba['forEach'](_0x474ffa=>{var _0x231745=_0xaaa25f;let _0x62cc01;if(_0x57e9da[_0x231745(0x2a6)]){const _0x283581=this['_transformService'][_0x231745(0x41d)](_0x474ffa,_0x57e9da);if(!g[_0x231745(0x2f7)](_0x283581))throw _0x283581[_0x231745(0x31f)];_0x62cc01=_0x283581['c1Prime'],_0x57e9da=_0x283581[_0x231745(0x339)];}else _0x62cc01=_0x474ffa;this[_0x231745(0x39a)](_0x62cc01);}),this[_0xaaa25f(0x30f)]&&this['_incrementRevisionNumber'](),this[_0xaaa25f(0x3be)]&&_0x52b39d['length']&&(_0x52b39d[0x0][_0xaaa25f(0x25b)]=this[_0xaaa25f(0x460)]());let _0x1ca150;if(this[_0xaaa25f(0x3be)]&&_0x57e9da[_0xaaa25f(0x2a6)]!==0x0)_0x1ca150=this[_0xaaa25f(0x3b4)]['createInstance'](exports[_0xaaa25f(0x3d9)],this[_0xaaa25f(0x457)],this[_0xaaa25f(0x1b1)],_0x52b39d[0x0],_0x57e9da,this[_0xaaa25f(0x32d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x57e9da[_0xaaa25f(0x2a6)]===0x0)_0x52b39d[0x0][_0xaaa25f(0x25b)]=this[_0xaaa25f(0x460)](),_0x1ca150=this[_0xaaa25f(0x3b4)][_0xaaa25f(0x46b)](exports[_0xaaa25f(0x4d1)],this['unitID'],this[_0xaaa25f(0x1b1)],_0x52b39d[0x0],this[_0xaaa25f(0x32d)]);else{if(_0x57e9da[_0xaaa25f(0x2a6)]!==0x0){const _0x1ff86b=this[_0xaaa25f(0x3b4)][_0xaaa25f(0x46b)](exports[_0xaaa25f(0x28f)],this['unitID'],this[_0xaaa25f(0x1b1)],_0x57e9da,this[_0xaaa25f(0x32d)]);_0x1ff86b[_0xaaa25f(0x1f5)](),_0x1ca150=_0x1ff86b;}else _0x1ca150=this['_injector'][_0xaaa25f(0x46b)](exports[_0xaaa25f(0x24f)],this[_0xaaa25f(0x457)],this[_0xaaa25f(0x1b1)],this[_0xaaa25f(0x32d)]);}}return _0x1ca150[_0xaaa25f(0x362)](),_0x1ca150;}catch(_0x5d8df7){return this['_logService'][_0xaaa25f(0x31f)](_0xaaa25f(0x27d),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5d8df7),this['_injector'][_0xaaa25f(0x46b)](exports[_0xaaa25f(0x1dc)],this['unitID'],this[_0xaaa25f(0x1b1)],this[_0xaaa25f(0x3be)],this[_0xaaa25f(0x267)],this[_0xaaa25f(0x32d)],!0x1);}}[_0x445966(0x321)](){var _0x46d951=_0x445966;throw new Error(_0x46d951(0x27f));}[_0x445966(0x17c)](_0x6a5500){var _0x19cbaf=_0x445966;return this[_0x19cbaf(0x267)][_0x19cbaf(0x32f)](_0x6a5500),this;}[_0x445966(0x1c7)](_0x1f3d09){var _0x318d30=_0x445966;return this[_0x318d30(0x417)][_0x318d30(0x32f)](_0x1f3d09),this;}[_0x445966(0x437)](_0x2c240c){var _0x5e9bf7=_0x445966;if(this[_0x5e9bf7(0x3be)])return this['_acknowledgedAwaitingChangeset']=this[_0x5e9bf7(0x3be)],this['_awaitingChangeset']=null,this;throw new Error(_0x5e9bf7(0x357));}[_0x445966(0x49e)](_0x4ead4f){var _0x49a462=_0x445966;return this[_0x49a462(0x4f7)](!!(_0x4ead4f!=null&&_0x4ead4f[_0x49a462(0x4ca)]));}[_0x445966(0x428)](){return this;}['toggleOffline'](){var _0x46bd42=_0x445966;return this['_injector'][_0x46bd42(0x46b)](exports[_0x46bd42(0x3b0)],this[_0x46bd42(0x457)],this[_0x46bd42(0x1b1)],this[_0x46bd42(0x3be)],this['_pendingMutations'],this[_0x46bd42(0x32d)]);}[_0x445966(0x4b4)](){return this;}[_0x445966(0x4f7)](_0x5baf4b){var _0x41e683=_0x445966;return this[_0x41e683(0x3b4)]['createInstance'](exports[_0x41e683(0x1dc)],this[_0x41e683(0x457)],this['type'],this[_0x41e683(0x3be)],this[_0x41e683(0x267)],this[_0x41e683(0x32d)],_0x5baf4b);}},exports[_0x445966(0x3e9)]=ce([w(0x7,a[_0x445966(0x2cb)](a['Injector'])),w(0x8,a[_0x445966(0x2cb)](g['RevisionService'])),w(0x9,a[_0x445966(0x42a)]),w(0xa,a[_0x445966(0x3de)]),w(0xb,a['IUndoRedoService']),w(0xc,g['ITransformService']),w(0xd,a[_0x445966(0x32e)](z))],exports[_0x445966(0x3e9)]);function Ut(_0x3dc08d,_0x17adc5,_0xc7f68c,_0x549b98,_0x4eb4a1,_0x376499){var _0x4d8d85=_0x445966;return _0x549b98&&_0x4eb4a1[_0x4d8d85(0x2a6)]?_0x3dc08d[_0x4d8d85(0x46b)](exports[_0x4d8d85(0x3d9)],_0x17adc5,_0xc7f68c,_0x549b98,_0x4eb4a1,_0x376499,void 0x0):_0x549b98?_0x3dc08d['createInstance'](exports[_0x4d8d85(0x4d1)],_0x17adc5,_0xc7f68c,_0x549b98,_0x376499):_0x4eb4a1[_0x4d8d85(0x2a6)]?_0x3dc08d[_0x4d8d85(0x46b)](exports['PendingState'],_0x17adc5,_0xc7f68c,_0x4eb4a1,_0x376499):_0x3dc08d['createInstance'](exports[_0x4d8d85(0x24f)],_0x17adc5,_0xc7f68c,_0x376499);}var Ci=Object[_0x445966(0x2b5)],We=(_0x214619,_0x27455b,_0x2e22e2,_0x47abb7)=>{for(var _0x1c109c=_0x47abb7>0x1?void 0x0:_0x47abb7?Ci(_0x27455b,_0x2e22e2):_0x27455b,_0x2105d1=_0x214619['length']-0x1,_0x429aa6;_0x2105d1>=0x0;_0x2105d1--)(_0x429aa6=_0x214619[_0x2105d1])&&(_0x1c109c=_0x429aa6(_0x1c109c)||_0x1c109c);return _0x1c109c;},$=(_0x543224,_0x26f662)=>(_0xfd5c26,_0x5eec17)=>_0x26f662(_0xfd5c26,_0x5eec17,_0x543224);exports[_0x445966(0x304)]=class extends a['RxDisposable']{constructor(_0x42e407,_0xa95c68,_0x28faaf,_0x3f5ecc,_0x46d999,_0x1ada79,_0x3676ad,_0x29f3c8,_0x84852,_0x252634,_0x328767,_0x31b7b6,_0x15fc97){var _0x575fb4=_0x445966;super(),A(this,_0x575fb4(0x187),new j[(_0x575fb4(0x33d))](null)),A(this,'state$',this[_0x575fb4(0x187)][_0x575fb4(0x1be)]()),A(this,_0x575fb4(0x40c)),A(this,_0x575fb4(0x18e),!0x1),A(this,_0x575fb4(0x208),''),A(this,_0x575fb4(0x431),0x0),A(this,'status$',this['state$']['pipe'](j[_0x575fb4(0x308)](_0x423982=>_0x423982?_0x423982[_0x575fb4(0x222)]:Ve[_0x575fb4(0x4c7)]),j[_0x575fb4(0x17d)](0x1))),A(this,_0x575fb4(0x458),!0x1),A(this,_0x575fb4(0x3a9),[]),(this[_0x575fb4(0x457)]=_0x42e407,this[_0x575fb4(0x4fb)]=_0xa95c68,this['_type']=_0x28faaf,this[_0x575fb4(0x3b4)]=_0x3f5ecc,this[_0x575fb4(0x1b9)]=_0x46d999,this[_0x575fb4(0x236)]=_0x1ada79,this[_0x575fb4(0x1ed)]=_0x3676ad,this[_0x575fb4(0x1a1)]=_0x29f3c8,this[_0x575fb4(0x2b0)]=_0x84852,this[_0x575fb4(0x2ec)]=_0x252634,this[_0x575fb4(0x38a)]=_0x328767,this[_0x575fb4(0x224)]=_0x31b7b6,this[_0x575fb4(0x21a)]=_0x15fc97);}get[_0x445966(0x182)](){return this['_state'];}async[_0x445966(0x1ca)](){var _0x3c7476=_0x445966;if(this[_0x3c7476(0x182)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x445966(0x301)](){var _0xa139ad=_0x445966;return this[_0xa139ad(0x18e)]=!0x0,a['toDisposable'](()=>{var _0x2585e2=_0xa139ad;this['_collaborationPaused']=!0x1,this[_0x2585e2(0x485)]();});}[_0x445966(0x478)](_0x367af7){this['_onLocalMutation'](_0x367af7);}[_0x445966(0x237)](_0x267855){var _0x1dab08=_0x445966;this['_state']=_0x267855,this[_0x1dab08(0x187)][_0x1dab08(0x36e)](_0x267855);}async[_0x445966(0x4e6)](){var _0x301815=_0x445966,_0x3e45e2;this[_0x301815(0x237)](await this['_createInitialState']()),this[_0x301815(0x224)]&&((_0x3e45e2=this[_0x301815(0x224)])==null||_0x3e45e2[_0x301815(0x391)](this[_0x301815(0x457)]),this[_0x301815(0x494)](this[_0x301815(0x224)][_0x301815(0x307)](this[_0x301815(0x457)])[_0x301815(0x1e8)](_0x45987b=>{var _0x4698f8=_0x301815;this['_logService'][_0x4698f8(0x27b)](_0x4698f8(0x388),'editing\x20status\x20changed\x20to',_0x45987b),_0x45987b===Fe[_0x4698f8(0x1ee)]?(this[_0x4698f8(0x1a1)][_0x4698f8(0x2d2)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x4698f8(0x38a)][_0x4698f8(0x1ef)](new Z['WorkbookEditablePermission'](this[_0x4698f8(0x457)])['id'],!0x1),this[_0x4698f8(0x38a)][_0x4698f8(0x328)](!0x1)):(this[_0x4698f8(0x38a)][_0x4698f8(0x1ef)](new Z[(_0x4698f8(0x25e))](this['unitID'])['id'],!0x0),this[_0x4698f8(0x38a)][_0x4698f8(0x328)](!0x0));})));let _0x30f24d=!0x1;return this[_0x301815(0x494)](this[_0x301815(0x4fb)][_0x301815(0x477)][_0x301815(0x1e8)](_0x49c69f=>{var _0x9fcd2d=_0x301815;_0x49c69f===se[_0x9fcd2d(0x1fe)]?this[_0x9fcd2d(0x1f2)](_0x30f24d):_0x49c69f===se['OFFLINE']&&(_0x30f24d=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this['session']['event$'][_0x301815(0x1e8)](_0x3600ad=>{var _0x5dc17e=_0x301815;try{switch(_0x3600ad[_0x5dc17e(0x4e5)]){case g['CollaborationEvent'][_0x5dc17e(0x369)]:{this[_0x5dc17e(0x26f)](g[_0x5dc17e(0x3ca)](_0x3600ad[_0x5dc17e(0x3a5)]));break;}case g['CollaborationEvent'][_0x5dc17e(0x2d7)]:{this[_0x5dc17e(0x2c7)](_0x3600ad[_0x5dc17e(0x3a5)]);break;}case g[_0x5dc17e(0x3a3)][_0x5dc17e(0x4a6)]:{this[_0x5dc17e(0x2e7)]();break;}case g[_0x5dc17e(0x3a3)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x3600ad[_0x5dc17e(0x3a5)]);break;}case g[_0x5dc17e(0x3a3)][_0x5dc17e(0x446)]:{this['_onFetchMissResult'](_0x3600ad[_0x5dc17e(0x3a5)][_0x5dc17e(0x2db)][_0x5dc17e(0x308)](_0x94b65=>g['parseProtocolChangeset'](_0x94b65)));break;}case g[_0x5dc17e(0x3a3)]['PERMISSION_REJ']:{this[_0x5dc17e(0x2e7)]({'isPermissionRej':!0x0});break;}case g['CollaborationEvent'][_0x5dc17e(0x40a)]:break;}}catch(_0xe5588a){throw console[_0x5dc17e(0x31f)]('Error\x20on\x20receiving\x20event',_0xe5588a),_0xe5588a;}})),this[_0x301815(0x40c)];}['_unlockTransition'](){var _0xe0179f=_0x445966;this[_0xe0179f(0x458)]=!0x1;}[_0x445966(0x4b0)](){var _0x346ab2=_0x445966;if(this[_0x346ab2(0x458)])throw new Error(_0x346ab2(0x1c4));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0xe0faa3){var _0x1a43ce=_0x445966;this[_0x1a43ce(0x4b0)](),this[_0x1a43ce(0x237)](this[_0x1a43ce(0x40c)][_0x1a43ce(0x17c)](_0xe0faa3)),this['_unlockTransition']();}[_0x445966(0x26f)](_0x481afd){var _0x1f3871=_0x445966;if(!(_0x481afd[_0x1f3871(0x320)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1f3871(0x457)]))){if(this[_0x1f3871(0x18e)]){this['_remoteChangesetQueue']['push'](_0x481afd);return;}this[_0x1f3871(0x309)](_0x481afd);}}['_exhaustRemoteChangesetQueue'](){var _0xb2c85=_0x445966;this[_0xb2c85(0x3a9)][_0xb2c85(0x329)](_0x156c9b=>this[_0xb2c85(0x309)](_0x156c9b)),this['_remoteChangesetQueue']=[];}[_0x445966(0x309)](_0x2605cb){var _0x3bb1a6=_0x445966;const _0x1ffcb0=this[_0x3bb1a6(0x1b9)][_0x3bb1a6(0x4f0)][_0x3bb1a6(0x273)](this[_0x3bb1a6(0x1b9)][_0x3bb1a6(0x4f0)]['getInterceptPoints']()[_0x3bb1a6(0x2f2)])(_0x2605cb[_0x3bb1a6(0x48e)],null)||_0x2605cb[_0x3bb1a6(0x48e)],_0x2e173f={..._0x2605cb,'mutations':_0x1ffcb0};this[_0x3bb1a6(0x4b0)](),this['_updateState'](this[_0x3bb1a6(0x40c)][_0x3bb1a6(0x1c7)](_0x2e173f)),this['_unlockTransition']();}[_0x445966(0x2c7)](_0x12d0ee){var _0x2019ef=_0x445966;this[_0x2019ef(0x4b0)](),this[_0x2019ef(0x237)](this['_state'][_0x2019ef(0x437)](_0x12d0ee)),this[_0x2019ef(0x36d)]();}[_0x445966(0x2e7)](_0xd9177d){var _0x1f3138=_0x445966;this[_0x1f3138(0x4b0)](),this[_0x1f3138(0x237)](this[_0x1f3138(0x40c)][_0x1f3138(0x49e)](_0xd9177d)),this['_unlockTransition']();}[_0x445966(0x3a7)](_0x65678c){var _0x3751e4=_0x445966;this[_0x3751e4(0x4b0)](),this[_0x3751e4(0x237)](this[_0x3751e4(0x40c)]['onRemoteRetry'](_0x65678c)),this[_0x3751e4(0x36d)]();}[_0x445966(0x297)](_0x49478d){var _0x1d1650=_0x445966;if(!(this[_0x1d1650(0x40c)]instanceof exports[_0x1d1650(0x3e9)]))throw new TypeError(_0x1d1650(0x1e2));const _0x45a43c=_0x49478d[_0x1d1650(0x308)](_0x119af6=>{var _0x2505a3=_0x1d1650;const _0x2245bd=this[_0x2505a3(0x1b9)][_0x2505a3(0x4f0)]['fetchThroughInterceptors'](this[_0x2505a3(0x1b9)]['interceptor']['getInterceptPoints']()[_0x2505a3(0x2f2)])(_0x119af6[_0x2505a3(0x48e)],null)||_0x119af6[_0x2505a3(0x48e)];return{..._0x119af6,'mutations':_0x2245bd};});this[_0x1d1650(0x4b0)](),this[_0x1d1650(0x237)](this['_state'][_0x1d1650(0x454)](_0x45a43c)),this[_0x1d1650(0x36d)]();}[_0x445966(0x1b0)](){var _0x54ee8c=_0x445966;this[_0x54ee8c(0x4b0)](),this[_0x54ee8c(0x237)](this[_0x54ee8c(0x40c)][_0x54ee8c(0x43a)]()),this[_0x54ee8c(0x36d)]();}[_0x445966(0x1f2)](_0x2592d6=!0x1){var _0x3411fc=_0x445966;this[_0x3411fc(0x4b0)](),this[_0x3411fc(0x237)](this[_0x3411fc(0x40c)][_0x3411fc(0x4b4)]()),this[_0x3411fc(0x36d)]();const _0x4164a5=this['_state'];_0x2592d6&&_0x4164a5 instanceof exports['SyncedState']&&(this[_0x3411fc(0x4b0)](),this[_0x3411fc(0x237)](_0x4164a5[_0x3411fc(0x2c6)]()),this['_unlockTransition']());}async[_0x445966(0x384)](){return new Promise(_0x2c6119=>{var _0x29dccd=_0x1614;this[_0x29dccd(0x4fb)][_0x29dccd(0x477)][_0x29dccd(0x3d0)](j[_0x29dccd(0x206)](0x1))[_0x29dccd(0x1e8)](async _0x367b7c=>{var _0x16c584=_0x29dccd;_0x2c6119(await this[_0x16c584(0x4ad)](_0x367b7c===se['ONLINE']));});});}[_0x445966(0x324)](){var _0x4287bd=_0x445966;const _0x163178=this[_0x4287bd(0x457)];return{'onStateChange':(_0x4087ad,_0x90758c)=>{var _0x5d3ca4=_0x4287bd;if(_0x4087ad!==this[_0x5d3ca4(0x40c)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4087ad['status']+_0x5d3ca4(0x3b3)+_0x90758c[_0x5d3ca4(0x222)]+_0x5d3ca4(0x39f)+this[_0x5d3ca4(0x40c)][_0x5d3ca4(0x222)]);this[_0x5d3ca4(0x237)](_0x90758c);},'onSendChangeset':_0x12345c=>{var _0x2b47d0=_0x4287bd;_0x12345c[_0x2b47d0(0x315)]||(_0x12345c[_0x2b47d0(0x315)]=this['_changesetSessionId'],_0x12345c[_0x2b47d0(0x271)]=++this[_0x2b47d0(0x431)]);const _0x18bca4={'eventID':g[_0x2b47d0(0x3a3)][_0x2b47d0(0x18b)],'data':{'unitID':_0x12345c[_0x2b47d0(0x457)],'unitType':this['_type'],'changeset':_0x12345c,'memberID':this[_0x2b47d0(0x4fb)]['getMemberID']()}};this[_0x2b47d0(0x4fb)][_0x2b47d0(0x468)](_0x18bca4,this['unitID']);},'onMissingChangesets':({from:_0x329a4e,to:_0x1605ff})=>{var _0x97b0b8=_0x4287bd;this[_0x97b0b8(0x2b0)]['debug'](_0x97b0b8(0x388),_0x97b0b8(0x3b6)+_0x329a4e+'\x20to\x20'+_0x1605ff);const _0x54a87f={'eventID':g[_0x97b0b8(0x3a3)]['FETCH_MISSING'],'data':{'unitID':_0x163178,'unitType':this[_0x97b0b8(0x1c1)],'from':_0x329a4e,'to':_0x1605ff}};this[_0x97b0b8(0x4fb)][_0x97b0b8(0x468)](_0x54a87f,this[_0x97b0b8(0x457)]);}};}async[_0x445966(0x4ad)](_0x22212d){var _0xdfed48=_0x445966,_0x1b7ec1,_0x43cb10,_0x54e547;const _0x43e25a=await((_0x1b7ec1=this['_localCacheService'])==null?void 0x0:_0x1b7ec1[_0xdfed48(0x34d)](this[_0xdfed48(0x457)])),_0x1efd4e=(_0x43cb10=_0x43e25a==null?void 0x0:_0x43e25a[_0xdfed48(0x48e)])!=null?_0x43cb10:[],_0x39a4f8=(_0x54e547=_0x43e25a==null?void 0x0:_0x43e25a[_0xdfed48(0x498)])!=null?_0x54e547:null,_0x2f6157=!!(_0x39a4f8!=null&&_0x39a4f8[_0xdfed48(0x315)])&&!!(_0x39a4f8!=null&&_0x39a4f8[_0xdfed48(0x271)]);this[_0xdfed48(0x208)]=_0x2f6157?_0x39a4f8['sid']:di(),this[_0xdfed48(0x431)]=_0x2f6157?_0x39a4f8[_0xdfed48(0x271)]:0x0;const _0x993d86=this[_0xdfed48(0x457)];try{this[_0xdfed48(0x247)](_0x39a4f8,_0x1efd4e);}catch(_0x534363){this['_logService'][_0xdfed48(0x31f)](_0x534363);}const _0x573bd6=this[_0xdfed48(0x324)]();if(_0x22212d){const _0x4a2839=Ut(this['_injector'],_0x993d86,this[_0xdfed48(0x1c1)],_0x39a4f8,_0x1efd4e,_0x573bd6);return _0x4a2839 instanceof exports[_0xdfed48(0x28f)]?_0x4a2839[_0xdfed48(0x1f5)]():(_0x4a2839 instanceof exports[_0xdfed48(0x3d9)]||_0x4a2839 instanceof exports[_0xdfed48(0x4d1)])&&_0x4a2839[_0xdfed48(0x321)](),_0x4a2839;}return this[_0xdfed48(0x3b4)]['createInstance'](exports[_0xdfed48(0x3b0)],_0x993d86,this[_0xdfed48(0x1c1)],_0x39a4f8,_0x1efd4e,_0x573bd6);}[_0x445966(0x247)](_0x3b1186,_0x3c580b){var _0x5015d4=_0x445966,_0x1a9c81,_0x5a1e2d;const _0x2af3b1=this[_0x5015d4(0x1b9)][_0x5015d4(0x4f0)][_0x5015d4(0x273)](this[_0x5015d4(0x1b9)][_0x5015d4(0x4f0)][_0x5015d4(0x240)]()[_0x5015d4(0x2f2)]);(_0x1a9c81=_0x2af3b1((_0x3b1186==null?void 0x0:_0x3b1186['mutations'])||[],null))==null||_0x1a9c81[_0x5015d4(0x329)](_0x17859f=>this[_0x5015d4(0x2ec)][_0x5015d4(0x4fa)](_0x17859f['id'],_0x17859f[_0x5015d4(0x3d7)])),(_0x5a1e2d=_0x2af3b1(_0x3c580b||[],null))==null||_0x5a1e2d['forEach'](_0x5223fa=>this[_0x5015d4(0x2ec)]['executeCommand'](_0x5223fa['id'],_0x5223fa[_0x5015d4(0x3d7)]));}},exports[_0x445966(0x304)]=We([$(0x3,a[_0x445966(0x2cb)](a[_0x445966(0x35b)])),$(0x4,a[_0x445966(0x2cb)](g[_0x445966(0x2f9)])),$(0x5,a[_0x445966(0x2cb)](a[_0x445966(0x4cd)])),$(0x6,a['Inject'](g[_0x445966(0x311)])),$(0x7,a[_0x445966(0x2cb)](te)),$(0x8,a[_0x445966(0x42a)]),$(0x9,a['ICommandService']),$(0xa,a[_0x445966(0x2f8)]),$(0xb,a[_0x445966(0x32e)](ve)),$(0xc,a[_0x445966(0x32e)](z))],exports['CollaborationEntity']),exports[_0x445966(0x30d)]=class extends exports['CollaborationEntity']{constructor(_0xbe41a6,_0x597282,_0x3da68e,_0x17f28f,_0x31ff41,_0x2db15d,_0x5b284c,_0x4b680a,_0x2c7977,_0xac8cf4,_0xa39bf9,_0x4362f0,_0x5ea649){var _0x47274e=_0x445966;super(_0xbe41a6,_0x3da68e,_0x597282,_0x17f28f,_0x31ff41,_0x2db15d,_0x5b284c,_0x4b680a,_0x2c7977,_0xac8cf4,_0xa39bf9,_0x4362f0,_0x5ea649),A(this,'_handlerCallback',null),(this[_0x47274e(0x457)]=_0xbe41a6,this[_0x47274e(0x1b1)]=_0x597282);}[_0x445966(0x1fa)](_0x24bb81){var _0x48d391=_0x445966;this[_0x48d391(0x1b4)]=_0x24bb81;}[_0x445966(0x48b)](){var _0x32bcb0=_0x445966;this['_handlerCallback']=null,super[_0x32bcb0(0x48b)]();}[_0x445966(0x324)](){var _0x475be3=_0x445966;const _0x17f652=super[_0x475be3(0x324)]();return _0x17f652[_0x475be3(0x4a8)]=_0x52bfca=>{var _0x3d7aa4=_0x475be3,_0x2ae370,_0x4a582d;return(_0x4a582d=(_0x2ae370=this[_0x3d7aa4(0x1b4)])==null?void 0x0:_0x2ae370[_0x3d7aa4(0x4a8)])==null?void 0x0:_0x4a582d[_0x3d7aa4(0x453)](_0x2ae370,_0x52bfca);},_0x17f652[_0x475be3(0x31c)]=_0x140ce3=>{var _0x59546e=_0x475be3,_0x5bca22,_0xf02b90;return(_0xf02b90=(_0x5bca22=this[_0x59546e(0x1b4)])==null?void 0x0:_0x5bca22[_0x59546e(0x31c)])==null?void 0x0:_0xf02b90[_0x59546e(0x453)](_0x5bca22,_0x140ce3);},_0x17f652[_0x475be3(0x4c2)]=_0xe2d9fd=>{var _0x1ee142=_0x475be3,_0x543424,_0x9f2ac1;return(_0x9f2ac1=(_0x543424=this[_0x1ee142(0x1b4)])==null?void 0x0:_0x543424[_0x1ee142(0x4c2)])==null?void 0x0:_0x9f2ac1['call'](_0x543424,_0xe2d9fd);},_0x17f652['onSyncEditingCollabCursor']=_0x5a2f59=>{var _0x168055=_0x475be3,_0x4f0add,_0x5ac32a;return(_0x5ac32a=(_0x4f0add=this['_handlerCallback'])==null?void 0x0:_0x4f0add['onSyncEditingCollabCursor'])==null?void 0x0:_0x5ac32a[_0x168055(0x453)](_0x4f0add,_0x5a2f59);},_0x17f652[_0x475be3(0x1ff)]=_0x5baeea=>{var _0x108b31=_0x475be3,_0x1c0d34,_0x59fd35,_0x268c83;if(!((_0x1c0d34=this[_0x108b31(0x1b4)])!=null&&_0x1c0d34[_0x108b31(0x1ff)]))throw new Error(_0x108b31(0x288));return(_0x268c83=(_0x59fd35=this[_0x108b31(0x1b4)])==null?void 0x0:_0x59fd35[_0x108b31(0x1ff)])==null?void 0x0:_0x268c83[_0x108b31(0x453)](_0x59fd35,_0x5baeea);},_0x17f652['onTransformRemoteChangesetByStateCache']=_0x3d3f0e=>{var _0x1e053c=_0x475be3,_0x25be08,_0x36c704,_0x15e67e;if(!((_0x25be08=this[_0x1e053c(0x1b4)])!=null&&_0x25be08[_0x1e053c(0x216)]))throw new Error(_0x1e053c(0x34b));return(_0x15e67e=(_0x36c704=this[_0x1e053c(0x1b4)])==null?void 0x0:_0x36c704[_0x1e053c(0x216)])==null?void 0x0:_0x15e67e[_0x1e053c(0x453)](_0x36c704,_0x3d3f0e);},_0x17f652;}async[_0x445966(0x4e6)](){var _0x5b4285=_0x445966;const _0x3f1114=await super[_0x5b4285(0x4e6)]();return this['disposeWithMe'](this['_commandService'][_0x5b4285(0x246)]((_0xdb3a4e,_0x3253c7)=>{var _0x1fe475=_0x5b4285;if(_0xdb3a4e['type']!==a[_0x1fe475(0x1b6)][_0x1fe475(0x4a1)]||_0x3253c7!=null&&_0x3253c7[_0x1fe475(0x212)]||_0x3253c7!=null&&_0x3253c7[_0x1fe475(0x3a4)]||_0xdb3a4e['id']===ut['RichTextEditingMutation']['id'])return;const _0x579e45=_0xdb3a4e[_0x1fe475(0x3d7)];if((_0x579e45==null?void 0x0:_0x579e45[_0x1fe475(0x3fd)])!==this[_0x1fe475(0x457)])return;const _0x90cb81=_0xdb3a4e,_0x12855b=this[_0x1fe475(0x1b9)][_0x1fe475(0x4f0)][_0x1fe475(0x273)](this[_0x1fe475(0x1b9)][_0x1fe475(0x4f0)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x90cb81],null)||[_0x90cb81];this['_onLocalMutation'](_0x12855b[0x0]);})),_0x3f1114;}},exports['DocCollaborationEntity']=We([$(0x3,a[_0x445966(0x2cb)](a[_0x445966(0x35b)])),$(0x4,a[_0x445966(0x2cb)](g[_0x445966(0x2f9)])),$(0x5,a[_0x445966(0x2cb)](a[_0x445966(0x4cd)])),$(0x6,a[_0x445966(0x2cb)](g['RevisionService'])),$(0x7,a['Inject'](te)),$(0x8,a[_0x445966(0x42a)]),$(0x9,a[_0x445966(0x3de)]),$(0xa,a[_0x445966(0x2f8)]),$(0xb,a[_0x445966(0x32e)](ve)),$(0xc,a[_0x445966(0x32e)](z))],exports[_0x445966(0x30d)]),exports[_0x445966(0x1a5)]=class extends exports[_0x445966(0x304)]{constructor(_0x42a407,_0x1623d3,_0x2e3dbe,_0x395842,_0x4c8963,_0x2aa626,_0x12fc51,_0x1f6321,_0x56758f,_0x512f7a,_0x507b69,_0x4cc191,_0x431ab6,_0x4a7814){var _0x5dc1b6=_0x445966;super(_0x42a407,_0x2e3dbe,_0x1623d3,_0x395842,_0x4c8963,_0x2aa626,_0x12fc51,_0x56758f,_0x512f7a,_0x507b69,_0x4cc191,_0x431ab6,_0x4a7814),this[_0x5dc1b6(0x457)]=_0x42a407,this['type']=_0x1623d3,this[_0x5dc1b6(0x3c7)]=_0x1f6321;}[_0x445966(0x324)](){var _0x343108=_0x445966;const _0xde412e=super[_0x343108(0x324)]();return _0xde412e[_0x343108(0x4c2)]=_0x1d5eed=>this['_sheetTransformSelectionsService'][_0x343108(0x261)](_0x1d5eed),_0xde412e;}async[_0x445966(0x4e6)](){var _0x5a87c0=_0x445966;const _0x512c29=await super[_0x5a87c0(0x4e6)]();return this[_0x5a87c0(0x494)](this[_0x5a87c0(0x2ec)][_0x5a87c0(0x246)]((_0x5389d5,_0x223754)=>{var _0x51c961=_0x5a87c0;if(_0x5389d5[_0x51c961(0x1b1)]!==a[_0x51c961(0x1b6)][_0x51c961(0x4a1)]||_0x223754!=null&&_0x223754[_0x51c961(0x212)]||_0x223754!=null&&_0x223754[_0x51c961(0x3a4)])return;const _0x227d1b=_0x5389d5['params'];if((_0x227d1b==null?void 0x0:_0x227d1b[_0x51c961(0x3fd)])!==this[_0x51c961(0x457)])return;const _0x492167=_0x5389d5,_0x3994bc=this['_compressMutationService'][_0x51c961(0x4f0)]['fetchThroughInterceptors'](this[_0x51c961(0x1b9)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x492167],null)||[_0x492167];this[_0x51c961(0x395)](_0x3994bc[0x0]);})),_0x512c29;}},exports[_0x445966(0x1a5)]=We([$(0x3,a[_0x445966(0x2cb)](a[_0x445966(0x35b)])),$(0x4,a[_0x445966(0x2cb)](g[_0x445966(0x2f9)])),$(0x5,a[_0x445966(0x2cb)](a[_0x445966(0x4cd)])),$(0x6,a[_0x445966(0x2cb)](g[_0x445966(0x311)])),$(0x7,a[_0x445966(0x2cb)](exports[_0x445966(0x2cc)])),$(0x8,a[_0x445966(0x2cb)](te)),$(0x9,a[_0x445966(0x42a)]),$(0xa,a[_0x445966(0x3de)]),$(0xb,a['IPermissionService']),$(0xc,a[_0x445966(0x32e)](ve)),$(0xd,a[_0x445966(0x32e)](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x445966(0x2b5)],bi=(_0x5b4e65,_0x5ce2f6,_0x331999,_0x16eb9b)=>{var _0x95f782=_0x445966;for(var _0x56f29d=_0x16eb9b>0x1?void 0x0:_0x16eb9b?Ti(_0x5ce2f6,_0x331999):_0x5ce2f6,_0x336c09=_0x5b4e65[_0x95f782(0x2a6)]-0x1,_0x17bd69;_0x336c09>=0x0;_0x336c09--)(_0x17bd69=_0x5b4e65[_0x336c09])&&(_0x56f29d=_0x17bd69(_0x56f29d)||_0x56f29d);return _0x56f29d;},Pe=(_0x592b06,_0x279e98)=>(_0x12717a,_0x23d90a)=>_0x279e98(_0x12717a,_0x23d90a,_0x592b06);exports[_0x445966(0x252)]=class extends a[_0x445966(0x1fc)]{constructor(_0xf4172d,_0x30f460,_0x30b3ad){var _0x100e4d=_0x445966;super(),A(this,_0x100e4d(0x3e8),new Map()),A(this,_0x100e4d(0x1f4),new j[(_0x100e4d(0x4d5))]()),A(this,_0x100e4d(0x209),this[_0x100e4d(0x1f4)]['asObservable']()),(this['_injector']=_0xf4172d,this[_0x100e4d(0x19a)]=_0x30f460,this[_0x100e4d(0x4a9)]=_0x30b3ad,this['_init']());}['dispose'](){var _0xba1b0e=_0x445966;super[_0xba1b0e(0x48b)](),this[_0xba1b0e(0x3e8)]['forEach'](_0x5ada52=>_0x5ada52[_0xba1b0e(0x48b)]()),this[_0xba1b0e(0x3e8)][_0xba1b0e(0x23b)]();}[_0x445966(0x3aa)](_0x56ecaf){var _0x5144f6=_0x445966,_0x11d3db;return(_0x11d3db=this['_entities'][_0x5144f6(0x4b2)](_0x56ecaf))!=null?_0x11d3db:null;}['getCollabEntity$'](_0x2c2781){var _0x599159=_0x445966;const _0x19c034=this[_0x599159(0x3aa)](_0x2c2781);return _0x19c034?j['of'](_0x19c034):this[_0x599159(0x1f4)][_0x599159(0x3d0)](V['filter'](_0x44a734=>_0x44a734['unitID']===_0x2c2781));}[_0x445966(0x4f6)](_0x3ca2e4){var _0x51b659=_0x445966;return j['firstValueFrom'](this[_0x51b659(0x373)](_0x3ca2e4)[_0x51b659(0x3d0)](V[_0x51b659(0x308)](()=>{})));}[_0x445966(0x4e6)](){var _0x52a254=_0x445966;this[_0x52a254(0x4a9)]['getTypeOfUnitAdded$'](a[_0x52a254(0x481)]['UNIVER_SHEET'])['pipe'](j[_0x52a254(0x299)](this[_0x52a254(0x2a5)]),V[_0x52a254(0x41e)](0x10))[_0x52a254(0x1e8)](async _0x17a5cb=>{var _0x164a2a=_0x52a254;const _0x36909c=_0x17a5cb['getUnitId'](),_0x2384b3=await this['_startCollaboration'](_0x36909c,X[_0x164a2a(0x480)]);this[_0x164a2a(0x3e8)][_0x164a2a(0x424)](_0x36909c,_0x2384b3);}),this['_univerInstanceService'][_0x52a254(0x1dd)](a[_0x52a254(0x481)][_0x52a254(0x2f0)])[_0x52a254(0x3d0)](j[_0x52a254(0x299)](this[_0x52a254(0x2a5)]),V[_0x52a254(0x41e)](0x10))['pipe'](V[_0x52a254(0x3d8)](_0x5ac617=>!_0x5ac617['getUnitId']()[_0x52a254(0x4ba)]('__')))['subscribe'](async _0x22efb8=>{var _0x283f19=_0x52a254;const _0x4eb7e3=_0x22efb8['getUnitId'](),_0x347753=await this[_0x283f19(0x402)](_0x4eb7e3,X['UNIVER_DOC']);this[_0x283f19(0x3e8)]['set'](_0x4eb7e3,_0x347753);}),j['merge'](this[_0x52a254(0x4a9)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x52a254(0x480)]),this[_0x52a254(0x4a9)][_0x52a254(0x4bd)](a[_0x52a254(0x481)]['UNIVER_DOC']))['pipe'](j['takeUntil'](this['dispose$']))['subscribe'](_0x212d44=>{var _0x35f1d0=_0x52a254;const _0x358ffd=_0x212d44[_0x35f1d0(0x487)](),_0xf7db3e=this[_0x35f1d0(0x3e8)][_0x35f1d0(0x4b2)](_0x358ffd);_0xf7db3e&&(_0xf7db3e[_0x35f1d0(0x48b)](),this['_entities'][_0x35f1d0(0x28e)](_0x358ffd));});}async[_0x445966(0x402)](_0x15643c,_0xb46949){var _0x527f3a=_0x445966;const _0x535677=await this['_collabSessionService']['requireSession'](_0x15643c),_0x42092e=this['_injector'][_0x527f3a(0x46b)](this[_0x527f3a(0x303)](_0xb46949),_0x15643c,_0xb46949,_0x535677);return await _0x42092e[_0x527f3a(0x1ca)](),this[_0x527f3a(0x1f4)][_0x527f3a(0x36e)](_0x42092e),_0x42092e;}[_0x445966(0x303)](_0x214b81){var _0x59eca3=_0x445966;switch(_0x214b81){case X['UNIVER_DOC']:return exports[_0x59eca3(0x30d)];case X[_0x59eca3(0x480)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x59eca3(0x4c9)+_0x214b81);}}},exports[_0x445966(0x252)]=bi([Pe(0x0,a['Inject'](a[_0x445966(0x35b)])),Pe(0x1,a[_0x445966(0x2cb)](exports[_0x445966(0x1e5)])),Pe(0x2,a[_0x445966(0x1f7)])],exports[_0x445966(0x252)]);var Ri=Object[_0x445966(0x2b5)],Oi=(_0x407578,_0x9bd7db,_0x136fb6,_0x2c612a)=>{var _0xb153af=_0x445966;for(var _0x34500f=_0x2c612a>0x1?void 0x0:_0x2c612a?Ri(_0x9bd7db,_0x136fb6):_0x9bd7db,_0x217a6b=_0x407578[_0xb153af(0x2a6)]-0x1,_0xf372c5;_0x217a6b>=0x0;_0x217a6b--)(_0xf372c5=_0x407578[_0x217a6b])&&(_0x34500f=_0xf372c5(_0x34500f)||_0x34500f);return _0x34500f;},Je=(_0x542edf,_0x2f5f7d)=>(_0x319fe5,_0x2899c9)=>_0x2f5f7d(_0x319fe5,_0x2899c9,_0x542edf);const yi=_0x445966(0x42b),Ni=_0x445966(0x35c);let He=class extends a['Disposable']{constructor(_0xd642c3,_0x31fffe){var _0x191717=_0x445966;super(),this[_0x191717(0x4a9)]=_0xd642c3,this['_configService']=_0x31fffe,this[_0x191717(0x4e6)]();}[_0x445966(0x4e6)](){var _0x512b31=_0x445966;this[_0x512b31(0x494)](this[_0x512b31(0x4a9)][_0x512b31(0x39e)]['subscribe'](()=>{var _0x5d0fa6=_0x512b31,_0x42a0f9;const _0x308b48=this[_0x5d0fa6(0x4a9)][_0x5d0fa6(0x1df)]();let _0x1ec2dd=(_0x42a0f9=this[_0x5d0fa6(0x42c)][_0x5d0fa6(0x29a)](yi))!=null?_0x42a0f9:Ni;_0x308b48 instanceof a['Workbook']&&(_0x1ec2dd=_0x308b48[_0x5d0fa6(0x493)]),document['title']=_0x1ec2dd;}));}};He=Oi([Je(0x0,a[_0x445966(0x1f7)]),Je(0x1,a[_0x445966(0x4df)])],He);function _0x82d4(){var _0x431755=['mixIn','NOT_FOUND','LocalUndoRedoService','BehaviorSubject','/object/','UNKNOWN_CODE','[UniverCollaborationClientPlugin]','POST','objects','localeService','ISnapshotServerService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_xformMode','_doCreateSocket','EXCHANGE_SIGN_URL_SERVER_URL_KEY','image/png','[SyncedState]:\x20received\x20rejection.','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loadOfflineData','clamp','ERROR_IMAGE','exports','saveChangeset','body','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_keyPriorReset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','EMAIL_HAS_BEEN_BOUND','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','JOIN_ROOM_FAILED','findIndex','snapshot','Injector','Univer','_removeRoom','toLowerCase','snapshotServerUrl','_stopTelemetryCollaborationNewChangeset','_initUnitPermissionChange','_updateLocalCache','HEARTBEAT','?url=','socket$','file','Base64','[CollaborationSession]','NEW_CHANGESETS','_roomMembers','disableLocalCache','isArray','_unlockTransition','next','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Decryptor','updatePermissionObjEvent','?size=','getCollabEntity$','c2Prime','routeKey','USERS_ENTER','_clearUndo','SYNCED','_tryEnsureSocket','session.room-not-exists','_updateStatus','enableAuthServer','OpenSSL','__creator','_loadDoc','floor','_socketMessageSubscription','iterations','_scheduleCollaborationTimeoutTimer','_createInitialState','liveShareNewHost','userID','textRanges','[CollaborationEntity]','reverse','_permissionService','_doCryptBlock','concatMap','uniscriptRunEvent','UnitEmbedded','_onUserLeave','getLocalCacheKey','editingUnit','touchDependencies','getRoom','confirm','_onLocalMutation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','JOIN_ROOM_FULL','uploadFileServerUrl','Base','_executeRemoteChangeset','listCollaborators','objectID','_telemetryInfo','focused$','\x0aCurrent:\x20','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','readInt32LE','FETCH_MISS','CollaborationEvent','onlyLocal','data','_collaborationTimeoutTimer','_onRemoteRetry','function','_remoteChangesetQueue','getCollabEntity','INVITE_CODE_ALREADY_BOUND','ciphertext','getGlobalObject','keySize','SHA1','OfflineState','auth.needGotoLoginAlert','/unit/','\x0aAfter:\x20','_injector','charAt','fetching\x20missing\x20changesets\x20from\x20','_snapshotServerService','slice','compose','DataLoaderService','_initMergeInterceptor','SHOULD_CLOSE_CONN','Plugin','_awaitingChangeset','_isPermissionRej','_onMessage','getSnapshotAPIPath','_rescheduleHeartbeat','UPDATE_PERMISSION_OBJ','SNAPSHOT_INVALID_SNAPSHOT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_unitInfo$','_sheetTransformSelectionsService','sessionStatus','sin','parseProtocolChangeset','getMember','COMPLETION_FINISHED','Tools','USERS_LEAVE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','pipe','collaborators','connection\x20error','reduce','leaveEvent','equals','algo','params','filter','AwaitingWithPendingState','7830441YzGzGF','duration','getImageSourceCache','_keySchedule','ICommandService','CBC','collaboration-client.config','deserializeToCombResponse','_undoRedoService','$super','_clearRetryConnectingTimer','univer-pro.collaboration-client.network-condition.service','padding','addImageSourceCache','_entities','FetchingMissState','UniverCollaborationClientPlugin','MemberService','Latin1','getCurrentRevOfUnit','extend','LIVESHARE_FETCH_OPERATIONS','YUUMI_ALL_TABLES_IS_INVALID','Malformed\x20UTF-8\x20data','YUUMI_URL_COL_OUT_OF_RANGE','url','_substituteUndoStack','_getAPIPrefixPath','mode','_onJoinRoomEvent','@univerjs/network','hasher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Hex','UniverCollaborationPlugin','unitId','IContextService','toDisposable','UPDATE_CURSOR','1445eRiNEH','_startCollaboration','_hash','_sessions','INTERNAL_ERROR','_replaceFileID','RETRY_CONNECTING_MAX_COUNT_KEY','_createHmacHelper','LICENSE_MAX_UNITS_EXCEEDED','UNISCRIPT_RUN','_socket$','_state','every','default','_members$','AES','ERROR_IMAGE_TYPE','2327400gQadfY','processBlock','capture','ceil','ILocalCacheService','_queuedRemoteChangesets','find','_showConflictNotification','blockSize','BASE64','HMAC','transformMutationsWithChangeset','delay','COLLAB_WEB_SOCKET_URL_KEY','_transformRemoteChangesetByStateCache','code','max','complete','set','[CollaborationSessionService]','@univerjs-pro/collaboration','updateMember','onRemoteRetry','/universer-api/stream/file/upload','ILogService','DEFAULT_FILE_NAME','_configService','lib','refreshPermission','UnitSnapshot','reject','_changesetReqId','[OfflineState]:\x20received\x20changeset.','_snapshotService','incrementRevOfUnit','[PendingState]:\x20received\x20rejection.','/universer-api/uniscript','onRemoteAck','stringify','CollaborationSocketService','toggleOffline','LOCAL_CACHE_INTERVAL','status$','/collaborator','socket\x20close','_doReset','getUnitOnRev','downloadEndpointUrl','_throwTelemetryCollaborationNewChangeset','_getLoginPath','members','_initCloseConn','PSEUDO_FETCH_MISSING_RESULT','NoPadding','setCurrentUser','_startTelemetryCollaborationNewChangeset','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_DUPLICATED','PY_RUNTIME_SCRIPT_ERROR','roomInfos','post','_sendHeartbeat','_memberService','_data','IUndoRedoService','call','onMissedChangesetFetched','/universer-api/user/session-ticket','_imageSourceCache','unitID','_transitionLocked','_prevBlock','compute','YUUMI_SUBSCRIPTION_NOT_FOUND','mapDocumentTypeToUniverType','/fetchmissing?from=','responseType','createCollaborator','_getCurrentRevision','finalize','@univerjs/telemetry','_sendingTimer','_oKey','enableSingleActiveInstanceLock','NOT_COLLAB','HmacSHA1','send','/role','SnapshotServerOverHTTPService','createInstance','commentUpdate$','_sender','USER_NOT_INVITED_CODE','INVALID_ARGUMENT','execute','join','sigBytes','\x20in\x20_schedule.','CommentService','toStringTag','pending','sessionStatus$','onLocalMutation','UNAUTHENTICATED','updateOfflineData','UserProfileImg','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','HTTPService','InsertSheetMutation','_shouldReportTelemetry','UNIVER_SHEET','UniverInstanceType','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ITransformService','JOIN','_exhaustRemoteChangesetQueue','close','getUnitId','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','COLLAB_SUBMIT_CHANGESET_URL_KEY','hasOwnProperty','dispose','transformChangesets','_transformRemoteChangesetByIMECache','mutations','decryptBlock','salt','UserManagerService','byteLength','name','disposeWithMe','image/jpeg','DEFAULT_COLLAB_WEB_SOCKET_URL','_substituteRedoStack','awaitingChangeset','UNKNOWN_CMD','GLOBAL_ROOMS_CNT_EXCEEDS','YUUMI_UNABLE_LOAD_URL','msCrypto','ThresholdInterceptorFactory','onRemoteRej','JOIN_ROOM_NOT_EXISTS','ALREADY_EXISTS','MUTATION','OPTIONAL','HEARTBEAT_TIMEOUT','getResourcesRequest','RECV','CHANGESET_REJ','_iv','onTransformIME','_univerInstanceService','YUUMI_ASYNCIO_CANCELLED','HttpImport','_reverseMap','_createInitialStateImpl','copyFileMeta','_members','_lockTransition','@univerjs/drawing','get','LIVESHARE_NEW_HOST','toggleOnline','list','_createHelper','_ENC_XFORM_MODE','CHANGESET_SHOULD_RETRY','actions','startsWith','FETCH_MISSING','getUnit','getTypeOfUnitDisposed$','AUTHZ_URL_KEY','_transformUndoredo','MOBILE_HAS_BEEN_BOUND','conflict','onTransformSelections','23845cSHohe','commentUpdateEvent','_initRequestHeader','online$','OFFLINE','_waitForHeartbeatResponse','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','isPermissionRej','_getRedoStack','UnitStatus','LocaleService','ISingleActiveUnitService','event$','_userManagerService','AwaitingState','waitForRoom$','href','prototype','Subject','_nDataBytes','parse','INVALID_INVITE_CODE','_submitChangeset','PERMISSION_DENIED','CollaborationSession','_registerDependencies','_socketReady','close$','IConfigService','cmd','getUnitType','objectType','_nRounds','memberID','eventID','_init','_telemetryService','COLLAB_SUBMIT_CHANGESET_URL','listRoles','LOGIN_URL_KEY','telemetry\x20info\x20is\x20not\x20initialized','onMissingChangesets','_map','PERMISSION_REJ','location','interceptor','univer-pro.collaboration-client.single-active-unit-service','newCsEvent','FileId','TOO_MANY_REQUESTS','LIVESHARE_REQUEST_HOST','readyForCollab','_onConflict','_onCombEvent','ReplaySubject','executeCommand','session','StreamCipher','session.room-permission-denied','authzUrl','createSocket','_unitID','onCommentUpdate','encodeURIComponent','BlockCipher','_sessionStatus$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','appendMutation','shareReplay','WECHAT_HAS_BEEN_BOUND','clone','AWAITING','session.room-cnt-exceeds','state','COLLAB_WEB_SOCKET_URL','mergeOverrideWithDependencies','kdf','awaiting','_state$','&source=','headers','UNDEFINED','SUBMIT_CHANGESET','/resources','@univerjs/sheets','_collaborationPaused','put','_onRecvEvent','saveSnapshot','_roomCreated$','_invKeySchedule','_httpService','_tryReconnect','getValue','bind','createIdentifier','3342scCtgP','_collabSessionService','_collaborationUIEventService','_change$','socketService','_DEC_XFORM_MODE','LIVESHARE_TERMINATE','_onConnectionOpen','_eventService','SNAPSHOT_SERVER_URL_KEY','BlockCipherMode','enc','SheetCollaborationEntity','ICollaborationSocketService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','charCodeAt','_timeoutTimer','_socketService','CONNECTOR_DATA_TOO_LARGE','allowed','append','_clearLocalCache','merge','_toggleOffline','type','ENSURE_SNAPSHOT_EXECUTION','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_handlerCallback','/rev/','CommandType','FAIL','selections','_compressMutationService','range','ISocketService','isTransformChangesetsSuccess','crypto','asObservable','LEAVE','_event$','_type','save\x20fail\x20reason\x20is\x20','_process','[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.','resourceIDs','CollaborationStatus','onRemoteChangeset','socket\x20open.','_initDependencies','init','transformStack\x20failed!','_getSendChangesetTimeout','indexOf','INGEST','DisposableCollection','randomBytes','error$','PENDING','HttpExport','setConfig','reset','CollaborationUIEventService','_emitMembers','getTime','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CipherParams','CONFLICT','ConflictState','getTypeOfUnitAdded$','SOCKET_FAILED_RETRY','getFocusedUnit','_getUploadFileURL','LOCAL_CACHE_INTERVAL_KEY','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SerializableCipher','getCurrentUser','CollaborationSessionService','originalMeta','UNIVER_PROJECT','subscribe','Pkcs7','words','_checkMissing','UNIVER_SLIDE','_revisionService','OTHER_CLIENTS_EDITING','updatePermissionPoint','toString','_clearScheduledTask','_toggleOnline','reconnect','_entityInit$','_schedule','_status$','IUniverInstanceService','readAsDataURL','parseChangesetToProtocol','addHandlerCallback','_decreaseWaiting','RxDisposable','/-/object/-/batch_allowed','ONLINE','onTransformRemoteChangesetByIMECache','@univerjs-pro/license','APPLY_REJECT','createEncryptor','add','MentionType','abs','take','MergeInterceptorFactory','_changesetSessionId','entityInit$','image/bmp','HTTPRequest','LIVESHARE_OPERATION','key','buffer','fromCharCode','SNAPSHOT_URL_KEY','OTHER_CLIENT_EDITING','fromCollab','People','_getSignURL','change$','onTransformRemoteChangesetByStateCache','[CollaborationSessionService]:\x20socket\x20error','now','repeat','_localCacheService','NO_OTHER_CLIENTS_EDITING','_resendTimer','entries','Utf8','requireSession','[DataLoaderService]','isTransformMutationsWithChangesetFailure','status','unitInfo$','_singleActiveUnitService','_append','cfg','YUUMI_AI_RUN_FAILED','/universer-api/authz','EmptyMutation','replace','_transformSelections','unsubscribe','roles','setWaitCount','registerHTTPInterceptor','ws://127.0.0.1:8000/universer-api/comb/connect','stopTime','_getAPIPrefix','formatter','_doProcessBlock','onSendChangeset','_localeService','_updateState','collabSubmitChangesetUrl','CollaborationImageIoService','decrypt','clear','session.room-full','YUUMI_RATE_OVER_LIMIT','result','IDLE','getInterceptPoints','LICENSE_DISTRO_REJECTED','EvpKDF','shouldCloseConn','_HTTPService','getRandomValues','onCommandExecuted','_replayCachedMutations','_retryConnectingTimer','_doFinalize','SOCKET_FAILED','_fetchMissChangesets','_hasher','_transformStack','encode','SyncedState','_mode','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationController','CHANGESET_REVISION_CONFILICT','IImageIoService','removeMember','resolve','updateCollaborator','values','JOIN_ROOM_PERMISSION_DENIED','Quantity','baseRev','_clearTimeoutTimer','defineProperty','WorkbookEditablePermission','createDecryptor','_commentService','transformSelections','_retryCount','csShouldRetryEvent','_onUserJoin','_clearRedo','_key','_pendingMutations','_waitCount','&to=','SEND_CHANGESET_TIMEOUT_KEY','HEARTBEAT_INTERVAL','randomUUID','loadUnit','Disposable','_onRemoteChangeset','_joinRoom','reqId','[OfflineState]:\x20received\x20rejection.','fetchThroughInterceptors','_commentUpdate$','Failed\x20to\x20update\x20permission\x20point','UNRECOGNIZED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_parse','has','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','debug','AWAITING_WITH_PENDING','[FetchMissState]','byteOffset','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','IAuthzIoService','enableOfflineEditing','csRejEvent','_iKey','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_disableEditing','offline','loadDoc','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','c1Prime','{fileID}','AuthzIoHttpService','PERSON','/universer-api/comb','delete','PendingState','_socket','\x20-\x20','signUrlServerUrl','_onConnectionFailed','Encryptor','localCacheService','_getUndoStack','_onFetchMissResult','src','takeUntil','getConfig','_networkConditionService','substr','_resendTimeout','catch','/-/object/list','CollaborativeUndoRedoService','40eaxEyF','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','COMMENT_UPDATE','INetworkConditionService','dispose$','length','update','rev','UNIVER_COLLABORATION_CLIENT_PLUGIN','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','/block/','BufferedBlockAlgorithm','ImageUploadStatusType','onStateChange','_logService','56BTugmN','format','apply','_resendWithTimeout','getOwnPropertyDescriptor','requestParams','DEFAULT_WS_SESSION_TICKET_URL','unpad','string','_transformIMECache','getAllMembers','updateCursorEvent','open$','members$','LOGIN_FAILED','JOINING','MentionIoHttpService','WordArray','unknown','_listenToNetworkCondition','getActiveSheet','fetchMiss','_onRemoteACK','IMentionIOService','SheetPermissionInitController','_transformService','Inject','SheetTransformSelectionsService','concat','onStarting','CollaborationUIEventId','2915876SJghqK','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','emitEvent','1211643RCmJcl','/universer-api/oidc/authpage','joinRsp','transformUndoRedo','CHANGESET_ACK','deleteCollaborator','Module','_scheduleCompleteTimestamp','changesets','_config','_onOffline','_syncEditingCollabCursor','override','_clearCollaborationTimeoutTimer','csAckEvent','joinEvent','/allowed','APPLY_REVISION_CONFILICT','closeSession','ITelemetryService','_onRemoteRejected','target','isInternalEditorID','encrypt','create','_commandService','MSG_FOR_ERROR','splice','b64DecodeUnicode','UNIVER_DOC','INVITE_CODE_HAS_BEEN_UES','COMPRESS_MUTATION_APPLY','getLatestCsReqIdBySid','[CollaborationUndoRedoService]','onSyncEditingCollabCursor','SetSelectionsOperation','isTransformMutationsWithChangesetSuccess','IPermissionService','CompressMutationService','UniverNetworkPlugin','HEARTBEAT_TIMEOUT_KEY','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','subject','_collaborationSessionService','HELLO','SUBMIT_CHANGESET_TIMEOUT','pauseCollaboration','_clearHeartbeatTimer','_getCtorByUniverType','CollaborationEntity','origin','_cipher','getUnitStatus$','map','_applyRemoteChangeset','/universer-api/snapshot/','UNIVER_UNKNOWN','SnapshotService','DocCollaborationEntity','onload','_acknowledgedAwaitingChangeset','JSONX','RevisionService','Cipher','_undoStacks','@univerjs/core','sid','MD5','Undefined','[SyncedState]:\x20received\x20acknowledgement.','pad','textEncoder','random','onTransformState','submit\x20changeset\x20error!','ImageSourceType','error','revision','resend','size','synced','_createHandler','message$','ivSize','UUID','setShowComponents','forEach','5120948XpJrJv','_instanceService','collabWebSocketUrl','_handler','Optional','push','_sendHeartbeatTimer','awaiting_with_pending','Hasher','_incrementRevisionNumber','ERROR_EXCEED_SIZE','fetchMissingChangesets','[PendingState]:\x20received\x20acknowledgement.','collaboration-client.local-cache-service','_candidateSocket','m2Prime'];_0x82d4=function(){return _0x431755;};return _0x82d4();}var Ui=Object[_0x445966(0x2b5)],Di=(_0x587a23,_0x5df170,_0x73367,_0xeac9cf)=>{var _0x19ce62=_0x445966;for(var _0x29c98c=_0xeac9cf>0x1?void 0x0:_0xeac9cf?Ui(_0x5df170,_0x73367):_0x5df170,_0xa60d8a=_0x587a23[_0x19ce62(0x2a6)]-0x1,_0x4d3f19;_0xa60d8a>=0x0;_0xa60d8a--)(_0x4d3f19=_0x587a23[_0xa60d8a])&&(_0x29c98c=_0x4d3f19(_0x29c98c)||_0x29c98c);return _0x29c98c;},we=(_0x30e710,_0x4f8e17)=>(_0xe8ed2c,_0x376cad)=>_0x4f8e17(_0xe8ed2c,_0x376cad,_0x30e710);let ye=class{constructor(_0x1a6a45,_0x543f51,_0x55d406){var _0x451825=_0x445966;this['_configService']=_0x1a6a45,this['_httpService']=_0x543f51,this[_0x451825(0x343)]=_0x55d406,this[_0x451825(0x1ca)]();}[_0x445966(0x1ca)](){var _0xede60b=_0x445966;this[_0xede60b(0x194)][_0xede60b(0x22f)]({'priority':0x1,'interceptor':(_0xc6a72d,_0x1d3d93)=>_0x1d3d93(_0xc6a72d)[_0xede60b(0x3d0)](j[_0xede60b(0x38c)](async _0x9b2819=>{var _0xc4acc=_0xede60b;const _0x56d751=_0x9b2819;if(_0x56d751[_0xc4acc(0x222)]===0x191){if(typeof window>'u')throw new Error(_0xc4acc(0x345));if(window[_0xc4acc(0x394)](this[_0xc4acc(0x343)]['t'](_0xc4acc(0x3b1)))){const _0xa67b07=window[_0xc4acc(0x178)](window[_0xc4acc(0x4ef)]['href']);window[_0xc4acc(0x4ef)][_0xc4acc(0x4d3)]=this[_0xc4acc(0x443)]()+_0xc4acc(0x364)+_0xa67b07;}}return _0x56d751;}))});}[_0x445966(0x443)](){var _0x4a4f17=_0x445966,_0x501f26,_0x34c876;const _0x3a76ab=this[_0x4a4f17(0x42c)][_0x4a4f17(0x29a)](Et),_0x586209=this['_configService'][_0x4a4f17(0x29a)](Y);return(_0x34c876=(_0x501f26=_0x586209==null?void 0x0:_0x586209['loginUrlKey'])!=null?_0x501f26:_0x3a76ab)!=null?_0x34c876:Yt;}};ye=Di([we(0x0,a[_0x445966(0x4df)]),we(0x1,a[_0x445966(0x2cb)](q[_0x445966(0x47d)])),we(0x2,a[_0x445966(0x2cb)](a[_0x445966(0x4cd)]))],ye);var Ai=Object[_0x445966(0x2b5)],Pi=(_0x26ae47,_0x20deda,_0x37aa13,_0x50e00b)=>{var _0x41d83b=_0x445966;for(var _0x5e9dcf=_0x50e00b>0x1?void 0x0:_0x50e00b?Ai(_0x20deda,_0x37aa13):_0x20deda,_0x2dad7a=_0x26ae47[_0x41d83b(0x2a6)]-0x1,_0x3e0276;_0x2dad7a>=0x0;_0x2dad7a--)(_0x3e0276=_0x26ae47[_0x2dad7a])&&(_0x5e9dcf=_0x3e0276(_0x5e9dcf)||_0x5e9dcf);return _0x5e9dcf;},Xe=(_0x24ff68,_0x2458d)=>(_0x381c9f,_0x18b727)=>_0x2458d(_0x381c9f,_0x18b727,_0x24ff68);const Ge='AUTHZ_URL_KEY',wi='/universer-api/authz';exports[_0x445966(0x28b)]=class extends a['Disposable']{constructor(_0x15820d,_0x59c1b1){var _0x42a995=_0x445966;super(),this[_0x42a995(0x244)]=_0x15820d,this['_configService']=_0x59c1b1,this[_0x42a995(0x3bb)]();}['_initMergeInterceptor'](){var _0x19ea6e=_0x445966;const _0x406307=this;this[_0x19ea6e(0x494)](this[_0x19ea6e(0x244)][_0x19ea6e(0x22f)]({'priority':0x3e7,'interceptor':q[_0x19ea6e(0x207)]({'isMatch'(_0x22f7ae){var _0x562f93=_0x19ea6e,_0x538151;if(_0x22f7ae['method']===_0x562f93(0x341)&&((_0x538151=_0x22f7ae[_0x562f93(0x2b6)])!=null&&_0x538151[_0x562f93(0x352)])){const {objectID:_0x4e71a5,objectType:_0x539f7e}=_0x22f7ae['requestParams']['body']||{};if(!_0x4e71a5||_0x539f7e===void 0x0)return!0x1;const _0xe4725e=_0x406307[_0x562f93(0x3f5)]()+'/'+_0x539f7e+_0x562f93(0x33e)+_0x4e71a5+_0x562f93(0x2e3);if(_0x22f7ae[_0x562f93(0x3f3)]===_0xe4725e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c3320){var _0x3b2c34=_0x19ea6e,_0x44d597;return(_0x44d597=_0x5c3320['requestParams'])==null?void 0x0:_0x44d597[_0x3b2c34(0x352)];},'mergeParamsToRequest'(_0x4ca3b5,_0x243ec3){var _0x8809f4=_0x19ea6e;const _0x441327=_0x406307[_0x8809f4(0x3f5)]()+'/-/object/-/batch_allowed',_0x5eae7c=_0x4ca3b5[_0x8809f4(0x3d3)]((_0xd0ce5d,_0x212f86)=>{var _0x301516=_0x8809f4;const {unitID:_0x150103,objectID:_0x43d4f1,objectType:_0x2d9f88,actions:_0x5374c1}=_0x212f86;return _0xd0ce5d[_0x150103]||(_0xd0ce5d[_0x150103]={}),_0xd0ce5d[_0x150103][_0x43d4f1]||(_0xd0ce5d[_0x150103][_0x43d4f1]={'objectID':_0x43d4f1,'objectType':_0x2d9f88,'actions':[]}),_0xd0ce5d[_0x150103][_0x43d4f1][_0x301516(0x4b9)]['push'](..._0x5374c1),_0xd0ce5d;},{}),_0x5457a7=[];for(const _0x35354d in _0x5eae7c)for(const _0x2f2a8b in _0x5eae7c[_0x35354d]){const {actions:_0x39de68,objectType:_0x460058}=_0x5eae7c[_0x35354d][_0x2f2a8b],_0x5d9ca9=[...new Set(_0x39de68)];_0x5457a7[_0x8809f4(0x32f)]({'unitID':_0x35354d,'objectID':_0x2f2a8b,'objectType':_0x460058,'actions':_0x5d9ca9});}return new q[(_0x8809f4(0x20b))]('POST',_0x441327,{'headers':_0x243ec3['headers'],'withCredentials':_0x243ec3['withCredentials'],'responseType':_0x243ec3[_0x8809f4(0x45e)],'body':{'requests':_0x5457a7}});}},{'distributeResult'(_0x30ae00,_0x322990){var _0x177d86=_0x19ea6e;const {objectActions:_0x171fd0}=_0x30ae00;return _0x322990[_0x177d86(0x308)](_0x31e5b2=>{var _0x1144cb=_0x177d86;const {unitID:_0x2683d9,objectID:_0x50f794,actions:_0xdbf713}=_0x31e5b2,_0x5b1467=_0x171fd0['find'](_0x46d3fa=>_0x46d3fa[_0x1144cb(0x457)]===_0x2683d9&&_0x46d3fa['objectID']===_0x50f794),_0x590208=_0xdbf713[_0x1144cb(0x308)](_0x459572=>_0x5b1467==null?void 0x0:_0x5b1467[_0x1144cb(0x4b9)][_0x1144cb(0x418)](_0x876ed4=>_0x876ed4['action']===_0x459572))[_0x1144cb(0x3d8)](_0x275662=>!!_0x275662);return{'config':_0x31e5b2,'result':{'actions':_0x590208,'error':_0x30ae00[_0x1144cb(0x31f)]}};});}})}));}[_0x445966(0x3f5)](){var _0x2a4f60=_0x445966,_0x5b38d5,_0x3da0b9;const _0x59ce21=this[_0x2a4f60(0x42c)][_0x2a4f60(0x29a)](Ge),_0x1f5c78=this[_0x2a4f60(0x42c)][_0x2a4f60(0x29a)](Y);return(_0x3da0b9=(_0x5b38d5=_0x1f5c78==null?void 0x0:_0x1f5c78[_0x2a4f60(0x4fe)])!=null?_0x5b38d5:_0x59ce21)!=null?_0x3da0b9:wi;}async['create'](_0x7b931c){var _0x5112aa=_0x445966;const _0x10b76a=this[_0x5112aa(0x3f5)]()+'/'+_0x7b931c[_0x5112aa(0x4e2)]+'/object';return(await this[_0x5112aa(0x244)][_0x5112aa(0x44e)](_0x10b76a,{'body':_0x7b931c}))[_0x5112aa(0x352)][_0x5112aa(0x39c)]||'';}async['list'](_0x671269){var _0xb9c4ef=_0x445966;const _0x1462f3=this['_getAPIPrefixPath']()+_0xb9c4ef(0x29f);return(await this[_0xb9c4ef(0x244)][_0xb9c4ef(0x44e)](_0x1462f3,{'body':_0x671269}))['body'][_0xb9c4ef(0x342)];}async[_0x445966(0x2a7)](_0x379f4f){var _0x5a935a=_0x445966,_0x374f68,_0x392bf2;const _0x3df1da=this['_getAPIPrefixPath']()+'/'+_0x379f4f[_0x5a935a(0x4e2)]+_0x5a935a(0x33e)+_0x379f4f['objectID'],_0x44b81e=await this[_0x5a935a(0x244)][_0x5a935a(0x18f)](_0x3df1da,{'body':_0x379f4f});if(((_0x392bf2=(_0x374f68=_0x44b81e==null?void 0x0:_0x44b81e[_0x5a935a(0x352)])==null?void 0x0:_0x374f68['error'])==null?void 0x0:_0x392bf2[_0x5a935a(0x421)])!==0x1)throw new Error(_0x5a935a(0x275));}async[_0x445966(0x1ac)](_0x4928b8){var _0x597e99=_0x445966;const _0x38170f=this[_0x597e99(0x3f5)]()+'/'+_0x4928b8['objectType']+'/object/'+_0x4928b8[_0x597e99(0x39c)]+'/allowed';return(await this[_0x597e99(0x244)]['post'](_0x38170f,{'body':_0x4928b8}))[_0x597e99(0x352)][_0x597e99(0x4b9)];}async['batchAllowed'](_0x3269cd){var _0x26d0c9=_0x445966;const _0x5aa3b7=this[_0x26d0c9(0x3f5)]()+_0x26d0c9(0x1fd);return(await this[_0x26d0c9(0x244)][_0x26d0c9(0x44e)](_0x5aa3b7,{'body':{'requests':_0x3269cd}}))[_0x26d0c9(0x352)]['objectActions'];}async[_0x445966(0x4e9)](_0x5a11d1){var _0x2282a3=_0x445966;const _0x2a1ee2=this['_getAPIPrefixPath']()+'/'+_0x5a11d1['objectType']+_0x2282a3(0x469),_0x41ee5b=await this[_0x2282a3(0x244)][_0x2282a3(0x44e)](_0x2a1ee2,{'body':_0x5a11d1});return{'roles':_0x41ee5b[_0x2282a3(0x352)][_0x2282a3(0x22d)],'actions':_0x41ee5b[_0x2282a3(0x352)][_0x2282a3(0x4b9)]};}async[_0x445966(0x2d8)](_0x506fe0){var _0x594db3=_0x445966;const _0x5e8559=this[_0x594db3(0x3f5)]()+_0x594db3(0x43d);await this[_0x594db3(0x244)]['delete'](_0x5e8559,{'params':{'collaboratorID':_0x506fe0['collaboratorID'],'objectID':_0x506fe0['objectID'],'unitID':_0x506fe0['unitID']}});}async[_0x445966(0x257)](_0x5d71b8){var _0xfd5b5d=_0x445966;const _0x46304d=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xfd5b5d(0x244)]['patch'](_0x46304d,{'body':_0x5d71b8});}async[_0x445966(0x45f)](_0x102a3c){var _0x11978e=_0x445966;const _0x200cc2=this[_0x11978e(0x3f5)]()+_0x11978e(0x43d);await this[_0x11978e(0x244)][_0x11978e(0x44e)](_0x200cc2,{'body':_0x102a3c});}async[_0x445966(0x39b)](_0x3054c5){var _0x46be5c=_0x445966;const _0x36af35=this['_getAPIPrefixPath']()+_0x46be5c(0x43d);return(await this[_0x46be5c(0x244)][_0x46be5c(0x4b2)](_0x36af35,{'params':{'objectID':_0x3054c5['objectID'],'unitID':_0x3054c5[_0x46be5c(0x457)]}}))[_0x46be5c(0x352)][_0x46be5c(0x3d1)];}async['putCollaborators'](_0x417b80){var _0x3a9b60=_0x445966;const _0x4f90fd=this['_getAPIPrefixPath']()+_0x3a9b60(0x43d);await this['_HTTPService']['put'](_0x4f90fd,{'body':_0x417b80});}},exports[_0x445966(0x28b)]=Pi([Xe(0x0,a[_0x445966(0x2cb)](q['HTTPService'])),Xe(0x1,a[_0x445966(0x2cb)](a[_0x445966(0x4df)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x52f0f2){var _0x122dbf=_0x445966;return _0x52f0f2&&_0x52f0f2['__esModule']&&Object['prototype'][_0x122dbf(0x48a)]['call'](_0x52f0f2,_0x122dbf(0x40e))?_0x52f0f2['default']:_0x52f0f2;}var fe={'exports':{}};function Li(_0x30e7a5){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x30e7a5+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe['exports'],Ze;function ee(){var _0xe5ed8c=_0x445966;return Ze||(Ze=0x1,function(_0x2a0f60,_0x3cdecb){(function(_0x412b49,_0xda1b69){var _0x792872=_0x1614;_0x2a0f60[_0x792872(0x350)]=_0xda1b69();}(Mi,function(){var _0x74a4d0=_0x74a4d0||function(_0x3bfe58,_0x3f691e){var _0x49c7f2=_0x1614,_0x3539b4;if(typeof window<'u'&&window[_0x49c7f2(0x1bd)]&&(_0x3539b4=window[_0x49c7f2(0x1bd)]),typeof self<'u'&&self[_0x49c7f2(0x1bd)]&&(_0x3539b4=self['crypto']),typeof globalThis<'u'&&globalThis[_0x49c7f2(0x1bd)]&&(_0x3539b4=globalThis['crypto']),!_0x3539b4&&typeof window<'u'&&window[_0x49c7f2(0x49c)]&&(_0x3539b4=window[_0x49c7f2(0x49c)]),!_0x3539b4&&typeof Le<'u'&&Le['crypto']&&(_0x3539b4=Le[_0x49c7f2(0x1bd)]),!_0x3539b4&&typeof Li==_0x49c7f2(0x3a8))try{_0x3539b4=require(_0x49c7f2(0x1bd));}catch{}var _0x1cfe87=function(){var _0x45553b=_0x49c7f2;if(_0x3539b4){if(typeof _0x3539b4[_0x45553b(0x245)]==_0x45553b(0x3a8))try{return _0x3539b4['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3539b4[_0x45553b(0x1d0)]==_0x45553b(0x3a8))try{return _0x3539b4[_0x45553b(0x1d0)](0x4)[_0x45553b(0x3a1)]();}catch{}}throw new Error(_0x45553b(0x2d1));},_0x1bcf4c=Object[_0x49c7f2(0x2eb)]||(function(){function _0x3b6dd5(){}return function(_0xb53071){var _0x8f604c=_0x1614,_0x1a03d5;return _0x3b6dd5[_0x8f604c(0x4d4)]=_0xb53071,_0x1a03d5=new _0x3b6dd5(),_0x3b6dd5[_0x8f604c(0x4d4)]=null,_0x1a03d5;};}()),_0x4d9e03={},_0x325812=_0x4d9e03[_0x49c7f2(0x42d)]={},_0x3c4eff=_0x325812['Base']=(function(){return{'extend':function(_0x3b8a6f){var _0x4cc957=_0x1614,_0x45c14e=_0x1bcf4c(this);return _0x3b8a6f&&_0x45c14e[_0x4cc957(0x33a)](_0x3b8a6f),(!_0x45c14e[_0x4cc957(0x48a)](_0x4cc957(0x1ca))||this[_0x4cc957(0x1ca)]===_0x45c14e['init'])&&(_0x45c14e[_0x4cc957(0x1ca)]=function(){var _0x2e7a08=_0x4cc957;_0x45c14e['$super'][_0x2e7a08(0x1ca)][_0x2e7a08(0x2b3)](this,arguments);}),_0x45c14e[_0x4cc957(0x1ca)][_0x4cc957(0x4d4)]=_0x45c14e,_0x45c14e[_0x4cc957(0x3e3)]=this,_0x45c14e;},'create':function(){var _0x3bfd73=_0x1614,_0x40e928=this[_0x3bfd73(0x3ee)]();return _0x40e928[_0x3bfd73(0x1ca)][_0x3bfd73(0x2b3)](_0x40e928,arguments),_0x40e928;},'init':function(){},'mixIn':function(_0x4ced6d){var _0x2b96be=_0x1614;for(var _0x29669e in _0x4ced6d)_0x4ced6d[_0x2b96be(0x48a)](_0x29669e)&&(this[_0x29669e]=_0x4ced6d[_0x29669e]);_0x4ced6d['hasOwnProperty'](_0x2b96be(0x1f0))&&(this['toString']=_0x4ced6d[_0x2b96be(0x1f0)]);},'clone':function(){var _0x21c278=_0x1614;return this[_0x21c278(0x1ca)]['prototype'][_0x21c278(0x3ee)](this);}};}()),_0x110a5d=_0x325812['WordArray']=_0x3c4eff[_0x49c7f2(0x3ee)]({'init':function(_0x2e8ac4,_0x4164ca){var _0x11d346=_0x49c7f2;_0x2e8ac4=this['words']=_0x2e8ac4||[],_0x4164ca!=_0x3f691e?this['sigBytes']=_0x4164ca:this['sigBytes']=_0x2e8ac4[_0x11d346(0x2a6)]*0x4;},'toString':function(_0x4886ba){var _0x262cf1=_0x49c7f2;return(_0x4886ba||_0x3f5da6)[_0x262cf1(0x438)](this);},'concat':function(_0x34a9ef){var _0x17a287=_0x49c7f2,_0x463b66=this[_0x17a287(0x1ea)],_0x4f96f9=_0x34a9ef['words'],_0x469440=this[_0x17a287(0x472)],_0x1ea3cb=_0x34a9ef['sigBytes'];if(this[_0x17a287(0x34e)](),_0x469440%0x4)for(var _0xa50456=0x0;_0xa50456<_0x1ea3cb;_0xa50456++){var _0x32b85d=_0x4f96f9[_0xa50456>>>0x2]>>>0x18-_0xa50456%0x4*0x8&0xff;_0x463b66[_0x469440+_0xa50456>>>0x2]|=_0x32b85d<<0x18-(_0x469440+_0xa50456)%0x4*0x8;}else{for(var _0x1509bc=0x0;_0x1509bc<_0x1ea3cb;_0x1509bc+=0x4)_0x463b66[_0x469440+_0x1509bc>>>0x2]=_0x4f96f9[_0x1509bc>>>0x2];}return this['sigBytes']+=_0x1ea3cb,this;},'clamp':function(){var _0x31e6e8=_0x49c7f2,_0x4312f8=this[_0x31e6e8(0x1ea)],_0x27e466=this['sigBytes'];_0x4312f8[_0x27e466>>>0x2]&=0xffffffff<<0x20-_0x27e466%0x4*0x8,_0x4312f8[_0x31e6e8(0x2a6)]=_0x3bfe58[_0x31e6e8(0x415)](_0x27e466/0x4);},'clone':function(){var _0x3dec26=_0x49c7f2,_0x10e0cd=_0x3c4eff['clone'][_0x3dec26(0x453)](this);return _0x10e0cd['words']=this[_0x3dec26(0x1ea)]['slice'](0x0),_0x10e0cd;},'random':function(_0x369e85){for(var _0x9013f=[],_0x15d708=0x0;_0x15d708<_0x369e85;_0x15d708+=0x4)_0x9013f['push'](_0x1cfe87());return new _0x110a5d['init'](_0x9013f,_0x369e85);}}),_0x4c81f7=_0x4d9e03[_0x49c7f2(0x1a4)]={},_0x3f5da6=_0x4c81f7[_0x49c7f2(0x3fb)]={'stringify':function(_0xbc3537){var _0x383a04=_0x49c7f2;for(var _0x1442d2=_0xbc3537[_0x383a04(0x1ea)],_0x8a6a97=_0xbc3537['sigBytes'],_0x35dae3=[],_0x258ca7=0x0;_0x258ca7<_0x8a6a97;_0x258ca7++){var _0x4e9353=_0x1442d2[_0x258ca7>>>0x2]>>>0x18-_0x258ca7%0x4*0x8&0xff;_0x35dae3['push']((_0x4e9353>>>0x4)['toString'](0x10)),_0x35dae3[_0x383a04(0x32f)]((_0x4e9353&0xf)[_0x383a04(0x1f0)](0x10));}return _0x35dae3[_0x383a04(0x471)]('');},'parse':function(_0x24e884){var _0x3167d9=_0x49c7f2;for(var _0x3530de=_0x24e884[_0x3167d9(0x2a6)],_0x5ec4e2=[],_0x1d2b91=0x0;_0x1d2b91<_0x3530de;_0x1d2b91+=0x2)_0x5ec4e2[_0x1d2b91>>>0x3]|=parseInt(_0x24e884[_0x3167d9(0x29c)](_0x1d2b91,0x2),0x10)<<0x18-_0x1d2b91%0x8*0x4;return new _0x110a5d[(_0x3167d9(0x1ca))](_0x5ec4e2,_0x3530de/0x2);}},_0xae8535=_0x4c81f7[_0x49c7f2(0x3ec)]={'stringify':function(_0x401c9f){var _0xb2f538=_0x49c7f2;for(var _0x56f1a2=_0x401c9f[_0xb2f538(0x1ea)],_0x6708b7=_0x401c9f[_0xb2f538(0x472)],_0x42461f=[],_0x853059=0x0;_0x853059<_0x6708b7;_0x853059++){var _0x1edda0=_0x56f1a2[_0x853059>>>0x2]>>>0x18-_0x853059%0x4*0x8&0xff;_0x42461f[_0xb2f538(0x32f)](String[_0xb2f538(0x20f)](_0x1edda0));}return _0x42461f[_0xb2f538(0x471)]('');},'parse':function(_0x14b287){var _0x4d1c72=_0x49c7f2;for(var _0x147f0f=_0x14b287[_0x4d1c72(0x2a6)],_0xc5537c=[],_0x455a5e=0x0;_0x455a5e<_0x147f0f;_0x455a5e++)_0xc5537c[_0x455a5e>>>0x2]|=(_0x14b287[_0x4d1c72(0x1a8)](_0x455a5e)&0xff)<<0x18-_0x455a5e%0x4*0x8;return new _0x110a5d[(_0x4d1c72(0x1ca))](_0xc5537c,_0x147f0f);}},_0x7e65a8=_0x4c81f7[_0x49c7f2(0x21e)]={'stringify':function(_0x43d3de){var _0x2daf6d=_0x49c7f2;try{return decodeURIComponent(escape(_0xae8535[_0x2daf6d(0x438)](_0x43d3de)));}catch{throw new Error(_0x2daf6d(0x3f1));}},'parse':function(_0x99de3b){var _0x38e65a=_0x49c7f2;return _0xae8535[_0x38e65a(0x4d7)](unescape(encodeURIComponent(_0x99de3b)));}},_0x174c62=_0x325812[_0x49c7f2(0x2ad)]=_0x3c4eff[_0x49c7f2(0x3ee)]({'reset':function(){var _0x4a55cc=_0x49c7f2;this['_data']=new _0x110a5d[(_0x4a55cc(0x1ca))](),this[_0x4a55cc(0x4d6)]=0x0;},'_append':function(_0x50c995){var _0x3d0986=_0x49c7f2;typeof _0x50c995=='string'&&(_0x50c995=_0x7e65a8[_0x3d0986(0x4d7)](_0x50c995)),this[_0x3d0986(0x451)][_0x3d0986(0x2cd)](_0x50c995),this[_0x3d0986(0x4d6)]+=_0x50c995[_0x3d0986(0x472)];},'_process':function(_0x4b5556){var _0x5b6850=_0x49c7f2,_0x273da9,_0x506561=this[_0x5b6850(0x451)],_0x593f74=_0x506561[_0x5b6850(0x1ea)],_0x4db69f=_0x506561[_0x5b6850(0x472)],_0x15027d=this['blockSize'],_0x567e04=_0x15027d*0x4,_0x28fbae=_0x4db69f/_0x567e04;_0x4b5556?_0x28fbae=_0x3bfe58[_0x5b6850(0x415)](_0x28fbae):_0x28fbae=_0x3bfe58[_0x5b6850(0x422)]((_0x28fbae|0x0)-this['_minBufferSize'],0x0);var _0x58d078=_0x28fbae*_0x15027d,_0x4f1781=_0x3bfe58['min'](_0x58d078*0x4,_0x4db69f);if(_0x58d078){for(var _0x1f4fae=0x0;_0x1f4fae<_0x58d078;_0x1f4fae+=_0x15027d)this[_0x5b6850(0x234)](_0x593f74,_0x1f4fae);_0x273da9=_0x593f74[_0x5b6850(0x2ee)](0x0,_0x58d078),_0x506561['sigBytes']-=_0x4f1781;}return new _0x110a5d['init'](_0x273da9,_0x4f1781);},'clone':function(){var _0xb5fa06=_0x49c7f2,_0x5f3199=_0x3c4eff[_0xb5fa06(0x17f)][_0xb5fa06(0x453)](this);return _0x5f3199[_0xb5fa06(0x451)]=this[_0xb5fa06(0x451)][_0xb5fa06(0x17f)](),_0x5f3199;},'_minBufferSize':0x0});_0x325812['Hasher']=_0x174c62[_0x49c7f2(0x3ee)]({'cfg':_0x3c4eff[_0x49c7f2(0x3ee)](),'init':function(_0x298994){var _0x2fee8d=_0x49c7f2;this[_0x2fee8d(0x226)]=this[_0x2fee8d(0x226)][_0x2fee8d(0x3ee)](_0x298994),this['reset']();},'reset':function(){var _0x26fdac=_0x49c7f2;_0x174c62[_0x26fdac(0x1d5)][_0x26fdac(0x453)](this),this[_0x26fdac(0x43f)]();},'update':function(_0x35f413){var _0x2c8fdc=_0x49c7f2;return this['_append'](_0x35f413),this[_0x2c8fdc(0x1c3)](),this;},'finalize':function(_0x46cc38){var _0x448a5c=_0x49c7f2;_0x46cc38&&this[_0x448a5c(0x225)](_0x46cc38);var _0x153778=this[_0x448a5c(0x249)]();return _0x153778;},'blockSize':0x10,'_createHelper':function(_0x40c835){return function(_0x2a03f2,_0x1ac4bc){var _0x2dd85d=_0x1614;return new _0x40c835[(_0x2dd85d(0x1ca))](_0x1ac4bc)['finalize'](_0x2a03f2);};},'_createHmacHelper':function(_0xd63979){return function(_0x3d88f7,_0xd906dc){var _0x25fcc5=_0x1614;return new _0x4566ee[(_0x25fcc5(0x41c))]['init'](_0xd63979,_0xd906dc)[_0x25fcc5(0x461)](_0x3d88f7);};}});var _0x4566ee=_0x4d9e03[_0x49c7f2(0x3d6)]={};return _0x4d9e03;}(Math);return _0x74a4d0;}));}(pe)),pe[_0xe5ed8c(0x350)];}function _0x1614(_0x5f1913,_0x134688){var _0x82d421=_0x82d4();return _0x1614=function(_0x161427,_0x365bb1){_0x161427=_0x161427-0x176;var _0x62bdc5=_0x82d421[_0x161427];return _0x62bdc5;},_0x1614(_0x5f1913,_0x134688);}var ge={'exports':{}},xi=ge['exports'],Qe;function Dt(){return Qe||(Qe=0x1,function(_0x3ba478,_0xe00844){(function(_0x1b9e73,_0x6ea33f){var _0x29325b=_0x1614;_0x3ba478[_0x29325b(0x350)]=_0x6ea33f(ee());}(xi,function(_0x1c4424){var _0x44fbd6=_0x1614;return(function(){var _0x262d50=_0x1614,_0x42b51a=_0x1c4424,_0x25e09a=_0x42b51a[_0x262d50(0x42d)],_0x1459ef=_0x25e09a[_0x262d50(0x2c2)],_0xc55fba=_0x42b51a[_0x262d50(0x1a4)];_0xc55fba[_0x262d50(0x367)]={'stringify':function(_0x21fbad){var _0x1617bc=_0x262d50,_0x1e8392=_0x21fbad[_0x1617bc(0x1ea)],_0x3fa65d=_0x21fbad[_0x1617bc(0x472)],_0x4b4e7a=this[_0x1617bc(0x4ed)];_0x21fbad[_0x1617bc(0x34e)]();for(var _0x43a251=[],_0xf1ae62=0x0;_0xf1ae62<_0x3fa65d;_0xf1ae62+=0x3)for(var _0x50fa97=_0x1e8392[_0xf1ae62>>>0x2]>>>0x18-_0xf1ae62%0x4*0x8&0xff,_0x27e8e7=_0x1e8392[_0xf1ae62+0x1>>>0x2]>>>0x18-(_0xf1ae62+0x1)%0x4*0x8&0xff,_0x7531b3=_0x1e8392[_0xf1ae62+0x2>>>0x2]>>>0x18-(_0xf1ae62+0x2)%0x4*0x8&0xff,_0x48fdd9=_0x50fa97<<0x10|_0x27e8e7<<0x8|_0x7531b3,_0x160a0f=0x0;_0x160a0f<0x4&&_0xf1ae62+_0x160a0f*0.75<_0x3fa65d;_0x160a0f++)_0x43a251[_0x1617bc(0x32f)](_0x4b4e7a[_0x1617bc(0x3b5)](_0x48fdd9>>>0x6*(0x3-_0x160a0f)&0x3f));var _0x31ce34=_0x4b4e7a['charAt'](0x40);if(_0x31ce34){for(;_0x43a251['length']%0x4;)_0x43a251[_0x1617bc(0x32f)](_0x31ce34);}return _0x43a251['join']('');},'parse':function(_0x207e84){var _0x4e1fe4=_0x262d50,_0x53b792=_0x207e84[_0x4e1fe4(0x2a6)],_0x5763a8=this[_0x4e1fe4(0x4ed)],_0x5e1edc=this[_0x4e1fe4(0x4ac)];if(!_0x5e1edc){_0x5e1edc=this[_0x4e1fe4(0x4ac)]=[];for(var _0x41d8cb=0x0;_0x41d8cb<_0x5763a8[_0x4e1fe4(0x2a6)];_0x41d8cb++)_0x5e1edc[_0x5763a8['charCodeAt'](_0x41d8cb)]=_0x41d8cb;}var _0x210eed=_0x5763a8['charAt'](0x40);if(_0x210eed){var _0x2c6393=_0x207e84[_0x4e1fe4(0x1cd)](_0x210eed);_0x2c6393!==-0x1&&(_0x53b792=_0x2c6393);}return _0x169436(_0x207e84,_0x53b792,_0x5e1edc);},'_map':_0x262d50(0x27a)};function _0x169436(_0x185658,_0x2a4fc1,_0xf030d4){var _0x2dc608=_0x262d50;for(var _0x3423f6=[],_0xf48bcd=0x0,_0x423c51=0x0;_0x423c51<_0x2a4fc1;_0x423c51++)if(_0x423c51%0x4){var _0x5495c7=_0xf030d4[_0x185658[_0x2dc608(0x1a8)](_0x423c51-0x1)]<<_0x423c51%0x4*0x2,_0x475f8e=_0xf030d4[_0x185658['charCodeAt'](_0x423c51)]>>>0x6-_0x423c51%0x4*0x2,_0x1c75b1=_0x5495c7|_0x475f8e;_0x3423f6[_0xf48bcd>>>0x2]|=_0x1c75b1<<0x18-_0xf48bcd%0x4*0x8,_0xf48bcd++;}return _0x1459ef['create'](_0x3423f6,_0xf48bcd);}}()),_0x1c4424['enc'][_0x44fbd6(0x367)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},ki=Ie[_0x445966(0x350)],et;function Hi(){return et||(et=0x1,function(_0x2978f1,_0x16fc86){(function(_0x191bad,_0x310c56){_0x2978f1['exports']=_0x310c56(ee());}(ki,function(_0x1b49b5){var _0x53af52=_0x1614;return function(_0x44a1a3){var _0x13f2b9=_0x1614,_0x3afaa0=_0x1b49b5,_0x3c263d=_0x3afaa0[_0x13f2b9(0x42d)],_0x181cce=_0x3c263d[_0x13f2b9(0x2c2)],_0x5e0b56=_0x3c263d[_0x13f2b9(0x332)],_0x5c868d=_0x3afaa0[_0x13f2b9(0x3d6)],_0x37be8d=[];(function(){var _0x972537=_0x13f2b9;for(var _0x501166=0x0;_0x501166<0x40;_0x501166++)_0x37be8d[_0x501166]=_0x44a1a3[_0x972537(0x205)](_0x44a1a3[_0x972537(0x3c9)](_0x501166+0x1))*0x100000000|0x0;}());var _0x1492cc=_0x5c868d[_0x13f2b9(0x316)]=_0x5e0b56[_0x13f2b9(0x3ee)]({'_doReset':function(){var _0x1b977e=_0x13f2b9;this['_hash']=new _0x181cce[(_0x1b977e(0x1ca))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3041f9,_0x3c4a93){var _0x45b4bb=_0x13f2b9;for(var _0x132ee7=0x0;_0x132ee7<0x10;_0x132ee7++){var _0x22a94a=_0x3c4a93+_0x132ee7,_0x3a823a=_0x3041f9[_0x22a94a];_0x3041f9[_0x22a94a]=(_0x3a823a<<0x8|_0x3a823a>>>0x18)&0xff00ff|(_0x3a823a<<0x18|_0x3a823a>>>0x8)&0xff00ff00;}var _0x93c582=this[_0x45b4bb(0x403)][_0x45b4bb(0x1ea)],_0x40a772=_0x3041f9[_0x3c4a93+0x0],_0x3f1a25=_0x3041f9[_0x3c4a93+0x1],_0x1c7bf3=_0x3041f9[_0x3c4a93+0x2],_0x125409=_0x3041f9[_0x3c4a93+0x3],_0x5aaa0b=_0x3041f9[_0x3c4a93+0x4],_0x526a83=_0x3041f9[_0x3c4a93+0x5],_0x25ceab=_0x3041f9[_0x3c4a93+0x6],_0x3becec=_0x3041f9[_0x3c4a93+0x7],_0x755ca8=_0x3041f9[_0x3c4a93+0x8],_0x16c2b2=_0x3041f9[_0x3c4a93+0x9],_0x2ac2c1=_0x3041f9[_0x3c4a93+0xa],_0x4577c1=_0x3041f9[_0x3c4a93+0xb],_0x34a376=_0x3041f9[_0x3c4a93+0xc],_0x492e3f=_0x3041f9[_0x3c4a93+0xd],_0x3dc3b4=_0x3041f9[_0x3c4a93+0xe],_0x392c86=_0x3041f9[_0x3c4a93+0xf],_0x10c563=_0x93c582[0x0],_0x58472a=_0x93c582[0x1],_0xf35ed7=_0x93c582[0x2],_0x44c41=_0x93c582[0x3];_0x10c563=_0x1e1513(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x40a772,0x7,_0x37be8d[0x0]),_0x44c41=_0x1e1513(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x3f1a25,0xc,_0x37be8d[0x1]),_0xf35ed7=_0x1e1513(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x1c7bf3,0x11,_0x37be8d[0x2]),_0x58472a=_0x1e1513(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x125409,0x16,_0x37be8d[0x3]),_0x10c563=_0x1e1513(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x5aaa0b,0x7,_0x37be8d[0x4]),_0x44c41=_0x1e1513(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x526a83,0xc,_0x37be8d[0x5]),_0xf35ed7=_0x1e1513(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x25ceab,0x11,_0x37be8d[0x6]),_0x58472a=_0x1e1513(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x3becec,0x16,_0x37be8d[0x7]),_0x10c563=_0x1e1513(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x755ca8,0x7,_0x37be8d[0x8]),_0x44c41=_0x1e1513(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x16c2b2,0xc,_0x37be8d[0x9]),_0xf35ed7=_0x1e1513(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x2ac2c1,0x11,_0x37be8d[0xa]),_0x58472a=_0x1e1513(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x4577c1,0x16,_0x37be8d[0xb]),_0x10c563=_0x1e1513(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x34a376,0x7,_0x37be8d[0xc]),_0x44c41=_0x1e1513(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x492e3f,0xc,_0x37be8d[0xd]),_0xf35ed7=_0x1e1513(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x3dc3b4,0x11,_0x37be8d[0xe]),_0x58472a=_0x1e1513(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x392c86,0x16,_0x37be8d[0xf]),_0x10c563=_0x6b976b(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x3f1a25,0x5,_0x37be8d[0x10]),_0x44c41=_0x6b976b(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x25ceab,0x9,_0x37be8d[0x11]),_0xf35ed7=_0x6b976b(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x4577c1,0xe,_0x37be8d[0x12]),_0x58472a=_0x6b976b(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x40a772,0x14,_0x37be8d[0x13]),_0x10c563=_0x6b976b(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x526a83,0x5,_0x37be8d[0x14]),_0x44c41=_0x6b976b(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x2ac2c1,0x9,_0x37be8d[0x15]),_0xf35ed7=_0x6b976b(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x392c86,0xe,_0x37be8d[0x16]),_0x58472a=_0x6b976b(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x5aaa0b,0x14,_0x37be8d[0x17]),_0x10c563=_0x6b976b(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x16c2b2,0x5,_0x37be8d[0x18]),_0x44c41=_0x6b976b(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x3dc3b4,0x9,_0x37be8d[0x19]),_0xf35ed7=_0x6b976b(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x125409,0xe,_0x37be8d[0x1a]),_0x58472a=_0x6b976b(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x755ca8,0x14,_0x37be8d[0x1b]),_0x10c563=_0x6b976b(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x492e3f,0x5,_0x37be8d[0x1c]),_0x44c41=_0x6b976b(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x1c7bf3,0x9,_0x37be8d[0x1d]),_0xf35ed7=_0x6b976b(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x3becec,0xe,_0x37be8d[0x1e]),_0x58472a=_0x6b976b(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x34a376,0x14,_0x37be8d[0x1f]),_0x10c563=_0x54ed33(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x526a83,0x4,_0x37be8d[0x20]),_0x44c41=_0x54ed33(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x755ca8,0xb,_0x37be8d[0x21]),_0xf35ed7=_0x54ed33(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x4577c1,0x10,_0x37be8d[0x22]),_0x58472a=_0x54ed33(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x3dc3b4,0x17,_0x37be8d[0x23]),_0x10c563=_0x54ed33(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x3f1a25,0x4,_0x37be8d[0x24]),_0x44c41=_0x54ed33(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x5aaa0b,0xb,_0x37be8d[0x25]),_0xf35ed7=_0x54ed33(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x3becec,0x10,_0x37be8d[0x26]),_0x58472a=_0x54ed33(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x2ac2c1,0x17,_0x37be8d[0x27]),_0x10c563=_0x54ed33(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x492e3f,0x4,_0x37be8d[0x28]),_0x44c41=_0x54ed33(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x40a772,0xb,_0x37be8d[0x29]),_0xf35ed7=_0x54ed33(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x125409,0x10,_0x37be8d[0x2a]),_0x58472a=_0x54ed33(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x25ceab,0x17,_0x37be8d[0x2b]),_0x10c563=_0x54ed33(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x16c2b2,0x4,_0x37be8d[0x2c]),_0x44c41=_0x54ed33(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x34a376,0xb,_0x37be8d[0x2d]),_0xf35ed7=_0x54ed33(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x392c86,0x10,_0x37be8d[0x2e]),_0x58472a=_0x54ed33(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x1c7bf3,0x17,_0x37be8d[0x2f]),_0x10c563=_0x5c61d1(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x40a772,0x6,_0x37be8d[0x30]),_0x44c41=_0x5c61d1(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x3becec,0xa,_0x37be8d[0x31]),_0xf35ed7=_0x5c61d1(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x3dc3b4,0xf,_0x37be8d[0x32]),_0x58472a=_0x5c61d1(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x526a83,0x15,_0x37be8d[0x33]),_0x10c563=_0x5c61d1(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x34a376,0x6,_0x37be8d[0x34]),_0x44c41=_0x5c61d1(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x125409,0xa,_0x37be8d[0x35]),_0xf35ed7=_0x5c61d1(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x2ac2c1,0xf,_0x37be8d[0x36]),_0x58472a=_0x5c61d1(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x3f1a25,0x15,_0x37be8d[0x37]),_0x10c563=_0x5c61d1(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x755ca8,0x6,_0x37be8d[0x38]),_0x44c41=_0x5c61d1(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x392c86,0xa,_0x37be8d[0x39]),_0xf35ed7=_0x5c61d1(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x25ceab,0xf,_0x37be8d[0x3a]),_0x58472a=_0x5c61d1(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x492e3f,0x15,_0x37be8d[0x3b]),_0x10c563=_0x5c61d1(_0x10c563,_0x58472a,_0xf35ed7,_0x44c41,_0x5aaa0b,0x6,_0x37be8d[0x3c]),_0x44c41=_0x5c61d1(_0x44c41,_0x10c563,_0x58472a,_0xf35ed7,_0x4577c1,0xa,_0x37be8d[0x3d]),_0xf35ed7=_0x5c61d1(_0xf35ed7,_0x44c41,_0x10c563,_0x58472a,_0x1c7bf3,0xf,_0x37be8d[0x3e]),_0x58472a=_0x5c61d1(_0x58472a,_0xf35ed7,_0x44c41,_0x10c563,_0x16c2b2,0x15,_0x37be8d[0x3f]),_0x93c582[0x0]=_0x93c582[0x0]+_0x10c563|0x0,_0x93c582[0x1]=_0x93c582[0x1]+_0x58472a|0x0,_0x93c582[0x2]=_0x93c582[0x2]+_0xf35ed7|0x0,_0x93c582[0x3]=_0x93c582[0x3]+_0x44c41|0x0;},'_doFinalize':function(){var _0x581ae0=_0x13f2b9,_0x518b9c=this[_0x581ae0(0x451)],_0xb58245=_0x518b9c[_0x581ae0(0x1ea)],_0x1d338c=this[_0x581ae0(0x4d6)]*0x8,_0x51f829=_0x518b9c[_0x581ae0(0x472)]*0x8;_0xb58245[_0x51f829>>>0x5]|=0x80<<0x18-_0x51f829%0x20;var _0x34f2e4=_0x44a1a3[_0x581ae0(0x380)](_0x1d338c/0x100000000),_0x4f7c9b=_0x1d338c;_0xb58245[(_0x51f829+0x40>>>0x9<<0x4)+0xf]=(_0x34f2e4<<0x8|_0x34f2e4>>>0x18)&0xff00ff|(_0x34f2e4<<0x18|_0x34f2e4>>>0x8)&0xff00ff00,_0xb58245[(_0x51f829+0x40>>>0x9<<0x4)+0xe]=(_0x4f7c9b<<0x8|_0x4f7c9b>>>0x18)&0xff00ff|(_0x4f7c9b<<0x18|_0x4f7c9b>>>0x8)&0xff00ff00,_0x518b9c[_0x581ae0(0x472)]=(_0xb58245['length']+0x1)*0x4,this[_0x581ae0(0x1c3)]();for(var _0x35acff=this[_0x581ae0(0x403)],_0xad4ec0=_0x35acff[_0x581ae0(0x1ea)],_0x5ee22a=0x0;_0x5ee22a<0x4;_0x5ee22a++){var _0x54f366=_0xad4ec0[_0x5ee22a];_0xad4ec0[_0x5ee22a]=(_0x54f366<<0x8|_0x54f366>>>0x18)&0xff00ff|(_0x54f366<<0x18|_0x54f366>>>0x8)&0xff00ff00;}return _0x35acff;},'clone':function(){var _0x877365=_0x13f2b9,_0x3b8b50=_0x5e0b56[_0x877365(0x17f)][_0x877365(0x453)](this);return _0x3b8b50[_0x877365(0x403)]=this[_0x877365(0x403)]['clone'](),_0x3b8b50;}});function _0x1e1513(_0x44a985,_0x448065,_0x3d3b64,_0x219f5a,_0x434d41,_0x292009,_0x11e9a5){var _0x2498c5=_0x44a985+(_0x448065&_0x3d3b64|~_0x448065&_0x219f5a)+_0x434d41+_0x11e9a5;return(_0x2498c5<<_0x292009|_0x2498c5>>>0x20-_0x292009)+_0x448065;}function _0x6b976b(_0x2d88c7,_0x29cc47,_0x153a6f,_0x2a2030,_0x55c94c,_0x10f349,_0x50a7be){var _0x143ef2=_0x2d88c7+(_0x29cc47&_0x2a2030|_0x153a6f&~_0x2a2030)+_0x55c94c+_0x50a7be;return(_0x143ef2<<_0x10f349|_0x143ef2>>>0x20-_0x10f349)+_0x29cc47;}function _0x54ed33(_0x1b4332,_0x2e8e3a,_0x3ec3b0,_0xc0aa6a,_0x45fa7e,_0x5aa3ad,_0x412f16){var _0x54f8e1=_0x1b4332+(_0x2e8e3a^_0x3ec3b0^_0xc0aa6a)+_0x45fa7e+_0x412f16;return(_0x54f8e1<<_0x5aa3ad|_0x54f8e1>>>0x20-_0x5aa3ad)+_0x2e8e3a;}function _0x5c61d1(_0x2f9508,_0x30f4be,_0x1cf25b,_0xd2b595,_0x1e6f7e,_0x5a5b16,_0x4c58e9){var _0xcbe880=_0x2f9508+(_0x1cf25b^(_0x30f4be|~_0xd2b595))+_0x1e6f7e+_0x4c58e9;return(_0xcbe880<<_0x5a5b16|_0xcbe880>>>0x20-_0x5a5b16)+_0x30f4be;}_0x3afaa0[_0x13f2b9(0x316)]=_0x5e0b56[_0x13f2b9(0x4b6)](_0x1492cc),_0x3afaa0['HmacMD5']=_0x5e0b56['_createHmacHelper'](_0x1492cc);}(Math),_0x1b49b5[_0x53af52(0x316)];}));}(Ie)),Ie['exports'];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x445966(0x350)],tt;function $i(){var _0x2961a8=_0x445966;return tt||(tt=0x1,function(_0x4b0ad5,_0x157856){(function(_0x5ce60d,_0x33b80b){_0x4b0ad5['exports']=_0x33b80b(ee());}(ji,function(_0x2b868c){return(function(){var _0x1d7c20=_0x1614,_0x38c153=_0x2b868c,_0x60e7a=_0x38c153[_0x1d7c20(0x42d)],_0x170b57=_0x60e7a[_0x1d7c20(0x2c2)],_0x245e3e=_0x60e7a['Hasher'],_0x168494=_0x38c153[_0x1d7c20(0x3d6)],_0x4b05f4=[],_0x2689dd=_0x168494[_0x1d7c20(0x3af)]=_0x245e3e['extend']({'_doReset':function(){var _0x145427=_0x1d7c20;this[_0x145427(0x403)]=new _0x170b57['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x273714,_0x30ff39){var _0x5f0005=_0x1d7c20;for(var _0x44eb5b=this['_hash'][_0x5f0005(0x1ea)],_0x3183cc=_0x44eb5b[0x0],_0x53b635=_0x44eb5b[0x1],_0x19fd56=_0x44eb5b[0x2],_0x148188=_0x44eb5b[0x3],_0x433360=_0x44eb5b[0x4],_0x268b88=0x0;_0x268b88<0x50;_0x268b88++){if(_0x268b88<0x10)_0x4b05f4[_0x268b88]=_0x273714[_0x30ff39+_0x268b88]|0x0;else{var _0xe93c76=_0x4b05f4[_0x268b88-0x3]^_0x4b05f4[_0x268b88-0x8]^_0x4b05f4[_0x268b88-0xe]^_0x4b05f4[_0x268b88-0x10];_0x4b05f4[_0x268b88]=_0xe93c76<<0x1|_0xe93c76>>>0x1f;}var _0x3e95e9=(_0x3183cc<<0x5|_0x3183cc>>>0x1b)+_0x433360+_0x4b05f4[_0x268b88];_0x268b88<0x14?_0x3e95e9+=(_0x53b635&_0x19fd56|~_0x53b635&_0x148188)+0x5a827999:_0x268b88<0x28?_0x3e95e9+=(_0x53b635^_0x19fd56^_0x148188)+0x6ed9eba1:_0x268b88<0x3c?_0x3e95e9+=(_0x53b635&_0x19fd56|_0x53b635&_0x148188|_0x19fd56&_0x148188)-0x70e44324:_0x3e95e9+=(_0x53b635^_0x19fd56^_0x148188)-0x359d3e2a,_0x433360=_0x148188,_0x148188=_0x19fd56,_0x19fd56=_0x53b635<<0x1e|_0x53b635>>>0x2,_0x53b635=_0x3183cc,_0x3183cc=_0x3e95e9;}_0x44eb5b[0x0]=_0x44eb5b[0x0]+_0x3183cc|0x0,_0x44eb5b[0x1]=_0x44eb5b[0x1]+_0x53b635|0x0,_0x44eb5b[0x2]=_0x44eb5b[0x2]+_0x19fd56|0x0,_0x44eb5b[0x3]=_0x44eb5b[0x3]+_0x148188|0x0,_0x44eb5b[0x4]=_0x44eb5b[0x4]+_0x433360|0x0;},'_doFinalize':function(){var _0x15fd01=_0x1d7c20,_0x3f7faf=this[_0x15fd01(0x451)],_0x186e72=_0x3f7faf[_0x15fd01(0x1ea)],_0x4379e2=this['_nDataBytes']*0x8,_0x470fd3=_0x3f7faf[_0x15fd01(0x472)]*0x8;return _0x186e72[_0x470fd3>>>0x5]|=0x80<<0x18-_0x470fd3%0x20,_0x186e72[(_0x470fd3+0x40>>>0x9<<0x4)+0xe]=Math[_0x15fd01(0x380)](_0x4379e2/0x100000000),_0x186e72[(_0x470fd3+0x40>>>0x9<<0x4)+0xf]=_0x4379e2,_0x3f7faf[_0x15fd01(0x472)]=_0x186e72['length']*0x4,this['_process'](),this[_0x15fd01(0x403)];},'clone':function(){var _0x2452d8=_0x1d7c20,_0x41a495=_0x245e3e[_0x2452d8(0x17f)][_0x2452d8(0x453)](this);return _0x41a495[_0x2452d8(0x403)]=this[_0x2452d8(0x403)][_0x2452d8(0x17f)](),_0x41a495;}});_0x38c153[_0x1d7c20(0x3af)]=_0x245e3e['_createHelper'](_0x2689dd),_0x38c153[_0x1d7c20(0x467)]=_0x245e3e[_0x1d7c20(0x408)](_0x2689dd);}()),_0x2b868c['SHA1'];}));}(Ee)),Ee[_0x2961a8(0x350)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x4a91e8=_0x445966;return it||(it=0x1,function(_0x1c0f24,_0x3bf2fb){(function(_0x3cff9d,_0x5e4f18){var _0x303c52=_0x1614;_0x1c0f24[_0x303c52(0x350)]=_0x5e4f18(ee());}(Bi,function(_0x7b5128){(function(){var _0x19296c=_0x1614,_0x13af42=_0x7b5128,_0x27b42b=_0x13af42[_0x19296c(0x42d)],_0x224828=_0x27b42b[_0x19296c(0x399)],_0x59f95d=_0x13af42[_0x19296c(0x1a4)],_0x4b2299=_0x59f95d[_0x19296c(0x21e)],_0x547225=_0x13af42[_0x19296c(0x3d6)];_0x547225['HMAC']=_0x224828[_0x19296c(0x3ee)]({'init':function(_0x7ed01b,_0x4f96c7){var _0x49e601=_0x19296c;_0x7ed01b=this['_hasher']=new _0x7ed01b['init'](),typeof _0x4f96c7==_0x49e601(0x2b9)&&(_0x4f96c7=_0x4b2299[_0x49e601(0x4d7)](_0x4f96c7));var _0x4b0a74=_0x7ed01b[_0x49e601(0x41a)],_0x1c989=_0x4b0a74*0x4;_0x4f96c7[_0x49e601(0x472)]>_0x1c989&&(_0x4f96c7=_0x7ed01b[_0x49e601(0x461)](_0x4f96c7)),_0x4f96c7[_0x49e601(0x34e)]();for(var _0x5b11c0=this[_0x49e601(0x464)]=_0x4f96c7[_0x49e601(0x17f)](),_0x5d5298=this[_0x49e601(0x283)]=_0x4f96c7['clone'](),_0x2b8acd=_0x5b11c0[_0x49e601(0x1ea)],_0x578b4a=_0x5d5298[_0x49e601(0x1ea)],_0x4adfb2=0x0;_0x4adfb2<_0x4b0a74;_0x4adfb2++)_0x2b8acd[_0x4adfb2]^=0x5c5c5c5c,_0x578b4a[_0x4adfb2]^=0x36363636;_0x5b11c0[_0x49e601(0x472)]=_0x5d5298[_0x49e601(0x472)]=_0x1c989,this[_0x49e601(0x1d5)]();},'reset':function(){var _0x3835b7=_0x19296c,_0x565c11=this['_hasher'];_0x565c11[_0x3835b7(0x1d5)](),_0x565c11['update'](this[_0x3835b7(0x283)]);},'update':function(_0x100db7){var _0x9ed1fc=_0x19296c;return this[_0x9ed1fc(0x24c)]['update'](_0x100db7),this;},'finalize':function(_0x268ea8){var _0x16a0ef=_0x19296c,_0x404833=this[_0x16a0ef(0x24c)],_0x40db6f=_0x404833[_0x16a0ef(0x461)](_0x268ea8);_0x404833['reset']();var _0x47c052=_0x404833[_0x16a0ef(0x461)](this[_0x16a0ef(0x464)]['clone']()['concat'](_0x40db6f));return _0x47c052;}});}());}));}(Ce)),Ce[_0x4a91e8(0x350)];}var Vi=me[_0x445966(0x350)],nt;function At(){var _0x2ca946=_0x445966;return nt||(nt=0x1,function(_0x4a2f19,_0x12770c){(function(_0x49edb6,_0x1b2fdd,_0x42c3c6){var _0x31df96=_0x1614;_0x4a2f19[_0x31df96(0x350)]=_0x1b2fdd(ee(),$i(),Fi());}(Vi,function(_0x64c05e){var _0x5b1fae=_0x1614;return(function(){var _0x207323=_0x1614,_0x39c9dc=_0x64c05e,_0x2ee445=_0x39c9dc[_0x207323(0x42d)],_0x47896b=_0x2ee445[_0x207323(0x399)],_0x4cf4dc=_0x2ee445[_0x207323(0x2c2)],_0x3c8ade=_0x39c9dc[_0x207323(0x3d6)],_0x137f59=_0x3c8ade['MD5'],_0x36a578=_0x3c8ade[_0x207323(0x242)]=_0x47896b[_0x207323(0x3ee)]({'cfg':_0x47896b[_0x207323(0x3ee)]({'keySize':0x80/0x20,'hasher':_0x137f59,'iterations':0x1}),'init':function(_0x438797){var _0x4eafac=_0x207323;this[_0x4eafac(0x226)]=this[_0x4eafac(0x226)][_0x4eafac(0x3ee)](_0x438797);},'compute':function(_0x4bf4a7,_0x472657){var _0x53930e=_0x207323;for(var _0x1a259f,_0x4dadf4=this[_0x53930e(0x226)],_0x1a343e=_0x4dadf4[_0x53930e(0x3f9)][_0x53930e(0x2eb)](),_0x3a4b87=_0x4cf4dc[_0x53930e(0x2eb)](),_0x18ae38=_0x3a4b87['words'],_0x2a6092=_0x4dadf4['keySize'],_0x4a1d5c=_0x4dadf4[_0x53930e(0x382)];_0x18ae38[_0x53930e(0x2a6)]<_0x2a6092;){_0x1a259f&&_0x1a343e['update'](_0x1a259f),_0x1a259f=_0x1a343e[_0x53930e(0x2a7)](_0x4bf4a7)[_0x53930e(0x461)](_0x472657),_0x1a343e[_0x53930e(0x1d5)]();for(var _0x210507=0x1;_0x210507<_0x4a1d5c;_0x210507++)_0x1a259f=_0x1a343e['finalize'](_0x1a259f),_0x1a343e[_0x53930e(0x1d5)]();_0x3a4b87['concat'](_0x1a259f);}return _0x3a4b87[_0x53930e(0x472)]=_0x2a6092*0x4,_0x3a4b87;}});_0x39c9dc[_0x207323(0x242)]=function(_0x6688b3,_0x4c96ac,_0x284c40){var _0x16d07f=_0x207323;return _0x36a578[_0x16d07f(0x2eb)](_0x284c40)[_0x16d07f(0x45a)](_0x6688b3,_0x4c96ac);};}()),_0x64c05e[_0x5b1fae(0x242)];}));}(me)),me[_0x2ca946(0x350)];}var Te={'exports':{}},Wi=Te[_0x445966(0x350)],rt;function Pt(){var _0x225934=_0x445966;return rt||(rt=0x1,function(_0x344fc9,_0x42b1bc){(function(_0x5f2916,_0x4d0457,_0x59a9df){var _0x351854=_0x1614;_0x344fc9[_0x351854(0x350)]=_0x4d0457(ee(),At());}(Wi,function(_0x35f973){var _0x23e4d9=_0x1614;_0x35f973['lib'][_0x23e4d9(0x312)]||function(_0x3bac16){var _0x543bc7=_0x23e4d9,_0x4acf85=_0x35f973,_0x3879d0=_0x4acf85[_0x543bc7(0x42d)],_0x1c78b1=_0x3879d0[_0x543bc7(0x399)],_0x54e84f=_0x3879d0[_0x543bc7(0x2c2)],_0x5041c5=_0x3879d0[_0x543bc7(0x2ad)],_0x589a9c=_0x4acf85[_0x543bc7(0x1a4)];_0x589a9c['Utf8'];var _0x17c7a4=_0x589a9c[_0x543bc7(0x367)],_0x5efb23=_0x4acf85[_0x543bc7(0x3d6)],_0x5426ac=_0x5efb23[_0x543bc7(0x242)],_0x3bbbf4=_0x3879d0['Cipher']=_0x5041c5['extend']({'cfg':_0x1c78b1[_0x543bc7(0x3ee)](),'createEncryptor':function(_0xd8a410,_0x36a542){var _0xc1266c=_0x543bc7;return this[_0xc1266c(0x2eb)](this[_0xc1266c(0x4b7)],_0xd8a410,_0x36a542);},'createDecryptor':function(_0x5a54cb,_0x16c954){var _0x2f4052=_0x543bc7;return this[_0x2f4052(0x2eb)](this[_0x2f4052(0x19e)],_0x5a54cb,_0x16c954);},'init':function(_0x4eeea3,_0x2b996a,_0x5de4e2){var _0x29d184=_0x543bc7;this[_0x29d184(0x226)]=this[_0x29d184(0x226)][_0x29d184(0x3ee)](_0x5de4e2),this[_0x29d184(0x346)]=_0x4eeea3,this[_0x29d184(0x266)]=_0x2b996a,this[_0x29d184(0x1d5)]();},'reset':function(){var _0x10714b=_0x543bc7;_0x5041c5[_0x10714b(0x1d5)][_0x10714b(0x453)](this),this['_doReset']();},'process':function(_0x2e3df7){var _0x290e7a=_0x543bc7;return this[_0x290e7a(0x225)](_0x2e3df7),this[_0x290e7a(0x1c3)]();},'finalize':function(_0x1ce483){var _0x248bf0=_0x543bc7;_0x1ce483&&this[_0x248bf0(0x225)](_0x1ce483);var _0x24852a=this[_0x248bf0(0x249)]();return _0x24852a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x419428(_0x284618){var _0xf8212c=_0x1614;return typeof _0x284618==_0xf8212c(0x2b9)?_0x377707:_0x3437e8;}return function(_0x1bd8d6){return{'encrypt':function(_0x49027a,_0x35318c,_0x344713){var _0x283f2b=_0x1614;return _0x419428(_0x35318c)[_0x283f2b(0x2ea)](_0x1bd8d6,_0x49027a,_0x35318c,_0x344713);},'decrypt':function(_0x1c583b,_0x382a8c,_0x4ad854){var _0x52fb38=_0x1614;return _0x419428(_0x382a8c)[_0x52fb38(0x23a)](_0x1bd8d6,_0x1c583b,_0x382a8c,_0x4ad854);}};};}())});_0x3879d0[_0x543bc7(0x4fc)]=_0x3bbbf4[_0x543bc7(0x3ee)]({'_doFinalize':function(){var _0x431472=_0x543bc7,_0x2465ce=this[_0x431472(0x1c3)](!0x0);return _0x2465ce;},'blockSize':0x1});var _0x18f64e=_0x4acf85[_0x543bc7(0x3f6)]={},_0x52357d=_0x3879d0[_0x543bc7(0x1a3)]=_0x1c78b1[_0x543bc7(0x3ee)]({'createEncryptor':function(_0x1d2f85,_0x2fae4b){var _0x1db2c2=_0x543bc7;return this[_0x1db2c2(0x294)][_0x1db2c2(0x2eb)](_0x1d2f85,_0x2fae4b);},'createDecryptor':function(_0x13dbbd,_0x1d55a3){var _0x405cbd=_0x543bc7;return this[_0x405cbd(0x370)]['create'](_0x13dbbd,_0x1d55a3);},'init':function(_0x3f618b,_0x4e9742){var _0x642341=_0x543bc7;this[_0x642341(0x306)]=_0x3f618b,this[_0x642341(0x4a7)]=_0x4e9742;}}),_0x3069ff=_0x18f64e[_0x543bc7(0x3df)]=(function(){var _0x72cb20=_0x543bc7,_0x1efde0=_0x52357d[_0x72cb20(0x3ee)]();_0x1efde0[_0x72cb20(0x294)]=_0x1efde0['extend']({'processBlock':function(_0x8ca10b,_0xe7449c){var _0x398bd1=_0x72cb20,_0x4fdd61=this['_cipher'],_0x53a30f=_0x4fdd61['blockSize'];_0x8464fe['call'](this,_0x8ca10b,_0xe7449c,_0x53a30f),_0x4fdd61['encryptBlock'](_0x8ca10b,_0xe7449c),this[_0x398bd1(0x459)]=_0x8ca10b[_0x398bd1(0x3b8)](_0xe7449c,_0xe7449c+_0x53a30f);}}),_0x1efde0['Decryptor']=_0x1efde0[_0x72cb20(0x3ee)]({'processBlock':function(_0x57433d,_0x2db399){var _0x529af9=_0x72cb20,_0x4a8b4b=this[_0x529af9(0x306)],_0x4b2a17=_0x4a8b4b['blockSize'],_0x11a011=_0x57433d[_0x529af9(0x3b8)](_0x2db399,_0x2db399+_0x4b2a17);_0x4a8b4b[_0x529af9(0x48f)](_0x57433d,_0x2db399),_0x8464fe['call'](this,_0x57433d,_0x2db399,_0x4b2a17),this[_0x529af9(0x459)]=_0x11a011;}});function _0x8464fe(_0xfab489,_0x452916,_0x1cbcdb){var _0x1c9a0e=_0x72cb20,_0x399aa5,_0xf02684=this[_0x1c9a0e(0x4a7)];_0xf02684?(_0x399aa5=_0xf02684,this[_0x1c9a0e(0x4a7)]=_0x3bac16):_0x399aa5=this[_0x1c9a0e(0x459)];for(var _0x799c1a=0x0;_0x799c1a<_0x1cbcdb;_0x799c1a++)_0xfab489[_0x452916+_0x799c1a]^=_0x399aa5[_0x799c1a];}return _0x1efde0;}()),_0x25be5b=_0x4acf85[_0x543bc7(0x319)]={},_0x380f08=_0x25be5b[_0x543bc7(0x1e9)]={'pad':function(_0xe6bdbe,_0x2580e8){var _0x1d9270=_0x543bc7;for(var _0x56e9f=_0x2580e8*0x4,_0x60e326=_0x56e9f-_0xe6bdbe['sigBytes']%_0x56e9f,_0x5aa8f5=_0x60e326<<0x18|_0x60e326<<0x10|_0x60e326<<0x8|_0x60e326,_0x4342e9=[],_0x2ac677=0x0;_0x2ac677<_0x60e326;_0x2ac677+=0x4)_0x4342e9[_0x1d9270(0x32f)](_0x5aa8f5);var _0x6a274c=_0x54e84f[_0x1d9270(0x2eb)](_0x4342e9,_0x60e326);_0xe6bdbe[_0x1d9270(0x2cd)](_0x6a274c);},'unpad':function(_0x336a1c){var _0x41adf8=_0x543bc7,_0x5bad30=_0x336a1c[_0x41adf8(0x1ea)][_0x336a1c[_0x41adf8(0x472)]-0x1>>>0x2]&0xff;_0x336a1c[_0x41adf8(0x472)]-=_0x5bad30;}};_0x3879d0[_0x543bc7(0x179)]=_0x3bbbf4['extend']({'cfg':_0x3bbbf4[_0x543bc7(0x226)][_0x543bc7(0x3ee)]({'mode':_0x3069ff,'padding':_0x380f08}),'reset':function(){var _0x2ef707=_0x543bc7,_0x9be470;_0x3bbbf4[_0x2ef707(0x1d5)][_0x2ef707(0x453)](this);var _0x9bee66=this[_0x2ef707(0x226)],_0xf9d361=_0x9bee66['iv'],_0x130c57=_0x9bee66['mode'];this[_0x2ef707(0x346)]==this[_0x2ef707(0x4b7)]?_0x9be470=_0x130c57[_0x2ef707(0x202)]:(_0x9be470=_0x130c57[_0x2ef707(0x25f)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x2ef707(0x37e)]==_0x9be470?this['_mode']['init'](this,_0xf9d361&&_0xf9d361[_0x2ef707(0x1ea)]):(this['_mode']=_0x9be470[_0x2ef707(0x453)](_0x130c57,this,_0xf9d361&&_0xf9d361['words']),this[_0x2ef707(0x250)][_0x2ef707(0x37e)]=_0x9be470);},'_doProcessBlock':function(_0x40660e,_0x3e3f12){var _0x2135d5=_0x543bc7;this[_0x2135d5(0x250)][_0x2135d5(0x413)](_0x40660e,_0x3e3f12);},'_doFinalize':function(){var _0x445213=_0x543bc7,_0x3bdeea,_0x209d36=this[_0x445213(0x226)][_0x445213(0x3e6)];return this[_0x445213(0x346)]==this[_0x445213(0x4b7)]?(_0x209d36['pad'](this[_0x445213(0x451)],this['blockSize']),_0x3bdeea=this[_0x445213(0x1c3)](!0x0)):(_0x3bdeea=this[_0x445213(0x1c3)](!0x0),_0x209d36[_0x445213(0x2b8)](_0x3bdeea)),_0x3bdeea;},'blockSize':0x80/0x20});var _0x31c8ab=_0x3879d0[_0x543bc7(0x1da)]=_0x1c78b1[_0x543bc7(0x3ee)]({'init':function(_0x3adb99){var _0x4f7918=_0x543bc7;this[_0x4f7918(0x33a)](_0x3adb99);},'toString':function(_0x18f8f7){var _0x8012d5=_0x543bc7;return(_0x18f8f7||this[_0x8012d5(0x233)])[_0x8012d5(0x438)](this);}}),_0x16d714=_0x4acf85[_0x543bc7(0x2b2)]={},_0x2ec590=_0x16d714[_0x543bc7(0x37d)]={'stringify':function(_0x39dbf7){var _0x2d6119=_0x543bc7,_0x5bf81d,_0x3fac86=_0x39dbf7[_0x2d6119(0x3ac)],_0x279774=_0x39dbf7[_0x2d6119(0x490)];return _0x279774?_0x5bf81d=_0x54e84f[_0x2d6119(0x2eb)]([0x53616c74,0x65645f5f])[_0x2d6119(0x2cd)](_0x279774)['concat'](_0x3fac86):_0x5bf81d=_0x3fac86,_0x5bf81d[_0x2d6119(0x1f0)](_0x17c7a4);},'parse':function(_0x437c8d){var _0x1f26c0=_0x543bc7,_0x3330ca,_0x5ac693=_0x17c7a4[_0x1f26c0(0x4d7)](_0x437c8d),_0x53056c=_0x5ac693[_0x1f26c0(0x1ea)];return _0x53056c[0x0]==0x53616c74&&_0x53056c[0x1]==0x65645f5f&&(_0x3330ca=_0x54e84f[_0x1f26c0(0x2eb)](_0x53056c[_0x1f26c0(0x3b8)](0x2,0x4)),_0x53056c[_0x1f26c0(0x2ee)](0x0,0x4),_0x5ac693[_0x1f26c0(0x472)]-=0x10),_0x31c8ab[_0x1f26c0(0x2eb)]({'ciphertext':_0x5ac693,'salt':_0x3330ca});}},_0x3437e8=_0x3879d0[_0x543bc7(0x1e3)]=_0x1c78b1['extend']({'cfg':_0x1c78b1[_0x543bc7(0x3ee)]({'format':_0x2ec590}),'encrypt':function(_0x1e284c,_0x564ea6,_0x3498fd,_0x3af828){var _0x220b90=_0x543bc7;_0x3af828=this[_0x220b90(0x226)][_0x220b90(0x3ee)](_0x3af828);var _0x4296d0=_0x1e284c['createEncryptor'](_0x3498fd,_0x3af828),_0x4004d1=_0x4296d0[_0x220b90(0x461)](_0x564ea6),_0x12b0cc=_0x4296d0[_0x220b90(0x226)];return _0x31c8ab[_0x220b90(0x2eb)]({'ciphertext':_0x4004d1,'key':_0x3498fd,'iv':_0x12b0cc['iv'],'algorithm':_0x1e284c,'mode':_0x12b0cc[_0x220b90(0x3f6)],'padding':_0x12b0cc['padding'],'blockSize':_0x1e284c[_0x220b90(0x41a)],'formatter':_0x3af828['format']});},'decrypt':function(_0x4a4e44,_0x285d0c,_0x1b6b58,_0x321a07){var _0x29fc96=_0x543bc7;_0x321a07=this[_0x29fc96(0x226)][_0x29fc96(0x3ee)](_0x321a07),_0x285d0c=this[_0x29fc96(0x278)](_0x285d0c,_0x321a07['format']);var _0x3ff37e=_0x4a4e44[_0x29fc96(0x25f)](_0x1b6b58,_0x321a07)[_0x29fc96(0x461)](_0x285d0c[_0x29fc96(0x3ac)]);return _0x3ff37e;},'_parse':function(_0x5462db,_0x251597){var _0x5d18cd=_0x543bc7;return typeof _0x5462db==_0x5d18cd(0x2b9)?_0x251597[_0x5d18cd(0x4d7)](_0x5462db,this):_0x5462db;}}),_0x2da332=_0x4acf85[_0x543bc7(0x185)]={},_0x414587=_0x2da332[_0x543bc7(0x37d)]={'execute':function(_0x4bdebb,_0x3927bd,_0x10c66d,_0x1986ff,_0x487edf){var _0x4fcb26=_0x543bc7;if(_0x1986ff||(_0x1986ff=_0x54e84f[_0x4fcb26(0x31b)](0x40/0x8)),_0x487edf)var _0x3b7738=_0x5426ac[_0x4fcb26(0x2eb)]({'keySize':_0x3927bd+_0x10c66d,'hasher':_0x487edf})[_0x4fcb26(0x45a)](_0x4bdebb,_0x1986ff);else var _0x3b7738=_0x5426ac[_0x4fcb26(0x2eb)]({'keySize':_0x3927bd+_0x10c66d})[_0x4fcb26(0x45a)](_0x4bdebb,_0x1986ff);var _0x1bf137=_0x54e84f['create'](_0x3b7738[_0x4fcb26(0x1ea)][_0x4fcb26(0x3b8)](_0x3927bd),_0x10c66d*0x4);return _0x3b7738[_0x4fcb26(0x472)]=_0x3927bd*0x4,_0x31c8ab[_0x4fcb26(0x2eb)]({'key':_0x3b7738,'iv':_0x1bf137,'salt':_0x1986ff});}},_0x377707=_0x3879d0['PasswordBasedCipher']=_0x3437e8[_0x543bc7(0x3ee)]({'cfg':_0x3437e8['cfg']['extend']({'kdf':_0x414587}),'encrypt':function(_0x4df5e2,_0x442405,_0x158768,_0xa1ebbf){var _0x13bb54=_0x543bc7;_0xa1ebbf=this[_0x13bb54(0x226)][_0x13bb54(0x3ee)](_0xa1ebbf);var _0x3faa61=_0xa1ebbf[_0x13bb54(0x185)][_0x13bb54(0x470)](_0x158768,_0x4df5e2[_0x13bb54(0x3ae)],_0x4df5e2[_0x13bb54(0x326)],_0xa1ebbf[_0x13bb54(0x490)],_0xa1ebbf[_0x13bb54(0x3f9)]);_0xa1ebbf['iv']=_0x3faa61['iv'];var _0x2fdc81=_0x3437e8['encrypt']['call'](this,_0x4df5e2,_0x442405,_0x3faa61[_0x13bb54(0x20d)],_0xa1ebbf);return _0x2fdc81[_0x13bb54(0x33a)](_0x3faa61),_0x2fdc81;},'decrypt':function(_0x2fdddc,_0x1fd0ef,_0x5ed97f,_0x9b894e){var _0x32ccc3=_0x543bc7;_0x9b894e=this[_0x32ccc3(0x226)]['extend'](_0x9b894e),_0x1fd0ef=this[_0x32ccc3(0x278)](_0x1fd0ef,_0x9b894e['format']);var _0x494919=_0x9b894e[_0x32ccc3(0x185)][_0x32ccc3(0x470)](_0x5ed97f,_0x2fdddc[_0x32ccc3(0x3ae)],_0x2fdddc[_0x32ccc3(0x326)],_0x1fd0ef['salt'],_0x9b894e[_0x32ccc3(0x3f9)]);_0x9b894e['iv']=_0x494919['iv'];var _0x43416e=_0x3437e8[_0x32ccc3(0x23a)][_0x32ccc3(0x453)](this,_0x2fdddc,_0x1fd0ef,_0x494919[_0x32ccc3(0x20d)],_0x9b894e);return _0x43416e;}});}();}));}(Te)),Te[_0x225934(0x350)];}var Gi=fe['exports'],st;function Ki(){var _0x5d7591=_0x445966;return st||(st=0x1,function(_0x48d3a1,_0x6711d4){(function(_0x110e8a,_0x36db5d,_0x1e2f4c){_0x48d3a1['exports']=_0x36db5d(ee(),Dt(),Hi(),At(),Pt());}(Gi,function(_0x3698f4){var _0x402350=_0x1614;return(function(){var _0x30a0de=_0x1614,_0x427fe4=_0x3698f4,_0x4baba9=_0x427fe4[_0x30a0de(0x42d)],_0x39cc11=_0x4baba9[_0x30a0de(0x179)],_0x19a87e=_0x427fe4[_0x30a0de(0x3d6)],_0xe2f14c=[],_0x15ac5c=[],_0xcf778d=[],_0x3daca3=[],_0x25120d=[],_0x299c19=[],_0x3a0953=[],_0x5b96b5=[],_0x3b440c=[],_0x30220a=[];(function(){for(var _0x197c88=[],_0x3875dc=0x0;_0x3875dc<0x100;_0x3875dc++)_0x3875dc<0x80?_0x197c88[_0x3875dc]=_0x3875dc<<0x1:_0x197c88[_0x3875dc]=_0x3875dc<<0x1^0x11b;for(var _0x25d0a3=0x0,_0x2842cc=0x0,_0x3875dc=0x0;_0x3875dc<0x100;_0x3875dc++){var _0x57979c=_0x2842cc^_0x2842cc<<0x1^_0x2842cc<<0x2^_0x2842cc<<0x3^_0x2842cc<<0x4;_0x57979c=_0x57979c>>>0x8^_0x57979c&0xff^0x63,_0xe2f14c[_0x25d0a3]=_0x57979c,_0x15ac5c[_0x57979c]=_0x25d0a3;var _0x36e5d5=_0x197c88[_0x25d0a3],_0x287fd1=_0x197c88[_0x36e5d5],_0x2f1929=_0x197c88[_0x287fd1],_0x339a76=_0x197c88[_0x57979c]*0x101^_0x57979c*0x1010100;_0xcf778d[_0x25d0a3]=_0x339a76<<0x18|_0x339a76>>>0x8,_0x3daca3[_0x25d0a3]=_0x339a76<<0x10|_0x339a76>>>0x10,_0x25120d[_0x25d0a3]=_0x339a76<<0x8|_0x339a76>>>0x18,_0x299c19[_0x25d0a3]=_0x339a76;var _0x339a76=_0x2f1929*0x1010101^_0x287fd1*0x10001^_0x36e5d5*0x101^_0x25d0a3*0x1010100;_0x3a0953[_0x57979c]=_0x339a76<<0x18|_0x339a76>>>0x8,_0x5b96b5[_0x57979c]=_0x339a76<<0x10|_0x339a76>>>0x10,_0x3b440c[_0x57979c]=_0x339a76<<0x8|_0x339a76>>>0x18,_0x30220a[_0x57979c]=_0x339a76,_0x25d0a3?(_0x25d0a3=_0x36e5d5^_0x197c88[_0x197c88[_0x197c88[_0x2f1929^_0x36e5d5]]],_0x2842cc^=_0x197c88[_0x197c88[_0x2842cc]]):_0x25d0a3=_0x2842cc=0x1;}}());var _0x4b4b32=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x440c32=_0x19a87e[_0x30a0de(0x410)]=_0x39cc11['extend']({'_doReset':function(){var _0x2780df=_0x30a0de,_0x3cc761;if(!(this['_nRounds']&&this[_0x2780df(0x354)]===this[_0x2780df(0x266)])){for(var _0x4c0dcb=this['_keyPriorReset']=this[_0x2780df(0x266)],_0x303a06=_0x4c0dcb[_0x2780df(0x1ea)],_0x431445=_0x4c0dcb['sigBytes']/0x4,_0x37d8a7=this[_0x2780df(0x4e3)]=_0x431445+0x6,_0x668774=(_0x37d8a7+0x1)*0x4,_0x5b8863=this[_0x2780df(0x3dd)]=[],_0x2e6afa=0x0;_0x2e6afa<_0x668774;_0x2e6afa++)_0x2e6afa<_0x431445?_0x5b8863[_0x2e6afa]=_0x303a06[_0x2e6afa]:(_0x3cc761=_0x5b8863[_0x2e6afa-0x1],_0x2e6afa%_0x431445?_0x431445>0x6&&_0x2e6afa%_0x431445==0x4&&(_0x3cc761=_0xe2f14c[_0x3cc761>>>0x18]<<0x18|_0xe2f14c[_0x3cc761>>>0x10&0xff]<<0x10|_0xe2f14c[_0x3cc761>>>0x8&0xff]<<0x8|_0xe2f14c[_0x3cc761&0xff]):(_0x3cc761=_0x3cc761<<0x8|_0x3cc761>>>0x18,_0x3cc761=_0xe2f14c[_0x3cc761>>>0x18]<<0x18|_0xe2f14c[_0x3cc761>>>0x10&0xff]<<0x10|_0xe2f14c[_0x3cc761>>>0x8&0xff]<<0x8|_0xe2f14c[_0x3cc761&0xff],_0x3cc761^=_0x4b4b32[_0x2e6afa/_0x431445|0x0]<<0x18),_0x5b8863[_0x2e6afa]=_0x5b8863[_0x2e6afa-_0x431445]^_0x3cc761);for(var _0x5c4b23=this[_0x2780df(0x193)]=[],_0x3000af=0x0;_0x3000af<_0x668774;_0x3000af++){var _0x2e6afa=_0x668774-_0x3000af;if(_0x3000af%0x4)var _0x3cc761=_0x5b8863[_0x2e6afa];else var _0x3cc761=_0x5b8863[_0x2e6afa-0x4];_0x3000af<0x4||_0x2e6afa<=0x4?_0x5c4b23[_0x3000af]=_0x3cc761:_0x5c4b23[_0x3000af]=_0x3a0953[_0xe2f14c[_0x3cc761>>>0x18]]^_0x5b96b5[_0xe2f14c[_0x3cc761>>>0x10&0xff]]^_0x3b440c[_0xe2f14c[_0x3cc761>>>0x8&0xff]]^_0x30220a[_0xe2f14c[_0x3cc761&0xff]];}}},'encryptBlock':function(_0x1a4d9d,_0x1ace3b){var _0x224d6d=_0x30a0de;this[_0x224d6d(0x38b)](_0x1a4d9d,_0x1ace3b,this[_0x224d6d(0x3dd)],_0xcf778d,_0x3daca3,_0x25120d,_0x299c19,_0xe2f14c);},'decryptBlock':function(_0x1c5d11,_0x4b48ff){var _0x3a69f2=_0x30a0de,_0x1baf4a=_0x1c5d11[_0x4b48ff+0x1];_0x1c5d11[_0x4b48ff+0x1]=_0x1c5d11[_0x4b48ff+0x3],_0x1c5d11[_0x4b48ff+0x3]=_0x1baf4a,this[_0x3a69f2(0x38b)](_0x1c5d11,_0x4b48ff,this['_invKeySchedule'],_0x3a0953,_0x5b96b5,_0x3b440c,_0x30220a,_0x15ac5c);var _0x1baf4a=_0x1c5d11[_0x4b48ff+0x1];_0x1c5d11[_0x4b48ff+0x1]=_0x1c5d11[_0x4b48ff+0x3],_0x1c5d11[_0x4b48ff+0x3]=_0x1baf4a;},'_doCryptBlock':function(_0x54b337,_0x552ca7,_0x20485f,_0x90968d,_0xc5b969,_0x3c38fc,_0x36ebc4,_0x80f9cc){for(var _0x5e9f84=this['_nRounds'],_0x30907c=_0x54b337[_0x552ca7]^_0x20485f[0x0],_0x349638=_0x54b337[_0x552ca7+0x1]^_0x20485f[0x1],_0xd75ee=_0x54b337[_0x552ca7+0x2]^_0x20485f[0x2],_0x1b608c=_0x54b337[_0x552ca7+0x3]^_0x20485f[0x3],_0x24e409=0x4,_0x26646e=0x1;_0x26646e<_0x5e9f84;_0x26646e++){var _0x26b508=_0x90968d[_0x30907c>>>0x18]^_0xc5b969[_0x349638>>>0x10&0xff]^_0x3c38fc[_0xd75ee>>>0x8&0xff]^_0x36ebc4[_0x1b608c&0xff]^_0x20485f[_0x24e409++],_0x39fb95=_0x90968d[_0x349638>>>0x18]^_0xc5b969[_0xd75ee>>>0x10&0xff]^_0x3c38fc[_0x1b608c>>>0x8&0xff]^_0x36ebc4[_0x30907c&0xff]^_0x20485f[_0x24e409++],_0x1dedd3=_0x90968d[_0xd75ee>>>0x18]^_0xc5b969[_0x1b608c>>>0x10&0xff]^_0x3c38fc[_0x30907c>>>0x8&0xff]^_0x36ebc4[_0x349638&0xff]^_0x20485f[_0x24e409++],_0xd9a878=_0x90968d[_0x1b608c>>>0x18]^_0xc5b969[_0x30907c>>>0x10&0xff]^_0x3c38fc[_0x349638>>>0x8&0xff]^_0x36ebc4[_0xd75ee&0xff]^_0x20485f[_0x24e409++];_0x30907c=_0x26b508,_0x349638=_0x39fb95,_0xd75ee=_0x1dedd3,_0x1b608c=_0xd9a878;}var _0x26b508=(_0x80f9cc[_0x30907c>>>0x18]<<0x18|_0x80f9cc[_0x349638>>>0x10&0xff]<<0x10|_0x80f9cc[_0xd75ee>>>0x8&0xff]<<0x8|_0x80f9cc[_0x1b608c&0xff])^_0x20485f[_0x24e409++],_0x39fb95=(_0x80f9cc[_0x349638>>>0x18]<<0x18|_0x80f9cc[_0xd75ee>>>0x10&0xff]<<0x10|_0x80f9cc[_0x1b608c>>>0x8&0xff]<<0x8|_0x80f9cc[_0x30907c&0xff])^_0x20485f[_0x24e409++],_0x1dedd3=(_0x80f9cc[_0xd75ee>>>0x18]<<0x18|_0x80f9cc[_0x1b608c>>>0x10&0xff]<<0x10|_0x80f9cc[_0x30907c>>>0x8&0xff]<<0x8|_0x80f9cc[_0x349638&0xff])^_0x20485f[_0x24e409++],_0xd9a878=(_0x80f9cc[_0x1b608c>>>0x18]<<0x18|_0x80f9cc[_0x30907c>>>0x10&0xff]<<0x10|_0x80f9cc[_0x349638>>>0x8&0xff]<<0x8|_0x80f9cc[_0xd75ee&0xff])^_0x20485f[_0x24e409++];_0x54b337[_0x552ca7]=_0x26b508,_0x54b337[_0x552ca7+0x1]=_0x39fb95,_0x54b337[_0x552ca7+0x2]=_0x1dedd3,_0x54b337[_0x552ca7+0x3]=_0xd9a878;},'keySize':0x100/0x20});_0x427fe4[_0x30a0de(0x410)]=_0x39cc11[_0x30a0de(0x4b6)](_0x440c32);}()),_0x3698f4[_0x402350(0x410)];}));}(fe)),fe[_0x5d7591(0x350)];}var Yi=Ki();const qi=Se(Yi);var zi=Dt();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x445966(0x350)],at;function Xi(){var _0x477f60=_0x445966;return at||(at=0x1,function(_0xeadad7,_0x4cb7b4){(function(_0x1f01e2,_0x491a02){var _0x437600=_0x1614;_0xeadad7[_0x437600(0x350)]=_0x491a02(ee());}(Ji,function(_0x3a56c2){var _0xcc2103=_0x1614;return _0x3a56c2[_0xcc2103(0x1a4)][_0xcc2103(0x21e)];}));}(be)),be[_0x477f60(0x350)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x445966(0x350)],ct;function tn(){var _0x3b2296=_0x445966;return ct||(ct=0x1,function(_0x4614d8,_0x360240){(function(_0x345b7b,_0x56148d){var _0x1cd776=_0x1614;_0x4614d8[_0x1cd776(0x350)]=_0x56148d(ee());}(en,function(_0x58a539){var _0x429598=_0x1614;return(function(){var _0x2efdf3=_0x1614;if(typeof ArrayBuffer==_0x2efdf3(0x3a8)){var _0x49cffd=_0x58a539,_0x565dba=_0x49cffd[_0x2efdf3(0x42d)],_0x182d21=_0x565dba['WordArray'],_0x2cdabf=_0x182d21[_0x2efdf3(0x1ca)],_0x552ebf=_0x182d21['init']=function(_0x417862){var _0x336abe=_0x2efdf3;if(_0x417862 instanceof ArrayBuffer&&(_0x417862=new Uint8Array(_0x417862)),(_0x417862 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x417862 instanceof Uint8ClampedArray||_0x417862 instanceof Int16Array||_0x417862 instanceof Uint16Array||_0x417862 instanceof Int32Array||_0x417862 instanceof Uint32Array||_0x417862 instanceof Float32Array||_0x417862 instanceof Float64Array)&&(_0x417862=new Uint8Array(_0x417862[_0x336abe(0x20e)],_0x417862[_0x336abe(0x27e)],_0x417862['byteLength'])),_0x417862 instanceof Uint8Array){for(var _0x4c39e2=_0x417862[_0x336abe(0x492)],_0x138b1e=[],_0x42299e=0x0;_0x42299e<_0x4c39e2;_0x42299e++)_0x138b1e[_0x42299e>>>0x2]|=_0x417862[_0x42299e]<<0x18-_0x42299e%0x4*0x8;_0x2cdabf['call'](this,_0x138b1e,_0x4c39e2);}else _0x2cdabf[_0x336abe(0x2b3)](this,arguments);};_0x552ebf['prototype']=_0x182d21;}}()),_0x58a539[_0x429598(0x42d)][_0x429598(0x2c2)];}));}(Re)),Re[_0x3b2296(0x350)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe['exports'],ht;function on(){var _0x4f640e=_0x445966;return ht||(ht=0x1,function(_0x392aa9,_0x2970d2){(function(_0xb2f0c9,_0x35be01,_0x485cf1){var _0x52c496=_0x1614;_0x392aa9[_0x52c496(0x350)]=_0x35be01(ee(),Pt());}(sn,function(_0xe4f22c){var _0x11eab5=_0x1614;return _0xe4f22c[_0x11eab5(0x319)][_0x11eab5(0x447)]={'pad':function(){},'unpad':function(){}},_0xe4f22c[_0x11eab5(0x319)][_0x11eab5(0x447)];}));}(Oe)),Oe[_0x4f640e(0x350)];}var an=on();const cn=Se(an);function hn(_0x27318b,_0xab1762){var _0x3d1c3b=_0x445966;const _0x3f1b55=_0xab1762-_0x27318b[_0x3d1c3b(0x2a6)]%_0xab1762,_0x5f4244=String[_0x3d1c3b(0x20f)](_0x3f1b55)[_0x3d1c3b(0x219)](_0x3f1b55);return _0x27318b+_0x5f4244;}function _n(_0x14e6b1,_0xe9bebd){var _0xfcb978=_0x445966;const _0xcfe43=rn[_0xfcb978(0x31b)](0x10),_0x30ced0=hn(_0x14e6b1,0x10),_0x6d2977=qi['encrypt'](Qi[_0xfcb978(0x4d7)](_0x30ced0),ot[_0xfcb978(0x4d7)](_0xe9bebd),{'iv':_0xcfe43,'padding':cn});return _0xcfe43['concat'](_0x6d2977[_0xfcb978(0x3ac)])[_0xfcb978(0x1f0)](ot);}function ln(){var _0x23f7ce=_0x445966;const _0xbdce34=xt[_0x23f7ce(0x3ad)]()['__Key__'];if(_0xbdce34){const _0x20a6fa={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return _n(JSON[_0x23f7ce(0x438)](_0x20a6fa),_0xbdce34);}}var un=Object[_0x445966(0x2b5)],dn=(_0x2abb15,_0x19228d,_0x517acd,_0x2dbb2c)=>{var _0x10f4e0=_0x445966;for(var _0x40dfb4=_0x2dbb2c>0x1?void 0x0:_0x2dbb2c?un(_0x19228d,_0x517acd):_0x19228d,_0x1a5018=_0x2abb15[_0x10f4e0(0x2a6)]-0x1,_0x1f97f3;_0x1a5018>=0x0;_0x1a5018--)(_0x1f97f3=_0x2abb15[_0x1a5018])&&(_0x40dfb4=_0x1f97f3(_0x40dfb4)||_0x40dfb4);return _0x40dfb4;},vn=(_0x594447,_0x112dc2)=>(_0x2acf22,_0x810c71)=>_0x112dc2(_0x2acf22,_0x810c71,_0x594447);let Ne=class{constructor(_0x40ce82){var _0x48b991=_0x445966;this['_httpService']=_0x40ce82,this[_0x48b991(0x4c5)]();}[_0x445966(0x4c5)](){var _0x34a2d1=_0x445966;this[_0x34a2d1(0x194)][_0x34a2d1(0x22f)]({'interceptor':(_0x506577,_0x58c7f4)=>{var _0x570945=_0x34a2d1;const _0x40668c=_0x506577[_0x570945(0x189)],_0x33469b=ln();return _0x33469b&&_0x40668c['set']('x-univer-host',_0x33469b),_0x58c7f4(_0x506577);}});}};Ne=dn([vn(0x0,a[_0x445966(0x2cb)](q[_0x445966(0x47d)]))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0xf58a28,_0xc8bc7,_0x4fc949,_0x672c56)=>{for(var _0x382022=_0x672c56>0x1?void 0x0:_0x672c56?Sn(_0xc8bc7,_0x4fc949):_0xc8bc7,_0x1a2b55=_0xf58a28['length']-0x1,_0x126642;_0x1a2b55>=0x0;_0x1a2b55--)(_0x126642=_0xf58a28[_0x1a2b55])&&(_0x382022=_0x126642(_0x382022)||_0x382022);return _0x382022;},Me=(_0x501d38,_0x5e464c)=>(_0x35d730,_0x1c312b)=>_0x5e464c(_0x35d730,_0x1c312b,_0x501d38);exports[_0x445966(0x3ba)]=class extends a['RxDisposable']{constructor(_0x329c6b,_0x1056e9,_0x17197f){var _0x101a2b=_0x445966;super(),A(this,_0x101a2b(0x3c6),new j[(_0x101a2b(0x33d))](null)),A(this,_0x101a2b(0x223),this[_0x101a2b(0x3c6)]['asObservable']()),(this[_0x101a2b(0x2b0)]=_0x329c6b,this[_0x101a2b(0x433)]=_0x1056e9,this['_localCacheService']=_0x17197f);}async[_0x445966(0x26d)](_0x312e69,_0x5d2b46,_0x19b6c2){var _0x23e442=_0x445966;this[_0x23e442(0x3c6)]['next']({'unitId':_0x312e69,'type':_0x5d2b46,'subUnitId':_0x19b6c2});let _0x1ae002=null;switch(_0x5d2b46){case X[_0x23e442(0x480)]:{_0x1ae002=await this['_loadSheet'](_0x312e69);break;}case X[_0x23e442(0x2f0)]:{_0x1ae002=await this[_0x23e442(0x37f)](_0x312e69);break;}default:{this[_0x23e442(0x2b0)]['error']('[DataLoaderService]',_0x23e442(0x396));break;}}return _0x1ae002;}async['_loadSheet'](_0x3c547c){var _0x4e45ce=_0x445966,_0x35f6f9;let _0x4c28e7=0x0;const _0x31855d=await((_0x35f6f9=this[_0x4e45ce(0x21a)])==null?void 0x0:_0x35f6f9[_0x4e45ce(0x34d)](_0x3c547c));return _0x31855d&&(_0x31855d['awaitingChangeset']||_0x31855d[_0x4e45ce(0x48e)][_0x4e45ce(0x2a6)]!==0x0)&&(_0x4c28e7=_0x31855d[_0x4e45ce(0x2a8)]),_0x4c28e7===0x0&&this[_0x4e45ce(0x2b0)]['debug'](_0x4e45ce(0x220),_0x4e45ce(0x1d9)),this['_snapshotService']['loadSheet'](_0x3c547c,_0x4c28e7);}async[_0x445966(0x37f)](_0xb01f76){var _0x2c0a24=_0x445966,_0x5e7271;let _0x53075d=0x0;const _0x518836=await((_0x5e7271=this[_0x2c0a24(0x21a)])==null?void 0x0:_0x5e7271[_0x2c0a24(0x34d)](_0xb01f76));return _0x518836&&(_0x518836[_0x2c0a24(0x498)]||_0x518836[_0x2c0a24(0x48e)]['length']!==0x0)&&(_0x53075d=_0x518836[_0x2c0a24(0x2a8)]),_0x53075d===0x0&&this['_logService']['debug'](_0x2c0a24(0x220),_0x2c0a24(0x1d9)),this[_0x2c0a24(0x433)][_0x2c0a24(0x287)](_0xb01f76,_0x53075d);}},exports['DataLoaderService']=fn([Me(0x0,a[_0x445966(0x42a)]),Me(0x1,a[_0x445966(0x2cb)](g[_0x445966(0x30c)])),Me(0x2,a[_0x445966(0x32e)](z))],exports[_0x445966(0x3ba)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x547f28,_0x1184dd,_0x406b1,_0x491e43)=>{var _0x52ac9c=_0x445966;for(var _0x1acc82=_0x491e43>0x1?void 0x0:_0x491e43?pn(_0x1184dd,_0x406b1):_0x1184dd,_0xde8d94=_0x547f28[_0x52ac9c(0x2a6)]-0x1,_0x2ece7d;_0xde8d94>=0x0;_0xde8d94--)(_0x2ece7d=_0x547f28[_0xde8d94])&&(_0x1acc82=_0x2ece7d(_0x1acc82)||_0x1acc82);return _0x1acc82;},xe=(_0x2c2818,_0x518f0d)=>(_0x46bca2,_0x809c70)=>_0x518f0d(_0x46bca2,_0x809c70,_0x2c2818);const In=[_0x445966(0x349),_0x445966(0x495),'image/jpg','image/gif',_0x445966(0x20a)],mn=0x5*0x400*0x400,En=_0x445966(0x47c),Cn=_0x445966(0x429),Tn=_0x445966(0x348),bn='/universer-api/file/{fileID}/sign-url';exports[_0x445966(0x239)]=class{constructor(_0x1de74d,_0x21ff3f,_0xba2690){var _0x490599=_0x445966;A(this,_0x490599(0x268),0x0),A(this,_0x490599(0x19c),new j[(_0x490599(0x4d5))]()),A(this,_0x490599(0x215),this[_0x490599(0x19c)]),A(this,_0x490599(0x456),new Map()),(this[_0x490599(0x194)]=_0x1de74d,this['_configService']=_0x21ff3f,this[_0x490599(0x4a9)]=_0xba2690);}[_0x445966(0x22e)](_0x2d55af){var _0x4dc61d=_0x445966;this[_0x4dc61d(0x268)]=_0x2d55af,this[_0x4dc61d(0x19c)][_0x4dc61d(0x36e)](_0x2d55af);}[_0x445966(0x3dc)](_0x146541,_0x1b3337){var _0x987f44=_0x445966;if(_0x1b3337===J['ImageSourceType'][_0x987f44(0x41b)]){const _0x5dc2a2=new Image();return _0x5dc2a2[_0x987f44(0x298)]=_0x146541,_0x5dc2a2;}return this[_0x987f44(0x456)][_0x987f44(0x4b2)](_0x146541);}[_0x445966(0x3e7)](_0x38b5e8,_0x1a1cc1,_0x328bdf){var _0x31e30a=_0x445966;_0x1a1cc1===J[_0x31e30a(0x31e)][_0x31e30a(0x41b)]||_0x328bdf==null||this[_0x31e30a(0x456)][_0x31e30a(0x424)](_0x38b5e8,_0x328bdf);}async['getImage'](_0x50b91a){var _0x27cb1a=_0x445966;try{const _0x3b4580=this['_replaceFileID'](this[_0x27cb1a(0x214)](),''+_0x50b91a),_0x2591fd=(await this['_httpService'][_0x27cb1a(0x4b2)](_0x3b4580))[_0x27cb1a(0x352)];if(_0x2591fd['error']&&_0x2591fd['error']['code']===Ct['OK']){const _0x394b43=new URL(_0x2591fd['url'],this['_getDownloadEndpointURL']())[_0x27cb1a(0x1f0)]();return Promise[_0x27cb1a(0x256)](_0x394b43);}return Promise[_0x27cb1a(0x430)](_0x2591fd[_0x27cb1a(0x31f)]);}catch(_0x2673a1){return Promise['reject'](_0x2673a1);}}async['saveImage'](_0x5bbb5a){var _0x5b6832=_0x445966;let _0x29917f='';if(!In['includes'](_0x5bbb5a['type']))return this[_0x5b6832(0x1fb)](),Promise[_0x5b6832(0x430)](new Error(J['ImageUploadStatusType'][_0x5b6832(0x411)]));if(_0x5bbb5a[_0x5b6832(0x322)]>mn)return this[_0x5b6832(0x1fb)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x5b6832(0x334)]));try{const _0x576236=new FormData();_0x576236[_0x5b6832(0x1ad)](_0x5b6832(0x366),_0x5bbb5a);const _0x16aa49=this[_0x5b6832(0x4a9)][_0x5b6832(0x1df)](),_0x376009=_0x16aa49==null?void 0x0:_0x16aa49[_0x5b6832(0x487)]();if(!_0x376009)throw new Error('unitId\x20is\x20not\x20found');const _0x27daaa=this['_getUploadFileURL']()+_0x5b6832(0x372)+_0x5bbb5a[_0x5b6832(0x322)][_0x5b6832(0x1f0)]()+_0x5b6832(0x188)+Tt[_0x5b6832(0x38e)]+'&assign='+encodeURIComponent(_0x376009),_0x3fcae4={'body':_0x576236},_0x36a7fb=(await this['_httpService']['post'](_0x27daaa,_0x3fcae4))[_0x5b6832(0x352)];if(typeof _0x36a7fb[_0x5b6832(0x4f3)]!='string')return this[_0x5b6832(0x1fb)](),Promise[_0x5b6832(0x430)](new Error(J[_0x5b6832(0x2ae)][_0x5b6832(0x34f)]));_0x29917f=_0x36a7fb[_0x5b6832(0x4f3)];}catch{return this[_0x5b6832(0x1fb)](),Promise[_0x5b6832(0x430)](new Error(J[_0x5b6832(0x2ae)]['ERROR_IMAGE']));}return new Promise((_0x1f2150,_0x58a790)=>{var _0x287785=_0x5b6832;const _0x4d7bdf=new FileReader();_0x4d7bdf[_0x287785(0x1f8)](_0x5bbb5a),_0x4d7bdf[_0x287785(0x30e)]=_0x44bc02=>{var _0x29e470=_0x287785,_0x13f2b2;const _0x2b2b72=(_0x13f2b2=_0x44bc02[_0x29e470(0x2e8)])==null?void 0x0:_0x13f2b2['result'];if(_0x2b2b72==null){this[_0x29e470(0x1fb)](),_0x58a790(new Error(J[_0x29e470(0x2ae)][_0x29e470(0x34f)]));return;}const _0x18a4d1=a[_0x29e470(0x3cd)]['generateRandomId'](0x6);_0x1f2150({'imageId':_0x18a4d1,'imageSourceType':J[_0x29e470(0x31e)][_0x29e470(0x327)],'source':_0x29917f,'base64Cache':_0x2b2b72,'status':J[_0x29e470(0x2ae)]['SUCCUSS']}),this[_0x29e470(0x1fb)]();};});}[_0x445966(0x1e0)](){var _0x237d0d=_0x445966,_0x3f7a57,_0x1fe46d;const _0xb426fc=this[_0x237d0d(0x42c)][_0x237d0d(0x29a)](En),_0xf33411=this['_configService'][_0x237d0d(0x29a)](Y);return(_0x1fe46d=(_0x3f7a57=_0xf33411==null?void 0x0:_0xf33411[_0x237d0d(0x398)])!=null?_0x3f7a57:_0xb426fc)!=null?_0x1fe46d:Cn;}['_getSignURL'](){var _0x330ba2=_0x445966,_0x4113b4,_0x36eadb;const _0x2974ac=this[_0x330ba2(0x42c)]['getConfig'](Tn),_0x581b2a=this[_0x330ba2(0x42c)][_0x330ba2(0x29a)](Y);return(_0x36eadb=(_0x4113b4=_0x581b2a==null?void 0x0:_0x581b2a[_0x330ba2(0x292)])!=null?_0x4113b4:_0x2974ac)!=null?_0x36eadb:bn;}['_getDownloadEndpointURL'](){var _0x1aaa37=_0x445966,_0x290339;const _0x20d846=this['_configService'][_0x1aaa37(0x29a)](Y);return(_0x290339=_0x20d846==null?void 0x0:_0x20d846[_0x1aaa37(0x441)])!=null?_0x290339:location[_0x1aaa37(0x305)];}[_0x445966(0x406)](_0x17f89d,_0x51a1c6){var _0xd5dfe2=_0x445966;return _0x17f89d[_0xd5dfe2(0x22a)](_0xd5dfe2(0x28a),_0x51a1c6);}['_decreaseWaiting'](){var _0x49e364=_0x445966;this[_0x49e364(0x268)]-=0x1,this[_0x49e364(0x19c)][_0x49e364(0x36e)](this['_waitCount']);}},exports[_0x445966(0x239)]=gn([xe(0x0,a[_0x445966(0x2cb)](q[_0x445966(0x47d)])),xe(0x1,a[_0x445966(0x4df)]),xe(0x2,a['Inject'](a[_0x445966(0x1f7)]))],exports[_0x445966(0x239)]);var Rn=Object[_0x445966(0x2b5)],On=(_0x2b72c2,_0x45f15c,_0x3e6a58,_0xff12b9)=>{var _0x554477=_0x445966;for(var _0x18591d=_0xff12b9>0x1?void 0x0:_0xff12b9?Rn(_0x45f15c,_0x3e6a58):_0x45f15c,_0x1ad141=_0x2b72c2[_0x554477(0x2a6)]-0x1,_0x129826;_0x1ad141>=0x0;_0x1ad141--)(_0x129826=_0x2b72c2[_0x1ad141])&&(_0x18591d=_0x129826(_0x18591d)||_0x18591d);return _0x18591d;},_t=(_0x124f8c,_0x47fe2c)=>(_0x5caa79,_0x443a13)=>_0x47fe2c(_0x5caa79,_0x443a13,_0x124f8c);const yn=_0x445966(0x228);exports[_0x445966(0x2c1)]=class{constructor(_0x1e69dd,_0x3dc3ca){var _0x64f65=_0x445966;this[_0x64f65(0x42c)]=_0x1e69dd,this[_0x64f65(0x244)]=_0x3dc3ca;}[_0x445966(0x3f5)](){var _0x168027=_0x445966,_0xb6be89,_0x325e8c;const _0x4e7556=this[_0x168027(0x42c)][_0x168027(0x29a)](Ge),_0x1f0763=this[_0x168027(0x42c)][_0x168027(0x29a)](Y);return(_0x325e8c=(_0xb6be89=_0x1f0763==null?void 0x0:_0x1f0763[_0x168027(0x4fe)])!=null?_0xb6be89:_0x4e7556)!=null?_0x325e8c:yn;}async[_0x445966(0x4b5)](_0xbda218){var _0x38be37=_0x445966;const _0x460fb1=this[_0x38be37(0x3f5)]()+'/collaborator';return{'list':[{'title':_0x38be37(0x213),'mentions':(await this[_0x38be37(0x244)][_0x38be37(0x4b2)](_0x460fb1,{'params':{'objectID':_0xbda218[_0x38be37(0x3fd)],'unitID':_0xbda218[_0x38be37(0x3fd)]}}))[_0x38be37(0x352)][_0x38be37(0x3d1)][_0x38be37(0x308)](_0x1b2647=>({'objectId':_0x1b2647['id'],'name':_0x1b2647[_0x38be37(0x2fd)][_0x38be37(0x493)],'metadata':{'icon':_0x1b2647['subject']['avatar']},'label':_0x1b2647['subject'][_0x38be37(0x493)],'objectType':a[_0x38be37(0x204)]['PERSON']})),'metadata':{},'type':a[_0x38be37(0x204)][_0x38be37(0x28c)]}]};}},exports[_0x445966(0x2c1)]=On([_t(0x0,a[_0x445966(0x2cb)](a[_0x445966(0x4df)])),_t(0x1,a[_0x445966(0x2cb)](q[_0x445966(0x47d)]))],exports[_0x445966(0x2c1)]);var Nn=Object[_0x445966(0x2b5)],Un=(_0x17096e,_0x19999a,_0x2046ad,_0x5e0bc3)=>{for(var _0x4f0dcd=_0x5e0bc3>0x1?void 0x0:_0x5e0bc3?Nn(_0x19999a,_0x2046ad):_0x19999a,_0x542062=_0x17096e['length']-0x1,_0x5ac4b1;_0x542062>=0x0;_0x542062--)(_0x5ac4b1=_0x17096e[_0x542062])&&(_0x4f0dcd=_0x5ac4b1(_0x4f0dcd)||_0x4f0dcd);return _0x4f0dcd;},ue=(_0x1d5479,_0x3056c5)=>(_0x2d3206,_0x49e38b)=>_0x3056c5(_0x2d3206,_0x49e38b,_0x1d5479);let Ue=class extends a['RxDisposable']{constructor(_0x38b91d,_0x1d8cdd,_0x2c8563,_0x2ce7b9,_0x474618){var _0x2c7c73=_0x445966;super(),this[_0x2c7c73(0x3b4)]=_0x38b91d,this['_univerInstanceService']=_0x1d8cdd,this[_0x2c7c73(0x38a)]=_0x2c8563,this[_0x2c7c73(0x2fe)]=_0x2ce7b9,this[_0x2c7c73(0x19b)]=_0x474618,this[_0x2c7c73(0x361)](),this[_0x2c7c73(0x445)]();}[_0x445966(0x445)](){var _0x25c93c=_0x445966;const _0x452c88=async _0x80026b=>{var _0x1cd89d=_0x1614;(await this[_0x1cd89d(0x2fe)]['requireSession'](_0x80026b))[_0x1cd89d(0x4cf)][_0x1cd89d(0x3d0)](V[_0x1cd89d(0x3d8)](_0x56f05f=>_0x56f05f['eventID']===g[_0x1cd89d(0x3a3)][_0x1cd89d(0x3bc)]),V['takeUntil'](this[_0x1cd89d(0x2a5)]))[_0x1cd89d(0x1e8)](_0x18f3fc=>{var _0x1fedca=_0x1cd89d;const _0x32440a=_0x18f3fc,{reason:_0x30a54e}=_0x32440a[_0x1fedca(0x3a5)];this[_0x1fedca(0x19b)][_0x1fedca(0x2d2)]({'id':Q['CLOSE_ROOM'],'data':_0x30a54e}),this['_permissionService'][_0x1fedca(0x1ef)](new Z[(_0x1fedca(0x25e))](_0x80026b)['id'],!0x1),this['_collaborationSessionService'][_0x1fedca(0x2e5)](_0x80026b);});};j[_0x25c93c(0x1af)](this['_univerInstanceService'][_0x25c93c(0x1dd)](a[_0x25c93c(0x481)][_0x25c93c(0x480)]),this[_0x25c93c(0x4a9)]['getTypeOfUnitAdded$'](a[_0x25c93c(0x481)][_0x25c93c(0x2f0)]))[_0x25c93c(0x3d0)](V[_0x25c93c(0x308)](_0x50d8f7=>_0x50d8f7[_0x25c93c(0x487)]()),V[_0x25c93c(0x3d8)](_0x2ac049=>!a[_0x25c93c(0x2e9)](_0x2ac049)),V['takeUntil'](this[_0x25c93c(0x2a5)]))[_0x25c93c(0x1e8)](_0x47d5d6=>{_0x452c88(_0x47d5d6);});}[_0x445966(0x361)](){var _0x405971=_0x445966;const _0x17933b=async _0x3d0a94=>{var _0xcb94df=_0x1614;const _0x473891=await this[_0xcb94df(0x2fe)][_0xcb94df(0x21f)](_0x3d0a94),_0x350f04=this['_injector']['get'](Z[_0xcb94df(0x2c9)]);_0x473891[_0xcb94df(0x4cf)]['pipe'](V['filter'](_0x401405=>_0x401405['eventID']===g[_0xcb94df(0x3a3)][_0xcb94df(0x3c3)]),V[_0xcb94df(0x299)](this[_0xcb94df(0x2a5)]))[_0xcb94df(0x1e8)](_0x1ff1e1=>{var _0x306948=_0xcb94df;const _0x12e677=_0x1ff1e1,{objectId:_0x22267b}=_0x12e677[_0x306948(0x3a5)];_0x22267b===_0x3d0a94?_0x350f04['initWorkbookPermissionChange'](_0x3d0a94):_0x350f04[_0x306948(0x42e)](_0x3d0a94,_0x22267b);});};j[_0x405971(0x1af)](this[_0x405971(0x4a9)][_0x405971(0x1dd)](a['UniverInstanceType'][_0x405971(0x480)]))[_0x405971(0x3d0)](V[_0x405971(0x308)](_0x443888=>_0x443888['getUnitId']()),V[_0x405971(0x3d8)](_0x266340=>!a['isInternalEditorID'](_0x266340)),V[_0x405971(0x299)](this['dispose$']))[_0x405971(0x1e8)](_0x228e98=>{_0x17933b(_0x228e98);});}};Ue=Un([ue(0x0,a[_0x445966(0x2cb)](a[_0x445966(0x35b)])),ue(0x1,a[_0x445966(0x1f7)]),ue(0x2,a[_0x445966(0x2f8)]),ue(0x3,a[_0x445966(0x2cb)](exports[_0x445966(0x1e5)])),ue(0x4,a['Inject'](te))],Ue);var Dn=Object[_0x445966(0x2b5)],An=(_0x29ea75,_0x208b8b,_0x3048f2,_0x21f387)=>{var _0x3735e8=_0x445966;for(var _0x5802c6=_0x21f387>0x1?void 0x0:_0x21f387?Dn(_0x208b8b,_0x3048f2):_0x208b8b,_0x232c86=_0x29ea75[_0x3735e8(0x2a6)]-0x1,_0x48c4a1;_0x232c86>=0x0;_0x232c86--)(_0x48c4a1=_0x29ea75[_0x232c86])&&(_0x5802c6=_0x48c4a1(_0x5802c6)||_0x5802c6);return _0x5802c6;},lt=(_0x562b01,_0x13d66d)=>(_0x4257d1,_0x503707)=>_0x13d66d(_0x4257d1,_0x503707,_0x562b01);exports[_0x445966(0x46a)]=class{constructor(_0x4152a2,_0x518fb0){var _0x12d2c9=_0x445966;this[_0x12d2c9(0x42c)]=_0x4152a2,this[_0x12d2c9(0x194)]=_0x518fb0;}async[_0x445966(0x440)](_0x35b0e1,_0x3df820){var _0x21ad71=_0x445966,_0x10dae3;const {unitID:_0x109c03,type:_0x4cb269,revision:_0x4cd0a9=0x0}=_0x3df820,_0xca1e49=this[_0x21ad71(0x3c1)]()+'/'+_0x4cb269+_0x21ad71(0x3b2)+_0x109c03+_0x21ad71(0x1b5)+_0x4cd0a9,_0x34d244=(await this[_0x21ad71(0x194)][_0x21ad71(0x4b2)](_0xca1e49))[_0x21ad71(0x352)],_0x315fec=(_0x10dae3=_0x34d244[_0x21ad71(0x35a)])==null?void 0x0:_0x10dae3['workbook'];if(_0x315fec){const _0x1bba01=_0x315fec==null?void 0x0:_0x315fec[_0x21ad71(0x1e6)],_0xbdc00f=g[_0x21ad71(0x31a)][_0x21ad71(0x24e)](g[_0x21ad71(0x2ef)](_0x1bba01));_0x315fec[_0x21ad71(0x1e6)]=_0xbdc00f,Object[_0x21ad71(0x21d)](_0x315fec['sheets'])[_0x21ad71(0x329)](([,_0x3b11e2])=>{var _0x57fce6=_0x21ad71;const _0x4912ad=_0x3b11e2['originalMeta'],_0x27acbf=g['textEncoder'][_0x57fce6(0x24e)](g['b64DecodeUnicode'](_0x4912ad));_0x3b11e2[_0x57fce6(0x1e6)]=_0x27acbf;});}return _0x34d244;}async['getSheetBlock'](_0x2363ec,_0xfd6545){var _0x58dabc=_0x445966;const {unitID:_0x4c012a,type:_0x43fea5,blockID:_0x24e7d0}=_0xfd6545,_0x4d5f2e=this[_0x58dabc(0x232)]()+'/'+_0x43fea5+'/unit/'+_0x4c012a+_0x58dabc(0x2ac)+_0x24e7d0;return(await this[_0x58dabc(0x194)][_0x58dabc(0x4b2)](_0x4d5f2e))['body'];}async['getDeserializedSheetBlock'](_0x2d2122,_0x5e5f25){var _0x4bb58b=_0x445966;const {unitID:_0x645ac4,type:_0x1e5238,blockID:_0x274a61}=_0x5e5f25,_0x64e597=this[_0x4bb58b(0x232)]()+_0x4bb58b(0x2ac)+_0x1e5238+_0x4bb58b(0x3b2)+_0x645ac4+_0x4bb58b(0x2ac)+_0x274a61;return(await this[_0x4bb58b(0x194)][_0x4bb58b(0x4b2)](_0x64e597))['body'];}async[_0x445966(0x335)](_0x7b0901,_0x11e751){var _0x5e7b35=_0x445966;const {unitID:_0x482851,type:_0x190658,from:_0x59344c,to:_0x198070}=_0x11e751,_0x16579c=this[_0x5e7b35(0x232)]()+'/'+_0x190658+_0x5e7b35(0x3b2)+_0x482851+_0x5e7b35(0x45d)+_0x59344c+_0x5e7b35(0x269)+_0x198070;return(await this[_0x5e7b35(0x194)]['get'](_0x16579c))[_0x5e7b35(0x352)];}[_0x445966(0x3c1)](){var _0x4a0202=_0x445966,_0x4d722f;return(_0x4d722f=this['_configService']['getConfig'](vt))!=null?_0x4d722f:this[_0x4a0202(0x232)]();}[_0x445966(0x232)](){var _0x5ac73b=_0x445966,_0x43a2c2,_0x5da35f;const _0x2ec971=this[_0x5ac73b(0x42c)]['getConfig'](dt),_0x14676d=this[_0x5ac73b(0x42c)][_0x5ac73b(0x29a)](Y);return(_0x5da35f=(_0x43a2c2=_0x14676d==null?void 0x0:_0x14676d[_0x5ac73b(0x35f)])!=null?_0x43a2c2:_0x2ec971)!=null?_0x5da35f:kt;}async[_0x445966(0x4a4)](_0x4b8177,_0x3c6cde){var _0x269193=_0x445966;const _0x1f839e=_0x269193(0x30a)+_0x3c6cde[_0x269193(0x1b1)]+_0x269193(0x3b2)+_0x3c6cde['unitID']+_0x269193(0x18c);return(await this[_0x269193(0x194)][_0x269193(0x4b2)](_0x1f839e,{'params':{'resourceId':JSON[_0x269193(0x438)](_0x3c6cde[_0x269193(0x1c5)])}}))[_0x269193(0x352)];}[_0x445966(0x191)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x35bb05=_0x445966;throw new Error(_0x35bb05(0x488));}[_0x445966(0x351)](){var _0xb9ac06=_0x445966;throw new Error(_0xb9ac06(0x488));}[_0x445966(0x4ae)](){var _0x56d420=_0x445966;throw new Error(_0x56d420(0x488));}[_0x445966(0x2f3)](){var _0x218fc5=_0x445966;throw new Error(_0x218fc5(0x488));}},exports['SnapshotServerOverHTTPService']=An([lt(0x0,a[_0x445966(0x4df)]),lt(0x1,a[_0x445966(0x2cb)](q['HTTPService']))],exports[_0x445966(0x46a)]);var Pn=Object[_0x445966(0x2b5)],wn=(_0x2e5e3e,_0x1e980c,_0x320ff6,_0x14b52d)=>{var _0x50a51e=_0x445966;for(var _0x3d4fce=_0x14b52d>0x1?void 0x0:_0x14b52d?Pn(_0x1e980c,_0x320ff6):_0x1e980c,_0x3dd36e=_0x2e5e3e[_0x50a51e(0x2a6)]-0x1,_0x14abce;_0x3dd36e>=0x0;_0x3dd36e--)(_0x14abce=_0x2e5e3e[_0x3dd36e])&&(_0x3d4fce=_0x14abce(_0x3d4fce)||_0x3d4fce);return _0x3d4fce;},de=(_0x27f88a,_0xac35b0)=>(_0x1f7a66,_0x183174)=>_0xac35b0(_0x1f7a66,_0x183174,_0x27f88a);exports[_0x445966(0x2a0)]=class extends a[_0x445966(0x33c)]{constructor(_0x488a6d,_0x91f3da,_0x2dae18,_0x1ccdac,_0x540087){var _0xe483f0=_0x445966;super(_0x488a6d,_0x91f3da,_0x2dae18),this['_transformService']=_0x1ccdac,this[_0xe483f0(0x2b0)]=_0x540087;}[_0x445966(0x2d6)](_0x1adfef,_0x4da9a2){var _0x2570c0=_0x445966;const _0x59a19e=this[_0x2570c0(0x296)](_0x1adfef);if(_0x59a19e)try{const _0x41d762=this['_transformStack'](_0x59a19e,_0x4da9a2);this['_substituteUndoStack'](_0x1adfef,_0x41d762);}catch(_0x25c703){this[_0x2570c0(0x2b0)][_0x2570c0(0x31f)](_0x2570c0(0x2f4),_0x25c703),this[_0x2570c0(0x377)](_0x1adfef);}const _0x49cd1c=this[_0x2570c0(0x4cb)](_0x1adfef);if(_0x49cd1c)try{const _0x28cdd4=this['_transformStack'](_0x49cd1c,_0x4da9a2);this[_0x2570c0(0x497)](_0x1adfef,_0x28cdd4);}catch(_0x29df84){this[_0x2570c0(0x2b0)]['error'](_0x29df84),this['_clearRedo'](_0x1adfef);}}[_0x445966(0x377)](_0x5d29ea){var _0x25e05e=_0x445966;const _0x4ad69e=this[_0x25e05e(0x296)](_0x5d29ea);_0x4ad69e&&(_0x4ad69e[_0x25e05e(0x2a6)]=0x0,this[_0x25e05e(0x37b)]());}[_0x445966(0x265)](_0x12233a){var _0x4de617=_0x445966;const _0x5a2ef3=this[_0x4de617(0x4cb)](_0x12233a);_0x5a2ef3&&(_0x5a2ef3[_0x4de617(0x2a6)]=0x0,this['_updateStatus']());}[_0x445966(0x3f4)](_0x39ce23,_0x1ed7b9){var _0x5dced3=_0x445966;this[_0x5dced3(0x313)]['set'](_0x39ce23,_0x1ed7b9),this[_0x5dced3(0x37b)]();}[_0x445966(0x497)](_0x1ab006,_0x15689e){var _0x2e94ca=_0x445966;this['_redoStacks'][_0x2e94ca(0x424)](_0x1ab006,_0x15689e),this[_0x2e94ca(0x37b)]();}[_0x445966(0x24d)](_0x549805,_0x18f9e8){var _0x660e7a=_0x445966;const _0xb54026=[];let _0x26ce4f=_0x18f9e8,_0x2522c6=_0x18f9e8;for(let _0x59110c=_0x549805[_0x660e7a(0x2a6)]-0x1;_0x59110c>=0x0;_0x59110c--){const {unitID:_0x582346,undoMutations:_0x2da206,redoMutations:_0x5eca90}=_0x549805[_0x59110c],_0x5be3cb=this[_0x660e7a(0x2ca)][_0x660e7a(0x41d)](_0x26ce4f,_0x2da206),_0x187560=this[_0x660e7a(0x2ca)][_0x660e7a(0x41d)](_0x2522c6,_0x5eca90);if(g[_0x660e7a(0x221)](_0x5be3cb)||g['isTransformMutationsWithChangesetFailure'](_0x187560)){this['_logService']['error'](_0x660e7a(0x2f4),_0x660e7a(0x1cb),_0x5be3cb,_0x187560);break;}_0x26ce4f=_0x5be3cb[_0x660e7a(0x289)],_0x2522c6=_0x187560[_0x660e7a(0x289)],_0xb54026[_0x660e7a(0x32f)]({'unitID':_0x582346,'undoMutations':_0x5be3cb[_0x660e7a(0x339)],'redoMutations':_0x187560['m2Prime']});}return _0xb54026[_0x660e7a(0x389)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x445966(0x1f7)]),de(0x1,a[_0x445966(0x3de)]),de(0x2,a[_0x445966(0x3fe)]),de(0x3,g['ITransformService']),de(0x4,a[_0x445966(0x42a)])],exports['CollaborativeUndoRedoService']);var Ln=Object[_0x445966(0x25d)],Mn=Object[_0x445966(0x2b5)],xn=(_0x4ef901,_0x153de3,_0x188b2b)=>_0x153de3 in _0x4ef901?Ln(_0x4ef901,_0x153de3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x188b2b}):_0x4ef901[_0x153de3]=_0x188b2b,kn=(_0x1eaa6e,_0x44ff2a,_0x32119f,_0x5324b6)=>{var _0x2be6f1=_0x445966;for(var _0x75b56a=_0x5324b6>0x1?void 0x0:_0x5324b6?Mn(_0x44ff2a,_0x32119f):_0x44ff2a,_0x105b59=_0x1eaa6e[_0x2be6f1(0x2a6)]-0x1,_0x45b10a;_0x105b59>=0x0;_0x105b59--)(_0x45b10a=_0x1eaa6e[_0x105b59])&&(_0x75b56a=_0x45b10a(_0x75b56a)||_0x75b56a);return _0x75b56a;},ke=(_0x14b494,_0x4826b2)=>(_0x86ef83,_0x3f7c4d)=>_0x4826b2(_0x86ef83,_0x3f7c4d,_0x14b494),Hn=(_0x5311f2,_0x12e77a,_0x42c4fd)=>xn(_0x5311f2,_0x12e77a+'',_0x42c4fd);const jn=_0x445966(0x2a9);exports[_0x445966(0x3ea)]=class extends a[_0x445966(0x3bd)]{constructor(_0x9d4107,_0x3e99fd,_0x19a9d0,_0x47e161){var _0x379bdb=_0x445966;super(),A(this,_0x379bdb(0x2dc)),(this[_0x379bdb(0x2b0)]=_0x3e99fd,this[_0x379bdb(0x3b4)]=_0x19a9d0,this[_0x379bdb(0x42c)]=_0x47e161);const {..._0x1f37f6}=a[_0x379bdb(0x1af)]({},Jt,_0x9d4107);if(!_0x1f37f6[_0x379bdb(0x19d)])throw new Error(_0x379bdb(0x2a2));this['_config']=_0x1f37f6,this[_0x379bdb(0x42c)][_0x379bdb(0x1d4)](Y,_0x1f37f6);}[_0x445966(0x2ce)](){var _0x1a78b0=_0x445966;this[_0x1a78b0(0x4dc)](),this[_0x1a78b0(0x1c9)]();}[_0x445966(0x4dc)](){var _0x2c066f=_0x445966,_0x23ba21,_0x48edba;this[_0x2c066f(0x3b4)][_0x2c066f(0x279)](a[_0x2c066f(0x452)])&&this['_logService'][_0x2c066f(0x31f)](_0x2c066f(0x340),_0x2c066f(0x2fc));const _0x4ec3ca=a[_0x2c066f(0x184)]([[a[_0x2c066f(0x452)],{'useClass':exports[_0x2c066f(0x2a0)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x2c066f(0x2cc)]],[ye],[Ne],[Be],[Ue],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x2c066f(0x2dc)]['socketService']}],[g[_0x2c066f(0x344)],{'useClass':exports[_0x2c066f(0x46a)]}],[a[_0x2c066f(0x280)],{'useClass':exports[_0x2c066f(0x28b)]}],[J[_0x2c066f(0x254)],{'useClass':exports[_0x2c066f(0x239)]}],[a[_0x2c066f(0x2c8)],{'useClass':exports[_0x2c066f(0x2c1)]}],[exports['CollaborationController']],[He]],(_0x23ba21=this['_config'])==null?void 0x0:_0x23ba21[_0x2c066f(0x2df)]);if(!((_0x48edba=this[_0x2c066f(0x2dc)])!=null&&_0x48edba[_0x2c066f(0x465)])){const _0x2c93e8=_0x4ec3ca[_0x2c066f(0x359)](([_0x361159])=>_0x361159===ve);_0x2c93e8!==-0x1&&_0x4ec3ca[_0x2c066f(0x2ee)](_0x2c93e8,0x1);}a['registerDependencies'](this[_0x2c066f(0x3b4)],_0x4ec3ca);}[_0x445966(0x1c9)](){var _0x35715b=_0x445966,_0x529bd9,_0x3741e9,_0x16bbdb;this[_0x35715b(0x3b4)][_0x35715b(0x4b2)](q[_0x35715b(0x47d)])[_0x35715b(0x22f)]({'priority':0x14,'interceptor':q[_0x35715b(0x49d)]({'maxParallel':0x6})}),(_0x529bd9=this[_0x35715b(0x2dc)])!=null&&_0x529bd9[_0x35715b(0x281)]||(_0x3741e9=this[_0x35715b(0x3b4)]['get'](z,a[_0x35715b(0x25a)][_0x35715b(0x4a2)]))==null||_0x3741e9[_0x35715b(0x36b)](),(_0x16bbdb=this[_0x35715b(0x2dc)])!=null&&_0x16bbdb[_0x35715b(0x37c)]&&a['touchDependencies'](this['_injector'],[[ye]]),a[_0x35715b(0x392)](this[_0x35715b(0x3b4)],[[Ne],[exports[_0x35715b(0x252)]],[Ue]]);}},Hn(exports['UniverCollaborationClientPlugin'],'pluginName',jn),exports[_0x445966(0x3ea)]=kn([a['DependentOn'](g[_0x445966(0x3fc)],q[_0x445966(0x2fa)]),ke(0x1,a[_0x445966(0x42a)]),ke(0x2,a[_0x445966(0x2cb)](a[_0x445966(0x35b)])),ke(0x3,a['IConfigService'])],exports[_0x445966(0x3ea)]),exports[_0x445966(0x4be)]=Ge,exports[_0x445966(0x3c5)]=Y,exports[_0x445966(0x489)]=mt,exports[_0x445966(0x41f)]=St,exports[_0x445966(0x1c6)]=Ve,exports[_0x445966(0x2cf)]=Q,exports[_0x445966(0x1d6)]=te,exports[_0x445966(0x474)]=Be,exports[_0x445966(0x496)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x445966(0x2b7)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x445966(0x2fb)]=je,exports[_0x445966(0x1a6)]=$e,exports[_0x445966(0x416)]=z,exports[_0x445966(0x2a4)]=bt,exports[_0x445966(0x4ce)]=ve,exports[_0x445966(0x43b)]=Gt,exports[_0x445966(0x1e1)]=Wt,exports['LOGIN_URL_KEY']=Et,exports[_0x445966(0x277)]=qt,exports[_0x445966(0x407)]=It,exports[_0x445966(0x26a)]=Ht,exports[_0x445966(0x1a2)]=dt,exports[_0x445966(0x210)]=vt,exports['SessionStatus']=se,exports[_0x445966(0x4cc)]=Fe,exports[_0x445966(0x3e1)]=Rt,exports[_0x445966(0x390)]=vi,exports['serializeCombRequest']=Ot;
|
1
|
+
'use strict';var _0x4877c9=_0x38be;(function(_0x1abd8c,_0x3564ed){var _0x2bcfa1=_0x38be,_0x5a48db=_0x1abd8c();while(!![]){try{var _0x17b20b=parseInt(_0x2bcfa1(0x35f))/0x1*(-parseInt(_0x2bcfa1(0x25e))/0x2)+parseInt(_0x2bcfa1(0x396))/0x3+parseInt(_0x2bcfa1(0x417))/0x4+-parseInt(_0x2bcfa1(0x11b))/0x5+parseInt(_0x2bcfa1(0x158))/0x6*(parseInt(_0x2bcfa1(0x1d1))/0x7)+-parseInt(_0x2bcfa1(0x13a))/0x8+-parseInt(_0x2bcfa1(0x425))/0x9*(-parseInt(_0x2bcfa1(0x295))/0xa);if(_0x17b20b===_0x3564ed)break;else _0x5a48db['push'](_0x5a48db['shift']());}catch(_0x52d552){_0x5a48db['push'](_0x5a48db['shift']());}}}(_0x3686,0x2cd8e));var wt=Object['defineProperty'],Lt=(_0x1ffe4f,_0x1dcec1,_0x109291)=>_0x1dcec1 in _0x1ffe4f?wt(_0x1ffe4f,_0x1dcec1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x109291}):_0x1ffe4f[_0x1dcec1]=_0x109291,A=(_0x3d8287,_0x24c44b,_0x5a5ba9)=>Lt(_0x3d8287,typeof _0x24c44b!=_0x4877c9(0x355)?_0x24c44b+'':_0x24c44b,_0x5a5ba9);Object['defineProperty'](exports,Symbol[_0x4877c9(0x329)],{'value':'Module'});const a=require('@univerjs/core'),j=require('rxjs'),V=require('rxjs/operators'),g=require(_0x4877c9(0x3bd)),q=require('@univerjs/network'),Mt=require(_0x4877c9(0x36a)),ut=require(_0x4877c9(0x297)),Z=require('@univerjs/sheets'),J=require('@univerjs/drawing'),xt=require(_0x4877c9(0x30f)),dt=_0x4877c9(0x2d9),kt=_0x4877c9(0x2e1),vt='SNAPSHOT_URL_KEY',Ht=_0x4877c9(0x33d),jt=0x7d0,St=_0x4877c9(0x480),ft=_0x4877c9(0x2fc),$t=_0x4877c9(0x474),pt=_0x4877c9(0x2a7),Bt=0x7530,je=_0x4877c9(0x23c),gt=0x4e20,Ft=0x4e20,It=_0x4877c9(0x2e9),Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x4877c9(0x235),Kt='/universer-api/comb',Et=_0x4877c9(0x307),Yt=_0x4877c9(0x30d),qt=_0x4877c9(0x45f),zt=_0x4877c9(0x3d3);var Ct=(_0x1b1442=>(_0x1b1442[_0x1b1442[_0x4877c9(0x3d7)]=0x0]=_0x4877c9(0x3d7),_0x1b1442[_0x1b1442['OK']=0x1]='OK',_0x1b1442[_0x1b1442[_0x4877c9(0x2f7)]=0x2]='INTERNAL_ERROR',_0x1b1442[_0x1b1442[_0x4877c9(0x24f)]=0x3]=_0x4877c9(0x24f),_0x1b1442[_0x1b1442[_0x4877c9(0x3ae)]=0x4]=_0x4877c9(0x3ae),_0x1b1442[_0x1b1442[_0x4877c9(0x399)]=0x5]=_0x4877c9(0x399),_0x1b1442[_0x1b1442['ALREADY_EXISTS']=0x6]=_0x4877c9(0x32b),_0x1b1442[_0x1b1442[_0x4877c9(0x320)]=0x7]=_0x4877c9(0x320),_0x1b1442[_0x1b1442[_0x4877c9(0x395)]=0x8]=_0x4877c9(0x395),_0x1b1442[_0x1b1442[_0x4877c9(0x3e0)]=0x9]=_0x4877c9(0x3e0),_0x1b1442[_0x1b1442['LOGIN_FAILED']=0xa]=_0x4877c9(0x42e),_0x1b1442[_0x1b1442[_0x4877c9(0x448)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1b1442[_0x1b1442['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4877c9(0x468),_0x1b1442[_0x1b1442[_0x4877c9(0x1de)]=0x1772]=_0x4877c9(0x1de),_0x1b1442[_0x1b1442['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4877c9(0x118),_0x1b1442[_0x1b1442[_0x4877c9(0x40a)]=0x1b59]=_0x4877c9(0x40a),_0x1b1442[_0x1b1442[_0x4877c9(0x407)]=0x1b5a]=_0x4877c9(0x407),_0x1b1442[_0x1b1442[_0x4877c9(0x1e2)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1b1442[_0x1b1442['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4877c9(0x446),_0x1b1442[_0x1b1442[_0x4877c9(0x2ee)]=0x1b5d]=_0x4877c9(0x2ee),_0x1b1442[_0x1b1442[_0x4877c9(0x28f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b1442[_0x1b1442[_0x4877c9(0x3fc)]=0x2329]=_0x4877c9(0x3fc),_0x1b1442[_0x1b1442[_0x4877c9(0x1cc)]=0x232a]=_0x4877c9(0x1cc),_0x1b1442[_0x1b1442[_0x4877c9(0x3d4)]=0x232b]=_0x4877c9(0x3d4),_0x1b1442[_0x1b1442[_0x4877c9(0x1c9)]=0x232c]=_0x4877c9(0x1c9),_0x1b1442[_0x1b1442[_0x4877c9(0x2d8)]=0x232d]=_0x4877c9(0x2d8),_0x1b1442[_0x1b1442[_0x4877c9(0x310)]=0x2711]=_0x4877c9(0x310),_0x1b1442[_0x1b1442[_0x4877c9(0x17e)]=0x2712]=_0x4877c9(0x17e),_0x1b1442[_0x1b1442[_0x4877c9(0x3b8)]=0x2713]=_0x4877c9(0x3b8),_0x1b1442[_0x1b1442['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4877c9(0x168),_0x1b1442[_0x1b1442[_0x4877c9(0x143)]=0x271a]=_0x4877c9(0x143),_0x1b1442[_0x1b1442[_0x4877c9(0x2f3)]=0x271b]=_0x4877c9(0x2f3),_0x1b1442[_0x1b1442[_0x4877c9(0x1ed)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1b1442[_0x1b1442[_0x4877c9(0x392)]=0x271d]=_0x4877c9(0x392),_0x1b1442[_0x1b1442['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4877c9(0x305),_0x1b1442[_0x1b1442[_0x4877c9(0x190)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1b1442[_0x1b1442['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4877c9(0x464),_0x1b1442[_0x1b1442['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1b1442[_0x1b1442['INVALID_INVITE_CODE']=0x2ee2]=_0x4877c9(0x255),_0x1b1442[_0x1b1442['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4877c9(0x3b5),_0x1b1442[_0x1b1442['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1b1442[_0x1b1442[_0x4877c9(0x148)]=0x2ee5]=_0x4877c9(0x148),_0x1b1442[_0x1b1442['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4877c9(0x29e),_0x1b1442[_0x1b1442[_0x4877c9(0x197)]=0x32ca]=_0x4877c9(0x197),_0x1b1442[_0x1b1442[_0x4877c9(0x389)]=0x32cb]=_0x4877c9(0x389),_0x1b1442[_0x1b1442[_0x4877c9(0x337)]=-0x1]=_0x4877c9(0x337),_0x1b1442))(Ct||{}),X=(_0x34bd9e=>(_0x34bd9e[_0x34bd9e[_0x4877c9(0x188)]=0x0]=_0x4877c9(0x188),_0x34bd9e[_0x34bd9e['UNIVER_DOC']=0x1]=_0x4877c9(0x29f),_0x34bd9e[_0x34bd9e[_0x4877c9(0x40d)]=0x2]=_0x4877c9(0x40d),_0x34bd9e[_0x34bd9e['UNIVER_SLIDE']=0x3]=_0x4877c9(0x240),_0x34bd9e[_0x34bd9e[_0x4877c9(0x354)]=0x4]=_0x4877c9(0x354),_0x34bd9e[_0x34bd9e[_0x4877c9(0x337)]=-0x1]=_0x4877c9(0x337),_0x34bd9e))(X||{}),W=(_0x303749=>(_0x303749[_0x303749[_0x4877c9(0x253)]=0x0]=_0x4877c9(0x253),_0x303749[_0x303749[_0x4877c9(0x319)]=0x1]=_0x4877c9(0x319),_0x303749[_0x303749[_0x4877c9(0x366)]=0x2]=_0x4877c9(0x366),_0x303749[_0x303749[_0x4877c9(0x3fa)]=0x3]=_0x4877c9(0x3fa),_0x303749[_0x303749[_0x4877c9(0x43a)]=0x4]='INGEST',_0x303749[_0x303749[_0x4877c9(0x147)]=0x5]=_0x4877c9(0x147),_0x303749[_0x303749['RECV']=0x6]='RECV',_0x303749[_0x303749['UNRECOGNIZED']=-0x1]=_0x4877c9(0x337),_0x303749))(W||{}),ae=(_0x1b4a85=>(_0x1b4a85[_0x1b4a85[_0x4877c9(0x2fe)]=0x0]=_0x4877c9(0x2fe),_0x1b4a85[_0x1b4a85['OK']=0x1]='OK',_0x1b4a85[_0x1b4a85[_0x4877c9(0x250)]=0x2]=_0x4877c9(0x250),_0x1b4a85[_0x1b4a85[_0x4877c9(0x176)]=0x3e9]=_0x4877c9(0x176),_0x1b4a85[_0x1b4a85[_0x4877c9(0x175)]=0x3ea]=_0x4877c9(0x175),_0x1b4a85[_0x1b4a85[_0x4877c9(0x46e)]=0x3eb]=_0x4877c9(0x46e),_0x1b4a85[_0x1b4a85[_0x4877c9(0x3a2)]=0x3ec]=_0x4877c9(0x3a2),_0x1b4a85[_0x1b4a85['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1b4a85))(ae||{}),Tt=(_0x1513cd=>(_0x1513cd[_0x1513cd['Undefined']=0x0]='Undefined',_0x1513cd[_0x1513cd[_0x4877c9(0x193)]=0x1]=_0x4877c9(0x193),_0x1513cd[_0x1513cd[_0x4877c9(0x421)]=0x2]='HttpExport',_0x1513cd[_0x1513cd[_0x4877c9(0x2b0)]=0x3]=_0x4877c9(0x2b0),_0x1513cd[_0x1513cd[_0x4877c9(0x15d)]=0x4]='UnitSnapshot',_0x1513cd[_0x1513cd['UserProfileImg']=0x5]=_0x4877c9(0x462),_0x1513cd[_0x1513cd[_0x4877c9(0x337)]=-0x1]=_0x4877c9(0x337),_0x1513cd))(Tt||{});const Y=_0x4877c9(0x3bf),Jt={};function _0x3686(){var _0x175f97=['[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','AwaitingWithPendingState','sessionStatus$','_fetchMissChangesets','YUUMI_ASYNCIO_CANCELLED','requireSession','_getUndoStack','leaveEvent','INTERNAL_ERROR','entityInit$','localeService','pad','ImageSourceType','ws://127.0.0.1:8000/universer-api/comb/connect','unsubscribe','UNKNOWN_CODE','IUniverInstanceService','delay','BufferedBlockAlgorithm','$super','/allowed','_cipher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_parse','LOGIN_URL_KEY','_transformUndoredo','_listenToNetworkCondition','ISnapshotServerService','_sendHeartbeat','DEFAULT_WS_SESSION_TICKET_URL','/universer-api/oidc/authpage','_httpService','@univerjs-pro/license','YUUMI_UNABLE_LOAD_URL','_clearUndo','SUBMIT_CHANGESET','isPermissionRej','substr','getCollabEntity','firstValueFrom','onTransformState','copyFileMeta','HELLO','getValue','appendMutation','editingUnit','_instanceService','IContextService','USERS_ENTER','INVALID_ARGUMENT','NoPadding','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','image/bmp','POST','snapshotServerUrl','duration','newCsEvent','find','toStringTag','slice','ALREADY_EXISTS','PendingState','textRanges','then','_emitMembers','commentUpdateEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_shouldReportTelemetry','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','PERSON','getSnapshotAPIPath','UNRECOGNIZED','list','_iKey','deepClone','[CollaborationUndoRedoService]','/-/object/-/batch_allowed','SEND_CHANGESET_TIMEOUT','INetworkConditionService','keySize','_initCloseConn','_socketService','createCollaborator','clamp','createEncryptor','_joinRoom','_sheetTransformSelectionsService','onTransformRemoteChangesetByStateCache','forEach','LocaleService','_decreaseWaiting','SetSelectionsOperation','SheetTransformSelectionsService','mapDocumentTypeToUniverType','createDecryptor','_undoRedoService','Rectangle','session.room-permission-denied','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','univer-pro.collaboration-client.single-active-unit-service','UNIVER_PROJECT','symbol','_toggleOnline','transformUndoRedo','isTransformMutationsWithChangesetSuccess','_clearScheduledTask','onRemoteRej','from','_data','Cipher','_revisionService','1YcNSJN','registerDependencies','actions','_collabSessionService','sigBytes','_getLoginPath','members','JOIN','reconnect','_tryEnsureSocket','IMentionIOService','@univerjs/telemetry','_getCurrentRevision','getMemberID','JOIN_ROOM_FAILED','\x0aCurrent:\x20','_key','getUnit','_retryCount','[OfflineState]:\x20received\x20changeset.','_getSendChangesetTimeout','length','updateOfflineData','_snapshotService','__creator','objectActions','create','_onLocalMutation','_getRedoStack','_reverseMap','_handler','_initMergeInterceptor','_clearLocalCache','/unit/','prototype','_getCtorByUniverType','OTHER_CLIENT_EDITING','[PendingState]:\x20received\x20acknowledgement.','Inject','getCurrentSelections','RETRY_CONNECTING_MAX_COUNT_KEY','target','EMAIL_HAS_BEEN_BOUND','indexOf','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','AUTHZ_URL_KEY','_getUploadFileURL','fetchThroughInterceptors','avatar','RichTextEditingMutation','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','YUUMI_ALL_TABLES_IS_INVALID','LOCAL_CACHE_INTERVAL_KEY','shouldCloseConn','TOO_MANY_REQUESTS','411801CfkgjK','[CollaborationSessionService]:\x20socket\x20error','ERROR_EXCEED_SIZE','UNAUTHENTICATED','\x0aAfter:\x20','_initRequestHeader','_transformRemoteChangesetByIMECache','telemetry\x20info\x20is\x20not\x20initialized','mergeOverrideWithDependencies','_isPermissionRej','getFocusedUnit','COMPRESS_MUTATION_SEND','GLOBAL_ROOMS_CNT_EXCEEDS','EvpKDF','CollaborativeUndoRedoService','_clearRetryConnectingTimer','/object','PasswordBasedCipher','saveSheetBlock','_initDependencies','_onConnectionFailed','univer-pro.collaboration-client-socket-service','random','_sendingTimer','NOT_FOUND','requestParams','userID','finalize','_startCollaboration','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','INVITE_CODE_REQUIRED','_state','MUTATION','YUUMI_RATE_OVER_LIMIT','_memberService','downloadEndpointUrl','connection\x20error','collaboration_new_changeset','@univerjs-pro/collaboration','_onFetchMissResult','collaboration-client.config','disableLocalCache','?size=','originalMeta','[SyncedState]:\x20received\x20acknowledgement.','getAllMembers','IUndoRedoService','init','registerHTTPInterceptor','UNISCRIPT_RUN','complete','_onRemoteRetry','FETCH_MISSING','result','failed\x20to\x20apply\x20missed\x20changesets!','has','encodeURIComponent','_unitInfo$','m2Prime','[PendingState]:\x20received\x20rejection.','/universer-api/uniscript','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutationsWithChangeset','open$','UNDEFINED','clear','socketService','CollaborationImageIoService','_collaborationSessionService','onMissedChangesetFetched','enableOfflineEditing','ISocketService','map','COMPLETION_FINISHED','_candidateSocket','LIVESHARE_TERMINATE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_doCreateSocket','crypto','saveImage','_registerDependencies','UniverNetworkPlugin','toLowerCase','DEFAULT_FILE_NAME','\x20-\x20','LIVESHARE_NEW_HOST','image/jpg','StreamCipher','getRandomValues','NEW_CHANGESETS','reject','Latin1','_unlockTransition','resend','push','enableAuthServer','MemberService','_socketReady','onTransformRemoteChangesetByIMECache','LEAVE','emitEvent','LICENSE_MAX_UNITS_EXCEEDED','subUnitId','cfg','filter','max','_configService','UniverInstanceType','\x20to\x20','put','fromCollab','code','APPLY_NON_SEQUENTIAL_REVISION','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[CollaborationState]:\x20apply\x20error!','APPLY_REJECT','JOINING','_showConflictNotification','UNIVER_SHEET','origin','_waitCount','_telemetryService','removeMember','_socketMessageSubscription','MentionIoHttpService','merge','_userManagerService','take','322712rMrWSE','addHandlerCallback','CHANGESET_REJ','OpenSSL','abs','OFFLINE','_socket','InsertSheetMutation','_config','encryptBlock','HttpExport','_scheduleCompleteTimestamp','byteOffset','JSONX','1134olrfKf','AWAITING','fromCharCode','awaiting_with_pending','authzUrl','change$','resourceIDs','putCollaborators','_clearRedo','LOGIN_FAILED','dispose$','uploadFileServerUrl','_change$','pipe','memberID','_startTelemetryCollaborationNewChangeset','joinRsp','FETCH_MISS','objectID','PENDING','AwaitingState','INGEST','CollaborationSocketService','send','encode','/block/','getResourcesRequest','_rescheduleHeartbeat','_schedule','_loadDoc','Workbook','_onRemoteChangeset','ILogService','APPLY_PERMISSION_DENIED','UserManagerService','CHANGESET_REVISION_CONFILICT','LIVESHARE_FETCH_OPERATIONS','auth.needGotoLoginAlert','_clearHeartbeatTimer','joinEvent','error','changesets','MD5','title','_unitID','reqId','/object/','processBlock','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','stopTime','[CollaborationSessionService]','parse','SOCKET_FAILED','closeSession','call','_getAPIPrefix','_handlerCallback','CLOSE_ROOM','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','string','reset','UserProfileImg','_members$','PY_RUNTIME_SCRIPT_ERROR','__Key__','apply','liveShareOperation','SNAPSHOT_INVALID_SNAPSHOT','DataLoaderService','exports','Malformed\x20UTF-8\x20data','CompressMutationService','RxDisposable','JOIN_ROOM_PERMISSION_DENIED','next','state$','_replaceFileID','defineProperty','_changesetReqId','/universer-api/user/session-ticket','transformChangesets','_transformService','getUnitOnRev','_collaborationTimeoutTimer','isTransformMutationsWithChangesetFailure','onTransformSelections','c1Prime','BASE64','rng','href','headers','COLLAB_WEB_SOCKET_URL','stringify','CollaborationSession','delete','key','shareReplay','getCurrentUser','[OfflineState]:\x20received\x20acknowledgement.','SheetsSelectionsService','save\x20fail\x20reason\x20is\x20','CollaborationUIEventId','src','responseType','capture','join','getTime','fetchMissingChangesets','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_collaborationPaused','/collaborator','/universer-api/stream/file/upload','message$','x-univer-host','ENSURE_SNAPSHOT_EXECUTION','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','close','943385fUaeNu','deserializeToCombResponse','error$','state','_initUnitPermissionChange','uniscriptRunEvent','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_type','_collaborationUIEventService','_resendTimeout','_lockTransition','_snapshotServerService','setShowComponents','_redoStacks','_singleActiveUnitService','MSG_FOR_ERROR','_clearTimeoutTimer','CollaborationEntity','Hasher','online$','_doCryptBlock','_onOffline','csRejEvent','dispose','onCommentUpdate','asObservable','_onConnectionOpen','_commentUpdate$','padding','iterations','onSyncEditingCollabCursor','2904544qeGCEu','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UniverCollaborationPlugin','randomUUID','_undoStacks','now','post','FetchingMissState','Optional','YUUMI_NO_CUBOID_FOR_QUESTION','UniverCollaborationClientPlugin','reverse','isInternalEditorID','HEARTBEAT','INVITE_CODE_ALREADY_BOUND','/new_changes','Tools','_retryConnectingTimer','withCredentials','toggleOnline','commentUpdate$','_logService','ITransformService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_imageSourceCache','getLocalCacheKey','awaitingChangeset','CollaborationController','words','offline','6GYgqoZ','file','splice','isTransformChangesetsSuccess','_waitForHeartbeatResponse','UnitSnapshot','SerializableCipher','AWAITING_WITH_PENDING','_awaitingChangeset','[SyncedState]:\x20received\x20rejection.','CONFLICT','OTHER_CLIENTS_EDITING','_incrementRevisionNumber','SUBMIT_CHANGESET_TIMEOUT','every','_syncEditingCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','_init','_toggleOffline','socket\x20close','enc','_injector','COLLAB_SUBMIT_CHANGESET_URL_KEY','getMember','getSheetBlock','charCodeAt','_oKey','SOCKET_FAILED_RETRY','_resendWithTimeout','JOIN_ROOM_NOT_EXISTS','JOIN_ROOM_FULL','_keySchedule','_sender','CipherParams','_onRemoteRejected','onTransformIME','getTypeOfUnitDisposed$','_sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','session','not_collab','DisposableCollection','mutations','UPDATE_PERMISSION_OBJ','fetch_missing','_substituteRedoStack','_tryReconnect','SheetCollaborationEntity','UNIVER_UNKNOWN','HEARTBEAT_TIMEOUT_KEY','_entities','IAuthzIoService','__esModule','IPermissionService','createInstance','range','YUUMI_AI_RUN_FAILED','_createInitialStateImpl','_roomCreated$','HttpImport','_replayCachedMutations','_transformStateCache','SHA1','MOBILE_HAS_BEEN_BOUND','Injector','NO_OTHER_CLIENTS_EDITING','event$','_members','update','patch','Error\x20on\x20receiving\x20event','pluginName','_getAPIPrefixPath','_invKeySchedule','waitForRoom$','_ENC_XFORM_MODE','awaiting','_pendingMutations','sheets','_createHmacHelper','type','IConfigService','getLatestCsReqIdBySid','getUnitType','onStarting','collaborators','session.room-cnt-exceeds','decrypt','_changesetSessionId','setCurrentUser','onRemoteRetry','createSocket','_getDownloadEndpointURL','revision','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','USERS_LEAVE','\x20in\x20_schedule.','onlyLocal','salt','COMMENT_UPDATE','onSendChangeset','unitID','_socket$','pending','ceil','ITelemetryService','_timeoutTimer','toString','default','transformSelections','LIVESHARE_OPERATION','synced','extend','LICENSE_EXPORT_SIZE_EXCEEDED','CollaborationSessionService','CommandType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformSelections','startsWith','COMPRESS_MUTATION_APPLY','ImageUploadStatusType','2227127JwHMiu','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Univer','Utf8','listCollaborators','_nRounds','buffer','sendChangesetTimeout','setConfig','[CollaborationEntity]','_removeRoom','status','enableSingleActiveInstanceLock','SNAPSHOT_HAS_BEEN_REMOVED','repeat','startTime','subscribe','APPLY_REVISION_CONFILICT','selections','_createHandler','_doReset','/universer-api/authz','Decryptor','Hex','addImageSourceCache','ERROR_IMAGE','sid','action','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/-/object/list','HEARTBEAT_INTERVAL_KEY','pauseCollaboration','_onConflict','_localCacheService','ICollaborationSocketService','/universer-api/snapshot/','cmd','CollaborationEvent','getConfig','_xformMode','RECV','_hasher','image/gif','Encryptor','Failed\x20to\x20update\x20permission\x20point','conflict','unknown','permissionRejEvent','_onCombEvent','{fileID}','socket$','close$','snapshot','BlockCipher','_transformStack','get','ConflictState','_submitChangeset','_minBufferSize','b64DecodeUnicode','hasOwnProperty','location','_onRemoteACK','name','byteLength','sequenceExecute','_nDataBytes','touchDependencies','loadSheet','ICommandService','getUnitId','_status$','Base64','disposeWithMe','_process','[DataLoaderService]','&assign=','Disposable','size','_mode','_exhaustRemoteChangesetQueue','WorkbookEditablePermission','debug','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSignURL','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getInterceptPoints','_state$','createIdentifier','EmptyMutation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','localCacheService','IDLE','getImage','roles','updateCollaborator','_resendTimer','fetchMiss','DocCollaborationEntity','NOT_COLLAB','COLLAB_SUBMIT_CHANGESET_URL','parseChangesetToProtocol','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','encrypt','_append','toDisposable','_applyRemoteChangeset','HEARTBEAT_TIMEOUT','UNIVER_COLLABORATION_CLIENT_PLUGIN','hostname','_updateStatus','UNIVER_SLIDE','hasher','_transformRemoteChangesetByStateCache','_executeRemoteChangeset','_univerInstanceService','BehaviorSubject','getGlobalObject','session.room-not-exists','_updateLocalCache','_acknowledgedAwaitingChangeset','CHANGESET_ACK','WordArray','eventID','ONLINE','concatMap','PERMISSION_DENIED','FAIL','interceptor','floor','UNKNOWN_CMD','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','INVALID_INVITE_CODE','getCollabEntity$','OfflineState','_scheduleCollaborationTimeoutTimer','_commandService','body','concat','getTypeOfUnitAdded$','decryptBlock','192526uvmZQi','_commentService','collabWebSocketUrl','_HTTPService','csAckEvent','getCurrentRevOfUnit','_throwTelemetryCollaborationNewChangeset','charAt','focused$','sessionStatus','_telemetryInfo','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','_updateState','UPDATE_CURSOR','unitId','randomBytes','values','getDeserializedSheetBlock','_prevBlock','ThresholdInterceptorFactory','incrementRevOfUnit','HTTPRequest','SnapshotServerOverHTTPService','loadOfflineData','bind','min','_createHelper','AuthzIoHttpService','updatePermissionPoint','socket\x20open.','parseProtocolChangeset','_sessions','[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.','_onUserLeave','algo','kdf','SyncedState','override','c2Prime','AES','SnapshotService','msCrypto','blockSize','toggleOffline','routeKey','DependentOn','SEND_CHANGESET_TIMEOUT_KEY','CONNECTOR_DATA_TOO_LARGE','deleteCollaborator','_createSocket','catch','takeUntil','transformStack\x20failed!','23460DAlbLw','ciphertext','@univerjs/docs','CHANGESET_SHOULD_RETRY','_localeService','_checkMissing','updateCursorEvent','_hash','_iv','WECHAT_HAS_BEEN_BOUND','UNIVER_DOC','textEncoder','function','refreshPermission','getRoom','confirm','baseRev','PERMISSION_REJ','HEARTBEAT_INTERVAL','FileId','RevisionService','Subject','objectType','getOwnPropertyDescriptor','status$','url','_createInitialState','UnitEmbedded','/resources','onRemoteChangeset','sin','_remoteChangesetQueue','_onUserJoin','generateRandomId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onRemoteAck','/universer-api/file/{fileID}/sign-url','[CollaborationSession]','execute','UnitStatus','_loadSheet','initWorkbookPermissionChange','HTTPService','_permissionService','Pkcs7','lib','_clearCollaborationTimeoutTimer','SNAPSHOT_URL_KEY','_sendHeartbeatTimer','_event$','add','&source=','set','format','_map','LIVESHARE_REQUEST_HOST','SessionStatus','entries','executeCommand','_entityInit$','liveShareNewHost','SheetPermissionInitController','batchAllowed','params','clone','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','retryConnectingInterval','LICENSE_DISTRO_REJECTED','SNAPSHOT_SERVER_URL_KEY','mode','reduce','subject','data','mixIn','onMissingChangesets','ivSize','/universer-api/snapshot','_compressMutationService','HMAC','updateMember','Base','getActiveSheet','_roomMembers','getWorkbookSelections','RETRY_CONNECTING_MAX_COUNT','isArray','_transitionLocked','collaboration-client.local-cache-service','allowed','APPLY_DUPLICATED'];_0x3686=function(){return _0x175f97;};return _0x3686();}var Q=(_0x4ee8d1=>(_0x4ee8d1[_0x4877c9(0x383)]='OTHER_CLIENT_EDITING',_0x4ee8d1[_0x4877c9(0x24f)]='PERMISSION_DENIED',_0x4ee8d1[_0x4877c9(0x162)]=_0x4877c9(0x162),_0x4ee8d1[_0x4877c9(0x45e)]=_0x4877c9(0x45e),_0x4ee8d1[_0x4877c9(0x36d)]='JOIN_ROOM_FAILED',_0x4ee8d1[_0x4877c9(0x173)]=_0x4877c9(0x173),_0x4ee8d1['SOCKET_FAILED']=_0x4877c9(0x459),_0x4ee8d1[_0x4877c9(0x165)]=_0x4877c9(0x165),_0x4ee8d1))(Q||{});class te{constructor(){var _0x3b62a0=_0x4877c9;A(this,'_event$',new j[(_0x3b62a0(0x2aa))]()),A(this,_0x3b62a0(0x19a),this[_0x3b62a0(0x2c6)][_0x3b62a0(0x134)]());}['emitEvent'](_0x5e8c74){var _0x4ce705=_0x4877c9;this['_event$'][_0x4ce705(0x46f)](_0x5e8c74);}}const bt=a[_0x4877c9(0x229)](_0x4877c9(0x26b));function Rt(_0x33055f){var _0x48cc1f=_0x4877c9,_0x55e5e5,_0x340c35,_0x165830,_0x51e71e,_0x17d403;const _0x254eec=_0x33055f[_0x48cc1f(0x2dd)],_0x227c3c=JSON[_0x48cc1f(0x458)](_0x254eec);switch(_0x227c3c[_0x48cc1f(0x1f5)]){case W[_0x48cc1f(0x147)]:case W[_0x48cc1f(0x319)]:{const _0x14df0e=_0x227c3c['infoRsp'];return{..._0x227c3c,'data':_0x14df0e,'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};}case W['JOIN']:{const _0x51a1ca=_0x227c3c[_0x48cc1f(0x435)];return{..._0x227c3c,'data':_0x51a1ca,'cmd':_0x227c3c['cmd']};}case W[_0x48cc1f(0x1f9)]:{const _0x47f098=_0x227c3c['collaMsg'];switch(_0x47f098[_0x48cc1f(0x24c)]){case g[_0x48cc1f(0x1f6)]['PERMISSION_REJ']:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x55e5e5=_0x47f098[_0x48cc1f(0x200)])==null?void 0x0:_0x55e5e5['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x24a)]:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x340c35=_0x47f098[_0x48cc1f(0x262)])==null?void 0x0:_0x340c35['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)]['NEW_CHANGESETS']:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x165830=_0x47f098[_0x48cc1f(0x327)])==null?void 0x0:_0x165830['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g['CollaborationEvent']['CHANGESET_REJ']:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x51e71e=_0x47f098[_0x48cc1f(0x131)])==null?void 0x0:_0x51e71e['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g['CollaborationEvent'][_0x48cc1f(0x298)]:return{..._0x227c3c,'data':{..._0x47f098,'data':(_0x17d403=_0x47f098['csShouldRetryEvent'])==null?void 0x0:_0x17d403['cs']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x26d)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x29b)]},'cmd':_0x227c3c['cmd']};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x31f)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x44c)]},'cmd':_0x227c3c['cmd']};case g[_0x48cc1f(0x1f6)]['USERS_LEAVE']:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x2f6)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x3ec)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098['liveShareNewHost']},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x449)]:case g['CollaborationEvent'][_0x48cc1f(0x1c6)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x467)]},'cmd':_0x227c3c['cmd']};case g['CollaborationEvent'][_0x48cc1f(0x3e2)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x2d1)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x12a)]:return{..._0x227c3c,'data':_0x47f098,'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x1bb)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x330)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g[_0x48cc1f(0x1f6)][_0x48cc1f(0x183)]:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098['updatePermissionObjEvent']},'cmd':_0x227c3c['cmd']};case g[_0x48cc1f(0x1f6)]['SHOULD_CLOSE_CONN']:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x394)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};case g['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x227c3c,'data':{..._0x47f098,'data':_0x47f098[_0x48cc1f(0x120)]},'cmd':_0x227c3c[_0x48cc1f(0x1f5)]};default:return _0x227c3c;}}default:return _0x227c3c;}}function Ot(_0x458cdd){var _0x2e7a00=_0x4877c9;switch(_0x458cdd[_0x2e7a00(0x1f5)]){case W[_0x2e7a00(0x147)]:case W[_0x2e7a00(0x319)]:return JSON['stringify']({'cmd':_0x458cdd['cmd'],'routeKey':_0x458cdd[_0x2e7a00(0x28c)]});case W['INGEST']:{let _0x28cd26;switch(_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x24c)]){case g[_0x2e7a00(0x1f6)]['UPDATE_CURSOR']:{_0x28cd26={'eventID':g['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x458cdd[_0x2e7a00(0x2dd)]['data']};break;}case g[_0x2e7a00(0x1f6)]['USERS_LEAVE']:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)][_0x2e7a00(0x1b7)],'leaveEvent':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)][_0x2e7a00(0x31f)]:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)]['USERS_ENTER'],'joinEvent':_0x458cdd['data'][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)][_0x2e7a00(0x3ec)]:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)][_0x2e7a00(0x3ec)],'liveShareNewHost':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)]['LIVESHARE_OPERATION']:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)][_0x2e7a00(0x3e2)]:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g[_0x2e7a00(0x1f6)][_0x2e7a00(0x2cc)]:{_0x28cd26={'eventID':g[_0x2e7a00(0x1f6)][_0x2e7a00(0x2cc)],'liveShareRequestHost':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x2dd)]};break;}case g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x28cd26={'eventID':g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x28cd26={'eventID':_0x458cdd[_0x2e7a00(0x2dd)][_0x2e7a00(0x24c)]};}return JSON[_0x2e7a00(0x481)]({'cmd':_0x458cdd[_0x2e7a00(0x1f5)],'routeKey':_0x458cdd['routeKey'],'collaMsg':_0x28cd26});}case W[_0x2e7a00(0x366)]:return JSON['stringify']({'cmd':_0x458cdd[_0x2e7a00(0x1f5)],'routeKey':_0x458cdd[_0x2e7a00(0x28c)],'joinReq':_0x458cdd[_0x2e7a00(0x2dd)]});case W[_0x2e7a00(0x3fa)]:return JSON[_0x2e7a00(0x481)]({'cmd':_0x458cdd[_0x2e7a00(0x1f5)],'routeKey':_0x458cdd[_0x2e7a00(0x28c)],'leaveReq':_0x458cdd['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0x4877c9(0x2ac)],Zt=(_0x223e60,_0x22818b,_0xc6c219,_0x25390e)=>{var _0x5ac95f=_0x4877c9;for(var _0x32c73a=_0x25390e>0x1?void 0x0:_0x25390e?Xt(_0x22818b,_0xc6c219):_0x22818b,_0x55c1dc=_0x223e60[_0x5ac95f(0x374)]-0x1,_0x38fd1;_0x55c1dc>=0x0;_0x55c1dc--)(_0x38fd1=_0x223e60[_0x55c1dc])&&(_0x32c73a=_0x38fd1(_0x32c73a)||_0x32c73a);return _0x32c73a;},le=(_0x58930e,_0x2254ee)=>(_0xe2c4b6,_0x2f9e5e)=>_0x2254ee(_0xe2c4b6,_0x2f9e5e,_0x58930e);const $e=a[_0x4877c9(0x229)](_0x4877c9(0x3ab));function Qt(_0x3d8e5d,_0x8f53ff,_0x205ae5){var _0x23c08e=_0x4877c9;return _0x3d8e5d+'/'+_0x8f53ff+_0x23c08e(0x380)+_0x205ae5+_0x23c08e(0x149);}exports[_0x4877c9(0x43b)]=class extends a[_0x4877c9(0x21e)]{constructor(_0xf09ac,_0x23d66a,_0x351dc4,_0x17ba92,_0x5a5372){var _0x363cf2=_0x4877c9;super(),this[_0x363cf2(0x16d)]=_0xf09ac,this[_0x363cf2(0x30e)]=_0x23d66a,this[_0x363cf2(0x401)]=_0x351dc4,this[_0x363cf2(0x14f)]=_0x17ba92,this[_0x363cf2(0x126)]=_0x5a5372;}[_0x4877c9(0x3e4)](_0x377730){var _0x1e1c41=_0x4877c9;const _0x322706=this[_0x1e1c41(0x16d)][_0x1e1c41(0x208)](q[_0x1e1c41(0x3de)]);if(!_0x322706)throw new Error(_0x1e1c41(0x331));const _0x386a9c=_0x322706[_0x1e1c41(0x1b3)](_0x377730);if(!_0x386a9c)throw new Error(_0x1e1c41(0x391));const _0x44a9f0=new a[(_0x1e1c41(0x181))](),_0x5a5e78=new j['Subject']();_0x44a9f0[_0x1e1c41(0x2c7)](_0x386a9c[_0x1e1c41(0x204)][_0x1e1c41(0x1e1)](_0x363849=>_0x5a5e78[_0x1e1c41(0x46f)](_0x363849))),_0x44a9f0['add'](a[_0x1e1c41(0x23a)](()=>_0x5a5e78[_0x1e1c41(0x3c9)]()));const _0x24aded=new j[(_0x1e1c41(0x2aa))]();_0x44a9f0[_0x1e1c41(0x2c7)](_0x386a9c['error$'][_0x1e1c41(0x1e1)](_0x210e48=>_0x24aded[_0x1e1c41(0x46f)](_0x210e48))),_0x44a9f0[_0x1e1c41(0x2c7)](a['toDisposable'](()=>_0x24aded[_0x1e1c41(0x3c9)]()));const _0x2760c5=new j['Subject']();_0x44a9f0[_0x1e1c41(0x2c7)](_0x386a9c['message$'][_0x1e1c41(0x1e1)](_0x5c3ab4=>{var _0x12f726=_0x1e1c41;const _0x252890=Rt(_0x5c3ab4);_0x2760c5[_0x12f726(0x46f)](_0x252890);})),_0x44a9f0[_0x1e1c41(0x2c7)](a['toDisposable'](()=>_0x2760c5['complete']()));let _0x577503;const _0x4d301e=()=>{var _0x3010b1=_0x1e1c41;_0x24aded['next'](new Event(_0x3010b1(0x3bb))),_0x5a5e78['next'](new Event(_0x3010b1(0x3bb))),_0x577503['close']();};return _0x577503={'memberID':'','close$':_0x5a5e78[_0x1e1c41(0x134)](),'error$':_0x24aded[_0x1e1c41(0x134)](),'open$':_0x386a9c['open$'],'message$':_0x2760c5[_0x1e1c41(0x134)](),'send':_0x584303=>{var _0x451d3c=_0x1e1c41;if(_0x584303['cmd']===W[_0x451d3c(0x43a)]){if(_0x584303[_0x451d3c(0x2dd)][_0x451d3c(0x24c)]===g[_0x451d3c(0x1f6)][_0x451d3c(0x312)]){this[_0x451d3c(0x20a)](_0x577503,_0x584303['data'])[_0x451d3c(0x292)](_0x42fac7=>{var _0x1566e0=_0x451d3c;this[_0x1566e0(0x14f)][_0x1566e0(0x44d)](_0x42fac7),_0x4d301e();});return;}if(_0x584303[_0x451d3c(0x2dd)]['eventID']===g[_0x451d3c(0x1f6)][_0x451d3c(0x3cb)]){const _0x3fc810=_0x584303[_0x451d3c(0x2dd)];this[_0x451d3c(0x2f2)](_0x3fc810)[_0x451d3c(0x32e)](_0x562ada=>{var _0x410c99=_0x451d3c;_0x2760c5[_0x410c99(0x46f)]({'cmd':W[_0x410c99(0x1f9)],'code':ae['OK'],'routeKey':_0x3fc810[_0x410c99(0x2dd)][_0x410c99(0x1bd)],'routeType':'','data':{'eventID':g[_0x410c99(0x1f6)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x562ada}}});})[_0x451d3c(0x292)](_0x178300=>{var _0x5e77da=_0x451d3c;this[_0x5e77da(0x14f)][_0x5e77da(0x44d)](_0x178300),_0x4d301e();});return;}}_0x386a9c['send'](Ot(_0x584303));},'close':()=>{var _0x241517=_0x1e1c41;_0x386a9c[_0x241517(0x11a)](),_0x44a9f0[_0x241517(0x132)]();}},_0x577503;}async[_0x4877c9(0x20a)](_0xe7d3df,_0x5b8a72){var _0x1006ee=_0x4877c9,_0x11e51d,_0x4ec79e;const {unitType:_0x4e3a63,unitID:_0x19c913,changeset:_0x586969}=_0x5b8a72[_0x1006ee(0x2dd)],_0x209225={'unitID':_0x19c913,'memberID':_0xe7d3df['memberID'],'type':_0x4e3a63,'changeset':g[_0x1006ee(0x236)](_0x586969)},_0x5277c0=this[_0x1006ee(0x401)][_0x1006ee(0x1f7)](mt),_0x298b79=this[_0x1006ee(0x401)][_0x1006ee(0x1f7)](Y),_0x42a85a=Qt((_0x4ec79e=(_0x11e51d=_0x298b79==null?void 0x0:_0x298b79['collabSubmitChangesetUrl'])!=null?_0x11e51d:_0x5277c0)!=null?_0x4ec79e:Kt,_0x4e3a63,_0x19c913);try{await this[_0x1006ee(0x30e)][_0x1006ee(0x140)](_0x42a85a,{'body':_0x209225});}catch(_0x335b17){throw this[_0x1006ee(0x14f)][_0x1006ee(0x44d)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x335b17;}}async['_fetchMissChangesets'](_0x571eee){var _0x481ed8=_0x4877c9;const {unitID:_0x3c5d36,from:_0x56e858,to:_0x3cf16a,unitType:_0x5373d1}=_0x571eee['data'];return(await this[_0x481ed8(0x126)][_0x481ed8(0x490)]({'metadata':void 0x0},{'unitID':_0x3c5d36,'type':_0x5373d1,'from':_0x56e858,'to':_0x3cf16a}))[_0x481ed8(0x44e)];}},exports[_0x4877c9(0x43b)]=Zt([le(0x0,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),le(0x1,a[_0x4877c9(0x385)](q[_0x4877c9(0x2bf)])),le(0x2,a[_0x4877c9(0x1a9)]),le(0x3,a['ILogService']),le(0x4,g[_0x4877c9(0x30a)])],exports[_0x4877c9(0x43b)]);const ei=_0x4877c9(0x3bc);function ti(_0x4734d3){var _0x415f6f=_0x4877c9;return JSON[_0x415f6f(0x481)](_0x4734d3)[_0x415f6f(0x374)];}class Be{constructor(){var _0x460701=_0x4877c9;A(this,_0x460701(0x136),new j[(_0x460701(0x2aa))]()),A(this,_0x460701(0x14e),this[_0x460701(0x136)]['asObservable']());}['onCommentUpdate'](_0x39c2a6){var _0x1a04d4=_0x4877c9;this[_0x1a04d4(0x136)][_0x1a04d4(0x46f)](_0x39c2a6);}}var ii=Object[_0x4877c9(0x2ac)],ni=(_0x2b95b8,_0x2819f4,_0x4f5e13,_0x239e99)=>{var _0x5d2058=_0x4877c9;for(var _0xedc84b=_0x239e99>0x1?void 0x0:_0x239e99?ii(_0x2819f4,_0x4f5e13):_0x2819f4,_0x45785e=_0x2b95b8[_0x5d2058(0x374)]-0x1,_0x482231;_0x45785e>=0x0;_0x45785e--)(_0x482231=_0x2b95b8[_0x45785e])&&(_0xedc84b=_0x482231(_0xedc84b)||_0xedc84b);return _0xedc84b;},Ke=(_0x599e6a,_0x10545c)=>(_0x35bdda,_0x5dac18)=>_0x10545c(_0x35bdda,_0x5dac18,_0x599e6a);exports[_0x4877c9(0x3f7)]=class extends a[_0x4877c9(0x21e)]{constructor(_0x3302bb,_0x8484f6){var _0x544b57=_0x4877c9;super(),A(this,_0x544b57(0x2e7),new Map()),A(this,_0x544b57(0x192),new j[(_0x544b57(0x2aa))]()),(this[_0x544b57(0x244)]=_0x3302bb,this['_userManagerService']=_0x8484f6,this['disposeWithMe'](j['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x544b57(0x402)][_0x544b57(0x40d)])[_0x544b57(0x432)](V[_0x544b57(0x3df)](_0x44df47=>_0x44df47[_0x544b57(0x217)]())),this[_0x544b57(0x244)]['getTypeOfUnitDisposed$'](a[_0x544b57(0x402)][_0x544b57(0x29f)])['pipe'](V[_0x544b57(0x3df)](_0x55c8ba=>_0x55c8ba[_0x544b57(0x217)]())),this[_0x544b57(0x244)][_0x544b57(0x17c)](a[_0x544b57(0x402)][_0x544b57(0x240)])[_0x544b57(0x432)](V['map'](_0x43bf45=>_0x43bf45['getUnitId']())))['subscribe'](_0x175009=>this[_0x544b57(0x1db)](_0x175009))));}[_0x4877c9(0x1a2)](_0x203a31){var _0x31a5f0=_0x4877c9;return this['_roomMembers'][_0x31a5f0(0x3ce)](_0x203a31)?j['of'](this['_roomMembers'][_0x31a5f0(0x208)](_0x203a31)):this[_0x31a5f0(0x192)][_0x31a5f0(0x432)](V[_0x31a5f0(0x3df)](_0x1c8ccf=>{var _0x54cba0=_0x31a5f0;if(_0x1c8ccf===_0x203a31)return this[_0x54cba0(0x2e7)][_0x54cba0(0x208)](_0x1c8ccf);}));}[_0x4877c9(0x1b1)](_0x451f7e){var _0x1c0f22=_0x4877c9;this[_0x1c0f22(0x415)]['setCurrentUser'](_0x451f7e);}[_0x4877c9(0x486)](){var _0xe8cc42=_0x4877c9;return this[_0xe8cc42(0x415)]['getCurrentUser']();}[_0x4877c9(0x2e4)](_0x2c6a73,_0x625d1){var _0x2147b3=_0x4877c9;let _0x3dda44=this['_roomMembers']['get'](_0x2c6a73);_0x3dda44||(_0x3dda44=new ri(),this[_0x2147b3(0x2e7)]['set'](_0x2c6a73,_0x3dda44),this[_0x2147b3(0x192)][_0x2147b3(0x46f)](_0x2c6a73)),_0x3dda44[_0x2147b3(0x2e4)](_0x625d1);}[_0x4877c9(0x411)](_0x1dd9c4,_0x2e87cd){var _0x5735fb=_0x4877c9;const _0x1afd94=this['_roomMembers'][_0x5735fb(0x208)](_0x1dd9c4);_0x1afd94&&_0x1afd94[_0x5735fb(0x411)](_0x2e87cd);}[_0x4877c9(0x2a3)](_0x2fef8b){var _0x53f763=_0x4877c9;return this[_0x53f763(0x2e7)][_0x53f763(0x208)](_0x2fef8b);}[_0x4877c9(0x16f)](_0x1116de,_0x1cca1d){var _0x397121=_0x4877c9;const _0x436e7b=this[_0x397121(0x2e7)][_0x397121(0x208)](_0x1116de);if(_0x436e7b)return _0x436e7b[_0x397121(0x16f)](_0x1cca1d);}[_0x4877c9(0x1db)](_0x214d90){var _0x75d526=_0x4877c9;const _0x1c30c0=this[_0x75d526(0x2e7)][_0x75d526(0x208)](_0x214d90);_0x1c30c0&&(_0x1c30c0[_0x75d526(0x132)](),this['_roomMembers'][_0x75d526(0x483)](_0x214d90));}[_0x4877c9(0x132)](){var _0x20d548=_0x4877c9;this[_0x20d548(0x2e7)][_0x20d548(0x348)](_0x489a28=>_0x489a28['dispose']()),this['_roomMembers']['clear'](),this[_0x20d548(0x192)][_0x20d548(0x3c9)]();}},exports[_0x4877c9(0x3f7)]=ni([Ke(0x0,a[_0x4877c9(0x2ff)]),Ke(0x1,a[_0x4877c9(0x385)](a[_0x4877c9(0x447)]))],exports[_0x4877c9(0x3f7)]);class ri extends a[_0x4877c9(0x21e)]{constructor(){var _0x4de8f6=_0x4877c9;super(...arguments),A(this,_0x4de8f6(0x19b),new Map()),A(this,_0x4de8f6(0x463),new j['BehaviorSubject'](this[_0x4de8f6(0x19b)])),A(this,'members$',this[_0x4de8f6(0x463)][_0x4de8f6(0x134)]());}[_0x4877c9(0x132)](){var _0x4b0498=_0x4877c9;this[_0x4b0498(0x19b)][_0x4b0498(0x3d8)]();}[_0x4877c9(0x2e4)](_0x220447){var _0x42f0b5=_0x4877c9;this[_0x42f0b5(0x19b)][_0x42f0b5(0x2c9)](_0x220447[_0x42f0b5(0x433)],_0x220447),this['_emitMembers']();}['removeMember'](_0x8073fc){this['_members']['delete'](_0x8073fc);}['getMember'](_0x504526){var _0x27877a=_0x4877c9;return this[_0x27877a(0x19b)][_0x27877a(0x208)](_0x504526);}[_0x4877c9(0x3c4)](){var _0x4d1b56=_0x4877c9;return Array[_0x4d1b56(0x35b)](this[_0x4d1b56(0x19b)][_0x4d1b56(0x270)]());}[_0x4877c9(0x32f)](){var _0x3b026c=_0x4877c9;this[_0x3b026c(0x463)][_0x3b026c(0x46f)](this[_0x3b026c(0x19b)]);}}var si=Object[_0x4877c9(0x2ac)],oi=(_0x27dfa6,_0x235a2c,_0x43147d,_0x1c2453)=>{for(var _0x1529b6=_0x1c2453>0x1?void 0x0:_0x1c2453?si(_0x235a2c,_0x43147d):_0x235a2c,_0x80621a=_0x27dfa6['length']-0x1,_0x283346;_0x80621a>=0x0;_0x80621a--)(_0x283346=_0x27dfa6[_0x80621a])&&(_0x1529b6=_0x283346(_0x1529b6)||_0x1529b6);return _0x1529b6;},oe=(_0x1ff9ce,_0x51d623)=>(_0x600809,_0x334603)=>_0x51d623(_0x600809,_0x334603,_0x1ff9ce),se=(_0x57613f=>(_0x57613f[_0x57613f[_0x4877c9(0x22d)]=0x0]=_0x4877c9(0x22d),_0x57613f[_0x57613f[_0x4877c9(0x40b)]=0x1]=_0x4877c9(0x40b),_0x57613f[_0x57613f[_0x4877c9(0x41c)]=0x2]=_0x4877c9(0x41c),_0x57613f[_0x57613f[_0x4877c9(0x24d)]=0x3]='ONLINE',_0x57613f))(se||{});const Ye={[ae[_0x4877c9(0x250)]]:'session.join-failed',[ae[_0x4877c9(0x176)]]:'session.room-full',[ae[_0x4877c9(0x175)]]:_0x4877c9(0x247),[ae[_0x4877c9(0x46e)]]:_0x4877c9(0x351),[ae[_0x4877c9(0x3a2)]]:_0x4877c9(0x1ae)};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x3e9f1c,_0x30fe9c,_0x13029a,_0x4e5e5f,_0x518a35,_0x421314,_0x2d8c06,_0xf64a43,_0x63bd08){var _0x257125=_0x4877c9;super(),A(this,_0x257125(0x17d),new j['BehaviorSubject'](0x0)),A(this,_0x257125(0x2f1),this[_0x257125(0x17d)]['asObservable']()),A(this,_0x257125(0x2c6),new j[(_0x257125(0x2aa))]()),A(this,_0x257125(0x19a),this['_event$']['asObservable']()),A(this,_0x257125(0x41d)),A(this,_0x257125(0x412)),A(this,_0x257125(0x478)),A(this,_0x257125(0x332),!0x1),A(this,_0x257125(0x268),null),(this[_0x257125(0x451)]=_0x3e9f1c,this[_0x257125(0x14f)]=_0x13029a,this[_0x257125(0x401)]=_0x4e5e5f,this['_localeService']=_0x518a35,this[_0x257125(0x3b9)]=_0x421314,this[_0x257125(0x25f)]=_0x2d8c06,this['_collaborationUIEventService']=_0xf64a43,this[_0x257125(0x410)]=_0x63bd08,this[_0x257125(0x332)]=!!this[_0x257125(0x410)],_0x30fe9c[_0x257125(0x432)](j[_0x257125(0x293)](this[_0x257125(0x42f)]))[_0x257125(0x1e1)](_0x211792=>{var _0x37966a=_0x257125,_0x36fd6c;typeof _0x211792>'u'||(this[_0x37966a(0x41d)]=_0x211792,_0x211792?(this['_joinRoom'](_0x211792),this[_0x37966a(0x412)]=_0x211792['message$'][_0x37966a(0x1e1)](_0x361b22=>{var _0x59218b=_0x37966a;_0x361b22[_0x59218b(0x28c)]===this[_0x59218b(0x451)]&&this[_0x59218b(0x201)](_0x361b22);})):(this[_0x37966a(0x264)](),this['_sessionStatus$']['next'](0x2),(_0x36fd6c=this['_socketMessageSubscription'])==null||_0x36fd6c[_0x37966a(0x2fd)](),this[_0x37966a(0x412)]=null));}));}get[_0x4877c9(0x267)](){var _0x1d9f3b=_0x4877c9;return this[_0x1d9f3b(0x17d)][_0x1d9f3b(0x31a)]();}[_0x4877c9(0x36c)](){var _0x4e2ff2=_0x4877c9,_0x466b67,_0x9bd83e;return(_0x9bd83e=(_0x466b67=this[_0x4e2ff2(0x41d)])==null?void 0x0:_0x466b67[_0x4e2ff2(0x433)])!=null?_0x9bd83e:null;}['dispose'](){var _0x1371b4=_0x4877c9;super[_0x1371b4(0x132)](),this[_0x1371b4(0x42f)][_0x1371b4(0x46f)](),this['dispose$']['complete']();}[_0x4877c9(0x11a)](){var _0x3fd2e7=_0x4877c9,_0x6543bb,_0x5771bf;this[_0x3fd2e7(0x264)](),(_0x6543bb=this['_socket'])==null||_0x6543bb['send']({'cmd':W[_0x3fd2e7(0x3fa)],'data':{'roomID':this[_0x3fd2e7(0x451)]}}),(_0x5771bf=this['_socket'])==null||_0x5771bf['close'](),this[_0x3fd2e7(0x2c6)][_0x3fd2e7(0x3c9)](),this['_sessionStatus$'][_0x3fd2e7(0x3c9)](),this[_0x3fd2e7(0x132)]();}[_0x4877c9(0x201)](_0x208f3f){var _0x1c978c=_0x4877c9;_0x208f3f[_0x1c978c(0x1f5)]===W[_0x1c978c(0x366)]?this['_onJoinRoomEvent'](_0x208f3f):_0x208f3f[_0x1c978c(0x1f5)]===W[_0x1c978c(0x1f9)]&&this['_onRecvEvent'](_0x208f3f);}[_0x4877c9(0x345)](_0x46c583){var _0x1cd53b=_0x4877c9;this['_sessionStatus$']['next'](0x1),_0x46c583['send']({'cmd':W[_0x1cd53b(0x366)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1cd53b(0x451)]}]}});}['_onJoinRoomEvent'](_0x4705e9){var _0x44d5fa=_0x4877c9,_0x3ccc60;if(_0x4705e9[_0x44d5fa(0x406)]in Ye){this[_0x44d5fa(0x123)][_0x44d5fa(0x3fb)]({'id':Q[_0x44d5fa(0x36d)],'data':Ye[_0x4705e9[_0x44d5fa(0x406)]]}),this['_sessionStatus$'][_0x44d5fa(0x46f)](0x2);return;}this[_0x44d5fa(0x17d)][_0x44d5fa(0x46f)](0x3);const _0x1ce789=(_0x3ccc60=_0x4705e9['data']['roomInfos'][this[_0x44d5fa(0x451)]])==null?void 0x0:_0x3ccc60[_0x44d5fa(0x365)];_0x1ce789&&_0x1ce789[_0x44d5fa(0x348)](_0x56ab63=>this[_0x44d5fa(0x3b9)][_0x44d5fa(0x2e4)](this[_0x44d5fa(0x451)],_0x56ab63));}['_onRecvEvent'](_0x4e395f){var _0x3532a6=_0x4877c9;try{const _0xb6f22c=_0x4e395f[_0x3532a6(0x2dd)];switch(_0xb6f22c[_0x3532a6(0x24c)]){case g[_0x3532a6(0x1f6)][_0x3532a6(0x31f)]:this[_0x3532a6(0x2b5)](_0xb6f22c),this['_event$']['next'](_0xb6f22c);break;case g[_0x3532a6(0x1f6)][_0x3532a6(0x1b7)]:this['_onUserLeave'](_0xb6f22c),this[_0x3532a6(0x2c6)][_0x3532a6(0x46f)](_0xb6f22c);break;case g[_0x3532a6(0x1f6)][_0x3532a6(0x24a)]:case g[_0x3532a6(0x1f6)][_0x3532a6(0x298)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3532a6(0x2c3)](),this[_0x3532a6(0x2c6)][_0x3532a6(0x46f)](_0xb6f22c);break;case g[_0x3532a6(0x1f6)][_0x3532a6(0x12a)]:this[_0x3532a6(0x14f)]['error'](_0x3532a6(0x489)+JSON[_0x3532a6(0x481)](_0xb6f22c)),this[_0x3532a6(0x2c6)][_0x3532a6(0x46f)](_0xb6f22c);break;case g[_0x3532a6(0x1f6)][_0x3532a6(0x1bb)]:this[_0x3532a6(0x25f)][_0x3532a6(0x133)](_0xb6f22c[_0x3532a6(0x2dd)]),this['_event$']['next'](_0xb6f22c);break;default:this[_0x3532a6(0x2c6)][_0x3532a6(0x46f)](_0xb6f22c);}}catch(_0x3f1d31){this[_0x3532a6(0x14f)][_0x3532a6(0x44d)](_0x3f1d31,_0x4e395f);}}[_0x4877c9(0x2b5)](_0x37181f){var _0x1164a5=_0x4877c9;this[_0x1164a5(0x3b9)][_0x1164a5(0x2e4)](this[_0x1164a5(0x451)],_0x37181f['data']);}[_0x4877c9(0x281)](_0x6b6c33){var _0x2a9e71=_0x4877c9;this[_0x2a9e71(0x3b9)]['removeMember'](this[_0x2a9e71(0x451)],_0x6b6c33[_0x2a9e71(0x2dd)][_0x2a9e71(0x433)]);}async[_0x4877c9(0x43c)](_0x531914,_0x4692e1){var _0x393ec1=_0x4877c9;if(this[_0x393ec1(0x267)]!==0x3||!this[_0x393ec1(0x41d)])throw new Error(_0x393ec1(0x254));try{_0x531914[_0x393ec1(0x24c)]===g['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x393ec1(0x258)](),this[_0x393ec1(0x434)](_0x531914)),this[_0x393ec1(0x41d)][_0x393ec1(0x43c)]({'cmd':W[_0x393ec1(0x43a)],'routeKey':_0x4692e1,'routeType':'','data':_0x531914});}catch(_0x2bb388){this[_0x393ec1(0x14f)][_0x393ec1(0x44d)](_0x2bb388);}}[_0x4877c9(0x258)](){var _0xec556a=_0x4877c9,_0x4d83c5;this[_0xec556a(0x478)]=setTimeout(()=>{var _0x2ec53e=_0xec556a;this[_0x2ec53e(0x478)]=null,this[_0x2ec53e(0x123)]['emitEvent']({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4d83c5=this[_0xec556a(0x401)]['getConfig'](je))!=null?_0x4d83c5:gt);}[_0x4877c9(0x2c3)](){var _0x137274=_0x4877c9;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x137274(0x478)]),this['_collaborationTimeoutTimer']=null);}[_0x4877c9(0x434)](_0x30ea93){var _0x2dc714=_0x4877c9;if(!this[_0x2dc714(0x332)])return;const {data:_0x1162e2}=_0x30ea93,{unitID:_0x1726fb,changeset:_0x2d1c82}=_0x1162e2,{mutations:_0x45b005,type:_0x29502a}=_0x2d1c82;this[_0x2dc714(0x268)]={'unitId':_0x1726fb,'type':_0x29502a,'startTime':performance[_0x2dc714(0x13f)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x45b005)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xd578cc=_0x4877c9;if(this[_0xd578cc(0x332)]){if(!this[_0xd578cc(0x268)]){this[_0xd578cc(0x14f)][_0xd578cc(0x44d)](_0xd578cc(0x2ba),_0xd578cc(0x39d));return;}this[_0xd578cc(0x268)]['stopTime']=performance[_0xd578cc(0x13f)](),this[_0xd578cc(0x268)][_0xd578cc(0x326)]=this[_0xd578cc(0x268)][_0xd578cc(0x456)]-this['_telemetryInfo'][_0xd578cc(0x1e0)],this[_0xd578cc(0x410)][_0xd578cc(0x48d)](ei,this[_0xd578cc(0x268)]),this[_0xd578cc(0x268)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x10034d=_0x4877c9;this[_0x10034d(0x268)]=null;}},exports[_0x4877c9(0x482)]=oi([oe(0x2,a[_0x4877c9(0x445)]),oe(0x3,a[_0x4877c9(0x1a9)]),oe(0x4,a['Inject'](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x4877c9(0x3f7)])),oe(0x6,a[_0x4877c9(0x385)](Be)),oe(0x7,a[_0x4877c9(0x385)](te)),oe(0x8,a[_0x4877c9(0x142)](Mt[_0x4877c9(0x1c1)]))],exports[_0x4877c9(0x482)]);var ai=Object[_0x4877c9(0x2ac)],ci=(_0x13c070,_0x47cde2,_0x2366b2,_0x26cd86)=>{var _0x4796d7=_0x4877c9;for(var _0x358765=_0x26cd86>0x1?void 0x0:_0x26cd86?ai(_0x47cde2,_0x2366b2):_0x47cde2,_0x47ec51=_0x13c070[_0x4796d7(0x374)]-0x1,_0x280c9;_0x47ec51>=0x0;_0x47ec51--)(_0x280c9=_0x13c070[_0x47ec51])&&(_0x358765=_0x280c9(_0x358765)||_0x358765);return _0x358765;},_e=(_0xe7a4a6,_0x4ed093)=>(_0x2836ef,_0x40645c)=>_0x4ed093(_0x2836ef,_0x40645c,_0xe7a4a6);exports[_0x4877c9(0x1ca)]=class extends a[_0x4877c9(0x21e)]{constructor(_0x206329,_0x57de5d,_0x4349a3,_0x5db091,_0x2ebab0,_0x39d7dd){var _0x2242ce=_0x4877c9;super(),A(this,_0x2242ce(0x1be),new j['BehaviorSubject'](void 0x0)),A(this,_0x2242ce(0x203),this[_0x2242ce(0x1be)][_0x2242ce(0x134)]()),A(this,'_candidateSocket',null),A(this,_0x2242ce(0x27f),new Map()),A(this,_0x2242ce(0x218),new j['BehaviorSubject'](se[_0x2242ce(0x22d)])),A(this,_0x2242ce(0x2ad),this[_0x2242ce(0x218)][_0x2242ce(0x134)]()),A(this,'_socketReady',!0x1),A(this,_0x2242ce(0x14b)),A(this,_0x2242ce(0x371),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x2242ce(0x1c2)),(this['_injector']=_0x206329,this['_logService']=_0x57de5d,this[_0x2242ce(0x401)]=_0x4349a3,this[_0x2242ce(0x341)]=_0x5db091,this[_0x2242ce(0x123)]=_0x2ebab0,this['_networkConditionService']=_0x39d7dd,this[_0x2242ce(0x309)]());}get[_0x4877c9(0x41d)](){var _0x2e8b5d=_0x4877c9;return this[_0x2e8b5d(0x1be)][_0x2e8b5d(0x31a)]();}[_0x4877c9(0x309)](){var _0x43fe07=_0x4877c9;this['_networkConditionService']&&this[_0x43fe07(0x21a)](this['_networkConditionService'][_0x43fe07(0x12e)][_0x43fe07(0x1e1)](_0x14543e=>{var _0x42d748=_0x43fe07;_0x14543e&&!this[_0x42d748(0x41d)]&&this['reconnect'](),_0x14543e||this['_onOffline']();}));}['dispose'](){var _0x203548=_0x4877c9;super[_0x203548(0x132)](),this['_clearRetryConnectingTimer'](),this[_0x203548(0x12b)](),this['_clearHeartbeatTimer'](),this[_0x203548(0x27f)]['forEach'](_0x46747f=>_0x46747f[_0x203548(0x132)]()),this[_0x203548(0x27f)]['clear'](),this[_0x203548(0x218)]['complete']();}async[_0x4877c9(0x2f4)](_0x2b64c9){var _0x1611a6=_0x4877c9;if(this[_0x1611a6(0x27f)][_0x1611a6(0x3ce)](_0x2b64c9))return this[_0x1611a6(0x27f)][_0x1611a6(0x208)](_0x2b64c9);this['_tryEnsureSocket']();const _0x38b7bb=this[_0x1611a6(0x16d)][_0x1611a6(0x18e)](exports['CollaborationSession'],_0x2b64c9,this['_socket$'][_0x1611a6(0x134)]());return this[_0x1611a6(0x27f)][_0x1611a6(0x2c9)](_0x2b64c9,_0x38b7bb),_0x38b7bb;}[_0x4877c9(0x45a)](_0x2714cf){var _0x4e8cfa=_0x4877c9,_0x4e4ec5;const _0x17d1d8=this[_0x4e8cfa(0x27f)]['get'](_0x2714cf);_0x17d1d8&&(this[_0x4e8cfa(0x27f)][_0x4e8cfa(0x483)](_0x2714cf),_0x17d1d8[_0x4e8cfa(0x11a)]()),this['_sessions'][_0x4e8cfa(0x21f)]||(_0x4e4ec5=this['_socket'])==null||_0x4e4ec5['close']();}[_0x4877c9(0x367)](){var _0x2f2bc7=_0x4877c9;this[_0x2f2bc7(0x371)]=0x0,this[_0x2f2bc7(0x3a5)](),this['_tryReconnect']();}[_0x4877c9(0x3a5)](){var _0x2beb25=_0x4877c9;this[_0x2beb25(0x14b)]!=null&&(clearTimeout(this[_0x2beb25(0x14b)]),this[_0x2beb25(0x14b)]=null);}async[_0x4877c9(0x291)](){var _0xa39b1c=_0x4877c9,_0x26a99c,_0x2a07bf;const _0x51e987=this['_configService'][_0xa39b1c(0x1f7)](St),_0x56afbf=this[_0xa39b1c(0x401)][_0xa39b1c(0x1f7)](Y),_0x25468c=(_0x2a07bf=(_0x26a99c=_0x56afbf==null?void 0x0:_0x56afbf[_0xa39b1c(0x260)])!=null?_0x26a99c:_0x51e987)!=null?_0x2a07bf:ft,_0x46acde=await this[_0xa39b1c(0x341)][_0xa39b1c(0x1b3)](_0x25468c);return this[_0xa39b1c(0x3e1)]=_0x46acde,_0x46acde;}async[_0x4877c9(0x368)](){var _0x18f2d2=_0x4877c9,_0x2ae75a,_0x37c874;try{const _0x288579=(_0x37c874=(_0x2ae75a=this['_socket'])!=null?_0x2ae75a:this[_0x18f2d2(0x3e1)])!=null?_0x37c874:await this[_0x18f2d2(0x291)]();if(_0x288579){const _0x4448db=_0x288579[_0x18f2d2(0x43c)];_0x288579[_0x18f2d2(0x43c)]=_0x3d995e=>(this['_rescheduleHeartbeat'](),_0x4448db[_0x18f2d2(0x466)](_0x288579,[_0x3d995e])),_0x288579[_0x18f2d2(0x116)][_0x18f2d2(0x1e1)](_0x5037c4=>this['_onMessage'](_0x288579,_0x5037c4)),_0x288579[_0x18f2d2(0x11d)]['pipe'](V[_0x18f2d2(0x416)](0x1))['subscribe'](_0x3e26d5=>this[_0x18f2d2(0x14f)][_0x18f2d2(0x44d)](_0x18f2d2(0x397),_0x3e26d5)),_0x288579[_0x18f2d2(0x3d6)]['pipe'](V[_0x18f2d2(0x416)](0x1))[_0x18f2d2(0x1e1)](()=>{var _0x2b85c7=_0x18f2d2;this[_0x2b85c7(0x135)](_0x288579);}),_0x288579[_0x18f2d2(0x204)][_0x18f2d2(0x432)](V[_0x18f2d2(0x416)](0x1))['subscribe'](_0x4ad053=>{var _0x3ab6cd=_0x18f2d2;this[_0x3ab6cd(0x14f)][_0x3ab6cd(0x223)](_0x3ab6cd(0x457),_0x3ab6cd(0x16b),_0x4ad053),this[_0x3ab6cd(0x3aa)]();});}}catch(_0x280d31){this[_0x18f2d2(0x14f)][_0x18f2d2(0x44d)](_0x280d31),this[_0x18f2d2(0x3aa)]();}}[_0x4877c9(0x135)](_0x78f2de){var _0x7f8148=_0x4877c9;this[_0x7f8148(0x14f)][_0x7f8148(0x223)]('[CollaborationSessionService]',_0x7f8148(0x27d)),_0x78f2de[_0x7f8148(0x43c)]({'cmd':W['HELLO']}),this[_0x7f8148(0x440)]();}[_0x4877c9(0x130)](){var _0x4cbb62=_0x4877c9;this[_0x4cbb62(0x3f8)]=!0x1,this[_0x4cbb62(0x3e1)]=null,this[_0x4cbb62(0x218)]['next'](se['OFFLINE']),this[_0x4cbb62(0x1be)][_0x4cbb62(0x46f)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x49324c=_0x4877c9,_0x127b83;this[_0x49324c(0x130)](),this[_0x49324c(0x371)]<((_0x127b83=this[_0x49324c(0x401)][_0x49324c(0x1f7)](It))!=null?_0x127b83:Vt)?(this[_0x49324c(0x123)][_0x49324c(0x3fb)]({'id':Q[_0x49324c(0x173)]}),this[_0x49324c(0x186)]()):this['_collaborationUIEventService'][_0x49324c(0x3fb)]({'id':Q[_0x49324c(0x459)]});}[_0x4877c9(0x186)](){var _0x2884dc=_0x4877c9,_0x1e9e7d;const _0x2c88f3=this['_retryCount'],_0x383d86=this['_configService'][_0x2884dc(0x1f7)](Y),_0x51347d=_0x2c88f3===0x0?0x0:((_0x1e9e7d=_0x383d86==null?void 0x0:_0x383d86[_0x2884dc(0x2d7)])!=null?_0x1e9e7d:Ft)*0x2**_0x2c88f3;this[_0x2884dc(0x14b)]=setTimeout(()=>{var _0x22a77b=_0x2884dc;clearTimeout(this['_retryConnectingTimer']),this[_0x22a77b(0x14b)]=null,this[_0x22a77b(0x368)]();},_0x51347d),this[_0x2884dc(0x371)]+=0x1;}['_onMessage'](_0x4476a1,_0x4cbff8){var _0x5a5a93=_0x4877c9;const {cmd:_0x2bfaca}=_0x4cbff8;_0x2bfaca===W[_0x5a5a93(0x319)]&&!this[_0x5a5a93(0x3f8)]&&(_0x4476a1[_0x5a5a93(0x433)]=_0x4cbff8[_0x5a5a93(0x2dd)][_0x5a5a93(0x433)],this[_0x5a5a93(0x1be)]['next'](_0x4476a1),this[_0x5a5a93(0x218)]['next'](se['ONLINE']),this['_socketReady']=!0x0,this[_0x5a5a93(0x3e1)]=null),_0x2bfaca===W[_0x5a5a93(0x147)]&&this[_0x5a5a93(0x12b)](),this[_0x5a5a93(0x440)]();}[_0x4877c9(0x440)](){var _0x457095=_0x4877c9,_0x4879e4;this[_0x457095(0x44b)](),this[_0x457095(0x2c5)]=setTimeout(()=>this[_0x457095(0x30b)](),(_0x4879e4=this[_0x457095(0x401)]['getConfig'](pt))!=null?_0x4879e4:Bt);}[_0x4877c9(0x30b)](){var _0x32b575=_0x4877c9;this[_0x32b575(0x41d)][_0x32b575(0x43c)]({'cmd':W[_0x32b575(0x147)]}),this[_0x32b575(0x15c)]();}[_0x4877c9(0x15c)](){var _0x2f4aa7=_0x4877c9,_0x1372e4;this['_timeoutTimer']=setTimeout(()=>this[_0x2f4aa7(0x3aa)](),(_0x1372e4=this['_configService']['getConfig'](je))!=null?_0x1372e4:gt);}[_0x4877c9(0x44b)](){var _0x561cd9=_0x4877c9;this[_0x561cd9(0x2c5)]!=null&&(clearTimeout(this[_0x561cd9(0x2c5)]),this[_0x561cd9(0x2c5)]=null);}[_0x4877c9(0x12b)](){var _0x1cc066=_0x4877c9;this[_0x1cc066(0x1c2)]!=null&&(clearTimeout(this[_0x1cc066(0x1c2)]),this[_0x1cc066(0x1c2)]=null);}},exports[_0x4877c9(0x1ca)]=ci([_e(0x0,a[_0x4877c9(0x385)](a['Injector'])),_e(0x1,a[_0x4877c9(0x445)]),_e(0x2,a[_0x4877c9(0x1a9)]),_e(0x3,$e),_e(0x4,a['Inject'](te)),_e(0x5,a[_0x4877c9(0x142)](bt))],exports['CollaborationSessionService']);const G=[];for(let n=0x0;n<0x100;++n)G[_0x4877c9(0x3f5)]((n+0x100)[_0x4877c9(0x1c3)](0x10)[_0x4877c9(0x32a)](0x1));function hi(_0x513685,_0x5a0d03=0x0){var _0x16fbea=_0x4877c9;return(G[_0x513685[_0x5a0d03+0x0]]+G[_0x513685[_0x5a0d03+0x1]]+G[_0x513685[_0x5a0d03+0x2]]+G[_0x513685[_0x5a0d03+0x3]]+'-'+G[_0x513685[_0x5a0d03+0x4]]+G[_0x513685[_0x5a0d03+0x5]]+'-'+G[_0x513685[_0x5a0d03+0x6]]+G[_0x513685[_0x5a0d03+0x7]]+'-'+G[_0x513685[_0x5a0d03+0x8]]+G[_0x513685[_0x5a0d03+0x9]]+'-'+G[_0x513685[_0x5a0d03+0xa]]+G[_0x513685[_0x5a0d03+0xb]]+G[_0x513685[_0x5a0d03+0xc]]+G[_0x513685[_0x5a0d03+0xd]]+G[_0x513685[_0x5a0d03+0xe]]+G[_0x513685[_0x5a0d03+0xf]])[_0x16fbea(0x3e9)]();}function _0x38be(_0xd996f8,_0x3b5303){var _0x3686a5=_0x3686();return _0x38be=function(_0x38be57,_0x3674b9){_0x38be57=_0x38be57-0x113;var _0x5c5ec2=_0x3686a5[_0x38be57];return _0x5c5ec2;},_0x38be(_0xd996f8,_0x3b5303);}let De;const _i=new Uint8Array(0x10);function li(){var _0x18b9c5=_0x4877c9;if(!De){if(typeof crypto>'u'||!crypto[_0x18b9c5(0x3ef)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');De=crypto[_0x18b9c5(0x3ef)][_0x18b9c5(0x278)](crypto);}return De(_i);}const ui=typeof crypto<'u'&&crypto[_0x4877c9(0x13d)]&&crypto[_0x4877c9(0x13d)][_0x4877c9(0x278)](crypto),qe={'randomUUID':ui};function di(_0x9baa56,_0xf98a35,_0xa8384){var _0xd58357=_0x4877c9,_0x5a1ee4,_0x337cf5,_0x56fa84;if(qe['randomUUID']&&!_0x9baa56)return qe['randomUUID']();_0x9baa56=_0x9baa56||{};const _0x3098b2=(_0x56fa84=(_0x337cf5=_0x9baa56[_0xd58357(0x3ac)])!=null?_0x337cf5:(_0x5a1ee4=_0x9baa56[_0xd58357(0x47d)])==null?void 0x0:_0x5a1ee4[_0xd58357(0x45b)](_0x9baa56))!=null?_0x56fa84:li();if(_0x3098b2[_0xd58357(0x374)]<0x10)throw new Error(_0xd58357(0x455));return _0x3098b2[0x6]=_0x3098b2[0x6]&0xf|0x40,_0x3098b2[0x8]=_0x3098b2[0x8]&0x3f|0x80,hi(_0x3098b2);}const z=a['createIdentifier'](_0x4877c9(0x2ec));function vi(_0x134c61){return'unit-cache-'+_0x134c61;}var Si=Object[_0x4877c9(0x2ac)],fi=(_0x261386,_0x594e75,_0x3dbcd1,_0x44cf5c)=>{var _0x503a17=_0x4877c9;for(var _0x43a690=_0x44cf5c>0x1?void 0x0:_0x44cf5c?Si(_0x594e75,_0x3dbcd1):_0x594e75,_0x112ac3=_0x261386[_0x503a17(0x374)]-0x1,_0x533915;_0x112ac3>=0x0;_0x112ac3--)(_0x533915=_0x261386[_0x112ac3])&&(_0x43a690=_0x533915(_0x43a690)||_0x43a690);return _0x43a690;},Ae=(_0x90e025,_0x3119cf)=>(_0x18fe24,_0xc7a58a)=>_0x3119cf(_0x18fe24,_0xc7a58a,_0x90e025);function pi(_0x31cb63){var _0x38bfad=_0x4877c9;const {unitID:_0x59a83c,mutations:_0x3ff2c6}=_0x31cb63;return{'unitId':_0x59a83c,'subUnitId':_0x3ff2c6[0x0][_0x38bfad(0x2d4)][_0x38bfad(0x3fd)]};}exports[_0x4877c9(0x34c)]=class{constructor(_0x5a5c4f,_0x227688,_0x11fe1d){var _0x5d444b=_0x4877c9;this[_0x5d444b(0x16d)]=_0x5a5c4f,this[_0x5d444b(0x476)]=_0x227688,this[_0x5d444b(0x31d)]=_0x11fe1d;}[_0x4877c9(0x1c5)](_0x2d2c25){var _0x51a0be=_0x4877c9,_0xff8fa5,_0x420339,_0x372109,_0x420421;const _0x373ac6=this[_0x51a0be(0x16d)][_0x51a0be(0x208)](Z[_0x51a0be(0x488)]),{unitId:_0x221090,subUnitId:_0x1caa44}=pi(_0x2d2c25),_0x1c7bea=_0x373ac6==null?void 0x0:_0x373ac6[_0x51a0be(0x2e8)](_0x221090)[_0x51a0be(0x386)](),_0x14b8d3=(_0x420339=(_0xff8fa5=this[_0x51a0be(0x31d)][_0x51a0be(0x370)](_0x221090))==null?void 0x0:_0xff8fa5[_0x51a0be(0x2e6)]())==null?void 0x0:_0x420339['getSheetId']();if(_0x1c7bea[_0x51a0be(0x374)]===0x0||!_0x221090||!_0x1caa44)return;const _0x2d28d7=[{'id':Z[_0x51a0be(0x34b)]['id'],'params':{'unitId':_0x221090,'subUnitId':_0x14b8d3,'selections':a['Tools'][_0x51a0be(0x33a)](_0x1c7bea)}}],_0x5c6bcd=this[_0x51a0be(0x476)]['transformMutationsWithChangeset'](_0x2d2c25,_0x2d28d7);if(!g['isTransformMutationsWithChangesetSuccess'](_0x5c6bcd))throw _0x5c6bcd['error'];const _0x40c46e=(_0x420421=(_0x372109=_0x5c6bcd['m2Prime'][0x0])==null?void 0x0:_0x372109[_0x51a0be(0x2d4)])==null?void 0x0:_0x420421[_0x51a0be(0x1e3)];if(Array['isArray'](_0x40c46e)&&_0x40c46e['length']){if(_0x40c46e[_0x51a0be(0x374)]===_0x2d28d7[0x0]['params'][_0x51a0be(0x1e3)][_0x51a0be(0x374)]&&_0x40c46e['every']((_0x515e84,_0x1eb960)=>a[_0x51a0be(0x350)]['equals'](_0x515e84[_0x51a0be(0x18f)],_0x2d28d7[0x0][_0x51a0be(0x2d4)]['selections'][_0x1eb960][_0x51a0be(0x18f)])))return;this[_0x51a0be(0x16d)][_0x51a0be(0x208)](a[_0x51a0be(0x216)])[_0x51a0be(0x2cf)](Z[_0x51a0be(0x34b)]['id'],{'unitId':_0x221090,'subUnitId':_0x14b8d3,'selections':_0x40c46e});}}},exports[_0x4877c9(0x34c)]=fi([Ae(0x0,a['Inject'](a[_0x4877c9(0x198)])),Ae(0x1,g[_0x4877c9(0x150)]),Ae(0x2,a[_0x4877c9(0x2ff)])],exports['SheetTransformSelectionsService']);const ve=a[_0x4877c9(0x229)](_0x4877c9(0x353));var Fe=(_0x53a691=>(_0x53a691[_0x53a691[_0x4877c9(0x199)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x53a691[_0x53a691[_0x4877c9(0x163)]=0x1]=_0x4877c9(0x163),_0x53a691))(Fe||{});const gi=new Set([Z[_0x4877c9(0x41e)]['id']]);function ze(_0x32aa23,_0x1f629f,_0x5022e0,_0x418434,_0x1f68e7){var _0x5a09e4=_0x4877c9,_0x4becdb,_0x1a5ec9,_0x29153d,_0x3199c5;const _0x46b6bc=[];for(const _0x3a2445 of _0x32aa23)if(gi[_0x5a09e4(0x3ce)](_0x3a2445['id'])){if(_0x46b6bc[_0x5a09e4(0x374)]>0x0)break;_0x46b6bc[_0x5a09e4(0x3f5)](_0x3a2445);break;}else _0x46b6bc['push'](_0x3a2445);const _0x1f9b3d=(_0x1a5ec9=(_0x4becdb=_0x1f68e7[_0x5a09e4(0x486)]())==null?void 0x0:_0x4becdb[_0x5a09e4(0x3b0)])!=null?_0x1a5ec9:_0x5a09e4(0x1ff),_0x28e701=(_0x3199c5=(_0x29153d=_0x1f68e7[_0x5a09e4(0x486)]())==null?void 0x0:_0x29153d[_0x5a09e4(0x433)])!=null?_0x3199c5:'unknown';return{'changeset':{'unitID':_0x1f629f,'type':g[_0x5a09e4(0x34d)](_0x5022e0['getUnitType'](_0x1f629f)),'baseRev':_0x418434[_0x5a09e4(0x263)](_0x1f629f),'revision':0x0,'userID':_0x1f9b3d,'memberID':_0x28e701,'mutations':_0x46b6bc},'pendingMutations':_0x32aa23[_0x5a09e4(0x32a)](_0x46b6bc[_0x5a09e4(0x374)])};}function Ii(_0x44fda0,_0x36f559,_0x92399d,_0x2f644b,_0x55ec65){var _0x288040=_0x4877c9,_0x3178eb,_0x16a9c4,_0x71e920,_0x3adf57;const _0x2f942d=[_0x44fda0['reduce']((_0x50d79f,_0x5f49c6)=>{var _0x206a7b=_0x38be,_0x10093a;const {id:_0x170e60}=_0x50d79f,{id:_0x4f82f4,type:_0x1ad992}=_0x5f49c6,_0x467d74=(_0x10093a=_0x50d79f[_0x206a7b(0x2d4)])!=null?_0x10093a:{'actions':null},_0x1e5bd4=_0x5f49c6[_0x206a7b(0x2d4)];if(_0x170e60&&_0x170e60!==_0x4f82f4)throw new Error(_0x206a7b(0x1d2)+_0x170e60+_0x206a7b(0x3eb)+_0x4f82f4+'.');return{..._0x50d79f,'id':_0x4f82f4,'type':_0x1ad992,'params':{'unitId':_0x1e5bd4['unitId'],'textRanges':_0x1e5bd4[_0x206a7b(0x32d)],'actions':a[_0x206a7b(0x424)]['compose'](_0x467d74['actions'],_0x1e5bd4[_0x206a7b(0x361)])}};},{})],_0x56439d=(_0x16a9c4=(_0x3178eb=_0x55ec65['getCurrentUser']())==null?void 0x0:_0x3178eb[_0x288040(0x3b0)])!=null?_0x16a9c4:'unknown',_0x7fe28b=(_0x3adf57=(_0x71e920=_0x55ec65['getCurrentUser']())==null?void 0x0:_0x71e920[_0x288040(0x433)])!=null?_0x3adf57:_0x288040(0x1ff);return{'changeset':{'unitID':_0x36f559,'type':g[_0x288040(0x34d)](_0x92399d[_0x288040(0x1ab)](_0x36f559)),'baseRev':_0x2f644b['getCurrentRevOfUnit'](_0x36f559),'revision':0x0,'userID':_0x56439d,'memberID':_0x7fe28b,'mutations':_0x2f942d},'pendingMutations':[]};}function yt(_0x2f6025,_0x500e80){var _0x286d3d=_0x4877c9;const _0xd10d03=new j['ReplaySubject'](0x1);return setTimeout(()=>_0xd10d03[_0x286d3d(0x46f)](_0x500e80),_0x2f6025),_0xd10d03[_0x286d3d(0x134)]()[_0x286d3d(0x432)](j[_0x286d3d(0x416)](0x1));}const mi={'id':Z[_0x4877c9(0x22a)]['id'],'type':a[_0x4877c9(0x1cb)][_0x4877c9(0x3b7)],'params':{}};var Ei=Object[_0x4877c9(0x2ac)],ce=(_0x41cb70,_0x46d3ea,_0x2fe3a5,_0x433a27)=>{var _0x2dc492=_0x4877c9;for(var _0x364654=_0x433a27>0x1?void 0x0:_0x433a27?Ei(_0x46d3ea,_0x2fe3a5):_0x46d3ea,_0x46f18b=_0x41cb70[_0x2dc492(0x374)]-0x1,_0x436139;_0x46f18b>=0x0;_0x46f18b--)(_0x436139=_0x41cb70[_0x46f18b])&&(_0x364654=_0x436139(_0x364654)||_0x364654);return _0x364654;},w=(_0x4a9a5f,_0x17e482)=>(_0xe87743,_0x2a8ff0)=>_0x17e482(_0xe87743,_0x2a8ff0,_0x4a9a5f),Ve=(_0x48e4cb=>(_0x48e4cb[_0x4877c9(0x234)]=_0x4877c9(0x180),_0x48e4cb['SYNCED']=_0x4877c9(0x1c7),_0x48e4cb[_0x4877c9(0x438)]='pending',_0x48e4cb[_0x4877c9(0x426)]=_0x4877c9(0x1a4),_0x48e4cb[_0x4877c9(0x15f)]=_0x4877c9(0x428),_0x48e4cb[_0x4877c9(0x436)]=_0x4877c9(0x184),_0x48e4cb['CONFLICT']=_0x4877c9(0x1fe),_0x48e4cb['OFFLINE']=_0x4877c9(0x157),_0x48e4cb))(Ve||{});const Nt=0xea60;class he{constructor(_0x31adb5,_0x29dfb0,_0x33c25c,_0xb0b51,_0x2b3815,_0x10745f,_0x138dfa,_0xb3368c,_0x4dc81e){var _0x1cf48f=_0x4877c9;A(this,_0x1cf48f(0x160),null),A(this,_0x1cf48f(0x1a5),[]),(this['unitID']=_0x31adb5,this['type']=_0x29dfb0,this[_0x1cf48f(0x37d)]=_0x2b3815,this[_0x1cf48f(0x259)]=_0x10745f,this[_0x1cf48f(0x34f)]=_0x138dfa,this['_revisionService']=_0xb3368c,this['_localCacheService']=_0x4dc81e,this[_0x1cf48f(0x160)]=_0x33c25c,this['_pendingMutations']=_0xb0b51);}[_0x4877c9(0x29a)](_0x49620e){var _0x54e8e3=_0x4877c9;const _0xa6b523=this['_revisionService'][_0x54e8e3(0x263)](this[_0x54e8e3(0x1bd)]);return _0x49620e[_0x54e8e3(0x1b5)]>_0xa6b523+0x1?(this[_0x54e8e3(0x37d)]['onMissingChangesets']({'from':_0xa6b523,'to':_0x49620e[_0x54e8e3(0x1b5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x29d833){var _0x3c7cce=_0x4877c9;this[_0x3c7cce(0x34f)][_0x3c7cce(0x357)](this[_0x3c7cce(0x1bd)],_0x29d833);}['_transformSelections'](_0x32f68b){var _0x35d0a1=_0x4877c9,_0x5c7bea,_0xfa61fd;(_0xfa61fd=(_0x5c7bea=this['_handler'])[_0x35d0a1(0x47a)])==null||_0xfa61fd[_0x35d0a1(0x45b)](_0x5c7bea,_0x32f68b);}['_transformIMECache'](_0xc8a8f5){var _0x2765cc=_0x4877c9,_0x89c46f,_0x5a387c;return(_0x5a387c=(_0x89c46f=this[_0x2765cc(0x37d)])['onTransformIME'])==null?void 0x0:_0x5a387c[_0x2765cc(0x45b)](_0x89c46f,_0xc8a8f5);}[_0x4877c9(0x195)](_0x4a5a4b){var _0x4686b8=_0x4877c9,_0x4a9b15,_0x2db4d8;return(_0x2db4d8=(_0x4a9b15=this[_0x4686b8(0x37d)])[_0x4686b8(0x317)])==null?void 0x0:_0x2db4d8[_0x4686b8(0x45b)](_0x4a9b15,_0x4a5a4b);}[_0x4877c9(0x39c)](_0xfda7eb){var _0x382091=_0x4877c9,_0x31603c,_0x51c838,_0x4c66c3;return(_0x4c66c3=(_0x51c838=(_0x31603c=this[_0x382091(0x37d)])[_0x382091(0x3f9)])==null?void 0x0:_0x51c838[_0x382091(0x45b)](_0x31603c,_0xfda7eb))!=null?_0x4c66c3:_0xfda7eb;}['_transformRemoteChangesetByStateCache'](_0x48fd1b){var _0x5de628=_0x4877c9,_0x21db9e,_0x52b9a8,_0x3d5765;return(_0x3d5765=(_0x52b9a8=(_0x21db9e=this[_0x5de628(0x37d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x52b9a8['call'](_0x21db9e,_0x48fd1b))!=null?_0x3d5765:_0x48fd1b;}[_0x4877c9(0x167)](_0xda833a){var _0x3541bd=_0x4877c9,_0x3be4fb,_0x15395d;if(this[_0x3541bd(0x1a8)]===X[_0x3541bd(0x29f)]){const {unitID:_0x3faee3,mutations:_0x395738,memberID:_0x1b245f}=_0xda833a,_0x5bf406=_0x395738[0x0][_0x3541bd(0x2d4)][_0x3541bd(0x32d)];Array[_0x3541bd(0x2ea)](_0x5bf406)&&_0x5bf406['length']>0x0&&((_0x15395d=(_0x3be4fb=this[_0x3541bd(0x37d)])['onSyncEditingCollabCursor'])==null||_0x15395d[_0x3541bd(0x45b)](_0x3be4fb,{'unitID':_0x3faee3,'memberID':_0x1b245f,'textRanges':_0x5bf406}));}}[_0x4877c9(0x248)](){var _0x1d5ead=_0x4877c9,_0x380d0a;(_0x380d0a=this['_localCacheService'])==null||_0x380d0a[_0x1d5ead(0x375)](this[_0x1d5ead(0x1bd)],this[_0x1d5ead(0x1a8)],this['_awaitingChangeset'],this[_0x1d5ead(0x1a5)]);}[_0x4877c9(0x36b)](){var _0x1f1d06=_0x4877c9;return this[_0x1f1d06(0x35e)]['getCurrentRevOfUnit'](this[_0x1f1d06(0x1bd)]);}[_0x4877c9(0x164)](){var _0x138ed0=_0x4877c9;this[_0x138ed0(0x35e)][_0x138ed0(0x274)](this[_0x138ed0(0x1bd)]);}[_0x4877c9(0x243)](_0x4d6d9b){var _0x4cc589=_0x4877c9,_0x4a1a25;let _0x200024=this['_transformRemoteChangesetByIMECache'](_0x4d6d9b);_0x200024=this[_0x4cc589(0x242)](_0x200024);const _0x85151=a[_0x4cc589(0x212)](_0x200024[_0x4cc589(0x182)],this[_0x4cc589(0x259)],{'fromCollab':!0x0});if(!_0x85151[_0x4cc589(0x3cc)])throw _0x85151[_0x4cc589(0x44d)]instanceof Error?_0x85151['error']:new Error((_0x4a1a25=_0x85151[_0x4cc589(0x44d)])!=null?_0x4a1a25:_0x4cc589(0x409));this['_transformIMECache'](_0x200024),this['_transformStateCache'](_0x200024),this[_0x4cc589(0x308)](_0x4d6d9b),this[_0x4cc589(0x1cd)](_0x200024),this[_0x4cc589(0x167)](_0x200024),this[_0x4cc589(0x164)]();}}exports[_0x4877c9(0x284)]=class extends he{constructor(_0x1c778c,_0x5f49a2,_0x3abb4d,_0x33e8f4,_0x4e06a9,_0xd64f83,_0xcc47a1,_0x53c23f,_0x4c1191,_0x200788){var _0x5ae3a7=_0x4877c9;super(_0x1c778c,_0x5f49a2,null,[],_0x3abb4d,_0xcc47a1,_0xd64f83,_0x33e8f4,_0x200788),A(this,_0x5ae3a7(0x1dc),_0x5ae3a7(0x1c7)),(this['_injector']=_0x4e06a9,this['_logService']=_0x53c23f,this[_0x5ae3a7(0x476)]=_0x4c1191,this[_0x5ae3a7(0x22c)]=_0x200788);}[_0x4877c9(0x31b)](_0x3e0c8a){var _0xc902fb=_0x4877c9;const _0x2a22e0=this[_0xc902fb(0x16d)][_0xc902fb(0x18e)](exports['PendingState'],this['unitID'],this['type'],[_0x3e0c8a],this[_0xc902fb(0x37d)]);return _0x2a22e0[_0xc902fb(0x441)](),_0x2a22e0[_0xc902fb(0x248)](),_0x2a22e0;}[_0x4877c9(0x2b2)](_0x4b317c){var _0x288a08=_0x4877c9;if(this[_0x288a08(0x29a)](_0x4b317c))return this[_0x288a08(0x16d)][_0x288a08(0x18e)](exports[_0x288a08(0x141)],this[_0x288a08(0x1bd)],this[_0x288a08(0x1a8)],null,[],null,[_0x4b317c],this[_0x288a08(0x37d)]);try{const _0x2c8216=this[_0x288a08(0x476)][_0x288a08(0x3d5)](_0x4b317c,[mi]);if(g[_0x288a08(0x358)](_0x2c8216)){const {c1Prime:_0x39b3bb}=_0x2c8216;return this[_0x288a08(0x243)](_0x39b3bb),this;}throw _0x2c8216[_0x288a08(0x44d)];}catch(_0x59c748){return this[_0x288a08(0x14f)]['error'](_0x59c748),this[_0x288a08(0x1f1)](!0x1);}}[_0x4877c9(0x1f1)](_0x25469a){var _0x5bfae5=_0x4877c9;return this[_0x5bfae5(0x16d)]['createInstance'](exports[_0x5bfae5(0x209)],this[_0x5bfae5(0x1bd)],this[_0x5bfae5(0x1a8)],null,[],this[_0x5bfae5(0x37d)],_0x25469a);}[_0x4877c9(0x2b8)](){var _0x65f0dc=_0x4877c9;throw new Error(_0x65f0dc(0x3c3));}['onRemoteRej'](){var _0x24836f=_0x4877c9;throw new Error(_0x24836f(0x161));}['onRemoteRetry'](){return this;}[_0x4877c9(0x28b)](){var _0xb72f6=_0x4877c9;return this[_0xb72f6(0x16d)][_0xb72f6(0x18e)](exports[_0xb72f6(0x257)],this[_0xb72f6(0x1bd)],this[_0xb72f6(0x1a8)],null,[],this['_handler']);}[_0x4877c9(0x14d)](){return this;}[_0x4877c9(0x3f4)](){var _0x5dc092=_0x4877c9;throw new Error(_0x5dc092(0x224));}['fetchMiss'](){var _0x48d34b=_0x4877c9;const _0x158c38=this[_0x48d34b(0x35e)][_0x48d34b(0x263)](this[_0x48d34b(0x1bd)]);return this[_0x48d34b(0x37d)][_0x48d34b(0x2df)]({'from':_0x158c38,'to':0x0}),this[_0x48d34b(0x16d)]['createInstance'](exports[_0x48d34b(0x141)],this[_0x48d34b(0x1bd)],this[_0x48d34b(0x1a8)],null,[],null,[],this[_0x48d34b(0x37d)]);}},exports[_0x4877c9(0x284)]=ce([w(0x3,a['Inject'](g[_0x4877c9(0x2a9)])),w(0x4,a[_0x4877c9(0x385)](a['Injector'])),w(0x5,a[_0x4877c9(0x3c5)]),w(0x6,a[_0x4877c9(0x216)]),w(0x7,a[_0x4877c9(0x445)]),w(0x8,g[_0x4877c9(0x150)]),w(0x9,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x284)]),exports[_0x4877c9(0x32c)]=class extends he{constructor(_0x29dd86,_0x50943e,_0x374426,_0x3a0897,_0x3e1a14,_0x594768,_0x2ec3ef,_0x185c85,_0x481dd7,_0x429658,_0x582f0d,_0x32373a,_0x1a685c,_0x17541e){var _0x173238=_0x4877c9;super(_0x29dd86,_0x50943e,null,_0x374426,_0x3a0897,_0x481dd7,_0x1a685c,_0x594768,_0x17541e),A(this,_0x173238(0x1dc),_0x173238(0x1bf)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x173238(0x3ad),null),(this[_0x173238(0x16d)]=_0x3e1a14,this[_0x173238(0x3b9)]=_0x2ec3ef,this['_logService']=_0x185c85,this['_configService']=_0x429658,this['_transformService']=_0x582f0d,this[_0x173238(0x244)]=_0x32373a);}['appendMutation'](_0x3106e7){var _0x54e905=_0x4877c9;return this['_pendingMutations']['push'](_0x3106e7),this[_0x54e905(0x248)](),this;}[_0x4877c9(0x2b2)](_0x1b96c2){var _0x490736=_0x4877c9;if(this[_0x490736(0x29a)](_0x1b96c2))return this['_clearScheduledTask'](),this[_0x490736(0x16d)][_0x490736(0x18e)](exports[_0x490736(0x141)],this['unitID'],this[_0x490736(0x1a8)],null,this[_0x490736(0x1a5)],null,[_0x1b96c2],this[_0x490736(0x37d)]);try{const _0x44d6d8=this[_0x490736(0x476)][_0x490736(0x3d5)](_0x1b96c2,this[_0x490736(0x1a5)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x44d6d8)){const {c1Prime:_0x98749d,m2Prime:_0x34a811}=_0x44d6d8;this[_0x490736(0x243)](_0x98749d);const _0x367907=this[_0x490736(0x16d)][_0x490736(0x18e)](exports[_0x490736(0x32c)],this[_0x490736(0x1bd)],this[_0x490736(0x1a8)],_0x34a811,this[_0x490736(0x37d)]);this[_0x490736(0x359)]();const _0x2d448b=new Date()[_0x490736(0x48f)](),_0x34119c=this[_0x490736(0x422)]?Math['max'](this[_0x490736(0x422)]-_0x2d448b,0x0):this[_0x490736(0x373)]();return _0x367907[_0x490736(0x441)](_0x34119c),_0x367907;}throw _0x44d6d8['error'];}catch(_0x38837b){return this[_0x490736(0x14f)]['error'](_0x38837b),this['_onConflict'](!0x1);}}[_0x4877c9(0x2b8)](){var _0x512ab5=_0x4877c9;throw new Error(_0x512ab5(0x384));}[_0x4877c9(0x35a)](){var _0x4ae40a=_0x4877c9;throw new Error(_0x4ae40a(0x3d2));}[_0x4877c9(0x1b2)](){return this;}['toggleOffline'](){var _0x3dde3b=_0x4877c9;return this[_0x3dde3b(0x359)](),this['_injector']['createInstance'](exports[_0x3dde3b(0x257)],this[_0x3dde3b(0x1bd)],this[_0x3dde3b(0x1a8)],null,this[_0x3dde3b(0x1a5)],this[_0x3dde3b(0x37d)]);}['toggleOnline'](){return this;}[_0x4877c9(0x441)](_0x529544){var _0x4152a9=_0x4877c9;const _0x2d66f1=_0x529544!=null?_0x529544:this[_0x4152a9(0x373)]();this[_0x4152a9(0x422)]=new Date()['getTime']()+_0x2d66f1,this[_0x4152a9(0x3ad)]=setTimeout(()=>{var _0x55e6a0=_0x4152a9;this[_0x55e6a0(0x359)]();let _0x4ba7dd=null;switch(this[_0x55e6a0(0x1a8)]){case X[_0x55e6a0(0x40d)]:{_0x4ba7dd=ze(this['_pendingMutations'],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x244)],this[_0x55e6a0(0x35e)],this['_memberService']);break;}case X[_0x55e6a0(0x29f)]:{this[_0x55e6a0(0x1a5)][_0x55e6a0(0x166)](_0x3812db=>_0x3812db['id']===ut['RichTextEditingMutation']['id'])?_0x4ba7dd=Ii(this['_pendingMutations'],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x244)],this[_0x55e6a0(0x35e)],this[_0x55e6a0(0x3b9)]):_0x4ba7dd=ze(this[_0x55e6a0(0x1a5)],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x244)],this[_0x55e6a0(0x35e)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x55e6a0(0x1a8)]+_0x55e6a0(0x1b8));}const {changeset:_0x25b702,pendingMutations:_0x35983b}=_0x4ba7dd;this[_0x55e6a0(0x37d)][_0x55e6a0(0x1bc)](_0x25b702);const _0x3f2f6b=_0x35983b[_0x55e6a0(0x374)]?this[_0x55e6a0(0x16d)][_0x55e6a0(0x18e)](exports[_0x55e6a0(0x2f0)],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x1a8)],_0x25b702,_0x35983b,this['_handler'],void 0x0):this[_0x55e6a0(0x16d)]['createInstance'](exports[_0x55e6a0(0x439)],this[_0x55e6a0(0x1bd)],this[_0x55e6a0(0x1a8)],_0x25b702,this[_0x55e6a0(0x37d)]);_0x3f2f6b[_0x55e6a0(0x248)](),this['_handler']['onStateChange'](this,_0x3f2f6b);},_0x2d66f1);}[_0x4877c9(0x373)](){var _0x29a46f=_0x4877c9,_0x45329f;const _0x3679ca=this[_0x29a46f(0x401)][_0x29a46f(0x1f7)](Y);return(_0x45329f=_0x3679ca==null?void 0x0:_0x3679ca[_0x29a46f(0x1d8)])!=null?_0x45329f:jt;}[_0x4877c9(0x3f4)](){var _0x10f3a1=_0x4877c9;throw new Error(_0x10f3a1(0x2ef));}[_0x4877c9(0x359)](){var _0x37246a=_0x4877c9;this['_sendingTimer']!=null&&(clearTimeout(this[_0x37246a(0x3ad)]),this[_0x37246a(0x3ad)]=null);}[_0x4877c9(0x1f1)](_0x199a07){var _0x52f804=_0x4877c9;return this[_0x52f804(0x359)](),this[_0x52f804(0x16d)]['createInstance'](exports['ConflictState'],this[_0x52f804(0x1bd)],this[_0x52f804(0x1a8)],null,this[_0x52f804(0x1a5)],this[_0x52f804(0x37d)],_0x199a07);}},exports[_0x4877c9(0x32c)]=ce([w(0x4,a['Inject'](a[_0x4877c9(0x198)])),w(0x5,a['Inject'](g[_0x4877c9(0x2a9)])),w(0x6,a['Inject'](exports[_0x4877c9(0x3f7)])),w(0x7,a['ILogService']),w(0x8,a[_0x4877c9(0x216)]),w(0x9,a[_0x4877c9(0x1a9)]),w(0xa,g['ITransformService']),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x4877c9(0x3c5)]),w(0xd,a['Optional'](z))],exports[_0x4877c9(0x32c)]),exports[_0x4877c9(0x439)]=class extends he{constructor(_0x13eef9,_0x41af8a,_0x579d87,_0x16e4ae,_0x1f0bcb,_0x4ecd02,_0x3c9b78,_0x2e8f9b,_0x438824,_0x5b877d,_0xa5cd5b){var _0x111cd2=_0x4877c9;super(_0x13eef9,_0x41af8a,_0x579d87,[],_0x16e4ae,_0x3c9b78,_0x5b877d,_0x4ecd02,_0xa5cd5b),A(this,'status','awaiting'),A(this,'_resendTimeout',0x0),A(this,_0x111cd2(0x231)),A(this,_0x111cd2(0x178)),(this[_0x111cd2(0x16d)]=_0x1f0bcb,this[_0x111cd2(0x14f)]=_0x2e8f9b,this[_0x111cd2(0x476)]=_0x438824);}[_0x4877c9(0x31b)](_0x27c0a9){var _0x20b974=_0x4877c9;this[_0x20b974(0x359)]();const _0x193344=this[_0x20b974(0x16d)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x20b974(0x1bd)],this[_0x20b974(0x1a8)],this[_0x20b974(0x160)],[_0x27c0a9],this['_handler'],this[_0x20b974(0x231)]);return _0x193344[_0x20b974(0x248)](),_0x193344;}[_0x4877c9(0x2b2)](_0xca2e34){var _0x5e51ce=_0x4877c9;if(this['_checkMissing'](_0xca2e34))return this[_0x5e51ce(0x359)](),this[_0x5e51ce(0x16d)][_0x5e51ce(0x18e)](exports['FetchingMissState'],this['unitID'],this[_0x5e51ce(0x1a8)],this['_awaitingChangeset'],[],null,[_0xca2e34],this[_0x5e51ce(0x37d)]);try{const _0x22151a=this[_0x5e51ce(0x476)][_0x5e51ce(0x475)]([_0xca2e34],[this[_0x5e51ce(0x160)]],!0x1);if(g[_0x5e51ce(0x15b)](_0x22151a)){const {c1Prime:_0x5b0a27,c2Prime:_0x1c2b5e}=_0x22151a;this[_0x5e51ce(0x243)](_0x5b0a27[0x0]),_0x1c2b5e[0x0][_0x5e51ce(0x2a5)]=this[_0x5e51ce(0x36b)](),this[_0x5e51ce(0x359)]();const _0x148f72=this[_0x5e51ce(0x16d)][_0x5e51ce(0x18e)](exports['AwaitingState'],this[_0x5e51ce(0x1bd)],this[_0x5e51ce(0x1a8)],_0x1c2b5e[0x0],this[_0x5e51ce(0x37d)]);return _0x148f72['_updateLocalCache'](),_0x148f72;}return this[_0x5e51ce(0x1f1)](!0x1);}catch(_0x5e0520){return this[_0x5e51ce(0x14f)][_0x5e51ce(0x44d)](_0x5e0520),this[_0x5e51ce(0x1f1)](!0x1);}}[_0x4877c9(0x2b8)](_0x282f7c){var _0x256b9d=_0x4877c9;this[_0x256b9d(0x359)]();const _0x239b21=this[_0x256b9d(0x35e)][_0x256b9d(0x263)](this[_0x256b9d(0x1bd)]);if(_0x282f7c['revision']<_0x239b21-0x1)return this;if(this[_0x256b9d(0x29a)](_0x282f7c))return this[_0x256b9d(0x16d)][_0x256b9d(0x18e)](exports['FetchingMissState'],this[_0x256b9d(0x1bd)],this[_0x256b9d(0x1a8)],null,[],this[_0x256b9d(0x160)],[],this['_handler']);this[_0x256b9d(0x164)]();const _0x2fdd2a=this[_0x256b9d(0x16d)]['createInstance'](exports[_0x256b9d(0x284)],this[_0x256b9d(0x1bd)],this[_0x256b9d(0x1a8)],this[_0x256b9d(0x37d)]);return _0x2fdd2a[_0x256b9d(0x248)](),_0x2fdd2a;}['onRemoteRej'](_0x12e4ee){var _0x3f5e82=_0x4877c9;return this[_0x3f5e82(0x1f1)](!!(_0x12e4ee!=null&&_0x12e4ee[_0x3f5e82(0x313)]));}[_0x4877c9(0x1b2)](_0x2dc203){var _0x3213e3=_0x4877c9;return this['_resendTimeout']>Nt?this[_0x3213e3(0x28b)]():(this[_0x3213e3(0x231)]=yt(this[_0x3213e3(0x124)],{'timeout':this['_resendTimeout'],'reqId':_0x2dc203[_0x3213e3(0x452)]}),this[_0x3213e3(0x178)]=this[_0x3213e3(0x231)][_0x3213e3(0x1e1)](({reqId:_0x53c5b3,timeout:_0x42bc76})=>{var _0x160468=_0x3213e3;this[_0x160468(0x174)](_0x53c5b3,_0x42bc76);}),this);}[_0x4877c9(0x28b)](){var _0x16e680=_0x4877c9;return this['_clearScheduledTask'](),this[_0x16e680(0x16d)][_0x16e680(0x18e)](exports[_0x16e680(0x257)],this[_0x16e680(0x1bd)],this['type'],this[_0x16e680(0x160)],[],this[_0x16e680(0x37d)]);}[_0x4877c9(0x14d)](){return this;}['resend'](){var _0x5d480f=_0x4877c9;this['_handler'][_0x5d480f(0x1bc)](this['_awaitingChangeset']);}[_0x4877c9(0x1f1)](_0x297dc2){var _0x3cfdaa=_0x4877c9;return this[_0x3cfdaa(0x359)](),this[_0x3cfdaa(0x16d)][_0x3cfdaa(0x18e)](exports[_0x3cfdaa(0x209)],this['unitID'],this[_0x3cfdaa(0x1a8)],this['_awaitingChangeset'],[],this[_0x3cfdaa(0x37d)],_0x297dc2);}[_0x4877c9(0x174)](_0x19dbd8,_0x830ba3){var _0x270760=_0x4877c9,_0x4426aa;_0x19dbd8===((_0x4426aa=this[_0x270760(0x160)])==null?void 0x0:_0x4426aa[_0x270760(0x452)])&&(this['resend'](),this['_resendTimeout']=_0x830ba3===0x0?0x3e8:_0x830ba3*0x2);}[_0x4877c9(0x359)](){var _0x39cc1e=_0x4877c9,_0x2babc1;(_0x2babc1=this[_0x39cc1e(0x178)])==null||_0x2babc1[_0x39cc1e(0x2fd)](),this['_resendTimeout']=0x0;}},exports[_0x4877c9(0x439)]=ce([w(0x4,a['Inject'](a[_0x4877c9(0x198)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x4877c9(0x216)]),w(0x7,a[_0x4877c9(0x445)]),w(0x8,g[_0x4877c9(0x150)]),w(0x9,a['IUndoRedoService']),w(0xa,a['Optional'](z))],exports[_0x4877c9(0x439)]),exports[_0x4877c9(0x2f0)]=class extends he{constructor(_0x40fb33,_0x57aabb,_0x28507a,_0x3c6096,_0xc9a65c,_0x40214d,_0x2e5162,_0x235a69,_0x5034a5,_0xfd7f39,_0xa16c15,_0x2d25c7,_0x12c292){var _0x360642=_0x4877c9;super(_0x40fb33,_0x57aabb,_0x28507a,_0x3c6096,_0xc9a65c,_0x5034a5,_0x2d25c7,_0x235a69,_0x12c292),A(this,'status',_0x360642(0x428)),A(this,_0x360642(0x124),0x0),A(this,'_resendTimer'),A(this,_0x360642(0x178)),(this[_0x360642(0x16d)]=_0x2e5162,this[_0x360642(0x14f)]=_0xfd7f39,this[_0x360642(0x476)]=_0xa16c15,this[_0x360642(0x22c)]=_0x12c292,_0x40214d&&(this[_0x360642(0x231)]=_0x40214d,this[_0x360642(0x178)]=this['_resendTimer'][_0x360642(0x1e1)](({reqId:_0x2837d6,timeout:_0x310158})=>{this['_resendWithTimeout'](_0x2837d6,_0x310158);})));}[_0x4877c9(0x31b)](_0x2c7875){var _0xb4412e=_0x4877c9;return this[_0xb4412e(0x1a5)][_0xb4412e(0x3f5)](_0x2c7875),this;}[_0x4877c9(0x2b2)](_0x585c1a){var _0x2655dd=_0x4877c9;if(this[_0x2655dd(0x29a)](_0x585c1a))return this['_clearScheduledTask'](),this['_injector'][_0x2655dd(0x18e)](exports[_0x2655dd(0x141)],this['unitID'],this[_0x2655dd(0x1a8)],this[_0x2655dd(0x160)],this[_0x2655dd(0x1a5)],null,[_0x585c1a],this[_0x2655dd(0x37d)]);try{const _0xabc432=this['_transformService'][_0x2655dd(0x475)]([_0x585c1a],[this[_0x2655dd(0x160)]],!0x1);if(g[_0x2655dd(0x15b)](_0xabc432)){const {c1Prime:_0x1a46a1,c2Prime:_0x6ddc07}=_0xabc432,_0x59791c=this['_transformService'][_0x2655dd(0x3d5)](_0x1a46a1[0x0],this[_0x2655dd(0x1a5)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x59791c)){const {c1Prime:_0x1d9ef9,m2Prime:_0x12b3a4}=_0x59791c;return this[_0x2655dd(0x243)](_0x1d9ef9),_0x6ddc07[0x0][_0x2655dd(0x2a5)]=this[_0x2655dd(0x36b)](),this[_0x2655dd(0x359)](),this[_0x2655dd(0x16d)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x2655dd(0x1bd)],this[_0x2655dd(0x1a8)],_0x6ddc07[0x0],_0x12b3a4,this[_0x2655dd(0x37d)],void 0x0);}throw _0x59791c['error'];}throw _0xabc432['error'];}catch(_0x34f579){return this[_0x2655dd(0x14f)][_0x2655dd(0x44d)](_0x34f579),this[_0x2655dd(0x1f1)](!0x1);}}[_0x4877c9(0x2b8)](_0xa145be){var _0x851105=_0x4877c9;if(this[_0x851105(0x359)](),this['_checkMissing'](_0xa145be))return this[_0x851105(0x16d)][_0x851105(0x18e)](exports[_0x851105(0x141)],this[_0x851105(0x1bd)],this[_0x851105(0x1a8)],null,this[_0x851105(0x1a5)],this[_0x851105(0x160)],[],this[_0x851105(0x37d)]);this['_incrementRevisionNumber']();const _0x301b86=this[_0x851105(0x16d)][_0x851105(0x18e)](exports[_0x851105(0x32c)],this[_0x851105(0x1bd)],this['type'],this[_0x851105(0x1a5)],this[_0x851105(0x37d)]);return _0x301b86[_0x851105(0x441)](),_0x301b86[_0x851105(0x248)](),_0x301b86;}[_0x4877c9(0x35a)](_0x56234b){var _0x454568=_0x4877c9;return this[_0x454568(0x1f1)](!!(_0x56234b!=null&&_0x56234b[_0x454568(0x313)]));}[_0x4877c9(0x1b2)](_0x187eb4){var _0x2a4904=_0x4877c9;return this[_0x2a4904(0x124)]>Nt?this[_0x2a4904(0x28b)]():(this[_0x2a4904(0x231)]=yt(this[_0x2a4904(0x124)],{'timeout':this[_0x2a4904(0x124)],'reqId':_0x187eb4['reqId']}),this[_0x2a4904(0x178)]=this[_0x2a4904(0x231)]['subscribe'](({reqId:_0x14929d,timeout:_0x5f49df})=>{var _0x4ba3cc=_0x2a4904;this[_0x4ba3cc(0x174)](_0x14929d,_0x5f49df);}),this);}[_0x4877c9(0x28b)](){var _0x55db38=_0x4877c9;return this[_0x55db38(0x359)](),this[_0x55db38(0x16d)][_0x55db38(0x18e)](exports[_0x55db38(0x257)],this['unitID'],this[_0x55db38(0x1a8)],this[_0x55db38(0x160)],this[_0x55db38(0x1a5)],this[_0x55db38(0x37d)]);}['toggleOnline'](){return this;}['resend'](){var _0x2e3e91=_0x4877c9;this[_0x2e3e91(0x37d)][_0x2e3e91(0x1bc)](this[_0x2e3e91(0x160)]);}[_0x4877c9(0x1f1)](_0x45ebab){var _0x1cb3ad=_0x4877c9;return this[_0x1cb3ad(0x359)](),this['_injector'][_0x1cb3ad(0x18e)](exports['ConflictState'],this[_0x1cb3ad(0x1bd)],this['type'],null,this[_0x1cb3ad(0x1a5)],this[_0x1cb3ad(0x37d)],_0x45ebab);}[_0x4877c9(0x174)](_0x41c9b2,_0x3894ca){var _0x2b044d=_0x4877c9,_0x3721b2;_0x41c9b2===((_0x3721b2=this['_awaitingChangeset'])==null?void 0x0:_0x3721b2[_0x2b044d(0x452)])&&(this['resend'](),this[_0x2b044d(0x124)]=_0x3894ca===0x0?0x3e8:_0x3894ca*0x2);}[_0x4877c9(0x359)](){var _0xfca559=_0x4877c9,_0x32af4b;(_0x32af4b=this[_0xfca559(0x178)])==null||_0x32af4b[_0xfca559(0x2fd)](),this[_0xfca559(0x124)]=0x0;}},exports[_0x4877c9(0x2f0)]=ce([w(0x6,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),w(0x7,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),w(0x8,a[_0x4877c9(0x216)]),w(0x9,a['ILogService']),w(0xa,g[_0x4877c9(0x150)]),w(0xb,a[_0x4877c9(0x3c5)]),w(0xc,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x2f0)]),exports[_0x4877c9(0x209)]=class extends he{constructor(_0x4730a1,_0x1299ba,_0x3918b1,_0x233f86,_0x49ead1,_0x220a41=!0x1,_0x2ab8b2,_0x371cd4,_0x39ba36,_0x46dd48,_0x1f6d76,_0x53e0fd,_0x1dbce9){var _0x2e95d1=_0x4877c9;super(_0x4730a1,_0x1299ba,_0x3918b1,_0x233f86,_0x49ead1,_0x371cd4,_0x39ba36,_0x46dd48,_0x1dbce9),A(this,'status',_0x2e95d1(0x1fe)),(this[_0x2e95d1(0x39f)]=_0x220a41,this['_permissionService']=_0x2ab8b2,this[_0x2e95d1(0x299)]=_0x1f6d76,this['_collaborationUIEventService']=_0x53e0fd,this[_0x2e95d1(0x22c)]=_0x1dbce9,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x4877c9(0x31b)](){return this;}[_0x4877c9(0x2b2)](){return this;}[_0x4877c9(0x2b8)](){return this;}[_0x4877c9(0x35a)](){return this;}[_0x4877c9(0x1b2)](){return this;}[_0x4877c9(0x28b)](){return this;}['toggleOnline'](){return this;}[_0x4877c9(0x3f4)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4877c9(0x37f)](){var _0x200163=_0x4877c9,_0x3a886c;(_0x3a886c=this['_localCacheService'])==null||_0x3a886c['updateOfflineData'](this[_0x200163(0x1bd)],this[_0x200163(0x1a8)],null,[]);}[_0x4877c9(0x40c)](){var _0x50b5a3=_0x4877c9;this[_0x50b5a3(0x39f)]?this[_0x50b5a3(0x123)][_0x50b5a3(0x3fb)]({'id':Q[_0x50b5a3(0x24f)]}):this[_0x50b5a3(0x123)][_0x50b5a3(0x3fb)]({'id':Q[_0x50b5a3(0x162)]});}['_disableEditing'](){var _0x3a3e2c=_0x4877c9;this[_0x3a3e2c(0x2c0)]['updatePermissionPoint'](new Z[(_0x3a3e2c(0x222))](this[_0x3a3e2c(0x1bd)])['id'],!0x1);}},exports[_0x4877c9(0x209)]=ce([w(0x6,a[_0x4877c9(0x385)](a[_0x4877c9(0x18d)])),w(0x7,a[_0x4877c9(0x216)]),w(0x8,a[_0x4877c9(0x3c5)]),w(0x9,a[_0x4877c9(0x385)](g['RevisionService'])),w(0xa,a[_0x4877c9(0x385)](a[_0x4877c9(0x349)])),w(0xb,a[_0x4877c9(0x385)](te)),w(0xc,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x209)]),exports['OfflineState']=class extends he{constructor(_0x2dc757,_0x3618dd,_0x4c71db,_0x4557d9,_0x3904f7,_0x2058f0,_0x55b6a3,_0x3a01c3,_0x1d8d33,_0x5e87f2){var _0x186541=_0x4877c9;super(_0x2dc757,_0x3618dd,_0x4c71db,_0x4557d9,_0x3904f7,_0x3a01c3,_0x1d8d33,_0x55b6a3,_0x5e87f2),A(this,'status','offline'),this[_0x186541(0x16d)]=_0x2058f0;}[_0x4877c9(0x31b)](_0x7af4e5){var _0x1b7d19=_0x4877c9;return this[_0x1b7d19(0x1a5)][_0x1b7d19(0x3f5)](_0x7af4e5),this['_updateLocalCache'](),this;}[_0x4877c9(0x2b2)](_0x23067a){var _0x558b67=_0x4877c9;throw new Error(_0x558b67(0x372));}['onRemoteAck'](){var _0x3eaffd=_0x4877c9;throw new Error(_0x3eaffd(0x487));}[_0x4877c9(0x35a)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4877c9(0x1b2)](){return this;}[_0x4877c9(0x28b)](){return this;}[_0x4877c9(0x14d)](){var _0xc5bb92=_0x4877c9;const {_injector:_0x34dcdd,_pendingMutations:_0x3ee12a,_awaitingChangeset:_0x4f64c9,unitID:_0x6c1b49,_handler:_0x25370e,type:_0x1fc22b}=this,_0xa23871=Ut(_0x34dcdd,_0x6c1b49,_0x1fc22b,_0x4f64c9,_0x3ee12a,_0x25370e);return _0xa23871 instanceof exports['PendingState']?_0xa23871[_0xc5bb92(0x441)]():(_0xa23871 instanceof exports[_0xc5bb92(0x2f0)]||_0xa23871 instanceof exports[_0xc5bb92(0x439)])&&_0xa23871[_0xc5bb92(0x3f4)](),_0xa23871;}[_0x4877c9(0x3f4)](){var _0x268163=_0x4877c9;throw new Error(_0x268163(0x3b3));}},exports[_0x4877c9(0x257)]=ce([w(0x5,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),w(0x6,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),w(0x7,a['ICommandService']),w(0x8,a[_0x4877c9(0x3c5)]),w(0x9,a['Optional'](z))],exports[_0x4877c9(0x257)]),exports[_0x4877c9(0x141)]=class extends he{constructor(_0x47a34c,_0x5700da,_0x1ebd0c,_0x3d8d2a,_0x12425c,_0x5b824a,_0x4c7c8d,_0xcdc451,_0x299837,_0x487f03,_0x319d69,_0x25e34f,_0x22caec,_0x5b3e94){var _0x18a949=_0x4877c9;super(_0x47a34c,_0x5700da,_0x1ebd0c,_0x3d8d2a,_0x4c7c8d,_0x319d69,_0x25e34f,_0x299837,_0x5b3e94),A(this,_0x18a949(0x1dc),_0x18a949(0x184)),(this[_0x18a949(0x249)]=_0x12425c,this['_queuedRemoteChangesets']=_0x5b824a,this['_injector']=_0xcdc451,this[_0x18a949(0x14f)]=_0x487f03,this[_0x18a949(0x476)]=_0x22caec,this[_0x18a949(0x22c)]=_0x5b3e94);}[_0x4877c9(0x3dc)](_0xbb473c){var _0x76bba0=_0x4877c9;try{const _0x13d1af=[..._0xbb473c,...this['_queuedRemoteChangesets']],_0x216ccc=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x76bba0(0x3ff)](_0x1c9a83=>!!_0x1c9a83);let _0x5377e5,_0x531efc;if(_0x216ccc[_0x76bba0(0x374)]){const _0x560528=this['_transformService'][_0x76bba0(0x475)](_0x13d1af,_0x216ccc,!0x1);if(!g['isTransformChangesetsSuccess'](_0x560528))throw _0x560528['error'];_0x5377e5=_0x560528[_0x76bba0(0x47b)],_0x531efc=_0x560528[_0x76bba0(0x286)];}else _0x5377e5=_0x13d1af,_0x531efc=[];let _0x3d82f2=this[_0x76bba0(0x1a5)];_0x5377e5[_0x76bba0(0x348)](_0x3b0863=>{var _0x396fde=_0x76bba0;let _0x407e45;if(_0x3d82f2[_0x396fde(0x374)]){const _0x56e688=this['_transformService']['transformMutationsWithChangeset'](_0x3b0863,_0x3d82f2);if(!g['isTransformMutationsWithChangesetSuccess'](_0x56e688))throw _0x56e688[_0x396fde(0x44d)];_0x407e45=_0x56e688[_0x396fde(0x47b)],_0x3d82f2=_0x56e688[_0x396fde(0x3d1)];}else _0x407e45=_0x3b0863;this['_executeRemoteChangeset'](_0x407e45);}),this['_acknowledgedAwaitingChangeset']&&this[_0x76bba0(0x164)](),this[_0x76bba0(0x160)]&&_0x531efc['length']&&(_0x531efc[0x0][_0x76bba0(0x2a5)]=this['_getCurrentRevision']());let _0x22cbcd;if(this[_0x76bba0(0x160)]&&_0x3d82f2[_0x76bba0(0x374)]!==0x0)_0x22cbcd=this[_0x76bba0(0x16d)][_0x76bba0(0x18e)](exports[_0x76bba0(0x2f0)],this[_0x76bba0(0x1bd)],this[_0x76bba0(0x1a8)],_0x531efc[0x0],_0x3d82f2,this[_0x76bba0(0x37d)],void 0x0);else{if(this[_0x76bba0(0x160)]&&_0x3d82f2[_0x76bba0(0x374)]===0x0)_0x531efc[0x0]['baseRev']=this[_0x76bba0(0x36b)](),_0x22cbcd=this[_0x76bba0(0x16d)][_0x76bba0(0x18e)](exports[_0x76bba0(0x439)],this[_0x76bba0(0x1bd)],this['type'],_0x531efc[0x0],this['_handler']);else{if(_0x3d82f2['length']!==0x0){const _0x45e9b8=this[_0x76bba0(0x16d)]['createInstance'](exports[_0x76bba0(0x32c)],this[_0x76bba0(0x1bd)],this[_0x76bba0(0x1a8)],_0x3d82f2,this[_0x76bba0(0x37d)]);_0x45e9b8[_0x76bba0(0x441)](),_0x22cbcd=_0x45e9b8;}else _0x22cbcd=this['_injector'][_0x76bba0(0x18e)](exports[_0x76bba0(0x284)],this[_0x76bba0(0x1bd)],this['type'],this[_0x76bba0(0x37d)]);}}return _0x22cbcd[_0x76bba0(0x248)](),_0x22cbcd;}catch(_0x203caf){return this[_0x76bba0(0x14f)][_0x76bba0(0x44d)]('[FetchMissState]',_0x76bba0(0x3cd),_0x203caf),this[_0x76bba0(0x16d)][_0x76bba0(0x18e)](exports[_0x76bba0(0x209)],this[_0x76bba0(0x1bd)],this[_0x76bba0(0x1a8)],this[_0x76bba0(0x160)],this['_pendingMutations'],this[_0x76bba0(0x37d)],!0x1);}}[_0x4877c9(0x3f4)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4877c9(0x31b)](_0xc9005a){var _0x502665=_0x4877c9;return this[_0x502665(0x1a5)][_0x502665(0x3f5)](_0xc9005a),this;}[_0x4877c9(0x2b2)](_0x2412f3){var _0x4f3c0f=_0x4877c9;return this['_queuedRemoteChangesets'][_0x4f3c0f(0x3f5)](_0x2412f3),this;}[_0x4877c9(0x2b8)](_0x4c0d8c){var _0x589a8f=_0x4877c9;if(this[_0x589a8f(0x160)])return this[_0x589a8f(0x249)]=this['_awaitingChangeset'],this[_0x589a8f(0x160)]=null,this;throw new Error(_0x589a8f(0x269));}[_0x4877c9(0x35a)](_0x4519d4){var _0x1d381e=_0x4877c9;return this[_0x1d381e(0x1f1)](!!(_0x4519d4!=null&&_0x4519d4['isPermissionRej']));}[_0x4877c9(0x1b2)](){return this;}[_0x4877c9(0x28b)](){var _0x17151f=_0x4877c9;return this[_0x17151f(0x16d)]['createInstance'](exports[_0x17151f(0x257)],this[_0x17151f(0x1bd)],this[_0x17151f(0x1a8)],this[_0x17151f(0x160)],this['_pendingMutations'],this['_handler']);}[_0x4877c9(0x14d)](){return this;}[_0x4877c9(0x1f1)](_0x1b865c){var _0xbc7c49=_0x4877c9;return this[_0xbc7c49(0x16d)][_0xbc7c49(0x18e)](exports[_0xbc7c49(0x209)],this[_0xbc7c49(0x1bd)],this['type'],this[_0xbc7c49(0x160)],this['_pendingMutations'],this['_handler'],_0x1b865c);}},exports[_0x4877c9(0x141)]=ce([w(0x7,a[_0x4877c9(0x385)](a['Injector'])),w(0x8,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),w(0x9,a['ILogService']),w(0xa,a['ICommandService']),w(0xb,a[_0x4877c9(0x3c5)]),w(0xc,g['ITransformService']),w(0xd,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x141)]);function Ut(_0x591d7d,_0x1fb60d,_0x17a715,_0x14d789,_0x28527a,_0x17971f){var _0x4ad090=_0x4877c9;return _0x14d789&&_0x28527a[_0x4ad090(0x374)]?_0x591d7d[_0x4ad090(0x18e)](exports['AwaitingWithPendingState'],_0x1fb60d,_0x17a715,_0x14d789,_0x28527a,_0x17971f,void 0x0):_0x14d789?_0x591d7d[_0x4ad090(0x18e)](exports[_0x4ad090(0x439)],_0x1fb60d,_0x17a715,_0x14d789,_0x17971f):_0x28527a[_0x4ad090(0x374)]?_0x591d7d[_0x4ad090(0x18e)](exports[_0x4ad090(0x32c)],_0x1fb60d,_0x17a715,_0x28527a,_0x17971f):_0x591d7d[_0x4ad090(0x18e)](exports[_0x4ad090(0x284)],_0x1fb60d,_0x17a715,_0x17971f);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x6fd22d,_0x27dc9f,_0x20a3d4,_0x4c120b)=>{var _0x492f31=_0x4877c9;for(var _0x28b82c=_0x4c120b>0x1?void 0x0:_0x4c120b?Ci(_0x27dc9f,_0x20a3d4):_0x27dc9f,_0x59e482=_0x6fd22d[_0x492f31(0x374)]-0x1,_0x2fe913;_0x59e482>=0x0;_0x59e482--)(_0x2fe913=_0x6fd22d[_0x59e482])&&(_0x28b82c=_0x2fe913(_0x28b82c)||_0x28b82c);return _0x28b82c;},$=(_0x18ac10,_0x12442b)=>(_0x4442f8,_0x1593e5)=>_0x12442b(_0x4442f8,_0x1593e5,_0x18ac10);exports[_0x4877c9(0x12c)]=class extends a[_0x4877c9(0x46d)]{constructor(_0x1c1253,_0x163e20,_0x2d8a22,_0x3854e7,_0x33f436,_0x457e5d,_0x445fde,_0x48f9d0,_0x39c882,_0x1b2a38,_0x2f59a2,_0x4564c9,_0x20e1fc){var _0x177672=_0x4877c9;super(),A(this,_0x177672(0x228),new j[(_0x177672(0x245))](null)),A(this,_0x177672(0x470),this[_0x177672(0x228)][_0x177672(0x134)]()),A(this,_0x177672(0x3b6)),A(this,_0x177672(0x113),!0x1),A(this,_0x177672(0x1b0),''),A(this,'_changesetReqId',0x0),A(this,_0x177672(0x2ad),this[_0x177672(0x470)]['pipe'](j[_0x177672(0x3df)](_0x2a26c5=>_0x2a26c5?_0x2a26c5[_0x177672(0x1dc)]:Ve['OFFLINE']),j[_0x177672(0x485)](0x1))),A(this,_0x177672(0x2eb),!0x1),A(this,_0x177672(0x2b4),[]),(this['unitID']=_0x1c1253,this['session']=_0x163e20,this[_0x177672(0x122)]=_0x2d8a22,this[_0x177672(0x16d)]=_0x3854e7,this[_0x177672(0x2e2)]=_0x33f436,this[_0x177672(0x299)]=_0x457e5d,this[_0x177672(0x35e)]=_0x445fde,this['_eventService']=_0x48f9d0,this[_0x177672(0x14f)]=_0x39c882,this[_0x177672(0x259)]=_0x1b2a38,this['_permissionService']=_0x2f59a2,this[_0x177672(0x129)]=_0x4564c9,this[_0x177672(0x1f2)]=_0x20e1fc);}get[_0x4877c9(0x11e)](){var _0xea0916=_0x4877c9;return this[_0xea0916(0x3b6)];}async['init'](){var _0x43f001=_0x4877c9;if(this[_0x43f001(0x11e)])throw new Error(_0x43f001(0x119));await this[_0x43f001(0x169)]();}[_0x4877c9(0x1f0)](){var _0x361805=_0x4877c9;return this[_0x361805(0x113)]=!0x0,a[_0x361805(0x23a)](()=>{var _0x538e8b=_0x361805;this[_0x538e8b(0x113)]=!0x1,this[_0x538e8b(0x221)]();});}['onLocalMutation'](_0x5b19af){this['_onLocalMutation'](_0x5b19af);}['_updateState'](_0x142858){var _0x55b5ad=_0x4877c9;this[_0x55b5ad(0x3b6)]=_0x142858,this[_0x55b5ad(0x228)][_0x55b5ad(0x46f)](_0x142858);}async[_0x4877c9(0x169)](){var _0x3b31a4=_0x4877c9,_0x2509ce;this[_0x3b31a4(0x26c)](await this[_0x3b31a4(0x2af)]()),this[_0x3b31a4(0x129)]&&((_0x2509ce=this[_0x3b31a4(0x129)])==null||_0x2509ce[_0x3b31a4(0x31c)](this['unitID']),this[_0x3b31a4(0x21a)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x3b31a4(0x1bd)])['subscribe'](_0x1dfc72=>{var _0x4883b3=_0x3b31a4;this[_0x4883b3(0x14f)][_0x4883b3(0x223)](_0x4883b3(0x1da),'editing\x20status\x20changed\x20to',_0x1dfc72),_0x1dfc72===Fe['OTHER_CLIENTS_EDITING']?(this['_eventService']['emitEvent']({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x4883b3(0x2c0)][_0x4883b3(0x27c)](new Z[(_0x4883b3(0x222))](this[_0x4883b3(0x1bd)])['id'],!0x1),this[_0x4883b3(0x2c0)][_0x4883b3(0x127)](!0x1)):(this[_0x4883b3(0x2c0)][_0x4883b3(0x27c)](new Z['WorkbookEditablePermission'](this[_0x4883b3(0x1bd)])['id'],!0x0),this[_0x4883b3(0x2c0)][_0x4883b3(0x127)](!0x0));})));let _0x1105ac=!0x1;return this[_0x3b31a4(0x21a)](this['session'][_0x3b31a4(0x2f1)]['subscribe'](_0x92116c=>{var _0x21234d=_0x3b31a4;_0x92116c===se[_0x21234d(0x24d)]?this[_0x21234d(0x356)](_0x1105ac):_0x92116c===se[_0x21234d(0x41c)]&&(_0x1105ac=!0x0,this[_0x21234d(0x16a)]());})),this[_0x3b31a4(0x21a)](this[_0x3b31a4(0x17f)][_0x3b31a4(0x19a)]['subscribe'](_0x1e962b=>{var _0xbb7711=_0x3b31a4;try{switch(_0x1e962b[_0xbb7711(0x24c)]){case g['CollaborationEvent'][_0xbb7711(0x3f0)]:{this['_onRemoteChangeset'](g[_0xbb7711(0x27e)](_0x1e962b['data']));break;}case g[_0xbb7711(0x1f6)][_0xbb7711(0x24a)]:{this[_0xbb7711(0x20f)](_0x1e962b[_0xbb7711(0x2dd)]);break;}case g[_0xbb7711(0x1f6)][_0xbb7711(0x419)]:{this[_0xbb7711(0x17a)]();break;}case g[_0xbb7711(0x1f6)][_0xbb7711(0x298)]:{this['_onRemoteRetry'](_0x1e962b['data']);break;}case g[_0xbb7711(0x1f6)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xbb7711(0x3be)](_0x1e962b[_0xbb7711(0x2dd)][_0xbb7711(0x44e)][_0xbb7711(0x3df)](_0xdcdf82=>g[_0xbb7711(0x27e)](_0xdcdf82)));break;}case g['CollaborationEvent'][_0xbb7711(0x2a6)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0xbb7711(0x1f6)][_0xbb7711(0x3c8)]:break;}}catch(_0x363e39){throw console[_0xbb7711(0x44d)](_0xbb7711(0x19e),_0x363e39),_0x363e39;}})),this[_0x3b31a4(0x3b6)];}[_0x4877c9(0x3f3)](){var _0x4bbff4=_0x4877c9;this[_0x4bbff4(0x2eb)]=!0x1;}['_lockTransition'](){var _0x2c3c59=_0x4877c9;if(this['_transitionLocked'])throw new Error(_0x2c3c59(0x280));this['_transitionLocked']=!0x0;}[_0x4877c9(0x37a)](_0x4e1437){var _0x248b4b=_0x4877c9;this[_0x248b4b(0x125)](),this[_0x248b4b(0x26c)](this[_0x248b4b(0x3b6)]['appendMutation'](_0x4e1437)),this[_0x248b4b(0x3f3)]();}[_0x4877c9(0x444)](_0x3c8e06){var _0xf1a637=_0x4877c9;if(!(_0x3c8e06[_0xf1a637(0x1b5)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0xf1a637(0x113)]){this[_0xf1a637(0x2b4)][_0xf1a637(0x3f5)](_0x3c8e06);return;}this[_0xf1a637(0x23b)](_0x3c8e06);}}['_exhaustRemoteChangesetQueue'](){var _0x44310a=_0x4877c9;this[_0x44310a(0x2b4)][_0x44310a(0x348)](_0x292c3e=>this[_0x44310a(0x23b)](_0x292c3e)),this['_remoteChangesetQueue']=[];}[_0x4877c9(0x23b)](_0x3c1389){var _0x343a73=_0x4877c9;const _0x34bd2f=this[_0x343a73(0x2e2)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x343a73(0x227)]()[_0x343a73(0x1cf)])(_0x3c1389[_0x343a73(0x182)],null)||_0x3c1389[_0x343a73(0x182)],_0x205e0e={..._0x3c1389,'mutations':_0x34bd2f};this['_lockTransition'](),this['_updateState'](this['_state'][_0x343a73(0x2b2)](_0x205e0e)),this['_unlockTransition']();}['_onRemoteACK'](_0x3a49f6){var _0x579146=_0x4877c9;this[_0x579146(0x125)](),this[_0x579146(0x26c)](this[_0x579146(0x3b6)]['onRemoteAck'](_0x3a49f6)),this[_0x579146(0x3f3)]();}[_0x4877c9(0x17a)](_0x578dfe){var _0x16a830=_0x4877c9;this[_0x16a830(0x125)](),this[_0x16a830(0x26c)](this[_0x16a830(0x3b6)][_0x16a830(0x35a)](_0x578dfe)),this[_0x16a830(0x3f3)]();}[_0x4877c9(0x3ca)](_0x2a47b7){var _0x1a9fe7=_0x4877c9;this[_0x1a9fe7(0x125)](),this['_updateState'](this[_0x1a9fe7(0x3b6)]['onRemoteRetry'](_0x2a47b7)),this[_0x1a9fe7(0x3f3)]();}[_0x4877c9(0x3be)](_0x3a4fd3){var _0x5fc5ef=_0x4877c9;if(!(this[_0x5fc5ef(0x3b6)]instanceof exports[_0x5fc5ef(0x141)]))throw new TypeError(_0x5fc5ef(0x3e3));const _0x5c3e81=_0x3a4fd3['map'](_0x4b977b=>{var _0x7d966e=_0x5fc5ef;const _0x5e0250=this[_0x7d966e(0x2e2)][_0x7d966e(0x251)]['fetchThroughInterceptors'](this[_0x7d966e(0x2e2)][_0x7d966e(0x251)][_0x7d966e(0x227)]()[_0x7d966e(0x1cf)])(_0x4b977b[_0x7d966e(0x182)],null)||_0x4b977b[_0x7d966e(0x182)];return{..._0x4b977b,'mutations':_0x5e0250};});this['_lockTransition'](),this[_0x5fc5ef(0x26c)](this[_0x5fc5ef(0x3b6)][_0x5fc5ef(0x3dc)](_0x5c3e81)),this[_0x5fc5ef(0x3f3)]();}[_0x4877c9(0x16a)](){var _0x14549c=_0x4877c9;this[_0x14549c(0x125)](),this[_0x14549c(0x26c)](this[_0x14549c(0x3b6)][_0x14549c(0x28b)]()),this[_0x14549c(0x3f3)]();}['_toggleOnline'](_0x1053b8=!0x1){var _0x1eb2a7=_0x4877c9;this['_lockTransition'](),this[_0x1eb2a7(0x26c)](this[_0x1eb2a7(0x3b6)]['toggleOnline']()),this['_unlockTransition']();const _0x27e3d5=this['_state'];_0x1053b8&&_0x27e3d5 instanceof exports['SyncedState']&&(this[_0x1eb2a7(0x125)](),this[_0x1eb2a7(0x26c)](_0x27e3d5[_0x1eb2a7(0x232)]()),this[_0x1eb2a7(0x3f3)]());}async[_0x4877c9(0x2af)](){return new Promise(_0x1e19f5=>{var _0x5deef0=_0x38be;this[_0x5deef0(0x17f)]['sessionStatus$'][_0x5deef0(0x432)](j[_0x5deef0(0x416)](0x1))[_0x5deef0(0x1e1)](async _0x5c4472=>{var _0x19b1fc=_0x5deef0;_0x1e19f5(await this[_0x19b1fc(0x191)](_0x5c4472===se[_0x19b1fc(0x24d)]));});});}[_0x4877c9(0x1e4)](){var _0x162b93=_0x4877c9;const _0x3db507=this[_0x162b93(0x1bd)];return{'onStateChange':(_0x4fca3d,_0x38fa59)=>{var _0x152a9d=_0x162b93;if(_0x4fca3d!==this[_0x152a9d(0x3b6)])throw new Error(_0x152a9d(0x334)+_0x4fca3d[_0x152a9d(0x1dc)]+_0x152a9d(0x39a)+_0x38fa59['status']+_0x152a9d(0x36e)+this[_0x152a9d(0x3b6)][_0x152a9d(0x1dc)]);this['_updateState'](_0x38fa59);},'onSendChangeset':_0x768276=>{var _0x3a4096=_0x162b93;_0x768276[_0x3a4096(0x1eb)]||(_0x768276[_0x3a4096(0x1eb)]=this[_0x3a4096(0x1b0)],_0x768276[_0x3a4096(0x452)]=++this[_0x3a4096(0x473)]);const _0x2cde8a={'eventID':g[_0x3a4096(0x1f6)][_0x3a4096(0x312)],'data':{'unitID':_0x768276[_0x3a4096(0x1bd)],'unitType':this[_0x3a4096(0x122)],'changeset':_0x768276,'memberID':this[_0x3a4096(0x17f)][_0x3a4096(0x36c)]()}};this[_0x3a4096(0x17f)][_0x3a4096(0x43c)](_0x2cde8a,this[_0x3a4096(0x1bd)]);},'onMissingChangesets':({from:_0xed36e4,to:_0xb79723})=>{var _0x321ec6=_0x162b93;this[_0x321ec6(0x14f)][_0x321ec6(0x223)](_0x321ec6(0x1da),'fetching\x20missing\x20changesets\x20from\x20'+_0xed36e4+_0x321ec6(0x403)+_0xb79723);const _0x45bcd5={'eventID':g[_0x321ec6(0x1f6)][_0x321ec6(0x3cb)],'data':{'unitID':_0x3db507,'unitType':this[_0x321ec6(0x122)],'from':_0xed36e4,'to':_0xb79723}};this[_0x321ec6(0x17f)][_0x321ec6(0x43c)](_0x45bcd5,this[_0x321ec6(0x1bd)]);}};}async[_0x4877c9(0x191)](_0x59e57c){var _0x17b22a=_0x4877c9,_0xefede,_0x299e0f,_0x15c219;const _0x7e33e8=await((_0xefede=this[_0x17b22a(0x1f2)])==null?void 0x0:_0xefede[_0x17b22a(0x277)](this[_0x17b22a(0x1bd)])),_0x5631a5=(_0x299e0f=_0x7e33e8==null?void 0x0:_0x7e33e8[_0x17b22a(0x182)])!=null?_0x299e0f:[],_0x12c5ae=(_0x15c219=_0x7e33e8==null?void 0x0:_0x7e33e8[_0x17b22a(0x154)])!=null?_0x15c219:null,_0x2e100b=!!(_0x12c5ae!=null&&_0x12c5ae[_0x17b22a(0x1eb)])&&!!(_0x12c5ae!=null&&_0x12c5ae[_0x17b22a(0x452)]);this['_changesetSessionId']=_0x2e100b?_0x12c5ae[_0x17b22a(0x1eb)]:di(),this[_0x17b22a(0x473)]=_0x2e100b?_0x12c5ae[_0x17b22a(0x452)]:0x0;const _0x5db9ba=this[_0x17b22a(0x1bd)];try{this['_replayCachedMutations'](_0x12c5ae,_0x5631a5);}catch(_0x1e1264){this[_0x17b22a(0x14f)][_0x17b22a(0x44d)](_0x1e1264);}const _0x336af8=this['_createHandler']();if(_0x59e57c){const _0x1ecaa7=Ut(this[_0x17b22a(0x16d)],_0x5db9ba,this[_0x17b22a(0x122)],_0x12c5ae,_0x5631a5,_0x336af8);return _0x1ecaa7 instanceof exports[_0x17b22a(0x32c)]?_0x1ecaa7[_0x17b22a(0x441)]():(_0x1ecaa7 instanceof exports[_0x17b22a(0x2f0)]||_0x1ecaa7 instanceof exports[_0x17b22a(0x439)])&&_0x1ecaa7[_0x17b22a(0x3f4)](),_0x1ecaa7;}return this['_injector'][_0x17b22a(0x18e)](exports['OfflineState'],_0x5db9ba,this[_0x17b22a(0x122)],_0x12c5ae,_0x5631a5,_0x336af8);}[_0x4877c9(0x194)](_0x4dc7c1,_0x3a3fc3){var _0xcd324a=_0x4877c9,_0x51a418,_0x2b4385;const _0x3fb959=this[_0xcd324a(0x2e2)][_0xcd324a(0x251)][_0xcd324a(0x38e)](this[_0xcd324a(0x2e2)]['interceptor'][_0xcd324a(0x227)]()[_0xcd324a(0x1cf)]);(_0x51a418=_0x3fb959((_0x4dc7c1==null?void 0x0:_0x4dc7c1[_0xcd324a(0x182)])||[],null))==null||_0x51a418[_0xcd324a(0x348)](_0x5c2397=>this['_commandService'][_0xcd324a(0x2cf)](_0x5c2397['id'],_0x5c2397['params'])),(_0x2b4385=_0x3fb959(_0x3a3fc3||[],null))==null||_0x2b4385[_0xcd324a(0x348)](_0x2a313d=>this[_0xcd324a(0x259)]['executeCommand'](_0x2a313d['id'],_0x2a313d['params']));}},exports['CollaborationEntity']=We([$(0x3,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),$(0x4,a['Inject'](g[_0x4877c9(0x46c)])),$(0x5,a[_0x4877c9(0x385)](a[_0x4877c9(0x349)])),$(0x6,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),$(0x7,a[_0x4877c9(0x385)](te)),$(0x8,a[_0x4877c9(0x445)]),$(0x9,a['ICommandService']),$(0xa,a[_0x4877c9(0x18d)]),$(0xb,a[_0x4877c9(0x142)](ve)),$(0xc,a[_0x4877c9(0x142)](z))],exports['CollaborationEntity']),exports[_0x4877c9(0x233)]=class extends exports[_0x4877c9(0x12c)]{constructor(_0xa0d2cb,_0x35b168,_0xfa13ca,_0x2953b2,_0x55271b,_0x4b0d43,_0x387385,_0x7473f2,_0x39a5a4,_0x27fb23,_0x202da6,_0x5d7eb7,_0x1e5912){var _0x213498=_0x4877c9;super(_0xa0d2cb,_0xfa13ca,_0x35b168,_0x2953b2,_0x55271b,_0x4b0d43,_0x387385,_0x7473f2,_0x39a5a4,_0x27fb23,_0x202da6,_0x5d7eb7,_0x1e5912),A(this,_0x213498(0x45d),null),(this[_0x213498(0x1bd)]=_0xa0d2cb,this[_0x213498(0x1a8)]=_0x35b168);}[_0x4877c9(0x418)](_0x3d5b08){var _0x2e68b2=_0x4877c9;this[_0x2e68b2(0x45d)]=_0x3d5b08;}[_0x4877c9(0x132)](){var _0x28d5c2=_0x4877c9;this[_0x28d5c2(0x45d)]=null,super[_0x28d5c2(0x132)]();}[_0x4877c9(0x1e4)](){var _0x227e1f=_0x4877c9;const _0x143833=super[_0x227e1f(0x1e4)]();return _0x143833[_0x227e1f(0x17b)]=_0x41a431=>{var _0x37df27=_0x227e1f,_0x301112,_0x2765a4;return(_0x2765a4=(_0x301112=this[_0x37df27(0x45d)])==null?void 0x0:_0x301112[_0x37df27(0x17b)])==null?void 0x0:_0x2765a4[_0x37df27(0x45b)](_0x301112,_0x41a431);},_0x143833[_0x227e1f(0x317)]=_0x781c16=>{var _0x4cc4b5=_0x227e1f,_0x5f23f4,_0xa0c2fc;return(_0xa0c2fc=(_0x5f23f4=this[_0x4cc4b5(0x45d)])==null?void 0x0:_0x5f23f4['onTransformState'])==null?void 0x0:_0xa0c2fc['call'](_0x5f23f4,_0x781c16);},_0x143833[_0x227e1f(0x47a)]=_0xb0e6b9=>{var _0x174047=_0x227e1f,_0x2a873b,_0x15667c;return(_0x15667c=(_0x2a873b=this[_0x174047(0x45d)])==null?void 0x0:_0x2a873b['onTransformSelections'])==null?void 0x0:_0x15667c[_0x174047(0x45b)](_0x2a873b,_0xb0e6b9);},_0x143833[_0x227e1f(0x139)]=_0xebcb1c=>{var _0x332634=_0x227e1f,_0x56659d,_0x289381;return(_0x289381=(_0x56659d=this['_handlerCallback'])==null?void 0x0:_0x56659d[_0x332634(0x139)])==null?void 0x0:_0x289381[_0x332634(0x45b)](_0x56659d,_0xebcb1c);},_0x143833[_0x227e1f(0x3f9)]=_0xf236e5=>{var _0x295086=_0x227e1f,_0x4336c8,_0x1b4ad0,_0x4f14e0;if(!((_0x4336c8=this[_0x295086(0x45d)])!=null&&_0x4336c8['onTransformRemoteChangesetByIMECache']))throw new Error(_0x295086(0x226));return(_0x4f14e0=(_0x1b4ad0=this[_0x295086(0x45d)])==null?void 0x0:_0x1b4ad0[_0x295086(0x3f9)])==null?void 0x0:_0x4f14e0[_0x295086(0x45b)](_0x1b4ad0,_0xf236e5);},_0x143833[_0x227e1f(0x347)]=_0x493e8e=>{var _0xcb8da9=_0x227e1f,_0x320359,_0x10588f,_0x48222b;if(!((_0x320359=this[_0xcb8da9(0x45d)])!=null&&_0x320359[_0xcb8da9(0x347)]))throw new Error(_0xcb8da9(0x26a));return(_0x48222b=(_0x10588f=this[_0xcb8da9(0x45d)])==null?void 0x0:_0x10588f['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x48222b[_0xcb8da9(0x45b)](_0x10588f,_0x493e8e);},_0x143833;}async[_0x4877c9(0x169)](){var _0x5bd0d2=_0x4877c9;const _0x33871a=await super[_0x5bd0d2(0x169)]();return this[_0x5bd0d2(0x21a)](this[_0x5bd0d2(0x259)]['onCommandExecuted']((_0x5dec6f,_0x1165e0)=>{var _0x149e89=_0x5bd0d2;if(_0x5dec6f['type']!==a[_0x149e89(0x1cb)]['MUTATION']||_0x1165e0!=null&&_0x1165e0['fromCollab']||_0x1165e0!=null&&_0x1165e0[_0x149e89(0x1b9)]||_0x5dec6f['id']===ut[_0x149e89(0x390)]['id'])return;const _0x59ee19=_0x5dec6f[_0x149e89(0x2d4)];if((_0x59ee19==null?void 0x0:_0x59ee19[_0x149e89(0x26e)])!==this['unitID'])return;const _0x5edb93=_0x5dec6f,_0x7182a1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x149e89(0x227)]()[_0x149e89(0x3a1)])([_0x5edb93],null)||[_0x5edb93];this[_0x149e89(0x37a)](_0x7182a1[0x0]);})),_0x33871a;}},exports[_0x4877c9(0x233)]=We([$(0x3,a[_0x4877c9(0x385)](a['Injector'])),$(0x4,a[_0x4877c9(0x385)](g[_0x4877c9(0x46c)])),$(0x5,a['Inject'](a[_0x4877c9(0x349)])),$(0x6,a['Inject'](g[_0x4877c9(0x2a9)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x4877c9(0x445)]),$(0x9,a[_0x4877c9(0x216)]),$(0xa,a[_0x4877c9(0x18d)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x4877c9(0x142)](z))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x4877c9(0x12c)]{constructor(_0x22faa4,_0x23ed77,_0x5b87a7,_0x19ef57,_0x35ca91,_0x59a90b,_0x6d7a16,_0x3c5521,_0x3f8ca3,_0xdc885e,_0x3f0531,_0x3ceac5,_0x31baa8,_0x4c06d8){var _0x3007a7=_0x4877c9;super(_0x22faa4,_0x5b87a7,_0x23ed77,_0x19ef57,_0x35ca91,_0x59a90b,_0x6d7a16,_0x3f8ca3,_0xdc885e,_0x3f0531,_0x3ceac5,_0x31baa8,_0x4c06d8),this[_0x3007a7(0x1bd)]=_0x22faa4,this[_0x3007a7(0x1a8)]=_0x23ed77,this[_0x3007a7(0x346)]=_0x3c5521;}[_0x4877c9(0x1e4)](){var _0x2d814b=_0x4877c9;const _0x589daa=super[_0x2d814b(0x1e4)]();return _0x589daa[_0x2d814b(0x47a)]=_0x4f69d3=>this[_0x2d814b(0x346)][_0x2d814b(0x1c5)](_0x4f69d3),_0x589daa;}async[_0x4877c9(0x169)](){var _0x1a22a9=_0x4877c9;const _0x4decfa=await super[_0x1a22a9(0x169)]();return this[_0x1a22a9(0x21a)](this[_0x1a22a9(0x259)]['onCommandExecuted']((_0x5075ae,_0x13bcdf)=>{var _0xacda6=_0x1a22a9;if(_0x5075ae[_0xacda6(0x1a8)]!==a[_0xacda6(0x1cb)][_0xacda6(0x3b7)]||_0x13bcdf!=null&&_0x13bcdf[_0xacda6(0x405)]||_0x13bcdf!=null&&_0x13bcdf[_0xacda6(0x1b9)])return;const _0x154fc5=_0x5075ae[_0xacda6(0x2d4)];if((_0x154fc5==null?void 0x0:_0x154fc5[_0xacda6(0x26e)])!==this['unitID'])return;const _0x1ad810=_0x5075ae,_0x4fcbba=this[_0xacda6(0x2e2)][_0xacda6(0x251)][_0xacda6(0x38e)](this[_0xacda6(0x2e2)][_0xacda6(0x251)][_0xacda6(0x227)]()['COMPRESS_MUTATION_SEND'])([_0x1ad810],null)||[_0x1ad810];this[_0xacda6(0x37a)](_0x4fcbba[0x0]);})),_0x4decfa;}},exports[_0x4877c9(0x187)]=We([$(0x3,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),$(0x4,a[_0x4877c9(0x385)](g['CompressMutationService'])),$(0x5,a[_0x4877c9(0x385)](a[_0x4877c9(0x349)])),$(0x6,a[_0x4877c9(0x385)](g[_0x4877c9(0x2a9)])),$(0x7,a[_0x4877c9(0x385)](exports[_0x4877c9(0x34c)])),$(0x8,a[_0x4877c9(0x385)](te)),$(0x9,a[_0x4877c9(0x445)]),$(0xa,a[_0x4877c9(0x216)]),$(0xb,a['IPermissionService']),$(0xc,a[_0x4877c9(0x142)](ve)),$(0xd,a[_0x4877c9(0x142)](z))],exports[_0x4877c9(0x187)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x105325,_0x48db02,_0x17e72d,_0x27bef4)=>{var _0x332818=_0x4877c9;for(var _0x554c3c=_0x27bef4>0x1?void 0x0:_0x27bef4?Ti(_0x48db02,_0x17e72d):_0x48db02,_0x1a6680=_0x105325[_0x332818(0x374)]-0x1,_0x275ec7;_0x1a6680>=0x0;_0x1a6680--)(_0x275ec7=_0x105325[_0x1a6680])&&(_0x554c3c=_0x275ec7(_0x554c3c)||_0x554c3c);return _0x554c3c;},Pe=(_0x2fe746,_0x55e910)=>(_0x4bd6fc,_0x5337ec)=>_0x55e910(_0x4bd6fc,_0x5337ec,_0x2fe746);exports[_0x4877c9(0x155)]=class extends a[_0x4877c9(0x46d)]{constructor(_0xad4dcf,_0x1bc1c6,_0xf0b051){var _0x3b5d50=_0x4877c9;super(),A(this,_0x3b5d50(0x18a),new Map()),A(this,_0x3b5d50(0x2d0),new j[(_0x3b5d50(0x2aa))]()),A(this,_0x3b5d50(0x2f8),this[_0x3b5d50(0x2d0)][_0x3b5d50(0x134)]()),(this[_0x3b5d50(0x16d)]=_0xad4dcf,this[_0x3b5d50(0x362)]=_0x1bc1c6,this[_0x3b5d50(0x244)]=_0xf0b051,this[_0x3b5d50(0x169)]());}[_0x4877c9(0x132)](){var _0x1c49da=_0x4877c9;super['dispose'](),this[_0x1c49da(0x18a)]['forEach'](_0x53f96d=>_0x53f96d['dispose']()),this['_entities'][_0x1c49da(0x3d8)]();}[_0x4877c9(0x315)](_0x22f1dc){var _0x4f27c0=_0x4877c9,_0x256225;return(_0x256225=this[_0x4f27c0(0x18a)][_0x4f27c0(0x208)](_0x22f1dc))!=null?_0x256225:null;}[_0x4877c9(0x256)](_0x167993){var _0x958c35=_0x4877c9;const _0x996f69=this[_0x958c35(0x315)](_0x167993);return _0x996f69?j['of'](_0x996f69):this[_0x958c35(0x2d0)]['pipe'](V[_0x958c35(0x3ff)](_0xf601ac=>_0xf601ac[_0x958c35(0x1bd)]===_0x167993));}['readyForCollab'](_0xafe465){var _0x21dfe3=_0x4877c9;return j[_0x21dfe3(0x316)](this[_0x21dfe3(0x256)](_0xafe465)[_0x21dfe3(0x432)](V['map'](()=>{})));}[_0x4877c9(0x169)](){var _0x33728d=_0x4877c9;this['_univerInstanceService'][_0x33728d(0x25c)](a[_0x33728d(0x402)][_0x33728d(0x40d)])['pipe'](j['takeUntil'](this[_0x33728d(0x42f)]),V[_0x33728d(0x300)](0x10))[_0x33728d(0x1e1)](async _0x22a7d4=>{var _0xd842ba=_0x33728d;const _0x689900=_0x22a7d4[_0xd842ba(0x217)](),_0x361bf8=await this[_0xd842ba(0x3b2)](_0x689900,X['UNIVER_SHEET']);this[_0xd842ba(0x18a)][_0xd842ba(0x2c9)](_0x689900,_0x361bf8);}),this['_univerInstanceService'][_0x33728d(0x25c)](a[_0x33728d(0x402)][_0x33728d(0x29f)])[_0x33728d(0x432)](j['takeUntil'](this[_0x33728d(0x42f)]),V[_0x33728d(0x300)](0x10))[_0x33728d(0x432)](V[_0x33728d(0x3ff)](_0x38554d=>!_0x38554d['getUnitId']()[_0x33728d(0x1ce)]('__')))['subscribe'](async _0x5163e9=>{var _0x57bfdc=_0x33728d;const _0x3936a9=_0x5163e9[_0x57bfdc(0x217)](),_0x51c902=await this[_0x57bfdc(0x3b2)](_0x3936a9,X[_0x57bfdc(0x29f)]);this[_0x57bfdc(0x18a)][_0x57bfdc(0x2c9)](_0x3936a9,_0x51c902);}),j[_0x33728d(0x414)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x33728d(0x40d)]),this[_0x33728d(0x244)][_0x33728d(0x17c)](a['UniverInstanceType'][_0x33728d(0x29f)]))[_0x33728d(0x432)](j[_0x33728d(0x293)](this[_0x33728d(0x42f)]))['subscribe'](_0x2cff6c=>{var _0x5dea39=_0x33728d;const _0x12ea99=_0x2cff6c['getUnitId'](),_0x23e3a6=this[_0x5dea39(0x18a)][_0x5dea39(0x208)](_0x12ea99);_0x23e3a6&&(_0x23e3a6[_0x5dea39(0x132)](),this['_entities'][_0x5dea39(0x483)](_0x12ea99));});}async[_0x4877c9(0x3b2)](_0x2e2c25,_0x3a2f16){var _0x329298=_0x4877c9;const _0x39a7b0=await this[_0x329298(0x362)][_0x329298(0x2f4)](_0x2e2c25),_0x4c0616=this[_0x329298(0x16d)][_0x329298(0x18e)](this[_0x329298(0x382)](_0x3a2f16),_0x2e2c25,_0x3a2f16,_0x39a7b0);return await _0x4c0616[_0x329298(0x3c6)](),this['_entityInit$'][_0x329298(0x46f)](_0x4c0616),_0x4c0616;}[_0x4877c9(0x382)](_0x9cb5f7){var _0x201101=_0x4877c9;switch(_0x9cb5f7){case X[_0x201101(0x29f)]:return exports[_0x201101(0x233)];case X['UNIVER_SHEET']:return exports[_0x201101(0x187)];default:throw new Error(_0x201101(0x2b7)+_0x9cb5f7);}}},exports[_0x4877c9(0x155)]=bi([Pe(0x0,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),Pe(0x1,a[_0x4877c9(0x385)](exports[_0x4877c9(0x1ca)])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x4877c9(0x155)]);var Ri=Object[_0x4877c9(0x2ac)],Oi=(_0x5e2d0c,_0x21101e,_0xbd2b3c,_0x108bab)=>{var _0x53f872=_0x4877c9;for(var _0x1da5fb=_0x108bab>0x1?void 0x0:_0x108bab?Ri(_0x21101e,_0xbd2b3c):_0x21101e,_0x5aaf9d=_0x5e2d0c[_0x53f872(0x374)]-0x1,_0x1cb804;_0x5aaf9d>=0x0;_0x5aaf9d--)(_0x1cb804=_0x5e2d0c[_0x5aaf9d])&&(_0x1da5fb=_0x1cb804(_0x1da5fb)||_0x1da5fb);return _0x1da5fb;},Je=(_0x2d82e8,_0x2a36f3)=>(_0x136ca6,_0x30f238)=>_0x2a36f3(_0x136ca6,_0x30f238,_0x2d82e8);const yi=_0x4877c9(0x3ea),Ni=_0x4877c9(0x1d3);let He=class extends a[_0x4877c9(0x21e)]{constructor(_0x2b686f,_0x197967){var _0x55bd64=_0x4877c9;super(),this[_0x55bd64(0x244)]=_0x2b686f,this[_0x55bd64(0x401)]=_0x197967,this['_init']();}[_0x4877c9(0x169)](){var _0x4d1018=_0x4877c9;this[_0x4d1018(0x21a)](this[_0x4d1018(0x244)][_0x4d1018(0x266)][_0x4d1018(0x1e1)](()=>{var _0x3f5104=_0x4d1018,_0x115fcf;const _0x5bef91=this[_0x3f5104(0x244)][_0x3f5104(0x3a0)]();let _0x5555ec=(_0x115fcf=this['_configService']['getConfig'](yi))!=null?_0x115fcf:Ni;_0x5bef91 instanceof a[_0x3f5104(0x443)]&&(_0x5555ec=_0x5bef91[_0x3f5104(0x210)]),document[_0x3f5104(0x450)]=_0x5555ec;}));}};He=Oi([Je(0x0,a[_0x4877c9(0x2ff)]),Je(0x1,a['IConfigService'])],He);var Ui=Object['getOwnPropertyDescriptor'],Di=(_0x2ad70c,_0x48c3bc,_0x58ab93,_0x317c68)=>{for(var _0x1c2ae8=_0x317c68>0x1?void 0x0:_0x317c68?Ui(_0x48c3bc,_0x58ab93):_0x48c3bc,_0x3dbb64=_0x2ad70c['length']-0x1,_0x25b980;_0x3dbb64>=0x0;_0x3dbb64--)(_0x25b980=_0x2ad70c[_0x3dbb64])&&(_0x1c2ae8=_0x25b980(_0x1c2ae8)||_0x1c2ae8);return _0x1c2ae8;},we=(_0x3f33ea,_0x116cbb)=>(_0x9bc9f0,_0x40b8ea)=>_0x116cbb(_0x9bc9f0,_0x40b8ea,_0x3f33ea);let ye=class{constructor(_0x49de93,_0x128db1,_0xcd90d7){var _0x1ed883=_0x4877c9;this[_0x1ed883(0x401)]=_0x49de93,this[_0x1ed883(0x30e)]=_0x128db1,this['localeService']=_0xcd90d7,this['init']();}['init'](){var _0x18daa9=_0x4877c9;this[_0x18daa9(0x30e)][_0x18daa9(0x3c7)]({'priority':0x1,'interceptor':(_0x157b79,_0x12bb15)=>_0x12bb15(_0x157b79)[_0x18daa9(0x432)](j[_0x18daa9(0x24e)](async _0x38b85a=>{var _0x10638b=_0x18daa9;const _0x6c709b=_0x38b85a;if(_0x6c709b['status']===0x191){if(typeof window>'u')throw new Error(_0x10638b(0x352));if(window[_0x10638b(0x2a4)](this[_0x10638b(0x2f9)]['t'](_0x10638b(0x44a)))){const _0x14d03e=window[_0x10638b(0x3cf)](window[_0x10638b(0x20e)]['href']);window['location'][_0x10638b(0x47e)]=this[_0x10638b(0x364)]()+'?url='+_0x14d03e;}}return _0x6c709b;}))});}[_0x4877c9(0x364)](){var _0x16981b=_0x4877c9,_0x2f23eb,_0x1c1a84;const _0x2e1cc3=this[_0x16981b(0x401)][_0x16981b(0x1f7)](Et),_0x1a12e5=this[_0x16981b(0x401)][_0x16981b(0x1f7)](Y);return(_0x1c1a84=(_0x2f23eb=_0x1a12e5==null?void 0x0:_0x1a12e5['loginUrlKey'])!=null?_0x2f23eb:_0x2e1cc3)!=null?_0x1c1a84:Yt;}};ye=Di([we(0x0,a[_0x4877c9(0x1a9)]),we(0x1,a['Inject'](q[_0x4877c9(0x2bf)])),we(0x2,a[_0x4877c9(0x385)](a['LocaleService']))],ye);var Ai=Object[_0x4877c9(0x2ac)],Pi=(_0x4a0855,_0x1b825b,_0x42eb07,_0x546ee4)=>{var _0x4b6887=_0x4877c9;for(var _0x3ed7b4=_0x546ee4>0x1?void 0x0:_0x546ee4?Ai(_0x1b825b,_0x42eb07):_0x1b825b,_0x3f9484=_0x4a0855[_0x4b6887(0x374)]-0x1,_0x4f5a26;_0x3f9484>=0x0;_0x3f9484--)(_0x4f5a26=_0x4a0855[_0x3f9484])&&(_0x3ed7b4=_0x4f5a26(_0x3ed7b4)||_0x3ed7b4);return _0x3ed7b4;},Xe=(_0x853dbf,_0x2b004e)=>(_0x1f477d,_0x3f14f0)=>_0x2b004e(_0x1f477d,_0x3f14f0,_0x853dbf);const Ge=_0x4877c9(0x38c),wi=_0x4877c9(0x1e6);exports[_0x4877c9(0x27b)]=class extends a[_0x4877c9(0x21e)]{constructor(_0x498fba,_0x4d13ed){var _0xa1bb66=_0x4877c9;super(),this[_0xa1bb66(0x261)]=_0x498fba,this[_0xa1bb66(0x401)]=_0x4d13ed,this['_initMergeInterceptor']();}[_0x4877c9(0x37e)](){var _0x39b9e2=_0x4877c9;const _0x1e6afa=this;this[_0x39b9e2(0x21a)](this['_HTTPService'][_0x39b9e2(0x3c7)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x99a2c9){var _0x50ade1=_0x39b9e2,_0xeb869f;if(_0x99a2c9['method']===_0x50ade1(0x324)&&((_0xeb869f=_0x99a2c9[_0x50ade1(0x3af)])!=null&&_0xeb869f[_0x50ade1(0x25a)])){const {objectID:_0x56a6f8,objectType:_0x4ce049}=_0x99a2c9[_0x50ade1(0x3af)]['body']||{};if(!_0x56a6f8||_0x4ce049===void 0x0)return!0x1;const _0x56a02a=_0x1e6afa['_getAPIPrefixPath']()+'/'+_0x4ce049+_0x50ade1(0x453)+_0x56a6f8+_0x50ade1(0x303);if(_0x99a2c9[_0x50ade1(0x2ae)]===_0x56a02a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a3d80){var _0x1961f7=_0x39b9e2,_0x5da672;return(_0x5da672=_0x4a3d80['requestParams'])==null?void 0x0:_0x5da672[_0x1961f7(0x25a)];},'mergeParamsToRequest'(_0x2caf3b,_0x2eba7f){var _0x3ae2a0=_0x39b9e2;const _0x39acc4=_0x1e6afa[_0x3ae2a0(0x1a0)]()+_0x3ae2a0(0x33c),_0x1edc96=_0x2caf3b[_0x3ae2a0(0x2db)]((_0x1c4d00,_0x36fe9c)=>{var _0x572558=_0x3ae2a0;const {unitID:_0x20c7e2,objectID:_0x3bf381,objectType:_0x758c41,actions:_0x1eae2f}=_0x36fe9c;return _0x1c4d00[_0x20c7e2]||(_0x1c4d00[_0x20c7e2]={}),_0x1c4d00[_0x20c7e2][_0x3bf381]||(_0x1c4d00[_0x20c7e2][_0x3bf381]={'objectID':_0x3bf381,'objectType':_0x758c41,'actions':[]}),_0x1c4d00[_0x20c7e2][_0x3bf381][_0x572558(0x361)]['push'](..._0x1eae2f),_0x1c4d00;},{}),_0x1dea8c=[];for(const _0x1a16e3 in _0x1edc96)for(const _0x135828 in _0x1edc96[_0x1a16e3]){const {actions:_0x3831d5,objectType:_0x41060f}=_0x1edc96[_0x1a16e3][_0x135828],_0x16e704=[...new Set(_0x3831d5)];_0x1dea8c[_0x3ae2a0(0x3f5)]({'unitID':_0x1a16e3,'objectID':_0x135828,'objectType':_0x41060f,'actions':_0x16e704});}return new q[(_0x3ae2a0(0x275))](_0x3ae2a0(0x324),_0x39acc4,{'headers':_0x2eba7f[_0x3ae2a0(0x47f)],'withCredentials':_0x2eba7f[_0x3ae2a0(0x14c)],'responseType':_0x2eba7f[_0x3ae2a0(0x48c)],'body':{'requests':_0x1dea8c}});}},{'distributeResult'(_0x1a8a70,_0xc6fad6){var _0x4bfbdf=_0x39b9e2;const {objectActions:_0x49ec48}=_0x1a8a70;return _0xc6fad6[_0x4bfbdf(0x3df)](_0xe01954=>{var _0x7642e4=_0x4bfbdf;const {unitID:_0x3bae18,objectID:_0x2bf0a9,actions:_0x274b10}=_0xe01954,_0x3fcfd2=_0x49ec48[_0x7642e4(0x328)](_0x4f8556=>_0x4f8556['unitID']===_0x3bae18&&_0x4f8556[_0x7642e4(0x437)]===_0x2bf0a9),_0x3d59e6=_0x274b10['map'](_0x56bf3a=>_0x3fcfd2==null?void 0x0:_0x3fcfd2[_0x7642e4(0x361)][_0x7642e4(0x328)](_0x1af3c1=>_0x1af3c1[_0x7642e4(0x1ec)]===_0x56bf3a))[_0x7642e4(0x3ff)](_0x43463d=>!!_0x43463d);return{'config':_0xe01954,'result':{'actions':_0x3d59e6,'error':_0x1a8a70[_0x7642e4(0x44d)]}};});}})}));}[_0x4877c9(0x1a0)](){var _0x372148=_0x4877c9,_0x345242,_0x4ed0c5;const _0xdeaa5b=this[_0x372148(0x401)][_0x372148(0x1f7)](Ge),_0x4d6fad=this[_0x372148(0x401)]['getConfig'](Y);return(_0x4ed0c5=(_0x345242=_0x4d6fad==null?void 0x0:_0x4d6fad[_0x372148(0x429)])!=null?_0x345242:_0xdeaa5b)!=null?_0x4ed0c5:wi;}async['create'](_0x25032c){var _0x320801=_0x4877c9;const _0x2a7d33=this[_0x320801(0x1a0)]()+'/'+_0x25032c[_0x320801(0x2ab)]+_0x320801(0x3a6);return(await this[_0x320801(0x261)]['post'](_0x2a7d33,{'body':_0x25032c}))[_0x320801(0x25a)][_0x320801(0x437)]||'';}async[_0x4877c9(0x338)](_0x3fdba1){var _0x398f0a=_0x4877c9;const _0x3b357c=this['_getAPIPrefixPath']()+_0x398f0a(0x1ee);return(await this['_HTTPService'][_0x398f0a(0x140)](_0x3b357c,{'body':_0x3fdba1}))['body']['objects'];}async['update'](_0x12edb7){var _0x56c67f=_0x4877c9,_0xabb67,_0x552eea;const _0x510125=this[_0x56c67f(0x1a0)]()+'/'+_0x12edb7['objectType']+'/object/'+_0x12edb7[_0x56c67f(0x437)],_0x387a45=await this['_HTTPService'][_0x56c67f(0x404)](_0x510125,{'body':_0x12edb7});if(((_0x552eea=(_0xabb67=_0x387a45==null?void 0x0:_0x387a45[_0x56c67f(0x25a)])==null?void 0x0:_0xabb67[_0x56c67f(0x44d)])==null?void 0x0:_0x552eea['code'])!==0x1)throw new Error(_0x56c67f(0x1fd));}async[_0x4877c9(0x2ed)](_0x15f3be){var _0x3c3361=_0x4877c9;const _0x1fd0a7=this[_0x3c3361(0x1a0)]()+'/'+_0x15f3be[_0x3c3361(0x2ab)]+_0x3c3361(0x453)+_0x15f3be['objectID']+_0x3c3361(0x303);return(await this['_HTTPService'][_0x3c3361(0x140)](_0x1fd0a7,{'body':_0x15f3be}))[_0x3c3361(0x25a)][_0x3c3361(0x361)];}async[_0x4877c9(0x2d3)](_0x508e8e){var _0x43c641=_0x4877c9;const _0x17529f=this['_getAPIPrefixPath']()+_0x43c641(0x33c);return(await this[_0x43c641(0x261)]['post'](_0x17529f,{'body':{'requests':_0x508e8e}}))[_0x43c641(0x25a)][_0x43c641(0x378)];}async['listRoles'](_0xfd2e4b){var _0x1f95cc=_0x4877c9;const _0x2d1040=this[_0x1f95cc(0x1a0)]()+'/'+_0xfd2e4b['objectType']+'/role',_0x1424f4=await this['_HTTPService'][_0x1f95cc(0x140)](_0x2d1040,{'body':_0xfd2e4b});return{'roles':_0x1424f4[_0x1f95cc(0x25a)][_0x1f95cc(0x22f)],'actions':_0x1424f4[_0x1f95cc(0x25a)][_0x1f95cc(0x361)]};}async[_0x4877c9(0x290)](_0xdad39d){var _0x5e1a50=_0x4877c9;const _0x25a9df=this[_0x5e1a50(0x1a0)]()+_0x5e1a50(0x114);await this[_0x5e1a50(0x261)][_0x5e1a50(0x483)](_0x25a9df,{'params':{'collaboratorID':_0xdad39d['collaboratorID'],'objectID':_0xdad39d['objectID'],'unitID':_0xdad39d['unitID']}});}async[_0x4877c9(0x230)](_0x20a804){var _0x16e79f=_0x4877c9;const _0x196595=this[_0x16e79f(0x1a0)]()+_0x16e79f(0x114);await this[_0x16e79f(0x261)][_0x16e79f(0x19d)](_0x196595,{'body':_0x20a804});}async[_0x4877c9(0x342)](_0x590093){var _0x1ada59=_0x4877c9;const _0x3dcb02=this[_0x1ada59(0x1a0)]()+'/collaborator';await this[_0x1ada59(0x261)][_0x1ada59(0x140)](_0x3dcb02,{'body':_0x590093});}async[_0x4877c9(0x1d5)](_0x584081){var _0x24b3aa=_0x4877c9;const _0x5ae981=this[_0x24b3aa(0x1a0)]()+_0x24b3aa(0x114);return(await this[_0x24b3aa(0x261)][_0x24b3aa(0x208)](_0x5ae981,{'params':{'objectID':_0x584081[_0x24b3aa(0x437)],'unitID':_0x584081['unitID']}}))[_0x24b3aa(0x25a)][_0x24b3aa(0x1ad)];}async[_0x4877c9(0x42c)](_0x365b1e){var _0x2917e1=_0x4877c9;const _0x20ab1a=this[_0x2917e1(0x1a0)]()+_0x2917e1(0x114);await this[_0x2917e1(0x261)]['put'](_0x20ab1a,{'body':_0x365b1e});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x4877c9(0x385)](q[_0x4877c9(0x2bf)])),Xe(0x1,a[_0x4877c9(0x385)](a[_0x4877c9(0x1a9)]))],exports[_0x4877c9(0x27b)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x1f3b32){var _0x456cd1=_0x4877c9;return _0x1f3b32&&_0x1f3b32[_0x456cd1(0x18c)]&&Object['prototype'][_0x456cd1(0x20d)][_0x456cd1(0x45b)](_0x1f3b32,_0x456cd1(0x1c4))?_0x1f3b32['default']:_0x1f3b32;}var fe={'exports':{}};function Li(_0x341600){var _0xc39f81=_0x4877c9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x341600+_0xc39f81(0x491));}var pe={'exports':{}},Mi=pe[_0x4877c9(0x46a)],Ze;function ee(){var _0x421028=_0x4877c9;return Ze||(Ze=0x1,function(_0xe70ef8,_0x42d2ce){(function(_0x4dccf9,_0x31d58a){var _0x32c5d3=_0x38be;_0xe70ef8[_0x32c5d3(0x46a)]=_0x31d58a();}(Mi,function(){var _0x4bde51=_0x4bde51||function(_0x4c44a1,_0x46a94b){var _0x34c9ec=_0x38be,_0x5487c7;if(typeof window<'u'&&window[_0x34c9ec(0x3e5)]&&(_0x5487c7=window[_0x34c9ec(0x3e5)]),typeof self<'u'&&self[_0x34c9ec(0x3e5)]&&(_0x5487c7=self[_0x34c9ec(0x3e5)]),typeof globalThis<'u'&&globalThis[_0x34c9ec(0x3e5)]&&(_0x5487c7=globalThis[_0x34c9ec(0x3e5)]),!_0x5487c7&&typeof window<'u'&&window[_0x34c9ec(0x289)]&&(_0x5487c7=window[_0x34c9ec(0x289)]),!_0x5487c7&&typeof Le<'u'&&Le[_0x34c9ec(0x3e5)]&&(_0x5487c7=Le[_0x34c9ec(0x3e5)]),!_0x5487c7&&typeof Li=='function')try{_0x5487c7=require(_0x34c9ec(0x3e5));}catch{}var _0x41fc5e=function(){var _0x294e03=_0x34c9ec;if(_0x5487c7){if(typeof _0x5487c7['getRandomValues']==_0x294e03(0x2a1))try{return _0x5487c7[_0x294e03(0x3ef)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5487c7[_0x294e03(0x26f)]==_0x294e03(0x2a1))try{return _0x5487c7[_0x294e03(0x26f)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x294e03(0x322));},_0x7b6919=Object[_0x34c9ec(0x379)]||(function(){function _0x1df19a(){}return function(_0x375124){var _0x5be192=_0x38be,_0x349637;return _0x1df19a['prototype']=_0x375124,_0x349637=new _0x1df19a(),_0x1df19a[_0x5be192(0x381)]=null,_0x349637;};}()),_0x31eacd={},_0x4fbb5b=_0x31eacd[_0x34c9ec(0x2c2)]={},_0x525b3b=_0x4fbb5b[_0x34c9ec(0x2e5)]=(function(){return{'extend':function(_0x249a46){var _0x2c9249=_0x38be,_0x3a4cee=_0x7b6919(this);return _0x249a46&&_0x3a4cee[_0x2c9249(0x2de)](_0x249a46),(!_0x3a4cee['hasOwnProperty']('init')||this[_0x2c9249(0x3c6)]===_0x3a4cee['init'])&&(_0x3a4cee[_0x2c9249(0x3c6)]=function(){var _0x51b64d=_0x2c9249;_0x3a4cee[_0x51b64d(0x302)][_0x51b64d(0x3c6)][_0x51b64d(0x466)](this,arguments);}),_0x3a4cee[_0x2c9249(0x3c6)][_0x2c9249(0x381)]=_0x3a4cee,_0x3a4cee[_0x2c9249(0x302)]=this,_0x3a4cee;},'create':function(){var _0x272d37=_0x38be,_0x5b993e=this[_0x272d37(0x1c8)]();return _0x5b993e[_0x272d37(0x3c6)][_0x272d37(0x466)](_0x5b993e,arguments),_0x5b993e;},'init':function(){},'mixIn':function(_0x194433){var _0x381304=_0x38be;for(var _0x560bb1 in _0x194433)_0x194433[_0x381304(0x20d)](_0x560bb1)&&(this[_0x560bb1]=_0x194433[_0x560bb1]);_0x194433[_0x381304(0x20d)](_0x381304(0x1c3))&&(this['toString']=_0x194433[_0x381304(0x1c3)]);},'clone':function(){var _0x19d4be=_0x38be;return this['init'][_0x19d4be(0x381)]['extend'](this);}};}()),_0x58f6b1=_0x4fbb5b[_0x34c9ec(0x24b)]=_0x525b3b[_0x34c9ec(0x1c8)]({'init':function(_0xf3986a,_0x11c7e5){var _0x53cfe9=_0x34c9ec;_0xf3986a=this[_0x53cfe9(0x156)]=_0xf3986a||[],_0x11c7e5!=_0x46a94b?this[_0x53cfe9(0x363)]=_0x11c7e5:this['sigBytes']=_0xf3986a['length']*0x4;},'toString':function(_0x2250c1){var _0x476b4d=_0x34c9ec;return(_0x2250c1||_0x4b2461)[_0x476b4d(0x481)](this);},'concat':function(_0x3a6c6d){var _0x1f2a36=_0x34c9ec,_0xe61646=this[_0x1f2a36(0x156)],_0x2889cc=_0x3a6c6d[_0x1f2a36(0x156)],_0x16410c=this[_0x1f2a36(0x363)],_0x3760f6=_0x3a6c6d[_0x1f2a36(0x363)];if(this[_0x1f2a36(0x343)](),_0x16410c%0x4)for(var _0x181197=0x0;_0x181197<_0x3760f6;_0x181197++){var _0x13a8c6=_0x2889cc[_0x181197>>>0x2]>>>0x18-_0x181197%0x4*0x8&0xff;_0xe61646[_0x16410c+_0x181197>>>0x2]|=_0x13a8c6<<0x18-(_0x16410c+_0x181197)%0x4*0x8;}else{for(var _0x12fe74=0x0;_0x12fe74<_0x3760f6;_0x12fe74+=0x4)_0xe61646[_0x16410c+_0x12fe74>>>0x2]=_0x2889cc[_0x12fe74>>>0x2];}return this['sigBytes']+=_0x3760f6,this;},'clamp':function(){var _0x5ab071=_0x34c9ec,_0x5f1166=this[_0x5ab071(0x156)],_0x5a5d17=this['sigBytes'];_0x5f1166[_0x5a5d17>>>0x2]&=0xffffffff<<0x20-_0x5a5d17%0x4*0x8,_0x5f1166['length']=_0x4c44a1[_0x5ab071(0x1c0)](_0x5a5d17/0x4);},'clone':function(){var _0xbf5bbb=_0x34c9ec,_0x48a1e8=_0x525b3b[_0xbf5bbb(0x2d5)]['call'](this);return _0x48a1e8[_0xbf5bbb(0x156)]=this[_0xbf5bbb(0x156)][_0xbf5bbb(0x32a)](0x0),_0x48a1e8;},'random':function(_0x32365b){var _0x2e7d26=_0x34c9ec;for(var _0x2d8056=[],_0x324b6f=0x0;_0x324b6f<_0x32365b;_0x324b6f+=0x4)_0x2d8056[_0x2e7d26(0x3f5)](_0x41fc5e());return new _0x58f6b1[(_0x2e7d26(0x3c6))](_0x2d8056,_0x32365b);}}),_0x5d8b9f=_0x31eacd[_0x34c9ec(0x16c)]={},_0x4b2461=_0x5d8b9f[_0x34c9ec(0x1e8)]={'stringify':function(_0x382ee5){var _0xf9833b=_0x34c9ec;for(var _0x20f41b=_0x382ee5['words'],_0x2012b3=_0x382ee5[_0xf9833b(0x363)],_0x4e30da=[],_0x4eecfa=0x0;_0x4eecfa<_0x2012b3;_0x4eecfa++){var _0x5e7968=_0x20f41b[_0x4eecfa>>>0x2]>>>0x18-_0x4eecfa%0x4*0x8&0xff;_0x4e30da[_0xf9833b(0x3f5)]((_0x5e7968>>>0x4)[_0xf9833b(0x1c3)](0x10)),_0x4e30da['push']((_0x5e7968&0xf)['toString'](0x10));}return _0x4e30da[_0xf9833b(0x48e)]('');},'parse':function(_0x36a995){var _0x24015b=_0x34c9ec;for(var _0x4eedfd=_0x36a995[_0x24015b(0x374)],_0x177d6c=[],_0x57bcd2=0x0;_0x57bcd2<_0x4eedfd;_0x57bcd2+=0x2)_0x177d6c[_0x57bcd2>>>0x3]|=parseInt(_0x36a995[_0x24015b(0x314)](_0x57bcd2,0x2),0x10)<<0x18-_0x57bcd2%0x8*0x4;return new _0x58f6b1[(_0x24015b(0x3c6))](_0x177d6c,_0x4eedfd/0x2);}},_0x15c118=_0x5d8b9f[_0x34c9ec(0x3f2)]={'stringify':function(_0x7ac907){var _0x188c4b=_0x34c9ec;for(var _0x39d46d=_0x7ac907['words'],_0x4ba3b3=_0x7ac907[_0x188c4b(0x363)],_0x3d286a=[],_0x18ab33=0x0;_0x18ab33<_0x4ba3b3;_0x18ab33++){var _0xaa4be6=_0x39d46d[_0x18ab33>>>0x2]>>>0x18-_0x18ab33%0x4*0x8&0xff;_0x3d286a['push'](String[_0x188c4b(0x427)](_0xaa4be6));}return _0x3d286a[_0x188c4b(0x48e)]('');},'parse':function(_0xdd3bd){var _0xb1e8af=_0x34c9ec;for(var _0x465e49=_0xdd3bd[_0xb1e8af(0x374)],_0x533220=[],_0x1dabc3=0x0;_0x1dabc3<_0x465e49;_0x1dabc3++)_0x533220[_0x1dabc3>>>0x2]|=(_0xdd3bd[_0xb1e8af(0x171)](_0x1dabc3)&0xff)<<0x18-_0x1dabc3%0x4*0x8;return new _0x58f6b1[(_0xb1e8af(0x3c6))](_0x533220,_0x465e49);}},_0x2bc0bf=_0x5d8b9f[_0x34c9ec(0x1d4)]={'stringify':function(_0x1a9e5f){var _0x27a8b8=_0x34c9ec;try{return decodeURIComponent(escape(_0x15c118[_0x27a8b8(0x481)](_0x1a9e5f)));}catch{throw new Error(_0x27a8b8(0x46b));}},'parse':function(_0x3127e5){var _0x1fdd78=_0x34c9ec;return _0x15c118[_0x1fdd78(0x458)](unescape(encodeURIComponent(_0x3127e5)));}},_0x562538=_0x4fbb5b[_0x34c9ec(0x301)]=_0x525b3b[_0x34c9ec(0x1c8)]({'reset':function(){var _0x39a691=_0x34c9ec;this[_0x39a691(0x35c)]=new _0x58f6b1[(_0x39a691(0x3c6))](),this[_0x39a691(0x213)]=0x0;},'_append':function(_0x43d38f){var _0x5c11dc=_0x34c9ec;typeof _0x43d38f==_0x5c11dc(0x460)&&(_0x43d38f=_0x2bc0bf[_0x5c11dc(0x458)](_0x43d38f)),this[_0x5c11dc(0x35c)][_0x5c11dc(0x25b)](_0x43d38f),this['_nDataBytes']+=_0x43d38f['sigBytes'];},'_process':function(_0x447ddc){var _0x57b208=_0x34c9ec,_0x4b8eff,_0x3ccfb1=this[_0x57b208(0x35c)],_0x3b6114=_0x3ccfb1[_0x57b208(0x156)],_0x5563ec=_0x3ccfb1['sigBytes'],_0x9d02d7=this[_0x57b208(0x28a)],_0x3e3b56=_0x9d02d7*0x4,_0x33beb8=_0x5563ec/_0x3e3b56;_0x447ddc?_0x33beb8=_0x4c44a1[_0x57b208(0x1c0)](_0x33beb8):_0x33beb8=_0x4c44a1[_0x57b208(0x400)]((_0x33beb8|0x0)-this['_minBufferSize'],0x0);var _0x2235a7=_0x33beb8*_0x9d02d7,_0x198aa6=_0x4c44a1[_0x57b208(0x279)](_0x2235a7*0x4,_0x5563ec);if(_0x2235a7){for(var _0x253054=0x0;_0x253054<_0x2235a7;_0x253054+=_0x9d02d7)this['_doProcessBlock'](_0x3b6114,_0x253054);_0x4b8eff=_0x3b6114[_0x57b208(0x15a)](0x0,_0x2235a7),_0x3ccfb1[_0x57b208(0x363)]-=_0x198aa6;}return new _0x58f6b1[(_0x57b208(0x3c6))](_0x4b8eff,_0x198aa6);},'clone':function(){var _0x5d0e64=_0x34c9ec,_0x149803=_0x525b3b[_0x5d0e64(0x2d5)][_0x5d0e64(0x45b)](this);return _0x149803['_data']=this[_0x5d0e64(0x35c)][_0x5d0e64(0x2d5)](),_0x149803;},'_minBufferSize':0x0});_0x4fbb5b[_0x34c9ec(0x12d)]=_0x562538['extend']({'cfg':_0x525b3b[_0x34c9ec(0x1c8)](),'init':function(_0x594d45){var _0x2a70dc=_0x34c9ec;this[_0x2a70dc(0x3fe)]=this['cfg'][_0x2a70dc(0x1c8)](_0x594d45),this['reset']();},'reset':function(){var _0x2289b3=_0x34c9ec;_0x562538[_0x2289b3(0x461)]['call'](this),this[_0x2289b3(0x1e5)]();},'update':function(_0x54534e){var _0x53b6f6=_0x34c9ec;return this[_0x53b6f6(0x239)](_0x54534e),this[_0x53b6f6(0x21b)](),this;},'finalize':function(_0x2f51d4){var _0xced968=_0x34c9ec;_0x2f51d4&&this[_0xced968(0x239)](_0x2f51d4);var _0xf3a064=this['_doFinalize']();return _0xf3a064;},'blockSize':0x10,'_createHelper':function(_0x355d26){return function(_0x1fd1c7,_0x1ac6f8){var _0x21aa4d=_0x38be;return new _0x355d26[(_0x21aa4d(0x3c6))](_0x1ac6f8)[_0x21aa4d(0x3b1)](_0x1fd1c7);};},'_createHmacHelper':function(_0x57f4db){return function(_0x164cf0,_0x35ad4b){var _0x527774=_0x38be;return new _0x28af8e[(_0x527774(0x2e3))][(_0x527774(0x3c6))](_0x57f4db,_0x35ad4b)[_0x527774(0x3b1)](_0x164cf0);};}});var _0x28af8e=_0x31eacd[_0x34c9ec(0x282)]={};return _0x31eacd;}(Math);return _0x4bde51;}));}(pe)),pe[_0x421028(0x46a)];}var ge={'exports':{}},xi=ge[_0x4877c9(0x46a)],Qe;function Dt(){var _0x58b1a0=_0x4877c9;return Qe||(Qe=0x1,function(_0x57225f,_0x41b0cc){(function(_0x67cddb,_0x1c80e1){var _0x4c570d=_0x38be;_0x57225f[_0x4c570d(0x46a)]=_0x1c80e1(ee());}(xi,function(_0x3f865c){var _0x292759=_0x38be;return(function(){var _0x29ff7e=_0x38be,_0x232010=_0x3f865c,_0x25fdb0=_0x232010[_0x29ff7e(0x2c2)],_0x1b6b46=_0x25fdb0[_0x29ff7e(0x24b)],_0x3db4e5=_0x232010[_0x29ff7e(0x16c)];_0x3db4e5[_0x29ff7e(0x219)]={'stringify':function(_0xe1f59){var _0x55d1b1=_0x29ff7e,_0x4c26a3=_0xe1f59['words'],_0x3a4927=_0xe1f59['sigBytes'],_0xd8cc31=this[_0x55d1b1(0x2cb)];_0xe1f59[_0x55d1b1(0x343)]();for(var _0xc29596=[],_0x17e5a1=0x0;_0x17e5a1<_0x3a4927;_0x17e5a1+=0x3)for(var _0xdd5972=_0x4c26a3[_0x17e5a1>>>0x2]>>>0x18-_0x17e5a1%0x4*0x8&0xff,_0x148040=_0x4c26a3[_0x17e5a1+0x1>>>0x2]>>>0x18-(_0x17e5a1+0x1)%0x4*0x8&0xff,_0x547672=_0x4c26a3[_0x17e5a1+0x2>>>0x2]>>>0x18-(_0x17e5a1+0x2)%0x4*0x8&0xff,_0x23ca10=_0xdd5972<<0x10|_0x148040<<0x8|_0x547672,_0x31cea2=0x0;_0x31cea2<0x4&&_0x17e5a1+_0x31cea2*0.75<_0x3a4927;_0x31cea2++)_0xc29596[_0x55d1b1(0x3f5)](_0xd8cc31['charAt'](_0x23ca10>>>0x6*(0x3-_0x31cea2)&0x3f));var _0x26de9b=_0xd8cc31[_0x55d1b1(0x265)](0x40);if(_0x26de9b){for(;_0xc29596['length']%0x4;)_0xc29596[_0x55d1b1(0x3f5)](_0x26de9b);}return _0xc29596['join']('');},'parse':function(_0x1bb36f){var _0xf6d8b9=_0x29ff7e,_0x52dcc4=_0x1bb36f['length'],_0x4bf2a3=this[_0xf6d8b9(0x2cb)],_0x3171fc=this[_0xf6d8b9(0x37c)];if(!_0x3171fc){_0x3171fc=this[_0xf6d8b9(0x37c)]=[];for(var _0x27fea3=0x0;_0x27fea3<_0x4bf2a3[_0xf6d8b9(0x374)];_0x27fea3++)_0x3171fc[_0x4bf2a3[_0xf6d8b9(0x171)](_0x27fea3)]=_0x27fea3;}var _0x5025fc=_0x4bf2a3[_0xf6d8b9(0x265)](0x40);if(_0x5025fc){var _0x123ff2=_0x1bb36f[_0xf6d8b9(0x38a)](_0x5025fc);_0x123ff2!==-0x1&&(_0x52dcc4=_0x123ff2);}return _0x13d4b7(_0x1bb36f,_0x52dcc4,_0x3171fc);},'_map':_0x29ff7e(0x151)};function _0x13d4b7(_0x483767,_0x59b0af,_0x5d7172){var _0xdd220b=_0x29ff7e;for(var _0xcc1205=[],_0x53d07c=0x0,_0x2d15e4=0x0;_0x2d15e4<_0x59b0af;_0x2d15e4++)if(_0x2d15e4%0x4){var _0x460b21=_0x5d7172[_0x483767[_0xdd220b(0x171)](_0x2d15e4-0x1)]<<_0x2d15e4%0x4*0x2,_0x4e3c6=_0x5d7172[_0x483767[_0xdd220b(0x171)](_0x2d15e4)]>>>0x6-_0x2d15e4%0x4*0x2,_0x4f32cf=_0x460b21|_0x4e3c6;_0xcc1205[_0x53d07c>>>0x2]|=_0x4f32cf<<0x18-_0x53d07c%0x4*0x8,_0x53d07c++;}return _0x1b6b46[_0xdd220b(0x379)](_0xcc1205,_0x53d07c);}}()),_0x3f865c[_0x292759(0x16c)][_0x292759(0x219)];}));}(ge)),ge[_0x58b1a0(0x46a)];}var Ie={'exports':{}},ki=Ie[_0x4877c9(0x46a)],et;function Hi(){return et||(et=0x1,function(_0x433d9a,_0x505dd0){(function(_0x48cd2b,_0x11f2a0){var _0xfbca8f=_0x38be;_0x433d9a[_0xfbca8f(0x46a)]=_0x11f2a0(ee());}(ki,function(_0x412a19){var _0x15afcc=_0x38be;return function(_0x156ead){var _0x2b2a5a=_0x38be,_0x56980a=_0x412a19,_0x38776c=_0x56980a[_0x2b2a5a(0x2c2)],_0x46af0b=_0x38776c[_0x2b2a5a(0x24b)],_0xb36ce0=_0x38776c[_0x2b2a5a(0x12d)],_0x54cf78=_0x56980a[_0x2b2a5a(0x282)],_0x5ab388=[];(function(){var _0x58cde7=_0x2b2a5a;for(var _0x1a0a01=0x0;_0x1a0a01<0x40;_0x1a0a01++)_0x5ab388[_0x1a0a01]=_0x156ead[_0x58cde7(0x41b)](_0x156ead[_0x58cde7(0x2b3)](_0x1a0a01+0x1))*0x100000000|0x0;}());var _0xd93adf=_0x54cf78['MD5']=_0xb36ce0[_0x2b2a5a(0x1c8)]({'_doReset':function(){var _0x155b31=_0x2b2a5a;this[_0x155b31(0x29c)]=new _0x46af0b[(_0x155b31(0x3c6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1e37a5,_0xbc2186){var _0x419910=_0x2b2a5a;for(var _0x467cd6=0x0;_0x467cd6<0x10;_0x467cd6++){var _0x179dcb=_0xbc2186+_0x467cd6,_0x375753=_0x1e37a5[_0x179dcb];_0x1e37a5[_0x179dcb]=(_0x375753<<0x8|_0x375753>>>0x18)&0xff00ff|(_0x375753<<0x18|_0x375753>>>0x8)&0xff00ff00;}var _0x24936b=this['_hash'][_0x419910(0x156)],_0x579417=_0x1e37a5[_0xbc2186+0x0],_0x35276f=_0x1e37a5[_0xbc2186+0x1],_0x2afe2c=_0x1e37a5[_0xbc2186+0x2],_0x29932=_0x1e37a5[_0xbc2186+0x3],_0x20aef5=_0x1e37a5[_0xbc2186+0x4],_0x21ef6b=_0x1e37a5[_0xbc2186+0x5],_0x42fca6=_0x1e37a5[_0xbc2186+0x6],_0x1c712b=_0x1e37a5[_0xbc2186+0x7],_0x176797=_0x1e37a5[_0xbc2186+0x8],_0x1318d4=_0x1e37a5[_0xbc2186+0x9],_0x1b1666=_0x1e37a5[_0xbc2186+0xa],_0x5d213f=_0x1e37a5[_0xbc2186+0xb],_0xa02a23=_0x1e37a5[_0xbc2186+0xc],_0x1a16f9=_0x1e37a5[_0xbc2186+0xd],_0x16fb2d=_0x1e37a5[_0xbc2186+0xe],_0x1793fa=_0x1e37a5[_0xbc2186+0xf],_0x4775fa=_0x24936b[0x0],_0x570f8c=_0x24936b[0x1],_0x1e61a0=_0x24936b[0x2],_0x1af455=_0x24936b[0x3];_0x4775fa=_0x4b8fdb(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x579417,0x7,_0x5ab388[0x0]),_0x1af455=_0x4b8fdb(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x35276f,0xc,_0x5ab388[0x1]),_0x1e61a0=_0x4b8fdb(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x2afe2c,0x11,_0x5ab388[0x2]),_0x570f8c=_0x4b8fdb(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x29932,0x16,_0x5ab388[0x3]),_0x4775fa=_0x4b8fdb(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x20aef5,0x7,_0x5ab388[0x4]),_0x1af455=_0x4b8fdb(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x21ef6b,0xc,_0x5ab388[0x5]),_0x1e61a0=_0x4b8fdb(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x42fca6,0x11,_0x5ab388[0x6]),_0x570f8c=_0x4b8fdb(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1c712b,0x16,_0x5ab388[0x7]),_0x4775fa=_0x4b8fdb(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x176797,0x7,_0x5ab388[0x8]),_0x1af455=_0x4b8fdb(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1318d4,0xc,_0x5ab388[0x9]),_0x1e61a0=_0x4b8fdb(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1b1666,0x11,_0x5ab388[0xa]),_0x570f8c=_0x4b8fdb(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x5d213f,0x16,_0x5ab388[0xb]),_0x4775fa=_0x4b8fdb(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0xa02a23,0x7,_0x5ab388[0xc]),_0x1af455=_0x4b8fdb(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1a16f9,0xc,_0x5ab388[0xd]),_0x1e61a0=_0x4b8fdb(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x16fb2d,0x11,_0x5ab388[0xe]),_0x570f8c=_0x4b8fdb(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1793fa,0x16,_0x5ab388[0xf]),_0x4775fa=_0x47c478(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x35276f,0x5,_0x5ab388[0x10]),_0x1af455=_0x47c478(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x42fca6,0x9,_0x5ab388[0x11]),_0x1e61a0=_0x47c478(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x5d213f,0xe,_0x5ab388[0x12]),_0x570f8c=_0x47c478(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x579417,0x14,_0x5ab388[0x13]),_0x4775fa=_0x47c478(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x21ef6b,0x5,_0x5ab388[0x14]),_0x1af455=_0x47c478(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1b1666,0x9,_0x5ab388[0x15]),_0x1e61a0=_0x47c478(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1793fa,0xe,_0x5ab388[0x16]),_0x570f8c=_0x47c478(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x20aef5,0x14,_0x5ab388[0x17]),_0x4775fa=_0x47c478(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x1318d4,0x5,_0x5ab388[0x18]),_0x1af455=_0x47c478(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x16fb2d,0x9,_0x5ab388[0x19]),_0x1e61a0=_0x47c478(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x29932,0xe,_0x5ab388[0x1a]),_0x570f8c=_0x47c478(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x176797,0x14,_0x5ab388[0x1b]),_0x4775fa=_0x47c478(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x1a16f9,0x5,_0x5ab388[0x1c]),_0x1af455=_0x47c478(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x2afe2c,0x9,_0x5ab388[0x1d]),_0x1e61a0=_0x47c478(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1c712b,0xe,_0x5ab388[0x1e]),_0x570f8c=_0x47c478(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0xa02a23,0x14,_0x5ab388[0x1f]),_0x4775fa=_0x20e264(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x21ef6b,0x4,_0x5ab388[0x20]),_0x1af455=_0x20e264(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x176797,0xb,_0x5ab388[0x21]),_0x1e61a0=_0x20e264(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x5d213f,0x10,_0x5ab388[0x22]),_0x570f8c=_0x20e264(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x16fb2d,0x17,_0x5ab388[0x23]),_0x4775fa=_0x20e264(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x35276f,0x4,_0x5ab388[0x24]),_0x1af455=_0x20e264(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x20aef5,0xb,_0x5ab388[0x25]),_0x1e61a0=_0x20e264(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1c712b,0x10,_0x5ab388[0x26]),_0x570f8c=_0x20e264(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1b1666,0x17,_0x5ab388[0x27]),_0x4775fa=_0x20e264(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x1a16f9,0x4,_0x5ab388[0x28]),_0x1af455=_0x20e264(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x579417,0xb,_0x5ab388[0x29]),_0x1e61a0=_0x20e264(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x29932,0x10,_0x5ab388[0x2a]),_0x570f8c=_0x20e264(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x42fca6,0x17,_0x5ab388[0x2b]),_0x4775fa=_0x20e264(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x1318d4,0x4,_0x5ab388[0x2c]),_0x1af455=_0x20e264(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0xa02a23,0xb,_0x5ab388[0x2d]),_0x1e61a0=_0x20e264(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1793fa,0x10,_0x5ab388[0x2e]),_0x570f8c=_0x20e264(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x2afe2c,0x17,_0x5ab388[0x2f]),_0x4775fa=_0x776fad(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x579417,0x6,_0x5ab388[0x30]),_0x1af455=_0x776fad(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1c712b,0xa,_0x5ab388[0x31]),_0x1e61a0=_0x776fad(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x16fb2d,0xf,_0x5ab388[0x32]),_0x570f8c=_0x776fad(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x21ef6b,0x15,_0x5ab388[0x33]),_0x4775fa=_0x776fad(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0xa02a23,0x6,_0x5ab388[0x34]),_0x1af455=_0x776fad(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x29932,0xa,_0x5ab388[0x35]),_0x1e61a0=_0x776fad(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x1b1666,0xf,_0x5ab388[0x36]),_0x570f8c=_0x776fad(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x35276f,0x15,_0x5ab388[0x37]),_0x4775fa=_0x776fad(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x176797,0x6,_0x5ab388[0x38]),_0x1af455=_0x776fad(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x1793fa,0xa,_0x5ab388[0x39]),_0x1e61a0=_0x776fad(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x42fca6,0xf,_0x5ab388[0x3a]),_0x570f8c=_0x776fad(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1a16f9,0x15,_0x5ab388[0x3b]),_0x4775fa=_0x776fad(_0x4775fa,_0x570f8c,_0x1e61a0,_0x1af455,_0x20aef5,0x6,_0x5ab388[0x3c]),_0x1af455=_0x776fad(_0x1af455,_0x4775fa,_0x570f8c,_0x1e61a0,_0x5d213f,0xa,_0x5ab388[0x3d]),_0x1e61a0=_0x776fad(_0x1e61a0,_0x1af455,_0x4775fa,_0x570f8c,_0x2afe2c,0xf,_0x5ab388[0x3e]),_0x570f8c=_0x776fad(_0x570f8c,_0x1e61a0,_0x1af455,_0x4775fa,_0x1318d4,0x15,_0x5ab388[0x3f]),_0x24936b[0x0]=_0x24936b[0x0]+_0x4775fa|0x0,_0x24936b[0x1]=_0x24936b[0x1]+_0x570f8c|0x0,_0x24936b[0x2]=_0x24936b[0x2]+_0x1e61a0|0x0,_0x24936b[0x3]=_0x24936b[0x3]+_0x1af455|0x0;},'_doFinalize':function(){var _0x359c1c=_0x2b2a5a,_0x338ef1=this[_0x359c1c(0x35c)],_0x2d7624=_0x338ef1[_0x359c1c(0x156)],_0xf7c0f0=this[_0x359c1c(0x213)]*0x8,_0x1be820=_0x338ef1[_0x359c1c(0x363)]*0x8;_0x2d7624[_0x1be820>>>0x5]|=0x80<<0x18-_0x1be820%0x20;var _0x3cdd03=_0x156ead[_0x359c1c(0x252)](_0xf7c0f0/0x100000000),_0x4bf038=_0xf7c0f0;_0x2d7624[(_0x1be820+0x40>>>0x9<<0x4)+0xf]=(_0x3cdd03<<0x8|_0x3cdd03>>>0x18)&0xff00ff|(_0x3cdd03<<0x18|_0x3cdd03>>>0x8)&0xff00ff00,_0x2d7624[(_0x1be820+0x40>>>0x9<<0x4)+0xe]=(_0x4bf038<<0x8|_0x4bf038>>>0x18)&0xff00ff|(_0x4bf038<<0x18|_0x4bf038>>>0x8)&0xff00ff00,_0x338ef1[_0x359c1c(0x363)]=(_0x2d7624['length']+0x1)*0x4,this[_0x359c1c(0x21b)]();for(var _0x1010fa=this[_0x359c1c(0x29c)],_0x3142e8=_0x1010fa['words'],_0x126c0d=0x0;_0x126c0d<0x4;_0x126c0d++){var _0x1f63dc=_0x3142e8[_0x126c0d];_0x3142e8[_0x126c0d]=(_0x1f63dc<<0x8|_0x1f63dc>>>0x18)&0xff00ff|(_0x1f63dc<<0x18|_0x1f63dc>>>0x8)&0xff00ff00;}return _0x1010fa;},'clone':function(){var _0x2a6fc9=_0x2b2a5a,_0x1a4cb6=_0xb36ce0[_0x2a6fc9(0x2d5)][_0x2a6fc9(0x45b)](this);return _0x1a4cb6['_hash']=this[_0x2a6fc9(0x29c)][_0x2a6fc9(0x2d5)](),_0x1a4cb6;}});function _0x4b8fdb(_0xe4ecef,_0x5f5def,_0x5bf139,_0x55d010,_0x951262,_0x58f9f2,_0x436c38){var _0x3af808=_0xe4ecef+(_0x5f5def&_0x5bf139|~_0x5f5def&_0x55d010)+_0x951262+_0x436c38;return(_0x3af808<<_0x58f9f2|_0x3af808>>>0x20-_0x58f9f2)+_0x5f5def;}function _0x47c478(_0x1fec3b,_0x544f57,_0x2329a7,_0x3981b4,_0x5667a1,_0xcb99fe,_0x235e37){var _0x25bcb6=_0x1fec3b+(_0x544f57&_0x3981b4|_0x2329a7&~_0x3981b4)+_0x5667a1+_0x235e37;return(_0x25bcb6<<_0xcb99fe|_0x25bcb6>>>0x20-_0xcb99fe)+_0x544f57;}function _0x20e264(_0x50b230,_0x1e3384,_0x5095db,_0x44a883,_0x1f0078,_0x3c024d,_0x430ade){var _0x533ad0=_0x50b230+(_0x1e3384^_0x5095db^_0x44a883)+_0x1f0078+_0x430ade;return(_0x533ad0<<_0x3c024d|_0x533ad0>>>0x20-_0x3c024d)+_0x1e3384;}function _0x776fad(_0x92df2d,_0x437cfd,_0x4da1e3,_0x35330e,_0x2bfc13,_0x3242ca,_0x56e083){var _0x20f7ad=_0x92df2d+(_0x4da1e3^(_0x437cfd|~_0x35330e))+_0x2bfc13+_0x56e083;return(_0x20f7ad<<_0x3242ca|_0x20f7ad>>>0x20-_0x3242ca)+_0x437cfd;}_0x56980a[_0x2b2a5a(0x44f)]=_0xb36ce0['_createHelper'](_0xd93adf),_0x56980a['HmacMD5']=_0xb36ce0[_0x2b2a5a(0x1a7)](_0xd93adf);}(Math),_0x412a19[_0x15afcc(0x44f)];}));}(Ie)),Ie['exports'];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x4877c9(0x46a)],tt;function $i(){return tt||(tt=0x1,function(_0x346048,_0xe4d240){(function(_0x47e3d6,_0x39c23f){var _0x5adc34=_0x38be;_0x346048[_0x5adc34(0x46a)]=_0x39c23f(ee());}(ji,function(_0x54b0df){var _0x550c8a=_0x38be;return(function(){var _0x252a55=_0x38be,_0x24e5fc=_0x54b0df,_0x168d5a=_0x24e5fc[_0x252a55(0x2c2)],_0x4eb1a3=_0x168d5a['WordArray'],_0x3aa384=_0x168d5a['Hasher'],_0x3558a8=_0x24e5fc['algo'],_0x3cd653=[],_0x39d5a=_0x3558a8[_0x252a55(0x196)]=_0x3aa384[_0x252a55(0x1c8)]({'_doReset':function(){var _0x5e4eb5=_0x252a55;this[_0x5e4eb5(0x29c)]=new _0x4eb1a3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x477241,_0x319e40){var _0x362ddf=_0x252a55;for(var _0x1c83ee=this[_0x362ddf(0x29c)]['words'],_0x387985=_0x1c83ee[0x0],_0x46dcd3=_0x1c83ee[0x1],_0x399f69=_0x1c83ee[0x2],_0x2e065e=_0x1c83ee[0x3],_0x40d202=_0x1c83ee[0x4],_0x1940be=0x0;_0x1940be<0x50;_0x1940be++){if(_0x1940be<0x10)_0x3cd653[_0x1940be]=_0x477241[_0x319e40+_0x1940be]|0x0;else{var _0x3cb31f=_0x3cd653[_0x1940be-0x3]^_0x3cd653[_0x1940be-0x8]^_0x3cd653[_0x1940be-0xe]^_0x3cd653[_0x1940be-0x10];_0x3cd653[_0x1940be]=_0x3cb31f<<0x1|_0x3cb31f>>>0x1f;}var _0x16643c=(_0x387985<<0x5|_0x387985>>>0x1b)+_0x40d202+_0x3cd653[_0x1940be];_0x1940be<0x14?_0x16643c+=(_0x46dcd3&_0x399f69|~_0x46dcd3&_0x2e065e)+0x5a827999:_0x1940be<0x28?_0x16643c+=(_0x46dcd3^_0x399f69^_0x2e065e)+0x6ed9eba1:_0x1940be<0x3c?_0x16643c+=(_0x46dcd3&_0x399f69|_0x46dcd3&_0x2e065e|_0x399f69&_0x2e065e)-0x70e44324:_0x16643c+=(_0x46dcd3^_0x399f69^_0x2e065e)-0x359d3e2a,_0x40d202=_0x2e065e,_0x2e065e=_0x399f69,_0x399f69=_0x46dcd3<<0x1e|_0x46dcd3>>>0x2,_0x46dcd3=_0x387985,_0x387985=_0x16643c;}_0x1c83ee[0x0]=_0x1c83ee[0x0]+_0x387985|0x0,_0x1c83ee[0x1]=_0x1c83ee[0x1]+_0x46dcd3|0x0,_0x1c83ee[0x2]=_0x1c83ee[0x2]+_0x399f69|0x0,_0x1c83ee[0x3]=_0x1c83ee[0x3]+_0x2e065e|0x0,_0x1c83ee[0x4]=_0x1c83ee[0x4]+_0x40d202|0x0;},'_doFinalize':function(){var _0x33b080=_0x252a55,_0x216450=this[_0x33b080(0x35c)],_0x27a4fa=_0x216450[_0x33b080(0x156)],_0x1636d3=this[_0x33b080(0x213)]*0x8,_0x14af21=_0x216450[_0x33b080(0x363)]*0x8;return _0x27a4fa[_0x14af21>>>0x5]|=0x80<<0x18-_0x14af21%0x20,_0x27a4fa[(_0x14af21+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x1636d3/0x100000000),_0x27a4fa[(_0x14af21+0x40>>>0x9<<0x4)+0xf]=_0x1636d3,_0x216450[_0x33b080(0x363)]=_0x27a4fa['length']*0x4,this[_0x33b080(0x21b)](),this[_0x33b080(0x29c)];},'clone':function(){var _0x379c49=_0x252a55,_0x491cb3=_0x3aa384[_0x379c49(0x2d5)]['call'](this);return _0x491cb3[_0x379c49(0x29c)]=this[_0x379c49(0x29c)][_0x379c49(0x2d5)](),_0x491cb3;}});_0x24e5fc[_0x252a55(0x196)]=_0x3aa384[_0x252a55(0x27a)](_0x39d5a),_0x24e5fc['HmacSHA1']=_0x3aa384[_0x252a55(0x1a7)](_0x39d5a);}()),_0x54b0df[_0x550c8a(0x196)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x345fd2=_0x4877c9;return it||(it=0x1,function(_0x4b1dd4,_0x4c9d2d){(function(_0x24ef69,_0x29eb6a){_0x4b1dd4['exports']=_0x29eb6a(ee());}(Bi,function(_0x4e3a21){(function(){var _0x2ded27=_0x38be,_0xfea044=_0x4e3a21,_0x49fc93=_0xfea044[_0x2ded27(0x2c2)],_0xf7b079=_0x49fc93[_0x2ded27(0x2e5)],_0x1b0819=_0xfea044[_0x2ded27(0x16c)],_0x47e129=_0x1b0819[_0x2ded27(0x1d4)],_0x1d273d=_0xfea044[_0x2ded27(0x282)];_0x1d273d[_0x2ded27(0x2e3)]=_0xf7b079[_0x2ded27(0x1c8)]({'init':function(_0x107031,_0x2aef54){var _0x1fc7bf=_0x2ded27;_0x107031=this['_hasher']=new _0x107031[(_0x1fc7bf(0x3c6))](),typeof _0x2aef54==_0x1fc7bf(0x460)&&(_0x2aef54=_0x47e129['parse'](_0x2aef54));var _0x3460cf=_0x107031[_0x1fc7bf(0x28a)],_0x49cbcb=_0x3460cf*0x4;_0x2aef54['sigBytes']>_0x49cbcb&&(_0x2aef54=_0x107031[_0x1fc7bf(0x3b1)](_0x2aef54)),_0x2aef54[_0x1fc7bf(0x343)]();for(var _0x13f91d=this['_oKey']=_0x2aef54[_0x1fc7bf(0x2d5)](),_0x3446ed=this[_0x1fc7bf(0x339)]=_0x2aef54[_0x1fc7bf(0x2d5)](),_0x3fbe1c=_0x13f91d[_0x1fc7bf(0x156)],_0x198712=_0x3446ed['words'],_0x4c7462=0x0;_0x4c7462<_0x3460cf;_0x4c7462++)_0x3fbe1c[_0x4c7462]^=0x5c5c5c5c,_0x198712[_0x4c7462]^=0x36363636;_0x13f91d[_0x1fc7bf(0x363)]=_0x3446ed[_0x1fc7bf(0x363)]=_0x49cbcb,this[_0x1fc7bf(0x461)]();},'reset':function(){var _0x1a0ba0=_0x2ded27,_0x19d393=this['_hasher'];_0x19d393[_0x1a0ba0(0x461)](),_0x19d393['update'](this[_0x1a0ba0(0x339)]);},'update':function(_0x12c21c){var _0x504431=_0x2ded27;return this[_0x504431(0x1fa)]['update'](_0x12c21c),this;},'finalize':function(_0x287884){var _0x2c251f=_0x2ded27,_0x308169=this['_hasher'],_0x1158d3=_0x308169['finalize'](_0x287884);_0x308169[_0x2c251f(0x461)]();var _0x5d911d=_0x308169[_0x2c251f(0x3b1)](this[_0x2c251f(0x172)][_0x2c251f(0x2d5)]()[_0x2c251f(0x25b)](_0x1158d3));return _0x5d911d;}});}());}));}(Ce)),Ce[_0x345fd2(0x46a)];}var Vi=me[_0x4877c9(0x46a)],nt;function At(){var _0x48dc8c=_0x4877c9;return nt||(nt=0x1,function(_0x48ecd5,_0x454146){(function(_0x34cfd9,_0x50b25b,_0x30fdf4){var _0x3ee6b6=_0x38be;_0x48ecd5[_0x3ee6b6(0x46a)]=_0x50b25b(ee(),$i(),Fi());}(Vi,function(_0xf0bbad){var _0x1adc7a=_0x38be;return(function(){var _0x4160d1=_0x38be,_0x452cb6=_0xf0bbad,_0x1acb02=_0x452cb6[_0x4160d1(0x2c2)],_0x45b0d8=_0x1acb02['Base'],_0x13099=_0x1acb02['WordArray'],_0x1774c8=_0x452cb6[_0x4160d1(0x282)],_0x126481=_0x1774c8['MD5'],_0x11cacf=_0x1774c8[_0x4160d1(0x3a3)]=_0x45b0d8[_0x4160d1(0x1c8)]({'cfg':_0x45b0d8['extend']({'keySize':0x80/0x20,'hasher':_0x126481,'iterations':0x1}),'init':function(_0x2fcbb6){var _0x5833df=_0x4160d1;this['cfg']=this['cfg'][_0x5833df(0x1c8)](_0x2fcbb6);},'compute':function(_0x192a74,_0x385249){var _0x4bbb7d=_0x4160d1;for(var _0xddc463,_0x35975c=this['cfg'],_0x1fe055=_0x35975c[_0x4bbb7d(0x241)][_0x4bbb7d(0x379)](),_0x9a828f=_0x13099[_0x4bbb7d(0x379)](),_0x35aa86=_0x9a828f[_0x4bbb7d(0x156)],_0x48d3de=_0x35975c[_0x4bbb7d(0x33f)],_0x62d66d=_0x35975c[_0x4bbb7d(0x138)];_0x35aa86[_0x4bbb7d(0x374)]<_0x48d3de;){_0xddc463&&_0x1fe055['update'](_0xddc463),_0xddc463=_0x1fe055[_0x4bbb7d(0x19c)](_0x192a74)[_0x4bbb7d(0x3b1)](_0x385249),_0x1fe055[_0x4bbb7d(0x461)]();for(var _0x38879d=0x1;_0x38879d<_0x62d66d;_0x38879d++)_0xddc463=_0x1fe055[_0x4bbb7d(0x3b1)](_0xddc463),_0x1fe055[_0x4bbb7d(0x461)]();_0x9a828f[_0x4bbb7d(0x25b)](_0xddc463);}return _0x9a828f['sigBytes']=_0x48d3de*0x4,_0x9a828f;}});_0x452cb6['EvpKDF']=function(_0x375a40,_0x574677,_0xdb30bb){var _0x1441c0=_0x4160d1;return _0x11cacf[_0x1441c0(0x379)](_0xdb30bb)['compute'](_0x375a40,_0x574677);};}()),_0xf0bbad[_0x1adc7a(0x3a3)];}));}(me)),me[_0x48dc8c(0x46a)];}var Te={'exports':{}},Wi=Te[_0x4877c9(0x46a)],rt;function Pt(){var _0x2eb96e=_0x4877c9;return rt||(rt=0x1,function(_0x4b32f3,_0x5c746b){(function(_0x31a47c,_0xea5450,_0x2378ce){var _0x4bcb1f=_0x38be;_0x4b32f3[_0x4bcb1f(0x46a)]=_0xea5450(ee(),At());}(Wi,function(_0x104bf8){var _0x52c3e8=_0x38be;_0x104bf8[_0x52c3e8(0x2c2)]['Cipher']||function(_0x4c84d0){var _0x282b45=_0x52c3e8,_0x9e5628=_0x104bf8,_0x1bc9e7=_0x9e5628['lib'],_0x587650=_0x1bc9e7[_0x282b45(0x2e5)],_0x5dbaef=_0x1bc9e7[_0x282b45(0x24b)],_0x3523c6=_0x1bc9e7['BufferedBlockAlgorithm'],_0x154fc2=_0x9e5628['enc'];_0x154fc2[_0x282b45(0x1d4)];var _0x3481a1=_0x154fc2[_0x282b45(0x219)],_0x172a1c=_0x9e5628[_0x282b45(0x282)],_0x5aa691=_0x172a1c[_0x282b45(0x3a3)],_0x1379e4=_0x1bc9e7[_0x282b45(0x35d)]=_0x3523c6[_0x282b45(0x1c8)]({'cfg':_0x587650['extend'](),'createEncryptor':function(_0x4a334b,_0x18ad27){var _0x44df3a=_0x282b45;return this[_0x44df3a(0x379)](this['_ENC_XFORM_MODE'],_0x4a334b,_0x18ad27);},'createDecryptor':function(_0x3b2c33,_0x2cb1e9){var _0x1b8612=_0x282b45;return this[_0x1b8612(0x379)](this['_DEC_XFORM_MODE'],_0x3b2c33,_0x2cb1e9);},'init':function(_0x56eebf,_0x26ee7e,_0x52da58){var _0x2a3aad=_0x282b45;this[_0x2a3aad(0x3fe)]=this[_0x2a3aad(0x3fe)][_0x2a3aad(0x1c8)](_0x52da58),this[_0x2a3aad(0x1f8)]=_0x56eebf,this['_key']=_0x26ee7e,this[_0x2a3aad(0x461)]();},'reset':function(){var _0x1c5fde=_0x282b45;_0x3523c6[_0x1c5fde(0x461)][_0x1c5fde(0x45b)](this),this[_0x1c5fde(0x1e5)]();},'process':function(_0x4b625b){var _0xfa05ab=_0x282b45;return this[_0xfa05ab(0x239)](_0x4b625b),this[_0xfa05ab(0x21b)]();},'finalize':function(_0x585d5b){_0x585d5b&&this['_append'](_0x585d5b);var _0x314e11=this['_doFinalize']();return _0x314e11;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3be69e(_0x104af7){var _0x3260d5=_0x38be;return typeof _0x104af7==_0x3260d5(0x460)?_0x158d1a:_0x472d2f;}return function(_0x2f03d0){return{'encrypt':function(_0x5e911b,_0x31b23c,_0x49d24c){var _0x42f095=_0x38be;return _0x3be69e(_0x31b23c)[_0x42f095(0x238)](_0x2f03d0,_0x5e911b,_0x31b23c,_0x49d24c);},'decrypt':function(_0x401971,_0x5ee2ba,_0x4e751f){var _0x486120=_0x38be;return _0x3be69e(_0x5ee2ba)[_0x486120(0x1af)](_0x2f03d0,_0x401971,_0x5ee2ba,_0x4e751f);}};};}())});_0x1bc9e7[_0x282b45(0x3ee)]=_0x1379e4[_0x282b45(0x1c8)]({'_doFinalize':function(){var _0x1b2596=_0x282b45,_0x5297be=this[_0x1b2596(0x21b)](!0x0);return _0x5297be;},'blockSize':0x1});var _0xf5de9d=_0x9e5628[_0x282b45(0x2da)]={},_0x4bf790=_0x1bc9e7['BlockCipherMode']=_0x587650[_0x282b45(0x1c8)]({'createEncryptor':function(_0x31d325,_0xf5fabb){var _0x295fd0=_0x282b45;return this[_0x295fd0(0x1fc)][_0x295fd0(0x379)](_0x31d325,_0xf5fabb);},'createDecryptor':function(_0x3b5624,_0xe145a3){var _0x23c9f4=_0x282b45;return this[_0x23c9f4(0x1e7)]['create'](_0x3b5624,_0xe145a3);},'init':function(_0x24f28e,_0x6d8a67){var _0x5a6213=_0x282b45;this[_0x5a6213(0x304)]=_0x24f28e,this[_0x5a6213(0x29d)]=_0x6d8a67;}}),_0x5d44e1=_0xf5de9d['CBC']=(function(){var _0x5bc9b3=_0x282b45,_0x52137d=_0x4bf790[_0x5bc9b3(0x1c8)]();_0x52137d[_0x5bc9b3(0x1fc)]=_0x52137d[_0x5bc9b3(0x1c8)]({'processBlock':function(_0x391dc7,_0x1f2271){var _0x59bc54=_0x5bc9b3,_0x22d5c2=this[_0x59bc54(0x304)],_0x54249c=_0x22d5c2[_0x59bc54(0x28a)];_0x37b225[_0x59bc54(0x45b)](this,_0x391dc7,_0x1f2271,_0x54249c),_0x22d5c2[_0x59bc54(0x420)](_0x391dc7,_0x1f2271),this[_0x59bc54(0x272)]=_0x391dc7[_0x59bc54(0x32a)](_0x1f2271,_0x1f2271+_0x54249c);}}),_0x52137d['Decryptor']=_0x52137d[_0x5bc9b3(0x1c8)]({'processBlock':function(_0x54c7ae,_0x15b29e){var _0x39cb2c=_0x5bc9b3,_0x2af7ad=this['_cipher'],_0x370334=_0x2af7ad['blockSize'],_0x527486=_0x54c7ae['slice'](_0x15b29e,_0x15b29e+_0x370334);_0x2af7ad[_0x39cb2c(0x25d)](_0x54c7ae,_0x15b29e),_0x37b225[_0x39cb2c(0x45b)](this,_0x54c7ae,_0x15b29e,_0x370334),this[_0x39cb2c(0x272)]=_0x527486;}});function _0x37b225(_0x505a97,_0x6377f3,_0x3e876c){var _0x583bcf=_0x5bc9b3,_0x30b87e,_0x32045e=this[_0x583bcf(0x29d)];_0x32045e?(_0x30b87e=_0x32045e,this[_0x583bcf(0x29d)]=_0x4c84d0):_0x30b87e=this[_0x583bcf(0x272)];for(var _0x2833cb=0x0;_0x2833cb<_0x3e876c;_0x2833cb++)_0x505a97[_0x6377f3+_0x2833cb]^=_0x30b87e[_0x2833cb];}return _0x52137d;}()),_0x30f7bb=_0x9e5628['pad']={},_0x4edaab=_0x30f7bb[_0x282b45(0x2c1)]={'pad':function(_0x2a1132,_0x5cb70f){var _0x27539a=_0x282b45;for(var _0x5e82d1=_0x5cb70f*0x4,_0x5f324f=_0x5e82d1-_0x2a1132['sigBytes']%_0x5e82d1,_0x20f263=_0x5f324f<<0x18|_0x5f324f<<0x10|_0x5f324f<<0x8|_0x5f324f,_0x804efd=[],_0x441561=0x0;_0x441561<_0x5f324f;_0x441561+=0x4)_0x804efd['push'](_0x20f263);var _0x366759=_0x5dbaef[_0x27539a(0x379)](_0x804efd,_0x5f324f);_0x2a1132['concat'](_0x366759);},'unpad':function(_0x8016c3){var _0x3c3d61=_0x282b45,_0x20142b=_0x8016c3[_0x3c3d61(0x156)][_0x8016c3[_0x3c3d61(0x363)]-0x1>>>0x2]&0xff;_0x8016c3[_0x3c3d61(0x363)]-=_0x20142b;}};_0x1bc9e7[_0x282b45(0x206)]=_0x1379e4[_0x282b45(0x1c8)]({'cfg':_0x1379e4[_0x282b45(0x3fe)][_0x282b45(0x1c8)]({'mode':_0x5d44e1,'padding':_0x4edaab}),'reset':function(){var _0x46c7e4=_0x282b45,_0x4d12db;_0x1379e4['reset'][_0x46c7e4(0x45b)](this);var _0x2dc1d8=this['cfg'],_0x37a4af=_0x2dc1d8['iv'],_0x239faa=_0x2dc1d8[_0x46c7e4(0x2da)];this[_0x46c7e4(0x1f8)]==this['_ENC_XFORM_MODE']?_0x4d12db=_0x239faa[_0x46c7e4(0x344)]:(_0x4d12db=_0x239faa[_0x46c7e4(0x34e)],this[_0x46c7e4(0x20b)]=0x1),this[_0x46c7e4(0x220)]&&this[_0x46c7e4(0x220)][_0x46c7e4(0x377)]==_0x4d12db?this[_0x46c7e4(0x220)][_0x46c7e4(0x3c6)](this,_0x37a4af&&_0x37a4af[_0x46c7e4(0x156)]):(this[_0x46c7e4(0x220)]=_0x4d12db[_0x46c7e4(0x45b)](_0x239faa,this,_0x37a4af&&_0x37a4af['words']),this[_0x46c7e4(0x220)][_0x46c7e4(0x377)]=_0x4d12db);},'_doProcessBlock':function(_0x2debd7,_0x47ee09){var _0x4191dd=_0x282b45;this[_0x4191dd(0x220)][_0x4191dd(0x454)](_0x2debd7,_0x47ee09);},'_doFinalize':function(){var _0x4d85d7=_0x282b45,_0x4cdf72,_0x240ff6=this[_0x4d85d7(0x3fe)]['padding'];return this[_0x4d85d7(0x1f8)]==this[_0x4d85d7(0x1a3)]?(_0x240ff6['pad'](this[_0x4d85d7(0x35c)],this[_0x4d85d7(0x28a)]),_0x4cdf72=this[_0x4d85d7(0x21b)](!0x0)):(_0x4cdf72=this[_0x4d85d7(0x21b)](!0x0),_0x240ff6['unpad'](_0x4cdf72)),_0x4cdf72;},'blockSize':0x80/0x20});var _0x405639=_0x1bc9e7[_0x282b45(0x179)]=_0x587650[_0x282b45(0x1c8)]({'init':function(_0x3893ac){var _0x3b4abb=_0x282b45;this[_0x3b4abb(0x2de)](_0x3893ac);},'toString':function(_0x359495){var _0x5e8d59=_0x282b45;return(_0x359495||this['formatter'])[_0x5e8d59(0x481)](this);}}),_0x286acd=_0x9e5628[_0x282b45(0x2ca)]={},_0x5376d0=_0x286acd[_0x282b45(0x41a)]={'stringify':function(_0x51375a){var _0x3b9c4f=_0x282b45,_0x9e1877,_0x5d75af=_0x51375a['ciphertext'],_0x3f521c=_0x51375a[_0x3b9c4f(0x1ba)];return _0x3f521c?_0x9e1877=_0x5dbaef['create']([0x53616c74,0x65645f5f])[_0x3b9c4f(0x25b)](_0x3f521c)[_0x3b9c4f(0x25b)](_0x5d75af):_0x9e1877=_0x5d75af,_0x9e1877[_0x3b9c4f(0x1c3)](_0x3481a1);},'parse':function(_0x47e0d8){var _0x553cac=_0x282b45,_0x4bc0f8,_0x5af25e=_0x3481a1['parse'](_0x47e0d8),_0x3c1d56=_0x5af25e['words'];return _0x3c1d56[0x0]==0x53616c74&&_0x3c1d56[0x1]==0x65645f5f&&(_0x4bc0f8=_0x5dbaef[_0x553cac(0x379)](_0x3c1d56[_0x553cac(0x32a)](0x2,0x4)),_0x3c1d56[_0x553cac(0x15a)](0x0,0x4),_0x5af25e[_0x553cac(0x363)]-=0x10),_0x405639['create']({'ciphertext':_0x5af25e,'salt':_0x4bc0f8});}},_0x472d2f=_0x1bc9e7[_0x282b45(0x15e)]=_0x587650[_0x282b45(0x1c8)]({'cfg':_0x587650[_0x282b45(0x1c8)]({'format':_0x5376d0}),'encrypt':function(_0x2f229c,_0x31cbd7,_0x853b35,_0x2f915a){var _0x4c497b=_0x282b45;_0x2f915a=this[_0x4c497b(0x3fe)][_0x4c497b(0x1c8)](_0x2f915a);var _0x58a3bf=_0x2f229c[_0x4c497b(0x344)](_0x853b35,_0x2f915a),_0x171877=_0x58a3bf[_0x4c497b(0x3b1)](_0x31cbd7),_0x517c42=_0x58a3bf[_0x4c497b(0x3fe)];return _0x405639['create']({'ciphertext':_0x171877,'key':_0x853b35,'iv':_0x517c42['iv'],'algorithm':_0x2f229c,'mode':_0x517c42['mode'],'padding':_0x517c42[_0x4c497b(0x137)],'blockSize':_0x2f229c[_0x4c497b(0x28a)],'formatter':_0x2f915a[_0x4c497b(0x2ca)]});},'decrypt':function(_0x27b259,_0x5bb5cf,_0x433e0c,_0x11184c){var _0x427e3f=_0x282b45;_0x11184c=this[_0x427e3f(0x3fe)]['extend'](_0x11184c),_0x5bb5cf=this[_0x427e3f(0x306)](_0x5bb5cf,_0x11184c['format']);var _0x4e2701=_0x27b259[_0x427e3f(0x34e)](_0x433e0c,_0x11184c)['finalize'](_0x5bb5cf[_0x427e3f(0x296)]);return _0x4e2701;},'_parse':function(_0x422cdc,_0x484a89){return typeof _0x422cdc=='string'?_0x484a89['parse'](_0x422cdc,this):_0x422cdc;}}),_0x339b95=_0x9e5628[_0x282b45(0x283)]={},_0x4e8a1b=_0x339b95[_0x282b45(0x41a)]={'execute':function(_0x566b8a,_0x31fc2e,_0x9502c,_0x123cd6,_0x5dce66){var _0x23e72a=_0x282b45;if(_0x123cd6||(_0x123cd6=_0x5dbaef['random'](0x40/0x8)),_0x5dce66)var _0x56413f=_0x5aa691['create']({'keySize':_0x31fc2e+_0x9502c,'hasher':_0x5dce66})['compute'](_0x566b8a,_0x123cd6);else var _0x56413f=_0x5aa691[_0x23e72a(0x379)]({'keySize':_0x31fc2e+_0x9502c})['compute'](_0x566b8a,_0x123cd6);var _0xdc7a83=_0x5dbaef[_0x23e72a(0x379)](_0x56413f[_0x23e72a(0x156)][_0x23e72a(0x32a)](_0x31fc2e),_0x9502c*0x4);return _0x56413f[_0x23e72a(0x363)]=_0x31fc2e*0x4,_0x405639['create']({'key':_0x56413f,'iv':_0xdc7a83,'salt':_0x123cd6});}},_0x158d1a=_0x1bc9e7[_0x282b45(0x3a7)]=_0x472d2f[_0x282b45(0x1c8)]({'cfg':_0x472d2f[_0x282b45(0x3fe)][_0x282b45(0x1c8)]({'kdf':_0x4e8a1b}),'encrypt':function(_0x1eaafe,_0x572e3f,_0x1d3072,_0x2ec3fc){var _0x3fc29d=_0x282b45;_0x2ec3fc=this[_0x3fc29d(0x3fe)][_0x3fc29d(0x1c8)](_0x2ec3fc);var _0x57eede=_0x2ec3fc['kdf'][_0x3fc29d(0x2bb)](_0x1d3072,_0x1eaafe[_0x3fc29d(0x33f)],_0x1eaafe[_0x3fc29d(0x2e0)],_0x2ec3fc[_0x3fc29d(0x1ba)],_0x2ec3fc[_0x3fc29d(0x241)]);_0x2ec3fc['iv']=_0x57eede['iv'];var _0x6ae29a=_0x472d2f[_0x3fc29d(0x238)]['call'](this,_0x1eaafe,_0x572e3f,_0x57eede[_0x3fc29d(0x484)],_0x2ec3fc);return _0x6ae29a[_0x3fc29d(0x2de)](_0x57eede),_0x6ae29a;},'decrypt':function(_0x157119,_0x866ff0,_0xef170a,_0x725037){var _0x344257=_0x282b45;_0x725037=this[_0x344257(0x3fe)][_0x344257(0x1c8)](_0x725037),_0x866ff0=this[_0x344257(0x306)](_0x866ff0,_0x725037[_0x344257(0x2ca)]);var _0x279fcc=_0x725037[_0x344257(0x283)]['execute'](_0xef170a,_0x157119[_0x344257(0x33f)],_0x157119['ivSize'],_0x866ff0[_0x344257(0x1ba)],_0x725037[_0x344257(0x241)]);_0x725037['iv']=_0x279fcc['iv'];var _0x374884=_0x472d2f[_0x344257(0x1af)][_0x344257(0x45b)](this,_0x157119,_0x866ff0,_0x279fcc[_0x344257(0x484)],_0x725037);return _0x374884;}});}();}));}(Te)),Te[_0x2eb96e(0x46a)];}var Gi=fe[_0x4877c9(0x46a)],st;function Ki(){return st||(st=0x1,function(_0x1b21c4,_0x2ca25a){(function(_0x8bdc81,_0x310be5,_0x39f898){var _0x1b66c4=_0x38be;_0x1b21c4[_0x1b66c4(0x46a)]=_0x310be5(ee(),Dt(),Hi(),At(),Pt());}(Gi,function(_0x25f944){return(function(){var _0x1862a0=_0x38be,_0x3c8264=_0x25f944,_0x42fc5a=_0x3c8264[_0x1862a0(0x2c2)],_0x291f4f=_0x42fc5a['BlockCipher'],_0x56a9bc=_0x3c8264[_0x1862a0(0x282)],_0x1e2aa0=[],_0x4f8548=[],_0x4a348b=[],_0x8f255c=[],_0x12bd35=[],_0x5f3f1b=[],_0x5cec02=[],_0x4dc501=[],_0x5546d3=[],_0x5b4231=[];(function(){for(var _0x3451e9=[],_0x4d3838=0x0;_0x4d3838<0x100;_0x4d3838++)_0x4d3838<0x80?_0x3451e9[_0x4d3838]=_0x4d3838<<0x1:_0x3451e9[_0x4d3838]=_0x4d3838<<0x1^0x11b;for(var _0x5add58=0x0,_0x3bd762=0x0,_0x4d3838=0x0;_0x4d3838<0x100;_0x4d3838++){var _0x48365f=_0x3bd762^_0x3bd762<<0x1^_0x3bd762<<0x2^_0x3bd762<<0x3^_0x3bd762<<0x4;_0x48365f=_0x48365f>>>0x8^_0x48365f&0xff^0x63,_0x1e2aa0[_0x5add58]=_0x48365f,_0x4f8548[_0x48365f]=_0x5add58;var _0x20812f=_0x3451e9[_0x5add58],_0x35144c=_0x3451e9[_0x20812f],_0x4244d6=_0x3451e9[_0x35144c],_0x5a5206=_0x3451e9[_0x48365f]*0x101^_0x48365f*0x1010100;_0x4a348b[_0x5add58]=_0x5a5206<<0x18|_0x5a5206>>>0x8,_0x8f255c[_0x5add58]=_0x5a5206<<0x10|_0x5a5206>>>0x10,_0x12bd35[_0x5add58]=_0x5a5206<<0x8|_0x5a5206>>>0x18,_0x5f3f1b[_0x5add58]=_0x5a5206;var _0x5a5206=_0x4244d6*0x1010101^_0x35144c*0x10001^_0x20812f*0x101^_0x5add58*0x1010100;_0x5cec02[_0x48365f]=_0x5a5206<<0x18|_0x5a5206>>>0x8,_0x4dc501[_0x48365f]=_0x5a5206<<0x10|_0x5a5206>>>0x10,_0x5546d3[_0x48365f]=_0x5a5206<<0x8|_0x5a5206>>>0x18,_0x5b4231[_0x48365f]=_0x5a5206,_0x5add58?(_0x5add58=_0x20812f^_0x3451e9[_0x3451e9[_0x3451e9[_0x4244d6^_0x20812f]]],_0x3bd762^=_0x3451e9[_0x3451e9[_0x3bd762]]):_0x5add58=_0x3bd762=0x1;}}());var _0x3a4218=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x17d7e7=_0x56a9bc[_0x1862a0(0x287)]=_0x291f4f['extend']({'_doReset':function(){var _0x17220f=_0x1862a0,_0x51cf91;if(!(this[_0x17220f(0x1d6)]&&this['_keyPriorReset']===this[_0x17220f(0x36f)])){for(var _0x472014=this['_keyPriorReset']=this[_0x17220f(0x36f)],_0x4e2d74=_0x472014[_0x17220f(0x156)],_0x127699=_0x472014[_0x17220f(0x363)]/0x4,_0x487fb9=this['_nRounds']=_0x127699+0x6,_0x48ed65=(_0x487fb9+0x1)*0x4,_0x1f6ec9=this[_0x17220f(0x177)]=[],_0x49c671=0x0;_0x49c671<_0x48ed65;_0x49c671++)_0x49c671<_0x127699?_0x1f6ec9[_0x49c671]=_0x4e2d74[_0x49c671]:(_0x51cf91=_0x1f6ec9[_0x49c671-0x1],_0x49c671%_0x127699?_0x127699>0x6&&_0x49c671%_0x127699==0x4&&(_0x51cf91=_0x1e2aa0[_0x51cf91>>>0x18]<<0x18|_0x1e2aa0[_0x51cf91>>>0x10&0xff]<<0x10|_0x1e2aa0[_0x51cf91>>>0x8&0xff]<<0x8|_0x1e2aa0[_0x51cf91&0xff]):(_0x51cf91=_0x51cf91<<0x8|_0x51cf91>>>0x18,_0x51cf91=_0x1e2aa0[_0x51cf91>>>0x18]<<0x18|_0x1e2aa0[_0x51cf91>>>0x10&0xff]<<0x10|_0x1e2aa0[_0x51cf91>>>0x8&0xff]<<0x8|_0x1e2aa0[_0x51cf91&0xff],_0x51cf91^=_0x3a4218[_0x49c671/_0x127699|0x0]<<0x18),_0x1f6ec9[_0x49c671]=_0x1f6ec9[_0x49c671-_0x127699]^_0x51cf91);for(var _0x2bf060=this[_0x17220f(0x1a1)]=[],_0x390cff=0x0;_0x390cff<_0x48ed65;_0x390cff++){var _0x49c671=_0x48ed65-_0x390cff;if(_0x390cff%0x4)var _0x51cf91=_0x1f6ec9[_0x49c671];else var _0x51cf91=_0x1f6ec9[_0x49c671-0x4];_0x390cff<0x4||_0x49c671<=0x4?_0x2bf060[_0x390cff]=_0x51cf91:_0x2bf060[_0x390cff]=_0x5cec02[_0x1e2aa0[_0x51cf91>>>0x18]]^_0x4dc501[_0x1e2aa0[_0x51cf91>>>0x10&0xff]]^_0x5546d3[_0x1e2aa0[_0x51cf91>>>0x8&0xff]]^_0x5b4231[_0x1e2aa0[_0x51cf91&0xff]];}}},'encryptBlock':function(_0x58e0ce,_0xe1d59a){var _0x1ab486=_0x1862a0;this[_0x1ab486(0x12f)](_0x58e0ce,_0xe1d59a,this['_keySchedule'],_0x4a348b,_0x8f255c,_0x12bd35,_0x5f3f1b,_0x1e2aa0);},'decryptBlock':function(_0x4d3fd4,_0x574866){var _0x1119ad=_0x1862a0,_0x4004d3=_0x4d3fd4[_0x574866+0x1];_0x4d3fd4[_0x574866+0x1]=_0x4d3fd4[_0x574866+0x3],_0x4d3fd4[_0x574866+0x3]=_0x4004d3,this[_0x1119ad(0x12f)](_0x4d3fd4,_0x574866,this[_0x1119ad(0x1a1)],_0x5cec02,_0x4dc501,_0x5546d3,_0x5b4231,_0x4f8548);var _0x4004d3=_0x4d3fd4[_0x574866+0x1];_0x4d3fd4[_0x574866+0x1]=_0x4d3fd4[_0x574866+0x3],_0x4d3fd4[_0x574866+0x3]=_0x4004d3;},'_doCryptBlock':function(_0x208649,_0x3d2471,_0x444ddf,_0x4ab7ff,_0x375ef7,_0x139ce3,_0x2cddf1,_0x40d701){var _0x5ec379=_0x1862a0;for(var _0x400ab5=this[_0x5ec379(0x1d6)],_0xf74270=_0x208649[_0x3d2471]^_0x444ddf[0x0],_0x165099=_0x208649[_0x3d2471+0x1]^_0x444ddf[0x1],_0x2e0d0c=_0x208649[_0x3d2471+0x2]^_0x444ddf[0x2],_0x5a5b2f=_0x208649[_0x3d2471+0x3]^_0x444ddf[0x3],_0x10583d=0x4,_0x49e424=0x1;_0x49e424<_0x400ab5;_0x49e424++){var _0x219014=_0x4ab7ff[_0xf74270>>>0x18]^_0x375ef7[_0x165099>>>0x10&0xff]^_0x139ce3[_0x2e0d0c>>>0x8&0xff]^_0x2cddf1[_0x5a5b2f&0xff]^_0x444ddf[_0x10583d++],_0x516f96=_0x4ab7ff[_0x165099>>>0x18]^_0x375ef7[_0x2e0d0c>>>0x10&0xff]^_0x139ce3[_0x5a5b2f>>>0x8&0xff]^_0x2cddf1[_0xf74270&0xff]^_0x444ddf[_0x10583d++],_0xb97fd9=_0x4ab7ff[_0x2e0d0c>>>0x18]^_0x375ef7[_0x5a5b2f>>>0x10&0xff]^_0x139ce3[_0xf74270>>>0x8&0xff]^_0x2cddf1[_0x165099&0xff]^_0x444ddf[_0x10583d++],_0x30a579=_0x4ab7ff[_0x5a5b2f>>>0x18]^_0x375ef7[_0xf74270>>>0x10&0xff]^_0x139ce3[_0x165099>>>0x8&0xff]^_0x2cddf1[_0x2e0d0c&0xff]^_0x444ddf[_0x10583d++];_0xf74270=_0x219014,_0x165099=_0x516f96,_0x2e0d0c=_0xb97fd9,_0x5a5b2f=_0x30a579;}var _0x219014=(_0x40d701[_0xf74270>>>0x18]<<0x18|_0x40d701[_0x165099>>>0x10&0xff]<<0x10|_0x40d701[_0x2e0d0c>>>0x8&0xff]<<0x8|_0x40d701[_0x5a5b2f&0xff])^_0x444ddf[_0x10583d++],_0x516f96=(_0x40d701[_0x165099>>>0x18]<<0x18|_0x40d701[_0x2e0d0c>>>0x10&0xff]<<0x10|_0x40d701[_0x5a5b2f>>>0x8&0xff]<<0x8|_0x40d701[_0xf74270&0xff])^_0x444ddf[_0x10583d++],_0xb97fd9=(_0x40d701[_0x2e0d0c>>>0x18]<<0x18|_0x40d701[_0x5a5b2f>>>0x10&0xff]<<0x10|_0x40d701[_0xf74270>>>0x8&0xff]<<0x8|_0x40d701[_0x165099&0xff])^_0x444ddf[_0x10583d++],_0x30a579=(_0x40d701[_0x5a5b2f>>>0x18]<<0x18|_0x40d701[_0xf74270>>>0x10&0xff]<<0x10|_0x40d701[_0x165099>>>0x8&0xff]<<0x8|_0x40d701[_0x2e0d0c&0xff])^_0x444ddf[_0x10583d++];_0x208649[_0x3d2471]=_0x219014,_0x208649[_0x3d2471+0x1]=_0x516f96,_0x208649[_0x3d2471+0x2]=_0xb97fd9,_0x208649[_0x3d2471+0x3]=_0x30a579;},'keySize':0x100/0x20});_0x3c8264[_0x1862a0(0x287)]=_0x291f4f[_0x1862a0(0x27a)](_0x17d7e7);}()),_0x25f944['AES'];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Dt();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x4877c9(0x46a)],at;function Xi(){return at||(at=0x1,function(_0x2b3ecb,_0x102bf9){(function(_0x1770f4,_0x2dad5e){var _0xe4bf48=_0x38be;_0x2b3ecb[_0xe4bf48(0x46a)]=_0x2dad5e(ee());}(Ji,function(_0xd80800){var _0x4c0563=_0x38be;return _0xd80800[_0x4c0563(0x16c)]['Utf8'];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x4877c9(0x46a)],ct;function tn(){var _0x3d069a=_0x4877c9;return ct||(ct=0x1,function(_0x1195f3,_0x23a5dd){(function(_0x4bbcbc,_0x355e7a){var _0x266c90=_0x38be;_0x1195f3[_0x266c90(0x46a)]=_0x355e7a(ee());}(en,function(_0x370b42){var _0x465763=_0x38be;return(function(){var _0x17433e=_0x38be;if(typeof ArrayBuffer==_0x17433e(0x2a1)){var _0x43c69b=_0x370b42,_0x51940e=_0x43c69b[_0x17433e(0x2c2)],_0x27b051=_0x51940e['WordArray'],_0x589d6d=_0x27b051[_0x17433e(0x3c6)],_0x1b483=_0x27b051[_0x17433e(0x3c6)]=function(_0x2fe82e){var _0x427e35=_0x17433e;if(_0x2fe82e instanceof ArrayBuffer&&(_0x2fe82e=new Uint8Array(_0x2fe82e)),(_0x2fe82e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2fe82e instanceof Uint8ClampedArray||_0x2fe82e instanceof Int16Array||_0x2fe82e instanceof Uint16Array||_0x2fe82e instanceof Int32Array||_0x2fe82e instanceof Uint32Array||_0x2fe82e instanceof Float32Array||_0x2fe82e instanceof Float64Array)&&(_0x2fe82e=new Uint8Array(_0x2fe82e[_0x427e35(0x1d7)],_0x2fe82e[_0x427e35(0x423)],_0x2fe82e[_0x427e35(0x211)])),_0x2fe82e instanceof Uint8Array){for(var _0x5eb1d8=_0x2fe82e[_0x427e35(0x211)],_0x28fa9b=[],_0x10f599=0x0;_0x10f599<_0x5eb1d8;_0x10f599++)_0x28fa9b[_0x10f599>>>0x2]|=_0x2fe82e[_0x10f599]<<0x18-_0x10f599%0x4*0x8;_0x589d6d[_0x427e35(0x45b)](this,_0x28fa9b,_0x5eb1d8);}else _0x589d6d[_0x427e35(0x466)](this,arguments);};_0x1b483['prototype']=_0x27b051;}}()),_0x370b42[_0x465763(0x2c2)][_0x465763(0x24b)];}));}(Re)),Re[_0x3d069a(0x46a)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x4877c9(0x46a)],ht;function on(){return ht||(ht=0x1,function(_0x3cac30,_0x495c1d){(function(_0x595b93,_0x131deb,_0x2ea18b){var _0x158794=_0x38be;_0x3cac30[_0x158794(0x46a)]=_0x131deb(ee(),Pt());}(sn,function(_0x2d3be7){var _0x474d29=_0x38be;return _0x2d3be7[_0x474d29(0x2fa)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2d3be7[_0x474d29(0x2fa)][_0x474d29(0x321)];}));}(Oe)),Oe['exports'];}var an=on();const cn=Se(an);function hn(_0x3ba653,_0x5a6937){var _0x3a84e0=_0x4877c9;const _0x400f9c=_0x5a6937-_0x3ba653[_0x3a84e0(0x374)]%_0x5a6937,_0x5dce1e=String[_0x3a84e0(0x427)](_0x400f9c)[_0x3a84e0(0x1df)](_0x400f9c);return _0x3ba653+_0x5dce1e;}function _n(_0x2fe240,_0x21f9c8){var _0x40bec5=_0x4877c9;const _0x559dad=rn[_0x40bec5(0x3ac)](0x10),_0x250fd2=hn(_0x2fe240,0x10),_0x2d8963=qi['encrypt'](Qi[_0x40bec5(0x458)](_0x250fd2),ot[_0x40bec5(0x458)](_0x21f9c8),{'iv':_0x559dad,'padding':cn});return _0x559dad['concat'](_0x2d8963[_0x40bec5(0x296)])[_0x40bec5(0x1c3)](ot);}function ln(){var _0x4eaec9=_0x4877c9;const _0x2855d5=xt[_0x4eaec9(0x246)]()[_0x4eaec9(0x465)];if(_0x2855d5){const _0x26535a={'time':Math['floor'](Date[_0x4eaec9(0x13f)]()/0x3e8),'domain':location[_0x4eaec9(0x23e)]};return _n(JSON[_0x4eaec9(0x481)](_0x26535a),_0x2855d5);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x1afb4b,_0x5c2c38,_0x5e12b6,_0x29d781)=>{var _0x1b75ac=_0x4877c9;for(var _0xa140e8=_0x29d781>0x1?void 0x0:_0x29d781?un(_0x5c2c38,_0x5e12b6):_0x5c2c38,_0x458028=_0x1afb4b[_0x1b75ac(0x374)]-0x1,_0x2c6b86;_0x458028>=0x0;_0x458028--)(_0x2c6b86=_0x1afb4b[_0x458028])&&(_0xa140e8=_0x2c6b86(_0xa140e8)||_0xa140e8);return _0xa140e8;},vn=(_0x4f1799,_0x297d50)=>(_0x1cd89b,_0x434093)=>_0x297d50(_0x1cd89b,_0x434093,_0x4f1799);let Ne=class{constructor(_0x2fd499){var _0x151074=_0x4877c9;this[_0x151074(0x30e)]=_0x2fd499,this[_0x151074(0x39b)]();}[_0x4877c9(0x39b)](){var _0x58b699=_0x4877c9;this[_0x58b699(0x30e)][_0x58b699(0x3c7)]({'interceptor':(_0x154e55,_0x25e5c6)=>{var _0x3a4c59=_0x58b699;const _0x88ed2d=_0x154e55['headers'],_0x5c3c76=ln();return _0x5c3c76&&_0x88ed2d[_0x3a4c59(0x2c9)](_0x3a4c59(0x117),_0x5c3c76),_0x25e5c6(_0x154e55);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x4877c9(0x2bf)]))],Ne);var Sn=Object[_0x4877c9(0x2ac)],fn=(_0x3d5c8e,_0x2ba946,_0x1563d6,_0x5307fb)=>{for(var _0x1af933=_0x5307fb>0x1?void 0x0:_0x5307fb?Sn(_0x2ba946,_0x1563d6):_0x2ba946,_0x504930=_0x3d5c8e['length']-0x1,_0x2b1d0c;_0x504930>=0x0;_0x504930--)(_0x2b1d0c=_0x3d5c8e[_0x504930])&&(_0x1af933=_0x2b1d0c(_0x1af933)||_0x1af933);return _0x1af933;},Me=(_0x490577,_0x2a83cb)=>(_0x39c1c8,_0x29bcda)=>_0x2a83cb(_0x39c1c8,_0x29bcda,_0x490577);exports[_0x4877c9(0x469)]=class extends a['RxDisposable']{constructor(_0x3e8cde,_0x37ca8d,_0xa9d1d3){var _0x2052bb=_0x4877c9;super(),A(this,_0x2052bb(0x3d0),new j[(_0x2052bb(0x245))](null)),A(this,'unitInfo$',this[_0x2052bb(0x3d0)][_0x2052bb(0x134)]()),(this[_0x2052bb(0x14f)]=_0x3e8cde,this[_0x2052bb(0x376)]=_0x37ca8d,this['_localCacheService']=_0xa9d1d3);}async['loadUnit'](_0x5d2ea8,_0x3a8304,_0x43cd80){var _0x20b85f=_0x4877c9;this[_0x20b85f(0x3d0)][_0x20b85f(0x46f)]({'unitId':_0x5d2ea8,'type':_0x3a8304,'subUnitId':_0x43cd80});let _0x461c3e=null;switch(_0x3a8304){case X[_0x20b85f(0x40d)]:{_0x461c3e=await this[_0x20b85f(0x2bd)](_0x5d2ea8);break;}case X[_0x20b85f(0x29f)]:{_0x461c3e=await this[_0x20b85f(0x442)](_0x5d2ea8);break;}default:{this[_0x20b85f(0x14f)][_0x20b85f(0x44d)](_0x20b85f(0x21c),_0x20b85f(0x22b));break;}}return _0x461c3e;}async[_0x4877c9(0x2bd)](_0x4dcbd6){var _0x3ecacb=_0x4877c9,_0x38b37b;let _0x2028d5=0x0;const _0x29d23e=await((_0x38b37b=this[_0x3ecacb(0x1f2)])==null?void 0x0:_0x38b37b[_0x3ecacb(0x277)](_0x4dcbd6));return _0x29d23e&&(_0x29d23e[_0x3ecacb(0x154)]||_0x29d23e[_0x3ecacb(0x182)][_0x3ecacb(0x374)]!==0x0)&&(_0x2028d5=_0x29d23e['rev']),_0x2028d5===0x0&&this[_0x3ecacb(0x14f)][_0x3ecacb(0x223)]('[DataLoaderService]',_0x3ecacb(0x38b)),this[_0x3ecacb(0x376)][_0x3ecacb(0x215)](_0x4dcbd6,_0x2028d5);}async[_0x4877c9(0x442)](_0x22e6f7){var _0x567670=_0x4877c9,_0x4c2245;let _0x36e0fe=0x0;const _0x2c2aef=await((_0x4c2245=this[_0x567670(0x1f2)])==null?void 0x0:_0x4c2245[_0x567670(0x277)](_0x22e6f7));return _0x2c2aef&&(_0x2c2aef[_0x567670(0x154)]||_0x2c2aef['mutations'][_0x567670(0x374)]!==0x0)&&(_0x36e0fe=_0x2c2aef['rev']),_0x36e0fe===0x0&&this['_logService'][_0x567670(0x223)](_0x567670(0x21c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x567670(0x376)]['loadDoc'](_0x22e6f7,_0x36e0fe);}},exports[_0x4877c9(0x469)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x4877c9(0x385)](g[_0x4877c9(0x288)])),Me(0x2,a['Optional'](z))],exports[_0x4877c9(0x469)]);var pn=Object[_0x4877c9(0x2ac)],gn=(_0x54daca,_0x31d663,_0x4ff536,_0x370619)=>{var _0xf5f4d2=_0x4877c9;for(var _0x596404=_0x370619>0x1?void 0x0:_0x370619?pn(_0x31d663,_0x4ff536):_0x31d663,_0x39749e=_0x54daca[_0xf5f4d2(0x374)]-0x1,_0x13f9a4;_0x39749e>=0x0;_0x39749e--)(_0x13f9a4=_0x54daca[_0x39749e])&&(_0x596404=_0x13f9a4(_0x596404)||_0x596404);return _0x596404;},xe=(_0x8531e6,_0x117a59)=>(_0x5219b4,_0x56197f)=>_0x117a59(_0x5219b4,_0x56197f,_0x8531e6);const In=['image/png','image/jpeg',_0x4877c9(0x3ed),_0x4877c9(0x1fb),_0x4877c9(0x323)],mn=0x5*0x400*0x400,En=_0x4877c9(0x408),Cn=_0x4877c9(0x115),Tn=_0x4877c9(0x13b),bn=_0x4877c9(0x2b9);exports[_0x4877c9(0x3da)]=class{constructor(_0x5e88c1,_0x5ce040,_0xafed05){var _0x5d7ba4=_0x4877c9;A(this,_0x5d7ba4(0x40f),0x0),A(this,_0x5d7ba4(0x431),new j[(_0x5d7ba4(0x2aa))]()),A(this,_0x5d7ba4(0x42a),this[_0x5d7ba4(0x431)]),A(this,_0x5d7ba4(0x152),new Map()),(this['_httpService']=_0x5e88c1,this[_0x5d7ba4(0x401)]=_0x5ce040,this[_0x5d7ba4(0x244)]=_0xafed05);}['setWaitCount'](_0x112435){var _0x5b5a1b=_0x4877c9;this[_0x5b5a1b(0x40f)]=_0x112435,this['_change$']['next'](_0x112435);}['getImageSourceCache'](_0xbb8c74,_0x3a35f5){var _0x3b642f=_0x4877c9;if(_0x3a35f5===J[_0x3b642f(0x2fb)][_0x3b642f(0x47c)]){const _0x31c9f3=new Image();return _0x31c9f3[_0x3b642f(0x48b)]=_0xbb8c74,_0x31c9f3;}return this[_0x3b642f(0x152)][_0x3b642f(0x208)](_0xbb8c74);}[_0x4877c9(0x1e9)](_0x595391,_0x1f0308,_0x3e1312){var _0x4c1d50=_0x4877c9;_0x1f0308===J[_0x4c1d50(0x2fb)][_0x4c1d50(0x47c)]||_0x3e1312==null||this[_0x4c1d50(0x152)][_0x4c1d50(0x2c9)](_0x595391,_0x3e1312);}async[_0x4877c9(0x22e)](_0x531818){var _0x5da06b=_0x4877c9;try{const _0x1cefec=this[_0x5da06b(0x471)](this[_0x5da06b(0x225)](),''+_0x531818),_0x21e0ea=(await this['_httpService']['get'](_0x1cefec))[_0x5da06b(0x25a)];if(_0x21e0ea[_0x5da06b(0x44d)]&&_0x21e0ea['error']['code']===Ct['OK']){const _0x4e6809=new URL(_0x21e0ea[_0x5da06b(0x2ae)],this['_getDownloadEndpointURL']())[_0x5da06b(0x1c3)]();return Promise['resolve'](_0x4e6809);}return Promise['reject'](_0x21e0ea[_0x5da06b(0x44d)]);}catch(_0xd2d8b2){return Promise[_0x5da06b(0x3f1)](_0xd2d8b2);}}async[_0x4877c9(0x3e6)](_0xa64906){var _0x50cb3b=_0x4877c9;let _0x5fdd29='';if(!In['includes'](_0xa64906[_0x50cb3b(0x1a8)]))return this[_0x50cb3b(0x34a)](),Promise[_0x50cb3b(0x3f1)](new Error(J[_0x50cb3b(0x1d0)]['ERROR_IMAGE_TYPE']));if(_0xa64906[_0x50cb3b(0x21f)]>mn)return this[_0x50cb3b(0x34a)](),Promise[_0x50cb3b(0x3f1)](new Error(J[_0x50cb3b(0x1d0)][_0x50cb3b(0x398)]));try{const _0x286c6a=new FormData();_0x286c6a['append'](_0x50cb3b(0x159),_0xa64906);const _0x12de3b=this[_0x50cb3b(0x244)][_0x50cb3b(0x3a0)](),_0x1c4a44=_0x12de3b==null?void 0x0:_0x12de3b[_0x50cb3b(0x217)]();if(!_0x1c4a44)throw new Error('unitId\x20is\x20not\x20found');const _0x2ea1a5=this[_0x50cb3b(0x38d)]()+_0x50cb3b(0x3c1)+_0xa64906['size'][_0x50cb3b(0x1c3)]()+_0x50cb3b(0x2c8)+Tt[_0x50cb3b(0x2b0)]+_0x50cb3b(0x21d)+encodeURIComponent(_0x1c4a44),_0x4de5f8={'body':_0x286c6a},_0x37f637=(await this[_0x50cb3b(0x30e)]['post'](_0x2ea1a5,_0x4de5f8))['body'];if(typeof _0x37f637[_0x50cb3b(0x2a8)]!='string')return this[_0x50cb3b(0x34a)](),Promise[_0x50cb3b(0x3f1)](new Error(J[_0x50cb3b(0x1d0)][_0x50cb3b(0x1ea)]));_0x5fdd29=_0x37f637['FileId'];}catch{return this[_0x50cb3b(0x34a)](),Promise[_0x50cb3b(0x3f1)](new Error(J[_0x50cb3b(0x1d0)][_0x50cb3b(0x1ea)]));}return new Promise((_0x1a987f,_0x521f87)=>{const _0x251ef8=new FileReader();_0x251ef8['readAsDataURL'](_0xa64906),_0x251ef8['onload']=_0x32f402=>{var _0x4b1624=_0x38be,_0x4e7163;const _0x487cd5=(_0x4e7163=_0x32f402[_0x4b1624(0x388)])==null?void 0x0:_0x4e7163['result'];if(_0x487cd5==null){this[_0x4b1624(0x34a)](),_0x521f87(new Error(J['ImageUploadStatusType'][_0x4b1624(0x1ea)]));return;}const _0x308bc9=a[_0x4b1624(0x14a)][_0x4b1624(0x2b6)](0x6);_0x1a987f({'imageId':_0x308bc9,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x5fdd29,'base64Cache':_0x487cd5,'status':J['ImageUploadStatusType']['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x4877c9(0x38d)](){var _0x3f05d7=_0x4877c9,_0x4dd176,_0x59f530;const _0x25d520=this[_0x3f05d7(0x401)][_0x3f05d7(0x1f7)](En),_0x3d87c2=this[_0x3f05d7(0x401)][_0x3f05d7(0x1f7)](Y);return(_0x59f530=(_0x4dd176=_0x3d87c2==null?void 0x0:_0x3d87c2[_0x3f05d7(0x430)])!=null?_0x4dd176:_0x25d520)!=null?_0x59f530:Cn;}[_0x4877c9(0x225)](){var _0xaf2178=_0x4877c9,_0x39505c,_0x5daecb;const _0x13a744=this[_0xaf2178(0x401)][_0xaf2178(0x1f7)](Tn),_0x5acb49=this[_0xaf2178(0x401)][_0xaf2178(0x1f7)](Y);return(_0x5daecb=(_0x39505c=_0x5acb49==null?void 0x0:_0x5acb49['signUrlServerUrl'])!=null?_0x39505c:_0x13a744)!=null?_0x5daecb:bn;}[_0x4877c9(0x1b4)](){var _0x76abd2=_0x4877c9,_0x17c3e3;const _0x99c22e=this['_configService'][_0x76abd2(0x1f7)](Y);return(_0x17c3e3=_0x99c22e==null?void 0x0:_0x99c22e[_0x76abd2(0x3ba)])!=null?_0x17c3e3:location[_0x76abd2(0x40e)];}[_0x4877c9(0x471)](_0x280cf3,_0x487550){var _0x1ce724=_0x4877c9;return _0x280cf3['replace'](_0x1ce724(0x202),_0x487550);}[_0x4877c9(0x34a)](){var _0x30c0d7=_0x4877c9;this[_0x30c0d7(0x40f)]-=0x1,this[_0x30c0d7(0x431)][_0x30c0d7(0x46f)](this[_0x30c0d7(0x40f)]);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x4877c9(0x385)](q['HTTPService'])),xe(0x1,a[_0x4877c9(0x1a9)]),xe(0x2,a[_0x4877c9(0x385)](a[_0x4877c9(0x2ff)]))],exports[_0x4877c9(0x3da)]);var Rn=Object[_0x4877c9(0x2ac)],On=(_0x301130,_0x57d1ab,_0x13b0c0,_0x306718)=>{var _0x2f4aaf=_0x4877c9;for(var _0x43f096=_0x306718>0x1?void 0x0:_0x306718?Rn(_0x57d1ab,_0x13b0c0):_0x57d1ab,_0x5f2da5=_0x301130[_0x2f4aaf(0x374)]-0x1,_0x17c0a5;_0x5f2da5>=0x0;_0x5f2da5--)(_0x17c0a5=_0x301130[_0x5f2da5])&&(_0x43f096=_0x17c0a5(_0x43f096)||_0x43f096);return _0x43f096;},_t=(_0x3a2c2a,_0x45597)=>(_0x3da5c9,_0x178a56)=>_0x45597(_0x3da5c9,_0x178a56,_0x3a2c2a);const yn=_0x4877c9(0x1e6);exports[_0x4877c9(0x413)]=class{constructor(_0x48bd80,_0x104f90){var _0x18685b=_0x4877c9;this[_0x18685b(0x401)]=_0x48bd80,this[_0x18685b(0x261)]=_0x104f90;}[_0x4877c9(0x1a0)](){var _0x8dcd2d=_0x4877c9,_0x4ef47e,_0x493abb;const _0x31eee7=this[_0x8dcd2d(0x401)]['getConfig'](Ge),_0x344fe2=this[_0x8dcd2d(0x401)][_0x8dcd2d(0x1f7)](Y);return(_0x493abb=(_0x4ef47e=_0x344fe2==null?void 0x0:_0x344fe2[_0x8dcd2d(0x429)])!=null?_0x4ef47e:_0x31eee7)!=null?_0x493abb:yn;}async['list'](_0x24933a){var _0x5480e5=_0x4877c9;const _0x2e71b8=this[_0x5480e5(0x1a0)]()+_0x5480e5(0x114);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x5480e5(0x208)](_0x2e71b8,{'params':{'objectID':_0x24933a[_0x5480e5(0x26e)],'unitID':_0x24933a[_0x5480e5(0x26e)]}}))['body'][_0x5480e5(0x1ad)]['map'](_0x19fb7e=>({'objectId':_0x19fb7e['id'],'name':_0x19fb7e[_0x5480e5(0x2dc)]['name'],'metadata':{'icon':_0x19fb7e[_0x5480e5(0x2dc)][_0x5480e5(0x38f)]},'label':_0x19fb7e[_0x5480e5(0x2dc)]['name'],'objectType':a['MentionType'][_0x5480e5(0x335)]})),'metadata':{},'type':a['MentionType'][_0x5480e5(0x335)]}]};}},exports[_0x4877c9(0x413)]=On([_t(0x0,a[_0x4877c9(0x385)](a['IConfigService'])),_t(0x1,a[_0x4877c9(0x385)](q[_0x4877c9(0x2bf)]))],exports[_0x4877c9(0x413)]);var Nn=Object[_0x4877c9(0x2ac)],Un=(_0x28c962,_0x3b79f0,_0x19ee2f,_0x7f9c58)=>{var _0x26fe46=_0x4877c9;for(var _0x161c3c=_0x7f9c58>0x1?void 0x0:_0x7f9c58?Nn(_0x3b79f0,_0x19ee2f):_0x3b79f0,_0x20f3fe=_0x28c962[_0x26fe46(0x374)]-0x1,_0x40c499;_0x20f3fe>=0x0;_0x20f3fe--)(_0x40c499=_0x28c962[_0x20f3fe])&&(_0x161c3c=_0x40c499(_0x161c3c)||_0x161c3c);return _0x161c3c;},ue=(_0x46c844,_0x4d14f5)=>(_0x1f9c71,_0x3b26e2)=>_0x4d14f5(_0x1f9c71,_0x3b26e2,_0x46c844);let Ue=class extends a[_0x4877c9(0x46d)]{constructor(_0x11678c,_0x2f4796,_0x108631,_0x5350c7,_0x597047){var _0x591f33=_0x4877c9;super(),this[_0x591f33(0x16d)]=_0x11678c,this[_0x591f33(0x244)]=_0x2f4796,this['_permissionService']=_0x108631,this[_0x591f33(0x3db)]=_0x5350c7,this['_collaborationUIEventService']=_0x597047,this[_0x591f33(0x11f)](),this['_initCloseConn']();}[_0x4877c9(0x340)](){var _0x533ed8=_0x4877c9;const _0x1c2ba5=async _0x18539e=>{var _0x79cb4=_0x38be;(await this[_0x79cb4(0x3db)][_0x79cb4(0x2f4)](_0x18539e))[_0x79cb4(0x19a)]['pipe'](V[_0x79cb4(0x3ff)](_0x11aec6=>_0x11aec6['eventID']===g['CollaborationEvent']['SHOULD_CLOSE_CONN']),V[_0x79cb4(0x293)](this['dispose$']))[_0x79cb4(0x1e1)](_0x29a940=>{var _0x4c36cb=_0x79cb4;const _0x40b49f=_0x29a940,{reason:_0x25fe9b}=_0x40b49f[_0x4c36cb(0x2dd)];this[_0x4c36cb(0x123)][_0x4c36cb(0x3fb)]({'id':Q[_0x4c36cb(0x45e)],'data':_0x25fe9b}),this[_0x4c36cb(0x2c0)][_0x4c36cb(0x27c)](new Z[(_0x4c36cb(0x222))](_0x18539e)['id'],!0x1),this[_0x4c36cb(0x3db)][_0x4c36cb(0x45a)](_0x18539e);});};j['merge'](this[_0x533ed8(0x244)][_0x533ed8(0x25c)](a[_0x533ed8(0x402)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x533ed8(0x25c)](a[_0x533ed8(0x402)][_0x533ed8(0x29f)]))[_0x533ed8(0x432)](V[_0x533ed8(0x3df)](_0xf39219=>_0xf39219[_0x533ed8(0x217)]()),V[_0x533ed8(0x3ff)](_0x401e0b=>!a[_0x533ed8(0x146)](_0x401e0b)),V[_0x533ed8(0x293)](this[_0x533ed8(0x42f)]))['subscribe'](_0x482094=>{_0x1c2ba5(_0x482094);});}[_0x4877c9(0x11f)](){var _0x58207f=_0x4877c9;const _0x45652e=async _0x43fb98=>{var _0x3bc1be=_0x38be;const _0xc846aa=await this[_0x3bc1be(0x3db)][_0x3bc1be(0x2f4)](_0x43fb98),_0x3ac222=this['_injector'][_0x3bc1be(0x208)](Z[_0x3bc1be(0x2d2)]);_0xc846aa[_0x3bc1be(0x19a)][_0x3bc1be(0x432)](V[_0x3bc1be(0x3ff)](_0x4216db=>_0x4216db[_0x3bc1be(0x24c)]===g[_0x3bc1be(0x1f6)]['UPDATE_PERMISSION_OBJ']),V[_0x3bc1be(0x293)](this['dispose$']))['subscribe'](_0x5833ec=>{var _0x208e54=_0x3bc1be;const _0x2e1bb3=_0x5833ec,{objectId:_0x3675ea}=_0x2e1bb3[_0x208e54(0x2dd)];_0x3675ea===_0x43fb98?_0x3ac222[_0x208e54(0x2be)](_0x43fb98):_0x3ac222[_0x208e54(0x2a2)](_0x43fb98,_0x3675ea);});};j['merge'](this['_univerInstanceService'][_0x58207f(0x25c)](a[_0x58207f(0x402)][_0x58207f(0x40d)]))['pipe'](V[_0x58207f(0x3df)](_0x4c8894=>_0x4c8894[_0x58207f(0x217)]()),V[_0x58207f(0x3ff)](_0x96d823=>!a['isInternalEditorID'](_0x96d823)),V['takeUntil'](this[_0x58207f(0x42f)]))[_0x58207f(0x1e1)](_0x1261e4=>{_0x45652e(_0x1261e4);});}};Ue=Un([ue(0x0,a['Inject'](a[_0x4877c9(0x198)])),ue(0x1,a[_0x4877c9(0x2ff)]),ue(0x2,a[_0x4877c9(0x18d)]),ue(0x3,a[_0x4877c9(0x385)](exports['CollaborationSessionService'])),ue(0x4,a['Inject'](te))],Ue);var Dn=Object[_0x4877c9(0x2ac)],An=(_0x59e172,_0x26f6ee,_0x3358c2,_0x8ed320)=>{var _0x13fe9c=_0x4877c9;for(var _0x50403a=_0x8ed320>0x1?void 0x0:_0x8ed320?Dn(_0x26f6ee,_0x3358c2):_0x26f6ee,_0x1ed854=_0x59e172[_0x13fe9c(0x374)]-0x1,_0x51af0f;_0x1ed854>=0x0;_0x1ed854--)(_0x51af0f=_0x59e172[_0x1ed854])&&(_0x50403a=_0x51af0f(_0x50403a)||_0x50403a);return _0x50403a;},lt=(_0x1ddb86,_0x29af49)=>(_0x2ab927,_0x19b66b)=>_0x29af49(_0x2ab927,_0x19b66b,_0x1ddb86);exports[_0x4877c9(0x276)]=class{constructor(_0x4b5ca5,_0x4ecb4f){var _0x4dddbc=_0x4877c9;this[_0x4dddbc(0x401)]=_0x4b5ca5,this[_0x4dddbc(0x30e)]=_0x4ecb4f;}async[_0x4877c9(0x477)](_0x5da4cd,_0x2bef97){var _0x5d0f28=_0x4877c9,_0x55899f;const {unitID:_0x3bf014,type:_0x54e99a,revision:_0x5e55d4=0x0}=_0x2bef97,_0x44ffb8=this[_0x5d0f28(0x336)]()+'/'+_0x54e99a+_0x5d0f28(0x380)+_0x3bf014+'/rev/'+_0x5e55d4,_0x183115=(await this[_0x5d0f28(0x30e)][_0x5d0f28(0x208)](_0x44ffb8))[_0x5d0f28(0x25a)],_0x4aeabe=(_0x55899f=_0x183115[_0x5d0f28(0x205)])==null?void 0x0:_0x55899f['workbook'];if(_0x4aeabe){const _0xc9a1b4=_0x4aeabe==null?void 0x0:_0x4aeabe[_0x5d0f28(0x3c2)],_0x50b9ec=g['textEncoder'][_0x5d0f28(0x43d)](g[_0x5d0f28(0x20c)](_0xc9a1b4));_0x4aeabe['originalMeta']=_0x50b9ec,Object[_0x5d0f28(0x2ce)](_0x4aeabe[_0x5d0f28(0x1a6)])['forEach'](([,_0x5ba964])=>{var _0x59dd58=_0x5d0f28;const _0x252356=_0x5ba964[_0x59dd58(0x3c2)],_0x2476df=g[_0x59dd58(0x2a0)][_0x59dd58(0x43d)](g[_0x59dd58(0x20c)](_0x252356));_0x5ba964[_0x59dd58(0x3c2)]=_0x2476df;});}return _0x183115;}async[_0x4877c9(0x170)](_0x321c18,_0xe45bc1){var _0x4b265e=_0x4877c9;const {unitID:_0x16a058,type:_0x2e0261,blockID:_0x5574c5}=_0xe45bc1,_0x596d9c=this[_0x4b265e(0x45c)]()+'/'+_0x2e0261+_0x4b265e(0x380)+_0x16a058+_0x4b265e(0x43e)+_0x5574c5;return(await this[_0x4b265e(0x30e)][_0x4b265e(0x208)](_0x596d9c))[_0x4b265e(0x25a)];}async[_0x4877c9(0x271)](_0x2431b5,_0x4ccf90){var _0x19ca00=_0x4877c9;const {unitID:_0x230833,type:_0x21ca49,blockID:_0x318cf4}=_0x4ccf90,_0x366101=this['_getAPIPrefix']()+'/block/'+_0x21ca49+_0x19ca00(0x380)+_0x230833+_0x19ca00(0x43e)+_0x318cf4;return(await this[_0x19ca00(0x30e)][_0x19ca00(0x208)](_0x366101))[_0x19ca00(0x25a)];}async[_0x4877c9(0x490)](_0x1c601b,_0x4f5b34){var _0x216a7c=_0x4877c9;const {unitID:_0xd1bcc9,type:_0x16bc6d,from:_0x40e37e,to:_0x2ba690}=_0x4f5b34,_0x10105e=this[_0x216a7c(0x45c)]()+'/'+_0x16bc6d+_0x216a7c(0x380)+_0xd1bcc9+'/fetchmissing?from='+_0x40e37e+'&to='+_0x2ba690;return(await this[_0x216a7c(0x30e)][_0x216a7c(0x208)](_0x10105e))['body'];}['getSnapshotAPIPath'](){var _0x496781=_0x4877c9,_0x2293f4;return(_0x2293f4=this[_0x496781(0x401)][_0x496781(0x1f7)](vt))!=null?_0x2293f4:this[_0x496781(0x45c)]();}[_0x4877c9(0x45c)](){var _0x50bf05=_0x4877c9,_0x1db346,_0x509891;const _0x1efa32=this[_0x50bf05(0x401)][_0x50bf05(0x1f7)](dt),_0x4cf055=this[_0x50bf05(0x401)]['getConfig'](Y);return(_0x509891=(_0x1db346=_0x4cf055==null?void 0x0:_0x4cf055[_0x50bf05(0x325)])!=null?_0x1db346:_0x1efa32)!=null?_0x509891:kt;}async[_0x4877c9(0x43f)](_0x17972b,_0x559db8){var _0x4f83de=_0x4877c9;const _0x8ee9b=_0x4f83de(0x1f4)+_0x559db8['type']+_0x4f83de(0x380)+_0x559db8[_0x4f83de(0x1bd)]+_0x4f83de(0x2b1);return(await this[_0x4f83de(0x30e)][_0x4f83de(0x208)](_0x8ee9b,{'params':{'resourceId':JSON[_0x4f83de(0x481)](_0x559db8[_0x4f83de(0x42b)])}}))[_0x4f83de(0x25a)];}['saveSnapshot'](){var _0x362413=_0x4877c9;throw new Error(_0x362413(0x333));}[_0x4877c9(0x3a8)](){var _0x418e9f=_0x4877c9;throw new Error(_0x418e9f(0x333));}['saveChangeset'](){var _0x354952=_0x4877c9;throw new Error(_0x354952(0x333));}[_0x4877c9(0x318)](){var _0x582e84=_0x4877c9;throw new Error(_0x582e84(0x333));}[_0x4877c9(0x1aa)](){var _0x44041e=_0x4877c9;throw new Error(_0x44041e(0x333));}},exports['SnapshotServerOverHTTPService']=An([lt(0x0,a[_0x4877c9(0x1a9)]),lt(0x1,a[_0x4877c9(0x385)](q[_0x4877c9(0x2bf)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0x4877c9(0x2ac)],wn=(_0x1d889d,_0x2b09af,_0x35a1b0,_0x14ec67)=>{var _0x15abb1=_0x4877c9;for(var _0x2ff274=_0x14ec67>0x1?void 0x0:_0x14ec67?Pn(_0x2b09af,_0x35a1b0):_0x2b09af,_0xbeb792=_0x1d889d[_0x15abb1(0x374)]-0x1,_0x413ca6;_0xbeb792>=0x0;_0xbeb792--)(_0x413ca6=_0x1d889d[_0xbeb792])&&(_0x2ff274=_0x413ca6(_0x2ff274)||_0x2ff274);return _0x2ff274;},de=(_0x394bad,_0x3ac392)=>(_0x57e4b1,_0x14b26a)=>_0x3ac392(_0x57e4b1,_0x14b26a,_0x394bad);exports['CollaborativeUndoRedoService']=class extends a['LocalUndoRedoService']{constructor(_0x5c1ddd,_0x26043b,_0x55b8e6,_0x35dc5d,_0x1206f9){super(_0x5c1ddd,_0x26043b,_0x55b8e6),this['_transformService']=_0x35dc5d,this['_logService']=_0x1206f9;}['transformUndoRedo'](_0x4f0e15,_0x1f5ef9){var _0x4e044b=_0x4877c9;const _0x146dca=this[_0x4e044b(0x2f5)](_0x4f0e15);if(_0x146dca)try{const _0x26255a=this[_0x4e044b(0x207)](_0x146dca,_0x1f5ef9);this['_substituteUndoStack'](_0x4f0e15,_0x26255a);}catch(_0x3d165f){this['_logService'][_0x4e044b(0x44d)]('[CollaborationUndoRedoService]',_0x3d165f),this[_0x4e044b(0x311)](_0x4f0e15);}const _0x352bb6=this['_getRedoStack'](_0x4f0e15);if(_0x352bb6)try{const _0x2b2ae8=this['_transformStack'](_0x352bb6,_0x1f5ef9);this[_0x4e044b(0x185)](_0x4f0e15,_0x2b2ae8);}catch(_0xe3aaf3){this[_0x4e044b(0x14f)][_0x4e044b(0x44d)](_0xe3aaf3),this[_0x4e044b(0x42d)](_0x4f0e15);}}[_0x4877c9(0x311)](_0x588bdd){var _0x5a4c16=_0x4877c9;const _0x9fd73c=this['_getUndoStack'](_0x588bdd);_0x9fd73c&&(_0x9fd73c[_0x5a4c16(0x374)]=0x0,this[_0x5a4c16(0x23f)]());}['_clearRedo'](_0x121aa3){var _0x574662=_0x4877c9;const _0x16e57e=this[_0x574662(0x37b)](_0x121aa3);_0x16e57e&&(_0x16e57e[_0x574662(0x374)]=0x0,this[_0x574662(0x23f)]());}['_substituteUndoStack'](_0x4845a0,_0x1c33fe){var _0x3a0daf=_0x4877c9;this[_0x3a0daf(0x13e)][_0x3a0daf(0x2c9)](_0x4845a0,_0x1c33fe),this['_updateStatus']();}['_substituteRedoStack'](_0x1c4048,_0x8cde08){var _0x4f8f2e=_0x4877c9;this[_0x4f8f2e(0x128)][_0x4f8f2e(0x2c9)](_0x1c4048,_0x8cde08),this['_updateStatus']();}['_transformStack'](_0x4283f0,_0x904df2){var _0x22d624=_0x4877c9;const _0x4289f9=[];let _0x1f470e=_0x904df2,_0x131b73=_0x904df2;for(let _0x316702=_0x4283f0[_0x22d624(0x374)]-0x1;_0x316702>=0x0;_0x316702--){const {unitID:_0x3b2e18,undoMutations:_0x4e3691,redoMutations:_0x296d1e}=_0x4283f0[_0x316702],_0x3f190d=this['_transformService'][_0x22d624(0x3d5)](_0x1f470e,_0x4e3691),_0x2dd084=this['_transformService'][_0x22d624(0x3d5)](_0x131b73,_0x296d1e);if(g[_0x22d624(0x479)](_0x3f190d)||g[_0x22d624(0x479)](_0x2dd084)){this[_0x22d624(0x14f)][_0x22d624(0x44d)](_0x22d624(0x33b),_0x22d624(0x294),_0x3f190d,_0x2dd084);break;}_0x1f470e=_0x3f190d[_0x22d624(0x47b)],_0x131b73=_0x2dd084[_0x22d624(0x47b)],_0x4289f9[_0x22d624(0x3f5)]({'unitID':_0x3b2e18,'undoMutations':_0x3f190d[_0x22d624(0x3d1)],'redoMutations':_0x2dd084[_0x22d624(0x3d1)]});}return _0x4289f9[_0x22d624(0x145)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x4877c9(0x2ff)]),de(0x1,a[_0x4877c9(0x216)]),de(0x2,a[_0x4877c9(0x31e)]),de(0x3,g[_0x4877c9(0x150)]),de(0x4,a[_0x4877c9(0x445)])],exports[_0x4877c9(0x3a4)]);var Ln=Object[_0x4877c9(0x472)],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x2358ae,_0x245962,_0x25e4b4)=>_0x245962 in _0x2358ae?Ln(_0x2358ae,_0x245962,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25e4b4}):_0x2358ae[_0x245962]=_0x25e4b4,kn=(_0x46d863,_0x3950bd,_0x4a0963,_0xa19050)=>{var _0x5e6152=_0x4877c9;for(var _0x3200bb=_0xa19050>0x1?void 0x0:_0xa19050?Mn(_0x3950bd,_0x4a0963):_0x3950bd,_0x58328f=_0x46d863[_0x5e6152(0x374)]-0x1,_0x29621c;_0x58328f>=0x0;_0x58328f--)(_0x29621c=_0x46d863[_0x58328f])&&(_0x3200bb=_0x29621c(_0x3200bb)||_0x3200bb);return _0x3200bb;},ke=(_0x4b5b48,_0x5ce450)=>(_0x59d4b2,_0x497c2d)=>_0x5ce450(_0x59d4b2,_0x497c2d,_0x4b5b48),Hn=(_0x4fd4e0,_0x61a824,_0x1c884b)=>xn(_0x4fd4e0,_0x61a824+'',_0x1c884b);const jn=_0x4877c9(0x23d);exports[_0x4877c9(0x144)]=class extends a['Plugin']{constructor(_0x404b6c,_0x3e51f3,_0x2b53a3,_0x3fa5e2){var _0x3be29c=_0x4877c9;super(),A(this,'_config'),(this[_0x3be29c(0x14f)]=_0x3e51f3,this[_0x3be29c(0x16d)]=_0x2b53a3,this[_0x3be29c(0x401)]=_0x3fa5e2);const {..._0x368541}=a['merge']({},Jt,_0x404b6c);if(!_0x368541[_0x3be29c(0x3d9)])throw new Error(_0x3be29c(0x237));this[_0x3be29c(0x41f)]=_0x368541,this['_configService'][_0x3be29c(0x1d9)](Y,_0x368541);}[_0x4877c9(0x1ac)](){var _0x5ceac0=_0x4877c9;this[_0x5ceac0(0x3e7)](),this[_0x5ceac0(0x3a9)]();}[_0x4877c9(0x3e7)](){var _0x28708b=_0x4877c9,_0x1a6007,_0x2c3ec8;this[_0x28708b(0x16d)][_0x28708b(0x3ce)](a['IUndoRedoService'])&&this[_0x28708b(0x14f)][_0x28708b(0x44d)]('[UniverCollaborationClientPlugin]',_0x28708b(0x121));const _0x1e234e=a[_0x28708b(0x39e)]([[a['IUndoRedoService'],{'useClass':exports[_0x28708b(0x3a4)]}],[exports[_0x28708b(0x1ca)]],[exports[_0x28708b(0x3f7)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[Ue],[te],[exports[_0x28708b(0x469)]],[$e,{'useClass':this['_config'][_0x28708b(0x3d9)]}],[g[_0x28708b(0x30a)],{'useClass':exports[_0x28708b(0x276)]}],[a[_0x28708b(0x18b)],{'useClass':exports[_0x28708b(0x27b)]}],[J['IImageIoService'],{'useClass':exports[_0x28708b(0x3da)]}],[a[_0x28708b(0x369)],{'useClass':exports[_0x28708b(0x413)]}],[exports[_0x28708b(0x155)]],[He]],(_0x1a6007=this[_0x28708b(0x41f)])==null?void 0x0:_0x1a6007[_0x28708b(0x285)]);if(!((_0x2c3ec8=this[_0x28708b(0x41f)])!=null&&_0x2c3ec8[_0x28708b(0x1dd)])){const _0x1a5896=_0x1e234e['findIndex'](([_0x3eee68])=>_0x3eee68===ve);_0x1a5896!==-0x1&&_0x1e234e[_0x28708b(0x15a)](_0x1a5896,0x1);}a[_0x28708b(0x360)](this['_injector'],_0x1e234e);}[_0x4877c9(0x3a9)](){var _0x5537f5=_0x4877c9,_0x48a77d,_0x5dcddc,_0x4860bb;this['_injector'][_0x5537f5(0x208)](q[_0x5537f5(0x2bf)])[_0x5537f5(0x3c7)]({'priority':0x14,'interceptor':q[_0x5537f5(0x273)]({'maxParallel':0x6})}),(_0x48a77d=this[_0x5537f5(0x41f)])!=null&&_0x48a77d[_0x5537f5(0x3dd)]||(_0x5dcddc=this[_0x5537f5(0x16d)][_0x5537f5(0x208)](z,a['Quantity']['OPTIONAL']))==null||_0x5dcddc[_0x5537f5(0x3c0)](),(_0x4860bb=this[_0x5537f5(0x41f)])!=null&&_0x4860bb[_0x5537f5(0x3f6)]&&a[_0x5537f5(0x214)](this['_injector'],[[ye]]),a[_0x5537f5(0x214)](this['_injector'],[[Ne],[exports[_0x5537f5(0x155)]],[Ue]]);}},Hn(exports[_0x4877c9(0x144)],_0x4877c9(0x19f),jn),exports[_0x4877c9(0x144)]=kn([a[_0x4877c9(0x28d)](g[_0x4877c9(0x13c)],q[_0x4877c9(0x3e8)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x4877c9(0x385)](a[_0x4877c9(0x198)])),ke(0x3,a[_0x4877c9(0x1a9)])],exports['UniverCollaborationClientPlugin']),exports[_0x4877c9(0x38c)]=Ge,exports[_0x4877c9(0x1b6)]=Y,exports[_0x4877c9(0x16e)]=mt,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports['CollaborationStatus']=Ve,exports[_0x4877c9(0x48a)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x4877c9(0x3b4)]=zt,exports[_0x4877c9(0x30c)]=$t,exports[_0x4877c9(0x1ef)]=pt,exports[_0x4877c9(0x189)]=je,exports[_0x4877c9(0x1f3)]=$e,exports['ILocalCacheService']=z,exports[_0x4877c9(0x33e)]=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Gt,exports[_0x4877c9(0x393)]=Wt,exports[_0x4877c9(0x307)]=Et,exports[_0x4877c9(0x2d6)]=qt,exports[_0x4877c9(0x387)]=It,exports[_0x4877c9(0x28e)]=Ht,exports[_0x4877c9(0x2d9)]=dt,exports[_0x4877c9(0x2c4)]=vt,exports[_0x4877c9(0x2cd)]=se,exports[_0x4877c9(0x2bc)]=Fe,exports[_0x4877c9(0x11c)]=Rt,exports[_0x4877c9(0x153)]=vi,exports['serializeCombRequest']=Ot;
|