@univerjs-pro/collaboration-client 0.5.0-nightly.202411241606 → 0.5.0-nightly.202411251606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x1cc768=_0x3a60;(function(_0x5ad99d,_0x4e8244){const _0x548516=_0x3a60,_0x567784=_0x5ad99d();while(!![]){try{const _0x417219=-parseInt(_0x548516(0x484))/0x1+-parseInt(_0x548516(0x43c))/0x2*(parseInt(_0x548516(0x2e9))/0x3)+parseInt(_0x548516(0x2db))/0x4*(parseInt(_0x548516(0x21e))/0x5)+-parseInt(_0x548516(0x5af))/0x6+-parseInt(_0x548516(0x2b2))/0x7*(parseInt(_0x548516(0x37e))/0x8)+parseInt(_0x548516(0x18c))/0x9+parseInt(_0x548516(0x321))/0xa;if(_0x417219===_0x4e8244)break;else _0x567784['push'](_0x567784['shift']());}catch(_0x4acacc){_0x567784['push'](_0x567784['shift']());}}}(_0x4d1c,0x33efc));var ji=Object[_0x1cc768(0x244)],$i=(_0x44d6fa,_0x3fe53b,_0x21afa5)=>_0x3fe53b in _0x44d6fa?ji(_0x44d6fa,_0x3fe53b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21afa5}):_0x44d6fa[_0x3fe53b]=_0x21afa5,I=(_0x32f988,_0x262172,_0x3583b1)=>$i(_0x32f988,typeof _0x262172!='symbol'?_0x262172+'':_0x262172,_0x3583b1);Object[_0x1cc768(0x244)](exports,Symbol[_0x1cc768(0x5a3)],{'value':_0x1cc768(0x2d1)});const a=require(_0x1cc768(0xfe)),A=require(_0x1cc768(0x297)),V=require(_0x1cc768(0x1f1)),Ce=require(_0x1cc768(0x308)),z=require(_0x1cc768(0x1fd)),te=require(_0x1cc768(0x35f)),p=require(_0x1cc768(0x3ce)),Hi=require(_0x1cc768(0x470)),Ie=require('@univerjs/docs'),J=require(_0x1cc768(0x209)),k=require('@univerjs/sheets'),K=require(_0x1cc768(0x149)),ie=require(_0x1cc768(0x180)),Mt=require(_0x1cc768(0x4fa)),ye=require(_0x1cc768(0x120)),ae=require(_0x1cc768(0x1d8)),Bi=require('@univerjs/rpc'),ii=_0x1cc768(0x12e),ki=_0x1cc768(0x19a),ni='SNAPSHOT_URL_KEY',Wi=_0x1cc768(0x200),Fi=0x7d0,si=_0x1cc768(0x226),Vi=_0x1cc768(0x262),Gi=_0x1cc768(0x5d4),ri=_0x1cc768(0x45f),Yi=0x7530,Et=_0x1cc768(0x1fc),oi=0x4e20,Ki=0x4e20,ai=_0x1cc768(0x5b3),qi=0x3,ci=_0x1cc768(0x3ff),zi=0x3e8,li='COLLAB_SUBMIT_CHANGESET_URL',Xi=_0x1cc768(0x23b),hi=_0x1cc768(0x572),Ji=_0x1cc768(0x486);var _i=(_0x47773f=>(_0x47773f[_0x47773f[_0x1cc768(0x3e3)]=0x0]=_0x1cc768(0x3e3),_0x47773f[_0x47773f['OK']=0x1]='OK',_0x47773f[_0x47773f[_0x1cc768(0x2d2)]=0x2]=_0x1cc768(0x2d2),_0x47773f[_0x47773f[_0x1cc768(0x1ef)]=0x3]='PERMISSION_DENIED',_0x47773f[_0x47773f[_0x1cc768(0x316)]=0x4]=_0x1cc768(0x316),_0x47773f[_0x47773f[_0x1cc768(0x3cf)]=0x5]=_0x1cc768(0x3cf),_0x47773f[_0x47773f[_0x1cc768(0x2c9)]=0x6]=_0x1cc768(0x2c9),_0x47773f[_0x47773f[_0x1cc768(0x4e1)]=0x7]=_0x1cc768(0x4e1),_0x47773f[_0x47773f[_0x1cc768(0x126)]=0x8]=_0x1cc768(0x126),_0x47773f[_0x47773f[_0x1cc768(0x365)]=0x9]=_0x1cc768(0x365),_0x47773f[_0x47773f[_0x1cc768(0x144)]=0x1389]=_0x1cc768(0x144),_0x47773f[_0x47773f[_0x1cc768(0x2ff)]=0x1771]=_0x1cc768(0x2ff),_0x47773f[_0x47773f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1cc768(0x1f9),_0x47773f[_0x47773f[_0x1cc768(0x56b)]=0x1773]=_0x1cc768(0x56b),_0x47773f[_0x47773f['APPLY_REJECT']=0x1b59]=_0x1cc768(0x284),_0x47773f[_0x47773f[_0x1cc768(0x5b8)]=0x1b5a]=_0x1cc768(0x5b8),_0x47773f[_0x47773f[_0x1cc768(0x32e)]=0x1b5b]=_0x1cc768(0x32e),_0x47773f[_0x47773f['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x47773f[_0x47773f[_0x1cc768(0x4a1)]=0x1b5d]=_0x1cc768(0x4a1),_0x47773f[_0x47773f[_0x1cc768(0x4a4)]=0x1f41]=_0x1cc768(0x4a4),_0x47773f[_0x47773f[_0x1cc768(0x5b6)]=0x2329]=_0x1cc768(0x5b6),_0x47773f[_0x47773f[_0x1cc768(0x15e)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x47773f[_0x47773f[_0x1cc768(0x2e3)]=0x232b]=_0x1cc768(0x2e3),_0x47773f[_0x47773f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1cc768(0x4fc),_0x47773f[_0x47773f[_0x1cc768(0x547)]=0x232d]=_0x1cc768(0x547),_0x47773f[_0x47773f[_0x1cc768(0x19c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x47773f[_0x47773f[_0x1cc768(0x510)]=0x2712]=_0x1cc768(0x510),_0x47773f[_0x47773f[_0x1cc768(0x441)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x47773f[_0x47773f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1cc768(0x568),_0x47773f[_0x47773f[_0x1cc768(0x17e)]=-0x1]='UNRECOGNIZED',_0x47773f))(_i||{}),ne=(_0x28acd7=>(_0x28acd7[_0x28acd7[_0x1cc768(0x1de)]=0x0]=_0x1cc768(0x1de),_0x28acd7[_0x28acd7[_0x1cc768(0x408)]=0x1]=_0x1cc768(0x408),_0x28acd7[_0x28acd7[_0x1cc768(0x452)]=0x2]=_0x1cc768(0x452),_0x28acd7[_0x28acd7['UNIVER_SLIDE']=0x3]=_0x1cc768(0x1a9),_0x28acd7[_0x28acd7[_0x1cc768(0x443)]=0x4]='UNIVER_PROJECT',_0x28acd7[_0x28acd7[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x28acd7))(ne||{}),G=(_0x2ab1e2=>(_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x5b5)]=0x0]=_0x1cc768(0x5b5),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x215)]=0x1]='HELLO',_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x232)]=0x2]=_0x1cc768(0x232),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x5d5)]=0x3]='LEAVE',_0x2ab1e2[_0x2ab1e2['INGEST']=0x4]=_0x1cc768(0x455),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x165)]=0x5]=_0x1cc768(0x165),_0x2ab1e2[_0x2ab1e2['RECV']=0x6]=_0x1cc768(0x39c),_0x2ab1e2[_0x2ab1e2[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x2ab1e2))(G||{}),bt=(_0x1f0b0f=>(_0x1f0b0f[_0x1f0b0f['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x1f0b0f[_0x1f0b0f['OK']=0x1]='OK',_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x17b)]=0x2]=_0x1cc768(0x17b),_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x2f3)]=0x3e9]='JOIN_ROOM_FULL',_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x503)]=0x3ea]=_0x1cc768(0x503),_0x1f0b0f[_0x1f0b0f[_0x1cc768(0x17e)]=-0x1]='UNRECOGNIZED',_0x1f0b0f))(bt||{}),ui=(_0x92427=>(_0x92427[_0x92427[_0x1cc768(0x257)]=0x0]=_0x1cc768(0x257),_0x92427[_0x92427[_0x1cc768(0x4be)]=0x1]=_0x1cc768(0x4be),_0x92427[_0x92427[_0x1cc768(0x589)]=0x2]=_0x1cc768(0x589),_0x92427[_0x92427[_0x1cc768(0x3ca)]=0x3]='UnitEmbedded',_0x92427[_0x92427[_0x1cc768(0x219)]=0x4]=_0x1cc768(0x219),_0x92427[_0x92427[_0x1cc768(0x17e)]=-0x1]=_0x1cc768(0x17e),_0x92427))(ui||{});const Q=_0x1cc768(0x258),Zi={};function di(_0x41c20a){const _0x2d3280=_0x1cc768;var _0x1b7045,_0x4ed5fe,_0xe5f7a5,_0x12336d,_0xf17158;const _0x358185=_0x41c20a[_0x2d3280(0x48a)],_0x235f54=JSON['parse'](_0x358185);switch(_0x235f54[_0x2d3280(0x217)]){case G[_0x2d3280(0x165)]:case G[_0x2d3280(0x215)]:{const _0x43c56d=_0x235f54['infoRsp'];return{..._0x235f54,'data':_0x43c56d,'cmd':_0x235f54[_0x2d3280(0x217)]};}case G[_0x2d3280(0x232)]:{const _0x53aac6=_0x235f54[_0x2d3280(0x579)];return{..._0x235f54,'data':_0x53aac6,'cmd':_0x235f54[_0x2d3280(0x217)]};}case G[_0x2d3280(0x39c)]:{const _0x2a4972=_0x235f54[_0x2d3280(0x1a1)];switch(_0x2a4972['eventID']){case p[_0x2d3280(0x59c)][_0x2d3280(0x576)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x1b7045=_0x2a4972[_0x2d3280(0x2a6)])==null?void 0x0:_0x1b7045['cs']},'cmd':_0x235f54['cmd']};case p['CollaborationEvent'][_0x2d3280(0x4a5)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x4ed5fe=_0x2a4972[_0x2d3280(0x37a)])==null?void 0x0:_0x4ed5fe['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p['CollaborationEvent'][_0x2d3280(0x24b)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0xe5f7a5=_0x2a4972['newCsEvent'])==null?void 0x0:_0xe5f7a5['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p['CollaborationEvent']['CHANGESET_REJ']:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0x12336d=_0x2a4972[_0x2d3280(0x598)])==null?void 0x0:_0x12336d['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x4ac)]:return{..._0x235f54,'data':{..._0x2a4972,'data':(_0xf17158=_0x2a4972[_0x2d3280(0x280)])==null?void 0x0:_0xf17158['cs']},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x59b)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x2f4)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x41c)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x27d)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x52f)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x372)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)]['LIVESHARE_NEW_HOST']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972['liveShareNewHost']},'cmd':_0x235f54['cmd']};case p['CollaborationEvent'][_0x2d3280(0x4ba)]:case p[_0x2d3280(0x59c)][_0x2d3280(0x3e4)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x558)]},'cmd':_0x235f54['cmd']};case p['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x1cb)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x47b)]:return{..._0x235f54,'data':_0x2a4972,'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)]['COMMENT_UPDATE']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x496)]},'cmd':_0x235f54['cmd']};case p[_0x2d3280(0x59c)]['UPDATE_PERMISSION_OBJ']:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x374)]},'cmd':_0x235f54[_0x2d3280(0x217)]};case p[_0x2d3280(0x59c)][_0x2d3280(0x3a3)]:return{..._0x235f54,'data':{..._0x2a4972,'data':_0x2a4972[_0x2d3280(0x2e8)]},'cmd':_0x235f54[_0x2d3280(0x217)]};default:return _0x235f54;}}default:return _0x235f54;}}function fi(_0x1f80c9){const _0x4c6f35=_0x1cc768;switch(_0x1f80c9[_0x4c6f35(0x217)]){case G['HEARTBEAT']:case G[_0x4c6f35(0x215)]:return JSON['stringify']({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9['routeKey']});case G[_0x4c6f35(0x455)]:{let _0x31ed52;switch(_0x1f80c9['data'][_0x4c6f35(0x1c1)]){case p[_0x4c6f35(0x59c)][_0x4c6f35(0x59b)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x59b)],'updateCursorEvent':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)]['USERS_LEAVE']:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)]['USERS_LEAVE'],'leaveEvent':_0x1f80c9['data'][_0x4c6f35(0x48a)]};break;}case p['CollaborationEvent'][_0x4c6f35(0x41c)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x41c)],'joinEvent':_0x1f80c9[_0x4c6f35(0x48a)]['data']};break;}case p[_0x4c6f35(0x59c)]['LIVESHARE_NEW_HOST']:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x379)],'liveShareNewHost':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)]['LIVESHARE_OPERATION']:{_0x31ed52={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)][_0x4c6f35(0x4f1)]:{_0x31ed52={'eventID':p['CollaborationEvent'][_0x4c6f35(0x4f1)],'liveShareTerminate':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p[_0x4c6f35(0x59c)][_0x4c6f35(0x440)]:{_0x31ed52={'eventID':p[_0x4c6f35(0x59c)][_0x4c6f35(0x440)],'liveShareRequestHost':_0x1f80c9[_0x4c6f35(0x48a)][_0x4c6f35(0x48a)]};break;}case p['CollaborationEvent'][_0x4c6f35(0x4ba)]:{_0x31ed52={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x31ed52={'eventID':_0x1f80c9['data'][_0x4c6f35(0x1c1)]};}return JSON['stringify']({'cmd':_0x1f80c9['cmd'],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'collaMsg':_0x31ed52});}case G[_0x4c6f35(0x232)]:return JSON[_0x4c6f35(0x236)]({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'joinReq':_0x1f80c9[_0x4c6f35(0x48a)]});case G[_0x4c6f35(0x5d5)]:return JSON['stringify']({'cmd':_0x1f80c9[_0x4c6f35(0x217)],'routeKey':_0x1f80c9[_0x4c6f35(0x1f7)],'leaveReq':_0x1f80c9['data']});default:throw new Error(_0x4c6f35(0x255));}}var Qi=Object[_0x1cc768(0x244)],en=Object[_0x1cc768(0x263)],tn=(_0xd47315,_0x445e79,_0x23e509,_0x1be700)=>{const _0x311d0c=_0x1cc768;for(var _0x4e1bd9=_0x1be700>0x1?void 0x0:_0x1be700?en(_0x445e79,_0x23e509):_0x445e79,_0x103421=_0xd47315[_0x311d0c(0x31e)]-0x1,_0x9ca47d;_0x103421>=0x0;_0x103421--)(_0x9ca47d=_0xd47315[_0x103421])&&(_0x4e1bd9=(_0x1be700?_0x9ca47d(_0x445e79,_0x23e509,_0x4e1bd9):_0x9ca47d(_0x4e1bd9))||_0x4e1bd9);return _0x1be700&&_0x4e1bd9&&Qi(_0x445e79,_0x23e509,_0x4e1bd9),_0x4e1bd9;},Pe=(_0x29f621,_0x123f2c)=>(_0x1ef250,_0x4d8895)=>_0x123f2c(_0x1ef250,_0x4d8895,_0x29f621);const Tt=a[_0x1cc768(0x415)]('univer-pro.collaboration-client-socket-service');function nn(_0x8e9ad2,_0x13df2a,_0xe0677c){const _0x44c554=_0x1cc768;return _0x8e9ad2+'/'+_0x13df2a+_0x44c554(0x480)+_0xe0677c+_0x44c554(0x3b2);}exports['CollaborationSocketService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0x2a1455,_0x2e98d8,_0x2b0b36,_0x18b33d,_0x533024){const _0x1ce5bc=_0x1cc768;super(),this[_0x1ce5bc(0x4e0)]=_0x2a1455,this[_0x1ce5bc(0x16d)]=_0x2e98d8,this[_0x1ce5bc(0x2c0)]=_0x2b0b36,this['_logService']=_0x18b33d,this[_0x1ce5bc(0x2aa)]=_0x533024;}['createSocket'](_0x36a300){const _0x705b4a=_0x1cc768,_0x58238e=this[_0x705b4a(0x16d)][_0x705b4a(0x535)](_0x36a300);if(!_0x58238e)throw new Error(_0x705b4a(0x323));const _0x50452d=new a[(_0x705b4a(0x35d))](),_0x5e143c=new A[(_0x705b4a(0x3f0))]();_0x50452d[_0x705b4a(0x2dd)](_0x58238e['close$'][_0x705b4a(0x556)](_0x26d783=>_0x5e143c[_0x705b4a(0x122)](_0x26d783))),_0x50452d['add'](a[_0x705b4a(0x329)](()=>_0x5e143c[_0x705b4a(0x4e2)]()));const _0x271489=new A[(_0x705b4a(0x3f0))]();_0x50452d['add'](_0x58238e[_0x705b4a(0x306)]['subscribe'](_0x1f74d3=>_0x271489[_0x705b4a(0x122)](_0x1f74d3))),_0x50452d[_0x705b4a(0x2dd)](a['toDisposable'](()=>_0x271489[_0x705b4a(0x4e2)]()));const _0xfcf8ca=new A[(_0x705b4a(0x3f0))]();_0x50452d[_0x705b4a(0x2dd)](_0x58238e[_0x705b4a(0x49e)]['subscribe'](_0x440aec=>{const _0x596d9e=_0x705b4a,_0x337d3d=di(_0x440aec);_0xfcf8ca[_0x596d9e(0x122)](_0x337d3d);})),_0x50452d[_0x705b4a(0x2dd)](a[_0x705b4a(0x329)](()=>_0xfcf8ca[_0x705b4a(0x4e2)]()));let _0x3cd567;const _0x159451=()=>{const _0x48b42b=_0x705b4a;_0x271489['next'](new Event(_0x48b42b(0x343))),_0x5e143c[_0x48b42b(0x122)](new CloseEvent(_0x48b42b(0x343))),_0x3cd567['close']();};return _0x3cd567={'memberID':'','close$':_0x5e143c['asObservable'](),'error$':_0x271489[_0x705b4a(0x575)](),'open$':_0x58238e['open$'],'message$':_0xfcf8ca['asObservable'](),'send':_0x1c263e=>{const _0x443c8e=_0x705b4a;if(_0x1c263e[_0x443c8e(0x217)]===G['INGEST']){if(_0x1c263e['data'][_0x443c8e(0x1c1)]===p[_0x443c8e(0x59c)][_0x443c8e(0x54a)]){this[_0x443c8e(0x245)](_0x3cd567,_0x1c263e[_0x443c8e(0x48a)])[_0x443c8e(0x146)](_0xc22a6f=>{const _0x134419=_0x443c8e;this['_logService'][_0x134419(0x1c4)](_0xc22a6f),_0x159451();});return;}if(_0x1c263e[_0x443c8e(0x48a)]['eventID']===p[_0x443c8e(0x59c)]['FETCH_MISSING']){const _0xd317f5=_0x1c263e['data'];this[_0x443c8e(0x19b)](_0xd317f5)['then'](_0x2d9f1c=>{const _0x4bd678=_0x443c8e;_0xfcf8ca[_0x4bd678(0x122)]({'cmd':G['RECV'],'code':bt['OK'],'routeKey':_0xd317f5[_0x4bd678(0x48a)][_0x4bd678(0x4ed)],'routeType':'','data':{'eventID':p[_0x4bd678(0x59c)][_0x4bd678(0x5d0)],'data':{'changesets':_0x2d9f1c}}});})['catch'](_0x45914e=>{const _0x426baa=_0x443c8e;this[_0x426baa(0x10c)][_0x426baa(0x1c4)](_0x45914e),_0x159451();});return;}}_0x58238e[_0x443c8e(0x48e)](fi(_0x1c263e));},'close':()=>{const _0x30a292=_0x705b4a;_0x58238e['close'](),_0x50452d[_0x30a292(0x14c)]();}},_0x3cd567;}async[_0x1cc768(0x245)](_0x4908d2,_0x231556){const _0x50143b=_0x1cc768;var _0x5cd2d8,_0x413013;const {unitType:_0x34249f,unitID:_0x58dd3b,changeset:_0x453f69}=_0x231556[_0x50143b(0x48a)],_0x5860aa={'unitID':_0x58dd3b,'memberID':_0x4908d2['memberID'],'type':_0x34249f,'changeset':p[_0x50143b(0x1cf)](_0x453f69)},_0x583c2b=this[_0x50143b(0x2c0)][_0x50143b(0x555)](li),_0x401ada=this[_0x50143b(0x2c0)][_0x50143b(0x555)](Q),_0x3ef8d3=nn((_0x413013=(_0x5cd2d8=_0x401ada==null?void 0x0:_0x401ada[_0x50143b(0x2bc)])!=null?_0x5cd2d8:_0x583c2b)!=null?_0x413013:Xi,_0x34249f,_0x58dd3b);try{await this[_0x50143b(0x4e0)][_0x50143b(0x4a3)](_0x3ef8d3,{'body':_0x5860aa});}catch(_0x4714cc){throw this[_0x50143b(0x10c)]['error'](_0x50143b(0x499),_0x50143b(0x593)),_0x4714cc;}}async[_0x1cc768(0x19b)](_0x348344){const _0x56943e=_0x1cc768,{unitID:_0x2a7333,from:_0x51863e,to:_0x1c62e8,unitType:_0x53e780}=_0x348344[_0x56943e(0x48a)];return(await this[_0x56943e(0x2aa)][_0x56943e(0x107)]({'metadata':void 0x0},{'unitID':_0x2a7333,'type':_0x53e780,'from':_0x51863e,'to':_0x1c62e8}))[_0x56943e(0x59e)];}},exports[_0x1cc768(0x3de)]=tn([Pe(0x0,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)])),Pe(0x1,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x104)])),Pe(0x2,a[_0x1cc768(0x56f)]),Pe(0x3,a[_0x1cc768(0x1a0)]),Pe(0x4,p[_0x1cc768(0x533)])],exports['CollaborationSocketService']);const sn=_0x1cc768(0x51f);function rn(_0x1b10e5){const _0x1023d6=_0x1cc768;return JSON[_0x1023d6(0x236)](_0x1b10e5)['length'];}class Rt{constructor(){const _0xb8510b=_0x1cc768;I(this,_0xb8510b(0x2dc),new A[(_0xb8510b(0x3f0))]()),I(this,'commentUpdate$',this[_0xb8510b(0x2dc)][_0xb8510b(0x575)]());}[_0x1cc768(0x2e4)](_0x24127d){const _0x46204d=_0x1cc768;this['_commentUpdate$'][_0x46204d(0x122)](_0x24127d);}}var on=Object[_0x1cc768(0x244)],an=Object['getOwnPropertyDescriptor'],cn=(_0x2db426,_0x2904ea,_0x2b38a6,_0x96984d)=>{const _0x278921=_0x1cc768;for(var _0x45b592=_0x96984d>0x1?void 0x0:_0x96984d?an(_0x2904ea,_0x2b38a6):_0x2904ea,_0x3feb11=_0x2db426[_0x278921(0x31e)]-0x1,_0x156222;_0x3feb11>=0x0;_0x3feb11--)(_0x156222=_0x2db426[_0x3feb11])&&(_0x45b592=(_0x96984d?_0x156222(_0x2904ea,_0x2b38a6,_0x45b592):_0x156222(_0x45b592))||_0x45b592);return _0x96984d&&_0x45b592&&on(_0x2904ea,_0x2b38a6,_0x45b592),_0x45b592;},At=(_0x28422f,_0x4c3d0f)=>(_0x391e21,_0x1f761b)=>_0x4c3d0f(_0x391e21,_0x1f761b,_0x28422f);exports['MemberService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0x3c0e07,_0x4bb70d){const _0x50e318=_0x1cc768;super(),I(this,'_roomMembers',new Map()),(this[_0x50e318(0x114)]=_0x3c0e07,this['_userManagerService']=_0x4bb70d,this[_0x50e318(0x27e)](a[_0x50e318(0x329)](A[_0x50e318(0x57c)](this[_0x50e318(0x114)][_0x50e318(0x3c3)](a[_0x50e318(0x1a7)]['UNIVER_SHEET'])[_0x50e318(0x154)](V[_0x50e318(0x130)](_0x35996c=>_0x35996c[_0x50e318(0x1f0)]())),this[_0x50e318(0x114)][_0x50e318(0x3c3)](a[_0x50e318(0x1a7)][_0x50e318(0x408)])['pipe'](V[_0x50e318(0x130)](_0x29b75c=>_0x29b75c[_0x50e318(0x1f0)]())),this[_0x50e318(0x114)]['getTypeOfUnitDisposed$'](a[_0x50e318(0x1a7)]['UNIVER_SLIDE'])['pipe'](V['map'](_0x2c6b11=>_0x2c6b11[_0x50e318(0x1f0)]())))[_0x50e318(0x556)](_0x4a7f0d=>this[_0x50e318(0x342)](_0x4a7f0d)))));}['setCurrentUser'](_0x9b6534){const _0x4b55d9=_0x1cc768;this['_userManagerService'][_0x4b55d9(0x2fc)](_0x9b6534);}[_0x1cc768(0x1b0)](){const _0x37d3f4=_0x1cc768;return this[_0x37d3f4(0x56c)][_0x37d3f4(0x1b0)]();}['updateMember'](_0x1094d0,_0x46a62f){const _0x235e8c=_0x1cc768;let _0xde3ae0=this[_0x235e8c(0x2fa)][_0x235e8c(0x4f7)](_0x1094d0);_0xde3ae0||(_0xde3ae0=new ln(),this[_0x235e8c(0x2fa)][_0x235e8c(0x31f)](_0x1094d0,_0xde3ae0)),_0xde3ae0[_0x235e8c(0x22d)](_0x46a62f);}[_0x1cc768(0x347)](_0x21d229,_0x241b32){const _0x50e4e2=_0x1cc768,_0x5c8c00=this[_0x50e4e2(0x2fa)][_0x50e4e2(0x4f7)](_0x21d229);_0x5c8c00&&_0x5c8c00[_0x50e4e2(0x347)](_0x241b32);}[_0x1cc768(0x5d8)](_0x400b89){const _0x3a447d=_0x1cc768;return this[_0x3a447d(0x2fa)]['get'](_0x400b89);}['getMember'](_0x3b0bb0,_0x41f499){const _0x3ea41b=_0x1cc768,_0x5ac280=this[_0x3ea41b(0x2fa)][_0x3ea41b(0x4f7)](_0x3b0bb0);if(_0x5ac280)return _0x5ac280[_0x3ea41b(0x1ed)](_0x41f499);}[_0x1cc768(0x342)](_0x203832){const _0x477ab2=_0x1cc768,_0x4636b6=this['_roomMembers']['get'](_0x203832);_0x4636b6&&(_0x4636b6[_0x477ab2(0x14c)](),this[_0x477ab2(0x2fa)][_0x477ab2(0x24c)](_0x203832));}[_0x1cc768(0x14c)](){const _0x5781d7=_0x1cc768;this[_0x5781d7(0x2fa)][_0x5781d7(0x380)](_0x2317f3=>_0x2317f3[_0x5781d7(0x14c)]()),this[_0x5781d7(0x2fa)][_0x5781d7(0x43d)]();}},exports[_0x1cc768(0x1a6)]=cn([At(0x0,a[_0x1cc768(0x3bd)]),At(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x275)]))],exports['MemberService']);class ln extends a[_0x1cc768(0x1c0)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x1cc768(0x14c)](){const _0x273eb2=_0x1cc768;this[_0x273eb2(0x4d4)][_0x273eb2(0x43d)]();}[_0x1cc768(0x22d)](_0x5b8ca6){const _0x34632d=_0x1cc768;this[_0x34632d(0x4d4)]['set'](_0x5b8ca6[_0x34632d(0x336)],_0x5b8ca6);}[_0x1cc768(0x347)](_0x485b61){const _0xa1879=_0x1cc768;this['_members'][_0xa1879(0x24c)](_0x485b61);}['getMember'](_0x382cac){const _0x233271=_0x1cc768;return this[_0x233271(0x4d4)][_0x233271(0x4f7)](_0x382cac);}[_0x1cc768(0x210)](){const _0x1b8bb4=_0x1cc768;return Array[_0x1b8bb4(0x491)](this[_0x1b8bb4(0x4d4)][_0x1b8bb4(0x3c9)]());}}var hn=Object[_0x1cc768(0x244)],_n=Object[_0x1cc768(0x263)],un=(_0x5e060a,_0x4f6cdd,_0x5c1df0,_0x42caa6)=>{const _0x5716db=_0x1cc768;for(var _0x415a67=_0x42caa6>0x1?void 0x0:_0x42caa6?_n(_0x4f6cdd,_0x5c1df0):_0x4f6cdd,_0x2a4eed=_0x5e060a[_0x5716db(0x31e)]-0x1,_0x3fc2d4;_0x2a4eed>=0x0;_0x2a4eed--)(_0x3fc2d4=_0x5e060a[_0x2a4eed])&&(_0x415a67=(_0x42caa6?_0x3fc2d4(_0x4f6cdd,_0x5c1df0,_0x415a67):_0x3fc2d4(_0x415a67))||_0x415a67);return _0x42caa6&&_0x415a67&&hn(_0x4f6cdd,_0x5c1df0,_0x415a67),_0x415a67;},de=(_0x13aa11,_0x132e8d)=>(_0x2ad7c9,_0x4ac202)=>_0x132e8d(_0x2ad7c9,_0x4ac202,_0x13aa11),se=(_0x47b60b=>(_0x47b60b[_0x47b60b[_0x1cc768(0x394)]=0x0]=_0x1cc768(0x394),_0x47b60b[_0x47b60b[_0x1cc768(0x5a8)]=0x1]=_0x1cc768(0x5a8),_0x47b60b[_0x47b60b[_0x1cc768(0x1b1)]=0x2]=_0x1cc768(0x1b1),_0x47b60b[_0x47b60b[_0x1cc768(0x586)]=0x3]=_0x1cc768(0x586),_0x47b60b))(se||{});exports[_0x1cc768(0x46e)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x37f67e,_0x1c367b,_0xf86a66,_0x203677,_0x53f969,_0x33575a,_0xb2d015,_0x3929e1,_0x2cb85f,_0x29b972){const _0x5b18ac=_0x1cc768;super(),I(this,_0x5b18ac(0x2c6),new A[(_0x5b18ac(0x118))](0x0)),I(this,_0x5b18ac(0x272),this['_sessionStatus$']['asObservable']()),I(this,_0x5b18ac(0x2ab),new A[(_0x5b18ac(0x3f0))]()),I(this,_0x5b18ac(0x3a0),this[_0x5b18ac(0x2ab)]['asObservable']()),I(this,_0x5b18ac(0x26f)),I(this,_0x5b18ac(0x515)),I(this,_0x5b18ac(0x333)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x5b18ac(0x22f),null),(this['_unitID']=_0x37f67e,this[_0x5b18ac(0x10c)]=_0xf86a66,this['_beforeCloseService']=_0x203677,this['_messageService']=_0x53f969,this[_0x5b18ac(0x2c0)]=_0x33575a,this[_0x5b18ac(0x133)]=_0xb2d015,this[_0x5b18ac(0x222)]=_0x3929e1,this[_0x5b18ac(0x4de)]=_0x2cb85f,this[_0x5b18ac(0x433)]=_0x29b972,this[_0x5b18ac(0x1a4)]=!!this[_0x5b18ac(0x433)],_0x1c367b['pipe'](A[_0x5b18ac(0x4cf)](this[_0x5b18ac(0x36e)]))[_0x5b18ac(0x556)](_0x13a749=>{const _0x48b711=_0x5b18ac;var _0x5ba2f9;typeof _0x13a749>'u'||(this['_socket']=_0x13a749,_0x13a749?(this[_0x48b711(0x3b5)](_0x13a749),this[_0x48b711(0x515)]=_0x13a749[_0x48b711(0x49e)][_0x48b711(0x556)](_0x1b859c=>{const _0x3980bd=_0x48b711;_0x1b859c['routeKey']===this[_0x3980bd(0x36f)]&&this[_0x3980bd(0x51e)](_0x1b859c);})):(this[_0x48b711(0x2d9)](),this['_sessionStatus$'][_0x48b711(0x122)](0x2),(_0x5ba2f9=this[_0x48b711(0x515)])==null||_0x5ba2f9[_0x48b711(0x1ca)](),this[_0x48b711(0x515)]=null));}),this['disposeWithMe'](this[_0x5b18ac(0x1e7)]['registerOnClose'](()=>{const _0xe015fa=_0x5b18ac;var _0x4dae6e;(_0x4dae6e=this[_0xe015fa(0x26f)])==null||_0x4dae6e[_0xe015fa(0x48e)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0xe015fa(0x36f)]}});})));}get[_0x1cc768(0x4da)](){const _0x27eee5=_0x1cc768;return this[_0x27eee5(0x2c6)][_0x27eee5(0x3b3)]();}[_0x1cc768(0x519)](){const _0x42ba2e=_0x1cc768;var _0x409be7,_0x3974be;return(_0x3974be=(_0x409be7=this[_0x42ba2e(0x26f)])==null?void 0x0:_0x409be7[_0x42ba2e(0x336)])!=null?_0x3974be:null;}['dispose'](){const _0x19d64f=_0x1cc768;super[_0x19d64f(0x14c)](),this[_0x19d64f(0x36e)]['next'](),this[_0x19d64f(0x36e)]['complete']();}['close'](){const _0x531e08=_0x1cc768;var _0x29a0d1,_0x160691;this['_throwTelemetryCollaborationNewChangeset'](),(_0x29a0d1=this[_0x531e08(0x26f)])==null||_0x29a0d1[_0x531e08(0x48e)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x531e08(0x36f)]}}),(_0x160691=this['_socket'])==null||_0x160691[_0x531e08(0x5b1)](),this[_0x531e08(0x2ab)]['complete'](),this['_sessionStatus$'][_0x531e08(0x4e2)](),this[_0x531e08(0x14c)]();}[_0x1cc768(0x51e)](_0x1e333a){const _0x52dff9=_0x1cc768;_0x1e333a[_0x52dff9(0x217)]===G[_0x52dff9(0x232)]?this[_0x52dff9(0x2ea)](_0x1e333a):_0x1e333a[_0x52dff9(0x217)]===G[_0x52dff9(0x39c)]&&this[_0x52dff9(0x5a4)](_0x1e333a);}[_0x1cc768(0x3b5)](_0x3fdc91){const _0x1845a8=_0x1cc768;this[_0x1845a8(0x2c6)][_0x1845a8(0x122)](0x1),_0x3fdc91[_0x1845a8(0x48e)]({'cmd':G[_0x1845a8(0x232)],'routeKey':this[_0x1845a8(0x36f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1845a8(0x36f)]}]}});}['_onJoinRoomEvent'](_0x3683e2){const _0x5e9b25=_0x1cc768;var _0x2d0ba7;if(_0x3683e2['code']===bt['FAIL']){this[_0x5e9b25(0x124)]['show']({'type':Ce[_0x5e9b25(0x14d)]['Warning'],'content':this[_0x5e9b25(0x133)]['t'](_0x5e9b25(0x57a))}),this[_0x5e9b25(0x2c6)][_0x5e9b25(0x122)](0x2);return;}this[_0x5e9b25(0x2c6)]['next'](0x3);const _0xce0770=(_0x2d0ba7=_0x3683e2['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x2d0ba7[_0x5e9b25(0x5a6)];_0xce0770&&_0xce0770['forEach'](_0x292476=>this[_0x5e9b25(0x222)][_0x5e9b25(0x22d)](this[_0x5e9b25(0x36f)],_0x292476));}[_0x1cc768(0x5a4)](_0x220811){const _0xbc7bae=_0x1cc768;try{const _0x48a21d=_0x220811[_0xbc7bae(0x48a)];switch(_0x48a21d[_0xbc7bae(0x1c1)]){case p[_0xbc7bae(0x59c)][_0xbc7bae(0x41c)]:this[_0xbc7bae(0x52e)](_0x48a21d),this[_0xbc7bae(0x2ab)]['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x52f)]:this[_0xbc7bae(0x426)](_0x48a21d),this['_event$']['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)]['CHANGESET_ACK']:case p[_0xbc7bae(0x59c)][_0xbc7bae(0x4ac)]:this[_0xbc7bae(0x115)](),this[_0xbc7bae(0x17f)](),this['_event$'][_0xbc7bae(0x122)](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x47b)]:this[_0xbc7bae(0x10c)][_0xbc7bae(0x1c4)](_0xbc7bae(0x11a)+JSON[_0xbc7bae(0x236)](_0x48a21d)),this[_0xbc7bae(0x2ab)]['next'](_0x48a21d);break;case p[_0xbc7bae(0x59c)][_0xbc7bae(0x4ea)]:this['_commentService'][_0xbc7bae(0x2e4)](_0x48a21d[_0xbc7bae(0x48a)]),this['_event$']['next'](_0x48a21d);break;default:this[_0xbc7bae(0x2ab)][_0xbc7bae(0x122)](_0x48a21d);}}catch(_0x59758f){this[_0xbc7bae(0x10c)][_0xbc7bae(0x1c4)](_0x59758f,_0x220811);}}[_0x1cc768(0x52e)](_0x4bc8c8){const _0x4e276e=_0x1cc768;this[_0x4e276e(0x222)][_0x4e276e(0x22d)](this[_0x4e276e(0x36f)],_0x4bc8c8['data']);}[_0x1cc768(0x426)](_0xef0c77){const _0x3e7f96=_0x1cc768;this[_0x3e7f96(0x222)][_0x3e7f96(0x347)](this['_unitID'],_0xef0c77['data']['memberID']);}async[_0x1cc768(0x48e)](_0x48f504,_0x1bcb30){const _0x3201f5=_0x1cc768;if(this[_0x3201f5(0x4da)]!==0x3||!this[_0x3201f5(0x26f)])throw new Error(_0x3201f5(0x314));try{_0x48f504[_0x3201f5(0x1c1)]===p[_0x3201f5(0x59c)][_0x3201f5(0x54a)]&&(this[_0x3201f5(0x2f8)](),this[_0x3201f5(0x543)](_0x48f504)),this['_socket'][_0x3201f5(0x48e)]({'cmd':G['INGEST'],'routeKey':_0x1bcb30,'routeType':'','data':_0x48f504});}catch(_0x2f6a8c){this[_0x3201f5(0x10c)][_0x3201f5(0x1c4)](_0x2f6a8c);}}['_scheduleCollaborationTimeoutTimer'](){const _0x290bae=_0x1cc768;var _0x103bc7;this['_collaborationTimeoutTimer']=window[_0x290bae(0x2e7)](()=>{const _0x4eb8dc=_0x290bae;this[_0x4eb8dc(0x333)]=null,this[_0x4eb8dc(0x124)][_0x4eb8dc(0x242)]({'type':Ce[_0x4eb8dc(0x14d)][_0x4eb8dc(0x4ef)],'content':this['_localeService']['t'](_0x4eb8dc(0x478))});},(_0x103bc7=this[_0x290bae(0x2c0)][_0x290bae(0x555)](Et))!=null?_0x103bc7:oi);}[_0x1cc768(0x17f)](){const _0x239f7b=_0x1cc768;this[_0x239f7b(0x333)]&&(clearTimeout(this[_0x239f7b(0x333)]),this['_collaborationTimeoutTimer']=null);}[_0x1cc768(0x543)](_0x84f1af){const _0xbe68a1=_0x1cc768;if(!this[_0xbe68a1(0x1a4)])return;const {data:_0x32cf60}=_0x84f1af,{unitID:_0x56ca11,changeset:_0x3e9020}=_0x32cf60,{mutations:_0x4e9e68,type:_0x4310d5}=_0x3e9020;this[_0xbe68a1(0x22f)]={'unitId':_0x56ca11,'type':_0x4310d5,'startTime':performance[_0xbe68a1(0x4f5)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x4e9e68)};}[_0x1cc768(0x115)](){const _0x264fed=_0x1cc768;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x264fed(0x10c)]['error'](_0x264fed(0x499),_0x264fed(0x5ba));return;}this[_0x264fed(0x22f)][_0x264fed(0x526)]=performance[_0x264fed(0x4f5)](),this[_0x264fed(0x22f)][_0x264fed(0x59f)]=this[_0x264fed(0x22f)][_0x264fed(0x526)]-this[_0x264fed(0x22f)][_0x264fed(0x201)],this[_0x264fed(0x433)][_0x264fed(0x406)](sn,this[_0x264fed(0x22f)]),this['_telemetryInfo']=null;}}[_0x1cc768(0x2d9)](){const _0x4c64ed=_0x1cc768;this[_0x4c64ed(0x22f)]=null;}},exports[_0x1cc768(0x46e)]=un([de(0x2,a[_0x1cc768(0x1a0)]),de(0x3,te[_0x1cc768(0x42d)]),de(0x4,te[_0x1cc768(0x1e5)]),de(0x5,a[_0x1cc768(0x56f)]),de(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),de(0x7,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x1a6)])),de(0x8,a[_0x1cc768(0x2ca)](Rt)),de(0x9,a['Optional'](Hi[_0x1cc768(0x3bb)]))],exports[_0x1cc768(0x46e)]);var dn=Object[_0x1cc768(0x244)],fn=Object[_0x1cc768(0x263)],vn=(_0x3ca5b3,_0x3f4abc,_0x5bff74,_0x22490b)=>{const _0x3c3f5d=_0x1cc768;for(var _0x154ddb=_0x22490b>0x1?void 0x0:_0x22490b?fn(_0x3f4abc,_0x5bff74):_0x3f4abc,_0x41b251=_0x3ca5b3[_0x3c3f5d(0x31e)]-0x1,_0x280109;_0x41b251>=0x0;_0x41b251--)(_0x280109=_0x3ca5b3[_0x41b251])&&(_0x154ddb=(_0x22490b?_0x280109(_0x3f4abc,_0x5bff74,_0x154ddb):_0x280109(_0x154ddb))||_0x154ddb);return _0x22490b&&_0x154ddb&&dn(_0x3f4abc,_0x5bff74,_0x154ddb),_0x154ddb;},pe=(_0x1cbfb7,_0xe96fec)=>(_0x7aa79f,_0x893683)=>_0xe96fec(_0x7aa79f,_0x893683,_0x1cbfb7);exports[_0x1cc768(0x2e1)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x58af4f,_0x42666f,_0x5b8fd8,_0x1d74b4,_0x6a113e,_0x185fee,_0x4e3253){const _0x57b28f=_0x1cc768;super(),I(this,_0x57b28f(0x540),new A['BehaviorSubject'](void 0x0)),I(this,_0x57b28f(0x2d6),this['_socket$'][_0x57b28f(0x575)]()),I(this,_0x57b28f(0x387),null),I(this,_0x57b28f(0x545),new Map()),I(this,_0x57b28f(0x52a),new A[(_0x57b28f(0x118))](se[_0x57b28f(0x394)])),I(this,_0x57b28f(0x495),this[_0x57b28f(0x52a)][_0x57b28f(0x575)]()),I(this,_0x57b28f(0x590),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x57b28f(0x25a),0x0),I(this,_0x57b28f(0x551)),I(this,_0x57b28f(0x3c5)),(this[_0x57b28f(0x310)]=_0x58af4f,this['_localeService']=_0x42666f,this[_0x57b28f(0x124)]=_0x5b8fd8,this[_0x57b28f(0x10c)]=_0x1d74b4,this[_0x57b28f(0x2c0)]=_0x6a113e,this[_0x57b28f(0x569)]=_0x185fee,this[_0x57b28f(0x2d5)]=_0x4e3253,this[_0x57b28f(0x4c2)]());}get[_0x1cc768(0x26f)](){const _0x40d418=_0x1cc768;return this[_0x40d418(0x540)]['getValue']();}[_0x1cc768(0x4c2)](){const _0x4ae464=_0x1cc768;this['_listenToOfflineEvent'](),this[_0x4ae464(0x53c)]();}[_0x1cc768(0x14c)](){const _0x537f5f=_0x1cc768;super[_0x537f5f(0x14c)](),this[_0x537f5f(0x545)]['forEach'](_0x42a09f=>_0x42a09f[_0x537f5f(0x14c)]()),this[_0x537f5f(0x545)][_0x537f5f(0x43d)](),this[_0x537f5f(0x52a)]['complete']();}async['requireSession'](_0x2e64d4){const _0xdf3ddf=_0x1cc768;if(this[_0xdf3ddf(0x545)]['has'](_0x2e64d4))return this['_sessions']['get'](_0x2e64d4);this[_0xdf3ddf(0x3d3)]();const _0x137bf7=this['_injector']['createInstance'](exports[_0xdf3ddf(0x46e)],_0x2e64d4,this['_socket$']['asObservable']());return this['_sessions'][_0xdf3ddf(0x31f)](_0x2e64d4,_0x137bf7),_0x137bf7;}[_0x1cc768(0x44a)](_0x3826d0){const _0x376aea=_0x1cc768;var _0x476ba4;const _0xb8a4ac=this[_0x376aea(0x545)][_0x376aea(0x4f7)](_0x3826d0);_0xb8a4ac&&(this['_sessions'][_0x376aea(0x24c)](_0x3826d0),_0xb8a4ac[_0x376aea(0x5b1)]()),this['_sessions']['size']||(_0x476ba4=this['_socket'])==null||_0x476ba4[_0x376aea(0x5b1)]();}[_0x1cc768(0x421)](){const _0x304f1f=_0x1cc768;this[_0x304f1f(0x25a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x304f1f(0x300)]),this[_0x304f1f(0x300)]=null),this[_0x304f1f(0xfd)]();}async['_getSessionTicket'](){const _0x3ba7d1=_0x1cc768;var _0x4249ac,_0x5ef5bd,_0x28297c;const _0x5c19f3=this[_0x3ba7d1(0x2c0)][_0x3ba7d1(0x555)](Q),_0x3fa4b7=(_0x4249ac=_0x5c19f3==null?void 0x0:_0x5c19f3[_0x3ba7d1(0x4f2)])!=null?_0x4249ac:Gi;return(_0x28297c=(_0x5ef5bd=(await this[_0x3ba7d1(0x2d5)][_0x3ba7d1(0x4f7)](_0x3fa4b7,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5ef5bd[_0x3ba7d1(0x11c)])!=null?_0x28297c:'';}[_0x1cc768(0x117)](_0x372181){const _0x3911e1=_0x1cc768;var _0xebe134,_0x50bcc1;const _0x312b69=this['_configService'][_0x3911e1(0x555)](si),_0x5c13a5=this['_configService'][_0x3911e1(0x555)](Q),_0x4d947f=(_0x50bcc1=(_0xebe134=_0x5c13a5==null?void 0x0:_0x5c13a5['collabWebSocketUrl'])!=null?_0xebe134:_0x312b69)!=null?_0x50bcc1:Vi,_0x46c494=new URL(_0x4d947f,window[_0x3911e1(0x19f)]['origin']);return _0x46c494['searchParams'][_0x3911e1(0x31f)]('sessionTicket',_0x372181),_0x46c494[_0x3911e1(0x3df)]();}async[_0x1cc768(0x288)](){const _0x582bc4=_0x1cc768,_0x2ce64b=await this[_0x582bc4(0x3b8)](),_0xb7f596=this['_createSocketURL'](_0x2ce64b),_0x4202e6=this[_0x582bc4(0x569)][_0x582bc4(0x535)](_0xb7f596);return this[_0x582bc4(0x387)]=_0x4202e6,_0x4202e6;}async['_tryEnsureSocket'](){const _0x12cfa8=_0x1cc768;var _0x22287d,_0x2c6120;try{const _0x246178=(_0x2c6120=(_0x22287d=this['_socket'])!=null?_0x22287d:this[_0x12cfa8(0x387)])!=null?_0x2c6120:await this[_0x12cfa8(0x288)]();if(_0x246178){const _0x3b1c1f=_0x246178['send'];_0x246178[_0x12cfa8(0x48e)]=_0x1a668d=>(this[_0x12cfa8(0x285)](),_0x3b1c1f[_0x12cfa8(0x119)](_0x246178,[_0x1a668d])),_0x246178[_0x12cfa8(0x49e)][_0x12cfa8(0x556)](_0x33807d=>this[_0x12cfa8(0x238)](_0x246178,_0x33807d)),_0x246178[_0x12cfa8(0x306)][_0x12cfa8(0x154)](V['take'](0x1))[_0x12cfa8(0x556)](_0x465cca=>this[_0x12cfa8(0x10c)][_0x12cfa8(0x1c4)](_0x12cfa8(0x446),_0x465cca)),_0x246178['open$']['pipe'](V['take'](0x1))[_0x12cfa8(0x556)](()=>{const _0x5f4ba1=_0x12cfa8;this[_0x5f4ba1(0x3fa)](_0x246178);}),_0x246178[_0x12cfa8(0x335)][_0x12cfa8(0x154)](V[_0x12cfa8(0x459)](0x1))[_0x12cfa8(0x556)](_0x4f2fb1=>{const _0x278366=_0x12cfa8;this[_0x278366(0x10c)][_0x278366(0x157)](_0x278366(0x29f),_0x278366(0x51c),_0x4f2fb1),this[_0x278366(0x250)]();});}}catch(_0x305592){this['_logService'][_0x12cfa8(0x1c4)](_0x305592),this[_0x12cfa8(0x250)]();}}[_0x1cc768(0x3fa)](_0x4adeef){const _0x190545=_0x1cc768;this[_0x190545(0x10c)][_0x190545(0x157)](_0x190545(0x29f),_0x190545(0x13d)),_0x4adeef[_0x190545(0x48e)]({'cmd':G[_0x190545(0x215)]}),this[_0x190545(0x285)]();}[_0x1cc768(0x438)](){const _0x282bb4=_0x1cc768;window['addEventListener'](_0x282bb4(0x2a7),()=>this['_onOffline']());}[_0x1cc768(0x59d)](){const _0x14f22b=_0x1cc768;this[_0x14f22b(0x590)]=!0x1,this[_0x14f22b(0x387)]=null,this[_0x14f22b(0x52a)][_0x14f22b(0x122)](se[_0x14f22b(0x1b1)]),this[_0x14f22b(0x540)][_0x14f22b(0x122)](null),this[_0x14f22b(0x2c4)](),this[_0x14f22b(0x20d)]();}[_0x1cc768(0x250)](){const _0x5c80f6=_0x1cc768;var _0x311526;this[_0x5c80f6(0x59d)](),this['_retryCount']<((_0x311526=this[_0x5c80f6(0x2c0)][_0x5c80f6(0x555)](ai))!=null?_0x311526:qi)?(this[_0x5c80f6(0x124)]['show']({'key':_0x5c80f6(0x301),'type':Ce['MessageType'][_0x5c80f6(0x268)],'content':this[_0x5c80f6(0x133)]['t'](_0x5c80f6(0x412))}),this[_0x5c80f6(0xfd)]()):this[_0x5c80f6(0x124)][_0x5c80f6(0x242)]({'key':'collaboration-session-retry','type':Ce[_0x5c80f6(0x14d)][_0x5c80f6(0x4ef)],'content':this[_0x5c80f6(0x133)]['t'](_0x5c80f6(0x3e0))});}['_listenToOnlineEvent'](){const _0x547ee2=_0x1cc768,_0x52b1db=()=>{this['_socket']||this['reconnect']();},_0x419f93=()=>{const _0x583536=_0x3a60;this[_0x583536(0x26f)]||document[_0x583536(0x185)]===_0x583536(0x41a)||this['reconnect']();};window['addEventListener'](_0x547ee2(0x3c6),_0x52b1db),document['addEventListener'](_0x547ee2(0x488),_0x419f93);}['_tryReconnect'](){const _0x42ae92=_0x1cc768;var _0x495139;const _0x5b0c07=this[_0x42ae92(0x25a)],_0x48c684=this[_0x42ae92(0x2c0)]['getConfig'](Q),_0x495821=_0x5b0c07===0x0?0x0:((_0x495139=_0x48c684==null?void 0x0:_0x48c684['retryConnectingInterval'])!=null?_0x495139:Ki)*0x2**_0x5b0c07;this[_0x42ae92(0x300)]=window[_0x42ae92(0x2e7)](()=>{const _0x8d31f8=_0x42ae92;clearTimeout(this[_0x8d31f8(0x300)]),this[_0x8d31f8(0x300)]=null,this[_0x8d31f8(0x3d3)]();},_0x495821),this[_0x42ae92(0x25a)]+=0x1;}[_0x1cc768(0x238)](_0x5f4e71,_0x209122){const _0x18dc86=_0x1cc768,{cmd:_0x5d6f73}=_0x209122;_0x5d6f73===G[_0x18dc86(0x215)]&&!this['_socketReady']&&(_0x5f4e71['memberID']=_0x209122['data']['memberID'],this[_0x18dc86(0x540)]['next'](_0x5f4e71),this[_0x18dc86(0x52a)][_0x18dc86(0x122)](se[_0x18dc86(0x586)]),this[_0x18dc86(0x590)]=!0x0,this[_0x18dc86(0x387)]=null),_0x5d6f73===G['HEARTBEAT']&&this[_0x18dc86(0x2c4)](),this[_0x18dc86(0x285)]();}[_0x1cc768(0x285)](){const _0x40cbf1=_0x1cc768;var _0x418ae7;this[_0x40cbf1(0x20d)](),this[_0x40cbf1(0x551)]=window[_0x40cbf1(0x2e7)](()=>this[_0x40cbf1(0x267)](),(_0x418ae7=this[_0x40cbf1(0x2c0)][_0x40cbf1(0x555)](ri))!=null?_0x418ae7:Yi);}[_0x1cc768(0x267)](){const _0x21ece0=_0x1cc768;this['_socket'][_0x21ece0(0x48e)]({'cmd':G[_0x21ece0(0x165)]}),this[_0x21ece0(0x4b7)]();}[_0x1cc768(0x4b7)](){const _0x45ae66=_0x1cc768;var _0x295ba1;this[_0x45ae66(0x3c5)]=window[_0x45ae66(0x2e7)](()=>this[_0x45ae66(0x250)](),(_0x295ba1=this[_0x45ae66(0x2c0)][_0x45ae66(0x555)](Et))!=null?_0x295ba1:oi);}[_0x1cc768(0x20d)](){const _0x28c75e=_0x1cc768;this[_0x28c75e(0x551)]!=null&&(clearTimeout(this[_0x28c75e(0x551)]),this[_0x28c75e(0x551)]=null);}[_0x1cc768(0x2c4)](){const _0x1001d6=_0x1cc768;this[_0x1001d6(0x3c5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1001d6(0x3c5)]=null);}},exports['CollaborationSessionService']=vn([pe(0x0,a['Inject'](a[_0x1cc768(0x4d2)])),pe(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),pe(0x2,te[_0x1cc768(0x1e5)]),pe(0x3,a[_0x1cc768(0x1a0)]),pe(0x4,a[_0x1cc768(0x56f)]),pe(0x5,Tt),pe(0x6,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)]))],exports[_0x1cc768(0x2e1)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x1cc768(0x102)]((s+0x100)['toString'](0x10)[_0x1cc768(0x158)](0x1));function Sn(_0x2d22d1,_0x49a0e8=0x0){const _0x108c83=_0x1cc768;return(Y[_0x2d22d1[_0x49a0e8+0x0]]+Y[_0x2d22d1[_0x49a0e8+0x1]]+Y[_0x2d22d1[_0x49a0e8+0x2]]+Y[_0x2d22d1[_0x49a0e8+0x3]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x4]]+Y[_0x2d22d1[_0x49a0e8+0x5]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x6]]+Y[_0x2d22d1[_0x49a0e8+0x7]]+'-'+Y[_0x2d22d1[_0x49a0e8+0x8]]+Y[_0x2d22d1[_0x49a0e8+0x9]]+'-'+Y[_0x2d22d1[_0x49a0e8+0xa]]+Y[_0x2d22d1[_0x49a0e8+0xb]]+Y[_0x2d22d1[_0x49a0e8+0xc]]+Y[_0x2d22d1[_0x49a0e8+0xd]]+Y[_0x2d22d1[_0x49a0e8+0xe]]+Y[_0x2d22d1[_0x49a0e8+0xf]])[_0x108c83(0x112)]();}function _0x4d1c(){const _0x273c22=['file','c2Prime','LIVESHARE_FETCH_OPERATIONS','hostname','SUCCUSS','find','HttpImport','padding','editingUnit','RefRangeService','_initEventListeners','SetSelectionsOperation','COLORS','getResourcesRequest','RETRY_CONNECTING_MAX_COUNT_KEY','onTransformRemoteChangesetByIMECache','_showConflictNotification','byteLength','substr','Plugin','jsxs','getRenderById','_getMergeRange','takeUntil','getDocRanges','unpad','Injector','_invKeySchedule','_members','decrypt','subscribeEvent','c1Prime','list','_isPermissionRej','sessionStatus','history','with','IAuthzIoService','_commentService','size','_http','INVALID_ARGUMENT','complete','deserializeRangeWithSheet','x-univer-host','_getAPIPrefix','textRanges','clearTimeout','_config','drawWith','COMMENT_UPDATE','sheetId','measureText','unitID','getUndoRedoMutationParamsCache','Error','_updateLocalCache','LIVESHARE_TERMINATE','wsSessionTicketUrl','_updateState','indexOf','now','sheets','get','_cursorInfo$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/engine-formula','session','LICENSE_EXPORT_SIZE_EXCEEDED','react.fragment','url(#off-line-single_clip0_910_343)','onMouseMove','enableOfflineEditing','mapDocumentTypeToUniverType','ref','JOIN_ROOM_NOT_ALLOWED','Tooltip','_colorAssignService','OTHER_CLIENTS_EDITING','collabStatus.syncing','transformIMECache','origin','has','_cachedData','_registerDependencies','EffectRefRangId','_decreaseWaiting','_onFetchMissResult','YUUMI_URL_COL_OUT_OF_RANGE','image/jpg','sigBytes','_waitCount','_imageSourceCache','_socketMessageSubscription','DocSelectionManagerService','updatePermissionPoint','init','getMemberID','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetCollaborationEntity','socket\x20close','abs','_onCombEvent','collaboration_new_changeset','all','IRemoteInstanceService','_entityInit$','conflict.title','fill','_executeRemoteChangeset','stopTime','onStarting','revision','onSyncEditingCollabCursor','_status$','subject','FETCH_MISSING','_getSheetObject','_onUserJoin','USERS_LEAVE','params','_handleJoinEvent','getUnitOnRev','ISnapshotServerService','Latin1','createSocket','_docTransformSelectionsService','triggerDblclick','_collaborationSessionService','url','sheetID','_hash','_listenToOnlineEvent','registerHTTPInterceptor','objectType','SYNCED','_socket$','_setupBeforeClosingHandler','IUndoRedoService','_startTelemetryCollaborationNewChangeset','BufferedBlockAlgorithm','_sessions','_iv','LICENSE_DISTRO_REJECTED','Could\x20not\x20dynamically\x20require\x20\x22','syncEditingCollabCursor','SUBMIT_CHANGESET','getCollabEntity$','saveOfflineData','_acknowledgedAwaitingChangeset','awaitingChangeset','resourceIDs','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_sendHeartbeatTimer','SnapshotService','_mode','actions','getConfig','subscribe','startColumn','liveShareOperation','permission.content','isActive','rev','unitId\x20is\x20not\x20found','getFocusedUnit','onRemoteRej','#fff','algo','\x20to\x20','Shape','buffer','collabCursorState$','getRelativeToViewportCoord','appendMutation','_handleHeartbeatEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','_socketService','getStateCache','ENSURE_SNAPSHOT_EXECUTION','_userManagerService','collaboration.single-unit.warning','_change$','IConfigService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_resendTimeout','LOGIN_URL_KEY','disposeUnit','onMissedChangesetFetched','asObservable','PERMISSION_REJ','charCodeAt','every','joinRsp','session.room-full','localeService','merge','cfg','onPointerEnter$','signUrlServerUrl','black','univerjs-icon\x20univerjs-icon-','_collabCursorController','replace','CollaborationStatus','_clearRedo','ONLINE','ILocalStorageService','encrypt','HttpExport','/universer-api/authz','collab-rect-range-','_createInitialState','transformByState','MoveRangeCommandId','getOwnPropertySymbols','_socketReady','none','finalize','submit\x20changeset\x20error!','_clearUndo','_transformUndoredo','[OfflineState]:\x20received\x20acknowledgement.','transformUndoRedo','csRejEvent','entries','b64DecodeUnicode','UPDATE_CURSOR','CollaborationEvent','_onOffline','changesets','duration','AUTHZ_URL_KEY','SEND_CHANGESET_TIMEOUT_KEY','onRemoteRetry','toStringTag','_onRecvEvent','IImageIoService','members','handleDeleteRangeMoveUp','JOINING','RECT','getSheetBlock','_toggleOnline','getTypeOfUnitAdded$','DocSkeletonManagerService','sequenceExecute','138912KsfqSN','cursorInfo','close','fromEvent','RETRY_CONNECTING_MAX_COUNT','[UniverCollaborationClientPlugin]','UNKNOWN_CMD','LICENSE_MAX_UNITS_EXCEEDED','font','APPLY_NON_SEQUENTIAL_REVISION','_initStatusListener','telemetry\x20info\x20is\x20not\x20initialized','_hover','/universer-api/snapshot/','Hasher','use','downloadEndpointUrl','_context','jsx','HTTPRequest','_onLocalMutation','_resendTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','function','/-/object/list','DocIMEInputManagerService','for','loadOfflineData','PERSON','charAt','backgroundColor','_toggleOffline','unknown','PSEUDO_FETCH_MISSING_RESULT','change$','InsertRangeMoveDownCommandId','getViewport','/universer-api/user/session-ticket','LEAVE','_undoRedoService','_loadSheet','getRoom','onlyLocal','_tryReconnect','@univerjs/core','focused$','handleInsertRangeMoveDown','debounceTime','push','string','WebSocketService','height','Fragment','fetchMissingChangesets','patch','/resources','_getUndoStack','refreshPermission','_logService','setUndoRedoMutationParamsCache','createEncryptor','enc','_minBufferSize','getColor','toLowerCase','_clearOtherTimers','_univerInstanceService','_stopTelemetryCollaborationNewChangeset','createDecryptor','_createSocketURL','BehaviorSubject','apply','save\x20fail\x20reason\x20is\x20','Error\x20on\x20receiving\x20event','ticket','__creator','setShapeProps','ICommandService','@univerjs/sheets-ui','createElement','next','ImageUploadStatusType','_messageService','delay','TOO_MANY_REQUESTS','AWAITING','ReactCurrentOwner','_getLoginPath','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getTime','_collaborationPaused','[SyncedState]:\x20received\x20rejection.','SNAPSHOT_SERVER_URL_KEY','onSendChangeset','map','_roomMembers$','_anchorDot','_localeService','_commandService','_substituteRedoStack','encodeURIComponent','encode','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','activeSheet$','m1Prime','iterations','top','socket\x20open.','reject','floor','userID','currentSkeleton$','getAncestorScale','_init','CHANGESET_REVISION_CONFILICT','_send','catch','getCollabCursors$','{fileID}','@univerjs/engine-render','_online','getSheetBySheetId','dispose','MessageType','AES','roomMembers','DOC_RANGE_TYPE','isEditing','UniverIcon','state$','pipe','_unitStatus','_labelPosition','debug','slice','SerializableCipher','image/gif','onCommandExecuted','RemoveRowCommandId','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveUpCommandId','_localStorageService','hovered','setActiveRange','imageSourceType','unit','HEARTBEAT','_getCtorByUniverType','getImage','handleDeleteRangeMoveLeft','forwardRef','toggleOnline','listRoles','OpenSSL','_ws','univer-online-status-icon','_xformMode','_createHelper','fillRule','ranges','displayName','onTransformIME','idSuffix','_unlockTransition','getLatestCsReqIdBySid','processBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','DocStateChangeManagerService','FAIL','MUTATION','defaultProps','UNRECOGNIZED','_clearCollaborationTimeoutTimer','@univerjs/drawing','_entities','_awaitingChangeset','throttleTime','_instanceService','visibilityState','requireSession','getParam','LOCAL_CACHE_INTERVAL_KEY','initWorkbookPermissionChange','ERROR_IMAGE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','3489741HTqCty','_unitOnClients','_singleActiveUnitService','/fetchmissing?from=','NoPadding','then','/universer-api/stream/file/upload','_applyRemoteChangeset','isArray','labelPosition','newValue','textEncoder','updateOfflineData','svg','/universer-api/snapshot','_fetchMissChangesets','YUUMI_UNABLE_LOAD_URL','0\x200\x2017\x2016','_selfUnitIDs','location','ILogService','collaMsg','subunit','title','_shouldReportTelemetry','CommentService','MemberService','UniverInstanceType','max','UNIVER_SLIDE','requestParams','POST','DEFAULT_FILE_NAME','collab-text-anchor-','_shapes','icon','getCurrentUser','OFFLINE','_ensureSubject','_eventUnsubscribe','_onRemoteRetry','_updateSubUnitFromURLParams','/-/object/-/batch_allowed','InsertRangeMoveRightCommandId','_getAPIPrefixPath','debounce','conflict.content','_redoStacks','getUnit','collabStatus.offline','_onRemoteACK','defIds','Disposable','eventID','setWaitCount','Malformed\x20UTF-8\x20data','error','onRemoteChangeset','transformSelections','_scheduleTimestamp','parseProtocolChangeset','_snapshotService','unsubscribe','liveShareNewHost','action','_getUploadFileURL','blockSize','parseChangesetToProtocol','authzUrl','onTransformSelections','WorkbookEditablePermission','[OfflineState]:\x20received\x20changeset.','conflict','InsertSheetMutation','handleInsertRow','_syncEditingCollabCursorService','react','Pkcs7','getSkeleton','HTTPService','univer-online-status','bind','UNIVER_UNKNOWN','_startDocCollabCursor','[DataLoaderController]','getCurrentSelections','currentTheme$','onTransformRemoteChangesetByStateCache','roomMembers$','IMessageService','transformMutation','_beforeCloseService','rgba(255,\x20255,\x20255,\x200.01)','ERROR_IMAGE_TYPE','_nDataBytes','_initStatusComponent','useCallback','getMember','image/png','PERMISSION_DENIED','getUnitId','rxjs/operators','Optional','getRangePointData','fetching\x20missing\x20changesets\x20from\x20','sid','InsertRowCommandId','routeKey','resize','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','collaboratorID','HEARTBEAT_TIMEOUT','@univerjs/network','fetchMiss','_clearScheduledTask','SEND_CHANGESET_TIMEOUT','startTime','BuiltInUIPart','href','encryptBlock','ivSize','EmptyMutation','hasOwnProperty','_permissionService','@univerjs/docs-ui','IContextService','_transformHistoryAndStateStack','workbook','_clearHeartbeatTimer','reduce','_state','getAllMembers','_nRounds','&to=','reqId','Vector2','HELLO','DependentOn','cmd','className','UnitSnapshot','defs','incrementRevOfUnit','setShowComponents','ImageSourceType','678320YmdGUx','object','target','_checkMissing','_memberService','originalMeta','_incrementRevisionNumber','serializeCombRequest','COLLAB_WEB_SOCKET_URL','searchParams','randomBytes','/block/','_initCommandExecutedListener','_resendWithTimeout','range','updateMember','_docSkeleton','_telemetryInfo','_loadDoc','gold400','JOIN','collab-text-range-','concatMap','fillStyle','stringify','_handleHover','_onMessage','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getCollabEntity','/universer-api/comb','getMergeData','mapTo','updateCollaborator','_data','min','getInterceptPoints','show','_disableEditing','defineProperty','_submitChangeset','_saveTaskMap','m2Prime','sin','setAlpha','SessionStatus','NEW_CHANGESETS','delete','Workbook','COMPRESS_MUTATION_APPLY','equals','_onConnectionFailed','_color','div','getItem','deleteCollaborator','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_lastPointer','Undefined','collaboration-client.config','_createHandler','_retryCount','state','findNodePositionByCharIndex','/rev/','_sendingTimer','_docClipboardService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_cursors','ws://127.0.0.1:8000/universer-api/comb/connect','getOwnPropertyDescriptor','handleInsertRangeMoveRight','_substituteUndoStack','tag','_sendHeartbeat','Warning','Univer','_keySchedule','_queuedRemoteChangesets','1em','code','enableSingleActiveInstanceLock','_socket','RemoveColCommandId','resend','sessionStatus$','_scheduleSaving','uni.network.url-service','UserManagerService','concat','ThresholdInterceptorFactory','_saveCache','extend','_hasher','endRow','name','joinEvent','disposeWithMe','_DEC_XFORM_MODE','csShouldRetryEvent','_remoteChangesetQueue','listCollaborators','serializeRangeWithSheet','APPLY_REJECT','_rescheduleHeartbeat','_hovered','_collabSessionService','_createSocket','onload','lineTo','HMAC','EvpKDF','_onConflict','text','VIEWPORT_KEY','_handleLeaveEvent','subUnitId','_getSaveTimeout','_docStateChangeManagerService','_initCloseConn','Hex','allowed','rxjs','...','addClipboardHook','getImageSourceCache','xlink:href','FETCH_MISS','startRow','_handleEvent','[CollaborationSessionService]','clone','_drawRectRange','_cursor','keySize','IURLService','_onRemoteRejected','permissionRejEvent','offline','_scheduleHeartbeat','_doCryptBlock','_snapshotServerService','_event$','UniverCollaborationClientPlugin','_textBubble','assignAColorForMemberID','update','BlockCipher','IMentionIOService','336kTSNhc','__Key__','MentionType','round','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getSnapshotAPIPrefix','&assign=','exports','_transitionLocked','RichTextEditingMutation','collabSubmitChangesetUrl','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','handleInsertCol','COMPRESS_MUTATION_SEND','_configService','OffLineSingle','socketService','putCollaborators','_clearTimeoutTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_sessionStatus$','status','compute','ALREADY_EXISTS','Inject','startsWith','some','_transformRemoteChangesetByStateCache','univer-online-status-title','[FetchMissState]','_prevBlock','Module','INTERNAL_ERROR','_transformUndoRedoStack','ImageIoService','_httpService','socket$','collaborators','pluginName','_throwTelemetryCollaborationNewChangeset','IRenderManagerService','4odAhdH','_commentUpdate$','add','getCurrentRevOfUnit','objectActions','TEXT_RANGE_LAYER_INDEX','CollaborationSessionService','CompressMutationService','LICENSE_IMPORT_SIZE_EXCEEDED','onCommentUpdate','objectID','sendChangesetTimeout','setTimeout','shouldCloseConn','568473OfNUIm','_onJoinRoomEvent','onRendered','colorChannel1','registerRefRange','_themeService','color','onPointerLeave$','unitId','_disabled','JOIN_ROOM_FULL','updateCursorEvent','WordArray','SheetsSelectionsService','$super','_scheduleCollaborationTimeoutTimer','Unknown\x20user','_roomMembers','Decryptor','setCurrentUser','_getAnchorBounding','_draw','SNAPSHOT_INVALID_SNAPSHOT','_retryConnectingTimer','collaboration-session-retry','CommandType','salt','[SyncedState]:\x20received\x20acknowledgement.','LocalCacheService','error$','doc.mutation.rich-text-editing','@univerjs/design','_renderManagerService','createInstance','save','addImageSourceCache','off-line-single_clip0_910_343','onlineStatus','\x0aCurrent:\x20','_injector','_exhaustRemoteChangesetQueue','_syncEditingCollabCursor','_HTTPService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_colorIndex','NOT_FOUND','_registerRenderDependencies','_transformSelections','addObject','_collaborationController','_onCursorUpdate','_updateURLWithCurrentState','Utf8','length','set','attrs','1404940oraiJO','assign','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','decryptBlock','_compressMutationService','SetTextSelectionsOperation','InsertColCommandId','_heartbeatTimer','toDisposable','_range','arc','getCurrentUnitForType','kdf','APPLY_REVISION_CONFILICT','_notificationService','contains','ceil','storage','_collaborationTimeoutTimer','collaboration-client.offline-data-not-saved','close$','memberID','create','saveSheetBlock','_getScale','MergeInterceptorFactory','M0\x200H16V16H0z','_updateStatus','_initResize','LocaleService','AWAITING_WITH_PENDING','pending','useDependency','_removeRoom','connection\x20error','BASE64','INotificationService','_cursorShapes','removeMember','baseRev','runRefRangeMutations','skeleton','execute','_state$','SetWorksheetActivateCommand','UNIVER_COLLABORATION_CLIENT_PLUGIN','combineLatest','_parse','headers','_startCollaboration','IDocClipboardService','awaiting','_updateCollabCursors','on-line-single_clip0_910_349','CONFLICT','currentColor','ERROR_EXCEED_SIZE','RxDisposable','append','AuthzIoHttpService','DisposableCollection','DocCollaborationEntity','@univerjs/ui','NO_OTHER_CLIENTS_EDITING','mode','_onRemoteChangeset','format','current','COMPLETION_FINISHED','awaiting_with_pending','_collabCursorState$','/collaborator','Tools','pauseCollaboration','SNAPSHOT_URL_KEY','collabStatus.fetchMiss','readAsDataURL','dispose$','_unitID','deserializeToCombResponse','HEARTBEAT_INTERVAL_KEY','leaveEvent','touchDependencies','updatePermissionObjEvent','split','put','[CollaborationState]:\x20apply\x20error!','getCellPositionByOffset','LIVESHARE_NEW_HOST','csAckEvent','DataLoaderController','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','number','34096TcNnrr','MD5','forEach','msCrypto','DesktopCollaborationStatusDisplayController','reset','toRgbString','transformRemoteChangeset','_initMergeInterceptor','_candidateSocket','closePath','CollaborationEntity','_handler','_createHmacHelper','CollaborationController','beginPath','width','TEXT','generateRandomId','_updateLocalCursor','_anchor','[OfflineState]:\x20received\x20rejection.','IDLE','Rectangle','prototype','_drawAnchor','type','mixIn','_cipher','result','RECV','synced','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','failed\x20to\x20apply\x20missed\x20changesets!','event$','replaceDocRanges','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','SHOULD_CLOSE_CONN','row','_sender','call','HmacMD5','Cipher','_imageIoService','/object/','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','clearInterval','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/file/{fileID}/sign-url','saveImage','shareReplay','FromArray','/new_changes','getValue','toggleOffline','_joinRoom','roles','_transformPreviousActiveRange','_getSessionTicket','PENDING','key','ITelemetryService','pad','IUniverInstanceService','onPointerMove$','_scheduleClearOtherTimer','isTransformMutationsWithChangesetFailure','jiqing500','registerDependencies','getTypeOfUnitDisposed$','disableLocalCache','_timeoutTimer','online','_undoStacks','transformStack\x20failed!','values','UnitEmbedded','_scene','_transformRemoteChangesetByIMECache','/role','@univerjs-pro/collaboration','UNAUTHENTICATED','setItem','lib','_removeCollabCursors','_tryEnsureSocket','setParam','JSONX','_backgroundColor','column','clamp','_oKey','_transformStack','_pendingMutations','onlineStatusIcon','_clearLocalCache','CollaborationSocketService','toString','session.connection-failed','RevisionService','collaboration.closeRoom','UNDEFINED','LIVESHARE_OPERATION','redoState','_key','cursorInfo$','[PendingState]:\x20received\x20acknowledgement.','loadSheet','_changesetReqId','_getCurrentRevision','url(#on-line-single_clip0_910_349)','[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.','bottom','NOT_COLLAB','Subject','_createInitialStateImpl','loginUrlKey','_localCacheService','_drawTextRange','join','ThemeService','purple300','executeCommand','CipherParams','_onConnectionOpen','setInterval','removeParam','on-line-single','flatMap','LOCAL_CACHE_INTERVAL','transformMutationsWithChangeset','randomUUID','byteOffset','compose','transformStateCache','_sheetSkeletonManagerService','capture','ReplaySubject','UNIVER_DOC','ColorKit','selection','_document','COLLAB_SUBMIT_CHANGESET_URL_KEY','urlChange$','IUIPartsService','red300','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_doFinalize','session.will-retry','People','_id','createIdentifier','children','_name','substring','EXCHANGE_SIGN_URL_SERVER_URL_KEY','hidden','registerRenderModule','USERS_ENTER','mutations','MentionIoHttpService','interceptor','override','reconnect','transformChangesets','?url=','_initUnitPermissionChange','[CollaborationUndoRedoService]','_onUserLeave','isPermissionRej','hasher','transform','_getRedoStack','_initRequestHeader','IPermissionService','IBeforeCloseService','ICollaborationSocketService','fillText','isInternalEditorID','fetchThroughInterceptors','_removeClearOtherTimer','_telemetryService','SnapshotServerOverHTTPService','registerComponent','url(#$1','_refRangeService','_listenToOfflineEvent','onTransformChange$','_docSkeletonManagerService','Encryptor','2jeicnV','clear','getWorkbookSelections','COLLAB_WEB_SOCKET_URL_KEY','LIVESHARE_REQUEST_HOST','YUUMI_RATE_OVER_LIMIT','\x20-\x20','UNIVER_PROJECT','Base64','_replayCachedMutations','[CollaborationSessionService]:\x20socket\x20error','restore','getRandomValues','HmacSHA1','closeSession','collab-client.tooltip.reconnect','_assignedColors','splice','objects','switchMap','source','_schedule','UNIVER_SHEET','_docTransformIMECacheService','random','INGEST','getUnhiddenWorksheets','Rect','_append','take','enableAuthServer','exhaustSavingTask','saveSnapshot','pushState','connectInjector','HEARTBEAT_INTERVAL','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','unit-cache-','_type','isTransformChangesetsSuccess','filter','deepClone','ciphertext','handleIRemoveCol','DeleteRangeMoveLeftCommandId','_replaceFileID','_initDependencies','onStateChange','default','body','CollaborationSession','crypto','@univerjs/telemetry','_keyPriorReset','parse','getUnitType','Base','_lockTransition','_docTransformStateCacheService','includes','session.collaboration-timeout','responseType','_revisionService','MSG_FOR_ERROR','_doReset','RegularPolygon','_refreshCollabCursors','OnLineSingle','/unit/','_sheetTransformSelectionsService','isTransformMutationsWithChangesetSuccess','[CollaborationEntity]','33956VqBOAb','_reverseMap','/universer-api/oidc/authpage','onTransformState','visibilitychange','clipPath','data','_ENC_XFORM_MODE','_process','ITransformService','send','_hideTimer','image/bmp','from','_onRefRangeChange','unshift','_getSendChangesetTimeout','status$','commentUpdateEvent','fetch_missing','path','[CollaborationSession]','selections','_transformIMECache','_urlService','getUnitStatus$','message$','words','SHA1','APPLY_DUPLICATED','onRemoteAck','post','CONNECTOR_DATA_TOO_LARGE','CHANGESET_ACK','\x0aAfter:\x20','univer-offline','/allowed','replaceState','translate(.97)','getSheetId','CHANGESET_SHOULD_RETRY','_onCursorDelete','docStateChange$','auth.needGotoLoginAlert','handleMoveRange','_changesetSessionId','isTransformMutationFailure','distinctUntilChanged','onMissingChangesets','getSheetObject','undoState','_waitForHeartbeatResponse'];_0x4d1c=function(){return _0x273c22;};return _0x4d1c();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0x42e4a7=_0x1cc768;if(!Ze){if(typeof crypto>'u'||!crypto[_0x42e4a7(0x448)])throw new Error(_0x42e4a7(0x12a));Ze=crypto[_0x42e4a7(0x448)][_0x42e4a7(0x1dd)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x1cc768(0x401)]&&crypto[_0x1cc768(0x401)][_0x1cc768(0x1dd)](crypto),Nt={'randomUUID':gn};function In(_0x40b98e,_0x5b899b,_0xe076e6){const _0x187a2a=_0x1cc768;if(Nt['randomUUID']&&!_0x5b899b&&!_0x40b98e)return Nt[_0x187a2a(0x401)]();_0x40b98e=_0x40b98e||{};const _0x3b7b67=_0x40b98e[_0x187a2a(0x454)]||(_0x40b98e['rng']||mn)();return _0x3b7b67[0x6]=_0x3b7b67[0x6]&0xf|0x40,_0x3b7b67[0x8]=_0x3b7b67[0x8]&0x3f|0x80,Sn(_0x3b7b67);}var Cn=Object[_0x1cc768(0x244)],En=Object[_0x1cc768(0x263)],bn=(_0x5ab325,_0x450c6e,_0x2afc08,_0x452a5b)=>{const _0x54c41c=_0x1cc768;for(var _0x36c7a8=_0x452a5b>0x1?void 0x0:_0x452a5b?En(_0x450c6e,_0x2afc08):_0x450c6e,_0x2eff20=_0x5ab325[_0x54c41c(0x31e)]-0x1,_0xd50269;_0x2eff20>=0x0;_0x2eff20--)(_0xd50269=_0x5ab325[_0x2eff20])&&(_0x36c7a8=(_0x452a5b?_0xd50269(_0x450c6e,_0x2afc08,_0x36c7a8):_0xd50269(_0x36c7a8))||_0x36c7a8);return _0x452a5b&&_0x36c7a8&&Cn(_0x450c6e,_0x2afc08,_0x36c7a8),_0x36c7a8;},Qe=(_0x468184,_0x390e6c)=>(_0x3792d6,_0x2055bb)=>_0x390e6c(_0x3792d6,_0x2055bb,_0x468184);let Be=class{constructor(_0x2b36f1,_0x28ffe3,_0x1415d3){const _0x270e00=_0x1cc768;this[_0x270e00(0x310)]=_0x2b36f1,this[_0x270e00(0x1fa)]=_0x28ffe3,this[_0x270e00(0x309)]=_0x1415d3;}['transformIMECache'](_0x458215){const _0x3f7938=_0x1cc768;this[_0x3f7938(0x2d3)](_0x458215),this[_0x3f7938(0x3b7)](_0x458215);}[_0x1cc768(0x385)](_0x41db13){const _0x34ff6e=_0x1cc768,{unitID:_0x3f70e6}=_0x41db13,_0x4559c6=this[_0x34ff6e(0x309)][_0x34ff6e(0x4cd)](_0x3f70e6)[_0x34ff6e(0x4dc)](J[_0x34ff6e(0x5c8)]),{redoCache:_0x35373c}=_0x4559c6[_0x34ff6e(0x4ee)]();if(_0x35373c[_0x34ff6e(0x31e)]===0x0)return _0x41db13;let _0x1851d7=a[_0x34ff6e(0x369)][_0x34ff6e(0x465)](_0x41db13[_0x34ff6e(0x41d)][0x0]);for(let _0x40677a=0x0;_0x40677a<_0x35373c[_0x34ff6e(0x31e)];_0x40677a++){const _0x3f960={'id':_0x34ff6e(0x307),'params':{..._0x35373c[_0x40677a]}},_0x587be5=this[_0x34ff6e(0x1fa)]['transformMutation'](_0x1851d7,_0x3f960,!0x1);if(p[_0x34ff6e(0x4b2)](_0x587be5))throw _0x587be5[_0x34ff6e(0x1c4)];_0x1851d7=_0x587be5[_0x34ff6e(0x13a)];}return{...a[_0x34ff6e(0x369)][_0x34ff6e(0x465)](_0x41db13),'mutations':[_0x1851d7]};}[_0x1cc768(0x2d3)](_0xc2740c){const _0x100e2b=_0x1cc768,{unitID:_0x4622e9}=_0xc2740c,_0x1875af=this['_renderManagerService'][_0x100e2b(0x4cd)](_0x4622e9)['with'](J['DocIMEInputManagerService']),{undoCache:_0x2f58d1,redoCache:_0xb0f56f}=_0x1875af[_0x100e2b(0x4ee)]();if(_0x2f58d1[_0x100e2b(0x31e)]===0x0||_0xb0f56f['length']===0x0)return;const _0x4dd65d=[],_0x1244a2=[];let _0x2c8646=a[_0x100e2b(0x369)][_0x100e2b(0x465)](_0xc2740c[_0x100e2b(0x41d)][0x0]),_0x4cc7b5=a[_0x100e2b(0x369)][_0x100e2b(0x465)](_0xc2740c[_0x100e2b(0x41d)][0x0]);for(let _0xf9446e=_0x2f58d1[_0x100e2b(0x31e)]-0x1;_0xf9446e>=0x0;_0xf9446e--){const _0x1a224c={'id':'doc.mutation.rich-text-editing','params':{..._0x2f58d1[_0xf9446e]}},_0xcf31b={'id':_0x100e2b(0x307),'params':{..._0xb0f56f[_0xf9446e]}},_0x4bbc55=this[_0x100e2b(0x1fa)]['transformMutation'](_0x2c8646,_0x1a224c,!0x1),_0x83aa0=this[_0x100e2b(0x1fa)]['transformMutation'](_0x4cc7b5,_0xcf31b,!0x1);if(p[_0x100e2b(0x4b2)](_0x4bbc55))throw _0x4bbc55[_0x100e2b(0x1c4)];if(p['isTransformMutationFailure'](_0x83aa0))throw _0x83aa0['error'];_0x4dd65d[_0x100e2b(0x493)](_0x4bbc55[_0x100e2b(0x247)][_0x100e2b(0x530)]),_0x1244a2[_0x100e2b(0x493)](_0x83aa0[_0x100e2b(0x247)]['params']),_0x2c8646=_0x4bbc55['m1Prime'],_0x4cc7b5=_0x83aa0[_0x100e2b(0x13a)];}_0x1875af[_0x100e2b(0x10d)]({'undoCache':_0x4dd65d,'redoCache':_0x1244a2});}[_0x1cc768(0x3b7)](_0x2788ef){const _0x13c195=_0x1cc768,{unitID:_0x312e6d}=_0x2788ef,_0x438482=this[_0x13c195(0x309)]['getRenderById'](_0x312e6d)[_0x13c195(0x4dc)](J[_0x13c195(0x5c8)]),_0x267763=_0x438482['getActiveRange']();if(_0x267763==null)return;const _0x5a6971=[{'id':_0x13c195(0x307),'params':{'unitId':_0x2788ef[_0x13c195(0x4ed)],'actions':null,'textRanges':[_0x267763]}}],_0x4dbae8=this[_0x13c195(0x1fa)]['transformMutationsWithChangeset'](_0x2788ef,_0x5a6971);if(!p['isTransformMutationsWithChangesetSuccess'](_0x4dbae8))throw _0x4dbae8[_0x13c195(0x1c4)];const _0x5894bf=_0x4dbae8[_0x13c195(0x247)][0x0][_0x13c195(0x530)][_0x13c195(0x4e6)];Array['isArray'](_0x5894bf)&&_0x5894bf[_0x13c195(0x31e)]&&_0x438482[_0x13c195(0x162)](_0x5894bf[0x0]);}};Be=bn([Qe(0x0,a['Inject'](a['Injector'])),Qe(0x1,p['ITransformService']),Qe(0x2,K[_0x1cc768(0x2da)])],Be);var Tn=Object[_0x1cc768(0x244)],Rn=Object['getOwnPropertyDescriptor'],yn=(_0x5a7ed7,_0x3f4e85,_0x55540b,_0x5aa9ad)=>{const _0x415146=_0x1cc768;for(var _0x2c5e99=_0x5aa9ad>0x1?void 0x0:_0x5aa9ad?Rn(_0x3f4e85,_0x55540b):_0x3f4e85,_0x1b12b7=_0x5a7ed7[_0x415146(0x31e)]-0x1,_0x38b99b;_0x1b12b7>=0x0;_0x1b12b7--)(_0x38b99b=_0x5a7ed7[_0x1b12b7])&&(_0x2c5e99=(_0x5aa9ad?_0x38b99b(_0x3f4e85,_0x55540b,_0x2c5e99):_0x38b99b(_0x2c5e99))||_0x2c5e99);return _0x5aa9ad&&_0x2c5e99&&Tn(_0x3f4e85,_0x55540b,_0x2c5e99),_0x2c5e99;},we=(_0x3bfd22,_0x2897df)=>(_0x43641d,_0x18bbf0)=>_0x2897df(_0x43641d,_0x18bbf0,_0x3bfd22);exports[_0x1cc768(0x305)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x16dc7c,_0x12df41,_0x4fbd5a,_0x5733ab,_0x455db0){const _0x1049d1=_0x1cc768;super(),I(this,_0x1049d1(0x50b),new Map()),I(this,_0x1049d1(0x246),new Map()),I(this,_0x1049d1(0x2f2),!0x1),(this[_0x1049d1(0x2c0)]=_0x16dc7c,this[_0x1049d1(0x160)]=_0x12df41,this[_0x1049d1(0x1e7)]=_0x4fbd5a,this['_localeService']=_0x5733ab,this[_0x1049d1(0x47a)]=_0x455db0,this[_0x1049d1(0x541)]());}[_0x1cc768(0x3c4)](){const _0x103f91=_0x1cc768;this[_0x103f91(0x2f2)]=!0x0;}['enableLocalCache'](){const _0x494555=_0x1cc768;this[_0x494555(0x2f2)]=!0x1;}[_0x1cc768(0x14c)](){const _0x33029e=_0x1cc768;this[_0x33029e(0x45b)]()[_0x33029e(0x191)](()=>super[_0x33029e(0x14c)]());}async[_0x1cc768(0x5ca)](_0x1586ce){const _0x13ee58=_0x1cc768;return this[_0x13ee58(0x2f2)]?null:this[_0x13ee58(0x160)][_0x13ee58(0x253)](Lt(_0x1586ce));}async[_0x1cc768(0x54c)](_0x22387e,_0xeeac6a){const _0x888dad=_0x1cc768;return!!this[_0x888dad(0x160)]['setItem'](_0x22387e,_0xeeac6a);}[_0x1cc768(0x198)](_0x3ac5a6,_0x1e53f1,_0x5b9a19,_0x1bddb0){const _0x428e97=_0x1cc768,_0x3c4094=this[_0x428e97(0x47a)][_0x428e97(0x2de)](_0x3ac5a6);this[_0x428e97(0x50b)][_0x428e97(0x31f)](_0x3ac5a6,{'unitID':_0x3ac5a6,'type':_0x1e53f1,'awaitingChangeset':_0x5b9a19,'mutations':_0x1bddb0,'rev':_0x3c4094}),this[_0x428e97(0x246)][_0x428e97(0x50a)](_0x3ac5a6)||this[_0x428e97(0x273)](_0x3ac5a6);}[_0x1cc768(0x273)](_0xbb64e8){const _0x3c7eef=_0x1cc768,_0x2d6448=this['_getSaveTimeout']();_0x2d6448===0x0?this[_0x3c7eef(0x278)](_0xbb64e8):this[_0x3c7eef(0x246)][_0x3c7eef(0x31f)](_0xbb64e8,setTimeout(()=>this[_0x3c7eef(0x278)](_0xbb64e8),_0x2d6448));}[_0x1cc768(0x292)](){const _0x460846=_0x1cc768;var _0x29f793;return(_0x29f793=this[_0x460846(0x2c0)]['getConfig'](ci))!=null?_0x29f793:zi;}[_0x1cc768(0x278)](_0x8395e6){const _0x4ff6de=_0x1cc768,_0xe24bc5=this[_0x4ff6de(0x246)][_0x4ff6de(0x4f7)](_0x8395e6);return _0xe24bc5!==void 0x0&&window[_0x4ff6de(0x4e7)](_0xe24bc5),this['_localStorageService'][_0x4ff6de(0x3d0)](Lt(_0x8395e6),this[_0x4ff6de(0x50b)]['get'](_0x8395e6))['then'](()=>this[_0x4ff6de(0x246)][_0x4ff6de(0x24c)](_0x8395e6));}async[_0x1cc768(0x45b)](){const _0x29e335=_0x1cc768,_0x3d6593=[];this['_saveTaskMap'][_0x29e335(0x380)]((_0xeef8b1,_0x4ce0d0)=>{const _0x203650=_0x29e335;window[_0x203650(0x4e7)](_0xeef8b1),_0x3d6593[_0x203650(0x102)](this[_0x203650(0x278)](_0x4ce0d0)[_0x203650(0x191)](()=>{const _0x2acc14=_0x203650;this[_0x2acc14(0x246)][_0x2acc14(0x24c)](_0x4ce0d0);}));}),await Promise[_0x29e335(0x520)](_0x3d6593);}[_0x1cc768(0x541)](){const _0x2c1578=_0x1cc768;this[_0x2c1578(0x27e)](this[_0x2c1578(0x1e7)]['registerBeforeClose'](()=>{const _0x5a255c=_0x2c1578;if(this['_saveTaskMap'][_0x5a255c(0x4df)])return this[_0x5a255c(0x133)]['t'](_0x5a255c(0x334));}));}},exports['LocalCacheService']=yn([we(0x0,a[_0x1cc768(0x56f)]),we(0x1,a[_0x1cc768(0x587)]),we(0x2,te[_0x1cc768(0x42d)]),we(0x3,a['Inject'](a[_0x1cc768(0x33e)])),we(0x4,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)]))],exports[_0x1cc768(0x305)]);function Lt(_0x1c5559){const _0x120097=_0x1cc768;return _0x120097(0x461)+_0x1c5559;}var On=Object[_0x1cc768(0x244)],Dn=Object[_0x1cc768(0x263)],Pn=(_0x1e7a02,_0x5cb768,_0x4aead3,_0x186c46)=>{const _0x2709f9=_0x1cc768;for(var _0x2e7b39=_0x186c46>0x1?void 0x0:_0x186c46?Dn(_0x5cb768,_0x4aead3):_0x5cb768,_0x1f87b9=_0x1e7a02[_0x2709f9(0x31e)]-0x1,_0x13682e;_0x1f87b9>=0x0;_0x1f87b9--)(_0x13682e=_0x1e7a02[_0x1f87b9])&&(_0x2e7b39=(_0x186c46?_0x13682e(_0x5cb768,_0x4aead3,_0x2e7b39):_0x13682e(_0x2e7b39))||_0x2e7b39);return _0x186c46&&_0x2e7b39&&On(_0x5cb768,_0x4aead3,_0x2e7b39),_0x2e7b39;},et=(_0x1d3d6c,_0x4fe10c)=>(_0xcc7ceb,_0xbb5443)=>_0x4fe10c(_0xcc7ceb,_0xbb5443,_0x1d3d6c);function wn(_0x168be2){const _0x5e1ffc=_0x1cc768,{unitID:_0x22ee91,mutations:_0x271d27}=_0x168be2;return{'unitId':_0x22ee91,'subUnitId':_0x271d27[0x0][_0x5e1ffc(0x530)][_0x5e1ffc(0x291)]};}let ke=class{constructor(_0x3f6e61,_0xa37e43,_0x102e5b){const _0x31b48f=_0x1cc768;this[_0x31b48f(0x310)]=_0x3f6e61,this[_0x31b48f(0x1fa)]=_0xa37e43,this['_instanceService']=_0x102e5b;}[_0x1cc768(0x1c6)](_0x493b75){const _0x1fa032=_0x1cc768;var _0xb5afdd,_0x4aa63e,_0x51e2c7,_0x265778;const _0x4d9e90=this['_injector'][_0x1fa032(0x4f7)](k[_0x1fa032(0x2f6)]),{unitId:_0x22738b,subUnitId:_0x2cd733}=wn(_0x493b75),_0x524095=_0x4d9e90[_0x1fa032(0x43e)](_0x22738b)[_0x1fa032(0x1e1)](),_0x4b5d38=(_0x4aa63e=(_0xb5afdd=this[_0x1fa032(0x184)][_0x1fa032(0x1bc)](_0x22738b))==null?void 0x0:_0xb5afdd['getActiveSheet']())==null?void 0x0:_0x4aa63e['getSheetId']();if(_0x524095[_0x1fa032(0x31e)]===0x0||!_0x22738b||!_0x2cd733)return;const _0x5ddde8=[{'id':k[_0x1fa032(0x4c3)]['id'],'params':{'unitId':_0x22738b,'subUnitId':_0x4b5d38,'selections':a[_0x1fa032(0x369)]['deepClone'](_0x524095)}}],_0x682daf=this[_0x1fa032(0x1fa)][_0x1fa032(0x400)](_0x493b75,_0x5ddde8);if(!p['isTransformMutationsWithChangesetSuccess'](_0x682daf))throw _0x682daf[_0x1fa032(0x1c4)];const _0x33d842=(_0x265778=(_0x51e2c7=_0x682daf['m2Prime'][0x0])==null?void 0x0:_0x51e2c7[_0x1fa032(0x530)])==null?void 0x0:_0x265778[_0x1fa032(0x49a)];if(Array[_0x1fa032(0x194)](_0x33d842)&&_0x33d842['length']){if(_0x33d842['length']===_0x5ddde8[0x0][_0x1fa032(0x530)][_0x1fa032(0x49a)]['length']&&_0x33d842[_0x1fa032(0x578)]((_0xde0767,_0x546f56)=>a[_0x1fa032(0x395)][_0x1fa032(0x24f)](_0xde0767[_0x1fa032(0x22c)],_0x5ddde8[0x0]['params'][_0x1fa032(0x49a)][_0x546f56]['range'])))return;this[_0x1fa032(0x310)]['get'](a[_0x1fa032(0x11f)])[_0x1fa032(0x3f8)](k['SetSelectionsOperation']['id'],{'unitId':_0x22738b,'subUnitId':_0x4b5d38,'selections':_0x33d842});}}};ke=Pn([et(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),et(0x1,p[_0x1cc768(0x48d)]),et(0x2,a[_0x1cc768(0x3bd)])],ke);const ze=a[_0x1cc768(0x415)]('univer-pro.collaboration-client.single-active-unit-service');var vi=(_0x17bbd6=>(_0x17bbd6[_0x17bbd6[_0x1cc768(0x360)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x17bbd6[_0x17bbd6[_0x1cc768(0x506)]=0x1]=_0x1cc768(0x506),_0x17bbd6))(vi||{});const xt=0x7530,jt='ACTIVE_UNIT_EVENT_CHANNEL';class Un extends a[_0x1cc768(0x1c0)]{constructor(){const _0x52d4ed=_0x1cc768;super(),I(this,_0x52d4ed(0x414),a[_0x52d4ed(0x369)]['generateRandomId']()),I(this,_0x52d4ed(0x19e),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x52d4ed(0x328),null),I(this,_0x52d4ed(0x113),new Map()),I(this,_0x52d4ed(0x155),new Map()),this[_0x52d4ed(0x143)]();}[_0x1cc768(0x14c)](){const _0x308264=_0x1cc768;super[_0x308264(0x14c)](),this[_0x308264(0x113)][_0x308264(0x380)]((_0x266610,_0x2c98ea)=>this[_0x308264(0x432)](_0x2c98ea)),this[_0x308264(0x328)]&&window[_0x308264(0x3ac)](this['_heartbeatTimer']);}[_0x1cc768(0x49d)](_0x281e1b){const _0x1e7fb2=_0x1cc768;return this[_0x1e7fb2(0x1b2)](_0x281e1b)['pipe'](A[_0x1e7fb2(0x4b3)]());}[_0x1cc768(0x4c0)](_0x814e39){const _0x18da8f=_0x1cc768;this[_0x18da8f(0x19e)][_0x18da8f(0x4df)]===0x0&&this[_0x18da8f(0x2a8)](),this['_selfUnitIDs']['add'](_0x814e39),this[_0x18da8f(0x145)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x814e39],'isForwarded':!0x1});}[_0x1cc768(0x573)](_0x4f63dd){const _0x3ee48b=_0x1cc768;this[_0x3ee48b(0x19e)]['delete'](_0x4f63dd),this['_selfUnitIDs'][_0x3ee48b(0x4df)]===0x0&&this[_0x3ee48b(0x328)]&&window[_0x3ee48b(0x3ac)](this[_0x3ee48b(0x328)]);}['_init'](){const _0x4144a9=_0x1cc768;this[_0x4144a9(0x27e)](a[_0x4144a9(0x329)](A[_0x4144a9(0x5b2)](window,_0x4144a9(0x332))['subscribe'](_0x5827e8=>{const _0x1e8bff=_0x4144a9;if(_0x5827e8['key']!==jt||!_0x5827e8['newValue'])return;const _0x8e2401=JSON['parse'](_0x5827e8[_0x1e8bff(0x196)]);this[_0x1e8bff(0x29e)](_0x8e2401);}))),window['addEventListener']('unload',()=>this[_0x4144a9(0x145)]({'type':0x1,'memberID':this[_0x4144a9(0x414)],'unitIDs':Array[_0x4144a9(0x491)](this[_0x4144a9(0x19e)])}));}[_0x1cc768(0x29e)](_0x12b316){const _0x20469c=_0x1cc768;switch(_0x12b316[_0x20469c(0x398)]){case 0x0:this[_0x20469c(0x531)](_0x12b316);break;case 0x1:this[_0x20469c(0x290)](_0x12b316);break;case 0x2:this[_0x20469c(0x567)](_0x12b316);break;}}[_0x1cc768(0x531)](_0x11272e){const _0x19d0ce=_0x1cc768,{unitIDs:_0x4f6032,memberID:_0x1f81dd,isForwarded:_0x178712}=_0x11272e;_0x4f6032['forEach'](_0x2fdc85=>{const _0x1e0f2c=_0x3a60;if(!_0x178712&&this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x50a)](_0x2fdc85)&&this[_0x1e0f2c(0x1b2)](_0x2fdc85)[_0x1e0f2c(0x122)](0x1),!this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x50a)](_0x2fdc85)||!this['_unitOnClients'][_0x1e0f2c(0x4f7)](_0x2fdc85)[_0x1e0f2c(0x50a)](_0x1f81dd)){const _0x42e008=this[_0x1e0f2c(0x18d)][_0x1e0f2c(0x4f7)](_0x2fdc85)||new Set();_0x42e008[_0x1e0f2c(0x2dd)](_0x1f81dd),this[_0x1e0f2c(0x18d)]['set'](_0x2fdc85,_0x42e008),this[_0x1e0f2c(0x3bf)](_0x1f81dd);}}),_0x178712||this[_0x19d0ce(0x145)]({'type':0x0,'memberID':this[_0x19d0ce(0x414)],'unitIDs':[...this[_0x19d0ce(0x19e)]],'isForwarded':!0x0});}[_0x1cc768(0x3bf)](_0x163851){const _0x4455b6=_0x1cc768;this['_removeClearOtherTimer'](_0x163851);const _0x1d6cce=window[_0x4455b6(0x2e7)](()=>{const _0x52cec5=_0x4455b6;this[_0x52cec5(0x18d)][_0x52cec5(0x380)](_0x2e6fc5=>{const _0x4df9c6=_0x52cec5;_0x2e6fc5[_0x4df9c6(0x24c)](_0x163851);});},xt*0x2);this[_0x4455b6(0x113)][_0x4455b6(0x31f)](_0x163851,_0x1d6cce);}[_0x1cc768(0x432)](_0x2f52a9){const _0x3302b7=_0x1cc768;if(this['_clearOtherTimers'][_0x3302b7(0x50a)](_0x2f52a9)){const _0x3fec8b=this[_0x3302b7(0x113)][_0x3302b7(0x4f7)](_0x2f52a9);_0x3fec8b&&window['clearTimeout'](_0x3fec8b),this[_0x3302b7(0x113)][_0x3302b7(0x31f)](_0x2f52a9,null);}}[_0x1cc768(0x290)](_0x386189){const _0x529278=_0x1cc768,{memberID:_0x935178,unitIDs:_0x166c7b}=_0x386189;_0x166c7b[_0x529278(0x380)](_0x4fb356=>{const _0x559913=_0x529278;var _0x7be80a;const _0x237e89=this[_0x559913(0x18d)]['get'](_0x4fb356);_0x237e89&&(_0x237e89[_0x559913(0x24c)](_0x935178),(_0x7be80a=this['_ensureSubject'](_0x4fb356))==null||_0x7be80a[_0x559913(0x122)](_0x237e89[_0x559913(0x4df)]===0x0?0x0:0x1));}),this[_0x529278(0x432)](_0x935178);}[_0x1cc768(0x567)](_0x14b31e){const _0x8d49dc=_0x1cc768;this['_scheduleClearOtherTimer'](_0x14b31e[_0x8d49dc(0x336)]);}['_send'](_0x541876){const _0x4daa00=_0x1cc768;localStorage[_0x4daa00(0x3d0)](jt,JSON[_0x4daa00(0x236)](_0x541876));}[_0x1cc768(0x2a8)](){const _0x243822=_0x1cc768;this[_0x243822(0x328)]=window[_0x243822(0x3fb)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},xt);}['_ensureSubject'](_0x31a3b2){const _0x10768f=_0x1cc768;return this['_unitStatus']['has'](_0x31a3b2)||this[_0x10768f(0x155)][_0x10768f(0x31f)](_0x31a3b2,new A['BehaviorSubject'](0x0)),this[_0x10768f(0x155)][_0x10768f(0x4f7)](_0x31a3b2);}}var Mn=Object[_0x1cc768(0x244)],An=Object[_0x1cc768(0x263)],Nn=(_0x4372a9,_0x1838f0,_0x9f7c8d,_0x322e4d)=>{const _0x1c2546=_0x1cc768;for(var _0x449949=_0x322e4d>0x1?void 0x0:_0x322e4d?An(_0x1838f0,_0x9f7c8d):_0x1838f0,_0x52626a=_0x4372a9[_0x1c2546(0x31e)]-0x1,_0xfe5085;_0x52626a>=0x0;_0x52626a--)(_0xfe5085=_0x4372a9[_0x52626a])&&(_0x449949=(_0x322e4d?_0xfe5085(_0x1838f0,_0x9f7c8d,_0x449949):_0xfe5085(_0x449949))||_0x449949);return _0x322e4d&&_0x449949&&Mn(_0x1838f0,_0x9f7c8d,_0x449949),_0x449949;},tt=(_0x4472a4,_0x471d64)=>(_0x3e98d8,_0x5cf446)=>_0x471d64(_0x3e98d8,_0x5cf446,_0x4472a4);let We=class{constructor(_0x4cb054,_0x4d2135,_0x49a3e8){const _0x3ca6f7=_0x1cc768;this[_0x3ca6f7(0x310)]=_0x4cb054,this[_0x3ca6f7(0x1fa)]=_0x4d2135,this[_0x3ca6f7(0x293)]=_0x49a3e8;}['transformStateCache'](_0x3b746e){const _0x20bf99=_0x1cc768;this[_0x20bf99(0x20b)](_0x3b746e);}[_0x1cc768(0x385)](_0x308b5c){const _0x4fb782=_0x1cc768,{unitID:_0x289101}=_0x308b5c,{collaboration:_0x3ac5eb}=this[_0x4fb782(0x293)][_0x4fb782(0x56a)](_0x289101);if(_0x3ac5eb[_0x4fb782(0x31e)]===0x0)return _0x308b5c;let _0x5e688c=a[_0x4fb782(0x369)]['deepClone'](_0x308b5c[_0x4fb782(0x41d)][0x0]);for(let _0x3db230=0x0;_0x3db230<_0x3ac5eb['length'];_0x3db230++){const _0x5c2d5a={'id':_0x4fb782(0x307),'params':{'unitId':_0x3ac5eb[_0x3db230]['unitId'],..._0x3ac5eb[_0x3db230][_0x4fb782(0x3e5)]}},_0x1eaa63=this[_0x4fb782(0x1fa)]['transformMutation'](_0x5e688c,_0x5c2d5a,!0x1);if(p[_0x4fb782(0x4b2)](_0x1eaa63))throw _0x1eaa63[_0x4fb782(0x1c4)];_0x5e688c=_0x1eaa63[_0x4fb782(0x13a)];}return{...a['Tools'][_0x4fb782(0x465)](_0x308b5c),'mutations':[_0x5e688c]};}[_0x1cc768(0x20b)](_0x42a67c){const _0x4b7e8d=_0x1cc768,{unitID:_0x37eaae}=_0x42a67c,{history:_0x16f965,collaboration:_0x5805f3}=this[_0x4b7e8d(0x293)][_0x4b7e8d(0x56a)](_0x37eaae);if(_0x16f965[_0x4b7e8d(0x31e)]===0x0&&_0x5805f3[_0x4b7e8d(0x31e)]===0x0)return;const _0x466872=[],_0x4dae7c=[];let _0x36313e=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]),_0x3cbc6a=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]);for(let _0x35d804=_0x16f965[_0x4b7e8d(0x31e)]-0x1;_0x35d804>=0x0;_0x35d804--){const _0x327bd0={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x16f965[_0x35d804][_0x4b7e8d(0x2f1)],..._0x16f965[_0x35d804][_0x4b7e8d(0x4b6)]}},_0x1f442e={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x16f965[_0x35d804][_0x4b7e8d(0x2f1)],..._0x16f965[_0x35d804][_0x4b7e8d(0x3e5)]}},_0x20e99d=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x36313e,_0x327bd0,!0x1),_0x524a85=this['_transformService'][_0x4b7e8d(0x1e6)](_0x3cbc6a,_0x1f442e,!0x1);if(p[_0x4b7e8d(0x4b2)](_0x20e99d))throw _0x20e99d[_0x4b7e8d(0x1c4)];if(p['isTransformMutationFailure'](_0x524a85))throw _0x524a85[_0x4b7e8d(0x1c4)];_0x466872[_0x4b7e8d(0x493)]({..._0x16f965[_0x35d804],'undoState':_0x20e99d[_0x4b7e8d(0x247)]['params'],'redoState':_0x524a85[_0x4b7e8d(0x247)][_0x4b7e8d(0x530)]}),_0x36313e=_0x20e99d['m1Prime'],_0x3cbc6a=_0x524a85[_0x4b7e8d(0x13a)];}_0x36313e=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]),_0x3cbc6a=a[_0x4b7e8d(0x369)][_0x4b7e8d(0x465)](_0x42a67c[_0x4b7e8d(0x41d)][0x0]);for(let _0x383284=_0x5805f3[_0x4b7e8d(0x31e)]-0x1;_0x383284>=0x0;_0x383284--){const _0x25039d={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x5805f3[_0x383284][_0x4b7e8d(0x2f1)],..._0x5805f3[_0x383284][_0x4b7e8d(0x4b6)]}},_0x1401a={'id':_0x4b7e8d(0x307),'params':{'unitId':_0x5805f3[_0x383284][_0x4b7e8d(0x2f1)],..._0x5805f3[_0x383284][_0x4b7e8d(0x3e5)]}},_0x36adf7=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x36313e,_0x25039d,!0x1),_0xca45c1=this[_0x4b7e8d(0x1fa)][_0x4b7e8d(0x1e6)](_0x3cbc6a,_0x1401a,!0x1);if(p[_0x4b7e8d(0x4b2)](_0x36adf7))throw _0x36adf7[_0x4b7e8d(0x1c4)];if(p[_0x4b7e8d(0x4b2)](_0xca45c1))throw _0xca45c1[_0x4b7e8d(0x1c4)];_0x4dae7c[_0x4b7e8d(0x493)]({..._0x5805f3[_0x383284],'undoState':_0x36adf7[_0x4b7e8d(0x247)][_0x4b7e8d(0x530)],'redoState':_0xca45c1['m2Prime']['params']}),_0x36313e=_0x36adf7[_0x4b7e8d(0x13a)],_0x3cbc6a=_0xca45c1[_0x4b7e8d(0x13a)];}this['_docStateChangeManagerService']['setStateCache'](_0x37eaae,{'history':_0x466872,'collaboration':_0x4dae7c});}};We=Nn([tt(0x0,a['Inject'](a[_0x1cc768(0x4d2)])),tt(0x1,p['ITransformService']),tt(0x2,a[_0x1cc768(0x2ca)](J[_0x1cc768(0x17a)]))],We);function Si(_0x2a8c9c){const _0x27c26e=_0x1cc768;let _0x39b8f7='';for(const _0x22b726 of _0x2a8c9c){const {startOffset:_0x48436c,endOffset:_0x305c91,isActive:_0x41718d,rangeType:_0x15bc19,segmentId:_0x43543e,segmentPage:_0x471a98}=_0x22b726;_0x39b8f7[_0x27c26e(0x31e)]&&(_0x39b8f7+=','),_0x39b8f7+=_0x48436c+':'+_0x305c91+':'+(_0x41718d?'1':'0')+':'+_0x15bc19+':'+_0x43543e+':'+_0x471a98;}return _0x39b8f7;}function Ln(_0xeb19ae){const _0x5a4489=_0x1cc768,_0x5c8e7d=_0xeb19ae[_0x5a4489(0x375)](','),_0x348162=[];for(const _0x6bb38c of _0x5c8e7d){const [_0x44fb37,_0x46489c,_0x9b0263,_0x3c9dbb,_0xe3acbe,_0x3e6ba0]=_0x6bb38c[_0x5a4489(0x375)](':');_0x348162[_0x5a4489(0x102)]({'startOffset':Number(_0x44fb37),'endOffset':Number(_0x46489c),'collapsed':_0x44fb37===_0x46489c,'isActive':_0x9b0263==='1','rangeType':_0x3c9dbb===a[_0x5a4489(0x150)]['TEXT']?a[_0x5a4489(0x150)][_0x5a4489(0x38f)]:a[_0x5a4489(0x150)][_0x5a4489(0x5a9)],'segmentId':typeof _0xe3acbe=='string'?String(_0xe3acbe):'','segmentPage':Number(_0x3e6ba0!=null?_0x3e6ba0:-0x1)});}return _0x348162[_0x5a4489(0x2cc)](_0x5f29b6=>_0x5f29b6[_0x5a4489(0x55a)])||(_0x348162[0x0][_0x5a4489(0x55a)]=!0x0),_0x348162;}class yt extends a[_0x1cc768(0x35a)]{constructor(){const _0x406040=_0x1cc768;super(...arguments),I(this,_0x406040(0x367),new A[(_0x406040(0x118))](null)),I(this,_0x406040(0x564),this[_0x406040(0x367)][_0x406040(0x575)]());}['syncEditingCollabCursor'](_0x266e9e){const _0x5f5b39=_0x1cc768,{unitID:_0x349de5,memberID:_0x4a02bf,textRanges:_0x456bf7}=_0x266e9e,_0x28483c=Si(_0x456bf7);if(_0x28483c==='')return;const _0x294a92={'unitID':_0x349de5,'memberID':_0x4a02bf,'selection':_0x28483c};this[_0x5f5b39(0x367)][_0x5f5b39(0x122)](_0x294a92);}}var xn=Object['defineProperty'],jn=Object[_0x1cc768(0x263)],$n=(_0x7263d5,_0x31be3c,_0x40cbc6,_0x2d5bc0)=>{for(var _0x555c93=_0x2d5bc0>0x1?void 0x0:_0x2d5bc0?jn(_0x31be3c,_0x40cbc6):_0x31be3c,_0xe75a7e=_0x7263d5['length']-0x1,_0x401c47;_0xe75a7e>=0x0;_0xe75a7e--)(_0x401c47=_0x7263d5[_0xe75a7e])&&(_0x555c93=(_0x2d5bc0?_0x401c47(_0x31be3c,_0x40cbc6,_0x555c93):_0x401c47(_0x555c93))||_0x555c93);return _0x2d5bc0&&_0x555c93&&xn(_0x31be3c,_0x40cbc6,_0x555c93),_0x555c93;},$t=(_0x4ea7ba,_0x178061)=>(_0x2d62dd,_0x4d104e)=>_0x178061(_0x2d62dd,_0x4d104e,_0x4ea7ba);let Fe=class{constructor(_0x3fd533,_0x2bd28c){const _0x121524=_0x1cc768;this[_0x121524(0x310)]=_0x3fd533,this['_transformService']=_0x2bd28c;}[_0x1cc768(0x1c6)](_0x13aa25){const _0x54a503=_0x1cc768;var _0x385c02;const _0x58df10=this['_injector'][_0x54a503(0x4f7)](Ie['DocSelectionManagerService']),_0x37fe44=(_0x385c02=_0x58df10[_0x54a503(0x4d0)]())!=null?_0x385c02:[];if(_0x37fe44[_0x54a503(0x31e)]===0x0)return;const _0x5a826a=_0x13aa25[_0x54a503(0x4ed)],_0x5eed99=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a826a,'actions':null,'textRanges':_0x37fe44}}],_0x178475=this[_0x54a503(0x1fa)][_0x54a503(0x400)](_0x13aa25,_0x5eed99);if(!p[_0x54a503(0x482)](_0x178475))throw _0x178475[_0x54a503(0x1c4)];const _0xc3b510=_0x178475[_0x54a503(0x247)][0x0]['params'][_0x54a503(0x4e6)];Array[_0x54a503(0x194)](_0xc3b510)&&_0xc3b510[_0x54a503(0x31e)]&&_0x58df10[_0x54a503(0x3a1)](_0xc3b510,{'unitId':_0x5a826a,'subUnitId':_0x5a826a},!0x1);}};Fe=$n([$t(0x0,a[_0x1cc768(0x2ca)](a['Injector'])),$t(0x1,p[_0x1cc768(0x48d)])],Fe);const Hn=new Set([k[_0x1cc768(0x1d5)]['id']]);function Ht(_0x75d2ee,_0x5b8a30,_0x3e2b1c,_0x2e0fad,_0x1975f1){const _0x45e222=_0x1cc768;var _0x17bc35,_0x1cef01,_0xc7fc0a,_0x5ea267;const _0x2ae7d9=[];for(const _0x4e0dbd of _0x75d2ee)if(Hn[_0x45e222(0x50a)](_0x4e0dbd['id'])){if(_0x2ae7d9['length']>0x0)break;_0x2ae7d9[_0x45e222(0x102)](_0x4e0dbd);break;}else _0x2ae7d9[_0x45e222(0x102)](_0x4e0dbd);const _0x19088b=(_0x1cef01=(_0x17bc35=_0x1975f1['getCurrentUser']())==null?void 0x0:_0x17bc35[_0x45e222(0x140)])!=null?_0x1cef01:'unknown',_0x206ad4=(_0x5ea267=(_0xc7fc0a=_0x1975f1['getCurrentUser']())==null?void 0x0:_0xc7fc0a[_0x45e222(0x336)])!=null?_0x5ea267:_0x45e222(0x5cf);return{'changeset':{'unitID':_0x5b8a30,'type':p[_0x45e222(0x501)](_0x3e2b1c[_0x45e222(0x473)](_0x5b8a30)),'baseRev':_0x2e0fad['getCurrentRevOfUnit'](_0x5b8a30),'revision':0x0,'userID':_0x19088b,'memberID':_0x206ad4,'mutations':_0x2ae7d9},'pendingMutations':_0x75d2ee['slice'](_0x2ae7d9[_0x45e222(0x31e)])};}function Bn(_0x135f65,_0x564ae2,_0xeae072,_0x5b2a8f,_0xe29dce){const _0xbb1c9c=_0x1cc768;var _0x677a8e,_0x45856c,_0x550f3f,_0x26433e;const _0x1a968c=[_0x135f65[_0xbb1c9c(0x20e)]((_0x136da2,_0x57f5ab)=>{const _0x4a6a21=_0xbb1c9c;var _0x39155f;const {id:_0x1720b8}=_0x136da2,{id:_0x63a6cc,type:_0x97fd65}=_0x57f5ab,_0x185301=(_0x39155f=_0x136da2[_0x4a6a21(0x530)])!=null?_0x39155f:{'actions':null},_0x14c8eb=_0x57f5ab['params'];if(_0x1720b8&&_0x1720b8!==_0x63a6cc)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1720b8+_0x4a6a21(0x442)+_0x63a6cc+'.');return{..._0x136da2,'id':_0x63a6cc,'type':_0x97fd65,'params':{'unitId':_0x14c8eb[_0x4a6a21(0x2f1)],'textRanges':_0x14c8eb[_0x4a6a21(0x4e6)],'actions':a[_0x4a6a21(0x3d5)][_0x4a6a21(0x403)](_0x185301['actions'],_0x14c8eb['actions'])}};},{})],_0x219190=(_0x45856c=(_0x677a8e=_0xe29dce[_0xbb1c9c(0x1b0)]())==null?void 0x0:_0x677a8e[_0xbb1c9c(0x140)])!=null?_0x45856c:_0xbb1c9c(0x5cf),_0x9f8bb2=(_0x26433e=(_0x550f3f=_0xe29dce[_0xbb1c9c(0x1b0)]())==null?void 0x0:_0x550f3f[_0xbb1c9c(0x336)])!=null?_0x26433e:'unknown';return{'changeset':{'unitID':_0x564ae2,'type':p[_0xbb1c9c(0x501)](_0xeae072['getUnitType'](_0x564ae2)),'baseRev':_0x5b2a8f[_0xbb1c9c(0x2de)](_0x564ae2),'revision':0x0,'userID':_0x219190,'memberID':_0x9f8bb2,'mutations':_0x1a968c},'pendingMutations':[]};}function pi(_0xad7ea3,_0x17e464){const _0x31dbbd=_0x1cc768,_0x1ce2d0=new A[(_0x31dbbd(0x407))](0x1);return setTimeout(()=>_0x1ce2d0['next'](_0x17e464),_0xad7ea3),_0x1ce2d0['asObservable']()[_0x31dbbd(0x154)](A[_0x31dbbd(0x459)](0x1));}const kn={'id':k[_0x1cc768(0x206)]['id'],'type':a[_0x1cc768(0x302)][_0x1cc768(0x17c)],'params':{}};var Wn=Object[_0x1cc768(0x244)],Fn=Object['getOwnPropertyDescriptor'],Ee=(_0x1fd6d8,_0x59d41f,_0x4aaac4,_0x1a4a01)=>{const _0x5e9855=_0x1cc768;for(var _0x231f0e=_0x1a4a01>0x1?void 0x0:_0x1a4a01?Fn(_0x59d41f,_0x4aaac4):_0x59d41f,_0x13099d=_0x1fd6d8[_0x5e9855(0x31e)]-0x1,_0x210574;_0x13099d>=0x0;_0x13099d--)(_0x210574=_0x1fd6d8[_0x13099d])&&(_0x231f0e=(_0x1a4a01?_0x210574(_0x59d41f,_0x4aaac4,_0x231f0e):_0x210574(_0x231f0e))||_0x231f0e);return _0x1a4a01&&_0x231f0e&&Wn(_0x59d41f,_0x4aaac4,_0x231f0e),_0x231f0e;},N=(_0xac9bd4,_0x6b6704)=>(_0x3195bd,_0x88f789)=>_0x6b6704(_0x3195bd,_0x88f789,_0xac9bd4),q=(_0x69fee=>(_0x69fee[_0x1cc768(0x3ef)]='not_collab',_0x69fee['SYNCED']='synced',_0x69fee[_0x1cc768(0x3b9)]='pending',_0x69fee['AWAITING']=_0x1cc768(0x354),_0x69fee[_0x1cc768(0x33f)]=_0x1cc768(0x366),_0x69fee[_0x1cc768(0x29c)]=_0x1cc768(0x497),_0x69fee[_0x1cc768(0x357)]=_0x1cc768(0x1d4),_0x69fee[_0x1cc768(0x1b1)]=_0x1cc768(0x2a7),_0x69fee))(q||{});const mi=0xea60;class be{constructor(_0x43556c,_0x25312c,_0x52fc2d,_0x5498a2,_0x2b43b6,_0x44e0ed,_0x2672b9,_0x2501d1,_0x2e439){const _0x89b3e3=_0x1cc768;I(this,'_awaitingChangeset',null),I(this,_0x89b3e3(0x3db),[]),(this[_0x89b3e3(0x4ed)]=_0x43556c,this[_0x89b3e3(0x398)]=_0x25312c,this[_0x89b3e3(0x38a)]=_0x2b43b6,this[_0x89b3e3(0x134)]=_0x44e0ed,this[_0x89b3e3(0x5d6)]=_0x2672b9,this[_0x89b3e3(0x47a)]=_0x2501d1,this['_localCacheService']=_0x2e439,this[_0x89b3e3(0x182)]=_0x52fc2d,this[_0x89b3e3(0x3db)]=_0x5498a2);}[_0x1cc768(0x221)](_0x1902c4){const _0x50c428=_0x1cc768,_0x4288e8=this['_revisionService'][_0x50c428(0x2de)](this['unitID']);return _0x1902c4[_0x50c428(0x528)]>_0x4288e8+0x1?(this[_0x50c428(0x38a)][_0x50c428(0x4b4)]({'from':_0x4288e8,'to':_0x1902c4[_0x50c428(0x528)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5b9805){const _0x40ffa7=_0x1cc768;this[_0x40ffa7(0x5d6)][_0x40ffa7(0x597)](this[_0x40ffa7(0x4ed)],_0x5b9805);}['_transformSelections'](_0x22edc9){const _0x491c3b=_0x1cc768;var _0xfc469,_0x158fa4;(_0x158fa4=(_0xfc469=this[_0x491c3b(0x38a)])['onTransformSelections'])==null||_0x158fa4['call'](_0xfc469,_0x22edc9);}[_0x1cc768(0x49b)](_0x1fd9c8){const _0xd5970e=_0x1cc768;var _0x551a59,_0x10d2a0;return(_0x10d2a0=(_0x551a59=this[_0xd5970e(0x38a)])[_0xd5970e(0x174)])==null?void 0x0:_0x10d2a0[_0xd5970e(0x3a6)](_0x551a59,_0x1fd9c8);}['_transformStateCache'](_0x27dba0){const _0x37a502=_0x1cc768;var _0x40c84e,_0x148b14;return(_0x148b14=(_0x40c84e=this[_0x37a502(0x38a)])[_0x37a502(0x487)])==null?void 0x0:_0x148b14['call'](_0x40c84e,_0x27dba0);}['_transformRemoteChangesetByIMECache'](_0x2df90a){const _0x478dfd=_0x1cc768;var _0x45ca9d,_0x13bcfe,_0x5b4a75;return(_0x5b4a75=(_0x13bcfe=(_0x45ca9d=this[_0x478dfd(0x38a)])[_0x478dfd(0x4c7)])==null?void 0x0:_0x13bcfe[_0x478dfd(0x3a6)](_0x45ca9d,_0x2df90a))!=null?_0x5b4a75:_0x2df90a;}['_transformRemoteChangesetByStateCache'](_0x5d39b4){const _0x522603=_0x1cc768;var _0x151e1f,_0x2afea7,_0x4ce750;return(_0x4ce750=(_0x2afea7=(_0x151e1f=this[_0x522603(0x38a)])[_0x522603(0x1e3)])==null?void 0x0:_0x2afea7['call'](_0x151e1f,_0x5d39b4))!=null?_0x4ce750:_0x5d39b4;}['_syncEditingCollabCursor'](_0x4f2447){const _0x3ed15a=_0x1cc768;var _0xdeea9a,_0x54d8f0;if(this[_0x3ed15a(0x398)]===ne[_0x3ed15a(0x408)]){const {unitID:_0x2abaef,mutations:_0x19a182,memberID:_0x454460}=_0x4f2447,_0x4a631f=_0x19a182[0x0]['params']['textRanges'];Array[_0x3ed15a(0x194)](_0x4a631f)&&_0x4a631f[_0x3ed15a(0x31e)]>0x0&&((_0x54d8f0=(_0xdeea9a=this[_0x3ed15a(0x38a)])[_0x3ed15a(0x529)])==null||_0x54d8f0['call'](_0xdeea9a,{'unitID':_0x2abaef,'memberID':_0x454460,'textRanges':_0x4a631f}));}}['_updateLocalCache'](){const _0x1fa35c=_0x1cc768;this[_0x1fa35c(0x3f3)][_0x1fa35c(0x198)](this[_0x1fa35c(0x4ed)],this['type'],this[_0x1fa35c(0x182)],this[_0x1fa35c(0x3db)]);}['_getCurrentRevision'](){const _0x3ccc0f=_0x1cc768;return this['_revisionService'][_0x3ccc0f(0x2de)](this[_0x3ccc0f(0x4ed)]);}[_0x1cc768(0x224)](){const _0x316753=_0x1cc768;this['_revisionService'][_0x316753(0x21b)](this[_0x316753(0x4ed)]);}[_0x1cc768(0x525)](_0x40b3e7){const _0x22e073=_0x1cc768;var _0x5ebfdc;let _0x33e3d7=this[_0x22e073(0x3cc)](_0x40b3e7);_0x33e3d7=this[_0x22e073(0x2cd)](_0x33e3d7);const _0x504ab6=a[_0x22e073(0x5ae)](_0x33e3d7['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x504ab6[_0x22e073(0x39b)])throw _0x504ab6[_0x22e073(0x1c4)]instanceof Error?_0x504ab6[_0x22e073(0x1c4)]:new Error((_0x5ebfdc=_0x504ab6[_0x22e073(0x1c4)])!=null?_0x5ebfdc:_0x22e073(0x377));this[_0x22e073(0x49b)](_0x33e3d7),this['_transformStateCache'](_0x33e3d7),this[_0x22e073(0x595)](_0x40b3e7),this[_0x22e073(0x318)](_0x33e3d7),this[_0x22e073(0x312)](_0x33e3d7),this[_0x22e073(0x224)]();}}let Oe=class extends be{constructor(_0x5bad5b,_0x5f3ec2,_0x15b2dd,_0x24b05d,_0x9d194b,_0x27da7d,_0x45281a,_0x27971c,_0x3f77fb,_0x8c2dc5){const _0x23d9b0=_0x1cc768;super(_0x5bad5b,_0x5f3ec2,null,[],_0x15b2dd,_0x27971c,_0x45281a,_0x24b05d,_0x9d194b),I(this,'status',_0x23d9b0(0x39d)),(this[_0x23d9b0(0x310)]=_0x27da7d,this[_0x23d9b0(0x10c)]=_0x3f77fb,this[_0x23d9b0(0x1fa)]=_0x8c2dc5);}[_0x1cc768(0x566)](_0xe552ca){const _0x240c5a=_0x1cc768,_0x251277=this[_0x240c5a(0x310)][_0x240c5a(0x30a)](ce,this['unitID'],this[_0x240c5a(0x398)],[_0xe552ca],this[_0x240c5a(0x38a)]);return _0x251277[_0x240c5a(0x451)](),_0x251277[_0x240c5a(0x4f0)](),_0x251277;}[_0x1cc768(0x1c5)](_0x3da9e7){const _0x2a7b20=_0x1cc768;if(this[_0x2a7b20(0x221)](_0x3da9e7))return this[_0x2a7b20(0x310)]['createInstance'](re,this[_0x2a7b20(0x4ed)],this[_0x2a7b20(0x398)],null,[],null,[_0x3da9e7],this[_0x2a7b20(0x38a)]);try{const _0x1eb4a9=this[_0x2a7b20(0x1fa)][_0x2a7b20(0x400)](_0x3da9e7,[kn]);if(p[_0x2a7b20(0x482)](_0x1eb4a9)){const {c1Prime:_0xdd94d8}=_0x1eb4a9;return this['_executeRemoteChangeset'](_0xdd94d8),this;}throw _0x1eb4a9['error'];}catch(_0x1f9a2f){return this['_logService'][_0x2a7b20(0x1c4)](_0x1f9a2f),this[_0x2a7b20(0x28d)](!0x1);}}[_0x1cc768(0x28d)](_0x31d331){const _0x3531c6=_0x1cc768;return this['_injector'][_0x3531c6(0x30a)](ve,this[_0x3531c6(0x4ed)],this[_0x3531c6(0x398)],null,[],this[_0x3531c6(0x38a)],_0x31d331);}[_0x1cc768(0x4a2)](){const _0x482afe=_0x1cc768;throw new Error(_0x482afe(0x304));}[_0x1cc768(0x55e)](){const _0x4a2e70=_0x1cc768;throw new Error(_0x4a2e70(0x12d));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x83cce2=_0x1cc768;return this[_0x83cce2(0x310)][_0x83cce2(0x30a)](Se,this[_0x83cce2(0x4ed)],this[_0x83cce2(0x398)],null,[],this[_0x83cce2(0x38a)]);}['toggleOnline'](){return this;}['resend'](){const _0x2733e8=_0x1cc768;throw new Error(_0x2733e8(0x2c5));}['fetchMiss'](){const _0xc9d162=_0x1cc768,_0x535e26=this['_revisionService'][_0xc9d162(0x2de)](this[_0xc9d162(0x4ed)]);return this['_handler']['onMissingChangesets']({'from':_0x535e26,'to':0x0}),this[_0xc9d162(0x310)][_0xc9d162(0x30a)](re,this[_0xc9d162(0x4ed)],this[_0xc9d162(0x398)],null,[],null,[],this['_handler']);}};Oe=Ee([N(0x3,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x4,a['Inject'](exports['LocalCacheService'])),N(0x5,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x6,a[_0x1cc768(0x542)]),N(0x7,a[_0x1cc768(0x11f)]),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,p[_0x1cc768(0x48d)])],Oe);let ce=class extends be{constructor(_0x2a0d34,_0x4e4cb0,_0x197a58,_0x5e2462,_0x5a8fd7,_0x44ba14,_0x1d3fda,_0x31e179,_0x189efc,_0x35480e,_0x13ec05,_0x291dd5,_0x1e0894,_0x5c6468){const _0x555221=_0x1cc768;super(_0x2a0d34,_0x4e4cb0,null,_0x197a58,_0x5e2462,_0x35480e,_0x5c6468,_0x44ba14,_0x1d3fda),I(this,'status',_0x555221(0x340)),I(this,'_scheduleTimestamp',null),I(this,_0x555221(0x25e),null),(this[_0x555221(0x310)]=_0x5a8fd7,this[_0x555221(0x222)]=_0x31e179,this[_0x555221(0x10c)]=_0x189efc,this[_0x555221(0x2c0)]=_0x13ec05,this[_0x555221(0x1fa)]=_0x291dd5,this['_univerInstanceService']=_0x1e0894);}[_0x1cc768(0x566)](_0x395bd2){const _0x52ddac=_0x1cc768;return this[_0x52ddac(0x3db)][_0x52ddac(0x102)](_0x395bd2),this['_updateLocalCache'](),this;}[_0x1cc768(0x1c5)](_0x13c577){const _0x2a7439=_0x1cc768;if(this[_0x2a7439(0x221)](_0x13c577))return this[_0x2a7439(0x1ff)](),this[_0x2a7439(0x310)][_0x2a7439(0x30a)](re,this['unitID'],this[_0x2a7439(0x398)],null,this[_0x2a7439(0x3db)],null,[_0x13c577],this[_0x2a7439(0x38a)]);try{const _0x2c4658=this[_0x2a7439(0x1fa)]['transformMutationsWithChangeset'](_0x13c577,this[_0x2a7439(0x3db)]);if(p[_0x2a7439(0x482)](_0x2c4658)){const {c1Prime:_0x3563b5,m2Prime:_0x30ee0d}=_0x2c4658;this[_0x2a7439(0x525)](_0x3563b5);const _0x311b0f=this[_0x2a7439(0x310)][_0x2a7439(0x30a)](ce,this[_0x2a7439(0x4ed)],this[_0x2a7439(0x398)],_0x30ee0d,this[_0x2a7439(0x38a)]);return this[_0x2a7439(0x1ff)](),_0x311b0f['_schedule'](this[_0x2a7439(0x1c7)]?Math[_0x2a7439(0x1a8)](0x0,new Date()[_0x2a7439(0x12b)]()-this[_0x2a7439(0x1c7)]):this[_0x2a7439(0x494)]()),_0x311b0f;}throw _0x2c4658[_0x2a7439(0x1c4)];}catch(_0x53d65b){return this['_logService'][_0x2a7439(0x1c4)](_0x53d65b),this['_onConflict'](!0x1);}}[_0x1cc768(0x4a2)](){const _0x34282e=_0x1cc768;throw new Error(_0x34282e(0x3e8));}[_0x1cc768(0x55e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){const _0x27a1dd=_0x1cc768;return this[_0x27a1dd(0x1ff)](),this[_0x27a1dd(0x310)][_0x27a1dd(0x30a)](Se,this[_0x27a1dd(0x4ed)],this[_0x27a1dd(0x398)],null,this[_0x27a1dd(0x3db)],this[_0x27a1dd(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x451)](_0x1ea019){const _0x271a35=_0x1cc768,_0x132558=_0x1ea019!=null?_0x1ea019:this[_0x271a35(0x494)]();this['_scheduleTimestamp']=new Date()[_0x271a35(0x12b)](),this[_0x271a35(0x25e)]=window[_0x271a35(0x2e7)](()=>{const _0x4f5579=_0x271a35;this[_0x4f5579(0x1ff)]();let _0x4f0f73=null;switch(this[_0x4f5579(0x398)]){case ne['UNIVER_SHEET']:{_0x4f0f73=Ht(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this[_0x4f5579(0x114)],this[_0x4f5579(0x47a)],this[_0x4f5579(0x222)]);break;}case ne['UNIVER_DOC']:{this['_pendingMutations'][_0x4f5579(0x578)](_0x2b0e95=>_0x2b0e95['id']===Ie[_0x4f5579(0x2bb)]['id'])?_0x4f0f73=Bn(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this['_univerInstanceService'],this['_revisionService'],this[_0x4f5579(0x222)]):_0x4f0f73=Ht(this[_0x4f5579(0x3db)],this[_0x4f5579(0x4ed)],this[_0x4f5579(0x114)],this['_revisionService'],this[_0x4f5579(0x222)]);break;}default:throw new Error(_0x4f5579(0x239)+this[_0x4f5579(0x398)]+'\x20in\x20_schedule.');}const {changeset:_0x466352,pendingMutations:_0x1adc35}=_0x4f0f73;this[_0x4f5579(0x38a)][_0x4f5579(0x12f)](_0x466352);const _0x5d7185=_0x1adc35[_0x4f5579(0x31e)]?this[_0x4f5579(0x310)][_0x4f5579(0x30a)](le,this[_0x4f5579(0x4ed)],this[_0x4f5579(0x398)],_0x466352,_0x1adc35,this[_0x4f5579(0x38a)],void 0x0):this[_0x4f5579(0x310)]['createInstance'](fe,this[_0x4f5579(0x4ed)],this[_0x4f5579(0x398)],_0x466352,this['_handler']);_0x5d7185['_updateLocalCache'](),this[_0x4f5579(0x38a)][_0x4f5579(0x46b)](this,_0x5d7185);},_0x132558);}[_0x1cc768(0x494)](){const _0x3b21d3=_0x1cc768;var _0x2b4371;const _0x2317d0=this['_configService'][_0x3b21d3(0x555)](Q);return(_0x2b4371=_0x2317d0==null?void 0x0:_0x2317d0[_0x3b21d3(0x2e6)])!=null?_0x2b4371:Fi;}[_0x1cc768(0x271)](){const _0x5816e0=_0x1cc768;throw new Error(_0x5816e0(0x179));}[_0x1cc768(0x1ff)](){const _0x32c438=_0x1cc768;this[_0x32c438(0x25e)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1cc768(0x28d)](_0x5065cb){const _0x54c9f6=_0x1cc768;return this[_0x54c9f6(0x1ff)](),this[_0x54c9f6(0x310)][_0x54c9f6(0x30a)](ve,this['unitID'],this[_0x54c9f6(0x398)],null,this[_0x54c9f6(0x3db)],this[_0x54c9f6(0x38a)],_0x5065cb);}};ce=Ee([N(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x5,a['Inject'](p[_0x1cc768(0x3e1)])),N(0x6,a['Inject'](exports[_0x1cc768(0x305)])),N(0x7,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x1a6)])),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,a[_0x1cc768(0x11f)]),N(0xa,a['IConfigService']),N(0xb,p[_0x1cc768(0x48d)]),N(0xc,a[_0x1cc768(0x3bd)]),N(0xd,a['IUndoRedoService'])],ce);let fe=class extends be{constructor(_0x3d1b9d,_0x4d8294,_0x5e5c43,_0x2a2d00,_0x497b4f,_0x58dcf9,_0x53b282,_0x4d711c,_0x1ece80,_0x101e9a,_0x4fd5a8){const _0x2ef539=_0x1cc768;super(_0x3d1b9d,_0x4d8294,_0x5e5c43,[],_0x2a2d00,_0x4d711c,_0x4fd5a8,_0x58dcf9,_0x53b282),I(this,_0x2ef539(0x2c7),_0x2ef539(0x354)),I(this,'_resendTimeout',0x0),I(this,_0x2ef539(0x5c4)),I(this,_0x2ef539(0x3a5)),(this[_0x2ef539(0x310)]=_0x497b4f,this[_0x2ef539(0x10c)]=_0x1ece80,this[_0x2ef539(0x1fa)]=_0x101e9a);}[_0x1cc768(0x566)](_0x172429){const _0x429a0b=_0x1cc768;this[_0x429a0b(0x1ff)]();const _0xf25899=this[_0x429a0b(0x310)][_0x429a0b(0x30a)](le,this[_0x429a0b(0x4ed)],this[_0x429a0b(0x398)],this[_0x429a0b(0x182)],[_0x172429],this[_0x429a0b(0x38a)],this['_resendTimer']);return _0xf25899['_updateLocalCache'](),_0xf25899;}[_0x1cc768(0x1c5)](_0x2253f3){const _0x18c855=_0x1cc768;if(this[_0x18c855(0x221)](_0x2253f3))return this[_0x18c855(0x1ff)](),this[_0x18c855(0x310)][_0x18c855(0x30a)](re,this[_0x18c855(0x4ed)],this[_0x18c855(0x398)],this[_0x18c855(0x182)],[],null,[_0x2253f3],this[_0x18c855(0x38a)]);try{const _0x3e2288=this[_0x18c855(0x1fa)][_0x18c855(0x422)]([_0x2253f3],[this['_awaitingChangeset']],!0x1);if(p[_0x18c855(0x463)](_0x3e2288)){const {c1Prime:_0x4f84c3,c2Prime:_0x5ad462}=_0x3e2288;this[_0x18c855(0x525)](_0x4f84c3[0x0]),_0x5ad462[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x21f47a=this['_injector'][_0x18c855(0x30a)](fe,this[_0x18c855(0x4ed)],this[_0x18c855(0x398)],_0x5ad462[0x0],this[_0x18c855(0x38a)]);return _0x21f47a[_0x18c855(0x4f0)](),_0x21f47a;}return this[_0x18c855(0x28d)](!0x1);}catch(_0x352d04){return this[_0x18c855(0x10c)][_0x18c855(0x1c4)](_0x352d04),this[_0x18c855(0x28d)](!0x1);}}[_0x1cc768(0x4a2)](_0x2d9824){const _0x21f845=_0x1cc768;this[_0x21f845(0x1ff)]();const _0x3d2489=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x2d9824[_0x21f845(0x528)]<_0x3d2489-0x1)return this;if(this[_0x21f845(0x221)](_0x2d9824))return this['_injector'][_0x21f845(0x30a)](re,this[_0x21f845(0x4ed)],this[_0x21f845(0x398)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xe0a23b=this[_0x21f845(0x310)][_0x21f845(0x30a)](Oe,this[_0x21f845(0x4ed)],this[_0x21f845(0x398)],this[_0x21f845(0x38a)]);return _0xe0a23b[_0x21f845(0x4f0)](),_0xe0a23b;}['onRemoteRej'](_0x270954){const _0x562fb4=_0x1cc768;return this[_0x562fb4(0x28d)](!!(_0x270954!=null&&_0x270954[_0x562fb4(0x427)]));}[_0x1cc768(0x5a2)](_0x20a5e7){const _0x241f60=_0x1cc768;return this[_0x241f60(0x571)]>mi?this[_0x241f60(0x3b4)]():(this[_0x241f60(0x5c4)]=pi(this[_0x241f60(0x571)],{'timeout':this['_resendTimeout'],'reqId':_0x20a5e7[_0x241f60(0x213)]}),this[_0x241f60(0x3a5)]=this[_0x241f60(0x5c4)][_0x241f60(0x556)](({reqId:_0x723abe,timeout:_0x4c7828})=>{const _0x3608aa=_0x241f60;this[_0x3608aa(0x22b)](_0x723abe,_0x4c7828);}),this);}['toggleOffline'](){const _0x5c88e5=_0x1cc768;return this[_0x5c88e5(0x1ff)](),this[_0x5c88e5(0x310)][_0x5c88e5(0x30a)](Se,this[_0x5c88e5(0x4ed)],this[_0x5c88e5(0x398)],this[_0x5c88e5(0x182)],[],this[_0x5c88e5(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x271)](){const _0x21bcc9=_0x1cc768;this[_0x21bcc9(0x38a)]['onSendChangeset'](this[_0x21bcc9(0x182)]);}[_0x1cc768(0x28d)](_0x1a8807){const _0x3b79cc=_0x1cc768;return this['_clearScheduledTask'](),this['_injector'][_0x3b79cc(0x30a)](ve,this[_0x3b79cc(0x4ed)],this['type'],this[_0x3b79cc(0x182)],[],this[_0x3b79cc(0x38a)],_0x1a8807);}['_resendWithTimeout'](_0x21a546,_0x1ab975){const _0x1f49a2=_0x1cc768;var _0x45fa72;_0x21a546===((_0x45fa72=this[_0x1f49a2(0x182)])==null?void 0x0:_0x45fa72[_0x1f49a2(0x213)])&&(this[_0x1f49a2(0x271)](),this[_0x1f49a2(0x571)]=_0x1ab975===0x0?0x3e8:_0x1ab975*0x2);}[_0x1cc768(0x1ff)](){const _0xa964d3=_0x1cc768;var _0x62a8ff;(_0x62a8ff=this[_0xa964d3(0x3a5)])==null||_0x62a8ff[_0xa964d3(0x1ca)](),this[_0xa964d3(0x571)]=0x0;}};fe=Ee([N(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x6,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0x7,a[_0x1cc768(0x11f)]),N(0x8,a[_0x1cc768(0x1a0)]),N(0x9,p[_0x1cc768(0x48d)]),N(0xa,a[_0x1cc768(0x542)])],fe);let le=class extends be{constructor(_0x258728,_0x563adc,_0x3fd5c0,_0x395e92,_0x32bc8c,_0x9e7fed,_0x176f0f,_0x3001a6,_0x378fe9,_0x4f5fb7,_0x536d2e,_0x3b0662,_0x40ad07){const _0x187382=_0x1cc768;super(_0x258728,_0x563adc,_0x3fd5c0,_0x395e92,_0x32bc8c,_0x4f5fb7,_0x40ad07,_0x3001a6,_0x378fe9),I(this,_0x187382(0x2c7),_0x187382(0x366)),I(this,_0x187382(0x571),0x0),I(this,_0x187382(0x5c4)),I(this,_0x187382(0x3a5)),(this[_0x187382(0x310)]=_0x176f0f,this[_0x187382(0x10c)]=_0x536d2e,this[_0x187382(0x1fa)]=_0x3b0662,_0x9e7fed&&(this[_0x187382(0x5c4)]=_0x9e7fed,this[_0x187382(0x3a5)]=this[_0x187382(0x5c4)][_0x187382(0x556)](({reqId:_0x35e5f6,timeout:_0x511ac4})=>{const _0x545781=_0x187382;this[_0x545781(0x22b)](_0x35e5f6,_0x511ac4);})));}[_0x1cc768(0x566)](_0x47581c){const _0x2dbd59=_0x1cc768;return this[_0x2dbd59(0x3db)]['push'](_0x47581c),this;}['onRemoteChangeset'](_0x1c996d){const _0x6e5097=_0x1cc768;if(this[_0x6e5097(0x221)](_0x1c996d))return this[_0x6e5097(0x1ff)](),this[_0x6e5097(0x310)]['createInstance'](re,this[_0x6e5097(0x4ed)],this[_0x6e5097(0x398)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1c996d],this[_0x6e5097(0x38a)]);try{const _0x330c8f=this[_0x6e5097(0x1fa)][_0x6e5097(0x422)]([_0x1c996d],[this['_awaitingChangeset']],!0x1);if(p[_0x6e5097(0x463)](_0x330c8f)){const {c1Prime:_0x467f63,c2Prime:_0x2b172a}=_0x330c8f,_0x20224b=this[_0x6e5097(0x1fa)]['transformMutationsWithChangeset'](_0x467f63[0x0],this[_0x6e5097(0x3db)]);if(p[_0x6e5097(0x482)](_0x20224b)){const {c1Prime:_0x400882,m2Prime:_0xeabf0a}=_0x20224b;return this[_0x6e5097(0x525)](_0x400882),_0x2b172a[0x0][_0x6e5097(0x348)]=this[_0x6e5097(0x3eb)](),this[_0x6e5097(0x1ff)](),this[_0x6e5097(0x310)][_0x6e5097(0x30a)](le,this[_0x6e5097(0x4ed)],this[_0x6e5097(0x398)],_0x2b172a[0x0],_0xeabf0a,this[_0x6e5097(0x38a)],void 0x0);}throw _0x20224b[_0x6e5097(0x1c4)];}throw _0x330c8f['error'];}catch(_0x302575){return this[_0x6e5097(0x10c)]['error'](_0x302575),this[_0x6e5097(0x28d)](!0x1);}}['onRemoteAck'](_0xc79485){const _0x2e2aef=_0x1cc768;if(this[_0x2e2aef(0x1ff)](),this[_0x2e2aef(0x221)](_0xc79485))return this[_0x2e2aef(0x310)]['createInstance'](re,this[_0x2e2aef(0x4ed)],this[_0x2e2aef(0x398)],null,this[_0x2e2aef(0x3db)],this[_0x2e2aef(0x182)],[],this[_0x2e2aef(0x38a)]);this[_0x2e2aef(0x224)]();const _0xa6dad6=this[_0x2e2aef(0x310)]['createInstance'](ce,this['unitID'],this[_0x2e2aef(0x398)],this[_0x2e2aef(0x3db)],this[_0x2e2aef(0x38a)]);return _0xa6dad6[_0x2e2aef(0x451)](),_0xa6dad6[_0x2e2aef(0x4f0)](),_0xa6dad6;}['onRemoteRej'](_0x42209c){const _0x18ee2b=_0x1cc768;return this[_0x18ee2b(0x28d)](!!(_0x42209c!=null&&_0x42209c['isPermissionRej']));}[_0x1cc768(0x5a2)](_0x23aaf2){const _0x502c96=_0x1cc768;return this['_resendTimeout']>mi?this['toggleOffline']():(this[_0x502c96(0x5c4)]=pi(this[_0x502c96(0x571)],{'timeout':this[_0x502c96(0x571)],'reqId':_0x23aaf2[_0x502c96(0x213)]}),this[_0x502c96(0x3a5)]=this[_0x502c96(0x5c4)]['subscribe'](({reqId:_0x164103,timeout:_0x37e8fd})=>{this['_resendWithTimeout'](_0x164103,_0x37e8fd);}),this);}['toggleOffline'](){const _0x4c85c6=_0x1cc768;return this[_0x4c85c6(0x1ff)](),this[_0x4c85c6(0x310)][_0x4c85c6(0x30a)](Se,this[_0x4c85c6(0x4ed)],this[_0x4c85c6(0x398)],this[_0x4c85c6(0x182)],this['_pendingMutations'],this[_0x4c85c6(0x38a)]);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x271)](){const _0x47aa59=_0x1cc768;this[_0x47aa59(0x38a)]['onSendChangeset'](this[_0x47aa59(0x182)]);}[_0x1cc768(0x28d)](_0x410d6f){const _0x56b6a2=_0x1cc768;return this['_clearScheduledTask'](),this[_0x56b6a2(0x310)][_0x56b6a2(0x30a)](ve,this[_0x56b6a2(0x4ed)],this[_0x56b6a2(0x398)],null,this[_0x56b6a2(0x3db)],this[_0x56b6a2(0x38a)],_0x410d6f);}[_0x1cc768(0x22b)](_0x2ffc3b,_0x3cc273){const _0x297d8c=_0x1cc768;var _0x45b06a;_0x2ffc3b===((_0x45b06a=this[_0x297d8c(0x182)])==null?void 0x0:_0x45b06a[_0x297d8c(0x213)])&&(this[_0x297d8c(0x271)](),this[_0x297d8c(0x571)]=_0x3cc273===0x0?0x3e8:_0x3cc273*0x2);}[_0x1cc768(0x1ff)](){const _0x4effa3=_0x1cc768;var _0x119b94;(_0x119b94=this[_0x4effa3(0x3a5)])==null||_0x119b94['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Ee([N(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x7,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0x8,a['Inject'](exports['LocalCacheService'])),N(0x9,a[_0x1cc768(0x11f)]),N(0xa,a['ILogService']),N(0xb,p[_0x1cc768(0x48d)]),N(0xc,a['IUndoRedoService'])],le);let ve=class extends be{constructor(_0x1d5e32,_0x2e77a6,_0xeabbca,_0x463e45,_0x3369b8,_0x2315ea=!0x1,_0x5916c7,_0x38739e,_0x32b1ec,_0x109774,_0x382070,_0x19a378,_0x145f05){const _0xb26ffe=_0x1cc768;super(_0x1d5e32,_0x2e77a6,_0xeabbca,_0x463e45,_0x3369b8,_0x38739e,_0x32b1ec,_0x382070,_0x109774),I(this,_0xb26ffe(0x2c7),'conflict'),(this[_0xb26ffe(0x4d9)]=_0x2315ea,this[_0xb26ffe(0x208)]=_0x5916c7,this[_0xb26ffe(0x133)]=_0x19a378,this[_0xb26ffe(0x32f)]=_0x145f05,this[_0xb26ffe(0x4c8)](),this[_0xb26ffe(0x3dd)](),this[_0xb26ffe(0x243)]());}['appendMutation'](){return this;}[_0x1cc768(0x1c5)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){return this;}[_0x1cc768(0x16a)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1cc768(0x3dd)](){const _0x591b6e=_0x1cc768;this[_0x591b6e(0x3f3)][_0x591b6e(0x198)](this['unitID'],this[_0x591b6e(0x398)],null,[]);}[_0x1cc768(0x4c8)](){const _0x43b70b=_0x1cc768;this[_0x43b70b(0x4d9)]?this[_0x43b70b(0x32f)]['show']({'title':this[_0x43b70b(0x133)]['t']('permission.title'),'content':this['_localeService']['t'](_0x43b70b(0x559)),'type':'error','duration':0x0}):this[_0x43b70b(0x32f)][_0x43b70b(0x242)]({'title':this['_localeService']['t'](_0x43b70b(0x523)),'content':this['_localeService']['t'](_0x43b70b(0x1ba)),'type':_0x43b70b(0x1c4),'duration':0x0});}[_0x1cc768(0x243)](){const _0x32bd16=_0x1cc768;this['_permissionService']['updatePermissionPoint'](new k[(_0x32bd16(0x1d2))](this['unitID'])['id'],!0x1);}};ve=Ee([N(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x42c)])),N(0x7,a['ICommandService']),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0xa,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),N(0xb,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),N(0xc,te[_0x1cc768(0x345)])],ve);let Se=class extends be{constructor(_0x3f107f,_0x24dfb4,_0x43ecce,_0x2b3620,_0x2e123f,_0x175b98,_0x55f038,_0x1a8766,_0x74c270,_0x28383b){const _0x42f7c9=_0x1cc768;super(_0x3f107f,_0x24dfb4,_0x43ecce,_0x2b3620,_0x2e123f,_0x74c270,_0x28383b,_0x55f038,_0x1a8766),I(this,_0x42f7c9(0x2c7),_0x42f7c9(0x2a7)),this[_0x42f7c9(0x310)]=_0x175b98;}[_0x1cc768(0x566)](_0x5a22da){const _0x201439=_0x1cc768;return this[_0x201439(0x3db)][_0x201439(0x102)](_0x5a22da),this['_updateLocalCache'](),this;}[_0x1cc768(0x1c5)](_0x4d6bd2){const _0x27f702=_0x1cc768;throw new Error(_0x27f702(0x1d3));}[_0x1cc768(0x4a2)](){const _0x31df20=_0x1cc768;throw new Error(_0x31df20(0x596));}[_0x1cc768(0x55e)](){const _0x738646=_0x1cc768;throw new Error(_0x738646(0x393));}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){return this;}['toggleOnline'](){const _0x28c76d=_0x1cc768,{_injector:_0xab21cf,_pendingMutations:_0x4c8d92,_awaitingChangeset:_0x7a229a,unitID:_0x86ab9c,_handler:_0xa10773,type:_0x219fcf}=this,_0x240c6b=gi(_0xab21cf,_0x86ab9c,_0x219fcf,_0x7a229a,_0x4c8d92,_0xa10773);return _0x240c6b instanceof ce?_0x240c6b[_0x28c76d(0x451)]():(_0x240c6b instanceof le||_0x240c6b instanceof fe)&&_0x240c6b[_0x28c76d(0x271)](),_0x240c6b;}[_0x1cc768(0x271)](){const _0x26e1f3=_0x1cc768;throw new Error(_0x26e1f3(0x51a));}};Se=Ee([N(0x5,a[_0x1cc768(0x2ca)](a['Injector'])),N(0x6,a['Inject'](p['RevisionService'])),N(0x7,a['Inject'](exports[_0x1cc768(0x305)])),N(0x8,a[_0x1cc768(0x11f)]),N(0x9,a['IUndoRedoService'])],Se);let re=class extends be{constructor(_0x4291d6,_0x2bb125,_0x1398e6,_0x2f856d,_0x2a4fdc,_0x263e09,_0x36c4db,_0x32e208,_0xe66d8f,_0x366863,_0x376662,_0x514328,_0x103391,_0x2c6f53){const _0x4b7b9c=_0x1cc768;super(_0x4291d6,_0x2bb125,_0x1398e6,_0x2f856d,_0x36c4db,_0x514328,_0x103391,_0xe66d8f,_0x366863),I(this,_0x4b7b9c(0x2c7),'fetch_missing'),(this[_0x4b7b9c(0x54d)]=_0x2a4fdc,this[_0x4b7b9c(0x26b)]=_0x263e09,this[_0x4b7b9c(0x310)]=_0x32e208,this[_0x4b7b9c(0x10c)]=_0x376662,this[_0x4b7b9c(0x1fa)]=_0x2c6f53);}[_0x1cc768(0x574)](_0x4eaf3b){const _0x44c716=_0x1cc768;try{const _0x237ace=[..._0x4eaf3b,...this[_0x44c716(0x26b)]],_0x1f8794=[this[_0x44c716(0x182)]||this[_0x44c716(0x54d)]]['filter'](_0x1f3384=>!!_0x1f3384);let _0xf205b2,_0x48a0fb;if(_0x1f8794['length']){const _0x50836e=this[_0x44c716(0x1fa)][_0x44c716(0x422)](_0x237ace,_0x1f8794,!0x1);if(!p[_0x44c716(0x463)](_0x50836e))throw _0x50836e[_0x44c716(0x1c4)];_0xf205b2=_0x50836e['c1Prime'],_0x48a0fb=_0x50836e[_0x44c716(0x4b9)];}else _0xf205b2=_0x237ace,_0x48a0fb=[];let _0x525ea8=this[_0x44c716(0x3db)];_0xf205b2['forEach'](_0x33acf3=>{const _0x57e57a=_0x44c716;let _0x333488;if(_0x525ea8[_0x57e57a(0x31e)]){const _0x84c33a=this[_0x57e57a(0x1fa)][_0x57e57a(0x400)](_0x33acf3,_0x525ea8);if(!p[_0x57e57a(0x482)](_0x84c33a))throw _0x84c33a[_0x57e57a(0x1c4)];_0x333488=_0x84c33a[_0x57e57a(0x4d7)],_0x525ea8=_0x84c33a['m2Prime'];}else _0x333488=_0x33acf3;this[_0x57e57a(0x525)](_0x333488);}),this[_0x44c716(0x54d)]&&this[_0x44c716(0x224)](),this['_awaitingChangeset']&&_0x48a0fb['length']&&(_0x48a0fb[0x0][_0x44c716(0x348)]=this[_0x44c716(0x3eb)]());let _0x34146e;if(this[_0x44c716(0x182)]&&_0x525ea8[_0x44c716(0x31e)]!==0x0)_0x34146e=this[_0x44c716(0x310)]['createInstance'](le,this[_0x44c716(0x4ed)],this['type'],_0x48a0fb[0x0],_0x525ea8,this[_0x44c716(0x38a)],void 0x0);else{if(this[_0x44c716(0x182)]&&_0x525ea8['length']===0x0)_0x48a0fb[0x0][_0x44c716(0x348)]=this[_0x44c716(0x3eb)](),_0x34146e=this[_0x44c716(0x310)][_0x44c716(0x30a)](fe,this['unitID'],this[_0x44c716(0x398)],_0x48a0fb[0x0],this[_0x44c716(0x38a)]);else{if(_0x525ea8[_0x44c716(0x31e)]!==0x0){const _0x23631e=this[_0x44c716(0x310)][_0x44c716(0x30a)](ce,this[_0x44c716(0x4ed)],this['type'],_0x525ea8,this[_0x44c716(0x38a)]);_0x23631e['_schedule'](),_0x34146e=_0x23631e;}else _0x34146e=this['_injector'][_0x44c716(0x30a)](Oe,this[_0x44c716(0x4ed)],this[_0x44c716(0x398)],this[_0x44c716(0x38a)]);}}return _0x34146e['_updateLocalCache'](),_0x34146e;}catch(_0x102d5d){return this['_logService']['error'](_0x44c716(0x2cf),_0x44c716(0x39f),_0x102d5d),this[_0x44c716(0x310)]['createInstance'](ve,this[_0x44c716(0x4ed)],this[_0x44c716(0x398)],this[_0x44c716(0x182)],this[_0x44c716(0x3db)],this[_0x44c716(0x38a)],!0x1);}}[_0x1cc768(0x271)](){const _0xd8993=_0x1cc768;throw new Error(_0xd8993(0x138));}[_0x1cc768(0x566)](_0xbacc03){const _0x2f53e4=_0x1cc768;return this[_0x2f53e4(0x3db)]['push'](_0xbacc03),this;}[_0x1cc768(0x1c5)](_0x205c92){return this['_queuedRemoteChangesets']['push'](_0x205c92),this;}[_0x1cc768(0x4a2)](_0x32c36c){const _0x1854a9=_0x1cc768;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x1854a9(0x182)],this['_awaitingChangeset']=null,this;throw new Error(_0x1854a9(0x2bd));}[_0x1cc768(0x55e)](_0x1db5d7){const _0x224e23=_0x1cc768;return this[_0x224e23(0x28d)](!!(_0x1db5d7!=null&&_0x1db5d7[_0x224e23(0x427)]));}[_0x1cc768(0x5a2)](){return this;}[_0x1cc768(0x3b4)](){const _0x57b743=_0x1cc768;return this['_injector'][_0x57b743(0x30a)](Se,this['unitID'],this[_0x57b743(0x398)],this['_awaitingChangeset'],this[_0x57b743(0x3db)],this['_handler']);}[_0x1cc768(0x16a)](){return this;}[_0x1cc768(0x28d)](_0x17b002){const _0x4e6935=_0x1cc768;return this[_0x4e6935(0x310)][_0x4e6935(0x30a)](ve,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x4e6935(0x3db)],this['_handler'],_0x17b002);}};re=Ee([N(0x7,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),N(0x8,a['Inject'](p[_0x1cc768(0x3e1)])),N(0x9,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),N(0xa,a[_0x1cc768(0x1a0)]),N(0xb,a[_0x1cc768(0x11f)]),N(0xc,a[_0x1cc768(0x542)]),N(0xd,p[_0x1cc768(0x48d)])],re);function gi(_0x3e6ea0,_0x34e641,_0x41ffdd,_0x5ac145,_0x1031bd,_0x584ce1){const _0x5d46ba=_0x1cc768;return _0x5ac145&&_0x1031bd['length']?_0x3e6ea0['createInstance'](le,_0x34e641,_0x41ffdd,_0x5ac145,_0x1031bd,_0x584ce1,void 0x0):_0x5ac145?_0x3e6ea0['createInstance'](fe,_0x34e641,_0x41ffdd,_0x5ac145,_0x584ce1):_0x1031bd[_0x5d46ba(0x31e)]?_0x3e6ea0['createInstance'](ce,_0x34e641,_0x41ffdd,_0x1031bd,_0x584ce1):_0x3e6ea0[_0x5d46ba(0x30a)](Oe,_0x34e641,_0x41ffdd,_0x584ce1);}var Vn=Object[_0x1cc768(0x244)],Gn=Object[_0x1cc768(0x263)],Ot=(_0xc44ad7,_0x2ca748,_0x4920d3,_0x6dfabb)=>{const _0x23d168=_0x1cc768;for(var _0x45e792=_0x6dfabb>0x1?void 0x0:_0x6dfabb?Gn(_0x2ca748,_0x4920d3):_0x2ca748,_0x2fc1af=_0xc44ad7[_0x23d168(0x31e)]-0x1,_0x2e199f;_0x2fc1af>=0x0;_0x2fc1af--)(_0x2e199f=_0xc44ad7[_0x2fc1af])&&(_0x45e792=(_0x6dfabb?_0x2e199f(_0x2ca748,_0x4920d3,_0x45e792):_0x2e199f(_0x45e792))||_0x45e792);return _0x6dfabb&&_0x45e792&&Vn(_0x2ca748,_0x4920d3,_0x45e792),_0x45e792;},H=(_0x596050,_0x40e87b)=>(_0x14dee8,_0x3f6332)=>_0x40e87b(_0x14dee8,_0x3f6332,_0x596050);exports[_0x1cc768(0x389)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x5dd1ce,_0x2ab812,_0x5ecaf7,_0x36152c,_0x5f58df,_0x3f89ae,_0x36bbd1,_0x16bd0e,_0x410eee,_0x58e408,_0x4e3144,_0x42fcc0,_0x1bb10f){const _0x330425=_0x1cc768;super(),I(this,_0x330425(0x34c),new A[(_0x330425(0x118))](null)),I(this,_0x330425(0x153),this['_state$'][_0x330425(0x575)]()),I(this,_0x330425(0x20f)),I(this,'_collaborationPaused',!0x1),I(this,_0x330425(0x4b1),''),I(this,_0x330425(0x3ea),0x0),I(this,_0x330425(0x495),this[_0x330425(0x153)][_0x330425(0x154)](A[_0x330425(0x130)](_0x235e91=>_0x235e91?_0x235e91['status']:q[_0x330425(0x1b1)]),A[_0x330425(0x3b0)](0x1))),I(this,_0x330425(0x2ba),!0x1),I(this,_0x330425(0x281),[]),(this[_0x330425(0x4ed)]=_0x5dd1ce,this[_0x330425(0x4fb)]=_0x2ab812,this['_type']=_0x5ecaf7,this[_0x330425(0x310)]=_0x36152c,this[_0x330425(0x3f3)]=_0x5f58df,this['_compressMutationService']=_0x3f89ae,this[_0x330425(0x133)]=_0x36bbd1,this['_revisionService']=_0x16bd0e,this['_logService']=_0x410eee,this[_0x330425(0x134)]=_0x58e408,this['_messageService']=_0x4e3144,this[_0x330425(0x208)]=_0x42fcc0,this[_0x330425(0x18e)]=_0x1bb10f);}get['state'](){return this['_state'];}async[_0x1cc768(0x518)](){const _0x369d38=_0x1cc768;if(this[_0x369d38(0x25b)])throw new Error(_0x369d38(0x260));await this[_0x369d38(0x143)]();}[_0x1cc768(0x36a)](){const _0x1340c4=_0x1cc768;return this['_collaborationPaused']=!0x0,a[_0x1340c4(0x329)](()=>{const _0x577dbd=_0x1340c4;this[_0x577dbd(0x12c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x506040){const _0x20058e=_0x1cc768;this[_0x20058e(0x20f)]=_0x506040,this[_0x20058e(0x34c)]['next'](_0x506040);}async[_0x1cc768(0x143)](){const _0x2be841=_0x1cc768;var _0x3da0f5;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x3da0f5=this[_0x2be841(0x18e)])==null||_0x3da0f5[_0x2be841(0x4c0)](this['unitID']),this[_0x2be841(0x27e)](this[_0x2be841(0x18e)][_0x2be841(0x49d)](this[_0x2be841(0x4ed)])[_0x2be841(0x556)](_0x1d8d91=>{const _0x2a5080=_0x2be841;this[_0x2a5080(0x10c)][_0x2a5080(0x157)](_0x2a5080(0x483),'editing\x20status\x20changed\x20to',_0x1d8d91),_0x1d8d91===vi[_0x2a5080(0x506)]?(this[_0x2a5080(0x124)][_0x2a5080(0x242)]({'content':this[_0x2a5080(0x133)]['t'](_0x2a5080(0x56d)),'type':Ce[_0x2a5080(0x14d)][_0x2a5080(0x268)]}),this[_0x2a5080(0x208)][_0x2a5080(0x517)](new k[(_0x2a5080(0x1d2))](this['unitID'])['id'],!0x1),this[_0x2a5080(0x208)][_0x2a5080(0x21c)](!0x1)):(this[_0x2a5080(0x208)][_0x2a5080(0x517)](new k[(_0x2a5080(0x1d2))](this[_0x2a5080(0x4ed)])['id'],!0x0),this[_0x2a5080(0x208)][_0x2a5080(0x21c)](!0x0));})));let _0x322e7a=!0x1;return this['disposeWithMe'](this[_0x2be841(0x4fb)][_0x2be841(0x272)][_0x2be841(0x556)](_0x3302d4=>{const _0x3a43a0=_0x2be841;_0x3302d4===se['ONLINE']?this['_toggleOnline'](_0x322e7a):_0x3302d4===se[_0x3a43a0(0x1b1)]&&(_0x322e7a=!0x0,this['_toggleOffline']());})),this[_0x2be841(0x27e)](this[_0x2be841(0x4fb)]['event$']['subscribe'](_0x548eb1=>{const _0x258e66=_0x2be841;try{switch(_0x548eb1[_0x258e66(0x1c1)]){case p[_0x258e66(0x59c)][_0x258e66(0x24b)]:{this[_0x258e66(0x362)](p[_0x258e66(0x1c8)](_0x548eb1[_0x258e66(0x48a)]));break;}case p[_0x258e66(0x59c)]['CHANGESET_ACK']:{this[_0x258e66(0x1be)](_0x548eb1[_0x258e66(0x48a)]);break;}case p[_0x258e66(0x59c)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case p[_0x258e66(0x59c)][_0x258e66(0x4ac)]:{this['_onRemoteRetry'](_0x548eb1['data']);break;}case p[_0x258e66(0x59c)][_0x258e66(0x5d0)]:{this[_0x258e66(0x50f)](_0x548eb1[_0x258e66(0x48a)][_0x258e66(0x59e)][_0x258e66(0x130)](_0x109261=>p['parseProtocolChangeset'](_0x109261)));break;}case p[_0x258e66(0x59c)][_0x258e66(0x576)]:this[_0x258e66(0x2a5)]({'isPermissionRej':!0x0});}}catch(_0xdf55ad){throw console[_0x258e66(0x1c4)](_0x258e66(0x11b),_0xdf55ad),_0xdf55ad;}})),this[_0x2be841(0x20f)];}['_unlockTransition'](){const _0x3ffbac=_0x1cc768;this[_0x3ffbac(0x2ba)]=!0x1;}[_0x1cc768(0x475)](){const _0x33e050=_0x1cc768;if(this[_0x33e050(0x2ba)])throw new Error(_0x33e050(0x3ed));this['_transitionLocked']=!0x0;}[_0x1cc768(0x5c3)](_0x2fabdb){const _0x278577=_0x1cc768;this['_lockTransition'](),this[_0x278577(0x4f3)](this[_0x278577(0x20f)]['appendMutation'](_0x2fabdb)),this[_0x278577(0x176)]();}[_0x1cc768(0x362)](_0x2f60b6){const _0x2825b9=_0x1cc768;if(!(_0x2f60b6[_0x2825b9(0x528)]<=this[_0x2825b9(0x47a)][_0x2825b9(0x2de)](this[_0x2825b9(0x4ed)]))){if(this[_0x2825b9(0x12c)]){this[_0x2825b9(0x281)]['push'](_0x2f60b6);return;}this[_0x2825b9(0x193)](_0x2f60b6);}}[_0x1cc768(0x311)](){const _0x5da049=_0x1cc768;this['_remoteChangesetQueue'][_0x5da049(0x380)](_0x445760=>this['_applyRemoteChangeset'](_0x445760)),this[_0x5da049(0x281)]=[];}[_0x1cc768(0x193)](_0x294cfc){const _0x352af9=_0x1cc768,_0x46e47d=this[_0x352af9(0x325)][_0x352af9(0x41f)]['fetchThroughInterceptors'](this[_0x352af9(0x325)]['interceptor'][_0x352af9(0x241)]()[_0x352af9(0x24e)])(_0x294cfc[_0x352af9(0x41d)],null)||_0x294cfc[_0x352af9(0x41d)],_0x1d237d={..._0x294cfc,'mutations':_0x46e47d};this[_0x352af9(0x475)](),this[_0x352af9(0x4f3)](this[_0x352af9(0x20f)][_0x352af9(0x1c5)](_0x1d237d)),this[_0x352af9(0x176)]();}[_0x1cc768(0x1be)](_0x497973){const _0xdb286a=_0x1cc768;this[_0xdb286a(0x475)](),this[_0xdb286a(0x4f3)](this[_0xdb286a(0x20f)]['onRemoteAck'](_0x497973)),this['_unlockTransition']();}[_0x1cc768(0x2a5)](_0x97dcf1){const _0x3a3712=_0x1cc768;this['_lockTransition'](),this[_0x3a3712(0x4f3)](this[_0x3a3712(0x20f)][_0x3a3712(0x55e)](_0x97dcf1)),this['_unlockTransition']();}[_0x1cc768(0x1b4)](_0x9e0e0){const _0x514393=_0x1cc768;this[_0x514393(0x475)](),this[_0x514393(0x4f3)](this[_0x514393(0x20f)][_0x514393(0x5a2)](_0x9e0e0)),this['_unlockTransition']();}['_onFetchMissResult'](_0x378cf9){const _0x644e7c=_0x1cc768;if(!(this['_state']instanceof re))throw new TypeError(_0x644e7c(0x18b));const _0x50a552=_0x378cf9[_0x644e7c(0x130)](_0x3747ac=>{const _0x379950=_0x644e7c,_0x38137d=this[_0x379950(0x325)]['interceptor'][_0x379950(0x431)](this[_0x379950(0x325)]['interceptor'][_0x379950(0x241)]()['COMPRESS_MUTATION_APPLY'])(_0x3747ac[_0x379950(0x41d)],null)||_0x3747ac[_0x379950(0x41d)];return{..._0x3747ac,'mutations':_0x38137d};});this[_0x644e7c(0x475)](),this[_0x644e7c(0x4f3)](this[_0x644e7c(0x20f)][_0x644e7c(0x574)](_0x50a552)),this[_0x644e7c(0x176)]();}[_0x1cc768(0x5ce)](){const _0x5587bd=_0x1cc768;this['_lockTransition'](),this[_0x5587bd(0x4f3)](this[_0x5587bd(0x20f)][_0x5587bd(0x3b4)]()),this[_0x5587bd(0x176)]();}[_0x1cc768(0x5ab)](_0x3cc07d=!0x1){const _0xe618fa=_0x1cc768;this['_lockTransition'](),this[_0xe618fa(0x4f3)](this['_state'][_0xe618fa(0x16a)]()),this[_0xe618fa(0x176)]();const _0x16a1f3=this[_0xe618fa(0x20f)];_0x3cc07d&&_0x16a1f3 instanceof Oe&&(this[_0xe618fa(0x475)](),this[_0xe618fa(0x4f3)](_0x16a1f3[_0xe618fa(0x1fe)]()),this['_unlockTransition']());}async[_0x1cc768(0x58c)](){return new Promise(_0x30bf03=>{const _0x4b52d6=_0x3a60;this['session'][_0x4b52d6(0x272)][_0x4b52d6(0x154)](A[_0x4b52d6(0x459)](0x1))['subscribe'](async _0x40c93b=>{const _0x1eb600=_0x4b52d6;_0x30bf03(await this[_0x1eb600(0x3f1)](_0x40c93b===se['ONLINE']));});});}[_0x1cc768(0x259)](){const _0x5e18d7=_0x1cc768,_0x2f5665=this[_0x5e18d7(0x4ed)];return{'onStateChange':(_0x10c5c0,_0xb41088)=>{const _0x5d0110=_0x5e18d7;if(_0x10c5c0!==this[_0x5d0110(0x20f)])throw new Error(_0x5d0110(0x39e)+_0x10c5c0[_0x5d0110(0x2c7)]+_0x5d0110(0x4a6)+_0xb41088[_0x5d0110(0x2c7)]+_0x5d0110(0x30f)+this[_0x5d0110(0x20f)][_0x5d0110(0x2c7)]);this[_0x5d0110(0x4f3)](_0xb41088);},'onSendChangeset':_0x3a8711=>{const _0x47b6c9=_0x5e18d7;_0x3a8711[_0x47b6c9(0x1f5)]||(_0x3a8711['sid']=this[_0x47b6c9(0x4b1)],_0x3a8711[_0x47b6c9(0x213)]=++this[_0x47b6c9(0x3ea)]);const _0x2a2be1={'eventID':p[_0x47b6c9(0x59c)][_0x47b6c9(0x54a)],'data':{'unitID':_0x3a8711[_0x47b6c9(0x4ed)],'unitType':this['_type'],'changeset':_0x3a8711,'memberID':this[_0x47b6c9(0x4fb)][_0x47b6c9(0x519)]()}};this['session'][_0x47b6c9(0x48e)](_0x2a2be1,this[_0x47b6c9(0x4ed)]);},'onMissingChangesets':({from:_0x40c4eb,to:_0x241b02})=>{const _0x29b325=_0x5e18d7;this[_0x29b325(0x10c)][_0x29b325(0x157)](_0x29b325(0x483),_0x29b325(0x1f4)+_0x40c4eb+_0x29b325(0x561)+_0x241b02);const _0x1ab187={'eventID':p['CollaborationEvent'][_0x29b325(0x52c)],'data':{'unitID':_0x2f5665,'unitType':this[_0x29b325(0x462)],'from':_0x40c4eb,'to':_0x241b02}};this[_0x29b325(0x4fb)][_0x29b325(0x48e)](_0x1ab187,this['unitID']);}};}async['_createInitialStateImpl'](_0x586a03){const _0x54b9ca=_0x1cc768;var _0x1a2adf,_0xd9fea7;const _0x31ff04=await this[_0x54b9ca(0x3f3)][_0x54b9ca(0x5ca)](this['unitID']),_0xf3b5df=(_0x1a2adf=_0x31ff04==null?void 0x0:_0x31ff04[_0x54b9ca(0x41d)])!=null?_0x1a2adf:[],_0x5ec521=(_0xd9fea7=_0x31ff04==null?void 0x0:_0x31ff04[_0x54b9ca(0x54e)])!=null?_0xd9fea7:null,_0x44846a=!!(_0x5ec521!=null&&_0x5ec521[_0x54b9ca(0x1f5)])&&!!(_0x5ec521!=null&&_0x5ec521[_0x54b9ca(0x213)]);this[_0x54b9ca(0x4b1)]=_0x44846a?_0x5ec521[_0x54b9ca(0x1f5)]:In(),this[_0x54b9ca(0x3ea)]=_0x44846a?_0x5ec521[_0x54b9ca(0x213)]:0x0;const _0x18f218=this[_0x54b9ca(0x4ed)];try{this[_0x54b9ca(0x445)](_0x5ec521,_0xf3b5df);}catch(_0x537949){this['_logService'][_0x54b9ca(0x1c4)](_0x537949);}const _0x242317=this[_0x54b9ca(0x259)]();if(_0x586a03){const _0x4f3c86=gi(this[_0x54b9ca(0x310)],_0x18f218,this[_0x54b9ca(0x462)],_0x5ec521,_0xf3b5df,_0x242317);return _0x4f3c86 instanceof ce?_0x4f3c86['_schedule']():(_0x4f3c86 instanceof le||_0x4f3c86 instanceof fe)&&_0x4f3c86[_0x54b9ca(0x271)](),_0x4f3c86;}return this['_injector'][_0x54b9ca(0x30a)](Se,_0x18f218,this[_0x54b9ca(0x462)],_0x5ec521,_0xf3b5df,_0x242317);}[_0x1cc768(0x445)](_0x1549f0,_0x137aad){const _0x2d37bf=_0x1cc768;var _0x1dff90,_0x2ef551;const _0x4d302a=this[_0x2d37bf(0x325)]['interceptor'][_0x2d37bf(0x431)](this[_0x2d37bf(0x325)][_0x2d37bf(0x41f)][_0x2d37bf(0x241)]()[_0x2d37bf(0x24e)]);(_0x1dff90=_0x4d302a((_0x1549f0==null?void 0x0:_0x1549f0[_0x2d37bf(0x41d)])||[],null))==null||_0x1dff90[_0x2d37bf(0x380)](_0x2431a1=>this[_0x2d37bf(0x134)][_0x2d37bf(0x3f8)](_0x2431a1['id'],_0x2431a1[_0x2d37bf(0x530)])),(_0x2ef551=_0x4d302a(_0x137aad||[],null))==null||_0x2ef551[_0x2d37bf(0x380)](_0x24b382=>this['_commandService']['executeCommand'](_0x24b382['id'],_0x24b382['params']));}},exports[_0x1cc768(0x389)]=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),H(0x7,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x3e1)])),H(0x8,a['ILogService']),H(0x9,a['ICommandService']),H(0xa,te['IMessageService']),H(0xb,a[_0x1cc768(0x42c)]),H(0xc,a[_0x1cc768(0x1f2)](ze))],exports[_0x1cc768(0x389)]),exports['DocCollaborationEntity']=class extends exports[_0x1cc768(0x389)]{constructor(_0x480afe,_0x69fa0f,_0x168181,_0x322096,_0x2888ea,_0x31c4ec,_0x156666,_0x50f943,_0x25cf26,_0x14ca16,_0x4533c2,_0x4576bc,_0x3afa8d,_0x355416,_0x1e5f9d,_0x40a53f,_0x42fdcd,_0xf196cb){const _0x44286b=_0x1cc768;super(_0x480afe,_0x168181,_0x69fa0f,_0x322096,_0x2888ea,_0x31c4ec,_0x156666,_0x50f943,_0x355416,_0x1e5f9d,_0x40a53f,_0x42fdcd,_0xf196cb),this[_0x44286b(0x4ed)]=_0x480afe,this[_0x44286b(0x398)]=_0x69fa0f,this['_docStateChangeManagerService']=_0x25cf26,this['_docTransformIMECacheService']=_0x14ca16,this[_0x44286b(0x476)]=_0x4533c2,this[_0x44286b(0x536)]=_0x4576bc,this['_docSyncEditingCollabCursorService']=_0x3afa8d;}[_0x1cc768(0x259)](){const _0x407bd7=_0x1cc768,_0x4c814b=super[_0x407bd7(0x259)]();return _0x4c814b[_0x407bd7(0x174)]=_0x5806b4=>this[_0x407bd7(0x453)][_0x407bd7(0x508)](_0x5806b4),_0x4c814b[_0x407bd7(0x487)]=_0x477ee6=>this[_0x407bd7(0x476)][_0x407bd7(0x404)](_0x477ee6),_0x4c814b[_0x407bd7(0x1d1)]=_0x1a1e65=>this[_0x407bd7(0x536)][_0x407bd7(0x1c6)](_0x1a1e65),_0x4c814b[_0x407bd7(0x529)]=_0x21ffbb=>this['_docSyncEditingCollabCursorService'][_0x407bd7(0x549)](_0x21ffbb),_0x4c814b[_0x407bd7(0x4c7)]=_0x429915=>this[_0x407bd7(0x453)][_0x407bd7(0x385)](_0x429915),_0x4c814b['onTransformRemoteChangesetByStateCache']=_0x2de389=>this[_0x407bd7(0x476)]['transformRemoteChangeset'](_0x2de389),_0x4c814b;}async[_0x1cc768(0x143)](){const _0x1bc21f=_0x1cc768,_0x4c9600=await super[_0x1bc21f(0x143)]();return this[_0x1bc21f(0x27e)](this['_docStateChangeManagerService'][_0x1bc21f(0x4ae)][_0x1bc21f(0x154)](A[_0x1bc21f(0x4cf)](this['dispose$']))['subscribe'](_0x59b347=>{const _0xfadcb6=_0x1bc21f;if(_0x59b347==null)return;const {unitId:_0x4ba585,redoState:_0x186918,commandId:_0x359346}=_0x59b347;if(_0x4ba585!==this['unitID'])return;const _0xe6b026={'id':_0x359346,'type':a[_0xfadcb6(0x302)][_0xfadcb6(0x17c)],'params':{'unitId':_0x4ba585,'actions':_0x186918[_0xfadcb6(0x554)],'textRanges':null}};this[_0xfadcb6(0x5c3)](_0xe6b026);})),this[_0x1bc21f(0x27e)](this[_0x1bc21f(0x134)][_0x1bc21f(0x15b)]((_0x45c3c4,_0x3ee8e1)=>{const _0x57705a=_0x1bc21f;if(_0x45c3c4[_0x57705a(0x398)]!==a[_0x57705a(0x302)]['MUTATION']||_0x3ee8e1!=null&&_0x3ee8e1['fromCollab']||_0x3ee8e1!=null&&_0x3ee8e1[_0x57705a(0x5d9)]||_0x45c3c4['id']===Ie['RichTextEditingMutation']['id'])return;const _0x175a85=_0x45c3c4[_0x57705a(0x530)];if((_0x175a85==null?void 0x0:_0x175a85[_0x57705a(0x2f1)])!==this[_0x57705a(0x4ed)])return;const _0x51b4d8=_0x45c3c4,_0xfb104c=this[_0x57705a(0x325)][_0x57705a(0x41f)]['fetchThroughInterceptors'](this[_0x57705a(0x325)][_0x57705a(0x41f)][_0x57705a(0x241)]()[_0x57705a(0x2bf)])([_0x51b4d8],null)||[_0x51b4d8];this[_0x57705a(0x5c3)](_0xfb104c[0x0]);})),_0x4c9600;}},exports['DocCollaborationEntity']=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)])),H(0x7,a['Inject'](p[_0x1cc768(0x3e1)])),H(0x8,a[_0x1cc768(0x2ca)](J[_0x1cc768(0x17a)])),H(0x9,a[_0x1cc768(0x2ca)](Be)),H(0xa,a[_0x1cc768(0x2ca)](We)),H(0xb,a[_0x1cc768(0x2ca)](Fe)),H(0xc,a[_0x1cc768(0x2ca)](yt)),H(0xd,a['ILogService']),H(0xe,a[_0x1cc768(0x11f)]),H(0xf,te[_0x1cc768(0x1e5)]),H(0x10,a[_0x1cc768(0x42c)]),H(0x11,a['Optional'](ze))],exports['DocCollaborationEntity']),exports[_0x1cc768(0x51b)]=class extends exports[_0x1cc768(0x389)]{constructor(_0xf2a38b,_0x40c257,_0x464a50,_0x4622b2,_0x3be90f,_0x2f9115,_0x1bd0c4,_0x423271,_0x580284,_0x1fcb45,_0x707802,_0xe30df3,_0x13e152,_0x526f23){const _0x450184=_0x1cc768;super(_0xf2a38b,_0x464a50,_0x40c257,_0x4622b2,_0x3be90f,_0x2f9115,_0x1bd0c4,_0x423271,_0x1fcb45,_0x707802,_0xe30df3,_0x13e152,_0x526f23),this[_0x450184(0x4ed)]=_0xf2a38b,this[_0x450184(0x398)]=_0x40c257,this[_0x450184(0x481)]=_0x580284;}[_0x1cc768(0x259)](){const _0x405630=_0x1cc768,_0x7c0a34=super[_0x405630(0x259)]();return _0x7c0a34['onTransformSelections']=_0x3dea69=>this['_sheetTransformSelectionsService'][_0x405630(0x1c6)](_0x3dea69),_0x7c0a34;}async[_0x1cc768(0x143)](){const _0x2b59e9=_0x1cc768,_0x5a86d5=await super[_0x2b59e9(0x143)]();return this[_0x2b59e9(0x27e)](this[_0x2b59e9(0x134)][_0x2b59e9(0x15b)]((_0x689b6b,_0x4077cf)=>{const _0x790d8=_0x2b59e9;if(_0x689b6b['type']!==a['CommandType'][_0x790d8(0x17c)]||_0x4077cf!=null&&_0x4077cf['fromCollab']||_0x4077cf!=null&&_0x4077cf['onlyLocal'])return;const _0x199381=_0x689b6b[_0x790d8(0x530)];if((_0x199381==null?void 0x0:_0x199381[_0x790d8(0x2f1)])!==this[_0x790d8(0x4ed)])return;const _0x222248=_0x689b6b,_0x31550f=this[_0x790d8(0x325)][_0x790d8(0x41f)][_0x790d8(0x431)](this[_0x790d8(0x325)][_0x790d8(0x41f)][_0x790d8(0x241)]()[_0x790d8(0x2bf)])([_0x222248],null)||[_0x222248];this['_onLocalMutation'](_0x31550f[0x0]);})),_0x5a86d5;}},exports[_0x1cc768(0x51b)]=Ot([H(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),H(0x4,a[_0x1cc768(0x2ca)](exports['LocalCacheService'])),H(0x5,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x2e2)])),H(0x6,a[_0x1cc768(0x2ca)](a['LocaleService'])),H(0x7,a[_0x1cc768(0x2ca)](p['RevisionService'])),H(0x8,a['Inject'](ke)),H(0x9,a[_0x1cc768(0x1a0)]),H(0xa,a[_0x1cc768(0x11f)]),H(0xb,te[_0x1cc768(0x1e5)]),H(0xc,a[_0x1cc768(0x42c)]),H(0xd,a[_0x1cc768(0x1f2)](ze))],exports[_0x1cc768(0x51b)]);var Yn=Object['defineProperty'],Kn=Object[_0x1cc768(0x263)],qn=(_0x440cd9,_0x12336b,_0x549627,_0x59d6c5)=>{const _0x2a4df0=_0x1cc768;for(var _0x5ad8cc=_0x59d6c5>0x1?void 0x0:_0x59d6c5?Kn(_0x12336b,_0x549627):_0x12336b,_0x3e3fd5=_0x440cd9[_0x2a4df0(0x31e)]-0x1,_0x1283e8;_0x3e3fd5>=0x0;_0x3e3fd5--)(_0x1283e8=_0x440cd9[_0x3e3fd5])&&(_0x5ad8cc=(_0x59d6c5?_0x1283e8(_0x12336b,_0x549627,_0x5ad8cc):_0x1283e8(_0x5ad8cc))||_0x5ad8cc);return _0x59d6c5&&_0x5ad8cc&&Yn(_0x12336b,_0x549627,_0x5ad8cc),_0x5ad8cc;},it=(_0x1961d4,_0x5d4c83)=>(_0x466072,_0x4fe537)=>_0x5d4c83(_0x466072,_0x4fe537,_0x1961d4);exports[_0x1cc768(0x38c)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x2dd568,_0x50f5d2,_0x3c9518){const _0xa43da1=_0x1cc768;super(),I(this,_0xa43da1(0x181),new Map()),I(this,_0xa43da1(0x522),new A[(_0xa43da1(0x3f0))]()),(this[_0xa43da1(0x310)]=_0x2dd568,this[_0xa43da1(0x287)]=_0x50f5d2,this[_0xa43da1(0x114)]=_0x3c9518,this[_0xa43da1(0x143)]());}[_0x1cc768(0x14c)](){const _0x84067b=_0x1cc768;super['dispose'](),this['_entities']['forEach'](_0x530c6f=>_0x530c6f[_0x84067b(0x14c)]()),this[_0x84067b(0x181)]['clear']();}[_0x1cc768(0x23a)](_0x87e1d0){const _0xc77306=_0x1cc768;var _0x72cae9;return(_0x72cae9=this[_0xc77306(0x181)]['get'](_0x87e1d0))!=null?_0x72cae9:null;}['getCollabEntity$'](_0x47fd06){const _0x538fac=_0x1cc768,_0x245ef3=this[_0x538fac(0x23a)](_0x47fd06);return _0x245ef3?A['of'](_0x245ef3):this[_0x538fac(0x522)]['pipe'](V[_0x538fac(0x464)](_0x2df66b=>_0x2df66b[_0x538fac(0x4ed)]===_0x47fd06));}['_init'](){const _0xdeeb40=_0x1cc768;this[_0xdeeb40(0x114)][_0xdeeb40(0x5ac)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x452)])[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]),V[_0xdeeb40(0x125)](0x10))[_0xdeeb40(0x556)](async _0x4945b2=>{const _0x4a642b=_0xdeeb40,_0x2da4ba=_0x4945b2[_0x4a642b(0x1f0)](),_0x5975fa=await this[_0x4a642b(0x352)](_0x2da4ba,ne[_0x4a642b(0x452)]);this[_0x4a642b(0x181)]['set'](_0x2da4ba,_0x5975fa);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x408)])[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]),V[_0xdeeb40(0x125)](0x10))[_0xdeeb40(0x154)](V[_0xdeeb40(0x464)](_0x3da6e2=>!_0x3da6e2['getUnitId']()[_0xdeeb40(0x2cb)]('__')))['subscribe'](async _0xd5d51c=>{const _0x46c564=_0xdeeb40,_0x3c3857=_0xd5d51c[_0x46c564(0x1f0)](),_0x1b2c72=await this[_0x46c564(0x352)](_0x3c3857,ne[_0x46c564(0x408)]);this['_entities'][_0x46c564(0x31f)](_0x3c3857,_0x1b2c72);}),A['merge'](this[_0xdeeb40(0x114)][_0xdeeb40(0x3c3)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x452)]),this['_univerInstanceService'][_0xdeeb40(0x3c3)](a[_0xdeeb40(0x1a7)][_0xdeeb40(0x408)]))[_0xdeeb40(0x154)](A[_0xdeeb40(0x4cf)](this[_0xdeeb40(0x36e)]))[_0xdeeb40(0x556)](_0x166d48=>{const _0x5a4f43=_0xdeeb40,_0x1679b6=_0x166d48[_0x5a4f43(0x1f0)](),_0x4dfb26=this[_0x5a4f43(0x181)]['get'](_0x1679b6);_0x4dfb26&&(_0x4dfb26[_0x5a4f43(0x14c)](),this[_0x5a4f43(0x181)]['delete'](_0x1679b6));});}async[_0x1cc768(0x352)](_0x1cfb8a,_0x17ed37){const _0x1bc380=_0x1cc768,_0x780908=await this[_0x1bc380(0x287)][_0x1bc380(0x186)](_0x1cfb8a),_0x36f49c=this['_injector'][_0x1bc380(0x30a)](this['_getCtorByUniverType'](_0x17ed37),_0x1cfb8a,_0x17ed37,_0x780908);return await _0x36f49c['init'](),this[_0x1bc380(0x522)][_0x1bc380(0x122)](_0x36f49c),_0x36f49c;}[_0x1cc768(0x166)](_0x102058){const _0x576392=_0x1cc768;switch(_0x102058){case ne['UNIVER_DOC']:return exports[_0x576392(0x35e)];case ne[_0x576392(0x452)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x576392(0x550)+_0x102058);}}},exports['CollaborationController']=qn([it(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),it(0x1,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x2e1)])),it(0x2,a[_0x1cc768(0x3bd)])],exports[_0x1cc768(0x38c)]);var zn=Object[_0x1cc768(0x244)],Xn=Object[_0x1cc768(0x263)],Jn=(_0x5b7e57,_0x1e8e48,_0x41a99c,_0x10816d)=>{const _0xce0896=_0x1cc768;for(var _0x320101=_0x10816d>0x1?void 0x0:_0x10816d?Xn(_0x1e8e48,_0x41a99c):_0x1e8e48,_0xd38c53=_0x5b7e57[_0xce0896(0x31e)]-0x1,_0x3e0744;_0xd38c53>=0x0;_0xd38c53--)(_0x3e0744=_0x5b7e57[_0xd38c53])&&(_0x320101=(_0x10816d?_0x3e0744(_0x1e8e48,_0x41a99c,_0x320101):_0x3e0744(_0x320101))||_0x320101);return _0x10816d&&_0x320101&&zn(_0x1e8e48,_0x41a99c,_0x320101),_0x320101;},Bt=(_0x2f2200,_0x3a4168)=>(_0x3d3ff5,_0x272c80)=>_0x3a4168(_0x3d3ff5,_0x272c80,_0x2f2200);let Ve=class extends a['RxDisposable']{constructor(_0x3c5af7,_0x32c87b){const _0x1003c0=_0x1cc768;super(),this[_0x1003c0(0x25f)]=_0x3c5af7,this[_0x1003c0(0x3a9)]=_0x32c87b,this[_0x1003c0(0x143)]();}[_0x1cc768(0x143)](){const _0x1fb60c=_0x1cc768,_0x5ad3af=this;this['disposeWithMe'](this[_0x1fb60c(0x25f)][_0x1fb60c(0x299)]({'onBeforePasteImage':async _0xb207a4=>{const _0xc6808b=_0x1fb60c,_0x323cbf=await _0x5ad3af[_0xc6808b(0x3a9)][_0xc6808b(0x3af)](_0xb207a4);return _0x323cbf?{'source':_0x323cbf[_0xc6808b(0x450)],'imageSourceType':_0x323cbf[_0xc6808b(0x163)]}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x1cc768(0x353)]),Bt(0x1,ie[_0x1cc768(0x5a5)])],Ve);const kt=[_0x1cc768(0x3f7),_0x1cc768(0x3c1),'verdancy600',_0x1cc768(0x40f),'blue400',_0x1cc768(0x231)];class Dt extends a['Disposable']{constructor(){super(...arguments),I(this,'_assignedColors',new Map()),I(this,'_colorIndex',0x0);}[_0x1cc768(0x2ae)](_0xceb7c4){const _0x5e6d0e=_0x1cc768;if(this[_0x5e6d0e(0x44c)][_0x5e6d0e(0x50a)](_0xceb7c4))return this[_0x5e6d0e(0x44c)][_0x5e6d0e(0x4f7)](_0xceb7c4);const _0x3e513e=kt[this[_0x5e6d0e(0x315)]];return this[_0x5e6d0e(0x315)]=(this['_colorIndex']+0x1)%kt['length'],this[_0x5e6d0e(0x44c)]['set'](_0xceb7c4,_0x3e513e),_0x3e513e;}}var Zn=Object[_0x1cc768(0x244)],Qn=Object[_0x1cc768(0x263)],es=(_0x420dcd,_0x173dc5,_0x5c45d1,_0x28621d)=>{const _0x55fe19=_0x1cc768;for(var _0x25aba0=_0x28621d>0x1?void 0x0:_0x28621d?Qn(_0x173dc5,_0x5c45d1):_0x173dc5,_0x3a5141=_0x420dcd[_0x55fe19(0x31e)]-0x1,_0x3436af;_0x3a5141>=0x0;_0x3a5141--)(_0x3436af=_0x420dcd[_0x3a5141])&&(_0x25aba0=(_0x28621d?_0x3436af(_0x173dc5,_0x5c45d1,_0x25aba0):_0x3436af(_0x25aba0))||_0x25aba0);return _0x28621d&&_0x25aba0&&Zn(_0x173dc5,_0x5c45d1,_0x25aba0),_0x25aba0;},me=(_0x2736a8,_0x6a9acd)=>(_0x584c1c,_0x439389)=>_0x6a9acd(_0x584c1c,_0x439389,_0x2736a8);const ts=0x12c,is=0x64;let pt=class extends a['RxDisposable']{constructor(_0x43e8a5,_0x44dde2,_0x58b73a,_0x563768,_0x52e400,_0x1a0998,_0x11a98d,_0x3053f5,_0x497604){const _0x23599c=_0x1cc768;super(),I(this,_0x23599c(0x14a),!0x1),I(this,_0x23599c(0x143),!0x1),I(this,_0x23599c(0x4f8),new A['BehaviorSubject'](new Map())),I(this,'cursorInfo$',this[_0x23599c(0x4f8)]['asObservable']()),I(this,_0x23599c(0x131),new A['BehaviorSubject']([])),I(this,_0x23599c(0x1e4),this[_0x23599c(0x131)][_0x23599c(0x154)](A[_0x23599c(0x101)](ts))),I(this,'_updateLocalCursor',a[_0x23599c(0x1b9)](_0x452966=>{const _0x2bf00e=_0x23599c,_0x1b63a5={'eventID':p[_0x2bf00e(0x59c)][_0x2bf00e(0x59b)],'data':{'unitID':this[_0x2bf00e(0x4ed)],'memberID':this['_session']['getMemberID'](),'selection':Si(_0x452966)}};this[_0x2bf00e(0x15d)]['send'](_0x1b63a5,this[_0x2bf00e(0x4ed)]);},is)),(this[_0x23599c(0x4ed)]=_0x43e8a5,this[_0x23599c(0x15d)]=_0x44dde2,this[_0x23599c(0x310)]=_0x58b73a,this['_colorAssignService']=_0x563768,this[_0x23599c(0x222)]=_0x52e400,this[_0x23599c(0x1d7)]=_0x1a0998,this[_0x23599c(0x1fa)]=_0x11a98d,this['_univerInstanceService']=_0x3053f5,this['_commandService']=_0x497604);}get[_0x1cc768(0x5b0)](){const _0x1f1d09=_0x1cc768;return this[_0x1f1d09(0x4f8)][_0x1f1d09(0x3b3)]();}get[_0x1cc768(0x14f)](){const _0x549dcc=_0x1cc768;return this[_0x549dcc(0x131)]['getValue']();}[_0x1cc768(0x14c)](){const _0x48aac7=_0x1cc768;super[_0x48aac7(0x14c)](),this[_0x48aac7(0x4f8)][_0x48aac7(0x122)](new Map()),this[_0x48aac7(0x4f8)][_0x48aac7(0x4e2)](),this[_0x48aac7(0x131)][_0x48aac7(0x122)]([]),this['_roomMembers$']['complete']();}[_0x1cc768(0x518)](){const _0x447af6=_0x1cc768;this[_0x447af6(0x143)]||(this[_0x447af6(0x143)]=!0x0,this[_0x447af6(0x15d)][_0x447af6(0x272)]['pipe'](A[_0x447af6(0x4cf)](this[_0x447af6(0x36e)]))[_0x447af6(0x556)](_0x39c5b5=>{const _0x3b08e6=_0x447af6;_0x39c5b5===se[_0x3b08e6(0x586)]?this[_0x3b08e6(0x5ab)]():this[_0x3b08e6(0x5ce)]();}),this[_0x447af6(0x15d)][_0x447af6(0x3a0)][_0x447af6(0x154)](A[_0x447af6(0x4cf)](this['dispose$']))[_0x447af6(0x556)](_0x5afad3=>{const _0x3f1d5d=_0x447af6,_0x4d6544=_0x5afad3[_0x3f1d5d(0x1c1)];_0x4d6544===p[_0x3f1d5d(0x59c)][_0x3f1d5d(0x59b)]&&this[_0x3f1d5d(0x31b)](_0x5afad3),_0x4d6544===p[_0x3f1d5d(0x59c)]['USERS_LEAVE']&&this[_0x3f1d5d(0x4ad)](_0x5afad3);}),this[_0x447af6(0x27e)](this[_0x447af6(0x134)][_0x447af6(0x15b)](_0x524258=>{const _0x30b4da=_0x447af6,_0x12d0e3=_0x524258['params'];_0x12d0e3!=null&&this['_online']&&_0x524258['id']===Ie[_0x30b4da(0x326)]['id']&&_0x12d0e3['unitId']===this[_0x30b4da(0x4ed)]&&_0x12d0e3[_0x30b4da(0x151)]===!0x1&&_0x12d0e3[_0x30b4da(0x172)][_0x30b4da(0x31e)]>0x0&&this[_0x30b4da(0x391)](_0x12d0e3[_0x30b4da(0x172)]);})),this[_0x447af6(0x1d7)][_0x447af6(0x564)][_0x447af6(0x154)](A[_0x447af6(0x4cf)](this[_0x447af6(0x36e)]))[_0x447af6(0x556)](_0x75736d=>{const _0x97a966=_0x447af6;if((_0x75736d==null?void 0x0:_0x75736d[_0x97a966(0x4ed)])!==this[_0x97a966(0x4ed)])return;const _0xa0c0a4={'eventID':p[_0x97a966(0x59c)]['UPDATE_CURSOR'],'data':_0x75736d};this['_onCursorUpdate'](_0xa0c0a4);}),this[_0x447af6(0x27e)](this['_commandService'][_0x447af6(0x15b)](_0x4a212c=>{const _0x3d10b0=_0x447af6;if(_0x4a212c[_0x3d10b0(0x530)]==null)return;const _0x55b030=_0x4a212c[_0x3d10b0(0x530)];if(_0x4a212c['id']!==Ie[_0x3d10b0(0x2bb)]['id']||_0x55b030[_0x3d10b0(0x2f1)]!==this[_0x3d10b0(0x4ed)])return;const _0x4bca72={'id':_0x3d10b0(0x307),'params':_0x55b030},_0x357b05=this[_0x3d10b0(0x5b0)];for(const [_0x45f7d1,_0x4fe38d]of _0x357b05){const _0x42767d={'id':_0x3d10b0(0x307),'params':{'unitId':this[_0x3d10b0(0x4ed)],'actions':null,'textRanges':_0x4fe38d['ranges']}},_0x227459=this[_0x3d10b0(0x1fa)]['transformMutation'](_0x4bca72,_0x42767d,!0x1);if(p[_0x3d10b0(0x4b2)](_0x227459))throw _0x227459[_0x3d10b0(0x1c4)];_0x357b05[_0x3d10b0(0x31f)](_0x45f7d1,{..._0x4fe38d,'ranges':_0x227459[_0x3d10b0(0x247)][_0x3d10b0(0x530)][_0x3d10b0(0x4e6)]});}queueMicrotask(()=>{const _0x1a5c0a=_0x3d10b0;this[_0x1a5c0a(0x4f8)][_0x1a5c0a(0x122)](_0x357b05);});})));}[_0x1cc768(0x31b)](_0xf05e45){const _0xecdd4a=_0x1cc768;var _0x575564,_0x349ffb;const {memberID:_0x3bd12e,selection:_0x596f20}=_0xf05e45['data'],_0x259dc2=Ln(_0x596f20),_0x2f4dad=(_0x349ffb=(_0x575564=this[_0xecdd4a(0x222)][_0xecdd4a(0x1ed)](this[_0xecdd4a(0x4ed)],_0x3bd12e))==null?void 0x0:_0x575564['name'])!=null?_0x349ffb:_0xecdd4a(0x2f9),_0x39b60f={'color':this[_0xecdd4a(0x505)]['assignAColorForMemberID'](_0x3bd12e),'name':_0x2f4dad,'ranges':_0x259dc2},_0x3d79b7=this[_0xecdd4a(0x5b0)];_0x3d79b7['set'](_0x3bd12e,_0x39b60f),this[_0xecdd4a(0x4f8)][_0xecdd4a(0x122)](_0x3d79b7);}[_0x1cc768(0x4ad)](_0x3f8531){const _0x2f9d01=_0x1cc768,{memberID:_0x37b805}=_0x3f8531[_0x2f9d01(0x48a)],_0x454f76=this[_0x2f9d01(0x5b0)];_0x454f76[_0x2f9d01(0x24c)](_0x37b805),this['_cursorInfo$'][_0x2f9d01(0x122)](_0x454f76);}[_0x1cc768(0x5ab)](){const _0x52b012=_0x1cc768;var _0x32e2b7;if(this[_0x52b012(0x14a)]=!0x0,((_0x32e2b7=this[_0x52b012(0x114)][_0x52b012(0x55d)]())==null?void 0x0:_0x32e2b7['getUnitId']())!==this[_0x52b012(0x4ed)])return;const _0x17b268=this['_injector'][_0x52b012(0x4f7)](Ie[_0x52b012(0x516)])[_0x52b012(0x4d0)]();Array[_0x52b012(0x194)](_0x17b268)&&_0x17b268['length']>0x0&&this[_0x52b012(0x391)](_0x17b268);}[_0x1cc768(0x5ce)](){const _0x3061e6=_0x1cc768;this[_0x3061e6(0x14a)]=!0x1;}};pt=es([me(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),me(0x3,a[_0x1cc768(0x2ca)](Dt)),me(0x4,a['Inject'](exports[_0x1cc768(0x1a6)])),me(0x5,a[_0x1cc768(0x2ca)](yt)),me(0x6,p[_0x1cc768(0x48d)]),me(0x7,a[_0x1cc768(0x3bd)]),me(0x8,a[_0x1cc768(0x11f)])],pt);var ns=Object['defineProperty'],ss=Object[_0x1cc768(0x263)],rs=(_0x2f9559,_0xe596e8,_0x4f4aa9,_0x163c4f)=>{const _0x687f3=_0x1cc768;for(var _0x256c01=_0x163c4f>0x1?void 0x0:_0x163c4f?ss(_0xe596e8,_0x4f4aa9):_0xe596e8,_0x4f5a3a=_0x2f9559[_0x687f3(0x31e)]-0x1,_0x228982;_0x4f5a3a>=0x0;_0x4f5a3a--)(_0x228982=_0x2f9559[_0x4f5a3a])&&(_0x256c01=(_0x163c4f?_0x228982(_0xe596e8,_0x4f4aa9,_0x256c01):_0x228982(_0x256c01))||_0x256c01);return _0x163c4f&&_0x256c01&&ns(_0xe596e8,_0x4f4aa9,_0x256c01),_0x256c01;},Te=(_0x4863c2,_0x530cfe)=>(_0x59e609,_0x4dbb23)=>_0x530cfe(_0x59e609,_0x4dbb23,_0x4863c2);const os=0x12c,as=0x64,cs=()=>{let _0x2fb50f=[],_0x20c830=!0x1;return _0x330d55=>{const _0x30efad=_0x3a60;_0x2fb50f[_0x30efad(0x102)](_0x330d55),_0x20c830||(_0x20c830=!0x0,setTimeout(()=>{const _0xc33a87=_0x30efad;_0x2fb50f[_0xc33a87(0x380)](_0x2b5d65=>_0x2b5d65()),_0x2fb50f=[],_0x20c830=!0x1;}));};};let mt=class extends a[_0x1cc768(0x35a)]{constructor(_0x2b9900,_0x34f7c3,_0x1c7217,_0x3abc6b,_0x24fbfe,_0x4d7366,_0x5e7fa9,_0x43942a){const _0x3c8b5b=_0x1cc768;super(),I(this,_0x3c8b5b(0x14a),!0x1),I(this,_0x3c8b5b(0x143),!0x1),I(this,_0x3c8b5b(0x4f8),new A[(_0x3c8b5b(0x118))](new Map())),I(this,_0x3c8b5b(0x3e7),this[_0x3c8b5b(0x4f8)]['asObservable']()),I(this,_0x3c8b5b(0x131),new A[(_0x3c8b5b(0x118))]([])),I(this,'roomMembers$',this[_0x3c8b5b(0x131)][_0x3c8b5b(0x154)](A[_0x3c8b5b(0x101)](os))),I(this,_0x3c8b5b(0x391),a[_0x3c8b5b(0x1b9)]((_0x26339b,_0x585b0b)=>{const _0x26346b=_0x3c8b5b,_0x7f35fe={'eventID':p['CollaborationEvent'][_0x26346b(0x59b)],'data':{'unitID':this['unitID'],'memberID':this[_0x26346b(0x15d)]['getMemberID'](),'selection':Mt[_0x26346b(0x283)](_0x26339b,_0x585b0b[_0x26346b(0x22c)])}};this[_0x26346b(0x15d)]['send'](_0x7f35fe,this[_0x26346b(0x4ed)]);},as)),(this['unitID']=_0x2b9900,this[_0x3c8b5b(0x15d)]=_0x34f7c3,this['_injector']=_0x1c7217,this[_0x3c8b5b(0x505)]=_0x3abc6b,this['_memberService']=_0x24fbfe,this['_univerInstanceService']=_0x4d7366,this['_commandService']=_0x5e7fa9,this[_0x3c8b5b(0x437)]=_0x43942a);}get['cursorInfo'](){const _0x4a52a0=_0x1cc768;return this[_0x4a52a0(0x4f8)]['getValue']();}get[_0x1cc768(0x14f)](){const _0x48a282=_0x1cc768;return this[_0x48a282(0x131)][_0x48a282(0x3b3)]();}[_0x1cc768(0x14c)](){const _0x4231fa=_0x1cc768;super[_0x4231fa(0x14c)](),this[_0x4231fa(0x4f8)][_0x4231fa(0x122)](new Map()),this[_0x4231fa(0x4f8)]['complete'](),this[_0x4231fa(0x131)]['next']([]),this[_0x4231fa(0x131)]['complete']();}[_0x1cc768(0x518)](){const _0x9883ff=_0x1cc768;this[_0x9883ff(0x143)]||(this['_init']=!0x0,this[_0x9883ff(0x15d)][_0x9883ff(0x272)]['pipe'](A[_0x9883ff(0x4cf)](this[_0x9883ff(0x36e)]))[_0x9883ff(0x556)](_0x393a6b=>{const _0x14230c=_0x9883ff;_0x393a6b===se['ONLINE']?this[_0x14230c(0x5ab)]():this[_0x14230c(0x5ce)]();}),this['_session'][_0x9883ff(0x3a0)]['pipe'](A[_0x9883ff(0x4cf)](this[_0x9883ff(0x36e)]))[_0x9883ff(0x556)](_0x413e26=>{const _0x21ee74=_0x9883ff,_0x11a873=_0x413e26[_0x21ee74(0x1c1)];_0x11a873===p[_0x21ee74(0x59c)][_0x21ee74(0x59b)]&&this['_onCursorUpdate'](_0x413e26),_0x11a873===p[_0x21ee74(0x59c)][_0x21ee74(0x52f)]&&this[_0x21ee74(0x4ad)](_0x413e26);}),this[_0x9883ff(0x492)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1af72c=>{const _0x1f7188=_0x9883ff;if(this[_0x1f7188(0x14a)]&&_0x1af72c['id']===k[_0x1f7188(0x4c3)]['id']&&_0x1af72c[_0x1f7188(0x530)][_0x1f7188(0x2f1)]===this[_0x1f7188(0x4ed)]){const _0x526aca=_0x1af72c[_0x1f7188(0x530)];this[_0x1f7188(0x391)](_0x526aca[_0x1f7188(0x291)],_0x526aca[_0x1f7188(0x49a)][0x0]);}})));}['_onCursorUpdate'](_0x2334a3){const _0x9f0f4=_0x1cc768;var _0x27a4f5,_0x140c18;const {memberID:_0x3fead9,selection:_0x318d32}=_0x2334a3[_0x9f0f4(0x48a)],{sheetName:_0x410ac5,range:_0x36f4fd}=Mt[_0x9f0f4(0x4e3)](_0x318d32),_0x2060c8={'name':(_0x140c18=(_0x27a4f5=this[_0x9f0f4(0x222)][_0x9f0f4(0x1ed)](this[_0x9f0f4(0x4ed)],_0x3fead9))==null?void 0x0:_0x27a4f5[_0x9f0f4(0x27c)])!=null?_0x140c18:_0x9f0f4(0x2f9),'range':this[_0x9f0f4(0x4ce)](_0x410ac5,_0x36f4fd),'sheetID':_0x410ac5,'color':this[_0x9f0f4(0x505)][_0x9f0f4(0x2ae)](_0x3fead9),'selection':_0x318d32},_0x4f4f46=this[_0x9f0f4(0x5b0)];_0x4f4f46[_0x9f0f4(0x31f)](_0x3fead9,_0x2060c8),this[_0x9f0f4(0x4f8)][_0x9f0f4(0x122)](_0x4f4f46);}[_0x1cc768(0x4ad)](_0x2efec1){const _0x24b9a7=_0x1cc768,{memberID:_0x224529}=_0x2efec1[_0x24b9a7(0x48a)],_0x51584c=this[_0x24b9a7(0x5b0)];_0x51584c['delete'](_0x224529),this[_0x24b9a7(0x4f8)]['next'](_0x51584c);}[_0x1cc768(0x4ce)](_0x5d1cd0,_0xf5a927){const _0x5b7559=_0x1cc768;var _0xffe094,_0x3d3769;const _0x52b426=(_0x3d3769=(_0xffe094=this[_0x5b7559(0x114)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0xffe094[_0x5b7559(0x14b)](_0x5d1cd0))==null?void 0x0:_0x3d3769[_0x5b7559(0x23c)]();return(_0x52b426==null?void 0x0:_0x52b426[_0x5b7559(0x4bd)](_0x531d7f=>a[_0x5b7559(0x395)][_0x5b7559(0x330)](_0x531d7f,_0xf5a927)))||_0xf5a927;}[_0x1cc768(0x492)](){const _0x7e790f=_0x1cc768,_0xb14d98=new a[(_0x7e790f(0x35d))](),_0x356014=cs(),_0x4914f7=()=>{const _0x3316de=_0x7e790f;_0xb14d98['dispose']();const _0x114c64=(_0x484411,_0x650a45,_0x34b3c4,_0x56d55c)=>{const _0x2cc639=_0x3a60;let _0x3d42c6=[];switch(_0x484411['id']){case k['EffectRefRangId'][_0x2cc639(0x468)]:{_0x3d42c6=k[_0x2cc639(0x168)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x15f)]:{_0x3d42c6=k[_0x2cc639(0x5a7)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x327)]:{_0x3d42c6=k[_0x2cc639(0x2be)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x5d2)]:{_0x3d42c6=k[_0x2cc639(0x100)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x1b7)]:{_0x3d42c6=k[_0x2cc639(0x264)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x1f6)]:{_0x3d42c6=k[_0x2cc639(0x1d6)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x58e)]:{_0x3d42c6=k[_0x2cc639(0x4b0)](_0x484411,_0x56d55c);break;}case k['EffectRefRangId'][_0x2cc639(0x270)]:{_0x3d42c6=k[_0x2cc639(0x467)](_0x484411,_0x56d55c);break;}case k[_0x2cc639(0x50d)][_0x2cc639(0x15c)]:{_0x3d42c6=k['handleIRemoveRow'](_0x484411,_0x56d55c);break;}}const _0x1bb114=k[_0x2cc639(0x349)](_0x3d42c6,_0x56d55c),_0xc2a468=this[_0x2cc639(0x5b0)][_0x2cc639(0x4f7)](_0x650a45);if(_0xc2a468&&_0x1bb114){const _0x36e3c2={..._0xc2a468,'range':_0x1bb114};this[_0x2cc639(0x5b0)][_0x2cc639(0x31f)](_0x650a45,_0x36e3c2),_0x356014(()=>{const _0x5a1625=_0x2cc639,_0x121174=this[_0x5a1625(0x437)]['registerRefRange'](_0x1bb114,_0x226fba=>(_0x121174[_0x5a1625(0x14c)](),_0x114c64(_0x226fba,_0x650a45,_0x34b3c4,_0x1bb114)));_0xb14d98[_0x5a1625(0x2dd)](_0x121174);});}return{'redos':[],'undos':[]};};this[_0x3316de(0x5b0)]['forEach']((_0x30f93d,_0x5a4d79)=>{const _0x45d490=_0x3316de,{range:_0x32b2f0,sheetID:_0x40fd73}=_0x30f93d,_0xb4c30=this['_refRangeService'][_0x45d490(0x2ed)](_0x32b2f0,_0x46efc5=>(_0xb4c30[_0x45d490(0x14c)](),_0x114c64(_0x46efc5,_0x5a4d79,_0x40fd73,_0x32b2f0)));_0xb14d98[_0x45d490(0x2dd)](_0xb4c30);});};this[_0x7e790f(0x27e)](a[_0x7e790f(0x329)](this['_cursorInfo$'][_0x7e790f(0x556)](()=>{_0x4914f7();})));}[_0x1cc768(0x5ab)](){const _0x14a79a=_0x1cc768;var _0x513069,_0x582065;if(this['_online']=!0x0,((_0x513069=this[_0x14a79a(0x114)]['getFocusedUnit']())==null?void 0x0:_0x513069[_0x14a79a(0x1f0)]())!==this[_0x14a79a(0x4ed)])return;const _0x432fca=(_0x582065=this['_injector'][_0x14a79a(0x4f7)](k['SheetsSelectionsService'])[_0x14a79a(0x1e1)]())==null?void 0x0:_0x582065[0x0],_0x54c2ab=this['_univerInstanceService'][_0x14a79a(0x32c)](a[_0x14a79a(0x1a7)][_0x14a79a(0x452)])['getActiveSheet']();_0x432fca&&_0x54c2ab&&this[_0x14a79a(0x391)](_0x54c2ab[_0x14a79a(0x4ab)](),_0x432fca);}[_0x1cc768(0x5ce)](){const _0x2d9f01=_0x1cc768;this[_0x2d9f01(0x14a)]=!0x1;}};mt=rs([Te(0x2,a['Inject'](a[_0x1cc768(0x4d2)])),Te(0x3,a[_0x1cc768(0x2ca)](Dt)),Te(0x4,a[_0x1cc768(0x2ca)](exports['MemberService'])),Te(0x5,a[_0x1cc768(0x3bd)]),Te(0x6,a[_0x1cc768(0x11f)]),Te(0x7,a[_0x1cc768(0x2ca)](k[_0x1cc768(0x4c1)]))],mt);var ls=Object[_0x1cc768(0x244)],hs=Object[_0x1cc768(0x263)],_s=(_0x51b0ca,_0x10fa93,_0x5d91ea,_0x2ba673)=>{for(var _0x4e7b2a=_0x2ba673>0x1?void 0x0:_0x2ba673?hs(_0x10fa93,_0x5d91ea):_0x10fa93,_0x369dfa=_0x51b0ca['length']-0x1,_0x4c2fca;_0x369dfa>=0x0;_0x369dfa--)(_0x4c2fca=_0x51b0ca[_0x369dfa])&&(_0x4e7b2a=(_0x2ba673?_0x4c2fca(_0x10fa93,_0x5d91ea,_0x4e7b2a):_0x4c2fca(_0x4e7b2a))||_0x4e7b2a);return _0x2ba673&&_0x4e7b2a&&ls(_0x10fa93,_0x5d91ea,_0x4e7b2a),_0x4e7b2a;},nt=(_0x372926,_0x37a669)=>(_0x7afccf,_0x1df256)=>_0x37a669(_0x7afccf,_0x1df256,_0x372926);let De=class extends a[_0x1cc768(0x35a)]{constructor(_0x4b359c,_0x39a0d4,_0x4d0c6a){const _0x528065=_0x1cc768;super(),I(this,_0x528065(0x181),new Map()),I(this,_0x528065(0x522),new A[(_0x528065(0x3f0))]()),(this[_0x528065(0x114)]=_0x4b359c,this['_injector']=_0x39a0d4,this[_0x528065(0x287)]=_0x4d0c6a,this[_0x528065(0x143)]());}[_0x1cc768(0x14c)](){const _0x7ebf31=_0x1cc768;super['dispose'](),this[_0x7ebf31(0x522)][_0x7ebf31(0x4e2)](),this[_0x7ebf31(0x181)]['forEach'](_0x78a58b=>_0x78a58b[_0x7ebf31(0x14c)]());}[_0x1cc768(0x147)](_0x4769e4){const _0x414f8f=_0x1cc768;return this[_0x414f8f(0x181)][_0x414f8f(0x50a)](_0x4769e4)?this[_0x414f8f(0x181)][_0x414f8f(0x4f7)](_0x4769e4)[_0x414f8f(0x3e7)]:this['_entityInit$'][_0x414f8f(0x154)](A[_0x414f8f(0x464)](_0x2636e8=>_0x2636e8['unitID']===_0x4769e4),A['switchMap'](_0x559fdf=>_0x559fdf[_0x414f8f(0x3e7)]));}[_0x1cc768(0x143)](){const _0x1f87de=_0x1cc768;this[_0x1f87de(0x114)][_0x1f87de(0x5ac)](a[_0x1f87de(0x1a7)][_0x1f87de(0x452)])[_0x1f87de(0x154)](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x556)](async _0x934ef=>{const _0x189ad7=_0x1f87de,_0x2d339a=_0x934ef[_0x189ad7(0x1f0)](),_0xd7fd4=await this['_startSheetCollabCursor'](_0x2d339a);this[_0x189ad7(0x522)][_0x189ad7(0x122)](_0xd7fd4),this[_0x189ad7(0x181)][_0x189ad7(0x31f)](_0x2d339a,_0xd7fd4);}),this['_univerInstanceService'][_0x1f87de(0x5ac)](a['UniverInstanceType']['UNIVER_DOC'])['pipe'](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x154)](A[_0x1f87de(0x464)](_0x598627=>!_0x598627['getUnitId']()[_0x1f87de(0x2cb)]('__')))['subscribe'](async _0x58085a=>{const _0x27c329=_0x1f87de,_0x260f01=_0x58085a[_0x27c329(0x1f0)](),_0x31ee07=await this['_startDocCollabCursor'](_0x260f01);this['_entityInit$'][_0x27c329(0x122)](_0x31ee07),this[_0x27c329(0x181)][_0x27c329(0x31f)](_0x260f01,_0x31ee07);}),A[_0x1f87de(0x57c)](this[_0x1f87de(0x114)]['getTypeOfUnitDisposed$'](a[_0x1f87de(0x1a7)][_0x1f87de(0x408)]),this[_0x1f87de(0x114)][_0x1f87de(0x3c3)](a[_0x1f87de(0x1a7)][_0x1f87de(0x452)]))[_0x1f87de(0x154)](A[_0x1f87de(0x4cf)](this[_0x1f87de(0x36e)]))[_0x1f87de(0x556)](_0x240cf2=>{const _0x4a7c7c=_0x1f87de,_0x134d85=_0x240cf2[_0x4a7c7c(0x1f0)](),_0x45279f=this[_0x4a7c7c(0x181)][_0x4a7c7c(0x4f7)](_0x134d85);_0x45279f&&(_0x45279f[_0x4a7c7c(0x14c)](),this[_0x4a7c7c(0x181)][_0x4a7c7c(0x24c)](_0x134d85));});}async['_startSheetCollabCursor'](_0x35ccab){const _0x2c7f1e=_0x1cc768,_0x3c5d7a=await this['_collabSessionService'][_0x2c7f1e(0x186)](_0x35ccab),_0xd699fd=this[_0x2c7f1e(0x310)][_0x2c7f1e(0x30a)](mt,_0x35ccab,_0x3c5d7a);return _0xd699fd[_0x2c7f1e(0x518)](),_0xd699fd;}async[_0x1cc768(0x1df)](_0x137884){const _0x580e52=_0x1cc768,_0x3939d2=await this[_0x580e52(0x287)]['requireSession'](_0x137884),_0x524d32=this[_0x580e52(0x310)][_0x580e52(0x30a)](pt,_0x137884,_0x3939d2);return _0x524d32[_0x580e52(0x518)](),_0x524d32;}};De=_s([nt(0x0,a[_0x1cc768(0x3bd)]),nt(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),nt(0x2,a['Inject'](exports['CollaborationSessionService']))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x4eff5e,_0x28dddb){const _0x496f12=_0x1cc768;let {radius:_0x53516,width:_0x4a98be,height:_0x55a284}=_0x28dddb;_0x53516=_0x53516!=null?_0x53516:0x0,_0x4a98be=_0x4a98be!=null?_0x4a98be:0x1e,_0x55a284=_0x55a284!=null?_0x55a284:0x1e;let _0x3ca8d7=0x0,_0x42dd5b=0x0,_0x5e0832=0x0;_0x3ca8d7=_0x42dd5b=_0x5e0832=Math[_0x496f12(0x240)](_0x53516,_0x4a98be/0x2,_0x55a284/0x2),_0x4eff5e[_0x496f12(0x38d)](),_0x4eff5e['moveTo'](_0x3ca8d7,0x0),_0x4eff5e['lineTo'](_0x4a98be-_0x42dd5b,0x0),_0x4eff5e['arc'](_0x4a98be-_0x42dd5b,_0x42dd5b,_0x42dd5b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4eff5e[_0x496f12(0x28a)](_0x4a98be,_0x55a284-_0x5e0832),_0x4eff5e[_0x496f12(0x32b)](_0x4a98be-_0x5e0832,_0x55a284-_0x5e0832,_0x5e0832,0x0,Math['PI']/0x2,!0x1),_0x4eff5e[_0x496f12(0x28a)](0x0,_0x55a284),_0x4eff5e['lineTo'](0x0,_0x3ca8d7),_0x4eff5e['arc'](_0x3ca8d7,_0x3ca8d7,_0x3ca8d7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4eff5e[_0x496f12(0x388)](),_0x28dddb['fill']&&(_0x4eff5e[_0x496f12(0x30b)](),_0x4eff5e[_0x496f12(0x235)]=_0x28dddb[_0x496f12(0x524)],_0x28dddb[_0x496f12(0x171)]==='evenodd'?_0x4eff5e[_0x496f12(0x524)]('evenodd'):_0x4eff5e['fill'](),_0x4eff5e[_0x496f12(0x447)]());}class Xe extends K[_0x1cc768(0x562)]{constructor(_0x1fbc3a,_0x4a1bf7){const _0x4e1fb1=_0x1cc768;super(_0x1fbc3a,_0x4a1bf7),I(this,_0x4e1fb1(0x2ef)),I(this,_0x4e1fb1(0x28e)),(this['color']=_0x4a1bf7==null?void 0x0:_0x4a1bf7[_0x4e1fb1(0x2ef)],this[_0x4e1fb1(0x28e)]=_0x4a1bf7==null?void 0x0:_0x4a1bf7[_0x4e1fb1(0x28e)]);}static[_0x1cc768(0x4e9)](_0x108246,_0xe26591){const _0x54cc7b=_0x1cc768,{text:_0x317c14,color:_0x1a33b1}=_0xe26591;_0x108246[_0x54cc7b(0x30b)](),_0x108246[_0x54cc7b(0x5b7)]=_0x54cc7b(0x4f9);const _0x23a439=_0x108246[_0x54cc7b(0x4ec)](_0x317c14)[_0x54cc7b(0x38e)],_0x1951eb=Math[_0x54cc7b(0x240)](_0x23a439+0x2*st,Wt);ds(_0x108246,{'height':Le,'radius':0x4,'width':_0x1951eb,'fill':_0x1a33b1,'evented':!0x1}),_0x108246[_0x54cc7b(0x235)]='#FFF';const _0x1ffe41=st,_0x303068=Le-us,_0xb4a171=Wt-0x2*st;if(_0x23a439>_0xb4a171){let _0x6286d7='',_0xe1fa20=0x0;for(const _0x51ded5 of _0x317c14){const _0xe22b96=_0x108246[_0x54cc7b(0x4ec)](_0x51ded5)[_0x54cc7b(0x38e)];if(_0xe1fa20+_0xe22b96<=_0xb4a171-_0x108246[_0x54cc7b(0x4ec)](_0x54cc7b(0x298))[_0x54cc7b(0x38e)])_0x6286d7+=_0x51ded5,_0xe1fa20+=_0xe22b96;else{_0x6286d7+='...';break;}}_0x108246[_0x54cc7b(0x42f)](_0x6286d7,_0x1ffe41,_0x303068);}else _0x108246['fillText'](_0x317c14,_0x1ffe41,_0x303068);_0x108246['restore']();}[_0x1cc768(0x2fe)](_0x15d33c){Xe['drawWith'](_0x15d33c,this);}}const rt=_0x1cc768(0x1ad),fs=_0x1cc768(0x233),vs=_0x1cc768(0x58b),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x1cc768(0x1e8);class Ft{constructor(_0xe5d6cc,_0x46da3b,_0x2f5837,_0x39f0c3){const _0x24fe24=_0x1cc768;I(this,_0x24fe24(0x1ae),[]),I(this,_0x24fe24(0x392),null),I(this,_0x24fe24(0x2ad),null),I(this,_0x24fe24(0x132),null),I(this,_0x24fe24(0x48f),null),I(this,_0x24fe24(0x1b3),null),(this[_0x24fe24(0x2a2)]=_0xe5d6cc,this[_0x24fe24(0x3cb)]=_0x46da3b,this[_0x24fe24(0x22e)]=_0x2f5837,this[_0x24fe24(0x40b)]=_0x39f0c3,this['_render']());}set[_0x1cc768(0x5bb)](_0x56574d){const _0x178289=_0x1cc768;_0x56574d?(this[_0x178289(0x132)]&&this[_0x178289(0x132)]['hide'](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x178289(0x132)]&&this[_0x178289(0x132)][_0x178289(0x242)](),this[_0x178289(0x2ad)]&&this[_0x178289(0x2ad)]['hide']());}['dispose'](){const _0x48bf24=_0x1cc768;for(const _0x32a53d of this[_0x48bf24(0x1ae)])_0x32a53d[_0x48bf24(0x14c)]();this[_0x48bf24(0x2ad)]&&this['_textBubble'][_0x48bf24(0x14c)](),this['_anchorDot']&&this[_0x48bf24(0x132)][_0x48bf24(0x14c)](),this[_0x48bf24(0x392)]&&this[_0x48bf24(0x392)][_0x48bf24(0x14c)](),this[_0x48bf24(0x1b3)]&&this[_0x48bf24(0x1b3)]();}['_render'](){const _0x1ee5e7=_0x1cc768;var _0x2b87c5;const {_docSkeleton:_0x14e0cd,_document:_0xe2ba35}=this,{color:_0x571d10,name:_0x8f1d07,ranges:_0x14b5ac}=this[_0x1ee5e7(0x2a2)],_0x551d84=_0xe2ba35['getOffsetConfig'](),{docsLeft:_0x4d92f0,docsTop:_0x5421ec}=_0x551d84,_0x5714c8=new J['NodePositionConvertToCursor'](_0x551d84,_0x14e0cd);for(const {startOffset:_0x34dd3b,endOffset:_0x36a143,rangeType:_0x425674,segmentId:_0x22d86d,segmentPage:_0x1b8c07,collapsed:_0x2a8cd8,isActive:_0x1b359e}of _0x14b5ac){const _0x897d79=_0x14e0cd[_0x1ee5e7(0x25c)](_0x34dd3b,!0x0,_0x22d86d,_0x1b8c07);let _0x3c34b4=_0x14e0cd['findNodePositionByCharIndex'](_0x36a143,!0x0,_0x22d86d,_0x1b8c07);if(_0x3c34b4==null&&(_0x3c34b4=_0x14e0cd[_0x1ee5e7(0x25c)](_0x36a143-0x1,!0x1,_0x22d86d,_0x1b8c07)),_0x1b359e){const {contentBoxPointGroup:_0x18e107}=_0x5714c8['getRangePointData'](_0x3c34b4,_0x3c34b4);if(_0x18e107[_0x1ee5e7(0x31e)]===0x0)continue;this[_0x1ee5e7(0x397)](_0x571d10,_0x18e107,_0x4d92f0,_0x5421ec,_0x8f1d07),this[_0x1ee5e7(0x1b3)]=this[_0x1ee5e7(0x237)]();}if(_0x897d79&&_0x3c34b4){if(_0x425674===a['DOC_RANGE_TYPE'][_0x1ee5e7(0x5a9)]){const _0x5b9fe0=new J['NodePositionConvertToRectRange'](_0x551d84,_0x14e0cd),{pointGroup:_0x51e92d}=(_0x2b87c5=_0x5b9fe0['getRangePointData'](_0x897d79,_0x3c34b4))!=null?_0x2b87c5:{};if(_0x51e92d==null||_0x51e92d[_0x1ee5e7(0x31e)]===0x0)continue;this[_0x1ee5e7(0x2a1)](_0x571d10,_0x51e92d,_0x4d92f0,_0x5421ec);}else{if(!_0x2a8cd8){const {borderBoxPointGroup:_0x3ede25}=_0x5714c8[_0x1ee5e7(0x1f3)](_0x897d79,_0x3c34b4);if(_0x3ede25['length']===0x0)continue;this['_drawTextRange'](_0x571d10,_0x3ede25,_0x4d92f0,_0x5421ec);}}}}}[_0x1cc768(0x397)](_0x2a057c,_0x217d86,_0x543dcd,_0x132e94,_0x169ad6){const _0x521689=_0x1cc768,_0x340292=this['_getAnchorBounding'](_0x217d86),{left:_0x29a3c1,top:_0x4b450e,height:_0x475e18}=_0x340292,_0x5ad313=this['_getScale'](),_0xc0be78=ps/_0x5ad313,_0x13f4b8=new K[(_0x521689(0x457))](rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94,'height':_0x475e18,'width':Ss,'fill':_0x2a057c||K[_0x521689(0x111)](a[_0x521689(0x4c4)][_0x521689(0x580)],0x0),'strokeWidth':_0xc0be78,'stroke':ms,'evented':!0x0});this['_anchor']=_0x13f4b8,this[_0x521689(0x3cb)][_0x521689(0x319)](_0x13f4b8,J[_0x521689(0x2e0)]);const _0x3092b8=new K[(_0x521689(0x457))](rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94-ot/0x2,'height':ot,'width':ot,'fill':_0x2a057c||K[_0x521689(0x111)](a['COLORS'][_0x521689(0x580)],0x0),'strokeWidth':0x0,'stroke':_0x2a057c||K[_0x521689(0x111)](a[_0x521689(0x4c4)]['black'],0x0),'evented':!0x1});this[_0x521689(0x132)]=_0x3092b8,this[_0x521689(0x3cb)][_0x521689(0x319)](_0x3092b8,J[_0x521689(0x2e0)]);const _0xf98ac7=new Xe(rt+a[_0x521689(0x369)][_0x521689(0x390)](Ue),{'left':_0x29a3c1+_0x543dcd-_0xc0be78,'top':_0x4b450e+_0x132e94-Le,'text':_0x169ad6,'color':_0x2a057c});this[_0x521689(0x2ad)]=_0xf98ac7,this[_0x521689(0x3cb)][_0x521689(0x319)](_0xf98ac7,J[_0x521689(0x2e0)]),this[_0x521689(0x5bb)]=!0x1;}[_0x1cc768(0x237)](){const _0x19509b=_0x1cc768,_0x1e2b8c=this[_0x19509b(0x392)][_0x19509b(0x57e)][_0x19509b(0x4d6)](()=>{const _0x43af7f=_0x19509b;this[_0x43af7f(0x5bb)]=!0x0;}),_0x326a5e=this[_0x19509b(0x392)][_0x19509b(0x2f0)][_0x19509b(0x4d6)](()=>{const _0x642a4d=_0x19509b;this[_0x642a4d(0x48f)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x4b1aab=_0x642a4d;this[_0x4b1aab(0x5bb)]=!0x1;},0x7d0);});return()=>{const _0x996721=_0x19509b;_0x1e2b8c[_0x996721(0x1ca)](),_0x326a5e[_0x996721(0x1ca)]();};}[_0x1cc768(0x3f4)](_0xb446f9,_0x5abf70,_0x5ec0e7,_0x5dbd69){const _0x4c7ee8=_0x1cc768,_0x494784=new a[(_0x4c7ee8(0x409))](_0xb446f9)['setAlpha'](0.2)[_0x4c7ee8(0x384)](),_0x4b5ddf=new K[(_0x4c7ee8(0x47d))](fs+a[_0x4c7ee8(0x369)][_0x4c7ee8(0x390)](Ue),{'pointsGroup':_0x5abf70,'fill':_0x494784||K[_0x4c7ee8(0x111)](a[_0x4c7ee8(0x4c4)]['black'],0.2),'left':_0x5ec0e7,'top':_0x5dbd69,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c7ee8(0x1ae)][_0x4c7ee8(0x102)](_0x4b5ddf),this[_0x4c7ee8(0x3cb)][_0x4c7ee8(0x319)](_0x4b5ddf,J[_0x4c7ee8(0x2e0)]);}[_0x1cc768(0x2a1)](_0xb0c066,_0x4b328c,_0x1ebd26,_0x1f202b){const _0x255a71=_0x1cc768,_0x507886=new a[(_0x255a71(0x409))](_0xb0c066)[_0x255a71(0x249)](0.2)[_0x255a71(0x384)](),_0x7591f3=new K[(_0x255a71(0x47d))](vs+a[_0x255a71(0x369)]['generateRandomId'](Ue),{'pointsGroup':_0x4b328c,'fill':_0x507886||K[_0x255a71(0x111)](a['COLORS'][_0x255a71(0x580)],0.2),'left':_0x1ebd26,'top':_0x1f202b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x255a71(0x1ae)][_0x255a71(0x102)](_0x7591f3),this[_0x255a71(0x3cb)][_0x255a71(0x319)](_0x7591f3,J[_0x255a71(0x2e0)]);}[_0x1cc768(0x2fd)](_0x44473e){const _0x514bc0=_0x44473e[0x0],_0x19c246=_0x514bc0[0x0],_0x31265e=_0x514bc0[0x2],{x:_0x25d0cf,y:_0x7c7875}=_0x19c246,{x:_0xfd26f1,y:_0x1edf5f}=_0x31265e;return{'left':_0x25d0cf,'top':_0x7c7875,'width':_0xfd26f1-_0x25d0cf,'height':_0x1edf5f-_0x7c7875};}[_0x1cc768(0x339)](){const _0x12ab5c=_0x1cc768,{scaleX:_0x5f49d3,scaleY:_0x3934b1}=this[_0x12ab5c(0x3cb)][_0x12ab5c(0x142)]();return Math[_0x12ab5c(0x1a8)](_0x5f49d3,_0x3934b1);}}var gs=Object['defineProperty'],Is=Object[_0x1cc768(0x263)],Cs=(_0x2df127,_0x225c22,_0xb87fea,_0x36b73c)=>{for(var _0x2c166e=_0x36b73c>0x1?void 0x0:_0x36b73c?Is(_0x225c22,_0xb87fea):_0x225c22,_0x4ecaeb=_0x2df127['length']-0x1,_0x1daf70;_0x4ecaeb>=0x0;_0x4ecaeb--)(_0x1daf70=_0x2df127[_0x4ecaeb])&&(_0x2c166e=(_0x36b73c?_0x1daf70(_0x225c22,_0xb87fea,_0x2c166e):_0x1daf70(_0x2c166e))||_0x2c166e);return _0x36b73c&&_0x2c166e&&gs(_0x225c22,_0xb87fea,_0x2c166e),_0x2c166e;},je=(_0x2f655a,_0x311c82)=>(_0x606c49,_0x6869cd)=>_0x311c82(_0x606c49,_0x6869cd,_0x2f655a);let gt=class extends a[_0x1cc768(0x35a)]{constructor(_0x4f333a,_0x3eadf6,_0x5697a7,_0x2eb292,_0x1b0b12){const _0x3290b5=_0x1cc768;super(),I(this,_0x3290b5(0x346),[]),I(this,_0x3290b5(0x261),[]),(this[_0x3290b5(0x5c0)]=_0x4f333a,this[_0x3290b5(0x43a)]=_0x3eadf6,this[_0x3290b5(0x582)]=_0x5697a7,this[_0x3290b5(0x134)]=_0x2eb292,this[_0x3290b5(0x2ee)]=_0x1b0b12,this[_0x3290b5(0x143)]());}[_0x1cc768(0x143)](){const _0x32eb8b=_0x1cc768,_0x4b9571=this[_0x32eb8b(0x5c0)][_0x32eb8b(0x2f1)],_0x265875=this[_0x32eb8b(0x43a)];this[_0x32eb8b(0x27e)](A[_0x32eb8b(0x34f)]([this['_collabCursorController'][_0x32eb8b(0x147)](_0x4b9571),this['_themeService'][_0x32eb8b(0x1e2)]])[_0x32eb8b(0x154)](V['map'](([_0x37ba75,_0x10e1bb])=>({'skeleton':_0x265875[_0x32eb8b(0x1da)](),'cursors':[..._0x37ba75[_0x32eb8b(0x3c9)]()][_0x32eb8b(0x3fe)](_0x265e75=>({..._0x265e75,'color':_0x10e1bb[_0x265e75[_0x32eb8b(0x2ef)]]}))})))[_0x32eb8b(0x556)](_0x502ad9=>{const _0x5f533d=_0x32eb8b;if(this[_0x5f533d(0x3d2)](),_0x502ad9){const {skeleton:_0xa4a4a3,cursors:_0x27caa4}=_0x502ad9;this[_0x5f533d(0x355)](_0xa4a4a3,_0x27caa4);}})),this[_0x32eb8b(0x33d)](),this[_0x32eb8b(0x22a)]();}[_0x1cc768(0x355)](_0x4532f3,_0x2336d0){const _0x248da9=_0x1cc768,{scene:_0x254867,mainComponent:_0x1ca02e}=this['_context'],_0x225d0b=_0x2336d0['map'](_0x244923=>new Ft(_0x244923,_0x254867,_0x4532f3,_0x1ca02e));this['_cursorShapes']=_0x225d0b,this[_0x248da9(0x261)]=_0x2336d0;}[_0x1cc768(0x47e)](){const _0x3e3b1b=_0x1cc768;this[_0x3e3b1b(0x3d2)]();const {scene:_0x2293f1,mainComponent:_0x1bd200}=this[_0x3e3b1b(0x5c0)],_0x5df984=this['_docSkeletonManagerService'][_0x3e3b1b(0x1da)](),_0x2fd1ca=this[_0x3e3b1b(0x261)][_0x3e3b1b(0x130)](_0x1d6be1=>new Ft(_0x1d6be1,_0x2293f1,_0x5df984,_0x1bd200));this['_cursorShapes']=_0x2fd1ca;}['_removeCollabCursors'](){const _0x343185=_0x1cc768;this[_0x343185(0x346)][_0x343185(0x380)](_0xd2654d=>_0xd2654d[_0x343185(0x14c)]()),this['_cursorShapes']=[];}[_0x1cc768(0x22a)](){const _0x4db03b=_0x1cc768,_0x1b283a=[J['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x4db03b(0x134)][_0x4db03b(0x15b)](_0x1ff6c7=>{const _0x440b4a=_0x4db03b;_0x1b283a['includes'](_0x1ff6c7['id'])&&_0x1ff6c7['params'][_0x440b4a(0x2f1)]===this['_context'][_0x440b4a(0x2f1)]&&this[_0x440b4a(0x47e)]();}));}[_0x1cc768(0x33d)](){const _0x3d6a74=_0x1cc768;this[_0x3d6a74(0x27e)](a['fromEventSubject'](this['_context']['engine'][_0x3d6a74(0x439)])[_0x3d6a74(0x154)](V[_0x3d6a74(0x464)](_0x67207c=>_0x67207c[_0x3d6a74(0x398)]===K[_0x3d6a74(0x3ad)][_0x3d6a74(0x1f8)]),V[_0x3d6a74(0x183)](0x10))['subscribe'](()=>{const _0x17ad64=_0x3d6a74;this[_0x17ad64(0x47e)]();}));}};gt=Cs([je(0x1,a['Inject'](Ie[_0x1cc768(0x5ad)])),je(0x2,a[_0x1cc768(0x2ca)](De)),je(0x3,a[_0x1cc768(0x11f)]),je(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x3f6)]))],gt);const Es=0x1,bs=1.5;class Ii extends K[_0x1cc768(0x562)]{constructor(_0x13fba2,_0xe6cb37){const _0x1ad85d=_0x1cc768;super(_0x13fba2,_0xe6cb37),I(this,'_color'),I(this,_0x1ad85d(0x286),!0x1),I(this,_0x1ad85d(0x32a)),I(this,_0x1ad85d(0x417),''),I(this,_0x1ad85d(0x156),_0x1ad85d(0x13c)),I(this,_0x1ad85d(0x3d6)),(_0xe6cb37&&this['setShapeProps'](_0xe6cb37),this[_0x1ad85d(0x57e)][_0x1ad85d(0x4d6)](()=>this[_0x1ad85d(0x11e)]({'hovered':!0x0})),this[_0x1ad85d(0x2f0)][_0x1ad85d(0x4d6)](()=>this[_0x1ad85d(0x11e)]({'hovered':!0x1})));}['setShapeProps'](_0x487fe1){const _0x4c2192=_0x1cc768;var _0x311884,_0x377030,_0x32a501,_0x109b1e,_0x44194b,_0x5ac2e8;this[_0x4c2192(0x251)]=(_0x311884=_0x487fe1[_0x4c2192(0x2ef)])!=null?_0x311884:this[_0x4c2192(0x251)],this[_0x4c2192(0x286)]=(_0x377030=_0x487fe1[_0x4c2192(0x161)])!=null?_0x377030:this[_0x4c2192(0x286)],this[_0x4c2192(0x32a)]=(_0x32a501=_0x487fe1[_0x4c2192(0x22c)])!=null?_0x32a501:this[_0x4c2192(0x32a)],this['_name']=(_0x109b1e=_0x487fe1[_0x4c2192(0x27c)])!=null?_0x109b1e:this[_0x4c2192(0x417)],this['_labelPosition']=(_0x44194b=_0x487fe1[_0x4c2192(0x195)])!=null?_0x44194b:this['_labelPosition'],this[_0x4c2192(0x3d6)]=(_0x5ac2e8=_0x487fe1[_0x4c2192(0x5cd)])!=null?_0x5ac2e8:this[_0x4c2192(0x3d6)],this[_0x4c2192(0x58d)]({'width':_0x487fe1[_0x4c2192(0x38e)],'height':_0x487fe1[_0x4c2192(0x105)]});}[_0x1cc768(0x4ff)](_0x318699){const _0x54fc87=_0x1cc768,{row:_0x3253ca,column:_0x46b457}=_0x318699;if(_0x3253ca>=this[_0x54fc87(0x32a)][_0x54fc87(0x29d)]&&_0x3253ca<=this[_0x54fc87(0x32a)][_0x54fc87(0x27b)]&&_0x46b457>=this[_0x54fc87(0x32a)][_0x54fc87(0x557)]&&_0x46b457<=this[_0x54fc87(0x32a)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x54fc87(0x11e)]({'hovered':!0x1});}[_0x1cc768(0x537)](_0x3cbac6){return!0x1;}['_draw'](_0x4c43e7){const _0x3c971d=_0x1cc768;K[_0x3c971d(0x457)]['drawWith'](_0x4c43e7,{'width':this['width'],'height':this[_0x3c971d(0x105)],'strokeWidth':bs,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3c971d(0x3d6)]}),this[_0x3c971d(0x286)]&&(_0x4c43e7[_0x3c971d(0x30b)](),_0x4c43e7[_0x3c971d(0x429)](0x1,0x0,0x0,0x1,this['width'],this[_0x3c971d(0x156)]===_0x3c971d(0x3ee)?0x0:-Le),Xe[_0x3c971d(0x4e9)](_0x4c43e7,{'text':this[_0x3c971d(0x417)],'color':this[_0x3c971d(0x251)]}),_0x4c43e7['restore']());}}var Ts=Object[_0x1cc768(0x244)],Rs=Object[_0x1cc768(0x263)],ys=(_0x1034fe,_0x1663c6,_0x3aca66,_0x4130ea)=>{const _0x56913e=_0x1cc768;for(var _0x38ac43=_0x4130ea>0x1?void 0x0:_0x4130ea?Rs(_0x1663c6,_0x3aca66):_0x1663c6,_0x17995c=_0x1034fe[_0x56913e(0x31e)]-0x1,_0x2828e4;_0x17995c>=0x0;_0x17995c--)(_0x2828e4=_0x1034fe[_0x17995c])&&(_0x38ac43=(_0x4130ea?_0x2828e4(_0x1663c6,_0x3aca66,_0x38ac43):_0x2828e4(_0x38ac43))||_0x38ac43);return _0x4130ea&&_0x38ac43&&Ts(_0x1663c6,_0x3aca66,_0x38ac43),_0x38ac43;},at=(_0x4570e6,_0x24988b)=>(_0x401e3f,_0x5ee029)=>_0x24988b(_0x401e3f,_0x5ee029,_0x4570e6);const Os=0x1389;let It=class extends a[_0x1cc768(0x35a)]{constructor(_0x328865,_0x3e8967,_0x27b83e,_0x251c0e){const _0x2a4bc6=_0x1cc768;super(),I(this,'_cursors',new Set()),I(this,_0x2a4bc6(0x256),null),(this[_0x2a4bc6(0x5c0)]=_0x328865,this[_0x2a4bc6(0x405)]=_0x3e8967,this[_0x2a4bc6(0x582)]=_0x27b83e,this[_0x2a4bc6(0x2ee)]=_0x251c0e,this[_0x2a4bc6(0x143)]());}[_0x1cc768(0x143)](){const _0x2728ae=_0x1cc768;this['_sheetSkeletonManagerService'][_0x2728ae(0x141)][_0x2728ae(0x154)](V[_0x2728ae(0x4cf)](this['dispose$']),V['switchMap'](_0x8f39ea=>{const _0x1d35b6=_0x2728ae;if(_0x8f39ea){const _0x3e2d70=_0x8f39ea[_0x1d35b6(0x4eb)];return A[_0x1d35b6(0x34f)](this[_0x1d35b6(0x582)][_0x1d35b6(0x147)](this[_0x1d35b6(0x5c0)][_0x1d35b6(0x2f1)]),this[_0x1d35b6(0x2ee)][_0x1d35b6(0x1e2)])['pipe'](V['map'](([_0x19b5bb,_0x36243b])=>{const _0xf103fc=_0x1d35b6,_0x1683ad=new Map();return _0x19b5bb[_0xf103fc(0x380)]((_0x18b116,_0x5dfa1c)=>{const _0x5dbd5d=_0xf103fc;if(_0x18b116[_0x5dbd5d(0x53a)]===_0x3e2d70){const _0x3bec2c={..._0x18b116};_0x3bec2c['color']=_0x36243b[_0x18b116[_0x5dbd5d(0x2ef)]],_0x1683ad['set'](_0x5dfa1c,_0x3bec2c);}}),{'skeleton':_0x8f39ea,'cursors':_0x1683ad};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x2728ae(0x556)](({skeleton:_0x3aa845,cursors:_0x3349aa})=>{this['_removeCollabCursors'](),_0x3aa845&&this['_updateCollabCursors'](_0x3aa845,_0x3349aa);}),this['_sheetSkeletonManagerService'][_0x2728ae(0x141)]['subscribe'](_0x12561d=>{const _0x25c8ec=_0x2728ae;if(_0x12561d==null)return;const {skeleton:_0x1650a9}=_0x12561d,{scene:_0x298111}=this[_0x25c8ec(0x5c0)];_0x298111[_0x25c8ec(0x3be)]['subscribeEvent'](a['debounce'](_0x39d3a8=>{const _0x5432ea=_0x25c8ec;var _0x239e60,_0x360162;const {offsetX:_0x4c2a37,offsetY:_0x23063d}=_0x39d3a8,{x:_0x3bf2c3,y:_0x107d73}=_0x298111[_0x5432ea(0x565)](K[_0x5432ea(0x214)]['FromArray']([_0x4c2a37,_0x23063d])),{scaleX:_0x4db5bd,scaleY:_0xc668c2}=_0x298111[_0x5432ea(0x142)](),_0x16f705=_0x298111[_0x5432ea(0x5d3)](ye[_0x5432ea(0x28f)]['VIEW_MAIN']),_0x1aec71=_0x298111['getVpScrollXYInfoByPosToVp'](K[_0x5432ea(0x214)][_0x5432ea(0x3b1)]([_0x3bf2c3,_0x107d73]),_0x16f705),_0x3dc15c=_0x1650a9[_0x5432ea(0x378)](_0x4c2a37,_0x23063d,_0x4db5bd,_0xc668c2,_0x1aec71);((_0x239e60=this[_0x5432ea(0x256)])==null?void 0x0:_0x239e60[_0x5432ea(0x3d7)])===_0x3dc15c[_0x5432ea(0x3d7)]&&((_0x360162=this[_0x5432ea(0x256)])==null?void 0x0:_0x360162['row'])===_0x3dc15c[_0x5432ea(0x3a4)]||this['_cursors']['forEach'](_0x2c1196=>{const _0x5a1e79=_0x5432ea;_0x2c1196[_0x5a1e79(0x4ff)](_0x3dc15c);});},0x64));});}[_0x1cc768(0x355)](_0x447393,_0x3d003f){const _0x49af31=_0x1cc768;var _0x140be5;const _0x2e96d5=(_0x140be5=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x140be5[_0x49af31(0x34a)];if(!_0x2e96d5)return;const _0x499ba8=this[_0x49af31(0x52d)]();if(!_0x499ba8)return;this['_cursors'][_0x49af31(0x380)](_0x153587=>{_0x153587['makeDirty']();});const {scene:_0x340dc6}=_0x499ba8,_0x41a10e=Ds(Array[_0x49af31(0x491)](_0x3d003f[_0x49af31(0x3c9)]()))[_0x49af31(0x130)](_0x560037=>{const {color:_0x4b5ea5,range:_0x27f2e1,name:_0x22ec84,selection:_0xf12005,sheetID:_0x130a88}=_0x560037,{startColumn:_0x55b221,startRow:_0x582f95,endColumn:_0x1df28d,endRow:_0x4cbded}=_0x27f2e1,_0x1702cf=ye['getCoordByCell'](_0x582f95,_0x55b221,_0x340dc6,_0x2e96d5),_0x4eec03=ye['getCoordByCell'](_0x4cbded,_0x1df28d,_0x340dc6,_0x2e96d5),{columnHeaderHeightAndMarginTop:_0x1bc33d}=_0x2e96d5,{startX:_0x39d836,startY:_0x1c6cad}=_0x1702cf,{endX:_0xd0806e,endY:_0x43281e}=_0x4eec03,_0xb9e5a9=_0xd0806e-_0x39d836,_0xa98f6d=_0x43281e-_0x1c6cad,_0x1b7f01={'labelPosition':_0x1c6cad-_0x1bc33d>=Le?'top':'bottom','sheetID':_0x130a88,'range':_0x27f2e1,'color':_0x4b5ea5,'name':_0x22ec84,'selection':_0xf12005,'left':_0x39d836,'top':_0x1c6cad,'width':_0xb9e5a9,'height':_0xa98f6d,'evented':!0x1,'zIndex':Os};return new Ii(_0x22ec84,_0x1b7f01);});_0x340dc6['addObjects'](_0x41a10e,Es),this[_0x49af31(0x261)]=new Set(_0x41a10e);}[_0x1cc768(0x3d2)](){const _0x4f7461=_0x1cc768;var _0xc81533;(_0xc81533=this[_0x4f7461(0x261)])==null||_0xc81533[_0x4f7461(0x380)](_0x244460=>_0x244460[_0x4f7461(0x14c)]());}[_0x1cc768(0x52d)](){const _0x3629b9=_0x1cc768;return ye[_0x3629b9(0x4b5)](this[_0x3629b9(0x5c0)][_0x3629b9(0x164)],this[_0x3629b9(0x5c0)]);}};function _0x3a60(_0x3732ce,_0x59d15b){const _0x4d1c53=_0x4d1c();return _0x3a60=function(_0x3a60c3,_0x166701){_0x3a60c3=_0x3a60c3-0xfd;let _0x3bb216=_0x4d1c53[_0x3a60c3];return _0x3bb216;},_0x3a60(_0x3732ce,_0x59d15b);}It=ys([at(0x1,a[_0x1cc768(0x2ca)](ye['SheetSkeletonManagerService'])),at(0x2,a[_0x1cc768(0x2ca)](De)),at(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x3f6)]))],It);function Ds(_0x490f55){const _0x3f9ffc=_0x1cc768,_0x21661d=new Map();return _0x490f55['forEach'](_0x43a886=>{const _0x5d4d0b=_0x3a60;if(_0x21661d['has'](_0x43a886[_0x5d4d0b(0x40a)])){const _0x1f2a0a=_0x21661d[_0x5d4d0b(0x4f7)](_0x43a886[_0x5d4d0b(0x40a)]);_0x1f2a0a[_0x5d4d0b(0x27c)]+=',\x20'+_0x43a886[_0x5d4d0b(0x27c)];}else _0x21661d[_0x5d4d0b(0x31f)](_0x43a886['selection'],_0x43a886);}),Array[_0x3f9ffc(0x491)](_0x21661d[_0x3f9ffc(0x3c9)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x4ddad4){const _0x412eb8=_0x1cc768;return _0x4ddad4&&_0x4ddad4['__esModule']&&Object[_0x412eb8(0x396)]['hasOwnProperty'][_0x412eb8(0x3a6)](_0x4ddad4,_0x412eb8(0x46c))?_0x4ddad4[_0x412eb8(0x46c)]:_0x4ddad4;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x1cc768(0x5c9)]('react.element'),Us=Symbol[_0x1cc768(0x5c9)](_0x1cc768(0x4fd)),Ms=Object[_0x1cc768(0x396)][_0x1cc768(0x207)],As=Ps[_0x1cc768(0x460)][_0x1cc768(0x128)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x3e49df,_0x2f743b,_0x421c85){const _0x583b56=_0x1cc768;var _0x8024f8,_0x433f2e={},_0x32e489=null,_0x484311=null;_0x421c85!==void 0x0&&(_0x32e489=''+_0x421c85),_0x2f743b[_0x583b56(0x3ba)]!==void 0x0&&(_0x32e489=''+_0x2f743b[_0x583b56(0x3ba)]),_0x2f743b['ref']!==void 0x0&&(_0x484311=_0x2f743b[_0x583b56(0x502)]);for(_0x8024f8 in _0x2f743b)Ms[_0x583b56(0x3a6)](_0x2f743b,_0x8024f8)&&!Ns['hasOwnProperty'](_0x8024f8)&&(_0x433f2e[_0x8024f8]=_0x2f743b[_0x8024f8]);if(_0x3e49df&&_0x3e49df[_0x583b56(0x17d)]){for(_0x8024f8 in(_0x2f743b=_0x3e49df[_0x583b56(0x17d)],_0x2f743b))_0x433f2e[_0x8024f8]===void 0x0&&(_0x433f2e[_0x8024f8]=_0x2f743b[_0x8024f8]);}return{'$$typeof':ws,'type':_0x3e49df,'key':_0x32e489,'ref':_0x484311,'props':_0x433f2e,'_owner':As[_0x583b56(0x364)]};}Je[_0x1cc768(0x106)]=Us,Je[_0x1cc768(0x5c1)]=Ei,Je[_0x1cc768(0x4cc)]=Ei,Ci[_0x1cc768(0x2b9)]=Je;var ge=Ci[_0x1cc768(0x2b9)],ee=function(){const _0x1e7889=_0x1cc768;return ee=Object[_0x1e7889(0x322)]||function(_0x460c09){const _0x51c261=_0x1e7889;for(var _0x305a89,_0x502ddd=0x1,_0x44a2f0=arguments['length'];_0x502ddd<_0x44a2f0;_0x502ddd++){_0x305a89=arguments[_0x502ddd];for(var _0x5e5f98 in _0x305a89)Object[_0x51c261(0x396)][_0x51c261(0x207)][_0x51c261(0x3a6)](_0x305a89,_0x5e5f98)&&(_0x460c09[_0x5e5f98]=_0x305a89[_0x5e5f98]);}return _0x460c09;},ee[_0x1e7889(0x119)](this,arguments);},Ls=function(_0x202bc5,_0x5cf68f){const _0x31ffba=_0x1cc768;var _0x7031fd={};for(var _0x553886 in _0x202bc5)Object[_0x31ffba(0x396)]['hasOwnProperty'][_0x31ffba(0x3a6)](_0x202bc5,_0x553886)&&_0x5cf68f[_0x31ffba(0x4f4)](_0x553886)<0x0&&(_0x7031fd[_0x553886]=_0x202bc5[_0x553886]);if(_0x202bc5!=null&&typeof Object[_0x31ffba(0x58f)]=='function'){for(var _0x17da7c=0x0,_0x553886=Object[_0x31ffba(0x58f)](_0x202bc5);_0x17da7c<_0x553886[_0x31ffba(0x31e)];_0x17da7c++)_0x5cf68f[_0x31ffba(0x4f4)](_0x553886[_0x17da7c])<0x0&&Object[_0x31ffba(0x396)]['propertyIsEnumerable'][_0x31ffba(0x3a6)](_0x202bc5,_0x553886[_0x17da7c])&&(_0x7031fd[_0x553886[_0x17da7c]]=_0x202bc5[_0x553886[_0x17da7c]]);}return _0x7031fd;},Pt=ae[_0x1cc768(0x169)](function(_0x1c16bf,_0x56ac2f){const _0x307569=_0x1cc768;var _0x2d1cc3=_0x1c16bf[_0x307569(0x1af)],_0x7d00d5=_0x1c16bf['id'],_0x5f2c0d=_0x1c16bf[_0x307569(0x218)],_0x2d5217=_0x1c16bf[_0x307569(0x279)],_0x2fb52b=Ls(_0x1c16bf,[_0x307569(0x1af),'id',_0x307569(0x218),'extend']),_0x292709=_0x307569(0x581)[_0x307569(0x276)](_0x7d00d5,'\x20')[_0x307569(0x276)](_0x5f2c0d||'')['trim'](),_0x357480=ae['useRef']('_'['concat']($s()));return bi(_0x2d1cc3,''[_0x307569(0x276)](_0x7d00d5),{'defIds':_0x2d1cc3[_0x307569(0x1bf)],'idSuffix':_0x357480[_0x307569(0x364)]},ee({'ref':_0x56ac2f,'className':_0x292709},_0x2fb52b),_0x2d5217);});function bi(_0x2bbd71,_0x13d6f2,_0x1d51e6,_0x436d1b,_0x313e88){const _0xa8ff4a=_0x1cc768;return ae[_0xa8ff4a(0x121)](_0x2bbd71[_0xa8ff4a(0x266)],ee(ee({'key':_0x13d6f2},xs(_0x2bbd71,_0x1d51e6,_0x313e88)),_0x436d1b),(js(_0x2bbd71,_0x1d51e6)[_0xa8ff4a(0x416)]||[])[_0xa8ff4a(0x130)](function(_0x51155a,_0x1d9ccf){const _0x2750ca=_0xa8ff4a;return bi(_0x51155a,''[_0x2750ca(0x276)](_0x13d6f2,'-')[_0x2750ca(0x276)](_0x2bbd71[_0x2750ca(0x266)],'-')[_0x2750ca(0x276)](_0x1d9ccf),_0x1d51e6,void 0x0,_0x313e88);}));}function xs(_0xb3c177,_0x279cfb,_0x20b18e){const _0x1496c2=_0x1cc768;var _0x533f3c=ee({},_0xb3c177['attrs']);_0x20b18e!=null&&_0x20b18e[_0x1496c2(0x2ec)]&&_0x533f3c[_0x1496c2(0x524)]==='colorChannel1'&&(_0x533f3c[_0x1496c2(0x524)]=_0x20b18e[_0x1496c2(0x2ec)]);var _0x46ea71=_0x279cfb[_0x1496c2(0x1bf)];return!_0x46ea71||_0x46ea71[_0x1496c2(0x31e)]===0x0||(_0xb3c177[_0x1496c2(0x266)]===_0x1496c2(0x5be)&&_0x533f3c[_0x1496c2(0x29b)]&&(_0x533f3c[_0x1496c2(0x29b)]=_0x533f3c[_0x1496c2(0x29b)]+_0x279cfb[_0x1496c2(0x175)]),Object[_0x1496c2(0x599)](_0x533f3c)['forEach'](function(_0xf5bc5c){const _0x1f3a8f=_0x1496c2;var _0xd2ec4c=_0xf5bc5c[0x0],_0xf3e048=_0xf5bc5c[0x1];typeof _0xf3e048==_0x1f3a8f(0x103)&&(_0x533f3c[_0xd2ec4c]=_0xf3e048[_0x1f3a8f(0x583)](/url\(#(.*)\)/,_0x1f3a8f(0x436)[_0x1f3a8f(0x276)](_0x279cfb[_0x1f3a8f(0x175)],')')));})),_0x533f3c;}function js(_0x2efa8a,_0x433eac){const _0x3a9d9e=_0x1cc768;var _0x5cf049,_0xc2bb40=_0x433eac['defIds'];return!_0xc2bb40||_0xc2bb40[_0x3a9d9e(0x31e)]===0x0?_0x2efa8a:_0x2efa8a[_0x3a9d9e(0x266)]===_0x3a9d9e(0x21a)&&(!((_0x5cf049=_0x2efa8a['children'])===null||_0x5cf049===void 0x0)&&_0x5cf049[_0x3a9d9e(0x31e)])?ee(ee({},_0x2efa8a),{'children':_0x2efa8a[_0x3a9d9e(0x416)][_0x3a9d9e(0x130)](function(_0x111252){const _0x2bdeaa=_0x3a9d9e;return typeof _0x111252[_0x2bdeaa(0x320)]['id']==_0x2bdeaa(0x103)&&_0xc2bb40&&_0xc2bb40[_0x2bdeaa(0x4f4)](_0x111252[_0x2bdeaa(0x320)]['id'])>-0x1?ee(ee({},_0x111252),{'attrs':ee(ee({},_0x111252[_0x2bdeaa(0x320)]),{'id':_0x111252[_0x2bdeaa(0x320)]['id']+_0x433eac[_0x2bdeaa(0x175)]})}):_0x111252;})}):_0x2efa8a;}function $s(){const _0x927970=_0x1cc768;return Math[_0x927970(0x454)]()[_0x927970(0x3df)](0x24)[_0x927970(0x418)](0x2,0x8);}Pt['displayName']=_0x1cc768(0x152);var Hs={'tag':_0x1cc768(0x199),'attrs':{'fill':_0x1cc768(0x591),'viewBox':'0\x200\x2016\x2016','width':_0x1cc768(0x26c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1cc768(0x4fe)},'children':[{'tag':_0x1cc768(0x498),'attrs':{'stroke':_0x1cc768(0x358),'d':_0x1cc768(0x3a2),'strokeLinecap':_0x1cc768(0x2b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cc768(0x21a),'attrs':{},'children':[{'tag':_0x1cc768(0x489),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1cc768(0x498),'attrs':{'fill':_0x1cc768(0x55f),'d':_0x1cc768(0x33b)}}]}]}],'defIds':[_0x1cc768(0x30d)]},Ti=ae['forwardRef'](function(_0x27d3bf,_0x3af5c8){const _0x1da00b=_0x1cc768;return ae[_0x1da00b(0x121)](Pt,Object[_0x1da00b(0x322)]({},_0x27d3bf,{'id':'off-line-single','ref':_0x3af5c8,'icon':Hs}));});Ti[_0x1cc768(0x173)]=_0x1cc768(0x2c1);var Bs={'tag':'svg','attrs':{'fill':_0x1cc768(0x591),'viewBox':_0x1cc768(0x19d),'width':'1em','height':_0x1cc768(0x26c)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cc768(0x3ec)},'children':[{'tag':_0x1cc768(0x498),'attrs':{'stroke':_0x1cc768(0x358),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1cc768(0x2b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cc768(0x21a),'attrs':{},'children':[{'tag':_0x1cc768(0x489),'attrs':{'id':_0x1cc768(0x356)},'children':[{'tag':'path','attrs':{'fill':_0x1cc768(0x55f),'d':_0x1cc768(0x33b),'transform':_0x1cc768(0x4aa)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Ri=ae['forwardRef'](function(_0x461b10,_0xad76fa){const _0x3a6c46=_0x1cc768;return ae[_0x3a6c46(0x121)](Pt,Object['assign']({},_0x461b10,{'id':_0x3a6c46(0x3fd),'ref':_0xad76fa,'icon':Bs}));});Ri[_0x1cc768(0x173)]=_0x1cc768(0x47f);function yi(_0x2b6889){const _0x59b1ed=_0x1cc768;var _0x4f4b47,_0x4175c9,_0x2054ae='';if(typeof _0x2b6889==_0x59b1ed(0x103)||typeof _0x2b6889==_0x59b1ed(0x37d))_0x2054ae+=_0x2b6889;else{if(typeof _0x2b6889==_0x59b1ed(0x21f)){if(Array[_0x59b1ed(0x194)](_0x2b6889)){var _0x1e03fe=_0x2b6889[_0x59b1ed(0x31e)];for(_0x4f4b47=0x0;_0x4f4b47<_0x1e03fe;_0x4f4b47++)_0x2b6889[_0x4f4b47]&&(_0x4175c9=yi(_0x2b6889[_0x4f4b47]))&&(_0x2054ae&&(_0x2054ae+='\x20'),_0x2054ae+=_0x4175c9);}else{for(_0x4175c9 in _0x2b6889)_0x2b6889[_0x4175c9]&&(_0x2054ae&&(_0x2054ae+='\x20'),_0x2054ae+=_0x4175c9);}}}return _0x2054ae;}function ks(){for(var _0x10663d,_0xee45cc,_0x1c1415=0x0,_0x3a2038='',_0x592298=arguments['length'];_0x1c1415<_0x592298;_0x1c1415++)(_0x10663d=arguments[_0x1c1415])&&(_0xee45cc=yi(_0x10663d))&&(_0x3a2038&&(_0x3a2038+='\x20'),_0x3a2038+=_0xee45cc);return _0x3a2038;}const Ws=_0x1cc768(0x16e),Fs=_0x1cc768(0x2ce),Vs=_0x1cc768(0x1dc),Gs='univer-online',Ys=_0x1cc768(0x4a7),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x21ced4){const _0x5bde04=_0x1cc768;switch(_0x21ced4){case q[_0x5bde04(0x1b1)]:return _0x5bde04(0x1bd);case q[_0x5bde04(0x357)]:return'collabStatus.conflict';case q['FETCH_MISS']:return _0x5bde04(0x36c);case q[_0x5bde04(0x3ef)]:return'collabStatus.notCollab';case q[_0x5bde04(0x127)]:case q[_0x5bde04(0x33f)]:return _0x5bde04(0x507);case q[_0x5bde04(0x53f)]:case q[_0x5bde04(0x3b9)]:return'collabStatus.synced';}}function Oi(_0x308b4d){const _0x4c63c8=_0x1cc768,{status$:_0x3f9a59}=_0x308b4d,_0x42a353=te['useObservable'](_0x3f9a59,q[_0x4c63c8(0x3ef)]),_0x3813c4=a[_0x4c63c8(0x341)](a[_0x4c63c8(0x33e)]),_0x1c25da=a[_0x4c63c8(0x341)](exports[_0x4c63c8(0x2e1)]),_0x4a4d89=_0x42a353!==q[_0x4c63c8(0x1b1)],_0x49fd45=_0x3813c4['t'](Ks(_0x42a353)),_0x17b11e=ks(Me[_0x4c63c8(0x30e)],{[Me[_0x4c63c8(0x3c6)]]:_0x4a4d89,[Me[_0x4c63c8(0x2a7)]]:!_0x4a4d89}),_0xa5a393=_0x4a4d89?ge[_0x4c63c8(0x5c1)](Ri,{}):ge['jsx'](Ti,{}),_0x2a4c42=ae[_0x4c63c8(0x1ec)](()=>{const _0x183290=_0x4c63c8;_0x4a4d89||_0x1c25da[_0x183290(0x421)]();},[_0x4a4d89,_0x1c25da]);function _0x351b63(){const _0x3a2d12=_0x4c63c8;return ge['jsxs']('div',{'className':_0x17b11e,'onClick':_0x2a4c42,'children':[ge['jsx'](_0x3a2d12(0x252),{'className':Me[_0x3a2d12(0x3dc)],'children':_0xa5a393}),ge[_0x3a2d12(0x5c1)](_0x3a2d12(0x252),{'className':Me['onlineStatusTitle'],'children':_0x49fd45})]});}return _0x4a4d89?_0x351b63():ge[_0x4c63c8(0x5c1)](Ce[_0x4c63c8(0x504)],{'title':_0x3813c4['t'](_0x4c63c8(0x44b)),'children':_0x351b63()});}var qs=Object[_0x1cc768(0x244)],zs=Object[_0x1cc768(0x263)],Xs=(_0x5d8556,_0x1a79ad,_0xfd1869,_0x5489a0)=>{for(var _0x36f971=_0x5489a0>0x1?void 0x0:_0x5489a0?zs(_0x1a79ad,_0xfd1869):_0x1a79ad,_0x3fb321=_0x5d8556['length']-0x1,_0x2d4245;_0x3fb321>=0x0;_0x3fb321--)(_0x2d4245=_0x5d8556[_0x3fb321])&&(_0x36f971=(_0x5489a0?_0x2d4245(_0x1a79ad,_0xfd1869,_0x36f971):_0x2d4245(_0x36f971))||_0x36f971);return _0x5489a0&&_0x36f971&&qs(_0x1a79ad,_0xfd1869,_0x36f971),_0x36f971;},$e=(_0x5ab572,_0x54338a)=>(_0x176753,_0x367c0a)=>_0x54338a(_0x176753,_0x367c0a,_0x5ab572);exports[_0x1cc768(0x382)]=class extends a[_0x1cc768(0x1c0)]{constructor(_0x4115c0,_0x3baade,_0x28c5ac,_0x2b6546){const _0x30a4cc=_0x1cc768;super(),I(this,_0x30a4cc(0x52a),new A[(_0x30a4cc(0x118))](q[_0x30a4cc(0x3ef)])),(this[_0x30a4cc(0x114)]=_0x4115c0,this['_uiPartsService']=_0x3baade,this[_0x30a4cc(0x310)]=_0x28c5ac,this[_0x30a4cc(0x31a)]=_0x2b6546,this[_0x30a4cc(0x1eb)](),this[_0x30a4cc(0x5b9)]());}[_0x1cc768(0x5b9)](){const _0x52289d=_0x1cc768;this[_0x52289d(0x27e)](this[_0x52289d(0x114)][_0x52289d(0xff)][_0x52289d(0x154)](A[_0x52289d(0x44f)](()=>{const _0x2e06ec=_0x52289d,_0x244fe8=this['_univerInstanceService'][_0x2e06ec(0x55d)]();return _0x244fe8?this[_0x2e06ec(0x31a)][_0x2e06ec(0x54b)](_0x244fe8[_0x2e06ec(0x1f0)]()):A['of'](null);}),A[_0x52289d(0x44f)](_0xd48905=>_0xd48905?_0xd48905[_0x52289d(0x495)]:A['of'](q[_0x52289d(0x3ef)])))['subscribe'](_0x1afaea=>{const _0x3bc0d3=_0x52289d;this[_0x3bc0d3(0x52a)]['next'](_0x1afaea);}));}[_0x1cc768(0x1eb)](){const _0xcdd940=_0x1cc768;this['disposeWithMe'](this['_uiPartsService'][_0xcdd940(0x435)](te[_0xcdd940(0x202)]['HEADER_MENU'],()=>a[_0xcdd940(0x45e)](Js({'status$':this[_0xcdd940(0x52a)][_0xcdd940(0x575)]()}),this[_0xcdd940(0x310)])));}},exports[_0x1cc768(0x382)]=Xs([$e(0x0,a[_0x1cc768(0x3bd)]),$e(0x1,te[_0x1cc768(0x40e)]),$e(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),$e(0x3,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x38c)]))],exports['DesktopCollaborationStatusDisplayController']);function Js(_0x39548f){const {status$:_0x4850b2}=_0x39548f;return function(){const _0x3c2715=_0x3a60;return ge[_0x3c2715(0x5c1)](Oi,{'status$':_0x4850b2});};}const wt=a[_0x1cc768(0x415)](_0x1cc768(0x274));var Zs=Object['defineProperty'],Qs=Object[_0x1cc768(0x263)],er=(_0x148a8a,_0x4190ff,_0x2299bd,_0x1d0007)=>{const _0x4625e9=_0x1cc768;for(var _0x1376c5=_0x1d0007>0x1?void 0x0:_0x1d0007?Qs(_0x4190ff,_0x2299bd):_0x4190ff,_0x6c5383=_0x148a8a[_0x4625e9(0x31e)]-0x1,_0x33b4f7;_0x6c5383>=0x0;_0x6c5383--)(_0x33b4f7=_0x148a8a[_0x6c5383])&&(_0x1376c5=(_0x1d0007?_0x33b4f7(_0x4190ff,_0x2299bd,_0x1376c5):_0x33b4f7(_0x1376c5))||_0x1376c5);return _0x1d0007&&_0x1376c5&&Zs(_0x4190ff,_0x2299bd,_0x1376c5),_0x1376c5;},Re=(_0x40ab5d,_0x9c8415)=>(_0x12f4b9,_0xf45450)=>_0x9c8415(_0x12f4b9,_0xf45450,_0x40ab5d);exports[_0x1cc768(0x37b)]=class extends a[_0x1cc768(0x35a)]{constructor(_0x3764cc,_0x5a8ef0,_0x128636,_0x3937bc,_0x32683d,_0x288caa){const _0x5bf154=_0x1cc768;super(),this[_0x5bf154(0x49c)]=_0x3764cc,this[_0x5bf154(0x10c)]=_0x5a8ef0,this['_commandService']=_0x128636,this[_0x5bf154(0x3f3)]=_0x3937bc,this[_0x5bf154(0x1c9)]=_0x32683d,_0x288caa?_0x288caa==null||_0x288caa['whenReady']()[_0x5bf154(0x191)](()=>this['_init']()):(this[_0x5bf154(0x10c)]['debug'](_0x5bf154(0x1e0),_0x5bf154(0x410)),this[_0x5bf154(0x143)]());}async[_0x1cc768(0x143)](){const _0x1770d4=_0x1cc768,_0x314321=this[_0x1770d4(0x49c)][_0x1770d4(0x187)](_0x1770d4(0x164)),_0x11da06=this[_0x1770d4(0x49c)][_0x1770d4(0x187)](_0x1770d4(0x398));if(!_0x314321||!_0x11da06){this[_0x1770d4(0x10c)][_0x1770d4(0x157)]('[DataLoaderController]',_0x1770d4(0x5c5));return;}switch(Number(_0x11da06)){case ne[_0x1770d4(0x452)]:{const _0x1c81a9=await this[_0x1770d4(0x5d7)](_0x314321);this['_setupSubUnitSync'](_0x1c81a9);break;}case ne[_0x1770d4(0x408)]:{await this[_0x1770d4(0x230)](_0x314321);break;}default:{this[_0x1770d4(0x10c)][_0x1770d4(0x1c4)](_0x1770d4(0x1e0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0x32e9ff){const _0x3c5773=_0x1cc768;await this['_updateSubUnitFromURLParams'](_0x32e9ff),_0x32e9ff[_0x3c5773(0x139)][_0x3c5773(0x154)](A[_0x3c5773(0x4cf)](this[_0x3c5773(0x36e)]))[_0x3c5773(0x556)](_0xb7b3da=>{const _0x46a2a8=_0x3c5773;_0xb7b3da&&this[_0x46a2a8(0x31c)](_0xb7b3da);}),this[_0x3c5773(0x49c)][_0x3c5773(0x40d)]['pipe'](A[_0x3c5773(0x4cf)](this['dispose$']))['subscribe'](()=>this[_0x3c5773(0x1b5)](_0x32e9ff));}['_updateURLWithCurrentState'](_0x4914d4,_0xb6335=!0x1){const _0xd4367b=_0x1cc768,_0x97a5ee=this[_0xd4367b(0x49c)][_0xd4367b(0x187)](_0xd4367b(0x1a2));_0x4914d4[_0xd4367b(0x4ab)]()!==_0x97a5ee&&this['_urlService'][_0xd4367b(0x3d4)](_0xd4367b(0x1a2),_0x4914d4[_0xd4367b(0x4ab)](),_0xb6335);}async[_0x1cc768(0x1b5)](_0x3c68be){const _0x578288=_0x1cc768;var _0x14dbb7;const _0x39f1e6=this['_urlService'][_0x578288(0x187)]('subunit');if(!_0x39f1e6||!_0x3c68be['getSheetBySheetId'](_0x39f1e6)){const _0x563637=_0x3c68be[_0x578288(0x456)]()[0x0],_0x48cf36=_0x3c68be[_0x578288(0x14b)](_0x563637);if(!_0x48cf36)return;this[_0x578288(0x31c)](_0x48cf36,!0x0),await this[_0x578288(0x134)]['executeCommand'](k[_0x578288(0x34d)]['id'],{'unitId':_0x3c68be[_0x578288(0x1f0)](),'subUnitId':_0x563637});return;}((_0x14dbb7=_0x3c68be['getActiveSheet']())==null?void 0x0:_0x14dbb7[_0x578288(0x4ab)]())!==_0x39f1e6&&await this[_0x578288(0x134)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x3c68be[_0x578288(0x1f0)](),'subUnitId':_0x39f1e6});}async[_0x1cc768(0x5d7)](_0x535f06){const _0x19a586=_0x1cc768;let _0x5e5cf2=0x0;const _0x3ad6de=await this['_localCacheService'][_0x19a586(0x5ca)](_0x535f06);return _0x3ad6de&&(_0x3ad6de[_0x19a586(0x54e)]||_0x3ad6de[_0x19a586(0x41d)][_0x19a586(0x31e)]!==0x0)&&(_0x5e5cf2=_0x3ad6de['rev']),_0x5e5cf2===0x0&&this[_0x19a586(0x10c)][_0x19a586(0x157)](_0x19a586(0x1e0),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x19a586(0x1c9)][_0x19a586(0x3e9)](_0x535f06,_0x5e5cf2);}async[_0x1cc768(0x230)](_0x3bf2e5){const _0x2636ee=_0x1cc768;let _0x4a7444=0x0;const _0x46b64e=await this[_0x2636ee(0x3f3)][_0x2636ee(0x5ca)](_0x3bf2e5);return _0x46b64e&&(_0x46b64e[_0x2636ee(0x54e)]||_0x46b64e['mutations'][_0x2636ee(0x31e)]!==0x0)&&(_0x4a7444=_0x46b64e[_0x2636ee(0x55b)]),_0x4a7444===0x0&&this['_logService'][_0x2636ee(0x157)](_0x2636ee(0x1e0),_0x2636ee(0x2b6)),this[_0x2636ee(0x1c9)]['loadDoc'](_0x3bf2e5,_0x4a7444);}},exports[_0x1cc768(0x37b)]=er([Re(0x0,wt),Re(0x1,a['ILogService']),Re(0x2,a[_0x1cc768(0x11f)]),Re(0x3,a[_0x1cc768(0x2ca)](exports[_0x1cc768(0x305)])),Re(0x4,a[_0x1cc768(0x2ca)](p[_0x1cc768(0x552)])),Re(0x5,a[_0x1cc768(0x1f2)](Bi[_0x1cc768(0x521)]))],exports[_0x1cc768(0x37b)]);var tr=Object[_0x1cc768(0x244)],ir=Object[_0x1cc768(0x263)],nr=(_0x135792,_0xe63532,_0x53e4f7,_0x183557)=>{for(var _0x4ecca3=_0x183557>0x1?void 0x0:_0x183557?ir(_0xe63532,_0x53e4f7):_0xe63532,_0x548372=_0x135792['length']-0x1,_0x315f77;_0x548372>=0x0;_0x548372--)(_0x315f77=_0x135792[_0x548372])&&(_0x4ecca3=(_0x183557?_0x315f77(_0xe63532,_0x53e4f7,_0x4ecca3):_0x315f77(_0x4ecca3))||_0x4ecca3);return _0x183557&&_0x4ecca3&&tr(_0xe63532,_0x53e4f7,_0x4ecca3),_0x4ecca3;},Vt=(_0x5cee61,_0x5b93f7)=>(_0x35831b,_0x31be6e)=>_0x5b93f7(_0x35831b,_0x31be6e,_0x5cee61);const sr=_0x1cc768(0x1ac),rr=_0x1cc768(0x269);let Ge=class extends a[_0x1cc768(0x1c0)]{constructor(_0x4a8a3a,_0x13c31a){const _0x3d7dbc=_0x1cc768;super(),this[_0x3d7dbc(0x114)]=_0x4a8a3a,this[_0x3d7dbc(0x2c0)]=_0x13c31a,this[_0x3d7dbc(0x143)]();}['_init'](){const _0x32d77c=_0x1cc768;this[_0x32d77c(0x27e)](this['_univerInstanceService'][_0x32d77c(0xff)][_0x32d77c(0x556)](()=>{const _0x40d70a=_0x32d77c;var _0x19247f;const _0x553fcd=this[_0x40d70a(0x114)]['getFocusedUnit']();let _0x28b2b2=(_0x19247f=this[_0x40d70a(0x2c0)]['getConfig'](sr))!=null?_0x19247f:rr;_0x553fcd instanceof a[_0x40d70a(0x24d)]&&(_0x28b2b2=_0x553fcd[_0x40d70a(0x27c)]),document[_0x40d70a(0x1a3)]=_0x28b2b2;}));}};Ge=nr([Vt(0x0,a[_0x1cc768(0x3bd)]),Vt(0x1,a[_0x1cc768(0x56f)])],Ge);var or=Object[_0x1cc768(0x244)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x30f563,_0x2cee2c,_0x5165c5,_0x5a8540)=>{for(var _0x11b05a=_0x5a8540>0x1?void 0x0:_0x5a8540?ar(_0x2cee2c,_0x5165c5):_0x2cee2c,_0x55c868=_0x30f563['length']-0x1,_0xd435a6;_0x55c868>=0x0;_0x55c868--)(_0xd435a6=_0x30f563[_0x55c868])&&(_0x11b05a=(_0x5a8540?_0xd435a6(_0x2cee2c,_0x5165c5,_0x11b05a):_0xd435a6(_0x11b05a))||_0x11b05a);return _0x5a8540&&_0x11b05a&&or(_0x2cee2c,_0x5165c5,_0x11b05a),_0x11b05a;},ct=(_0x556cd8,_0x4652ab)=>(_0x15fe95,_0x2c4757)=>_0x4652ab(_0x15fe95,_0x2c4757,_0x556cd8);let Ye=class{constructor(_0x138ab7,_0x86b409,_0x107abb){const _0x3cf045=_0x1cc768;this['_configService']=_0x138ab7,this['_httpService']=_0x86b409,this[_0x3cf045(0x57b)]=_0x107abb,this['init']();}[_0x1cc768(0x518)](){const _0x28e7ce=_0x1cc768;this['_httpService'][_0x28e7ce(0x53d)]({'priority':0x1,'interceptor':(_0x8cfe00,_0x4a8669)=>_0x4a8669(_0x8cfe00)[_0x28e7ce(0x154)](A[_0x28e7ce(0x234)](async _0x4dfa13=>{const _0x186d20=_0x28e7ce,_0x3e3022=_0x4dfa13;if(_0x3e3022['status']===0x191&&window['confirm'](this[_0x186d20(0x57b)]['t'](_0x186d20(0x4af)))){const _0x537e93=window[_0x186d20(0x136)](window['location'][_0x186d20(0x203)]);window[_0x186d20(0x19f)][_0x186d20(0x203)]=this[_0x186d20(0x129)]()+_0x186d20(0x423)+_0x537e93;}return _0x3e3022;}))});}[_0x1cc768(0x129)](){const _0x3df214=_0x1cc768;var _0x52410a,_0x40b661;const _0x50f9b9=this[_0x3df214(0x2c0)][_0x3df214(0x555)](hi),_0x44fb91=this[_0x3df214(0x2c0)][_0x3df214(0x555)](Q);return(_0x40b661=(_0x52410a=_0x44fb91==null?void 0x0:_0x44fb91[_0x3df214(0x3f2)])!=null?_0x52410a:_0x50f9b9)!=null?_0x40b661:Ji;}};Ye=cr([ct(0x0,a[_0x1cc768(0x56f)]),ct(0x1,a['Inject'](z['HTTPService'])),ct(0x2,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)]))],Ye);var lr=Object['defineProperty'],hr=Object['getOwnPropertyDescriptor'],_r=(_0x20e484,_0x27edb6,_0x1e47d3,_0x1c87b4)=>{const _0x5f18e1=_0x1cc768;for(var _0x1d359f=_0x1c87b4>0x1?void 0x0:_0x1c87b4?hr(_0x27edb6,_0x1e47d3):_0x27edb6,_0x2088ef=_0x20e484[_0x5f18e1(0x31e)]-0x1,_0x1f2e1d;_0x2088ef>=0x0;_0x2088ef--)(_0x1f2e1d=_0x20e484[_0x2088ef])&&(_0x1d359f=(_0x1c87b4?_0x1f2e1d(_0x27edb6,_0x1e47d3,_0x1d359f):_0x1f2e1d(_0x1d359f))||_0x1d359f);return _0x1c87b4&&_0x1d359f&&lr(_0x27edb6,_0x1e47d3,_0x1d359f),_0x1d359f;},Gt=(_0x131d5e,_0x230e35)=>(_0xa073ad,_0x379604)=>_0x230e35(_0xa073ad,_0x379604,_0x131d5e);const Ut=_0x1cc768(0x5a0),ur=_0x1cc768(0x58a);exports['AuthzIoHttpService']=class extends a[_0x1cc768(0x1c0)]{constructor(_0xb67d99,_0x23340d){const _0x1e2efa=_0x1cc768;super(),this[_0x1e2efa(0x313)]=_0xb67d99,this[_0x1e2efa(0x2c0)]=_0x23340d,this[_0x1e2efa(0x386)]();}[_0x1cc768(0x386)](){const _0x45652f=_0x1cc768,_0x7790c7=this;this[_0x45652f(0x27e)](this['_HTTPService'][_0x45652f(0x53d)]({'priority':0x3e7,'interceptor':z[_0x45652f(0x33a)]({'isMatch'(_0x11301f){const _0x181d2a=_0x45652f;var _0x55ab99;if(_0x11301f['method']==='POST'&&((_0x55ab99=_0x11301f[_0x181d2a(0x1aa)])!=null&&_0x55ab99[_0x181d2a(0x46d)])){const {objectID:_0x26090c,objectType:_0xe5e90d}=_0x11301f['requestParams'][_0x181d2a(0x46d)]||{};if(!_0x26090c||_0xe5e90d===void 0x0)return!0x1;const _0x4ab677=_0x7790c7[_0x181d2a(0x1b8)]()+'/'+_0xe5e90d+_0x181d2a(0x3aa)+_0x26090c+_0x181d2a(0x4a8);if(_0x11301f[_0x181d2a(0x539)]===_0x4ab677)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x131048){const _0x3328cd=_0x45652f;var _0x3b80fe;return(_0x3b80fe=_0x131048[_0x3328cd(0x1aa)])==null?void 0x0:_0x3b80fe['body'];},'mergeParamsToRequest'(_0x17f4a2,_0x97696){const _0x530ce7=_0x45652f,_0x113346=_0x7790c7[_0x530ce7(0x1b8)]()+_0x530ce7(0x1b6),_0x3d6ee5=_0x17f4a2[_0x530ce7(0x20e)]((_0x359d61,_0x4c4394)=>{const _0x5b4a01=_0x530ce7,{unitID:_0x599b49,objectID:_0x8b13a8,objectType:_0x245900,actions:_0x422577}=_0x4c4394;return _0x359d61[_0x599b49]||(_0x359d61[_0x599b49]={}),_0x359d61[_0x599b49][_0x8b13a8]||(_0x359d61[_0x599b49][_0x8b13a8]={'objectID':_0x8b13a8,'objectType':_0x245900,'actions':[]}),_0x359d61[_0x599b49][_0x8b13a8][_0x5b4a01(0x554)][_0x5b4a01(0x102)](..._0x422577),_0x359d61;},{}),_0x4ac697=[];for(const _0xc01711 in _0x3d6ee5)for(const _0x33ad4a in _0x3d6ee5[_0xc01711]){const {actions:_0x2947bd,objectType:_0x950f1}=_0x3d6ee5[_0xc01711][_0x33ad4a],_0x335a37=[...new Set(_0x2947bd)];_0x4ac697[_0x530ce7(0x102)]({'unitID':_0xc01711,'objectID':_0x33ad4a,'objectType':_0x950f1,'actions':_0x335a37});}return new z[(_0x530ce7(0x5c2))](_0x530ce7(0x1ab),_0x113346,{'headers':_0x97696[_0x530ce7(0x351)],'withCredentials':_0x97696['withCredentials'],'responseType':_0x97696[_0x530ce7(0x479)],'body':{'requests':_0x4ac697}});}},{'distributeResult'(_0x3b8743,_0x5b017e){const _0x33c636=_0x45652f,{objectActions:_0x4648b8}=_0x3b8743;return _0x5b017e[_0x33c636(0x130)](_0x3ae35a=>{const _0x208915=_0x33c636,{unitID:_0x534d12,objectID:_0x41727b,actions:_0x36f22f}=_0x3ae35a,_0x5dc0c0=_0x4648b8[_0x208915(0x4bd)](_0x1408df=>_0x1408df[_0x208915(0x4ed)]===_0x534d12&&_0x1408df['objectID']===_0x41727b),_0x463537=_0x36f22f[_0x208915(0x130)](_0x20329b=>_0x5dc0c0==null?void 0x0:_0x5dc0c0[_0x208915(0x554)]['find'](_0x160820=>_0x160820[_0x208915(0x1cc)]===_0x20329b))[_0x208915(0x464)](_0x43b3fd=>!!_0x43b3fd);return{'config':_0x3ae35a,'result':{'actions':_0x463537,'error':_0x3b8743['error']}};});}})}));}[_0x1cc768(0x1b8)](){const _0x3ae440=_0x1cc768;var _0x3edf60,_0x52eb73;const _0x480507=this[_0x3ae440(0x2c0)][_0x3ae440(0x555)](Ut),_0x28d07d=this[_0x3ae440(0x2c0)][_0x3ae440(0x555)](Q);return(_0x52eb73=(_0x3edf60=_0x28d07d==null?void 0x0:_0x28d07d[_0x3ae440(0x1d0)])!=null?_0x3edf60:_0x480507)!=null?_0x52eb73:ur;}async[_0x1cc768(0x337)](_0x1efc6b){const _0x4291f8=_0x1cc768,_0xd9821c=this[_0x4291f8(0x1b8)]()+'/'+_0x1efc6b[_0x4291f8(0x53e)]+'/object';return(await this[_0x4291f8(0x313)][_0x4291f8(0x4a3)](_0xd9821c,{'body':_0x1efc6b}))[_0x4291f8(0x46d)][_0x4291f8(0x2e5)]||'';}async[_0x1cc768(0x4d8)](_0x4923e9){const _0x4206a2=_0x1cc768,_0x2721d4=this[_0x4206a2(0x1b8)]()+_0x4206a2(0x5c7);return(await this[_0x4206a2(0x313)]['post'](_0x2721d4,{'body':_0x4923e9}))[_0x4206a2(0x46d)][_0x4206a2(0x44e)];}async[_0x1cc768(0x2af)](_0x226e0c){const _0x371d84=_0x1cc768,_0x3c3ce9=this[_0x371d84(0x1b8)]()+'/'+_0x226e0c[_0x371d84(0x53e)]+_0x371d84(0x3aa)+_0x226e0c['objectID'];await this[_0x371d84(0x313)][_0x371d84(0x376)](_0x3c3ce9,{'body':_0x226e0c});}async[_0x1cc768(0x296)](_0x475672){const _0x4ee2b3=_0x1cc768,_0x2f5d9a=this[_0x4ee2b3(0x1b8)]()+'/'+_0x475672['objectType']+_0x4ee2b3(0x3aa)+_0x475672[_0x4ee2b3(0x2e5)]+_0x4ee2b3(0x4a8);return(await this[_0x4ee2b3(0x313)][_0x4ee2b3(0x4a3)](_0x2f5d9a,{'body':_0x475672}))[_0x4ee2b3(0x46d)][_0x4ee2b3(0x554)];}async['batchAllowed'](_0x2bdd36){const _0x4643ab=_0x1cc768,_0x576503=this[_0x4643ab(0x1b8)]()+_0x4643ab(0x1b6);return(await this[_0x4643ab(0x313)]['post'](_0x576503,{'body':{'requests':_0x2bdd36}}))['body'][_0x4643ab(0x2df)];}async[_0x1cc768(0x16b)](_0x350d2d){const _0xf64e1c=_0x1cc768,_0xb691c6=this['_getAPIPrefixPath']()+'/'+_0x350d2d['objectType']+_0xf64e1c(0x3cd),_0x37e80b=await this[_0xf64e1c(0x313)][_0xf64e1c(0x4a3)](_0xb691c6,{'body':_0x350d2d});return{'roles':_0x37e80b[_0xf64e1c(0x46d)][_0xf64e1c(0x3b6)],'actions':_0x37e80b[_0xf64e1c(0x46d)][_0xf64e1c(0x554)]};}async[_0x1cc768(0x254)](_0x20ba37){const _0x7f368=_0x1cc768,_0x36bcd3=this['_getAPIPrefixPath']()+_0x7f368(0x368);await this[_0x7f368(0x313)][_0x7f368(0x24c)](_0x36bcd3,{'params':{'collaboratorID':_0x20ba37[_0x7f368(0x1fb)],'objectID':_0x20ba37[_0x7f368(0x2e5)],'unitID':_0x20ba37[_0x7f368(0x4ed)]}});}async[_0x1cc768(0x23e)](_0x2b9530){const _0x48d740=_0x1cc768,_0xd8a510=this[_0x48d740(0x1b8)]()+'/collaborator';await this[_0x48d740(0x313)][_0x48d740(0x108)](_0xd8a510,{'body':_0x2b9530});}async['createCollaborator'](_0x37dd8d){const _0x5f2198=_0x1cc768,_0x52868a=this[_0x5f2198(0x1b8)]()+_0x5f2198(0x368);await this[_0x5f2198(0x313)][_0x5f2198(0x4a3)](_0x52868a,{'body':_0x37dd8d});}async[_0x1cc768(0x282)](_0x80362){const _0x59d574=_0x1cc768,_0x1ab268=this[_0x59d574(0x1b8)]()+_0x59d574(0x368);return(await this['_HTTPService'][_0x59d574(0x4f7)](_0x1ab268,{'params':{'objectID':_0x80362[_0x59d574(0x2e5)],'unitID':_0x80362[_0x59d574(0x4ed)]}}))[_0x59d574(0x46d)]['collaborators'];}async[_0x1cc768(0x2c3)](_0x4dc465){const _0x437677=_0x1cc768,_0x37e2fa=this[_0x437677(0x1b8)]()+'/collaborator';await this[_0x437677(0x313)][_0x437677(0x376)](_0x37e2fa,{'body':_0x4dc465});}},exports['AuthzIoHttpService']=_r([Gt(0x0,a[_0x1cc768(0x2ca)](z['HTTPService'])),Gt(0x1,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x56f)]))],exports[_0x1cc768(0x35c)]);var Di={'exports':{}};function dr(_0x46d0f4){const _0xbc54bb=_0x1cc768;throw new Error(_0xbc54bb(0x548)+_0x46d0f4+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var lt={'exports':{}},Yt;function oe(){const _0x41cd7a=_0x1cc768;return Yt||(Yt=0x1,function(_0x2c81d7,_0x4be0da){(function(_0x10a15b,_0x38872d){const _0x3a8e28=_0x3a60;_0x2c81d7[_0x3a8e28(0x2b9)]=_0x38872d();}(Z,function(){var _0x1454ec=_0x1454ec||function(_0x473964,_0x105947){const _0x367e48=_0x3a60;var _0x2c5755;if(typeof window<'u'&&window[_0x367e48(0x46f)]&&(_0x2c5755=window[_0x367e48(0x46f)]),typeof self<'u'&&self['crypto']&&(_0x2c5755=self['crypto']),typeof globalThis<'u'&&globalThis[_0x367e48(0x46f)]&&(_0x2c5755=globalThis[_0x367e48(0x46f)]),!_0x2c5755&&typeof window<'u'&&window[_0x367e48(0x381)]&&(_0x2c5755=window[_0x367e48(0x381)]),!_0x2c5755&&typeof Z<'u'&&Z[_0x367e48(0x46f)]&&(_0x2c5755=Z[_0x367e48(0x46f)]),!_0x2c5755&&typeof dr==_0x367e48(0x5c6))try{_0x2c5755=require(_0x367e48(0x46f));}catch{}var _0x5040eb=function(){const _0x5bd4db=_0x367e48;if(_0x2c5755){if(typeof _0x2c5755[_0x5bd4db(0x448)]==_0x5bd4db(0x5c6))try{return _0x2c5755[_0x5bd4db(0x448)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2c5755[_0x5bd4db(0x228)]==_0x5bd4db(0x5c6))try{return _0x2c5755['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x5bd4db(0x3ab));},_0x36345f=Object[_0x367e48(0x337)]||(function(){function _0x4efd3f(){}return function(_0x21e5c0){const _0x2aa5ed=_0x3a60;var _0x15ef14;return _0x4efd3f[_0x2aa5ed(0x396)]=_0x21e5c0,_0x15ef14=new _0x4efd3f(),_0x4efd3f[_0x2aa5ed(0x396)]=null,_0x15ef14;};}()),_0x552deb={},_0x357b34=_0x552deb[_0x367e48(0x3d1)]={},_0x32d729=_0x357b34[_0x367e48(0x474)]=(function(){return{'extend':function(_0x1a8448){const _0x1046d0=_0x3a60;var _0x12b73c=_0x36345f(this);return _0x1a8448&&_0x12b73c[_0x1046d0(0x399)](_0x1a8448),(!_0x12b73c[_0x1046d0(0x207)]('init')||this['init']===_0x12b73c[_0x1046d0(0x518)])&&(_0x12b73c[_0x1046d0(0x518)]=function(){const _0x36e4df=_0x1046d0;_0x12b73c[_0x36e4df(0x2f7)]['init'][_0x36e4df(0x119)](this,arguments);}),_0x12b73c[_0x1046d0(0x518)]['prototype']=_0x12b73c,_0x12b73c[_0x1046d0(0x2f7)]=this,_0x12b73c;},'create':function(){const _0x2c07c3=_0x3a60;var _0x9bc75a=this[_0x2c07c3(0x279)]();return _0x9bc75a[_0x2c07c3(0x518)]['apply'](_0x9bc75a,arguments),_0x9bc75a;},'init':function(){},'mixIn':function(_0x4cf4dd){const _0x19bc8b=_0x3a60;for(var _0x118c52 in _0x4cf4dd)_0x4cf4dd[_0x19bc8b(0x207)](_0x118c52)&&(this[_0x118c52]=_0x4cf4dd[_0x118c52]);_0x4cf4dd[_0x19bc8b(0x207)](_0x19bc8b(0x3df))&&(this[_0x19bc8b(0x3df)]=_0x4cf4dd[_0x19bc8b(0x3df)]);},'clone':function(){const _0x489827=_0x3a60;return this[_0x489827(0x518)]['prototype']['extend'](this);}};}()),_0x5e488c=_0x357b34['WordArray']=_0x32d729[_0x367e48(0x279)]({'init':function(_0x28f9cc,_0x22fb16){const _0x873340=_0x367e48;_0x28f9cc=this[_0x873340(0x49f)]=_0x28f9cc||[],_0x22fb16!=_0x105947?this['sigBytes']=_0x22fb16:this[_0x873340(0x512)]=_0x28f9cc[_0x873340(0x31e)]*0x4;},'toString':function(_0x25135){return(_0x25135||_0x3445b8)['stringify'](this);},'concat':function(_0x7b8eeb){const _0x4c966f=_0x367e48;var _0x4e4e38=this[_0x4c966f(0x49f)],_0x436951=_0x7b8eeb[_0x4c966f(0x49f)],_0x29d8e8=this['sigBytes'],_0x5b6a6c=_0x7b8eeb[_0x4c966f(0x512)];if(this[_0x4c966f(0x3d8)](),_0x29d8e8%0x4)for(var _0x336fff=0x0;_0x336fff<_0x5b6a6c;_0x336fff++){var _0x2cc59f=_0x436951[_0x336fff>>>0x2]>>>0x18-_0x336fff%0x4*0x8&0xff;_0x4e4e38[_0x29d8e8+_0x336fff>>>0x2]|=_0x2cc59f<<0x18-(_0x29d8e8+_0x336fff)%0x4*0x8;}else{for(var _0x3dec6a=0x0;_0x3dec6a<_0x5b6a6c;_0x3dec6a+=0x4)_0x4e4e38[_0x29d8e8+_0x3dec6a>>>0x2]=_0x436951[_0x3dec6a>>>0x2];}return this[_0x4c966f(0x512)]+=_0x5b6a6c,this;},'clamp':function(){const _0x25972c=_0x367e48;var _0x38d671=this[_0x25972c(0x49f)],_0x340cec=this['sigBytes'];_0x38d671[_0x340cec>>>0x2]&=0xffffffff<<0x20-_0x340cec%0x4*0x8,_0x38d671[_0x25972c(0x31e)]=_0x473964['ceil'](_0x340cec/0x4);},'clone':function(){const _0xecd96f=_0x367e48;var _0x1f2082=_0x32d729['clone'][_0xecd96f(0x3a6)](this);return _0x1f2082[_0xecd96f(0x49f)]=this[_0xecd96f(0x49f)][_0xecd96f(0x158)](0x0),_0x1f2082;},'random':function(_0x4d315e){const _0x5e206e=_0x367e48;for(var _0x3dbf38=[],_0x22f1fc=0x0;_0x22f1fc<_0x4d315e;_0x22f1fc+=0x4)_0x3dbf38[_0x5e206e(0x102)](_0x5040eb());return new _0x5e488c[(_0x5e206e(0x518))](_0x3dbf38,_0x4d315e);}}),_0x5eaf86=_0x552deb['enc']={},_0x3445b8=_0x5eaf86[_0x367e48(0x295)]={'stringify':function(_0x4611ec){const _0x3ff92f=_0x367e48;for(var _0x492249=_0x4611ec['words'],_0x2dca4e=_0x4611ec['sigBytes'],_0x571f5f=[],_0x2926b0=0x0;_0x2926b0<_0x2dca4e;_0x2926b0++){var _0x3839f0=_0x492249[_0x2926b0>>>0x2]>>>0x18-_0x2926b0%0x4*0x8&0xff;_0x571f5f['push']((_0x3839f0>>>0x4)[_0x3ff92f(0x3df)](0x10)),_0x571f5f[_0x3ff92f(0x102)]((_0x3839f0&0xf)[_0x3ff92f(0x3df)](0x10));}return _0x571f5f[_0x3ff92f(0x3f5)]('');},'parse':function(_0x2e51cc){const _0x2d6cd8=_0x367e48;for(var _0x1a567a=_0x2e51cc[_0x2d6cd8(0x31e)],_0x1b2799=[],_0x443dd2=0x0;_0x443dd2<_0x1a567a;_0x443dd2+=0x2)_0x1b2799[_0x443dd2>>>0x3]|=parseInt(_0x2e51cc[_0x2d6cd8(0x4ca)](_0x443dd2,0x2),0x10)<<0x18-_0x443dd2%0x8*0x4;return new _0x5e488c['init'](_0x1b2799,_0x1a567a/0x2);}},_0x593a41=_0x5eaf86[_0x367e48(0x534)]={'stringify':function(_0x4a125b){const _0x5b08f9=_0x367e48;for(var _0x19a828=_0x4a125b[_0x5b08f9(0x49f)],_0x14b729=_0x4a125b['sigBytes'],_0x457453=[],_0x429318=0x0;_0x429318<_0x14b729;_0x429318++){var _0x10ea39=_0x19a828[_0x429318>>>0x2]>>>0x18-_0x429318%0x4*0x8&0xff;_0x457453[_0x5b08f9(0x102)](String['fromCharCode'](_0x10ea39));}return _0x457453[_0x5b08f9(0x3f5)]('');},'parse':function(_0x12a317){const _0x45e23b=_0x367e48;for(var _0x58c689=_0x12a317['length'],_0x555ee6=[],_0x3e2179=0x0;_0x3e2179<_0x58c689;_0x3e2179++)_0x555ee6[_0x3e2179>>>0x2]|=(_0x12a317[_0x45e23b(0x577)](_0x3e2179)&0xff)<<0x18-_0x3e2179%0x4*0x8;return new _0x5e488c[(_0x45e23b(0x518))](_0x555ee6,_0x58c689);}},_0x470f60=_0x5eaf86[_0x367e48(0x31d)]={'stringify':function(_0x51e153){const _0x423201=_0x367e48;try{return decodeURIComponent(escape(_0x593a41[_0x423201(0x236)](_0x51e153)));}catch{throw new Error(_0x423201(0x1c3));}},'parse':function(_0x2139d8){return _0x593a41['parse'](unescape(encodeURIComponent(_0x2139d8)));}},_0x6d24ca=_0x357b34[_0x367e48(0x544)]=_0x32d729[_0x367e48(0x279)]({'reset':function(){const _0x136c32=_0x367e48;this[_0x136c32(0x23f)]=new _0x5e488c[(_0x136c32(0x518))](),this[_0x136c32(0x1ea)]=0x0;},'_append':function(_0x26de75){const _0x500f3f=_0x367e48;typeof _0x26de75=='string'&&(_0x26de75=_0x470f60[_0x500f3f(0x472)](_0x26de75)),this[_0x500f3f(0x23f)][_0x500f3f(0x276)](_0x26de75),this['_nDataBytes']+=_0x26de75['sigBytes'];},'_process':function(_0x3abaee){const _0x6603ed=_0x367e48;var _0x5f3c32,_0x57f661=this[_0x6603ed(0x23f)],_0x22f74c=_0x57f661[_0x6603ed(0x49f)],_0x13ef9c=_0x57f661[_0x6603ed(0x512)],_0x940195=this[_0x6603ed(0x1ce)],_0x34c448=_0x940195*0x4,_0x304fa4=_0x13ef9c/_0x34c448;_0x3abaee?_0x304fa4=_0x473964[_0x6603ed(0x331)](_0x304fa4):_0x304fa4=_0x473964[_0x6603ed(0x1a8)]((_0x304fa4|0x0)-this[_0x6603ed(0x110)],0x0);var _0x5c766b=_0x304fa4*_0x940195,_0x15882d=_0x473964[_0x6603ed(0x240)](_0x5c766b*0x4,_0x13ef9c);if(_0x5c766b){for(var _0x240035=0x0;_0x240035<_0x5c766b;_0x240035+=_0x940195)this['_doProcessBlock'](_0x22f74c,_0x240035);_0x5f3c32=_0x22f74c[_0x6603ed(0x44d)](0x0,_0x5c766b),_0x57f661[_0x6603ed(0x512)]-=_0x15882d;}return new _0x5e488c[(_0x6603ed(0x518))](_0x5f3c32,_0x15882d);},'clone':function(){const _0xf92bd4=_0x367e48;var _0x4de841=_0x32d729[_0xf92bd4(0x2a0)]['call'](this);return _0x4de841[_0xf92bd4(0x23f)]=this[_0xf92bd4(0x23f)]['clone'](),_0x4de841;},'_minBufferSize':0x0});_0x357b34[_0x367e48(0x5bd)]=_0x6d24ca[_0x367e48(0x279)]({'cfg':_0x32d729[_0x367e48(0x279)](),'init':function(_0x25933b){const _0x152085=_0x367e48;this[_0x152085(0x57d)]=this['cfg'][_0x152085(0x279)](_0x25933b),this[_0x152085(0x383)]();},'reset':function(){const _0x16e9f9=_0x367e48;_0x6d24ca['reset']['call'](this),this[_0x16e9f9(0x47c)]();},'update':function(_0x42932c){const _0x55a5f9=_0x367e48;return this['_append'](_0x42932c),this[_0x55a5f9(0x48c)](),this;},'finalize':function(_0x537933){const _0x2112b8=_0x367e48;_0x537933&&this[_0x2112b8(0x458)](_0x537933);var _0x1732bc=this[_0x2112b8(0x411)]();return _0x1732bc;},'blockSize':0x10,'_createHelper':function(_0x21e65c){return function(_0x5a5e07,_0x444bfa){const _0x163181=_0x3a60;return new _0x21e65c[(_0x163181(0x518))](_0x444bfa)['finalize'](_0x5a5e07);};},'_createHmacHelper':function(_0x315e33){return function(_0x114991,_0x8d0ded){const _0x2b5093=_0x3a60;return new _0x1ea7ae['HMAC'][(_0x2b5093(0x518))](_0x315e33,_0x8d0ded)['finalize'](_0x114991);};}});var _0x1ea7ae=_0x552deb[_0x367e48(0x560)]={};return _0x552deb;}(Math);return _0x1454ec;}));}(lt)),lt[_0x41cd7a(0x2b9)];}var ht={'exports':{}},Kt;function Pi(){const _0x230a23=_0x1cc768;return Kt||(Kt=0x1,function(_0x5601c5,_0x4696bd){(function(_0x19f755,_0x1141d2){const _0x2d3b1d=_0x3a60;_0x5601c5[_0x2d3b1d(0x2b9)]=_0x1141d2(oe());}(Z,function(_0x587e92){const _0x2b1fb0=_0x3a60;return(function(){const _0x5dce97=_0x3a60;var _0x3e0fcb=_0x587e92,_0x4b0156=_0x3e0fcb[_0x5dce97(0x3d1)],_0x23cc29=_0x4b0156[_0x5dce97(0x2f5)],_0x37dda5=_0x3e0fcb[_0x5dce97(0x10f)];_0x37dda5[_0x5dce97(0x444)]={'stringify':function(_0x409d19){const _0x4000f8=_0x5dce97;var _0x26e231=_0x409d19[_0x4000f8(0x49f)],_0x543191=_0x409d19[_0x4000f8(0x512)],_0x165586=this['_map'];_0x409d19['clamp']();for(var _0xc9094b=[],_0x2edb7a=0x0;_0x2edb7a<_0x543191;_0x2edb7a+=0x3)for(var _0x247e85=_0x26e231[_0x2edb7a>>>0x2]>>>0x18-_0x2edb7a%0x4*0x8&0xff,_0x377b12=_0x26e231[_0x2edb7a+0x1>>>0x2]>>>0x18-(_0x2edb7a+0x1)%0x4*0x8&0xff,_0x17d850=_0x26e231[_0x2edb7a+0x2>>>0x2]>>>0x18-(_0x2edb7a+0x2)%0x4*0x8&0xff,_0x1df4eb=_0x247e85<<0x10|_0x377b12<<0x8|_0x17d850,_0x3bee07=0x0;_0x3bee07<0x4&&_0x2edb7a+_0x3bee07*0.75<_0x543191;_0x3bee07++)_0xc9094b['push'](_0x165586[_0x4000f8(0x5cc)](_0x1df4eb>>>0x6*(0x3-_0x3bee07)&0x3f));var _0x5211a7=_0x165586['charAt'](0x40);if(_0x5211a7){for(;_0xc9094b[_0x4000f8(0x31e)]%0x4;)_0xc9094b[_0x4000f8(0x102)](_0x5211a7);}return _0xc9094b[_0x4000f8(0x3f5)]('');},'parse':function(_0x25b56a){const _0x38dea2=_0x5dce97;var _0x14db71=_0x25b56a[_0x38dea2(0x31e)],_0x114078=this['_map'],_0x58b62f=this[_0x38dea2(0x485)];if(!_0x58b62f){_0x58b62f=this['_reverseMap']=[];for(var _0x46c922=0x0;_0x46c922<_0x114078[_0x38dea2(0x31e)];_0x46c922++)_0x58b62f[_0x114078['charCodeAt'](_0x46c922)]=_0x46c922;}var _0x5959bb=_0x114078[_0x38dea2(0x5cc)](0x40);if(_0x5959bb){var _0x46875d=_0x25b56a['indexOf'](_0x5959bb);_0x46875d!==-0x1&&(_0x14db71=_0x46875d);}return _0x2ff081(_0x25b56a,_0x14db71,_0x58b62f);},'_map':_0x5dce97(0x570)};function _0x2ff081(_0x6e1d88,_0x4783ee,_0x289baa){const _0x28ec75=_0x5dce97;for(var _0x19827f=[],_0x590964=0x0,_0x57186b=0x0;_0x57186b<_0x4783ee;_0x57186b++)if(_0x57186b%0x4){var _0x24499a=_0x289baa[_0x6e1d88[_0x28ec75(0x577)](_0x57186b-0x1)]<<_0x57186b%0x4*0x2,_0x4ca346=_0x289baa[_0x6e1d88[_0x28ec75(0x577)](_0x57186b)]>>>0x6-_0x57186b%0x4*0x2,_0xa0bca6=_0x24499a|_0x4ca346;_0x19827f[_0x590964>>>0x2]|=_0xa0bca6<<0x18-_0x590964%0x4*0x8,_0x590964++;}return _0x23cc29[_0x28ec75(0x337)](_0x19827f,_0x590964);}}()),_0x587e92[_0x2b1fb0(0x10f)]['Base64'];}));}(ht)),ht[_0x230a23(0x2b9)];}var _t={'exports':{}},qt;function fr(){const _0x19c9ee=_0x1cc768;return qt||(qt=0x1,function(_0x5ee7ba,_0x2e91d2){(function(_0x4d6994,_0x2f8534){const _0x4ac600=_0x3a60;_0x5ee7ba[_0x4ac600(0x2b9)]=_0x2f8534(oe());}(Z,function(_0x22ef5e){const _0x379710=_0x3a60;return function(_0x11f7bc){const _0x449414=_0x3a60;var _0x15082c=_0x22ef5e,_0x3c8f83=_0x15082c['lib'],_0x535ac1=_0x3c8f83[_0x449414(0x2f5)],_0x10b4a8=_0x3c8f83[_0x449414(0x5bd)],_0x3eb392=_0x15082c[_0x449414(0x560)],_0x332d3e=[];(function(){const _0x5c1383=_0x449414;for(var _0x2fc2af=0x0;_0x2fc2af<0x40;_0x2fc2af++)_0x332d3e[_0x2fc2af]=_0x11f7bc[_0x5c1383(0x51d)](_0x11f7bc[_0x5c1383(0x248)](_0x2fc2af+0x1))*0x100000000|0x0;}());var _0x2963dc=_0x3eb392[_0x449414(0x37f)]=_0x10b4a8[_0x449414(0x279)]({'_doReset':function(){const _0x821797=_0x449414;this['_hash']=new _0x535ac1[(_0x821797(0x518))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa94c14,_0x6d2eb3){const _0x424465=_0x449414;for(var _0x2e4d78=0x0;_0x2e4d78<0x10;_0x2e4d78++){var _0x34bce8=_0x6d2eb3+_0x2e4d78,_0x634d33=_0xa94c14[_0x34bce8];_0xa94c14[_0x34bce8]=(_0x634d33<<0x8|_0x634d33>>>0x18)&0xff00ff|(_0x634d33<<0x18|_0x634d33>>>0x8)&0xff00ff00;}var _0x5d9ab5=this['_hash'][_0x424465(0x49f)],_0x1ddd92=_0xa94c14[_0x6d2eb3+0x0],_0x3e5ab1=_0xa94c14[_0x6d2eb3+0x1],_0x2b13d=_0xa94c14[_0x6d2eb3+0x2],_0x18a25b=_0xa94c14[_0x6d2eb3+0x3],_0x449a83=_0xa94c14[_0x6d2eb3+0x4],_0x5b574c=_0xa94c14[_0x6d2eb3+0x5],_0xa43595=_0xa94c14[_0x6d2eb3+0x6],_0x102659=_0xa94c14[_0x6d2eb3+0x7],_0x47021b=_0xa94c14[_0x6d2eb3+0x8],_0x462dce=_0xa94c14[_0x6d2eb3+0x9],_0xe8d0d7=_0xa94c14[_0x6d2eb3+0xa],_0x4d8021=_0xa94c14[_0x6d2eb3+0xb],_0x6f94b2=_0xa94c14[_0x6d2eb3+0xc],_0x59fa4d=_0xa94c14[_0x6d2eb3+0xd],_0x10f12c=_0xa94c14[_0x6d2eb3+0xe],_0x533980=_0xa94c14[_0x6d2eb3+0xf],_0x4a7260=_0x5d9ab5[0x0],_0x44fa6c=_0x5d9ab5[0x1],_0x5aab7d=_0x5d9ab5[0x2],_0x579e17=_0x5d9ab5[0x3];_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x1ddd92,0x7,_0x332d3e[0x0]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x3e5ab1,0xc,_0x332d3e[0x1]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x2b13d,0x11,_0x332d3e[0x2]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x18a25b,0x16,_0x332d3e[0x3]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x449a83,0x7,_0x332d3e[0x4]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x5b574c,0xc,_0x332d3e[0x5]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xa43595,0x11,_0x332d3e[0x6]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x102659,0x16,_0x332d3e[0x7]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x47021b,0x7,_0x332d3e[0x8]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x462dce,0xc,_0x332d3e[0x9]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xe8d0d7,0x11,_0x332d3e[0xa]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x4d8021,0x16,_0x332d3e[0xb]),_0x4a7260=_0x7c402a(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x6f94b2,0x7,_0x332d3e[0xc]),_0x579e17=_0x7c402a(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x59fa4d,0xc,_0x332d3e[0xd]),_0x5aab7d=_0x7c402a(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x10f12c,0x11,_0x332d3e[0xe]),_0x44fa6c=_0x7c402a(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x533980,0x16,_0x332d3e[0xf]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x3e5ab1,0x5,_0x332d3e[0x10]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0xa43595,0x9,_0x332d3e[0x11]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x4d8021,0xe,_0x332d3e[0x12]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x1ddd92,0x14,_0x332d3e[0x13]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x5b574c,0x5,_0x332d3e[0x14]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0xe8d0d7,0x9,_0x332d3e[0x15]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x533980,0xe,_0x332d3e[0x16]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x449a83,0x14,_0x332d3e[0x17]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x462dce,0x5,_0x332d3e[0x18]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x10f12c,0x9,_0x332d3e[0x19]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x18a25b,0xe,_0x332d3e[0x1a]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x47021b,0x14,_0x332d3e[0x1b]),_0x4a7260=_0x2cee6f(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x59fa4d,0x5,_0x332d3e[0x1c]),_0x579e17=_0x2cee6f(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x2b13d,0x9,_0x332d3e[0x1d]),_0x5aab7d=_0x2cee6f(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x102659,0xe,_0x332d3e[0x1e]),_0x44fa6c=_0x2cee6f(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x6f94b2,0x14,_0x332d3e[0x1f]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x5b574c,0x4,_0x332d3e[0x20]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x47021b,0xb,_0x332d3e[0x21]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x4d8021,0x10,_0x332d3e[0x22]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x10f12c,0x17,_0x332d3e[0x23]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x3e5ab1,0x4,_0x332d3e[0x24]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x449a83,0xb,_0x332d3e[0x25]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x102659,0x10,_0x332d3e[0x26]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0xe8d0d7,0x17,_0x332d3e[0x27]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x59fa4d,0x4,_0x332d3e[0x28]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x1ddd92,0xb,_0x332d3e[0x29]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x18a25b,0x10,_0x332d3e[0x2a]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0xa43595,0x17,_0x332d3e[0x2b]),_0x4a7260=_0x220aa4(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x462dce,0x4,_0x332d3e[0x2c]),_0x579e17=_0x220aa4(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x6f94b2,0xb,_0x332d3e[0x2d]),_0x5aab7d=_0x220aa4(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x533980,0x10,_0x332d3e[0x2e]),_0x44fa6c=_0x220aa4(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x2b13d,0x17,_0x332d3e[0x2f]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x1ddd92,0x6,_0x332d3e[0x30]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x102659,0xa,_0x332d3e[0x31]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x10f12c,0xf,_0x332d3e[0x32]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x5b574c,0x15,_0x332d3e[0x33]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x6f94b2,0x6,_0x332d3e[0x34]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x18a25b,0xa,_0x332d3e[0x35]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xe8d0d7,0xf,_0x332d3e[0x36]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x3e5ab1,0x15,_0x332d3e[0x37]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x47021b,0x6,_0x332d3e[0x38]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x533980,0xa,_0x332d3e[0x39]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0xa43595,0xf,_0x332d3e[0x3a]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x59fa4d,0x15,_0x332d3e[0x3b]),_0x4a7260=_0x3c55a5(_0x4a7260,_0x44fa6c,_0x5aab7d,_0x579e17,_0x449a83,0x6,_0x332d3e[0x3c]),_0x579e17=_0x3c55a5(_0x579e17,_0x4a7260,_0x44fa6c,_0x5aab7d,_0x4d8021,0xa,_0x332d3e[0x3d]),_0x5aab7d=_0x3c55a5(_0x5aab7d,_0x579e17,_0x4a7260,_0x44fa6c,_0x2b13d,0xf,_0x332d3e[0x3e]),_0x44fa6c=_0x3c55a5(_0x44fa6c,_0x5aab7d,_0x579e17,_0x4a7260,_0x462dce,0x15,_0x332d3e[0x3f]),_0x5d9ab5[0x0]=_0x5d9ab5[0x0]+_0x4a7260|0x0,_0x5d9ab5[0x1]=_0x5d9ab5[0x1]+_0x44fa6c|0x0,_0x5d9ab5[0x2]=_0x5d9ab5[0x2]+_0x5aab7d|0x0,_0x5d9ab5[0x3]=_0x5d9ab5[0x3]+_0x579e17|0x0;},'_doFinalize':function(){const _0x2b150c=_0x449414;var _0x565a4f=this[_0x2b150c(0x23f)],_0x19f3f1=_0x565a4f[_0x2b150c(0x49f)],_0x3467c1=this['_nDataBytes']*0x8,_0x247033=_0x565a4f[_0x2b150c(0x512)]*0x8;_0x19f3f1[_0x247033>>>0x5]|=0x80<<0x18-_0x247033%0x20;var _0x3e414b=_0x11f7bc['floor'](_0x3467c1/0x100000000),_0xab343c=_0x3467c1;_0x19f3f1[(_0x247033+0x40>>>0x9<<0x4)+0xf]=(_0x3e414b<<0x8|_0x3e414b>>>0x18)&0xff00ff|(_0x3e414b<<0x18|_0x3e414b>>>0x8)&0xff00ff00,_0x19f3f1[(_0x247033+0x40>>>0x9<<0x4)+0xe]=(_0xab343c<<0x8|_0xab343c>>>0x18)&0xff00ff|(_0xab343c<<0x18|_0xab343c>>>0x8)&0xff00ff00,_0x565a4f[_0x2b150c(0x512)]=(_0x19f3f1[_0x2b150c(0x31e)]+0x1)*0x4,this[_0x2b150c(0x48c)]();for(var _0x6706c6=this[_0x2b150c(0x53b)],_0x38774a=_0x6706c6['words'],_0x109243=0x0;_0x109243<0x4;_0x109243++){var _0x421a79=_0x38774a[_0x109243];_0x38774a[_0x109243]=(_0x421a79<<0x8|_0x421a79>>>0x18)&0xff00ff|(_0x421a79<<0x18|_0x421a79>>>0x8)&0xff00ff00;}return _0x6706c6;},'clone':function(){const _0x271098=_0x449414;var _0x4b51ae=_0x10b4a8['clone'][_0x271098(0x3a6)](this);return _0x4b51ae[_0x271098(0x53b)]=this[_0x271098(0x53b)][_0x271098(0x2a0)](),_0x4b51ae;}});function _0x7c402a(_0x249984,_0x34fb45,_0x2bcc45,_0x4b66e5,_0x23b5ed,_0x4ccfd3,_0x23884d){var _0x1a0cff=_0x249984+(_0x34fb45&_0x2bcc45|~_0x34fb45&_0x4b66e5)+_0x23b5ed+_0x23884d;return(_0x1a0cff<<_0x4ccfd3|_0x1a0cff>>>0x20-_0x4ccfd3)+_0x34fb45;}function _0x2cee6f(_0x118b28,_0x5d4633,_0x4963d6,_0x36b21e,_0x2a3b63,_0x5b265b,_0x5ebbcb){var _0x2355db=_0x118b28+(_0x5d4633&_0x36b21e|_0x4963d6&~_0x36b21e)+_0x2a3b63+_0x5ebbcb;return(_0x2355db<<_0x5b265b|_0x2355db>>>0x20-_0x5b265b)+_0x5d4633;}function _0x220aa4(_0x2a9421,_0x405e84,_0x149396,_0xd799e3,_0x2602fb,_0x36c0ee,_0x3739fc){var _0xbc1337=_0x2a9421+(_0x405e84^_0x149396^_0xd799e3)+_0x2602fb+_0x3739fc;return(_0xbc1337<<_0x36c0ee|_0xbc1337>>>0x20-_0x36c0ee)+_0x405e84;}function _0x3c55a5(_0x29bdc2,_0x5e1191,_0x4dcd72,_0x3c0f97,_0x55a83b,_0x257828,_0x28c056){var _0x4b70cc=_0x29bdc2+(_0x4dcd72^(_0x5e1191|~_0x3c0f97))+_0x55a83b+_0x28c056;return(_0x4b70cc<<_0x257828|_0x4b70cc>>>0x20-_0x257828)+_0x5e1191;}_0x15082c['MD5']=_0x10b4a8[_0x449414(0x170)](_0x2963dc),_0x15082c[_0x449414(0x3a7)]=_0x10b4a8[_0x449414(0x38b)](_0x2963dc);}(Math),_0x22ef5e[_0x379710(0x37f)];}));}(_t)),_t[_0x19c9ee(0x2b9)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){return zt||(zt=0x1,function(_0x3d5840,_0x5d6be2){(function(_0x504f34,_0x3fdbaa){const _0x3c0be7=_0x3a60;_0x3d5840[_0x3c0be7(0x2b9)]=_0x3fdbaa(oe());}(Z,function(_0x38da0a){const _0x2f5232=_0x3a60;return(function(){const _0x24d6a7=_0x3a60;var _0x25c7c2=_0x38da0a,_0xa2605=_0x25c7c2[_0x24d6a7(0x3d1)],_0x378b6a=_0xa2605[_0x24d6a7(0x2f5)],_0x5e2617=_0xa2605[_0x24d6a7(0x5bd)],_0x3eec52=_0x25c7c2[_0x24d6a7(0x560)],_0x4c591b=[],_0x10ff68=_0x3eec52[_0x24d6a7(0x4a0)]=_0x5e2617[_0x24d6a7(0x279)]({'_doReset':function(){const _0x42705d=_0x24d6a7;this['_hash']=new _0x378b6a[(_0x42705d(0x518))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3183aa,_0x23b25f){const _0x1f8097=_0x24d6a7;for(var _0x48f041=this[_0x1f8097(0x53b)]['words'],_0x10a292=_0x48f041[0x0],_0x36d49c=_0x48f041[0x1],_0x532fc0=_0x48f041[0x2],_0x405ca6=_0x48f041[0x3],_0x29d22f=_0x48f041[0x4],_0x26cbe8=0x0;_0x26cbe8<0x50;_0x26cbe8++){if(_0x26cbe8<0x10)_0x4c591b[_0x26cbe8]=_0x3183aa[_0x23b25f+_0x26cbe8]|0x0;else{var _0x22e8d5=_0x4c591b[_0x26cbe8-0x3]^_0x4c591b[_0x26cbe8-0x8]^_0x4c591b[_0x26cbe8-0xe]^_0x4c591b[_0x26cbe8-0x10];_0x4c591b[_0x26cbe8]=_0x22e8d5<<0x1|_0x22e8d5>>>0x1f;}var _0x5f5b05=(_0x10a292<<0x5|_0x10a292>>>0x1b)+_0x29d22f+_0x4c591b[_0x26cbe8];_0x26cbe8<0x14?_0x5f5b05+=(_0x36d49c&_0x532fc0|~_0x36d49c&_0x405ca6)+0x5a827999:_0x26cbe8<0x28?_0x5f5b05+=(_0x36d49c^_0x532fc0^_0x405ca6)+0x6ed9eba1:_0x26cbe8<0x3c?_0x5f5b05+=(_0x36d49c&_0x532fc0|_0x36d49c&_0x405ca6|_0x532fc0&_0x405ca6)-0x70e44324:_0x5f5b05+=(_0x36d49c^_0x532fc0^_0x405ca6)-0x359d3e2a,_0x29d22f=_0x405ca6,_0x405ca6=_0x532fc0,_0x532fc0=_0x36d49c<<0x1e|_0x36d49c>>>0x2,_0x36d49c=_0x10a292,_0x10a292=_0x5f5b05;}_0x48f041[0x0]=_0x48f041[0x0]+_0x10a292|0x0,_0x48f041[0x1]=_0x48f041[0x1]+_0x36d49c|0x0,_0x48f041[0x2]=_0x48f041[0x2]+_0x532fc0|0x0,_0x48f041[0x3]=_0x48f041[0x3]+_0x405ca6|0x0,_0x48f041[0x4]=_0x48f041[0x4]+_0x29d22f|0x0;},'_doFinalize':function(){const _0x653404=_0x24d6a7;var _0x1d4ee9=this['_data'],_0x27cc81=_0x1d4ee9[_0x653404(0x49f)],_0x42b0b0=this[_0x653404(0x1ea)]*0x8,_0x4f0c6a=_0x1d4ee9[_0x653404(0x512)]*0x8;return _0x27cc81[_0x4f0c6a>>>0x5]|=0x80<<0x18-_0x4f0c6a%0x20,_0x27cc81[(_0x4f0c6a+0x40>>>0x9<<0x4)+0xe]=Math[_0x653404(0x13f)](_0x42b0b0/0x100000000),_0x27cc81[(_0x4f0c6a+0x40>>>0x9<<0x4)+0xf]=_0x42b0b0,_0x1d4ee9[_0x653404(0x512)]=_0x27cc81[_0x653404(0x31e)]*0x4,this['_process'](),this[_0x653404(0x53b)];},'clone':function(){const _0x29b4ce=_0x24d6a7;var _0x2afe7c=_0x5e2617[_0x29b4ce(0x2a0)][_0x29b4ce(0x3a6)](this);return _0x2afe7c['_hash']=this[_0x29b4ce(0x53b)]['clone'](),_0x2afe7c;}});_0x25c7c2[_0x24d6a7(0x4a0)]=_0x5e2617[_0x24d6a7(0x170)](_0x10ff68),_0x25c7c2[_0x24d6a7(0x449)]=_0x5e2617['_createHmacHelper'](_0x10ff68);}()),_0x38da0a[_0x2f5232(0x4a0)];}));}(dt)),dt['exports'];}var ft={'exports':{}},Xt;function Sr(){const _0x176ee5=_0x1cc768;return Xt||(Xt=0x1,function(_0x56621b,_0x45c09e){(function(_0x3e15d1,_0x4e8c90){const _0xd755b4=_0x3a60;_0x56621b[_0xd755b4(0x2b9)]=_0x4e8c90(oe());}(Z,function(_0x565255){(function(){const _0x2fcc08=_0x3a60;var _0x265b8e=_0x565255,_0x144b58=_0x265b8e[_0x2fcc08(0x3d1)],_0x4d3b17=_0x144b58['Base'],_0x1b10a7=_0x265b8e[_0x2fcc08(0x10f)],_0x173fac=_0x1b10a7['Utf8'],_0x208311=_0x265b8e[_0x2fcc08(0x560)];_0x208311[_0x2fcc08(0x28b)]=_0x4d3b17[_0x2fcc08(0x279)]({'init':function(_0x5d7a10,_0x3073a8){const _0x4dfbd0=_0x2fcc08;_0x5d7a10=this['_hasher']=new _0x5d7a10[(_0x4dfbd0(0x518))](),typeof _0x3073a8==_0x4dfbd0(0x103)&&(_0x3073a8=_0x173fac[_0x4dfbd0(0x472)](_0x3073a8));var _0x53750e=_0x5d7a10[_0x4dfbd0(0x1ce)],_0x38e448=_0x53750e*0x4;_0x3073a8[_0x4dfbd0(0x512)]>_0x38e448&&(_0x3073a8=_0x5d7a10[_0x4dfbd0(0x592)](_0x3073a8)),_0x3073a8[_0x4dfbd0(0x3d8)]();for(var _0x2819fa=this[_0x4dfbd0(0x3d9)]=_0x3073a8[_0x4dfbd0(0x2a0)](),_0x2dde89=this['_iKey']=_0x3073a8[_0x4dfbd0(0x2a0)](),_0x4613f7=_0x2819fa[_0x4dfbd0(0x49f)],_0x385fb6=_0x2dde89[_0x4dfbd0(0x49f)],_0x5cb968=0x0;_0x5cb968<_0x53750e;_0x5cb968++)_0x4613f7[_0x5cb968]^=0x5c5c5c5c,_0x385fb6[_0x5cb968]^=0x36363636;_0x2819fa[_0x4dfbd0(0x512)]=_0x2dde89[_0x4dfbd0(0x512)]=_0x38e448,this[_0x4dfbd0(0x383)]();},'reset':function(){const _0x382048=_0x2fcc08;var _0x200eca=this[_0x382048(0x27a)];_0x200eca[_0x382048(0x383)](),_0x200eca[_0x382048(0x2af)](this['_iKey']);},'update':function(_0x23c93b){const _0xda9855=_0x2fcc08;return this[_0xda9855(0x27a)]['update'](_0x23c93b),this;},'finalize':function(_0x40a8f7){const _0x4d4a12=_0x2fcc08;var _0x239fb7=this[_0x4d4a12(0x27a)],_0x2a08aa=_0x239fb7[_0x4d4a12(0x592)](_0x40a8f7);_0x239fb7['reset']();var _0x1b1927=_0x239fb7[_0x4d4a12(0x592)](this[_0x4d4a12(0x3d9)][_0x4d4a12(0x2a0)]()['concat'](_0x2a08aa));return _0x1b1927;}});}());}));}(ft)),ft[_0x176ee5(0x2b9)];}var Jt;function wi(){const _0x1e332b=_0x1cc768;return Jt||(Jt=0x1,function(_0x44ce33,_0x2dc543){(function(_0x99beab,_0x243078,_0x21d47f){const _0x2cc7c6=_0x3a60;_0x44ce33[_0x2cc7c6(0x2b9)]=_0x243078(oe(),vr(),Sr());}(Z,function(_0xe35b75){return(function(){const _0x16120a=_0x3a60;var _0x4b8b39=_0xe35b75,_0x5ae328=_0x4b8b39[_0x16120a(0x3d1)],_0x205db8=_0x5ae328['Base'],_0x4e196b=_0x5ae328[_0x16120a(0x2f5)],_0x243855=_0x4b8b39[_0x16120a(0x560)],_0x3136e3=_0x243855[_0x16120a(0x37f)],_0xea3c4c=_0x243855['EvpKDF']=_0x205db8[_0x16120a(0x279)]({'cfg':_0x205db8[_0x16120a(0x279)]({'keySize':0x80/0x20,'hasher':_0x3136e3,'iterations':0x1}),'init':function(_0x4693b6){const _0x31a136=_0x16120a;this[_0x31a136(0x57d)]=this[_0x31a136(0x57d)]['extend'](_0x4693b6);},'compute':function(_0x4ed451,_0x3ed6ff){const _0x117424=_0x16120a;for(var _0x33416c,_0x4f899d=this[_0x117424(0x57d)],_0x452fe9=_0x4f899d[_0x117424(0x428)]['create'](),_0x3b304a=_0x4e196b[_0x117424(0x337)](),_0x4b28c7=_0x3b304a[_0x117424(0x49f)],_0x3b8050=_0x4f899d[_0x117424(0x2a3)],_0x3a2131=_0x4f899d[_0x117424(0x13b)];_0x4b28c7['length']<_0x3b8050;){_0x33416c&&_0x452fe9[_0x117424(0x2af)](_0x33416c),_0x33416c=_0x452fe9[_0x117424(0x2af)](_0x4ed451)[_0x117424(0x592)](_0x3ed6ff),_0x452fe9[_0x117424(0x383)]();for(var _0x24f51b=0x1;_0x24f51b<_0x3a2131;_0x24f51b++)_0x33416c=_0x452fe9[_0x117424(0x592)](_0x33416c),_0x452fe9[_0x117424(0x383)]();_0x3b304a['concat'](_0x33416c);}return _0x3b304a[_0x117424(0x512)]=_0x3b8050*0x4,_0x3b304a;}});_0x4b8b39[_0x16120a(0x28c)]=function(_0x34bf1b,_0x51c24d,_0x3cbada){const _0x12ce20=_0x16120a;return _0xea3c4c[_0x12ce20(0x337)](_0x3cbada)[_0x12ce20(0x2c8)](_0x34bf1b,_0x51c24d);};}()),_0xe35b75['EvpKDF'];}));}(ut)),ut[_0x1e332b(0x2b9)];}var vt={'exports':{}},Zt;function Ui(){return Zt||(Zt=0x1,function(_0x20be0a,_0x530391){(function(_0x55cda7,_0x1fa4f3,_0x2f3a29){_0x20be0a['exports']=_0x1fa4f3(oe(),wi());}(Z,function(_0x4853ed){const _0x6ec71e=_0x3a60;_0x4853ed[_0x6ec71e(0x3d1)][_0x6ec71e(0x3a8)]||function(_0x16106){const _0x2014a2=_0x6ec71e;var _0x2f0371=_0x4853ed,_0x58e996=_0x2f0371['lib'],_0x1d16a7=_0x58e996[_0x2014a2(0x474)],_0x5677d4=_0x58e996[_0x2014a2(0x2f5)],_0x570148=_0x58e996['BufferedBlockAlgorithm'],_0x577829=_0x2f0371[_0x2014a2(0x10f)];_0x577829['Utf8'];var _0x1b2da3=_0x577829[_0x2014a2(0x444)],_0x39452f=_0x2f0371[_0x2014a2(0x560)],_0x1b2a33=_0x39452f[_0x2014a2(0x28c)],_0x3a495c=_0x58e996[_0x2014a2(0x3a8)]=_0x570148[_0x2014a2(0x279)]({'cfg':_0x1d16a7[_0x2014a2(0x279)](),'createEncryptor':function(_0x8476d9,_0x46a16e){const _0x111b66=_0x2014a2;return this[_0x111b66(0x337)](this['_ENC_XFORM_MODE'],_0x8476d9,_0x46a16e);},'createDecryptor':function(_0x1d9f85,_0x203df7){const _0x470a02=_0x2014a2;return this['create'](this[_0x470a02(0x27f)],_0x1d9f85,_0x203df7);},'init':function(_0x1439af,_0x425dd5,_0x33358f){const _0x5d88b7=_0x2014a2;this[_0x5d88b7(0x57d)]=this[_0x5d88b7(0x57d)][_0x5d88b7(0x279)](_0x33358f),this[_0x5d88b7(0x16f)]=_0x1439af,this['_key']=_0x425dd5,this[_0x5d88b7(0x383)]();},'reset':function(){const _0x33a2f6=_0x2014a2;_0x570148[_0x33a2f6(0x383)][_0x33a2f6(0x3a6)](this),this[_0x33a2f6(0x47c)]();},'process':function(_0x4492e9){const _0x590ee8=_0x2014a2;return this[_0x590ee8(0x458)](_0x4492e9),this[_0x590ee8(0x48c)]();},'finalize':function(_0x563b0b){const _0x3bd70d=_0x2014a2;_0x563b0b&&this[_0x3bd70d(0x458)](_0x563b0b);var _0xd890a6=this[_0x3bd70d(0x411)]();return _0xd890a6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x553de3(_0x111650){return typeof _0x111650=='string'?_0x4a0c60:_0x30aea8;}return function(_0x413099){return{'encrypt':function(_0x5a49ef,_0x20fc65,_0x5a4927){return _0x553de3(_0x20fc65)['encrypt'](_0x413099,_0x5a49ef,_0x20fc65,_0x5a4927);},'decrypt':function(_0x1b007d,_0x280a08,_0x7e6743){const _0x3fb173=_0x3a60;return _0x553de3(_0x280a08)[_0x3fb173(0x4d5)](_0x413099,_0x1b007d,_0x280a08,_0x7e6743);}};};}())});_0x58e996['StreamCipher']=_0x3a495c[_0x2014a2(0x279)]({'_doFinalize':function(){const _0x427eb3=_0x2014a2;var _0x1f412c=this[_0x427eb3(0x48c)](!0x0);return _0x1f412c;},'blockSize':0x1});var _0x4ed7a0=_0x2f0371[_0x2014a2(0x361)]={},_0x36fca6=_0x58e996['BlockCipherMode']=_0x1d16a7['extend']({'createEncryptor':function(_0x4ece70,_0x4c92ae){const _0x2b5fac=_0x2014a2;return this[_0x2b5fac(0x43b)]['create'](_0x4ece70,_0x4c92ae);},'createDecryptor':function(_0x159b18,_0x31bc39){const _0x225d76=_0x2014a2;return this[_0x225d76(0x2fb)][_0x225d76(0x337)](_0x159b18,_0x31bc39);},'init':function(_0x22b815,_0x1d4e40){const _0x55e121=_0x2014a2;this[_0x55e121(0x39a)]=_0x22b815,this[_0x55e121(0x546)]=_0x1d4e40;}}),_0x3cd79d=_0x4ed7a0['CBC']=(function(){const _0x539e67=_0x2014a2;var _0x35b57f=_0x36fca6[_0x539e67(0x279)]();_0x35b57f[_0x539e67(0x43b)]=_0x35b57f[_0x539e67(0x279)]({'processBlock':function(_0x269d0c,_0x4abe80){const _0x564bc5=_0x539e67;var _0x307f87=this['_cipher'],_0x23ac10=_0x307f87[_0x564bc5(0x1ce)];_0x7c61a1[_0x564bc5(0x3a6)](this,_0x269d0c,_0x4abe80,_0x23ac10),_0x307f87[_0x564bc5(0x204)](_0x269d0c,_0x4abe80),this[_0x564bc5(0x2d0)]=_0x269d0c[_0x564bc5(0x158)](_0x4abe80,_0x4abe80+_0x23ac10);}}),_0x35b57f[_0x539e67(0x2fb)]=_0x35b57f[_0x539e67(0x279)]({'processBlock':function(_0x3cbd82,_0x4d7125){const _0x4f2da0=_0x539e67;var _0x4106e2=this[_0x4f2da0(0x39a)],_0x334508=_0x4106e2[_0x4f2da0(0x1ce)],_0x47e60b=_0x3cbd82['slice'](_0x4d7125,_0x4d7125+_0x334508);_0x4106e2[_0x4f2da0(0x324)](_0x3cbd82,_0x4d7125),_0x7c61a1[_0x4f2da0(0x3a6)](this,_0x3cbd82,_0x4d7125,_0x334508),this[_0x4f2da0(0x2d0)]=_0x47e60b;}});function _0x7c61a1(_0x30dabc,_0xb09a6b,_0x58d1c3){const _0x19f7b7=_0x539e67;var _0x43f031,_0x33493b=this[_0x19f7b7(0x546)];_0x33493b?(_0x43f031=_0x33493b,this['_iv']=_0x16106):_0x43f031=this[_0x19f7b7(0x2d0)];for(var _0x2e265f=0x0;_0x2e265f<_0x58d1c3;_0x2e265f++)_0x30dabc[_0xb09a6b+_0x2e265f]^=_0x43f031[_0x2e265f];}return _0x35b57f;}()),_0x270615=_0x2f0371[_0x2014a2(0x3bc)]={},_0x422015=_0x270615[_0x2014a2(0x1d9)]={'pad':function(_0x517d76,_0x513954){const _0x5d2bda=_0x2014a2;for(var _0x6dfce6=_0x513954*0x4,_0xf3638a=_0x6dfce6-_0x517d76[_0x5d2bda(0x512)]%_0x6dfce6,_0x1f9326=_0xf3638a<<0x18|_0xf3638a<<0x10|_0xf3638a<<0x8|_0xf3638a,_0x273d9b=[],_0x2bbf53=0x0;_0x2bbf53<_0xf3638a;_0x2bbf53+=0x4)_0x273d9b[_0x5d2bda(0x102)](_0x1f9326);var _0xca81c=_0x5677d4[_0x5d2bda(0x337)](_0x273d9b,_0xf3638a);_0x517d76[_0x5d2bda(0x276)](_0xca81c);},'unpad':function(_0x706761){const _0x12b158=_0x2014a2;var _0x143873=_0x706761[_0x12b158(0x49f)][_0x706761[_0x12b158(0x512)]-0x1>>>0x2]&0xff;_0x706761['sigBytes']-=_0x143873;}};_0x58e996[_0x2014a2(0x2b0)]=_0x3a495c[_0x2014a2(0x279)]({'cfg':_0x3a495c[_0x2014a2(0x57d)][_0x2014a2(0x279)]({'mode':_0x3cd79d,'padding':_0x422015}),'reset':function(){const _0x4bc45e=_0x2014a2;var _0x2a43c6;_0x3a495c['reset']['call'](this);var _0x3beb0f=this[_0x4bc45e(0x57d)],_0x23f82a=_0x3beb0f['iv'],_0x5616b7=_0x3beb0f['mode'];this['_xformMode']==this[_0x4bc45e(0x48b)]?_0x2a43c6=_0x5616b7[_0x4bc45e(0x10e)]:(_0x2a43c6=_0x5616b7['createDecryptor'],this[_0x4bc45e(0x110)]=0x1),this[_0x4bc45e(0x553)]&&this['_mode'][_0x4bc45e(0x11d)]==_0x2a43c6?this['_mode'][_0x4bc45e(0x518)](this,_0x23f82a&&_0x23f82a[_0x4bc45e(0x49f)]):(this['_mode']=_0x2a43c6[_0x4bc45e(0x3a6)](_0x5616b7,this,_0x23f82a&&_0x23f82a['words']),this['_mode'][_0x4bc45e(0x11d)]=_0x2a43c6);},'_doProcessBlock':function(_0x4c784a,_0x4a4d76){const _0x6a8b01=_0x2014a2;this[_0x6a8b01(0x553)][_0x6a8b01(0x178)](_0x4c784a,_0x4a4d76);},'_doFinalize':function(){const _0x1b38dc=_0x2014a2;var _0x2ba9a0,_0x347e31=this[_0x1b38dc(0x57d)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x347e31[_0x1b38dc(0x3bc)](this[_0x1b38dc(0x23f)],this['blockSize']),_0x2ba9a0=this['_process'](!0x0)):(_0x2ba9a0=this[_0x1b38dc(0x48c)](!0x0),_0x347e31[_0x1b38dc(0x4d1)](_0x2ba9a0)),_0x2ba9a0;},'blockSize':0x80/0x20});var _0x50dddc=_0x58e996[_0x2014a2(0x3f9)]=_0x1d16a7[_0x2014a2(0x279)]({'init':function(_0x4cedf5){const _0x3498aa=_0x2014a2;this[_0x3498aa(0x399)](_0x4cedf5);},'toString':function(_0x15294d){const _0x299520=_0x2014a2;return(_0x15294d||this['formatter'])[_0x299520(0x236)](this);}}),_0x70de26=_0x2f0371[_0x2014a2(0x363)]={},_0x41b5d7=_0x70de26['OpenSSL']={'stringify':function(_0x5dfc76){const _0x197211=_0x2014a2;var _0x1e5237,_0x4c520=_0x5dfc76[_0x197211(0x466)],_0x140350=_0x5dfc76[_0x197211(0x303)];return _0x140350?_0x1e5237=_0x5677d4[_0x197211(0x337)]([0x53616c74,0x65645f5f])[_0x197211(0x276)](_0x140350)[_0x197211(0x276)](_0x4c520):_0x1e5237=_0x4c520,_0x1e5237[_0x197211(0x3df)](_0x1b2da3);},'parse':function(_0x199001){const _0x33e225=_0x2014a2;var _0x447901,_0x4b6648=_0x1b2da3[_0x33e225(0x472)](_0x199001),_0x494615=_0x4b6648[_0x33e225(0x49f)];return _0x494615[0x0]==0x53616c74&&_0x494615[0x1]==0x65645f5f&&(_0x447901=_0x5677d4['create'](_0x494615[_0x33e225(0x158)](0x2,0x4)),_0x494615['splice'](0x0,0x4),_0x4b6648[_0x33e225(0x512)]-=0x10),_0x50dddc[_0x33e225(0x337)]({'ciphertext':_0x4b6648,'salt':_0x447901});}},_0x30aea8=_0x58e996[_0x2014a2(0x159)]=_0x1d16a7[_0x2014a2(0x279)]({'cfg':_0x1d16a7['extend']({'format':_0x41b5d7}),'encrypt':function(_0x3a2b24,_0x499c5b,_0x233622,_0x760576){const _0x255120=_0x2014a2;_0x760576=this['cfg'][_0x255120(0x279)](_0x760576);var _0x11acb7=_0x3a2b24[_0x255120(0x10e)](_0x233622,_0x760576),_0x27a6fb=_0x11acb7[_0x255120(0x592)](_0x499c5b),_0x4e24f1=_0x11acb7[_0x255120(0x57d)];return _0x50dddc[_0x255120(0x337)]({'ciphertext':_0x27a6fb,'key':_0x233622,'iv':_0x4e24f1['iv'],'algorithm':_0x3a2b24,'mode':_0x4e24f1[_0x255120(0x361)],'padding':_0x4e24f1[_0x255120(0x4bf)],'blockSize':_0x3a2b24[_0x255120(0x1ce)],'formatter':_0x760576['format']});},'decrypt':function(_0xc2bc50,_0x5635e4,_0x3f6d4d,_0x4b6ff9){const _0x21e296=_0x2014a2;_0x4b6ff9=this['cfg']['extend'](_0x4b6ff9),_0x5635e4=this[_0x21e296(0x350)](_0x5635e4,_0x4b6ff9[_0x21e296(0x363)]);var _0x376c72=_0xc2bc50[_0x21e296(0x116)](_0x3f6d4d,_0x4b6ff9)[_0x21e296(0x592)](_0x5635e4[_0x21e296(0x466)]);return _0x376c72;},'_parse':function(_0x5f0bd8,_0x4fd46f){const _0x4fa6a1=_0x2014a2;return typeof _0x5f0bd8==_0x4fa6a1(0x103)?_0x4fd46f[_0x4fa6a1(0x472)](_0x5f0bd8,this):_0x5f0bd8;}}),_0x336ca8=_0x2f0371[_0x2014a2(0x32d)]={},_0x4b0ce8=_0x336ca8[_0x2014a2(0x16c)]={'execute':function(_0x5af28f,_0x531b41,_0x1caea9,_0x156565,_0x562c2d){const _0xb56aee=_0x2014a2;if(_0x156565||(_0x156565=_0x5677d4[_0xb56aee(0x454)](0x40/0x8)),_0x562c2d)var _0x98793d=_0x1b2a33['create']({'keySize':_0x531b41+_0x1caea9,'hasher':_0x562c2d})[_0xb56aee(0x2c8)](_0x5af28f,_0x156565);else var _0x98793d=_0x1b2a33[_0xb56aee(0x337)]({'keySize':_0x531b41+_0x1caea9})[_0xb56aee(0x2c8)](_0x5af28f,_0x156565);var _0x6cfa21=_0x5677d4[_0xb56aee(0x337)](_0x98793d[_0xb56aee(0x49f)][_0xb56aee(0x158)](_0x531b41),_0x1caea9*0x4);return _0x98793d[_0xb56aee(0x512)]=_0x531b41*0x4,_0x50dddc[_0xb56aee(0x337)]({'key':_0x98793d,'iv':_0x6cfa21,'salt':_0x156565});}},_0x4a0c60=_0x58e996['PasswordBasedCipher']=_0x30aea8['extend']({'cfg':_0x30aea8[_0x2014a2(0x57d)][_0x2014a2(0x279)]({'kdf':_0x4b0ce8}),'encrypt':function(_0x4ff7a9,_0x3c6eda,_0x4d6797,_0x24279e){const _0x5cbba9=_0x2014a2;_0x24279e=this[_0x5cbba9(0x57d)][_0x5cbba9(0x279)](_0x24279e);var _0x7b5f34=_0x24279e[_0x5cbba9(0x32d)][_0x5cbba9(0x34b)](_0x4d6797,_0x4ff7a9[_0x5cbba9(0x2a3)],_0x4ff7a9[_0x5cbba9(0x205)],_0x24279e[_0x5cbba9(0x303)],_0x24279e[_0x5cbba9(0x428)]);_0x24279e['iv']=_0x7b5f34['iv'];var _0xb5e3ff=_0x30aea8[_0x5cbba9(0x588)][_0x5cbba9(0x3a6)](this,_0x4ff7a9,_0x3c6eda,_0x7b5f34[_0x5cbba9(0x3ba)],_0x24279e);return _0xb5e3ff[_0x5cbba9(0x399)](_0x7b5f34),_0xb5e3ff;},'decrypt':function(_0x21a8e3,_0x3e849,_0x32564e,_0x631957){const _0x403e05=_0x2014a2;_0x631957=this['cfg'][_0x403e05(0x279)](_0x631957),_0x3e849=this[_0x403e05(0x350)](_0x3e849,_0x631957[_0x403e05(0x363)]);var _0x56a3ad=_0x631957[_0x403e05(0x32d)][_0x403e05(0x34b)](_0x32564e,_0x21a8e3[_0x403e05(0x2a3)],_0x21a8e3[_0x403e05(0x205)],_0x3e849[_0x403e05(0x303)],_0x631957['hasher']);_0x631957['iv']=_0x56a3ad['iv'];var _0x291984=_0x30aea8['decrypt']['call'](this,_0x21a8e3,_0x3e849,_0x56a3ad[_0x403e05(0x3ba)],_0x631957);return _0x291984;}});}();}));}(vt)),vt['exports'];}(function(_0x56edcf,_0x1124f9){(function(_0x4cccb1,_0x32fcfe,_0x2afb2b){_0x56edcf['exports']=_0x32fcfe(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x1cdd71){const _0x56fbac=_0x3a60;return(function(){const _0x377c1f=_0x3a60;var _0x49f35f=_0x1cdd71,_0x58c594=_0x49f35f[_0x377c1f(0x3d1)],_0x41e90d=_0x58c594[_0x377c1f(0x2b0)],_0x4952f8=_0x49f35f[_0x377c1f(0x560)],_0x145fd5=[],_0x4d7e90=[],_0x466535=[],_0xe3f5e4=[],_0xf7ec76=[],_0x5d8f74=[],_0x1d61f7=[],_0x5bee5e=[],_0x4ad22e=[],_0x385957=[];(function(){for(var _0x270e73=[],_0x4de552=0x0;_0x4de552<0x100;_0x4de552++)_0x4de552<0x80?_0x270e73[_0x4de552]=_0x4de552<<0x1:_0x270e73[_0x4de552]=_0x4de552<<0x1^0x11b;for(var _0x1746fb=0x0,_0x4f18ad=0x0,_0x4de552=0x0;_0x4de552<0x100;_0x4de552++){var _0x2401bb=_0x4f18ad^_0x4f18ad<<0x1^_0x4f18ad<<0x2^_0x4f18ad<<0x3^_0x4f18ad<<0x4;_0x2401bb=_0x2401bb>>>0x8^_0x2401bb&0xff^0x63,_0x145fd5[_0x1746fb]=_0x2401bb,_0x4d7e90[_0x2401bb]=_0x1746fb;var _0x2f24b5=_0x270e73[_0x1746fb],_0x32ebf3=_0x270e73[_0x2f24b5],_0x5e3836=_0x270e73[_0x32ebf3],_0x3e91f3=_0x270e73[_0x2401bb]*0x101^_0x2401bb*0x1010100;_0x466535[_0x1746fb]=_0x3e91f3<<0x18|_0x3e91f3>>>0x8,_0xe3f5e4[_0x1746fb]=_0x3e91f3<<0x10|_0x3e91f3>>>0x10,_0xf7ec76[_0x1746fb]=_0x3e91f3<<0x8|_0x3e91f3>>>0x18,_0x5d8f74[_0x1746fb]=_0x3e91f3;var _0x3e91f3=_0x5e3836*0x1010101^_0x32ebf3*0x10001^_0x2f24b5*0x101^_0x1746fb*0x1010100;_0x1d61f7[_0x2401bb]=_0x3e91f3<<0x18|_0x3e91f3>>>0x8,_0x5bee5e[_0x2401bb]=_0x3e91f3<<0x10|_0x3e91f3>>>0x10,_0x4ad22e[_0x2401bb]=_0x3e91f3<<0x8|_0x3e91f3>>>0x18,_0x385957[_0x2401bb]=_0x3e91f3,_0x1746fb?(_0x1746fb=_0x2f24b5^_0x270e73[_0x270e73[_0x270e73[_0x5e3836^_0x2f24b5]]],_0x4f18ad^=_0x270e73[_0x270e73[_0x4f18ad]]):_0x1746fb=_0x4f18ad=0x1;}}());var _0x48e1de=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a4f50=_0x4952f8[_0x377c1f(0x14e)]=_0x41e90d[_0x377c1f(0x279)]({'_doReset':function(){const _0x56edd9=_0x377c1f;var _0x35e4c0;if(!(this[_0x56edd9(0x211)]&&this[_0x56edd9(0x471)]===this[_0x56edd9(0x3e6)])){for(var _0xe44d92=this[_0x56edd9(0x471)]=this[_0x56edd9(0x3e6)],_0x46270d=_0xe44d92[_0x56edd9(0x49f)],_0x1265e0=_0xe44d92[_0x56edd9(0x512)]/0x4,_0x585f6a=this[_0x56edd9(0x211)]=_0x1265e0+0x6,_0x4af175=(_0x585f6a+0x1)*0x4,_0x524bd2=this[_0x56edd9(0x26a)]=[],_0x5cf807=0x0;_0x5cf807<_0x4af175;_0x5cf807++)_0x5cf807<_0x1265e0?_0x524bd2[_0x5cf807]=_0x46270d[_0x5cf807]:(_0x35e4c0=_0x524bd2[_0x5cf807-0x1],_0x5cf807%_0x1265e0?_0x1265e0>0x6&&_0x5cf807%_0x1265e0==0x4&&(_0x35e4c0=_0x145fd5[_0x35e4c0>>>0x18]<<0x18|_0x145fd5[_0x35e4c0>>>0x10&0xff]<<0x10|_0x145fd5[_0x35e4c0>>>0x8&0xff]<<0x8|_0x145fd5[_0x35e4c0&0xff]):(_0x35e4c0=_0x35e4c0<<0x8|_0x35e4c0>>>0x18,_0x35e4c0=_0x145fd5[_0x35e4c0>>>0x18]<<0x18|_0x145fd5[_0x35e4c0>>>0x10&0xff]<<0x10|_0x145fd5[_0x35e4c0>>>0x8&0xff]<<0x8|_0x145fd5[_0x35e4c0&0xff],_0x35e4c0^=_0x48e1de[_0x5cf807/_0x1265e0|0x0]<<0x18),_0x524bd2[_0x5cf807]=_0x524bd2[_0x5cf807-_0x1265e0]^_0x35e4c0);for(var _0x9b0535=this[_0x56edd9(0x4d3)]=[],_0x4a4022=0x0;_0x4a4022<_0x4af175;_0x4a4022++){var _0x5cf807=_0x4af175-_0x4a4022;if(_0x4a4022%0x4)var _0x35e4c0=_0x524bd2[_0x5cf807];else var _0x35e4c0=_0x524bd2[_0x5cf807-0x4];_0x4a4022<0x4||_0x5cf807<=0x4?_0x9b0535[_0x4a4022]=_0x35e4c0:_0x9b0535[_0x4a4022]=_0x1d61f7[_0x145fd5[_0x35e4c0>>>0x18]]^_0x5bee5e[_0x145fd5[_0x35e4c0>>>0x10&0xff]]^_0x4ad22e[_0x145fd5[_0x35e4c0>>>0x8&0xff]]^_0x385957[_0x145fd5[_0x35e4c0&0xff]];}}},'encryptBlock':function(_0x1d0f6a,_0x479bdf){const _0x13b976=_0x377c1f;this[_0x13b976(0x2a9)](_0x1d0f6a,_0x479bdf,this[_0x13b976(0x26a)],_0x466535,_0xe3f5e4,_0xf7ec76,_0x5d8f74,_0x145fd5);},'decryptBlock':function(_0x1fdef7,_0x42f580){const _0x5412d3=_0x377c1f;var _0x50f7a0=_0x1fdef7[_0x42f580+0x1];_0x1fdef7[_0x42f580+0x1]=_0x1fdef7[_0x42f580+0x3],_0x1fdef7[_0x42f580+0x3]=_0x50f7a0,this[_0x5412d3(0x2a9)](_0x1fdef7,_0x42f580,this[_0x5412d3(0x4d3)],_0x1d61f7,_0x5bee5e,_0x4ad22e,_0x385957,_0x4d7e90);var _0x50f7a0=_0x1fdef7[_0x42f580+0x1];_0x1fdef7[_0x42f580+0x1]=_0x1fdef7[_0x42f580+0x3],_0x1fdef7[_0x42f580+0x3]=_0x50f7a0;},'_doCryptBlock':function(_0x43dac1,_0x14bbbb,_0x1b3c3e,_0xdbe6bd,_0x531e50,_0x4a4b89,_0x5b9ca1,_0xff2d90){const _0x596ade=_0x377c1f;for(var _0x13d973=this[_0x596ade(0x211)],_0x30696e=_0x43dac1[_0x14bbbb]^_0x1b3c3e[0x0],_0x47e90b=_0x43dac1[_0x14bbbb+0x1]^_0x1b3c3e[0x1],_0x4e77dc=_0x43dac1[_0x14bbbb+0x2]^_0x1b3c3e[0x2],_0x2bbf62=_0x43dac1[_0x14bbbb+0x3]^_0x1b3c3e[0x3],_0x138ea7=0x4,_0x4eeed1=0x1;_0x4eeed1<_0x13d973;_0x4eeed1++){var _0x16d6b9=_0xdbe6bd[_0x30696e>>>0x18]^_0x531e50[_0x47e90b>>>0x10&0xff]^_0x4a4b89[_0x4e77dc>>>0x8&0xff]^_0x5b9ca1[_0x2bbf62&0xff]^_0x1b3c3e[_0x138ea7++],_0x98db34=_0xdbe6bd[_0x47e90b>>>0x18]^_0x531e50[_0x4e77dc>>>0x10&0xff]^_0x4a4b89[_0x2bbf62>>>0x8&0xff]^_0x5b9ca1[_0x30696e&0xff]^_0x1b3c3e[_0x138ea7++],_0x2575ee=_0xdbe6bd[_0x4e77dc>>>0x18]^_0x531e50[_0x2bbf62>>>0x10&0xff]^_0x4a4b89[_0x30696e>>>0x8&0xff]^_0x5b9ca1[_0x47e90b&0xff]^_0x1b3c3e[_0x138ea7++],_0x20bd61=_0xdbe6bd[_0x2bbf62>>>0x18]^_0x531e50[_0x30696e>>>0x10&0xff]^_0x4a4b89[_0x47e90b>>>0x8&0xff]^_0x5b9ca1[_0x4e77dc&0xff]^_0x1b3c3e[_0x138ea7++];_0x30696e=_0x16d6b9,_0x47e90b=_0x98db34,_0x4e77dc=_0x2575ee,_0x2bbf62=_0x20bd61;}var _0x16d6b9=(_0xff2d90[_0x30696e>>>0x18]<<0x18|_0xff2d90[_0x47e90b>>>0x10&0xff]<<0x10|_0xff2d90[_0x4e77dc>>>0x8&0xff]<<0x8|_0xff2d90[_0x2bbf62&0xff])^_0x1b3c3e[_0x138ea7++],_0x98db34=(_0xff2d90[_0x47e90b>>>0x18]<<0x18|_0xff2d90[_0x4e77dc>>>0x10&0xff]<<0x10|_0xff2d90[_0x2bbf62>>>0x8&0xff]<<0x8|_0xff2d90[_0x30696e&0xff])^_0x1b3c3e[_0x138ea7++],_0x2575ee=(_0xff2d90[_0x4e77dc>>>0x18]<<0x18|_0xff2d90[_0x2bbf62>>>0x10&0xff]<<0x10|_0xff2d90[_0x30696e>>>0x8&0xff]<<0x8|_0xff2d90[_0x47e90b&0xff])^_0x1b3c3e[_0x138ea7++],_0x20bd61=(_0xff2d90[_0x2bbf62>>>0x18]<<0x18|_0xff2d90[_0x30696e>>>0x10&0xff]<<0x10|_0xff2d90[_0x47e90b>>>0x8&0xff]<<0x8|_0xff2d90[_0x4e77dc&0xff])^_0x1b3c3e[_0x138ea7++];_0x43dac1[_0x14bbbb]=_0x16d6b9,_0x43dac1[_0x14bbbb+0x1]=_0x98db34,_0x43dac1[_0x14bbbb+0x2]=_0x2575ee,_0x43dac1[_0x14bbbb+0x3]=_0x20bd61;},'keySize':0x100/0x20});_0x49f35f[_0x377c1f(0x14e)]=_0x41e90d[_0x377c1f(0x170)](_0x2a4f50);}()),_0x1cdd71[_0x56fbac(0x14e)];}));}(Di));var pr=Di[_0x1cc768(0x2b9)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0x44084c,_0x18e092){(function(_0x1d067a,_0x44a5dc){const _0x380ed3=_0x3a60;_0x44084c[_0x380ed3(0x2b9)]=_0x44a5dc(oe());}(Z,function(_0x41b65a){const _0x12c294=_0x3a60;return _0x41b65a[_0x12c294(0x10f)][_0x12c294(0x31d)];}));}(Mi));var Ir=Mi[_0x1cc768(0x2b9)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x5edcd9,_0x269961){(function(_0x27ef59,_0x221b1b){const _0x10790a=_0x3a60;_0x5edcd9[_0x10790a(0x2b9)]=_0x221b1b(oe());}(Z,function(_0x270aad){const _0xe86a9b=_0x3a60;return(function(){const _0x2e9be2=_0x3a60;if(typeof ArrayBuffer==_0x2e9be2(0x5c6)){var _0x47e7a8=_0x270aad,_0x25d790=_0x47e7a8[_0x2e9be2(0x3d1)],_0x4f7c05=_0x25d790[_0x2e9be2(0x2f5)],_0x1e2689=_0x4f7c05[_0x2e9be2(0x518)],_0x532b93=_0x4f7c05[_0x2e9be2(0x518)]=function(_0x23d75b){const _0x38c343=_0x2e9be2;if(_0x23d75b instanceof ArrayBuffer&&(_0x23d75b=new Uint8Array(_0x23d75b)),(_0x23d75b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x23d75b instanceof Uint8ClampedArray||_0x23d75b instanceof Int16Array||_0x23d75b instanceof Uint16Array||_0x23d75b instanceof Int32Array||_0x23d75b instanceof Uint32Array||_0x23d75b instanceof Float32Array||_0x23d75b instanceof Float64Array)&&(_0x23d75b=new Uint8Array(_0x23d75b[_0x38c343(0x563)],_0x23d75b[_0x38c343(0x402)],_0x23d75b[_0x38c343(0x4c9)])),_0x23d75b instanceof Uint8Array){for(var _0x786d1f=_0x23d75b[_0x38c343(0x4c9)],_0x3b9c8a=[],_0x305448=0x0;_0x305448<_0x786d1f;_0x305448++)_0x3b9c8a[_0x305448>>>0x2]|=_0x23d75b[_0x305448]<<0x18-_0x305448%0x4*0x8;_0x1e2689['call'](this,_0x3b9c8a,_0x786d1f);}else _0x1e2689[_0x38c343(0x119)](this,arguments);};_0x532b93[_0x2e9be2(0x396)]=_0x4f7c05;}}()),_0x270aad[_0xe86a9b(0x3d1)][_0xe86a9b(0x2f5)];}));}(Ai));var Er=Ai[_0x1cc768(0x2b9)];const br=xe(Er);var Ni={'exports':{}};(function(_0x253646,_0x541f11){(function(_0x3a02e9,_0x5f4cf2,_0x2a04bd){const _0x4e3ce9=_0x3a60;_0x253646[_0x4e3ce9(0x2b9)]=_0x5f4cf2(oe(),Ui());}(Z,function(_0x3b49db){const _0x143bcb=_0x3a60;return _0x3b49db['pad'][_0x143bcb(0x190)]={'pad':function(){},'unpad':function(){}},_0x3b49db[_0x143bcb(0x3bc)][_0x143bcb(0x190)];}));}(Ni));var Tr=Ni['exports'];const Rr=xe(Tr);function yr(_0x53f593,_0xc1a3a8){const _0x2930e8=_0x1cc768,_0x1586ed=_0xc1a3a8-_0x53f593[_0x2930e8(0x31e)]%_0xc1a3a8,_0x34ae15=String['fromCharCode'](_0x1586ed)['repeat'](_0x1586ed);return _0x53f593+_0x34ae15;}function Or(_0x11ad18,_0x4b6b9c){const _0x56c8e5=_0x1cc768,_0x21253c=br['random'](0x10),_0x20510f=yr(_0x11ad18,0x10),_0x5aeb80=mr[_0x56c8e5(0x588)](Cr[_0x56c8e5(0x472)](_0x20510f),Qt['parse'](_0x4b6b9c),{'iv':_0x21253c,'padding':Rr});return _0x21253c[_0x56c8e5(0x276)](_0x5aeb80[_0x56c8e5(0x466)])[_0x56c8e5(0x3df)](Qt);}function Dr(){const _0x2edcdd=_0x1cc768,_0x358b76=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2edcdd(0x2b3)];if(_0x358b76){const _0x3b0ff3={'time':Math[_0x2edcdd(0x13f)](Date['now']()/0x3e8),'domain':location[_0x2edcdd(0x4bb)]};return Or(JSON[_0x2edcdd(0x236)](_0x3b0ff3),_0x358b76);}}var Pr=Object[_0x1cc768(0x244)],wr=Object[_0x1cc768(0x263)],Ur=(_0x2c1d8c,_0x245715,_0x51e3d8,_0x544d22)=>{const _0xac8388=_0x1cc768;for(var _0x2d0c18=_0x544d22>0x1?void 0x0:_0x544d22?wr(_0x245715,_0x51e3d8):_0x245715,_0x3020c6=_0x2c1d8c[_0xac8388(0x31e)]-0x1,_0xe90b9c;_0x3020c6>=0x0;_0x3020c6--)(_0xe90b9c=_0x2c1d8c[_0x3020c6])&&(_0x2d0c18=(_0x544d22?_0xe90b9c(_0x245715,_0x51e3d8,_0x2d0c18):_0xe90b9c(_0x2d0c18))||_0x2d0c18);return _0x544d22&&_0x2d0c18&&Pr(_0x245715,_0x51e3d8,_0x2d0c18),_0x2d0c18;},Mr=(_0x312c93,_0x10d228)=>(_0x40802d,_0x4f9229)=>_0x10d228(_0x40802d,_0x4f9229,_0x312c93);let Ke=class{constructor(_0x282224){const _0x5a7f1b=_0x1cc768;this[_0x5a7f1b(0x2d5)]=_0x282224,this[_0x5a7f1b(0x42b)]();}[_0x1cc768(0x42b)](){const _0x4a0f01=_0x1cc768;this[_0x4a0f01(0x2d5)][_0x4a0f01(0x53d)]({'interceptor':(_0x4d0e49,_0x4aece0)=>{const _0x56b16f=_0x4a0f01,_0x242776=_0x4d0e49[_0x56b16f(0x351)],_0x2eab8a=Dr();return _0x2eab8a&&_0x242776[_0x56b16f(0x31f)](_0x56b16f(0x4e4),_0x2eab8a),_0x4aece0(_0x4d0e49);}});}};Ke=Ur([Mr(0x0,a[_0x1cc768(0x2ca)](z['HTTPService']))],Ke);var Ar=Object[_0x1cc768(0x244)],Nr=Object[_0x1cc768(0x263)],Lr=(_0x39b2e0,_0x2fd6ca,_0x6dc695,_0x6a57c7)=>{const _0x3b50e5=_0x1cc768;for(var _0x3e5ee6=_0x6a57c7>0x1?void 0x0:_0x6a57c7?Nr(_0x2fd6ca,_0x6dc695):_0x2fd6ca,_0x463f70=_0x39b2e0[_0x3b50e5(0x31e)]-0x1,_0x2d061d;_0x463f70>=0x0;_0x463f70--)(_0x2d061d=_0x39b2e0[_0x463f70])&&(_0x3e5ee6=(_0x6a57c7?_0x2d061d(_0x2fd6ca,_0x6dc695,_0x3e5ee6):_0x2d061d(_0x3e5ee6))||_0x3e5ee6);return _0x6a57c7&&_0x3e5ee6&&Ar(_0x2fd6ca,_0x6dc695,_0x3e5ee6),_0x3e5ee6;},St=(_0x4ec93a,_0x2a05a8)=>(_0x3a203d,_0x1cd987)=>_0x2a05a8(_0x3a203d,_0x1cd987,_0x4ec93a);const xr=[_0x1cc768(0x1ee),'image/jpeg',_0x1cc768(0x511),_0x1cc768(0x15a),_0x1cc768(0x490)],jr=0x5*0x400*0x400,$r='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Hr=_0x1cc768(0x192),Br=_0x1cc768(0x419),kr=_0x1cc768(0x3ae);exports[_0x1cc768(0x2d4)]=class{constructor(_0x348b29,_0x50c3fb,_0x4b5788){const _0x392ccf=_0x1cc768;I(this,_0x392ccf(0x513),0x0),I(this,'_change$',new A[(_0x392ccf(0x3f0))]()),I(this,_0x392ccf(0x5d1),this[_0x392ccf(0x56e)]),I(this,_0x392ccf(0x514),new Map()),(this['_httpService']=_0x348b29,this[_0x392ccf(0x2c0)]=_0x50c3fb,this[_0x392ccf(0x114)]=_0x4b5788);}[_0x1cc768(0x1c2)](_0x1821ea){const _0xa835b6=_0x1cc768;this[_0xa835b6(0x513)]=_0x1821ea,this[_0xa835b6(0x56e)][_0xa835b6(0x122)](_0x1821ea);}[_0x1cc768(0x29a)](_0x547dfd,_0x3244b1){const _0x7350c6=_0x1cc768;if(_0x3244b1===ie[_0x7350c6(0x21d)][_0x7350c6(0x344)]){const _0x45ca85=new Image();return _0x45ca85['src']=_0x547dfd,_0x45ca85;}return this[_0x7350c6(0x514)][_0x7350c6(0x4f7)](_0x547dfd);}[_0x1cc768(0x30c)](_0x6ade91,_0x1342b6,_0x319d84){const _0x3fc871=_0x1cc768;_0x1342b6===ie[_0x3fc871(0x21d)][_0x3fc871(0x344)]||_0x319d84==null||this['_imageSourceCache']['set'](_0x6ade91,_0x319d84);}async[_0x1cc768(0x167)](_0x54dffd){const _0xbccf62=_0x1cc768;try{const _0x4a6589=this[_0xbccf62(0x469)](this['_getSignURL'](),''+_0x54dffd),_0x661a57=(await this['_httpService'][_0xbccf62(0x4f7)](_0x4a6589))['body'];if(_0x661a57[_0xbccf62(0x1c4)]&&_0x661a57[_0xbccf62(0x1c4)][_0xbccf62(0x26d)]===_i['OK']){const _0x1060b4=new URL(_0x661a57[_0xbccf62(0x539)],this['_getDownloadEndpointURL']())[_0xbccf62(0x3df)]();return Promise['resolve'](_0x1060b4);}return Promise[_0xbccf62(0x13e)](_0x661a57[_0xbccf62(0x1c4)]);}catch(_0x2783d8){return Promise['reject'](_0x2783d8);}}async[_0x1cc768(0x3af)](_0x2a52e9){const _0x5075d9=_0x1cc768;let _0x3b17fd='';if(!xr[_0x5075d9(0x477)](_0x2a52e9['type']))return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x1e9)]));if(_0x2a52e9[_0x5075d9(0x4df)]>jr)return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x359)]));try{const _0x52e668=new FormData();_0x52e668[_0x5075d9(0x35b)](_0x5075d9(0x4b8),_0x2a52e9);const _0x177139=this[_0x5075d9(0x114)]['getFocusedUnit'](),_0x46d3fc=_0x177139==null?void 0x0:_0x177139['getUnitId']();if(!_0x46d3fc)throw new Error(_0x5075d9(0x55c));const _0x410fcd=this['_getUploadFileURL']()+'?size='+_0x2a52e9['size'][_0x5075d9(0x3df)]()+'&source='+ui[_0x5075d9(0x3ca)]+_0x5075d9(0x2b8)+encodeURIComponent(_0x46d3fc),_0x2c27ca=await(await fetch(_0x410fcd,{'method':_0x5075d9(0x1ab),'body':_0x52e668}))['json']();if(typeof _0x2c27ca['FileId']!=_0x5075d9(0x103))return this[_0x5075d9(0x50e)](),Promise[_0x5075d9(0x13e)](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x18a)]));_0x3b17fd=_0x2c27ca['FileId'];}catch{return this[_0x5075d9(0x50e)](),Promise['reject'](new Error(ie[_0x5075d9(0x123)][_0x5075d9(0x18a)]));}return new Promise((_0x1ab911,_0x1bee91)=>{const _0x5eefe8=_0x5075d9,_0x8bfff5=new FileReader();_0x8bfff5[_0x5eefe8(0x36d)](_0x2a52e9),_0x8bfff5[_0x5eefe8(0x289)]=_0x5c5485=>{const _0x457c28=_0x5eefe8;var _0x2ff427;const _0x2c922a=(_0x2ff427=_0x5c5485[_0x457c28(0x220)])==null?void 0x0:_0x2ff427['result'];if(_0x2c922a==null){this[_0x457c28(0x50e)](),_0x1bee91(new Error(ie[_0x457c28(0x123)][_0x457c28(0x18a)]));return;}const _0x31612f=a[_0x457c28(0x369)][_0x457c28(0x390)](0x6);_0x1ab911({'imageId':_0x31612f,'imageSourceType':ie[_0x457c28(0x21d)]['UUID'],'source':_0x3b17fd,'base64Cache':_0x2c922a,'status':ie[_0x457c28(0x123)][_0x457c28(0x4bc)]}),this[_0x457c28(0x50e)]();};});}[_0x1cc768(0x1cd)](){const _0x31a101=_0x1cc768;var _0x304937,_0x1f33db;const _0x5ced4c=this[_0x31a101(0x2c0)][_0x31a101(0x555)]($r),_0x11ed41=this[_0x31a101(0x2c0)][_0x31a101(0x555)](Q);return(_0x1f33db=(_0x304937=_0x11ed41==null?void 0x0:_0x11ed41['uploadFileServerUrl'])!=null?_0x304937:_0x5ced4c)!=null?_0x1f33db:Hr;}['_getSignURL'](){const _0x1b0eff=_0x1cc768;var _0x58fcca,_0x3d2d85;const _0x4f08e5=this['_configService'][_0x1b0eff(0x555)](Br),_0x443534=this[_0x1b0eff(0x2c0)][_0x1b0eff(0x555)](Q);return(_0x3d2d85=(_0x58fcca=_0x443534==null?void 0x0:_0x443534[_0x1b0eff(0x57f)])!=null?_0x58fcca:_0x4f08e5)!=null?_0x3d2d85:kr;}['_getDownloadEndpointURL'](){const _0x3955e5=_0x1cc768;var _0x144b91;const _0x2ac354=this['_configService'][_0x3955e5(0x555)](Q);return(_0x144b91=_0x2ac354==null?void 0x0:_0x2ac354[_0x3955e5(0x5bf)])!=null?_0x144b91:location[_0x3955e5(0x509)];}[_0x1cc768(0x469)](_0x1e46c8,_0x148a23){const _0x539370=_0x1cc768;return _0x1e46c8['replace'](_0x539370(0x148),_0x148a23);}[_0x1cc768(0x50e)](){const _0xb21cb1=_0x1cc768;this[_0xb21cb1(0x513)]-=0x1,this[_0xb21cb1(0x56e)][_0xb21cb1(0x122)](this[_0xb21cb1(0x513)]);}},exports[_0x1cc768(0x2d4)]=Lr([St(0x0,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)])),St(0x1,a[_0x1cc768(0x56f)]),St(0x2,a['Inject'](a[_0x1cc768(0x3bd)]))],exports['ImageIoService']);var Wr=Object[_0x1cc768(0x244)],Fr=Object[_0x1cc768(0x263)],Vr=(_0x22c75e,_0x52638c,_0x5108f3,_0x4ecdc7)=>{const _0x1db6fb=_0x1cc768;for(var _0x10242b=_0x4ecdc7>0x1?void 0x0:_0x4ecdc7?Fr(_0x52638c,_0x5108f3):_0x52638c,_0x2ad830=_0x22c75e[_0x1db6fb(0x31e)]-0x1,_0x31dda4;_0x2ad830>=0x0;_0x2ad830--)(_0x31dda4=_0x22c75e[_0x2ad830])&&(_0x10242b=(_0x4ecdc7?_0x31dda4(_0x52638c,_0x5108f3,_0x10242b):_0x31dda4(_0x10242b))||_0x10242b);return _0x4ecdc7&&_0x10242b&&Wr(_0x52638c,_0x5108f3,_0x10242b),_0x10242b;},ei=(_0x1caf5a,_0x4a6142)=>(_0x3ca74e,_0x3c9e18)=>_0x4a6142(_0x3ca74e,_0x3c9e18,_0x1caf5a);const Gr=_0x1cc768(0x58a);exports[_0x1cc768(0x41e)]=class{constructor(_0x1126c0,_0x511b54){const _0x28e8c5=_0x1cc768;this['_configService']=_0x1126c0,this[_0x28e8c5(0x313)]=_0x511b54;}['_getAPIPrefixPath'](){const _0x298a25=_0x1cc768;var _0x2c102b,_0x527271;const _0x1ade7b=this[_0x298a25(0x2c0)][_0x298a25(0x555)](Ut),_0x36c370=this[_0x298a25(0x2c0)]['getConfig'](Q);return(_0x527271=(_0x2c102b=_0x36c370==null?void 0x0:_0x36c370[_0x298a25(0x1d0)])!=null?_0x2c102b:_0x1ade7b)!=null?_0x527271:Gr;}async[_0x1cc768(0x4d8)](_0x59e1f8){const _0x389eed=_0x1cc768,_0x544432=this[_0x389eed(0x1b8)]()+_0x389eed(0x368);return{'list':[{'title':_0x389eed(0x413),'mentions':(await this[_0x389eed(0x313)][_0x389eed(0x4f7)](_0x544432,{'params':{'objectID':_0x59e1f8[_0x389eed(0x2f1)],'unitID':_0x59e1f8['unitId']}}))[_0x389eed(0x46d)][_0x389eed(0x2d7)][_0x389eed(0x130)](_0x4183c5=>({'objectId':_0x4183c5['id'],'name':_0x4183c5[_0x389eed(0x52b)][_0x389eed(0x27c)],'metadata':{'icon':_0x4183c5['subject']['avatar']},'label':_0x4183c5[_0x389eed(0x52b)]['name'],'objectType':a[_0x389eed(0x2b4)][_0x389eed(0x5cb)]})),'metadata':{},'type':a['MentionType'][_0x389eed(0x5cb)]}]};}},exports[_0x1cc768(0x41e)]=Vr([ei(0x0,a['Inject'](a[_0x1cc768(0x56f)])),ei(0x1,a['Inject'](z[_0x1cc768(0x1db)]))],exports['MentionIoHttpService']);var Yr=Object['defineProperty'],Kr=Object[_0x1cc768(0x263)],qr=(_0x5a1bd9,_0x17bec7,_0x523972,_0x3d4b44)=>{const _0x50e374=_0x1cc768;for(var _0xbde4be=_0x3d4b44>0x1?void 0x0:_0x3d4b44?Kr(_0x17bec7,_0x523972):_0x17bec7,_0x5c09c0=_0x5a1bd9[_0x50e374(0x31e)]-0x1,_0x158750;_0x5c09c0>=0x0;_0x5c09c0--)(_0x158750=_0x5a1bd9[_0x5c09c0])&&(_0xbde4be=(_0x3d4b44?_0x158750(_0x17bec7,_0x523972,_0xbde4be):_0x158750(_0xbde4be))||_0xbde4be);return _0x3d4b44&&_0xbde4be&&Yr(_0x17bec7,_0x523972,_0xbde4be),_0xbde4be;},Ae=(_0x17e771,_0x168521)=>(_0x31ad84,_0x551050)=>_0x168521(_0x31ad84,_0x551050,_0x17e771);let qe=class extends a['RxDisposable']{constructor(_0x5238ab,_0xf45693,_0x132599,_0x1a5038,_0x17e607){const _0x15f48b=_0x1cc768;super(),this[_0x15f48b(0x310)]=_0x5238ab,this[_0x15f48b(0x114)]=_0xf45693,this[_0x15f48b(0x208)]=_0x132599,this[_0x15f48b(0x538)]=_0x1a5038,this[_0x15f48b(0x133)]=_0x17e607,this['_initUnitPermissionChange'](),this[_0x15f48b(0x294)]();}['_initCloseConn'](){const _0x55c8ff=_0x1cc768,_0x19a987=async _0xe410f6=>{const _0x2c90e8=_0x3a60;(await this[_0x2c90e8(0x538)][_0x2c90e8(0x186)](_0xe410f6))['event$'][_0x2c90e8(0x154)](V[_0x2c90e8(0x464)](_0x11e0c9=>_0x11e0c9[_0x2c90e8(0x1c1)]===p[_0x2c90e8(0x59c)][_0x2c90e8(0x3a3)]),V[_0x2c90e8(0x4cf)](this[_0x2c90e8(0x36e)]))[_0x2c90e8(0x556)](_0x3c830f=>{const _0x515771=_0x2c90e8,_0x58e1f4=_0x3c830f,{reason:_0x49abef}=_0x58e1f4[_0x515771(0x48a)];this[_0x515771(0x310)][_0x515771(0x4f7)](te[_0x515771(0x1e5)])[_0x515771(0x242)]({'type':Ce[_0x515771(0x14d)][_0x515771(0x4ef)],'content':this[_0x515771(0x133)]['t'](_0x515771(0x3e2))+'('+_0x49abef+')'}),this[_0x515771(0x208)][_0x515771(0x517)](new k[(_0x515771(0x1d2))](_0xe410f6)['id'],!0x1),this[_0x515771(0x538)][_0x515771(0x44a)](_0xe410f6);});};A[_0x55c8ff(0x57c)](this[_0x55c8ff(0x114)][_0x55c8ff(0x5ac)](a[_0x55c8ff(0x1a7)]['UNIVER_SHEET']),this[_0x55c8ff(0x114)][_0x55c8ff(0x5ac)](a[_0x55c8ff(0x1a7)][_0x55c8ff(0x408)]))[_0x55c8ff(0x154)](V[_0x55c8ff(0x130)](_0x2458b0=>_0x2458b0[_0x55c8ff(0x1f0)]()),V[_0x55c8ff(0x464)](_0x4026c8=>!a[_0x55c8ff(0x430)](_0x4026c8)),V['takeUntil'](this[_0x55c8ff(0x36e)]))[_0x55c8ff(0x556)](_0x59c33f=>{_0x19a987(_0x59c33f);});}[_0x1cc768(0x424)](){const _0xa8ff0b=_0x1cc768,_0x5f0563=async _0x4f3742=>{const _0x58ec7e=_0x3a60;(await this[_0x58ec7e(0x538)][_0x58ec7e(0x186)](_0x4f3742))[_0x58ec7e(0x3a0)]['pipe'](V[_0x58ec7e(0x464)](_0x18c83f=>_0x18c83f[_0x58ec7e(0x1c1)]===p[_0x58ec7e(0x59c)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x58ec7e(0x36e)]))['subscribe'](_0x2912b3=>{const _0x41b32a=_0x58ec7e,_0x5a2226=_0x2912b3,{objectId:_0x4b31ad}=_0x5a2226['data'],_0x301f38=this[_0x41b32a(0x310)][_0x41b32a(0x4f7)](ye['SheetPermissionInitController']);_0x4b31ad===_0x4f3742?_0x301f38[_0x41b32a(0x189)](_0x4f3742):_0x301f38[_0x41b32a(0x10b)](_0x4f3742,_0x4b31ad);});};A[_0xa8ff0b(0x57c)](this[_0xa8ff0b(0x114)][_0xa8ff0b(0x5ac)](a[_0xa8ff0b(0x1a7)]['UNIVER_SHEET']),this['_univerInstanceService'][_0xa8ff0b(0x5ac)](a[_0xa8ff0b(0x1a7)][_0xa8ff0b(0x408)]))['pipe'](V[_0xa8ff0b(0x130)](_0x4d16ea=>_0x4d16ea[_0xa8ff0b(0x1f0)]()),V[_0xa8ff0b(0x464)](_0x2de3ab=>!a['isInternalEditorID'](_0x2de3ab)),V[_0xa8ff0b(0x4cf)](this[_0xa8ff0b(0x36e)]))[_0xa8ff0b(0x556)](_0x1be225=>{_0x5f0563(_0x1be225);});}};qe=qr([Ae(0x0,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),Ae(0x1,a[_0x1cc768(0x3bd)]),Ae(0x2,a[_0x1cc768(0x42c)]),Ae(0x3,a[_0x1cc768(0x2ca)](exports['CollaborationSessionService'])),Ae(0x4,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x33e)]))],qe);var zr=Object['defineProperty'],Xr=Object[_0x1cc768(0x263)],Jr=(_0x4712b3,_0xe65950,_0x5555e0,_0x47f0f2)=>{const _0x52a0c1=_0x1cc768;for(var _0x43dd6e=_0x47f0f2>0x1?void 0x0:_0x47f0f2?Xr(_0xe65950,_0x5555e0):_0xe65950,_0x52beb3=_0x4712b3[_0x52a0c1(0x31e)]-0x1,_0x393082;_0x52beb3>=0x0;_0x52beb3--)(_0x393082=_0x4712b3[_0x52beb3])&&(_0x43dd6e=(_0x47f0f2?_0x393082(_0xe65950,_0x5555e0,_0x43dd6e):_0x393082(_0x43dd6e))||_0x43dd6e);return _0x47f0f2&&_0x43dd6e&&zr(_0xe65950,_0x5555e0,_0x43dd6e),_0x43dd6e;},ti=(_0x40328a,_0x48d214)=>(_0xe326ff,_0x16cb4c)=>_0x48d214(_0xe326ff,_0x16cb4c,_0x40328a);exports[_0x1cc768(0x434)]=class{constructor(_0x2f1e1b,_0x366c5c){const _0x35c9ef=_0x1cc768;this[_0x35c9ef(0x2c0)]=_0x2f1e1b,this[_0x35c9ef(0x2d5)]=_0x366c5c;}async[_0x1cc768(0x532)](_0x1ae1c0,_0x2e7344){const _0xb2fd9=_0x1cc768;var _0x24567d;const {unitID:_0x6c27d5,type:_0x57a848,revision:_0x327e5d=0x0}=_0x2e7344,_0x1b5b7e=this[_0xb2fd9(0x2b7)]()+'/'+_0x57a848+_0xb2fd9(0x480)+_0x6c27d5+_0xb2fd9(0x25d)+_0x327e5d,_0x338848=(await this['_httpService'][_0xb2fd9(0x4f7)](_0x1b5b7e))[_0xb2fd9(0x46d)],_0x5f552e=(_0x24567d=_0x338848['snapshot'])==null?void 0x0:_0x24567d[_0xb2fd9(0x20c)];if(_0x5f552e){const _0x2ee9b7=_0x5f552e==null?void 0x0:_0x5f552e[_0xb2fd9(0x223)],_0x364c0d=p['textEncoder'][_0xb2fd9(0x137)](p[_0xb2fd9(0x59a)](_0x2ee9b7));_0x5f552e[_0xb2fd9(0x223)]=_0x364c0d,Object['entries'](_0x5f552e[_0xb2fd9(0x4f6)])['forEach'](([,_0x13a5b7])=>{const _0xd30979=_0xb2fd9,_0x57203a=_0x13a5b7['originalMeta'],_0x43730f=p[_0xd30979(0x197)]['encode'](p[_0xd30979(0x59a)](_0x57203a));_0x13a5b7[_0xd30979(0x223)]=_0x43730f;});}return _0x338848;}async[_0x1cc768(0x5aa)](_0x3c2c9f,_0x2b76df){const _0x304fd3=_0x1cc768,{unitID:_0x19253d,type:_0x2667b5,blockID:_0x162ceb}=_0x2b76df,_0x122218=this[_0x304fd3(0x4e5)]()+'/'+_0x2667b5+_0x304fd3(0x480)+_0x19253d+'/block/'+_0x162ceb;return(await this['_httpService'][_0x304fd3(0x4f7)](_0x122218))[_0x304fd3(0x46d)];}async['getDeserializedSheetBlock'](_0x34f409,_0x456854){const _0x22bcf5=_0x1cc768,{unitID:_0x2185bb,type:_0x525112,blockID:_0x43dc24}=_0x456854,_0x29e016=this[_0x22bcf5(0x4e5)]()+_0x22bcf5(0x229)+_0x525112+_0x22bcf5(0x480)+_0x2185bb+_0x22bcf5(0x229)+_0x43dc24;return(await this[_0x22bcf5(0x2d5)]['get'](_0x29e016))[_0x22bcf5(0x46d)];}async[_0x1cc768(0x107)](_0x397c01,_0x3045a6){const _0x12b95d=_0x1cc768,{unitID:_0x5f3715,type:_0x385c46,from:_0x14f8c3,to:_0xf01899}=_0x3045a6,_0x35afce=this['_getAPIPrefix']()+'/'+_0x385c46+_0x12b95d(0x480)+_0x5f3715+_0x12b95d(0x18f)+_0x14f8c3+_0x12b95d(0x212)+_0xf01899;return(await this[_0x12b95d(0x2d5)][_0x12b95d(0x4f7)](_0x35afce))[_0x12b95d(0x46d)];}[_0x1cc768(0x2b7)](){const _0x158590=_0x1cc768;var _0x539967;return(_0x539967=this[_0x158590(0x2c0)][_0x158590(0x555)](ni))!=null?_0x539967:this['_getAPIPrefix']();}[_0x1cc768(0x4e5)](){const _0x24f822=_0x1cc768;var _0x4f5799,_0x3db8e6;const _0x24243a=this['_configService'][_0x24f822(0x555)](ii),_0xe1d247=this[_0x24f822(0x2c0)][_0x24f822(0x555)](Q);return(_0x3db8e6=(_0x4f5799=_0xe1d247==null?void 0x0:_0xe1d247['snapshotServerUrl'])!=null?_0x4f5799:_0x24243a)!=null?_0x3db8e6:ki;}async[_0x1cc768(0x4c5)](_0x2eb8b5,_0x177d4e){const _0x315344=_0x1cc768,_0x3f08d1=_0x315344(0x5bc)+_0x177d4e['type']+_0x315344(0x480)+_0x177d4e[_0x315344(0x4ed)]+_0x315344(0x109);return(await this[_0x315344(0x2d5)][_0x315344(0x4f7)](_0x3f08d1,{'params':{'resourceId':JSON[_0x315344(0x236)](_0x177d4e[_0x315344(0x54f)])}}))[_0x315344(0x46d)];}[_0x1cc768(0x45c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1cc768(0x338)](){const _0x48a897=_0x1cc768;throw new Error(_0x48a897(0x37c));}['saveChangeset'](){const _0x4684de=_0x1cc768;throw new Error(_0x4684de(0x37c));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1cc768(0x177)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x1cc768(0x434)]=Jr([ti(0x0,a[_0x1cc768(0x56f)]),ti(0x1,a[_0x1cc768(0x2ca)](z[_0x1cc768(0x1db)]))],exports['SnapshotServerOverHTTPService']);var Zr=Object[_0x1cc768(0x244)],Qr=Object[_0x1cc768(0x263)],eo=(_0x186367,_0x3f00da,_0x56a36f,_0x3b4fa1)=>{const _0x37a73b=_0x1cc768;for(var _0xc827d3=_0x3b4fa1>0x1?void 0x0:_0x3b4fa1?Qr(_0x3f00da,_0x56a36f):_0x3f00da,_0x478ec6=_0x186367[_0x37a73b(0x31e)]-0x1,_0x1200ef;_0x478ec6>=0x0;_0x478ec6--)(_0x1200ef=_0x186367[_0x478ec6])&&(_0xc827d3=(_0x3b4fa1?_0x1200ef(_0x3f00da,_0x56a36f,_0xc827d3):_0x1200ef(_0xc827d3))||_0xc827d3);return _0x3b4fa1&&_0xc827d3&&Zr(_0x3f00da,_0x56a36f,_0xc827d3),_0xc827d3;},Ne=(_0x2c8189,_0x85f10b)=>(_0x290a6b,_0x34a914)=>_0x85f10b(_0x290a6b,_0x34a914,_0x2c8189);let Ct=class extends a['LocalUndoRedoService']{constructor(_0x377656,_0x42015c,_0x110924,_0x460398,_0x211d45){const _0x330095=_0x1cc768;super(_0x377656,_0x42015c,_0x110924),this[_0x330095(0x1fa)]=_0x460398,this['_logService']=_0x211d45;}[_0x1cc768(0x597)](_0x4adbc8,_0x12e33c){const _0x372490=_0x1cc768,_0x2a705c=this['_getUndoStack'](_0x4adbc8);if(_0x2a705c)try{const _0x4d082a=this['_transformStack'](_0x2a705c,_0x12e33c);this[_0x372490(0x265)](_0x4adbc8,_0x4d082a);}catch(_0x2200da){this['_logService'][_0x372490(0x1c4)](_0x372490(0x425),_0x2200da),this[_0x372490(0x594)](_0x4adbc8);}const _0x478dbf=this[_0x372490(0x42a)](_0x4adbc8);if(_0x478dbf)try{const _0x49575a=this[_0x372490(0x3da)](_0x478dbf,_0x12e33c);this[_0x372490(0x135)](_0x4adbc8,_0x49575a);}catch(_0x2cab1d){this[_0x372490(0x10c)][_0x372490(0x1c4)](_0x2cab1d),this[_0x372490(0x585)](_0x4adbc8);}}[_0x1cc768(0x594)](_0x37caee){const _0x476cd9=_0x1cc768,_0xc8c586=this[_0x476cd9(0x10a)](_0x37caee);_0xc8c586&&(_0xc8c586[_0x476cd9(0x31e)]=0x0,this[_0x476cd9(0x33c)]());}[_0x1cc768(0x585)](_0xa61488){const _0x134275=_0x1cc768,_0x2bcd3f=this[_0x134275(0x42a)](_0xa61488);_0x2bcd3f&&(_0x2bcd3f[_0x134275(0x31e)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x14bbf3,_0x4174fd){const _0x4d4777=_0x1cc768;this[_0x4d4777(0x3c7)][_0x4d4777(0x31f)](_0x14bbf3,_0x4174fd),this[_0x4d4777(0x33c)]();}[_0x1cc768(0x135)](_0x1d11af,_0x5c2d18){const _0x478ac9=_0x1cc768;this[_0x478ac9(0x1bb)][_0x478ac9(0x31f)](_0x1d11af,_0x5c2d18),this[_0x478ac9(0x33c)]();}[_0x1cc768(0x3da)](_0x4e3e3c,_0x444bce){const _0x4b2c99=_0x1cc768,_0xe42bf6=[];let _0x2ad174=_0x444bce,_0x397366=_0x444bce;for(let _0x3ea401=_0x4e3e3c[_0x4b2c99(0x31e)]-0x1;_0x3ea401>=0x0;_0x3ea401--){const {unitID:_0x5b2414,undoMutations:_0x3acbe5,redoMutations:_0x172eca}=_0x4e3e3c[_0x3ea401],_0x9cd709=this['_transformService'][_0x4b2c99(0x400)](_0x2ad174,_0x3acbe5),_0x4f9eb7=this[_0x4b2c99(0x1fa)]['transformMutationsWithChangeset'](_0x397366,_0x172eca);if(p[_0x4b2c99(0x3c0)](_0x9cd709)||p[_0x4b2c99(0x3c0)](_0x4f9eb7)){this[_0x4b2c99(0x10c)][_0x4b2c99(0x1c4)](_0x4b2c99(0x425),_0x4b2c99(0x3c8),_0x9cd709,_0x4f9eb7);break;}_0x2ad174=_0x9cd709[_0x4b2c99(0x4d7)],_0x397366=_0x4f9eb7[_0x4b2c99(0x4d7)],_0xe42bf6['push']({'unitID':_0x5b2414,'undoMutations':_0x9cd709[_0x4b2c99(0x247)],'redoMutations':_0x4f9eb7[_0x4b2c99(0x247)]});}return _0xe42bf6['reverse']();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x1cc768(0x11f)]),Ne(0x2,a[_0x1cc768(0x20a)]),Ne(0x3,p[_0x1cc768(0x48d)]),Ne(0x4,a['ILogService'])],Ct);class Li extends a[_0x1cc768(0x35a)]{constructor(){const _0x5d3d5e=_0x1cc768;super(),I(this,_0x5d3d5e(0x40d)),this[_0x5d3d5e(0x40d)]=A[_0x5d3d5e(0x5b2)](window,'popstate')['pipe'](A[_0x5d3d5e(0x4cf)](this[_0x5d3d5e(0x36e)]),A[_0x5d3d5e(0x3b0)](0x1),A[_0x5d3d5e(0x23d)](void 0x0));}[_0x1cc768(0x3d4)](_0x4e0b33,_0x35b4cb,_0x2adf93=!0x1){const _0x4466d0=_0x1cc768,_0x5388e3=new URL(window[_0x4466d0(0x19f)][_0x4466d0(0x203)]);_0x5388e3[_0x4466d0(0x227)][_0x4466d0(0x31f)](_0x4e0b33,_0x35b4cb),_0x2adf93?window[_0x4466d0(0x4db)][_0x4466d0(0x4a9)]('','',_0x5388e3[_0x4466d0(0x3df)]()):window['history'][_0x4466d0(0x45d)]('','',_0x5388e3[_0x4466d0(0x3df)]());}[_0x1cc768(0x3fc)](_0x3b0467,_0x5a935d=!0x1){const _0x1613b2=_0x1cc768,_0x5d6a98=new URL(window[_0x1613b2(0x19f)]['href']);_0x5d6a98['searchParams'][_0x1613b2(0x24c)](_0x3b0467),_0x5a935d?window[_0x1613b2(0x4db)][_0x1613b2(0x4a9)]('','',_0x5d6a98[_0x1613b2(0x3df)]()):window[_0x1613b2(0x4db)]['pushState']('','',_0x5d6a98[_0x1613b2(0x3df)]());}[_0x1cc768(0x187)](_0x57f264){const _0x303806=_0x1cc768;var _0x1ea163;return(_0x1ea163=new URL(window[_0x303806(0x19f)]['href'])['searchParams'][_0x303806(0x4f7)](_0x57f264))!=null?_0x1ea163:void 0x0;}}var xi=Object[_0x1cc768(0x244)],to=Object[_0x1cc768(0x263)],io=(_0x3fb124,_0x1173d4,_0xb023ba)=>_0x1173d4 in _0x3fb124?xi(_0x3fb124,_0x1173d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb023ba}):_0x3fb124[_0x1173d4]=_0xb023ba,no=(_0x301e36,_0x3df97a,_0x5260a3,_0x138bfa)=>{const _0x2ec999=_0x1cc768;for(var _0x241f7e=_0x138bfa>0x1?void 0x0:_0x138bfa?to(_0x3df97a,_0x5260a3):_0x3df97a,_0x397f19=_0x301e36[_0x2ec999(0x31e)]-0x1,_0x19c793;_0x397f19>=0x0;_0x397f19--)(_0x19c793=_0x301e36[_0x397f19])&&(_0x241f7e=(_0x138bfa?_0x19c793(_0x3df97a,_0x5260a3,_0x241f7e):_0x19c793(_0x241f7e))||_0x241f7e);return _0x138bfa&&_0x241f7e&&xi(_0x3df97a,_0x5260a3,_0x241f7e),_0x241f7e;},He=(_0x5104f0,_0xac4a33)=>(_0x391fbb,_0x53018f)=>_0xac4a33(_0x391fbb,_0x53018f,_0x5104f0),so=(_0x2ae10e,_0x1d12d7,_0x589b5f)=>io(_0x2ae10e,_0x1d12d7+'',_0x589b5f);const ro=_0x1cc768(0x34e);exports[_0x1cc768(0x2ac)]=class extends a[_0x1cc768(0x4cb)]{constructor(_0xe1e606=Zi,_0x2f9078,_0x578b2f,_0x4c1a30,_0x3307dd){const _0xa37168=_0x1cc768;super(),this[_0xa37168(0x4e8)]=_0xe1e606,this['_logService']=_0x2f9078,this[_0xa37168(0x309)]=_0x578b2f,this[_0xa37168(0x310)]=_0x4c1a30,this[_0xa37168(0x2c0)]=_0x3307dd;const {..._0x53efdd}=this[_0xa37168(0x4e8)];this[_0xa37168(0x2c0)]['setConfig'](Q,_0x53efdd);}[_0x1cc768(0x527)](){const _0x15abff=_0x1cc768;this[_0x15abff(0x50c)](),this[_0x15abff(0x46a)]();}['onReady'](){const _0x38b208=_0x1cc768;a[_0x38b208(0x373)](this[_0x38b208(0x310)],[[Ge],[Ve]]);}[_0x1cc768(0x2eb)](){const _0x2214b2=_0x1cc768;this[_0x2214b2(0x317)]();}[_0x1cc768(0x50c)](){const _0xf87cca=_0x1cc768;var _0x21db63,_0x57b7aa,_0x975552,_0x311276;this['_injector'][_0xf87cca(0x50a)](a['IUndoRedoService'])&&this[_0xf87cca(0x10c)]['error'](_0xf87cca(0x5b4),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x184032=[[a[_0xf87cca(0x542)],{'useClass':Ct}],[exports[_0xf87cca(0x2e1)]],[Dt],[wt,{'useClass':Li}],[exports['MemberService']],[exports[_0xf87cca(0x305)]],[z[_0xf87cca(0x104)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x57b7aa=(_0x21db63=this[_0xf87cca(0x4e8)])==null?void 0x0:_0x21db63[_0xf87cca(0x2c2)])!=null?_0x57b7aa:exports[_0xf87cca(0x3de)]}],[p[_0xf87cca(0x533)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0xf87cca(0x4dd)],{'useClass':exports[_0xf87cca(0x35c)]}],[ie['IImageIoService'],{'useClass':exports['ImageIoService']}],[a[_0xf87cca(0x2b1)],{'useClass':exports[_0xf87cca(0x41e)]}],[exports[_0xf87cca(0x38c)]],[exports['DataLoaderController']],[exports[_0xf87cca(0x382)]],[Ge],[De],[Ve]];(_0x975552=this['_config'])!=null&&_0x975552[_0xf87cca(0x26e)]&&_0x184032['push']([ze,{'useClass':Un}]),a[_0xf87cca(0x3c2)](this[_0xf87cca(0x310)],a['mergeOverrideWithDependencies'](_0x184032,(_0x311276=this[_0xf87cca(0x4e8)])==null?void 0x0:_0x311276[_0xf87cca(0x420)]));}[_0x1cc768(0x317)](){const _0xeed92f=_0x1cc768;this[_0xeed92f(0x27e)](this[_0xeed92f(0x309)][_0xeed92f(0x41b)](a[_0xeed92f(0x1a7)]['UNIVER_DOC'],[gt])),this['disposeWithMe'](this[_0xeed92f(0x309)][_0xeed92f(0x41b)](a[_0xeed92f(0x1a7)][_0xeed92f(0x452)],[It]));}[_0x1cc768(0x46a)](){const _0x1bdab0=_0x1cc768;var _0x218816,_0x27dfb6;this[_0x1bdab0(0x310)]['get'](z[_0x1bdab0(0x1db)])[_0x1bdab0(0x53d)]({'priority':0x14,'interceptor':z[_0x1bdab0(0x277)]({'maxParallel':0x6})}),(_0x218816=this[_0x1bdab0(0x4e8)])!=null&&_0x218816[_0x1bdab0(0x500)]||this[_0x1bdab0(0x310)]['get'](exports['LocalCacheService'])[_0x1bdab0(0x3c4)](),(_0x27dfb6=this[_0x1bdab0(0x4e8)])!=null&&_0x27dfb6[_0x1bdab0(0x45a)]&&a[_0x1bdab0(0x373)](this[_0x1bdab0(0x310)],[[Ye]]),a['touchDependencies'](this[_0x1bdab0(0x310)],[[Ke],[De],[exports[_0x1bdab0(0x37b)]],[exports[_0x1bdab0(0x38c)]],[exports[_0x1bdab0(0x382)]],[qe]]);}},so(exports[_0x1cc768(0x2ac)],_0x1cc768(0x2d8),ro),exports['UniverCollaborationClientPlugin']=no([a[_0x1cc768(0x216)](p['UniverCollaborationPlugin'],z['UniverNetworkPlugin']),He(0x1,a[_0x1cc768(0x1a0)]),He(0x2,K[_0x1cc768(0x2da)]),He(0x3,a[_0x1cc768(0x2ca)](a[_0x1cc768(0x4d2)])),He(0x4,a[_0x1cc768(0x56f)])],exports['UniverCollaborationClientPlugin']),exports[_0x1cc768(0x5a0)]=Ut,exports['COLLAB_CLIENT_CONFIG_KEY']=Q,exports[_0x1cc768(0x40c)]=li,exports[_0x1cc768(0x43f)]=si,exports[_0x1cc768(0x584)]=q,exports['CollaborationStatusDisplay']=Oi,exports[_0x1cc768(0x1a5)]=Rt,exports[_0x1cc768(0x371)]=ri,exports['HEARTBEAT_TIMEOUT_KEY']=Et,exports[_0x1cc768(0x42e)]=Tt,exports[_0x1cc768(0x2a4)]=wt,exports[_0x1cc768(0x188)]=ci,exports['LOGIN_URL_KEY']=hi,exports[_0x1cc768(0x4c6)]=ai,exports[_0x1cc768(0x5a1)]=Wi,exports['SNAPSHOT_SERVER_URL_KEY']=ii,exports[_0x1cc768(0x36b)]=ni,exports[_0x1cc768(0x24a)]=se,exports['SheetCollabCursorShape']=Ii,exports['WebURLService']=Li,exports[_0x1cc768(0x370)]=di,exports[_0x1cc768(0x225)]=fi;
|
1
|
+
'use strict';const _0xbb724d=_0x195f;(function(_0x4b033c,_0x36c890){const _0x5ef76f=_0x195f,_0x5ad41f=_0x4b033c();while(!![]){try{const _0x5b8c10=-parseInt(_0x5ef76f(0x28d))/0x1*(-parseInt(_0x5ef76f(0x29e))/0x2)+parseInt(_0x5ef76f(0x49d))/0x3*(parseInt(_0x5ef76f(0x2a9))/0x4)+parseInt(_0x5ef76f(0x2a1))/0x5+parseInt(_0x5ef76f(0x4aa))/0x6*(-parseInt(_0x5ef76f(0x1b8))/0x7)+parseInt(_0x5ef76f(0x34b))/0x8*(-parseInt(_0x5ef76f(0x23b))/0x9)+parseInt(_0x5ef76f(0x329))/0xa+-parseInt(_0x5ef76f(0x387))/0xb;if(_0x5b8c10===_0x36c890)break;else _0x5ad41f['push'](_0x5ad41f['shift']());}catch(_0xa7ed1d){_0x5ad41f['push'](_0x5ad41f['shift']());}}}(_0x2701,0x366d6));var ji=Object[_0xbb724d(0x164)],$i=(_0x2e4b28,_0x41c21c,_0x383136)=>_0x41c21c in _0x2e4b28?ji(_0x2e4b28,_0x41c21c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x383136}):_0x2e4b28[_0x41c21c]=_0x383136,I=(_0x1f845d,_0x258bf4,_0x4dfda2)=>$i(_0x1f845d,typeof _0x258bf4!=_0xbb724d(0x264)?_0x258bf4+'':_0x258bf4,_0x4dfda2);Object[_0xbb724d(0x164)](exports,Symbol[_0xbb724d(0x52b)],{'value':'Module'});const a=require(_0xbb724d(0x91)),A=require('rxjs'),V=require('rxjs/operators'),Ce=require(_0xbb724d(0x51a)),z=require(_0xbb724d(0x1f5)),te=require(_0xbb724d(0x45d)),p=require(_0xbb724d(0x145)),Hi=require(_0xbb724d(0xdc)),Ie=require(_0xbb724d(0x535)),J=require(_0xbb724d(0x310)),k=require(_0xbb724d(0x9c)),K=require(_0xbb724d(0x321)),ie=require(_0xbb724d(0x3a1)),Mt=require(_0xbb724d(0xe1)),ye=require('@univerjs/sheets-ui'),ae=require(_0xbb724d(0x41f)),Bi=require(_0xbb724d(0x2fd)),ii=_0xbb724d(0x292),ki=_0xbb724d(0x1af),ni=_0xbb724d(0x297),Wi=_0xbb724d(0x176),Fi=0x7d0,si='COLLAB_WEB_SOCKET_URL',Vi=_0xbb724d(0xd8),Gi=_0xbb724d(0x461),ri=_0xbb724d(0x341),Yi=0x7530,Et=_0xbb724d(0x3bb),oi=0x4e20,Ki=0x4e20,ai=_0xbb724d(0x487),qi=0x3,ci=_0xbb724d(0x3be),zi=0x3e8,li='COLLAB_SUBMIT_CHANGESET_URL',Xi=_0xbb724d(0xd9),hi=_0xbb724d(0x298),Ji=_0xbb724d(0xd7);var _i=(_0x50b432=>(_0x50b432[_0x50b432[_0xbb724d(0xc3)]=0x0]=_0xbb724d(0xc3),_0x50b432[_0x50b432['OK']=0x1]='OK',_0x50b432[_0x50b432[_0xbb724d(0x508)]=0x2]=_0xbb724d(0x508),_0x50b432[_0x50b432['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x50b432[_0x50b432[_0xbb724d(0xa7)]=0x4]='NOT_FOUND',_0x50b432[_0x50b432[_0xbb724d(0x132)]=0x5]='UNAUTHENTICATED',_0x50b432[_0x50b432[_0xbb724d(0x2ed)]=0x6]=_0xbb724d(0x2ed),_0x50b432[_0x50b432['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x50b432[_0x50b432['TOO_MANY_REQUESTS']=0x8]=_0xbb724d(0x23a),_0x50b432[_0x50b432[_0xbb724d(0x1da)]=0x9]=_0xbb724d(0x1da),_0x50b432[_0x50b432[_0xbb724d(0x33b)]=0x1389]=_0xbb724d(0x33b),_0x50b432[_0x50b432[_0xbb724d(0x2bb)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x50b432[_0x50b432[_0xbb724d(0x1d3)]=0x1772]=_0xbb724d(0x1d3),_0x50b432[_0x50b432['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xbb724d(0x31a),_0x50b432[_0x50b432[_0xbb724d(0x27f)]=0x1b59]=_0xbb724d(0x27f),_0x50b432[_0x50b432['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xbb724d(0x277),_0x50b432[_0x50b432['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xbb724d(0xa5),_0x50b432[_0x50b432['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbb724d(0x3fc),_0x50b432[_0x50b432[_0xbb724d(0x3b7)]=0x1b5d]='APPLY_DUPLICATED',_0x50b432[_0x50b432[_0xbb724d(0x1dc)]=0x1f41]=_0xbb724d(0x1dc),_0x50b432[_0x50b432[_0xbb724d(0x88)]=0x2329]=_0xbb724d(0x88),_0x50b432[_0x50b432[_0xbb724d(0x186)]=0x232a]=_0xbb724d(0x186),_0x50b432[_0x50b432[_0xbb724d(0x42b)]=0x232b]=_0xbb724d(0x42b),_0x50b432[_0x50b432[_0xbb724d(0x253)]=0x232c]=_0xbb724d(0x253),_0x50b432[_0x50b432['LICENSE_DISTRO_REJECTED']=0x232d]=_0xbb724d(0xf5),_0x50b432[_0x50b432[_0xbb724d(0x48a)]=0x2711]=_0xbb724d(0x48a),_0x50b432[_0x50b432[_0xbb724d(0x1ed)]=0x2712]=_0xbb724d(0x1ed),_0x50b432[_0x50b432[_0xbb724d(0x2ac)]=0x2713]=_0xbb724d(0x2ac),_0x50b432[_0x50b432[_0xbb724d(0x265)]=0x2714]=_0xbb724d(0x265),_0x50b432[_0x50b432[_0xbb724d(0x185)]=-0x1]=_0xbb724d(0x185),_0x50b432))(_i||{}),ne=(_0x445bcd=>(_0x445bcd[_0x445bcd[_0xbb724d(0x3b5)]=0x0]=_0xbb724d(0x3b5),_0x445bcd[_0x445bcd[_0xbb724d(0x44c)]=0x1]=_0xbb724d(0x44c),_0x445bcd[_0x445bcd['UNIVER_SHEET']=0x2]=_0xbb724d(0x1ac),_0x445bcd[_0x445bcd[_0xbb724d(0x46e)]=0x3]=_0xbb724d(0x46e),_0x445bcd[_0x445bcd[_0xbb724d(0x41d)]=0x4]=_0xbb724d(0x41d),_0x445bcd[_0x445bcd['UNRECOGNIZED']=-0x1]=_0xbb724d(0x185),_0x445bcd))(ne||{}),G=(_0x27156e=>(_0x27156e[_0x27156e[_0xbb724d(0x153)]=0x0]='UNKNOWN_CMD',_0x27156e[_0x27156e[_0xbb724d(0x1e4)]=0x1]=_0xbb724d(0x1e4),_0x27156e[_0x27156e[_0xbb724d(0x414)]=0x2]='JOIN',_0x27156e[_0x27156e['LEAVE']=0x3]=_0xbb724d(0x2b9),_0x27156e[_0x27156e[_0xbb724d(0xc2)]=0x4]='INGEST',_0x27156e[_0x27156e[_0xbb724d(0x2de)]=0x5]=_0xbb724d(0x2de),_0x27156e[_0x27156e[_0xbb724d(0x372)]=0x6]=_0xbb724d(0x372),_0x27156e[_0x27156e[_0xbb724d(0x185)]=-0x1]=_0xbb724d(0x185),_0x27156e))(G||{}),bt=(_0x122818=>(_0x122818[_0x122818[_0xbb724d(0x1fb)]=0x0]=_0xbb724d(0x1fb),_0x122818[_0x122818['OK']=0x1]='OK',_0x122818[_0x122818[_0xbb724d(0x259)]=0x2]=_0xbb724d(0x259),_0x122818[_0x122818['JOIN_ROOM_FULL']=0x3e9]=_0xbb724d(0x3da),_0x122818[_0x122818[_0xbb724d(0x94)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x122818[_0x122818[_0xbb724d(0x185)]=-0x1]=_0xbb724d(0x185),_0x122818))(bt||{}),ui=(_0x57d51c=>(_0x57d51c[_0x57d51c[_0xbb724d(0x25a)]=0x0]=_0xbb724d(0x25a),_0x57d51c[_0x57d51c[_0xbb724d(0x21f)]=0x1]=_0xbb724d(0x21f),_0x57d51c[_0x57d51c[_0xbb724d(0x343)]=0x2]=_0xbb724d(0x343),_0x57d51c[_0x57d51c[_0xbb724d(0x4af)]=0x3]=_0xbb724d(0x4af),_0x57d51c[_0x57d51c[_0xbb724d(0x101)]=0x4]=_0xbb724d(0x101),_0x57d51c[_0x57d51c[_0xbb724d(0x185)]=-0x1]='UNRECOGNIZED',_0x57d51c))(ui||{});const Q=_0xbb724d(0x16f),Zi={};function di(_0x572f91){const _0x58b65b=_0xbb724d;var _0x3194d3,_0x56809f,_0x221eea,_0x4144ad,_0x4ac6db;const _0x1e0500=_0x572f91['data'],_0x28780d=JSON[_0x58b65b(0x2bd)](_0x1e0500);switch(_0x28780d[_0x58b65b(0x3cc)]){case G[_0x58b65b(0x2de)]:case G['HELLO']:{const _0x50eb81=_0x28780d[_0x58b65b(0x3f1)];return{..._0x28780d,'data':_0x50eb81,'cmd':_0x28780d['cmd']};}case G['JOIN']:{const _0x437ff5=_0x28780d[_0x58b65b(0x247)];return{..._0x28780d,'data':_0x437ff5,'cmd':_0x28780d[_0x58b65b(0x3cc)]};}case G['RECV']:{const _0x4547c1=_0x28780d['collaMsg'];switch(_0x4547c1[_0x58b65b(0x470)]){case p[_0x58b65b(0x29f)]['PERMISSION_REJ']:return{..._0x28780d,'data':{..._0x4547c1,'data':(_0x3194d3=_0x4547c1[_0x58b65b(0x4ee)])==null?void 0x0:_0x3194d3['cs']},'cmd':_0x28780d[_0x58b65b(0x3cc)]};case p['CollaborationEvent']['CHANGESET_ACK']:return{..._0x28780d,'data':{..._0x4547c1,'data':(_0x56809f=_0x4547c1[_0x58b65b(0x17c)])==null?void 0x0:_0x56809f['cs']},'cmd':_0x28780d['cmd']};case p['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x28780d,'data':{..._0x4547c1,'data':(_0x221eea=_0x4547c1[_0x58b65b(0x116)])==null?void 0x0:_0x221eea['cs']},'cmd':_0x28780d['cmd']};case p[_0x58b65b(0x29f)]['CHANGESET_REJ']:return{..._0x28780d,'data':{..._0x4547c1,'data':(_0x4144ad=_0x4547c1['csRejEvent'])==null?void 0x0:_0x4144ad['cs']},'cmd':_0x28780d[_0x58b65b(0x3cc)]};case p[_0x58b65b(0x29f)][_0x58b65b(0xdf)]:return{..._0x28780d,'data':{..._0x4547c1,'data':(_0x4ac6db=_0x4547c1[_0x58b65b(0x167)])==null?void 0x0:_0x4ac6db['cs']},'cmd':_0x28780d[_0x58b65b(0x3cc)]};case p[_0x58b65b(0x29f)]['UPDATE_CURSOR']:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1['updateCursorEvent']},'cmd':_0x28780d['cmd']};case p['CollaborationEvent'][_0x58b65b(0x38c)]:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1[_0x58b65b(0x4fa)]},'cmd':_0x28780d['cmd']};case p[_0x58b65b(0x29f)][_0x58b65b(0x22e)]:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1[_0x58b65b(0x1e0)]},'cmd':_0x28780d['cmd']};case p[_0x58b65b(0x29f)][_0x58b65b(0x511)]:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1[_0x58b65b(0xd1)]},'cmd':_0x28780d[_0x58b65b(0x3cc)]};case p[_0x58b65b(0x29f)][_0x58b65b(0x437)]:case p[_0x58b65b(0x29f)][_0x58b65b(0xb1)]:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1[_0x58b65b(0x52e)]},'cmd':_0x28780d[_0x58b65b(0x3cc)]};case p['CollaborationEvent'][_0x58b65b(0x50b)]:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1[_0x58b65b(0xd1)]},'cmd':_0x28780d['cmd']};case p[_0x58b65b(0x29f)][_0x58b65b(0x24b)]:return{..._0x28780d,'data':_0x4547c1,'cmd':_0x28780d['cmd']};case p[_0x58b65b(0x29f)][_0x58b65b(0x1ee)]:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1['commentUpdateEvent']},'cmd':_0x28780d[_0x58b65b(0x3cc)]};case p[_0x58b65b(0x29f)]['UPDATE_PERMISSION_OBJ']:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1[_0x58b65b(0x37b)]},'cmd':_0x28780d['cmd']};case p['CollaborationEvent'][_0x58b65b(0xa2)]:return{..._0x28780d,'data':{..._0x4547c1,'data':_0x4547c1[_0x58b65b(0x501)]},'cmd':_0x28780d[_0x58b65b(0x3cc)]};default:return _0x28780d;}}default:return _0x28780d;}}function fi(_0x5c7bce){const _0xa0d5ef=_0xbb724d;switch(_0x5c7bce[_0xa0d5ef(0x3cc)]){case G[_0xa0d5ef(0x2de)]:case G[_0xa0d5ef(0x1e4)]:return JSON[_0xa0d5ef(0x44f)]({'cmd':_0x5c7bce[_0xa0d5ef(0x3cc)],'routeKey':_0x5c7bce[_0xa0d5ef(0x373)]});case G[_0xa0d5ef(0xc2)]:{let _0x4f0ad4;switch(_0x5c7bce[_0xa0d5ef(0x238)][_0xa0d5ef(0x470)]){case p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x34f)]:{_0x4f0ad4={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x5c7bce['data']['data']};break;}case p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x22e)]:{_0x4f0ad4={'eventID':p['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x5c7bce[_0xa0d5ef(0x238)][_0xa0d5ef(0x238)]};break;}case p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x38c)]:{_0x4f0ad4={'eventID':p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x38c)],'joinEvent':_0x5c7bce[_0xa0d5ef(0x238)][_0xa0d5ef(0x238)]};break;}case p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x511)]:{_0x4f0ad4={'eventID':p[_0xa0d5ef(0x29f)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x5c7bce[_0xa0d5ef(0x238)][_0xa0d5ef(0x238)]};break;}case p[_0xa0d5ef(0x29f)][_0xa0d5ef(0xb1)]:{_0x4f0ad4={'eventID':p[_0xa0d5ef(0x29f)][_0xa0d5ef(0xb1)],'liveShareOperation':_0x5c7bce[_0xa0d5ef(0x238)]['data']};break;}case p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x50b)]:{_0x4f0ad4={'eventID':p['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5c7bce['data'][_0xa0d5ef(0x238)]};break;}case p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x32c)]:{_0x4f0ad4={'eventID':p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x32c)],'liveShareRequestHost':_0x5c7bce['data'][_0xa0d5ef(0x238)]};break;}case p[_0xa0d5ef(0x29f)][_0xa0d5ef(0x437)]:{_0x4f0ad4={'eventID':p['CollaborationEvent'][_0xa0d5ef(0x437)]};break;}default:_0x4f0ad4={'eventID':_0x5c7bce[_0xa0d5ef(0x238)][_0xa0d5ef(0x470)]};}return JSON[_0xa0d5ef(0x44f)]({'cmd':_0x5c7bce[_0xa0d5ef(0x3cc)],'routeKey':_0x5c7bce['routeKey'],'collaMsg':_0x4f0ad4});}case G[_0xa0d5ef(0x414)]:return JSON['stringify']({'cmd':_0x5c7bce[_0xa0d5ef(0x3cc)],'routeKey':_0x5c7bce[_0xa0d5ef(0x373)],'joinReq':_0x5c7bce[_0xa0d5ef(0x238)]});case G[_0xa0d5ef(0x2b9)]:return JSON['stringify']({'cmd':_0x5c7bce[_0xa0d5ef(0x3cc)],'routeKey':_0x5c7bce[_0xa0d5ef(0x373)],'leaveReq':_0x5c7bce[_0xa0d5ef(0x238)]});default:throw new Error(_0xa0d5ef(0x389));}}var Qi=Object[_0xbb724d(0x164)],en=Object[_0xbb724d(0x13d)],tn=(_0x39fa44,_0x490b91,_0x6ce310,_0x5fe62e)=>{const _0x5afc98=_0xbb724d;for(var _0x3ddad8=_0x5fe62e>0x1?void 0x0:_0x5fe62e?en(_0x490b91,_0x6ce310):_0x490b91,_0x40f632=_0x39fa44[_0x5afc98(0x2d9)]-0x1,_0x400367;_0x40f632>=0x0;_0x40f632--)(_0x400367=_0x39fa44[_0x40f632])&&(_0x3ddad8=(_0x5fe62e?_0x400367(_0x490b91,_0x6ce310,_0x3ddad8):_0x400367(_0x3ddad8))||_0x3ddad8);return _0x5fe62e&&_0x3ddad8&&Qi(_0x490b91,_0x6ce310,_0x3ddad8),_0x3ddad8;},Pe=(_0x55e0a8,_0x3dbed0)=>(_0x10ff2e,_0x18880d)=>_0x3dbed0(_0x10ff2e,_0x18880d,_0x55e0a8);const Tt=a[_0xbb724d(0x4a3)](_0xbb724d(0x194));function nn(_0x2cda4a,_0x139293,_0x3fb7c2){const _0x46124e=_0xbb724d;return _0x2cda4a+'/'+_0x139293+_0x46124e(0x457)+_0x3fb7c2+_0x46124e(0x426);}exports[_0xbb724d(0x4a8)]=class extends a['Disposable']{constructor(_0x4e5021,_0x1e4447,_0x5b9480,_0x41aa38,_0x1b97fe){const _0x359971=_0xbb724d;super(),this['_http']=_0x4e5021,this[_0x359971(0x138)]=_0x1e4447,this[_0x359971(0xe6)]=_0x5b9480,this[_0x359971(0x1a3)]=_0x41aa38,this['_snapshotServerService']=_0x1b97fe;}[_0xbb724d(0x493)](_0x1265e9){const _0x14a564=_0xbb724d,_0x37be45=this[_0x14a564(0x138)][_0x14a564(0x493)](_0x1265e9);if(!_0x37be45)throw new Error(_0x14a564(0x32f));const _0x2174c9=new a['DisposableCollection'](),_0x4d016d=new A[(_0x14a564(0x538))]();_0x2174c9[_0x14a564(0x404)](_0x37be45[_0x14a564(0xb3)]['subscribe'](_0xaac102=>_0x4d016d[_0x14a564(0x32a)](_0xaac102))),_0x2174c9[_0x14a564(0x404)](a[_0x14a564(0x2b7)](()=>_0x4d016d[_0x14a564(0x22b)]()));const _0x5694dc=new A['Subject']();_0x2174c9[_0x14a564(0x404)](_0x37be45[_0x14a564(0xee)]['subscribe'](_0x1f00ae=>_0x5694dc[_0x14a564(0x32a)](_0x1f00ae))),_0x2174c9[_0x14a564(0x404)](a[_0x14a564(0x2b7)](()=>_0x5694dc[_0x14a564(0x22b)]()));const _0x560006=new A['Subject']();_0x2174c9[_0x14a564(0x404)](_0x37be45['message$'][_0x14a564(0x2ae)](_0x3ce825=>{const _0x52843d=_0x14a564,_0x49f3=di(_0x3ce825);_0x560006[_0x52843d(0x32a)](_0x49f3);})),_0x2174c9[_0x14a564(0x404)](a[_0x14a564(0x2b7)](()=>_0x560006[_0x14a564(0x22b)]()));let _0x8c59e4;const _0x14a67e=()=>{const _0x410c77=_0x14a564;_0x5694dc[_0x410c77(0x32a)](new Event(_0x410c77(0x1b6))),_0x4d016d[_0x410c77(0x32a)](new CloseEvent(_0x410c77(0x1b6))),_0x8c59e4[_0x410c77(0x206)]();};return _0x8c59e4={'memberID':'','close$':_0x4d016d[_0x14a564(0x14b)](),'error$':_0x5694dc[_0x14a564(0x14b)](),'open$':_0x37be45[_0x14a564(0x356)],'message$':_0x560006['asObservable'](),'send':_0x53fb1f=>{const _0x27d8fe=_0x14a564;if(_0x53fb1f[_0x27d8fe(0x3cc)]===G['INGEST']){if(_0x53fb1f['data'][_0x27d8fe(0x470)]===p[_0x27d8fe(0x29f)][_0x27d8fe(0x441)]){this[_0x27d8fe(0x351)](_0x8c59e4,_0x53fb1f['data'])[_0x27d8fe(0x215)](_0x3a895b=>{const _0x3a5151=_0x27d8fe;this[_0x3a5151(0x1a3)][_0x3a5151(0x1d8)](_0x3a895b),_0x14a67e();});return;}if(_0x53fb1f['data'][_0x27d8fe(0x470)]===p[_0x27d8fe(0x29f)]['FETCH_MISSING']){const _0x59e0a1=_0x53fb1f['data'];this[_0x27d8fe(0x4e7)](_0x59e0a1)[_0x27d8fe(0x161)](_0x372123=>{const _0x550f9d=_0x27d8fe;_0x560006[_0x550f9d(0x32a)]({'cmd':G[_0x550f9d(0x372)],'code':bt['OK'],'routeKey':_0x59e0a1[_0x550f9d(0x238)][_0x550f9d(0x447)],'routeType':'','data':{'eventID':p[_0x550f9d(0x29f)][_0x550f9d(0x219)],'data':{'changesets':_0x372123}}});})[_0x27d8fe(0x215)](_0x2a1ddc=>{const _0x187c6e=_0x27d8fe;this[_0x187c6e(0x1a3)][_0x187c6e(0x1d8)](_0x2a1ddc),_0x14a67e();});return;}}_0x37be45[_0x27d8fe(0x370)](fi(_0x53fb1f));},'close':()=>{const _0x1b76f0=_0x14a564;_0x37be45['close'](),_0x2174c9[_0x1b76f0(0x16a)]();}},_0x8c59e4;}async[_0xbb724d(0x351)](_0x43e052,_0xdfebcf){const _0x1902ed=_0xbb724d;var _0x113177,_0x2fb4b0;const {unitType:_0x2898db,unitID:_0x371ad2,changeset:_0x376d0e}=_0xdfebcf[_0x1902ed(0x238)],_0x9af315={'unitID':_0x371ad2,'memberID':_0x43e052[_0x1902ed(0x3f8)],'type':_0x2898db,'changeset':p[_0x1902ed(0x28e)](_0x376d0e)},_0xa06b77=this['_configService']['getConfig'](li),_0x33c003=this[_0x1902ed(0xe6)][_0x1902ed(0x27c)](Q),_0x4a0279=nn((_0x2fb4b0=(_0x113177=_0x33c003==null?void 0x0:_0x33c003[_0x1902ed(0x24f)])!=null?_0x113177:_0xa06b77)!=null?_0x2fb4b0:Xi,_0x2898db,_0x371ad2);try{await this['_http'][_0x1902ed(0x4e4)](_0x4a0279,{'body':_0x9af315});}catch(_0x2f3a5d){throw this[_0x1902ed(0x1a3)][_0x1902ed(0x1d8)]('[CollaborationSession]',_0x1902ed(0x28f)),_0x2f3a5d;}}async['_fetchMissChangesets'](_0x22ab35){const _0x564e3f=_0xbb724d,{unitID:_0x7cf63c,from:_0x43dcb9,to:_0x2461f3,unitType:_0x1900d9}=_0x22ab35['data'];return(await this[_0x564e3f(0x454)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x7cf63c,'type':_0x1900d9,'from':_0x43dcb9,'to':_0x2461f3}))[_0x564e3f(0x532)];}},exports[_0xbb724d(0x4a8)]=tn([Pe(0x0,a[_0xbb724d(0x271)](z[_0xbb724d(0x539)])),Pe(0x1,a[_0xbb724d(0x271)](z[_0xbb724d(0x395)])),Pe(0x2,a['IConfigService']),Pe(0x3,a[_0xbb724d(0x2cb)]),Pe(0x4,p[_0xbb724d(0xe7)])],exports[_0xbb724d(0x4a8)]);const sn=_0xbb724d(0xf7);function rn(_0x478f21){const _0x36b7aa=_0xbb724d;return JSON[_0x36b7aa(0x44f)](_0x478f21)[_0x36b7aa(0x2d9)];}class Rt{constructor(){const _0xdbe510=_0xbb724d;I(this,_0xdbe510(0x2d3),new A['Subject']()),I(this,_0xdbe510(0x527),this[_0xdbe510(0x2d3)]['asObservable']());}['onCommentUpdate'](_0x354732){const _0x4819a7=_0xbb724d;this[_0x4819a7(0x2d3)][_0x4819a7(0x32a)](_0x354732);}}var on=Object[_0xbb724d(0x164)],an=Object[_0xbb724d(0x13d)],cn=(_0x5112a3,_0x2829b7,_0x296efa,_0x30b1c1)=>{const _0x27ab74=_0xbb724d;for(var _0x12c1b0=_0x30b1c1>0x1?void 0x0:_0x30b1c1?an(_0x2829b7,_0x296efa):_0x2829b7,_0x3a0628=_0x5112a3[_0x27ab74(0x2d9)]-0x1,_0x240292;_0x3a0628>=0x0;_0x3a0628--)(_0x240292=_0x5112a3[_0x3a0628])&&(_0x12c1b0=(_0x30b1c1?_0x240292(_0x2829b7,_0x296efa,_0x12c1b0):_0x240292(_0x12c1b0))||_0x12c1b0);return _0x30b1c1&&_0x12c1b0&&on(_0x2829b7,_0x296efa,_0x12c1b0),_0x12c1b0;},At=(_0x528d1c,_0x31d245)=>(_0x2f6e5e,_0x303259)=>_0x31d245(_0x2f6e5e,_0x303259,_0x528d1c);exports[_0xbb724d(0x420)]=class extends a['Disposable']{constructor(_0x399c3e,_0x4c226c){const _0x499803=_0xbb724d;super(),I(this,_0x499803(0xeb),new Map()),(this[_0x499803(0x20b)]=_0x399c3e,this[_0x499803(0x2d8)]=_0x4c226c,this[_0x499803(0x2ad)](a[_0x499803(0x2b7)](A[_0x499803(0xa9)](this[_0x499803(0x20b)][_0x499803(0x209)](a[_0x499803(0xd5)]['UNIVER_SHEET'])[_0x499803(0x52f)](V[_0x499803(0x1cf)](_0xcafd45=>_0xcafd45[_0x499803(0x285)]())),this[_0x499803(0x20b)][_0x499803(0x209)](a['UniverInstanceType']['UNIVER_DOC'])[_0x499803(0x52f)](V[_0x499803(0x1cf)](_0x56d055=>_0x56d055[_0x499803(0x285)]())),this[_0x499803(0x20b)][_0x499803(0x209)](a[_0x499803(0xd5)][_0x499803(0x46e)])[_0x499803(0x52f)](V[_0x499803(0x1cf)](_0x13a30e=>_0x13a30e['getUnitId']())))[_0x499803(0x2ae)](_0xfd852f=>this[_0x499803(0x361)](_0xfd852f)))));}[_0xbb724d(0x2b6)](_0x5454bd){const _0x13d402=_0xbb724d;this['_userManagerService'][_0x13d402(0x2b6)](_0x5454bd);}[_0xbb724d(0xb9)](){const _0x2ac97d=_0xbb724d;return this[_0x2ac97d(0x2d8)][_0x2ac97d(0xb9)]();}['updateMember'](_0x294cfe,_0x23ad65){const _0x21e4da=_0xbb724d;let _0x1f874d=this['_roomMembers'][_0x21e4da(0x2c9)](_0x294cfe);_0x1f874d||(_0x1f874d=new ln(),this[_0x21e4da(0xeb)][_0x21e4da(0x117)](_0x294cfe,_0x1f874d)),_0x1f874d[_0x21e4da(0x309)](_0x23ad65);}[_0xbb724d(0x4f6)](_0x5ba9bf,_0x3c19e6){const _0x25d0c0=_0xbb724d,_0x44f4af=this[_0x25d0c0(0xeb)][_0x25d0c0(0x2c9)](_0x5ba9bf);_0x44f4af&&_0x44f4af['removeMember'](_0x3c19e6);}['getRoom'](_0x27e531){const _0x494a7d=_0xbb724d;return this[_0x494a7d(0xeb)][_0x494a7d(0x2c9)](_0x27e531);}[_0xbb724d(0x18b)](_0x2ae389,_0x153b65){const _0x22dcd6=_0xbb724d,_0x1cdbf3=this['_roomMembers'][_0x22dcd6(0x2c9)](_0x2ae389);if(_0x1cdbf3)return _0x1cdbf3['getMember'](_0x153b65);}[_0xbb724d(0x361)](_0x527b74){const _0x26be8b=_0xbb724d,_0x45211b=this[_0x26be8b(0xeb)][_0x26be8b(0x2c9)](_0x527b74);_0x45211b&&(_0x45211b[_0x26be8b(0x16a)](),this[_0x26be8b(0xeb)]['delete'](_0x527b74));}['dispose'](){const _0x47c876=_0xbb724d;this[_0x47c876(0xeb)][_0x47c876(0x53b)](_0x321899=>_0x321899[_0x47c876(0x16a)]()),this['_roomMembers']['clear']();}},exports['MemberService']=cn([At(0x0,a[_0xbb724d(0x4c0)]),At(0x1,a[_0xbb724d(0x271)](a[_0xbb724d(0x466)]))],exports[_0xbb724d(0x420)]);class ln extends a[_0xbb724d(0x4cb)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0xbb724d(0x16a)](){const _0x1cc47d=_0xbb724d;this[_0x1cc47d(0x2ff)][_0x1cc47d(0x4e1)]();}[_0xbb724d(0x309)](_0x4eb596){const _0x188e86=_0xbb724d;this[_0x188e86(0x2ff)]['set'](_0x4eb596[_0x188e86(0x3f8)],_0x4eb596);}[_0xbb724d(0x4f6)](_0x3a0214){const _0x32bf3f=_0xbb724d;this['_members'][_0x32bf3f(0x1e6)](_0x3a0214);}[_0xbb724d(0x18b)](_0x1ea407){const _0x35cc09=_0xbb724d;return this[_0x35cc09(0x2ff)][_0x35cc09(0x2c9)](_0x1ea407);}[_0xbb724d(0x1c7)](){const _0x539a4b=_0xbb724d;return Array['from'](this[_0x539a4b(0x2ff)]['values']());}}var hn=Object['defineProperty'],_n=Object[_0xbb724d(0x13d)],un=(_0x96f71a,_0x47556a,_0x30b69e,_0x17f440)=>{for(var _0x4f6521=_0x17f440>0x1?void 0x0:_0x17f440?_n(_0x47556a,_0x30b69e):_0x47556a,_0x1b3fde=_0x96f71a['length']-0x1,_0x9b200c;_0x1b3fde>=0x0;_0x1b3fde--)(_0x9b200c=_0x96f71a[_0x1b3fde])&&(_0x4f6521=(_0x17f440?_0x9b200c(_0x47556a,_0x30b69e,_0x4f6521):_0x9b200c(_0x4f6521))||_0x4f6521);return _0x17f440&&_0x4f6521&&hn(_0x47556a,_0x30b69e,_0x4f6521),_0x4f6521;},de=(_0x275b82,_0x5312d5)=>(_0x42d06a,_0x5585e8)=>_0x5312d5(_0x42d06a,_0x5585e8,_0x275b82),se=(_0x2889de=>(_0x2889de[_0x2889de[_0xbb724d(0x483)]=0x0]=_0xbb724d(0x483),_0x2889de[_0x2889de[_0xbb724d(0x288)]=0x1]=_0xbb724d(0x288),_0x2889de[_0x2889de['OFFLINE']=0x2]=_0xbb724d(0x104),_0x2889de[_0x2889de[_0xbb724d(0x498)]=0x3]=_0xbb724d(0x498),_0x2889de))(se||{});exports[_0xbb724d(0x2b8)]=class extends a[_0xbb724d(0x2fb)]{constructor(_0x309022,_0x29f1c2,_0x215758,_0x278245,_0x1f6669,_0x29baad,_0x204531,_0x4961be,_0x527bdd,_0xc06bc0){const _0x3382d0=_0xbb724d;super(),I(this,_0x3382d0(0x3cf),new A[(_0x3382d0(0x11e))](0x0)),I(this,'sessionStatus$',this[_0x3382d0(0x3cf)][_0x3382d0(0x14b)]()),I(this,_0x3382d0(0x4d7),new A['Subject']()),I(this,_0x3382d0(0x3a7),this[_0x3382d0(0x4d7)][_0x3382d0(0x14b)]()),I(this,_0x3382d0(0x1f9)),I(this,_0x3382d0(0x540)),I(this,'_collaborationTimeoutTimer'),I(this,_0x3382d0(0x20a),!0x1),I(this,_0x3382d0(0x523),null),(this[_0x3382d0(0x15e)]=_0x309022,this[_0x3382d0(0x1a3)]=_0x215758,this['_beforeCloseService']=_0x278245,this[_0x3382d0(0x3c1)]=_0x1f6669,this['_configService']=_0x29baad,this['_localeService']=_0x204531,this[_0x3382d0(0x338)]=_0x4961be,this['_commentService']=_0x527bdd,this[_0x3382d0(0x3e7)]=_0xc06bc0,this[_0x3382d0(0x20a)]=!!this['_telemetryService'],_0x29f1c2[_0x3382d0(0x52f)](A[_0x3382d0(0x262)](this[_0x3382d0(0x279)]))[_0x3382d0(0x2ae)](_0x367ad8=>{const _0xe0d3cc=_0x3382d0;var _0x450f92;typeof _0x367ad8>'u'||(this[_0xe0d3cc(0x1f9)]=_0x367ad8,_0x367ad8?(this[_0xe0d3cc(0x3c3)](_0x367ad8),this[_0xe0d3cc(0x540)]=_0x367ad8[_0xe0d3cc(0x4f8)]['subscribe'](_0x1410a2=>{const _0x2b2ab1=_0xe0d3cc;_0x1410a2['routeKey']===this[_0x2b2ab1(0x15e)]&&this[_0x2b2ab1(0x24e)](_0x1410a2);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xe0d3cc(0x3cf)][_0xe0d3cc(0x32a)](0x2),(_0x450f92=this['_socketMessageSubscription'])==null||_0x450f92[_0xe0d3cc(0x10f)](),this['_socketMessageSubscription']=null));}),this[_0x3382d0(0x2ad)](this[_0x3382d0(0x53a)]['registerOnClose'](()=>{const _0x2768fe=_0x3382d0;var _0x41a65a;(_0x41a65a=this[_0x2768fe(0x1f9)])==null||_0x41a65a[_0x2768fe(0x370)]({'cmd':G[_0x2768fe(0x2b9)],'data':{'roomID':this[_0x2768fe(0x15e)]}});})));}get[_0xbb724d(0x53f)](){const _0x337ab6=_0xbb724d;return this[_0x337ab6(0x3cf)][_0x337ab6(0x333)]();}[_0xbb724d(0x2bf)](){const _0x512ab7=_0xbb724d;var _0x392012,_0x2ef12c;return(_0x2ef12c=(_0x392012=this[_0x512ab7(0x1f9)])==null?void 0x0:_0x392012[_0x512ab7(0x3f8)])!=null?_0x2ef12c:null;}['dispose'](){const _0x31ff99=_0xbb724d;super[_0x31ff99(0x16a)](),this[_0x31ff99(0x279)]['next'](),this[_0x31ff99(0x279)][_0x31ff99(0x22b)]();}[_0xbb724d(0x206)](){const _0x20f265=_0xbb724d;var _0x4ff056,_0x3c96f9;this[_0x20f265(0x47b)](),(_0x4ff056=this['_socket'])==null||_0x4ff056[_0x20f265(0x370)]({'cmd':G[_0x20f265(0x2b9)],'data':{'roomID':this[_0x20f265(0x15e)]}}),(_0x3c96f9=this[_0x20f265(0x1f9)])==null||_0x3c96f9[_0x20f265(0x206)](),this[_0x20f265(0x4d7)][_0x20f265(0x22b)](),this[_0x20f265(0x3cf)][_0x20f265(0x22b)](),this['dispose']();}[_0xbb724d(0x24e)](_0x23eaf1){const _0x565fbe=_0xbb724d;_0x23eaf1[_0x565fbe(0x3cc)]===G[_0x565fbe(0x414)]?this[_0x565fbe(0x3f0)](_0x23eaf1):_0x23eaf1[_0x565fbe(0x3cc)]===G[_0x565fbe(0x372)]&&this[_0x565fbe(0x419)](_0x23eaf1);}[_0xbb724d(0x3c3)](_0x4427f0){const _0x5a663a=_0xbb724d;this[_0x5a663a(0x3cf)][_0x5a663a(0x32a)](0x1),_0x4427f0[_0x5a663a(0x370)]({'cmd':G[_0x5a663a(0x414)],'routeKey':this[_0x5a663a(0x15e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5a663a(0x15e)]}]}});}[_0xbb724d(0x3f0)](_0x1db151){const _0x16a914=_0xbb724d;var _0x3568f1;if(_0x1db151[_0x16a914(0x365)]===bt['FAIL']){this[_0x16a914(0x3c1)]['show']({'type':Ce['MessageType'][_0x16a914(0xc5)],'content':this['_localeService']['t'](_0x16a914(0x4f3))}),this[_0x16a914(0x3cf)]['next'](0x2);return;}this[_0x16a914(0x3cf)][_0x16a914(0x32a)](0x3);const _0x4795e9=(_0x3568f1=_0x1db151[_0x16a914(0x238)]['roomInfos'][this[_0x16a914(0x15e)]])==null?void 0x0:_0x3568f1[_0x16a914(0xcf)];_0x4795e9&&_0x4795e9[_0x16a914(0x53b)](_0x318a70=>this[_0x16a914(0x338)][_0x16a914(0x309)](this[_0x16a914(0x15e)],_0x318a70));}[_0xbb724d(0x419)](_0x262091){const _0x2de15a=_0xbb724d;try{const _0x73ba11=_0x262091[_0x2de15a(0x238)];switch(_0x73ba11[_0x2de15a(0x470)]){case p[_0x2de15a(0x29f)][_0x2de15a(0x38c)]:this[_0x2de15a(0x325)](_0x73ba11),this['_event$'][_0x2de15a(0x32a)](_0x73ba11);break;case p['CollaborationEvent'][_0x2de15a(0x22e)]:this[_0x2de15a(0x4f1)](_0x73ba11),this[_0x2de15a(0x4d7)][_0x2de15a(0x32a)](_0x73ba11);break;case p['CollaborationEvent'][_0x2de15a(0x4cf)]:case p['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x2de15a(0xf3)](),this[_0x2de15a(0x40a)](),this[_0x2de15a(0x4d7)][_0x2de15a(0x32a)](_0x73ba11);break;case p['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x2de15a(0x1a3)][_0x2de15a(0x1d8)](_0x2de15a(0x41e)+JSON['stringify'](_0x73ba11)),this[_0x2de15a(0x4d7)][_0x2de15a(0x32a)](_0x73ba11);break;case p[_0x2de15a(0x29f)][_0x2de15a(0x1ee)]:this[_0x2de15a(0x499)][_0x2de15a(0x180)](_0x73ba11[_0x2de15a(0x238)]),this[_0x2de15a(0x4d7)][_0x2de15a(0x32a)](_0x73ba11);break;default:this[_0x2de15a(0x4d7)]['next'](_0x73ba11);}}catch(_0xb92fda){this['_logService'][_0x2de15a(0x1d8)](_0xb92fda,_0x262091);}}['_onUserJoin'](_0x3c4b59){const _0x433f6f=_0xbb724d;this['_memberService'][_0x433f6f(0x309)](this[_0x433f6f(0x15e)],_0x3c4b59[_0x433f6f(0x238)]);}['_onUserLeave'](_0xeb9217){const _0x2f47a2=_0xbb724d;this[_0x2f47a2(0x338)][_0x2f47a2(0x4f6)](this[_0x2f47a2(0x15e)],_0xeb9217[_0x2f47a2(0x238)][_0x2f47a2(0x3f8)]);}async[_0xbb724d(0x370)](_0x3c3bdc,_0x4e774a){const _0x2e1582=_0xbb724d;if(this[_0x2e1582(0x53f)]!==0x3||!this['_socket'])throw new Error(_0x2e1582(0x371));try{_0x3c3bdc['eventID']===p['CollaborationEvent'][_0x2e1582(0x441)]&&(this[_0x2e1582(0xa1)](),this[_0x2e1582(0x450)](_0x3c3bdc)),this[_0x2e1582(0x1f9)][_0x2e1582(0x370)]({'cmd':G[_0x2e1582(0xc2)],'routeKey':_0x4e774a,'routeType':'','data':_0x3c3bdc});}catch(_0x49b56a){this[_0x2e1582(0x1a3)][_0x2e1582(0x1d8)](_0x49b56a);}}[_0xbb724d(0xa1)](){const _0x6699f4=_0xbb724d;var _0x1a79f7;this['_collaborationTimeoutTimer']=window[_0x6699f4(0x31c)](()=>{const _0x2b21ee=_0x6699f4;this['_collaborationTimeoutTimer']=null,this[_0x2b21ee(0x3c1)][_0x2b21ee(0xb7)]({'type':Ce[_0x2b21ee(0xd6)]['Error'],'content':this[_0x2b21ee(0x4f9)]['t']('session.collaboration-timeout')});},(_0x1a79f7=this['_configService'][_0x6699f4(0x27c)](Et))!=null?_0x1a79f7:oi);}['_clearCollaborationTimeoutTimer'](){const _0x7e63a6=_0xbb724d;this[_0x7e63a6(0x340)]&&(clearTimeout(this[_0x7e63a6(0x340)]),this[_0x7e63a6(0x340)]=null);}[_0xbb724d(0x450)](_0x2c206e){const _0x221ed7=_0xbb724d;if(!this['_shouldReportTelemetry'])return;const {data:_0x1e0a32}=_0x2c206e,{unitID:_0x5d43bf,changeset:_0x307f7d}=_0x1e0a32,{mutations:_0x3cf7b3,type:_0x430101}=_0x307f7d;this[_0x221ed7(0x523)]={'unitId':_0x5d43bf,'type':_0x430101,'startTime':performance[_0x221ed7(0x220)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x3cf7b3)};}[_0xbb724d(0xf3)](){const _0x190372=_0xbb724d;if(this[_0x190372(0x20a)]){if(!this[_0x190372(0x523)]){this[_0x190372(0x1a3)]['error'](_0x190372(0x4f7),_0x190372(0x393));return;}this[_0x190372(0x523)][_0x190372(0x524)]=performance[_0x190372(0x220)](),this[_0x190372(0x523)]['duration']=this[_0x190372(0x523)][_0x190372(0x524)]-this[_0x190372(0x523)][_0x190372(0x3f7)],this[_0x190372(0x3e7)]['capture'](sn,this[_0x190372(0x523)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x15f641=_0xbb724d;this[_0x15f641(0x523)]=null;}},exports['CollaborationSession']=un([de(0x2,a[_0xbb724d(0x2cb)]),de(0x3,te[_0xbb724d(0x159)]),de(0x4,te[_0xbb724d(0x1bf)]),de(0x5,a[_0xbb724d(0xbc)]),de(0x6,a[_0xbb724d(0x271)](a[_0xbb724d(0x2a7)])),de(0x7,a[_0xbb724d(0x271)](exports[_0xbb724d(0x420)])),de(0x8,a[_0xbb724d(0x271)](Rt)),de(0x9,a[_0xbb724d(0x18e)](Hi[_0xbb724d(0x4d9)]))],exports['CollaborationSession']);var dn=Object[_0xbb724d(0x164)],fn=Object[_0xbb724d(0x13d)],vn=(_0x15e826,_0xc32478,_0x4b2b06,_0x321d38)=>{for(var _0xcdc3e3=_0x321d38>0x1?void 0x0:_0x321d38?fn(_0xc32478,_0x4b2b06):_0xc32478,_0x2d793c=_0x15e826['length']-0x1,_0x499bdf;_0x2d793c>=0x0;_0x2d793c--)(_0x499bdf=_0x15e826[_0x2d793c])&&(_0xcdc3e3=(_0x321d38?_0x499bdf(_0xc32478,_0x4b2b06,_0xcdc3e3):_0x499bdf(_0xcdc3e3))||_0xcdc3e3);return _0x321d38&&_0xcdc3e3&&dn(_0xc32478,_0x4b2b06,_0xcdc3e3),_0xcdc3e3;},pe=(_0xbd4e1d,_0x920c37)=>(_0x4a071f,_0x2ffdee)=>_0x920c37(_0x4a071f,_0x2ffdee,_0xbd4e1d);exports[_0xbb724d(0x2ec)]=class extends a[_0xbb724d(0x4cb)]{constructor(_0x279df6,_0x285f6f,_0x549ae4,_0x43a135,_0x26ab0e,_0x247174,_0x570558){const _0x16d9cb=_0xbb724d;super(),I(this,_0x16d9cb(0x102),new A[(_0x16d9cb(0x11e))](void 0x0)),I(this,_0x16d9cb(0x3fa),this[_0x16d9cb(0x102)][_0x16d9cb(0x14b)]()),I(this,_0x16d9cb(0x4c3),null),I(this,'_sessions',new Map()),I(this,_0x16d9cb(0x378),new A[(_0x16d9cb(0x11e))](se[_0x16d9cb(0x483)])),I(this,_0x16d9cb(0xc0),this[_0x16d9cb(0x378)][_0x16d9cb(0x14b)]()),I(this,'_socketReady',!0x1),I(this,'_retryConnectingTimer'),I(this,'_retryCount',0x0),I(this,'_sendHeartbeatTimer'),I(this,_0x16d9cb(0x542)),(this['_injector']=_0x279df6,this['_localeService']=_0x285f6f,this[_0x16d9cb(0x3c1)]=_0x549ae4,this[_0x16d9cb(0x1a3)]=_0x43a135,this[_0x16d9cb(0xe6)]=_0x26ab0e,this[_0x16d9cb(0x307)]=_0x247174,this[_0x16d9cb(0x21d)]=_0x570558,this[_0x16d9cb(0x3d3)]());}get[_0xbb724d(0x1f9)](){const _0x441420=_0xbb724d;return this[_0x441420(0x102)][_0x441420(0x333)]();}[_0xbb724d(0x3d3)](){const _0x9cb48a=_0xbb724d;this[_0x9cb48a(0x166)](),this['_listenToOnlineEvent']();}[_0xbb724d(0x16a)](){const _0x23c65f=_0xbb724d;super[_0x23c65f(0x16a)](),this[_0x23c65f(0x1c5)][_0x23c65f(0x53b)](_0x4a6343=>_0x4a6343[_0x23c65f(0x16a)]()),this[_0x23c65f(0x1c5)][_0x23c65f(0x4e1)](),this['_status$'][_0x23c65f(0x22b)]();}async['requireSession'](_0x40dde2){const _0x5e4fa2=_0xbb724d;if(this[_0x5e4fa2(0x1c5)][_0x5e4fa2(0x4cd)](_0x40dde2))return this[_0x5e4fa2(0x1c5)][_0x5e4fa2(0x2c9)](_0x40dde2);this[_0x5e4fa2(0x2ca)]();const _0x18074e=this[_0x5e4fa2(0x299)][_0x5e4fa2(0x196)](exports[_0x5e4fa2(0x2b8)],_0x40dde2,this[_0x5e4fa2(0x102)][_0x5e4fa2(0x14b)]());return this[_0x5e4fa2(0x1c5)]['set'](_0x40dde2,_0x18074e),_0x18074e;}[_0xbb724d(0x446)](_0x4e0dec){const _0x1ed27f=_0xbb724d;var _0x425622;const _0x2b0951=this[_0x1ed27f(0x1c5)]['get'](_0x4e0dec);_0x2b0951&&(this[_0x1ed27f(0x1c5)]['delete'](_0x4e0dec),_0x2b0951[_0x1ed27f(0x206)]()),this[_0x1ed27f(0x1c5)][_0x1ed27f(0x4a6)]||(_0x425622=this[_0x1ed27f(0x1f9)])==null||_0x425622[_0x1ed27f(0x206)]();}[_0xbb724d(0x2d7)](){const _0x2d016d=_0xbb724d;this[_0x2d016d(0x98)]=0x0,this[_0x2d016d(0x4ef)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2d016d(0x4ef)]=null),this['_tryReconnect']();}async[_0xbb724d(0x15f)](){const _0x657932=_0xbb724d;var _0x620766,_0x17553b,_0x115e43;const _0x3fec0a=this[_0x657932(0xe6)]['getConfig'](Q),_0x94cf2b=(_0x620766=_0x3fec0a==null?void 0x0:_0x3fec0a[_0x657932(0x1c1)])!=null?_0x620766:Gi;return(_0x115e43=(_0x17553b=(await this[_0x657932(0x21d)][_0x657932(0x2c9)](_0x94cf2b,{'headers':{'Content-Type':'application/json'}}))[_0x657932(0x3a6)])==null?void 0x0:_0x17553b[_0x657932(0x252)])!=null?_0x115e43:'';}[_0xbb724d(0x275)](_0x31adba){const _0x2ac4a0=_0xbb724d;var _0xc8fbb8,_0x4b7e9c;const _0xd1f45a=this['_configService'][_0x2ac4a0(0x27c)](si),_0x22e5c6=this[_0x2ac4a0(0xe6)]['getConfig'](Q),_0x803eb1=(_0x4b7e9c=(_0xc8fbb8=_0x22e5c6==null?void 0x0:_0x22e5c6[_0x2ac4a0(0x205)])!=null?_0xc8fbb8:_0xd1f45a)!=null?_0x4b7e9c:Vi,_0x394bee=new URL(_0x803eb1,window[_0x2ac4a0(0x33e)][_0x2ac4a0(0x430)]);return _0x394bee[_0x2ac4a0(0x295)][_0x2ac4a0(0x117)](_0x2ac4a0(0x3dc),_0x31adba),_0x394bee[_0x2ac4a0(0x3bf)]();}async['_createSocket'](){const _0x5cdea0=_0xbb724d,_0x15b2d1=await this['_getSessionTicket'](),_0x12256b=this[_0x5cdea0(0x275)](_0x15b2d1),_0x391c3b=this['_socketService'][_0x5cdea0(0x493)](_0x12256b);return this[_0x5cdea0(0x4c3)]=_0x391c3b,_0x391c3b;}async[_0xbb724d(0x2ca)](){const _0x4cf00f=_0xbb724d;var _0x5e9af8,_0x163e3a;try{const _0x461aae=(_0x163e3a=(_0x5e9af8=this[_0x4cf00f(0x1f9)])!=null?_0x5e9af8:this['_candidateSocket'])!=null?_0x163e3a:await this['_createSocket']();if(_0x461aae){const _0x382ba8=_0x461aae[_0x4cf00f(0x370)];_0x461aae['send']=_0x1ffe6e=>(this[_0x4cf00f(0x4b0)](),_0x382ba8[_0x4cf00f(0xbd)](_0x461aae,[_0x1ffe6e])),_0x461aae['message$'][_0x4cf00f(0x2ae)](_0x50b7a2=>this[_0x4cf00f(0x249)](_0x461aae,_0x50b7a2)),_0x461aae[_0x4cf00f(0xee)][_0x4cf00f(0x52f)](V[_0x4cf00f(0x4de)](0x1))[_0x4cf00f(0x2ae)](_0x3c472c=>this[_0x4cf00f(0x1a3)][_0x4cf00f(0x1d8)](_0x4cf00f(0xa0),_0x3c472c)),_0x461aae[_0x4cf00f(0x356)][_0x4cf00f(0x52f)](V[_0x4cf00f(0x4de)](0x1))[_0x4cf00f(0x2ae)](()=>{const _0x28f9d5=_0x4cf00f;this[_0x28f9d5(0x27d)](_0x461aae);}),_0x461aae['close$'][_0x4cf00f(0x52f)](V[_0x4cf00f(0x4de)](0x1))['subscribe'](_0x3e0299=>{const _0x183a83=_0x4cf00f;this['_logService'][_0x183a83(0x528)](_0x183a83(0x383),_0x183a83(0x42d),_0x3e0299),this['_onConnectionFailed']();});}}catch(_0x159481){this[_0x4cf00f(0x1a3)]['error'](_0x159481),this[_0x4cf00f(0x4ec)]();}}[_0xbb724d(0x27d)](_0x34a745){const _0x1687a0=_0xbb724d;this['_logService'][_0x1687a0(0x528)](_0x1687a0(0x383),_0x1687a0(0x272)),_0x34a745[_0x1687a0(0x370)]({'cmd':G[_0x1687a0(0x1e4)]}),this[_0x1687a0(0x4b0)]();}[_0xbb724d(0x166)](){const _0x59866b=_0xbb724d;window[_0x59866b(0x8a)]('offline',()=>this[_0x59866b(0x124)]());}[_0xbb724d(0x124)](){const _0x9d46ed=_0xbb724d;this[_0x9d46ed(0x330)]=!0x1,this[_0x9d46ed(0x4c3)]=null,this[_0x9d46ed(0x378)][_0x9d46ed(0x32a)](se[_0x9d46ed(0x104)]),this['_socket$'][_0x9d46ed(0x32a)](null),this['_clearTimeoutTimer'](),this[_0x9d46ed(0x93)]();}[_0xbb724d(0x4ec)](){const _0x192e42=_0xbb724d;var _0x5a47b0;this[_0x192e42(0x124)](),this[_0x192e42(0x98)]<((_0x5a47b0=this[_0x192e42(0xe6)][_0x192e42(0x27c)](ai))!=null?_0x5a47b0:qi)?(this[_0x192e42(0x3c1)][_0x192e42(0xb7)]({'key':_0x192e42(0x368),'type':Ce[_0x192e42(0xd6)][_0x192e42(0xc5)],'content':this[_0x192e42(0x4f9)]['t'](_0x192e42(0x158))}),this['_tryReconnect']()):this[_0x192e42(0x3c1)][_0x192e42(0xb7)]({'key':_0x192e42(0x368),'type':Ce[_0x192e42(0xd6)][_0x192e42(0x86)],'content':this[_0x192e42(0x4f9)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0xe4b3b0=_0xbb724d,_0xfc89f9=()=>{const _0x1bede3=_0x195f;this['_socket']||this[_0x1bede3(0x2d7)]();},_0x5db73b=()=>{const _0x5f0beb=_0x195f;this['_socket']||document['visibilityState']==='hidden'||this[_0x5f0beb(0x2d7)]();};window[_0xe4b3b0(0x8a)](_0xe4b3b0(0x475),_0xfc89f9),document[_0xe4b3b0(0x8a)]('visibilitychange',_0x5db73b);}[_0xbb724d(0x3e8)](){const _0x432d3b=_0xbb724d;var _0xae8371;const _0x5b3026=this[_0x432d3b(0x98)],_0x7a232e=this['_configService'][_0x432d3b(0x27c)](Q),_0x30d4e8=_0x5b3026===0x0?0x0:((_0xae8371=_0x7a232e==null?void 0x0:_0x7a232e[_0x432d3b(0x15b)])!=null?_0xae8371:Ki)*0x2**_0x5b3026;this[_0x432d3b(0x4ef)]=window[_0x432d3b(0x31c)](()=>{const _0x9ade3d=_0x432d3b;clearTimeout(this[_0x9ade3d(0x4ef)]),this[_0x9ade3d(0x4ef)]=null,this[_0x9ade3d(0x2ca)]();},_0x30d4e8),this[_0x432d3b(0x98)]+=0x1;}[_0xbb724d(0x249)](_0x351e97,_0x443284){const _0x44660e=_0xbb724d,{cmd:_0x366a24}=_0x443284;_0x366a24===G['HELLO']&&!this['_socketReady']&&(_0x351e97['memberID']=_0x443284[_0x44660e(0x238)][_0x44660e(0x3f8)],this[_0x44660e(0x102)][_0x44660e(0x32a)](_0x351e97),this['_status$'][_0x44660e(0x32a)](se[_0x44660e(0x498)]),this[_0x44660e(0x330)]=!0x0,this[_0x44660e(0x4c3)]=null),_0x366a24===G[_0x44660e(0x2de)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0xbb724d(0x4b0)](){const _0x5d652a=_0xbb724d;var _0x2d3cf8;this['_clearHeartbeatTimer'](),this[_0x5d652a(0x3dd)]=window[_0x5d652a(0x31c)](()=>this[_0x5d652a(0x492)](),(_0x2d3cf8=this['_configService'][_0x5d652a(0x27c)](ri))!=null?_0x2d3cf8:Yi);}['_sendHeartbeat'](){const _0x5f3f10=_0xbb724d;this[_0x5f3f10(0x1f9)][_0x5f3f10(0x370)]({'cmd':G[_0x5f3f10(0x2de)]}),this[_0x5f3f10(0x141)]();}[_0xbb724d(0x141)](){const _0x4fabf2=_0xbb724d;var _0x1b00a0;this[_0x4fabf2(0x542)]=window[_0x4fabf2(0x31c)](()=>this[_0x4fabf2(0x4ec)](),(_0x1b00a0=this[_0x4fabf2(0xe6)][_0x4fabf2(0x27c)](Et))!=null?_0x1b00a0:oi);}[_0xbb724d(0x93)](){const _0x5f302b=_0xbb724d;this[_0x5f302b(0x3dd)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xbb724d(0x1cc)](){const _0xfa08c1=_0xbb724d;this[_0xfa08c1(0x542)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xfa08c1(0x542)]=null);}},exports[_0xbb724d(0x2ec)]=vn([pe(0x0,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),pe(0x1,a[_0xbb724d(0x271)](a[_0xbb724d(0x2a7)])),pe(0x2,te[_0xbb724d(0x1bf)]),pe(0x3,a[_0xbb724d(0x2cb)]),pe(0x4,a[_0xbb724d(0xbc)]),pe(0x5,Tt),pe(0x6,a[_0xbb724d(0x271)](z[_0xbb724d(0x539)]))],exports['CollaborationSessionService']);const Y=[];for(let s=0x0;s<0x100;++s)Y['push']((s+0x100)[_0xbb724d(0x3bf)](0x10)[_0xbb724d(0x2c3)](0x1));function Sn(_0x1cc73e,_0x239100=0x0){const _0x535106=_0xbb724d;return(Y[_0x1cc73e[_0x239100+0x0]]+Y[_0x1cc73e[_0x239100+0x1]]+Y[_0x1cc73e[_0x239100+0x2]]+Y[_0x1cc73e[_0x239100+0x3]]+'-'+Y[_0x1cc73e[_0x239100+0x4]]+Y[_0x1cc73e[_0x239100+0x5]]+'-'+Y[_0x1cc73e[_0x239100+0x6]]+Y[_0x1cc73e[_0x239100+0x7]]+'-'+Y[_0x1cc73e[_0x239100+0x8]]+Y[_0x1cc73e[_0x239100+0x9]]+'-'+Y[_0x1cc73e[_0x239100+0xa]]+Y[_0x1cc73e[_0x239100+0xb]]+Y[_0x1cc73e[_0x239100+0xc]]+Y[_0x1cc73e[_0x239100+0xd]]+Y[_0x1cc73e[_0x239100+0xe]]+Y[_0x1cc73e[_0x239100+0xf]])[_0x535106(0x4a4)]();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0x39bbe7=_0xbb724d;if(!Ze){if(typeof crypto>'u'||!crypto[_0x39bbe7(0x458)])throw new Error(_0x39bbe7(0x241));Ze=crypto['getRandomValues'][_0x39bbe7(0xa8)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0xbb724d(0x53e)]&&crypto['randomUUID'][_0xbb724d(0xa8)](crypto),Nt={'randomUUID':gn};function In(_0x2ff707,_0x1a782,_0xadfe89){const _0x5dc0d8=_0xbb724d;if(Nt[_0x5dc0d8(0x53e)]&&!_0x1a782&&!_0x2ff707)return Nt[_0x5dc0d8(0x53e)]();_0x2ff707=_0x2ff707||{};const _0x4a556a=_0x2ff707[_0x5dc0d8(0x227)]||(_0x2ff707[_0x5dc0d8(0x346)]||mn)();return _0x4a556a[0x6]=_0x4a556a[0x6]&0xf|0x40,_0x4a556a[0x8]=_0x4a556a[0x8]&0x3f|0x80,Sn(_0x4a556a);}var Cn=Object[_0xbb724d(0x164)],En=Object['getOwnPropertyDescriptor'],bn=(_0x3e3721,_0x2c66cf,_0x2b95c8,_0x59087a)=>{const _0x57be55=_0xbb724d;for(var _0x15f3ca=_0x59087a>0x1?void 0x0:_0x59087a?En(_0x2c66cf,_0x2b95c8):_0x2c66cf,_0x5c14be=_0x3e3721[_0x57be55(0x2d9)]-0x1,_0x51a86d;_0x5c14be>=0x0;_0x5c14be--)(_0x51a86d=_0x3e3721[_0x5c14be])&&(_0x15f3ca=(_0x59087a?_0x51a86d(_0x2c66cf,_0x2b95c8,_0x15f3ca):_0x51a86d(_0x15f3ca))||_0x15f3ca);return _0x59087a&&_0x15f3ca&&Cn(_0x2c66cf,_0x2b95c8,_0x15f3ca),_0x15f3ca;},Qe=(_0x15f3b6,_0x1f3461)=>(_0xf6cdb,_0x2e6046)=>_0x1f3461(_0xf6cdb,_0x2e6046,_0x15f3b6);let Be=class{constructor(_0x3a081f,_0x5d5a5a,_0x168033){const _0x1bd018=_0xbb724d;this[_0x1bd018(0x299)]=_0x3a081f,this[_0x1bd018(0x522)]=_0x5d5a5a,this[_0x1bd018(0x529)]=_0x168033;}[_0xbb724d(0x477)](_0x28bac3){const _0x5a6c0d=_0xbb724d;this[_0x5a6c0d(0x38f)](_0x28bac3),this[_0x5a6c0d(0x84)](_0x28bac3);}[_0xbb724d(0x397)](_0x223364){const _0x2cd2a3=_0xbb724d,{unitID:_0x35f704}=_0x223364,_0xd9a43f=this[_0x2cd2a3(0x529)]['getRenderById'](_0x35f704)['with'](J[_0x2cd2a3(0x510)]),{redoCache:_0xa98696}=_0xd9a43f['getUndoRedoMutationParamsCache']();if(_0xa98696[_0x2cd2a3(0x2d9)]===0x0)return _0x223364;let _0xf57e00=a[_0x2cd2a3(0x1fd)]['deepClone'](_0x223364['mutations'][0x0]);for(let _0x5274dd=0x0;_0x5274dd<_0xa98696[_0x2cd2a3(0x2d9)];_0x5274dd++){const _0x3b58f1={'id':_0x2cd2a3(0xc4),'params':{..._0xa98696[_0x5274dd]}},_0x4c88df=this['_transformService']['transformMutation'](_0xf57e00,_0x3b58f1,!0x1);if(p[_0x2cd2a3(0x32e)](_0x4c88df))throw _0x4c88df[_0x2cd2a3(0x1d8)];_0xf57e00=_0x4c88df[_0x2cd2a3(0x35e)];}return{...a['Tools']['deepClone'](_0x223364),'mutations':[_0xf57e00]};}[_0xbb724d(0x38f)](_0x5dccc0){const _0x30a630=_0xbb724d,{unitID:_0xaab759}=_0x5dccc0,_0x356a87=this['_renderManagerService'][_0x30a630(0x1a1)](_0xaab759)[_0x30a630(0x10e)](J[_0x30a630(0x510)]),{undoCache:_0x388de4,redoCache:_0x48fb46}=_0x356a87[_0x30a630(0x3cd)]();if(_0x388de4[_0x30a630(0x2d9)]===0x0||_0x48fb46[_0x30a630(0x2d9)]===0x0)return;const _0x16b990=[],_0x46cee7=[];let _0x298d2d=a[_0x30a630(0x1fd)][_0x30a630(0x17e)](_0x5dccc0[_0x30a630(0x374)][0x0]),_0xc8681a=a[_0x30a630(0x1fd)][_0x30a630(0x17e)](_0x5dccc0[_0x30a630(0x374)][0x0]);for(let _0x508373=_0x388de4[_0x30a630(0x2d9)]-0x1;_0x508373>=0x0;_0x508373--){const _0x464929={'id':_0x30a630(0xc4),'params':{..._0x388de4[_0x508373]}},_0x4940c4={'id':'doc.mutation.rich-text-editing','params':{..._0x48fb46[_0x508373]}},_0x3adb73=this[_0x30a630(0x522)]['transformMutation'](_0x298d2d,_0x464929,!0x1),_0xf378f9=this[_0x30a630(0x522)][_0x30a630(0x4b2)](_0xc8681a,_0x4940c4,!0x1);if(p['isTransformMutationFailure'](_0x3adb73))throw _0x3adb73[_0x30a630(0x1d8)];if(p[_0x30a630(0x32e)](_0xf378f9))throw _0xf378f9[_0x30a630(0x1d8)];_0x16b990[_0x30a630(0x239)](_0x3adb73[_0x30a630(0x3ff)][_0x30a630(0x1be)]),_0x46cee7[_0x30a630(0x239)](_0xf378f9[_0x30a630(0x3ff)]['params']),_0x298d2d=_0x3adb73['m1Prime'],_0xc8681a=_0xf378f9[_0x30a630(0x35e)];}_0x356a87[_0x30a630(0x42a)]({'undoCache':_0x16b990,'redoCache':_0x46cee7});}[_0xbb724d(0x84)](_0x1231fe){const _0x46d9d1=_0xbb724d,{unitID:_0x240ff8}=_0x1231fe,_0x3ecc80=this[_0x46d9d1(0x529)][_0x46d9d1(0x1a1)](_0x240ff8)[_0x46d9d1(0x10e)](J[_0x46d9d1(0x510)]),_0x1a0e20=_0x3ecc80['getActiveRange']();if(_0x1a0e20==null)return;const _0x2a8a7e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1231fe[_0x46d9d1(0x447)],'actions':null,'textRanges':[_0x1a0e20]}}],_0x1cf565=this['_transformService'][_0x46d9d1(0x118)](_0x1231fe,_0x2a8a7e);if(!p[_0x46d9d1(0x427)](_0x1cf565))throw _0x1cf565[_0x46d9d1(0x1d8)];const _0x52393a=_0x1cf565[_0x46d9d1(0x3ff)][0x0][_0x46d9d1(0x1be)]['textRanges'];Array[_0x46d9d1(0x99)](_0x52393a)&&_0x52393a[_0x46d9d1(0x2d9)]&&_0x3ecc80[_0x46d9d1(0x471)](_0x52393a[0x0]);}};Be=bn([Qe(0x0,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),Qe(0x1,p[_0xbb724d(0x525)]),Qe(0x2,K[_0xbb724d(0xf6)])],Be);var Tn=Object['defineProperty'],Rn=Object[_0xbb724d(0x13d)],yn=(_0x5d38a3,_0x4952d2,_0xc494,_0x576de1)=>{const _0x5044d0=_0xbb724d;for(var _0x35b48f=_0x576de1>0x1?void 0x0:_0x576de1?Rn(_0x4952d2,_0xc494):_0x4952d2,_0x2439a1=_0x5d38a3[_0x5044d0(0x2d9)]-0x1,_0x2a478c;_0x2439a1>=0x0;_0x2439a1--)(_0x2a478c=_0x5d38a3[_0x2439a1])&&(_0x35b48f=(_0x576de1?_0x2a478c(_0x4952d2,_0xc494,_0x35b48f):_0x2a478c(_0x35b48f))||_0x35b48f);return _0x576de1&&_0x35b48f&&Tn(_0x4952d2,_0xc494,_0x35b48f),_0x35b48f;},we=(_0x227993,_0x50b509)=>(_0x4af771,_0x5345a2)=>_0x50b509(_0x4af771,_0x5345a2,_0x227993);exports[_0xbb724d(0x1d9)]=class extends a[_0xbb724d(0x4cb)]{constructor(_0x2d615f,_0x59176e,_0x15b5c7,_0x545f90,_0x1bd0f2){const _0x1b42ae=_0xbb724d;super(),I(this,_0x1b42ae(0x2c8),new Map()),I(this,'_saveTaskMap',new Map()),I(this,'_disabled',!0x1),(this[_0x1b42ae(0xe6)]=_0x2d615f,this['_localStorageService']=_0x59176e,this[_0x1b42ae(0x53a)]=_0x15b5c7,this['_localeService']=_0x545f90,this[_0x1b42ae(0x40e)]=_0x1bd0f2,this[_0x1b42ae(0x223)]());}[_0xbb724d(0x38e)](){const _0x30c32b=_0xbb724d;this[_0x30c32b(0x18c)]=!0x0;}[_0xbb724d(0x302)](){const _0x12a00a=_0xbb724d;this[_0x12a00a(0x18c)]=!0x1;}[_0xbb724d(0x16a)](){const _0x1f4cf3=_0xbb724d;this[_0x1f4cf3(0x3a5)]()[_0x1f4cf3(0x161)](()=>super[_0x1f4cf3(0x16a)]());}async['loadOfflineData'](_0x26938a){const _0x506043=_0xbb724d;return this[_0x506043(0x18c)]?null:this['_localStorageService'][_0x506043(0x4d5)](Lt(_0x26938a));}async[_0xbb724d(0x468)](_0x10512c,_0x17c0f8){const _0x4fc76f=_0xbb724d;return!!this[_0x4fc76f(0x490)][_0x4fc76f(0x30b)](_0x10512c,_0x17c0f8);}['updateOfflineData'](_0x640346,_0x4cb3e0,_0x41e72d,_0x2f71ba){const _0x52e09e=_0xbb724d,_0x466282=this['_revisionService']['getCurrentRevOfUnit'](_0x640346);this['_cachedData'][_0x52e09e(0x117)](_0x640346,{'unitID':_0x640346,'type':_0x4cb3e0,'awaitingChangeset':_0x41e72d,'mutations':_0x2f71ba,'rev':_0x466282}),this[_0x52e09e(0x315)][_0x52e09e(0x4cd)](_0x640346)||this['_scheduleSaving'](_0x640346);}[_0xbb724d(0x334)](_0x10cbca){const _0x2dbda8=_0xbb724d,_0x20b9ac=this[_0x2dbda8(0x135)]();_0x20b9ac===0x0?this[_0x2dbda8(0x87)](_0x10cbca):this['_saveTaskMap'][_0x2dbda8(0x117)](_0x10cbca,setTimeout(()=>this['_saveCache'](_0x10cbca),_0x20b9ac));}['_getSaveTimeout'](){const _0x176248=_0xbb724d;var _0x340882;return(_0x340882=this[_0x176248(0xe6)]['getConfig'](ci))!=null?_0x340882:zi;}[_0xbb724d(0x87)](_0x214d3e){const _0x172f05=_0xbb724d,_0x1cbef2=this['_saveTaskMap']['get'](_0x214d3e);return _0x1cbef2!==void 0x0&&window[_0x172f05(0x4a1)](_0x1cbef2),this[_0x172f05(0x490)][_0x172f05(0x30b)](Lt(_0x214d3e),this[_0x172f05(0x2c8)][_0x172f05(0x2c9)](_0x214d3e))['then'](()=>this['_saveTaskMap'][_0x172f05(0x1e6)](_0x214d3e));}async[_0xbb724d(0x3a5)](){const _0x3e13a5=_0xbb724d,_0x4a6589=[];this[_0x3e13a5(0x315)]['forEach']((_0x46d9ce,_0x1641cd)=>{const _0x5f4a2c=_0x3e13a5;window[_0x5f4a2c(0x4a1)](_0x46d9ce),_0x4a6589[_0x5f4a2c(0x221)](this[_0x5f4a2c(0x87)](_0x1641cd)[_0x5f4a2c(0x161)](()=>{const _0x1132eb=_0x5f4a2c;this[_0x1132eb(0x315)][_0x1132eb(0x1e6)](_0x1641cd);}));}),await Promise[_0x3e13a5(0xd2)](_0x4a6589);}[_0xbb724d(0x223)](){const _0x21fe76=_0xbb724d;this[_0x21fe76(0x2ad)](this['_beforeCloseService'][_0x21fe76(0x4f5)](()=>{const _0x186ba9=_0x21fe76;if(this[_0x186ba9(0x315)][_0x186ba9(0x4a6)])return this[_0x186ba9(0x4f9)]['t'](_0x186ba9(0x14e));}));}},exports['LocalCacheService']=yn([we(0x0,a['IConfigService']),we(0x1,a['ILocalStorageService']),we(0x2,te[_0xbb724d(0x159)]),we(0x3,a[_0xbb724d(0x271)](a[_0xbb724d(0x2a7)])),we(0x4,a[_0xbb724d(0x271)](p[_0xbb724d(0x46f)]))],exports[_0xbb724d(0x1d9)]);function Lt(_0x1e4cb5){const _0x23eee9=_0xbb724d;return _0x23eee9(0x4f4)+_0x1e4cb5;}var On=Object[_0xbb724d(0x164)],Dn=Object[_0xbb724d(0x13d)],Pn=(_0x382111,_0x206642,_0x3a3521,_0x3b6777)=>{const _0x2286f2=_0xbb724d;for(var _0x5b023d=_0x3b6777>0x1?void 0x0:_0x3b6777?Dn(_0x206642,_0x3a3521):_0x206642,_0x3edad3=_0x382111[_0x2286f2(0x2d9)]-0x1,_0x252d32;_0x3edad3>=0x0;_0x3edad3--)(_0x252d32=_0x382111[_0x3edad3])&&(_0x5b023d=(_0x3b6777?_0x252d32(_0x206642,_0x3a3521,_0x5b023d):_0x252d32(_0x5b023d))||_0x5b023d);return _0x3b6777&&_0x5b023d&&On(_0x206642,_0x3a3521,_0x5b023d),_0x5b023d;},et=(_0x3ef7bd,_0x53b9b0)=>(_0x4ce3a0,_0xb9de0d)=>_0x53b9b0(_0x4ce3a0,_0xb9de0d,_0x3ef7bd);function wn(_0x4101f7){const _0x576fe=_0xbb724d,{unitID:_0x24e8d2,mutations:_0x5a6691}=_0x4101f7;return{'unitId':_0x24e8d2,'subUnitId':_0x5a6691[0x0]['params'][_0x576fe(0x375)]};}let ke=class{constructor(_0x4f0d27,_0x2f1abc,_0x380c2d){const _0x3a4391=_0xbb724d;this[_0x3a4391(0x299)]=_0x4f0d27,this[_0x3a4391(0x522)]=_0x2f1abc,this[_0x3a4391(0x123)]=_0x380c2d;}[_0xbb724d(0x1e7)](_0x26540e){const _0x2697a6=_0xbb724d;var _0x151893,_0x3ee202,_0x15fd05,_0x4d99a4;const _0x4104db=this[_0x2697a6(0x299)][_0x2697a6(0x2c9)](k[_0x2697a6(0x516)]),{unitId:_0x26bb79,subUnitId:_0xab7ae1}=wn(_0x26540e),_0x1b01c2=_0x4104db['getWorkbookSelections'](_0x26bb79)[_0x2697a6(0xc1)](),_0xb325e3=(_0x3ee202=(_0x151893=this[_0x2697a6(0x123)][_0x2697a6(0x26a)](_0x26bb79))==null?void 0x0:_0x151893[_0x2697a6(0x42e)]())==null?void 0x0:_0x3ee202[_0x2697a6(0x17a)]();if(_0x1b01c2[_0x2697a6(0x2d9)]===0x0||!_0x26bb79||!_0xab7ae1)return;const _0x1ad822=[{'id':k[_0x2697a6(0x2a2)]['id'],'params':{'unitId':_0x26bb79,'subUnitId':_0xb325e3,'selections':a[_0x2697a6(0x1fd)]['deepClone'](_0x1b01c2)}}],_0x213ec3=this[_0x2697a6(0x522)][_0x2697a6(0x118)](_0x26540e,_0x1ad822);if(!p['isTransformMutationsWithChangesetSuccess'](_0x213ec3))throw _0x213ec3['error'];const _0xcfc9a8=(_0x4d99a4=(_0x15fd05=_0x213ec3[_0x2697a6(0x3ff)][0x0])==null?void 0x0:_0x15fd05['params'])==null?void 0x0:_0x4d99a4[_0x2697a6(0x3df)];if(Array['isArray'](_0xcfc9a8)&&_0xcfc9a8[_0x2697a6(0x2d9)]){if(_0xcfc9a8[_0x2697a6(0x2d9)]===_0x1ad822[0x0][_0x2697a6(0x1be)][_0x2697a6(0x3df)][_0x2697a6(0x2d9)]&&_0xcfc9a8[_0x2697a6(0xab)]((_0x1df26f,_0x95669d)=>a[_0x2697a6(0x348)][_0x2697a6(0x320)](_0x1df26f[_0x2697a6(0x2f0)],_0x1ad822[0x0][_0x2697a6(0x1be)][_0x2697a6(0x3df)][_0x95669d][_0x2697a6(0x2f0)])))return;this['_injector']['get'](a[_0x2697a6(0x39a)])[_0x2697a6(0x231)](k['SetSelectionsOperation']['id'],{'unitId':_0x26bb79,'subUnitId':_0xb325e3,'selections':_0xcfc9a8});}}};ke=Pn([et(0x0,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),et(0x1,p[_0xbb724d(0x525)]),et(0x2,a[_0xbb724d(0x4c0)])],ke);const ze=a[_0xbb724d(0x4a3)](_0xbb724d(0x4bf));var vi=(_0x3c5c04=>(_0x3c5c04[_0x3c5c04[_0xbb724d(0x445)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3c5c04[_0x3c5c04[_0xbb724d(0x339)]=0x1]='OTHER_CLIENTS_EDITING',_0x3c5c04))(vi||{});const xt=0x7530,jt=_0xbb724d(0x1d1);class Un extends a[_0xbb724d(0x4cb)]{constructor(){const _0x936dab=_0xbb724d;super(),I(this,_0x936dab(0x136),a['Tools'][_0x936dab(0x26d)]()),I(this,_0x936dab(0x3d0),new Set()),I(this,_0x936dab(0x20f),new Map()),I(this,_0x936dab(0x127),null),I(this,_0x936dab(0x45f),new Map()),I(this,'_unitStatus',new Map()),this[_0x936dab(0x3ab)]();}[_0xbb724d(0x16a)](){const _0x126656=_0xbb724d;super['dispose'](),this[_0x126656(0x45f)][_0x126656(0x53b)]((_0x2af2f9,_0xf784fe)=>this[_0x126656(0x364)](_0xf784fe)),this[_0x126656(0x127)]&&window['clearInterval'](this[_0x126656(0x127)]);}[_0xbb724d(0xe2)](_0x3a1588){const _0x1b6d96=_0xbb724d;return this[_0x1b6d96(0x440)](_0x3a1588)['pipe'](A['distinctUntilChanged']());}[_0xbb724d(0x2dd)](_0x226647){const _0x46b62c=_0xbb724d;this['_selfUnitIDs'][_0x46b62c(0x4a6)]===0x0&&this[_0x46b62c(0x240)](),this[_0x46b62c(0x3d0)][_0x46b62c(0x404)](_0x226647),this['_send']({'type':0x0,'memberID':this[_0x46b62c(0x136)],'unitIDs':[_0x226647],'isForwarded':!0x1});}[_0xbb724d(0x27a)](_0x5dae96){const _0x26cb0d=_0xbb724d;this[_0x26cb0d(0x3d0)][_0x26cb0d(0x1e6)](_0x5dae96),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x26cb0d(0x3e6)](this[_0x26cb0d(0x127)]);}[_0xbb724d(0x3ab)](){const _0x3837d5=_0xbb724d;this['disposeWithMe'](a[_0x3837d5(0x2b7)](A['fromEvent'](window,_0x3837d5(0x43a))[_0x3837d5(0x2ae)](_0x2527fc=>{const _0x412e70=_0x3837d5;if(_0x2527fc[_0x412e70(0x224)]!==jt||!_0x2527fc[_0x412e70(0x27b)])return;const _0x2cae8a=JSON[_0x412e70(0x2bd)](_0x2527fc[_0x412e70(0x27b)]);this[_0x412e70(0x1c8)](_0x2cae8a);}))),window[_0x3837d5(0x8a)](_0x3837d5(0x534),()=>this['_send']({'type':0x1,'memberID':this[_0x3837d5(0x136)],'unitIDs':Array['from'](this[_0x3837d5(0x3d0)])}));}[_0xbb724d(0x1c8)](_0x607f94){const _0x2cb05a=_0xbb724d;switch(_0x607f94['type']){case 0x0:this[_0x2cb05a(0x110)](_0x607f94);break;case 0x1:this[_0x2cb05a(0x448)](_0x607f94);break;case 0x2:this[_0x2cb05a(0x4c4)](_0x607f94);break;}}[_0xbb724d(0x110)](_0x1d37e8){const _0x252787=_0xbb724d,{unitIDs:_0x50a052,memberID:_0x49a0ce,isForwarded:_0x3f045b}=_0x1d37e8;_0x50a052[_0x252787(0x53b)](_0x4bff72=>{const _0x66acb6=_0x252787;if(!_0x3f045b&&this[_0x66acb6(0x20f)]['has'](_0x4bff72)&&this['_ensureSubject'](_0x4bff72)[_0x66acb6(0x32a)](0x1),!this[_0x66acb6(0x20f)][_0x66acb6(0x4cd)](_0x4bff72)||!this[_0x66acb6(0x20f)]['get'](_0x4bff72)[_0x66acb6(0x4cd)](_0x49a0ce)){const _0x1a512b=this[_0x66acb6(0x20f)][_0x66acb6(0x2c9)](_0x4bff72)||new Set();_0x1a512b[_0x66acb6(0x404)](_0x49a0ce),this['_unitOnClients'][_0x66acb6(0x117)](_0x4bff72,_0x1a512b),this[_0x66acb6(0x322)](_0x49a0ce);}}),_0x3f045b||this[_0x252787(0x22f)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x252787(0x3d0)]],'isForwarded':!0x0});}[_0xbb724d(0x322)](_0x435c15){const _0x47d580=_0xbb724d;this[_0x47d580(0x364)](_0x435c15);const _0x4c569f=window[_0x47d580(0x31c)](()=>{const _0x44cec4=_0x47d580;this[_0x44cec4(0x20f)][_0x44cec4(0x53b)](_0x3c32b4=>{const _0x35f189=_0x44cec4;_0x3c32b4[_0x35f189(0x1e6)](_0x435c15);});},xt*0x2);this[_0x47d580(0x45f)]['set'](_0x435c15,_0x4c569f);}[_0xbb724d(0x364)](_0x29f2ce){const _0x9082f=_0xbb724d;if(this['_clearOtherTimers'][_0x9082f(0x4cd)](_0x29f2ce)){const _0x3e828d=this[_0x9082f(0x45f)][_0x9082f(0x2c9)](_0x29f2ce);_0x3e828d&&window[_0x9082f(0x4a1)](_0x3e828d),this['_clearOtherTimers'][_0x9082f(0x117)](_0x29f2ce,null);}}[_0xbb724d(0x448)](_0x45efb9){const _0x5ae7eb=_0xbb724d,{memberID:_0x2d635c,unitIDs:_0x2ab593}=_0x45efb9;_0x2ab593[_0x5ae7eb(0x53b)](_0x1678d8=>{const _0x58c558=_0x5ae7eb;var _0x2d4c2c;const _0x21cf3b=this[_0x58c558(0x20f)][_0x58c558(0x2c9)](_0x1678d8);_0x21cf3b&&(_0x21cf3b['delete'](_0x2d635c),(_0x2d4c2c=this[_0x58c558(0x440)](_0x1678d8))==null||_0x2d4c2c['next'](_0x21cf3b['size']===0x0?0x0:0x1));}),this[_0x5ae7eb(0x364)](_0x2d635c);}[_0xbb724d(0x4c4)](_0x379412){const _0xa90402=_0xbb724d;this[_0xa90402(0x322)](_0x379412[_0xa90402(0x3f8)]);}[_0xbb724d(0x22f)](_0x2e437a){const _0x1b5ff2=_0xbb724d;localStorage['setItem'](jt,JSON[_0x1b5ff2(0x44f)](_0x2e437a));}[_0xbb724d(0x240)](){const _0x56fc89=_0xbb724d;this[_0x56fc89(0x127)]=window[_0x56fc89(0x41c)](()=>{const _0x14005e=_0x56fc89;this[_0x14005e(0x22f)]({'type':0x2,'memberID':this['_id']});},xt);}['_ensureSubject'](_0x4a04ce){const _0x4a2b51=_0xbb724d;return this[_0x4a2b51(0x100)][_0x4a2b51(0x4cd)](_0x4a04ce)||this[_0x4a2b51(0x100)]['set'](_0x4a04ce,new A[(_0x4a2b51(0x11e))](0x0)),this[_0x4a2b51(0x100)]['get'](_0x4a04ce);}}var Mn=Object[_0xbb724d(0x164)],An=Object['getOwnPropertyDescriptor'],Nn=(_0x31165e,_0x5f5c05,_0x480953,_0x31684c)=>{const _0x5b1012=_0xbb724d;for(var _0xe21e35=_0x31684c>0x1?void 0x0:_0x31684c?An(_0x5f5c05,_0x480953):_0x5f5c05,_0x279a46=_0x31165e[_0x5b1012(0x2d9)]-0x1,_0x49d83d;_0x279a46>=0x0;_0x279a46--)(_0x49d83d=_0x31165e[_0x279a46])&&(_0xe21e35=(_0x31684c?_0x49d83d(_0x5f5c05,_0x480953,_0xe21e35):_0x49d83d(_0xe21e35))||_0xe21e35);return _0x31684c&&_0xe21e35&&Mn(_0x5f5c05,_0x480953,_0xe21e35),_0xe21e35;},tt=(_0x439707,_0x487491)=>(_0x24cfe3,_0x1ae165)=>_0x487491(_0x24cfe3,_0x1ae165,_0x439707);let We=class{constructor(_0x6a94c8,_0x5907ff,_0x48f96c){const _0x3d2bb6=_0xbb724d;this[_0x3d2bb6(0x299)]=_0x6a94c8,this[_0x3d2bb6(0x522)]=_0x5907ff,this['_docStateChangeManagerService']=_0x48f96c;}[_0xbb724d(0x183)](_0x1777af){const _0x36bb83=_0xbb724d;this[_0x36bb83(0xae)](_0x1777af);}['transformRemoteChangeset'](_0x5c5ff9){const _0x1202de=_0xbb724d,{unitID:_0x2776bf}=_0x5c5ff9,{collaboration:_0x187127}=this[_0x1202de(0x1dd)]['getStateCache'](_0x2776bf);if(_0x187127[_0x1202de(0x2d9)]===0x0)return _0x5c5ff9;let _0x99c45c=a[_0x1202de(0x1fd)][_0x1202de(0x17e)](_0x5c5ff9[_0x1202de(0x374)][0x0]);for(let _0x31e72e=0x0;_0x31e72e<_0x187127['length'];_0x31e72e++){const _0x400ef9={'id':_0x1202de(0xc4),'params':{'unitId':_0x187127[_0x31e72e][_0x1202de(0x4a0)],..._0x187127[_0x31e72e]['redoState']}},_0x2369e3=this['_transformService'][_0x1202de(0x4b2)](_0x99c45c,_0x400ef9,!0x1);if(p['isTransformMutationFailure'](_0x2369e3))throw _0x2369e3['error'];_0x99c45c=_0x2369e3['m1Prime'];}return{...a[_0x1202de(0x1fd)][_0x1202de(0x17e)](_0x5c5ff9),'mutations':[_0x99c45c]};}['_transformHistoryAndStateStack'](_0x5cfa1e){const _0x50d1ca=_0xbb724d,{unitID:_0x470302}=_0x5cfa1e,{history:_0x18e5ac,collaboration:_0x55f5e9}=this[_0x50d1ca(0x1dd)][_0x50d1ca(0x1d2)](_0x470302);if(_0x18e5ac[_0x50d1ca(0x2d9)]===0x0&&_0x55f5e9[_0x50d1ca(0x2d9)]===0x0)return;const _0x1fde47=[],_0x1a2762=[];let _0x88fb28=a['Tools'][_0x50d1ca(0x17e)](_0x5cfa1e[_0x50d1ca(0x374)][0x0]),_0x537da5=a[_0x50d1ca(0x1fd)][_0x50d1ca(0x17e)](_0x5cfa1e['mutations'][0x0]);for(let _0x1c05af=_0x18e5ac['length']-0x1;_0x1c05af>=0x0;_0x1c05af--){const _0x5d0c17={'id':_0x50d1ca(0xc4),'params':{'unitId':_0x18e5ac[_0x1c05af]['unitId'],..._0x18e5ac[_0x1c05af]['undoState']}},_0x5032e2={'id':_0x50d1ca(0xc4),'params':{'unitId':_0x18e5ac[_0x1c05af][_0x50d1ca(0x4a0)],..._0x18e5ac[_0x1c05af][_0x50d1ca(0x8e)]}},_0x55b90a=this[_0x50d1ca(0x522)][_0x50d1ca(0x4b2)](_0x88fb28,_0x5d0c17,!0x1),_0x3c7a10=this[_0x50d1ca(0x522)][_0x50d1ca(0x4b2)](_0x537da5,_0x5032e2,!0x1);if(p[_0x50d1ca(0x32e)](_0x55b90a))throw _0x55b90a[_0x50d1ca(0x1d8)];if(p['isTransformMutationFailure'](_0x3c7a10))throw _0x3c7a10[_0x50d1ca(0x1d8)];_0x1fde47[_0x50d1ca(0x239)]({..._0x18e5ac[_0x1c05af],'undoState':_0x55b90a[_0x50d1ca(0x3ff)][_0x50d1ca(0x1be)],'redoState':_0x3c7a10[_0x50d1ca(0x3ff)][_0x50d1ca(0x1be)]}),_0x88fb28=_0x55b90a[_0x50d1ca(0x35e)],_0x537da5=_0x3c7a10[_0x50d1ca(0x35e)];}_0x88fb28=a['Tools'][_0x50d1ca(0x17e)](_0x5cfa1e['mutations'][0x0]),_0x537da5=a[_0x50d1ca(0x1fd)][_0x50d1ca(0x17e)](_0x5cfa1e['mutations'][0x0]);for(let _0x59a4fc=_0x55f5e9[_0x50d1ca(0x2d9)]-0x1;_0x59a4fc>=0x0;_0x59a4fc--){const _0xf82e57={'id':_0x50d1ca(0xc4),'params':{'unitId':_0x55f5e9[_0x59a4fc][_0x50d1ca(0x4a0)],..._0x55f5e9[_0x59a4fc][_0x50d1ca(0x280)]}},_0x1c1e0d={'id':_0x50d1ca(0xc4),'params':{'unitId':_0x55f5e9[_0x59a4fc]['unitId'],..._0x55f5e9[_0x59a4fc]['redoState']}},_0x4c3387=this[_0x50d1ca(0x522)][_0x50d1ca(0x4b2)](_0x88fb28,_0xf82e57,!0x1),_0x512fcc=this[_0x50d1ca(0x522)]['transformMutation'](_0x537da5,_0x1c1e0d,!0x1);if(p[_0x50d1ca(0x32e)](_0x4c3387))throw _0x4c3387['error'];if(p['isTransformMutationFailure'](_0x512fcc))throw _0x512fcc[_0x50d1ca(0x1d8)];_0x1a2762[_0x50d1ca(0x239)]({..._0x55f5e9[_0x59a4fc],'undoState':_0x4c3387[_0x50d1ca(0x3ff)][_0x50d1ca(0x1be)],'redoState':_0x512fcc['m2Prime'][_0x50d1ca(0x1be)]}),_0x88fb28=_0x4c3387[_0x50d1ca(0x35e)],_0x537da5=_0x512fcc['m1Prime'];}this[_0x50d1ca(0x1dd)]['setStateCache'](_0x470302,{'history':_0x1fde47,'collaboration':_0x1a2762});}};We=Nn([tt(0x0,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),tt(0x1,p[_0xbb724d(0x525)]),tt(0x2,a['Inject'](J[_0xbb724d(0x424)]))],We);function Si(_0x5cdf21){const _0x4426d9=_0xbb724d;let _0x4fcdf7='';for(const _0x56375d of _0x5cdf21){const {startOffset:_0x1c8232,endOffset:_0x26ebf2,isActive:_0x327695,rangeType:_0x2b2cbc,segmentId:_0x157371,segmentPage:_0xdeb4ba}=_0x56375d;_0x4fcdf7[_0x4426d9(0x2d9)]&&(_0x4fcdf7+=','),_0x4fcdf7+=_0x1c8232+':'+_0x26ebf2+':'+(_0x327695?'1':'0')+':'+_0x2b2cbc+':'+_0x157371+':'+_0xdeb4ba;}return _0x4fcdf7;}function Ln(_0x482426){const _0x2fde53=_0xbb724d,_0x48dd14=_0x482426['split'](','),_0x52e74c=[];for(const _0x4a90ab of _0x48dd14){const [_0x91ad90,_0x5e5486,_0x10f145,_0x15f7cf,_0xfbf5fe,_0x1120e0]=_0x4a90ab['split'](':');_0x52e74c[_0x2fde53(0x221)]({'startOffset':Number(_0x91ad90),'endOffset':Number(_0x5e5486),'collapsed':_0x91ad90===_0x5e5486,'isActive':_0x10f145==='1','rangeType':_0x15f7cf===a['DOC_RANGE_TYPE'][_0x2fde53(0xd4)]?a['DOC_RANGE_TYPE'][_0x2fde53(0xd4)]:a[_0x2fde53(0x2fe)][_0x2fde53(0x2ea)],'segmentId':typeof _0xfbf5fe==_0x2fde53(0x1eb)?String(_0xfbf5fe):'','segmentPage':Number(_0x1120e0!=null?_0x1120e0:-0x1)});}return _0x52e74c[_0x2fde53(0xea)](_0x361a5f=>_0x361a5f[_0x2fde53(0x435)])||(_0x52e74c[0x0][_0x2fde53(0x435)]=!0x0),_0x52e74c;}class yt extends a[_0xbb724d(0x2fb)]{constructor(){const _0x3e4be3=_0xbb724d;super(...arguments),I(this,'_collabCursorState$',new A[(_0x3e4be3(0x11e))](null)),I(this,_0x3e4be3(0x151),this[_0x3e4be3(0xb2)]['asObservable']());}[_0xbb724d(0x313)](_0x5396ae){const {unitID:_0x236fe6,memberID:_0x1d4575,textRanges:_0x5e85be}=_0x5396ae,_0x7aeabe=Si(_0x5e85be);if(_0x7aeabe==='')return;const _0x10a9e1={'unitID':_0x236fe6,'memberID':_0x1d4575,'selection':_0x7aeabe};this['_collabCursorState$']['next'](_0x10a9e1);}}var xn=Object['defineProperty'],jn=Object[_0xbb724d(0x13d)],$n=(_0x19949d,_0x20f6c1,_0xd5bef4,_0x46126c)=>{for(var _0x3d3c8f=_0x46126c>0x1?void 0x0:_0x46126c?jn(_0x20f6c1,_0xd5bef4):_0x20f6c1,_0x2196fc=_0x19949d['length']-0x1,_0x41f9d2;_0x2196fc>=0x0;_0x2196fc--)(_0x41f9d2=_0x19949d[_0x2196fc])&&(_0x3d3c8f=(_0x46126c?_0x41f9d2(_0x20f6c1,_0xd5bef4,_0x3d3c8f):_0x41f9d2(_0x3d3c8f))||_0x3d3c8f);return _0x46126c&&_0x3d3c8f&&xn(_0x20f6c1,_0xd5bef4,_0x3d3c8f),_0x3d3c8f;},$t=(_0x51f20f,_0x424e0f)=>(_0x170d9c,_0x5b027d)=>_0x424e0f(_0x170d9c,_0x5b027d,_0x51f20f);let Fe=class{constructor(_0x487a4a,_0x3e1fe0){const _0x1bc956=_0xbb724d;this[_0x1bc956(0x299)]=_0x487a4a,this[_0x1bc956(0x522)]=_0x3e1fe0;}['transformSelections'](_0x385ea3){const _0x27aafe=_0xbb724d;var _0x1bacf9;const _0x2337a3=this[_0x27aafe(0x299)]['get'](Ie[_0x27aafe(0x266)]),_0x182fce=(_0x1bacf9=_0x2337a3[_0x27aafe(0x29c)]())!=null?_0x1bacf9:[];if(_0x182fce[_0x27aafe(0x2d9)]===0x0)return;const _0x448aa9=_0x385ea3[_0x27aafe(0x447)],_0x5b0599=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x448aa9,'actions':null,'textRanges':_0x182fce}}],_0x416d44=this[_0x27aafe(0x522)][_0x27aafe(0x118)](_0x385ea3,_0x5b0599);if(!p[_0x27aafe(0x427)](_0x416d44))throw _0x416d44[_0x27aafe(0x1d8)];const _0xa4582a=_0x416d44[_0x27aafe(0x3ff)][0x0][_0x27aafe(0x1be)][_0x27aafe(0x2b4)];Array[_0x27aafe(0x99)](_0xa4582a)&&_0xa4582a['length']&&_0x2337a3[_0x27aafe(0x473)](_0xa4582a,{'unitId':_0x448aa9,'subUnitId':_0x448aa9},!0x1);}};Fe=$n([$t(0x0,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),$t(0x1,p['ITransformService'])],Fe);const Hn=new Set([k['InsertSheetMutation']['id']]);function Ht(_0x277177,_0x1b391a,_0xf0b758,_0x10da9f,_0x466204){const _0x5ea962=_0xbb724d;var _0x28232f,_0x44876f,_0x1aa127,_0x30d33d;const _0xacf4d5=[];for(const _0x1da3e1 of _0x277177)if(Hn[_0x5ea962(0x4cd)](_0x1da3e1['id'])){if(_0xacf4d5[_0x5ea962(0x2d9)]>0x0)break;_0xacf4d5[_0x5ea962(0x221)](_0x1da3e1);break;}else _0xacf4d5[_0x5ea962(0x221)](_0x1da3e1);const _0x515546=(_0x44876f=(_0x28232f=_0x466204[_0x5ea962(0xb9)]())==null?void 0x0:_0x28232f[_0x5ea962(0x51d)])!=null?_0x44876f:_0x5ea962(0x246),_0x548c27=(_0x30d33d=(_0x1aa127=_0x466204[_0x5ea962(0xb9)]())==null?void 0x0:_0x1aa127[_0x5ea962(0x3f8)])!=null?_0x30d33d:_0x5ea962(0x246);return{'changeset':{'unitID':_0x1b391a,'type':p[_0x5ea962(0x12e)](_0xf0b758[_0x5ea962(0x85)](_0x1b391a)),'baseRev':_0x10da9f[_0x5ea962(0xff)](_0x1b391a),'revision':0x0,'userID':_0x515546,'memberID':_0x548c27,'mutations':_0xacf4d5},'pendingMutations':_0x277177['slice'](_0xacf4d5['length'])};}function Bn(_0x3b4a51,_0x60c0b3,_0x14e815,_0x323df3,_0x2bb44e){const _0x10ac93=_0xbb724d;var _0x3b8251,_0x44c760,_0x4d3df0,_0x1e9198;const _0x356042=[_0x3b4a51[_0x10ac93(0x139)]((_0x348c6c,_0x5ab2fc)=>{const _0x4c9579=_0x10ac93;var _0x1c0266;const {id:_0x36e994}=_0x348c6c,{id:_0x590476,type:_0x5e1af6}=_0x5ab2fc,_0x73cb73=(_0x1c0266=_0x348c6c[_0x4c9579(0x1be)])!=null?_0x1c0266:{'actions':null},_0x3b6541=_0x5ab2fc[_0x4c9579(0x1be)];if(_0x36e994&&_0x36e994!==_0x590476)throw new Error(_0x4c9579(0x51b)+_0x36e994+_0x4c9579(0x278)+_0x590476+'.');return{..._0x348c6c,'id':_0x590476,'type':_0x5e1af6,'params':{'unitId':_0x3b6541[_0x4c9579(0x4a0)],'textRanges':_0x3b6541[_0x4c9579(0x2b4)],'actions':a[_0x4c9579(0x51f)][_0x4c9579(0x4a9)](_0x73cb73[_0x4c9579(0x1d5)],_0x3b6541[_0x4c9579(0x1d5)])}};},{})],_0x1d2a11=(_0x44c760=(_0x3b8251=_0x2bb44e[_0x10ac93(0xb9)]())==null?void 0x0:_0x3b8251['userID'])!=null?_0x44c760:'unknown',_0x8bd82f=(_0x1e9198=(_0x4d3df0=_0x2bb44e[_0x10ac93(0xb9)]())==null?void 0x0:_0x4d3df0[_0x10ac93(0x3f8)])!=null?_0x1e9198:'unknown';return{'changeset':{'unitID':_0x60c0b3,'type':p[_0x10ac93(0x12e)](_0x14e815[_0x10ac93(0x85)](_0x60c0b3)),'baseRev':_0x323df3[_0x10ac93(0xff)](_0x60c0b3),'revision':0x0,'userID':_0x1d2a11,'memberID':_0x8bd82f,'mutations':_0x356042},'pendingMutations':[]};}function pi(_0x33d8c7,_0x37019f){const _0x308c0a=_0xbb724d,_0x4baa42=new A[(_0x308c0a(0x2df))](0x1);return setTimeout(()=>_0x4baa42[_0x308c0a(0x32a)](_0x37019f),_0x33d8c7),_0x4baa42[_0x308c0a(0x14b)]()['pipe'](A[_0x308c0a(0x4de)](0x1));}const kn={'id':k[_0xbb724d(0x489)]['id'],'type':a[_0xbb724d(0x20d)][_0xbb724d(0x1f2)],'params':{}};var Wn=Object[_0xbb724d(0x164)],Fn=Object[_0xbb724d(0x13d)],Ee=(_0x403d1a,_0x1ea159,_0x9abf19,_0x2853f3)=>{for(var _0x21e693=_0x2853f3>0x1?void 0x0:_0x2853f3?Fn(_0x1ea159,_0x9abf19):_0x1ea159,_0x1cbb40=_0x403d1a['length']-0x1,_0x59bb0e;_0x1cbb40>=0x0;_0x1cbb40--)(_0x59bb0e=_0x403d1a[_0x1cbb40])&&(_0x21e693=(_0x2853f3?_0x59bb0e(_0x1ea159,_0x9abf19,_0x21e693):_0x59bb0e(_0x21e693))||_0x21e693);return _0x2853f3&&_0x21e693&&Wn(_0x1ea159,_0x9abf19,_0x21e693),_0x21e693;},N=(_0x455115,_0x253d61)=>(_0x56fe06,_0x4aa4f3)=>_0x253d61(_0x56fe06,_0x4aa4f3,_0x455115),q=(_0x72ffb9=>(_0x72ffb9[_0xbb724d(0x191)]=_0xbb724d(0xe8),_0x72ffb9[_0xbb724d(0x1bb)]='synced',_0x72ffb9[_0xbb724d(0x314)]=_0xbb724d(0x105),_0x72ffb9['AWAITING']=_0xbb724d(0x3fe),_0x72ffb9[_0xbb724d(0x4c6)]=_0xbb724d(0x229),_0x72ffb9['FETCH_MISS']=_0xbb724d(0x455),_0x72ffb9[_0xbb724d(0x43e)]=_0xbb724d(0x3ad),_0x72ffb9['OFFLINE']=_0xbb724d(0x49e),_0x72ffb9))(q||{});function _0x195f(_0xd06602,_0x17fe8a){const _0x27017c=_0x2701();return _0x195f=function(_0x195f57,_0x41cafc){_0x195f57=_0x195f57-0x84;let _0x37543b=_0x27017c[_0x195f57];return _0x37543b;},_0x195f(_0xd06602,_0x17fe8a);}const mi=0xea60;class be{constructor(_0xf6eb6e,_0x11fb18,_0x5346a7,_0x2a2da7,_0x5c9aca,_0x432cb7,_0x3b46ca,_0x52010c,_0x263829){const _0x5cfc54=_0xbb724d;I(this,_0x5cfc54(0x46b),null),I(this,_0x5cfc54(0x273),[]),(this['unitID']=_0xf6eb6e,this[_0x5cfc54(0x50f)]=_0x11fb18,this['_handler']=_0x5c9aca,this[_0x5cfc54(0x417)]=_0x432cb7,this[_0x5cfc54(0x488)]=_0x3b46ca,this[_0x5cfc54(0x40e)]=_0x52010c,this['_localCacheService']=_0x263829,this[_0x5cfc54(0x46b)]=_0x5346a7,this[_0x5cfc54(0x273)]=_0x2a2da7);}[_0xbb724d(0x459)](_0x45cc7f){const _0xb748b9=_0xbb724d,_0x1fae9d=this['_revisionService']['getCurrentRevOfUnit'](this[_0xb748b9(0x447)]);return _0x45cc7f[_0xb748b9(0x465)]>_0x1fae9d+0x1?(this['_handler']['onMissingChangesets']({'from':_0x1fae9d,'to':_0x45cc7f['revision']-0x1}),!0x0):!0x1;}[_0xbb724d(0x15a)](_0x460d4a){const _0x2d1292=_0xbb724d;this[_0x2d1292(0x488)][_0x2d1292(0x1a4)](this[_0x2d1292(0x447)],_0x460d4a);}[_0xbb724d(0x3e3)](_0x3644f7){const _0x308ad7=_0xbb724d;var _0x1f6dc3,_0x5908a0;(_0x5908a0=(_0x1f6dc3=this['_handler'])[_0x308ad7(0x2eb)])==null||_0x5908a0[_0x308ad7(0x24a)](_0x1f6dc3,_0x3644f7);}['_transformIMECache'](_0x487c61){const _0x1f900f=_0xbb724d;var _0x4d9c76,_0xf5b118;return(_0xf5b118=(_0x4d9c76=this[_0x1f900f(0x4db)])[_0x1f900f(0x47e)])==null?void 0x0:_0xf5b118[_0x1f900f(0x24a)](_0x4d9c76,_0x487c61);}[_0xbb724d(0x2f5)](_0x2b7f1f){const _0x21bca8=_0xbb724d;var _0x516c18,_0x21a9c1;return(_0x21a9c1=(_0x516c18=this[_0x21bca8(0x4db)])[_0x21bca8(0x347)])==null?void 0x0:_0x21a9c1[_0x21bca8(0x24a)](_0x516c18,_0x2b7f1f);}['_transformRemoteChangesetByIMECache'](_0x372fba){const _0x343cb2=_0xbb724d;var _0x28d28e,_0x35c91c,_0x7c92c9;return(_0x7c92c9=(_0x35c91c=(_0x28d28e=this[_0x343cb2(0x4db)])[_0x343cb2(0x226)])==null?void 0x0:_0x35c91c[_0x343cb2(0x24a)](_0x28d28e,_0x372fba))!=null?_0x7c92c9:_0x372fba;}['_transformRemoteChangesetByStateCache'](_0x2460c1){const _0x445b79=_0xbb724d;var _0x5d5d91,_0x5b350a,_0x5a7a89;return(_0x5a7a89=(_0x5b350a=(_0x5d5d91=this['_handler'])[_0x445b79(0x462)])==null?void 0x0:_0x5b350a[_0x445b79(0x24a)](_0x5d5d91,_0x2460c1))!=null?_0x5a7a89:_0x2460c1;}[_0xbb724d(0x276)](_0x44a069){const _0x24578c=_0xbb724d;var _0xbdbde1,_0x33ea8e;if(this[_0x24578c(0x50f)]===ne[_0x24578c(0x44c)]){const {unitID:_0x2517ab,mutations:_0xc95f7f,memberID:_0x5272f0}=_0x44a069,_0x4ea512=_0xc95f7f[0x0][_0x24578c(0x1be)][_0x24578c(0x2b4)];Array[_0x24578c(0x99)](_0x4ea512)&&_0x4ea512[_0x24578c(0x2d9)]>0x0&&((_0x33ea8e=(_0xbdbde1=this['_handler'])[_0x24578c(0x1de)])==null||_0x33ea8e[_0x24578c(0x24a)](_0xbdbde1,{'unitID':_0x2517ab,'memberID':_0x5272f0,'textRanges':_0x4ea512}));}}['_updateLocalCache'](){const _0x4500e1=_0xbb724d;this[_0x4500e1(0x4ba)][_0x4500e1(0x36f)](this[_0x4500e1(0x447)],this[_0x4500e1(0x50f)],this['_awaitingChangeset'],this[_0x4500e1(0x273)]);}[_0xbb724d(0x312)](){const _0x57993e=_0xbb724d;return this[_0x57993e(0x40e)][_0x57993e(0xff)](this[_0x57993e(0x447)]);}[_0xbb724d(0x3e0)](){const _0x196c5a=_0xbb724d;this[_0x196c5a(0x40e)][_0x196c5a(0x30a)](this[_0x196c5a(0x447)]);}['_executeRemoteChangeset'](_0x42bbd8){const _0x23115d=_0xbb724d;var _0x3495a0;let _0x204760=this['_transformRemoteChangesetByIMECache'](_0x42bbd8);_0x204760=this[_0x23115d(0x255)](_0x204760);const _0x2bf7de=a['sequenceExecute'](_0x204760[_0x23115d(0x374)],this[_0x23115d(0x417)],{'fromCollab':!0x0});if(!_0x2bf7de[_0x23115d(0x345)])throw _0x2bf7de[_0x23115d(0x1d8)]instanceof Error?_0x2bf7de['error']:new Error((_0x3495a0=_0x2bf7de[_0x23115d(0x1d8)])!=null?_0x3495a0:_0x23115d(0x23e));this['_transformIMECache'](_0x204760),this[_0x23115d(0x2f5)](_0x204760),this[_0x23115d(0x15a)](_0x42bbd8),this['_transformSelections'](_0x204760),this[_0x23115d(0x276)](_0x204760),this[_0x23115d(0x3e0)]();}}let Oe=class extends be{constructor(_0x3ea6b8,_0x155299,_0xf93d2b,_0x56ca33,_0x578fa5,_0x36fd0f,_0x5a5319,_0x3fc86a,_0x3b3c47,_0x310b2b){const _0x1b6c9b=_0xbb724d;super(_0x3ea6b8,_0x155299,null,[],_0xf93d2b,_0x3fc86a,_0x5a5319,_0x56ca33,_0x578fa5),I(this,_0x1b6c9b(0x19f),_0x1b6c9b(0x3a8)),(this[_0x1b6c9b(0x299)]=_0x36fd0f,this[_0x1b6c9b(0x1a3)]=_0x3b3c47,this['_transformService']=_0x310b2b);}[_0xbb724d(0x9f)](_0x18ad9e){const _0x5e093c=_0xbb724d,_0x44e2ed=this[_0x5e093c(0x299)][_0x5e093c(0x196)](ce,this[_0x5e093c(0x447)],this[_0x5e093c(0x50f)],[_0x18ad9e],this[_0x5e093c(0x4db)]);return _0x44e2ed[_0x5e093c(0x4e5)](),_0x44e2ed[_0x5e093c(0x4d6)](),_0x44e2ed;}['onRemoteChangeset'](_0x23f523){const _0x3820ba=_0xbb724d;if(this[_0x3820ba(0x459)](_0x23f523))return this[_0x3820ba(0x299)]['createInstance'](re,this['unitID'],this[_0x3820ba(0x50f)],null,[],null,[_0x23f523],this[_0x3820ba(0x4db)]);try{const _0x42d120=this[_0x3820ba(0x522)]['transformMutationsWithChangeset'](_0x23f523,[kn]);if(p[_0x3820ba(0x427)](_0x42d120)){const {c1Prime:_0x33e615}=_0x42d120;return this[_0x3820ba(0x121)](_0x33e615),this;}throw _0x42d120['error'];}catch(_0x405758){return this[_0x3820ba(0x1a3)]['error'](_0x405758),this[_0x3820ba(0x505)](!0x1);}}[_0xbb724d(0x505)](_0xb626c2){const _0x53a3df=_0xbb724d;return this[_0x53a3df(0x299)][_0x53a3df(0x196)](ve,this['unitID'],this['type'],null,[],this[_0x53a3df(0x4db)],_0xb626c2);}[_0xbb724d(0x1e5)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xbb724d(0x4ab)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xbb724d(0x3e2)](){return this;}['toggleOffline'](){const _0x32525e=_0xbb724d;return this['_injector'][_0x32525e(0x196)](Se,this[_0x32525e(0x447)],this[_0x32525e(0x50f)],null,[],this['_handler']);}[_0xbb724d(0x237)](){return this;}[_0xbb724d(0x44b)](){const _0x160bf5=_0xbb724d;throw new Error(_0x160bf5(0x4ed));}[_0xbb724d(0x33d)](){const _0x2d0178=_0xbb724d,_0x119a31=this[_0x2d0178(0x40e)][_0x2d0178(0xff)](this[_0x2d0178(0x447)]);return this['_handler'][_0x2d0178(0x40f)]({'from':_0x119a31,'to':0x0}),this[_0x2d0178(0x299)][_0x2d0178(0x196)](re,this[_0x2d0178(0x447)],this[_0x2d0178(0x50f)],null,[],null,[],this[_0x2d0178(0x4db)]);}};Oe=Ee([N(0x3,a[_0xbb724d(0x271)](p[_0xbb724d(0x46f)])),N(0x4,a[_0xbb724d(0x271)](exports[_0xbb724d(0x1d9)])),N(0x5,a[_0xbb724d(0x271)](a['Injector'])),N(0x6,a[_0xbb724d(0x301)]),N(0x7,a[_0xbb724d(0x39a)]),N(0x8,a['ILogService']),N(0x9,p['ITransformService'])],Oe);let ce=class extends be{constructor(_0x1eaaad,_0xd08202,_0x35d9c9,_0x2c602d,_0x30e93b,_0x1d384d,_0x1e7190,_0x410a47,_0x23f998,_0x11a6ba,_0x21e28c,_0x2580d8,_0x134912,_0x8ff86f){const _0x307730=_0xbb724d;super(_0x1eaaad,_0xd08202,null,_0x35d9c9,_0x2c602d,_0x11a6ba,_0x8ff86f,_0x1d384d,_0x1e7190),I(this,'status',_0x307730(0x105)),I(this,_0x307730(0x44e),null),I(this,'_sendingTimer',null),(this[_0x307730(0x299)]=_0x30e93b,this[_0x307730(0x338)]=_0x410a47,this[_0x307730(0x1a3)]=_0x23f998,this[_0x307730(0xe6)]=_0x21e28c,this[_0x307730(0x522)]=_0x2580d8,this[_0x307730(0x20b)]=_0x134912);}[_0xbb724d(0x9f)](_0x225306){const _0x50256c=_0xbb724d;return this['_pendingMutations'][_0x50256c(0x221)](_0x225306),this[_0x50256c(0x4d6)](),this;}['onRemoteChangeset'](_0x2a125b){const _0x559265=_0xbb724d;if(this[_0x559265(0x459)](_0x2a125b))return this[_0x559265(0x2f9)](),this[_0x559265(0x299)][_0x559265(0x196)](re,this[_0x559265(0x447)],this[_0x559265(0x50f)],null,this['_pendingMutations'],null,[_0x2a125b],this[_0x559265(0x4db)]);try{const _0x116ce0=this[_0x559265(0x522)][_0x559265(0x118)](_0x2a125b,this[_0x559265(0x273)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x116ce0)){const {c1Prime:_0x3d1a02,m2Prime:_0x595339}=_0x116ce0;this['_executeRemoteChangeset'](_0x3d1a02);const _0x10c41d=this[_0x559265(0x299)]['createInstance'](ce,this['unitID'],this['type'],_0x595339,this[_0x559265(0x4db)]);return this[_0x559265(0x2f9)](),_0x10c41d[_0x559265(0x4e5)](this[_0x559265(0x44e)]?Math[_0x559265(0x119)](0x0,new Date()[_0x559265(0x31f)]()-this[_0x559265(0x44e)]):this[_0x559265(0x35f)]()),_0x10c41d;}throw _0x116ce0['error'];}catch(_0x5de2c9){return this[_0x559265(0x1a3)][_0x559265(0x1d8)](_0x5de2c9),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x37fd1c=_0xbb724d;throw new Error(_0x37fd1c(0x2b1));}[_0xbb724d(0x4ab)](){const _0x5139a4=_0xbb724d;throw new Error(_0x5139a4(0x3b4));}[_0xbb724d(0x3e2)](){return this;}[_0xbb724d(0x1c3)](){const _0x114fb3=_0xbb724d;return this['_clearScheduledTask'](),this['_injector'][_0x114fb3(0x196)](Se,this['unitID'],this[_0x114fb3(0x50f)],null,this[_0x114fb3(0x273)],this[_0x114fb3(0x4db)]);}[_0xbb724d(0x237)](){return this;}[_0xbb724d(0x4e5)](_0x45658f){const _0x40a20d=_0xbb724d,_0x26b64d=_0x45658f!=null?_0x45658f:this['_getSendChangesetTimeout']();this[_0x40a20d(0x44e)]=new Date()['getTime'](),this[_0x40a20d(0x107)]=window[_0x40a20d(0x31c)](()=>{const _0x4dde84=_0x40a20d;this[_0x4dde84(0x2f9)]();let _0xfee430=null;switch(this[_0x4dde84(0x50f)]){case ne[_0x4dde84(0x1ac)]:{_0xfee430=Ht(this['_pendingMutations'],this[_0x4dde84(0x447)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}case ne[_0x4dde84(0x44c)]:{this[_0x4dde84(0x273)][_0x4dde84(0xab)](_0x506962=>_0x506962['id']===Ie['RichTextEditingMutation']['id'])?_0xfee430=Bn(this[_0x4dde84(0x273)],this[_0x4dde84(0x447)],this['_univerInstanceService'],this[_0x4dde84(0x40e)],this[_0x4dde84(0x338)]):_0xfee430=Ht(this[_0x4dde84(0x273)],this[_0x4dde84(0x447)],this['_univerInstanceService'],this[_0x4dde84(0x40e)],this[_0x4dde84(0x338)]);break;}default:throw new Error(_0x4dde84(0x97)+this['type']+_0x4dde84(0x1d0));}const {changeset:_0x32a656,pendingMutations:_0x178469}=_0xfee430;this[_0x4dde84(0x4db)]['onSendChangeset'](_0x32a656);const _0x13e4ce=_0x178469[_0x4dde84(0x2d9)]?this[_0x4dde84(0x299)][_0x4dde84(0x196)](le,this[_0x4dde84(0x447)],this['type'],_0x32a656,_0x178469,this[_0x4dde84(0x4db)],void 0x0):this[_0x4dde84(0x299)]['createInstance'](fe,this[_0x4dde84(0x447)],this[_0x4dde84(0x50f)],_0x32a656,this['_handler']);_0x13e4ce['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x13e4ce);},_0x26b64d);}[_0xbb724d(0x35f)](){const _0x548f0c=_0xbb724d;var _0x480419;const _0x537422=this[_0x548f0c(0xe6)]['getConfig'](Q);return(_0x480419=_0x537422==null?void 0x0:_0x537422[_0x548f0c(0x26c)])!=null?_0x480419:Fi;}[_0xbb724d(0x44b)](){const _0x5ee874=_0xbb724d;throw new Error(_0x5ee874(0x11c));}[_0xbb724d(0x2f9)](){const _0x113de1=_0xbb724d;this[_0x113de1(0x107)]!=null&&(clearTimeout(this[_0x113de1(0x107)]),this[_0x113de1(0x107)]=null);}[_0xbb724d(0x505)](_0x2733ab){const _0x559229=_0xbb724d;return this[_0x559229(0x2f9)](),this[_0x559229(0x299)][_0x559229(0x196)](ve,this[_0x559229(0x447)],this['type'],null,this[_0x559229(0x273)],this[_0x559229(0x4db)],_0x2733ab);}};ce=Ee([N(0x4,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),N(0x5,a[_0xbb724d(0x271)](p[_0xbb724d(0x46f)])),N(0x6,a[_0xbb724d(0x271)](exports['LocalCacheService'])),N(0x7,a[_0xbb724d(0x271)](exports['MemberService'])),N(0x8,a['ILogService']),N(0x9,a['ICommandService']),N(0xa,a['IConfigService']),N(0xb,p[_0xbb724d(0x525)]),N(0xc,a[_0xbb724d(0x4c0)]),N(0xd,a[_0xbb724d(0x301)])],ce);let fe=class extends be{constructor(_0x3a4587,_0x3d841d,_0x3abfc6,_0x50b18b,_0xcbf863,_0x4da9b3,_0x530b0e,_0x2d99e0,_0x4f7f8e,_0x343fbb,_0x52fc38){const _0xf6125e=_0xbb724d;super(_0x3a4587,_0x3d841d,_0x3abfc6,[],_0x50b18b,_0x2d99e0,_0x52fc38,_0x4da9b3,_0x530b0e),I(this,_0xf6125e(0x19f),'awaiting'),I(this,_0xf6125e(0x49c),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this[_0xf6125e(0x299)]=_0xcbf863,this[_0xf6125e(0x1a3)]=_0x4f7f8e,this[_0xf6125e(0x522)]=_0x343fbb);}['appendMutation'](_0x309a49){const _0x7947ad=_0xbb724d;this['_clearScheduledTask']();const _0x5375ae=this[_0x7947ad(0x299)][_0x7947ad(0x196)](le,this[_0x7947ad(0x447)],this[_0x7947ad(0x50f)],this['_awaitingChangeset'],[_0x309a49],this[_0x7947ad(0x4db)],this[_0x7947ad(0x443)]);return _0x5375ae[_0x7947ad(0x4d6)](),_0x5375ae;}[_0xbb724d(0xf2)](_0x2a0a98){const _0x27201e=_0xbb724d;if(this[_0x27201e(0x459)](_0x2a0a98))return this['_clearScheduledTask'](),this[_0x27201e(0x299)][_0x27201e(0x196)](re,this[_0x27201e(0x447)],this[_0x27201e(0x50f)],this[_0x27201e(0x46b)],[],null,[_0x2a0a98],this[_0x27201e(0x4db)]);try{const _0x2df743=this['_transformService'][_0x27201e(0x20c)]([_0x2a0a98],[this[_0x27201e(0x46b)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x2df743)){const {c1Prime:_0x532b05,c2Prime:_0x4ad8fa}=_0x2df743;this['_executeRemoteChangeset'](_0x532b05[0x0]),_0x4ad8fa[0x0][_0x27201e(0x1bd)]=this[_0x27201e(0x312)](),this['_clearScheduledTask']();const _0x3aee17=this['_injector']['createInstance'](fe,this['unitID'],this['type'],_0x4ad8fa[0x0],this[_0x27201e(0x4db)]);return _0x3aee17[_0x27201e(0x4d6)](),_0x3aee17;}return this[_0x27201e(0x505)](!0x1);}catch(_0x2bb442){return this[_0x27201e(0x1a3)][_0x27201e(0x1d8)](_0x2bb442),this[_0x27201e(0x505)](!0x1);}}['onRemoteAck'](_0x41a8cc){const _0x27bac0=_0xbb724d;this[_0x27bac0(0x2f9)]();const _0x25b9dc=this['_revisionService'][_0x27bac0(0xff)](this[_0x27bac0(0x447)]);if(_0x41a8cc[_0x27bac0(0x465)]<_0x25b9dc-0x1)return this;if(this[_0x27bac0(0x459)](_0x41a8cc))return this[_0x27bac0(0x299)][_0x27bac0(0x196)](re,this[_0x27bac0(0x447)],this['type'],null,[],this[_0x27bac0(0x46b)],[],this[_0x27bac0(0x4db)]);this[_0x27bac0(0x3e0)]();const _0x54c489=this[_0x27bac0(0x299)][_0x27bac0(0x196)](Oe,this[_0x27bac0(0x447)],this[_0x27bac0(0x50f)],this[_0x27bac0(0x4db)]);return _0x54c489['_updateLocalCache'](),_0x54c489;}['onRemoteRej'](_0x586c9f){const _0x21f46f=_0xbb724d;return this[_0x21f46f(0x505)](!!(_0x586c9f!=null&&_0x586c9f[_0x21f46f(0x2c2)]));}[_0xbb724d(0x3e2)](_0x4182f8){const _0x43c803=_0xbb724d;return this['_resendTimeout']>mi?this[_0x43c803(0x1c3)]():(this[_0x43c803(0x443)]=pi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4182f8['reqId']}),this[_0x43c803(0x187)]=this[_0x43c803(0x443)]['subscribe'](({reqId:_0x302e8b,timeout:_0x4d2fc4})=>{const _0x396f21=_0x43c803;this[_0x396f21(0x399)](_0x302e8b,_0x4d2fc4);}),this);}[_0xbb724d(0x1c3)](){const _0x3ab4d9=_0xbb724d;return this[_0x3ab4d9(0x2f9)](),this[_0x3ab4d9(0x299)][_0x3ab4d9(0x196)](Se,this[_0x3ab4d9(0x447)],this['type'],this['_awaitingChangeset'],[],this[_0x3ab4d9(0x4db)]);}['toggleOnline'](){return this;}['resend'](){const _0x21d412=_0xbb724d;this[_0x21d412(0x4db)][_0x21d412(0x3a3)](this[_0x21d412(0x46b)]);}[_0xbb724d(0x505)](_0xfa3d12){const _0x16e9f5=_0xbb724d;return this[_0x16e9f5(0x2f9)](),this[_0x16e9f5(0x299)][_0x16e9f5(0x196)](ve,this[_0x16e9f5(0x447)],this['type'],this[_0x16e9f5(0x46b)],[],this[_0x16e9f5(0x4db)],_0xfa3d12);}[_0xbb724d(0x399)](_0x270f3f,_0x38d5fe){const _0x506737=_0xbb724d;var _0x3c4f29;_0x270f3f===((_0x3c4f29=this['_awaitingChangeset'])==null?void 0x0:_0x3c4f29[_0x506737(0x192)])&&(this[_0x506737(0x44b)](),this[_0x506737(0x49c)]=_0x38d5fe===0x0?0x3e8:_0x38d5fe*0x2);}[_0xbb724d(0x2f9)](){const _0x1b7aa1=_0xbb724d;var _0x3317d5;(_0x3317d5=this[_0x1b7aa1(0x187)])==null||_0x3317d5[_0x1b7aa1(0x10f)](),this[_0x1b7aa1(0x49c)]=0x0;}};fe=Ee([N(0x4,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),N(0x5,a[_0xbb724d(0x271)](p['RevisionService'])),N(0x6,a['Inject'](exports[_0xbb724d(0x1d9)])),N(0x7,a['ICommandService']),N(0x8,a['ILogService']),N(0x9,p['ITransformService']),N(0xa,a[_0xbb724d(0x301)])],fe);let le=class extends be{constructor(_0x21c2a3,_0x2f957d,_0x1a9c98,_0x3221e8,_0x5acdc9,_0x111cac,_0x2dc383,_0x37ca66,_0x4df441,_0x18ff97,_0x279da4,_0x1ebe04,_0x580555){const _0x4519f0=_0xbb724d;super(_0x21c2a3,_0x2f957d,_0x1a9c98,_0x3221e8,_0x5acdc9,_0x18ff97,_0x580555,_0x37ca66,_0x4df441),I(this,'status','awaiting_with_pending'),I(this,_0x4519f0(0x49c),0x0),I(this,_0x4519f0(0x443)),I(this,_0x4519f0(0x187)),(this[_0x4519f0(0x299)]=_0x2dc383,this[_0x4519f0(0x1a3)]=_0x279da4,this[_0x4519f0(0x522)]=_0x1ebe04,_0x111cac&&(this[_0x4519f0(0x443)]=_0x111cac,this[_0x4519f0(0x187)]=this[_0x4519f0(0x443)]['subscribe'](({reqId:_0x2ee7e3,timeout:_0x5468fd})=>{this['_resendWithTimeout'](_0x2ee7e3,_0x5468fd);})));}[_0xbb724d(0x9f)](_0x198370){const _0x1d2d76=_0xbb724d;return this[_0x1d2d76(0x273)]['push'](_0x198370),this;}[_0xbb724d(0xf2)](_0x22e3e7){const _0x37149c=_0xbb724d;if(this[_0x37149c(0x459)](_0x22e3e7))return this[_0x37149c(0x2f9)](),this[_0x37149c(0x299)][_0x37149c(0x196)](re,this[_0x37149c(0x447)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x22e3e7],this['_handler']);try{const _0x2426df=this['_transformService'][_0x37149c(0x20c)]([_0x22e3e7],[this[_0x37149c(0x46b)]],!0x1);if(p[_0x37149c(0x112)](_0x2426df)){const {c1Prime:_0x19c56c,c2Prime:_0x379736}=_0x2426df,_0x412cbc=this[_0x37149c(0x522)][_0x37149c(0x118)](_0x19c56c[0x0],this['_pendingMutations']);if(p[_0x37149c(0x427)](_0x412cbc)){const {c1Prime:_0x261cfb,m2Prime:_0x5f4d94}=_0x412cbc;return this[_0x37149c(0x121)](_0x261cfb),_0x379736[0x0][_0x37149c(0x1bd)]=this[_0x37149c(0x312)](),this[_0x37149c(0x2f9)](),this[_0x37149c(0x299)]['createInstance'](le,this[_0x37149c(0x447)],this['type'],_0x379736[0x0],_0x5f4d94,this[_0x37149c(0x4db)],void 0x0);}throw _0x412cbc[_0x37149c(0x1d8)];}throw _0x2426df[_0x37149c(0x1d8)];}catch(_0x25d782){return this['_logService'][_0x37149c(0x1d8)](_0x25d782),this[_0x37149c(0x505)](!0x1);}}['onRemoteAck'](_0x349cb1){const _0x3c7cd3=_0xbb724d;if(this[_0x3c7cd3(0x2f9)](),this['_checkMissing'](_0x349cb1))return this[_0x3c7cd3(0x299)][_0x3c7cd3(0x196)](re,this[_0x3c7cd3(0x447)],this['type'],null,this[_0x3c7cd3(0x273)],this[_0x3c7cd3(0x46b)],[],this[_0x3c7cd3(0x4db)]);this[_0x3c7cd3(0x3e0)]();const _0x210151=this[_0x3c7cd3(0x299)][_0x3c7cd3(0x196)](ce,this[_0x3c7cd3(0x447)],this[_0x3c7cd3(0x50f)],this[_0x3c7cd3(0x273)],this[_0x3c7cd3(0x4db)]);return _0x210151[_0x3c7cd3(0x4e5)](),_0x210151['_updateLocalCache'](),_0x210151;}['onRemoteRej'](_0x5efd87){return this['_onConflict'](!!(_0x5efd87!=null&&_0x5efd87['isPermissionRej']));}[_0xbb724d(0x3e2)](_0x4245e3){const _0x4f74fb=_0xbb724d;return this[_0x4f74fb(0x49c)]>mi?this[_0x4f74fb(0x1c3)]():(this['_resendTimer']=pi(this['_resendTimeout'],{'timeout':this[_0x4f74fb(0x49c)],'reqId':_0x4245e3[_0x4f74fb(0x192)]}),this[_0x4f74fb(0x187)]=this['_resendTimer'][_0x4f74fb(0x2ae)](({reqId:_0x3fa9b0,timeout:_0x5b8045})=>{const _0x2df111=_0x4f74fb;this[_0x2df111(0x399)](_0x3fa9b0,_0x5b8045);}),this);}[_0xbb724d(0x1c3)](){const _0x7830f7=_0xbb724d;return this[_0x7830f7(0x2f9)](),this[_0x7830f7(0x299)][_0x7830f7(0x196)](Se,this[_0x7830f7(0x447)],this[_0x7830f7(0x50f)],this[_0x7830f7(0x46b)],this[_0x7830f7(0x273)],this[_0x7830f7(0x4db)]);}[_0xbb724d(0x237)](){return this;}[_0xbb724d(0x44b)](){const _0xd01ac7=_0xbb724d;this['_handler'][_0xd01ac7(0x3a3)](this[_0xd01ac7(0x46b)]);}[_0xbb724d(0x505)](_0x34980d){const _0x131695=_0xbb724d;return this[_0x131695(0x2f9)](),this['_injector']['createInstance'](ve,this[_0x131695(0x447)],this[_0x131695(0x50f)],null,this[_0x131695(0x273)],this[_0x131695(0x4db)],_0x34980d);}[_0xbb724d(0x399)](_0x281594,_0x307b2e){const _0x16a9c1=_0xbb724d;var _0x42bb80;_0x281594===((_0x42bb80=this['_awaitingChangeset'])==null?void 0x0:_0x42bb80[_0x16a9c1(0x192)])&&(this['resend'](),this[_0x16a9c1(0x49c)]=_0x307b2e===0x0?0x3e8:_0x307b2e*0x2);}[_0xbb724d(0x2f9)](){const _0x496c11=_0xbb724d;var _0x3ee975;(_0x3ee975=this[_0x496c11(0x187)])==null||_0x3ee975['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Ee([N(0x6,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),N(0x7,a['Inject'](p['RevisionService'])),N(0x8,a['Inject'](exports['LocalCacheService'])),N(0x9,a[_0xbb724d(0x39a)]),N(0xa,a['ILogService']),N(0xb,p[_0xbb724d(0x525)]),N(0xc,a[_0xbb724d(0x301)])],le);let ve=class extends be{constructor(_0xca956b,_0x56a80f,_0x58e3ac,_0x1da79c,_0x1ad612,_0x58cf2d=!0x1,_0x1b9858,_0x27fcc3,_0x14af4e,_0x554e9f,_0x2a2897,_0x358212,_0x5ae6c9){const _0x266d5e=_0xbb724d;super(_0xca956b,_0x56a80f,_0x58e3ac,_0x1da79c,_0x1ad612,_0x27fcc3,_0x14af4e,_0x2a2897,_0x554e9f),I(this,_0x266d5e(0x19f),_0x266d5e(0x3ad)),(this[_0x266d5e(0x520)]=_0x58cf2d,this['_permissionService']=_0x1b9858,this['_localeService']=_0x358212,this['_notificationService']=_0x5ae6c9,this[_0x266d5e(0xf0)](),this[_0x266d5e(0x1a6)](),this[_0x266d5e(0x251)]());}[_0xbb724d(0x9f)](){return this;}[_0xbb724d(0xf2)](){return this;}['onRemoteAck'](){return this;}[_0xbb724d(0x4ab)](){return this;}[_0xbb724d(0x3e2)](){return this;}[_0xbb724d(0x1c3)](){return this;}['toggleOnline'](){return this;}[_0xbb724d(0x44b)](){const _0x22dca2=_0xbb724d;throw new Error(_0x22dca2(0x283));}[_0xbb724d(0x1a6)](){const _0x12e7ce=_0xbb724d;this[_0x12e7ce(0x4ba)]['updateOfflineData'](this[_0x12e7ce(0x447)],this['type'],null,[]);}[_0xbb724d(0xf0)](){const _0x55548f=_0xbb724d;this[_0x55548f(0x520)]?this[_0x55548f(0x2be)][_0x55548f(0xb7)]({'title':this[_0x55548f(0x4f9)]['t'](_0x55548f(0x4b4)),'content':this[_0x55548f(0x4f9)]['t'](_0x55548f(0x3c4)),'type':'error','duration':0x0}):this['_notificationService']['show']({'title':this[_0x55548f(0x4f9)]['t'](_0x55548f(0x2b2)),'content':this[_0x55548f(0x4f9)]['t'](_0x55548f(0x18a)),'type':_0x55548f(0x1d8),'duration':0x0});}[_0xbb724d(0x251)](){const _0x4c8d03=_0xbb724d;this[_0x4c8d03(0x3b1)][_0x4c8d03(0xc9)](new k[(_0x4c8d03(0x3ed))](this[_0x4c8d03(0x447)])['id'],!0x1);}};ve=Ee([N(0x6,a[_0xbb724d(0x271)](a[_0xbb724d(0x9a)])),N(0x7,a[_0xbb724d(0x39a)]),N(0x8,a['IUndoRedoService']),N(0x9,a[_0xbb724d(0x271)](exports[_0xbb724d(0x1d9)])),N(0xa,a['Inject'](p['RevisionService'])),N(0xb,a[_0xbb724d(0x271)](a['LocaleService'])),N(0xc,te[_0xbb724d(0x2dc)])],ve);let Se=class extends be{constructor(_0x339b55,_0x4d28dd,_0x52d5aa,_0x5a7928,_0x275a1f,_0x25bf19,_0x5215d2,_0xd6688f,_0x4f8998,_0x3926bd){const _0x6647a=_0xbb724d;super(_0x339b55,_0x4d28dd,_0x52d5aa,_0x5a7928,_0x275a1f,_0x4f8998,_0x3926bd,_0x5215d2,_0xd6688f),I(this,_0x6647a(0x19f),_0x6647a(0x49e)),this[_0x6647a(0x299)]=_0x25bf19;}['appendMutation'](_0x3385d5){return this['_pendingMutations']['push'](_0x3385d5),this['_updateLocalCache'](),this;}[_0xbb724d(0xf2)](_0x4579c8){const _0x45c3a8=_0xbb724d;throw new Error(_0x45c3a8(0x34a));}[_0xbb724d(0x1e5)](){const _0x4f5271=_0xbb724d;throw new Error(_0x4f5271(0x17b));}[_0xbb724d(0x4ab)](){const _0x1494cb=_0xbb724d;throw new Error(_0x1494cb(0x4ce));}[_0xbb724d(0x3e2)](){return this;}['toggleOffline'](){return this;}[_0xbb724d(0x237)](){const _0x579493=_0xbb724d,{_injector:_0x2258e6,_pendingMutations:_0x5145f5,_awaitingChangeset:_0x314af1,unitID:_0xee2d57,_handler:_0x33f2a7,type:_0x232cbf}=this,_0x4cbc76=gi(_0x2258e6,_0xee2d57,_0x232cbf,_0x314af1,_0x5145f5,_0x33f2a7);return _0x4cbc76 instanceof ce?_0x4cbc76[_0x579493(0x4e5)]():(_0x4cbc76 instanceof le||_0x4cbc76 instanceof fe)&&_0x4cbc76[_0x579493(0x44b)](),_0x4cbc76;}[_0xbb724d(0x44b)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};Se=Ee([N(0x5,a[_0xbb724d(0x271)](a['Injector'])),N(0x6,a[_0xbb724d(0x271)](p['RevisionService'])),N(0x7,a[_0xbb724d(0x271)](exports[_0xbb724d(0x1d9)])),N(0x8,a[_0xbb724d(0x39a)]),N(0x9,a[_0xbb724d(0x301)])],Se);let re=class extends be{constructor(_0x3aabe7,_0x5aee75,_0x2b224e,_0x22e0b6,_0x1acfab,_0x4eadfa,_0x342211,_0x3727ba,_0x3788c6,_0x4afade,_0x15fe2a,_0x58666a,_0x34183a,_0x2d6e71){const _0x1ce5a7=_0xbb724d;super(_0x3aabe7,_0x5aee75,_0x2b224e,_0x22e0b6,_0x342211,_0x58666a,_0x34183a,_0x3788c6,_0x4afade),I(this,_0x1ce5a7(0x19f),_0x1ce5a7(0x455)),(this[_0x1ce5a7(0x144)]=_0x1acfab,this[_0x1ce5a7(0x39e)]=_0x4eadfa,this[_0x1ce5a7(0x299)]=_0x3727ba,this[_0x1ce5a7(0x1a3)]=_0x15fe2a,this['_transformService']=_0x2d6e71);}[_0xbb724d(0x14d)](_0x59b814){const _0x363b33=_0xbb724d;try{const _0x47b321=[..._0x59b814,...this[_0x363b33(0x39e)]],_0x21942a=[this[_0x363b33(0x46b)]||this['_acknowledgedAwaitingChangeset']][_0x363b33(0x21e)](_0x5051f9=>!!_0x5051f9);let _0x2bdcbe,_0x11c42f;if(_0x21942a[_0x363b33(0x2d9)]){const _0x3c0c7d=this[_0x363b33(0x522)][_0x363b33(0x20c)](_0x47b321,_0x21942a,!0x1);if(!p['isTransformChangesetsSuccess'](_0x3c0c7d))throw _0x3c0c7d['error'];_0x2bdcbe=_0x3c0c7d['c1Prime'],_0x11c42f=_0x3c0c7d[_0x363b33(0xd3)];}else _0x2bdcbe=_0x47b321,_0x11c42f=[];let _0x38ccd5=this[_0x363b33(0x273)];_0x2bdcbe[_0x363b33(0x53b)](_0x1ebec3=>{const _0x808d84=_0x363b33;let _0x2f86ae;if(_0x38ccd5[_0x808d84(0x2d9)]){const _0x300e05=this[_0x808d84(0x522)]['transformMutationsWithChangeset'](_0x1ebec3,_0x38ccd5);if(!p[_0x808d84(0x427)](_0x300e05))throw _0x300e05[_0x808d84(0x1d8)];_0x2f86ae=_0x300e05[_0x808d84(0x1ae)],_0x38ccd5=_0x300e05['m2Prime'];}else _0x2f86ae=_0x1ebec3;this[_0x808d84(0x121)](_0x2f86ae);}),this[_0x363b33(0x144)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x11c42f[_0x363b33(0x2d9)]&&(_0x11c42f[0x0][_0x363b33(0x1bd)]=this['_getCurrentRevision']());let _0x400199;if(this[_0x363b33(0x46b)]&&_0x38ccd5[_0x363b33(0x2d9)]!==0x0)_0x400199=this[_0x363b33(0x299)][_0x363b33(0x196)](le,this[_0x363b33(0x447)],this[_0x363b33(0x50f)],_0x11c42f[0x0],_0x38ccd5,this[_0x363b33(0x4db)],void 0x0);else{if(this[_0x363b33(0x46b)]&&_0x38ccd5[_0x363b33(0x2d9)]===0x0)_0x11c42f[0x0]['baseRev']=this[_0x363b33(0x312)](),_0x400199=this[_0x363b33(0x299)][_0x363b33(0x196)](fe,this[_0x363b33(0x447)],this[_0x363b33(0x50f)],_0x11c42f[0x0],this[_0x363b33(0x4db)]);else{if(_0x38ccd5[_0x363b33(0x2d9)]!==0x0){const _0xb9df68=this[_0x363b33(0x299)][_0x363b33(0x196)](ce,this[_0x363b33(0x447)],this['type'],_0x38ccd5,this[_0x363b33(0x4db)]);_0xb9df68['_schedule'](),_0x400199=_0xb9df68;}else _0x400199=this[_0x363b33(0x299)]['createInstance'](Oe,this[_0x363b33(0x447)],this[_0x363b33(0x50f)],this['_handler']);}}return _0x400199[_0x363b33(0x4d6)](),_0x400199;}catch(_0x2a0245){return this['_logService'][_0x363b33(0x1d8)](_0x363b33(0x25b),_0x363b33(0xaa),_0x2a0245),this['_injector'][_0x363b33(0x196)](ve,this[_0x363b33(0x447)],this['type'],this['_awaitingChangeset'],this[_0x363b33(0x273)],this[_0x363b33(0x4db)],!0x1);}}[_0xbb724d(0x44b)](){const _0x317d71=_0xbb724d;throw new Error(_0x317d71(0xec));}[_0xbb724d(0x9f)](_0x208706){const _0x26ff13=_0xbb724d;return this[_0x26ff13(0x273)]['push'](_0x208706),this;}['onRemoteChangeset'](_0x520f49){const _0x25d57c=_0xbb724d;return this[_0x25d57c(0x39e)]['push'](_0x520f49),this;}['onRemoteAck'](_0x2cee7e){const _0x439bfa=_0xbb724d;if(this[_0x439bfa(0x46b)])return this['_acknowledgedAwaitingChangeset']=this[_0x439bfa(0x46b)],this[_0x439bfa(0x46b)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xbb724d(0x4ab)](_0xacda84){const _0x2aa8a2=_0xbb724d;return this['_onConflict'](!!(_0xacda84!=null&&_0xacda84[_0x2aa8a2(0x2c2)]));}[_0xbb724d(0x3e2)](){return this;}[_0xbb724d(0x1c3)](){const _0x3c80a9=_0xbb724d;return this[_0x3c80a9(0x299)][_0x3c80a9(0x196)](Se,this['unitID'],this[_0x3c80a9(0x50f)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3c80a9(0x4db)]);}[_0xbb724d(0x237)](){return this;}[_0xbb724d(0x505)](_0x4ae7d3){const _0x32c60e=_0xbb724d;return this[_0x32c60e(0x299)][_0x32c60e(0x196)](ve,this[_0x32c60e(0x447)],this[_0x32c60e(0x50f)],this['_awaitingChangeset'],this[_0x32c60e(0x273)],this[_0x32c60e(0x4db)],_0x4ae7d3);}};re=Ee([N(0x7,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),N(0x8,a[_0xbb724d(0x271)](p['RevisionService'])),N(0x9,a['Inject'](exports[_0xbb724d(0x1d9)])),N(0xa,a['ILogService']),N(0xb,a[_0xbb724d(0x39a)]),N(0xc,a[_0xbb724d(0x301)]),N(0xd,p[_0xbb724d(0x525)])],re);function gi(_0x598d97,_0x246abf,_0x3c8d2a,_0x39c090,_0x228c9d,_0x58687f){const _0x1bca56=_0xbb724d;return _0x39c090&&_0x228c9d[_0x1bca56(0x2d9)]?_0x598d97[_0x1bca56(0x196)](le,_0x246abf,_0x3c8d2a,_0x39c090,_0x228c9d,_0x58687f,void 0x0):_0x39c090?_0x598d97[_0x1bca56(0x196)](fe,_0x246abf,_0x3c8d2a,_0x39c090,_0x58687f):_0x228c9d[_0x1bca56(0x2d9)]?_0x598d97[_0x1bca56(0x196)](ce,_0x246abf,_0x3c8d2a,_0x228c9d,_0x58687f):_0x598d97[_0x1bca56(0x196)](Oe,_0x246abf,_0x3c8d2a,_0x58687f);}var Vn=Object[_0xbb724d(0x164)],Gn=Object[_0xbb724d(0x13d)],Ot=(_0x212c6d,_0x481cc6,_0x318547,_0x450a90)=>{const _0x57f7b7=_0xbb724d;for(var _0x564a24=_0x450a90>0x1?void 0x0:_0x450a90?Gn(_0x481cc6,_0x318547):_0x481cc6,_0x5b788f=_0x212c6d[_0x57f7b7(0x2d9)]-0x1,_0x4c28df;_0x5b788f>=0x0;_0x5b788f--)(_0x4c28df=_0x212c6d[_0x5b788f])&&(_0x564a24=(_0x450a90?_0x4c28df(_0x481cc6,_0x318547,_0x564a24):_0x4c28df(_0x564a24))||_0x564a24);return _0x450a90&&_0x564a24&&Vn(_0x481cc6,_0x318547,_0x564a24),_0x564a24;},H=(_0x54bd31,_0x2a4a5f)=>(_0x262811,_0xf1c990)=>_0x2a4a5f(_0x262811,_0xf1c990,_0x54bd31);exports['CollaborationEntity']=class extends a[_0xbb724d(0x2fb)]{constructor(_0x4e1334,_0xcc1caa,_0x59d008,_0x98961f,_0x5dc4f7,_0x4021d8,_0x3b4497,_0x390aa2,_0x4680da,_0x37f356,_0x400746,_0x4b2e89,_0x3af62a){const _0x116b84=_0xbb724d;super(),I(this,_0x116b84(0x35d),new A[(_0x116b84(0x11e))](null)),I(this,_0x116b84(0x303),this[_0x116b84(0x35d)][_0x116b84(0x14b)]()),I(this,_0x116b84(0x30f)),I(this,_0x116b84(0x34d),!0x1),I(this,_0x116b84(0x518),''),I(this,_0x116b84(0x2e6),0x0),I(this,'status$',this[_0x116b84(0x303)][_0x116b84(0x52f)](A[_0x116b84(0x1cf)](_0x454a7c=>_0x454a7c?_0x454a7c[_0x116b84(0x19f)]:q[_0x116b84(0x104)]),A[_0x116b84(0x3f6)](0x1))),I(this,_0x116b84(0x2ee),!0x1),I(this,_0x116b84(0x469),[]),(this[_0x116b84(0x447)]=_0x4e1334,this[_0x116b84(0xde)]=_0xcc1caa,this[_0x116b84(0x3ef)]=_0x59d008,this[_0x116b84(0x299)]=_0x98961f,this['_localCacheService']=_0x5dc4f7,this[_0x116b84(0x147)]=_0x4021d8,this['_localeService']=_0x3b4497,this[_0x116b84(0x40e)]=_0x390aa2,this[_0x116b84(0x1a3)]=_0x4680da,this[_0x116b84(0x417)]=_0x37f356,this[_0x116b84(0x3c1)]=_0x400746,this['_permissionService']=_0x4b2e89,this[_0x116b84(0x423)]=_0x3af62a);}get[_0xbb724d(0x411)](){return this['_state'];}async[_0xbb724d(0x212)](){const _0x2cfef4=_0xbb724d;if(this['state'])throw new Error(_0x2cfef4(0x3ac));await this[_0x2cfef4(0x3ab)]();}['pauseCollaboration'](){const _0x2b5bbd=_0xbb724d;return this[_0x2b5bbd(0x34d)]=!0x0,a[_0x2b5bbd(0x2b7)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0xbb724d(0x113)](_0x9ff0c0){const _0x6e4f79=_0xbb724d;this[_0x6e4f79(0x30f)]=_0x9ff0c0,this[_0x6e4f79(0x35d)][_0x6e4f79(0x32a)](_0x9ff0c0);}async[_0xbb724d(0x3ab)](){const _0x40cafa=_0xbb724d;var _0x1268fc;this[_0x40cafa(0x113)](await this[_0x40cafa(0x18d)]()),this[_0x40cafa(0x423)]&&((_0x1268fc=this[_0x40cafa(0x423)])==null||_0x1268fc[_0x40cafa(0x2dd)](this[_0x40cafa(0x447)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x40cafa(0x447)])[_0x40cafa(0x2ae)](_0x2f8a9b=>{const _0xdfa28f=_0x40cafa;this[_0xdfa28f(0x1a3)][_0xdfa28f(0x528)](_0xdfa28f(0x451),_0xdfa28f(0x294),_0x2f8a9b),_0x2f8a9b===vi[_0xdfa28f(0x339)]?(this[_0xdfa28f(0x3c1)][_0xdfa28f(0xb7)]({'content':this['_localeService']['t'](_0xdfa28f(0x131)),'type':Ce[_0xdfa28f(0xd6)][_0xdfa28f(0xc5)]}),this[_0xdfa28f(0x3b1)][_0xdfa28f(0xc9)](new k['WorkbookEditablePermission'](this[_0xdfa28f(0x447)])['id'],!0x1),this[_0xdfa28f(0x3b1)][_0xdfa28f(0x50e)](!0x1)):(this[_0xdfa28f(0x3b1)][_0xdfa28f(0xc9)](new k[(_0xdfa28f(0x3ed))](this['unitID'])['id'],!0x0),this[_0xdfa28f(0x3b1)]['setShowComponents'](!0x0));})));let _0x2ffe28=!0x1;return this[_0x40cafa(0x2ad)](this['session'][_0x40cafa(0xc6)]['subscribe'](_0x430267=>{const _0x37edde=_0x40cafa;_0x430267===se['ONLINE']?this[_0x37edde(0xbe)](_0x2ffe28):_0x430267===se[_0x37edde(0x104)]&&(_0x2ffe28=!0x0,this['_toggleOffline']());})),this[_0x40cafa(0x2ad)](this[_0x40cafa(0xde)][_0x40cafa(0x3a7)][_0x40cafa(0x2ae)](_0x588c9e=>{const _0x433d33=_0x40cafa;try{switch(_0x588c9e[_0x433d33(0x470)]){case p[_0x433d33(0x29f)][_0x433d33(0x3ca)]:{this['_onRemoteChangeset'](p[_0x433d33(0x2a3)](_0x588c9e['data']));break;}case p['CollaborationEvent'][_0x433d33(0x4cf)]:{this[_0x433d33(0x3a2)](_0x588c9e[_0x433d33(0x238)]);break;}case p['CollaborationEvent']['CHANGESET_REJ']:{this[_0x433d33(0x30c)]();break;}case p[_0x433d33(0x29f)][_0x433d33(0xdf)]:{this[_0x433d33(0x1d6)](_0x588c9e[_0x433d33(0x238)]);break;}case p[_0x433d33(0x29f)][_0x433d33(0x219)]:{this['_onFetchMissResult'](_0x588c9e['data']['changesets']['map'](_0x159b3e=>p[_0x433d33(0x2a3)](_0x159b3e)));break;}case p[_0x433d33(0x29f)][_0x433d33(0x2b0)]:this[_0x433d33(0x30c)]({'isPermissionRej':!0x0});}}catch(_0x421eb5){throw console[_0x433d33(0x1d8)]('Error\x20on\x20receiving\x20event',_0x421eb5),_0x421eb5;}})),this[_0x40cafa(0x30f)];}[_0xbb724d(0x1cd)](){const _0x444f8e=_0xbb724d;this[_0x444f8e(0x2ee)]=!0x1;}[_0xbb724d(0x479)](){const _0x3dd12c=_0xbb724d;if(this['_transitionLocked'])throw new Error(_0x3dd12c(0x1ad));this[_0x3dd12c(0x2ee)]=!0x0;}[_0xbb724d(0x1d7)](_0x458536){const _0x15645b=_0xbb724d;this[_0x15645b(0x479)](),this[_0x15645b(0x113)](this['_state']['appendMutation'](_0x458536)),this[_0x15645b(0x1cd)]();}[_0xbb724d(0x531)](_0x510c03){const _0x2d26ef=_0xbb724d;if(!(_0x510c03[_0x2d26ef(0x465)]<=this[_0x2d26ef(0x40e)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x2d26ef(0x34d)]){this[_0x2d26ef(0x469)][_0x2d26ef(0x221)](_0x510c03);return;}this['_applyRemoteChangeset'](_0x510c03);}}['_exhaustRemoteChangesetQueue'](){const _0x361f07=_0xbb724d;this['_remoteChangesetQueue']['forEach'](_0x8863d3=>this[_0x361f07(0xcd)](_0x8863d3)),this[_0x361f07(0x469)]=[];}[_0xbb724d(0xcd)](_0x1ea4cf){const _0x316dfb=_0xbb724d,_0x13a854=this[_0x316dfb(0x147)]['interceptor'][_0x316dfb(0x108)](this[_0x316dfb(0x147)][_0x316dfb(0x496)][_0x316dfb(0x4be)]()[_0x316dfb(0x49b)])(_0x1ea4cf[_0x316dfb(0x374)],null)||_0x1ea4cf[_0x316dfb(0x374)],_0x43d998={..._0x1ea4cf,'mutations':_0x13a854};this[_0x316dfb(0x479)](),this[_0x316dfb(0x113)](this[_0x316dfb(0x30f)][_0x316dfb(0xf2)](_0x43d998)),this[_0x316dfb(0x1cd)]();}[_0xbb724d(0x3a2)](_0x45825b){const _0x38d24c=_0xbb724d;this[_0x38d24c(0x479)](),this[_0x38d24c(0x113)](this[_0x38d24c(0x30f)]['onRemoteAck'](_0x45825b)),this[_0x38d24c(0x1cd)]();}['_onRemoteRejected'](_0x2c95f0){const _0x3a7824=_0xbb724d;this[_0x3a7824(0x479)](),this[_0x3a7824(0x113)](this[_0x3a7824(0x30f)]['onRemoteRej'](_0x2c95f0)),this[_0x3a7824(0x1cd)]();}['_onRemoteRetry'](_0x55437a){const _0x3b77b8=_0xbb724d;this['_lockTransition'](),this['_updateState'](this[_0x3b77b8(0x30f)][_0x3b77b8(0x3e2)](_0x55437a)),this[_0x3b77b8(0x1cd)]();}[_0xbb724d(0xb4)](_0x383a22){const _0x41d700=_0xbb724d;if(!(this[_0x41d700(0x30f)]instanceof re))throw new TypeError(_0x41d700(0x122));const _0x36e02b=_0x383a22['map'](_0x1d70c1=>{const _0x29768e=_0x41d700,_0x39ec43=this[_0x29768e(0x147)]['interceptor']['fetchThroughInterceptors'](this[_0x29768e(0x147)][_0x29768e(0x496)][_0x29768e(0x4be)]()['COMPRESS_MUTATION_APPLY'])(_0x1d70c1[_0x29768e(0x374)],null)||_0x1d70c1[_0x29768e(0x374)];return{..._0x1d70c1,'mutations':_0x39ec43};});this[_0x41d700(0x479)](),this['_updateState'](this[_0x41d700(0x30f)][_0x41d700(0x14d)](_0x36e02b)),this[_0x41d700(0x1cd)]();}['_toggleOffline'](){const _0x1e17c8=_0xbb724d;this['_lockTransition'](),this[_0x1e17c8(0x113)](this[_0x1e17c8(0x30f)]['toggleOffline']()),this['_unlockTransition']();}[_0xbb724d(0xbe)](_0x41baed=!0x1){const _0x3ea924=_0xbb724d;this[_0x3ea924(0x479)](),this['_updateState'](this[_0x3ea924(0x30f)][_0x3ea924(0x237)]()),this[_0x3ea924(0x1cd)]();const _0x4c58c9=this[_0x3ea924(0x30f)];_0x41baed&&_0x4c58c9 instanceof Oe&&(this[_0x3ea924(0x479)](),this[_0x3ea924(0x113)](_0x4c58c9[_0x3ea924(0x33d)]()),this[_0x3ea924(0x1cd)]());}async[_0xbb724d(0x18d)](){return new Promise(_0x481dd5=>{const _0x4ee084=_0x195f;this['session'][_0x4ee084(0xc6)][_0x4ee084(0x52f)](A[_0x4ee084(0x4de)](0x1))['subscribe'](async _0x4a9b71=>{const _0x2d3cf2=_0x4ee084;_0x481dd5(await this['_createInitialStateImpl'](_0x4a9b71===se[_0x2d3cf2(0x498)]));});});}[_0xbb724d(0x514)](){const _0x1dfd1b=_0xbb724d,_0x106345=this[_0x1dfd1b(0x447)];return{'onStateChange':(_0x943201,_0x3bc78f)=>{const _0x2b5c09=_0x1dfd1b;if(_0x943201!==this[_0x2b5c09(0x30f)])throw new Error(_0x2b5c09(0x46c)+_0x943201[_0x2b5c09(0x19f)]+'\x0aAfter:\x20'+_0x3bc78f[_0x2b5c09(0x19f)]+_0x2b5c09(0x1b7)+this[_0x2b5c09(0x30f)][_0x2b5c09(0x19f)]);this[_0x2b5c09(0x113)](_0x3bc78f);},'onSendChangeset':_0x3320ae=>{const _0x468167=_0x1dfd1b;_0x3320ae[_0x468167(0x260)]||(_0x3320ae[_0x468167(0x260)]=this[_0x468167(0x518)],_0x3320ae[_0x468167(0x192)]=++this[_0x468167(0x2e6)]);const _0x4f2aa0={'eventID':p[_0x468167(0x29f)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x3320ae[_0x468167(0x447)],'unitType':this['_type'],'changeset':_0x3320ae,'memberID':this[_0x468167(0xde)][_0x468167(0x2bf)]()}};this[_0x468167(0xde)][_0x468167(0x370)](_0x4f2aa0,this['unitID']);},'onMissingChangesets':({from:_0x571dd1,to:_0x2d3ebd})=>{const _0x41a8a6=_0x1dfd1b;this['_logService'][_0x41a8a6(0x528)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x571dd1+_0x41a8a6(0x513)+_0x2d3ebd);const _0x23a1d0={'eventID':p[_0x41a8a6(0x29f)]['FETCH_MISSING'],'data':{'unitID':_0x106345,'unitType':this[_0x41a8a6(0x3ef)],'from':_0x571dd1,'to':_0x2d3ebd}};this[_0x41a8a6(0xde)][_0x41a8a6(0x370)](_0x23a1d0,this[_0x41a8a6(0x447)]);}};}async['_createInitialStateImpl'](_0x373892){const _0x73fcaf=_0xbb724d;var _0x450ba8,_0x2a3942;const _0x35ee60=await this[_0x73fcaf(0x4ba)][_0x73fcaf(0x3f9)](this[_0x73fcaf(0x447)]),_0x4c63a1=(_0x450ba8=_0x35ee60==null?void 0x0:_0x35ee60[_0x73fcaf(0x374)])!=null?_0x450ba8:[],_0x359ed3=(_0x2a3942=_0x35ee60==null?void 0x0:_0x35ee60[_0x73fcaf(0x30e)])!=null?_0x2a3942:null,_0x57cddd=!!(_0x359ed3!=null&&_0x359ed3[_0x73fcaf(0x260)])&&!!(_0x359ed3!=null&&_0x359ed3[_0x73fcaf(0x192)]);this[_0x73fcaf(0x518)]=_0x57cddd?_0x359ed3['sid']:In(),this[_0x73fcaf(0x2e6)]=_0x57cddd?_0x359ed3['reqId']:0x0;const _0x1eb629=this[_0x73fcaf(0x447)];try{this[_0x73fcaf(0x2e7)](_0x359ed3,_0x4c63a1);}catch(_0x183c18){this[_0x73fcaf(0x1a3)][_0x73fcaf(0x1d8)](_0x183c18);}const _0x5dcd90=this[_0x73fcaf(0x514)]();if(_0x373892){const _0x2674fe=gi(this[_0x73fcaf(0x299)],_0x1eb629,this[_0x73fcaf(0x3ef)],_0x359ed3,_0x4c63a1,_0x5dcd90);return _0x2674fe instanceof ce?_0x2674fe[_0x73fcaf(0x4e5)]():(_0x2674fe instanceof le||_0x2674fe instanceof fe)&&_0x2674fe[_0x73fcaf(0x44b)](),_0x2674fe;}return this[_0x73fcaf(0x299)][_0x73fcaf(0x196)](Se,_0x1eb629,this[_0x73fcaf(0x3ef)],_0x359ed3,_0x4c63a1,_0x5dcd90);}[_0xbb724d(0x2e7)](_0x37591f,_0xf50cd8){const _0x3d2a4a=_0xbb724d;var _0x19f135,_0x44e8f7;const _0x38ac61=this[_0x3d2a4a(0x147)][_0x3d2a4a(0x496)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x3d2a4a(0x4be)]()[_0x3d2a4a(0x49b)]);(_0x19f135=_0x38ac61((_0x37591f==null?void 0x0:_0x37591f['mutations'])||[],null))==null||_0x19f135[_0x3d2a4a(0x53b)](_0x436df7=>this[_0x3d2a4a(0x417)][_0x3d2a4a(0x231)](_0x436df7['id'],_0x436df7[_0x3d2a4a(0x1be)])),(_0x44e8f7=_0x38ac61(_0xf50cd8||[],null))==null||_0x44e8f7['forEach'](_0x3aff7c=>this[_0x3d2a4a(0x417)]['executeCommand'](_0x3aff7c['id'],_0x3aff7c['params']));}},exports[_0xbb724d(0xe4)]=Ot([H(0x3,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),H(0x4,a[_0xbb724d(0x271)](exports['LocalCacheService'])),H(0x5,a['Inject'](p[_0xbb724d(0x431)])),H(0x6,a['Inject'](a[_0xbb724d(0x2a7)])),H(0x7,a[_0xbb724d(0x271)](p['RevisionService'])),H(0x8,a[_0xbb724d(0x2cb)]),H(0x9,a[_0xbb724d(0x39a)]),H(0xa,te[_0xbb724d(0x1bf)]),H(0xb,a[_0xbb724d(0x9a)]),H(0xc,a[_0xbb724d(0x18e)](ze))],exports[_0xbb724d(0xe4)]),exports[_0xbb724d(0x394)]=class extends exports['CollaborationEntity']{constructor(_0x35ed3f,_0x3b0e8e,_0x5373b8,_0xa83490,_0x2aa84d,_0x112c83,_0x4ec6ad,_0x151e11,_0x553bac,_0x3a2815,_0x461504,_0x5bcadd,_0x45fdf9,_0x67e9f9,_0x95f772,_0x1a207b,_0x1207be,_0x59b084){const _0xdfe127=_0xbb724d;super(_0x35ed3f,_0x5373b8,_0x3b0e8e,_0xa83490,_0x2aa84d,_0x112c83,_0x4ec6ad,_0x151e11,_0x67e9f9,_0x95f772,_0x1a207b,_0x1207be,_0x59b084),this[_0xdfe127(0x447)]=_0x35ed3f,this[_0xdfe127(0x50f)]=_0x3b0e8e,this[_0xdfe127(0x1dd)]=_0x553bac,this[_0xdfe127(0x222)]=_0x3a2815,this[_0xdfe127(0xf9)]=_0x461504,this[_0xdfe127(0x165)]=_0x5bcadd,this[_0xdfe127(0x9b)]=_0x45fdf9;}['_createHandler'](){const _0x4e64cb=_0xbb724d,_0x4a36b1=super[_0x4e64cb(0x514)]();return _0x4a36b1[_0x4e64cb(0x47e)]=_0x22f154=>this[_0x4e64cb(0x222)][_0x4e64cb(0x477)](_0x22f154),_0x4a36b1[_0x4e64cb(0x347)]=_0x22180f=>this[_0x4e64cb(0xf9)][_0x4e64cb(0x183)](_0x22180f),_0x4a36b1[_0x4e64cb(0x2eb)]=_0x5be09b=>this[_0x4e64cb(0x165)]['transformSelections'](_0x5be09b),_0x4a36b1[_0x4e64cb(0x1de)]=_0x5d4a8d=>this[_0x4e64cb(0x9b)][_0x4e64cb(0x313)](_0x5d4a8d),_0x4a36b1['onTransformRemoteChangesetByIMECache']=_0x3f0ecb=>this[_0x4e64cb(0x222)][_0x4e64cb(0x397)](_0x3f0ecb),_0x4a36b1[_0x4e64cb(0x462)]=_0x1be671=>this[_0x4e64cb(0xf9)][_0x4e64cb(0x397)](_0x1be671),_0x4a36b1;}async[_0xbb724d(0x3ab)](){const _0x5683f4=_0xbb724d,_0x153e98=await super[_0x5683f4(0x3ab)]();return this[_0x5683f4(0x2ad)](this[_0x5683f4(0x1dd)][_0x5683f4(0xc8)][_0x5683f4(0x52f)](A['takeUntil'](this['dispose$']))[_0x5683f4(0x2ae)](_0x2eb2c7=>{const _0x1ba990=_0x5683f4;if(_0x2eb2c7==null)return;const {unitId:_0x24ca5e,redoState:_0x1b0c17,commandId:_0x5e40c4}=_0x2eb2c7;if(_0x24ca5e!==this['unitID'])return;const _0x15e225={'id':_0x5e40c4,'type':a['CommandType'][_0x1ba990(0x1f2)],'params':{'unitId':_0x24ca5e,'actions':_0x1b0c17[_0x1ba990(0x1d5)],'textRanges':null}};this[_0x1ba990(0x1d7)](_0x15e225);})),this[_0x5683f4(0x2ad)](this[_0x5683f4(0x417)][_0x5683f4(0x31b)]((_0x33561c,_0x525bbb)=>{const _0x5a55be=_0x5683f4;if(_0x33561c['type']!==a[_0x5a55be(0x20d)][_0x5a55be(0x1f2)]||_0x525bbb!=null&&_0x525bbb[_0x5a55be(0x360)]||_0x525bbb!=null&&_0x525bbb[_0x5a55be(0x43b)]||_0x33561c['id']===Ie[_0x5a55be(0x250)]['id'])return;const _0x28331a=_0x33561c[_0x5a55be(0x1be)];if((_0x28331a==null?void 0x0:_0x28331a['unitId'])!==this[_0x5a55be(0x447)])return;const _0x50d1f7=_0x33561c,_0x38e3e5=this['_compressMutationService']['interceptor'][_0x5a55be(0x108)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x50d1f7],null)||[_0x50d1f7];this[_0x5a55be(0x1d7)](_0x38e3e5[0x0]);})),_0x153e98;}},exports[_0xbb724d(0x394)]=Ot([H(0x3,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),H(0x4,a[_0xbb724d(0x271)](exports['LocalCacheService'])),H(0x5,a[_0xbb724d(0x271)](p[_0xbb724d(0x431)])),H(0x6,a[_0xbb724d(0x271)](a['LocaleService'])),H(0x7,a[_0xbb724d(0x271)](p[_0xbb724d(0x46f)])),H(0x8,a[_0xbb724d(0x271)](J['DocStateChangeManagerService'])),H(0x9,a['Inject'](Be)),H(0xa,a[_0xbb724d(0x271)](We)),H(0xb,a['Inject'](Fe)),H(0xc,a[_0xbb724d(0x271)](yt)),H(0xd,a[_0xbb724d(0x2cb)]),H(0xe,a['ICommandService']),H(0xf,te[_0xbb724d(0x1bf)]),H(0x10,a[_0xbb724d(0x9a)]),H(0x11,a[_0xbb724d(0x18e)](ze))],exports[_0xbb724d(0x394)]),exports[_0xbb724d(0x148)]=class extends exports['CollaborationEntity']{constructor(_0x574435,_0x47118e,_0x4eb4cd,_0x8f2dab,_0x2ee6f7,_0x559166,_0x549db2,_0x3fa4fe,_0x34841e,_0x2d561e,_0x34d431,_0x416d32,_0x31de8b,_0x49f873){const _0x768c9e=_0xbb724d;super(_0x574435,_0x4eb4cd,_0x47118e,_0x8f2dab,_0x2ee6f7,_0x559166,_0x549db2,_0x3fa4fe,_0x2d561e,_0x34d431,_0x416d32,_0x31de8b,_0x49f873),this[_0x768c9e(0x447)]=_0x574435,this['type']=_0x47118e,this['_sheetTransformSelectionsService']=_0x34841e;}['_createHandler'](){const _0x1240d4=_0xbb724d,_0x5806ff=super['_createHandler']();return _0x5806ff[_0x1240d4(0x2eb)]=_0x135aea=>this['_sheetTransformSelectionsService'][_0x1240d4(0x1e7)](_0x135aea),_0x5806ff;}async[_0xbb724d(0x3ab)](){const _0x2e0b2f=_0xbb724d,_0x387274=await super[_0x2e0b2f(0x3ab)]();return this[_0x2e0b2f(0x2ad)](this[_0x2e0b2f(0x417)]['onCommandExecuted']((_0x3c04e2,_0x335cf3)=>{const _0x14a815=_0x2e0b2f;if(_0x3c04e2[_0x14a815(0x50f)]!==a['CommandType'][_0x14a815(0x1f2)]||_0x335cf3!=null&&_0x335cf3['fromCollab']||_0x335cf3!=null&&_0x335cf3[_0x14a815(0x43b)])return;const _0x1233e3=_0x3c04e2[_0x14a815(0x1be)];if((_0x1233e3==null?void 0x0:_0x1233e3['unitId'])!==this[_0x14a815(0x447)])return;const _0x532349=_0x3c04e2,_0x54cf5d=this['_compressMutationService'][_0x14a815(0x496)]['fetchThroughInterceptors'](this[_0x14a815(0x147)][_0x14a815(0x496)][_0x14a815(0x4be)]()[_0x14a815(0x42f)])([_0x532349],null)||[_0x532349];this[_0x14a815(0x1d7)](_0x54cf5d[0x0]);})),_0x387274;}},exports[_0xbb724d(0x148)]=Ot([H(0x3,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a['Inject'](p[_0xbb724d(0x431)])),H(0x6,a[_0xbb724d(0x271)](a[_0xbb724d(0x2a7)])),H(0x7,a[_0xbb724d(0x271)](p['RevisionService'])),H(0x8,a[_0xbb724d(0x271)](ke)),H(0x9,a[_0xbb724d(0x2cb)]),H(0xa,a[_0xbb724d(0x39a)]),H(0xb,te['IMessageService']),H(0xc,a[_0xbb724d(0x9a)]),H(0xd,a[_0xbb724d(0x18e)](ze))],exports[_0xbb724d(0x148)]);var Yn=Object[_0xbb724d(0x164)],Kn=Object[_0xbb724d(0x13d)],qn=(_0x1720b7,_0x5ea5c4,_0x178809,_0x5ae497)=>{for(var _0x216b95=_0x5ae497>0x1?void 0x0:_0x5ae497?Kn(_0x5ea5c4,_0x178809):_0x5ea5c4,_0x22f77b=_0x1720b7['length']-0x1,_0x2ad41a;_0x22f77b>=0x0;_0x22f77b--)(_0x2ad41a=_0x1720b7[_0x22f77b])&&(_0x216b95=(_0x5ae497?_0x2ad41a(_0x5ea5c4,_0x178809,_0x216b95):_0x2ad41a(_0x216b95))||_0x216b95);return _0x5ae497&&_0x216b95&&Yn(_0x5ea5c4,_0x178809,_0x216b95),_0x216b95;},it=(_0x12d7b0,_0xaf1ce3)=>(_0x229aa2,_0x59ca19)=>_0xaf1ce3(_0x229aa2,_0x59ca19,_0x12d7b0);exports[_0xbb724d(0x8d)]=class extends a[_0xbb724d(0x2fb)]{constructor(_0x361c7c,_0x4e7f0e,_0x39cdf7){const _0x3137c3=_0xbb724d;super(),I(this,_0x3137c3(0x207),new Map()),I(this,_0x3137c3(0x1df),new A[(_0x3137c3(0x538))]()),(this['_injector']=_0x361c7c,this[_0x3137c3(0x16b)]=_0x4e7f0e,this['_univerInstanceService']=_0x39cdf7,this[_0x3137c3(0x3ab)]());}['dispose'](){const _0x1a73ed=_0xbb724d;super[_0x1a73ed(0x16a)](),this['_entities'][_0x1a73ed(0x53b)](_0x2bcb39=>_0x2bcb39[_0x1a73ed(0x16a)]()),this[_0x1a73ed(0x207)][_0x1a73ed(0x4e1)]();}[_0xbb724d(0x47c)](_0x176c2a){var _0x17582c;return(_0x17582c=this['_entities']['get'](_0x176c2a))!=null?_0x17582c:null;}[_0xbb724d(0x316)](_0x37004d){const _0xbfe2ef=_0xbb724d,_0x12de0b=this['getCollabEntity'](_0x37004d);return _0x12de0b?A['of'](_0x12de0b):this['_entityInit$'][_0xbfe2ef(0x52f)](V[_0xbfe2ef(0x21e)](_0x2eb35d=>_0x2eb35d[_0xbfe2ef(0x447)]===_0x37004d));}['_init'](){const _0x56e430=_0xbb724d;this[_0x56e430(0x20b)][_0x56e430(0x37e)](a[_0x56e430(0xd5)][_0x56e430(0x1ac)])['pipe'](A[_0x56e430(0x262)](this[_0x56e430(0x279)]),V['delay'](0x10))[_0x56e430(0x2ae)](async _0x9febb6=>{const _0x17507c=_0x56e430,_0x56101e=_0x9febb6[_0x17507c(0x285)](),_0x578a36=await this[_0x17507c(0x2db)](_0x56101e,ne[_0x17507c(0x1ac)]);this[_0x17507c(0x207)][_0x17507c(0x117)](_0x56101e,_0x578a36);}),this['_univerInstanceService'][_0x56e430(0x37e)](a['UniverInstanceType'][_0x56e430(0x44c)])[_0x56e430(0x52f)](A['takeUntil'](this[_0x56e430(0x279)]),V[_0x56e430(0x39b)](0x10))[_0x56e430(0x52f)](V[_0x56e430(0x21e)](_0x341fa2=>!_0x341fa2[_0x56e430(0x285)]()[_0x56e430(0x425)]('__')))[_0x56e430(0x2ae)](async _0x40dcb0=>{const _0x4f81f9=_0x56e430,_0x4eb2e7=_0x40dcb0['getUnitId'](),_0xeffe40=await this[_0x4f81f9(0x2db)](_0x4eb2e7,ne[_0x4f81f9(0x44c)]);this['_entities'][_0x4f81f9(0x117)](_0x4eb2e7,_0xeffe40);}),A[_0x56e430(0xa9)](this['_univerInstanceService'][_0x56e430(0x209)](a[_0x56e430(0xd5)][_0x56e430(0x1ac)]),this['_univerInstanceService'][_0x56e430(0x209)](a[_0x56e430(0xd5)]['UNIVER_DOC']))[_0x56e430(0x52f)](A[_0x56e430(0x262)](this[_0x56e430(0x279)]))[_0x56e430(0x2ae)](_0x422ef3=>{const _0x2f59d4=_0x56e430,_0x1d813d=_0x422ef3[_0x2f59d4(0x285)](),_0x206251=this[_0x2f59d4(0x207)][_0x2f59d4(0x2c9)](_0x1d813d);_0x206251&&(_0x206251[_0x2f59d4(0x16a)](),this[_0x2f59d4(0x207)][_0x2f59d4(0x1e6)](_0x1d813d));});}async[_0xbb724d(0x2db)](_0x571679,_0x462232){const _0x172f0c=_0xbb724d,_0x23a414=await this[_0x172f0c(0x16b)][_0x172f0c(0x1ab)](_0x571679),_0x18d239=this[_0x172f0c(0x299)]['createInstance'](this[_0x172f0c(0x328)](_0x462232),_0x571679,_0x462232,_0x23a414);return await _0x18d239[_0x172f0c(0x212)](),this[_0x172f0c(0x1df)][_0x172f0c(0x32a)](_0x18d239),_0x18d239;}['_getCtorByUniverType'](_0x48bdd4){switch(_0x48bdd4){case ne['UNIVER_DOC']:return exports['DocCollaborationEntity'];case ne['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x48bdd4);}}},exports[_0xbb724d(0x8d)]=qn([it(0x0,a['Inject'](a[_0xbb724d(0x2d2)])),it(0x1,a[_0xbb724d(0x271)](exports[_0xbb724d(0x2ec)])),it(0x2,a[_0xbb724d(0x4c0)])],exports[_0xbb724d(0x8d)]);var zn=Object['defineProperty'],Xn=Object[_0xbb724d(0x13d)],Jn=(_0x4d2412,_0x297b79,_0xff9750,_0x2356f9)=>{const _0x28177c=_0xbb724d;for(var _0x49eac=_0x2356f9>0x1?void 0x0:_0x2356f9?Xn(_0x297b79,_0xff9750):_0x297b79,_0x1d54d7=_0x4d2412[_0x28177c(0x2d9)]-0x1,_0x995c8f;_0x1d54d7>=0x0;_0x1d54d7--)(_0x995c8f=_0x4d2412[_0x1d54d7])&&(_0x49eac=(_0x2356f9?_0x995c8f(_0x297b79,_0xff9750,_0x49eac):_0x995c8f(_0x49eac))||_0x49eac);return _0x2356f9&&_0x49eac&&zn(_0x297b79,_0xff9750,_0x49eac),_0x49eac;},Bt=(_0x3e0eaf,_0xbf2948)=>(_0x2b35d5,_0x370280)=>_0xbf2948(_0x2b35d5,_0x370280,_0x3e0eaf);let Ve=class extends a[_0xbb724d(0x2fb)]{constructor(_0x4b8941,_0x186a0b){const _0x15d991=_0xbb724d;super(),this['_docClipboardService']=_0x4b8941,this[_0x15d991(0x4bb)]=_0x186a0b,this[_0x15d991(0x3ab)]();}[_0xbb724d(0x3ab)](){const _0x34c6b7=_0xbb724d,_0x382617=this;this['disposeWithMe'](this['_docClipboardService'][_0x34c6b7(0x160)]({'onBeforePasteImage':async _0x496c9a=>{const _0x4796db=_0x34c6b7,_0x16c469=await _0x382617[_0x4796db(0x4bb)]['saveImage'](_0x496c9a);return _0x16c469?{'source':_0x16c469['source'],'imageSourceType':_0x16c469[_0x4796db(0x1e3)]}:null;}}));}};Ve=Jn([Bt(0x0,J['IDocClipboardService']),Bt(0x1,ie[_0xbb724d(0x3e4)])],Ve);const kt=[_0xbb724d(0x11b),_0xbb724d(0x40c),_0xbb724d(0xaf),_0xbb724d(0x337),_0xbb724d(0x150),_0xbb724d(0x409)];class Dt extends a[_0xbb724d(0x4cb)]{constructor(){const _0x4984da=_0xbb724d;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x4984da(0x45c),0x0);}['assignAColorForMemberID'](_0x34737d){const _0x3b68a6=_0xbb724d;if(this[_0x3b68a6(0x129)][_0x3b68a6(0x4cd)](_0x34737d))return this['_assignedColors'][_0x3b68a6(0x2c9)](_0x34737d);const _0x405b3e=kt[this[_0x3b68a6(0x45c)]];return this[_0x3b68a6(0x45c)]=(this[_0x3b68a6(0x45c)]+0x1)%kt[_0x3b68a6(0x2d9)],this[_0x3b68a6(0x129)][_0x3b68a6(0x117)](_0x34737d,_0x405b3e),_0x405b3e;}}var Zn=Object[_0xbb724d(0x164)],Qn=Object['getOwnPropertyDescriptor'],es=(_0x2d1f43,_0x392e61,_0x2a7012,_0x4341f5)=>{const _0x4f6041=_0xbb724d;for(var _0x365272=_0x4341f5>0x1?void 0x0:_0x4341f5?Qn(_0x392e61,_0x2a7012):_0x392e61,_0xdd5cfc=_0x2d1f43[_0x4f6041(0x2d9)]-0x1,_0x37d00d;_0xdd5cfc>=0x0;_0xdd5cfc--)(_0x37d00d=_0x2d1f43[_0xdd5cfc])&&(_0x365272=(_0x4341f5?_0x37d00d(_0x392e61,_0x2a7012,_0x365272):_0x37d00d(_0x365272))||_0x365272);return _0x4341f5&&_0x365272&&Zn(_0x392e61,_0x2a7012,_0x365272),_0x365272;},me=(_0x2c9d63,_0x24b73d)=>(_0x50f809,_0x157df4)=>_0x24b73d(_0x50f809,_0x157df4,_0x2c9d63);const ts=0x12c,is=0x64;let pt=class extends a[_0xbb724d(0x2fb)]{constructor(_0x2903e7,_0x44445b,_0x23a428,_0x40aba5,_0x5e42f7,_0x2f62ba,_0x587c29,_0xd9c239,_0x133854){const _0x2a7c7a=_0xbb724d;super(),I(this,_0x2a7c7a(0x442),!0x1),I(this,_0x2a7c7a(0x3ab),!0x1),I(this,_0x2a7c7a(0x217),new A[(_0x2a7c7a(0x11e))](new Map())),I(this,_0x2a7c7a(0x2da),this[_0x2a7c7a(0x217)][_0x2a7c7a(0x14b)]()),I(this,_0x2a7c7a(0x2e5),new A[(_0x2a7c7a(0x11e))]([])),I(this,'roomMembers$',this[_0x2a7c7a(0x2e5)][_0x2a7c7a(0x52f)](A[_0x2a7c7a(0x2e8)](ts))),I(this,_0x2a7c7a(0x201),a[_0x2a7c7a(0x507)](_0x31e198=>{const _0x5bb0e1=_0x2a7c7a,_0x56bda7={'eventID':p[_0x5bb0e1(0x29f)][_0x5bb0e1(0x34f)],'data':{'unitID':this['unitID'],'memberID':this[_0x5bb0e1(0x286)][_0x5bb0e1(0x2bf)](),'selection':Si(_0x31e198)}};this[_0x5bb0e1(0x286)][_0x5bb0e1(0x370)](_0x56bda7,this[_0x5bb0e1(0x447)]);},is)),(this[_0x2a7c7a(0x447)]=_0x2903e7,this['_session']=_0x44445b,this['_injector']=_0x23a428,this['_colorAssignService']=_0x40aba5,this[_0x2a7c7a(0x338)]=_0x5e42f7,this[_0x2a7c7a(0x2e1)]=_0x2f62ba,this['_transformService']=_0x587c29,this['_univerInstanceService']=_0xd9c239,this['_commandService']=_0x133854);}get[_0xbb724d(0x2d4)](){return this['_cursorInfo$']['getValue']();}get[_0xbb724d(0x52a)](){const _0x5c9faa=_0xbb724d;return this[_0x5c9faa(0x2e5)][_0x5c9faa(0x333)]();}[_0xbb724d(0x16a)](){const _0x4532fa=_0xbb724d;super[_0x4532fa(0x16a)](),this['_cursorInfo$'][_0x4532fa(0x32a)](new Map()),this[_0x4532fa(0x217)][_0x4532fa(0x22b)](),this['_roomMembers$'][_0x4532fa(0x32a)]([]),this[_0x4532fa(0x2e5)]['complete']();}[_0xbb724d(0x212)](){const _0x1ced9c=_0xbb724d;this['_init']||(this['_init']=!0x0,this['_session'][_0x1ced9c(0xc6)][_0x1ced9c(0x52f)](A['takeUntil'](this[_0x1ced9c(0x279)]))[_0x1ced9c(0x2ae)](_0x2d239c=>{const _0x588cfc=_0x1ced9c;_0x2d239c===se[_0x588cfc(0x498)]?this[_0x588cfc(0xbe)]():this['_toggleOffline']();}),this[_0x1ced9c(0x286)]['event$'][_0x1ced9c(0x52f)](A['takeUntil'](this[_0x1ced9c(0x279)]))['subscribe'](_0x2394fb=>{const _0x2e712d=_0x1ced9c,_0x1139a2=_0x2394fb[_0x2e712d(0x470)];_0x1139a2===p[_0x2e712d(0x29f)][_0x2e712d(0x34f)]&&this[_0x2e712d(0xfe)](_0x2394fb),_0x1139a2===p[_0x2e712d(0x29f)][_0x2e712d(0x22e)]&&this[_0x2e712d(0x2a8)](_0x2394fb);}),this[_0x1ced9c(0x2ad)](this[_0x1ced9c(0x417)]['onCommandExecuted'](_0x5db42d=>{const _0x458432=_0x1ced9c,_0x10b3fc=_0x5db42d['params'];_0x10b3fc!=null&&this[_0x458432(0x442)]&&_0x5db42d['id']===Ie[_0x458432(0x198)]['id']&&_0x10b3fc[_0x458432(0x4a0)]===this[_0x458432(0x447)]&&_0x10b3fc['isEditing']===!0x1&&_0x10b3fc['ranges'][_0x458432(0x2d9)]>0x0&&this[_0x458432(0x201)](_0x10b3fc[_0x458432(0x332)]);})),this['_syncEditingCollabCursorService'][_0x1ced9c(0x151)][_0x1ced9c(0x52f)](A[_0x1ced9c(0x262)](this[_0x1ced9c(0x279)]))[_0x1ced9c(0x2ae)](_0x2f7aee=>{const _0x199e83=_0x1ced9c;if((_0x2f7aee==null?void 0x0:_0x2f7aee['unitID'])!==this['unitID'])return;const _0x4f8917={'eventID':p[_0x199e83(0x29f)][_0x199e83(0x34f)],'data':_0x2f7aee};this[_0x199e83(0xfe)](_0x4f8917);}),this['disposeWithMe'](this[_0x1ced9c(0x417)][_0x1ced9c(0x31b)](_0x5f2438=>{const _0x2fb5c8=_0x1ced9c;if(_0x5f2438['params']==null)return;const _0xb11af7=_0x5f2438[_0x2fb5c8(0x1be)];if(_0x5f2438['id']!==Ie[_0x2fb5c8(0x250)]['id']||_0xb11af7[_0x2fb5c8(0x4a0)]!==this[_0x2fb5c8(0x447)])return;const _0x21b258={'id':'doc.mutation.rich-text-editing','params':_0xb11af7},_0x56df50=this[_0x2fb5c8(0x2d4)];for(const [_0x458596,_0x52cd5f]of _0x56df50){const _0x3f343d={'id':_0x2fb5c8(0xc4),'params':{'unitId':this[_0x2fb5c8(0x447)],'actions':null,'textRanges':_0x52cd5f['ranges']}},_0x575a72=this[_0x2fb5c8(0x522)]['transformMutation'](_0x21b258,_0x3f343d,!0x1);if(p[_0x2fb5c8(0x32e)](_0x575a72))throw _0x575a72[_0x2fb5c8(0x1d8)];_0x56df50['set'](_0x458596,{..._0x52cd5f,'ranges':_0x575a72['m2Prime']['params'][_0x2fb5c8(0x2b4)]});}queueMicrotask(()=>{const _0x27a002=_0x2fb5c8;this[_0x27a002(0x217)][_0x27a002(0x32a)](_0x56df50);});})));}['_onCursorUpdate'](_0x441a89){const _0x52507b=_0xbb724d;var _0x281c8a,_0x252854;const {memberID:_0x475bae,selection:_0x3e2167}=_0x441a89['data'],_0x549994=Ln(_0x3e2167),_0x246e2c=(_0x252854=(_0x281c8a=this[_0x52507b(0x338)][_0x52507b(0x18b)](this[_0x52507b(0x447)],_0x475bae))==null?void 0x0:_0x281c8a[_0x52507b(0x4cc)])!=null?_0x252854:'Unknown\x20user',_0x388480={'color':this[_0x52507b(0x398)]['assignAColorForMemberID'](_0x475bae),'name':_0x246e2c,'ranges':_0x549994},_0x3d7b19=this[_0x52507b(0x2d4)];_0x3d7b19[_0x52507b(0x117)](_0x475bae,_0x388480),this[_0x52507b(0x217)][_0x52507b(0x32a)](_0x3d7b19);}[_0xbb724d(0x2a8)](_0x4a75a5){const _0x36ddcc=_0xbb724d,{memberID:_0x143348}=_0x4a75a5['data'],_0x4c7f26=this['cursorInfo'];_0x4c7f26[_0x36ddcc(0x1e6)](_0x143348),this[_0x36ddcc(0x217)][_0x36ddcc(0x32a)](_0x4c7f26);}['_toggleOnline'](){const _0x2a3b80=_0xbb724d;var _0x4919a9;if(this[_0x2a3b80(0x442)]=!0x0,((_0x4919a9=this[_0x2a3b80(0x20b)]['getFocusedUnit']())==null?void 0x0:_0x4919a9[_0x2a3b80(0x285)]())!==this[_0x2a3b80(0x447)])return;const _0x102509=this['_injector'][_0x2a3b80(0x2c9)](Ie[_0x2a3b80(0x266)])[_0x2a3b80(0x29c)]();Array['isArray'](_0x102509)&&_0x102509[_0x2a3b80(0x2d9)]>0x0&&this[_0x2a3b80(0x201)](_0x102509);}[_0xbb724d(0x3b9)](){const _0x5564be=_0xbb724d;this[_0x5564be(0x442)]=!0x1;}};pt=es([me(0x2,a['Inject'](a[_0xbb724d(0x2d2)])),me(0x3,a[_0xbb724d(0x271)](Dt)),me(0x4,a[_0xbb724d(0x271)](exports[_0xbb724d(0x420)])),me(0x5,a[_0xbb724d(0x271)](yt)),me(0x6,p[_0xbb724d(0x525)]),me(0x7,a[_0xbb724d(0x4c0)]),me(0x8,a[_0xbb724d(0x39a)])],pt);var ns=Object['defineProperty'],ss=Object[_0xbb724d(0x13d)],rs=(_0x345c39,_0x5731b7,_0x29059b,_0xffda6c)=>{const _0x503be7=_0xbb724d;for(var _0x521bcf=_0xffda6c>0x1?void 0x0:_0xffda6c?ss(_0x5731b7,_0x29059b):_0x5731b7,_0x4c7c72=_0x345c39[_0x503be7(0x2d9)]-0x1,_0x31118e;_0x4c7c72>=0x0;_0x4c7c72--)(_0x31118e=_0x345c39[_0x4c7c72])&&(_0x521bcf=(_0xffda6c?_0x31118e(_0x5731b7,_0x29059b,_0x521bcf):_0x31118e(_0x521bcf))||_0x521bcf);return _0xffda6c&&_0x521bcf&&ns(_0x5731b7,_0x29059b,_0x521bcf),_0x521bcf;},Te=(_0x23f62d,_0x596246)=>(_0x4b3e73,_0x4a7db4)=>_0x596246(_0x4b3e73,_0x4a7db4,_0x23f62d);const os=0x12c,as=0x64,cs=()=>{let _0x2461d4=[],_0x5492ea=!0x1;return _0x2c12b6=>{_0x2461d4['push'](_0x2c12b6),_0x5492ea||(_0x5492ea=!0x0,setTimeout(()=>{_0x2461d4['forEach'](_0xfafc30=>_0xfafc30()),_0x2461d4=[],_0x5492ea=!0x1;}));};};let mt=class extends a[_0xbb724d(0x2fb)]{constructor(_0x5b6053,_0x2f1a8d,_0x2069dd,_0x874fe5,_0x51457d,_0x451181,_0x30038b,_0x4693de){const _0x11a058=_0xbb724d;super(),I(this,_0x11a058(0x442),!0x1),I(this,'_init',!0x1),I(this,_0x11a058(0x217),new A[(_0x11a058(0x11e))](new Map())),I(this,'cursorInfo$',this['_cursorInfo$'][_0x11a058(0x14b)]()),I(this,_0x11a058(0x2e5),new A[(_0x11a058(0x11e))]([])),I(this,'roomMembers$',this['_roomMembers$'][_0x11a058(0x52f)](A[_0x11a058(0x2e8)](os))),I(this,_0x11a058(0x201),a[_0x11a058(0x507)]((_0x395d0a,_0x423e16)=>{const _0x3df137=_0x11a058,_0x1f5c74={'eventID':p[_0x3df137(0x29f)][_0x3df137(0x34f)],'data':{'unitID':this[_0x3df137(0x447)],'memberID':this['_session'][_0x3df137(0x2bf)](),'selection':Mt[_0x3df137(0x4e3)](_0x395d0a,_0x423e16[_0x3df137(0x2f0)])}};this[_0x3df137(0x286)]['send'](_0x1f5c74,this[_0x3df137(0x447)]);},as)),(this[_0x11a058(0x447)]=_0x5b6053,this[_0x11a058(0x286)]=_0x2f1a8d,this[_0x11a058(0x299)]=_0x2069dd,this['_colorAssignService']=_0x874fe5,this[_0x11a058(0x338)]=_0x51457d,this['_univerInstanceService']=_0x451181,this[_0x11a058(0x417)]=_0x30038b,this[_0x11a058(0x1c4)]=_0x4693de);}get[_0xbb724d(0x2d4)](){const _0x413a7d=_0xbb724d;return this[_0x413a7d(0x217)][_0x413a7d(0x333)]();}get[_0xbb724d(0x52a)](){const _0x5edf09=_0xbb724d;return this['_roomMembers$'][_0x5edf09(0x333)]();}['dispose'](){const _0x2b4327=_0xbb724d;super[_0x2b4327(0x16a)](),this['_cursorInfo$'][_0x2b4327(0x32a)](new Map()),this[_0x2b4327(0x217)]['complete'](),this['_roomMembers$'][_0x2b4327(0x32a)]([]),this[_0x2b4327(0x2e5)]['complete']();}['init'](){const _0x3e0222=_0xbb724d;this[_0x3e0222(0x3ab)]||(this[_0x3e0222(0x3ab)]=!0x0,this[_0x3e0222(0x286)][_0x3e0222(0xc6)]['pipe'](A['takeUntil'](this[_0x3e0222(0x279)]))[_0x3e0222(0x2ae)](_0x54bda3=>{const _0x100852=_0x3e0222;_0x54bda3===se['ONLINE']?this[_0x100852(0xbe)]():this['_toggleOffline']();}),this[_0x3e0222(0x286)][_0x3e0222(0x3a7)][_0x3e0222(0x52f)](A['takeUntil'](this[_0x3e0222(0x279)]))['subscribe'](_0x506ffe=>{const _0x4d9728=_0x3e0222,_0x1596da=_0x506ffe[_0x4d9728(0x470)];_0x1596da===p['CollaborationEvent'][_0x4d9728(0x34f)]&&this[_0x4d9728(0xfe)](_0x506ffe),_0x1596da===p['CollaborationEvent'][_0x4d9728(0x22e)]&&this[_0x4d9728(0x2a8)](_0x506ffe);}),this['_onRefRangeChange'](),this[_0x3e0222(0x2ad)](this[_0x3e0222(0x417)]['onCommandExecuted'](_0x1b6d08=>{const _0x4f15e6=_0x3e0222;if(this['_online']&&_0x1b6d08['id']===k[_0x4f15e6(0x2a2)]['id']&&_0x1b6d08[_0x4f15e6(0x1be)][_0x4f15e6(0x4a0)]===this[_0x4f15e6(0x447)]){const _0x5177fb=_0x1b6d08[_0x4f15e6(0x1be)];this['_updateLocalCursor'](_0x5177fb[_0x4f15e6(0x375)],_0x5177fb[_0x4f15e6(0x3df)][0x0]);}})));}[_0xbb724d(0xfe)](_0x494033){const _0x508c4a=_0xbb724d;var _0x355fc7,_0x52510e;const {memberID:_0xeacfd9,selection:_0x264e71}=_0x494033['data'],{sheetName:_0x27d7f2,range:_0x3f088f}=Mt['deserializeRangeWithSheet'](_0x264e71),_0x3640f5={'name':(_0x52510e=(_0x355fc7=this['_memberService'][_0x508c4a(0x18b)](this[_0x508c4a(0x447)],_0xeacfd9))==null?void 0x0:_0x355fc7[_0x508c4a(0x4cc)])!=null?_0x52510e:_0x508c4a(0x4ac),'range':this[_0x508c4a(0x3cb)](_0x27d7f2,_0x3f088f),'sheetID':_0x27d7f2,'color':this[_0x508c4a(0x398)][_0x508c4a(0x43c)](_0xeacfd9),'selection':_0x264e71},_0x5abbfd=this['cursorInfo'];_0x5abbfd['set'](_0xeacfd9,_0x3640f5),this[_0x508c4a(0x217)][_0x508c4a(0x32a)](_0x5abbfd);}['_onCursorDelete'](_0x11a175){const _0x3087fa=_0xbb724d,{memberID:_0x1f390b}=_0x11a175['data'],_0x5f268e=this[_0x3087fa(0x2d4)];_0x5f268e[_0x3087fa(0x1e6)](_0x1f390b),this[_0x3087fa(0x217)][_0x3087fa(0x32a)](_0x5f268e);}[_0xbb724d(0x3cb)](_0xf93335,_0x1b5b01){const _0x4942fa=_0xbb724d;var _0x1ea830,_0x448f88;const _0x423591=(_0x448f88=(_0x1ea830=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x4942fa(0x447)]))==null?void 0x0:_0x1ea830[_0x4942fa(0x502)](_0xf93335))==null?void 0x0:_0x448f88[_0x4942fa(0x1b4)]();return(_0x423591==null?void 0x0:_0x423591[_0x4942fa(0x412)](_0x57ed5f=>a[_0x4942fa(0x348)][_0x4942fa(0x13c)](_0x57ed5f,_0x1b5b01)))||_0x1b5b01;}['_onRefRangeChange'](){const _0x3085da=_0xbb724d,_0x3adc24=new a[(_0x3085da(0x2b5))](),_0xf1d40=cs(),_0x379f7f=()=>{const _0x6e5130=_0x3085da;_0x3adc24[_0x6e5130(0x16a)]();const _0x49b24b=(_0x2545a8,_0x107b58,_0x1595f9,_0x5bfddf)=>{const _0x174905=_0x6e5130;let _0x38b65e=[];switch(_0x2545a8['id']){case k['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x38b65e=k[_0x174905(0xdd)](_0x2545a8,_0x5bfddf);break;}case k[_0x174905(0x38a)][_0x174905(0x126)]:{_0x38b65e=k['handleDeleteRangeMoveUp'](_0x2545a8,_0x5bfddf);break;}case k[_0x174905(0x38a)][_0x174905(0x16e)]:{_0x38b65e=k['handleInsertCol'](_0x2545a8,_0x5bfddf);break;}case k['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x38b65e=k['handleInsertRangeMoveDown'](_0x2545a8,_0x5bfddf);break;}case k[_0x174905(0x38a)]['InsertRangeMoveRightCommandId']:{_0x38b65e=k['handleInsertRangeMoveRight'](_0x2545a8,_0x5bfddf);break;}case k[_0x174905(0x38a)]['InsertRowCommandId']:{_0x38b65e=k[_0x174905(0x4d2)](_0x2545a8,_0x5bfddf);break;}case k[_0x174905(0x38a)]['MoveRangeCommandId']:{_0x38b65e=k[_0x174905(0x3c5)](_0x2545a8,_0x5bfddf);break;}case k['EffectRefRangId']['RemoveColCommandId']:{_0x38b65e=k['handleIRemoveCol'](_0x2545a8,_0x5bfddf);break;}case k[_0x174905(0x38a)][_0x174905(0x4a5)]:{_0x38b65e=k[_0x174905(0x193)](_0x2545a8,_0x5bfddf);break;}}const _0x2c56f6=k[_0x174905(0x16d)](_0x38b65e,_0x5bfddf),_0x2580eb=this['cursorInfo'][_0x174905(0x2c9)](_0x107b58);if(_0x2580eb&&_0x2c56f6){const _0x1bfeb9={..._0x2580eb,'range':_0x2c56f6};this[_0x174905(0x2d4)][_0x174905(0x117)](_0x107b58,_0x1bfeb9),_0xf1d40(()=>{const _0x56ba82=_0x174905,_0x3203ef=this[_0x56ba82(0x1c4)]['registerRefRange'](_0x2c56f6,_0x26b9be=>(_0x3203ef['dispose'](),_0x49b24b(_0x26b9be,_0x107b58,_0x1595f9,_0x2c56f6)));_0x3adc24['add'](_0x3203ef);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6e5130(0x53b)]((_0x32cf07,_0x271cc4)=>{const _0x1127d4=_0x6e5130,{range:_0x565afb,sheetID:_0x1454c3}=_0x32cf07,_0x2f001e=this[_0x1127d4(0x1c4)][_0x1127d4(0x36d)](_0x565afb,_0x5c9bc3=>(_0x2f001e['dispose'](),_0x49b24b(_0x5c9bc3,_0x271cc4,_0x1454c3,_0x565afb)));_0x3adc24['add'](_0x2f001e);});};this[_0x3085da(0x2ad)](a[_0x3085da(0x2b7)](this[_0x3085da(0x217)][_0x3085da(0x2ae)](()=>{_0x379f7f();})));}['_toggleOnline'](){const _0x5687f4=_0xbb724d;var _0x2e819f,_0x4f21e0;if(this[_0x5687f4(0x442)]=!0x0,((_0x2e819f=this[_0x5687f4(0x20b)][_0x5687f4(0x405)]())==null?void 0x0:_0x2e819f[_0x5687f4(0x285)]())!==this[_0x5687f4(0x447)])return;const _0x431702=(_0x4f21e0=this[_0x5687f4(0x299)][_0x5687f4(0x2c9)](k[_0x5687f4(0x516)])[_0x5687f4(0xc1)]())==null?void 0x0:_0x4f21e0[0x0],_0x1b4b48=this[_0x5687f4(0x20b)][_0x5687f4(0x36e)](a[_0x5687f4(0xd5)]['UNIVER_SHEET'])[_0x5687f4(0x42e)]();_0x431702&&_0x1b4b48&&this[_0x5687f4(0x201)](_0x1b4b48[_0x5687f4(0x17a)](),_0x431702);}[_0xbb724d(0x3b9)](){this['_online']=!0x1;}};function _0x2701(){const _0x499e1a=['_redoStacks','HmacSHA1','src','MergeInterceptorFactory','[CollaborationSessionService]','min','/rev/','SHA1','5096212LVuaYe','setWaitCount','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','EffectRefRangId','[UniverCollaborationClientPlugin]','USERS_ENTER','saveImage','disableLocalCache','_transformUndoRedoStack','rev','_mode','_updateCollabCursors','telemetry\x20info\x20is\x20not\x20initialized','DocCollaborationEntity','WebSocketService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','transformRemoteChangeset','_colorAssignService','_resendWithTimeout','ICommandService','delay','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sin','_queuedRemoteChangesets','allowed','useDependency','@univerjs/drawing','_onRemoteACK','onSendChangeset','_scene','exhaustSavingTask','body','event$','synced','getRangePointData','signUrlServerUrl','_init','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','conflict','rgba(255,\x20255,\x20255,\x200.01)','deserializeToCombResponse','getCollabCursors$','_permissionService','UniverIcon','objectType','[PendingState]:\x20received\x20rejection.','UNIVER_UNKNOWN','getRelativeToViewportCoord','APPLY_DUPLICATED','concat','_toggleOffline','IURLService','HEARTBEAT_TIMEOUT','getParam','getOwnPropertySymbols','LOCAL_CACHE_INTERVAL','toString','_clearRedo','_messageService','enableSingleActiveInstanceLock','_joinRoom','permission.content','handleMoveRange','url(#$1','Utf8','_docSkeletonManagerService','/universer-api/snapshot/','NEW_CHANGESETS','_getMergeRange','cmd','getUndoRedoMutationParamsCache','_docSkeleton','_sessionStatus$','_selfUnitIDs','_backgroundColor','_initStatusListener','_initEventListeners','collab-text-range-','blockSize','_substituteUndoStack','children','collabStatus.conflict','abs','JOIN_ROOM_FULL','_registerDependencies','sessionTicket','_sendHeartbeatTimer','registerDependencies','selections','_incrementRevisionNumber','_range','onRemoteRetry','_transformSelections','IImageIoService','_replaceFileID','clearInterval','_telemetryService','_tryReconnect','_getAPIPrefixPath','_keySchedule','_shapes','_loadSheet','WorkbookEditablePermission','resolve','_type','_onJoinRoomEvent','infoRsp','attrs','color','includes','_themeService','shareReplay','startTime','memberID','loadOfflineData','socket$','replace','APPLY_PERMISSION_DENIED','getDeserializedSheetBlock','awaiting','m2Prime','_hover','[CollaborationUndoRedoService]','drawWith','getResourcesRequest','add','getFocusedUnit','authzUrl','loadDoc','jsx','gold400','_clearCollaborationTimeoutTimer','hovered','jiqing500','Hasher','_revisionService','onMissingChangesets','DataLoaderController','state','find','_collaborationController','JOIN','HmacMD5','_getRedoStack','_commandService','lineTo','_onRecvEvent','registerHTTPInterceptor','snapshotServerUrl','setInterval','UNIVER_PROJECT','save\x20fail\x20reason\x20is\x20','react','MemberService','transform','url(#on-line-single_clip0_910_349)','_singleActiveUnitService','DocStateChangeManagerService','startsWith','/new_changes','isTransformMutationsWithChangesetSuccess','_process','_iv','setUndoRedoMutationParamsCache','LICENSE_IMPORT_SIZE_EXCEEDED','_initDependencies','socket\x20close','getActiveSheet','COMPRESS_MUTATION_SEND','origin','CompressMutationService','forwardRef','UPDATE_PERMISSION_OBJ','idSuffix','isActive','objectActions','LIVESHARE_FETCH_OPERATIONS','Rect','SnapshotServerOverHTTPService','storage','onlyLocal','assignAColorForMemberID','_HTTPService','CONFLICT','current','_ensureSubject','SUBMIT_CHANGESET','_online','_resendTimer','_render','NO_OTHER_CLIENTS_EDITING','closeSession','unitID','_handleLeaveEvent','column','defaultProps','resend','UNIVER_DOC','encryptBlock','_scheduleTimestamp','stringify','_startTelemetryCollaborationNewChangeset','[CollaborationEntity]','values','off-line-single_clip0_910_343','_snapshotServerService','fetch_missing','reject','/unit/','getRandomValues','_checkMissing','RegularPolygon','_handleHover','_colorIndex','@univerjs/ui','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_clearOtherTimers','_getUndoStack','/universer-api/user/session-ticket','onTransformRemoteChangesetByStateCache','_anchorDot','/object/','revision','UserManagerService','for','saveOfflineData','_remoteChangesetQueue','0\x200\x2017\x2016','_awaitingChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','text','UNIVER_SLIDE','RevisionService','eventID','setActiveRange','UNIVER_COLLABORATION_CLIENT_PLUGIN','replaceDocRanges','_substituteRedoStack','online','SEND_CHANGESET_TIMEOUT_KEY','transformIMECache','MD5','_lockTransition','onMouseMove','_throwTelemetryCollaborationNewChangeset','getCollabEntity','currentSkeleton$','onTransformIME','mixIn','x-univer-host','_initCommandExecutedListener','getSheetObject','IDLE','salt','setConfig','SheetPermissionInitController','RETRY_CONNECTING_MAX_COUNT','_undoRedoService','EmptyMutation','YUUMI_UNABLE_LOAD_URL','#FFF','trim','_decreaseWaiting','Latin1','pluginName','_localStorageService','_hovered','_sendHeartbeat','createSocket','BASE64','pushState','interceptor','getVpScrollXYInfoByPosToVp','ONLINE','_commentService','startColumn','COMPRESS_MUTATION_APPLY','_resendTimeout','44691xMgUBM','offline','NodePositionConvertToRectRange','unitId','clearTimeout','urlChange$','createIdentifier','toLowerCase','RemoveRowCommandId','size','_doProcessBlock','CollaborationSocketService','compose','1842rjLdPv','onRemoteRej','Unknown\x20user','LocalUndoRedoService','&to=','UnitEmbedded','_rescheduleHeartbeat','findNodePositionByCharIndex','transformMutation','default','permission.title','/resources','iterations','_getUploadFileURL','override','Univer','_localCacheService','_imageIoService','ceil','processBlock','getInterceptPoints','univer-pro.collaboration-client.single-active-unit-service','IUniverInstanceService','msCrypto','_clearUndo','_candidateSocket','_handleHeartbeatEvent','react.fragment','AWAITING_WITH_PENDING','_loadDoc','univer-offline','SheetSkeletonManagerService','OnLineSingle','Disposable','name','has','[OfflineState]:\x20received\x20rejection.','CHANGESET_ACK','People','?url=','handleInsertRow','measureText','fromEvent','getItem','_updateLocalCache','_event$','title','ITelemetryService','HMAC','_handler','/block/','collabStatus.notCollab','take','ivSize','OpenSSL','clear','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','serializeRangeWithSheet','post','_schedule','repeat','_fetchMissChangesets','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_key','&source=','SetDocZoomRatioOperation','_onConnectionFailed','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','permissionRejEvent','_retryConnectingTimer','_getSignURL','_onUserLeave','b64DecodeUnicode','session.room-full','unit-cache-','registerBeforeClose','removeMember','[CollaborationSession]','message$','_localeService','joinEvent','$super','currentTheme$','M0\x200H16V16H0z','_updateSubUnitFromURLParams','closePath','_hash','shouldCloseConn','getSheetBySheetId','collaboration.closeRoom','HEARTBEAT_INTERVAL_KEY','_onConflict','sheetId','debounce','INTERNAL_ERROR','randomBytes','subunit','LIVESHARE_TERMINATE','NoPadding','setParam','setShowComponents','type','DocIMEInputManagerService','LIVESHARE_NEW_HOST','_hasher','\x20to\x20','_createHandler','IContextService','SheetsSelectionsService','selection','_changesetSessionId','getCoordByCell','@univerjs/design','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','univer-online-status-title','userID','_data','JSONX','_isPermissionRej','_eventUnsubscribe','_transformService','_telemetryInfo','stopTime','ITransformService','...','commentUpdate$','debug','_renderManagerService','roomMembers','toStringTag','_startSheetCollabCursor','_iKey','liveShareOperation','pipe','TEXT_RANGE_LAYER_INDEX','_onRemoteChangeset','changesets','UniverNetworkPlugin','unload','@univerjs/docs','DesktopCollaborationStatusDisplayController','byteLength','Subject','HTTPService','_beforeCloseService','forEach','__creator','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','randomUUID','sessionStatus','_socketMessageSubscription','loginUrlKey','_timeoutTimer','endRow','join','_transformPreviousActiveRange','getUnitType','Error','_saveCache','LICENSE_MAX_UNITS_EXCEEDED','concatMap','addEventListener','_nDataBytes','image/bmp','CollaborationController','redoState','cfg','objects','@univerjs/core','headers','_clearHeartbeatTimer','JOIN_ROOM_NOT_ALLOWED','labelPosition','enc','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_retryCount','isArray','IPermissionService','_docSyncEditingCollabCursorService','@univerjs/sheets','_cursors','requestParams','appendMutation','[CollaborationSessionService]:\x20socket\x20error','_scheduleCollaborationTimeoutTimer','SHOULD_CLOSE_CONN','deleteCollaborator','isTransformMutationsWithChangesetFailure','APPLY_REVISION_CONFILICT','formatter','NOT_FOUND','bind','merge','failed\x20to\x20apply\x20missed\x20changesets!','every','_updateStatus','ThemeService','_transformHistoryAndStateStack','verdancy600','_hideTimer','LIVESHARE_OPERATION','_collabCursorState$','close$','_onFetchMissResult','href','_change$','show','height','getCurrentUser','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_undoStacks','IConfigService','apply','_toggleOnline','_config','status$','getCurrentSelections','INGEST','UNDEFINED','doc.mutation.rich-text-editing','Warning','sessionStatus$','COLLAB_SUBMIT_CHANGESET_URL_KEY','docStateChange$','updatePermissionPoint','ERROR_IMAGE_TYPE','?size=','xlink:href','_applyRemoteChangeset','keySize','members','CommentService','liveShareNewHost','all','c2Prime','TEXT','UniverInstanceType','MessageType','/universer-api/oidc/authpage','ws://127.0.0.1:8000/universer-api/comb/connect','/universer-api/comb','encrypt','_removeCollabCursors','@univerjs/telemetry','handleDeleteRangeMoveLeft','session','CHANGESET_SHOULD_RETRY','_collabCursorController','@univerjs/engine-formula','getUnitStatus$','off-line-single','CollaborationEntity','setAlpha','_configService','ISnapshotServerService','not_collab','createDecryptor','some','_roomMembers','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','change$','error$','_color','_showConflictNotification','icon','onRemoteChangeset','_stopTelemetryCollaborationNewChangeset','fromEventSubject','LICENSE_DISTRO_REJECTED','IRenderManagerService','collaboration_new_changeset','splice','_docTransformStateCacheService','reset','pad','charAt','_doReset','_onCursorUpdate','getCurrentRevOfUnit','_unitStatus','UnitSnapshot','_socket$','_startDocCollabCursor','OFFLINE','pending','_registerRenderDependencies','_sendingTimer','fetchThroughInterceptors','getAncestorScale','sigBytes','jsxs','_oKey','byteOffset','with','unsubscribe','_handleJoinEvent','originalMeta','isTransformChangesetsSuccess','_updateState','hostname','put','newCsEvent','set','transformMutationsWithChangeset','max','Decryptor','purple300','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ImageUploadStatusType','BehaviorSubject','fromCharCode','_anchor','_executeRemoteChangeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_instanceService','_onOffline','getColor','DeleteRangeMoveUpCommandId','_heartbeatTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_assignedColors','OffLineSingle','HEADER_MENU','fillText','div','mapDocumentTypeToUniverType','Could\x20not\x20dynamically\x20require\x20\x22','/collaborator','collaboration.single-unit.warning','UNAUTHENTICATED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','univer-online-status-icon','_getSaveTimeout','_id','_collaborationSessionService','_ws','reduce','collabStatus.offline','0\x200\x2016\x2016','contains','getOwnPropertyDescriptor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','fill','univer-online-status','_waitForHeartbeatResponse','ciphertext','_DEC_XFORM_MODE','_acknowledgedAwaitingChangeset','@univerjs-pro/collaboration','VIEW_MAIN','_compressMutationService','SheetCollaborationEntity','Fragment','_refreshCollabCursors','asObservable','triggerDblclick','onMissedChangesetFetched','collaboration-client.offline-data-not-saved','_imageSourceCache','blue400','collabCursorState$','image/jpg','UNKNOWN_CMD','compute','enableOfflineEditing','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_invKeySchedule','session.will-retry','IBeforeCloseService','_transformUndoredo','retryConnectingInterval','BlockCipher','LOCAL_CACHE_INTERVAL_KEY','_unitID','_getSessionTicket','addClipboardHook','then','addObjects','_xformMode','defineProperty','_docTransformSelectionsService','_listenToOfflineEvent','csShouldRetryEvent','_drawTextRange','BlockCipherMode','dispose','_collabSessionService','_textBubble','runRefRangeMutations','InsertColCommandId','collaboration-client.config','focused$','list','file','collabStatus.syncing','ref','getUnitOnRev','SEND_CHANGESET_TIMEOUT','from','_labelPosition','_getScale','getSheetId','[OfflineState]:\x20received\x20acknowledgement.','csAckEvent','onPointerLeave$','deepClone','fillStyle','onCommentUpdate','[DataLoaderController]','crypto','transformStateCache','hasher','UNRECOGNIZED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_sender','_waitCount','EvpKDF','conflict.content','getMember','_disabled','_createInitialState','Optional','_drawAnchor','copyFileMeta','NOT_COLLAB','reqId','handleIRemoveRow','univer-pro.collaboration-client-socket-service','padding','createInstance','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','SetTextSelectionsOperation','skeleton','create','clamp','extend','entries','black','status','ColorKit','getRenderById','hide','_logService','transformUndoRedo','NodePositionConvertToCursor','_clearLocalCache','indexOf','update','none','batchAllowed','requireSession','UNIVER_SHEET','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','c1Prime','/universer-api/snapshot','_context','charCodeAt','words','registerComponent','getMergeData','workbook','connection\x20error','\x0aCurrent:\x20','8953lQmUNZ','ReactCurrentOwner','bottom','SYNCED','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','baseRev','params','IMessageService','action','wsSessionTicketUrl','svg','toggleOffline','_refRangeService','_sessions','AuthzIoHttpService','getAllMembers','_handleEvent','_minBufferSize','replaceState','1em','_clearTimeoutTimer','_unlockTransition','hasOwnProperty','map','\x20in\x20_schedule.','ACTIVE_UNIT_EVENT_CHANNEL','getStateCache','SNAPSHOT_HAS_BEEN_REMOVED','translate(.97)','actions','_onRemoteRetry','_onLocalMutation','error','LocalCacheService','COMPLETION_FINISHED','Base','CONNECTOR_DATA_TOO_LARGE','_docStateChangeManagerService','onSyncEditingCollabCursor','_entityInit$','leaveEvent','kdf','patch','imageSourceType','HELLO','onRemoteAck','delete','transformSelections','_name','endColumn','width','string','__esModule','YUUMI_URL_COL_OUT_OF_RANGE','COMMENT_UPDATE','tag','Workbook','/universer-api/stream/file/upload','MUTATION','addObject','_createHmacHelper','@univerjs/network','_initUnitPermissionChange','fillRule','top','_socket','switchMap','UNKNOWN_CODE','_ENC_XFORM_MODE','Tools','_reverseMap','number','saveSheetBlock','_updateLocalCursor','DocSkeletonManagerService','sheetID','_doFinalize','collabWebSocketUrl','close','_entities','COLLAB_WEB_SOCKET_URL_KEY','getTypeOfUnitDisposed$','_shouldReportTelemetry','_univerInstanceService','transformChangesets','CommandType','moveTo','_unitOnClients','ERROR_IMAGE','IMentionIOService','init','textEncoder','toRgbString','catch','_getDownloadEndpointURL','_cursorInfo$','Shape','PSEUDO_FETCH_MISSING_RESULT','engine','COLORS','MentionType','_httpService','filter','HttpImport','now','push','_docTransformIMECacheService','_setupBeforeClosingHandler','key','_sheetSkeletonManagerService','onTransformRemoteChangesetByIMECache','random','image/png','awaiting_with_pending','socketService','complete','_setupSubUnitSync','createEncryptor','USERS_LEAVE','_send','/universer-api/file/{fileID}/sign-url','executeCommand','backgroundColor','font','collaboratorID','registerRenderModule','Encryptor','toggleOnline','data','unshift','TOO_MANY_REQUESTS','909kycjsE','_initRequestHeader','substring','[CollaborationState]:\x20apply\x20error!','unpad','_scheduleHeartbeat','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','POST','format','SheetCollabCursorShape','colorChannel1','unknown','joinRsp','evenodd','_onMessage','call','MSG_FOR_ERROR','path','auth.needGotoLoginAlert','_onCombEvent','collabSubmitChangesetUrl','RichTextEditingMutation','_disableEditing','ticket','LICENSE_EXPORT_SIZE_EXCEEDED','avatar','_transformRemoteChangesetByStateCache','lib','finalize','transformByState','FAIL','Undefined','[FetchMissState]','reverse','target','_initStatusComponent','_getAPIPrefix','sid','_prevBlock','takeUntil','Cipher','symbol','YUUMI_SUBSCRIPTION_NOT_FOUND','DocSelectionManagerService','UUID','uni.network.url-service','_initCloseConn','getUnit','subject','sendChangesetTimeout','generateRandomId','_append','propertyIsEnumerable','_updateURLWithCurrentState','Inject','socket\x20open.','_pendingMutations','unit','_createSocketURL','_syncEditingCollabCursor','APPLY_NON_SEQUENTIAL_REVISION','\x20-\x20','dispose$','disposeUnit','newValue','getConfig','_onConnectionOpen','image/jpeg','APPLY_REJECT','undoState','resourceIDs','_draw','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','function','getUnitId','_session','setShapeProps','JOINING','defs','url','AES','getSheetBlock','3eGnEKH','parseChangesetToProtocol','submit\x20changeset\x20error!','MentionIoHttpService','onPointerMove$','SNAPSHOT_SERVER_URL_KEY','prototype','editing\x20status\x20changed\x20to','searchParams','PERSON','SNAPSHOT_URL_KEY','LOGIN_URL_KEY','_injector','_keyPriorReset','_getSheetObject','getDocRanges','loadSheet','253382VkljCA','CollaborationEvent','collabStatus.fetchMiss','1598300KPstkE','SetSelectionsOperation','parseProtocolChangeset','ImageIoService','RETRY_CONNECTING_MAX_COUNT_KEY','throttleTime','LocaleService','_onCursorDelete','116BMBHNS','_snapshotService','FileId','YUUMI_RATE_OVER_LIMIT','disposeWithMe','subscribe','onlineStatusIcon','PERMISSION_REJ','[PendingState]:\x20received\x20acknowledgement.','conflict.title','_lastPointer','textRanges','DisposableCollection','setCurrentUser','toDisposable','CollaborationSession','LEAVE','_cipher','SNAPSHOT_INVALID_SNAPSHOT','row','parse','_notificationService','getMemberID','_drawRectRange','StreamCipher','isPermissionRej','slice','ImageSourceType','createElement','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','restore','_cachedData','get','_tryEnsureSocket','ILogService','_transformStack','IRemoteInstanceService','onPointerEnter$','ICollaborationSocketService','onTransformChange$','/-/object/-/batch_allowed','Injector','_commentUpdate$','cursorInfo','getSkeleton','_document','reconnect','_userManagerService','length','cursorInfo$','_startCollaboration','INotificationService','editingUnit','HEARTBEAT','ReplaySubject','addImageSourceCache','_syncEditingCollabCursorService','history','arc','defIds','_roomMembers$','_changesetReqId','_replayCachedMutations','debounceTime','FromArray','RECT','onTransformSelections','CollaborationSessionService','ALREADY_EXISTS','_transitionLocked','SetWorksheetActivateCommand','range','unitId\x20is\x20not\x20found','round','floor','Malformed\x20UTF-8\x20data','_transformStateCache','clipPath','className','currentColor','_clearScheduledTask','_urlService','RxDisposable','_uiPartsService','@univerjs/rpc','DOC_RANGE_TYPE','_members','flatMap','IUndoRedoService','enableLocalCache','state$','Base64','UniverCollaborationClientPlugin','react.element','_socketService','responseType','updateMember','incrementRevOfUnit','setItem','_onRemoteRejected','url(#off-line-single_clip0_910_343)','awaitingChangeset','_state','@univerjs/docs-ui','save','_getCurrentRevision','syncEditingCollabCursor','PENDING','_saveTaskMap','getCollabEntity$','BufferedBlockAlgorithm','combineLatest','DEFAULT_FILE_NAME','ENSURE_SNAPSHOT_EXECUTION','onCommandExecuted','setTimeout','withCredentials','localeService','getTime','equals','@univerjs/engine-render','_scheduleClearOtherTimer','onReady','touchDependencies','_onUserJoin','isInternalEditorID','algo','_getCtorByUniverType','2251860pHrHfG','next','getImageSourceCache','LIVESHARE_REQUEST_HOST','useObservable','isTransformMutationFailure','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_socketReady','roles','ranges','getValue','_scheduleSaving','PasswordBasedCipher','WebURLService','red300','_memberService','OTHER_CLIENTS_EDITING','UniverCollaborationPlugin','CHANGESET_REVISION_CONFILICT','fetchMissingChangesets','fetchMiss','location','_nRounds','_collaborationTimeoutTimer','HEARTBEAT_INTERVAL','subscribeEvent','HttpExport','connectInjector','result','rng','onTransformState','Rectangle','onStarting','[OfflineState]:\x20received\x20changeset.','22024QGyWhD','IAuthzIoService','_collaborationPaused','exports','UPDATE_CURSOR','CollaborationStatusDisplay','_submitChangeset','objectID','collaborators','popstate','SnapshotService','open$','beginPath','collab-rect-range-','_getAnchorBounding','on-line-single','clone','displayName','_state$','m1Prime','_getSendChangesetTimeout','fromCollab','_removeRoom','_cursorShapes','WordArray','_removeClearOtherTimer','code','encode','downloadEndpointUrl','collaboration-session-retry','CBC','univer-online','mergeOverrideWithDependencies','_cursor','registerRefRange','getCurrentUnitForType','updateOfflineData','send','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','RECV','routeKey','mutations','subUnitId','Vector2','decrypt','_status$','/fetchmissing?from=','getUnhiddenWorksheets','updatePermissionObjEvent','AUTHZ_URL_KEY','#fff','getTypeOfUnitAdded$'];_0x2701=function(){return _0x499e1a;};return _0x2701();}mt=rs([Te(0x2,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),Te(0x3,a[_0xbb724d(0x271)](Dt)),Te(0x4,a[_0xbb724d(0x271)](exports[_0xbb724d(0x420)])),Te(0x5,a[_0xbb724d(0x4c0)]),Te(0x6,a['ICommandService']),Te(0x7,a[_0xbb724d(0x271)](k['RefRangeService']))],mt);var ls=Object[_0xbb724d(0x164)],hs=Object[_0xbb724d(0x13d)],_s=(_0x362477,_0x39fb29,_0xa9dd41,_0x447829)=>{for(var _0x1ec65c=_0x447829>0x1?void 0x0:_0x447829?hs(_0x39fb29,_0xa9dd41):_0x39fb29,_0xc151ae=_0x362477['length']-0x1,_0x5a20a6;_0xc151ae>=0x0;_0xc151ae--)(_0x5a20a6=_0x362477[_0xc151ae])&&(_0x1ec65c=(_0x447829?_0x5a20a6(_0x39fb29,_0xa9dd41,_0x1ec65c):_0x5a20a6(_0x1ec65c))||_0x1ec65c);return _0x447829&&_0x1ec65c&&ls(_0x39fb29,_0xa9dd41,_0x1ec65c),_0x1ec65c;},nt=(_0x71cbca,_0x5a8e34)=>(_0x2ca906,_0x11ceaa)=>_0x5a8e34(_0x2ca906,_0x11ceaa,_0x71cbca);let De=class extends a[_0xbb724d(0x2fb)]{constructor(_0x164a75,_0x142551,_0x1486c2){const _0x27cd0e=_0xbb724d;super(),I(this,_0x27cd0e(0x207),new Map()),I(this,_0x27cd0e(0x1df),new A[(_0x27cd0e(0x538))]()),(this['_univerInstanceService']=_0x164a75,this[_0x27cd0e(0x299)]=_0x142551,this[_0x27cd0e(0x16b)]=_0x1486c2,this[_0x27cd0e(0x3ab)]());}[_0xbb724d(0x16a)](){const _0x4695a2=_0xbb724d;super[_0x4695a2(0x16a)](),this['_entityInit$']['complete'](),this['_entities']['forEach'](_0x16a9e4=>_0x16a9e4[_0x4695a2(0x16a)]());}[_0xbb724d(0x3b0)](_0x2f628d){const _0x2386b8=_0xbb724d;return this[_0x2386b8(0x207)][_0x2386b8(0x4cd)](_0x2f628d)?this['_entities']['get'](_0x2f628d)[_0x2386b8(0x2da)]:this[_0x2386b8(0x1df)][_0x2386b8(0x52f)](A['filter'](_0x4f4ab3=>_0x4f4ab3[_0x2386b8(0x447)]===_0x2f628d),A['switchMap'](_0xd1305f=>_0xd1305f[_0x2386b8(0x2da)]));}[_0xbb724d(0x3ab)](){const _0x488be4=_0xbb724d;this[_0x488be4(0x20b)][_0x488be4(0x37e)](a[_0x488be4(0xd5)][_0x488be4(0x1ac)])[_0x488be4(0x52f)](A['takeUntil'](this['dispose$']))[_0x488be4(0x2ae)](async _0x47352c=>{const _0x5346fb=_0x488be4,_0x2ede46=_0x47352c[_0x5346fb(0x285)](),_0x336b84=await this[_0x5346fb(0x52c)](_0x2ede46);this[_0x5346fb(0x1df)][_0x5346fb(0x32a)](_0x336b84),this[_0x5346fb(0x207)]['set'](_0x2ede46,_0x336b84);}),this[_0x488be4(0x20b)][_0x488be4(0x37e)](a[_0x488be4(0xd5)][_0x488be4(0x44c)])[_0x488be4(0x52f)](A[_0x488be4(0x262)](this[_0x488be4(0x279)]))[_0x488be4(0x52f)](A[_0x488be4(0x21e)](_0x4c8e07=>!_0x4c8e07[_0x488be4(0x285)]()['startsWith']('__')))['subscribe'](async _0x5a1e07=>{const _0x490614=_0x488be4,_0x2d45d2=_0x5a1e07[_0x490614(0x285)](),_0x25633e=await this[_0x490614(0x103)](_0x2d45d2);this['_entityInit$'][_0x490614(0x32a)](_0x25633e),this['_entities']['set'](_0x2d45d2,_0x25633e);}),A[_0x488be4(0xa9)](this[_0x488be4(0x20b)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x488be4(0x44c)]),this[_0x488be4(0x20b)]['getTypeOfUnitDisposed$'](a[_0x488be4(0xd5)][_0x488be4(0x1ac)]))[_0x488be4(0x52f)](A[_0x488be4(0x262)](this[_0x488be4(0x279)]))['subscribe'](_0x1ad4ef=>{const _0x2e2117=_0x488be4,_0x34eb3f=_0x1ad4ef[_0x2e2117(0x285)](),_0x4dd3ed=this[_0x2e2117(0x207)][_0x2e2117(0x2c9)](_0x34eb3f);_0x4dd3ed&&(_0x4dd3ed[_0x2e2117(0x16a)](),this[_0x2e2117(0x207)][_0x2e2117(0x1e6)](_0x34eb3f));});}async[_0xbb724d(0x52c)](_0xd5bfcc){const _0x216a83=_0xbb724d,_0x33c9fb=await this[_0x216a83(0x16b)][_0x216a83(0x1ab)](_0xd5bfcc),_0x5cf3ee=this[_0x216a83(0x299)][_0x216a83(0x196)](mt,_0xd5bfcc,_0x33c9fb);return _0x5cf3ee[_0x216a83(0x212)](),_0x5cf3ee;}async[_0xbb724d(0x103)](_0x2aa6fd){const _0x42712f=_0xbb724d,_0x1ef3bb=await this[_0x42712f(0x16b)][_0x42712f(0x1ab)](_0x2aa6fd),_0x4fec7e=this['_injector'][_0x42712f(0x196)](pt,_0x2aa6fd,_0x1ef3bb);return _0x4fec7e[_0x42712f(0x212)](),_0x4fec7e;}};De=_s([nt(0x0,a[_0xbb724d(0x4c0)]),nt(0x1,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),nt(0x2,a[_0xbb724d(0x271)](exports[_0xbb724d(0x2ec)]))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x9aa963,_0x5ca3af){const _0x3f0c8d=_0xbb724d;let {radius:_0x25c8e2,width:_0x5b61c4,height:_0x4a0aa5}=_0x5ca3af;_0x25c8e2=_0x25c8e2!=null?_0x25c8e2:0x0,_0x5b61c4=_0x5b61c4!=null?_0x5b61c4:0x1e,_0x4a0aa5=_0x4a0aa5!=null?_0x4a0aa5:0x1e;let _0x1f6c5a=0x0,_0x3e745a=0x0,_0x376f79=0x0;_0x1f6c5a=_0x3e745a=_0x376f79=Math[_0x3f0c8d(0x384)](_0x25c8e2,_0x5b61c4/0x2,_0x4a0aa5/0x2),_0x9aa963[_0x3f0c8d(0x357)](),_0x9aa963[_0x3f0c8d(0x20e)](_0x1f6c5a,0x0),_0x9aa963['lineTo'](_0x5b61c4-_0x3e745a,0x0),_0x9aa963['arc'](_0x5b61c4-_0x3e745a,_0x3e745a,_0x3e745a,Math['PI']*0x3/0x2,0x0,!0x1),_0x9aa963[_0x3f0c8d(0x418)](_0x5b61c4,_0x4a0aa5-_0x376f79),_0x9aa963[_0x3f0c8d(0x2e3)](_0x5b61c4-_0x376f79,_0x4a0aa5-_0x376f79,_0x376f79,0x0,Math['PI']/0x2,!0x1),_0x9aa963['lineTo'](0x0,_0x4a0aa5),_0x9aa963[_0x3f0c8d(0x418)](0x0,_0x1f6c5a),_0x9aa963[_0x3f0c8d(0x2e3)](_0x1f6c5a,_0x1f6c5a,_0x1f6c5a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x9aa963[_0x3f0c8d(0x4ff)](),_0x5ca3af[_0x3f0c8d(0x13f)]&&(_0x9aa963[_0x3f0c8d(0x311)](),_0x9aa963['fillStyle']=_0x5ca3af[_0x3f0c8d(0x13f)],_0x5ca3af[_0x3f0c8d(0x1f7)]===_0x3f0c8d(0x248)?_0x9aa963[_0x3f0c8d(0x13f)](_0x3f0c8d(0x248)):_0x9aa963[_0x3f0c8d(0x13f)](),_0x9aa963[_0x3f0c8d(0x2c7)]());}class Xe extends K[_0xbb724d(0x218)]{constructor(_0x2d3cd9,_0x1c68c8){const _0x4c496b=_0xbb724d;super(_0x2d3cd9,_0x1c68c8),I(this,'color'),I(this,_0x4c496b(0x46d)),(this[_0x4c496b(0x3f3)]=_0x1c68c8==null?void 0x0:_0x1c68c8[_0x4c496b(0x3f3)],this[_0x4c496b(0x46d)]=_0x1c68c8==null?void 0x0:_0x1c68c8['text']);}static[_0xbb724d(0x402)](_0x2ff9a5,_0xb656ea){const _0x387b50=_0xbb724d,{text:_0x447eeb,color:_0x4b3586}=_0xb656ea;_0x2ff9a5[_0x387b50(0x311)](),_0x2ff9a5[_0x387b50(0x233)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x33c0a8=_0x2ff9a5[_0x387b50(0x4d3)](_0x447eeb)[_0x387b50(0x1ea)],_0x4fb1cd=Math['min'](_0x33c0a8+0x2*st,Wt);ds(_0x2ff9a5,{'height':Le,'radius':0x4,'width':_0x4fb1cd,'fill':_0x4b3586,'evented':!0x1}),_0x2ff9a5[_0x387b50(0x17f)]=_0x387b50(0x48b);const _0x249fac=st,_0x4d6963=Le-us,_0x216c4a=Wt-0x2*st;if(_0x33c0a8>_0x216c4a){let _0x3b14f9='',_0x55afd7=0x0;for(const _0x5af688 of _0x447eeb){const _0x34b13f=_0x2ff9a5[_0x387b50(0x4d3)](_0x5af688)['width'];if(_0x55afd7+_0x34b13f<=_0x216c4a-_0x2ff9a5[_0x387b50(0x4d3)]('...')[_0x387b50(0x1ea)])_0x3b14f9+=_0x5af688,_0x55afd7+=_0x34b13f;else{_0x3b14f9+=_0x387b50(0x526);break;}}_0x2ff9a5[_0x387b50(0x12c)](_0x3b14f9,_0x249fac,_0x4d6963);}else _0x2ff9a5['fillText'](_0x447eeb,_0x249fac,_0x4d6963);_0x2ff9a5[_0x387b50(0x2c7)]();}[_0xbb724d(0x282)](_0x44465f){const _0x50a803=_0xbb724d;Xe[_0x50a803(0x402)](_0x44465f,this);}}const rt='collab-text-anchor-',fs=_0xbb724d(0x3d4),vs=_0xbb724d(0x358),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0xbb724d(0x3ae);class Ft{constructor(_0x1f44dd,_0x1e0d63,_0x586489,_0x3f426){const _0x4c3e36=_0xbb724d;I(this,_0x4c3e36(0x3eb),[]),I(this,_0x4c3e36(0x120),null),I(this,_0x4c3e36(0x16c),null),I(this,_0x4c3e36(0x463),null),I(this,_0x4c3e36(0xb0),null),I(this,_0x4c3e36(0x521),null),(this[_0x4c3e36(0x36c)]=_0x1f44dd,this[_0x4c3e36(0x3a4)]=_0x1e0d63,this[_0x4c3e36(0x3ce)]=_0x586489,this[_0x4c3e36(0x2d6)]=_0x3f426,this[_0x4c3e36(0x444)]());}set[_0xbb724d(0x400)](_0xddb3ef){const _0x598aab=_0xbb724d;_0xddb3ef?(this[_0x598aab(0x463)]&&this[_0x598aab(0x463)][_0x598aab(0x1a2)](),this['_textBubble']&&this[_0x598aab(0x16c)][_0x598aab(0xb7)]()):(this[_0x598aab(0x463)]&&this[_0x598aab(0x463)][_0x598aab(0xb7)](),this[_0x598aab(0x16c)]&&this[_0x598aab(0x16c)][_0x598aab(0x1a2)]());}['dispose'](){const _0x2a05cc=_0xbb724d;for(const _0x4ef245 of this[_0x2a05cc(0x3eb)])_0x4ef245[_0x2a05cc(0x16a)]();this[_0x2a05cc(0x16c)]&&this[_0x2a05cc(0x16c)][_0x2a05cc(0x16a)](),this[_0x2a05cc(0x463)]&&this[_0x2a05cc(0x463)]['dispose'](),this[_0x2a05cc(0x120)]&&this[_0x2a05cc(0x120)]['dispose'](),this[_0x2a05cc(0x521)]&&this['_eventUnsubscribe']();}['_render'](){const _0x412355=_0xbb724d;var _0x1ca8b2;const {_docSkeleton:_0x570648,_document:_0x3c11e8}=this,{color:_0x177e1e,name:_0x90b7c2,ranges:_0x363edb}=this['_cursor'],_0x17222a=_0x3c11e8['getOffsetConfig'](),{docsLeft:_0x24770d,docsTop:_0xa5e445}=_0x17222a,_0x3259b2=new J[(_0x412355(0x1a5))](_0x17222a,_0x570648);for(const {startOffset:_0x839f07,endOffset:_0x3172ee,rangeType:_0x53e950,segmentId:_0x16bc9a,segmentPage:_0xb8eafd,collapsed:_0x44a03d,isActive:_0x5e5ca1}of _0x363edb){const _0x103d9b=_0x570648[_0x412355(0x4b1)](_0x839f07,!0x0,_0x16bc9a,_0xb8eafd);let _0x54fa18=_0x570648[_0x412355(0x4b1)](_0x3172ee,!0x0,_0x16bc9a,_0xb8eafd);if(_0x54fa18==null&&(_0x54fa18=_0x570648[_0x412355(0x4b1)](_0x3172ee-0x1,!0x1,_0x16bc9a,_0xb8eafd)),_0x5e5ca1){const {contentBoxPointGroup:_0x11fe7a}=_0x3259b2[_0x412355(0x3a9)](_0x54fa18,_0x54fa18);if(_0x11fe7a[_0x412355(0x2d9)]===0x0)continue;this['_drawAnchor'](_0x177e1e,_0x11fe7a,_0x24770d,_0xa5e445,_0x90b7c2),this[_0x412355(0x521)]=this[_0x412355(0x45b)]();}if(_0x103d9b&&_0x54fa18){if(_0x53e950===a['DOC_RANGE_TYPE'][_0x412355(0x2ea)]){const _0x37b4aa=new J[(_0x412355(0x49f))](_0x17222a,_0x570648),{pointGroup:_0x10b3d5}=(_0x1ca8b2=_0x37b4aa[_0x412355(0x3a9)](_0x103d9b,_0x54fa18))!=null?_0x1ca8b2:{};if(_0x10b3d5==null||_0x10b3d5[_0x412355(0x2d9)]===0x0)continue;this[_0x412355(0x2c0)](_0x177e1e,_0x10b3d5,_0x24770d,_0xa5e445);}else{if(!_0x44a03d){const {borderBoxPointGroup:_0x38cc1d}=_0x3259b2[_0x412355(0x3a9)](_0x103d9b,_0x54fa18);if(_0x38cc1d[_0x412355(0x2d9)]===0x0)continue;this[_0x412355(0x168)](_0x177e1e,_0x38cc1d,_0x24770d,_0xa5e445);}}}}}[_0xbb724d(0x18f)](_0x35377d,_0x41b229,_0x4a21bf,_0x44e75d,_0x5e7b6a){const _0x164b99=_0xbb724d,_0x23ca19=this[_0x164b99(0x359)](_0x41b229),{left:_0x11e795,top:_0x5d0e4d,height:_0x565c58}=_0x23ca19,_0x477a20=this['_getScale'](),_0x1507bc=ps/_0x477a20,_0x4101a6=new K[(_0x164b99(0x438))](rt+a[_0x164b99(0x1fd)][_0x164b99(0x26d)](Ue),{'left':_0x11e795+_0x4a21bf-_0x1507bc,'top':_0x5d0e4d+_0x44e75d,'height':_0x565c58,'width':Ss,'fill':_0x35377d||K[_0x164b99(0x125)](a['COLORS']['black'],0x0),'strokeWidth':_0x1507bc,'stroke':ms,'evented':!0x0});this[_0x164b99(0x120)]=_0x4101a6,this[_0x164b99(0x3a4)][_0x164b99(0x1f3)](_0x4101a6,J[_0x164b99(0x530)]);const _0x365e27=new K[(_0x164b99(0x438))](rt+a[_0x164b99(0x1fd)][_0x164b99(0x26d)](Ue),{'left':_0x11e795+_0x4a21bf-_0x1507bc,'top':_0x5d0e4d+_0x44e75d-ot/0x2,'height':ot,'width':ot,'fill':_0x35377d||K[_0x164b99(0x125)](a[_0x164b99(0x21b)][_0x164b99(0x19e)],0x0),'strokeWidth':0x0,'stroke':_0x35377d||K[_0x164b99(0x125)](a[_0x164b99(0x21b)]['black'],0x0),'evented':!0x1});this[_0x164b99(0x463)]=_0x365e27,this[_0x164b99(0x3a4)][_0x164b99(0x1f3)](_0x365e27,J['TEXT_RANGE_LAYER_INDEX']);const _0x22afe5=new Xe(rt+a['Tools']['generateRandomId'](Ue),{'left':_0x11e795+_0x4a21bf-_0x1507bc,'top':_0x5d0e4d+_0x44e75d-Le,'text':_0x5e7b6a,'color':_0x35377d});this[_0x164b99(0x16c)]=_0x22afe5,this['_scene']['addObject'](_0x22afe5,J[_0x164b99(0x530)]),this[_0x164b99(0x400)]=!0x1;}['_handleHover'](){const _0x59033b=_0xbb724d,_0x3f5d76=this['_anchor'][_0x59033b(0x2ce)][_0x59033b(0x342)](()=>{this['_hover']=!0x0;}),_0x383473=this[_0x59033b(0x120)][_0x59033b(0x17d)][_0x59033b(0x342)](()=>{const _0x448e08=_0x59033b;this[_0x448e08(0xb0)]&&clearTimeout(this[_0x448e08(0xb0)]),this['_hideTimer']=setTimeout(()=>{const _0xde8ba9=_0x448e08;this[_0xde8ba9(0x400)]=!0x1;},0x7d0);});return()=>{const _0x38c5f1=_0x59033b;_0x3f5d76[_0x38c5f1(0x10f)](),_0x383473[_0x38c5f1(0x10f)]();};}[_0xbb724d(0x168)](_0x15f4ee,_0x52f4b6,_0x433704,_0x4616f6){const _0x181321=_0xbb724d,_0x271d86=new a[(_0x181321(0x1a0))](_0x15f4ee)[_0x181321(0xe5)](0.2)[_0x181321(0x214)](),_0xfed85f=new K[(_0x181321(0x45a))](fs+a[_0x181321(0x1fd)][_0x181321(0x26d)](Ue),{'pointsGroup':_0x52f4b6,'fill':_0x271d86||K[_0x181321(0x125)](a[_0x181321(0x21b)][_0x181321(0x19e)],0.2),'left':_0x433704,'top':_0x4616f6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x181321(0x3eb)]['push'](_0xfed85f),this['_scene']['addObject'](_0xfed85f,J['TEXT_RANGE_LAYER_INDEX']);}[_0xbb724d(0x2c0)](_0x45f2d8,_0x5413bb,_0x5e79fa,_0x231f3e){const _0x2819a9=_0xbb724d,_0xca897a=new a[(_0x2819a9(0x1a0))](_0x45f2d8)[_0x2819a9(0xe5)](0.2)[_0x2819a9(0x214)](),_0x53a3f3=new K['RegularPolygon'](vs+a[_0x2819a9(0x1fd)][_0x2819a9(0x26d)](Ue),{'pointsGroup':_0x5413bb,'fill':_0xca897a||K[_0x2819a9(0x125)](a['COLORS'][_0x2819a9(0x19e)],0.2),'left':_0x5e79fa,'top':_0x231f3e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2819a9(0x3eb)][_0x2819a9(0x221)](_0x53a3f3),this[_0x2819a9(0x3a4)][_0x2819a9(0x1f3)](_0x53a3f3,J['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x32b5f6){const _0x530080=_0x32b5f6[0x0],_0x581b0f=_0x530080[0x0],_0x227717=_0x530080[0x2],{x:_0x57d487,y:_0x1b0ca7}=_0x581b0f,{x:_0x4f1583,y:_0x16e97b}=_0x227717;return{'left':_0x57d487,'top':_0x1b0ca7,'width':_0x4f1583-_0x57d487,'height':_0x16e97b-_0x1b0ca7};}[_0xbb724d(0x179)](){const _0x4ae752=_0xbb724d,{scaleX:_0x397790,scaleY:_0x27d275}=this[_0x4ae752(0x3a4)][_0x4ae752(0x109)]();return Math[_0x4ae752(0x119)](_0x397790,_0x27d275);}}var gs=Object[_0xbb724d(0x164)],Is=Object[_0xbb724d(0x13d)],Cs=(_0x134f37,_0xefa0c,_0x428eae,_0x816acb)=>{for(var _0x1637c6=_0x816acb>0x1?void 0x0:_0x816acb?Is(_0xefa0c,_0x428eae):_0xefa0c,_0xeafd60=_0x134f37['length']-0x1,_0x2e9b64;_0xeafd60>=0x0;_0xeafd60--)(_0x2e9b64=_0x134f37[_0xeafd60])&&(_0x1637c6=(_0x816acb?_0x2e9b64(_0xefa0c,_0x428eae,_0x1637c6):_0x2e9b64(_0x1637c6))||_0x1637c6);return _0x816acb&&_0x1637c6&&gs(_0xefa0c,_0x428eae,_0x1637c6),_0x1637c6;},je=(_0x12778,_0x1ce92c)=>(_0x577cc4,_0x5d301b)=>_0x1ce92c(_0x577cc4,_0x5d301b,_0x12778);let gt=class extends a[_0xbb724d(0x2fb)]{constructor(_0x2b8389,_0x1828ee,_0x581c65,_0x2e5050,_0x224654){const _0x4e1a26=_0xbb724d;super(),I(this,_0x4e1a26(0x362),[]),I(this,_0x4e1a26(0x9d),[]),(this[_0x4e1a26(0x1b0)]=_0x2b8389,this['_docSkeletonManagerService']=_0x1828ee,this[_0x4e1a26(0xe0)]=_0x581c65,this[_0x4e1a26(0x417)]=_0x2e5050,this[_0x4e1a26(0x3f5)]=_0x224654,this[_0x4e1a26(0x3ab)]());}['_init'](){const _0x3667b9=_0xbb724d,_0x373b51=this['_context']['unitId'],_0x23ab15=this['_docSkeletonManagerService'];this[_0x3667b9(0x2ad)](A[_0x3667b9(0x318)]([this[_0x3667b9(0xe0)][_0x3667b9(0x3b0)](_0x373b51),this[_0x3667b9(0x3f5)][_0x3667b9(0x4fc)]])[_0x3667b9(0x52f)](V['map'](([_0x95e3bc,_0x556c97])=>({'skeleton':_0x23ab15[_0x3667b9(0x2d5)](),'cursors':[..._0x95e3bc[_0x3667b9(0x452)]()][_0x3667b9(0x300)](_0x43c4e8=>({..._0x43c4e8,'color':_0x556c97[_0x43c4e8[_0x3667b9(0x3f3)]]}))})))['subscribe'](_0x510313=>{const _0x40360d=_0x3667b9;if(this[_0x40360d(0xdb)](),_0x510313){const {skeleton:_0x17cbac,cursors:_0x214257}=_0x510313;this[_0x40360d(0x392)](_0x17cbac,_0x214257);}})),this['_initResize'](),this[_0x3667b9(0x481)]();}[_0xbb724d(0x392)](_0x43331f,_0x4aaccd){const _0xb6f6d0=_0xbb724d,{scene:_0x666390,mainComponent:_0x20e9a3}=this[_0xb6f6d0(0x1b0)],_0x2122a7=_0x4aaccd['map'](_0x117f10=>new Ft(_0x117f10,_0x666390,_0x43331f,_0x20e9a3));this[_0xb6f6d0(0x362)]=_0x2122a7,this[_0xb6f6d0(0x9d)]=_0x4aaccd;}[_0xbb724d(0x14a)](){const _0x33d3f0=_0xbb724d;this[_0x33d3f0(0xdb)]();const {scene:_0x26e3ee,mainComponent:_0x1871b1}=this[_0x33d3f0(0x1b0)],_0x8f8b9d=this[_0x33d3f0(0x3c8)]['getSkeleton'](),_0x55eb2e=this[_0x33d3f0(0x9d)][_0x33d3f0(0x1cf)](_0x286976=>new Ft(_0x286976,_0x26e3ee,_0x8f8b9d,_0x1871b1));this[_0x33d3f0(0x362)]=_0x55eb2e;}[_0xbb724d(0xdb)](){const _0x19ecd4=_0xbb724d;this['_cursorShapes'][_0x19ecd4(0x53b)](_0x512a1a=>_0x512a1a['dispose']()),this[_0x19ecd4(0x362)]=[];}[_0xbb724d(0x481)](){const _0x1bb7cf=_0xbb724d,_0x6497f1=[J[_0x1bb7cf(0x4eb)]['id']];this['disposeWithMe'](this[_0x1bb7cf(0x417)]['onCommandExecuted'](_0x50e959=>{const _0x19ed82=_0x1bb7cf;_0x6497f1['includes'](_0x50e959['id'])&&_0x50e959[_0x19ed82(0x1be)][_0x19ed82(0x4a0)]===this[_0x19ed82(0x1b0)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x18561f=_0xbb724d;this[_0x18561f(0x2ad)](a[_0x18561f(0xf4)](this['_context'][_0x18561f(0x21a)][_0x18561f(0x2d0)])[_0x18561f(0x52f)](V[_0x18561f(0x21e)](_0x5d5db9=>_0x5d5db9[_0x18561f(0x50f)]===K['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),V[_0x18561f(0x2a6)](0x10))[_0x18561f(0x2ae)](()=>{const _0xead2ab=_0x18561f;this[_0xead2ab(0x14a)]();}));}};gt=Cs([je(0x1,a[_0xbb724d(0x271)](Ie[_0xbb724d(0x202)])),je(0x2,a[_0xbb724d(0x271)](De)),je(0x3,a[_0xbb724d(0x39a)]),je(0x4,a[_0xbb724d(0x271)](a[_0xbb724d(0xad)]))],gt);const Es=0x1,bs=1.5;class Ii extends K[_0xbb724d(0x218)]{constructor(_0x24db98,_0x2a017c){const _0x492582=_0xbb724d;super(_0x24db98,_0x2a017c),I(this,_0x492582(0xef)),I(this,_0x492582(0x491),!0x1),I(this,_0x492582(0x3e1)),I(this,'_name',''),I(this,'_labelPosition',_0x492582(0x1f8)),I(this,'_backgroundColor'),(_0x2a017c&&this[_0x492582(0x287)](_0x2a017c),this['onPointerEnter$'][_0x492582(0x342)](()=>this[_0x492582(0x287)]({'hovered':!0x0})),this['onPointerLeave$'][_0x492582(0x342)](()=>this[_0x492582(0x287)]({'hovered':!0x1})));}[_0xbb724d(0x287)](_0x1d2627){const _0xb8958d=_0xbb724d;var _0x22b0ab,_0x353cf1,_0x574b0d,_0xe46aca,_0x11178f,_0x1db45d;this[_0xb8958d(0xef)]=(_0x22b0ab=_0x1d2627[_0xb8958d(0x3f3)])!=null?_0x22b0ab:this[_0xb8958d(0xef)],this[_0xb8958d(0x491)]=(_0x353cf1=_0x1d2627[_0xb8958d(0x40b)])!=null?_0x353cf1:this[_0xb8958d(0x491)],this[_0xb8958d(0x3e1)]=(_0x574b0d=_0x1d2627['range'])!=null?_0x574b0d:this[_0xb8958d(0x3e1)],this[_0xb8958d(0x1e8)]=(_0xe46aca=_0x1d2627[_0xb8958d(0x4cc)])!=null?_0xe46aca:this['_name'],this[_0xb8958d(0x178)]=(_0x11178f=_0x1d2627[_0xb8958d(0x95)])!=null?_0x11178f:this[_0xb8958d(0x178)],this[_0xb8958d(0x3d1)]=(_0x1db45d=_0x1d2627[_0xb8958d(0x232)])!=null?_0x1db45d:this[_0xb8958d(0x3d1)],this[_0xb8958d(0x258)]({'width':_0x1d2627[_0xb8958d(0x1ea)],'height':_0x1d2627[_0xb8958d(0xb8)]});}[_0xbb724d(0x47a)](_0x1b46f6){const _0x3f1587=_0xbb724d,{row:_0x2e4658,column:_0x39e7c8}=_0x1b46f6;if(_0x2e4658>=this[_0x3f1587(0x3e1)]['startRow']&&_0x2e4658<=this[_0x3f1587(0x3e1)][_0x3f1587(0x543)]&&_0x39e7c8>=this['_range'][_0x3f1587(0x49a)]&&_0x39e7c8<=this[_0x3f1587(0x3e1)][_0x3f1587(0x1e9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3f1587(0x287)]({'hovered':!0x1});}[_0xbb724d(0x14c)](_0x377b81){return!0x1;}[_0xbb724d(0x282)](_0x1ae54a){const _0x9991b8=_0xbb724d;K['Rect'][_0x9991b8(0x402)](_0x1ae54a,{'width':this[_0x9991b8(0x1ea)],'height':this['height'],'strokeWidth':bs,'stroke':this[_0x9991b8(0xef)],'evented':!0x1,'fill':this[_0x9991b8(0x3d1)]}),this[_0x9991b8(0x491)]&&(_0x1ae54a[_0x9991b8(0x311)](),_0x1ae54a[_0x9991b8(0x421)](0x1,0x0,0x0,0x1,this['width'],this[_0x9991b8(0x178)]===_0x9991b8(0x1ba)?0x0:-Le),Xe['drawWith'](_0x1ae54a,{'text':this[_0x9991b8(0x1e8)],'color':this[_0x9991b8(0xef)]}),_0x1ae54a[_0x9991b8(0x2c7)]());}}var Ts=Object[_0xbb724d(0x164)],Rs=Object['getOwnPropertyDescriptor'],ys=(_0x1ef37e,_0x3858f4,_0x2656ca,_0x144faa)=>{const _0x5e4350=_0xbb724d;for(var _0x487ffc=_0x144faa>0x1?void 0x0:_0x144faa?Rs(_0x3858f4,_0x2656ca):_0x3858f4,_0x1aa3c0=_0x1ef37e[_0x5e4350(0x2d9)]-0x1,_0x386940;_0x1aa3c0>=0x0;_0x1aa3c0--)(_0x386940=_0x1ef37e[_0x1aa3c0])&&(_0x487ffc=(_0x144faa?_0x386940(_0x3858f4,_0x2656ca,_0x487ffc):_0x386940(_0x487ffc))||_0x487ffc);return _0x144faa&&_0x487ffc&&Ts(_0x3858f4,_0x2656ca,_0x487ffc),_0x487ffc;},at=(_0x544100,_0x3236f1)=>(_0x332a44,_0x25b9d2)=>_0x3236f1(_0x332a44,_0x25b9d2,_0x544100);const Os=0x1389;let It=class extends a[_0xbb724d(0x2fb)]{constructor(_0x40a1ad,_0x133860,_0x423cf3,_0x322253){const _0x4d7d0d=_0xbb724d;super(),I(this,_0x4d7d0d(0x9d),new Set()),I(this,'_lastPointer',null),(this[_0x4d7d0d(0x1b0)]=_0x40a1ad,this[_0x4d7d0d(0x225)]=_0x133860,this['_collabCursorController']=_0x423cf3,this[_0x4d7d0d(0x3f5)]=_0x322253,this[_0x4d7d0d(0x3ab)]());}[_0xbb724d(0x3ab)](){const _0x373a57=_0xbb724d;this[_0x373a57(0x225)][_0x373a57(0x47d)][_0x373a57(0x52f)](V[_0x373a57(0x262)](this[_0x373a57(0x279)]),V[_0x373a57(0x1fa)](_0x3c2b77=>{const _0x4fc1e6=_0x373a57;if(_0x3c2b77){const _0x25f0a6=_0x3c2b77[_0x4fc1e6(0x506)];return A[_0x4fc1e6(0x318)](this[_0x4fc1e6(0xe0)][_0x4fc1e6(0x3b0)](this[_0x4fc1e6(0x1b0)][_0x4fc1e6(0x4a0)]),this[_0x4fc1e6(0x3f5)]['currentTheme$'])[_0x4fc1e6(0x52f)](V[_0x4fc1e6(0x1cf)](([_0x510492,_0x27d02e])=>{const _0x19998d=_0x4fc1e6,_0x30fad7=new Map();return _0x510492[_0x19998d(0x53b)]((_0x573f05,_0x29fa6c)=>{const _0x34c41e=_0x19998d;if(_0x573f05[_0x34c41e(0x203)]===_0x25f0a6){const _0x2b2a05={..._0x573f05};_0x2b2a05[_0x34c41e(0x3f3)]=_0x27d02e[_0x573f05['color']],_0x30fad7[_0x34c41e(0x117)](_0x29fa6c,_0x2b2a05);}}),{'skeleton':_0x3c2b77,'cursors':_0x30fad7};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x373a57(0x2ae)](({skeleton:_0xb7dc2a,cursors:_0x264a65})=>{const _0xb99e2a=_0x373a57;this[_0xb99e2a(0xdb)](),_0xb7dc2a&&this[_0xb99e2a(0x392)](_0xb7dc2a,_0x264a65);}),this['_sheetSkeletonManagerService'][_0x373a57(0x47d)]['subscribe'](_0x2ed72c=>{const _0x33f0c2=_0x373a57;if(_0x2ed72c==null)return;const {skeleton:_0xa06a9e}=_0x2ed72c,{scene:_0x5e321b}=this[_0x33f0c2(0x1b0)];_0x5e321b[_0x33f0c2(0x291)]['subscribeEvent'](a['debounce'](_0x426d1b=>{const _0x5a89b6=_0x33f0c2;var _0x45fc6e,_0x465818;const {offsetX:_0x613bc4,offsetY:_0x113b37}=_0x426d1b,{x:_0xd51bda,y:_0x44a2c4}=_0x5e321b[_0x5a89b6(0x3b6)](K[_0x5a89b6(0x376)][_0x5a89b6(0x2e9)]([_0x613bc4,_0x113b37])),{scaleX:_0x25e7ef,scaleY:_0x32d9de}=_0x5e321b['getAncestorScale'](),_0x457df3=_0x5e321b['getViewport'](ye['VIEWPORT_KEY'][_0x5a89b6(0x146)]),_0x2aec2e=_0x5e321b[_0x5a89b6(0x497)](K[_0x5a89b6(0x376)][_0x5a89b6(0x2e9)]([_0xd51bda,_0x44a2c4]),_0x457df3),_0x1621c0=_0xa06a9e['getCellPositionByOffset'](_0x613bc4,_0x113b37,_0x25e7ef,_0x32d9de,_0x2aec2e);((_0x45fc6e=this[_0x5a89b6(0x2b3)])==null?void 0x0:_0x45fc6e['column'])===_0x1621c0[_0x5a89b6(0x449)]&&((_0x465818=this['_lastPointer'])==null?void 0x0:_0x465818[_0x5a89b6(0x2bc)])===_0x1621c0[_0x5a89b6(0x2bc)]||this[_0x5a89b6(0x9d)][_0x5a89b6(0x53b)](_0x16a7b0=>{const _0x36f801=_0x5a89b6;_0x16a7b0[_0x36f801(0x47a)](_0x1621c0);});},0x64));});}[_0xbb724d(0x392)](_0x39e413,_0x15d831){const _0x13c385=_0xbb724d;var _0x27d093;const _0x32e43a=(_0x27d093=this[_0x13c385(0x225)]['getCurrent']())==null?void 0x0:_0x27d093[_0x13c385(0x199)];if(!_0x32e43a)return;const _0x26633c=this[_0x13c385(0x29b)]();if(!_0x26633c)return;this['_cursors'][_0x13c385(0x53b)](_0x52b135=>{_0x52b135['makeDirty']();});const {scene:_0x2a923e}=_0x26633c,_0x5933af=Ds(Array[_0x13c385(0x177)](_0x15d831[_0x13c385(0x452)]()))[_0x13c385(0x1cf)](_0x1cca53=>{const _0x20f570=_0x13c385,{color:_0x2adb71,range:_0x4695cd,name:_0x22f4b5,selection:_0x1b5958,sheetID:_0x5d988a}=_0x1cca53,{startColumn:_0x500577,startRow:_0x4f1540,endColumn:_0x18e9f8,endRow:_0x1a3d38}=_0x4695cd,_0xc503d2=ye['getCoordByCell'](_0x4f1540,_0x500577,_0x2a923e,_0x32e43a),_0x688068=ye[_0x20f570(0x519)](_0x1a3d38,_0x18e9f8,_0x2a923e,_0x32e43a),{columnHeaderHeightAndMarginTop:_0x3af594}=_0x32e43a,{startX:_0xaa27b6,startY:_0x182118}=_0xc503d2,{endX:_0x1adb72,endY:_0x1c4672}=_0x688068,_0x58fd78=_0x1adb72-_0xaa27b6,_0xbb2692=_0x1c4672-_0x182118,_0x3b72d1={'labelPosition':_0x182118-_0x3af594>=Le?_0x20f570(0x1f8):_0x20f570(0x1ba),'sheetID':_0x5d988a,'range':_0x4695cd,'color':_0x2adb71,'name':_0x22f4b5,'selection':_0x1b5958,'left':_0xaa27b6,'top':_0x182118,'width':_0x58fd78,'height':_0xbb2692,'evented':!0x1,'zIndex':Os};return new Ii(_0x22f4b5,_0x3b72d1);});_0x2a923e[_0x13c385(0x162)](_0x5933af,Es),this[_0x13c385(0x9d)]=new Set(_0x5933af);}[_0xbb724d(0xdb)](){const _0x1a192e=_0xbb724d;var _0x392da6;(_0x392da6=this[_0x1a192e(0x9d)])==null||_0x392da6[_0x1a192e(0x53b)](_0x2242ee=>_0x2242ee[_0x1a192e(0x16a)]());}[_0xbb724d(0x29b)](){const _0x22adec=_0xbb724d;return ye[_0x22adec(0x482)](this[_0x22adec(0x1b0)][_0x22adec(0x274)],this[_0x22adec(0x1b0)]);}};It=ys([at(0x1,a[_0xbb724d(0x271)](ye[_0xbb724d(0x4c9)])),at(0x2,a[_0xbb724d(0x271)](De)),at(0x3,a[_0xbb724d(0x271)](a['ThemeService']))],It);function Ds(_0x3588c4){const _0xd5e8fb=_0xbb724d,_0x483593=new Map();return _0x3588c4[_0xd5e8fb(0x53b)](_0x4b840b=>{const _0x88f0da=_0xd5e8fb;if(_0x483593[_0x88f0da(0x4cd)](_0x4b840b[_0x88f0da(0x517)])){const _0x1602a1=_0x483593[_0x88f0da(0x2c9)](_0x4b840b['selection']);_0x1602a1[_0x88f0da(0x4cc)]+=',\x20'+_0x4b840b['name'];}else _0x483593['set'](_0x4b840b[_0x88f0da(0x517)],_0x4b840b);}),Array['from'](_0x483593[_0xd5e8fb(0x452)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x55d597){const _0x16d62a=_0xbb724d;return _0x55d597&&_0x55d597[_0x16d62a(0x1ec)]&&Object[_0x16d62a(0x293)][_0x16d62a(0x1ce)]['call'](_0x55d597,_0x16d62a(0x4b3))?_0x55d597[_0x16d62a(0x4b3)]:_0x55d597;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0xbb724d(0x467)](_0xbb724d(0x306)),Us=Symbol[_0xbb724d(0x467)](_0xbb724d(0x4c5)),Ms=Object['prototype'][_0xbb724d(0x1ce)],As=Ps[_0xbb724d(0x45e)][_0xbb724d(0x1b9)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x28dfd4,_0x181728,_0x1b3968){const _0x4ae2d2=_0xbb724d;var _0x4c8923,_0x5bc1e7={},_0x45ceef=null,_0x442e3d=null;_0x1b3968!==void 0x0&&(_0x45ceef=''+_0x1b3968),_0x181728['key']!==void 0x0&&(_0x45ceef=''+_0x181728[_0x4ae2d2(0x224)]),_0x181728[_0x4ae2d2(0x174)]!==void 0x0&&(_0x442e3d=_0x181728[_0x4ae2d2(0x174)]);for(_0x4c8923 in _0x181728)Ms['call'](_0x181728,_0x4c8923)&&!Ns[_0x4ae2d2(0x1ce)](_0x4c8923)&&(_0x5bc1e7[_0x4c8923]=_0x181728[_0x4c8923]);if(_0x28dfd4&&_0x28dfd4['defaultProps']){for(_0x4c8923 in(_0x181728=_0x28dfd4[_0x4ae2d2(0x44a)],_0x181728))_0x5bc1e7[_0x4c8923]===void 0x0&&(_0x5bc1e7[_0x4c8923]=_0x181728[_0x4c8923]);}return{'$$typeof':ws,'type':_0x28dfd4,'key':_0x45ceef,'ref':_0x442e3d,'props':_0x5bc1e7,'_owner':As[_0x4ae2d2(0x43f)]};}Je[_0xbb724d(0x149)]=Us,Je[_0xbb724d(0x408)]=Ei,Je['jsxs']=Ei,Ci[_0xbb724d(0x34e)]=Je;var ge=Ci[_0xbb724d(0x34e)],ee=function(){const _0x5447b8=_0xbb724d;return ee=Object['assign']||function(_0x158c72){const _0x409f79=_0x195f;for(var _0x532b92,_0x53ea85=0x1,_0x561162=arguments[_0x409f79(0x2d9)];_0x53ea85<_0x561162;_0x53ea85++){_0x532b92=arguments[_0x53ea85];for(var _0x37ac3e in _0x532b92)Object['prototype'][_0x409f79(0x1ce)][_0x409f79(0x24a)](_0x532b92,_0x37ac3e)&&(_0x158c72[_0x37ac3e]=_0x532b92[_0x37ac3e]);}return _0x158c72;},ee[_0x5447b8(0xbd)](this,arguments);},Ls=function(_0x2d4587,_0x4f7324){const _0xa0c5b2=_0xbb724d;var _0x542b2f={};for(var _0x3d100f in _0x2d4587)Object[_0xa0c5b2(0x293)]['hasOwnProperty'][_0xa0c5b2(0x24a)](_0x2d4587,_0x3d100f)&&_0x4f7324[_0xa0c5b2(0x1a7)](_0x3d100f)<0x0&&(_0x542b2f[_0x3d100f]=_0x2d4587[_0x3d100f]);if(_0x2d4587!=null&&typeof Object[_0xa0c5b2(0x3bd)]==_0xa0c5b2(0x284)){for(var _0x1fd340=0x0,_0x3d100f=Object[_0xa0c5b2(0x3bd)](_0x2d4587);_0x1fd340<_0x3d100f[_0xa0c5b2(0x2d9)];_0x1fd340++)_0x4f7324['indexOf'](_0x3d100f[_0x1fd340])<0x0&&Object[_0xa0c5b2(0x293)][_0xa0c5b2(0x26f)]['call'](_0x2d4587,_0x3d100f[_0x1fd340])&&(_0x542b2f[_0x3d100f[_0x1fd340]]=_0x2d4587[_0x3d100f[_0x1fd340]]);}return _0x542b2f;},Pt=ae[_0xbb724d(0x432)](function(_0x31e142,_0x13cb19){const _0x5190b8=_0xbb724d;var _0x20a8bb=_0x31e142[_0x5190b8(0xf1)],_0x2f32b4=_0x31e142['id'],_0x47cb56=_0x31e142[_0x5190b8(0x2f7)],_0x30b2f5=_0x31e142[_0x5190b8(0x19c)],_0xe0a964=Ls(_0x31e142,[_0x5190b8(0xf1),'id','className',_0x5190b8(0x19c)]),_0x345f71='univerjs-icon\x20univerjs-icon-'[_0x5190b8(0x3b8)](_0x2f32b4,'\x20')[_0x5190b8(0x3b8)](_0x47cb56||'')[_0x5190b8(0x48c)](),_0x238793=ae['useRef']('_'[_0x5190b8(0x3b8)]($s()));return bi(_0x20a8bb,''['concat'](_0x2f32b4),{'defIds':_0x20a8bb[_0x5190b8(0x2e4)],'idSuffix':_0x238793[_0x5190b8(0x43f)]},ee({'ref':_0x13cb19,'className':_0x345f71},_0xe0a964),_0x30b2f5);});function bi(_0x42bf1a,_0x180028,_0x4176c2,_0x1be7cd,_0x434f15){const _0x12e577=_0xbb724d;return ae[_0x12e577(0x2c5)](_0x42bf1a[_0x12e577(0x1ef)],ee(ee({'key':_0x180028},xs(_0x42bf1a,_0x4176c2,_0x434f15)),_0x1be7cd),(js(_0x42bf1a,_0x4176c2)[_0x12e577(0x3d7)]||[])[_0x12e577(0x1cf)](function(_0x1dfa69,_0x13fb36){const _0x34adef=_0x12e577;return bi(_0x1dfa69,''[_0x34adef(0x3b8)](_0x180028,'-')[_0x34adef(0x3b8)](_0x42bf1a['tag'],'-')[_0x34adef(0x3b8)](_0x13fb36),_0x4176c2,void 0x0,_0x434f15);}));}function xs(_0x5c12e7,_0x10f49b,_0x4b9907){const _0xa6491b=_0xbb724d;var _0x57fdd1=ee({},_0x5c12e7[_0xa6491b(0x3f2)]);_0x4b9907!=null&&_0x4b9907[_0xa6491b(0x245)]&&_0x57fdd1[_0xa6491b(0x13f)]===_0xa6491b(0x245)&&(_0x57fdd1['fill']=_0x4b9907[_0xa6491b(0x245)]);var _0x533a61=_0x10f49b['defIds'];return!_0x533a61||_0x533a61[_0xa6491b(0x2d9)]===0x0||(_0x5c12e7[_0xa6491b(0x1ef)]==='use'&&_0x57fdd1[_0xa6491b(0xcc)]&&(_0x57fdd1['xlink:href']=_0x57fdd1[_0xa6491b(0xcc)]+_0x10f49b[_0xa6491b(0x434)]),Object[_0xa6491b(0x19d)](_0x57fdd1)[_0xa6491b(0x53b)](function(_0x1fc653){const _0x147b03=_0xa6491b;var _0x3238b3=_0x1fc653[0x0],_0x14f544=_0x1fc653[0x1];typeof _0x14f544=='string'&&(_0x57fdd1[_0x3238b3]=_0x14f544[_0x147b03(0x3fb)](/url\(#(.*)\)/,_0x147b03(0x3c6)[_0x147b03(0x3b8)](_0x10f49b['idSuffix'],')')));})),_0x57fdd1;}function js(_0x599807,_0x2e8610){const _0xb0a105=_0xbb724d;var _0x2e4560,_0x1236d1=_0x2e8610[_0xb0a105(0x2e4)];return!_0x1236d1||_0x1236d1[_0xb0a105(0x2d9)]===0x0?_0x599807:_0x599807[_0xb0a105(0x1ef)]==='defs'&&(!((_0x2e4560=_0x599807[_0xb0a105(0x3d7)])===null||_0x2e4560===void 0x0)&&_0x2e4560['length'])?ee(ee({},_0x599807),{'children':_0x599807[_0xb0a105(0x3d7)][_0xb0a105(0x1cf)](function(_0x1dedd2){const _0x821b73=_0xb0a105;return typeof _0x1dedd2[_0x821b73(0x3f2)]['id']=='string'&&_0x1236d1&&_0x1236d1['indexOf'](_0x1dedd2['attrs']['id'])>-0x1?ee(ee({},_0x1dedd2),{'attrs':ee(ee({},_0x1dedd2[_0x821b73(0x3f2)]),{'id':_0x1dedd2[_0x821b73(0x3f2)]['id']+_0x2e8610[_0x821b73(0x434)]})}):_0x1dedd2;})}):_0x599807;}function $s(){const _0x5b60c0=_0xbb724d;return Math[_0x5b60c0(0x227)]()['toString'](0x24)[_0x5b60c0(0x23d)](0x2,0x8);}Pt[_0xbb724d(0x35c)]=_0xbb724d(0x3b2);var Hs={'tag':_0xbb724d(0x1c2),'attrs':{'fill':_0xbb724d(0x1a9),'viewBox':_0xbb724d(0x13b),'width':_0xbb724d(0x1cb),'height':_0xbb724d(0x1cb)},'children':[{'tag':'g','attrs':{'clipPath':_0xbb724d(0x30d)},'children':[{'tag':_0xbb724d(0x24c),'attrs':{'stroke':_0xbb724d(0x2f8),'d':_0xbb724d(0x197),'strokeLinecap':_0xbb724d(0x2f2),'strokeLinejoin':_0xbb724d(0x2f2),'strokeWidth':1.2}}]},{'tag':_0xbb724d(0x289),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbb724d(0x453)},'children':[{'tag':_0xbb724d(0x24c),'attrs':{'fill':_0xbb724d(0x37d),'d':_0xbb724d(0x4fd)}}]}]}],'defIds':[_0xbb724d(0x453)]},Ti=ae[_0xbb724d(0x432)](function(_0x236d70,_0x20b00b){const _0x38b70c=_0xbb724d;return ae['createElement'](Pt,Object['assign']({},_0x236d70,{'id':_0x38b70c(0xe3),'ref':_0x20b00b,'icon':Hs}));});Ti[_0xbb724d(0x35c)]=_0xbb724d(0x12a);var Bs={'tag':'svg','attrs':{'fill':_0xbb724d(0x1a9),'viewBox':_0xbb724d(0x46a),'width':_0xbb724d(0x1cb),'height':_0xbb724d(0x1cb)},'children':[{'tag':'g','attrs':{'clipPath':_0xbb724d(0x422)},'children':[{'tag':_0xbb724d(0x24c),'attrs':{'stroke':_0xbb724d(0x2f8),'d':_0xbb724d(0x1bc),'strokeLinecap':_0xbb724d(0x2f2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xbb724d(0x289),'attrs':{},'children':[{'tag':_0xbb724d(0x2f6),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0xbb724d(0x4fd),'transform':_0xbb724d(0x1d4)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Ri=ae[_0xbb724d(0x432)](function(_0x3a15c0,_0x1f2c4f){const _0x518cf3=_0xbb724d;return ae[_0x518cf3(0x2c5)](Pt,Object['assign']({},_0x3a15c0,{'id':_0x518cf3(0x35a),'ref':_0x1f2c4f,'icon':Bs}));});Ri['displayName']=_0xbb724d(0x4ca);function yi(_0x2599a4){const _0x21ed94=_0xbb724d;var _0x5372f3,_0x1cc900,_0x3df540='';if(typeof _0x2599a4=='string'||typeof _0x2599a4==_0x21ed94(0x1ff))_0x3df540+=_0x2599a4;else{if(typeof _0x2599a4=='object'){if(Array[_0x21ed94(0x99)](_0x2599a4)){var _0x116c0f=_0x2599a4['length'];for(_0x5372f3=0x0;_0x5372f3<_0x116c0f;_0x5372f3++)_0x2599a4[_0x5372f3]&&(_0x1cc900=yi(_0x2599a4[_0x5372f3]))&&(_0x3df540&&(_0x3df540+='\x20'),_0x3df540+=_0x1cc900);}else{for(_0x1cc900 in _0x2599a4)_0x2599a4[_0x1cc900]&&(_0x3df540&&(_0x3df540+='\x20'),_0x3df540+=_0x1cc900);}}}return _0x3df540;}function ks(){for(var _0x4b0410,_0x3c803c,_0x21fd53=0x0,_0x201c9d='',_0x39cc5f=arguments['length'];_0x21fd53<_0x39cc5f;_0x21fd53++)(_0x4b0410=arguments[_0x21fd53])&&(_0x3c803c=yi(_0x4b0410))&&(_0x201c9d&&(_0x201c9d+='\x20'),_0x201c9d+=_0x3c803c);return _0x201c9d;}const Ws=_0xbb724d(0x134),Fs=_0xbb724d(0x51c),Vs=_0xbb724d(0x140),Gs=_0xbb724d(0x36a),Ys=_0xbb724d(0x4c8),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x495db6){const _0xac2ce8=_0xbb724d;switch(_0x495db6){case q[_0xac2ce8(0x104)]:return _0xac2ce8(0x13a);case q[_0xac2ce8(0x43e)]:return _0xac2ce8(0x3d8);case q['FETCH_MISS']:return _0xac2ce8(0x2a0);case q['NOT_COLLAB']:return _0xac2ce8(0x4dd);case q['AWAITING']:case q[_0xac2ce8(0x4c6)]:return _0xac2ce8(0x173);case q[_0xac2ce8(0x1bb)]:case q[_0xac2ce8(0x314)]:return'collabStatus.synced';}}function Oi(_0x9dfeab){const _0x2ce600=_0xbb724d,{status$:_0x1ffe28}=_0x9dfeab,_0x318677=te[_0x2ce600(0x32d)](_0x1ffe28,q[_0x2ce600(0x191)]),_0x3d34d0=a[_0x2ce600(0x3a0)](a[_0x2ce600(0x2a7)]),_0x56b04c=a[_0x2ce600(0x3a0)](exports[_0x2ce600(0x2ec)]),_0x4fa49c=_0x318677!==q[_0x2ce600(0x104)],_0xcd896d=_0x3d34d0['t'](Ks(_0x318677)),_0x450ac5=ks(Me['onlineStatus'],{[Me[_0x2ce600(0x475)]]:_0x4fa49c,[Me['offline']]:!_0x4fa49c}),_0x10f62e=_0x4fa49c?ge['jsx'](Ri,{}):ge[_0x2ce600(0x408)](Ti,{}),_0x1ed953=ae['useCallback'](()=>{const _0x54a379=_0x2ce600;_0x4fa49c||_0x56b04c[_0x54a379(0x2d7)]();},[_0x4fa49c,_0x56b04c]);function _0x45c9e8(){const _0x45365c=_0x2ce600;return ge[_0x45365c(0x10b)](_0x45365c(0x12d),{'className':_0x450ac5,'onClick':_0x1ed953,'children':[ge[_0x45365c(0x408)](_0x45365c(0x12d),{'className':Me[_0x45365c(0x2af)],'children':_0x10f62e}),ge['jsx'](_0x45365c(0x12d),{'className':Me['onlineStatusTitle'],'children':_0xcd896d})]});}return _0x4fa49c?_0x45c9e8():ge[_0x2ce600(0x408)](Ce['Tooltip'],{'title':_0x3d34d0['t']('collab-client.tooltip.reconnect'),'children':_0x45c9e8()});}var qs=Object[_0xbb724d(0x164)],zs=Object[_0xbb724d(0x13d)],Xs=(_0x434ccf,_0x5cb016,_0x55bbf6,_0x4d289a)=>{for(var _0xd3da63=_0x4d289a>0x1?void 0x0:_0x4d289a?zs(_0x5cb016,_0x55bbf6):_0x5cb016,_0xbdb328=_0x434ccf['length']-0x1,_0x4c2a01;_0xbdb328>=0x0;_0xbdb328--)(_0x4c2a01=_0x434ccf[_0xbdb328])&&(_0xd3da63=(_0x4d289a?_0x4c2a01(_0x5cb016,_0x55bbf6,_0xd3da63):_0x4c2a01(_0xd3da63))||_0xd3da63);return _0x4d289a&&_0xd3da63&&qs(_0x5cb016,_0x55bbf6,_0xd3da63),_0xd3da63;},$e=(_0x10bf50,_0x43baa9)=>(_0x4aea2d,_0x3acc0b)=>_0x43baa9(_0x4aea2d,_0x3acc0b,_0x10bf50);exports[_0xbb724d(0x536)]=class extends a[_0xbb724d(0x4cb)]{constructor(_0x919102,_0xb2086a,_0x1fcef5,_0x378c0d){const _0x51120f=_0xbb724d;super(),I(this,_0x51120f(0x378),new A[(_0x51120f(0x11e))](q[_0x51120f(0x191)])),(this[_0x51120f(0x20b)]=_0x919102,this[_0x51120f(0x2fc)]=_0xb2086a,this[_0x51120f(0x299)]=_0x1fcef5,this[_0x51120f(0x413)]=_0x378c0d,this[_0x51120f(0x25e)](),this['_initStatusListener']());}[_0xbb724d(0x3d2)](){const _0x40f56c=_0xbb724d;this[_0x40f56c(0x2ad)](this['_univerInstanceService'][_0x40f56c(0x170)][_0x40f56c(0x52f)](A[_0x40f56c(0x1fa)](()=>{const _0x5de635=_0x40f56c,_0x253127=this[_0x5de635(0x20b)][_0x5de635(0x405)]();return _0x253127?this[_0x5de635(0x413)][_0x5de635(0x316)](_0x253127[_0x5de635(0x285)]()):A['of'](null);}),A[_0x40f56c(0x1fa)](_0x23006f=>_0x23006f?_0x23006f[_0x40f56c(0xc0)]:A['of'](q['NOT_COLLAB'])))[_0x40f56c(0x2ae)](_0x131e66=>{this['_status$']['next'](_0x131e66);}));}['_initStatusComponent'](){const _0x403f2a=_0xbb724d;this[_0x403f2a(0x2ad)](this[_0x403f2a(0x2fc)][_0x403f2a(0x1b3)](te['BuiltInUIPart'][_0x403f2a(0x12b)],()=>a[_0x403f2a(0x344)](Js({'status$':this['_status$'][_0x403f2a(0x14b)]()}),this[_0x403f2a(0x299)])));}},exports[_0xbb724d(0x536)]=Xs([$e(0x0,a[_0xbb724d(0x4c0)]),$e(0x1,te['IUIPartsService']),$e(0x2,a[_0xbb724d(0x271)](a['Injector'])),$e(0x3,a[_0xbb724d(0x271)](exports[_0xbb724d(0x8d)]))],exports[_0xbb724d(0x536)]);function Js(_0x3094a0){const {status$:_0xa1e03}=_0x3094a0;return function(){return ge['jsx'](Oi,{'status$':_0xa1e03});};}const wt=a['createIdentifier'](_0xbb724d(0x268));var Zs=Object[_0xbb724d(0x164)],Qs=Object['getOwnPropertyDescriptor'],er=(_0x26b39b,_0x8a43a2,_0x1288be,_0x10191b)=>{const _0x37d326=_0xbb724d;for(var _0x2816fe=_0x10191b>0x1?void 0x0:_0x10191b?Qs(_0x8a43a2,_0x1288be):_0x8a43a2,_0x162a2d=_0x26b39b[_0x37d326(0x2d9)]-0x1,_0x502c4c;_0x162a2d>=0x0;_0x162a2d--)(_0x502c4c=_0x26b39b[_0x162a2d])&&(_0x2816fe=(_0x10191b?_0x502c4c(_0x8a43a2,_0x1288be,_0x2816fe):_0x502c4c(_0x2816fe))||_0x2816fe);return _0x10191b&&_0x2816fe&&Zs(_0x8a43a2,_0x1288be,_0x2816fe),_0x2816fe;},Re=(_0x236c1b,_0x253fe9)=>(_0x473324,_0x46fec4)=>_0x253fe9(_0x473324,_0x46fec4,_0x236c1b);exports['DataLoaderController']=class extends a['RxDisposable']{constructor(_0x21819d,_0x2c8c6e,_0x55b0c4,_0x3b5dde,_0x6e2c4f,_0x4e1029){const _0x299534=_0xbb724d;super(),this[_0x299534(0x2fa)]=_0x21819d,this['_logService']=_0x2c8c6e,this[_0x299534(0x417)]=_0x55b0c4,this['_localCacheService']=_0x3b5dde,this['_snapshotService']=_0x6e2c4f,_0x4e1029?_0x4e1029==null||_0x4e1029['whenReady']()[_0x299534(0x161)](()=>this[_0x299534(0x3ab)]()):(this[_0x299534(0x1a3)][_0x299534(0x528)]('[DataLoaderController]',_0x299534(0x13e)),this[_0x299534(0x3ab)]());}async[_0xbb724d(0x3ab)](){const _0x5e8874=_0xbb724d,_0x879d7a=this[_0x5e8874(0x2fa)]['getParam']('unit'),_0x1dd9d9=this[_0x5e8874(0x2fa)][_0x5e8874(0x3bc)](_0x5e8874(0x50f));if(!_0x879d7a||!_0x1dd9d9){this[_0x5e8874(0x1a3)]['debug'](_0x5e8874(0x181),_0x5e8874(0x2c6));return;}switch(Number(_0x1dd9d9)){case ne[_0x5e8874(0x1ac)]:{const _0x2fed24=await this[_0x5e8874(0x3ec)](_0x879d7a);this[_0x5e8874(0x22c)](_0x2fed24);break;}case ne[_0x5e8874(0x44c)]:{await this[_0x5e8874(0x4c7)](_0x879d7a);break;}default:{this[_0x5e8874(0x1a3)]['error']('[DataLoaderController]',_0x5e8874(0xba));break;}}}async['_setupSubUnitSync'](_0x2a4b10){const _0x5bf1c4=_0xbb724d;await this[_0x5bf1c4(0x4fe)](_0x2a4b10),_0x2a4b10['activeSheet$'][_0x5bf1c4(0x52f)](A[_0x5bf1c4(0x262)](this['dispose$']))[_0x5bf1c4(0x2ae)](_0x32ef71=>{const _0x3536a7=_0x5bf1c4;_0x32ef71&&this[_0x3536a7(0x270)](_0x32ef71);}),this[_0x5bf1c4(0x2fa)]['urlChange$'][_0x5bf1c4(0x52f)](A[_0x5bf1c4(0x262)](this[_0x5bf1c4(0x279)]))[_0x5bf1c4(0x2ae)](()=>this[_0x5bf1c4(0x4fe)](_0x2a4b10));}[_0xbb724d(0x270)](_0x283911,_0x123b21=!0x1){const _0x51dbf2=_0xbb724d,_0x46ab30=this['_urlService'][_0x51dbf2(0x3bc)]('subunit');_0x283911[_0x51dbf2(0x17a)]()!==_0x46ab30&&this['_urlService'][_0x51dbf2(0x50d)]('subunit',_0x283911[_0x51dbf2(0x17a)](),_0x123b21);}async[_0xbb724d(0x4fe)](_0x440078){const _0x1dbb68=_0xbb724d;var _0x21d444;const _0x3eed83=this[_0x1dbb68(0x2fa)][_0x1dbb68(0x3bc)](_0x1dbb68(0x50a));if(!_0x3eed83||!_0x440078['getSheetBySheetId'](_0x3eed83)){const _0x4df597=_0x440078[_0x1dbb68(0x37a)]()[0x0],_0x1e784b=_0x440078['getSheetBySheetId'](_0x4df597);if(!_0x1e784b)return;this[_0x1dbb68(0x270)](_0x1e784b,!0x0),await this['_commandService'][_0x1dbb68(0x231)](k[_0x1dbb68(0x2ef)]['id'],{'unitId':_0x440078[_0x1dbb68(0x285)](),'subUnitId':_0x4df597});return;}((_0x21d444=_0x440078[_0x1dbb68(0x42e)]())==null?void 0x0:_0x21d444[_0x1dbb68(0x17a)]())!==_0x3eed83&&await this[_0x1dbb68(0x417)][_0x1dbb68(0x231)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x440078['getUnitId'](),'subUnitId':_0x3eed83});}async['_loadSheet'](_0xb52e5){const _0x3b55d6=_0xbb724d;let _0x340a74=0x0;const _0x80bd28=await this['_localCacheService'][_0x3b55d6(0x3f9)](_0xb52e5);return _0x80bd28&&(_0x80bd28[_0x3b55d6(0x30e)]||_0x80bd28[_0x3b55d6(0x374)][_0x3b55d6(0x2d9)]!==0x0)&&(_0x340a74=_0x80bd28[_0x3b55d6(0x390)]),_0x340a74===0x0&&this[_0x3b55d6(0x1a3)]['debug'](_0x3b55d6(0x181),_0x3b55d6(0x4e2)),this[_0x3b55d6(0x2aa)][_0x3b55d6(0x29d)](_0xb52e5,_0x340a74);}async[_0xbb724d(0x4c7)](_0x416f70){const _0x24fb9e=_0xbb724d;let _0x4471c5=0x0;const _0x1b316e=await this[_0x24fb9e(0x4ba)]['loadOfflineData'](_0x416f70);return _0x1b316e&&(_0x1b316e[_0x24fb9e(0x30e)]||_0x1b316e[_0x24fb9e(0x374)][_0x24fb9e(0x2d9)]!==0x0)&&(_0x4471c5=_0x1b316e[_0x24fb9e(0x390)]),_0x4471c5===0x0&&this[_0x24fb9e(0x1a3)][_0x24fb9e(0x528)]('[DataLoaderController]',_0x24fb9e(0x4e2)),this['_snapshotService'][_0x24fb9e(0x407)](_0x416f70,_0x4471c5);}},exports['DataLoaderController']=er([Re(0x0,wt),Re(0x1,a[_0xbb724d(0x2cb)]),Re(0x2,a['ICommandService']),Re(0x3,a['Inject'](exports[_0xbb724d(0x1d9)])),Re(0x4,a[_0xbb724d(0x271)](p[_0xbb724d(0x355)])),Re(0x5,a[_0xbb724d(0x18e)](Bi[_0xbb724d(0x2cd)]))],exports[_0xbb724d(0x410)]);var tr=Object[_0xbb724d(0x164)],ir=Object[_0xbb724d(0x13d)],nr=(_0x8fd3cd,_0x4a0768,_0x2353ce,_0x252c38)=>{const _0x9ddfd=_0xbb724d;for(var _0x51fbb1=_0x252c38>0x1?void 0x0:_0x252c38?ir(_0x4a0768,_0x2353ce):_0x4a0768,_0x5478d3=_0x8fd3cd[_0x9ddfd(0x2d9)]-0x1,_0x562c81;_0x5478d3>=0x0;_0x5478d3--)(_0x562c81=_0x8fd3cd[_0x5478d3])&&(_0x51fbb1=(_0x252c38?_0x562c81(_0x4a0768,_0x2353ce,_0x51fbb1):_0x562c81(_0x51fbb1))||_0x51fbb1);return _0x252c38&&_0x51fbb1&&tr(_0x4a0768,_0x2353ce,_0x51fbb1),_0x51fbb1;},Vt=(_0x4f1016,_0x4cf4af)=>(_0x5f3192,_0x2aebf3)=>_0x4cf4af(_0x5f3192,_0x2aebf3,_0x4f1016);const sr=_0xbb724d(0x319),rr=_0xbb724d(0x4b9);let Ge=class extends a[_0xbb724d(0x4cb)]{constructor(_0xd9ed65,_0x63af19){const _0x1db1dc=_0xbb724d;super(),this[_0x1db1dc(0x20b)]=_0xd9ed65,this[_0x1db1dc(0xe6)]=_0x63af19,this['_init']();}[_0xbb724d(0x3ab)](){const _0x476414=_0xbb724d;this[_0x476414(0x2ad)](this[_0x476414(0x20b)][_0x476414(0x170)][_0x476414(0x2ae)](()=>{const _0x534f6a=_0x476414;var _0xa0ac11;const _0x52881b=this[_0x534f6a(0x20b)]['getFocusedUnit']();let _0x7ea938=(_0xa0ac11=this[_0x534f6a(0xe6)][_0x534f6a(0x27c)](sr))!=null?_0xa0ac11:rr;_0x52881b instanceof a[_0x534f6a(0x1f0)]&&(_0x7ea938=_0x52881b[_0x534f6a(0x4cc)]),document[_0x534f6a(0x4d8)]=_0x7ea938;}));}};Ge=nr([Vt(0x0,a[_0xbb724d(0x4c0)]),Vt(0x1,a[_0xbb724d(0xbc)])],Ge);var or=Object['defineProperty'],ar=Object[_0xbb724d(0x13d)],cr=(_0x2aa664,_0x2b65bc,_0x25e40e,_0x315761)=>{for(var _0x5c717d=_0x315761>0x1?void 0x0:_0x315761?ar(_0x2b65bc,_0x25e40e):_0x2b65bc,_0x42207c=_0x2aa664['length']-0x1,_0x4b6223;_0x42207c>=0x0;_0x42207c--)(_0x4b6223=_0x2aa664[_0x42207c])&&(_0x5c717d=(_0x315761?_0x4b6223(_0x2b65bc,_0x25e40e,_0x5c717d):_0x4b6223(_0x5c717d))||_0x5c717d);return _0x315761&&_0x5c717d&&or(_0x2b65bc,_0x25e40e,_0x5c717d),_0x5c717d;},ct=(_0x20f209,_0x48d494)=>(_0xec4bc5,_0x4c0f6e)=>_0x48d494(_0xec4bc5,_0x4c0f6e,_0x20f209);let Ye=class{constructor(_0x21e731,_0x37b89d,_0x4fc29b){const _0x3f1b03=_0xbb724d;this[_0x3f1b03(0xe6)]=_0x21e731,this[_0x3f1b03(0x21d)]=_0x37b89d,this[_0x3f1b03(0x31e)]=_0x4fc29b,this[_0x3f1b03(0x212)]();}['init'](){const _0x18f38a=_0xbb724d;this[_0x18f38a(0x21d)][_0x18f38a(0x41a)]({'priority':0x1,'interceptor':(_0x2c0fbf,_0x388fc6)=>_0x388fc6(_0x2c0fbf)[_0x18f38a(0x52f)](A[_0x18f38a(0x89)](async _0x1f9dd2=>{const _0x5327c6=_0x18f38a,_0x429c46=_0x1f9dd2;if(_0x429c46[_0x5327c6(0x19f)]===0x191&&window['confirm'](this[_0x5327c6(0x31e)]['t'](_0x5327c6(0x24d)))){const _0x44c313=window['encodeURIComponent'](window[_0x5327c6(0x33e)][_0x5327c6(0xb5)]);window['location'][_0x5327c6(0xb5)]=this['_getLoginPath']()+_0x5327c6(0x4d1)+_0x44c313;}return _0x429c46;}))});}['_getLoginPath'](){const _0x5959e1=_0xbb724d;var _0x3ca406,_0x2f5576;const _0xe9e76b=this[_0x5959e1(0xe6)][_0x5959e1(0x27c)](hi),_0x860ed1=this[_0x5959e1(0xe6)][_0x5959e1(0x27c)](Q);return(_0x2f5576=(_0x3ca406=_0x860ed1==null?void 0x0:_0x860ed1[_0x5959e1(0x541)])!=null?_0x3ca406:_0xe9e76b)!=null?_0x2f5576:Ji;}};Ye=cr([ct(0x0,a[_0xbb724d(0xbc)]),ct(0x1,a[_0xbb724d(0x271)](z[_0xbb724d(0x539)])),ct(0x2,a[_0xbb724d(0x271)](a[_0xbb724d(0x2a7)]))],Ye);var lr=Object[_0xbb724d(0x164)],hr=Object[_0xbb724d(0x13d)],_r=(_0x2c5040,_0x3e10e2,_0x10d3ca,_0x261554)=>{for(var _0x18710f=_0x261554>0x1?void 0x0:_0x261554?hr(_0x3e10e2,_0x10d3ca):_0x3e10e2,_0x390046=_0x2c5040['length']-0x1,_0x19a7ad;_0x390046>=0x0;_0x390046--)(_0x19a7ad=_0x2c5040[_0x390046])&&(_0x18710f=(_0x261554?_0x19a7ad(_0x3e10e2,_0x10d3ca,_0x18710f):_0x19a7ad(_0x18710f))||_0x18710f);return _0x261554&&_0x18710f&&lr(_0x3e10e2,_0x10d3ca,_0x18710f),_0x18710f;},Gt=(_0x48e26a,_0x184f4b)=>(_0x6ea78b,_0x87c443)=>_0x184f4b(_0x6ea78b,_0x87c443,_0x48e26a);const Ut=_0xbb724d(0x37c),ur='/universer-api/authz';exports[_0xbb724d(0x1c6)]=class extends a[_0xbb724d(0x4cb)]{constructor(_0x51bde3,_0x45a0f6){const _0x4d849c=_0xbb724d;super(),this[_0x4d849c(0x43d)]=_0x51bde3,this[_0x4d849c(0xe6)]=_0x45a0f6,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x34329a=_0xbb724d,_0xc9746b=this;this[_0x34329a(0x2ad)](this[_0x34329a(0x43d)][_0x34329a(0x41a)]({'priority':0x3e7,'interceptor':z[_0x34329a(0x382)]({'isMatch'(_0x2fa160){const _0x3bd906=_0x34329a;var _0x290e21;if(_0x2fa160['method']===_0x3bd906(0x242)&&((_0x290e21=_0x2fa160[_0x3bd906(0x9e)])!=null&&_0x290e21[_0x3bd906(0x3a6)])){const {objectID:_0xf34a89,objectType:_0x2c008f}=_0x2fa160[_0x3bd906(0x9e)]['body']||{};if(!_0xf34a89||_0x2c008f===void 0x0)return!0x1;const _0x590e0b=_0xc9746b[_0x3bd906(0x3e9)]()+'/'+_0x2c008f+_0x3bd906(0x464)+_0xf34a89+'/allowed';if(_0x2fa160[_0x3bd906(0x28a)]===_0x590e0b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x22042b){const _0x32c80b=_0x34329a;var _0x26ad8d;return(_0x26ad8d=_0x22042b[_0x32c80b(0x9e)])==null?void 0x0:_0x26ad8d[_0x32c80b(0x3a6)];},'mergeParamsToRequest'(_0xc4bc1f,_0x277040){const _0x5e1ade=_0x34329a,_0x441d8a=_0xc9746b[_0x5e1ade(0x3e9)]()+_0x5e1ade(0x2d1),_0xaf11f5=_0xc4bc1f[_0x5e1ade(0x139)]((_0x250b72,_0x5eb2e2)=>{const _0x48b844=_0x5e1ade,{unitID:_0xec06c5,objectID:_0x1ae238,objectType:_0x39ecb4,actions:_0x39b8bb}=_0x5eb2e2;return _0x250b72[_0xec06c5]||(_0x250b72[_0xec06c5]={}),_0x250b72[_0xec06c5][_0x1ae238]||(_0x250b72[_0xec06c5][_0x1ae238]={'objectID':_0x1ae238,'objectType':_0x39ecb4,'actions':[]}),_0x250b72[_0xec06c5][_0x1ae238][_0x48b844(0x1d5)][_0x48b844(0x221)](..._0x39b8bb),_0x250b72;},{}),_0x509ec4=[];for(const _0x479eb9 in _0xaf11f5)for(const _0x3f0dcf in _0xaf11f5[_0x479eb9]){const {actions:_0x33533b,objectType:_0x1b9c4e}=_0xaf11f5[_0x479eb9][_0x3f0dcf],_0x4a3c51=[...new Set(_0x33533b)];_0x509ec4[_0x5e1ade(0x221)]({'unitID':_0x479eb9,'objectID':_0x3f0dcf,'objectType':_0x1b9c4e,'actions':_0x4a3c51});}return new z['HTTPRequest'](_0x5e1ade(0x242),_0x441d8a,{'headers':_0x277040[_0x5e1ade(0x92)],'withCredentials':_0x277040[_0x5e1ade(0x31d)],'responseType':_0x277040[_0x5e1ade(0x308)],'body':{'requests':_0x509ec4}});}},{'distributeResult'(_0x36aa63,_0x1c96fa){const _0x25d98c=_0x34329a,{objectActions:_0x104902}=_0x36aa63;return _0x1c96fa[_0x25d98c(0x1cf)](_0x55dbc2=>{const _0x31b3d0=_0x25d98c,{unitID:_0x457442,objectID:_0x295ce4,actions:_0x722544}=_0x55dbc2,_0x40d64a=_0x104902[_0x31b3d0(0x412)](_0x136575=>_0x136575['unitID']===_0x457442&&_0x136575[_0x31b3d0(0x352)]===_0x295ce4),_0x2dcb55=_0x722544[_0x31b3d0(0x1cf)](_0x570554=>_0x40d64a==null?void 0x0:_0x40d64a[_0x31b3d0(0x1d5)][_0x31b3d0(0x412)](_0x5ce566=>_0x5ce566[_0x31b3d0(0x1c0)]===_0x570554))[_0x31b3d0(0x21e)](_0x4c9bfd=>!!_0x4c9bfd);return{'config':_0x55dbc2,'result':{'actions':_0x2dcb55,'error':_0x36aa63[_0x31b3d0(0x1d8)]}};});}})}));}[_0xbb724d(0x3e9)](){const _0x28977b=_0xbb724d;var _0x19fea0,_0x586ba5;const _0x10b099=this['_configService'][_0x28977b(0x27c)](Ut),_0x2d43e7=this[_0x28977b(0xe6)][_0x28977b(0x27c)](Q);return(_0x586ba5=(_0x19fea0=_0x2d43e7==null?void 0x0:_0x2d43e7[_0x28977b(0x406)])!=null?_0x19fea0:_0x10b099)!=null?_0x586ba5:ur;}async[_0xbb724d(0x19a)](_0x5eb80b){const _0x3764da=_0xbb724d,_0x1d242a=this['_getAPIPrefixPath']()+'/'+_0x5eb80b[_0x3764da(0x3b3)]+'/object';return(await this[_0x3764da(0x43d)][_0x3764da(0x4e4)](_0x1d242a,{'body':_0x5eb80b}))['body'][_0x3764da(0x352)]||'';}async[_0xbb724d(0x171)](_0x158055){const _0x4c15e=_0xbb724d,_0x4e5bf5=this[_0x4c15e(0x3e9)]()+'/-/object/list';return(await this['_HTTPService'][_0x4c15e(0x4e4)](_0x4e5bf5,{'body':_0x158055}))[_0x4c15e(0x3a6)][_0x4c15e(0x90)];}async[_0xbb724d(0x1a8)](_0x59e6a9){const _0x2816c5=_0xbb724d,_0x2b175d=this[_0x2816c5(0x3e9)]()+'/'+_0x59e6a9['objectType']+_0x2816c5(0x464)+_0x59e6a9['objectID'];await this[_0x2816c5(0x43d)]['put'](_0x2b175d,{'body':_0x59e6a9});}async[_0xbb724d(0x39f)](_0x3d995f){const _0x228ec9=_0xbb724d,_0x3d73e9=this[_0x228ec9(0x3e9)]()+'/'+_0x3d995f['objectType']+_0x228ec9(0x464)+_0x3d995f[_0x228ec9(0x352)]+'/allowed';return(await this[_0x228ec9(0x43d)][_0x228ec9(0x4e4)](_0x3d73e9,{'body':_0x3d995f}))['body']['actions'];}async[_0xbb724d(0x1aa)](_0x343b10){const _0x596e38=_0xbb724d,_0x35e9b5=this[_0x596e38(0x3e9)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0x35e9b5,{'body':{'requests':_0x343b10}}))['body'][_0x596e38(0x436)];}async['listRoles'](_0x2ce9f5){const _0xaf8e6d=_0xbb724d,_0x32fa0a=this[_0xaf8e6d(0x3e9)]()+'/'+_0x2ce9f5[_0xaf8e6d(0x3b3)]+'/role',_0x4c7ec0=await this['_HTTPService'][_0xaf8e6d(0x4e4)](_0x32fa0a,{'body':_0x2ce9f5});return{'roles':_0x4c7ec0['body'][_0xaf8e6d(0x331)],'actions':_0x4c7ec0[_0xaf8e6d(0x3a6)][_0xaf8e6d(0x1d5)]};}async[_0xbb724d(0xa3)](_0x238cea){const _0x3d7418=_0xbb724d,_0x3e265d=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3d7418(0x43d)]['delete'](_0x3e265d,{'params':{'collaboratorID':_0x238cea[_0x3d7418(0x234)],'objectID':_0x238cea[_0x3d7418(0x352)],'unitID':_0x238cea['unitID']}});}async['updateCollaborator'](_0x40cd8b){const _0x3dd418=_0xbb724d,_0x25b44e=this[_0x3dd418(0x3e9)]()+_0x3dd418(0x130);await this['_HTTPService'][_0x3dd418(0x1e2)](_0x25b44e,{'body':_0x40cd8b});}async['createCollaborator'](_0x26613e){const _0x324550=_0xbb724d,_0x3af0b2=this[_0x324550(0x3e9)]()+_0x324550(0x130);await this[_0x324550(0x43d)]['post'](_0x3af0b2,{'body':_0x26613e});}async['listCollaborators'](_0x96a8ad){const _0x151c95=_0xbb724d,_0x3c713a=this['_getAPIPrefixPath']()+_0x151c95(0x130);return(await this[_0x151c95(0x43d)][_0x151c95(0x2c9)](_0x3c713a,{'params':{'objectID':_0x96a8ad[_0x151c95(0x352)],'unitID':_0x96a8ad[_0x151c95(0x447)]}}))['body'][_0x151c95(0x353)];}async['putCollaborators'](_0x436f55){const _0x298769=_0xbb724d,_0x2097b0=this[_0x298769(0x3e9)]()+_0x298769(0x130);await this[_0x298769(0x43d)][_0x298769(0x115)](_0x2097b0,{'body':_0x436f55});}},exports[_0xbb724d(0x1c6)]=_r([Gt(0x0,a['Inject'](z[_0xbb724d(0x539)])),Gt(0x1,a['Inject'](a[_0xbb724d(0xbc)]))],exports['AuthzIoHttpService']);var Di={'exports':{}};function dr(_0x47bd37){const _0x34f373=_0xbb724d;throw new Error(_0x34f373(0x12f)+_0x47bd37+_0x34f373(0x53d));}var lt={'exports':{}},Yt;function oe(){return Yt||(Yt=0x1,function(_0x52b238,_0x57d62d){(function(_0x26a8fc,_0x588448){const _0x3b0996=_0x195f;_0x52b238[_0x3b0996(0x34e)]=_0x588448();}(Z,function(){var _0x4873ff=_0x4873ff||function(_0x29ce12,_0x59dcaa){const _0x3c2fc4=_0x195f;var _0x6ec337;if(typeof window<'u'&&window[_0x3c2fc4(0x182)]&&(_0x6ec337=window[_0x3c2fc4(0x182)]),typeof self<'u'&&self['crypto']&&(_0x6ec337=self[_0x3c2fc4(0x182)]),typeof globalThis<'u'&&globalThis[_0x3c2fc4(0x182)]&&(_0x6ec337=globalThis[_0x3c2fc4(0x182)]),!_0x6ec337&&typeof window<'u'&&window[_0x3c2fc4(0x4c1)]&&(_0x6ec337=window[_0x3c2fc4(0x4c1)]),!_0x6ec337&&typeof Z<'u'&&Z['crypto']&&(_0x6ec337=Z['crypto']),!_0x6ec337&&typeof dr=='function')try{_0x6ec337=require(_0x3c2fc4(0x182));}catch{}var _0x4b47df=function(){const _0x26a1cc=_0x3c2fc4;if(_0x6ec337){if(typeof _0x6ec337[_0x26a1cc(0x458)]==_0x26a1cc(0x284))try{return _0x6ec337[_0x26a1cc(0x458)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6ec337[_0x26a1cc(0x509)]=='function')try{return _0x6ec337[_0x26a1cc(0x509)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x26a1cc(0x133));},_0x4184d5=Object[_0x3c2fc4(0x19a)]||(function(){function _0x5deddb(){}return function(_0x5267fe){const _0xa394db=_0x195f;var _0x20829d;return _0x5deddb[_0xa394db(0x293)]=_0x5267fe,_0x20829d=new _0x5deddb(),_0x5deddb['prototype']=null,_0x20829d;};}()),_0x14a715={},_0x1fbbd9=_0x14a715['lib']={},_0x2be530=_0x1fbbd9[_0x3c2fc4(0x1db)]=(function(){return{'extend':function(_0xf7c1a5){const _0x10c632=_0x195f;var _0x5b048f=_0x4184d5(this);return _0xf7c1a5&&_0x5b048f[_0x10c632(0x47f)](_0xf7c1a5),(!_0x5b048f[_0x10c632(0x1ce)](_0x10c632(0x212))||this[_0x10c632(0x212)]===_0x5b048f['init'])&&(_0x5b048f[_0x10c632(0x212)]=function(){const _0x166da0=_0x10c632;_0x5b048f[_0x166da0(0x4fb)][_0x166da0(0x212)][_0x166da0(0xbd)](this,arguments);}),_0x5b048f[_0x10c632(0x212)]['prototype']=_0x5b048f,_0x5b048f[_0x10c632(0x4fb)]=this,_0x5b048f;},'create':function(){const _0x110f8f=_0x195f;var _0x257d09=this[_0x110f8f(0x19c)]();return _0x257d09[_0x110f8f(0x212)][_0x110f8f(0xbd)](_0x257d09,arguments),_0x257d09;},'init':function(){},'mixIn':function(_0x5655e8){const _0x1d8491=_0x195f;for(var _0x5d4991 in _0x5655e8)_0x5655e8[_0x1d8491(0x1ce)](_0x5d4991)&&(this[_0x5d4991]=_0x5655e8[_0x5d4991]);_0x5655e8[_0x1d8491(0x1ce)]('toString')&&(this[_0x1d8491(0x3bf)]=_0x5655e8['toString']);},'clone':function(){const _0x2e6796=_0x195f;return this[_0x2e6796(0x212)]['prototype'][_0x2e6796(0x19c)](this);}};}()),_0x2017c1=_0x1fbbd9['WordArray']=_0x2be530[_0x3c2fc4(0x19c)]({'init':function(_0x5bca37,_0x2c2d4f){const _0x1587c6=_0x3c2fc4;_0x5bca37=this[_0x1587c6(0x1b2)]=_0x5bca37||[],_0x2c2d4f!=_0x59dcaa?this['sigBytes']=_0x2c2d4f:this[_0x1587c6(0x10a)]=_0x5bca37['length']*0x4;},'toString':function(_0x14ef53){return(_0x14ef53||_0x372a4f)['stringify'](this);},'concat':function(_0x3e14f0){const _0x5ca2c3=_0x3c2fc4;var _0x581568=this['words'],_0x326523=_0x3e14f0[_0x5ca2c3(0x1b2)],_0x272c32=this[_0x5ca2c3(0x10a)],_0x51bc94=_0x3e14f0[_0x5ca2c3(0x10a)];if(this['clamp'](),_0x272c32%0x4)for(var _0x1f8a57=0x0;_0x1f8a57<_0x51bc94;_0x1f8a57++){var _0x302a32=_0x326523[_0x1f8a57>>>0x2]>>>0x18-_0x1f8a57%0x4*0x8&0xff;_0x581568[_0x272c32+_0x1f8a57>>>0x2]|=_0x302a32<<0x18-(_0x272c32+_0x1f8a57)%0x4*0x8;}else{for(var _0x5d37f3=0x0;_0x5d37f3<_0x51bc94;_0x5d37f3+=0x4)_0x581568[_0x272c32+_0x5d37f3>>>0x2]=_0x326523[_0x5d37f3>>>0x2];}return this['sigBytes']+=_0x51bc94,this;},'clamp':function(){const _0x261278=_0x3c2fc4;var _0x4a188f=this[_0x261278(0x1b2)],_0xa831aa=this['sigBytes'];_0x4a188f[_0xa831aa>>>0x2]&=0xffffffff<<0x20-_0xa831aa%0x4*0x8,_0x4a188f['length']=_0x29ce12['ceil'](_0xa831aa/0x4);},'clone':function(){const _0x406d97=_0x3c2fc4;var _0x227337=_0x2be530['clone'][_0x406d97(0x24a)](this);return _0x227337[_0x406d97(0x1b2)]=this[_0x406d97(0x1b2)]['slice'](0x0),_0x227337;},'random':function(_0x139e08){const _0x305cb7=_0x3c2fc4;for(var _0x4cba37=[],_0x2eb934=0x0;_0x2eb934<_0x139e08;_0x2eb934+=0x4)_0x4cba37[_0x305cb7(0x221)](_0x4b47df());return new _0x2017c1[(_0x305cb7(0x212))](_0x4cba37,_0x139e08);}}),_0x34c035=_0x14a715['enc']={},_0x372a4f=_0x34c035['Hex']={'stringify':function(_0x107c20){const _0x30b8ae=_0x3c2fc4;for(var _0x37599f=_0x107c20[_0x30b8ae(0x1b2)],_0x3b9c05=_0x107c20[_0x30b8ae(0x10a)],_0x4207d0=[],_0x3eb231=0x0;_0x3eb231<_0x3b9c05;_0x3eb231++){var _0x15f63e=_0x37599f[_0x3eb231>>>0x2]>>>0x18-_0x3eb231%0x4*0x8&0xff;_0x4207d0[_0x30b8ae(0x221)]((_0x15f63e>>>0x4)[_0x30b8ae(0x3bf)](0x10)),_0x4207d0[_0x30b8ae(0x221)]((_0x15f63e&0xf)[_0x30b8ae(0x3bf)](0x10));}return _0x4207d0[_0x30b8ae(0x544)]('');},'parse':function(_0x317c54){const _0xa51660=_0x3c2fc4;for(var _0x263626=_0x317c54['length'],_0x5f3328=[],_0x5276db=0x0;_0x5276db<_0x263626;_0x5276db+=0x2)_0x5f3328[_0x5276db>>>0x3]|=parseInt(_0x317c54['substr'](_0x5276db,0x2),0x10)<<0x18-_0x5276db%0x8*0x4;return new _0x2017c1[(_0xa51660(0x212))](_0x5f3328,_0x263626/0x2);}},_0x79a55a=_0x34c035[_0x3c2fc4(0x48e)]={'stringify':function(_0x2a4dc5){const _0x362fe8=_0x3c2fc4;for(var _0x30ea8d=_0x2a4dc5[_0x362fe8(0x1b2)],_0x2de4c4=_0x2a4dc5['sigBytes'],_0x4001dd=[],_0x225813=0x0;_0x225813<_0x2de4c4;_0x225813++){var _0x57716b=_0x30ea8d[_0x225813>>>0x2]>>>0x18-_0x225813%0x4*0x8&0xff;_0x4001dd[_0x362fe8(0x221)](String[_0x362fe8(0x11f)](_0x57716b));}return _0x4001dd['join']('');},'parse':function(_0x246430){const _0xe221f0=_0x3c2fc4;for(var _0x2c1040=_0x246430[_0xe221f0(0x2d9)],_0x3fcf71=[],_0x204c67=0x0;_0x204c67<_0x2c1040;_0x204c67++)_0x3fcf71[_0x204c67>>>0x2]|=(_0x246430[_0xe221f0(0x1b1)](_0x204c67)&0xff)<<0x18-_0x204c67%0x4*0x8;return new _0x2017c1[(_0xe221f0(0x212))](_0x3fcf71,_0x2c1040);}},_0x30acdd=_0x34c035[_0x3c2fc4(0x3c7)]={'stringify':function(_0x24f104){const _0x5971ae=_0x3c2fc4;try{return decodeURIComponent(escape(_0x79a55a[_0x5971ae(0x44f)](_0x24f104)));}catch{throw new Error(_0x5971ae(0x2f4));}},'parse':function(_0x4840a4){const _0x2184a3=_0x3c2fc4;return _0x79a55a[_0x2184a3(0x2bd)](unescape(encodeURIComponent(_0x4840a4)));}},_0x1ef3b3=_0x1fbbd9[_0x3c2fc4(0x317)]=_0x2be530[_0x3c2fc4(0x19c)]({'reset':function(){const _0x2c7eb1=_0x3c2fc4;this[_0x2c7eb1(0x51e)]=new _0x2017c1[(_0x2c7eb1(0x212))](),this['_nDataBytes']=0x0;},'_append':function(_0x3416d1){const _0x42f0ae=_0x3c2fc4;typeof _0x3416d1=='string'&&(_0x3416d1=_0x30acdd[_0x42f0ae(0x2bd)](_0x3416d1)),this[_0x42f0ae(0x51e)][_0x42f0ae(0x3b8)](_0x3416d1),this[_0x42f0ae(0x8b)]+=_0x3416d1['sigBytes'];},'_process':function(_0x521f57){const _0x2e3195=_0x3c2fc4;var _0x14b221,_0x18f690=this['_data'],_0x172888=_0x18f690[_0x2e3195(0x1b2)],_0x2e272c=_0x18f690[_0x2e3195(0x10a)],_0x585ef8=this[_0x2e3195(0x3d5)],_0x219515=_0x585ef8*0x4,_0x54e862=_0x2e272c/_0x219515;_0x521f57?_0x54e862=_0x29ce12[_0x2e3195(0x4bc)](_0x54e862):_0x54e862=_0x29ce12['max']((_0x54e862|0x0)-this[_0x2e3195(0x1c9)],0x0);var _0x2a6aa0=_0x54e862*_0x585ef8,_0x239509=_0x29ce12['min'](_0x2a6aa0*0x4,_0x2e272c);if(_0x2a6aa0){for(var _0x12e461=0x0;_0x12e461<_0x2a6aa0;_0x12e461+=_0x585ef8)this[_0x2e3195(0x4a7)](_0x172888,_0x12e461);_0x14b221=_0x172888[_0x2e3195(0xf8)](0x0,_0x2a6aa0),_0x18f690[_0x2e3195(0x10a)]-=_0x239509;}return new _0x2017c1['init'](_0x14b221,_0x239509);},'clone':function(){const _0x201f61=_0x3c2fc4;var _0x2d583b=_0x2be530['clone'][_0x201f61(0x24a)](this);return _0x2d583b[_0x201f61(0x51e)]=this[_0x201f61(0x51e)][_0x201f61(0x35b)](),_0x2d583b;},'_minBufferSize':0x0});_0x1fbbd9[_0x3c2fc4(0x40d)]=_0x1ef3b3[_0x3c2fc4(0x19c)]({'cfg':_0x2be530['extend'](),'init':function(_0x6b8cca){const _0x50e202=_0x3c2fc4;this[_0x50e202(0x8f)]=this['cfg'][_0x50e202(0x19c)](_0x6b8cca),this['reset']();},'reset':function(){const _0x18d368=_0x3c2fc4;_0x1ef3b3[_0x18d368(0xfa)][_0x18d368(0x24a)](this),this[_0x18d368(0xfd)]();},'update':function(_0xd09c70){const _0x5d0325=_0x3c2fc4;return this[_0x5d0325(0x26e)](_0xd09c70),this['_process'](),this;},'finalize':function(_0x430269){const _0x37431=_0x3c2fc4;_0x430269&&this[_0x37431(0x26e)](_0x430269);var _0xef5c52=this['_doFinalize']();return _0xef5c52;},'blockSize':0x10,'_createHelper':function(_0x160c2a){return function(_0x367d35,_0x7ee82d){const _0x2769e8=_0x195f;return new _0x160c2a[(_0x2769e8(0x212))](_0x7ee82d)[_0x2769e8(0x257)](_0x367d35);};},'_createHmacHelper':function(_0x5c327a){return function(_0x1181b0,_0x28e726){const _0xdc2bfc=_0x195f;return new _0x346a25[(_0xdc2bfc(0x4da))][(_0xdc2bfc(0x212))](_0x5c327a,_0x28e726)[_0xdc2bfc(0x257)](_0x1181b0);};}});var _0x346a25=_0x14a715[_0x3c2fc4(0x327)]={};return _0x14a715;}(Math);return _0x4873ff;}));}(lt)),lt['exports'];}var ht={'exports':{}},Kt;function Pi(){const _0x1a20a8=_0xbb724d;return Kt||(Kt=0x1,function(_0x4c3741,_0x2767f2){(function(_0x328751,_0x601ce8){const _0x3c9b9=_0x195f;_0x4c3741[_0x3c9b9(0x34e)]=_0x601ce8(oe());}(Z,function(_0x36b047){const _0x4cd056=_0x195f;return(function(){const _0x292a24=_0x195f;var _0x1cc0f5=_0x36b047,_0x2ddd94=_0x1cc0f5[_0x292a24(0x256)],_0x53fc71=_0x2ddd94['WordArray'],_0x22591f=_0x1cc0f5[_0x292a24(0x96)];_0x22591f[_0x292a24(0x304)]={'stringify':function(_0x74c0eb){const _0x12208d=_0x292a24;var _0x4c07c7=_0x74c0eb[_0x12208d(0x1b2)],_0x54879d=_0x74c0eb[_0x12208d(0x10a)],_0x15595e=this['_map'];_0x74c0eb['clamp']();for(var _0x237433=[],_0x2b16e3=0x0;_0x2b16e3<_0x54879d;_0x2b16e3+=0x3)for(var _0x1f0f79=_0x4c07c7[_0x2b16e3>>>0x2]>>>0x18-_0x2b16e3%0x4*0x8&0xff,_0x434934=_0x4c07c7[_0x2b16e3+0x1>>>0x2]>>>0x18-(_0x2b16e3+0x1)%0x4*0x8&0xff,_0x4f71da=_0x4c07c7[_0x2b16e3+0x2>>>0x2]>>>0x18-(_0x2b16e3+0x2)%0x4*0x8&0xff,_0x5cae18=_0x1f0f79<<0x10|_0x434934<<0x8|_0x4f71da,_0x33e058=0x0;_0x33e058<0x4&&_0x2b16e3+_0x33e058*0.75<_0x54879d;_0x33e058++)_0x237433['push'](_0x15595e[_0x12208d(0xfc)](_0x5cae18>>>0x6*(0x3-_0x33e058)&0x3f));var _0x3f0146=_0x15595e[_0x12208d(0xfc)](0x40);if(_0x3f0146){for(;_0x237433[_0x12208d(0x2d9)]%0x4;)_0x237433['push'](_0x3f0146);}return _0x237433[_0x12208d(0x544)]('');},'parse':function(_0x1192f5){const _0x239e79=_0x292a24;var _0x2a5828=_0x1192f5[_0x239e79(0x2d9)],_0x1d9a57=this['_map'],_0x192f01=this[_0x239e79(0x1fe)];if(!_0x192f01){_0x192f01=this['_reverseMap']=[];for(var _0x41c915=0x0;_0x41c915<_0x1d9a57[_0x239e79(0x2d9)];_0x41c915++)_0x192f01[_0x1d9a57[_0x239e79(0x1b1)](_0x41c915)]=_0x41c915;}var _0x2676e4=_0x1d9a57['charAt'](0x40);if(_0x2676e4){var _0x36013e=_0x1192f5[_0x239e79(0x1a7)](_0x2676e4);_0x36013e!==-0x1&&(_0x2a5828=_0x36013e);}return _0x1eefb5(_0x1192f5,_0x2a5828,_0x192f01);},'_map':_0x292a24(0x4e8)};function _0x1eefb5(_0x438441,_0x284b3f,_0x5cea6f){const _0x29cb33=_0x292a24;for(var _0x5219c6=[],_0x30c3ac=0x0,_0x351fb8=0x0;_0x351fb8<_0x284b3f;_0x351fb8++)if(_0x351fb8%0x4){var _0x9dfeaf=_0x5cea6f[_0x438441[_0x29cb33(0x1b1)](_0x351fb8-0x1)]<<_0x351fb8%0x4*0x2,_0x3edd14=_0x5cea6f[_0x438441[_0x29cb33(0x1b1)](_0x351fb8)]>>>0x6-_0x351fb8%0x4*0x2,_0x1beec1=_0x9dfeaf|_0x3edd14;_0x5219c6[_0x30c3ac>>>0x2]|=_0x1beec1<<0x18-_0x30c3ac%0x4*0x8,_0x30c3ac++;}return _0x53fc71['create'](_0x5219c6,_0x30c3ac);}}()),_0x36b047[_0x4cd056(0x96)]['Base64'];}));}(ht)),ht[_0x1a20a8(0x34e)];}var _t={'exports':{}},qt;function fr(){const _0x58e35e=_0xbb724d;return qt||(qt=0x1,function(_0x559c9f,_0x39bf02){(function(_0x4a479e,_0x4a7cea){const _0x30283f=_0x195f;_0x559c9f[_0x30283f(0x34e)]=_0x4a7cea(oe());}(Z,function(_0x4f65a5){const _0x3383f9=_0x195f;return function(_0x2457a9){const _0x52d747=_0x195f;var _0x583688=_0x4f65a5,_0x3cd07f=_0x583688[_0x52d747(0x256)],_0x16a7e2=_0x3cd07f[_0x52d747(0x363)],_0x535fc9=_0x3cd07f[_0x52d747(0x40d)],_0x49c383=_0x583688['algo'],_0xefceb2=[];(function(){const _0x2144d4=_0x52d747;for(var _0x36de66=0x0;_0x36de66<0x40;_0x36de66++)_0xefceb2[_0x36de66]=_0x2457a9[_0x2144d4(0x3d9)](_0x2457a9[_0x2144d4(0x39d)](_0x36de66+0x1))*0x100000000|0x0;}());var _0x1dfaa7=_0x49c383['MD5']=_0x535fc9[_0x52d747(0x19c)]({'_doReset':function(){const _0x3e6831=_0x52d747;this[_0x3e6831(0x500)]=new _0x16a7e2[(_0x3e6831(0x212))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x30c399,_0x277d88){const _0x1f42e5=_0x52d747;for(var _0x2662cc=0x0;_0x2662cc<0x10;_0x2662cc++){var _0x2addfa=_0x277d88+_0x2662cc,_0x5e82a9=_0x30c399[_0x2addfa];_0x30c399[_0x2addfa]=(_0x5e82a9<<0x8|_0x5e82a9>>>0x18)&0xff00ff|(_0x5e82a9<<0x18|_0x5e82a9>>>0x8)&0xff00ff00;}var _0x542047=this[_0x1f42e5(0x500)]['words'],_0x5f2686=_0x30c399[_0x277d88+0x0],_0x425b2d=_0x30c399[_0x277d88+0x1],_0x2b68dc=_0x30c399[_0x277d88+0x2],_0x4a1144=_0x30c399[_0x277d88+0x3],_0x45fb3a=_0x30c399[_0x277d88+0x4],_0x437a89=_0x30c399[_0x277d88+0x5],_0x50dc6=_0x30c399[_0x277d88+0x6],_0x2d73fe=_0x30c399[_0x277d88+0x7],_0x3cf32a=_0x30c399[_0x277d88+0x8],_0x1c1ef9=_0x30c399[_0x277d88+0x9],_0x315c61=_0x30c399[_0x277d88+0xa],_0x16b3ff=_0x30c399[_0x277d88+0xb],_0x53c1a8=_0x30c399[_0x277d88+0xc],_0x3a0527=_0x30c399[_0x277d88+0xd],_0x433064=_0x30c399[_0x277d88+0xe],_0x3c351a=_0x30c399[_0x277d88+0xf],_0x3e8386=_0x542047[0x0],_0x2c7b52=_0x542047[0x1],_0x47585b=_0x542047[0x2],_0x1c8f46=_0x542047[0x3];_0x3e8386=_0x21482a(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x5f2686,0x7,_0xefceb2[0x0]),_0x1c8f46=_0x21482a(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x425b2d,0xc,_0xefceb2[0x1]),_0x47585b=_0x21482a(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x2b68dc,0x11,_0xefceb2[0x2]),_0x2c7b52=_0x21482a(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x4a1144,0x16,_0xefceb2[0x3]),_0x3e8386=_0x21482a(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x45fb3a,0x7,_0xefceb2[0x4]),_0x1c8f46=_0x21482a(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x437a89,0xc,_0xefceb2[0x5]),_0x47585b=_0x21482a(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x50dc6,0x11,_0xefceb2[0x6]),_0x2c7b52=_0x21482a(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x2d73fe,0x16,_0xefceb2[0x7]),_0x3e8386=_0x21482a(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x3cf32a,0x7,_0xefceb2[0x8]),_0x1c8f46=_0x21482a(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x1c1ef9,0xc,_0xefceb2[0x9]),_0x47585b=_0x21482a(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x315c61,0x11,_0xefceb2[0xa]),_0x2c7b52=_0x21482a(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x16b3ff,0x16,_0xefceb2[0xb]),_0x3e8386=_0x21482a(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x53c1a8,0x7,_0xefceb2[0xc]),_0x1c8f46=_0x21482a(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x3a0527,0xc,_0xefceb2[0xd]),_0x47585b=_0x21482a(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x433064,0x11,_0xefceb2[0xe]),_0x2c7b52=_0x21482a(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x3c351a,0x16,_0xefceb2[0xf]),_0x3e8386=_0x244ab0(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x425b2d,0x5,_0xefceb2[0x10]),_0x1c8f46=_0x244ab0(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x50dc6,0x9,_0xefceb2[0x11]),_0x47585b=_0x244ab0(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x16b3ff,0xe,_0xefceb2[0x12]),_0x2c7b52=_0x244ab0(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x5f2686,0x14,_0xefceb2[0x13]),_0x3e8386=_0x244ab0(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x437a89,0x5,_0xefceb2[0x14]),_0x1c8f46=_0x244ab0(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x315c61,0x9,_0xefceb2[0x15]),_0x47585b=_0x244ab0(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x3c351a,0xe,_0xefceb2[0x16]),_0x2c7b52=_0x244ab0(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x45fb3a,0x14,_0xefceb2[0x17]),_0x3e8386=_0x244ab0(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x1c1ef9,0x5,_0xefceb2[0x18]),_0x1c8f46=_0x244ab0(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x433064,0x9,_0xefceb2[0x19]),_0x47585b=_0x244ab0(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x4a1144,0xe,_0xefceb2[0x1a]),_0x2c7b52=_0x244ab0(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x3cf32a,0x14,_0xefceb2[0x1b]),_0x3e8386=_0x244ab0(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x3a0527,0x5,_0xefceb2[0x1c]),_0x1c8f46=_0x244ab0(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x2b68dc,0x9,_0xefceb2[0x1d]),_0x47585b=_0x244ab0(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x2d73fe,0xe,_0xefceb2[0x1e]),_0x2c7b52=_0x244ab0(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x53c1a8,0x14,_0xefceb2[0x1f]),_0x3e8386=_0x579a15(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x437a89,0x4,_0xefceb2[0x20]),_0x1c8f46=_0x579a15(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x3cf32a,0xb,_0xefceb2[0x21]),_0x47585b=_0x579a15(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x16b3ff,0x10,_0xefceb2[0x22]),_0x2c7b52=_0x579a15(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x433064,0x17,_0xefceb2[0x23]),_0x3e8386=_0x579a15(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x425b2d,0x4,_0xefceb2[0x24]),_0x1c8f46=_0x579a15(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x45fb3a,0xb,_0xefceb2[0x25]),_0x47585b=_0x579a15(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x2d73fe,0x10,_0xefceb2[0x26]),_0x2c7b52=_0x579a15(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x315c61,0x17,_0xefceb2[0x27]),_0x3e8386=_0x579a15(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x3a0527,0x4,_0xefceb2[0x28]),_0x1c8f46=_0x579a15(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x5f2686,0xb,_0xefceb2[0x29]),_0x47585b=_0x579a15(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x4a1144,0x10,_0xefceb2[0x2a]),_0x2c7b52=_0x579a15(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x50dc6,0x17,_0xefceb2[0x2b]),_0x3e8386=_0x579a15(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x1c1ef9,0x4,_0xefceb2[0x2c]),_0x1c8f46=_0x579a15(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x53c1a8,0xb,_0xefceb2[0x2d]),_0x47585b=_0x579a15(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x3c351a,0x10,_0xefceb2[0x2e]),_0x2c7b52=_0x579a15(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x2b68dc,0x17,_0xefceb2[0x2f]),_0x3e8386=_0xdbbee5(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x5f2686,0x6,_0xefceb2[0x30]),_0x1c8f46=_0xdbbee5(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x2d73fe,0xa,_0xefceb2[0x31]),_0x47585b=_0xdbbee5(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x433064,0xf,_0xefceb2[0x32]),_0x2c7b52=_0xdbbee5(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x437a89,0x15,_0xefceb2[0x33]),_0x3e8386=_0xdbbee5(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x53c1a8,0x6,_0xefceb2[0x34]),_0x1c8f46=_0xdbbee5(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x4a1144,0xa,_0xefceb2[0x35]),_0x47585b=_0xdbbee5(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x315c61,0xf,_0xefceb2[0x36]),_0x2c7b52=_0xdbbee5(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x425b2d,0x15,_0xefceb2[0x37]),_0x3e8386=_0xdbbee5(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x3cf32a,0x6,_0xefceb2[0x38]),_0x1c8f46=_0xdbbee5(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x3c351a,0xa,_0xefceb2[0x39]),_0x47585b=_0xdbbee5(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x50dc6,0xf,_0xefceb2[0x3a]),_0x2c7b52=_0xdbbee5(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x3a0527,0x15,_0xefceb2[0x3b]),_0x3e8386=_0xdbbee5(_0x3e8386,_0x2c7b52,_0x47585b,_0x1c8f46,_0x45fb3a,0x6,_0xefceb2[0x3c]),_0x1c8f46=_0xdbbee5(_0x1c8f46,_0x3e8386,_0x2c7b52,_0x47585b,_0x16b3ff,0xa,_0xefceb2[0x3d]),_0x47585b=_0xdbbee5(_0x47585b,_0x1c8f46,_0x3e8386,_0x2c7b52,_0x2b68dc,0xf,_0xefceb2[0x3e]),_0x2c7b52=_0xdbbee5(_0x2c7b52,_0x47585b,_0x1c8f46,_0x3e8386,_0x1c1ef9,0x15,_0xefceb2[0x3f]),_0x542047[0x0]=_0x542047[0x0]+_0x3e8386|0x0,_0x542047[0x1]=_0x542047[0x1]+_0x2c7b52|0x0,_0x542047[0x2]=_0x542047[0x2]+_0x47585b|0x0,_0x542047[0x3]=_0x542047[0x3]+_0x1c8f46|0x0;},'_doFinalize':function(){const _0x1a79d7=_0x52d747;var _0x57f0ae=this['_data'],_0x264d08=_0x57f0ae[_0x1a79d7(0x1b2)],_0xeb419f=this[_0x1a79d7(0x8b)]*0x8,_0x427642=_0x57f0ae['sigBytes']*0x8;_0x264d08[_0x427642>>>0x5]|=0x80<<0x18-_0x427642%0x20;var _0x42f89d=_0x2457a9[_0x1a79d7(0x2f3)](_0xeb419f/0x100000000),_0x186ff5=_0xeb419f;_0x264d08[(_0x427642+0x40>>>0x9<<0x4)+0xf]=(_0x42f89d<<0x8|_0x42f89d>>>0x18)&0xff00ff|(_0x42f89d<<0x18|_0x42f89d>>>0x8)&0xff00ff00,_0x264d08[(_0x427642+0x40>>>0x9<<0x4)+0xe]=(_0x186ff5<<0x8|_0x186ff5>>>0x18)&0xff00ff|(_0x186ff5<<0x18|_0x186ff5>>>0x8)&0xff00ff00,_0x57f0ae[_0x1a79d7(0x10a)]=(_0x264d08[_0x1a79d7(0x2d9)]+0x1)*0x4,this[_0x1a79d7(0x428)]();for(var _0x282b93=this['_hash'],_0x53fe6e=_0x282b93['words'],_0xe7750d=0x0;_0xe7750d<0x4;_0xe7750d++){var _0x24712c=_0x53fe6e[_0xe7750d];_0x53fe6e[_0xe7750d]=(_0x24712c<<0x8|_0x24712c>>>0x18)&0xff00ff|(_0x24712c<<0x18|_0x24712c>>>0x8)&0xff00ff00;}return _0x282b93;},'clone':function(){const _0xe4827=_0x52d747;var _0x569328=_0x535fc9[_0xe4827(0x35b)][_0xe4827(0x24a)](this);return _0x569328[_0xe4827(0x500)]=this['_hash'][_0xe4827(0x35b)](),_0x569328;}});function _0x21482a(_0x54fae3,_0x4fc5c4,_0x37b76d,_0x19e804,_0x2d712a,_0xe3e6ce,_0xf5032d){var _0x2fe6c9=_0x54fae3+(_0x4fc5c4&_0x37b76d|~_0x4fc5c4&_0x19e804)+_0x2d712a+_0xf5032d;return(_0x2fe6c9<<_0xe3e6ce|_0x2fe6c9>>>0x20-_0xe3e6ce)+_0x4fc5c4;}function _0x244ab0(_0x3c259d,_0x14dde3,_0x360667,_0x1125d6,_0x190ce3,_0x49ec9e,_0xe5cc1d){var _0xb35c60=_0x3c259d+(_0x14dde3&_0x1125d6|_0x360667&~_0x1125d6)+_0x190ce3+_0xe5cc1d;return(_0xb35c60<<_0x49ec9e|_0xb35c60>>>0x20-_0x49ec9e)+_0x14dde3;}function _0x579a15(_0x6ed014,_0x5db107,_0x4f1a6d,_0xe0c1d2,_0x5a4c0f,_0x3e0c58,_0x5d1139){var _0x2f0aed=_0x6ed014+(_0x5db107^_0x4f1a6d^_0xe0c1d2)+_0x5a4c0f+_0x5d1139;return(_0x2f0aed<<_0x3e0c58|_0x2f0aed>>>0x20-_0x3e0c58)+_0x5db107;}function _0xdbbee5(_0x117d67,_0xa46f4f,_0x564a64,_0x1bebde,_0x20e9d6,_0x4a997d,_0x37ea79){var _0x1341f5=_0x117d67+(_0x564a64^(_0xa46f4f|~_0x1bebde))+_0x20e9d6+_0x37ea79;return(_0x1341f5<<_0x4a997d|_0x1341f5>>>0x20-_0x4a997d)+_0xa46f4f;}_0x583688[_0x52d747(0x478)]=_0x535fc9['_createHelper'](_0x1dfaa7),_0x583688[_0x52d747(0x415)]=_0x535fc9['_createHmacHelper'](_0x1dfaa7);}(Math),_0x4f65a5[_0x3383f9(0x478)];}));}(_t)),_t[_0x58e35e(0x34e)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){return zt||(zt=0x1,function(_0x183366,_0xe43e17){(function(_0xf02a58,_0x520901){_0x183366['exports']=_0x520901(oe());}(Z,function(_0x43a66f){const _0x45f6ef=_0x195f;return(function(){const _0x27f99c=_0x195f;var _0x498090=_0x43a66f,_0x19a8a1=_0x498090['lib'],_0x5cb2d6=_0x19a8a1[_0x27f99c(0x363)],_0x319bc2=_0x19a8a1[_0x27f99c(0x40d)],_0x31b790=_0x498090['algo'],_0x5e9e9b=[],_0xead457=_0x31b790[_0x27f99c(0x386)]=_0x319bc2[_0x27f99c(0x19c)]({'_doReset':function(){const _0x452273=_0x27f99c;this[_0x452273(0x500)]=new _0x5cb2d6[(_0x452273(0x212))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x500ca7,_0x57953d){const _0xf13abb=_0x27f99c;for(var _0x4d884e=this[_0xf13abb(0x500)]['words'],_0x3b6c5e=_0x4d884e[0x0],_0x3f6352=_0x4d884e[0x1],_0x410796=_0x4d884e[0x2],_0x61e917=_0x4d884e[0x3],_0x1c2c96=_0x4d884e[0x4],_0x39031d=0x0;_0x39031d<0x50;_0x39031d++){if(_0x39031d<0x10)_0x5e9e9b[_0x39031d]=_0x500ca7[_0x57953d+_0x39031d]|0x0;else{var _0x1030c7=_0x5e9e9b[_0x39031d-0x3]^_0x5e9e9b[_0x39031d-0x8]^_0x5e9e9b[_0x39031d-0xe]^_0x5e9e9b[_0x39031d-0x10];_0x5e9e9b[_0x39031d]=_0x1030c7<<0x1|_0x1030c7>>>0x1f;}var _0x369344=(_0x3b6c5e<<0x5|_0x3b6c5e>>>0x1b)+_0x1c2c96+_0x5e9e9b[_0x39031d];_0x39031d<0x14?_0x369344+=(_0x3f6352&_0x410796|~_0x3f6352&_0x61e917)+0x5a827999:_0x39031d<0x28?_0x369344+=(_0x3f6352^_0x410796^_0x61e917)+0x6ed9eba1:_0x39031d<0x3c?_0x369344+=(_0x3f6352&_0x410796|_0x3f6352&_0x61e917|_0x410796&_0x61e917)-0x70e44324:_0x369344+=(_0x3f6352^_0x410796^_0x61e917)-0x359d3e2a,_0x1c2c96=_0x61e917,_0x61e917=_0x410796,_0x410796=_0x3f6352<<0x1e|_0x3f6352>>>0x2,_0x3f6352=_0x3b6c5e,_0x3b6c5e=_0x369344;}_0x4d884e[0x0]=_0x4d884e[0x0]+_0x3b6c5e|0x0,_0x4d884e[0x1]=_0x4d884e[0x1]+_0x3f6352|0x0,_0x4d884e[0x2]=_0x4d884e[0x2]+_0x410796|0x0,_0x4d884e[0x3]=_0x4d884e[0x3]+_0x61e917|0x0,_0x4d884e[0x4]=_0x4d884e[0x4]+_0x1c2c96|0x0;},'_doFinalize':function(){const _0x5966fc=_0x27f99c;var _0xe691f2=this[_0x5966fc(0x51e)],_0x41e2e7=_0xe691f2[_0x5966fc(0x1b2)],_0x10ee51=this[_0x5966fc(0x8b)]*0x8,_0x1aa2cf=_0xe691f2[_0x5966fc(0x10a)]*0x8;return _0x41e2e7[_0x1aa2cf>>>0x5]|=0x80<<0x18-_0x1aa2cf%0x20,_0x41e2e7[(_0x1aa2cf+0x40>>>0x9<<0x4)+0xe]=Math[_0x5966fc(0x2f3)](_0x10ee51/0x100000000),_0x41e2e7[(_0x1aa2cf+0x40>>>0x9<<0x4)+0xf]=_0x10ee51,_0xe691f2[_0x5966fc(0x10a)]=_0x41e2e7['length']*0x4,this[_0x5966fc(0x428)](),this[_0x5966fc(0x500)];},'clone':function(){const _0x2d7925=_0x27f99c;var _0x98f420=_0x319bc2[_0x2d7925(0x35b)]['call'](this);return _0x98f420[_0x2d7925(0x500)]=this[_0x2d7925(0x500)][_0x2d7925(0x35b)](),_0x98f420;}});_0x498090[_0x27f99c(0x386)]=_0x319bc2['_createHelper'](_0xead457),_0x498090[_0x27f99c(0x380)]=_0x319bc2[_0x27f99c(0x1f4)](_0xead457);}()),_0x43a66f[_0x45f6ef(0x386)];}));}(dt)),dt['exports'];}var ft={'exports':{}},Xt;function Sr(){const _0x535f53=_0xbb724d;return Xt||(Xt=0x1,function(_0x3ea6ba,_0x1cb135){(function(_0x59e464,_0x369a8e){_0x3ea6ba['exports']=_0x369a8e(oe());}(Z,function(_0x2a9272){(function(){const _0x4962a7=_0x195f;var _0x46f2d0=_0x2a9272,_0x321bd6=_0x46f2d0[_0x4962a7(0x256)],_0x3aed1f=_0x321bd6[_0x4962a7(0x1db)],_0x5e1d23=_0x46f2d0[_0x4962a7(0x96)],_0x1797b6=_0x5e1d23[_0x4962a7(0x3c7)],_0x35ed80=_0x46f2d0['algo'];_0x35ed80[_0x4962a7(0x4da)]=_0x3aed1f[_0x4962a7(0x19c)]({'init':function(_0x1bc217,_0x367d20){const _0x593f1b=_0x4962a7;_0x1bc217=this[_0x593f1b(0x512)]=new _0x1bc217[(_0x593f1b(0x212))](),typeof _0x367d20==_0x593f1b(0x1eb)&&(_0x367d20=_0x1797b6[_0x593f1b(0x2bd)](_0x367d20));var _0x486bf8=_0x1bc217[_0x593f1b(0x3d5)],_0x139625=_0x486bf8*0x4;_0x367d20['sigBytes']>_0x139625&&(_0x367d20=_0x1bc217[_0x593f1b(0x257)](_0x367d20)),_0x367d20[_0x593f1b(0x19b)]();for(var _0x152f8c=this[_0x593f1b(0x10c)]=_0x367d20[_0x593f1b(0x35b)](),_0x4245d0=this['_iKey']=_0x367d20[_0x593f1b(0x35b)](),_0xa0360f=_0x152f8c[_0x593f1b(0x1b2)],_0x53b2db=_0x4245d0[_0x593f1b(0x1b2)],_0x1f8fd0=0x0;_0x1f8fd0<_0x486bf8;_0x1f8fd0++)_0xa0360f[_0x1f8fd0]^=0x5c5c5c5c,_0x53b2db[_0x1f8fd0]^=0x36363636;_0x152f8c[_0x593f1b(0x10a)]=_0x4245d0['sigBytes']=_0x139625,this['reset']();},'reset':function(){const _0x2fb1f6=_0x4962a7;var _0x42f6b7=this[_0x2fb1f6(0x512)];_0x42f6b7['reset'](),_0x42f6b7[_0x2fb1f6(0x1a8)](this[_0x2fb1f6(0x52d)]);},'update':function(_0x383a46){const _0x26d69e=_0x4962a7;return this[_0x26d69e(0x512)][_0x26d69e(0x1a8)](_0x383a46),this;},'finalize':function(_0x11db3f){const _0x415a86=_0x4962a7;var _0x62a6c=this[_0x415a86(0x512)],_0x191646=_0x62a6c[_0x415a86(0x257)](_0x11db3f);_0x62a6c[_0x415a86(0xfa)]();var _0x427e2e=_0x62a6c['finalize'](this[_0x415a86(0x10c)][_0x415a86(0x35b)]()[_0x415a86(0x3b8)](_0x191646));return _0x427e2e;}});}());}));}(ft)),ft[_0x535f53(0x34e)];}var Jt;function wi(){const _0x5d952c=_0xbb724d;return Jt||(Jt=0x1,function(_0x38fcf3,_0x5bd927){(function(_0xd4a890,_0x456c34,_0x2464bd){const _0x1ec380=_0x195f;_0x38fcf3[_0x1ec380(0x34e)]=_0x456c34(oe(),vr(),Sr());}(Z,function(_0xe1817f){const _0x26f25e=_0x195f;return(function(){const _0x153de1=_0x195f;var _0x120246=_0xe1817f,_0x2e6d03=_0x120246[_0x153de1(0x256)],_0x1df9ee=_0x2e6d03[_0x153de1(0x1db)],_0xc86871=_0x2e6d03[_0x153de1(0x363)],_0x4984e5=_0x120246[_0x153de1(0x327)],_0x12488f=_0x4984e5[_0x153de1(0x478)],_0x194812=_0x4984e5[_0x153de1(0x189)]=_0x1df9ee[_0x153de1(0x19c)]({'cfg':_0x1df9ee['extend']({'keySize':0x80/0x20,'hasher':_0x12488f,'iterations':0x1}),'init':function(_0x570aef){const _0x527ce8=_0x153de1;this[_0x527ce8(0x8f)]=this[_0x527ce8(0x8f)][_0x527ce8(0x19c)](_0x570aef);},'compute':function(_0x1624c4,_0x1528ff){const _0x4fa043=_0x153de1;for(var _0x119290,_0x19f1ae=this[_0x4fa043(0x8f)],_0x3be332=_0x19f1ae[_0x4fa043(0x184)][_0x4fa043(0x19a)](),_0x5f9f=_0xc86871['create'](),_0x3ff080=_0x5f9f[_0x4fa043(0x1b2)],_0x2ba9c0=_0x19f1ae[_0x4fa043(0xce)],_0x457e9b=_0x19f1ae[_0x4fa043(0x4b6)];_0x3ff080[_0x4fa043(0x2d9)]<_0x2ba9c0;){_0x119290&&_0x3be332[_0x4fa043(0x1a8)](_0x119290),_0x119290=_0x3be332[_0x4fa043(0x1a8)](_0x1624c4)[_0x4fa043(0x257)](_0x1528ff),_0x3be332['reset']();for(var _0x157073=0x1;_0x157073<_0x457e9b;_0x157073++)_0x119290=_0x3be332['finalize'](_0x119290),_0x3be332['reset']();_0x5f9f['concat'](_0x119290);}return _0x5f9f['sigBytes']=_0x2ba9c0*0x4,_0x5f9f;}});_0x120246[_0x153de1(0x189)]=function(_0x1d31cf,_0x240a90,_0x102250){const _0xd91993=_0x153de1;return _0x194812[_0xd91993(0x19a)](_0x102250)['compute'](_0x1d31cf,_0x240a90);};}()),_0xe1817f[_0x26f25e(0x189)];}));}(ut)),ut[_0x5d952c(0x34e)];}var vt={'exports':{}},Zt;function Ui(){const _0x20864b=_0xbb724d;return Zt||(Zt=0x1,function(_0x1a971c,_0x352ef6){(function(_0x2f9a1f,_0x462c80,_0x622766){_0x1a971c['exports']=_0x462c80(oe(),wi());}(Z,function(_0x4f9512){const _0x111b9f=_0x195f;_0x4f9512[_0x111b9f(0x256)][_0x111b9f(0x263)]||function(_0x585fb9){const _0x18cd9d=_0x111b9f;var _0x2a9d5a=_0x4f9512,_0x2e989c=_0x2a9d5a[_0x18cd9d(0x256)],_0x2bf006=_0x2e989c[_0x18cd9d(0x1db)],_0x1fa9b7=_0x2e989c['WordArray'],_0x2ea379=_0x2e989c[_0x18cd9d(0x317)],_0x47a28f=_0x2a9d5a[_0x18cd9d(0x96)];_0x47a28f[_0x18cd9d(0x3c7)];var _0x49259c=_0x47a28f['Base64'],_0x22e497=_0x2a9d5a['algo'],_0x5b7458=_0x22e497[_0x18cd9d(0x189)],_0x4049ce=_0x2e989c[_0x18cd9d(0x263)]=_0x2ea379[_0x18cd9d(0x19c)]({'cfg':_0x2bf006[_0x18cd9d(0x19c)](),'createEncryptor':function(_0x268f30,_0xb2146a){const _0x2c12ad=_0x18cd9d;return this[_0x2c12ad(0x19a)](this[_0x2c12ad(0x1fc)],_0x268f30,_0xb2146a);},'createDecryptor':function(_0xfc4832,_0x292b46){const _0x4e283c=_0x18cd9d;return this['create'](this[_0x4e283c(0x143)],_0xfc4832,_0x292b46);},'init':function(_0x33a124,_0x1ceb6f,_0x2864b2){const _0x446172=_0x18cd9d;this[_0x446172(0x8f)]=this[_0x446172(0x8f)]['extend'](_0x2864b2),this[_0x446172(0x163)]=_0x33a124,this[_0x446172(0x4e9)]=_0x1ceb6f,this[_0x446172(0xfa)]();},'reset':function(){const _0x44d135=_0x18cd9d;_0x2ea379[_0x44d135(0xfa)][_0x44d135(0x24a)](this),this[_0x44d135(0xfd)]();},'process':function(_0x5a161a){const _0x535984=_0x18cd9d;return this[_0x535984(0x26e)](_0x5a161a),this[_0x535984(0x428)]();},'finalize':function(_0x46d9e3){const _0x325664=_0x18cd9d;_0x46d9e3&&this[_0x325664(0x26e)](_0x46d9e3);var _0x250073=this[_0x325664(0x204)]();return _0x250073;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa343ae(_0x326f7c){const _0x5dc4d1=_0x195f;return typeof _0x326f7c==_0x5dc4d1(0x1eb)?_0x1ceaa5:_0x21d495;}return function(_0x14a024){return{'encrypt':function(_0x3125d6,_0x3eaf39,_0x36ec21){const _0x4aa09c=_0x195f;return _0xa343ae(_0x3eaf39)[_0x4aa09c(0xda)](_0x14a024,_0x3125d6,_0x3eaf39,_0x36ec21);},'decrypt':function(_0x56d616,_0x4f7fc3,_0x505ad2){const _0x5e012e=_0x195f;return _0xa343ae(_0x4f7fc3)[_0x5e012e(0x377)](_0x14a024,_0x56d616,_0x4f7fc3,_0x505ad2);}};};}())});_0x2e989c[_0x18cd9d(0x2c1)]=_0x4049ce[_0x18cd9d(0x19c)]({'_doFinalize':function(){const _0xc7f9b3=_0x18cd9d;var _0x26ac0f=this[_0xc7f9b3(0x428)](!0x0);return _0x26ac0f;},'blockSize':0x1});var _0x4b9b83=_0x2a9d5a['mode']={},_0x180a59=_0x2e989c[_0x18cd9d(0x169)]=_0x2bf006['extend']({'createEncryptor':function(_0x1cd7b5,_0x11837d){const _0x1c6abe=_0x18cd9d;return this[_0x1c6abe(0x236)][_0x1c6abe(0x19a)](_0x1cd7b5,_0x11837d);},'createDecryptor':function(_0xf2eb8c,_0x30b2f9){const _0x58b3dd=_0x18cd9d;return this['Decryptor'][_0x58b3dd(0x19a)](_0xf2eb8c,_0x30b2f9);},'init':function(_0x139dfc,_0x3c2ae2){const _0x21baf8=_0x18cd9d;this[_0x21baf8(0x2ba)]=_0x139dfc,this[_0x21baf8(0x429)]=_0x3c2ae2;}}),_0x57b7f6=_0x4b9b83[_0x18cd9d(0x369)]=(function(){const _0xfdafef=_0x18cd9d;var _0x2f39e4=_0x180a59[_0xfdafef(0x19c)]();_0x2f39e4[_0xfdafef(0x236)]=_0x2f39e4[_0xfdafef(0x19c)]({'processBlock':function(_0x48ea32,_0x33d80d){const _0x1de5e5=_0xfdafef;var _0x535385=this[_0x1de5e5(0x2ba)],_0x7dba62=_0x535385[_0x1de5e5(0x3d5)];_0x43ab12[_0x1de5e5(0x24a)](this,_0x48ea32,_0x33d80d,_0x7dba62),_0x535385[_0x1de5e5(0x44d)](_0x48ea32,_0x33d80d),this[_0x1de5e5(0x261)]=_0x48ea32['slice'](_0x33d80d,_0x33d80d+_0x7dba62);}}),_0x2f39e4[_0xfdafef(0x11a)]=_0x2f39e4[_0xfdafef(0x19c)]({'processBlock':function(_0x321117,_0x3681c8){const _0x29a30d=_0xfdafef;var _0x28ac45=this['_cipher'],_0x4e21d5=_0x28ac45[_0x29a30d(0x3d5)],_0x83105b=_0x321117['slice'](_0x3681c8,_0x3681c8+_0x4e21d5);_0x28ac45['decryptBlock'](_0x321117,_0x3681c8),_0x43ab12['call'](this,_0x321117,_0x3681c8,_0x4e21d5),this[_0x29a30d(0x261)]=_0x83105b;}});function _0x43ab12(_0xbdc6c5,_0x341dad,_0x3d88d3){const _0x2f7076=_0xfdafef;var _0x59ad2c,_0x11ad62=this[_0x2f7076(0x429)];_0x11ad62?(_0x59ad2c=_0x11ad62,this[_0x2f7076(0x429)]=_0x585fb9):_0x59ad2c=this[_0x2f7076(0x261)];for(var _0x1979d0=0x0;_0x1979d0<_0x3d88d3;_0x1979d0++)_0xbdc6c5[_0x341dad+_0x1979d0]^=_0x59ad2c[_0x1979d0];}return _0x2f39e4;}()),_0x53c245=_0x2a9d5a[_0x18cd9d(0xfb)]={},_0x29dc3a=_0x53c245['Pkcs7']={'pad':function(_0x4645d8,_0x1be184){const _0x537d52=_0x18cd9d;for(var _0x15dedf=_0x1be184*0x4,_0x2d60fd=_0x15dedf-_0x4645d8[_0x537d52(0x10a)]%_0x15dedf,_0x469725=_0x2d60fd<<0x18|_0x2d60fd<<0x10|_0x2d60fd<<0x8|_0x2d60fd,_0x4ceb75=[],_0x275a43=0x0;_0x275a43<_0x2d60fd;_0x275a43+=0x4)_0x4ceb75[_0x537d52(0x221)](_0x469725);var _0x123552=_0x1fa9b7[_0x537d52(0x19a)](_0x4ceb75,_0x2d60fd);_0x4645d8[_0x537d52(0x3b8)](_0x123552);},'unpad':function(_0x1607bc){const _0x4f59f5=_0x18cd9d;var _0x573d61=_0x1607bc['words'][_0x1607bc[_0x4f59f5(0x10a)]-0x1>>>0x2]&0xff;_0x1607bc[_0x4f59f5(0x10a)]-=_0x573d61;}};_0x2e989c[_0x18cd9d(0x15c)]=_0x4049ce['extend']({'cfg':_0x4049ce['cfg'][_0x18cd9d(0x19c)]({'mode':_0x57b7f6,'padding':_0x29dc3a}),'reset':function(){const _0xe0cc6c=_0x18cd9d;var _0x3172ca;_0x4049ce[_0xe0cc6c(0xfa)]['call'](this);var _0x4cfa0e=this[_0xe0cc6c(0x8f)],_0x1007eb=_0x4cfa0e['iv'],_0x5e3bc5=_0x4cfa0e['mode'];this[_0xe0cc6c(0x163)]==this[_0xe0cc6c(0x1fc)]?_0x3172ca=_0x5e3bc5[_0xe0cc6c(0x22d)]:(_0x3172ca=_0x5e3bc5[_0xe0cc6c(0xe9)],this[_0xe0cc6c(0x1c9)]=0x1),this[_0xe0cc6c(0x391)]&&this[_0xe0cc6c(0x391)][_0xe0cc6c(0x53c)]==_0x3172ca?this[_0xe0cc6c(0x391)][_0xe0cc6c(0x212)](this,_0x1007eb&&_0x1007eb[_0xe0cc6c(0x1b2)]):(this[_0xe0cc6c(0x391)]=_0x3172ca[_0xe0cc6c(0x24a)](_0x5e3bc5,this,_0x1007eb&&_0x1007eb[_0xe0cc6c(0x1b2)]),this[_0xe0cc6c(0x391)][_0xe0cc6c(0x53c)]=_0x3172ca);},'_doProcessBlock':function(_0x148618,_0x363bdc){const _0x4e7b45=_0x18cd9d;this[_0x4e7b45(0x391)][_0x4e7b45(0x4bd)](_0x148618,_0x363bdc);},'_doFinalize':function(){const _0x5ce6a7=_0x18cd9d;var _0x420716,_0x3c67f9=this['cfg'][_0x5ce6a7(0x195)];return this['_xformMode']==this[_0x5ce6a7(0x1fc)]?(_0x3c67f9['pad'](this['_data'],this['blockSize']),_0x420716=this[_0x5ce6a7(0x428)](!0x0)):(_0x420716=this['_process'](!0x0),_0x3c67f9[_0x5ce6a7(0x23f)](_0x420716)),_0x420716;},'blockSize':0x80/0x20});var _0x45f01d=_0x2e989c['CipherParams']=_0x2bf006[_0x18cd9d(0x19c)]({'init':function(_0x1fb345){const _0x6f8388=_0x18cd9d;this[_0x6f8388(0x47f)](_0x1fb345);},'toString':function(_0x202a3e){const _0x3ba1d2=_0x18cd9d;return(_0x202a3e||this[_0x3ba1d2(0xa6)])['stringify'](this);}}),_0x281952=_0x2a9d5a[_0x18cd9d(0x243)]={},_0x3b6e0e=_0x281952[_0x18cd9d(0x4e0)]={'stringify':function(_0x57933c){const _0x1bb6bb=_0x18cd9d;var _0x2c042f,_0x5e4bb7=_0x57933c[_0x1bb6bb(0x142)],_0x930932=_0x57933c[_0x1bb6bb(0x484)];return _0x930932?_0x2c042f=_0x1fa9b7[_0x1bb6bb(0x19a)]([0x53616c74,0x65645f5f])[_0x1bb6bb(0x3b8)](_0x930932)['concat'](_0x5e4bb7):_0x2c042f=_0x5e4bb7,_0x2c042f['toString'](_0x49259c);},'parse':function(_0x2c4d38){const _0x1118cc=_0x18cd9d;var _0x3f03d5,_0x192e6b=_0x49259c[_0x1118cc(0x2bd)](_0x2c4d38),_0x40660d=_0x192e6b[_0x1118cc(0x1b2)];return _0x40660d[0x0]==0x53616c74&&_0x40660d[0x1]==0x65645f5f&&(_0x3f03d5=_0x1fa9b7['create'](_0x40660d['slice'](0x2,0x4)),_0x40660d['splice'](0x0,0x4),_0x192e6b[_0x1118cc(0x10a)]-=0x10),_0x45f01d['create']({'ciphertext':_0x192e6b,'salt':_0x3f03d5});}},_0x21d495=_0x2e989c['SerializableCipher']=_0x2bf006[_0x18cd9d(0x19c)]({'cfg':_0x2bf006[_0x18cd9d(0x19c)]({'format':_0x3b6e0e}),'encrypt':function(_0x86e222,_0x4a6554,_0x190812,_0x556941){const _0x1a30a0=_0x18cd9d;_0x556941=this[_0x1a30a0(0x8f)][_0x1a30a0(0x19c)](_0x556941);var _0x280f8f=_0x86e222[_0x1a30a0(0x22d)](_0x190812,_0x556941),_0x21fd55=_0x280f8f[_0x1a30a0(0x257)](_0x4a6554),_0x4d9833=_0x280f8f[_0x1a30a0(0x8f)];return _0x45f01d[_0x1a30a0(0x19a)]({'ciphertext':_0x21fd55,'key':_0x190812,'iv':_0x4d9833['iv'],'algorithm':_0x86e222,'mode':_0x4d9833['mode'],'padding':_0x4d9833['padding'],'blockSize':_0x86e222[_0x1a30a0(0x3d5)],'formatter':_0x556941[_0x1a30a0(0x243)]});},'decrypt':function(_0x38bb86,_0x1ac29f,_0x249c67,_0x1fd4a7){const _0x50e601=_0x18cd9d;_0x1fd4a7=this[_0x50e601(0x8f)][_0x50e601(0x19c)](_0x1fd4a7),_0x1ac29f=this['_parse'](_0x1ac29f,_0x1fd4a7[_0x50e601(0x243)]);var _0x295959=_0x38bb86['createDecryptor'](_0x249c67,_0x1fd4a7)['finalize'](_0x1ac29f['ciphertext']);return _0x295959;},'_parse':function(_0x463170,_0x357676){const _0x5d60bb=_0x18cd9d;return typeof _0x463170==_0x5d60bb(0x1eb)?_0x357676[_0x5d60bb(0x2bd)](_0x463170,this):_0x463170;}}),_0x1e05bd=_0x2a9d5a[_0x18cd9d(0x1e1)]={},_0x241c33=_0x1e05bd[_0x18cd9d(0x4e0)]={'execute':function(_0x10f784,_0x2b6819,_0x53cea1,_0x347050,_0x2b1a5c){const _0x222195=_0x18cd9d;if(_0x347050||(_0x347050=_0x1fa9b7[_0x222195(0x227)](0x40/0x8)),_0x2b1a5c)var _0x3a6f4a=_0x5b7458[_0x222195(0x19a)]({'keySize':_0x2b6819+_0x53cea1,'hasher':_0x2b1a5c})[_0x222195(0x154)](_0x10f784,_0x347050);else var _0x3a6f4a=_0x5b7458[_0x222195(0x19a)]({'keySize':_0x2b6819+_0x53cea1})['compute'](_0x10f784,_0x347050);var _0x33f6d8=_0x1fa9b7['create'](_0x3a6f4a[_0x222195(0x1b2)][_0x222195(0x2c3)](_0x2b6819),_0x53cea1*0x4);return _0x3a6f4a['sigBytes']=_0x2b6819*0x4,_0x45f01d[_0x222195(0x19a)]({'key':_0x3a6f4a,'iv':_0x33f6d8,'salt':_0x347050});}},_0x1ceaa5=_0x2e989c[_0x18cd9d(0x335)]=_0x21d495[_0x18cd9d(0x19c)]({'cfg':_0x21d495[_0x18cd9d(0x8f)]['extend']({'kdf':_0x241c33}),'encrypt':function(_0x3186df,_0x1a1f17,_0x1645c0,_0x530e51){const _0x1e113f=_0x18cd9d;_0x530e51=this['cfg'][_0x1e113f(0x19c)](_0x530e51);var _0x1062a1=_0x530e51['kdf']['execute'](_0x1645c0,_0x3186df[_0x1e113f(0xce)],_0x3186df['ivSize'],_0x530e51[_0x1e113f(0x484)],_0x530e51[_0x1e113f(0x184)]);_0x530e51['iv']=_0x1062a1['iv'];var _0x5aafa1=_0x21d495[_0x1e113f(0xda)][_0x1e113f(0x24a)](this,_0x3186df,_0x1a1f17,_0x1062a1[_0x1e113f(0x224)],_0x530e51);return _0x5aafa1[_0x1e113f(0x47f)](_0x1062a1),_0x5aafa1;},'decrypt':function(_0x1db801,_0x52e420,_0x4488a6,_0x4f91ae){const _0x172317=_0x18cd9d;_0x4f91ae=this[_0x172317(0x8f)]['extend'](_0x4f91ae),_0x52e420=this['_parse'](_0x52e420,_0x4f91ae[_0x172317(0x243)]);var _0xb41a95=_0x4f91ae['kdf']['execute'](_0x4488a6,_0x1db801[_0x172317(0xce)],_0x1db801[_0x172317(0x4df)],_0x52e420[_0x172317(0x484)],_0x4f91ae['hasher']);_0x4f91ae['iv']=_0xb41a95['iv'];var _0x389e64=_0x21d495[_0x172317(0x377)][_0x172317(0x24a)](this,_0x1db801,_0x52e420,_0xb41a95[_0x172317(0x224)],_0x4f91ae);return _0x389e64;}});}();}));}(vt)),vt[_0x20864b(0x34e)];}(function(_0x3db6b3,_0x527222){(function(_0x36fd37,_0x57e0c6,_0x1f6141){const _0x26a3f9=_0x195f;_0x3db6b3[_0x26a3f9(0x34e)]=_0x57e0c6(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x2b36aa){const _0x1acbe1=_0x195f;return(function(){const _0x111e52=_0x195f;var _0x1a20ea=_0x2b36aa,_0xda642d=_0x1a20ea[_0x111e52(0x256)],_0x538049=_0xda642d[_0x111e52(0x15c)],_0x2b8e33=_0x1a20ea['algo'],_0x1ab334=[],_0x9f2b19=[],_0x27311d=[],_0x569a96=[],_0x2569b3=[],_0x901cfe=[],_0x3007ea=[],_0x4055b0=[],_0xb04571=[],_0x3035f4=[];(function(){for(var _0x5b8dec=[],_0x1fcbf1=0x0;_0x1fcbf1<0x100;_0x1fcbf1++)_0x1fcbf1<0x80?_0x5b8dec[_0x1fcbf1]=_0x1fcbf1<<0x1:_0x5b8dec[_0x1fcbf1]=_0x1fcbf1<<0x1^0x11b;for(var _0x2a623b=0x0,_0x5071ab=0x0,_0x1fcbf1=0x0;_0x1fcbf1<0x100;_0x1fcbf1++){var _0x310f20=_0x5071ab^_0x5071ab<<0x1^_0x5071ab<<0x2^_0x5071ab<<0x3^_0x5071ab<<0x4;_0x310f20=_0x310f20>>>0x8^_0x310f20&0xff^0x63,_0x1ab334[_0x2a623b]=_0x310f20,_0x9f2b19[_0x310f20]=_0x2a623b;var _0xda072c=_0x5b8dec[_0x2a623b],_0x2cb961=_0x5b8dec[_0xda072c],_0x4cb36e=_0x5b8dec[_0x2cb961],_0x46e8e5=_0x5b8dec[_0x310f20]*0x101^_0x310f20*0x1010100;_0x27311d[_0x2a623b]=_0x46e8e5<<0x18|_0x46e8e5>>>0x8,_0x569a96[_0x2a623b]=_0x46e8e5<<0x10|_0x46e8e5>>>0x10,_0x2569b3[_0x2a623b]=_0x46e8e5<<0x8|_0x46e8e5>>>0x18,_0x901cfe[_0x2a623b]=_0x46e8e5;var _0x46e8e5=_0x4cb36e*0x1010101^_0x2cb961*0x10001^_0xda072c*0x101^_0x2a623b*0x1010100;_0x3007ea[_0x310f20]=_0x46e8e5<<0x18|_0x46e8e5>>>0x8,_0x4055b0[_0x310f20]=_0x46e8e5<<0x10|_0x46e8e5>>>0x10,_0xb04571[_0x310f20]=_0x46e8e5<<0x8|_0x46e8e5>>>0x18,_0x3035f4[_0x310f20]=_0x46e8e5,_0x2a623b?(_0x2a623b=_0xda072c^_0x5b8dec[_0x5b8dec[_0x5b8dec[_0x4cb36e^_0xda072c]]],_0x5071ab^=_0x5b8dec[_0x5b8dec[_0x5071ab]]):_0x2a623b=_0x5071ab=0x1;}}());var _0x491fdd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x197724=_0x2b8e33[_0x111e52(0x28b)]=_0x538049[_0x111e52(0x19c)]({'_doReset':function(){const _0x5e34f3=_0x111e52;var _0x4e4c3b;if(!(this[_0x5e34f3(0x33f)]&&this[_0x5e34f3(0x29a)]===this['_key'])){for(var _0x507d0b=this[_0x5e34f3(0x29a)]=this['_key'],_0x2250e4=_0x507d0b['words'],_0xc3f2d4=_0x507d0b[_0x5e34f3(0x10a)]/0x4,_0x1cfb3d=this[_0x5e34f3(0x33f)]=_0xc3f2d4+0x6,_0x7f130b=(_0x1cfb3d+0x1)*0x4,_0x4b0776=this[_0x5e34f3(0x3ea)]=[],_0x2826c6=0x0;_0x2826c6<_0x7f130b;_0x2826c6++)_0x2826c6<_0xc3f2d4?_0x4b0776[_0x2826c6]=_0x2250e4[_0x2826c6]:(_0x4e4c3b=_0x4b0776[_0x2826c6-0x1],_0x2826c6%_0xc3f2d4?_0xc3f2d4>0x6&&_0x2826c6%_0xc3f2d4==0x4&&(_0x4e4c3b=_0x1ab334[_0x4e4c3b>>>0x18]<<0x18|_0x1ab334[_0x4e4c3b>>>0x10&0xff]<<0x10|_0x1ab334[_0x4e4c3b>>>0x8&0xff]<<0x8|_0x1ab334[_0x4e4c3b&0xff]):(_0x4e4c3b=_0x4e4c3b<<0x8|_0x4e4c3b>>>0x18,_0x4e4c3b=_0x1ab334[_0x4e4c3b>>>0x18]<<0x18|_0x1ab334[_0x4e4c3b>>>0x10&0xff]<<0x10|_0x1ab334[_0x4e4c3b>>>0x8&0xff]<<0x8|_0x1ab334[_0x4e4c3b&0xff],_0x4e4c3b^=_0x491fdd[_0x2826c6/_0xc3f2d4|0x0]<<0x18),_0x4b0776[_0x2826c6]=_0x4b0776[_0x2826c6-_0xc3f2d4]^_0x4e4c3b);for(var _0x46df2a=this[_0x5e34f3(0x157)]=[],_0x3de65f=0x0;_0x3de65f<_0x7f130b;_0x3de65f++){var _0x2826c6=_0x7f130b-_0x3de65f;if(_0x3de65f%0x4)var _0x4e4c3b=_0x4b0776[_0x2826c6];else var _0x4e4c3b=_0x4b0776[_0x2826c6-0x4];_0x3de65f<0x4||_0x2826c6<=0x4?_0x46df2a[_0x3de65f]=_0x4e4c3b:_0x46df2a[_0x3de65f]=_0x3007ea[_0x1ab334[_0x4e4c3b>>>0x18]]^_0x4055b0[_0x1ab334[_0x4e4c3b>>>0x10&0xff]]^_0xb04571[_0x1ab334[_0x4e4c3b>>>0x8&0xff]]^_0x3035f4[_0x1ab334[_0x4e4c3b&0xff]];}}},'encryptBlock':function(_0x182dc4,_0x9f19c8){const _0x52367d=_0x111e52;this['_doCryptBlock'](_0x182dc4,_0x9f19c8,this[_0x52367d(0x3ea)],_0x27311d,_0x569a96,_0x2569b3,_0x901cfe,_0x1ab334);},'decryptBlock':function(_0x3e92ca,_0x11a4e7){const _0x51ed07=_0x111e52;var _0x4afe44=_0x3e92ca[_0x11a4e7+0x1];_0x3e92ca[_0x11a4e7+0x1]=_0x3e92ca[_0x11a4e7+0x3],_0x3e92ca[_0x11a4e7+0x3]=_0x4afe44,this['_doCryptBlock'](_0x3e92ca,_0x11a4e7,this[_0x51ed07(0x157)],_0x3007ea,_0x4055b0,_0xb04571,_0x3035f4,_0x9f2b19);var _0x4afe44=_0x3e92ca[_0x11a4e7+0x1];_0x3e92ca[_0x11a4e7+0x1]=_0x3e92ca[_0x11a4e7+0x3],_0x3e92ca[_0x11a4e7+0x3]=_0x4afe44;},'_doCryptBlock':function(_0x2ad5ec,_0x144593,_0x2fa58c,_0xc62e51,_0x33b7a4,_0x176eae,_0x39ce23,_0x495f3e){for(var _0x75a9f4=this['_nRounds'],_0x14a38c=_0x2ad5ec[_0x144593]^_0x2fa58c[0x0],_0x368fa8=_0x2ad5ec[_0x144593+0x1]^_0x2fa58c[0x1],_0x25f6ba=_0x2ad5ec[_0x144593+0x2]^_0x2fa58c[0x2],_0x128c7f=_0x2ad5ec[_0x144593+0x3]^_0x2fa58c[0x3],_0x2e2a2c=0x4,_0x5c1ce6=0x1;_0x5c1ce6<_0x75a9f4;_0x5c1ce6++){var _0x12e972=_0xc62e51[_0x14a38c>>>0x18]^_0x33b7a4[_0x368fa8>>>0x10&0xff]^_0x176eae[_0x25f6ba>>>0x8&0xff]^_0x39ce23[_0x128c7f&0xff]^_0x2fa58c[_0x2e2a2c++],_0x4ac66a=_0xc62e51[_0x368fa8>>>0x18]^_0x33b7a4[_0x25f6ba>>>0x10&0xff]^_0x176eae[_0x128c7f>>>0x8&0xff]^_0x39ce23[_0x14a38c&0xff]^_0x2fa58c[_0x2e2a2c++],_0x4761b1=_0xc62e51[_0x25f6ba>>>0x18]^_0x33b7a4[_0x128c7f>>>0x10&0xff]^_0x176eae[_0x14a38c>>>0x8&0xff]^_0x39ce23[_0x368fa8&0xff]^_0x2fa58c[_0x2e2a2c++],_0x2a1f54=_0xc62e51[_0x128c7f>>>0x18]^_0x33b7a4[_0x14a38c>>>0x10&0xff]^_0x176eae[_0x368fa8>>>0x8&0xff]^_0x39ce23[_0x25f6ba&0xff]^_0x2fa58c[_0x2e2a2c++];_0x14a38c=_0x12e972,_0x368fa8=_0x4ac66a,_0x25f6ba=_0x4761b1,_0x128c7f=_0x2a1f54;}var _0x12e972=(_0x495f3e[_0x14a38c>>>0x18]<<0x18|_0x495f3e[_0x368fa8>>>0x10&0xff]<<0x10|_0x495f3e[_0x25f6ba>>>0x8&0xff]<<0x8|_0x495f3e[_0x128c7f&0xff])^_0x2fa58c[_0x2e2a2c++],_0x4ac66a=(_0x495f3e[_0x368fa8>>>0x18]<<0x18|_0x495f3e[_0x25f6ba>>>0x10&0xff]<<0x10|_0x495f3e[_0x128c7f>>>0x8&0xff]<<0x8|_0x495f3e[_0x14a38c&0xff])^_0x2fa58c[_0x2e2a2c++],_0x4761b1=(_0x495f3e[_0x25f6ba>>>0x18]<<0x18|_0x495f3e[_0x128c7f>>>0x10&0xff]<<0x10|_0x495f3e[_0x14a38c>>>0x8&0xff]<<0x8|_0x495f3e[_0x368fa8&0xff])^_0x2fa58c[_0x2e2a2c++],_0x2a1f54=(_0x495f3e[_0x128c7f>>>0x18]<<0x18|_0x495f3e[_0x14a38c>>>0x10&0xff]<<0x10|_0x495f3e[_0x368fa8>>>0x8&0xff]<<0x8|_0x495f3e[_0x25f6ba&0xff])^_0x2fa58c[_0x2e2a2c++];_0x2ad5ec[_0x144593]=_0x12e972,_0x2ad5ec[_0x144593+0x1]=_0x4ac66a,_0x2ad5ec[_0x144593+0x2]=_0x4761b1,_0x2ad5ec[_0x144593+0x3]=_0x2a1f54;},'keySize':0x100/0x20});_0x1a20ea[_0x111e52(0x28b)]=_0x538049['_createHelper'](_0x197724);}()),_0x2b36aa[_0x1acbe1(0x28b)];}));}(Di));var pr=Di[_0xbb724d(0x34e)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0x1f262a,_0xbf6107){(function(_0x4bc7e6,_0x26e940){_0x1f262a['exports']=_0x26e940(oe());}(Z,function(_0x18f7cc){const _0x4f4088=_0x195f;return _0x18f7cc['enc'][_0x4f4088(0x3c7)];}));}(Mi));var Ir=Mi[_0xbb724d(0x34e)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x2f7ec9,_0x43638c){(function(_0x533d3a,_0x2d6b7c){const _0xb9c89b=_0x195f;_0x2f7ec9[_0xb9c89b(0x34e)]=_0x2d6b7c(oe());}(Z,function(_0x92b6b3){const _0x5249bf=_0x195f;return(function(){const _0xfb978d=_0x195f;if(typeof ArrayBuffer==_0xfb978d(0x284)){var _0x526e32=_0x92b6b3,_0x156731=_0x526e32['lib'],_0x5e2d58=_0x156731[_0xfb978d(0x363)],_0x2aec26=_0x5e2d58[_0xfb978d(0x212)],_0x363643=_0x5e2d58['init']=function(_0x40529a){const _0x3a0635=_0xfb978d;if(_0x40529a instanceof ArrayBuffer&&(_0x40529a=new Uint8Array(_0x40529a)),(_0x40529a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x40529a instanceof Uint8ClampedArray||_0x40529a instanceof Int16Array||_0x40529a instanceof Uint16Array||_0x40529a instanceof Int32Array||_0x40529a instanceof Uint32Array||_0x40529a instanceof Float32Array||_0x40529a instanceof Float64Array)&&(_0x40529a=new Uint8Array(_0x40529a['buffer'],_0x40529a[_0x3a0635(0x10d)],_0x40529a[_0x3a0635(0x537)])),_0x40529a instanceof Uint8Array){for(var _0x1e8d96=_0x40529a[_0x3a0635(0x537)],_0x1b1013=[],_0x364bce=0x0;_0x364bce<_0x1e8d96;_0x364bce++)_0x1b1013[_0x364bce>>>0x2]|=_0x40529a[_0x364bce]<<0x18-_0x364bce%0x4*0x8;_0x2aec26[_0x3a0635(0x24a)](this,_0x1b1013,_0x1e8d96);}else _0x2aec26[_0x3a0635(0xbd)](this,arguments);};_0x363643['prototype']=_0x5e2d58;}}()),_0x92b6b3[_0x5249bf(0x256)][_0x5249bf(0x363)];}));}(Ai));var Er=Ai[_0xbb724d(0x34e)];const br=xe(Er);var Ni={'exports':{}};(function(_0x2a8e50,_0x535a2c){(function(_0x3c6e62,_0x4dd067,_0x27f5d6){const _0x271763=_0x195f;_0x2a8e50[_0x271763(0x34e)]=_0x4dd067(oe(),Ui());}(Z,function(_0x4d87a4){const _0x40b774=_0x195f;return _0x4d87a4['pad'][_0x40b774(0x50c)]={'pad':function(){},'unpad':function(){}},_0x4d87a4[_0x40b774(0xfb)][_0x40b774(0x50c)];}));}(Ni));var Tr=Ni[_0xbb724d(0x34e)];const Rr=xe(Tr);function yr(_0x5c5d02,_0x5e0d4c){const _0x1e4d93=_0xbb724d,_0x3e4ebb=_0x5e0d4c-_0x5c5d02[_0x1e4d93(0x2d9)]%_0x5e0d4c,_0x29cd93=String[_0x1e4d93(0x11f)](_0x3e4ebb)[_0x1e4d93(0x4e6)](_0x3e4ebb);return _0x5c5d02+_0x29cd93;}function Or(_0x4c725f,_0x1aaf35){const _0xcf01ce=_0xbb724d,_0x14a91d=br[_0xcf01ce(0x227)](0x10),_0x401c4d=yr(_0x4c725f,0x10),_0x3ac288=mr['encrypt'](Cr[_0xcf01ce(0x2bd)](_0x401c4d),Qt[_0xcf01ce(0x2bd)](_0x1aaf35),{'iv':_0x14a91d,'padding':Rr});return _0x14a91d[_0xcf01ce(0x3b8)](_0x3ac288[_0xcf01ce(0x142)])[_0xcf01ce(0x3bf)](Qt);}function Dr(){const _0x54151e=_0xbb724d,_0x439053=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x439053){const _0x2fb82d={'time':Math['floor'](Date[_0x54151e(0x220)]()/0x3e8),'domain':location[_0x54151e(0x114)]};return Or(JSON[_0x54151e(0x44f)](_0x2fb82d),_0x439053);}}var Pr=Object[_0xbb724d(0x164)],wr=Object[_0xbb724d(0x13d)],Ur=(_0x1820e6,_0x2f3b2d,_0x2a9a8d,_0x5394b4)=>{const _0x39bf00=_0xbb724d;for(var _0x49e891=_0x5394b4>0x1?void 0x0:_0x5394b4?wr(_0x2f3b2d,_0x2a9a8d):_0x2f3b2d,_0x28cd50=_0x1820e6[_0x39bf00(0x2d9)]-0x1,_0x26532c;_0x28cd50>=0x0;_0x28cd50--)(_0x26532c=_0x1820e6[_0x28cd50])&&(_0x49e891=(_0x5394b4?_0x26532c(_0x2f3b2d,_0x2a9a8d,_0x49e891):_0x26532c(_0x49e891))||_0x49e891);return _0x5394b4&&_0x49e891&&Pr(_0x2f3b2d,_0x2a9a8d,_0x49e891),_0x49e891;},Mr=(_0x305001,_0x2bfcf8)=>(_0x3696da,_0x16de7e)=>_0x2bfcf8(_0x3696da,_0x16de7e,_0x305001);let Ke=class{constructor(_0x3128e3){const _0x5a0797=_0xbb724d;this[_0x5a0797(0x21d)]=_0x3128e3,this[_0x5a0797(0x23c)]();}[_0xbb724d(0x23c)](){const _0xeaf556=_0xbb724d;this[_0xeaf556(0x21d)][_0xeaf556(0x41a)]({'interceptor':(_0x56aa40,_0x3bf2b6)=>{const _0x1a2878=_0xeaf556,_0x1f893a=_0x56aa40[_0x1a2878(0x92)],_0x37b931=Dr();return _0x37b931&&_0x1f893a[_0x1a2878(0x117)](_0x1a2878(0x480),_0x37b931),_0x3bf2b6(_0x56aa40);}});}};Ke=Ur([Mr(0x0,a[_0xbb724d(0x271)](z[_0xbb724d(0x539)]))],Ke);var Ar=Object['defineProperty'],Nr=Object[_0xbb724d(0x13d)],Lr=(_0x3e6121,_0x4b0ed1,_0x3b9b61,_0x1904ce)=>{const _0x41115b=_0xbb724d;for(var _0x24769d=_0x1904ce>0x1?void 0x0:_0x1904ce?Nr(_0x4b0ed1,_0x3b9b61):_0x4b0ed1,_0x4180e1=_0x3e6121[_0x41115b(0x2d9)]-0x1,_0x58acec;_0x4180e1>=0x0;_0x4180e1--)(_0x58acec=_0x3e6121[_0x4180e1])&&(_0x24769d=(_0x1904ce?_0x58acec(_0x4b0ed1,_0x3b9b61,_0x24769d):_0x58acec(_0x24769d))||_0x24769d);return _0x1904ce&&_0x24769d&&Ar(_0x4b0ed1,_0x3b9b61,_0x24769d),_0x24769d;},St=(_0x31907a,_0x198d8d)=>(_0x5cfce5,_0x2e6273)=>_0x198d8d(_0x5cfce5,_0x2e6273,_0x31907a);const xr=[_0xbb724d(0x228),_0xbb724d(0x27e),_0xbb724d(0x152),'image/gif',_0xbb724d(0x8c)],jr=0x5*0x400*0x400,$r=_0xbb724d(0x156),Hr=_0xbb724d(0x1f1),Br=_0xbb724d(0x396),kr=_0xbb724d(0x230);exports[_0xbb724d(0x2a4)]=class{constructor(_0x230c5a,_0x8e6bfc,_0x31ddd5){const _0x4717b6=_0xbb724d;I(this,_0x4717b6(0x188),0x0),I(this,_0x4717b6(0xb6),new A[(_0x4717b6(0x538))]()),I(this,_0x4717b6(0xed),this[_0x4717b6(0xb6)]),I(this,'_imageSourceCache',new Map()),(this[_0x4717b6(0x21d)]=_0x230c5a,this[_0x4717b6(0xe6)]=_0x8e6bfc,this[_0x4717b6(0x20b)]=_0x31ddd5);}[_0xbb724d(0x388)](_0x434820){const _0x1d8449=_0xbb724d;this[_0x1d8449(0x188)]=_0x434820,this[_0x1d8449(0xb6)][_0x1d8449(0x32a)](_0x434820);}[_0xbb724d(0x32b)](_0x387865,_0x4bedb9){const _0x1d2f4c=_0xbb724d;if(_0x4bedb9===ie[_0x1d2f4c(0x2c4)]['BASE64']){const _0x365ffd=new Image();return _0x365ffd[_0x1d2f4c(0x381)]=_0x387865,_0x365ffd;}return this['_imageSourceCache'][_0x1d2f4c(0x2c9)](_0x387865);}[_0xbb724d(0x2e0)](_0x4b660b,_0x105f69,_0x50b746){const _0x534f9e=_0xbb724d;_0x105f69===ie[_0x534f9e(0x2c4)][_0x534f9e(0x494)]||_0x50b746==null||this[_0x534f9e(0x14f)]['set'](_0x4b660b,_0x50b746);}async['getImage'](_0x10b73c){const _0xbd1e7d=_0xbb724d;try{const _0x2958b8=this[_0xbd1e7d(0x3e5)](this[_0xbd1e7d(0x4f0)](),''+_0x10b73c),_0x5e8f94=(await this['_httpService'][_0xbd1e7d(0x2c9)](_0x2958b8))[_0xbd1e7d(0x3a6)];if(_0x5e8f94['error']&&_0x5e8f94[_0xbd1e7d(0x1d8)][_0xbd1e7d(0x365)]===_i['OK']){const _0x2bb455=new URL(_0x5e8f94[_0xbd1e7d(0x28a)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0xbd1e7d(0x3ee)](_0x2bb455);}return Promise[_0xbd1e7d(0x456)](_0x5e8f94[_0xbd1e7d(0x1d8)]);}catch(_0x593f6f){return Promise['reject'](_0x593f6f);}}async[_0xbb724d(0x38d)](_0x271017){const _0x3b04e1=_0xbb724d;let _0x2c51ac='';if(!xr[_0x3b04e1(0x3f4)](_0x271017['type']))return this[_0x3b04e1(0x48d)](),Promise['reject'](new Error(ie[_0x3b04e1(0x11d)][_0x3b04e1(0xca)]));if(_0x271017[_0x3b04e1(0x4a6)]>jr)return this[_0x3b04e1(0x48d)](),Promise[_0x3b04e1(0x456)](new Error(ie[_0x3b04e1(0x11d)]['ERROR_EXCEED_SIZE']));try{const _0xea7fd1=new FormData();_0xea7fd1['append'](_0x3b04e1(0x172),_0x271017);const _0x437aa0=this[_0x3b04e1(0x20b)][_0x3b04e1(0x405)](),_0x517370=_0x437aa0==null?void 0x0:_0x437aa0[_0x3b04e1(0x285)]();if(!_0x517370)throw new Error(_0x3b04e1(0x2f1));const _0x52bbba=this[_0x3b04e1(0x4b7)]()+_0x3b04e1(0xcb)+_0x271017[_0x3b04e1(0x4a6)]['toString']()+_0x3b04e1(0x4ea)+ui[_0x3b04e1(0x4af)]+'&assign='+encodeURIComponent(_0x517370),_0x2c61c6=await(await fetch(_0x52bbba,{'method':_0x3b04e1(0x242),'body':_0xea7fd1}))['json']();if(typeof _0x2c61c6[_0x3b04e1(0x2ab)]!=_0x3b04e1(0x1eb))return this[_0x3b04e1(0x48d)](),Promise[_0x3b04e1(0x456)](new Error(ie[_0x3b04e1(0x11d)][_0x3b04e1(0x210)]));_0x2c51ac=_0x2c61c6['FileId'];}catch{return this[_0x3b04e1(0x48d)](),Promise['reject'](new Error(ie[_0x3b04e1(0x11d)]['ERROR_IMAGE']));}return new Promise((_0x225757,_0x1eca57)=>{const _0x371cbd=new FileReader();_0x371cbd['readAsDataURL'](_0x271017),_0x371cbd['onload']=_0x5ab533=>{const _0x13e8bc=_0x195f;var _0x3a2b8c;const _0x362b34=(_0x3a2b8c=_0x5ab533[_0x13e8bc(0x25d)])==null?void 0x0:_0x3a2b8c[_0x13e8bc(0x345)];if(_0x362b34==null){this[_0x13e8bc(0x48d)](),_0x1eca57(new Error(ie[_0x13e8bc(0x11d)][_0x13e8bc(0x210)]));return;}const _0x3ac5b0=a[_0x13e8bc(0x1fd)]['generateRandomId'](0x6);_0x225757({'imageId':_0x3ac5b0,'imageSourceType':ie['ImageSourceType'][_0x13e8bc(0x267)],'source':_0x2c51ac,'base64Cache':_0x362b34,'status':ie[_0x13e8bc(0x11d)]['SUCCUSS']}),this[_0x13e8bc(0x48d)]();};});}[_0xbb724d(0x4b7)](){const _0x5eb683=_0xbb724d;var _0x5164e1,_0x347919;const _0x531cb5=this[_0x5eb683(0xe6)][_0x5eb683(0x27c)]($r),_0x1d2fd1=this[_0x5eb683(0xe6)][_0x5eb683(0x27c)](Q);return(_0x347919=(_0x5164e1=_0x1d2fd1==null?void 0x0:_0x1d2fd1['uploadFileServerUrl'])!=null?_0x5164e1:_0x531cb5)!=null?_0x347919:Hr;}[_0xbb724d(0x4f0)](){const _0x2d39db=_0xbb724d;var _0xee25fb,_0x350e03;const _0x183187=this['_configService'][_0x2d39db(0x27c)](Br),_0x1e3e08=this[_0x2d39db(0xe6)]['getConfig'](Q);return(_0x350e03=(_0xee25fb=_0x1e3e08==null?void 0x0:_0x1e3e08[_0x2d39db(0x3aa)])!=null?_0xee25fb:_0x183187)!=null?_0x350e03:kr;}[_0xbb724d(0x216)](){const _0x38a7c6=_0xbb724d;var _0x258ec2;const _0x2fb969=this[_0x38a7c6(0xe6)][_0x38a7c6(0x27c)](Q);return(_0x258ec2=_0x2fb969==null?void 0x0:_0x2fb969[_0x38a7c6(0x367)])!=null?_0x258ec2:location[_0x38a7c6(0x430)];}[_0xbb724d(0x3e5)](_0x40a5bb,_0x14c370){const _0x5f1d79=_0xbb724d;return _0x40a5bb[_0x5f1d79(0x3fb)]('{fileID}',_0x14c370);}[_0xbb724d(0x48d)](){const _0x5b9a16=_0xbb724d;this[_0x5b9a16(0x188)]-=0x1,this[_0x5b9a16(0xb6)][_0x5b9a16(0x32a)](this[_0x5b9a16(0x188)]);}},exports[_0xbb724d(0x2a4)]=Lr([St(0x0,a['Inject'](z[_0xbb724d(0x539)])),St(0x1,a['IConfigService']),St(0x2,a[_0xbb724d(0x271)](a[_0xbb724d(0x4c0)]))],exports[_0xbb724d(0x2a4)]);var Wr=Object[_0xbb724d(0x164)],Fr=Object[_0xbb724d(0x13d)],Vr=(_0x851427,_0x19c15d,_0x1aa2fa,_0x13c3e5)=>{const _0x3ad252=_0xbb724d;for(var _0x21aa51=_0x13c3e5>0x1?void 0x0:_0x13c3e5?Fr(_0x19c15d,_0x1aa2fa):_0x19c15d,_0x56ed7d=_0x851427[_0x3ad252(0x2d9)]-0x1,_0x363fec;_0x56ed7d>=0x0;_0x56ed7d--)(_0x363fec=_0x851427[_0x56ed7d])&&(_0x21aa51=(_0x13c3e5?_0x363fec(_0x19c15d,_0x1aa2fa,_0x21aa51):_0x363fec(_0x21aa51))||_0x21aa51);return _0x13c3e5&&_0x21aa51&&Wr(_0x19c15d,_0x1aa2fa,_0x21aa51),_0x21aa51;},ei=(_0x1f0840,_0x228e37)=>(_0x2ba4c5,_0x584d3c)=>_0x228e37(_0x2ba4c5,_0x584d3c,_0x1f0840);const Gr='/universer-api/authz';exports[_0xbb724d(0x290)]=class{constructor(_0x5732df,_0x3a7b8b){const _0x30752d=_0xbb724d;this[_0x30752d(0xe6)]=_0x5732df,this['_HTTPService']=_0x3a7b8b;}[_0xbb724d(0x3e9)](){const _0x2be984=_0xbb724d;var _0x159bd7,_0x4fc3cf;const _0x5ed861=this[_0x2be984(0xe6)][_0x2be984(0x27c)](Ut),_0x5b524d=this[_0x2be984(0xe6)][_0x2be984(0x27c)](Q);return(_0x4fc3cf=(_0x159bd7=_0x5b524d==null?void 0x0:_0x5b524d[_0x2be984(0x406)])!=null?_0x159bd7:_0x5ed861)!=null?_0x4fc3cf:Gr;}async['list'](_0x393306){const _0x13addf=_0xbb724d,_0x4b83b5=this[_0x13addf(0x3e9)]()+_0x13addf(0x130);return{'list':[{'title':_0x13addf(0x4d0),'mentions':(await this[_0x13addf(0x43d)][_0x13addf(0x2c9)](_0x4b83b5,{'params':{'objectID':_0x393306['unitId'],'unitID':_0x393306[_0x13addf(0x4a0)]}}))[_0x13addf(0x3a6)][_0x13addf(0x353)][_0x13addf(0x1cf)](_0x1a72bb=>({'objectId':_0x1a72bb['id'],'name':_0x1a72bb[_0x13addf(0x26b)][_0x13addf(0x4cc)],'metadata':{'icon':_0x1a72bb[_0x13addf(0x26b)][_0x13addf(0x254)]},'label':_0x1a72bb[_0x13addf(0x26b)][_0x13addf(0x4cc)],'objectType':a['MentionType'][_0x13addf(0x296)]})),'metadata':{},'type':a[_0x13addf(0x21c)][_0x13addf(0x296)]}]};}},exports[_0xbb724d(0x290)]=Vr([ei(0x0,a['Inject'](a['IConfigService'])),ei(0x1,a[_0xbb724d(0x271)](z[_0xbb724d(0x539)]))],exports[_0xbb724d(0x290)]);var Yr=Object[_0xbb724d(0x164)],Kr=Object[_0xbb724d(0x13d)],qr=(_0xfc676a,_0x10e5c5,_0x36ff98,_0x54c716)=>{const _0x50fb5e=_0xbb724d;for(var _0x195405=_0x54c716>0x1?void 0x0:_0x54c716?Kr(_0x10e5c5,_0x36ff98):_0x10e5c5,_0x55a079=_0xfc676a[_0x50fb5e(0x2d9)]-0x1,_0x251850;_0x55a079>=0x0;_0x55a079--)(_0x251850=_0xfc676a[_0x55a079])&&(_0x195405=(_0x54c716?_0x251850(_0x10e5c5,_0x36ff98,_0x195405):_0x251850(_0x195405))||_0x195405);return _0x54c716&&_0x195405&&Yr(_0x10e5c5,_0x36ff98,_0x195405),_0x195405;},Ae=(_0x385300,_0xf23896)=>(_0x4f12ae,_0x1b7740)=>_0xf23896(_0x4f12ae,_0x1b7740,_0x385300);let qe=class extends a[_0xbb724d(0x2fb)]{constructor(_0x2136d7,_0x1b1653,_0x36f99f,_0x538f09,_0x190154){const _0x24d479=_0xbb724d;super(),this['_injector']=_0x2136d7,this[_0x24d479(0x20b)]=_0x1b1653,this['_permissionService']=_0x36f99f,this[_0x24d479(0x137)]=_0x538f09,this[_0x24d479(0x4f9)]=_0x190154,this['_initUnitPermissionChange'](),this[_0x24d479(0x269)]();}['_initCloseConn'](){const _0x490d7b=_0xbb724d,_0x18fa48=async _0x384ba9=>{const _0x5e5f2e=_0x195f;(await this[_0x5e5f2e(0x137)][_0x5e5f2e(0x1ab)](_0x384ba9))[_0x5e5f2e(0x3a7)][_0x5e5f2e(0x52f)](V[_0x5e5f2e(0x21e)](_0x1ac48b=>_0x1ac48b['eventID']===p[_0x5e5f2e(0x29f)]['SHOULD_CLOSE_CONN']),V[_0x5e5f2e(0x262)](this[_0x5e5f2e(0x279)]))[_0x5e5f2e(0x2ae)](_0x50f18e=>{const _0x133de8=_0x5e5f2e,_0x860bbb=_0x50f18e,{reason:_0x333692}=_0x860bbb[_0x133de8(0x238)];this[_0x133de8(0x299)][_0x133de8(0x2c9)](te['IMessageService'])[_0x133de8(0xb7)]({'type':Ce[_0x133de8(0xd6)][_0x133de8(0x86)],'content':this[_0x133de8(0x4f9)]['t'](_0x133de8(0x503))+'('+_0x333692+')'}),this[_0x133de8(0x3b1)]['updatePermissionPoint'](new k[(_0x133de8(0x3ed))](_0x384ba9)['id'],!0x1),this[_0x133de8(0x137)][_0x133de8(0x446)](_0x384ba9);});};A[_0x490d7b(0xa9)](this['_univerInstanceService'][_0x490d7b(0x37e)](a[_0x490d7b(0xd5)][_0x490d7b(0x1ac)]),this[_0x490d7b(0x20b)][_0x490d7b(0x37e)](a[_0x490d7b(0xd5)][_0x490d7b(0x44c)]))[_0x490d7b(0x52f)](V['map'](_0x12aae9=>_0x12aae9['getUnitId']()),V[_0x490d7b(0x21e)](_0x3afe4b=>!a[_0x490d7b(0x326)](_0x3afe4b)),V['takeUntil'](this[_0x490d7b(0x279)]))[_0x490d7b(0x2ae)](_0x19f59a=>{_0x18fa48(_0x19f59a);});}[_0xbb724d(0x1f6)](){const _0x33c4a6=_0xbb724d,_0x4b8369=async _0x2e9b72=>{const _0x46da17=_0x195f;(await this[_0x46da17(0x137)]['requireSession'](_0x2e9b72))[_0x46da17(0x3a7)]['pipe'](V['filter'](_0x4d713a=>_0x4d713a[_0x46da17(0x470)]===p[_0x46da17(0x29f)][_0x46da17(0x433)]),V[_0x46da17(0x262)](this[_0x46da17(0x279)]))[_0x46da17(0x2ae)](_0x19e4b3=>{const _0x2290d7=_0x46da17,_0x2fcaff=_0x19e4b3,{objectId:_0x43206c}=_0x2fcaff[_0x2290d7(0x238)],_0x44e481=this[_0x2290d7(0x299)][_0x2290d7(0x2c9)](ye[_0x2290d7(0x486)]);_0x43206c===_0x2e9b72?_0x44e481['initWorkbookPermissionChange'](_0x2e9b72):_0x44e481['refreshPermission'](_0x2e9b72,_0x43206c);});};A[_0x33c4a6(0xa9)](this[_0x33c4a6(0x20b)][_0x33c4a6(0x37e)](a[_0x33c4a6(0xd5)]['UNIVER_SHEET']),this[_0x33c4a6(0x20b)][_0x33c4a6(0x37e)](a[_0x33c4a6(0xd5)][_0x33c4a6(0x44c)]))[_0x33c4a6(0x52f)](V[_0x33c4a6(0x1cf)](_0x1b84ae=>_0x1b84ae[_0x33c4a6(0x285)]()),V[_0x33c4a6(0x21e)](_0xa2aef9=>!a[_0x33c4a6(0x326)](_0xa2aef9)),V[_0x33c4a6(0x262)](this['dispose$']))['subscribe'](_0x13b15f=>{_0x4b8369(_0x13b15f);});}};qe=qr([Ae(0x0,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),Ae(0x1,a[_0xbb724d(0x4c0)]),Ae(0x2,a[_0xbb724d(0x9a)]),Ae(0x3,a['Inject'](exports[_0xbb724d(0x2ec)])),Ae(0x4,a[_0xbb724d(0x271)](a[_0xbb724d(0x2a7)]))],qe);var zr=Object['defineProperty'],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x181e59,_0x21c07e,_0x4df4b9,_0x51be97)=>{for(var _0x4e5e68=_0x51be97>0x1?void 0x0:_0x51be97?Xr(_0x21c07e,_0x4df4b9):_0x21c07e,_0x2ef739=_0x181e59['length']-0x1,_0x493da8;_0x2ef739>=0x0;_0x2ef739--)(_0x493da8=_0x181e59[_0x2ef739])&&(_0x4e5e68=(_0x51be97?_0x493da8(_0x21c07e,_0x4df4b9,_0x4e5e68):_0x493da8(_0x4e5e68))||_0x4e5e68);return _0x51be97&&_0x4e5e68&&zr(_0x21c07e,_0x4df4b9,_0x4e5e68),_0x4e5e68;},ti=(_0x48824f,_0x4d4fca)=>(_0x263070,_0x4ca58d)=>_0x4d4fca(_0x263070,_0x4ca58d,_0x48824f);exports[_0xbb724d(0x439)]=class{constructor(_0x5d8d8e,_0x3d18c2){const _0x5ccb75=_0xbb724d;this[_0x5ccb75(0xe6)]=_0x5d8d8e,this['_httpService']=_0x3d18c2;}async[_0xbb724d(0x175)](_0xffc4c5,_0x1ac3b8){const _0x166fb9=_0xbb724d;var _0x1bb068;const {unitID:_0x1d713b,type:_0x4a524f,revision:_0x1bfd2a=0x0}=_0x1ac3b8,_0x3748fe=this['_getSnapshotAPIPrefix']()+'/'+_0x4a524f+_0x166fb9(0x457)+_0x1d713b+_0x166fb9(0x385)+_0x1bfd2a,_0x2a1d8c=(await this[_0x166fb9(0x21d)][_0x166fb9(0x2c9)](_0x3748fe))['body'],_0x2a63ae=(_0x1bb068=_0x2a1d8c['snapshot'])==null?void 0x0:_0x1bb068[_0x166fb9(0x1b5)];if(_0x2a63ae){const _0x114a9c=_0x2a63ae==null?void 0x0:_0x2a63ae[_0x166fb9(0x111)],_0x5a0e7a=p[_0x166fb9(0x213)][_0x166fb9(0x366)](p[_0x166fb9(0x4f2)](_0x114a9c));_0x2a63ae[_0x166fb9(0x111)]=_0x5a0e7a,Object['entries'](_0x2a63ae['sheets'])[_0x166fb9(0x53b)](([,_0x5d4aa2])=>{const _0x591b42=_0x166fb9,_0x49ba59=_0x5d4aa2['originalMeta'],_0x268530=p[_0x591b42(0x213)][_0x591b42(0x366)](p[_0x591b42(0x4f2)](_0x49ba59));_0x5d4aa2[_0x591b42(0x111)]=_0x268530;});}return _0x2a1d8c;}async[_0xbb724d(0x28c)](_0x427cd9,_0x69a63e){const _0x3bbbd5=_0xbb724d,{unitID:_0x275341,type:_0x553623,blockID:_0x27b948}=_0x69a63e,_0x177866=this[_0x3bbbd5(0x25f)]()+'/'+_0x553623+'/unit/'+_0x275341+_0x3bbbd5(0x4dc)+_0x27b948;return(await this['_httpService'][_0x3bbbd5(0x2c9)](_0x177866))[_0x3bbbd5(0x3a6)];}async[_0xbb724d(0x3fd)](_0x17a2c9,_0x156360){const _0x11101c=_0xbb724d,{unitID:_0x4e3160,type:_0x2412f2,blockID:_0xd379a}=_0x156360,_0x27941f=this[_0x11101c(0x25f)]()+_0x11101c(0x4dc)+_0x2412f2+'/unit/'+_0x4e3160+_0x11101c(0x4dc)+_0xd379a;return(await this[_0x11101c(0x21d)][_0x11101c(0x2c9)](_0x27941f))[_0x11101c(0x3a6)];}async[_0xbb724d(0x33c)](_0x4050f8,_0x50de0e){const _0x53d2f6=_0xbb724d,{unitID:_0x22d771,type:_0x4a8cd0,from:_0xb7a5ee,to:_0x5a9345}=_0x50de0e,_0x119afc=this[_0x53d2f6(0x25f)]()+'/'+_0x4a8cd0+_0x53d2f6(0x457)+_0x22d771+_0x53d2f6(0x379)+_0xb7a5ee+_0x53d2f6(0x4ae)+_0x5a9345;return(await this[_0x53d2f6(0x21d)]['get'](_0x119afc))[_0x53d2f6(0x3a6)];}['_getSnapshotAPIPrefix'](){const _0x1f5f3d=_0xbb724d;var _0x491e2d;return(_0x491e2d=this[_0x1f5f3d(0xe6)][_0x1f5f3d(0x27c)](ni))!=null?_0x491e2d:this[_0x1f5f3d(0x25f)]();}['_getAPIPrefix'](){const _0x14aafa=_0xbb724d;var _0x3f9771,_0x3f73b1;const _0x184fac=this['_configService']['getConfig'](ii),_0x3d0b=this[_0x14aafa(0xe6)]['getConfig'](Q);return(_0x3f73b1=(_0x3f9771=_0x3d0b==null?void 0x0:_0x3d0b[_0x14aafa(0x41b)])!=null?_0x3f9771:_0x184fac)!=null?_0x3f73b1:ki;}async[_0xbb724d(0x403)](_0x235dc2,_0x47d85c){const _0x2ec92b=_0xbb724d,_0x4df6c4=_0x2ec92b(0x3c9)+_0x47d85c[_0x2ec92b(0x50f)]+'/unit/'+_0x47d85c[_0x2ec92b(0x447)]+_0x2ec92b(0x4b5);return(await this['_httpService'][_0x2ec92b(0x2c9)](_0x4df6c4,{'params':{'resourceId':JSON[_0x2ec92b(0x44f)](_0x47d85c[_0x2ec92b(0x281)])}}))[_0x2ec92b(0x3a6)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbb724d(0x200)](){const _0x4192e5=_0xbb724d;throw new Error(_0x4192e5(0x39c));}['saveChangeset'](){const _0x2bf53d=_0xbb724d;throw new Error(_0x2bf53d(0x39c));}[_0xbb724d(0x190)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x2dfe97=_0xbb724d;throw new Error(_0x2dfe97(0x39c));}},exports['SnapshotServerOverHTTPService']=Jr([ti(0x0,a['IConfigService']),ti(0x1,a[_0xbb724d(0x271)](z['HTTPService']))],exports[_0xbb724d(0x439)]);var Zr=Object[_0xbb724d(0x164)],Qr=Object[_0xbb724d(0x13d)],eo=(_0x2c194f,_0x584201,_0x16ecfe,_0x294fc0)=>{for(var _0x1c44d8=_0x294fc0>0x1?void 0x0:_0x294fc0?Qr(_0x584201,_0x16ecfe):_0x584201,_0x363ca2=_0x2c194f['length']-0x1,_0x4c2918;_0x363ca2>=0x0;_0x363ca2--)(_0x4c2918=_0x2c194f[_0x363ca2])&&(_0x1c44d8=(_0x294fc0?_0x4c2918(_0x584201,_0x16ecfe,_0x1c44d8):_0x4c2918(_0x1c44d8))||_0x1c44d8);return _0x294fc0&&_0x1c44d8&&Zr(_0x584201,_0x16ecfe,_0x1c44d8),_0x1c44d8;},Ne=(_0x16f6bc,_0x3afd5d)=>(_0x12eb9f,_0x26e9e6)=>_0x3afd5d(_0x12eb9f,_0x26e9e6,_0x16f6bc);let Ct=class extends a[_0xbb724d(0x4ad)]{constructor(_0x53c43b,_0x27524b,_0x1851ba,_0x598dee,_0x1fe458){super(_0x53c43b,_0x27524b,_0x1851ba),this['_transformService']=_0x598dee,this['_logService']=_0x1fe458;}[_0xbb724d(0x1a4)](_0x453a43,_0x4f2a89){const _0x2946e2=_0xbb724d,_0x3ef26d=this[_0x2946e2(0x460)](_0x453a43);if(_0x3ef26d)try{const _0x54306c=this[_0x2946e2(0x2cc)](_0x3ef26d,_0x4f2a89);this[_0x2946e2(0x3d6)](_0x453a43,_0x54306c);}catch(_0x32cc74){this[_0x2946e2(0x1a3)][_0x2946e2(0x1d8)](_0x2946e2(0x401),_0x32cc74),this[_0x2946e2(0x4c2)](_0x453a43);}const _0x128497=this[_0x2946e2(0x416)](_0x453a43);if(_0x128497)try{const _0x1758ae=this[_0x2946e2(0x2cc)](_0x128497,_0x4f2a89);this[_0x2946e2(0x474)](_0x453a43,_0x1758ae);}catch(_0x5dd786){this[_0x2946e2(0x1a3)][_0x2946e2(0x1d8)](_0x5dd786),this[_0x2946e2(0x3c0)](_0x453a43);}}[_0xbb724d(0x4c2)](_0x4feac6){const _0x41b561=_0xbb724d,_0x3753d1=this[_0x41b561(0x460)](_0x4feac6);_0x3753d1&&(_0x3753d1[_0x41b561(0x2d9)]=0x0,this[_0x41b561(0xac)]());}[_0xbb724d(0x3c0)](_0x2a4065){const _0x388a31=_0xbb724d,_0x151086=this[_0x388a31(0x416)](_0x2a4065);_0x151086&&(_0x151086[_0x388a31(0x2d9)]=0x0,this['_updateStatus']());}[_0xbb724d(0x3d6)](_0xfbeaf6,_0x58714c){const _0x2b89c=_0xbb724d;this[_0x2b89c(0xbb)][_0x2b89c(0x117)](_0xfbeaf6,_0x58714c),this[_0x2b89c(0xac)]();}['_substituteRedoStack'](_0x4832e4,_0x522097){const _0x56a277=_0xbb724d;this[_0x56a277(0x37f)][_0x56a277(0x117)](_0x4832e4,_0x522097),this['_updateStatus']();}[_0xbb724d(0x2cc)](_0x464075,_0x4adec2){const _0x2e5264=_0xbb724d,_0x347eed=[];let _0x475da3=_0x4adec2,_0x30ec9f=_0x4adec2;for(let _0x218614=_0x464075[_0x2e5264(0x2d9)]-0x1;_0x218614>=0x0;_0x218614--){const {unitID:_0x304680,undoMutations:_0x37da0e,redoMutations:_0x107259}=_0x464075[_0x218614],_0x3217e6=this[_0x2e5264(0x522)][_0x2e5264(0x118)](_0x475da3,_0x37da0e),_0xf74a1e=this[_0x2e5264(0x522)][_0x2e5264(0x118)](_0x30ec9f,_0x107259);if(p['isTransformMutationsWithChangesetFailure'](_0x3217e6)||p[_0x2e5264(0xa4)](_0xf74a1e)){this[_0x2e5264(0x1a3)]['error'](_0x2e5264(0x401),'transformStack\x20failed!',_0x3217e6,_0xf74a1e);break;}_0x475da3=_0x3217e6[_0x2e5264(0x1ae)],_0x30ec9f=_0xf74a1e['c1Prime'],_0x347eed[_0x2e5264(0x221)]({'unitID':_0x304680,'undoMutations':_0x3217e6[_0x2e5264(0x3ff)],'redoMutations':_0xf74a1e['m2Prime']});}return _0x347eed[_0x2e5264(0x25c)]();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0xbb724d(0x39a)]),Ne(0x2,a[_0xbb724d(0x515)]),Ne(0x3,p['ITransformService']),Ne(0x4,a[_0xbb724d(0x2cb)])],Ct);class Li extends a[_0xbb724d(0x2fb)]{constructor(){const _0xee4843=_0xbb724d;super(),I(this,'urlChange$'),this[_0xee4843(0x4a2)]=A[_0xee4843(0x4d4)](window,_0xee4843(0x354))[_0xee4843(0x52f)](A[_0xee4843(0x262)](this[_0xee4843(0x279)]),A[_0xee4843(0x3f6)](0x1),A['mapTo'](void 0x0));}['setParam'](_0x3cccc8,_0xdd8627,_0x368ede=!0x1){const _0x3fde82=_0xbb724d,_0x196a43=new URL(window[_0x3fde82(0x33e)]['href']);_0x196a43[_0x3fde82(0x295)]['set'](_0x3cccc8,_0xdd8627),_0x368ede?window[_0x3fde82(0x2e2)][_0x3fde82(0x1ca)]('','',_0x196a43[_0x3fde82(0x3bf)]()):window[_0x3fde82(0x2e2)]['pushState']('','',_0x196a43['toString']());}['removeParam'](_0xc8b9f4,_0x4a5921=!0x1){const _0x76a6c3=_0xbb724d,_0x38d426=new URL(window['location'][_0x76a6c3(0xb5)]);_0x38d426[_0x76a6c3(0x295)]['delete'](_0xc8b9f4),_0x4a5921?window['history'][_0x76a6c3(0x1ca)]('','',_0x38d426[_0x76a6c3(0x3bf)]()):window[_0x76a6c3(0x2e2)][_0x76a6c3(0x495)]('','',_0x38d426[_0x76a6c3(0x3bf)]());}['getParam'](_0x1b6682){const _0x366d5d=_0xbb724d;var _0x1c7aa4;return(_0x1c7aa4=new URL(window[_0x366d5d(0x33e)]['href'])[_0x366d5d(0x295)]['get'](_0x1b6682))!=null?_0x1c7aa4:void 0x0;}}var xi=Object[_0xbb724d(0x164)],to=Object[_0xbb724d(0x13d)],io=(_0x99987e,_0x7b21ef,_0xf704d8)=>_0x7b21ef in _0x99987e?xi(_0x99987e,_0x7b21ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf704d8}):_0x99987e[_0x7b21ef]=_0xf704d8,no=(_0x14fbaf,_0x53fa1e,_0x362e8b,_0x17e265)=>{const _0x2381e4=_0xbb724d;for(var _0x4b82dd=_0x17e265>0x1?void 0x0:_0x17e265?to(_0x53fa1e,_0x362e8b):_0x53fa1e,_0xfa38fc=_0x14fbaf[_0x2381e4(0x2d9)]-0x1,_0x49ee5a;_0xfa38fc>=0x0;_0xfa38fc--)(_0x49ee5a=_0x14fbaf[_0xfa38fc])&&(_0x4b82dd=(_0x17e265?_0x49ee5a(_0x53fa1e,_0x362e8b,_0x4b82dd):_0x49ee5a(_0x4b82dd))||_0x4b82dd);return _0x17e265&&_0x4b82dd&&xi(_0x53fa1e,_0x362e8b,_0x4b82dd),_0x4b82dd;},He=(_0x5adda6,_0x233de3)=>(_0x485693,_0x4cae97)=>_0x233de3(_0x485693,_0x4cae97,_0x5adda6),so=(_0xfc4187,_0x21411a,_0x1ee7e0)=>io(_0xfc4187,_0x21411a+'',_0x1ee7e0);const ro=_0xbb724d(0x472);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x50092a=Zi,_0x19acd1,_0x29d8c3,_0x4055b2,_0x59df08){const _0x56f40a=_0xbb724d;super(),this[_0x56f40a(0xbf)]=_0x50092a,this['_logService']=_0x19acd1,this[_0x56f40a(0x529)]=_0x29d8c3,this['_injector']=_0x4055b2,this['_configService']=_0x59df08;const {..._0x32421c}=this[_0x56f40a(0xbf)];this[_0x56f40a(0xe6)][_0x56f40a(0x485)](Q,_0x32421c);}[_0xbb724d(0x349)](){const _0x30487=_0xbb724d;this['_registerDependencies'](),this[_0x30487(0x42c)]();}[_0xbb724d(0x323)](){const _0x5edfdc=_0xbb724d;a[_0x5edfdc(0x324)](this[_0x5edfdc(0x299)],[[Ge],[Ve]]);}['onRendered'](){const _0x5295d2=_0xbb724d;this[_0x5295d2(0x106)]();}[_0xbb724d(0x3db)](){const _0x14d443=_0xbb724d;var _0x2345b6,_0x2c8ef2,_0x54320b,_0x3a4345;this[_0x14d443(0x299)][_0x14d443(0x4cd)](a[_0x14d443(0x301)])&&this[_0x14d443(0x1a3)][_0x14d443(0x1d8)](_0x14d443(0x38b),_0x14d443(0x128));const _0x58b0ca=[[a['IUndoRedoService'],{'useClass':Ct}],[exports[_0x14d443(0x2ec)]],[Dt],[wt,{'useClass':Li}],[exports[_0x14d443(0x420)]],[exports[_0x14d443(0x1d9)]],[z[_0x14d443(0x395)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x2c8ef2=(_0x2345b6=this['_config'])==null?void 0x0:_0x2345b6[_0x14d443(0x22a)])!=null?_0x2c8ef2:exports['CollaborationSocketService']}],[p['ISnapshotServerService'],{'useClass':exports[_0x14d443(0x439)]}],[a[_0x14d443(0x34c)],{'useClass':exports['AuthzIoHttpService']}],[ie['IImageIoService'],{'useClass':exports[_0x14d443(0x2a4)]}],[a[_0x14d443(0x211)],{'useClass':exports[_0x14d443(0x290)]}],[exports[_0x14d443(0x8d)]],[exports['DataLoaderController']],[exports[_0x14d443(0x536)]],[Ge],[De],[Ve]];(_0x54320b=this['_config'])!=null&&_0x54320b[_0x14d443(0x3c2)]&&_0x58b0ca[_0x14d443(0x221)]([ze,{'useClass':Un}]),a[_0x14d443(0x3de)](this[_0x14d443(0x299)],a[_0x14d443(0x36b)](_0x58b0ca,(_0x3a4345=this[_0x14d443(0xbf)])==null?void 0x0:_0x3a4345[_0x14d443(0x4b8)]));}[_0xbb724d(0x106)](){const _0x4472de=_0xbb724d;this[_0x4472de(0x2ad)](this[_0x4472de(0x529)][_0x4472de(0x235)](a[_0x4472de(0xd5)][_0x4472de(0x44c)],[gt])),this[_0x4472de(0x2ad)](this['_renderManagerService']['registerRenderModule'](a[_0x4472de(0xd5)][_0x4472de(0x1ac)],[It]));}[_0xbb724d(0x42c)](){const _0x500fdc=_0xbb724d;var _0x599b80,_0x4ff013;this['_injector'][_0x500fdc(0x2c9)](z[_0x500fdc(0x539)])[_0x500fdc(0x41a)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x599b80=this['_config'])!=null&&_0x599b80[_0x500fdc(0x155)]||this[_0x500fdc(0x299)][_0x500fdc(0x2c9)](exports[_0x500fdc(0x1d9)])[_0x500fdc(0x38e)](),(_0x4ff013=this[_0x500fdc(0xbf)])!=null&&_0x4ff013['enableAuthServer']&&a['touchDependencies'](this[_0x500fdc(0x299)],[[Ye]]),a[_0x500fdc(0x324)](this['_injector'],[[Ke],[De],[exports[_0x500fdc(0x410)]],[exports['CollaborationController']],[exports[_0x500fdc(0x536)]],[qe]]);}},so(exports[_0xbb724d(0x305)],_0xbb724d(0x48f),ro),exports['UniverCollaborationClientPlugin']=no([a['DependentOn'](p[_0xbb724d(0x33a)],z[_0xbb724d(0x533)]),He(0x1,a[_0xbb724d(0x2cb)]),He(0x2,K[_0xbb724d(0xf6)]),He(0x3,a[_0xbb724d(0x271)](a[_0xbb724d(0x2d2)])),He(0x4,a[_0xbb724d(0xbc)])],exports[_0xbb724d(0x305)]),exports[_0xbb724d(0x37c)]=Ut,exports['COLLAB_CLIENT_CONFIG_KEY']=Q,exports[_0xbb724d(0xc7)]=li,exports[_0xbb724d(0x208)]=si,exports['CollaborationStatus']=q,exports[_0xbb724d(0x350)]=Oi,exports[_0xbb724d(0xd0)]=Rt,exports[_0xbb724d(0x504)]=ri,exports['HEARTBEAT_TIMEOUT_KEY']=Et,exports[_0xbb724d(0x2cf)]=Tt,exports[_0xbb724d(0x3ba)]=wt,exports[_0xbb724d(0x15d)]=ci,exports['LOGIN_URL_KEY']=hi,exports[_0xbb724d(0x2a5)]=ai,exports[_0xbb724d(0x476)]=Wi,exports[_0xbb724d(0x292)]=ii,exports['SNAPSHOT_URL_KEY']=ni,exports['SessionStatus']=se,exports[_0xbb724d(0x244)]=Ii,exports[_0xbb724d(0x336)]=Li,exports[_0xbb724d(0x3af)]=di,exports['serializeCombRequest']=fi;
|