/*
 *             Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 *
 *
 *
 *
 *          +---------------------------------------------------------------------------------+
 *          |                                                                                 |
 *          |                                 Hello stranger!                                 |
 *          |                                                                                 |
 *          |                                                                                 |
 *          |   What you're currently looking at is the source code of a legally protected,   |
 *          |    proprietary software. Any attempts to deobfuscate / disassemble this code    |
 *          |               are forbidden and will result in legal consequences.              |
 *          |                                                                                 |
 *          |                                                                                 |
 *          +---------------------------------------------------------------------------------+
 *
 *
 *
 *
 */
!function(_0x20e6c4,_0x41b6bd){'object'==typeof exports&&'undefined'!=typeof module?_0x41b6bd(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x41b6bd):_0x41b6bd((_0x20e6c4='undefined'!=typeof globalThis?globalThis:_0x20e6c4||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x20e6c4['CKEDITOR']);}(this,function(_0xc090fa,_0x491313){Object['defineProperty'](_0xc090fa,Symbol['toStringTag'],{'value':'Module'});var _0x329208=Object['create'],_0x5a053c=Object['defineProperty'],_0x453fde=Object['getOwnPropertyDescriptor'],_0x4a1be7=Object['getOwnPropertyNames'],_0x296ae2=Object['getPrototypeOf'],_0x52694f=Object['prototype']['hasOwnProperty'],_0x947326=(_0x9fcaf2,_0x299c9b)=>()=>(_0x299c9b||(_0x9fcaf2((_0x299c9b={'exports':{}})['exports'],_0x299c9b),_0x9fcaf2=null),_0x299c9b['exports']),_0x142dc2=(_0x8add8e,_0xcf6999)=>{let _0x57c931={};for(var _0x57fa68 in _0x8add8e)_0x5a053c(_0x57c931,_0x57fa68,{'get':_0x8add8e[_0x57fa68],'enumerable':!0x0});return _0xcf6999||_0x5a053c(_0x57c931,Symbol['toStringTag'],{'value':'Module'}),_0x57c931;},_0x5e0457=(_0x35f945,_0xe72647,_0x52fa94)=>(_0x52fa94=null!=_0x35f945?_0x329208(_0x296ae2(_0x35f945)):{},((_0x1b058d,_0x3a8045,_0x200b4c,_0x5983b3)=>{if(_0x3a8045&&'object'==typeof _0x3a8045||'function'==typeof _0x3a8045){for(var _0x42ca8f,_0x24458e=_0x4a1be7(_0x3a8045),_0x39bbc3=0x0,_0x3e3b1b=_0x24458e['length'];_0x39bbc3<_0x3e3b1b;_0x39bbc3++)_0x42ca8f=_0x24458e[_0x39bbc3],_0x52694f['call'](_0x1b058d,_0x42ca8f)||_0x42ca8f===_0x200b4c||_0x5a053c(_0x1b058d,_0x42ca8f,{'get':(_0x4ac91b=>_0x3a8045[_0x4ac91b])['bind'](null,_0x42ca8f),'enumerable':!(_0x5983b3=_0x453fde(_0x3a8045,_0x42ca8f))||_0x5983b3['enumerable']});}return _0x1b058d;})(!_0xe72647&&_0x35f945&&_0x35f945['__esModule']?_0x52fa94:_0x5a053c(_0x52fa94,'default',{'value':_0x35f945,'enumerable':!0x0}),_0x35f945));const _0x232fb9='_ungrouppedCommands';function _0x522a2a(_0x21d827,_0x35cd97){const _0x3fe051=(0x0,_0x35cd97['t'])('Other');return _0x21d827['length']?'groupId'in _0x21d827[0x0]?_0x21d827:[{'groupId':_0x232fb9,'groupLabel':_0x3fe051,'order':0x1/0x0,'commands':_0x21d827}]:[{'groupId':_0x232fb9,'groupLabel':_0x3fe051,'order':0x1/0x0,'commands':[]}];}const _0x13787e=globalThis['DataTransfer'],_0x4d8b93='ai-ui';var _0xb2f162=class extends _0x491313['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x46a89f}=this,_0x1314ff=['ck-fake-ai-selection'];_0x46a89f['config']['get']('ai.assistant.useTheme')&&_0x1314ff['push']('ck-ai-assistant-ui_theme'),_0x46a89f['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x4d8b93,'view':{'classes':_0x1314ff,'priority':0xc}}),_0x46a89f['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x4d8b93,'view':(_0x240744,{writer:_0x12f7e7})=>{if(!_0x240744['markerRange']['isCollapsed'])return null;const _0x2a3ceb=_0x12f7e7['createUIElement']('span');return _0x12f7e7['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x2a3ceb),_0x2a3ceb;}});}afterInit(){this['_blockIfRemovedByLicenseKey'](),async function(_0x2c822b){const _0x209d92='nA7yurgOHbZvDplRkJscdICm86oPWx92f1qF0LaSX3NGwTMK4jVtYUBQi5zheE',_0x21b1ba=0x791d0,_0x57c363=window['Date']['now'](),_0x880ad8=_0x2c822b['editor'],_0x43b892=new window['Promise'](_0x5f5b37=>{_0x880ad8['once']('ready',_0x5f5b37);}),_0x1ed341={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1c81db=_0x880ad8['config']['get']('licenseKey');async function _0x28148c(){let _0x131b13,_0x348c91=null,_0x3c58a5=null;try{return'GPL'==_0x1c81db?'NotAllowed':(_0x131b13=_0x4b8982(),_0x131b13?(_0x131b13['usageEndpoint']&&(_0x3c58a5=_0x524ecd(_0x131b13['usageEndpoint'],_0x131b13['jti'])),await _0x13a0e1()?_0xc1b0a()?_0x2f54e6()?'Expired':_0x1bf673()?('evaluation'==_0x131b13['licenseType']&&(_0x348c91=_0x1e8a80('EvaluationLimit')),await _0x49e9d6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2f54e6(){const _0x58a2e7=['evaluation','trial']['includes'](_0x131b13['licenseType'])?_0x57c363/0x3e8:0xe10*_0x21b1ba;return _0x131b13['exp']<_0x58a2e7;}function _0xc1b0a(){const _0x4d3b14=_0x131b13['features'];return!!_0x4d3b14&&(!!_0x4d3b14['includes']('*')||!!_0x4d3b14['includes']('AI'));}function _0x1bf673(){const _0x575940=_0x131b13['licensedHosts'];if(!_0x575940||0x0==_0x575940['length'])return!0x0;const {hostname:_0x2e2062}=new URL(window['location']['href']);if(_0x575940['includes'](_0x2e2062))return!0x0;const _0x3ef1aa=_0x2e2062['split']('.');return _0x575940['filter'](_0x4fd108=>_0x4fd108['includes']('*'))['map'](_0x28131b=>_0x28131b['split']('.'))['filter'](_0x17a6c6=>_0x17a6c6['length']<=_0x3ef1aa['length'])['map'](_0x1d2007=>Array(_0x3ef1aa['length']-_0x1d2007['length'])['fill']('*'===_0x1d2007[0x0]?'*':'')['concat'](_0x1d2007))['some'](_0x5680fb=>_0x3ef1aa['every']((_0x191d8f,_0x375526)=>_0x5680fb[_0x375526]===_0x191d8f||'*'===_0x5680fb[_0x375526]));}function _0x49e9d6(){return _0x348c91&&_0x3c58a5?new window['Promise']((_0x524779,_0x117f46)=>{_0x348c91['then'](_0x524779,_0x117f46),_0x3c58a5['then'](_0x4f60e2=>{'Valid'!=_0x4f60e2&&_0x524779(_0x4f60e2);},_0x117f46);}):_0x348c91||_0x3c58a5||'Valid';}}function _0x524ecd(_0x2e4d47,_0x1914c9){return new window['Promise'](_0x35e13d=>{if(_0x1b8048())return _0x35e13d('Valid');_0x33a8cf(),_0x880ad8['decorate']('_sendUsageRequest');let _0xbff762=!0x1;const _0x2324af=(0x0,_0x491313['uid'])();function _0x82df32(_0x287fc7){return!!_0x287fc7&&('object'==typeof _0x287fc7||'function'==typeof _0x287fc7)&&'function'==typeof _0x287fc7['then']&&'function'==typeof _0x287fc7['catch'];}function _0x8d35b9(_0x4124d4){_0x2ce23a(_0x4124d4)['then'](_0x219218=>_0x219218&&'ok'==_0x219218['status']?_0x2b9e68(_0x2963b7(_0x2324af+_0x1914c9))!=_0x219218['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x45f26b=>(_0x489d3a(),_0x45f26b),()=>{const _0x2ad55d=_0x53ef9f();return null==_0x2ad55d?(_0x489d3a(),'Valid'):_0x57c363-_0x2ad55d>0x240c8400?'UsageLimit':'Valid';})['then'](_0x35e13d)['catch'](()=>{_0x35e13d('UsageLimit');});const _0x463562=0x36ee80;function _0x489d3a(){const _0x122e4c='llct-'+_0x2b9e68(_0x2963b7(_0x2e4d47)),_0x5d9d7d=_0x1fb244(_0x2b9e68(window['Math']['ceil'](_0x57c363/_0x463562)));window['localStorage']['setItem'](_0x122e4c,_0x5d9d7d);}function _0x53ef9f(){const _0x37bfd7='llct-'+_0x2b9e68(_0x2963b7(_0x2e4d47)),_0x436d4e=window['localStorage']['getItem'](_0x37bfd7);return _0x436d4e?window['parseInt'](_0x1fb244(_0x436d4e),0x10)*_0x463562:null;}function _0x2ce23a(_0x351d78){return new window['Promise']((_0x422bd3,_0x280a0a)=>{_0x351d78['then'](_0x422bd3,_0x280a0a),window['setTimeout'](_0x280a0a,0x1d4c0);});}}_0x880ad8['on']('_sendUsageRequest',(_0x4387e7,_0x2202e4)=>{if(_0x2202e4[0x0]!=_0x2e4d47)return _0x35e13d('UsageLimit');_0x2202e4[0x1]={..._0x2202e4[0x1],'requestId':_0x2324af};},{'priority':'high'}),_0x880ad8['on']('_sendUsageRequest',_0x44b7e6=>{_0x82df32(_0x44b7e6['return'])&&(_0xbff762=!0x0,_0x8d35b9(_0x44b7e6['return']));},{'priority':'low'}),_0x43b892['then'](()=>{_0xbff762||_0x35e13d('UsageLimit');});});function _0x1b8048(){return'auto'==_0x880ad8['editing']['view']['_overlayModeHint'];}function _0x33a8cf(){_0x880ad8['editing']['view']['_overlayModeHint']='auto';}}function _0x1e8a80(_0xdb0580){const _0x43ab43=[new window['Promise'](_0x4fbf33=>setTimeout(_0x4fbf33,0x93ecc)),_0x43b892['then'](()=>new window['Promise'](_0x103092=>{let _0x22aeaf=0x0;_0x880ad8['model']['on']('applyOperation',(_0x2db673,_0x4a1170)=>{_0x4a1170[0x0]['isDocumentOperation']&&_0x22aeaf++,0x5e8==_0x22aeaf&&(_0x103092(),_0x2db673['off']());});}))];return window['Promise']['race'](_0x43ab43)['then'](()=>_0xdb0580);}async function _0x46336a(){await _0x43b892,_0x880ad8['model']['change']=_0x59ddd3,_0x880ad8['model']['enqueueChange']=_0x59ddd3,_0x880ad8['enableReadOnlyMode']('model');}function _0x54baa8(_0x218f1a){const _0x260f45=_0x532739();_0x880ad8[_0x260f45]='aiLicenseKey'+_0x218f1a,'Valid'!=_0x218f1a&&_0x46336a();}function _0x532739(){const _0x1f3b31=window['String'](window['performance']['now']())['replace']('.','');let _0x28e8ad='n';for(let _0xa70c1a=0x0;_0xa70c1a<_0x1f3b31['length'];_0xa70c1a+=0x2){let _0x15d496=window['parseInt'](_0x1f3b31['substring'](_0xa70c1a,_0xa70c1a+0x2));_0x15d496>=0x3e&&(_0x15d496-=0x3e),_0x28e8ad+=_0x209d92[_0x15d496];}return _0x28e8ad;}function _0x4b8982(){const _0x2fa798=_0x1c81db['split']('.');if(0x3!=_0x2fa798['length'])return null;return _0x4ddd15(_0x2fa798[0x1]);function _0x4ddd15(_0x386052){const _0x288e16=_0x384d4a(_0x386052);return _0x288e16&&_0x2f35b8()?_0x288e16:null;function _0x2f35b8(){const _0x7b48ba=_0x288e16['jti'],_0x4be3a7=window['parseInt'](_0x7b48ba['substring'](_0x7b48ba['length']-0x8),0x10),_0x3f2361={..._0x288e16,'jti':_0x7b48ba['substring'](0x0,_0x7b48ba['length']-0x8)};return delete _0x3f2361['vc'],_0x2963b7(_0x3f2361)==_0x4be3a7;}}}async function _0x13a0e1(){let _0x889900=!0x0;try{const [_0x2816d6,_0x55f35a,_0x7185a0]=_0x1c81db['split']('.');return _0x76ba39(_0x2816d6),await _0x1f9dde(_0x2816d6,_0x55f35a,_0x7185a0),_0x889900;}catch{return!0x1;}function _0x76ba39(_0x5a416f){const _0x37ddf8=_0x384d4a(_0x5a416f);_0x37ddf8&&'ES256'==_0x37ddf8['alg']||(_0x889900=!0x1);}async function _0x1f9dde(_0x1ccdfd,_0x4cac2e,_0x677a39){const _0x88c754=window['Uint8Array']['from'](_0x350d32(_0x677a39),_0x5db976=>_0x5db976['charCodeAt'](0x0)),_0x318285=new window['TextEncoder']()['encode'](_0x1ccdfd+'.'+_0x4cac2e),_0x616608=window['crypto']['subtle'];if(!_0x616608)return;const _0x3a6d6d=await _0x616608['importKey']('jwk',_0x1ed341,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x616608['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3a6d6d,_0x88c754,_0x318285)||(_0x889900=!0x1);}}function _0x384d4a(_0x47dd42){return _0x47dd42['startsWith']('ey')?JSON['parse'](_0x350d32(_0x47dd42)):null;}function _0x350d32(_0x2aba03){return window['atob'](_0x2aba03['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2963b7(_0x58423d){let _0x5ab34f=0x1505;function _0x3bd561(_0x181a17){for(let _0x1cf243=0x0;_0x1cf243<_0x181a17['length'];_0x1cf243++){const _0x2c7e39=_0x181a17['charCodeAt'](_0x1cf243);_0x5ab34f=(_0x5ab34f<<0x5)+_0x5ab34f+_0x2c7e39,_0x5ab34f&=_0x5ab34f;}}function _0x49ccf9(_0x24cf9c){Array['isArray'](_0x24cf9c)?_0x24cf9c['forEach'](_0x49ccf9):_0x24cf9c&&'object'==typeof _0x24cf9c?Object['entries'](_0x24cf9c)['sort']()['forEach'](([_0x390b36,_0xcbbd21])=>{_0x3bd561(_0x390b36),_0x49ccf9(_0xcbbd21);}):_0x3bd561(window['String'](_0x24cf9c));}return _0x49ccf9(_0x58423d),_0x5ab34f>>>0x0;}function _0x2b9e68(_0x55706b){return _0x55706b['toString'](0x10)['padStart'](0x8,'0');}function _0x1fb244(_0x370152){return _0x370152['split']('')['reverse']()['join']('');}function _0x59ddd3(){}_0x54baa8(await _0x28148c());}(this);}['_blockIfRemovedByLicenseKey'](){const _0x2f4cf5=this['editor'],_0xc97ebf=(0x0,_0x491313['decodeLicenseKey'])(_0x2f4cf5['config']['get']('licenseKey'));_0xc97ebf&&(0x0,_0x491313['isFeatureBlockedByLicenseKey'])(_0xc97ebf,'AI')&&(_0x2f4cf5['enableReadOnlyMode'](Symbol('invalidLicense')),_0x2f4cf5['_showLicenseError']('featureNotAllowed','AIAssistant'));}showFakeVisualSelection(){const _0x487de9=this['editor']['model'];_0x487de9['change'](_0x19ad75=>{const _0x5c3c81=_0x487de9['document']['selection']['getRanges']();let _0x2efba9=0x0;for(const _0x1a26ad of _0x5c3c81){const _0x1232c7=_0x4d8b93+':'+_0x2efba9;if(_0x487de9['markers']['has'](_0x1232c7))_0x19ad75['updateMarker'](_0x1232c7,{'range':_0x1a26ad});else{if(_0x1a26ad['start']['isAtEnd']){const _0x48c10c=_0x1a26ad['start']['getLastMatchingPosition'](({item:_0xd5a794})=>!_0x487de9['schema']['isContent'](_0xd5a794),{'boundaries':_0x1a26ad});_0x19ad75['addMarker'](_0x1232c7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x19ad75['createRange'](_0x48c10c,_0x1a26ad['end'])});}else _0x19ad75['addMarker'](_0x1232c7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1a26ad});}_0x2efba9++;}});}hideFakeVisualSelection(){const _0x88cbe6=this['editor']['model'],_0x308c61=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x4d8b93));_0x308c61['length']&&_0x88cbe6['change'](_0x3105a6=>{_0x308c61['forEach'](_0x154019=>{_0x3105a6['removeMarker'](_0x154019);});});}insertContent(_0x1e77e0,_0x2f6341){const _0x3e74f0=this['_getAISelection'](),_0x36d0d5=_0x2f6341||_0x3e74f0['getFirstRange']();this['editor']['model']['canEditAt'](_0x36d0d5)&&this['editor']['model']['change'](_0x14b0b1=>{this['hideFakeVisualSelection'](),_0x2f6341||this['_resetContentOfSelectedTableCells'](_0x14b0b1,_0x3e74f0),this['_pasteHTMLUsingClipboard']({'insertAt':_0x36d0d5,'writer':_0x14b0b1,'html':_0x1e77e0});});}insertContentBelow(_0x841b2b){const {model:_0x4d127b}=this['editor'],_0x4d68dc=this['_getAISelection']();_0x4d127b['change'](()=>{const _0x1a3661=this['_prepareTableInsertBelowPosition'](_0x841b2b,_0x4d68dc)||this['_getDefaultInsertBelowPosition'](_0x4d68dc);this['insertContent'](_0x841b2b,_0x1a3661);});}_getAISelection(){const _0x2ea696=this['editor']['model'],_0x40ba5d=Array['from'](_0x2ea696['markers']['getMarkersGroup'](_0x4d8b93))['map'](_0x285ccd=>_0x285ccd['getRange']());return _0x2ea696['createSelection'](_0x40ba5d);}_pasteHTMLUsingClipboard({writer:_0x1d4edc,html:_0x10ccea,insertAt:_0x2f9ff2}){const {view:_0x9ce05a}=this['editor']['editing'],_0x504778=this['editor']['plugins']['get'](_0x491313['ClipboardPipeline']),_0x4e1af4=new _0x13787e();_0x4e1af4['setData']('text/html',_0x10ccea);const _0x2a0c59=new _0x491313['ViewDocumentDomEventData'](_0x9ce05a,new ClipboardEvent('paste',{'clipboardData':_0x4e1af4}),{'dataTransfer':new _0x491313['ViewDataTransfer'](_0x4e1af4)});_0x1d4edc['setSelection'](_0x2f9ff2);const _0x4b3afd=(_0x28a7d2,_0x3bbd3d)=>{_0x3bbd3d['resultRange']&&_0x1d4edc['setSelection'](_0x3bbd3d['resultRange']);};_0x504778['once']('contentInsertion',_0x4b3afd,{'priority':'lowest'}),_0x9ce05a['document']['fire']('paste',_0x2a0c59),_0x504778['off']('contentInsertion',_0x4b3afd);}_getDefaultInsertBelowPosition(_0x52d775){const {model:_0x296832}=this['editor'],_0x2617c4=Array['from'](_0x52d775['getSelectedBlocks']());return _0x2617c4['length']?_0x296832['createPositionAfter'](_0x2617c4['pop']()):_0x52d775['getLastPosition']();}_prepareTableInsertBelowPosition(_0x4c81bb,_0x178cad){const {model:_0x375256,plugins:_0x4c06b2}=this['editor'];if(_0x4c06b2['has']('TableUtils')){const _0x1ba634=_0x4c06b2['get']('TableUtils')['getSelectedTableCells'](_0x178cad);if(_0x1ba634['length']){const _0x5e9707=this['_getTableRowCountFromContent'](_0x4c81bb),_0x20ab51=this['_createEmptyTableRows'](_0x1ba634,_0x5e9707);return _0x375256['createPositionAt'](_0x20ab51,0x0);}}return null;}_getTableRowCountFromContent(_0x155e19){const _0x280cb1=this['editor']['plugins']['get']('TableUtils'),_0x233d20=this['editor']['data']['parse'](_0x155e19,'$documentFragment'),_0x554196=Array['from'](_0x233d20['getChildren']())['filter'](_0x224a00=>_0x224a00['is']('element','table'));let _0x229914=0x0;return _0x554196['forEach'](_0x3216b3=>{_0x229914+=_0x280cb1['getRows'](_0x3216b3);}),_0x229914;}_createEmptyTableRows(_0x21289b,_0x36c4fc){const _0x4a7c24=this['editor']['plugins']['get']('TableUtils'),_0x21a201=_0x4a7c24['getRowIndexes'](_0x21289b),_0x1b73c8=_0x4a7c24['getColumnIndexes'](_0x21289b),_0xc526c3=_0x21a201['last']+0x1,_0x5832a5=_0x1b73c8['first'],_0x14c4c2=_0x21289b[0x0]['findAncestor']('table');for(let _0x2312dc=0x0;_0x2312dc<_0x36c4fc;_0x2312dc++)_0x4a7c24['insertRows'](_0x14c4c2,{'at':_0xc526c3});return _0x14c4c2['getChild'](_0xc526c3)['getChild'](_0x5832a5);}_resetContentOfSelectedTableCells(_0x1ab375,_0x16fdf0){const {plugins:_0x54812c}=this['editor'],{model:_0x3dde57}=_0x1ab375;_0x54812c['has']('TableUtils')&&_0x54812c['get']('TableUtils')['getSelectedTableCells'](_0x16fdf0)['length']&&_0x3dde57['deleteContent'](_0x16fdf0);}},_0x25dd35=class extends _0x491313['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){if(!this['textAdapter'])throw new _0x491313['CKEditorError']('aiadapter-text-adapter-not-set',null);}},_0xd88647=class extends Error{constructor(_0x21ea23){super(_0x21ea23),this['name']='AIRequestError';}};function _0x4d4eec(_0x12cb6d,_0x3c1e87,_0x3a36f0){const t=_0x12cb6d['t'];switch(_0x3c1e87){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x3a36f0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3a36f0);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x3a36f0);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3c1e87;}}var _0x4b25ad=class extends _0x491313['Command']{_commandDefinitions;constructor(_0x21260f,_0x45794d){super(_0x21260f),this['_commandDefinitions']=_0x45794d,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x325550,_0x517937,_0x50b733)=>{this['isEnabled']&&(this['enabledCommandsIds']=_0x5836a7(this['_commandDefinitions'],_0x50b733));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x14db0f,_0x160318,_0x5ac1ef)=>{this['enabledCommandsIds']=_0x5ac1ef?_0x5836a7(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x1f0d5b=this['editor']['model'];this['_hasContext']=function(_0x486657){const _0x60b54a=_0x486657['document']['selection'];return _0x60b54a['isCollapsed']?0x0!==[..._0x60b54a['getSelectedBlocks']()]['length']&&![..._0x60b54a['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x486657['hasContent'](_0x60b54a['getFirstRange']());}(_0x1f0d5b);const _0x5c99c8=_0x1f0d5b['document']['selection'],_0x2f97e7=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x376f8e of _0x5c99c8['getRanges']())for(const _0x4a88cc of _0x376f8e['getItems']())if(_0x4a88cc['is']('element')&&_0x2f97e7['includes'](_0x4a88cc['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}execute(_0x43af56='',_0x1c4d10='',_0x130315='custom'){this['editor']['plugins']['get'](_0x226b45)['showUI'](_0x43af56,_0x1c4d10,_0x130315);}};function _0x5836a7(_0x140899,_0x317f57){const _0x406ab7=new Set();for(const _0x4c7431 of _0x140899['values']())(_0x317f57||!0x1===_0x4c7431['requiresContent'])&&_0x406ab7['add'](_0x4c7431['id']);return Array['from'](_0x406ab7);}const _0x10c11b=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is'),_0x512c61=/* #__PURE__  -- @preserve */
/* #__PURE__  -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x196aa1=class extends _0x512c61{editor;textAdapter;['view'];_sanitizationContainer;['_domParser'];['_xmlSerializer'];constructor(_0x1e19ec,_0x13d5a3,_0xab7ea2){super(),this['editor']=_0x1e19ec,this['textAdapter']=_0x13d5a3,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0xab7ea2,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x46b16f,_0xa345b1,_0x5287f6)=>{this['view']['value']=this['_sanitizeHTML'](_0x5287f6);}),this['listenTo'](this['view'],'submitPrompt',(_0x26838a,_0x3e31f7)=>{const _0x20edf5=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x3e31f7,_0x20edf5,'custom');}),this['listenTo'](this['view'],'tryAgainEvent',()=>{this['view']['prompt']=this['previousLabel'],this['_handleQuery'](this['previousQuery'],this['previousContext'],this['previousActionId'],this['previousLabel']);}),this['listenTo'](this['view'],'stopProcessing',()=>{this['stopProcessing']();});}destroy(){this['stopListening']();}async updateView({actionId:_0x2e0f1c,query:_0x4cb140,htmlContent:_0x513f67,label:_0x4b326b,mainActionLabel:_0x54c8e7}){this['view']['prompt']=_0x4b326b,this['view']['mainAction']=_0x54c8e7,this['initialContext']=_0x513f67,_0x4cb140&&(this['view']['isRendered']?this['_handleQuery'](_0x4cb140,_0x513f67,_0x2e0f1c,_0x4b326b):this['view']['once']('render',()=>{this['_handleQuery'](_0x4cb140,_0x513f67,_0x2e0f1c,_0x4b326b);}));}stopProcessing(){this['isProcessing']&&(this['isProcessing']=!0x1,this['view']['finishProcessing'](),this['textAdapter']['abort']());}reset(){this['initialContext']='',this['currentContext']='',this['currentResponse']='',this['previousContext']='',this['previousQuery']='',this['previousLabel']='',this['previousActionId']=void 0x0,this['view']['reset'](),this['stopProcessing']();}async['_handleQuery'](_0x54140a,_0xd8d60b,_0x59d96d,_0x31df97){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0xd8d60b,this['previousQuery']=_0x54140a,this['previousLabel']=_0x31df97||_0x54140a,this['previousActionId']=_0x59d96d,new Promise(_0x2d1c37=>{this['textAdapter']['makeRequest']({'query':_0x54140a,'context':_0xd8d60b,'onData':_0x35e730=>{this['currentResponse']=_0x35e730,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x59d96d})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x305fb7=>{_0x305fb7 instanceof _0xd88647?this['view']['handleError'](_0x305fb7['message']):this['view']['handleError'](),_0x2d1c37();})['finally'](()=>{this['stopProcessing'](),_0x2d1c37();});});}_parseAndNormalizeContent(_0x39a174,_0x198a2f=!0x1){const _0x3b595c=_0x10c11b['exec'](_0x39a174);_0x39a174=_0x3b595c?_0x39a174['substring'](_0x3b595c[0x1]['length']):_0x39a174['length']<0x64&&!_0x198a2f?'':this['_stripMarkdownSyntax'](_0x39a174);const _0x3c599a=this['_domParser']['parseFromString'](_0x39a174,'text/html');if(_0x3b595c){const _0x47c22e=Array['from'](_0x3c599a['body']['childNodes']);_0x47c22e['reverse']();for(const _0xf8b5a1 of _0x47c22e){if(_0xf8b5a1['nodeType']==Node['ELEMENT_NODE'])break;_0xf8b5a1['remove']();}}const _0x259c27=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x3c599a['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x259c27);const _0x2d31c2=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x4d6503=this['editor']['data']['toModel'](_0x259c27);return _0x2d31c2||_0x4d6503['markers']['clear'](),this['editor']['data']['stringify'](_0x4d6503);}['_normalizeResponseHeadings'](_0x36d27e){const _0x3e6f42=new _0x491313['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0xa5506a=new _0x491313['Matcher']({'name':/^h[1-5]$/}),_0x34a4a5=[];let _0xeb1e3d=!0x1;for(const _0x12e784 of _0x36d27e)_0x12e784['is']('element')&&_0xa5506a['match'](_0x12e784)&&(_0x34a4a5['push'](_0x12e784),'h1'==_0x12e784['name']&&(_0xeb1e3d=!0x0));if(_0xeb1e3d){for(const _0x5afd75 of _0x34a4a5)_0x3e6f42['rename']('h'+(parseInt(_0x5afd75['name'][0x1])+0x1),_0x5afd75);}}_isH1TagSupportEnabled(){const {data:_0x25a76b,editing:_0x178286}=this['editor'],_0x2d49a8=_0x25a76b['htmlProcessor']['toView']('<h1></h1>'),_0x116ecd=_0x25a76b['toView'](_0x25a76b['toModel'](_0x2d49a8));return!!_0x178286['view']['domConverter']['viewToDom'](_0x116ecd)['querySelector']('h1');}_sanitizeHTML(_0x1c692e){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x1c692e),this['_sanitizationContainer']['innerHTML'];}_stripMarkdownSyntax(_0x4e6773){const _0x29d9e2=_0x4e6773['trim']();return _0x29d9e2['startsWith']('```html')?_0x29d9e2['endsWith']('```')?_0x29d9e2['substring'](0x7,_0x29d9e2['length']-0x3):_0x29d9e2['substring'](0x7):_0x4e6773;}};const _0x2d8a7f={'REPLACE':'replace','INSERT':'insert'};var _0x226f9e=class extends _0x491313['ToolbarView']{constructor(_0x5cd06e){super(_0x5cd06e),this['set']('isVisible',!0x1),this['set']('mainAction',_0x2d8a7f['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x4eef79=>_0x4d4eec(_0x5cd06e,'AI_'+_0x4eef79['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](_0x4d4eec(_0x5cd06e,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](_0x4d4eec(_0x5cd06e,'Try\x20again')),this['stopButton']=this['_createButton'](_0x4d4eec(_0x5cd06e,'Stop'));const _0x1f6322=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x1f6322['if']('isVisible','ck-hidden',_0x312952=>!_0x312952)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}_createButton(_0x4c2c26,_0x33021d){const _0x49e27f=new _0x491313['ButtonView'](this['locale']);return _0x49e27f['set']({'label':_0x4c2c26,'class':_0x33021d||'','isVisible':!0x0,'withText':!0x0}),_0x49e27f;}},_0x5c2c2b=class extends _0x491313['View']{contentFieldView;copyButtonView;constructor(_0x9ec5e7,_0x59322b=''){super(_0x9ec5e7),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4cf265=this['bindTemplate'];this['contentFieldView']=new _0x4b242c(_0x9ec5e7,_0x59322b),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x4cf265['if']('isVisible','ck-hidden',_0x2d99ce=>!_0x2d99ce)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x4cf265['if']('isProcessing','ck-ai-form__content-area--processing')]},'children':[this['contentFieldView'],{'tag':'div','attributes':{'class':['ck','ck-ai-form__copy-button-wrapper']},'children':[this['copyButtonView']]}]}]});}['render'](){super['render'](),this['value']&&this['contentFieldView']['setContent'](this['value']);let _0x3d2039=!0x1;this['on']('change:value',(_0x12e9fe,_0x5d16b5,_0x426313)=>{const _0x40c4e6=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x426313),this['isProcessing']&&_0x40c4e6&&!_0x3d2039&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x5eb16b,_0x14894f,_0x22d2f5)=>{_0x3d2039=!0x1,_0x22d2f5?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x3d2039=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x3d2039=!0x0;});}['focus'](){this['element']['focus']();}_createCopyButton(){const _0x56cce9=this['locale'],_0x27f5bf=new _0x491313['ButtonView'](this['locale']),_0x77d948='ck-ai-form__copy-button';return _0x27f5bf['set']({'label':_0x4d4eec(_0x56cce9,'Copy'),'icon':_0x491313['IconCopy'],'class':_0x77d948,'tooltip':!0x0}),_0x27f5bf['bind']('isVisible')['to'](this,'value',_0x5a4256=>!!_0x5a4256),_0x27f5bf['bind']('isEnabled')['to'](this,'isProcessing',_0x4f6060=>!_0x4f6060),_0x27f5bf['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x27f5bf['icon']=_0x491313['IconCheck'],_0x27f5bf['class']=_0x77d948+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x27f5bf['icon']=_0x491313['IconCopy'],_0x27f5bf['class']=_0x77d948;},0x3e8);}),_0x27f5bf;}['_copyHTMLToClipboard'](_0x34c9b9){const {window:_0x146a49,document:_0x490a93}=_0x491313['global'];if(_0x146a49['ClipboardItem']){const {Blob:_0x53c7f0,ClipboardItem:_0xbd09b}=_0x146a49,_0x3ca88a=[new _0xbd09b({'text/html':new _0x53c7f0([_0x34c9b9['innerHTML']],{'type':'text/html'}),'text/plain':new _0x53c7f0([_0x34c9b9['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x3ca88a);}else{const _0x1ee5ea=_0x490a93['createElement']('div');_0x1ee5ea['style']['position']='absolute',_0x1ee5ea['style']['left']='-9999px',_0x1ee5ea['innerHTML']='<span>[</span>'+_0x34c9b9['innerHTML']+'<span>]</span>',_0x490a93['body']['appendChild'](_0x1ee5ea);const _0x235e09=_0x490a93['createRange']();_0x235e09['setStartAfter'](_0x1ee5ea['firstElementChild']),_0x235e09['setEndBefore'](_0x1ee5ea['lastElementChild']);const _0x3b6f14=_0x146a49['getSelection']();_0x3b6f14['removeAllRanges'](),_0x3b6f14['addRange'](_0x235e09),_0x490a93['execCommand']('copy'),_0x1ee5ea['remove']();}}},_0x4b242c=class extends _0x491313['View']{constructor(_0x54e50c,_0x57bfd4=''){super(_0x54e50c),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x57bfd4,'ck-reset_all-excluded','ck-ai-form__content-field']}});}setContent(_0x5053e){this['element']['innerHTML']=_0x5053e;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}_createLoader(){const _0x5f074e=new _0x491313['View'](),_0x394fa9=this['locale'],_0x160f01=new _0x491313['SpinnerView']();return _0x160f01['isVisible']=!0x0,_0x5f074e['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x160f01,{'text':_0x4d4eec(_0x394fa9,'AI\x20is\x20writing...')}]}),_0x5f074e['render'](),_0x5f074e;}},_0x585a53=class extends _0x491313['View']{constructor(_0x36cd36,_0xe45ac7=''){super(_0x36cd36);const _0x562abc=new _0x491313['IconView'](),_0x537e38=this['bindTemplate'];this['set']('text',_0xe45ac7),_0x562abc['content']=_0x491313['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x562abc,{'text':_0x537e38['to']('text')}]});}},_0x9a22d6=class extends _0x491313['AutocompleteView']{submitButtonView;showHistoryButtonView;constructor(_0x2c2c60,_0x165e8b){super(_0x2c2c60,_0x165e8b),this['queryView']['fieldView']['minRows']=0x1,this['queryView']['fieldView']['maxRows']=0x3,this['submitButtonView']=this['_createSubmitButton'](),this['showHistoryButtonView']=this['_createShowHistoryButton'](),this['focusableChildren']['add'](this['showHistoryButtonView'],0x1),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['showHistoryButtonView']),this['children']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x465dd6,_0x319487)=>{_0x465dd6['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x319487());});}_createSubmitButton(){const _0x18e3b4=new _0x491313['ButtonView'](this['locale']),_0xf2317f=this['locale'];return _0x18e3b4['set']({'icon':_0x491313['IconSubmit'],'label':_0x4d4eec(_0xf2317f,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x18e3b4['on']('execute',()=>{this['submit']();}),_0x18e3b4['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x2b22e5,_0x24c198)=>!_0x2b22e5&&_0x24c198),_0x18e3b4;}_createShowHistoryButton(){const _0x5a070b=new _0x491313['ButtonView'](this['locale']),_0x2a7f66=this['resultsView'],_0x1b6742=this['locale'];_0x5a070b['set']({'label':_0x4d4eec(_0x1b6742,'History'),'withText':!0x1,'icon':_0x491313['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x5a070b['bind']('isOn')['to'](_0x2a7f66,'isVisible'),_0x5a070b['bind']('isEnabled')['to'](this,'isEnabled'),_0x5a070b['on']('execute',()=>{_0x2a7f66['isVisible']=!_0x2a7f66['isVisible'],_0x2a7f66['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x54f9b3=()=>{_0x491313['global']['window']['requestAnimationFrame'](()=>{if((0x0,_0x491313['isVisible'])(this['element'])){const _0x18be03=new _0x491313['Rect'](this['queryView']['fieldView']['element']),_0x2c74c5=_0x18be03['width'],_0x4d95be='rtl'===_0x1b6742['uiLanguageDirection']?'left':'right';_0x18be03['excludeScrollbarsAndBorders'](),_0x5a070b['element']['style'][_0x4d95be]=_0x2c74c5-_0x18be03['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x54f9b3),this['on']('render',_0x54f9b3),_0x5a070b;}submit(){const _0xf2a9e8=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0xf2a9e8);}['focus'](_0x39f1ea){-0x1===_0x39f1ea?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}},_0x18ed46=class extends _0x491313['ListView']{historyGroupView;clearHistoryButton;constructor(_0x14c66c){super(_0x14c66c),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x491313['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=_0x4d4eec(_0x14c66c,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}filter(){let _0x1b907f=0x0;for(const _0x48daaf of this['items'])_0x1b907f+=_0x48daaf['items']['length'];return{'resultsCount':_0x1b907f,'totalItemsCount':_0x1b907f};}_createClearHistoryButton(){const _0x3b3b7c=this['locale'],_0x41a6a1=new _0x491313['ButtonView'](this['locale']);return _0x41a6a1['set']({'label':'('+_0x4d4eec(_0x3b3b7c,'Clear')+')','withText':!0x0}),_0x41a6a1['on']('execute',()=>this['fire']('clearHistory')),_0x41a6a1;}};function _0x522720(_0x3c1bed,_0x1c9c74,{signal:_0x3c6c4f,edges:_0x53229f}={}){let _0x15ef2c,_0x56dcde=null;const _0x2ef9c7=null!=_0x53229f&&_0x53229f['includes']('leading'),_0x3b7c37=null==_0x53229f||_0x53229f['includes']('trailing'),_0x56688b=()=>{null!==_0x56dcde&&(_0x3c1bed['apply'](_0x15ef2c,_0x56dcde),_0x15ef2c=void 0x0,_0x56dcde=null);};let _0x2c47cb=null;const _0x39a6b8=()=>{null!=_0x2c47cb&&clearTimeout(_0x2c47cb),_0x2c47cb=setTimeout(()=>{_0x2c47cb=null,_0x3b7c37&&_0x56688b(),_0x4554ad();},_0x1c9c74);},_0x4554ad=()=>{null!==_0x2c47cb&&(clearTimeout(_0x2c47cb),_0x2c47cb=null),_0x15ef2c=void 0x0,_0x56dcde=null;},_0x4ddf04=function(..._0x102285){if(_0x3c6c4f?.['aborted'])return;_0x15ef2c=this,_0x56dcde=_0x102285;const _0x13ad72=null==_0x2c47cb;_0x39a6b8(),_0x2ef9c7&&_0x13ad72&&_0x56688b();};return _0x4ddf04['schedule']=_0x39a6b8,_0x4ddf04['cancel']=_0x4554ad,_0x4ddf04['flush']=()=>{_0x56688b();},_0x3c6c4f?.['addEventListener']('abort',_0x4554ad,{'once':!0x0}),_0x4ddf04;}function _0xa307bf(_0x1ce065,_0x42c092=0x0,_0x305f66={}){'object'!=typeof _0x305f66&&(_0x305f66={});const {leading:_0x42e614=!0x1,trailing:_0x4a37bc=!0x0,maxWait:_0xf1235e}=_0x305f66,_0x33a763=Array(0x2);let _0x4b2611;_0x42e614&&(_0x33a763[0x0]='leading'),_0x4a37bc&&(_0x33a763[0x1]='trailing');let _0x17b69e=null;const _0x7d3490=_0x522720(function(..._0x553616){_0x4b2611=_0x1ce065['apply'](this,_0x553616),_0x17b69e=null;},_0x42c092,{'edges':_0x33a763}),_0x3cd7be=function(..._0x2ad63b){return null!=_0xf1235e&&(null===_0x17b69e&&(_0x17b69e=Date['now']()),Date['now']()-_0x17b69e>=_0xf1235e)?(_0x4b2611=_0x1ce065['apply'](this,_0x2ad63b),_0x17b69e=Date['now'](),_0x7d3490['cancel'](),_0x7d3490['schedule'](),_0x4b2611):(_0x7d3490['apply'](this,_0x2ad63b),_0x4b2611);};return _0x3cd7be['cancel']=_0x7d3490['cancel'],_0x3cd7be['flush']=()=>(_0x7d3490['flush'](),_0x4b2611),_0x3cd7be;}function _0x1eb39b(_0x33d782,_0x55f292=0x0,_0x2046c7={}){const {leading:_0x46ef1d=!0x0,trailing:_0x5915ad=!0x0}=_0x2046c7;return _0xa307bf(_0x33d782,_0x55f292,{'leading':_0x46ef1d,'maxWait':_0x55f292,'trailing':_0x5915ad});}function _0x5d3349(_0x14ba4c){if(!_0x14ba4c||'object'!=typeof _0x14ba4c)return!0x1;const _0x64f452=Object['getPrototypeOf'](_0x14ba4c);return(null===_0x64f452||_0x64f452===Object['prototype']||null===Object['getPrototypeOf'](_0x64f452))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x14ba4c);}function _0x21ffdc(_0x482b7e){return Object['getOwnPropertySymbols'](_0x482b7e)['filter'](_0x367add=>Object['prototype']['propertyIsEnumerable']['call'](_0x482b7e,_0x367add));}function _0x353c3b(_0x2d33d){return null==_0x2d33d?void 0x0===_0x2d33d?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x2d33d);}const _0x244c1b='[object\x20RegExp]',_0x10f42b='[object\x20String]',_0x2b93d2='[object\x20Number]',_0x5dc7a8='[object\x20Boolean]',_0x2421d0='[object\x20Arguments]',_0x15bd5b='[object\x20Symbol]',_0x3d46f8='[object\x20Date]',_0xbf853='[object\x20Map]',_0x5113bc='[object\x20Set]',_0x6e9b78='[object\x20Array]',_0x2f9bd2='[object\x20ArrayBuffer]',_0x12c33a='[object\x20Object]',_0x3304dd='[object\x20DataView]',tt='[object\x20Uint8Array]',et='[object\x20Uint8ClampedArray]',it='[object\x20Uint16Array]',st='[object\x20Uint32Array]',nt='[object\x20Int8Array]',rt='[object\x20Int16Array]',ot='[object\x20Int32Array]',at='[object\x20Float32Array]',ct='[object\x20Float64Array]';function lt(_0x524fd9,_0x325879){return _0x524fd9===_0x325879||Number['isNaN'](_0x524fd9)&&Number['isNaN'](_0x325879);}function ht(_0x1453cf,_0x471da9,_0x49422d,_0x12bbd4,_0x5b290e,_0x540aad,_0x5df5ee){const _0xf2ead0=_0x5df5ee(_0x1453cf,_0x471da9,_0x49422d,_0x12bbd4,_0x5b290e,_0x540aad);if(void 0x0!==_0xf2ead0)return _0xf2ead0;if(typeof _0x1453cf==typeof _0x471da9)switch(typeof _0x1453cf){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x1453cf===_0x471da9;case'number':return _0x1453cf===_0x471da9||Object['is'](_0x1453cf,_0x471da9);case'object':return ut(_0x1453cf,_0x471da9,_0x540aad,_0x5df5ee);}return ut(_0x1453cf,_0x471da9,_0x540aad,_0x5df5ee);}function ut(_0x3b2f65,_0x2f2aac,_0x466eea,_0x202122){if(Object['is'](_0x3b2f65,_0x2f2aac))return!0x0;let _0x3b06b2=_0x353c3b(_0x3b2f65),_0x1b51a1=_0x353c3b(_0x2f2aac);if('[object\x20Arguments]'===_0x3b06b2&&(_0x3b06b2=_0x12c33a),'[object\x20Arguments]'===_0x1b51a1&&(_0x1b51a1=_0x12c33a),_0x3b06b2!==_0x1b51a1)return!0x1;switch(_0x3b06b2){case _0x10f42b:return _0x3b2f65['toString']()===_0x2f2aac['toString']();case _0x2b93d2:return lt(_0x3b2f65['valueOf'](),_0x2f2aac['valueOf']());case _0x5dc7a8:case _0x3d46f8:case _0x15bd5b:return Object['is'](_0x3b2f65['valueOf'](),_0x2f2aac['valueOf']());case _0x244c1b:return _0x3b2f65['source']===_0x2f2aac['source']&&_0x3b2f65['flags']===_0x2f2aac['flags'];case'[object\x20Function]':return _0x3b2f65===_0x2f2aac;}const _0x54d171=(_0x466eea=_0x466eea??new Map())['get'](_0x3b2f65),_0x3eadb4=_0x466eea['get'](_0x2f2aac);if(null!=_0x54d171&&null!=_0x3eadb4)return _0x54d171===_0x2f2aac;_0x466eea['set'](_0x3b2f65,_0x2f2aac),_0x466eea['set'](_0x2f2aac,_0x3b2f65);try{switch(_0x3b06b2){case _0xbf853:if(_0x3b2f65['size']!==_0x2f2aac['size'])return!0x1;for(const [_0x53e868,_0x588569]of _0x3b2f65['entries']())if(!_0x2f2aac['has'](_0x53e868)||!ht(_0x588569,_0x2f2aac['get'](_0x53e868),_0x53e868,_0x3b2f65,_0x2f2aac,_0x466eea,_0x202122))return!0x1;return!0x0;case _0x5113bc:{if(_0x3b2f65['size']!==_0x2f2aac['size'])return!0x1;const _0x54ef31=Array['from'](_0x3b2f65['values']()),_0x50faf0=Array['from'](_0x2f2aac['values']());for(let _0x544d46=0x0;_0x544d46<_0x54ef31['length'];_0x544d46++){const _0x489c92=_0x54ef31[_0x544d46],_0x40fd3a=_0x50faf0['findIndex'](_0x4b7435=>ht(_0x489c92,_0x4b7435,void 0x0,_0x3b2f65,_0x2f2aac,_0x466eea,_0x202122));if(-0x1===_0x40fd3a)return!0x1;_0x50faf0['splice'](_0x40fd3a,0x1);}return!0x0;}case _0x6e9b78:case tt:case et:case it:case st:case'[object\x20BigUint64Array]':case nt:case rt:case ot:case'[object\x20BigInt64Array]':case at:case ct:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x3b2f65)!==Buffer['isBuffer'](_0x2f2aac))return!0x1;if(_0x3b2f65['length']!==_0x2f2aac['length'])return!0x1;for(let _0xcbc623=0x0;_0xcbc623<_0x3b2f65['length'];_0xcbc623++)if(!ht(_0x3b2f65[_0xcbc623],_0x2f2aac[_0xcbc623],_0xcbc623,_0x3b2f65,_0x2f2aac,_0x466eea,_0x202122))return!0x1;return!0x0;case _0x2f9bd2:return _0x3b2f65['byteLength']===_0x2f2aac['byteLength']&&ut(new Uint8Array(_0x3b2f65),new Uint8Array(_0x2f2aac),_0x466eea,_0x202122);case _0x3304dd:return _0x3b2f65['byteLength']===_0x2f2aac['byteLength']&&_0x3b2f65['byteOffset']===_0x2f2aac['byteOffset']&&ut(new Uint8Array(_0x3b2f65),new Uint8Array(_0x2f2aac),_0x466eea,_0x202122);case'[object\x20Error]':return _0x3b2f65['name']===_0x2f2aac['name']&&_0x3b2f65['message']===_0x2f2aac['message'];case _0x12c33a:{if(!(ut(_0x3b2f65['constructor'],_0x2f2aac['constructor'],_0x466eea,_0x202122)||_0x5d3349(_0x3b2f65)&&_0x5d3349(_0x2f2aac)))return!0x1;const _0x2bb866=[...Object['keys'](_0x3b2f65),..._0x21ffdc(_0x3b2f65)],_0x22320d=[...Object['keys'](_0x2f2aac),..._0x21ffdc(_0x2f2aac)];if(_0x2bb866['length']!==_0x22320d['length'])return!0x1;for(let _0x549d05=0x0;_0x549d05<_0x2bb866['length'];_0x549d05++){const _0x522e3e=_0x2bb866[_0x549d05],_0x3df2b4=_0x3b2f65[_0x522e3e];if(!Object['hasOwn'](_0x2f2aac,_0x522e3e))return!0x1;if(!ht(_0x3df2b4,_0x2f2aac[_0x522e3e],_0x522e3e,_0x3b2f65,_0x2f2aac,_0x466eea,_0x202122))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x466eea['delete'](_0x3b2f65),_0x466eea['delete'](_0x2f2aac);}}function dt(){}function ft(_0x1c8497,_0x2d88c5){return function(_0x393cee,_0x388489,_0x16cfdd){return ht(_0x393cee,_0x388489,void 0x0,void 0x0,void 0x0,void 0x0,_0x16cfdd);}(_0x1c8497,_0x2d88c5,dt);}function mt(_0x43b38f){return ArrayBuffer['isView'](_0x43b38f)&&!(_0x43b38f instanceof DataView);}function pt(_0x502533,_0x13c1d2,_0x5b53e7,_0x2a60e7=new Map(),_0x22c03a=void 0x0){const _0x55f022=_0x22c03a?.(_0x502533,_0x13c1d2,_0x5b53e7,_0x2a60e7);if(void 0x0!==_0x55f022)return _0x55f022;if(function(_0x4226a7){return null==_0x4226a7||'object'!=typeof _0x4226a7&&'function'!=typeof _0x4226a7;}(_0x502533))return _0x502533;if(_0x2a60e7['has'](_0x502533))return _0x2a60e7['get'](_0x502533);if(Array['isArray'](_0x502533)){const _0x5ceaf9=new Array(_0x502533['length']);_0x2a60e7['set'](_0x502533,_0x5ceaf9);for(let _0x1a71d2=0x0;_0x1a71d2<_0x502533['length'];_0x1a71d2++)_0x5ceaf9[_0x1a71d2]=pt(_0x502533[_0x1a71d2],_0x1a71d2,_0x5b53e7,_0x2a60e7,_0x22c03a);return Object['hasOwn'](_0x502533,'index')&&(_0x5ceaf9['index']=_0x502533['index']),Object['hasOwn'](_0x502533,'input')&&(_0x5ceaf9['input']=_0x502533['input']),_0x5ceaf9;}if(_0x502533 instanceof Date)return new Date(_0x502533['getTime']());if(_0x502533 instanceof RegExp){const _0x155cb5=new RegExp(_0x502533['source'],_0x502533['flags']);return _0x155cb5['lastIndex']=_0x502533['lastIndex'],_0x155cb5;}if(_0x502533 instanceof Map){const _0x27de3e=new Map();_0x2a60e7['set'](_0x502533,_0x27de3e);for(const [_0x44a47a,_0x5ae50e]of _0x502533)_0x27de3e['set'](_0x44a47a,pt(_0x5ae50e,_0x44a47a,_0x5b53e7,_0x2a60e7,_0x22c03a));return _0x27de3e;}if(_0x502533 instanceof Set){const _0x1114cb=new Set();_0x2a60e7['set'](_0x502533,_0x1114cb);for(const _0x324ef4 of _0x502533)_0x1114cb['add'](pt(_0x324ef4,void 0x0,_0x5b53e7,_0x2a60e7,_0x22c03a));return _0x1114cb;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x502533))return _0x502533['subarray']();if(mt(_0x502533)){const _0x19339f=new(Object['getPrototypeOf'](_0x502533))['constructor'](_0x502533['length']);_0x2a60e7['set'](_0x502533,_0x19339f);for(let _0x5d4edf=0x0;_0x5d4edf<_0x502533['length'];_0x5d4edf++)_0x19339f[_0x5d4edf]=pt(_0x502533[_0x5d4edf],_0x5d4edf,_0x5b53e7,_0x2a60e7,_0x22c03a);return _0x19339f;}if(_0x502533 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x502533 instanceof SharedArrayBuffer)return _0x502533['slice'](0x0);if(_0x502533 instanceof DataView){const _0x4f4cab=new DataView(_0x502533['buffer']['slice'](0x0),_0x502533['byteOffset'],_0x502533['byteLength']);return _0x2a60e7['set'](_0x502533,_0x4f4cab),gt(_0x4f4cab,_0x502533,_0x5b53e7,_0x2a60e7,_0x22c03a),_0x4f4cab;}if('undefined'!=typeof File&&_0x502533 instanceof File){const _0x58fcd3=new File([_0x502533],_0x502533['name'],{'type':_0x502533['type']});return _0x2a60e7['set'](_0x502533,_0x58fcd3),gt(_0x58fcd3,_0x502533,_0x5b53e7,_0x2a60e7,_0x22c03a),_0x58fcd3;}if('undefined'!=typeof Blob&&_0x502533 instanceof Blob){const _0x23aa61=new Blob([_0x502533],{'type':_0x502533['type']});return _0x2a60e7['set'](_0x502533,_0x23aa61),gt(_0x23aa61,_0x502533,_0x5b53e7,_0x2a60e7,_0x22c03a),_0x23aa61;}if(_0x502533 instanceof Error){const _0x5585ac=structuredClone(_0x502533);return _0x2a60e7['set'](_0x502533,_0x5585ac),_0x5585ac['message']=_0x502533['message'],_0x5585ac['name']=_0x502533['name'],_0x5585ac['stack']=_0x502533['stack'],_0x5585ac['cause']=_0x502533['cause'],_0x5585ac['constructor']=_0x502533['constructor'],gt(_0x5585ac,_0x502533,_0x5b53e7,_0x2a60e7,_0x22c03a),_0x5585ac;}if(_0x502533 instanceof Boolean){const _0x208b1d=new Boolean(_0x502533['valueOf']());return _0x2a60e7['set'](_0x502533,_0x208b1d),gt(_0x208b1d,_0x502533,_0x5b53e7,_0x2a60e7,_0x22c03a),_0x208b1d;}if(_0x502533 instanceof Number){const _0x4c0422=new Number(_0x502533['valueOf']());return _0x2a60e7['set'](_0x502533,_0x4c0422),gt(_0x4c0422,_0x502533,_0x5b53e7,_0x2a60e7,_0x22c03a),_0x4c0422;}if(_0x502533 instanceof String){const _0x23e794=new String(_0x502533['valueOf']());return _0x2a60e7['set'](_0x502533,_0x23e794),gt(_0x23e794,_0x502533,_0x5b53e7,_0x2a60e7,_0x22c03a),_0x23e794;}if('object'==typeof _0x502533&&function(_0x2054f5){switch(_0x353c3b(_0x2054f5)){case _0x2421d0:case _0x6e9b78:case _0x2f9bd2:case _0x3304dd:case _0x5dc7a8:case _0x3d46f8:case at:case ct:case nt:case rt:case ot:case _0xbf853:case _0x2b93d2:case _0x12c33a:case _0x244c1b:case _0x5113bc:case _0x10f42b:case _0x15bd5b:case tt:case et:case it:case st:return!0x0;default:return!0x1;}}(_0x502533)){const _0x36a250=Object['create'](Object['getPrototypeOf'](_0x502533));return _0x2a60e7['set'](_0x502533,_0x36a250),gt(_0x36a250,_0x502533,_0x5b53e7,_0x2a60e7,_0x22c03a),_0x36a250;}return _0x502533;}function gt(_0x550ace,_0x402de5,_0x20c9ba=_0x550ace,_0x155106,_0x179223){const _0x471a14=[...Object['keys'](_0x402de5),..._0x21ffdc(_0x402de5)];for(let _0x514938=0x0;_0x514938<_0x471a14['length'];_0x514938++){const _0x17abf8=_0x471a14[_0x514938],_0x1b7fe1=Object['getOwnPropertyDescriptor'](_0x550ace,_0x17abf8);(null==_0x1b7fe1||_0x1b7fe1['writable'])&&(_0x550ace[_0x17abf8]=pt(_0x402de5[_0x17abf8],_0x17abf8,_0x20c9ba,_0x155106,_0x179223));}}function Ot(_0x47b7c0,_0x35bfb6){return function(_0x560520,_0x27ed41){return pt(_0x560520,void 0x0,_0x560520,new Map(),_0x27ed41);}(_0x47b7c0,(_0x1a1081,_0x4ef88b,_0x4d11a3,_0x292ccb)=>{const _0x44282e=_0x35bfb6?.(_0x1a1081,_0x4ef88b,_0x4d11a3,_0x292ccb);if(void 0x0!==_0x44282e)return _0x44282e;if('object'==typeof _0x47b7c0){if('[object\x20Object]'===_0x353c3b(_0x47b7c0)&&'function'!=typeof _0x47b7c0['constructor']){const _0x171138={};return _0x292ccb['set'](_0x47b7c0,_0x171138),gt(_0x171138,_0x47b7c0,_0x4d11a3,_0x292ccb),_0x171138;}switch(Object['prototype']['toString']['call'](_0x47b7c0)){case _0x2b93d2:case _0x10f42b:case _0x5dc7a8:{const _0x12f4ab=new _0x47b7c0['constructor'](_0x47b7c0?.['valueOf']());return gt(_0x12f4ab,_0x47b7c0),_0x12f4ab;}case _0x2421d0:{const _0x15f3b7={};return gt(_0x15f3b7,_0x47b7c0),_0x15f3b7['length']=_0x47b7c0['length'],_0x15f3b7[Symbol['iterator']]=_0x47b7c0[Symbol['iterator']],_0x15f3b7;}default:return;}}});}function wt(_0x5510ab){return Ot(_0x5510ab);}function bt(_0x2f15b7){return null!=_0x2f15b7&&'function'!=typeof _0x2f15b7&&function(_0x50a1aa){return Number['isSafeInteger'](_0x50a1aa)&&_0x50a1aa>=0x0;}(_0x2f15b7['length']);}function yt(_0xf96c73){return'symbol'==typeof _0xf96c73||_0xf96c73 instanceof Symbol;}function vt(_0x11b953){return _0x11b953?(_0x11b953=function(_0x31214b){return yt(_0x31214b)?NaN:Number(_0x31214b);}(_0x11b953))===0x1/0x0||_0x11b953===-0x1/0x0?(_0x11b953<0x0?-0x1:0x1)*Number['MAX_VALUE']:_0x11b953==_0x11b953?_0x11b953:0x0:0x0===_0x11b953?_0x11b953:0x0;}function _t(_0x3f1537,_0x5e2904){if(_0x3f1537=function(_0x46b028){const _0x295366=vt(_0x46b028),_0x4c5958=_0x295366%0x1;return _0x4c5958?_0x295366-_0x4c5958:_0x295366;}(_0x3f1537),_0x3f1537<0x1||!Number['isSafeInteger'](_0x3f1537))return[];const _0x5c8cbf=new Array(_0x3f1537);for(let _0x20bcc4=0x0;_0x20bcc4<_0x3f1537;_0x20bcc4++)_0x5c8cbf[_0x20bcc4]='function'==typeof _0x5e2904?_0x5e2904(_0x20bcc4):_0x20bcc4;return _0x5c8cbf;}function Et(_0xc021d4){if(null==_0xc021d4)return[];switch(typeof _0xc021d4){case'object':case'function':return bt(_0xc021d4)?function(_0x4892e1){const _0x2083e4=_t(_0x4892e1['length'],_0x42595c=>''+_0x42595c),_0x200043=new Set(_0x2083e4);(function(_0x1441fb){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x1441fb);}(_0x4892e1)&&(_0x200043['add']('offset'),_0x200043['add']('parent')),function(_0x44ead8){return mt(_0x44ead8);}(_0x4892e1)&&(_0x200043['add']('buffer'),_0x200043['add']('byteLength'),_0x200043['add']('byteOffset')));const _0x2d5e77=Tt(_0x4892e1)['filter'](_0x3e10b5=>!_0x200043['has'](_0x3e10b5));return Array['isArray'](_0x4892e1)?[..._0x2083e4,..._0x2d5e77]:[..._0x2083e4['filter'](_0x436374=>Object['hasOwn'](_0x4892e1,_0x436374)),..._0x2d5e77];}(_0xc021d4):function(_0x5e3316){const _0x232e8e=_0x5e3316?.['constructor'];return _0x5e3316===('function'==typeof _0x232e8e?_0x232e8e['prototype']:Object['prototype']);}(_0xc021d4)?function(_0xe2a061){return Tt(_0xe2a061)['filter'](_0x3e0fb4=>'constructor'!==_0x3e0fb4);}(_0xc021d4):Tt(_0xc021d4);default:return Tt(Object(_0xc021d4));}}function Tt(_0x234605){const _0x543096=[];for(const _0xaa5145 in _0x234605)_0x543096['push'](_0xaa5145);return _0x543096;}function At(_0x22168e){return'__proto__'===_0x22168e;}function St(_0x16c4f8){switch(typeof _0x16c4f8){case'number':case'symbol':return!0x1;case'string':return _0x16c4f8['includes']('.')||_0x16c4f8['includes']('[')||_0x16c4f8['includes'](']');}}function It(_0x16ad6a){return'string'==typeof _0x16ad6a||'symbol'==typeof _0x16ad6a?_0x16ad6a:Object['is'](_0x16ad6a?.['valueOf']?.(),-0x0)?'-0':String(_0x16ad6a);}function kt(_0x479697){if(null==_0x479697)return'';if('string'==typeof _0x479697)return _0x479697;if(Array['isArray'](_0x479697))return _0x479697['map'](kt)['join'](',');const _0xba65ab=String(_0x479697);return'0'===_0xba65ab&&Object['is'](Number(_0x479697),-0x0)?'-0':_0xba65ab;}function xt(_0x35ec0d){if(Array['isArray'](_0x35ec0d))return _0x35ec0d['map'](It);if('symbol'==typeof _0x35ec0d)return[_0x35ec0d];const _0x496517=[],_0x1166a7=(_0x35ec0d=kt(_0x35ec0d))['length'];if(0x0===_0x1166a7)return _0x496517;let _0x35b208=0x0,_0x32c256='',_0x3de54c='',_0xab363d=!0x1;for(0x2e===_0x35ec0d['charCodeAt'](0x0)&&(_0x496517['push'](''),_0x35b208++);_0x35b208<_0x1166a7;){const _0x3a34d4=_0x35ec0d[_0x35b208];_0x3de54c?'\x5c'===_0x3a34d4&&_0x35b208+0x1<_0x1166a7?(_0x35b208++,_0x32c256+=_0x35ec0d[_0x35b208]):_0x3a34d4===_0x3de54c?_0x3de54c='':_0x32c256+=_0x3a34d4:_0xab363d?'\x22'===_0x3a34d4||'\x27'===_0x3a34d4?_0x3de54c=_0x3a34d4:']'===_0x3a34d4?(_0xab363d=!0x1,_0x496517['push'](_0x32c256),_0x32c256=''):_0x32c256+=_0x3a34d4:'['===_0x3a34d4?(_0xab363d=!0x0,_0x32c256&&(_0x496517['push'](_0x32c256),_0x32c256='')):'.'===_0x3a34d4?_0x32c256&&(_0x496517['push'](_0x32c256),_0x32c256=''):_0x32c256+=_0x3a34d4,_0x35b208++;}return _0x32c256&&_0x496517['push'](_0x32c256),_0x496517;}function Ct(_0x52a478,_0xf54850,_0x2939dc){if(null==_0x52a478)return _0x2939dc;switch(typeof _0xf54850){case'string':{if(At(_0xf54850))return _0x2939dc;const _0x4fc4b7=_0x52a478[_0xf54850];return void 0x0===_0x4fc4b7?St(_0xf54850)?Ct(_0x52a478,xt(_0xf54850),_0x2939dc):_0x2939dc:_0x4fc4b7;}case'number':case'symbol':{'number'==typeof _0xf54850&&(_0xf54850=It(_0xf54850));const _0x97dce0=_0x52a478[_0xf54850];return void 0x0===_0x97dce0?_0x2939dc:_0x97dce0;}default:{if(Array['isArray'](_0xf54850))return function(_0x5f56db,_0x52e0f8,_0x33f86a){if(0x0===_0x52e0f8['length'])return _0x33f86a;let _0x5ea9f8=_0x5f56db;for(let _0x10eb33=0x0;_0x10eb33<_0x52e0f8['length'];_0x10eb33++){if(null==_0x5ea9f8)return _0x33f86a;if(At(_0x52e0f8[_0x10eb33]))return _0x33f86a;_0x5ea9f8=_0x5ea9f8[_0x52e0f8[_0x10eb33]];}return void 0x0===_0x5ea9f8?_0x33f86a:_0x5ea9f8;}(_0x52a478,_0xf54850,_0x2939dc);if(At(_0xf54850=Object['is'](_0xf54850?.['valueOf'](),-0x0)?'-0':String(_0xf54850)))return _0x2939dc;const _0x340049=_0x52a478[_0xf54850];return void 0x0===_0x340049?_0x2939dc:_0x340049;}}}function Rt(_0x3b8be2,_0x36ec30){if(null==_0x3b8be2)return!0x0;switch(typeof _0x36ec30){case'symbol':case'number':case'object':if(Array['isArray'](_0x36ec30))return Pt(_0x3b8be2,_0x36ec30);if('number'==typeof _0x36ec30?_0x36ec30=It(_0x36ec30):'object'==typeof _0x36ec30&&(_0x36ec30=Object['is'](_0x36ec30?.['valueOf'](),-0x0)?'-0':String(_0x36ec30)),At(_0x36ec30))return!0x1;if(void 0x0===_0x3b8be2?.[_0x36ec30])return!0x0;try{return delete _0x3b8be2[_0x36ec30],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x3b8be2?.[_0x36ec30]&&St(_0x36ec30))return Pt(_0x3b8be2,xt(_0x36ec30));if(At(_0x36ec30))return!0x1;try{return delete _0x3b8be2[_0x36ec30],!0x0;}catch{return!0x1;}}}function Pt(_0x47c8d7,_0x453729){const _0x494f28=0x1===_0x453729['length']?_0x47c8d7:Ct(_0x47c8d7,_0x453729['slice'](0x0,-0x1)),_0x13818e=_0x453729[_0x453729['length']-0x1];if(void 0x0===_0x494f28?.[_0x13818e])return!0x0;if(At(_0x13818e))return!0x1;try{return delete _0x494f28[_0x13818e],!0x0;}catch{return!0x1;}}function Nt(_0x57d9f7){const _0x5be13a=[];for(;_0x57d9f7;)_0x5be13a['push'](..._0x21ffdc(_0x57d9f7)),_0x57d9f7=Object['getPrototypeOf'](_0x57d9f7);return _0x5be13a;}function Mt(_0x152d12){if('object'!=typeof _0x152d12)return!0x1;if(null==_0x152d12)return!0x1;if(null===Object['getPrototypeOf'](_0x152d12))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x152d12)){const _0x4abd26=_0x152d12[Symbol['toStringTag']];return null!=_0x4abd26&&(!!Object['getOwnPropertyDescriptor'](_0x152d12,Symbol['toStringTag'])?.['writable']&&_0x152d12['toString']()==='[object\x20'+_0x4abd26+']');}let _0x2734d5=_0x152d12;for(;null!==Object['getPrototypeOf'](_0x2734d5);)_0x2734d5=Object['getPrototypeOf'](_0x2734d5);return Object['getPrototypeOf'](_0x152d12)===_0x2734d5;}function Lt(_0x41a30a,..._0x25087e){if(null==_0x41a30a)return{};_0x25087e=function(_0x391414,_0xe95465=0x1){const _0x27dcf0=[],_0x2e1bcc=Math['floor'](_0xe95465);if(!bt(_0x391414))return _0x27dcf0;const _0x5dd498=(_0x30d2ef,_0x25ea79)=>{for(let _0x696ffc=0x0;_0x696ffc<_0x30d2ef['length'];_0x696ffc++){const _0x6debb0=_0x30d2ef[_0x696ffc];_0x25ea79<_0x2e1bcc&&(Array['isArray'](_0x6debb0)||Boolean(_0x6debb0?.[Symbol['isConcatSpreadable']])||null!==_0x6debb0&&'object'==typeof _0x6debb0&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0x6debb0))?Array['isArray'](_0x6debb0)?_0x5dd498(_0x6debb0,_0x25ea79+0x1):_0x5dd498(Array['from'](_0x6debb0),_0x25ea79+0x1):_0x27dcf0['push'](_0x6debb0);}};return _0x5dd498(Array['from'](_0x391414),0x0),_0x27dcf0;}(_0x25087e);const _0x3f2f5a=function(_0x11df2a,_0x1228e2){return _0x1228e2['some'](_0x1a8b3c=>Array['isArray'](_0x1a8b3c)||St(_0x1a8b3c))?function(_0x56dc85){const _0xd6fba7={},_0xcb76c=[...Et(_0x56dc85),...Nt(_0x56dc85)];for(let _0x3048b7=0x0;_0x3048b7<_0xcb76c['length'];_0x3048b7++){const _0x448d72=_0xcb76c[_0x3048b7];_0xd6fba7[_0x448d72]=Ot(_0x56dc85[_0x448d72],_0x51f3e1=>{if(!Mt(_0x51f3e1))return _0x51f3e1;});}return _0xd6fba7;}(_0x11df2a):function(_0x5a0401){const _0x5b8f84={},_0x5cec7b=[...Et(_0x5a0401),...Nt(_0x5a0401)];for(let _0x1c7f20=0x0;_0x1c7f20<_0x5cec7b['length'];_0x1c7f20++){const _0x49d73f=_0x5cec7b[_0x1c7f20];_0x5b8f84[_0x49d73f]=_0x5a0401[_0x49d73f];}return _0x5b8f84;}(_0x11df2a);}(_0x41a30a,_0x25087e);for(let _0x148aa4=0x0;_0x148aa4<_0x25087e['length'];_0x148aa4++){let _0x44574e=_0x25087e[_0x148aa4];switch(typeof _0x44574e){case'object':Array['isArray'](_0x44574e)||(_0x44574e=Array['from'](_0x44574e));for(let _0x57734d=0x0;_0x57734d<_0x44574e['length'];_0x57734d++){Rt(_0x3f2f5a,_0x44574e[_0x57734d]);}break;case'string':case'symbol':case'number':Rt(_0x3f2f5a,_0x44574e);}}return _0x3f2f5a;}const $t=(_0xa8ccab,_0x20baf5,_0x21b9fe)=>{const _0x4aa718=_0xa8ccab[_0x20baf5];Object['hasOwn'](_0xa8ccab,_0x20baf5)&&lt(_0x4aa718,_0x21b9fe)&&(void 0x0!==_0x21b9fe||_0x20baf5 in _0xa8ccab)||(_0xa8ccab[_0x20baf5]=_0x21b9fe);},Dt=/^(?:0|[1-9]\d*)$/;function Qt(_0x237c93,_0xaac889=Number['MAX_SAFE_INTEGER']){switch(typeof _0x237c93){case'number':return Number['isInteger'](_0x237c93)&&_0x237c93>=0x0&&_0x237c93<_0xaac889;case'symbol':return!0x1;case'string':return Dt['test'](_0x237c93);}}const jt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ut=/^\w*$/;function Vt(_0x2670a7){return null!==_0x2670a7&&('object'==typeof _0x2670a7||'function'==typeof _0x2670a7);}function Bt(_0x339e4e,_0x5fe920,_0x256733,_0x46570f){if(null==_0x339e4e&&!Vt(_0x339e4e))return _0x339e4e;let _0x354b1a;_0x354b1a=function(_0x2a324a,_0x42db37){return!Array['isArray'](_0x2a324a)&&(!('number'!=typeof _0x2a324a&&'boolean'!=typeof _0x2a324a&&null!=_0x2a324a&&!yt(_0x2a324a))||'string'==typeof _0x2a324a&&(Ut['test'](_0x2a324a)||!jt['test'](_0x2a324a))||null!=_0x42db37&&Object['hasOwn'](_0x42db37,_0x2a324a));}(_0x5fe920,_0x339e4e)?[_0x5fe920]:Array['isArray'](_0x5fe920)?_0x5fe920:xt(_0x5fe920);const _0x5dafbf=_0x256733(Ct(_0x339e4e,_0x354b1a));let _0x5dbf96=_0x339e4e;for(let _0x1eeb9e=0x0;_0x1eeb9e<_0x354b1a['length']&&null!=_0x5dbf96;_0x1eeb9e++){const _0x4ace96=It(_0x354b1a[_0x1eeb9e]);if(At(_0x4ace96))continue;let _0x38a357;if(_0x1eeb9e===_0x354b1a['length']-0x1)_0x38a357=_0x5dafbf;else{const _0x47f085=_0x5dbf96[_0x4ace96],_0x3e914f=_0x46570f?.(_0x47f085,_0x4ace96,_0x339e4e);_0x38a357=void 0x0!==_0x3e914f?_0x3e914f:Vt(_0x47f085)?_0x47f085:Qt(_0x354b1a[_0x1eeb9e+0x1])?[]:{};}$t(_0x5dbf96,_0x4ace96,_0x38a357),_0x5dbf96=_0x5dbf96[_0x4ace96];}return _0x339e4e;}function Ht(_0x37ffa2,_0x4d6e9b,_0x25cf0c){return Bt(_0x37ffa2,_0x4d6e9b,()=>_0x25cf0c,()=>{});}const Ft={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function Zt(_0x379097){return kt(_0x379097)['replace'](/[&<>"']/g,_0x4c55c3=>Ft[_0x4c55c3]);}function Gt(_0x160c11){return function(_0x589f26){return _0x589f26['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(kt(_0x160c11));}const Xt={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function qt(_0x5ae3f2){return function(_0x459024){return _0x459024['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x24a369=>Xt[_0x24a369]||'\x27');}(kt(_0x5ae3f2));}var Wt=class extends _0x491313['ListItemView']{constructor(_0x280472){super();const _0x5e0dc6=new _0x491313['ButtonLabelView'](),_0x4cc0f3=new _0x491313['ButtonView'](this['locale'],_0x5e0dc6);this['children']['add'](_0x4cc0f3),_0x4cc0f3['set']({'label':_0x280472['prompt'],'withText':!0x0}),_0x4cc0f3['on']('execute',()=>{this['fire']('execute',{'value':qt(_0x280472['prompt'])});});}};const zt='CKEditor/AIFormView/PromptHistory';var Yt=class extends _0x491313['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x2b207e,_0x491cfa)=>{const _0x3496d5=Kt(_0x491cfa['prompt']);for(const _0x4eee54 of this)if(_0x4eee54!=_0x491cfa&&Kt(_0x4eee54['prompt'])===_0x3496d5){this['remove'](_0x4eee54);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}_loadFromSessionStorage(){const _0x662c80=sessionStorage['getItem'](zt)||'[]';this['addMany'](JSON['parse'](_0x662c80));}_saveToSessionStorage(){sessionStorage['setItem'](zt,JSON['stringify'](this['map'](_0x5c18be=>_0x5c18be)));}};function Kt(_0x2f361e){return _0x2f361e['toLowerCase']()['trim']();}var Jt=class extends _0x491313['View']{['focusTracker'];keystrokes;contentArea;toolbar;promptView;['errorView'];['_focusables'];['focusCycler'];_promptHistory;constructor(_0x4e0e50,_0x47de54,_0xdc41bb=''){super(_0x4e0e50),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',_0x2d8a7f['REPLACE']),this['_promptHistory']=new Yt(),this['errorView']=new _0x585a53(_0x4e0e50),this['contentArea']=new _0x5c2c2b(_0x4e0e50,_0xdc41bb),this['contentArea']['bind']('isProcessing')['to'](this),this['contentArea']['bind']('value')['to'](this),this['toolbar']=this['_createToolbar'](),this['toolbar']['bind']('mainAction')['to'](this),this['promptView']=this['_createPromptView'](),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['focusCycler']['chain'](this['promptView']['focusCycler']),this['promptView']['queryView']['fieldView']['bind']('value')['to'](this,'prompt');const _0x1273c4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x47de54],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x1273c4['if']('isError','ck-hidden',_0x329a51=>!_0x329a51)]},'children':[this['errorView']]},this['contentArea'],this['toolbar'],this['promptView']]}]});}['render'](){super['render'](),this['focusTracker']['add'](this['contentArea']['element']),this['focusTracker']['add'](this['contentArea']['copyButtonView']['element']),this['focusTracker']['add'](this['toolbar']['element']),this['focusTracker']['add'](this['promptView']['element']),this['keystrokes']['listenTo'](this['element']);}['focus'](_0x43797b=0x1){-0x1===_0x43797b?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}reset(){this['prompt']='',this['value']='',this['isError']=!0x1,this['promptView']['reset'](),this['contentArea']['isVisible']=!0x1,this['toolbar']['isVisible']=!0x1;}_createPromptView(){const _0x5b8287=this['locale'],_0x575596=new _0x9a22d6(_0x5b8287,{'queryView':{'label':_0x4d4eec(_0x5b8287,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0x491313['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4d4eec(_0x5b8287,'Empty\x20history'),'secondary':_0x4d4eec(_0x5b8287,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x575596['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x48580f,_0x533f53)=>_0x48580f&&!_0x533f53),this['listenTo'](_0x575596,'submit',(_0x4b3ebe,_0x1d72be)=>{this['prompt']=_0x1d72be;const _0x40a635=Zt(_0x1d72be);this['fire']('submitPrompt',_0x40a635),_0x1d72be['trim']()&&this['_promptHistory']['add']({'prompt':_0x40a635},0x0);},{'priority':'high'}),_0x575596;}_createHistoryView(){const _0x3bf036=new _0x18ed46(this['locale']);return _0x3bf036['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](Wt),_0x3bf036['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x3bf036;}_createToolbar(){const _0x3dee9c=new _0x226f9e(this['locale']);return _0x3dee9c['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x578478,_0x1c29c3,_0x601989)=>_0x578478&&!_0x1c29c3&&!!_0x601989),_0x3dee9c['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x3dee9c['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x27f3e7,_0x409f5d,_0x3c712f)=>_0x27f3e7&&!_0x409f5d&&!!_0x3c712f),_0x3dee9c['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x3dee9c['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0xa9d4a1,_0x3d9c09)=>_0xa9d4a1&&!_0x3d9c09),_0x3dee9c['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x3dee9c['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x3dee9c['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x3dee9c;}startProcessing(){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x29087a=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=_0x4d4eec(_0x29087a,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x1e2b30){const _0x1720b2=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x1e2b30||_0x4d4eec(_0x1720b2,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}};const te=globalThis['DataTransfer'];var _0x226b45=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;['_dialog'];['_formView'];_aiAdapter;_aiAssistantController;['_uiCssClasses']='';static get['pluginName'](){return'AIAssistantUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['ClipboardMarkersUtils'],_0xb2f162,_0x25dd35,_0x491313['Dialog']];}constructor(_0x59538f){super(_0x59538f),_0x59538f['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x59538f['config']['define']('ai.assistant.contentAreaCssClass',''),_0x59538f['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x59538f['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}init(){const {editor:_0x48d8f0}=this;this['_aiAdapter']=_0x48d8f0['plugins']['get'](_0x25dd35),this['_dialog']=_0x48d8f0['plugins']['get'](_0x491313['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x39bd9d=new _0x4b25ad(_0x48d8f0,Array['from'](this['_commandDefinitions']['values']()));_0x48d8f0['commands']['add']('showAIAssistant',_0x39bd9d),_0x48d8f0['ui']['componentFactory']['add']('aiCommands',_0x2d0c04=>{const _0xc91e12=(0x0,_0x491313['createDropdown'])(_0x2d0c04);return _0xc91e12['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0xc91e12['buttonView']['set']({'label':_0x4d4eec(_0x2d0c04,'AI\x20Commands'),'icon':_0x491313['IconMagicWand'],'tooltip':!0x0}),_0xc91e12['on']('execute',_0x3e220e=>this['_onExecute'](_0x3e220e['source']['id'])),(0x0,_0x491313['addMenuToDropdown'])(_0xc91e12,_0x48d8f0['ui']['view']['body'],function(_0x1c68ca){const _0x98726c=_0x3245c1(_0x1c68ca,_0x522a2a(_0x1c68ca['config']['get']('ai.assistant.commands'),_0x1c68ca['locale']))['filter'](_0x32a58c=>_0x32a58c['commands']['length']);return 0x1===_0x98726c['length']?_0x3245c1(_0x1c68ca,_0x98726c[0x0]['commands'])['map'](_0x3a1304=>({'id':_0x3a1304['id'],'label':_0x3a1304['label']})):_0x98726c['map'](_0x1cee86=>{const {groupId:_0x4a8b6b,groupLabel:_0x21f88e,commands:_0x62e6a8}=_0x1cee86,_0xf6e284=_0x3245c1(_0x1c68ca,_0x62e6a8)['map'](_0xc4e8f=>({'id':_0xc4e8f['id'],'label':_0xc4e8f['label']}));return{'id':_0x4a8b6b,'menu':_0x21f88e||_0x4a8b6b,'children':_0xf6e284};});}(_0x48d8f0),{'ariaLabel':_0x4d4eec(_0x2d0c04,'AI\x20Commands')}),_0xc91e12['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x39bd9d['on']('change:enabledCommandsIds',_0x4c5bc8),_0xc91e12['menuView']['once']('render',_0x4c5bc8),_0xc91e12;function _0x4c5bc8(){_0xc91e12['isEnabled']=_0x39bd9d['enabledCommandsIds']['length']>0x0;for(const _0x2cad0e of _0xc91e12['menuView']['buttons'])_0x2cad0e['isEnabled']=_0x39bd9d['enabledCommandsIds']['includes'](_0x2cad0e['id']);}}),_0x48d8f0['ui']['componentFactory']['add']('menuBar:aiCommands',_0xa9eeb6=>{const _0x2d37d6=new _0x491313['MenuBarMenuView'](_0xa9eeb6);_0x2d37d6['buttonView']['set']({'label':_0x4d4eec(_0xa9eeb6,'AI\x20Commands'),'icon':_0x491313['IconMagicWand']}),_0x2d37d6['bind']('isEnabled')['to'](_0x39bd9d,'enabledCommandsIds',_0x38188a=>_0x38188a['length']>0x0);const _0xcea0f8=_0x522a2a(_0x48d8f0['config']['get']('ai.assistant.commands'),_0xa9eeb6);return this['_populateMenuBarMenu'](_0x39bd9d,_0x2d37d6,_0xcea0f8,_0x320b0b=>this['_onExecute'](_0x320b0b)),_0x2d37d6;}),_0x48d8f0['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x3aaaf9=this['_createAIAssistantUIButton'](_0x491313['ButtonView']);return _0x3aaaf9['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x3aaaf9;}),_0x48d8f0['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x37eeca=this['_createAIAssistantUIButton'](_0x491313['MenuBarMenuListItemButtonView']);return _0x37eeca['set']({'role':'menuitemcheckbox'}),_0x37eeca;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x48fff7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a306f;for(const _0x1d0db0 in _0x48fff7){const _0x3e4ac6=_0x1d0db0,_0x16779d=_0x48fff7[_0x3e4ac6];if('aiLicenseKeyValid'==_0x16779d||'aiLicenseKeyInvalid'==_0x16779d||'aiLicenseKeyExpired'==_0x16779d||'aiLicenseKeyDomainLimit'==_0x16779d||'aiLicenseKeyNotAllowed'==_0x16779d||'aiLicenseKeyEvaluationLimit'==_0x16779d||'aiLicenseKeyUsageLimit'==_0x16779d){delete _0x48fff7[_0x3e4ac6],_0x5a306f=_0x16779d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x5a306f&&_0x48fff7['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x5a306f&&_0x48fff7['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x5a306f&&_0x48fff7['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x5a306f&&_0x48fff7['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x5a306f&&_0x48fff7['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x5a306f&&_0x48fff7['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x43359='',_0x1f079f='',_0x2f07b1='custom'){const _0x5dbe38=this['editor'],_0x58d24a=_0x5dbe38['editing']['view'],_0x1e6686=_0x5dbe38['plugins']['get'](_0xb2f162),_0x159713=_0x5dbe38['plugins']['get'](_0x491313['ClipboardMarkersUtils']);_0x1e6686['showFakeVisualSelection']();const _0x190e96=new te(),_0x48f7d7=new ClipboardEvent('copy',{'clipboardData':_0x190e96}),_0x21b6c1=new _0x491313['ViewDataTransfer'](_0x190e96),_0x259710=new _0x491313['ViewDocumentDomEventData'](_0x58d24a,_0x48f7d7,{'dataTransfer':_0x21b6c1});_0x159713['_forceMarkersCopy']('comment',()=>{_0x58d24a['document']['fire']('copy',_0x259710);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new _0x196aa1(_0x5dbe38,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x4a9330=_0x21b6c1['getData']('text/html');const _0xbb88f6=_0x5dbe38['model']['document']['selection'],_0x25410b=Array['from'](_0xbb88f6['getRanges']());0x1===_0x25410b['length']&&_0x25410b[0x0]['isFlat']&&!_0xbb88f6['getSelectedElement']()&&''!==_0x4a9330['replace'](/&nbsp;/g,'')['trim']()&&(_0x4a9330='<p>'+_0x4a9330+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x2f07b1,'query':_0x43359,'htmlContent':_0x4a9330,'label':_0x1f079f,'mainActionLabel':_0x2d8a7f[_0x5dbe38['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0x491313['IconRobotPencil'],'title':_0x4d4eec(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0x491313['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x1e6686['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}_getResolvedCommandsDefinitions(){const _0x3e8498=new Map(),_0xb8dc69=_0x522a2a(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x4bcb9b of _0xb8dc69)for(const _0x3b5bf6 of _0x4bcb9b['commands'])_0x3e8498['set'](_0x3b5bf6['id'],{..._0x3b5bf6,'groupId':_0x4bcb9b['groupId'],'groupLabel':_0x4bcb9b['groupLabel']||_0x4bcb9b['groupId']});return _0x3e8498;}_createAIAssistantUIButton(_0xf9da0e){const _0x1af37f=this['editor'],_0xdc3f91=_0x1af37f['commands']['get']('showAIAssistant'),_0x3a0ece=new _0xf9da0e(_0x1af37f['locale']);return _0x3a0ece['set']({'label':_0x4d4eec(_0x1af37f['locale'],'AI\x20Assistant'),'icon':_0x491313['IconRobotPencil'],'isToggleable':!0x0}),_0x3a0ece['bind']('isEnabled')['to'](_0xdc3f91),_0x3a0ece['bind']('isOn')['to'](this['_dialog'],'id',_0x5d8c91=>'aiAssistant'===_0x5d8c91),this['listenTo'](_0x3a0ece,'execute',()=>{_0x3a0ece['isOn']?this['hideUI']():_0xdc3f91['execute']();}),_0x3a0ece;}_initView(){const _0x5be9b8=this['editor']['plugins']['get'](_0xb2f162);this['_formView']=new Jt(this['editor']['locale'],this['_uiCssClasses'],this['editor']['config']['get']('ai.assistant.contentAreaCssClass')),this['_formView']['on']('change:value',()=>{this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}),this['_formView']['promptView']['queryView']['fieldView']['on']('update',()=>{this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}),this['listenTo'](this['_formView'],'replaceContent',()=>{_0x5be9b8['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x5be9b8['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}_initAriaAiStatusChangeAnnouncements(){const {locale:_0x521fd4,ui:{ariaLiveAnnouncer:_0x470355}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x39ebfe,_0xe2dd8c,_0x3f8c79)=>{const _0x356c2b=this['_aiAssistantController']['currentContext'];_0x3f8c79?_0x470355['announce'](_0x4d4eec(_0x521fd4,'AI\x20is\x20writing')):_0x356c2b&&_0x470355['announce'](_0x4d4eec(_0x521fd4,'Generated\x20content:\x20%0',_0x356c2b),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x1b6f1c,_0x172b6f,_0x57bc9d)=>{if(_0x57bc9d){const _0x25e11a=this['_formView']['errorView']['text'];_0x470355['announce'](_0x4d4eec(_0x521fd4,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x25e11a));}});}_onExecute(_0xdbf338){const _0x5eedd1=this['_commandDefinitions']['get'](_0xdbf338),_0xd2e2d1=this['editor'],_0x3a2091=_0xd2e2d1['model']['document']['selection'],_0x126e6c=_0xd2e2d1['commands']['get']('showAIAssistant'),_0x218901=_0xd2e2d1['plugins']['get'](_0xb2f162),_0x24450c=''+('_ungrouppedCommands'!==_0x5eedd1['groupId']?_0x5eedd1['groupLabel']+':\x20':'')+_0x5eedd1['label'];if(!0x1!==_0x5eedd1['requiresContent']&&_0x3a2091['isCollapsed']){const _0x2d731f=(0x0,_0x491313['first'])(_0x3a2091['getSelectedBlocks']())||_0xd2e2d1['model']['schema']['getLimitElement'](_0x3a2091);_0xd2e2d1['model']['change'](_0x97ba89=>{_0x97ba89['setSelection'](_0x2d731f,'in');});}_0x218901['showFakeVisualSelection'](),_0x126e6c['execute'](_0x5eedd1['prompt'],_0x24450c,'command:'+_0xdbf338);}_populateMenuBarMenu(_0x28410e,_0x4682e4,_0x3f39b6,_0x116feb){const _0x11fb48=this['editor'],_0x3ee25e=_0x11fb48['locale'],_0x1c415f=new _0x491313['MenuBarMenuListView'](_0x3ee25e),_0x55de71=_0x3245c1(_0x11fb48,_0x3f39b6)['filter'](_0x25fa2d=>_0x25fa2d['commands']['length']);0x1===_0x55de71['length']?this['_getMenuBarGroupButtons']({'command':_0x28410e,'commands':_0x55de71[0x0]['commands'],'parentMenuView':_0x4682e4,'onExecute':_0x116feb})['forEach'](_0x1d3adc=>_0x1c415f['items']['add'](_0x1d3adc)):_0x55de71['forEach'](({groupId:_0x547b0f,groupLabel:_0x1b4338,commands:_0x11835b})=>{const _0x4ba593=new _0x491313['MenuBarMenuListItemView'](_0x3ee25e,_0x4682e4),_0x4873ac=new _0x491313['MenuBarMenuView'](_0x3ee25e),_0x27db77=new _0x491313['MenuBarMenuListView'](_0x3ee25e),_0x22c9f2=this['_getMenuBarGroupButtons']({'command':_0x28410e,'commands':_0x11835b,'parentMenuView':_0x4873ac,'onExecute':_0x116feb});_0x4873ac['buttonView']['set']({'label':_0x1b4338||_0x547b0f}),_0x4873ac['delegate']('execute')['to'](_0x4682e4),_0x27db77['items']['addMany'](_0x22c9f2),_0x4873ac['panelView']['children']['add'](_0x27db77),_0x4ba593['children']['add'](_0x4873ac),_0x1c415f['items']['add'](_0x4ba593);}),_0x4682e4['panelView']['children']['add'](_0x1c415f);}_getMenuBarGroupButtons({command:_0x572d6a,commands:_0x359ada,parentMenuView:_0x13a0cc,onExecute:_0x3859f3}){const _0x507abb=this['editor'],_0x5f0656=_0x507abb['locale'];return _0x3245c1(_0x507abb,_0x359ada)['map'](_0x2fd26d=>{const _0x33cf6f=new _0x491313['MenuBarMenuListItemView'](_0x5f0656,_0x13a0cc),_0x45d955=new _0x491313['MenuBarMenuListItemButtonView'](_0x5f0656);return _0x45d955['set']({'label':_0x2fd26d['label']}),_0x45d955['delegate']('execute')['to'](_0x13a0cc),_0x45d955['on']('execute',()=>_0x3859f3(_0x2fd26d['id'])),_0x45d955['bind']('isEnabled')['to'](_0x572d6a,'enabledCommandsIds',_0x1428df=>_0x1428df['includes'](_0x2fd26d['id'])),_0x33cf6f['children']['add'](_0x45d955),_0x33cf6f;});}};function _0x333ba9(_0x42d4ce,_0x220cdb){return void 0x0!==_0x42d4ce['order']&&void 0x0===_0x220cdb['order']?0x1:void 0x0===_0x42d4ce['order']&&void 0x0!==_0x220cdb['order']?-0x1:void 0x0!==_0x42d4ce['order']&&void 0x0!==_0x220cdb['order']?_0x42d4ce['order']-_0x220cdb['order']:0x0;}function _0x3245c1(_0xfa9a6f,_0x33e1a3){_0x33e1a3['sort'](_0x333ba9);const _0x5414f5={},_0x37c0de=[];for(const _0x146688 of _0x33e1a3)if(void 0x0!==_0x146688['order']){if(_0x146688['order']in _0x5414f5)throw new _0x491313['CKEditorError']('ai-commands-config-order-collision',_0xfa9a6f,{'conflictingDefinitions':[_0x146688,_0x5414f5[_0x146688['order']]]});_0x5414f5[_0x146688['order']]=_0x146688,_0x37c0de['splice'](_0x146688['order'],0x0,_0x146688);}else _0x37c0de['push'](_0x146688);return _0x37c0de;}var _0x22bbc5=class extends _0x491313['Plugin']{static get requires(){return[_0x226b45,_0xb2f162];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5867df){super(_0x5867df);const _0x4c8169=_0x5867df['config'],_0x2a1223=_0x5867df['locale'];_0x4c8169['define']('ai.assistant.preserveComments',!0x0),_0x4c8169['define']('ai.assistant.commands',_0x58b0cb(_0x2a1223)),_0x4c8169['define']('ai.assistant.extraCommandGroups',[]),_0x4c8169['define']('ai.assistant.removeCommands',[]);let _0xdbcf54=_0x522a2a(_0x4c8169['get']('ai.assistant.commands'),_0x2a1223);const _0x52826b=_0x4c8169['get']('ai.assistant.extraCommandGroups'),_0x2c6b02=_0x4c8169['get']('ai.assistant.removeCommands');_0x52826b['forEach'](_0x4129da=>{const _0x52b4ee=_0xdbcf54['find'](_0x14b12b=>_0x14b12b['groupId']===_0x4129da['groupId']);_0x52b4ee?_0x52b4ee['commands']=_0x52b4ee['commands']['concat'](_0x4129da['commands']):_0xdbcf54['push'](_0x4129da);}),_0xdbcf54=_0xdbcf54['filter'](_0x114f1f=>!_0x2c6b02['includes'](_0x114f1f['groupId'])),_0xdbcf54['forEach'](_0x58628e=>{_0x58628e['commands']=_0x58628e['commands']['filter'](_0x3f1c2b=>!_0x2c6b02['includes'](_0x3f1c2b['id']));}),_0x4c8169['set']('ai.assistant.commands',_0xdbcf54);}};function _0x58b0cb(_0xdcef38){return[{'groupId':'editOrReview','groupLabel':_0x4d4eec(_0xdcef38,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':_0x4d4eec(_0xdcef38,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':_0x4d4eec(_0xdcef38,'Make\x20shorter'),'prompt':'Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.'},{'id':'makeLonger','label':_0x4d4eec(_0xdcef38,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':_0x4d4eec(_0xdcef38,'Simplify\x20language'),'prompt':'Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.'}]},{'groupId':'generate','groupLabel':_0x4d4eec(_0xdcef38,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':_0x4d4eec(_0xdcef38,'Summarize'),'prompt':'Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.'},{'id':'continue','label':_0x4d4eec(_0xdcef38,'Continue'),'prompt':'Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.'}]},{'groupId':'changeTone','groupLabel':_0x4d4eec(_0xdcef38,'Change\x20tone'),'commands':[{'id':'professional','label':_0x4d4eec(_0xdcef38,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':_0x4d4eec(_0xdcef38,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':_0x4d4eec(_0xdcef38,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':_0x4d4eec(_0xdcef38,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':_0x4d4eec(_0xdcef38,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':_0x4d4eec(_0xdcef38,'Change\x20style'),'commands':[{'id':'business','label':_0x4d4eec(_0xdcef38,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':_0x4d4eec(_0xdcef38,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':_0x4d4eec(_0xdcef38,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':_0x4d4eec(_0xdcef38,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':_0x4d4eec(_0xdcef38,'Translate'),'commands':[{'id':'translateEnglish','label':_0x4d4eec(_0xdcef38,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':_0x4d4eec(_0xdcef38,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':_0x4d4eec(_0xdcef38,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':_0x4d4eec(_0xdcef38,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':_0x4d4eec(_0xdcef38,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':_0x4d4eec(_0xdcef38,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':_0x4d4eec(_0xdcef38,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':_0x4d4eec(_0xdcef38,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}var _0x69a2f2=class extends _0x491313['Plugin']{abortController;static get requires(){return[_0x25dd35];}constructor(_0x471d3e){super(_0x471d3e),this['abortController']=new AbortController();}init(){this['editor']['plugins']['get'](_0x25dd35)['textAdapter']=this;}abort(){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async makeRequest(_0x1bec45){return this['sendRequest'](_0x1bec45)['catch'](_0x1fe9b4=>{if(_0x1fe9b4 instanceof _0xd88647)return Promise['reject'](_0x1fe9b4);if('AbortError'==_0x1fe9b4['name'])return Promise['resolve']();throw console['error'](_0x1fe9b4),new _0x491313['CKEditorError']('aitextadapter-send-request-failed',null);});}async _prepareRequestHeaders(_0x21ef38,_0x40a359){const _0x4a5fc1=this['editor']['locale'],_0x4e5299={'Content-Type':'application/json'};if('object'==typeof _0x21ef38)Object['assign'](_0x4e5299,_0x21ef38);else{if(_0x21ef38)try{const _0x4ece48=await _0x21ef38(_0x40a359);Object['assign'](_0x4e5299,_0x4ece48);}catch{return Promise['reject'](new _0xd88647(_0x4d4eec(_0x4a5fc1,'AI_ERROR_GET_HEADERS')));}}return _0x4e5299;}async _prepareRequestParameters(_0x8a93f4,_0x1fb13e){const _0x43b164=this['editor']['locale'];if('object'==typeof _0x8a93f4)return _0x8a93f4;try{return await _0x8a93f4(_0x1fb13e);}catch{return Promise['reject'](new _0xd88647(_0x4d4eec(_0x43b164,'AI_ERROR_GET_PARAMETERS')));}}},_0x1fc61d=class extends _0x491313['ButtonView']{constructor(_0x2d0878,_0x445319={}){super(_0x2d0878),this['isToggleable']=!0x0,this['set']('side',_0x445319['side']||'top');const _0x3b5e72=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...(0x0,_0x491313['toArray'])(_0x445319['class']||[]),_0x3b5e72['to']('side',_0x3b75ea=>'ck-tab-button_'+_0x3b75ea),_0x3b5e72['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}},_0x1e2629=class extends _0x491313['View']{['children'];constructor(_0x344ca0,_0x2f20f8={}){super(_0x344ca0);const _0x3611ec=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-tab-panel',...(0x0,_0x491313['toArray'])(_0x2f20f8['class']||[]),_0x3611ec['to']('class'),_0x3611ec['if']('isVisible','ck-hidden',_0x43a10a=>!_0x43a10a)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}},_0x9fc37=class extends _0x491313['View']{buttonViews=this['createCollection']();['panelViews']=this['createCollection']();_tabs=new Map();constructor(_0x105988,_0x44381a={}){super(_0x105988),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x44381a['side']||'top'),this['set']('isMaximized',!0x1),this['set']('collapsible',_0x44381a['collapsible']||!0x1),this['set']('isCollapsed',!0x1),this['set']('_isMaximizedActive',!0x1),this['bind']('_isMaximizedActive')['to'](this,'isMaximized',this,'isCollapsed',(_0x2ea7ec,_0x1a7449)=>_0x2ea7ec&&!_0x1a7449);const _0x2a2c25=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...(0x0,_0x491313['toArray'])(_0x44381a['class']||[]),_0x2a2c25['to']('side',_0x594c9f=>'ck-tabs_'+_0x594c9f),_0x2a2c25['to']('class'),_0x2a2c25['if']('_isMaximizedActive','ck-ai-tabs_maximized'),_0x2a2c25['if']('isCollapsed','ck-ai-tabs_collapsed')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x2a2c25['to']('side',_0x3a7a34=>'ck-tabs__buttons-container_'+_0x3a7a34)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x2a2c25['to']('side',_0x24fca2=>'ck-tabs__panels-container_'+_0x24fca2)]},'children':this['panelViews']},...(0x0,_0x491313['toArray'])(_0x44381a['children']||[])]});}getTabIds(){return[...this['_tabs']['keys']()];}getTab(_0x3b7f2a){const _0x5cbb16=this['_tabs']['get'](_0x3b7f2a);return _0x5cbb16||null;}['addTab'](_0x438454){const _0x29d667=this['_setupButton']({'id':_0x438454['id'],'label':_0x438454['buttonLabel'],'icon':_0x438454['buttonIcon'],'order':_0x438454['order']}),_0x490a9a=new _0x1e2629(this['locale']);return _0x490a9a['render'](),_0x438454['content']&&_0x490a9a['children']['add'](_0x438454['content']),this['panelViews']['add'](_0x490a9a),this['_tabs']['set'](_0x438454['id'],{'button':_0x29d667,'panel':_0x490a9a,'order':void 0x0!==_0x438454['order']?_0x438454['order']:null}),this['fire']('addTab:'+_0x438454['id'],{'id':_0x438454['id'],'button':_0x29d667,'panel':_0x490a9a}),null===this['activeTab']?this['activateTab'](_0x438454['id']):this['_hidePanel'](_0x438454['id']),{'button':_0x29d667,'panel':_0x490a9a};}activateTab(_0x5e70fd){if(null!==_0x5e70fd&&!this['getTab'](_0x5e70fd))throw new _0x491313['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x5e70fd});if(this['isCollapsed']=!0x1,this['activeTab']===_0x5e70fd)return;const _0x3956dd=this['activeTab'];this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x5e70fd,_0x5e70fd&&this['_showPanel'](_0x5e70fd),this['fire']('activateTab:'+_0x5e70fd,{'newTab':_0x5e70fd,'oldTab':_0x3956dd});}toggleTabPanel(_0x25d3af){this['activeTab']===_0x25d3af?this['collapsible']&&(this['isCollapsed']=!this['isCollapsed']):this['activateTab'](_0x25d3af);}['showTab'](_0xdd4844){if(!this['getTab'](_0xdd4844))throw new _0x491313['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0xdd4844});this['_showPanel'](_0xdd4844),this['_showButton'](_0xdd4844),this['fire']('show:'+_0xdd4844,_0xdd4844);}['hideTab'](_0x2cf1fa){if(!this['getTab'](_0x2cf1fa))throw new _0x491313['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2cf1fa});const _0x253839=this['activeTab'];this['_hidePanel'](_0x2cf1fa),this['_hideButton'](_0x2cf1fa);const _0x4c6657=this['getTabIds']();_0x253839===_0x2cf1fa&&_0x4c6657['length']>0x1&&this['activateTab'](_0x4c6657['find'](_0x1a7c19=>_0x1a7c19!==_0x2cf1fa)),this['fire']('hide:'+_0x2cf1fa,_0x2cf1fa);}_getPanel(_0x53cf3a){const _0x17f094=this['_tabs']['get'](_0x53cf3a);return _0x17f094?_0x17f094['panel']:null;}['_showPanel'](_0x410fd){null!==this['activeTab']&&this['activeTab']!==_0x410fd||this['_getPanel'](_0x410fd)['show']();}['_hidePanel'](_0x3e736d){const _0x36c592=this['_getPanel'](_0x3e736d);_0x36c592['isVisible']&&(this['activeTab']===_0x3e736d&&(this['activeTab']=null),_0x36c592['hide']());}_getButton(_0x373620){const _0x556509=this['_tabs']['get'](_0x373620);return _0x556509?_0x556509['button']:null;}_showButton(_0x37d27b){this['_getButton'](_0x37d27b)['show']();}_hideButton(_0x1e5618){this['_getButton'](_0x1e5618)['hide']();}_setupButton(_0x394665){const _0x107ab2=new _0x1fc61d(this['locale'],{'side':this['side']}),_0x10ba19=this['buttonViews'];if(_0x107ab2['set']({'label':_0x394665['label'],'icon':_0x394665['icon'],'tooltip':!0x0,'withText':!0x0}),_0x107ab2['bind']('isOn')['to'](this,'activeTab',this,'isCollapsed',(_0x588890,_0x108d79)=>_0x588890===_0x394665['id']&&!_0x108d79),_0x107ab2['bind']('side')['to'](this,'side'),_0x394665['order']){const _0x13a798=[...this['_tabs']]['reduce']((_0xad2fe2,_0x113f25)=>{const _0x4f845f=_0x113f25[0x0],{order:_0x591455}=_0x113f25[0x1];return!_0x591455||_0x591455>_0x394665['order']?_0xad2fe2:_0x591455>=_0xad2fe2['order']?{'id':_0x4f845f,'order':_0x591455}:_0xad2fe2;},{'id':'','order':0x0}),_0x617dbb=_0x10ba19['getIndex'](this['_getButton'](_0x13a798['id']));_0x10ba19['add'](_0x107ab2,_0x617dbb+0x1);}else _0x10ba19['add'](_0x107ab2);return _0x107ab2['on']('execute',()=>{this['toggleTabPanel'](_0x394665['id']);}),_0x107ab2;}};const _0x142542=['overlay','sidebar','custom'],_0x2dcbcd=['left','right'];var _0x4ca785=class extends _0x9fc37{constructor(_0x48c20d,_0x54cd50={}){super(_0x48c20d,_0x54cd50),this['set']('type',_0x54cd50['type']||'sidebar'),this['set']('side',_0x54cd50['side']||'right'),this['set']('isVisible',_0x54cd50['visibleByDefault']??!0x0);const _0x49d9a0=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x49d9a0['if']('type','ck-ai-tabs__overlay',_0x2478ec=>'overlay'===_0x2478ec),_0x49d9a0['if']('type','ck-ai-tabs__sidebar',_0x1bf004=>'sidebar'===_0x1bf004),_0x49d9a0['if']('isVisible','ck-hidden',_0x31a384=>!_0x31a384)]}}),this['buttonViews']['on']('add',(_0x5d66e4,_0x4ee758)=>{_0x4ee758['set']('withText',!0x1);});}},_0x448179=class extends _0x491313['ContextPlugin']{['view'];container=null;showResizeButton=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x7b4ffb){if(super(_0x7b4ffb),!this['context']['config']['get']('ai.container'))throw new _0x491313['CKEditorError']('ai-tabs-configuration-not-found');this['context']['config']['define']('ai.container.visibleByDefault',!0x0),this['context']['config']['define']('ai.container.collapsible',!0x1);const _0x2e9e7c=this['context']['config']['get']('ai.container');if(this['set']('side','right'),void 0x0!==_0x2e9e7c['showResizeButton']&&(this['showResizeButton']=_0x2e9e7c['showResizeButton']),'sidebar'!==_0x2e9e7c['type']&&'overlay'!==_0x2e9e7c['type']||_0x2e9e7c['side']&&(this['side']=_0x2e9e7c['side']),'sidebar'===_0x2e9e7c['type']){if(this['container']=_0x2e9e7c['element'],this['set']('type','sidebar'),!this['container'])throw new _0x491313['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x2e9e7c['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x4ca785(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':_0x2e9e7c['visibleByDefault'],'collapsible':_0x2e9e7c['collapsible']}),this['view']['render'](),this['view']['bind']('side')['to'](this,'side'),this['view']['bind']('type')['to'](this,'type'),this['container']&&this['container']['appendChild'](this['view']['element']),this['context']instanceof _0x491313['Editor']&&this['context']['ui']['focusTracker']['add'](this['view']['element']),this['listenTo'](this,'resizeTabs',()=>{this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);});}switchType(_0x2d70bc){if(_0x2d70bc&&this['type']!==_0x2d70bc){if(!_0x142542['includes'](_0x2d70bc))throw new _0x491313['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x2d70bc;}}switchSide(_0x10e7d3){if(_0x10e7d3&&this['side']!==_0x10e7d3){if(!_0x2dcbcd['includes'](_0x10e7d3))throw new _0x491313['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x10e7d3;}}destroy(){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}},_0x19b4d0=class extends Error{constructor(_0x4555fb,_0x24d066){super(_0x4555fb),this['name']='ParseError',this['type']=_0x24d066['type'],this['field']=_0x24d066['field'],this['value']=_0x24d066['value'],this['line']=_0x24d066['line'];}};function _0x102fc8(_0xea95aa){}function _0x1b2836(_0x197e4a){if('function'==typeof _0x197e4a)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x485432=_0x102fc8,onError:_0x4e3ca6=_0x102fc8,onRetry:_0x66395e=_0x102fc8,onComment:_0x40b1a8}=_0x197e4a;let _0x704410,_0x160155='',_0x20bf6e=!0x0,_0x187cbe='',_0x25637a='';function _0x320cbe(_0x51fcd5){if(''===_0x51fcd5)return _0x187cbe['length']>0x0&&_0x485432({'id':_0x704410,'event':_0x25637a||void 0x0,'data':_0x187cbe['endsWith']('\x0a')?_0x187cbe['slice'](0x0,-0x1):_0x187cbe}),_0x704410=void 0x0,_0x187cbe='',void(_0x25637a='');if(_0x51fcd5['startsWith'](':'))return void(_0x40b1a8&&_0x40b1a8(_0x51fcd5['slice'](_0x51fcd5['startsWith'](':\x20')?0x2:0x1)));const _0x52b2aa=_0x51fcd5['indexOf'](':');if(-0x1!==_0x52b2aa){const _0x424e51=_0x51fcd5['slice'](0x0,_0x52b2aa),_0x456006='\x20'===_0x51fcd5[_0x52b2aa+0x1]?0x2:0x1;return void _0x342490(_0x424e51,_0x51fcd5['slice'](_0x52b2aa+_0x456006),_0x51fcd5);}_0x342490(_0x51fcd5,'',_0x51fcd5);}function _0x342490(_0x3473b4,_0x239ddd,_0x2c67b7){switch(_0x3473b4){case'event':_0x25637a=_0x239ddd;break;case'data':_0x187cbe=''+_0x187cbe+_0x239ddd+'\x0a';break;case'id':_0x704410=_0x239ddd['includes']('\x00')?void 0x0:_0x239ddd;break;case'retry':/^\d+$/['test'](_0x239ddd)?_0x66395e(parseInt(_0x239ddd,0xa)):_0x4e3ca6(new _0x19b4d0('Invalid\x20`retry`\x20value:\x20\x22'+_0x239ddd+'\x22',{'type':'invalid-retry','value':_0x239ddd,'line':_0x2c67b7}));break;default:_0x4e3ca6(new _0x19b4d0('Unknown\x20field\x20\x22'+(_0x3473b4['length']>0x14?_0x3473b4['slice'](0x0,0x14)+'…':_0x3473b4)+'\x22',{'type':'unknown-field','field':_0x3473b4,'value':_0x239ddd,'line':_0x2c67b7}));}}return{'feed':function(_0x547df5){const _0x46d859=_0x20bf6e?_0x547df5['replace'](/^\xEF\xBB\xBF/,''):_0x547df5,[_0x3c4c0e,_0x1a153f]=function(_0x1ed0c3){const _0x20461a=[];let _0x309ab1='',_0x1a495b=0x0;for(;_0x1a495b<_0x1ed0c3['length'];){const _0x35948e=_0x1ed0c3['indexOf']('\x0d',_0x1a495b),_0x4cf54b=_0x1ed0c3['indexOf']('\x0a',_0x1a495b);let _0x14ece6=-0x1;if(-0x1!==_0x35948e&&-0x1!==_0x4cf54b?_0x14ece6=Math['min'](_0x35948e,_0x4cf54b):-0x1!==_0x35948e?_0x14ece6=_0x35948e:-0x1!==_0x4cf54b&&(_0x14ece6=_0x4cf54b),-0x1===_0x14ece6){_0x309ab1=_0x1ed0c3['slice'](_0x1a495b);break;}{const _0x1a2c4b=_0x1ed0c3['slice'](_0x1a495b,_0x14ece6);_0x20461a['push'](_0x1a2c4b),_0x1a495b=_0x14ece6+0x1,'\x0d'===_0x1ed0c3[_0x1a495b-0x1]&&'\x0a'===_0x1ed0c3[_0x1a495b]&&_0x1a495b++;}}return[_0x20461a,_0x309ab1];}(''+_0x160155+_0x46d859);for(const _0x21269d of _0x3c4c0e)_0x320cbe(_0x21269d);_0x160155=_0x1a153f,_0x20bf6e=!0x1;},'reset':function(_0x3c5006={}){_0x160155&&_0x3c5006['consume']&&_0x320cbe(_0x160155),_0x20bf6e=!0x0,_0x704410=void 0x0,_0x187cbe='',_0x25637a='',_0x160155='';}};}function _0x3827b5(_0x2eb8c4){return{..._0x2eb8c4,'type':'context'};}var _0x31ca03=class extends _0x491313['ContextPlugin']{['_apiUrl'];get['_apiUrlV11'](){return this['_apiUrl']['replace'](/\/v1$/,'/v1.1');}_token;['_decoder'];static get requires(){return[_0x491313['CloudServices']];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2e9ca6){if(super(_0x2e9ca6),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl')['replace'](/\/+$/,''),!this['_apiUrl']['endsWith']('/v1'))throw new _0x491313['CKEditorError']('ai-service-url-invalid-version',this,{'serviceUrl':this['_apiUrl']});this['_token']=null,this['_decoder']=new TextDecoder();}init(){const _0x5ab4c2=this['context']['plugins']['get'](_0x491313['CloudServices']);if(!_0x5ab4c2['token'])throw new _0x491313['CKEditorError']('ai-missing-token',this);this['_token']=_0x5ab4c2['token'];}_getExtraHttpHeaders(){const _0x5059a6=this['context']['config']['get']('ai.extraHttpHeaders'),_0x372a5e='function'==typeof _0x5059a6?_0x5059a6():_0x5059a6;if(Array['isArray'](_0x372a5e)&&_0x372a5e['length'])return Object['fromEntries'](_0x372a5e['map'](({domain:_0x5ea431,headers:_0x4b480d})=>[_0x5ea431,_0x4b480d]));}startConversation(_0x1dd0ab,_0x34e5a2){const _0x9aaa85=this['_sendApiRequest']('/conversations','POST',{'id':_0x1dd0ab,'group':_0x34e5a2});return{'getConversation':async()=>(await _0x9aaa85['request'])['json'](),'abortController':_0x9aaa85['abortController']};}queryAssistant({message:_0x5dcde3,conversationId:_0x5b18a2,parts:_0x58ef88,capabilities:_0xd109b1,model:_0x54d772,attributes:_0x304dd3}){const _0x29c443=this['_getExtraHttpHeaders'](),_0x57e476={..._0x5dcde3&&{'prompt':_0x5dcde3},'content':_0x58ef88,'model':_0x54d772,..._0xd109b1&&{'capabilities':_0xd109b1},..._0x304dd3&&{'attributes':_0x304dd3},..._0x29c443&&{'extraHttpHeaders':_0x29c443}},_0x5bb19d=this['_sendApiRequest']('/conversations/'+_0x5b18a2+'/messages','POST',_0x57e476,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x5c0b70=(await _0x5bb19d['request'])['body'];return this['_getStreamReader'](_0x5c0b70);},'abortController':_0x5bb19d['abortController']};}executeCustomAction({content:_0x4f6703,message:_0xe130c9,model:_0x50b0e5,outputFormat:_0x20bac6,contexts:_0x33fcb9}){const _0x50cab3={'content':[{'type':'text','content':_0x4f6703}],..._0xe130c9&&{'prompt':_0xe130c9},'model':_0x50b0e5,'outputFormat':_0x20bac6,..._0x7fc403(_0x33fcb9)},_0x45974b=this['_sendApiRequest']('/actions/custom/calls','POST',_0x50cab3);return{'getStream':async()=>{const _0x27f171=(await _0x45974b['request'])['body'];return this['_getStreamReader'](_0x27f171);},'abortController':_0x45974b['abortController']};}executeAction({actionName:_0x43185b,content:_0x42431d,args:_0x5073c5,contexts:_0x2b4008}){const _0x399e55={'content':[{'type':'text','content':_0x42431d}],'args':_0x5073c5,..._0x7fc403(_0x2b4008)},_0x55e91d=this['_sendApiRequest']('/actions/system/'+_0x43185b+'/calls','POST',_0x399e55);return{'getStream':async()=>{const _0x288e4a=(await _0x55e91d['request'])['body'];return this['_getStreamReader'](_0x288e4a);},'abortController':_0x55e91d['abortController']};}['uploadFile'](_0x32a99e,_0x13e4bb,_0x54568f){const _0x5600d5=new FormData();_0x5600d5['append']('file',_0x13e4bb,_0x13e4bb['name']),_0x54568f&&_0x5600d5['append']('attributes',JSON['stringify'](_0x54568f));const _0x164784=this['_sendApiRequest']('/conversations/'+_0x32a99e+'/files','POST',_0x5600d5);return{'getId':async()=>(await _0x164784['request'])['json'](),'abortController':_0x164784['abortController']};}uploadDocuments(_0xb06eea,_0x34cb3a){const _0x53caa5={'documents':_0x34cb3a['map'](_0x10e1af=>({'content':_0x10e1af['content'],'attributes':{'version':_0x10e1af['version'],'sessionId':_0x10e1af['sessionId'],'channelId':_0x10e1af['channelId'],'rootName':_0x10e1af['rootName'],'selections':_0x10e1af['selections']},...void 0x0!==_0x10e1af['name']?{'name':_0x10e1af['name']}:{},...void 0x0!==_0x10e1af['description']?{'description':_0x10e1af['description']}:{}}))},_0x3a09dc=this['_sendApiRequest']('/conversations/'+_0xb06eea+'/documents/batch','POST',_0x53caa5);return{'getIds':async()=>(await _0x3a09dc['request'])['json'](),'abortController':_0x3a09dc['abortController']};}fetchDocuments(_0xc6fdad,_0x960d22){const _0x1134f1=new URLSearchParams();_0x1134f1['append']('documentIds',_0x960d22['join'](','));const _0x480144=this['_sendApiRequest']('/conversations/'+_0xc6fdad+'/documents/batch?'+_0x1134f1['toString'](),'GET');return{'getDocuments':async()=>(await _0x480144['request'])['json'](),'abortController':_0x480144['abortController']};}fetchConversations(_0x468d8c,_0x4ed142={}){const _0xc1828=new URLSearchParams();_0xc1828['append']('group',_0x468d8c),_0xc1828['append']('excludeEmpty',!0x1!==_0x4ed142['excludeEmpty']?'true':'false'),_0xc1828['append']('limit',_0x4ed142['limit']?_0x4ed142['limit']['toString']():0x64['toString']()),_0xc1828['append']('sortBy',_0x4ed142['sortBy']?_0x4ed142['sortBy']:'createdAt'),_0xc1828['append']('order',_0x4ed142['order']?_0x4ed142['order']:'desc');const _0x22a405=this['_sendApiRequest']('/conversations?'+_0xc1828['toString'](),'GET');return{'getConversations':async()=>(await(await _0x22a405['request'])['json']())['items'],'abortController':_0x22a405['abortController']};}deleteConversation(_0x1595b9){const _0x42986e=this['_sendApiRequest']('/conversations/'+_0x1595b9,'DELETE');return{'execute':async()=>{await _0x42986e['request'];},'abortController':_0x42986e['abortController']};}updateConversation(_0x2da9f5,_0x1f3098){const _0x553fc4=this['_sendApiRequest']('/conversations/'+_0x2da9f5,'PATCH',_0x1f3098);return{'getResult':async()=>(await _0x553fc4['request'],_0x1f3098),'abortController':_0x553fc4['abortController']};}fetchConversation(_0x109b21){const _0x24f693=this['_sendApiRequest']('/conversations/'+_0x109b21,'GET');return{'getConversation':async()=>(await _0x24f693['request'])['json'](),'abortController':_0x24f693['abortController']};}fetchConversationMessages(_0x5bf459){const _0x47372c=this['_sendApiRequest']('/conversations/'+_0x5bf459+'/messages','GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getMessages':async()=>(await(await _0x47372c['request'])['json']())['items'],'abortController':_0x47372c['abortController']};}['uploadUrl'](_0x4a1a0b,_0x3d7d6b,_0x22922b){const _0x2f02b5=this['_sendApiRequest']('/conversations/'+_0x4a1a0b+'/web-resources','POST',{'url':_0x3d7d6b,'attributes':_0x22922b});return{'getId':async()=>(await _0x2f02b5['request'])['json'](),'abortController':_0x2f02b5['abortController']};}getModels(_0x1af4ef='en'){const _0x540a75=new URLSearchParams();_0x540a75['append']('language',_0x1af4ef);const _0x10b700='/models/1?'+_0x540a75['toString'](),_0x3c8799=this['_sendApiRequest'](_0x10b700,'GET');return{'list':async()=>await(await _0x3c8799['request'])['json'](),'abortController':_0x3c8799['abortController']};}listContexts(_0x59e40f={}){const _0x337e86=new URLSearchParams();_0x337e86['append']('limit',_0x59e40f['limit']?_0x59e40f['limit']['toString']():0x64['toString']()),_0x59e40f['cursor']&&_0x337e86['append']('cursor',_0x59e40f['cursor']),_0x59e40f['order']&&_0x337e86['append']('order',_0x59e40f['order']);const _0x1ec07d=this['_sendApiRequest']('/contexts?'+_0x337e86['toString'](),'GET');return{'getContexts':async()=>(await(await _0x1ec07d['request'])['json']())['items'],'abortController':_0x1ec07d['abortController']};}deleteFile(_0x1b1b1a,_0x4aa998){const _0x3c4aaa=this['_sendApiRequest']('/conversations/'+_0x1b1b1a+'/files/'+_0x4aa998,'DELETE');return{'execute':async()=>{await _0x3c4aaa['request'];},'abortController':_0x3c4aaa['abortController']};}deleteDocument(_0x28b015,_0x290e57){const _0xa86ee4=this['_sendApiRequest']('/conversations/'+_0x28b015+'/documents/'+_0x290e57,'DELETE');return{'execute':async()=>{await _0xa86ee4['request'];},'abortController':_0xa86ee4['abortController']};}deleteWebResource(_0x45520a,_0x2d975f){const _0x3ed068=this['_sendApiRequest']('/conversations/'+_0x45520a+'/web-resources/'+_0x2d975f,'DELETE');return{'execute':async()=>{await _0x3ed068['request'];},'abortController':_0x3ed068['abortController']};}cancelStream(_0x4216a0,_0x3f1aea){const _0x2ddd55=this['_sendApiRequest']('/conversations/'+_0x4216a0+'/messages/'+_0x3f1aea+'/stream','DELETE',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'execute':async()=>{await _0x2ddd55['request'];},'abortController':_0x2ddd55['abortController']};}resumeStream(_0x256130,_0x5fb9ef,_0x53e837='0-0'){const _0x311c54=new URLSearchParams({'lastEventId':_0x53e837}),_0x57fc12=this['_sendApiRequest']('/conversations/'+_0x256130+'/messages/'+_0x5fb9ef+'/stream?'+_0x311c54['toString'](),'GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x5dce1c=await _0x57fc12['request'];return this['_getStreamReader'](_0x5dce1c['body']);},'abortController':_0x57fc12['abortController']};}callSystemReview({reviewName:_0x3de4ac,content:_0x3d16d4,args:_0x4696ef,contexts:_0x3d2db4}){const _0x4d1e5d=this['_sendApiRequest']('/reviews/system/'+_0x3de4ac+'/calls','POST',{'content':[{'type':'text','content':_0x3d16d4}],'args':_0x4696ef,..._0x7fc403(_0x3d2db4)});return{'getStream':async()=>{const _0x35fc56=(await _0x4d1e5d['request'])['body'];return this['_getStreamReader'](_0x35fc56);},'abortController':_0x4d1e5d['abortController']};}processDocument({content:_0x20e7c5,prompt:_0x1ef7a7,model:_0x5ef12c,capabilities:_0x2e533d,contexts:_0x2dff87}){const _0x3c961e=this['_getExtraHttpHeaders'](),_0x47c1b=this['_sendApiRequest']('/documents/process','POST',{'content':_0x20e7c5,'prompt':_0x1ef7a7,'model':_0x5ef12c,..._0x2e533d&&{'capabilities':_0x2e533d},..._0x7fc403(_0x2dff87),..._0x3c961e&&{'extraHttpHeaders':_0x3c961e}});return{'getResult':async()=>(await _0x47c1b['request'])['json'](),'abortController':_0x47c1b['abortController']};}callCustomReview({content:_0x161299,prompt:_0x5bd284,model:_0x54f897,contexts:_0x45fc14}){const _0x353e5d=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x161299}],..._0x5bd284&&{'prompt':_0x5bd284},'model':_0x54f897,..._0x7fc403(_0x45fc14)});return{'getStream':async()=>{const _0x479f6d=(await _0x353e5d['request'])['body'];return this['_getStreamReader'](_0x479f6d);},'abortController':_0x353e5d['abortController']};}upsertAIChatRating(_0x3ba456,_0x8ffeaa,_0x3dd60a){const _0x242937=this['_sendApiRequest']('/conversations/'+_0x3ba456+'/messages/'+_0x8ffeaa+'/ratings','PUT',{'positiveCount':_0x3dd60a['positiveCount'],'totalCount':_0x3dd60a['totalCount'],'modificationId':_0x3dd60a['modificationId']});return{'execute':async()=>{await _0x242937['request'];},'abortController':_0x242937['abortController']};}upsertAIActionRating(_0x1ac8c9,_0x409150,_0x134488){const _0x4c2938=this['_sendApiRequest']('/actions/system/'+_0x1ac8c9+'/calls/'+_0x409150+'/ratings','PUT',{'positiveCount':_0x134488['positiveCount'],'totalCount':_0x134488['totalCount']});return{'execute':async()=>{await _0x4c2938['request'];},'abortController':_0x4c2938['abortController']};}upsertCustomAIActionRating(_0x1a2b01,_0x20d838){const _0x2ad93a=this['_sendApiRequest']('/actions/custom/calls/'+_0x1a2b01+'/ratings','PUT',{'positiveCount':_0x20d838['positiveCount'],'totalCount':_0x20d838['totalCount']});return{'execute':async()=>{await _0x2ad93a['request'];},'abortController':_0x2ad93a['abortController']};}upsertAIReviewRating(_0x55a4e1,_0x51d0ae,_0x52480c,_0x55111d){const _0x10ea94=this['_sendApiRequest']('/reviews/system/'+_0x55a4e1+'/calls/'+_0x51d0ae+'/ratings','PUT',{'positiveCount':_0x52480c['positiveCount'],'totalCount':_0x52480c['totalCount'],'dataId':_0x55111d});return{'execute':async()=>{await _0x10ea94['request'];},'abortController':_0x10ea94['abortController']};}upsertCustomAIReviewRating(_0x1f3c8d,_0x594633,_0x5cfeb2){const _0x4d7eb1=this['_sendApiRequest']('/reviews/custom/calls/'+_0x1f3c8d+'/ratings','PUT',{'positiveCount':_0x594633['positiveCount'],'totalCount':_0x594633['totalCount'],'dataId':_0x5cfeb2});return{'execute':async()=>{await _0x4d7eb1['request'];},'abortController':_0x4d7eb1['abortController']};}_sendApiRequest(_0x15dee1,_0x5c0c23,_0x5476e5,_0x4dc4ce={}){const {apiUrl:_0xbf6731=this['_apiUrl']}=_0x4dc4ce,_0xa03514=new AbortController(),_0x3eac3b=_0x5476e5 instanceof FormData,_0xdf4a4a={'Authorization':'Bearer\x20'+this['_token']?.['value'],'X-Editor-Version':_0x491313['version']};_0x5476e5&&!_0x3eac3b&&(_0xdf4a4a['Content-Type']='application/json');const _0x3ad78a={'method':_0x5c0c23,'headers':_0xdf4a4a,'signal':_0xa03514['signal']};return _0x5476e5&&(_0x3ad78a['body']=_0x3eac3b?_0x5476e5:JSON['stringify'](_0x5476e5)),{'request':fetch(''+_0xbf6731+_0x15dee1,_0x3ad78a)['catch'](_0xc70ff6=>{this['_handleError'](_0xc70ff6);})['then'](_0x1755db=>_0x1755db['ok']?_0x1755db:_0x1755db['json']()['then'](_0xcdff2f=>{throw{'url':_0xbf6731,'path':_0x15dee1,'method':_0x5c0c23,'body':_0x5476e5,'status':(_0x1755db||{})['status'],'statusText':(_0x1755db||{})['statusText'],'code':_0xcdff2f['code'],'message':_0xcdff2f['message'],'traceId':_0xcdff2f['traceId'],'data':_0xcdff2f['data']};})),'abortController':_0xa03514};}async *_getStreamReader(_0x50a613){const _0x5835b7=[],_0x394af9=_0x50a613['getReader'](),_0xe4a0cf=_0x1b2836({'onError':_0x169740=>{this['_handleError'](_0x169740);},'onEvent':_0x41b187=>{_0x41b187['data']=JSON['parse'](_0x41b187['data']),_0x5835b7['push'](_0x41b187);}});try{let _0x3e8af2=!0x1;for(;!_0x3e8af2;){const {done:_0x59a6ed,value:_0x3e17df}=await _0x394af9['read']();_0x59a6ed&&(_0x3e8af2=!0x0),_0xe4a0cf['feed'](this['_decoder']['decode'](_0x3e17df,{'stream':!0x0})),yield*_0x5835b7,_0x5835b7['length']=0x0;}}catch(_0x5d2c80){this['_handleError'](_0x5d2c80);}finally{_0x394af9['releaseLock'](),_0xe4a0cf['reset']();}}['_handleError'](_0x43e0f7){if(_0x43e0f7 instanceof _0x491313['CKEditorError'])throw _0x43e0f7;if(_0x43e0f7 instanceof Error&&'AbortError'===_0x43e0f7['name'])throw new _0x491313['CKEditorError']('ai-request-aborted',this,{'originalError':_0x43e0f7});throw new _0x491313['CKEditorError']('ai-request-failed',this,{'originalError':_0x43e0f7});}};function _0x7fc403(_0x3b08bd){return _0x3b08bd?.['length']?{'contexts':_0x3b08bd['map'](_0x3827b5)}:{};}function _0x258ab2(_0x21b898,_0x3e6bd9,_0x39ab6a){const t=_0x21b898['t'];switch(_0x3e6bd9){case'AI_SUGGESTION_HEADER_TITLE':return t({'id':'AI_SUGGESTION_HEADER_TITLE','string':'Proposed\x20changes'});case'AI_SUGGESTION_BUTTON_SHOW_CHANGES':return t({'id':'AI_SUGGESTION_BUTTON_SHOW_CHANGES','string':'Show\x20details'});case'AI_MINI_TOOLBAR_LIKE':return t({'id':'AI_MINI_TOOLBAR_LIKE','string':'I\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_DISLIKE':return t({'id':'AI_MINI_TOOLBAR_DISLIKE','string':'I\x20don\x27t\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_COPY':return t({'id':'AI_MINI_TOOLBAR_COPY','string':'Copy\x20to\x20clipboard'});case'AI_SUGGESTION_CONTENT_PART_TITLE':return t({'id':'AI_SUGGESTION_CONTENT_PART_TITLE','string':'Change\x20%0'},_0x39ab6a);case'AI_SUGGESTION_CONTENT_PART_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECTED','string':'Change\x20was\x20rejected'});case'AI_SUGGESTION_CONTENT_PART_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_OUTDATED','string':'Change\x20is\x20outdated'});case'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED':return t({'id':'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','string':'Change\x20is\x20already\x20applied'});case'AI_SUGGESTION_CONTENT_PART_APPLY':return t({'id':'AI_SUGGESTION_CONTENT_PART_APPLY','string':'Apply\x20change'});case'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION':return t({'id':'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','string':'Add\x20as\x20suggestion'});case'AI_SUGGESTION_CONTENT_PART_REJECT':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECT','string':'Reject\x20change'});case'AI_SUGGESTION_CONTENT_PART_REMOVED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REMOVED','string':'Removed\x20content.\x20Use\x20\x22Show\x20details\x22\x20to\x20learn\x20more.'});case'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','string':'Approved'});case'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','string':'Rejected'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','string':'Outdated'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_TOOLTIP':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_TOOLTIP','string':'Created\x20for\x20a\x20previous\x20version\x20of\x20the\x20document\x20and\x20can\x20no\x20longer\x20be\x20applied.'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_CONTENT_REMOVED_TOOLTIP':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_CONTENT_REMOVED_TOOLTIP','string':'Created\x20for\x20content\x20that\x20no\x20longer\x20exists.'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_EDITOR_REMOVED_TOOLTIP':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_EDITOR_REMOVED_TOOLTIP','string':'Created\x20for\x20content\x20that\x20no\x20longer\x20exists.'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_SESSION_CHANGED_TOOLTIP':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_SESSION_CHANGED_TOOLTIP','string':'Created\x20for\x20a\x20previous\x20version\x20of\x20the\x20document\x20and\x20can\x20no\x20longer\x20be\x20applied.'});case'AI_DISCLAIMER_TEXT':return t({'id':'AI_DISCLAIMER_TEXT','string':'AI\x20can\x20make\x20mistakes.\x20Please\x20double-check\x20responses.'});case'AI_TABS_LABEL_MAXIMIZE':return t({'id':'AI_TABS_LABEL_MAXIMIZE','string':'Maximize'});case'AI_TABS_LABEL_MINIMIZE':return t({'id':'AI_TABS_LABEL_MINIMIZE','string':'Minimize'});case'AI_CHAT_HEADING':return t({'id':'AI_CHAT_HEADING','string':'Chat'});case'AI_CHAT_SOURCES_HEADER':return t({'id':'AI_CHAT_SOURCES_HEADER','string':'Sources'});case'AI_CHAT_UNTITLED_CONVERSATION':return t({'id':'AI_CHAT_UNTITLED_CONVERSATION','string':'Untitled\x20conversation'});case'AI_CHAT_LABEL_NEW_CHAT':return t({'id':'AI_CHAT_LABEL_NEW_CHAT','string':'New\x20chat'});case'AI_CHAT_STOP_GENERATING':return t({'id':'AI_CHAT_STOP_GENERATING','string':'Stop\x20generating'});case'AI_CHAT_IS_WRITING':return t({'id':'AI_CHAT_IS_WRITING','string':'AI\x20is\x20writing...'});case'AI_CHAT_PROMPT_EMPTY_ERROR':return t({'id':'AI_CHAT_PROMPT_EMPTY_ERROR','string':'This\x20field\x20cannot\x20be\x20empty.'});case'AI_CHAT_LABEL_SUBMIT':return t({'id':'AI_CHAT_LABEL_SUBMIT','string':'Submit'});case'AI_CHAT_WELCOME_MESSAGE':return t({'id':'AI_CHAT_WELCOME_MESSAGE','string':'Hi!\x20I\x20can\x20help\x20you\x20draft,\x20rewrite,\x20and\x20improve\x20your\x20text,\x20explore\x20ideas,\x20research\x20topics,\x20and\x20solve\x20problems.\x20How\x20can\x20I\x20help\x20right\x20now?'});case'AI_CHAT_ABORTED_MESSAGE':return t({'id':'AI_CHAT_ABORTED_MESSAGE','string':'Response\x20stopped.'});case'AI_CHAT_GENERIC_ERROR':return t({'id':'AI_CHAT_GENERIC_ERROR','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_START_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_START_CONVERSATION','string':'Unable\x20to\x20start\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','string':'Unable\x20to\x20load\x20chosen\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','string':'Failed\x20to\x20upload\x20files:\x20%0.\x20Please\x20try\x20again.'},_0x39ab6a);case'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED':return t({'id':'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED','string':'Folders\x20cannot\x20be\x20added\x20to\x20the\x20chat.\x20Try\x20adding\x20individual\x20files\x20instead.'});case'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','string':'Unable\x20to\x20load\x20resources\x20from\x20%0.\x20Please\x20try\x20again.'},_0x39ab6a);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_PASTED_TEXT_NAME':return t({'id':'AI_CHAT_CONTEXT_PASTED_TEXT_NAME','string':'Pasted\x20Text'});case'AI_CHAT_DROP_ZONE_HINT':return t({'id':'AI_CHAT_DROP_ZONE_HINT','string':'Drop\x20files\x20here\x20to\x20add\x20to\x20the\x20chat'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_LIBRARY_LABEL':return t({'id':'AI_CHAT_CONTEXT_LIBRARY_LABEL','string':'Context\x20library'});case'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL':return t({'id':'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL','string':'Current\x20context'});case'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL':return t({'id':'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','string':'Selected\x20content'});case'AI_CHAT_SEARCH_WEB':return t({'id':'AI_CHAT_SEARCH_WEB','string':'Web\x20search'});case'AI_CHAT_ENABLE_WEB_SEARCH':return t({'id':'AI_CHAT_ENABLE_WEB_SEARCH','string':'Enable\x20web\x20search'});case'AI_CHAT_DISABLE_WEB_SEARCH':return t({'id':'AI_CHAT_DISABLE_WEB_SEARCH','string':'Disable\x20web\x20search'});case'AI_CHAT_REASONING':return t({'id':'AI_CHAT_REASONING','string':'Reasoning'});case'AI_CHAT_ENABLE_REASONING':return t({'id':'AI_CHAT_ENABLE_REASONING','string':'Enable\x20reasoning'});case'AI_CHAT_DISABLE_REASONING':return t({'id':'AI_CHAT_DISABLE_REASONING','string':'Disable\x20reasoning'});case'AI_CHAT_COMMANDS':return t({'id':'AI_CHAT_COMMANDS','string':'Commands'});case'AI_CHAT_SEARCH_RESOURCES':return t({'id':'AI_CHAT_SEARCH_RESOURCES','string':'Search\x20resources'});case'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','string':'Back\x20to\x20context\x20options'});case'AI_CHAT_CONTEXT_URL_ADD_URL':return t({'id':'AI_CHAT_CONTEXT_URL_ADD_URL','string':'Add\x20URL'});case'AI_CHAT_CONTEXT_URL_PLACEHOLDER':return t({'id':'AI_CHAT_CONTEXT_URL_PLACEHOLDER','string':'Add\x20URL...'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','string':'Failed\x20to\x20upload\x20URL:\x20%0.\x20Please\x20try\x20again.'},_0x39ab6a);case'AI_CHAT_CONTEXT_INVALID_DATA':return t({'id':'AI_CHAT_CONTEXT_INVALID_DATA','string':'Invalid\x20context\x20data\x20type\x20for\x20the\x20selected\x20resource.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','string':'Unsupported\x20resource\x20type.\x20Only\x20files\x20and\x20URLs\x20are\x20supported.'});case'AI_CHAT_CONTEXT_URL_EMPTY_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_EMPTY_ERROR','string':'URL\x20cannot\x20be\x20empty.'});case'AI_CHAT_CONTEXT_URL_INVALID_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_INVALID_ERROR','string':'Please\x20enter\x20a\x20valid\x20URL.'});case'AI_CHAT_INVALID_REQUEST':return t({'id':'AI_CHAT_INVALID_REQUEST','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','string':'The\x20file\x20type\x20is\x20not\x20supported.\x20Please\x20upload\x20a\x20different\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_LARGE':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_LARGE','string':'The\x20file\x20is\x20too\x20large.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','string':'The\x20file\x20has\x20too\x20many\x20pages.\x20Please\x20upload\x20a\x20file\x20with\x20fewer\x20pages.'});case'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED':return t({'id':'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','string':'The\x20form\x20data\x20size\x20limits\x20are\x20exceeded.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','string':'AI\x20is\x20preparing\x20a\x20response...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','string':'AI\x20is\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REASONING','string':'AI\x20is\x20using\x20reasoning\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','string':'AI\x20is\x20using\x20reasoning\x20and\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','string':'Scanned\x20the\x20internet\x20for\x20insights'});case'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','string':'AI\x20used\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','string':'AI\x20used\x20search\x20and\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','string':'Ask\x20AI\x20anything...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','string':'Ask\x20AI\x20anything\x20(web\x20search\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','string':'Ask\x20AI\x20anything\x20(reasoning\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','string':'Ask\x20AI\x20anything\x20(web\x20search\x20and\x20reasoning\x20enabled)...'});case'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','string':'Suggest\x20all'},_0x39ab6a);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x39ab6a);case'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','string':'Apply\x20all'});case'AI_CHAT_SUGGESTION_ACTION_APPLY':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY','string':'Apply'});case'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','string':'More\x20options'},_0x39ab6a);case'AI_CHAT_MODEL_SELECTOR_GROUP':return t({'id':'AI_CHAT_MODEL_SELECTOR_GROUP','string':'Models'});case'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','string':'Select\x20a\x20model'});case'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','string':'Start\x20a\x20new\x20conversation\x20to\x20change\x20the\x20model'});case'AI_CHAT_CAPABILITIES_YES':return t({'id':'AI_CHAT_CAPABILITIES_YES','string':'Yes'});case'AI_CHAT_CAPABILITIES_NO':return t({'id':'AI_CHAT_CAPABILITIES_NO','string':'No'});case'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT':return t({'id':'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','string':'The\x20selected\x20model\x20is\x20no\x20longer\x20available,\x20so\x20you\x20cannot\x20continue\x20this\x20conversation.\x20Please\x20'});case'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON':return t({'id':'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','string':'start\x20a\x20new\x20one.'});case'AI_CHAT_CONTEXT_SOURCES_LABEL':return t({'id':'AI_CHAT_CONTEXT_SOURCES_LABEL','string':'Sources'});case'AI_CHAT_HISTORY_HEADING':return t({'id':'AI_CHAT_HISTORY_HEADING','string':'Chat\x20History'});case'AI_CHAT_HISTORY_SEARCH_LABEL':return t({'id':'AI_CHAT_HISTORY_SEARCH_LABEL','string':'Search\x20history'});case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','string':'No\x20chats\x20were\x20found\x20matching\x20\x22%0\x22.'},_0x39ab6a);case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','string':'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.'});case'AI_CHAT_HISTORY_EMPTY_MESSAGE':return t({'id':'AI_CHAT_HISTORY_EMPTY_MESSAGE','string':'Your\x20chat\x20history\x20for\x20current\x20document\x20will\x20appear\x20here.'});case'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON':return t({'id':'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON','string':'Go\x20to\x20chat'});case'AI_CHAT_HISTORY_PIN_BUTTON':return t({'id':'AI_CHAT_HISTORY_PIN_BUTTON','string':'Pin'});case'AI_CHAT_HISTORY_SHOW_MORE_ITEMS':return t({'id':'AI_CHAT_HISTORY_SHOW_MORE_ITEMS','string':'Show\x20more\x20items'});case'AI_CHAT_HISTORY_EDIT_NAME':return t({'id':'AI_CHAT_HISTORY_EDIT_NAME','string':'Edit\x20name'});case'AI_CHAT_HISTORY_REMOVE':return t({'id':'AI_CHAT_HISTORY_REMOVE','string':'Remove'});case'AI_CHAT_HISTORY_REMOVE_CONFIRM':return t({'id':'AI_CHAT_HISTORY_REMOVE_CONFIRM','string':'Do\x20you\x20want\x20to\x20remove\x20this\x20chat?'});case'AI_CHAT_HISTORY_ACCEPT':return t({'id':'AI_CHAT_HISTORY_ACCEPT','string':'Accept'});case'AI_CHAT_HISTORY_CANCEL':return t({'id':'AI_CHAT_HISTORY_CANCEL','string':'Cancel'});case'AI_CHAT_HISTORY_LOADING_REMOVING':return t({'id':'AI_CHAT_HISTORY_LOADING_REMOVING','string':'Removing\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_RENAMING':return t({'id':'AI_CHAT_HISTORY_LOADING_RENAMING','string':'Renaming\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_PINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_PINNING','string':'Pinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_UNPINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_UNPINNING','string':'Unpinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_CATEGORY_PINNED':return t({'id':'AI_CHAT_HISTORY_CATEGORY_PINNED','string':'Pinned'});case'AI_CHAT_HISTORY_CATEGORY_TODAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_TODAY','string':'Today'});case'AI_CHAT_HISTORY_CATEGORY_YESTERDAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_YESTERDAY','string':'Yesterday'});case'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','string':'Last\x2014\x20days'});case'AI_CHAT_HISTORY_CATEGORY_LATER':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LATER','string':'Later'});case'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','string':'Failed\x20to\x20change\x20the\x20\x22%0\x22\x20chat\x20name.\x20Please\x20try\x20again\x20later.'},_0x39ab6a);case'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','string':'Failed\x20to\x20%0\x20the\x20\x22%1\x22\x20chat.\x20Please\x20try\x20again\x20later.'},_0x39ab6a);case'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM':return t({'id':'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','string':'Failed\x20to\x20delete\x20the\x20\x22%0\x22\x20chat.\x20Please\x20try\x20again\x20later.'},_0x39ab6a);case'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS':return t({'id':'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','string':'Failed\x20to\x20load\x20the\x20chat\x20history.\x20Please\x20try\x20again\x20later.'});case'AI_CHAT_HISTORY_ERROR_GENERIC':return t({'id':'AI_CHAT_HISTORY_ERROR_GENERIC','string':'Something\x20went\x20wrong.\x20Please\x20try\x20again\x20later.'});case'AI_CHAT_HISTORY_PIN_ACTION':return t({'id':'AI_CHAT_HISTORY_PIN_ACTION','string':'pin'});case'AI_CHAT_HISTORY_UNPIN_ACTION':return t({'id':'AI_CHAT_HISTORY_UNPIN_ACTION','string':'unpin'});case'AI_BALLOON_HEADER_TITLE':return t({'id':'AI_BALLOON_HEADER_TITLE','string':'Change\x20%0'},_0x39ab6a);case'AI_BALLOON_APPLY_BUTTON':return t({'id':'AI_BALLOON_APPLY_BUTTON','string':'Apply'});case'AI_BALLOON_SUGGEST_BUTTON':return t({'id':'AI_BALLOON_SUGGEST_BUTTON','string':'Suggest'});case'AI_BALLOON_NEXT_LABEL':return t({'id':'AI_BALLOON_NEXT_LABEL','string':'Next'});case'AI_BALLOON_PREVIOUS_LABEL':return t({'id':'AI_BALLOON_PREVIOUS_LABEL','string':'Previous'});case'AI_SUGGESTION_NO_PARTS_WARNING':return t({'id':'AI_SUGGESTION_NO_PARTS_WARNING','string':'This\x20change\x20is\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_SUGGESTION_EMPTY_PART_WARNING':return t({'id':'AI_SUGGESTION_EMPTY_PART_WARNING','string':'Some\x20of\x20the\x20changes\x20are\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_ACTIONS_TRY_AGAIN':return t({'id':'AI_ACTIONS_TRY_AGAIN','string':'Retry'});case'AI_ACTIONS_PREVIOUS_INTERACTION':return t({'id':'AI_ACTIONS_PREVIOUS_INTERACTION','string':'Previous'});case'AI_ACTIONS_NEXT_INTERACTION':return t({'id':'AI_ACTIONS_NEXT_INTERACTION','string':'Next'});case'AI_MODEL_NAME_AUTO':return t({'id':'AI_MODEL_NAME_AUTO','string':'Auto'});case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_SEARCH':return t({'id':'AI_QUICK_ACTIONS_SEARCH','string':'Search\x20AI\x20commands'});case'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','string':'No\x20AI\x20commands\x20found'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_TRANSLATE_SPANISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_SPANISH','string':'Spanish'});case'AI_QUICK_ACTIONS_TRANSLATE_GERMAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_GERMAN','string':'German'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x39ab6a);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});case'AI_ACTIONS_GENERIC_ERROR':return t({'id':'AI_ACTIONS_GENERIC_ERROR','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20response.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_BALLOON_SELECTION_REMOVED_ERROR':return t({'id':'AI_BALLOON_SELECTION_REMOVED_ERROR','string':'Changes\x20cannot\x20be\x20applied.\x20The\x20original\x20content\x20no\x20longer\x20exists.'});case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.'});case'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT':return t({'id':'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20changes\x20to\x20suggest.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE':return t({'id':'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','string':'AI\x20Review\x20initialized\x20with\x20errors.\x20Some\x20features\x20may\x20not\x20be\x20available\x20or\x20work\x20properly.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});case'AI_REVIEW_MODE':return t({'id':'AI_REVIEW_MODE','string':'Review'});case'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR':return t({'id':'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR','string':'Prompt\x20must\x20not\x20be\x20empty'});case'AI_REVIEW_CHECK_CUSTOM_TITLE':return t({'id':'AI_REVIEW_CHECK_CUSTOM_TITLE','string':'Custom\x20command'});case'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION','string':'Enter\x20a\x20custom\x20command\x20for\x20a\x20specific\x20review.'});case'AI_REVIEW_CHECK_CORRECTNESS_TITLE':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_TITLE','string':'Proofread'});case'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION','string':'Check\x20the\x20text\x20for\x20errors\x20in\x20grammar,\x20spelling,\x20and\x20punctuation.'});case'AI_REVIEW_CHECK_CLARITY_TITLE':return t({'id':'AI_REVIEW_CHECK_CLARITY_TITLE','string':'Improve\x20clarity'});case'AI_REVIEW_CHECK_CLARITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CLARITY_DESCRIPTION','string':'Improve\x20the\x20logical\x20structure\x20and\x20precision\x20for\x20clearer\x20message.'});case'AI_REVIEW_CHECK_READABILITY_TITLE':return t({'id':'AI_REVIEW_CHECK_READABILITY_TITLE','string':'Improve\x20readability'});case'AI_REVIEW_CHECK_READABILITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_READABILITY_DESCRIPTION','string':'Adjust\x20sentence\x20structure\x20and\x20word\x20choice\x20for\x20an\x20easier\x20read.'});case'AI_REVIEW_CHECK_MAKE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TITLE','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_DESCRIPTION','string':'Shorten\x20or\x20lengthen\x20the\x20text\x20as\x20needed.'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER','string':'Longer'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER','string':'Shorter'});case'AI_REVIEW_CHECK_MAKE_TONE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_TITLE','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION','string':'Modify\x20the\x20text\x20to\x20a\x20desired\x20tone\x20and\x20style.'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL','string':'Casual'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT','string':'Direct'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY','string':'Friendly'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT','string':'Confident'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL','string':'Professional'});case'AI_REVIEW_CHECK_TRANSLATE_TITLE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_TITLE','string':'Translate'});case'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION','string':'Translate\x20the\x20text\x20into\x20another\x20language.'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL','string':'Select\x20language'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH','string':'English'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH','string':'Spanish'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH','string':'French'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN','string':'German'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE','string':'Japanese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN','string':'Russian'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE','string':'Portuguese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN','string':'Korean'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN','string':'Italian'});case'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','string':'Accepted'});case'AI_REVIEW_MODE_CHECK_STATUS_REJECTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_REJECTED','string':'Dismissed'});case'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','string':'Outdated'});case'AI_TOGGLE_BUTTON_LABEL':return t({'id':'AI_TOGGLE_BUTTON_LABEL','string':'AI'});case'AI_TRANSLATE_ACCEPT_ALL':return t({'id':'AI_TRANSLATE_ACCEPT_ALL','string':'Accept\x20translation'});case'AI_TRANSLATE_FINISH_HEADER_TITLE':return t({'id':'AI_TRANSLATE_FINISH_HEADER_TITLE','string':'Translation\x20complete.\x20Finish\x20when\x20ready.'});case'AI_TRANSLATE_EMPTY_RESULTS_TEXT':return t({'id':'AI_TRANSLATE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20translations\x20to\x20review.'});case'AI_TRANSLATE_FINISH_BUTTON_LABEL':return t({'id':'AI_TRANSLATE_FINISH_BUTTON_LABEL','string':'Finish\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','string':'Content\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','string':'A\x20dedicated\x20mode\x20for\x20translating\x20the\x20entire\x20text.'});case'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','string':'Translating\x20to'});case'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','string':'Translated\x20to'});case'AI_TRANSLATE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_TRANSLATE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20translations\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});default:return _0x3e6bd9;}}const _0x3eeba4=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['EmitterMixin'])();var _0x49f0ae=class extends _0x3eeba4{_connector;['_config'];['_locale'];_modelList=[];_modelsRequest=null;constructor({connector:_0x32bbdc,config:_0x59e9b5,locale:_0x4d6298}){super(),this['_connector']=_0x32bbdc,this['_config']=_0x59e9b5,this['_locale']=_0x4d6298;}get['_availableModels'](){return this['_config']?.['displayedModels'];}get _defaultModelId(){return this['_config']?.['defaultModelId'];}async getAllModels(){return this['_modelsRequest']||(this['_modelsRequest']=this['_retrieveModels']()['catch'](_0x2d5c11=>{throw this['_modelsRequest']=null,_0x2d5c11;})),this['_modelsRequest'];}async getAvailableModels(){const _0x6de281=await this['getAllModels']();let _0x137c83;return _0x137c83=this['_availableModels']?this['_filterModels'](_0x6de281,this['_availableModels']):_0x6de281['filter'](_0x44399d=>_0x44399d['recommended']),_0x137c83;}async['resolveModel'](_0x1526e5){const _0x251066=await this['getAllModels']();if(!_0x251066['length'])return null;if(_0x1526e5){const _0x36eaa7=this['_getModelById'](_0x251066,_0x1526e5);if(_0x36eaa7)return _0x36eaa7;(0x0,_0x491313['logWarning'])('ai-chat-model-id-unrecognized',{'modelId':_0x1526e5,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async getDefault(){const _0xa012d2=await this['getAvailableModels']();if(!_0xa012d2['length'])return null;if(this['_defaultModelId']){const _0x4455cb=this['_getModelById'](_0xa012d2,this['_defaultModelId']);if(_0x4455cb)return _0x4455cb;(0x0,_0x491313['logWarning'])('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0xa012d2[0x0]['id']});}return _0xa012d2[0x0];}async['isAvailable'](_0x57f50a){return(await this['getAvailableModels']())['some'](_0x1d7bc8=>_0x1d7bc8['name']===_0x57f50a['name']&&_0x1d7bc8['provider']===_0x57f50a['provider']);}async getModel(_0x27371c){const _0x342902=await this['getAllModels']();return this['_getModelById'](_0x342902,_0x27371c)||null;}async _retrieveModels(){if(!this['_modelList']['length']){const _0x217e6b=this['_locale']['uiLanguage']||'en',_0x2a8735=await this['_connector']['getModels'](_0x217e6b)['list']();this['_modelList']=_0x2a8735['items']['map'](_0x584ca9=>_0x53caaa(_0x584ca9)?{..._0x584ca9,'name':_0x258ab2(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x584ca9);}return[...this['_modelList']];}_filterModels(_0x547308,_0x17b089){let _0x59f298;if(_0x17b089){_0x59f298=[];const _0x14c904=new Set(),_0x2f0c1c='string'==typeof _0x17b089?[_0x17b089['toLocaleLowerCase']()]:_0x17b089['map'](_0x47854f=>_0x47854f['toLocaleLowerCase']());for(const _0x24dee6 of _0x2f0c1c)for(const _0x1626e2 of _0x547308)!_0x14c904['has'](_0x1626e2['id'])&&this['_isMatchingFilter'](_0x1626e2,_0x24dee6)&&(_0x59f298['push'](_0x1626e2),_0x14c904['add'](_0x1626e2['id']));}else _0x59f298=_0x547308;return _0x59f298;}_isMatchingFilter(_0xf63886,_0x499f19){const _0x3d8812=_0xf63886['id']['toLocaleLowerCase'](),_0x178807=_0xf63886['name']['toLocaleLowerCase'](),_0x505c9f=_0xf63886['provider']['toLocaleLowerCase']();return _0x3d8812===_0x499f19||_0x178807===_0x499f19||_0x53caaa(_0xf63886)&&'auto'===_0x499f19||_0x505c9f===_0x499f19||_0x3d8812['startsWith'](_0x499f19);}_getModelById(_0x5ce054,_0x1d70f1){return _0x5ce054['find'](_0x1d3888=>_0x53caaa(_0x1d3888)&&'auto'===_0x1d70f1?_0x1d3888:_0x1d3888['id']===_0x1d70f1)||null;}};function _0x53caaa(_0x5c1138){return _0x5c1138['id']['startsWith']('agent');}var _0xf7af3=class{_connector;_defaultContext;_contextsRequest=null;constructor({connector:_0x309e05,defaultContext:_0x548b9b}){this['_connector']=_0x309e05,this['_defaultContext']=_0x548b9b;}async getAllContexts(){return this['_contextsRequest']||(this['_contextsRequest']=this['_connector']['listContexts']()['getContexts']()['catch'](_0x2841f2=>{throw this['_contextsRequest']=null,_0x2841f2;})),[...await this['_contextsRequest']];}async getAvailableContexts(){const _0x3746f2=await this['getAllContexts'](),_0x50f605=new Set((this['_defaultContext']??[])['map'](_0x200035=>_0x200035['id']));return _0x3746f2['filter'](_0x2414c5=>!_0x50f605['has'](_0x2414c5['id']));}resolveContext({feature:_0x513db2,ids:_0x464d39=[],extraContexts:_0x1a1e72=[],idScopedOnly:_0x2eb8a6=!0x1,context:_0x17e022}){const _0x2a2565=this['_resolveDefaultContext'](_0x513db2,_0x464d39,_0x2eb8a6);return _0x17e022['addDefaultContext']([..._0x2a2565,..._0x1a1e72]),_0x17e022;}_resolveDefaultContext(_0x2c920a,_0x2a860d,_0x347ca4=!0x1){if(!this['_defaultContext'])return[];const _0x5c02a4=[];for(const _0x56960f of this['_defaultContext'])this['_entryAppliesToFeature'](_0x56960f['features'],_0x2c920a,_0x2a860d)&&(_0x347ca4&&this['_entryAppliesToFeature'](_0x56960f['features'],_0x2c920a,[])||_0x5c02a4['push'](this['_toContextRef'](_0x56960f)));return _0x5c02a4;}_toContextRef(_0x49cf05){return'promptId'in _0x49cf05?{'id':_0x49cf05['id'],'promptId':_0x49cf05['promptId']}:'fileId'in _0x49cf05?{'id':_0x49cf05['id'],'fileId':_0x49cf05['fileId']}:{'id':_0x49cf05['id']};}_entryAppliesToFeature(_0x5d7bda,_0xf780e9,_0x449dfc){if(!_0x5d7bda)return!0x0;const _0x29eb2d=_0x5d7bda[_0xf780e9];return!!_0x29eb2d&&(!0x0===_0x29eb2d||_0x449dfc['some'](_0x2f41e6=>_0x29eb2d['test'](_0x2f41e6)));}},_0x23dba1=class extends _0x491313['ContextPlugin']{['models'];contextLibrary;static get['pluginName'](){return'AICore';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x31ca03];}init(){const _0x5bc179=this['context']['plugins']['get'](_0x31ca03);this['models']=new _0x49f0ae({'connector':_0x5bc179,'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']}),this['contextLibrary']=new _0xf7af3({'connector':_0x5bc179,'defaultContext':this['context']['config']['get']('ai.defaultContext')});}};function _0x483724(_0x2e5c28){return _0x2e5c28?_0x2e5c28 instanceof _0x491313['Editor']?[_0x2e5c28]:_0x2e5c28['editors']&&0x0!==_0x2e5c28['editors']['length']?Array['from'](_0x2e5c28['editors']):[]:[];}function _0x4775f6(_0x2af3c0){const _0x1852f9=_0x483724(_0x2af3c0);if(!_0x1852f9['length'])throw new _0x491313['CKEditorError']('ai-get-editor-from-context-no-editor');if(0x1===_0x1852f9['length'])return _0x1852f9[0x0];const _0x58acb1=_0x1852f9['find'](_0xdb0e12=>_0xdb0e12['ui']?.['focusTracker']?.['isFocused']);if(_0x58acb1)return _0x58acb1;const _0xbe3d86=function(_0x4fca8){if(_0x4fca8 instanceof _0x491313['Editor'])return;const _0x3189fc=_0x4fca8;if(!_0x3189fc['plugins']||!_0x3189fc['plugins']['has']('AIEditing'))return;return _0x3189fc['plugins']['get']('AIEditing')['getLastContentFocusedEditor']?.();}(_0x2af3c0);return _0xbe3d86&&_0x1852f9['includes'](_0xbe3d86)?_0xbe3d86:_0x1852f9[0x0];}const _0x217f93=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\x00\x00\x00\x00\x00\x00ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\x5cbfms\x7f\u0084\u008b\u0090\u0095\u0098¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp\u009d¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\x00\x00\x00͔͂\x00Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\x00\x00ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\x00\x00ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\x00ц\x00ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\x00ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\x00\x00ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\x00\x00֣mallSquare;旼erySmallSquare;斪Ͱֺ\x00ֿ\x00\x00ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\x00ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻\x22䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\x00ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀\u205f\u200aSpace;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\x00጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\x00ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭍᭒\x00᯽\x00ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\x00ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\x00\x00᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\x00ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\x00\x00ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ\u2000\x00\u2008⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\x00\x00᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\x00ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\x00⁐β•‥‧‪‬\x00‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻¾䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\x00⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\x00⧣p肻\u00a0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\x00\x00⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥ⵲ⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\x00\x00⵼\x00ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\x00⹽\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\x00\x00⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'['split']('')['map'](_0x54deed=>_0x54deed['charCodeAt'](0x0))),_0x17e57e=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x5a7771=>_0x5a7771['charCodeAt'](0x0)));var _0x1d1359;const _0x440476=new Map([[0x0,0xfffd],[0x80,0x20ac],[0x82,0x201a],[0x83,0x192],[0x84,0x201e],[0x85,0x2026],[0x86,0x2020],[0x87,0x2021],[0x88,0x2c6],[0x89,0x2030],[0x8a,0x160],[0x8b,0x2039],[0x8c,0x152],[0x8e,0x17d],[0x91,0x2018],[0x92,0x2019],[0x93,0x201c],[0x94,0x201d],[0x95,0x2022],[0x96,0x2013],[0x97,0x2014],[0x98,0x2dc],[0x99,0x2122],[0x9a,0x161],[0x9b,0x203a],[0x9c,0x153],[0x9e,0x17e],[0x9f,0x178]]),_0x140ddf=null!==(_0x1d1359=String['fromCodePoint'])&&void 0x0!==_0x1d1359?_0x1d1359:function(_0x4fb46c){let _0x282957='';return _0x4fb46c>0xffff&&(_0x4fb46c-=0x10000,_0x282957+=String['fromCharCode'](_0x4fb46c>>>0xa&0x3ff|0xd800),_0x4fb46c=0xdc00|0x3ff&_0x4fb46c),_0x282957+=String['fromCharCode'](_0x4fb46c),_0x282957;};var _0x2816a2;!function(_0x2670a9){_0x2670a9[_0x2670a9['NUM']=0x23]='NUM',_0x2670a9[_0x2670a9['SEMI']=0x3b]='SEMI',_0x2670a9[_0x2670a9['EQUALS']=0x3d]='EQUALS',_0x2670a9[_0x2670a9['ZERO']=0x30]='ZERO',_0x2670a9[_0x2670a9['NINE']=0x39]='NINE',_0x2670a9[_0x2670a9['LOWER_A']=0x61]='LOWER_A',_0x2670a9[_0x2670a9['LOWER_F']=0x66]='LOWER_F',_0x2670a9[_0x2670a9['LOWER_X']=0x78]='LOWER_X',_0x2670a9[_0x2670a9['LOWER_Z']=0x7a]='LOWER_Z',_0x2670a9[_0x2670a9['UPPER_A']=0x41]='UPPER_A',_0x2670a9[_0x2670a9['UPPER_F']=0x46]='UPPER_F',_0x2670a9[_0x2670a9['UPPER_Z']=0x5a]='UPPER_Z';}(_0x2816a2||(_0x2816a2={}));var _0x18c344,_0x162207,_0x177cf9;function _0x31af57(_0x26a878){return _0x26a878>=_0x2816a2['ZERO']&&_0x26a878<=_0x2816a2['NINE'];}function _0x2fd473(_0x2ec156){return _0x2ec156>=_0x2816a2['UPPER_A']&&_0x2ec156<=_0x2816a2['UPPER_F']||_0x2ec156>=_0x2816a2['LOWER_A']&&_0x2ec156<=_0x2816a2['LOWER_F'];}function _0x5819df(_0x36a002){return _0x36a002===_0x2816a2['EQUALS']||function(_0x401edf){return _0x401edf>=_0x2816a2['UPPER_A']&&_0x401edf<=_0x2816a2['UPPER_Z']||_0x401edf>=_0x2816a2['LOWER_A']&&_0x401edf<=_0x2816a2['LOWER_Z']||_0x31af57(_0x401edf);}(_0x36a002);}!function(_0x50c380){_0x50c380[_0x50c380['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x50c380[_0x50c380['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x50c380[_0x50c380['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x18c344||(_0x18c344={})),function(_0x52c770){_0x52c770[_0x52c770['EntityStart']=0x0]='EntityStart',_0x52c770[_0x52c770['NumericStart']=0x1]='NumericStart',_0x52c770[_0x52c770['NumericDecimal']=0x2]='NumericDecimal',_0x52c770[_0x52c770['NumericHex']=0x3]='NumericHex',_0x52c770[_0x52c770['NamedEntity']=0x4]='NamedEntity';}(_0x162207||(_0x162207={})),function(_0x2c38ad){_0x2c38ad[_0x2c38ad['Legacy']=0x0]='Legacy',_0x2c38ad[_0x2c38ad['Strict']=0x1]='Strict',_0x2c38ad[_0x2c38ad['Attribute']=0x2]='Attribute';}(_0x177cf9||(_0x177cf9={}));var _0x479b00,_0x5ba7f5,_0x134cf8,_0x2f4b62=class{constructor(_0xd844ee,_0x1a66e5,_0x564a31){this['decodeTree']=_0xd844ee,this['emitCodePoint']=_0x1a66e5,this['errors']=_0x564a31,this['state']=_0x162207['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0x177cf9['Strict'];}startEntity(_0x3c4601){this['decodeMode']=_0x3c4601,this['state']=_0x162207['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}write(_0x4d85fe,_0x91e468){switch(this['state']){case _0x162207['EntityStart']:return _0x4d85fe['charCodeAt'](_0x91e468)===_0x2816a2['NUM']?(this['state']=_0x162207['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x4d85fe,_0x91e468+0x1)):(this['state']=_0x162207['NamedEntity'],this['stateNamedEntity'](_0x4d85fe,_0x91e468));case _0x162207['NumericStart']:return this['stateNumericStart'](_0x4d85fe,_0x91e468);case _0x162207['NumericDecimal']:return this['stateNumericDecimal'](_0x4d85fe,_0x91e468);case _0x162207['NumericHex']:return this['stateNumericHex'](_0x4d85fe,_0x91e468);case _0x162207['NamedEntity']:return this['stateNamedEntity'](_0x4d85fe,_0x91e468);}}stateNumericStart(_0x26a34e,_0x2ed3c2){return _0x2ed3c2>=_0x26a34e['length']?-0x1:(0x20|_0x26a34e['charCodeAt'](_0x2ed3c2))===_0x2816a2['LOWER_X']?(this['state']=_0x162207['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x26a34e,_0x2ed3c2+0x1)):(this['state']=_0x162207['NumericDecimal'],this['stateNumericDecimal'](_0x26a34e,_0x2ed3c2));}addToNumericResult(_0x589778,_0x321ccb,_0x77ad25,_0x1834e8){if(_0x321ccb!==_0x77ad25){const _0x5447f1=_0x77ad25-_0x321ccb;this['result']=this['result']*Math['pow'](_0x1834e8,_0x5447f1)+Number['parseInt'](_0x589778['substr'](_0x321ccb,_0x5447f1),_0x1834e8),this['consumed']+=_0x5447f1;}}stateNumericHex(_0x41080c,_0x5928a5){const _0x3c5d6c=_0x5928a5;for(;_0x5928a5<_0x41080c['length'];){const _0x30d650=_0x41080c['charCodeAt'](_0x5928a5);if(!_0x31af57(_0x30d650)&&!_0x2fd473(_0x30d650))return this['addToNumericResult'](_0x41080c,_0x3c5d6c,_0x5928a5,0x10),this['emitNumericEntity'](_0x30d650,0x3);_0x5928a5+=0x1;}return this['addToNumericResult'](_0x41080c,_0x3c5d6c,_0x5928a5,0x10),-0x1;}stateNumericDecimal(_0x529081,_0x2cc95c){const _0x1cddbd=_0x2cc95c;for(;_0x2cc95c<_0x529081['length'];){const _0x474bc5=_0x529081['charCodeAt'](_0x2cc95c);if(!_0x31af57(_0x474bc5))return this['addToNumericResult'](_0x529081,_0x1cddbd,_0x2cc95c,0xa),this['emitNumericEntity'](_0x474bc5,0x2);_0x2cc95c+=0x1;}return this['addToNumericResult'](_0x529081,_0x1cddbd,_0x2cc95c,0xa),-0x1;}emitNumericEntity(_0x3f11ae,_0x44649a){var _0x3259bd;if(this['consumed']<=_0x44649a)return null===(_0x3259bd=this['errors'])||void 0x0===_0x3259bd||_0x3259bd['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x3f11ae===_0x2816a2['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0x177cf9['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x29a41c){var _0x5ccb27;return _0x29a41c>=0xd800&&_0x29a41c<=0xdfff||_0x29a41c>0x10ffff?0xfffd:null!==(_0x5ccb27=_0x440476['get'](_0x29a41c))&&void 0x0!==_0x5ccb27?_0x5ccb27:_0x29a41c;}(this['result']),this['consumed']),this['errors']&&(_0x3f11ae!==_0x2816a2['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}stateNamedEntity(_0x5a6001,_0x363e5f){const {decodeTree:_0x2291b9}=this;let _0x5e3f64=_0x2291b9[this['treeIndex']],_0x3345b0=(_0x5e3f64&_0x18c344['VALUE_LENGTH'])>>0xe;for(;_0x363e5f<_0x5a6001['length'];_0x363e5f++,this['excess']++){const _0x20fb82=_0x5a6001['charCodeAt'](_0x363e5f);if(this['treeIndex']=_0x3539de(_0x2291b9,_0x5e3f64,this['treeIndex']+Math['max'](0x1,_0x3345b0),_0x20fb82),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0x177cf9['Attribute']&&(0x0===_0x3345b0||_0x5819df(_0x20fb82))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x5e3f64=_0x2291b9[this['treeIndex']],_0x3345b0=(_0x5e3f64&_0x18c344['VALUE_LENGTH'])>>0xe,0x0!==_0x3345b0){if(_0x20fb82===_0x2816a2['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x3345b0,this['consumed']+this['excess']);this['decodeMode']!==_0x177cf9['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}emitNotTerminatedNamedEntity(){var _0xd4abd8;const {result:_0x43dbab,decodeTree:_0x1f4099}=this,_0x2f7f33=(_0x1f4099[_0x43dbab]&_0x18c344['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x43dbab,_0x2f7f33,this['consumed']),null===(_0xd4abd8=this['errors'])||void 0x0===_0xd4abd8||_0xd4abd8['missingSemicolonAfterCharacterReference'](),this['consumed'];}emitNamedEntityData(_0x428b9a,_0x4920b6,_0x33fd26){const {decodeTree:_0x5ab1a6}=this;return this['emitCodePoint'](0x1===_0x4920b6?_0x5ab1a6[_0x428b9a]&~_0x18c344['VALUE_LENGTH']:_0x5ab1a6[_0x428b9a+0x1],_0x33fd26),0x3===_0x4920b6&&this['emitCodePoint'](_0x5ab1a6[_0x428b9a+0x2],_0x33fd26),_0x33fd26;}['end'](){var _0x200e2b;switch(this['state']){case _0x162207['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0x177cf9['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case _0x162207['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case _0x162207['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case _0x162207['NumericStart']:return null===(_0x200e2b=this['errors'])||void 0x0===_0x200e2b||_0x200e2b['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case _0x162207['EntityStart']:return 0x0;}}};function _0x3539de(_0x37f22a,_0x12ed3e,_0x20416c,_0x4d020a){const _0x20d8e0=(_0x12ed3e&_0x18c344['BRANCH_LENGTH'])>>0x7,_0x343c55=_0x12ed3e&_0x18c344['JUMP_TABLE'];if(0x0===_0x20d8e0)return 0x0!==_0x343c55&&_0x4d020a===_0x343c55?_0x20416c:-0x1;if(_0x343c55){const _0x346489=_0x4d020a-_0x343c55;return _0x346489<0x0||_0x346489>=_0x20d8e0?-0x1:_0x37f22a[_0x20416c+_0x346489]-0x1;}let _0x5dbf34=_0x20416c,_0x82c8bd=_0x5dbf34+_0x20d8e0-0x1;for(;_0x5dbf34<=_0x82c8bd;){const _0x4286c9=_0x5dbf34+_0x82c8bd>>>0x1,_0xbdc744=_0x37f22a[_0x4286c9];if(_0xbdc744<_0x4d020a)_0x5dbf34=_0x4286c9+0x1;else{if(!(_0xbdc744>_0x4d020a))return _0x37f22a[_0x4286c9+_0x20d8e0];_0x82c8bd=_0x4286c9-0x1;}}return-0x1;}function _0x57b29c(_0x1ce37f){return _0x1ce37f===_0x479b00['Space']||_0x1ce37f===_0x479b00['NewLine']||_0x1ce37f===_0x479b00['Tab']||_0x1ce37f===_0x479b00['FormFeed']||_0x1ce37f===_0x479b00['CarriageReturn'];}function _0x27f775(_0x358cde){return _0x358cde===_0x479b00['Slash']||_0x358cde===_0x479b00['Gt']||_0x57b29c(_0x358cde);}!function(_0x55706c){_0x55706c[_0x55706c['Tab']=0x9]='Tab',_0x55706c[_0x55706c['NewLine']=0xa]='NewLine',_0x55706c[_0x55706c['FormFeed']=0xc]='FormFeed',_0x55706c[_0x55706c['CarriageReturn']=0xd]='CarriageReturn',_0x55706c[_0x55706c['Space']=0x20]='Space',_0x55706c[_0x55706c['ExclamationMark']=0x21]='ExclamationMark',_0x55706c[_0x55706c['Number']=0x23]='Number',_0x55706c[_0x55706c['Amp']=0x26]='Amp',_0x55706c[_0x55706c['SingleQuote']=0x27]='SingleQuote',_0x55706c[_0x55706c['DoubleQuote']=0x22]='DoubleQuote',_0x55706c[_0x55706c['Dash']=0x2d]='Dash',_0x55706c[_0x55706c['Slash']=0x2f]='Slash',_0x55706c[_0x55706c['Zero']=0x30]='Zero',_0x55706c[_0x55706c['Nine']=0x39]='Nine',_0x55706c[_0x55706c['Semi']=0x3b]='Semi',_0x55706c[_0x55706c['Lt']=0x3c]='Lt',_0x55706c[_0x55706c['Eq']=0x3d]='Eq',_0x55706c[_0x55706c['Gt']=0x3e]='Gt',_0x55706c[_0x55706c['Questionmark']=0x3f]='Questionmark',_0x55706c[_0x55706c['UpperA']=0x41]='UpperA',_0x55706c[_0x55706c['LowerA']=0x61]='LowerA',_0x55706c[_0x55706c['UpperF']=0x46]='UpperF',_0x55706c[_0x55706c['LowerF']=0x66]='LowerF',_0x55706c[_0x55706c['UpperZ']=0x5a]='UpperZ',_0x55706c[_0x55706c['LowerZ']=0x7a]='LowerZ',_0x55706c[_0x55706c['LowerX']=0x78]='LowerX',_0x55706c[_0x55706c['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0x479b00||(_0x479b00={})),function(_0x2ed30d){_0x2ed30d[_0x2ed30d['Text']=0x1]='Text',_0x2ed30d[_0x2ed30d['BeforeTagName']=0x2]='BeforeTagName',_0x2ed30d[_0x2ed30d['InTagName']=0x3]='InTagName',_0x2ed30d[_0x2ed30d['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x2ed30d[_0x2ed30d['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x2ed30d[_0x2ed30d['InClosingTagName']=0x6]='InClosingTagName',_0x2ed30d[_0x2ed30d['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x2ed30d[_0x2ed30d['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x2ed30d[_0x2ed30d['InAttributeName']=0x9]='InAttributeName',_0x2ed30d[_0x2ed30d['AfterAttributeName']=0xa]='AfterAttributeName',_0x2ed30d[_0x2ed30d['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x2ed30d[_0x2ed30d['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x2ed30d[_0x2ed30d['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x2ed30d[_0x2ed30d['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x2ed30d[_0x2ed30d['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x2ed30d[_0x2ed30d['InDeclaration']=0x10]='InDeclaration',_0x2ed30d[_0x2ed30d['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x2ed30d[_0x2ed30d['BeforeComment']=0x12]='BeforeComment',_0x2ed30d[_0x2ed30d['CDATASequence']=0x13]='CDATASequence',_0x2ed30d[_0x2ed30d['InSpecialComment']=0x14]='InSpecialComment',_0x2ed30d[_0x2ed30d['InCommentLike']=0x15]='InCommentLike',_0x2ed30d[_0x2ed30d['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x2ed30d[_0x2ed30d['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x2ed30d[_0x2ed30d['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x2ed30d[_0x2ed30d['InSpecialTag']=0x19]='InSpecialTag',_0x2ed30d[_0x2ed30d['InEntity']=0x1a]='InEntity';}(_0x5ba7f5||(_0x5ba7f5={})),function(_0x300172){_0x300172[_0x300172['NoValue']=0x0]='NoValue',_0x300172[_0x300172['Unquoted']=0x1]='Unquoted',_0x300172[_0x300172['Single']=0x2]='Single',_0x300172[_0x300172['Double']=0x3]='Double';}(_0x134cf8||(_0x134cf8={}));const _0x777df1={'Cdata':new Uint8Array([0x43,0x44,0x41,0x54,0x41,0x5b]),'CdataEnd':new Uint8Array([0x5d,0x5d,0x3e]),'CommentEnd':new Uint8Array([0x2d,0x2d,0x3e]),'ScriptEnd':new Uint8Array([0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74]),'StyleEnd':new Uint8Array([0x3c,0x2f,0x73,0x74,0x79,0x6c,0x65]),'TitleEnd':new Uint8Array([0x3c,0x2f,0x74,0x69,0x74,0x6c,0x65]),'TextareaEnd':new Uint8Array([0x3c,0x2f,0x74,0x65,0x78,0x74,0x61,0x72,0x65,0x61]),'XmpEnd':new Uint8Array([0x3c,0x2f,0x78,0x6d,0x70])};var _0x307d25=class{constructor({xmlMode:_0x35ead4=!0x1,decodeEntities:_0x4dc301=!0x0},_0x483564){this['cbs']=_0x483564,this['state']=_0x5ba7f5['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=_0x5ba7f5['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x35ead4,this['decodeEntities']=_0x4dc301,this['entityDecoder']=new _0x2f4b62(_0x35ead4?_0x17e57e:_0x217f93,(_0x327fde,_0x2dcfea)=>this['emitCodePoint'](_0x327fde,_0x2dcfea));}reset(){this['state']=_0x5ba7f5['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=_0x5ba7f5['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}write(_0x2c1bee){this['offset']+=this['buffer']['length'],this['buffer']=_0x2c1bee,this['parse']();}['end'](){this['running']&&this['finish']();}['pause'](){this['running']=!0x1;}['resume'](){this['running']=!0x0,this['index']<this['buffer']['length']+this['offset']&&this['parse']();}stateText(_0x33c0fa){_0x33c0fa===_0x479b00['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0x479b00['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=_0x5ba7f5['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x33c0fa===_0x479b00['Amp']&&this['startEntity']();}stateSpecialStartSequence(_0x2f5267){const _0x407969=this['sequenceIndex']===this['currentSequence']['length'];if(_0x407969?_0x27f775(_0x2f5267):(0x20|_0x2f5267)===this['currentSequence'][this['sequenceIndex']]){if(!_0x407969)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=_0x5ba7f5['InTagName'],this['stateInTagName'](_0x2f5267);}stateInSpecialTag(_0x1933ad){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x1933ad===_0x479b00['Gt']||_0x57b29c(_0x1933ad)){const _0x465de6=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x465de6){const _0x81a1a0=this['index'];this['index']=_0x465de6,this['cbs']['ontext'](this['sectionStart'],_0x465de6),this['index']=_0x81a1a0;}return this['isSpecial']=!0x1,this['sectionStart']=_0x465de6+0x2,void this['stateInClosingTagName'](_0x1933ad);}this['sequenceIndex']=0x0;}(0x20|_0x1933ad)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x777df1['TitleEnd']?this['decodeEntities']&&_0x1933ad===_0x479b00['Amp']&&this['startEntity']():this['fastForwardTo'](_0x479b00['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x1933ad===_0x479b00['Lt']);}stateCDATASequence(_0x210f8c){_0x210f8c===_0x777df1['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x777df1['Cdata']['length']&&(this['state']=_0x5ba7f5['InCommentLike'],this['currentSequence']=_0x777df1['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=_0x5ba7f5['InDeclaration'],this['stateInDeclaration'](_0x210f8c));}fastForwardTo(_0x56f40f){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x56f40f)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}stateInCommentLike(_0x2a7122){_0x2a7122===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x777df1['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],this['index'],0x2):this['cbs']['oncomment'](this['sectionStart'],this['index'],0x2),this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1,this['state']=_0x5ba7f5['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x2a7122!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}isTagStartChar(_0x63fc7f){return this['xmlMode']?!_0x27f775(_0x63fc7f):function(_0x123b47){return _0x123b47>=_0x479b00['LowerA']&&_0x123b47<=_0x479b00['LowerZ']||_0x123b47>=_0x479b00['UpperA']&&_0x123b47<=_0x479b00['UpperZ'];}(_0x63fc7f);}startSpecial(_0x442518,_0x6e2b80){this['isSpecial']=!0x0,this['currentSequence']=_0x442518,this['sequenceIndex']=_0x6e2b80,this['state']=_0x5ba7f5['SpecialStartSequence'];}stateBeforeTagName(_0x7bc887){if(_0x7bc887===_0x479b00['ExclamationMark'])this['state']=_0x5ba7f5['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x7bc887===_0x479b00['Questionmark'])this['state']=_0x5ba7f5['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x7bc887)){const _0x527828=0x20|_0x7bc887;this['sectionStart']=this['index'],this['xmlMode']?this['state']=_0x5ba7f5['InTagName']:_0x527828===_0x777df1['ScriptEnd'][0x2]?this['state']=_0x5ba7f5['BeforeSpecialS']:_0x527828===_0x777df1['TitleEnd'][0x2]||_0x527828===_0x777df1['XmpEnd'][0x2]?this['state']=_0x5ba7f5['BeforeSpecialT']:this['state']=_0x5ba7f5['InTagName'];}else _0x7bc887===_0x479b00['Slash']?this['state']=_0x5ba7f5['BeforeClosingTagName']:(this['state']=_0x5ba7f5['Text'],this['stateText'](_0x7bc887));}}}stateInTagName(_0x468996){_0x27f775(_0x468996)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=_0x5ba7f5['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x468996));}stateBeforeClosingTagName(_0x524724){_0x57b29c(_0x524724)||(_0x524724===_0x479b00['Gt']?this['state']=_0x5ba7f5['Text']:(this['state']=this['isTagStartChar'](_0x524724)?_0x5ba7f5['InClosingTagName']:_0x5ba7f5['InSpecialComment'],this['sectionStart']=this['index']));}stateInClosingTagName(_0x28cd2f){(_0x28cd2f===_0x479b00['Gt']||_0x57b29c(_0x28cd2f))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=_0x5ba7f5['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x28cd2f));}stateAfterClosingTagName(_0x1b3f55){(_0x1b3f55===_0x479b00['Gt']||this['fastForwardTo'](_0x479b00['Gt']))&&(this['state']=_0x5ba7f5['Text'],this['sectionStart']=this['index']+0x1);}stateBeforeAttributeName(_0x57aae0){_0x57aae0===_0x479b00['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=_0x5ba7f5['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=_0x5ba7f5['Text'],this['sectionStart']=this['index']+0x1):_0x57aae0===_0x479b00['Slash']?this['state']=_0x5ba7f5['InSelfClosingTag']:_0x57b29c(_0x57aae0)||(this['state']=_0x5ba7f5['InAttributeName'],this['sectionStart']=this['index']);}stateInSelfClosingTag(_0x334512){_0x334512===_0x479b00['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=_0x5ba7f5['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):_0x57b29c(_0x334512)||(this['state']=_0x5ba7f5['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x334512));}stateInAttributeName(_0x3abb9b){(_0x3abb9b===_0x479b00['Eq']||_0x27f775(_0x3abb9b))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=_0x5ba7f5['AfterAttributeName'],this['stateAfterAttributeName'](_0x3abb9b));}stateAfterAttributeName(_0x4dee4f){_0x4dee4f===_0x479b00['Eq']?this['state']=_0x5ba7f5['BeforeAttributeValue']:_0x4dee4f===_0x479b00['Slash']||_0x4dee4f===_0x479b00['Gt']?(this['cbs']['onattribend'](_0x134cf8['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=_0x5ba7f5['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x4dee4f)):_0x57b29c(_0x4dee4f)||(this['cbs']['onattribend'](_0x134cf8['NoValue'],this['sectionStart']),this['state']=_0x5ba7f5['InAttributeName'],this['sectionStart']=this['index']);}stateBeforeAttributeValue(_0x21dbbd){_0x21dbbd===_0x479b00['DoubleQuote']?(this['state']=_0x5ba7f5['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x21dbbd===_0x479b00['SingleQuote']?(this['state']=_0x5ba7f5['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):_0x57b29c(_0x21dbbd)||(this['sectionStart']=this['index'],this['state']=_0x5ba7f5['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x21dbbd));}handleInAttributeValue(_0x2462f9,_0x575847){_0x2462f9===_0x575847||!this['decodeEntities']&&this['fastForwardTo'](_0x575847)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x575847===_0x479b00['DoubleQuote']?_0x134cf8['Double']:_0x134cf8['Single'],this['index']+0x1),this['state']=_0x5ba7f5['BeforeAttributeName']):this['decodeEntities']&&_0x2462f9===_0x479b00['Amp']&&this['startEntity']();}stateInAttributeValueDoubleQuotes(_0x35e980){this['handleInAttributeValue'](_0x35e980,_0x479b00['DoubleQuote']);}stateInAttributeValueSingleQuotes(_0x2d2bf9){this['handleInAttributeValue'](_0x2d2bf9,_0x479b00['SingleQuote']);}stateInAttributeValueNoQuotes(_0x33641d){_0x57b29c(_0x33641d)||_0x33641d===_0x479b00['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x134cf8['Unquoted'],this['index']),this['state']=_0x5ba7f5['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x33641d)):this['decodeEntities']&&_0x33641d===_0x479b00['Amp']&&this['startEntity']();}stateBeforeDeclaration(_0x197d76){_0x197d76===_0x479b00['OpeningSquareBracket']?(this['state']=_0x5ba7f5['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x197d76===_0x479b00['Dash']?_0x5ba7f5['BeforeComment']:_0x5ba7f5['InDeclaration'];}stateInDeclaration(_0x8a5b94){(_0x8a5b94===_0x479b00['Gt']||this['fastForwardTo'](_0x479b00['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=_0x5ba7f5['Text'],this['sectionStart']=this['index']+0x1);}stateInProcessingInstruction(_0x51c3e7){(_0x51c3e7===_0x479b00['Gt']||this['fastForwardTo'](_0x479b00['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=_0x5ba7f5['Text'],this['sectionStart']=this['index']+0x1);}stateBeforeComment(_0x41d4d7){_0x41d4d7===_0x479b00['Dash']?(this['state']=_0x5ba7f5['InCommentLike'],this['currentSequence']=_0x777df1['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=_0x5ba7f5['InDeclaration'];}stateInSpecialComment(_0x23ede6){(_0x23ede6===_0x479b00['Gt']||this['fastForwardTo'](_0x479b00['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=_0x5ba7f5['Text'],this['sectionStart']=this['index']+0x1);}stateBeforeSpecialS(_0x2dfdb7){const _0x12ee18=0x20|_0x2dfdb7;_0x12ee18===_0x777df1['ScriptEnd'][0x3]?this['startSpecial'](_0x777df1['ScriptEnd'],0x4):_0x12ee18===_0x777df1['StyleEnd'][0x3]?this['startSpecial'](_0x777df1['StyleEnd'],0x4):(this['state']=_0x5ba7f5['InTagName'],this['stateInTagName'](_0x2dfdb7));}stateBeforeSpecialT(_0x50d4b0){switch(0x20|_0x50d4b0){case _0x777df1['TitleEnd'][0x3]:this['startSpecial'](_0x777df1['TitleEnd'],0x4);break;case _0x777df1['TextareaEnd'][0x3]:this['startSpecial'](_0x777df1['TextareaEnd'],0x4);break;case _0x777df1['XmpEnd'][0x3]:this['startSpecial'](_0x777df1['XmpEnd'],0x4);break;default:this['state']=_0x5ba7f5['InTagName'],this['stateInTagName'](_0x50d4b0);}}startEntity(){this['baseState']=this['state'],this['state']=_0x5ba7f5['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0x177cf9['Strict']:this['baseState']===_0x5ba7f5['Text']||this['baseState']===_0x5ba7f5['InSpecialTag']?_0x177cf9['Legacy']:_0x177cf9['Attribute']);}stateInEntity(){const _0x12e6f5=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x12e6f5>=0x0?(this['state']=this['baseState'],0x0===_0x12e6f5&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===_0x5ba7f5['Text']||this['state']===_0x5ba7f5['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==_0x5ba7f5['InAttributeValueDq']&&this['state']!==_0x5ba7f5['InAttributeValueSq']&&this['state']!==_0x5ba7f5['InAttributeValueNq']||(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=this['index']));}shouldContinue(){return this['index']<this['buffer']['length']+this['offset']&&this['running'];}['parse'](){for(;this['shouldContinue']();){const _0x4763a9=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case _0x5ba7f5['Text']:this['stateText'](_0x4763a9);break;case _0x5ba7f5['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x4763a9);break;case _0x5ba7f5['InSpecialTag']:this['stateInSpecialTag'](_0x4763a9);break;case _0x5ba7f5['CDATASequence']:this['stateCDATASequence'](_0x4763a9);break;case _0x5ba7f5['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x4763a9);break;case _0x5ba7f5['InAttributeName']:this['stateInAttributeName'](_0x4763a9);break;case _0x5ba7f5['InCommentLike']:this['stateInCommentLike'](_0x4763a9);break;case _0x5ba7f5['InSpecialComment']:this['stateInSpecialComment'](_0x4763a9);break;case _0x5ba7f5['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x4763a9);break;case _0x5ba7f5['InTagName']:this['stateInTagName'](_0x4763a9);break;case _0x5ba7f5['InClosingTagName']:this['stateInClosingTagName'](_0x4763a9);break;case _0x5ba7f5['BeforeTagName']:this['stateBeforeTagName'](_0x4763a9);break;case _0x5ba7f5['AfterAttributeName']:this['stateAfterAttributeName'](_0x4763a9);break;case _0x5ba7f5['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x4763a9);break;case _0x5ba7f5['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x4763a9);break;case _0x5ba7f5['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x4763a9);break;case _0x5ba7f5['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x4763a9);break;case _0x5ba7f5['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x4763a9);break;case _0x5ba7f5['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x4763a9);break;case _0x5ba7f5['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x4763a9);break;case _0x5ba7f5['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x4763a9);break;case _0x5ba7f5['InDeclaration']:this['stateInDeclaration'](_0x4763a9);break;case _0x5ba7f5['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x4763a9);break;case _0x5ba7f5['BeforeComment']:this['stateBeforeComment'](_0x4763a9);break;case _0x5ba7f5['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x4763a9);break;case _0x5ba7f5['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===_0x5ba7f5['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}handleTrailingData(){const _0x2f0136=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x2f0136||(this['state']===_0x5ba7f5['InCommentLike']?this['currentSequence']===_0x777df1['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x2f0136,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x2f0136,0x0):this['state']===_0x5ba7f5['InTagName']||this['state']===_0x5ba7f5['BeforeAttributeName']||this['state']===_0x5ba7f5['BeforeAttributeValue']||this['state']===_0x5ba7f5['AfterAttributeName']||this['state']===_0x5ba7f5['InAttributeName']||this['state']===_0x5ba7f5['InAttributeValueSq']||this['state']===_0x5ba7f5['InAttributeValueDq']||this['state']===_0x5ba7f5['InAttributeValueNq']||this['state']===_0x5ba7f5['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x2f0136));}emitCodePoint(_0x14a363,_0x368283){this['baseState']!==_0x5ba7f5['Text']&&this['baseState']!==_0x5ba7f5['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x368283,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x14a363)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x368283,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x14a363,this['sectionStart']));}};const _0x33d5d2=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x4222fb=new Set(['p']),_0x4faa1e=new Set(['thead','tbody']),_0x55614e=new Set(['dd','dt']),_0x44a267=new Set(['rt','rp']),ti=new Map([['tr',new Set(['tr','th','td'])],['th',new Set(['th'])],['td',new Set(['thead','th','td'])],['body',new Set(['head','link','script'])],['li',new Set(['li'])],['p',_0x4222fb],['h1',_0x4222fb],['h2',_0x4222fb],['h3',_0x4222fb],['h4',_0x4222fb],['h5',_0x4222fb],['h6',_0x4222fb],['select',_0x33d5d2],['input',_0x33d5d2],['output',_0x33d5d2],['button',_0x33d5d2],['datalist',_0x33d5d2],['textarea',_0x33d5d2],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',_0x55614e],['dt',_0x55614e],['address',_0x4222fb],['article',_0x4222fb],['aside',_0x4222fb],['blockquote',_0x4222fb],['details',_0x4222fb],['div',_0x4222fb],['dl',_0x4222fb],['fieldset',_0x4222fb],['figcaption',_0x4222fb],['figure',_0x4222fb],['footer',_0x4222fb],['form',_0x4222fb],['header',_0x4222fb],['hr',_0x4222fb],['main',_0x4222fb],['nav',_0x4222fb],['ol',_0x4222fb],['pre',_0x4222fb],['section',_0x4222fb],['table',_0x4222fb],['ul',_0x4222fb],['rt',_0x44a267],['rp',_0x44a267],['tbody',_0x4faa1e],['tfoot',_0x4faa1e]]),_0x446306=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),_0x21f6e0=new Set(['math','svg']),_0x57013d=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0x573b88=/\s|\//;var _0x19b363,_0x5c879d=class{constructor(_0x5cd33b,_0x4dc502={}){var _0x33c49f,_0x2ae89a,_0x3e2446,_0x543543,_0x4b4d49,_0x2c28a2;this['options']=_0x4dc502,this['startIndex']=0x0,this['endIndex']=0x0,this['openTagStart']=0x0,this['tagname']='',this['attribname']='',this['attribvalue']='',this['attribs']=null,this['stack']=[],this['buffers']=[],this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1,this['cbs']=null!=_0x5cd33b?_0x5cd33b:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x33c49f=_0x4dc502['lowerCaseTags'])&&void 0x0!==_0x33c49f?_0x33c49f:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x2ae89a=_0x4dc502['lowerCaseAttributeNames'])&&void 0x0!==_0x2ae89a?_0x2ae89a:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x3e2446=_0x4dc502['recognizeSelfClosing'])&&void 0x0!==_0x3e2446?_0x3e2446:!this['htmlMode'],this['tokenizer']=new(null!==(_0x543543=_0x4dc502['Tokenizer'])&&void 0x0!==_0x543543?_0x543543:_0x307d25)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x2c28a2=(_0x4b4d49=this['cbs'])['onparserinit'])||void 0x0===_0x2c28a2||_0x2c28a2['call'](_0x4b4d49,this);}ontext(_0x2e54a,_0x1eb19f){var _0x1432b3,_0x192a42;const _0x326f6d=this['getSlice'](_0x2e54a,_0x1eb19f);this['endIndex']=_0x1eb19f-0x1,null===(_0x192a42=(_0x1432b3=this['cbs'])['ontext'])||void 0x0===_0x192a42||_0x192a42['call'](_0x1432b3,_0x326f6d),this['startIndex']=_0x1eb19f;}ontextentity(_0x3b25d3,_0x3d7604){var _0x390bee,_0x2b1933;this['endIndex']=_0x3d7604-0x1,null===(_0x2b1933=(_0x390bee=this['cbs'])['ontext'])||void 0x0===_0x2b1933||_0x2b1933['call'](_0x390bee,_0x140ddf(_0x3b25d3)),this['startIndex']=_0x3d7604;}isVoidElement(_0x400457){return this['htmlMode']&&_0x446306['has'](_0x400457);}onopentagname(_0x57f414,_0x139abb){this['endIndex']=_0x139abb;let _0x47a47c=this['getSlice'](_0x57f414,_0x139abb);this['lowerCaseTagNames']&&(_0x47a47c=_0x47a47c['toLowerCase']()),this['emitOpenTag'](_0x47a47c);}emitOpenTag(_0x1a8d91){var _0x3ceea8,_0x53284f,_0x533990,_0xdb18e7;this['openTagStart']=this['startIndex'],this['tagname']=_0x1a8d91;const _0x20081c=this['htmlMode']&&ti['get'](_0x1a8d91);if(_0x20081c)for(;this['stack']['length']>0x0&&_0x20081c['has'](this['stack'][0x0]);){const _0x58aa43=this['stack']['shift']();null===(_0x53284f=(_0x3ceea8=this['cbs'])['onclosetag'])||void 0x0===_0x53284f||_0x53284f['call'](_0x3ceea8,_0x58aa43,!0x0);}this['isVoidElement'](_0x1a8d91)||(this['stack']['unshift'](_0x1a8d91),this['htmlMode']&&(_0x21f6e0['has'](_0x1a8d91)?this['foreignContext']['unshift'](!0x0):_0x57013d['has'](_0x1a8d91)&&this['foreignContext']['unshift'](!0x1))),null===(_0xdb18e7=(_0x533990=this['cbs'])['onopentagname'])||void 0x0===_0xdb18e7||_0xdb18e7['call'](_0x533990,_0x1a8d91),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x2b1dad){var _0x235ee7,_0x51a634;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x51a634=(_0x235ee7=this['cbs'])['onopentag'])||void 0x0===_0x51a634||_0x51a634['call'](_0x235ee7,this['tagname'],this['attribs'],_0x2b1dad),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}onopentagend(_0x39b2e9){this['endIndex']=_0x39b2e9,this['endOpenTag'](!0x1),this['startIndex']=_0x39b2e9+0x1;}onclosetag(_0x2a6022,_0x5623a4){var _0xa97a22,_0x257a6e,_0x13e135,_0x27f28e,_0x5e8197,_0x34555b,_0x4c7621,_0x47e1e5;this['endIndex']=_0x5623a4;let _0x2f613f=this['getSlice'](_0x2a6022,_0x5623a4);if(this['lowerCaseTagNames']&&(_0x2f613f=_0x2f613f['toLowerCase']()),this['htmlMode']&&(_0x21f6e0['has'](_0x2f613f)||_0x57013d['has'](_0x2f613f))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x2f613f))this['htmlMode']&&'br'===_0x2f613f&&(null===(_0x27f28e=(_0x13e135=this['cbs'])['onopentagname'])||void 0x0===_0x27f28e||_0x27f28e['call'](_0x13e135,'br'),null===(_0x34555b=(_0x5e8197=this['cbs'])['onopentag'])||void 0x0===_0x34555b||_0x34555b['call'](_0x5e8197,'br',{},!0x0),null===(_0x47e1e5=(_0x4c7621=this['cbs'])['onclosetag'])||void 0x0===_0x47e1e5||_0x47e1e5['call'](_0x4c7621,'br',!0x1));else{const _0xa33851=this['stack']['indexOf'](_0x2f613f);if(-0x1!==_0xa33851)for(let _0x40622d=0x0;_0x40622d<=_0xa33851;_0x40622d++){const _0x2e2a9=this['stack']['shift']();null===(_0x257a6e=(_0xa97a22=this['cbs'])['onclosetag'])||void 0x0===_0x257a6e||_0x257a6e['call'](_0xa97a22,_0x2e2a9,_0x40622d!==_0xa33851);}else this['htmlMode']&&'p'===_0x2f613f&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x5623a4+0x1;}onselfclosingtag(_0x4779e3){this['endIndex']=_0x4779e3,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x4779e3+0x1):this['onopentagend'](_0x4779e3);}closeCurrentTag(_0x25cf77){var _0x3b0b6a,_0x3c8827;const _0x1e1c56=this['tagname'];this['endOpenTag'](_0x25cf77),this['stack'][0x0]===_0x1e1c56&&(null===(_0x3c8827=(_0x3b0b6a=this['cbs'])['onclosetag'])||void 0x0===_0x3c8827||_0x3c8827['call'](_0x3b0b6a,_0x1e1c56,!_0x25cf77),this['stack']['shift']());}onattribname(_0xb1e192,_0x438578){this['startIndex']=_0xb1e192;const _0x1ad4d8=this['getSlice'](_0xb1e192,_0x438578);this['attribname']=this['lowerCaseAttributeNames']?_0x1ad4d8['toLowerCase']():_0x1ad4d8;}onattribdata(_0x49423f,_0x3cf424){this['attribvalue']+=this['getSlice'](_0x49423f,_0x3cf424);}onattribentity(_0x5d5c55){this['attribvalue']+=_0x140ddf(_0x5d5c55);}onattribend(_0xd217ea,_0x272d62){var _0x4cc12c,_0x52ad1f;this['endIndex']=_0x272d62,null===(_0x52ad1f=(_0x4cc12c=this['cbs'])['onattribute'])||void 0x0===_0x52ad1f||_0x52ad1f['call'](_0x4cc12c,this['attribname'],this['attribvalue'],_0xd217ea===_0x134cf8['Double']?'\x22':_0xd217ea===_0x134cf8['Single']?'\x27':_0xd217ea===_0x134cf8['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}getInstructionName(_0x4b0457){const _0x21420d=_0x4b0457['search'](_0x573b88);let _0x2f6bf5=_0x21420d<0x0?_0x4b0457:_0x4b0457['substr'](0x0,_0x21420d);return this['lowerCaseTagNames']&&(_0x2f6bf5=_0x2f6bf5['toLowerCase']()),_0x2f6bf5;}ondeclaration(_0x29140c,_0x150c94){this['endIndex']=_0x150c94;const _0x3bc7e9=this['getSlice'](_0x29140c,_0x150c94);if(this['cbs']['onprocessinginstruction']){const _0x21ce22=this['getInstructionName'](_0x3bc7e9);this['cbs']['onprocessinginstruction']('!'+_0x21ce22,'!'+_0x3bc7e9);}this['startIndex']=_0x150c94+0x1;}onprocessinginstruction(_0x2c3de8,_0x13178e){this['endIndex']=_0x13178e;const _0x469ffa=this['getSlice'](_0x2c3de8,_0x13178e);if(this['cbs']['onprocessinginstruction']){const _0x436e04=this['getInstructionName'](_0x469ffa);this['cbs']['onprocessinginstruction']('?'+_0x436e04,'?'+_0x469ffa);}this['startIndex']=_0x13178e+0x1;}oncomment(_0x189770,_0x47c6aa,_0x1c83ac){var _0x3664d2,_0x5a1bb4,_0x75f05c,_0x11cc69;this['endIndex']=_0x47c6aa,null===(_0x5a1bb4=(_0x3664d2=this['cbs'])['oncomment'])||void 0x0===_0x5a1bb4||_0x5a1bb4['call'](_0x3664d2,this['getSlice'](_0x189770,_0x47c6aa-_0x1c83ac)),null===(_0x11cc69=(_0x75f05c=this['cbs'])['oncommentend'])||void 0x0===_0x11cc69||_0x11cc69['call'](_0x75f05c),this['startIndex']=_0x47c6aa+0x1;}oncdata(_0x58be50,_0x50cad4,_0x3d18e4){var _0x3b1db0,_0xc806b2,_0x588cdf,_0xff3690,_0x57199c,_0x169f43,_0x10aa0b,_0xbab8bf,_0x1f7627,_0x1f5759;this['endIndex']=_0x50cad4;const _0x4851f0=this['getSlice'](_0x58be50,_0x50cad4-_0x3d18e4);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0xc806b2=(_0x3b1db0=this['cbs'])['oncdatastart'])||void 0x0===_0xc806b2||_0xc806b2['call'](_0x3b1db0),null===(_0xff3690=(_0x588cdf=this['cbs'])['ontext'])||void 0x0===_0xff3690||_0xff3690['call'](_0x588cdf,_0x4851f0),null===(_0x169f43=(_0x57199c=this['cbs'])['oncdataend'])||void 0x0===_0x169f43||_0x169f43['call'](_0x57199c)):(null===(_0xbab8bf=(_0x10aa0b=this['cbs'])['oncomment'])||void 0x0===_0xbab8bf||_0xbab8bf['call'](_0x10aa0b,'[CDATA['+_0x4851f0+']]'),null===(_0x1f5759=(_0x1f7627=this['cbs'])['oncommentend'])||void 0x0===_0x1f5759||_0x1f5759['call'](_0x1f7627)),this['startIndex']=_0x50cad4+0x1;}['onend'](){var _0x4e6bce,_0x1ebd45;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x1b31d9=0x0;_0x1b31d9<this['stack']['length'];_0x1b31d9++)this['cbs']['onclosetag'](this['stack'][_0x1b31d9],!0x0);}null===(_0x1ebd45=(_0x4e6bce=this['cbs'])['onend'])||void 0x0===_0x1ebd45||_0x1ebd45['call'](_0x4e6bce);}reset(){var _0x59e1ea,_0x1c6715,_0x1cdf11,_0xc3acd9;null===(_0x1c6715=(_0x59e1ea=this['cbs'])['onreset'])||void 0x0===_0x1c6715||_0x1c6715['call'](_0x59e1ea),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0xc3acd9=(_0x1cdf11=this['cbs'])['onparserinit'])||void 0x0===_0xc3acd9||_0xc3acd9['call'](_0x1cdf11,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}parseComplete(_0x432c08){this['reset'](),this['end'](_0x432c08);}getSlice(_0x2541fb,_0x45a9e0){for(;_0x2541fb-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x22bd47=this['buffers'][0x0]['slice'](_0x2541fb-this['bufferOffset'],_0x45a9e0-this['bufferOffset']);for(;_0x45a9e0-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x22bd47+=this['buffers'][0x0]['slice'](0x0,_0x45a9e0-this['bufferOffset']);return _0x22bd47;}shiftBuffer(){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}write(_0x19928d){var _0xc2700b,_0x5a806e;this['ended']?null===(_0x5a806e=(_0xc2700b=this['cbs'])['onerror'])||void 0x0===_0x5a806e||_0x5a806e['call'](_0xc2700b,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x19928d),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x19928d),this['writeIndex']++));}['end'](_0x37d480){var _0x4134d2,_0x19c765;this['ended']?null===(_0x19c765=(_0x4134d2=this['cbs'])['onerror'])||void 0x0===_0x19c765||_0x19c765['call'](_0x4134d2,new Error('.end()\x20after\x20done!')):(_0x37d480&&this['write'](_0x37d480),this['ended']=!0x0,this['tokenizer']['end']());}['pause'](){this['tokenizer']['pause']();}['resume'](){for(this['tokenizer']['resume']();this['tokenizer']['running']&&this['writeIndex']<this['buffers']['length'];)this['tokenizer']['write'](this['buffers'][this['writeIndex']++]);this['ended']&&this['tokenizer']['end']();}['parseChunk'](_0x534c5c){this['write'](_0x534c5c);}['done'](_0x1cc3ea){this['end'](_0x1cc3ea);}};!function(_0x167b8a){_0x167b8a['Root']='root',_0x167b8a['Text']='text',_0x167b8a['Directive']='directive',_0x167b8a['Comment']='comment',_0x167b8a['Script']='script',_0x167b8a['Style']='style',_0x167b8a['Tag']='tag',_0x167b8a['CDATA']='cdata',_0x167b8a['Doctype']='doctype';}(_0x19b363||(_0x19b363={}));const _0x4b54f5=_0x19b363['Root'],_0x6fe4c7=_0x19b363['Text'],_0x37fb39=_0x19b363['Directive'],_0x3a019d=_0x19b363['Comment'],_0x2e5bfe=_0x19b363['Script'],_0x4707f2=_0x19b363['Style'],_0x348f05=_0x19b363['Tag'],_0x203770=_0x19b363['CDATA'],_0x162e33=_0x19b363['Doctype'];var _0xd5d5bf=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get parentNode(){return this['parent'];}set parentNode(_0x363c7c){this['parent']=_0x363c7c;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x440b04){this['prev']=_0x440b04;}get nextSibling(){return this['next'];}set nextSibling(_0x14288c){this['next']=_0x14288c;}['cloneNode'](_0x34fcfb=!0x1){return _0x3bf1db(this,_0x34fcfb);}},_0x2298bf=class extends _0xd5d5bf{constructor(_0x38822a){super(),this['data']=_0x38822a;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x2507b8){this['data']=_0x2507b8;}},_0x48e3aa=class extends _0x2298bf{constructor(){super(...arguments),this['type']=_0x19b363['Text'];}get['nodeType'](){return 0x3;}},_0x4da0c0=class extends _0x2298bf{constructor(){super(...arguments),this['type']=_0x19b363['Comment'];}get['nodeType'](){return 0x8;}},_0xc2c6ab=class extends _0x2298bf{constructor(_0x105671,_0x19dde5){super(_0x19dde5),this['name']=_0x105671,this['type']=_0x19b363['Directive'];}get['nodeType'](){return 0x1;}},_0x4e58f0=class extends _0xd5d5bf{constructor(_0x563dd9){super(),this['children']=_0x563dd9;}get firstChild(){var _0x40238e;return null!==(_0x40238e=this['children'][0x0])&&void 0x0!==_0x40238e?_0x40238e:null;}get lastChild(){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x128ff3){this['children']=_0x128ff3;}},_0x231e18=class extends _0x4e58f0{constructor(){super(...arguments),this['type']=_0x19b363['CDATA'];}get['nodeType'](){return 0x4;}},_0x444106=class extends _0x4e58f0{constructor(){super(...arguments),this['type']=_0x19b363['Root'];}get['nodeType'](){return 0x9;}},_0x235f71=class extends _0x4e58f0{constructor(_0x4b9451,_0x21c016,_0x476343=[],_0xb6a624='script'===_0x4b9451?_0x19b363['Script']:'style'===_0x4b9451?_0x19b363['Style']:_0x19b363['Tag']){super(_0x476343),this['name']=_0x4b9451,this['attribs']=_0x21c016,this['type']=_0xb6a624;}get['nodeType'](){return 0x1;}get tagName(){return this['name'];}set tagName(_0x50634f){this['name']=_0x50634f;}get attributes(){return Object['keys'](this['attribs'])['map'](_0x4f0fc5=>{var _0x59d7a8,_0x29d842;return{'name':_0x4f0fc5,'value':this['attribs'][_0x4f0fc5],'namespace':null===(_0x59d7a8=this['x-attribsNamespace'])||void 0x0===_0x59d7a8?void 0x0:_0x59d7a8[_0x4f0fc5],'prefix':null===(_0x29d842=this['x-attribsPrefix'])||void 0x0===_0x29d842?void 0x0:_0x29d842[_0x4f0fc5]};});}};function _0x227df4(_0x2aa489){return(_0x520a8c=_0x2aa489)['type']===_0x19b363['Tag']||_0x520a8c['type']===_0x19b363['Script']||_0x520a8c['type']===_0x19b363['Style'];var _0x520a8c;}function _0x1638d2(_0x547103){return _0x547103['type']===_0x19b363['Text'];}function _0x27fe5b(_0x51c42d){return _0x51c42d['type']===_0x19b363['Comment'];}function _0x12cec3(_0x160d7b){return _0x160d7b['type']===_0x19b363['Root'];}function _0x57bc53(_0x5af9d2){return Object['prototype']['hasOwnProperty']['call'](_0x5af9d2,'children');}function _0x3bf1db(_0x5ba214,_0x167155=!0x1){let _0x596bbe;if(_0x1638d2(_0x5ba214))_0x596bbe=new _0x48e3aa(_0x5ba214['data']);else{if(_0x27fe5b(_0x5ba214))_0x596bbe=new _0x4da0c0(_0x5ba214['data']);else{if(_0x227df4(_0x5ba214)){const _0x4e4f6b=_0x167155?_0xb4794f(_0x5ba214['children']):[],_0x11973f=new _0x235f71(_0x5ba214['name'],{..._0x5ba214['attribs']},_0x4e4f6b);_0x4e4f6b['forEach'](_0xa426b9=>_0xa426b9['parent']=_0x11973f),null!=_0x5ba214['namespace']&&(_0x11973f['namespace']=_0x5ba214['namespace']),_0x5ba214['x-attribsNamespace']&&(_0x11973f['x-attribsNamespace']={..._0x5ba214['x-attribsNamespace']}),_0x5ba214['x-attribsPrefix']&&(_0x11973f['x-attribsPrefix']={..._0x5ba214['x-attribsPrefix']}),_0x596bbe=_0x11973f;}else{if(function(_0x16f2e5){return _0x16f2e5['type']===_0x19b363['CDATA'];}(_0x5ba214)){const _0x185cee=_0x167155?_0xb4794f(_0x5ba214['children']):[],_0x58f39f=new _0x231e18(_0x185cee);_0x185cee['forEach'](_0x4b83af=>_0x4b83af['parent']=_0x58f39f),_0x596bbe=_0x58f39f;}else{if(_0x12cec3(_0x5ba214)){const _0x4b9f49=_0x167155?_0xb4794f(_0x5ba214['children']):[],_0x479810=new _0x444106(_0x4b9f49);_0x4b9f49['forEach'](_0x2ec60f=>_0x2ec60f['parent']=_0x479810),_0x5ba214['x-mode']&&(_0x479810['x-mode']=_0x5ba214['x-mode']),_0x596bbe=_0x479810;}else{if(!function(_0x306028){return _0x306028['type']===_0x19b363['Directive'];}(_0x5ba214))throw new Error('Not\x20implemented\x20yet:\x20'+_0x5ba214['type']);{const _0xc387ac=new _0xc2c6ab(_0x5ba214['name'],_0x5ba214['data']);null!=_0x5ba214['x-name']&&(_0xc387ac['x-name']=_0x5ba214['x-name'],_0xc387ac['x-publicId']=_0x5ba214['x-publicId'],_0xc387ac['x-systemId']=_0x5ba214['x-systemId']),_0x596bbe=_0xc387ac;}}}}}}return _0x596bbe['startIndex']=_0x5ba214['startIndex'],_0x596bbe['endIndex']=_0x5ba214['endIndex'],null!=_0x5ba214['sourceCodeLocation']&&(_0x596bbe['sourceCodeLocation']=_0x5ba214['sourceCodeLocation']),_0x596bbe;}function _0xb4794f(_0x37b4af){const _0x130ccb=_0x37b4af['map'](_0x2d4f45=>_0x3bf1db(_0x2d4f45,!0x0));for(let _0x4fec42=0x1;_0x4fec42<_0x130ccb['length'];_0x4fec42++)_0x130ccb[_0x4fec42]['prev']=_0x130ccb[_0x4fec42-0x1],_0x130ccb[_0x4fec42-0x1]['next']=_0x130ccb[_0x4fec42];return _0x130ccb;}const _0x15d281={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};var _0x236a0a=class{constructor(_0x5f045f,_0x53abc4,_0x45b947){this['dom']=[],this['root']=new _0x444106(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x53abc4&&(_0x45b947=_0x53abc4,_0x53abc4=_0x15d281),'object'==typeof _0x5f045f&&(_0x53abc4=_0x5f045f,_0x5f045f=void 0x0),this['callback']=null!=_0x5f045f?_0x5f045f:null,this['options']=null!=_0x53abc4?_0x53abc4:_0x15d281,this['elementCB']=null!=_0x45b947?_0x45b947:null;}onparserinit(_0x2e7bb1){this['parser']=_0x2e7bb1;}onreset(){this['dom']=[],this['root']=new _0x444106(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null;}['onend'](){this['done']||(this['done']=!0x0,this['parser']=null,this['handleCallback'](null));}['onerror'](_0x6440e0){this['handleCallback'](_0x6440e0);}onclosetag(){this['lastNode']=null;const _0xcdf581=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0xcdf581['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0xcdf581);}onopentag(_0x5a53f5,_0x470307){const _0x42ec2a=new _0x235f71(_0x5a53f5,_0x470307,void 0x0,this['options']['xmlMode']?_0x19b363['Tag']:void 0x0);this['addNode'](_0x42ec2a),this['tagStack']['push'](_0x42ec2a);}ontext(_0x2b9455){const {lastNode:_0x23e67f}=this;if(_0x23e67f&&_0x23e67f['type']===_0x19b363['Text'])_0x23e67f['data']+=_0x2b9455,this['options']['withEndIndices']&&(_0x23e67f['endIndex']=this['parser']['endIndex']);else{const _0x196c9c=new _0x48e3aa(_0x2b9455);this['addNode'](_0x196c9c),this['lastNode']=_0x196c9c;}}oncomment(_0x19ec4f){if(this['lastNode']&&this['lastNode']['type']===_0x19b363['Comment'])return void(this['lastNode']['data']+=_0x19ec4f);const _0x1b58c6=new _0x4da0c0(_0x19ec4f);this['addNode'](_0x1b58c6),this['lastNode']=_0x1b58c6;}oncommentend(){this['lastNode']=null;}oncdatastart(){const _0x336353=new _0x48e3aa(''),_0x5586dc=new _0x231e18([_0x336353]);this['addNode'](_0x5586dc),_0x336353['parent']=_0x5586dc,this['lastNode']=_0x336353;}oncdataend(){this['lastNode']=null;}onprocessinginstruction(_0x1c4272,_0x4af599){const _0x3a7b7d=new _0xc2c6ab(_0x1c4272,_0x4af599);this['addNode'](_0x3a7b7d);}['handleCallback'](_0x160e2c){if('function'==typeof this['callback'])this['callback'](_0x160e2c,this['dom']);else{if(_0x160e2c)throw _0x160e2c;}}['addNode'](_0xc57d41){const _0x150b08=this['tagStack'][this['tagStack']['length']-0x1],_0x8c9fbe=_0x150b08['children'][_0x150b08['children']['length']-0x1];this['options']['withStartIndices']&&(_0xc57d41['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0xc57d41['endIndex']=this['parser']['endIndex']),_0x150b08['children']['push'](_0xc57d41),_0x8c9fbe&&(_0xc57d41['prev']=_0x8c9fbe,_0x8c9fbe['next']=_0xc57d41),_0xc57d41['parent']=_0x150b08,this['lastNode']=null;}};const _0x42d91c=/["&'<>$\x80-\uFFFF]/g,_0x326e85=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),_0x3d457f=null!=String['prototype']['codePointAt']?(_0x269c65,_0x2aa2c2)=>_0x269c65['codePointAt'](_0x2aa2c2):(_0x15738b,_0x309313)=>0xd800==(0xfc00&_0x15738b['charCodeAt'](_0x309313))?0x400*(_0x15738b['charCodeAt'](_0x309313)-0xd800)+_0x15738b['charCodeAt'](_0x309313+0x1)-0xdc00+0x10000:_0x15738b['charCodeAt'](_0x309313);function _0x399d63(_0x463259){let _0x200049,_0x804578='',_0x2025fe=0x0;for(;null!==(_0x200049=_0x42d91c['exec'](_0x463259));){const _0x37e285=_0x200049['index'],_0x37bacc=_0x463259['charCodeAt'](_0x37e285),_0x3a46bc=_0x326e85['get'](_0x37bacc);void 0x0!==_0x3a46bc?(_0x804578+=_0x463259['substring'](_0x2025fe,_0x37e285)+_0x3a46bc,_0x2025fe=_0x37e285+0x1):(_0x804578+=_0x463259['substring'](_0x2025fe,_0x37e285)+'&#x'+_0x3d457f(_0x463259,_0x37e285)['toString'](0x10)+';',_0x2025fe=_0x42d91c['lastIndex']+=Number(0xd800==(0xfc00&_0x37bacc)));}return _0x804578+_0x463259['substr'](_0x2025fe);}function _0x18029a(_0x2c8fa7,_0x160713){return function(_0x318458){let _0x10cf31,_0x44a546=0x0,_0x2445a3='';for(;_0x10cf31=_0x2c8fa7['exec'](_0x318458);)_0x44a546!==_0x10cf31['index']&&(_0x2445a3+=_0x318458['substring'](_0x44a546,_0x10cf31['index'])),_0x2445a3+=_0x160713['get'](_0x10cf31[0x0]['charCodeAt'](0x0)),_0x44a546=_0x10cf31['index']+0x1;return _0x2445a3+_0x318458['substring'](_0x44a546);};}const _0x35dc21=_0x18029a(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),_0x3a3abd=_0x18029a(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),_0x26cdc4=new Map(['altGlyph','altGlyphDef','altGlyphItem','animateColor','animateMotion','animateTransform','clipPath','feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence','foreignObject','glyphRef','linearGradient','radialGradient','textPath']['map'](_0x254be9=>[_0x254be9['toLowerCase'](),_0x254be9])),_0xd7a17=new Map(['definitionURL','attributeName','attributeType','baseFrequency','baseProfile','calcMode','clipPathUnits','diffuseConstant','edgeMode','filterUnits','glyphRef','gradientTransform','gradientUnits','kernelMatrix','kernelUnitLength','keyPoints','keySplines','keyTimes','lengthAdjust','limitingConeAngle','markerHeight','markerUnits','markerWidth','maskContentUnits','maskUnits','numOctaves','pathLength','patternContentUnits','patternTransform','patternUnits','pointsAtX','pointsAtY','pointsAtZ','preserveAlpha','preserveAspectRatio','primitiveUnits','refX','refY','repeatCount','repeatDur','requiredExtensions','requiredFeatures','specularConstant','specularExponent','spreadMethod','startOffset','stdDeviation','stitchTiles','surfaceScale','systemLanguage','tableValues','targetX','targetY','textLength','viewBox','viewTarget','xChannelSelector','yChannelSelector','zoomAndPan']['map'](_0x399d6b=>[_0x399d6b['toLowerCase'](),_0x399d6b])),_0x36835a=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function _0x47ba42(_0x3636a9){return _0x3636a9['replace'](/"/g,'&quot;');}const _0x1c871d=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0xaf5800(_0x35b12b,_0x18346d={}){const _0xe5a3ec='length'in _0x35b12b?_0x35b12b:[_0x35b12b];let _0x116683='';for(let _0x59f80a=0x0;_0x59f80a<_0xe5a3ec['length'];_0x59f80a++)_0x116683+=_0x1c1583(_0xe5a3ec[_0x59f80a],_0x18346d);return _0x116683;}function _0x1c1583(_0x1b19fe,_0x2eb10c){switch(_0x1b19fe['type']){case _0x4b54f5:return _0xaf5800(_0x1b19fe['children'],_0x2eb10c);case _0x162e33:case _0x37fb39:return'<'+_0x1b19fe['data']+'>';case _0x3a019d:return function(_0x32b560){return'<!--'+_0x32b560['data']+'-->';}(_0x1b19fe);case _0x203770:return function(_0x1f0cd1){return'<![CDATA['+_0x1f0cd1['children'][0x0]['data']+']]>';}(_0x1b19fe);case _0x2e5bfe:case _0x4707f2:case _0x348f05:return function(_0xd08ec3,_0x40c49){var _0x253999;'foreign'===_0x40c49['xmlMode']&&(_0xd08ec3['name']=null!==(_0x253999=_0x26cdc4['get'](_0xd08ec3['name']))&&void 0x0!==_0x253999?_0x253999:_0xd08ec3['name'],_0xd08ec3['parent']&&_0x58752c['has'](_0xd08ec3['parent']['name'])&&(_0x40c49={..._0x40c49,'xmlMode':!0x1})),!_0x40c49['xmlMode']&&_0x43caa2['has'](_0xd08ec3['name'])&&(_0x40c49={..._0x40c49,'xmlMode':'foreign'});let _0x374a3b='<'+_0xd08ec3['name'];const _0x100708=function(_0x36e105,_0x4ab4e4){var _0xc9fdeb;if(!_0x36e105)return;const _0x473f38=!0x1===(null!==(_0xc9fdeb=_0x4ab4e4['encodeEntities'])&&void 0x0!==_0xc9fdeb?_0xc9fdeb:_0x4ab4e4['decodeEntities'])?_0x47ba42:_0x4ab4e4['xmlMode']||'utf8'!==_0x4ab4e4['encodeEntities']?_0x399d63:_0x35dc21;return Object['keys'](_0x36e105)['map'](_0x5686d3=>{var _0x1279d4,_0x4dd371;const _0x538a0a=null!==(_0x1279d4=_0x36e105[_0x5686d3])&&void 0x0!==_0x1279d4?_0x1279d4:'';return'foreign'===_0x4ab4e4['xmlMode']&&(_0x5686d3=null!==(_0x4dd371=_0xd7a17['get'](_0x5686d3))&&void 0x0!==_0x4dd371?_0x4dd371:_0x5686d3),_0x4ab4e4['emptyAttrs']||_0x4ab4e4['xmlMode']||''!==_0x538a0a?_0x5686d3+'=\x22'+_0x473f38(_0x538a0a)+'\x22':_0x5686d3;})['join']('\x20');}(_0xd08ec3['attribs'],_0x40c49);return _0x100708&&(_0x374a3b+='\x20'+_0x100708),0x0===_0xd08ec3['children']['length']&&(_0x40c49['xmlMode']?!0x1!==_0x40c49['selfClosingTags']:_0x40c49['selfClosingTags']&&_0x1c871d['has'](_0xd08ec3['name']))?(_0x40c49['xmlMode']||(_0x374a3b+='\x20'),_0x374a3b+='/>'):(_0x374a3b+='>',_0xd08ec3['children']['length']>0x0&&(_0x374a3b+=_0xaf5800(_0xd08ec3['children'],_0x40c49)),!_0x40c49['xmlMode']&&_0x1c871d['has'](_0xd08ec3['name'])||(_0x374a3b+='</'+_0xd08ec3['name']+'>')),_0x374a3b;}(_0x1b19fe,_0x2eb10c);case _0x6fe4c7:return function(_0x36c51d,_0x411b65){var _0xc9374d;let _0x1f1a6c=_0x36c51d['data']||'';return!0x1===(null!==(_0xc9374d=_0x411b65['encodeEntities'])&&void 0x0!==_0xc9374d?_0xc9374d:_0x411b65['decodeEntities'])||!_0x411b65['xmlMode']&&_0x36c51d['parent']&&_0x36835a['has'](_0x36c51d['parent']['name'])||(_0x1f1a6c=_0x411b65['xmlMode']||'utf8'!==_0x411b65['encodeEntities']?_0x399d63(_0x1f1a6c):_0x3a3abd(_0x1f1a6c)),_0x1f1a6c;}(_0x1b19fe,_0x2eb10c);}}const _0x58752c=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),_0x43caa2=new Set(['svg','math']);function _0x560ec0(_0xc37c81){return Array['isArray'](_0xc37c81)?_0xc37c81['map'](_0x560ec0)['join'](''):_0x57bc53(_0xc37c81)&&!_0x27fe5b(_0xc37c81)?_0x560ec0(_0xc37c81['children']):_0x1638d2(_0xc37c81)?_0xc37c81['data']:'';}function _0x374248(_0x3a4c24){return _0x3a4c24['parent']||null;}function _0x5862cf(_0x46d975){if(_0x46d975['prev']&&(_0x46d975['prev']['next']=_0x46d975['next']),_0x46d975['next']&&(_0x46d975['next']['prev']=_0x46d975['prev']),_0x46d975['parent']){const _0x292bf8=_0x46d975['parent']['children'],_0xe52368=_0x292bf8['lastIndexOf'](_0x46d975);_0xe52368>=0x0&&_0x292bf8['splice'](_0xe52368,0x1);}_0x46d975['next']=null,_0x46d975['prev']=null,_0x46d975['parent']=null;}function _0x47f66b(_0x2e3c6b,_0x2ee0e3){const _0x15c7f5=_0x2ee0e3['prev']=_0x2e3c6b['prev'];_0x15c7f5&&(_0x15c7f5['next']=_0x2ee0e3);const _0x31a11b=_0x2ee0e3['next']=_0x2e3c6b['next'];_0x31a11b&&(_0x31a11b['prev']=_0x2ee0e3);const _0xf0f24d=_0x2ee0e3['parent']=_0x2e3c6b['parent'];if(_0xf0f24d){const _0x4fc776=_0xf0f24d['children'];_0x4fc776[_0x4fc776['lastIndexOf'](_0x2e3c6b)]=_0x2ee0e3,_0x2e3c6b['parent']=null;}}function ts(_0x4d17c7,_0x3de335){if(_0x5862cf(_0x3de335),_0x3de335['next']=null,_0x3de335['parent']=_0x4d17c7,_0x4d17c7['children']['push'](_0x3de335)>0x1){const _0x5d5e0f=_0x4d17c7['children'][_0x4d17c7['children']['length']-0x2];_0x5d5e0f['next']=_0x3de335,_0x3de335['prev']=_0x5d5e0f;}else _0x3de335['prev']=null;}function _0x38f9c1(_0x46eaa8,_0x497c19){_0x5862cf(_0x497c19);const {parent:_0x4f256c}=_0x46eaa8,_0x5931b3=_0x46eaa8['next'];if(_0x497c19['next']=_0x5931b3,_0x497c19['prev']=_0x46eaa8,_0x46eaa8['next']=_0x497c19,_0x497c19['parent']=_0x4f256c,_0x5931b3){if(_0x5931b3['prev']=_0x497c19,_0x4f256c){const _0xe7b00c=_0x4f256c['children'];_0xe7b00c['splice'](_0xe7b00c['lastIndexOf'](_0x5931b3),0x0,_0x497c19);}}else _0x4f256c&&_0x4f256c['children']['push'](_0x497c19);}function _0x3fa056(_0x54a782,_0x34e6cc){if(_0x5862cf(_0x34e6cc),_0x34e6cc['parent']=_0x54a782,_0x34e6cc['prev']=null,0x1!==_0x54a782['children']['unshift'](_0x34e6cc)){const _0x50188f=_0x54a782['children'][0x1];_0x50188f['prev']=_0x34e6cc,_0x34e6cc['next']=_0x50188f;}else _0x34e6cc['next']=null;}function _0x530802(_0x643e6,_0x8aa44a){_0x5862cf(_0x8aa44a);const {parent:_0x3ff427}=_0x643e6;if(_0x3ff427){const _0x2ce04f=_0x3ff427['children'];_0x2ce04f['splice'](_0x2ce04f['indexOf'](_0x643e6),0x0,_0x8aa44a);}_0x643e6['prev']&&(_0x643e6['prev']['next']=_0x8aa44a),_0x8aa44a['parent']=_0x3ff427,_0x8aa44a['prev']=_0x643e6['prev'],_0x8aa44a['next']=_0x643e6,_0x643e6['prev']=_0x8aa44a;}function _0x41243d(_0x3db5f3,_0x190d62,_0x49c48e=!0x0){const _0x94268b=Array['isArray'](_0x190d62)?_0x190d62:[_0x190d62];for(let _0x545f3f=0x0;_0x545f3f<_0x94268b['length'];_0x545f3f++){const _0xfda6d4=_0x94268b[_0x545f3f];if(_0x227df4(_0xfda6d4)&&_0x3db5f3(_0xfda6d4))return _0xfda6d4;if(_0x49c48e&&_0x57bc53(_0xfda6d4)&&_0xfda6d4['children']['length']>0x0){const _0x10e596=_0x41243d(_0x3db5f3,_0xfda6d4['children'],!0x0);if(_0x10e596)return _0x10e596;}}return null;}function _0x1f89f7(_0x4fbd72,_0x5663d0){const _0x6782cf=[],_0x4dc63d=[Array['isArray'](_0x5663d0)?_0x5663d0:[_0x5663d0]],_0x53c0f5=[0x0];for(;;){if(_0x53c0f5[0x0]>=_0x4dc63d[0x0]['length']){if(0x1===_0x4dc63d['length'])return _0x6782cf;_0x4dc63d['shift'](),_0x53c0f5['shift']();continue;}const _0x341050=_0x4dc63d[0x0][_0x53c0f5[0x0]++];_0x227df4(_0x341050)&&_0x4fbd72(_0x341050)&&_0x6782cf['push'](_0x341050),_0x57bc53(_0x341050)&&_0x341050['children']['length']>0x0&&(_0x53c0f5['unshift'](0x0),_0x4dc63d['unshift'](_0x341050['children']));}}function _0x5ec6ac(_0x21d000,_0x34f4a0){return function(_0x168673,_0x5e5b54){const _0x2c5a28=new _0x236a0a(void 0x0,_0x5e5b54);return new _0x5c879d(_0x2c5a28,_0x5e5b54)['end'](_0x168673),_0x2c5a28['root'];}(_0x21d000,_0x34f4a0);}function _0x26cf45(_0x4cb7c2,_0x44d9cf){return _0xaf5800(_0x4cb7c2,_0x44d9cf);}function _0x1327a4(_0x597596,_0x200063,_0x45fb65){const _0x26951c=null!==_0x200063?_0x1f87a6=>_0x1f87a6['attribs'][_0x597596]===_0x200063:_0x74c84d=>Boolean(_0x74c84d['attribs'][_0x597596]);return _0x41243d(_0x48ea3a=>_0x227df4(_0x48ea3a)&&_0x26951c(_0x48ea3a),_0x45fb65);}function _0x290d95(_0x489efb,_0x2f9bbc,_0x378954){const _0x2373d0=null!==_0x2f9bbc?_0x49a1ea=>_0x49a1ea['attribs'][_0x489efb]===_0x2f9bbc:_0xf91009=>Boolean(_0xf91009['attribs'][_0x489efb]);return _0x1f89f7(_0x25fcca=>_0x227df4(_0x25fcca)&&_0x2373d0(_0x25fcca),_0x378954);}function _0x312367(_0x1dc845){return _0x1f89f7(_0x3a4753=>_0x227df4(_0x3a4753)&&function(_0x3157de){const _0x5890c6=_0x3157de['toLowerCase']();return'script'===_0x5890c6||'style'===_0x5890c6||_0x5890c6['includes']('-');}(_0x3a4753['name']),_0x1dc845);}const _0x2b1983=['comment-start','comment-end','suggestion-start','suggestion-end'];function _0xc1b627(_0x1bb472){return _0x227df4(_0x1bb472)&&_0x2b1983['includes'](_0x1bb472['name']['toLowerCase']());}function _0x40f299(_0x2b013b){return function(_0x5c10f9,_0x179068,_0xbd1711,_0x334ce5){const _0x302834=[],_0xb7787b=[Array['isArray'](_0x179068)?_0x179068:[_0x179068]],_0x25a34d=[0x0];for(;;){if(_0x25a34d[0x0]>=_0xb7787b[0x0]['length']){if(0x1===_0x25a34d['length'])return _0x302834;_0xb7787b['shift'](),_0x25a34d['shift']();continue;}const _0x8edb8d=_0xb7787b[0x0][_0x25a34d[0x0]++];if(_0x5c10f9(_0x8edb8d)&&(_0x302834['push'](_0x8edb8d),--_0x334ce5<=0x0))return _0x302834;_0xbd1711&&_0x57bc53(_0x8edb8d)&&_0x8edb8d['children']['length']>0x0&&(_0x25a34d['unshift'](0x0),_0xb7787b['unshift'](_0x8edb8d['children']));}}(_0x23dca8=>_0x27fe5b(_0x23dca8),_0x2b013b,!0x0,0x1/0x0);}function _0x42e922(_0x2fc7b6,_0x4c52f3){return _0x2fc7b6&&_0x227df4(_0x2fc7b6)?_0x2fc7b6['attribs'][_0x4c52f3]:null;}function _0x36da29(_0x321e2b,_0x5307cc,_0x1f46b2){_0x227df4(_0x321e2b)&&(null===_0x1f46b2?delete _0x321e2b['attribs'][_0x5307cc]:_0x321e2b['attribs'][_0x5307cc]=_0x1f46b2);}function _0xeda410(_0xa9a6a3,_0x705baf,_0x9fbb73){const _0x6dbeb=_0x705baf['cloneNode'](!0x0);'beforebegin'===_0x9fbb73?_0x530802(_0xa9a6a3,_0x6dbeb):'afterbegin'===_0x9fbb73?_0x3fa056(_0xa9a6a3,_0x6dbeb):'beforeend'===_0x9fbb73?ts(_0xa9a6a3,_0x6dbeb):'afterend'===_0x9fbb73&&_0x38f9c1(_0xa9a6a3,_0x6dbeb);}function _0xe1c834(_0xe18972){const _0x54eeae=[];let _0x50fd45=_0xe18972;for(;_0x50fd45;)_0x50fd45=_0x374248(_0x50fd45),_0x50fd45&&_0x54eeae['push'](_0x50fd45);return _0x54eeae;}function _0x450c2c(_0x1ef2fb){return _0x1ef2fb['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x54dfed(_0x11c133){let _0x1917e0=0x0;for(;_0x11c133['parentNode'];)_0x11c133=_0x11c133['parentNode'],_0x1917e0++;return _0x1917e0;}function _0x334f90(_0x46df85){const _0x39317e=[];let _0x36f6ba=_0x46df85['nextSibling'];for(;_0x36f6ba;)_0x39317e['push'](_0x36f6ba),_0x36f6ba=_0x36f6ba['nextSibling'];_0x39317e['forEach'](_0x58be2a=>{_0x5862cf(_0x58be2a);});}function _0x559912(_0x3b0ae0,_0x37495c){return!!_0x3b0ae0['model']['document']['getRoot'](_0x37495c)&&!(0x0,_0x491313['rootAcceptsBlocks'])(_0x3b0ae0,_0x37495c);}function _0x550173(_0x225915,_0x349a52){return'<p\x20data-id=\x22'+_0x349a52+'\x22>'+_0x225915+'</p>';}function _0x1bd346(_0x175a86){return'p'===_0x175a86['name']['toLowerCase']()&&Boolean(_0x175a86['attribs']['data-id']);}function _0x544f48(_0x122027){const _0x16a8af=_0x5ec6ac(_0x122027)['children']['filter'](_0x227df4);return 0x1===_0x16a8af['length']&&_0x1bd346(_0x16a8af[0x0])?_0x16a8af[0x0]['children']['map'](_0x5932e1=>_0x26cf45(_0x5932e1))['join'](''):_0x122027;}function _0x287476(_0xbc93d6,_0x4374a8){const _0x1709e5=function(_0x1a6da3){const _0x2e5644=_0x1a6da3['children']['filter'](_0x227df4);return 0x1===_0x2e5644['length']&&_0x1bd346(_0x2e5644[0x0])?_0x2e5644[0x0]['children']:_0x1a6da3['children'];}(_0x4374a8),{blockElements:_0x2f8087}=_0xbc93d6['editing']['view']['domConverter'],_0x2836e0=_0x4083fa=>_0x4083fa['some'](_0x3feefd=>_0x227df4(_0x3feefd)&&('p'!==_0x3feefd['name']['toLowerCase']()&&_0x2f8087['includes'](_0x3feefd['name']['toLowerCase']())||_0x2836e0(_0x3feefd['children'])));if(_0x2836e0(_0x1709e5))return!0x1;const _0x4f35ae=_0x1709e5['map'](_0x3c1e98=>_0x26cf45(_0x3c1e98))['join'](''),_0x20b73d=_0xbc93d6['data']['parse'](_0x4f35ae,'$root'),{schema:_0x219f10}=_0xbc93d6['model'];let _0x5e469f=0x0;for(const {item:_0x3ad96b}of _0xbc93d6['model']['createRangeIn'](_0x20b73d))if(_0x3ad96b['is']('element')&&_0x219f10['isBlock'](_0x3ad96b)&&(++_0x5e469f>0x1||'paragraph'!==_0x3ad96b['name']))return!0x1;return!0x0;}function _0x69014c(_0x372d46,_0x220585){const _0x78ffa=_0x220585['filter'](_0x39fa29=>'new'!=_0x39fa29['type'])['map'](_0x5ce4f5=>_0x1327a4('data-id',_0x5ce4f5['id'],_0x372d46))['filter'](_0x3aa72f=>null!==_0x3aa72f),_0x18ecfb=_0x220585['filter'](_0x3d09ae=>'removed'!=_0x3d09ae['type'])['map'](_0x485dcb=>_0x485dcb['node']['cloneNode'](!0x0));let _0x483267=null;if(_0x78ffa['length']){_0x483267=_0x78ffa[0x0]['previousSibling'];for(let _0x3b2e9d=0x0;_0x3b2e9d<_0x78ffa['length'];_0x3b2e9d++)_0x5862cf(_0x78ffa[_0x3b2e9d]);}if(_0x18ecfb['length']){_0x483267||(_0x220585[0x0]['anchorId']?_0x483267=_0x1327a4('data-id',_0x220585[0x0]['anchorId'],_0x372d46):(_0x483267=_0x18ecfb['shift'](),_0x3fa056(_0x372d46,_0x483267)));for(let _0x460579=0x0;_0x460579<_0x18ecfb['length'];_0x460579++)_0x38f9c1(_0x483267,_0x18ecfb[_0x460579]),_0x483267=_0x18ecfb[_0x460579];}}function _0x2aad18(_0x120a0,_0x2929c5){const _0x19166a=new Set();for(const _0x119dac of _0x120a0){if(!_0x119dac['editor']||'destroyed'===_0x119dac['editor']['state']||!_0x559912(_0x119dac['editor'],_0x119dac['rootName']))continue;const _0x48644c=_0x2929c5['get'](_0x119dac['documentId']);let _0x2b302b;_0x48644c?(_0x2b302b=_0x48644c['cloneNode'](!0x0),_0x69014c(_0x2b302b,_0x119dac['changes'])):_0x2b302b=new _0x444106(_0x119dac['changes']['filter'](_0x4a1586=>'removed'!=_0x4a1586['type'])['map'](_0xe12de9=>_0xe12de9['node']['cloneNode'](!0x0))),_0x287476(_0x119dac['editor'],_0x2b302b)||_0x19166a['add'](_0x119dac['index']);}return _0x19166a;}function _0x2dd1f6(_0x221672,_0x45bb00,_0x2d52f1,_0x135ae8){return _0x559912(_0x221672,_0x45bb00)?_0x287476(_0x221672,_0x5ec6ac(_0x135ae8))?{'before':_0x544f48(_0x2d52f1),'after':_0x544f48(_0x135ae8)}:null:{'before':_0x2d52f1,'after':_0x135ae8};}function _0x111ee9(_0x595fe5,_0x2d259a){return Lt(_0x595fe5,_0x2d259a);}function _0x990099(_0x1cc4e2,_0x1e79c0){return _0x1cc4e2['map'](_0x4ea56d=>null!==_0x4ea56d&&'object'==typeof _0x4ea56d?_0x111ee9(_0x4ea56d,_0x1e79c0):_0x4ea56d);}const _0x1b210d=[['BlockQuoteEditing','blockQuote'],['BoldEditing','bold'],['BookmarkEditing','bookmark'],['CodeEditing','code'],['HorizontalLineEditing','horizontalLine'],['HtmlEmbedEditing','htmlEmbed'],['ItalicEditing','italic'],['MathType','math'],['PageBreakEditing','pageBreak'],['Paragraph','paragraph'],['StandardEditingModeEditing','restrictedEditing'],['StrikethroughEditing','strikethrough'],['SubscriptEditing','subscript'],['SuperscriptEditing','superscript'],['TableOfContentsEditing','tableOfContents'],['Title','title'],['TodoListEditing','todoList'],['UnderlineEditing','underline']],_0xf47230='ai-selection',_0x29609d=['br'];var _0x3cc2b8=class extends _0x491313['ContextPlugin']{constructor(_0x5a8d36){super(_0x5a8d36),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}_outputDataProcessor;_fakeSelections=[];_sessionIdByEditor=new WeakMap();_editorsToConfigs=new WeakMap();_lastContentFocusedEditor;static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}getLastContentFocusedEditor(){return this['_lastContentFocusedEditor'];}getSessionId(_0x566f9c){let _0x3facfd=this['_sessionIdByEditor']['get'](_0x566f9c);return _0x3facfd||(_0x3facfd=_0x566f9c['plugins']['has']('RealTimeCollaborationClient')&&_0x566f9c['plugins']['get']('RealTimeCollaborationClient')['sessionId']||(0x0,_0x491313['uid'])(),this['_sessionIdByEditor']['set'](_0x566f9c,_0x3facfd)),_0x3facfd;}async getDocumentData(_0x1f8d22){const _0x524580=_0x483724(this['context']),_0x5e2572=[],_0x3dd56e=new Set();for(const _0x5dbaa6 of _0x524580){if(_0x1f8d22&&!_0x1f8d22['has'](_0x5dbaa6['config']['get']('collaboration.channelId')))continue;const _0x3f5370=_0x5dbaa6['config']['get']('roots')||{},_0x20bfa7=this['_getEditorSelectionSignature'](_0x5dbaa6),_0x4b1f61=_0x5dbaa6['config']['get']('collaboration.channelId'),_0x57a237=this['getSessionId'](_0x5dbaa6);for(const _0x317254 of _0x5dbaa6['model']['document']['getRoots']()){if('$graveyard'===_0x317254['rootName'])continue;const _0x5c8812=await this['_getDocumentDataForEditorRoot'](_0x5dbaa6,_0x317254,_0x3dd56e),_0x471058=_0x3f5370[_0x317254['rootName']],_0x5909a0=_0x317254['getAttribute']('$description')??_0x471058?.['description'];let _0x35b837=_0x317254['getAttribute']('$title')??_0x471058?.['title'];_0x35b837||(_0x35b837=_0x317254['getAttribute']('$rootEditableOptions')?.['label']??_0x471058?.['label']),_0x35b837||((0x0,_0x491313['logWarning'])('ai-document-root-missing-title',{'editor':_0x5dbaa6,'rootName':_0x317254['rootName']}),_0x35b837=_0x317254['rootName']),_0x5e2572['push']({'editor':_0x5dbaa6,'rootName':_0x317254['rootName'],'content':_0x5c8812['content'],'version':_0x5c8812['version'],'sessionId':_0x57a237,'channelId':_0x4b1f61,'selections':_0x5c8812['selections'],'selectionSignature':_0x20bfa7,'editorConfig':this['_getEditorConfig'](_0x5dbaa6),'name':_0x35b837,'description':_0x5909a0});}}return _0x5e2572;}getEditorsVersions(){const _0x2dbad3=_0x483724(this['context']),_0x3dd785=new Map();for(const _0x1c6c99 of _0x2dbad3){const _0x1b2ab4=_0x1c6c99['config']['get']('collaboration.channelId');_0x3dd785['set'](_0x1b2ab4,_0x1c6c99['model']['document']['version']);}return _0x3dd785;}getEditorsSelections(){const _0x59268c=_0x483724(this['context']),_0x4c5f55=new Map();for(const _0x48c60d of _0x59268c){const _0x36bc2d=_0x48c60d['config']['get']('collaboration.channelId'),_0x5d1798=this['_getEditorSelectionSignature'](_0x48c60d);_0x4c5f55['set'](_0x36bc2d,_0x5d1798);}return _0x4c5f55;}_getEditorSelectionSignature(_0x38b9a0){return this['_getMarkersInDocumentOrder'](_0x38b9a0)['map'](_0x1f8bff=>{const _0xfc4798=_0x1f8bff['getRange']();return _0xfc4798['root']['rootName']+':'+_0xfc4798['start']['path']['join']('.')+'-'+_0xfc4798['end']['path']['join']('.');})['join']('|');}async _getDocumentDataForEditorRoot(_0x20f04f,_0x4dfceb,_0x432159){const _0x5335ea=_0x20f04f['data']['toView'](_0x4dfceb,{'convertAiChatSelectionMarker':!0x0}),_0x8b8aa0=new _0x491313['ViewDowncastWriter'](_0x20f04f['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x5335ea,_0x8b8aa0,_0x432159);let _0x141c66=await this['_getDocumentDataStringFromView'](_0x5335ea,_0x20f04f);_0x559912(_0x20f04f,_0x4dfceb['rootName'])&&(_0x141c66=_0x550173(_0x141c66,this['_nextDataId'](_0x432159)));const _0x35e24c=this['_getMarkersInDocumentOrder'](_0x20f04f,_0x4dfceb),_0xd06105=[];for(const _0x8e3290 of _0x35e24c){const _0x144521='<'+_0x8e3290['name']+':start></'+_0x8e3290['name']+':start>',_0x5f4754=_0x141c66['indexOf'](_0x144521);_0x141c66=_0x141c66['substring'](0x0,_0x5f4754)+_0x141c66['substring'](_0x5f4754+_0x144521['length']);const _0x368613='<'+_0x8e3290['name']+':end></'+_0x8e3290['name']+':end>',_0x378945=_0x141c66['indexOf'](_0x368613);_0x141c66=_0x141c66['substring'](0x0,_0x378945)+_0x141c66['substring'](_0x378945+_0x368613['length']),_0xd06105['push']({'markerName':_0x8e3290['name'],'start':_0x5f4754,'end':_0x378945,'htmlFragment':_0x141c66['substring'](_0x5f4754,_0x378945)});}return{'content':_0x141c66,'version':_0x20f04f['model']['document']['version'],'selections':_0xd06105};}afterInit(){this['context']instanceof _0x491313['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x135365,_0x574eaf)=>{_0x574eaf['on']('ready',()=>{this['_integrateEditor'](_0x574eaf);});});}_setOutputDataProcessor(_0x216cd8){this['_outputDataProcessor']=_0x216cd8;}async _getDocumentDataStringFromView(_0x3f0b2d,_0x59d8d9){let _0x3585fc;if(this['_outputDataProcessor']){const _0x2fd0f9=_0x59d8d9['data']['processor']['domConverter']['viewToDom'](_0x3f0b2d),_0x343ba7=await this['_outputDataProcessor'](_0x2fd0f9);_0x3585fc=_0x59d8d9['data']['processor']['htmlWriter']['getHtml'](_0x343ba7);}else _0x3585fc=_0x59d8d9['data']['processor']['toData'](_0x3f0b2d);return _0x3585fc;}_integrateEditor(_0x2e6b5a){if(!_0x2e6b5a['config']['get']('collaboration.channelId'))throw new _0x491313['CKEditorError']('ai-missing-channel-id',_0x2e6b5a);_0x2e6b5a['ui']['focusTracker']['on']('change:isFocused',(_0x36dec2,_0xad89c4,_0x95f8ee)=>{_0x95f8ee&&(this['_lastContentFocusedEditor']=_0x2e6b5a);}),_0x2e6b5a['on']('destroy',()=>{this['_lastContentFocusedEditor']===_0x2e6b5a&&(this['_lastContentFocusedEditor']=void 0x0);}),_0x2e6b5a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xf47230,'view':({markerName:_0x4a547a})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0x4a547a['split'](':')[0x1]],'priority':0xc})}),_0x2e6b5a['conversion']['for']('dataDowncast')['markerToElement']({'model':_0xf47230+':context','view':(_0x5b8141,{writer:_0x2684d3,options:_0x27bc9e})=>_0x27bc9e['convertAiChatSelectionMarker']?_0x2684d3['createUIElement'](_0x5b8141['markerName']+':'+(_0x5b8141['isOpening']?'start':'end')):null});}showFakeVisualSelection(_0x2f0536){const _0x5a258e=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0x2f0536);const _0x363f4e=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x5a258e,_0x363f4e);}hideFakeVisualSelection(_0x2d9859){const _0xadba1d=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x2d9859);const _0x8aad6a=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0xadba1d,_0x8aad6a);}async modelToDataWithIds(_0x34a574,_0x33bda5,_0x27e8c2){const _0x5d110c=_0x33bda5['data']['toView'](_0x34a574),_0x416f83=new _0x491313['ViewDowncastWriter'](_0x33bda5['editing']['view']['document']),_0x93e3ad=new Set();this['_setDataIdsOnChildren'](_0x5d110c,_0x416f83,_0x93e3ad);const _0x25d8c1=await this['_getDocumentDataStringFromView'](_0x5d110c,_0x33bda5);return _0x27e8c2&&_0x559912(_0x33bda5,_0x27e8c2)?_0x550173(_0x25d8c1,this['_nextDataId'](_0x93e3ad)):_0x25d8c1;}_setDataIdsOnChildren(_0x4274c7,_0x114ce7,_0x3fe73b=new Set()){let _0x1fa819=!0x1;for(const _0x4b68b4 of _0x4274c7['getChildren']()){if(!_0x4b68b4['is']('view:element')||_0x29609d['includes'](_0x4b68b4['name']))continue;const _0x486820=_0x4b68b4['is']('view:containerElement'),_0x288dad=_0x4b68b4['is']('view:emptyElement'),_0x40820c=_0x4b68b4['is']('view:rawElement'),_0x55186d=this['_setDataIdsOnChildren'](_0x4b68b4,_0x114ce7,_0x3fe73b);_0x4b68b4['hasAttribute']('data-id')?(_0x1fa819=!0x0,_0x3fe73b['add'](_0x4b68b4['getAttribute']('data-id'))):(_0x486820||_0x288dad||_0x40820c||_0x55186d)&&(_0x114ce7['setAttribute']('data-id',this['_nextDataId'](_0x3fe73b),_0x4b68b4),_0x1fa819=!0x0);}return _0x1fa819;}_nextDataId(_0x20b6c6){let _0xddb3b9;do{_0xddb3b9='';for(let _0xe32956=0x0;_0xe32956<0x4;_0xe32956++)_0xddb3b9+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x20b6c6['has'](_0xddb3b9));return _0x20b6c6['add'](_0xddb3b9),_0xddb3b9;}getSelectionText(_0x3a442b){const _0x1e381b=(_0x3a442b?_0x3a442b['model']:_0x4775f6(this['context'])['model'])['document']['selection'],_0x5b604f=[],_0x769a04=Array['from'](_0x1e381b['getRanges']());_0x769a04['sort']((_0x108692,_0xdf1fee)=>_0x108692['start']['isBefore'](_0xdf1fee['start'])?-0x1:0x1);for(const _0x14f4e0 of _0x769a04)for(const _0x5215f3 of _0x14f4e0['getItems']())_0x5215f3['is']('$textProxy')?_0x5b604f['push'](_0x5215f3['data']):_0x5215f3['is']('element')&&_0x5b604f['length']>0x0&&'\x20'!==_0x5b604f[_0x5b604f['length']-0x1]&&_0x5b604f['push']('\x20');return _0x5b604f['length']?'\x22'+_0x5b604f['join']('')['trim']()+'\x22':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}_removeFakeSelectionById(_0xb39927){for(let _0x3ea28b=0x0;_0x3ea28b<this['_fakeSelections']['length'];_0x3ea28b++)if(this['_fakeSelections'][_0x3ea28b]['id']==_0xb39927)return void this['_fakeSelections']['splice'](_0x3ea28b,0x1);}_addFakeSelection(_0x5ac12c){this['_removeFakeSelectionById'](_0x5ac12c['id']),(0x0,_0x491313['insertToPriorityArray'])(this['_fakeSelections'],_0x5ac12c);}_refreshFakeSelection(_0x58e127,_0x5390fc){if(_0x58e127==_0x5390fc)return;const _0x2b4577=_0x58e127?_0x58e127['editor']:null,_0x601271=_0x5390fc?_0x5390fc['editor']:null,_0x162f39=(_0x326d27,_0x3ba0c6)=>{const _0x5cf7ef=_0x3ba0c6['model']['markers']['getMarkersGroup'](_0xf47230);for(const _0xda077f of _0x5cf7ef)_0x326d27['removeMarker'](_0xda077f);},_0x53495a=(_0x56d501,_0x40b1fa,_0x30a3bd)=>{const _0x36059b=_0x40b1fa['model'];for(let _0x4bcc52=0x0;_0x4bcc52<_0x30a3bd['ranges']['length'];_0x4bcc52++){let _0x359409=_0x30a3bd['ranges'][_0x4bcc52];const _0x1aef52=_0xf47230+':'+_0x30a3bd['id']+':'+_0x4bcc52;if(_0x359409['start']['isAtEnd']){const _0x547b2b=_0x359409['start']['getLastMatchingPosition'](({item:_0x86d0ce})=>!_0x36059b['schema']['isContent'](_0x86d0ce),{'boundaries':_0x359409});_0x359409=_0x56d501['createRange'](_0x547b2b,_0x359409['end']);}_0x56d501['addMarker'](_0x1aef52,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x359409});}};_0x2b4577&&_0x601271&&_0x2b4577===_0x601271&&_0x5390fc?_0x2b4577['model']['change'](_0x2feb08=>{_0x162f39(_0x2feb08,_0x2b4577),_0x53495a(_0x2feb08,_0x601271,_0x5390fc);}):(_0x2b4577&&_0x2b4577['model']['change'](_0x19e00f=>_0x162f39(_0x19e00f,_0x2b4577)),_0x601271&&_0x5390fc&&_0x601271['model']['change'](_0x4214d3=>_0x53495a(_0x4214d3,_0x601271,_0x5390fc)));}_getMarkersInDocumentOrder(_0x10746a,_0x333453){const _0x28dedb=Array['from'](_0x10746a['model']['markers']['getMarkersGroup'](_0xf47230+':context'));return(_0x333453?_0x28dedb['filter'](_0x440214=>{const _0x169de7=_0x440214['getRange']();return _0x169de7&&_0x169de7['root']['rootName']===_0x333453['rootName'];}):_0x28dedb)['sort']((_0x2a8dd4,_0x3c4aad)=>_0x2a8dd4['getStart']()['isBefore'](_0x3c4aad['getStart']())?-0x1:_0x2a8dd4['getStart']()['isAfter'](_0x3c4aad['getStart']())?0x1:0x0);}_getEditorConfig(_0x4c1cb9){let _0x1dcaf7=this['_editorsToConfigs']['get'](_0x4c1cb9);return _0x1dcaf7||(_0x1dcaf7=function(_0x37ca15){const _0x3510a1={};if(_0x37ca15['plugins']['has']('AlignmentEditing')&&(_0x3510a1['alignment']=_0x37ca15['config']['get']('alignment')),_0x37ca15['plugins']['has']('CodeBlockEditing')&&(_0x3510a1['codeBlock']=_0x37ca15['config']['get']('codeBlock')),_0x37ca15['plugins']['has']('FontBackgroundColorEditing')&&(_0x3510a1['fontBackgroundColor']=_0x111ee9(_0x37ca15['config']['get']('fontBackgroundColor'),['documentColors','columns','colorPicker'])),_0x37ca15['plugins']['has']('FontColorEditing')&&(_0x3510a1['fontColor']=_0x111ee9(_0x37ca15['config']['get']('fontColor'),['documentColors','columns','colorPicker'])),_0x37ca15['plugins']['has']('FontFamilyEditing')&&(_0x3510a1['fontFamily']=_0x37ca15['config']['get']('fontFamily'),_0x3510a1['fontFamily']&&_0x3510a1['fontFamily']['options']&&(_0x3510a1['fontFamily']['options']=_0x990099(_0x3510a1['fontFamily']['options'],['model','upcastAlso']))),_0x37ca15['plugins']['has']('FontSizeEditing')&&(_0x3510a1['fontSize']=_0x37ca15['config']['get']('fontSize'),_0x3510a1['fontSize']&&_0x3510a1['fontSize']['options']&&(_0x3510a1['fontSize']['options']=_0x990099(_0x3510a1['fontSize']['options'],['upcastAlso']))),_0x37ca15['plugins']['has']('FootnotesEditing')){const _0x8a9d12=_0x37ca15['config']['get']('footnotes')??{};_0x8a9d12['footnotesProperties']&&'object'==typeof _0x8a9d12['footnotesProperties']&&(_0x8a9d12['footnotesProperties']=_0x111ee9(_0x8a9d12['footnotesProperties'],['toolbar','listStyles'])),_0x3510a1['footnotes']=_0x8a9d12;}if(_0x37ca15['plugins']['has']('HeadingEditing')&&(_0x3510a1['heading']=_0x37ca15['config']['get']('heading'),_0x3510a1['heading']&&_0x3510a1['heading']['options']&&(_0x3510a1['heading']['options']=_0x990099(_0x3510a1['heading']['options'],['model','icon','class','converterPriority','upcastAlso']))),_0x37ca15['plugins']['has']('HighlightEditing')&&(_0x3510a1['highlight']=_0x37ca15['config']['get']('highlight'),_0x3510a1['highlight']&&_0x3510a1['highlight']['options']&&(_0x3510a1['highlight']['options']=_0x990099(_0x3510a1['highlight']['options'],['model','color']))),_0x37ca15['plugins']['has']('ImageBlockEditing')||_0x37ca15['plugins']['has']('ImageInlineEditing')){const _0x31b02c=_0x111ee9(_0x37ca15['config']['get']('image'),['toolbar','upload','insert','resizeOptions']);_0x37ca15['plugins']['has']('ImageResizeEditing')||delete _0x31b02c['resizeUnit'],_0x37ca15['plugins']['has']('ImageStyleEditing')?_0x31b02c['styles']?.['options']&&(_0x31b02c['styles']['options']=_0x990099(_0x31b02c['styles']['options'],['icon'])):delete _0x31b02c['styles'],_0x3510a1['image']=_0x31b02c;}if(_0x37ca15['plugins']['has']('IndentBlock')&&(_0x3510a1['indentBlock']=_0x37ca15['config']['get']('indentBlock')),_0x37ca15['plugins']['has']('LineHeightEditing')&&(_0x3510a1['lineHeight']=_0x37ca15['config']['get']('lineHeight'),_0x3510a1['lineHeight']&&(delete _0x3510a1['lineHeight']['supportAllValues'],_0x3510a1['lineHeight']['options']&&(_0x3510a1['lineHeight']['options']=_0x990099(_0x3510a1['lineHeight']['options'],['model'])))),_0x37ca15['plugins']['has']('LinkEditing')&&(_0x3510a1['link']=_0x111ee9(_0x37ca15['config']['get']('link'),['toolbar'])),_0x37ca15['plugins']['has']('ListEditing')){const _0x19e13c=_0x37ca15['config']['get']('list')??{};delete _0x19e13c['enableListItemMarkerFormatting'],_0x37ca15['plugins']['has']('ListPropertiesEditing')?_0x19e13c['properties']&&_0x19e13c['properties']['styles']&&'object'==typeof _0x19e13c['properties']['styles']&&(_0x19e13c['properties']['styles']=_0x111ee9(_0x19e13c['properties']['styles'],['listStyleTypes'])):delete _0x19e13c['properties'],_0x3510a1['list']=_0x19e13c;}if(_0x37ca15['plugins']['has']('MediaEmbedEditing')&&(_0x3510a1['mediaEmbed']=_0x37ca15['config']['get']('mediaEmbed'),_0x3510a1['mediaEmbed']&&(delete _0x3510a1['mediaEmbed']['toolbar'],_0x37ca15['plugins']['has']('MediaEmbedResizeEditing')?_0x3510a1['mediaEmbed']['resizeOptions']&&(_0x3510a1['mediaEmbed']['resizeOptions']=_0x3510a1['mediaEmbed']['resizeOptions']['map'](_0x2f1630=>_0x111ee9(_0x2f1630,['icon','label']))):delete _0x3510a1['mediaEmbed']['resizeOptions'],_0x37ca15['plugins']['has']('MediaEmbedStyleEditing')?_0x3510a1['mediaEmbed']['styles']&&_0x3510a1['mediaEmbed']['styles']['options']&&(_0x3510a1['mediaEmbed']['styles']['options']=_0x990099(_0x3510a1['mediaEmbed']['styles']['options'],['icon','title'])):delete _0x3510a1['mediaEmbed']['styles'])),_0x37ca15['plugins']['has']('MultiLevelListEditing')&&(_0x3510a1['listMultiLevel']=_0x37ca15['config']['get']('listMultiLevel')??{}),_0x37ca15['plugins']['has']('MentionEditing')){const _0xf8fc87=_0x111ee9(_0x37ca15['config']['get']('mention'),['commitKeys','dropdownLimit']);_0xf8fc87['feeds']&&(_0xf8fc87['feeds']=_0xf8fc87['feeds']['map'](_0x1566d6=>_0x111ee9(_0x1566d6,['minimumCharacters','itemRenderer','dropdownLimit']))),_0x3510a1['mention']=_0xf8fc87;}if(_0x37ca15['plugins']['has']('MergeFieldsEditing')){const _0x4a978d=_0x111ee9(_0x37ca15['config']['get']('mergeFields'),['previewModes','initialPreviewMode','previewHtmlValues','sanitizeHtml']);Array['isArray'](_0x4a978d['definitions'])&&(_0x4a978d['definitions']=_0x4a978d['definitions']['map'](_0x8edf5b=>'groupId'in _0x8edf5b?(Array['isArray'](_0x8edf5b['definitions'])&&(_0x8edf5b['definitions']=_0x8edf5b['definitions']['map'](_0x1ad3b8=>_0x111ee9(_0x1ad3b8,['defaultValue']))),_0x8edf5b):_0x111ee9(_0x8edf5b,['defaultValue']))),_0x3510a1['mergeFields']=_0x4a978d;}if(_0x37ca15['plugins']['has']('StyleEditing')&&(_0x3510a1['style']=_0x37ca15['config']['get']('style')),_0x37ca15['plugins']['has']('TableEditing')){const _0x2ff990=_0x111ee9(_0x37ca15['config']['get']('table'),['contentToolbar','tableToolbar','showHiddenBorders']);_0x37ca15['plugins']['has']('TablePropertiesEditing')?_0x2ff990['tableProperties']&&'object'==typeof _0x2ff990['tableProperties']&&(_0x2ff990['tableProperties']=_0x111ee9(_0x2ff990['tableProperties'],['colorPicker','borderColors','backgroundColors'])):delete _0x2ff990['tableProperties'],_0x37ca15['plugins']['has']('TableCellPropertiesEditing')?_0x2ff990['tableCellProperties']&&'object'==typeof _0x2ff990['tableCellProperties']&&(_0x2ff990['tableCellProperties']=_0x111ee9(_0x2ff990['tableCellProperties'],['colorPicker','borderColors','backgroundColors'])):delete _0x2ff990['tableCellProperties'],_0x37ca15['plugins']['has']('TableLayoutEditing')?_0x2ff990['tableLayout']||(_0x2ff990['tableLayout']={}):delete _0x2ff990['tableLayout'],_0x37ca15['plugins']['has']('TableCaptionEditing')?_0x2ff990['tableCaption']||(_0x2ff990['tableCaption']={}):delete _0x2ff990['tableCaption'],_0x3510a1['table']=_0x2ff990;}_0x37ca15['plugins']['has']('TextPartLanguageEditing')&&(_0x3510a1['textPartLanguage']=_0x37ca15['config']['get']('language.textPartLanguage'));for(const [_0x42ecb9,_0xfb4f51]of _0x1b210d)_0x37ca15['plugins']['has'](_0x42ecb9)&&(_0x3510a1[_0xfb4f51]={});return _0x3510a1;}(_0x4c1cb9),this['_editorsToConfigs']['set'](_0x4c1cb9,_0x1dcaf7)),_0x1dcaf7;}},_0x4435ef=class extends _0x491313['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x1b69ab,_0xb58eb6){let _0x3b2160;if(_0xb58eb6||(_0xb58eb6=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0xb58eb6?_0x3b2160=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3b2160=this['context']['editors']['find'](_0x1eeacd=>_0x1eeacd['config']['get']('collaboration.channelId')==_0xb58eb6)),!_0x3b2160)throw new _0x491313['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x35a697=_0x3b2160['plugins'],_0x2b98d9=_0x35a697['has']('CommentsRepository')?_0x35a697['get']('CommentsRepository'):void 0x0,_0x415a2c=_0x35a697['has']('CommentsOnly')&&_0x35a697['get']('CommentsOnly'),_0x56fb8b=_0x1b69ab['includes']('document:write'),_0xc4421b=_0x1b69ab['includes']('comment:modify_all'),_0x375797=_0x1b69ab['includes']('comment:admin'),_0x1656a3=_0x1b69ab['includes']('comment:write'),_0x320151=_0x1656a3||_0x375797,_0x41d0ee=_0x320151||_0xc4421b,_0x295a00=_0x56fb8b||_0x320151;if(_0x415a2c&&(_0x415a2c['isEnabled']=!_0x56fb8b&&_0x41d0ee),_0x3b2160 instanceof _0x491313['Editor']&&(_0x56fb8b||_0x41d0ee&&_0x2b98d9?_0x3b2160['disableReadOnlyMode']('no-permissions'):_0x3b2160['enableReadOnlyMode']('no-permissions')),_0x2b98d9){_0x2b98d9['setPermissions']({'admin':_0x375797,'modifyAll':_0xc4421b,'write':_0x1656a3,'resolve':_0x295a00},_0xb58eb6);const _0x578eb0=_0x3b2160 instanceof _0x491313['Editor']&&_0x3b2160['commands']['get']('addCommentThread');_0x578eb0&&(_0x320151?_0x578eb0['clearForceDisabled']('noPermissions'):_0x578eb0['forceDisabled']('noPermissions'));}}};function _0xf6c22e(_0x4d4437,_0x1668dd){const t=_0x4d4437['t'];switch(_0x1668dd){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}var _0x16b3af=class extends _0x491313['ContextPlugin']{['users'];_lastColor;['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x4435ef];}constructor(_0x5af9ec){super(_0x5af9ec),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x491313['Collection'](),this['_locale']=_0x5af9ec['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}init(){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x308979,name:_0x279538,..._0x27ca63}){if(!_0x308979||'string'!=typeof _0x308979)throw new _0x491313['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x308979))throw new _0x491313['CKEditorError']('users-add-duplicated-id',null,{'id':_0x308979});const _0x3a6518=this['context']['config']['get']('users.getInitialsCallback'),_0x48e083={..._0x27ca63,'id':_0x308979,'name':_0x2e81c2(this['_locale'],_0x279538),'color':this['_getNextColor']()};_0x48e083['name']=_0x2e81c2(this['_locale'],_0x48e083['name']);const _0x2372db=new _0x5223cd(_0x48e083,_0x3a6518);return this['users']['add'](_0x2372db),_0x2372db;}getUser(_0x1b4a22){return this['users']['get'](_0x1b4a22);}['useAnonymousUser'](){const _0x1c0817=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x1c0817);}['defineMe'](_0x271662){if(this['_myId'])throw new _0x491313['CKEditorError']('users-me-already-defined',null);const _0xdb4ef4=this['getUser'](_0x271662);if(!_0xdb4ef4)throw new _0x491313['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x271662,_0xdb4ef4['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x3d57a8=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3d57a8&&(this['_lastColor']=0x0),new _0x2f87d8(this['_lastColor']++);}['_addAnonymousUser'](){const _0x41c3c7=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x41c3c7,'name':_0xf6c22e(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},_0x5223cd=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x596699,_0x1053b6){this['id']=_0x596699['id'],this['color']=_0x596699['color'],this['name']=_0x596699['name'],this['initials']=_0x1053b6?_0x1053b6(this['name']):this['_computeInitials'](),this['avatar']=_0x596699['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x5eba35=this['name']['split']('\x20')['filter'](_0x227ada=>/^[\p{Letter}]/u['test'](_0x227ada));return 0x1===_0x5eba35['length']?this['_getInitial'](_0x5eba35[0x0]):0x0===_0x5eba35['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5eba35[0x0])+this['_getInitial'](_0x5eba35[_0x5eba35['length']-0x1]);}_getInitial(_0x502a0c){return String['fromCodePoint'](_0x502a0c['codePointAt'](0x0))['toUpperCase']();}};function _0x2e81c2(_0x26723c,_0x1d3a65=''){return''==(_0x1d3a65=_0x1d3a65['trim']())?_0xf6c22e(_0x26723c,'Anonymous'):_0x1d3a65;}var _0x2f87d8=class{['_id'];constructor(_0x3f6ddb){this['_id']=_0x3f6ddb;}get['id'](){return this['_id'];}getBackgroundColorClass(){return'ck-user__bg-color--'+this['id'];}getSelectionClass(){return'ck-user__selection--'+this['id'];}getMarkerClass(){return'ck-user__marker--'+this['id'];}getColorVariable(){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}getColorAlphaVariable(){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},_0x302d20=class extends _0x491313['View']{['name'];notificationView;constructor(_0x15d998,_0x1ea2e0,_0x490b22,_0x39afa9){super(_0x15d998),this['name']=_0x1ea2e0['name'],this['notificationView']=null;const _0x4786b6=['ck','ck-user'],_0x256315=['ck','ck-user__img'];_0x1ea2e0['isAnonymous']&&_0x256315['push']('ck-user__anonymous'),!_0x1ea2e0['isAnonymous']&&_0x1ea2e0['isMe']&&_0x4786b6['push']('ck-user_me'),(_0x1ea2e0['avatar']||_0x39afa9)&&_0x256315['push']('ck-user__avatar');let _0x17a143=null;if(_0x39afa9&&(_0x17a143=new _0x491313['IconView'](),_0x17a143['content']=_0x39afa9,_0x17a143['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x490b22){const _0x4a3d2d=new _0x491313['IconView']();_0x4a3d2d['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4a3d2d['content']=_0x491313['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x490b22},'children':[_0x4a3d2d]};}const _0x58cbcf=[{'tag':'div','attributes':{'class':_0x256315,'style':{'background-image':_0x1ea2e0['avatar']&&!_0x39afa9?'url(\x27'+_0x1ea2e0['avatar']+'\x27)':''}},'children':_0x17a143?[_0x17a143]:[]},{'tag':'div','attributes':{'class':_0x1ea2e0['avatar']||_0x39afa9?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x1ea2e0['name']},'children':[{'text':_0x1ea2e0['initials']}]}];this['notificationView']&&_0x58cbcf['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x4786b6,'data-user-id':_0x1ea2e0['id']},'children':_0x58cbcf});}},_0x5c5ba5=class extends _0x491313['View']{['children'];['iconView'];['labelView'];constructor(_0x481fe3){super(_0x481fe3);const _0x41c5c4=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x41c5c4['to']('class'),_0x41c5c4['to']('iconPosition',_0x96d05=>'right'===_0x96d05?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x41c5c4['to']('tooltip'),'data-cke-tooltip-position':_0x41c5c4['to']('tooltipPosition'),'data-cke-tooltip-class':_0x41c5c4['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x4b062b,_0x2dcb52,_0x253071,_0x14a45e)=>{_0x253071&&!_0x14a45e?this['children']['add'](this['iconView'],0x0):!_0x253071&&_0x14a45e&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x24aa06=new _0x491313['IconView']();return _0x24aa06['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x24aa06['bind']('content')['to'](this,'icon'),_0x24aa06;}_createLabelView(){const _0x28cc3b=new _0x491313['View'](this['locale']),_0x1b6a1d=this['bindTemplate'];return _0x28cc3b['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x1b6a1d['to']('label')}]}),_0x28cc3b;}},_0xd61a0c=class extends _0x491313['View']{['id'];constructor(_0x28b1f4,_0x4a6871){super(_0x28b1f4),this['id']='ck-aria-description-'+(0x0,_0x491313['uid'])(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x4a6871}]});}},_0x11c0d5=class extends _0x491313['ButtonView']{['render'](){super['render'](),_0x256887(this);}},_0x522cc9=class extends _0x491313['DropdownButtonView']{['render'](){super['render'](),_0x256887(this);}};function _0x256887(_0x92b6eb){_0x92b6eb['listenTo'](_0x92b6eb['element'],'mousedown',(_0x170064,_0x5101dc)=>{_0x5101dc['stopPropagation'](),_0x5101dc['preventDefault']();}),_0x92b6eb['listenTo'](_0x92b6eb['element'],'mouseup',()=>{_0x92b6eb['element']['focus']();});}function _0x41e4c4(_0x55e80c){const _0x1dda8e=_0x55e80c['split'](':');return{'group':_0x1dda8e[0x0],'type':_0x1dda8e[0x1],'subType':_0x1dda8e['length']>=0x5?_0x1dda8e[0x2]:null,'id':_0x1dda8e['length']<0x5?_0x1dda8e[0x2]:_0x1dda8e[0x3],'authorId':_0x1dda8e['length']<0x5?_0x1dda8e[0x3]:_0x1dda8e[0x4],'markerCount':0x6==_0x1dda8e['length']?_0x1dda8e[0x5]:null};}function _0x3dbeb9(_0x204634,_0x392cb2){const _0xbd7bda=_0x204634['end']['nodeBefore'];if(_0xbd7bda&&_0xbd7bda['is']('element')&&_0x392cb2['schema']['isBlock'](_0xbd7bda)&&!_0x392cb2['schema']['isObject'](_0xbd7bda)){const _0x1afd10=_0x392cb2['createPositionAt'](_0xbd7bda,'end');return _0x392cb2['createRange'](_0x204634['start'],_0x1afd10);}return _0x204634;}var _0x5be104=class extends _0x491313['Plugin']{afterInit(){const _0x53a90e=this['editor'];_0x53a90e['plugins']['has']('AlignmentEditing')&&_0x53a90e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const _0x1e496e=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var _0x4ba59f=class extends _0x491313['Plugin']{afterInit(){const _0x532fd8=this['editor'],_0x418977=_0x532fd8['plugins']['get']('SuggestionsConversion');for(const _0x389649 of _0x1e496e){if(!_0x532fd8['plugins']['has'](_0x389649))continue;const _0x4bc1dc=_0x389649['slice'](0x0,-0x7)['toLowerCase']();_0x418977['registerInlineAttribute'](_0x4bc1dc);}}},_0x487b12=class extends _0x491313['Plugin']{afterInit(){const _0x4dbfd4=this['editor'],_0x575a66=_0x4dbfd4['plugins']['get']('SuggestionsConversion');_0x4dbfd4['plugins']['has']('BookmarkEditing')&&_0x575a66['registerBlockAttribute']('bookmarkId');}};const _0x51dd78=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tn=class extends _0x491313['Plugin']{afterInit(){const _0x54257a=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0xd857e3,commandName:_0xc70b3d}of _0x51dd78)this['editor']['plugins']['has'](_0xd857e3)&&_0x54257a['registerInlineAttribute'](_0xc70b3d);}},_0x5134ea=class extends _0x491313['Plugin']{afterInit(){const {editor:_0x3c16b8}=this;if(!_0x3c16b8['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x47d9e8=_0x3c16b8['plugins']['get']('SuggestionsConversion');_0x47d9e8['registerBlockAttribute']('footnotesListStyle'),_0x47d9e8['registerBlockAttribute']('footnotesListStart');}},_0x3b9f76=class extends _0x491313['Plugin']{afterInit(){const _0x3b951d=this['editor'];if(!_0x3b951d['plugins']['has']('GeneralHtmlSupport')||!_0x3b951d['plugins']['has']('DataSchema'))return;const _0x4b7bc6=_0x3b951d['plugins']['get']('SuggestionsConversion'),_0x2d6498=_0x3b951d['plugins']['get']('GeneralHtmlSupport'),_0x2529f3=_0x3b951d['plugins']['get']('DataSchema');for(const _0x2d204a of _0x2529f3['getDefinitionsForView'](/.*/,!0x1)){const _0x84c7a1=_0x2d6498['getGhsAttributeNameForElement'](_0x2d204a['view']);!_0x2d204a['isInline']||_0x2d204a['isObject']||'appliesToBlock'in _0x2d204a&&_0x2d204a['appliesToBlock']?_0x4b7bc6['registerBlockAttribute'](_0x84c7a1):_0x4b7bc6['registerInlineAttribute'](_0x84c7a1);}}},_0x28aaa4=class extends _0x491313['Plugin']{afterInit(){const _0x1b2d09=this['editor'];_0x1b2d09['plugins']['has']('HighlightEditing')&&_0x1b2d09['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},_0x51f40b=class extends _0x491313['Plugin']{afterInit(){const _0x3dbdbf=this['editor'];_0x3dbdbf['plugins']['has']('HtmlEmbed')&&_0x3dbdbf['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},_0x23909d=class extends _0x491313['Plugin']{afterInit(){const _0x413bab=this['editor'];if(!_0x413bab['plugins']['has']('ImageEditing'))return;const _0x58a7b0=_0x413bab['plugins']['get']('SuggestionsConversion');_0x58a7b0['registerBlockAttribute']('src'),_0x413bab['plugins']['has']('ImageResize')&&_0x58a7b0['registerBlockAttribute']('resizedWidth'),_0x413bab['plugins']['has']('ImageTextAlternativeEditing')&&_0x58a7b0['registerBlockAttribute']('alt'),_0x413bab['plugins']['has']('PictureEditing')&&_0x58a7b0['registerBlockAttribute']('sources'),_0x413bab['plugins']['has']('ImageSizeAttributes')&&(_0x58a7b0['registerBlockAttribute']('width'),_0x58a7b0['registerBlockAttribute']('height'));}},_0x13b337=class extends _0x491313['Plugin']{afterInit(){const _0x16299c=this['editor'],_0x272398=_0x16299c['plugins']['get']('SuggestionsConversion');_0x16299c['plugins']['has']('IndentBlock')&&(_0x272398['registerBlockAttribute']('blockIndent'),_0x16299c['plugins']['has']('ListEditing')&&(_0x272398['registerBlockAttribute']('blockIndentList'),_0x272398['registerBlockAttribute']('blockIndentListItem')));}},_0x40cb10=class extends _0x491313['Plugin']{afterInit(){const _0x3029f3=this['editor'];_0x3029f3['plugins']['has']('LineHeight')&&_0x3029f3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},_0x4d54ac=class extends _0x491313['Plugin']{afterInit(){const _0x4ae69b=this['editor'];if(!_0x4ae69b['plugins']['has']('LinkEditing'))return;const _0x234949=_0x4ae69b['plugins']['get']('SuggestionsConversion'),_0x15f50d=_0x4ae69b['commands']['get']('link');_0x234949['registerInlineAttribute']('linkHref');for(const _0x1ed41f of _0x15f50d['manualDecorators'])_0x234949['registerInlineAttribute'](_0x1ed41f['id']);}},_0xfa5477=class extends _0x491313['Plugin']{afterInit(){const _0x2812be=this['editor'];if(!_0x2812be['plugins']['has']('ListEditing'))return;const _0x44df48=_0x2812be['plugins']['get']('SuggestionsConversion'),_0x57aedd=_0x2812be['plugins']['has']('TodoListEditing');_0x44df48['registerBlockAttribute']('listItemId'),_0x44df48['registerBlockAttribute']('listType'),_0x44df48['registerBlockAttribute']('listIndent'),_0x57aedd&&_0x44df48['registerBlockAttribute']('todoListChecked');}},_0x5783c4=class extends _0x491313['Plugin']{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x260071=this['editor']['config']['get']('list.properties'),_0x294698=this['editor']['plugins']['get']('SuggestionsConversion');_0x260071['styles']&&_0x294698['registerBlockAttribute']('listStyle'),_0x260071['reversed']&&_0x294698['registerBlockAttribute']('listReversed'),_0x260071['startIndex']&&_0x294698['registerBlockAttribute']('listStart');}},_0x5c109a=class extends _0x491313['Plugin']{afterInit(){const _0x4b4cdb=this['editor'],_0x4f7251=_0x4b4cdb['plugins']['get']('SuggestionsConversion');_0x4b4cdb['plugins']['has']('MultiLevelList')&&_0x4f7251['registerBlockAttribute']('listMarkerStyle');}},_0x56de5a=class extends _0x491313['Plugin']{afterInit(){const _0x3c431a=this['editor'];if(!_0x3c431a['plugins']['has']('TableEditing'))return;const _0x19597a=_0x3c431a['plugins']['get']('SuggestionsConversion');_0x19597a['registerBlockAttribute']('headingRows'),_0x19597a['registerBlockAttribute']('headingColumns');}},_0x312249=class extends _0x491313['Plugin']{afterInit(){const {plugins:_0x20ecb9}=this['editor'];if(!_0x20ecb9['has']('TablePropertiesEditing'))return;const _0x1ed35d=_0x20ecb9['get']('SuggestionsConversion');for(const _0xd1a813 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x1ed35d['registerBlockAttribute'](_0xd1a813);}},_0x326691=class extends _0x491313['Plugin']{afterInit(){const _0x259574=this['editor'],_0x1725de=_0x259574['plugins']['get']('SuggestionsConversion');_0x259574['plugins']['has']('TableLayout')&&_0x1725de['registerBlockAttribute']('tableType');}},_0x30c27a=class extends _0x491313['Plugin']{afterInit(){const _0x4b612d=this['editor'],_0x573f01=this['editor']['plugins']['get']('SuggestionsConversion');_0x4b612d['plugins']['has']('Uploadcare')&&_0x4b612d['plugins']['has']('UploadcareImageEdit')&&_0x573f01['registerBlockAttribute']('uploadcareImageId');}},_0x1decd4=class extends _0x491313['Plugin']{afterInit(){const _0x4f338f=this['editor'];if(!_0x4f338f['plugins']['has']('ShiftEnter'))return;const _0x14435e=_0x4f338f['plugins']['get']('SuggestionsConversion'),_0x2409c7=(_0x2f95bb,_0x1a8930,_0x59faad,_0x112740)=>{if(_0x112740&&!_0x59faad['options']['showSuggestionHighlights'])return;if(!_0x59faad['consumable']['test'](_0x1a8930['markerRange'],_0x2f95bb['name']))return;const _0x142539=_0x4f338f['model'];for(const _0x3e8f7c of _0x1a8930['markerRange']['getItems']()){if(!_0x3e8f7c['is']('element','softBreak'))continue;const _0x5f1898='deletion'==_0x1a8930['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x52ab59,authorId:_0x3d23ba}=_0x41e4c4(_0x1a8930['markerName']),_0x385454=_0x59faad['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5f1898,'data-suggestion':_0x52ab59,'data-author-id':_0x3d23ba}),_0x86ac17=_0x59faad['mapper']['toViewPosition'](_0x142539['createPositionBefore'](_0x3e8f7c));!_0x112740&&_0x14435e['_activeMarkers']['includes'](_0x1a8930['markerName'])&&_0x59faad['writer']['addClass']('ck-suggestion-marker--active',_0x385454),_0x59faad['writer']['insert'](_0x86ac17,_0x385454),_0x59faad['mapper']['bindElementToMarker'](_0x385454,_0x1a8930['markerName']);}};_0x4f338f['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3d4db8,_0x3cb799,_0x56564a)=>{_0x2409c7(_0x3d4db8,_0x3cb799,_0x56564a,!0x1);},{'priority':'high'}),_0x4f338f['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x49a591,_0x3f6e61,_0x51410f)=>{_0x2409c7(_0x49a591,_0x3f6e61,_0x51410f,!0x1);},{'priority':'high'}),_0x4f338f['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4c01c3,_0x1ccc3c,_0x541194)=>{_0x2409c7(_0x4c01c3,_0x1ccc3c,_0x541194,!0x0);},{'priority':'high'}),_0x4f338f['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x143299,_0x20e359,_0x30bdfa)=>{_0x2409c7(_0x143299,_0x20e359,_0x30bdfa,!0x0);},{'priority':'high'});}},_0x4ab8eb=class extends _0x491313['Plugin']{afterInit(){const _0x351a1b=this['editor'];if(!_0x351a1b['plugins']['has']('MediaEmbedEditing'))return;const _0x5bcaad=_0x351a1b['plugins']['get']('SuggestionsConversion');_0x351a1b['plugins']['has']('MediaEmbedResizeEditing')&&_0x5bcaad['registerBlockAttribute']('resizedWidth'),_0x351a1b['plugins']['has']('MediaEmbedStyleEditing')&&_0x5bcaad['registerBlockAttribute']('mediaStyle'),_0x351a1b['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x56b22f,{writer:_0x1dc2d1,options:_0x494050})=>{if(_0x494050['showSuggestionHighlights'])return _0x1dc2d1['createEmptyElement']('div');},'converterPriority':'high'}),_0x351a1b['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3fd4e4,_0x58666d,_0x35b72d)=>{_0x35b72d['options']['showSuggestionHighlights']&&_0x3fd4e4['stop']();},{'priority':'high'});}},_0x3ee3e3=class extends _0x491313['Plugin']{afterInit(){const _0xd91196=this['editor'];if(!_0xd91196['plugins']['has']('Table'))return;_0xd91196['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x23df38,_0x2dda16,_0x3a37c2)=>{((_0x5762e3,_0x1fb135,_0x1f9b7b)=>{if(!_0x1f9b7b['options']['showSuggestionHighlights'])return;const _0x28aec1=_0x1fb135['item'];if(!_0x28aec1||!_0x28aec1['is']('element','tableCell'))return;const _0x40dad0=_0x1f9b7b['mapper']['toViewElement'](_0x28aec1);if(_0x40dad0){const {id:_0x3ab6bf,authorId:_0x499a6e}=_0x41e4c4(_0x1fb135['markerName']);(0x0,_0x491313['setHighlightHandling'])(_0x40dad0,_0x1f9b7b['writer'],(_0x3077f6,_0x531753,_0x585991)=>{_0x585991['addClass']((0x0,_0x491313['toArray'])(_0x531753['classes']),_0x3077f6),_0x585991['setAttribute']('data-suggestion',_0x3ab6bf,_0x3077f6),_0x585991['setAttribute']('data-author-id',_0x499a6e,_0x3077f6);});}})(0x0,_0x2dda16,_0x3a37c2);},{'priority':'highest'});}},_0x3e964e=class extends _0x491313['Plugin']{afterInit(){const _0x4ef41e=this['editor'];_0x4ef41e['plugins']['has']('HorizontalLineEditing')&&_0x4ef41e['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x4bad90,{writer:_0x485bfd,options:_0x3f9c20})=>{if(!_0x3f9c20['showSuggestionHighlights'])return null;const _0x293e0f=_0x485bfd['createContainerElement']('div'),_0x3676cf=_0x485bfd['createEmptyElement']('hr');return _0x485bfd['addClass']('ck-horizontal-line',_0x293e0f),_0x485bfd['insert'](_0x485bfd['createPositionAt'](_0x293e0f,0x0),_0x3676cf),_0x293e0f;},'converterPriority':'high'});}},_0x6c7332=class extends _0x491313['Plugin']{afterInit(){const {plugins:_0x5d6d3f,model:_0x59cd0c}=this['editor'];if(!_0x5d6d3f['has']('TableCellPropertiesEditing'))return;const _0x3f9e8d=_0x5d6d3f['get']('SuggestionsConversion');for(const _0x17b14c of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x3f9e8d['registerBlockAttribute'](_0x17b14c);_0x59cd0c['schema']['checkAttribute']('tableCell','tableCellType')&&_0x3f9e8d['registerBlockAttribute']('tableCellType');}},_0x2032aa=class extends _0x491313['Plugin']{afterInit(){const _0x484639=this['editor'];_0x484639['plugins']['has']('TableEditing')&&_0x484639['config']['get']('table.enableFooters')&&_0x484639['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},_0x5f577d=class extends _0x491313['Plugin']{_activeMarkers=[];_blockAttributeKeys=new Set(['$elementName']);_inlineAttributeKeys=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get requires(){return[_0x5be104,_0x4ba59f,_0x487b12,tn,_0x5134ea,_0x3b9f76,_0x28aaa4,_0x3e964e,_0x51f40b,_0x23909d,_0x13b337,_0x40cb10,_0x4d54ac,_0xfa5477,_0x5783c4,_0x4ab8eb,_0x5c109a,_0x1decd4,_0x3ee3e3,_0x56de5a,_0x2032aa,_0x326691,_0x6c7332,_0x312249,_0x30c27a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x5922f5=this['editor'],_0x38f039=(_0x433c7b,_0x5c84bb,_0x48b901)=>{const {id:_0xdaf52f,authorId:_0x1eab02,type:_0x56bc80,subType:_0x3840ab}=_0x41e4c4(_0x433c7b['markerName']),_0x1a85f5=['ck-suggestion-marker',this['_getClassName'](_0x56bc80,_0x3840ab)];let _0x2a4b99=0xbb8;return _0x48b901||this['_activeMarkers']['includes'](_0x433c7b['markerName'])&&(_0x1a85f5['push']('ck-suggestion-marker--active'),_0x2a4b99=0xbc2),'deletion'==_0x56bc80&&(_0x2a4b99+=0x5),{'classes':_0x1a85f5,'attributes':{'data-suggestion':_0xdaf52f,'data-author-id':_0x1eab02},'priority':_0x2a4b99};};_0x5922f5['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x212d96,_0x289595)=>_0x38f039(_0x212d96,0x0,!0x1)}),_0x5922f5['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x70da7,_0x2945f4)=>_0x38f039(_0x70da7,0x0,!0x0)}),_0x5922f5['conversion']['for']('dataDowncast')['add'](_0x1d9220=>{_0x1d9220['on']('addMarker:suggestion',(_0x45a8f7,_0x3aada9,_0x4b8692)=>{if(!_0x4b8692['options']['showSuggestionHighlights'])return;const _0x46dbc9=_0x3aada9['item'];if(!_0x46dbc9)return;const _0x134a1f=_0x4b8692['mapper']['toViewElement'](_0x46dbc9);_0x5922f5['model']['schema']['isObject'](_0x46dbc9)&&_0x134a1f&&!_0x134a1f['getCustomProperty']('widget')&&_0x134a1f['is']('containerElement')&&(0x0,_0x491313['toWidget'])(_0x134a1f,_0x4b8692['writer']);},{'priority':'high'});});const _0x3cc872=(_0x11cf12,_0x430c09,_0x20ef0a,_0x53cb14,_0x4716a2)=>{if(_0x53cb14&&!_0x20ef0a['options']['showSuggestionHighlights'])return;if(!_0x430c09['item'])return;const {id:_0x382ee8,authorId:_0x5d58a4,subType:_0x35b492}=_0x41e4c4(_0x430c09['markerName']);if(_0x4716a2){const _0x32a5b2=_0x35b492['split']('|')[0x0];if(!this['isBlockAttribute'](_0x32a5b2))return;}if(_0x430c09['item']['is']('selection'))return void _0x20ef0a['consumable']['consume'](_0x430c09['item'],_0x11cf12['name']);const _0xb69ad5=_0x20ef0a['mapper']['toViewElement'](_0x430c09['item']);if(_0x430c09['item']['is']('element')&&_0x5922f5['model']['schema']['isBlock'](_0x430c09['item'])&&!_0xb69ad5['getCustomProperty']('addHighlight')){_0x20ef0a['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0xb69ad5),_0x20ef0a['writer']['setAttribute']('data-suggestion',_0x382ee8,_0xb69ad5),_0x20ef0a['writer']['setAttribute']('data-author-id',_0x5d58a4,_0xb69ad5),_0x20ef0a['mapper']['bindElementToMarker'](_0xb69ad5,_0x430c09['markerName']),_0x53cb14||(this['_activeMarkers']['includes'](_0x430c09['markerName'])?_0x20ef0a['writer']['addClass']('ck-suggestion-marker--active',_0xb69ad5):_0x20ef0a['writer']['removeClass']('ck-suggestion-marker--active',_0xb69ad5));for(const _0x4a1f3b of _0x5922f5['model']['createRangeIn'](_0x430c09['item'])['getItems']())_0x20ef0a['consumable']['consume'](_0x4a1f3b,_0x11cf12['name']);_0x20ef0a['consumable']['consume'](_0x430c09['item'],_0x11cf12['name']);}},_0x1c8965=(_0x19cfcd,_0x58f5be,_0x25dfce,_0x4bcffd)=>{const _0x357a29=_0x25dfce['mapper']['markerNameToElements'](_0x58f5be['markerName']);if(_0x357a29){if(_0x4bcffd){const {subType:_0x2caab5}=_0x41e4c4(_0x58f5be['markerName']),_0x4c71fc=_0x2caab5['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4c71fc))return;}for(const _0x451a0e of _0x357a29)_0x451a0e['getCustomProperty']('addHighlight')||(_0x25dfce['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x451a0e),_0x25dfce['writer']['removeAttribute']('data-suggestion',_0x451a0e),_0x25dfce['writer']['removeAttribute']('data-author-id',_0x451a0e),_0x25dfce['mapper']['unbindElementFromMarkerName'](_0x451a0e,_0x58f5be['markerName']));}};_0x5922f5['conversion']['for']('editingDowncast')['add'](_0x39bef0=>{_0x39bef0['on']('addMarker:suggestion:formatBlock',(_0x502e3e,_0x54f49c,_0x471704)=>{_0x3cc872(_0x502e3e,_0x54f49c,_0x471704,!0x1,!0x1);},{'priority':'high'});}),_0x5922f5['conversion']['for']('editingDowncast')['add'](_0x38e9f5=>{_0x38e9f5['on']('addMarker:suggestion:attribute',(_0x5133e9,_0xfb7669,_0x26bb1a)=>{_0x3cc872(_0x5133e9,_0xfb7669,_0x26bb1a,!0x1,!0x0);},{'priority':'high'});}),_0x5922f5['conversion']['for']('editingDowncast')['add'](_0x8e4b5a=>{_0x8e4b5a['on']('removeMarker:suggestion:formatBlock',(_0x5149e2,_0x381aa2,_0x2ba3d6)=>{_0x1c8965(0x0,_0x381aa2,_0x2ba3d6,!0x1);},{'priority':'high'});}),_0x5922f5['conversion']['for']('editingDowncast')['add'](_0x14cbfa=>{_0x14cbfa['on']('removeMarker:suggestion:attribute',(_0x5a7ff6,_0x2e8193,_0xccae53)=>{_0x1c8965(0x0,_0x2e8193,_0xccae53,!0x0);},{'priority':'high'});}),_0x5922f5['conversion']['for']('dataDowncast')['add'](_0x4f28d6=>{_0x4f28d6['on']('addMarker:suggestion:formatBlock',(_0x307d73,_0x18137c,_0x11d829)=>{_0x3cc872(_0x307d73,_0x18137c,_0x11d829,!0x0,!0x1);},{'priority':'highest'});}),_0x5922f5['conversion']['for']('dataDowncast')['add'](_0x43439e=>{_0x43439e['on']('addMarker:suggestion:attribute',(_0x26e633,_0x14c683,_0x390ede)=>{_0x3cc872(_0x26e633,_0x14c683,_0x390ede,!0x0,!0x0);},{'priority':'highest'});}),_0x5922f5['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2656e0,_0x2e5037)=>_0x2e5037['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x2656e0['substr'](0xb)}});const _0x189bd1=(_0x19f24a,_0x178c30,_0x519ed4,_0x1cec07,_0x5ca83c)=>{if(_0x1cec07&&!_0x519ed4['options']['showSuggestionHighlights'])return;if(!_0x519ed4['consumable']['test'](_0x178c30['markerRange'],_0x19f24a['name']))return;const _0x1ae8bc=this['_activeMarkers'],_0x463987=_0x178c30['markerRange']['getWalker'](),_0x10467a=_0x178c30['markerRange']['start'],_0x2ef26a=_0x5922f5['model']['schema'];let _0x378992=null,_0x407835=null,_0x2993d1=!0x1,_0x528142=!0x1;for(const _0x1b43e5 of _0x463987){const _0x3f716a=_0x1b43e5['item'];_0x2993d1=_0x2993d1||_0x2ef26a['isContent'](_0x3f716a);const _0x49aaec=_0x519ed4['mapper']['toViewElement'](_0x3f716a);if(_0x49aaec&&_0x49aaec['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1b43e5['type']&&(_0x2ef26a['isBlock'](_0x3f716a)&&!_0x2ef26a['isLimit'](_0x3f716a)&&(_0x3f716a['nextSibling']||_0x10467a['isAtEnd']?_0x378992&&_0x378992['parent']==_0x3f716a||(_0x378992=_0x3f716a,_0x2a2c71(_0x1b43e5['previousPosition']),_0x528142=!0x0):_0x407835=_0x407835||_0x1b43e5['previousPosition']));}function _0x2a2c71(_0x2bf52f){const {id:_0x7f3a34,authorId:_0xe51861}=_0x41e4c4(_0x178c30['markerName']),_0x323192=_0x519ed4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5ca83c,'data-suggestion':_0x7f3a34,'data-author-id':_0xe51861}),_0x5ad7d9=_0x519ed4['mapper']['toViewPosition'](_0x2bf52f);!_0x1cec07&&_0x1ae8bc['includes'](_0x178c30['markerName'])&&_0x519ed4['writer']['addClass']('ck-suggestion-marker--active',_0x323192),_0x519ed4['writer']['insert'](_0x5ad7d9,_0x323192),_0x519ed4['mapper']['bindElementToMarker'](_0x323192,_0x178c30['markerName']);}_0x2993d1||_0x528142||!_0x407835||_0x2a2c71(_0x407835);};_0x5922f5['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x564982,_0xaa4f7d,_0x44d60d)=>{_0x189bd1(_0x564982,_0xaa4f7d,_0x44d60d,!0x1,'merge');},{'priority':'high'}),_0x5922f5['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x146f92,_0x5ea509,_0x214ee0)=>{_0x189bd1(_0x146f92,_0x5ea509,_0x214ee0,!0x0,'merge');},{'priority':'high'}),_0x5922f5['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x6e610d,_0x72c72a,_0x1f0d5f)=>{_0x189bd1(_0x6e610d,_0x72c72a,_0x1f0d5f,!0x1,'split');},{'priority':'high'}),_0x5922f5['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3931b8,_0x1d15d4,_0x578fad)=>{_0x189bd1(_0x3931b8,_0x1d15d4,_0x578fad,!0x0,'split');},{'priority':'high'}),_0x5922f5['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x8fcd76,_0x4a5fbd,_0x3a1b12)=>{((_0x48688f,_0x34e9e0,_0x18080f)=>{const _0x4c38b1=_0x18080f['mapper']['markerNameToElements'](_0x34e9e0['markerName']);if(_0x4c38b1){for(const _0x225380 of _0x4c38b1)(_0x225380['hasClass']('ck-suggestion-marker-split')||_0x225380['hasClass']('ck-suggestion-marker-merge'))&&(_0x18080f['mapper']['unbindElementFromMarkerName'](_0x225380,_0x34e9e0['markerName']),_0x18080f['writer']['remove'](_0x225380));}})(0x0,_0x4a5fbd,_0x3a1b12);},{'priority':'high'});const _0x249d35=(_0x4b3105,_0x24fba4,_0xad35d3,_0x454ce6)=>{if(_0x454ce6&&!_0xad35d3['options']['showSuggestionHighlights'])return;const _0x5f3a24=_0x24fba4['markerRange']['start'],_0x45bc8a=_0x24fba4['markerRange']['end'],_0x33655c=_0x5922f5['model']['schema'];if(!_0x5f3a24['isTouching'](_0x45bc8a)||!_0x5f3a24['nodeAfter'])return;const _0x34f965=_0x5f3a24['nodeAfter'];if(_0x33655c['isBlock'](_0x34f965)&&!_0x33655c['isLimit'](_0x34f965)&&_0x33655c['checkChild'](_0x34f965,'$text')){if(!_0xad35d3['consumable']['consume'](_0x24fba4['markerRange'],_0x4b3105['name']))return;const {id:_0x264da0,authorId:_0x40deaa}=_0x41e4c4(_0x24fba4['markerName']),_0x547920=_0xad35d3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x264da0,'data-author-id':_0x40deaa}),_0x2b5ba1=_0xad35d3['mapper']['toViewPosition'](_0x45bc8a);!_0x454ce6&&this['_activeMarkers']['includes'](_0x24fba4['markerName'])&&_0xad35d3['writer']['addClass']('ck-suggestion-marker--active',_0x547920),_0xad35d3['writer']['insert'](_0x2b5ba1,_0x547920),_0xad35d3['mapper']['bindElementToMarker'](_0x547920,_0x24fba4['markerName']);}};_0x5922f5['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1f3ba8,_0x3cebf5,_0x1e0f31)=>{_0x249d35(_0x1f3ba8,_0x3cebf5,_0x1e0f31,!0x1);},{'priority':'high'}),_0x5922f5['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x182144,_0x1ac144,_0x520759)=>{_0x249d35(_0x182144,_0x1ac144,_0x520759,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x53f7ea,_0x4e527c,_0xfa60c5)=>{this['_activeMarkers']=_0xfa60c5['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x5e8715){this['_blockAttributeKeys']['add'](_0x5e8715);}registerInlineAttribute(_0x2cb335){this['_inlineAttributeKeys']['add'](_0x2cb335);}isBlockAttribute(_0x243bd2){return this['_blockAttributeKeys']['has'](_0x243bd2);}isInlineAttribute(_0x434fc2){return this['_inlineAttributeKeys']['has'](_0x434fc2);}isRegisteredAttribute(_0x129042){return this['isInlineAttribute'](_0x129042)||this['isBlockAttribute'](_0x129042);}_getClassName(_0x8d1f7e,_0x447381){if('attribute'!=_0x8d1f7e)return'ck-suggestion-marker-'+_0x8d1f7e;const _0x4f296d=_0x447381['split']('|')[0x0];return this['isBlockAttribute'](_0x4f296d)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}},_0x2a12d5=class extends Error{},_0x55bcb9=class extends _0x2a12d5{constructor(_0x272f4b){super('Invalid\x20DateTime:\x20'+_0x272f4b['toMessage']());}},_0x2befa0=class extends _0x2a12d5{constructor(_0x43f566){super('Invalid\x20Interval:\x20'+_0x43f566['toMessage']());}},_0x509f97=class extends _0x2a12d5{constructor(_0xd5cfae){super('Invalid\x20Duration:\x20'+_0xd5cfae['toMessage']());}},_0xbc6770=class extends _0x2a12d5{},_0x2eb2f6=class extends _0x2a12d5{constructor(_0x2fe4b8){super('Invalid\x20unit\x20'+_0x2fe4b8);}},_0x4b2347=class extends _0x2a12d5{},_0x137ef7=class extends _0x2a12d5{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}};const _0x369d38='numeric',_0x2d2c2b='short',_0xf089fb='long',_0x55a19e={'year':_0x369d38,'month':_0x369d38,'day':_0x369d38},_0x19563f={'year':_0x369d38,'month':_0x2d2c2b,'day':_0x369d38},_0xb82c0d={'year':_0x369d38,'month':_0x2d2c2b,'day':_0x369d38,'weekday':_0x2d2c2b},_0x3ea4ca={'year':_0x369d38,'month':_0xf089fb,'day':_0x369d38},_0x24b9e4={'year':_0x369d38,'month':_0xf089fb,'day':_0x369d38,'weekday':_0xf089fb},_0x5d7745={'hour':_0x369d38,'minute':_0x369d38},_0x5503d6={'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38},_0x210532={'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38,'timeZoneName':_0x2d2c2b},_0xfca870={'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38,'timeZoneName':_0xf089fb},_0x31afb5={'hour':_0x369d38,'minute':_0x369d38,'hourCycle':'h23'},_0x12af82={'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38,'hourCycle':'h23'},_0x4bf6b5={'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38,'hourCycle':'h23','timeZoneName':_0x2d2c2b},_0x1e73a3={'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38,'hourCycle':'h23','timeZoneName':_0xf089fb},_0x3794a6={'year':_0x369d38,'month':_0x369d38,'day':_0x369d38,'hour':_0x369d38,'minute':_0x369d38},_0xc0444={'year':_0x369d38,'month':_0x369d38,'day':_0x369d38,'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38},_0x3705c1={'year':_0x369d38,'month':_0x2d2c2b,'day':_0x369d38,'hour':_0x369d38,'minute':_0x369d38},_0x413862={'year':_0x369d38,'month':_0x2d2c2b,'day':_0x369d38,'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38},_0x507b74={'year':_0x369d38,'month':_0x2d2c2b,'day':_0x369d38,'weekday':_0x2d2c2b,'hour':_0x369d38,'minute':_0x369d38},_0x5c9eea={'year':_0x369d38,'month':_0xf089fb,'day':_0x369d38,'hour':_0x369d38,'minute':_0x369d38,'timeZoneName':_0x2d2c2b},tr={'year':_0x369d38,'month':_0xf089fb,'day':_0x369d38,'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38,'timeZoneName':_0x2d2c2b},_0x3f968d={'year':_0x369d38,'month':_0xf089fb,'day':_0x369d38,'weekday':_0xf089fb,'hour':_0x369d38,'minute':_0x369d38,'timeZoneName':_0xf089fb},_0x16274c={'year':_0x369d38,'month':_0xf089fb,'day':_0x369d38,'weekday':_0xf089fb,'hour':_0x369d38,'minute':_0x369d38,'second':_0x369d38,'timeZoneName':_0xf089fb};var _0x4ef7ae=class{get type(){throw new _0x137ef7();}get['name'](){throw new _0x137ef7();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new _0x137ef7();}offsetName(_0x378b6e,_0x514ec1){throw new _0x137ef7();}formatOffset(_0x2fd282,_0x7330a5){throw new _0x137ef7();}offset(_0x4ad043){throw new _0x137ef7();}['equals'](_0x11e5a3){throw new _0x137ef7();}get['isValid'](){throw new _0x137ef7();}};let _0x4b6536=null;var _0x4db0c7=class SystemZone extends _0x4ef7ae{static get instance(){return null===_0x4b6536&&(_0x4b6536=new SystemZone()),_0x4b6536;}get type(){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}offsetName(_0x533572,{format:_0x1a0877,locale:_0x1ed26c}){return _0x4504c1(_0x533572,_0x1a0877,_0x1ed26c);}formatOffset(_0x109d67,_0x10f0c2){return _0x2d11b2(this['offset'](_0x109d67),_0x10f0c2);}offset(_0x47289f){return-new Date(_0x47289f)['getTimezoneOffset']();}['equals'](_0x158863){return'system'===_0x158863['type'];}get['isValid'](){return!0x0;}};const _0x94a677=new Map(),_0x3fb432={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},_0x1882f0=new Map();var _0x372b85=class _0x572a96 extends _0x4ef7ae{static create(_0x4c3907){let _0x158411=_0x1882f0['get'](_0x4c3907);return void 0x0===_0x158411&&_0x1882f0['set'](_0x4c3907,_0x158411=new _0x572a96(_0x4c3907)),_0x158411;}static resetCache(){_0x1882f0['clear'](),_0x94a677['clear']();}static['isValidSpecifier'](_0x17cd83){return this['isValidZone'](_0x17cd83);}static['isValidZone'](_0x5e5f04){if(!_0x5e5f04)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x5e5f04})['format'](),!0x0;}catch(_0xa55a00){return!0x1;}}constructor(_0x2432b0){super(),this['zoneName']=_0x2432b0,this['valid']=_0x572a96['isValidZone'](_0x2432b0);}get type(){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}offsetName(_0x896600,{format:_0x212547,locale:_0x23792c}){return _0x4504c1(_0x896600,_0x212547,_0x23792c,this['name']);}formatOffset(_0x2fb7a8,_0x53f86f){return _0x2d11b2(this['offset'](_0x2fb7a8),_0x53f86f);}offset(_0x127801){if(!this['valid'])return NaN;const _0x1cf7d1=new Date(_0x127801);if(isNaN(_0x1cf7d1))return NaN;const _0xeb6e08=function(_0x3ed0ad){let _0x396b55=_0x94a677['get'](_0x3ed0ad);return void 0x0===_0x396b55&&(_0x396b55=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x3ed0ad,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),_0x94a677['set'](_0x3ed0ad,_0x396b55)),_0x396b55;}(this['name']);let [_0x2e024b,_0x202e05,_0x1da15c,_0x556c65,_0x22daa6,_0x5a3eb4,_0x293a7a]=_0xeb6e08['formatToParts']?function(_0x4a2f90,_0x480f12){const _0x59a3d1=_0x4a2f90['formatToParts'](_0x480f12),_0x2a7a4e=[];for(let _0x5deab6=0x0;_0x5deab6<_0x59a3d1['length'];_0x5deab6++){const {type:_0x1fd28d,value:_0x1e2a4b}=_0x59a3d1[_0x5deab6],_0x4d1b51=_0x3fb432[_0x1fd28d];'era'===_0x1fd28d?_0x2a7a4e[_0x4d1b51]=_0x1e2a4b:_0x425bbd(_0x4d1b51)||(_0x2a7a4e[_0x4d1b51]=parseInt(_0x1e2a4b,0xa));}return _0x2a7a4e;}(_0xeb6e08,_0x1cf7d1):function(_0x43aaa4,_0x6027fe){const _0x29beaf=_0x43aaa4['format'](_0x6027fe)['replace'](/\u200E/g,''),[,_0x4f224b,_0x2a92c7,_0x495db7,_0x3609c8,_0x456e46,_0x484c7e,_0x5014cf]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x29beaf);return[_0x495db7,_0x4f224b,_0x2a92c7,_0x3609c8,_0x456e46,_0x484c7e,_0x5014cf];}(_0xeb6e08,_0x1cf7d1);'BC'===_0x556c65&&(_0x2e024b=0x1-Math['abs'](_0x2e024b));let _0x447e83=+_0x1cf7d1;const _0xbaae07=_0x447e83%0x3e8;return _0x447e83-=_0xbaae07>=0x0?_0xbaae07:0x3e8+_0xbaae07,(_0x2950ce({'year':_0x2e024b,'month':_0x202e05,'day':_0x1da15c,'hour':0x18===_0x22daa6?0x0:_0x22daa6,'minute':_0x5a3eb4,'second':_0x293a7a,'millisecond':0x0})-_0x447e83)/0xea60;}['equals'](_0x10d7e5){return'iana'===_0x10d7e5['type']&&_0x10d7e5['name']===this['name'];}get['isValid'](){return this['valid'];}};let _0x597622={};const _0x1618fc=new Map();function _0x37885a(_0x378b17,_0x41410e={}){const _0x2f3059=JSON['stringify']([_0x378b17,_0x41410e]);let _0xf0a4b4=_0x1618fc['get'](_0x2f3059);return void 0x0===_0xf0a4b4&&(_0xf0a4b4=new Intl['DateTimeFormat'](_0x378b17,_0x41410e),_0x1618fc['set'](_0x2f3059,_0xf0a4b4)),_0xf0a4b4;}const _0x33f325=new Map(),_0x4c8150=new Map();let _0x8222aa=null;const _0x81bbe7=new Map();function _0x4bc156(_0x45a5f4){let _0x42b54b=_0x81bbe7['get'](_0x45a5f4);return void 0x0===_0x42b54b&&(_0x42b54b=new Intl['DateTimeFormat'](_0x45a5f4)['resolvedOptions'](),_0x81bbe7['set'](_0x45a5f4,_0x42b54b)),_0x42b54b;}const _0x8de79a=new Map();function _0xf90a3f(_0x1e5380,_0x2f7e38,_0x27733d,_0x424261){const _0xc479b6=_0x1e5380['listingMode']();return'error'===_0xc479b6?null:'en'===_0xc479b6?_0x27733d(_0x2f7e38):_0x424261(_0x2f7e38);}var _0x2e94bd=class{constructor(_0x1db6ed,_0x40faa2,_0x257e68){this['padTo']=_0x257e68['padTo']||0x0,this['floor']=_0x257e68['floor']||!0x1;const {padTo:_0x501bca,floor:_0x59da77,..._0x4d9793}=_0x257e68;if(!_0x40faa2||Object['keys'](_0x4d9793)['length']>0x0){const _0x25fc47={'useGrouping':!0x1,..._0x257e68};_0x257e68['padTo']>0x0&&(_0x25fc47['minimumIntegerDigits']=_0x257e68['padTo']),this['inf']=function(_0x483fda,_0x5ac9ea={}){const _0x221df3=JSON['stringify']([_0x483fda,_0x5ac9ea]);let _0x4c1727=_0x33f325['get'](_0x221df3);return void 0x0===_0x4c1727&&(_0x4c1727=new Intl['NumberFormat'](_0x483fda,_0x5ac9ea),_0x33f325['set'](_0x221df3,_0x4c1727)),_0x4c1727;}(_0x1db6ed,_0x25fc47);}}format(_0x484705){if(this['inf']){const _0x502e50=this['floor']?Math['floor'](_0x484705):_0x484705;return this['inf']['format'](_0x502e50);}return _0x5e4395(this['floor']?Math['floor'](_0x484705):_0x62aefe(_0x484705,0x3),this['padTo']);}},_0x2902e3=class{constructor(_0x2e2ae0,_0x62dac1,_0x3b85a8){let _0x282677;if(this['opts']=_0x3b85a8,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x2e2ae0;else{if('fixed'===_0x2e2ae0['zone']['type']){const _0x2eff37=_0x2e2ae0['offset']/0x3c*-0x1,_0x53d849=_0x2eff37>=0x0?'Etc/GMT+'+_0x2eff37:'Etc/GMT'+_0x2eff37;0x0!==_0x2e2ae0['offset']&&_0x372b85['create'](_0x53d849)['valid']?(_0x282677=_0x53d849,this['dt']=_0x2e2ae0):(_0x282677='UTC',this['dt']=0x0===_0x2e2ae0['offset']?_0x2e2ae0:_0x2e2ae0['setZone']('UTC')['plus']({'minutes':_0x2e2ae0['offset']}),this['originalZone']=_0x2e2ae0['zone']);}else'system'===_0x2e2ae0['zone']['type']?this['dt']=_0x2e2ae0:'iana'===_0x2e2ae0['zone']['type']?(this['dt']=_0x2e2ae0,_0x282677=_0x2e2ae0['zone']['name']):(_0x282677='UTC',this['dt']=_0x2e2ae0['setZone']('UTC')['plus']({'minutes':_0x2e2ae0['offset']}),this['originalZone']=_0x2e2ae0['zone']);}const _0x144b6d={...this['opts']};_0x144b6d['timeZone']=_0x144b6d['timeZone']||_0x282677,this['dtf']=_0x37885a(_0x62dac1,_0x144b6d);}format(){return this['originalZone']?this['formatToParts']()['map'](({value:_0x5c1967})=>_0x5c1967)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}formatToParts(){const _0x19183c=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x19183c['map'](_0x599bf5=>{if('timeZoneName'===_0x599bf5['type']){const _0x2136a6=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x599bf5,'value':_0x2136a6};}return _0x599bf5;}):_0x19183c;}resolvedOptions(){return this['dtf']['resolvedOptions']();}},_0x524876=class{constructor(_0x534c29,_0x3f8555,_0x55acfe){this['opts']={'style':'long',..._0x55acfe},!_0x3f8555&&_0x2ec4fd()&&(this['rtf']=function(_0x3bc13a,_0x26d696={}){const {base:_0x550309,..._0x5dabad}=_0x26d696,_0x3a772e=JSON['stringify']([_0x3bc13a,_0x5dabad]);let _0x12c220=_0x4c8150['get'](_0x3a772e);return void 0x0===_0x12c220&&(_0x12c220=new Intl['RelativeTimeFormat'](_0x3bc13a,_0x26d696),_0x4c8150['set'](_0x3a772e,_0x12c220)),_0x12c220;}(_0x534c29,_0x55acfe));}format(_0x7135ab,_0x3b68de){return this['rtf']?this['rtf']['format'](_0x7135ab,_0x3b68de):function(_0x2cb928,_0x1cafeb,_0x192620='always',_0x36fca7=!0x1){const _0x5d1c59={'years':['year','yr.'],'quarters':['quarter','qtr.'],'months':['month','mo.'],'weeks':['week','wk.'],'days':['day','day','days'],'hours':['hour','hr.'],'minutes':['minute','min.'],'seconds':['second','sec.']},_0x1c6d1a=-0x1===['hours','minutes','seconds']['indexOf'](_0x2cb928);if('auto'===_0x192620&&_0x1c6d1a){const _0x2e7a10='days'===_0x2cb928;switch(_0x1cafeb){case 0x1:return _0x2e7a10?'tomorrow':'next\x20'+_0x5d1c59[_0x2cb928][0x0];case-0x1:return _0x2e7a10?'yesterday':'last\x20'+_0x5d1c59[_0x2cb928][0x0];case 0x0:return _0x2e7a10?'today':'this\x20'+_0x5d1c59[_0x2cb928][0x0];}}const _0x1f607f=Object['is'](_0x1cafeb,-0x0)||_0x1cafeb<0x0,_0x3297e3=Math['abs'](_0x1cafeb),_0x5cd60b=0x1===_0x3297e3,_0x92f395=_0x5d1c59[_0x2cb928],_0x2c28d8=_0x36fca7?_0x5cd60b?_0x92f395[0x1]:_0x92f395[0x2]||_0x92f395[0x1]:_0x5cd60b?_0x5d1c59[_0x2cb928][0x0]:_0x2cb928;return _0x1f607f?_0x3297e3+'\x20'+_0x2c28d8+'\x20ago':'in\x20'+_0x3297e3+'\x20'+_0x2c28d8;}(_0x3b68de,_0x7135ab,this['opts']['numeric'],'long'!==this['opts']['style']);}formatToParts(_0x252460,_0x490cf6){return this['rtf']?this['rtf']['formatToParts'](_0x252460,_0x490cf6):[];}};const _0x3ada11={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};var _0x54006a=class _0x37f272{static fromOpts(_0x21b60c){return _0x37f272['create'](_0x21b60c['locale'],_0x21b60c['numberingSystem'],_0x21b60c['outputCalendar'],_0x21b60c['weekSettings'],_0x21b60c['defaultToEN']);}static create(_0xcd37f3,_0x2bfdb0,_0x3c7c0e,_0x104e9b,_0x2c41b0=!0x1){const _0x2518b5=_0xcd37f3||_0x1c974d['defaultLocale'],_0xa7e748=_0x2518b5||(_0x2c41b0?'en-US':_0x8222aa||(_0x8222aa=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x8222aa)),_0x17c2de=_0x2bfdb0||_0x1c974d['defaultNumberingSystem'],_0x45e45f=_0x3c7c0e||_0x1c974d['defaultOutputCalendar'],_0x2709b=_0x36f800(_0x104e9b)||_0x1c974d['defaultWeekSettings'];return new _0x37f272(_0xa7e748,_0x17c2de,_0x45e45f,_0x2709b,_0x2518b5);}static resetCache(){_0x8222aa=null,_0x1618fc['clear'](),_0x33f325['clear'](),_0x4c8150['clear'](),_0x81bbe7['clear'](),_0x8de79a['clear']();}static fromObject({locale:_0x3bfc1a,numberingSystem:_0x476977,outputCalendar:_0x37935f,weekSettings:_0x1ddca8}={}){return _0x37f272['create'](_0x3bfc1a,_0x476977,_0x37935f,_0x1ddca8);}constructor(_0x460b4a,_0x10976d,_0x1ec01f,_0x5adf7d,_0x4b45a2){const [_0x12e3a2,_0x21e896,_0x52fb3d]=function(_0x4d6bb0){const _0x188af2=_0x4d6bb0['indexOf']('-x-');-0x1!==_0x188af2&&(_0x4d6bb0=_0x4d6bb0['substring'](0x0,_0x188af2));const _0x1a1fa6=_0x4d6bb0['indexOf']('-u-');if(-0x1===_0x1a1fa6)return[_0x4d6bb0];{let _0x481f54,_0x370bd2;try{_0x481f54=_0x37885a(_0x4d6bb0)['resolvedOptions'](),_0x370bd2=_0x4d6bb0;}catch(_0x51c11d){const _0x5c792c=_0x4d6bb0['substring'](0x0,_0x1a1fa6);_0x481f54=_0x37885a(_0x5c792c)['resolvedOptions'](),_0x370bd2=_0x5c792c;}const {numberingSystem:_0x5e2099,calendar:_0x54f54f}=_0x481f54;return[_0x370bd2,_0x5e2099,_0x54f54f];}}(_0x460b4a);this['locale']=_0x12e3a2,this['numberingSystem']=_0x10976d||_0x21e896||null,this['outputCalendar']=_0x1ec01f||_0x52fb3d||null,this['weekSettings']=_0x5adf7d,this['intl']=function(_0x3bb5f8,_0x92ac04,_0x116fb8){return _0x116fb8||_0x92ac04?(_0x3bb5f8['includes']('-u-')||(_0x3bb5f8+='-u'),_0x116fb8&&(_0x3bb5f8+='-ca-'+_0x116fb8),_0x92ac04&&(_0x3bb5f8+='-nu-'+_0x92ac04),_0x3bb5f8):_0x3bb5f8;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x4b45a2,this['fastNumbersCached']=null;}get fastNumbers(){var _0x4c809b;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x4c809b=this)['numberingSystem']||'latn'===_0x4c809b['numberingSystem'])&&('latn'===_0x4c809b['numberingSystem']||!_0x4c809b['locale']||_0x4c809b['locale']['startsWith']('en')||'latn'===_0x4bc156(_0x4c809b['locale'])['numberingSystem'])),this['fastNumbersCached'];}listingMode(){const _0x5630e4=this['isEnglish'](),_0xe375=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x5630e4&&_0xe375?'en':'intl';}['clone'](_0x973b1e){return _0x973b1e&&0x0!==Object['getOwnPropertyNames'](_0x973b1e)['length']?_0x37f272['create'](_0x973b1e['locale']||this['specifiedLocale'],_0x973b1e['numberingSystem']||this['numberingSystem'],_0x973b1e['outputCalendar']||this['outputCalendar'],_0x36f800(_0x973b1e['weekSettings'])||this['weekSettings'],_0x973b1e['defaultToEN']||!0x1):this;}redefaultToEN(_0x4889ea={}){return this['clone']({..._0x4889ea,'defaultToEN':!0x0});}redefaultToSystem(_0x3f6c3f={}){return this['clone']({..._0x3f6c3f,'defaultToEN':!0x1});}months(_0xe1f878,_0x269074=!0x1){return _0xf90a3f(this,_0xe1f878,_0x1ee4b4,()=>{const _0x2ad8c2=_0x269074?{'month':_0xe1f878,'day':'numeric'}:{'month':_0xe1f878},_0x46c9e9=_0x269074?'format':'standalone';return this['monthsCache'][_0x46c9e9][_0xe1f878]||(this['monthsCache'][_0x46c9e9][_0xe1f878]=function(_0x2a5256){const _0x515f01=[];for(let _0x14adcd=0x1;_0x14adcd<=0xc;_0x14adcd++){const _0x234e5d=_0x210871['utc'](0x7d9,_0x14adcd,0x1);_0x515f01['push'](_0x2a5256(_0x234e5d));}return _0x515f01;}(_0x277d0f=>this['extract'](_0x277d0f,_0x2ad8c2,'month'))),this['monthsCache'][_0x46c9e9][_0xe1f878];});}['weekdays'](_0x1d323e,_0x1a56d9=!0x1){return _0xf90a3f(this,_0x1d323e,_0x3ff937,()=>{const _0xf5a5dc=_0x1a56d9?{'weekday':_0x1d323e,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x1d323e},_0x5d8e67=_0x1a56d9?'format':'standalone';return this['weekdaysCache'][_0x5d8e67][_0x1d323e]||(this['weekdaysCache'][_0x5d8e67][_0x1d323e]=function(_0x3d9c6c){const _0x21b735=[];for(let _0x52723e=0x1;_0x52723e<=0x7;_0x52723e++){const _0x405b81=_0x210871['utc'](0x7e0,0xb,0xd+_0x52723e);_0x21b735['push'](_0x3d9c6c(_0x405b81));}return _0x21b735;}(_0x9d0e9c=>this['extract'](_0x9d0e9c,_0xf5a5dc,'weekday'))),this['weekdaysCache'][_0x5d8e67][_0x1d323e];});}['meridiems'](){return _0xf90a3f(this,void 0x0,()=>_0x5dec1b,()=>{if(!this['meridiemCache']){const _0x1dd490={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[_0x210871['utc'](0x7e0,0xb,0xd,0x9),_0x210871['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x8c989=>this['extract'](_0x8c989,_0x1dd490,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0xd6fef3){return _0xf90a3f(this,_0xd6fef3,_0x9036cf,()=>{const _0x396a73={'era':_0xd6fef3};return this['eraCache'][_0xd6fef3]||(this['eraCache'][_0xd6fef3]=[_0x210871['utc'](-0x28,0x1,0x1),_0x210871['utc'](0x7e1,0x1,0x1)]['map'](_0x1a7e08=>this['extract'](_0x1a7e08,_0x396a73,'era'))),this['eraCache'][_0xd6fef3];});}extract(_0x2bc7b4,_0x2885b3,_0x224136){const _0x29558e=this['dtFormatter'](_0x2bc7b4,_0x2885b3)['formatToParts']()['find'](_0x5470f6=>_0x5470f6['type']['toLowerCase']()===_0x224136);return _0x29558e?_0x29558e['value']:null;}numberFormatter(_0xe95d03={}){return new _0x2e94bd(this['intl'],_0xe95d03['forceSimple']||this['fastNumbers'],_0xe95d03);}dtFormatter(_0x42a1e9,_0x169c08={}){return new _0x2902e3(_0x42a1e9,this['intl'],_0x169c08);}relFormatter(_0x1f76db={}){return new _0x524876(this['intl'],this['isEnglish'](),_0x1f76db);}listFormatter(_0x10e32c={}){return function(_0x4f2b17,_0x50be89={}){const _0xd561a8=JSON['stringify']([_0x4f2b17,_0x50be89]);let _0x4172ec=_0x597622[_0xd561a8];return _0x4172ec||(_0x4172ec=new Intl['ListFormat'](_0x4f2b17,_0x50be89),_0x597622[_0xd561a8]=_0x4172ec),_0x4172ec;}(this['intl'],_0x10e32c);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||_0x4bc156(this['intl'])['locale']['startsWith']('en-us');}getWeekSettings(){return this['weekSettings']?this['weekSettings']:_0x3485ea()?function(_0x3561ba){let _0x38ce80=_0x8de79a['get'](_0x3561ba);if(!_0x38ce80){const _0x15bbf4=new Intl['Locale'](_0x3561ba);_0x38ce80='getWeekInfo'in _0x15bbf4?_0x15bbf4['getWeekInfo']():_0x15bbf4['weekInfo'],'minimalDays'in _0x38ce80||(_0x38ce80={..._0x3ada11,..._0x38ce80}),_0x8de79a['set'](_0x3561ba,_0x38ce80);}return _0x38ce80;}(this['locale']):_0x3ada11;}getStartOfWeek(){return this['getWeekSettings']()['firstDay'];}getMinDaysInFirstWeek(){return this['getWeekSettings']()['minimalDays'];}getWeekendDays(){return this['getWeekSettings']()['weekend'];}['equals'](_0x58f88b){return this['locale']===_0x58f88b['locale']&&this['numberingSystem']===_0x58f88b['numberingSystem']&&this['outputCalendar']===_0x58f88b['outputCalendar'];}toString(){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}};let _0x40bd4d=null;var _0x745f21=class FixedOffsetZone extends _0x4ef7ae{static get utcInstance(){return null===_0x40bd4d&&(_0x40bd4d=new FixedOffsetZone(0x0)),_0x40bd4d;}static instance(_0x1f2880){return 0x0===_0x1f2880?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x1f2880);}static['parseSpecifier'](_0x546942){if(_0x546942){const _0x3e5a3f=_0x546942['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x3e5a3f)return new FixedOffsetZone(_0xa80433(_0x3e5a3f[0x1],_0x3e5a3f[0x2]));}return null;}constructor(_0x16387a){super(),this['fixed']=_0x16387a;}get type(){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+_0x2d11b2(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+_0x2d11b2(-this['fixed'],'narrow');}offsetName(){return this['name'];}formatOffset(_0x28e956,_0x4b0b91){return _0x2d11b2(this['fixed'],_0x4b0b91);}get['isUniversal'](){return!0x0;}offset(){return this['fixed'];}['equals'](_0x1bff47){return'fixed'===_0x1bff47['type']&&_0x1bff47['fixed']===this['fixed'];}get['isValid'](){return!0x0;}},_0x40a3b0=class extends _0x4ef7ae{constructor(_0x382506){super(),this['zoneName']=_0x382506;}get type(){return'invalid';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}offsetName(){return null;}formatOffset(){return'';}offset(){return NaN;}['equals'](){return!0x1;}get['isValid'](){return!0x1;}};function _0x1051f2(_0x55d8c3,_0x12ee82){if(_0x425bbd(_0x55d8c3)||null===_0x55d8c3)return _0x12ee82;if(_0x55d8c3 instanceof _0x4ef7ae)return _0x55d8c3;if('string'==typeof _0x55d8c3){const _0x4eb9b5=_0x55d8c3['toLowerCase']();return'default'===_0x4eb9b5?_0x12ee82:'local'===_0x4eb9b5||'system'===_0x4eb9b5?_0x4db0c7['instance']:'utc'===_0x4eb9b5||'gmt'===_0x4eb9b5?_0x745f21['utcInstance']:_0x745f21['parseSpecifier'](_0x4eb9b5)||_0x372b85['create'](_0x55d8c3);}return _0x483e95(_0x55d8c3)?_0x745f21['instance'](_0x55d8c3):'object'==typeof _0x55d8c3&&'offset'in _0x55d8c3&&'function'==typeof _0x55d8c3['offset']?_0x55d8c3:new _0x40a3b0(_0x55d8c3);}const _0x5b3c43={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},_0x33a063={'arab':[0x660,0x669],'arabext':[0x6f0,0x6f9],'bali':[0x1b50,0x1b59],'beng':[0x9e6,0x9ef],'deva':[0x966,0x96f],'fullwide':[0xff10,0xff17],'gujr':[0xae6,0xaef],'khmr':[0x17e0,0x17e9],'knda':[0xce6,0xcef],'laoo':[0xed0,0xed9],'limb':[0x1946,0x194f],'mlym':[0xd66,0xd6f],'mong':[0x1810,0x1819],'mymr':[0x1040,0x1049],'orya':[0xb66,0xb6f],'tamldec':[0xbe6,0xbef],'telu':[0xc66,0xc6f],'thai':[0xe50,0xe59],'tibt':[0xf20,0xf29]},_0x295a6c=_0x5b3c43['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),_0x8860ba=new Map();function _0x5729a1({numberingSystem:_0x3c8c46},_0x17b4db=''){const _0x10a264=_0x3c8c46||'latn';let _0x2c56ad=_0x8860ba['get'](_0x10a264);void 0x0===_0x2c56ad&&(_0x2c56ad=new Map(),_0x8860ba['set'](_0x10a264,_0x2c56ad));let _0x5b6323=_0x2c56ad['get'](_0x17b4db);return void 0x0===_0x5b6323&&(_0x5b6323=new RegExp(''+_0x5b3c43[_0x10a264]+_0x17b4db),_0x2c56ad['set'](_0x17b4db,_0x5b6323)),_0x5b6323;}let _0x3276da,_0x5a3c3c=()=>Date['now'](),_0x4f48d9='system',_0x8274e4=null,_0x1d8604=null,_0x2e2284=null,_0xa43dc2=0x3c,_0x230693=null;var _0x1c974d=class{static get['now'](){return _0x5a3c3c;}static set['now'](_0x1ab70b){_0x5a3c3c=_0x1ab70b;}static set defaultZone(_0x1d833f){_0x4f48d9=_0x1d833f;}static get defaultZone(){return _0x1051f2(_0x4f48d9,_0x4db0c7['instance']);}static get defaultLocale(){return _0x8274e4;}static set defaultLocale(_0xbddc64){_0x8274e4=_0xbddc64;}static get defaultNumberingSystem(){return _0x1d8604;}static set defaultNumberingSystem(_0xb491e0){_0x1d8604=_0xb491e0;}static get defaultOutputCalendar(){return _0x2e2284;}static set defaultOutputCalendar(_0x184af9){_0x2e2284=_0x184af9;}static get defaultWeekSettings(){return _0x230693;}static set defaultWeekSettings(_0x39e40a){_0x230693=_0x36f800(_0x39e40a);}static get twoDigitCutoffYear(){return _0xa43dc2;}static set twoDigitCutoffYear(_0x13cce5){_0xa43dc2=_0x13cce5%0x64;}static get throwOnInvalid(){return _0x3276da;}static set throwOnInvalid(t){_0x3276da=t;}static resetCaches(){_0x54006a['resetCache'](),_0x372b85['resetCache'](),_0x210871['resetCache'](),_0x8860ba['clear']();}},_0x55711f=class{constructor(_0x3be798,_0x4aece4){this['reason']=_0x3be798,this['explanation']=_0x4aece4;}toMessage(){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}};const _0x4ecc79=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x3f81e4=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function _0x2e4495(_0x5b745b,_0x3d4316){return new _0x55711f('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x3d4316+'\x20(of\x20type\x20'+typeof _0x3d4316+')\x20as\x20a\x20'+_0x5b745b+',\x20which\x20is\x20invalid');}function _0x2aaf94(_0xff60e8,_0x34c0d8,_0x10d0d8){const _0x2f45df=new Date(Date['UTC'](_0xff60e8,_0x34c0d8-0x1,_0x10d0d8));_0xff60e8<0x64&&_0xff60e8>=0x0&&_0x2f45df['setUTCFullYear'](_0x2f45df['getUTCFullYear']()-0x76c);const _0x52cb52=_0x2f45df['getUTCDay']();return 0x0===_0x52cb52?0x7:_0x52cb52;}function _0x1c34e2(_0x50f4c4,_0x151b8b,_0xbed07d){return _0xbed07d+(_0x4edca3(_0x50f4c4)?_0x3f81e4:_0x4ecc79)[_0x151b8b-0x1];}function _0x1cd197(_0x236040,_0x23df0f){const _0x49b00b=_0x4edca3(_0x236040)?_0x3f81e4:_0x4ecc79,_0x41ebbf=_0x49b00b['findIndex'](_0x46cf76=>_0x46cf76<_0x23df0f);return{'month':_0x41ebbf+0x1,'day':_0x23df0f-_0x49b00b[_0x41ebbf]};}function _0x33ca5b(_0x5d4094,_0x17c6bf){return(_0x5d4094-_0x17c6bf+0x7)%0x7+0x1;}function _0x404171(_0x59686a,_0x4eb620=0x4,_0x35e880=0x1){const {year:_0x492bfe,month:_0x30580a,day:_0x2d61c9}=_0x59686a,_0x125ea9=_0x1c34e2(_0x492bfe,_0x30580a,_0x2d61c9),_0x2a9fbd=_0x33ca5b(_0x2aaf94(_0x492bfe,_0x30580a,_0x2d61c9),_0x35e880);let _0x2bc936,_0x34ffa6=Math['floor']((_0x125ea9-_0x2a9fbd+0xe-_0x4eb620)/0x7);return _0x34ffa6<0x1?(_0x2bc936=_0x492bfe-0x1,_0x34ffa6=_0x240b8f(_0x2bc936,_0x4eb620,_0x35e880)):_0x34ffa6>_0x240b8f(_0x492bfe,_0x4eb620,_0x35e880)?(_0x2bc936=_0x492bfe+0x1,_0x34ffa6=0x1):_0x2bc936=_0x492bfe,{'weekYear':_0x2bc936,'weekNumber':_0x34ffa6,'weekday':_0x2a9fbd,..._0x15d54e(_0x59686a)};}function _0x231eed(_0x1da8bd,_0x37422d=0x4,_0x3c97bf=0x1){const {weekYear:_0x3c42d5,weekNumber:_0x617710,weekday:_0x2633a2}=_0x1da8bd,_0x3d17a1=_0x33ca5b(_0x2aaf94(_0x3c42d5,0x1,_0x37422d),_0x3c97bf),_0x4c8ca7=_0x553470(_0x3c42d5);let _0x59b0de,_0x3ca93e=0x7*_0x617710+_0x2633a2-_0x3d17a1-0x7+_0x37422d;_0x3ca93e<0x1?(_0x59b0de=_0x3c42d5-0x1,_0x3ca93e+=_0x553470(_0x59b0de)):_0x3ca93e>_0x4c8ca7?(_0x59b0de=_0x3c42d5+0x1,_0x3ca93e-=_0x553470(_0x3c42d5)):_0x59b0de=_0x3c42d5;const {month:_0x2dd88e,day:_0x5cbb7a}=_0x1cd197(_0x59b0de,_0x3ca93e);return{'year':_0x59b0de,'month':_0x2dd88e,'day':_0x5cbb7a,..._0x15d54e(_0x1da8bd)};}function _0x3204a7(_0x156887){const {year:_0x1f053b,month:_0x2baf24,day:_0x3661b2}=_0x156887;return{'year':_0x1f053b,'ordinal':_0x1c34e2(_0x1f053b,_0x2baf24,_0x3661b2),..._0x15d54e(_0x156887)};}function to(_0x38b594){const {year:_0x156eae,ordinal:_0x13798a}=_0x38b594,{month:_0x411e94,day:_0x52b3c3}=_0x1cd197(_0x156eae,_0x13798a);return{'year':_0x156eae,'month':_0x411e94,'day':_0x52b3c3,..._0x15d54e(_0x38b594)};}function _0x3f7165(_0x2739d4,_0x5e5823){if(_0x425bbd(_0x2739d4['localWeekday'])&&_0x425bbd(_0x2739d4['localWeekNumber'])&&_0x425bbd(_0x2739d4['localWeekYear']))return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};if(!_0x425bbd(_0x2739d4['weekday'])||!_0x425bbd(_0x2739d4['weekNumber'])||!_0x425bbd(_0x2739d4['weekYear']))throw new _0xbc6770('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x425bbd(_0x2739d4['localWeekday'])||(_0x2739d4['weekday']=_0x2739d4['localWeekday']),_0x425bbd(_0x2739d4['localWeekNumber'])||(_0x2739d4['weekNumber']=_0x2739d4['localWeekNumber']),_0x425bbd(_0x2739d4['localWeekYear'])||(_0x2739d4['weekYear']=_0x2739d4['localWeekYear']),delete _0x2739d4['localWeekday'],delete _0x2739d4['localWeekNumber'],delete _0x2739d4['localWeekYear'],{'minDaysInFirstWeek':_0x5e5823['getMinDaysInFirstWeek'](),'startOfWeek':_0x5e5823['getStartOfWeek']()};}function _0x500764(_0x51ccde){const _0xd81cac=_0x2ce388(_0x51ccde['year']),_0x111549=_0x1d5308(_0x51ccde['month'],0x1,0xc),_0x4eba2c=_0x1d5308(_0x51ccde['day'],0x1,_0x58649a(_0x51ccde['year'],_0x51ccde['month']));return _0xd81cac?_0x111549?!_0x4eba2c&&_0x2e4495('day',_0x51ccde['day']):_0x2e4495('month',_0x51ccde['month']):_0x2e4495('year',_0x51ccde['year']);}function _0x99f658(_0x3f7a2d){const {hour:_0x5f20b4,minute:_0x5e630a,second:_0x245302,millisecond:_0x3b92a0}=_0x3f7a2d,_0x1268b7=_0x1d5308(_0x5f20b4,0x0,0x17)||0x18===_0x5f20b4&&0x0===_0x5e630a&&0x0===_0x245302&&0x0===_0x3b92a0,_0x5b8dd1=_0x1d5308(_0x5e630a,0x0,0x3b),_0x28e562=_0x1d5308(_0x245302,0x0,0x3b),_0xf9ea28=_0x1d5308(_0x3b92a0,0x0,0x3e7);return _0x1268b7?_0x5b8dd1?_0x28e562?!_0xf9ea28&&_0x2e4495('millisecond',_0x3b92a0):_0x2e4495('second',_0x245302):_0x2e4495('minute',_0x5e630a):_0x2e4495('hour',_0x5f20b4);}function _0x425bbd(_0x1d845c){return void 0x0===_0x1d845c;}function _0x483e95(_0x356dc8){return'number'==typeof _0x356dc8;}function _0x2ce388(_0x2fffe9){return'number'==typeof _0x2fffe9&&_0x2fffe9%0x1==0x0;}function _0x2ec4fd(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x586691){return!0x1;}}function _0x3485ea(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x1d61de){return!0x1;}}function _0x3dbfa6(_0x5639ca,_0x439f5d,_0x334915){if(0x0!==_0x5639ca['length'])return _0x5639ca['reduce']((_0x4f55bb,_0x2e1ef5)=>{const _0x1ced6d=[_0x439f5d(_0x2e1ef5),_0x2e1ef5];return _0x4f55bb&&_0x334915(_0x4f55bb[0x0],_0x1ced6d[0x0])===_0x4f55bb[0x0]?_0x4f55bb:_0x1ced6d;},null)[0x1];}function _0xe80360(_0x2bad3b,_0x39fb49){return Object['prototype']['hasOwnProperty']['call'](_0x2bad3b,_0x39fb49);}function _0x36f800(_0x38317b){if(null==_0x38317b)return null;if('object'!=typeof _0x38317b)throw new _0x4b2347('Week\x20settings\x20must\x20be\x20an\x20object');if(!_0x1d5308(_0x38317b['firstDay'],0x1,0x7)||!_0x1d5308(_0x38317b['minimalDays'],0x1,0x7)||!Array['isArray'](_0x38317b['weekend'])||_0x38317b['weekend']['some'](_0x965291=>!_0x1d5308(_0x965291,0x1,0x7)))throw new _0x4b2347('Invalid\x20week\x20settings');return{'firstDay':_0x38317b['firstDay'],'minimalDays':_0x38317b['minimalDays'],'weekend':Array['from'](_0x38317b['weekend'])};}function _0x1d5308(_0x8fb76,_0x3b83fd,_0x2b8b4e){return _0x2ce388(_0x8fb76)&&_0x8fb76>=_0x3b83fd&&_0x8fb76<=_0x2b8b4e;}function _0x5e4395(_0x5f39ba,_0x1371c3=0x2){let _0x24841f;return _0x24841f=_0x5f39ba<0x0?'-'+(''+-_0x5f39ba)['padStart'](_0x1371c3,'0'):(''+_0x5f39ba)['padStart'](_0x1371c3,'0'),_0x24841f;}function _0x15b25c(_0x348f9f){return _0x425bbd(_0x348f9f)||null===_0x348f9f||''===_0x348f9f?void 0x0:parseInt(_0x348f9f,0xa);}function _0xddb8c(_0x22b2ce){return _0x425bbd(_0x22b2ce)||null===_0x22b2ce||''===_0x22b2ce?void 0x0:parseFloat(_0x22b2ce);}function _0x5dc894(_0x3553b4){if(!_0x425bbd(_0x3553b4)&&null!==_0x3553b4&&''!==_0x3553b4){const _0x3421a6=0x3e8*parseFloat('0.'+_0x3553b4);return Math['floor'](_0x3421a6);}}function _0x62aefe(_0x568be7,_0x83f97,_0x5b276f=!0x1){const _0x2074c3=0xa**_0x83f97;return(_0x5b276f?Math['trunc']:Math['round'])(_0x568be7*_0x2074c3)/_0x2074c3;}function _0x4edca3(_0x2d6bbb){return _0x2d6bbb%0x4==0x0&&(_0x2d6bbb%0x64!=0x0||_0x2d6bbb%0x190==0x0);}function _0x553470(_0x493f28){return _0x4edca3(_0x493f28)?0x16e:0x16d;}function _0x58649a(_0xd3daba,_0xce9268){const _0x132d36=function(_0x35d417,_0x371b23){return _0x35d417-_0x371b23*Math['floor'](_0x35d417/_0x371b23);}(_0xce9268-0x1,0xc)+0x1;return 0x2===_0x132d36?_0x4edca3(_0xd3daba+(_0xce9268-_0x132d36)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x132d36-0x1];}function _0x2950ce(_0x4aca08){let _0x56789f=Date['UTC'](_0x4aca08['year'],_0x4aca08['month']-0x1,_0x4aca08['day'],_0x4aca08['hour'],_0x4aca08['minute'],_0x4aca08['second'],_0x4aca08['millisecond']);return _0x4aca08['year']<0x64&&_0x4aca08['year']>=0x0&&(_0x56789f=new Date(_0x56789f),_0x56789f['setUTCFullYear'](_0x4aca08['year'],_0x4aca08['month']-0x1,_0x4aca08['day'])),+_0x56789f;}function _0x2484a9(_0x3046dd,_0x81e3eb,_0x15e9e6){return-_0x33ca5b(_0x2aaf94(_0x3046dd,0x1,_0x81e3eb),_0x15e9e6)+_0x81e3eb-0x1;}function _0x240b8f(_0x23128f,_0x49f665=0x4,_0x462304=0x1){const _0x1685c7=_0x2484a9(_0x23128f,_0x49f665,_0x462304),_0x1dbf2e=_0x2484a9(_0x23128f+0x1,_0x49f665,_0x462304);return(_0x553470(_0x23128f)-_0x1685c7+_0x1dbf2e)/0x7;}function _0x4d3b9b(_0x34ec9f){return _0x34ec9f>0x63?_0x34ec9f:_0x34ec9f>_0x1c974d['twoDigitCutoffYear']?0x76c+_0x34ec9f:0x7d0+_0x34ec9f;}function _0x4504c1(_0x5e6717,_0x25c364,_0x2946ae,_0x92923f=null){const _0x1f97d2=new Date(_0x5e6717),_0x3803e2={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x92923f&&(_0x3803e2['timeZone']=_0x92923f);const _0x10d4b8={'timeZoneName':_0x25c364,..._0x3803e2},_0xbd8bc8=new Intl['DateTimeFormat'](_0x2946ae,_0x10d4b8)['formatToParts'](_0x1f97d2)['find'](_0x40f6c0=>'timezonename'===_0x40f6c0['type']['toLowerCase']());return _0xbd8bc8?_0xbd8bc8['value']:null;}function _0xa80433(_0x28ee3b,_0xcaefb5){let _0x55a397=parseInt(_0x28ee3b,0xa);Number['isNaN'](_0x55a397)&&(_0x55a397=0x0);const _0x351e03=parseInt(_0xcaefb5,0xa)||0x0;return 0x3c*_0x55a397+(_0x55a397<0x0||Object['is'](_0x55a397,-0x0)?-_0x351e03:_0x351e03);}function _0x2058b5(_0x38e908){const _0x3b702c=Number(_0x38e908);if('boolean'==typeof _0x38e908||''===_0x38e908||Number['isNaN'](_0x3b702c))throw new _0x4b2347('Invalid\x20unit\x20value\x20'+_0x38e908);return _0x3b702c;}function _0x5058d6(_0x3c6f39,_0x51ba48){const _0x84ab6d={};for(const _0x198b49 in _0x3c6f39)if(_0xe80360(_0x3c6f39,_0x198b49)){const _0x5681b8=_0x3c6f39[_0x198b49];if(null==_0x5681b8)continue;_0x84ab6d[_0x51ba48(_0x198b49)]=_0x2058b5(_0x5681b8);}return _0x84ab6d;}function _0x2d11b2(_0x11aeb8,_0x29bae7){const _0x4f59ab=Math['trunc'](Math['abs'](_0x11aeb8/0x3c)),_0x3642a9=Math['trunc'](Math['abs'](_0x11aeb8%0x3c)),_0x56abd7=_0x11aeb8>=0x0?'+':'-';switch(_0x29bae7){case'short':return''+_0x56abd7+_0x5e4395(_0x4f59ab,0x2)+':'+_0x5e4395(_0x3642a9,0x2);case'narrow':return''+_0x56abd7+_0x4f59ab+(_0x3642a9>0x0?':'+_0x3642a9:'');case'techie':return''+_0x56abd7+_0x5e4395(_0x4f59ab,0x2)+_0x5e4395(_0x3642a9,0x2);default:throw new RangeError('Value\x20format\x20'+_0x29bae7+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function _0x15d54e(_0x2e6d07){return function(_0xf5b72e,_0x59d721){return _0x59d721['reduce']((_0x5c29f2,_0x257749)=>(_0x5c29f2[_0x257749]=_0xf5b72e[_0x257749],_0x5c29f2),{});}(_0x2e6d07,['hour','minute','second','millisecond']);}const _0x24ad97=['January','February','March','April','May','June','July','August','September','October','November','December'],_0x94bb30=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],_0x633f34=['J','F','M','A','M','J','J','A','S','O','N','D'];function _0x1ee4b4(_0x2f8c9b){switch(_0x2f8c9b){case'narrow':return[..._0x633f34];case'short':return[..._0x94bb30];case'long':return[..._0x24ad97];case'numeric':return['1','2','3','4','5','6','7','8','9','10','11','12'];case'2-digit':return['01','02','03','04','05','06','07','08','09','10','11','12'];default:return null;}}const _0xf715d9=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],_0x2e6164=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x59f6c4=['M','T','W','T','F','S','S'];function _0x3ff937(_0x552e69){switch(_0x552e69){case'narrow':return[..._0x59f6c4];case'short':return[..._0x2e6164];case'long':return[..._0xf715d9];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x5dec1b=['AM','PM'],_0x109cf1=['Before\x20Christ','Anno\x20Domini'],_0x4f6b32=['BC','AD'],_0x1ac683=['B','A'];function _0x9036cf(_0x579b48){switch(_0x579b48){case'narrow':return[..._0x1ac683];case'short':return[..._0x4f6b32];case'long':return[..._0x109cf1];default:return null;}}function _0x59bb59(_0x40c213,_0x33eecd){let _0x2d2f06='';for(const _0x4cd2d8 of _0x40c213)_0x4cd2d8['literal']?_0x2d2f06+=_0x4cd2d8['val']:_0x2d2f06+=_0x33eecd(_0x4cd2d8['val']);return _0x2d2f06;}const _0x397e5e={'D':_0x55a19e,'DD':_0x19563f,'DDD':_0x3ea4ca,'DDDD':_0x24b9e4,'t':_0x5d7745,'tt':_0x5503d6,'ttt':_0x210532,'tttt':_0xfca870,'T':_0x31afb5,'TT':_0x12af82,'TTT':_0x4bf6b5,'TTTT':_0x1e73a3,'f':_0x3794a6,'ff':_0x3705c1,'fff':_0x5c9eea,'ffff':_0x3f968d,'F':_0xc0444,'FF':_0x413862,'FFF':tr,'FFFF':_0x16274c};var _0x425882=class Formatter{static create(_0x1c777c,_0x7efbdd={}){return new Formatter(_0x1c777c,_0x7efbdd);}static parseFormat(_0xe120a1){let _0x56fef1=null,_0x454811='',_0x23b4a2=!0x1;const _0x38d4ef=[];for(let _0x36d552=0x0;_0x36d552<_0xe120a1['length'];_0x36d552++){const _0x5aceda=_0xe120a1['charAt'](_0x36d552);'\x27'===_0x5aceda?(_0x454811['length']>0x0&&_0x38d4ef['push']({'literal':_0x23b4a2||/^\s+$/['test'](_0x454811),'val':_0x454811}),_0x56fef1=null,_0x454811='',_0x23b4a2=!_0x23b4a2):_0x23b4a2||_0x5aceda===_0x56fef1?_0x454811+=_0x5aceda:(_0x454811['length']>0x0&&_0x38d4ef['push']({'literal':/^\s+$/['test'](_0x454811),'val':_0x454811}),_0x454811=_0x5aceda,_0x56fef1=_0x5aceda);}return _0x454811['length']>0x0&&_0x38d4ef['push']({'literal':_0x23b4a2||/^\s+$/['test'](_0x454811),'val':_0x454811}),_0x38d4ef;}static macroTokenToFormatOpts(_0x2d154c){return _0x397e5e[_0x2d154c];}constructor(_0x5f0f8a,_0x337964){this['opts']=_0x337964,this['loc']=_0x5f0f8a,this['systemLoc']=null;}formatWithSystemDefault(_0x189d94,_0x28f34c){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x189d94,{...this['opts'],..._0x28f34c})['format']();}dtFormatter(_0x52aa5c,_0x120de2={}){return this['loc']['dtFormatter'](_0x52aa5c,{...this['opts'],..._0x120de2});}formatDateTime(_0x380f6d,_0x46b5bf){return this['dtFormatter'](_0x380f6d,_0x46b5bf)['format']();}formatDateTimeParts(_0x43e001,_0x5e792d){return this['dtFormatter'](_0x43e001,_0x5e792d)['formatToParts']();}formatInterval(_0x4af98e,_0x52bd6c){return this['dtFormatter'](_0x4af98e['start'],_0x52bd6c)['dtf']['formatRange'](_0x4af98e['start']['toJSDate'](),_0x4af98e['end']['toJSDate']());}resolvedOptions(_0xc4af0b,_0x27caa9){return this['dtFormatter'](_0xc4af0b,_0x27caa9)['resolvedOptions']();}['num'](_0x1a31c1,_0x2b4d99=0x0){if(this['opts']['forceSimple'])return _0x5e4395(_0x1a31c1,_0x2b4d99);const _0x277b43={...this['opts']};return _0x2b4d99>0x0&&(_0x277b43['padTo']=_0x2b4d99),this['loc']['numberFormatter'](_0x277b43)['format'](_0x1a31c1);}formatDateTimeFromString(_0x2c7f51,_0x460367){const _0x4ecfcb='en'===this['loc']['listingMode'](),_0x43d751=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x25ad70=(_0x1b958b,_0x23a40b)=>this['loc']['extract'](_0x2c7f51,_0x1b958b,_0x23a40b),_0x177b60=_0x33d555=>_0x2c7f51['isOffsetFixed']&&0x0===_0x2c7f51['offset']&&_0x33d555['allowZ']?'Z':_0x2c7f51['isValid']?_0x2c7f51['zone']['formatOffset'](_0x2c7f51['ts'],_0x33d555['format']):'',_0x2b1eeb=()=>_0x4ecfcb?function(_0x57e35a){return _0x5dec1b[_0x57e35a['hour']<0xc?0x0:0x1];}(_0x2c7f51):_0x25ad70({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x392f29=(_0x1bb40e,_0x2ca6a3)=>_0x4ecfcb?function(_0x46abc2,_0x39229b){return _0x1ee4b4(_0x39229b)[_0x46abc2['month']-0x1];}(_0x2c7f51,_0x1bb40e):_0x25ad70(_0x2ca6a3?{'month':_0x1bb40e}:{'month':_0x1bb40e,'day':'numeric'},'month'),_0x2f278e=(_0x282a72,_0x28566d)=>_0x4ecfcb?function(_0x2e3521,_0x486a4e){return _0x3ff937(_0x486a4e)[_0x2e3521['weekday']-0x1];}(_0x2c7f51,_0x282a72):_0x25ad70(_0x28566d?{'weekday':_0x282a72}:{'weekday':_0x282a72,'month':'long','day':'numeric'},'weekday'),_0x1f2b8e=_0xe26272=>{const _0x2dee0e=Formatter['macroTokenToFormatOpts'](_0xe26272);return _0x2dee0e?this['formatWithSystemDefault'](_0x2c7f51,_0x2dee0e):_0xe26272;},_0x29a1cd=_0x7fa9c8=>_0x4ecfcb?function(_0x440d49,_0x830672){return _0x9036cf(_0x830672)[_0x440d49['year']<0x0?0x0:0x1];}(_0x2c7f51,_0x7fa9c8):_0x25ad70({'era':_0x7fa9c8},'era');return _0x59bb59(Formatter['parseFormat'](_0x460367),_0x48a879=>{switch(_0x48a879){case'S':return this['num'](_0x2c7f51['millisecond']);case'u':case'SSS':return this['num'](_0x2c7f51['millisecond'],0x3);case's':return this['num'](_0x2c7f51['second']);case'ss':return this['num'](_0x2c7f51['second'],0x2);case'uu':return this['num'](Math['floor'](_0x2c7f51['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x2c7f51['millisecond']/0x64));case'm':return this['num'](_0x2c7f51['minute']);case'mm':return this['num'](_0x2c7f51['minute'],0x2);case'h':return this['num'](_0x2c7f51['hour']%0xc==0x0?0xc:_0x2c7f51['hour']%0xc);case'hh':return this['num'](_0x2c7f51['hour']%0xc==0x0?0xc:_0x2c7f51['hour']%0xc,0x2);case'H':return this['num'](_0x2c7f51['hour']);case'HH':return this['num'](_0x2c7f51['hour'],0x2);case'Z':return _0x177b60({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x177b60({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x177b60({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x2c7f51['zone']['offsetName'](_0x2c7f51['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x2c7f51['zone']['offsetName'](_0x2c7f51['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x2c7f51['zoneName'];case'a':return _0x2b1eeb();case'd':return _0x43d751?_0x25ad70({'day':'numeric'},'day'):this['num'](_0x2c7f51['day']);case'dd':return _0x43d751?_0x25ad70({'day':'2-digit'},'day'):this['num'](_0x2c7f51['day'],0x2);case'c':case'E':return this['num'](_0x2c7f51['weekday']);case'ccc':return _0x2f278e('short',!0x0);case'cccc':return _0x2f278e('long',!0x0);case'ccccc':return _0x2f278e('narrow',!0x0);case'EEE':return _0x2f278e('short',!0x1);case'EEEE':return _0x2f278e('long',!0x1);case'EEEEE':return _0x2f278e('narrow',!0x1);case'L':return _0x43d751?_0x25ad70({'month':'numeric','day':'numeric'},'month'):this['num'](_0x2c7f51['month']);case'LL':return _0x43d751?_0x25ad70({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x2c7f51['month'],0x2);case'LLL':return _0x392f29('short',!0x0);case'LLLL':return _0x392f29('long',!0x0);case'LLLLL':return _0x392f29('narrow',!0x0);case'M':return _0x43d751?_0x25ad70({'month':'numeric'},'month'):this['num'](_0x2c7f51['month']);case'MM':return _0x43d751?_0x25ad70({'month':'2-digit'},'month'):this['num'](_0x2c7f51['month'],0x2);case'MMM':return _0x392f29('short',!0x1);case'MMMM':return _0x392f29('long',!0x1);case'MMMMM':return _0x392f29('narrow',!0x1);case'y':return _0x43d751?_0x25ad70({'year':'numeric'},'year'):this['num'](_0x2c7f51['year']);case'yy':return _0x43d751?_0x25ad70({'year':'2-digit'},'year'):this['num'](_0x2c7f51['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x43d751?_0x25ad70({'year':'numeric'},'year'):this['num'](_0x2c7f51['year'],0x4);case'yyyyyy':return _0x43d751?_0x25ad70({'year':'numeric'},'year'):this['num'](_0x2c7f51['year'],0x6);case'G':return _0x29a1cd('short');case'GG':return _0x29a1cd('long');case'GGGGG':return _0x29a1cd('narrow');case'kk':return this['num'](_0x2c7f51['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x2c7f51['weekYear'],0x4);case'W':return this['num'](_0x2c7f51['weekNumber']);case'WW':return this['num'](_0x2c7f51['weekNumber'],0x2);case'n':return this['num'](_0x2c7f51['localWeekNumber']);case'nn':return this['num'](_0x2c7f51['localWeekNumber'],0x2);case'ii':return this['num'](_0x2c7f51['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x2c7f51['localWeekYear'],0x4);case'o':return this['num'](_0x2c7f51['ordinal']);case'ooo':return this['num'](_0x2c7f51['ordinal'],0x3);case'q':return this['num'](_0x2c7f51['quarter']);case'qq':return this['num'](_0x2c7f51['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x2c7f51['ts']/0x3e8));case'x':return this['num'](_0x2c7f51['ts']);default:return _0x1f2b8e(_0x48a879);}});}formatDurationFromString(_0x28b748,_0x45855d){const _0x48f8eb=_0xb4a367=>{switch(_0xb4a367[0x0]){case'S':return'millisecond';case's':return'second';case'm':return'minute';case'h':return'hour';case'd':return'day';case'w':return'week';case'M':return'month';case'y':return'year';default:return null;}},_0x421e6c=Formatter['parseFormat'](_0x45855d),_0x543b8e=_0x421e6c['reduce']((_0xa87773,{literal:_0x5afa37,val:_0x571e78})=>_0x5afa37?_0xa87773:_0xa87773['concat'](_0x571e78),[]);return _0x59bb59(_0x421e6c,(_0x392b32=>_0x54f3c6=>{const _0x5b83c5=_0x48f8eb(_0x54f3c6);return _0x5b83c5?this['num'](_0x392b32['get'](_0x5b83c5),_0x54f3c6['length']):_0x54f3c6;})(_0x28b748['shiftTo'](..._0x543b8e['map'](_0x48f8eb)['filter'](t=>t))));}};const _0x47adb7=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x5295b4(..._0x5dc713){const _0x5463c8=_0x5dc713['reduce']((_0x196a81,_0x5c0172)=>_0x196a81+_0x5c0172['source'],'');return RegExp('^'+_0x5463c8+'$');}function _0x2b07c6(..._0x25fbb7){return _0x1d8e67=>_0x25fbb7['reduce'](([_0xf0c914,_0x24ebdc,_0x42d8c1],_0x42c4bc)=>{const [_0x1db83f,_0x2fefdf,_0x27c04e]=_0x42c4bc(_0x1d8e67,_0x42d8c1);return[{..._0xf0c914,..._0x1db83f},_0x2fefdf||_0x24ebdc,_0x27c04e];},[{},null,0x1])['slice'](0x0,0x2);}function _0x128f4d(_0x1a4a2d,..._0x8dda64){if(null==_0x1a4a2d)return[null,null];for(const [_0xd93c21,_0x564628]of _0x8dda64){const _0x395d17=_0xd93c21['exec'](_0x1a4a2d);if(_0x395d17)return _0x564628(_0x395d17);}return[null,null];}function _0x43dfc6(..._0x2fbbab){return(_0x2202f1,_0x2b83bc)=>{const _0x138a1b={};let _0x2efc51;for(_0x2efc51=0x0;_0x2efc51<_0x2fbbab['length'];_0x2efc51++)_0x138a1b[_0x2fbbab[_0x2efc51]]=_0x15b25c(_0x2202f1[_0x2b83bc+_0x2efc51]);return[_0x138a1b,null,_0x2b83bc+_0x2efc51];};}const _0x46386b=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ta=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0xfdff04=RegExp(''+ta['source']+('(?:'+_0x46386b['source']+'?(?:\x5c[('+_0x47adb7['source']+')\x5c])?)?')),_0x27e7b7=RegExp('(?:T'+_0xfdff04['source']+')?'),_0x2e82ab=_0x43dfc6('weekYear','weekNumber','weekDay'),_0x2f28ac=_0x43dfc6('year','ordinal'),_0x2dc09f=RegExp(ta['source']+'\x20?(?:'+_0x46386b['source']+'|('+_0x47adb7['source']+'))?'),_0x41104e=RegExp('(?:\x20'+_0x2dc09f['source']+')?');function _0x3aeb6e(_0x4cba37,_0x3e6f41,_0x36b80e){const _0x565586=_0x4cba37[_0x3e6f41];return _0x425bbd(_0x565586)?_0x36b80e:_0x15b25c(_0x565586);}function _0x19f6ad(_0xf3a29c,_0x5cb4f7){return[{'hours':_0x3aeb6e(_0xf3a29c,_0x5cb4f7,0x0),'minutes':_0x3aeb6e(_0xf3a29c,_0x5cb4f7+0x1,0x0),'seconds':_0x3aeb6e(_0xf3a29c,_0x5cb4f7+0x2,0x0),'milliseconds':_0x5dc894(_0xf3a29c[_0x5cb4f7+0x3])},null,_0x5cb4f7+0x4];}function _0x45b4d4(_0x363a62,_0x156b31){const _0x1c3b74=!_0x363a62[_0x156b31]&&!_0x363a62[_0x156b31+0x1],_0x440f9d=_0xa80433(_0x363a62[_0x156b31+0x1],_0x363a62[_0x156b31+0x2]);return[{},_0x1c3b74?null:_0x745f21['instance'](_0x440f9d),_0x156b31+0x3];}function _0x13c2d1(_0xe91ff3,_0xd5da72){return[{},_0xe91ff3[_0xd5da72]?_0x372b85['create'](_0xe91ff3[_0xd5da72]):null,_0xd5da72+0x1];}const _0x15ff16=RegExp('^T?'+ta['source']+'$'),_0x2da49c=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function _0x30ce7d(_0x2bf458){const [_0x57436d,_0x5649cf,_0x451a1b,_0x3c4f30,_0x4ff2af,_0x5bebb6,_0x1e245b,_0x2854a9,_0x3a6f21]=_0x2bf458,_0x42f059='-'===_0x57436d[0x0],_0x1b6c55=_0x2854a9&&'-'===_0x2854a9[0x0],_0x4b57d9=(_0x4c2611,_0x21d9a0=!0x1)=>void 0x0!==_0x4c2611&&(_0x21d9a0||_0x4c2611&&_0x42f059)?-_0x4c2611:_0x4c2611;return[{'years':_0x4b57d9(_0xddb8c(_0x5649cf)),'months':_0x4b57d9(_0xddb8c(_0x451a1b)),'weeks':_0x4b57d9(_0xddb8c(_0x3c4f30)),'days':_0x4b57d9(_0xddb8c(_0x4ff2af)),'hours':_0x4b57d9(_0xddb8c(_0x5bebb6)),'minutes':_0x4b57d9(_0xddb8c(_0x1e245b)),'seconds':_0x4b57d9(_0xddb8c(_0x2854a9),'-0'===_0x2854a9),'milliseconds':_0x4b57d9(_0x5dc894(_0x3a6f21),_0x1b6c55)}];}const _0x56f810={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function _0x4798d5(_0xd18cd5,_0x331d9c,_0x6953eb,_0x22b3c3,_0x16160b,_0x48ea1a,_0x4e3e8a){const _0xf51f76={'year':0x2===_0x331d9c['length']?_0x4d3b9b(_0x15b25c(_0x331d9c)):_0x15b25c(_0x331d9c),'month':_0x94bb30['indexOf'](_0x6953eb)+0x1,'day':_0x15b25c(_0x22b3c3),'hour':_0x15b25c(_0x16160b),'minute':_0x15b25c(_0x48ea1a)};return _0x4e3e8a&&(_0xf51f76['second']=_0x15b25c(_0x4e3e8a)),_0xd18cd5&&(_0xf51f76['weekday']=_0xd18cd5['length']>0x3?_0xf715d9['indexOf'](_0xd18cd5)+0x1:_0x2e6164['indexOf'](_0xd18cd5)+0x1),_0xf51f76;}const _0x1f4fe5=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function _0x5e2acb(_0x274abd){const [,_0x493a90,_0x5c903c,_0x206608,_0x2d15c4,_0x5136db,_0x337ab6,_0x35ef1e,_0x57af21,_0x2e338b,_0x24c66b,_0x240d62]=_0x274abd,_0x12fc1a=_0x4798d5(_0x493a90,_0x2d15c4,_0x206608,_0x5c903c,_0x5136db,_0x337ab6,_0x35ef1e);let _0x30ea0f;return _0x30ea0f=_0x57af21?_0x56f810[_0x57af21]:_0x2e338b?0x0:_0xa80433(_0x24c66b,_0x240d62),[_0x12fc1a,new _0x745f21(_0x30ea0f)];}const _0x1dd630=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,_0x15b607=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,_0x1678dd=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function _0x227506(_0x59cec9){const [,_0x4e40f1,_0x7b1eda,_0x2a5f9d,_0x46eef8,_0x1e802a,_0x354e76,_0xf04a16]=_0x59cec9;return[_0x4798d5(_0x4e40f1,_0x46eef8,_0x2a5f9d,_0x7b1eda,_0x1e802a,_0x354e76,_0xf04a16),_0x745f21['utcInstance']];}function _0x23733e(_0x58f8b3){const [,_0xac7227,_0x36ae30,_0x14767a,_0x54ed5b,_0x16fb6e,_0x1395c6,_0x40ca84]=_0x58f8b3;return[_0x4798d5(_0xac7227,_0x40ca84,_0x36ae30,_0x14767a,_0x54ed5b,_0x16fb6e,_0x1395c6),_0x745f21['utcInstance']];}const _0x865cb6=_0x5295b4(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x27e7b7),_0x31b6e8=_0x5295b4(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x27e7b7),_0x3173cf=_0x5295b4(/(\d{4})-?(\d{3})/,_0x27e7b7),_0x2db77e=_0x5295b4(_0xfdff04),_0x5e9c77=_0x2b07c6(function(_0x30924b,_0x5ed963){return[{'year':_0x3aeb6e(_0x30924b,_0x5ed963),'month':_0x3aeb6e(_0x30924b,_0x5ed963+0x1,0x1),'day':_0x3aeb6e(_0x30924b,_0x5ed963+0x2,0x1)},null,_0x5ed963+0x3];},_0x19f6ad,_0x45b4d4,_0x13c2d1),_0x584508=_0x2b07c6(_0x2e82ab,_0x19f6ad,_0x45b4d4,_0x13c2d1),_0x1aab70=_0x2b07c6(_0x2f28ac,_0x19f6ad,_0x45b4d4,_0x13c2d1),_0x44df26=_0x2b07c6(_0x19f6ad,_0x45b4d4,_0x13c2d1),_0x21cd18=_0x2b07c6(_0x19f6ad),_0x2fa367=_0x5295b4(/(\d{4})-(\d\d)-(\d\d)/,_0x41104e),_0x90889b=_0x5295b4(_0x2dc09f),_0xcd1bd1=_0x2b07c6(_0x19f6ad,_0x45b4d4,_0x13c2d1),_0x56d5e8='Invalid\x20Duration',_0x40d393={'weeks':{'days':0x7,'hours':0xa8,'minutes':0x2760,'seconds':0x93a80,'milliseconds':0x240c8400},'days':{'hours':0x18,'minutes':0x5a0,'seconds':0x15180,'milliseconds':0x5265c00},'hours':{'minutes':0x3c,'seconds':0xe10,'milliseconds':0x36ee80},'minutes':{'seconds':0x3c,'milliseconds':0xea60},'seconds':{'milliseconds':0x3e8}},_0x2ee93d={'years':{'quarters':0x4,'months':0xc,'weeks':0x34,'days':0x16d,'hours':0x2238,'minutes':0x80520,'seconds':0x1e13380,'milliseconds':0x757b12c00},'quarters':{'months':0x3,'weeks':0xd,'days':0x5b,'hours':0x888,'minutes':0x1ffe0,'seconds':0x77f880,'milliseconds':0x1d4a2b400},'months':{'weeks':0x4,'days':0x1e,'hours':0x2d0,'minutes':0xa8c0,'seconds':0x278d00,'milliseconds':0x9a7ec800},..._0x40d393},_0x5ad3cb=365.2425,_0x1ad640=30.436875,_0x341af3={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':_0x5ad3cb,'hours':8765.82,'minutes':525949.2,'seconds':525949.2*0x3c,'milliseconds':525949.2*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':13.044375,'days':91.310625,'hours':2191.455,'minutes':131487.3,'seconds':525949.2*0x3c/0x4,'milliseconds':7889237999.999999},'months':{'weeks':4.3481250000000005,'days':_0x1ad640,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},..._0x40d393},_0x8e0a5f=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],_0x59d6fc=_0x8e0a5f['slice'](0x0)['reverse']();function _0xd16360(_0x43ef3c,_0x325f6f,_0x304f22=!0x1){return new _0x5f4ca3({'values':_0x304f22?_0x325f6f['values']:{..._0x43ef3c['values'],..._0x325f6f['values']||{}},'loc':_0x43ef3c['loc']['clone'](_0x325f6f['loc']),'conversionAccuracy':_0x325f6f['conversionAccuracy']||_0x43ef3c['conversionAccuracy'],'matrix':_0x325f6f['matrix']||_0x43ef3c['matrix']});}function _0x475397(_0x499c75,_0x5b8428){let _0x239808=_0x5b8428['milliseconds']??0x0;for(const _0x4a9c5e of _0x59d6fc['slice'](0x1))_0x5b8428[_0x4a9c5e]&&(_0x239808+=_0x5b8428[_0x4a9c5e]*_0x499c75[_0x4a9c5e]['milliseconds']);return _0x239808;}function _0x285013(_0x19fecf,_0x3de6d6){const _0x3e14a0=_0x475397(_0x19fecf,_0x3de6d6)<0x0?-0x1:0x1;_0x8e0a5f['reduceRight']((_0x5d55a7,_0x4f1bc3)=>{if(_0x425bbd(_0x3de6d6[_0x4f1bc3]))return _0x5d55a7;if(_0x5d55a7){const _0x5c8519=_0x3de6d6[_0x5d55a7]*_0x3e14a0,_0x1dd4fa=_0x19fecf[_0x4f1bc3][_0x5d55a7],_0x26fea1=Math['floor'](_0x5c8519/_0x1dd4fa);_0x3de6d6[_0x4f1bc3]+=_0x26fea1*_0x3e14a0,_0x3de6d6[_0x5d55a7]-=_0x26fea1*_0x1dd4fa*_0x3e14a0;}return _0x4f1bc3;},null),_0x8e0a5f['reduce']((_0x52bda8,_0x3f8354)=>{if(_0x425bbd(_0x3de6d6[_0x3f8354]))return _0x52bda8;if(_0x52bda8){const _0x1d5334=_0x3de6d6[_0x52bda8]%0x1;_0x3de6d6[_0x52bda8]-=_0x1d5334,_0x3de6d6[_0x3f8354]+=_0x1d5334*_0x19fecf[_0x52bda8][_0x3f8354];}return _0x3f8354;},null);}var _0x5f4ca3=class Duration{constructor(_0x504332){const _0x44e640='longterm'===_0x504332['conversionAccuracy']||!0x1;let _0x2349f3=_0x44e640?_0x341af3:_0x2ee93d;_0x504332['matrix']&&(_0x2349f3=_0x504332['matrix']),this['values']=_0x504332['values'],this['loc']=_0x504332['loc']||_0x54006a['create'](),this['conversionAccuracy']=_0x44e640?'longterm':'casual',this['invalid']=_0x504332['invalid']||null,this['matrix']=_0x2349f3,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0xe815f3,_0x172d89){return Duration['fromObject']({'milliseconds':_0xe815f3},_0x172d89);}static fromObject(_0xa85307,_0x99631e={}){if(null==_0xa85307||'object'!=typeof _0xa85307)throw new _0x4b2347('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0xa85307?'null':typeof _0xa85307));return new Duration({'values':_0x5058d6(_0xa85307,Duration['normalizeUnit']),'loc':_0x54006a['fromObject'](_0x99631e),'conversionAccuracy':_0x99631e['conversionAccuracy'],'matrix':_0x99631e['matrix']});}static fromDurationLike(_0x1a638f){if(_0x483e95(_0x1a638f))return Duration['fromMillis'](_0x1a638f);if(Duration['isDuration'](_0x1a638f))return _0x1a638f;if('object'==typeof _0x1a638f)return Duration['fromObject'](_0x1a638f);throw new _0x4b2347('Unknown\x20duration\x20argument\x20'+_0x1a638f+'\x20of\x20type\x20'+typeof _0x1a638f);}static['fromISO'](_0x4d8e3d,_0x4934b5){const [_0x18510a]=function(_0x457367){return _0x128f4d(_0x457367,[_0x2da49c,_0x30ce7d]);}(_0x4d8e3d);return _0x18510a?Duration['fromObject'](_0x18510a,_0x4934b5):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x4d8e3d+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x3cf180,_0x9b2ef0){const [_0xc7f4bb]=function(_0x14caf0){return _0x128f4d(_0x14caf0,[_0x15ff16,_0x21cd18]);}(_0x3cf180);return _0xc7f4bb?Duration['fromObject'](_0xc7f4bb,_0x9b2ef0):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x3cf180+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x5ed670,_0x581aee=null){if(!_0x5ed670)throw new _0x4b2347('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x16c322=_0x5ed670 instanceof _0x55711f?_0x5ed670:new _0x55711f(_0x5ed670,_0x581aee);if(_0x1c974d['throwOnInvalid'])throw new _0x509f97(_0x16c322);return new Duration({'invalid':_0x16c322});}static normalizeUnit(_0x1cdb52){const _0x298f3e={'year':'years','years':'years','quarter':'quarters','quarters':'quarters','month':'months','months':'months','week':'weeks','weeks':'weeks','day':'days','days':'days','hour':'hours','hours':'hours','minute':'minutes','minutes':'minutes','second':'seconds','seconds':'seconds','millisecond':'milliseconds','milliseconds':'milliseconds'}[_0x1cdb52?_0x1cdb52['toLowerCase']():_0x1cdb52];if(!_0x298f3e)throw new _0x2eb2f6(_0x1cdb52);return _0x298f3e;}static isDuration(_0x32311b){return _0x32311b&&_0x32311b['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get numberingSystem(){return this['isValid']?this['loc']['numberingSystem']:null;}toFormat(_0x44e473,_0x26e829={}){const _0x3eb15d={..._0x26e829,'floor':!0x1!==_0x26e829['round']&&!0x1!==_0x26e829['floor']};return this['isValid']?_0x425882['create'](this['loc'],_0x3eb15d)['formatDurationFromString'](this,_0x44e473):_0x56d5e8;}toHuman(_0x46689d={}){if(!this['isValid'])return _0x56d5e8;const _0x5537ab=_0x8e0a5f['map'](_0x2fbf59=>{const _0x1dd65f=this['values'][_0x2fbf59];return _0x425bbd(_0x1dd65f)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x46689d,'unit':_0x2fbf59['slice'](0x0,-0x1)})['format'](_0x1dd65f);})['filter'](_0x58c532=>_0x58c532);return this['loc']['listFormatter']({'type':'conjunction','style':_0x46689d['listStyle']||'narrow',..._0x46689d})['format'](_0x5537ab);}toObject(){return this['isValid']?{...this['values']}:{};}toISO(){if(!this['isValid'])return null;let _0x41c21b='P';return 0x0!==this['years']&&(_0x41c21b+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x41c21b+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x41c21b+=this['weeks']+'W'),0x0!==this['days']&&(_0x41c21b+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x41c21b+='T'),0x0!==this['hours']&&(_0x41c21b+=this['hours']+'H'),0x0!==this['minutes']&&(_0x41c21b+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x41c21b+=_0x62aefe(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x41c21b&&(_0x41c21b+='T0S'),_0x41c21b;}toISOTime(_0x561b68={}){if(!this['isValid'])return null;const _0x201176=this['toMillis']();return _0x201176<0x0||_0x201176>=0x5265c00?null:(_0x561b68={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x561b68,'includeOffset':!0x1},_0x210871['fromMillis'](_0x201176,{'zone':'UTC'})['toISOTime'](_0x561b68));}toJSON(){return this['toISO']();}toString(){return this['toISO']();}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'Duration\x20{\x20values:\x20'+JSON['stringify'](this['values'])+'\x20}':'Duration\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}toMillis(){return this['isValid']?_0x475397(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x315388){if(!this['isValid'])return this;const _0x2534db=Duration['fromDurationLike'](_0x315388),_0x51ee84={};for(const _0x5c7580 of _0x8e0a5f)(_0xe80360(_0x2534db['values'],_0x5c7580)||_0xe80360(this['values'],_0x5c7580))&&(_0x51ee84[_0x5c7580]=_0x2534db['get'](_0x5c7580)+this['get'](_0x5c7580));return _0xd16360(this,{'values':_0x51ee84},!0x0);}['minus'](_0x177735){if(!this['isValid'])return this;const _0x146387=Duration['fromDurationLike'](_0x177735);return this['plus'](_0x146387['negate']());}mapUnits(_0x165491){if(!this['isValid'])return this;const _0x5a54d6={};for(const _0x2a421d of Object['keys'](this['values']))_0x5a54d6[_0x2a421d]=_0x2058b5(_0x165491(this['values'][_0x2a421d],_0x2a421d));return _0xd16360(this,{'values':_0x5a54d6},!0x0);}get(_0x39e632){return this[Duration['normalizeUnit'](_0x39e632)];}set(_0x32f283){if(!this['isValid'])return this;return _0xd16360(this,{'values':{...this['values'],..._0x5058d6(_0x32f283,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x4674d0,numberingSystem:_0x22b38e,conversionAccuracy:_0x34b16c,matrix:_0x561861}={}){return _0xd16360(this,{'loc':this['loc']['clone']({'locale':_0x4674d0,'numberingSystem':_0x22b38e}),'matrix':_0x561861,'conversionAccuracy':_0x34b16c});}['as'](_0x1a8f6c){return this['isValid']?this['shiftTo'](_0x1a8f6c)['get'](_0x1a8f6c):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x1e3c33=this['toObject']();return _0x285013(this['matrix'],_0x1e3c33),_0xd16360(this,{'values':_0x1e3c33},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x107eb8=function(_0x43c8d4){const _0x39ff83={};for(const [_0xba2b4d,_0x39c78b]of Object['entries'](_0x43c8d4))0x0!==_0x39c78b&&(_0x39ff83[_0xba2b4d]=_0x39c78b);return _0x39ff83;}(this['normalize']()['shiftToAll']()['toObject']());return _0xd16360(this,{'values':_0x107eb8},!0x0);}shiftTo(..._0x2a937f){if(!this['isValid'])return this;if(0x0===_0x2a937f['length'])return this;_0x2a937f=_0x2a937f['map'](_0x2457ab=>Duration['normalizeUnit'](_0x2457ab));const _0x5b2672={},_0x17af16={},_0xcad106=this['toObject']();let _0xeafcad;for(const _0x500eb0 of _0x8e0a5f)if(_0x2a937f['indexOf'](_0x500eb0)>=0x0){_0xeafcad=_0x500eb0;let _0x45d81d=0x0;for(const _0x54f89e in _0x17af16)_0x45d81d+=this['matrix'][_0x54f89e][_0x500eb0]*_0x17af16[_0x54f89e],_0x17af16[_0x54f89e]=0x0;_0x483e95(_0xcad106[_0x500eb0])&&(_0x45d81d+=_0xcad106[_0x500eb0]);const _0x57815c=Math['trunc'](_0x45d81d);_0x5b2672[_0x500eb0]=_0x57815c,_0x17af16[_0x500eb0]=(0x3e8*_0x45d81d-0x3e8*_0x57815c)/0x3e8;}else _0x483e95(_0xcad106[_0x500eb0])&&(_0x17af16[_0x500eb0]=_0xcad106[_0x500eb0]);for(const _0x33f30f in _0x17af16)0x0!==_0x17af16[_0x33f30f]&&(_0x5b2672[_0xeafcad]+=_0x33f30f===_0xeafcad?_0x17af16[_0x33f30f]:_0x17af16[_0x33f30f]/this['matrix'][_0xeafcad][_0x33f30f]);return _0x285013(this['matrix'],_0x5b2672),_0xd16360(this,{'values':_0x5b2672},!0x0);}shiftToAll(){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}negate(){if(!this['isValid'])return this;const _0x3a0f07={};for(const _0x20ce3d of Object['keys'](this['values']))_0x3a0f07[_0x20ce3d]=0x0===this['values'][_0x20ce3d]?0x0:-this['values'][_0x20ce3d];return _0xd16360(this,{'values':_0x3a0f07},!0x0);}get['years'](){return this['isValid']?this['values']['years']||0x0:NaN;}get quarters(){return this['isValid']?this['values']['quarters']||0x0:NaN;}get months(){return this['isValid']?this['values']['months']||0x0:NaN;}get['weeks'](){return this['isValid']?this['values']['weeks']||0x0:NaN;}get['days'](){return this['isValid']?this['values']['days']||0x0:NaN;}get['hours'](){return this['isValid']?this['values']['hours']||0x0:NaN;}get minutes(){return this['isValid']?this['values']['minutes']||0x0:NaN;}get['seconds'](){return this['isValid']?this['values']['seconds']||0x0:NaN;}get['milliseconds'](){return this['isValid']?this['values']['milliseconds']||0x0:NaN;}get['isValid'](){return null===this['invalid'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get invalidExplanation(){return this['invalid']?this['invalid']['explanation']:null;}['equals'](_0x3549ee){if(!this['isValid']||!_0x3549ee['isValid'])return!0x1;if(!this['loc']['equals'](_0x3549ee['loc']))return!0x1;function _0x2bd188(_0x53af7c,_0x389692){return void 0x0===_0x53af7c||0x0===_0x53af7c?void 0x0===_0x389692||0x0===_0x389692:_0x53af7c===_0x389692;}for(const _0x9952dc of _0x8e0a5f)if(!_0x2bd188(this['values'][_0x9952dc],_0x3549ee['values'][_0x9952dc]))return!0x1;return!0x0;}};const _0x369350='Invalid\x20Interval';function _0x3ad043(_0x313a3e,_0x308669){return _0x313a3e&&_0x313a3e['isValid']?_0x308669&&_0x308669['isValid']?_0x308669<_0x313a3e?_0x5522e5['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x313a3e['toISO']()+'\x20and\x20end='+_0x308669['toISO']()):null:_0x5522e5['invalid']('missing\x20or\x20invalid\x20end'):_0x5522e5['invalid']('missing\x20or\x20invalid\x20start');}var _0x5522e5=class Interval{constructor(_0x161d49){this['s']=_0x161d49['start'],this['e']=_0x161d49['end'],this['invalid']=_0x161d49['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x8aaee8,_0x3157f7=null){if(!_0x8aaee8)throw new _0x4b2347('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x5cefbf=_0x8aaee8 instanceof _0x55711f?_0x8aaee8:new _0x55711f(_0x8aaee8,_0x3157f7);if(_0x1c974d['throwOnInvalid'])throw new _0x2befa0(_0x5cefbf);return new Interval({'invalid':_0x5cefbf});}static fromDateTimes(_0x4bef64,_0x20e8da){const _0xc8f81b=_0x5e1747(_0x4bef64),_0x50583e=_0x5e1747(_0x20e8da),_0x47b10b=_0x3ad043(_0xc8f81b,_0x50583e);return null==_0x47b10b?new Interval({'start':_0xc8f81b,'end':_0x50583e}):_0x47b10b;}static after(_0x46b329,_0x11c22e){const _0x5567a6=_0x5f4ca3['fromDurationLike'](_0x11c22e),_0x540147=_0x5e1747(_0x46b329);return Interval['fromDateTimes'](_0x540147,_0x540147['plus'](_0x5567a6));}static['before'](_0x423631,_0x4f6a50){const _0x240c8c=_0x5f4ca3['fromDurationLike'](_0x4f6a50),_0x38d0a3=_0x5e1747(_0x423631);return Interval['fromDateTimes'](_0x38d0a3['minus'](_0x240c8c),_0x38d0a3);}static['fromISO'](_0x58d233,_0x38443f){const [_0x14500d,_0x359e8a]=(_0x58d233||'')['split']('/',0x2);if(_0x14500d&&_0x359e8a){let _0x362e54,_0x529524,_0x12910e,_0x46606d;try{_0x362e54=_0x210871['fromISO'](_0x14500d,_0x38443f),_0x529524=_0x362e54['isValid'];}catch(_0x5282a3){_0x529524=!0x1;}try{_0x12910e=_0x210871['fromISO'](_0x359e8a,_0x38443f),_0x46606d=_0x12910e['isValid'];}catch(_0x404b60){_0x46606d=!0x1;}if(_0x529524&&_0x46606d)return Interval['fromDateTimes'](_0x362e54,_0x12910e);if(_0x529524){const _0x97d228=_0x5f4ca3['fromISO'](_0x359e8a,_0x38443f);if(_0x97d228['isValid'])return Interval['after'](_0x362e54,_0x97d228);}else{if(_0x46606d){const _0x21b8a7=_0x5f4ca3['fromISO'](_0x14500d,_0x38443f);if(_0x21b8a7['isValid'])return Interval['before'](_0x12910e,_0x21b8a7);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x58d233+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static isInterval(_0x497507){return _0x497507&&_0x497507['isLuxonInterval']||!0x1;}get start(){return this['isValid']?this['s']:null;}get['end'](){return this['isValid']?this['e']:null;}get lastDateTime(){return this['isValid']&&this['e']?this['e']['minus'](0x1):null;}get['isValid'](){return null===this['invalidReason'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get invalidExplanation(){return this['invalid']?this['invalid']['explanation']:null;}length(_0x237407='milliseconds'){return this['isValid']?this['toDuration'](_0x237407)['get'](_0x237407):NaN;}count(_0x54a033='milliseconds',_0x5efa25){if(!this['isValid'])return NaN;const _0x56f9b8=this['start']['startOf'](_0x54a033,_0x5efa25);let _0x5a0cc6;return _0x5a0cc6=_0x5efa25?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x56f9b8['locale']}):this['end'],_0x5a0cc6=_0x5a0cc6['startOf'](_0x54a033,_0x5efa25),Math['floor'](_0x5a0cc6['diff'](_0x56f9b8,_0x54a033)['get'](_0x54a033))+(_0x5a0cc6['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x3de939){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x3de939));}isEmpty(){return this['s']['valueOf']()===this['e']['valueOf']();}isAfter(_0x4ae486){return!!this['isValid']&&this['s']>_0x4ae486;}['isBefore'](_0x4900e3){return!!this['isValid']&&this['e']<=_0x4900e3;}contains(_0xe5764){return!!this['isValid']&&(this['s']<=_0xe5764&&this['e']>_0xe5764);}set({start:_0x5d84f3,end:_0x4e3c74}={}){return this['isValid']?Interval['fromDateTimes'](_0x5d84f3||this['s'],_0x4e3c74||this['e']):this;}splitAt(..._0x5ec6fa){if(!this['isValid'])return[];const _0xc69641=_0x5ec6fa['map'](_0x5e1747)['filter'](_0xa69c53=>this['contains'](_0xa69c53))['sort']((_0x5bc55d,_0x2b8003)=>_0x5bc55d['toMillis']()-_0x2b8003['toMillis']()),_0xa7a21e=[];let {s:_0x4b4a85}=this,_0xb9ce35=0x0;for(;_0x4b4a85<this['e'];){const _0x158b33=_0xc69641[_0xb9ce35]||this['e'],_0x57b6ee=+_0x158b33>+this['e']?this['e']:_0x158b33;_0xa7a21e['push'](Interval['fromDateTimes'](_0x4b4a85,_0x57b6ee)),_0x4b4a85=_0x57b6ee,_0xb9ce35+=0x1;}return _0xa7a21e;}splitBy(_0x293ef9){const _0x20c73c=_0x5f4ca3['fromDurationLike'](_0x293ef9);if(!this['isValid']||!_0x20c73c['isValid']||0x0===_0x20c73c['as']('milliseconds'))return[];let _0x4964ad,{s:_0xc19ba5}=this,_0x52b9f8=0x1;const _0x379df6=[];for(;_0xc19ba5<this['e'];){const _0xc01562=this['start']['plus'](_0x20c73c['mapUnits'](_0x23e1fb=>_0x23e1fb*_0x52b9f8));_0x4964ad=+_0xc01562>+this['e']?this['e']:_0xc01562,_0x379df6['push'](Interval['fromDateTimes'](_0xc19ba5,_0x4964ad)),_0xc19ba5=_0x4964ad,_0x52b9f8+=0x1;}return _0x379df6;}['divideEqually'](_0x1ae6f0){return this['isValid']?this['splitBy'](this['length']()/_0x1ae6f0)['slice'](0x0,_0x1ae6f0):[];}['overlaps'](_0x461857){return this['e']>_0x461857['s']&&this['s']<_0x461857['e'];}abutsStart(_0x5ebebf){return!!this['isValid']&&+this['e']===+_0x5ebebf['s'];}abutsEnd(_0x18e915){return!!this['isValid']&&+_0x18e915['e']===+this['s'];}['engulfs'](_0x5ed0bb){return!!this['isValid']&&(this['s']<=_0x5ed0bb['s']&&this['e']>=_0x5ed0bb['e']);}['equals'](_0x3dfbd3){return!(!this['isValid']||!_0x3dfbd3['isValid'])&&(this['s']['equals'](_0x3dfbd3['s'])&&this['e']['equals'](_0x3dfbd3['e']));}intersection(_0x41f997){if(!this['isValid'])return this;const _0x25a355=this['s']>_0x41f997['s']?this['s']:_0x41f997['s'],_0x709113=this['e']<_0x41f997['e']?this['e']:_0x41f997['e'];return _0x25a355>=_0x709113?null:Interval['fromDateTimes'](_0x25a355,_0x709113);}['union'](_0x5b8a31){if(!this['isValid'])return this;const _0x51e2a6=this['s']<_0x5b8a31['s']?this['s']:_0x5b8a31['s'],_0xbb20af=this['e']>_0x5b8a31['e']?this['e']:_0x5b8a31['e'];return Interval['fromDateTimes'](_0x51e2a6,_0xbb20af);}static['merge'](_0x7305e5){const [_0x6f1aef,_0x24a359]=_0x7305e5['sort']((_0x2f279e,_0x263b28)=>_0x2f279e['s']-_0x263b28['s'])['reduce'](([_0x542165,_0x5df050],_0x29b976)=>_0x5df050?_0x5df050['overlaps'](_0x29b976)||_0x5df050['abutsStart'](_0x29b976)?[_0x542165,_0x5df050['union'](_0x29b976)]:[_0x542165['concat']([_0x5df050]),_0x29b976]:[_0x542165,_0x29b976],[[],null]);return _0x24a359&&_0x6f1aef['push'](_0x24a359),_0x6f1aef;}static['xor'](_0x325811){let _0x216cef=null,_0x4fc95d=0x0;const _0x1be4b8=[],_0x467fa0=_0x325811['map'](_0xf91247=>[{'time':_0xf91247['s'],'type':'s'},{'time':_0xf91247['e'],'type':'e'}]),_0x1e2667=Array['prototype']['concat'](..._0x467fa0)['sort']((_0x397b6e,_0x4d654c)=>_0x397b6e['time']-_0x4d654c['time']);for(const _0x45edb1 of _0x1e2667)_0x4fc95d+='s'===_0x45edb1['type']?0x1:-0x1,0x1===_0x4fc95d?_0x216cef=_0x45edb1['time']:(_0x216cef&&+_0x216cef!==+_0x45edb1['time']&&_0x1be4b8['push'](Interval['fromDateTimes'](_0x216cef,_0x45edb1['time'])),_0x216cef=null);return Interval['merge'](_0x1be4b8);}['difference'](..._0x597ec6){return Interval['xor']([this]['concat'](_0x597ec6))['map'](_0x3e6c55=>this['intersection'](_0x3e6c55))['filter'](_0x3d2322=>_0x3d2322&&!_0x3d2322['isEmpty']());}toString(){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x369350;}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'Interval\x20{\x20start:\x20'+this['s']['toISO']()+',\x20end:\x20'+this['e']['toISO']()+'\x20}':'Interval\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}toLocaleString(_0x3d72f9=_0x55a19e,_0x1adc18={}){return this['isValid']?_0x425882['create'](this['s']['loc']['clone'](_0x1adc18),_0x3d72f9)['formatInterval'](this):_0x369350;}toISO(_0x3532cd){return this['isValid']?this['s']['toISO'](_0x3532cd)+'/'+this['e']['toISO'](_0x3532cd):_0x369350;}toISODate(){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x369350;}toISOTime(_0x50326c){return this['isValid']?this['s']['toISOTime'](_0x50326c)+'/'+this['e']['toISOTime'](_0x50326c):_0x369350;}toFormat(_0x4dde5a,{separator:_0x406b14='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x4dde5a)+_0x406b14+this['e']['toFormat'](_0x4dde5a):_0x369350;}toDuration(_0x13e3a1,_0x14097a){return this['isValid']?this['e']['diff'](this['s'],_0x13e3a1,_0x14097a):_0x5f4ca3['invalid'](this['invalidReason']);}mapEndpoints(_0x6fb336){return Interval['fromDateTimes'](_0x6fb336(this['s']),_0x6fb336(this['e']));}},_0x26639c=class{static['hasDST'](_0x27347a=_0x1c974d['defaultZone']){const _0x20651c=_0x210871['now']()['setZone'](_0x27347a)['set']({'month':0xc});return!_0x27347a['isUniversal']&&_0x20651c['offset']!==_0x20651c['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x40a629){return _0x372b85['isValidZone'](_0x40a629);}static['normalizeZone'](_0x2a4141){return _0x1051f2(_0x2a4141,_0x1c974d['defaultZone']);}static getStartOfWeek({locale:_0xff223a=null,locObj:_0x3cedb2=null}={}){return(_0x3cedb2||_0x54006a['create'](_0xff223a))['getStartOfWeek']();}static getMinimumDaysInFirstWeek({locale:_0x46fa26=null,locObj:_0x5b51a8=null}={}){return(_0x5b51a8||_0x54006a['create'](_0x46fa26))['getMinDaysInFirstWeek']();}static getWeekendWeekdays({locale:_0x1eb56a=null,locObj:_0x234313=null}={}){return(_0x234313||_0x54006a['create'](_0x1eb56a))['getWeekendDays']()['slice']();}static months(_0x329fd9='long',{locale:_0x48819c=null,numberingSystem:_0x42db89=null,locObj:_0x2094e8=null,outputCalendar:_0x3272ff='gregory'}={}){return(_0x2094e8||_0x54006a['create'](_0x48819c,_0x42db89,_0x3272ff))['months'](_0x329fd9);}static monthsFormat(_0x40d2b6='long',{locale:_0xefd7dc=null,numberingSystem:_0x3664d5=null,locObj:_0x243792=null,outputCalendar:_0x440bf6='gregory'}={}){return(_0x243792||_0x54006a['create'](_0xefd7dc,_0x3664d5,_0x440bf6))['months'](_0x40d2b6,!0x0);}static['weekdays'](_0x13a3a9='long',{locale:_0x56139b=null,numberingSystem:_0x56bf5d=null,locObj:_0x5d7d72=null}={}){return(_0x5d7d72||_0x54006a['create'](_0x56139b,_0x56bf5d,null))['weekdays'](_0x13a3a9);}static weekdaysFormat(_0x449107='long',{locale:_0x459333=null,numberingSystem:_0x53b449=null,locObj:_0x2e1c76=null}={}){return(_0x2e1c76||_0x54006a['create'](_0x459333,_0x53b449,null))['weekdays'](_0x449107,!0x0);}static['meridiems']({locale:_0x241b40=null}={}){return _0x54006a['create'](_0x241b40)['meridiems']();}static['eras'](_0x2ab3e2='short',{locale:_0x547a28=null}={}){return _0x54006a['create'](_0x547a28,null,'gregory')['eras'](_0x2ab3e2);}static features(){return{'relative':_0x2ec4fd(),'localeWeek':_0x3485ea()};}};function _0x50e795(_0x5078d4,_0x2570ec){const _0x3c6344=_0x14ebbb=>_0x14ebbb['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x45b9c4=_0x3c6344(_0x2570ec)-_0x3c6344(_0x5078d4);return Math['floor'](_0x5f4ca3['fromMillis'](_0x45b9c4)['as']('days'));}function _0x51acfb(_0xaabe1c,_0x276e65,_0x36f411,_0xd1a1a7){let [_0x6260d2,_0x5e4b54,_0x277314,_0x17c42d]=function(_0x119e07,_0x3a5829,_0x568ec0){const _0x4998a0=[['years',(_0x3a700b,_0x28a50f)=>_0x28a50f['year']-_0x3a700b['year']],['quarters',(_0x6aa342,_0x45d841)=>_0x45d841['quarter']-_0x6aa342['quarter']+0x4*(_0x45d841['year']-_0x6aa342['year'])],['months',(_0x1fac83,_0x1c1a0f)=>_0x1c1a0f['month']-_0x1fac83['month']+0xc*(_0x1c1a0f['year']-_0x1fac83['year'])],['weeks',(_0x3b064c,_0x3086d4)=>{const _0x42df70=_0x50e795(_0x3b064c,_0x3086d4);return(_0x42df70-_0x42df70%0x7)/0x7;}],['days',_0x50e795]],_0x26743c={},_0x4cba2a=_0x119e07;let _0x1f65bd,_0x573575;for(const [_0x4f4e,_0x25bc19]of _0x4998a0)_0x568ec0['indexOf'](_0x4f4e)>=0x0&&(_0x1f65bd=_0x4f4e,_0x26743c[_0x4f4e]=_0x25bc19(_0x119e07,_0x3a5829),_0x573575=_0x4cba2a['plus'](_0x26743c),_0x573575>_0x3a5829?(_0x26743c[_0x4f4e]--,(_0x119e07=_0x4cba2a['plus'](_0x26743c))>_0x3a5829&&(_0x573575=_0x119e07,_0x26743c[_0x4f4e]--,_0x119e07=_0x4cba2a['plus'](_0x26743c))):_0x119e07=_0x573575);return[_0x119e07,_0x26743c,_0x573575,_0x1f65bd];}(_0xaabe1c,_0x276e65,_0x36f411);const _0x59018a=_0x276e65-_0x6260d2,_0x4c2663=_0x36f411['filter'](_0x395ae5=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x395ae5)>=0x0);0x0===_0x4c2663['length']&&(_0x277314<_0x276e65&&(_0x277314=_0x6260d2['plus']({[_0x17c42d]:0x1})),_0x277314!==_0x6260d2&&(_0x5e4b54[_0x17c42d]=(_0x5e4b54[_0x17c42d]||0x0)+_0x59018a/(_0x277314-_0x6260d2)));const _0x5f2a0c=_0x5f4ca3['fromObject'](_0x5e4b54,_0xd1a1a7);return _0x4c2663['length']>0x0?_0x5f4ca3['fromMillis'](_0x59018a,_0xd1a1a7)['shiftTo'](..._0x4c2663)['plus'](_0x5f2a0c):_0x5f2a0c;}function _0x321175(_0x25e47b,_0x303709=_0x1bbc7f=>_0x1bbc7f){return{'regex':_0x25e47b,'deser':([_0x2e6e06])=>_0x303709(function(_0x3c8e25){let _0x1af226=parseInt(_0x3c8e25,0xa);if(isNaN(_0x1af226)){_0x1af226='';for(let _0x2ee64e=0x0;_0x2ee64e<_0x3c8e25['length'];_0x2ee64e++){const _0x3d4093=_0x3c8e25['charCodeAt'](_0x2ee64e);if(-0x1!==_0x3c8e25[_0x2ee64e]['search'](_0x5b3c43['hanidec']))_0x1af226+=_0x295a6c['indexOf'](_0x3c8e25[_0x2ee64e]);else for(const _0x4c9137 in _0x33a063){const [_0x84c33b,_0x35b0fe]=_0x33a063[_0x4c9137];_0x3d4093>=_0x84c33b&&_0x3d4093<=_0x35b0fe&&(_0x1af226+=_0x3d4093-_0x84c33b);}}return parseInt(_0x1af226,0xa);}return _0x1af226;}(_0x2e6e06))};}const tc='[\x20'+String['fromCharCode'](0xa0)+']',_0x467b70=new RegExp(tc,'g');function _0x5f1764(_0x4d0ff4){return _0x4d0ff4['replace'](/\./g,'\x5c.?')['replace'](_0x467b70,tc);}function _0x6d143b(_0x16de14){return _0x16de14['replace'](/\./g,'')['replace'](_0x467b70,'\x20')['toLowerCase']();}function _0x15300e(_0xf62954,_0x3c517b){return null===_0xf62954?null:{'regex':RegExp(_0xf62954['map'](_0x5f1764)['join']('|')),'deser':([_0x556b71])=>_0xf62954['findIndex'](_0x29eb02=>_0x6d143b(_0x556b71)===_0x6d143b(_0x29eb02))+_0x3c517b};}function _0x3b0a36(_0x57da71,_0x209acc){return{'regex':_0x57da71,'deser':([,_0xe83128,_0x2009a3])=>_0xa80433(_0xe83128,_0x2009a3),'groups':_0x209acc};}function _0x1a35aa(_0x5c0971){return{'regex':_0x5c0971,'deser':([_0x3295aa])=>_0x3295aa};}function _0x3e3ddb(_0x4cc89a){return _0x4cc89a['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const _0xb34b24={'year':{'2-digit':'yy','numeric':'yyyyy'},'month':{'numeric':'M','2-digit':'MM','short':'MMM','long':'MMMM'},'day':{'numeric':'d','2-digit':'dd'},'weekday':{'short':'EEE','long':'EEEE'},'dayperiod':'a','dayPeriod':'a','hour12':{'numeric':'h','2-digit':'hh'},'hour24':{'numeric':'H','2-digit':'HH'},'minute':{'numeric':'m','2-digit':'mm'},'second':{'numeric':'s','2-digit':'ss'},'timeZoneName':{'long':'ZZZZZ','short':'ZZZ'}};let _0x48a49a=null;function _0xb2846a(_0x17d8dd,_0x3a6913){return Array['prototype']['concat'](..._0x17d8dd['map'](t=>function(_0x4c3560,_0x33e0ff){if(_0x4c3560['literal'])return _0x4c3560;const _0x23c31b=_0x4d168a(_0x425882['macroTokenToFormatOpts'](_0x4c3560['val']),_0x33e0ff);return null==_0x23c31b||_0x23c31b['includes'](void 0x0)?_0x4c3560:_0x23c31b;}(t,_0x3a6913)));}var _0x30088f=class{constructor(_0x49eb6d,_0x3826f4){if(this['locale']=_0x49eb6d,this['format']=_0x3826f4,this['tokens']=_0xb2846a(_0x425882['parseFormat'](_0x3826f4),_0x49eb6d),this['units']=this['tokens']['map'](t=>function(_0x5e4ecc,_0x1d3f95){const _0x25f545=_0x5729a1(_0x1d3f95),_0x251895=_0x5729a1(_0x1d3f95,'{2}'),_0x1df00e=_0x5729a1(_0x1d3f95,'{3}'),_0x54738e=_0x5729a1(_0x1d3f95,'{4}'),_0x1b41b7=_0x5729a1(_0x1d3f95,'{6}'),_0x4b4de4=_0x5729a1(_0x1d3f95,'{1,2}'),_0x2ec2dd=_0x5729a1(_0x1d3f95,'{1,3}'),_0x356250=_0x5729a1(_0x1d3f95,'{1,6}'),_0xf54dc3=_0x5729a1(_0x1d3f95,'{1,9}'),_0x3818f4=_0x5729a1(_0x1d3f95,'{2,4}'),_0x52799d=_0x5729a1(_0x1d3f95,'{4,6}'),_0x2948b0=t=>({'regex':RegExp(_0x3e3ddb(t['val'])),'deser':([_0x4720ba])=>_0x4720ba,'literal':!0x0}),_0xa6a4f4=(t=>{if(_0x5e4ecc['literal'])return _0x2948b0(t);switch(t['val']){case'G':return _0x15300e(_0x1d3f95['eras']('short'),0x0);case'GG':return _0x15300e(_0x1d3f95['eras']('long'),0x0);case'y':return _0x321175(_0x356250);case'yy':case'kk':return _0x321175(_0x3818f4,_0x4d3b9b);case'yyyy':case'kkkk':return _0x321175(_0x54738e);case'yyyyy':return _0x321175(_0x52799d);case'yyyyyy':return _0x321175(_0x1b41b7);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return _0x321175(_0x4b4de4);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return _0x321175(_0x251895);case'MMM':return _0x15300e(_0x1d3f95['months']('short',!0x0),0x1);case'MMMM':return _0x15300e(_0x1d3f95['months']('long',!0x0),0x1);case'LLL':return _0x15300e(_0x1d3f95['months']('short',!0x1),0x1);case'LLLL':return _0x15300e(_0x1d3f95['months']('long',!0x1),0x1);case'o':case'S':return _0x321175(_0x2ec2dd);case'ooo':case'SSS':return _0x321175(_0x1df00e);case'u':return _0x1a35aa(_0xf54dc3);case'uu':return _0x1a35aa(_0x4b4de4);case'uuu':case'E':case'c':return _0x321175(_0x25f545);case'a':return _0x15300e(_0x1d3f95['meridiems'](),0x0);case'EEE':return _0x15300e(_0x1d3f95['weekdays']('short',!0x1),0x1);case'EEEE':return _0x15300e(_0x1d3f95['weekdays']('long',!0x1),0x1);case'ccc':return _0x15300e(_0x1d3f95['weekdays']('short',!0x0),0x1);case'cccc':return _0x15300e(_0x1d3f95['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return _0x3b0a36(new RegExp('([+-]'+_0x4b4de4['source']+')(?::('+_0x251895['source']+'))?'),0x2);case'ZZZ':return _0x3b0a36(new RegExp('([+-]'+_0x4b4de4['source']+')('+_0x251895['source']+')?'),0x2);case'z':return _0x1a35aa(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x1a35aa(/[^\S\n\r]/);default:return _0x2948b0(t);}})(_0x5e4ecc)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0xa6a4f4['token']=_0x5e4ecc,_0xa6a4f4;}(t,_0x49eb6d)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x3984f5,_0x323e88]=['^'+(_0x507565=this['units'])['map'](_0x197579=>_0x197579['regex'])['reduce']((_0xecf441,_0x1e8487)=>_0xecf441+'('+_0x1e8487['source']+')','')+'$',_0x507565];this['regex']=RegExp(_0x3984f5,'i'),this['handlers']=_0x323e88;}var _0x507565;}['explainFromTokens'](_0x1416a7){if(this['isValid']){const [_0x4b0749,_0x3e6730]=function(_0x182613,_0x54a6a0,_0x3d302f){const _0x307f54=_0x182613['match'](_0x54a6a0);if(_0x307f54){const _0x4b3ccf={};let _0x5e88cf=0x1;for(const _0x296607 in _0x3d302f)if(_0xe80360(_0x3d302f,_0x296607)){const _0x49ff21=_0x3d302f[_0x296607],_0x1c4c21=_0x49ff21['groups']?_0x49ff21['groups']+0x1:0x1;!_0x49ff21['literal']&&_0x49ff21['token']&&(_0x4b3ccf[_0x49ff21['token']['val'][0x0]]=_0x49ff21['deser'](_0x307f54['slice'](_0x5e88cf,_0x5e88cf+_0x1c4c21))),_0x5e88cf+=_0x1c4c21;}return[_0x307f54,_0x4b3ccf];}return[_0x307f54,{}];}(_0x1416a7,this['regex'],this['handlers']),[_0x5ae511,_0x371366,_0x485207]=_0x3e6730?function(_0x434c1a){let _0x406bbb,_0x51f8d5=null;return _0x425bbd(_0x434c1a['z'])||(_0x51f8d5=_0x372b85['create'](_0x434c1a['z'])),_0x425bbd(_0x434c1a['Z'])||(_0x51f8d5||(_0x51f8d5=new _0x745f21(_0x434c1a['Z'])),_0x406bbb=_0x434c1a['Z']),_0x425bbd(_0x434c1a['q'])||(_0x434c1a['M']=0x3*(_0x434c1a['q']-0x1)+0x1),_0x425bbd(_0x434c1a['h'])||(_0x434c1a['h']<0xc&&0x1===_0x434c1a['a']?_0x434c1a['h']+=0xc:0xc===_0x434c1a['h']&&0x0===_0x434c1a['a']&&(_0x434c1a['h']=0x0)),0x0===_0x434c1a['G']&&_0x434c1a['y']&&(_0x434c1a['y']=-_0x434c1a['y']),_0x425bbd(_0x434c1a['u'])||(_0x434c1a['S']=_0x5dc894(_0x434c1a['u'])),[Object['keys'](_0x434c1a)['reduce']((_0x55d7ac,_0xe0c1f3)=>{const _0x1b068b=(_0xaf98c3=>{switch(_0xaf98c3){case'S':return'millisecond';case's':return'second';case'm':return'minute';case'h':case'H':return'hour';case'd':return'day';case'o':return'ordinal';case'L':case'M':return'month';case'y':return'year';case'E':case'c':return'weekday';case'W':return'weekNumber';case'k':return'weekYear';case'q':return'quarter';default:return null;}})(_0xe0c1f3);return _0x1b068b&&(_0x55d7ac[_0x1b068b]=_0x434c1a[_0xe0c1f3]),_0x55d7ac;},{}),_0x51f8d5,_0x406bbb];}(_0x3e6730):[null,null,void 0x0];if(_0xe80360(_0x3e6730,'a')&&_0xe80360(_0x3e6730,'H'))throw new _0xbc6770('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x1416a7,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x4b0749,'matches':_0x3e6730,'result':_0x5ae511,'zone':_0x371366,'specificOffset':_0x485207};}return{'input':_0x1416a7,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}};function _0x23c96f(_0x3e3be1,_0x49d440,_0x25d20a){return new _0x30088f(_0x3e3be1,_0x25d20a)['explainFromTokens'](_0x49d440);}function _0x4d168a(_0x5c211f,_0x425900){if(!_0x5c211f)return null;const _0xef04d7=_0x425882['create'](_0x425900,_0x5c211f)['dtFormatter']((_0x48a49a||(_0x48a49a=_0x210871['fromMillis'](0x16a2e5618e3)),_0x48a49a)),_0x47917c=_0xef04d7['formatToParts'](),_0x1cb0f4=_0xef04d7['resolvedOptions']();return _0x47917c['map'](_0x631903=>function(_0x7de187,_0x5e3ef6,_0x2d8895){const {type:_0x289a65,value:_0x4dec7f}=_0x7de187;if('literal'===_0x289a65){const _0x3eaf86=/^\s+$/['test'](_0x4dec7f);return{'literal':!_0x3eaf86,'val':_0x3eaf86?'\x20':_0x4dec7f};}const _0x3feb3d=_0x5e3ef6[_0x289a65];let _0x47513d=_0x289a65;'hour'===_0x289a65&&(_0x47513d=null!=_0x5e3ef6['hour12']?_0x5e3ef6['hour12']?'hour12':'hour24':null!=_0x5e3ef6['hourCycle']?'h11'===_0x5e3ef6['hourCycle']||'h12'===_0x5e3ef6['hourCycle']?'hour12':'hour24':_0x2d8895['hour12']?'hour12':'hour24');let _0x2936aa=_0xb34b24[_0x47513d];if('object'==typeof _0x2936aa&&(_0x2936aa=_0x2936aa[_0x3feb3d]),_0x2936aa)return{'literal':!0x1,'val':_0x2936aa};}(_0x631903,_0x5c211f,_0x1cb0f4));}const _0x298f99='Invalid\x20DateTime';function _0x306a01(_0x41717b){return new _0x55711f('unsupported\x20zone','the\x20zone\x20\x22'+_0x41717b['name']+'\x22\x20is\x20not\x20supported');}function _0x14c7ce(_0x5def61){return null===_0x5def61['weekData']&&(_0x5def61['weekData']=_0x404171(_0x5def61['c'])),_0x5def61['weekData'];}function _0x5da1aa(_0x178118){return null===_0x178118['localWeekData']&&(_0x178118['localWeekData']=_0x404171(_0x178118['c'],_0x178118['loc']['getMinDaysInFirstWeek'](),_0x178118['loc']['getStartOfWeek']())),_0x178118['localWeekData'];}function _0x4ebdd6(_0x4f950f,_0x3dc0c2){const _0x16f4f6={'ts':_0x4f950f['ts'],'zone':_0x4f950f['zone'],'c':_0x4f950f['c'],'o':_0x4f950f['o'],'loc':_0x4f950f['loc'],'invalid':_0x4f950f['invalid']};return new _0x210871({..._0x16f4f6,..._0x3dc0c2,'old':_0x16f4f6});}function _0x4529b6(_0x305de1,_0x353f19,_0x3330a0){let _0x284980=_0x305de1-0x3c*_0x353f19*0x3e8;const _0x5b0291=_0x3330a0['offset'](_0x284980);if(_0x353f19===_0x5b0291)return[_0x284980,_0x353f19];_0x284980-=0x3c*(_0x5b0291-_0x353f19)*0x3e8;const _0x53dfe2=_0x3330a0['offset'](_0x284980);return _0x5b0291===_0x53dfe2?[_0x284980,_0x5b0291]:[_0x305de1-0x3c*Math['min'](_0x5b0291,_0x53dfe2)*0x3e8,Math['max'](_0x5b0291,_0x53dfe2)];}function _0x1c32f8(_0xf9d572,_0x94c16d){const _0x220f26=new Date(_0xf9d572+=0x3c*_0x94c16d*0x3e8);return{'year':_0x220f26['getUTCFullYear'](),'month':_0x220f26['getUTCMonth']()+0x1,'day':_0x220f26['getUTCDate'](),'hour':_0x220f26['getUTCHours'](),'minute':_0x220f26['getUTCMinutes'](),'second':_0x220f26['getUTCSeconds'](),'millisecond':_0x220f26['getUTCMilliseconds']()};}function _0x471de6(_0x1fff46,_0x3ca181,_0x1630a5){return _0x4529b6(_0x2950ce(_0x1fff46),_0x3ca181,_0x1630a5);}function _0x1cc8fe(_0x418099,_0x48c078){const _0x18ed0a=_0x418099['o'],_0x1416b2=_0x418099['c']['year']+Math['trunc'](_0x48c078['years']),_0x4d5b1e=_0x418099['c']['month']+Math['trunc'](_0x48c078['months'])+0x3*Math['trunc'](_0x48c078['quarters']),_0x4a7c6c={..._0x418099['c'],'year':_0x1416b2,'month':_0x4d5b1e,'day':Math['min'](_0x418099['c']['day'],_0x58649a(_0x1416b2,_0x4d5b1e))+Math['trunc'](_0x48c078['days'])+0x7*Math['trunc'](_0x48c078['weeks'])},_0x8f7c9f=_0x5f4ca3['fromObject']({'years':_0x48c078['years']-Math['trunc'](_0x48c078['years']),'quarters':_0x48c078['quarters']-Math['trunc'](_0x48c078['quarters']),'months':_0x48c078['months']-Math['trunc'](_0x48c078['months']),'weeks':_0x48c078['weeks']-Math['trunc'](_0x48c078['weeks']),'days':_0x48c078['days']-Math['trunc'](_0x48c078['days']),'hours':_0x48c078['hours'],'minutes':_0x48c078['minutes'],'seconds':_0x48c078['seconds'],'milliseconds':_0x48c078['milliseconds']})['as']('milliseconds');let [_0x137440,_0xb0bf7d]=_0x4529b6(_0x2950ce(_0x4a7c6c),_0x18ed0a,_0x418099['zone']);return 0x0!==_0x8f7c9f&&(_0x137440+=_0x8f7c9f,_0xb0bf7d=_0x418099['zone']['offset'](_0x137440)),{'ts':_0x137440,'o':_0xb0bf7d};}function _0x470a32(_0x13e649,_0xeac37c,_0x3be1ea,_0x18d92b,_0x5223d8,_0x2c5a75){const {setZone:_0x371b02,zone:_0xddde4}=_0x3be1ea;if(_0x13e649&&0x0!==Object['keys'](_0x13e649)['length']||_0xeac37c){const _0x5a8b5a=_0xeac37c||_0xddde4,_0xdb60db=_0x210871['fromObject'](_0x13e649,{..._0x3be1ea,'zone':_0x5a8b5a,'specificOffset':_0x2c5a75});return _0x371b02?_0xdb60db:_0xdb60db['setZone'](_0xddde4);}return _0x210871['invalid'](new _0x55711f('unparsable','the\x20input\x20\x22'+_0x5223d8+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x18d92b));}function _0x56abd8(_0x4e3592,_0x202811,_0x125091=!0x0){return _0x4e3592['isValid']?_0x425882['create'](_0x54006a['create']('en-US'),{'allowZ':_0x125091,'forceSimple':!0x0})['formatDateTimeFromString'](_0x4e3592,_0x202811):null;}function _0x137de2(_0x15d7f1,_0x942123){const _0x539c40=_0x15d7f1['c']['year']>0x270f||_0x15d7f1['c']['year']<0x0;let _0x1729c1='';return _0x539c40&&_0x15d7f1['c']['year']>=0x0&&(_0x1729c1+='+'),_0x1729c1+=_0x5e4395(_0x15d7f1['c']['year'],_0x539c40?0x6:0x4),_0x942123?(_0x1729c1+='-',_0x1729c1+=_0x5e4395(_0x15d7f1['c']['month']),_0x1729c1+='-',_0x1729c1+=_0x5e4395(_0x15d7f1['c']['day'])):(_0x1729c1+=_0x5e4395(_0x15d7f1['c']['month']),_0x1729c1+=_0x5e4395(_0x15d7f1['c']['day'])),_0x1729c1;}function _0x2a1310(_0x214edb,_0x2380cd,_0x1577da,_0x18980f,_0x55862d,_0xbf2da3){let _0x1cc657=_0x5e4395(_0x214edb['c']['hour']);return _0x2380cd?(_0x1cc657+=':',_0x1cc657+=_0x5e4395(_0x214edb['c']['minute']),0x0===_0x214edb['c']['millisecond']&&0x0===_0x214edb['c']['second']&&_0x1577da||(_0x1cc657+=':')):_0x1cc657+=_0x5e4395(_0x214edb['c']['minute']),0x0===_0x214edb['c']['millisecond']&&0x0===_0x214edb['c']['second']&&_0x1577da||(_0x1cc657+=_0x5e4395(_0x214edb['c']['second']),0x0===_0x214edb['c']['millisecond']&&_0x18980f||(_0x1cc657+='.',_0x1cc657+=_0x5e4395(_0x214edb['c']['millisecond'],0x3))),_0x55862d&&(_0x214edb['isOffsetFixed']&&0x0===_0x214edb['offset']&&!_0xbf2da3?_0x1cc657+='Z':_0x214edb['o']<0x0?(_0x1cc657+='-',_0x1cc657+=_0x5e4395(Math['trunc'](-_0x214edb['o']/0x3c)),_0x1cc657+=':',_0x1cc657+=_0x5e4395(Math['trunc'](-_0x214edb['o']%0x3c))):(_0x1cc657+='+',_0x1cc657+=_0x5e4395(Math['trunc'](_0x214edb['o']/0x3c)),_0x1cc657+=':',_0x1cc657+=_0x5e4395(Math['trunc'](_0x214edb['o']%0x3c)))),_0xbf2da3&&(_0x1cc657+='['+_0x214edb['zone']['ianaName']+']'),_0x1cc657;}const _0x252210={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x4c4aaf={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x58f2d4={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x4824e0=['year','month','day','hour','minute','second','millisecond'],_0x427ba1=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],_0x36fe0c=['year','ordinal','hour','minute','second','millisecond'];function _0x1cfd84(_0x465f75){switch(_0x465f75['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x471e60){const _0x12d741={'year':'year','years':'year','month':'month','months':'month','day':'day','days':'day','hour':'hour','hours':'hour','minute':'minute','minutes':'minute','quarter':'quarter','quarters':'quarter','second':'second','seconds':'second','millisecond':'millisecond','milliseconds':'millisecond','weekday':'weekday','weekdays':'weekday','weeknumber':'weekNumber','weeksnumber':'weekNumber','weeknumbers':'weekNumber','weekyear':'weekYear','weekyears':'weekYear','ordinal':'ordinal'}[_0x471e60['toLowerCase']()];if(!_0x12d741)throw new _0x2eb2f6(_0x471e60);return _0x12d741;}(_0x465f75);}}function _0x248f20(_0x4a70b4,_0x1f0dbf){const _0x2103f6=_0x1051f2(_0x1f0dbf['zone'],_0x1c974d['defaultZone']);if(!_0x2103f6['isValid'])return _0x210871['invalid'](_0x306a01(_0x2103f6));const _0x287957=_0x54006a['fromObject'](_0x1f0dbf);let _0xf0d8a4,_0x54c724;if(_0x425bbd(_0x4a70b4['year']))_0xf0d8a4=_0x1c974d['now']();else{for(const _0xaba64d of _0x4824e0)_0x425bbd(_0x4a70b4[_0xaba64d])&&(_0x4a70b4[_0xaba64d]=_0x252210[_0xaba64d]);const _0x111b75=_0x500764(_0x4a70b4)||_0x99f658(_0x4a70b4);if(_0x111b75)return _0x210871['invalid'](_0x111b75);const _0x12b184=function(_0x2b3dbb){if(void 0x0===_0x4d8478&&(_0x4d8478=_0x1c974d['now']()),'iana'!==_0x2b3dbb['type'])return _0x2b3dbb['offset'](_0x4d8478);const _0x289e61=_0x2b3dbb['name'];let _0x60e425=_0xc7a233['get'](_0x289e61);return void 0x0===_0x60e425&&(_0x60e425=_0x2b3dbb['offset'](_0x4d8478),_0xc7a233['set'](_0x289e61,_0x60e425)),_0x60e425;}(_0x2103f6);[_0xf0d8a4,_0x54c724]=_0x471de6(_0x4a70b4,_0x12b184,_0x2103f6);}return new _0x210871({'ts':_0xf0d8a4,'zone':_0x2103f6,'loc':_0x287957,'o':_0x54c724});}function _0x1f3a30(_0x357a7b,_0x1c750a,_0x4fe1a2){const _0x1d4b8f=!!_0x425bbd(_0x4fe1a2['round'])||_0x4fe1a2['round'],_0x17fc3e=(_0x6f4dfb,_0x3a90a7)=>(_0x6f4dfb=_0x62aefe(_0x6f4dfb,_0x1d4b8f||_0x4fe1a2['calendary']?0x0:0x2,!0x0),_0x1c750a['loc']['clone'](_0x4fe1a2)['relFormatter'](_0x4fe1a2)['format'](_0x6f4dfb,_0x3a90a7)),_0x1f5197=_0x4560a3=>_0x4fe1a2['calendary']?_0x1c750a['hasSame'](_0x357a7b,_0x4560a3)?0x0:_0x1c750a['startOf'](_0x4560a3)['diff'](_0x357a7b['startOf'](_0x4560a3),_0x4560a3)['get'](_0x4560a3):_0x1c750a['diff'](_0x357a7b,_0x4560a3)['get'](_0x4560a3);if(_0x4fe1a2['unit'])return _0x17fc3e(_0x1f5197(_0x4fe1a2['unit']),_0x4fe1a2['unit']);for(const _0x559fac of _0x4fe1a2['units']){const _0xd490e6=_0x1f5197(_0x559fac);if(Math['abs'](_0xd490e6)>=0x1)return _0x17fc3e(_0xd490e6,_0x559fac);}return _0x17fc3e(_0x357a7b>_0x1c750a?-0x0:0x0,_0x4fe1a2['units'][_0x4fe1a2['units']['length']-0x1]);}function _0x29d529(_0x374247){let _0x584a3b,_0x4f2c43={};return _0x374247['length']>0x0&&'object'==typeof _0x374247[_0x374247['length']-0x1]?(_0x4f2c43=_0x374247[_0x374247['length']-0x1],_0x584a3b=Array['from'](_0x374247)['slice'](0x0,_0x374247['length']-0x1)):_0x584a3b=Array['from'](_0x374247),[_0x4f2c43,_0x584a3b];}let _0x4d8478;const _0xc7a233=new Map();var _0x210871=class DateTime{constructor(_0x7da4cf){const _0x41d7d8=_0x7da4cf['zone']||_0x1c974d['defaultZone'];let _0x314bff=_0x7da4cf['invalid']||(Number['isNaN'](_0x7da4cf['ts'])?new _0x55711f('invalid\x20input'):null)||(_0x41d7d8['isValid']?null:_0x306a01(_0x41d7d8));this['ts']=_0x425bbd(_0x7da4cf['ts'])?_0x1c974d['now']():_0x7da4cf['ts'];let _0x25b2bb=null,_0x2d2a41=null;if(!_0x314bff){if(_0x7da4cf['old']&&_0x7da4cf['old']['ts']===this['ts']&&_0x7da4cf['old']['zone']['equals'](_0x41d7d8))[_0x25b2bb,_0x2d2a41]=[_0x7da4cf['old']['c'],_0x7da4cf['old']['o']];else{const _0x2b253e=_0x483e95(_0x7da4cf['o'])&&!_0x7da4cf['old']?_0x7da4cf['o']:_0x41d7d8['offset'](this['ts']);_0x25b2bb=_0x1c32f8(this['ts'],_0x2b253e),_0x314bff=Number['isNaN'](_0x25b2bb['year'])?new _0x55711f('invalid\x20input'):null,_0x25b2bb=_0x314bff?null:_0x25b2bb,_0x2d2a41=_0x314bff?null:_0x2b253e;}}this['_zone']=_0x41d7d8,this['loc']=_0x7da4cf['loc']||_0x54006a['create'](),this['invalid']=_0x314bff,this['weekData']=null,this['localWeekData']=null,this['c']=_0x25b2bb,this['o']=_0x2d2a41,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x1f74d5,_0x3c45f0]=_0x29d529(arguments),[_0x532491,_0x27c6d8,_0x2e41be,_0x3d3c90,_0x26e278,_0x452d6d,_0x348921]=_0x3c45f0;return _0x248f20({'year':_0x532491,'month':_0x27c6d8,'day':_0x2e41be,'hour':_0x3d3c90,'minute':_0x26e278,'second':_0x452d6d,'millisecond':_0x348921},_0x1f74d5);}static utc(){const [_0x4bb5e5,_0x4f9d80]=_0x29d529(arguments),[_0x3a1c1f,_0x2a660e,_0x4975f9,_0x25add1,_0x52d172,_0xb1f991,_0x360f60]=_0x4f9d80;return _0x4bb5e5['zone']=_0x745f21['utcInstance'],_0x248f20({'year':_0x3a1c1f,'month':_0x2a660e,'day':_0x4975f9,'hour':_0x25add1,'minute':_0x52d172,'second':_0xb1f991,'millisecond':_0x360f60},_0x4bb5e5);}static fromJSDate(_0x4826cc,_0x34c2fa={}){const _0x1de18e=(_0x5bb59d=_0x4826cc,'[object\x20Date]'===Object['prototype']['toString']['call'](_0x5bb59d)?_0x4826cc['valueOf']():NaN);var _0x5bb59d;if(Number['isNaN'](_0x1de18e))return DateTime['invalid']('invalid\x20input');const _0x3551bf=_0x1051f2(_0x34c2fa['zone'],_0x1c974d['defaultZone']);return _0x3551bf['isValid']?new DateTime({'ts':_0x1de18e,'zone':_0x3551bf,'loc':_0x54006a['fromObject'](_0x34c2fa)}):DateTime['invalid'](_0x306a01(_0x3551bf));}static['fromMillis'](_0x44b781,_0x54512d={}){if(_0x483e95(_0x44b781))return _0x44b781<-0x1eb208c2dc0000||_0x44b781>0x1eb208c2dc0000?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x44b781,'zone':_0x1051f2(_0x54512d['zone'],_0x1c974d['defaultZone']),'loc':_0x54006a['fromObject'](_0x54512d)});throw new _0x4b2347('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x44b781+'\x20with\x20value\x20'+_0x44b781);}static['fromSeconds'](_0x461e71,_0x55f7ff={}){if(_0x483e95(_0x461e71))return new DateTime({'ts':0x3e8*_0x461e71,'zone':_0x1051f2(_0x55f7ff['zone'],_0x1c974d['defaultZone']),'loc':_0x54006a['fromObject'](_0x55f7ff)});throw new _0x4b2347('fromSeconds\x20requires\x20a\x20numerical\x20input');}static fromObject(_0x2ab486,_0x44b547={}){_0x2ab486=_0x2ab486||{};const _0x15c999=_0x1051f2(_0x44b547['zone'],_0x1c974d['defaultZone']);if(!_0x15c999['isValid'])return DateTime['invalid'](_0x306a01(_0x15c999));const _0x2905c6=_0x54006a['fromObject'](_0x44b547),_0x467797=_0x5058d6(_0x2ab486,_0x1cfd84),{minDaysInFirstWeek:_0x4fc8a8,startOfWeek:_0x60e5ee}=_0x3f7165(_0x467797,_0x2905c6),_0x53cebc=_0x1c974d['now'](),_0x381c5d=_0x425bbd(_0x44b547['specificOffset'])?_0x15c999['offset'](_0x53cebc):_0x44b547['specificOffset'],_0x2898c0=!_0x425bbd(_0x467797['ordinal']),_0x204b71=!_0x425bbd(_0x467797['year']),_0x55ec8f=!_0x425bbd(_0x467797['month'])||!_0x425bbd(_0x467797['day']),_0x395e4d=_0x204b71||_0x55ec8f,_0x9a7ede=_0x467797['weekYear']||_0x467797['weekNumber'];if((_0x395e4d||_0x2898c0)&&_0x9a7ede)throw new _0xbc6770('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x55ec8f&&_0x2898c0)throw new _0xbc6770('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x37127e=_0x9a7ede||_0x467797['weekday']&&!_0x395e4d;let _0x2e82b0,_0x1c53b5,_0x1c9fcb=_0x1c32f8(_0x53cebc,_0x381c5d);_0x37127e?(_0x2e82b0=_0x427ba1,_0x1c53b5=_0x4c4aaf,_0x1c9fcb=_0x404171(_0x1c9fcb,_0x4fc8a8,_0x60e5ee)):_0x2898c0?(_0x2e82b0=_0x36fe0c,_0x1c53b5=_0x58f2d4,_0x1c9fcb=_0x3204a7(_0x1c9fcb)):(_0x2e82b0=_0x4824e0,_0x1c53b5=_0x252210);let _0x351244=!0x1;for(const _0x21cb41 of _0x2e82b0){_0x425bbd(_0x467797[_0x21cb41])?_0x467797[_0x21cb41]=_0x351244?_0x1c53b5[_0x21cb41]:_0x1c9fcb[_0x21cb41]:_0x351244=!0x0;}const _0x1c619c=(_0x37127e?function(_0x5a95a2,_0x5a3671=0x4,_0xa14cd4=0x1){const _0x622ea=_0x2ce388(_0x5a95a2['weekYear']),_0x371e65=_0x1d5308(_0x5a95a2['weekNumber'],0x1,_0x240b8f(_0x5a95a2['weekYear'],_0x5a3671,_0xa14cd4)),_0x105cc0=_0x1d5308(_0x5a95a2['weekday'],0x1,0x7);return _0x622ea?_0x371e65?!_0x105cc0&&_0x2e4495('weekday',_0x5a95a2['weekday']):_0x2e4495('week',_0x5a95a2['weekNumber']):_0x2e4495('weekYear',_0x5a95a2['weekYear']);}(_0x467797,_0x4fc8a8,_0x60e5ee):_0x2898c0?function(_0x3a3845){const _0x50de5=_0x2ce388(_0x3a3845['year']),_0x288fb5=_0x1d5308(_0x3a3845['ordinal'],0x1,_0x553470(_0x3a3845['year']));return _0x50de5?!_0x288fb5&&_0x2e4495('ordinal',_0x3a3845['ordinal']):_0x2e4495('year',_0x3a3845['year']);}(_0x467797):_0x500764(_0x467797))||_0x99f658(_0x467797);if(_0x1c619c)return DateTime['invalid'](_0x1c619c);const [_0x9d88e7,_0x54c6f6]=_0x471de6(_0x37127e?_0x231eed(_0x467797,_0x4fc8a8,_0x60e5ee):_0x2898c0?to(_0x467797):_0x467797,_0x381c5d,_0x15c999),_0x8498b7=new DateTime({'ts':_0x9d88e7,'zone':_0x15c999,'o':_0x54c6f6,'loc':_0x2905c6});return _0x467797['weekday']&&_0x395e4d&&_0x2ab486['weekday']!==_0x8498b7['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x467797['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x8498b7['toISO']()):_0x8498b7['isValid']?_0x8498b7:DateTime['invalid'](_0x8498b7['invalid']);}static['fromISO'](_0x27deb5,_0x497268={}){const [_0x5bc16e,_0x9f7b20]=function(_0x190ba0){return _0x128f4d(_0x190ba0,[_0x865cb6,_0x5e9c77],[_0x31b6e8,_0x584508],[_0x3173cf,_0x1aab70],[_0x2db77e,_0x44df26]);}(_0x27deb5);return _0x470a32(_0x5bc16e,_0x9f7b20,_0x497268,'ISO\x208601',_0x27deb5);}static['fromRFC2822'](_0x878a7b,_0x46ed5b={}){const [_0x3cbd54,_0x25de0e]=function(_0x2ea1ed){return _0x128f4d(function(_0x383be0){return _0x383be0['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x2ea1ed),[_0x1f4fe5,_0x5e2acb]);}(_0x878a7b);return _0x470a32(_0x3cbd54,_0x25de0e,_0x46ed5b,'RFC\x202822',_0x878a7b);}static['fromHTTP'](_0x12b3a1,_0x2f7f30={}){const [_0x2a769e,_0x477ba2]=function(_0x7abaf6){return _0x128f4d(_0x7abaf6,[_0x1dd630,_0x227506],[_0x15b607,_0x227506],[_0x1678dd,_0x23733e]);}(_0x12b3a1);return _0x470a32(_0x2a769e,_0x477ba2,_0x2f7f30,'HTTP',_0x2f7f30);}static fromFormat(_0x2fa9d5,_0x47a4d2,_0x2a1d4a={}){if(_0x425bbd(_0x2fa9d5)||_0x425bbd(_0x47a4d2))throw new _0x4b2347('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x3ee585=null,numberingSystem:_0x3f1d=null}=_0x2a1d4a,[_0xd7ff40,_0x46fc85,_0x4156fb,_0x8ae6b2]=function(_0x14e21f,_0x3bdf9c,_0x53a626){const {result:_0x13fa87,zone:_0x1863c2,specificOffset:_0x32a1ef,invalidReason:_0xc47219}=_0x23c96f(_0x14e21f,_0x3bdf9c,_0x53a626);return[_0x13fa87,_0x1863c2,_0x32a1ef,_0xc47219];}(_0x54006a['fromOpts']({'locale':_0x3ee585,'numberingSystem':_0x3f1d,'defaultToEN':!0x0}),_0x2fa9d5,_0x47a4d2);return _0x8ae6b2?DateTime['invalid'](_0x8ae6b2):_0x470a32(_0xd7ff40,_0x46fc85,_0x2a1d4a,'format\x20'+_0x47a4d2,_0x2fa9d5,_0x4156fb);}static fromString(_0x3712f8,_0x5a2444,_0x5b0a93={}){return DateTime['fromFormat'](_0x3712f8,_0x5a2444,_0x5b0a93);}static['fromSQL'](_0x2fa875,_0x3d2016={}){const [_0x312009,_0x208930]=function(_0x44bbb3){return _0x128f4d(_0x44bbb3,[_0x2fa367,_0x5e9c77],[_0x90889b,_0xcd1bd1]);}(_0x2fa875);return _0x470a32(_0x312009,_0x208930,_0x3d2016,'SQL',_0x2fa875);}static['invalid'](_0x24aeb9,_0x41d0af=null){if(!_0x24aeb9)throw new _0x4b2347('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0xf0cc0b=_0x24aeb9 instanceof _0x55711f?_0x24aeb9:new _0x55711f(_0x24aeb9,_0x41d0af);if(_0x1c974d['throwOnInvalid'])throw new _0x55bcb9(_0xf0cc0b);return new DateTime({'invalid':_0xf0cc0b});}static isDateTime(_0x36eb3b){return _0x36eb3b&&_0x36eb3b['isLuxonDateTime']||!0x1;}static parseFormatForOpts(_0x4076da,_0x2ba15d={}){const _0x36390d=_0x4d168a(_0x4076da,_0x54006a['fromObject'](_0x2ba15d));return _0x36390d?_0x36390d['map'](t=>t?t['val']:null)['join'](''):null;}static expandFormat(_0x2afd95,_0x33a35a={}){return _0xb2846a(_0x425882['parseFormat'](_0x2afd95),_0x54006a['fromObject'](_0x33a35a))['map'](t=>t['val'])['join']('');}static resetCache(){_0x4d8478=void 0x0,_0xc7a233['clear']();}get(_0x2d6856){return this[_0x2d6856];}get['isValid'](){return null===this['invalid'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get invalidExplanation(){return this['invalid']?this['invalid']['explanation']:null;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get numberingSystem(){return this['isValid']?this['loc']['numberingSystem']:null;}get outputCalendar(){return this['isValid']?this['loc']['outputCalendar']:null;}get['zone'](){return this['_zone'];}get['zoneName'](){return this['isValid']?this['zone']['name']:null;}get['year'](){return this['isValid']?this['c']['year']:NaN;}get quarter(){return this['isValid']?Math['ceil'](this['c']['month']/0x3):NaN;}get month(){return this['isValid']?this['c']['month']:NaN;}get['day'](){return this['isValid']?this['c']['day']:NaN;}get['hour'](){return this['isValid']?this['c']['hour']:NaN;}get minute(){return this['isValid']?this['c']['minute']:NaN;}get['second'](){return this['isValid']?this['c']['second']:NaN;}get['millisecond'](){return this['isValid']?this['c']['millisecond']:NaN;}get['weekYear'](){return this['isValid']?_0x14c7ce(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?_0x14c7ce(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?_0x14c7ce(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?_0x5da1aa(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?_0x5da1aa(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?_0x5da1aa(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x3204a7(this['c'])['ordinal']:NaN;}get monthShort(){return this['isValid']?_0x26639c['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get monthLong(){return this['isValid']?_0x26639c['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get weekdayShort(){return this['isValid']?_0x26639c['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x26639c['weekdays']('long',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get offset(){return this['isValid']?+this['o']:NaN;}get offsetNameShort(){return this['isValid']?this['zone']['offsetName'](this['ts'],{'format':'short','locale':this['locale']}):null;}get offsetNameLong(){return this['isValid']?this['zone']['offsetName'](this['ts'],{'format':'long','locale':this['locale']}):null;}get isOffsetFixed(){return this['isValid']?this['zone']['isUniversal']:null;}get['isInDST'](){return!this['isOffsetFixed']&&(this['offset']>this['set']({'month':0x1,'day':0x1})['offset']||this['offset']>this['set']({'month':0x5})['offset']);}getPossibleOffsets(){if(!this['isValid']||this['isOffsetFixed'])return[this];const _0x46d192=0x5265c00,_0x2fbb80=0xea60,_0x12b91e=_0x2950ce(this['c']),_0x54bcc9=this['zone']['offset'](_0x12b91e-_0x46d192),_0x5d3fc5=this['zone']['offset'](_0x12b91e+_0x46d192),_0x1df2af=this['zone']['offset'](_0x12b91e-_0x54bcc9*_0x2fbb80),_0x2a3d1c=this['zone']['offset'](_0x12b91e-_0x5d3fc5*_0x2fbb80);if(_0x1df2af===_0x2a3d1c)return[this];const _0x1451f1=_0x12b91e-_0x1df2af*_0x2fbb80,_0x1b53d9=_0x12b91e-_0x2a3d1c*_0x2fbb80,_0x33b2b1=_0x1c32f8(_0x1451f1,_0x1df2af),_0x12e5e7=_0x1c32f8(_0x1b53d9,_0x2a3d1c);return _0x33b2b1['hour']===_0x12e5e7['hour']&&_0x33b2b1['minute']===_0x12e5e7['minute']&&_0x33b2b1['second']===_0x12e5e7['second']&&_0x33b2b1['millisecond']===_0x12e5e7['millisecond']?[_0x4ebdd6(this,{'ts':_0x1451f1}),_0x4ebdd6(this,{'ts':_0x1b53d9})]:[this];}get['isInLeapYear'](){return _0x4edca3(this['year']);}get daysInMonth(){return _0x58649a(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x553470(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x240b8f(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x240b8f(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}resolvedLocaleOptions(_0x46b35e={}){const {locale:_0xdbbbe4,numberingSystem:_0x4710d7,calendar:_0x569d1f}=_0x425882['create'](this['loc']['clone'](_0x46b35e),_0x46b35e)['resolvedOptions'](this);return{'locale':_0xdbbbe4,'numberingSystem':_0x4710d7,'outputCalendar':_0x569d1f};}toUTC(_0x54fc64=0x0,_0x24728={}){return this['setZone'](_0x745f21['instance'](_0x54fc64),_0x24728);}toLocal(){return this['setZone'](_0x1c974d['defaultZone']);}setZone(_0x97460b,{keepLocalTime:_0x1bf89f=!0x1,keepCalendarTime:_0x18bf1f=!0x1}={}){if((_0x97460b=_0x1051f2(_0x97460b,_0x1c974d['defaultZone']))['equals'](this['zone']))return this;if(_0x97460b['isValid']){let _0x345de7=this['ts'];if(_0x1bf89f||_0x18bf1f){const _0x371829=_0x97460b['offset'](this['ts']),_0x88c55c=this['toObject']();[_0x345de7]=_0x471de6(_0x88c55c,_0x371829,_0x97460b);}return _0x4ebdd6(this,{'ts':_0x345de7,'zone':_0x97460b});}return DateTime['invalid'](_0x306a01(_0x97460b));}['reconfigure']({locale:_0x4ea6ed,numberingSystem:_0x41ff92,outputCalendar:_0x320599}={}){return _0x4ebdd6(this,{'loc':this['loc']['clone']({'locale':_0x4ea6ed,'numberingSystem':_0x41ff92,'outputCalendar':_0x320599})});}setLocale(_0x556473){return this['reconfigure']({'locale':_0x556473});}set(_0x525539){if(!this['isValid'])return this;const _0x46803d=_0x5058d6(_0x525539,_0x1cfd84),{minDaysInFirstWeek:_0x5a8a44,startOfWeek:_0x3ca45}=_0x3f7165(_0x46803d,this['loc']),_0x1ec3f9=!_0x425bbd(_0x46803d['weekYear'])||!_0x425bbd(_0x46803d['weekNumber'])||!_0x425bbd(_0x46803d['weekday']),_0x3622c5=!_0x425bbd(_0x46803d['ordinal']),_0x2f6d99=!_0x425bbd(_0x46803d['year']),_0x43f050=!_0x425bbd(_0x46803d['month'])||!_0x425bbd(_0x46803d['day']),_0x3e729c=_0x2f6d99||_0x43f050,_0x39e605=_0x46803d['weekYear']||_0x46803d['weekNumber'];if((_0x3e729c||_0x3622c5)&&_0x39e605)throw new _0xbc6770('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x43f050&&_0x3622c5)throw new _0xbc6770('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x5b9878;_0x1ec3f9?_0x5b9878=_0x231eed({..._0x404171(this['c'],_0x5a8a44,_0x3ca45),..._0x46803d},_0x5a8a44,_0x3ca45):_0x425bbd(_0x46803d['ordinal'])?(_0x5b9878={...this['toObject'](),..._0x46803d},_0x425bbd(_0x46803d['day'])&&(_0x5b9878['day']=Math['min'](_0x58649a(_0x5b9878['year'],_0x5b9878['month']),_0x5b9878['day']))):_0x5b9878=to({..._0x3204a7(this['c']),..._0x46803d});const [_0x1619cf,_0x48c453]=_0x471de6(_0x5b9878,this['o'],this['zone']);return _0x4ebdd6(this,{'ts':_0x1619cf,'o':_0x48c453});}['plus'](_0xe980dd){if(!this['isValid'])return this;return _0x4ebdd6(this,_0x1cc8fe(this,_0x5f4ca3['fromDurationLike'](_0xe980dd)));}['minus'](_0x270591){if(!this['isValid'])return this;return _0x4ebdd6(this,_0x1cc8fe(this,_0x5f4ca3['fromDurationLike'](_0x270591)['negate']()));}startOf(_0x40c65b,{useLocaleWeeks:_0x598237=!0x1}={}){if(!this['isValid'])return this;const _0x5a72d0={},_0x3a0bde=_0x5f4ca3['normalizeUnit'](_0x40c65b);switch(_0x3a0bde){case'years':_0x5a72d0['month']=0x1;case'quarters':case'months':_0x5a72d0['day']=0x1;case'weeks':case'days':_0x5a72d0['hour']=0x0;case'hours':_0x5a72d0['minute']=0x0;case'minutes':_0x5a72d0['second']=0x0;case'seconds':_0x5a72d0['millisecond']=0x0;}if('weeks'===_0x3a0bde){if(_0x598237){const _0x293780=this['loc']['getStartOfWeek'](),{weekday:_0x18aaee}=this;_0x18aaee<_0x293780&&(_0x5a72d0['weekNumber']=this['weekNumber']-0x1),_0x5a72d0['weekday']=_0x293780;}else _0x5a72d0['weekday']=0x1;}return'quarters'===_0x3a0bde&&(_0x5a72d0['month']=0x3*(Math['ceil'](this['month']/0x3)-0x1)+0x1),this['set'](_0x5a72d0);}['endOf'](_0x507792,_0x46e335){return this['isValid']?this['plus']({[_0x507792]:0x1})['startOf'](_0x507792,_0x46e335)['minus'](0x1):this;}toFormat(_0x2810ea,_0x5c0bf6={}){return this['isValid']?_0x425882['create'](this['loc']['redefaultToEN'](_0x5c0bf6))['formatDateTimeFromString'](this,_0x2810ea):_0x298f99;}toLocaleString(_0x36dec9=_0x55a19e,_0x23038a={}){return this['isValid']?_0x425882['create'](this['loc']['clone'](_0x23038a),_0x36dec9)['formatDateTime'](this):_0x298f99;}toLocaleParts(_0x434910={}){return this['isValid']?_0x425882['create'](this['loc']['clone'](_0x434910),_0x434910)['formatDateTimeParts'](this):[];}toISO({format:_0x1ab1d4='extended',suppressSeconds:_0x14ce08=!0x1,suppressMilliseconds:_0x364132=!0x1,includeOffset:_0x24314b=!0x0,extendedZone:_0xa159e6=!0x1}={}){if(!this['isValid'])return null;const _0x1cfe6f='extended'===_0x1ab1d4;let _0x4749b4=_0x137de2(this,_0x1cfe6f);return _0x4749b4+='T',_0x4749b4+=_0x2a1310(this,_0x1cfe6f,_0x14ce08,_0x364132,_0x24314b,_0xa159e6),_0x4749b4;}toISODate({format:_0x120c91='extended'}={}){return this['isValid']?_0x137de2(this,'extended'===_0x120c91):null;}toISOWeekDate(){return _0x56abd8(this,'kkkk-\x27W\x27WW-c');}toISOTime({suppressMilliseconds:_0xfa2c62=!0x1,suppressSeconds:_0x2b8650=!0x1,includeOffset:_0x58fb58=!0x0,includePrefix:_0xbc8396=!0x1,extendedZone:_0x301293=!0x1,format:_0x16c2f7='extended'}={}){return this['isValid']?(_0xbc8396?'T':'')+_0x2a1310(this,'extended'===_0x16c2f7,_0x2b8650,_0xfa2c62,_0x58fb58,_0x301293):null;}toRFC2822(){return _0x56abd8(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}toHTTP(){return _0x56abd8(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}toSQLDate(){return this['isValid']?_0x137de2(this,!0x0):null;}toSQLTime({includeOffset:_0x1eab18=!0x0,includeZone:_0x1d91bf=!0x1,includeOffsetSpace:_0x293367=!0x0}={}){let _0x1c75df='HH:mm:ss.SSS';return(_0x1d91bf||_0x1eab18)&&(_0x293367&&(_0x1c75df+='\x20'),_0x1d91bf?_0x1c75df+='z':_0x1eab18&&(_0x1c75df+='ZZ')),_0x56abd8(this,_0x1c75df,!0x0);}toSQL(_0x4ec3a1={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x4ec3a1):null;}toString(){return this['isValid']?this['toISO']():_0x298f99;}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'DateTime\x20{\x20ts:\x20'+this['toISO']()+',\x20zone:\x20'+this['zone']['name']+',\x20locale:\x20'+this['locale']+'\x20}':'DateTime\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['valueOf'](){return this['toMillis']();}toMillis(){return this['isValid']?this['ts']:NaN;}toSeconds(){return this['isValid']?this['ts']/0x3e8:NaN;}toUnixInteger(){return this['isValid']?Math['floor'](this['ts']/0x3e8):NaN;}toJSON(){return this['toISO']();}toBSON(){return this['toJSDate']();}toObject(_0x1a69f9={}){if(!this['isValid'])return{};const _0x3f7d6b={...this['c']};return _0x1a69f9['includeConfig']&&(_0x3f7d6b['outputCalendar']=this['outputCalendar'],_0x3f7d6b['numberingSystem']=this['loc']['numberingSystem'],_0x3f7d6b['locale']=this['loc']['locale']),_0x3f7d6b;}toJSDate(){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0xabb0de,_0x3a0b86='milliseconds',_0x5e5159={}){if(!this['isValid']||!_0xabb0de['isValid'])return _0x5f4ca3['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x58d8f8={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x5e5159},_0x36e8e5=(_0x2b3825=_0x3a0b86,Array['isArray'](_0x2b3825)?_0x2b3825:[_0x2b3825])['map'](_0x5f4ca3['normalizeUnit']),_0x74bd5d=_0xabb0de['valueOf']()>this['valueOf'](),_0x8d4fbf=_0x51acfb(_0x74bd5d?this:_0xabb0de,_0x74bd5d?_0xabb0de:this,_0x36e8e5,_0x58d8f8);var _0x2b3825;return _0x74bd5d?_0x8d4fbf['negate']():_0x8d4fbf;}['diffNow'](_0x57ac05='milliseconds',_0x31a141={}){return this['diff'](DateTime['now'](),_0x57ac05,_0x31a141);}until(_0x8828df){return this['isValid']?_0x5522e5['fromDateTimes'](this,_0x8828df):this;}['hasSame'](_0x32de99,_0x1355fd,_0x927f5f){if(!this['isValid'])return!0x1;const _0x544704=_0x32de99['valueOf'](),_0x179e94=this['setZone'](_0x32de99['zone'],{'keepLocalTime':!0x0});return _0x179e94['startOf'](_0x1355fd,_0x927f5f)<=_0x544704&&_0x544704<=_0x179e94['endOf'](_0x1355fd,_0x927f5f);}['equals'](_0x50ec69){return this['isValid']&&_0x50ec69['isValid']&&this['valueOf']()===_0x50ec69['valueOf']()&&this['zone']['equals'](_0x50ec69['zone'])&&this['loc']['equals'](_0x50ec69['loc']);}toRelative(_0x135c87={}){if(!this['isValid'])return null;const _0x457cbd=_0x135c87['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x2ea63a=_0x135c87['padding']?this<_0x457cbd?-_0x135c87['padding']:_0x135c87['padding']:0x0;let _0x2952e7=['years','months','days','hours','minutes','seconds'],_0x3b776c=_0x135c87['unit'];return Array['isArray'](_0x135c87['unit'])&&(_0x2952e7=_0x135c87['unit'],_0x3b776c=void 0x0),_0x1f3a30(_0x457cbd,this['plus'](_0x2ea63a),{..._0x135c87,'numeric':'always','units':_0x2952e7,'unit':_0x3b776c});}toRelativeCalendar(_0x188044={}){return this['isValid']?_0x1f3a30(_0x188044['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x188044,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x9a0884){if(!_0x9a0884['every'](DateTime['isDateTime']))throw new _0x4b2347('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x3dbfa6(_0x9a0884,_0x3516fe=>_0x3516fe['valueOf'](),Math['min']);}static['max'](..._0x1c36ff){if(!_0x1c36ff['every'](DateTime['isDateTime']))throw new _0x4b2347('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x3dbfa6(_0x1c36ff,_0x443041=>_0x443041['valueOf'](),Math['max']);}static fromFormatExplain(_0x368d20,_0x3210f1,_0x3e2c3a={}){const {locale:_0x147cac=null,numberingSystem:_0x390e04=null}=_0x3e2c3a;return _0x23c96f(_0x54006a['fromOpts']({'locale':_0x147cac,'numberingSystem':_0x390e04,'defaultToEN':!0x0}),_0x368d20,_0x3210f1);}static fromStringExplain(_0x54d605,_0x562f0b,_0x91ffff={}){return DateTime['fromFormatExplain'](_0x54d605,_0x562f0b,_0x91ffff);}static buildFormatParser(_0x27fe07,_0x5ed6ea={}){const {locale:_0x1470e6=null,numberingSystem:_0x514ece=null}=_0x5ed6ea;return new _0x30088f(_0x54006a['fromOpts']({'locale':_0x1470e6,'numberingSystem':_0x514ece,'defaultToEN':!0x0}),_0x27fe07);}static fromFormatParser(_0x60c751,_0x352ef6,_0x445f2c={}){if(_0x425bbd(_0x60c751)||_0x425bbd(_0x352ef6))throw new _0x4b2347('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x4ae36f=null,numberingSystem:_0x40cd57=null}=_0x445f2c,_0x16fac6=_0x54006a['fromOpts']({'locale':_0x4ae36f,'numberingSystem':_0x40cd57,'defaultToEN':!0x0});if(!_0x16fac6['equals'](_0x352ef6['locale']))throw new _0x4b2347('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x16fac6+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x352ef6['locale']);const {result:_0x24e808,zone:_0x44d232,specificOffset:_0xb78131,invalidReason:_0x3911fb}=_0x352ef6['explainFromTokens'](_0x60c751);return _0x3911fb?DateTime['invalid'](_0x3911fb):_0x470a32(_0x24e808,_0x44d232,_0x445f2c,'format\x20'+_0x352ef6['format'],_0x60c751,_0xb78131);}static get['DATE_SHORT'](){return _0x55a19e;}static get['DATE_MED'](){return _0x19563f;}static get['DATE_MED_WITH_WEEKDAY'](){return _0xb82c0d;}static get['DATE_FULL'](){return _0x3ea4ca;}static get['DATE_HUGE'](){return _0x24b9e4;}static get['TIME_SIMPLE'](){return _0x5d7745;}static get['TIME_WITH_SECONDS'](){return _0x5503d6;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x210532;}static get['TIME_WITH_LONG_OFFSET'](){return _0xfca870;}static get['TIME_24_SIMPLE'](){return _0x31afb5;}static get['TIME_24_WITH_SECONDS'](){return _0x12af82;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x4bf6b5;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x1e73a3;}static get['DATETIME_SHORT'](){return _0x3794a6;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0xc0444;}static get['DATETIME_MED'](){return _0x3705c1;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x413862;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x507b74;}static get['DATETIME_FULL'](){return _0x5c9eea;}static get['DATETIME_FULL_WITH_SECONDS'](){return tr;}static get['DATETIME_HUGE'](){return _0x3f968d;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x16274c;}};function _0x5e1747(_0x20216e){if(_0x210871['isDateTime'](_0x20216e))return _0x20216e;if(_0x20216e&&_0x20216e['valueOf']&&_0x483e95(_0x20216e['valueOf']()))return _0x210871['fromJSDate'](_0x20216e);if(_0x20216e&&'object'==typeof _0x20216e)return _0x210871['fromObject'](_0x20216e);throw new _0x4b2347('Unknown\x20datetime\x20argument:\x20'+_0x20216e+',\x20of\x20type\x20'+typeof _0x20216e);}function _0x512ad0(_0x147637={},_0xbf4abc){if(void 0x0!==_0x147637['dateTimeFormat']&&'function'!=typeof _0x147637['dateTimeFormat'])throw new _0x491313['CKEditorError']('invalid-date-time-format');return _0x3160b7=>{const _0x40df03='string'==typeof _0x3160b7?_0x210871['fromISO'](_0x3160b7):_0x210871['fromJSDate'](_0x3160b7),_0x2b27a8=_0x210871['now'](),_0x314734=Math['floor'](_0x2b27a8['diff'](_0x40df03,'days')['days']);return _0x147637['dateTimeFormat']?_0x147637['dateTimeFormat'](_0x40df03['toJSDate'](),_0xbf4abc&&_0xbf4abc['t']?_0xbf4abc['t']:void 0x0):0x0===_0x314734?_0xbf4abc?_0xf6c22e(_0xbf4abc,'Today')+'\x20'+_0x40df03['toFormat']('hh:mma'):_0x40df03['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x314734?_0xbf4abc?_0xf6c22e(_0xbf4abc,'Yesterday')+'\x20'+_0x40df03['toFormat']('hh:mma'):_0x40df03['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x314734<0x7?_0xbf4abc?_0xf6c22e(_0xbf4abc,'Last')+'\x20'+_0xf6c22e(_0xbf4abc,_0x40df03['toFormat']('EEEE'))+'\x20'+_0x40df03['toFormat']('hh:mma'):_0x40df03['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x40df03['toFormat']('LL-dd-yyyy\x20hh:mma');};}function _0x5d9ca5(_0x287402,_0x95fb0a){const _0x5b05c3=_0x287402['mapper']['markerNameToElements'](_0x95fb0a['name']);if(!_0x5b05c3)return null;const _0x120f8e=(0x0,_0x491313['first'])(_0x5b05c3['values']());return _0x287402['view']['domConverter']['mapViewToDom'](_0x120f8e)||null;}function _0x323ccc(_0x847dda,_0x2c59ea){if(0x0===_0x2c59ea['length'])return null;const _0x4a7c52=[],_0x5a21bf=_0x847dda['view']['domConverter'];for(const _0x525175 of _0x2c59ea){const _0x1d19cc=_0x847dda['mapper']['markerNameToElements'](_0x525175['name']);if(!_0x1d19cc)continue;const _0x5384f0=Array['from'](_0x1d19cc)['map'](_0x2dfb22=>_0x5a21bf['mapViewToDom'](_0x2dfb22))['filter'](_0x25843f=>!!_0x25843f);_0x4a7c52['push'](..._0x5384f0);}if(0x0===_0x4a7c52['length'])return null;const _0x2ffcb8=[];for(const _0x5ab9fa of _0x4a7c52){const _0x40f338=_0x5ab9fa['getClientRects']()['item'](0x0);_0x40f338&&_0x2ffcb8['push']({'x':_0x40f338['x'],'y':_0x40f338['y'],'domElement':_0x5ab9fa});}return 0x0===_0x2ffcb8['length']?null:(_0x2ffcb8['sort']((_0x388d37,_0x53a7ba)=>_0x388d37['y']-_0x53a7ba['y']||_0x388d37['x']-_0x53a7ba['x']),_0x2ffcb8['map'](_0x505491=>_0x505491['domElement']));}function _0x3fc08f(_0x4cb503,{limit:_0x27d2cb,suffix:_0x36c175='...'}){const _0x324c1e=[];let _0xb5c660=0x0;const _0x75c4fe=_0x4cb503['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xf7230d=0x0;_0xf7230d<_0x75c4fe['length'];_0xf7230d++){let _0x2079e1=_0x75c4fe[_0xf7230d];const _0x408315=_0x15eb76(_0x2079e1);if(_0x2079e1['startsWith']('<')){if(_0xb5c660>=_0x27d2cb){const _0x12c387=_0x2079e1['match'](/[a-zA-Z]+/);if(!_0x12c387){_0x75c4fe[_0xf7230d]='';continue;}const _0xdd24de=_0x12c387[0x0];_0x2079e1['startsWith']('</')?(_0x324c1e['length']&&(_0x2079e1=''),_0x324c1e['pop']()):(_0x324c1e['push'](_0xdd24de),_0x2079e1='');}}else{if(_0xb5c660>=_0x27d2cb)_0x2079e1='';else{if(_0xb5c660+_0x408315['length']>=_0x27d2cb){let _0x2a9a94=_0x27d2cb-_0xb5c660;if('\x20'===_0x408315[_0x2a9a94-0x1])_0x2a9a94--;else{const _0x1180bc=_0x408315['slice'](_0x2a9a94)['indexOf']('\x20');-0x1!==_0x1180bc?_0x2a9a94+=_0x1180bc:_0x2a9a94=_0x2079e1['length'];}_0x2079e1=_0x408315['slice'](0x0,_0x2a9a94)['join']('')+_0x36c175,_0xb5c660=_0x27d2cb;}else _0xb5c660+=_0x408315['length'];}}_0x75c4fe[_0xf7230d]=_0x2079e1;}return _0x75c4fe['join']('\x0a')['replace'](/\n/g,'');}function _0x15eb76(_0x3bad74){const _0x5a01fb=[];for(let _0x23c0e3=0x0;_0x23c0e3<_0x3bad74['length'];_0x23c0e3++){const _0x4f0ef2=_0x3bad74['substring'](_0x23c0e3)['match'](/^&[a-z0-9#]+;/);if(_0x4f0ef2){const _0x19037d=_0x4f0ef2[0x0];_0x5a01fb['push'](_0x19037d),_0x23c0e3+=_0x19037d['length']-0x1;}else _0x5a01fb['push'](_0x3bad74[_0x23c0e3]);}return _0x5a01fb;}var _0x3e62a7=class extends _0x491313['View']{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x4bc6f7){super(_0x4bc6f7);const _0x2c1a71=this['bindTemplate'];this['set']('message',_0xf6c22e(_0x4bc6f7,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x4bc6f7,_0xf6c22e(_0x4bc6f7,'Yes'),_0x491313['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x4bc6f7,_0xf6c22e(_0x4bc6f7,'No'),_0x491313['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x2c1a71['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}_createButtonView(_0x419897,_0x27f1e4,_0x703b4f,_0x209786){const _0x40924c=new _0x491313['ButtonView'](_0x419897);return _0x40924c['label']=_0x27f1e4,_0x40924c['icon']=_0x703b4f,_0x40924c['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x209786}}),_0x40924c['on']('execute',()=>this['fire'](_0x209786)),_0x40924c;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x42cfa5=>{this['keystrokes']['listenTo'](_0x42cfa5['element']),this['focusTracker']['add'](_0x42cfa5['element']);}),this['keystrokes']['set']('esc',(_0x1ea15a,_0x5bd26d)=>{this['fire']('cancel'),_0x5bd26d();});}};function _0x63bf97(_0x2bb670){return class _0x4873a0 extends _0x2bb670{['showConfirm'](_0x51edee,_0x498140){return this['confirmView']=new _0x3e62a7(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x51edee,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x498140['appendChild'](this['confirmView']['element']),_0x498140['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x1bc352,_0x594146,_0xdd2e92)=>{_0xdd2e92||_0x498140['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x29ab5e=>this['confirmView']['on']('submit',_0x29ab5e));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function _0x3c2d11(_0x244d97){let _0x3b0611=0x0,_0x34d30e=0x0;for(const _0x195d40 of _0x3f28f4(_0x244d97))_0x3b0611=(_0x3b0611<<0x5)-_0x3b0611+_0x195d40,_0x3b0611&=_0x3b0611,[_0x3b0611,_0x34d30e]=[_0x34d30e,_0x3b0611];return _0x332e7d(_0x3b0611)+_0x332e7d(_0x34d30e);}function*_0x598618(_0x10efd3){null==_0x10efd3||null==_0x10efd3?yield 0x12b9b0a1:0x0===_0x10efd3||!0x1===_0x10efd3?yield 0x0:0x1===_0x10efd3||0x1==_0x10efd3?yield 0x1:Array['isArray'](_0x10efd3)?yield*function*(_0x54751f){for(const _0x172282 of _0x54751f)yield*_0x598618(_0x172282);}(_0x10efd3):'object'==typeof _0x10efd3?yield*_0x3f28f4(_0x10efd3):'string'==typeof _0x10efd3?yield*_0xa76658(_0x10efd3):'number'==typeof _0x10efd3&&(yield _0x10efd3);}function*_0x3f28f4(_0x486273){if(yield _0x40de3b('{'),_0x486273){const _0x1cd2a4=Object['keys'](_0x486273)['sort']();for(const _0x2ba1ee of _0x1cd2a4){yield*_0xa76658(_0x2ba1ee),yield _0x40de3b(':');const _0x23268a=_0x486273[_0x2ba1ee];yield*_0x598618(_0x23268a);}}yield _0x40de3b('}');}function*_0xa76658(_0x12e8aa){yield _0x40de3b('\x22');for(const _0x3085e1 of _0x12e8aa)yield _0x40de3b(_0x3085e1);yield _0x40de3b('\x22');}function _0x40de3b(_0x24690b){return _0x24690b['charCodeAt'](0x0);}function _0x332e7d(_0x203080){return(_0x203080*=Math['sign'](_0x203080))['toString'](0x24);}function tl(_0x45feb6){if('addAttribute'!=_0x45feb6['type']&&'removeAttribute'!=_0x45feb6['type']&&'changeAttribute'!=_0x45feb6['type'])return!0x1;try{return _0x45feb6['_validate'](),!0x1;}catch{return!0x0;}}const _0x20446a=['root','roots','initialData','context','toolbar','rootsAttributes'],_0x53869e=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function _0x2d0f4e(_0x5ad459,_0x3df5cd,_0x392e58,_0x5cebdb=[]){const _0x48307f='string'==typeof _0x5ad459?_0x392e58['get'](_0x5ad459)['constructor']:_0x5ad459['prototype']['constructor'];if(_0x3df5cd['has'](_0x48307f))return _0x3df5cd['get'](_0x48307f);_0x3df5cd['set'](_0x48307f,!0x0);const _0x2a50cc=[..._0x53869e,..._0x5cebdb]['map'](_0x934464=>{if(_0x392e58['has'](_0x934464))return _0x392e58['get'](_0x934464)['constructor'];})['filter'](_0x58d56c=>_0x58d56c);if(_0x48307f&&_0x2a50cc['includes'](_0x48307f))return _0x3df5cd['set'](_0x48307f,!0x1),!0x1;if(!_0x48307f['requires'])return _0x3df5cd['set'](_0x48307f,!0x0),!0x0;const _0x3b71b4=_0x48307f['requires']['every'](_0x542045=>_0x2d0f4e(_0x542045,_0x3df5cd,_0x392e58,_0x5cebdb));return _0x3df5cd['set'](_0x48307f,_0x3b71b4),_0x3b71b4;}function _0x2ebb0e(_0x3db6e2,_0x20ce19){const _0x12432d={};for(const _0x59c954 of _0x3db6e2['config']['names']())_0x20446a['includes'](_0x59c954)||(_0x12432d[_0x59c954]=_0x3db6e2['config']['get'](_0x59c954));const _0x49cd9d=_0x12432d['plugins']||[],_0x299418=_0x3db6e2['constructor']['builtinPlugins']||[],_0x4f7b68=_0x49cd9d['length']?_0x49cd9d:_0x299418,_0x129258=_0x12432d['extraPlugins']||[];delete _0x12432d['extraPlugins'];const _0x14a8b7=_0x12432d['removePlugins']||[];delete _0x12432d['removePlugins'];const _0x4e3c86=_0x3db6e2['_context']['config']['get']('plugins')||[],_0x20efd1=_0x4f7b68['concat'](_0x129258)['concat'](_0x4e3c86)['map'](_0x190ec3=>'string'==typeof _0x190ec3?_0x299418['find'](_0x19618d=>_0x19618d['pluginName']==_0x190ec3):_0x190ec3)['filter'](_0x17fe19=>!_0x14a8b7['includes'](_0x17fe19)&&!_0x14a8b7['includes'](_0x17fe19['pluginName'])),_0x339c12=Array['from'](new Set(_0x20efd1)),_0x18c390=new Map();return _0x12432d['plugins']=_0x339c12['filter'](_0x1a53aa=>_0x2d0f4e(_0x1a53aa,_0x18c390,_0x3db6e2['plugins'],_0x20ce19)),_0x12432d;}function _0x33d0b8(_0x50c592,_0x5576ca){const _0x447e1c=[];_0x50c592['document']['selection']['on']('change:range',()=>{const _0x440184=function(_0x4ce6fe,_0x594a66){const _0x211e95=[];for(const _0x3a84e4 of _0x4ce6fe['markers']){const _0x5460e7=_0x3a84e4['getRange']();(_0x5460e7['containsPosition'](_0x594a66)||_0x5460e7['start']['isEqual'](_0x594a66)||_0x5460e7['end']['isEqual'](_0x594a66))&&_0x211e95['push'](_0x3a84e4);}return _0x211e95;}(_0x50c592,_0x50c592['document']['selection']['focus']),_0x3c2c85=[],_0x21868a=[],_0x43ff3f=[];for(const _0x1bf127 of _0x447e1c)_0x440184['includes'](_0x1bf127)||_0x3c2c85['push'](_0x1bf127);for(const _0x14504e of _0x440184)_0x447e1c['includes'](_0x14504e)||_0x21868a['push'](_0x14504e),_0x43ff3f['push'](_0x14504e);(_0x3c2c85['length']||_0x21868a['length'])&&_0x5576ca({'left':_0x3c2c85,'entered':_0x21868a}),_0x447e1c['length']=0x0,_0x447e1c['push'](..._0x43ff3f);});}const _0x3866bd='Ctrl+Shift+E';function _0x3fd63c(_0x1c2666,_0x34da9f){const _0x453180=_0x1c2666['element'];_0x1c2666['keystrokes']['listenTo'](_0x453180);for(const _0x354eb1 of _0x34da9f)_0x13f170(_0x1c2666,_0x354eb1);_0x34da9f['on']('change',(_0x24bd25,_0x2ff036)=>{for(const _0x4987a4 of _0x2ff036['removed'])_0x6930be(_0x1c2666,_0x4987a4);for(const _0x3c1ca4 of Array['from'](_0x2ff036['added'])['reverse']())_0x13f170(_0x1c2666,_0x3c1ca4);}),_0x1c2666['keystrokes']['set']('enter',(_0x390ba7,_0x3adfb0)=>{_0x453180===_0x390ba7['target']&&(_0x1c2666['focusCycler']['focusFirst'](),_0x3adfb0());},{'filter':_0x475e7f=>_0x475e7f['target']===_0x453180}),_0x1c2666['keystrokes']['set']('esc',(_0x516058,_0x53f73e)=>{_0x453180!==_0x516058['target']?_0x1c2666['focus']():_0x1c2666['fire']('escape'),_0x53f73e();}),_0x1c2666['keystrokes']['set']('arrowdown',(_0x5a22d4,_0x49085f)=>{_0x453180===_0x5a22d4['target']&&(_0x1c2666['fire']('arrowdown'),_0x49085f());}),_0x1c2666['keystrokes']['set']('arrowup',(_0x4b30d2,_0x2525bb)=>{_0x453180===_0x4b30d2['target']&&(_0x1c2666['fire']('arrowup'),_0x2525bb());});}function _0x13f170(_0xf51810,_0x3b34fd){_0x3b34fd['isRendered']&&(_0xf51810['focusTracker']['add'](_0x3b34fd['element']),_0xf51810['keystrokes']['listenTo'](_0x3b34fd['element']),(0x0,_0x491313['isViewWithFocusCycler'])(_0x3b34fd)&&function(_0x250d18,_0x47512e){const _0x52ae3c=_0x250d18['actions'],_0x3090ab=_0x47512e['actions'];for(const _0xe8feac of Object['keys'](_0x52ae3c))if(_0xe8feac in _0x3090ab&&_0x52ae3c[_0xe8feac]!==_0x3090ab[_0xe8feac])return!0x1;return!0x0;}(_0xf51810['focusCycler'],_0x3b34fd['focusCycler'])&&_0xf51810['focusCycler']['chain'](_0x3b34fd['focusCycler']));}function _0x6930be(_0x4b8d82,_0x3b51cc){_0x4b8d82['focusTracker']['remove'](_0x3b51cc['element']),_0x4b8d82['keystrokes']['stopListening'](_0x3b51cc['element']),(0x0,_0x491313['isViewWithFocusCycler'])(_0x3b51cc)&&_0x4b8d82['focusCycler']['unchain'](_0x3b51cc['focusCycler']);}var _0x455e51=class{['diff'](_0x3bfaaf,_0x1f9a68,_0x3cd48f={}){let _0x27d697;'function'==typeof _0x3cd48f?(_0x27d697=_0x3cd48f,_0x3cd48f={}):'callback'in _0x3cd48f&&(_0x27d697=_0x3cd48f['callback']);const _0x12dc8d=this['castInput'](_0x3bfaaf,_0x3cd48f),_0x5e38fa=this['castInput'](_0x1f9a68,_0x3cd48f),_0xb33840=this['removeEmpty'](this['tokenize'](_0x12dc8d,_0x3cd48f)),_0x162807=this['removeEmpty'](this['tokenize'](_0x5e38fa,_0x3cd48f));return this['diffWithOptionsObj'](_0xb33840,_0x162807,_0x3cd48f,_0x27d697);}diffWithOptionsObj(_0x3893fc,_0x3bbef0,_0x34fdd8,_0x354afc){var _0x134649;const _0x1052ae=_0x379910=>(_0x379910=this['postProcess'](_0x379910,_0x34fdd8),_0x354afc?void setTimeout(function(){_0x354afc(_0x379910);},0x0):_0x379910),_0x85b1f8=_0x3bbef0['length'],_0x2d19cf=_0x3893fc['length'];let _0x5004d8=0x1,_0x4cd51a=_0x85b1f8+_0x2d19cf;null!=_0x34fdd8['maxEditLength']&&(_0x4cd51a=Math['min'](_0x4cd51a,_0x34fdd8['maxEditLength']));const _0x123f7b=null!==(_0x134649=_0x34fdd8['timeout'])&&void 0x0!==_0x134649?_0x134649:0x1/0x0,_0x4e2d3e=Date['now']()+_0x123f7b,_0x2cebaf=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x451f72=this['extractCommon'](_0x2cebaf[0x0],_0x3bbef0,_0x3893fc,0x0,_0x34fdd8);if(_0x2cebaf[0x0]['oldPos']+0x1>=_0x2d19cf&&_0x451f72+0x1>=_0x85b1f8)return _0x1052ae(this['buildValues'](_0x2cebaf[0x0]['lastComponent'],_0x3bbef0,_0x3893fc));let _0x4e4f11=-0x1/0x0,_0x1a75af=0x1/0x0;const _0x2284c9=()=>{for(let _0x5ea55f=Math['max'](_0x4e4f11,-_0x5004d8);_0x5ea55f<=Math['min'](_0x1a75af,_0x5004d8);_0x5ea55f+=0x2){let _0x2e9ad0;const _0x434829=_0x2cebaf[_0x5ea55f-0x1],_0x3239e1=_0x2cebaf[_0x5ea55f+0x1];_0x434829&&(_0x2cebaf[_0x5ea55f-0x1]=void 0x0);let _0x3ff534=!0x1;if(_0x3239e1){const _0x9e36a2=_0x3239e1['oldPos']-_0x5ea55f;_0x3ff534=_0x3239e1&&0x0<=_0x9e36a2&&_0x9e36a2<_0x85b1f8;}const _0x4ac790=_0x434829&&_0x434829['oldPos']+0x1<_0x2d19cf;if(_0x3ff534||_0x4ac790){if(_0x2e9ad0=!_0x4ac790||_0x3ff534&&_0x434829['oldPos']<_0x3239e1['oldPos']?this['addToPath'](_0x3239e1,!0x0,!0x1,0x0,_0x34fdd8):this['addToPath'](_0x434829,!0x1,!0x0,0x1,_0x34fdd8),_0x451f72=this['extractCommon'](_0x2e9ad0,_0x3bbef0,_0x3893fc,_0x5ea55f,_0x34fdd8),_0x2e9ad0['oldPos']+0x1>=_0x2d19cf&&_0x451f72+0x1>=_0x85b1f8)return _0x1052ae(this['buildValues'](_0x2e9ad0['lastComponent'],_0x3bbef0,_0x3893fc))||!0x0;_0x2cebaf[_0x5ea55f]=_0x2e9ad0,_0x2e9ad0['oldPos']+0x1>=_0x2d19cf&&(_0x1a75af=Math['min'](_0x1a75af,_0x5ea55f-0x1)),_0x451f72+0x1>=_0x85b1f8&&(_0x4e4f11=Math['max'](_0x4e4f11,_0x5ea55f+0x1));}else _0x2cebaf[_0x5ea55f]=void 0x0;}_0x5004d8++;};if(_0x354afc)!function _0x8805d8(){setTimeout(function(){if(_0x5004d8>_0x4cd51a||Date['now']()>_0x4e2d3e)return _0x354afc(void 0x0);_0x2284c9()||_0x8805d8();},0x0);}();else for(;_0x5004d8<=_0x4cd51a&&Date['now']()<=_0x4e2d3e;){const _0x3145b2=_0x2284c9();if(_0x3145b2)return _0x3145b2;}}addToPath(_0xce7c05,_0x9b698b,_0x155d01,_0x201a21,_0x962bc1){const _0x2c179e=_0xce7c05['lastComponent'];return _0x2c179e&&!_0x962bc1['oneChangePerToken']&&_0x2c179e['added']===_0x9b698b&&_0x2c179e['removed']===_0x155d01?{'oldPos':_0xce7c05['oldPos']+_0x201a21,'lastComponent':{'count':_0x2c179e['count']+0x1,'added':_0x9b698b,'removed':_0x155d01,'previousComponent':_0x2c179e['previousComponent']}}:{'oldPos':_0xce7c05['oldPos']+_0x201a21,'lastComponent':{'count':0x1,'added':_0x9b698b,'removed':_0x155d01,'previousComponent':_0x2c179e}};}extractCommon(_0x208d4e,_0x5cfa3f,_0x51af55,_0x19068,_0x55d2d8){const _0x2aa59a=_0x5cfa3f['length'],_0x1b4701=_0x51af55['length'];let _0xa06a02=_0x208d4e['oldPos'],_0x46b4f0=_0xa06a02-_0x19068,_0x5afd66=0x0;for(;_0x46b4f0+0x1<_0x2aa59a&&_0xa06a02+0x1<_0x1b4701&&this['equals'](_0x51af55[_0xa06a02+0x1],_0x5cfa3f[_0x46b4f0+0x1],_0x55d2d8);)_0x46b4f0++,_0xa06a02++,_0x5afd66++,_0x55d2d8['oneChangePerToken']&&(_0x208d4e['lastComponent']={'count':0x1,'previousComponent':_0x208d4e['lastComponent'],'added':!0x1,'removed':!0x1});return _0x5afd66&&!_0x55d2d8['oneChangePerToken']&&(_0x208d4e['lastComponent']={'count':_0x5afd66,'previousComponent':_0x208d4e['lastComponent'],'added':!0x1,'removed':!0x1}),_0x208d4e['oldPos']=_0xa06a02,_0x46b4f0;}['equals'](_0x3ce099,_0x474f8e,_0x561bb8){return _0x561bb8['comparator']?_0x561bb8['comparator'](_0x3ce099,_0x474f8e):_0x3ce099===_0x474f8e||!!_0x561bb8['ignoreCase']&&_0x3ce099['toLowerCase']()===_0x474f8e['toLowerCase']();}removeEmpty(_0x53fead){const _0x133cdb=[];for(let _0x4afe8b=0x0;_0x4afe8b<_0x53fead['length'];_0x4afe8b++)_0x53fead[_0x4afe8b]&&_0x133cdb['push'](_0x53fead[_0x4afe8b]);return _0x133cdb;}castInput(_0x4d44e5,_0x2a70fa){return _0x4d44e5;}tokenize(_0x32e1f6,_0x1ce580){return Array['from'](_0x32e1f6);}['join'](_0x17a80b){return _0x17a80b['join']('');}postProcess(_0x30e420,_0x2a68c4){return _0x30e420;}get useLongestToken(){return!0x1;}['buildValues'](_0x8068d3,_0xacafaa,_0x52e436){const _0xdb2141=[];let _0x42746a;for(;_0x8068d3;)_0xdb2141['push'](_0x8068d3),_0x42746a=_0x8068d3['previousComponent'],delete _0x8068d3['previousComponent'],_0x8068d3=_0x42746a;_0xdb2141['reverse']();const _0x714c1f=_0xdb2141['length'];let _0x363655=0x0,_0x441715=0x0,_0x426a32=0x0;for(;_0x363655<_0x714c1f;_0x363655++){const _0x15e0ad=_0xdb2141[_0x363655];if(_0x15e0ad['removed'])_0x15e0ad['value']=this['join'](_0x52e436['slice'](_0x426a32,_0x426a32+_0x15e0ad['count'])),_0x426a32+=_0x15e0ad['count'];else{if(!_0x15e0ad['added']&&this['useLongestToken']){let _0x5cc567=_0xacafaa['slice'](_0x441715,_0x441715+_0x15e0ad['count']);_0x5cc567=_0x5cc567['map'](function(_0x14f1d7,_0x5d7650){const _0x52e2d5=_0x52e436[_0x426a32+_0x5d7650];return _0x52e2d5['length']>_0x14f1d7['length']?_0x52e2d5:_0x14f1d7;}),_0x15e0ad['value']=this['join'](_0x5cc567);}else _0x15e0ad['value']=this['join'](_0xacafaa['slice'](_0x441715,_0x441715+_0x15e0ad['count']));_0x441715+=_0x15e0ad['count'],_0x15e0ad['added']||(_0x426a32+=_0x15e0ad['count']);}}return _0xdb2141;}};function _0x3c39fd(_0x5d04cf,_0x40065e){let _0x589e26;for(_0x589e26=0x0;_0x589e26<_0x5d04cf['length']&&_0x589e26<_0x40065e['length'];_0x589e26++)if(_0x5d04cf[_0x589e26]!=_0x40065e[_0x589e26])return _0x5d04cf['slice'](0x0,_0x589e26);return _0x5d04cf['slice'](0x0,_0x589e26);}function _0x51f250(_0x481d28,_0x49679b){let _0x426fb2;if(!_0x481d28||!_0x49679b||_0x481d28[_0x481d28['length']-0x1]!=_0x49679b[_0x49679b['length']-0x1])return'';for(_0x426fb2=0x0;_0x426fb2<_0x481d28['length']&&_0x426fb2<_0x49679b['length'];_0x426fb2++)if(_0x481d28[_0x481d28['length']-(_0x426fb2+0x1)]!=_0x49679b[_0x49679b['length']-(_0x426fb2+0x1)])return _0x481d28['slice'](-_0x426fb2);return _0x481d28['slice'](-_0x426fb2);}function _0x1074fe(_0x2ba49f,_0x134eb1,_0x302f12){if(_0x2ba49f['slice'](0x0,_0x134eb1['length'])!=_0x134eb1)throw Error('string\x20'+JSON['stringify'](_0x2ba49f)+'\x20doesn\x27t\x20start\x20with\x20prefix\x20'+JSON['stringify'](_0x134eb1)+';\x20this\x20is\x20a\x20bug');return _0x302f12+_0x2ba49f['slice'](_0x134eb1['length']);}function _0x444e4d(_0x1e0764,_0x2bd67d,_0x35b691){if(!_0x2bd67d)return _0x1e0764+_0x35b691;if(_0x1e0764['slice'](-_0x2bd67d['length'])!=_0x2bd67d)throw Error('string\x20'+JSON['stringify'](_0x1e0764)+'\x20doesn\x27t\x20end\x20with\x20suffix\x20'+JSON['stringify'](_0x2bd67d)+';\x20this\x20is\x20a\x20bug');return _0x1e0764['slice'](0x0,-_0x2bd67d['length'])+_0x35b691;}function _0x3ad2a0(_0x18922f,_0x57d407){return _0x1074fe(_0x18922f,_0x57d407,'');}function _0x53a6eb(_0x186973,_0x273a42){return _0x444e4d(_0x186973,_0x273a42,'');}function _0x4808d2(_0x40f068,_0x14a6ba){return _0x14a6ba['slice'](0x0,function(_0x2d238e,_0x4bc45c){let _0x34855d=0x0;_0x2d238e['length']>_0x4bc45c['length']&&(_0x34855d=_0x2d238e['length']-_0x4bc45c['length']);let _0x4b7d7e=_0x4bc45c['length'];_0x2d238e['length']<_0x4bc45c['length']&&(_0x4b7d7e=_0x2d238e['length']);const _0x1028be=Array(_0x4b7d7e);let _0x22bf74=0x0;_0x1028be[0x0]=0x0;for(let _0x472984=0x1;_0x472984<_0x4b7d7e;_0x472984++){for(_0x4bc45c[_0x472984]==_0x4bc45c[_0x22bf74]?_0x1028be[_0x472984]=_0x1028be[_0x22bf74]:_0x1028be[_0x472984]=_0x22bf74;_0x22bf74>0x0&&_0x4bc45c[_0x472984]!=_0x4bc45c[_0x22bf74];)_0x22bf74=_0x1028be[_0x22bf74];_0x4bc45c[_0x472984]==_0x4bc45c[_0x22bf74]&&_0x22bf74++;}_0x22bf74=0x0;for(let _0x2cbeeb=_0x34855d;_0x2cbeeb<_0x2d238e['length'];_0x2cbeeb++){for(;_0x22bf74>0x0&&_0x2d238e[_0x2cbeeb]!=_0x4bc45c[_0x22bf74];)_0x22bf74=_0x1028be[_0x22bf74];_0x2d238e[_0x2cbeeb]==_0x4bc45c[_0x22bf74]&&_0x22bf74++;}return _0x22bf74;}(_0x40f068,_0x14a6ba));}function _0x38add2(_0x33c311){let _0x2e156c;for(_0x2e156c=_0x33c311['length']-0x1;_0x2e156c>=0x0&&_0x33c311[_0x2e156c]['match'](/\s/);_0x2e156c--);return _0x33c311['substring'](_0x2e156c+0x1);}function _0x26abaf(_0x5373c0){const _0x5495a6=_0x5373c0['match'](/^\s*/);return _0x5495a6?_0x5495a6[0x0]:'';}new class extends _0x455e51{}();const _0x45a62c='a-zA-Z0-9_\x5cu{AD}\x5cu{C0}-\x5cu{D6}\x5cu{D8}-\x5cu{F6}\x5cu{F8}-\x5cu{2C6}\x5cu{2C8}-\x5cu{2D7}\x5cu{2DE}-\x5cu{2FF}\x5cu{1E00}-\x5cu{1EFF}',_0x1a7f0e=new RegExp('['+_0x45a62c+']+|\x5cs+|[^'+_0x45a62c+']','ug');function _0x5ec2f1(_0x3514cf,_0x5093fc,_0x239474,_0x13fbd3){if(_0x5093fc&&_0x239474){const _0x45ece5=_0x26abaf(_0x5093fc['value']),_0x3f484f=_0x38add2(_0x5093fc['value']),_0x1c3dd1=_0x26abaf(_0x239474['value']),_0x234f30=_0x38add2(_0x239474['value']);if(_0x3514cf){const _0x4eb479=_0x3c39fd(_0x45ece5,_0x1c3dd1);_0x3514cf['value']=_0x444e4d(_0x3514cf['value'],_0x1c3dd1,_0x4eb479),_0x5093fc['value']=_0x3ad2a0(_0x5093fc['value'],_0x4eb479),_0x239474['value']=_0x3ad2a0(_0x239474['value'],_0x4eb479);}if(_0x13fbd3){const _0x5507d0=_0x51f250(_0x3f484f,_0x234f30);_0x13fbd3['value']=_0x1074fe(_0x13fbd3['value'],_0x234f30,_0x5507d0),_0x5093fc['value']=_0x53a6eb(_0x5093fc['value'],_0x5507d0),_0x239474['value']=_0x53a6eb(_0x239474['value'],_0x5507d0);}}else{if(_0x239474){if(_0x3514cf){const _0x56a131=_0x26abaf(_0x239474['value']);_0x239474['value']=_0x239474['value']['substring'](_0x56a131['length']);}if(_0x13fbd3){const _0x48ee70=_0x26abaf(_0x13fbd3['value']);_0x13fbd3['value']=_0x13fbd3['value']['substring'](_0x48ee70['length']);}}else{if(_0x3514cf&&_0x13fbd3){const _0x3b1b76=_0x26abaf(_0x13fbd3['value']),_0x1d7897=_0x26abaf(_0x5093fc['value']),_0x378591=_0x38add2(_0x5093fc['value']),_0xd27c4=_0x3c39fd(_0x3b1b76,_0x1d7897);_0x5093fc['value']=_0x3ad2a0(_0x5093fc['value'],_0xd27c4);const _0x3f2064=_0x51f250(_0x3ad2a0(_0x3b1b76,_0xd27c4),_0x378591);_0x5093fc['value']=_0x53a6eb(_0x5093fc['value'],_0x3f2064),_0x13fbd3['value']=_0x1074fe(_0x13fbd3['value'],_0x3b1b76,_0x3f2064),_0x3514cf['value']=_0x444e4d(_0x3514cf['value'],_0x3b1b76,_0x3b1b76['slice'](0x0,_0x3b1b76['length']-_0x3f2064['length']));}else{if(_0x13fbd3){const _0x46ee05=_0x26abaf(_0x13fbd3['value']),_0x8cab2e=_0x4808d2(_0x38add2(_0x5093fc['value']),_0x46ee05);_0x5093fc['value']=_0x53a6eb(_0x5093fc['value'],_0x8cab2e);}else{if(_0x3514cf){const _0x49c14d=_0x4808d2(_0x38add2(_0x3514cf['value']),_0x26abaf(_0x5093fc['value']));_0x5093fc['value']=_0x3ad2a0(_0x5093fc['value'],_0x49c14d);}}}}}}new class extends _0x455e51{['equals'](_0x5d8042,_0x26188e,_0x1eec21){return _0x1eec21['ignoreCase']&&(_0x5d8042=_0x5d8042['toLowerCase'](),_0x26188e=_0x26188e['toLowerCase']()),_0x5d8042['trim']()===_0x26188e['trim']();}tokenize(_0x5a8d4e,_0x3ef26c={}){let _0x176d7c;if(_0x3ef26c['intlSegmenter']){const _0x579805=_0x3ef26c['intlSegmenter'];if('word'!=_0x579805['resolvedOptions']()['granularity'])throw new Error('The\x20segmenter\x20passed\x20must\x20have\x20a\x20granularity\x20of\x20\x22word\x22');_0x176d7c=[];for(const _0x1a1cca of Array['from'](_0x579805['segment'](_0x5a8d4e))){const _0x3cfab9=_0x1a1cca['segment'];_0x176d7c['length']&&/\s/['test'](_0x176d7c[_0x176d7c['length']-0x1])&&/\s/['test'](_0x3cfab9)?_0x176d7c[_0x176d7c['length']-0x1]+=_0x3cfab9:_0x176d7c['push'](_0x3cfab9);}}else _0x176d7c=_0x5a8d4e['match'](_0x1a7f0e)||[];const _0x42218b=[];let _0x2fc678=null;return _0x176d7c['forEach'](_0x17596a=>{/\s/['test'](_0x17596a)?null==_0x2fc678?_0x42218b['push'](_0x17596a):_0x42218b['push'](_0x42218b['pop']()+_0x17596a):null!=_0x2fc678&&/\s/['test'](_0x2fc678)?_0x42218b[_0x42218b['length']-0x1]==_0x2fc678?_0x42218b['push'](_0x42218b['pop']()+_0x17596a):_0x42218b['push'](_0x2fc678+_0x17596a):_0x42218b['push'](_0x17596a),_0x2fc678=_0x17596a;}),_0x42218b;}['join'](_0x5afd3c){return _0x5afd3c['map']((_0x1efe7e,_0x183135)=>0x0==_0x183135?_0x1efe7e:_0x1efe7e['replace'](/^\s+/,''))['join']('');}postProcess(_0x5823f0,_0x26938f){if(!_0x5823f0||_0x26938f['oneChangePerToken'])return _0x5823f0;let _0x38543c=null,_0x208053=null,_0x59c341=null;return _0x5823f0['forEach'](_0x335204=>{_0x335204['added']?_0x208053=_0x335204:_0x335204['removed']?_0x59c341=_0x335204:((_0x208053||_0x59c341)&&_0x5ec2f1(_0x38543c,_0x59c341,_0x208053,_0x335204),_0x38543c=_0x335204,_0x208053=null,_0x59c341=null);}),(_0x208053||_0x59c341)&&_0x5ec2f1(_0x38543c,_0x59c341,_0x208053,null),_0x5823f0;}}(),new class extends _0x455e51{tokenize(_0x1354af){const _0x339856=new RegExp('(\x5cr?\x5cn)|['+_0x45a62c+']+|[^\x5cS\x5cn\x5cr]+|[^'+_0x45a62c+']','ug');return _0x1354af['match'](_0x339856)||[];}}();function _0x3f6c3e(_0x9d3d3d,_0x3d2ae0){_0x3d2ae0['stripTrailingCr']&&(_0x9d3d3d=_0x9d3d3d['replace'](/\r\n/g,'\x0a'));const _0x16fa55=[],_0x1a64e7=_0x9d3d3d['split'](/(\n|\r\n)/);_0x1a64e7[_0x1a64e7['length']-0x1]||_0x1a64e7['pop']();for(let _0x272e90=0x0;_0x272e90<_0x1a64e7['length'];_0x272e90++){const _0x167d03=_0x1a64e7[_0x272e90];_0x272e90%0x2&&!_0x3d2ae0['newlineIsToken']?_0x16fa55[_0x16fa55['length']-0x1]+=_0x167d03:_0x16fa55['push'](_0x167d03);}return _0x16fa55;}function _0x3a6839(_0x48b66e){return'.'==_0x48b66e||'!'==_0x48b66e||'?'==_0x48b66e;}new class extends _0x455e51{constructor(){super(...arguments),this['tokenize']=_0x3f6c3e;}['equals'](_0x1204f0,_0x58b552,_0x2e77ad){return _0x2e77ad['ignoreWhitespace']?(_0x2e77ad['newlineIsToken']&&_0x1204f0['includes']('\x0a')||(_0x1204f0=_0x1204f0['trim']()),_0x2e77ad['newlineIsToken']&&_0x58b552['includes']('\x0a')||(_0x58b552=_0x58b552['trim']())):_0x2e77ad['ignoreNewlineAtEof']&&!_0x2e77ad['newlineIsToken']&&(_0x1204f0['endsWith']('\x0a')&&(_0x1204f0=_0x1204f0['slice'](0x0,-0x1)),_0x58b552['endsWith']('\x0a')&&(_0x58b552=_0x58b552['slice'](0x0,-0x1))),super['equals'](_0x1204f0,_0x58b552,_0x2e77ad);}}(),new class extends _0x455e51{tokenize(_0x2311a5){var _0x3340e6;const _0x39fb2f=[];let _0x4de858=0x0;for(let _0x4a744e=0x0;_0x4a744e<_0x2311a5['length'];_0x4a744e++){if(_0x4a744e==_0x2311a5['length']-0x1){_0x39fb2f['push'](_0x2311a5['slice'](_0x4de858));break;}if(_0x3a6839(_0x2311a5[_0x4a744e])&&_0x2311a5[_0x4a744e+0x1]['match'](/\s/)){for(_0x39fb2f['push'](_0x2311a5['slice'](_0x4de858,_0x4a744e+0x1)),_0x4a744e=_0x4de858=_0x4a744e+0x1;null===(_0x3340e6=_0x2311a5[_0x4a744e+0x1])||void 0x0===_0x3340e6?void 0x0:_0x3340e6['match'](/\s/);)_0x4a744e++;_0x39fb2f['push'](_0x2311a5['slice'](_0x4de858,_0x4a744e+0x1)),_0x4de858=_0x4a744e+0x1;}}return _0x39fb2f;}}(),new class extends _0x455e51{tokenize(_0x39af40){return _0x39af40['split'](/([{}:;,]|\s+)/);}}();function _0x5ea7ad(_0x4c3985,_0x5846b4,_0x2d3154,_0x419215,_0x5e7405){let _0xf71e33,_0x30c55d;for(_0x5846b4=_0x5846b4||[],_0x2d3154=_0x2d3154||[],_0x419215&&(_0x4c3985=_0x419215(void 0x0===_0x5e7405?'':_0x5e7405,_0x4c3985)),_0xf71e33=0x0;_0xf71e33<_0x5846b4['length'];_0xf71e33+=0x1)if(_0x5846b4[_0xf71e33]===_0x4c3985)return _0x2d3154[_0xf71e33];if('[object\x20Array]'===Object['prototype']['toString']['call'](_0x4c3985)){for(_0x5846b4['push'](_0x4c3985),_0x30c55d=new Array(_0x4c3985['length']),_0x2d3154['push'](_0x30c55d),_0xf71e33=0x0;_0xf71e33<_0x4c3985['length'];_0xf71e33+=0x1)_0x30c55d[_0xf71e33]=_0x5ea7ad(_0x4c3985[_0xf71e33],_0x5846b4,_0x2d3154,_0x419215,String(_0xf71e33));return _0x5846b4['pop'](),_0x2d3154['pop'](),_0x30c55d;}if(_0x4c3985&&_0x4c3985['toJSON']&&(_0x4c3985=_0x4c3985['toJSON']()),'object'==typeof _0x4c3985&&null!==_0x4c3985){_0x5846b4['push'](_0x4c3985),_0x30c55d={},_0x2d3154['push'](_0x30c55d);const _0x4c799a=[];let _0x1b10b5;for(_0x1b10b5 in _0x4c3985)Object['prototype']['hasOwnProperty']['call'](_0x4c3985,_0x1b10b5)&&_0x4c799a['push'](_0x1b10b5);for(_0x4c799a['sort'](),_0xf71e33=0x0;_0xf71e33<_0x4c799a['length'];_0xf71e33+=0x1)_0x1b10b5=_0x4c799a[_0xf71e33],_0x30c55d[_0x1b10b5]=_0x5ea7ad(_0x4c3985[_0x1b10b5],_0x5846b4,_0x2d3154,_0x419215,_0x1b10b5);_0x5846b4['pop'](),_0x2d3154['pop']();}else _0x30c55d=_0x4c3985;return _0x30c55d;}new class extends _0x455e51{constructor(){super(...arguments),this['tokenize']=_0x3f6c3e;}get useLongestToken(){return!0x0;}castInput(_0x54ff9d,_0x2dfa7d){const {undefinedReplacement:_0x22ebb9,stringifyReplacer:_0x25019c=(_0x568a61,_0x52efec)=>void 0x0===_0x52efec?_0x22ebb9:_0x52efec}=_0x2dfa7d;return'string'==typeof _0x54ff9d?_0x54ff9d:JSON['stringify'](_0x5ea7ad(_0x54ff9d,null,null,_0x25019c),null,'\x20\x20');}['equals'](_0xe9500b,_0x1f2da8,_0x4e1803){return super['equals'](_0xe9500b['replace'](/,([\r\n])/g,'$1'),_0x1f2da8['replace'](/,([\r\n])/g,'$1'),_0x4e1803);}}();const _0xdbe8c3=new class extends _0x455e51{tokenize(_0x28b5ba){return _0x28b5ba['slice']();}['join'](_0x4b812b){return _0x4b812b;}removeEmpty(_0x34efbc){return _0x34efbc;}}();function _0xfab8f(_0x3b0aef,_0x577ded,_0x2178b2){return _0xdbe8c3['diff'](_0x3b0aef,_0x577ded,_0x2178b2);}const _0x27eb29='$elementId',_0x1a9875='data-id';var _0x5b2c28=class extends _0x491313['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x491313['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x914717,_0xb69bae)=>{_0xb69bae['on']('ready',()=>{this['_integrateEditor'](_0xb69bae);});});}get editor(){if(this['context']instanceof _0x491313['Editor'])return this['context'];{const _0x4071ec=this['context']['editors']['first'];if(!_0x4071ec)throw new _0x491313['CKEditorError']('documentcompare-no-editor',this);return _0x4071ec;}}getDiff(_0x1a896e,_0x3c09e6,_0x4570a7={'anchor':'main','markDeletions':!0x1}){const _0x395413=_0x4570a7['targetEditor']||this['editor'],_0x3e085a=_0x4570a7['anchor']??'main';let _0xba051,_0x3d00fa;if('string'==typeof _0x3e085a){const _0x3fb600=_0x395413['model']['document']['getRoot'](_0x3e085a);if(!_0x3fb600)throw new _0x491313['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x3e085a});_0xba051=_0x3fb600,_0x3d00fa=_0x395413['model']['createPositionAt'](_0x3fb600,0x0);}else _0xba051=_0x3e085a['clone'](),_0x3d00fa=_0x3e085a['clone']();return new _0x3217f0({'editor':_0x395413,'before':_0x395413['data']['parse'](_0x1a896e,_0xba051),'after':_0x395413['data']['parse'](_0x3c09e6,_0xba051),'options':{'anchor':_0x3d00fa,'markDeletions':_0x4570a7['markDeletions']}});}isMarkedRemoveOperation(_0xb1715){return'marker'==_0xb1715['type']&&_0xb1715['name']['startsWith']('$markedRemove');}applyOperations(_0x502376,_0x3efef6){const _0x1d19dd=_0x502376['model'];for(const _0x332dbd of _0x3efef6)tl(_0x332dbd)||(_0x332dbd instanceof _0x491313['MoveOperation']?_0x502376['_addOperationForAffectedMarkers']('move',_0x491313['ModelRange']['_createFromPositionAndShift'](_0x332dbd['sourcePosition'],_0x332dbd['howMany'])):_0x332dbd instanceof _0x491313['MergeOperation']?_0x502376['_addOperationForAffectedMarkers']('merge',_0x332dbd['deletionPosition']):_0x332dbd instanceof _0x491313['MarkerOperation']&&this['_fixMarkerOperationOldRange'](_0x1d19dd,_0x332dbd),_0x332dbd['baseVersion']=_0x1d19dd['document']['version'],_0x502376['batch']['addOperation'](_0x332dbd),_0x1d19dd['applyOperation'](_0x332dbd));}_fixMarkerOperationOldRange(_0x254526,_0x2f1c36){const _0x31eb49=_0x254526['markers']['get'](_0x2f1c36['name']);_0x31eb49&&(_0x2f1c36['oldRange']=_0x31eb49['getRange']());}_integrateEditor(_0x2a7411){_0x2a7411['conversion']['for']('upcast')['add'](_0x483d26=>{_0x483d26['on']('element',(_0x10300f,_0x37ba43,_0x40f949)=>{if(_0x37ba43['modelRange']&&_0x40f949['consumable']['consume'](_0x37ba43['viewItem'],{'attributes':'data-id'}))for(const _0x4b49df of _0x37ba43['modelRange']['getItems']({'shallow':!0x0})){if(_0x4b49df['is']('$textProxy'))continue;const _0x3b0d7c=_0x37ba43['viewItem']['getAttribute'](_0x1a9875);_0x3b0d7c&&_0x40f949['writer']['setAttribute'](_0x27eb29,_0x3b0d7c,_0x4b49df);}},{'priority':'low'});}),_0x2a7411['model']['schema']['addAttributeCheck'](()=>!0x0,_0x27eb29);}},_0x3217f0=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x34e97c,before:_0x5ea333,after:_0x2b410e,options:_0x279a0f}){this['_editor']=_0x34e97c,this['_markDeletions']=!!_0x279a0f['markDeletions'],this['_anchor']=_0x279a0f['anchor'];const _0x17dbfe=this['_tokenizeModel'](_0x5ea333),_0x3fa184=this['_tokenizeModel'](_0x2b410e);this['_diffItems']=this['_diffModelTokens'](_0x17dbfe,_0x3fa184),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x5ea333['markers'],_0x2b410e['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x17a055=this['_editor']['model']['document'],_0x3e718a=[];let _0x313a73=_0x17a055['version'];for(const _0x14381e of this['_operationsData'])switch(_0x14381e['type']){case'attribute':{const _0x6163e7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['path']),_0x17b13=new _0x491313['ModelRange'](_0x6163e7,_0x6163e7['getShiftedBy'](_0x14381e['howMany'])),_0x3e5584=JSON['parse'](_0x14381e['oldValue']),_0x422b0b=JSON['parse'](_0x14381e['newValue']);_0x3e718a['push'](new _0x491313['AttributeOperation'](_0x17b13,_0x14381e['key'],_0x3e5584,_0x422b0b,_0x313a73++));break;}case'insert':{const _0x516fbb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['path']),_0x1474e6=this['_makeModelFromTokens'](_0x14381e['tokens']);_0x3e718a['push'](new _0x491313['InsertOperation'](_0x516fbb,_0x1474e6,_0x313a73++));break;}case'remove':{const _0x427930=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['path']),_0x2d2fbf=new _0x491313['ModelPosition'](_0x17a055['graveyard'],[0x0]);_0x3e718a['push'](new _0x491313['MoveOperation'](_0x427930,_0x14381e['howMany'],_0x2d2fbf,_0x313a73++));break;}case'rename':{const _0x287d3d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['path']);_0x3e718a['push'](new _0x491313['RenameOperation'](_0x287d3d,_0x14381e['oldName'],_0x14381e['newName'],_0x313a73++));break;}case'split':{const _0x43c49c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['path']),_0x12cdd5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['path']['slice'](0x0,-0x1));_0x12cdd5['offset']++,_0x3e718a['push'](new _0x491313['SplitOperation'](_0x43c49c,Number['NEGATIVE_INFINITY'],_0x12cdd5,null,_0x313a73++));break;}case'merge':{const _0x137485=_0x14381e['path']['slice'](),_0x5616c3=_0x137485['slice'](0x0,-0x1);_0x5616c3[_0x5616c3['length']-0x1]++,_0x5616c3['push'](0x0);const _0x132a16=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5616c3),_0x4dfcb7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x137485),_0x479a24=new _0x491313['ModelPosition'](_0x17a055['graveyard'],[0x0]);_0x3e718a['push'](new _0x491313['MergeOperation'](_0x132a16,Number['NEGATIVE_INFINITY'],_0x4dfcb7,_0x479a24,_0x313a73++));break;}case'marker':case'markedRemove':{let _0x323c0a=null;_0x14381e['range']&&(_0x323c0a=new _0x491313['ModelRange'](this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['range']['end'])));const _0x4de74b='marker'==_0x14381e['type']?_0x14381e['name']:'$markedRemove:'+(0x0,_0x491313['uid'])();_0x3e718a['push'](new _0x491313['MarkerOperation'](_0x4de74b,null,_0x323c0a,_0x17a055['model']['markers'],!0x0,_0x313a73++));break;}case'unwrap':{const _0x3615be=_0x14381e['path']['slice']();_0x3615be['push'](0x0);const _0x98f0bc=_0x14381e['path']['slice'](),_0x36b87f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3615be),_0x1e151e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x98f0bc),_0x5ad1bf=new _0x491313['ModelPosition'](_0x17a055['graveyard'],[0x0]);_0x3e718a['push'](new _0x491313['MoveOperation'](_0x36b87f,_0x14381e['howMany'],_0x1e151e,_0x313a73++)),_0x3e718a['push'](new _0x491313['MoveOperation'](_0x1e151e['getShiftedBy'](_0x14381e['howMany']),0x1,_0x5ad1bf,_0x313a73++));break;}case'wrap':{const _0x452c24=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['range']['start']),_0x13f0e4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x14381e['range']['end']),_0x310950=_0x14381e['token']['element']['_clone'](!0x1);_0x310950['_removeAttribute'](_0x27eb29);const _0x37243b=_0x14381e['range']['end']['slice']();_0x37243b['push'](0x0);const _0x362041=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37243b);_0x3e718a['push'](new _0x491313['InsertOperation'](_0x13f0e4,_0x310950,_0x313a73++)),_0x3e718a['push'](new _0x491313['MoveOperation'](_0x452c24,_0x13f0e4['offset']-_0x452c24['offset'],_0x362041,_0x313a73++));break;}}return _0x3e718a;}_tokenizeModel(_0x978cc){const _0x5f0697=[],_0x882f=new _0x491313['ModelTreeWalker']({'boundaries':_0x491313['ModelRange']['_createIn'](_0x978cc)});let _0x1df746='',_0x5db87b=null;const _0x1cadc4=[''],_0x363ae4=new Map();for(const _0x34e6ed of _0x882f)if('elementStart'==_0x34e6ed['type']||'elementEnd'==_0x34e6ed['type']){let _0x47ee82=_0x1cadc4[0x0];''!==_0x1df746&&(_0x5f0697['push'](...this['_makeTokensFromTextByWords'](_0x1df746,_0x5db87b,_0x47ee82)),_0x1df746='');const _0x1b4770=_0x34e6ed['item'];let _0x372c45;_0x1b4770['getAttribute']('$elementId')?_0x372c45=_0x1b4770['getAttribute'](_0x27eb29):'elementStart'==_0x34e6ed['type']?(_0x372c45=_0x5038a1(_0x1b4770),_0x363ae4['set'](_0x1b4770,_0x372c45)):_0x372c45=_0x363ae4['get'](_0x1b4770);const _0x10cc85=this['_getElementCategory'](_0x1b4770);'solid'==_0x10cc85&&('elementStart'==_0x34e6ed['type']?(_0x47ee82=_0x372c45,_0x1cadc4['unshift'](_0x47ee82)):_0x1cadc4['shift']());const _0x1ddb75={'type':'element','element':_0x1b4770,'elementId':_0x372c45,'category':_0x10cc85,'isStart':'elementStart'==_0x34e6ed['type'],'limitId':_0x47ee82};_0x5f0697['push'](_0x1ddb75);}else''==_0x1df746&&(_0x5db87b=_0x34e6ed['previousPosition']['clone']()),_0x1df746+=_0x34e6ed['item']['data'];return''!==_0x1df746&&_0x5f0697['push'](...this['_makeTokensFromTextByWords'](_0x1df746,_0x5db87b,_0x1cadc4[0x0])),_0x5f0697;}_makeTokensFromTextByWords(_0x1e5ddc,_0x34c87d,_0x3c8c44){const _0x3708a7=_0x1e5ddc['matchAll'](/(\s)/g),_0x19c1ab=Array['from'](_0x3708a7)['map'](_0x3dd157=>_0x3dd157['index']);_0x19c1ab['push'](_0x1e5ddc['length']),0x0==_0x19c1ab[0x0]&&_0x19c1ab['shift']();const _0x4353ba=[],_0x357b9e=_0x34c87d['parent'];let _0x1000cd=0x0,_0x9bad0b=_0x34c87d['offset'];for(let _0x39ed22=0x0;_0x39ed22<_0x19c1ab['length'];_0x39ed22++)_0x4353ba['push']({'type':'text','data':_0x1e5ddc['slice'](_0x1000cd,_0x19c1ab[_0x39ed22]),'parent':_0x357b9e,'offset':_0x9bad0b,'limitId':_0x3c8c44}),_0x1000cd=_0x19c1ab[_0x39ed22],_0x9bad0b=_0x34c87d['offset']+_0x19c1ab[_0x39ed22];return _0x4353ba;}_getElementCategory(_0x4df2d0){const _0x506659=this['_editor']['model']['schema'];return _0x506659['isLimit'](_0x4df2d0)||_0x506659['isContent'](_0x4df2d0)||_0x506659['isInline'](_0x4df2d0)?'solid':_0x506659['isBlock'](_0x4df2d0)?'block':function(_0x34e3b4,_0x4d11e0){const _0x143245=_0x34e3b4['parent'];if(!_0x143245||_0x143245['is']('documentFragment'))return!0x1;if(_0x4d11e0['checkChild'](_0x143245,'$text'))return!0x1;for(const _0x27f868 of _0x34e3b4['getChildren']())if(_0x27f868['is']('$text'))return!0x0;return!0x1;}(_0x4df2d0,_0x506659)?'solid':'container';}['_diffModelTokens'](_0x2d38fd,_0x403d95){const _0x302ca6=_0xfab8f(_0x2d38fd,_0x403d95,{'comparator':_0x344bf9});this['_handleUnclosedBlockOpeningTags'](_0x302ca6);const _0x22e0a7=_0x302ca6['flatMap'](_0x204c13=>{const _0x33f15a=_0x204c13['added']?'added':_0x204c13['removed']?'removed':'unchanged';return _0x204c13['value']['map'](_0x4c16cc=>({'token':_0x4c16cc,'change':_0x33f15a}));});let _0x39d260=0x0;for(const _0x2e039b of _0x22e0a7)'added'!=_0x2e039b['change']&&('unchanged'==_0x2e039b['change']&&(_0x2e039b['before']=_0x2d38fd[_0x39d260]),_0x39d260++);return _0x22e0a7;}['_handleUnclosedBlockOpeningTags'](_0x253c4f){for(let _0x184190=0x0;_0x184190<_0x253c4f['length']-0x1;_0x184190++)if(_0x253c4f[_0x184190]['removed']&&_0x253c4f[_0x184190+0x1]['added']){const _0x2d1a7e=this['_findUnclosedBlockOpeningToken'](_0x253c4f[_0x184190]['value']);if(null!==_0x2d1a7e){const _0x33941c=this['_findUnclosedBlockOpeningToken'](_0x253c4f[_0x184190+0x1]['value']),_0x180c7c=_0x253c4f[_0x184190]['value']['splice'](_0x2d1a7e),_0x3094f8=_0x253c4f[_0x184190+0x1]['value']['splice'](_0x33941c),_0x416695=[_0x3094f8['shift']()];_0x180c7c['shift']();const _0x3279f7={'value':_0x180c7c,'removed':!0x0},_0x5c9f2c={'value':_0x3094f8,'added':!0x0},_0x38536a={'value':_0x416695};_0x253c4f['splice'](_0x184190+0x2,0x0,_0x38536a,_0x3279f7,_0x5c9f2c);}}}['_findUnclosedBlockOpeningToken'](_0x280e45){let _0x3072a6=0x0,_0x1dae5e=-0x1;for(let _0x4d9b12=0x0;_0x4d9b12<_0x280e45['length'];_0x4d9b12++){const _0x4a7b19=_0x280e45[_0x4d9b12];'element'==_0x4a7b19['type']&&'block'==_0x4a7b19['category']&&(_0x3072a6+=_0x4a7b19['isStart']?0x1:-0x1,_0x4a7b19['isStart']&&(_0x1dae5e=_0x4d9b12));}return 0x0===_0x3072a6?null:_0x1dae5e;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x31c196=0x0;_0x31c196<this['_diffItems']['length'];_0x31c196++){const _0x173155=this['_diffItems'][_0x31c196]['change'],_0x2a9079=[];_0x2a9079['push'](this['_diffItems'][_0x31c196]);let _0x4ad7e7=_0x31c196+0x1;for(;this['_diffItems'][_0x4ad7e7]&&this['_diffItems'][_0x4ad7e7]['change']==_0x173155;)_0x2a9079['push'](this['_diffItems'][_0x4ad7e7]),_0x4ad7e7++,_0x31c196++;const _0x14e906=_0x2a9079['map'](_0x20a224=>_0x20a224['token']);if('unchanged'==_0x173155)_0x2a9079['map'](_0x336e4f=>_0x336e4f['before'])['forEach'](_0x3949a5=>this['_traverseOverItem'](_0x3949a5));else{if('removed'==_0x173155){if(this['_markDeletions']){const _0x3bcf7d=this['_path']['slice']();_0x14e906['forEach'](_0x1f9e0b=>this['_traverseOverItem'](_0x1f9e0b));const _0x140951=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x3bcf7d,'end':_0x140951}});}else this['_handleChanged'](_0x14e906,!0x0,this['_path']['slice']());}else{const _0x409c10=_0x14e906['filter'](_0xcb8337=>'element'!=_0xcb8337['type']||'container'!=_0xcb8337['category']);this['_handleChanged'](_0x409c10,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x554c9a=0x0;_0x554c9a<this['_diffItems']['length'];_0x554c9a++){const _0x29d988=this['_diffItems'][_0x554c9a]['change'],_0x5b7fa3=[];_0x5b7fa3['push'](this['_diffItems'][_0x554c9a]);let _0x570d5b=_0x554c9a+0x1;for(;this['_diffItems'][_0x570d5b]&&this['_diffItems'][_0x570d5b]['change']==_0x29d988;)_0x5b7fa3['push'](this['_diffItems'][_0x570d5b]),_0x570d5b++,_0x554c9a++;const _0x12b3d0=_0x5b7fa3['map'](_0x52ed3b=>_0x52ed3b['token']);if('unchanged'==_0x29d988){const _0x15e5ac=_0x5b7fa3['map'](_0x2477ee=>_0x2477ee['before']);this['_handleUnchanged'](_0x15e5ac,_0x12b3d0);}else('added'==_0x29d988||this['_markDeletions'])&&_0x12b3d0['forEach'](_0x368fca=>{'element'==_0x368fca['type']&&_0x368fca['isStart']&&this['_splitPostponedData']['has'](_0x368fca['element'])&&this['_handleSplitPostponedData'](_0x368fca['element'],this['_path']),this['_traverseOverItem'](_0x368fca);});}}_handleSplitPostponedData(_0x3cb5e8,_0x3daa0a){const _0x87aae6=this['_splitPostponedData']['get'](_0x3cb5e8);for(const _0x24f097 of _0x87aae6)'rename'==_0x24f097['type']?this['_operationsData']['push']({'type':'rename','path':_0x3daa0a['slice'](),'oldName':_0x24f097['oldValue'],'newName':_0x3cb5e8['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x3daa0a['slice'](),'howMany':0x1,'key':_0x24f097['key'],'oldValue':_0x24f097['oldValue'],'newValue':JSON['stringify'](_0x3cb5e8['getAttribute'](_0x24f097['key'])??null)});}_calculateMarkersOperationsData(_0x2fb462,_0x2deb42){const _0x56b709={};for(const [_0x1bd41a]of _0x2fb462)_0x56b709[_0x1bd41a]=null;for(const [_0x8387c5,_0x177b0a]of _0x2deb42)_0x56b709[_0x8387c5]=_0x177b0a;const _0x3dd386=Object['entries'](_0x56b709)['map'](([_0x405b31,_0xe2bfda])=>({'type':'marker','name':_0x405b31,'range':_0xe2bfda?{'start':_0xe2bfda['start']['path']['slice'](),'end':_0xe2bfda['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3dd386);}['_handleUnwraps'](){const _0x29946c=new Map(),_0x59f2a6=[],_0x59996f=[0x0];let _0x1616e5=this['_diffItems']['length']+0x1;for(let _0x1a87c1=this['_diffItems']['length']-0x1;_0x1a87c1>=0x0;_0x1a87c1--){const {token:_0x17bec4,before:_0x333783,change:_0x3336eb}=this['_diffItems'][_0x1a87c1];if('removed'!=_0x3336eb&&(_0x1616e5=_0x1a87c1),'element'!=_0x17bec4['type']||'container'!=_0x17bec4['category']||'added'==_0x3336eb)continue;const _0x1aee6d=_0x333783?_0x333783['element']:_0x17bec4['element'];if(_0x17bec4['isStart']){const _0x3b81a5=_0x29946c['get'](_0x1aee6d),_0x46ecbb=this['_diffItems'][_0x3b81a5];('removed'==_0x3336eb||'removed'==_0x46ecbb['change'])&&_0x1616e5<_0x3b81a5&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1aee6d['getPath'](),'howMany':_0x1aee6d['maxOffset']+_0x59996f[0x0]}),_0x59996f['shift'](),_0x59996f[0x0]+=_0x1aee6d['maxOffset']-0x1,_0x59f2a6['push'](_0x1a87c1),_0x59f2a6['push'](_0x3b81a5));}else _0x29946c['set'](_0x1aee6d,_0x1a87c1),_0x59996f['unshift'](0x0);}_0x59f2a6['sort']((_0x5b6538,_0x56ada3)=>_0x56ada3-_0x5b6538),_0x59f2a6['forEach'](_0x456971=>{const _0x352a3a=this['_diffItems'][_0x456971];'removed'==_0x352a3a['change']?this['_diffItems']['splice'](_0x456971,0x1):(_0x352a3a['change']='added',delete _0x352a3a['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x2d1eca=[];for(let _0xf0e8ec=0x0;_0xf0e8ec<this['_diffItems']['length'];_0xf0e8ec++){const {change:_0x998eb7,token:_0x5efe0e}=this['_diffItems'][_0xf0e8ec];if('added'==_0x998eb7&&'element'==_0x5efe0e['type']&&'container'==_0x5efe0e['category']){if(_0x5efe0e['isStart'])_0x2d1eca['push'](this['_path']['slice']());else{if(!_0x5efe0e['isStart']){const _0x2d3ef7=_0x2d1eca['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x2d3ef7,'end':this['_path']['slice']()},'token':_0x5efe0e}),this['_path'][this['_path']['length']-0x1]=_0x2d3ef7[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x998eb7||this['_markDeletions'])&&this['_traverseOverItem'](_0x5efe0e);}}['_handleUnchanged'](_0x253c57,_0x404797){for(let _0x226c7f=0x0;_0x226c7f<_0x253c57['length'];_0x226c7f++){const _0x43ee09=_0x253c57[_0x226c7f];if('element'==_0x43ee09['type']&&_0x43ee09['isStart']){const _0x39fa22=_0x404797[_0x226c7f];'block'==_0x43ee09['category']&&this['_handleElementRename'](_0x43ee09['element'],_0x39fa22['element'],this['_path']),this['_handleElementAttributeChanges'](_0x43ee09['element'],_0x39fa22['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x39fa22);}else{if('element'!=_0x43ee09['type']||_0x43ee09['isStart']){if('text'==_0x43ee09['type']){const _0x5561bd=this['_path']['slice'](),_0x509b93=[],_0x2b9abb=[];for(;_0x253c57[_0x226c7f]&&'text'==_0x253c57[_0x226c7f]['type'];)_0x509b93['push'](_0x253c57[_0x226c7f]),_0x2b9abb['push'](_0x404797[_0x226c7f]),this['_path'][this['_path']['length']-0x1]+=_0x253c57[_0x226c7f]['data']['length'],_0x226c7f++;_0x226c7f--,this['_handleTextAttributeChanges'](_0x509b93,_0x2b9abb,_0x5561bd);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x366949,_0x4c67a8,_0x804adf){const _0x96b414=[],_0x114ceb=[],_0x152360=_0x804adf['slice']();let _0x178b28=this['_parents']['length']-0x1;for(let _0x5b4cc6=0x0;_0x5b4cc6<_0x366949['length'];_0x5b4cc6++){const _0x4871b6=_0x366949[_0x5b4cc6],_0x5955df=_0x804adf['slice']();'element'!=_0x4871b6['type']||_0x4871b6['isStart']?'element'==_0x4871b6['type']&&_0x4871b6['isStart']?(_0x804adf['push'](0x0),_0x178b28++,_0x114ceb['push']({'before':_0x5955df,'after':_0x804adf['slice'](),'index':_0x5b4cc6})):_0x804adf[_0x804adf['length']-0x1]+=_0x4871b6['data']['length']:(_0x804adf['pop'](),_0x804adf[_0x804adf['length']-0x1]++,_0x178b28--,_0x114ceb['length']?_0x114ceb['pop']():_0x96b414['push']({'before':_0x5955df,'after':_0x804adf['slice'](),'index':_0x5b4cc6}));}if(_0x114ceb['length']!==_0x96b414['length'])throw new _0x491313['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x366949,'isRemove':_0x4c67a8});const _0x17a049=[{'after':_0x152360['slice'](),'index':-0x1},..._0x96b414,..._0x114ceb,{'before':_0x804adf['slice'](),'index':_0x366949['length']}];if(_0x4c67a8){for(let _0xf042b6=_0x17a049['length']-0x1;_0xf042b6>=0x1;_0xf042b6--){const _0x19de37=_0x17a049[_0xf042b6-0x1]['after'],_0x14314c=_0x17a049[_0xf042b6]['before'],_0x348b28=_0x14314c[_0x14314c['length']-0x1]-_0x19de37[_0x19de37['length']-0x1];_0x348b28&&(this['_operationsData']['push']({'type':'remove','path':_0x19de37,'howMany':_0x348b28}),_0x14314c[_0x14314c['length']-0x1]-=_0x348b28);}for(const {before:_0x559e7d}of _0x96b414)this['_operationsData']['push']({'type':'merge','path':_0x559e7d});}else for(let _0x106f83=0x0;_0x106f83<_0x17a049['length']-0x1;_0x106f83++){const _0x3be04a=_0x17a049[_0x106f83]['after'],_0x3b6a3f=_0x17a049[_0x106f83+0x1]['before'],_0x4b597f=_0x17a049[_0x106f83]['index']+0x1,_0x20b237=_0x17a049[_0x106f83+0x1]['index'];if(_0x4b597f!==_0x20b237&&this['_operationsData']['push']({'type':'insert','path':_0x3be04a,'tokens':_0x366949['slice'](_0x4b597f,_0x20b237)}),_0x106f83<_0x96b414['length']){this['_operationsData']['push']({'type':'split','path':_0x3b6a3f});const _0x26b582=_0x366949[_0x114ceb[_0x114ceb['length']-0x1-_0x106f83]['index']],_0x549eb4=this['_parents'][_0x178b28]['element'];_0x549eb4['name']!=_0x26b582['element']['name']&&this['_addSplitPostponedData'](_0x26b582['element'],{'type':'rename','oldValue':_0x549eb4['name']});const _0x870778=this['_getAttributeChanges'](_0x549eb4['getAttributes'](),_0x26b582['element']['getAttributes']());for(const _0x39125f in _0x870778){const _0x2c942c=_0x870778[_0x39125f]['oldValue'];this['_addSplitPostponedData'](_0x26b582['element'],{'type':'attribute','key':_0x39125f,'oldValue':_0x2c942c});}}}}_addSplitPostponedData(_0x2a1316,_0x537b69){const _0x51fde8=this['_splitPostponedData']['get'](_0x2a1316)||[];_0x51fde8['push'](_0x537b69),this['_splitPostponedData']['set'](_0x2a1316,_0x51fde8);}_traverseOverItem(_0x128eba){'element'==_0x128eba['type']&&_0x128eba['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x128eba)):'element'!=_0x128eba['type']||_0x128eba['isStart']?'text'==_0x128eba['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x128eba['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x1a6cd0,_0x502d7c,_0x376662){_0x1a6cd0['name']!=_0x502d7c['name']&&this['_operationsData']['push']({'type':'rename','path':_0x376662['slice'](),'oldName':_0x1a6cd0['name'],'newName':_0x502d7c['name']});}_handleElementAttributeChanges(_0x22a1ff,_0x2d31fc,_0x596313){const _0x54426e=this['_getAttributeChanges'](_0x22a1ff['getAttributes'](),_0x2d31fc['getAttributes']());for(const _0x4f552a in _0x54426e){const {oldValue:_0x23dccc,newValue:_0x5a0dab}=_0x54426e[_0x4f552a];this['_operationsData']['push']({'type':'attribute','path':_0x596313['slice'](),'howMany':0x1,'key':_0x4f552a,'oldValue':_0x23dccc,'newValue':_0x5a0dab});}}_handleTextAttributeChanges(_0x148fca,_0x1e360e,_0x3ee256){const _0x380597=this['_operationsData'],_0x9d0113=_0x148fca[0x0]['parent'],_0x419d8a=_0x148fca[0x0]['offset'],_0x3e1f08=_0x1e360e[0x0]['parent'],_0x8dc370=_0x1e360e[0x0]['offset'],_0x380aab=_0x148fca['reduce']((_0x2d8e53,_0x58a5e6)=>_0x2d8e53+_0x58a5e6['data']['length'],0x0),_0x4fb28c=this['_getAttrsForOffsets'](_0x9d0113,_0x419d8a,_0x380aab),_0x4cafae=this['_getAttrsForOffsets'](_0x3e1f08,_0x8dc370,_0x380aab),_0x2bfad2={};for(let _0x4de63a=0x0;_0x4de63a<_0x380aab;_0x4de63a++){const _0x111f2a=_0x4fb28c[_0x419d8a+_0x4de63a],_0x53a1be=_0x4cafae[_0x8dc370+_0x4de63a],_0x3131ca=this['_getAttributeChanges'](_0x111f2a,_0x53a1be);for(const _0x7e8feb in _0x2bfad2)_0x3131ca[_0x7e8feb]||_0x5b12ef(_0x7e8feb);for(const _0x56b2d2 in _0x3131ca){const {oldValue:_0x3387be,newValue:_0xab7e95}=_0x3131ca[_0x56b2d2],_0x48a6e9=_0x2bfad2[_0x56b2d2];_0x48a6e9?_0x48a6e9['oldValue']==_0x3387be&&_0x48a6e9['newValue']==_0xab7e95?_0x48a6e9['length']++:(_0x5b12ef(_0x56b2d2),_0x2bfad2[_0x56b2d2]={'oldValue':_0x3387be,'newValue':_0xab7e95,'start':_0x4de63a,'length':0x1}):_0x2bfad2[_0x56b2d2]={'oldValue':_0x3387be,'newValue':_0xab7e95,'start':_0x4de63a,'length':0x1};}}for(const _0xfc1af0 in _0x2bfad2)_0x5b12ef(_0xfc1af0);function _0x5b12ef(_0x45c6cd){const _0x3e158a=_0x2bfad2[_0x45c6cd],_0x493feb=_0x3ee256['slice']();_0x493feb[_0x493feb['length']-0x1]+=_0x3e158a['start'],_0x380597['push']({'type':'attribute','path':_0x493feb,'howMany':_0x3e158a['length'],'key':_0x45c6cd,'oldValue':_0x3e158a['oldValue'],'newValue':_0x3e158a['newValue']}),delete _0x2bfad2[_0x45c6cd];}}_getAttributeChanges(_0x216d89,_0x9f0835){const _0xb817e1={};for(const [_0x3f3e9c,_0xcaa9d0]of _0x216d89)_0xb817e1[_0x3f3e9c]={'oldValue':JSON['stringify'](_0xcaa9d0),'newValue':'null'};for(const [_0x38d2ee,_0xa5eb73]of _0x9f0835){const _0x4c5b59=JSON['stringify'](_0xa5eb73);_0xb817e1[_0x38d2ee]?_0xb817e1[_0x38d2ee]['oldValue']==_0x4c5b59?delete _0xb817e1[_0x38d2ee]:_0xb817e1[_0x38d2ee]['newValue']=_0x4c5b59:_0xb817e1[_0x38d2ee]={'oldValue':'null','newValue':_0x4c5b59};}return delete _0xb817e1[_0x27eb29],_0xb817e1;}_getAttrsForOffsets(_0x12079b,_0x243700,_0x31282e){const _0x542f0f=new Array(_0x243700+_0x31282e);let _0x13c20f=_0x12079b['getChildAtOffset'](_0x243700),_0x1b5c4b=_0x13c20f['startOffset'];for(;_0x13c20f&&_0x1b5c4b<_0x243700+_0x31282e;){const _0x4f38ff=Array['from'](_0x13c20f['getAttributes']());_0x542f0f['fill'](_0x4f38ff,_0x1b5c4b,_0x1b5c4b+_0x13c20f['offsetSize']),_0x1b5c4b+=_0x13c20f['offsetSize'],_0x13c20f=_0x13c20f['nextSibling'];}return _0x542f0f;}_getPositionFromAnchorAndPath(_0x5d81a8,_0x449090){const _0xc129e2=[..._0x5d81a8['path']['slice'](0x0,-0x1),_0x5d81a8['offset']+_0x449090[0x0],..._0x449090['slice'](0x1)];return new _0x491313['ModelPosition'](_0x5d81a8['root'],_0xc129e2);}['_makeModelFromTokens'](_0x27f0a3){const _0x4eff54=[];let _0x4cd8c9=null;for(const _0x56f7d5 of _0x27f0a3)if('element'!=_0x56f7d5['type']||_0x56f7d5['isStart']||_0x4cd8c9!=_0x56f7d5['element']){if(!_0x4cd8c9){if('text'==_0x56f7d5['type']){const _0x35dbfb=_0x491313['ModelPosition']['_createAt'](_0x56f7d5['parent'],_0x56f7d5['offset']),_0x48a305=_0x491313['ModelRange']['_createFromPositionAndShift'](_0x35dbfb,_0x56f7d5['data']['length']),_0x13d33e=Array['from'](_0x48a305['getItems']())['map'](_0x434bc2=>new _0x491313['ModelText'](_0x434bc2['data'],_0x434bc2['getAttributes']()));_0x4eff54['push'](..._0x13d33e);}else{_0x4cd8c9=_0x56f7d5['element'];const _0x531da2=_0x56f7d5['element']['_clone'](!0x0);_0x531da2['_removeAttribute'](_0x27eb29);for(const _0x2bf8e6 of this['_editor']['model']['createRangeIn'](_0x531da2)['getItems']())_0x2bf8e6['is']('element')&&_0x2bf8e6['_removeAttribute'](_0x27eb29);_0x4eff54['push'](_0x531da2);}}}else _0x4cd8c9=null;return _0x4eff54;}};function _0x344bf9(_0x320784,_0x50fc63){return _0x320784['type']===_0x50fc63['type']&&(_0x320784['limitId']===_0x50fc63['limitId']&&('text'==_0x320784['type']?_0x320784['data']==_0x50fc63['data']:function(_0x1b0dfa,_0x25dd16){if(_0x1b0dfa['isStart']!=_0x25dd16['isStart'])return!0x1;if(_0x1b0dfa['isStart']&&_0x1b0dfa['elementId']!=_0x25dd16['elementId'])return!0x1;if(_0x1b0dfa['category']!=_0x25dd16['category'])return!0x1;if('block'==_0x1b0dfa['category'])return!0x0;if('container'==_0x1b0dfa['category']&&_0x1b0dfa['elementId']!=_0x25dd16['elementId'])return!0x1;return _0x1b0dfa['element']['name']==_0x25dd16['element']['name'];}(_0x320784,_0x50fc63)));}function _0x5038a1(_0x4a498d){return _0x3c2d11({'name':_0x4a498d['name'],...Object['fromEntries'](_0x4a498d['getAttributes']())});}const _0x4617b8=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x296bea=class extends _0x4617b8{_generateUid;_uidCounter=0x0;_touchedNodesState={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null,'rescuedNewIds':new Set()};_existingDataIds=new Set();_referencedExistingIds=new Set();constructor(_0x14e40b){super(),this['_generateUid']=_0x14e40b||(()=>'e'+String(this['_uidCounter']++));}['merge'](_0x42d67a,_0x2c0e5b,_0x7be43){this['_uidCounter']=0x0;const _0x45d9dc=_0x42d67a['cloneNode'](!0x0);_0x2919bf(_0x2c0e5b,_0x45d9dc);const _0x46561d=_0x45d9dc['childNodes'],_0x184d64=Array['from'](_0x46561d)['filter'](_0x249aba=>!(0x3===_0x249aba['nodeType']&&''===_0x26cf45(_0x249aba)['trim']())),_0x5ae5fa=_0x184d64['length'];this['_existingDataIds']=new Set(_0x290d95('data-id',null,_0x2c0e5b)['map'](_0x292545=>_0x42e922(_0x292545,'data-id'))['filter'](_0x4f4099=>!!_0x4f4099));for(const _0xbfaf16 of _0x184d64)_0xbfaf16&&_0x227df4(_0xbfaf16)&&void 0x0===_0xbfaf16['attribs']['data-id']&&_0x36da29(_0xbfaf16,'data-id','new-element');if(_0x290d95('data-id',null,_0x45d9dc)['forEach'](_0x4e5cd4=>{const _0x14f34a=_0x42e922(_0x4e5cd4,'data-id');'new-element'===_0x14f34a||this['_existingDataIds']['has'](_0x14f34a)||_0x36da29(_0x4e5cd4,'data-id','new-element');}),0x0===_0x2c0e5b['childNodes']['length']){const _0x2da7ed=[];return _0x290d95('data-id','new-element',_0x45d9dc)['forEach'](_0x35d125=>{const _0x15bb08=this['_generateUid']();_0x36da29(_0x35d125,'data-id',_0x15bb08),_0x2da7ed['push'](_0x15bb08);}),this['_removeSpecialComments'](_0x45d9dc),{'parsedContent':_0x45d9dc,'newNodeIds':_0x2da7ed,'modifiedNodeIds':[],'removedNodeIds':[]};}this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_touchedNodesState']['rescuedNewIds']=new Set(),this['_referencedExistingIds']=new Set();let _0x3dcedf=-0x1,_0x25732e=!0x1;for(let _0x467aa9=0x0;_0x467aa9<_0x5ae5fa;_0x467aa9++){const _0x544e3e=_0x184d64[_0x467aa9],_0x3645cf=_0x184d64[_0x467aa9+0x1];if(this['_isNewNode'](_0x544e3e)){if(-0x1===_0x3dcedf&&(_0x3dcedf=_0x467aa9),this['_markWrappedElements'](_0x544e3e),!this['_isNewNode'](_0x3645cf)){const [_0x50e09f,_0x2ead1e]=this['_findReferenceNode'](_0x544e3e,_0x25732e,_0x2c0e5b);if(_0x50e09f){const _0x127a2f=Array['from'](_0x184d64)['slice'](_0x3dcedf,_0x467aa9+0x1);this['_insertNodes'](_0x50e09f,_0x127a2f,_0x2ead1e),_0x3dcedf=-0x1;}}}else{if(this['_isExistingContentComment'](_0x544e3e))_0x25732e=!0x0;else{if(this['_isExistingNode'](_0x544e3e)){const _0x57cc09=_0x42e922(_0x544e3e,'data-id');if(_0x57cc09&&this['_existingDataIds']['has'](_0x57cc09)){this['_referencedExistingIds']['add'](_0x57cc09);const _0x5a8881=_0x1327a4('data-id',_0x57cc09,_0x2c0e5b);this['_replaceNode'](_0x5a8881,_0x544e3e);}}else{if(_0xb265c6(_0x544e3e)){const _0x2106c1=_0x2f84de(_0x544e3e);_0x1327a4('data-id',_0x2106c1,_0x45d9dc)||this['_touchedNodesState']['removedIds']['push'](_0x2106c1);}}}}}for(const _0x49a39c of this['_touchedNodesState']['removedIds']){const _0x1818dc=_0x1327a4('data-id',_0x49a39c,_0x2c0e5b);_0x1818dc&&(this['_rescueUnwrappedElements'](_0x1818dc),this['_removeNode'](_0x1818dc,_0x49a39c,_0x7be43));}if(_0x290d95('data-id','new-element',_0x2c0e5b)['forEach'](_0x453a0c=>{const _0x1b5d9e=this['_getUid'](_0x453a0c);_0x36da29(_0x453a0c,'data-id',_0x1b5d9e),this['_touchedNodesState']['newIds']['push'](_0x1b5d9e);}),this['_removeSpecialComments'](_0x2c0e5b),_0x7be43&&_0x7be43['cutAfterUnstable']){const _0x3029e8=this['_findLastConfirmationPoint'](_0x184d64),_0x375100=this['_getLastStableElement'](_0x2c0e5b,_0x3029e8);this['_markUnstableElements'](_0x2c0e5b,_0x375100);}if(this['_processWrappedElements'](_0x2c0e5b,_0x7be43),_0x7be43&&_0x7be43['cutAfterUnstable']&&this['_touchedNodesState']['lastTouchedId']){const _0x25eb3f=_0x290d95('data-id',this['_touchedNodesState']['lastTouchedId'],_0x2c0e5b);let _0x16e4d2=_0x25eb3f[_0x25eb3f['length']-0x1];for(;_0x16e4d2;)_0x334f90(_0x16e4d2),_0x16e4d2=_0x16e4d2['parentNode'];}return{'parsedContent':_0x2c0e5b,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}_insertNodes(_0x2e5914,_0x52312d,_0x464e46){for(const _0x17f62b of _0x52312d){const _0x30ab38=this['_getUid'](_0x17f62b);_0x36da29(_0x17f62b,'data-id',_0x30ab38),this['_touchedNodesState']['newIds']['push'](_0x30ab38),this['_touchedNodesState']['lastTouchedId']=_0x30ab38;}const _0x4488c0='afterbegin'===_0x464e46||'afterend'===_0x464e46?_0x52312d['reverse']():_0x52312d;for(const _0x4e5e8f of _0x4488c0)_0xeda410(_0x2e5914,_0x4e5e8f,_0x464e46);}['_replaceNode'](_0xd4355c,_0x5366ae){if(!_0xd4355c)return;if(_0xaed394=_0x5366ae,_0x450c2c(_0x26cf45(_0xd4355c))===_0x450c2c(_0x26cf45(_0xaed394)))return;var _0xaed394;const _0x443563=_0x42e922(_0xd4355c,'data-id');this['_touchedNodesState']['modifiedIds']['push'](_0x443563),this['_touchedNodesState']['lastTouchedId']=_0x443563,_0x47f66b(_0xd4355c,_0x5366ae['cloneNode'](!0x0));}['_removeNode'](_0x299c8e,_0x2024c2,_0x270811){if(_0x270811&&_0x270811['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x2024c2;const _0x4e1d9f=_0x270811['replaceRemovedWith']['cloneNode'](!0x0);_0x36da29(_0x4e1d9f,'data-id',_0x2024c2),_0x36da29(_0x4e1d9f,'data-removed','true'),_0x47f66b(_0x299c8e,_0x4e1d9f);}else _0x5862cf(_0x299c8e);}['_findReferenceNode'](_0x595cdf,_0x4a5faf,_0x282d3f){const _0x4582a3=this['_findPrevElementWithDataId'](_0x595cdf,!0x1);if(_0x4582a3){const _0x9eabc7=_0x2f84de(_0x4582a3),_0x456695=_0x1327a4('data-id',_0x9eabc7,_0x282d3f);if(_0x456695)return[_0x456695,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x9eabc7);}const _0xab4b43=this['_findNextElementWithDataId'](_0x595cdf,!0x1);if(_0xab4b43){const _0x253469=_0x2f84de(_0xab4b43),_0x388c7d=_0x1327a4('data-id',_0x253469,_0x282d3f);if(_0x388c7d)return[_0x388c7d,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x253469);}return _0x4a5faf?_0x595cdf['nextSibling']?this['_findFallbackReferenceNode'](_0x595cdf,_0x282d3f):[_0x282d3f['childNodes'][_0x282d3f['childNodes']['length']-0x1],'afterend']:[_0x282d3f['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x22d1fb,_0x549a16){const _0x5f3140=[],_0x454d4d=this['_findPrevElementWithDataId'](_0x22d1fb,!0x0);if(_0x454d4d){const _0x3ef597=_0x1327a4('data-id',_0x2f84de(_0x454d4d),_0x549a16);_0x3ef597&&_0x5f3140['push']([_0x3ef597,'afterend']);}const _0x36c266=this['_findNextElementWithDataId'](_0x22d1fb,!0x0);if(_0x36c266){const _0xbe6f1a=_0x1327a4('data-id',_0x2f84de(_0x36c266),_0x549a16);_0xbe6f1a&&_0x5f3140['push']([_0xbe6f1a,'beforebegin']);}return _0x5f3140['length']>0x1?_0x54dfed(_0x5f3140[0x0][0x0])<=_0x54dfed(_0x5f3140[0x1][0x0])?_0x5f3140[0x0]:_0x5f3140[0x1]:0x1===_0x5f3140['length']?_0x5f3140[0x0]:[_0x549a16['lastChild'],'afterend'];}_findNextElementWithDataId(_0x10eb32,_0x35ac3f){let _0x1aa48d=_0x10eb32['nextSibling'],_0x3a0812=null,_0x42b1e2=!0x1;for(;_0x1aa48d;){if(_0x27fe5b(_0x1aa48d)){if(_0xb265c6(_0x1aa48d)&&(_0x3a0812=_0x1aa48d),this['_isExistingContentComment'](_0x1aa48d)&&_0x35ac3f&&!_0x42b1e2){_0x42b1e2=!0x0,_0x1aa48d=_0x1aa48d['nextSibling'];continue;}break;}const _0x5d8aca=_0x42e922(_0x1aa48d,'data-id');if(_0x5d8aca&&'new-element'!==_0x5d8aca&&this['_existingDataIds']['has'](_0x5d8aca)){_0x3a0812=_0x1aa48d;break;}_0x1aa48d=_0x1aa48d['nextSibling'];}return _0x3a0812;}_findPrevElementWithDataId(_0x54c8c4,_0x5bc8a0){let _0x3c2268=_0x54c8c4['previousSibling'],_0x307bf1=null,_0x20b5a7=!0x1;for(;_0x3c2268;){if(_0x27fe5b(_0x3c2268)){if(_0xb265c6(_0x3c2268)&&(_0x307bf1=_0x3c2268),this['_isExistingContentComment'](_0x3c2268)&&_0x5bc8a0&&!_0x20b5a7){_0x20b5a7=!0x0,_0x3c2268=_0x3c2268['previousSibling'];continue;}break;}const _0x5edd79=_0x42e922(_0x3c2268,'data-id');if(_0x5edd79&&'new-element'!==_0x5edd79&&this['_existingDataIds']['has'](_0x5edd79)){_0x307bf1=_0x3c2268;break;}_0x3c2268=_0x3c2268['previousSibling'];}return _0x307bf1;}_markWrappedElements(_0x57c684){_0x227df4(_0x57c684)&&_0x290d95('data-id',null,_0x57c684)['forEach'](_0xb00c67=>{this['_isExistingNode'](_0xb00c67)&&(_0x36da29(_0xb00c67,'data-wrapped-id',_0x42e922(_0xb00c67,'data-id')),_0x36da29(_0xb00c67,'data-id',null));});}_processWrappedElements(_0x3f5a84,_0x479258){_0x290d95('data-wrapped-id',null,_0x3f5a84)['forEach'](_0x582f6e=>{const _0x2fca79=_0x42e922(_0x582f6e,'data-wrapped-id');if(this['_hasUnstableParent'](_0x582f6e))return;const _0x28ebed=_0x1327a4('data-id',_0x2fca79,_0x3f5a84);_0x36da29(_0x582f6e,'data-id',_0x2fca79),_0x28ebed&&(this['_removeNode'](_0x28ebed,_0x2fca79,_0x479258),this['_touchedNodesState']['removedIds']['push'](_0x2fca79),this['_touchedNodesState']['lastTouchedId']=_0x2fca79);});}_hasUnstableParent(_0x4ad889){let _0xbe37b4=_0x4ad889['parentNode'];for(;_0xbe37b4;){if(_0x42e922(_0xbe37b4,'data-unstable'))return!0x0;_0xbe37b4=_0xbe37b4['parentNode'];}return!0x1;}_rescueUnwrappedElements(_0x1b86dd){const _0x4af8e5=new Set(this['_touchedNodesState']['removedIds']),_0x162ae1=new Set(this['_touchedNodesState']['newIds']);_0x290d95('data-id',null,_0x1b86dd)['forEach'](_0x432220=>{const _0x146e54=_0x42e922(_0x432220,'data-id'),_0x49303e=!!_0x146e54&&this['_referencedExistingIds']['has'](_0x146e54),_0x4882b6=!!_0x146e54&&_0x162ae1['has'](_0x146e54);if(!_0x146e54||!_0x49303e&&!_0x4882b6)return;if(_0x4af8e5['has'](_0x146e54))return;let _0x3eae66=_0x432220['parentNode'],_0x4eee52=!0x1;for(;_0x3eae66;){if(_0x3eae66===_0x1b86dd){_0x4eee52=!0x0;break;}const _0x4e4515=_0x42e922(_0x3eae66,'data-id');if(_0x4e4515&&(this['_referencedExistingIds']['has'](_0x4e4515)||_0x162ae1['has'](_0x4e4515)))return;_0x3eae66=_0x3eae66['parentNode'];}if(_0x4eee52){if(_0x530802(_0x1b86dd,_0x432220),_0x49303e){const _0x1a50a8=this['_generateUid'](),_0x1977d6=this['_touchedNodesState']['modifiedIds']['indexOf'](_0x146e54);-0x1!==_0x1977d6&&this['_touchedNodesState']['modifiedIds']['splice'](_0x1977d6,0x1),_0x36da29(_0x432220,'data-unwrapped-id',_0x146e54),_0x36da29(_0x432220,'data-id',_0x1a50a8),this['_touchedNodesState']['newIds']['push'](_0x1a50a8),this['_touchedNodesState']['rescuedNewIds']['add'](_0x1a50a8),this['_touchedNodesState']['lastTouchedId']=_0x1a50a8;}else this['_touchedNodesState']['rescuedNewIds']['add'](_0x146e54),this['_touchedNodesState']['lastTouchedId']=_0x146e54;}});}_getUid(_0x4d73c0){return this['_isExistingNode'](_0x4d73c0)?_0x42e922(_0x4d73c0,'data-id'):this['_generateUid']();}_removeSpecialComments(_0x23f164){_0x40f299(_0x23f164)['filter'](_0x5ed0d2=>_0xb265c6(_0x5ed0d2)||this['_isExistingContentComment'](_0x5ed0d2))['forEach'](_0x7d42a5=>{_0x5862cf(_0x7d42a5);});}_findLastConfirmationPoint(_0x521f49){let _0x2f20da=null,_0x261b32=null,_0x450696=null,_0x5646e2=null;const _0x178424=_0x33597f=>{_0x33597f&&(_0x2f20da=_0x33597f),_0x450696=null,_0x5646e2=null;};for(let _0x4b16e2=0x0;_0x4b16e2<_0x521f49['length'];_0x4b16e2++){const _0x38491e=_0x521f49[_0x4b16e2];if(this['_isExistingContentComment'](_0x38491e)){_0x178424(_0x261b32);continue;}if(_0x227df4(_0x38491e)){const _0x57a568=_0x42e922(_0x38491e,'data-id'),_0x1e9eb8=_0x4b16e2===_0x521f49['length']-0x1;if(_0x57a568&&'new-element'!==_0x57a568&&this['_touchedNodesState']['modifiedIds']['includes'](_0x57a568)&&!_0x1e9eb8){_0x178424(_0x57a568),_0x261b32=_0x57a568;continue;}}let _0x53664f;const _0x2a74fb=_0x2f84de(_0x38491e);if(_0x2a74fb&&this['_touchedNodesState']['rescuedNewIds']['has'](_0x2a74fb))_0x261b32=_0x2a74fb;else{if(_0x2a74fb&&this['_touchedNodesState']['newIds']['includes'](_0x2a74fb))_0x53664f='N';else{if(!_0xb265c6(_0x38491e))continue;_0x53664f='R';}_0x53664f===_0x5646e2||null===_0x5646e2?_0x5646e2=_0x53664f:null!==_0x450696?(_0x178424(_0x261b32),_0x5646e2=_0x53664f):(_0x450696=_0x5646e2,_0x5646e2=_0x53664f),_0x261b32=_0x2a74fb;}}const _0x87c40f=_0x521f49[_0x521f49['length']-0x1];return _0x87c40f&&!_0x227df4(_0x87c40f)&&!_0xb265c6(_0x87c40f)&&_0x261b32&&_0x178424(_0x261b32),_0x2f20da;}_getLastStableElement(_0x4b4568,_0x1eaa9){if(!_0x1eaa9)return null;const _0x2b752e=_0x1327a4('data-id',_0x1eaa9,_0x4b4568);if(!_0x2b752e)return null;const _0x5d1f2c=[_0x2b752e,..._0xe1c834(_0x2b752e)]['at'](-0x2);if(_0x5d1f2c===_0x2b752e)return _0x2b752e;let _0x55022a=_0x5d1f2c['previousSibling'];for(;_0x55022a&&!_0x227df4(_0x55022a);)_0x55022a=_0x55022a['previousSibling'];return _0x55022a;}_markUnstableElements(_0x4dd7e8,_0x48fae5){const _0x27ef89=new Set([...this['_touchedNodesState']['newIds'],...this['_touchedNodesState']['modifiedIds'],...this['_touchedNodesState']['removedIds']]);let _0x128539=_0x48fae5?_0x48fae5['nextSibling']:_0x4dd7e8['firstChild'];for(;_0x128539;)_0x227df4(_0x128539)&&(_0x27ef89['has'](_0x42e922(_0x128539,'data-id'))||_0x290d95('data-id',null,_0x128539)['some'](_0x296974=>_0x27ef89['has'](_0x42e922(_0x296974,'data-id'))))&&_0x36da29(_0x128539,'data-unstable','true'),_0x128539=_0x128539['nextSibling'];}['_isNewNode'](_0x49aadf){return Boolean('new-element'===_0x42e922(_0x49aadf,'data-id'));}_isExistingNode(_0xb91fda){return Boolean((_0x42e922(_0xb91fda,'data-id')||'')['length']>0x0&&'new-element'!==_0x42e922(_0xb91fda,'data-id'));}_isExistingContentComment(_0x34a19c){return Boolean(_0x27fe5b(_0x34a19c)&&_0x26cf45(_0x34a19c)['match'](/\s*existing[\s*-](content|document)\s*/g));}};function _0xb265c6(_0x19ffa4){return!!_0x19ffa4&&Boolean(_0x27fe5b(_0x19ffa4)&&_0x26cf45(_0x19ffa4)['match'](/removed[\s*-]data-id="[^"]+"/));}function _0x2f84de(_0x44c57b){if(!_0x44c57b)return null;if(_0x227df4(_0x44c57b))return _0x42e922(_0x44c57b,'data-id')??null;if(_0x27fe5b(_0x44c57b)){const _0x4f007b=_0x26cf45(_0x44c57b)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x4f007b&&_0x4f007b[0x1])return _0x4f007b[0x1];}return null;}function _0x2919bf(_0x11f4b9,_0x4bbf6){const _0x5e07e0=new Map();for(const _0x1efbec of _0x312367(_0x11f4b9))_0xc1b627(_0x1efbec)||_0x5e07e0['set'](_0x42e922(_0x1efbec,'data-id'),_0x1efbec);const _0x554dd0=new Set();for(const _0x598264 of _0x312367(_0x4bbf6)){if(_0xc1b627(_0x598264))continue;const _0x1220e2=_0x42e922(_0x598264,'data-id'),_0x16504a=_0x1220e2?_0x5e07e0['get'](_0x1220e2):void 0x0;_0x16504a?(_0x47f66b(_0x598264,_0x3bf1db(_0x16504a,!0x0)),_0x554dd0['add'](_0x1220e2)):_0x5862cf(_0x598264);}for(const _0x141413 of _0x40f299(_0x4bbf6))_0xb265c6(_0x141413)&&_0x5e07e0['has'](_0x2f84de(_0x141413))&&_0x5862cf(_0x141413);const _0x46e31a=new Set(_0x290d95('data-id',null,_0x4bbf6)['map'](_0x43cac1=>_0x42e922(_0x43cac1,'data-id')));for(const [_0x1e7c01,_0x20118a]of _0x5e07e0){if(_0x554dd0['has'](_0x1e7c01))continue;let _0x264dd0=_0x20118a['parent'],_0x1e89bb=null;for(;_0x264dd0&&_0x227df4(_0x264dd0);){const _0x475a09=_0x42e922(_0x264dd0,'data-id');if(_0x475a09&&_0x46e31a['has'](_0x475a09)){_0x1e89bb=_0x475a09;break;}_0x264dd0=_0x264dd0['parent'];}if(!_0x1e89bb)continue;const _0x2fe806=_0x1327a4('data-id',_0x1e89bb,_0x4bbf6);_0x2fe806&&ts(_0x2fe806,_0x3bf1db(_0x20118a,!0x0));}}const _0x4958ce='object'==typeof self?self:globalThis,_0x2b6028=(_0x219dcc,_0x53240f)=>{switch(_0x219dcc){case'Function':case'SharedWorker':case'Worker':case'eval':case'setInterval':case'setTimeout':throw new TypeError('unable\x20to\x20deserialize\x20'+_0x219dcc);}return new _0x4958ce[_0x219dcc](_0x53240f);},_0x933166=_0x40d7c9=>((_0x42a1dd,_0x508520)=>{const _0x9f6e35=(_0xd14de9,_0x5630fc)=>(_0x42a1dd['set'](_0x5630fc,_0xd14de9),_0xd14de9),_0x3faab8=_0x5dede5=>{if(_0x42a1dd['has'](_0x5dede5))return _0x42a1dd['get'](_0x5dede5);const [_0x278750,_0x3cc685]=_0x508520[_0x5dede5];switch(_0x278750){case 0x0:case-0x1:return _0x9f6e35(_0x3cc685,_0x5dede5);case 0x1:{const _0x3e43e3=_0x9f6e35([],_0x5dede5);for(const _0x5309c1 of _0x3cc685)_0x3e43e3['push'](_0x3faab8(_0x5309c1));return _0x3e43e3;}case 0x2:{const _0x451f52=_0x9f6e35({},_0x5dede5);for(const [_0x45b290,_0x4a66e4]of _0x3cc685)_0x451f52[_0x3faab8(_0x45b290)]=_0x3faab8(_0x4a66e4);return _0x451f52;}case 0x3:return _0x9f6e35(new Date(_0x3cc685),_0x5dede5);case 0x4:{const {source:_0x84d315,flags:_0x560964}=_0x3cc685;return _0x9f6e35(new RegExp(_0x84d315,_0x560964),_0x5dede5);}case 0x5:{const _0x29f14e=_0x9f6e35(new Map(),_0x5dede5);for(const [_0x4eb6a9,_0x3f5b2a]of _0x3cc685)_0x29f14e['set'](_0x3faab8(_0x4eb6a9),_0x3faab8(_0x3f5b2a));return _0x29f14e;}case 0x6:{const _0x580396=_0x9f6e35(new Set(),_0x5dede5);for(const _0x314f99 of _0x3cc685)_0x580396['add'](_0x3faab8(_0x314f99));return _0x580396;}case 0x7:{const {name:_0x4580d7,message:_0x483a4e}=_0x3cc685;return _0x9f6e35(_0x2b6028(_0x4580d7,_0x483a4e),_0x5dede5);}case 0x8:return _0x9f6e35(BigInt(_0x3cc685),_0x5dede5);case'BigInt':return _0x9f6e35(Object(BigInt(_0x3cc685)),_0x5dede5);case'ArrayBuffer':return _0x9f6e35(new Uint8Array(_0x3cc685)['buffer'],_0x3cc685);case'DataView':{const {buffer:_0x497acc}=new Uint8Array(_0x3cc685);return _0x9f6e35(new DataView(_0x497acc),_0x3cc685);}}return _0x9f6e35(_0x2b6028(_0x278750,_0x3cc685),_0x5dede5);};return _0x3faab8;})(new Map(),_0x40d7c9)(0x0),_0x2e1469='',{toString:_0x4c20f5}={},{keys:_0x16c596}=Object,_0x3a894a=_0x58c320=>{const _0x21bfb0=typeof _0x58c320;if('object'!==_0x21bfb0||!_0x58c320)return[0x0,_0x21bfb0];const _0x5bee22=_0x4c20f5['call'](_0x58c320)['slice'](0x8,-0x1);switch(_0x5bee22){case'Array':return[0x1,_0x2e1469];case'Object':return[0x2,_0x2e1469];case'Date':return[0x3,_0x2e1469];case'RegExp':return[0x4,_0x2e1469];case'Map':return[0x5,_0x2e1469];case'Set':return[0x6,_0x2e1469];case'DataView':return[0x1,_0x5bee22];}return _0x5bee22['includes']('Array')?[0x1,_0x5bee22]:_0x5bee22['includes']('Error')?[0x7,_0x5bee22]:[0x2,_0x5bee22];},_0x296d3b=([_0x2191a7,_0x5451bd])=>0x0===_0x2191a7&&('function'===_0x5451bd||'symbol'===_0x5451bd),_0x2686c3=(_0x783b2c,{json:_0x4ec26e,lossy:_0x4e8b3b}={})=>{const _0x3ddb60=[];return((_0x45aeac,_0x48dbfe,_0x125eb7,_0x3c4691)=>{const _0x276264=(_0x36eaac,_0x554c15)=>{const _0x356e9a=_0x3c4691['push'](_0x36eaac)-0x1;return _0x125eb7['set'](_0x554c15,_0x356e9a),_0x356e9a;},_0x98c32f=_0x7f64f8=>{if(_0x125eb7['has'](_0x7f64f8))return _0x125eb7['get'](_0x7f64f8);let [_0x5c1014,_0x5ad3fd]=_0x3a894a(_0x7f64f8);switch(_0x5c1014){case 0x0:{let _0x5df583=_0x7f64f8;switch(_0x5ad3fd){case'bigint':_0x5c1014=0x8,_0x5df583=_0x7f64f8['toString']();break;case'function':case'symbol':if(_0x45aeac)throw new TypeError('unable\x20to\x20serialize\x20'+_0x5ad3fd);_0x5df583=null;break;case'undefined':return _0x276264([-0x1],_0x7f64f8);}return _0x276264([_0x5c1014,_0x5df583],_0x7f64f8);}case 0x1:{if(_0x5ad3fd){let _0x4b144a=_0x7f64f8;return'DataView'===_0x5ad3fd?_0x4b144a=new Uint8Array(_0x7f64f8['buffer']):'ArrayBuffer'===_0x5ad3fd&&(_0x4b144a=new Uint8Array(_0x7f64f8)),_0x276264([_0x5ad3fd,[..._0x4b144a]],_0x7f64f8);}const _0x2ee51c=[],_0x143863=_0x276264([_0x5c1014,_0x2ee51c],_0x7f64f8);for(const _0xa31dd5 of _0x7f64f8)_0x2ee51c['push'](_0x98c32f(_0xa31dd5));return _0x143863;}case 0x2:{if(_0x5ad3fd)switch(_0x5ad3fd){case'BigInt':return _0x276264([_0x5ad3fd,_0x7f64f8['toString']()],_0x7f64f8);case'Boolean':case'Number':case'String':return _0x276264([_0x5ad3fd,_0x7f64f8['valueOf']()],_0x7f64f8);}if(_0x48dbfe&&'toJSON'in _0x7f64f8)return _0x98c32f(_0x7f64f8['toJSON']());const _0xce52e=[],_0x4fb05a=_0x276264([_0x5c1014,_0xce52e],_0x7f64f8);for(const _0x3c80f3 of _0x16c596(_0x7f64f8))!_0x45aeac&&_0x296d3b(_0x3a894a(_0x7f64f8[_0x3c80f3]))||_0xce52e['push']([_0x98c32f(_0x3c80f3),_0x98c32f(_0x7f64f8[_0x3c80f3])]);return _0x4fb05a;}case 0x3:return _0x276264([_0x5c1014,_0x7f64f8['toISOString']()],_0x7f64f8);case 0x4:{const {source:_0xc0e234,flags:_0x29a255}=_0x7f64f8;return _0x276264([_0x5c1014,{'source':_0xc0e234,'flags':_0x29a255}],_0x7f64f8);}case 0x5:{const _0x8f2d33=[],_0x36f0a6=_0x276264([_0x5c1014,_0x8f2d33],_0x7f64f8);for(const [_0x11f10b,_0x330af1]of _0x7f64f8)(_0x45aeac||!_0x296d3b(_0x3a894a(_0x11f10b))&&!_0x296d3b(_0x3a894a(_0x330af1)))&&_0x8f2d33['push']([_0x98c32f(_0x11f10b),_0x98c32f(_0x330af1)]);return _0x36f0a6;}case 0x6:{const _0xb4a7ea=[],_0x3acad4=_0x276264([_0x5c1014,_0xb4a7ea],_0x7f64f8);for(const _0x454c09 of _0x7f64f8)!_0x45aeac&&_0x296d3b(_0x3a894a(_0x454c09))||_0xb4a7ea['push'](_0x98c32f(_0x454c09));return _0x3acad4;}}const {message:_0x83e379}=_0x7f64f8;return _0x276264([_0x5c1014,{'name':_0x5ad3fd,'message':_0x83e379}],_0x7f64f8);};return _0x98c32f;})(!(_0x4ec26e||_0x4e8b3b),!!_0x4ec26e,new Map(),_0x3ddb60)(_0x783b2c),_0x3ddb60;};var _0x2d0eed='function'==typeof structuredClone?(_0x121466,_0x49be3d)=>_0x49be3d&&('json'in _0x49be3d||'lossy'in _0x49be3d)?_0x933166(_0x2686c3(_0x121466,_0x49be3d)):structuredClone(_0x121466):(_0x3b2f3e,_0x44e2f6)=>_0x933166(_0x2686c3(_0x3b2f3e,_0x44e2f6));const _0x4af586=_0x159c56('end'),_0x1611c0=_0x159c56('start');function _0x159c56(_0x3d3a01){return function(_0x44a492){const _0x36d68c=_0x44a492&&_0x44a492['position']&&_0x44a492['position'][_0x3d3a01]||{};if('number'==typeof _0x36d68c['line']&&_0x36d68c['line']>0x0&&'number'==typeof _0x36d68c['column']&&_0x36d68c['column']>0x0)return{'line':_0x36d68c['line'],'column':_0x36d68c['column'],'offset':'number'==typeof _0x36d68c['offset']&&_0x36d68c['offset']>-0x1?_0x36d68c['offset']:void 0x0};};}const _0x286e79=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],_0x342fca={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[..._0x286e79,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[..._0x286e79],'h2':[['className','sr-only']],'img':[..._0x286e79,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[..._0x286e79,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[..._0x286e79],'table':[..._0x286e79],'ul':[..._0x286e79,['className','contains-task-list']],'*':['abbr','accept','acceptCharset','accessKey','action','align','alt','axis','border','cellPadding','cellSpacing','char','charOff','charSet','checked','clear','colSpan','color','cols','compact','coords','dateTime','dir','encType','frame','hSpace','headers','height','hrefLang','htmlFor','id','isMap','itemProp','label','lang','maxLength','media','method','multiple','name','noHref','noShade','noWrap','open','prompt','readOnly','rev','rowSpan','rows','rules','scope','selected','shape','size','span','start','summary','tabIndex','title','useMap','vAlign','value','width']},'clobber':['ariaDescribedBy','ariaLabelledBy','id','name'],'clobberPrefix':'user-content-','protocols':{'cite':['http','https'],'href':['http','https','irc','ircs','mailto','xmpp'],'longDesc':['http','https'],'src':['http','https']},'required':{'input':{'disabled':!0x0,'type':'checkbox'}},'strip':['script'],'tagNames':['a','b','blockquote','br','code','dd','del','details','div','dl','dt','em','h1','h2','h3','h4','h5','h6','hr','i','img','input','ins','kbd','li','ol','p','picture','pre','q','rp','rt','ruby','s','samp','section','source','span','strike','strong','sub','summary','sup','table','tbody','td','tfoot','th','thead','tr','tt','ul','var']},th={}['hasOwnProperty'];function _0x75b9c9(_0x600b4f,_0x10c5ca){if(_0x10c5ca&&'object'==typeof _0x10c5ca){const _0x203231=_0x10c5ca;switch('string'==typeof _0x203231['type']?_0x203231['type']:''){case'comment':return function(_0x3a138a,_0x4f2199){if(_0x3a138a['schema']['allowComments']){const _0x3aa734='string'==typeof _0x4f2199['value']?_0x4f2199['value']:'',_0x3bcd88=_0x3aa734['indexOf']('--\x3e'),_0x3214ee={'type':'comment','value':_0x3bcd88<0x0?_0x3aa734:_0x3aa734['slice'](0x0,_0x3bcd88)};return _0x267ee7(_0x3214ee,_0x4f2199),_0x3214ee;}}(_0x600b4f,_0x203231);case'doctype':return function(_0x4fec14,_0x5a6652){if(_0x4fec14['schema']['allowDoctypes']){const _0x1afb3a={'type':'doctype'};return _0x267ee7(_0x1afb3a,_0x5a6652),_0x1afb3a;}}(_0x600b4f,_0x203231);case'element':return function(_0x8ca8a8,_0x2be118){const _0x30092d='string'==typeof _0x2be118['tagName']?_0x2be118['tagName']:'';_0x8ca8a8['stack']['push'](_0x30092d);const _0x39f24a=_0x48f2cd(_0x8ca8a8,_0x2be118['children']),_0x8a27f9=function(_0xd946ff,_0x5459b3){const _0x556f45=_0xd946ff['stack'][_0xd946ff['stack']['length']-0x1],_0x4bf764=_0xd946ff['schema']['attributes'],_0x1131b4=_0xd946ff['schema']['required'],_0x3cd9e4=_0x4bf764&&th['call'](_0x4bf764,_0x556f45)?_0x4bf764[_0x556f45]:void 0x0,_0x5e08c0=_0x4bf764&&th['call'](_0x4bf764,'*')?_0x4bf764['*']:void 0x0,_0x44d9b9=_0x5459b3&&'object'==typeof _0x5459b3?_0x5459b3:{},_0x5689d4={};let _0x454970;for(_0x454970 in _0x44d9b9)if(th['call'](_0x44d9b9,_0x454970)){const _0xd2b488=_0x44d9b9[_0x454970];let _0x5b3a23=_0x3f16dc(_0xd946ff,_0x4ab294(_0x3cd9e4,_0x454970),_0x454970,_0xd2b488);null==_0x5b3a23&&(_0x5b3a23=_0x3f16dc(_0xd946ff,_0x4ab294(_0x5e08c0,_0x454970),_0x454970,_0xd2b488)),null!=_0x5b3a23&&(_0x5689d4[_0x454970]=_0x5b3a23);}if(_0x1131b4&&th['call'](_0x1131b4,_0x556f45)){const _0x5a9ce9=_0x1131b4[_0x556f45];for(_0x454970 in _0x5a9ce9)th['call'](_0x5a9ce9,_0x454970)&&!th['call'](_0x5689d4,_0x454970)&&(_0x5689d4[_0x454970]=_0x5a9ce9[_0x454970]);}return _0x5689d4;}(_0x8ca8a8,_0x2be118['properties']);_0x8ca8a8['stack']['pop']();let _0x2c9483=!0x1;if(_0x30092d&&'*'!==_0x30092d&&(!_0x8ca8a8['schema']['tagNames']||_0x8ca8a8['schema']['tagNames']['includes'](_0x30092d))&&(_0x2c9483=!0x0,_0x8ca8a8['schema']['ancestors']&&th['call'](_0x8ca8a8['schema']['ancestors'],_0x30092d))){const _0x40da42=_0x8ca8a8['schema']['ancestors'][_0x30092d];let _0x3af61b=-0x1;for(_0x2c9483=!0x1;++_0x3af61b<_0x40da42['length'];)_0x8ca8a8['stack']['includes'](_0x40da42[_0x3af61b])&&(_0x2c9483=!0x0);}if(!_0x2c9483)return _0x8ca8a8['schema']['strip']&&!_0x8ca8a8['schema']['strip']['includes'](_0x30092d)?_0x39f24a:void 0x0;const _0x11af3c={'type':'element','tagName':_0x30092d,'properties':_0x8a27f9,'children':_0x39f24a};return _0x267ee7(_0x11af3c,_0x2be118),_0x11af3c;}(_0x600b4f,_0x203231);case'root':return function(_0x5999d1,_0x12331d){const _0x2f2454={'type':'root','children':_0x48f2cd(_0x5999d1,_0x12331d['children'])};return _0x267ee7(_0x2f2454,_0x12331d),_0x2f2454;}(_0x600b4f,_0x203231);case'text':return function(_0x31f237,_0x4f9ce8){const _0x243260={'type':'text','value':'string'==typeof _0x4f9ce8['value']?_0x4f9ce8['value']:''};return _0x267ee7(_0x243260,_0x4f9ce8),_0x243260;}(0x0,_0x203231);}}}function _0x48f2cd(_0x37afd0,_0x36d529){const _0x5078a6=[];if(Array['isArray'](_0x36d529)){const _0x2bd7ea=_0x36d529;let _0x42c25b=-0x1;for(;++_0x42c25b<_0x2bd7ea['length'];){const _0x3fd12a=_0x75b9c9(_0x37afd0,_0x2bd7ea[_0x42c25b]);_0x3fd12a&&(Array['isArray'](_0x3fd12a)?_0x5078a6['push'](..._0x3fd12a):_0x5078a6['push'](_0x3fd12a));}}return _0x5078a6;}function _0x3f16dc(_0x2849b3,_0x3c453c,_0x1bc21a,_0x366d55){return _0x3c453c?Array['isArray'](_0x366d55)?function(_0x4b81ad,_0x391ccb,_0x287096,_0x477395){let _0x89423=-0x1;const _0x36c355=[];for(;++_0x89423<_0x477395['length'];){const _0x17182a=_0x8dcd45(_0x4b81ad,_0x391ccb,_0x287096,_0x477395[_0x89423]);'number'!=typeof _0x17182a&&'string'!=typeof _0x17182a||_0x36c355['push'](_0x17182a);}return _0x36c355;}(_0x2849b3,_0x3c453c,_0x1bc21a,_0x366d55):_0x8dcd45(_0x2849b3,_0x3c453c,_0x1bc21a,_0x366d55):void 0x0;}function _0x8dcd45(_0xd79720,_0x5c7e07,_0x19df3b,_0x24957e){if(('boolean'==typeof _0x24957e||'number'==typeof _0x24957e||'string'==typeof _0x24957e)&&function(_0xf80512,_0x453e2b,_0x2869d0){const _0x2a0b55=_0xf80512['schema']['protocols']&&th['call'](_0xf80512['schema']['protocols'],_0x453e2b)?_0xf80512['schema']['protocols'][_0x453e2b]:void 0x0;if(!_0x2a0b55||0x0===_0x2a0b55['length'])return!0x0;const _0x4a6257=String(_0x2869d0),_0x29eafc=_0x4a6257['indexOf'](':'),_0x490425=_0x4a6257['indexOf']('?'),_0x2e9fe0=_0x4a6257['indexOf']('#'),_0x57c3b8=_0x4a6257['indexOf']('/');if(_0x29eafc<0x0||_0x57c3b8>-0x1&&_0x29eafc>_0x57c3b8||_0x490425>-0x1&&_0x29eafc>_0x490425||_0x2e9fe0>-0x1&&_0x29eafc>_0x2e9fe0)return!0x0;let _0x194ebf=-0x1;for(;++_0x194ebf<_0x2a0b55['length'];){const _0x304a34=_0x2a0b55[_0x194ebf];if(_0x29eafc===_0x304a34['length']&&_0x4a6257['slice'](0x0,_0x304a34['length'])===_0x304a34)return!0x0;}return!0x1;}(_0xd79720,_0x19df3b,_0x24957e)){if('object'==typeof _0x5c7e07&&_0x5c7e07['length']>0x1){let _0x2c8071=!0x1,_0x15e8fd=0x0;for(;++_0x15e8fd<_0x5c7e07['length'];){const _0x89bab5=_0x5c7e07[_0x15e8fd];if(_0x89bab5&&'object'==typeof _0x89bab5&&'flags'in _0x89bab5){if(_0x89bab5['test'](String(_0x24957e))){_0x2c8071=!0x0;break;}}else{if(_0x89bab5===_0x24957e){_0x2c8071=!0x0;break;}}}if(!_0x2c8071)return;}return _0xd79720['schema']['clobber']&&_0xd79720['schema']['clobberPrefix']&&_0xd79720['schema']['clobber']['includes'](_0x19df3b)?_0xd79720['schema']['clobberPrefix']+_0x24957e:_0x24957e;}}function _0x267ee7(_0x33a9d0,_0x36cd3c){const _0x155bea=function(_0x52648d){const _0x3c39af=_0x1611c0(_0x52648d),_0x1989ff=_0x4af586(_0x52648d);if(_0x3c39af&&_0x1989ff)return{'start':_0x3c39af,'end':_0x1989ff};}(_0x36cd3c);_0x36cd3c['data']&&(_0x33a9d0['data']=_0x2d0eed(_0x36cd3c['data'])),_0x155bea&&(_0x33a9d0['position']=_0x155bea);}function _0x4ab294(_0x28d68f,_0x36b1bf){let _0x59e730,_0x1ede8e=-0x1;if(_0x28d68f)for(;++_0x1ede8e<_0x28d68f['length'];){const _0x41d538=_0x28d68f[_0x1ede8e],_0x30457='string'==typeof _0x41d538?_0x41d538:_0x41d538[0x0];if(_0x30457===_0x36b1bf)return _0x41d538;'data*'===_0x30457&&(_0x59e730=_0x41d538);}if(_0x36b1bf['length']>0x4&&'data'===_0x36b1bf['slice'](0x0,0x4)['toLowerCase']())return _0x59e730;}function _0x37b944(_0x500421){return function(_0x279c3e){return function(_0x465620,_0x2e6c21){let _0x5d3a28={'type':'root','children':[]};const _0x44122c=_0x75b9c9({'schema':_0x2e6c21?{..._0x342fca,..._0x2e6c21}:_0x342fca,'stack':[]},_0x465620);return _0x44122c&&(Array['isArray'](_0x44122c)?0x1===_0x44122c['length']?_0x5d3a28=_0x44122c[0x0]:_0x5d3a28['children']=_0x44122c:_0x5d3a28=_0x44122c),_0x5d3a28;}(_0x279c3e,_0x500421);};}const _0x3e2914=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x5a3426=class extends _0x3e2914{_m2html;constructor(){super();const _0x5f33e4=Object['entries'](_0x491313['MarkdownGfmMdToHtmlDefaultPlugins']),_0x388382=_0x5f33e4['findIndex'](([_0x281745])=>'rehypeDomRaw'===_0x281745);if(-0x1===_0x388382)throw new _0x491313['CKEditorError']('ai-response-parser-unable-to-set-up-parser');_0x5f33e4['splice'](_0x388382+0x1,0x0,['rehypeSanitize',_0x37b944]),this['_m2html']=new _0x491313['MarkdownGfmMdToHtml']({'plugins':Object['fromEntries'](_0x5f33e4)});}convertMarkdownToHTML(_0x3c25c9){const _0x5e5a5f=this['_m2html']['parse'](_0x3c25c9);return this['parseAndNormalizeHTML'](_0x5e5a5f);}['parseAndNormalizeHTML'](_0x578b0a){return this['_parseHTML'](_0x578b0a);}['_parseHTML'](_0x6695da){const _0x1b9820=_0x5ec6ac('<dummy>'+_0x6695da['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x4d924e(_0x1b9820),_0x1b9820['children']=_0x1b9820['children'][0x0]['children'],_0x1b9820;}};function _0x4d924e(_0x2fa82a){for(const _0x5e8e36 of _0x2fa82a['children'])_0x227df4(_0x5e8e36)?'pre'!==_0x5e8e36['name']&&_0x4d924e(_0x5e8e36):_0x1638d2(_0x5e8e36)&&(_0x5e8e36['data']=_0x5e8e36['data']['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/[ \t\r\f\v]+/g,'\x20'));}function _0x306b98({changeGroups:_0x31733f,documentContextContent:_0x3f2b5c,showDiff:_0x5f47ec,trimUnchanged:_0xe305ef=!0x0}){const _0x5a2028=_0x2aad18(_0x31733f,_0x3f2b5c);return _0x31733f['map'](_0x102c65=>{if(!_0x102c65['editor']||'destroyed'===_0x102c65['editor']['state'])return null;const _0x539735=_0x559912(_0x102c65['editor'],_0x102c65['rootName']),_0x3b52ad=new _0x444106([]),_0x4675a9=new _0x444106([]),_0x18809a=new Set();for(const _0x459bc1 of _0x102c65['changes'])'new'==_0x459bc1['type']&&_0x290d95('data-id',null,_0x459bc1['node'])['forEach'](_0xd24254=>{_0x18809a['add'](_0x42e922(_0xd24254,'data-id'));});for(const _0x3a4c05 of _0x102c65['changes'])if('removed'!=_0x3a4c05['type']?_0x4675a9['children']['push'](_0x3a4c05['node']['cloneNode'](!0x0)):_0x5f47ec||_0x18809a['has'](_0x3a4c05['id'])||_0x4675a9['children']['push'](_0x3a4c05['node']['cloneNode'](!0x0)),'new'!=_0x3a4c05['type']&&(_0x5f47ec||'removed'!=_0x3a4c05['type'])){const _0x4bb8d1=_0x41243d(_0x50495a=>_0x42e922(_0x50495a,'data-id')==_0x3a4c05['id'],_0x3f2b5c['get'](_0x102c65['documentId']),!0x0);_0x4bb8d1&&_0x3b52ad['children']['push'](_0x4bb8d1['cloneNode'](!0x0));}if(_0x539735&&_0x5a2028['has'](_0x102c65['index']))return{'type':_0x102c65['changes'][0x0]['type'],'index':_0x102c65['index'],'state':_0x102c65['state'],'outdatedReason':_0x102c65['outdatedReason'],'content':new _0x444106([]),'hasChanges':!0x1};let _0x229387,_0x20fa0e,_0x336b3b;try{({content:_0x229387,hasChanges:_0x20fa0e}=_0x39e72d(_0x102c65['editor'],_0x3b52ad,_0x4675a9,_0x5f47ec,_0xe305ef));}catch{return{'type':_0x102c65['changes'][0x0]['type'],'index':_0x102c65['index'],'state':_0x102c65['state'],'outdatedReason':_0x102c65['outdatedReason'],'content':new _0x444106([]),'hasChanges':!0x1};}if(_0x539735){_0x336b3b=_0x102c65['editor']['ui']['getEditableElement'](_0x102c65['rootName'])?.['tagName']['toLowerCase']();const _0x389606=_0x229387['children']['filter'](_0x227df4);0x1===_0x389606['length']&&(_0x229387=new _0x444106(_0x389606[0x0]['children']));}return{'type':_0x102c65['changes'][0x0]['type'],'index':_0x102c65['index'],'state':_0x102c65['state'],'outdatedReason':_0x102c65['outdatedReason'],'content':_0x229387,'hasChanges':_0x20fa0e,'wrapperTag':_0x336b3b};})['filter'](_0x47b769=>null!==_0x47b769);}function _0x39e72d(_0x1c2b67,_0x2a2538,_0x5061cf,_0x3bbe02,_0x28067f=!0x0){const _0x4b4f52=_0x1c2b67['plugins']['get']('DocumentCompare'),_0x4a4cff=_0x26cf45(_0x2a2538),_0x3ea094=_0x26cf45(_0x5061cf),_0x4c00d9=_0x1c2b67['data']['parse'](_0x4a4cff,'$root'),_0x90335=_0x1c2b67['model']['createPositionAt'](_0x4c00d9,0x0),_0x2ecf7c=_0x4b4f52['getDiff'](_0x4a4cff,_0x3ea094,{'anchor':_0x90335,'markDeletions':_0x3bbe02,'targetEditor':_0x1c2b67})['getOperations']();if(0x0==_0x2ecf7c['length'])return{'content':_0x2a2538['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x3bbe02?function(_0x4cb1e4,_0x3a5178,_0xbe8285){if(0x0==_0x4cb1e4['length'])return;const _0x261341=_0xbe8285['plugins']['get']('DocumentCompare'),_0x47e650=_0xbe8285['plugins']['get']('SuggestionsConversion');_0xbe8285['model']['change'](_0x3f4bb4=>{const _0x55bb0f=new Set();for(let _0x3a410b=0x0;_0x3a410b<_0x4cb1e4['length'];_0x3a410b++){const _0x515ac6=_0x4cb1e4[_0x3a410b];if(_0x515ac6['baseVersion']=null,_0x515ac6['isDocumentOperation']=!0x1,!tl(_0x515ac6)){if(_0x261341['isMarkedRemoveOperation'](_0x515ac6)){const _0x560916=_0x3dbeb9(_0x515ac6['newRange'],_0xbe8285['model']),_0x547c63='suggestion:deletion:'+(0x0,_0x491313['uid'])()+':$aiSuggestion';_0x3a5178['markers']['set'](_0x547c63,_0x560916);}else switch(_0x515ac6['type']){case'rename':{if(_0x515ac6['oldName']==_0x515ac6['newName'])break;_0x3f4bb4['batch']['addOperation'](_0x515ac6),_0xbe8285['model']['applyOperation'](_0x515ac6);const _0x362488='$elementName',_0x23e86e=_0x515ac6['position'],_0x46b981=_0xbe8285['model']['createRange'](_0x23e86e,_0xbe8285['model']['createPositionAt'](_0x23e86e['nodeAfter'],'end')),_0x3ad732='suggestion:attribute:'+_0x362488+':'+(0x0,_0x491313['uid'])()+':$aiSuggestion';_0x3a5178['markers']['set'](_0x3ad732,_0x46b981);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x515ac6['oldValue']==_0x515ac6['newValue'])break;_0x3f4bb4['batch']['addOperation'](_0x515ac6),_0xbe8285['model']['applyOperation'](_0x515ac6);const _0x417a77=_0x515ac6['key'];if(!_0x47e650['isRegisteredAttribute'](_0x417a77))break;const _0x485921=_0x3dbeb9(_0x515ac6['range'],_0xbe8285['model']),_0xc1766a='suggestion:attribute:'+_0x417a77+':'+(0x0,_0x491313['uid'])()+':$aiSuggestion';_0x3a5178['markers']['set'](_0xc1766a,_0x485921);break;}case'insert':{if(_0x3f4bb4['batch']['addOperation'](_0x515ac6),_0xbe8285['model']['applyOperation'](_0x515ac6),_0x589d4c(_0x3a5178,_0x515ac6),_0x4cb1e4[_0x3a410b+0x1]&&'move'==_0x4cb1e4[_0x3a410b+0x1]['type'])break;const _0x3ceef9=_0x515ac6['position'],_0x3999a9=_0x515ac6['howMany'],_0xd4aa69=_0x3dbeb9(_0xbe8285['model']['createRange'](_0x3ceef9,_0x3ceef9['getShiftedBy'](_0x3999a9)),_0xbe8285['model']),_0x4c371d='suggestion:insertion:'+(0x0,_0x491313['uid'])()+':$aiSuggestion';_0x3a5178['markers']['set'](_0x4c371d,_0xd4aa69);break;}case'split':{_0x3f4bb4['batch']['addOperation'](_0x515ac6),_0xbe8285['model']['applyOperation'](_0x515ac6),_0x589d4c(_0x3a5178,_0x515ac6);const _0x54c622=_0x515ac6['splitPosition'],_0xf18127=_0x515ac6['moveTargetPosition'],_0xc91dde=_0xbe8285['model']['createRange'](_0x54c622,_0xf18127),_0x427bc2='suggestion:insertion:'+(0x0,_0x491313['uid'])()+':$aiSuggestion';_0x3a5178['markers']['set'](_0x427bc2,_0xc91dde);break;}case'move':{_0x3f4bb4['batch']['addOperation'](_0x515ac6),_0xbe8285['model']['applyOperation'](_0x515ac6),_0x589d4c(_0x3a5178,_0x515ac6);const _0x398c98=_0x515ac6['getMovedRangeStart'](),_0x2076e0=_0x515ac6['howMany'];for(let _0x33314f=0x0;_0x33314f<_0x2076e0;_0x33314f++){const _0x4d32a9=_0x398c98['getShiftedBy'](_0x33314f)['nodeAfter'];_0x55bb0f['add'](_0x4d32a9);}break;}case'remove':{const _0x438822=_0x515ac6['sourcePosition'],_0x37852b=_0x515ac6['howMany'],_0x361d2d=new _0x491313['_DetachOperation'](_0x438822,_0x37852b);_0x3f4bb4['batch']['addOperation'](_0x361d2d),_0xbe8285['model']['applyOperation'](_0x361d2d),_0x589d4c(_0x3a5178,_0x515ac6);break;}}}}for(const _0x3dfcae of _0x55bb0f){const _0x383363=_0xbe8285['model']['createRangeOn'](_0x3dfcae),_0x2930ca='suggestion:formatBlock:$fakeWrap:'+(0x0,_0x491313['uid'])()+':$aiSuggestion';_0x3a5178['markers']['set'](_0x2930ca,_0x3dbeb9(_0x383363,_0xbe8285['model']));}});}(_0x2ecf7c,_0x4c00d9,_0x1c2b67):_0x1c2b67['model']['change'](_0x2865c3=>{for(const _0x36e47b of _0x2ecf7c)if(!tl(_0x36e47b)){if('remove'==_0x36e47b['type']){const _0x43cf00=_0x36e47b['sourcePosition'],_0x2dae42=_0x36e47b['howMany'],_0x1b9d94=new _0x491313['_DetachOperation'](_0x43cf00,_0x2dae42);_0x2865c3['batch']['addOperation'](_0x1b9d94),_0x1c2b67['model']['applyOperation'](_0x1b9d94),_0x589d4c(_0x4c00d9,_0x36e47b);}else{if('marker'==_0x36e47b['type']){const _0x1dd85f=_0x36e47b['name'],_0x558ee8=_0x36e47b['newRange'];null!==_0x558ee8?_0x4c00d9['markers']['set'](_0x1dd85f,_0x558ee8):_0x4c00d9['markers']['delete'](_0x1dd85f);}else _0x36e47b['baseVersion']=null,_0x36e47b['isDocumentOperation']=!0x1,_0x2865c3['batch']['addOperation'](_0x36e47b),_0x1c2b67['model']['applyOperation'](_0x36e47b),_0x589d4c(_0x4c00d9,_0x36e47b);}}}),_0x28067f){const _0x2c586b=_0x19effd(_0x1c2b67,_0x2ecf7c,_0x4c00d9);_0x151300(_0x1c2b67['model'],_0x2c586b),function(_0x4ca4a2,_0x12a7cb){const _0x20b35e=_0x12a7cb['getFirstRange']()['start'];let _0x358809=_0x12a7cb['getFirstRange']()['end'];const _0x168319=_0x20b35e['root'];(_0x358809['textNode']||_0x358809['nodeAfter']&&_0x358809['nodeAfter']['is']('$text'))&&((0x0,_0x491313['_insertIntoModelNodeList'])(_0x358809,'...'),_0x5274cf(_0x168319,_0x358809,0x3),_0x358809=_0x358809['getShiftedBy'](0x3)),(_0x20b35e['textNode']||_0x20b35e['nodeBefore']&&_0x20b35e['nodeBefore']['is']('$text'))&&((0x0,_0x491313['_insertIntoModelNodeList'])(_0x20b35e,'...'),_0x5274cf(_0x168319,_0x20b35e,0x3),_0x20b35e['parent']==_0x358809['parent']&&(_0x358809=_0x358809['getShiftedBy'](0x3)));const _0x21f15d=_0x4ca4a2['createRange'](_0x4ca4a2['createPositionAt'](_0x168319,0x0),_0x20b35e),_0x5633c7=_0x4ca4a2['createRange'](_0x358809,_0x4ca4a2['createPositionAt'](_0x168319,'end')),_0xe28211=[..._0x21f15d['getMinimalFlatRanges'](),..._0x5633c7['getMinimalFlatRanges']()];_0xe28211['reverse']();for(const _0x1a191c of _0xe28211)(0x0,_0x491313['_removeFromModelNodeList'])(_0x1a191c),_0x4d6218(_0x168319,_0x1a191c);}(_0x1c2b67['model'],_0x2c586b);}return{'content':_0x5ec6ac(_0x1c2b67['data']['stringify'](_0x4c00d9,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function _0x589d4c(_0x3187e8,_0x241fcb){for(const [_0x275dad,_0x5c3ee6]of _0x3187e8['markers']){const _0x16e745=_0x491313['ModelRange']['_createFromRanges'](_0x5c3ee6['getTransformedByOperation'](_0x241fcb));_0x16e745['root']==_0x3187e8?_0x3187e8['markers']['set'](_0x275dad,_0x16e745):_0x3187e8['markers']['delete'](_0x275dad);}}function _0x19effd(_0xece50d,_0x2dc7c2,_0x1185e5){const _0x2c4ae5=_0xece50d['plugins']['get']('DocumentCompare');let _0x212f3a=_0xece50d['model']['createPositionAt'](_0x1185e5,Number['POSITIVE_INFINITY']),_0x8e954d=_0xece50d['model']['createPositionAt'](_0x1185e5,0x0);for(const _0x3a8895 of _0x2dc7c2){let _0x3a7d33,_0x51b37e;if(_0x2c4ae5['isMarkedRemoveOperation'](_0x3a8895))_0x3a7d33=_0x3a8895['newRange']['start'],_0x51b37e=_0x3a8895['newRange']['end'];else switch(_0x212f3a=_0x58c20d(_0x212f3a,_0x3a8895),_0x8e954d=_0x58c20d(_0x8e954d,_0x3a8895),_0x3a8895['type']){case'rename':_0x3a7d33=_0x3a8895['position'],_0x51b37e=_0x3a7d33['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x3a7d33=_0x3a8895['range']['start'],_0x51b37e=_0x3a8895['range']['end'];break;case'insert':_0x3a7d33=_0x3a8895['position'],_0x51b37e=_0x3a7d33['getShiftedBy'](_0x3a8895['howMany']);break;case'split':_0x3a7d33=_0x3a8895['splitPosition'],_0x51b37e=_0x3a8895['moveTargetPosition'];break;case'merge':{const _0x5de5c2=_0x3a8895['targetPosition']['path']['slice'](0x0,-0x1);_0x3a7d33=_0xece50d['model']['createPositionFromPath'](_0x1185e5,_0x5de5c2),_0x51b37e=_0x3a7d33['getShiftedBy'](0x1);break;}case'move':case'remove':{const _0xea8eaf=_0x3a8895['howMany'],_0x33e920=_0x3a8895['sourcePosition']['_getTransformedByInsertion'](_0x3a8895['targetPosition'],_0xea8eaf),_0x30c83f=_0x3a8895['getMovedRangeStart']();'remove'==_0x3a8895['type']?(_0x3a7d33=_0x33e920,_0x51b37e=_0x33e920):(_0x3a7d33=_0x30c83f,_0x51b37e=_0x30c83f['getShiftedBy'](_0xea8eaf));break;}}_0x3a7d33&&_0x3a7d33['isBefore'](_0x212f3a)&&(_0x212f3a=_0x3a7d33['clone'](),_0x212f3a['stickiness']='toNone'),_0x51b37e&&_0x51b37e['isAfter'](_0x8e954d)&&(_0x8e954d=_0x51b37e['clone'](),_0x8e954d['stickiness']='toNone');}return _0xece50d['model']['createSelection'](_0xece50d['model']['createRange'](_0x212f3a,_0x8e954d));}function _0x58c20d(_0x61825e,_0x2b5061){return'move'!=_0x2b5061['type']&&'remove'!=_0x2b5061['type']||_0x2b5061['sourceRange']['containsPosition'](_0x61825e)&&((_0x61825e=_0x2b5061['sourcePosition']['clone']())['stickiness']='toNone'),_0x61825e['getTransformedByOperation'](_0x2b5061);}function _0x151300(_0x3ec406,_0x4617bb){_0x4f6c16(_0x3ec406,_0x4617bb,'forward');const _0x285b9a=_0x4617bb['getFirstRange']();_0x4617bb['setTo']([]),_0x4617bb['setTo'](_0x285b9a,{'backward':!0x0}),_0x4f6c16(_0x3ec406,_0x4617bb,'backward');}function _0x4f6c16(_0x11d33d,_0x218628,_0x1aa84b){let _0x52d191=0x14;for(;_0x52d191;){_0x11d33d['modifySelection'](_0x218628,{'unit':'word','direction':_0x1aa84b}),_0x52d191--;const _0x4f3419=_0x218628['focus']['forward'==_0x1aa84b?'nodeBefore':'nodeAfter'];if(_0x4f3419&&_0x4f3419['is']('element')&&_0x11d33d['schema']['isBlock'](_0x4f3419)&&_0x11d33d['schema']['isObject'](_0x4f3419))break;}}function _0x4d6218(_0x4c35a8,_0x305bb7){for(const [_0x4b4f16,_0x3beb86]of _0x4c35a8['markers']){const _0x142e71=_0x3beb86['_getTransformedByDeletion'](_0x305bb7['start'],_0x305bb7['end']['offset']-_0x305bb7['start']['offset']);null!=_0x142e71?_0x4c35a8['markers']['set'](_0x4b4f16,_0x142e71):_0x4c35a8['markers']['delete'](_0x4b4f16);}}function _0x5274cf(_0x489de7,_0x3c3b2c,_0x30780a){for(let [_0xe1f5f1,_0x4a3d59]of _0x489de7['markers'])_0x4a3d59=_0x4a3d59['_getTransformedByInsertion'](_0x3c3b2c,_0x30780a,!0x1)[0x0],_0x489de7['markers']['set'](_0xe1f5f1,_0x4a3d59);}function _0x14ee9e(_0x2a3c13,_0x26607e){for(const _0x36025c of _0x2a3c13)'noop'!==_0x36025c['type']&&(_0x36025c['_aiSource']=_0x26607e);}var _0x1203f0=class extends _0x491313['ContextPlugin']{static get['pluginName'](){return'AIGateway';}static get requires(){return[_0x5b2c28,_0x23dba1];}get['models'](){return this['context']['plugins']['get'](_0x23dba1)['models'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['apply'](_0x99f7a9,_0x4e0f23){const {applyMethod:_0x5d89f5,roots:_0x15be34}=_0x4e0f23,_0x40f0d3='suggest'===_0x5d89f5;if(_0x99f7a9['error']||!_0x99f7a9['results']['length'])throw new _0x491313['CKEditorError']('ai-gateway-apply-invalid-status',this,{'status':_0x99f7a9['status']});if(_0x15be34){if(0x0===_0x15be34['length'])throw new _0x491313['CKEditorError']('ai-gateway-apply-empty-roots',this);for(const {channelId:_0x96cb47,rootName:_0x5bd760}of _0x15be34)if(!_0x99f7a9['results']['some'](_0x2ea653=>_0x2ea653['channelId']===_0x96cb47&&_0x2ea653['rootName']===_0x5bd760))throw new _0x491313['CKEditorError']('ai-gateway-apply-root-not-found',this,{'channelId':_0x96cb47,'rootName':_0x5bd760});}const _0x2fc3c3=_0x99f7a9['results']['reduce']((_0xa993b6,_0xee18e1)=>{if(_0x15be34&&!_0x15be34['some'](_0x159954=>_0x159954['channelId']===_0xee18e1['channelId']&&_0x159954['rootName']===_0xee18e1['rootName']))return _0xa993b6;if('completed'!==_0xee18e1['status'])throw new _0x491313['CKEditorError']('ai-gateway-apply-invalid-status',this,{'status':_0xee18e1['status'],'channelId':_0xee18e1['channelId'],'rootName':_0xee18e1['rootName']});if(_0x40f0d3&&!_0xee18e1['editor']['plugins']['has']('TrackChanges'))throw new _0x491313['CKEditorError']('ai-no-track-changes',this,{'channelId':_0xee18e1['channelId'],'rootName':_0xee18e1['rootName']});let _0x3e9103=_0xa993b6['get'](_0xee18e1['editor']);return _0x3e9103||(_0x3e9103=[],_0xa993b6['set'](_0xee18e1['editor'],_0x3e9103)),_0x3e9103['push'](_0xee18e1),_0xa993b6;},new Map()),_0x2a7dea=this['context']['plugins']['get'](_0x5b2c28);for(const [_0x666972,_0x5a6670]of _0x2fc3c3){const _0x56fb71=_0x5a6670['map'](_0x1a4bc6=>{const _0x1b9628=_0x666972['model']['createPositionAt'](_0x666972['model']['document']['getRoot'](_0x1a4bc6['rootName']),0x0),_0x4f6b3e=_0x2dd1f6(_0x666972,_0x1a4bc6['rootName'],_0x1a4bc6['contentRawOld'],_0x1a4bc6['contentRawNew']);if(!_0x4f6b3e)return _0x1a4bc6['droppedUnsupportedInlineChange']=!0x0,null;const _0x570f8a=_0x2a7dea['getDiff'](_0x4f6b3e['before'],_0x4f6b3e['after'],{'anchor':_0x1b9628,'markDeletions':_0x40f0d3,'targetEditor':_0x666972}),_0x5a1f0f=_0x666972['model']['document']['history']['getOperations'](_0x1a4bc6['documentVersion']),_0x591e4c={'document':_0x666972['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4b38bf=(0x0,_0x491313['transformOperationSets'])(_0x570f8a['getOperations'](),_0x5a1f0f,_0x591e4c)['operationsA'];return _0x14ee9e(_0x4b38bf,_0x4e0f23['aiSource']??'api'),_0x4b38bf;});_0x666972['model']['change'](_0x72031f=>{for(const _0x2ae92d of _0x56fb71)_0x2ae92d&&(_0x40f0d3?_0x666972['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x2ae92d):_0x2a7dea['applyOperations'](_0x72031f,_0x2ae92d));});}}mergeChangesIntoContent(_0x33849d,_0x27c064,_0x46f565){const _0x1c76de=new _0x5a3426(),_0x3ad4b3=new _0x296bea();let _0x188e36=_0x1c76de['parseAndNormalizeHTML'](_0x27c064);for(const _0x171359 of _0x33849d)try{const _0x2259dd=_0x1c76de['parseAndNormalizeHTML'](_0x171359['content']);_0x188e36=_0x3ad4b3['merge'](_0x2259dd,_0x188e36,{'cutAfterUnstable':!0x1,'replaceRemovedWith':void 0x0})['parsedContent'];}catch(_0x28c619){throw new _0x491313['CKEditorError']('ai-gateway-merge-failed',this,{..._0x171359},_0x28c619);}return _0x39e72d(_0x46f565,_0x1c76de['parseAndNormalizeHTML'](_0x27c064),_0x188e36,!0x1,!0x1)['content'];}};const _0x546bf2=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['EmitterMixin'])(),_0x145da1=['capabilitiesUpdated'];var _0x5201e5=class extends _0x546bf2{['_isWebSearchEnabled'];['_isReasoningEnabled'];constructor(){super(),this['_isWebSearchEnabled']=!0x1,this['_isReasoningEnabled']=!0x1;}init(){this['reset']();}reset(){this['setWebSearch'](!0x1),this['setReasoning'](!0x1);}getCapabilitiesConfig(){return{'isWebSearchEnabled':this['_isWebSearchEnabled'],'isReasoningEnabled':this['_isReasoningEnabled']};}static getCapabilitiesRequestData(_0x431546){const _0x62dbcf={};if(!_0x431546)return _0x62dbcf;('isWebSearchEnabled'in _0x431546?_0x431546['isWebSearchEnabled']:_0x431546['webSearch'])&&(_0x62dbcf['webSearch']={});const _0x4a40b6='isReasoningEnabled'in _0x431546?_0x431546['isReasoningEnabled']:_0x431546['reasoning'];return _0x4a40b6&&(_0x62dbcf['reasoning']='string'==typeof _0x4a40b6?{'level':_0x4a40b6}:{}),_0x62dbcf;}toggleWebSearch(){this['setWebSearch'](!this['_isWebSearchEnabled']);}toggleReasoning(){this['setReasoning'](!this['_isReasoningEnabled']);}setWebSearch(_0x203a15){_0x203a15!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x203a15,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}setReasoning(_0x4dfb1c){_0x4dfb1c!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x4dfb1c,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}};function _0x4f02dc(_0x22c282,_0x2f47d3,_0x3d6f7c,_0x1b05e2){if(_0x22c282 instanceof _0x491313['CKEditorError'])return _0x22c282;const _0x3bdc78=_0x22c282?.['data'];return new _0x491313['CKEditorError'](_0x2f47d3,_0x3d6f7c,void 0x0!==_0x3bdc78?{..._0x1b05e2,'backendData':_0x3bdc78}:_0x1b05e2,_0x22c282);}var _0x168031=class{_editor;_rootName;['_channelId'];['_sessionId'];_documentVersion;_contentRawOld;_contentRawNew;['_error'];_isAborted=!0x1;_droppedUnsupportedInlineChange=!0x1;constructor(_0x1e31ab){this['_editor']=_0x1e31ab['editor'],this['_rootName']=_0x1e31ab['rootName'],this['_channelId']=_0x1e31ab['channelId'],this['_sessionId']=_0x1e31ab['sessionId'];}get status(){return this['_error']?'error':this['_isAborted']?'aborted':void 0x0!==this['_contentRawNew']?'completed':'initialized';}get editor(){return this['_editor'];}get rootName(){return this['_rootName'];}get['channelId'](){return this['_channelId'];}get['sessionId'](){return this['_sessionId'];}get documentVersion(){return this['_documentVersion'];}set documentVersion(_0x3dac13){this['_documentVersion']=_0x3dac13;}get contentRawOld(){return this['_contentRawOld'];}set contentRawOld(_0xbeb5dd){this['_contentRawOld']=_0xbeb5dd;}get contentRawNew(){return this['_contentRawNew'];}set contentRawNew(_0x58eb31){this['_contentRawNew']=_0x58eb31;}get contentOld(){return this['_dropDataIds'](this['_contentRawOld']||'');}get contentNew(){return this['_dropDataIds'](this['_contentRawNew']||'');}get['error'](){return this['_error'];}set['error'](_0x397cc3){this['_error']=_0x397cc3;}get droppedUnsupportedInlineChange(){return this['_droppedUnsupportedInlineChange'];}set droppedUnsupportedInlineChange(_0x1bf933){this['_droppedUnsupportedInlineChange']=_0x1bf933;}abort(){this['_isAborted']=!0x0;}_dropDataIds(_0x3bccde){return _0x3bccde['replace'](/ data-id="[a-z0-9]+"/g,'');}},_0x50f64c=class extends _0x168031{['_summary']='';get['summary'](){return this['_summary'];}set['summary'](_0x3b8737){this['_summary']=_0x3b8737;}},_0x19639f=class{_results;constructor(_0x1e3784=[]){this['_results']=_0x1e3784;}_status='initialized';['_error'];abort(){'error'!==this['_status']&&(this['_status']='aborted');}get status(){return this['_status'];}set status(_0x14c6a9){this['_status']=_0x14c6a9;}get['error'](){return this['_error'];}set['error'](_0x3a1273){this['_status']='error',this['_error']=_0x3a1273;}get results(){return this['_results'];}addResult(..._0xd9d190){this['_results']['push'](..._0xd9d190);}},_0x23d345=class extends _0x491313['ContextPlugin']{static get['pluginName'](){return'AIDocumentProcessingGateway';}static get requires(){return[_0x31ca03,_0x3cc2b8,_0x1203f0,_0x23dba1];}get['models'](){return this['context']['plugins']['get'](_0x23dba1)['models'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async processDocument(_0x260a02,_0x398555){if(!_0x260a02)throw new _0x491313['CKEditorError']('ai-documentprocessinggateway-missing-prompt',this);const _0x3c0ceb=await this['context']['plugins']['get'](_0x3cc2b8)['getDocumentData'](),_0x11cdf5=_0x398555['roots'];if(0x0===(_0x11cdf5??_0x3c0ceb)['length'])throw new _0x491313['CKEditorError']('ai-documentprocessinggateway-empty-roots',this);if(_0x11cdf5){for(const _0x4f5c66 of _0x11cdf5)if(!_0x3c0ceb['some'](_0x3cd910=>_0x3cd910['rootName']===_0x4f5c66['rootName']&&_0x3cd910['channelId']===_0x4f5c66['channelId']))throw new _0x491313['CKEditorError']('ai-documentprocessinggateway-root-not-found',this,{'channelId':_0x4f5c66['channelId'],'rootName':_0x4f5c66['rootName']});}const _0x32e1e9=_0x11cdf5?_0x3c0ceb['filter'](_0x3c40bb=>_0x11cdf5['some'](_0xa13985=>_0xa13985['rootName']===_0x3c40bb['rootName']&&_0xa13985['channelId']===_0x3c40bb['channelId'])):_0x3c0ceb,_0x278424=[],_0x13ebd3=[];for(const _0x41afb7 of _0x32e1e9){const _0x5f076e={'editor':_0x41afb7['editor'],'rootName':_0x41afb7['rootName'],'sessionId':_0x41afb7['sessionId'],'channelId':_0x41afb7['channelId'],'contentRawOld':_0x41afb7['content'],'documentVersion':_0x41afb7['version']};_0x278424['push'](_0x5f076e),_0x13ebd3['push']({'type':'document','content':_0x5f076e['contentRawOld']});}const _0x1924c4=this['context']['plugins']['get']('AIConnector')['processDocument']({'content':_0x13ebd3,'prompt':_0x260a02,'model':_0x398555['model'],'capabilities':_0x5201e5['getCapabilitiesRequestData'](_0x398555['capabilities']),'contexts':_0x398555['contexts']});let _0x11e172;if(_0x398555?.['signal']){_0x398555['signal']['aborted']&&_0x1924c4['abortController']['abort']();const _0x25b486=_0x398555['signal'],_0xb60c0e=()=>_0x1924c4['abortController']['abort']();_0x25b486['addEventListener']('abort',_0xb60c0e),_0x11e172=()=>_0x25b486['removeEventListener']('abort',_0xb60c0e);}const _0x11de3b=new _0x19639f();let _0x408fe7=[];try{if(_0x408fe7=(await _0x1924c4['getResult']())['documents'],!(_0x408fe7&&_0x408fe7['length']>0x0))throw new _0x491313['CKEditorError']('ai-documentprocessinggateway-empty-reply',this);if(_0x408fe7['length']!==_0x13ebd3['length'])throw new _0x491313['CKEditorError']('ai-documentprocessinggateway-reply-count-mismatch',this,{'expected':_0x13ebd3['length'],'received':_0x408fe7['length']});const _0xccd272=_0x408fe7['findIndex'](({document:_0x4cd9ca})=>!_0x4cd9ca['length']);if(-0x1!==_0xccd272){const _0x480cba=_0x278424[_0xccd272];throw new _0x491313['CKEditorError']('ai-documentprocessinggateway-empty-root-content',this,{'channelId':_0x480cba['channelId'],'rootName':_0x480cba['rootName']});}_0x11de3b['status']='completed';}catch(_0x3cbcb8){_0x3cbcb8 instanceof Error&&_0x3cbcb8['message']['includes']('ai-request-aborted')?_0x11de3b['abort']():_0x11de3b['error']=_0x4f02dc(_0x3cbcb8,'ai-documentprocessinggateway-run-failed',this);}finally{_0x11e172&&_0x11e172();}if('completed'===_0x11de3b['status'])for(const [_0x6902b5,_0x5c9333]of _0x278424['entries']()){const {channelId:_0x397e7a,contentRawOld:_0x5d3bd1,documentVersion:_0xa92d31,editor:_0x30a09c,rootName:_0x4e7687,sessionId:_0x1fffd6}=_0x5c9333,_0x179395=new _0x50f64c({'channelId':_0x397e7a,'editor':_0x30a09c,'rootName':_0x4e7687,'sessionId':_0x1fffd6});_0x179395['contentRawOld']=_0x5d3bd1,_0x179395['documentVersion']=_0xa92d31,_0x179395['contentRawNew']=_0x408fe7[_0x6902b5]['document'],_0x179395['summary']=_0x408fe7[_0x6902b5]['summary'],_0x11de3b['addResult'](_0x179395);}return _0x11de3b;}applyResult(_0x59f117,_0x50770f){this['context']['plugins']['get']('AIGateway')['apply'](_0x59f117,_0x50770f);}};function _0x459de0(_0x19e338){return _0x19e338 instanceof Error&&('AbortError'===_0x19e338['name']||('AICoreError'===_0x19e338['name']?!0x0===_0x19e338['isAbort']:_0x19e338['message']['startsWith']('ai-request-aborted')));}var _0x393747=class extends Error{['code'];severity;type;context;isAbort;constructor(_0x5dd592){super(_0x5dd592['code'],_0x5dd592['cause']instanceof Error?{'cause':_0x5dd592['cause']}:void 0x0),this['name']='AICoreError',this['code']=_0x5dd592['code'],this['severity']=_0x5dd592['severity']??'error',this['type']=_0x5dd592['type']??'system',this['context']=_0x5dd592['context'],this['isAbort']=_0x5dd592['isAbort']??_0x459de0(_0x5dd592['cause']);}},_0x2e8f65=class extends _0x491313['ContextPlugin']{static get['pluginName'](){return'AIErrorSink';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}createReporter(_0x2be77b){return new _0x2df951(this,_0x2be77b);}},_0x2df951=class{['_sink'];_component;constructor(_0x4395d9,_0x549368){this['_sink']=_0x4395d9,this['_component']=_0x549368;}['logError'](_0x24a6e2,_0x50181f={}){this['_emit'](_0x24a6e2,_0x50181f),this['_defaultLog'](_0x24a6e2);}reportError(_0x4b5762,_0x2e040a={}){this['_emit'](_0x4b5762,_0x2e040a);}_emit(_0x5c1f25,_0x1cb8d6){_0x459de0(_0x5c1f25)||this['_sink']['fire']('error',{'error':_0x5c1f25,'component':this['_component'],'context':_0x1cb8d6['context']});}_defaultLog(_0x207a8d){if(!_0x459de0(_0x207a8d)){if(_0x207a8d instanceof _0x393747){if('user'===_0x207a8d['type']||'network'===_0x207a8d['type'])return;if('warning'===_0x207a8d['severity'])return void console['warn'](this['_component'],_0x207a8d);}console['error'](this['_component'],_0x207a8d);}}};const _0x4909b4='ck-ai-button-primary',_0x24c6ab='ck-ai-button-secondary',_0xa623f1='ck-ai-button-tertiary';function _0xeb048b(_0x42e947,_0x49f6ad){const _0xdace3d=new _0x491313['ButtonView'](_0x42e947),_0xf5583f=_0x258ab2(_0x42e947,'AI_TABS_LABEL_MINIMIZE'),_0x34c544=_0x258ab2(_0x42e947,'AI_TABS_LABEL_MAXIMIZE');return _0xdace3d['set']({'withText':!0x1,'icon':_0x491313['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+_0xa623f1}),_0xdace3d['bind']('label')['to'](_0x49f6ad,'isMaximized',_0x469fca=>_0x469fca?_0xf5583f:_0x34c544),_0xdace3d['bind']('icon')['to'](_0x49f6ad,'isMaximized',_0x318893=>_0x318893?_0x491313['IconMinimize']:_0x491313['IconMaximize']),_0xdace3d['bind']('isOn')['to'](_0x49f6ad,'isMaximized'),_0xdace3d['on']('execute',()=>{_0x49f6ad['fire']('resizeTabs');}),_0xdace3d;}function _0x2f3654(_0x4ab71b){const _0x447f71=new _0x491313['BodyCollection'](_0x4ab71b);return _0x447f71['attachToDom'](),_0x447f71['bodyCollectionContainer']['classList']['add']('ck-ai-body'),_0x447f71;}const _0x45b9ea=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x1573f1=class extends _0x45b9ea{['id'];interactionId;type;content=new Map();['sources']=[];parsedContent=new Map();parsedMergedContent=new Map();['changeGroups']=[];areActionsDisabled=!0x1;_outdatedReasonByDocumentId;isFromHistory=!0x1;documentContextContent;_documentIdToSource=new Map();['aiResponseParser'];['aiResponseApplier'];['locale'];cachedSuggestionContentParts={'withDiff':[],'withoutDiff':[]};constructor({type:_0x4ec5dd,isDone:_0x417ef7=!0x1,isComplete:_0x1e111f,interactionId:_0x4fc4d5,areActionsDisabled:_0x4a3b95,outdatedReasonByDocumentId:_0x118c58,isFromHistory:_0x545722=!0x1,documentContextContent:_0xfc839c,locale:_0x2059c4,id:_0x469094,channelsToEditors:_0x105056}){super(),this['id']=_0x469094||(0x0,_0x491313['uid'])(),this['interactionId']=_0x4fc4d5,this['type']=_0x4ec5dd,this['areActionsDisabled']=!!_0x4a3b95,this['_outdatedReasonByDocumentId']=_0x118c58,this['isFromHistory']=_0x545722,this['locale']=_0x2059c4,this['aiResponseParser']=new _0x5a3426(),this['aiResponseApplier']=new _0x296bea(),this['documentContextContent']=new Map(_0xfc839c?.['map'](_0x1c1e2f=>[_0x1c1e2f['id'],_0x5ec6ac(_0x1c1e2f['content'])])||[]),this['_documentIdToSource']=new Map(_0xfc839c?.['map'](_0x2efc5d=>[_0x2efc5d['id'],{'editor':_0x105056['get'](_0x2efc5d['channelId']),'rootName':_0x2efc5d['rootName']}])||[]),this['set']('isDone',_0x417ef7),this['set']('isComplete',_0x1e111f??_0x417ef7),'text'===this['type']&&this['content']['set']('text','');}appendContent(_0x2dcbf4,_0x1acda2){const _0x142edb='text'===this['type']?'text':_0x1acda2;this['content']['has'](_0x142edb)||this['content']['set'](_0x142edb,''),this['content']['set'](_0x142edb,this['content']['get'](_0x142edb)+_0x2dcbf4),this['onContentChange'](_0x142edb);}['done'](_0x4e7706=!0x0){this['isComplete']=_0x4e7706,this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}destroy(){this['stopListening']();}setChangeGroupState(_0x4af3d9,_0x21cfe4,_0x12f3a3){this['changeGroups'][_0x4af3d9]['state']=_0x21cfe4,this['changeGroups'][_0x4af3d9]['outdatedReason']=_0x12f3a3,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x4af3d9,'state':_0x21cfe4,'outdatedReason':_0x12f3a3});}getContentParts({showDiff:_0xd4e871,groupIndex:_0x324b24}){const _0x582b29=this['_getCachedContentParts'](_0xd4e871,_0x324b24);if(_0x582b29)return _0x582b29;let _0x3711ea;if(void 0x0===_0x324b24)_0x3711ea=this['changeGroups'];else{const _0x30e8c7=this['changeGroups']['find'](({index:_0x54cdd5})=>_0x54cdd5===_0x324b24);if(!_0x30e8c7)throw new _0x491313['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x324b24});_0x3711ea=[_0x30e8c7];}const _0x562bc4=_0x306b98({'showDiff':_0xd4e871,'changeGroups':_0x3711ea,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0xd4e871,_0x562bc4),_0x562bc4;}_getCachedContentParts(_0x1ecd14,_0x3b86b6){const _0x21b568=_0x1ecd14?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x21b568]['length'])return null;const _0x19456e=this['cachedSuggestionContentParts'][_0x21b568];if(void 0x0===_0x3b86b6)return _0x19456e['length']>0x0&&_0x19456e['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x1ecd14,null),null):wt(_0x19456e);{const _0x999685=_0x19456e['find'](({index:_0x444dcb})=>_0x444dcb===_0x3b86b6);if(_0x999685)return[wt(_0x999685)];}return null;}_setCachedContentParts(_0x3cd55c,_0x1eb81e){const _0x3534c0=_0x3cd55c?'withDiff':'withoutDiff';_0x1eb81e?_0x1eb81e['forEach'](_0x56971d=>{const _0x3552f2=this['cachedSuggestionContentParts'][_0x3534c0],_0x2360d5=_0x3552f2['find'](({index:_0xd12967})=>_0xd12967===_0x56971d['index']);if(_0x2360d5){const _0x4c03fb=_0x3552f2['indexOf'](_0x2360d5);_0x3552f2['splice'](_0x4c03fb,0x1,_0x56971d);}else _0x3552f2['push'](_0x56971d);}):this['cachedSuggestionContentParts'][_0x3534c0]['length']=0x0;}onContentChange(_0x1e33ed){if('modification'===this['type']){if(_0x1e33ed)this['parsedContent']['set'](_0x1e33ed,this['aiResponseParser']['parseAndNormalizeHTML'](this['content']['get'](_0x1e33ed)));else{for(const [_0x2b2036,_0x4a3d73]of this['content'])this['parsedContent']['set'](_0x2b2036,this['aiResponseParser']['parseAndNormalizeHTML'](_0x4a3d73));}const _0x16ff35=this['changeGroups'];for(const _0x32b9ea of this['content']['keys']())this['updateChangeGroups'](_0x32b9ea);const _0x275b8a=this['_getDifferentChangeGroups'](_0x16ff35,this['changeGroups']);(_0x275b8a['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x275b8a),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']['set']('text',this['aiResponseParser']['convertMarkdownToHTML'](this['content']['get']('text'))),this['fire']('replyContentUpdated',this);}_getDifferentChangeGroups(_0x139ae8,_0x246ea5){const _0x3ad4ad=[];for(const _0x106fe2 of _0x246ea5){const _0x3f82ac=_0x139ae8[_0x106fe2['index']];_0x3f82ac?_0x3f82ac['changes']['length']!==_0x106fe2['changes']['length']?_0x3ad4ad['push'](_0x106fe2):_0x3f82ac['changes']['forEach']((_0x10073c,_0x16af2d)=>{const _0x2e0f09=_0x106fe2['changes'][_0x16af2d];_0x10073c['id']!==_0x2e0f09['id']&&_0x3ad4ad['push'](_0x106fe2);}):_0x3ad4ad['push'](_0x106fe2);}return _0x3ad4ad;}updateChangeGroups(_0x5f4937){const _0x1ea25a=this['documentContextContent']['get'](_0x5f4937),_0x47a4a8=this['parsedContent']['get'](_0x5f4937);if(!_0x1ea25a||!_0x47a4a8)return;const _0x9bccf2=new _0x235f71('p',{},[new _0x235f71('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new _0x48e3aa(_0x258ab2(this['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x2499df=this['aiResponseApplier']['merge'](_0x47a4a8,_0x1ea25a['cloneNode'](!0x0),{'cutAfterUnstable':!this['isDone']||!this['isComplete'],'replaceRemovedWith':_0x9bccf2});this['parsedMergedContent']['set'](_0x5f4937,_0x2499df['parsedContent']);let _0x5d0acb=[];if(_0x1f89f7(_0x30c48c=>{const _0x23b77e=_0x42e922(_0x30c48c,'data-id');if(!_0x23b77e||!_0x214f6c(_0x23b77e))return!0x1;const _0x1cdd62=[_0x30c48c,..._0xe1c834(_0x30c48c)]['at'](-0x2);if(_0x30c48c!=_0x1cdd62){const _0x299473=_0x42e922(_0x1cdd62,'data-id');_0x214f6c(_0x299473)||(_0x5d0acb['push']({'node':_0x1cdd62,'id':_0x299473,'type':'modified'}),_0x2499df['modifiedNodeIds']['push'](_0x299473));}else _0x2499df['modifiedNodeIds']['includes'](_0x23b77e)?_0x5d0acb['push']({'node':_0x30c48c,'type':'modified','id':_0x23b77e}):_0x2499df['newNodeIds']['includes'](_0x23b77e)?_0x5d0acb['push']({'node':_0x30c48c,'type':'new','id':_0x23b77e,'anchorId':_0x42e922(_0x30c48c['previousSibling'],'data-id')}):_0x5d0acb['push']({'node':_0x30c48c,'type':'removed','id':_0x23b77e});return!0x0;},this['parsedMergedContent']['get'](_0x5f4937)),_0x5d0acb=_0x5d0acb['filter'](({node:_0x1275ae})=>[..._0xe1c834(_0x1275ae),_0x1275ae]['every'](_0x260a04=>!_0x42e922(_0x260a04,'data-unstable'))),this['changeGroups']=this['changeGroups']['filter'](_0x2bd694=>_0x2bd694['documentId']!==_0x5f4937),0x0==_0x5d0acb['length'])return;const _0x1965db=[[_0x5d0acb[0x0]]];for(let _0x26cb81=0x1;_0x26cb81<_0x5d0acb['length'];_0x26cb81++){const _0x2e059e=_0x1965db[_0x1965db['length']-0x1],_0x2aa0d2=_0x2e059e[_0x2e059e['length']-0x1];_0x5d0acb[_0x26cb81]['node']['previousSibling']==_0x2aa0d2['node']&&'modified'!=_0x5d0acb[_0x26cb81]['type']&&'modified'!=_0x2aa0d2['type']?_0x2e059e['push'](_0x5d0acb[_0x26cb81]):_0x1965db['push']([_0x5d0acb[_0x26cb81]]);}for(const _0xe8e939 of _0x1965db){const _0x373bff=_0xe8e939[0x0],_0x2dba09=_0xe8e939[_0xe8e939['length']-0x1],_0x4f3f86=_0x1add0c(_0x373bff['node']['previousSibling']);_0x4f3f86&&_0xe8e939['unshift'](_0x4f3f86);const _0x753d2f=_0x1add0c(_0x2dba09['node']['nextSibling']);_0x753d2f&&_0xe8e939['push'](_0x753d2f);}_0x290d95('data-wrapped-id',null,this['parsedMergedContent']['get'](_0x5f4937))['forEach'](_0x40a40f=>{_0x36da29(_0x40a40f,'data-wrapped-id',null);});const _0x12728c=new Map();_0x290d95('data-unwrapped-id',null,this['parsedMergedContent']['get'](_0x5f4937))['forEach'](_0x4dc132=>{const _0x4e2a57=_0x42e922(_0x4dc132,'data-unwrapped-id'),_0x2bfd39=_0x42e922(_0x4dc132,'data-id');_0x12728c['set'](_0x2bfd39,_0x4e2a57),_0x36da29(_0x4dc132,'data-id',_0x4e2a57),_0x36da29(_0x4dc132,'data-unwrapped-id',null);});for(const _0x2a9b3e of _0x5d0acb){const _0xa85785=_0x12728c['get'](_0x2a9b3e['id']);_0xa85785&&(_0x2a9b3e['id']=_0xa85785);}this['changeGroups']['push'](..._0x1965db['map']((_0x20ca41,_0x2a600d)=>{const _0x23ad47=this['_documentIdToSource']['get'](_0x5f4937),_0x47744e=this['_outdatedReasonByDocumentId']?.['get'](_0x5f4937),_0x59d1bc=this['areActionsDisabled']||void 0x0!==_0x47744e;return{'changes':_0x20ca41,'state':_0x59d1bc?'outdated':'pending','outdatedReason':_0x59d1bc?_0x47744e:void 0x0,'index':_0x2a600d,'editor':_0x23ad47['editor'],'rootName':_0x23ad47['rootName'],'documentId':_0x5f4937};}));const _0x2ec430=Array['from'](this['documentContextContent']['keys']());function _0x214f6c(_0x38ef10){return _0x2499df['modifiedNodeIds']['includes'](_0x38ef10)||_0x2499df['newNodeIds']['includes'](_0x38ef10)||_0x2499df['removedNodeIds']['includes'](_0x38ef10);}function _0x1add0c(_0x32cc5f){if(_0x32cc5f&&_0x42e922(_0x32cc5f,'data-id')&&!_0x42e922(_0x32cc5f,'data-unstable')){const _0x50a9a3=_0x42e922(_0x32cc5f,'data-id');if(!_0x214f6c(_0x50a9a3))return{'node':_0x32cc5f,'type':'context','id':_0x50a9a3};}return null;}this['changeGroups']['sort']((_0x81429a,_0xae8c38)=>_0x2ec430['indexOf'](_0x81429a['documentId'])-_0x2ec430['indexOf'](_0xae8c38['documentId'])),this['changeGroups']['forEach']((_0x245487,_0x50edd2)=>{_0x245487['index']=_0x50edd2;});}};const _0x3ed413=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['EmitterMixin'])(),_0x2daff2=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];var _0x5c4daf=class extends _0x3ed413{['id'];['replies']=[];currentReply;['messageId'];actionCallId;currentRequest;connector;isStopped=!0x1;isDestroyed=!0x1;['locale'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;_channelsToEditors;constructor({connector:_0x39a425,locale:_0x4942ea,channelsToEditors:_0x527fee}){super(),this['id']=(0x0,_0x491313['uid'])(),this['connector']=_0x39a425,this['isStopped']=!0x0,this['locale']=_0x4942ea,this['_channelsToEditors']=_0x527fee||new Map();}async start(){await this['_run']();}async['resume'](_0x50318c){await this['_run'](_0x50318c);}async['_run'](_0x4a6881){const _0x29322e=[];let _0x560e94,_0x203a9f,_0x19536a,_0x574c12=!0x1;this['isStopped']=!0x1;try{this['currentRequest']=_0x4a6881||this['sendRequest'](),this['fire']('interactionStarted',this);const _0x5c434f=await this['currentRequest']['getStream']();for await(const _0x6d758e of _0x5c434f){if(this['isStopped'])return;if('error'==_0x6d758e['event'])return void this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x6d758e['event']){case'message-metadata':this['messageId']=_0x6d758e['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x6d758e['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x6d758e['data']['conversationTitle'],!0x0);break;case'source':_0x29322e['push'](_0x6d758e['data']['source']);break;case'web-search':this['_isWebSearching']||(this['_isWebSearching']=!0x0,this['fire']('webSearchStarted',this));break;case'reasoning':this['_isReasoning']||(this['_isReasoning']=!0x0,this['fire']('reasoningStarted',this));break;case'modification-delta':case'text-delta':this['resetReasoningState'](),this['resetWebSearchState'](),_0x560e94='modification-delta'==_0x6d758e['event']?'modification':'text',_0x203a9f='modification-delta'==_0x6d758e['event']?_0x6d758e['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x560e94&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x560e94,'interactionId':this['id'],'id':_0x203a9f,'channelsToEditors':this['_channelsToEditors'],...'modification-delta'==_0x6d758e['event']&&{'documentId':_0x6d758e['data']['documentId']}}),'modification'==_0x560e94&&(this['currentReply']['sources']=_0x29322e['splice'](0x0))),this['currentReply']['appendContent'](_0x6d758e['data']['textDelta'],_0x6d758e['data']['documentId']);break;case'mcp-tool-result':_0x19536a=JSON['parse'](_0x6d758e['data']['result']),this['_handleToolResultData']({'toolName':_0x6d758e['data']['toolName'],'data':_0x19536a['data'],'attributes':_0x19536a['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x6d758e['data']['toolName'],'data':_0x6d758e['data']['data']});}}_0x574c12=!0x0;}finally{this['isStopped']||(this['currentReply']&&_0x29322e['length']>0x0&&(this['currentReply']['sources']=_0x29322e['splice'](0x0)),this['_finalizeInteraction'](_0x574c12),this['fire']('interactionFinished',this));}}stop(){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}getReply(_0x604c8a){return this['replies']['find'](_0x14d8d7=>_0x14d8d7['id']===_0x604c8a);}destroy(){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x2413e9=>_0x2413e9['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}createReply(_0x3b9dd6){const _0x1a8a3e=this['getDocumentContext'](),_0x4b37c5=new _0x1573f1({'locale':this['locale'],'documentContextContent':_0x1a8a3e?.['documents'],..._0x3b9dd6});return this['replies']['push'](_0x4b37c5),_0x4b37c5['delegate'](..._0x2daff2)['to'](this),this['fire']('replyCreated',_0x4b37c5),_0x4b37c5;}setConversationTitle(_0x2b572e,_0x142fa9=!0x1){this['fire']('setConversationTitle',_0x2b572e,_0x142fa9);}resetWebSearchState(){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}resetReasoningState(){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}_handleToolResultData(_0x4252ae){this['fire']('toolDataReceived',{'type':'result','toolName':_0x4252ae['toolName'],'data':structuredClone(_0x4252ae['data']||{}),'attributes':structuredClone(_0x4252ae['attributes']||{})},this);}_handleToolNotificationData(_0x1f03b0){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x1f03b0['toolName'],'data':structuredClone(_0x1f03b0['data'])},this);}_finalizeInteraction(_0x2053de=!0x1){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](_0x2053de),this['currentRequest']=this['currentReply']=void 0x0;}};const _0x4389bd='defaultContextIds',_0x2f04da=/* #__PURE__  -- @preserve */
/* #__PURE__  -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x518964=class AIContext extends _0x2f04da{['_refs'];constructor(_0x292958=[]){super(),this['_refs']=[..._0x292958];}get['refs'](){return[...this['_refs']];}get isEmpty(){return 0x0===this['_refs']['length'];}cloneWith(..._0x52fe80){return new AIContext([...this['_refs'],..._0x52fe80]);}addDefaultContext(_0x32ae18){this['_refs']=[...this['_refs'],..._0x32ae18];}toRequestParts(_0x3c1762=[]){return[...this['_refs']['map'](_0x3827b5),..._0x3c1762];}toMessageAttributes(_0x3b12f5){return this['isEmpty']?_0x3b12f5:{..._0x3b12f5,[_0x4389bd]:[...new Set(this['_refs']['map'](_0x920051=>_0x920051['id']))]};}static getDefaultContextIds(_0x6afb26){const _0x43721d=_0x6afb26&&_0x6afb26[_0x4389bd];return new Set(Array['isArray'](_0x43721d)?_0x43721d:[]);}};const _0x2eccf8=new Map([['usage-limits-exceeded','ai-usage-limits-exceeded'],['rate-limits-exceeded','ai-rate-limits-exceeded'],['invalid-content-type','ai-invalid-content-type'],['invalid-request-data','ai-chat-invalid-request'],['model-already-set','ai-chat-model-already-set'],['model-not-found','ai-chat-model-not-found'],['unsafe-content-detected','ai-chat-unsafe-content-detected'],['unsupported-content-type','ai-chat-unsupported-content-type'],['content-too-large','ai-chat-content-too-large'],['unsupported-file-type','ai-chat-context-unsupported-file-type'],['file-too-large','ai-chat-context-file-too-large'],['file-too-many-pages','ai-chat-context-file-too-many-pages'],['form-data-size-limits-exceeded','ai-chat-context-form-data-size-limits-exceeded']]),_0x263d0e=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];var _0x4fe32e=class AIChatContext extends _0x518964{_connector;['_config'];['_ownerId'];constructor({connector:_0x3e800b,config:_0x2c540a,ownerId:_0x56858e}){super(),this['_connector']=_0x3e800b,this['_config']=_0x2c540a,this['_ownerId']=_0x56858e;}init(){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}getPendingContextItems(){return new Map(this['_pendingContextItems']);}async populateFromMessage(_0x3808af,_0x54c547,_0x7b1fa7=new Set()){const _0x241405=new Map(),{contextItem:_0xf5ee8d,unmatchedDocumentIds:_0x1d4d29}=await this['_populateDocumentContextItem'](_0x3808af,_0x54c547);_0xf5ee8d&&_0x241405['set'](_0xf5ee8d['id'],_0xf5ee8d);for(const _0x2ddacc of _0x3808af){if('document'===_0x2ddacc['type'])continue;const _0x58dcd8=await this['_createContextItemFromContent'](_0x2ddacc,_0x7b1fa7);'context'!==_0x58dcd8['type']&&this['_addToConversationContextItem'](_0x58dcd8),_0x241405['set'](_0x58dcd8['id'],_0x58dcd8);}return{'contextItems':_0x241405,'hasUnmatched':_0x1d4d29['size']>0x0,'unmatchedDocumentIds':_0x1d4d29};}async _populateDocumentContextItem(_0x1f37ee,_0x1732f4){const _0x3871b6=_0x1f37ee['filter'](_0x1b10ab=>'document'===_0x1b10ab['type']);if(0x0===_0x3871b6['length'])return{'unmatchedDocumentIds':new Set()};const _0xc38aa6=_0x3871b6['map'](_0x2df04e=>_0x2df04e['id']),_0x3b293b=await this['_connector']['fetchDocuments'](this['_ownerId'],_0xc38aa6)['getDocuments'](),_0xbd5392=new Map(_0x3b293b['map'](_0x533dcf=>[_0x533dcf['id'],_0x533dcf])),_0xda7ce5=[],_0x113874=new Set();for(const _0x2e5f50 of _0x3871b6){const _0x33210a=_0xbd5392['get'](_0x2e5f50['id']);_0x33210a&&(this['_matchDocumentToRoot'](_0x33210a,_0x1732f4)||_0x113874['add'](_0x33210a['id']),_0xda7ce5['push']({'id':_0x33210a['id'],'content':_0x33210a['content'],'version':_0x33210a['attributes']?.['version']??0x0,'sessionId':_0x33210a['attributes']?.['sessionId']??null,'selection':[],'selectionSignature':'','channelId':_0x33210a['attributes']?.['channelId']??_0x1732f4[0x0]?.['config']['get']('collaboration.channelId')??'','rootName':_0x33210a['attributes']?.['rootName']??_0x1732f4[0x0]?.['model']['document']['getRoots']()[0x0]['rootName']??'','editorConfig':_0x2e5f50['editorConfig']}));}const _0x30003f={'id':'current-document','uiId':'current-document','label':'Current\x20document','type':'document','hidden':this['_conversationContextItems']['has']('current-document'),'documents':_0xda7ce5};return this['_addToConversationContextItem'](_0x30003f),this['toggleAddCurrentDocumentOptionVisibility'](),{'contextItem':_0x30003f,'unmatchedDocumentIds':_0x113874};}_matchDocumentToRoot(_0x1e25a1,_0x27acd7){const _0x15f7bf=_0x1e25a1['attributes']?.['channelId'],_0x57f1a4=_0x1e25a1['attributes']?.['rootName'];if(_0x15f7bf&&_0x57f1a4){for(const _0xea695f of _0x27acd7)if(_0xea695f['config']['get']('collaboration.channelId')===_0x15f7bf){for(const _0x3b4a4e of _0xea695f['model']['document']['getRoots']())if('$graveyard'!==_0x3b4a4e['rootName']&&_0x3b4a4e['rootName']===_0x57f1a4)return{'editor':_0xea695f,'rootName':_0x3b4a4e['rootName']};}}}async _createContextItemFromContent(_0x3529c0,_0x5104ce=new Set()){return'mcp-tool-context'===_0x3529c0['type']?{'id':_0x3529c0['id'],'uiId':_0x3529c0['id'],'label':_0x3529c0['data']?.['label']||_0x3529c0['id'],'type':'mcp-tool-context','mcpServerName':_0x3529c0['mcpServerName'],'toolName':_0x3529c0['toolName'],'data':_0x3529c0['data']||{}}:{'id':_0x3529c0['id'],'uiId':_0x3529c0['id'],'label':_0x3529c0['attributes']?.['label']||_0x3529c0['name']||_0x3529c0['url']||_0x3529c0['id'],'type':_0x3529c0['type'],..._0x3529c0?.['attributes']?.['resourceId']?{'resourceId':_0x3529c0['attributes']?.['resourceId']}:{},...'context'===_0x3529c0['type']&&_0x5104ce['has'](_0x3529c0['id'])?{'hidden':!0x0}:{}};}getSentContextItems(){return new Map(this['_conversationContextItems']);}removeFromContext(_0x326ecd){this['_pendingContextItems']['get'](_0x326ecd)?.['isReadOnly']||this['_removeContextItem'](_0x326ecd);}clearPendingContextItems(){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x21142b of this['_pendingContextItems']['values']())'context'!==_0x21142b['type']&&this['_removeContextItem'](_0x21142b['uiId']);const _0x1d61a0=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x1d61a0&&this['_addContextItem']({..._0x1d61a0,'isReadOnly':!0x0,'hidden':!0x0});}addToConversationContext(_0x4015bc){for(const _0x5f1a01 of _0x4015bc['values']())'context'!==_0x5f1a01['type']&&this['_addToConversationContextItem'](_0x5f1a01);this['clearPendingContextItems'](),this['fire']('contextSent',{'contextItems':Array['from'](this['getSentContextItems']()['values']())});}isCurrentDocumentInContext(){return this['_pendingContextItems']['has']('current-document');}isSelectionInContext(){return this['_pendingContextItems']['has']('selection');}isCurrentDocumentInConversation(){return this['_conversationContextItems']['has']('current-document');}static mapContextItemsToRequestData(_0x9c3d11){return Array['from'](_0x9c3d11['values']())['flatMap'](_0x22946a=>this['_mapContextItemToRequestData'](_0x22946a));}async addFilesToContext(_0x53c1d6,_0x387aa4,_0x4bb013='file'){const _0x5d3047='files-'+(0x0,_0x491313['uid'])();this['_startUploadOperation'](_0x5d3047);try{await Promise['all'](_0x53c1d6['map'](async _0x31c497=>{const _0x5d4b36='file-'+(0x0,_0x491313['uid'])(),_0x239d6e=Zt(_0x31c497['name']),_0x34dfea='file'===_0x4bb013&&_0x31c497['type']['startsWith']('image/')?'image':_0x4bb013;try{this['_addContextItem']({'type':_0x34dfea,'label':_0x387aa4?.['label']||_0x239d6e,'uiId':_0x5d4b36,'resourceId':_0x387aa4?.['resourceId']},!0x0);const _0x2f6ad5=this['_connector']['uploadFile'](this['_ownerId'],_0x31c497,_0x387aa4);this['_ongoingUploads']['set'](_0x5d4b36,_0x2f6ad5['abortController']);const {id:_0x2e4a1a}=await _0x2f6ad5['getId']();this['_ongoingUploads']['delete'](_0x5d4b36),this['_finishContextItemLoading']({'type':_0x34dfea,'id':_0x2e4a1a,'label':_0x387aa4?.['label']||_0x239d6e,'uiId':_0x5d4b36,'resourceId':_0x387aa4?.['resourceId']},!0x1);}catch(_0x4fe591){if(this['_ongoingUploads']['delete'](_0x5d4b36),!_0x459de0(_0x4fe591)){const _0x4aefdd=new _0x393747({'code':_0x2eccf8['get'](_0x4fe591['code'])||'ai-chat-file-upload-failed','cause':_0x4fe591,'context':{'fileName':_0x239d6e}});this['fire']('error',{'error':_0x4aefdd});}this['_removeContextItem'](_0x5d4b36);}}));}finally{this['_finishUploadOperation'](_0x5d3047);}}addCurrentDocumentToContext(_0x467e2d){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x318fb8={'type':'document','uiId':'current-document','label':_0x467e2d,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x318fb8);}getCurrentDocumentContext(){return this['_pendingContextItems']['get']('current-document');}async updateCurrentDocuments(_0x27926e,_0xc3eeec){const _0x4486b9=this['getCurrentDocumentContext']();if(!_0x4486b9)return;_0x27926e['length']>0x1&&_0x27926e['some'](_0x101c78=>!_0x101c78['description'])&&(0x0,_0x491313['logWarning'])('ai-chat-documents-missing-description');try{const _0x3a082e=(_0x4486b9['documents']||[])['filter'](_0x5dda0f=>_0xc3eeec['has'](_0x5dda0f['channelId']));if(!_0x27926e['length'])return void(_0x4486b9['documents']=_0x3a082e);const _0x4f11d7=await this['_connector']['uploadDocuments'](this['_ownerId'],_0x27926e)['getIds']();if(_0x4f11d7['length']!==_0x27926e['length']||_0x4f11d7['some'](_0x391208=>!_0x391208?.['id'])){const _0x4d455b=new _0x491313['CKEditorError']('ai-chat-document-upload-reply-mismatch',null);return void this['fire']('error',{'error':_0x4d455b});}const _0x536fae=_0x27926e['map']((_0x500d8b,_0x39a481)=>{return{'id':_0x4f11d7[_0x39a481]['id'],'content':_0x500d8b['content'],'version':_0x500d8b['version'],'sessionId':_0x500d8b['sessionId'],'selection':(_0x30eeb3=_0x500d8b['selections'],_0x30eeb3?_0x30eeb3['map'](_0xd2d490=>({'start':_0xd2d490['start'],'end':_0xd2d490['end']})):[]),'selectionSignature':_0x500d8b['selectionSignature'],'channelId':_0x500d8b['channelId'],'rootName':_0x500d8b['rootName'],'editorConfig':_0x500d8b['editorConfig']};var _0x30eeb3;});_0x4486b9['documents']=[..._0x3a082e,..._0x536fae];}catch(_0x295f36){throw new _0x393747({'code':'ai-chat-document-upload-failed','type':'network','cause':_0x295f36});}}addSelectionToContext(_0x5160d4){this['_addContextItem']({'type':'selection','label':_0x5160d4,'uiId':'selection','content':_0x5160d4});}removeSelectionFromContext(){this['_removeContextItem']('selection');}async addUrlToContext(_0x21c2ac,_0x1353d3){const _0x2c197a='url-'+(0x0,_0x491313['uid'])();this['_startUploadOperation'](_0x2c197a);const _0x37ef33='url-'+(0x0,_0x491313['uid'])();try{this['_addContextItem']({'type':'web-resource','label':_0x1353d3?.['label']||_0x21c2ac,'uiId':_0x37ef33,'resourceId':_0x1353d3?.['resourceId']},!0x0);const _0x579e01=this['_connector']['uploadUrl'](this['_ownerId'],_0x21c2ac,_0x1353d3);this['_ongoingUploads']['set'](_0x37ef33,_0x579e01['abortController']);const {id:_0x5a4869}=await _0x579e01['getId']();this['_ongoingUploads']['delete'](_0x37ef33),this['_finishContextItemLoading']({'type':'web-resource','id':_0x5a4869,'label':_0x1353d3?.['label']||_0x21c2ac,'uiId':_0x37ef33,'resourceId':_0x1353d3?.['resourceId']},!0x1);}catch(_0x527320){this['_ongoingUploads']['delete'](_0x37ef33),_0x459de0(_0x527320)||this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x21c2ac,'originalError':_0x527320}),'url':_0x21c2ac}),this['_removeContextItem'](_0x37ef33);}finally{this['_finishUploadOperation'](_0x2c197a);}}addToolItemToContext(_0x34ebd9){_0x34ebd9['id']=_0x34ebd9['id']??(0x0,_0x491313['uid'])()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x34ebd9['uiId'],_0x34ebd9),this['fire']('contextItemAdded',{'contextItem':_0x34ebd9,'isLoading':!0x1});}async['loadSourceResources'](_0x223cfa,_0x1e71f9,_0x303df9){const _0xef4995=this['_addContextOptionsState']['sources']['find'](_0x5e4552=>_0x5e4552['id']===_0x223cfa);if(!_0xef4995)return this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x223cfa}),'sourceId':_0x223cfa}),[];try{const _0x29c4c2=(await _0xef4995['getResources'](_0x1e71f9))['map'](_0x1fac1e=>{const _0x26bca9=this['_isResourceInContext'](_0x1fac1e['id']);return{..._0x1fac1e,'isInContext':_0x26bca9};});return _0xef4995['resources']=_0x29c4c2,this['fire']('sourceResourcesLoaded',{'sourceId':_0x223cfa,'source':_0xef4995,'resources':_0x29c4c2,'uid':_0x303df9}),_0x29c4c2;}catch(_0x54e191){return this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x223cfa,'originalError':_0x54e191}),'sourceId':_0x223cfa,'sourceLabel':_0xef4995['label']}),[];}}async addResourceToContext(_0x2a4148,_0x511e77){if(this['_isResourceInContext'](_0x511e77['id']))return;if('context'===_0x511e77['type'])return void this['_addContextItem']({'type':'context','id':_0x511e77['id'],'label':_0x511e77['label'],'uiId':'context-'+(0x0,_0x491313['uid'])(),'resourceId':_0x511e77['id']});let _0x265d87=_0x511e77['data'];if(!_0x265d87&&_0x2a4148['getData'])try{_0x265d87=await _0x2a4148['getData'](_0x511e77['id']);}catch(_0x4d2ea4){return void this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id'],'originalError':_0x4d2ea4}),'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id']});}if(_0x265d87)switch(_0x511e77['type']){case'web-resource':if('string'!=typeof _0x265d87)return void this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id'],'expectedType':'string','actualType':typeof _0x265d87}),'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id']});await this['addUrlToContext'](_0x265d87,{'label':_0x511e77['label'],'resourceId':_0x511e77['id']});break;case'file':if(!(_0x265d87 instanceof File))return void this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id'],'expectedType':'File','actualType':typeof _0x265d87}),'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id']});await this['addFilesToContext']([_0x265d87],{'label':_0x511e77['label'],'resourceId':_0x511e77['id']});break;case'text':if('object'!=typeof _0x265d87||!('content'in _0x265d87)||!('type'in _0x265d87))return void this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x265d87}),'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id']});_0x265d87=AIChatContext['_convertTextResourceToFile'](_0x265d87,_0x511e77['label']),await this['addFilesToContext']([_0x265d87],{'label':_0x511e77['label'],'resourceId':_0x511e77['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id'],'resourceType':_0x511e77['type']}),'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id']});}else this['fire']('error',{'error':new _0x491313['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id']}),'resourceId':_0x511e77['id'],'sourceId':_0x2a4148['id']});}addContextSource(_0x192d77){this['_addContextOptionsState']['sources']['some'](_0x76b0b1=>_0x76b0b1['id']===_0x192d77['id'])||(this['_addContextOptionsState']['sources']['push']({..._0x192d77,'resources':[]}),this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']}));}toggleAddCurrentDocumentOptionVisibility(_0x2fe43b){if(void 0x0!==_0x2fe43b)this['_addContextOptionsState']['document']['isHidden']=!_0x2fe43b;else{const _0x2be581=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x2be581;}this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}static _convertTextResourceToFile(_0x2eb64f,_0x67049f){switch(_0x2eb64f['type']){case'markdown':return new File([_0x2eb64f['content']],_0x67049f,{'type':'text/markdown'});case'html':return new File([_0x2eb64f['content']],_0x67049f,{'type':'text/html'});default:return new File([_0x2eb64f['content']],_0x67049f,{'type':'text/plain'});}}static _mapContextItemToRequestData(_0x287f0a){switch(_0x287f0a['type']){case'file':case'image':case'text':return[{'type':'file','id':_0x287f0a['id']}];case'web-resource':return[{'type':'web-resource','id':_0x287f0a['id']}];case'context':return[{'type':'context','id':_0x287f0a['id']}];case'document':return _0x287f0a['documents']?.['length']?_0x287f0a['documents']['map'](({id:_0x53d974,editorConfig:_0x5cf8b8,selection:_0x39fa9f})=>({'type':'document','id':_0x53d974,..._0x5cf8b8&&{'editorConfig':_0x5cf8b8},..._0x39fa9f?.['length']&&{'selection':_0x39fa9f}})):[];case'mcp-tool-context':{const _0x40aace=_0x287f0a;return[{'type':'mcp-tool-context','mcpServerName':_0x40aace['mcpServerName'],'toolName':_0x40aace['toolName'],'data':{..._0x40aace['data'],'label':_0x40aace['label']||_0x40aace['data']?.['label']||_0x40aace['id']},'id':_0x40aace['id']}];}default:return[];}}_addContextItem(_0xc52112,_0xdc6f60=!0x1){if(this['_pendingContextItems']['set'](_0xc52112['uiId'],_0xc52112),_0xc52112['hidden']||this['fire']('contextItemAdded',{'contextItem':_0xc52112,'isLoading':_0xdc6f60}),'current-document'===_0xc52112['uiId']&&this['toggleAddCurrentDocumentOptionVisibility'](),_0xc52112['resourceId']){const _0xb7249f=this['_findSourceIdsByResourceId'](_0xc52112['resourceId']);_0xb7249f&&_0xb7249f['forEach'](_0x4981d2=>{this['_updateResourceInContextState'](_0x4981d2,_0xc52112['resourceId'],!0x0);});}}_removeContextItem(_0xc8419a){const _0x323373=this['_pendingContextItems']['get'](_0xc8419a),_0x1e8add=this['_ongoingUploads']['get'](_0xc8419a);if(_0x1e8add&&(_0x1e8add['abort'](),this['_ongoingUploads']['delete'](_0xc8419a)),_0x323373?.['resourceId']){const _0x54f3d7=this['_findSourceIdsByResourceId'](_0x323373['resourceId']);_0x54f3d7&&_0x54f3d7['forEach'](_0x378caf=>{this['_updateResourceInContextState'](_0x378caf,_0x323373['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0xc8419a),this['fire']('contextItemRemoved',{'uiId':_0xc8419a,'type':_0x323373?.['type']}),'current-document'===_0xc8419a&&this['toggleAddCurrentDocumentOptionVisibility']();}_finishContextItemLoading(_0x2df959,_0x529dfb){if(this['_pendingContextItems']['has'](_0x2df959['uiId'])&&(this['_pendingContextItems']['set'](_0x2df959['uiId'],_0x2df959),this['fire']('contextItemLoadingEnded',{'contextItem':_0x2df959,'isLoading':_0x529dfb}),_0x2df959['resourceId'])){const _0x401741=this['_findSourceIdsByResourceId'](_0x2df959['resourceId']);_0x401741&&_0x401741['forEach'](_0x42c687=>{this['_updateResourceInContextState'](_0x42c687,_0x2df959['resourceId'],!0x0);});}}_addToConversationContextItem(_0x8da01d){this['_conversationContextItems']['set'](_0x8da01d['uiId'],_0x8da01d);}_setAddContextOptionsDefaultState(){this['_addContextOptionsState']={'document':{'enabled':!0x1!==this['_config']?.['document']?.['enabled'],'isHidden':!0x1},'urls':{'enabled':!0x1!==this['_config']?.['urls']?.['enabled']},'files':{'enabled':!0x1!==this['_config']?.['files']?.['enabled']},'sources':this['_getCustomSourcesInitialState'](),'customItems':this['_config']?.['customItems']?.['map'](_0x5a9ff0=>({..._0x5a9ff0,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}_getCustomSourcesInitialState(){return this['_config']?.['sources']?.['map'](_0x5d82f2=>({..._0x5d82f2,'resources':[]}))??[];}_isResourceInContext(_0x39d3d2){for(const _0x1fff39 of this['_pendingContextItems']['values']())if(_0x1fff39['resourceId']===_0x39d3d2)return!0x0;for(const _0xa82a63 of this['_conversationContextItems']['values']())if(_0xa82a63['resourceId']===_0x39d3d2)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x41d932){const _0x5947ba=[];for(const _0x4b6609 of this['_addContextOptionsState']['sources'])_0x4b6609['resources']['find'](_0x4286be=>_0x4286be['id']===_0x41d932)&&_0x5947ba['push'](_0x4b6609['id']);return 0x0===_0x5947ba['length']?null:_0x5947ba;}_updateResourceInContextState(_0x4e439f,_0x1859f4,_0x17c9a){const _0x28421f=this['_addContextOptionsState']['sources']['find'](_0x41464b=>_0x41464b['id']===_0x4e439f);if(!_0x28421f)return;const _0x3aff18=_0x28421f['resources']['find'](_0x131741=>_0x131741['id']===_0x1859f4);_0x3aff18&&(_0x3aff18['isInContext']=_0x17c9a,this['fire']('resourceStateChanged',{'sourceId':_0x4e439f,'resourceId':_0x1859f4,'isInContext':_0x17c9a}));}_startUploadOperation(_0x1d445f){this['_ongoingUploadOperations']['set'](_0x1d445f,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}_finishUploadOperation(_0x51fbe5){this['_ongoingUploadOperations']['delete'](_0x51fbe5),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}},_0x252f6f=class extends _0x5c4daf{['userMessage'];conversationId;contextItems=new Map();capabilities;['model'];attributes;context;constructor(_0x1c797e){super(_0x1c797e),this['conversationId']=_0x1c797e['conversationId'],this['contextItems']=_0x1c797e['contextItems'],this['capabilities']=_0x1c797e['capabilities'],this['userMessage']=_0x1c797e['userMessage'],this['model']=_0x1c797e['model'],this['attributes']=_0x1c797e['attributes'],this['context']=_0x1c797e['context']??new _0x518964();}sendRequest(){const _0x48b18c=_0x4fe32e['mapContextItemsToRequestData'](this['contextItems']),_0x457a16=this['context']['toRequestParts'](_0x48b18c);return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':_0x457a16,'capabilities':_0x5201e5['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['context']['toMessageAttributes'](this['attributes'])});}getDocumentContext(){return this['contextItems']['get']('current-document');}};const _0x5169e9=/* #__PURE__  -- @preserve */
/* #__PURE__  -- @preserve */
(0x0,_0x491313['EmitterMixin'])();var _0x421b4c=class extends _0x5169e9{['id'];isStarted=!0x1;isFromHistory;interactions=[];currentInteraction;selectedModel;connector;options;_abortReject;_channelsToEditors;_getSessionId;constructor(_0x4ccbf4){super(),this['options']=_0x4ccbf4,this['connector']=_0x4ccbf4['connector'],this['chatModels']=_0x4ccbf4['chatModels'],this['id']=_0x4ccbf4['conversationId'],this['isFromHistory']=_0x4ccbf4['isFromHistory'],this['_channelsToEditors']=_0x4ccbf4['channelsToEditors'],this['_getSessionId']=_0x4ccbf4['getSessionId'];}async init(_0x35d70b){try{this['chatContext']=new _0x4fe32e({'connector':this['connector'],'config':_0x35d70b,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x263d0e)['to'](this),this['chatContext']['init'](),this['options']['contextLibrary']?.['resolveContext']({'feature':'chat','extraContexts':this['options']['extraContexts'],'context':this['chatContext']}),this['chatCapabilities']=new _0x5201e5(),this['chatCapabilities']['delegate'](..._0x145da1)['to'](this),this['chatCapabilities']['init']();const _0x81e521=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x81e521});const _0x317d36=await this['chatModels']['resolveModel'](this['options']['selectedModelId']);_0x317d36&&await this['setModel'](_0x317d36);}catch(_0x2e5468){const _0x5c8437=new _0x393747({'code':'ai-chat-conversation-init-failed','cause':_0x2e5468,'type':'network'});this['fire']('error',{'error':_0x5c8437});}}async start(){if(this['isStarted'])throw new _0x491313['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x491313['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x6f99fe}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x6f99fe,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x5d813d){const _0x1a9aaa=new _0x393747({'code':'ai-chat-conversation-start-failed','cause':_0x5d813d,'type':'network','context':{'conversationId':this['id']}});throw this['fire']('error',{'error':_0x1a9aaa}),_0x1a9aaa;}}async['load'](_0x13dc33){try{const _0x19fab5=await this['connector']['fetchConversation'](_0x13dc33)['getConversation'](),_0xde2d2=await this['connector']['fetchConversationMessages'](_0x13dc33)['getMessages'](),_0xc2cd2f=_0xde2d2[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x19fab5['id'],'title'in _0x19fab5?this['fire']('setConversationTitle',_0x19fab5['title'],!this['isFromHistory']):this['fire']('setConversationTitle','',!this['isFromHistory']),this['selectedModel']=await this['chatModels']['getModel'](_0xc2cd2f)??void 0x0,this['fire']('modelSelected',{'selectedModel':this['selectedModel'],'isDisabled':!0x0});const {streamingMessageId:_0x50a481}=await this['_processMessagesToInteractions'](_0xde2d2,_0xc2cd2f);return _0x50a481&&this['currentInteraction']?this['_resumeStream'](_0x50a481):this['currentInteraction']=void 0x0,this;}catch(_0x1b68a7){const _0x2f33b0=new _0x393747({'code':'ai-chat-conversation-init-from-id-failed','cause':_0x1b68a7,'type':'network','context':{'conversationId':_0x13dc33}});throw this['fire']('error',{'error':_0x2f33b0}),_0x2f33b0;}}async _processMessagesToInteractions(_0x393926,_0x192973){let _0x1e0447,_0x3e169e,_0x157221=new Set();for(const _0x165d60 of _0x393926)if('user'===_0x165d60['role']){const {contextItems:_0x4388c8,unmatchedDocumentIds:_0x7d6fb7}=await this['_extractContextItems'](_0x165d60);_0x157221=_0x7d6fb7;const _0x128446={'isReasoningEnabled':Object['hasOwn'](_0x165d60['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x165d60['capabilities'],'webSearch')};_0x1e0447=this['createInteraction']({'userMessage':_0x165d60['prompt'],'contextItems':_0x4388c8,'capabilities':_0x128446,'modelId':_0x192973,'attributes':_0x165d60['attributes'],'channelsToEditors':this['_channelsToEditors']}),this['currentInteraction']=_0x1e0447,_0x3e169e=void 0x0,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x165d60['role']&&_0x1e0447){if('streaming'===_0x165d60['status']){_0x3e169e=_0x165d60['id'];continue;}if('error'===_0x165d60['status'])continue;const _0x1dc736=[];for(const _0x524928 of _0x165d60['content'])switch(_0x524928['type']){case'text':case'modification':{const _0x339d67=_0x1e0447['getDocumentContext'](),_0x42c50a=this['_getOutdatedReasonsByDocumentId'](_0x339d67,_0x157221),_0xc57032=_0x339d67?.['documents']??[],_0x4fac90=_0xc57032['length']>0x0&&_0xc57032['every'](_0x335d80=>_0x42c50a['has'](_0x335d80['id']));_0x1e0447['currentReply']?.['type']!==_0x524928['type']&&(_0x1e0447['currentReply']=_0x1e0447['createReply']({'type':_0x524928['type'],'isDone':!0x0,'interactionId':_0x1e0447['id'],'areActionsDisabled':_0x4fac90,'outdatedReasonByDocumentId':_0x42c50a,'isFromHistory':!0x0,'channelsToEditors':this['_channelsToEditors']}),_0x1dc736['length']>0x0&&(_0x1e0447['currentReply']['sources']=_0x1dc736['splice'](0x0))),_0x1e0447['currentReply']['appendContent'](_0x524928['content'],_0x524928['documentId']);break;}case'url':_0x1dc736['push'](_0x524928);break;case'mcp-tool-result':{const {data:_0x4489c2,attributes:_0x414ee8}=JSON['parse'](_0x524928['content']);_0x1e0447['_handleToolResultData']({'toolName':_0x524928['toolName'],'data':_0x4489c2,'attributes':_0x414ee8});break;}}'cancelled'===_0x165d60['status']&&this['fire']('error',{'interactionId':_0x1e0447['id'],'error':new _0x491313['CKEditorError']('ai-request-aborted',this)});}}return{'streamingMessageId':_0x3e169e};}async _resumeStream(_0x59a398){if(this['currentInteraction'])try{const _0x3708aa=this['connector']['resumeStream'](this['id'],_0x59a398);await this['currentInteraction']['resume'](_0x3708aa);}catch(_0x5862b5){_0x5862b5 instanceof _0x491313['CKEditorError']&&this['fire']('error',{'interactionId':this['currentInteraction']?.['id'],'error':_0x5862b5});}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}async _extractContextItems(_0x3a4aa1){return _0x3a4aa1['content']?this['chatContext']['populateFromMessage'](_0x3a4aa1['content'],Array['from'](this['_channelsToEditors']['values']()),_0x518964['getDefaultContextIds'](_0x3a4aa1['attributes'])):{'contextItems':new Map(),'unmatchedDocumentIds':new Set()};}async handleUserInteraction({userMessage:_0x30d98b,attributes:_0x24e0b0}){if(!this['isStarted'])throw new _0x491313['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x491313['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x11f734=new Map(this['getPendingContextItems']()),_0xe207f3=this['chatCapabilities']['getCapabilitiesConfig'](),_0xc000ea=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x30d98b,'contextItems':_0x11f734,'capabilities':_0xe207f3,'modelId':_0xc000ea,'attributes':_0x24e0b0,'channelsToEditors':this['_channelsToEditors']}),await this['updateCurrentDocumentsInContext'](),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x4812f0){if(_0x4812f0 instanceof _0x491313['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x4812f0});else{const _0x1a0405=_0x2eccf8['get'](_0x4812f0['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x491313['CKEditorError'](_0x1a0405,null,{'error':_0x4812f0})});}}finally{this['stopProcessing']();}}stopProcessing(){this['_abortReject']&&(this['_abortReject'](),this['_abortReject']=void 0x0),this['currentInteraction']&&(this['currentInteraction']['stop'](),this['currentInteraction']=void 0x0);}createInteraction({userMessage:_0x793ac4,contextItems:_0x4798ee,capabilities:_0x38e4b3,modelId:_0x56e2ba,attributes:_0x3a6c1f,channelsToEditors:_0x53bda5}){const _0x1b8685=new _0x252f6f({'userMessage':_0x793ac4,'contextItems':_0x4798ee,'capabilities':_0x38e4b3,'conversationId':this['id'],'connector':this['connector'],'locale':this['options']['locale'],'model':_0x56e2ba,'attributes':_0x3a6c1f,'channelsToEditors':_0x53bda5,'context':this['chatContext']['isEmpty']?void 0x0:new _0x518964(this['chatContext']['refs'])});return _0x1b8685['delegate'](..._0x2daff2)['to'](this),this['interactions']['push'](_0x1b8685),this['fire']('interactionCreated',_0x1b8685),_0x1b8685;}getInteraction(_0x4c6b60){return this['interactions']['find'](_0x238234=>_0x238234['id']===_0x4c6b60);}removeInteraction(_0x1dfbb7){const _0xac0e5f=this['getInteraction'](_0x1dfbb7);_0xac0e5f&&(_0xac0e5f['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0xac0e5f),0x1));}get lastInteraction(){return this['interactions'][this['interactions']['length']-0x1];}cancelLastInteractionStream(){const _0x18bab8=this['lastInteraction'];_0x18bab8?.['conversationId']&&_0x18bab8['messageId']&&this['connector']['cancelStream'](_0x18bab8['conversationId'],_0x18bab8['messageId'])['execute']()['catch'](()=>{});}addCurrentDocumentToContext(_0x3328c9){this['chatContext']['addCurrentDocumentToContext'](_0x3328c9);}async updateCurrentDocumentsInContext(){if(!this['isCurrentDocumentInContext']())return;const {changedIds:_0x3a8f89,unchangedIds:_0xc6de63}=this['_compareEditorStateWithDocumentContext'](),_0x3f995b=new Promise((_0x78548d,_0x4629bc)=>{this['_abortReject']=()=>_0x4629bc(new _0x491313['CKEditorError']('ai-request-aborted',this));}),_0x4978a2=await Promise['race']([this['options']['aiEditing']['getDocumentData'](_0x3a8f89),_0x3f995b]);await Promise['race']([this['chatContext']['updateCurrentDocuments'](_0x4978a2,_0xc6de63),_0x3f995b]);}_compareEditorStateWithDocumentContext(){const _0x2ba02a=new Set(),_0x10c79e=new Set(),_0x316e39=this['options']['aiEditing']['getEditorsVersions'](),_0x384b39=this['options']['aiEditing']['getEditorsSelections'](),_0x1028d6=this['chatContext']['getCurrentDocumentContext']()['documents']||[],_0x4e46dc=new Map(_0x1028d6['map'](({channelId:_0x4c0d01,version:_0x42a270})=>[_0x4c0d01,_0x42a270])),_0x2b2ac7=new Map(_0x1028d6['map'](({channelId:_0x132cfb,selectionSignature:_0x420bd4})=>[_0x132cfb,_0x420bd4]));for(const [_0xbd7be1,_0x267f05]of _0x316e39){const _0x21fccc=_0x384b39['get'](_0xbd7be1);_0x4e46dc['get'](_0xbd7be1)!=_0x267f05||_0x2b2ac7['get'](_0xbd7be1)!=_0x21fccc?_0x2ba02a['add'](_0xbd7be1):_0x4e46dc['has'](_0xbd7be1)&&_0x10c79e['add'](_0xbd7be1);}return{'changedIds':_0x2ba02a,'unchangedIds':_0x10c79e};}toggleAddCurrentDocumentOptionVisibility(_0x3b564d){this['chatContext']['toggleAddCurrentDocumentOptionVisibility'](_0x3b564d);}_getOutdatedReasonsByDocumentId(_0x4da695,_0x2a0e77){const _0x5cae90=new Map();if(!_0x4da695||!_0x4da695['documents'])return _0x5cae90;for(const _0x458d5e of _0x4da695['documents']){const _0x2d6604=this['_channelsToEditors']['get'](_0x458d5e['channelId']);_0x2d6604&&'destroyed'!==_0x2d6604['state']?_0x458d5e['sessionId']!==this['_getSessionId'](_0x2d6604)?_0x5cae90['set'](_0x458d5e['id'],'session-changed'):_0x2a0e77['has'](_0x458d5e['id'])&&_0x5cae90['set'](_0x458d5e['id'],'content-removed'):_0x5cae90['set'](_0x458d5e['id'],'editor-removed');}return _0x5cae90;}addSelectionToContext(_0x35a00c){this['chatContext']['addSelectionToContext'](_0x35a00c);}removeSelectionFromContext(){this['chatContext']['removeSelectionFromContext']();}addFilesToContext(_0x345e81){this['chatContext']['addFilesToContext'](_0x345e81);}addUrlToContext(_0x3ee1c5){this['chatContext']['addUrlToContext'](_0x3ee1c5);}addToolItemToContext(_0x58fded){this['chatContext']['addToolItemToContext'](_0x58fded);}addResourceToContext(_0x5132fd,_0x2e9403){this['chatContext']['addResourceToContext'](_0x5132fd,_0x2e9403);}['loadSourceResources'](_0x1720f8,_0xee7a17,_0x1f1d07){return this['chatContext']['loadSourceResources'](_0x1720f8,_0xee7a17,_0x1f1d07);}removeFromContext(_0x43a973){this['chatContext']['removeFromContext'](_0x43a973);}setWebSearch(_0x2d0e60){this['chatCapabilities']['setWebSearch'](_0x2d0e60);}toggleWebSearch(){this['chatCapabilities']['toggleWebSearch']();}setReasoning(_0x8da587){this['chatCapabilities']['setReasoning'](_0x8da587);}toggleReasoning(){this['chatCapabilities']['toggleReasoning']();}isCurrentDocumentInContext(){return this['chatContext']['isCurrentDocumentInContext']();}isCurrentDocumentInConversation(){return this['chatContext']['isCurrentDocumentInConversation']();}isSelectionInContext(){return this['chatContext']['isSelectionInContext']();}getPendingContextItems(){return this['chatContext']['getPendingContextItems']();}addDefaultContext(_0x3b0ca0){_0x3b0ca0['length']&&this['chatContext']['addDefaultContext'](_0x3b0ca0);}async setModel(_0x16a8bb){_0x16a8bb?!0x1===await this['chatModels']['isAvailable'](_0x16a8bb)&&((0x0,_0x491313['logWarning'])('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x16a8bb}),_0x16a8bb=(await this['chatModels']['getAvailableModels']())[0x0]):((0x0,_0x491313['logWarning'])('ai-chat-conversation-set-model-null',{'conversation':this}),_0x16a8bb=(await this['chatModels']['getAvailableModels']())[0x0]),_0x16a8bb['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x16a8bb,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x16a8bb}));}};function _0x463b66({documentSuggestions:_0x5f1dab,transform:_0x2e57c2,documentCompare:_0x226072,documentCompareOptions:_0x430f91}){const _0x2fba7f=new Map();for(const [_0x5765a4,{groups:_0x8a6631,documentContext:_0x325f5e,documentContent:_0x445210,editor:_0xa8b16e}]of _0x5f1dab){const _0x1cd46a=_0x325f5e['content'],_0xadffc1=_0x325f5e['version'],_0x117b68=_0x445210['cloneNode'](!0x0);for(const {changes:_0x54898b}of _0x8a6631)_0x69014c(_0x117b68,_0x54898b);const _0x49145c=_0x26cf45(_0x117b68),_0x2bbe99=_0x2dd1f6(_0xa8b16e,_0x325f5e['rootName'],_0x1cd46a,_0x49145c);if(!_0x2bbe99)continue;const _0x70c6e7=_0x226072['getDiff'](_0x2bbe99['before'],_0x2bbe99['after'],{'targetEditor':_0xa8b16e,'anchor':_0x325f5e['rootName'],..._0x430f91})['getOperations']();if(_0x2e57c2){const _0x29820d=_0xa8b16e['model']['document']['history']['getOperations'](_0xadffc1),_0x296ad8={'document':_0xa8b16e['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};_0x2fba7f['set'](_0x5765a4,(0x0,_0x491313['transformOperationSets'])(_0x70c6e7,_0x29820d,_0x296ad8)['operationsA']);}else _0x2fba7f['set'](_0x5765a4,_0x70c6e7);}return _0x2fba7f;}function tu({groups:_0x1dd12d,documentContextContent:_0x28b176,documents:_0xba6a9b}){const _0x447537=new Map();for(const _0x6be34c of _0x1dd12d){const {documentId:_0x52a9a2}=_0x6be34c,_0x2b1656=_0x447537['get'](_0x52a9a2);if(_0x2b1656)_0x2b1656['groups']['push'](_0x6be34c),_0x2b1656['indexes']['push'](_0x6be34c['index']);else{const _0x49af8c=_0xba6a9b['find'](_0x2fb4bd=>_0x2fb4bd['id']===_0x52a9a2),_0x1febc5=_0x28b176['get'](_0x52a9a2);if(!_0x49af8c||!_0x1febc5)continue;_0x447537['set'](_0x52a9a2,{'groups':[_0x6be34c],'documentContext':_0x49af8c,'documentContent':_0x1febc5,'editor':_0x6be34c['editor'],'indexes':[_0x6be34c['index']]});}}return _0x447537;}function _0x3d4d67(_0x9d41de,_0x3e12f3){const _0x319a19=_0x9d41de['files']['length']>0x0&&_0x9d41de['files']['every'](_0x5bf7b2=>_0x5bf7b2['type']['startsWith']('image/')),_0x5b6750=_0x9d41de['plainText']['trim']()['length']>0x0;if(_0x9d41de['files']['length']>0x0&&_0x3e12f3['filesEnabled']&&(!_0x319a19||!_0x5b6750)){const _0xf404a8=_0x9d41de['files']['filter'](_0x201a9a=>_0x201a9a['name']);return _0xf404a8['length']>0x0?{'type':'file','files':_0xf404a8}:null;}if(_0x3e12f3['urlsEnabled']){const _0x5d3ffa=function(_0x13b715){const _0x5e6e26=_0x13b715['trim']();if(/\s/['test'](_0x5e6e26))return null;try{const _0x3c2d83=new URL(_0x5e6e26);return'http:'!==_0x3c2d83['protocol']&&'https:'!==_0x3c2d83['protocol']?null:_0x3c2d83['toString']();}catch{return null;}}(_0x9d41de['plainText']);if(_0x5d3ffa)return{'type':'url','url':_0x5d3ffa};}const _0x94c0f5=_0x9d41de['forceTextAttachment']?0x1:_0x3e12f3['longTextThreshold']??0x1/0x0;if(_0x9d41de['plainText']['length']>=Math['max'](_0x94c0f5,0x1)&&_0x3e12f3['filesEnabled']){const _0x361ca2=_0x3e12f3['pastedTextLabel']+'.txt';return{'type':'text','files':[new File([_0x9d41de['plainText']],_0x361ca2,{'type':'text/plain'})]};}return null;}var _0x556fe1=class extends _0x491313['ContextPlugin']{activeConversation;_aiEditing;_aiConnector;_aiChatUi;['_aiModels'];_aiContextLibrary;_contextLibrarySource=null;_hasAIChatBalloon=!0x1;_activeBalloon;_reporter;_batchToChanges=new Map();_currentPreviewedChangeGroup=null;_bodyCollection;_channelsToEditors=new Map();static get requires(){return[_0x31ca03,_0x2e8f65,_0x5b2c28,_0x23dba1];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['set']('isConversationReady',!0x1),this['_bodyCollection']=_0x2f3654(this['context']['locale']),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_reporter']=this['context']['plugins']['get'](_0x2e8f65)['createReporter']('aichat'),this['_aiModels']=this['context']['plugins']['get'](_0x23dba1)['models'],this['_aiContextLibrary']=this['context']['plugins']['get'](_0x23dba1)['contextLibrary'];const _0x23e6f1=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x362e2a,_0x51a0fd)=>{this['sendMessage']({'message':_0x51a0fd});}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',()=>{this['activeConversation']?.['stopProcessing']();}),this['listenTo'](_0x23e6f1['view'],'change:activeTab',(_0x2d566b,_0x36fd29,_0x47d8ba)=>{'chat'!==_0x47d8ba&&this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x455534,_0x41404f)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x41404f));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x5ec886,_0x12290b)=>{this['activeConversation']?.['addUrlToContext'](_0x12290b);}),this['listenTo'](this['_aiChatUi'],'promptInputPaste',(_0x101e02,_0x5d86be)=>{const _0x4c5c71=this['activeConversation'];if(!_0x4c5c71)return;_0x5d86be['hasDirectory']&&(_0x5d86be['preventDefault'](),this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED'),'id':'folder-error-'+(0x0,_0x491313['uid'])()}));const _0x2ac52e=_0x3d4d67(_0x5d86be,{'pastedTextLabel':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_PASTED_TEXT_NAME'),'longTextThreshold':this['context']['config']['get']('ai.chat.context.paste.textThreshold'),'filesEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.files.enabled'),'urlsEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.urls.enabled')});_0x2ac52e&&(_0x5d86be['preventDefault'](),'url'===_0x2ac52e['type']?_0x4c5c71['addUrlToContext'](_0x2ac52e['url']):_0x4c5c71['chatContext']['addFilesToContext'](_0x2ac52e['files'],void 0x0,_0x2ac52e['type']));}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x4dd79a,_0x5a7549)=>{_0x5a7549['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x497110,_0x79219a)=>{this['activeConversation']?.['addResourceToContext'](_0x79219a['source'],_0x79219a['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x52d04f,_0xcddbae)=>{this['_removeFromContext'](_0xcddbae);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x3d9c16,_0x102747)=>{this['activeConversation']?.['loadSourceResources'](_0x102747['sourceId'],_0x102747['query'],_0x102747['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x407671,_0x49f970)=>{this['activeConversation']?.['setModel'](_0x49f970);}),this['listenTo'](this['_aiChatUi'],'like',(_0x50cd5e,{replyId:_0xa19420})=>{console['log']('Liked\x20response',_0xa19420);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x34b9d0,{replyId:_0x1ed075})=>{console['log']('Disliked\x20response',_0x1ed075);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x3d1a19,_0x595e2c)=>{this['_insertSuggestion'](_0x595e2c);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x3850b3,{replyId:_0x2dd23e,partIndex:_0x23c499})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x2dd23e,_0x23c499);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x2b98ed,{replyId:_0x137de8,partIndex:_0x5dd76f})=>{const _0x485cdb=this['_getDocumentRangeForReplyChanges'](_0x137de8,_0x5dd76f);if(!_0x485cdb)return;const {reply:_0x440537}=this['getInteractionAndReplyById'](_0x137de8);'$graveyard'!=_0x485cdb['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'editor':_0x440537['changeGroups'][_0x5dd76f]['editor'],'ranges':[_0x485cdb['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x1febf0,_0x504385)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0x504385);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x1765a2,{replyId:_0x1453ba,showDiff:_0x74990d})=>{const {interaction:_0x5f224a,reply:_0x2f048b}=this['getInteractionAndReplyById'](_0x1453ba),_0x287b67=_0x2f048b['getContentParts']({'showDiff':_0x74990d});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x5f224a['id']+':'+_0x2f048b['id'],'parts':_0x287b67});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x3503d0,{replyId:_0x181cb0,partIndex:_0x5a1637})=>{this['_rejectSuggestion']({'replyId':_0x181cb0,'partIndex':_0x5a1637}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['set']('_aiChatBalloonShowDiff',!0x1),this['on']('interactionCreated',(_0x37a559,_0x5d75f)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x5d75f);}),this['on']('replyCreated',(_0x72021a,_0x5cf775)=>{this['_addFeedItemReply'](_0x5cf775);});}afterInit(){this['context']instanceof _0x491313['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1e9b57,_0x4ddba7)=>{_0x4ddba7['on']('ready',()=>{this['_integrateEditor'](_0x4ddba7);});}),this['context']['config']['get']('ai.chat.context')?.['contextLibrary']?.['enabled']&&this['_setUpContextLibrarySource'](),this['_initConversation']();}async _initConversation(){const _0x4572a2=this['context']['config']['get']('ai.chat.initialConversation');let _0x5b8a93=_0x4572a2;('lastCreated'!=_0x4572a2||(_0x5b8a93=await this['_getLastCreatedConversationId'](),_0x5b8a93))&&('new'==_0x5b8a93?await this['_startConversationSafely']():await this['loadConversation'](_0x5b8a93));}async destroy(){return this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async loadConversation(_0xbb2b33){this['_closeActiveBalloon'](),this['context']['plugins']['get'](_0x448179)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),this['_detachFromActiveConversation'](),this['_stopLastInteraction'](),this['_aiChatUi']['toggleConversationLoading'](!0x0);try{this['_aiChatUi']['emptyConversationTitle'](),await this['_aiConnector']['fetchConversation'](_0xbb2b33)['getConversation'](),await this['_startConversationSafely']({'id':_0xbb2b33}),await this['activeConversation']['load'](_0xbb2b33),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext'](),this['set']('isConversationReady',!0x0),this['activeConversation']?.['currentInteraction']?this['_aiChatUi']['enableControls']():this['_aiChatUi']['toggleConversationLoading'](!0x1);}catch(_0x4a7530){this['_aiChatUi']['resetConversationTitle'](),this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0xbb2b33}),this['_reporter']['logError'](new _0x491313['CKEditorError']('ai-chat-conversation-not-found',this,void 0x0,_0x4a7530),{'context':{'operation':'load-conversation'}}),await this['_stopLastInteraction'](),this['_aiChatUi']['disableControls'](),this['set']('isConversationReady',!0x1),this['_aiChatUi']['resetChatBusyStateToIdle'](),this['activeConversation']?.['cancelLastInteractionStream']();}finally{this['_aiChatUi']['startAutoScroll']({'smooth':!0x1}),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}registerToolDataCallback(_0x3158dd){let _0x10db05=null,_0x1051a6=null;this['on']('toolDataReceived',(_0x1a443c,_0x43f417,_0x2756a6)=>{_0x2756a6['id']!==_0x10db05&&(_0x10db05=_0x2756a6['id'],_0x1051a6=this['_getAIChatFeedAPI'](_0x2756a6)),_0x3158dd(_0x43f417,_0x1051a6);});}addCurrentDocumentToChatContext(){_0x483724(this['context'])['length']&&this['activeConversation']?.['addCurrentDocumentToContext'](_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async addSelectionToChatContext(_0x23d1b9){const _0x28592d=this['_aiEditing']['getSelectionText'](_0x23d1b9);this['activeConversation']?.['addSelectionToContext'](_0x28592d),this['addCurrentDocumentToChatContext']();}removeSelectionFromChatContext(){this['activeConversation']?.['removeSelectionFromContext']();}focusPromptInput(){this['_aiChatUi']['focusPromptInput']();}async startConversation(_0x439cf4){await this['_startConversationSafely']({'modelId':_0x439cf4?.['modelId'],'contexts':_0x439cf4?.['contexts']});}async['sendMessage']({message:_0x23474d,attributes:_0x141be7}){if(!this['activeConversation'])throw new _0x491313['CKEditorError']('ai-chat-controller-no-active-conversation');this['activeConversation']['id']&&this['activeConversation']['isStarted']&&(this['_aiChatUi']['startInteraction'](),await this['activeConversation']['handleUserInteraction']({'userMessage':_0x23474d,'attributes':_0x141be7}));}getGroupId(){const _0x47e832=this['context']['config']['get']('collaboration.channelId');if(!_0x47e832)throw new _0x491313['CKEditorError']('ai-missing-channel-id',this);return _0x47e832;}_handleRemovedConversation(_0x2418ef){this['activeConversation']['id']===_0x2418ef&&this['_startConversationSafely']();}['_isGroupReadOnly'](_0x1316a2){return!(!_0x1316a2['editor']||'destroyed'===_0x1316a2['editor']['state']||!_0x1316a2['editor']['isReadOnly']);}_isGroupWriteable(_0x9b0e5a){return!(!_0x9b0e5a['editor']||'destroyed'===_0x9b0e5a['editor']['state']||_0x9b0e5a['editor']['isReadOnly']);}_computeSuggestionGating(_0x1dfa15){const _0x3340f9=new Map();for(const _0x4975ea of _0x1dfa15['changeGroups'])_0x3340f9['set'](_0x4975ea['index'],this['_isGroupReadOnly'](_0x4975ea));const _0x324b22=new Set(_0x1dfa15['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']})['filter'](_0x2ae33d=>_0x2ae33d['hasChanges'])['map'](_0x38b8d3=>_0x38b8d3['index']));return{'readOnlyByIndex':_0x3340f9,'isAcceptAllEnabled':_0x1dfa15['changeGroups']['some'](_0x99c7c2=>'pending'===_0x99c7c2['state']&&this['_isGroupWriteable'](_0x99c7c2)&&_0x324b22['has'](_0x99c7c2['index']))};}_refreshSuggestionGating(){if(this['activeConversation']){for(const _0x498d8a of this['activeConversation']['interactions'])for(const _0xe9d7a7 of _0x498d8a['replies'])'modification'===_0xe9d7a7['type']&&this['_aiChatUi']['hasFeedItem'](_0xe9d7a7['id'])&&this['_aiChatUi']['setSuggestionGating'](_0xe9d7a7['id'],this['_computeSuggestionGating'](_0xe9d7a7));}if(this['_activeBalloon']&&this['_currentPreviewedChangeGroup']){const {reply:_0x321a96}=this['getInteractionAndReplyById'](this['_currentPreviewedChangeGroup']['replyId']),_0x5d37c2=_0x321a96['changeGroups']['find'](_0x4c64fc=>_0x4c64fc['index']===this['_currentPreviewedChangeGroup']['partIndex']);_0x5d37c2&&this['_activeBalloon']['setTargetReadOnly'](this['_isGroupReadOnly'](_0x5d37c2));}}_prepareDocumentSuggestions(_0x1dd231){const {reply:_0x2b656a,interaction:_0x1b74ac}=this['getInteractionAndReplyById'](_0x1dd231['replyId']),_0x8e2981=void 0x0!==_0x1dd231['partIndex']?[_0x2b656a['changeGroups'][_0x1dd231['partIndex']]]:_0x2b656a['changeGroups']['filter'](_0x25cf2a=>'pending'===_0x25cf2a['state']&&!this['_isGroupReadOnly'](_0x25cf2a)),_0x2e4a89=_0x8e2981['map'](_0x29f58c=>_0x2b656a['changeGroups']['indexOf'](_0x29f58c)),_0xbd3058=_0x2aad18(_0x2b656a['changeGroups'],_0x2b656a['documentContextContent']);return _0x2e4a89['forEach'](_0x51e3b9=>{if(_0xbd3058['has'](_0x51e3b9))return;const _0x9c84a1=this['_getDocumentRangeForReplyChanges'](_0x1dd231['replyId'],_0x51e3b9);_0x9c84a1&&'$graveyard'!=_0x9c84a1['range']['root']['rootName']?(_0x2b656a['setChangeGroupState'](_0x51e3b9,'accepted'),void 0x0!==_0x1dd231['partIndex']&&this['_scrollToSuggestionRange'](_0x9c84a1['range'],!0x1,_0x9c84a1['targetEditor'])):_0x2b656a['setChangeGroupState'](_0x51e3b9,'outdated',this['_getOutdatedReason'](_0x2b656a['changeGroups'][_0x51e3b9]));}),tu({'groups':_0x8e2981['filter'](_0x5b1ce1=>'accepted'===_0x5b1ce1['state']),'documentContextContent':_0x2b656a['documentContextContent'],'documents':_0x1b74ac['getDocumentContext']()?.['documents']??[]});}_insertSuggestion(_0x6f2992){const _0x16d12d=this['context']['plugins']['get'](_0x5b2c28),{reply:_0x896854,interaction:_0x61e0db}=this['getInteractionAndReplyById'](_0x6f2992['replyId']),_0x33cc15=this['_prepareDocumentSuggestions'](_0x6f2992),_0x108994=_0x463b66({'documentSuggestions':_0x33cc15,'transform':!0x0,'documentCompare':_0x16d12d,'documentCompareOptions':{'markDeletions':!0x0}});for(const [_0x3c8f15,_0x37ac78]of _0x108994){const {editor:_0x26c415,indexes:_0x1dcc35}=_0x33cc15['get'](_0x3c8f15);if(!_0x26c415['plugins']['has']('TrackChanges')){(0x0,_0x491313['logWarning'])('ai-no-track-changes',{'editor':_0x26c415});continue;}let _0x480bbd;_0x14ee9e(_0x37ac78,'chat'),_0x26c415['model']['change'](_0x3f4aca=>{_0x480bbd=_0x3f4aca['batch'],_0x26c415['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x37ac78),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0x480bbd,{'interactionId':_0x61e0db['id'],'replyId':_0x896854['id'],'indexes':_0x1dcc35});}this['_updateRatings'](_0x896854);}_applySuggestion(_0x57d6ac){const _0x386dce=this['context']['plugins']['get'](_0x5b2c28),{reply:_0x35445b,interaction:_0x50e5df}=this['getInteractionAndReplyById'](_0x57d6ac['replyId']),_0x19faf6=this['_prepareDocumentSuggestions'](_0x57d6ac),_0x4cf4e7=_0x463b66({'documentSuggestions':_0x19faf6,'transform':!0x0,'documentCompare':_0x386dce,'documentCompareOptions':{'markDeletions':!0x1}});for(const [_0x4d36aa,_0x3a2762]of _0x4cf4e7){const {editor:_0x311c53,indexes:_0x4fb91f}=_0x19faf6['get'](_0x4d36aa);let _0x5b7fd8;_0x14ee9e(_0x3a2762,'chat');try{_0x311c53['model']['change'](_0x5b2339=>{_0x5b7fd8=_0x5b2339['batch'],_0x386dce['applyOperations'](_0x5b2339,_0x3a2762);}),this['_batchToChanges']['set'](_0x5b7fd8,{'interactionId':_0x50e5df['id'],'replyId':_0x35445b['id'],'indexes':_0x4fb91f});}catch(_0x1e7a1d){throw this['_reporter']['logError'](new _0x393747({'code':'ai-applying-suggestion-failed','type':'runtime','cause':_0x1e7a1d})),_0x1e7a1d;}}this['_updateRatings'](_0x35445b);}_rejectSuggestion(_0x348cc3){const {reply:_0x1eeb74}=this['getInteractionAndReplyById'](_0x348cc3['replyId']);_0x1eeb74['setChangeGroupState'](_0x348cc3['partIndex'],'rejected');}['_openBalloonFor'](_0x322f36,_0x1385e8){if(!this['_hasAIChatBalloon'])return;const {reply:_0x3391a8}=this['getInteractionAndReplyById'](_0x322f36),_0x236c82=_0x3391a8['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(!_0x236c82['length'])return;let _0x33676c,_0x407373;if(void 0x0!==_0x1385e8?(_0x407373=_0x236c82['find'](_0x21f8a7=>_0x21f8a7['index']==_0x1385e8),_0x33676c=_0x407373?.['index']):(_0x407373=_0x236c82[0x0],_0x33676c=_0x407373['index']),!_0x407373)return void _0x3391a8['setChangeGroupState'](_0x1385e8??0x0,'outdated','editor-removed');if(this['_currentPreviewedChangeGroup']?.['replyId']==_0x322f36&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x33676c)return;const _0x31ef1a=this['_getUserPresentableContentPartDocumentRange'](_0x322f36,_0x3391a8,_0x407373),_0x456c53=_0x3391a8['changeGroups']['find'](_0x580e6a=>_0x580e6a['index']==_0x33676c),_0x1b3155=_0x456c53['editor'],_0x36387a=_0x1b3155['plugins']['get']('AIChatBalloon');if(this['_activeBalloon']&&this['_activeBalloon']!==_0x36387a&&this['_activeBalloon']['close'](),!_0x31ef1a)return _0x36387a['close'](),void(this['_activeBalloon']=void 0x0);this['_activeBalloon']=_0x36387a,this['_currentPreviewedChangeGroup']={'replyId':_0x322f36,'partIndex':_0x33676c},this['_scrollToSuggestionRange'](_0x31ef1a,!0x0,_0x1b3155);const _0x4d7f05=this['_getPresentableSiblingContentPartIndex'](_0x322f36,_0x33676c,'next');_0x36387a['clearContent'](),_0x36387a['updateContent']({'part':_0x407373,'renderingStrategy':'static'}),_0x36387a['open']({'index':_0x33676c,'title':_0x258ab2(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x33676c+0x1)['toString']()),'showRotator':null!==_0x4d7f05,'ranges':[_0x31ef1a],'areActionsDisabled':_0x3391a8['areActionsDisabled'],'targetEditor':_0x1b3155,'isTargetReadOnly':this['_isGroupReadOnly'](_0x456c53)}),_0x36387a['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x322f36,_0x33676c),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x322f36,'index':_0x33676c,'isActive':!0x0});}_closeActiveBalloon(){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null;}_getPresentableSiblingContentPartIndex(_0x2e4327,_0x484386,_0x261ed5){const {reply:_0x117ee8}=this['getInteractionAndReplyById'](_0x2e4327),_0x2dc25b=_0x117ee8['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x2dc25b['length'])return null;const _0xbb6787='next'==_0x261ed5?0x1:-0x1;function _0x2dd680(_0x1e5d1a){const _0x221d4b=(_0x1e5d1a+_0xbb6787+_0x2dc25b['length'])%_0x2dc25b['length'];return{'siblingIndex':_0x221d4b,'siblingPart':_0x2dc25b[_0x221d4b]};}const _0x1a65c8=_0x2dc25b['findIndex'](_0x1e0ceb=>_0x1e0ceb['index']==_0x484386);let {siblingIndex:_0x387c66,siblingPart:_0x3596d2}=_0x2dd680(_0x1a65c8);for(;!this['_getUserPresentableContentPartDocumentRange'](_0x2e4327,_0x117ee8,_0x3596d2);)if({siblingIndex:_0x387c66,siblingPart:_0x3596d2}=_0x2dd680(_0x387c66),_0x387c66===_0x1a65c8)return null;return _0x3596d2['index'];}_getOutdatedReason(_0x5d377c){return _0x5d377c?.['editor']&&'destroyed'!==_0x5d377c['editor']['state']?'content-removed':'editor-removed';}_getUserPresentableContentPartDocumentRange(_0x4c8d9b,_0x3d763a,_0x369c65){const _0x3e17c6=_0x3d763a['changeGroups'];if(!_0x369c65['hasChanges'])return null;const _0x73edf1=_0x3e17c6['find'](_0x58447c=>_0x58447c['index']==_0x369c65['index']);if('pending'!==_0x73edf1?.['state'])return null;if(!_0x73edf1?.['editor']||'destroyed'===_0x73edf1['editor']['state'])return _0x3d763a['setChangeGroupState'](_0x369c65['index'],'outdated',this['_getOutdatedReason'](_0x73edf1)),null;const _0x5b5453=this['_getDocumentRangeForReplyChanges'](_0x4c8d9b,_0x369c65['index']);if(!_0x5b5453)return _0x3d763a['setChangeGroupState'](_0x369c65['index'],'outdated',this['_getOutdatedReason'](_0x73edf1)),null;const {range:_0xe54b88,currentIndex:_0xe2db4c}=_0x5b5453;return'$graveyard'==_0xe54b88['root']['rootName']?(_0x3d763a['setChangeGroupState'](_0xe2db4c,'outdated',this['_getOutdatedReason'](_0x73edf1)),null):_0x5b5453['range'];}_getDocumentRangeForReplyChanges(_0x53810f,_0x2a7a4d){const {reply:_0x272d5f,interaction:_0x12938a}=this['getInteractionAndReplyById'](_0x53810f),_0x43a934=_0x272d5f['changeGroups']['filter'](_0x282cad=>'pending'==_0x282cad['state']),_0xd439cc=_0x43a934['map'](_0x56ba6d=>_0x272d5f['changeGroups']['indexOf'](_0x56ba6d));void 0x0===_0x2a7a4d&&(_0x2a7a4d=_0xd439cc[0x0]);const _0x300709=_0xd439cc['indexOf'](_0x2a7a4d);if(-0x1==_0x300709)return null;const _0x11f7b9=_0x43a934[_0x300709],_0x1d0b53=_0x11f7b9['editor'];if(!_0x1d0b53||'destroyed'===_0x1d0b53['state'])return null;const _0xfdda9b=_0x559912(_0x1d0b53,_0x11f7b9['rootName']),_0x389d73=_0x272d5f['documentContextContent']['get'](_0x11f7b9['documentId']),_0x21ae2a=new _0x444106([]),_0x4dc7e8=new _0x444106([]);for(const _0xdc1040 of _0x11f7b9['changes'])if('removed'!=_0xdc1040['type']&&_0x4dc7e8['children']['push'](_0xdc1040['node']['cloneNode'](!0x0)),'new'!=_0xdc1040['type']){const _0x54a468=_0x41243d(_0x52191c=>_0x42e922(_0x52191c,'data-id')==_0xdc1040['id'],_0x389d73,!0x0);_0x21ae2a['children']['push'](_0x54a468['cloneNode'](!0x0));}if(0x0==_0x21ae2a['children']['length']){if(_0x11f7b9['changes'][0x0]['anchorId']){const _0x12e7e8=_0x1327a4('data-id',_0x11f7b9['changes'][0x0]['anchorId'],_0x389d73);_0x21ae2a['children']['unshift'](_0x12e7e8['cloneNode'](!0x0)),_0x4dc7e8['children']['unshift'](_0x12e7e8['cloneNode'](!0x0)),_0x12e7e8['nextSibling']&&(_0x21ae2a['children']['push'](_0x12e7e8['nextSibling']['cloneNode'](!0x0)),_0x4dc7e8['children']['push'](_0x12e7e8['nextSibling']['cloneNode'](!0x0)));}else{const _0x3a619c=_0x389d73['children'][0x0];if(!_0x3a619c)return null;_0x21ae2a['children']['push'](_0x3a619c['cloneNode'](!0x0)),_0x4dc7e8['children']['push'](_0x3a619c['cloneNode'](!0x0));}}if(_0xfdda9b&&_0x2aad18(_0x272d5f['changeGroups'],_0x272d5f['documentContextContent'])['has'](_0x11f7b9['index']))return null;const _0x366abe=_0x12938a['getDocumentContext'](),_0x14b2ca=_0x366abe['documents']['find'](_0x2f7716=>_0x2f7716['id']==_0x11f7b9['documentId'])['content'],_0x224a6e=_0x1d0b53['model']['document']['getRoot'](_0x11f7b9['rootName']),_0xa2c6b=_0x1d0b53['data']['parse'](_0x14b2ca,_0x224a6e),_0x2a31a6=_0xfdda9b?_0x544f48(_0x26cf45(_0x21ae2a)):_0x26cf45(_0x21ae2a),_0x48e326=_0x1d0b53['data']['parse'](_0x2a31a6,_0x224a6e),_0x5c4b11=_0x1d0b53['data']['parse'](_0x2a31a6,_0x224a6e),_0x49e58d=_0x1d0b53['model']['createPositionAt'](_0x48e326,0x0),_0x261ee5=_0xfdda9b?_0x544f48(_0x26cf45(_0x4dc7e8)):_0x26cf45(_0x4dc7e8),_0x2cc0af={'targetEditor':_0x1d0b53,'anchor':_0x49e58d,'markDeletions':!0x1};let _0x54d9ed;try{_0x54d9ed=_0x1d0b53['plugins']['get'](_0x5b2c28)['getDiff'](_0x2a31a6,_0x261ee5,_0x2cc0af)['getOperations']();}catch(_0x73ae39){return this['_reporter']['reportError'](new _0x393747({'code':'ai-chat-suggestion-diff-failed','type':'runtime','severity':'warning','cause':_0x73ae39,'context':{'replyId':_0x53810f,'partIndex':_0x2a7a4d}})),null;}if(!_0x54d9ed['length'])return null;_0x1d0b53['model']['change'](_0x561c1f=>{for(const _0x2e14e9 of _0x54d9ed)if(!tl(_0x2e14e9)){if('remove'==_0x2e14e9['type']){const _0xa1ba02=_0x2e14e9['sourcePosition'],_0x1126f9=_0x2e14e9['howMany'],_0x1937e3=new _0x491313['_DetachOperation'](_0xa1ba02,_0x1126f9);_0x561c1f['batch']['addOperation'](_0x1937e3),_0x1d0b53['model']['applyOperation'](_0x1937e3);}else'marker'!==_0x2e14e9['type']&&(_0x2e14e9['baseVersion']=null,_0x2e14e9['isDocumentOperation']=!0x1,_0x561c1f['batch']['addOperation'](_0x2e14e9),_0x1d0b53['model']['applyOperation'](_0x2e14e9));}});const _0x19d05d=_0x19effd(_0x1d0b53,_0x54d9ed,_0x48e326);_0x151300(_0x1d0b53['model'],_0x19d05d);const _0x1ac3bf=_0x19d05d['getFirstRange']()['start']['path']['slice'](),_0x38856b=_0x19d05d['getFirstRange']()['end']['path']['slice'](),_0x16be8e=[];let _0x50bb11=_0x48e326,_0xc0d4bb=_0x5c4b11;for(let _0x2fa471=0x0;_0x2fa471<_0x38856b['length'];_0x2fa471++){const _0x1a10ff=_0x50bb11['maxOffset']-_0x38856b[_0x2fa471];_0x16be8e[_0x2fa471]=_0xc0d4bb['maxOffset']-_0x1a10ff,_0x50bb11=_0x50bb11['getChildAtOffset'](_0x38856b[_0x2fa471]),_0xc0d4bb=_0xc0d4bb['getChildAtOffset'](_0x16be8e[_0x2fa471]);}const _0x175027=_0x1d0b53['model']['createRange'](_0x1d0b53['model']['createPositionFromPath'](_0x5c4b11,_0x1ac3bf),_0x1d0b53['model']['createPositionFromPath'](_0x5c4b11,_0x16be8e)),_0x4d62cb=_0x175027['start']['path']['slice'](),_0x51930e=_0x175027['end']['path']['slice']();if(!_0xfdda9b){const _0x59eddd=_0x5c4b11['getChild'](0x0)['getAttribute'](_0x27eb29),_0x5eb9a7=Array['from'](_0xa2c6b['getChildren']())['find'](_0x59229a=>_0x59229a['getAttribute'](_0x27eb29)==_0x59eddd)['getPath']();_0x4d62cb[0x0]=_0x5eb9a7[0x0]+_0x4d62cb[0x0],_0x51930e[0x0]=_0x5eb9a7[0x0]+_0x51930e[0x0];}let _0x3c20db=_0x1d0b53['model']['createRange'](_0x1d0b53['model']['createPositionFromPath'](_0x1d0b53['model']['document']['getRoot'](_0x11f7b9['rootName']),_0x4d62cb),_0x1d0b53['model']['createPositionFromPath'](_0x1d0b53['model']['document']['getRoot'](_0x11f7b9['rootName']),_0x51930e));const _0x13c19e=_0x366abe['documents']['find'](_0x10ebbe=>_0x10ebbe['id']==_0x11f7b9['documentId'])['version'],_0x1694db=_0x1d0b53['model']['document']['history']['getOperations'](_0x13c19e);for(const _0x9f40ef of _0x1694db)_0x3c20db=_0x491313['ModelRange']['_createFromRanges'](_0x3c20db['getTransformedByOperation'](_0x9f40ef));return{'range':_0x3c20db,'currentIndex':_0x2a7a4d,'targetEditor':_0x1d0b53};}_integrateEditorBalloon(_0x2e9f99){if(!_0x2e9f99['plugins']['has']('AIChatBalloon'))return;const _0x5b1335=_0x2e9f99['plugins']['get']('AIChatBalloon');this['_hasAIChatBalloon']=!0x0,_0x5b1335['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](_0x5b1335,'toggleSuggestionDisplayMode',()=>{const {replyId:_0x47879f,partIndex:_0x3457e7}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0xb9051e}=this['getInteractionAndReplyById'](_0x47879f),_0x49d2b0=_0xb9051e['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x3457e7});_0x5b1335['updateContent']({'part':_0x49d2b0[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](_0x5b1335,'applySuggestion',()=>{const {replyId:_0x1b43a0,partIndex:_0x36e436}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x1b43a0,'partIndex':_0x36e436}),_0x5b1335['setState']('accepted');}),this['listenTo'](_0x5b1335,'insertSuggestion',()=>{const {replyId:_0x103abb,partIndex:_0x46ce97}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x103abb,'partIndex':_0x46ce97}),_0x5b1335['setState']('accepted');}),this['listenTo'](_0x5b1335,'rejectSuggestion',()=>{const {replyId:_0x349a57,partIndex:_0x51133d}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x349a57,'partIndex':_0x51133d}),_0x5b1335['setState']('rejected');}),this['listenTo'](_0x5b1335,'showNext',()=>{const {replyId:_0x39f7bd,partIndex:_0x41a3fa}=this['_currentPreviewedChangeGroup'],_0xd93432=this['_getPresentableSiblingContentPartIndex'](_0x39f7bd,_0x41a3fa,'next');null!==_0xd93432&&this['_openBalloonFor'](_0x39f7bd,_0xd93432);}),this['listenTo'](_0x5b1335,'showPrevious',()=>{const {replyId:_0x2e1086,partIndex:_0xed621c}=this['_currentPreviewedChangeGroup'],_0x404e60=this['_getPresentableSiblingContentPartIndex'](_0x2e1086,_0xed621c,'previous');null!==_0x404e60&&this['_openBalloonFor'](_0x2e1086,_0x404e60);}),this['listenTo'](_0x5b1335,'dialogClosed',(_0x43b154,{id:_0x33dcdf})=>{if('aiChatBalloon'!==_0x33dcdf)return;const {replyId:_0x17e839,partIndex:_0x415d0c}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x17e839,'index':_0x415d0c,'isActive':!0x1}),this['_activeBalloon']===_0x5b1335&&(this['_activeBalloon']=void 0x0);});}_integrateEditor(_0x3914f5){if(this['_channelsToEditors']['set'](_0x3914f5['config']['get']('collaboration.channelId'),_0x3914f5),this['_integrateEditorBalloon'](_0x3914f5),this['addCurrentDocumentToChatContext'](),this['listenTo'](_0x3914f5,'change:isReadOnly',()=>this['_refreshSuggestionGating']()),_0x3914f5['once']('destroy',()=>{this['_checkRemoveCurrentDocumentFromChatContext']();}),_0x3914f5['plugins']['has']('Undo')){const _0x1bf558=_0x3914f5['commands']['get']('undo'),_0x2558dc=_0x3914f5['commands']['get']('redo');this['listenTo'](_0x1bf558,'revert',(_0x24defc,_0x170fc8,_0x1a65e0)=>{const _0x31635b=this['_batchToChanges']['get'](_0x170fc8);if(!_0x31635b)return;const _0x496e4d=this['activeConversation']['getInteraction'](_0x31635b['interactionId']),_0x2cb081=_0x496e4d?.['getReply'](_0x31635b['replyId']);this['_batchToChanges']['delete'](_0x170fc8),_0x496e4d&&_0x2cb081&&(_0x31635b['indexes']['forEach'](_0x3a54a1=>_0x2cb081['setChangeGroupState'](_0x3a54a1,'pending')),this['_batchToChanges']['set'](_0x1a65e0,_0x31635b));}),this['listenTo'](_0x2558dc,'revert',(_0x36d867,_0x4a46c4,_0x3694d0)=>{const _0x20ed11=this['_batchToChanges']['get'](_0x4a46c4);if(!_0x20ed11)return;const _0x42d460=this['activeConversation']['getInteraction'](_0x20ed11['interactionId']),_0x1cefb4=_0x42d460?.['getReply'](_0x20ed11['replyId']);this['_batchToChanges']['delete'](_0x4a46c4),_0x42d460&&_0x1cefb4&&(_0x20ed11['indexes']['forEach'](_0x261fb3=>_0x1cefb4['setChangeGroupState'](_0x261fb3,'accepted')),this['_batchToChanges']['set'](_0x3694d0,_0x20ed11));});}const _0x41573d=_0x3914f5['config']['get']('ai.chat.context');_0x41573d['alwaysAddSelection']&&_0x41573d['document']['enabled']&&this['listenTo'](_0x3914f5['model']['document']['selection'],'change:range',(_0x34f419,_0x1d9b8e)=>{_0x1d9b8e['directChange']&&'chat'===_0x3914f5['plugins']['get']('AITabs')['view']['activeTab']&&(_0x3914f5['model']['hasContent'](_0x3914f5['model']['document']['selection'])?this['addSelectionToChatContext'](_0x3914f5):this['removeSelectionFromChatContext']());});}async _getLastCreatedConversationId(){const _0x28bd74=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x4fc296=await _0x28bd74['getConversations']();return _0x4fc296['length']?_0x4fc296[0x0]['id']:'new';}catch(_0x57175c){return this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':(0x0,_0x491313['uid'])()}),this['_reporter']['logError'](new _0x491313['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x57175c})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async _startConversationSafely(_0x1a5ca7={}){this['set']('isConversationReady',!0x1);try{await this['_handleStartConversation'](_0x1a5ca7),_0x1a5ca7['id']||this['set']('isConversationReady',!0x0);}catch(_0x2128d2){this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x1a5ca7['id']||(0x0,_0x491313['uid'])()}),this['_reporter']['logError'](_0x2128d2),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}_detachFromActiveConversation(){this['_aiChatUi']['setIsUploadInProgress'](!0x1),this['activeConversation']&&this['stopListening'](this['activeConversation']);}async _handleStartConversation({id:_0x48edac,modelId:_0x19184b,contexts:_0x57b961}={}){this['_detachFromActiveConversation'](),this['_closeActiveBalloon']();let _0x3b6947=_0x19184b;_0x3b6947||(_0x48edac||!this['activeConversation']?_0x3b6947=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x3b6947=this['activeConversation']['selectedModel']?.['id'])),this['_stopLastInteraction']();const _0x1c2b1c=this['getGroupId'](),_0x344208=_0x48edac||(0x0,_0x491313['uid'])(),_0x17147d=await this['_aiModels']['getAvailableModels']();let _0x3e660c;this['activeConversation']=new _0x421b4c({'connector':this['_aiConnector'],'chatModels':this['_aiModels'],'selectedModelId':_0x3b6947,'conversationId':_0x344208,'group':_0x1c2b1c,'locale':this['context']['locale'],'isFromHistory':!!_0x48edac,'channelsToEditors':this['_channelsToEditors'],'contextLibrary':this['_aiContextLibrary'],'extraContexts':_0x57b961,'getSessionId':_0x34c0d0=>this['_aiEditing']['getSessionId'](_0x34c0d0),'aiEditing':this['_aiEditing']}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['listenTo'](this['activeConversation'],'conversationInitialized',()=>{this['_aiChatUi']['createConversation']({'availableModels':_0x17147d}),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x48edac||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['listenTo'](this['activeConversation'],'uploadProgressChanged',(_0x598b48,_0x26163a)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x26163a['isUploadInProgress']);}),this['listenTo'](this['activeConversation'],'webSearchStarted',()=>{const _0x3c4b86=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x3c4b86);}),this['listenTo'](this['activeConversation'],'reasoningStarted',()=>{const _0x4eef2f=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x4eef2f);}),this['listenTo'](this['activeConversation'],'webSearchFinished',(_0x591798,_0x4298eb)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x4298eb,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['listenTo'](this['activeConversation'],'reasoningFinished',(_0x577227,_0x4d9476)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x4d9476,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['listenTo'](this['activeConversation'],'interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['listenTo'](this['activeConversation'],'interactionFinished',async()=>{this['_updateReplyContentThrottled']['flush'](),await this['_aiChatUi']['finishInteraction']();}),this['listenTo'](this['activeConversation'],'interactionDestroyed',(_0x10ebaf,_0x57e8bd)=>{this['_aiChatUi']['removeFeedInteraction'](_0x57e8bd['id']);}),this['listenTo'](this['activeConversation'],'setConversationTitle',(_0x8d88cd,_0x1c364,_0x1886f9)=>{this['_updateConversationTitle'](_0x1c364,_0x1886f9);}),this['listenTo'](this['activeConversation'],'replyContentUpdated',async(_0x1a5d6b,_0x2b3269)=>{void 0x0!==_0x3e660c&&_0x3e660c!==_0x2b3269['id']&&this['_updateReplyContentThrottled']['flush'](),_0x3e660c=_0x2b3269['id'],_0x2b3269['isFromHistory']?await this['_updateReplyContent']({'reply':_0x2b3269}):await this['_updateReplyContentThrottled']({'reply':_0x2b3269});}),this['listenTo'](this['activeConversation'],'replyChangeGroupStateUpdated',(_0x33baeb,{reply:_0x32b90a,index:_0x5c9f31,state:_0x51b3f9,outdatedReason:_0x2e849e})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x32b90a['id'],'index':_0x5c9f31,'state':_0x51b3f9,'outdatedReason':_0x2e849e}),this['_aiChatUi']['hasFeedItem'](_0x32b90a['id'])&&this['_aiChatUi']['setSuggestionGating'](_0x32b90a['id'],this['_computeSuggestionGating'](_0x32b90a)),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x32b90a['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x5c9f31&&this['_activeBalloon']?.['setState'](_0x51b3f9,_0x2e849e);}),this['listenTo'](this['activeConversation'],'contextItemAdded',(_0x20e7c7,_0xbb63b8)=>{if(this['_aiChatUi']['addContextItem'](_0xbb63b8['contextItem'],_0xbb63b8['isLoading']),'selection'===_0xbb63b8['contextItem']['type']){const _0x437fc1=_0x4775f6(this['context']),_0x7fc5bb=[..._0x437fc1['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'editor':_0x437fc1,'ranges':_0x7fc5bb,'id':'context','priority':0x1});}}),this['listenTo'](this['activeConversation'],'contextItemRemoved',(_0x4e62a5,_0xd85865)=>{this['_aiChatUi']['removeContextItem'](_0xd85865['uiId']),'current-document'==_0xd85865['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0xd85865['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['listenTo'](this['activeConversation'],'contextItemLoadingEnded',(_0x384e7e,_0x29b8e1)=>{this['_aiChatUi']['setContextItemLoading'](_0x29b8e1['contextItem']['uiId'],_0x29b8e1['isLoading']);}),this['listenTo'](this['activeConversation'],'contextSent',(_0x214ccd,_0x251e88)=>{this['_aiChatUi']['setConversationContext'](_0x251e88['contextItems']);}),this['listenTo'](this['activeConversation'],'addContextOptionsChanged',(_0x13a70e,_0x58e90f)=>{this['_aiChatUi']['setAddContextOptions'](_0x58e90f['options']);}),this['listenTo'](this['activeConversation'],'sourceResourcesLoaded',(_0x227c11,_0x597691)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x597691['sourceId'],_0x597691['source'],_0x597691['resources'],_0x597691['uid']);}),this['listenTo'](this['activeConversation'],'resourceStateChanged',(_0x1a357,_0x2e1353)=>{this['_aiChatUi']['updateResourceState'](_0x2e1353['sourceId'],_0x2e1353['resourceId'],_0x2e1353['isInContext']);}),this['listenTo'](this['activeConversation'],'capabilitiesUpdated',(_0x3963b5,_0x5c4ada)=>{this['_aiChatUi']['updateCapabilities'](_0x5c4ada);}),this['listenTo'](this['activeConversation'],'modelSelected',(_0x2a9ba0,_0x865e41)=>{this['_aiChatUi']['setSelectedModel'](_0x865e41['selectedModel']??null,_0x865e41['isDisabled']);}),this['listenTo'](this['activeConversation'],'error',async(_0x217a43,{error:_0x16e14a,interactionId:_0x1dcffe,fileName:_0x5a01fc,url:_0x5898c2,sourceId:_0x468eec,sourceLabel:_0x36d986})=>{let _0x28bc8d;const _0x516b1b=_0x1dcffe?_0x1dcffe+':'+(0x0,_0x491313['uid'])():(0x0,_0x491313['uid'])();this['_reporter']['reportError'](_0x16e14a),this['_aiChatUi']['startAutoScroll'](),_0x16e14a['message']['startsWith']('ai-request-aborted')?(this['_cancelProcessing'](),this['activeConversation']?.['cancelLastInteractionStream'](),_0x28bc8d=this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x516b1b})):_0x16e14a['message']['startsWith']('ai-chat-conversation-init-failed')||_0x16e14a['message']['startsWith']('ai-chat-conversation-start-failed')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-file-upload-failed')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x5a01fc),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-url-upload-failed')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x5898c2),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-context-invalid-data')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-context-unsupported-type')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x468eec&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x468eec),_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x36d986||'source'),'id':_0x516b1b})):_0x16e14a['message']['startsWith']('ai-chat-resource-load-failed')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-invalid-request')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-context-unsupported-file-type')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-context-file-too-large')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-context-file-too-many-pages')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x516b1b}):_0x16e14a['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x516b1b}):(this['_cancelProcessing'](),_0x28bc8d=this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x258ab2(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x516b1b}));try{await Promise['race']([_0x28bc8d,this['_aiChatUi']['idleUiPromise']]);}finally{this['_aiChatUi']['isBusy']||this['_aiChatUi']['stopAutoScroll']();}}),await this['activeConversation']['init'](this['_buildConversationContextConfig']()),_0x48edac||(await this['activeConversation']['start'](),this['_aiChatUi']['enableControls']());}_buildConversationContextConfig(){const _0x385511=this['context']['config']['get']('ai.chat.context');return this['_contextLibrarySource']?{..._0x385511,'sources':[..._0x385511?.['sources']??[],this['_contextLibrarySource']]}:_0x385511;}async _setUpContextLibrarySource(){const _0x49a9ac=await this['_createContextLibrarySource']();_0x49a9ac&&(this['_contextLibrarySource']=_0x49a9ac,this['activeConversation']&&this['activeConversation']['chatContext']['addContextSource'](_0x49a9ac));}async _createContextLibrarySource(){let _0x18034f;try{_0x18034f=await this['_aiContextLibrary']['getAvailableContexts']();}catch{return null;}if(!_0x18034f['length'])return null;const _0x3bc208=_0x18034f['map'](_0x53ac38=>({'id':_0x53ac38['id'],'type':'context','label':_0x53ac38['name']||_0x53ac38['id']}));return{'id':'ck-ai-context-library','label':_0x258ab2(this['context']['locale'],'AI_CHAT_CONTEXT_LIBRARY_LABEL'),'useDefaultFiltering':!0x0,'getResources':()=>Promise['resolve'](_0x3bc208)};}_removeFromContext(_0x285521){this['activeConversation']?.['removeFromContext'](_0x285521);}_toggleWebSearch(){this['activeConversation']?.['toggleWebSearch']();}_toggleReasoning(){this['activeConversation']?.['toggleReasoning']();}getInteractionAndReplyById(_0x326dee){const [_0x35bc99,_0x161fcd]=_0x326dee['split'](':'),_0x120b8c=this['activeConversation']['getInteraction'](_0x35bc99);return{'interaction':_0x120b8c,'reply':_0x120b8c['getReply'](_0x161fcd)};}_scrollToSuggestionRange(_0x54777a,_0x5a3f6c=!0x1,_0x3216eb){const _0x514b89={'target':_0x3216eb['editing']['view']['domConverter']['viewRangeToDom'](_0x3216eb['editing']['mapper']['toViewRange'](_0x54777a)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x5a3f6c};_0x5a3f6c&&(_0x514b89['alignToTop']=!0x0),(0x0,_0x491313['scrollViewportToShowTarget'])(_0x514b89);}_updateConversationTitle(_0x11c336,_0x1e8b0a=!0x1){this['_aiChatUi']['setConversationTitle'](_0x11c336||_0x258ab2(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x1e8b0a);}_addFeedItemReply(_0x188439){'text'===_0x188439['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x188439):this['_aiChatUi']['addFeedItemAISuggestion'](_0x188439);}async _updateReplyContent({reply:_0x33a755,renderingStrategy:_0x55a640}){const {id:_0x270b3f,interactionId:_0x37121b,isDone:_0xddd422,type:_0x19ac28,parsedContent:_0x3e88d9}=_0x33a755,_0x37fc8b=_0x37121b+':'+_0x270b3f;if('modification'===_0x19ac28){const _0x10f082=_0x33a755['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x37fc8b,'parts':_0x10f082,'isDone':_0xddd422,'skipLoadingEffects':_0x33a755['isFromHistory']}),this['_aiChatUi']['hasFeedItem'](_0x33a755['id'])&&this['_aiChatUi']['setSuggestionGating'](_0x33a755['id'],this['_computeSuggestionGating'](_0x33a755));}else'text'===_0x19ac28&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x37fc8b,'parsedContent':_0x3e88d9['get']('text'),'renderingStrategy':_0x55a640,'isDone':_0xddd422});_0xddd422&&_0x33a755['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x37fc8b,_0x33a755['sources']);}_updateReplyContentThrottled=_0x1eb39b(this['_updateReplyContent']['bind'](this),0xc8);_stopLastInteraction(){this['activeConversation']?.['stopProcessing'](),this['_aiChatUi']['stopInteraction'](this['activeConversation']?.['lastInteraction']),this['_updateReplyContentThrottled']['cancel']();}async _flushLastInteractionUI(){const _0x263d5d=this['activeConversation']?.['lastInteraction'];if(_0x263d5d){for await(const _0x289b8d of _0x263d5d['replies'])this['_aiChatUi']['hasFeedItem'](_0x289b8d['id'])||this['_addFeedItemReply'](_0x289b8d),await this['_updateReplyContent']({'reply':_0x289b8d,'renderingStrategy':'static'});}}async['_cancelProcessing'](){this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext']();}_updateRatings(_0x2c7fc0){const _0x4b80f8={'positiveCount':_0x2c7fc0['changeGroups']['filter'](_0xededdb=>'accepted'===_0xededdb['state'])['length'],'totalCount':_0x2c7fc0['changeGroups']['length'],'modificationId':_0x2c7fc0['id']},_0x2398df=this['activeConversation']['getInteraction'](_0x2c7fc0['interactionId'])['messageId'];_0x2398df&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x2398df,_0x4b80f8);}_getAIChatFeedAPI(_0x405fd7){const _0x1bcf4e=this['_aiChatUi'],_0x13ff21=()=>{_0x405fd7['resetWebSearchState'](),_0x405fd7['resetReasoningState'](),_0x1bcf4e['clearLoadingMessage']();},_0x1be85a=()=>{_0x405fd7['currentReply']&&(_0x405fd7['currentReply']['done'](),_0x405fd7['currentReply']=void 0x0);};return{'insertTextReply':(_0x1ceadd,_0x1a321c)=>{_0x1be85a(),_0x13ff21();const _0x5078c1=_0x405fd7['currentReply']=_0x405fd7['createReply']({'type':'text','interactionId':_0x405fd7['id'],'id':_0x1a321c||(0x0,_0x491313['uid'])(),'channelsToEditors':this['_channelsToEditors']});return _0x5078c1['appendContent'](_0x1ceadd),_0x1be85a(),_0x5078c1;},'insertCustomElement':async(_0x2581f9,_0x1553a0)=>(_0x1be85a(),_0x13ff21(),_0x1bcf4e['addFeedItemCustomElement'](_0x2581f9,_0x1553a0||(0x0,_0x491313['uid'])())),'setLoadingMessage':_0x524401=>{_0x1bcf4e['setLoadingMessage'](_0x524401);},'clearLoadingMessage':()=>{_0x1bcf4e['clearLoadingMessage']();}};}_checkRemoveCurrentDocumentFromChatContext(){_0x483724(this['context'])['find'](_0x3bc1b9=>'destroyed'!==_0x3bc1b9['state'])||(this['activeConversation']?.['removeFromContext']('current-document'),this['activeConversation']?.['toggleAddCurrentDocumentOptionVisibility'](!0x1));}};const _0x334679=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x4f8ddf=[..._0x334679,'startConversation','sendUserMessage','promptInputPaste','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x5ad91f,_0x238792='undefined'==typeof document?void 0x0:document,_0xc58c92=!!_0x238792&&'content'in _0x238792['createElement']('template'),_0x5d183c=!!_0x238792&&_0x238792['createRange']&&'createContextualFragment'in _0x238792['createRange']();function _0x24eecb(_0xcadeb7){return _0xcadeb7=_0xcadeb7['trim'](),_0xc58c92?function(_0x5c812c){var _0x379ce2=_0x238792['createElement']('template');return _0x379ce2['innerHTML']=_0x5c812c,_0x379ce2['content']['childNodes'][0x0];}(_0xcadeb7):_0x5d183c?function(_0x57b6ae){return _0x5ad91f||(_0x5ad91f=_0x238792['createRange']())['selectNode'](_0x238792['body']),_0x5ad91f['createContextualFragment'](_0x57b6ae)['childNodes'][0x0];}(_0xcadeb7):function(_0x126da1){var _0x5b1115=_0x238792['createElement']('body');return _0x5b1115['innerHTML']=_0x126da1,_0x5b1115['childNodes'][0x0];}(_0xcadeb7);}function _0x59e361(_0x14e729,_0x3ac944){var _0x2a33b0,_0x3e5637,_0x3c6484=_0x14e729['nodeName'],_0x5d9fe8=_0x3ac944['nodeName'];return _0x3c6484===_0x5d9fe8||(_0x2a33b0=_0x3c6484['charCodeAt'](0x0),_0x3e5637=_0x5d9fe8['charCodeAt'](0x0),_0x2a33b0<=0x5a&&_0x3e5637>=0x61?_0x3c6484===_0x5d9fe8['toUpperCase']():_0x3e5637<=0x5a&&_0x2a33b0>=0x61&&_0x5d9fe8===_0x3c6484['toUpperCase']());}function _0x84439c(_0x5095c6,_0x58b872,_0x110487){_0x5095c6[_0x110487]!==_0x58b872[_0x110487]&&(_0x5095c6[_0x110487]=_0x58b872[_0x110487],_0x5095c6[_0x110487]?_0x5095c6['setAttribute'](_0x110487,''):_0x5095c6['removeAttribute'](_0x110487));}var _0x2de175={'OPTION':function(_0x23e17e,_0x3911c4){var _0x38989a=_0x23e17e['parentNode'];if(_0x38989a){var _0x35802a=_0x38989a['nodeName']['toUpperCase']();'OPTGROUP'===_0x35802a&&(_0x35802a=(_0x38989a=_0x38989a['parentNode'])&&_0x38989a['nodeName']['toUpperCase']()),'SELECT'!==_0x35802a||_0x38989a['hasAttribute']('multiple')||(_0x23e17e['hasAttribute']('selected')&&!_0x3911c4['selected']&&(_0x23e17e['setAttribute']('selected','selected'),_0x23e17e['removeAttribute']('selected')),_0x38989a['selectedIndex']=-0x1);}_0x84439c(_0x23e17e,_0x3911c4,'selected');},'INPUT':function(_0x37ab25,_0x39868c){_0x84439c(_0x37ab25,_0x39868c,'checked'),_0x84439c(_0x37ab25,_0x39868c,'disabled'),_0x37ab25['value']!==_0x39868c['value']&&(_0x37ab25['value']=_0x39868c['value']),_0x39868c['hasAttribute']('value')||_0x37ab25['removeAttribute']('value');},'TEXTAREA':function(_0x520326,_0x5afeaf){var _0x18f501=_0x5afeaf['value'];_0x520326['value']!==_0x18f501&&(_0x520326['value']=_0x18f501);var _0x5cd450=_0x520326['firstChild'];if(_0x5cd450){var _0x5d507b=_0x5cd450['nodeValue'];if(_0x5d507b==_0x18f501||!_0x18f501&&_0x5d507b==_0x520326['placeholder'])return;_0x5cd450['nodeValue']=_0x18f501;}},'SELECT':function(_0x456af3,_0x2a91fe){if(!_0x2a91fe['hasAttribute']('multiple')){for(var _0xeba0f1,_0x3b403,_0xe0bac=-0x1,_0x448a98=0x0,_0x827ae1=_0x456af3['firstChild'];_0x827ae1;)if('OPTGROUP'===(_0x3b403=_0x827ae1['nodeName']&&_0x827ae1['nodeName']['toUpperCase']()))(_0x827ae1=(_0xeba0f1=_0x827ae1)['firstChild'])||(_0x827ae1=_0xeba0f1['nextSibling'],_0xeba0f1=null);else{if('OPTION'===_0x3b403){if(_0x827ae1['hasAttribute']('selected')){_0xe0bac=_0x448a98;break;}_0x448a98++;}!(_0x827ae1=_0x827ae1['nextSibling'])&&_0xeba0f1&&(_0x827ae1=_0xeba0f1['nextSibling'],_0xeba0f1=null);}_0x456af3['selectedIndex']=_0xe0bac;}}};function _0x5e7073(){}function _0x727fbb(_0x478cbf){if(_0x478cbf)return _0x478cbf['getAttribute']&&_0x478cbf['getAttribute']('id')||_0x478cbf['id'];}var _0x5bf77d=function(_0x4a35c1){return function(_0x1280d7,_0x2d0080,_0x3af1db){if(_0x3af1db||(_0x3af1db={}),'string'==typeof _0x2d0080){if('#document'===_0x1280d7['nodeName']||'HTML'===_0x1280d7['nodeName']||'BODY'===_0x1280d7['nodeName']){var _0x5905e8=_0x2d0080;(_0x2d0080=_0x238792['createElement']('html'))['innerHTML']=_0x5905e8;}else _0x2d0080=_0x24eecb(_0x2d0080);}else 0xb===_0x2d0080['nodeType']&&(_0x2d0080=_0x2d0080['firstElementChild']);var _0x5647e2=_0x3af1db['getNodeKey']||_0x727fbb,_0x14be4b=_0x3af1db['onBeforeNodeAdded']||_0x5e7073,_0x1a7d80=_0x3af1db['onNodeAdded']||_0x5e7073,_0x58ef45=_0x3af1db['onBeforeElUpdated']||_0x5e7073,_0x1f76fa=_0x3af1db['onElUpdated']||_0x5e7073,_0x900b2c=_0x3af1db['onBeforeNodeDiscarded']||_0x5e7073,_0x56206c=_0x3af1db['onNodeDiscarded']||_0x5e7073,_0x2b675c=_0x3af1db['onBeforeElChildrenUpdated']||_0x5e7073,_0x19acbf=_0x3af1db['skipFromChildren']||_0x5e7073,_0xdac92f=_0x3af1db['addChild']||function(_0x3de7bb,_0x269391){return _0x3de7bb['appendChild'](_0x269391);},_0x239d2f=!0x0===_0x3af1db['childrenOnly'],_0x308d61=Object['create'](null),_0x279d9a=[];function _0x5bccab(_0x242506){_0x279d9a['push'](_0x242506);}function _0x27f363(_0x58985a,_0x1a1e02){if(0x1===_0x58985a['nodeType'])for(var _0x4c1342=_0x58985a['firstChild'];_0x4c1342;){var _0x3da8f3=void 0x0;_0x1a1e02&&(_0x3da8f3=_0x5647e2(_0x4c1342))?_0x5bccab(_0x3da8f3):(_0x56206c(_0x4c1342),_0x4c1342['firstChild']&&_0x27f363(_0x4c1342,_0x1a1e02)),_0x4c1342=_0x4c1342['nextSibling'];}}function _0x5e1169(_0x3c329e,_0x1edc4a,_0xee93b8){!0x1!==_0x900b2c(_0x3c329e)&&(_0x1edc4a&&_0x1edc4a['removeChild'](_0x3c329e),_0x56206c(_0x3c329e),_0x27f363(_0x3c329e,_0xee93b8));}function _0x4f58ff(_0x548636){if(0x1===_0x548636['nodeType']||0xb===_0x548636['nodeType'])for(var _0x541a5a=_0x548636['firstChild'];_0x541a5a;){var _0x2d3697=_0x5647e2(_0x541a5a);_0x2d3697&&(_0x308d61[_0x2d3697]=_0x541a5a),_0x4f58ff(_0x541a5a),_0x541a5a=_0x541a5a['nextSibling'];}}function _0x2db77b(_0x406e11){_0x1a7d80(_0x406e11);for(var _0x4e59eb=_0x406e11['firstChild'];_0x4e59eb;){var _0x5a1e16=_0x4e59eb['nextSibling'],_0x19f42a=_0x5647e2(_0x4e59eb);if(_0x19f42a){var _0xac53f0=_0x308d61[_0x19f42a];_0xac53f0&&_0x59e361(_0x4e59eb,_0xac53f0)?(_0x4e59eb['parentNode']['replaceChild'](_0xac53f0,_0x4e59eb),_0x54650e(_0xac53f0,_0x4e59eb)):_0x2db77b(_0x4e59eb);}else _0x2db77b(_0x4e59eb);_0x4e59eb=_0x5a1e16;}}function _0x54650e(_0x3ffda8,_0x53367,_0x3761e6){var _0x16f216=_0x5647e2(_0x53367);if(_0x16f216&&delete _0x308d61[_0x16f216],!_0x3761e6){var _0x112d59=_0x58ef45(_0x3ffda8,_0x53367);if(!0x1===_0x112d59)return;if(_0x112d59 instanceof HTMLElement&&_0x4f58ff(_0x3ffda8=_0x112d59),_0x4a35c1(_0x3ffda8,_0x53367),_0x1f76fa(_0x3ffda8),!0x1===_0x2b675c(_0x3ffda8,_0x53367))return;}'TEXTAREA'!==_0x3ffda8['nodeName']?function(_0xfa0ffd,_0x15b359){var _0x2bf87b,_0x493ef3,_0x3abe7e,_0x39bd88,_0x3a1f66,_0x486ea1=_0x19acbf(_0xfa0ffd,_0x15b359),_0x2f9d4f=_0x15b359['firstChild'],_0x597830=_0xfa0ffd['firstChild'];t:for(;_0x2f9d4f;){for(_0x39bd88=_0x2f9d4f['nextSibling'],_0x2bf87b=_0x5647e2(_0x2f9d4f);!_0x486ea1&&_0x597830;){if(_0x3abe7e=_0x597830['nextSibling'],_0x2f9d4f['isSameNode']&&_0x2f9d4f['isSameNode'](_0x597830)){_0x2f9d4f=_0x39bd88,_0x597830=_0x3abe7e;continue t;}_0x493ef3=_0x5647e2(_0x597830);var _0x523ed1=_0x597830['nodeType'],_0x441552=void 0x0;if(_0x523ed1===_0x2f9d4f['nodeType']&&(0x1===_0x523ed1?(_0x2bf87b?_0x2bf87b!==_0x493ef3&&((_0x3a1f66=_0x308d61[_0x2bf87b])?_0x3abe7e===_0x3a1f66?_0x441552=!0x1:(_0xfa0ffd['insertBefore'](_0x3a1f66,_0x597830),_0x493ef3?_0x5bccab(_0x493ef3):_0x5e1169(_0x597830,_0xfa0ffd,!0x0),_0x493ef3=_0x5647e2(_0x597830=_0x3a1f66)):_0x441552=!0x1):_0x493ef3&&(_0x441552=!0x1),(_0x441552=!0x1!==_0x441552&&_0x59e361(_0x597830,_0x2f9d4f))&&_0x54650e(_0x597830,_0x2f9d4f)):0x3!==_0x523ed1&&0x8!=_0x523ed1||(_0x441552=!0x0,_0x597830['nodeValue']!==_0x2f9d4f['nodeValue']&&(_0x597830['nodeValue']=_0x2f9d4f['nodeValue']))),_0x441552){_0x2f9d4f=_0x39bd88,_0x597830=_0x3abe7e;continue t;}_0x493ef3?_0x5bccab(_0x493ef3):_0x5e1169(_0x597830,_0xfa0ffd,!0x0),_0x597830=_0x3abe7e;}if(_0x2bf87b&&(_0x3a1f66=_0x308d61[_0x2bf87b])&&_0x59e361(_0x3a1f66,_0x2f9d4f))_0x486ea1||_0xdac92f(_0xfa0ffd,_0x3a1f66),_0x54650e(_0x3a1f66,_0x2f9d4f);else{var _0x1d237e=_0x14be4b(_0x2f9d4f);!0x1!==_0x1d237e&&(_0x1d237e&&(_0x2f9d4f=_0x1d237e),_0x2f9d4f['actualize']&&(_0x2f9d4f=_0x2f9d4f['actualize'](_0xfa0ffd['ownerDocument']||_0x238792)),_0xdac92f(_0xfa0ffd,_0x2f9d4f),_0x2db77b(_0x2f9d4f));}_0x2f9d4f=_0x39bd88,_0x597830=_0x3abe7e;}!function(_0xf644e5,_0x50072e,_0x3beba8){for(;_0x50072e;){var _0x171aba=_0x50072e['nextSibling'];(_0x3beba8=_0x5647e2(_0x50072e))?_0x5bccab(_0x3beba8):_0x5e1169(_0x50072e,_0xf644e5,!0x0),_0x50072e=_0x171aba;}}(_0xfa0ffd,_0x597830,_0x493ef3);var _0x13e25b=_0x2de175[_0xfa0ffd['nodeName']];_0x13e25b&&_0x13e25b(_0xfa0ffd,_0x15b359);}(_0x3ffda8,_0x53367):_0x2de175['TEXTAREA'](_0x3ffda8,_0x53367);}_0x4f58ff(_0x1280d7);var _0xd00159=_0x1280d7,_0x379aab=_0xd00159['nodeType'],_0x1be6a6=_0x2d0080['nodeType'];if(!_0x239d2f){if(0x1===_0x379aab)0x1===_0x1be6a6?_0x59e361(_0x1280d7,_0x2d0080)||(_0x56206c(_0x1280d7),_0xd00159=function(_0xcff74,_0x229c99){for(var _0x5f2547=_0xcff74['firstChild'];_0x5f2547;){var _0x26884d=_0x5f2547['nextSibling'];_0x229c99['appendChild'](_0x5f2547),_0x5f2547=_0x26884d;}return _0x229c99;}(_0x1280d7,function(_0x2ba513,_0x568333){return _0x568333&&'http://www.w3.org/1999/xhtml'!==_0x568333?_0x238792['createElementNS'](_0x568333,_0x2ba513):_0x238792['createElement'](_0x2ba513);}(_0x2d0080['nodeName'],_0x2d0080['namespaceURI']))):_0xd00159=_0x2d0080;else{if(0x3===_0x379aab||0x8===_0x379aab){if(_0x1be6a6===_0x379aab)return _0xd00159['nodeValue']!==_0x2d0080['nodeValue']&&(_0xd00159['nodeValue']=_0x2d0080['nodeValue']),_0xd00159;_0xd00159=_0x2d0080;}}}if(_0xd00159===_0x2d0080)_0x56206c(_0x1280d7);else{if(_0x2d0080['isSameNode']&&_0x2d0080['isSameNode'](_0xd00159))return;if(_0x54650e(_0xd00159,_0x2d0080,_0x239d2f),_0x279d9a)for(var _0x65b2b6=0x0,_0x4334a3=_0x279d9a['length'];_0x65b2b6<_0x4334a3;_0x65b2b6++){var _0xc2d131=_0x308d61[_0x279d9a[_0x65b2b6]];_0xc2d131&&_0x5e1169(_0xc2d131,_0xc2d131['parentNode'],!0x1);}}return!_0x239d2f&&_0xd00159!==_0x1280d7&&_0x1280d7['parentNode']&&(_0xd00159['actualize']&&(_0xd00159=_0xd00159['actualize'](_0x1280d7['ownerDocument']||_0x238792)),_0x1280d7['parentNode']['replaceChild'](_0xd00159,_0x1280d7)),_0xd00159;};}(function(_0x2c1cc9,_0x319a34){var _0x16d041,_0x43671c,_0x47e25f,_0x4de0c8,_0x52c8c7=_0x319a34['attributes'];if(0xb!==_0x319a34['nodeType']&&0xb!==_0x2c1cc9['nodeType']){for(var _0x398749=_0x52c8c7['length']-0x1;_0x398749>=0x0;_0x398749--)_0x43671c=(_0x16d041=_0x52c8c7[_0x398749])['name'],_0x47e25f=_0x16d041['namespaceURI'],_0x4de0c8=_0x16d041['value'],_0x47e25f?(_0x43671c=_0x16d041['localName']||_0x43671c,_0x2c1cc9['getAttributeNS'](_0x47e25f,_0x43671c)!==_0x4de0c8&&('xmlns'===_0x16d041['prefix']&&(_0x43671c=_0x16d041['name']),_0x2c1cc9['setAttributeNS'](_0x47e25f,_0x43671c,_0x4de0c8))):_0x2c1cc9['getAttribute'](_0x43671c)!==_0x4de0c8&&_0x2c1cc9['setAttribute'](_0x43671c,_0x4de0c8);for(var _0x219771=_0x2c1cc9['attributes'],_0x7bdd9f=_0x219771['length']-0x1;_0x7bdd9f>=0x0;_0x7bdd9f--)_0x43671c=(_0x16d041=_0x219771[_0x7bdd9f])['name'],(_0x47e25f=_0x16d041['namespaceURI'])?(_0x43671c=_0x16d041['localName']||_0x43671c,_0x319a34['hasAttributeNS'](_0x47e25f,_0x43671c)||_0x2c1cc9['removeAttributeNS'](_0x47e25f,_0x43671c)):_0x319a34['hasAttribute'](_0x43671c)||_0x2c1cc9['removeAttribute'](_0x43671c);}});function _0x1d97af(_0xe22eec){const _0x2b1f2f=new AbortController();return{'promise':new Promise((_0x5226d1,_0x4c6385)=>{const _0x2c5303=setTimeout(_0x5226d1,_0xe22eec);_0x2b1f2f['signal']['addEventListener']('abort',()=>{clearTimeout(_0x2c5303),_0x4c6385();});}),'abortController':_0x2b1f2f};}var _0x11dc58=class{options;isStreaming=!0x1;document=null;nodesList=[];currentIndex=0x0;timeoutAbortController=null;lastUpdateTime=0x0;constructor(_0x31db4f){this['options']={'delay':_0x31db4f?.['delay']??0xa,'textNodeStyle':_0x31db4f?.['textNodeStyle']??'animation:\x20ck-html-streamer-fade-in\x20.3s'};}async stream({document:_0x1296ea,targetElement:_0x435330,abortSignal:_0x55d67e}){this['isStreaming']&&this['stop'](),_0x55d67e?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x3bf1db(_0x1296ea,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x450800=0x0;_0x450800<this['currentIndex'];_0x450800++)this['nodesList'][_0x450800]['shouldBeStreamed']=!0x0;do{const _0xbcbf36=Date['now'](),_0x17c129=this['nodesList'][this['currentIndex']],_0x45ddb5=_0xbcbf36-this['lastUpdateTime'];if(_0x17c129){_0x17c129['shouldBeStreamed']=!0x0;let _0x1f87ca=_0x17c129['parent'];for(;_0x1f87ca;)_0x1f87ca['shouldBeStreamed']=!0x0,_0x1f87ca=_0x1f87ca['parent'];}if(_0x45ddb5<this['options']['delay'])try{const {promise:_0x8a1295,abortController:_0x309e5d}=_0x1d97af(this['options']['delay']-_0x45ddb5);this['timeoutAbortController']=_0x309e5d,await _0x8a1295;}catch(_0x320dad){return;}_0x5bf77d(_0x435330,'<'+_0x435330['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x435330['tagName']+'>',{'childrenOnly':!0x0}),this['currentIndex']++,this['lastUpdateTime']=Date['now']();}while(this['currentIndex']<this['nodesList']['length']);this['currentIndex']=this['nodesList']['length'],this['isStreaming']=!0x1;}reset(){this['isStreaming']=!0x1,this['document']=null,this['nodesList']=[],this['currentIndex']=0x0,this['timeoutAbortController']=null;}cleanUpAnimations({targetElement:_0x4b68db}){Array['from'](_0x4b68db['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x3a1693=>{_0x3a1693['replaceWith'](_0x3a1693['childNodes'][0x0]);});}stop(){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x194de1){let _0x570ee9='';if(function(_0x27a027){return _0x12cec3(_0x27a027);}(_0x194de1)){for(const _0x2dbbd5 of _0x194de1['children'])_0x570ee9+=this['renderNode'](_0x2dbbd5);}else{if(_0x216bcb(_0x194de1)){if(!_0x194de1['shouldBeStreamed'])return'';const _0x52647b=_0x194de1,_0x1092a3=Object['entries'](_0x52647b['attribs'])['map'](([_0x2be8ff,_0x52b78a])=>_0x2be8ff+'=\x22'+_0x52b78a+'\x22')['join']('\x20');_0x570ee9+='<'+_0x52647b['tagName']+(_0x1092a3?'\x20'+_0x1092a3:'')+'>';for(const _0x243165 of _0x57bc53(_0x19d05c=_0x52647b)?_0x19d05c['children']:[])_0x570ee9+=this['renderNode'](_0x243165);_0x570ee9+='</'+_0x52647b['tagName']+'>';}else{if(!_0x5a90af(_0x194de1))return'';if(!_0x194de1['shouldBeStreamed'])return'';!function(_0x33ab9e){return!(!_0x33ab9e['parent']||!_0x216bcb(_0x33ab9e['parent']))&&(!!_0x13fcfd['includes'](_0x33ab9e['parent']['tagName'])&&!_0x560ec0(_0x33ab9e)['match'](/^\s*[<>]\s*$/));}(_0x194de1)?_0x570ee9+=_0xaf5800(_0x194de1):_0x570ee9+=_0xaf5800(new _0x235f71('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x194de1]));}}var _0x19d05c;return _0x570ee9;}getParsedDocumentNodeList(){const _0x35962f=[];return function(_0x2a0c52,_0x5418ca){const _0x4dbf8d=_0x32d23d=>{if(_0x5418ca(_0x32d23d),_0x32d23d instanceof _0x4e58f0)for(let _0x9eb0ac=0x0;_0x9eb0ac<_0x32d23d['children']['length'];_0x9eb0ac++){const _0x438d4d=_0x32d23d['children'][_0x9eb0ac];_0x4dbf8d(_0x438d4d);}};for(let _0x35efe1=0x0;_0x35efe1<_0x2a0c52['children']['length'];_0x35efe1++)_0x4dbf8d(_0x2a0c52['children'][_0x35efe1]);}(this['document'],_0x5c61e0=>{if(_0x5a90af(_0x5c61e0)){const _0x1eabe2=this['splitTextNodeIntoWordNodes'](_0x5c61e0);_0x1eabe2['length']&&_0x35962f['push'](..._0x1eabe2);}_0x5c61e0['isWordSplitSource']||_0x5c61e0['isWordSplitResult']||_0x35962f['push'](_0x5c61e0);}),_0x35962f;}splitTextNodeIntoWordNodes(_0x35c5e0){if(_0x35c5e0['isWordSplitSource']||_0x35c5e0['isWordSplitResult'])return[];const _0x2afaad=_0x560ec0(_0x35c5e0)['match'](/(?:\s*\S+\s*)/g),_0x3de669=[];if(_0x2afaad&&_0x2afaad['length']>0x1){for(const _0x21b2db of _0x2afaad){const _0x457955=new _0x48e3aa(_0x21b2db);_0x457955['isWordSplitResult']=!0x0,_0x530802(_0x35c5e0,_0x457955),_0x3de669['push'](_0x457955);}_0x35c5e0['isWordSplitSource']=!0x0,_0x5862cf(_0x35c5e0);}return _0x3de669;}};const _0x13fcfd=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function _0x5a90af(_0x86d670){return _0x1638d2(_0x86d670);}function _0x216bcb(_0x4a8801){return _0x227df4(_0x4a8801);}function _0x9fcb4c(_0x2eec87,_0x41eb34){_0x2eec87['cleanUpAnimations']({'targetElement':_0x41eb34}),_0x41eb34['querySelectorAll']('[data-id]')['forEach'](_0x3d9146=>{_0x3d9146['removeAttribute']('data-id');});}var _0x3e6966=class extends _0x491313['View']{options;content='';htmlStreamer;['children'];constructor(_0x3b00d1){super();const _0x2eca62=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new _0x11dc58(),this['options']=_0x3b00d1,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x2eca62['if']('isDone','ck-ai-chat__feed__item_done'),_0x2eca62['if']('isVisible','ck-hidden',_0x4be254=>!_0x4be254),'ck-ai-chat__feed__text-item'],'data-cke-ai-id':this['options']['id']},'children':this['children']});}['markAsDone'](){_0x9fcb4c(this['htmlStreamer'],this['element']),this['isDone']=!0x0;}async streamIntoElement(_0x1984de,_0x561ee1,_0x1e5801){await this['htmlStreamer']['stream']({'document':_0x1984de,'targetElement':_0x561ee1,'abortSignal':_0x1e5801});}},_0x1f451b=class extends _0x491313['View']{['showChangesToggleView'];constructor(_0x528c58,_0x4b9164){super(_0x528c58),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x1969a0(_0x528c58),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+_0xa623f1,'label':_0x258ab2(_0x528c58,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x4b9164['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x352f65=>_0x352f65?_0x491313['IconShowChangesOn']:_0x491313['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x1954ab=new _0x491313['IconView']();_0x1954ab['content']=_0x491313['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x4b9164['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x1954ab,{'tag':'span','children':[_0x258ab2(_0x528c58,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}},_0x1969a0=class extends _0x491313['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}};const _0x17c0f1={'accepted':_0x491313['IconCheck'],'rejected':_0x491313['IconCancel'],'outdated':_0x491313['IconRevisionHistory']};var _0x313f40=class extends _0x491313['View']{statePillView;constructor(_0x2534c7){super(_0x2534c7);const _0x5f03a9=this['bindTemplate'];this['set']('state','accepted'),this['set']('outdatedReason',void 0x0),this['set']('isVisible',!0x0),this['statePillView']=new _0x5c5ba5(_0x2534c7),this['statePillView']['bind']('label')['to'](this,'state',_0x1dd062=>function(_0x4aa1de,_0x39b108){return _0x258ab2(_0x4aa1de,'AI_SUGGESTION_CONTENT_PART_STATE_'+_0x39b108['toUpperCase']());}(_0x2534c7,_0x1dd062)),this['statePillView']['bind']('icon')['to'](this,'state',_0x3b8734=>_0x17c0f1[_0x3b8734]),this['statePillView']['bind']('class')['to'](this,'state',_0x27c346=>'ck-pill_'+_0x27c346),this['statePillView']['bind']('tooltip')['to'](this,'state',this,'outdatedReason',(_0x401150,_0x4f9c8b)=>function(_0x24c20b,_0x208646,_0x222a87){if('outdated'!==_0x208646)return;return _0x258ab2(_0x24c20b,_0x222a87?_0x252358[_0x222a87]:'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_TOOLTIP');}(_0x2534c7,_0x401150,_0x4f9c8b)),this['statePillView']['tooltipPosition']='s',this['statePillView']['tooltipClass']='ck-tooltip_multi-line',this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0x5f03a9['if']('isVisible','ck-hidden',_0x12b7b2=>!_0x12b7b2)]},'children':[this['statePillView']]});}setState(_0x128ad8,_0x2146e1){this['state']=_0x128ad8,this['outdatedReason']='outdated'===_0x128ad8?_0x2146e1:void 0x0;}};const _0x252358={'content-removed':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_CONTENT_REMOVED_TOOLTIP','editor-removed':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_EDITOR_REMOVED_TOOLTIP','session-changed':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED_SESSION_CHANGED_TOOLTIP'};var _0x47f19a=class extends _0x491313['ToolbarView']{_applyButton;_suggestButton;constructor(_0x104435,_0x13f107,_0x2cb3f3){super(_0x104435);const _0x33f3ec=Boolean(_0x2cb3f3);this['set']('isEnabled',!_0x33f3ec),this['set']('isVisible',!0x0),this['set']('isTrackChangesOn',!0x1),this['set']('isTargetReadOnly',!0x1),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x1d75d7=[];if(!_0x33f3ec){_0x13f107['includes']('applySuggestion')&&(this['_applyButton']=new _0x491313['ButtonView'](_0x104435),this['_applyButton']['set']({'label':_0x258ab2(_0x104435,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x491313['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isTargetReadOnly',(_0x1db1c0,_0x48f335)=>_0x1db1c0&&!_0x48f335),this['_applyButton']['bind']('isVisible')['to'](this,'isTrackChangesOn',_0x45f2c1=>!_0x45f2c1),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x1d75d7['push'](this['_applyButton'])),_0x13f107['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x491313['ButtonView'](_0x104435),this['_suggestButton']['set']({'label':_0x258ab2(_0x104435,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x491313['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isTargetReadOnly',(_0x2ec021,_0x42185b)=>_0x2ec021&&!_0x42185b),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x1d75d7['push'](this['_suggestButton']));const _0x17f643=new _0x491313['ButtonView'](_0x104435);_0x17f643['set']({'label':_0x258ab2(_0x104435,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x491313['IconBoxWithCross']}),_0x17f643['bind']('isEnabled')['to'](this),_0x17f643['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x1d75d7['push'](_0x17f643);}this['items']['addMany'](_0x1d75d7);const _0x1a627d=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x1a627d['if']('isVisible','ck-hidden',_0x4376e1=>!_0x4376e1)]}});}setButtonsVisibility({showApplyButton:_0x2470ae,showSuggestButton:_0xfe2e4f}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x2470ae),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0xfe2e4f);}},_0x525182=class extends _0x491313['View']{toolbarView;stateView;titleLabelView;['children'];constructor(_0x49a66a,{part:_0x51877b,uiIndex:_0xcda58c,availableActions:_0x1edf98,areActionsDisabled:_0x5f5494}){super(_0x49a66a),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['set']('isTrackChangesOn',!0x1),this['set']('isTargetReadOnly',!0x1),this['toolbarView']=new _0x47f19a(_0x49a66a,_0x1edf98,_0x5f5494),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x51877b['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x51877b['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x51877b['index']});}),this['toolbarView']['bind']('isEnabled','isTrackChangesOn','isTargetReadOnly')['to'](this),this['stateView']=new _0x313f40(_0x49a66a),this['titleLabelView']=new _0x24a18b(_0x49a66a,_0xcda58c),this['children']=this['createCollection'](),this['children']['addMany']([this['titleLabelView'],this['toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__title']},'children':this['children']}),this['on']('change:state',(_0x102d4c,_0x485f2e,_0x59ebe4,_0x327d84)=>{'pending'===_0x327d84?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x59ebe4?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x59ebe4,this['outdatedReason']),this['children']['add'](this['stateView']));});}},_0x24a18b=class extends _0x491313['View']{constructor(_0x5236f6,_0x28956a){super(_0x5236f6),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[_0x258ab2(_0x5236f6,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x28956a['toString']())]});}},_0x35e7dc=class extends _0x491313['View']{htmlStreamer;constructor(_0x2c5ea6){super(_0x2c5ea6),this['htmlStreamer']=new _0x11dc58(),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async update({part:_0x590def,renderingStrategy:_0x226542,abortSignal:_0x1d14d2}){this['_ensureHostElementTag'](_0x590def['wrapperTag']||'div');const _0x328a6e=_0x3bf1db(_0x590def['content'],!0x0);for(const _0x50b735 of _0x312367(_0x328a6e))_0x5862cf(_0x50b735);'streaming'===_0x226542?await this['htmlStreamer']['stream']({'document':_0x328a6e,'targetElement':this['element'],'abortSignal':_0x1d14d2}):_0x5bf77d(this['element'],'<'+this['element']['tagName']+'>'+_0x26cf45(_0x328a6e)+'</'+this['element']['tagName']+'>',{'childrenOnly':!0x0});}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='',this['element']['scrollTop']=0x0;}cleanUpStreamingArtifacts(){_0x9fcb4c(this['htmlStreamer'],this['element']);}_ensureHostElementTag(_0x38ff31){if(!this['element']||this['element']['tagName']['toLowerCase']()===_0x38ff31)return;const _0x1c6f35=new _0x491313['Template']({'tag':_0x38ff31,'attributes':{'class':this['element']['className']}})['render']();this['element']['replaceWith'](_0x1c6f35),this['element']=_0x1c6f35;}},_0x521249=class extends _0x491313['View']{['_children'];['_headerView'];_streamableContentView;constructor(_0x56cdfa,{part:_0x577d15,uiIndex:_0x18e7df,areActionsDisabled:_0x48683e,availableActions:_0x28716}){super(_0x56cdfa);const _0x51693e=this['bindTemplate'];this['set']('state',_0x577d15['state']),this['set']('outdatedReason',_0x577d15['outdatedReason']),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('isTargetReadOnly',!0x1);const _0x2e454=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x48683e;};this['on']('change:state',_0x2e454),this['on']('change:isDone',_0x2e454),_0x2e454(),this['_children']=this['createCollection'](),this['_headerView']=new _0x525182(_0x56cdfa,{'part':_0x577d15,'uiIndex':_0x18e7df,'availableActions':_0x28716,'areActionsDisabled':_0x48683e}),this['_headerView']['bind']('isEnabled','outdatedReason','state','isTrackChangesOn','isTargetReadOnly')['to'](this),this['_headerView']['delegate'](..._0x334679)['to'](this),this['_streamableContentView']=new _0x35e7dc(_0x56cdfa),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x51693e['to']('state',_0x370013=>'ck-ai-suggestion__body__content-part_'+_0x370013),_0x51693e['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x51693e['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x51693e['if']('isVisible','ck-hidden',_0x2f902f=>!_0x2f902f)]},'children':this['_children'],'on':{'mouseenter':_0x51693e['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x577d15['index']});}),'mouseleave':_0x51693e['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x577d15['index']});}),'click':_0x51693e['to'](_0x228766=>{const _0x3693e2=_0x228766['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x3693e2)&&this['fire']('showChangeInText',{'index':_0x577d15['index']});})}});}async updateContent({part:_0x2cf8dc,showUnchangedParts:_0x16ff23=!0x1,abortSignal:_0x4d1c4d}){this['partDefinition']=_0x2cf8dc,this['isVisible']=this['partDefinition']['hasChanges']||_0x16ff23,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x2cf8dc,'renderingStrategy':'static','abortSignal':_0x4d1c4d});}['markAsDone'](){this['isDone']=!0x0;}},_0x2336c1=class extends _0x491313['View']{constructor(_0x3b6035,_0x1e600f){super(_0x3b6035),this['set']('isVisible',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton',this['bindTemplate']['if']('isVisible','ck-hidden',_0xf88379=>!_0xf88379)]},'children':this['_createSkeletonItems'](_0x1e600f)});}_createSkeletonItems(_0x3c1f57){const _0x59e44e=['ck','ck-ai-skeleton__item'];return _0x3c1f57['map'](_0x12d0b9=>{let _0x2edd7f='';switch(_0x12d0b9['attributes']['align']){case'right':_0x2edd7f='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x2edd7f='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x2edd7f='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x12d0b9['tag'],'attributes':{'class':[..._0x59e44e,_0x12d0b9['attributes']['class']?_0x12d0b9['attributes']['class']:''],'style':'width:\x20'+_0x12d0b9['attributes']['width']+';\x20height:\x20'+_0x12d0b9['attributes']['height']+';'+_0x2edd7f}};});}};const _0x4fe27d={'aiSuggestionBody':[{'tag':'div','attributes':{'width':'50%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'85%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'75%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}}],'aiFeed':[{'tag':'div','attributes':{'width':'100%','height':'72px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}},{'tag':'div','attributes':{'width':'150px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'140px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}}],'aiHistory':_0x311f5f(0x5,'100%','44px','right'),'aiChatResources':_0x311f5f(0x8,'100%','24px','right'),'aiReviewChecks':[{'tag':'div','attributes':{'width':'128px','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'128px','height':'24px','align':'left'}}]};function _0x311f5f(_0x4b1979,_0x3aec58,_0x55ffe1,_0x127d38){return new Array(_0x4b1979)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x3aec58,'height':_0x55ffe1,'align':_0x127d38}}));}const _0x4b40ef=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['EmitterMixin'])();var _0x36d061=class extends _0x4b40ef{['queue']=[];['isProcessing']=!0x1;_abortController;async['enqueue'](_0x9947df){const _0x3c562a=this['createTask'](_0x9947df);return this['queue']['push'](_0x3c562a),this['_processQueue'](),_0x3c562a['completePromise'];}abort(){this['isProcessing']&&(this['_abortController']['abort'](),this['_abortController']=void 0x0,this['queue']=[],this['fire']('_queueEmpty'),this['isProcessing']=!0x1);}get queueEmptyPromise(){return this['queue']['length']||this['isProcessing']?new Promise(_0x163cb5=>{this['once']('_queueEmpty',()=>{_0x163cb5();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x81236c=this['queue']['shift']();try{await _0x81236c['callback'](this['_abortController']['signal']),_0x81236c['resolve']();}catch(_0x21f3c4){_0x81236c['reject'](_0x21f3c4);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}createTask(_0x37dbed){let _0x8296eb,_0x8aa912;const _0x77bb06=new Promise((_0x33026f,_0x38c1dc)=>{_0x8296eb=_0x33026f,_0x8aa912=_0x38c1dc;});return{'callback':_0x37dbed,'resolve':_0x8296eb,'reject':_0x8aa912,'completePromise':_0x77bb06};}},_0x5bbaa2=class extends _0x3e6966{constructor(_0x29ff90){super(_0x29ff90),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x29ff90['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}setContent(_0x3593bf){this['element']['innerHTML']=_0x3593bf;}};const _0x91b48b=['applySuggestion','insertSuggestion'];var _0x3d6112=class extends _0x491313['View']{_applyChangesButton;_insertSuggestionsButton;['children'];constructor(_0x5a5fa0,_0x29fff7=[..._0x91b48b],_0x53299c){super(_0x5a5fa0);const _0x534094=this['bindTemplate'],_0x241503=Boolean(_0x53299c);this['set']('isEnabled',!_0x241503),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x241503||(this['_applyChangesButton']=new _0x491313['ButtonView'](_0x5a5fa0),this['_applyChangesButton']['set']({'label':_0x258ab2(_0x5a5fa0,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x29fff7['includes']('applySuggestion'),'class':_0x4909b4}),this['_insertSuggestionsButton']=new _0x491313['ButtonView'](_0x5a5fa0),this['_insertSuggestionsButton']['set']({'label':_0x258ab2(_0x5a5fa0,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x29fff7['includes']('insertSuggestion'),'class':_0x24c6ab}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x2f83a4=>{_0x2f83a4['bind']('isEnabled')['to'](this);}),this['children']['addMany']([this['_applyChangesButton'],this['_insertSuggestionsButton']])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__ai-suggestion__actions',_0x534094['if']('isVisible','ck-hidden',_0x43d470=>!_0x43d470)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}updateVisibility(_0x3bd540){this['isVisible']=_0x3bd540;}_switchButtonLabelsPlurality(_0xce9915){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0xce9915?(this['_applyChangesButton']['label']=_0x258ab2(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=_0x258ab2(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=_0x258ab2(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=_0x258ab2(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}},_0x628a26=class extends _0x491313['View']{['children'];['balloonPanelView'];bodyCollection;constructor(_0x2c87cc,_0x4129ce){super(_0x2c87cc),this['bodyCollection']=_0x4129ce,this['children']=this['createCollection'](),this['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources',this['bindTemplate']['if']('isVisible','ck-hidden',_0x49456d=>!_0x49456d)]},'children':this['children']});const _0x3a3c82=new _0x491313['View'](this['locale']),_0x27139d=new _0x491313['IconView']();_0x27139d['content']=_0x491313['IconWeb'],_0x3a3c82['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x27139d,{'tag':'span','children':[{'text':_0x258ab2(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x3a3c82),this['_setupBalloonPanel'](_0x2c87cc);}['addSource'](_0x5d720c){this['children']['add'](new _0x1be730(this['locale'],_0x5d720c,this['balloonPanelView']));}_setupBalloonPanel(_0x2de7e9){this['balloonPanelView']=new _0x491313['BalloonPanelView'](_0x2de7e9),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}},_0x1be730=class extends _0x491313['ButtonView']{['balloonPanelView'];['source'];constructor(_0x3ca1bd,_0x564596,_0x3517f5){super(_0x3ca1bd),this['source']=_0x564596,this['balloonPanelView']=_0x3517f5,this['set']({'label':_0x564596['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x43d501=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x43d501['to'](()=>{window['open'](_0x564596['url'],'_blank');}),'mouseenter':_0x43d501['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x43d501['to'](()=>{this['_hideTooltip']();})}}),_0x564596['favicon']){const _0x2946b7=new _0x491313['View'](_0x3ca1bd);_0x2946b7['setTemplate']({'tag':'img','attributes':{'src':_0x564596['favicon']||_0x491313['IconWeb'],'alt':_0x564596['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x2946b7);}else this['set']('icon',_0x491313['IconWeb']);}_createTooltipContentView(_0x56fc05,_0x29d786){const _0x5ca1a2=new _0x491313['View'](_0x56fc05),_0x670b5d=[];let _0x5ce3ac;_0x29d786?.['favicon']?(_0x5ce3ac=new _0x491313['View'](_0x56fc05),_0x5ce3ac['setTemplate']({'tag':'img','attributes':{'src':_0x29d786['favicon'],'alt':_0x29d786['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x5ce3ac=new _0x491313['IconView'](),_0x5ce3ac['content']=_0x491313['IconWeb'],_0x5ce3ac['extendTemplate']({'attributes':{'alt':_0x29d786['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x670b5d['push'](_0x5ce3ac);const _0x3ba7e6=new _0x491313['View'](_0x56fc05);_0x3ba7e6['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x29d786['url']},'children':[{'text':new URL(_0x29d786['url'])?.['hostname']}]}),_0x670b5d['push'](_0x3ba7e6);const _0x1ae56e=new _0x491313['View'](_0x56fc05);_0x1ae56e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x670b5d});const _0x5705ff=new _0x491313['View'](_0x56fc05);return _0x5705ff['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x29d786['title']['length']>0x190?_0x29d786['title']['substring'](0x0,0x190)+'...':_0x29d786['title']}]}),_0x5ca1a2['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x1ae56e,_0x5705ff]}),_0x5ca1a2;}_showTooltip(){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[_0x491313['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x491313['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x491313['BalloonPanelView']['defaultPositions']['northArrowSouthEast']],'limiter':document['querySelector']('.ck-ai-chat')}),this['balloonPanelView']['show']();}_hideTooltip(){this['balloonPanelView']['hide']();}_updateTooltipContent(){this['balloonPanelView']['content']['get'](0x0)?.['destroy'](),this['balloonPanelView']['content']['clear']();const _0x3234f4=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x3234f4);}},_0xe8e069=class extends _0x491313['View']{_actionsView;['_readOnlyByIndex']=new Map();['_sourcesView'];['_children'];_skeletonView;_showSkeletonDebounced=_0xa307bf(()=>{this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now']();},0x3e8);_skeletonShownAt=null;_areActionsDisabled;_showUnchangedParts;_updateContentPartsPromiseQueue;_emptyPartsWarningView;_availableActions;_cachedContentParts=[];constructor(_0x50046a,_0xf9475){super(_0x50046a);const {areActionsDisabled:_0x51e4d5,showUnchangedParts:_0x55d4e6,availableActions:_0x1f9b9a}=_0xf9475;this['_areActionsDisabled']=_0x51e4d5,this['_showUnchangedParts']=_0x55d4e6,this['_availableActions']=_0x1f9b9a,this['set']('isTrackChangesOn',!0x1),this['set']('isAcceptAllEnabled',!0x1),this['_children']=this['createCollection'](),this['_skeletonView']=new _0x2336c1(_0x50046a,_0x4fe27d['aiSuggestionBody']),this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now'](),this['_children']['add'](this['_skeletonView']),this['_updateContentPartsPromiseQueue']=new _0x36d061(),this['_emptyPartsWarningView']=new _0x5bbaa2({'id':'empty-parts-warning','initialContent':_0x258ab2(_0x50046a,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new _0x3d6112(_0x50046a,_0xf9475['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x628a26(this['locale'],_0xf9475['bodyCollection']),_0xf9475['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'isAcceptAllEnabled'),this['_actionsView']['delegate'](..._0x334679)['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body']},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-parts']},'children':this['_children']},this['_emptyPartsWarningView'],this['_actionsView'],this['_sourcesView']]});}destroy(){this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),super['destroy']();}get partsCount(){return this['_contentPartViews']['length'];}get _contentPartViews(){return Array['from'](this['_children'])['filter'](_0x538dff=>_0x538dff instanceof _0x521249);}async updateContentParts({parts:_0x52d8dc,abortSignal:_0x1f8342,skipLoadingEffects:_0xc66c72}){this['_cachedContentParts']['length']?_0x52d8dc['forEach'](_0x401018=>{const _0x53b750=this['_cachedContentParts']['findIndex'](_0x491615=>_0x491615['index']==_0x401018['index']);-0x1===_0x53b750?this['_cachedContentParts']['push'](_0x401018):this['_cachedContentParts'][_0x53b750]=_0x401018;}):this['_cachedContentParts']=_0x52d8dc;const _0x32f3f1=this['_showUnchangedParts']?_0x52d8dc:_0x52d8dc['filter'](_0x305050=>_0x305050['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x32f3f1['length']>0x1),_0xc66c72&&(this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1);for(const _0x4be354 of _0x52d8dc)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x21df06=>{let _0x29e881=this['getPartView'](_0x4be354['index']);if(_0x29e881||_0x4be354['hasChanges']||this['_showUnchangedParts']){if(!_0x29e881){if(_0x29e881=new _0x521249(this['locale'],{'part':_0x4be354,'uiIndex':this['_contentPartViews']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x29e881['delegate'](..._0x334679)['to'](this),_0x29e881['bind']('isTrackChangesOn')['to'](this),!_0xc66c72&&(this['_showSkeletonDebounced']['cancel'](),await this['_awaitMinimumSkeletonDisplayTime'](_0x21df06),_0x21df06['aborted']))return;_0x29e881['isTargetReadOnly']=this['_readOnlyByIndex']['get'](_0x4be354['index'])??!0x1,this['_skeletonView']['isVisible']=!0x1,this['_children']['add'](_0x29e881,this['_children']['length']-0x1),_0xc66c72||this['_showSkeletonDebounced']();}await _0x29e881['updateContent']({'part':_0x4be354,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x21df06}),_0x29e881['markAsDone']();}});return _0x1f8342?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1;}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}updatePartState(_0x551d35,_0x251724,_0x5a678a){const _0x576c9b=this['getPartView'](_0x551d35);_0x576c9b&&(_0x576c9b['outdatedReason']=_0x5a678a,_0x576c9b['state']=_0x251724);}setGating({readOnlyByIndex:_0x170d38,isAcceptAllEnabled:_0x3bd936}){this['_readOnlyByIndex']=_0x170d38,this['isAcceptAllEnabled']=_0x3bd936;for(const _0xbc3685 of this['_contentPartViews'])_0xbc3685['isTargetReadOnly']=_0x170d38['get'](_0xbc3685['partDefinition']['index'])??!0x1;}setPartActive(_0x40f729,_0x46820e){if(!0x1===_0x40f729){for(const _0x2d59e2 of this['_contentPartViews'])_0x2d59e2['isActive']=!0x1;}else{const _0x115a72=this['getPartView'](_0x40f729);_0x115a72&&(_0x115a72['isActive']=_0x46820e);}}updateSources(_0x374f40){_0x374f40['forEach'](_0x7e3e27=>this['_sourcesView']['addSource'](_0x7e3e27)),this['_sourcesView']['isVisible']=!0x0;}getPartView(_0x4ba400){return this['_contentPartViews']['find'](_0x3e130c=>_0x3e130c['partDefinition']['index']==_0x4ba400)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x253d6b=!this['_cachedContentParts']['find'](({hasChanges:_0x5aa8fa})=>_0x5aa8fa),_0x3dc7b1=!!this['_cachedContentParts']['find'](({hasChanges:_0x144d41})=>!_0x144d41);this['_emptyPartsWarningView']['isVisible']=0x0==this['_contentPartViews']['length']||_0x3dc7b1,_0x253d6b?this['_emptyPartsWarningView']['setContent'](_0x258ab2(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](_0x258ab2(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_contentPartViews']['forEach'](_0x17b336=>_0x17b336['markAsDone']()),this['_skeletonView']['isVisible']=!0x1,this['_showSkeletonDebounced']['cancel'](),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']&&!this['_areActionsDisabled']);}async _awaitMinimumSkeletonDisplayTime(_0x1996f2){if(!this['_skeletonView']['isVisible']||null===this['_skeletonShownAt'])return;const _0x32242a=0x3e8-(Date['now']()-this['_skeletonShownAt']);if(this['_skeletonShownAt']=null,_0x32242a>0x0){const {promise:_0x42fdb1,abortController:_0x35683f}=_0x1d97af(_0x32242a);_0x1996f2?.['addEventListener']('abort',()=>_0x35683f['abort']()),await _0x42fdb1['catch'](()=>{});}}get hasNonEmptyParts(){return this['_contentPartViews']['filter'](_0x178e57=>_0x178e57['partDefinition']['hasChanges'])['length']>0x0;}},_0x219e9a=class extends _0x491313['View']{['bodyView'];['children'];['headerView'];constructor(_0x451d75,_0x15db67,_0x37e2b2){super(_0x451d75);const {showDiff:_0x157e08,areActionsDisabled:_0xa15b48,showUnchangedParts:_0x21af7e,availableActions:_0x6cd212}=_0x15db67;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new _0x1f451b(_0x451d75,{'showDiff':_0x157e08}),this['headerView']['on']('toggleShowChanges',(_0x4036f4,_0x4c72f8)=>{this['areChangesVisible']=_0x4c72f8['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x4c72f8['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new _0xe8e069(_0x451d75,{'areActionsDisabled':_0xa15b48,'showUnchangedParts':!!_0x21af7e,'availableActions':_0x6cd212,'bodyCollection':_0x37e2b2}),this['bodyView']['delegate'](..._0x334679)['to'](this),this['bodyView']['bind']('isTrackChangesOn')['to'](this),this['children']['add'](this['bodyView']),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__container','ck-rounded-corners']},'children':this['children']});}async updateContent(_0x39636e){await this['bodyView']['updateContentParts'](_0x39636e);}updateSources(_0x3e3fbf){this['bodyView']['updateSources'](_0x3e3fbf);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}},_0x3521c7=class extends _0x3e6966{containerView;constructor(_0x4d414,_0x3a6af1,_0x421a62){super(_0x3a6af1),this['set']('isTrackChangesOn',!0x1),this['containerView']=new _0x219e9a(_0x4d414,{'showDiff':_0x3a6af1['showDiff'],'areActionsDisabled':_0x3a6af1['areActionsDisabled'],'availableActions':_0x3a6af1['availableActions']},_0x421a62),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x88a365,_0x13d247)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x13d247['showDiff']});}),this['containerView']['bind']('isTrackChangesOn')['to'](this),this['containerView']['on']('like',()=>{this['fire']('like',{'replyId':this['options']['id']});}),this['containerView']['on']('dislike',()=>{this['fire']('dislike',{'replyId':this['options']['id']});}),this['containerView']['on']('showChangeInText',(_0x10a6c0,{index:_0x3bfc7e})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x3bfc7e});}),this['containerView']['on']('applySuggestion',(_0x191104,{index:_0x1e6aad}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x1e6aad});}),this['containerView']['on']('insertSuggestion',(_0x105eb0,{index:_0x40932a}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x40932a});}),this['containerView']['on']('rejectSuggestion',(_0x43bebb,{index:_0x875c7c})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x875c7c});}),this['containerView']['on']('mouseOverSuggestion',(_0x4b3d78,{index:_0x26cda0})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x26cda0});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x1d4e04,{index:_0x462724})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x462724});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async updateContent(_0x3c4e19){await this['containerView']['updateContent'](_0x3c4e19);}updatePartState(_0x598e49,_0x65c2a3,_0x22c759){this['containerView']['bodyView']['updatePartState'](_0x598e49,_0x65c2a3,_0x22c759);}setPartActive(_0x57ce07,_0x2f79bd){!0x1===_0x57ce07?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x57ce07,_0x2f79bd);}updateSources(_0x334c7){this['containerView']['updateSources'](_0x334c7);}getPartView(_0x143b85){return this['containerView']['bodyView']['getPartView'](_0x143b85);}setGating(_0x109e31){this['containerView']['bodyView']['setGating'](_0x109e31);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}},_0x560af5=class extends _0x3e6966{replyContainer;_bodyCollection;constructor(_0x52561a,_0x36f2a4,_0x1412dd){super(_0x36f2a4),this['_bodyCollection']=_0x1412dd,this['locale']=_0x52561a,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x491313['View'](),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container','ck-ai-chat-content']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':_0x5ec6ac(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async updateContent({parsedContent:_0x41d1f5,renderingStrategy:_0x28ef7f,abortSignal:_0x2760b6}){'streaming'===_0x28ef7f?await this['streamIntoElement'](_0x41d1f5,this['replyContainer']['element'],_0x2760b6):this['replyContainer']['element']['innerHTML']=_0xaf5800(_0x41d1f5);}updateSources(_0x2bb01f){const _0x2a3e42=new _0x628a26(this['locale'],this['_bodyCollection']);_0x2a3e42['children']['addMany'](_0x2bb01f['map'](_0x10ef1e=>new _0x1be730(this['locale'],_0x10ef1e,_0x2a3e42['balloonPanelView']))),_0x2a3e42['isVisible']=!0x0,this['children']['add'](_0x2a3e42);}},_0x2534dd=class extends _0x491313['SpinnerView']{constructor(_0x331264=void 0x0){super();const _0x2306a9=_0x331264?'ck-ai-spinner_'+_0x331264:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x2306a9]}});}};const _0x3195b8={'file':_0x491313['IconFileUpload'],'image':_0x491313['IconImage'],'document':_0x491313['IconDocument'],'web-resource':_0x491313['IconLink'],'text':_0x491313['IconFileUpload'],'selection':_0x491313['IconSelection'],'mcp-tool-context':_0x491313['IconDocument'],'context':_0x491313['IconDocument']},_0x2556a4='ck-ai-chat-context-chip',_0xc5a70e='ck-ai-chat-context-chip_wide',_0x26560c='ck-ai-chat-context-chip_document',_0x1ed28='ck-ai-chat-context-chip__label',_0x5944fd='ck-ai-chat-context-chip__type-icon',td='ck-ai-chat-context-controls__chip-tooltip',_0x2cedbc='n';var _0x3e9708=class extends _0x491313['ButtonView']{constructor(_0x1d4fbc,_0x48aa45,_0x1fc2bc,_0x4d2cb1,_0x4e8a86=!0x1){super(_0x1d4fbc),this['_isAnimationOnEnterEnabled']=_0x4d2cb1,this['_initializeProperties'](_0x48aa45,_0x1fc2bc,_0x4e8a86),this['_setupTemplate']();}['render'](){super['render'](),this['_isAnimationOnEnterEnabled']&&this['element']&&(this['element']['classList']['add']('ck-ai-chat-context-chip_new-chip'),this['_handleAnimationEndOnce'](this['element'],()=>{this['element']&&this['element']['classList']['remove']('ck-ai-chat-context-chip_new-chip');}));}disableAnimationOnEnter(){this['_isAnimationOnEnterEnabled']=!0x1,this['element']&&this['element']['classList']['remove']('ck-ai-chat-context-chip_new-chip');}_initializeProperties(_0x3f8710,_0x660430,_0x2dd9a1){this['set']('label',_0x3f8710['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x3f8710['type']),this['set']('id',_0x3f8710['uiId']),this['set']('readonly',_0x660430),this['set']('isLoading',_0x2dd9a1);}_setupTemplate(){const _0x2af953=this['_createIconView'](),_0x3d6130=this['_createRemoveButton'](),_0x55ccbe=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x55ccbe),'children':this['_createTemplateChildren'](_0x2af953,_0x3d6130,_0x55ccbe)});}_createTemplateAttributes(_0x433c82){return{'class':[_0x2556a4,_0x433c82['if']('itemType',_0x26560c,_0x31eebc=>'document'==_0x31eebc),_0x433c82['if']('itemType',_0xc5a70e,_0x58587e=>'selection'==_0x58587e)],'data-cke-tooltip-text':_0x433c82['to']('label',_0x76b774),'data-cke-tooltip-position':_0x2cedbc,'data-cke-tooltip-class':td};}_createTemplateChildren(_0x26cb33,_0x55097d,_0x3f8c3a){const _0x194d57=this['_createLabelElement'](_0x3f8c3a),_0x132614=this['_createLoaderIcon']();return this['readonly']?[_0x26cb33,_0x194d57]:[_0x26cb33,_0x132614,_0x194d57,_0x55097d];}_createLabelElement(_0xc4b7fb){return{'tag':'span','attributes':{'class':_0x1ed28},'children':[{'text':_0xc4b7fb['to']('label')}]};}_createRemoveButton(){const _0x403840=new _0x491313['ButtonView'](this['locale']);return _0x403840['set']({'label':_0x258ab2(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0x491313['IconCancel']}),this['_setupRemoveButtonEvent'](_0x403840),_0x403840;}_setupRemoveButtonEvent(_0x3d773a){_0x3d773a['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}_createIconView(){const _0x52b5ef=this['bindTemplate'],_0x5c400a=new _0x491313['IconView']();return _0x5c400a['content']=_0x3195b8[this['itemType']],_0x5c400a['extendTemplate']({'attributes':{'class':[_0x5944fd,_0x52b5ef['if']('isLoading','ck-hidden',_0xfcde33=>_0xfcde33)]}}),_0x5c400a;}_handleAnimationEndOnce(_0x1d197d,_0xcf7837){if(!_0x1d197d)return;const _0x127bac=()=>{_0xcf7837(),_0x1d197d['removeEventListener']('animationend',_0x127bac),_0x1d197d['removeEventListener']('webkitAnimationEnd',_0x127bac);};_0x1d197d['addEventListener']('animationend',_0x127bac),_0x1d197d['addEventListener']('webkitAnimationEnd',_0x127bac);}_createLoaderIcon(){const _0x27415b=new _0x2534dd('small');return _0x27415b['bind']('isVisible')['to'](this,'isLoading',_0x206ba3=>_0x206ba3),_0x27415b;}};function _0x76b774(_0x24cca5){if(!_0x24cca5)return _0x24cca5;if(_0x24cca5['length']<=0x78)return _0x24cca5;const _0x30a0f3=_0x24cca5['slice'](0x0,0x78),_0x26d191=_0x30a0f3['lastIndexOf']('\x20');return(_0x26d191>0x0?_0x30a0f3['slice'](0x0,_0x26d191):_0x30a0f3)+'…';}const _0x106bab={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x1e5b38='300px';var _0x5b8b3f=class{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];_showMoreButtonView=null;['_showMoreBalloonPanelView']=null;_containerElement=null;_bodyCollection;_parentView=null;_intersectionObserver=null;_pendingCalculation=!0x1;constructor(_0x4208cb,_0x10c6c8,_0x48ec46,_0x22b8f1,_0x4cd65c){this['_locale']=_0x4208cb,this['_visibleChips']=_0x10c6c8,this['_config']={..._0x106bab,..._0x48ec46,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x48ec46['cssClasses']}},this['_overflowChips']=new _0x491313['Collection'](),this['_bodyCollection']=_0x22b8f1,this['_parentView']=_0x4cd65c||null;}setContainerElement(_0x4c8dea){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x4c8dea,this['_setupVisibilityObserver']();}get showMoreButtonView(){return this['_showMoreButtonView'];}get['overflowChips'](){return this['_overflowChips'];}['reorganizeChips'](){requestAnimationFrame(()=>{this['_checkAndHandleOverflow']();});}['showBalloonPanel'](){this['_showMoreButtonView']&&this['_showMoreBalloonPanelView']&&(this['_updateBalloonContent'](),this['_showMoreButtonView']['isOn']=!0x0,this['_showMoreBalloonPanelView']['show'](),this['_showMoreBalloonPanelView']['pin']({'target':this['_showMoreButtonView']['element'],'limiter':document['querySelector']('.ck-ai-chat')}));}['hideBalloonPanel'](){this['_showMoreButtonView']&&this['_showMoreBalloonPanelView']&&(this['_showMoreButtonView']['isOn']=!0x1,this['_showMoreBalloonPanelView']['hide']());}['clear'](){this['_overflowChips']['clear'](),this['hideBalloonPanel'](),this['_updateShowMoreButtonVisibility'](),this['_showMoreButtonView']&&(this['_showMoreButtonView']['label']=''),this['_showMoreBalloonPanelView']&&this['_showMoreBalloonPanelView']['content']['clear']();}destroy(){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_showMoreButtonView']&&(this['_showMoreButtonView']['destroy'](),this['_showMoreButtonView']=null),this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['destroy'](),this['_showMoreBalloonPanelView']=null);}['_checkAndHandleOverflow'](){if(!this['_containerElement'])return;if(!this['_isContainerVisible']())return void(this['_pendingCalculation']=!0x0);this['_pendingCalculation']=!0x1;const _0x4a2ff6=[...this['_visibleChips'],...this['_overflowChips']],_0x1dcf14=this['_createCalculationContainer'](),_0x3d283f=this['_calculateOverflowInContainer'](_0x1dcf14,_0x4a2ff6),_0x24a6c5=_0x1dcf14['_ancestorsToRestore'];_0x24a6c5&&this['_restoreAncestorVisibility'](_0x24a6c5),_0x1dcf14['remove'](),this['_applyOverflowResults'](_0x4a2ff6,_0x3d283f);}_createShowMoreButton(){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),(0x0,_0x491313['clickOutsideHandler'])({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}_createShowMoreButtonView(){const _0x238ad8=new _0x491313['ButtonView'](this['_locale']);_0x238ad8['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x524b36=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x524b36['push'](this['_config']['cssClasses']['controlsButton']),_0x238ad8['extendTemplate']({'attributes':{'class':_0x524b36}}),_0x238ad8;}_createShowMoreBalloonPanelView(){const _0x5df63a=new _0x491313['BalloonPanelView'](this['_locale']);return _0x5df63a['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x5df63a),_0x5df63a;}_updateBalloonContent(){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x3bee2a=>{_0x3bee2a['disableAnimationOnEnter']();});const _0x2cadf3=new _0x491313['View'](this['_locale']);_0x2cadf3['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x2cadf3);}}_handleShowMoreButtonClick(){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}_updateShowMoreButtonVisibility(){const _0x349b44=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x349b44?'':'none');}['_repinBalloonPanel'](){this['_showMoreButtonView']?.['isOn']&&this['_showMoreBalloonPanelView']?.['isVisible']&&this['_showMoreButtonView']['element']&&this['_showMoreBalloonPanelView']['pin']({'target':this['_showMoreButtonView']['element'],'limiter':document['querySelector']('.ck-ai-chat')});}_findTargetContainer(_0x30cba4){const _0x38b44e=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x321a78=this['_containerElement']?.['classList'];if(_0x321a78){const _0x121f25=_0x321a78[0x0]||'',_0x13840c=_0x30cba4['querySelector']('.'+_0x121f25),_0x30358d=_0x30cba4['querySelector'](_0x38b44e);return _0x13840c||_0x30358d||_0x30cba4;}return _0x30cba4['querySelector'](_0x38b44e)||_0x30cba4;}_calculateContainerWidth(){const _0x29b4b9=this['_parentView']?.['element']||this['_containerElement'];if(!_0x29b4b9)return _0x1e5b38;const _0x3b228b=window['getComputedStyle'](_0x29b4b9)['width'];if('auto'===_0x3b228b||'0px'===_0x3b228b||!_0x3b228b){const _0x21f27b=_0x29b4b9['parentElement'];if(_0x21f27b){const _0x11739f=window['getComputedStyle'](_0x21f27b);return'auto'!==_0x11739f['width']?_0x11739f['width']:_0x1e5b38;}return _0x1e5b38;}return _0x3b228b;}_applyCalculationStyles(_0xfaddcc,_0xf79429){this['_config']['cssClasses']['calculationContainer']&&_0xfaddcc['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0xfaddcc['style']['width']=_0xf79429,_0xfaddcc['style']['position']='absolute',_0xfaddcc['style']['top']='-9999px',_0xfaddcc['style']['left']='-9999px',_0xfaddcc['style']['opacity']='0',_0xfaddcc['style']['pointerEvents']='none',_0xfaddcc['style']['zIndex']='-1',_0xfaddcc['style']['visibility']='visible\x20!important',_0xfaddcc['style']['display']='block\x20!important',_0xfaddcc['style']['boxSizing']='border-box';}_restoreAncestorVisibility(_0x14a600){_0x14a600['forEach'](({element:_0x73737,originalDisplay:_0x143f09,originalVisibility:_0x2e08ef})=>{_0x73737['style']['display']=_0x143f09,_0x73737['style']['visibility']=_0x2e08ef;});}_makeAncestorsVisible(_0x5264b9){const _0x1083df=[];let _0x143656=_0x5264b9;for(;_0x143656&&_0x143656!==document['body'];){const _0x2893a6=window['getComputedStyle'](_0x143656);'none'!==_0x2893a6['display']&&'hidden'!==_0x2893a6['visibility']||(_0x1083df['push']({'element':_0x143656,'originalDisplay':_0x143656['style']['display'],'originalVisibility':_0x143656['style']['visibility']}),_0x143656['style']['display']='block',_0x143656['style']['visibility']='visible'),_0x143656=_0x143656['parentElement'];}return _0x1083df;}_createContainerElements(){let _0x21447f,_0x58c9cc;return this['_parentView']?.['element']?(_0x21447f=this['_parentView']['element']['cloneNode'](!0x0),_0x58c9cc=this['_findTargetContainer'](_0x21447f)):(_0x21447f=document['createElement']('div'),_0x58c9cc=_0x21447f),{'calculationContainer':_0x21447f,'targetContainer':_0x58c9cc};}_createCalculationContainer(){const {calculationContainer:_0x4a46cf,targetContainer:_0x27948e}=this['_createContainerElements'](),_0x5e295c=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x4a46cf,_0x5e295c);const _0x507d09=(this['_parentView']?.['element']||this['_containerElement'])?.['parentElement'];_0x507d09?_0x507d09['appendChild'](_0x4a46cf):document['body']['appendChild'](_0x4a46cf),_0x4a46cf['_targetContainer']=_0x27948e;const _0x4c43a4=this['_makeAncestorsVisible'](_0x507d09||null);return _0x4a46cf['offsetWidth'],_0x4a46cf['_ancestorsToRestore']=_0x4c43a4,_0x4a46cf;}_calculateOverflowInContainer(_0x3fe76d,_0x1ee155){const _0x23990e=_0x3fe76d['_targetContainer']||_0x3fe76d,_0xdddbbb=[],{rowCount:_0x56aa6f}=this['_renderChipsAndCountRows'](_0x23990e,_0x1ee155);if(_0x56aa6f<=this['_config']['maxVisibleRows'])return _0xdddbbb;const _0x1a3d82=_0x1ee155['slice']();for(;_0x1a3d82['length']>0x0;){if(this['_testButtonFit'](_0x3fe76d,_0x23990e,_0x1a3d82)){const _0x15ae7f=_0x1ee155['filter'](_0x3207d3=>!_0x1a3d82['includes'](_0x3207d3));_0xdddbbb['push'](..._0x15ae7f);break;}if(!_0x1a3d82['pop']())break;}return _0xdddbbb;}_renderChipsAndCountRows(_0x1b327a,_0x123f7e){_0x1b327a['innerHTML']='',_0x123f7e['forEach'](_0x9a2b5b=>{if(_0x9a2b5b['element']){const _0x5e42d1=_0x9a2b5b['element']['cloneNode'](!0x0);_0x1b327a['appendChild'](_0x5e42d1);}}),_0x1b327a['offsetWidth'];const _0x32992d=_0x1b327a['children'],_0x745a2f=[];return Array['from'](_0x32992d)['forEach'](_0x2f8165=>{const _0x5e6b49=_0x2f8165['getBoundingClientRect']()['top'];_0x745a2f['some'](_0x884311=>Math['abs'](_0x884311-_0x5e6b49)<this['_config']['rowDetectionTolerance'])||_0x745a2f['push'](_0x5e6b49);}),{'rowCount':_0x745a2f['length']};}_createMockButton(){const _0x3a92d2=document['createElement']('button');return _0x3a92d2['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x3a92d2['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x3a92d2['textContent']='+\x201',_0x3a92d2;}_testButtonFit(_0x3744c8,_0x5efa53,_0x557599){this['_renderChipsAndCountRows'](_0x5efa53,_0x557599);const _0x5e9289=this['_createMockButton']();_0x3744c8['appendChild'](_0x5e9289),_0x3744c8['offsetWidth'];const _0x1e2d08=[..._0x5efa53['children'],_0x5e9289],_0x3e2f9d=[];_0x1e2d08['forEach'](_0x54d8c7=>{const _0x4e40bb=_0x54d8c7['getBoundingClientRect']()['top'];_0x3e2f9d['some'](_0x2da100=>Math['abs'](_0x2da100-_0x4e40bb)<this['_config']['rowDetectionTolerance'])||_0x3e2f9d['push'](_0x4e40bb);});const _0x12d91b=_0x3e2f9d['length'];return _0x5e9289['remove'](),_0x12d91b<=this['_config']['maxVisibleRows'];}_distributeChips(_0x708e3,_0x2eee21){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x708e3['forEach'](_0x4c5030=>{_0x2eee21['includes'](_0x4c5030)?this['_overflowChips']['add'](_0x4c5030):this['_visibleChips']['add'](_0x4c5030);});}_updateOverflowUI(_0x2755dc){if(_0x2755dc>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x2755dc>0x0&&this['_showMoreButtonView']){const _0x2121d2=''+this['_config']['showMoreLabelPrefix']+(_0x2755dc<0x63?_0x2755dc:'99');this['_showMoreButtonView']['label']=_0x2121d2;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}_applyOverflowResults(_0x2be14b,_0x1ed0fa){this['_distributeChips'](_0x2be14b,_0x1ed0fa),this['_updateOverflowUI'](_0x1ed0fa['length']);}_setupVisibilityObserver(){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x2eb22d=>{_0x2eb22d[0x0]['isIntersecting']&&this['_pendingCalculation']&&requestAnimationFrame(()=>{this['_checkAndHandleOverflow']();});},{'threshold':0.01,'rootMargin':'50px'}),this['_intersectionObserver']['observe'](this['_containerElement']));}_isContainerVisible(){if(!this['_containerElement'])return!0x1;if(!this['_containerElement']['isConnected'])return!0x1;const _0x1b1a62=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x1b1a62['width']||0x0===_0x1b1a62['height'])return!0x1;const _0x10b8c9=window['innerHeight']||document['documentElement']['clientHeight'],_0x4dcce8=window['innerWidth']||document['documentElement']['clientWidth'];return _0x1b1a62['bottom']>=-0xc8&&_0x1b1a62['top']<=_0x10b8c9+0xc8&&_0x1b1a62['right']>=-0xc8&&_0x1b1a62['left']<=_0x4dcce8+0xc8;}};const _0x5d4745='ck-ai-chat__feed__context-chips',_0x5b7959='ck-ai-chat-context-chips-wrapper',_0x566ed7='ck-ai-chat-context-chips-wrapper-balloon',_0x4d32bf='ck-ai-chat-controls-button',_0x3e11ca='ck-ai-chat-controls_context_show-more-button',_0x5b8570='ck-ai-chat-context-controls__show-more-balloon-panel';var _0x240924=class extends _0x491313['View']{_contextChips=this['createCollection']();['_overflowManager'];_bodyCollection;constructor(_0x42d51f,_0x328df0,_0x13cfb8){super(_0x42d51f),this['_bodyCollection']=_0x13cfb8,this['_createContextChips'](_0x328df0);const _0x5ccf2e={'cssClasses':{'showMoreButton':_0x3e11ca+'\x20'+_0xa623f1,'showMoreBalloon':_0x5b8570,'overflowContainer':_0x566ed7,'controlsButton':_0x4d32bf}};this['_overflowManager']=new _0x5b8b3f(_0x42d51f,this['_contextChips'],_0x5ccf2e,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5d4745,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x5b7959},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x2fbf46=this['element']['querySelector']('.'+_0x5b7959);_0x2fbf46&&(this['_overflowManager']['setContainerElement'](_0x2fbf46),this['_overflowManager']['reorganizeChips']());}destroy(){super['destroy'](),this['_overflowManager']['destroy']();}_createContextChips(_0x14b1c3){for(const _0x508cc2 of _0x14b1c3){const _0x3e9933=new _0x3e9708(this['locale'],_0x508cc2,!0x0,!0x1);this['_contextChips']['add'](_0x3e9933);}}},_0x5a5adc=class extends _0x3e6966{_contextChipsView=null;['_locale'];_bodyCollection;_messageContentView;constructor(_0x5adec5,_0x361979,_0x3f3fec){super(_0x361979),this['_locale']=_0x5adec5,this['_bodyCollection']=_0x3f3fec,this['_createContextChipsView'](),this['_createMessageContentView'](),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__user-message']}});}_createContextChipsView(){this['options']['contextItems']&&this['options']['contextItems']['length']>0x0&&(this['_contextChipsView']=new _0x240924(this['_locale'],this['options']['contextItems']['filter'](_0x2fc517=>!_0x2fc517['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}_createMessageContentView(){this['_messageContentView']=new _0x491313['View'](this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':['ck-reset_all-excluded','ck-ai-chat__feed__message-content','ck-ai-chat-content']}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}},_0x24eafe=class extends _0x3e6966{capabilities;constructor(_0x386c01,_0x4b5ff4){super(_0x4b5ff4);const {isWebSearchEnabled:_0x1a48e1,isReasoningEnabled:_0x496fdc}=_0x4b5ff4['capabilities'],_0x1261f4=[];let _0x2a6bb6='';_0x1a48e1&&_0x496fdc?(_0x2a6bb6=_0x258ab2(_0x386c01,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x1261f4['push'](_0x2c7fd1(_0x491313['IconWeb'])),_0x1261f4['push'](_0x2c7fd1(_0x491313['IconBulb']))):_0x1a48e1?(_0x2a6bb6=_0x258ab2(_0x386c01,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x1261f4['push'](_0x2c7fd1(_0x491313['IconWeb']))):_0x496fdc&&(_0x2a6bb6=_0x258ab2(_0x386c01,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x1261f4['push'](_0x2c7fd1(_0x491313['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x2a6bb6?'':'ck-hidden']}});const _0x26bc78=new _0x491313['View']();_0x26bc78['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x1261f4,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x2a6bb6]}]}),this['children']['add'](_0x26bc78),this['capabilities']=_0x4b5ff4['capabilities'];}};function _0x2c7fd1(_0x4c3db8){const _0x8c6e8c=new _0x491313['IconView']();return _0x8c6e8c['content']=_0x4c3db8,_0x8c6e8c;}const _0x297110=['wheel','touchstart','pointerdown','keydown'],_0x4c39ae=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];var _0x3a9d7f=class{element;animationFrameId;['isRunning'];abortController;['isUserPaused'];['scrollBehavior'];constructor(_0x5c6a30){this['element']=_0x5c6a30,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1,this['scrollBehavior']='smooth';for(const _0x54c37a of _0x297110){const _0x4d85d0='keydown'!==_0x54c37a;this['element']['addEventListener'](_0x54c37a,this['_onUserEvent']['bind'](this),{'passive':_0x4d85d0,'signal':this['abortController']['signal']});}}start({smooth:_0x50f7b5=!0x0}={}){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['scrollBehavior']=_0x50f7b5?'smooth':'auto',this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}stop(){requestAnimationFrame(()=>{this['_stop']();});}destroy(){this['_stop'](),this['abortController']['abort']();}_stop(){null!==this['animationFrameId']&&(cancelAnimationFrame(this['animationFrameId']),this['animationFrameId']=null),this['isRunning']&&(this['isRunning']=!0x1),this['isUserPaused']=!0x1;}_onUserEvent(_0x26649c){if(this['isRunning']){if('keydown'===_0x26649c['type']){const _0x22e8aa=_0x26649c['key'];if(!_0x4c39ae['includes'](_0x22e8aa))return;}_0x26649c instanceof WheelEvent?_0x26649c['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}_isAtBottom(){const {scrollTop:_0x163e9c,scrollHeight:_0x52042e,clientHeight:_0x53a6a8}=this['element'];return _0x52042e-_0x163e9c-_0x53a6a8<=0x5;}_rafUpdate(){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':this['scrollBehavior']}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}},_0x5f4306=class extends _0x3e6966{constructor(_0x5bfd9d){super(_0x5bfd9d),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__custom-element']}});}async['render'](){super['render'](),'string'==typeof this['options']['content']?this['element']['innerHTML']=this['options']['content']:this['element']['appendChild'](this['options']['content']);}},_0x2c4038=class extends _0x491313['View']{['children'];['scrollManager'];_bodyCollection;constructor(_0x1056b1,_0x4f3f09){super(_0x1056b1),this['_bodyCollection']=_0x4f3f09,this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x4f8ddf)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x3a9d7f(this['element']);}destroy(){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}addItem(_0xa9ec58,_0x104914){let _0x2f43d3;return'ai-reply'===_0xa9ec58?_0x2f43d3=new _0x560af5(this['locale'],_0x104914,this['_bodyCollection']):'ai-suggestion-reply'===_0xa9ec58?(_0x2f43d3=new _0x3521c7(this['locale'],_0x104914,this['_bodyCollection']),_0x2f43d3['bind']('isTrackChangesOn')['to'](this)):_0x2f43d3='user-message'===_0xa9ec58?new _0x5a5adc(this['locale'],_0x104914,this['_bodyCollection']):'interaction-header'===_0xa9ec58?new _0x24eafe(this['locale'],_0x104914):'custom-element'===_0xa9ec58?new _0x5f4306(_0x104914):new _0x5bbaa2(_0x104914),this['children']['add'](_0x2f43d3),_0x2f43d3;}async updateReplyItem({id:_0x460abc,parsedContent:_0x3d0b2a,renderingStrategy:_0x2f32b9,abortSignal:_0x3155f3}){const _0x1f736c=this['getItemById'](_0x460abc);if(!(_0x1f736c instanceof _0x560af5))throw new _0x491313['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x1f736c,'id':_0x460abc,'parsedContent':_0x3d0b2a});await _0x1f736c['updateContent']({'parsedContent':_0x3d0b2a,'renderingStrategy':_0x2f32b9,'abortSignal':_0x3155f3});}async updateWebSources(_0x599173,_0x3d6503){const _0x294432=this['getItemById'](_0x599173);if(_0x294432 instanceof _0x3521c7)_0x294432['updateSources'](_0x3d6503);else{if(!(_0x294432 instanceof _0x560af5))throw new _0x491313['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x294432,'id':_0x599173,'sources':_0x3d6503});_0x294432['updateSources'](_0x3d6503);}}async updateSuggestionItem({id:_0x197437,parts:_0x451861,abortSignal:_0xad9344,skipLoadingEffects:_0x2c889b}){const _0x33a377=this['getItemById'](_0x197437);if(!(_0x33a377 instanceof _0x3521c7))throw new _0x491313['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x33a377,'id':_0x197437,'parts':_0x451861});await _0x33a377['updateContent']({'parts':_0x451861,'abortSignal':_0xad9344,'skipLoadingEffects':_0x2c889b});}updateSuggestionPartState({id:_0x79748a,index:_0xe840ca,state:_0x5b723e,outdatedReason:_0x5a93be}){const _0x41cf55=this['getItemById'](_0x79748a);if(!(_0x41cf55 instanceof _0x3521c7))throw new _0x491313['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x79748a});_0x41cf55['updatePartState'](_0xe840ca,_0x5b723e,_0x5a93be);}updateSuggestionGating(_0x594ac6,_0x9b28dc){const _0xa5ff6e=this['getItemById'](_0x594ac6);if(!(_0xa5ff6e instanceof _0x3521c7))throw new _0x491313['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x594ac6});_0xa5ff6e['setGating'](_0x9b28dc);}setSuggestionPartActive({id:_0x166494,index:_0x19bd94,isActive:_0x265f90}){const _0x29bc21=this['getItemById'](_0x166494);if(!(_0x29bc21 instanceof _0x3521c7))throw new _0x491313['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x166494});this['children']['filter'](_0x420028=>_0x420028 instanceof _0x3521c7)['forEach'](_0x4f3b6b=>{_0x4f3b6b['setPartActive'](!0x1);}),_0x29bc21['setPartActive'](_0x19bd94,_0x265f90);}markItemAsDone(_0x4e3d1c){this['getItemById'](_0x4e3d1c)['markAsDone']();}getItemIds(){return this['children']['map'](_0x35bb5b=>_0x35bb5b['options']['id']);}removeItem(_0x4ccd18){this['children']['remove'](this['getItemById'](_0x4ccd18));}hasItem(_0xd3c573){return!!this['children']['find'](_0x1deed9=>_0x1deed9['options']['id']['includes'](_0xd3c573));}scrollToSuggestion(_0x53b63f,_0x78d9a4){const _0x30360e=this['getItemById'](_0x53b63f);if(!(_0x30360e instanceof _0x3521c7))return void(0x0,_0x491313['logWarning'])('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x53b63f,'partIndex':_0x78d9a4});const _0x566d17=_0x30360e['getPartView'](_0x78d9a4);_0x566d17?(0x0,_0x491313['scrollAncestorsToShowTarget'])(_0x566d17['element'],0x14,this['element']['parentElement'],!0x0,!0x0):(0x0,_0x491313['logWarning'])('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x53b63f,'partIndex':_0x78d9a4});}_setupTemplate(){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}_createTemplateChildren(){const _0x42fb33=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x42fb33,this['_createFeedLoader']()];}_createSkeletonLoader(){const _0x193bd3=new _0x2336c1(this['locale'],_0x4fe27d['aiFeed']);return _0x193bd3['bind']('isVisible')['to'](this,'isLoadingSkeletonVisible'),_0x193bd3;}_createFeedItems(){const _0x31b878=new _0x491313['View'](this['locale']);return _0x31b878['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x31b878;}_createFeedLoader(){const _0x363b9c=new _0x491313['View'](this['locale']);return _0x363b9c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('loadingMessage','ck-hidden',_0x1922f5=>!_0x1922f5)]},'children':this['_createLoaderChildren']()}),_0x363b9c;}_createLoaderChildren(){const _0x22a1eb=new _0x2534dd();return _0x22a1eb['isVisible']=!0x0,[_0x22a1eb,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}getItemById(_0x4239ab){const _0x5ea2dd=this['children']['find'](_0x3087b3=>_0x3087b3['options']['id']['includes'](_0x4239ab));if(!_0x5ea2dd)throw new _0x491313['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x4239ab});return _0x5ea2dd;}setLoadingMessage(_0x5eaffb){this['set']('loadingMessage',_0x5eaffb);}toggleLoadingSkeleton(_0x4eb7cc){this['set']('isLoadingSkeletonVisible',_0x4eb7cc);}startAutoScroll(_0x4c004c={}){this['scrollManager']['start'](_0x4c004c);}stopAutoScroll(){this['scrollManager']['stop']();}},_0x4085e1=class extends _0x491313['ListView']{filter(){let _0x1eb58f=0x0;for(const _0x228d63 of this['items'])_0x1eb58f+=_0x228d63['items']['length'];return{'resultsCount':_0x1eb58f,'totalItemsCount':_0x1eb58f};}};function _0x508f95(_0x293eae){const _0x1f5cc3=[];let _0x41f009=!0x1;for(const _0x1dd409 of Array['from'](_0x293eae['items'])){if('file'!==_0x1dd409['kind'])continue;if(_0x1dd409['webkitGetAsEntry']()?.['isDirectory']){_0x41f009=!0x0;continue;}const _0x1876c9=_0x1dd409['getAsFile']();_0x1876c9&&_0x1f5cc3['push'](_0x1876c9);}return{'files':_0x1f5cc3,'hasDirectory':_0x41f009};}const _0x66697a='ck-ai-chat__prompt-input_highlighted';var _0xcd2600=class AIChatPromptInputView extends _0x491313['AutocompleteView']{submitButtonView;static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;_addContextButtonView;['_queryViewResizeObserver'];constructor(_0x2455d9,_0x311a0f){super(_0x2455d9,{'queryView':{'label':'','creator':_0x491313['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x4085e1(_0x2455d9),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x311a0f,this['_queryViewResizeObserver']=null,this['queryView']['fieldView']['minRows']=AIChatPromptInputView['MIN_ROWS'],this['queryView']['fieldView']['maxRows']=AIChatPromptInputView['MAX_ROWS'],this['queryView']['fieldWrapperChildren']['add'](this['_addContextButtonView']),this['_setUpAddContextButtonPositioning'](),this['extendTemplate']({'attributes':{'class':['ck','ck-ai-chat__prompt-input']}}),this['submitButtonView']=this['_createSubmitButton'](),this['submitButtonView']['bind']('isEnabled')['to'](this,'isEmpty',this,'isUploadInProgress',(_0x1f43f2,_0x2b8625)=>!_0x1f43f2&&!_0x2b8625),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0xba879,_0x1170fb)=>{this['isUploadInProgress']||this['isEmpty']||_0xba879['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x1170fb());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();}),this['queryView']['fieldView']['element']['addEventListener']('paste',_0x3462ae=>this['_handlePaste'](_0x3462ae)),this['element']['addEventListener']('drop',_0x2da6ba=>this['_handleDrop'](_0x2da6ba));}_handlePaste(_0x545202){const _0x367795=_0x545202['clipboardData'];if(!_0x367795)return;const {files:_0x25acd0,hasDirectory:_0x21e2bd}=_0x508f95(_0x367795),_0x37e12a={'files':_0x25acd0,'plainText':_0x367795['getData']('text/plain'),'hasDirectory':_0x21e2bd,'forceTextAttachment':!0x1,'preventDefault':()=>_0x545202['preventDefault']()};this['fire']('promptInputPaste',_0x37e12a);}['_handleDrop'](_0x29a1cc){const _0x5a159e=_0x29a1cc['dataTransfer'];if(!_0x5a159e)return;const _0x289d03={'files':[],'plainText':_0x5a159e['getData']('text/uri-list')||_0x5a159e['getData']('text/plain'),'hasDirectory':!0x1,'forceTextAttachment':!0x1,'preventDefault':()=>_0x29a1cc['preventDefault']()};this['fire']('promptInputPaste',_0x289d03);}destroy(){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}submit(){const _0x23f0b8=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x23f0b8)return this['queryView']['errorText']=_0x258ab2(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x1fdd4c=Zt(_0x23f0b8);this['fire']('sendUserMessage',_0x1fdd4c),this['queryView']['fieldView']['reset']();}setPlaceholderText(_0x3f27dd){this['queryView']['fieldView']['set']('placeholder',_0x3f27dd);}['focus'](_0x32a0a9=!0x1){super['focus'](),_0x32a0a9&&(this['element']['classList']['contains'](_0x66697a)||(this['element']['classList']['add'](_0x66697a),setTimeout(()=>{this['element']['classList']['remove'](_0x66697a);},0x320)));}_createSubmitButton(){const _0x1ce282=new _0x491313['ButtonView'](this['locale']);return _0x1ce282['set']({'icon':_0x491313['IconSubmit'],'label':_0x258ab2(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+_0x4909b4,'isEnabled':!0x1}),_0x1ce282['on']('execute',()=>{this['submit']();}),_0x1ce282;}setIsUploadInProgress(_0x52e6a5){this['isUploadInProgress']=_0x52e6a5;}_setUpAddContextButtonPositioning(){const _0x175532=this['locale'],_0x4372f6=()=>{_0x491313['global']['window']['requestAnimationFrame'](()=>{if((0x0,_0x491313['isVisible'])(this['element'])){const _0x392b75=new _0x491313['Rect'](this['queryView']['fieldView']['element']),_0x39a04e=new _0x491313['Rect'](this['_addContextButtonView']['element']),_0x1a4969=_0x392b75['width'],_0x2f3b70='rtl'===_0x175532['uiLanguageDirection']?'right':'left';_0x392b75['excludeScrollbarsAndBorders']();const _0x46c8a2=_0x1a4969-_0x392b75['width']+0x1;this['_addContextButtonView']['element']['style'][_0x2f3b70]='calc('+(_0x1a4969-_0x39a04e['width']-_0x46c8a2)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x4372f6),this['on']('render',()=>{_0x4372f6(),this['_queryViewResizeObserver']=new _0x491313['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x4372f6();});});}},_0x2a1cd2=class extends _0x491313['View']{constructor(_0x4c554c){super(_0x4c554c),this['set']('isEnabled',!0x0);const _0x20e252=new _0x491313['IconView']();_0x20e252['content']=_0x491313['IconFileUpload'],this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls__drop-overlay']},'children':[_0x20e252,{'tag':'span','attributes':{'class':['ck-ai-chat-controls__drop-overlay__label']},'children':[{'text':_0x258ab2(_0x4c554c,'AI_CHAT_DROP_ZONE_HINT')}]}]});}attach(_0x1454ca){let _0x211863=0x0;const _0x5a3a21=()=>{_0x1454ca['classList']['toggle']('ck-ai-chat-controls_drag-over',this['isEnabled']&&_0x211863>0x0);};this['on']('change:isEnabled',(_0xe711b7,_0x1f6e8c,_0x5d923e)=>{_0x5d923e&&_0x211863>0x0&&this['fire']('dragEnter'),_0x5a3a21();}),_0x1454ca['addEventListener']('dragenter',_0x19bdae=>{_0x19bdae['dataTransfer']&&(_0x211863++,0x1===_0x211863&&this['isEnabled']&&this['fire']('dragEnter'),_0x5a3a21());}),_0x1454ca['addEventListener']('dragover',_0x259394=>{_0x259394['dataTransfer']&&_0x259394['preventDefault']();}),_0x1454ca['addEventListener']('dragleave',()=>{--_0x211863<0x0&&(_0x211863=0x0),_0x5a3a21();}),_0x1454ca['addEventListener']('drop',_0x28c7bf=>{_0x28c7bf['preventDefault'](),_0x211863=0x0,_0x5a3a21(),this['isEnabled']&&this['_handleDrop'](_0x28c7bf);});}['_handleDrop'](_0x56f588){const _0x5ada19=_0x56f588['dataTransfer'];if(!_0x5ada19)return;const {files:_0x338bec,hasDirectory:_0x3ebfbf}=_0x508f95(_0x5ada19),_0x34ed4f={'files':_0x338bec,'plainText':_0x5ada19['getData']('text/uri-list')||_0x5ada19['getData']('text/plain'),'hasDirectory':_0x3ebfbf,'forceTextAttachment':!0x0,'preventDefault':()=>{}};this['fire']('promptInputPaste',_0x34ed4f);}},_0x4cec78=class extends _0x491313['View']{['dropdownView'];['nameView'];_items;['_config'];constructor(_0x52bc53,_0xb4fb6b){super(_0x52bc53),this['_config']=_0xb4fb6b,this['set']('modelDisplayMode','selector'),this['set']('activeModelId',null),this['set']('activeModelName',null),this['set']('isEnabled',!0x0),this['dropdownView']=this['_createDropdown'](),this['_items']=new _0x491313['Collection'](),(0x0,_0x491313['addListToDropdown'])(this['dropdownView'],this['_items']),this['nameView']=new _0x31b781(_0x52bc53,_0xb4fb6b['nameClass']),this['nameView']['bind']('text')['to'](this,'activeModelName',_0x438ade=>_0x438ade??''),this['nameView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x31bce3=>'name'===_0x31bce3),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-model-selector']},'children':[this['dropdownView'],this['nameView']]});}setModels(_0xa547f0,_0x29b366){var _0x3e7296;this['set']('modelDisplayMode',(_0x3e7296=_0xa547f0['length'],_0x29b366?0x1===_0x3e7296?'name':'selector':'hidden')),this['_items']['clear'](),0x1===_0xa547f0['length']&&this['set']('activeModelName',_0xa547f0[0x0]['name']||_0xa547f0[0x0]['id']);for(const _0x27b1c9 of _0xa547f0){const _0x509203=new _0x491313['UIModel']({'label':_0x27b1c9['name'],'withText':!0x0,'role':'menuitemradio','id':_0x27b1c9['id'],'model':_0x27b1c9});_0x509203['bind']('isOn')['to'](this,'activeModelId',_0x260721=>_0x260721===_0x27b1c9['id']),this['_items']['add']({'type':'button','model':_0x509203,'labelView':new _0xfd4651(this['locale'],_0x27b1c9,{'nameClass':this['_config']['itemClasses']['name'],'descriptionClass':this['_config']['itemClasses']['description'],'capabilitiesClass':this['_config']['itemClasses']['capabilities'],'extraContent':this['_config']['showCapabilities']?_0x4476c7(this['locale'],_0x27b1c9):void 0x0})});}}setSelectedModel(_0x29e5d0){this['set']('activeModelId',_0x29e5d0?_0x29e5d0['id']:null),this['set']('activeModelName',_0x29e5d0?_0x29e5d0['name']||_0x29e5d0['id']:null);}_createDropdown(){const _0x52fb01=(0x0,_0x491313['createDropdown'])(this['locale']);return _0x52fb01['set']({'panelPosition':this['_config']['panelPosition'],'class':this['_config']['dropdownClass']}),_0x52fb01['buttonView']['set']({'withText':!0x0,'tooltipPosition':this['_config']['tooltipPosition'],'class':_0xa623f1}),_0x52fb01['buttonView']['bind']('label')['to'](this,'activeModelName',_0x392f59=>_0x392f59??this['_config']['defaultLabel']??''),_0x52fb01['buttonView']['bind']('tooltip')['to'](this,'activeModelName',this,'isEnabled',(_0x5281c0,_0x1bc406)=>!_0x1bc406&&this['_config']['disabledTooltip']?this['_config']['disabledTooltip']:_0x5281c0??this['_config']['defaultLabel']??''),_0x52fb01['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x132673=>'selector'===_0x132673),_0x52fb01['bind']('isEnabled')['to'](this,'isEnabled'),this['listenTo'](_0x52fb01,'execute',_0x154eda=>{this['fire']('selectModel',_0x154eda['source']['model']);}),_0x52fb01;}},_0x31b781=class extends _0x491313['View']{constructor(_0x4ec38e,_0x1bb260){super(_0x4ec38e),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x26484a=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck',_0x1bb260,_0x26484a['if']('isVisible','ck-hidden',_0xc74d0a=>!_0xc74d0a)]},'children':[{'text':_0x26484a['to']('text')}]});}},_0xfd4651=class extends _0x491313['ButtonLabelView']{constructor(_0x52b6a3,_0x1387c0,_0x23585e){super();const _0x4295ff=this['bindTemplate'],_0x461481=[{'tag':'div','attributes':{'class':[_0x23585e['nameClass']]},'children':[{'tag':'span','children':[{'text':_0x4295ff['to']('text')}]}]},{'tag':'div','attributes':{'class':[_0x23585e['descriptionClass']]},'children':[{'tag':'span','children':[_0x1387c0['description']||'']}]}];_0x23585e['extraContent']?.['length']&&_0x23585e['capabilitiesClass']&&_0x461481['push']({'tag':'div','attributes':{'class':[_0x23585e['capabilitiesClass']]},'children':_0x23585e['extraContent']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x4295ff['to']('style'),'id':_0x4295ff['to']('id')},'children':_0x461481});}};function _0x4476c7(_0x5cdb9e,_0x1b80c4){return[..._0x228098(_0x5cdb9e,_0x491313['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x1b80c4['capabilities']['webSearch']?.['enabled']??!0x1),..._0x228098(_0x5cdb9e,_0x491313['IconBulb'],'AI_CHAT_REASONING',_0x1b80c4['capabilities']['reasoning']?.['enabled']??!0x1)];}function _0x228098(_0x54e045,_0x52a24b,_0x55431e,_0x48687a){const _0x1d85ff=new _0x491313['IconView']();_0x1d85ff['content']=_0x52a24b;const _0x5708c0=new _0x491313['View'](_0x54e045);_0x5708c0['setTemplate']({'tag':'span','children':[{'text':_0x258ab2(_0x54e045,_0x55431e)+':\x20'}]});const _0x2fae86=new _0x491313['View'](_0x54e045);return _0x2fae86['setTemplate']({'tag':'span','children':[{'text':_0x258ab2(_0x54e045,_0x48687a?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x1d85ff,_0x5708c0,_0x2fae86];}const _0x111419='ck-ai-chat__prompt-capabilities',_0x4b18fa='ck-ai-chat-controls-button',_0x57bf10='ck-ai-chat-controls-button--commands',_0x38f6ef='ck-ai-chat-controls__model-selection',_0x13c772='ck-ai-chat-controls__model-selection__item-name',_0x571d89='ck-ai-chat-controls__model-selection__item-description',_0x58c051='ck-ai-chat-controls__model-selection__item-capabilities',_0x463f96='n';var _0x98634d=class extends _0x491313['View']{_webSearchButton;_reasoningButton;_commandsButton;_modelSelector;constructor(_0x18e743){super(_0x18e743),this['set']('webSearchActive',!0x1),this['set']('reasoningActive',!0x1),this['set']('modelSelectorEnabled',!0x0),this['_modelSelector']=function(_0x1f41bb){return new _0x4cec78(_0x1f41bb,{'panelPosition':'ne','dropdownClass':[_0x38f6ef],'nameClass':'ck-ai-chat-controls__model-name','itemClasses':{'name':_0x13c772,'description':_0x571d89,'capabilities':_0x58c051},'defaultLabel':_0x258ab2(_0x1f41bb,'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'disabledTooltip':_0x258ab2(_0x1f41bb,'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP'),'tooltipPosition':_0x463f96,'showCapabilities':!0x0});}(_0x18e743),this['_modelSelector']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x1c01da=>_0x1c01da),this['_modelSelector']['delegate']('selectModel')['to'](this),this['_webSearchButton']=this['_createWebSearchButton'](),this['_reasoningButton']=this['_createReasoningButton'](),this['_commandsButton']=this['_createCommandsButton'](),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x201e5d=>_0x201e5d),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x19c3fc=>_0x258ab2(this['locale'],_0x19c3fc?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x1ae1ba=>_0x1ae1ba),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x1ef979=>_0x258ab2(this['locale'],_0x1ef979?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x111419]},'children':[this['_modelSelector'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]});}setWebSearch(_0x60cffd){this['set']('webSearchActive',_0x60cffd);}setReasoning(_0x10588b){this['set']('reasoningActive',_0x10588b);}setModelList(_0x2be637,_0x44f241){this['_modelSelector']['setModels'](_0x2be637,!_0x44f241);}setModel(_0x4d85d1){if(!_0x4d85d1)return;this['_modelSelector']['setSelectedModel'](_0x4d85d1);const _0x2f3c66=_0x4d85d1['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x2f3c66),this['_webSearchButton']['set']('isVisible',_0x2f3c66);const _0x1113f1=_0x4d85d1['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x1113f1),this['_reasoningButton']['set']('isVisible',_0x1113f1);}enableModelSelector(){this['set']('modelSelectorEnabled',!0x0);}disableModelSelector(_0x573ce0){this['set']('modelSelectorEnabled',!0x1),_0x573ce0&&(this['_modelSelector']['modelDisplayMode']='hidden');}_createWebSearchButton(){const _0x1e9ec8=new _0x491313['ButtonView']();return _0x1e9ec8['set']({'label':_0x258ab2(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x491313['IconWeb'],'class':_0x4b18fa+'\x20'+_0xa623f1,'isToggleable':!0x0,'tooltipPosition':_0x463f96}),_0x1e9ec8['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x1e9ec8;}_createReasoningButton(){const _0x35a591=new _0x491313['ButtonView']();return _0x35a591['set']({'label':_0x258ab2(this['locale'],'AI_CHAT_REASONING'),'icon':_0x491313['IconBulb'],'class':_0x4b18fa+'\x20'+_0xa623f1,'isToggleable':!0x0,'tooltipPosition':_0x463f96}),_0x35a591['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x35a591;}_createCommandsButton(){const _0x328ff8=new _0x491313['ButtonView']();return _0x328ff8['set']({'label':_0x258ab2(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x491313['IconAI'],'withText':!0x0,'class':_0x4b18fa+'\x20'+_0xa623f1,'isToggleable':!0x0,'tooltip':_0x258ab2(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x463f96}),_0x328ff8['extendTemplate']({'attributes':{'class':[_0x57bf10]}}),_0x328ff8['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x328ff8;}};const _0xd75849='ck-ai-chat-context-controls__url-form',_0x15311c='ck-ai-chat-context-controls__url-input-section';var _0x1c3d3e=class extends _0x491313['View']{['focusTracker'];keystrokes;['_focusables'];['focusCycler'];urlInputField;backButton;confirmButton;constructor(_0x2050fd){super(_0x2050fd),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['backButton']=this['_createBackButton'](),this['urlInputField']=this['_createUrlInputField'](),this['confirmButton']=this['_createConfirmButton'](),this['_focusables']=this['createCollection']([this['backButton'],this['urlInputField'],this['confirmButton']]),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['set']('withBackButton',!0x0),this['_setupTemplate'](),this['_setupEventHandlers'](),this['_setupKeystrokes']();}['render'](){super['render'](),this['_focusables']['forEach'](_0x2a9224=>{this['focusTracker']['add'](_0x2a9224['element']),this['keystrokes']['listenTo'](_0x2a9224['element']);}),(0x0,_0x491313['submitHandler'])({'view':this}),this['focus']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['focus'](){this['urlInputField']['focus']();}getValue(){return this['urlInputField']['fieldView']['element']?.['value']?.['trim']()||'';}['clear'](){this['urlInputField']['fieldView']['element']['value']='',this['urlInputField']['errorText']=null,this['confirmButton']['isEnabled']=!0x1;}setError(_0x32e388){this['urlInputField']['errorText']=_0x32e388,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}_createBackButton(){const _0x1082f1=new _0x491313['ButtonView'](this['locale']);return _0x1082f1['set']({'icon':_0x491313['IconPreviousArrow'],'tooltip':_0x258ab2(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x2994e1,_0x3740de,_0x1799af)=>{_0x1082f1['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x1799af?'':'\x20ck-hidden')]});}),_0x1082f1;}_createUrlInputField(){const _0x3d0adc=new _0x491313['LabeledFieldView'](this['locale'],_0x491313['createLabeledInputText']);return _0x3d0adc['set']({'label':_0x258ab2(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x3d0adc['fieldView']['set']({'placeholder':_0x258ab2(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x3d0adc;}_createConfirmButton(){const _0x530a9c=new _0x491313['ButtonView'](this['locale']);return _0x530a9c['set']({'icon':_0x491313['IconCheck'],'tooltip':_0x258ab2(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x530a9c;}_setupTemplate(){const _0x359b84=new _0x491313['FormHeaderView'](this['locale'],{'label':_0x258ab2(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x359b84['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0xd75849,'tabindex':'-1'},'children':[_0x359b84,{'tag':'div','attributes':{'class':_0x15311c},'children':[this['urlInputField'],this['confirmButton']]}]});}_setupEventHandlers(){this['backButton']['on']('execute',()=>{this['clear'](),this['fire']('cancel');}),this['urlInputField']['fieldView']['on']('input',()=>{this['clearError'](),this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}),this['on']('submit',_0x477403=>{_0x477403['stop'](),this['_handleSubmit']();});}_setupKeystrokes(){this['keystrokes']['set']('esc',(_0xdaee08,_0x3d48fc)=>{this['clear'](),this['fire']('cancel'),_0x3d48fc();});}_handleSubmit(){const _0x44e219=this['getValue']()['trim']();_0x44e219?this['_isValidUrl'](_0x44e219)?(this['clearError'](),this['fire']('submitUrl',_0x44e219)):this['setError'](_0x258ab2(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](_0x258ab2(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}_updateConfirmButtonState(){const _0x35c47a=this['getValue']()['trim'](),_0x3860cf=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x35c47a['length']>0x0&&!_0x3860cf;}['_isValidUrl'](_0x2c2f63){try{return!!new URL(_0x2c2f63);}catch{return!0x1;}}};const _0x4002fb='ck-ai-chat-resources__item',_0x253805='ck-ai-chat-resources__item--in-context',_0x317f31='ck-ai-chat-resources__item-title',_0x587d7a='ck-ai-chat-resources__item__icon';var _0x539927=class extends _0x491313['ListItemView']{['resource'];_titleView;['_iconView'];constructor(_0x4b8012,_0x5902a6){super(_0x4b8012),this['resource']=_0x5902a6,this['set']('isInContext',!!_0x5902a6['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}getResourceIcon(_0x391e90){if(_0x391e90['isInContext'])return _0x491313['IconCheck'];switch(_0x391e90['type']){case'document':return _0x491313['IconDocument'];case'web-resource':return _0x491313['IconLink'];case'file':case'text':return _0x491313['IconFileUpload'];default:return _0x491313['IconDocumentOutline'];}}highlightText(_0x94bbc){if(!_0x94bbc||''===_0x94bbc['trim']())return void this['_titleView']['highlightText'](null);const _0x4485bc=new RegExp(Gt(_0x94bbc),'gi');this['_titleView']['highlightText'](_0x4485bc);}updateResourceState(_0x25173e){this['resource']['isInContext']=_0x25173e,this['isInContext']=_0x25173e,this['_updateIcon']();}_createTitleView(){const _0x4ad546=new _0x491313['HighlightedTextView']();return _0x4ad546['text']=this['resource']['label'],_0x4ad546['extendTemplate']({'tag':'span','attributes':{'class':[_0x317f31]}}),_0x4ad546;}_createIconView(){const _0x26e56d=new _0x491313['IconView']();return _0x26e56d['content']=this['getResourceIcon'](this['resource']),_0x26e56d;}_setupTemplate(){const _0x55918c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x4002fb,_0x55918c['if']('isVisible','ck-hidden',_0x177b28=>!_0x177b28),_0x55918c['if']('isInContext',_0x253805)]},'children':[{'tag':'div','attributes':{'class':[_0x587d7a]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x55918c['to']('execute')}});}_updateIcon(){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}};const _0x3ed2b1='ck-ai-chat-resources__list';var _0x35d548=class extends _0x491313['ListView']{['_source'];constructor(_0x351ef2,_0x52aae7){super(_0x351ef2),this['_source']=_0x52aae7,this['extendTemplate']({'attributes':{'class':[_0x3ed2b1]}});}setResources(_0x5591e2,_0x4649c3){this['items']['clear']();let _0xd419f1=_0x5591e2;if(this['_source']['useDefaultFiltering']&&_0x4649c3&&''!==_0x4649c3['trim']()){const _0x3cffb0=new RegExp(_0x4649c3['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0xd419f1=_0x5591e2['filter'](_0x4f5672=>_0x3cffb0['test'](_0x4f5672['label']));}for(const _0x5a3989 of _0xd419f1){const _0x918f2a=new _0x539927(this['locale'],_0x5a3989);_0x918f2a['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x5a3989);}),this['items']['add'](_0x918f2a);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x4649c3);}highlightText(_0x42eca3){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x14ace6=>{_0x14ace6['highlightText'](_0x42eca3);});}updateResourceState(_0x25e4f5,_0x15fde2){for(const _0x49e811 of this['items']){const _0x21331e=_0x49e811;_0x21331e['resource']['id']===_0x25e4f5&&_0x21331e['updateResourceState'](_0x15fde2);}}_handleResourceSelection(_0x78b1f8,_0x4aae7f){this['fire']('addResourceToContext',{'source':_0x78b1f8,'resource':_0x4aae7f});}},_0x299da6=class extends _0x491313['LabeledFieldView']{['iconView'];resetButtonView;['_viewConfig'];constructor(_0x588a61){const t=_0x588a61['t'],_0x3e4439={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x491313['createLabeledInputText'],'label':_0x258ab2(_0x588a61,'AI_CHAT_SEARCH_RESOURCES')};super(_0x588a61,_0x3e4439['creator']),this['label']=_0x3e4439['label'],this['_viewConfig']=_0x3e4439,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x588a61,t),this['_setupEventListeners']();}reset(){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0xd41b99){this['fire']('search',_0xd41b99);}getQuery(){return this['fieldView']['element']?.['value']||'';}_setupSearchIcon(){this['iconView']=new _0x491313['IconView'](),this['iconView']['content']=_0x491313['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}_setupResetButton(_0xf2949b,t){this['resetButtonView']=new _0x491313['ButtonView'](_0xf2949b),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x491313['IconCancel'],'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x2ad524=>!_0x2ad524),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}_setupEventListeners(){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}},_0x5d3784=class extends _0x491313['View']{['_searchView'];_searchSection;_searchInputVisibleFrom;_resourcesListView;_skeletonLoader;['_source'];['children'];_latestLoadResourcesUid=null;constructor(_0x25c761,_0x57e087){super(_0x25c761),this['_source']=_0x57e087['source'],this['_searchInputVisibleFrom']=_0x57e087['searchInputVisibleFrom']??0x7,this['set']('isLoading',!0x0),this['_searchView']=this['_createSearchView'](),this['_searchSection']=this['_createSearchSection'](),this['_resourcesListView']=this['_createResourcesListView'](),this['_skeletonLoader']=this['_createSkeletonView'](),this['children']=new _0x491313['ViewCollection']([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}_createSearchView(){return new _0x299da6(this['locale']);}_createSearchSection(){const _0x39a12f=new _0x491313['View'](this['locale']);return _0x39a12f['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x2cc969,_0x4d929e)=>{this['loadResources'](_0x4d929e),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x4d929e);}),_0x39a12f;}_createResourcesListView(){const _0x2d1dc3=new _0x35d548(this['locale'],this['_source']);return _0x2d1dc3['delegate']('addResourceToContext')['to'](this),_0x2d1dc3['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x2d1dc3;}_createSkeletonView(){const _0x91d99b=new _0x2336c1(this['locale'],_0x4fe27d['aiChatResources']);return _0x91d99b['bind']('isVisible')['to'](this,'isLoading'),_0x91d99b;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x310c22){const _0x2b8c3c=(0x0,_0x491313['uid'])();this['_latestLoadResourcesUid']=_0x2b8c3c,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x310c22,'uid':_0x2b8c3c}),this['isLoading']=!0x0;}setResources(_0x50f21f,_0x2cbaca){if(_0x2cbaca&&_0x2cbaca!==this['_latestLoadResourcesUid'])return;const _0x2aac81=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x50f21f,_0x2aac81),_0x50f21f['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}updateResourceState(_0x326c4d,_0x29fc22){this['_resourcesListView']['updateResourceState'](_0x326c4d,_0x29fc22);}};const _0x3601fe='ck-ai-chat-context-controls__source-balloon-panel',tf='ck-button-icon\x20ck-button-back',_0x309af9='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';var _0x4963ec=class{['_sourceResourceBalloons']=new Map();_bodyCollection;['_locale'];['_config'];constructor(_0x416bef,_0x39ef29,_0x1dfca7){this['_locale']=_0x416bef,this['_bodyCollection']=_0x39ef29,this['_config']=_0x1dfca7;}['showSourceResourcesBalloon']({source:_0x27c708,withBackButton:_0x1c19ed}){let _0x4a682c=this['_sourceResourceBalloons']['get'](_0x27c708['id']);_0x4a682c||(_0x4a682c=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x27c708['id'],_0x4a682c),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x4a682c)),this['_addSourceResourceContent']({'balloonPanel':_0x4a682c,'source':_0x27c708,'withBackButton':_0x1c19ed}),_0x4a682c['show']();const _0x1ceda9=this['_config']['getTargetElement']();_0x1ceda9&&_0x4a682c['pin']({'target':_0x1ceda9,'limiter':this['_config']['getLimiterElement']()});}populateSourceResourceBalloon(_0x49026c,_0x452f01,_0x1fb0f8){const _0x2a69ee=this['_sourceResourceBalloons']['get'](_0x49026c);if(!_0x2a69ee)return;const _0x47bad1=this['_getResourcesViewFromBalloon'](_0x2a69ee);_0x47bad1&&(_0x47bad1['setResources'](_0x452f01,_0x1fb0f8),_0x47bad1['once']('change:isLoading',()=>{_0x2a69ee['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x1b3a88){const _0x4a336d=this['_sourceResourceBalloons']['get'](_0x1b3a88);_0x4a336d&&requestAnimationFrame(()=>{_0x4a336d['hide'](),this['_sourceResourceBalloons']['delete'](_0x1b3a88),this['_config']['onBalloonClosed']();});}['closeAll'](){for(const _0x13de2f of Array['from'](this['_sourceResourceBalloons']['keys']()))this['closeSourceResourceBalloon'](_0x13de2f);}['isAnyResourceBalloonVisible'](){for(const _0x5a1d27 of this['_sourceResourceBalloons']['values']())if(_0x5a1d27['isVisible'])return!0x0;return!0x1;}updateResourceState(_0x3916e4,_0x295024,_0x180e28){const _0x3f8914=this['_sourceResourceBalloons']['get'](_0x3916e4);if(!_0x3f8914||!_0x3f8914['isVisible'])return;const _0x5a62d1=this['_config']['getTargetElement']();if(!_0x5a62d1)return;_0x3f8914['pin']({'target':_0x5a62d1,'limiter':this['_config']['getLimiterElement']()});const _0x21780c=this['_getResourcesViewFromBalloon'](_0x3f8914);_0x21780c&&_0x21780c['updateResourceState'](_0x295024,_0x180e28);}destroy(){for(const _0x19a15a of this['_sourceResourceBalloons']['values']())_0x19a15a['destroy']();this['_sourceResourceBalloons']['clear']();}_createSourceResourceBalloonPanel(){const _0x1e36e9=new _0x491313['BalloonPanelView'](this['_locale']);return _0x1e36e9['extendTemplate']({'attributes':{'class':_0x3601fe}}),this['_bodyCollection']['add'](_0x1e36e9),_0x1e36e9;}_addSourceResourceContent({balloonPanel:_0x46509b,source:_0x2d467d,withBackButton:_0x50365c}){_0x46509b['content']['clear']();const _0xa8b58c=this['_createBalloonHeader']({'balloonPanel':_0x46509b,'source':_0x2d467d,'withBackButton':_0x50365c});_0x46509b['content']['add'](_0xa8b58c);const _0x324b5a=this['_createBalloonResourcesView'](_0x2d467d);_0x46509b['content']['add'](_0x324b5a);}_createBalloonHeader({balloonPanel:_0x3eb324,source:_0xb9fb03,withBackButton:_0x4f7fe0}){const _0x4d191e=new _0x491313['FormHeaderView'](this['_locale'],{'label':_0xb9fb03['label'],'class':_0x309af9});return _0x4f7fe0&&_0x4d191e['children']['add'](this['_createBackButton'](_0x3eb324),0x0),_0x4d191e;}_createBackButton(_0x80e77a){const _0xba4bb7=new _0x491313['ButtonView'](this['_locale']);return _0xba4bb7['set']({'icon':_0x491313['IconPreviousArrow'],'tooltip':_0x258ab2(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':tf}),_0xba4bb7['on']('execute',()=>{_0x80e77a['hide'](),this['_config']['onBackToContext']();}),_0xba4bb7;}_createBalloonResourcesView(_0x1fb912){const _0x532e2c=new _0x5d3784(this['_locale'],{'source':_0x1fb912,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x532e2c['on']('loadSourceResources',(_0x299ca7,_0x1b0f09)=>{this['_config']['onLoadSourceResources'](_0x1b0f09);}),_0x532e2c['on']('addResourceToContext',(_0x3c78da,_0x5e94d0)=>{this['_config']['onResourceSelected'](_0x5e94d0['source'],_0x5e94d0['resource']),this['closeSourceResourceBalloon'](_0x1fb912['id']);}),_0x532e2c;}_getResourcesViewFromBalloon(_0x18efc8){const _0xf08452=_0x18efc8['content']['get'](0x1);return _0xf08452 instanceof _0x5d3784?_0xf08452:null;}_setupSingleResourceBalloonClickOutsideHandler(_0x30ac67){(0x0,_0x491313['clickOutsideHandler'])({'emitter':_0x30ac67,'contextElements':[_0x30ac67['element']],'callback':()=>{_0x30ac67['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x30ac67['isVisible']});}};const _0x42b7f6=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x21bf27='ck-ai-chat-context-controls',_0x22d51a='ck-ai-chat-context-controls__pending-contexts',_0x2d36c0='ck-ai-chat-context-controls__add-context-balloon-panel',_0x58244f='ck-ai-chat-context-controls__add-context-button',_0x5666c0='ck-ai-chat-context-controls__url-balloon-panel',_0x36bdd3='ck-ai-chat-context-controls__balloon-button',_0x91b506='ck-ai-chat-context-controls__balloon-button-source',_0x2b9a6f='ck-ai-chat-controls-button',_0xb34fa='ck-ai-chat-context-chips-wrapper-balloon',_0x4dee37='ck-ai-chat-controls_context_show-more-button',_0x20876f='ck-ai-chat-context-controls__show-more-balloon-panel',_0x2b4632='ck-ai-chat',_0x37aed9=[_0x491313['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x491313['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x491313['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],_0x491313['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],_0x491313['BalloonPanelView']['defaultPositions']['southArrowNorth'],_0x491313['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];var _0x478f30=class extends _0x491313['View']{addContextButtonView;_currentContextsChips=this['createCollection']();_conversationContextsChips=this['createCollection']();['_overflowManager'];_addContextBalloonPanelView;['_urlBalloonPanelView'];_urlInputView;['_resourcesBalloonView'];_addContextBalloonConfig;_hasExactlyOneSource=!0x1;bodyCollection;constructor(_0x17b2db,_0x4877eb){super(_0x17b2db),this['bodyCollection']=_0x4877eb['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x17b2db),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x17b2db),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x17b2db),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x17b2db,_0x4877eb);const _0x5253bc={'cssClasses':{'showMoreButton':_0x4dee37+'\x20'+_0xa623f1,'showMoreBalloon':_0x20876f,'overflowContainer':_0xb34fa,'controlsButton':_0x2b9a6f}};this['_overflowManager']=new _0x5b8b3f(_0x17b2db,this['_currentContextsChips'],_0x5253bc,this['bodyCollection'],this),this['_addContextBalloonConfig']={'buttonView':this['addContextButtonView'],'balloonView':this['_addContextBalloonPanelView'],'hideMethod':this['hideAddContextBalloonPanel']['bind'](this),'showMethod':this['showAddContextBalloonPanel']['bind'](this)},this['_setupTemplate'](),this['_bindEventHandlers']();}['render'](){super['render'](),this['_setupAllBalloonClickOutsideHandlers'](),this['_overflowManager']['setContainerElement'](this['element']),this['_overflowManager']['reorganizeChips']();}destroy(){super['destroy'](),this['_overflowManager']['destroy'](),this['_resourcesBalloonView']['destroy']();}addContextItem(_0x2d6aac,_0x503733){const _0x19da15=this['_createContextButton'](_0x2d6aac,'current',!0x0,_0x503733);this['_addContextToCollection'](_0x19da15,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}removeContextItem(_0x2c73f3){this['_removeContextFromCollection'](_0x2c73f3,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x2c73f3,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}setContextItemLoading(_0x4585b6,_0x3e9a5b){let _0x338137=this['_currentContextsChips']['find'](_0x557a1e=>_0x557a1e['id']===_0x4585b6);_0x338137||(_0x338137=this['_overflowManager']['overflowChips']['find'](_0x465503=>_0x465503['id']===_0x4585b6)),_0x338137&&(_0x338137['isLoading']=_0x3e9a5b);}setConversationContext(_0x2ea7ef){this['_conversationContextsChips']['clear']();for(const _0x2f5aa6 of _0x2ea7ef){const _0x15b279=this['_createContextButton'](_0x2f5aa6,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x15b279,this['_conversationContextsChips']);}}clearCurrentContextItems(){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}clearConversationContextItems(){this['_conversationContextsChips']['clear']();}updateResourceState(_0x30f433,_0x5c41c9,_0x3ba1c1){this['_resourcesBalloonView']['updateResourceState'](_0x30f433,_0x5c41c9,_0x3ba1c1);}hideAddContextBalloonPanel(){this['_toggleAddContextBalloon'](!0x1);}showAddContextBalloonPanel(){this['_toggleAddContextBalloon'](!0x0);}['hideUrlBalloonPanel'](){this['_urlBalloonPanelView']['hide'](),this['addContextButtonView']['isOn']=!0x1,this['_urlInputView']&&this['_urlInputView']['clear']();}['showUrlBalloonPanel'](){this['_urlBalloonPanelView']['show'](),this['addContextButtonView']['isOn']=!0x0;}['hideAllBalloons'](){this['hideAddContextBalloonPanel'](),this['hideUrlBalloonPanel'](),this['_resourcesBalloonView']['closeAll']();}['_showSourceResourcesBalloon']({source:_0x18ee05,withBackButton:_0x10b542}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x18ee05,'withBackButton':_0x10b542}),this['addContextButtonView']['isOn']=!0x0;}populateSourceResourceBalloon(_0x10735a,_0x3e4b08,_0x152403,_0x3a0ed2){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x10735a,_0x152403,_0x3a0ed2);}['closeSourceResourceBalloon'](_0x3d9373){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x3d9373),this['addContextButtonView']['isOn']=!0x1;}setAddContextOptions(_0x4da20f){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x4da20f),this['_setAddContextButtonEnabled'](_0x4da20f);}_setAddContextButtonEnabled(_0x293417){const _0x1dd5bd=!_0x293417['document']['isHidden']&&_0x293417['document']['enabled'],_0x217f32=_0x293417['urls']['enabled'],_0x2f872d=_0x293417['files']['enabled'],_0x1ecf71=_0x293417['sources']['length']>0x0,_0x55fab4=_0x293417['customItems']&&_0x293417['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x1dd5bd||_0x217f32||_0x2f872d||_0x1ecf71||_0x55fab4;}_setupTemplate(){this['setTemplate']({'tag':'div','attributes':{'class':[_0x21bf27,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x22d51a},'children':this['_currentContextsChips']}]});}_bindEventHandlers(){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}_createAddContextButtonView(_0x1edbe0){const _0x393208=new _0x491313['ButtonView'](_0x1edbe0);return _0x393208['set']({'label':_0x258ab2(_0x1edbe0,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x2b9a6f+'\x20'+_0x58244f+'\x20'+_0xa623f1,'icon':_0x491313['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x393208;}_createAddContextBalloonPanelView(_0x47a11b){return this['_createBaseBalloonPanel'](_0x47a11b,_0x2d36c0);}_createUrlBalloonPanelView(_0x3cd899){const _0x2e7dbb=this['_createBaseBalloonPanel'](_0x3cd899,_0x5666c0);return this['_addUrlContent'](_0x2e7dbb,_0x3cd899),_0x2e7dbb;}_createResourcesBalloonView(_0x3daf2f,_0x464ae8){const _0x4c25b6={'searchInputVisibleFrom':_0x464ae8['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x37aed9});},'onResourceSelected':(_0x44d53c,_0x59ee71)=>{this['fire']('addResourceToContext',{'source':_0x44d53c,'resource':_0x59ee71});},'onLoadSourceResources':_0x12e36a=>{this['fire']('loadSourceResources',_0x12e36a);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new _0x4963ec(_0x3daf2f,_0x464ae8['bodyCollection'],_0x4c25b6);}_getLimiterElement(){return this['element']?.['closest']('.'+_0x2b4632)||document['body'];}_createBaseBalloonPanel(_0x57be92,_0x512855){const _0x5afcf0=new _0x491313['BalloonPanelView'](_0x57be92);return _0x5afcf0['extendTemplate']({'attributes':{'class':_0x512855}}),this['bodyCollection']['add'](_0x5afcf0),_0x5afcf0;}_setBalloonPanelContent(_0x15e4f1,_0xf30878,_0x49dd89){if(_0x15e4f1['content']['clear'](),!_0x49dd89['document']['isHidden']&&_0x49dd89['document']['enabled']){const _0x277ec1=this['_createBalloonButton'](_0xf30878,{'label':_0x258ab2(_0xf30878,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x491313['IconDocument']});_0x277ec1['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x15e4f1['content']['add'](_0x277ec1);}if(_0x49dd89['urls']['enabled']){const _0x2ac681=this['_createBalloonButton'](_0xf30878,{'label':_0x258ab2(_0xf30878,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x491313['IconLink']});_0x2ac681['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x37aed9}),this['_urlInputView']['focus']();}),_0x15e4f1['content']['add'](_0x2ac681);}if(_0x49dd89['files']['enabled']){const _0xe1c69=new _0x491313['FileDialogButtonView'](_0xf30878);_0xe1c69['set']({'label':_0x258ab2(_0xf30878,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x491313['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x36bdd3,'allowMultipleFiles':!0x0}),_0xe1c69['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0xe1c69['on']('done',(_0x4af3cd,_0x4f4905)=>{this['fire']('addFileToContext',_0x4f4905);}),_0xe1c69['tooltip']=!0x0,_0x15e4f1['content']['add'](_0xe1c69);}for(const _0x273577 of _0x49dd89['sources']){const _0x3f474f=this['_createBalloonButton'](_0xf30878,{'label':_0x273577['label'],'icon':_0x273577['icon']||_0x491313['IconDocumentOutline'],'type':'source'});_0x15e4f1['content']['add'](_0x3f474f),_0x3f474f['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x273577,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x5e882c of _0x49dd89['customItems']||[]){const _0xacc4a5=this['_createBalloonButton'](_0xf30878,{'label':_0x5e882c['label'],'icon':_0x5e882c['icon']||_0x491313['IconDocumentOutline'],'type':'customItem'});_0x15e4f1['content']['add'](_0xacc4a5),_0xacc4a5['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x5e882c);});}this['_hasExactlyOneSource']=0x1===_0x15e4f1['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}_addUrlContent(_0x20cdd0,_0x51a020){this['_urlInputView']=new _0x1c3d3e(_0x51a020),this['_urlInputView']['on']('submitUrl',(_0x3c56db,_0x12f986)=>{this['_handleUrlSubmit'](_0x12f986);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x37aed9}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x37aed9});}),_0x20cdd0['content']['add'](this['_urlInputView']);}_createBalloonButton(_0x291511,_0x4f3ee3){const _0x265a08='source'===_0x4f3ee3['type']?new _0xb9b148(_0x291511):new _0x491313['ButtonView'](_0x291511);return _0x265a08['set']({'label':_0x4f3ee3['label'],'icon':_0x4f3ee3['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x36bdd3}),_0x265a08;}_setupAllBalloonClickOutsideHandlers(){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}_setupUrlBalloonClickOutsideHandler(){(0x0,_0x491313['clickOutsideHandler'])({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}_toggleAddContextBalloon(_0x45baaf){const _0x189183=this['_addContextBalloonConfig'];_0x189183['buttonView']['isOn']=_0x45baaf,_0x45baaf?_0x189183['balloonView']['show']():_0x189183['balloonView']['hide']();}_setupAddContextBalloonClickOutsideHandler(){const {balloonView:_0x3a8750,buttonView:_0x443992,hideMethod:_0x44095d}=this['_addContextBalloonConfig'];(0x0,_0x491313['clickOutsideHandler'])({'emitter':_0x3a8750,'contextElements':[_0x3a8750['element'],_0x443992['element']],'callback':()=>{_0x44095d();},'activator':()=>_0x443992['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}_createContextButton(_0x7bc917,_0x275131,_0x4c1ae5=!0x1,_0xab0de0=!0x1){const _0x47b8f9='conversation'===_0x275131||!0x0===_0x7bc917['isReadOnly'],_0x576032=new _0x3e9708(this['locale'],_0x7bc917,_0x47b8f9,_0x4c1ae5,_0xab0de0);return _0x47b8f9||_0x576032['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x576032['id']);}),_0x576032;}_addContextToCollection(_0x3c5816,_0x2e1e1e){_0x2e1e1e['add'](_0x3c5816,0x0);}_removeContextFromCollection(_0x401665,_0x8860e8){const _0x417cc6=_0x8860e8['find'](_0x199eff=>_0x199eff['id']===_0x401665);_0x417cc6&&_0x8860e8['remove'](_0x417cc6);}_handleAddContextButtonClick(){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x37aed9}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}_handleUrlSubmit(_0x30cfb2){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x30cfb2);}},_0xb9b148=class extends _0x491313['ButtonView']{['arrowView'];constructor(_0x302ca9){super(_0x302ca9),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x91b506]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}_createArrowView(){const _0xa1ccc4=new _0x491313['IconView']();return _0xa1ccc4['content']=_0x491313['IconDropdownArrow'],_0xa1ccc4['extendTemplate']({'attributes':{'class':_0x91b506+'__arrow'}}),_0xa1ccc4;}},_0x28d79=class extends _0x491313['View']{_cancelButtonView;['_loaderView'];constructor(_0x57ffe5){super(_0x57ffe5),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_loaderView']=this['_createLoaderView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-loader-wrapper','ck-reset_all']},'children':[this['_loaderView'],this['_cancelButtonView']]});}_createCancelButtonView(){const _0x1108f6=new _0x491313['ButtonView'](this['locale']);return _0x1108f6['set']({'label':_0x258ab2(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':_0x24c6ab+'\x20ck-ai-button-stop-generating','icon':_0x491313['IconStop']}),_0x1108f6['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x1108f6;}_createLoaderView(){const _0x2c38cb=new _0x491313['View'](this['locale']);return _0x2c38cb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}},{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}},{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}}]},{'text':_0x258ab2(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x2c38cb;}},_0x31dfdc=class extends _0x491313['View']{_contextPanelView;_promptInputView;['_dropZoneView'];_promptCapabilitiesView;['_loaderView'];['_modelUnavailableMessageView'];_shouldRestorePromptInputFocus;['_filesEnabled'];constructor(_0x34134c,_0x1709af){super(_0x34134c),this['_filesEnabled']=_0x1709af['filesEnabled'],this['_contextPanelView']=this['_createContextPanelView'](_0x34134c,{'bodyCollection':_0x1709af['bodyCollection'],'searchInputVisibleFrom':_0x1709af['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x34134c),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x34134c),this['_loaderView']=this['_createLoaderView'](_0x34134c),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x34134c),this['_dropZoneView']=new _0x2a1cd2(_0x34134c),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage','promptInputPaste')['to'](this),this['_dropZoneView']['delegate']('promptInputPaste')['to'](this),this['_dropZoneView']['on']('dragEnter',()=>this['_contextPanelView']['hideAllBalloons']()),this['_dropZoneView']['bind']('isEnabled')['to'](this,'isLoading',_0x382f8f=>!_0x382f8f),this['_loaderView']['delegate']('abortPromptStream')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleWebSearch')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleReasoning')['to'](this),this['_promptCapabilitiesView']['delegate']('selectModel')['to'](this),this['_contextPanelView']['delegate'](..._0x42b7f6)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x17afc5=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x17afc5['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x17afc5['if']('isLoading','ck-hidden',_0xed378e=>_0xed378e||!this['isModelAvailable']),_0x17afc5['if']('isModelAvailable','ck-hidden',_0x1e5446=>!_0x1e5446||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x17afc5['if']('isLoading','ck-hidden',_0x43d55c=>!_0x43d55c)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x17afc5['if']('isModelAvailable','ck-hidden',_0x3a1508=>_0x3a1508)]},'children':[this['_modelUnavailableMessageView']]},this['_dropZoneView']]}),(0x0,_0x491313['clickOutsideHandler'])({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['render'](){super['render'](),this['_filesEnabled']&&this['_dropZoneView']['attach'](this['element']);}_createContextPanelView(_0x29ef4b,_0x1a6373){return new _0x478f30(_0x29ef4b,_0x1a6373);}_createPromptInputView(_0x2d8bd2){return new _0xcd2600(_0x2d8bd2,this['_contextPanelView']['addContextButtonView']);}_createPromptCapabilitiesView(_0x4d9bc5){return new _0x98634d(_0x4d9bc5);}_createLoaderView(_0x204d60){return new _0x28d79(_0x204d60);}_createModelUnavailableMessageView(_0xf768c4){const _0x3ba333=new _0x30de13(_0xf768c4);return _0x3ba333['delegate']('startConversation')['to'](this),_0x3ba333;}_handlePromptInputFocus(_0x2fa2b9,_0x2a1ab3,_0x19c1b4){_0x19c1b4?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}addContextItem(_0x588227,_0x54cb88){this['_contextPanelView']['addContextItem'](_0x588227,_0x54cb88);}removeContextItem(_0x2c24ca){this['_contextPanelView']['removeContextItem'](_0x2c24ca);}setContextItemLoading(_0x445ded,_0x50c33d){this['_contextPanelView']['setContextItemLoading'](_0x445ded,_0x50c33d);}setIsUploadInProgress(_0x2ea833){this['_promptInputView']['setIsUploadInProgress'](_0x2ea833);}setConversationContext(_0x1b70ca){this['_contextPanelView']['setConversationContext'](_0x1b70ca);}clearPendingContextUI(){this['_contextPanelView']['clearCurrentContextItems']();}clearConversationContextUI(){this['_contextPanelView']['clearConversationContextItems']();}updateResourceState(_0x452866,_0x81609c,_0xb94dd3){this['_contextPanelView']['updateResourceState'](_0x452866,_0x81609c,_0xb94dd3);}setWebSearch(_0x58f461){this['_promptCapabilitiesView']['setWebSearch'](_0x58f461);}setReasoning(_0x9d1093){this['_promptCapabilitiesView']['setReasoning'](_0x9d1093);}resetMessageInput(){this['_promptInputView']['reset']();}setAddContextOptions(_0x53df6b){this['_contextPanelView']['setAddContextOptions'](_0x53df6b);}setInputPlaceholder(_0x4f6076){this['_promptInputView']['setPlaceholderText'](_0x4f6076);}setModelList(_0x3e871d,_0x62bcd0){this['_promptCapabilitiesView']['setModelList'](_0x3e871d,_0x62bcd0);}setModel(_0x5f3d71){_0x5f3d71?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x5f3d71)):this['isModelAvailable']=!0x1;}enableModelSelector(){this['_promptCapabilitiesView']['enableModelSelector']();}disableModelSelector(_0x2e5882){this['_promptCapabilitiesView']['disableModelSelector'](_0x2e5882);}populateSourceResourceBalloon(_0x2dca47,_0x4e613e,_0x300a23,_0x2121af){this['_contextPanelView']['populateSourceResourceBalloon'](_0x2dca47,_0x4e613e,_0x300a23,_0x2121af);}['closeSourceResourceBalloon'](_0x2e4719){this['_contextPanelView']['closeSourceResourceBalloon'](_0x2e4719);}focusPromptInput(_0x48dedf=!0x1){this['_promptInputView']['focus'](_0x48dedf);}setPromptInputValue(_0x3fb652){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x3fb652;}},_0x30de13=class extends _0x491313['View']{constructor(_0x122d42){super(_0x122d42);const _0x4977fe=new _0x491313['ButtonView'](_0x122d42);_0x4977fe['set']({'label':_0x258ab2(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x4977fe['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':_0x258ab2(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x4977fe]}]});}},_0x185ff2=class extends _0x491313['FormHeaderView']{resizeButton;constructor(_0x15496d,_0xc8a4c5){super(_0x15496d,{'label':_0xc8a4c5['label'],'class':'ck-ai-header\x20'+_0xc8a4c5['class'],'icon':_0xc8a4c5['icon']}),this['set']('isMaximized',!0x1),_0xc8a4c5['content']&&this['children']['add'](_0xc8a4c5['content']),_0xc8a4c5['showResizeButton']&&(this['resizeButton']=_0xeb048b(_0x15496d,this),this['children']['add'](this['resizeButton']));}},_0xb2ed20=class extends _0x491313['View']{constructor(_0x40220c){super(_0x40220c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':_0x258ab2(_0x40220c,'AI_DISCLAIMER_TEXT')}]}]});}};function _0x67c1f2(_0x390ff7,_0x372725){const _0x392d71=new _0x491313['ButtonView'](_0x390ff7);return _0x392d71['set']({'label':_0x258ab2(_0x390ff7,'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x491313['IconPlus'],'class':'ck-ai-chat__start-conversation\x20'+_0x24c6ab}),_0x392d71['on']('execute',()=>{_0x372725['fire']('startConversation');}),_0x392d71;}var _0xf8251d=class extends _0x491313['View']{chatHeader;chatFeed;chatControls;chatDisclaimer;_bodyCollection;constructor(_0x100310,_0x231522){super(_0x100310),this['_bodyCollection']=_0x2f3654(_0x100310);const _0x28bdda=_0x67c1f2(_0x100310,this);this['chatHeader']=new _0x185ff2(_0x100310,{'label':_0x258ab2(_0x100310,'AI_CHAT_HEADING'),'icon':_0x491313['IconAIChat'],'class':'ck-ai-header_chat','content':_0x28bdda,'showResizeButton':_0x231522['showResizeButton']}),this['chatHeader']['delegate']('resizeTabs')['to'](this),this['chatFeed']=new _0x2c4038(_0x100310,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x4f8ddf)['to'](this),this['chatControls']=new _0x31dfdc(_0x100310,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x231522['contextResourcesSearchInputVisibleFrom'],'filesEnabled':_0x231522['filesEnabled']}),this['chatControls']['delegate'](..._0x4f8ddf)['to'](this),this['chatDisclaimer']=new _0xb2ed20(_0x100310),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x100310['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}populateSourceResourceBalloon(_0x5a9441,_0x1ea004,_0x176e71,_0x268002){this['chatControls']['populateSourceResourceBalloon'](_0x5a9441,_0x1ea004,_0x176e71,_0x268002);}['closeSourceResourceBalloon'](_0x54f77d){this['chatControls']['closeSourceResourceBalloon'](_0x54f77d);}destroy(){this['_bodyCollection']['detachFromDom'](),super['destroy']();}},_0x3dff05=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x448179];}['_view'];static get['pluginName'](){return'AIChatUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}feedItemRenderingStrategy='streaming';['showDiff']=!0x0;['_promiseQueue'];_interactionPromiseResolver;_titleAnimationInterval=void 0x0;['_isTrackChangesCommandValueBound']=!0x1;get['idleUiPromise'](){return this['_promiseQueue']['queueEmptyPromise'];}constructor(_0x632b1){super(_0x632b1);const _0xb267da=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['set']('isChatStreaming',!0x1),this['_promiseQueue']=new _0x36d061(),this['_view']=new _0xf8251d(this['context']['locale'],{'showResizeButton':_0xb267da['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom'),'filesEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.files.enabled')}),this['_view']['delegate']('resizeTabs')['to'](_0xb267da),this['_view']['delegate'](..._0x4f8ddf)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x1e615f,{showDiff:_0x2dc686})=>{this['showDiff']=_0x2dc686;}),this['disableControls'](),_0xb267da['view']['addTab']({'id':'chat','buttonLabel':_0x258ab2(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x491313['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatHeader']['bind']('isMaximized')['to'](_0xb267da['view'],'isMaximized',_0x5e7c1b=>_0x5e7c1b),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isChatStreaming',_0x1ddf33=>_0x1ddf33),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}destroy(){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}createConversation({availableModels:_0x4b2874}){const _0x26b404=this['context']['config']['get']('ai.chat.welcomeMessage')??_0x258ab2(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x4b2874,!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x26b404}),this['fire']('conversationCreated');}async addFeedItemStaticMessage({id:_0xfa5099,staticMessage:_0x3cac03}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0xfa5099,'initialContent':'<p>'+_0x3cac03+'</p>'});});}async addFeedItemUserMessage(_0x309ad6){const _0x217de0=_0x309ad6['attributes']?.['displayedPrompt']||_0x309ad6['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x309ad6['contextItems']['values']()),'initialContent':'<p>'+_0x217de0+'</p>','id':_0x309ad6['id']});});}async addFeedItemError({errorMessage:_0x5484e4,id:_0x2930f6}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x5484e4+'</p>','id':_0x2930f6});});}async addFeedItemAIReply(_0x2308ea){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x2308ea['interactionId']+':'+_0x2308ea['id']}),this['clearLoadingMessage']();});}async addFeedItemAISuggestion(_0x1daa44){const _0x22a90a=_0x483724(this['context']),_0x8e68ed=_0x22a90a['map'](_0x2a08d3=>_0x2a08d3['config']['get']('ai.availableReplyActions')||[..._0x91b48b]);let _0x220a47=_0x8e68ed['reduce']((_0x1f363c,_0x4dd4ad)=>_0x1f363c['filter'](_0xfcc3ff=>_0x4dd4ad['includes'](_0xfcc3ff)),_0x8e68ed[0x0]||[..._0x91b48b]);const _0x35811d=_0x22a90a['every'](_0x19b807=>_0x19b807['plugins']['has']('TrackChanges')),_0x1aab7b=_0x22a90a['map'](_0x1ef41f=>_0x1ef41f['commands']['get']('trackChanges'));return _0x35811d?this['_isTrackChangesCommandValueBound']||(this['_isTrackChangesCommandValueBound']=!0x0,this['_view']['chatFeed']['bind']('isTrackChangesOn')['toMany'](_0x1aab7b,'value',(..._0x2469ee)=>_0x2469ee['some'](_0x35d053=>_0x35d053))):_0x220a47=_0x220a47['filter'](_0x567141=>'insertSuggestion'!=_0x567141),this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x1daa44['interactionId']+':'+_0x1daa44['id'],'areActionsDisabled':_0x1daa44['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x220a47}),this['clearLoadingMessage']();});}async addFeedInteractionHeader(_0x142a5a,_0x9c7a25){return this['_promiseQueue']['enqueue'](async()=>{const _0x467bf4=this['_view']['chatFeed']['children']['last'];if(_0x467bf4 instanceof _0x24eafe)return this['_view']['chatFeed']['children']['remove'](_0x467bf4),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x142a5a['id'],'capabilities':{'isWebSearchEnabled':_0x467bf4['capabilities']['isWebSearchEnabled']||_0x9c7a25['isWebSearchEnabled'],'isReasoningEnabled':_0x467bf4['capabilities']['isReasoningEnabled']||_0x9c7a25['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x142a5a['id'],'capabilities':_0x9c7a25});});}async addFeedItemCustomElement(_0x498774,_0x1b8746){let _0x455983;return await this['_promiseQueue']['enqueue'](async()=>{_0x455983=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x498774,'id':_0x1b8746});}),_0x455983;}removeFeedItem(_0x5a4c3d){this['_view']['chatFeed']['removeItem'](_0x5a4c3d);}hasFeedItem(_0x4c3e88){return this['_view']['chatFeed']['hasItem'](_0x4c3e88);}updateFeedInteractionHeader(_0x557abe){const _0x38972a=this['_view']['chatFeed']['children']['find'](_0x1e70c6=>_0x1e70c6['options']['id']==_0x557abe['id']&&_0x1e70c6 instanceof _0x24eafe);_0x38972a&&_0x38972a['set']('isVisible',_0x557abe['isVisible']);}async updateFeedItemAIReplyContent(_0x127a33){const _0x4893d8=_0x127a33['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x3073b9=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x127a33,'abortSignal':_0x3073b9,'renderingStrategy':_0x4893d8}),_0x127a33['isDone']&&this['markFeedItemAsDone'](_0x127a33['id']);});}updateFeedItemAIReplySources(_0x2d9570,_0x280a60){this['_view']['chatFeed']['updateWebSources'](_0x2d9570,_0x280a60);}async updateFeedItemAIReplySuggestionContent(_0x5ca2ba){return this['_promiseQueue']['enqueue'](async _0x9b2570=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x5ca2ba,'abortSignal':_0x9b2570}),_0x5ca2ba['isDone']&&this['markFeedItemAsDone'](_0x5ca2ba['id']);});}updateFeedItemAIReplySuggestionPartState(_0x434a71){this['_view']['chatFeed']['updateSuggestionPartState'](_0x434a71);}setSuggestionGating(_0x5bf0ad,_0x6b885d){this['_view']['chatFeed']['updateSuggestionGating'](_0x5bf0ad,_0x6b885d);}setFeedItemAIReplySuggestionPartActive(_0x55470f){this['_view']['chatFeed']['setSuggestionPartActive'](_0x55470f);}markFeedItemAsDone(_0x1585ba){this['_view']['chatFeed']['markItemAsDone'](_0x1585ba);}removeFeedInteraction(_0x9f1735){this['_view']['chatFeed']['getItemIds']()['filter'](_0x4c5e34=>_0x4c5e34['startsWith'](_0x9f1735))['forEach'](_0x352266=>this['_view']['chatFeed']['removeItem'](_0x352266));}startInteraction(){const _0x40cce0=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x40cce0),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['isChatStreaming']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}stopInteraction(_0x59c506){this['_promiseQueue']['abort'](),_0x59c506&&this['_view']['chatFeed']['getItemIds']()['filter'](_0x1bc101=>_0x1bc101['startsWith'](_0x59c506['id']))['forEach'](_0x454208=>this['markFeedItemAsDone'](_0x454208)),this['resetChatBusyStateToIdle']();}resetChatBusyStateToIdle(){this['isBusy']=!0x1,this['isChatStreaming']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();}async finishInteraction(){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['resetChatBusyStateToIdle']();});}addContextItem(_0x1e881c,_0x479f16){this['_view']['chatControls']['addContextItem'](_0x1e881c,_0x479f16);}removeContextItem(_0x30d438){this['_view']['chatControls']['removeContextItem'](_0x30d438);}setContextItemLoading(_0x3f003c,_0x6e6d8a){this['_view']['chatControls']['setContextItemLoading'](_0x3f003c,_0x6e6d8a);}setIsUploadInProgress(_0x3bbde8){this['_view']['chatControls']['setIsUploadInProgress'](_0x3bbde8);}setConversationContext(_0x5a505f){this['_view']['chatControls']['setConversationContext'](_0x5a505f);}clearPendingContextUI(){this['_view']['chatControls']['clearPendingContextUI']();}clearConversationContextUI(){this['_view']['chatControls']['clearConversationContextUI']();}updateResourceState(_0x8ecc8d,_0x3cb10a,_0x5c04f7){this['_view']['chatControls']['updateResourceState'](_0x8ecc8d,_0x3cb10a,_0x5c04f7);}resetMessageInput(){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}setAddContextOptions(_0x28b2fc){this['_view']['chatControls']['setAddContextOptions'](_0x28b2fc);}updateCapabilities(_0x2f6d78){this['_view']['chatControls']['setWebSearch'](_0x2f6d78['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x2f6d78['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x2f6d78));}setSelectedModel(_0x465db4,_0x1d7203){this['_view']['chatControls']['setModel'](_0x465db4),_0x1d7203&&this['_view']['chatControls']['disableModelSelector'](!0x1);}setFeedItemRenderingStrategy(_0x1e9fdb){this['feedItemRenderingStrategy']=_0x1e9fdb;}toggleLoadingSkeleton(_0x1e0150){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x1e0150);}resetConversationTitle(){this['setConversationTitle'](_0x258ab2(this['context']['locale'],'AI_CHAT_HEADING'));}emptyConversationTitle(){this['setConversationTitle']('');}setConversationTitle(_0x548a44,_0x3d3b76=!0x1){if(clearInterval(this['_titleAnimationInterval']),_0x3d3b76&&!(0x0,_0x491313['_isMotionReduced'])()&&_0x548a44['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x548a44);this['_view']['chatHeader']['label']=_0x548a44;}setLoadingMessage(_0x572cd7){this['_view']['chatFeed']['setLoadingMessage'](_0x572cd7);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}_animateConversationTitle(_0x1b5f9d){let _0x5a8a33=0x0;this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x1b5f9d[_0x5a8a33],_0x5a8a33++,_0x5a8a33===_0x1b5f9d['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['prepareLoadingMessage'](_0x4bb950){return _0x4bb950['isWebSearchEnabled']&&_0x4bb950['isReasoningEnabled']?_0x258ab2(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x4bb950['isWebSearchEnabled']?_0x258ab2(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x4bb950['isReasoningEnabled']?_0x258ab2(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):_0x258ab2(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}_getInputPlaceholder(_0x40eaef){return _0x40eaef?_0x40eaef['isWebSearchEnabled']&&_0x40eaef['isReasoningEnabled']?_0x258ab2(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x40eaef['isWebSearchEnabled']?_0x258ab2(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x40eaef['isReasoningEnabled']?_0x258ab2(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):_0x258ab2(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):_0x258ab2(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}populateSourceResourceBalloon(_0x16b3d9,_0xfde423,_0x2f8606,_0x59fc30){this['_view']['populateSourceResourceBalloon'](_0x16b3d9,_0xfde423,_0x2f8606,_0x59fc30);}['closeSourceResourceBalloon'](_0x19ad24){this['_view']['closeSourceResourceBalloon'](_0x19ad24);}setPromptInputValue(_0x561952){this['_view']['chatControls']['setPromptInputValue'](_0x561952);}focusPromptInput(_0x1c121d=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x1c121d);}scrollFeedToSuggestion(_0x1159b1,_0xbb84a9){this['_view']['chatFeed']['scrollToSuggestion'](_0x1159b1,_0xbb84a9);}startAutoScroll(_0x744839={}){this['_view']['chatFeed']['startAutoScroll'](_0x744839);}stopAutoScroll(){this['_view']['chatFeed']['stopAutoScroll']();}disableControls(){this['_view']['chatControls']['isDisabled']=!0x0;}enableControls(){this['_view']['chatControls']['isDisabled']=!0x1;}toggleConversationLoading(_0x4373f8){_0x4373f8?(this['isBusy']=_0x4373f8,this['disableControls']()):(this['enableControls'](),this['resetChatBusyStateToIdle']());}},_0x44ada1=class extends _0x491313['ListView']{sections;constructor(_0x49d0c6,_0x32465d){super(_0x49d0c6),this['sections']=_0x32465d,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}filter(_0x570b7e){let _0x3ad6ca=0x0,_0x1b6366=0x0;for(const _0x86d659 of this['sections']){const {resultsCount:_0x6a9833,totalItemsCount:_0x310683}=_0x86d659['filter'](_0x570b7e);_0x3ad6ca+=_0x6a9833,_0x1b6366+=_0x310683;}return{'resultsCount':_0x3ad6ca,'totalItemsCount':_0x1b6366};}},_0x162b7f=class extends _0x491313['ListItemView']{title;itemsViews;_itemsListView;constructor(_0x37302a,{title:_0x1cd0ee,items:_0x390d42}){super(_0x37302a);const _0x1fddd6=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x1cd0ee,this['itemsViews']=_0x390d42;const _0x2de7fe=new _0x491313['View'](_0x37302a);_0x2de7fe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x491313['ListView'](_0x37302a),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x1fddd6['if']('isVisible','ck-hidden',_0x540c70=>!_0x540c70)]},'children':[_0x2de7fe,this['_itemsListView']]});}filter(_0x291816){const _0x14e576=this['itemsViews']['length'];let _0x278f3f=0x0;for(const _0xe13981 of this['itemsViews'])_0x291816?(_0xe13981['isVisible']=!!_0xe13981['isMatching'](_0x291816),_0xe13981['highlightText'](_0x291816)):(_0xe13981['isVisible']=!0x0,_0xe13981['highlightText'](null)),_0xe13981['isVisible']&&_0x278f3f++;return this['isVisible']=_0x278f3f>0x0,{'resultsCount':_0x278f3f,'totalItemsCount':_0x14e576};}getItem(_0x258319){return this['itemsViews']['find'](_0x1ec2df=>_0x1ec2df['id']===_0x258319);}removeItem(_0x16fbd6){const _0x18fbc5=this['itemsViews']['indexOf'](_0x16fbd6);-0x1!==_0x18fbc5&&(this['itemsViews']['splice'](_0x18fbc5,0x1),this['_itemsListView']['items']['remove'](_0x16fbd6));}};const _0x260fef=/* #__PURE__ -- @preserve */
_0x63bf97(_0x491313['ListItemView']);var _0x1c54de=class AIChatHistoryListItemView extends _0x260fef{['id'];static ['LOADING_LABELS']={'remove':'AI_CHAT_HISTORY_LOADING_REMOVING','rename':'AI_CHAT_HISTORY_LOADING_RENAMING','pin':'AI_CHAT_HISTORY_LOADING_PINNING','unpin':'AI_CHAT_HISTORY_LOADING_UNPINNING'};actions;mainContent;_titleView;constructor(_0x3bdd6c,_0x3aae39){super(_0x3bdd6c);const _0x439794=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x3aae39['pinned']),this['set']('loadingState',null),this['set']('title',_0x3aae39['title']),this['id']=_0x3aae39['id'];const {createdAt:_0x534b7f,active:_0x2c047c=!0x1}=_0x3aae39;this['_titleView']=new _0x491313['HighlightedTextView'](),this['_titleView']['bind']('text')['to'](this,'title'),this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x9bbb1a=this['_createCheckView'](),_0x239c90=this['_createPinButtonView'](_0x3bdd6c),_0x16e8a2=this['_createMenuDropdownView'](),_0x384673=this['_createEditInputView'](_0x3bdd6c),_0x2ece8d=this['_createAcceptEditButtonView'](_0x3bdd6c,_0x384673),_0x2ff8fe=this['_createCancelEditButtonView'](_0x3bdd6c);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x239c90),this['actions']['add'](_0x16e8a2),this['on']('change:isEdit',(_0x2b599b,_0x267b5a,_0x55df57)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x55df57?(this['actions']['add'](_0x2ece8d),this['actions']['add'](_0x2ff8fe),this['mainContent']['add'](_0x384673),_0x384673['element']['value']=this['title']||'',_0x384673['element']['focus']()):(this['actions']['add'](_0x239c90),this['actions']['add'](_0x16e8a2),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x2c047c?'ck-ai-chat-history__item--active':'',_0x439794['if']('isVisible','ck-hidden',_0x2bee1b=>!_0x2bee1b),_0x439794['if']('isEdit','ck-ai-chat-history__item--edit')],'role':'listitem'},'children':[{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-check-container']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-check',_0x439794['if']('loadingState','ck-hidden',_0x3f4fc6=>!!_0x3f4fc6)]},'children':_0x2c047c?[_0x9bbb1a]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x439794['if']('loadingState','ck-hidden',_0x250a16=>!_0x250a16)]},'children':[this['_createSpinnerView']()]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-row']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-content']},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-title-container',_0x439794['if']('loadingState','ck-hidden',_0x175adf=>!!_0x175adf)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x439794['if']('loadingState','ck-hidden',_0x57ca82=>!_0x57ca82)]},'children':[{'text':_0x439794['to']('loadingState',_0x29ec86=>_0x29ec86?_0x258ab2(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x29ec86]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x534b7f]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-actions']},'children':this['actions']}]}]}),this['on']('click',()=>{this['isEdit']||this['fire']('selectConversation',{'id':this['id']});});}updateTitle(_0x48711c){this['set']('title',_0x48711c);}updateLoadingState(_0x37111c,_0x246463){this['set']('loadingState',_0x246463?_0x37111c:null);}_createCheckView(){const _0x231495=new _0x491313['IconView']();return _0x231495['set']({'content':_0x491313['IconCheck']}),_0x231495;}_createPinButtonView(_0x2c5b6b){const _0x2d460e=new _0x491313['ButtonView'](_0x2c5b6b);return _0x2d460e['set']({'label':_0x258ab2(_0x2c5b6b,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0x491313['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x2d460e['bind']('isOn')['to'](this,'pinned'),_0x2d460e['on']('execute',()=>{const _0x51b1a9=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x51b1a9});}),_0x2d460e;}_createMenuDropdownView(){const _0x590776=(0x0,_0x491313['createDropdown'])(this['locale']),_0x1d9f5f=_0x590776['panelView']['children'];_0x590776['buttonView']['set']({'label':_0x258ab2(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x491313['IconThreeHorizontalDots']}),_0x590776['panelPosition']='sw';const _0x3bd93f=new _0x491313['ButtonView'](this['locale']);_0x3bd93f['label']=_0x258ab2(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x3bd93f['withText']=!0x0,_0x3bd93f['on']('execute',()=>{this['isEdit']=!0x0;});const _0x65fe0f=new _0x491313['ButtonView'](this['locale']);_0x65fe0f['label']=_0x258ab2(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x65fe0f['withText']=!0x0,_0x65fe0f['on']('execute',()=>{this['showConfirm'](_0x258ab2(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x457360=new _0x491313['ListView'](this['locale']),_0x1f98cc=new _0x491313['ListItemView'](this['locale']);_0x1f98cc['children']['add'](_0x3bd93f);const _0x1202d1=new _0x491313['ListItemView'](this['locale']);return _0x1202d1['children']['add'](_0x65fe0f),_0x457360['items']['addMany']([_0x1f98cc,_0x1202d1]),_0x1d9f5f['add'](_0x457360),_0x590776;}_createEditInputView(_0x161977){const _0x18d079=new _0x491313['InputTextView'](_0x161977),_0x3720c8=_0x18d079['bindTemplate'];return _0x18d079['extendTemplate']({'on':{'keydown':_0x3720c8['to'](_0x15331f=>{'Enter'==_0x15331f['key']&&this['_commitEditInputValue'](_0x18d079);})}}),_0x18d079;}_createAcceptEditButtonView(_0x277344,_0x527179){const _0x3c5951=new _0x491313['ButtonView'](_0x277344);return _0x3c5951['set']({'icon':_0x491313['IconCheck'],'withText':!0x1,'tooltip':_0x258ab2(_0x277344,'AI_CHAT_HISTORY_ACCEPT')}),_0x3c5951['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x3c5951['on']('execute',()=>{this['_commitEditInputValue'](_0x527179);}),_0x3c5951;}_commitEditInputValue(_0x397c62){const _0x21e9c7=_0x397c62['element']['value']||'';this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x21e9c7});}_createCancelEditButtonView(_0x44d2dd){const _0x599f88=new _0x491313['ButtonView'](_0x44d2dd);return _0x599f88['set']({'icon':_0x491313['IconCancel'],'withText':!0x1,'tooltip':_0x258ab2(_0x44d2dd,'AI_CHAT_HISTORY_CANCEL')}),_0x599f88['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x599f88['on']('execute',()=>{this['isEdit']=!0x1,this['fire']('edit:cancel');}),_0x599f88;}_createSpinnerView(){const _0x1519d1=new _0x2534dd('tiny');return _0x1519d1['isVisible']=!0x0,_0x1519d1;}isMatching(_0x1b573c){return'string'==typeof this['title']&&this['title']['match'](_0x1b573c)?{'title':!0x0}:null;}highlightText(_0x3391ee){this['_titleView']['highlightText'](_0x3391ee);}},_0x4c6f24=class extends _0x491313['View']{['headerView'];['searchView'];['mainErrorView'];skeletonView;emptyView;sectionsView;constructor(_0x202c80,_0x49c58d){super(_0x202c80),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0xd72556=_0x67c1f2(_0x202c80,this);this['headerView']=new _0x185ff2(_0x202c80,{'label':_0x258ab2(_0x202c80,'AI_CHAT_HISTORY_HEADING'),'icon':_0x491313['IconAIHistory'],'class':'ck-ai-header_history','content':_0xd72556,'showResizeButton':_0x49c58d}),this['headerView']['delegate']('resizeTabs')['to'](this),this['sectionsView']=new _0x44ada1(_0x202c80,[]),this['sectionsView']['delegate'](..._0x355edf)['to'](this),this['mainErrorView']=this['_createErrorView'](),this['skeletonView']=this['_createSkeletonView'](),this['emptyView']=this['_createEmptyStateView'](),this['searchView']=this['_createSearchView'](),this['mainErrorView']['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isMainErrorViewVisible','ck-hidden',_0x336a67=>!_0x336a67)]}}),this['on']('change:isLoading',()=>this['_updateViewVisibility']()),this['on']('change:hasItems',()=>this['_updateViewVisibility']()),this['on']('change:errorMessage',()=>this['_updateViewVisibility']()),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat-history','ck-rounded-corners'],'dir':'ltr'},'children':[this['headerView'],{'tag':'div','attributes':{'class':['ck-ai-chat-history__content']},'children':[this['skeletonView'],this['mainErrorView'],this['emptyView'],this['searchView']]}]});}_updateViewVisibility(){this['isSearchViewVisible']=!this['isLoading']&&this['hasItems'],this['isEmptyViewVisible']=!this['isLoading']&&!this['hasItems']&&!this['errorMessage'],this['isMainErrorViewVisible']=!this['isSearchViewVisible']&&!!this['errorMessage'];}_createSearchView(){const _0x1eb340=new _0x491313['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':_0x258ab2(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x9aff16=>_0x258ab2(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x9aff16),'secondary':_0x258ab2(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x2573fc=this['_createErrorView']();return _0x2573fc['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x147f75=>!_0x147f75)]}}),_0x1eb340['on']('render',()=>{_0x1eb340['children']['add'](_0x2573fc,0x1);}),_0x1eb340['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x455dce=>!_0x455dce)]}}),_0x1eb340;}_createSkeletonView(){const _0xdc53c5=new _0x2336c1(this['locale'],_0x4fe27d['aiHistory']);return _0xdc53c5['bind']('isVisible')['to'](this,'isLoading'),_0xdc53c5;}_createErrorView(){const _0x40343e=new _0x491313['View'](this['locale']),_0x470959=new _0x491313['ButtonView'](this['locale']);_0x470959['set']({'withText':!0x1,'icon':_0x491313['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x470959['bind']('isVisible')['to'](this,'hasItems',_0x17e9bd=>!!_0x17e9bd),_0x470959['on']('execute',()=>{this['errorMessage']='';});const _0xc1ea0f=this['bindTemplate'];return _0x40343e['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0xc1ea0f['to']('errorMessage')}]},_0x470959]}),_0x40343e;}_createEmptyStateView(){const _0x5816f0=new _0x491313['View'](this['locale']);return _0x5816f0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x50b571=>!_0x50b571)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[_0x258ab2(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]}]}),_0x5816f0;}_createListItemViews(_0x3bb2d1,_0x45c7af){const _0x49b874=[];for(const _0x42b756 of _0x3bb2d1){const _0x45702c=new _0x1c54de(_0x45c7af,_0x42b756);_0x45702c['delegate'](..._0x355edf)['to'](this),_0x49b874['push'](_0x45702c);}return _0x49b874;}updateHistoryItemsWithCategories(_0x4fb304){const _0x4e7a4d=this['locale']||'en',_0x5523a5=[];for(const _0x59914c of _0x4fb304){const _0x24e65a=this['_createListItemViews'](_0x59914c['items'],_0x4e7a4d);_0x5523a5['push'](new _0x162b7f(_0x4e7a4d,{'title':_0x59914c['title'],'items':_0x24e65a}));}this['sectionsView']['sections']=_0x5523a5,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x5523a5),this['hasItems']=_0x4fb304['some'](_0x580eac=>_0x580eac['items']['length']>0x0),this['_refreshSearch']();}removeHistoryItem(_0x5d5700){for(const _0x30e618 of this['sectionsView']['sections']){const _0x3d041a=_0x30e618['getItem'](_0x5d5700);if(_0x3d041a){if(_0x30e618['removeItem'](_0x3d041a),0x0===_0x30e618['itemsViews']['length']){const _0x1987a1=this['sectionsView']['sections']['indexOf'](_0x30e618);-0x1!==_0x1987a1&&(this['sectionsView']['sections']['splice'](_0x1987a1,0x1),this['sectionsView']['items']['remove'](_0x30e618));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}updateItemTitle(_0x533ba5,_0x593ea0){for(const _0x4d8a89 of this['sectionsView']['sections']){const _0x54cf9e=_0x4d8a89['getItem'](_0x533ba5);if(_0x54cf9e){_0x54cf9e['updateTitle'](_0x593ea0);break;}}}updateItemLoadingState(_0x15da8a,_0x113a64,_0x39a1a1){for(const _0x5a4d02 of this['sectionsView']['sections']){const _0x24f78c=_0x5a4d02['getItem'](_0x15da8a);if(_0x24f78c){_0x24f78c['updateLoadingState'](_0x113a64,_0x39a1a1);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x11feff=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x11feff);}}};const _0x355edf=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','startConversation'];var _0x1b814a=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x448179];}_historyView;static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe7c3d2){super(_0xe7c3d2);const _0x12836d=this['context']['plugins']['get']('AITabs');this['_historyView']=new _0x4c6f24(this['context']['locale'],_0x12836d['showResizeButton']),this['_historyView']['delegate']('resizeTabs')['to'](_0x12836d),this['_historyView']['delegate'](..._0x355edf)['to'](this),this['_historyView']['headerView']['bind']('isMaximized')['to'](_0x12836d['view'],'isMaximized',_0x19f7ad=>_0x19f7ad),_0x12836d['view']['addTab']({'id':'history','buttonLabel':_0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x491313['IconAIHistory'],'order':0x0,'content':this['_historyView']});}removeHistoryItem(_0x41f8c7){this['_historyView']['removeHistoryItem'](_0x41f8c7);}updateItems(_0x21fa92){this['_historyView']['updateHistoryItemsWithCategories'](_0x21fa92);}updateItemTitle(_0x5503d3,_0x2de3bf){this['_historyView']['updateItemTitle'](_0x5503d3,_0x2de3bf);}updateItemLoadingState(_0x65047e,_0x2c4dca,_0xdadfc2){this['_historyView']['updateItemLoadingState'](_0x65047e,_0x2c4dca,_0xdadfc2);}setLoadingSkeleton(_0x493dbb){this['_historyView']['isLoading']=_0x493dbb;}['showError'](_0x114916){this['_historyView']['errorMessage']=_0x114916;}['hideError'](){this['_historyView']['errorMessage']='';}};const _0x179799=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x536af1=class extends _0x179799{['id'];createdAt;constructor({id:_0x1451ea,title:_0x138360,createdAt:_0x59205f,updatedAt:_0x402ab6,pinned:_0xd4401b}){super(),this['id']=_0x1451ea,this['createdAt']=new Date(_0x59205f),this['set']('title',_0x138360),this['set']('updatedAt',_0x402ab6?new Date(_0x402ab6):null),this['set']('pinned',_0xd4401b||!0x1);}updateTitle(_0x2ecf01){this['set']('title',_0x2ecf01),this['updatedAt']=new Date();}updatePinned(_0x527633){this['set']('pinned',_0x527633),this['updatedAt']=new Date();}};const _0x313312=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['EmitterMixin'])();var _0x57eb37=class extends _0x313312{items=[];connector;['group'];constructor({connector:_0x207468,group:_0x33b901}){super(),this['connector']=_0x207468,this['group']=_0x33b901;}async init(){try{const _0x1087cb=await this['connector']['fetchConversations'](this['group'])['getConversations']();this['loadItems'](_0x1087cb);}catch(_0x22e44d){this['fire']('error',{'error':_0x22e44d,'operation':'init'});}}addItem(_0x2c8373){this['items']['push'](_0x2c8373);}async removeItem(_0x35b7da){const _0x1beb7b=this['items']['findIndex'](_0x1a17ec=>_0x1a17ec['id']===_0x35b7da);if(-0x1===_0x1beb7b)return!0x1;try{return await this['connector']['deleteConversation'](_0x35b7da)['execute'](),this['items']['splice'](_0x1beb7b,0x1),this['fire']('itemRemoved',{'itemId':_0x35b7da}),!0x0;}catch(_0x36021d){return this['fire']('error',{'error':_0x36021d,'operation':'removeItem','itemId':_0x35b7da}),!0x1;}}getItem(_0x6b2950){return this['items']['find'](_0x44b58e=>_0x44b58e['id']===_0x6b2950);}async updateItemTitle(_0x1bfdcf,_0x1a4b71){const _0x3e6f4e=this['getItem'](_0x1bfdcf);if(!_0x3e6f4e)return!0x1;try{return await this['connector']['updateConversation'](_0x1bfdcf,{'title':_0x1a4b71})['getResult'](),_0x3e6f4e['updateTitle'](_0x1a4b71),this['fire']('itemUpdated',{'itemId':_0x1bfdcf,'updates':{'title':_0x1a4b71}}),!0x0;}catch(_0x44b7b2){return this['fire']('error',{'error':_0x44b7b2,'operation':'updateItemTitle','itemId':_0x1bfdcf}),!0x1;}}async updateItemPinned(_0x25e776,_0x31eac6){const _0x2e33d1=this['getItem'](_0x25e776);if(!_0x2e33d1)return!0x1;try{return await this['connector']['updateConversation'](_0x25e776,{'pinned':_0x31eac6})['getResult'](),_0x2e33d1['updatePinned'](_0x31eac6),this['fire']('itemUpdated',{'itemId':_0x25e776,'updates':{'pinned':_0x31eac6}}),!0x0;}catch(_0x45f3de){return this['fire']('error',{'error':_0x45f3de,'operation':'updateItemPinned','itemId':_0x25e776}),!0x1;}}loadItems(_0x1332b1){try{this['items']=[],_0x1332b1['map'](_0x50db5a=>{this['addItem'](new _0x536af1(_0x50db5a));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x11f1d6){this['fire']('error',{'error':_0x11f1d6,'operation':'loadItems'});}}getItems(_0x48cf27={}){const _0x1a04df=void 0x0!==_0x48cf27['pinned']&&_0x48cf27['pinned'],_0x620d59=_0x48cf27['from']?new Date(_0x48cf27['from']['getFullYear'](),_0x48cf27['from']['getMonth'](),_0x48cf27['from']['getDate']()):null,_0x121314=_0x48cf27['to']?new Date(_0x48cf27['to']['getFullYear'](),_0x48cf27['to']['getMonth'](),_0x48cf27['to']['getDate']()):null;return this['items']['filter'](_0x3ddc5a=>{if(_0x3ddc5a['pinned']!==_0x1a04df)return!0x1;if(_0x121314){const _0x4b795d=new Date(_0x3ddc5a['createdAt']['getFullYear'](),_0x3ddc5a['createdAt']['getMonth'](),_0x3ddc5a['createdAt']['getDate']());return _0x620d59?_0x620d59['getTime']()===_0x121314['getTime']()?_0x4b795d['getTime']()===_0x620d59['getTime']():_0x4b795d<_0x121314&&_0x4b795d>=_0x620d59:_0x4b795d<_0x121314;}return!0x0;});}},_0x3cb289=class extends _0x491313['ContextPlugin']{_aiConnector;_reporter;_aiChatHistoryUi;_aiChatController;static get requires(){return[_0x31ca03,_0x2e8f65,_0x556fe1,_0x1b814a,_0x448179];}static get['pluginName'](){return'AIChatHistoryController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_aiConnector']=this['context']['plugins']['get'](_0x31ca03),this['_aiChatHistoryUi']=this['context']['plugins']['get'](_0x1b814a),this['_aiChatController']=this['context']['plugins']['get'](_0x556fe1),this['_reporter']=this['context']['plugins']['get'](_0x2e8f65)['createReporter']('aichathistory');const _0x58185b=this['context']['plugins']['get'](_0x448179);try{const _0x2f27a3=this['_aiChatController']['getGroupId']();this['history']=new _0x57eb37({'connector':this['_aiConnector'],'group':_0x2f27a3}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0xada20,_0x5c4d3b)=>{this['_setItemLoading'](_0x5c4d3b['id'],'remove'),this['_handleRemove'](_0x5c4d3b['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x4329f4,_0x118a58)=>{this['_setItemLoading'](_0x118a58['id'],'rename'),this['_handleEditTitle'](_0x118a58['id'],_0x118a58['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x1577c7,_0x2e7b50)=>{void 0x0!==_0x2e7b50['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x2e7b50['itemId'],_0x2e7b50['updates']['title']),void 0x0!==_0x2e7b50['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x2e7b50['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0xcb2f4a,_0x2a2d46)=>{this['_aiChatController']['_handleRemovedConversation'](_0x2a2d46['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x2a2d46['itemId']),this['_clearItemLoading'](_0x2a2d46['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x33a366,_0x19f0c1)=>{this['_handleHistoryErrorUI'](_0x19f0c1['error'],_0x19f0c1['operation'],_0x19f0c1['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x3f5070,_0x149e69)=>{this['_handleSelectConversation'](_0x149e69['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x3fb41c,_0x2bd8be)=>{const _0x2e5a2d=_0x2bd8be['pinned']?'pin':'unpin';this['_setItemLoading'](_0x2bd8be['id'],_0x2e5a2d),this['_handleTogglePin'](_0x2bd8be['id'],_0x2bd8be['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'startConversation',()=>{this['_aiChatController']['startConversation'](),_0x58185b['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x58185b['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();});}catch(_0x4ab093){this['_handleHistoryErrorUI'](_0x4ab093,'init');}}async _handleEditTitle(_0xf0b5e6,_0x136fd4){await this['history']['updateItemTitle'](_0xf0b5e6,_0x136fd4);}async['_handleTogglePin'](_0xdeb5c8,_0x5058ec){await this['history']['updateItemPinned'](_0xdeb5c8,_0x5058ec);}async['_handleRemove'](_0x4baeb4){await this['history']['removeItem'](_0x4baeb4);}async _handleSelectConversation(_0xd6f3ac){await this['_aiChatController']['loadConversation'](_0xd6f3ac);}async _showConversationHistory(){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}_updateHistoryItemsUI(){const _0x59c494=this['_aiChatController']['activeConversation']?.['id'],_0x109d93=this['_getCategorizedItems']()['map'](_0x2de8f5=>({'title':_0x2de8f5['title'],'items':_0x2de8f5['items']['map'](_0x4ca436=>({'id':_0x4ca436['id'],'title':_0x4ca436['title']||_0x258ab2(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x4ca436['createdAt'])['toLocaleDateString'](),'active':_0x4ca436['id']===_0x59c494,'pinned':_0x4ca436['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x109d93);}_setItemLoading(_0x1e6642,_0x2dce1f){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x1e6642,_0x2dce1f,!0x0);}_clearItemLoading(_0x5c5a6d){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x5c5a6d,null,!0x1);}_handleHistoryErrorUI(_0x5ce17f,_0x33233e,_0xa28711){const _0x1ca3ba=this['_generateErrorMessage'](_0x33233e,_0xa28711);this['_aiChatHistoryUi']['showError'](_0x1ca3ba),this['_reporter']['reportError'](_0x5ce17f,{'context':{'operation':_0x33233e}}),_0xa28711&&this['_clearItemLoading'](_0xa28711),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}_generateErrorMessage(_0x124713,_0x527bbd){const _0x47f8df=_0x527bbd?this['history']['getItem'](_0x527bbd):null,_0x422a78=_0x47f8df?.['title']||_0x258ab2(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x124713){case'updateItemTitle':return _0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x422a78);case'updateItemPinned':{const _0x794f48=_0x258ab2(this['context']['locale'],_0x47f8df?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return _0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x794f48,_0x422a78]);}case'removeItem':return _0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x422a78);case'init':case'loadItems':return _0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return _0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}_getCategorizedItems(){const _0x2b73c5=new Date(),_0x2a423d=new Date(_0x2b73c5['getFullYear'](),_0x2b73c5['getMonth'](),_0x2b73c5['getDate']()),_0x67b8f6=new Date(_0x2a423d);_0x67b8f6['setDate'](_0x67b8f6['getDate']()-0x1);const _0x2250c4=new Date(_0x2a423d);_0x2250c4['setDate'](_0x2250c4['getDate']()-0xe);const _0x112ac3=this['history']['getItems']({'pinned':!0x0}),_0x264efb=this['history']['getItems']({'from':_0x2a423d,'to':_0x2a423d}),_0x2913e5=this['history']['getItems']({'from':_0x67b8f6,'to':_0x67b8f6}),_0x41f519=this['history']['getItems']({'from':_0x2250c4,'to':_0x67b8f6}),_0x39187d=this['history']['getItems']({'to':_0x2250c4}),_0x3cb083=[];return _0x112ac3['length']>0x0&&_0x3cb083['push']({'title':_0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x112ac3}),_0x264efb['length']>0x0&&_0x3cb083['push']({'title':_0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x264efb}),_0x2913e5['length']>0x0&&_0x3cb083['push']({'title':_0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x2913e5}),_0x41f519['length']>0x0&&_0x3cb083['push']({'title':_0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x41f519}),_0x39187d['length']>0x0&&_0x3cb083['push']({'title':_0x258ab2(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x39187d}),_0x3cb083;}},_0x441480=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x3cb289,_0x1b814a];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x2d626f=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x556fe1,_0x3cc2b8,_0x3dff05,_0x441480,_0x23d345];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x54f379){super(_0x54f379),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'contextLibrary':{'enabled':!0x1},'sources':[],'alwaysAddSelection':!0x1,'paste':{'textThreshold':0x5dc}}),this['context']['config']['define']('ai.chat.initialConversation','new');}},_0x534237=class extends _0x491313['ButtonView']{['id'];constructor(_0x4bd20d,_0x238ebc){super(_0x4bd20d);const {id:_0x5b392f,type:_0x279330,icon:_0x44113a}=_0x238ebc;this['id']=_0x5b392f,this['set']({'label':_0x238ebc['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x238ebc['id']}}),_0x44113a?this['icon']=_0x44113a:'chat'===_0x279330?this['icon']=_0x491313['IconAIChat']:'review'===_0x279330?this['icon']=_0x491313['IconAIReview']:'translate'===_0x279330&&(this['icon']=_0x491313['IconAITranslate']);}},_0x5562d6=class extends _0x491313['View']{listView;constructor(_0x265466,_0x3066d1){super(_0x265466),this['set']('isEnabled',!0x0);const _0xdc9683=_0x3066d1['map'](_0x36eef1=>{const _0x536a37=new _0x491313['ListItemView'](this['locale']),_0x45c1e8=new _0x534237(this['locale'],_0x36eef1);return _0x45c1e8['bind']('isEnabled')['to'](this),_0x536a37['children']['add'](_0x45c1e8),_0x45c1e8['delegate']('execute')['to'](this),_0x536a37;});this['listView']=new _0x491313['ListView'](this['locale']),this['listView']['items']['addMany'](_0xdc9683),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}};const _0x550d3c='chat-shortcuts';var _0x2d9a0e=class extends _0x491313['ContextPlugin']{_shortcuts;_shortcutsView;_aiChatUI;_listenedConversation;static get requires(){return[_0x3dff05,_0x23dba1];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_aiChatUI']=this['context']['plugins']['get'](_0x3dff05),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x2f86fc=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{const _0x185351=_0x2f86fc['activeConversation'];_0x185351['isFromHistory']||this['_injectShortcuts'](_0x185351);}),this['listenTo'](_0x2f86fc,'interactionStarted',()=>{this['_removeShortcuts']();}));}_validateShortcuts(){const _0x1c1b88=['chat','review','translate'];this['_shortcuts']['forEach'](_0x168536=>{let _0x519743=!0x0;if(_0x168536['id']&&_0x168536['label']&&_0x1c1b88['includes'](_0x168536['type'])?'chat'===_0x168536['type']&&(_0x519743='string'==typeof _0x168536['prompt']):_0x519743=!0x1,!_0x519743)throw new _0x491313['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x168536});});}_injectShortcuts(_0xcf2ac){this['_removeShortcuts'](),this['_shortcutsView']=new _0x5562d6(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),this['_aiChatUI']['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x550d3c),this['_shortcutsView']['on']('execute',_0xfd9e9b=>{const _0x1f217b=_0xfd9e9b['source']['id'];this['_executeShortcut'](_0x1f217b);}),this['_listenedConversation']=_0xcf2ac,this['listenTo'](_0xcf2ac,'uploadProgressChanged',(_0x181e31,_0x49cf93)=>{this['_shortcutsView']['isEnabled']=!_0x49cf93['isUploadInProgress'];});}_removeShortcuts(){const _0x4e731f=this['context']['plugins']['get'](_0x3dff05);_0x4e731f['hasFeedItem'](_0x550d3c)&&_0x4e731f['removeFeedItem'](_0x550d3c),this['_listenedConversation']&&(this['stopListening'](this['_listenedConversation'],'uploadProgressChanged'),this['_listenedConversation']=void 0x0),this['_shortcutsView']?.['destroy']();}_executeShortcut(_0x2c3a22){const _0x14c17b=this['_shortcuts']['find'](_0x5c0928=>_0x5c0928['id']===_0x2c3a22),_0x4e1b76=_0x14c17b['type'];'chat'===_0x4e1b76?this['_runChatShortcut'](_0x14c17b):'review'===_0x4e1b76?_0x14c17b['commandId']?this['_runReviewShortcut'](_0x14c17b):this['_switchTab']('reviewMode'):'translate'===_0x4e1b76&&(_0x14c17b['language']?this['_runTranslateShortcut'](_0x14c17b):this['_switchTab']('translate'));}_switchTab(_0x196786){if(!this['context']['plugins']['has']('AITabs'))throw new _0x491313['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x196786});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x196786);}async _runChatShortcut({id:_0x360429,prompt:_0x5294cd,draftMode:_0x2e94f2,useWebSearch:_0x590233=!0x1,useReasoning:_0xf73b23=!0x1,model:_0x28ec28}){const _0x382103=this['context']['plugins']['get']('AIChatController'),_0x595be7=_0x382103['activeConversation'],_0x26467a=this['context']['plugins']['get'](_0x23dba1),_0x328688=await _0x26467a['models']['resolveModel'](_0x28ec28);_0x328688&&await _0x595be7['setModel'](_0x328688),_0x595be7['setWebSearch'](_0x590233),_0x595be7['setReasoning'](_0xf73b23);const _0x22ecbc=_0x26467a['contextLibrary']['resolveContext']({'feature':'chat','ids':[_0x360429],'idScopedOnly':!0x0,'context':new _0x518964()});_0x595be7['addDefaultContext'](_0x22ecbc['refs']),_0x382103['addCurrentDocumentToChatContext'](),_0x2e94f2?(this['_aiChatUI']['setPromptInputValue'](_0x5294cd),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x382103['sendMessage']({'message':_0x5294cd});}_runReviewShortcut({commandId:_0x30435c,model:_0x488ddb,prompt:_0x1561f9,params:_0x38d89e}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x491313['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x3a42c8={'id':_0x30435c,'isCustom':'custom'===_0x30435c};_0x488ddb&&_0x1561f9&&(_0x3a42c8['args']={'model':_0x488ddb,'prompt':_0x1561f9}),_0x38d89e&&(_0x3a42c8['params']=_0x38d89e),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x3a42c8);}_runTranslateShortcut({language:_0x28f0a6}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x491313['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x28f0a6,'args':{'language':_0x28f0a6}});}},_0x1c340c=class extends _0x491313['Command']{constructor(_0xb4eed3){super(_0xb4eed3);const _0x3ae989=_0xb4eed3['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x3ae989,'isVisible'),this['isEnabled']=!0x0;}execute(){const _0x2515a3=this['editor']['plugins']['get']('AITabs')['view'];_0x2515a3['isVisible']=!_0x2515a3['isVisible'];}},_0x236f20=class extends _0x491313['Plugin']{static get requires(){return[_0x448179];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x58107b=this['editor'];_0x58107b['commands']['add']('toggleAi',new _0x1c340c(_0x58107b)),_0x58107b['ui']['componentFactory']['add']('toggleAi',()=>{const _0x49e4c8=this['_createAIUIButton'](_0x491313['ButtonView']);return _0x49e4c8['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x49e4c8;}),_0x58107b['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0xc96cde=this['_createAIUIButton'](_0x491313['MenuBarMenuListItemButtonView']);return _0xc96cde['set']({'role':'menuitemcheckbox'}),_0xc96cde;});}_createAIUIButton(_0x5d4d31){const _0x5a2dc0=this['editor'],_0x49b51d=_0x5a2dc0['commands']['get']('toggleAi'),_0x2da17a=new _0x5d4d31(_0x5a2dc0['locale']);return _0x2da17a['set']({'label':_0x258ab2(_0x5a2dc0['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x491313['IconAIAskAI'],'isToggleable':!0x0}),_0x2da17a['bind']('isEnabled')['to'](_0x49b51d),_0x2da17a['bind']('isOn')['to'](_0x49b51d,'value',_0x2c213a=>!!_0x2c213a),this['listenTo'](_0x2da17a,'execute',()=>{_0x49b51d['execute']();}),_0x2da17a;}};const _0x3acc75=['applySuggestion','insertSuggestion','showNext','showPrevious'];var _0x16f4a0=class extends _0x491313['View']{['_errorView'];constructor(_0x5a798f){super(_0x5a798f),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x25f922){this['showError'](_0x25f922);}['showError'](_0x450530){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x450530,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}_createErrorView(){const _0x4bea56=new _0x491313['View'](this['locale']),_0x2b2de2=new _0x491313['View'](this['locale']);return _0x2b2de2['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x4bea56['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x29486a=>!_0x29486a)]},'children':[_0x2b2de2]}),_0x4bea56;}};const _0x23a41f=0xa;var _0x125e03=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x3cc2b8];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;_currentConfig;_editor;_isUpdatingMarkers=!0x1;['open'](_0x557e23){const {id:_0x2f42d7}=this['_currentConfig']??{};this['_currentConfig']=_0x557e23,this['_editor']=_0x557e23['targetEditor'];const {id:_0x165730}=this['_currentConfig'];this['isOpen']&&_0x2f42d7===_0x165730?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x3248f1=this['_editor'];if(!_0x3248f1)return;const _0x575488=_0x3248f1['plugins']['get']('Dialog');_0x575488['isOpen']&&this['_currentConfig']&&_0x575488['id']===this['_currentConfig']['id']&&_0x575488['hide']();}_updateDialog(){const _0x5028d2=this['_editor']['plugins']['get']('Dialog'),{icon:_0x2be9d7,title:_0x360a1c}=this['_currentConfig'];_0x5028d2['view']?.['headerView']&&(_0x5028d2['view']['headerView']['label']=_0x360a1c,_0x5028d2['view']['headerView']['iconView']&&_0x2be9d7&&(_0x5028d2['view']['headerView']['iconView']['content']=_0x2be9d7)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x5028d2['view']?.['updatePosition']();}_showFakeVisualSelection(){this['context']['plugins']['get'](_0x3cc2b8)['showFakeVisualSelection']({'editor':this['_editor'],'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}_hideFakeVisualSelection(){this['context']['plugins']['get'](_0x3cc2b8)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x271350=this['_editor']['plugins']['get']('Dialog'),{id:_0x2c6870,title:_0x3ecf2d,icon:_0x22ce3f,class:_0x4b659d,mainView:_0x3b0547}=this['_currentConfig'];_0x3b0547['delegate'](..._0x3acc75)['to'](this),_0x271350['show']({'title':_0x3ecf2d,'icon':_0x22ce3f,'hasCloseButton':!0x0,'id':_0x2c6870,'position':this['_calculateDialogPosition']['bind'](this),'getRootName':this['_getCurrentDomRootName']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x4b659d||''),'content':_0x3b0547,'onShow':_0x5d2b1d=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener'](),_0x5d2b1d['view']?.['updatePosition']();const _0x520e7b=this['_getSelectionElements']();_0x520e7b&&_0x520e7b[0x0]&&(0x0,_0x491313['scrollViewportToShowTarget'])({'target':_0x520e7b[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x5d2b1d['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x2c6870});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x2c6870}),this['isOpen']=!0x1;}});}_calculateDialogPosition(_0x2ce750,_0x636be8,_0x27ab25){const _0x29bb65=_0x636be8||_0x27ab25;if(!_0x29bb65)return null;const _0x336601=this['_getSelectionElements']();if(!_0x336601||0x0===_0x336601['length'])return{'left':Math['round'](_0x29bb65['left']+_0x29bb65['width']/0x2-_0x2ce750['width']/0x2),'top':Math['round'](_0x29bb65['top']+_0x29bb65['height']/0x2-_0x2ce750['height']/0x2)};const _0x549fdc=Math['round'](_0x29bb65['left']+_0x29bb65['width']/0x2-_0x2ce750['width']/0x2),_0x3c96ed=_0x336601['map'](_0x5dd22d=>new _0x491313['Rect'](_0x5dd22d)),_0x503c9f=_0x2ce750['height'];return{'left':_0x549fdc,'top':this['_calculateOptimalTopPosition'](_0x3c96ed,_0x503c9f,_0x29bb65)};}_calculateOptimalTopPosition(_0x48225b,_0x1282ec,_0x5f493a){const _0xde2756=new _0x491313['Rect'](_0x491313['global']['window']),_0x1d89c7=_0x48225b['map'](_0x81849=>_0x81849['getVisible']())['filter'](_0x3199e5=>_0x3199e5),_0x36b972=_0x491313['Rect']['getBoundingRect'](_0x1d89c7);if(!_0x36b972)return Math['round'](_0x5f493a['top']+_0x5f493a['height']/0x2);const _0x1a22d0=_0xde2756['getIntersection'](_0x36b972);if(!_0x1a22d0)return Math['round'](_0x5f493a['top']+_0x5f493a['height']/0x2);const _0x14a1ab=_0x5f493a['getVisible'](),_0x331a6a=_0x14a1ab&&_0x36b972['height']>_0x14a1ab['height'],_0x337063=_0x1a22d0['top'],_0x5b172b=_0x1a22d0['bottom'];if(_0x331a6a){const _0x1906e3=_0xde2756['top']+_0xde2756['height']/0x2-_0x1282ec/0x2,_0x9efefd=_0x337063-_0x23a41f-_0xde2756['top'],_0x1b7c3f=_0xde2756['bottom']-_0x5b172b-_0x23a41f;return _0x9efefd>=_0x1282ec?Math['max'](_0x23a41f,_0x337063-_0x1282ec-_0x23a41f):_0x1b7c3f>=_0x1282ec?_0x5b172b+_0x23a41f:Math['max'](_0x23a41f,_0x1906e3);}const _0x48c110=_0x337063-_0x1282ec,_0x495664=_0xde2756['bottom']-_0x5b172b-_0x23a41f,_0x13dbcc=_0x337063-_0x23a41f-_0xde2756['top'];let _0x2d34c1;return _0x2d34c1=_0x495664>=_0x1282ec?_0x5b172b+_0x23a41f:_0x13dbcc>=_0x1282ec?_0x48c110-_0x23a41f:_0x337063+_0x36b972['height']/0x2-_0x1282ec/0x2,_0x2d34c1;}_setupFakeVisualSelectionMarkerRemovalListener(){const _0x97011a=this['_editor'];this['listenTo'](_0x97011a['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x982e82,data:{newRange:_0x20cae3}}of _0x97011a['model']['document']['differ']['getChangedMarkers']())if(_0x982e82['startsWith']('ai-selection:')&&(_0x20cae3&&(_0x20cae3['start']['isEqual'](_0x20cae3['end'])||'$graveyard'==_0x20cae3['root']['rootName'])||null==_0x20cae3)){const _0x340ee3=_0x258ab2(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x340ee3),this['fire']('selectionRemoved');}}});}_cleanupFakeVisualSelectionMarkerRemovalListener(){const _0x295301=this['_editor'];this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x295301['model']['document']);}_getSelectionElements(){const _0x564414=this['_editor'];return _0x323ccc(_0x564414['editing'],[..._0x564414['model']['markers']['getMarkersGroup']('ai-selection'),..._0x564414['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}_getCurrentDomRootName(){const _0x43730b=this['_currentConfig']?.['ranges']?.[0x0]?.['root'];return _0x43730b&&_0x43730b['rootName']?_0x43730b['rootName']:null;}},_0x343047=class extends _0x491313['ToolbarView']{copyButton;likeButton;dislikeButton;showChangesButton;['_config'];constructor(_0x220e0d,_0x380e47={}){super(_0x220e0d),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x380e47};const _0x15a839=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x15a839?'ck-ai-mini-toolbar\x20ck-hidden':'ck-ai-mini-toolbar',this['_config']['showCopy']&&(this['_setupCopyButton'](),this['items']['add'](this['copyButton'])),this['_config']['showChanges']&&(this['_setupShowChangesButton'](),this['items']['add'](this['showChangesButton'])),this['_setupRatingButtons'](),this['_config']['showLike']&&this['items']['add'](this['likeButton']),this['_config']['showDislike']&&this['items']['add'](this['dislikeButton']),this['_config']['customView']&&this['items']['addMany'](this['_config']['customView']);}toggleShowChangesEnabled(_0x31e74e){this['showChangesButton']['isEnabled']=_0x31e74e;}_setupRatingButtons(){this['likeButton']=new _0x491313['ButtonView'](this['locale']),this['likeButton']['set']({'icon':_0x491313['IconThumbUp'],'label':_0x258ab2(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'class':_0xa623f1,'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0x491313['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':_0x491313['IconThumbDown'],'label':_0x258ab2(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'class':_0xa623f1,'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}_setupCopyButton(){this['copyButton']=new _0x491313['ButtonView'](this['locale']),this['copyButton']['set']({'icon':_0x491313['IconCopy'],'label':_0x258ab2(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button\x20'+_0xa623f1,'tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x3ed20c=new _0x491313['IconView']();_0x3ed20c['set']({'content':_0x491313['IconCheck']}),_0x3ed20c['extendTemplate']({'attributes':{'class':['ck-ai-mini-toolbar-copy-button__check-mark']}}),this['copyButton']['on']('execute',()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied\x20'+_0xa623f1,setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20'+_0xa623f1;},0x7d0);}),this['copyButton']['children']['add'](_0x3ed20c);}_setupShowChangesButton(){this['showChangesButton']=new _0x491313['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':_0x491313['IconShowChangesOff'],'label':_0x258ab2(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':_0xa623f1}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x2c2112=>_0x2c2112?_0x491313['IconShowChangesOn']:_0x491313['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}},_0x51f46f=class extends _0x16f4a0{['children'];nextButtonView;previousButtonView;['focusCycler'];['_focusables'];['_focusTracker'];_keystrokes;['_config'];_streamableContentView;_toolbarContainerView;_partToolbarView;_stateView;['_miniToolbarView'];constructor(_0x2bb75a,_0x192d86){super(_0x2bb75a);const _0x3b5a10=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['set']('_outdatedReason',void 0x0),this['set']('isTargetReadOnly',!0x1),this['set']('areActionsDisabled',!0x1),this['_focusTracker']=new _0x491313['FocusTracker'](),this['_keystrokes']=new _0x491313['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x192d86,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new _0x35e7dc(_0x2bb75a),this['_partToolbarView']=new _0x47f19a(_0x2bb75a,_0x192d86['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_partToolbarView']['bind']('isTargetReadOnly')['to'](this),this['_partToolbarView']['bind']('isEnabled')['to'](this,'areActionsDisabled',this,'_isErrorVisible',(_0x185f6f,_0x48a6c3)=>!_0x185f6f&&!_0x48a6c3),this['_togglePartToolbarButtonsVisibility'](_0x192d86),this['_stateView']=new _0x313f40(_0x2bb75a),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x343047(_0x2bb75a,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new tm(_0x2bb75a,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x2a5976,_0x5d206c,_0x2d03b6,_0x1b1d9f)=>{let _0x1c079a,_0x5f52ff;'pending'===_0x1b1d9f?(_0x1c079a=this['_partToolbarView'],_0x5f52ff=this['_stateView']):(_0x1c079a=this['_stateView'],_0x5f52ff=this['_partToolbarView']),this['_stateView']['setState'](_0x2d03b6,this['_outdatedReason']),_0x1c079a['isVisible']=!0x1,_0x5f52ff['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x3b5a10['to']('_state',_0x84a4b7=>'ck-ai-chat-balloon-main_state_'+_0x84a4b7)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x192d86);});}['render'](){super['render'](),this['nextButtonView']['render'](),this['previousButtonView']['render'](),this['_focusTracker']['add'](this['element']),this['_focusTracker']['add'](this['nextButtonView']),this['_focusTracker']['add'](this['previousButtonView']),this['_focusTracker']['add'](this['_miniToolbarView']),this['_focusTracker']['add'](this['_partToolbarView']),this['_keystrokes']['listenTo'](this['element']),this['_keystrokes']['listenTo'](this['nextButtonView']['element']),this['_keystrokes']['listenTo'](this['previousButtonView']['element']),this['_focusables']['addMany']([this['nextButtonView'],this['previousButtonView'],this['_partToolbarView'],this['_miniToolbarView']]);}destroy(){super['destroy'](),this['previousButtonView']['destroy'](),this['nextButtonView']['destroy']();}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}async updateContent(_0x2e2126){_0x2e2126?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x2e2126);}clearContent(){this['_streamableContentView']['clear']();}setState(_0x2f8e93,_0x28f355){this['_outdatedReason']=_0x28f355,this['_state']=_0x2f8e93;}['showError'](_0x6b24a1){super['showError'](_0x6b24a1),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}toggleRotatorButtonsVisibility(_0x318b60){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x318b60;}_togglePartToolbarButtonsVisibility({showApplyButton:_0x1c2238,showSuggestButton:_0x2e013f}){_0x1c2238=_0x1c2238&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x2e013f=_0x2e013f&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x1c2238,'showSuggestButton':_0x2e013f});}_createNextButtonView(){const _0x43fa35=new _0x491313['ButtonView'](this['locale']);return _0x43fa35['set']({'icon':_0x491313['IconChevronDown'],'label':_0x258ab2(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x43fa35['on']('execute',()=>{this['fire']('showNext');}),_0x43fa35;}_createPreviousButtonView(){const _0x3ba862=new _0x491313['ButtonView'](this['locale']);return _0x3ba862['set']({'icon':_0x491313['IconChevronUp'],'label':_0x258ab2(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x3ba862['on']('execute',()=>{this['fire']('showPrevious');}),_0x3ba862;}},tm=class extends _0x491313['View']{constructor(_0x4f4d92,_0x245577){super(_0x4f4d92),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x245577});}},_0x4a0ce5=class extends _0x491313['Plugin']{static get requires(){return[_0x491313['Dialog'],_0x125e03];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}_chatBalloonView;constructor(_0x45ae74){super(_0x45ae74),this['set']('showDiff',!0x1);}['open'](_0x5f27f3){const _0x3d86e5=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x3d86e5['plugins']['get']('AIBalloon')['open']({..._0x5f27f3,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x5f27f3['showRotator']),this['_chatBalloonView']['areActionsDisabled']=_0x5f27f3['areActionsDisabled'],this['_chatBalloonView']['isTargetReadOnly']=_0x5f27f3['isTargetReadOnly'],this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}updateContent(_0x4ff311){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x4ff311);}clearContent(){this['_chatBalloonView']&&this['_chatBalloonView']['clearContent']();}setState(_0x3ad91f,_0x2495d6){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x3ad91f,_0x2495d6);}setTargetReadOnly(_0x32e0a5){this['_chatBalloonView']&&(this['_chatBalloonView']['isTargetReadOnly']=_0x32e0a5);}_createChatBalloonView(){const _0x3a2ef9=this['editor'],_0x30c29b=_0x3a2ef9['plugins']['get']('AIBalloon'),_0x44a769=_0x3a2ef9['commands']['get']('trackChanges');let _0x3d54b0=_0x3a2ef9['config']['get']('ai.availableReplyActions')||[..._0x91b48b];_0x3a2ef9['plugins']['has']('TrackChanges')||(_0x3d54b0=_0x3d54b0['filter'](_0x5f2602=>'insertSuggestion'!=_0x5f2602));const _0x4a48f6=new _0x51f46f(_0x3a2ef9['locale'],{'availableActions':_0x3d54b0,'showApplyButton':!0x0,'showSuggestButton':!!_0x44a769});return _0x4a48f6['bind']('showDiff')['to'](this),_0x4a48f6['delegate'](..._0x334679)['to'](this),_0x4a48f6['delegate']('showPrevious','showNext')['to'](this),_0x30c29b['delegate']('dialogClosed')['to'](this),_0x4a48f6['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4a48f6['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4a48f6['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x44a769&&_0x4a48f6['bind']('isTrackChangesOn')['to'](_0x44a769,'value'),_0x4a48f6['render'](),_0x4a48f6;}_toggleRotatorButtonsInDialogHeader(_0xe2ecce){const _0xa8775=this['editor'],_0x4ad105=_0xa8775['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0xe2ecce),_0x4ad105['has'](this['_chatBalloonView']['previousButtonView'])||(_0x4ad105['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0xa8775['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x4ad105['remove'](this['_chatBalloonView']['previousButtonView']),_0x4ad105['remove'](this['_chatBalloonView']['nextButtonView']);}));}_restoreDefaultViewFocus(){this['_chatBalloonView']['focus']();}},_0x1b3cec=class extends _0x491313['Plugin']{static get requires(){return[_0x236f20,_0x4a0ce5,_0x5f577d];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x44bf26(_0x2d5273){const {editor:_0x5be6d2,action:_0x5f016b,withText:_0x3bfbd2=!0x1,withIcon:_0x236879=!0x0,isInDropdown:_0x4bce8a=!0x0,shouldPreventFocus:_0x537e08=!0x1,actionButtons:_0xa7dff7}=_0x2d5273;return()=>{const _0xa95614=_0x5be6d2['locale'],_0x32b0eb=new _0x491313['ButtonView'](_0xa95614),_0x5938bd=_0x32b0eb['bindTemplate'];_0x4bce8a&&_0x32b0eb['extendTemplate']({'on':{'mouseenter':_0x5938bd['to'](()=>{_0x537e08&&_0x537e08()||_0x32b0eb['focus']();})}}),_0xa7dff7['push']({'buttonView':_0x32b0eb,'action':_0x5f016b});const _0x3651ee=_0x5f016b['icon']??_0x5f016b['parent']?.['icon'];return _0x32b0eb['set']({'label':_0x5f016b['label'],'withText':_0x3bfbd2,'role':'menuitem','icon':_0x236879?_0x3651ee??_0x491313['IconAIQuickActions']:void 0x0,'tooltip':!_0x3bfbd2,'class':'ck-ai-quick-actions-button','isEnabled':_0x5f016b['isEnabled']}),_0x32b0eb['on']('execute',()=>{_0x5be6d2['editing']['view']['focus'](),_0x5be6d2['commands']['execute']('aiQuickAction',_0x5f016b);}),_0x32b0eb;};}var _0x5e0180=class extends _0x491313['ListItemButtonView']{['arrowView'];constructor(_0x1d4392,_0x546e4){super(_0x1d4392,_0x546e4);const _0x135711=this['bindTemplate'];this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':['ck-dropdown-menu-list__nested-menu__button'],'aria-haspopup':!0x0,'aria-expanded':this['bindTemplate']['to']('isOn',_0x2d6487=>String(_0x2d6487)),'data-cke-tooltip-disabled':_0x135711['to']('isOn')},'on':{'mouseenter':_0x135711['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}_createArrowView(){const _0x136ea6=new _0x491313['IconView']();return _0x136ea6['content']=_0x491313['IconDropdownArrow'],_0x136ea6['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x136ea6;}},_0x172f69=class extends _0x491313['ListView']{_allListItems;_allSearchableItems;constructor(_0x4e2016,_0x1c557d,_0x484272){super(_0x4e2016),this['_allListItems']=_0x1c557d,this['_allSearchableItems']=_0x484272;}filter(_0x29e7dc){if(!_0x29e7dc)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x5b6384=_0x29e7dc['source']['toLowerCase']()['trim'](),_0x53f8c5=this['_allSearchableItems']['filter'](_0x6fdcc6=>(_0x6fdcc6['groupLabel']?_0x6fdcc6['label']+'\x20('+_0x6fdcc6['groupLabel']+')':_0x6fdcc6['label'])['toLowerCase']()['includes'](_0x5b6384));return this['items']['clear'](),this['items']['addMany'](_0x53f8c5['sort']((_0x4b9d0e,_0x2897ff)=>{const _0x374f09=_0x4b9d0e['groupLabel'],_0x5093ba=_0x2897ff['groupLabel'];return _0x374f09||_0x5093ba?_0x374f09?0x1:-0x1:0x0;})['map'](_0x51afed=>_0x51afed['item'])),this['_highlightQuery'](_0x5b6384,_0x53f8c5),{'resultsCount':_0x53f8c5['length'],'totalItemsCount':this['_allSearchableItems']['length']};}_highlightQuery(_0x7331e3,_0x32a755){if(!_0x7331e3)return;const _0x3d1830=new RegExp(Gt(_0x7331e3),'gi');_0x32a755['forEach'](_0x4e1b7a=>{_0x4e1b7a['highlightViews']&&_0x4e1b7a['highlightViews']['forEach'](_0x476aba=>{'function'==typeof _0x476aba['highlightText']&&_0x476aba['highlightText'](_0x3d1830);});});}_clearHighlight(){this['_allSearchableItems']['forEach'](_0x14d7e8=>{_0x14d7e8['highlightViews']&&_0x14d7e8['highlightViews']['forEach'](_0x51f3d3=>{'function'==typeof _0x51f3d3['highlightText']&&_0x51f3d3['highlightText'](null);});});}};const _0x57776b='menu',_0x8c2e96='menuitem';var _0x34ce3e=class extends _0x491313['View']{_bodyCollection;optionsListView;_searchTextView=null;_allSearchableItems=[];['children'];['focusTracker'];keystrokes;['_focusables'];['focusCycler'];_openNestedPanels=new Set();['_hasSearch'];_actionButtons;constructor(_0x17eafb,_0x2e194d,_0x2642c1,_0x588666,_0x1222cb=!0x1,_0x139852=[]){const _0x22b2cb=_0x17eafb['locale'];super(_0x22b2cb),this['_bodyCollection']=_0x588666,this['_hasSearch']=_0x1222cb,this['_actionButtons']=_0x139852;const _0xbf867e=this['_createListItems'](_0x17eafb,_0x2e194d,_0x2642c1);this['optionsListView']=new _0x172f69(_0x22b2cb,_0xbf867e,this['_allSearchableItems']),this['optionsListView']['role']=_0x57776b,this['optionsListView']['items']['addMany'](_0xbf867e),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),_0x1222cb&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0xbf867e,this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x1222cb&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0xb74ecb=_0x1222cb&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new _0x491313['ViewCollection'](_0xb74ecb),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x22b2cb['uiLanguageDirection']},'children':this['children']});}_createSearchTextView(){return new _0x491313['SearchTextView'](this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':_0x258ab2(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':_0x258ab2(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x3d71d4=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x3d71d4);}_createListItems(_0x505428,_0x358e04,_0x2d0209){const _0x472d89=new _0x491313['ViewCollection']();return _0x358e04['forEach'](_0x2b10c2=>{if('actions'in _0x2b10c2){const {listItem:_0x117325}=this['_createActionGroupButton'](_0x505428,_0x2b10c2,_0x2d0209);_0x472d89['add'](_0x117325),_0x2b10c2['actions']['forEach'](_0x3dcb20=>{const {listItem:_0xe05eaf,highlightViews:_0x20f899}=this['_createSearchResultActionButton'](_0x505428,_0x3dcb20,_0x2b10c2['label'],_0x2b10c2['icon']);this['_allSearchableItems']['push']({'item':_0xe05eaf,'label':_0x3dcb20['label'],'groupLabel':_0x2b10c2['label'],'highlightViews':_0x20f899});});}else{const {listItem:_0x3703c1}=this['_createActionButton'](_0x505428,_0x2b10c2);_0x472d89['add'](_0x3703c1);const _0x1fb2df=_0x3703c1['children']['first'];if(_0x1fb2df){const {listItem:_0x79167c,highlightViews:_0x42bad9}=this['_createSearchResultActionButton'](_0x505428,_0x2b10c2);this['_allSearchableItems']['push']({'item':_0x79167c,'label':_0x1fb2df['label']||'','highlightViews':_0x42bad9});}}}),_0x472d89;}_createActionButton(_0xe8209e,_0x3fbe38,_0x564097,_0x40dbc8){const _0x53b1fa=new _0x491313['ListItemView'](this['locale']);if(_0x564097&&_0x40dbc8){const _0x1ec3a0=new _0x491313['ButtonView'](this['locale']),_0x2d965d=_0x1ec3a0['bindTemplate'],_0xcd17e0=new _0x491313['HighlightedTextView']();_0xcd17e0['text']=_0x3fbe38['label'];const _0x3eb97f=new _0x491313['HighlightedTextView']();_0x3eb97f['text']=_0x564097;const _0x3ae447=new _0x491313['IconView']();_0x3ae447['content']=_0x40dbc8,_0x3ae447['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x25015c=new _0x491313['View'](this['locale']);_0x25015c['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x3a8e58=new _0x491313['View'](this['locale']);return _0x3a8e58['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x1ec3a0['set']({'label':_0x3fbe38['label']+'\x20('+_0x564097+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1,'isEnabled':_0x3fbe38['isEnabled']}),_0x1ec3a0['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group',_0x2d965d['if']('isEnabled','ck-disabled',_0x34cabb=>!_0x34cabb)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0xcd17e0,_0x25015c,_0x3ae447,_0x3eb97f,_0x3a8e58],'on':{'mouseenter':_0x2d965d['to'](()=>{this['_isSearchFocused']()||_0x1ec3a0['focus']();}),'click':_0x2d965d['to'](()=>{_0x1ec3a0['fire']('execute');})}}),_0x1ec3a0['on']('execute',()=>{_0x1ec3a0['isEnabled']&&(_0xe8209e['editing']['view']['focus'](),_0xe8209e['commands']['execute']('aiQuickAction',_0x3fbe38));}),_0x53b1fa['children']['add'](_0x1ec3a0),this['_actionButtons']['push']({'buttonView':_0x1ec3a0,'action':_0x3fbe38}),{'listItem':_0x53b1fa,'highlightViews':[_0xcd17e0,_0x3eb97f]};}{const _0x288f3c=new _0x491313['ButtonLabelWithHighlightView'](),_0xd240c4=new _0x491313['ButtonView'](this['locale'],_0x288f3c),_0x36ff15=_0xd240c4['bindTemplate'],_0x3231e8=_0x3fbe38['icon']??_0x3fbe38['parent']?.['icon'],_0x7a26dc=void 0x0!==_0x3fbe38['icon'];return _0xd240c4['set']({'label':_0x3fbe38['label'],'withText':!0x0,'role':'menuitem','icon':_0x7a26dc?_0x3231e8??_0x491313['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button','isEnabled':_0x3fbe38['isEnabled']}),_0xd240c4['extendTemplate']({'on':{'mouseenter':_0x36ff15['to'](()=>{this['_isSearchFocused']()||_0xd240c4['focus']();})}}),_0xd240c4['on']('execute',()=>{_0xe8209e['editing']['view']['focus'](),_0xe8209e['commands']['execute']('aiQuickAction',_0x3fbe38);}),_0x53b1fa['children']['add'](_0xd240c4),this['_actionButtons']['push']({'buttonView':_0xd240c4,'action':_0x3fbe38}),{'listItem':_0x53b1fa,'highlightViews':[_0x288f3c]};}}_createSearchResultActionButton(_0x1c04db,_0x732726,_0x4bef25,_0x557a28){return _0x4bef25&&_0x557a28?this['_createSearchResultGroupedActionButton'](_0x1c04db,_0x732726,_0x4bef25,_0x557a28):this['_createSearchResultIndividualActionButton'](_0x1c04db,_0x732726);}_createSearchResultGroupedActionButton(_0x4766a9,_0x556061,_0x3a2f54,_0x472586){const _0xedb1c8=new _0x491313['ListItemView'](this['locale']),_0x37cae1=new _0x491313['ButtonView'](this['locale']),_0x2eb64e=_0x37cae1['bindTemplate'],{view:_0x1d4bbe,highlightView:_0x24a133}=this['_createSearchResultGroupRow'](_0x3a2f54,_0x472586),{view:_0x55e822,highlightView:_0x56286d}=this['_createSearchResultActionRow'](_0x556061['label']),_0x2605d0=this['_createSearchResultContentView'](_0x1d4bbe,_0x55e822);return _0x37cae1['set']({'label':_0x556061['label'],'withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','tooltip':!0x1,'isEnabled':_0x556061['isEnabled']}),_0x37cae1['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-search-result-button_with-group',_0x2eb64e['if']('isEnabled','ck-disabled',_0x5308ad=>!_0x5308ad)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x2605d0],'on':{'mouseenter':_0x2eb64e['to'](()=>{this['_isSearchFocused']()||_0x37cae1['focus']();}),'click':_0x2eb64e['to'](()=>{this['_handleSearchResultButtonClick'](_0x37cae1);})}}),this['_setupActionButtonExecution'](_0x37cae1,_0x4766a9,_0x556061),_0xedb1c8['children']['add'](_0x37cae1),this['_actionButtons']['push']({'buttonView':_0x37cae1,'action':_0x556061}),{'listItem':_0xedb1c8,'highlightViews':[_0x24a133,_0x56286d]};}_createSearchResultIndividualActionButton(_0xb724b4,_0xcd1ed1){const _0x2773b6=new _0x491313['ListItemView'](this['locale']),_0x11c9ce=new _0x491313['ButtonLabelWithHighlightView'](),_0x2ce261=new _0x491313['ButtonView'](this['locale'],_0x11c9ce),_0x45d3bf=_0x2ce261['bindTemplate'];return _0x2ce261['set']({'label':_0xcd1ed1['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','isEnabled':_0xcd1ed1['isEnabled']}),_0x2ce261['extendTemplate']({'on':{'mouseenter':_0x45d3bf['to'](()=>{this['_isSearchFocused']()||_0x2ce261['focus']();})}}),this['_setupActionButtonExecution'](_0x2ce261,_0xb724b4,_0xcd1ed1),_0x2773b6['children']['add'](_0x2ce261),this['_actionButtons']['push']({'buttonView':_0x2ce261,'action':_0xcd1ed1}),{'listItem':_0x2773b6,'highlightViews':[_0x11c9ce]};}_createSearchResultGroupRow(_0x323af7,_0x3afe8e){const _0x459f7d=new _0x491313['View'](this['locale']),_0xcfa644=new _0x491313['IconView']();_0xcfa644['content']=_0x3afe8e,_0xcfa644['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0xaf6fde=new _0x491313['HighlightedTextView']();return _0xaf6fde['text']=_0x323af7,_0x459f7d['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0xcfa644,_0xaf6fde]}),{'view':_0x459f7d,'highlightView':_0xaf6fde};}_createSearchResultActionRow(_0x1518df){const _0x181b27=new _0x491313['View'](this['locale']),_0x3555a6=new _0x491313['HighlightedTextView']();return _0x3555a6['text']=_0x1518df,_0x181b27['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x3555a6]}),{'view':_0x181b27,'highlightView':_0x3555a6};}_createSearchResultContentView(_0x3169d4,_0x81cf46){const _0xd8b589=new _0x491313['View'](this['locale']);return _0xd8b589['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x3169d4,_0x81cf46]}),_0xd8b589;}_setupActionButtonExecution(_0x18115d,_0x1ee991,_0x411233){_0x18115d['on']('execute',()=>{_0x18115d['isEnabled']&&(_0x1ee991['editing']['view']['focus'](),_0x1ee991['commands']['execute']('aiQuickAction',_0x411233));});}_createActionGroupButton(_0x4d827b,_0x4f838d,_0x46f573){const _0x93ef3c=new _0x491313['ListItemView'](this['locale']),_0x2ac900=new _0x491313['ButtonLabelWithHighlightView'](),_0x2c9e6d=new _0x5e0180(this['locale'],_0x2ac900),_0x55f238=_0x2c9e6d['bindTemplate'],_0x5ae6e7=this['_getPanelKeystroke'](_0x46f573),_0xaf78ae=this['_createGroupActionsList'](_0x4d827b,_0x4f838d['actions'],_0x46f573);_0x2c9e6d['set']({'label':_0x4f838d['label'],'withText':!0x0,'role':_0x8c2e96,'icon':_0x4f838d['icon']??_0x491313['IconAIQuickActions'],'isEnabled':_0x4f838d['actions']['some'](_0x30ca11=>_0x30ca11['isEnabled'])}),_0x2c9e6d['extendTemplate']({'on':{'mouseenter':_0x55f238['to'](()=>{this['_isSearchFocused']()||_0x2c9e6d['focus']();})}});const _0xf6513c=new _0x491313['BalloonPanelView'](this['locale']);return _0xf6513c['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x55f238['to'](_0x2ed99a=>{this['_handlePanelKeydown'](_0x2ed99a,_0x5ae6e7,_0x2c9e6d,_0xf6513c);})}}),_0x2c9e6d['bind']('isOn')['to'](_0xf6513c,'isVisible'),this['_bodyCollection']['add'](_0xf6513c),_0xf6513c['content']['add'](_0xaf78ae),this['_setupGroupMenuBehavior'](_0x2c9e6d,_0xf6513c),_0x93ef3c['children']['add'](_0x2c9e6d),this['_actionButtons']['push']({'buttonView':_0x2c9e6d,'action':_0x4f838d}),{'listItem':_0x93ef3c,'highlightView':_0x2ac900};}_createGroupActionsList(_0x5f1f46,_0x3169fb,_0x52c653){const _0x52dbf7=new _0x491313['ListView'](this['locale']);return _0x52dbf7['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x3169fb['forEach'](_0x478180=>{const _0x128c26=new _0x491313['ListItemView'](this['locale']),_0x2b52cf=_0x44bf26({'editor':_0x5f1f46,'action':_0x478180,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused'](),'actionButtons':this['_actionButtons']})();_0x128c26['children']['add'](_0x2b52cf),_0x52c653['focusTracker']['add'](_0x2b52cf),_0x52dbf7['items']['add'](_0x128c26);}),_0x52dbf7;}_setupGroupMenuBehavior(_0x5dca01,_0x3e34d5){const _0x1065d1=_0x5dca01['bindTemplate'],_0x13c9b1=this['_getButtonKeystroke'](_0x5dca01);_0x5dca01['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x1065d1['to'](()=>{this['_showNestedPanel'](_0x3e34d5,_0x5dca01);}),'mouseleave':_0x1065d1['to'](_0x35ca89=>{const _0x382330=_0x35ca89['relatedTarget'];this['_isMovingToNestedMenu'](_0x382330,_0x3e34d5)||this['_hideNestedPanel'](_0x3e34d5);}),'keydown':_0x1065d1['to'](_0x5b57ce=>{_0x5b57ce['key']==_0x13c9b1&&(this['_showNestedPanel'](_0x3e34d5,_0x5dca01),_0x3e34d5['content']['get'](0x0)['focus']());})}}),_0x3e34d5['on']('render',()=>{_0x3e34d5['element']?.['addEventListener']('mouseleave',_0x73a3c6=>{const _0x3e2e2e=_0x73a3c6['relatedTarget'];_0x5dca01['element']?.['contains'](_0x3e2e2e)||this['_isMovingToNestedMenu'](_0x3e2e2e,_0x3e34d5)||this['_hideNestedPanel'](_0x3e34d5);});});}_showNestedPanel(_0x2ff42c,_0x4549db){this['_openNestedPanels']['forEach'](_0x786c4f=>{_0x786c4f!==_0x2ff42c&&_0x786c4f['isVisible']&&_0x786c4f['hide']();}),_0x2ff42c['show'](),_0x2ff42c['pin']({'positions':[_0x491313['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x4549db['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x2ff42c);}_hideNestedPanel(_0x33edac){_0x33edac['hide'](),this['_openNestedPanels']['delete'](_0x33edac);}_hideAllNestedPanels(){this['_openNestedPanels']['forEach'](_0x23a4e0=>_0x23a4e0['hide']()),this['_openNestedPanels']['clear']();}_isMovingToNestedMenu(_0x3577cb,_0x346611){if(!_0x3577cb)return!0x1;if(_0x346611['element']?.['contains'](_0x3577cb))return!0x0;const _0x3e0796=_0x3577cb;return _0x3e0796['closest']&&(null!==_0x3e0796['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x3e0796['closest']('.ck-ai-quick-actions-group-list')||null!==_0x3e0796['closest']('.ck-ai-quick-actions-group-button'));}resetSearch(){this['_searchTextView']&&this['_searchTextView']['reset']();}destroy(){this['_hideAllNestedPanels'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['focus'](){this['_searchTextView']?this['_searchTextView']['focus']():this['optionsListView']['focus']();}_getPanelKeystroke(_0xa1ca75){return'rtl'===_0xa1ca75['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}_getButtonKeystroke(_0x5437b6){return'rtl'===_0x5437b6['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x39d4c2,_0x3a73f3,_0xab576e,_0x5e8601){_0x39d4c2['key']==_0x3a73f3&&(_0xab576e['focus'](),this['_hideNestedPanel'](_0x5e8601));}_handleSearchResultButtonClick(_0xc00538){_0xc00538['fire']('execute');}};function _0x58b95b(_0x5ee9e5){const {editor:_0x4e018f,content:_0x24de21,buttonDefinition:_0xb45f5,bodyCollection:_0x3a3501,hasSearch:_0x3e6b49=!0x1,actionButtons:_0x3066cb}=_0x5ee9e5;return()=>{const _0x2a65c0=_0x4e018f['locale'],_0x5d28c6=_0x4e018f['commands']['get']('aiQuickAction'),_0x8c8f2=(0x0,_0x491313['createDropdown'])(_0x2a65c0);_0x8c8f2['bind']('isEnabled')['to'](_0x5d28c6),_0x8c8f2['buttonView']['set']({'icon':_0xb45f5['icon']??_0x491313['IconAIQuickActions'],'label':_0xb45f5['label'],'tooltip':!0x0}),_0x8c8f2['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x9364bd=new _0x34ce3e(_0x4e018f,_0x24de21,_0x8c8f2,_0x3a3501,_0x3e6b49,_0x3066cb);return _0x8c8f2['panelView']['children']['add'](_0x9364bd),_0x3e6b49&&_0x8c8f2['on']('change:isOpen',(_0x5f263e,_0x66e1d5,_0x240234)=>{if(_0x240234){if(_0x4e018f['plugins']['has']('AIEditing')){const _0x50394d=_0x4e018f['plugins']['get'](_0x3cc2b8),_0xdb5470=_0x4e018f['model']['document']['selection'],_0xbcd58c=Array['from'](_0xdb5470['getRanges']());_0xbcd58c['length']>0x0&&_0x50394d['showFakeVisualSelection']({'editor':_0x4e018f,'ranges':_0xbcd58c,'id':'quick-action','priority':0x14});}}else _0x4e018f['plugins']['has']('AIEditing')&&_0x4e018f['plugins']['get'](_0x3cc2b8)['hideFakeVisualSelection']('quick-action'),_0x9364bd['resetSearch']();}),_0x8c8f2;};}const _0x3e5a60='<task>Explain\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x20plain,\x20simple\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).-\x20Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20explanation,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant,\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x1ec3bf='<task>Summarize\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x202–4\x20clear\x20sentences,\x20capturing\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20summary,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x34ef09='<task>Extract\x20and\x20present\x20the\x20key\x20points\x20from\x20the\x20selected\x20part\x20of\x20the\x20document\x20as\x20a\x20concise\x20bulleted\x20list.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20key\x20points\x20list,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x4a9b12=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());var _0x4546ff=class AIQuickActionsUI extends _0x491313['Plugin']{_actionButtons=[];['_menuBarGroupViews']=[];_reporter;static get requires(){return[_0x491313['BalloonToolbar'],_0x31ca03,_0x2e8f65,_0x23dba1];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_reporter']=this['editor']['plugins']['get'](_0x2e8f65)['createReporter']('aiquickactions');const _0x1858cc=this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x1858cc),this['_initializeQuickActionsComponentsAndCommands'](),this['_initActionTypeQuickActions'](),this['_initChatTypeQuickActions']();}static getDefaultQuickActions(_0x347856){return function(_0x1f6665){const _0x5518e2=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x1f6665['uiLanguage'])||'English';return[{'id':'ask-ai','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':_0x491313['IconAIChatCommands']},{'id':'chat-commands','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0x491313['IconAIChatCommands'],'actions':[{'id':'explain','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x3e5a60['replace']('%0',_0x5518e2),'type':'chat'},{'id':'summarize','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x1ec3bf['replace']('%0',_0x5518e2),'type':'chat'},{'id':'highlight-key-points','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x34ef09['replace']('%0',_0x5518e2),'type':'chat'}]},{'id':'improve-writing','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':_0x491313['IconAIImproveWriting']},{'id':'continue','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':_0x491313['IconAIContinueWriting']},{'id':'fix-grammar','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':_0x491313['IconAIGrammarCheck']},{'id':'adjust-length','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x491313['IconAIAdjustLength'],'actions':[{'id':'make-shorter','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x491313['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x491313['IconAITranslate'],'actions':[{'id':'translate-to-english','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':_0x258ab2(_0x1f6665,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x491313['IconAIOther'],'actions':[]}];}(_0x347856);}_getDefaultAndCustomActions(){const _0x58d1b3=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x4a7818=(this['editor']['config']['get']('ai.quickActions.extraCommands')||[])['map'](_0x67b4a1=>({..._0x67b4a1,'type':'chat'===_0x67b4a1['type']?'chat':'action','icon':void 0x0}));return _0x58d1b3['find'](_0x413aee=>'other'===_0x413aee['id'])['actions']['push'](..._0x4a7818),_0x58d1b3;}async _initActionTypeQuickActions(){try{const _0x19bba5=this['editor']['plugins']['get'](_0x23dba1),_0x5e5d74=await _0x19bba5['models']['getAllModels'](),_0x5b4404=(await _0x19bba5['models']['getDefault']())?.['id'];this['_assignDefaultModelToCustomActions'](_0x5b4404),this['_enableButtonsByType']('action',_0x13e212=>!!_0x5e5d74['find'](_0x51609a=>_0x51609a['id']===_0x13e212['model'])||void 0x0===_0x13e212['model']);}catch(_0xa2d49c){const _0x15a1f5=new _0x491313['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0xa2d49c});this['_reporter']['logError'](_0x15a1f5);}}_initChatTypeQuickActions(){if(!this['editor']['plugins']['has']('AIChatController'))return;const _0x1515f9=this['editor']['plugins']['get']('AIChatController'),_0x57d5f9=this['editor']['plugins']['has']('AIChatUI')?this['editor']['plugins']['get']('AIChatUI'):null;this['listenTo'](_0x1515f9,'change:isConversationReady',(_0x451e77,_0x52ab21,_0x2932eb)=>{this['_enableButtonsByType']('chat',()=>_0x2932eb&&!_0x57d5f9?.['isBusy']);}),_0x57d5f9&&this['listenTo'](_0x57d5f9,'change:isBusy',(_0x1b9e76,_0x4357c8,_0x59c72e)=>{this['_enableButtonsByType']('chat',()=>_0x1515f9['isConversationReady']&&!_0x59c72e);}),this['_enableButtonsByType']('chat',()=>_0x1515f9['isConversationReady']&&!_0x57d5f9?.['isBusy']);}_enableButtonsByType(_0x2efc1e,_0x594c3a){this['_quickActionsDefinition']['forEach'](_0x2a7a3e=>{'actions'in _0x2a7a3e?_0x2a7a3e['actions']['forEach'](_0x5733af=>{_0x5733af['type']===_0x2efc1e&&(_0x5733af['isEnabled']=_0x594c3a(_0x5733af));}):_0x2a7a3e['type']===_0x2efc1e&&(_0x2a7a3e['isEnabled']=_0x594c3a(_0x2a7a3e));}),this['_actionButtons']['forEach'](_0x3d8493=>{if(_0x4aeac3(_0x3d8493['action']))return;if(_0x3d8493['action']['type']!==_0x2efc1e)return;const _0x454b6a=_0x594c3a(_0x3d8493['action']);if(_0x3d8493['action']['isEnabled']=_0x454b6a,_0x3d8493['buttonView']['isEnabled']=_0x454b6a,'action'===_0x2efc1e&&!_0x454b6a&&_0x3d8493['action']['model']){const _0x47a84d=new _0x491313['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x3d8493['action']['id'],'modelId':_0x3d8493['action']['model']});this['_reporter']['logError'](_0x47a84d);}}),this['_actionButtons']['filter'](_0x522df2=>_0x4aeac3(_0x522df2['action']))['forEach'](_0x4efb6c=>{_0x4efb6c['buttonView']['isEnabled']=_0x4efb6c['action']['actions']['some'](_0x5d7cea=>_0x5d7cea['isEnabled']);}),this['_menuBarGroupViews']['forEach'](({view:_0x53bb8e,group:_0x41dc7c})=>{_0x53bb8e['isEnabled']=_0x41dc7c['actions']['some'](_0x55d1d0=>_0x55d1d0['isEnabled']);});}_enableButtonById(_0x4895ac,_0x57ae7e){this['_quickActionsDefinition']['forEach'](_0x3e54aa=>{'actions'in _0x3e54aa?_0x3e54aa['actions']['forEach'](_0x2b7971=>{_0x2b7971['id']===_0x4895ac&&(_0x2b7971['isEnabled']=_0x57ae7e(_0x2b7971));}):_0x3e54aa['id']===_0x4895ac&&(_0x3e54aa['isEnabled']=_0x57ae7e(_0x3e54aa));}),this['_actionButtons']['forEach'](_0x561f4a=>{if(_0x4aeac3(_0x561f4a['action']))return;if(_0x561f4a['action']['id']!==_0x4895ac)return;const _0x12f5ca=_0x57ae7e(_0x561f4a['action']);_0x561f4a['action']['isEnabled']=_0x12f5ca,_0x561f4a['buttonView']['isEnabled']=_0x12f5ca;});}_assignDefaultModelToCustomActions(_0x1e7837){this['_actionButtons']['forEach'](_0x1f38cd=>{_0x4aeac3(_0x1f38cd['action'])||'action'===_0x1f38cd['action']['type']&&(_0x1f38cd['action']['model']||(_0x1f38cd['action']['model']=_0x1e7837));});}_initializeQuickActionsComponentsAndCommands(){const _0x5d785e=new _0x491313['BodyCollection'](this['editor']['locale']);_0x5d785e['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x5d785e),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x5d785e);}_initializeQuickActionsDropdown(_0x51bb20){const _0x1c0d97=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',_0x58b95b({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x491313['IconAIQuickActions'],'label':_0x258ab2(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x51bb20,'hasSearch':_0x1c0d97,'actionButtons':this['_actionButtons']}));}_prepareQuickActionsDefinition(_0x35b5e2){this['_quickActionsDefinition']=_0x35b5e2['map'](_0x18efa4=>{if('actions'in _0x18efa4){const _0x597c9e=_0x18efa4;return{..._0x597c9e,'actions':_0x597c9e['actions']['map'](_0x620deb=>{const {actions:_0x41130c,..._0x50cccb}=_0x597c9e;return{..._0x620deb,'isEnabled':!0x1,'parent':_0x50cccb};})['filter'](_0x4f7a5f=>this['_shouldIncludeAction'](_0x4f7a5f))};}return{..._0x18efa4,'isEnabled':!0x1};})['filter'](_0x185cf0=>'actions'in _0x185cf0?_0x185cf0['actions']['length']>0x0:this['_shouldIncludeAction'](_0x185cf0));}_shouldIncludeAction(_0x4f95f3){const _0x26eb30=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](_0x4a9b12[_0x4f95f3['type']])&&!_0x26eb30['includes'](_0x4f95f3['id'])&&!('chat'===_0x4f95f3['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}_initializeQuickActionsComponents(_0x3f4d2e){this['_quickActionsDefinition']['forEach'](_0x629374=>{if('actions'in _0x629374){const _0x4eb16d=_0x58b95b({'editor':this['editor'],'content':_0x629374['actions'],'buttonDefinition':_0x629374,'bodyCollection':_0x3f4d2e,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x629374['id'],_0x4eb16d),_0x629374['actions']['forEach'](_0x9a42f7=>{const _0x5d28ce=_0x44bf26({'editor':this['editor'],'action':_0x9a42f7,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x9a42f7['id'],_0x5d28ce);});}else{const _0x1597e7=_0x44bf26({'editor':this['editor'],'action':_0x629374,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x629374['id'],_0x1597e7);}});}_initializeQuickActionsMenuBar(){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x3700c0=>{const _0x524a5a=this['editor']['commands']['get']('aiQuickAction'),_0x59f8b2=new _0x491313['MenuBarMenuView'](_0x3700c0),_0x188231=_0x258ab2(_0x3700c0,'AI_QUICK_ACTIONS_HEADING');_0x59f8b2['buttonView']['set']({'label':_0x188231,'icon':_0x491313['IconAIQuickActions']});const _0x1e9c2c=new _0x491313['MenuBarMenuListView'](_0x3700c0);return _0x1e9c2c['set']({'ariaLabel':_0x188231,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x3dc45a=>{if('actions'in _0x3dc45a){const _0x5d5f92=_0x3dc45a,_0xa1d4af=new _0x491313['MenuBarMenuListItemView'](_0x3700c0,_0x59f8b2),_0x5afa4e=new _0x491313['MenuBarMenuView'](_0x3700c0),_0x431e24=new _0x491313['MenuBarMenuListView'](_0x3700c0);_0x5afa4e['buttonView']['set']({'label':_0x5d5f92['label'],'icon':_0x5d5f92['icon']}),_0x5d5f92['actions']['forEach'](_0x160d5f=>{const _0x504686=new _0x491313['MenuBarMenuListItemView'](_0x3700c0,_0x5afa4e),_0x11a297=new _0x491313['MenuBarMenuListItemButtonView'](_0x3700c0);_0x11a297['set']({'label':_0x160d5f['label'],'icon':_0x160d5f['icon'],'role':'menuitem','isEnabled':_0x160d5f['isEnabled']}),_0x11a297['on']('execute',()=>{this['_executeQuickAction'](_0x160d5f);}),this['_actionButtons']['push']({'buttonView':_0x11a297,'action':_0x160d5f}),_0x11a297['delegate']('execute')['to'](_0x5afa4e),_0x504686['children']['add'](_0x11a297),_0x431e24['items']['add'](_0x504686);}),_0x5afa4e['isEnabled']=_0x5d5f92['actions']['some'](_0x3bebf0=>_0x3bebf0['isEnabled']),this['_menuBarGroupViews']['push']({'view':_0x5afa4e,'group':_0x5d5f92}),_0x5afa4e['panelView']['children']['add'](_0x431e24),_0xa1d4af['children']['add'](_0x5afa4e),_0x1e9c2c['items']['add'](_0xa1d4af);}else{const _0x7eca67=_0x3dc45a,_0x8948e1=new _0x491313['MenuBarMenuListItemView'](_0x3700c0,_0x59f8b2),_0x116e17=new _0x491313['MenuBarMenuListItemButtonView'](_0x3700c0);_0x116e17['set']({'label':_0x7eca67['label'],'icon':_0x7eca67['icon'],'role':'menuitem','isEnabled':_0x7eca67['isEnabled']}),this['_actionButtons']['push']({'buttonView':_0x116e17,'action':_0x7eca67}),_0x116e17['on']('execute',()=>{this['_executeQuickAction'](_0x7eca67);}),_0x116e17['delegate']('execute')['to'](_0x59f8b2),_0x8948e1['children']['add'](_0x116e17),_0x1e9c2c['items']['add'](_0x8948e1);}}),Object['values'](_0x4a9b12)['some'](_0x500c8e=>this['editor']['plugins']['has'](_0x500c8e))?_0x59f8b2['bind']('isEnabled')['to'](_0x524a5a):_0x59f8b2['set']({'isEnabled':!0x1}),_0x59f8b2['panelView']['children']['add'](_0x1e9c2c),_0x59f8b2;});}_executeQuickAction(_0x2b809f){const _0x3f965a=this['editor'];_0x3f965a['editing']['view']['focus'](),_0x3f965a['commands']['execute']('aiQuickAction',_0x2b809f);const _0x52ff97=_0x3f965a['ui']['view']['menuBarView'];_0x52ff97&&_0x52ff97['close']&&_0x52ff97['close']();}};function _0x4aeac3(_0x16b60d){return'actions'in _0x16b60d;}function _0x8d6d5(_0x1abf5e,_0x13c62f){const _0x18f39f=_0x1abf5e['plugins']['get']('AITabs')['view'];_0x18f39f['isVisible']=!0x0,_0x18f39f['activateTab'](_0x13c62f);}var _0x3e423f=class extends _0x491313['Command']{execute(_0x19c722){switch(this['_expandSelectionIfCollapsed'](),_0x19c722['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0x4282d4=_0x258ab2(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x491313['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x4282d4});}this['_handleAIChatAction'](_0x19c722);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x20782f=_0x258ab2(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x491313['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x20782f});}this['_handleAIActionsAction'](_0x19c722);}}async _handleAIChatAction(_0x4abf36){const _0x554af3=this['editor']['plugins']['get']('AIChatController');if(_0x8d6d5(this['editor'],'chat'),'ask-ai'===_0x4abf36['id'])_0x554af3['removeSelectionFromChatContext'](),_0x554af3['addSelectionToChatContext'](this['editor']),_0x554af3['focusPromptInput']();else await _0x554af3['startConversation']({'modelId':_0x4abf36['model'],'contexts':this['_resolveActionContexts'](_0x4abf36)}),_0x554af3['removeSelectionFromChatContext'](),_0x554af3['addSelectionToChatContext'](this['editor']),_0x554af3['focusPromptInput'](),await _0x554af3['sendMessage']({'message':_0x4abf36['prompt']||_0x4abf36['displayedPrompt']||_0x4abf36['label'],'attributes':{'quickActionData':{'id':_0x4abf36['id']},'displayedPrompt':_0x4abf36['displayedPrompt']}});}_expandSelectionIfCollapsed(){const _0x1d1b06=this['editor'],_0x203b2b=_0x1d1b06['model']['document']['selection'];if(!_0x203b2b['isCollapsed'])return;const _0x2ce8a8=(0x0,_0x491313['first'])(_0x203b2b['getSelectedBlocks']())||_0x1d1b06['model']['schema']['getLimitElement'](_0x203b2b);_0x1d1b06['model']['change'](_0x380441=>{_0x380441['setSelection'](_0x2ce8a8,'in');});}_handleAIActionsActionLabel(_0x2a82ff){return _0x2a82ff['parent']?.['label']&&'other'!==_0x2a82ff['parent']?.['id']?_0x2a82ff['parent']['label']+':\x20'+_0x2a82ff['label']:_0x2a82ff['label'];}async _handleAIActionsAction(_0xb0960b){const _0x44d82c=this['editor']['plugins']['get']('AIActions'),_0x1bfcea=this['_resolveActionContexts'](_0xb0960b);let _0x5f1e2b;_0x5f1e2b=_0xb0960b['prompt']?{'userMessage':_0xb0960b['prompt'],'model':_0xb0960b['model'],'contexts':_0x1bfcea}:_0xb0960b['context']?{'model':_0xb0960b['model'],'contexts':_0x1bfcea}:{'actionName':_0xb0960b['actionName']||_0xb0960b['id'],'args':_0xb0960b['args'],'contexts':_0x1bfcea};const _0x98a452=this['_handleAIActionsActionLabel'](_0xb0960b);await _0x44d82c['executeAction'](_0x5f1e2b,_0x98a452,_0xb0960b['icon']);}_resolveActionContexts(_0x1c8a8f){const _0x22b46e=_0x1c8a8f['parent']?.['id']?[_0x1c8a8f['id'],_0x1c8a8f['parent']['id']]:[_0x1c8a8f['id']];return this['editor']['plugins']['get'](_0x23dba1)['contextLibrary']['resolveContext']({'feature':'quickActions','ids':_0x22b46e,'extraContexts':_0x1c8a8f['context']?[_0x1c8a8f['context']]:[],'context':new _0x518964()})['refs'];}},_0x42b7e2=class extends _0x491313['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x4d19dd=this['editor'],_0x317dee=new _0x3e423f(this['editor']);if(_0x4d19dd['commands']['add']('aiQuickAction',_0x317dee),_0x4d19dd['plugins']['has']('AIChat')){const _0x16171=this['editor']['plugins']['get']('AIChatController');_0x4d19dd['model']['document']['selection']['on']('change:range',(_0x4c2590,_0x5ddd1e)=>{_0x5ddd1e['directChange']&&_0x16171['removeSelectionFromChatContext']();});}}},_0x378ba1=class extends _0x1573f1{appendContent(_0x18fe1a,_0x157e42='text'){'modification'===this['type']&&'text'===_0x157e42&&(_0x157e42=this['documentContextContent']['keys']()['next']()['value']),super['appendContent'](_0x18fe1a,_0x157e42);}updateChangeGroups(_0x151f6f){const _0x259af8=this['parsedContent']['get'](_0x151f6f)['cloneNode'](!0x0);if(this['parsedMergedContent']['set'](_0x151f6f,_0x259af8),this['changeGroups']=[],0x0==_0x259af8['childNodes']['length'])return;_0x2919bf(this['documentContextContent']['get'](_0x151f6f),this['parsedMergedContent']['get'](_0x151f6f));const _0x42065c=_0xfab8f(this['documentContextContent']['get'](_0x151f6f)['children']['map'](_0x42d412=>({'node':_0x42d412,'id':_0x42e922(_0x42d412,'data-id')})),_0x259af8['children']['map'](_0x1ba2c8=>({'node':_0x1ba2c8,'id':_0x42e922(_0x1ba2c8,'data-id')||(0x0,_0x491313['uid'])()})),{'comparator':(_0x3b7057,_0x6ff86b)=>_0x3b7057['id']==_0x6ff86b['id'],'oneChangePerToken':!0x0});if(!this['isDone']||!this['isComplete']){for(;_0x42065c['length']&&_0x42065c[_0x42065c['length']-0x1]['removed'];)_0x42065c['pop']();}const _0x55faeb=_0x42065c['map'](_0x4aa61e=>{const _0x38ce06=_0x4aa61e['added']?'new':_0x4aa61e['removed']?'removed':'modified';return{'node':_0x4aa61e['value'][0x0]['node'],'type':_0x38ce06,'id':_0x4aa61e['value'][0x0]['id']};}),_0x61b6d4=this['_documentIdToSource']['get'](_0x151f6f);this['changeGroups']['push']({'changes':_0x55faeb,'state':'pending','index':this['changeGroups']['length'],'editor':_0x61b6d4['editor'],'rootName':_0x61b6d4['rootName'],'documentId':_0x151f6f});}_getDifferentChangeGroups(_0x4ecda7,_0x3b9163){return _0x3b9163;}},_0x493922=class extends _0x5c4daf{content;['version'];editor;rootName;actionName;['args'];['userMessage'];['model'];contexts;['hasError']=!0x1;stoppedExplicitly=!0x1;constructor(_0x1d56c2){super(_0x1d56c2),this['content']=_0x1d56c2['content'],this['version']=_0x1d56c2['version'],this['editor']=_0x1d56c2['editor'],this['rootName']=_0x1d56c2['rootName'],this['actionName']=_0x1d56c2['actionName'],this['args']=_0x1d56c2['args'],this['userMessage']=_0x1d56c2['userMessage'],this['model']=_0x1d56c2['model'],this['contexts']=_0x1d56c2['contexts'],this['on']('interactionStopped',()=>{this['stoppedExplicitly']=!0x0;});}sendRequest(){return this['actionName']?this['connector']['executeAction']({'content':this['content'],'actionName':this['actionName'],'args':this['args'],'contexts':this['contexts']}):this['connector']['executeCustomAction']({'content':this['content'],'message':this['userMessage'],'model':this['model'],'outputFormat':'html','contexts':this['contexts']});}getDocumentContext(){return{'type':'document','documents':[{'id':this['id'],'content':this['content'],'version':this['version'],'rootName':this['rootName'],'sessionId':(0x0,_0x491313['uid'])(),'channelId':this['editor']['config']['get']('collaboration.channelId'),'selectionSignature':''}],'label':'Current\x20document','uiId':'current-document'};}createReply(_0x3d6b50){const _0x43a996=this['editor']['config']['get']('collaboration.channelId'),_0x16b55a=new _0x378ba1({..._0x3d6b50,'locale':this['locale'],'documentContextContent':[{'id':this['id'],'content':this['content'],'channelId':_0x43a996,'rootName':this['rootName']}],'channelsToEditors':new Map([[_0x43a996,this['editor']]])});return this['replies']['push'](_0x16b55a),_0x16b55a['delegate'](..._0x2daff2)['to'](this),this['fire']('replyCreated',_0x16b55a),_0x16b55a;}},_0x5a28c0=class extends _0x491313['ToolbarView']{constructor(_0xdbc652,_0x4c5d4f=!0x0,_0x1cdc4a=!0x0){super(_0xdbc652),this['set']('isEnabled',!0x1),_0x4c5d4f&&(this['applyButton']=this['_createButton'](_0x258ab2(_0xdbc652,'AI_BALLOON_APPLY_BUTTON'),_0x4909b4),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x1cdc4a&&(this['suggestButton']=this['_createButton'](_0x258ab2(_0xdbc652,'AI_BALLOON_SUGGEST_BUTTON'),_0x4c5d4f?_0x24c6ab:_0x4909b4),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x4c5d4f,'showSuggestButton':_0x1cdc4a}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}setButtonsVisibility({showApplyButton:_0x3af00a,showSuggestButton:_0xcb87ec}){this['applyButton']&&(this['applyButton']['isVisible']=_0x3af00a),this['suggestButton']&&(this['suggestButton']['isVisible']=_0xcb87ec);}_createButton(_0x230d89,_0x28ab3f){const _0x19c55e=new _0x491313['ButtonView'](this['locale']);return _0x19c55e['set']({'label':_0x230d89,'class':_0x28ab3f,'isVisible':!0x0,'withText':!0x0}),_0x19c55e;}},_0x20de7a=class extends _0x491313['View']{constructor(_0x51a70e){super(_0x51a70e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':_0x258ab2(_0x51a70e,'AI_DISCLAIMER_TEXT')}]}]});}},_0x1460ec=class extends _0x491313['View']{constructor(_0x37c125){super(_0x37c125),this['set']('isVisible',!0x0);const _0x1b7d96=new _0x2534dd('small');_0x1b7d96['isVisible']=!0x0;const _0x458df5=new _0x491313['View'](this['locale']);_0x458df5['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[_0x258ab2(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x3f9b7d=>!_0x3f9b7d)]},'children':[_0x1b7d96,_0x458df5]});}},_0x4137ae=class extends _0x16f4a0{['focusCycler'];['_config'];_contentWrapper;_streamableContentView;_toolbarView;['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];_keystrokes;_dialogContent;['_focusables'];['_scrollManager'];['_miniToolbarResizeObserver'];_navigationPreviousButton;_navigationNextButton;_navigationTryAgainButton;_navigationCounter;constructor(_0x174074,_0x29fd40){super(_0x174074),this['set']('isBusy',!0x1),this['set']('isTargetReadOnly',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x29fd40,this['_focusTracker']=new _0x491313['FocusTracker'](),this['_keystrokes']=new _0x491313['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new _0x491313['ViewCollection'](),this['_addContentWrapper'](_0x29fd40),this['_addDisclaimerView'](),this['_addToolbar'](_0x29fd40),this['_focusables']['clear'](),this['_focusables']['addMany']([this['_toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-main']},'children':this['_dialogContent']}),this['on']('change:isTrackChangesOn',()=>{this['_toggleToolbarButtonsVisibility'](_0x29fd40);}),this['on']('render',()=>{this['_setupMiniToolbarPositioning']();});}['render'](){super['render']();for(const _0x1de76b of this['_focusables'])this['_focusTracker']['add'](_0x1de76b['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}destroy(){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy'](),this['_miniToolbarResizeObserver']&&this['_miniToolbarResizeObserver']['destroy']();}['focus'](_0x54a2d1){-0x1===_0x54a2d1?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}setIsLoading(_0x1fb38a){this['_isLoading']=_0x1fb38a;}setErrorState(){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}clearErrorState(){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x314dac){super['showError'](_0x314dac),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x2d08ac){super['showBlockingError'](_0x2d08ac),this['setErrorState']();}addMiniToolbarItem(_0x9859ce){this['_miniToolbarView']['items']['has'](_0x9859ce)||this['_miniToolbarView']['items']['add'](_0x9859ce);}removeMiniToolbarItem(_0x219e44){this['_miniToolbarView']['items']['has'](_0x219e44)&&this['_miniToolbarView']['items']['remove'](_0x219e44);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}_toggleToolbarButtonsVisibility({showApplyButton:_0x142393,showSuggestButton:_0x3e4614}){_0x142393=_0x142393&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x3e4614=_0x3e4614&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x142393,'showSuggestButton':_0x3e4614});}async updateContent(_0x28cb4e){await this['_streamableContentView']['update'](_0x28cb4e);}finalizeContent(){this['_streamableContentView']['cleanUpStreamingArtifacts']();}clearContent(){this['_streamableContentView']['clear']();}_addContentWrapper(_0x125d9e){this['_contentWrapper']=new _0x491313['View'](this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content',this['bindTemplate']['if']('_isErrorVisible','ck-hidden')]},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0x125d9e['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new _0x20de7a(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x87d869,showSuggestButton:_0x4d69ed}){this['_toolbarView']=new _0x5a28c0(this['locale'],_0x87d869,_0x4d69ed),this['_toolbarView']['applyButton']?.['on']('execute',()=>{this['fire']('applySuggestion');}),this['_toolbarView']['suggestButton']?.['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_toolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',this,'_hasError',this,'isTargetReadOnly',(_0x305c2a,_0x2daea4,_0x25d4bf,_0x20c45c)=>!(_0x305c2a||_0x2daea4||_0x25d4bf||_0x20c45c)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x87d869,'showSuggestButton':_0x4d69ed}),this['_dialogContent']['add'](this['_toolbarView']);}_createMiniToolbar(_0x27ce0a){return this['_miniToolbarView']=new _0x343047(this['locale'],_0x27ce0a),this['_miniToolbarView']['delegate'](..._0x334679)['to'](this),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['_miniToolbarView']['isShowChangesOn']=!this['_miniToolbarView']['isShowChangesOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':this['_miniToolbarView']['isShowChangesOn']});}),this['_miniToolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',(_0x271001,_0x3eb4ce)=>!(_0x271001||_0x3eb4ce)),this['_miniToolbarView'];}_createLoaderView(){return this['_loaderView']=new _0x1460ec(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}_createStreamableContentView(){return this['_streamableContentView']=new _0x35e7dc(this['locale']),this['_streamableContentView'];}_setupMiniToolbarButtons(){const _0x53e0d5=new _0x491313['ButtonView'](this['locale']),_0x40849a=new _0x491313['ButtonView'](this['locale']),_0x2ed1e3=new _0x209904(this['locale']),_0x493d38=new _0x491313['ButtonView'](this['locale']);_0x53e0d5['set']({'icon':_0x491313['IconRefresh'],'label':_0x258ab2(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+_0xa623f1}),_0x40849a['set']({'icon':_0x491313['IconPreviousArrow'],'tooltip':_0x258ab2(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+_0xa623f1}),_0x493d38['set']({'icon':_0x491313['IconNextArrow'],'tooltip':_0x258ab2(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+_0xa623f1}),_0x53e0d5['bind']('isEnabled')['to'](this,'isBusy',_0x50440e=>!_0x50440e),_0x53e0d5['on']('execute',()=>{this['fire']('tryAgain');}),_0x40849a['bind']('isEnabled')['to'](this,'isBusy',_0xe8b995=>!_0xe8b995),_0x40849a['on']('execute',()=>{this['fire']('showPrevious');}),_0x493d38['bind']('isEnabled')['to'](this,'isBusy',_0x2ac868=>!_0x2ac868),_0x493d38['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x40849a,this['_navigationCounter']=_0x2ed1e3,this['_navigationNextButton']=_0x493d38,this['_navigationTryAgainButton']=_0x53e0d5;}updateMiniToolbarButtons(_0x5a79e6,_0x267b98){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x4d57b5=_0x5a79e6>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x4d57b5){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x42d85e=_0x5a79e6-_0x267b98;this['_navigationCounter']['setInteractionCount'](_0x42d85e+'/'+_0x5a79e6),this['_navigationPreviousButton']['isEnabled']=_0x267b98<_0x5a79e6-0x1,this['_navigationNextButton']['isEnabled']=_0x267b98>0x0;}else this['removeMiniToolbarItem'](this['_navigationPreviousButton']),this['removeMiniToolbarItem'](this['_navigationCounter']),this['removeMiniToolbarItem'](this['_navigationNextButton']);}disableMiniToolbarButtons(){this['_navigationTryAgainButton']['isEnabled']=!0x1,this['_navigationPreviousButton']['isEnabled']=!0x1,this['_navigationNextButton']['isEnabled']=!0x1;}startAutoScroll(){this['_initializeScrollManager'](),this['_scrollManager']&&this['_scrollManager']['start']();}stopAutoScroll(){this['_scrollManager']&&this['_scrollManager']['stop']();}toggleIsLoading(_0xb17301){this['_isLoading']=_0xb17301;}resetShowChangesButton(){this['_miniToolbarView']['isShowChangesOn']=!0x1;}_setupMiniToolbarPositioning(){const _0x257484=this['_streamableContentView']['element'],_0x1bde85=this['_miniToolbarView']['element'],_0x49b7ce=()=>{_0x491313['global']['window']['requestAnimationFrame'](()=>{const _0x9bac6=_0x257484['offsetWidth']-_0x257484['clientWidth'];_0x1bde85['style']['right']='calc('+_0x9bac6+'px\x20+\x20var(--ck-spacing-large))';});};_0x49b7ce(),this['_miniToolbarResizeObserver']=new _0x491313['ResizeObserver'](_0x257484,()=>{_0x49b7ce();});}_initializeScrollManager(){const _0x506b1b=this['_getScrollableElement']();_0x506b1b&&!this['_scrollManager']&&(this['_scrollManager']=new _0x3a9d7f(_0x506b1b));}_getScrollableElement(){return this['_streamableContentView']['element'];}},_0x209904=class extends _0x491313['View']{constructor(_0x45a935){super(_0x45a935);const _0x4ca581=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x4ca581['to']('interactionCount')}]});}setInteractionCount(_0x49f797){this['set']('interactionCount',_0x49f797);}},_0x5beec5=class extends _0x491313['Plugin']{static get requires(){return[_0x31ca03,_0x2e8f65,_0x491313['Dialog'],_0x3cc2b8,_0x125e03,_0x5b2c28];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}_aiConnector;_interactions=[];_currentInteractionIndex=0x0;_interactionParams;['_balloonShowDiff']=!0x1;['_promiseQueue'];get _interaction(){return this['_interactions'][this['_interactions']['length']-0x1];}_actionsBalloonView;_reporter;constructor(_0xfd17f6){super(_0xfd17f6),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['_reporter']=this['editor']['plugins']['get'](_0x2e8f65)['createReporter']('aiactions'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x36d061();}stopInteraction(){this['_stopInteraction']();}async executeAction(_0x335db6,_0x42e9a7,_0x588543){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')&&this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x47f41e,anchorData:_0x3bdd61,root:_0x57e3fe}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x335db6,_0x47f41e,_0x3bdd61,_0x57e3fe,_0x42e9a7,_0x588543);}const {modelFragment:_0x36abc4,anchorData:_0x62f2eb,root:_0x20b51d}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x335db6,_0x36abc4,_0x62f2eb,_0x20b51d,_0x42e9a7,_0x588543);}async destroy(){return this['_stopInteraction'](),super['destroy']();}_createActionsBalloonView(){const _0x39abff=this['editor']['plugins']['has']('TrackChanges');let _0x588172=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x91b48b];_0x39abff||(_0x588172=_0x588172['filter'](_0x367a5d=>'insertSuggestion'!=_0x367a5d));const _0x16ea6b=this['editor']['commands']['get']('trackChanges'),_0x2dd56f=new _0x4137ae(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x39abff,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x588172});return _0x2dd56f['bind']('isBusy')['to'](this),_0x2dd56f['bind']('isTargetReadOnly')['to'](this['editor'],'isReadOnly'),_0x16ea6b&&_0x2dd56f['bind']('isTrackChangesOn')['to'](_0x16ea6b,'value'),_0x2dd56f['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x2dd56f['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x2dd56f['on']('showNext',()=>{this['_navigateToNext']();}),_0x2dd56f;}_normalizeSelectionStart(){const _0x5859fd=this['editor']['model'],_0x1496cb=_0x5859fd['document']['selection'],_0x55d3ef=_0x1496cb['getFirstRange']();if(!_0x55d3ef||_0x55d3ef['isCollapsed'])return;const _0xe79582=(0x0,_0x491313['first'])(_0x1496cb['getSelectedBlocks']());if(!_0xe79582)return;const _0x317c2d=_0x5859fd['createPositionAt'](_0xe79582,0x0);_0x317c2d['isAfter'](_0x55d3ef['start'])&&_0x5859fd['change'](_0x4bc6d4=>{_0x4bc6d4['setSelection'](_0x4bc6d4['createRange'](_0x317c2d,_0x55d3ef['end']));});}_getExecuteDataRegular(){const _0x2baf90=this['editor']['model']['document']['selection'],_0x13f15c=_0x2baf90['getFirstRange']()['start']['root'];if(_0x2baf90['isCollapsed']){const _0x353126=(0x0,_0x491313['first'])(_0x2baf90['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x2baf90);this['editor']['model']['change'](_0x6e4cee=>{_0x6e4cee['setSelection'](_0x353126,'in');});}this['_normalizeSelectionStart']();const _0x2de78c=_0x2baf90['getFirstRange'](),_0x3cb765=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x2baf90),_0x2de78c['start'],_0x2de78c['end']);this['_copyMarkersToFragment'](_0x3cb765,_0x2baf90,{'isTableSelection':!0x1});const _0x269df1=_0x2baf90['getFirstRange']()['start'],_0x5d97f9=new Map();let _0x1f4c9a=_0x3cb765;for(let _0x4bfd42=0x0;_0x4bfd42<_0x269df1['path']['length'];_0x4bfd42++)_0x5d97f9['set'](_0x1f4c9a,_0x269df1['path'][_0x4bfd42]),_0x1f4c9a=_0x1f4c9a['getChild'](0x0);return{'modelFragment':_0x3cb765,'anchorData':_0x5d97f9,'root':_0x13f15c};}_getExecuteDataInTable(){const _0x26d8f5=this['editor']['model']['document']['selection'],_0x308ab6=this['editor']['plugins']['get']('TableSelection'),_0x3216e0=_0x26d8f5['getFirstRange']()['start']['root'],_0x105dcd=_0x308ab6['getSelectionAsFragment'](),_0x2cafa5=_0x26d8f5['getFirstRange']()['start']['parent']['parent'],_0x282ca6=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x2cafa5),this['editor']['model']['createPositionAfter'](_0x2cafa5)),_0x4d5bc7=this['_wrapWithCommonAncestors'](_0x105dcd,_0x282ca6['start'],_0x282ca6['end']);this['_copyMarkersToFragment'](_0x4d5bc7,_0x26d8f5,{'isTableSelection':!0x0});const _0x430807=_0x26d8f5['getFirstRange']()['start'],_0x528c99=new Map();let _0x1903d5=_0x4d5bc7;for(let _0x24f885=0x0;_0x24f885<_0x430807['path']['length'];_0x24f885++)if(_0x528c99['set'](_0x1903d5,_0x430807['path'][_0x24f885]),_0x24f885<_0x430807['path']['length']-0x1)_0x1903d5=_0x1903d5['getChild'](0x0);else{let _0x2d1d05=_0x1903d5['nextSibling'];for(;_0x2d1d05;)_0x528c99['set'](_0x2d1d05,_0x430807['path'][_0x24f885]),_0x2d1d05=_0x2d1d05['nextSibling'];}return{'modelFragment':_0x4d5bc7,'anchorData':_0x528c99,'root':_0x3216e0};}async _executeAction(_0x2ebc93,_0xccf44d,_0x2cfd93,_0xde96ef,_0x49eb2f,_0x542986){const _0x74394b=this['editor']['plugins']['get'](_0x3cc2b8),_0x4d5e30=this['editor']['plugins']['get'](_0x125e03),_0x58de71=this['editor']['model']['document']['selection'],_0x41b504=await _0x74394b['modelToDataWithIds'](_0xccf44d,this['editor'],_0xde96ef['rootName']),_0x2ebbc3=this['editor']['model']['document']['version'],_0x4f6b2e=[..._0x58de71['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0x4d5e30['open']({'targetEditor':this['editor'],'index':0x3e8*Math['random']()%0x3e8,'title':_0x49eb2f,'icon':_0x542986||_0x491313['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x4f6b2e,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x4d5e30),this['_interactionParams']={'action':_0x2ebc93,'content':_0x41b504,'version':_0x2ebbc3,'aiBalloon':_0x4d5e30,'modelFragment':_0xccf44d,'anchorData':_0x2cfd93,'root':_0xde96ef},this['_setupApplyListeners'](),this['listenTo'](_0x4d5e30,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x4d5e30,'dialogClosed',(_0x3f38d1,{id:_0x31c35f})=>{if('aiActionsBalloon'===_0x31c35f){for(const _0x215ee3 of this['_interactions']){if(0x0===_0x215ee3['replies']['length']||_0x215ee3['stoppedExplicitly'])continue;const _0x592f29=_0x215ee3['replies'][_0x215ee3['replies']['length']-0x1],_0xd5c6ca=_0x592f29['changeGroups'][0x0];_0xd5c6ca&&'pending'===_0xd5c6ca['state']&&_0x592f29['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x4d5e30);}}),this['_createInteraction'](_0x41b504,_0x2ebbc3,_0x4d5e30,_0x2ebc93);}_setupApplyListeners(){if(!this['_interactionParams'])return;const {modelFragment:_0x52f347,anchorData:_0x10430a,root:_0x395f50}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x52f347,_0x10430a,_0x395f50,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x52f347,_0x10430a,_0x395f50,!0x0);});}_wrapWithCommonAncestors(_0x1130e7,_0x53f910,_0x8df88){const _0x4367ef=this['editor']['model']['createRange'](_0x53f910,_0x8df88)['getCommonAncestor'](),_0x41e4d8=_0x4367ef['is']('documentFragment')?[]:_0x4367ef['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x41e4d8['length']){const _0x10709e=_0x41e4d8['map'](_0x15e421=>_0x15e421['_clone'](!0x1));for(let _0x2629d3=0x1;_0x2629d3<_0x10709e['length'];_0x2629d3++)_0x10709e[_0x2629d3-0x1]['_appendChild'](_0x10709e[_0x2629d3]);return _0x10709e[_0x10709e['length']-0x1]['_appendChild'](_0x1130e7),new _0x491313['ModelDocumentFragment'](_0x10709e[0x0]);}return _0x1130e7;}_copyMarkersToFragment(_0x2f30f3,_0x550e3a,_0x45e1e7={'isTableSelection':!0x1}){const _0x221d56=this['editor']['model'],_0x5241b6=Array['from'](_0x550e3a['getRanges']()),_0x32e5c6=_0x550e3a['getFirstRange']()['start'];for(const _0x84cdd2 of _0x221d56['markers']){if(_0x84cdd2['name']['startsWith']('ai-selection')||!_0x84cdd2['affectsData'])continue;const _0x5cb128=_0x84cdd2['getRange']();if(!_0x5241b6['some'](_0x264043=>_0x264043['containsRange'](_0x5cb128,!0x0)))continue;const _0x29ef5b=this['_regularCalculateMarkerPath'](_0x5cb128['start'],_0x32e5c6,_0x45e1e7['isTableSelection']),_0x541cf5=this['_regularCalculateMarkerPath'](_0x5cb128['end'],_0x32e5c6,_0x45e1e7['isTableSelection']),_0x4b85de=_0x221d56['createPositionFromPath'](_0x2f30f3,_0x29ef5b),_0x44512d=_0x221d56['createPositionFromPath'](_0x2f30f3,_0x541cf5);if(!_0x4b85de['isEqual'](_0x44512d)){const _0x21626b=_0x221d56['createRange'](_0x4b85de,_0x44512d);_0x2f30f3['markers']['set'](_0x84cdd2['name'],_0x21626b);}}}_regularCalculateMarkerPath(_0x16f082,_0xe9905,_0x29eccc=!0x1){const _0x14db56=[..._0x16f082['path']['slice']()];for(let _0x33815a=0x0;_0x33815a<Math['max'](_0xe9905['path']['length'],_0x16f082['path']['length']);_0x33815a++){const _0x411c79=_0xe9905['path'][_0x33815a]||0x0,_0x376888=(_0x16f082['path'][_0x33815a]||0x0)-_0x411c79;if(_0x14db56[_0x33815a]=_0x376888,0x0!==_0x376888&&!_0x29eccc)break;}return _0x14db56;}async _createInteraction(_0x39ff54,_0x5f2cfd,_0x48db70,_0x534ef5){const _0x4c29e4=this['editor'],_0xcbd3f=_0x4c29e4['model']['document']['selection']['getFirstRange']()['start']['root'];this['_interactionParams']||(this['_interactionParams']={'action':_0x534ef5,'content':_0x39ff54,'version':_0x5f2cfd,'aiBalloon':_0x48db70,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map(),'root':_0xcbd3f});const _0x1f910d=new _0x493922({'connector':this['_aiConnector'],'locale':_0x4c29e4['locale'],'content':_0x39ff54,'version':_0x5f2cfd,'editor':_0x4c29e4,'rootName':_0xcbd3f['rootName'],..._0x534ef5});this['_interactions']['push'](_0x1f910d);const _0x1e32b1=(_0xe72753,_0x28d93a=!0x1,_0x53b751='streaming')=>{const {isDone:_0x4373c5}=_0xe72753;return this['_promiseQueue']['enqueue'](async _0x23ef68=>{try{if(this['_isUnsupportedInlineRootChange'](_0xe72753,_0xcbd3f))return this['_actionsBalloonView']['showBlockingError'](_0x258ab2(_0x4c29e4['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')),void(_0x4373c5&&this['_actionsBalloonView']['finalizeContent']());const _0x321161=_0x306b98({'changeGroups':_0xe72753['changeGroups'],'documentContextContent':_0xe72753['documentContextContent'],'showDiff':_0x28d93a,'trimUnchanged':!0x1});_0x321161['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x321161[0x0],'renderingStrategy':_0x53b751,'abortSignal':_0x23ef68}),_0x4373c5&&this['_actionsBalloonView']['finalizeContent']();}catch(_0x4c1ea0){if(_0x459de0(_0x4c1ea0))return;throw _0x4c1ea0;}});};_0x1f910d['on']('replyCreated',(_0xfc06d8,_0x5da981)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x1e32b1(_0x5da981)['catch'](_0x5c5dde=>{this['_reporter']['logError'](_0x5c5dde,{'context':{'operation':'reply-create'}}),this['_setErrorState'](_0x1f910d,_0x5c5dde);});}),_0x1f910d['on']('replyContentUpdated',(_0x14c6cb,_0x551f42)=>{_0x1e32b1(_0x551f42)['catch'](_0xca15cb=>{this['_reporter']['logError'](_0xca15cb,{'context':{'operation':'reply-update'}}),this['_setErrorState'](_0x1f910d,_0xca15cb);});}),_0x1f910d['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x497c6b){this['_reporter']['logError'](_0x497c6b,{'context':{'operation':'interaction-finish'}}),this['_setErrorState'](_0x1f910d,_0x497c6b);}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x2bca4f,{showDiff:_0x3b4b95})=>{try{this['_balloonShowDiff']=_0x3b4b95;const _0x540317=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x540317&&await _0x1e32b1(_0x540317,_0x3b4b95,'static');}catch(_0x654e59){this['_reporter']['logError'](_0x654e59,{'context':{'operation':'toggle-suggestion-display'}}),this['_setErrorState'](_0x1f910d,_0x654e59);}}),_0x1f910d['on']('replyChangeGroupStateUpdated',()=>{const _0x29f965={'positiveCount':_0x1f910d['replies']['reduce']((_0x2288f0,_0x305f39)=>_0x2288f0+_0x305f39['changeGroups']['filter'](_0x425fd7=>'accepted'===_0x425fd7['state'])['length'],0x0),'totalCount':_0x1f910d['replies']['reduce']((_0xa176a8,_0x578e81)=>_0xa176a8+_0x578e81['changeGroups']['length'],0x0)},_0x2a7c93=_0x1f910d['actionCallId'],_0x1679a0=_0x1f910d['actionName'];_0x1679a0?this['_aiConnector']['upsertAIActionRating'](_0x1679a0,_0x2a7c93,_0x29f965):this['_aiConnector']['upsertCustomAIActionRating'](_0x2a7c93,_0x29f965);}),this['_setLoadingState']();try{const _0x5cea05=await _0x1f910d['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x5cea05;}catch(_0x519ce7){_0x459de0(_0x519ce7)||this['_actionsBalloonView']['hideLoader'](),this['_reporter']['logError'](_0x519ce7,{'context':{'operation':'create-interaction'}}),this['_setErrorState'](_0x1f910d,_0x519ce7);}}_isUnsupportedInlineRootChange(_0xc40746,_0x15b2b3){const _0x310502=this['editor'];return!!_0x559912(_0x310502,_0x15b2b3['rootName'])&&!_0x287476(_0x310502,new _0x444106((_0xc40746['changeGroups'][0x0]?.['changes']??[])['filter'](_0x3210b9=>'removed'!==_0x3210b9['type'])['map'](_0x2db18b=>_0x2db18b['node']['cloneNode'](!0x0))));}['_applyChanges'](_0x3f3628,_0x4dad01,_0x14713e,_0x5c99d8){const _0x58d708=this['editor'];if(_0x5c99d8&&!_0x58d708['plugins']['has']('TrackChanges'))throw new _0x491313['CKEditorError']('ai-no-track-changes',null);const _0x5267bb=this['editor']['plugins']['get'](_0x5b2c28),_0x1ebb22=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x1ebb22||!_0x1ebb22['replies']['length'])return;const _0x3bc7d6=_0x1ebb22['replies'][_0x1ebb22['replies']['length']-0x1];if(this['_isUnsupportedInlineRootChange'](_0x3bc7d6,_0x14713e))return void this['_actionsBalloonView']['showBlockingError'](_0x258ab2(_0x58d708['locale'],'AI_SUGGESTION_NO_PARTS_WARNING'));_0x3bc7d6['setChangeGroupState'](0x0,'accepted');const _0x1cf6e0=_0x463b66({'documentSuggestions':tu({'groups':[_0x3bc7d6['changeGroups'][0x0]],'documentContextContent':_0x3bc7d6['documentContextContent'],'documents':_0x1ebb22['getDocumentContext']()['documents']}),'transform':!0x1,'documentCompare':_0x5267bb,'documentCompareOptions':{'anchor':_0x58d708['model']['createPositionAt'](_0x3f3628,0x0),'markDeletions':_0x5c99d8}})['values']()['next']()['value']??[],_0x21d4ca=this['_filterOperationsOutsideRange'](_0x1cf6e0,_0x4dad01);for(const _0x2e436f of _0x21d4ca)this['_anchorOperation'](_0x4dad01,_0x2e436f,_0x14713e);const _0xdfa397=_0x1ebb22['getDocumentContext']()['documents'][0x0]['version'],_0x3ac2fe=(0x0,_0x491313['transformOperationSets'])(_0x21d4ca,_0x58d708['model']['document']['history']['getOperations'](_0xdfa397),{'document':_0x58d708['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1})['operationsA'];_0x14ee9e(_0x3ac2fe,'quickActions');try{_0x58d708['model']['change'](_0x3f0b76=>{_0x3f0b76['setSelection'](_0x58d708['model']['document']['selection']['focus']),_0x5c99d8?_0x58d708['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x3ac2fe):_0x5267bb['applyOperations'](_0x3f0b76,_0x3ac2fe);});}catch(_0x3b6ad2){throw this['_reporter']['logError'](new _0x393747({'code':'ai-applying-suggestion-failed','type':'runtime','cause':_0x3b6ad2})),_0x3b6ad2;}this['editor']['plugins']['get']('AIBalloon')['close']();}_filterOperationsOutsideRange(_0x3119df,_0x35bbae){return _0x3119df['filter'](_0x4d79aa=>{if('rename'==_0x4d79aa['type']){const _0x2f31fd=_0x4d79aa['position']['nodeAfter'];return!_0x35bbae['has'](_0x2f31fd);}if(_0x4d79aa['type']['indexOf']('Attribute')>-0x1){const _0x13e64f=_0x4d79aa['range']['start']['nodeAfter'];return!_0x35bbae['has'](_0x13e64f);}return!0x0;});}_anchorOperation(_0x2cedf4,_0xa457b1,_0x559806){const _0x331ef2=_0xa457b1['clone']();for(const _0x33080f in _0xa457b1){const _0x18a198=_0xa457b1[_0x33080f];_0x18a198 instanceof _0x491313['ModelRange']?_0xa457b1[_0x33080f]=new _0x491313['ModelRange'](_0x3b5b2e(_0x18a198['start']),_0x3b5b2e(_0x18a198['end'])):_0x18a198 instanceof _0x491313['ModelPosition']&&(_0xa457b1[_0x33080f]=_0x3b5b2e(_0x18a198));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x331ef2['type'])){if(_0x331ef2['isDocumentOperation']=!0x1,_0x331ef2['baseVersion']=null,'remove'==_0x331ef2['type']){const _0x879070=_0x331ef2['sourcePosition'],_0x28e9cc=_0x331ef2['howMany'];new _0x491313['_DetachOperation'](_0x879070,_0x28e9cc)['_execute']();}else _0x331ef2['_execute']();}function _0x3b5b2e(_0x3de341){if('$graveyard'==_0x3de341['root']['rootName'])return _0x3de341;const _0x2cb124=[];let _0x4fcbe3=_0x3de341['root'];for(let _0x591d67=0x0;_0x591d67<_0x3de341['path']['length'];_0x591d67++){const _0x5b5fa=_0x2cedf4['get'](_0x4fcbe3)||0x0;_0x2cb124[_0x591d67]=_0x3de341['path'][_0x591d67]+_0x5b5fa,_0x4fcbe3=_0x4fcbe3['getChildAtOffset'](_0x3de341['path'][_0x591d67]);}return new _0x491313['ModelPosition'](_0x559806,_0x2cb124,_0x3de341['stickiness']);}}_refreshInteraction(){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x58fc35,content:_0x31bcd3,version:_0x1a17f2,aiBalloon:_0x48b0d3}=this['_interactionParams'];this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),this['_actionsBalloonView']['showLoader'](),this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),this['stopListening'](this['_actionsBalloonView']),this['_setupApplyListeners'](),this['_createInteraction'](_0x31bcd3,_0x1a17f2,_0x48b0d3,_0x58fc35)['catch'](_0x2ea3ef=>{this['_reporter']['logError'](_0x2ea3ef,{'context':{'operation':'refresh-interaction'}});});}_clearInteractionHistory(){this['_interactions']=[],this['_interactionParams']=void 0x0,this['_currentInteractionIndex']=0x0,this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}_stopInteraction(){this['_interaction']&&this['_interaction']['stop'](),this['_promiseQueue']['abort'](),this['isBusy']=!0x1,this['_interactionParams']&&this['_actionsBalloonView']['stopAutoScroll']();}_navigateToPrevious(){const _0x37186e=this['_interactions']['length'];this['_currentInteractionIndex']<_0x37186e-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}_navigateToNext(){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async _displayInteractionAtIndex(_0x533200){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x533200;const _0x4bbb4f=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x4bbb4f)return;if(_0x4bbb4f['hasError'])return this['_setErrorState'](_0x4bbb4f),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x4bbb4f['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x3ad42d=_0x4bbb4f['replies'][_0x4bbb4f['replies']['length']-0x1];if(_0x3ad42d)try{const _0x91be77=_0x306b98({'changeGroups':_0x3ad42d['changeGroups'],'documentContextContent':_0x3ad42d['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x16f5a0=>setTimeout(_0x16f5a0,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x91be77[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x24b9a3){this['_reporter']['logError'](_0x24b9a3,{'context':{'operation':'navigation-update'}});}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}_setLoadingState(){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async _setErrorState(_0x2a25cc,_0x1e8ddf){if(void 0x0!==_0x1e8ddf&&_0x459de0(_0x1e8ddf))return;const _0x28cadf=_0x258ab2(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x28cadf),_0x2a25cc['hasError']=!0x0,await this['_promiseQueue']['queueEmptyPromise'],this['_actionsBalloonView']['setErrorState'](),this['_actionsBalloonView']['toggleIsLoading'](!0x0);}_clearErrorState(){this['_actionsBalloonView']['hideError'](),this['_actionsBalloonView']['toggleIsLoading'](!0x1);}async _clearLoadingState(){await this['_promiseQueue']['queueEmptyPromise'],this['isBusy']=!0x1,this['_actionsBalloonView']['setIsLoading'](!0x1);}},_0x56e088=class extends _0x491313['Plugin']{static get requires(){return[_0x4546ff,_0x42b7e2,_0x5beec5];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x212203){super(_0x212203),_0x212203['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}},_0x28dbf1=class extends _0x491313['View']{resultResponseView;acceptButtonView;dismissButtonView;infoButtonView;outdatedButtonView;constructor(_0x32b605,_0x2a0cb6){super(_0x32b605),this['id']=_0x2a0cb6,this['set']('status','pending'),this['set']('changeId',_0x2a0cb6),this['resultResponseView']=this['_createResultResponseView'](),this['acceptButtonView']=this['_createAcceptButtonView'](),this['dismissButtonView']=this['_createDismissButtonView'](),this['infoButtonView']=this['_createInfoButtonView'](),this['outdatedButtonView']=this['_createOutdatedButtonView'](),this['set']('isInfoToggleOn',!0x1),this['set']('isActive',!0x1),this['set']('showDiff',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-result',this['bindTemplate']['if']('isActive','ck-ai_review__check-run-result_active')]},'on':{'click':this['bindTemplate']['to']('click'),'mouseover':this['bindTemplate']['to']('mouseover'),'mouseout':this['bindTemplate']['to']('mouseout')},'children':[this['resultResponseView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-footer']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-action-buttons']},'children':[this['acceptButtonView'],this['dismissButtonView'],this['outdatedButtonView']]},this['infoButtonView']]}]}),this['on']('click',(_0x5efa63,_0x3b0e8d)=>{_0x3b0e8d&&_0x3b0e8d['target']&&'A'===_0x3b0e8d['target']['tagName']&&_0x3b0e8d['preventDefault'](),this['fire']('activateChange',{'id':_0x2a0cb6,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x2a0cb6,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x2a0cb6,'source':this});}),this['on']('change:showDiff',()=>this['_syncResponseVisibility']());}['render'](){super['render'](),this['_syncResponseVisibility']();}setItemAsActive(){this['isActive']=!0x0;}setItemAsInactive(){this['isActive']=!0x1;}_createResultResponseView(){const _0xf2593a=new _0x491313['View'](this['locale']);return _0xf2593a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai_review__check-run-result-response']}}),_0xf2593a;}updateResponseContent(_0x26a84d,_0x3bff45){const _0x3b5cef=_0x3bff45||'div',_0x4e4d32=this['resultResponseView']['element'];if(_0x4e4d32['tagName']['toLowerCase']()!==_0x3b5cef){const _0x1f5e24=new _0x491313['Template']({'tag':_0x3b5cef,'attributes':{'class':_0x4e4d32['className']}})['render']();_0x4e4d32['replaceWith'](_0x1f5e24),this['resultResponseView']['element']=_0x1f5e24,this['_syncResponseVisibility']();}this['resultResponseView']['element']['innerHTML']=_0x26a84d;}_syncResponseVisibility(){this['resultResponseView']['element']?.['classList']['toggle']('ck-hidden',!this['showDiff']);}_createAcceptButtonView(){const _0x4f0f12=new _0x491313['ButtonView'](this['locale']);return _0x4f0f12['set']({'label':_0x258ab2(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x4f0f12['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x58785d=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x58785d['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0x4327d8=>'pending'!==_0x4327d8&&'accepted'!==_0x4327d8),this['bindTemplate']['if']('status',_0x24c6ab,_0x18ecfd=>'pending'===_0x18ecfd),this['bindTemplate']['if']('status',_0xa623f1,_0x47c9f6=>'pending'!==_0x47c9f6),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x46d8d5=>'accepted'===_0x46d8d5)]}}),this['on']('change:status',(_0x398fff,_0x2bb351,_0x10a72e)=>{_0x4f0f12['isEnabled']='pending'===_0x10a72e,'accepted'===_0x10a72e&&(_0x4f0f12['label']=_0x258ab2(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x4f0f12['icon']=_0x491313['IconCheck']);}),_0x4f0f12;}_createDismissButtonView(){const _0x3eddf1=new _0x491313['ButtonView'](this['locale']);return _0x3eddf1['set']({'label':_0x258ab2(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x3eddf1['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x72e0b=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x72e0b['stopPropagation']();})},'attributes':{'class':[_0xa623f1,this['bindTemplate']['if']('status','ck-hidden',_0x1b1b36=>'pending'!==_0x1b1b36&&'rejected'!==_0x1b1b36),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x196aaa=>'pending'===_0x196aaa),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x13a81f=>'rejected'===_0x13a81f)]}}),this['on']('change:status',(_0x4efd23,_0x229513,_0x6c5300)=>{_0x3eddf1['isEnabled']='pending'===_0x6c5300,'rejected'===_0x6c5300&&(_0x3eddf1['label']=_0x258ab2(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x3eddf1['icon']=_0x491313['IconCancel']);}),_0x3eddf1;}_createInfoButtonView(){const _0x5701e6=new _0x491313['ButtonView'](this['locale']);return _0x5701e6['set']({'label':_0x258ab2(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x491313['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':_0xa623f1+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x5701e6['bind']('isOn')['to'](this,'isInfoToggleOn',_0x5b42e6=>_0x5b42e6),_0x5701e6['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x5701e6;}_createOutdatedButtonView(){const _0x300763=new _0x491313['ButtonView'](this['locale']);return _0x300763['set']({'label':_0x258ab2(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0x491313['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x300763['extendTemplate']({'attributes':{'class':[_0xa623f1,'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x3802b8=>'outdated'!==_0x3802b8)],'disabled':'disabled'}}),_0x300763;}},_0xc73f6a=class extends _0x491313['BalloonPanelView']{resultItemView;_pinnedRectIndex=void 0x0;_pinnedTargetElement=void 0x0;_pinnedTargetChangeId=void 0x0;constructor(_0x337adb,_0x1a1367){super(_0x337adb),this['set']({'isVisible':!0x1,'position':'arrow_se','class':null,'top':0x0,'left':0x0}),this['extendTemplate']({'tag':'div','attributes':{'class':['ck-reset'],'tabindex':'-1'}}),this['set']('isDiffActive',!0x1),this['content']['add'](this['_createContentView']()),_0x1a1367['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}updateContent(_0x56e1df){this['resultItemView']['changeId']=_0x56e1df['id'],this['resultItemView']['updateResponseContent'](_0x56e1df['contentDiffed'],_0x56e1df['wrapperTag']);}['showBalloon'](_0x5bceac,_0x243608,_0x53a593,_0x431193,_0x5570a0,_0x34d8a2){const _0x276c49=_0x243608();if(!_0x276c49)return;this['updateContent'](_0x5bceac),this['show']();const _0x102a9d=Array['from'](_0x276c49['getClientRects']())['reverse'](),_0x403f6a=this['_getPointedRectIndexFromEvent'](_0x53a593,_0x102a9d),_0x300596=_0x102a9d[_0x403f6a??0x0];'click'===_0x431193?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x243608(),_0x403f6a,_0x5bceac['id'],_0x5570a0,_0x34d8a2)||_0x300596})):'hover'===_0x431193&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x243608(),_0x403f6a,_0x5bceac['id'])||_0x300596}));}['hideBalloon'](){this['hide'](),this['unpin'](),this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetElement']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}['hideDiffInBalloon'](){this['resultItemView']['showDiff']=!0x1;}['showDiffInBalloon'](){this['resultItemView']['showDiff']=!0x0;}deactivateChange(){this['fire']('deactivateChange',{'origin':'balloon'});}_setupClickOutsideHandler(){(0x0,_0x491313['clickOutsideHandler'])({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x5985a5=[this['element']];return this['_pinnedTargetElement']&&_0x5985a5['push'](this['_pinnedTargetElement']),_0x5985a5;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}_createContentView(){const _0x58b619=new _0x491313['View']();return this['resultItemView']=new _0x28dbf1(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x58b619['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-ai_review-balloon-panel-suggestion',this['bindTemplate']['if']('isDiffActive','ck-ai_review-balloon-panel-suggestion_diff-active')]},'children':[{'tag':'p','attributes':{'class':['ck-ai_review__suggestion-text']},'children':[this['resultItemView']]}]}),_0x58b619;}_getBestRectPositionOnClick(_0x35f3cf,_0x37f35c,_0x17ed9a,_0x52abb5,_0x8d7070){if(!_0x35f3cf)return null;const _0x420fc9=this['position']['replace']('arrow_',''),_0x1a421f=Array['from'](_0x35f3cf['getClientRects']());let _0x51e3d3,_0xedc43f=_0x1a421f['reverse']();return void 0x0!==_0x37f35c&&this['_isPinnedRectVisible'](_0xedc43f[_0x37f35c],_0x52abb5,_0x8d7070)?(_0x51e3d3=_0xedc43f[_0x37f35c],this['_pinnedRectIndex']=_0x37f35c):this['_isPinnedRectVisible'](_0xedc43f[0x0],_0x52abb5,_0x8d7070)&&void 0x0===_0x37f35c?_0x51e3d3=_0xedc43f[0x0]:(_0xedc43f='s'==_0x420fc9[0x0]?[..._0x1a421f]['reverse']():_0x1a421f,_0xedc43f['forEach'](_0x5bdd4a=>{this['_isPinnedRectVisible'](_0x5bdd4a,_0x52abb5,_0x8d7070)&&(_0x51e3d3=_0x5bdd4a);})),this['_pinnedTargetChangeId']=_0x17ed9a,this['_pinnedTargetElement']=_0x35f3cf,_0x51e3d3||_0x35f3cf['getBoundingClientRect']();}_getBestRectPositionOnHover(_0x557772,_0x188211,_0x22a889){if(!_0x557772)return null;const _0x2bf050=Array['from'](_0x557772['getClientRects']())['reverse']();return void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x188211&&this['_pinnedTargetChangeId']!==_0x22a889?(this['_pinnedRectIndex']=_0x188211,this['_pinnedTargetElement']=_0x557772,this['_pinnedTargetChangeId']=_0x22a889,_0x2bf050[_0x188211]):void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x22a889?_0x557772!==this['_pinnedTargetElement']?Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']]:_0x2bf050[this['_pinnedRectIndex']]:void 0x0!==_0x188211&&this['_pinnedTargetChangeId']!==_0x22a889?(this['_pinnedRectIndex']=_0x188211,this['_pinnedTargetElement']=_0x557772,this['_pinnedTargetChangeId']=_0x22a889,_0x2bf050[_0x188211]):_0x557772['getBoundingClientRect']();}_getPointedRectIndexFromEvent(_0x4dcbd4,_0x1cbd0d){if(_0x4dcbd4)for(let _0x294a4c=0x0;_0x294a4c<_0x1cbd0d['length'];_0x294a4c++){const _0x3c2dd7=_0x1cbd0d[_0x294a4c];if(_0x4dcbd4['clientX']>=_0x3c2dd7['left']-0x3&&_0x4dcbd4['clientX']<=_0x3c2dd7['right']+0x3&&_0x4dcbd4['clientY']>=_0x3c2dd7['top']-0x3&&_0x4dcbd4['clientY']<=_0x3c2dd7['bottom']+0x3)return _0x294a4c;}}_isPinnedRectVisible(_0x8fe6d,_0x10231f,_0x57b875){const _0x4f4c43=new _0x491313['Rect'](_0x8fe6d),_0x3242aa=_0x10231f||document['documentElement'],_0x39adfe=_0x4f4c43['getIntersection']((0x0,_0x491313['getConstrainedViewportRect'])(_0x57b875)),_0x3c7838=new _0x491313['Rect'](_0x3242aa)['getIntersection'](_0x4f4c43);return!!(_0x39adfe&&_0x3c7838&&_0x4f4c43['width']>0x0);}};const _0x57bcef=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];var _0x538087=class extends _0x491313['ContextPlugin']{['_mainView'];_balloonSuggestionView;_bodyCollection;static get requires(){return[_0x448179];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5c930f){super(_0x5c930f),this['_bodyCollection']=_0x2f3654(this['context']['locale']),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x57bcef)['to'](this),this['_balloonSuggestionView']=new _0xc73f6a(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}init(){const _0x43ac95=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x43ac95);}destroy(){this['_bodyCollection']['detachFromDom'](),super['destroy']();}setAvailableChecks(_0x72a11f){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x19869a=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x72a11f,_0x19869a);}this['_mainView']['showReviewCheckListView']();}showReviewCheckList(){this['fire']('getReviewCheckList');}showCheckRunResults(_0x30b6ab){_0x30b6ab&&('error-general'!==_0x30b6ab['status']?'error-chunk'!==_0x30b6ab['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}showCheckRunResult(_0x22b791){this['_mainView']['addCheckRunResult'](_0x22b791);}showGeneralResultsErrorView(){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x2180aa){this['_mainView']['showGeneralReviewCoreErrorView'](_0x2180aa??_0x258ab2(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}showUnsupportedInlineChangeView(){this['_mainView']['showUnsupportedInlineChangeView']();}setCheckResultTitle(_0x34dc53,_0x763ea2){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x34dc53,_0x763ea2);}setAcceptAllEnabled(_0x30a48d){this['_mainView']['reviewCheckResultsView']['setAcceptAllEnabled'](_0x30a48d);}setActiveStateInResults(_0x58938){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x4cbea8=>{_0x4cbea8['id']===_0x58938&&_0x4cbea8['setItemAsActive']();});}resetActiveStateInResults(){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x4da4a7=>_0x4da4a7['setItemAsInactive']());}updateChangeState(_0x190f20,_0x3f78bd){'accepted'===_0x3f78bd||'rejected'===_0x3f78bd||'outdated'===_0x3f78bd?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x190f20,_0x3f78bd):this['_mainView']['reviewCheckResultsView']['showResult'](_0x190f20,_0x3f78bd);}showReviewCompletedView(){this['_mainView']['showReviewCompletedView']();}showActionsWhenResultIsReady(){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}hideActionsWhenResultIsReady(){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x259ce9,_0x3c58dd,_0x1d042c,_0x4d5123,_0x539aa7,_0x2686b2){this['_balloonSuggestionView']['showBalloon'](_0x259ce9,_0x3c58dd,_0x1d042c,_0x4d5123,_0x539aa7,_0x2686b2);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}getChangeElement(_0x5f14a8){const _0x4a0033=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x96a835=>_0x96a835['id']===_0x5f14a8);return _0x4a0033?_0x4a0033['element']:null;}deactivateChange(){this['_balloonSuggestionView']['deactivateChange']();}},_0x5eb2df=class extends _0x491313['View']{constructor(_0x147867){super(_0x147867),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x71b093=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x71b093['if']('isVisible','ck-hidden',_0x4fffce=>!_0x4fffce)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x71b093['to']('errorMessage')}]}]});}},_0x3a6a3b=class extends _0x491313['View']{['reviewCoreHeader'];['generalErrorView'];reviewCheckListView;reviewCheckResultsView;reviewCompletedView;constructor(_0x1c4670,_0x4172cd){super(_0x1c4670),this['reviewCoreHeader']=_0x4172cd['header'],this['generalErrorView']=new _0x5eb2df(_0x1c4670),this['reviewCheckListView']=_0x4172cd['list'],this['reviewCheckListView']['delegate'](..._0x57bcef)['to'](this),this['reviewCheckResultsView']=_0x4172cd['results'],this['reviewCheckResultsView']['delegate'](..._0x57bcef)['to'](this),this['reviewCompletedView']=_0x4172cd['completed'],this['reviewCompletedView']['delegate']('finishReview')['to'](this),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isLoading',!0x1),this['reviewCheckResultsView']['set']('isResultReady',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-review','ck-rounded-corners'],'dir':'ltr'},'children':[this['reviewCoreHeader'],this['generalErrorView'],this['reviewCheckListView'],this['reviewCheckResultsView'],this['reviewCompletedView']]});}showReviewCheckListView(){this['reviewCheckListView']['resetAllParameterizedChecks'](),this['reviewCheckListView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1);}showReviewCheckResultsView(){this['hideActionsWhenResultIsReady'](),this['reviewCheckResultsView']['resetErrorState'](),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['clearResults'](),this['reviewCheckResultsView']['set']('isLoading',!0x0),this['reviewCheckResultsView']['set']('isCompleted',!0x1);}addCheckRunResult(_0x3a22fd){this['reviewCheckResultsView']['addResult'](_0x3a22fd),this['reviewCheckResultsView']['set']('isLoading',!0x1);}showReviewCompletedView(){this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isCompleted',!0x0),this['reviewCheckListView']['set']('isVisible',!0x1);}showActionsWhenResultIsReady(){this['reviewCheckResultsView']['isResultReady']?(this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1)):this['reviewCheckResultsView']['isResultReady']=!0x0;}['showNoChangesView'](){this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x0);}hideActionsWhenResultIsReady(){this['reviewCheckResultsView']['isResultReady']=!0x1;}['showGeneralReviewCoreErrorView'](_0x1b9492){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x1b9492;}showGeneralResultsErrorView(){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}showUnsupportedInlineChangeView(){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showUnsupportedInlineChangeMessage']();}},_0xc7f4e6=class extends _0x491313['ButtonView']{constructor(_0x7f7c54,_0x28e0e9){super(_0x28e0e9),this['set']({'label':_0x7f7c54,'withText':!0x0,'class':_0x4909b4}),this['on']('execute',()=>{this['fire']('finishReview');});}},_0x301dd9=class extends _0x491313['ListItemView']{_resultViews;_resultsHeader;_resultsBody;['reviewDisclaimer'];_cancelButtonView;_acceptAllButtonView;_exitReviewButtonView;_toggleDiffButtonView;['_errorMessageView'];_finishReviewButtonView;_contents;constructor(_0x43d32e,_0x46b39d){super(_0x43d32e),this['_contents']=_0x46b39d,this['_resultViews']=new _0x491313['ViewCollection'](),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_resultsBody']=this['_createResultsBodyView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0xb2ed20(_0x43d32e),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1),this['set']('isAcceptAllEnabled',!0x1),this['_acceptAllButtonView']['bind']('isEnabled')['to'](this,'isAcceptAllEnabled',this,'isError',(_0x245b41,_0x5f2e33)=>_0x245b41&&!_0x5f2e33);const _0x4927f6=this['_createCombinedSkeletonLoader'](),_0x570c11=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x570c11['if']('isLoading','ck-ai_review__check-run_loading',_0x5172e8=>_0x5172e8),_0x570c11['if']('isResultReady','ck-ai_review__check-run_ready',_0x2ca1db=>_0x2ca1db),_0x570c11['if']('isVisible','ck-hidden',_0x196d7b=>!_0x196d7b)]},'children':[this['_resultsHeader'],this['_errorMessageView'],this['_resultsBody'],_0x4927f6,this['reviewDisclaimer']]});}clearResults(){this['_resultViews']['clear'](),this['_resultsBody']['element']&&(this['_resultsBody']['element']['scrollTop']=0x0);}getResults(){return this['_resultViews'];}addResult(_0xe91e90){const _0x246025=new _0x28dbf1(this['locale'],_0xe91e90['id']);_0x246025['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x246025),_0x246025['updateResponseContent'](_0xe91e90['contentDiffed'],_0xe91e90['wrapperTag']);}hideResult(_0x52392c,_0x1fad2b){if('pending'===_0x1fad2b)return;const _0x42dddf=this['_resultViews']['find'](_0x46b4b9=>_0x46b4b9['id']===_0x52392c);_0x42dddf&&(_0x42dddf['status']=_0x1fad2b,_0x42dddf['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}showResult(_0xe8d9a9,_0x3728e9){if('pending'!==_0x3728e9)return;const _0x3f5034=this['_resultViews']['find'](_0x2b801a=>_0x2b801a['id']===_0xe8d9a9);_0x3f5034&&(_0x3f5034['status']=_0x3728e9,_0x3f5034['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}setTitle(_0x56e5e7,_0x5399c8){this['headerTitle']=_0x56e5e7,this['headerSubtitle']=_0x5399c8||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}showUnsupportedInlineChangeMessage(){this['errorType']='unsupported-inline',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}resetErrorState(){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}setAcceptAllEnabled(_0x2496fe){this['isAcceptAllEnabled']=_0x2496fe;}_createSkeletonLoader(){return new _0x2336c1(this['locale'],_0x4fe27d['aiReviewChecks']);}_createCombinedSkeletonLoader(){const _0x48768c=new _0x491313['View'](this['locale']),_0x2255ba=[];for(let _0x1bfb48=0x0;_0x1bfb48<0x10;_0x1bfb48++){const _0x3d25a8=this['_createSkeletonLoader']();_0x3d25a8['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x2255ba['push'](_0x3d25a8);}return _0x48768c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x38d7ba=>!_0x38d7ba)]},'children':_0x2255ba}),_0x48768c;}_createResultsBodyView(){const _0x443daf=new _0x491313['View'](this['locale']);return _0x443daf['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x348fb4=>_0x348fb4)]},'children':this['_resultViews']}),_0x443daf;}_createErrorView(){const _0x19e9f8=new _0x491313['View'](this['locale']),_0x71359b=new _0x491313['ButtonView'](this['locale']),t=this['locale']['t'];return _0x19e9f8['delegate']('retryReview')['to'](this),_0x71359b['set']({'label':t('Try\x20again'),'withText':!0x0,'class':_0x24c6ab+'\x20ck-ai_review__check-run-error-retry-button'}),_0x71359b['on']('execute',()=>{this['fire']('retryReview');}),_0x19e9f8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x544ea9=>!_0x544ea9),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x16cde2=>'chunk'===_0x16cde2)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x528866=>'chunk'===_0x528866||'unsupported-inline'===_0x528866)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x53dec4=>'general'!==_0x53dec4)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x573fbb=>'chunk'!==_0x573fbb)]},'children':[{'text':_0x258ab2(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x5648f8=>'unsupported-inline'!==_0x5648f8)]},'children':[{'text':_0x258ab2(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')}]}]},_0x71359b]}),_0x19e9f8;}_createCancelButtonView(){const _0x4f7a58=new _0x491313['ButtonView'](this['locale']);return _0x4f7a58['set']({'label':_0x258ab2(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[_0x24c6ab+'\x20ck-ai-button-stop-generating'],'icon':_0x491313['IconStop']}),_0x4f7a58['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1fd63d=>_0x1fd63d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3660b0=>_0x3660b0)]}}),_0x4f7a58['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x4f7a58;}_createToggleDiffButtonView(){const _0x192e37=new _0x491313['ButtonView'](this['locale']);_0x192e37['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x192e37['bind']('isEnabled')['to'](this,'isError',_0x208eb3=>!_0x208eb3),_0x192e37['extendTemplate']({'attributes':{'class':[_0x24c6ab,'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x56c853=>!_0x56c853),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x44df0d=>_0x44df0d)]}});const _0xbe63cf=_0x258ab2(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0xac010=_0x258ab2(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x192e37['bind']('isOn')['to'](this,'isToggleDiffOn',_0x19b408=>_0x19b408),_0x192e37['bind']('icon')['to'](this,'isToggleDiffOn',_0x14a687=>_0x14a687?_0x491313['IconEye']:_0x491313['IconEyeCrossedOut']),_0x192e37['bind']('label')['to'](this,'isToggleDiffOn',_0x321b98=>_0x321b98?_0xbe63cf:_0xac010),_0x192e37['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x192e37;}_createAcceptAllButtonView(){const _0x3c1408=new _0x491313['ButtonView'](this['locale']);return _0x3c1408['set']({'label':_0x258ab2(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3c1408['extendTemplate']({'attributes':{'class':[_0x4909b4,'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x13e223=>!_0x13e223),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xbe12f9=>_0xbe12f9)]}}),_0x3c1408['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3c1408;}_createExitReviewButtonView(){const _0x2507e5=new _0x491313['ButtonView'](this['locale']);return _0x2507e5['set']({'label':_0x258ab2(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x2507e5['extendTemplate']({'attributes':{'class':[_0xa623f1,'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1453cc=>!_0x1453cc),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3667b1=>_0x3667b1)]}}),_0x2507e5['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x2507e5;}_createResultHeaderView(){const _0x336620=new _0x491313['View'](this['locale']),_0x2818ae=this['_createTitleView']();return _0x336620['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x10c24b=>_0x10c24b)]},'children':[_0x2818ae,{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5c82df=>!_0x5c82df)],'title':_0x258ab2(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')},'children':[{'text':_0x258ab2(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x336620;}_createTitleView(){const _0x23b183=new _0x491313['View'](this['locale']),_0x47c55f=new _0x2534dd();return _0x47c55f['bind']('isVisible')['to'](this,'isResultReady',_0x5df940=>!_0x5df940),_0x23b183['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x55cfd0=>_0x55cfd0)]},'children':[_0x47c55f,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]}]}),_0x23b183;}_createFinishReviewButtonView(){const _0x5106e5=new _0xc7f4e6(_0x258ab2(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x5106e5['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3a1c0f=>!_0x3a1c0f)]}}),_0x5106e5['delegate']('finishReview')['to'](this),_0x5106e5;}},_0x1c9534=class extends _0x491313['ListItemView']{_resultsHeader;_finishReviewButtonView;constructor(_0x207c8b,_0x457c9d){super(_0x207c8b),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x457c9d['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x457c9d['headerText']);const _0x14351d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x14351d['if']('isVisible','ck-hidden',_0x481549=>!_0x481549)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-content-icon']},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':['ck-ai_review__review-completed-content-text']},'children':[{'text':_0x457c9d['emptyResultsText']}]}]}]});}_createFinishReviewButtonView(_0x3c9d25){const _0x2581ad=new _0xc7f4e6(_0x3c9d25,this['locale']);return _0x2581ad['delegate']('finishReview')['to'](this),_0x2581ad;}_createResultHeaderView(_0x1583a8){const _0x1843b5=new _0x491313['View'](this['locale']);return _0x1843b5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title'],'title':_0x1583a8},'children':[{'text':_0x1583a8}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x1843b5;}},_0x207a03=class extends _0x491313['View']{['_dropdownView'];_defaultValue;_defaultLabel;constructor(_0x139df0,_0x305303){super(_0x139df0),this['_defaultValue']=_0x305303['default']||(_0x305303['data']['length']>0x0?_0x305303['data'][0x0]['id']:''),this['_defaultLabel']=_0x305303['data']['find'](_0x2490ff=>_0x2490ff['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=(0x0,_0x491313['createDropdown'])(this['locale']);const _0x30b247=this['_prepareListOptions'](_0x305303['data']);(0x0,_0x491313['addListToDropdown'])(this['_dropdownView'],_0x30b247,{'role':'menu','ariaLabel':_0x305303['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x576d50=>{_0x576d50['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x2ffb14=>{this['formValue']=_0x2ffb14['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x2ffb14['source']['model']['label'];}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai_review__check-list-item-parameterized-form-element','ck-ai_review__check-list-item-parameterized-form-element_dropdown']},'children':[this['_dropdownView']]});}resetToDefault(){this['formValue']=this['_defaultValue'],this['_dropdownView']['buttonView']['label']=this['_defaultLabel'];}_prepareListOptions(_0x175ec1=[]){const _0x405cb5=new _0x491313['Collection']();this['resetToDefault']();for(const _0x3958c4 of _0x175ec1){const _0x5e997a=new _0x491313['UIModel']({'label':_0x3958c4['label'],'withText':!0x0,'role':'menuitemradio','id':_0x3958c4['id'],'model':_0x3958c4});_0x5e997a['bind']('isOn')['to'](this,'formValue',_0xdc9b55=>_0xdc9b55===_0x5e997a['id']);const _0x16e613={'type':'button','model':_0x5e997a};_0x405cb5['add'](_0x16e613);}return _0x405cb5;}},_0xc1e261=class extends _0x491313['ListItemView']{_formItem=null;constructor(_0x409426,_0x10caec,_0x3acae7){if(super(_0x409426),this['argsKey']=_0x10caec?.['argsKey'],'dropdown'===_0x10caec['formType'])this['_formItem']=new _0x207a03(this['locale'],_0x10caec);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x1fda4d=new _0x491313['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x3acae7?'ck-form__row_with-submit':'']});_0x3acae7&&_0x1fda4d['children']['add'](_0x3acae7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x1fda4d]});}resetToDefault(){this['_formItem']['resetToDefault']();}},_0x29add1=class AIReviewCorePromptInputView extends _0x491313['TextareaView']{keystrokes;static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x578321){super(_0x578321),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['minRows']=AIReviewCorePromptInputView['MIN_ROWS'],this['maxRows']=AIReviewCorePromptInputView['MAX_ROWS'],this['extendTemplate']({'attributes':{'id':'ai-review-prompt-input','class':['ck','ck-review__prompt-input']}});}['render'](){super['render'](),this['on']('update',()=>{this['isEmpty']=''===this['element']['value']?.['trim']();}),this['keystrokes']['listenTo'](this['element']);}},_0x22f6a9=class extends _0x491313['View']{['focusTracker']=new _0x491313['FocusTracker']();keystrokes=new _0x491313['KeystrokeHandler']();['focusCycler'];['_focusables']=new _0x491313['ViewCollection']();submitButtonView;cancelButtonView;promptInputView;actionsFooterView;_modelSelector;['_check'];constructor(_0x2b6910,_0x4d5d2f,_0x5e63a2=!0x1){super(_0x2b6910),this['_check']=_0x4d5d2f,this['set']('prompt',''),this['set']('modelId',''),this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x491313['LabeledFieldView'](this['locale'],()=>new _0x29add1(_0x2b6910)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelector']=new _0x4cec78(_0x2b6910,{'panelPosition':'se','dropdownClass':'ck-ai_review__check-list-item-model-dropdown','nameClass':'ck-ai_review__check-list-item-model-name','itemClasses':{'name':'ck-ai_review__check-list-item-model-dropdown-name','description':'ck-ai_review__check-list-item-model-dropdown-description'}}),this['listenTo'](this['_modelSelector'],'selectModel',(_0x2ca627,_0x36a456)=>{this['modelId']=_0x36a456['id'],this['_modelSelector']['setSelectedModel'](_0x36a456);}),this['_setModelList'](_0x5e63a2),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x491313['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new _0x491313['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5005ae,_0x4aca23)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x4aca23()):_0x4aca23();}),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),[this['promptInputView'],this['_modelSelector']['dropdownView'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x5b424f=>{this['_focusables']['add'](_0x5b424f),this['focusTracker']['add'](_0x5b424f['element']);}),this['keystrokes']['listenTo'](this['element']);}resetToDefault(){this['prompt']='',this['modelId']=this['_check']['defaultModel']?.['id']??'',this['_check']['defaultModel']&&this['_modelSelector']['setSelectedModel'](this['_check']['defaultModel']),this['resetFormValidationStatus']();}resetFormValidationStatus(){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x2cb71b of this['_getFormValidators']()){const _0x157559=_0x2cb71b();if(_0x157559)return this['promptInputView']['errorText']=_0x157559,!0x1;}return!0x0;}_getFormValidators(){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x258ab2(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}_createSubmitButtonView(){const _0x25ad7c=new _0x491313['ButtonView'](this['locale']),t=this['locale']['t'];return _0x25ad7c['set']({'label':t('Submit'),'withText':!0x0,'class':_0x4909b4}),_0x25ad7c['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x25ad7c;}_createCancelButtonView(){const _0x936b8e=new _0x491313['ButtonView'](this['locale']),t=this['locale']['t'];return _0x936b8e['set']({'label':t('Cancel'),'withText':!0x0,'class':_0xa623f1}),_0x936b8e['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x58e07e=>{_0x58e07e['stopPropagation']();})}}),_0x936b8e['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x936b8e;}_setModelList(_0x2e038f){this['_modelSelector']['setModels'](this['_check']['models'],!_0x2e038f),this['resetToDefault']();}_createActionsFooterView(){const _0x100089=new _0x491313['View'](this['locale']);return _0x100089['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelector'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x100089;}},_0x413a25=class extends _0x491313['ListItemView']{_formItemsCollection=new _0x491313['ViewCollection']();_customCheckView=null;['_hideModels']=!0x1;constructor(_0x12882b,_0x455377,_0x7462d8,_0xb285a0=!0x1){super(_0x12882b),this['_hideModels']=_0xb285a0,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x455377['isParameterized']);const _0x559dec=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x5a050d=>_0x5a050d),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x469473=>_0x469473)],'style':{'--ck-ai-review-check-list-item-index':_0x7462d8}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x455377['title']}]},_0x559dec]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x455377['description']?[{'text':_0x455377['description']}]:[]}]}]},..._0x455377['isParameterized']?[this['_createParameterizedView'](_0x455377)]:[],...'custom'===_0x455377['id']?[this['_createCustomView'](_0x455377,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x455377['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x455377['id'],'args':_0x455377['useArgs']?_0x455377['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&(0x0,_0x491313['clickOutsideHandler'])({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}resetToDefault(){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x108926=>{_0x108926['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}_createIconView(){const _0x420264=new _0x491313['IconView']();return _0x420264['content']=_0x491313['IconChevronRight'],_0x420264['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x420264;}_createParameterizedView(_0x3692d2){const _0x3a2d52=new _0x491313['View'](),_0x18f9d0=this['_createFormView'](_0x3692d2);return _0x3a2d52['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x54b524=>!_0x54b524)]},'children':[_0x18f9d0]}),_0x3a2d52;}_createFormView(_0x6d82d8){const _0x23c485=new _0x491313['View'](),_0x4cae2b=Array['isArray'](_0x6d82d8['options'])?_0x6d82d8['options']:[],_0x240f42=new _0x491313['ButtonView'](this['locale']),t=this['locale']['t'];_0x240f42['set']({'label':t('Submit'),'withText':!0x0,'class':_0x4909b4}),_0x240f42['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xaf6dac=>{_0xaf6dac['stopPropagation']();})}}),_0x240f42['on']('execute',()=>{const _0x24cc84=[],_0x1a1445={};this['_formItemsCollection']['forEach'](_0x13f4dd=>{_0x24cc84['push'](_0x13f4dd['value']),_0x6d82d8['useArgs']&&_0x6d82d8['options']&&(_0x1a1445[_0x13f4dd['argsKey']]=_0x13f4dd['value']);}),this['fire']('runReviewCheck',{'id':_0x6d82d8['id'],'params':_0x24cc84['length']?_0x24cc84:void 0x0,'args':Object['keys'](_0x1a1445)['length']?_0x1a1445:void 0x0});});const _0xb9aa7=_0x4cae2b['length'];return _0x4cae2b['forEach']((_0x4487f5,_0xac6ba0)=>{const _0x444e54=_0xac6ba0===_0xb9aa7-0x1;this['_formItemsCollection']['add'](new _0xc1e261(this['locale'],_0x4487f5,_0x444e54?_0x240f42:null));}),_0x23c485['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x23c485;}_createCustomView(_0x10080e,_0x10f6dc=!0x1){return this['_customCheckView']=new _0x22f6a9(this['locale'],_0x10080e,_0x10f6dc),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x3933c4=>!_0x3933c4)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x59721d,_0x3bee52,_0x18fa7e)=>{_0x18fa7e||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}},_0x17accd=class extends _0x491313['ListItemView']{['_checkViews'];constructor(_0x5de15e){super(_0x5de15e),this['_checkViews']=new _0x491313['ViewCollection'](),this['_setupTemplate']();}setChecks(_0x3ccdd9,_0xab9b58=!0x1){this['_checkViews']['clear']();for(const [_0x84751e,_0x16d187]of _0x3ccdd9['entries']()){const _0x126054=new _0x413a25(this['locale'],_0x16d187,_0x84751e,_0xab9b58);_0x126054['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x126054);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}resetAllParameterizedChecks(){for(const _0x168dd9 of this['_checkViews'])_0x168dd9 instanceof _0x413a25&&_0x168dd9['resetToDefault']();}_setupTemplate(){const _0x534c11=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x534c11['if']('isVisible','ck-hidden',_0x56ca73=>!_0x56ca73)]},'children':this['_checkViews']});}},_0x58bb6e=class extends _0x538087{static get['pluginName'](){return'AIReviewModeUI';}createMainView(){const _0x4e865b=this['context']['plugins']['get']('AITabs'),_0x33e657=this['context']['locale'],_0x29c2bb=new _0x185ff2(_0x33e657,{'label':_0x258ab2(_0x33e657,'AI_REVIEW_MODE'),'icon':_0x491313['IconAIReview'],'class':'ck-ai-header_review','showResizeButton':_0x4e865b['showResizeButton']});return _0x29c2bb['delegate']('resizeTabs')['to'](_0x4e865b),_0x29c2bb['bind']('isMaximized')['to'](_0x4e865b['view'],'isMaximized',_0x1174f4=>_0x1174f4),new _0x3a6a3b(this['context']['locale'],{'header':_0x29c2bb,'list':new _0x17accd(_0x33e657),'results':new _0x301dd9(_0x33e657,{'generalErrorText':_0x258ab2(_0x33e657,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new _0x1c9534(_0x33e657,{'headerText':_0x258ab2(_0x33e657,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':_0x258ab2(_0x33e657,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':_0x258ab2(_0x33e657,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}registerTab(){const _0x687197=this['context']['plugins']['get']('AITabs');_0x687197['view']['on']('activateTab',(_0x19bc9e,{newTab:_0x40fe7a,oldTab:_0x3b2525})=>{'reviewMode'===_0x40fe7a?this['fire']('getReviewCheckList'):'reviewMode'===_0x3b2525&&this['fire']('leaveReview');}),_0x687197['view']['addTab']({'id':'reviewMode','buttonLabel':_0x258ab2(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x491313['IconAIReview'],'order':0x0,'content':this['_mainView']});}},_0x56156b=class extends _0x168031{_affectedBlocks=[];get affectedBlocks(){return this['_affectedBlocks']['slice']();}set affectedBlocks(_0x4075b9){this['_affectedBlocks']=_0x4075b9;}};const _0xd2d1eb='review-',_0x5d6cc0=['softBreak'],_0xd308e9=['htmlScript','htmlStyle','htmlCustomElement'];var _0x4638bb=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x5b2c28,_0x3cc2b8];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();_activeMarkers=new Set();_domEmitter;_eventEmitter;_reviewEditingAttachedEditors=new WeakSet();_boundEditables=new WeakMap();_inlineRootDataIds=new WeakMap();constructor(_0x32a9e7){super(_0x32a9e7),this['_domEmitter']=new((0x0,_0x491313['DomEmitterMixin'])())(),this['_eventEmitter']=new((0x0,_0x491313['EmitterMixin'])())();}get emitter(){return this['_eventEmitter'];}afterInit(){const _0x191244=_0x3a3097=>this['_scheduleAttachReviewEditingToEditor'](_0x3a3097);if(this['_registerGlobalBalloonBlurHandler'](),this['context']instanceof _0x491313['Editor'])return void _0x191244(this['context']);const _0xbe0bae=this['context'];for(const _0x6a478e of _0xbe0bae['editors'])_0x191244(_0x6a478e);this['listenTo'](_0xbe0bae['editors'],'add',(_0x2bc775,_0x143cf9)=>{_0x191244(_0x143cf9);}),this['listenTo'](_0xbe0bae['editors'],'remove',(_0x2ea571,_0x46d848)=>{for(const [_0x326fca,_0x3c5f39]of this['_markers'])_0x3c5f39['editor']===_0x46d848&&(this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x326fca,'changeId':_0x3c5f39['groupId']}),this['_markers']['delete'](_0x326fca));});}_scheduleAttachReviewEditingToEditor(_0x29b836){const _0xd35ec6=()=>{'destroyed'!==_0x29b836['state']&&_0x29b836['conversion']&&this['_attachReviewEditingToEditor'](_0x29b836);};if('ready'===_0x29b836['state'])return void _0xd35ec6();const _0xa26376=()=>{this['stopListening'](_0x29b836,'ready',_0xa26376),_0xd35ec6();};this['listenTo'](_0x29b836,'ready',_0xa26376);}_attachReviewEditingToEditor(_0x12f584){this['_reviewEditingAttachedEditors']['has'](_0x12f584)||(_0x12f584['conversion']['for']('editingDowncast')['markerToElement']({'model':_0xd2d1eb+'insert','view':(_0x240f8a,{writer:_0x24e86a})=>{const _0x591c0c=this['_markers']['get'](_0x240f8a['markerName']),_0x5f0d57={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x591c0c?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x240f8a['markerName']};return _0x24e86a['createUIElement']('span',_0x5f0d57,function(_0x42cca9){const _0x31ac4e=this['toDomElement'](_0x42cca9);return _0x31ac4e['innerHTML']=_0x591c0c?.['content']?.['asString']||'',_0x31ac4e;});}}),_0x12f584['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xd2d1eb+'remove-only','view':_0x54d91a=>{const _0x14fbf3=this['_markers']['get'](_0x54d91a['markerName']),_0x30e697=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x14fbf3?.['id']||'')&&_0x30e697['push']('ck-ai_review__change_active'),{'classes':_0x30e697,'attributes':{'data-marker-id':_0x54d91a['markerName']}};}}),_0x12f584['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xd2d1eb+'remove-context','view':_0x20be39=>{const _0x53ca05=this['_markers']['get'](_0x20be39['markerName']),_0x33693b=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x53ca05?.['id']||'')&&_0x33693b['push']('ck-ai_review__change_active'),{'classes':_0x33693b,'attributes':{'data-marker-id':_0x20be39['markerName']}};}}),_0x12f584['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xd2d1eb+'remove-text','view':_0x3caaf4=>{const _0x12cd9a=this['_markers']['get'](_0x3caaf4['markerName']),_0x573e56=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x12cd9a?.['id']||'')&&_0x573e56['push']('ck-ai_review__change_active'),{'classes':_0x573e56,'attributes':{'data-marker-id':_0x3caaf4['markerName']}};}}),_0x12f584['conversion']['for']('dataDowncast')['markerToElement']({'model':_0xd2d1eb+'suggestion-context','view':(_0x105625,{writer:_0x2a95f0})=>_0x2a95f0['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x105625['isOpening']?'start':'end')})}),_0x12f584['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x27eb29,'view':_0x1a9875}),this['_updateMouseMarkerInteractionListeners'](_0x12f584),this['listenTo'](_0x12f584,'addRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x12f584),{'priority':'lowest'}),this['listenTo'](_0x12f584,'detachRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x12f584),{'priority':'lowest'}),_0x12f584['model']['document']['registerPostFixer'](_0xaae301=>this['_validateMarkers'](_0x12f584,_0xaae301)),_0x12f584['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x12f584)),this['_reviewEditingAttachedEditors']['add'](_0x12f584));}_updateMouseMarkerInteractionListeners(_0x32801d){let _0x3a136a=this['_boundEditables']['get'](_0x32801d);_0x3a136a||(_0x3a136a=new Map(),this['_boundEditables']['set'](_0x32801d,_0x3a136a));const _0x1f66eb=new Set(_0x32801d['ui']['getEditableElementsNames']());for(const _0x444f00 of _0x1f66eb){if(_0x3a136a['has'](_0x444f00))continue;const _0x17f435=_0x32801d['ui']['getEditableElement'](_0x444f00);_0x3a136a['set'](_0x444f00,_0x17f435),this['_attachMouseMarkerInteractionListeners'](_0x17f435);}for(const [_0x26f291,_0x5103c]of _0x3a136a)_0x1f66eb['has'](_0x26f291)||(_0x3a136a['delete'](_0x26f291),this['_domEmitter']['stopListening'](_0x5103c));}_attachMouseMarkerInteractionListeners(_0x164e35){this['_domEmitter']['listenTo'](_0x164e35,'mouseup',(_0xd2782,_0x40f735)=>{const _0x42d8a2=_0x40f735['target'],_0x3b3aea=this['_findMarkerElement'](_0x42d8a2);if(!_0x3b3aea)return;const _0x400fee=_0x3b3aea['getAttribute']('data-marker-id'),_0x35d336=_0x400fee['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x400fee,'changeId':_0x35d336,'markerElement':()=>this['_findMarkerElementById'](_0x400fee),'domEvent':_0x40f735});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x164e35,'mouseover',(_0xf64742,_0x47ab7f)=>{const _0x442eee=_0x47ab7f['target'],_0x311c49=_0x47ab7f['relatedTarget'];let _0x1df030=this['_findMarkerElement'](_0x442eee);if(!_0x1df030&&_0x311c49&&(_0x1df030=this['_findMarkerElement'](_0x311c49)),!_0x1df030)return;const _0x40b91e=_0x1df030['getAttribute']('data-marker-id'),_0x2bab0c=_0x40b91e['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x2bab0c,'markerElement':()=>this['_findMarkerElementById'](_0x40b91e),'domEvent':_0x47ab7f});});}_registerGlobalBalloonBlurHandler(){this['_domEmitter']['listenTo'](document,'mouseover',_0xa307bf((_0xeaea73,_0x42d0f3)=>{const _0x2cff64=_0x42d0f3['target'];this['_findMarkerElement'](_0x2cff64)||_0x2cff64['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8));}getDocumentData(_0x2e2fca){const _0x3e3210=this['context']['plugins']['get']('AIEditing'),_0x2a453d=_0x483724(this['context']);if(!_0x2a453d['length'])throw new _0x491313['CKEditorError']('ai-get-editor-from-context-no-editor',this);const _0x5c2109=_0x2e2fca?.['roots'];if(_0x5c2109&&0x0===_0x5c2109['length'])throw new _0x491313['CKEditorError']('ai-reviewcoreediting-empty-roots',this);const _0x4c1a09=_0x5c2109?new Set(_0x5c2109['map'](_0x33878b=>_0x33878b['channelId']+'\x00'+_0x33878b['rootName'])):null,_0x1c0664=_0x4c1a09?new Set():null,_0x8983ea=new Set(),_0x2b7c5e=[],_0xd58924=new Map(),_0x24af7a=[];for(const _0x3a4ff0 of _0x2a453d){const _0x41e9bb=_0x3a4ff0['config']['get']('collaboration.channelId');for(const _0x3ba904 of _0x3a4ff0['model']['document']['getRoots']()){const _0x17bec0=_0x41e9bb+'\x00'+_0x3ba904['rootName'];if(_0x4c1a09&&!_0x4c1a09['has'](_0x17bec0))continue;const _0x55cda2=this['_buildDocumentDataSliceForRoot'](_0x3a4ff0,_0x3ba904,_0x3e3210,_0x8983ea);_0x2b7c5e['push'](_0x55cda2['content']);for(const [_0xcac9f7,_0x5644e5]of _0x55cda2['elements'])_0xd58924['set'](_0xcac9f7,_0x5644e5);_0x24af7a['push']({'channelId':_0x41e9bb,'rootName':_0x3ba904['rootName']}),_0x1c0664?.['add'](_0x17bec0);}}if(_0x5c2109&&_0x1c0664['size']!==_0x4c1a09['size']){const _0x43c858=_0x5c2109['find'](_0x347af1=>!_0x1c0664['has'](_0x347af1['channelId']+'\x00'+_0x347af1['rootName']));throw new _0x491313['CKEditorError']('ai-reviewcoreediting-root-not-found',this,{'channelId':_0x43c858['channelId'],'rootName':_0x43c858['rootName']});}return{'elements':_0xd58924,'content':_0x2b7c5e['join'](''),'roots':_0x24af7a};}async['runCheck'](_0x397e87,_0x1ff602){const _0x204a8e=new _0x19639f(),_0x3f04c0=_0x1ff602?.['signal'];let _0x1baf23;const _0x1359d7=()=>{_0x204a8e['abort'](),_0x397e87['abort']();};if(_0x3f04c0){if(_0x3f04c0['aborted'])return _0x1359d7(),_0x204a8e;_0x3f04c0['addEventListener']('abort',_0x1359d7),_0x1baf23=()=>_0x3f04c0['removeEventListener']('abort',_0x1359d7);}const _0x20623f={'apiId':_0x397e87['sourceCheck']['apiId']};try{_0x397e87['on']('reviewCheckRunUpdated',(_0x59157e,_0xf10c4d)=>{'aborted'===_0xf10c4d['status']?_0x204a8e['abort']():'error-general'!==_0xf10c4d['status']&&'error-chunk'!==_0xf10c4d['status']||(_0x204a8e['error']=_0x4f02dc(_0xf10c4d['error'],'ai-reviewcoreediting-check-run-failed',this,_0x20623f));}),'aborted'!==_0x204a8e['status']&&await _0x397e87['start']();}catch(_0x19f488){_0x204a8e['error']=_0x4f02dc(_0x19f488,'ai-reviewcoreediting-check-run-failed',this,_0x20623f);}finally{_0x1baf23&&_0x1baf23();}return'error'===_0x204a8e['status']||'aborted'===_0x204a8e['status']||(_0x204a8e['addResult'](...this['_buildPerRootResults'](_0x397e87)),_0x204a8e['status']='completed'),_0x204a8e;}buildErrorContext(_0x48d4d4){return{'apiId':_0x48d4d4['sourceCheck']['apiId']};}_buildPerRootResults(_0x1ab967){const _0x25bb3c=this['buildErrorContext'](_0x1ab967),_0x55f88b=this['context']['plugins']['get']('AIEditing'),_0x3ad575=this['context']['plugins']['get']('AIGateway'),_0x890307=this['_groupElementsByRoot'](_0x1ab967['documentData']['elements']),_0x43afd7=new Map();for(const _0x1619a3 of _0x483724(this['context']))_0x43afd7['set'](_0x1619a3['config']['get']('collaboration.channelId'),_0x1619a3);return _0x1ab967['documentData']['roots']['map'](({channelId:_0x11ebae,rootName:_0xb498bf})=>{const _0x3c90aa=_0x43afd7['get'](_0x11ebae),_0x54808a=new _0x56156b({'editor':_0x3c90aa,'rootName':_0xb498bf,'channelId':_0x11ebae,'sessionId':_0x55f88b['getSessionId'](_0x3c90aa)}),_0x229cef=_0x890307['get'](_0x54808a['editor'])?.['get'](_0x54808a['rootName'])??[];_0x54808a['contentRawOld']=_0x229cef['map'](_0x296211=>_0x296211['getContent']())['join'](''),_0x54808a['documentVersion']=_0x229cef[0x0]?.['documentVersion']??0x1;const _0x1efbe2=this['_collectResultAffectedBlocks'](_0x54808a,_0x1ab967['results'],_0x1ab967['documentData']['elements']);_0x54808a['affectedBlocks']=_0x1efbe2;try{_0x54808a['contentRawNew']=_0x26cf45(_0x3ad575['mergeChangesIntoContent'](_0x1efbe2,_0x54808a['contentRawOld'],_0x54808a['editor']));}catch(_0x59313c){_0x54808a['error']=_0x4f02dc(_0x59313c,'ai-reviewcoreediting-check-run-failed',this,_0x25bb3c);}return _0x54808a;});}_collectResultAffectedBlocks(_0x550962,_0xf645a2,_0x327584){return _0xf645a2['filter'](_0x50ec81=>{const _0x1946f5=_0x327584['get'](_0x50ec81['id']);return!!_0x1946f5&&_0x1946f5['editor']===_0x550962['editor']&&_0x1946f5['rootName']===_0x550962['rootName'];})['map'](_0x8ddeb0=>({'id':_0x8ddeb0['id'],'content':_0x8ddeb0['contentNew']}));}_groupElementsByRoot(_0xc22566){const _0xb1f061=new Map();for(const _0x5046a3 of _0xc22566['values']()){let _0x2c3c7b=_0xb1f061['get'](_0x5046a3['editor']);_0x2c3c7b||(_0x2c3c7b=new Map(),_0xb1f061['set'](_0x5046a3['editor'],_0x2c3c7b));let _0x38838f=_0x2c3c7b['get'](_0x5046a3['rootName']);_0x38838f||(_0x38838f=[],_0x2c3c7b['set'](_0x5046a3['rootName'],_0x38838f)),_0x38838f['push'](_0x5046a3);}return _0xb1f061;}_buildDocumentDataSliceForRoot(_0x4911a5,_0x59fd2,_0x2dffce,_0x49777b){const _0x76e438=_0x4911a5['model'],_0x683c45=new _0x491313['ModelDocumentFragment']();for(const _0x548f0c of _0x59fd2['getChildren']())_0x683c45['_appendChild'](_0x548f0c['_clone'](!0x0));for(const _0x9fd2d4 of _0x76e438['markers']){const _0x217cbf=_0x9fd2d4['getRange']();_0x217cbf&&_0x217cbf['root']['rootName']===_0x59fd2['rootName']&&_0x683c45['markers']['set'](_0x9fd2d4['name'],this['_changeRangeOwnerDocument'](_0x217cbf['clone'](),_0x683c45));}const _0xc176a6=new Map(),_0x2f3ca5=_0x76e438['document']['version'];if(_0x559912(_0x4911a5,_0x59fd2['rootName'])){let _0x2f8ef3=this['_inlineRootDataIds']['get'](_0x59fd2);_0x2f8ef3?_0x49777b['add'](_0x2f8ef3):(_0x2f8ef3=_0x2dffce['_nextDataId'](_0x49777b),this['_inlineRootDataIds']['set'](_0x59fd2,_0x2f8ef3));const _0x1a454b=_0x550173(_0x4911a5['data']['processor']['toData'](_0x4911a5['data']['toView'](_0x683c45)),_0x2f8ef3);return _0xc176a6['set'](_0x2f8ef3,{'editor':_0x4911a5,'rootName':_0x59fd2['rootName'],'path':[],'documentVersion':_0x2f3ca5,'getContent':()=>_0x1a454b}),{'content':_0x1a454b,'elements':_0xc176a6};}const _0x5c81ff=new _0x491313['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x76e438['createPositionAt'](_0x683c45,0x0)});for(const {item:_0x3fa814}of _0x5c81ff){if(_0x3fa814['is']('element')&&_0x3fa814['name']&&_0xd308e9['includes'](_0x3fa814['name'])){const _0x3db6b6=this['_upsertDataId'](_0x3fa814,()=>_0x2dffce['_nextDataId'](_0x49777b));_0x49777b['add'](_0x3db6b6);}if(!_0x3fa814['is']('$textProxy'))continue;const _0x17b117=_0x3fa814['parent'];if(!_0x17b117||!_0x17b117['is']('element'))continue;const _0x2a55a7=this['_upsertDataId'](_0x17b117,()=>_0x2dffce['_nextDataId'](_0x49777b));_0x49777b['add'](_0x2a55a7);for(const _0x4f49db of _0x17b117['getChildren']())_0x4f49db['is']('element')&&(_0x4f49db['name']&&_0x5d6cc0['includes'](_0x4f49db['name'])||_0x49777b['add'](this['_upsertDataId'](_0x4f49db,()=>_0x2dffce['_nextDataId'](_0x49777b))));let _0x4fbd8c=_0x17b117;for(;_0x4fbd8c['parent']&&!_0x4fbd8c['parent']['is']('documentFragment');)_0x4fbd8c=_0x4fbd8c['parent'],_0x4fbd8c['hasAttribute']('$elementId')&&_0x4fbd8c['_removeAttribute'](_0x27eb29);_0xc176a6['set'](_0x2a55a7,{'editor':_0x4911a5,'rootName':_0x59fd2['rootName'],'path':_0x17b117['getPath'](),'documentVersion':_0x2f3ca5,'getContent':this['_createGetContentUsingDataIdFn'](_0x4fbd8c['_clone'](!0x0),_0x2a55a7,_0x4911a5['data'])}),_0x5c81ff['jumpTo'](_0x76e438['createPositionAfter'](_0x17b117));}return{'content':_0x4911a5['data']['processor']['toData'](_0x4911a5['data']['toView'](_0x683c45)),'elements':_0xc176a6};}diffContent(_0x241d79,_0x22c886,_0x1f2d23,_0x3c0785=!0x1){const {contentInitial:_0x55145a,contentNew:_0xb631c9}=this['_neutralizeChangesOnUnsupportedElements'](_0x22c886,_0x1f2d23),_0x158fca=[],_0x2eb397=_0x241d79['data']['parse'](_0xb631c9,'$documentFragment'),_0x2c4bf2=_0x241d79['data']['parse'](_0x55145a,'$documentFragment'),_0x491926=_0x241d79['model']['createPositionAt'](_0x2c4bf2,0x0);if(this['_haveSingleTopLevelElement'](_0x2eb397)){if(!this['_hasSameTopLevelElement'](_0x2c4bf2,_0x2eb397))return _0x158fca;}else{const _0x1946e0=_0x241d79['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x2c4bf2,_0x1946e0)||!this['_haveOnlyInlineContent'](_0x2eb397,_0x1946e0))return _0x158fca;}const _0x2cf150=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x55145a,_0xb631c9,{'targetEditor':_0x241d79,'anchor':_0x491926,'markDeletions':!0x0})['getOperations']()['filter'](_0x4fba7e=>'insert'===_0x4fba7e['type']||'marker'===_0x4fba7e['type']&&_0x4fba7e['name']['startsWith']('$markedRemove')),_0x5da80d=this['_groupAdjacentOperations'](_0x2cf150),_0x2654e3=[];if(_0x3c0785){if(_0x5da80d['length']){const _0x229d91=_0x5da80d[0x0]['operations'][0x0],_0x5aa980='insert'===_0x229d91['type']?_0x229d91['position']:_0x229d91['newRange']['start'],_0x4d880b=this['_getPositionLimitingRange'](_0x5aa980,_0x241d79,'inside'),_0x221080=_0x4d880b?_0x2eb397['getChild'](0x0)['getChildren']():_0x2eb397['getChildren'](),_0x46916a=_0x4d880b||_0x241d79['model']['createRangeIn'](_0x2c4bf2),_0xcfc51b=[new _0x491313['MarkerOperation']('$markedRemove:synthetic'+(0x0,_0x491313['uid'])(),null,_0x46916a,_0x241d79['model']['document']['model']['markers'],!0x0,_0x241d79['model']['document']['version']+0x1),new _0x491313['InsertOperation'](_0x46916a['end'],_0x221080,_0x241d79['model']['document']['version']+0x2)];_0x2654e3['push']({'operations':_0xcfc51b,'operationsIsolated':_0xcfc51b,'groupOffset':0x0});}}else _0x2654e3['push'](..._0x5da80d);let _0x418e03=0x0;return _0x241d79['model']['change'](_0x256b9b=>{for(let _0x2534d9=0x0;_0x2534d9<_0x2654e3['length'];_0x2534d9++){const _0x2ed974=_0x2654e3[_0x2534d9],_0x4bd3f0=_0x256b9b['createDocumentFragment']();for(const _0xb85c37 of _0x2c4bf2['getChildren']())_0x256b9b['append'](_0xb85c37['_clone'](!0x0),_0x4bd3f0);for(const _0x32d06d of _0x2ed974['operationsIsolated'])if('insert'===_0x32d06d['type']){const _0xb28c00=_0x32d06d;_0xb28c00['baseVersion']=null,_0xb28c00['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0xb28c00,_0x4bd3f0),_0x256b9b['batch']['addOperation'](_0x32d06d),_0x241d79['model']['applyOperation'](_0x32d06d);const _0x58407d='suggestion:insertion:id:authorId:'+_0x418e03++,_0x275ac6=_0x241d79['model']['createRange'](_0xb28c00['position'],_0xb28c00['position']['getShiftedBy'](_0xb28c00['howMany']));_0x4bd3f0['markers']['set'](_0x58407d,_0x275ac6);}else{if('marker'===_0x32d06d['type']&&_0x32d06d['name']['startsWith']('$markedRemove')){const _0x31a464=_0x32d06d,_0x3516f3='suggestion:deletion:id:authorId:'+_0x418e03++;this['_changeOperationOwnerDocument'](_0x31a464,_0x4bd3f0),_0x4bd3f0['markers']['set'](_0x3516f3,_0x31a464['newRange']);}}if(_0x3c0785)_0x158fca['push']({..._0x2ed974,'context':this['_createGetContentFn'](_0x2c4bf2,_0x241d79['data']),'content':this['_createGetContentFn'](_0x2c4bf2,_0x241d79['data'])});else{const _0x21eab4=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x2ed974['operationsIsolated'][0x0]),_0x4bd3f0),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x2ed974['operationsIsolated'][_0x2ed974['operationsIsolated']['length']-0x1]),_0x4bd3f0),_0x241d79);_0x4bd3f0['markers']['set'](_0xd2d1eb+'suggestion-context',new _0x491313['ModelRange'](_0x21eab4['start'],_0x21eab4['end'])),_0x158fca['push']({..._0x2ed974,'context':this['_createGetContextFn'](_0x4bd3f0,_0x241d79['data'],{'ellipsisBefore':_0x21eab4['hasContentBefore'],'ellipsisAfter':_0x21eab4['hasContentAfter']}),'content':this['_createGetContentFn'](_0x4bd3f0,_0x241d79['data'])});}}}),_0x158fca;}markChangePositionInEditorContent(_0x59b733,_0x1d70cb){if(!_0x59b733['length'])return;const _0xd5fc9d=_0x59b733[0x0]['parent']['id'],_0xdcfb31=_0x1d70cb['elements']['get'](_0xd5fc9d);if(!_0xdcfb31)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0xd5fc9d);const _0xc80d13=_0xdcfb31['path'],_0x1b01ca=_0xdcfb31['editor'],_0xc1eeed=_0x1b01ca['model']['document']['getRoot'](_0xdcfb31['rootName']);if(!_0xc1eeed)return void console['warn']('No\x20model\x20root\x20found\x20for\x20name:\x20'+_0xdcfb31['rootName']);const _0x2f04b2=_0x1b01ca['model']['document']['history']['getOperations'](_0xdcfb31['documentVersion']),_0x5b5d43=[];for(const _0x501e1a of _0x59b733){const _0x151ffe=_0x501e1a['operationsIsolated']['map'](_0x4d72c5=>this['_translateOperationToEditorContent'](_0x4d72c5,_0xc80d13,_0xc1eeed));if(!_0x151ffe||!_0x151ffe['length'])continue;const _0x9c7f60=_0x151ffe['every'](_0x50ebb8=>'marker'===_0x50ebb8['type']&&_0x50ebb8['name']['startsWith']('$markedRemove')),_0x2c609e=(0x0,_0x491313['transformOperationSets'])(_0x151ffe,_0x2f04b2,{'document':_0x1b01ca['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1})['operationsA'];for(const _0x3f3c00 of _0x2c609e)if('insert'===_0x3f3c00['type']){const _0x176a76=_0x3f3c00,_0x11f8ae=_0x176a76['nodes'];_0x1b01ca['model']['change'](_0x5355b0=>{const _0x3b4e7d=_0x5355b0['createDocumentFragment']();for(const _0x1f2e5d of _0x11f8ae)_0x5355b0['append'](_0x1f2e5d['_clone'](!0x0),_0x3b4e7d);_0x5b5d43['push']({'start':_0x176a76['position'],'end':_0x176a76['position'],'type':'insert','groupId':_0x501e1a['id'],'content':{'asString':this['_createGetContentFn'](_0x3b4e7d,_0x1b01ca['data'])(),'asFragment':_0x3b4e7d}});});}else{if('marker'===_0x3f3c00['type']&&_0x3f3c00['name']['startsWith']('$markedRemove')){const _0x45f956=_0x3f3c00;let _0x3ec725='remove-text';if(_0x9c7f60){const _0x576e76=this['_findAdjacentContextDistance'](_0x45f956['newRange']['start'],'backward',_0x1b01ca['model']['schema']),_0xa29cb9=this['_findAdjacentContextDistance'](_0x45f956['newRange']['end'],'forward',_0x1b01ca['model']['schema']);if(_0x576e76||_0xa29cb9){const _0x40503b=_0x45f956['newRange']['start']['getShiftedBy'](-_0x576e76),_0x5bc2bf=_0x45f956['newRange']['end']['getShiftedBy'](_0xa29cb9);_0x5b5d43['push']({'start':_0x40503b,'end':_0x5bc2bf,'groupId':_0x501e1a['id'],'type':'remove-context'});}else _0x3ec725='remove-only';}_0x5b5d43['push']({'start':_0x45f956['newRange']['start'],'end':_0x45f956['newRange']['end'],'groupId':_0x501e1a['id'],'type':_0x3ec725});}}}this['_insertMarkers'](_0x5b5d43,_0x1b01ca);}['clearAllMarkers'](){const _0x4e5976=new Map();for(const _0x2ed39e of this['_markers']['keys']()){const _0x16cf0b=this['_markers']['get'](_0x2ed39e);_0x16cf0b?.['editor']&&(_0x4e5976['has'](_0x16cf0b['editor'])||_0x4e5976['set'](_0x16cf0b['editor'],[]),_0x4e5976['get'](_0x16cf0b['editor'])['push'](_0x2ed39e));}for(const [_0x3c38ec,_0x1fd063]of _0x4e5976)_0x3c38ec['model']['change'](_0xd6cb52=>{for(const _0x4974b4 of _0x1fd063)_0x3c38ec['model']['markers']['get'](_0x4974b4)&&_0xd6cb52['removeMarker'](_0x4974b4);});this['_markers']['clear'](),this['_activeMarkers']['clear']();}switchToReadOnly(){for(const _0x3847ec of this['getEditors']())_0x3847ec['enableReadOnlyMode']('ai-review');}switchToEdit(){for(const _0x5bdb74 of this['getEditors']())_0x5bdb74['disableReadOnlyMode']('ai-review');}['applyChange'](_0x49b32d,_0x474da2=null){const _0x5ee2cb=_0x49b32d['map'](_0x496db0=>this['_getMarkersDataForGroup'](_0x496db0))['flat'](),_0x3c88b8=new Map();for(const _0x4d2544 of _0x5ee2cb)_0x3c88b8['has'](_0x4d2544['editor'])||_0x3c88b8['set'](_0x4d2544['editor'],[]),_0x3c88b8['get'](_0x4d2544['editor'])['push'](_0x4d2544);for(const [_0xa4e743,_0x33cedd]of _0x3c88b8){const _0x134d90=_0xa4e743['model'],_0xa85f08=_0xa4e743['plugins']['has']('TrackChangesEditing')?_0xa4e743['plugins']['get']('TrackChangesEditing'):null,_0x563f23=_0x474da2&&_0xa85f08?new Set(_0xa85f08['getSuggestions']()['map'](_0x333750=>_0x333750['id'])):null;_0x134d90['change'](_0x4fd0e9=>{const _0xdd7f54=_0x4fd0e9['batch']['operations']['length'];for(const _0x3b587e of _0x33cedd){const _0x501af7=_0xa4e743['model']['markers']['get'](_0x3b587e['id']);if(_0x501af7){if('insert'===_0x3b587e['type']){if(!_0x3b587e['content'])continue;_0x134d90['insertContent'](_0x3b587e['content']['asFragment']||null,_0x501af7['getRange']()['start']);}else'remove-text'!==_0x3b587e['type']&&'remove-only'!==_0x3b587e['type']||_0x134d90['deleteContent'](_0x134d90['createSelection'](_0x501af7['getRange']()));_0x4fd0e9['removeMarker'](_0x3b587e['id']),this['_markers']['delete'](_0x3b587e['id']);}}if(_0x474da2&&(_0x14ee9e(_0x4fd0e9['batch']['operations']['slice'](_0xdd7f54),_0x474da2),_0xa85f08)){for(const _0x1e0191 of _0xa85f08['getSuggestions']())_0x563f23['has'](_0x1e0191['id'])||_0x1e0191['setAttribute']('@ai',{'type':_0x474da2});}});}}rejectChange(_0x510cef){const _0x11de6c=this['_getMarkersDataForGroup'](_0x510cef),_0x17591f=new Map();for(const _0x75ed2e of _0x11de6c)_0x17591f['has'](_0x75ed2e['editor'])||_0x17591f['set'](_0x75ed2e['editor'],[]),_0x17591f['get'](_0x75ed2e['editor'])['push'](_0x75ed2e);for(const [_0x17a1fc,_0x309dc7]of _0x17591f)_0x17a1fc['model']['change'](_0x1c64e2=>{for(const _0x158fa5 of _0x309dc7)_0x1c64e2['removeMarker'](_0x158fa5['id']),this['_markers']['delete'](_0x158fa5['id']);});}getEditor(){return _0x4775f6(this['context']);}getEditors(){return _0x483724(this['context']);}getEditorForChange(_0x4a72a9){return this['_getMarkersDataForGroup'](_0x4a72a9)[0x0]?.['editor'];}getMarkerElementForChange(_0x6778b5){const _0x3d1779=Array['from'](this['_markers']['values']())['filter'](_0x5eeb9=>_0x5eeb9['groupId']===_0x6778b5);if(!_0x3d1779['length'])return null;const _0x308a7d=0x1===_0x3d1779['length']?_0x3d1779[0x0]:this['_sortMarkers'](_0x3d1779)[0x0],_0x24e45a=_0x308a7d['editor']['model']['markers']['get'](_0x308a7d['id']);return _0x24e45a?{'modelRange':_0x24e45a['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x308a7d['id'])}:null;}getContentElementForChange(_0x3e31df){const _0x16a0b7=Array['from'](this['_markers']['values']())['filter'](_0x305a8c=>_0x305a8c['groupId']===_0x3e31df);if(!_0x16a0b7['length'])return null;const _0x446153=0x1===_0x16a0b7['length']?_0x16a0b7[0x0]:this['_sortMarkers'](_0x16a0b7)[0x0],_0x19a61b=_0x446153['editor'],_0x511484=_0x19a61b['model']['markers']['get'](_0x446153['id']);if(!_0x511484)return null;const _0x3d7a4d=_0x511484['getRange'](),_0x1e8880=_0x19a61b['editing']['view']['getDomRoot'](_0x3d7a4d['root']['rootName'])||_0x19a61b['editing']['view']['getDomRoot']();if(!_0x1e8880||!_0x3d7a4d)return null;let _0x2ac0f2=_0x3d7a4d['start']['parent'];for(;_0x2ac0f2['parent']&&!_0x2ac0f2['parent']['is']('rootElement');)_0x2ac0f2=_0x2ac0f2['parent'];if(!_0x2ac0f2||!_0x2ac0f2['name'])return null;const _0x5f0422=_0x1e8880['querySelector']('[data-marker-id=\x22'+_0x446153['id']+'\x22]');if(!_0x5f0422)return null;if(_0x2ac0f2['is']('rootElement'))return _0x5f0422;let _0x943fbf=null;_0x19a61b['model']['change'](_0x4bd807=>{_0x943fbf=_0x4bd807['createDocumentFragment'](),_0x4bd807['append'](_0x2ac0f2['_clone'](!0x0),_0x943fbf);});const _0x4eb7bb=_0x19a61b['data']['toView'](_0x943fbf)['getChild'](0x0);return _0x5f0422['closest'](_0x4eb7bb['name']);}reactivateMarkers(_0x156366){const _0x129899=this['_getMarkersDataForGroup'](_0x156366);if(!_0x129899['length'])return;const _0x2ec17c=Array['from'](this['_activeMarkers'])['sort'](),_0xd62dcb=Array['from'](new Set(_0x129899['map'](_0x437e1f=>_0x437e1f['id'])))['sort']();_0x2ec17c['join']('|')!==_0xd62dcb['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x156366));}setMarkersInElementAsActive(_0x392820){const _0xe20587=this['_getMarkersDataForGroup'](_0x392820);if(!_0xe20587['length'])return;const _0x3a9007=_0xe20587[0x0]['editor'],_0x136310=new Set(_0xe20587['map'](_0x342bda=>_0x342bda['id'])),_0x4a2c54=Array['from'](_0x136310['values']())['map'](_0x31d68d=>_0x3a9007['model']['markers']['get'](_0x31d68d))['filter'](_0x108ae2=>!!_0x108ae2);_0x136310['forEach'](_0x310acf=>{this['_activeMarkers']['add'](_0x310acf);}),_0x3a9007['model']['change'](()=>{_0x4a2c54['forEach'](_0x5bf576=>{_0x3a9007['editing']['reconvertMarker'](_0x5bf576);});});}setAllMarkersAsInactive(){const _0x50c907=Array['from'](this['_activeMarkers']);if(!_0x50c907['length'])return;this['_activeMarkers']['clear']();const _0x4e7dc6=new Map();for(const _0x7f8e7 of _0x50c907){const _0xdbe4e1=this['_markers']['get'](_0x7f8e7);if(!_0xdbe4e1)continue;const _0x5a2993=_0xdbe4e1['editor'],_0x3aecc5=_0x5a2993['model']['markers']['get'](_0x7f8e7);_0x3aecc5&&(_0x4e7dc6['has'](_0x5a2993)||_0x4e7dc6['set'](_0x5a2993,[]),_0x4e7dc6['get'](_0x5a2993)['push'](_0x3aecc5));}for(const [_0x36b95e,_0x258015]of _0x4e7dc6)_0x36b95e['model']['change'](()=>{_0x258015['forEach'](_0x4fea34=>{_0x36b95e['editing']['reconvertMarker'](_0x4fea34);});});}_getPositionLimitingRange(_0x23cdd4,_0x35a7be,_0x175e28='outside'){if(!_0x23cdd4)return null;let _0x400d32=_0x23cdd4['parent'];for(;_0x400d32&&_0x400d32['parent']&&!_0x400d32['parent']['is']('rootElement')&&!_0x35a7be['model']['schema']['isLimit'](_0x400d32)&&!_0x35a7be['model']['schema']['isBlock'](_0x400d32);)_0x400d32=_0x400d32['parent'];if(!_0x400d32||!_0x400d32['name']||_0x400d32['is']('rootElement'))return null;let _0xa71357=null;return _0x35a7be['model']['change'](_0xe5bd0=>{_0xa71357='inside'===_0x175e28?_0xe5bd0['createRangeIn'](_0x400d32):_0xe5bd0['createRangeOn'](_0x400d32);}),_0xa71357;}_validateMarkers(_0x464479,_0x1cf04c){const _0x594a3f=Array['from'](this['_markers']['keys']()),_0x276352=new Map();for(const _0xacaad3 of _0x594a3f){const _0x18bfb5=_0x464479['model']['markers']['get'](_0xacaad3);if(!_0x18bfb5)continue;const _0x136f82=_0x18bfb5['getStart']()['root']['rootName']+':'+_0x18bfb5['getStart']()['path'][0x0];_0x276352['has'](_0x136f82)||_0x276352['set'](_0x136f82,[]),_0x276352['get'](_0x136f82)['push'](_0x18bfb5);}const _0x4b5f58=new Set();for(const _0x3a4895 of _0x464479['model']['document']['differ']['getChanges']()){let _0x7daf3f,_0x5f157d;if('insert'===_0x3a4895['type'])_0x5f157d=new _0x491313['ModelRange'](_0x3a4895['position'],_0x3a4895['position']['getShiftedBy'](_0x3a4895['length'])),_0x7daf3f=_0x3a4895['position']['root']['rootName']+':'+_0x3a4895['position']['path'][0x0];else{if('remove'!==_0x3a4895['type'])continue;_0x5f157d=new _0x491313['ModelRange'](_0x3a4895['position']),_0x7daf3f=_0x3a4895['position']['root']['rootName']+':'+_0x3a4895['position']['path'][0x0];}const _0x113803=_0x276352['get'](_0x7daf3f)||[];if(_0x113803['length']){for(const _0x2fdfc8 of _0x113803)if(_0x5f157d['root']['rootName']===_0x2fdfc8['getRange']()['root']['rootName']&&('insert'!==_0x3a4895['type']||!_0x5f157d['containsRange'](_0x2fdfc8['getRange']()))&&(_0x5f157d['isIntersecting'](_0x2fdfc8['getRange']())||_0x5f157d['start']['isTouching'](_0x2fdfc8['getRange']()['end'])||_0x5f157d['end']['isTouching'](_0x2fdfc8['getRange']()['start']))){const _0x16ecea=this['_parseMarkerName'](_0x2fdfc8['name']);Array['from'](this['_markers']['values']())['filter'](_0x396bc7=>_0x396bc7['groupId']===_0x16ecea['groupId'])['forEach'](_0x403e56=>_0x4b5f58['add'](_0x403e56['id']));}}}if(_0x4b5f58['size']){for(const _0x572897 of _0x4b5f58)_0x1cf04c['removeMarker'](_0x572897);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x4fefeb){for(const {name:_0x1a9afc,data:_0x50a861}of _0x4fefeb['model']['document']['differ']['getChangedMarkers']()){if(!_0x1a9afc['startsWith'](_0xd2d1eb))continue;const _0x5744f6=_0x50a861['oldRange'],_0x336b4f=_0x50a861['newRange'],_0x2b6e6e=_0x5744f6&&'$graveyard'===_0x5744f6['root']['rootName'],_0x18f1ff=_0x336b4f&&'$graveyard'===_0x336b4f['root']['rootName'];if(_0x2b6e6e&&_0x18f1ff)continue;const _0x212cca=this['_parseMarkerName'](_0x1a9afc);this['_markers']['get'](_0x1a9afc)&&(_0x18f1ff||!_0x336b4f?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x1a9afc,'changeId':_0x212cca['groupId']}):_0x2b6e6e&&_0x336b4f&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x1a9afc,'changeId':_0x212cca['groupId']}));}}['_parseMarkerName'](_0x20a7fd){const _0x2a5de2=_0x20a7fd['split'](':'),_0x1acb1c=(_0x2a5de2[0x1]||'')['split']('_');return{'prefix':_0x2a5de2[0x0],'groupId':_0x1acb1c[0x0],'suffix':_0x1acb1c[0x1]};}_translateOperationToEditorContent(_0x40f4a4,_0x59b32a,_0x3931d4){if('insert'===_0x40f4a4['type']){const _0x4043c7=_0x40f4a4;return new _0x491313['InsertOperation'](this['_changePosition'](_0x59b32a['concat'](_0x4043c7['position']['offset']),_0x3931d4),_0x4043c7['nodes'],_0x4043c7['baseVersion']);}if('marker'===_0x40f4a4['type']&&_0x40f4a4['name']['startsWith']('$markedRemove')){const _0x49ecfd=_0x40f4a4;return new _0x491313['MarkerOperation'](_0x49ecfd['name'],_0x49ecfd['oldRange'],this['_changeRange'](_0x49ecfd['newRange'],_0x59b32a['concat'](_0x49ecfd['newRange']['start']['offset']),_0x59b32a['concat'](_0x49ecfd['newRange']['end']['offset']),_0x3931d4),_0x49ecfd['_markers'],_0x49ecfd['affectsData'],_0x49ecfd['baseVersion']);}return _0x40f4a4;}_groupAdjacentOperations(_0x173d12){if(!_0x173d12['length'])return[];const _0x46a728=[];let _0x357728=0x0,_0x1adab5=0x0,_0x45b2ac=[];for(let _0x4c5c90=0x0;_0x4c5c90<=_0x173d12['length'];_0x4c5c90++){const _0x15b4c8=_0x173d12[_0x4c5c90],_0x494bdc=_0x173d12[_0x4c5c90-0x1];!_0x15b4c8||_0x494bdc&&!this['_getOperationEnd'](_0x494bdc)['isTouching'](this['_getOperationStart'](_0x15b4c8))?(_0x46a728['push']({'operations':_0x45b2ac,'operationsIsolated':_0x45b2ac['map'](_0x18f982=>this['_shiftOperation'](_0x18f982['clone'](),-_0x1adab5)),'groupOffset':_0x357728}),_0x45b2ac=_0x15b4c8?[_0x15b4c8]:[],_0x1adab5+=_0x357728,_0x357728=0x0):_0x45b2ac['push'](_0x15b4c8),_0x15b4c8&&'insert'===_0x15b4c8['type']&&(_0x357728+=_0x15b4c8['howMany']);}return _0x46a728;}_findAdjacentContextDistance(_0x4ff48f,_0x13142c,_0x3e759d,_0x373152=0x1){const _0x2a8602=new _0x491313['ModelTreeWalker']({'startPosition':_0x4ff48f,'direction':_0x13142c});let _0x24b3ad=0x0;for(let _0x5e5eac=0x0;_0x5e5eac<_0x373152;_0x5e5eac++){let _0x348314=0x0,_0x423d4b=!0x1,_0x3b92dd='forward'===_0x13142c?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x52e7a9}of _0x2a8602)if(_0x52e7a9['is']('$textProxy')){const _0x4feb88=_0x3b92dd['exec'](_0x52e7a9['data']);if(_0x4feb88&&_0x4feb88['length']){if(_0x348314+='forward'===_0x13142c?_0x4feb88['index']+_0x4feb88[0x0]['length']:_0x52e7a9['data']['length']-_0x4feb88['index'],_0x4feb88[0x0]['length']!==_0x52e7a9['data']['length'])break;_0x423d4b=!0x0,_0x3b92dd='forward'===_0x13142c?/^\w+/:/\w+$/;}else{if(_0x423d4b)break;_0x348314+=_0x52e7a9['offsetSize'];}}else{if(_0x52e7a9['is']('element')){_0x3e759d['isInline'](_0x52e7a9)&&!_0x423d4b&&(_0x348314+=0x1);break;}}_0x24b3ad+=_0x348314,_0x2a8602['jumpTo'](_0x4ff48f['getShiftedBy']('forward'===_0x13142c?_0x24b3ad:-_0x24b3ad));}return _0x24b3ad;}_getChangeContext(_0x5bbb55,_0x5c7c7d,_0x1be2ef){const _0x35e0fc=_0x1be2ef['model']['schema'],_0x4c3604=this['_findAdjacentContextDistance'](_0x5bbb55,'backward',_0x35e0fc,0x6),_0x55fe66=this['_findAdjacentContextDistance'](_0x5c7c7d,'forward',_0x35e0fc,0x6),_0x2d4a9a=_0x5bbb55['getShiftedBy'](-_0x4c3604),_0x555f44=_0x5c7c7d['getShiftedBy'](_0x55fe66);return{'start':_0x2d4a9a,'end':_0x555f44,'hasContentBefore':!_0x2d4a9a['isAtStart'],'hasContentAfter':!_0x555f44['isAtEnd']};}_insertMarkers(_0x34822c,_0x39abfb){const _0x40f72e=this['context']['plugins']['get']('AIEditing'),_0x24674c=new Set();_0x39abfb['model']['change'](_0xc4883e=>{for(const _0x46b434 of _0x34822c){const _0x2a723d=''+_0xd2d1eb+_0x46b434['type']+':'+_0x46b434['groupId']+'_'+_0x40f72e['_nextDataId'](_0x24674c);this['_markers']['set'](_0x2a723d,{'id':_0x2a723d,'groupId':_0x46b434['groupId'],'type':_0x46b434['type'],'content':_0x46b434['content'],'editor':_0x39abfb}),_0xc4883e['addMarker'](_0x2a723d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xc4883e['createRange'](_0x46b434['start'],_0x46b434['end'])});}});}_createGetContextFn(_0x5785f0,_0x3b504d,_0xcc45d5){let _0x4dcd27='';return()=>{if(!_0x4dcd27){const _0x335f09=_0x3b504d['toView'](_0x5785f0,{'showSuggestionHighlights':!0x0});let _0x2368f1=_0x335f09['getChild'](0x0);if(_0x2368f1['is']('containerElement')||(_0x2368f1=_0x335f09),!_0x2368f1)return'';let _0x298ab5=!0x1;const _0x23b063=[];for(const _0x424787 of _0x2368f1['getChildren']())_0x424787['is']('element','span')&&_0x424787['hasClass']('ck-ai_review-marker_context-end')&&(_0x298ab5=!0x1),_0x298ab5&&_0x23b063['push'](_0x424787),_0x424787['is']('element','span')&&_0x424787['hasClass']('ck-ai_review-marker_context-start')&&(_0x298ab5=!0x0);_0x2368f1['_removeChildren'](0x0,_0x2368f1['childCount']),_0xcc45d5?.['ellipsisBefore']&&_0x2368f1['_appendChild']('…'),_0x2368f1['_appendChild'](_0x23b063),_0xcc45d5?.['ellipsisAfter']&&_0x2368f1['_appendChild']('…');const _0x477a42=_0x3b504d['htmlProcessor']['domConverter']['viewToDom'](_0x335f09),_0x7bb93d=_0x3b504d['htmlProcessor']['htmlWriter']['getHtml'](_0x477a42);_0x4dcd27=this['_removeUnsupportedElements'](_0x7bb93d);}return _0x4dcd27;};}_createGetContentFn(_0x548ee3,_0x491200){let _0x275aa8='';return()=>(_0x275aa8||(_0x275aa8=this['_removeUnsupportedElements'](_0x491200['stringify'](_0x548ee3,{'showSuggestionHighlights':!0x0}))),_0x275aa8);}_createGetContentUsingDataIdFn(_0xd5cae8,_0x5cdc83,_0xe26083){let _0x24a3f2='';return()=>{if(!_0x24a3f2){const _0x388420=_0xe26083['toView'](new _0x491313['ModelDocumentFragment'](_0xd5cae8));_0x24a3f2=_0xe26083['htmlProcessor']['domConverter']['viewToDom'](_0x388420)['querySelector']('[data-id=\x22'+_0x5cdc83+'\x22]')?.['outerHTML']||'';}return _0x24a3f2;};}_removeUnsupportedElements(_0x24841a){if(!_0x24841a)return'';const _0x4573eb=_0x5ec6ac(_0x24841a,{'decodeEntities':!0x1}),_0x2001e8=_0x312367(_0x4573eb);if(!_0x2001e8['length'])return _0x24841a;for(const _0x56b0e1 of _0x2001e8)_0x5862cf(_0x56b0e1);return _0x26cf45(_0x4573eb,{'encodeEntities':!0x1});}_neutralizeChangesOnUnsupportedElements(_0x2d8667,_0x44701f){const _0x44133d=_0x5ec6ac(_0x2d8667,{'decodeEntities':!0x1}),_0x444560=_0x5ec6ac(_0x44701f,{'decodeEntities':!0x1}),_0x140827=_0x312367(_0x44133d),_0x1f4748=_0x312367(_0x444560);if(!_0x140827['length']&&!_0x1f4748['length'])return{'contentInitial':_0x2d8667,'contentNew':_0x44701f};const _0x4d5a97=new Map(),_0x4484da=new Map();for(const _0x5052d0 of _0x140827){const _0x30baa1=_0x42e922(_0x5052d0,'data-id');if(_0x30baa1)_0x4d5a97['set'](_0x30baa1,_0x5052d0);else{const _0x16b4c0=_0x26cf45(_0x5052d0,{'encodeEntities':!0x1}),_0x4e201e=_0x4484da['get'](_0x16b4c0);_0x4e201e?_0x4e201e['push'](_0x5052d0):_0x4484da['set'](_0x16b4c0,[_0x5052d0]);}}for(const _0x279a91 of _0x1f4748){const _0x1df446=_0x42e922(_0x279a91,'data-id');let _0x5924e2;if(_0x1df446)_0x5924e2=_0x4d5a97['get'](_0x1df446);else{const _0x4ae6f3=_0x4484da['get'](_0x26cf45(_0x279a91,{'encodeEntities':!0x1}));_0x5924e2=_0x4ae6f3&&_0x4ae6f3['length']?_0x4ae6f3['shift']():void 0x0;}_0x5924e2?_0x47f66b(_0x279a91,_0x3bf1db(_0x5924e2,!0x0)):_0x5862cf(_0x279a91);}return{'contentInitial':_0x26cf45(_0x44133d,{'encodeEntities':!0x1}),'contentNew':_0x26cf45(_0x444560,{'encodeEntities':!0x1})};}_findMarkerElement(_0x2871e5,_0x33e46d=0x5){let _0x2c1390=_0x2871e5,_0x4e4076=null;for(let _0x4df8f8=0x0;_0x4df8f8<_0x33e46d&&_0x2c1390;_0x4df8f8++)if(_0x2c1390['className']){if((''+_0x2c1390['className'])['includes']('ck-ai_review-marker_')){if(!_0x2c1390['getAttribute']('data-marker-id'))break;_0x4e4076=_0x2c1390;break;}_0x2c1390=_0x2c1390['parentElement'];}else _0x2c1390=_0x2c1390['parentElement'];return _0x4e4076;}_findMarkerElementById(_0x4b95e2){const _0x5f43a7=this['_markers']['get'](_0x4b95e2);if(!_0x5f43a7)return null;const _0x43d448=_0x5f43a7['editor']['model']['markers']['get'](_0x4b95e2);return _0x43d448?_0x5d9ca5(_0x5f43a7['editor']['editing'],_0x43d448):null;}_getMarkersDataForGroup(_0x507007){return Array['from'](this['_markers']['values']())['filter'](_0x388a61=>_0x388a61['groupId']===_0x507007);}_getOperationStart(_0x1eaea4){return'insert'===_0x1eaea4['type']?_0x1eaea4['position']:_0x1eaea4['newRange']['start'];}_getOperationEnd(_0x2a1626,_0x5ef4bd=!0x1){return'insert'===_0x2a1626['type']?_0x5ef4bd?_0x2a1626['position']:_0x2a1626['position']['getShiftedBy'](_0x2a1626['howMany']):_0x2a1626['newRange']['end'];}_shiftOperation(_0x32dcfd,_0x1b3057){return'insert'===_0x32dcfd['type']?_0x32dcfd['position']=_0x32dcfd['position']['getShiftedBy'](_0x1b3057):'marker'===_0x32dcfd['type']&&_0x32dcfd['newRange']&&(_0x32dcfd['newRange']=new _0x491313['ModelRange'](_0x32dcfd['newRange']['start']['getShiftedBy'](_0x1b3057),_0x32dcfd['newRange']['end']['getShiftedBy'](_0x1b3057))),_0x32dcfd;}_changeOperationOwnerDocument(_0x2ea05a,_0x895f93){'insert'===_0x2ea05a['type']?_0x2ea05a['position']=this['_changePositionOwnerDocument'](_0x2ea05a['position'],_0x895f93):'marker'===_0x2ea05a['type']&&_0x2ea05a['newRange']&&(_0x2ea05a['newRange']=this['_changeRangeOwnerDocument'](_0x2ea05a['newRange'],_0x895f93));}_changePositionOwnerDocument(_0xaacf71,_0x3c2fb1){return new _0x491313['ModelPosition'](_0x3c2fb1,_0xaacf71['path']);}_changeRangeOwnerDocument(_0xef5adb,_0x223cba){return new _0x491313['ModelRange'](this['_changePositionOwnerDocument'](_0xef5adb['start'],_0x223cba),this['_changePositionOwnerDocument'](_0xef5adb['end'],_0x223cba));}_changePosition(_0x2d6ac,_0xb7eacd){return new _0x491313['ModelPosition'](_0xb7eacd,[..._0x2d6ac]);}['_changeRange'](_0x1227d5,_0x5c90c1,_0x3c3d04,_0x58b420){return new _0x491313['ModelRange'](this['_changePosition'](_0x5c90c1,_0x58b420),this['_changePosition'](_0x3c3d04,_0x58b420));}_sortMarkers(_0x3bc715){const _0x45fd20=_0x4a6252=>{switch(_0x4a6252){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x3bc715['sort']((_0x4c50f4,_0x56efd7)=>_0x45fd20(_0x4c50f4['type'])-_0x45fd20(_0x56efd7['type']));}_hasSameTopLevelElement(_0x11f05c,_0x9943e3){const _0x18d2d4=_0x11f05c['getChild'](0x0),_0x108aea=_0x9943e3['getChild'](0x0);return!(!_0x18d2d4||!_0x108aea)&&((!_0x18d2d4['is']('element')||!_0x108aea['is']('element')||_0x18d2d4['name']===_0x108aea['name'])&&!(_0x18d2d4['is']('element')&&!_0x108aea['is']('element')||!_0x18d2d4['is']('element')&&_0x108aea['is']('element')));}_haveSingleTopLevelElement(_0x5b7398){return 0x1===_0x5b7398['childCount'];}_haveOnlyInlineContent(_0x172968,_0x36e149){for(const _0x345d3f of _0x172968['getChildren']())if(_0x345d3f['is']('element')&&!_0x36e149['isInline'](_0x345d3f))return!0x1;return!0x0;}_upsertDataId(_0x4fb983,_0x4389e0){let _0x1f9573=_0x4fb983['getAttribute'](_0x27eb29);return _0x1f9573||(_0x1f9573=_0x4389e0(),_0x4fb983['_setAttribute'](_0x27eb29,_0x1f9573)),_0x1f9573;}};const _0x145c98=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['EmitterMixin'])();var _0x1c1c24=class extends _0x145c98{['id'];contentNew;contentInitial;documentVersion;constructor({id:_0x4aa779,contentNew:_0x48f14c,contentInitial:_0xe2e115,documentVersion:_0x5e78bc}){super(),this['id']=_0x4aa779,this['contentNew']=_0x48f14c,this['contentInitial']=_0xe2e115,this['documentVersion']=_0x5e78bc;}};const _0x5653c0=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x12de68=class extends _0x5653c0{['id'];parent;editor;_data;_editorOperations=[];constructor(_0x4b6ed2,_0x22ff22,_0x42ec79,_0x2a88ce){super(),this['id']=_0x4b6ed2,this['parent']=_0x42ec79,this['editor']=_0x2a88ce,this['_data']=_0x22ff22,this['set']('isActivated',!0x1),this['set']('isRated',!0x1),this['set']('status','pending'),this['on']('change:status',()=>{'pending'!==this['status']&&this['isActivated']&&(this['isActivated']=!0x1);});}get contentDiffed(){return this['_data']['wrapperTag']?function(_0x21a3bc){const _0xae7acc=_0x5ec6ac(_0x21a3bc)['children']['filter'](_0x227df4);return 0x1!==_0xae7acc['length']?_0x21a3bc:_0xae7acc[0x0]['children']['map'](_0x12abcc=>_0x26cf45(_0x12abcc))['join']('');}(this['_data']['context']()):this['_data']['context']();}get['wrapperTag'](){return this['_data']['wrapperTag'];}get operations(){return this['_data']['operations']['slice']();}get operationsIsolated(){return this['_data']['operationsIsolated']['slice']();}};const _0x2b5103=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var tp=class extends _0x2b5103{['id']=(0x0,_0x491313['uid'])();['callId'];_results=new Map();['_changes']=[];_hasUnsupportedInlineChange=!0x1;['_sourceCheck'];_documentData;_aiConnector;['_reviewParams'];['_reviewArgs'];_contexts;_activeRequest=null;_currentError;_wasAborted=!0x1;constructor(_0x58f5bc,_0x53a594,_0x4009cb,_0x53e8db,_0xdbb5d0,_0xce964d){super(),this['_sourceCheck']=_0x53a594,this['_documentData']=_0x58f5bc,this['_aiConnector']=_0x4009cb,this['_reviewParams']=_0x53e8db,this['_reviewArgs']=_0xdbb5d0,this['_contexts']=_0xce964d,this['on']('change:status',(_0x19bca0,_0x4bf1c7,_0x3a3947)=>{'aborted'==_0x3a3947&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x3a3947,'run':this,'error':this['_currentError']});}),this['set']('status','initialized');}get documentData(){return this['_documentData'];}get['sourceCheck'](){return this['_sourceCheck'];}get processedResultsCount(){return this['_results']['size'];}get hasUnsupportedInlineChange(){return this['_hasUnsupportedInlineChange'];}get title(){return this['_sourceCheck']['title'];}get subTitle(){return'';}get['reviewName'](){return this['_sourceCheck']['id'];}get hasModifications(){return!this['_changes']['every'](_0x497411=>'pending'===_0x497411['status']);}get currentError(){return this['_currentError'];}get results(){return Array['from'](this['_results']['values']());}updateDocumentData(_0x33ded){this['_documentData']=_0x33ded;}async start(){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x55985d=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x2d5486 of _0x55985d)'unmodified'!==_0x2d5486['data']['operation']&&('error'!==_0x2d5486['data']['operation']?'review-metadata'!==_0x2d5486['event']?this['_addReviewCheckResult'](_0x2d5486['data']['dataId'],_0x2d5486['data']['textDelta']):this['callId']=_0x2d5486['data']['callId']:this['status']='error-chunk');'error-chunk'!==this['status']&&(0x0===this['_results']['size']||0x0===this['_changes']['length']?this['status']='unmodified':this['status']='ready');}catch(_0x599907){this['_currentError']=_0x599907,_0x459de0(_0x599907)?this['status']='aborted':this['status']='error-general';}finally{this['_activeRequest']=null;}}async restart(){this['_results']['clear'](),this['_changes']['length']=0x0,this['_currentError']=void 0x0,this['_hasUnsupportedInlineChange']=!0x1,await this['start']();}addResultChanges(_0x59a002,_0x248fd5){const _0x19ce2d=this['_results']['get'](_0x59a002);if(!_0x19ce2d)return;if(0x0===_0x248fd5['length'])return;const _0x1677c6=this['_documentData']['elements']['get'](_0x59a002);if(!_0x1677c6)return;const _0x31ede4=[];_0x248fd5['forEach']((_0x492a97,_0x448275)=>{const _0xc777ad=new _0x12de68(_0x19ce2d['id']+'-'+_0x448275,_0x492a97,_0x19ce2d,_0x1677c6['editor']);_0xc777ad['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0xc777ad,'status':_0xc777ad['status']});}),_0xc777ad['on']('change:isActivated',()=>{_0xc777ad['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0xc777ad}):this['fire']('reviewCheckResultDeactivated',{'change':_0xc777ad});}),this['_changes']['push'](_0xc777ad),_0x31ede4['push'](_0xc777ad);}),this['fire']('reviewCheckResultReady',{'changes':_0x31ede4,'result':_0x19ce2d,'source':this});}abort(){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}isChangeActive(_0xcdc755){const _0x56681d=this['_changes']['find'](_0x11a58a=>_0x11a58a['id']===_0xcdc755);return!(!_0x56681d||'pending'!==_0x56681d['status']);}isAnyChangeActivated(){return this['_changes']['some'](_0x1ec103=>!0x0===_0x1ec103['isActivated']);}getActiveChanges(){return this['_changes']['filter'](_0x2ebb46=>'pending'===_0x2ebb46['status']);}getChangeById(_0x1bafcd){return this['_changes']['find'](_0x452681=>_0x452681['id']===_0x1bafcd);}markAllChangesAsAccepted(){for(const _0x338772 of this['_changes'])'pending'===_0x338772['status']&&(_0x338772['status']='accepted');this['_checkIfFinished']();}markChangeAsAccepted(_0xf1409a){const _0x361ec3=this['_changes']['find'](_0x4aaebd=>_0x4aaebd['id']===_0xf1409a);_0x361ec3&&'pending'===_0x361ec3['status']&&(_0x361ec3['status']='accepted'),this['_checkIfFinished']();}markChangeAsRejected(_0x405938){const _0x2e7450=this['_changes']['find'](_0xb4d76e=>_0xb4d76e['id']===_0x405938);_0x2e7450&&'pending'===_0x2e7450['status']&&(_0x2e7450['status']='rejected'),this['_checkIfFinished']();}markChangeAsOutdated(_0x7bbb27){const _0x2f7aad=this['_changes']['find'](_0x149f5=>_0x149f5['id']===_0x7bbb27);_0x2f7aad&&'pending'===_0x2f7aad['status']&&(_0x2f7aad['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x56741e){const _0x16edb7=this['_changes']['find'](_0x4527c0=>_0x4527c0['id']===_0x56741e);_0x16edb7&&'outdated'===_0x16edb7['status']&&(_0x16edb7['status']='pending'),this['_checkIfFinished']();}activateChange(_0x356b13){this['_changes']['filter'](_0x330a97=>_0x330a97['isActivated']&&_0x330a97['id']!==_0x356b13)['forEach'](_0x245fbf=>{_0x245fbf['isActivated']=!0x1;});const _0x139552=this['_changes']['find'](_0x3a0211=>_0x3a0211['id']===_0x356b13);_0x139552&&'pending'===_0x139552['status']&&(_0x139552['isActivated']=!0x0);}deactivateChange(){this['_changes']['filter'](_0xf716a=>_0xf716a['isActivated'])['forEach'](_0x1d8eb7=>{_0x1d8eb7['isActivated']=!0x1;});}forceReadyState(){this['status']='ready';}async sendRating(_0x3a029f){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x2140b4;if(_0x3a029f){const _0x3d91db=this['_changes']['find'](_0x3fd12e=>_0x3fd12e['id']===_0x3a029f);if(_0x3d91db&&_0x3d91db['isRated'])return;_0x3d91db&&(_0x2140b4=_0x3d91db['parent']['id'],_0x3d91db['isRated']=!0x0);}const _0x36a535={'positiveCount':this['_changes']['filter'](_0x1be233=>'accepted'===_0x1be233['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x36a535,this['callId'],_0x2140b4);}_addReviewCheckResult(_0x44d5f2,_0x210685){const _0xacf468=this['_documentData']['elements']['get'](_0x44d5f2);if(!_0xacf468)return;if(_0x559912(_0xacf468['editor'],_0xacf468['rootName'])&&!_0x287476(_0xacf468['editor'],_0x5ec6ac(_0x210685)))return void(this['_hasUnsupportedInlineChange']=!0x0);const _0x13b15c=_0xacf468['getContent']();if(_0x13b15c===_0x210685)return;const _0x2da45e=new _0x1c1c24({'id':_0x44d5f2,'contentInitial':_0x13b15c,'contentNew':_0x210685,'documentVersion':_0xacf468['documentVersion']});this['_results']['set'](_0x2da45e['id'],_0x2da45e),this['fire']('reviewCheckResultAdded',{'result':_0x2da45e,'source':this,'editor':_0xacf468['editor'],'rootName':_0xacf468['rootName']});}['_checkIfFinished'](){'finished'===this['status']&&this['_changes']['filter'](_0x50f618=>'pending'===_0x50f618['status'])['length']>0x0&&(this['status']='ready'),'ready'===this['status']&&0x0===this['_changes']['filter'](_0xf59d84=>'pending'===_0xf59d84['status'])['length']&&(this['status']='finished');}},_0x2de083=class extends tp{get subTitle(){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x22960c=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x316232=0x0;_0x316232<this['_reviewParams']['length'];_0x316232++){if(!this['_reviewParams'][_0x316232]||!this['_sourceCheck']['options'][_0x316232])continue;const _0x41eff1=this['_sourceCheck']['options'][_0x316232]['data']?.['find'](_0x547da3=>_0x547da3['id']===this['_reviewParams'][_0x316232]);_0x41eff1&&_0x22960c['push'](_0x41eff1['label']);}return _0x22960c['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}_createApiRequest(){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs'],'contexts':this['_contexts']});}_sendRatingRequest(_0x1c0ebf,_0x219003,_0xa431a1){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x219003,_0x1c0ebf,_0xa431a1);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}},_0x59017e=class extends _0x491313['ContextPlugin']{_aiConnector;['_aiReviewCoreUi'];_aiReviewCoreEditing;['_availableReviewChecks'];_reporter;_currentReviewCheckRun;_changeActivationSource=null;static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_initRequiredPlugins'](),this['_initAvailableReviewChecks'](),this['_initUIListeners']();}async _initAvailableReviewChecks(){this['_availableReviewChecks']=await this['_getReviewChecks'](),this['_aiReviewCoreUi']['setAvailableChecks'](this['_availableReviewChecks']);}_initUIListeners(){this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_availableReviewChecks']&&this['_aiReviewCoreUi']['setAvailableChecks'](this['_availableReviewChecks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',(_0x5b52be,_0x595f55)=>this['runCheck'](_0x595f55)),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>this['abort']()),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x109d03=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x109d03['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x109d03['map'](_0x4e0b05=>_0x4e0b05['id']),this['_aiSource']);const _0x4e303e=this['_currentReviewCheckRun'];_0x4e303e['markAllChangesAsAccepted'](),_0x4e303e['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x57d8c1,_0x3292eb)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x3292eb['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x3292eb['id']],this['_aiSource']),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x3292eb['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x3292eb['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x23a3ee,_0x274e0b)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x274e0b['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x274e0b['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x274e0b['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x274e0b['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'retryReview',async()=>{this['_currentReviewCheckRun']&&(this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreUi']['setAcceptAllEnabled'](!0x1),this['_currentReviewCheckRun']['updateDocumentData'](this['_aiReviewCoreEditing']['getDocumentData']()),await this['_currentReviewCheckRun']['restart']());}),this['listenTo'](this['_aiReviewCoreUi'],'activateChange',(_0x3e6ea8,_0x249ab7)=>{this['_onActivateChange'](_0x249ab7);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x279f81,_0x5a9c05)=>{this['_onDeactivateChange'](_0x5a9c05);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x26388d,_0x56bd60)=>{this['_onChangeMarkerClicked'](_0x26388d,_0x56bd60);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x2d4cf6,_0x2508dc)=>{this['_onChangeMarkerHovered'](_0x2d4cf6,_0x2508dc);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x50300a,_0x5eff93)=>{this['_onChangeMarkerRemoved'](_0x50300a,_0x5eff93);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x15fc79,_0x4525b4)=>{this['_onChangeMarkerRestored'](_0x15fc79,_0x4525b4);});}async['runCheck'](_0x259564){if(!this['_availableReviewChecks'])return;const _0x163925=this['_availableReviewChecks']['find'](_0x5ac68f=>_0x5ac68f['id']===_0x259564['id']);if(!_0x163925)return void this['_logError'](new _0x491313['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x259564['id']}));this['_onReviewCheckRun'](_0x259564),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_aiReviewCoreUi']['setAcceptAllEnabled'](!0x1);const _0x2ea1ad=this['context']['plugins']['get'](_0x23dba1)['contextLibrary']['resolveContext']({'feature':this['_defaultContextFeature'],'ids':[_0x259564['id']],'context':new _0x518964()});this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x259564,_0x163925,_0x2ea1ad);const _0x36e96d=this['_currentReviewCheckRun'];_0x36e96d['on']('reviewCheckResultChangeStatusUpdated',(_0x586e28,_0x353267)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x353267['change']['id'],_0x353267['status']),this['_pushAcceptAllEnabled'](_0x36e96d);}),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x27c777,_0x294c2f)=>{switch(_0x294c2f['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x294c2f);break;case'finished':this['_onCheckRunFinished']();break;case'ready':this['_currentReviewCheckRun']?.['hasUnsupportedInlineChange']?this['_aiReviewCoreUi']['showUnsupportedInlineChangeView']():this['_aiReviewCoreUi']['showActionsWhenResultIsReady']();break;case'unmodified':this['_currentReviewCheckRun']?.['hasUnsupportedInlineChange']?this['_aiReviewCoreUi']['showUnsupportedInlineChangeView']():this['_aiReviewCoreUi']['showNoChangesView']();break;case'error-general':this['_aiReviewCoreUi']['showGeneralResultsErrorView'](),this['_logError'](new _0x491313['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x491313['CKEditorError']('ai-review-mode-check-run-chunk-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'aborted':this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['processedResultsCount']>0x0?setTimeout(()=>{this['_currentReviewCheckRun']?.['forceReadyState']();},0x0):this['_onReviewRunLeave'](!0x0);}'ready'!==_0x294c2f['status']&&'error-chunk'!==_0x294c2f['status']&&'error-general'!==_0x294c2f['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x52454c,_0x3bac1a)=>{if(!this['_currentReviewCheckRun'])throw new _0x491313['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x1fe21e=_0x559912(_0x3bac1a['editor'],_0x3bac1a['rootName']);let _0x120d13=_0x3bac1a['result']['contentInitial'],_0x147ca7=_0x3bac1a['result']['contentNew'];_0x1fe21e&&(_0x120d13=_0x544f48(_0x120d13),_0x147ca7=_0x544f48(_0x147ca7));const _0x519ad5=this['_diffContent'](_0x3bac1a['editor'],_0x120d13,_0x147ca7);if(_0x1fe21e){const _0x1dbe51=_0x3bac1a['editor']['ui']['getEditableElement'](_0x3bac1a['rootName'])?.['tagName']['toLowerCase']();for(const _0x32cb2e of _0x519ad5)_0x32cb2e['wrapperTag']=_0x1dbe51;}_0x3bac1a['source']['addResultChanges'](_0x3bac1a['result']['id'],_0x519ad5);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x12f3e8,_0x1bd38e)=>{for(const _0x3dd1c6 of _0x1bd38e['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x3dd1c6);this['_pushAcceptAllEnabled'](_0x1bd38e['source']),this['_markChangePositionInEditorContent'](_0x1bd38e['changes'],_0x1bd38e['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x46c566,_0x332606)=>{this['_onReviewCheckResultActivated'](_0x332606);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x3a348d){if(_0x459de0(_0x3a348d))return;_0x3a348d instanceof _0x491313['CKEditorError']?this['_logError'](_0x3a348d):this['_logError'](new _0x491313['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x3a348d));}}abort(){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}getAvailableChecks(){return(this['_availableReviewChecks']??[])['slice']();}getCurrentCheckRun(){return this['_currentReviewCheckRun'];}_pushAcceptAllEnabled(_0x31087c){this['_aiReviewCoreUi']['setAcceptAllEnabled'](_0x31087c['getActiveChanges']()['length']>0x0);}_createReviewCheckRun(_0x368e1d,_0x1f3632,_0x2afc62=new _0x518964()){return new _0x2de083(this['_aiReviewCoreEditing']['getDocumentData'](),_0x1f3632,this['_aiConnector'],_0x368e1d['params'],_0x368e1d['args'],_0x2afc62['refs']);}['_onChangeMarkerRemoved'](_0x7a041e,_0x340556){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x340556['changeId']);}_onChangeMarkerRestored(_0x1cd1d3,_0x44e4bf){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x44e4bf['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}_initRequiredPlugins(){this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_reporter']=this['context']['plugins']['get'](_0x2e8f65)['createReporter']('aireview');}['_onReviewRunLeave'](_0x241665=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x241665&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;for(const _0x254f5d of this['_aiReviewCoreEditing']['getEditors']())_0x254f5d['editing']['view']['change'](_0x528824=>{for(const _0x10d81b of _0x254f5d['editing']['view']['document']['getRoots']())_0x528824['removeClass']('ck-ai_review-diff',_0x10d81b),_0x528824['removeClass']('ck-ai_review-highlights',_0x10d81b),_0x528824['removeClass']('ck-ai-translate-mode-content',_0x10d81b);});}['_logError'](_0x458f3b){this['_reporter']['logError'](_0x458f3b),'ai-review-mode-models-unable-to-retrieve'===function(_0x194438){return _0x194438 instanceof _0x393747?_0x194438['code']:_0x194438 instanceof Error?_0x194438['message']['match'](/^\S+/)?.[0x0]:void 0x0;}(_0x458f3b)?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']();}['_scrollToChange'](_0x5dab2a){if('content'===this['_changeActivationSource']){const _0x55b864=this['_aiReviewCoreUi']['getChangeElement'](_0x5dab2a);_0x55b864&&(0x0,_0x491313['scrollAncestorsToShowTarget'])(_0x55b864['closest']('.ck-ai_review__check-run-result')||_0x55b864);}else{if('panel'===this['_changeActivationSource']){const _0x5ad0d2=this['_getChangeContentElement'](_0x5dab2a);if(!_0x5ad0d2)return;(0x0,_0x491313['scrollViewportToShowTarget'])({'target':_0x5ad0d2,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}},_0x570a71=class extends tp{_prompt;['_model'];constructor(_0xd81795,_0x3bebcd,_0x45968f,_0x37265d,_0x18a779,_0x56f45c){super(_0x45968f,_0x37265d,_0x18a779,void 0x0,void 0x0,_0x56f45c),this['_prompt']=_0xd81795,this['_model']=_0x3bebcd;}get subTitle(){return this['_prompt']??'';}_createApiRequest(){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],...void 0x0!==this['_prompt']&&{'prompt':this['_prompt']},'model':this['_model'],'contexts':this['_contexts']});}_sendRatingRequest(_0x236bf1,_0xc0b448,_0x206ca6){return this['_aiConnector']['upsertCustomAIReviewRating'](_0xc0b448,_0x236bf1,_0x206ca6);}},_0x14b5f5=class{['id'];['commandId'];title;description;isParameterized;['useArgs'];options;['args'];get['apiId'](){return this['commandId'];}constructor(_0x467d12){this['id']=_0x467d12['id'],this['commandId']=_0x467d12['commandId'],this['title']=_0x467d12['title'],this['description']=_0x467d12['description'],this['isParameterized']=_0x467d12['isParameterized'],this['useArgs']=_0x467d12['useArgs'],this['options']=_0x467d12['options'],this['args']=_0x467d12['args'];}},_0x5d5731=class extends _0x14b5f5{isExtra=!0x0;prompt;context;['model'];_defaultModel=null;constructor(_0x183e66,_0x5bc0dc,_0x117c07){super(_0x183e66),this['prompt']=_0x183e66['prompt'],this['context']=_0x183e66['context'],this['model']=_0x183e66['model'],this['model']?this['_defaultModel']=_0x5bc0dc['find'](_0x27f66f=>_0x27f66f['id']===this['model'])||null:this['_defaultModel']=_0x117c07;}get defaultModel(){return this['_defaultModel'];}},_0xec4d55=class extends _0x570a71{get subTitle(){return'';}set prompt(_0x1db3c3){this['_prompt']=_0x1db3c3;}set['model'](_0x22a306){this['_model']=_0x22a306;}},_0x1dca79=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x31ca03,_0x2e8f65];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_cache'];_reporter;init(){this['_reporter']=this['context']['plugins']['get'](_0x2e8f65)['createReporter']('aireview');}getChecksList(){return this['_cache']||(this['_cache']=this['_loadChecksList']()),this['_cache'];}};const _0x40a86c=[{'id':'custom','commandId':'custom','title':'Custom\x20command','description':'Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','isParameterized':!0x0},{'id':'correctness','commandId':'correctness','title':'Correctness','description':'Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','isParameterized':!0x1},{'id':'clarity','commandId':'clarity','title':'Clarity','description':'Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'readability','commandId':'readability','title':'Readability','description':'Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'length','commandId':'make','title':'Adjust\x20length','description':'Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20length','default':'longer','data':[{'label':'Longer','id':'longer'},{'label':'Shorter','id':'shorter'}]}]},{'id':'tone','commandId':'make-tone','title':'Adjust\x20tone\x20and\x20style','description':'Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20tone\x20and\x20style','default':'casual','data':[{'label':'Casual','id':'casual'},{'label':'Direct','id':'direct'},{'label':'Friendly','id':'friendly'},{'label':'Confident','id':'confident'},{'label':'Professional','id':'professional'}]}]}],_0x3cf5af=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x3dcf13=class extends _0x3cf5af{['_checks']=[];setupChecks(_0x873db0){this['_checks']=_0x873db0['map'](_0x2e7198=>new _0x14b5f5(_0x2e7198));}get['checks'](){return this['_checks']['slice']();}getCheckById(_0x529eb3){return this['checks']['find'](_0x5af2c1=>_0x5af2c1['id']===_0x529eb3);}['removeCheckById'](_0xb61402){this['_checks']=this['_checks']['filter'](_0x1f7610=>_0x1f7610['id']!==_0xb61402);}},_0x410644=class extends _0x14b5f5{['_models']=[];_defaultModel=null;constructor(_0x279e05,_0x4078ca,_0x4db20e){super(_0x279e05),this['_models']=_0x4078ca,this['_defaultModel']=_0x4db20e;}get['models'](){return this['_models']['slice']();}get defaultModel(){return this['_defaultModel'];}},_0x49f760=class extends _0x3dcf13{['_allModels']=[];['_recommendedModels']=[];_defaultModel=null;constructor(_0x1902a0,_0x3516f7,_0x3246cf){super(),this['_allModels']=_0x1902a0,this['_recommendedModels']=_0x3516f7,this['_defaultModel']=_0x3246cf;}get['allModels'](){return this['_allModels']['slice']();}setupChecks(_0x4bdf28){this['_checks']=_0x4bdf28['map'](_0x333b40=>!0x0===_0x333b40['isExtra']?new _0x5d5731(_0x333b40,this['_allModels'],this['_defaultModel']):'custom'===_0x333b40['id']?new _0x410644(_0x333b40,this['_recommendedModels'],this['_defaultModel']):new _0x14b5f5(_0x333b40));}},_0x468d17=class extends _0x1dca79{static get['pluginName'](){return'AIReviewModeCheckRegistry';}static get requires(){return[_0x31ca03,_0x2e8f65,_0x23dba1];}['_modelsLoadError']=null;constructor(_0x4eab21){super(_0x4eab21),this['context']['config']['define']('ai.review.extraCommands',[]);}get['modelsLoadError'](){return this['_modelsLoadError'];}getExtraChecks(){return this['context']['config']['get']('ai.review.extraCommands')['map'](_0x260fec=>({'id':_0x260fec['id'],'commandId':_0x260fec['id'],'title':_0x260fec['label'],'description':_0x260fec['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x260fec['prompt'],'context':_0x260fec['context'],'model':_0x260fec['model']}));}async _loadChecksList(){const _0x2dc30c=[..._0x40a86c,...this['getExtraChecks']()]['map'](_0x298adf=>_0x298adf['isExtra']?_0x298adf:this['_translateReviewCheck'](_0x298adf)),_0x476804=this['context']['plugins']['get'](_0x23dba1);let _0x2a2e81;try{_0x2a2e81=new _0x49f760(await _0x476804['models']['getAllModels'](),await _0x476804['models']['getAvailableModels'](),await _0x476804['models']['getDefault']()),this['_modelsLoadError']=null;}catch(_0x21ef5f){this['_modelsLoadError']=new _0x491313['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x21ef5f),this['_reporter']['logError'](this['_modelsLoadError'],{'context':{'operation':'load-review-models'}}),_0x2a2e81=new _0x49f760([],[],null);}return _0x2a2e81['setupChecks'](_0x2dc30c),_0x2a2e81;}_translateReviewCheck(_0x12db5b){const _0x162dde='AI_REVIEW_CHECK_'+_0x12db5b['commandId']['toUpperCase']()['replaceAll']('-','_'),_0x27b80d={..._0x12db5b,'title':this['_translate'](_0x162dde+'_TITLE',_0x12db5b['title']),'description':this['_translate'](_0x162dde+'_DESCRIPTION',_0x12db5b['description'])};return _0x12db5b['options']&&(_0x27b80d['options']=_0x12db5b['options']['map'](_0x327442=>({..._0x327442,'label':this['_translate'](_0x162dde+'_OPTIONS_LABEL',_0x327442['label']||''),'data':_0x327442['data']?_0x327442['data']['map'](_0x61d1f2=>({..._0x61d1f2,'label':this['_translate'](_0x162dde+'_OPTIONS_DATA_'+_0x61d1f2['id']['toUpperCase'](),_0x61d1f2['label'])})):void 0x0}))),_0x27b80d;}_translate(_0x262460,_0x2341bf){const _0x13c7fa=_0x258ab2(this['context']['locale'],_0x262460);return _0x13c7fa===_0x262460?_0x2341bf:_0x13c7fa;}},_0x23ad41=class extends _0x59017e{static get['pluginName'](){return'AIReviewModeController';}static get requires(){return[_0x2e8f65,_0x468d17,_0x23dba1];}get['_aiSource'](){return'review';}get _defaultContextFeature(){return'review';}['_isDiffOn']=!0x1;['_usesAvailableCommandsConfig'];constructor(_0x7840a5){super(_0x7840a5),this['_usesAvailableCommandsConfig']=Boolean(this['context']['config']['get']('ai.review.availableCommands')),this['context']['config']['define']('ai.review.availableCommands',_0x40a86c['map'](_0x521056=>_0x521056['id']));}init(){super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x450c4c,_0xa13537)=>{this['_isDiffOn']=_0xa13537['on'],this['_onDiffChange'](this['_isDiffOn']);});}_initRequiredPlugins(){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}_createReviewCheckRun(_0x5935a0,_0x476734,_0x2bc197=new _0x518964()){if(_0x5935a0['isCustom'])return new _0x570a71(_0x5935a0['args']['prompt'],_0x5935a0['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x476734,this['_aiConnector'],_0x2bc197['refs']);if(_0x476734['isExtra']){const _0x6a674=_0x476734,_0x44a9fa=_0x6a674['context']?_0x2bc197['cloneWith'](_0x6a674['context'])['refs']:_0x2bc197['refs'];return new _0xec4d55(_0x5935a0['args']?.['prompt']??_0x6a674['prompt'],_0x5935a0['args']?.['model']??_0x6a674['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x476734,this['_aiConnector'],_0x44a9fa);}return new _0x2de083(this['_aiReviewCoreEditing']['getDocumentData'](),_0x476734,this['_aiConnector'],_0x5935a0['params'],_0x5935a0['args'],_0x2bc197['refs']);}_onReviewCheckResultActivated(_0x57098e){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x57098e['change']['id']),this['_scrollToChange'](_0x57098e['change']['id']);const _0x3c7f88=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x57098e['change']['id']);if(!_0x3c7f88)return;const _0x13fe4c=this['_aiReviewCoreEditing']['getEditorForChange'](_0x57098e['change']['id'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x57098e['change'],()=>_0x3c7f88['getElement'](),void 0x0,'click',this['_getBalloonDomRoot'](_0x13fe4c,_0x3c7f88['modelRange']['root']['rootName']),_0x13fe4c?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x57098e['change']['id']);}_onReviewCheckResultDeactivated(){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}_onActivateChange(_0x1379eb){this['_currentReviewCheckRun']&&'click'===_0x1379eb['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x1379eb['id']));}_onDeactivateChange(_0x45966a){this['_currentReviewCheckRun']&&'balloon'===_0x45966a['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x31edca,_0x44ea5){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x44ea5['changeId']);const _0x5347b5=this['_currentReviewCheckRun']['getChangeById'](_0x44ea5['changeId']);if(!_0x5347b5)return;const _0x160361=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x44ea5['changeId']),_0x70413f=this['_aiReviewCoreEditing']['getEditorForChange'](_0x44ea5['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x5347b5,_0x44ea5['markerElement'],_0x44ea5['domEvent'],'click',this['_getBalloonDomRoot'](_0x70413f,_0x160361?.['modelRange']['root']['rootName']),_0x70413f?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x5cff8c,_0xd3ef29){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x194c21=this['_currentReviewCheckRun']['getChangeById'](_0xd3ef29['changeId']);if(!_0x194c21)return;const _0x270b99=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0xd3ef29['changeId']),_0xbf296a=this['_aiReviewCoreEditing']['getEditorForChange'](_0xd3ef29['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x194c21,_0xd3ef29['markerElement'],_0xd3ef29['domEvent'],'hover',this['_getBalloonDomRoot'](_0xbf296a,_0x270b99?.['modelRange']['root']['rootName']),_0xbf296a?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']());}_getChangeContentElement(_0x4d9b37){const _0xbe510=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4d9b37);return _0xbe510?_0xbe510['getElement']():null;}_markChangePositionInEditorContent(_0x57297f,_0x139aa7){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x57297f,_0x139aa7);}_diffContent(_0x44e4be,_0x10e864,_0x2560da){return this['_aiReviewCoreEditing']['diffContent'](_0x44e4be,_0x10e864,_0x2560da,!0x1);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x181876){_0x181876?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon']();for(const _0x199ff5 of this['_aiReviewCoreEditing']['getEditors']())_0x199ff5['editing']['view']['change'](_0x4801e1=>{for(const _0x59bc4d of _0x199ff5['editing']['view']['document']['getRoots']()){for(const _0x452c83 of _0x59bc4d['getClassNames']())_0x452c83['startsWith']('ck-ai_review-')&&_0x4801e1['removeClass'](_0x452c83,_0x59bc4d);_0x4801e1['addClass'](_0x181876?'ck-ai_review-diff':'ck-ai_review-highlights',_0x59bc4d);}});}_getBalloonDomRoot(_0x3cf95b,_0x2362f1){const _0xa73a1e=_0x3cf95b['editing']['view'];if(_0x2362f1){const _0x247ece=_0xa73a1e['getDomRoot'](_0x2362f1);if(_0x247ece)return _0x247ece;}return _0xa73a1e['getDomRoot']()??void 0x0;}async _getReviewChecks(){const _0xb2aad=this['context']['plugins']['get']('AIReviewModeCheckRegistry'),_0x114fd3=await _0xb2aad['getChecksList']();_0xb2aad['modelsLoadError']&&this['_logError'](_0xb2aad['modelsLoadError']);let _0x465f67=_0x114fd3['checks'];const _0x2d57cb=this['context']['config']['get']('ai.review.availableCommands');return this['_logWarningForNonExistentChecks'](_0x2d57cb,_0x465f67),this['_usesAvailableCommandsConfig']&&(_0x465f67=_0x2d57cb['map'](_0x144825=>_0x465f67['find'](_0x2c7465=>_0x2c7465['id']===_0x144825))['filter'](_0x5380f4=>!!_0x5380f4)),this['_filterChecksWithMissingModel'](_0x465f67);}_logWarningForNonExistentChecks(_0x35ef5d,_0x94b6d){const _0x35e7c3=_0x35ef5d['filter'](_0x57f4ab=>!_0x94b6d['some'](_0x43d2ed=>_0x43d2ed['id']===_0x57f4ab));_0x35e7c3['length']&&this['_reporter']['logError'](new _0x393747({'code':'ai-review-mode-non-existent-commands-used','severity':'warning','context':{'commandIds':_0x35e7c3['join'](',\x20')}}));}_filterChecksWithMissingModel(_0x321530){const _0x394f14=[];return _0x321530['forEach'](_0x271008=>{(_0x271008 instanceof _0x5d5731&&!_0x271008['defaultModel']||_0x271008 instanceof _0x410644&&!_0x271008['models']['length'])&&_0x394f14['push'](_0x271008['id']);}),_0x394f14['length']&&_0x394f14['forEach'](_0x386335=>{_0x321530=_0x321530['filter'](_0x32082d=>_0x32082d['id']!==_0x386335),this['_reporter']['logError'](new _0x393747({'code':'ai-review-mode-command-unavailable-due-to-missing-model','context':{'commandId':_0x386335}}));}),_0x321530;}},_0x5dd31d=class extends _0x491313['ContextPlugin']{static get['pluginName'](){return'AIReviewGateway';}static get requires(){return[_0x4638bb,_0x468d17,_0x31ca03,_0x3cc2b8,_0x1203f0,_0x23dba1];}get['models'](){return this['context']['plugins']['get'](_0x23dba1)['models'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async getAllCommands(){return(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['map'](_0x214be2=>{const _0x10bf0d={'id':_0x214be2['id'],'title':_0x214be2['title'],'description':_0x214be2['description']};return'custom'!==_0x214be2['id']&&_0x214be2['options']?.['length']&&(_0x10bf0d['parameters']=_0x214be2['options'][0x0]['data']['map'](_0x406362=>({..._0x406362}))),_0x10bf0d;});}async['runReview'](_0x37009d,_0x262a92){const _0x22674c=await this['_resolveReviewCheck'](_0x37009d),_0x58b9b4=this['context']['plugins']['get']('AIReviewCoreEditing'),_0x5af937=this['context']['plugins']['get']('AIConnector'),_0x75ae91=_0x58b9b4['getDocumentData']({'roots':_0x262a92?.['roots']}),_0xb213f9=this['_createReviewCheckRun'](_0x22674c,_0x75ae91,_0x5af937,_0x262a92?.['parameterId'],_0x262a92?.['contexts']);return _0x58b9b4['runCheck'](_0xb213f9,{'signal':_0x262a92?.['signal']});}async runCustomReview(_0x1705fd,_0x5f4d5b){const {reviewCheck:_0x476551,resolvedModel:_0xeb6f02}=await this['_resolveCustomReviewCheck'](_0x1705fd,_0x5f4d5b?.['model']),_0x56216c=this['context']['plugins']['get']('AIReviewCoreEditing'),_0xafad6e=this['context']['plugins']['get']('AIConnector'),_0x4fd03a=new _0x570a71(_0x1705fd,_0xeb6f02,_0x56216c['getDocumentData']({'roots':_0x5f4d5b?.['roots']}),_0x476551,_0xafad6e,_0x5f4d5b?.['contexts']);return _0x56216c['runCheck'](_0x4fd03a,{'signal':_0x5f4d5b?.['signal']});}['applyReview'](_0x507fb2,_0x48dffd){this['context']['plugins']['get']('AIGateway')['apply'](_0x507fb2,{'aiSource':'review',..._0x48dffd});}async['_resolveReviewCheck'](_0x1860d0){const _0x5c41cc=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x32d7e8=>_0x32d7e8['id']===_0x1860d0);if(!_0x5c41cc)throw new _0x491313['CKEditorError']('ai-reviewgateway-unknown-command',this,{'checkId':_0x1860d0});if(_0x5c41cc instanceof _0x410644)throw new _0x491313['CKEditorError']('ai-reviewgateway-not-a-system-command',this,{'checkId':_0x1860d0});if(_0x5c41cc instanceof _0x5d5731&&!_0x5c41cc['defaultModel']?.['id'])throw new _0x491313['CKEditorError']('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x1860d0});return _0x5c41cc;}async _resolveCustomReviewCheck(_0x2c61a1,_0x1ca98c){const _0x57557b='custom',_0x2a6371=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x3fc934=>_0x3fc934['id']===_0x57557b);if(!_0x2a6371)throw new _0x491313['CKEditorError']('ai-reviewgateway-unknown-command',this,{'checkId':_0x57557b});if(!(_0x2a6371 instanceof _0x410644))throw new _0x491313['CKEditorError']('ai-reviewgateway-not-a-custom-command',this,{'checkId':_0x57557b});if(!_0x2c61a1)throw new _0x491313['CKEditorError']('ai-reviewgateway-missing-custom-command-prompt',this,{'checkId':_0x57557b});const _0x2bb3c5=_0x1ca98c??_0x2a6371['defaultModel']?.['id'];if(!_0x2bb3c5)throw new _0x491313['CKEditorError']('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x57557b});return{'reviewCheck':_0x2a6371,'resolvedModel':_0x2bb3c5};}_createReviewCheckRun(_0x46e4e5,_0x36a130,_0x1bd8a0,_0xc6b7d5,_0x1c5c2a=[]){if(_0x46e4e5 instanceof _0x5d5731){const _0x52dce8=_0x46e4e5['context']?[..._0x1c5c2a,_0x46e4e5['context']]:_0x1c5c2a;return new _0xec4d55(_0x46e4e5['prompt'],_0x46e4e5['defaultModel']['id'],_0x36a130,_0x46e4e5,_0x1bd8a0,_0x52dce8);}return new _0x2de083(_0x36a130,_0x46e4e5,_0x1bd8a0,_0xc6b7d5?[_0xc6b7d5]:void 0x0,void 0x0,_0x1c5c2a);}},_0x4471d9=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x23ad41,_0x58bb6e,_0x4638bb,_0x5dd31d];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async startReview(_0xbadd9d,_0x32d7a6){if(this['assertStartReviewPreconditions'](_0xbadd9d)instanceof _0x410644)throw new _0x491313['CKEditorError']('ai-reviewmode-not-a-system-command',this,{'commandId':_0xbadd9d});_0x8d6d5(this['context'],'reviewMode'),await this['context']['plugins']['get']('AIReviewModeController')['runCheck']({'id':_0xbadd9d,'params':_0x32d7a6?.['parameterId']?[_0x32d7a6['parameterId']]:void 0x0});}async startCustomReview(_0x53442d,_0x5a42a0){if(!_0x53442d)throw new _0x491313['CKEditorError']('ai-reviewmode-missing-custom-command-prompt',this);const _0x5167d7=_0x40a86c['find'](_0x42d06c=>'custom'===_0x42d06c['commandId'])['id'],_0x38a5e5=this['assertStartReviewPreconditions'](_0x5167d7),_0x4f3e33=_0x5a42a0?.['model']??_0x38a5e5['defaultModel']?.['id'];if(!_0x4f3e33)throw new _0x491313['CKEditorError']('ai-reviewmode-missing-custom-command-model',this);_0x8d6d5(this['context'],'reviewMode'),await this['context']['plugins']['get']('AIReviewModeController')['runCheck']({'id':_0x5167d7,'isCustom':!0x0,'args':{'prompt':_0x53442d,'model':_0x4f3e33}});}getAvailableCommands(){return this['context']['plugins']['get']('AIReviewModeController')['getAvailableChecks']()['map'](_0x2c5159=>{const _0xb1d6f1={'id':_0x2c5159['id'],'title':_0x2c5159['title'],'description':_0x2c5159['description']};return'custom'!==_0x2c5159['id']&&_0x2c5159['options']?.['length']&&(_0xb1d6f1['parameters']=_0x2c5159['options'][0x0]['data']['map'](_0x53de7a=>({..._0x53de7a}))),_0xb1d6f1;});}assertStartReviewPreconditions(_0x39b976){const _0x286a8e=this['context']['plugins']['get']('AIReviewModeController');if(_0x286a8e['getCurrentCheckRun']())throw new _0x491313['CKEditorError']('ai-reviewmode-review-already-running',this);const _0x51da68=_0x286a8e['getAvailableChecks']()['find'](_0x12346a=>_0x12346a['id']===_0x39b976);if(!_0x51da68)throw new _0x491313['CKEditorError']('ai-reviewmode-unknown-command',this,{'commandId':_0x39b976});return _0x51da68;}},_0xcc77fe=class extends _0x2de083{_title;constructor(_0x261039,_0x3fa5cb,_0x2899a5,_0x3cea26,_0x3645ae,_0x4e8112,_0x499ef6){super(_0x261039,_0x3fa5cb,_0x2899a5,_0x3645ae,_0x4e8112,_0x499ef6),this['_title']=_0x3cea26;}get title(){return this['_title'];}get subTitle(){return this['_sourceCheck']['title'];}},_0x327278=class extends _0x14b5f5{get['apiId'](){return'translate';}},_0x42e9fc=class extends _0x3dcf13{setupChecks(_0x137939){this['_checks']=_0x137939['map'](_0x314cf0=>new _0x327278(_0x314cf0));}};const _0x138a85=[{'label':'English','id':'english'},{'label':'Spanish','id':'spanish'},{'label':'French','id':'french'},{'label':'German','id':'german'},{'label':'Chinese\x20(Simplified)','id':'chinese'},{'label':'Japanese','id':'japanese'},{'label':'Russian','id':'russian'},{'label':'Portuguese','id':'portuguese'},{'label':'Korean','id':'korean'},{'label':'Italian','id':'italian'}];var _0x2ffc1d=class extends _0x1dca79{static get['pluginName'](){return'AITranslateCheckRegistry';}constructor(_0x432fc4){super(_0x432fc4),this['context']['config']['define']('ai.translate.languages',_0x138a85);}async _loadChecksList(){const _0x2e6ab2=[],_0x4e0614=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x30c4e6 of _0x4e0614)_0x2e6ab2['push']({'title':_0x30c4e6['label'],'id':_0x30c4e6['id'],'commandId':_0x30c4e6['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x30c4e6['id']}});const _0x4739f5=new _0x42e9fc();return _0x4739f5['setupChecks'](this['_translateChecks'](_0x2e6ab2)),_0x4739f5;}_translateChecks(_0x45fe2e){const _0x4714da=this['context']['locale'];return _0x45fe2e['map'](_0x2c2372=>{const _0x154bdd='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x2c2372['title']['toUpperCase']()['replaceAll']('-','_'),_0x41ba39=_0x258ab2(_0x4714da,_0x154bdd);return{..._0x2c2372,'title':_0x41ba39===_0x154bdd?_0x2c2372['title']:_0x41ba39};});}},_0x5a5df5=class extends _0x59017e{static get['pluginName'](){return'AITranslateController';}static get requires(){return[_0x2e8f65,_0x2ffc1d,_0x23dba1];}get['_aiSource'](){return'translate';}get _defaultContextFeature(){return'translate';}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}_initRequiredPlugins(){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}_createReviewCheckRun(_0x4d797f,_0x28ae18,_0x41c47d){return new _0xcc77fe(this['_aiReviewCoreEditing']['getDocumentData'](),_0x28ae18,this['_aiConnector'],_0x258ab2(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x4d797f['params'],_0x4d797f['args'],_0x41c47d?.['refs']);}_onReviewCheckResultActivated(_0x4b46db){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x4b46db['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x4b46db['change']['id']);}_onReviewCheckResultDeactivated(){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}_onActivateChange(_0x85748b){this['_currentReviewCheckRun']&&('hover'===_0x85748b['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x85748b['id'])),'click'===_0x85748b['uiInteraction']&&this['_scrollToChange'](_0x85748b['id']));}_onDeactivateChange(_0x2e4262){this['_currentReviewCheckRun']&&'panel'===_0x2e4262['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x26a4d0,_0x59e2ef){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x59e2ef['changeId']),this['_scrollToChange'](_0x59e2ef['changeId']));}['_onChangeMarkerHovered'](_0x1b7b23,_0x49e749){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x49e749['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x49e749['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}_getChangeContentElement(_0x5ed36b){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x5ed36b);}_markChangePositionInEditorContent(_0xa72ea8,_0x1da62e){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0xa72ea8,_0x1da62e);}_diffContent(_0x19b2fa,_0x3923c1,_0x3dbfc5){return this['_aiReviewCoreEditing']['diffContent'](_0x19b2fa,_0x3923c1,_0x3dbfc5,!0x0);}['_onReviewCheckRun'](){for(const _0x38bee5 of this['_aiReviewCoreEditing']['getEditors']())_0x38bee5['editing']['view']['change'](_0x3a3f86=>{for(const _0x3a4650 of _0x38bee5['editing']['view']['document']['getRoots']())_0x3a3f86['addClass']('ck-ai-translate-mode-content',_0x3a4650);});}async _getReviewChecks(){return(await this['context']['plugins']['get']('AITranslateCheckRegistry')['getChecksList']())['checks'];}},_0x51b8bf=class extends _0x301dd9{constructor(_0x398f07,_0x1cec97){super(_0x398f07,_0x1cec97),this['on']('set:isLoading',(_0x2e8e00,_0x2b976f,_0x24ac6a)=>{_0x24ac6a&&(this['headerTitle']=_0x258ab2(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x4d7478,_0x47e924,_0x1331b)=>{_0x1331b&&(this['headerTitle']=_0x258ab2(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}_createAcceptAllButtonView(){const _0x240690=super['_createAcceptAllButtonView']();return _0x240690['set']('label',_0x258ab2(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x240690;}_createExitReviewButtonView(){const _0x1d90c6=super['_createExitReviewButtonView']();return _0x1d90c6['set']('label',_0x258ab2(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x1d90c6;}},_0x155b2b=class extends _0x17accd{_setupTemplate(){const _0x1de381=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x1de381['if']('isVisible','ck-hidden',_0x510d3c=>!_0x510d3c)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':_0x258ab2(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':_0x258ab2(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1de381['if']('isVisible','ck-hidden',_0x3d0561=>!_0x3d0561)]},'children':this['_checkViews']}]});}},_0x5ad747=class extends _0x538087{static get['pluginName'](){return'AITranslateUI';}createMainView(){const _0x17c9db=this['context']['plugins']['get']('AITabs'),_0x4e2bff=this['context']['locale'],_0xf723b8=new _0x185ff2(_0x4e2bff,{'label':_0x258ab2(_0x4e2bff,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x491313['IconAITranslate'],'class':'ck-ai-header_review-translate','showResizeButton':_0x17c9db['showResizeButton']});_0xf723b8['delegate']('resizeTabs')['to'](_0x17c9db),_0xf723b8['bind']('isMaximized')['to'](_0x17c9db['view'],'isMaximized',_0x32a497=>_0x32a497);const _0x4d5fdd=new _0x3a6a3b(_0x4e2bff,{'header':_0xf723b8,'list':new _0x155b2b(_0x4e2bff),'results':new _0x51b8bf(_0x4e2bff,{'generalErrorText':_0x258ab2(_0x4e2bff,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new _0x1c9534(_0x4e2bff,{'headerText':_0x258ab2(_0x4e2bff,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':_0x258ab2(_0x4e2bff,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':_0x258ab2(_0x4e2bff,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x4d5fdd['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x4d5fdd;}registerTab(){const _0x4ac872=this['context']['plugins']['get']('AITabs');_0x4ac872['view']['on']('activateTab',(_0x8e8d89,{newTab:_0x52dcbf,oldTab:_0x54bc59})=>{'translate'===_0x52dcbf?this['fire']('getReviewCheckList'):'translate'===_0x54bc59&&this['fire']('leaveReview');}),_0x4ac872['view']['addTab']({'id':'translate','buttonLabel':_0x258ab2(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x491313['IconAITranslate'],'order':0x0,'content':this['_mainView']});}},_0x329dce=class extends _0x491313['ContextPlugin']{static get['pluginName'](){return'AITranslateGateway';}static get requires(){return[_0x4638bb,_0x31ca03,_0x3cc2b8,_0x1203f0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async runTranslate(_0x483c5a,_0x4db86c){const _0x507fbb=this['context']['plugins']['get']('AIReviewCoreEditing'),_0x53efbe=this['context']['plugins']['get']('AIConnector'),_0x14c3cc=new _0x327278({'id':_0x483c5a,'commandId':_0x483c5a,'title':_0x483c5a,'description':'','isParameterized':!0x1}),_0x5c2c76=new _0x2de083(_0x507fbb['getDocumentData']({'roots':_0x4db86c?.['roots']}),_0x14c3cc,_0x53efbe,void 0x0,{'language':_0x483c5a},_0x4db86c?.['contexts']);return _0x507fbb['runCheck'](_0x5c2c76,{'signal':_0x4db86c?.['signal']});}applyTranslate(_0x10c5a3,_0x53b2d7){this['context']['plugins']['get']('AIGateway')['apply'](_0x10c5a3,_0x53b2d7);}},_0x3b5323=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x5a5df5,_0x5ad747,_0x4638bb,_0x329dce];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async startTranslate(_0x32b7d4){const _0x5afc51=this['assertStartTranslatePreconditions'](_0x32b7d4);_0x8d6d5(this['context'],'translate'),await this['context']['plugins']['get']('AITranslateController')['runCheck']({'id':_0x5afc51['id'],'args':_0x5afc51['useArgs']?_0x5afc51['args']:void 0x0});}getAvailableLanguages(){return this['context']['plugins']['get']('AITranslateController')['getAvailableChecks']()['map'](_0x2a402d=>({'id':_0x2a402d['id'],'label':_0x2a402d['title']}));}assertStartTranslatePreconditions(_0x5c7d2a){const _0x190e04=this['context']['plugins']['get']('AITranslateController');if(_0x190e04['getCurrentCheckRun']())throw new _0x491313['CKEditorError']('ai-translate-translation-already-running',this);const _0x32d8f0=_0x190e04['getAvailableChecks']()['find'](_0x495d46=>_0x495d46['id']===_0x5c7d2a);if(!_0x32d8f0)throw new _0x491313['CKEditorError']('ai-translate-unknown-language',this,{'languageId':_0x5c7d2a});return _0x32d8f0;}},_0x126c94=class extends _0x491313['Command']{_transformCallback;constructor(_0x3b8636,_0x4de964){super(_0x3b8636),this['_transformCallback']=_0x4de964;}execute(){const _0x3aa66e=this['editor']['model'],_0x289287=Array['from'](this['_getAffectedRanges']()),_0x1b9c4f=Array['from'](_0x3aa66e['document']['selection']['getRanges']());_0x3aa66e['change'](_0x24f3bf=>{for(const _0x54bf0e of _0x289287)this['_modifyContent'](_0x54bf0e,_0x24f3bf);_0x24f3bf['setSelection'](_0x1b9c4f);});}['refresh'](){for(const _0x3b622f of this['_getAffectedRanges']())for(const _0x218a89 of _0x3b622f)if(_0x218a89['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}_getAffectedRanges(){const _0x54404c=this['editor']['model'],_0xfbfc11=_0x54404c['document']['selection'];if(_0xfbfc11['isCollapsed']){const _0x30a86d=this['_findAncestorTextBlock'](_0xfbfc11['getFirstPosition']()['parent']);return _0x30a86d?[_0x54404c['createRangeIn'](_0x30a86d)]:[];}return _0xfbfc11['getRanges']();}_modifyContent(_0x353a8c,_0x45b242){for(const _0x41bfd6 of this['_getElementsAllowingText'](_0x353a8c)){const _0x30054b=this['_getElementTextContent'](_0x41bfd6),_0x122581=this['_transformCallback'](_0x30054b);for(const _0xcce7ee of this['_getTextNodesRangeLimited'](_0x41bfd6,_0x353a8c))this['_replaceTextNodeData'](_0xcce7ee,_0x122581,_0x45b242);}}_findAncestorTextBlock(_0x29df40){const _0x36ce4f=this['editor']['model']['schema'];if(_0x29df40['is']('element')&&_0x36ce4f['checkChild'](_0x29df40,'$text'))return _0x29df40;const _0x7da177=_0x29df40['parent'];return!_0x7da177||_0x36ce4f['isLimit'](_0x29df40)?null:this['_findAncestorTextBlock'](_0x7da177);}*_getElementsAllowingText(_0x15e02e){const _0x538e0a=new Set();for(const {item:_0xbd9442}of _0x15e02e['getWalker']()){const _0x11db71=this['_findAncestorTextBlock'](_0xbd9442);_0x11db71&&!_0x538e0a['has'](_0x11db71)&&(_0x538e0a['add'](_0x11db71),yield _0x11db71);}}_getElementTextContent(_0x24de0a){return Array['from'](_0x24de0a['getChildren']())['reduce']((_0x5f212d,_0x5a77e8)=>_0x5f212d+(_0x5a77e8['is']('$text')?_0x5a77e8['data']:'\x20'),'');}*_getTextNodesRangeLimited(_0x2bb4a8,_0x191acc){const _0xa3f720=_0x191acc['getIntersection'](this['editor']['model']['createRangeIn'](_0x2bb4a8));if(_0xa3f720){for(const _0x24066a of _0xa3f720['getItems']())_0x24066a['is']('$textProxy')&&_0x24066a['parent']==_0x2bb4a8&&(yield _0x24066a);}}_replaceTextNodeData(_0x11f4d1,_0x51f023,_0x1fa883){const _0x1f14ab=_0x51f023['substring'](_0x11f4d1['startOffset'],_0x11f4d1['endOffset']);if(_0x1f14ab===_0x11f4d1['data'])return;const _0x45341a=_0x11f4d1['getAttributes']();this['editor']['model']['insertContent'](_0x1fa883['createText'](_0x1f14ab,_0x45341a),_0x1fa883['createSelection'](_0x1fa883['createRangeOn'](_0x11f4d1)));}};function _0x126817(_0x558265,_0x51c74d,..._0x42a255){const t=_0x558265['t'];switch(_0x51c74d){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x42a255);default:return _0x51c74d;}}var _0x4be741=class extends _0x491313['Plugin']{_currentCommandIndex=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x150b0a=this['editor'],_0x18b57d=_0x150b0a['locale']['contentLanguage'],_0x37b13b=function(_0x13d84b=[]){return'function'==typeof _0x13d84b?_0x13d84b:(_0x31e635,{wordIndex:_0x2b90a3})=>_0x2b90a3>0x0&&_0x13d84b['includes'](_0x31e635);}(_0x150b0a['config']['get']('caseChange.titleCase.excludeWords')),_0x32c95b={'changeCaseUpper':new _0x126c94(_0x150b0a,_0x5cff59=>_0x5cff59['toLocaleUpperCase'](_0x18b57d)),'changeCaseLower':new _0x126c94(_0x150b0a,_0x27356a=>_0x27356a['toLocaleLowerCase'](_0x18b57d)),'changeCaseTitle':new _0x126c94(_0x150b0a,_0xa5ce22=>function(_0x52a8d2,_0x1cea13,_0x17e516){return function(_0x159fa4,_0xdda862){let _0x453d8f='',_0x114b66=0x0,_0x3e2c93=0x0;for(const _0x214f47 of _0x159fa4['matchAll'](/ +/g)){const _0x59c214=_0x214f47['index'],_0x4fd137=_0x159fa4['substring'](_0x114b66,_0x59c214);_0x4fd137['length']&&(_0x453d8f+=_0xdda862(_0x4fd137,_0x114b66,_0x3e2c93++)),_0x453d8f+=_0x214f47[0x0],_0x114b66=_0x59c214+_0x214f47[0x0]['length'];}const _0x492db0=_0x159fa4['substring'](_0x114b66);return _0x492db0['length']&&(_0x453d8f+=_0xdda862(_0x492db0,_0x114b66,_0x3e2c93)),_0x453d8f;}(_0x52a8d2,(_0x510bb4,_0x426fd6,_0x3fc936)=>{const _0x3cadb3=_0x510bb4['toLocaleLowerCase'](_0x17e516);return _0x1cea13(_0x3cadb3,{'charOffset':_0x426fd6,'wordIndex':_0x3fc936,'blockText':_0x52a8d2})?_0x3cadb3:_0x3cadb3['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x34f257=>_0x34f257['toLocaleUpperCase'](_0x17e516));});}(_0xa5ce22,_0x37b13b,_0x18b57d))};for(const [_0x3d3f08,_0x15736b]of Object['entries'](_0x32c95b))_0x150b0a['commands']['add'](_0x3d3f08,_0x15736b),_0x15736b['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x3d3f08);});this['listenTo'](_0x150b0a['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x150b0a['keystrokes']['set']('shift+f3',(_0x1ec1a3,_0x16784c)=>{const _0x31062c=_0x52b4f2(this['editor']['locale']),_0x8933ff=_0x31062c[this['_currentCommandIndex']%_0x31062c['length']]['commandName'];_0x150b0a['execute'](_0x8933ff),this['_currentCommandIndex']++,_0x16784c();});}afterInit(){!async function(_0x325dbc){const _0x50f5fa='EMDS3dsLoJY0nbe9cmlCrXyaZ8zpPqN6jxThf7gwBi2KFOVUWRAG14HQIkut5v',_0x4d464d=0x791d0,_0x2de517=window['Date']['now'](),_0x193dc9=_0x325dbc['editor'],_0xc6a82a=new window['Promise'](_0xd83981=>{_0x193dc9['once']('ready',_0xd83981);}),_0x37622e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x5cbd77=_0x193dc9['config']['get']('licenseKey');async function _0x1bea09(){let _0x3b5e91,_0x4c8875=null,_0x3a7b97=null;try{return'GPL'==_0x5cbd77?'NotAllowed':(_0x3b5e91=_0x30c9fb(),_0x3b5e91?(_0x3b5e91['usageEndpoint']&&(_0x3a7b97=_0x4c0d66(_0x3b5e91['usageEndpoint'],_0x3b5e91['jti'])),await _0x27b289()?_0x2771ba()?_0x849c01()?'Expired':_0x54c542()?('evaluation'==_0x3b5e91['licenseType']&&(_0x4c8875=_0x5f4cb1('EvaluationLimit')),await _0x588d8f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x849c01(){const _0x5d2342=['evaluation','trial']['includes'](_0x3b5e91['licenseType'])?_0x2de517/0x3e8:0xe10*_0x4d464d;return _0x3b5e91['exp']<_0x5d2342;}function _0x2771ba(){const _0x1bbd0f=_0x3b5e91['features'];return!!_0x1bbd0f&&(!!_0x1bbd0f['includes']('*')||(!!_0x1bbd0f['includes']('CC')||!!_0x1bbd0f['includes']('PP')));}function _0x54c542(){const _0x1c73e9=_0x3b5e91['licensedHosts'];if(!_0x1c73e9||0x0==_0x1c73e9['length'])return!0x0;const {hostname:_0x5e6bae}=new URL(window['location']['href']);if(_0x1c73e9['includes'](_0x5e6bae))return!0x0;const _0x1c2cc0=_0x5e6bae['split']('.');return _0x1c73e9['filter'](_0x227a0b=>_0x227a0b['includes']('*'))['map'](_0x3a1d45=>_0x3a1d45['split']('.'))['filter'](_0x5b4458=>_0x5b4458['length']<=_0x1c2cc0['length'])['map'](_0x17fa75=>Array(_0x1c2cc0['length']-_0x17fa75['length'])['fill']('*'===_0x17fa75[0x0]?'*':'')['concat'](_0x17fa75))['some'](_0x1e33d8=>_0x1c2cc0['every']((_0x5bfd61,_0x1f49fc)=>_0x1e33d8[_0x1f49fc]===_0x5bfd61||'*'===_0x1e33d8[_0x1f49fc]));}function _0x588d8f(){return _0x4c8875&&_0x3a7b97?new window['Promise']((_0x4f7077,_0x52287f)=>{_0x4c8875['then'](_0x4f7077,_0x52287f),_0x3a7b97['then'](_0xf5a62e=>{'Valid'!=_0xf5a62e&&_0x4f7077(_0xf5a62e);},_0x52287f);}):_0x4c8875||_0x3a7b97||'Valid';}}function _0x4c0d66(_0x31e652,_0x557ccd){return new window['Promise'](_0x264294=>{if(_0x5d9fe1())return _0x264294('Valid');_0x3e6b61(),_0x193dc9['decorate']('_sendUsageRequest');let _0x161506=!0x1;const _0x54b2d3=(0x0,_0x491313['uid'])();function _0x24cc12(_0x4ab9cf){return!!_0x4ab9cf&&('object'==typeof _0x4ab9cf||'function'==typeof _0x4ab9cf)&&'function'==typeof _0x4ab9cf['then']&&'function'==typeof _0x4ab9cf['catch'];}function _0x357bd4(_0x24723b){_0x457984(_0x24723b)['then'](_0xc5cf16=>_0xc5cf16&&'ok'==_0xc5cf16['status']?_0x16e9dc(_0x1a21d8(_0x54b2d3+_0x557ccd))!=_0xc5cf16['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x349694=>(_0x531e7e(),_0x349694),()=>{const _0x3b1097=_0x8a1eca();return null==_0x3b1097?(_0x531e7e(),'Valid'):_0x2de517-_0x3b1097>0x240c8400?'UsageLimit':'Valid';})['then'](_0x264294)['catch'](()=>{_0x264294('UsageLimit');});const _0x13ce75=0x36ee80;function _0x531e7e(){const _0x9889='llct-'+_0x16e9dc(_0x1a21d8(_0x31e652)),_0x86e03=_0x39bf1c(_0x16e9dc(window['Math']['ceil'](_0x2de517/_0x13ce75)));window['localStorage']['setItem'](_0x9889,_0x86e03);}function _0x8a1eca(){const _0x26071d='llct-'+_0x16e9dc(_0x1a21d8(_0x31e652)),_0x5408fe=window['localStorage']['getItem'](_0x26071d);return _0x5408fe?window['parseInt'](_0x39bf1c(_0x5408fe),0x10)*_0x13ce75:null;}function _0x457984(_0x94e658){return new window['Promise']((_0x595696,_0x48980b)=>{_0x94e658['then'](_0x595696,_0x48980b),window['setTimeout'](_0x48980b,0x1d4c0);});}}_0x193dc9['on']('_sendUsageRequest',(_0x37d497,_0x4b1842)=>{if(_0x4b1842[0x0]!=_0x31e652)return _0x264294('UsageLimit');_0x4b1842[0x1]={..._0x4b1842[0x1],'requestId':_0x54b2d3};},{'priority':'high'}),_0x193dc9['on']('_sendUsageRequest',_0x469b75=>{_0x24cc12(_0x469b75['return'])&&(_0x161506=!0x0,_0x357bd4(_0x469b75['return']));},{'priority':'low'}),_0xc6a82a['then'](()=>{_0x161506||_0x264294('UsageLimit');});});function _0x5d9fe1(){return'auto'==_0x193dc9['editing']['view']['_overlayModeHint'];}function _0x3e6b61(){_0x193dc9['editing']['view']['_overlayModeHint']='auto';}}function _0x5f4cb1(_0x2426f3){const _0x4f7da0=[new window['Promise'](_0x1d1cd8=>setTimeout(_0x1d1cd8,0x93ecc)),_0xc6a82a['then'](()=>new window['Promise'](_0x1a0e40=>{let _0x172077=0x0;_0x193dc9['model']['on']('applyOperation',(_0xeb3da0,_0xa2da35)=>{_0xa2da35[0x0]['isDocumentOperation']&&_0x172077++,0x5e8==_0x172077&&(_0x1a0e40(),_0xeb3da0['off']());});}))];return window['Promise']['race'](_0x4f7da0)['then'](()=>_0x2426f3);}async function _0x41fe71(){await _0xc6a82a,_0x193dc9['model']['change']=_0x495752,_0x193dc9['model']['enqueueChange']=_0x495752,_0x193dc9['enableReadOnlyMode']('model');}function _0x25c789(_0x25d1bd){const _0x4e8d62=_0xedd5b1();_0x193dc9[_0x4e8d62]='caseChangeLicenseKey'+_0x25d1bd,'Valid'!=_0x25d1bd&&_0x41fe71();}function _0xedd5b1(){const _0x546b31=window['String'](window['performance']['now']())['replace']('.','');let _0x4595b4='E';for(let _0x418d0a=0x0;_0x418d0a<_0x546b31['length'];_0x418d0a+=0x2){let _0x28aaa1=window['parseInt'](_0x546b31['substring'](_0x418d0a,_0x418d0a+0x2));_0x28aaa1>=0x3e&&(_0x28aaa1-=0x3e),_0x4595b4+=_0x50f5fa[_0x28aaa1];}return _0x4595b4;}function _0x30c9fb(){const _0x5d6e4f=_0x5cbd77['split']('.');if(0x3!=_0x5d6e4f['length'])return null;return _0x3b4a68(_0x5d6e4f[0x1]);function _0x3b4a68(_0x5ed533){const _0xeef066=_0x294953(_0x5ed533);return _0xeef066&&_0x2f4d1b()?_0xeef066:null;function _0x2f4d1b(){const _0x57b886=_0xeef066['jti'],_0x43d961=window['parseInt'](_0x57b886['substring'](_0x57b886['length']-0x8),0x10),_0x22a1e8={..._0xeef066,'jti':_0x57b886['substring'](0x0,_0x57b886['length']-0x8)};return delete _0x22a1e8['vc'],_0x1a21d8(_0x22a1e8)==_0x43d961;}}}async function _0x27b289(){let _0x28c0ca=!0x0;try{const [_0x562ed5,_0x221351,_0x1315c4]=_0x5cbd77['split']('.');return _0x3d4aa1(_0x562ed5),await _0x54b322(_0x562ed5,_0x221351,_0x1315c4),_0x28c0ca;}catch{return!0x1;}function _0x3d4aa1(_0x39ca94){const _0x5636ae=_0x294953(_0x39ca94);_0x5636ae&&'ES256'==_0x5636ae['alg']||(_0x28c0ca=!0x1);}async function _0x54b322(_0x4e2cdd,_0x15c39c,_0x36125e){const _0x12e518=window['Uint8Array']['from'](_0x129403(_0x36125e),_0x366691=>_0x366691['charCodeAt'](0x0)),_0x3ae4d9=new window['TextEncoder']()['encode'](_0x4e2cdd+'.'+_0x15c39c),_0x15f8a9=window['crypto']['subtle'];if(!_0x15f8a9)return;const _0x2fed6e=await _0x15f8a9['importKey']('jwk',_0x37622e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x15f8a9['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2fed6e,_0x12e518,_0x3ae4d9)||(_0x28c0ca=!0x1);}}function _0x294953(_0x4ba427){return _0x4ba427['startsWith']('ey')?JSON['parse'](_0x129403(_0x4ba427)):null;}function _0x129403(_0x149e84){return window['atob'](_0x149e84['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1a21d8(_0x58d0d3){let _0x21a4c2=0x1505;function _0x2fb491(_0x56c891){for(let _0x5876b5=0x0;_0x5876b5<_0x56c891['length'];_0x5876b5++){const _0x23ea18=_0x56c891['charCodeAt'](_0x5876b5);_0x21a4c2=(_0x21a4c2<<0x5)+_0x21a4c2+_0x23ea18,_0x21a4c2&=_0x21a4c2;}}function _0x7d0d66(_0x1d5e35){Array['isArray'](_0x1d5e35)?_0x1d5e35['forEach'](_0x7d0d66):_0x1d5e35&&'object'==typeof _0x1d5e35?Object['entries'](_0x1d5e35)['sort']()['forEach'](([_0x2a4de3,_0x3f95ba])=>{_0x2fb491(_0x2a4de3),_0x7d0d66(_0x3f95ba);}):_0x2fb491(window['String'](_0x1d5e35));}return _0x7d0d66(_0x58d0d3),_0x21a4c2>>>0x0;}function _0x16e9dc(_0x2ffdff){return _0x2ffdff['toString'](0x10)['padStart'](0x8,'0');}function _0x39bf1c(_0x2338fe){return _0x2338fe['split']('')['reverse']()['join']('');}function _0x495752(){}_0x25c789(await _0x1bea09());}(this);}_announceCaseChangeOperation(_0x56b79f){const {ui:_0x44e9d,locale:_0x3272c1}=this['editor'],_0x33ee85=_0x52b4f2(_0x3272c1)['find'](_0x447e2d=>_0x447e2d['commandName']===_0x56b79f)['label']['toLowerCase']();_0x44e9d['ariaLiveAnnouncer']['announce'](_0x126817(_0x3272c1,'Changed\x20case\x20to\x20%0',_0x33ee85));}};function _0x52b4f2(_0x24ec57){return[{'label':_0x126817(_0x24ec57,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':_0x126817(_0x24ec57,'lowercase'),'commandName':'changeCaseLower'},{'label':_0x126817(_0x24ec57,'Title\x20Case'),'commandName':'changeCaseTitle'}];}var _0x4d1e3d=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x580875=this['editor'];this['_registerComponents'](),_0x580875['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x126817(_0x580875['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x377588=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52576b;for(const _0x1e4cba in _0x377588){const _0x5daeeb=_0x1e4cba,_0x58b490=_0x377588[_0x5daeeb];if('caseChangeLicenseKeyValid'==_0x58b490||'caseChangeLicenseKeyInvalid'==_0x58b490||'caseChangeLicenseKeyExpired'==_0x58b490||'caseChangeLicenseKeyDomainLimit'==_0x58b490||'caseChangeLicenseKeyNotAllowed'==_0x58b490||'caseChangeLicenseKeyEvaluationLimit'==_0x58b490||'caseChangeLicenseKeyUsageLimit'==_0x58b490){delete _0x377588[_0x5daeeb],_0x52576b=_0x58b490,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x52576b&&_0x377588['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x52576b&&_0x377588['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x52576b&&_0x377588['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x52576b&&_0x377588['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x52576b&&_0x377588['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x52576b&&_0x377588['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_registerComponents(){const _0x394163=this['editor'],{itemDefinitions:_0x16f545,commands:_0x53526c}=this['_getListItemDefinitionsAndCommands']();_0x394163['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x16f545,_0x53526c)),_0x394163['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x16f545,_0x53526c));}_createMenuBarMenuView(_0x2246c5,_0x27022e){const _0x181533=this['editor'],_0x471f17=_0x181533['locale'],_0x14489f=new _0x491313['MenuBarMenuView'](_0x471f17),_0x2eaf3d=new _0x491313['MenuBarMenuListView'](_0x471f17);_0x2eaf3d['set']({'ariaLabel':_0x126817(_0x471f17,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x14489f['buttonView']),_0x14489f['bind']('isEnabled')['toMany'](_0x27022e,'isEnabled',(..._0x52ddf4)=>_0x52ddf4['some'](_0x4f02c6=>_0x4f02c6));for(const _0x4c8fd8 of _0x2246c5){const _0x344024=new _0x491313['MenuBarMenuListItemView'](_0x471f17,_0x14489f),_0x39c51a=new _0x491313['MenuBarMenuListItemButtonView'](_0x471f17);_0x39c51a['delegate']('execute')['to'](_0x14489f),_0x39c51a['bind'](...Object['keys'](_0x4c8fd8['model']))['to'](_0x4c8fd8['model']),_0x39c51a['on']('execute',()=>{_0x181533['execute'](_0x4c8fd8['model']['commandName']),_0x181533['editing']['view']['focus']();}),_0x344024['children']['add'](_0x39c51a),_0x2eaf3d['items']['add'](_0x344024);}return _0x14489f['panelView']['children']['add'](_0x2eaf3d),_0x14489f;}_createDropdownView(_0x32448e,_0x313870){const _0x463498=this['editor'],_0x14d1f1=(0x0,_0x491313['createDropdown'])(_0x463498['locale']);return this['_setButtonProperties'](_0x14d1f1['buttonView']),_0x14d1f1['buttonView']['set']({'tooltip':!0x0}),_0x14d1f1['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),(0x0,_0x491313['addListToDropdown'])(_0x14d1f1,_0x32448e,{'ariaLabel':_0x126817(_0x463498['locale'],'Case\x20change'),'role':'menu'}),_0x14d1f1['bind']('isEnabled')['toMany'](_0x313870,'isEnabled',(..._0x466614)=>_0x466614['some'](_0x5d5b62=>_0x5d5b62)),this['listenTo'](_0x14d1f1,'execute',_0x1c9551=>{_0x463498['execute'](_0x1c9551['source']['commandName']),_0x463498['editing']['view']['focus']();}),_0x14d1f1;}_setButtonProperties(_0x4e54f3){const _0x342d5a=this['editor'];_0x4e54f3['set']({'label':_0x126817(_0x342d5a['locale'],'Case\x20change'),'icon':_0x491313['IconCaseChange'],'keystroke':'Shift+F3'});}_getListItemDefinitionsAndCommands(){const _0x21b18f=new _0x491313['Collection'](),_0x28f594=[];for(const _0x2e69ac of _0x52b4f2(this['editor']['locale'])){const _0x4e7307=this['editor']['commands']['get'](_0x2e69ac['commandName']),_0x32631a=new _0x491313['UIModel']({'commandName':_0x2e69ac['commandName'],'label':_0x2e69ac['label'],'role':'menuitemradio','withText':!0x0});_0x32631a['bind']('isEnabled')['to'](_0x4e7307,'isEnabled'),_0x21b18f['add']({'type':'button','model':_0x32631a}),_0x28f594['push'](_0x4e7307);}return{'itemDefinitions':_0x21b18f,'commands':_0x28f594};}},_0x346280=class extends _0x491313['Plugin']{static get requires(){return[_0x4be741,_0x4d1e3d];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0x2e0180=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x4870ec=class extends _0x2e0180{['model'];['view'];constructor(_0x33ff9a,_0x5b9280){super(),this['model']=_0x33ff9a,this['model']['_isAttached']=!0x0,this['view']=_0x5b9280,this['listenTo'](_0x5b9280,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x5b9280,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x5b9280,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x5b9280,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x5b9280,'addComment',(_0xd391ad,_0x113645)=>this['addComment'](_0x113645)),this['listenTo'](_0x5b9280,'updateComment',(_0x4f8980,_0x50e6fb,_0x5845eb)=>this['updateComment'](_0x50e6fb,_0x5845eb)),this['listenTo'](_0x5b9280,'removeComment',(_0x32af5b,_0x3db5cc)=>this['removeComment'](_0x3db5cc));}submit(){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}addComment(_0x42f4a6){this['model']['addComment']({'content':_0x42f4a6,'authorId':this['view']['_localUser']['id']});}updateComment(_0x169670,_0x2a4d2f){this['model']['getComment'](_0x169670)['update']({'content':_0x2a4d2f});}removeComment(_0x1d86f1){this['model']['getComment'](_0x1d86f1)['remove']();}destroy(){this['stopListening'](),this['model']['_isAttached']=!0x1;}};function _0x1e9645(_0x42df10,_0x382d60,_0x57876d){const t=_0x42df10['t'];switch(_0x382d60){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x57876d);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%0\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x57876d);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x57876d);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x57876d);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x57876d);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x57876d);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x57876d);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x57876d);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}var _0x4e21a6=class extends _0x491313['EditorUIView']{['main'];editable;constructor(_0x24702a,_0x382f4c){super(_0x24702a);const _0x2fe310=(0x0,_0x491313['uid'])();this['main']=this['createCollection'](),this['editable']=new _0x491313['InlineEditableUIView'](_0x24702a,_0x382f4c,void 0x0,{'label':()=>_0x1e9645(_0x24702a,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x24702a['uiLanguageDirection'],'lang':_0x24702a['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x2fe310},'children':[{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}},_0x40c77b=class extends _0x491313['EditorUI']{['view'];constructor(_0x41f177){super(_0x41f177),this['view']=new _0x4e21a6(_0x41f177['locale'],_0x41f177['editing']['view']);}get element(){return this['view']['element'];}init(){const _0x3b1154=this['editor']['editing']['view'],_0x4ef240=this['view']['editable'];_0x4ef240['name']=_0x3b1154['document']['getRoot']()['rootName'],this['view']['render']();const _0xcd0965=_0x4ef240['element'];this['setEditableElement'](_0x4ef240['name'],_0xcd0965),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3b1154['attachDomRoot'](_0xcd0965),this['fire']('ready');}destroy(){super['destroy'](),this['view']['destroy']();}};const _0x755bd4=[_0x491313['Clipboard'],_0x491313['Enter'],_0x491313['ShiftEnter'],_0x491313['SelectAll'],_0x491313['Typing'],_0x491313['Undo'],_0x491313['Paragraph']],_0x30858d=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])(_0x491313['Editor']);var _0x41783d=class CommentEditor extends _0x30858d{static defaultPlugins=/* #__PURE__ -- @preserve */
((()=>_0x755bd4)());constructor(_0x268f83={}){(_0x268f83=Object['assign']({},_0x268f83))['plugins']||(_0x268f83['plugins']=CommentEditor['defaultPlugins']),super(_0x268f83),this['ui']=new _0x40c77b(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this['editing']['view']['_overlayModeHint']='auto',this['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}create(){const _0x36406e=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x36406e))['then'](()=>this['fire']('ready'));}destroy(){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x36bd7f=>{const _0xc6edf7=this['model']['document']['getRoot'](),_0x22282f=_0xc6edf7&&_0xc6edf7['getChild'](_0xc6edf7['childCount']-0x1);_0x36bd7f['setSelection'](_0x22282f,'end'),this['editing']['view']['focus']();});}_updatePlaceholder(){const _0x3d22aa=this['editing']['view'],_0x50617a=_0x3d22aa['document']['getRoot'](),_0xec9973=_0x50617a['getChild'](0x0);_0x50617a['childCount']>0x1||!_0xec9973||'p'!=_0xec9973['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&((0x0,_0x491313['disableViewPlaceholder'])(_0x3d22aa,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0xec9973['placeholder']=this['placeholder']),(0x0,_0x491313['enableViewPlaceholder'])({'view':_0x3d22aa,'element':_0xec9973,'keepOnFocus':!0x0}),this['placeholderElement']=_0xec9973);}},_0x45d4ef=class extends _0x491313['View']{keystrokes;['focusTracker'];['focusables'];['focusCycler'];submitButtonView;cancelButtonView;_editorConfig;constructor(_0x5d27f1,_0x27ae49={}){super(_0x5d27f1),this['editor']=null,this['_editorConfig']=_0x27ae49,this['set']('value',_0x27ae49['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',_0x1e9645(_0x5d27f1,'Reply...')),this['set']('submitLabel',_0x1e9645(_0x5d27f1,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['focusTracker']=new _0x491313['FocusTracker'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3901f7=>!_0x3901f7['defaultPrevented']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0xc31019,_0x321360)=>{this['cancelButtonView']['fire']('execute'),_0x321360();}),this['keystrokes']['set']('Ctrl+Enter',(_0x17f9c1,_0x3bf4ad)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x3bf4ad());}),this['on']('submit',(_0x255858,_0x1bd36d)=>{_0x1bd36d['length']>0xfde8?(alert(_0x1e9645(_0x5d27f1,'TOO_LONG_COMMENT_ALERT',[_0x1bd36d['length'],0xfde8])),_0x255858['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}createEditor(){return this['editor']||(this['editor']=new _0x41783d(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x1d7a01=this['editor'];this['element']['insertBefore'](_0x1d7a01['ui']['element'],this['element']['firstChild']),_0x1d7a01['model']['document']['on']('change',()=>this['value']=_0x1d7a01['getData']()),_0x1d7a01['bind']('placeholder')['to'](this),this['focusables']['add'](_0x1d7a01['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x24b5b8){-0x1===_0x24b5b8?(this['focusCycler']['focusFirst'](),this['focusCycler']['focusLast']()):this['focusCycler']['focusFirst']();}async destroy(){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor']['destroy'](),this['fire']('editorDestroyed',this['editor'])),await super['destroy']());}_createSubmitButton(){const {locale:_0x3a5207}=this,_0x5dbf0a=new _0x491313['ButtonView'](_0x3a5207);return _0x5dbf0a['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x5dbf0a['withText']=!0x0,_0x5dbf0a['bind']('label')['to'](this,'submitLabel'),_0x5dbf0a['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x5dbf0a['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x1d23aa,_0x36bca9)=>!_0x36bca9&&!!_0x1d23aa['trim']()),_0x5dbf0a;}_createCancelButton(){const {locale:_0x4906fe}=this,_0x55dfd0=new _0x491313['ButtonView'](_0x4906fe);return _0x55dfd0['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x55dfd0['label']=_0x1e9645(_0x4906fe,'Cancel'),_0x55dfd0['withText']=!0x0,_0x55dfd0['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x55dfd0;}_setupKeyboardNavigation(){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x4c0bc7=>{this['focusTracker']['add'](_0x4c0bc7['element']);}),this['focusables']['on']('change',(_0x3193da,_0x5c3e62)=>{for(const _0x57a413 of Array['from'](_0x5c3e62['added'])['reverse']())this['focusTracker']['add'](_0x57a413['element']);});}},_0x7c5453=class extends _0x491313['View']{constructor(_0x2f6396,_0x4d399c,_0x3e3261){super(_0x2f6396),this['commentInputView']=new _0x45d4ef(_0x2f6396,_0x3e3261),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x22235a,_0x103074)=>_0x22235a||!!_0x103074),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this['commentInputView']['editor']&&this['commentInputView']['createEditor']();}),this['commentInputView']['delegate']('editorReady')['to'](this),this['commentInputView']['delegate']('editorDestroyed')['to'](this),this['userView']=new _0x302d20(_0x2f6396,_0x4d399c),this['userView']['extendTemplate']({'attributes':{'class':'ck-thread__user','aria-hidden':!0x0}}),this['commentInputView']['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this['bindTemplate']['if']('showInput','ck-comment__input-container--active')]},'children':[this['userView'],this['commentInputView']]});}['render'](){super['render'](),this['_focusOnNonInteractiveMouseDown']();}destroy(){return this['commentInputView']['destroy']()['then'](()=>super['destroy']());}['focus'](_0x40ef2e){this['commentInputView']['focus'](_0x40ef2e);}_focusOnNonInteractiveMouseDown(){this['listenTo'](this['element'],'mousedown',(_0x2c0846,_0x10aa32)=>{const {submitButtonView:_0x53a840,cancelButtonView:_0x276739,editor:_0x63fb08}=this['commentInputView'];[_0x53a840['element'],_0x276739['element'],_0x63fb08?_0x63fb08['editing']['view']['getDomRoot']():null]['filter'](_0x29d47a=>_0x29d47a)['some'](_0x239b90=>_0x239b90['contains'](_0x10aa32['target']))||(this['focus'](),_0x10aa32['preventDefault']());});}},_0x230b44=class extends _0x491313['View']{constructor(_0x35ef3d){super(_0x35ef3d);const _0x5ddf67=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x5ddf67['to']('count',_0x8bf769=>_0x1e9645(_0x35ef3d,'NUMBER_OF_COMMENTS',_0x8bf769))}]});}},_0x501cc2=class extends _0x491313['View']{commentViews;resolvedCommentView;['focusTracker'];keystrokes;['focusCycler'];['_model'];['_config'];_collapsedCommentsView;constructor(_0x16554d,_0x2d93be,_0xe27341){super(_0x16554d);const _0x3a71f6=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x2d93be['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x2d93be,this['_config']=_0xe27341,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x55db87=>this['commentViews']['map'](_0x419f64=>_0x419f64['element'])['includes'](_0x55db87['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new _0x230b44(_0x16554d),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x2bff50=>_0x2bff50-this['_config']['maxCommentsWhenCollapsed']);for(const _0x5b9a0b of _0x2d93be['comments'])this['_handleNewCommentModel'](_0x5b9a0b);this['_handleInfoComment'](),this['listenTo'](_0x2d93be['comments'],'add',(_0x5ce6f1,_0x4131fc)=>{const _0x4075e4=this['_calculatePosition'](_0x4131fc);this['length']++,this['_handleNewCommentModel'](_0x4131fc,_0x4075e4),this['refreshVisibleViews']();}),this['listenTo'](_0x2d93be['comments'],'remove',(_0x5d9a11,_0x3d909a)=>{this['length']--,this['_handleRemoveCommentModel'](_0x3d909a),this['refreshVisibleViews']();}),this['listenTo'](_0x2d93be,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x2d93be,'change:isResolved',()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':['ck-thread__comments',_0x3a71f6['if']('length','ck-hidden',_0x2056f8=>!_0x2056f8)],'aria-label':_0x1e9645(_0x16554d,'Thread\x20comments')},'children':this['visibleViews']});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this['isActive']&&!this['hasDirtyComment'];}['render'](){super['render'](),this['refreshVisibleViews'](),this['_setupKeyboardNavigation']();}['focus'](_0x2a5b3e){-0x1===_0x2a5b3e?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}destroy(){this['_collapsedCommentsView']['destroy']();for(const _0x27afac of this['commentViews'])_0x27afac['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}_handleNewCommentModel(_0x16d6e6,_0x204160){const _0x37d8b1=new this['_config']['CommentView'](this['locale'],_0x16d6e6,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x37d8b1['viewUid']=_0x16d6e6['id'],_0x37d8b1['delegate']('removeComment')['to'](this),_0x37d8b1['delegate']('updateComment')['to'](this),_0x37d8b1['delegate']('resolveCommentThread')['to'](this),_0x37d8b1['delegate']('editorReady')['to'](this),_0x37d8b1['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x37d8b1,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x37d8b1,_0x204160);}_calculatePosition(_0x50a3e8){const _0x313d85=this['_model']['_findOptimalIndex'](_0x50a3e8);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x50a3e8['authoredAt']?_0x313d85-0x1:_0x313d85:_0x313d85-0x1;}_handleInfoComment(){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x509efa={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':_0x1e9645(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x509efa,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x509efa));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}_handleRemoveCommentModel(_0x18a85c){const _0x5c3820=this['commentViews']['remove'](_0x18a85c['id']);this['stopListening'](_0x5c3820),_0x5c3820['isEditMode']&&this['_updateHasDirtyComment'](),_0x5c3820['destroy']();}_updateHasDirtyComment(){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x2585f5=>_0x2585f5['isEditMode']);}['_rearrangeCollapse'](){const _0x301e92=function(_0x4899d7){const _0x1b43bb=new _0x491313['Collection']();for(const _0x2663c0 of _0x4899d7)_0x1b43bb['add'](_0x2663c0);return _0x1b43bb;}(this['commentViews']),_0x3832cf=this['_collapsedCommentsView']['count'];for(let _0x5f54bf=0x1;_0x5f54bf<=_0x3832cf;_0x5f54bf++)_0x301e92['remove'](0x1);for(const _0x8ce167 of _0x301e92)_0x8ce167['collapse']();_0x3832cf>0x0&&_0x301e92['add'](this['_collapsedCommentsView'],0x1),_0x5084b5((0x0,_0x491313['diff'])(Array['from'](this['visibleViews']),Array['from'](_0x301e92)),this['visibleViews'],_0x301e92);}['_rearrangeExpand'](){_0x5084b5((0x0,_0x491313['diff'])(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x41f9e4 of this['visibleViews'])_0x41f9e4['expand']();}_setupKeyboardNavigation(){this['commentViews']['forEach'](_0x592c91=>{this['focusTracker']['add'](_0x592c91['element']),this['keystrokes']['listenTo'](_0x592c91['element']);}),this['commentViews']['on']('change',(_0x31b29a,_0x2c611e)=>{for(const _0x1931c1 of _0x2c611e['removed'])this['focusTracker']['remove'](_0x1931c1['element']),this['keystrokes']['stopListening'](_0x1931c1['element']);for(const _0x5df56d of Array['from'](_0x2c611e['added'])['reverse']())this['focusTracker']['add'](_0x5df56d['element']),this['keystrokes']['listenTo'](_0x5df56d['element']);});}};function _0x5084b5(_0x3ac834,_0x282929,_0x2f4a94){let _0x32b1b3=0x0;for(const _0xa0504d of _0x3ac834)switch(_0xa0504d){case'insert':_0x282929['add'](_0x2f4a94['get'](_0x32b1b3),_0x32b1b3),_0x32b1b3++;break;case'delete':_0x282929['remove'](_0x32b1b3);break;case'equal':_0x32b1b3++;}}var _0x57c629=class extends _0x491313['View']{constructor(_0x5d3c23){super(_0x5d3c23);const _0x455458=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x455458['to']('contextValue',_0x27657e=>_0x1e9645(_0x5d3c23,'THREAD_CONTEXT_LABEL',_0x27657e)),'tabindex':-0x1},'children':[{'text':_0x455458['to']('contextValue')}]});}['focus'](){this['element']['focus']();}},_0x529d7d=class extends _0x491313['View']{['_model'];reopenButtonView;contextView;['focusables'];['focusTracker'];keystrokes;['focusCycler'];constructor(_0xd1055e,_0x5845a6){super(_0xd1055e);const _0x889804=this['bindTemplate'];this['_model']=_0x5845a6,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x31fc72=>!!_0x31fc72),this['bind']('contextValue')['to'](this['_model'],'context',_0x81f86c=>_0x81f86c&&_0x81f86c['value']?this['_trimContextValue'](_0x81f86c['value']):_0x1e9645(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x889804['if']('hasContext','ck-context--quotes')]},'children':[this['contextView']]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}_createReopenButton(){const _0x383d1a=new _0x491313['ButtonView'](this['locale']);return _0x383d1a['label']=_0x1e9645(this['locale'],'Reopen'),_0x383d1a['tooltip']=_0x1e9645(this['locale'],'Reopen'),_0x383d1a['icon']=_0x491313['IconUndo'],_0x383d1a['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x56f6f2=>!_0x56f6f2),_0x383d1a['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x595952,_0x30abe8)=>_0x595952&&_0x30abe8),_0x383d1a['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x383d1a;}_trimContextValue(_0x5565b1){if(_0x5565b1['length']<0x96)return _0x5565b1;const _0xbdd8a=_0x5565b1['lastIndexOf']('\x20',0x93);return _0x5565b1['substring'](0x0,_0xbdd8a>-0x1?_0xbdd8a:0x93)+'...';}_attachContextActions(){const _0x196722=this['element']['querySelector']('.ck-context'),_0x5cbfc4=_0x196722['querySelector']('.ck-context__value');this['listenTo'](_0x196722,'mouseenter',()=>{_0x5cbfc4['offsetWidth']<_0x5cbfc4['scrollWidth']&&_0x196722['classList']['add']('overlay');}),this['listenTo'](_0x196722,'mouseleave',()=>{_0x196722['classList']['remove']('overlay');});}_setupKeyboardNavigation(){this['keystrokes']['listenTo'](this['element']);for(const _0x4e80ec of this['focusables'])this['focusTracker']['add'](_0x4e80ec['element']),this['keystrokes']['listenTo'](_0x4e80ec['element']);}_createContextView(){const _0x2e96ef=new _0x57c629(this['locale']);return _0x2e96ef['bind']('contextValue')['to'](this),_0x2e96ef;}},_0x1706f3=class extends _0x491313['View']{['_model'];['_config'];commentThreadHeaderView;commentThreadInputView;ariaDescriptionView;['focusables'];['focusTracker'];keystrokes;['focusCycler'];constructor(_0x23e8fc,_0x2e7167,_0x2b6c68,_0x45a06b){super(_0x23e8fc),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x2e7167,this['_localUser']=_0x2b6c68,this['_config']=_0x45a06b,this['commentThreadHeaderView']=new _0x529d7d(_0x23e8fc,_0x2e7167),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new _0xd61a0c(_0x23e8fc,_0x1e9645(_0x23e8fc,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new _0x501cc2(_0x23e8fc,_0x2e7167,Object['assign']({'CommentView':this['_config']['CommentView']},_0x45a06b)),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['listenTo'](this,'resolveCommentThread',()=>{this['focus']();}),this['set']('length',this['commentsListView']['length']),this['bind']('length')['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x372c75,_0xd6369b)=>_0x372c75||!!_0xd6369b),this['bind']('isUnlinked')['to'](_0x2e7167,'unlinkedAt',_0x2b94a1=>!!_0x2b94a1);let _0xa5d018=null;const _0x5aa331=()=>{const _0x1595f6=this['_model']['comments']['first']||null;_0x1595f6!==_0xa5d018&&(_0xa5d018&&this['stopListening'](_0xa5d018,'change:content'),_0xa5d018=_0x1595f6,_0x1595f6&&this['listenTo'](_0x1595f6,'change:content',_0x5aa331));const _0x3d6404=_0x1595f6?_0x1595f6['author']['name']:this['_localUser']['name'],_0xa3c31d=_0x1595f6?new DOMParser()['parseFromString'](_0x3fc08f(_0x1595f6['content'],{'limit':this['_config']['maxCommentCharsWhenCollapsed']}),'text/html')['body']['textContent']:'',_0x557182=_0x1e9645(this['locale'],'COMMENT_THREAD_LABEL',[this['length'],_0x3d6404]);this['set']('ariaLabel',_0xa3c31d?_0x557182+'\x20'+_0xa3c31d:_0x557182);};this['listenTo'](this['_model']['comments'],'change',_0x5aa331),_0x5aa331(),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x418b14=>_0x418b14['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),_0x3fd63c(this,this['focusables']);}async destroy(){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}_createCommentThreadInputView(){const _0x2de250=new _0x7c5453(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x30e2c3=_0x2de250['commentInputView'];return _0x2de250['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x30e2c3,'value',(_0x3297bb,_0x1081b0,_0x46f092,_0x50a8ff,_0x10c7dd)=>!!_0x10c7dd||!!_0x50a8ff&&_0x46f092&&!_0x1081b0||_0x3297bb&&_0x46f092&&!_0x1081b0),_0x30e2c3['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x4f3000,_0x3f854e,_0x4c2a0b)=>{let _0x77af25;return _0x77af25=_0x4c2a0b&&_0x3f854e?'Reply\x20to\x20reopen\x20discussion...':_0x4f3000?'Reply...':'Write\x20a\x20comment...',_0x1e9645(this['locale'],_0x77af25);}),_0x30e2c3['bind']('submitLabel')['to'](this,'length',_0x2f5aed=>_0x1e9645(this['locale'],_0x2f5aed?'Reply':'Comment')),_0x30e2c3['on']('submit',(_0x10b84b,_0x36adfd)=>{this['fire']('addComment',_0x36adfd),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x30e2c3['on']('cancel',()=>{this['focus']();}),_0x30e2c3['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x30e2c3['on']('cancel',_0x41cb09=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x41cb09['stop']());}),this['on']('change:isActive',(_0x1b2da0,_0x2b19b8,_0x2a3bce)=>{_0x2a3bce||this['length']||_0x30e2c3['value']||this['fire']('removeCommentThread');}),_0x2de250;}};const _0x32ffc3=/* #__PURE__ -- @preserve */
_0x63bf97(_0x1706f3);var _0x170fa2=class extends _0x32ffc3{commentThreadChildren;containerElement;resolveButton;_boundFirstCommentView;constructor(_0x1a750e,_0x2c9aff,_0x9618d1,_0x48e691){super(_0x1a750e,_0x2c9aff,_0x9618d1,_0x48e691),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x1a750e,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x977e13,_0x215ad9,_0x1d90cb)=>{_0x1d90cb||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x3bda0e,_0x3e3dbd,_0x494483)=>{_0x494483&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}getTemplate(){const _0x3dfd2e=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x3dfd2e['if']('isActive','ck-thread--active'),_0x3dfd2e['if']('isUnlinked','ck-thread--unlinked'),_0x3dfd2e['to']('actionIndicator',_0x39403f=>_0x39403f?'ck-thread--'+_0x39403f:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x3dfd2e['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container'),this['_model']['on']('change:archivedAt',()=>{this['_updateArchivedThreadHeader']();}),this['_updateArchivedThreadHeader']();}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x40bdf0 of this['commentsListView']['commentViews'])_0x40bdf0['cancelConfirm']();}_bindFirstCommentView(){const {locale:_0x4c2215}=this,_0x27d930=this['commentsListView']['commentViews']['get'](0x0);_0x27d930===this['_boundFirstCommentView']||_0x27d930['isSystemComment']||(this['_boundFirstCommentView']=_0x27d930,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x27d930,'actionIndicator',_0x1657ac=>'remove'===_0x1657ac?'remove':null),_0x27d930['placeholder']=_0x1e9645(_0x4c2215,'Write\x20a\x20comment...'),_0x27d930['removeButton']['on']('execute',_0xea26b5=>{_0xea26b5['stop'](),this['showConfirm'](_0x1e9645(_0x4c2215,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x27d930['focus']();}),_0x27d930['actionBar']['add'](this['resolveButton'],0x0),_0x27d930['focusables']['add'](this['resolveButton'],0x0));}_createResolveButton(){const _0x4d9fe3=new _0x11c0d5(this['locale']);return _0x4d9fe3['label']=_0x1e9645(this['locale'],'Resolve'),_0x4d9fe3['tooltip']=_0x1e9645(this['locale'],'Resolve'),_0x4d9fe3['icon']=_0x491313['IconCheck'],_0x4d9fe3['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x4d9fe3['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3678bf=>!_0x3678bf),_0x4d9fe3['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0xaceeaa,_0x222397)=>_0xaceeaa&&!_0x222397),_0x4d9fe3['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x4d9fe3;}_updateArchivedThreadHeader(){this['_model']['archivedAt']?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||(this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['focusables']['add'](this['commentThreadHeaderView'],0x0)):this['commentThreadChildren']['has'](this['commentThreadHeaderView'])&&(this['commentThreadChildren']['remove'](this['commentThreadHeaderView']),this['focusables']['remove'](this['commentThreadHeaderView']));}},_0x145129=class extends _0x491313['View']{constructor(_0x2f4507){super(_0x2f4507),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x40f46d,_0x2b8478,_0x4ebe5d)=>{this['element']['innerHTML']=_0x4ebe5d;}),this['element']['innerHTML']=this['content'];}},_0x197038=class extends _0x491313['View']{['visibleView'];ariaDescriptionView;['focusables'];['focusTracker'];keystrokes;['focusCycler'];['_model'];['_config'];constructor(_0x497f80,_0x3ef239,_0x5d0b01){super(_0x497f80),this['_model']=_0x3ef239,this['_config']=_0x5d0b01,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x3ef239,'content',_0x3ef239,'authoredAt',(_0x392ad8,_0x6dee47)=>_0x1e9645(_0x497f80,'COMMENT_ARIA_LABEL',[_0x3ef239['author']['name'],_0x5d0b01['formatDateTime'](_0x6dee47),new DOMParser()['parseFromString'](_0x392ad8,'text/html')['body']['textContent'],_0x3ef239['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new _0xd61a0c(_0x497f80,_0x1e9645(_0x497f80,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new _0x491313['ViewCollection'](),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x375b0e=>_0x375b0e['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['expand'](){this['isCollapsed']=!0x1;}['collapse'](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['_setupKeyboardNavigation']();}async destroy(){await this['visibleView']['get'](0x0)['destroy'](),super['destroy']();}switchToEditMode(){this['isEditMode']||(this['isEditMode']=!0x0,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentInputView']()));}switchToDisplayMode(){this['isEditMode']&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentContentView']()));}getExternalCommentNote(){return'importWord'===this['_model']['attributes']['@external']['source']?_0x1e9645(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x1e9645(this['locale'],'EXTERNAL_COMMENT');}getUserViewNotificationText(){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x1e9645(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x1e9645(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}_createCommentContentView(){const _0x272d75=new _0x145129(this['locale']);return _0x272d75['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x1be741,_0x414c9e)=>_0x414c9e?_0x3fc08f(_0x1be741,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x1be741),_0x272d75;}_createCommentInputView(){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x3d0af1=new _0x45d4ef(this['locale'],this['_config']['editorConfig']);return _0x3d0af1['value']=this['_model']['content'],_0x3d0af1['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x3d0af1['submitLabel']=_0x1e9645(this['locale'],'Save'),_0x3d0af1['on']('submit',(_0x555353,_0x452e25)=>{this['fire']('updateComment',this['_model']['id'],_0x452e25),this['switchToDisplayMode'](),this['focus']();}),_0x3d0af1['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x3d0af1['once']('editorReady',()=>{_0x3d0af1['focus']();}),_0x3d0af1['createEditor'](),_0x3d0af1['delegate']('editorReady')['to'](this),_0x3d0af1['delegate']('editorDestroyed')['to'](this),_0x3d0af1;}_setupKeyboardNavigation(){const _0x447baf=this['element'];this['keystrokes']['listenTo'](_0x447baf);for(const _0x58d41b of this['focusables'])this['focusTracker']['add'](_0x58d41b['element']),this['keystrokes']['listenTo'](_0x58d41b['element']);this['focusables']['on']('change',(_0x4b5507,_0x134dd7)=>{for(const _0x1b2513 of _0x134dd7['removed'])this['focusTracker']['remove'](_0x1b2513['element']),this['keystrokes']['stopListening'](_0x1b2513['element']);for(const _0x2dcf6e of _0x134dd7['added'])this['focusTracker']['add'](_0x2dcf6e['element']),this['keystrokes']['listenTo'](_0x2dcf6e['element']);}),this['keystrokes']['set']('enter',(_0x539abe,_0x56c0cd)=>{_0x447baf===_0x539abe['target']&&(this['focusCycler']['focusFirst'](),_0x56c0cd());}),this['keystrokes']['set']('esc',(_0x4d1599,_0x1f5f81)=>{_0x447baf!==_0x4d1599['target']&&(this['focus'](),_0x1f5f81());});}};const tg=/* #__PURE__ -- @preserve */
_0x63bf97(_0x197038);var _0x8d5600=class extends tg{actionBar;['userView'];constructor(_0x3c8076,_0x4a26a2,_0x47edc0){super(_0x3c8076,_0x4a26a2,_0x47edc0),this['set']('actionIndicator',null),this['set']('placeholder',_0x1e9645(_0x3c8076,'Reply...')),this['bind']('authoredAt')['to'](_0x4a26a2),this['bind']('resolvedAt')['to'](_0x4a26a2),this['actionBar']=this['createCollection'](),this['isSystemComment']||(this['editButton']=this['_createEditButton'](),this['removeButton']=this['_createRemoveButton'](),this['items']=this['createCollection'](),this['items']['addMany']([this['editButton'],this['removeButton']]),this['dropdown']=this['_createDropdown'](),this['actionBar']['add'](this['dropdown']),this['focusables']['add'](this['dropdown'])),this['userView']=new _0x302d20(_0x3c8076,_0x4a26a2['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x4a26a2,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}getTemplate(){const _0x3fc66c=this['bindTemplate'],_0x5067d2=[{'tag':'div','attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name'],'data-cke-tooltip-text':this['userView']['name']}},{'tag':'time','attributes':{'datetime':_0x3fc66c['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x3fc66c['to']('authoredAt',_0x1b7d78=>this['_config']['formatDateTime'](_0x1b7d78))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x3fc66c['if']('isEditMode','ck-comment__actions--hidden'),_0x3fc66c['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']},this['ariaDescriptionView']];return this['_model']['isExternal']&&_0x5067d2['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x3fc66c['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x3fc66c['if']('isEditMode','ck-comment--edit'),_0x3fc66c['if']('isSystemComment','ck-comment--info'),_0x3fc66c['to']('actionIndicator',_0x439237=>_0x439237?'ck-comment--'+_0x439237:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id'],'role':'group'},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0x5067d2}]}]};}_createEditButton(){const _0x39426a=new _0x491313['ButtonView'](this['locale']);return _0x39426a['label']=_0x1e9645(this['locale'],'Edit'),_0x39426a['icon']=_0x491313['IconPencil'],_0x39426a['withText']=!0x0,_0x39426a['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x39426a['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x22326a=>!_0x22326a),_0x39426a['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x39426a['on']('execute',()=>this['switchToEditMode']()),_0x39426a;}_createRemoveButton(){const _0xa987d7=new _0x491313['ButtonView'](this['locale']);return _0xa987d7['label']=_0x1e9645(this['locale'],'Remove'),_0xa987d7['icon']=_0x491313['IconRemoveComment'],_0xa987d7['withText']=!0x0,_0xa987d7['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0xa987d7['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1997c7=>!_0x1997c7),_0xa987d7['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0xa987d7['on']('execute',()=>{this['showConfirm'](_0x1e9645(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0xa987d7;}_createDropdown(){const _0x2c0bd8=(0x0,_0x491313['createDropdown'])(this['locale'],_0x522cc9),_0x11fc7e=_0x2c0bd8['panelView']['children'],_0x3e2e45=new _0x491313['ListView'](this['locale']),_0x480bb2=_0x2c0bd8['bindTemplate'];(0x0,_0x491313['focusChildOnDropdownOpen'])(_0x2c0bd8,()=>this['items']['find'](_0x2ae8b5=>_0x2ae8b5['isVisible'])),_0x2c0bd8['extendTemplate']({'attributes':{'class':[_0x480bb2['if']('isVisible','ck-hidden',_0x101f57=>!_0x101f57)]}});const _0x5e026a=(_0x5e47bd,_0x27352f=-0x1)=>{const _0x43311d=new _0x491313['ListItemView'](this['locale']);_0x43311d['children']['add'](_0x5e47bd);const _0x773764=_0x27352f>-0x1?_0x27352f:_0x3e2e45['items']['length'];_0x3e2e45['items']['add'](_0x43311d,_0x773764);const _0x2c3763=Array['from'](this['items']);_0x2c0bd8['unbind']('isEnabled','isVisible'),_0x2c0bd8['bind']('isEnabled')['toMany'](_0x2c3763,'isEnabled',(..._0x65e4b7)=>_0x65e4b7['some'](_0x346641=>_0x346641)),_0x2c0bd8['bind']('isVisible')['toMany'](_0x2c3763,'isVisible',(..._0x2574f3)=>_0x2574f3['some'](_0x45334f=>_0x45334f));};_0x2c0bd8['panelPosition']='sw',_0x2c0bd8['buttonView']['set']({'label':_0x1e9645(this['locale'],'Show\x20more\x20items'),'icon':_0x491313['IconThreeVerticalDots']});for(const _0x3bc572 of this['items'])_0x5e026a(_0x3bc572);return _0x11fc7e['add'](_0x3e2e45),_0x2c0bd8['listenTo'](this['items'],'add',(_0x1adc14,_0x389016,_0x15cc6f)=>{_0x5e026a(_0x389016,_0x15cc6f);}),_0x2c0bd8['listenTo'](this['items'],'remove',(_0x4d000e,_0x84fb33,_0x5199af)=>{_0x3e2e45['items']['remove'](_0x5199af);}),_0x2c0bd8;}_attachActions(_0x4fb6c7,_0x467162){const _0x19a395=_0x4fb6c7&&_0x4fb6c7['element'];_0x19a395&&(this['listenTo'](_0x19a395,'mouseenter',()=>this['actionIndicator']=_0x467162),this['listenTo'](_0x19a395,'focus',()=>this['actionIndicator']=_0x467162),this['listenTo'](_0x19a395,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x19a395,'blur',()=>this['actionIndicator']=null));}_createCommentInputView(){const _0x11702d=super['_createCommentInputView']();return _0x11702d['bind']('placeholder')['to'](this),_0x11702d;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}};function _0x4b9d3b(_0x28b22a){const _0x29a509=_0x1eb39b(_0x28b22a,0x1e),_0x3787ec=new MutationObserver(_0xe83139=>{for(const _0x28a27b of _0xe83139)('attributes'==_0x28a27b['type']&&'class'==_0x28a27b['attributeName']||'childList'==_0x28a27b['type']||'characterData'==_0x28a27b['type'])&&_0x29a509();});return{'attach'(_0x1208ec){_0x3787ec['observe'](_0x1208ec,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x3787ec['disconnect'](),_0x29a509['cancel']();}};}var _0x989795=class extends _0x491313['View']{['focusTracker'];['id'];keystrokes;content;['mainView'];_mutationObserver;constructor(_0x404130,_0x346419){super(_0x404130),this['id']=(0x0,_0x491313['uid'])(),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x553d09,_0x54ff63)=>this['fire']('Esc',_0x54ff63)),this['set']('targetRect',{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this['set']('height',0x0),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['set']('length',0x0),this['set']('type',''),this['_mutationObserver']=_0x4b9d3b(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x346419),this['mainView']=_0x346419;const _0x204eda=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x204eda['if']('isActive','ck-annotation-wrapper--active')],'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['focusTracker']['add'](this['element']),this['keystrokes']['listenTo'](this['element']),this['_mutationObserver']['attach'](this['element']);}destroy(){this['content']['clear'](),this['keystrokes']['destroy'](),this['focusTracker']['destroy'](),this['_mutationObserver']['detach'](),super['destroy']();}['focus'](){this['content']['first']&&this['content']['first']['focus']();}_updateHeight(){const _0x21d54e=this['element']['clientHeight'];_0x21d54e&&(this['height']=_0x21d54e);}};const _0x254768=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x2990cd=class Annotation extends _0x254768{['view'];focusableElements;_type;_target;constructor({view:_0x1ba0d7,target:_0x27d457,type:_0x1c7c96,isVisible:_0x298071=!0x0}){super(),this['view']=_0x1ba0d7,this['view']['element']||this['view']['render'](),this['_type']=_0x1c7c96,this['_target']=_0x27d457,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x491313['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x556aad,_0x58dd91)=>{this['view']['focusTracker']['add'](_0x58dd91);}),this['focusableElements']['on']('remove',(_0x5077b0,_0x28a81d)=>{this['view']['focusTracker']['remove'](_0x28a81d);}),this['set']('isVisible',_0x298071);}get type(){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get target(){const _0x59bdea=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x59bdea),_0x59bdea;}get targetRect(){const _0x2c2482=this['target'];if(null===_0x2c2482)return null;if(_0x2c2482 instanceof _0x491313['Rect'])return _0x2c2482;const _0xd27b35=_0x2c2482['filter'](_0x211bae=>function(_0x2f7688){return!!_0x2f7688['offsetParent']||!!_0x2f7688['getClientRects']()['item'](0x0);}(_0x211bae));return 0x0===_0xd27b35['length']?null:_0x491313['Rect']['getDomElementRects'](_0xd27b35[0x0])[0x0];}get isActive(){return this['view']['isActive'];}set isActive(_0x4c5916){this['view']['isActive']=_0x4c5916,this['view']['mainView']['isActive']=_0x4c5916;}updateTargetRect(){this['view']['targetRect']=this['targetRect'];}destroy(){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}refreshVisibility(){this['isVisible']=!!this['targetRect'];}static _assertCorrectTarget(_0x489ac6){if(!(null===_0x489ac6||_0x489ac6 instanceof _0x491313['Rect']||Array['isArray'](_0x489ac6)&&_0x489ac6['every'](_0x5bb3ce=>_0xd6d267(_0x5bb3ce))))throw new _0x491313['CKEditorError']('annotation-invalid-target',null,{'target':_0x489ac6});}_getNormalizedTarget(){const _0x1e3129='function'==typeof this['_target']?this['_target']():this['_target'];return _0xd6d267(_0x1e3129)?[_0x1e3129]:_0x1e3129;}};function _0xd6d267(_0x320fff){return null!==_0x320fff&&'object'==typeof _0x320fff&&'nodeType'in _0x320fff&&0x1===_0x320fff['nodeType'];}var _0x5bdaf3=class extends _0x491313['Collection']{_innerViewToAnnotation;_viewToAnnotation;['_focusTracker'];constructor(_0x2d1179=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x491313['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x12cece,_0x4a0ee8,_0x21d13b)=>{_0x21d13b||this['fire']('blur');});for(const _0x396a5b of _0x2d1179)this['add'](_0x396a5b);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x18d5f2){if(this['has'](_0x18d5f2))throw new _0x491313['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x18d5f2['innerView'],_0x18d5f2),this['_viewToAnnotation']['set'](_0x18d5f2['view'],_0x18d5f2);for(const _0x9edccb of _0x18d5f2['focusableElements'])this['_focusTracker']['add'](_0x9edccb);if(this['listenTo'](_0x18d5f2['focusableElements'],'add',(_0x2d6534,_0x150431)=>{this['_focusTracker']['add'](_0x150431);}),this['listenTo'](_0x18d5f2['focusableElements'],'remove',(_0x2245c6,_0x47db8d)=>{this['_focusTracker']['remove'](_0x47db8d);}),this['listenTo'](_0x18d5f2['view']['focusTracker'],'change:isFocused',(_0x4698dd,_0x4dced7,_0x48ed7a)=>{_0x48ed7a&&this['fire']('focus',_0x18d5f2);}),_0x18d5f2['updateTargetRect'](),this['_areCachedRectsStale']()){for(const _0x409954 of this)_0x409954['updateTargetRect']();}const _0xb90bb3=this['_getOrderInContent'](_0x18d5f2['view']['targetRect']);return super['add'](_0x18d5f2,_0xb90bb3);}['remove'](_0x2d8620){if(!this['has'](_0x2d8620))throw new _0x491313['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x2d8620['view']['focusTracker']),this['stopListening'](_0x2d8620['focusableElements']);for(const _0x3022a9 of _0x2d8620['focusableElements'])this['_focusTracker']['remove'](_0x3022a9);return this['_viewToAnnotation']['delete'](_0x2d8620['view']),this['_innerViewToAnnotation']['delete'](_0x2d8620['innerView']),super['remove'](_0x2d8620);}getByInnerView(_0x3fc629){return this['_innerViewToAnnotation']['get'](_0x3fc629);}getByView(_0x5db567){return this['_viewToAnnotation']['get'](_0x5db567);}destroy(){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}refreshPositioning(){for(const _0x45c4af of this)_0x45c4af['updateTargetRect']();this['_sort']();}_sort(){const _0x444333=Array['from'](this)['sort']((_0x58c5ad,_0x1707e0)=>_0xc2e820(_0x58c5ad['view']['targetRect'],_0x1707e0['view']['targetRect']));for(let _0x24cff2=_0x444333['length']-0x1;_0x24cff2>0x0;_0x24cff2--){const _0x1ea345=_0x444333[_0x24cff2];_0x24cff2!==this['getIndex'](_0x1ea345)&&(this['remove'](_0x1ea345),this['add'](_0x1ea345));}}_getOrderInContent(_0x223472){let _0x3419b2=0x0;if(!_0x223472)return this['length'];for(const _0x56d202 of this){const _0x199e51=_0x56d202['view']['targetRect'];if(_0x199e51){if(_0xc2e820(_0x223472,_0x199e51)<0x0)return _0x3419b2;_0x3419b2++;}}return _0x3419b2;}_areCachedRectsStale(){const _0x29152a=this['get'](0x0);if(!_0x29152a)return!0x1;const _0xe2af88=_0x29152a['view']['targetRect'],_0x5d5d5f=_0x29152a['targetRect'];return!(!_0xe2af88||!_0x5d5d5f)&&(_0xe2af88['top']!==_0x5d5d5f['top']||_0xe2af88['left']!==_0x5d5d5f['left']);}};function _0x4a173a({source:_0x117da0,target:_0x13894e,filter:_0x1bd40b}){for(const _0x2c06fa of _0x117da0)_0x1bd40b(_0x2c06fa)&&_0x13894e['add'](_0x2c06fa);_0x13894e['listenTo'](_0x117da0,'add',(_0x208e23,_0x54755d)=>{_0x1bd40b(_0x54755d)&&_0x13894e['add'](_0x54755d);}),_0x13894e['listenTo'](_0x117da0,'remove',(_0x8d99ba,_0x22a014)=>{_0x13894e['has'](_0x22a014)&&_0x13894e['remove'](_0x22a014);});}function _0xc2e820(_0x5069ad,_0x44ab19){if(null===_0x5069ad&&null===_0x44ab19)return 0x0;if(null===_0x5069ad)return-0x1;if(null===_0x44ab19)return 0x1;const _0x11bc51=_0x5069ad['top']-_0x44ab19['top'];return 0x0==_0x11bc51?_0x5069ad['left']-_0x44ab19['left']:_0x11bc51;}var _0xa7dd6f=class extends _0x491313['ContextPlugin']{collection;_visibleAnnotations;static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d53fa){if(super(_0x2d53fa),this['collection']=new _0x5bdaf3(),this['_visibleAnnotations']=new _0x5bdaf3(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x2d53fa instanceof _0x491313['Editor']){const _0xa94941=_0x2d53fa['locale'];_0x2d53fa['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':_0x1e9645(_0xa94941,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':_0x1e9645(_0xa94941,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':_0x1e9645(_0xa94941,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':_0x1e9645(_0xa94941,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':_0x1e9645(_0xa94941,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':_0x1e9645(_0xa94941,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':_0x1e9645(_0xa94941,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x183303){this['collection']['add'](_0x183303);}['remove'](_0x4fd1e5){this['collection']['remove'](_0x4fd1e5),_0x4fd1e5['destroy']();}refreshVisibility(){for(const _0x4a12ee of this['collection'])_0x4a12ee['refreshVisibility']();}refreshPositioning(){this['_visibleAnnotations']['refreshPositioning']();}getByInnerView(_0x1571bb){return this['collection']['getByInnerView'](_0x1571bb);}deactivateAll(){this['fire']('_deactivateAllAnnotations');}destroy(){for(const _0x415102 of this['collection'])_0x415102['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}activate(_0x12ceaa){this['fire']('_activateAnnotation',_0x12ceaa);}createAnnotation(_0x42bc49){return new _0x2990cd(_0x42bc49);}createAnnotationView(_0x3020bc,_0x4bd677){return new _0x989795(_0x3020bc,_0x4bd677);}_addActiveAnnotation(_0x3be163){const _0x5957a6=new Set(this['activeAnnotations']);_0x5957a6['add'](_0x3be163),this['activeAnnotations']=_0x5957a6;}_removeActiveAnnotation(_0x5c35fe){const _0x3d5cd7=new Set(this['activeAnnotations']);_0x3d5cd7['delete'](_0x5c35fe),this['activeAnnotations']=_0x3d5cd7;}_bindAnnotationsToVisibleAnnotations(){const _0x3a4fc1=this['collection'],_0x43cbd9=this['_visibleAnnotations'];function _0x422df8(_0x3853cd){const _0x4f3446=_0x3853cd['source'];_0x4f3446['isVisible']&&!_0x43cbd9['has'](_0x4f3446)?_0x43cbd9['add'](_0x4f3446):!_0x4f3446['isVisible']&&_0x43cbd9['has'](_0x4f3446)&&_0x43cbd9['remove'](_0x4f3446),_0x4f3446['view']['focusTracker']['remove'](_0x4f3446['view']['element']),_0x4f3446['view']['focusTracker']['add'](_0x4f3446['view']['element']);}this['listenTo'](_0x3a4fc1,'add',(_0x4aa20e,_0xd351ea)=>{_0xd351ea['isVisible']&&_0x43cbd9['add'](_0xd351ea),this['listenTo'](_0xd351ea,'change:isVisible',_0x422df8);}),this['listenTo'](_0x3a4fc1,'remove',(_0x5378a0,_0x2f3ecd)=>{_0x43cbd9['has'](_0x2f3ecd)&&_0x43cbd9['remove'](_0x2f3ecd),this['stopListening'](_0x2f3ecd,'change:isVisible',_0x422df8);});}_setupEnterAnnotationKeystroke(){const _0x40005a=_0x3f879d=>{_0x3f879d['on']('ready',()=>{_0x3f879d['keystrokes']['set'](_0x3866bd,(_0x3e3e03,_0x50e203)=>{const _0x424708=(0x0,_0x491313['first'])(this['activeAnnotations']['values']());_0x424708&&(_0x424708['view']['focus'](),_0x50e203());});});};this['context']instanceof _0x491313['Editor']?_0x40005a(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x517ec1,_0xf2713a)=>{_0x40005a(_0xf2713a);});}_setupEscapeAnnotationHandling(){const _0x325e28=_0x4b2880=>{const _0x511abb=_0x4b2880['source'],_0x3977e8=[];let _0x38617b;if(Array['isArray'](_0x511abb['target'])){_0x38617b=_0x511abb['target'][0x0],this['context']instanceof _0x491313['Editor']?_0x3977e8['push'](this['context']):this['context']['editors']&&_0x3977e8['push'](...this['context']['editors']);for(const _0x2aae68 of _0x3977e8)for(const _0x27373f of _0x2aae68['editing']['view']['domRoots']['values']())if(_0x27373f['contains'](_0x38617b))return void _0x2aae68['editing']['view']['focus']();_0x38617b['focus']();}};this['listenTo'](this['collection'],'add',(_0x278951,_0x531b08)=>{this['listenTo'](_0x531b08,'escape',_0x325e28,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x4fdc1a,_0x37d852)=>{this['stopListening'](_0x37d852,'escape',_0x325e28);});}};const _0x139eee=Symbol('noChannel'),_0x4457fe={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0},_0x57699d=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])(),_0x4e1589=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x2d919b=class extends _0x491313['ContextPlugin']{_threads;_threadToController;_viewToController;static get requires(){return[_0xa7dd6f,_0x491313['PendingActions'],_0x16b3af];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x14dcf1){super(_0x14dcf1),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x847b15=this['context']['config'];_0x847b15['define']('comments.maxCommentsWhenCollapsed',0x2),_0x847b15['define']('comments.maxThreadTotalWeight',0x1f4),_0x847b15['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x847b15['define']('comments.CommentThreadView',_0x170fa2),_0x847b15['define']('comments.CommentView',_0x8d5600),_0x847b15['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}init(){const _0x29706f=this['context']['plugins']['get'](_0xa7dd6f);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x57ca54,_0x5b4e9c)=>this['_addCommentThread'](_0x5b4e9c)),this['on']('submitCommentThread',(_0x1f9080,_0xd9048b)=>this['_submitCommentThread'](_0xd9048b)),this['on']('resolveCommentThread',(_0x18ee0d,_0x505dd8)=>this['_resolveCommentThread'](_0x505dd8)),this['on']('resolveCommentThread',(_0x45cf19,_0x5c52ee)=>this['_updateActiveAnnotation'](_0x5c52ee),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x243692,_0x5b9c7e)=>this['_reopenCommentThread'](_0x5b9c7e)),this['on']('reopenCommentThread',(_0x4642ed,_0x2b22d0)=>this['_updateActiveAnnotation'](_0x2b22d0),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x12b8e9,_0x158e15)=>this['_removeCommentThread'](_0x158e15)),this['on']('updateCommentThread',(_0x2eec6a,_0x42eaef)=>this['_updateCommentThread'](_0x42eaef)),this['on']('updateCommentThread',(_0x334a93,_0x167d2a)=>this['_updateActiveAnnotation'](_0x167d2a),{'priority':'lowest'}),this['on']('addComment',(_0x1d35b5,_0x2303da)=>this['_addComment'](_0x2303da)),this['on']('updateComment',(_0xc96ce3,_0x5e6c8b)=>this['_updateComment'](_0x5e6c8b)),this['on']('removeComment',(_0xe163fb,_0x371234)=>this['_removeComment'](_0x371234)),this['on']('addComment',(_0x206954,{threadId:_0x46a75e,isFromAdapter:_0x46e526})=>{if(_0x46e526)return;const _0x3e15be=this['getCommentThread'](_0x46a75e),_0x4d36fa=_0x3e15be&&this['_threadToController']['get'](_0x3e15be);_0x4d36fa&&_0x4d36fa['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x29706f,'change:activeAnnotations',(_0x27efd1,_0x1b25a7,_0x5c8ab0)=>{const _0x42e96f=Array['from'](_0x5c8ab0)['map'](_0x1c7c98=>this['_viewToController']['get'](_0x1c7c98['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x42e96f?_0x42e96f['model']:null;});}set adapter(_0x40646a){if(this['_adapter'])throw new _0x491313['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x40646a;}get adapter(){return this['_adapter'];}addCommentThread({channelId:_0x259fc3=_0x139eee,threadId:_0x4d7fc3=(0x0,_0x491313['uid'])(),comments:_0x1b30c0=[],unlinkedAt:_0x27d8ed=null,resolvedAt:_0x34d624=null,resolvedBy:_0x14b841=null,target:_0x5d5749=null,context:_0x3452dc=null,attributes:_0x2529c4={},isResolvable:_0x352367=!0x0,isSubmitted:_0x137475=!0x1,isFromAdapter:_0x429675=!0x1}={}){return this['fire'](_0x2e9bcc('addCommentThread',_0x259fc3),{'channelId':_0x259fc3,'threadId':_0x4d7fc3,'comments':_0x1b30c0,'unlinkedAt':_0x27d8ed,'resolvedAt':_0x34d624,'resolvedBy':_0x14b841,'target':_0x5d5749,'context':_0x3452dc,'attributes':_0x2529c4,'isFromAdapter':_0x429675,'isResolvable':_0x352367,'isSubmitted':_0x137475}),this['getCommentThread'](_0x4d7fc3);}openNewCommentThread({channelId:_0x421b28=_0x139eee,threadId:_0x1a08f0=(0x0,_0x491313['uid'])(),target:_0x16c8f2,context:_0x4f2bc1=null,isResolvable:_0x5217d3=!0x0}){if(this['_readOnlyChannels']['has'](_0x421b28)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x16c8f2)throw new _0x491313['CKEditorError']('commentsrepository-missing-target');const _0xf5e461=this['addCommentThread']({'channelId':_0x421b28,'threadId':_0x1a08f0,'target':_0x16c8f2,'context':_0x4f2bc1,'isResolvable':_0x5217d3});if(!_0xf5e461)return null;const _0x3ecd6b=this['_threadToController']['get'](_0xf5e461),_0x489ae9=_0x3ecd6b['view']['commentThreadInputView']['commentInputView'],_0x5b7fb8=this['context']['plugins']['get'](_0xa7dd6f),_0x526091=_0x5b7fb8['getByInnerView'](_0x3ecd6b['view']);return _0x5b7fb8['activate'](_0x526091),_0x489ae9['once']('editorReady',()=>_0x489ae9['focus']()),_0xf5e461;}hasCommentThread(_0x54c675){if('string'!=typeof _0x54c675)throw new _0x491313['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x54c675);}updateCommentThread({channelId:_0x311e00=_0x139eee,threadId:_0x3142fa,context:_0x5c45c3,unlinkedAt:_0x5d49e3,attributes:_0x501d12,isFromAdapter:_0x32a31f=!0x1}){return this['fire'](_0x2e9bcc('updateCommentThread',_0x311e00),{'channelId':_0x311e00,'threadId':_0x3142fa,'context':_0x5c45c3,'unlinkedAt':_0x5d49e3,'attributes':_0x501d12,'isFromAdapter':_0x32a31f}),this['getCommentThread'](_0x3142fa);}getCommentThread(_0x261530){if('string'!=typeof _0x261530)throw new _0x491313['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x261530);}fetchCommentThread({channelId:_0xc2dd3b,threadId:_0x20e94d}={}){const _0x4d8fc3=this['getCommentThread'](_0x20e94d);if(_0x4d8fc3)return Promise['resolve'](_0x4d8fc3);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x491313['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0xc2dd3b,'threadId':_0x20e94d})['then'](_0x4a1b5c=>this['hasCommentThread'](_0x20e94d)?this['getCommentThread'](_0x20e94d):_0x4a1b5c?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0xc2dd3b},_0x4a1b5c)):void 0x0)['catch'](_0x1d8760=>{throw console['error'](_0x1d8760),new _0x491313['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}getCommentThreads({channelId:_0x57ece4,skipNotAttached:_0x3a1d1=!0x1,skipEmpty:_0x2358b8=!0x1,toJSON:_0x1ac8dd=!0x1}={}){const _0x5f5190=[];for(const _0x4203e9 of this['_threads']['values']())_0x57ece4&&_0x4203e9['channelId']!==_0x57ece4||_0x3a1d1&&!_0x4203e9['isAttached']||_0x2358b8&&0x0===_0x4203e9['length']||_0x5f5190['push'](_0x4203e9);return _0x1ac8dd?_0x5f5190['map'](_0x196908=>_0x196908['toJSON']()):_0x5f5190;}getAnnotationForCommentThread(_0xf66a95){const _0x589184=this['_threadToController']['get'](_0xf66a95);return _0x589184&&this['context']['plugins']['get'](_0xa7dd6f)['getByInnerView'](_0x589184['view'])||null;}getCommentThreadForAnnotation(_0x4f5a23){const _0x18abb9=this['_viewToController']['get'](_0x4f5a23['innerView']);return _0x18abb9?_0x18abb9['model']:null;}setActiveCommentThread(_0x3cbad9){const _0x4f61d7=this['context']['plugins']['get'](_0xa7dd6f);if(!_0x3cbad9)return void(this['activeCommentThread']&&_0x4f61d7['deactivateAll']());const _0x1356e5=this['getCommentThread'](_0x3cbad9);if(!_0x1356e5)throw new _0x491313['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x3cbad9});if(!this['_threadToController']['has'](_0x1356e5))throw new _0x491313['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x3cbad9});const _0x38b5d3=_0x4f61d7['getByInnerView'](this['_threadToController']['get'](_0x1356e5)['view']);_0x4f61d7['activate'](_0x38b5d3);}switchReadOnly(_0x43cb32,_0x2d59d1){_0x43cb32?this['_readOnlyChannels']['add'](_0x2d59d1):this['_readOnlyChannels']['delete'](_0x2d59d1),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x322ab1){return this['_readOnlyChannels']['has'](_0x322ab1)||this['_readOnlyChannels']['has'](void 0x0);}createCommentThreadController(_0xccdda0,_0x43fa97){return new _0x4870ec(_0xccdda0,_0x43fa97);}setPermissions(_0x4e891d,_0xa7e17=_0x139eee){this['_permissions']['set'](_0xa7e17,_0x4e891d),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}getPermissions(_0x3f724c=_0x139eee){return this['_permissions']['has'](_0x3f724c)?this['_permissions']['get'](_0x3f724c):_0x4457fe;}_addCommentThread({channelId:_0x44e9f8,threadId:_0x52e6cc,comments:_0x38217a,unlinkedAt:_0x296664,resolvedAt:_0x31d0df,resolvedBy:_0x196f7d,target:_0x34f44d,context:_0x3e07ea,attributes:_0x20a580,isFromAdapter:_0x4f3630,isResolvable:_0x1be78e,isSubmitted:_0xa050fd}){if('string'!=typeof _0x52e6cc)throw new _0x491313['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x52e6cc});if(this['hasCommentThread'](_0x52e6cc))throw new _0x491313['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x52e6cc});const _0x2b6ab1=new _0x496cb3(this,{'channelId':_0x44e9f8,'id':_0x52e6cc,'context':_0x3e07ea,'attributes':_0x20a580,'unlinkedAt':_0x296664,'resolvedAt':_0x31d0df,'resolvedBy':_0x196f7d?this['context']['plugins']['get'](_0x16b3af)['getUser'](_0x196f7d):null,'isResolvable':_0x1be78e,'isSubmitted':_0xa050fd||_0x4f3630});this['_threads']['set'](_0x52e6cc,_0x2b6ab1);for(const _0xbfada0 of _0x38217a)_0x2b6ab1['_add'](this['_createNewComment']({'threadId':_0x52e6cc,..._0xbfada0}));return _0x34f44d&&_0x2b6ab1['attachTo'](_0x34f44d),_0x4f3630||!_0x2b6ab1['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x44e9f8,'threadId':_0x52e6cc});}_submitCommentThread({channelId:_0x1cb158,threadId:_0x140c00}){if(!this['hasCommentThread'](_0x140c00))throw new _0x491313['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x2f2978=this['getCommentThread'](_0x140c00);if(_0x2f2978['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x4d7ab0,comments:_0xa93b80,resolvedAt:_0x126e19,resolvedBy:_0x42e55e,context:_0x112280,attributes:_0x5391e0}=_0x2f2978,_0x3c58b5=this['context']['plugins']['get']('PendingActions'),_0x55d5cc=_0x3c58b5['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x1cb158,'threadId':_0x4d7ab0,'comments':_0xa93b80['map'](_0x5e0441=>_0x5e0441['toJSON']()),'resolvedAt':_0x126e19,'resolvedBy':_0x42e55e?_0x42e55e['id']:_0x42e55e,'context':_0x112280,'attributes':_0x5391e0})['then'](({comments:_0x471555})=>{_0x3c58b5['remove'](_0x55d5cc);for(const _0x30108d of _0x471555)this['_updateComment']({'channelId':_0x1cb158,'threadId':_0x140c00,'commentId':_0x30108d['commentId'],'createdAt':_0x30108d['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x3a6c1e=>{throw console['error'](_0x3a6c1e),new _0x491313['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}_attachCommentThread({threadId:_0x2a56f5,target:_0x47ed23}){const _0x37c039=this['getCommentThread'](_0x2a56f5);if(!_0x37c039)throw new _0x491313['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x1cdd23=this['context']['plugins']['get']('PendingActions'),_0x28748e=this['context']['plugins']['get'](_0xa7dd6f),_0x2ff81f=this['_createCommentThreadView'](_0x37c039),_0x2e68a2=new _0x4870ec(_0x37c039,_0x2ff81f);let _0x1a53eb=null;_0x2ff81f['on']('change:isDirty',(_0x5af3a1,_0x2c3716,_0x3ec2ca)=>{_0x3ec2ca?_0x1a53eb=_0x1cdd23['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x1a53eb&&(_0x1cdd23['remove'](_0x1a53eb),_0x1a53eb=null);}),this['_threadToController']['set'](_0x37c039,_0x2e68a2),this['_viewToController']['set'](_0x2ff81f,_0x2e68a2);const _0x1acc9d=new _0x989795(this['context']['locale'],_0x2ff81f);_0x1acc9d['bind']('length')['to'](_0x2ff81f),_0x1acc9d['bind']('isDirty')['to'](_0x2ff81f,'isDirty',_0x2ff81f,'length',(_0x2b336b,_0x7c349c)=>_0x2b336b||!_0x7c349c),_0x1acc9d['bind']('isActive')['to'](_0x2ff81f),_0x1acc9d['type']='comment';const _0x3e2653=new _0x2990cd({'view':_0x1acc9d,'target':_0x47ed23,'type':'comment','isVisible':!_0x37c039['archivedAt']&&!!('function'==typeof _0x47ed23?_0x47ed23():_0x47ed23)});return _0x2ff81f['on']('escape',()=>{_0x3e2653['fire']('escape');}),this['_bindAnnotationToEditors'](_0x2ff81f,_0x3e2653),_0x28748e['add'](_0x3e2653),_0x3e2653;}_bindAnnotationToEditors(_0x424bdc,_0x197b9e){this['listenTo'](_0x424bdc,'editorReady',(_0x2d308e,_0x3295d7)=>{const _0x3c9472=_0x3295d7['ui']['view']['body']['bodyCollectionContainer'];_0x197b9e['focusableElements']['add'](_0x3c9472),this['context']instanceof _0x491313['Editor']&&this['context']['ui']['focusTracker']['add'](_0x3c9472);},{'priority':'highest'}),this['listenTo'](_0x424bdc,'editorDestroyed',(_0x481ec2,_0x5de492)=>{const _0x5666e7=_0x5de492['ui']['view']['body']['bodyCollectionContainer'];_0x197b9e['focusableElements']['has'](_0x5666e7)&&_0x197b9e['focusableElements']['remove'](_0x5666e7),this['context']instanceof _0x491313['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x5666e7);});}_unbindEditors(_0x3b47ea){this['stopListening'](_0x3b47ea,'editorReady'),this['stopListening'](_0x3b47ea,'editorDestroyed');}_createCommentThreadView(_0x1691a6){const _0x53c789=this['context']['plugins']['get'](_0x16b3af),{config:_0x4f3950,locale:_0x30a649}=this['context'],_0x3f8a37=_0x512ad0(_0x4f3950['get']('locale'),_0x30a649);return new(0x0,(_0x4f3950['get']('comments'))['CommentThreadView'])(_0x30a649,_0x1691a6,_0x53c789['me'],{'editorConfig':{..._0x4f3950['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x4f3950['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x4f3950['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x4f3950['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x4f3950['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x3f8a37,'CommentView':_0x4f3950['get']('comments')['CommentView']});}_resolveCommentThread({threadId:_0xa7d7a3,channelId:_0x37f193,resolvedAt:_0x1a38cb,resolvedBy:_0x52560a,isFromAdapter:_0x82ce3e}){if(!this['hasCommentThread'](_0xa7d7a3))throw new _0x491313['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0xa7d7a3});const _0x13c1fb=this['getCommentThread'](_0xa7d7a3);if(_0x13c1fb['isResolved'])throw new _0x491313['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0xa7d7a3});const _0x1ae32a=this['context']['plugins']['get'](_0x16b3af);if(_0x13c1fb['resolvedBy']=_0x1ae32a['getUser'](_0x52560a),_0x13c1fb['resolvedAt']=_0x1a38cb,_0x82ce3e||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x447e76=this['context']['plugins']['get']('PendingActions'),_0x3fd9a9=_0x447e76['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x37f193,'threadId':_0xa7d7a3})['then'](({resolvedAt:_0x117b6b,resolvedBy:_0x2cf3fd})=>{_0x447e76['remove'](_0x3fd9a9),_0x13c1fb['resolvedBy']['id']!==_0x2cf3fd&&(_0x13c1fb['resolvedBy']=_0x1ae32a['getUser'](_0x2cf3fd)),_0x13c1fb['resolvedAt']=_0x117b6b;})['catch'](_0x2d4577=>{throw console['error'](_0x2d4577),new _0x491313['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}_reopenCommentThread({threadId:_0x36a775,channelId:_0xef9301,isFromAdapter:_0x97b755}){if(!this['hasCommentThread'](_0x36a775))throw new _0x491313['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x36a775});const _0x36dd15=this['getCommentThread'](_0x36a775);if(!_0x36dd15['isResolved'])throw new _0x491313['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x36a775});if(_0x36dd15['resolvedBy']=null,_0x36dd15['resolvedAt']=null,_0x97b755||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x31453a=this['context']['plugins']['get']('PendingActions'),_0x38682f=_0x31453a['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0xef9301,'threadId':_0x36a775})['then'](()=>_0x31453a['remove'](_0x38682f))['catch'](_0x2faa69=>{throw console['error'](_0x2faa69),new _0x491313['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}_removeCommentThread({threadId:_0x31aa71,isFromAdapter:_0xa88925}){const _0x1e9b38=this['getCommentThread'](_0x31aa71);if(!_0x1e9b38)throw new _0x491313['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x31aa71),this['_threads']['delete'](_0x31aa71),!_0x1e9b38['isSubmitted']||_0xa88925||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x127746=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5f17e2}=_0x1e9b38,_0x581e94=_0x127746['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x5f17e2,'threadId':_0x31aa71})['then'](()=>_0x127746['remove'](_0x581e94))['catch'](_0x563316=>{throw console['error'](_0x563316),new _0x491313['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}_updateCommentThread({threadId:_0x40a141,unlinkedAt:_0x205086,context:_0x24369f,attributes:_0x1de62b,isFromAdapter:_0xceeffb}){if('string'!=typeof _0x40a141)throw new _0x491313['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x40a141});if(!this['hasCommentThread'](_0x40a141))throw new _0x491313['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x40a141});const _0x2513b6=this['getCommentThread'](_0x40a141);let _0x280411=!0x1;if(void 0x0!==_0x24369f&&_0x2513b6['context']!==_0x24369f&&(_0x2513b6['context']=_0x24369f,_0x280411=!0x0),void 0x0!==_0x205086&&_0x2513b6['unlinkedAt']!==_0x205086&&(_0x2513b6['unlinkedAt']=_0x205086,_0x280411=!0x0),_0x1de62b&&!ft(_0x1de62b,_0x2513b6['attributes'])&&(_0x2513b6['attributes']=_0x1de62b,_0x280411=!0x0),!_0x280411)return Promise['resolve']();if(!_0x2513b6['isSubmitted']||_0xceeffb||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x5973cc=this['context']['plugins']['get']('PendingActions'),{channelId:_0x440089}=_0x2513b6,_0x100872=_0x5973cc['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x440089,'threadId':_0x40a141,'context':_0x24369f,'unlinkedAt':_0x205086,'attributes':_0x1de62b})['then'](()=>_0x5973cc['remove'](_0x100872))['catch'](_0x11a902=>{throw console['error'](_0x11a902),new _0x491313['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}_detachCommentThread(_0x122980){const _0xd8f3d7=this['context']['plugins']['get'](_0xa7dd6f),_0x1cfc09=this['getCommentThread'](_0x122980);if(_0x1cfc09['_isAttached']=!0x1,this['_threadToController']['has'](_0x1cfc09)){const _0x163896=this['_threadToController']['get'](_0x1cfc09),_0x3643ed=_0x163896['view'],_0x1b9187=_0xd8f3d7['getByInnerView'](_0x3643ed);this['_threadToController']['delete'](_0x1cfc09),this['_viewToController']['delete'](_0x3643ed),_0x1b9187&&_0xd8f3d7['remove'](_0x1b9187),_0x163896['destroy'](),_0x3643ed['destroy']()['then'](()=>{this['_unbindEditors'](_0x3643ed);});}}_updateActiveAnnotation({threadId:_0x3aa727,resolvedAt:_0x1c6af4,unlinkedAt:_0x25462a}){const _0x1af162=!!_0x1c6af4,_0x444a9c=this['context']['plugins']['get'](_0xa7dd6f),_0x1153ae=this['getCommentThread'](_0x3aa727);if(this['_threadToController']['has'](_0x1153ae)){const _0x54a932=this['_threadToController']['get'](_0x1153ae)['view'],_0x2728f8=_0x444a9c['getByInnerView'](_0x54a932);_0x2728f8&&(_0x1af162&&_0x444a9c['_removeActiveAnnotation'](_0x2728f8),_0x25462a?_0x2728f8['isVisible']=!0x1:_0x2728f8['refreshVisibility']());}}_getExternalAuthor(_0x48ff36){const _0x258b01=this['context']['plugins']['get'](_0x16b3af),_0x21d613=_0x3c2d11('external:'+_0x48ff36),_0x42f636=_0x258b01['getUser'](_0x21d613);return _0x42f636||_0x258b01['addUser']({'id':_0x21d613,'name':_0x48ff36});}_createNewComment({threadId:_0x144919,commentId:_0x237eab=(0x0,_0x491313['uid'])(),content:_0x39f8f8,authorId:_0x21e128,createdAt:_0x530aa5,attributes:_0x317c17}){if('string'!=typeof _0x237eab)throw new _0x491313['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x21e128)throw new _0x491313['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x39f8f8||!_0x39f8f8['trim']())throw new _0x491313['CKEditorError']('commentsrepository-invalid-comment-content');const _0x3785f0=this['context']['plugins']['get'](_0x16b3af)['getUser'](_0x21e128);if(!_0x3785f0)throw new _0x491313['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x21e128});let _0x2b71ba=null,_0x5d5c2f=_0x530aa5;return _0x317c17?.['@external']&&(_0x2b71ba=this['_getExternalAuthor'](_0x317c17['@external']['authorName']),_0x5d5c2f=new Date(_0x317c17['@external']['createdAt'])),new _0x4c14c6(this,{'threadId':_0x144919,'id':_0x237eab,'author':_0x2b71ba||_0x3785f0,'creator':_0x3785f0,'content':_0x39f8f8,'createdAt':_0x530aa5,'authoredAt':_0x5d5c2f,'attributes':_0x317c17});}_addComment(_0x2ebc61){let {threadId:_0x203fdb,content:_0x512881,attributes:_0x2b4834,isFromAdapter:_0x326098}=_0x2ebc61;const _0x36b163=this['getCommentThread'](_0x2ebc61['threadId']);if(!_0x36b163)throw new _0x491313['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x1bf4f0=this['_createNewComment'](_0x2ebc61),{id:_0x28fa26}=_0x1bf4f0;if(_0x36b163['_add'](_0x1bf4f0),_0x326098||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x36b163['isSubmitted'])return Promise['resolve']();const _0x38da7c=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4d9933}=_0x36b163,_0x10a5ed=_0x38da7c['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x2b4834||(_0x2b4834={}),this['adapter']['addComment']({'channelId':_0x4d9933,'threadId':_0x203fdb,'commentId':_0x28fa26,'content':_0x512881,'attributes':_0x2b4834})['then'](_0x1393a7=>{_0x38da7c['remove'](_0x10a5ed),_0x1393a7&&this['_updateComment']({'channelId':_0x4d9933,'threadId':_0x203fdb,'commentId':_0x28fa26,'createdAt':_0x1393a7['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x34b31d=>{throw console['error'](_0x34b31d),new _0x491313['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}_updateComment({threadId:_0x1d1503,commentId:_0x3e85dc,content:_0x5170fa,createdAt:_0x2d8eef,attributes:_0x4b300f,isFromAdapter:_0x5ce43a}){if(void 0x0!==_0x5170fa&&('string'!=typeof _0x5170fa||!_0x5170fa['trim']()['length']))throw new _0x491313['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x41774e=this['getCommentThread'](_0x1d1503),_0x5dd7a7=_0x41774e['getComment'](_0x3e85dc);if(!_0x5dd7a7)throw new _0x491313['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x18dc44=!0x1;if(_0x5170fa&&_0x5170fa!==_0x5dd7a7['content']&&(_0x5dd7a7['isEditable']||_0x5ce43a)&&(_0x5dd7a7['content']=_0x5170fa,_0x18dc44=!0x0),_0x2d8eef&&_0x2d8eef!==_0x5dd7a7['createdAt']&&(_0x5dd7a7['createdAt']=_0x2d8eef,_0x5dd7a7['isExternal']||(_0x5dd7a7['authoredAt']=_0x2d8eef),_0x18dc44=!0x0),_0x4b300f&&!ft(_0x4b300f,_0x5dd7a7['attributes'])&&(_0x5dd7a7['attributes']=_0x4b300f,_0x18dc44=!0x0),!_0x18dc44)return Promise['resolve']();if(_0x41774e['fire']('commentUpdated'),_0x5ce43a||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x448c9f=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5e90df}=this['getCommentThread'](_0x5dd7a7['threadId']),_0x44c30a=_0x448c9f['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x5e90df,'threadId':_0x1d1503,'commentId':_0x3e85dc,'content':_0x5170fa,'attributes':_0x4b300f})['then'](()=>_0x448c9f['remove'](_0x44c30a))['catch'](_0x423f5a=>{throw console['error'](_0x423f5a),new _0x491313['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}_removeComment({threadId:_0x5a94f7,commentId:_0x1f0ae8,isFromAdapter:_0x173fe4}){const _0x3bb04d=this['getCommentThread'](_0x5a94f7),_0x5dd8f2=_0x3bb04d['getComment'](_0x1f0ae8);if(!_0x5dd8f2)throw new _0x491313['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x3bb04d['_remove'](_0x5dd8f2),_0x173fe4||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x466529=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1ad3de}=_0x3bb04d,_0x3d1399=_0x466529['add'](_0x1e9645(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x1ad3de,'threadId':_0x5a94f7,'commentId':_0x1f0ae8})['then'](()=>_0x466529['remove'](_0x3d1399))['catch'](_0x58df54=>{throw console['error'](_0x58df54),new _0x491313['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}},_0x496cb3=class extends _0x57699d{['channelId'];['id'];_isAttached;_isSubmitted;comments;_repository;constructor(_0x5f4075,_0x16bc3e){super();const _0x556144=_0x16bc3e['isResolvable'];this['channelId']=_0x16bc3e['channelId'],this['id']=_0x16bc3e['id'],this['comments']=new _0x491313['Collection'](),this['_repository']=_0x5f4075,this['_isAttached']=!0x1,this['_isSubmitted']=_0x16bc3e['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x5f4075,'_permissions',_0x5f4075,'_readOnlyChannels',()=>_0x5f4075['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x5f4075,'_permissions',()=>_0x5f4075['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x5f4075,'_permissions',()=>{const _0x105e5c=_0x5f4075['getPermissions'](this['channelId']);return _0x105e5c['write']||_0x105e5c['admin'];}),this['bind']('isResolvable')['to'](_0x5f4075,'_permissions',()=>_0x556144&&_0x5f4075['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x16bc3e['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x4aedbc,_0x3627f5)=>_0x4aedbc?_0x3627f5?_0x4aedbc<_0x3627f5?_0x4aedbc:_0x3627f5:_0x4aedbc:_0x3627f5),this['set']('unlinkedAt',_0x16bc3e['unlinkedAt']||null),this['set']('resolvedAt',_0x16bc3e['resolvedAt']||null),this['set']('resolvedBy',_0x16bc3e['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x47e505=>!!_0x47e505),this['set']('attributes',_0x16bc3e['attributes']||{});}get weight(){return Array['from'](this['comments'])['reduce']((_0x239a43,_0x2257c0)=>_0x239a43+_0x2257c0['weight'],0x0);}get length(){return this['comments']['length'];}get isAttached(){return this['_isAttached'];}get isSubmitted(){return this['_isSubmitted'];}submit(){const {channelId:_0x31b9e5,id:_0x19c7ed}=this;this['_repository']['fire'](_0x2e9bcc('submitCommentThread',_0x31b9e5),{'channelId':_0x31b9e5,'threadId':_0x19c7ed});}setUnlinkedAt(_0x342ac9){this['_update']({'unlinkedAt':_0x342ac9});}['resolve']({resolvedAt:_0x354522=new Date(),resolvedBy:_0x4b7290='',isFromAdapter:_0x221ca7=!0x1}={}){const _0x26de3f=this['_repository']['context']['plugins']['get'](_0x16b3af)['me'],{channelId:_0x2a9b69,id:_0x3c691d}=this;this['_repository']['fire'](_0x2e9bcc('resolveCommentThread',_0x2a9b69),{'channelId':_0x2a9b69,'threadId':_0x3c691d,'resolvedAt':_0x354522,'resolvedBy':_0x4b7290||_0x26de3f['id'],'isFromAdapter':_0x221ca7});}['reopen']({isFromAdapter:_0x139a35=!0x1}={}){const {channelId:_0x476497,id:_0x1614c2}=this;this['_repository']['fire'](_0x2e9bcc('reopenCommentThread',_0x476497),{'channelId':_0x476497,'threadId':_0x1614c2,'isFromAdapter':_0x139a35});}setContext(_0x32a3e){this['context']||this['_update']({'context':_0x32a3e});}setAttribute(_0x37b4c4,_0x198258){const _0x44c4f2=wt(this['attributes']);Ht(_0x44c4f2,_0x37b4c4,_0x198258),this['_update']({'attributes':_0x44c4f2});}removeAttribute(_0xed3e8a){const _0x45d246=wt(this['attributes']);Rt(_0x45d246,_0xed3e8a),this['_update']({'attributes':_0x45d246});}['remove']({isFromAdapter:_0x767c63=!0x1}={}){const {channelId:_0x3c3f11,id:_0x5d0010}=this;this['_repository']['fire'](_0x2e9bcc('removeCommentThread',_0x3c3f11),{'channelId':_0x3c3f11,'threadId':_0x5d0010,'isFromAdapter':_0x767c63});}attachTo(_0x11c3f7){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x11c3f7});}addComment(_0x295b19){const {channelId:_0x178eea,id:_0x324b0a}=this;this['_repository']['fire'](_0x2e9bcc('addComment',_0x178eea,_0x324b0a),Object['assign']({'channelId':_0x178eea,'threadId':_0x324b0a},_0x295b19));}getComment(_0x18232b){if('string'!=typeof _0x18232b)throw new _0x491313['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x18232b});return this['comments']['get'](_0x18232b);}toJSON(){return{'threadId':this['id'],'context':this['context'],'unlinkedAt':this['unlinkedAt'],'resolvedAt':this['resolvedAt'],'resolvedBy':this['resolvedBy']?this['resolvedBy']['id']:null,'archivedAt':this['archivedAt'],'comments':this['comments']['map'](_0x214711=>_0x214711['toJSON']()),'attributes':this['attributes']};}['_add'](_0x3db829){return this['listenTo'](_0x3db829,'change:authoredAt',()=>{const _0x3402ef=this['_findOptimalIndex'](_0x3db829),_0x1a1487=this['comments'];_0x3402ef-0x1!=_0x1a1487['getIndex'](_0x3db829)&&_0x3402ef+0x1!=_0x1a1487['getIndex'](_0x3db829)&&(this['_remove'](_0x3db829),this['_add'](_0x3db829));}),this['comments']['add'](_0x3db829,this['_findOptimalIndex'](_0x3db829));}_update(_0x347fec){const {channelId:_0x1bdfd4,id:_0x487bd1}=this;this['_repository']['fire'](_0x2e9bcc('updateCommentThread',_0x1bdfd4),{..._0x347fec,'channelId':_0x1bdfd4,'threadId':_0x487bd1});}['_remove'](_0x57f26e){return this['stopListening'](_0x57f26e),_0x57f26e['destroy'](),this['comments']['remove'](_0x57f26e);}_findOptimalIndex(_0x4effe5){const _0x5d992=this['comments']['find'](_0x4f8d2d=>new Date(_0x4f8d2d['authoredAt'])['getTime']()>new Date(_0x4effe5['authoredAt'])['getTime']());return _0x5d992?this['comments']['getIndex'](_0x5d992):this['length'];}},_0x4c14c6=class extends _0x4e1589{['id'];threadId;author;creator;createdAt;_repository;constructor(_0x656df7,_0x588fa1){super();const _0x3ae69b=_0x656df7['context']['plugins']['get'](_0x16b3af)['me'],_0x1a530a=_0x656df7['getCommentThread'](_0x588fa1['threadId']),_0x409f09=0x0===_0x1a530a['comments']['length'],_0x49eab7=_0x3ae69b===_0x588fa1['author'];this['id']=_0x588fa1['id'],this['threadId']=_0x588fa1['threadId'],this['author']=_0x588fa1['author'],this['creator']=_0x588fa1['creator'],this['set']('content',_0x588fa1['content']),this['createdAt']=_0x588fa1['createdAt']||new Date(),this['set']('authoredAt',_0x588fa1['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x1a530a,'resolvedAt'),this['set']('attributes',_0x588fa1['attributes']||{}),this['bind']('isEditable')['to'](_0x656df7,'_permissions',()=>{const _0x32c3f0=_0x656df7['getPermissions'](_0x1a530a['channelId'])['write'],_0x4aed88=_0x656df7['getPermissions'](_0x1a530a['channelId'])['modifyAll'];return _0x49eab7&&_0x32c3f0||!_0x49eab7&&_0x4aed88;}),this['bind']('isRemovable')['to'](_0x1a530a,'isRemovable',_0x656df7,'_permissions',_0x583767=>{const _0x4a44e5=_0x656df7['getPermissions'](_0x1a530a['channelId'])['write'],_0x5a9356=_0x656df7['getPermissions'](_0x1a530a['channelId'])['modifyAll'];return _0x49eab7&&_0x4a44e5||_0x583767&&_0x409f09||!_0x49eab7&&_0x5a9356&&!_0x409f09;}),this['bind']('isReadOnly')['to'](_0x1a530a,'isReadOnly'),this['_repository']=_0x656df7;}get isExternal(){return Boolean(this['attributes']&&this['attributes']['@external']);}get weight(){return Math['max'](function(_0x3b9a5c){const _0x4655b2=document['createElement']('div');return _0x4655b2['innerHTML']=_0x3b9a5c,_0x4655b2['textContent']['length'];}(this['content']),0xc8);}update(_0xd80e47){const {threadId:_0x593f96,id:_0x28b639}=this;if(!this['_repository']['hasCommentThread'](_0x593f96))throw new _0x491313['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x249d0a}=this['_repository']['getCommentThread'](_0x593f96);this['_repository']['fire'](_0x2e9bcc('updateComment',_0x249d0a,_0x593f96),{'channelId':_0x249d0a,'threadId':_0x593f96,'commentId':_0x28b639,..._0xd80e47});}setAttribute(_0x1129b5,_0x8b145a){const _0x2f1133=wt(this['attributes']);Ht(_0x2f1133,_0x1129b5,_0x8b145a),this['update']({'attributes':_0x2f1133});}removeAttribute(_0x4acc4a){const _0x59085a=wt(this['attributes']);Rt(_0x59085a,_0x4acc4a),this['update']({'attributes':_0x59085a});}['remove'](_0x1ef0b4={}){if(!_0x1ef0b4['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x11e06b,id:_0x48527c}=this;if(!this['_repository']['hasCommentThread'](_0x11e06b))throw new _0x491313['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x2d54e7}=this['_repository']['getCommentThread'](_0x11e06b);this['_repository']['fire'](_0x2e9bcc('removeComment',_0x2d54e7,_0x11e06b),{'channelId':_0x2d54e7,'threadId':_0x11e06b,'commentId':_0x48527c,..._0x1ef0b4});}toJSON(){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}destroy(){this['stopListening']();}};function _0x2e9bcc(_0x48cb9f,..._0x41b32a){for(const _0x367db4 of _0x41b32a)void 0x0!==_0x367db4&&(_0x48cb9f+=':'+String(_0x367db4));return _0x48cb9f;}var _0x44d1c7=class extends _0x491313['Command']{constructor(_0x6eca4a){super(_0x6eca4a),this['set']('hasContent',!0x1);}['refresh'](){const _0x3009e9=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0xafd08c of _0x3009e9['getRanges']())if(this['_hasContent'](_0xafd08c))return void(this['hasContent']=!0x0);}execute({threadId:_0x307bad=(0x0,_0x491313['uid'])(),ranges:_0x3172a8,comment:_0x2a8bc6}={}){const _0x3ff7f9=this['editor']['model'],_0x575446=_0x3172a8??Array['from'](_0x3ff7f9['document']['selection']['getRanges']()),_0x3c5cb6=[];for(const _0x15424c of _0x575446)this['_hasContent'](_0x15424c)&&_0x3c5cb6['push'](this['_trimToContent'](_0x15424c));if(!_0x3c5cb6['length'])throw new _0x491313['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x2a8bc6&&this['_createCommentThread'](_0x307bad,_0x2a8bc6),this['_createMarkersFromRanges'](_0x307bad,_0x3c5cb6,!!_0x2a8bc6);}_createMarkersFromRanges(_0x1a69b8,_0x3ee9e2,_0x4f62ec){this['editor']['model']['change'](_0x467a96=>{for(const _0x2df5ad of _0x3ee9e2){const _0x296a08='comment:'+_0x1a69b8+':'+(0x0,_0x491313['uid'])()['substr'](0x1,0x5);_0x467a96['addMarker'](_0x296a08,{'range':_0x2df5ad,'usingOperation':_0x4f62ec,'affectsData':_0x4f62ec});}});}_createCommentThread(_0x32ddb2,_0x2f6363){const _0x28c345=this['editor']['plugins']['get']('CommentsRepository'),_0x3306aa=this['editor']['config']['get']('collaboration.channelId'),_0x2b9602=this['editor']['plugins']['get']('Users')['me'];if(!_0x2b9602)throw new _0x491313['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x28c345['addCommentThread']({'threadId':_0x32ddb2,'channelId':_0x3306aa,'comments':[{'authorId':_0x2b9602['id'],'content':_0x2f6363,'createdAt':new Date(),'attributes':{}}]});}_hasContent(_0x172523){for(const _0x2729a9 of _0x172523['getItems']())if(this['_itemIsContent'](_0x2729a9))return!0x0;return!0x1;}_itemIsContent(_0x16be4e){return _0x16be4e['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x16be4e)&&!_0x16be4e['is']('element','tableCell');}_trimToContent(_0x9c03bf){const _0x586b23=_0x221f6a=>!this['_itemIsContent'](_0x221f6a['item']),_0x3d8081=_0x9c03bf['start']['getLastMatchingPosition'](_0x586b23),_0x42d364=_0x9c03bf['end']['getLastMatchingPosition'](_0x586b23,{'direction':'backward'});return this['editor']['model']['createRange'](_0x3d8081,_0x42d364);}},_0x5ff238=class extends _0x491313['Plugin']{_dataCollectors;_editorAnnotations;static get requires(){return[_0xa7dd6f];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3f6b5d){super(_0x3f6b5d),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}init(){const _0x50164b=this['editor'],_0x4e76f0=_0x50164b['model']['document']['selection'],_0x862779=_0xa307bf(()=>this['refreshSelectedViews'](),0xa);_0x4e76f0['on']('change:range',(_0x4e5f85,_0x188b81)=>{_0x188b81['directChange']&&(_0x862779['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x50164b['editing']['view']['document'],'change:isFocused',(_0x13423f,_0x35f2e6,_0x4f671f)=>{_0x4f671f&&_0x862779();}),this['listenTo'](_0x50164b['ui']['focusTracker'],'change:isFocused',(_0x5714e6,_0x1a9cf2,_0x4e2b9e)=>{_0x4e2b9e||this['fire']('blur',{'isAnnotationTracked':_0x58fa57=>this['_editorAnnotationsData']['has'](_0x58fa57['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}registerAnnotation(_0x104406){if(this['_editorAnnotations']['has'](_0x104406['view']))return;this['_editorAnnotations']['add'](_0x104406['view']),this['editor']['ui']['focusTracker']['add'](_0x104406['view']['element']);const _0x7a2c80=this['editor']['plugins']['get'](_0xa7dd6f);this['listenTo'](_0x7a2c80['collection'],'remove',(_0x3df22d,_0x21e287)=>{this['editor']['ui']['focusTracker']['remove'](_0x21e287['view']['element']),this['_editorAnnotations']['delete'](_0x21e287['view']);});}hasDomSelection(){return this['editor']['editing']['view']['hasDomSelection'];}addSourceCollector(_0x536d7a){if('function'!=typeof _0x536d7a)throw new _0x491313['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x536d7a);}refreshSelectedViews(){this['fire']('refresh');}getOrderedSelectedAnnotations({activeAnnotation:_0xc802c6,annotations:_0x2c8186}){const _0x592307=[],_0x3ab0a6=this['editor']['model']['document']['selection'],_0x33e860=Array['from'](_0x3ab0a6['getRanges']());for(const [_0xe4c10,_0x1b74cd]of this['_editorAnnotationsData']){const _0x3adbbd=_0x111ea3(_0x1b74cd),_0x2a768b=_0x2c8186['getByInnerView'](_0xe4c10);_0x3adbbd&&_0x2a768b&&_0x592307['push']({'annotation':_0x2a768b,'range':_0x3adbbd});}function _0x111ea3(_0x2533fe){for(const _0x3b23e4 of _0x2533fe)for(const _0x387b73 of _0x33e860)if(_0x3b23e4['containsRange'](_0x387b73,!_0x3ab0a6['isCollapsed']))return _0x3b23e4;return null;}return _0x592307['sort']((_0x53cab9,_0x3780dc)=>{const _0x25f30e=_0x53cab9['range'],_0x78fbcc=_0x3780dc['range'];if(!_0x25f30e['isEqual'](_0x78fbcc)){if(_0x25f30e['containsRange'](_0x78fbcc,!0x0))return 0x1;if(_0x78fbcc['containsRange'](_0x25f30e,!0x0))return-0x1;}return _0x53cab9['annotation']==_0xc802c6?-0x1:_0x3780dc['annotation']==_0xc802c6?0x1:0x0;})['map'](_0x1c8581=>_0x1c8581['annotation']);}get _editorAnnotationsData(){const _0x531ac3=new Map();for(const _0x509b8f of Array['from'](this['_dataCollectors']))for(const [_0x597bb8,_0x1a089b]of _0x509b8f())_0x531ac3['set'](_0x597bb8,_0x1a089b);return _0x531ac3;}},_0x50b45d=class extends _0x491313['Plugin']{afterInit(){const _0x22b49e=this['editor'];_0x22b49e['plugins']['has']('RestrictedEditingModeEditing')&&_0x22b49e['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}},_0x4f5b9c=class extends _0x491313['Plugin']{constructor(_0x44cdb3){super(_0x44cdb3),this['editor']['config']['define']('importWord.formatting.comments','basic');}afterInit(){const _0x24ca1c=this['editor'],_0x4dc944=_0x24ca1c['commands']['get']('importWord'),_0x51e966=_0x24ca1c['plugins']['get'](_0x16b3af);_0x4dc944&&(_0x4dc944['on']('execute',(_0x2dab6b,[,_0x5b06a8])=>{_0x5b06a8['collaboration_features']={'comments':!0x0,'user_id':_0x51e966['me']['id']};},{'priority':_0x491313['priorities']['high']+0xa}),this['listenTo'](_0x4dc944,'dataInsert',this['_handleImportedData']));}_handleImportedData(_0x123a11,_0x34802a){const {comment_threads:_0x32ca5b}=_0x34802a;_0x32ca5b&&_0x32ca5b['forEach'](({thread_id:_0x41fad5,comments:_0x2c6091,is_resolved:_0x4a814e})=>{const _0x175608=new Date(),_0x3686a4=_0x2c6091['map'](({author:_0x34455b,content:_0x394ae9,created_at:_0x5be57a})=>({'content':_0x394ae9,'authorId':this['editor']['plugins']['get'](_0x16b3af)['me']['id'],'createdAt':_0x175608,'attributes':{'@external':{'authorName':_0x34455b,'createdAt':_0x5be57a?new Date(_0x5be57a):new Date(),'source':'importWord'}}})),_0x28c645=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](_0x2d919b)['addCommentThread']({'channelId':_0x28c645,'threadId':_0x41fad5,'comments':_0x3686a4,'resolvedAt':_0x4a814e?_0x175608:null});});}},_0xf5c38a=class extends _0x491313['Plugin']{constructor(_0x221d48){super(_0x221d48),this['editor']['config']['define']('comments.copyMarkers','default');}static get requires(){return[_0x491313['ClipboardMarkersUtils'],_0x491313['ClipboardPipeline']];}afterInit(){const _0x592016=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x592016,'contentInsertion',(_0x37bb7d,_0x26c2bf)=>this['_removeMarkersWithoutThreads'](_0x26c2bf['content']['markers']),{'priority':'highest'});}_removeMarkersWithoutThreads(_0x1405a6){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x1405a6;const _0x2a8f8c=this['editor']['plugins']['get']('CommentsRepository');for(const _0x51126c of _0x1405a6['keys']()){const [_0x1a4e52,_0x44c120]=_0x51126c['split'](':');'comment'!=_0x1a4e52||_0x2a8f8c['hasCommentThread'](_0x44c120)||_0x1405a6['delete'](_0x51126c);}return _0x1405a6;}_registerMarkerInClipboardPipeline(){const _0x4bb205=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x41a776=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x41a776&&_0x4bb205['_registerMarkerToCopy']('comment',_0x41a776);}_mapCommentsCopyConfigToRegisterConfiguration(_0x414c5d){switch(_0x414c5d){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}};function _0x639832(_0x16d8e4){const _0x4aecdf=_0x16d8e4['split'](':');return{'group':_0x4aecdf[0x0],'id':_0x4aecdf[0x1],'part':_0x4aecdf[0x2]};}var _0x20849f=class extends _0x491313['Plugin']{init(){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}overrideMarkerConverters(){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x2924e3,_0xfd8222)=>{if(!_0xfd8222['options']['showCommentHighlights'])return null;if(_0xfd8222['options']['ignoreResolvedComments']){const {id:_0x2095c1}=_0x639832(_0x2924e3['markerName']);if(this['editor']['plugins']['get'](_0x2d919b)['getCommentThread'](_0x2095c1)?.['isResolved']&&_0x2924e3['item'])return _0xfd8222['consumable']['consume'](_0x2924e3['item'],'addMarker:'+_0x2924e3['markerName']),_0xfd8222['consumable']['consume'](_0x2924e3['item'],'removeMarker:'+_0x2924e3['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x356e7d=>{_0x356e7d['on']('addMarker:comment',(_0x12a0c3,_0x30653f,_0x46e37c)=>{if(!_0x46e37c['options']['showCommentHighlights'])return;const _0x2fdcd2=_0x30653f['item'];if(!_0x2fdcd2)return;const _0x2ab737=_0x46e37c['mapper']['toViewElement'](_0x2fdcd2);this['editor']['model']['schema']['isObject'](_0x2fdcd2)&&_0x2ab737&&!_0x2ab737['getCustomProperty']('widget')&&_0x2ab737['is']('containerElement')&&(0x0,_0x491313['toWidget'])(_0x2ab737,_0x46e37c['writer']);},{'priority':'high'});});}overrideHorizontalRuleConverter(){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xf120de,{writer:_0x4f4f8b,options:_0x349241})=>{if(!_0x349241['showCommentHighlights'])return null;const _0x2dd30e=_0x4f4f8b['createContainerElement']('div'),_0xd11947=_0x4f4f8b['createEmptyElement']('hr');return _0x4f4f8b['addClass']('ck-horizontal-line',_0x2dd30e),_0x4f4f8b['insert'](_0x4f4f8b['createPositionAt'](_0x2dd30e,0x0),_0xd11947),_0x2dd30e;},'converterPriority':'high'});}overrideImageInlineConverter(){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x4a0912,{writer:_0x49d7b3,options:_0x1e5512})=>{if(!_0x1e5512['showCommentHighlights'])return null;const _0x51c704=_0x49d7b3['createContainerElement']('span'),_0x140230=_0x49d7b3['createEmptyElement']('img');return _0x49d7b3['addClass']('image-inline',_0x51c704),_0x49d7b3['insert'](_0x49d7b3['createPositionAt'](_0x51c704,0x0),_0x140230),_0x51c704;},'converterPriority':'high'});}overrideMediaEmbedConverter(){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x584371,{writer:_0x570651,options:_0x1b1cc2})=>{if(_0x1b1cc2['showCommentHighlights'])return _0x570651['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x435b05,_0x95b860,_0x344b0a)=>{_0x344b0a['options']['showCommentHighlights']&&_0x435b05['stop']();},{'priority':'high'});}},_0x2d792c=class extends _0x491313['Plugin']{static get requires(){return[_0x2d919b,_0x5ff238,_0x16b3af,_0x50b45d,_0x4f5b9c,_0xf5c38a,_0x20849f];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x23dd2b){super(_0x23dd2b),this['set']('isThreadsLoadingPaused',!0x0),_0x23dd2b['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x1d9d41,_0x223088,_0x42ca7c,_0x19f5be)=>{const _0x5b7a12=_0x23dd2b['plugins']['get'](_0x2d919b),_0x1f2082=_0x42ca7c?_0x639832(_0x42ca7c)['id']:null;_0x23dd2b['model']['change'](()=>{if(_0x1f2082){const _0x3f15cb=this['getAllMarkersForId'](_0x1f2082);for(const _0x380179 of _0x3f15cb)_0x23dd2b['editing']['reconvertMarker'](_0x380179);}if(_0x19f5be){const {id:_0x3072c0}=_0x639832(_0x19f5be),_0x272396=_0x5b7a12['getCommentThread'](_0x3072c0);if(_0x272396&&_0x272396['unlinkedAt'])return;if(_0x272396&&!_0x272396['isAttached'])return;const _0x459d6b=this['getAllMarkersForId'](_0x3072c0);for(const _0x1edb41 of _0x459d6b)_0x23dd2b['editing']['reconvertMarker'](_0x1edb41);}}),_0x1f2082&&this['scrollToThreadMarker'](_0x1f2082);}),this['_initAriaMarkerChangeAnnouncements']();}init(){const _0x210a3e=this['editor'],_0x20515d=_0x210a3e['plugins']['get'](_0x2d919b),_0x844d2=_0x210a3e['config']['get']('collaboration.channelId'),_0x5308d7=_0x20515d['getCommentThreads']()['filter'](_0x33780a=>_0x33780a['channelId']!==_0x844d2);_0x210a3e['commands']['add']('addCommentThread',new _0x44d1c7(_0x210a3e)),this['listenTo'](_0x210a3e,'change:isReadOnly',(_0x43917f,_0x9bf17d,_0x122ab5)=>{_0x20515d['switchReadOnly'](_0x122ab5,_0x210a3e['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x20515d,_0x27bf92('addCommentThread',_0x844d2),(_0x6c5a34,{threadId:_0x5a1044})=>{this['editor']['plugins']['get'](_0x2d919b)['getCommentThread'](_0x5a1044)?.['unlinkedAt']&&this['_attachArchivedThread'](_0x5a1044);}),this['listenTo'](_0x20515d,_0x27bf92('removeCommentThread',_0x844d2),(_0x28fd8a,{threadId:_0x1f644b})=>{_0x210a3e['model']['enqueueChange']({'isUndoable':!0x1},_0x940e92=>{const _0x59589a=this['getAllMarkersForId'](_0x1f644b);for(const _0x1fa612 of _0x59589a)_0x940e92['removeMarker'](_0x1fa612);});}),this['listenTo'](_0x20515d,_0x27bf92('resolveCommentThread',_0x844d2),(_0x14f26d,{threadId:_0x23c267})=>{this['_reconvertMarkers'](_0x23c267);const _0x170803=this['editor']['plugins']['get'](_0xa7dd6f);(this['editor']['editing']['view']['hasDomSelection']||_0x170803['collection']['isFocused'])&&(this['editor']['plugins']['get'](_0x2d919b)['getCommentThread'](_0x23c267)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x20515d,_0x27bf92('reopenCommentThread',_0x844d2),(_0x19b84e,{threadId:_0x537a02})=>{this['_reconvertMarkers'](_0x537a02);},{'priority':'low'}),this['listenTo'](_0x20515d,_0x27bf92('addComment',_0x844d2),(_0x43920c,{threadId:_0x8e5f41,isFromAdapter:_0x44ddcc})=>{const _0x53c4cf=this['getAllMarkersForId'](_0x8e5f41);!_0x44ddcc&&0x0!=_0x53c4cf['length']&&_0x20515d['hasCommentThread'](_0x8e5f41)&&0x1===_0x20515d['getCommentThread'](_0x8e5f41)['length']&&_0x210a3e['model']['enqueueChange']({'isUndoable':!0x1},_0x21e84c=>{for(const _0x2a5ea5 of _0x53c4cf)_0x21e84c['updateMarker'](_0x2a5ea5,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x5308d7);}afterInit(){!async function(_0x4a6b98){const _0x36495c='KpOBJGNSEgqCyfVF1kZ8lbnRjM7eIzAsDQHw9aThu6rcYi05UmPL4d3X2Wotvx',_0x539ede=0x791d0,_0x407602=window['Date']['now'](),_0x208614=_0x4a6b98['editor'],_0x46b784=new window['Promise'](_0x5bd751=>{_0x208614['once']('ready',_0x5bd751);}),_0x28ff19={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3919f6=_0x208614['config']['get']('licenseKey');async function _0x306e14(){let _0x21b7d6,_0x166923=null,_0x2f91e9=null;try{return'GPL'==_0x3919f6?'NotAllowed':(_0x21b7d6=_0x2c49c7(),_0x21b7d6?(_0x21b7d6['usageEndpoint']&&(_0x2f91e9=_0x46227c(_0x21b7d6['usageEndpoint'],_0x21b7d6['jti'])),await _0x3b53e6()?_0x27394f()?_0x39a438()?'Expired':_0x5ec13d()?('evaluation'==_0x21b7d6['licenseType']&&(_0x166923=_0x4f363b('EvaluationLimit')),await _0x2db938()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x39a438(){const _0x58535e=['evaluation','trial']['includes'](_0x21b7d6['licenseType'])?_0x407602/0x3e8:0xe10*_0x539ede;return _0x21b7d6['exp']<_0x58535e;}function _0x27394f(){const _0x241eef=_0x21b7d6['features'];if(!_0x241eef)return!0x1;if(_0x241eef['includes']('*'))return!0x0;if(_0x241eef['includes']('CMT'))return!0x0;if(_0x241eef['includes']('TRILIUM')&&_0x301b37())return!0x0;if(_0x241eef['includes']('RCMT')){if(_0x212038())return!0x0;if(_0x552b51()||_0x4d3b0a())return!0x0;}return!0x1;}function _0x5ec13d(){const _0x536abf=_0x21b7d6['licensedHosts'];if(!_0x536abf||0x0==_0x536abf['length'])return!0x0;const {hostname:_0xe2dbf}=new URL(window['location']['href']);if(_0x536abf['includes'](_0xe2dbf))return!0x0;const _0x2a3a7b=_0xe2dbf['split']('.');return _0x536abf['filter'](_0x3fb5e9=>_0x3fb5e9['includes']('*'))['map'](_0x42ec3e=>_0x42ec3e['split']('.'))['filter'](_0x7ff2ec=>_0x7ff2ec['length']<=_0x2a3a7b['length'])['map'](_0x4590d2=>Array(_0x2a3a7b['length']-_0x4590d2['length'])['fill']('*'===_0x4590d2[0x0]?'*':'')['concat'](_0x4590d2))['some'](_0x9f5a6f=>_0x2a3a7b['every']((_0x30e841,_0x28509e)=>_0x9f5a6f[_0x28509e]===_0x30e841||'*'===_0x9f5a6f[_0x28509e]));}function _0x2db938(){return _0x166923&&_0x2f91e9?new window['Promise']((_0x33dade,_0x4c313c)=>{_0x166923['then'](_0x33dade,_0x4c313c),_0x2f91e9['then'](_0x4eabb5=>{'Valid'!=_0x4eabb5&&_0x33dade(_0x4eabb5);},_0x4c313c);}):_0x166923||_0x2f91e9||'Valid';}}function _0x46227c(_0x6a2952,_0x498a6e){return new window['Promise'](_0xe024d9=>{if(_0x21291f())return _0xe024d9('Valid');_0x448ade(),_0x208614['decorate']('_sendUsageRequest');let _0x1963b6=!0x1;const _0x20e665=(0x0,_0x491313['uid'])();function _0x7718f4(_0x29170f){return!!_0x29170f&&('object'==typeof _0x29170f||'function'==typeof _0x29170f)&&'function'==typeof _0x29170f['then']&&'function'==typeof _0x29170f['catch'];}function _0x108b63(_0x293dd8){_0x5e99a0(_0x293dd8)['then'](_0x40ea50=>_0x40ea50&&'ok'==_0x40ea50['status']?_0x4e34b8(_0x1d58d0(_0x20e665+_0x498a6e))!=_0x40ea50['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x14fbf4=>(_0x30a481(),_0x14fbf4),()=>{const _0x1bb143=_0x408fbf();return null==_0x1bb143?(_0x30a481(),'Valid'):_0x407602-_0x1bb143>0x240c8400?'UsageLimit':'Valid';})['then'](_0xe024d9)['catch'](()=>{_0xe024d9('UsageLimit');});const _0x52cc63=0x36ee80;function _0x30a481(){const _0x201a4a='llct-'+_0x4e34b8(_0x1d58d0(_0x6a2952)),_0x51ed82=_0x57d47a(_0x4e34b8(window['Math']['ceil'](_0x407602/_0x52cc63)));window['localStorage']['setItem'](_0x201a4a,_0x51ed82);}function _0x408fbf(){const _0x2865d='llct-'+_0x4e34b8(_0x1d58d0(_0x6a2952)),_0x41c776=window['localStorage']['getItem'](_0x2865d);return _0x41c776?window['parseInt'](_0x57d47a(_0x41c776),0x10)*_0x52cc63:null;}function _0x5e99a0(_0x1527dd){return new window['Promise']((_0x29e102,_0x429822)=>{_0x1527dd['then'](_0x29e102,_0x429822),window['setTimeout'](_0x429822,0x1d4c0);});}}_0x208614['on']('_sendUsageRequest',(_0x13abd4,_0x11d78b)=>{if(_0x11d78b[0x0]!=_0x6a2952)return _0xe024d9('UsageLimit');_0x11d78b[0x1]={..._0x11d78b[0x1],'requestId':_0x20e665};},{'priority':'high'}),_0x208614['on']('_sendUsageRequest',_0x651ca9=>{_0x7718f4(_0x651ca9['return'])&&(_0x1963b6=!0x0,_0x108b63(_0x651ca9['return']));},{'priority':'low'}),_0x46b784['then'](()=>{_0x1963b6||_0xe024d9('UsageLimit');});});function _0x21291f(){return'auto'==_0x208614['editing']['view']['_overlayModeHint'];}function _0x448ade(){_0x208614['editing']['view']['_overlayModeHint']='auto';}}function _0x4f363b(_0x3b72d8){const _0x5b4ce1=[new window['Promise'](_0x40fd84=>setTimeout(_0x40fd84,0x93ecc)),_0x46b784['then'](()=>new window['Promise'](_0x2b9fa8=>{let _0x11bdee=0x0;_0x208614['model']['on']('applyOperation',(_0x2abe05,_0xc8f071)=>{_0xc8f071[0x0]['isDocumentOperation']&&_0x11bdee++,0x5e8==_0x11bdee&&(_0x2b9fa8(),_0x2abe05['off']());});}))];return window['Promise']['race'](_0x5b4ce1)['then'](()=>_0x3b72d8);}async function _0x111944(){await _0x46b784,_0x208614['model']['change']=_0x4c03a4,_0x208614['model']['enqueueChange']=_0x4c03a4,_0x208614['enableReadOnlyMode']('model');}function _0x301b37(){return window['glob']&&window['glob']['triliumVersion'];}function _0x212038(){return _0x2ee809('WebSocketGateway')&&'connected'==_0x329476('WebSocketGateway')['state'];}function _0x552b51(){return _0x2ee809('RevisionViewerIntegration');}function _0x4d3b0a(){return _0x2ee809('TrackChangesDataGetter');}function _0x26b13c(_0x56129a){const _0x10f9b9=_0x2f5eb7();_0x208614[_0x10f9b9]='commentsLicenseKey'+_0x56129a,'Valid'!=_0x56129a&&_0x111944();}function _0x2f5eb7(){const _0x3718fd=window['String'](window['performance']['now']())['replace']('.','');let _0x1e695a='K';for(let _0x366104=0x0;_0x366104<_0x3718fd['length'];_0x366104+=0x2){let _0x38656b=window['parseInt'](_0x3718fd['substring'](_0x366104,_0x366104+0x2));_0x38656b>=0x3e&&(_0x38656b-=0x3e),_0x1e695a+=_0x36495c[_0x38656b];}return _0x1e695a;}function _0x2c49c7(){const _0x42d791=_0x3919f6['split']('.');if(0x3!=_0x42d791['length'])return null;return _0x1aee44(_0x42d791[0x1]);function _0x1aee44(_0x53dfb8){const _0x12a257=_0x503caf(_0x53dfb8);return _0x12a257&&_0x231c2b()?_0x12a257:null;function _0x231c2b(){const _0x1b5d35=_0x12a257['jti'],_0xc4b604=window['parseInt'](_0x1b5d35['substring'](_0x1b5d35['length']-0x8),0x10),_0x130ac2={..._0x12a257,'jti':_0x1b5d35['substring'](0x0,_0x1b5d35['length']-0x8)};return delete _0x130ac2['vc'],_0x1d58d0(_0x130ac2)==_0xc4b604;}}}async function _0x3b53e6(){let _0x462c40=!0x0;try{const [_0x179350,_0x3322d3,_0x3967d3]=_0x3919f6['split']('.');return _0x5c10a9(_0x179350),await _0x930ace(_0x179350,_0x3322d3,_0x3967d3),_0x462c40;}catch{return!0x1;}function _0x5c10a9(_0x3897ac){const _0x49b95c=_0x503caf(_0x3897ac);_0x49b95c&&'ES256'==_0x49b95c['alg']||(_0x462c40=!0x1);}async function _0x930ace(_0x54e5fa,_0x3a6783,_0x400c56){const _0x31088d=window['Uint8Array']['from'](_0x313dac(_0x400c56),_0x4430a0=>_0x4430a0['charCodeAt'](0x0)),_0x2c6886=new window['TextEncoder']()['encode'](_0x54e5fa+'.'+_0x3a6783),_0x68bdc9=window['crypto']['subtle'];if(!_0x68bdc9)return;const _0x44e28e=await _0x68bdc9['importKey']('jwk',_0x28ff19,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x68bdc9['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x44e28e,_0x31088d,_0x2c6886)||(_0x462c40=!0x1);}}function _0x503caf(_0x158f8e){return _0x158f8e['startsWith']('ey')?JSON['parse'](_0x313dac(_0x158f8e)):null;}function _0x313dac(_0x48dc2d){return window['atob'](_0x48dc2d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1d58d0(_0x3025fb){let _0x355fad=0x1505;function _0x2eb067(_0x2c2fbb){for(let _0x2cd4f3=0x0;_0x2cd4f3<_0x2c2fbb['length'];_0x2cd4f3++){const _0x3d5cbc=_0x2c2fbb['charCodeAt'](_0x2cd4f3);_0x355fad=(_0x355fad<<0x5)+_0x355fad+_0x3d5cbc,_0x355fad&=_0x355fad;}}function _0x1f4dfc(_0x3ddb95){Array['isArray'](_0x3ddb95)?_0x3ddb95['forEach'](_0x1f4dfc):_0x3ddb95&&'object'==typeof _0x3ddb95?Object['entries'](_0x3ddb95)['sort']()['forEach'](([_0x6f4a87,_0x40a229])=>{_0x2eb067(_0x6f4a87),_0x1f4dfc(_0x40a229);}):_0x2eb067(window['String'](_0x3ddb95));}return _0x1f4dfc(_0x3025fb),_0x355fad>>>0x0;}function _0x4e34b8(_0x32a460){return _0x32a460['toString'](0x10)['padStart'](0x8,'0');}function _0x57d47a(_0x2ad202){return _0x2ad202['split']('')['reverse']()['join']('');}function _0x2ee809(_0x33a005){return _0x208614['plugins']['has'](_0x33a005);}function _0x329476(_0xc43e10){return _0x208614['plugins']['get'](_0xc43e10);}function _0x4c03a4(){}_0x26b13c(await _0x306e14());}(this);}destroy(){const _0x1432cc=this['editor']['plugins']['get'](_0x2d919b),_0x3ee04=this['editor']['config']['get']('collaboration.channelId');for(const _0x45ce8b of _0x1432cc['getCommentThreads']({'channelId':_0x3ee04}))_0x1432cc['_detachCommentThread'](_0x45ce8b['id']),_0x1432cc['_threads']['delete'](_0x45ce8b['id']);super['destroy']();}['hasMarkerForId'](_0x7d122f){return this['getAllMarkersForId'](_0x7d122f)['length']>0x0;}getAllMarkersForId(_0xce519d){const _0x3ea11f=[];for(const _0x13a7e4 of this['editor']['model']['markers'])_0x13a7e4['name']['startsWith']('comment:'+_0xce519d)&&_0x3ea11f['push'](_0x13a7e4);return _0x3ea11f;}['scrollToThreadMarker'](_0x305ccd){setTimeout(()=>{const _0x48de2c=this['_getTargetForId'](_0x305ccd);_0x48de2c&&this['activeMarker']&&_0x639832(this['activeMarker'])['id']===_0x305ccd&&(0x0,_0x491313['scrollViewportToShowTarget'])({'target':_0x48de2c[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}_reconvertMarkers(_0xe0827c){this['editor']['model']['change'](()=>{for(const _0x12d571 of this['getAllMarkersForId'](_0xe0827c))this['editor']['editing']['reconvertMarker'](_0x12d571);});}_attachArchivedThread(_0x3389ed){const _0x45ece9=this['editor']['plugins']['get'](_0x2d919b),_0x513de6=this['editor']['plugins']['get'](_0x5ff238),_0x509a13=_0x45ece9['getCommentThread'](_0x3389ed);if(!_0x509a13['isAttached']){const _0x66b87b=_0x509a13['attachTo'](()=>this['_getTargetForId'](_0x509a13['id']));_0x513de6['registerAnnotation'](_0x66b87b),_0x509a13['_hasTargetInContent']=!0x1;}}_initializeMarkerConverters(){const _0x3c7c26=this['editor'],_0x342abf=_0x3c7c26['plugins']['get'](_0x16b3af);_0x3c7c26['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x4f230c,_0x1915bc)=>{const {id:_0x5d8153}=_0x639832(_0x4f230c['markerName']),_0x3d36f7=_0x3c7c26['plugins']['get'](_0x2d919b)['getCommentThread'](_0x5d8153),_0x212f75=this['activeMarker']&&_0x639832(this['activeMarker'])['id']===_0x5d8153;let _0x45ca32;if(_0x3d36f7&&_0x3d36f7['isResolved']&&!_0x212f75&&_0x4f230c['item'])return _0x1915bc['consumable']['consume'](_0x4f230c['item'],'addMarker:'+_0x4f230c['markerName']),_0x1915bc['consumable']['consume'](_0x4f230c['item'],'removeMarker:'+_0x4f230c['markerName']),null;const _0x47559f=['ck-comment-marker'];return _0x212f75&&_0x47559f['push']('ck-comment-marker--active'),_0x45ca32=_0x3d36f7?.['length']?_0x3d36f7['comments']['first']['author']['id']:_0x342abf['me']['id'],{'classes':_0x47559f,'attributes':{'data-comment':_0x5d8153,'data-author-id':_0x45ca32}};}}),_0x3c7c26['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x33ec6d,{options:_0x24000e})=>{if(_0x24000e['showCommentHighlights'])return null;const _0x37d8f5=_0x3c7c26['plugins']['get'](_0x2d919b),_0x3291bf=_0x3c7c26['model']['markers']['get'](_0x33ec6d),{id:_0x48d70d,part:_0x207689}=_0x639832(_0x33ec6d);return _0x3291bf&&!_0x3291bf['affectsData']||_0x24000e['ignoreResolvedComments']&&_0x37d8f5['getCommentThread'](_0x48d70d)?.['isResolved']?null:{'group':'comment','name':_0x207689?_0x48d70d+':'+_0x207689:_0x48d70d};}}),_0x3c7c26['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x377a20,{writer:_0x4f5448})=>_0x4f5448['createElement']('$marker',{'data-name':'comment:'+_0x377a20['getAttribute']('id')})}),_0x3c7c26['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x322ec6=this['editor'],_0x418227=_0x322ec6['plugins']['get'](_0x2d919b),_0x245cc8=new Set(),_0x5eb3fc=new Set();_0x322ec6['model']['document']['registerPostFixer'](_0xd9cdfc=>{let _0x1cef49=!0x1;for(const {name:_0xac0598,data:_0x1d17e7}of _0x322ec6['model']['document']['differ']['getChangedMarkers']()){const {group:_0x3e289b,id:_0x25da74}=_0x639832(_0xac0598);let _0x52614b=_0x1d17e7['newRange'];if('comment'!==_0x3e289b||!_0x52614b)continue;const _0x4294fa='$graveyard'===_0x52614b['root']['rootName'];_0x4294fa||(_0x52614b=_0x51aa84(_0x52614b,_0x322ec6['model']),!_0x52614b||_0x52614b['isCollapsed']||!_0x1d17e7['newRange']||_0x52614b['isEqual'](_0x1d17e7['newRange']))?_0x322ec6['model']['hasContent'](_0x52614b)&&!_0x4294fa?this['isThreadsLoadingPaused']?_0x245cc8['add'](_0xac0598):this['_handleThreadMarker'](_0xac0598,_0x25da74):(_0x5eb3fc['add'](_0xac0598),_0x245cc8['delete'](_0xac0598),_0xd9cdfc['removeMarker'](_0xac0598),_0x1cef49=!0x0):(_0xd9cdfc['updateMarker'](_0xac0598,{'range':_0x52614b}),_0x1cef49=!0x0);}return _0x1cef49;}),this['on']('change:isThreadsLoadingPaused',(_0x3a8348,_0x588ad5,_0x6f3e8e)=>{if(!_0x6f3e8e&&_0x245cc8['size'])for(const _0x58fa9c of _0x245cc8){const {id:_0x1385ac}=_0x639832(_0x58fa9c);_0x245cc8['delete'](_0x58fa9c),_0x322ec6['model']['markers']['get'](_0x58fa9c)&&this['_handleThreadMarker'](_0x58fa9c,_0x1385ac);}}),this['listenTo'](_0x322ec6['model']['document'],'change',()=>{for(const {name:_0x5acdef,data:{newRange:_0x12128b}}of _0x322ec6['model']['document']['differ']['getChangedMarkers']()){const {group:_0x374798,id:_0x9b92f0}=_0x639832(_0x5acdef);if('comment'!==_0x374798)continue;const _0x4686d0=_0x418227['getCommentThread'](_0x9b92f0),_0xcbcaeb=this['hasMarkerForId'](_0x9b92f0);_0x4686d0&&(!_0x4686d0['_hasTargetInContent']&&_0x12128b&&_0x322ec6['editing']['view']['once']('render',()=>{const _0x1fed65=_0x322ec6['plugins']['get'](_0xa7dd6f),_0x37675c=_0x418227['_threadToController']['get'](_0x4686d0)['view'];_0x1fed65['getByInnerView'](_0x37675c)['refreshVisibility']();},{'priority':'low'}),_0x4686d0['_hasTargetInContent']=_0xcbcaeb||!!_0x12128b),_0x12128b||(_0x5eb3fc['add'](_0x5acdef),_0x245cc8['delete'](_0x5acdef));}for(const _0x4a6ec0 of _0x5eb3fc){const {id:_0x32acc1}=_0x639832(_0x4a6ec0),_0x261d77=_0x418227['getCommentThread'](_0x32acc1);if(_0x245cc8['delete'](_0x4a6ec0),!_0x261d77)continue;const _0xed87c3=this['hasMarkerForId'](_0x32acc1);_0xed87c3||_0x261d77['isSubmitted']?_0xed87c3||_0x261d77['unlinkedAt']||_0x261d77['setUnlinkedAt'](new Date()):_0x261d77['remove']();}_0x5eb3fc['clear']();});}_handleInitialThreads(_0x4a7d9a){_0x4a7d9a['forEach'](_0x26f62a=>{_0x26f62a['unlinkedAt']&&this['_attachArchivedThread'](_0x26f62a['id']);});}_getTargetForId(_0x5d3c04){const _0x271b6d=this['editor'],_0x15bd42=this['getAllMarkersForId'](_0x5d3c04);return _0x323ccc(_0x271b6d['editing'],_0x15bd42);}_getTextContext(_0x294740){const _0x3df1e5=this['getAllMarkersForId'](_0x294740);let _0x28df3a='',_0x34115c=!0x1;for(const _0x3bc9e3 of _0x3df1e5){const _0x135cff=_0x3bc9e3['getRange']();for(const _0x34784c of Array['from'](_0x135cff['getItems']()))_0x34784c['is']('$textProxy')?(_0x28df3a&&_0x34115c&&(_0x28df3a+='\x20',_0x34115c=!0x1),_0x28df3a+=_0x34784c['data']):_0x34115c=!0x0;_0x34115c=!0x0;}return _0x28df3a['substring'](0x0,0x96);}_attachMarkerToThread(_0x58eccb,_0x37d9f){const _0x4cedd4=this['editor'],_0x3c40bd=_0x4cedd4['plugins']['get'](_0x2d919b);let _0x4e0243=_0x3c40bd['getCommentThread'](_0x37d9f);const _0x17c0ee=_0x4cedd4['config']['get']('collaboration.channelId'),_0x5ea702=_0x4cedd4['plugins']['get'](_0x5ff238);return _0x4e0243&&(_0x4e0243['unlinkedAt']&&_0x4e0243['setUnlinkedAt'](null),_0x4e0243['isAttached'])||(this['getAllMarkersForId'](_0x37d9f)[0x0]['managedUsingOperations']?_0x3c40bd['fetchCommentThread']({'channelId':_0x17c0ee,'threadId':_0x37d9f})['then'](_0x5c0177=>{if('destroyed'!==_0x4cedd4['state']){if(_0x4e0243=_0x5c0177,_0x4e0243&&!_0x4e0243['isAttached']){const _0x2b0e89=_0x4e0243['attachTo'](()=>this['_getTargetForId'](_0x37d9f));_0x5ea702['registerAnnotation'](_0x2b0e89),_0x4e0243['isResolved']&&this['_reconvertMarkers'](_0x37d9f);}else{if(!_0x4e0243){const _0x10e81c=this['getAllMarkersForId'](_0x37d9f);_0x4cedd4['model']['change'](_0x219c2d=>{for(const _0x15cbe9 of _0x10e81c)_0x219c2d['removeMarker'](_0x15cbe9);});}}}}):_0x4cedd4['editing']['view']['once']('render',()=>{if(_0x3c40bd['getCommentThread'](_0x37d9f))return;const _0x50d70c=_0x4cedd4['plugins']['get'](_0xa7dd6f);_0x4e0243=_0x3c40bd['openNewCommentThread']({'channelId':_0x17c0ee,'threadId':_0x37d9f,'target':()=>this['_getTargetForId'](_0x37d9f),'context':{'type':'text','value':this['_getTextContext'](_0x37d9f)}});const _0x23f3a5=_0x3c40bd['_threadToController']['get'](_0x4e0243)['view'],_0x4033db=_0x50d70c['getByInnerView'](_0x23f3a5);_0x4033db&&_0x5ea702['registerAnnotation'](_0x4033db);},{'priority':'low'})),_0x4e0243;}['_handleThreadMarker'](_0x3141bd,_0x49ecdd){const _0x4ea2bb=this['_attachMarkerToThread'](_0x3141bd,_0x49ecdd);_0x4ea2bb&&!_0x4ea2bb['context']&&_0x4ea2bb['setContext']({'type':'text','value':this['_getTextContext'](_0x49ecdd)});}_initAriaMarkerChangeAnnouncements(){const _0x1fa851=this['editor'];_0x33d0b8(_0x1fa851['model'],({left:_0x320e0f,entered:_0xc694a9})=>{for(const _0x12ba42 of _0x320e0f)if(_0x8fc23d(_0x12ba42)){_0x1fa851['ui']['ariaLiveAnnouncer']['announce'](_0x1e9645(_0x1fa851['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x264b1c of _0xc694a9)if(_0x8fc23d(_0x264b1c)){_0x1fa851['ui']['ariaLiveAnnouncer']['announce'](_0x1e9645(_0x1fa851['locale'],'ENTER_COMMENT_ANNOUNCEMENT',(0x0,_0x491313['getEnvKeystrokeText'])(_0x3866bd)));break;}});}};function _0x27bf92(_0x2e4382,_0x165067){return _0x165067?_0x2e4382+':'+_0x165067:_0x2e4382;}function _0x51aa84(_0x527f6c,_0x14665c){const _0x541af9=_0x14665c['schema'],_0x4c706e=_0x14665c['createRange'](_0x527f6c['start']);for(const _0x33fbd8 of _0x527f6c['getWalker']()){const {type:_0x27a433,item:_0x3f93c2,nextPosition:_0x282573}=_0x33fbd8;if('text'===_0x27a433||_0x541af9['isObject'](_0x3f93c2)){const _0x1c7206=_0x14665c['createPositionBefore'](_0x3f93c2);_0x4c706e['isCollapsed']&&(_0x4c706e['start']=_0x1c7206),_0x4c706e['end']=_0x282573;}}return _0x4c706e;}function _0x8fc23d(_0x17d584){return'comment'===_0x639832(_0x17d584['name'])['group'];}var _0x470848=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x2d919b,_0x2d792c,_0x5ff238,_0xa7dd6f];}get CommentsListView(){return _0x501cc2;}get CommentThreadInputView(){return _0x7c5453;}init(){const _0x546577=this['editor'],_0x465fdb=_0x546577['plugins']['get'](_0x2d919b),_0x30d48a=_0x546577['plugins']['get'](_0x2d792c),_0xc80be7=_0x546577['plugins']['get'](_0xa7dd6f),_0x1e7f0f=_0x546577['plugins']['get'](_0x5ff238);_0x546577['ui']['componentFactory']['add']('comment',()=>{const _0xcc2fad=this['_createUIButton'](_0x491313['ButtonView']);return _0xcc2fad['tooltip']=!0x0,_0xcc2fad;}),_0x546577['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x491313['MenuBarMenuListItemButtonView'])),_0x1e7f0f['addSourceCollector'](()=>{const _0x5bcb68=[];for(const [_0x48bece,_0x32b07d]of _0x465fdb['_threadToController']){const _0xfc33f0=_0x30d48a['getAllMarkersForId'](_0x48bece['id']),_0x5cfa5a=_0xfc33f0['map'](_0xfec831=>_0xfec831['getRange']());_0xfc33f0['length']>0x0&&_0x5bcb68['push']([_0x32b07d['view'],_0x5cfa5a]);}return _0x5bcb68;}),this['listenTo'](_0xc80be7,'change:activeAnnotations',(_0x54bf79,_0x250918,_0x3e0f23)=>{const _0x3bf0df=Array['from'](_0x3e0f23)['map'](_0x3ae792=>_0x3ae792['innerView'])['find'](_0x26d7e9=>_0x465fdb['_viewToController']['has'](_0x26d7e9));if(!_0x3bf0df)return void(_0x30d48a['activeMarker']=null);const _0x236ec7=_0x465fdb['_viewToController']['get'](_0x3bf0df)['model']['id'],_0x3a9687='comment:'+_0x236ec7;_0x236ec7&&_0x30d48a['hasMarkerForId'](_0x236ec7)?_0x30d48a['activeMarker']=_0x3a9687:_0x30d48a['activeMarker']&&(_0x30d48a['activeMarker']=null);}),this['listenTo'](_0x465fdb,'removeCommentThread',(_0xeb9bee,{threadId:_0x2f92bc,isFromAdapter:_0x587ce8})=>{!_0x587ce8&&_0x546577['ui']['focusTracker']['isFocused']&&_0x30d48a['hasMarkerForId'](_0x2f92bc)&&_0x546577['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x465fdb,'addComment',(_0x39d065,{threadId:_0x11350d,isFromAdapter:_0x4c7a7a})=>{!_0x4c7a7a&&_0x30d48a['hasMarkerForId'](_0x11350d)&&_0x465fdb['hasCommentThread'](_0x11350d)&&0x1===_0x465fdb['getCommentThread'](_0x11350d)['length']&&(_0x546577['editing']['view']['focus'](),_0x39d065['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3c7884=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x21ac0a;for(const _0x4c1619 in _0x3c7884){const _0x547389=_0x4c1619,_0x5d41d6=_0x3c7884[_0x547389];if('commentsLicenseKeyValid'==_0x5d41d6||'commentsLicenseKeyInvalid'==_0x5d41d6||'commentsLicenseKeyExpired'==_0x5d41d6||'commentsLicenseKeyDomainLimit'==_0x5d41d6||'commentsLicenseKeyNotAllowed'==_0x5d41d6||'commentsLicenseKeyEvaluationLimit'==_0x5d41d6||'commentsLicenseKeyUsageLimit'==_0x5d41d6){delete _0x3c7884[_0x547389],_0x21ac0a=_0x5d41d6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x21ac0a&&_0x3c7884['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x21ac0a&&_0x3c7884['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x21ac0a&&_0x3c7884['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x21ac0a&&_0x3c7884['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x21ac0a&&_0x3c7884['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x21ac0a&&_0x3c7884['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_createUIButton(_0x150160){const _0x3e4e0b=this['editor'],_0x1943b8=new _0x150160(_0x3e4e0b['locale']),_0x4a82b2=_0x3e4e0b['commands']['get']('addCommentThread');return _0x1943b8['set']({'label':_0x1e9645(_0x3e4e0b['locale'],'Comment'),'icon':_0x491313['IconAddComment']}),_0x1943b8['bind']('isEnabled')['to'](_0x4a82b2,'isEnabled',_0x4a82b2,'hasContent',(_0x559802,_0x4c4188)=>_0x559802&&_0x4c4188),this['listenTo'](_0x1943b8,'execute',()=>{_0x4a82b2['execute']();}),_0x1943b8;}},_0x18d4a8=class extends _0x491313['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x2d792c];}constructor(_0x56ca86){super(_0x56ca86),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x1efaa6,_0x5af0ed,_0x3fb025)=>{_0x3fb025?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}afterInit(){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}_enableCommentsOnlyMode(){for(const [_0x4d3805,_0x572ade]of this['editor']['commands'])_0x572ade['affectsData']&&'addCommentThread'!==_0x4d3805&&_0x572ade['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('RevisionTracker')&&this['editor']['plugins']['get']('RevisionTracker')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['forceDisabled']('commentsOnlyMode'),this['editor']['commands']['get']('editSource')?.['forceDisabled']('commentsOnlyMode');const _0x4fc67c=this['editor']['editing']['view']['document'];this['listenTo'](_0x4fc67c,'cut',_0x44dd6a=>_0x44dd6a['stop'](),{'priority':'highest'}),this['listenTo'](_0x4fc67c,'clipboardInput',_0x250b73=>_0x250b73['stop'](),{'priority':'highest'}),this['listenTo'](_0x4fc67c,'delete',_0x4d1a69=>_0x4d1a69['stop'](),{'priority':'highest'});}_disableCommentsOnlyMode(){for(const [_0x19e569,_0x56e1e3]of this['editor']['commands'])_0x56e1e3['affectsData']&&'addCommentThread'!==_0x19e569&&_0x56e1e3['clearForceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('RevisionTracker')&&this['editor']['plugins']['get']('RevisionTracker')['clearForceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['clearForceDisabled']('commentsOnlyMode'),this['editor']['commands']['get']('editSource')?.['clearForceDisabled']('commentsOnlyMode'),this['stopListening'](this['editor']['editing']['view']['document']);}},_0x570eb2=class extends _0x491313['ContextPlugin']{activeUIs;uisData;['_uis'];static get requires(){return[_0xa7dd6f];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2eacbf){super(_0x2eacbf),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}init(){const _0x1658e3=this['context']['plugins']['get'](_0xa7dd6f);this['listenTo'](_0x1658e3,'_activateAnnotation',(_0x37f3ce,_0x502e03)=>{for(const _0xf52968 of this['activeUIs']){const _0x5e429d=this['_uis']['get'](_0xf52968);(0x0,this['uisData']['get'](_0xf52968)['filter'])(_0x502e03)&&_0x5e429d['setActiveAnnotation'](_0x502e03);}}),this['listenTo'](_0x1658e3,'_deactivateAllAnnotations',()=>{for(const _0x86330e of this['activeUIs'])this['_uis']['get'](_0x86330e)['setActiveAnnotation'](null);}),this['listenTo'](_0x1658e3['_visibleAnnotations'],'add',(_0x112e71,_0x34b43f)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x34b43f);});}hasActive(){return this['activeUIs']['size']>0x0;}isActive(_0x362149){return this['activeUIs']['has'](_0x362149);}activate(_0x8a97e8,_0x3823a3=this['defaultFilter']){const _0x283e7a=this['context']['plugins']['get'](_0xa7dd6f);if(!this['_uis']['has'](_0x8a97e8))throw new _0x491313['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x8a97e8});this['isActive'](_0x8a97e8)&&this['deactivate'](_0x8a97e8),this['activeUIs']['add'](_0x8a97e8);const _0xa8cf7a=new _0x5bdaf3();_0x4a173a({'source':_0x283e7a['_visibleAnnotations'],'target':_0xa8cf7a,'filter':_0x3823a3}),this['uisData']['set'](_0x8a97e8,{'collection':_0xa8cf7a,'filter':_0x3823a3});const _0x430833=this['_uis']['get'](_0x8a97e8);_0x430833['attach'](_0xa8cf7a),this['listenTo'](_0x430833,'change:activeAnnotation',(_0xbbce9f,_0x4c68e8,_0x5b7084,_0x29665c)=>{_0x29665c&&_0x283e7a['_removeActiveAnnotation'](_0x29665c),_0x5b7084&&_0x283e7a['_addActiveAnnotation'](_0x5b7084);});}deactivate(_0x266ba3){if(this['activeUIs']['delete'](_0x266ba3),!this['_uis']['has'](_0x266ba3))throw new _0x491313['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x266ba3});const _0x59af51=this['_uis']['get'](_0x266ba3);_0x59af51['detach'](),this['stopListening'](_0x59af51),this['uisData']['get'](_0x266ba3)['collection']['destroy'](),this['uisData']['delete'](_0x266ba3);}switchTo(_0xbe3351){if(!this['_uis']['has'](_0xbe3351))throw new _0x491313['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0xbe3351});const _0x41252d=this['context']['plugins']['get'](_0xa7dd6f),_0x12feee=Array['from'](_0x41252d['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0xbe3351);const _0x206f25=this['_uis']['get'](_0xbe3351);_0x206f25['setActiveAnnotation'](_0x12feee),_0x206f25['_setSelectedAnnotations']&&_0x12feee&&_0x206f25['_setSelectedAnnotations']([_0x12feee]);}deactivateAll(){for(const _0x3134a0 of this['activeUIs'])this['deactivate'](_0x3134a0);}register(_0x329cdb,_0x208562){if(this['_uis']['has'](_0x329cdb))throw new _0x491313['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x208562['attach']||'function'!=typeof _0x208562['detach']||'function'!=typeof _0x208562['setActiveAnnotation'])throw new _0x491313['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x329cdb,_0x208562);}refilterAnnotations(){const _0x4c71cf=this['context']['plugins']['get'](_0xa7dd6f)['collection'],_0x271c0e=new Map(),_0x49ba5d=Array['from'](this['activeUIs']);for(const _0x3ae3e8 of this['activeUIs']){const _0x46bcca=this['uisData']['get'](_0x3ae3e8)['collection'];for(const _0x10cb7c of _0x46bcca)_0x271c0e['set'](_0x10cb7c,_0x3ae3e8);}for(const _0x55b2e0 of _0x4c71cf){const _0x4dc02e=_0x271c0e['get'](_0x55b2e0);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x55b2e0);const _0x18927e=_0x49ba5d['find'](_0x2afb6d=>this['uisData']['get'](_0x2afb6d)['filter'](_0x55b2e0));_0x4dc02e!==_0x18927e&&(_0x4dc02e&&this['uisData']['get'](_0x4dc02e)['collection']['remove'](_0x55b2e0),_0x18927e&&this['uisData']['get'](_0x18927e)['collection']['add'](_0x55b2e0));}}destroy(){this['deactivateAll'](),super['destroy']();}defaultFilter(){return!0x0;}_assertAnnotationDoesNotBelongToMultipleUIs(_0x5b1f38){const _0x29c5d6=[];for(const _0x57f727 of this['activeUIs']){(0x0,this['uisData']['get'](_0x57f727)['filter'])(_0x5b1f38)&&_0x29c5d6['push'](_0x57f727);}if(_0x29c5d6['length']>0x1)throw new _0x491313['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x29c5d6,'annotationType':_0x5b1f38['type']});}};const _0x492719=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['toUnit'])('px');var _0x141b2f=class extends _0x491313['View']{list;['focusables'];['focusTracker'];['focusCycler'];constructor(_0x5422b5){super(_0x5422b5);const _0x42d4bc=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['focusables']=this['createCollection'](),this['list']['delegate']('arrowup','arrowdown')['to'](this),this['focusTracker']=new _0x491313['FocusTracker'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x42d4bc['to']('class')],'style':{'minHeight':_0x42d4bc['to']('minHeight',_0x5613af=>'number'==typeof _0x5613af?_0x492719(_0x5613af+0xa):null)},'dir':_0x5422b5['uiLanguageDirection'],'role':'application','aria-label':_0x1e9645(_0x5422b5,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':_0x1e9645(_0x5422b5,'Annotations\x20list')},'children':this['list']}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}_setupKeyboardNavigation(){this['list']['delegate']('change:top')['to'](this),this['on']('change:top',_0x4786d2=>{this['_updateItemPositionInFocusables'](_0x4786d2['source']);}),this['list']['forEach'](_0x2ac993=>{this['focusTracker']['add'](_0x2ac993['element']),this['_updateItemPositionInFocusables'](_0x2ac993);}),this['list']['on']('change',(_0x5286f9,_0x4542cf)=>{for(const _0x15a528 of _0x4542cf['removed'])this['focusTracker']['remove'](_0x15a528['element']),this['focusables']['remove'](_0x15a528);for(const _0x55d585 of _0x4542cf['added'])this['focusTracker']['add'](_0x55d585['element']),this['_updateItemPositionInFocusables'](_0x55d585);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}_updateItemPositionInFocusables(_0x46442b){const _0x302a4c=this['focusables']['getIndex'](_0x46442b);let _0x2d14b3,_0x15a71d;for(const _0x1f44ae of this['focusables'])if(_0x46442b['top']<_0x1f44ae['top']){_0x2d14b3=_0x1f44ae;break;}if(_0x15a71d=_0x2d14b3?this['focusables']['getIndex'](_0x2d14b3):this['focusables']['length'],-0x1!==_0x302a4c){if(_0x302a4c===_0x15a71d-0x1)return;this['focusables']['remove'](_0x46442b),_0x15a71d=_0x2d14b3?this['focusables']['getIndex'](_0x2d14b3):this['focusables']['length'];}this['focusables']['add'](_0x46442b,_0x15a71d);}};const _0x41fee8=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['toUnit'])('px');var _0x240414=class extends _0x491313['View']{content;_targetTop;_mutationObserver;constructor(_0x313ae4){super(_0x313ae4),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x5ac04b,_0x25fcea)=>_0x5ac04b+_0x25fcea),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=_0x4b9d3b(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x343f5a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x343f5a['to']('isAnimationDisabled',_0x46c1d0=>_0x46c1d0?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x343f5a['to']('top',_0x60168d=>_0x41fee8(_0x60168d))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}updateHeight(){const _0x31ea44=this['element']['clientHeight'];_0x31ea44&&(this['height']=_0x31ea44);}destroy(){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}},_0x11a3d1=class extends _0x491313['ContextPlugin']{['view'];_activeAnnotation;_annotations;_spaceBetweenItems;_sidebarItemViewToAnnotation;_annotationToSidebarItemView;_recalculateBuffer;static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37f314){super(_0x37f314),this['set']('_lastItem',void 0x0),this['view']=this['_createSidebarView'](),this['set']('container',null),this['_spaceBetweenItems']=0x19,this['_sidebarItemViewToAnnotation']=new Map(),this['_annotationToSidebarItemView']=new Map(),this['context']['config']['define']('sidebar.preventScrollOutOfView',!0x1),this['_annotations']=null,this['_activeAnnotation']=null,this['_recalculateBuffer']=[];}init(){const _0x11aad2=this['context']['config']['get']('sidebar.container');_0x11aad2&&this['setContainer'](_0x11aad2);}setContainer(_0x18577a){if(!_0x340df6(_0x18577a))throw new _0x491313['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x18577a;}_attachToContainer({viewClass:_0x5b1fcc='',spaceBetweenItems:_0x372d5e=0x19}={}){if(!_0x340df6(this['container']))throw new _0x491313['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x5b1fcc,this['_spaceBetweenItems']=_0x372d5e;}['rearrange']({removedAnnotation:_0x38e0f6,previousAnnotation:_0x13a080,nextAnnotation:_0x33988b}){const _0xdfc35d=this['getSidebarItemView'](_0x38e0f6);this['view']['list']['remove'](_0xdfc35d),this['_destroySidebarItemView'](_0x38e0f6),_0x13a080&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x13a080)),_0x33988b&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x33988b)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x5c2d1a,activatedAnnotation:_0xf68efc,disableAnimationOnActivatedAnnotation:_0x1f487a}){if(this['_activeAnnotation']=_0xf68efc,_0x5c2d1a){_0x5c2d1a['isActive']=!0x1;const _0x105ddb=this['getSidebarItemView'](_0x5c2d1a);_0x105ddb&&_0x1f487a&&(_0x105ddb['isAnimationDisabled']=!0x1);}if(_0xf68efc){const _0x6531d5=this['getSidebarItemView'](_0xf68efc);_0x6531d5&&(_0xf68efc['isActive']=!0x0,_0x1f487a&&(_0x6531d5['isAnimationDisabled']=!0x0,_0x6531d5['top']+=0x1),this['_alignToTargetRect'](_0x6531d5));}}_detachFromContainer(_0x1e70aa){if(this['view']['element']['remove'](),_0x1e70aa){for(const _0x44c35f of _0x1e70aa)this['_destroySidebarItemView'](_0x44c35f);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}addAnnotation(_0x4ff8c9,_0x15709f){_0x15709f||(_0x15709f=_0x4ff8c9['view']);const _0x37495e=new _0x240414(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x37495e,_0x4ff8c9),this['_annotationToSidebarItemView']['set'](_0x4ff8c9,_0x37495e),_0x37495e['content']['add'](_0x15709f),this['listenTo'](_0x4ff8c9['view'],'change:targetRect',(_0x4778fd,_0x5b0800,_0x3dec4f)=>{const _0x462cf7=this['_getTargetTop'](_0x4ff8c9,_0x3dec4f);_0x37495e['_targetTop']!=_0x462cf7&&(_0x37495e['_targetTop']=_0x462cf7,this['_setItemTop'](_0x37495e,_0x462cf7));}),this['listenTo'](_0x37495e,'change:top',()=>{this['_recalculate'](_0x37495e,'top');}),this['listenTo'](_0x37495e,'change:bottom',()=>{this['_recalculate'](_0x37495e,'bottom');}),this['_alignToTargetRect'](_0x37495e);const _0x5b5783=this['_getItemBefore'](_0x37495e);return _0x5b5783&&this['_alignAfterItem'](_0x5b5783,_0x37495e)||this['_alignToTargetRect'](_0x37495e),this['_updateLastItem'](),this['view']['list']['add'](_0x37495e),_0x37495e;}['_alignForTopChange'](_0x285cdd){if(!_0x285cdd['content']['length'])return;const _0x250209=this['_getItemBefore'](_0x285cdd);if(!_0x250209)return;const _0x2f0659=this['_sidebarItemViewToAnnotation']['get'](_0x250209),_0x3afac2=this['_activeAnnotation'];_0x3afac2&&_0x3afac2===_0x2f0659?this['_alignAfterItem'](_0x250209,_0x285cdd):this['_alignBeforeItem'](_0x285cdd,_0x250209);}_alignForBottomChange(_0x108dc7){if(!_0x108dc7['content']['length'])return;const _0x193ecd=this['_getItemAfter'](_0x108dc7);if(!_0x193ecd)return;const _0x256924=this['_sidebarItemViewToAnnotation']['get'](_0x193ecd),_0x6b3528=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x4a4bf5=this['_activeAnnotation'];_0x4a4bf5&&_0x4a4bf5===_0x256924&&_0x6b3528?(this['_alignBeforeItem'](_0x193ecd,_0x108dc7),this['_alignAfterItem'](_0x108dc7,_0x193ecd)):_0x4a4bf5&&_0x4a4bf5===_0x256924?this['_alignBeforeItem'](_0x193ecd,_0x108dc7):this['_alignAfterItem'](_0x108dc7,_0x193ecd);}_recalculate(_0x2a69b9,_0x984eb5){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x31215b,changedProp:_0x47a800}of this['_recalculateBuffer'])'top'===_0x47a800?this['_alignForTopChange'](_0x31215b):this['_alignForBottomChange'](_0x31215b);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x2a69b9,'changedProp':_0x984eb5});}getSidebarItemView(_0x3c4b24){return this['_annotationToSidebarItemView']['get'](_0x3c4b24);}destroy(){this['stopListening'](),this['view']['destroy']();}_destroySidebarItemView(_0x2bb37a){const _0x1091c6=this['getSidebarItemView'](_0x2bb37a);this['stopListening'](_0x1091c6),this['stopListening'](_0x2bb37a['view']),_0x1091c6['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x2bb37a),this['_sidebarItemViewToAnnotation']['delete'](_0x1091c6);}_createSidebarView(){const _0x1a061a=new _0x141b2f(this['context']['locale']);return _0x1a061a['render'](),this['on']('change:_lastItem',(_0x43eca7,_0x3d1dad,_0x1fd076,_0x4d5781)=>{_0x4d5781&&_0x1a061a['unbind']('minHeight'),_0x1fd076?_0x1a061a['bind']('minHeight')['to'](_0x1fd076,'bottom'):_0x1a061a['minHeight']=null;}),_0x1a061a;}_updateLastItem(){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}_getItemBefore(_0x216de2){const _0x32b994=this['_sidebarItemViewToAnnotation']['get'](_0x216de2),_0x104a4c=_0x32b994&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x32b994)-0x1);return _0x104a4c&&this['getSidebarItemView'](_0x104a4c)||null;}_getItemAfter(_0x28005d){const _0x4c971e=this['_sidebarItemViewToAnnotation']['get'](_0x28005d),_0x28b268=_0x4c971e&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x4c971e)+0x1);return _0x28b268&&this['getSidebarItemView'](_0x28b268)||null;}_alignBeforeItem(_0x5b2a40,_0x812de7){_0x5b2a40['updateHeight']();const _0x384c7d=_0x523a65(_0x812de7['bottom']+this['_spaceBetweenItems'],_0x5b2a40['top']);return!!_0x384c7d&&(this['_setItemTop'](_0x812de7,_0x812de7['top']-_0x384c7d),!0x0);}_alignAfterItem(_0x25300b,_0x4fee8c){_0x25300b['updateHeight']();const _0x2e5bce=_0x523a65(_0x25300b['bottom']+this['_spaceBetweenItems'],_0x4fee8c['top']);return!!_0x2e5bce&&(this['_setItemTop'](_0x4fee8c,_0x4fee8c['top']+_0x2e5bce,!0x1),!0x0);}_alignToTargetRect(_0x1b2c87){const _0x1b9810=this['_sidebarItemViewToAnnotation']['get'](_0x1b2c87);if(!_0x1b9810||!_0x1b9810['target']||!_0x1b9810['targetRect'])return;const _0x4df869=this['_getTargetTop'](_0x1b9810,_0x1b9810['targetRect']);this['_setItemTop'](_0x1b2c87,_0x4df869);}_getTargetTop(_0x7da9d0,_0x769f58){if(null===_0x769f58)return 0x0;if(_0x7da9d0['target']instanceof _0x491313['Rect'])return _0x769f58['top'];{const _0x421e27=new _0x491313['Rect'](this['view']['element'])['top'];return _0x769f58['top']-_0x421e27;}}_setItemTop(_0x191040,_0x4b8950,_0x5f0c0e=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x5f0c0e&&(_0x4b8950=Math['max'](_0x4b8950,this['_getMaxAvailableTop'](_0x191040))),_0x191040['top']=_0x4b8950;}_getMaxAvailableTop(_0x289e89){let _0x592540=this['_getItemBefore'](_0x289e89),_0x1307bb=0x0;for(;_0x592540;)_0x592540['updateHeight'](),_0x1307bb+=this['_spaceBetweenItems']+_0x592540['height'],_0x592540=this['_getItemBefore'](_0x592540);return _0x1307bb;}};function _0x523a65(_0x3cd866,_0x1da512){return Math['max'](_0x3cd866-_0x1da512,0x0);}function _0x340df6(_0x183776){return null!==_0x183776&&'object'==typeof _0x183776&&0x1===_0x183776['nodeType'];}var _0x1cb8bf=class extends _0x491313['ContextPlugin']{isAttached;annotations;_editorAnnotations;_refreshPositioningDebounced;static get requires(){return[_0x11a3d1,_0x570eb2];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x44f75f){super(_0x44f75f),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x491313['Collection'](),this['_refreshPositioningDebounced']=_0xa307bf(()=>{_0x44f75f['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}init(){const _0x1a55d5=this['context']['plugins']['get'](_0x570eb2),_0x24f940=this['context']['plugins']['get'](_0x11a3d1);_0x1a55d5['register']('wideSidebar',this),_0x24f940['container']&&_0x1a55d5['switchTo']('wideSidebar');}setActiveAnnotation(_0x46d36e){if(_0x46d36e===this['activeAnnotation'])return;const _0x1c798a=this['context']['plugins']['get'](_0x11a3d1);_0x1c798a['_activeAnnotation']=_0x46d36e;const _0x1a2ed1=this['activeAnnotation'];_0x1c798a['refresh']({'blurredAnnotation':_0x1a2ed1,'activatedAnnotation':_0x46d36e}),this['activeAnnotation']=_0x46d36e;}attach(_0x253d98){this['annotations']=_0x253d98;const _0x27ad6f=this['context']['plugins']['get'](_0x11a3d1);if(_0x27ad6f['_annotations']=_0x253d98,this['isAttached'])throw new _0x491313['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x27ad6f,'set:container',()=>{this['detach'](),this['listenTo'](_0x27ad6f,'change:container',_0x556232=>{_0x556232['off'](),this['attach'](_0x253d98);});}),_0x27ad6f['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x1a58a2=_0x3151f0=>{_0x3151f0['updateTargetRect'](),_0x27ad6f['addAnnotation'](_0x3151f0);};for(const _0x4b4bfa of _0x253d98)_0x1a58a2(_0x4b4bfa);this['listenTo'](_0x253d98,'add',(_0x31a8cc,_0x4aae30)=>{_0x1a58a2(_0x4aae30);}),this['listenTo'](_0x253d98,'remove',(_0x41ce59,_0x5cba51,_0x25073e)=>{_0x27ad6f['rearrange']({'removedAnnotation':_0x5cba51,'previousAnnotation':_0x253d98['get'](_0x25073e-0x1),'nextAnnotation':_0x253d98['get'](_0x25073e+0x1)}),_0x5cba51===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x253d98,'focus',(_0x1cf6bb,_0x3538a5)=>{this['setActiveAnnotation'](_0x3538a5);}),this['listenTo'](_0x253d98,'blur',()=>{this['setActiveAnnotation'](null);});const _0x19fbfb=this['context']instanceof _0x491313['Context']?this['context']['editors']:new _0x491313['Collection']([this['context']]);for(const _0x2d2ba4 of _0x19fbfb)this['_integrateWithEditorAnnotations'](_0x2d2ba4);this['listenTo'](_0x19fbfb,'add',(_0x221ce2,_0x405939)=>{this['listenTo'](_0x405939,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x405939);});}),this['listenTo'](_0x19fbfb,'remove',(_0x40a760,_0x54a347)=>{_0x54a347['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x54a347['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}detach(){if(!this['isAttached'])throw new _0x491313['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x178570=this['context']['plugins']['get'](_0x11a3d1);_0x178570['_detachFromContainer'](this['annotations']),this['stopListening'](_0x178570),this['stopListening'](this['annotations']),this['context']instanceof _0x491313['Context']&&this['stopListening'](this['context']['editors']);for(const _0x51585e of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x51585e);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}destroy(){this['isAttached']&&this['detach']();}_integrateWithEditorAnnotations(_0x588c31){if(!_0x588c31['plugins']['has']('EditorAnnotations'))return;const _0x116321=_0x588c31['plugins']['get']('EditorAnnotations'),_0x3113b6=()=>{const _0x90c2f9=_0x116321['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x90c2f9[0x0]||null);};this['listenTo'](_0x116321,'refresh',_0x3113b6),this['listenTo'](_0x116321,'blur',(_0x955a28,{isAnnotationTracked:_0x33431c})=>{this['activeAnnotation']&&_0x33431c(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x116321,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x586a8f=>{_0x116321['hasDomSelection']()&&(_0x3113b6(),_0x586a8f['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x116321);}_destroyEditorAnnotationsIntegration(_0x20c4aa){this['stopListening'](_0x20c4aa),this['_editorAnnotations']['remove'](_0x20c4aa);}},_0x1867c9=class extends _0x491313['ButtonView']{counterView;constructor(_0x24926b){super(_0x24926b);const _0x5cea21=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x26423c,_0x462165)=>_0x26423c?'...':_0x462165['toString']()),this['set']('annotationType',''),this['icon']=_0x491313['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x491313['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x5cea21['to']('annotationType',_0x32c240=>'ck-annotation-counter__badge--'+_0x32c240),_0x5cea21['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x5cea21['to']('_badge')}]}),this['children']['add'](this['counterView']);}},_0x2f34c3=class extends _0x491313['ContextPlugin']{isAttached;annotations;_manuallyClosedAnnotationViews;_domEmitter;_annotationToNarrowView;_selectedAnnotations;_editorAnnotations;_refreshPositioningDebounced;static get requires(){return[_0x11a3d1,_0x570eb2];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x292dbc){super(_0x292dbc),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new((0x0,_0x491313['DomEmitterMixin'])())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x491313['Collection'](),this['_refreshPositioningDebounced']=_0xa307bf(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}init(){this['context']['plugins']['get'](_0x570eb2)['register']('narrowSidebar',this),this['bodyCollection']=new _0x491313['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new _0x491313['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}attach(_0x1c7baf){this['annotations']=_0x1c7baf;const _0x95b692=this['context']['plugins']['get'](_0x11a3d1),_0x4daf9f=this['balloonPanelView'];if(_0x95b692['_annotations']=_0x1c7baf,this['isAttached'])throw new _0x491313['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x95b692,'set:container',()=>{this['detach'](),this['listenTo'](_0x95b692,'change:container',_0x2cc12e=>{_0x2cc12e['off'](),this['attach'](_0x1c7baf);});}),_0x95b692['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x557035=_0xc51bbb=>{const _0x65860e=new _0x1867c9(this['context']['locale']);_0x95b692['addAnnotation'](_0xc51bbb,_0x65860e),this['_annotationToNarrowView']['set'](_0xc51bbb,_0x65860e),_0x65860e['bind']('isDirty','annotationType','number')['to'](_0xc51bbb['view'],'isDirty','type','length'),_0x65860e['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x4daf9f['content']['first']!==_0xc51bbb['view']?(this['_showBalloon'](_0xc51bbb),_0xc51bbb['view']['element']['focus'](),this['setActiveAnnotation'](_0xc51bbb)):this['setActiveAnnotation'](null);});};for(const _0x4bb607 of _0x1c7baf)_0x557035(_0x4bb607);this['listenTo'](_0x1c7baf,'add',(_0x39b10a,_0x497c8b)=>{_0x557035(_0x497c8b);}),this['listenTo'](_0x1c7baf,'remove',(_0xc2fb8e,_0x477a55,_0x4610a8)=>{this['_annotationToNarrowView']['get'](_0x477a55)['destroy'](),this['_annotationToNarrowView']['delete'](_0x477a55),_0x95b692['rearrange']({'removedAnnotation':_0x477a55,'previousAnnotation':_0x1c7baf['get'](_0x4610a8-0x1),'nextAnnotation':_0x1c7baf['get'](_0x4610a8+0x1)}),_0x477a55===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x1c7baf,'focus',(_0x1ee38b,_0x3f5a98)=>{this['setActiveAnnotation'](_0x3f5a98);}),this['listenTo'](_0x1c7baf,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x135099,_0xa4b7bf)=>{_0xa4b7bf['keyCode']===_0x491313['keyCodes']['esc']&&_0x4daf9f['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x4daf9f['content']['first']),this['_hideBalloon'](),_0xa4b7bf['stopPropagation'](),_0xa4b7bf['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x490662,_0x32019f)=>{const _0x46cce8=_0x32019f['target'];_0x4daf9f['isVisible']&&_0x4daf9f['element']['contains'](_0x46cce8)||_0x95b692['view']['element']['contains'](_0x46cce8)||_0x490662['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x2116c9=>_0x2116c9['contains'](_0x46cce8))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x7a4b72=this['context']instanceof _0x491313['Context']?this['context']['editors']:new _0x491313['Collection']([this['context']]);for(const _0x34af9b of _0x7a4b72)this['_integrateWithEditorAnnotations'](_0x34af9b);this['listenTo'](_0x7a4b72,'add',(_0x40faf7,_0x1a3663)=>{this['listenTo'](_0x1a3663,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x1a3663);});}),this['listenTo'](_0x7a4b72,'remove',(_0x2c331a,_0x4fe643)=>{_0x4fe643['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x4fe643['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}setActiveAnnotation(_0x39ff7d){if(_0x39ff7d===this['activeAnnotation'])return;const _0x914d8a=this['context']['plugins']['get'](_0x11a3d1);_0x914d8a['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x39ff7d,'disableAnimationOnActivatedAnnotation':!0x0}),_0x39ff7d&&_0x914d8a['getSidebarItemView'](_0x39ff7d)?this['_showBalloon'](_0x39ff7d):this['_hideBalloon'](),this['activeAnnotation']=_0x39ff7d;}detach(){if(!this['isAttached'])throw new _0x491313['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x1ce470=this['context']['plugins']['get'](_0x11a3d1);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x2ecc1f=>_0x2ecc1f['destroy']()),this['_annotationToNarrowView']['clear'](),_0x1ce470['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x491313['Context']&&this['stopListening'](this['context']['editors']);for(const _0x306be6 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x306be6);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['_selectedAnnotations']=[],this['isAttached']=!0x1,this['annotations']=null;}destroy(){this['isAttached']&&this['detach'](),this['bodyCollection']['detachFromDom']();}_integrateWithEditorAnnotations(_0x5c0ccf){if(!_0x5c0ccf['plugins']['has']('EditorAnnotations'))return;const _0x9b06ad=_0x5c0ccf['plugins']['get']('EditorAnnotations'),_0x3e1dc6=this['context']['plugins']['get'](_0x11a3d1),_0x145891=this['annotations'],_0x2c1377=this['balloonPanelView'],_0x3178bf=()=>{const _0x5d8800=_0x9b06ad['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x5d8800),this['setActiveAnnotation'](_0x5d8800[0x0]||null);};this['listenTo'](_0x9b06ad,'refresh',_0x3178bf),this['listenTo'](_0x9b06ad,'blur',(_0x4fd4a2,{isAnnotationTracked:_0x15d3bd})=>{this['activeAnnotation']&&_0x15d3bd(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x9b06ad,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x145891,'blur',_0x2dfe72=>{_0x9b06ad['hasDomSelection']()&&_0x2dfe72['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x5763a,_0xb2b2cc)=>{const _0x246ed4=_0xb2b2cc['target'];_0x2c1377['isVisible']&&_0x2c1377['element']['contains'](_0x246ed4)||_0x3e1dc6['view']['element']['contains'](_0x246ed4)||this['activeAnnotation']&&_0x9b06ad['hasDomSelection']()&&(_0x3178bf(),_0x5763a['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x9b06ad);}_destroyEditorAnnotationsIntegration(_0x5e0ca1){_0x5e0ca1&&(this['stopListening'](_0x5e0ca1),this['_editorAnnotations']['remove'](_0x5e0ca1));}_setSelectedAnnotations(_0x1edb2f){for(const _0x55915f of this['_selectedAnnotations'])_0x1edb2f['includes'](_0x55915f)||this['_manuallyClosedAnnotationViews']['delete'](_0x55915f['view']);this['_selectedAnnotations']=_0x1edb2f;}_refreshPositioning(){const _0x3214a2=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x3214a2['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x3288b7){if(this['_manuallyClosedAnnotationViews']['has'](_0x3288b7['view']))return;const _0x11e521=this['balloonPanelView']['content']['first'];_0x11e521!==_0x3288b7['view']?(_0x11e521&&this['_detachListeners'](_0x11e521),this['_attachListeners'](_0x3288b7['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x3288b7['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}_updateBalloonPosition(){const _0x4f23ba=this['balloonPanelView']['content']['first'],_0x149b9c=_0x4f23ba&&this['annotations']['getByView'](_0x4f23ba);if(!_0x149b9c||!this['_annotationToNarrowView']['has'](_0x149b9c))return;const _0x5dc552=this['_annotationToNarrowView']['get'](_0x149b9c)['element'],_0xdab4b2=(function(){const _0x7706fa=_0x491313['BalloonPanelView']['defaultPositions'];return[_0x7706fa['southArrowNorthEast'],_0x7706fa['northArrowSouthEast'],_0x7706fa['southArrowNorth'],_0x7706fa['northArrowSouth'],_0x7706fa['southArrowNorthWest'],_0x7706fa['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x5dc552,'positions':_0xdab4b2});}['_hideBalloon'](){const _0x15f21d=this['balloonPanelView'],_0x242d70=_0x15f21d['content']['first'];_0x242d70&&(this['_detachListeners'](_0x242d70),_0x15f21d['unpin'](),_0x15f21d['content']['clear']());}_attachListeners(_0x2cdfd0){this['listenTo'](_0x2cdfd0,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x2cdfd0,'Esc',(_0x4f4e25,_0x23f29f)=>{this['_manuallyClosedAnnotationViews']['add'](_0x2cdfd0),this['_hideBalloon'](),_0x23f29f();});}_detachListeners(_0x15454a){this['stopListening'](_0x15454a);}},_0x1fab5a=class extends _0x491313['Plugin']{isAttached;annotations;['_manuallyClosed'];['_balloon'];_addedAnnotations;_selectedAnnotations;['_forceRefresh'];_refreshVisibilityDebounced;static get requires(){return[_0x5ff238,_0x491313['ContextualBalloon'],_0x570eb2];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x36a1f1){super(_0x36a1f1),_0x36a1f1['editing']['view']['addObserver'](_0x491313['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x36a1f1['plugins']['get'](_0x491313['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=_0xa307bf(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}init(){const _0x498860=this['editor']['plugins']['get'](_0x570eb2);_0x498860['context']===this['editor']&&(_0x498860['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x44d8a2,_0x7decbf)=>{const _0x12c0bf=this['_balloon'];if(this['isAttached']&&_0x12c0bf['visibleView']){const _0x1c2b57=this['annotations']['getByView'](_0x12c0bf['visibleView']);_0x1c2b57&&this['_closeAnnotation'](_0x1c2b57),_0x7decbf();}}));}afterInit(){const _0x1547c7=this['editor']['plugins']['get'](_0x570eb2);_0x1547c7['context']===this['editor']&&(_0x1547c7['hasActive']()||_0x1547c7['switchTo']('inline'));}setActiveAnnotation(_0x3cef03){_0x3cef03!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x3cef03&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x3cef03)&&this['_addAnnotationToBalloon'](_0x3cef03,!0x0),_0x3cef03['isActive']=!0x0),_0x3cef03||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x3cef03);}attach(_0x575da6){this['annotations']=_0x575da6;const _0x4f7977=this['editor']['plugins']['get'](_0x570eb2),_0x55dba2=this['_balloon'];if(this['isAttached'])throw new _0x491313['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x4f7977['context']!==this['editor'])throw new _0x491313['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x3f8986=this['editor']['plugins']['get'](_0x5ff238);this['listenTo'](_0x3f8986,'refresh',()=>{const _0x227fad=_0x3f8986['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x2b00eb,_0x1d13ed;!this['_forceRefresh']&&(_0x2b00eb=_0x227fad,_0x1d13ed=this['_selectedAnnotations'],_0x2b00eb['length']===_0x1d13ed['length']&&_0x2b00eb['every'](_0x411f0e=>_0x1d13ed['includes'](_0x411f0e)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x227fad),this['setActiveAnnotation'](_0x227fad[0x0]||null));}),this['listenTo'](_0x3f8986,'blur',(_0x3667f7,{isAnnotationTracked:_0x580877})=>{this['activeAnnotation']&&_0x580877(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x3f8986,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x14f6d0,_0x55d5d1,_0x34aa3f)=>{_0x34aa3f||this['setActiveAnnotation'](null);}),this['listenTo'](_0x575da6,'remove',(_0x146391,_0x1810b5)=>{this['_removeAnnotationFromBalloon'](_0x1810b5),_0x1810b5===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x55dba2,'change:visibleView',(_0x2a3026,_0xdae87d,_0xbd7684,_0x1e9802)=>{_0x1e9802&&this['stopListening'](_0x1e9802);const _0x131309=_0x575da6['getByView'](_0xbd7684);_0xbd7684&&_0x131309&&(this['listenTo'](_0xbd7684,'change:height',()=>{_0x55dba2['updatePosition']();}),this['listenTo'](_0xbd7684,'Esc',()=>{this['_closeAnnotation'](_0x131309),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x131309&&this['setActiveAnnotation'](_0x131309));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x55dba2['visibleView']&&_0x575da6['getByView'](_0x55dba2['visibleView'])&&_0x55dba2['updatePosition']();}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',()=>{this['_forceRefresh']=!0x0,this['_manuallyClosed']['clear']();}),this['editor']['editing']['view']['document']['selection']['editableElement']&&this['editor']['editing']['view']['focus'](),this['isAttached']=!0x0;}detach(){if(!this['isAttached'])throw new _0x491313['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x4c220b of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x4c220b);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}destroy(){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}_setSelectedAnnotations(_0x4663ba){for(const _0x3cca41 of this['_selectedAnnotations'])_0x4663ba['includes'](_0x3cca41)||this['_manuallyClosed']['delete'](_0x3cca41);for(const _0x53912a of this['annotations'])_0x4663ba['includes'](_0x53912a)||this['_removeAnnotationFromBalloon'](_0x53912a);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x56c1b6 of _0x4663ba)this['_addAnnotationToBalloon'](_0x56c1b6);}this['_selectedAnnotations']=_0x4663ba;}_addAnnotationToBalloon(_0x466537,_0x2bfeeb=!0x1){this['_manuallyClosed']['has'](_0x466537)||(this['_addedAnnotations']['has'](_0x466537)||this['_balloon']['hasView'](_0x466537['view'])||(this['_addedAnnotations']['add'](_0x466537),this['_balloon']['add']({'stackId':_0x466537['view']['id'],'view':_0x466537['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x466537)}})),_0x2bfeeb&&this['_balloon']['showStack'](_0x466537['view']['id']));}_getBalloonTargetForAnnotation(_0x1d37d4){const _0x3636e5=_0x1d37d4['target'],_0x248811=this['editor']['editing']['view'],_0x35aa91=_0x248811['document']['selection']['getFirstRange'](),_0xab0015=_0x248811['domConverter']['viewRangeToDom'](_0x35aa91);if(_0xab0015['collapse'](!0x0),_0x3636e5){if(_0x3636e5 instanceof _0x491313['Rect'])return _0x3636e5;let _0x3bd09c=[];for(const _0x14d762 of _0x3636e5)_0x3bd09c['push'](..._0x491313['Rect']['getDomElementRects'](_0x14d762));_0x3bd09c=function(_0x2cd7c0){const _0x35377e=[];let _0x409394=_0x2cd7c0[0x0];for(let _0x4a9281=0x1;_0x4a9281<_0x2cd7c0['length'];_0x4a9281++)if(_0x578a9c(_0x409394,_0x2cd7c0[_0x4a9281])){const _0x1b855d=_0x2cd7c0[_0x4a9281]['width'];_0x409394['width']+=_0x1b855d,_0x409394['right']+=_0x1b855d;}else _0x35377e['push'](_0x409394),_0x409394=_0x2cd7c0[_0x4a9281];return _0x35377e['push'](_0x409394),_0x35377e;}(_0x3bd09c);const _0x36fe81=_0xab0015['getBoundingClientRect']();return _0x3bd09c['find'](_0x5369f3=>_0x5369f3['top']<=_0x36fe81['top']&&_0x5369f3['bottom']>=_0x36fe81['bottom']&&_0x5369f3['left']<=_0x36fe81['left']&&_0x5369f3['right']>=_0x36fe81['right'])||_0x3bd09c[0x0];}return _0x1d37d4['targetRect']||_0xab0015;}_removeAnnotationFromBalloon(_0xc8ec9b){this['_addedAnnotations']['has'](_0xc8ec9b)&&this['_balloon']['hasView'](_0xc8ec9b['view'])&&(this['_addedAnnotations']['delete'](_0xc8ec9b),this['_balloon']['remove'](_0xc8ec9b['view']));}_closeAnnotation(_0x2a483f){this['_manuallyClosed']['add'](_0x2a483f),this['_removeAnnotationFromBalloon'](_0x2a483f);}};function _0x578a9c(_0x110549,_0x79ace7){return _0x110549['top']===_0x79ace7['top']&&_0x110549['bottom']===_0x79ace7['bottom']&&_0x110549['right']===_0x79ace7['left'];}var _0x54c6f8=class extends _0x491313['View']{['focusTracker'];['focusCycler'];_annotationViews;constructor(_0x166962,_0x15ecd5){super(_0x166962),this['set']('isEmpty',!_0x15ecd5['length']),this['focusTracker']=new _0x491313['FocusTracker'](),this['_annotationViews']=_0x15ecd5,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':_0x15ecd5,'focusTracker':this['focusTracker']}),this['listenTo'](_0x15ecd5,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x15ecd5,'remove',(_0x5bf671,_0x5bef62)=>{_0x5bef62['isActive']&&this['focus'](),_0x15ecd5['length']||(this['isEmpty']=!0x0);});const _0x133758=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':_0x1e9645(_0x166962,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x15ecd5},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x133758['if']('isEmpty','ck-hidden',_0x555591=>!_0x555591)]},'children':[{'text':_0x1e9645(_0x166962,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}destroy(){super['destroy'](),this['focusTracker']['destroy']();}['focus'](){this['focusCycler']['first']?this['focusCycler']['focusFirst']():this['element']['focus']();}_setupKeyboardNavigation(){for(const _0x560396 of this['_annotationViews'])this['focusTracker']['add'](_0x560396['element']);this['_annotationViews']['on']('change',(_0xf60b25,{added:_0x169094,removed:_0x1422ed})=>{for(const _0x4bf5c8 of _0x169094)this['focusTracker']['add'](_0x4bf5c8['element']);for(const _0x37dfbc of _0x1422ed)this['focusTracker']['remove'](_0x37dfbc['element']);});}},_0x591056=class extends _0x491313['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x2d919b,_0xa7dd6f];}constructor(_0x5215d9){super(_0x5215d9),this['archivedThreads']=new _0x491313['Collection']();}init(){const _0x1e1f56=this['context'],_0x129dde=_0x1e1f56['plugins']['get'](_0x2d919b),_0x46982f=_0x1e1f56['plugins']['get'](_0xa7dd6f);this['listenTo'](_0x129dde,'addCommentThread',(_0x4977e0,{threadId:_0x4d5824})=>{const _0x2f119a=_0x129dde['getCommentThread'](_0x4d5824);_0x2f119a['archivedAt']&&this['archivedThreads']['add'](_0x2f119a,this['_calculatePosition'](_0x2f119a['archivedAt'])),this['listenTo'](_0x2f119a,'change:archivedAt',(_0x590d46,_0x3ce182,_0x4afb78)=>{_0x4afb78?this['archivedThreads']['has'](_0x2f119a)||this['archivedThreads']['add'](_0x2f119a,this['_calculatePosition'](_0x2f119a['archivedAt'])):this['archivedThreads']['has'](_0x2f119a)&&this['archivedThreads']['remove'](_0x2f119a);});}),this['listenTo'](_0x129dde,'removeCommentThread',(_0x3b8069,{threadId:_0x2a1428})=>{const _0x15ef75=_0x129dde['getCommentThread'](_0x2a1428);this['stopListening'](_0x15ef75),this['archivedThreads']['has'](_0x15ef75)&&this['archivedThreads']['remove'](_0x15ef75);},{'priority':'highest'}),this['listenTo'](_0x46982f['collection'],'focus',(_0x2482d8,_0x1b50c1)=>{_0x1b50c1['isVisible']||(_0x1b50c1['isActive']=!0x0,_0x46982f['activate'](_0x1b50c1));});}_calculatePosition(_0x454742){const _0xa9e5a=[...this['archivedThreads']]['findIndex'](_0x1a8a47=>_0x1a8a47['archivedAt']<_0x454742);return _0xa9e5a>-0x1?_0xa9e5a:this['archivedThreads']['length'];}},_0x33737b=class extends _0x491313['Plugin']{commentsArchiveView;annotationViews;['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x591056,_0x491313['Dialog']];}constructor(_0x25b04d){super(_0x25b04d),this['annotationViews']=new _0x491313['ViewCollection'](),this['_pendingThreads']=[];}init(){const _0xf8e9e7=this['editor'],_0x3e2d0c=this['_hideDialogOnAnnotationEscape']['bind'](this);_0xf8e9e7['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x491313['ButtonView'],!0x0)),_0xf8e9e7['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x34996a=this['_createCommentsArchiveButton'](_0x491313['MenuBarMenuListItemButtonView']);return _0x34996a['set']({'role':'menuitemcheckbox'}),_0x34996a;});const _0x246379=_0xf8e9e7['plugins']['get'](_0x591056),_0xa24ff7=_0xf8e9e7['plugins']['get']('Annotations'),_0x1b593a=_0xf8e9e7['plugins']['get']('CommentsRepository');_0x246379['archivedThreads']['forEach'](_0xf5dc5c=>{this['_handleNewThread'](_0xf5dc5c);}),this['listenTo'](_0x246379['archivedThreads'],'add',(_0x39b2b6,_0x3b5902)=>{this['_handleNewThread'](_0x3b5902);}),this['listenTo'](_0xa24ff7['collection'],'add',(_0xe4e558,_0x45b4ae)=>{const _0x75c02d=this['_pendingThreads']['find'](_0x5600a6=>{const _0x39aaea=_0x1b593a['_threadToController']['get'](_0x5600a6);return _0x39aaea&&_0x45b4ae['innerView']===_0x39aaea['view'];});if(_0x75c02d){const _0x4f749f=this['_calculatePosition'](_0x75c02d['archivedAt']);this['_addAnnotationToArchive'](_0x45b4ae,_0x4f749f),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x75c02d),0x1);}}),this['listenTo'](_0x246379['archivedThreads'],'remove',(_0x3167ba,_0x3277f7)=>{const _0x10d1a7=_0xf8e9e7['config']['get']('collaboration.channelId');if(!_0x10d1a7||_0x3277f7['channelId']===_0x10d1a7){if(this['_pendingThreads']['includes'](_0x3277f7))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x3277f7),0x1);else{const _0x3174eb=_0x1b593a['_threadToController']['get'](_0x3277f7),_0x5c3e49=_0xa24ff7['getByInnerView'](_0x3174eb['view']);this['annotationViews']['remove'](_0x5c3e49['view']),this['stopListening'](_0x5c3e49),this['stopListening'](_0x5c3e49['focusableElements']);}}}),this['listenTo'](_0xa24ff7['collection'],'add',(_0x1b818d,_0x54d288)=>{this['listenTo'](_0x54d288,'escape',_0x3e2d0c);}),this['listenTo'](_0xa24ff7['collection'],'remove',(_0x155cf,_0x3481bb)=>{this['stopListening'](_0x3481bb,'escape',_0x3e2d0c);});}_addAnnotationToArchive(_0x496300,_0x423d4c){this['listenTo'](_0x496300,'set:isVisible',_0x418da8=>{_0x418da8['return']=!0x1,_0x418da8['stop']();}),this['annotationViews']['add'](_0x496300['view'],_0x423d4c);}['_handleNewThread'](_0x399e81){const _0x2e972d=this['editor']['plugins']['get']('CommentsRepository'),_0x16de63=this['editor']['plugins']['get']('Annotations'),_0x504ad4=this['editor']['config']['get']('collaboration.channelId');if(!_0x504ad4||_0x399e81['channelId']===_0x504ad4){const _0xd9be9=_0x2e972d['_threadToController']['get'](_0x399e81);if(!_0xd9be9)return void this['_pendingThreads']['push'](_0x399e81);const _0x2736a6=this['_calculatePosition'](_0x399e81['archivedAt']),_0x200a72=_0x16de63['getByInnerView'](_0xd9be9['view']);_0x200a72['isVisible']&&_0x16de63['_visibleAnnotations']['remove'](_0x200a72),this['_addAnnotationToArchive'](_0x200a72,_0x2736a6);}}_calculatePosition(_0x3d17de){const _0x39add7=this['editor']['config']['get']('collaboration.channelId'),_0x13adde=[...this['editor']['plugins']['get'](_0x591056)['archivedThreads']]['filter'](_0x3f6ec7=>_0x3f6ec7['channelId']===_0x39add7)['findIndex'](_0x3f02bf=>_0x3f02bf['archivedAt']<_0x3d17de);return _0x13adde<0x0||_0x13adde>this['annotationViews']['length']?this['annotationViews']['length']:_0x13adde-0x1;}_toggleDialog(){const _0x20c1b1=this['editor'],_0x218181=_0x20c1b1['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new _0x54c6f8(_0x20c1b1['locale'],this['annotationViews'])),'commentsArchive'===_0x218181['id']?_0x218181['hide']():_0x218181['show']({'id':'commentsArchive','title':_0x1e9645(_0x20c1b1['locale'],'COMMENTS_ARCHIVE'),'icon':_0x491313['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x491313['DialogViewPosition']['EDITOR_TOP_SIDE']});}_createCommentsArchiveButton(_0x231d14,_0x1bb316=!0x1){const _0x17962e=this['editor']['locale'],_0x4bb05f=this['editor']['plugins']['get']('Dialog'),_0x2222c0=new _0x231d14(_0x17962e);return _0x2222c0['bind']('isEnabled')['to'](this,'isEnabled'),_0x2222c0['bind']('isOn')['to'](_0x4bb05f,'id',_0x480a45=>'commentsArchive'===_0x480a45),_0x2222c0['set']({'label':_0x1e9645(_0x17962e,'COMMENTS_ARCHIVE'),'icon':_0x491313['IconCommentsArchive'],'isToggleable':!0x0}),_0x1bb316&&(_0x2222c0['tooltip']=!0x0),this['listenTo'](_0x2222c0,'execute',()=>this['_toggleDialog']()),_0x2222c0;}_hideDialogOnAnnotationEscape=_0x4a9639=>{const _0xf2019f=_0x4a9639['source'];if(!this['annotationViews']['has'](_0xf2019f['view']))return;const _0x176b4b=this['editor']['plugins']['get']('Dialog');_0x176b4b['isOpen']&&'commentsArchive'===_0x176b4b['id']&&(_0x176b4b['hide'](),_0x4a9639['stop']());};},_0x5934c6=class extends _0x491313['Plugin']{static get requires(){return[_0x2d919b,_0x2d792c,_0x470848,_0x591056,_0x33737b,_0x18d4a8,_0x1cb8bf,_0x2f34c3,_0x1fab5a];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x2b1cfd(_0x410606){let _0x210cbb='';for(const _0x53dbfc of _0x410606['getChildren']())_0x53dbfc instanceof _0x491313['ModelText']&&(_0x210cbb+=_0x53dbfc['data']);return _0x210cbb;}var _0x18c487=class extends _0x491313['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x3c3693=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1ffc35=[];_0x3c3693['model']['document']['on']('change',_0xa307bf(()=>{const _0x385b5d=_0x1ffc35;_0x1ffc35=this['_getOutlineDefinitions']();const _0x174186=(0x0,_0x491313['diffToChanges'])((0x0,_0x491313['diff'])(_0x385b5d,_0x1ffc35,(_0x49d92a,_0x39b1c9)=>_0x49d92a['level']===_0x39b1c9['level']&&_0x49d92a['text']===_0x39b1c9['text']&&_0x49d92a['modelElement']===_0x39b1c9['modelElement']),_0x1ffc35),_0x43cca7=this['_getActiveHeading'](),_0x10ac98=_0x1ffc35['findIndex'](_0xec375=>_0xec375['modelElement']===_0x43cca7);_0x174186['length']&&this['fire']('change',{'outlineDefinitions':_0x1ffc35,'activeItemIndex':_0x10ac98,'outlineChanges':_0x174186}),this['fire']('activeItemIndex',{'index':_0x10ac98});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x4497cf=this['editor'],_0x1b3825=[],_0x396cc0=this['_headingNames'];for(const _0x42ce5a of _0x4497cf['model']['document']['getRootNames']())_0x490244(_0x4497cf['model']['document']['getRoot'](_0x42ce5a));function _0x490244(_0x119667){for(const _0xbb21c of _0x119667['getChildren']())_0xbb21c['is']('element')&&(_0x396cc0['includes'](_0xbb21c['name'])&&_0x1b3825['push']({'level':_0x396cc0['indexOf'](_0xbb21c['name'])+0x1,'text':_0x2b1cfd(_0xbb21c),'modelElement':_0xbb21c}),_0x490244(_0xbb21c));}return _0x1b3825;}_getActiveHeading(){const _0xd3a183=new _0x491313['ModelTreeWalker']({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x55a650 of _0xd3a183)if(_0x55a650['item']['is']('element')&&this['_headingNames']['includes'](_0x55a650['item']['name']))return _0x55a650['item'];}_getHeadingNames(){const _0x15f121=this['editor']['config']['get']('documentOutline.headings');return _0x15f121||function(_0x25fc5b){const _0x3fd526=_0x25fc5b['config']['get']('heading.options');return _0x3fd526?_0x3fd526['reduce']((_0x14a14a,_0x3fc8ea)=>('paragraph'!==_0x3fc8ea['model']&&_0x14a14a['push'](_0x3fc8ea['model']),_0x14a14a),[]):_0x25fc5b['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x137443=this['editor'],_0x15c879=['h1','h2','h3','h4','h5','h6'],_0x41fab4=[];for(const _0x5950da of _0x15c879){const _0x28f2c7=_0x137443['editing']['view']['domConverter']['domToView'](document['createElement'](_0x5950da)),_0x57d0f7=_0x137443['data']['toModel'](_0x28f2c7)['getChild'](0x0);_0x57d0f7?.['is']('element')&&_0x41fab4['push'](_0x57d0f7['name']);}this['_headingNames']=_0x41fab4;}};function _0x21544a(_0x29b91c,_0x3c0462){const t=_0x29b91c['t'];switch(_0x3c0462){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x3c0462;}}var _0x3cf6dc=class extends _0x491313['View']{constructor(_0xdc5017,_0x26d2e7=!0x1){super(_0xdc5017);const _0x58a7ef=this['bindTemplate'],_0x3e417b=_0x26d2e7?'['+_0x21544a(_0xdc5017,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x50537b=>!_0x50537b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x58a7ef['to']('level',_0x1b0328=>'ck-document-outline__item_level-'+_0x1b0328),_0x58a7ef['if']('isActive','ck-document-outline__item_active'),_0x58a7ef['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x58a7ef['to']('text')},'children':[{'text':_0x58a7ef['to']('text',_0x218968=>_0x218968||_0x3e417b)}],'on':{'click':_0x58a7ef['to']('click')}});}},_0x22ed57=class extends _0x491313['View']{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x3ee407,_0x5f2b9a=!0x1,_0xbb46b4){super(_0x3ee407),this['showEmptyHeadingText']=_0x5f2b9a,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xbb46b4,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x24bc9c,_0x1c530a,_0x11a0b0,_0x3023ab)=>{this['_setActiveItem'](_0x3023ab,_0x11a0b0);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x3ee407['contentLanguageDirection'],'data-document-outline-empty-placeholder':_0x21544a(_0x3ee407,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x215892){_0x215892['forEach'](_0xe4d1e1=>{'insert'==_0xe4d1e1['type']?this['_insertItem'](_0xe4d1e1['index'],..._0xe4d1e1['values']):'delete'==_0xe4d1e1['type']&&this['_deleteItem'](_0xe4d1e1['index'],_0xe4d1e1['howMany']);});}_setActiveItem(_0x4c5d3a,_0x40ea60){if(-0x1!==_0x4c5d3a){const _0x54e421=this['items']['get'](_0x4c5d3a);_0x54e421&&(_0x54e421['isActive']=!0x1);}-0x1!==_0x40ea60&&(this['items']['get'](_0x40ea60)['isActive']=!0x0,this['_scrollToItem'](_0x40ea60));}_insertItem(_0x453f6c,..._0x497cdd){const _0x260702=_0x497cdd['map']((_0x29fb9b,_0x479d87)=>{const _0x18ad4=new _0x3cf6dc(this['locale'],this['showEmptyHeadingText']);return _0x18ad4['text']=_0x29fb9b['text'],_0x18ad4['level']=_0x29fb9b['level'],_0x453f6c+_0x479d87===this['activeItemIndex']&&(_0x18ad4['isActive']=!0x0),_0x18ad4;});this['items']['addMany'](_0x260702,_0x453f6c);}_deleteItem(_0x103e26,_0x5ac47a){do{this['items']['remove'](_0x103e26);}while(--_0x5ac47a);}_handleItemClick(_0x4a94a0){const _0x21b444=this['items']['getIndex'](_0x4a94a0['source']);this['fire']('itemSelected',_0x21b444);}_scrollToItem(_0x2996bf){(0x0,_0x491313['scrollAncestorsToShowTarget'])(this['items']['get'](_0x2996bf)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},tO=class extends _0x491313['Plugin']{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1c0c76){super(_0x1c0c76),this['view']=new _0x22ed57(_0x1c0c76['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x1eb39b(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x286a82=this['editor'],_0x37be10=_0x286a82['plugins']['get']('DocumentOutlineUtils');let _0x2eb257=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x286a82['config']['get']('documentOutline.container'))throw new _0x491313['CKEditorError']('document-outline-container-not-provided',{'editor':_0x286a82});_0x286a82['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x37be10['on']('change',this['_handleOutlineChange']['bind'](this)),_0x37be10['on']('activeItemIndex',(_0x2355e2,{index:_0x4dbfd1})=>this['_setActiveViewItem'](_0x4dbfd1)),this['view']['on']('itemSelected',(_0x360c46,_0x45acd3)=>{_0x2eb257=!0x0,this['_handleItemSelected'](_0x45acd3);}),this['view']['listenTo'](_0x491313['global']['document'],'scroll',()=>{_0x2eb257?_0x2eb257=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x491313['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x5eb0c8){const _0x5d7436='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x528ab0=0x791d0,_0x4b7241=window['Date']['now'](),_0x165164=_0x5eb0c8['editor'],_0x13af30=new window['Promise'](_0x55d86b=>{_0x165164['once']('ready',_0x55d86b);}),_0x3ad7fd={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2057fa=_0x165164['config']['get']('licenseKey');async function _0x53fb41(){let _0xc04b36,_0x30e632=null,_0x309940=null;try{return'GPL'==_0x2057fa?'NotAllowed':(_0xc04b36=_0x2386c9(),_0xc04b36?(_0xc04b36['usageEndpoint']&&(_0x309940=_0x46fc3e(_0xc04b36['usageEndpoint'],_0xc04b36['jti'])),await _0x1a212a()?_0x9d317f()?_0xa29042()?'Expired':_0x278197()?('evaluation'==_0xc04b36['licenseType']&&(_0x30e632=_0x3caff6('EvaluationLimit')),await _0x1552ed()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xa29042(){const _0x33e0ba=['evaluation','trial']['includes'](_0xc04b36['licenseType'])?_0x4b7241/0x3e8:0xe10*_0x528ab0;return _0xc04b36['exp']<_0x33e0ba;}function _0x9d317f(){const _0x4ba78f=_0xc04b36['features'];return!!_0x4ba78f&&(!!_0x4ba78f['includes']('*')||(!!_0x4ba78f['includes']('DO')||(!!_0x4ba78f['includes']('PP')||!(!_0x4ba78f['includes']('TRILIUM')||!_0x697fa()))));}function _0x278197(){const _0x2067d4=_0xc04b36['licensedHosts'];if(!_0x2067d4||0x0==_0x2067d4['length'])return!0x0;const {hostname:_0x3cd704}=new URL(window['location']['href']);if(_0x2067d4['includes'](_0x3cd704))return!0x0;const _0x382590=_0x3cd704['split']('.');return _0x2067d4['filter'](_0x28632b=>_0x28632b['includes']('*'))['map'](_0x107bb7=>_0x107bb7['split']('.'))['filter'](_0x3334dd=>_0x3334dd['length']<=_0x382590['length'])['map'](_0x2b2ddd=>Array(_0x382590['length']-_0x2b2ddd['length'])['fill']('*'===_0x2b2ddd[0x0]?'*':'')['concat'](_0x2b2ddd))['some'](_0x35011b=>_0x382590['every']((_0x47e5bf,_0x2dcbf6)=>_0x35011b[_0x2dcbf6]===_0x47e5bf||'*'===_0x35011b[_0x2dcbf6]));}function _0x1552ed(){return _0x30e632&&_0x309940?new window['Promise']((_0xca99e0,_0x238bcf)=>{_0x30e632['then'](_0xca99e0,_0x238bcf),_0x309940['then'](_0x2d691a=>{'Valid'!=_0x2d691a&&_0xca99e0(_0x2d691a);},_0x238bcf);}):_0x30e632||_0x309940||'Valid';}}function _0x46fc3e(_0x1e74eb,_0x4c41a2){return new window['Promise'](_0xd991b0=>{if(_0x4eec32())return _0xd991b0('Valid');_0x1fc61a(),_0x165164['decorate']('_sendUsageRequest');let _0x1182c7=!0x1;const _0x47d7b4=(0x0,_0x491313['uid'])();function _0x25a774(_0x239ae1){return!!_0x239ae1&&('object'==typeof _0x239ae1||'function'==typeof _0x239ae1)&&'function'==typeof _0x239ae1['then']&&'function'==typeof _0x239ae1['catch'];}function _0x5929fb(_0x56d91c){_0x169855(_0x56d91c)['then'](_0x357bdc=>_0x357bdc&&'ok'==_0x357bdc['status']?_0x319715(_0x37700d(_0x47d7b4+_0x4c41a2))!=_0x357bdc['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x47d181=>(_0x5b9e7e(),_0x47d181),()=>{const _0x5d51ce=_0x2f0521();return null==_0x5d51ce?(_0x5b9e7e(),'Valid'):_0x4b7241-_0x5d51ce>0x240c8400?'UsageLimit':'Valid';})['then'](_0xd991b0)['catch'](()=>{_0xd991b0('UsageLimit');});const _0x2c2484=0x36ee80;function _0x5b9e7e(){const _0x1b8cfc='llct-'+_0x319715(_0x37700d(_0x1e74eb)),_0x565f12=_0x14c038(_0x319715(window['Math']['ceil'](_0x4b7241/_0x2c2484)));window['localStorage']['setItem'](_0x1b8cfc,_0x565f12);}function _0x2f0521(){const _0x19a4b3='llct-'+_0x319715(_0x37700d(_0x1e74eb)),_0x5e9a8a=window['localStorage']['getItem'](_0x19a4b3);return _0x5e9a8a?window['parseInt'](_0x14c038(_0x5e9a8a),0x10)*_0x2c2484:null;}function _0x169855(_0xc9323b){return new window['Promise']((_0x130f3a,_0x3b7158)=>{_0xc9323b['then'](_0x130f3a,_0x3b7158),window['setTimeout'](_0x3b7158,0x1d4c0);});}}_0x165164['on']('_sendUsageRequest',(_0x505f38,_0x2891a4)=>{if(_0x2891a4[0x0]!=_0x1e74eb)return _0xd991b0('UsageLimit');_0x2891a4[0x1]={..._0x2891a4[0x1],'requestId':_0x47d7b4};},{'priority':'high'}),_0x165164['on']('_sendUsageRequest',_0x19242d=>{_0x25a774(_0x19242d['return'])&&(_0x1182c7=!0x0,_0x5929fb(_0x19242d['return']));},{'priority':'low'}),_0x13af30['then'](()=>{_0x1182c7||_0xd991b0('UsageLimit');});});function _0x4eec32(){return'auto'==_0x165164['editing']['view']['_overlayModeHint'];}function _0x1fc61a(){_0x165164['editing']['view']['_overlayModeHint']='auto';}}function _0x3caff6(_0xae0874){const _0x3fe5b2=[new window['Promise'](_0x3eeb9e=>setTimeout(_0x3eeb9e,0x93ecc)),_0x13af30['then'](()=>new window['Promise'](_0x16d2ed=>{let _0x420fe9=0x0;_0x165164['model']['on']('applyOperation',(_0x29ec96,_0x48859b)=>{_0x48859b[0x0]['isDocumentOperation']&&_0x420fe9++,0x5e8==_0x420fe9&&(_0x16d2ed(),_0x29ec96['off']());});}))];return window['Promise']['race'](_0x3fe5b2)['then'](()=>_0xae0874);}async function _0x31cb10(){await _0x13af30,_0x165164['model']['change']=_0x1ea65e,_0x165164['model']['enqueueChange']=_0x1ea65e,_0x165164['enableReadOnlyMode']('model');}function _0x697fa(){return window['glob']&&window['glob']['triliumVersion'];}function _0x53ef38(_0x81812d){const _0x6c3c40=_0x12e787();_0x165164[_0x6c3c40]='documentOutlineLicenseKey'+_0x81812d,'Valid'!=_0x81812d&&_0x31cb10();}function _0x12e787(){const _0x5d9435=window['String'](window['performance']['now']())['replace']('.','');let _0xed6c10='a';for(let _0x299e41=0x0;_0x299e41<_0x5d9435['length'];_0x299e41+=0x2){let _0x2dcc7=window['parseInt'](_0x5d9435['substring'](_0x299e41,_0x299e41+0x2));_0x2dcc7>=0x3e&&(_0x2dcc7-=0x3e),_0xed6c10+=_0x5d7436[_0x2dcc7];}return _0xed6c10;}function _0x2386c9(){const _0x3ea598=_0x2057fa['split']('.');if(0x3!=_0x3ea598['length'])return null;return _0x3ed083(_0x3ea598[0x1]);function _0x3ed083(_0x4e18fe){const _0x56b3c2=_0x4745d0(_0x4e18fe);return _0x56b3c2&&_0x443014()?_0x56b3c2:null;function _0x443014(){const _0x123406=_0x56b3c2['jti'],_0x9ad2c7=window['parseInt'](_0x123406['substring'](_0x123406['length']-0x8),0x10),_0xe5f73={..._0x56b3c2,'jti':_0x123406['substring'](0x0,_0x123406['length']-0x8)};return delete _0xe5f73['vc'],_0x37700d(_0xe5f73)==_0x9ad2c7;}}}async function _0x1a212a(){let _0x79277c=!0x0;try{const [_0xe12ea6,_0x1f6952,_0x196f0f]=_0x2057fa['split']('.');return _0x29fa72(_0xe12ea6),await _0x154193(_0xe12ea6,_0x1f6952,_0x196f0f),_0x79277c;}catch{return!0x1;}function _0x29fa72(_0x4911a8){const _0x4d8523=_0x4745d0(_0x4911a8);_0x4d8523&&'ES256'==_0x4d8523['alg']||(_0x79277c=!0x1);}async function _0x154193(_0x32bc55,_0x140471,_0x3075d7){const _0x29c020=window['Uint8Array']['from'](_0x2779ef(_0x3075d7),_0x5833fd=>_0x5833fd['charCodeAt'](0x0)),_0x5654fe=new window['TextEncoder']()['encode'](_0x32bc55+'.'+_0x140471),_0x3f9008=window['crypto']['subtle'];if(!_0x3f9008)return;const _0x43334f=await _0x3f9008['importKey']('jwk',_0x3ad7fd,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3f9008['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x43334f,_0x29c020,_0x5654fe)||(_0x79277c=!0x1);}}function _0x4745d0(_0x5e5e27){return _0x5e5e27['startsWith']('ey')?JSON['parse'](_0x2779ef(_0x5e5e27)):null;}function _0x2779ef(_0x30d8f3){return window['atob'](_0x30d8f3['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x37700d(_0x254f57){let _0x511464=0x1505;function _0x5382b4(_0x2e6bee){for(let _0x33c5db=0x0;_0x33c5db<_0x2e6bee['length'];_0x33c5db++){const _0x51c74c=_0x2e6bee['charCodeAt'](_0x33c5db);_0x511464=(_0x511464<<0x5)+_0x511464+_0x51c74c,_0x511464&=_0x511464;}}function _0x45c7e1(_0x27ed0f){Array['isArray'](_0x27ed0f)?_0x27ed0f['forEach'](_0x45c7e1):_0x27ed0f&&'object'==typeof _0x27ed0f?Object['entries'](_0x27ed0f)['sort']()['forEach'](([_0x9395ab,_0x2c7165])=>{_0x5382b4(_0x9395ab),_0x45c7e1(_0x2c7165);}):_0x5382b4(window['String'](_0x27ed0f));}return _0x45c7e1(_0x254f57),_0x511464>>>0x0;}function _0x319715(_0x21c023){return _0x21c023['toString'](0x10)['padStart'](0x8,'0');}function _0x14c038(_0xa4e4c2){return _0xa4e4c2['split']('')['reverse']()['join']('');}function _0x1ea65e(){}_0x53ef38(await _0x53fb41());}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x47fc22,{outlineDefinitions:_0x2f4162,outlineChanges:_0xf8bf1c}){this['_currentOutlineDefinitions']=_0x2f4162,this['view']['sync'](_0xf8bf1c);}_setActiveViewItem(_0x45a142){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x45a142]&&(this['view']['activeItemIndex']=_0x45a142);}_handleItemSelected(_0x1c097a){const _0x3ecb26=this['_currentOutlineDefinitions'][_0x1c097a]['modelElement'];this['editor']['model']['change'](_0x3ab2f0=>{_0x3ab2f0['setSelection'](_0x3ecb26,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x1c097a);}_updateActiveDefinitionOnViewportChange(){const _0x33fc8c=this['editor'];let _0x3ca802;for(const _0x31ef11 of _0x33fc8c['model']['document']['getRootNames']()){const _0x3a1428=_0x33fc8c['editing']['view']['getDomRoot'](_0x31ef11),_0x1e63ea=_0x3a1428&&new _0x491313['Rect'](_0x3a1428)['getVisible']();if(_0x1e63ea){const _0x13c0c9=new _0x491313['Rect'](_0x491313['global']['window'])['getIntersection'](_0x1e63ea);_0x13c0c9&&(_0x3ca802=_0x13c0c9['top']+0.25*_0x13c0c9['height']);}}if(void 0x0===_0x3ca802)return;const _0x45016b=_0x1607c5(_0x33fc8c['editing'],this['_currentOutlineDefinitions'],_0x3ca802);_0x45016b?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x45016b)):this['_setActiveViewItem'](-0x1);}};function _0x1607c5(_0x143181,_0x1ffe0f,_0x4ea510,_0x5f3322=0x0,_0x3278bb=_0x1ffe0f['length']-0x1){const _0x2f0198=Math['floor'](_0x5f3322+(_0x3278bb-_0x5f3322)/0x2);if(_0x3278bb>=_0x5f3322){const _0x480dc7=_0x1ffe0f[_0x2f0198],_0x1185ab=_0x143181['mapper']['toViewElement'](_0x480dc7['modelElement']);return _0x1185ab?new _0x491313['Rect'](_0x143181['view']['domConverter']['mapViewToDom'](_0x1185ab))['bottom']>_0x4ea510?_0x1607c5(_0x143181,_0x1ffe0f,_0x4ea510,_0x5f3322,_0x2f0198-0x1):_0x1607c5(_0x143181,_0x1ffe0f,_0x4ea510,_0x2f0198+0x1,_0x3278bb):null;}return _0x2f0198<0x0?null:_0x1ffe0f[_0x2f0198];}var _0x18c213=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get requires(){return[_0x18c487,tO];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x234fba=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3fab0f;for(const _0x332803 in _0x234fba){const _0x18cfd7=_0x332803,_0x419422=_0x234fba[_0x18cfd7];if('documentOutlineLicenseKeyValid'==_0x419422||'documentOutlineLicenseKeyInvalid'==_0x419422||'documentOutlineLicenseKeyExpired'==_0x419422||'documentOutlineLicenseKeyDomainLimit'==_0x419422||'documentOutlineLicenseKeyNotAllowed'==_0x419422||'documentOutlineLicenseKeyEvaluationLimit'==_0x419422||'documentOutlineLicenseKeyUsageLimit'==_0x419422){delete _0x234fba[_0x18cfd7],_0x3fab0f=_0x419422,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x3fab0f&&_0x234fba['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x3fab0f&&_0x234fba['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x3fab0f&&_0x234fba['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x3fab0f&&_0x234fba['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x3fab0f&&_0x234fba['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x3fab0f&&_0x234fba['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x3bc1d1=class extends _0x491313['Command']{execute(){this['editor']['model']['change'](_0x9ce29b=>{this['editor']['model']['insertObject'](_0x9ce29b['createElement']('tableOfContents'));});}['refresh'](){const _0x3babfc=this['editor']['model'],_0x173e45=_0x3babfc['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x173e45&&_0x3babfc['schema']['findAllowedParent'](_0x173e45,'tableOfContents'));}},_0x555819=class extends _0x491313['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x10b74a=this['editor'];if(_0x10b74a['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x1b79b8,modelNames:_0x378a34}=function(_0x7e57c6){const _0x9d7065=new Set(['h1','h2','h3','h4','h5','h6']),_0x528257=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x7e57c6)return{'viewNames':_0x9d7065,'modelNames':_0x528257};for(const _0x3688a4 of _0x7e57c6){if('paragraph'===_0x3688a4['model'])continue;const _0x3057f1='string'==typeof _0x3688a4['view']?_0x3688a4['view']:_0x3688a4['view']['name'];_0x9d7065['add'](_0x3057f1),_0x528257['add'](_0x3688a4['model']);}return{'viewNames':_0x9d7065,'modelNames':_0x528257};}(this['editor']['config']['get']('heading.options'));for(const _0x3705c6 of _0x1b79b8)this['_customUpcastHeadingsConversion'](_0x3705c6);for(const _0x2ff50b of _0x378a34)this['_customDataDowncastHeadingsConversion'](_0x2ff50b),_0x10b74a['model']['schema']['isRegistered'](_0x2ff50b)&&_0x10b74a['model']['schema']['extend'](_0x2ff50b,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x378a34);}_customUpcastHeadingsConversion(_0x254514){this['editor']['conversion']['for']('upcast')['add'](_0x40d033=>_0x40d033['on']('element:'+_0x254514,(_0x42fd9f,_0x50ca83,_0x34d1b1)=>{const {consumable:_0xd9a729,writer:_0x11e437}=_0x34d1b1,_0x16573a=_0x50ca83['viewItem']['getAttribute']('id'),_0x50693c=_0x50ca83['modelRange']?.['getContainedElement']();if(_0x50693c)return _0x16573a&&_0x16573a['length']||_0x50693c['hasAttribute']('headingId')?void(_0xd9a729['consume'](_0x50ca83['viewItem'],{'attributes':['id']})&&_0x11e437['setAttribute']('headingId',_0x16573a,_0x50693c)):(_0xd9a729['consume'](_0x50ca83['viewItem'],{'attributes':['id']}),void _0x11e437['setAttribute']('headingId',(0x0,_0x491313['uid'])(),_0x50693c));},{'priority':_0x491313['priorities']['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x11d251){this['editor']['conversion']['for']('downcast')['add'](_0x31c89e=>_0x31c89e['on']('attribute:headingId:'+_0x11d251,(_0x2bf2ee,_0x46a2a2,_0x7c7d20)=>{if(!_0x7c7d20['consumable']['consume'](_0x46a2a2['item'],_0x2bf2ee['name']))return;const _0xe0c75f=_0x46a2a2['item']['getAttribute']('headingId'),_0x21077f=_0x7c7d20['mapper']['toViewElement'](_0x46a2a2['item']);_0x7c7d20['writer']['setAttribute']('id',_0xe0c75f,_0x21077f);}));}_registerHeadingIdAttributePostfixer(_0x21cf41){const _0x51e0f9=this['editor'],_0x5eb97d=new Set(),_0x2d6cd2=new Set();function _0x2d0db6(_0x528be4,_0x73ab78){const _0x32ca98=(0x0,_0x491313['uid'])();return _0x2d6cd2['add'](_0x32ca98),_0x528be4['setAttribute']('headingId',_0x32ca98,_0x73ab78),_0x32ca98;}function _0xf6660e(_0x5f46c5,_0x3e459b){_0x5f46c5['removeAttribute']('headingId',_0x3e459b);}_0x51e0f9['model']['document']['registerPostFixer'](_0x355c30=>{const _0x5271bc=_0x51e0f9['model']['document']['differ']['getChanges']();let _0x60ef9b=!0x1;for(const _0x4507d5 of _0x5271bc)if('insert'==_0x4507d5['type']&&_0x4507d5['name']){if(_0x21cf41['has'](_0x4507d5['name'])){const _0x1a67fe=_0x4507d5['attributes']['get']('headingId');'string'==typeof _0x1a67fe?_0x5eb97d['has'](_0x1a67fe)?(_0x2d0db6(_0x355c30,_0x4507d5['position']['nodeAfter']),_0x60ef9b=!0x0):_0x2d6cd2['add'](_0x1a67fe):(_0x2d0db6(_0x355c30,_0x4507d5['position']['nodeAfter']),_0x60ef9b=!0x0);}else'string'==typeof _0x4507d5['attributes']['get']('headingId')&&(_0xf6660e(_0x355c30,_0x4507d5['position']['nodeAfter']),_0x60ef9b=!0x0);}else{if('remove'==_0x4507d5['type']){const _0x55389b=_0x4507d5['attributes']['get']('headingId');'string'==typeof _0x55389b&&_0x5eb97d['delete'](_0x55389b);}}return _0x60ef9b;}),_0x51e0f9['model']['document']['on']('change',()=>{_0x2d6cd2['forEach'](_0x35c057=>_0x5eb97d['add'](_0x35c057)),_0x2d6cd2['clear']();});}},_0x2fade2=class extends _0x491313['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['Widget'],_0x18c487,_0x555819];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x21a12e){super(_0x21a12e),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x3b2072=this['editor'],_0x2b52bb=_0x3b2072['editing']['view']['document'];_0x3b2072['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3b2072['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x2b52bb,'click',(_0x4b9501,_0x5e7331)=>{if(!_0x5e7331['target'])return;const _0x4a7da3=_0x5e7331['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x4a7da3)&&(_0x5e7331['domEvent']['preventDefault'](),_0x4b9501['stop'](),this['_handleScrollToHeading'](_0x4a7da3));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3b2072['commands']['add']('insertTableOfContents',new _0x3bc1d1(_0x3b2072));const _0x267525=_0x3b2072['config']['get']('tableOfContents.headings');_0x267525&&_0x267525['length']?this['listenTo'](_0x3b2072['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x267525),this['_updateTableOfContentsElements']();}):_0x3b2072['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x5f05c4,_0x2b2599)=>{this['_currentOutlineDefinitions']=_0x2b2599['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3b2072['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0xb7433d){const _0x42eb45='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x14a430=0x791d0,_0xa2e650=window['Date']['now'](),_0xe2891e=_0xb7433d['editor'],_0x13f98e=new window['Promise'](_0x10e5c5=>{_0xe2891e['once']('ready',_0x10e5c5);}),_0xada43d={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x34c78d=_0xe2891e['config']['get']('licenseKey');async function _0x356023(){let _0x10c21e,_0x4e71c5=null,_0x3b0fab=null;try{return'GPL'==_0x34c78d?'NotAllowed':(_0x10c21e=_0x304665(),_0x10c21e?(_0x10c21e['usageEndpoint']&&(_0x3b0fab=_0x5a2d6a(_0x10c21e['usageEndpoint'],_0x10c21e['jti'])),await _0x3372a6()?_0x5d6f43()?_0x4780fe()?'Expired':_0x13ab4e()?('evaluation'==_0x10c21e['licenseType']&&(_0x4e71c5=_0x17d54a('EvaluationLimit')),await _0x1efaad()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4780fe(){const _0x4039ea=['evaluation','trial']['includes'](_0x10c21e['licenseType'])?_0xa2e650/0x3e8:0xe10*_0x14a430;return _0x10c21e['exp']<_0x4039ea;}function _0x5d6f43(){const _0x12d637=_0x10c21e['features'];return!!_0x12d637&&(!!_0x12d637['includes']('*')||(!!_0x12d637['includes']('TOC')||(!!_0x12d637['includes']('PP')||!(!_0x12d637['includes']('TRILIUM')||!_0x29c96b()))));}function _0x13ab4e(){const _0x56e6db=_0x10c21e['licensedHosts'];if(!_0x56e6db||0x0==_0x56e6db['length'])return!0x0;const {hostname:_0x5f4b4a}=new URL(window['location']['href']);if(_0x56e6db['includes'](_0x5f4b4a))return!0x0;const _0x47ff5f=_0x5f4b4a['split']('.');return _0x56e6db['filter'](_0x46966b=>_0x46966b['includes']('*'))['map'](_0x2c1e0f=>_0x2c1e0f['split']('.'))['filter'](_0x170a6e=>_0x170a6e['length']<=_0x47ff5f['length'])['map'](_0xa5b06a=>Array(_0x47ff5f['length']-_0xa5b06a['length'])['fill']('*'===_0xa5b06a[0x0]?'*':'')['concat'](_0xa5b06a))['some'](_0xa9bdf9=>_0x47ff5f['every']((_0x4f2317,_0x19662f)=>_0xa9bdf9[_0x19662f]===_0x4f2317||'*'===_0xa9bdf9[_0x19662f]));}function _0x1efaad(){return _0x4e71c5&&_0x3b0fab?new window['Promise']((_0x49c1c0,_0x3f5ca7)=>{_0x4e71c5['then'](_0x49c1c0,_0x3f5ca7),_0x3b0fab['then'](_0x43fc5b=>{'Valid'!=_0x43fc5b&&_0x49c1c0(_0x43fc5b);},_0x3f5ca7);}):_0x4e71c5||_0x3b0fab||'Valid';}}function _0x5a2d6a(_0x20816f,_0x46c23e){return new window['Promise'](_0x2235d6=>{if(_0x1e6bff())return _0x2235d6('Valid');_0x3aadb0(),_0xe2891e['decorate']('_sendUsageRequest');let _0x44d38d=!0x1;const _0x39b73d=(0x0,_0x491313['uid'])();function _0x3b55da(_0x5e3505){return!!_0x5e3505&&('object'==typeof _0x5e3505||'function'==typeof _0x5e3505)&&'function'==typeof _0x5e3505['then']&&'function'==typeof _0x5e3505['catch'];}function _0x5252d7(_0x430bbb){_0x210041(_0x430bbb)['then'](_0x16dc6e=>_0x16dc6e&&'ok'==_0x16dc6e['status']?_0x14c78e(_0x2d8b0d(_0x39b73d+_0x46c23e))!=_0x16dc6e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2a1cd6=>(_0x428fde(),_0x2a1cd6),()=>{const _0x99645d=_0x18b80e();return null==_0x99645d?(_0x428fde(),'Valid'):_0xa2e650-_0x99645d>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2235d6)['catch'](()=>{_0x2235d6('UsageLimit');});const _0x2afe06=0x36ee80;function _0x428fde(){const _0x51f63b='llct-'+_0x14c78e(_0x2d8b0d(_0x20816f)),_0x41ba64=_0x14207b(_0x14c78e(window['Math']['ceil'](_0xa2e650/_0x2afe06)));window['localStorage']['setItem'](_0x51f63b,_0x41ba64);}function _0x18b80e(){const _0x156ce6='llct-'+_0x14c78e(_0x2d8b0d(_0x20816f)),_0x482481=window['localStorage']['getItem'](_0x156ce6);return _0x482481?window['parseInt'](_0x14207b(_0x482481),0x10)*_0x2afe06:null;}function _0x210041(_0x1e6059){return new window['Promise']((_0x2b3949,_0x5b8b98)=>{_0x1e6059['then'](_0x2b3949,_0x5b8b98),window['setTimeout'](_0x5b8b98,0x1d4c0);});}}_0xe2891e['on']('_sendUsageRequest',(_0x3e92e5,_0x709670)=>{if(_0x709670[0x0]!=_0x20816f)return _0x2235d6('UsageLimit');_0x709670[0x1]={..._0x709670[0x1],'requestId':_0x39b73d};},{'priority':'high'}),_0xe2891e['on']('_sendUsageRequest',_0x51b5aa=>{_0x3b55da(_0x51b5aa['return'])&&(_0x44d38d=!0x0,_0x5252d7(_0x51b5aa['return']));},{'priority':'low'}),_0x13f98e['then'](()=>{_0x44d38d||_0x2235d6('UsageLimit');});});function _0x1e6bff(){return'auto'==_0xe2891e['editing']['view']['_overlayModeHint'];}function _0x3aadb0(){_0xe2891e['editing']['view']['_overlayModeHint']='auto';}}function _0x17d54a(_0x4ae4b3){const _0x3d79e5=[new window['Promise'](_0x48b205=>setTimeout(_0x48b205,0x93ecc)),_0x13f98e['then'](()=>new window['Promise'](_0x573522=>{let _0x5e40c1=0x0;_0xe2891e['model']['on']('applyOperation',(_0x9dc446,_0x9c262d)=>{_0x9c262d[0x0]['isDocumentOperation']&&_0x5e40c1++,0x5e8==_0x5e40c1&&(_0x573522(),_0x9dc446['off']());});}))];return window['Promise']['race'](_0x3d79e5)['then'](()=>_0x4ae4b3);}async function _0x1f50d3(){await _0x13f98e,_0xe2891e['model']['change']=_0xca2d95,_0xe2891e['model']['enqueueChange']=_0xca2d95,_0xe2891e['enableReadOnlyMode']('model');}function _0x29c96b(){return window['glob']&&window['glob']['triliumVersion'];}function _0x560375(_0x480f93){const _0x5264dd=_0x60b62f();_0xe2891e[_0x5264dd]='tableOfContentsLicenseKey'+_0x480f93,'Valid'!=_0x480f93&&_0x1f50d3();}function _0x60b62f(){const _0x4d7142=window['String'](window['performance']['now']())['replace']('.','');let _0x120c21='m';for(let _0x1b2341=0x0;_0x1b2341<_0x4d7142['length'];_0x1b2341+=0x2){let _0x28284d=window['parseInt'](_0x4d7142['substring'](_0x1b2341,_0x1b2341+0x2));_0x28284d>=0x3e&&(_0x28284d-=0x3e),_0x120c21+=_0x42eb45[_0x28284d];}return _0x120c21;}function _0x304665(){const _0x16a3bc=_0x34c78d['split']('.');if(0x3!=_0x16a3bc['length'])return null;return _0x337e9d(_0x16a3bc[0x1]);function _0x337e9d(_0x3dd6be){const _0xe043c7=_0x1b5137(_0x3dd6be);return _0xe043c7&&_0x346cd4()?_0xe043c7:null;function _0x346cd4(){const _0xe40c2c=_0xe043c7['jti'],_0x4362e7=window['parseInt'](_0xe40c2c['substring'](_0xe40c2c['length']-0x8),0x10),_0x28ef3c={..._0xe043c7,'jti':_0xe40c2c['substring'](0x0,_0xe40c2c['length']-0x8)};return delete _0x28ef3c['vc'],_0x2d8b0d(_0x28ef3c)==_0x4362e7;}}}async function _0x3372a6(){let _0x1a07fe=!0x0;try{const [_0x5038ca,_0x11aca4,_0x2c25f7]=_0x34c78d['split']('.');return _0x34e104(_0x5038ca),await _0x5a3aa7(_0x5038ca,_0x11aca4,_0x2c25f7),_0x1a07fe;}catch{return!0x1;}function _0x34e104(_0xdde3a2){const _0x3cf910=_0x1b5137(_0xdde3a2);_0x3cf910&&'ES256'==_0x3cf910['alg']||(_0x1a07fe=!0x1);}async function _0x5a3aa7(_0x45f39a,_0x4b4668,_0x2edaa3){const _0xb6ee4e=window['Uint8Array']['from'](_0x4710ab(_0x2edaa3),_0x1c5941=>_0x1c5941['charCodeAt'](0x0)),_0x8c26ae=new window['TextEncoder']()['encode'](_0x45f39a+'.'+_0x4b4668),_0x10af77=window['crypto']['subtle'];if(!_0x10af77)return;const _0x4d7573=await _0x10af77['importKey']('jwk',_0xada43d,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x10af77['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4d7573,_0xb6ee4e,_0x8c26ae)||(_0x1a07fe=!0x1);}}function _0x1b5137(_0x3864c2){return _0x3864c2['startsWith']('ey')?JSON['parse'](_0x4710ab(_0x3864c2)):null;}function _0x4710ab(_0x25d9f6){return window['atob'](_0x25d9f6['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2d8b0d(_0x3c5df3){let _0x55bae5=0x1505;function _0x1af434(_0x299ce2){for(let _0x4be3e5=0x0;_0x4be3e5<_0x299ce2['length'];_0x4be3e5++){const _0x18101a=_0x299ce2['charCodeAt'](_0x4be3e5);_0x55bae5=(_0x55bae5<<0x5)+_0x55bae5+_0x18101a,_0x55bae5&=_0x55bae5;}}function _0x71c9cf(_0x10d708){Array['isArray'](_0x10d708)?_0x10d708['forEach'](_0x71c9cf):_0x10d708&&'object'==typeof _0x10d708?Object['entries'](_0x10d708)['sort']()['forEach'](([_0x4a1839,_0x1e3f12])=>{_0x1af434(_0x4a1839),_0x71c9cf(_0x1e3f12);}):_0x1af434(window['String'](_0x10d708));}return _0x71c9cf(_0x3c5df3),_0x55bae5>>>0x0;}function _0x14c78e(_0x5920d2){return _0x5920d2['toString'](0x10)['padStart'](0x8,'0');}function _0x14207b(_0x2f80be){return _0x2f80be['split']('')['reverse']()['join']('');}function _0xca2d95(){}_0x560375(await _0x356023());}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x487583=>{'$graveyard'!==_0x487583['rootName']&&this['editor']['editing']['reconvertItem'](_0x487583);});}_trackNewToCElements(){for(const _0x4bd168 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4bd168['type']||'tableOfContents'!==_0x4bd168['name'])return;this['_tableOfContentsElements']['add'](_0x4bd168['position']['nodeAfter']);}}_getOutlineDefinitions(_0x12cda4){const _0x3223e4=this['editor'],_0x51b3aa=[];for(const _0x46b499 of _0x3223e4['model']['document']['getRootNames']())_0x2f34c5(_0x3223e4['model']['document']['getRoot'](_0x46b499));function _0x2f34c5(_0x195fc8){for(const _0x3f2750 of _0x195fc8['getChildren']())_0x3f2750['is']('element')&&(_0x12cda4['includes'](_0x3f2750['name'])&&_0x51b3aa['push']({'level':_0x12cda4['indexOf'](_0x3f2750['name'])+0x1,'text':_0x2b1cfd(_0x3f2750),'modelElement':_0x3f2750}),_0x2f34c5(_0x3f2750));}return _0x51b3aa;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x3397c8=this['editor']['conversion'];_0x3397c8['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3397c8['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3171c6,{writer:_0x3d3cc7})=>this['_createTableOfContents'](_0x3d3cc7,!0x0)}),_0x3397c8['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x24c6c6,{writer:_0x1b2656})=>(this['_tableOfContentsElements']['add'](_0x24c6c6),(0x0,_0x491313['toWidget'])(this['_createTableOfContents'](_0x1b2656),_0x1b2656,{'label':_0x21544a(this['editor']['locale'],'Table\x20of\x20contents')}))}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}_createTableOfContents(_0x57b426,_0xea802c=!0x1){const {locale:_0x2fe2aa}=this['editor'],_0x5c479f=_0x57b426['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xea802c&&{'data-table-of-contents-label':_0x21544a(_0x2fe2aa,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xea802c&&_0x57b426['insert'](_0x57b426['createPositionAt'](_0x5c479f,'end'),_0x57b426['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x57b426['createText'](_0x21544a(_0x2fe2aa,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x2dedd7=_0xea802c?'':'['+_0x21544a(_0x2fe2aa,'Empty\x20heading')+']';let _0xf9f2ed=_0x5c479f;return this['_currentOutlineDefinitions']['forEach']((_0x16fefc,_0x5db7ef,_0x509617)=>{const _0x4febcd=this['editor']['model']['hasContent'](_0x16fefc['modelElement'],{'ignoreWhitespaces':!0x0}),_0x56e08a=_0x4febcd?_0x16fefc['text']:_0x2dedd7,_0x41702a=_0x16fefc['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x34f856=_0x57b426['createContainerElement']('a',{'href':'#'+_0x41702a,...!_0xea802c&&{'tabindex':'-1'}},[_0x57b426['createText'](_0x56e08a)]),_0x15af49=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x57b426['setCustomProperty']('tableOfContentsHeadingIndex',_0x5db7ef,_0x34f856);const _0x985d87=_0x57b426['createContainerElement']('li',null,[_0x4febcd||!_0xea802c&&_0x15af49?_0x34f856:_0x57b426['createText']('')]),_0x577641=_0x5db7ef?_0x509617[_0x5db7ef-0x1]['level']:0x0,_0x47b03f=Math['abs'](_0x16fefc['level']-_0x577641);if(_0x16fefc['level']>_0x577641){const _0x2df11a=_0x409fcb(_0x985d87,_0x47b03f,_0x57b426);_0x57b426['insert'](_0x57b426['createPositionAt'](_0xf9f2ed,'end'),_0x2df11a);}else{const _0x2b14ee=function(_0x48691f,_0x49d5af){return _0x48691f['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x3df5d8=>_0x3df5d8['is']('element','ol'))[_0x49d5af];}(_0xf9f2ed,_0x47b03f);_0x57b426['insert'](_0x57b426['createPositionAt'](_0x2b14ee,'end'),_0x985d87);}_0xf9f2ed=_0x985d87;}),_0x5c479f;}['_handleScrollToHeading'](_0x2af175){const _0x1169bb=this['_currentOutlineDefinitions'][_0x2af175]['modelElement'];this['editor']['model']['change'](_0x39bba6=>{_0x39bba6['setSelection'](_0x1169bb,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x28b256,_0x3e9483)=>{const _0x4eb1d7=_0x3e9483['mapper'],_0x8a991a=_0x4eb1d7['findMappedViewAncestor'](_0x3e9483['viewPosition']),_0x399962=_0x4eb1d7['toModelElement'](_0x8a991a);_0x399962['is']('element','tableOfContents')&&(_0x3e9483['modelPosition']=this['editor']['model']['createPositionAt'](_0x399962,0x0),_0x28b256['stop']());};}};function _0x409fcb(_0x33710b,_0x121a93,_0x5e0e95){return 0x1===_0x121a93?_0x5e0e95['createContainerElement']('ol',null,[_0x33710b]):_0x5e0e95['createContainerElement']('ol',null,[_0x5e0e95['createContainerElement']('li',null,[_0x409fcb(_0x33710b,_0x121a93-0x1,_0x5e0e95)])]);}var _0xf3ac59=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x4b6bf3=this['editor'];_0x4b6bf3['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x384499=this['_createButton'](_0x491313['ButtonView']);return _0x384499['tooltip']=!0x0,_0x384499;}),_0x4b6bf3['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x491313['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x514d40=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a99cd;for(const _0x5d79a1 in _0x514d40){const _0x4f4612=_0x5d79a1,_0x5631c7=_0x514d40[_0x4f4612];if('tableOfContentsLicenseKeyValid'==_0x5631c7||'tableOfContentsLicenseKeyInvalid'==_0x5631c7||'tableOfContentsLicenseKeyExpired'==_0x5631c7||'tableOfContentsLicenseKeyDomainLimit'==_0x5631c7||'tableOfContentsLicenseKeyNotAllowed'==_0x5631c7||'tableOfContentsLicenseKeyEvaluationLimit'==_0x5631c7||'tableOfContentsLicenseKeyUsageLimit'==_0x5631c7){delete _0x514d40[_0x4f4612],_0x1a99cd=_0x5631c7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x1a99cd&&_0x514d40['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x1a99cd&&_0x514d40['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x1a99cd&&_0x514d40['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x1a99cd&&_0x514d40['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x1a99cd&&_0x514d40['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x1a99cd&&_0x514d40['_showLicenseError']('usageLimit');},0x3e8);}_createButton(_0x2093f4){const _0x203ff2=this['editor'],_0x4642b8=_0x203ff2['locale'],_0x4eb5c1=_0x203ff2['commands']['get']('insertTableOfContents'),_0x585ce8=new _0x2093f4(_0x4642b8);return _0x585ce8['set']({'label':_0x21544a(_0x4642b8,'Table\x20of\x20contents'),'icon':_0x491313['IconTableOfContents']}),_0x585ce8['bind']('isEnabled')['to'](_0x4eb5c1,'isEnabled'),this['listenTo'](_0x585ce8,'execute',()=>{_0x203ff2['execute']('insertTableOfContents'),_0x203ff2['editing']['view']['focus']();}),_0x585ce8;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x1abd0a=class extends _0x491313['Plugin']{static get requires(){return[_0x2fade2,_0xf3ac59];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0x31fd3f='https://ckeditor.com/docs/ckeditor5/latest';var _0x4e1fbc=class extends _0x491313['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb8a512){super(_0xb8a512),_0xb8a512['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}afterInit(){!async function(_0x190ab9){const _0x699264='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x27ea8e=0x791d0,_0x2a7e84=window['Date']['now'](),_0x5dd636=_0x190ab9['editor'],_0x2fea26=new window['Promise'](_0x5a75c6=>{_0x5dd636['once']('ready',_0x5a75c6);}),_0x1a3909={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x37efa4=_0x5dd636['config']['get']('licenseKey');async function _0x2c55e2(){let _0x211324,_0x1e110c=null,_0x2f9876=null;try{return'GPL'==_0x37efa4?'NotAllowed':(_0x211324=_0x4d14e7(),_0x211324?(_0x211324['usageEndpoint']&&(_0x2f9876=_0x2a1b1b(_0x211324['usageEndpoint'],_0x211324['jti'])),await _0xc851e1()?_0x279938()?_0x2eb6a3()?'Expired':_0x4def8b()?('evaluation'==_0x211324['licenseType']&&(_0x1e110c=_0x2d1cba('EvaluationLimit')),await _0x165954()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2eb6a3(){const _0xbbc630=['evaluation','trial']['includes'](_0x211324['licenseType'])?_0x2a7e84/0x3e8:0xe10*_0x27ea8e;return _0x211324['exp']<_0xbbc630;}function _0x279938(){const _0x5f2e0b=_0x211324['features'];return!!_0x5f2e0b&&(!!_0x5f2e0b['includes']('*')||!!_0x5f2e0b['includes']('ECH'));}function _0x4def8b(){const _0xd2b72d=_0x211324['licensedHosts'];if(!_0xd2b72d||0x0==_0xd2b72d['length'])return!0x0;const {hostname:_0x2e1829}=new URL(window['location']['href']);if(_0xd2b72d['includes'](_0x2e1829))return!0x0;const _0x1faeca=_0x2e1829['split']('.');return _0xd2b72d['filter'](_0x518ed0=>_0x518ed0['includes']('*'))['map'](_0x98a28d=>_0x98a28d['split']('.'))['filter'](_0x497dc9=>_0x497dc9['length']<=_0x1faeca['length'])['map'](_0x2fd6a8=>Array(_0x1faeca['length']-_0x2fd6a8['length'])['fill']('*'===_0x2fd6a8[0x0]?'*':'')['concat'](_0x2fd6a8))['some'](_0x4e302c=>_0x1faeca['every']((_0x2f58ea,_0x23822c)=>_0x4e302c[_0x23822c]===_0x2f58ea||'*'===_0x4e302c[_0x23822c]));}function _0x165954(){return _0x1e110c&&_0x2f9876?new window['Promise']((_0x4ba477,_0x2e2e41)=>{_0x1e110c['then'](_0x4ba477,_0x2e2e41),_0x2f9876['then'](_0x21356c=>{'Valid'!=_0x21356c&&_0x4ba477(_0x21356c);},_0x2e2e41);}):_0x1e110c||_0x2f9876||'Valid';}}function _0x2a1b1b(_0x34377d,_0x11d6fc){return new window['Promise'](_0xfd4e05=>{if(_0x58bfd9())return _0xfd4e05('Valid');_0x2ed886(),_0x5dd636['decorate']('_sendUsageRequest');let _0x2aed5a=!0x1;const _0x26491f=(0x0,_0x491313['uid'])();function _0x2811f0(_0x242cdc){return!!_0x242cdc&&('object'==typeof _0x242cdc||'function'==typeof _0x242cdc)&&'function'==typeof _0x242cdc['then']&&'function'==typeof _0x242cdc['catch'];}function _0x51b4d5(_0x2a7cf8){_0x3ee537(_0x2a7cf8)['then'](_0x123e0d=>_0x123e0d&&'ok'==_0x123e0d['status']?_0x4a7137(_0x58b806(_0x26491f+_0x11d6fc))!=_0x123e0d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1f50d4=>(_0x1226df(),_0x1f50d4),()=>{const _0x55c4ab=_0x1cf107();return null==_0x55c4ab?(_0x1226df(),'Valid'):_0x2a7e84-_0x55c4ab>0x240c8400?'UsageLimit':'Valid';})['then'](_0xfd4e05)['catch'](()=>{_0xfd4e05('UsageLimit');});const _0x453842=0x36ee80;function _0x1226df(){const _0x33435f='llct-'+_0x4a7137(_0x58b806(_0x34377d)),_0x464522=_0x44d0da(_0x4a7137(window['Math']['ceil'](_0x2a7e84/_0x453842)));window['localStorage']['setItem'](_0x33435f,_0x464522);}function _0x1cf107(){const _0x107a19='llct-'+_0x4a7137(_0x58b806(_0x34377d)),_0x30da29=window['localStorage']['getItem'](_0x107a19);return _0x30da29?window['parseInt'](_0x44d0da(_0x30da29),0x10)*_0x453842:null;}function _0x3ee537(_0x3b9e46){return new window['Promise']((_0x34e891,_0x33eda4)=>{_0x3b9e46['then'](_0x34e891,_0x33eda4),window['setTimeout'](_0x33eda4,0x1d4c0);});}}_0x5dd636['on']('_sendUsageRequest',(_0x5cb74b,_0x3271cb)=>{if(_0x3271cb[0x0]!=_0x34377d)return _0xfd4e05('UsageLimit');_0x3271cb[0x1]={..._0x3271cb[0x1],'requestId':_0x26491f};},{'priority':'high'}),_0x5dd636['on']('_sendUsageRequest',_0x3330c6=>{_0x2811f0(_0x3330c6['return'])&&(_0x2aed5a=!0x0,_0x51b4d5(_0x3330c6['return']));},{'priority':'low'}),_0x2fea26['then'](()=>{_0x2aed5a||_0xfd4e05('UsageLimit');});});function _0x58bfd9(){return'auto'==_0x5dd636['editing']['view']['_overlayModeHint'];}function _0x2ed886(){_0x5dd636['editing']['view']['_overlayModeHint']='auto';}}function _0x2d1cba(_0x24ea5f){const _0x285081=[new window['Promise'](_0x228ebf=>setTimeout(_0x228ebf,0x93ecc)),_0x2fea26['then'](()=>new window['Promise'](_0x2d6646=>{let _0x18e955=0x0;_0x5dd636['model']['on']('applyOperation',(_0x565f3d,_0x46f586)=>{_0x46f586[0x0]['isDocumentOperation']&&_0x18e955++,0x5e8==_0x18e955&&(_0x2d6646(),_0x565f3d['off']());});}))];return window['Promise']['race'](_0x285081)['then'](()=>_0x24ea5f);}async function _0x4c9961(){await _0x2fea26,_0x5dd636['model']['change']=_0x28f110,_0x5dd636['model']['enqueueChange']=_0x28f110,_0x5dd636['enableReadOnlyMode']('model');}function _0x3f4652(_0x56038d){const _0x3ceaa4=_0x32d0d2();_0x5dd636[_0x3ceaa4]='emailConfigurationHelperLicenseKey'+_0x56038d,'Valid'!=_0x56038d&&_0x4c9961();}function _0x32d0d2(){const _0x282ee1=window['String'](window['performance']['now']())['replace']('.','');let _0x24f40a='u';for(let _0x292078=0x0;_0x292078<_0x282ee1['length'];_0x292078+=0x2){let _0x29ccf7=window['parseInt'](_0x282ee1['substring'](_0x292078,_0x292078+0x2));_0x29ccf7>=0x3e&&(_0x29ccf7-=0x3e),_0x24f40a+=_0x699264[_0x29ccf7];}return _0x24f40a;}function _0x4d14e7(){const _0x5db5e9=_0x37efa4['split']('.');if(0x3!=_0x5db5e9['length'])return null;return _0x45d2e0(_0x5db5e9[0x1]);function _0x45d2e0(_0x5a1623){const _0x2f5728=_0x2d8fe9(_0x5a1623);return _0x2f5728&&_0x43d5b3()?_0x2f5728:null;function _0x43d5b3(){const _0x2a5270=_0x2f5728['jti'],_0x3711de=window['parseInt'](_0x2a5270['substring'](_0x2a5270['length']-0x8),0x10),_0xad132={..._0x2f5728,'jti':_0x2a5270['substring'](0x0,_0x2a5270['length']-0x8)};return delete _0xad132['vc'],_0x58b806(_0xad132)==_0x3711de;}}}async function _0xc851e1(){let _0x45fe47=!0x0;try{const [_0x4af228,_0x507e2a,_0x2fc12e]=_0x37efa4['split']('.');return _0x55e36e(_0x4af228),await _0x5072dc(_0x4af228,_0x507e2a,_0x2fc12e),_0x45fe47;}catch{return!0x1;}function _0x55e36e(_0x46cf69){const _0x382352=_0x2d8fe9(_0x46cf69);_0x382352&&'ES256'==_0x382352['alg']||(_0x45fe47=!0x1);}async function _0x5072dc(_0x3a1f64,_0x373432,_0x22b113){const _0x18c284=window['Uint8Array']['from'](_0x1f52b7(_0x22b113),_0x1fd38d=>_0x1fd38d['charCodeAt'](0x0)),_0x3e7216=new window['TextEncoder']()['encode'](_0x3a1f64+'.'+_0x373432),_0x1c0e85=window['crypto']['subtle'];if(!_0x1c0e85)return;const _0x247191=await _0x1c0e85['importKey']('jwk',_0x1a3909,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x1c0e85['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x247191,_0x18c284,_0x3e7216)||(_0x45fe47=!0x1);}}function _0x2d8fe9(_0x29ed48){return _0x29ed48['startsWith']('ey')?JSON['parse'](_0x1f52b7(_0x29ed48)):null;}function _0x1f52b7(_0x32346a){return window['atob'](_0x32346a['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x58b806(_0x1fa1f3){let _0x782c9a=0x1505;function _0x11eb2e(_0x43740){for(let _0x3a314d=0x0;_0x3a314d<_0x43740['length'];_0x3a314d++){const _0x26b20a=_0x43740['charCodeAt'](_0x3a314d);_0x782c9a=(_0x782c9a<<0x5)+_0x782c9a+_0x26b20a,_0x782c9a&=_0x782c9a;}}function _0xe6da6a(_0xf107e7){Array['isArray'](_0xf107e7)?_0xf107e7['forEach'](_0xe6da6a):_0xf107e7&&'object'==typeof _0xf107e7?Object['entries'](_0xf107e7)['sort']()['forEach'](([_0x4b9109,_0x2f3b04])=>{_0x11eb2e(_0x4b9109),_0xe6da6a(_0x2f3b04);}):_0x11eb2e(window['String'](_0xf107e7));}return _0xe6da6a(_0x1fa1f3),_0x782c9a>>>0x0;}function _0x4a7137(_0x23187e){return _0x23187e['toString'](0x10)['padStart'](0x8,'0');}function _0x44d0da(_0x12dbf3){return _0x12dbf3['split']('')['reverse']()['join']('');}function _0x28f110(){}_0x3f4652(await _0x2c55e2());}(this);}['_logSuppressibleWarning'](_0x360151,_0x3a16de){if(this['_isSuppressedLog'](_0x360151,_0x3a16de))return;const _0x596970=_0x31fd3f+'/support/error-codes.html#error-'+_0x360151;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x360151,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x3a16de?[_0x3a16de]:[],'\x0aRead\x20more:\x20'+_0x596970);}['_logSuppressibleInfo'](_0x2fde76,_0x5933c8,_0x28bcc9){if(this['_isSuppressedLog'](_0x2fde76))return;let _0x4ee726=_0x5933c8;_0x28bcc9&&(_0x4ee726+='\x0aRead\x20more:\x20'+(_0x31fd3f+'/'+_0x28bcc9)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x2fde76,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x4ee726);}_checkUnsupportedPlugin(_0x3b0a0c,_0x410e7b){this['editor']['plugins']['has'](_0x3b0a0c)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x3b0a0c,..._0x410e7b});}_validateConfigColorValue(_0xfcdb2b){const _0x43290e=this['editor']['config']['get'](_0xfcdb2b);if(!_0x43290e)return;const _0x267729=Array['isArray'](_0x43290e),_0x1ad645=_0x267729?_0x43290e:[_0x43290e];for(const [_0x315e66,_0x9f2da8]of _0x1ad645['entries']()){const _0x1c038f='string'==typeof _0x9f2da8?_0x9f2da8:_0x9f2da8['color'];_0x47f200(_0x1c038f)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x267729?_0xfcdb2b+'['+_0x315e66+']':_0xfcdb2b,'color':_0x1c038f});}}_validateConfigColorFormat(_0x2e190b){const _0x806539=this['editor']['config']['get'](_0x2e190b);_0x806539&&_0x36b412(_0x806539)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x2e190b,'format':_0x806539});}['_isSuppressedLog'](_0x2066cc,_0x4be5c5){const _0x4bab80=this['editor']['config']['get']('email.logs');return!!_0x4bab80['suppressAll']||(!('function'!=typeof _0x4bab80['suppress']||!_0x4bab80['suppress'](_0x2066cc,_0x4be5c5))||!(!Array['isArray'](_0x4bab80['suppress'])||!_0x4bab80['suppress']['includes'](_0x2066cc)));}};const _0x10464b=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function _0x47f200(_0x5497ca){return!!_0x5497ca&&_0x10464b['some'](_0x445e76=>_0x5497ca['includes'](_0x445e76+'('));}function _0x36b412(_0x8d893f){return!!_0x8d893f&&_0x10464b['includes'](_0x8d893f);}var _0x360f6a=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){this['editor']['plugins']['get'](_0x4e1fbc)['_checkUnsupportedPlugin']('Highlight');}},_0x59f673=function(_0x943056){var _0x57b8dc,_0x48aa86,_0x400bff=_0x943056,_0x506c14={'a':0x0,'b':0x0,'c':0x0},_0x4ab128=[];return _0x57b8dc=function(_0x40fb7a,_0x4430ed){var _0x29c247,_0x4dc708,_0x68ed42,_0x15301c,_0x2b1e0c,_0x210538;if(_0x40fb7a['test'](_0x400bff)){for(_0x4dc708=0x0,_0x68ed42=(_0x29c247=_0x400bff['match'](_0x40fb7a))['length'];_0x4dc708<_0x68ed42;_0x4dc708+=0x1)_0x506c14[_0x4430ed]+=0x1,_0x15301c=_0x29c247[_0x4dc708],_0x2b1e0c=_0x400bff['indexOf'](_0x15301c),_0x210538=_0x15301c['length'],_0x4ab128['push']({'selector':_0x943056['substr'](_0x2b1e0c,_0x210538),'type':_0x4430ed,'index':_0x2b1e0c,'length':_0x210538}),_0x400bff=_0x400bff['replace'](_0x15301c,Array(_0x210538+0x1)['join']('\x20'));}},_0x48aa86=function(_0x3174aa){var _0x2b859f,_0x3424e9,_0x3bb3d,_0x17931b;if(_0x3174aa['test'](_0x400bff)){for(_0x3424e9=0x0,_0x3bb3d=(_0x2b859f=_0x400bff['match'](_0x3174aa))['length'];_0x3424e9<_0x3bb3d;_0x3424e9+=0x1)_0x17931b=_0x2b859f[_0x3424e9],_0x400bff=_0x400bff['replace'](_0x17931b,Array(_0x17931b['length']+0x1)['join']('A'));}},_0x48aa86(/\\[0-9A-Fa-f]{6}\s?/g),_0x48aa86(/\\[0-9A-Fa-f]{1,5}\s/g),_0x48aa86(/\\./g),(function(){var _0x23a572,_0xb86bbe,_0x7f93e4,_0xdb472c,_0x4c8fc8=/{[^]*/gm;if(_0x4c8fc8['test'](_0x400bff)){for(_0xb86bbe=0x0,_0x7f93e4=(_0x23a572=_0x400bff['match'](_0x4c8fc8))['length'];_0xb86bbe<_0x7f93e4;_0xb86bbe+=0x1)_0xdb472c=_0x23a572[_0xb86bbe],_0x400bff=_0x400bff['replace'](_0xdb472c,Array(_0xdb472c['length']+0x1)['join']('\x20'));}}()),_0x57b8dc(/(\[[^\]]+\])/g,'b'),_0x57b8dc(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x57b8dc(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x57b8dc(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x57b8dc(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x57b8dc(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x400bff=(_0x400bff=(_0x400bff=(_0x400bff=(_0x400bff=(_0x400bff=_0x400bff['replace'](/[\*\s\+>~]/g,'\x20'))['replace'](/[#\.]/g,'\x20'))['replace'](/:not/g,'\x20\x20\x20\x20'))['replace'](/:local/g,'\x20\x20\x20\x20\x20\x20'))['replace'](/:global/g,'\x20\x20\x20\x20\x20\x20\x20'))['replace'](/[\(\)]/g,'\x20'),_0x57b8dc(/([^\s\+>~\.\[:]+)/g,'c'),_0x4ab128['sort'](function(_0x4e7749,_0x5386cd){return _0x4e7749['index']-_0x5386cd['index'];}),{'selector':_0x943056,'specificity':'0,'+_0x506c14['a']['toString']()+','+_0x506c14['b']['toString']()+','+_0x506c14['c']['toString'](),'specificityArray':[0x0,_0x506c14['a'],_0x506c14['b'],_0x506c14['c']],'parts':_0x4ab128};};function _0x5b304c(_0x2f2d62){const _0x4a01eb=[];let _0xd18379='',_0x24bb27=0x0;for(;_0x24bb27<_0x2f2d62['length'];){const _0x4c2d22=_0x2f2d62[_0x24bb27];if('('===_0x4c2d22){const _0x346ccf=_0x8079a7(_0x2f2d62,_0x24bb27+0x1);if(-0x1===_0x346ccf)return[];_0xd18379+=_0x2f2d62['slice'](_0x24bb27,_0x346ccf+0x1),_0x24bb27=_0x346ccf+0x1;}else','!==_0x4c2d22||_0xd18379['endsWith']('\x5c')?(_0xd18379+=_0x4c2d22,_0x24bb27++):(_0x4a01eb['push'](_0xd18379['trim']()),_0xd18379='',_0x24bb27++);}return _0xd18379['trim']()&&_0x4a01eb['push'](_0xd18379['trim']()),_0x4a01eb['filter'](Boolean);}function _0x8079a7(_0x1b618f,_0x583981){let _0x4f8e34=0x1;for(let _0x5b8e09=_0x583981;_0x5b8e09<_0x1b618f['length'];_0x5b8e09++){const _0x54f9bc=_0x1b618f[_0x5b8e09];if('('===_0x54f9bc)_0x4f8e34++;else{if(')'===_0x54f9bc&&(_0x4f8e34--,0x0===_0x4f8e34))return _0x5b8e09;}}return-0x1;}function _0x354cec(_0x3145b9){return _0x3145b9['replace'](/!\s*important/i,'')['trim']();}function _0x559fa0(_0x1e1bad){const _0x10b2a9=new Map();for(const {stylesMap:_0xa6d25a,flatSelector:_0x493328}of _0x1e1bad){if(':root'!==_0x493328)continue;const _0x4d7cca=_0x3b8823(_0x10b2a9['get']['bind'](_0x10b2a9),_0xa6d25a);for(const [_0x294737,_0x532be7]of _0x4d7cca)_0x10b2a9['set'](_0x294737,_0x532be7);}return _0x10b2a9;}function _0x3b8823(_0x233252,_0x1e3ed6){const _0x53cf97=new Map(),_0x4c9afa=_0x5eb608=>_0x53cf97['has'](_0x5eb608)?_0x53cf97['get'](_0x5eb608):_0x233252(_0x5eb608);for(const [_0x41fd2e,_0x236edd]of _0x1e3ed6['getStylesEntries']())if(_0x236edd&&_0x41fd2e['startsWith']('--')){const _0x4834f6=_0x17aee8(_0x4c9afa,_0x236edd);_0x53cf97['set'](_0x41fd2e,_0x4834f6),_0x1e3ed6['remove'](_0x41fd2e);}for(const [_0x525176,_0x4fc9de]of _0x1e3ed6['getStylesEntries']())if(_0x4fc9de){const _0x12f38c=_0x17aee8(_0x4c9afa,_0x4fc9de);_0x1e3ed6['set'](_0x525176,_0x12f38c);}return _0x53cf97;}function _0x17aee8(_0x47af93,_0x55a4be){return function(_0x25dbcf,_0x1408fe){let _0x27a2f4='',_0x122793=0x0;for(;_0x122793<_0x25dbcf['length'];){const _0x50aa55=_0x25dbcf['indexOf']('var(',_0x122793);if(-0x1===_0x50aa55){_0x27a2f4+=_0x25dbcf['slice'](_0x122793);break;}_0x27a2f4+=_0x25dbcf['slice'](_0x122793,_0x50aa55);const _0x2c83cf=_0x50aa55+0x4,_0x4a8202=_0x8079a7(_0x25dbcf,_0x2c83cf);_0x27a2f4+=_0x1408fe(_0x25dbcf['substring'](_0x2c83cf,_0x4a8202)),_0x122793=_0x4a8202+0x1;}return _0x27a2f4;}(_0x55a4be,_0x3af63b=>{const [_0x5f48f5,_0x4d1a23]=_0x5b304c(_0x3af63b),_0x28eda7=_0x47af93(_0x5f48f5);return void 0x0!==_0x28eda7?_0x28eda7:_0x4d1a23?_0x17aee8(_0x47af93,_0x4d1a23):'var('+_0x5f48f5+')';});}async function _0x5df6cc(_0x34a666){const _0x3c2d74=[await(0x0,_0x491313['collectStylesheets'])(_0x34a666['stylesheets']),_0x34a666['inlineCss']]['filter'](_0x3b06ba=>_0x3b06ba&&_0x3b06ba['length'])['join']('\x0a'),_0x38e9d8=await async function(_0x39db1c,_0x3c7e38){const _0x38e014=new CSSStyleSheet();return await _0x38e014['replace'](_0x3c7e38),_0x5abebe(Array['from'](_0x38e014['cssRules'])['filter'](_0x278f2a=>_0x278f2a instanceof CSSStyleRule))['flatMap'](({selectorText:_0x181169,contentCssText:_0x3c2b70})=>{const _0x17feed=_0x5b304c(_0x181169),_0x2eccbe=new _0x491313['StylesMap'](_0x39db1c)['setTo'](_0x3c2b70);return _0x17feed['map'](_0xcd1f0a=>{const _0x36de6d=function(_0x2320cb){const _0x5a973a=':where(';let _0x596de5=_0x2320cb,_0x443b72=0x0;for(let _0x16094e=0x0;_0x16094e<0x64;_0x16094e++){const _0x469b0b=_0x596de5['indexOf'](_0x5a973a,_0x443b72);if(-0x1===_0x469b0b)break;let _0x358ca9=0x0;for(let _0x2cd660=0x0;_0x2cd660<_0x469b0b;_0x2cd660++)'('===_0x596de5[_0x2cd660]?_0x358ca9++:')'===_0x596de5[_0x2cd660]&&_0x358ca9--;if(_0x358ca9>0x0){_0x443b72=_0x469b0b+0x7;continue;}let _0x3a7604=-0x1;for(let _0x3283dc=_0x469b0b+0x7,_0x1ae3cc=0x1;_0x3283dc<_0x596de5['length'];_0x3283dc++)if('('===_0x596de5[_0x3283dc]?_0x1ae3cc++:')'===_0x596de5[_0x3283dc]&&_0x1ae3cc--,!_0x1ae3cc){_0x3a7604=_0x3283dc;break;}-0x1!==_0x3a7604?(_0x596de5=_0x596de5['slice'](0x0,_0x469b0b)+_0x596de5['slice'](_0x3a7604+0x1),_0x443b72=_0x469b0b):_0x443b72=_0x469b0b+0x7;}return _0x596de5['replace'](/\s+/g,'\x20')['trim']();}(_0xcd1f0a),_0xa204bb=_0x36de6d?function(_0x47210c){var _0x23175f,_0x519758,_0x1895af,_0x4114a3,_0x2e938d=[];for(_0x1895af=0x0,_0x4114a3=(_0x23175f=_0x47210c['split'](','))['length'];_0x1895af<_0x4114a3;_0x1895af+=0x1)(_0x519758=_0x23175f[_0x1895af])['length']>0x0&&_0x2e938d['push'](_0x59f673(_0x519758));return _0x2e938d;}(_0x36de6d)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x2eccbe,'flatSelector':_0xcd1f0a,'specificity':_0xa204bb};});})['sort']((_0x28f972,_0x302cfc)=>function(_0x2b6eeb,_0x274193){var _0x46e919,_0x5e5d98,_0x3b8e7e;if('string'==typeof _0x2b6eeb){if(-0x1!==_0x2b6eeb['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x46e919=_0x59f673(_0x2b6eeb)['specificityArray'];}else{if(!Array['isArray'](_0x2b6eeb))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x2b6eeb['filter'](function(_0x25d582){return'number'==typeof _0x25d582;})['length'])throw'Invalid\x20specificity\x20array';_0x46e919=_0x2b6eeb;}if('string'==typeof _0x274193){if(-0x1!==_0x274193['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x5e5d98=_0x59f673(_0x274193)['specificityArray'];}else{if(!Array['isArray'](_0x274193))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x274193['filter'](function(_0x1c2266){return'number'==typeof _0x1c2266;})['length'])throw'Invalid\x20specificity\x20array';_0x5e5d98=_0x274193;}for(_0x3b8e7e=0x0;_0x3b8e7e<0x4;_0x3b8e7e+=0x1){if(_0x46e919[_0x3b8e7e]<_0x5e5d98[_0x3b8e7e])return-0x1;if(_0x46e919[_0x3b8e7e]>_0x5e5d98[_0x3b8e7e])return 0x1;}return 0x0;}(_0x28f972['specificity'],_0x302cfc['specificity']));}(_0x34a666['stylesProcessor'],_0x3c2d74);return{'parsedCssRules':_0x38e9d8,'rootCssVariables':_0x559fa0(_0x38e9d8)};}function _0x5abebe(_0x20b296,_0x462ddc=''){return _0x20b296['flatMap'](_0x3c92df=>{const {selectorText:_0x2097cd,cssText:_0x25af1c,cssRules:_0x307032}=_0x3c92df;if(!_0x2097cd)return[];const _0x56a039=_0x2097cd['replace'](/&/g,_0x462ddc);let _0x5d3b08=_0x25af1c['replace'](_0x2097cd,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x307032||!_0x307032['length'])return[{'selectorText':_0x56a039,'contentCssText':_0x5d3b08}];for(const _0x4ae7bb of _0x307032)_0x5d3b08=_0x5d3b08['replace'](_0x4ae7bb['cssText'],'')['trim']();return[{'selectorText':_0x56a039,'contentCssText':_0x5d3b08},..._0x5abebe(Array['from'](_0x307032),_0x56a039)];});}function _0x27c9c9(_0x3360e1,_0x3063fb){const _0x5895a1=new _0x491313['StylesMap'](_0x3360e1);for(const _0x36eefb of _0x3063fb){let _0x39bdff;if(_0x39bdff='string'==typeof _0x36eefb?new _0x491313['StylesMap'](_0x3360e1)['setTo'](_0x36eefb):_0x36eefb,_0x39bdff){for(const [_0x567394,_0x47bfa6]of _0x39bdff['getStylesEntries']())_0x5895a1['set'](_0x567394,_0x47bfa6);}}return _0x5895a1;}var _0x25a825=class extends _0x491313['Command']{_stylesProcessor;constructor(_0x551bb4){super(_0x551bb4),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],(0x0,_0x491313['addMarginStylesRules'])(this['_stylesProcessor']),(0x0,_0x491313['addPaddingStylesRules'])(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async execute(_0x1af670){const _0x5aedae=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x1365f3}=this['editor']['locale'],{rootName:_0x1f5bf8='main',dataControllerDowncastOptions:_0x7688f={},transformations:_0x36429f=_0x5aedae['transformations']||[]}=_0x1af670||{};this['isBusy']=!0x0,this['refresh']();const _0x52172b=this['_getRootDataHTMLFragment'](_0x1f5bf8,_0x7688f),_0xbaa71d=(0x0,_0x491313['createElement'])(_0x52172b['ownerDocument'],'div',{'dir':_0x1365f3,'class':'ck-content'},[_0x52172b]);return this['_collectAndApplyStyles'](_0x36429f,_0xbaa71d)['then'](()=>{const _0x52b52b=function(_0x14240c){const _0x3de8b3=_0x14240c['ownerDocument']['createDocumentFragment']();for(;_0x14240c['firstChild'];)_0x3de8b3['appendChild'](_0x14240c['firstChild']);return _0x3de8b3;}(_0xbaa71d),_0x4b324b=_0xbaa71d['getAttribute']('style');if(_0x4b324b)for(const _0x3b608e of _0x52b52b['children']){const _0x5691e8=_0x3b608e['getAttribute']('style'),_0x1dc1d1=_0x27c9c9(this['_stylesProcessor'],[_0x4b324b,_0x5691e8]);_0x3b608e['setAttribute']('style',_0x10e8e4(_0x1dc1d1));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x52b52b);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}_getRootDataHTMLFragment(_0x295775,_0x3eadd5){const {data:_0x529ecb,model:_0x1cdb9d}=this['editor'],_0x347962=_0x1cdb9d['document']['getRoot'](_0x295775),_0x22e947=_0x529ecb['toView'](_0x347962,_0x3eadd5);return _0x529ecb['htmlProcessor']['domConverter']['viewToDom'](_0x22e947);}async _collectAndApplyStyles(_0x2d5caf,_0x1a4b3c){const {stylesheets:_0x5b17e9,inlineCss:_0x284f0a,stripCssClasses:_0x5a75cb}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x3c4437,rootCssVariables:_0x43de94}=await _0x5df6cc({'stylesheets':_0x5b17e9||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x284f0a}),_0x1f97b0=[];this['_processElementTree']({'transformations':_0x2d5caf,'parsedCssRules':_0x3c4437,'element':_0x1a4b3c,'stripCssClasses':_0x5a75cb,'parentCSSVariablesLookup':_0x43de94['get']['bind'](_0x43de94),'runAfterDocumentTransformation':_0x373e8b=>{_0x1f97b0['unshift'](_0x373e8b);}});for(const _0x4cc44b of _0x1f97b0)_0x4cc44b();}_processElementTree({element:_0x5ca29b,parsedCssRules:_0x3744a5,parentCSSVariablesLookup:_0x1fd35b,runAfterDocumentTransformation:_0x181019,stripCssClasses:_0x37cb79,transformations:_0x27be01}){const {stylesMap:_0x135f5c,localCSSVariables:_0x20bcdc}=function(_0x5b05c8){const _0x270ede=_0x5b05c8['element']['getAttribute']('style')||'',_0x12b901=_0x5b05c8['parsedCssRules']['filter'](_0xe823d0=>_0x5b05c8['element']['matches'](_0xe823d0['flatSelector']))['map'](_0x1c3e69=>_0x1c3e69['stylesMap']),_0x27478d=_0x27c9c9(_0x5b05c8['stylesProcessor'],[..._0x12b901,_0x270ede]);return{'localCSSVariables':_0x3b8823(_0x5b05c8['fallbackCSSVariablesLookup'],_0x27478d),'stylesMap':_0x27478d};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1fd35b,'parsedCssRules':_0x3744a5,'element':_0x5ca29b}),_0x376cf4=[];for(const _0x61fe73 of _0x27be01){const _0x5c9a56=_0x61fe73(_0x5ca29b,_0x135f5c,{'runAfterDocumentTransformation':_0x181019,'runAfterChildrenTransformation':_0x57f04f=>{_0x376cf4['unshift'](_0x57f04f);}});_0x5c9a56&&_0x5c9a56 instanceof HTMLElement&&(_0x5ca29b=_0x5c9a56);}_0x135f5c['size']?_0x5ca29b['setAttribute']('style',_0x10e8e4(_0x135f5c)):_0x5ca29b['removeAttribute']('style');const _0x5b74e9=_0x1e675d=>_0x20bcdc['has'](_0x1e675d)?_0x20bcdc['get'](_0x1e675d):_0x1fd35b(_0x1e675d);for(const _0x2a2968 of _0x5ca29b['children'])_0x2a2968 instanceof HTMLElement&&this['_processElementTree']({'element':_0x2a2968,'parsedCssRules':_0x3744a5,'stripCssClasses':_0x37cb79,'transformations':_0x27be01,'parentCSSVariablesLookup':_0x5b74e9,'runAfterDocumentTransformation':_0x181019});_0x37cb79&&_0x5ca29b['removeAttribute']('class');for(const _0x44fa7e of _0x376cf4)_0x44fa7e();}};function _0x10e8e4(_0x7e95c5){return _0x7e95c5['getStylesEntries']()['map'](_0x92004c=>_0x92004c['join'](':'))['join'](';')+';';}var _0x1af661=class extends _0x491313['Plugin']{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new _0x25a825(this['editor']));}afterInit(){!async function(_0x26dad4){const _0x46b5c7='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x533de1=0x791d0,_0x330474=window['Date']['now'](),_0x1df2bc=_0x26dad4['editor'],_0x2461a8=new window['Promise'](_0x5b4369=>{_0x1df2bc['once']('ready',_0x5b4369);}),_0x97b489={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x499909=_0x1df2bc['config']['get']('licenseKey');async function _0x4ec8db(){let _0x4c136c,_0x1ac80e=null,_0xaf0622=null;try{return'GPL'==_0x499909?'NotAllowed':(_0x4c136c=_0x5298d3(),_0x4c136c?(_0x4c136c['usageEndpoint']&&(_0xaf0622=_0x313abd(_0x4c136c['usageEndpoint'],_0x4c136c['jti'])),await _0x1e1da7()?_0xad7762()?_0x39472b()?'Expired':_0xac5311()?('evaluation'==_0x4c136c['licenseType']&&(_0x1ac80e=_0x1866c1('EvaluationLimit')),await _0x16e389()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x39472b(){const _0x2d7cf4=['evaluation','trial']['includes'](_0x4c136c['licenseType'])?_0x330474/0x3e8:0xe10*_0x533de1;return _0x4c136c['exp']<_0x2d7cf4;}function _0xad7762(){const _0x1b70ff=_0x4c136c['features'];return!!_0x1b70ff&&(!!_0x1b70ff['includes']('*')||!!_0x1b70ff['includes']('EIS'));}function _0xac5311(){const _0x2e2d6d=_0x4c136c['licensedHosts'];if(!_0x2e2d6d||0x0==_0x2e2d6d['length'])return!0x0;const {hostname:_0x13fd56}=new URL(window['location']['href']);if(_0x2e2d6d['includes'](_0x13fd56))return!0x0;const _0x181e8c=_0x13fd56['split']('.');return _0x2e2d6d['filter'](_0xd49f01=>_0xd49f01['includes']('*'))['map'](_0x4d1804=>_0x4d1804['split']('.'))['filter'](_0x10c33a=>_0x10c33a['length']<=_0x181e8c['length'])['map'](_0x279715=>Array(_0x181e8c['length']-_0x279715['length'])['fill']('*'===_0x279715[0x0]?'*':'')['concat'](_0x279715))['some'](_0x8a65e7=>_0x181e8c['every']((_0x1fe4ed,_0x224e15)=>_0x8a65e7[_0x224e15]===_0x1fe4ed||'*'===_0x8a65e7[_0x224e15]));}function _0x16e389(){return _0x1ac80e&&_0xaf0622?new window['Promise']((_0x16cff3,_0x190b10)=>{_0x1ac80e['then'](_0x16cff3,_0x190b10),_0xaf0622['then'](_0x534bc9=>{'Valid'!=_0x534bc9&&_0x16cff3(_0x534bc9);},_0x190b10);}):_0x1ac80e||_0xaf0622||'Valid';}}function _0x313abd(_0x5f3f8f,_0x225e22){return new window['Promise'](_0x375a74=>{if(_0x9487c7())return _0x375a74('Valid');_0x5a1329(),_0x1df2bc['decorate']('_sendUsageRequest');let _0xc8b08f=!0x1;const _0x4985cb=(0x0,_0x491313['uid'])();function _0x41a509(_0x26d9e8){return!!_0x26d9e8&&('object'==typeof _0x26d9e8||'function'==typeof _0x26d9e8)&&'function'==typeof _0x26d9e8['then']&&'function'==typeof _0x26d9e8['catch'];}function _0x198130(_0x4360be){_0x133a31(_0x4360be)['then'](_0x2ba0d2=>_0x2ba0d2&&'ok'==_0x2ba0d2['status']?_0x3cc45a(_0x3280d2(_0x4985cb+_0x225e22))!=_0x2ba0d2['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x327bb1=>(_0xaf641a(),_0x327bb1),()=>{const _0x5fbc64=_0x14cec1();return null==_0x5fbc64?(_0xaf641a(),'Valid'):_0x330474-_0x5fbc64>0x240c8400?'UsageLimit':'Valid';})['then'](_0x375a74)['catch'](()=>{_0x375a74('UsageLimit');});const _0x17e9e1=0x36ee80;function _0xaf641a(){const _0x11c035='llct-'+_0x3cc45a(_0x3280d2(_0x5f3f8f)),_0x439ade=_0x26e4c7(_0x3cc45a(window['Math']['ceil'](_0x330474/_0x17e9e1)));window['localStorage']['setItem'](_0x11c035,_0x439ade);}function _0x14cec1(){const _0x5c085b='llct-'+_0x3cc45a(_0x3280d2(_0x5f3f8f)),_0x226e0b=window['localStorage']['getItem'](_0x5c085b);return _0x226e0b?window['parseInt'](_0x26e4c7(_0x226e0b),0x10)*_0x17e9e1:null;}function _0x133a31(_0x1a125a){return new window['Promise']((_0x443270,_0x785209)=>{_0x1a125a['then'](_0x443270,_0x785209),window['setTimeout'](_0x785209,0x1d4c0);});}}_0x1df2bc['on']('_sendUsageRequest',(_0x29d83e,_0x48a153)=>{if(_0x48a153[0x0]!=_0x5f3f8f)return _0x375a74('UsageLimit');_0x48a153[0x1]={..._0x48a153[0x1],'requestId':_0x4985cb};},{'priority':'high'}),_0x1df2bc['on']('_sendUsageRequest',_0x257e9f=>{_0x41a509(_0x257e9f['return'])&&(_0xc8b08f=!0x0,_0x198130(_0x257e9f['return']));},{'priority':'low'}),_0x2461a8['then'](()=>{_0xc8b08f||_0x375a74('UsageLimit');});});function _0x9487c7(){return'auto'==_0x1df2bc['editing']['view']['_overlayModeHint'];}function _0x5a1329(){_0x1df2bc['editing']['view']['_overlayModeHint']='auto';}}function _0x1866c1(_0x12d53d){const _0x545994=[new window['Promise'](_0x38f2ed=>setTimeout(_0x38f2ed,0x93ecc)),_0x2461a8['then'](()=>new window['Promise'](_0x3ccab3=>{let _0x1e5d31=0x0;_0x1df2bc['model']['on']('applyOperation',(_0x23e9af,_0x1a81b7)=>{_0x1a81b7[0x0]['isDocumentOperation']&&_0x1e5d31++,0x5e8==_0x1e5d31&&(_0x3ccab3(),_0x23e9af['off']());});}))];return window['Promise']['race'](_0x545994)['then'](()=>_0x12d53d);}async function _0x511136(){await _0x2461a8;const _0x5839e3=_0x1df2bc['commands']['get']('exportInlineStyles');_0x5839e3&&_0x5839e3['on']('execute',_0x165d51=>{_0x165d51['stop']();},{'priority':'highest'}),_0x1df2bc['model']['change']=_0x160f5f,_0x1df2bc['model']['enqueueChange']=_0x160f5f,_0x1df2bc['enableReadOnlyMode']('model');}function _0x10c720(_0x3f839c){const _0x1b8c82=_0xfae232();_0x1df2bc[_0x1b8c82]='exportInlineStylesLicenseKey'+_0x3f839c,'Valid'!=_0x3f839c&&_0x511136();}function _0xfae232(){const _0x7c8478=window['String'](window['performance']['now']())['replace']('.','');let _0x5383dc='D';for(let _0x9e1d57=0x0;_0x9e1d57<_0x7c8478['length'];_0x9e1d57+=0x2){let _0x5b0cbf=window['parseInt'](_0x7c8478['substring'](_0x9e1d57,_0x9e1d57+0x2));_0x5b0cbf>=0x3e&&(_0x5b0cbf-=0x3e),_0x5383dc+=_0x46b5c7[_0x5b0cbf];}return _0x5383dc;}function _0x5298d3(){const _0x3e91f6=_0x499909['split']('.');if(0x3!=_0x3e91f6['length'])return null;return _0x36c3c4(_0x3e91f6[0x1]);function _0x36c3c4(_0x445295){const _0x2cfafd=_0x44d0dd(_0x445295);return _0x2cfafd&&_0x52cee2()?_0x2cfafd:null;function _0x52cee2(){const _0xd2e673=_0x2cfafd['jti'],_0x32a607=window['parseInt'](_0xd2e673['substring'](_0xd2e673['length']-0x8),0x10),_0x30e9b5={..._0x2cfafd,'jti':_0xd2e673['substring'](0x0,_0xd2e673['length']-0x8)};return delete _0x30e9b5['vc'],_0x3280d2(_0x30e9b5)==_0x32a607;}}}async function _0x1e1da7(){let _0x163fbc=!0x0;try{const [_0x2de85c,_0x216c5a,_0x524a71]=_0x499909['split']('.');return _0x210077(_0x2de85c),await _0x305bf3(_0x2de85c,_0x216c5a,_0x524a71),_0x163fbc;}catch{return!0x1;}function _0x210077(_0x5db18c){const _0x5c7cf6=_0x44d0dd(_0x5db18c);_0x5c7cf6&&'ES256'==_0x5c7cf6['alg']||(_0x163fbc=!0x1);}async function _0x305bf3(_0x26bd95,_0x44720,_0x122c87){const _0xc5e2c0=window['Uint8Array']['from'](_0x23feb5(_0x122c87),_0x42d9c9=>_0x42d9c9['charCodeAt'](0x0)),_0x301edf=new window['TextEncoder']()['encode'](_0x26bd95+'.'+_0x44720),_0x1371e6=window['crypto']['subtle'];if(!_0x1371e6)return;const _0x5e9682=await _0x1371e6['importKey']('jwk',_0x97b489,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x1371e6['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5e9682,_0xc5e2c0,_0x301edf)||(_0x163fbc=!0x1);}}function _0x44d0dd(_0x2c8543){return _0x2c8543['startsWith']('ey')?JSON['parse'](_0x23feb5(_0x2c8543)):null;}function _0x23feb5(_0x51ae89){return window['atob'](_0x51ae89['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3280d2(_0x1a0429){let _0xbba5ff=0x1505;function _0x301cfa(_0xdadf2f){for(let _0x573c41=0x0;_0x573c41<_0xdadf2f['length'];_0x573c41++){const _0x3c1373=_0xdadf2f['charCodeAt'](_0x573c41);_0xbba5ff=(_0xbba5ff<<0x5)+_0xbba5ff+_0x3c1373,_0xbba5ff&=_0xbba5ff;}}function _0x57b0c7(_0x3ae492){Array['isArray'](_0x3ae492)?_0x3ae492['forEach'](_0x57b0c7):_0x3ae492&&'object'==typeof _0x3ae492?Object['entries'](_0x3ae492)['sort']()['forEach'](([_0x4fad19,_0xace563])=>{_0x301cfa(_0x4fad19),_0x57b0c7(_0xace563);}):_0x301cfa(window['String'](_0x3ae492));}return _0x57b0c7(_0x1a0429),_0xbba5ff>>>0x0;}function _0x3cc45a(_0x2cd750){return _0x2cd750['toString'](0x10)['padStart'](0x8,'0');}function _0x26e4c7(_0x1b384a){return _0x1b384a['split']('')['reverse']()['join']('');}function _0x160f5f(){}_0x10c720(await _0x4ec8db());}(this);}},_0x5a5d67=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x1af661];}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x245e14=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c2321;for(const _0x342f6e in _0x245e14){const _0x233e2f=_0x342f6e,_0x2c58d7=_0x245e14[_0x233e2f];if('exportInlineStylesLicenseKeyValid'==_0x2c58d7||'exportInlineStylesLicenseKeyInvalid'==_0x2c58d7||'exportInlineStylesLicenseKeyExpired'==_0x2c58d7||'exportInlineStylesLicenseKeyDomainLimit'==_0x2c58d7||'exportInlineStylesLicenseKeyNotAllowed'==_0x2c58d7||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x2c58d7||'exportInlineStylesLicenseKeyUsageLimit'==_0x2c58d7){delete _0x245e14[_0x233e2f],_0x4c2321=_0x2c58d7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x4c2321&&_0x245e14['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x4c2321&&_0x245e14['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x4c2321&&_0x245e14['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x4c2321&&_0x245e14['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4c2321&&_0x245e14['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x4c2321&&_0x245e14['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function _0x3eb58b(_0x1b9e44,_0x5c7e54){const _0x57ac31=_0x1b9e44['ownerDocument'],{table:_0x4d4bab,cell:_0x4fe20a}=_0x5f4ed3(_0x57ac31,'100%');_0x5c7e54['align']&&_0x4fe20a['setAttribute']('align',_0x354cec(_0x5c7e54['align']));let _0x3b745f=_0x4fe20a;if(_0x5c7e54['width']){const {table:_0x357d7f,cell:_0x15772d}=_0x5f4ed3(_0x57ac31,_0x354cec(_0x5c7e54['width']));_0x4fe20a['appendChild'](_0x357d7f),_0x3b745f=_0x15772d;}return _0x1b9e44['replaceWith'](_0x4d4bab),_0x1b9e44['removeAttribute']('align'),_0x1b9e44['removeAttribute']('width'),_0x3b745f['appendChild'](_0x1b9e44),_0x3b745f;}function _0x5f4ed3(_0x38934a,_0x4e5275){const _0x1ceddd=_0x38934a['createElement']('table');_0x4e5275&&(_0x1ceddd['style']['width']=_0x4e5275,_0x1ceddd['setAttribute']('width',_0x13a9d3(_0x4e5275))),_0x1ceddd['setAttribute']('cellpadding','0'),_0x1ceddd['setAttribute']('cellspacing','0'),_0x1ceddd['setAttribute']('border','0'),_0x1ceddd['setAttribute']('role','presentation');const _0x2a3e8c=_0x38934a['createElement']('tbody'),_0x241165=_0x38934a['createElement']('tr'),_0x1b9e50=_0x38934a['createElement']('td');return _0x1ceddd['appendChild'](_0x2a3e8c),_0x2a3e8c['appendChild'](_0x241165),_0x241165['appendChild'](_0x1b9e50),{'table':_0x1ceddd,'cell':_0x1b9e50};}function _0x175382(_0x521964){const _0x3bc9f8=_0x521964['getAsString']('margin-left'),_0x934a01=_0x521964['getAsString']('margin-right'),_0x50776a=_0x3bc9f8&&_0x354cec(_0x3bc9f8),_0x325a72=_0x934a01&&_0x354cec(_0x934a01);return'auto'===_0x50776a&&'auto'===_0x325a72?'center':'auto'===_0x50776a?'right':'auto'===_0x325a72?'left':void 0x0;}function _0x3093c2(_0x481977,_0x2252fb){const _0x6c84d8=_0x481977['ownerDocument']['createElement'](_0x2252fb);for(const _0x3da683 of Array['from'](_0x481977['attributes']))_0x6c84d8['setAttribute'](_0x3da683['name'],_0x3da683['value']);for(;_0x481977['firstChild'];)_0x6c84d8['appendChild'](_0x481977['firstChild']);return _0x6c84d8;}function _0x8c056f(_0x53113c){if('TABLE'!==_0x53113c['tagName'])return!0x1;if('presentation'!==_0x53113c['getAttribute']('role'))return!0x1;const _0x35f49d=_0x201345(_0x53113c);return null!==_0x35f49d&&_0x35f49d['hasAttribute']('align');}function _0x201345(_0x5e5d78){let _0xf46a21=_0x5e5d78;0x1===_0x5e5d78['children']['length']&&'TBODY'===_0x5e5d78['children'][0x0]['tagName']&&(_0xf46a21=_0x5e5d78['children'][0x0]);const _0x3adb1c=_0xf46a21['children'];if(0x1!==_0x3adb1c['length']||'TR'!==_0x3adb1c[0x0]['tagName'])return null;const _0x39bdb3=_0x3adb1c[0x0]['children'];return 0x1!==_0x39bdb3['length']||'TD'!==_0x39bdb3[0x0]['tagName']?null:_0x39bdb3[0x0];}function _0x13a9d3(_0x35bb88){return function(_0x1e742f){return _0x1e742f['endsWith']('px')?_0x1e742f['slice'](0x0,-0x2):_0x1e742f;}(_0x354cec(_0x35bb88));}const _0x278ba5=(_0x226e53,_0x28a192,{runAfterDocumentTransformation:_0x54ffe4,runAfterChildrenTransformation:_0x4a3a90})=>{if('FIGURE'!==_0x226e53['tagName'])return;const _0x298957=_0x28a192['getAsString']('float');if(_0x298957){if(_0x4c34d1(_0x226e53))_0x54ffe4(()=>{_0x21fc09(_0x226e53,{'align':_0x298957});});else{const {table:_0x5b5690,cell:_0x329b57}=_0x5f4ed3(_0x226e53['ownerDocument']);_0x5b5690['setAttribute']('align',_0x354cec(_0x298957)),_0x5b5690['setAttribute']('style',function(_0x4b2bf7){return _0x4b2bf7['getStylesEntries']()['map'](_0x1da7d4=>_0x1da7d4['join'](':'))['join'](';')+';';}(_0x28a192)),_0x4a3a90(()=>{for(const _0xadfbf9 of Array['from'](_0x226e53['childNodes']))_0x329b57['appendChild'](_0xadfbf9);}),_0x54ffe4(()=>{_0x226e53['replaceWith'](_0x5b5690);});}}else{const _0x2e7993=_0x175382(_0x28a192),_0x43534e=_0x28a192['getAsString']('width');if(!_0x2e7993&&!_0x43534e)return;_0x3eb58b(_0x226e53,{'align':_0x2e7993,'width':_0x43534e}),_0x43534e&&_0x28a192['set']('width','100%'),_0x28a192['remove']('margin-left'),_0x28a192['remove']('margin-right'),_0x28a192['remove']('min-width'),_0x28a192['remove']('max-width'),_0x54ffe4(()=>{if(!_0x21fc09(_0x226e53)){const _0x43a9c6=_0x3093c2(_0x226e53,'div');_0x226e53['replaceWith'](_0x43a9c6);}});}};function _0x21fc09(_0x11a009,_0x30c5d4={}){const _0x406765=_0x4c34d1(_0x11a009);if(!_0x406765)return null;for(const _0x1efce1 of['id','class']){const _0xa17737=_0x11a009['getAttribute'](_0x1efce1);_0xa17737&&_0x406765['setAttribute'](_0x1efce1,_0xa17737);}for(const _0x1a877d of['display','float','width','height'])_0x406765['style']['removeProperty'](_0x1a877d);const _0x288908=_0x11a009['getAttribute']('style');if(_0x288908){const _0x31242a=_0x406765['getAttribute']('style')||'';_0x406765['setAttribute']('style',_0x288908+_0x31242a);}return _0x30c5d4['align']&&_0x406765['setAttribute']('align',_0x354cec(_0x30c5d4['align'])),'fixed'!==_0x406765['style']['tableLayout']||_0x406765['style']['width']||(_0x406765['style']['width']='100%',_0x406765['setAttribute']('width','100%')),_0x11a009['replaceWith'](_0x406765),_0x406765;}function _0x4c34d1(_0x1ec166){const _0x3e6ef4=Array['from'](_0x1ec166['children']);return 0x1===_0x3e6ef4['length']&&'TABLE'===_0x3e6ef4[0x0]['tagName']?_0x3e6ef4[0x0]:null;}var _0x5345e7=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const {config:_0x3cd890,plugins:_0x3ef0e7}=this['editor'];_0x3cd890['get']('exportInlineStyles')?.['transformations']?.['includes'](_0x278ba5)||_0x3ef0e7['get'](_0x4e1fbc)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}},_0x17b1fe=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){this['editor']['plugins']['get'](_0x4e1fbc)['_checkUnsupportedPlugin']('MathType');}},_0x5d0e49=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x3f278d=this['editor']['plugins']['get'](_0x4e1fbc);this['editor']['plugins']['has']('ExportInlineStyles')||_0x3f278d['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}},_0x179159=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x5ca25b=this['editor']['plugins']['get'](_0x4e1fbc),_0x121738=this['editor']['config']['get']('list');_0x121738&&_0x121738['properties']&&_0x121738['properties']['reversed']&&_0x5ca25b['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x121738&&_0x121738['enableListItemMarkerFormatting']&&_0x5ca25b['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}},_0x7da1c7=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x1dcb16}=this['editor'],_0x48e67d=_0x1dcb16['get'](_0x4e1fbc);_0x1dcb16['has']('Table')&&(_0x1dcb16['has']('PlainTableOutput')||_0x48e67d['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x1dcb16['has']('TableLayout')||_0x48e67d['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x2514a1,plugins:_0x25bfeb}=this['editor'];_0x2514a1['get']('table')&&_0x25bfeb['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}_checkTablePropertiesConfig(_0x25bb99){const _0x3c3584=this['editor']['plugins']['get'](_0x4e1fbc);_0x3c3584['_validateConfigColorValue']('table.'+_0x25bb99+'.borderColors'),_0x3c3584['_validateConfigColorValue']('table.'+_0x25bb99+'.backgroundColors'),_0x3c3584['_validateConfigColorValue']('table.'+_0x25bb99+'.defaultProperties.borderColor'),_0x3c3584['_validateConfigColorValue']('table.'+_0x25bb99+'.defaultProperties'),_0x3c3584['_validateConfigColorFormat']('table.'+_0x25bb99+'.colorPicker.format');}},_0x1c2a1e=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x2143d7=this['editor']['plugins']['get'](_0x4e1fbc);this['editor']['plugins']['has']('EmptyBlock')||_0x2143d7['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}},_0x122564=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const {plugins:_0x5a0a41}=this['editor'];_0x5a0a41['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x5a0a41['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x5193f5){const _0x3496a9=this['editor']['plugins']['get'](_0x4e1fbc);_0x3496a9['_validateConfigColorValue'](_0x5193f5+'.colors'),_0x3496a9['_validateConfigColorValue'](_0x5193f5+'.documentColors'),_0x3496a9['_validateConfigColorFormat'](_0x5193f5+'.colorPicker.format');}},_0x589def=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const {plugins:_0x4572d2}=this['editor'],_0x548b31=_0x4572d2['get'](_0x4e1fbc);_0x4572d2['has']('SourceEditing')||_0x4572d2['has']('SourceEditingEnhanced')||_0x548b31['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}},_0x5a7b53=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){this['editor']['plugins']['get'](_0x4e1fbc)['_checkUnsupportedPlugin']('Markdown');}},_0x1f0c64=class GeneralHtmlIntegrationSupport extends _0x491313['Plugin']{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {plugins:_0x5dab40}=this['editor'];if(!_0x5dab40['has']('DataFilter'))return;const _0x4af660=_0x5dab40['get']('DataFilter'),_0x2048f5=_0x5dab40['get'](_0x4e1fbc);for(const _0x3f76f1 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x4af660['once']('register:'+_0x3f76f1,(_0x33fca1,_0x504b4e)=>{_0x2048f5['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x504b4e['view']});});}},_0x37ef12=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x40c331=this['editor']['plugins']['get'](_0x4e1fbc);this['editor']['plugins']['has']('MergeFields')||_0x40c331['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}},_0x2ac973=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x41f579=this['editor']['plugins']['get'](_0x4e1fbc);this['editor']['plugins']['has']('Template')||_0x41f579['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}},_0x396ce6=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){this['editor']['plugins']['get'](_0x4e1fbc)['_checkUnsupportedPlugin']('Base64UploadAdapter');}},_0xe54c2b=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){this['editor']['plugins']['get'](_0x4e1fbc)['_checkUnsupportedPlugin']('MediaEmbed');}},_0x224fe2=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){this['editor']['plugins']['get'](_0x4e1fbc)['_checkUnsupportedPlugin']('TodoList');}},tw=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){this['editor']['plugins']['get'](_0x4e1fbc)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}},_0x4449a5=class extends _0x491313['Plugin']{static get requires(){return[_0x4e1fbc];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const {config:_0x4e3490,plugins:_0x11bb1f}=this['editor'],_0x1935b7=_0x11bb1f['get'](_0x4e1fbc);_0x4e3490['get']('exportInlineStyles')?.['transformations']?.['includes'](_0x278ba5)||_0x1935b7['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}},_0x33cd33=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x360f6a,_0x5345e7,_0x17b1fe,_0x5d0e49,_0x179159,_0x7da1c7,_0x1c2a1e,_0x122564,_0x589def,_0x5a7b53,_0x1f0c64,_0x37ef12,_0x2ac973,_0x396ce6,_0xe54c2b,_0x224fe2,tw,_0x4449a5];}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4762bf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x35e89a;for(const _0x37cc51 in _0x4762bf){const _0x556df4=_0x37cc51,_0x1a688c=_0x4762bf[_0x556df4];if('emailConfigurationHelperLicenseKeyValid'==_0x1a688c||'emailConfigurationHelperLicenseKeyInvalid'==_0x1a688c||'emailConfigurationHelperLicenseKeyExpired'==_0x1a688c||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x1a688c||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x1a688c||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x1a688c||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x1a688c){delete _0x4762bf[_0x556df4],_0x35e89a=_0x1a688c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x35e89a&&_0x4762bf['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x35e89a&&_0x4762bf['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x35e89a&&_0x4762bf['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x35e89a&&_0x4762bf['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x35e89a&&_0x4762bf['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x35e89a&&_0x4762bf['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};const _0x239228=(_0x117f86,_0x5830c3)=>{if(!['TABLE','IMG']['includes'](_0x117f86['tagName']))return;const _0x203161=_0x5830c3['getAsString']('float');if(_0x203161){const _0x5a4b16=_0x354cec(_0x203161);'left'!==_0x5a4b16&&'right'!==_0x5a4b16||_0x117f86['setAttribute']('align',_0x5a4b16);}},_0x24072f=(_0x5e6a46,_0x3047a3)=>{if('TABLE'!==_0x5e6a46['tagName']||_0x3047a3['has']('float'))return;const _0x3d91eb=_0x175382(_0x3047a3),_0x7e7bb1=_0x3047a3['getAsString']('width');_0x3d91eb&&(_0x3eb58b(_0x5e6a46,{'align':_0x3d91eb}),_0x7e7bb1?_0x5e6a46['setAttribute']('width',_0x13a9d3(_0x7e7bb1)):_0x3047a3['remove']('width'),_0x3047a3['remove']('margin-left'),_0x3047a3['remove']('margin-right'));},_0x184400=(_0x50bd61,_0x9d462d)=>{if('IMG'!==_0x50bd61['tagName'])return;const _0x3642ae=_0x9d462d['getAsString']('width');_0x3642ae&&(_0x50bd61['setAttribute']('width',_0x13a9d3(_0x3642ae)),_0x50bd61['setAttribute']('height','auto'));},_0x29e2f8=(_0x5eb2f5,_0x976cb6,{runAfterDocumentTransformation:_0x423afb})=>{if('FIGCAPTION'!==_0x5eb2f5['tagName'])return;const _0x3f2227=_0x976cb6['getAsString']('display'),_0x439cf2=_0x976cb6['getAsString']('caption-side');_0x976cb6['remove']('caption-side'),_0x3f2227&&'table-caption'===_0x354cec(_0x3f2227)&&_0x976cb6['remove']('display');const _0x43c43d=_0x439cf2&&'top'===_0x354cec(_0x439cf2);_0x423afb(()=>{const _0x127b04=_0x3093c2(_0x5eb2f5,'div'),_0x443cdb=_0x5eb2f5['previousElementSibling'];_0x43c43d&&_0x443cdb&&'TABLE'===_0x443cdb['tagName']?(_0x443cdb['before'](_0x127b04),_0x5eb2f5['remove']()):_0x5eb2f5['replaceWith'](_0x127b04);});},_0x29ac83=(_0x46cbfd,_0x40f058,{runAfterChildrenTransformation:_0x40938f})=>{'TD'===_0x46cbfd['tagName']&&_0x40938f(()=>{const _0x135dfa=Array['from'](_0x46cbfd['children']);if(0x0===_0x135dfa['length'])return;const _0x38fe72=_0x135dfa['map'](_0x44bb5c),_0x4c87f8=_0x38fe72[0x0];if(_0x4c87f8&&_0x38fe72['every'](_0x4218fc=>_0x4218fc===_0x4c87f8)){_0x46cbfd['setAttribute']('align',_0x4c87f8);for(const _0xdf4bbe of _0x135dfa)if(_0x8c056f(_0xdf4bbe)){const _0x477979=_0x201345(_0xdf4bbe);_0xdf4bbe['replaceWith'](...Array['from'](_0x477979['childNodes']));}else _0xdf4bbe['style']['removeProperty']('text-align'),_0xdf4bbe['style']['length']||_0xdf4bbe['removeAttribute']('style');}});};function _0x44bb5c(_0x26549d){return _0x8c056f(_0x26549d)?_0x201345(_0x26549d)['getAttribute']('align'):_0x26549d['style']['textAlign']||void 0x0;}const _0x325b18=(_0xe70819,_0x24c019,{runAfterChildrenTransformation:_0x32858d})=>{'TABLE'===_0xe70819['tagName']&&_0x32858d(()=>{const _0x592305=function(_0x41ba6d,_0x16852e){for(const _0x390e5a of _0x41ba6d['children'])if(_0x390e5a['tagName']===_0x16852e)return _0x390e5a;return null;}(_0xe70819,'COLGROUP');if(!_0x592305)return;const _0x3795f6=Array['from'](_0x592305['children'])['filter'](_0x380451=>'COL'===_0x380451['tagName']);if(_0x3795f6['some'](_0x33ca9d=>_0x1141a0(_0x33ca9d,'span')))return;const _0x41960f=_0x3795f6['map'](_0x5878bd);if(!_0x41960f['some'](Boolean))return;const _0x43bd7b=function(_0x31f979){const _0x5c1986=[];for(const _0x233b78 of _0x31f979['children'])if(['THEAD','TBODY','TFOOT']['includes'](_0x233b78['tagName'])){for(const _0x3df914 of _0x233b78['children'])'TR'===_0x3df914['tagName']&&_0x5c1986['push'](_0x3df914);}return _0x5c1986;}(_0xe70819)['map'](_0x2f3a6b);if(!_0x43bd7b['some'](_0x20dc9f=>_0x20dc9f['length']!==_0x41960f['length']||_0x20dc9f['some'](_0x1c93a4=>function(_0x3c7228){return _0x1141a0(_0x3c7228,'colspan')||_0x1141a0(_0x3c7228,'rowspan');}(_0x1c93a4)||function(_0x19b5fe){return Boolean(_0x19b5fe['style']['getPropertyValue']('width'))||Boolean(_0x19b5fe['getAttribute']('width'));}(_0x1c93a4)))){for(const _0x413ed9 of _0x43bd7b)_0x413ed9['forEach']((_0x32b8c2,_0x58cbb2)=>{const _0x13dbfa=_0x41960f[_0x58cbb2];_0x13dbfa&&(_0x32b8c2['setAttribute']('width',_0x13a9d3(_0x13dbfa)),_0x32b8c2['style']['setProperty']('width',_0x13dbfa));});}});};function _0x2f3a6b(_0x4340b0){return Array['from'](_0x4340b0['children'])['filter'](_0x576ce0=>'TD'===_0x576ce0['tagName']||'TH'===_0x576ce0['tagName']);}function _0x5878bd(_0x4aabfc){const _0x244ad6=_0x4aabfc['style']['getPropertyValue']('width');if(_0x244ad6)return _0x244ad6;const _0x1ab10c=_0x4aabfc['getAttribute']('width');if(!_0x1ab10c)return;const _0x5e4679=_0x354cec(_0x1ab10c);return/^\d+(\.\d+)?$/['test'](_0x5e4679)?_0x5e4679+'px':_0x5e4679;}function _0x1141a0(_0x5bbe27,_0x35b371){const _0x3e74bc=_0x5bbe27['getAttribute'](_0x35b371);return null!==_0x3e74bc&&'1'!==_0x3e74bc;}function _0x4e37db(_0x4b9c50,_0x45846c){const t=_0x4b9c50['t'];switch(_0x45846c){case'Export\x20to\x20PDF':return t('Export\x20to\x20PDF');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.');case'PDF\x20export\x20started':return t('PDF\x20export\x20started');case'PDF\x20export\x20failed':return t('PDF\x20export\x20failed');case'PDF\x20export\x20successful':return t('PDF\x20export\x20successful');case'Exporting\x20PDF\x20document':return t('Exporting\x20PDF\x20document');default:return _0x45846c;}}var _0x3d0e87=class extends _0x491313['Command']{constructor(_0x14d04d){super(_0x14d04d),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}execute(_0x24664d={}){const {editor:_0x567247}=this,_0x11df40=_0x24664d['version']||_0x567247['config']['get']('exportPdf.version'),_0x8ddb5e=_0x24664d['converterUrl']||function(_0x3ade0e){return 0x2===_0x3ade0e?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}(_0x11df40),_0x46342f=_0x24664d['dataCallback']||(_0x511866=>_0x511866['data']['get']()),_0x49d2f3=_0x567247['plugins']['get']('ExportPdf'),_0x3dc633=_0x24664d['token']||_0x49d2f3['_token'];return this['isBusy']=!0x0,this['refresh'](),(0x0,_0x491313['collectStylesheets'])(_0x24664d['stylesheets']||['EDITOR_STYLES'])['then'](async _0x2bfad0=>{if(_0x567247['ui']['ariaLiveAnnouncer']['announce'](_0x4e37db(_0x567247['locale'],'PDF\x20export\x20started')),_0x567247['plugins']['has']('MergeFields')){_0x24664d['converterOptions']||(_0x24664d['converterOptions']={});const _0x3a6b49=_0x567247['plugins']['get']('MergeFieldsEditing'),_0x565fb9=_0x3a6b49['previewMode'],{prefix:_0x417ba5,suffix:_0xe40b29}=_0x567247['config']['get']('mergeFields'),_0x637309='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x43ee76={'prefix':_0x417ba5,'suffix':_0xe40b29,'data':{}};if('$labels'===_0x565fb9){for(const _0x58b5f2 of _0x3a6b49['getMergeFieldsIds']())'image'===_0x3a6b49['getMergeFieldType'](_0x58b5f2)?_0x43ee76['data'][_0x58b5f2]=_0x637309:_0x43ee76['data'][_0x58b5f2]=_0x3a6b49['wrapInAffixes'](_0x3a6b49['getLabel'](_0x58b5f2)||_0x58b5f2);}else{const _0x2f4cde='$defaultValues'===_0x565fb9?_0x3a6b49['getDefaultValues']():_0x3a6b49['getDataSetValues'](_0x565fb9,!0x0);for(const _0x4c4df6 of Object['entries'](_0x2f4cde)){const [_0x24ad2a,_0x413549]=_0x4c4df6;'image'===_0x3a6b49['getMergeFieldType'](_0x24ad2a)?_0x43ee76['data'][_0x24ad2a]=null!==_0x413549?_0x413549:_0x637309:_0x43ee76['data'][_0x24ad2a]=null!==_0x413549?_0x413549:_0x3a6b49['getLabel'](_0x24ad2a)||_0x24ad2a;}}_0x24664d['converterOptions']['merge_fields']=_0x43ee76;}const _0x32b615=0x2===_0x11df40?function(_0x1b4a59){const _0x1be4a8=_0x1b4a59?.['document']?.['margins'];return _0xb74f3f({'pageWidth':_0x48ad8b(_0x1b4a59?.['document']?.['size']||'A4'),'marginLeft':_0x1be4a8?.['left'],'marginRight':_0x1be4a8?.['right']});}(_0x24664d['converterOptions']):(_0x2d918e=_0x24664d['converterOptions'],_0xb74f3f({'pageWidth':_0x48ad8b(_0x2d918e?.['format']||'A4'),'marginLeft':_0x2d918e?.['margin_left'],'marginRight':_0x2d918e?.['margin_right']}));var _0x2d918e;const _0x2da522={'html':('\x0a\x09\x09\x09\x09\x09<!DOCTYPE\x20html>\x0a\x09\x09\x09\x09\x09<html>\x0a\x09\x09\x09\x09\x09\x09<head>\x0a\x09\x09\x09\x09\x09\x09\x09<title>CKEditor\x205\x20PDF\x20document</title>\x0a\x09\x09\x09\x09\x09\x09\x09<meta\x20charset=\x22utf-8\x22>\x0a\x09\x09\x09\x09\x09\x09</head>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09\x09\x09<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x567247['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x32b615+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x46342f(_0x567247)+'\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>\x0a\x09\x09\x09\x09')['trim'](),'css':_0x2bfad0,[0x2===_0x11df40?'config':'options']:_0x24664d['converterOptions']},_0xba75c2={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x3dc633?{'Authorization':_0x3dc633['value']}:null,'x-cs-app-id':_0x24664d['appID']||'cke5'},'body':JSON['stringify'](_0x2da522)};return window['fetch'](_0x8ddb5e,_0xba75c2)['then'](_0x49bf80=>{if(0xc8!==_0x49bf80['status'])throw _0x49bf80;return _0x49bf80['blob']();})['then'](_0x27065b=>{_0x567247['ui']['ariaLiveAnnouncer']['announce'](_0x4e37db(_0x567247['locale'],'PDF\x20export\x20successful'));const _0x170245='function'==typeof _0x24664d['fileName']?_0x24664d['fileName']():_0x24664d['fileName'];this['_downloadFile'](_0x27065b,_0x170245||'document.pdf');});})['catch'](_0x5e9c1b=>{const _0x1eee01=_0x567247['plugins']['get']('Notification');throw _0x567247['ui']['ariaLiveAnnouncer']['announce'](_0x4e37db(_0x567247['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x1eee01['showWarning'](_0x4e37db(_0x567247['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x5e9c1b;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x345804,_0x25f5f4){const _0x333735=document['createElement']('a');_0x333735['href']=window['URL']['createObjectURL'](_0x345804),_0x333735['download']=_0x25f5f4,_0x333735['click'](),_0x333735['remove']();}};function _0xb74f3f({pageWidth:_0x234f5c,marginLeft:_0x133b95,marginRight:_0x352c4a}){return'width:calc('+[_0x234f5c,_0x133b95,_0x352c4a]['filter'](Boolean)['join']('\x20-\x20')+');';}function _0x48ad8b(_0x128ef5){return'object'==typeof _0x128ef5&&'width'in _0x128ef5?_0x128ef5['width']:{'letter':['21.6cm','27.9cm'],'legal':['21.6cm','35.6cm'],'tabloid':['27.9cm','43.2cm'],'ledger':['43.2cm','27.9cm'],'a0':['84.1cm','118.9cm'],'a1':['59.4cm','84.1cm'],'a2':['42.0cm','59.4cm'],'a3':['29.7cm','42.0cm'],'a4':['21.0cm','29.7cm'],'a5':['14.8cm','21.0cm'],'a6':['10.5cm','14.8cm']}[_0x128ef5['toLowerCase']()][0x0];}var _0x254a90=class extends _0x491313['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x528345=this['editor'];_0x528345['ui']['componentFactory']['add']('exportPdf',()=>{const _0x5989fe=this['_createButton'](_0x491313['ButtonView']),_0x40ae7a=_0x528345['commands']['get']('exportPdf');return _0x5989fe['set']({'tooltip':!0x0}),_0x5989fe['bind']('isOn')['to'](_0x40ae7a,'isBusy'),_0x5989fe;}),_0x528345['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](_0x491313['MenuBarMenuListItemButtonView']));}_createButton(_0x233193){const _0x135d99=this['editor'],_0x1500e7=_0x135d99['config']['get']('exportPdf'),_0x21fa4e=_0x135d99['commands']['get']('exportPdf'),_0x2cdfe7=new _0x233193(_0x135d99['locale']),_0x1335d9=new _0x491313['SpinnerView']();return _0x2cdfe7['children']['add'](_0x1335d9),_0x1335d9['bind']('isVisible')['to'](_0x21fa4e,'isBusy'),_0x2cdfe7['iconView']['bind']('isVisible')['to'](_0x21fa4e,'isBusy',_0x383d12=>!_0x383d12),_0x2cdfe7['set']({'icon':_0x491313['IconExportPdf']}),_0x2cdfe7['bind']('isEnabled')['to'](_0x21fa4e,'isEnabled'),_0x2cdfe7['bind']('label')['to'](_0x21fa4e,'isBusy',_0x50d391=>_0x4e37db(_0x135d99['locale'],_0x50d391?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x2cdfe7,'execute',()=>{_0x135d99['execute']('exportPdf',_0x1500e7),_0x135d99['editing']['view']['focus']();}),_0x2cdfe7;}},_0x1b2bf2=class extends _0x491313['Plugin']{_token;static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['CloudServices'],_0x491313['Notification'],_0x254a90];}init(){const {editor:_0x478f9e}=this;_0x478f9e['config']['define']('exportPdf.version',0x2),_0x478f9e['commands']['add']('exportPdf',new _0x3d0e87(_0x478f9e));const _0x22ba13=_0x478f9e['plugins']['get'](_0x491313['CloudServices']),_0x4db307=_0x478f9e['config']['get']('exportPdf');!0x1===_0x4db307['tokenUrl']?this['_token']=null:_0x4db307['tokenUrl']?_0x22ba13['registerTokenUrl'](_0x4db307['tokenUrl'])['then'](_0x46c340=>{this['_token']=_0x46c340;}):this['_token']=_0x22ba13['token'];}};function _0xc3743d(_0x4a9485,_0x3a5c87={}){const _0x9cf29d=_0x4a9485['plugins']['has']('Users'),_0x352e4b=_0x4a9485['plugins']['has']('CommentsRepository'),_0x4b21b9=_0x4a9485['plugins']['has']('TrackChanges'),_0x3c3f7b=_0x3a5c87;if(_0x9cf29d&&_0x352e4b){const _0x2bdb59=function(_0x37ca11){const _0x3335e8={};if(!_0x37ca11['length'])return _0x3335e8;for(const _0xe4f0d1 of _0x37ca11)_0xe4f0d1['comments']['map'](_0x54d0ba=>{void 0x0===_0x3335e8[_0xe4f0d1['id']]&&(_0x3335e8[_0xe4f0d1['id']]=[]),_0x3335e8[_0xe4f0d1['id']]['push']({'author':_0x54d0ba['author']['name'],'content':_0x54d0ba['content'],'created':_0x54d0ba['createdAt'],'is_resolved':_0xe4f0d1['isResolved']});});return _0x3335e8;}(_0x4a9485['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x2bdb59)['length']&&(_0x3c3f7b['comments']=_0x2bdb59);}if(_0x9cf29d&&_0x4b21b9){const _0x347f92=_0x4a9485['plugins']['get']('TrackChanges'),_0x48938c=_0x4a9485['plugins']['get']('Users'),_0x32290d=function(_0x29e2ce,_0x100b73){const _0x2258fc={};if(!_0x29e2ce['length']||!_0x100b73['length'])return _0x2258fc;for(const {id:_0x159de4,createdAt:_0x3326cf,authorId:_0x46aad4,attributes:_0x45943d}of _0x29e2ce){const _0x506dfd=_0x45943d&&_0x45943d['@external'];_0x2258fc[_0x159de4]={'author':_0x506dfd?_0x506dfd['authorName']:_0x100b73['get'](_0x46aad4)['name'],'created':_0x3326cf};}return _0x2258fc;}(_0x347f92['getSuggestions']({'toJSON':!0x0}),_0x48938c['users']);Object['keys'](_0x32290d)['length']&&(_0x3c3f7b['suggestions']=_0x32290d);}return(_0x3c3f7b['suggestions']||_0x3c3f7b['comments'])&&(_0x3c3f7b['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x3c3f7b;}function _0x1b9ee7(_0x500a53,_0x55a19d={}){const _0x32f7da=_0x500a53['plugins']['has']('Users'),_0x267bbc=_0x500a53['plugins']['has']('CommentsRepository'),_0x23e50e=_0x500a53['plugins']['has']('TrackChanges'),_0xe071ea=_0x500a53['plugins']['has']('MergeFields'),_0x30b84c=_0x500a53['locale']['contentLanguage'],_0x7015c3=_0x55a19d,_0x294d4e={};if(_0x7015c3['document']=_0x7015c3['document']||{},_0x7015c3['document']['language']=_0x7015c3['document']['language']||_0x30b84c,_0x32f7da&&_0x267bbc){const _0x1afb76=function(_0x1a98c1){const _0x2592fe=[];if(!_0x1a98c1['length'])return _0x2592fe;for(const _0x4f0997 of _0x1a98c1){const _0x536497=_0x4f0997['comments']['map'](_0x3627d7=>({'author':_0x3627d7['author']['name'],'content':_0x3627d7['content'],'created_at':_0x3627d7['createdAt']}));_0x2592fe['push']({'thread_id':_0x4f0997['id'],'is_resolved':_0x4f0997['isResolved'],'comments':_0x536497});}return _0x2592fe;}(_0x500a53['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x1afb76['length']&&(_0x294d4e['comment_threads']=_0x1afb76);}if(_0x32f7da&&_0x23e50e){const _0x4bc309=_0x500a53['plugins']['get']('TrackChanges'),_0x3d9812=_0x500a53['plugins']['get']('Users'),_0xb86758=function(_0x4e854e,_0x5ad3cf){return _0x4e854e['length']&&_0x5ad3cf['length']?_0x4e854e['map'](({id:_0x3f44c7,createdAt:_0x3dcb53,authorId:_0x168b2b,attributes:_0xd4c201})=>{const _0x78e3b3=_0xd4c201&&_0xd4c201['@external'];return{'id':_0x3f44c7,'author':_0x78e3b3?_0x78e3b3['authorName']:_0x5ad3cf['get'](_0x168b2b)['name'],'created_at':_0x3dcb53};}):[];}(_0x4bc309['getSuggestions']({'toJSON':!0x0}),_0x3d9812['users']);_0xb86758['length']&&(_0x294d4e['suggestions']=_0xb86758);}if(_0xe071ea){const _0x2f68bc=_0x500a53['plugins']['get']('MergeFieldsEditing'),_0x283a6e=_0x2f68bc['previewMode'],{prefix:_0x1647c1,suffix:_0x23fa1a}=_0x500a53['config']['get']('mergeFields');if(_0x7015c3['merge_fields']={'prefix':_0x1647c1,'suffix':_0x23fa1a},'$labels'!==_0x283a6e){_0x7015c3['merge_fields']['data']={};const _0x4f52b3='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x5e315f='$defaultValues'===_0x283a6e?_0x2f68bc['getDefaultValues']():_0x2f68bc['getDataSetValues'](_0x283a6e,!0x0);for(const _0x41bddf of Object['entries'](_0x5e315f)){const [_0x1f5dc4,_0x3f4cd5]=_0x41bddf;'image'===_0x2f68bc['getMergeFieldType'](_0x1f5dc4)?_0x7015c3['merge_fields']['data'][_0x1f5dc4]=null!==_0x3f4cd5?_0x3f4cd5:_0x4f52b3:_0x7015c3['merge_fields']['data'][_0x1f5dc4]=null!==_0x3f4cd5?_0x3f4cd5:_0x2f68bc['getLabel'](_0x1f5dc4)||_0x1f5dc4;}}}return(_0x294d4e['comment_threads']||_0x294d4e['suggestions'])&&(_0x7015c3['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x7015c3['collaboration_features']=_0x294d4e),_0x7015c3;}function _0x425e3a(_0x3de5fe,_0x4910b6){const t=_0x3de5fe['t'];switch(_0x4910b6){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x4910b6;}}const _0x5b9d57=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];var _0x2b1247=class extends _0x491313['Command']{constructor(_0x58717d){super(_0x58717d),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}execute(_0x7208b6={}){const _0x41fc30=this['editor'],_0x9a5f0d=_0x7208b6['version']||0x2,_0x53d414=0x1===_0x9a5f0d,_0x21c478=_0x7208b6['converterUrl']||(_0x53d414?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x4b996b=_0x7208b6['converterOptions']||{},_0x33ef90=_0x41fc30['plugins']['get']('ExportWord'),_0x162ab3=_0x7208b6['token']||_0x33ef90['_token'],_0x139e6d=!0x0===_0x4b996b['auto_pagination'],_0x4ae0dc=_0x7208b6['dataCallback']||(_0x447427=>_0x447427['data']['get']({'pagination':_0x139e6d}));return 0x2===_0x9a5f0d&&function(_0x4cf985){for(const _0x1aaf83 of _0x5b9d57)if(void 0x0!==_0x4cf985[_0x1aaf83])return!0x0;return!0x1;}(_0x4b996b)&&(0x0,_0x491313['logWarning'])('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),(0x0,_0x491313['collectStylesheets'])(_0x7208b6['stylesheets']||['EDITOR_STYLES'])['then'](async _0x51a6e7=>{_0x41fc30['ui']['ariaLiveAnnouncer']['announce'](_0x425e3a(_0x41fc30['locale'],'Word\x20document\x20export\x20started'));const _0x553402=await _0x4ae0dc(_0x41fc30),_0x5df201={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x41fc30['locale']['contentLanguageDirection']+'\x22>'+_0x553402+'</div>','css':_0x51a6e7,[_0x53d414?'options':'config']:{..._0x4b996b,..._0x53d414?_0xc3743d(_0x41fc30,_0x4b996b):_0x1b9ee7(_0x41fc30,_0x4b996b)}},_0xdce607={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x162ab3?{'Authorization':_0x162ab3['value']}:null},'body':JSON['stringify'](_0x5df201)};return window['fetch'](_0x21c478,_0xdce607)['then'](_0x4800c2=>{if(0xc8!==_0x4800c2['status'])throw _0x4800c2;return _0x4800c2['blob']();})['then'](_0x1df7e9=>{_0x41fc30['ui']['ariaLiveAnnouncer']['announce'](_0x425e3a(_0x41fc30['locale'],'Word\x20document\x20export\x20successful'));const _0x331064='function'==typeof _0x7208b6['fileName']?_0x7208b6['fileName']():_0x7208b6['fileName'];this['_downloadFile'](_0x1df7e9,_0x331064||'document.docx');});})['catch'](_0x33d721=>{const _0x453496=_0x41fc30['plugins']['get']('Notification');throw _0x41fc30['ui']['ariaLiveAnnouncer']['announce'](_0x425e3a(_0x41fc30['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x453496['showWarning'](_0x425e3a(_0x41fc30['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x33d721;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x38a011,_0x17b6a0){const _0x188349=document['createElement']('a');_0x188349['href']=window['URL']['createObjectURL'](_0x38a011),_0x188349['download']=_0x17b6a0,_0x188349['click'](),_0x188349['remove']();}},_0x499dfa=class extends _0x491313['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x2cd7f9=this['editor'];_0x2cd7f9['ui']['componentFactory']['add']('exportWord',()=>{const _0x4184b1=_0x2cd7f9['commands']['get']('exportWord'),_0x1c2718=this['_createButton'](_0x491313['ButtonView']);return _0x1c2718['set']({'tooltip':!0x0}),_0x1c2718['bind']('isOn')['to'](_0x4184b1,'isBusy'),_0x1c2718;}),_0x2cd7f9['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x491313['MenuBarMenuListItemButtonView']));}_createButton(_0x36906f){const _0x340bbc=this['editor'],_0x13b670=_0x340bbc['config']['get']('exportWord')||{},_0x3f7bc1=_0x340bbc['commands']['get']('exportWord'),_0xf81ff=new _0x36906f(_0x340bbc['locale']),_0x348d60=new _0x491313['SpinnerView']();return _0xf81ff['children']['add'](_0x348d60),_0x348d60['bind']('isVisible')['to'](_0x3f7bc1,'isBusy'),_0xf81ff['iconView']['bind']('isVisible')['to'](_0x3f7bc1,'isBusy',_0x5783f8=>!_0x5783f8),_0xf81ff['set']({'icon':_0x491313['IconExportWord']}),_0xf81ff['bind']('isEnabled')['to'](_0x3f7bc1,'isEnabled'),_0xf81ff['bind']('label')['to'](_0x3f7bc1,'isBusy',_0x4379f2=>_0x425e3a(_0x340bbc['locale'],_0x4379f2?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0xf81ff,'execute',()=>{_0x340bbc['execute']('exportWord',_0x13b670),_0x340bbc['editing']['view']['focus']();}),_0xf81ff;}},_0x29f358=class extends _0x491313['Plugin']{_token;static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['CloudServices'],_0x491313['Notification'],_0x499dfa];}init(){const _0x10b567=this['editor'],_0xabce22=_0x10b567['config']['get']('exportWord')||{};_0x10b567['commands']['add']('exportWord',new _0x2b1247(_0x10b567));const _0x46c43b=_0x10b567['plugins']['get'](_0x491313['CloudServices']);!0x1===_0xabce22['tokenUrl']?this['_token']=null:_0xabce22['tokenUrl']?_0x46c43b['registerTokenUrl'](_0xabce22['tokenUrl'])['then'](_0x346ded=>{this['_token']=_0x346ded;}):this['_token']=_0x46c43b['token'];}},_0xe8cf24=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x1070b2,_0x256e36){this['_model']=_0x1070b2,this['_elementName']=_0x256e36['elementName'],this['_getElementKey']=_0x256e36['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x29ab7b){const _0x55cd58=new Set(),_0xe20f4c=new Map();for(const _0x431f63 of _0x29ab7b){if('insert'===_0x431f63['type']&&'$text'!==_0x431f63['name']&&_0x431f63['position']['nodeAfter']){const _0x4387c8=this['_model']['createRangeOn'](_0x431f63['position']['nodeAfter']);for(const _0x46d5a3 of _0x4387c8['getItems']()){if(!_0x46d5a3['is']('element',this['_elementName']))continue;const _0x3a0f4c=this['_getElementKey'](_0x46d5a3);_0xe20f4c['has'](_0x3a0f4c)||_0xe20f4c['set'](_0x3a0f4c,[]),_0xe20f4c['get'](_0x3a0f4c)['push'](_0x46d5a3);}}if('remove'===_0x431f63['type']&&_0x431f63['name']===this['_elementName']){const _0x427527=this['_getElementKey']({'getAttribute':_0x6e0a1=>_0x431f63['attributes']['get'](_0x6e0a1)});_0x55cd58['add'](_0x427527);}}for(const [_0x1d828e,_0x3a72c8]of this['_trackedElements'])'$graveyard'===_0x3a72c8['root']['rootName']&&_0x55cd58['add'](_0x1d828e);for(const _0x22cddc of _0x55cd58)this['_trackedElements']['delete'](_0x22cddc);for(const [_0x42c065,_0xc4d371]of _0xe20f4c)this['_trackedElements']['set'](_0x42c065,_0xc4d371[_0xc4d371['length']-0x1]);const _0x45c043=new Set();for(const [_0x3a8110,_0x1bdcdd]of _0xe20f4c)_0x55cd58['has'](_0x3a8110)&&(_0x45c043['add'](_0x1bdcdd[0x0]),_0x1bdcdd['length']>0x1?_0xe20f4c['set'](_0x3a8110,_0x1bdcdd['slice'](0x1)):_0xe20f4c['delete'](_0x3a8110),_0x55cd58['delete'](_0x3a8110));return{'removed':Array['from'](_0x55cd58),'inserted':Array['from'](_0xe20f4c['values']())['flat'](),'moved':Array['from'](_0x45c043)};}},_0xc2ad67=class extends _0x491313['Plugin']{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2f753a){super(_0x2f753a),this['_footnoteDefsContainerTracker']=new _0xe8cf24(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new _0xe8cf24(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x46ea0d=>_0x46ea0d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new _0xe8cf24(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x44c1f9=>_0x44c1f9['getAttribute']('footnoteId')});}init(){const {editor:_0xb37e4d}=this,{model:_0x212e2f,data:_0x240ed7}=_0xb37e4d;_0x212e2f['document']['registerPostFixer'](_0x52440f=>{const _0x4fd3e9=_0x212e2f['document']['differ']['getChanges']();let _0x1a4211=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x52440f,_0x4fd3e9)&&(_0x1a4211=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x52440f,_0x4fd3e9)&&(_0x1a4211=!0x0),this['_handleFootnoteReferencesChanges'](_0x52440f,_0x4fd3e9)&&(_0x1a4211=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x52440f)&&(_0x1a4211=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x52440f)&&(_0x1a4211=!0x0),this['_sortFootnoteDefinitions'](_0x52440f)&&(_0x1a4211=!0x0),_0x1a4211;}),this['listenTo'](_0x212e2f['document'],'change:data',()=>{_0x212e2f['enqueueChange']({'isUndoable':!0x1},_0x1a0f5e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1a0f5e);for(const _0x14a3c4 of this['_footnotes'])_0x14a3c4['definition']['isAttached']()||_0x1a0f5e['remove'](_0x14a3c4['reference']);});},{'priority':'low'}),this['listenTo'](_0x240ed7,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x2ad46b){return this['_footnotes']['find'](_0x53a4de=>_0x53a4de['id']===_0x2ad46b)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x161dbf){this['_footnoteFormatter']=_0x161dbf;}_updateFootnotesCounters(_0x4c9bb9,_0x57592b=0x0){let _0x3e4bbe=!0x1;for(let _0x5a4c19=_0x57592b;_0x5a4c19<this['_footnotes']['length'];_0x5a4c19++)this['_updateFootnoteRefCounter'](_0x4c9bb9,_0x5a4c19)&&(_0x3e4bbe=!0x0);return _0x3e4bbe;}_insertEmptyFootnotesDefinitionsContainer(_0xc744d5,_0x4463c0){if(!_0x547845(this['editor'],_0x4463c0))return null;const _0x11e707=_0xc744d5['createElement']('footnotesDefinitions',{});return _0xc744d5['append'](_0x11e707,_0x4463c0),this['_footnotesDefinitions']=_0x11e707,_0x11e707;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x103993=[...(_0x58617c=this['_footnotes'],[..._0x58617c['reduce']((_0x50791a,_0x2d2693)=>(_0x50791a['add'](_0x2d2693['reference']['root']),_0x50791a),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x58617c;for(const _0x33276e of _0x103993)if(_0x547845(this['editor'],_0x33276e))return _0x33276e;return null;}_ensureFootnotesDefinitionsContainerExists(_0x2d717e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0xc7eb89=null;const _0x4d8780=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x4d8780&&(_0xc7eb89=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2d717e,_0x4d8780)),_0xc7eb89){for(const _0x4b0d0c of this['_footnotes'])_0x4b0d0c['definition']['parent']||_0x2d717e['insert'](_0x4b0d0c['definition'],_0xc7eb89,'end');this['_updateFootnotesCounters'](_0x2d717e);}}_handleFootnotesDefinitionsObjectChanges(_0x56abbc,_0x3d8cd0){let _0x387a99=!0x1;const {inserted:_0xcbd5fd,removed:_0x379eca,moved:_0x408d6f}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3d8cd0);if(_0x408d6f['length']&&(this['_footnotesDefinitions']=_0x408d6f[0x0]),_0xcbd5fd['length']){if(_0xcbd5fd['length']>0x1||this['_footnotesDefinitions']&&_0xcbd5fd['some'](_0x51dca0=>_0x51dca0!==this['_footnotesDefinitions'])){const _0x34d3b2=_0x56abbc['createElement']('footnotesDefinitions',{}),_0x4a2531=[];this['_footnotesDefinitions']&&_0x4a2531['push'](this['_footnotesDefinitions']),_0x4a2531['push'](..._0xcbd5fd),_0x56abbc['insert'](_0x34d3b2,_0x4a2531[0x0],'before');for(const _0x4a543e of _0x4a2531)_0x56abbc['move'](_0x56abbc['createRangeIn'](_0x4a543e),_0x56abbc['createPositionAt'](_0x34d3b2,'end')),_0x56abbc['remove'](_0x4a543e);this['_footnotesDefinitions']=_0x34d3b2,this['_updateFootnotesCounters'](_0x56abbc),_0x387a99=!0x0;}else this['_footnotesDefinitions']=_0xcbd5fd[0x0];}if(_0x379eca['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2cfd68 of this['_footnotes'])_0x56abbc['remove'](_0x2cfd68['reference']),_0x387a99=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x387a99;}_handleFootnoteDefinitionsChanges(_0x9de2cf,_0x39eb20){let _0x22fd82=!0x1;const _0x34259b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2d4075,moved:_0x2e7e90}=this['_footnoteDefsTracker']['getChanges'](_0x39eb20);for(const _0x3d0437 of[..._0x2e7e90,..._0x2d4075]){const _0x55765c=_0x3d0437['getAttribute']('footnoteId'),_0x3362ec=this['getFootnote'](_0x55765c);_0x3362ec&&(_0x3362ec['definition']=_0x3d0437),_0x28b3ab(_0x9de2cf,_0x34259b,_0x3d0437)&&(_0x22fd82=!0x0);}return _0x22fd82;}_handleFootnoteReferencesChanges(_0x40930a,_0x36fcc1){let _0x469a0e=!0x1;const {removed:_0x1ecd1f,inserted:_0x336334,moved:_0x51ee00}=this['_footnoteRefsTracker']['getChanges'](_0x36fcc1);for(const _0x78b6d6 of _0x1ecd1f)this['_handleRemoveFootnoteReferenceById'](_0x40930a,_0x78b6d6)&&(_0x469a0e=!0x0);for(const _0x47ac37 of _0x336334)this['_handleInsertedFootnoteReference'](_0x40930a,_0x47ac37)&&(_0x469a0e=!0x0);for(const _0x3ae1ff of _0x51ee00)this['_handleMovedFootnoteReference'](_0x40930a,_0x3ae1ff)&&(_0x469a0e=!0x0);return _0x469a0e;}_handleFootnotesDefinitionsObjectSync(_0x420490){if(!this['_footnotesDefinitions'])return!0x1;let _0x47de0d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x32d76f=[];for(const _0x5f1c45 of this['_footnotesDefinitions']['getChildren']()){const _0x4ff78e=_0x5f1c45['getAttribute']('footnoteId');this['getFootnote'](_0x4ff78e)||(_0x32d76f['unshift'](_0x5f1c45),_0x47de0d=!0x0);}for(const _0x3daed7 of _0x32d76f)_0x420490['remove'](_0x3daed7);}const _0x33f3f4=new Set(),_0x36d232=[];for(const _0x2b4019 of this['_footnotesDefinitions']['getChildren']()){const _0x52f6fd=_0x2b4019['getAttribute']('footnoteId');_0x33f3f4['has'](_0x52f6fd)?(_0x36d232['unshift'](_0x2b4019),_0x47de0d=!0x0):_0x33f3f4['add'](_0x52f6fd);}for(const _0x552109 of _0x36d232)_0x420490['remove'](_0x552109);return this['_footnotesDefinitions']['childCount']||(_0x420490['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x47de0d=!0x0),_0x47de0d;}_handleInsertedFootnoteReference(_0x5151d5,_0x557119){if(this['_footnotes']['find'](_0x357cd8=>_0x357cd8['reference']===_0x557119))return!0x1;let _0x1a8fe3=!0x1;const _0x57f53e=_0x557119['getAttribute']('footnoteId'),_0x2ef2e3=this['_footnotes']['findIndex'](_0x313f2b=>_0x313f2b['id']===_0x57f53e);-0x1!==_0x2ef2e3&&(_0x5151d5['remove'](this['_footnotes'][_0x2ef2e3]['reference']),this['_footnotes']['splice'](_0x2ef2e3,0x1),_0x1a8fe3=!0x0);let _0x462b0b=this['_footnotesDefinitions']?function(_0x2ea3a8,_0x3864b1){for(const _0x1d7373 of _0x2ea3a8['getChildren']())if(_0x1d7373['getAttribute']('footnoteId')===_0x3864b1)return _0x1d7373;return null;}(this['_footnotesDefinitions'],_0x57f53e):null;_0x462b0b||(_0x462b0b=_0x5151d5['createElement']('footnoteDefinition',{'footnoteId':_0x57f53e}),this['_footnotesDefinitions']&&(_0x5151d5['insert'](_0x462b0b,this['_footnotesDefinitions'],'end'),_0x1a8fe3=!0x0));const _0x5e40ec={'id':_0x57f53e,'reference':_0x557119,'definition':_0x462b0b},_0x3aceee=_0x1d1bdb(this['editor']['model'],this['_footnotes'],_0x557119);this['_footnotes']['splice'](_0x3aceee,0x0,_0x5e40ec);let _0x27f193=_0x3aceee;return-0x1!==_0x2ef2e3&&(_0x27f193=Math['min'](_0x3aceee,_0x2ef2e3)),this['_updateFootnotesCounters'](_0x5151d5,_0x27f193)&&(_0x1a8fe3=!0x0),_0x1a8fe3;}_handleRemoveFootnoteReferenceById(_0x567396,_0xb71bab){const _0x5eecab=this['_footnotes']['findIndex'](_0x4bc528=>_0x4bc528['id']===_0xb71bab);if(-0x1===_0x5eecab)return!0x1;let _0x67206f=!0x1;const _0x2bd77e=this['_footnotes'][_0x5eecab];return _0x2bd77e['definition']['isAttached']()&&'$graveyard'!==_0x2bd77e['definition']['root']['rootName']&&(_0x567396['remove'](_0x2bd77e['definition']),_0x67206f=!0x0),this['_footnotes']['splice'](_0x5eecab,0x1),this['_updateFootnotesCounters'](_0x567396,_0x5eecab)&&(_0x67206f=!0x0),_0x67206f;}_handleMovedFootnoteReference(_0x3d2203,_0x648c62){const _0x53ba16=_0x648c62['getAttribute']('footnoteId'),_0x26a0cb=this['_footnotes']['findIndex'](_0x5d7c93=>_0x5d7c93['id']===_0x53ba16),_0x4e192a=this['_footnotes'][_0x26a0cb];let _0x7985ce=!0x1;_0x4e192a['reference']=_0x648c62,this['_footnotes']['splice'](_0x26a0cb,0x1);const _0x451bc0=_0x1d1bdb(this['editor']['model'],this['_footnotes'],_0x648c62);return this['_footnotes']['splice'](_0x451bc0,0x0,_0x4e192a),this['_updateFootnotesCounters'](_0x3d2203,Math['min'](_0x26a0cb,_0x451bc0))&&(_0x7985ce=!0x0),_0x7985ce;}_updateFootnoteRefCounter(_0x915549,_0x1961e9){if(!this['_footnotesDefinitions'])return!0x1;const _0x56edbf=this['_footnotes'][_0x1961e9];let _0x3ca06c;return _0x3ca06c=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x56edbf,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1961e9+0x1}):String(_0x1961e9+0x1),_0x56edbf['reference']['getAttribute']('footnoteCounter')!=_0x3ca06c&&(_0x915549['setAttribute']('footnoteCounter',_0x3ca06c,_0x56edbf['reference']),!0x0);}_sortFootnoteDefinitions(_0x13b8c0){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5d68be,_0x14c28d){if(_0x5d68be['length']!==_0x14c28d['length'])return!0x1;for(let _0x43b972=0x0;_0x43b972<_0x5d68be['length'];_0x43b972++)if(_0x5d68be[_0x43b972]!==_0x14c28d[_0x43b972])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x30291a=>_0x30291a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x275c18=>_0x275c18['getAttribute']('footnoteId'))))return!0x1;let _0x3c3b91=!0x1;for(let _0x5d6818=0x0;_0x5d6818<this['_footnotes']['length'];_0x5d6818++){const _0x54cb4f=this['_footnotes'][_0x5d6818],_0x1ff5e3=_0x13b8c0['createPositionBefore'](_0x54cb4f['definition']),_0x493ad0=_0x13b8c0['createPositionAt'](this['_footnotesDefinitions'],_0x5d6818);_0x1ff5e3['isEqual'](_0x493ad0)||(_0x13b8c0['move'](_0x13b8c0['createRangeOn'](_0x54cb4f['definition']),_0x493ad0),_0x3c3b91=!0x0);}return _0x3c3b91;}_ensureFootnotesReferencesHaveProperOrder(_0xdb5780){if(!this['_footnotes']['length'])return!0x1;const {model:_0x30f44e}=this['editor'];let _0x1564cc=!0x1;for(let _0x4d61e1=0x0;_0x4d61e1<this['_footnotes']['length']-0x1;_0x4d61e1++){const _0x53127e=this['_footnotes'][_0x4d61e1],_0x4e10ea=this['_footnotes'][_0x4d61e1+0x1],_0x5b5ad1=_0x30f44e['createPositionBefore'](_0x53127e['reference']),_0x52c3af=_0x30f44e['createPositionBefore'](_0x4e10ea['reference']);'after'===_0x5b5ad1['compareWith'](_0x52c3af)&&(this['_handleMovedFootnoteReference'](_0xdb5780,_0x53127e['reference']),_0x4d61e1=-0x1,_0x1564cc=!0x0);}return _0x1564cc;}};function _0x547845(_0x50b238,_0xe020d0){return _0x50b238['model']['schema']['checkChild'](_0xe020d0,'footnotesDefinitions');}function _0x28b3ab(_0x20e8d8,_0xdd7de8,_0x393cb5){if(_0x393cb5['childCount'])return!0x1;const _0x320287=_0xdd7de8?'paragraph':'footnoteInlineContent';return _0x20e8d8['insert'](_0x20e8d8['createElement'](_0x320287),_0x393cb5),!0x0;}function _0x1d1bdb(_0x3de870,_0x4f7f94,_0x487cfd){if(0x0===_0x4f7f94['length'])return 0x0;const _0x3dbd5b=_0x3de870['createPositionBefore'](_0x487cfd);for(let _0x55d99a=0x0;_0x55d99a<_0x4f7f94['length'];_0x55d99a++){const _0x38faff=_0x4f7f94[_0x55d99a],_0x4e385a=_0x3de870['createPositionBefore'](_0x38faff['reference']);if('before'===_0x3dbd5b['compareWith'](_0x4e385a))return _0x55d99a;}const _0x1d50cc=_0x487cfd['root'];let _0x1bf85f=-0x1;for(let _0x4689ba=_0x4f7f94['length']-0x1;_0x4689ba>=0x0;_0x4689ba--)if(_0x4f7f94[_0x4689ba]['reference']['root']===_0x1d50cc){_0x1bf85f=_0x4689ba;break;}if(-0x1!==_0x1bf85f)return _0x1bf85f+0x1;const _0xd45060=_0x3de870['document']['getRootNames'](),_0x3dcb51=_0xd45060[_0xd45060['indexOf'](_0x1d50cc['rootName'])+0x1];if(_0x3dcb51){for(let _0x88f035=0x0;_0x88f035<_0x4f7f94['length'];_0x88f035++)if(_0x4f7f94[_0x88f035]['reference']['root']['rootName']===_0x3dcb51)return _0x88f035;}return _0x4f7f94['length'];}var _0x305930=class extends _0x491313['Command']{['refresh'](){const {model:_0xbedd61,plugins:_0x49ef56}=this['editor'],{selection:_0x568a94}=_0xbedd61['document'],_0x56b208=this['_getPositionToInsertFootnote'](_0x568a94),_0x32ed5d=_0x49ef56['get']('FootnotesTracker');this['isEnabled']=!(!_0x56b208||!_0x32ed5d['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x2818ff){const {editor:_0x1d7ef6}=this,{model:_0x4fc560}=_0x1d7ef6,{selection:_0x4e5fa3}=_0x4fc560['document'],_0xa3708d=this['_getPositionToInsertFootnote'](_0x4e5fa3);if(!_0xa3708d)return;const _0x46e394=_0x1d7ef6['plugins']['get']('FootnotesEditing'),_0x2ccba4=_0x2818ff?.['footnoteId']??(0x0,_0x491313['uid'])();!function(_0x14445b){return'string'==typeof _0x14445b&&_0x14445b['length']>0x0&&!/\s/['test'](_0x14445b)&&!/^\d/['test'](_0x14445b);}(_0x2ccba4)?(0x0,_0x491313['logWarning'])('insert-footnote-command-executed-with-invalid-id'):(_0x4fc560['change'](_0x51e3ca=>{const _0x4febcc=_0x51e3ca['createElement']('footnoteRef',{'footnoteId':_0x2ccba4});_0x4fc560['insertObject'](_0x4febcc,_0xa3708d,null);}),_0x46e394['_moveSelectionToFootnoteDefinition'](_0x2ccba4));}_getPositionToInsertFootnote(_0x1fbc5c){const {model:_0x11ced6}=this['editor'],{schema:_0x3ce631}=_0x11ced6,_0x36ae3e=_0x1fbc5c['getFirstRange']();for(const _0x3de3b1 of _0x36ae3e['getItems']())if(_0x3ce631['isBlock'](_0x3de3b1)||_0x3ce631['isObject'](_0x3de3b1))return null;const _0x4ef844=_0x36ae3e['end'];return _0x3ce631['checkChild'](_0x4ef844,'footnoteRef')?_0x4ef844:null;}},_0xbf6e79=class extends _0x491313['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[_0xc2ad67];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x5ebc01}=this;_0x5ebc01['config']['define']('footnotes.multiBlock',!0x0),_0x5ebc01['commands']['add']('insertFootnote',new _0x305930(_0x5ebc01)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x6be9b9){const _0x9fdd85='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x4c56dc=0x791d0,_0xe600b=window['Date']['now'](),_0x251b26=_0x6be9b9['editor'],_0x405230=new window['Promise'](_0x5addf9=>{_0x251b26['once']('ready',_0x5addf9);}),_0x77acc4={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x215958=_0x251b26['config']['get']('licenseKey');async function _0x4758c1(){let _0x34c19f,_0x2c4acf=null,_0xa795da=null;try{return'GPL'==_0x215958?'NotAllowed':(_0x34c19f=_0x5d0d63(),_0x34c19f?(_0x34c19f['usageEndpoint']&&(_0xa795da=_0x2ce693(_0x34c19f['usageEndpoint'],_0x34c19f['jti'])),await _0x2a5fa5()?_0x43073f()?_0x4c3435()?'Expired':_0x3b50cf()?('evaluation'==_0x34c19f['licenseType']&&(_0x2c4acf=_0x56fab9('EvaluationLimit')),await _0x36540c()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4c3435(){const _0x30b541=['evaluation','trial']['includes'](_0x34c19f['licenseType'])?_0xe600b/0x3e8:0xe10*_0x4c56dc;return _0x34c19f['exp']<_0x30b541;}function _0x43073f(){const _0x1fd525=_0x34c19f['features'];return!!_0x1fd525&&(!!_0x1fd525['includes']('*')||!!_0x1fd525['includes']('FOO'));}function _0x3b50cf(){const _0x167f93=_0x34c19f['licensedHosts'];if(!_0x167f93||0x0==_0x167f93['length'])return!0x0;const {hostname:_0x196922}=new URL(window['location']['href']);if(_0x167f93['includes'](_0x196922))return!0x0;const _0x47515a=_0x196922['split']('.');return _0x167f93['filter'](_0x3c3e69=>_0x3c3e69['includes']('*'))['map'](_0x185a04=>_0x185a04['split']('.'))['filter'](_0x185c23=>_0x185c23['length']<=_0x47515a['length'])['map'](_0x1df269=>Array(_0x47515a['length']-_0x1df269['length'])['fill']('*'===_0x1df269[0x0]?'*':'')['concat'](_0x1df269))['some'](_0x562a2e=>_0x47515a['every']((_0x5bc973,_0xf9896f)=>_0x562a2e[_0xf9896f]===_0x5bc973||'*'===_0x562a2e[_0xf9896f]));}function _0x36540c(){return _0x2c4acf&&_0xa795da?new window['Promise']((_0x4d282b,_0x300105)=>{_0x2c4acf['then'](_0x4d282b,_0x300105),_0xa795da['then'](_0x5655e2=>{'Valid'!=_0x5655e2&&_0x4d282b(_0x5655e2);},_0x300105);}):_0x2c4acf||_0xa795da||'Valid';}}function _0x2ce693(_0x501e17,_0x5a7b63){return new window['Promise'](_0x35d6e5=>{if(_0x22b228())return _0x35d6e5('Valid');_0x403c0d(),_0x251b26['decorate']('_sendUsageRequest');let _0x20e01f=!0x1;const _0x19f543=(0x0,_0x491313['uid'])();function _0x198a44(_0x4e465e){return!!_0x4e465e&&('object'==typeof _0x4e465e||'function'==typeof _0x4e465e)&&'function'==typeof _0x4e465e['then']&&'function'==typeof _0x4e465e['catch'];}function _0xa7dbc8(_0x254b86){_0x5d9495(_0x254b86)['then'](_0xb65ea2=>_0xb65ea2&&'ok'==_0xb65ea2['status']?_0x1ae3dd(_0x534ccf(_0x19f543+_0x5a7b63))!=_0xb65ea2['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1d9756=>(_0x2df078(),_0x1d9756),()=>{const _0x620fd7=_0x53db6();return null==_0x620fd7?(_0x2df078(),'Valid'):_0xe600b-_0x620fd7>0x240c8400?'UsageLimit':'Valid';})['then'](_0x35d6e5)['catch'](()=>{_0x35d6e5('UsageLimit');});const _0x4777d0=0x36ee80;function _0x2df078(){const _0x9f5841='llct-'+_0x1ae3dd(_0x534ccf(_0x501e17)),_0x425597=_0x398121(_0x1ae3dd(window['Math']['ceil'](_0xe600b/_0x4777d0)));window['localStorage']['setItem'](_0x9f5841,_0x425597);}function _0x53db6(){const _0x3597ed='llct-'+_0x1ae3dd(_0x534ccf(_0x501e17)),_0x5aa7df=window['localStorage']['getItem'](_0x3597ed);return _0x5aa7df?window['parseInt'](_0x398121(_0x5aa7df),0x10)*_0x4777d0:null;}function _0x5d9495(_0x54ddc3){return new window['Promise']((_0x26d3c5,_0x297ed4)=>{_0x54ddc3['then'](_0x26d3c5,_0x297ed4),window['setTimeout'](_0x297ed4,0x1d4c0);});}}_0x251b26['on']('_sendUsageRequest',(_0x46e387,_0x4a3207)=>{if(_0x4a3207[0x0]!=_0x501e17)return _0x35d6e5('UsageLimit');_0x4a3207[0x1]={..._0x4a3207[0x1],'requestId':_0x19f543};},{'priority':'high'}),_0x251b26['on']('_sendUsageRequest',_0x558e1f=>{_0x198a44(_0x558e1f['return'])&&(_0x20e01f=!0x0,_0xa7dbc8(_0x558e1f['return']));},{'priority':'low'}),_0x405230['then'](()=>{_0x20e01f||_0x35d6e5('UsageLimit');});});function _0x22b228(){return'auto'==_0x251b26['editing']['view']['_overlayModeHint'];}function _0x403c0d(){_0x251b26['editing']['view']['_overlayModeHint']='auto';}}function _0x56fab9(_0x354f7e){const _0x267207=[new window['Promise'](_0x5d31ab=>setTimeout(_0x5d31ab,0x93ecc)),_0x405230['then'](()=>new window['Promise'](_0x595260=>{let _0x5ae8f2=0x0;_0x251b26['model']['on']('applyOperation',(_0x581ccf,_0x2932cf)=>{_0x2932cf[0x0]['isDocumentOperation']&&_0x5ae8f2++,0x5e8==_0x5ae8f2&&(_0x595260(),_0x581ccf['off']());});}))];return window['Promise']['race'](_0x267207)['then'](()=>_0x354f7e);}async function _0xe4ebc5(){await _0x405230,_0x251b26['model']['change']=_0x3c8de7,_0x251b26['model']['enqueueChange']=_0x3c8de7,_0x251b26['enableReadOnlyMode']('model');}function _0x508530(_0x2fccd5){const _0x1396ea=_0x4f22ae();_0x251b26[_0x1396ea]='footnotesLicenseKey'+_0x2fccd5,'Valid'!=_0x2fccd5&&_0xe4ebc5();}function _0x4f22ae(){const _0x16284b=window['String'](window['performance']['now']())['replace']('.','');let _0x50d686='u';for(let _0x16b8c1=0x0;_0x16b8c1<_0x16284b['length'];_0x16b8c1+=0x2){let _0x3c3fe5=window['parseInt'](_0x16284b['substring'](_0x16b8c1,_0x16b8c1+0x2));_0x3c3fe5>=0x3e&&(_0x3c3fe5-=0x3e),_0x50d686+=_0x9fdd85[_0x3c3fe5];}return _0x50d686;}function _0x5d0d63(){const _0x46e5ca=_0x215958['split']('.');if(0x3!=_0x46e5ca['length'])return null;return _0x285a6b(_0x46e5ca[0x1]);function _0x285a6b(_0x54a46a){const _0x1a6be5=_0x3edc2a(_0x54a46a);return _0x1a6be5&&_0x229f3b()?_0x1a6be5:null;function _0x229f3b(){const _0x1ae05f=_0x1a6be5['jti'],_0x42cf4c=window['parseInt'](_0x1ae05f['substring'](_0x1ae05f['length']-0x8),0x10),_0x3a5f0e={..._0x1a6be5,'jti':_0x1ae05f['substring'](0x0,_0x1ae05f['length']-0x8)};return delete _0x3a5f0e['vc'],_0x534ccf(_0x3a5f0e)==_0x42cf4c;}}}async function _0x2a5fa5(){let _0x42dfe4=!0x0;try{const [_0x196b7d,_0x386fa0,_0x1e4110]=_0x215958['split']('.');return _0x1a8052(_0x196b7d),await _0x565cf7(_0x196b7d,_0x386fa0,_0x1e4110),_0x42dfe4;}catch{return!0x1;}function _0x1a8052(_0x21db8f){const _0x5378c0=_0x3edc2a(_0x21db8f);_0x5378c0&&'ES256'==_0x5378c0['alg']||(_0x42dfe4=!0x1);}async function _0x565cf7(_0x32763e,_0x5bb7f3,_0x3201c0){const _0x1310fb=window['Uint8Array']['from'](_0x4aba40(_0x3201c0),_0x2d3b51=>_0x2d3b51['charCodeAt'](0x0)),_0x46feba=new window['TextEncoder']()['encode'](_0x32763e+'.'+_0x5bb7f3),_0xf1f9f3=window['crypto']['subtle'];if(!_0xf1f9f3)return;const _0x1e43ef=await _0xf1f9f3['importKey']('jwk',_0x77acc4,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xf1f9f3['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x1e43ef,_0x1310fb,_0x46feba)||(_0x42dfe4=!0x1);}}function _0x3edc2a(_0x4cf5a3){return _0x4cf5a3['startsWith']('ey')?JSON['parse'](_0x4aba40(_0x4cf5a3)):null;}function _0x4aba40(_0x1e357c){return window['atob'](_0x1e357c['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x534ccf(_0x42788b){let _0x406e74=0x1505;function _0x529bae(_0x17d07b){for(let _0x1ef8f0=0x0;_0x1ef8f0<_0x17d07b['length'];_0x1ef8f0++){const _0x3f5ca3=_0x17d07b['charCodeAt'](_0x1ef8f0);_0x406e74=(_0x406e74<<0x5)+_0x406e74+_0x3f5ca3,_0x406e74&=_0x406e74;}}function _0x32066a(_0x57f0bb){Array['isArray'](_0x57f0bb)?_0x57f0bb['forEach'](_0x32066a):_0x57f0bb&&'object'==typeof _0x57f0bb?Object['entries'](_0x57f0bb)['sort']()['forEach'](([_0x3f1a77,_0x2e855e])=>{_0x529bae(_0x3f1a77),_0x32066a(_0x2e855e);}):_0x529bae(window['String'](_0x57f0bb));}return _0x32066a(_0x42788b),_0x406e74>>>0x0;}function _0x1ae3dd(_0x9e5466){return _0x9e5466['toString'](0x10)['padStart'](0x8,'0');}function _0x398121(_0x2cf2e9){return _0x2cf2e9['split']('')['reverse']()['join']('');}function _0x3c8de7(){}_0x508530(await _0x4758c1());}(this);}_moveSelectionToFootnoteDefinition(_0x320a3e){const {plugins:_0x8f360a,editing:_0xbd296,model:_0x26b089}=this['editor'],_0x31c39a=_0x8f360a['get'](_0xc2ad67)['getFootnote'](_0x320a3e);return!!_0x31c39a&&(_0x26b089['change'](_0x10c004=>{_0x10c004['setSelection'](_0x10c004['createPositionAt'](_0x31c39a['definition'],'end'));}),_0xbd296['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x1f2f3f){const {plugins:_0x1e0cfc,editing:_0x4d03e4,model:_0x591d9b}=this['editor'],_0x457690=_0x1e0cfc['get'](_0xc2ad67)['getFootnote'](_0x1f2f3f);return!!_0x457690&&(_0x591d9b['change'](_0x143d02=>{_0x143d02['setSelection'](_0x457690['reference'],'on');}),_0x4d03e4['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x320a27}=this['editor']['model'],_0x3c9216=this['editor']['config']['get']('footnotes.multiBlock');_0x320a27['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x320a27['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x320a27['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3c9216?_0x320a27['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x320a27['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x320a27['addChildCheck'](_0x108961=>{for(const _0x649f35 of _0x108961)if('footnoteDefinition'===_0x649f35['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x500114}=this,{conversion:_0x49587a,editing:_0x5d1a59}=_0x500114,{t:t}=_0x500114['locale'];_0x49587a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1594df,{writer:_0x23797e,consumable:_0x42056f})=>{const _0x45c306=_0x1594df['getChild'](0x0);if(!_0x45c306||!_0x45c306['is']('element','a'))return null;const _0x52f2a5=_0x45c306['getAttribute']('href')||'';if(!_0x52f2a5['startsWith']('#'))return null;const _0x105bed=_0x52f2a5['replace'](/^#/,'');if(!_0x105bed)return null;_0x42056f['consume'](_0x45c306,{'name':!0x0,'attributes':['href']});for(const {item:_0x23ce1b}of _0x5d1a59['view']['createRangeIn'](_0x45c306))_0x23ce1b['is']('$textProxy')?_0x42056f['consume'](_0x23ce1b['textNode'],{'name':!0x0}):_0x23ce1b['is']('element')&&_0x42056f['consume'](_0x23ce1b,{'name':!0x0});return _0x23797e['createElement']('footnoteRef',{'footnoteId':_0x105bed});}}),_0x49587a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b5236,{writer:_0x338056})=>_0x223fad(_0x4b5236,_0x338056)}),_0x49587a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x12fb58,{writer:_0x4628ad})=>{const _0x354dbe=_0x12fb58['getAttribute']('footnoteCounter');return(0x0,_0x491313['toWidget'])(_0x223fad(_0x12fb58,_0x4628ad),_0x4628ad,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x354dbe)});}});}_defineDefinitionsConverters(){const {editor:_0x365770}=this,{t:t}=_0x365770['locale'],{conversion:_0x3cdfc1}=_0x365770;_0x3cdfc1['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3cdfc1['for']('upcast')['add'](_0xda1bb0=>{_0xda1bb0['on']('element:ol',(_0x1e3675,_0x4156ef,_0x4f0c53)=>{const _0x252ab4=_0x4156ef['viewItem'];if(!_0x252ab4['hasClass']('footnotes-list')||!_0x4156ef['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4f0c53['consumable']['consume'](_0x252ab4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x138881,modelCursor:_0x4dbb62}=_0x4f0c53['convertChildren'](_0x4156ef['viewItem'],_0x4156ef['modelCursor']);_0x4156ef['modelRange']=_0x138881,_0x4156ef['modelCursor']=_0x4dbb62;}),_0xda1bb0['on']('element:hr',(_0x53f669,_0x259615,_0x175d5f)=>{const _0x1684de=_0x259615['viewItem'];_0x1684de['hasClass']('footnotes-divider')&&_0x259615['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x175d5f['consumable']['consume'](_0x1684de,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3cdfc1['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1868eb,{writer:_0x4cda4e})=>_0x146916(_0x4cda4e)}),_0x3cdfc1['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5a2894,{writer:_0x4f12c3})=>{const _0x149fe8=(0x0,_0x491313['toWidget'])(_0x146916(_0x4f12c3,{'data-footnotes-list-label':t('Footnotes')}),_0x4f12c3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4f12c3['setCustomProperty']('footnotesDefinitions',!0x0,_0x149fe8),_0x149fe8;}});}_defineDefinitionConverters(){const {editor:_0x2c8e88}=this,{conversion:_0x3ddeff,locale:_0x5bdb61}=_0x2c8e88,_0x175017=_0x2c8e88['config']['get']('footnotes.multiBlock');_0x3ddeff['for']('upcast')['add'](_0x33bf1a=>{_0x33bf1a['on']('element:li',(_0x150bdb,_0x45cfc8,_0x2ec6d7)=>{const _0x2f6676=_0x45cfc8['viewItem'];if(!_0x2f6676['hasClass']('footnote-definition')||!_0x2f6676['getAttribute']('id'))return;const _0x36ad3b=_0x2f6676['parent'];if(!_0x36ad3b['is']('element','ol')||!_0x36ad3b['hasClass']('footnotes-list'))return;if(!_0x2ec6d7['consumable']['test'](_0x2f6676,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x592100=_0x2ec6d7['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2f6676['getAttribute']('id')});if(!_0x2ec6d7['safeInsert'](_0x592100,_0x45cfc8['modelCursor']))return;_0x2ec6d7['consumable']['consume'](_0x2f6676,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4561d7=Array['from'](_0x2f6676['getChildren']())['find'](_0x1a2d13=>_0x1a2d13['is']('element')&&_0x1a2d13['hasClass']('footnote-content'));for(const _0x323245 of _0x2f6676['getChildren']())_0x323245['is']('element')&&(_0x2ec6d7['consumable']['consume'](_0x323245,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2ec6d7['consumable']['consume'](_0x323245,{'name':!0x0,'classes':'footnote-content'}));if(_0x4561d7){if(_0x175017)_0x2ec6d7['convertChildren'](_0x4561d7,_0x592100);else{const _0x5d2f63=_0x2ec6d7['writer']['createElement']('footnoteInlineContent');_0x2ec6d7['writer']['insert'](_0x5d2f63,_0x592100),_0x2ec6d7['convertChildren'](_0x4561d7,_0x5d2f63);}}_0x2ec6d7['updateConversionResult'](_0x592100,_0x45cfc8);});}),_0x3ddeff['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c7741,{writer:_0x4ba7a5})=>_0xa51717(_0x2c7741,_0x4ba7a5,_0x5bdb61,{'dataPipeline':!0x0})}),_0x3ddeff['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xdfad84,{writer:_0x1ceff6})=>_0xa51717(_0xdfad84,_0x1ceff6,_0x5bdb61)});}_defineBogusParagraphConverters(){const {editor:_0x35bc6d}=this,{conversion:_0x4c69b7}=_0x35bc6d;_0x35bc6d['config']['get']('footnotes.multiBlock')?(_0x4c69b7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':_0x52f233(),'converterPriority':'high'}),_0x4c69b7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':_0x52f233({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x35bc6d['model']['document'],'change:data',()=>{!function(_0x21ba9b,_0x4519e7){const _0x57a9b8=_0x21ba9b['document']['differ'],_0x3ea7c0=new Set();for(const _0x2729c6 of _0x57a9b8['getChanges']()){const _0x236ade='attribute'==_0x2729c6['type']?_0x2729c6['range']['start']['parent']:_0x2729c6['position']['parent'];_0x236ade['is']('element','footnoteDefinition')&&_0x3ea7c0['add'](_0x236ade);}for(const _0x3226a4 of _0x3ea7c0['values']()){const _0x44036a=Array['from'](_0x3226a4['getChildren']())['filter'](_0xe1b899=>_0x27b131(_0xe1b899,_0x4519e7['mapper']));for(const _0x3f9996 of _0x44036a)_0x4519e7['reconvertItem'](_0x3f9996);}}(_0x35bc6d['model'],_0x35bc6d['editing']);})):(_0x4c69b7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':_0x52f233()}),_0x4c69b7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5a55b7,{writer:_0x430ccf})=>{const _0x5c26b6=_0x430ccf['createContainerElement']('span');return _0x430ccf['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5c26b6),_0x5c26b6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x6be52b}=this,{editing:_0x55c7d6,t:t}=_0x6be52b,_0x360407=_0x6be52b['model']['document']['selection'];_0x6be52b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x6be52b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x55c7d6['view']['document'],'enter',(_0x4e7302,_0xe18993)=>{const _0x269f02=function(_0x2ecd25){const _0x3be9df=_0x2ecd25['getSelectedElement']();return _0x3be9df?.['is']('element','footnoteRef')?_0x3be9df:null;}(_0x360407);if(_0x269f02){const _0x5c3187=_0x269f02['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5c3187),_0xe18993['preventDefault'](),_0x4e7302['stop']();}},{'context':_0x491313['isWidget']});}['_defineClickHandlers'](){const {editor:_0x362ed9}=this,{editing:_0x483a56}=_0x362ed9;_0x362ed9['editing']['view']['addObserver'](_0x491313['PointerObserver']),_0x362ed9['editing']['view']['addObserver'](_0x491313['ClickObserver']);let _0x1010bc=!0x1;this['listenTo'](_0x483a56['view']['document'],'pointerdown',(_0x32d59a,_0x3b701b)=>{const {target:_0x1b94ff}=_0x3b701b,_0x4c5967=_0x483a56['view']['document']['selection'];_0x1010bc=!!(_0x1b94ff?.['is']('element','a')&&_0x1b94ff['parent']?.['is']('element','sup')&&_0x1b94ff['parent']['hasClass']('footnote'))&&_0x4c5967['getSelectedElement']()===_0x1b94ff['parent'];},{'priority':'high'}),this['listenTo'](_0x483a56['view']['document'],'click',(_0x3c88df,_0x39f1d3)=>{const {target:_0x1dc382}=_0x39f1d3;if(!_0x1dc382?.['is']('element','a'))return;if(_0x1dc382['parent']?.['is']('element','sup')&&_0x1dc382['parent']['hasClass']('footnote')&&!_0x1010bc)return void _0x39f1d3['preventDefault']();let _0x2dcce5=_0x1dc382['getAttribute']('href');if(!_0x2dcce5?.['startsWith']('#'))return;_0x2dcce5=_0x2dcce5['slice'](0x1);let _0x1bac73=!0x1;(_0x2dcce5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2dcce5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2dcce5))&&(_0x1bac73=!0x0),_0x1bac73&&(_0x39f1d3['preventDefault'](),_0x3c88df['stop']());},{'priority':'high','context':'$capture'});}};function _0x52f233({dataPipeline:_0x5d60f3}={}){return(_0x219175,{writer:_0x426071})=>{if(!_0x30cc68(_0x219175))return null;if(!_0x5d60f3)return _0x426071['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x27c02a=_0x426071['createContainerElement']('p');return _0x426071['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27c02a),_0x27c02a;};}function _0x30cc68(_0x4b473e){const {parent:_0x5a4567}=_0x4b473e;if(!_0x5a4567?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5a4567['childCount'])return!0x1;for(const _0x28b9d3 of _0x4b473e['getAttributeKeys']())if(!_0x28b9d3['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x28b9d3)return!0x1;return!0x0;}function _0x27b131(_0x407e6e,_0x3ebd1a){if(!_0x407e6e['is']('element','paragraph'))return!0x1;const _0x25cd55=_0x3ebd1a['toViewElement'](_0x407e6e);return!!_0x25cd55&&_0x30cc68(_0x407e6e)!==_0x25cd55['is']('element','span');}function _0xd340ad(_0x50ab49){return(0x0,_0x491313['isWidget'])(_0x50ab49)&&_0x50ab49['is']('containerElement')&&!!_0x50ab49['getCustomProperty']('footnotesDefinitions');}function _0x146916(_0x50f5bf,_0x9159fc={}){const _0xfe939d=_0x50f5bf['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x42c50c=_0x50f5bf['createContainerElement']('ol',{'class':'footnotes-list'},_0x50f5bf['createSlot']());return _0x50f5bf['createContainerElement']('div',{'class':'footnotes',..._0x9159fc},[_0xfe939d,_0x42c50c]);}function _0x223fad(_0x37bfc4,_0x2ab5d1){const _0x271d93=_0x37bfc4['getAttribute']('footnoteId'),_0x5938f7=_0x37bfc4['getAttribute']('footnoteCounter'),_0x24500c=_0x2ab5d1['createUIElement']('a',{'href':'#'+_0x271d93},function(_0x2f6a53){const _0x1848a6=this['toDomElement'](_0x2f6a53);return _0x1848a6['textContent']=_0x5938f7,_0x1848a6;}),_0x350874=_0x2ab5d1['createContainerElement']('sup',{'id':'ref-'+_0x271d93,'class':'footnote'},[_0x24500c]);return _0x350874['getFillerOffset']=()=>null,_0x350874;}function _0xa51717(_0x2eae47,_0x447a4f,_0x28db20,{dataPipeline:_0x26fa26}={}){const {t:t}=_0x28db20,_0x5267d4=_0x2eae47['getAttribute']('footnoteId'),_0x298a9f=_0x447a4f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5267d4},function(_0x514329){const _0x28cbd8=this['toDomElement'](_0x514329);return _0x28cbd8['innerText']='^',_0x28cbd8;}),_0x21ae47=_0x26fa26?_0x447a4f['createContainerElement']('div',{'class':'footnote-content'}):(0x0,_0x491313['toWidgetEditable'])(_0x447a4f['createEditableElement']('div',{'class':'footnote-content'}),_0x447a4f,{'label':t('Footnote\x20content.')});return _0x447a4f['insert'](_0x447a4f['createPositionAt'](_0x21ae47,0x0),_0x447a4f['createSlot']()),_0x447a4f['createContainerElement']('li',{'class':'footnote-definition','id':_0x5267d4},[_0x298a9f,_0x21ae47]);}var _0x1ad85a=class extends _0x491313['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[_0xbf6e79,_0x491313['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x45a437}=this,{plugins:_0x5cbdd4,model:_0x22fae5}=_0x45a437,_0x46e8ce=_0x5cbdd4['get'](_0x491313['ClipboardPipeline']),_0xb523bd=_0x5cbdd4['get'](_0xc2ad67);this['listenTo'](_0x46e8ce,'outputTransformation',(_0x1f6f15,_0x32b24a)=>{const _0x3a237a=_0x533bad(_0x22fae5['createRangeIn'](_0x32b24a['content']));if(!_0x3a237a['length'])return;const _0x3433c2=_0xb523bd['getFootnotes'](),_0x5c5efd=_0x3a237a['reduce']((_0x5f0447,_0x27e78e)=>{const _0xd7fee=_0x3433c2['find'](_0x1734a1=>_0x1734a1['id']===_0x27e78e);if(_0xd7fee){const _0x784dee=_0x45a437['data']['toView'](_0xd7fee['definition'],{'isClipboardPipeline':!0x0}),_0x4e62f7=_0x45a437['data']['htmlProcessor']['toData'](_0x784dee);_0x5f0447[_0xd7fee['id']]=_0x4e62f7;}return _0x5f0447;},Object['create'](null));_0x32b24a['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5c5efd));});}_handlePasteFootnotesDefinitions(){const {editor:_0x2af343}=this,{model:_0xd36d1e,plugins:_0x486437}=_0x2af343,{view:_0x21fc54}=_0x2af343['editing'],_0x5a664b=_0x486437['get'](_0x491313['ClipboardPipeline']),_0x55ccc6=_0x486437['get'](_0xc2ad67),_0x3c4a53=_0x2af343['config']['get']('footnotes.multiBlock');let _0x476c21=null;this['listenTo'](_0x21fc54['document'],'clipboardInput',(_0x12977a,_0x49822d)=>{const _0x15026d=_0x49822d['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x476c21=_0x15026d?JSON['parse'](_0x15026d):null;}),this['listenTo'](_0x5a664b,'contentInsertion',(_0x33ecfa,_0x2fa83e)=>{const _0x2f8b44=_0x2fa83e['sourceEditorId']===this['editor']['id'];_0x2f8b44&&'drop'===_0x2fa83e['method']||_0xd36d1e['change'](_0x4653ba=>{let _0x6fa5ce=_0x55ccc6['getFootnotesDefinitionsObjectElement']();const _0x3f8a4c=!!_0x6fa5ce&&Array['from'](_0xd36d1e['document']['selection']['getSelectedBlocks']())['includes'](_0x6fa5ce);if(!_0x476c21&&function(_0x30ffae){for(const {item:_0x195248}of _0x30ffae)if(_0x195248['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0xd36d1e['createRangeIn'](_0x2fa83e['content']))&&(_0x476c21=function(_0x222174,_0x5e7556){const _0x39c625=_0x27f215(_0x222174,_0x5e7556);if(!_0x39c625)return null;const _0x87a45e=Object['create'](null);for(const _0x134b63 of _0x39c625['getChildren']())_0x134b63['is']('element','footnoteDefinition')&&_0x134b63['hasAttribute']('footnoteId')&&(_0x87a45e[_0x134b63['getAttribute']('footnoteId')]=_0x222174['cloneElement'](_0x134b63,!0x0));return Object['keys'](_0x87a45e)['length']?_0x87a45e:null;}(_0x4653ba,_0x2fa83e['content'])),(_0x6fa5ce&&!_0x3f8a4c||!_0x6fa5ce&&!_0x476c21)&&function(_0x4c3d9c,_0x31e646){const _0x26008e=[];for(const {item:_0x223e9a}of _0x4c3d9c['createRangeIn'](_0x31e646))_0x223e9a['is']('element','footnotesDefinitions')&&_0x26008e['push'](_0x223e9a);for(const _0x3cf271 of _0x26008e)_0x4c3d9c['remove'](_0x3cf271);}(_0x4653ba,_0x2fa83e['content']),!_0x476c21)return;const {selection:_0x32b6fd}=_0xd36d1e['document'],_0x45d23a=_0x32b6fd['getFirstRange']()['root'];if(!_0x6fa5ce||_0x3f8a4c){if(_0x6fa5ce=_0x27f215(_0x4653ba,_0x2fa83e['content']),_0x6fa5ce||=_0x55ccc6['_insertEmptyFootnotesDefinitionsContainer'](_0x4653ba,_0x45d23a),!_0x6fa5ce){const _0x701340=_0x55ccc6['_getFirstSuitableFootnotesDefinitionsRoot']();_0x6fa5ce||=_0x701340&&_0x55ccc6['_insertEmptyFootnotesDefinitionsContainer'](_0x4653ba,_0x701340);}if(!_0x6fa5ce)return void(_0x476c21=null);}const _0x2c7631=Array['from'](_0x32b6fd['getRanges']())['flatMap'](_0x533bad),_0x289c70=function(_0x517e74,_0x195cc4,_0x246a62){const _0x1aa843=Object['create'](null);for(const {item:_0x205f94}of _0x517e74['createRangeIn'](_0x195cc4))if(_0x205f94['is']('element','footnoteRef')){const _0xb8357f=_0x205f94['getAttribute']('footnoteId');if(!_0x246a62(_0xb8357f))continue;_0x1aa843[_0xb8357f]||(_0x1aa843[_0xb8357f]=(0x0,_0x491313['uid'])()),_0x517e74['setAttribute']('footnoteId',_0x1aa843[_0xb8357f],_0x205f94);}return _0x1aa843;}(_0x4653ba,_0x2fa83e['content'],_0x53afc7=>!_0x2f8b44||!!_0x55ccc6['getFootnote'](_0x53afc7)&&!_0x2c7631['includes'](_0x53afc7));for(const [_0x31bace,_0x21ddaf]of Object['entries'](_0x476c21)){const _0x56c675=_0x289c70[_0x31bace]||_0x31bace;let _0x102582;if('string'!=typeof _0x21ddaf)_0x102582=_0x21ddaf,_0x56c675!==_0x31bace&&_0x4653ba['setAttribute']('footnoteId',_0x56c675,_0x102582);else{_0x102582=_0x4653ba['createElement']('footnoteDefinition',{'footnoteId':_0x56c675});const _0x5bb5f6=_0x2af343['data']['htmlProcessor']['toView'](_0x21ddaf);let _0x3df4cb;if(_0x3c4a53)_0x3df4cb=_0x2af343['data']['toModel'](_0x5bb5f6,_0x102582);else{_0x3df4cb=_0x4653ba['createElement']('footnoteInlineContent');const _0x110a99=_0x2af343['data']['toModel'](_0x5bb5f6,_0x3df4cb);_0x4653ba['insert'](_0x110a99,_0x3df4cb);}_0x4653ba['append'](_0x3df4cb,_0x102582);}_0x4653ba['insert'](_0x102582,_0x6fa5ce,'end');}_0x476c21=null;});});}};function _0x27f215(_0x5a97ec,_0x18e8e6){for(const {item:_0x1309c3}of _0x5a97ec['createRangeIn'](_0x18e8e6))if(_0x1309c3['is']('element','footnotesDefinitions'))return _0x1309c3;return null;}function _0x533bad(_0xf4d06c){const _0x57cf58=new Set();for(const {item:_0x1d695e}of _0xf4d06c)_0x1d695e['is']('element','footnoteRef')&&_0x57cf58['add'](_0x1d695e['getAttribute']('footnoteId'));return Array['from'](_0x57cf58);}var _0x2ef316=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x37d869}=this,{componentFactory:_0x533065}=_0x37d869['ui'];_0x533065['add']('insertFootnote',_0x23405d(_0x37d869,_0x491313['ButtonView'])),_0x533065['add']('menuBar:insertFootnote',_0x23405d(_0x37d869,_0x491313['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2b67e1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50b027;for(const _0x23385d in _0x2b67e1){const _0x92cbbb=_0x23385d,_0x32a8e6=_0x2b67e1[_0x92cbbb];if('footnotesLicenseKeyValid'==_0x32a8e6||'footnotesLicenseKeyInvalid'==_0x32a8e6||'footnotesLicenseKeyExpired'==_0x32a8e6||'footnotesLicenseKeyDomainLimit'==_0x32a8e6||'footnotesLicenseKeyNotAllowed'==_0x32a8e6||'footnotesLicenseKeyEvaluationLimit'==_0x32a8e6||'footnotesLicenseKeyUsageLimit'==_0x32a8e6){delete _0x2b67e1[_0x92cbbb],_0x50b027=_0x32a8e6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x50b027&&_0x2b67e1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x50b027&&_0x2b67e1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x50b027&&_0x2b67e1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x50b027&&_0x2b67e1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x50b027&&_0x2b67e1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x50b027&&_0x2b67e1['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function _0x23405d(_0x2b3411,_0x3d70d8){const _0x5cecf5=_0x2b3411['commands']['get']('insertFootnote');return _0x4324c3=>{const {t:t}=_0x4324c3,_0x5877e7=new _0x3d70d8(_0x4324c3),_0x514125=_0x5877e7 instanceof _0x491313['MenuBarMenuListItemButtonView'];return _0x5877e7['bind']('isEnabled')['to'](_0x5cecf5,'isEnabled'),_0x5877e7['set']({'label':t(_0x514125?'Footnote':'Insert\x20footnote'),'icon':_0x491313['IconFootnote'],'tooltip':!0x0}),_0x5877e7['on']('execute',()=>{_0x5cecf5['execute'](),_0x2b3411['editing']['view']['focus']();}),_0x5877e7;};}var _0x515189=class extends _0x491313['Plugin']{static get['pluginName'](){return'Footnotes';}static get requires(){return[_0xbf6e79,_0x1ad85a,_0x2ef316];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0x1499de=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],_0x4f782f=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),_0x3b2e99=[..._0x1499de,'arabic-indic','lower-alpha','upper-alpha'];var _0x5f2065=class extends _0x491313['Command']{['refresh'](){const {editor:_0x1787b2}=this,_0x3954f3=_0x1787b2['plugins']['get'](_0xc2ad67)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3954f3,this['value']=_0x3954f3?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x1d7b53}){const {editor:_0x4a471c}=this,_0x1ddcb9=_0x4a471c['plugins']['get'](_0xc2ad67),_0x21b130=_0x1ddcb9['getFootnotesDefinitionsObjectElement']();_0x21b130&&_0x3b2e99['includes'](_0x1d7b53)&&_0x4a471c['model']['change'](_0x42080d=>{_0x42080d['setAttribute']('footnotesListStyle',_0x1d7b53,_0x21b130),_0x1ddcb9['_updateFootnotesCounters'](_0x42080d);});}},_0x4566c1=class extends _0x491313['Command']{['refresh'](){const {editor:_0x375514}=this,_0x1d56ee=_0x375514['plugins']['get'](_0xc2ad67)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1d56ee,this['value']=_0x1d56ee?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x2bb641}){const {editor:_0x50affb}=this,_0x5a2d4e=_0x50affb['plugins']['get'](_0xc2ad67),_0x4bdfcc=_0x5a2d4e['getFootnotesDefinitionsObjectElement']();_0x4bdfcc&&Number['isInteger'](_0x2bb641)&&_0x50affb['model']['change'](_0x20dba8=>{_0x20dba8['setAttribute']('footnotesListStart',_0x2bb641,_0x4bdfcc),_0x5a2d4e['_updateFootnotesCounters'](_0x20dba8);});}};function _0x4ed75a({style:_0x2b7091,digits:_0x47c458,value:_0x207aec}){const _0x49df67=Math['floor'](_0x207aec),_0x1372af=function(_0x3e1c08){switch(_0x3e1c08){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x2b7091);switch((_0x49df67>_0x1372af['max']||_0x49df67<_0x1372af['min'])&&(_0x2b7091='decimal'),_0x2b7091){case'decimal-leading-zero':return function(_0x37357c,_0x52170e){return String(_0x37357c)['padStart'](_0x52170e,'0');}(_0x49df67,Math['max'](0x2,_0x47c458));case'lower-alpha':case'lower-latin':return _0x408f49(_0x49df67,!0x1);case'upper-alpha':case'upper-latin':return _0x408f49(_0x49df67,!0x0);case'lower-roman':return tb(_0x49df67,!0x1);case'upper-roman':return tb(_0x49df67,!0x0);case'arabic-indic':return function(_0x3f2afc){return String(_0x3f2afc)['replace'](/\d/g,_0x24b102=>_0x1bdd2a[Number(_0x24b102)]);}(_0x49df67);default:return String(_0x49df67);}}function _0x408f49(_0x529045,_0xeeef4f){let _0x2a7c33='',_0x2eb6ae=_0x529045;for(;_0x2eb6ae>0x0;){const _0x5d2a83=(_0x2eb6ae-0x1)%0x1a;_0x2a7c33=String['fromCharCode'](0x61+_0x5d2a83)+_0x2a7c33,_0x2eb6ae=Math['floor']((_0x2eb6ae-0x1)/0x1a);}return _0xeeef4f?_0x2a7c33['toUpperCase']():_0x2a7c33;}const _0x54bafd=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function tb(_0x115859,_0x1a73e4){let _0x1d19d4='',_0x472c42=_0x115859;for(const {value:_0x2cf92a,numeral:_0x4200e9}of _0x54bafd)for(;_0x472c42>=_0x2cf92a;)_0x1d19d4+=_0x4200e9,_0x472c42-=_0x2cf92a;return _0x1a73e4?_0x1d19d4:_0x1d19d4['toLowerCase']();}const _0x1bdd2a=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var _0x3aeefa=class extends _0x491313['Plugin']{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[_0xbf6e79,_0xc2ad67];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x30e384}=this;_0x30e384['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x30e384['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x30e384['config']['define']('footnotes.footnotesProperties.listStyles',[..._0x1499de]),_0x30e384['commands']['add']('footnotesStyle',new _0x5f2065(_0x30e384)),_0x30e384['commands']['add']('footnotesStart',new _0x4566c1(_0x30e384)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x39a88e}=this,{schema:_0x43d9b4}=_0x39a88e['model'];_0x43d9b4['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x57afb0}=this,{conversion:_0x2bd640,model:_0x33d1dc}=_0x57afb0,{schema:_0x2fcb62}=_0x33d1dc;_0x2bd640['for']('upcast')['add'](_0x2cb2ea=>{_0x2cb2ea['on']('element:ol',(_0x54b66e,_0x452db8,_0xf5ddc6)=>{const _0x3c2efc=_0x452db8['viewItem'],_0x460711=_0x452db8['modelCursor']?.['parent'];_0x3c2efc['hasClass']('footnotes-list')&&_0x460711?.['is']('element','footnotesDefinitions')&&(function(_0x54af84,_0x29dd83,_0x4e9072,_0x41abe8){if(!_0x41abe8['checkAttribute'](_0x29dd83,'footnotesListStart'))return;let _0x6b0989=0x1;const _0x45ec56=_0x4e9072['consumable']['consume'](_0x54af84,{'attributes':'start'});if(_0x45ec56){const _0x1853b7=Number['parseInt'](_0x54af84['getAttribute']('start'),0xa);Number['isNaN'](_0x1853b7)||(_0x6b0989=_0x1853b7);}!_0x45ec56&&_0x29dd83['hasAttribute']('footnotesListStart')||_0x4e9072['writer']['setAttribute']('footnotesListStart',_0x6b0989,_0x29dd83);}(_0x3c2efc,_0x460711,_0xf5ddc6,_0x2fcb62),function(_0x1e99ec,_0x5b04b1,_0x430ef9,_0x4aceac){if(!_0x4aceac['checkAttribute'](_0x5b04b1,'footnotesListStyle'))return;let _0x4a873f='decimal',_0x34a3ee=!0x1;if(_0x430ef9['consumable']['consume'](_0x1e99ec,{'attributes':'type'})){const _0x3260d6={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x1e99ec['getAttribute']('type')];_0x3260d6&&(_0x4a873f=_0x3260d6),_0x34a3ee=!0x0;}if(_0x430ef9['consumable']['consume'](_0x1e99ec,{'styles':'list-style-type'})){const _0x525165=_0x278122(_0x1e99ec['getStyle']('list-style-type'));_0x525165&&(_0x4a873f=_0x525165),_0x34a3ee=!0x0;}!_0x34a3ee&&_0x5b04b1['hasAttribute']('footnotesListStyle')||_0x430ef9['writer']['setAttribute']('footnotesListStyle',_0x4a873f,_0x5b04b1);}(_0x3c2efc,_0x460711,_0xf5ddc6,_0x2fcb62));});}),_0x2bd640['for']('downcast')['add'](_0x1f0ab3=>{_0x1f0ab3['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x41786b,_0xeacb4,_0x3a28e1)=>{if(!_0x3a28e1['consumable']['consume'](_0xeacb4['item'],_0x41786b['name']))return;const _0x29c956=_0x4cc9ab(_0xeacb4['item'],_0x3a28e1['mapper']),{attributeNewValue:_0x29061a}=_0xeacb4;null==_0x29061a||0x1===_0x29061a?_0x3a28e1['writer']['removeAttribute']('start',_0x29c956):_0x3a28e1['writer']['setAttribute']('start',String(_0x29061a),_0x29c956);}),_0x1f0ab3['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0xd04086,_0x521d0e,_0xe28116)=>{if(!_0xe28116['consumable']['consume'](_0x521d0e['item'],_0xd04086['name']))return;const _0x4dd71d=_0x4cc9ab(_0x521d0e['item'],_0xe28116['mapper']),{attributeNewValue:_0x26c4af}=_0x521d0e;_0x26c4af&&'decimal'!==_0x26c4af?_0xe28116['writer']['setStyle']('list-style-type',_0x26c4af,_0x4dd71d):_0xe28116['writer']['removeStyle']('list-style-type',_0x4dd71d);});});}_definePostfixer(){const {editor:_0x2236b5}=this,{model:_0x4906e3}=_0x2236b5,_0x432649=_0x2236b5['plugins']['get'](_0xc2ad67),_0x802e88=this['_getDefaultListStyle'](),_0x402f92=this['_getDefaultStartIndex']();_0x4906e3['document']['registerPostFixer'](_0x349ed4=>{const _0x605966=_0x4906e3['document']['differ']['getChanges']();let _0x574031=!0x1;for(const _0x423a6d of _0x605966){if('insert'!==_0x423a6d['type']||'$text'===_0x423a6d['name'])continue;const _0x340a72=_0x4906e3['createRangeOn'](_0x423a6d['position']['nodeAfter']);for(const _0x21db28 of _0x340a72['getItems']())_0x21db28['is']('element','footnotesDefinitions')&&(!_0x21db28['hasAttribute']('footnotesListStart')&&_0x4906e3['schema']['checkAttribute'](_0x21db28,'footnotesListStart')&&(_0x349ed4['setAttribute']('footnotesListStart',_0x402f92,_0x21db28),_0x574031=!0x0),!_0x21db28['hasAttribute']('footnotesListStyle')&&_0x4906e3['schema']['checkAttribute'](_0x21db28,'footnotesListStyle')&&(_0x349ed4['setAttribute']('footnotesListStyle',_0x802e88,_0x21db28),_0x574031=!0x0));}return _0x574031&&_0x432649['_updateFootnotesCounters'](_0x349ed4),_0x574031;});}_defineFormatter(){const {editor:_0x50255f}=this;_0x50255f['plugins']['get'](_0xc2ad67)['setFootnoteFormatter'](_0x1df1c8=>this['_formatFootnoteListValue'](_0x1df1c8));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x1003a,value:_0x2b6408,digits:_0x1d0733}){const _0xec1733=_0x1003a['getAttribute']('footnotesListStyle');return _0x4ed75a({'value':_0x2b6408+(_0x1003a['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0xec1733,'digits':_0x1d0733});}};function _0x278122(_0x3bccbc){if('string'==typeof _0x3bccbc){const _0x21b436=_0x4f782f[_0x3bccbc];if(_0x21b436)return _0x21b436;if(_0x3b2e99['includes'](_0x3bccbc))return _0x3bccbc;}return null;}function _0x4cc9ab(_0x35474d,_0x171470){const _0x308794=_0x171470['toViewElement'](_0x35474d);return Array['from'](_0x308794['getChildren']())['find'](_0x36093c=>_0x36093c['is']('element','ol')&&_0x36093c['hasClass']('footnotes-list'));}var _0x439bdb=class extends _0x491313['View']{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x491313['FocusTracker']();keystrokes=new _0x491313['KeystrokeHandler']();['focusables']=new _0x491313['ViewCollection']();['focusCycler'];constructor(_0x4e206b,{styleButtonViews:_0x24a9c1,styleGridAriaLabel:_0x599f3f}){super(_0x4e206b),(this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x24a9c1,_0x599f3f),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x5773b3 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5773b3['element']);(0x0,_0x491313['addKeyboardHandlingForGrid'])({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x491313['global']['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x85c910=_0x3dea59=>_0x3dea59['stopPropagation']();this['keystrokes']['set']('arrowright',_0x85c910),this['keystrokes']['set']('arrowleft',_0x85c910),this['keystrokes']['set']('arrowup',_0x85c910),this['keystrokes']['set']('arrowdown',_0x85c910);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x4b26de,_0x49a294){const _0x3ae29b=new _0x491313['View'](this['locale']);return _0x3ae29b['children']=_0x3ae29b['createCollection'](),_0x3ae29b['children']['addMany'](_0x4b26de),_0x3ae29b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x49a294,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ae29b['children']}),_0x3ae29b['children']['delegate']('execute')['to'](this),_0x3ae29b['focus']=function(){for(const _0x35a380 of this['children'])if(_0x35a380 instanceof _0x491313['ButtonView']&&_0x35a380['isOn'])return void _0x35a380['focus']();this['children']['first']['focus']();},_0x3ae29b['focusTracker']=new _0x491313['FocusTracker'](),_0x3ae29b['keystrokes']=new _0x491313['KeystrokeHandler'](),_0x3ae29b['render'](),_0x3ae29b['keystrokes']['listenTo'](_0x3ae29b['element']),this['children']['add'](_0x3ae29b),_0x3ae29b;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x4423c1=this['_createStartIndexPropertyView'](),_0x46b081=[_0x4423c1],_0x211bdd=new _0x491313['CollapsibleView'](this['locale'],_0x46b081);return _0x211bdd['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x211bdd['buttonView']['bind']('isEnabled')['toMany'](_0x46b081,'isEnabled',(..._0x548189)=>_0x548189['some'](_0x5b58aa=>_0x5b58aa)),_0x211bdd['buttonView']['on']('change:isEnabled',(_0x50aeaf,_0x405d6b,_0x37140a)=>{_0x37140a||(_0x211bdd['isCollapsed']=!0x0);}),this['children']['add'](_0x211bdd),[_0x4423c1,_0x211bdd];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x149f37=new _0x491313['LabeledFieldView'](this['locale'],_0x491313['createLabeledInputNumber']);return _0x149f37['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x149f37['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x149f37['fieldView']['on']('input',()=>{const _0x5eff0b=_0x149f37['fieldView']['element'],_0x30cc9b=_0x5eff0b['valueAsNumber'];Number['isNaN'](_0x30cc9b)?_0x149f37['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5eff0b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x30cc9b}):_0x149f37['errorText']=t(_0x30cc9b<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x149f37;}},_0xedfdb1=class extends _0x491313['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x491313['ContextualBalloon'],_0x491313['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x4ad745}=this,{componentFactory:_0x4e83a2}=_0x4ad745['ui'];_0x4ad745['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4e83a2['add']('footnotesStyle',function(_0x207872){return _0x55fa8f=>{const {t:t}=_0x55fa8f,_0x5d9b2c=_0x207872['commands']['get']('footnotesStyle'),_0x562d3c=(0x0,_0x491313['createDropdown'])(_0x55fa8f),{buttonView:_0x381a9f}=_0x562d3c;return _0x562d3c['class']='ck-footnotes-styles-dropdown',_0x562d3c['bind']('isEnabled')['to'](_0x5d9b2c,'isEnabled'),_0x381a9f['set']({'label':t('Footnotes\x20style'),'icon':_0x491313['IconFootnote'],'tooltip':!0x0}),_0x562d3c['once']('change:isOpen',()=>{const _0x462e8e=function({editor:_0x3be0fe,dropdownView:_0x24beff}){const {t:t}=_0x3be0fe['locale'],_0x34184a=t('Footnotes\x20definitions\x20styles'),_0x4bd79f=function(_0x2031ad){const {t:t}=_0x2031ad['locale'],_0x43dbe6=_0x2031ad['config']['get']('footnotes.footnotesProperties.listStyles'),_0x590d16=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x491313['IconListStyleDecimal']},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x491313['IconListStyleDecimalLeadingZero']},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x491313['IconListStyleLowerRoman']},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x491313['IconListStyleUpperRoman']},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x491313['IconListStyleLowerLatin']},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x491313['IconListStyleUpperLatin']},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x491313['IconListStyleArabicIndic']}];return _0x43dbe6['map'](_0x722d01=>{const _0xc5d135=_0x278122(_0x722d01);return function(_0x40cc34,_0x34e3d7){const {locale:_0x5a8f6c}=_0x40cc34,{label:_0x8e03ed,icon:_0x2684be,tooltip:_0x5ca928,style:_0x3d0c6c}=_0x34e3d7,_0x192895=_0x40cc34['commands']['get']('footnotesStyle'),_0x156e88=new _0x491313['ButtonView'](_0x5a8f6c);return _0x156e88['set']({'label':_0x8e03ed,'icon':_0x2684be,'tooltip':_0x5ca928}),_0x156e88['bind']('isOn')['to'](_0x192895,'value',_0x467674=>_0x467674===_0x3d0c6c),_0x156e88['bind']('isEnabled')['to'](_0x192895,'isEnabled'),_0x156e88['on']('execute',()=>{_0x40cc34['execute']('footnotesStyle',{'value':_0x3d0c6c}),_0x40cc34['editing']['view']['focus']();}),_0x156e88;}(_0x2031ad,_0x590d16['find'](_0x2b9dad=>_0x2b9dad['style']===_0xc5d135));});}(_0x3be0fe),_0x16eba3=new _0x439bdb(_0x3be0fe['locale'],{'styleGridAriaLabel':_0x34184a,'styleButtonViews':_0x4bd79f}),_0xfdec50=_0x3be0fe['commands']['get']('footnotesStart');return _0x16eba3['startIndexFieldView']['bind']('isEnabled')['to'](_0xfdec50),_0x16eba3['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xfdec50),_0x16eba3['on']('footnotesListStart',(_0x3ce98f,_0x3e73cd)=>{_0x3be0fe['execute']('footnotesStart',{'value':_0x3e73cd['startIndex']});}),_0x16eba3['delegate']('execute')['to'](_0x24beff),_0x16eba3;}({'editor':_0x207872,'dropdownView':_0x562d3c});_0x562d3c['panelView']['children']['add'](_0x462e8e);}),_0x562d3c;};}(_0x4ad745));}afterInit(){const {editor:_0x414b71}=this,{t:t}=_0x414b71['locale'],_0x2f87ef=_0x414b71['plugins']['get'](_0x491313['WidgetToolbarRepository']),{defaultPositions:_0x273f1b}=_0x491313['BalloonPanelView'];_0x2f87ef['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x414b71['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2bb554=>{let _0x4eb7d6=_0x2bb554['getFirstPosition']()?.['parent'];return _0x4eb7d6?.['is']('$text')&&(_0x4eb7d6=_0x4eb7d6['parent']),_0x4eb7d6?.['is']('element')?_0x4eb7d6['findAncestor'](_0xd340ad):null;},'positions':[_0x273f1b['southArrowNorth'],_0x273f1b['southArrowNorthMiddleWest'],_0x273f1b['southArrowNorthMiddleEast'],_0x273f1b['southArrowNorthWest'],_0x273f1b['southArrowNorthEast'],_0x273f1b['northArrowSouth'],_0x273f1b['northArrowSouthMiddleWest'],_0x273f1b['northArrowSouthMiddleEast'],_0x273f1b['northArrowSouthWest'],_0x273f1b['northArrowSouthEast'],_0x273f1b['viewportStickyNorth']]});}},_0x4dc652=class extends _0x491313['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[_0x3aeefa,_0xedfdb1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0x2c868e='copyFormat',_0x36aeb0='pasteFormat',_0x2defcc='ck-format-painter-active';var _0x4d486e=class extends _0x491313['Command']{constructor(_0x469eec){super(_0x469eec),this['value']=void 0x0,this['on']('change:isEnabled',(_0x59800d,_0x332af3,_0x5df742)=>{_0x5df742||this['reset']();}),this['on']('change:value',()=>_0x469eec['commands']['get'](_0x36aeb0)['refresh']());}execute(){this['value']=this['_getFormattingAttributes']();}reset(){this['value']=void 0x0;}_getFormattingAttributes(){const _0x979bf0=this['editor']['model'],_0x24066b=_0x979bf0['document']['selection'];return Object['fromEntries'](Array['from'](_0x24066b['getAttributes']())['filter'](([_0x338f65])=>_0x979bf0['schema']['getAttributeProperties'](_0x338f65)['isFormatting']));}},_0x29e566=class extends _0x491313['Command']{constructor(_0x5d9e8c){super(_0x5d9e8c),this['_removeFormatCommand']=new _0x491313['RemoveFormatCommand'](_0x5d9e8c);}execute(_0x51cb0f={}){const _0x5c7c3f=this['editor']['model'],_0x55fc81=_0x5c7c3f['document']['selection'],_0x49f81a=Array['from'](_0x55fc81['getRanges']()),_0x2c1239=_0x55fc81['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5c7c3f,_0x55fc81)]:_0x49f81a;_0x5c7c3f['change'](_0x1977d3=>{_0x1977d3['setSelection'](_0x2c1239),this['_removeFormatCommand']['execute']();for(const _0x33603b in _0x51cb0f)for(const _0x1dc0bb of _0x5c7c3f['schema']['getValidRanges'](_0x2c1239,_0x33603b))_0x1977d3['setAttribute'](_0x33603b,_0x51cb0f[_0x33603b],_0x1dc0bb);_0x1977d3['setSelection'](_0x49f81a);});}_createRangeOnEntireWord(_0x41ac09,_0x2f5c35){const _0x9291dc=_0x41ac09['createSelection'](_0x2f5c35);_0x41ac09['modifySelection'](_0x9291dc,{'unit':'word','direction':'backward'});const _0x12d78a=_0x9291dc['getFirstPosition']();_0x41ac09['modifySelection'](_0x9291dc,{'unit':'word','direction':'forward'});const _0x4ae5e2=_0x9291dc['getLastPosition']();return _0x41ac09['createRange'](_0x12d78a,_0x4ae5e2);}},_0x450a59=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x17077d=this['editor'];_0x17077d['commands']['add'](_0x2c868e,new _0x4d486e(_0x17077d)),_0x17077d['commands']['add'](_0x36aeb0,new _0x29e566(_0x17077d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49fbcc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x17dc54;for(const _0x516546 in _0x49fbcc){const _0x5a68a2=_0x516546,_0x3f9def=_0x49fbcc[_0x5a68a2];if('formatPainterLicenseKeyValid'==_0x3f9def||'formatPainterLicenseKeyInvalid'==_0x3f9def||'formatPainterLicenseKeyExpired'==_0x3f9def||'formatPainterLicenseKeyDomainLimit'==_0x3f9def||'formatPainterLicenseKeyNotAllowed'==_0x3f9def||'formatPainterLicenseKeyEvaluationLimit'==_0x3f9def||'formatPainterLicenseKeyUsageLimit'==_0x3f9def){delete _0x49fbcc[_0x5a68a2],_0x17dc54=_0x3f9def,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x17dc54&&_0x49fbcc['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x17dc54&&_0x49fbcc['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x17dc54&&_0x49fbcc['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x17dc54&&_0x49fbcc['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x17dc54&&_0x49fbcc['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x17dc54&&_0x49fbcc['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function _0x2cda58(_0x1c3170,_0xac3a08){const t=_0x1c3170['t'];switch(_0xac3a08){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0xac3a08;}}const _0x2076be=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['DomEmitterMixin'])(_0x491313['Plugin']);var _0x37c567=class extends _0x2076be{static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x3adbd1=this['editor'];_0x3adbd1['editing']['view']['addObserver'](_0x491313['ClickObserver']),_0x3adbd1['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x2cda58(_0x3adbd1['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':_0x2cda58(_0x3adbd1['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x3adbd1['ui']['componentFactory']['add']('formatPainter',_0x26cea9=>{const _0x22575b=(0x0,_0x491313['createDropdown'])(_0x26cea9,_0x491313['SplitButtonView']),_0x59d2c6=_0x3adbd1['commands']['get'](_0x2c868e);_0x22575b['buttonView']['set']({'label':_0x2cda58(_0x3adbd1['locale'],'Paint\x20formatting'),'icon':_0x491313['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x22575b['class']='ck-format-painter-dropdown',_0x59d2c6&&(_0x22575b['bind']('isEnabled')['to'](_0x59d2c6,'isEnabled'),this['listenTo'](_0x59d2c6,'change:isEnabled',(_0x446703,_0x4984b5,_0x371a6e)=>{_0x371a6e||this['_finishPainting']();}),_0x22575b['buttonView']['bind']('isOn')['to'](_0x59d2c6,'value',_0x29f07f=>!!_0x29f07f),this['listenTo'](_0x3adbd1,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x59d2c6,'change:value',(_0x1438ef,_0x9ef848,_0x225946)=>{this['_toggleSpecialCursor'](!!_0x225946);}));const _0x4fee21=new _0x491313['UIModel']({'withText':!0x0,'label':_0x2cda58(_0x3adbd1['locale'],'Continuous\x20painting'),'tooltip':_0x2cda58(_0x3adbd1['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});(0x0,_0x491313['addListToDropdown'])(_0x22575b,new _0x491313['Collection']([{'type':'switchbutton','model':_0x4fee21}]),{'role':'menu'});const _0x26bb5b=()=>{this['_copyFormatting'](),this['listenTo'](_0x491313['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4fee21['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x22575b,'execute',()=>{_0x4fee21['isOn']=!_0x4fee21['isOn'];}),this['listenTo'](_0x22575b['buttonView'],'execute',()=>{_0x3adbd1['editing']['view']['focus'](),_0x22575b['buttonView']['isOn']?this['_finishPainting']():_0x26bb5b();}),_0x3adbd1['keystrokes']['set']('Ctrl+Alt+C',(_0x5d32b6,_0x2aabeb)=>{_0x26bb5b(),_0x4fee21['isOn']=!0x0,_0x2aabeb();},{'priority':'high'}),_0x3adbd1['keystrokes']['set']('Ctrl+Alt+V',(_0x1af692,_0x353ac7)=>{_0x22575b['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4fee21['isOn']||this['_finishPainting'](),_0x353ac7());},{'priority':'high'}),_0x3adbd1['keystrokes']['set']('Esc',(_0x29bee9,_0x82d184)=>{_0x22575b['buttonView']['isOn']&&(_0x4fee21['isOn']=!0x1,this['_finishPainting'](),_0x3adbd1['ui']['ariaLiveAnnouncer']['announce'](_0x2cda58(_0x3adbd1['locale'],'Painting\x20cancelled.')),_0x82d184());}),_0x22575b;});}afterInit(){!async function(_0x44693b){const _0x256b1d='QiLRCSOsZ8pAvDdaPJUE3oxjKlzM2uXgrtGfeyh5cNFkmBw9I6WH0qnb4T17YV',_0x2a5a98=0x791d0,_0x486e36=window['Date']['now'](),_0x3c7828=_0x44693b['editor'],_0x4c8840=new window['Promise'](_0x448481=>{_0x3c7828['once']('ready',_0x448481);}),_0x211fb0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4f9bb1=_0x3c7828['config']['get']('licenseKey');async function _0x3f1ab2(){let _0x57bd86,_0x3fb4cf=null,_0x6d60c1=null;try{return'GPL'==_0x4f9bb1?'NotAllowed':(_0x57bd86=_0x3181ba(),_0x57bd86?(_0x57bd86['usageEndpoint']&&(_0x6d60c1=_0x2b323d(_0x57bd86['usageEndpoint'],_0x57bd86['jti'])),await _0x57411b()?_0x1f6f10()?_0x9bb6a0()?'Expired':_0x5a8fd7()?('evaluation'==_0x57bd86['licenseType']&&(_0x3fb4cf=_0x50c640('EvaluationLimit')),await _0x30f2b7()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x9bb6a0(){const _0x41bfaf=['evaluation','trial']['includes'](_0x57bd86['licenseType'])?_0x486e36/0x3e8:0xe10*_0x2a5a98;return _0x57bd86['exp']<_0x41bfaf;}function _0x1f6f10(){const _0x566d48=_0x57bd86['features'];return!!_0x566d48&&(!!_0x566d48['includes']('*')||(!!_0x566d48['includes']('FP')||(!!_0x566d48['includes']('PP')||!(!_0x566d48['includes']('TRILIUM')||!_0x391f83()))));}function _0x5a8fd7(){const _0x418aa7=_0x57bd86['licensedHosts'];if(!_0x418aa7||0x0==_0x418aa7['length'])return!0x0;const {hostname:_0x54fa09}=new URL(window['location']['href']);if(_0x418aa7['includes'](_0x54fa09))return!0x0;const _0x23a968=_0x54fa09['split']('.');return _0x418aa7['filter'](_0x1ac310=>_0x1ac310['includes']('*'))['map'](_0x2cf928=>_0x2cf928['split']('.'))['filter'](_0x4db172=>_0x4db172['length']<=_0x23a968['length'])['map'](_0x587250=>Array(_0x23a968['length']-_0x587250['length'])['fill']('*'===_0x587250[0x0]?'*':'')['concat'](_0x587250))['some'](_0x1b56e6=>_0x23a968['every']((_0x5f46f6,_0x1225d6)=>_0x1b56e6[_0x1225d6]===_0x5f46f6||'*'===_0x1b56e6[_0x1225d6]));}function _0x30f2b7(){return _0x3fb4cf&&_0x6d60c1?new window['Promise']((_0x3c8284,_0x4ff260)=>{_0x3fb4cf['then'](_0x3c8284,_0x4ff260),_0x6d60c1['then'](_0x54c4c0=>{'Valid'!=_0x54c4c0&&_0x3c8284(_0x54c4c0);},_0x4ff260);}):_0x3fb4cf||_0x6d60c1||'Valid';}}function _0x2b323d(_0x2e73de,_0x738a22){return new window['Promise'](_0x539a52=>{if(_0xfdcccb())return _0x539a52('Valid');_0x19f408(),_0x3c7828['decorate']('_sendUsageRequest');let _0x3726e8=!0x1;const _0x15975f=(0x0,_0x491313['uid'])();function _0x2c599e(_0x12fcf5){return!!_0x12fcf5&&('object'==typeof _0x12fcf5||'function'==typeof _0x12fcf5)&&'function'==typeof _0x12fcf5['then']&&'function'==typeof _0x12fcf5['catch'];}function _0x4986ff(_0x54a63b){_0x5ee680(_0x54a63b)['then'](_0x50eddd=>_0x50eddd&&'ok'==_0x50eddd['status']?_0x3e8fee(_0x2c1b88(_0x15975f+_0x738a22))!=_0x50eddd['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x50131c=>(_0xa0316e(),_0x50131c),()=>{const _0x2583fa=_0x358753();return null==_0x2583fa?(_0xa0316e(),'Valid'):_0x486e36-_0x2583fa>0x240c8400?'UsageLimit':'Valid';})['then'](_0x539a52)['catch'](()=>{_0x539a52('UsageLimit');});const _0x1855df=0x36ee80;function _0xa0316e(){const _0x5b4f4d='llct-'+_0x3e8fee(_0x2c1b88(_0x2e73de)),_0x337f7f=_0x3c49f4(_0x3e8fee(window['Math']['ceil'](_0x486e36/_0x1855df)));window['localStorage']['setItem'](_0x5b4f4d,_0x337f7f);}function _0x358753(){const _0x2e1aee='llct-'+_0x3e8fee(_0x2c1b88(_0x2e73de)),_0x1905af=window['localStorage']['getItem'](_0x2e1aee);return _0x1905af?window['parseInt'](_0x3c49f4(_0x1905af),0x10)*_0x1855df:null;}function _0x5ee680(_0x5e3f2){return new window['Promise']((_0xfcd538,_0x16d7b4)=>{_0x5e3f2['then'](_0xfcd538,_0x16d7b4),window['setTimeout'](_0x16d7b4,0x1d4c0);});}}_0x3c7828['on']('_sendUsageRequest',(_0x633656,_0x26f9b3)=>{if(_0x26f9b3[0x0]!=_0x2e73de)return _0x539a52('UsageLimit');_0x26f9b3[0x1]={..._0x26f9b3[0x1],'requestId':_0x15975f};},{'priority':'high'}),_0x3c7828['on']('_sendUsageRequest',_0xfc5f6b=>{_0x2c599e(_0xfc5f6b['return'])&&(_0x3726e8=!0x0,_0x4986ff(_0xfc5f6b['return']));},{'priority':'low'}),_0x4c8840['then'](()=>{_0x3726e8||_0x539a52('UsageLimit');});});function _0xfdcccb(){return'auto'==_0x3c7828['editing']['view']['_overlayModeHint'];}function _0x19f408(){_0x3c7828['editing']['view']['_overlayModeHint']='auto';}}function _0x50c640(_0x4ad1f5){const _0x12e740=[new window['Promise'](_0x365703=>setTimeout(_0x365703,0x93ecc)),_0x4c8840['then'](()=>new window['Promise'](_0x26da03=>{let _0x5125f9=0x0;_0x3c7828['model']['on']('applyOperation',(_0x3ad51d,_0x2eb9f7)=>{_0x2eb9f7[0x0]['isDocumentOperation']&&_0x5125f9++,0x5e8==_0x5125f9&&(_0x26da03(),_0x3ad51d['off']());});}))];return window['Promise']['race'](_0x12e740)['then'](()=>_0x4ad1f5);}async function _0x4e287c(){await _0x4c8840,_0x3c7828['model']['change']=_0x4f8ad6,_0x3c7828['model']['enqueueChange']=_0x4f8ad6,_0x3c7828['enableReadOnlyMode']('model');}function _0x391f83(){return window['glob']&&window['glob']['triliumVersion'];}function _0x20a40c(_0x21e52b){const _0x22090d=_0x52d6f5();_0x3c7828[_0x22090d]='formatPainterLicenseKey'+_0x21e52b,'Valid'!=_0x21e52b&&_0x4e287c();}function _0x52d6f5(){const _0x3ae07c=window['String'](window['performance']['now']())['replace']('.','');let _0x4fabb0='Q';for(let _0x2d2978=0x0;_0x2d2978<_0x3ae07c['length'];_0x2d2978+=0x2){let _0x5aaffd=window['parseInt'](_0x3ae07c['substring'](_0x2d2978,_0x2d2978+0x2));_0x5aaffd>=0x3e&&(_0x5aaffd-=0x3e),_0x4fabb0+=_0x256b1d[_0x5aaffd];}return _0x4fabb0;}function _0x3181ba(){const _0x5ad5ea=_0x4f9bb1['split']('.');if(0x3!=_0x5ad5ea['length'])return null;return _0x42bffa(_0x5ad5ea[0x1]);function _0x42bffa(_0x495b11){const _0x5017d1=_0x10833a(_0x495b11);return _0x5017d1&&_0x1217f5()?_0x5017d1:null;function _0x1217f5(){const _0x2cc69e=_0x5017d1['jti'],_0x46ab68=window['parseInt'](_0x2cc69e['substring'](_0x2cc69e['length']-0x8),0x10),_0x379fdd={..._0x5017d1,'jti':_0x2cc69e['substring'](0x0,_0x2cc69e['length']-0x8)};return delete _0x379fdd['vc'],_0x2c1b88(_0x379fdd)==_0x46ab68;}}}async function _0x57411b(){let _0x5c1cb7=!0x0;try{const [_0x180939,_0x29a646,_0x314113]=_0x4f9bb1['split']('.');return _0xe67cf6(_0x180939),await _0x31d3e4(_0x180939,_0x29a646,_0x314113),_0x5c1cb7;}catch{return!0x1;}function _0xe67cf6(_0xf46f3){const _0x3555cf=_0x10833a(_0xf46f3);_0x3555cf&&'ES256'==_0x3555cf['alg']||(_0x5c1cb7=!0x1);}async function _0x31d3e4(_0x20c6f1,_0x238d1a,_0x45223f){const _0x20c845=window['Uint8Array']['from'](_0x5a2263(_0x45223f),_0x3d69f8=>_0x3d69f8['charCodeAt'](0x0)),_0x4a6920=new window['TextEncoder']()['encode'](_0x20c6f1+'.'+_0x238d1a),_0x3ffcc9=window['crypto']['subtle'];if(!_0x3ffcc9)return;const _0x24730f=await _0x3ffcc9['importKey']('jwk',_0x211fb0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3ffcc9['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x24730f,_0x20c845,_0x4a6920)||(_0x5c1cb7=!0x1);}}function _0x10833a(_0xd54bda){return _0xd54bda['startsWith']('ey')?JSON['parse'](_0x5a2263(_0xd54bda)):null;}function _0x5a2263(_0x46fb51){return window['atob'](_0x46fb51['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2c1b88(_0x3d7a80){let _0xcaef33=0x1505;function _0x3e086c(_0x20375a){for(let _0x53f7c2=0x0;_0x53f7c2<_0x20375a['length'];_0x53f7c2++){const _0x21133f=_0x20375a['charCodeAt'](_0x53f7c2);_0xcaef33=(_0xcaef33<<0x5)+_0xcaef33+_0x21133f,_0xcaef33&=_0xcaef33;}}function _0x44c39a(_0x1cd218){Array['isArray'](_0x1cd218)?_0x1cd218['forEach'](_0x44c39a):_0x1cd218&&'object'==typeof _0x1cd218?Object['entries'](_0x1cd218)['sort']()['forEach'](([_0x300aaf,_0x53f052])=>{_0x3e086c(_0x300aaf),_0x44c39a(_0x53f052);}):_0x3e086c(window['String'](_0x1cd218));}return _0x44c39a(_0x3d7a80),_0xcaef33>>>0x0;}function _0x3e8fee(_0x2496e0){return _0x2496e0['toString'](0x10)['padStart'](0x8,'0');}function _0x3c49f4(_0x3ca75e){return _0x3ca75e['split']('')['reverse']()['join']('');}function _0x4f8ad6(){}_0x20a40c(await _0x3f1ab2());}(this);}_toggleSpecialCursor(_0x2cebc1){this['editor']['editing']['view']['change'](_0x4db8a3=>{for(const _0x457d32 of this['editor']['editing']['view']['document']['roots'])_0x2cebc1?_0x4db8a3['addClass'](_0x2defcc,_0x457d32):_0x4db8a3['removeClass'](_0x2defcc,_0x457d32);});}_copyFormatting(){const {editor:_0x5a0c77}=this;_0x5a0c77['execute'](_0x2c868e),_0x5a0c77['ui']['ariaLiveAnnouncer']['announce'](_0x2cda58(_0x5a0c77['locale'],'Formatting\x20copied.'));}_pasteFormatting(){const {editor:_0x271181}=this,_0x38e0cf=_0x271181['commands']['get'](_0x2c868e)['value'];_0x271181['execute'](_0x36aeb0,_0x38e0cf),_0x271181['ui']['ariaLiveAnnouncer']['announce'](_0x2cda58(_0x271181['locale'],'Pasted\x20formatting.'));}_finishPainting(){this['editor']['commands']['get'](_0x2c868e)['reset'](),this['stopListening'](_0x491313['global']['window']['document'],'mouseup');}},_0xef7f16=class extends _0x491313['Plugin']{static get requires(){return[_0x450a59,_0x37c567];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x10c7bc(_0x48835b,_0x205ac0){const t=_0x48835b['t'];switch(_0x205ac0){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x205ac0;}}var _0x429639=class extends _0x491313['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x4e0f35=this['editor'];_0x4e0f35['ui']['componentFactory']['add']('importWord',()=>{const _0x1b7e69=this['_createButton'](_0x491313['FileDialogButtonView']),_0x23eb14=_0x4e0f35['commands']['get']('importWord');return _0x1b7e69['bind']('isOn')['to'](_0x23eb14,'isBusy'),_0x1b7e69['tooltip']=!0x0,_0x1b7e69;}),_0x4e0f35['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x491313['MenuBarMenuListItemFileDialogButtonView']));}_createButton(_0x4d064d){const _0x4a17f3=this['editor'],_0x1b6329=_0x4a17f3['commands']['get']('importWord'),_0x52d12b=new _0x4d064d(_0x4a17f3['locale']),_0x4d8ac3=new _0x491313['SpinnerView']();return _0x52d12b['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x52d12b['set']({'icon':_0x491313['IconImportWord']}),_0x52d12b['bind']('isEnabled')['to'](_0x1b6329),_0x52d12b['bind']('label')['to'](_0x1b6329,'isBusy',_0x45184b=>_0x10c7bc(_0x4a17f3['locale'],_0x45184b?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4d8ac3['bind']('isVisible')['to'](_0x1b6329,'isBusy'),_0x52d12b['iconView']['bind']('isVisible')['to'](_0x1b6329,'isBusy',_0x33af0f=>!_0x33af0f),_0x52d12b['children']['add'](_0x4d8ac3),_0x52d12b['on']('done',(_0xef7e5a,_0x78570a)=>{_0x4a17f3['execute']('importWord',_0x78570a[0x0],{}),_0x4a17f3['editing']['view']['focus']();}),_0x52d12b;}},_0x551683=class extends _0x491313['Command']{_importMarker;_undoStepBatch;_abortController;constructor(_0x179d22){super(_0x179d22),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4dbf92,_0x5b73b5)=>{const _0x2caf25=new DataTransfer();_0x2caf25['setData']('text/html',_0x5b73b5['html']);const _0x596540=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x40b8e9=>{this['_importMarker']['stopListening'](),_0x40b8e9['setSelection'](_0x596540),_0x179d22['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x2caf25,'content':_0x2caf25['getData']('text/html')});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x42c57a,_0x368bea={}){if(this['isBusy'])return Promise['resolve']();const _0x110036=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x3c1c23,suffix:_0x3f3f93}=this['editor']['config']['get']('mergeFields');_0x368bea['merge_fields']={'prefix':_0x3c1c23,'suffix':_0x3f3f93};}const _0x26d233={'url':_0x110036['converterUrl'],'file':_0x42c57a,'serviceConfig':{..._0x368bea,'formatting':_0x110036['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x26d233)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3015a3=this['editor']['model'],_0x5a8d8d=_0x3015a3['schema'],_0x433bfe=_0x3015a3['document']['selection'],_0x228ef1=(0x0,_0x491313['first'])(_0x433bfe['getSelectedBlocks']());return!!_0x228ef1&&_0x5a8d8d['checkChild'](_0x228ef1['parent'],'paragraph');}_prepareForImport(){const _0x4f7b8b=this['editor'],_0x4e1788=_0x4f7b8b['model'],_0x4450f2=_0x4e1788['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x4f7b8b['model']['createBatch']({'isUndoable':!0x0}),_0x4e1788['enqueueChange'](this['_undoStepBatch'],_0x3191b3=>{_0x4450f2['isCollapsed']||_0x4e1788['deleteContent'](_0x4450f2,{'leaveUnmerged':!0x0});const _0x599ee3=_0x4450f2['getFirstPosition'](),_0x34a500=(0x0,_0x491313['first'])(_0x4450f2['getSelectedBlocks']());let _0x3445ab;_0x3445ab=_0x34a500['is']('element','paragraph')&&_0x34a500['isEmpty']?_0x599ee3:_0x599ee3['isAtStart']?_0x4e1788['createPositionBefore'](_0x34a500):_0x599ee3['isAtEnd']?_0x4e1788['createPositionAfter'](_0x34a500):_0x3191b3['split'](_0x599ee3)['position'],this['_importMarker']=_0x3191b3['addMarker']('importWord:'+(0x0,_0x491313['uid'])(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x491313['ModelRange'](_0x3445ab)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}_cleanUpAfterImport(){const _0x50aa06=this['editor']['model'];_0x50aa06['markers']['has'](this['_importMarker'])&&_0x50aa06['enqueueChange'](this['_undoStepBatch'],_0x1685ea=>{_0x1685ea['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async _sendImportRequest({url:_0x542876,file:_0x420f06,serviceConfig:_0x38a911}){const _0x384e42=await this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x357d7a=new FormData();_0x357d7a['set']('config',JSON['stringify'](_0x38a911)),_0x357d7a['set']('file',_0x420f06);const _0x8a346b={'method':'POST','headers':{},'body':_0x357d7a,'signal':this['_abortController']['signal']};return _0x384e42&&(_0x8a346b['headers']['Authorization']=_0x384e42['value']),fetch(_0x542876,_0x8a346b);}_handleImportResponse(_0x5d304b){return _0x5d304b['ok']?_0x5d304b['json']()['then'](_0xdb40ee=>{this['editor']['model']['markers']['has'](this['_importMarker'])&&'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0xdb40ee,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}_handleImportFailure(){if(this['_abortController']['signal']['aborted'])return void(0x0,_0x491313['logWarning'])('import-word-plugin-import-cancelled');const _0x42cc2c=this['editor'],_0x1b07da=_0x10c7bc(_0x42cc2c['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x42cc2c['plugins']['get']('Notification')['showWarning'](_0x1b07da),(0x0,_0x491313['logError'])('import-word-plugin-conversion-failed');}},_0x361af2=class extends _0x491313['Plugin']{_token;static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['Notification'],_0x491313['ClipboardPipeline'],_0x491313['CloudServices']];}init(){const _0x2349d0=this['editor'],_0x324d72=_0x2349d0['plugins']['get'](_0x491313['CloudServices']);_0x2349d0['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x2349d0['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x2349d0['commands']['add']('importWord',new _0x551683(_0x2349d0));const {tokenUrl:_0x338819}=_0x2349d0['config']['get']('importWord');if(_0x338819){const {tokenUrl:_0x4271fd}=_0x2349d0['config']['get']('cloudServices')||{};this['_token']=_0x338819===_0x4271fd?Promise['resolve'](_0x324d72['token']):_0x324d72['registerTokenUrl'](_0x338819);}else this['_token']=Promise['resolve'](null);}getToken(){return this['_token'];}},_0x345bb5=class extends _0x491313['Plugin']{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x361af2,_0x429639];}},_0x4dea1a=class extends _0x491313['Command']{['refresh'](){const _0x5268fd=this['editor']['model']['document'],_0x32706e=(0x0,_0x491313['first'])(_0x5268fd['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x32706e)&&this['_canHaveLineHeight'](_0x32706e),this['value']=this['isEnabled']&&_0x32706e['getAttribute']('lineHeight');}execute(_0x32b3a8={}){const _0x1a3365=this['editor']['model'],_0x753fc0=_0x1a3365['document']['selection'],_0x2368ff=_0x32b3a8['value'];_0x1a3365['change'](_0x1b4ac0=>{const _0x1e8408=Array['from'](_0x753fc0['getSelectedBlocks']())['filter'](_0x5945a4=>this['_canHaveLineHeight'](_0x5945a4));for(const _0x56a42d of _0x1e8408)_0x2368ff?_0x1b4ac0['setAttribute']('lineHeight',_0x2368ff,_0x56a42d):_0x1b4ac0['removeAttribute']('lineHeight',_0x56a42d);});}_canHaveLineHeight(_0x381077){return this['editor']['model']['schema']['checkAttribute'](_0x381077,'lineHeight');}};const _0x1c86c6={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function _0x237a4e(_0xc4d352){return'string'==typeof _0xc4d352&&'default'===_0xc4d352['toLowerCase']();}function _0x1589aa(_0x5c187e){return _0x5c187e['options']['map'](_0x599a96=>{return _0x237a4e(_0x599a96)?{'title':String(_0x5c187e['defaultValue']),'model':'default'}:('number'==typeof _0x599a96&&(_0x599a96=String(_0x599a96)),'string'!=typeof _0x599a96?_0x599a96:parseFloat(_0x599a96)?{'title':_0x599a96,'model':_0x599a96,'view':{'name':'span','styles':{'line-height':_0x599a96}}}:'string'==typeof(_0x1c70cd=_0x599a96)?_0x1c86c6[_0x1c70cd]:_0x1c86c6[_0x1c70cd['model']]);var _0x1c70cd;})['filter'](_0x1c41ab=>void 0x0!==_0x1c41ab);}var _0x231a16=class extends _0x491313['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {plugins:_0x146b34,conversion:_0x1ecfa8}=this['editor'];_0x146b34['has']('ListEditing')&&_0x146b34['has']('TodoListEditing')&&(_0x146b34['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x4384b1,_0x3fd0fe,_0x5dd280,_0x25d0de,_0x338522){'todo'==_0x338522['getAttribute']('listType')&&_0x3fd0fe&&(_0x4384b1['addClass']('ck-list-marker-line-height',_0x5dd280),_0x4384b1['setStyle']('--ck-content-list-marker-line-height',_0x3fd0fe,_0x5dd280));}}),_0x1ecfa8['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x1ecfa8['for']('upcast')['add'](_0x39c07d=>{_0x39c07d['on']('element:li',function(_0x3e1e2b){const _0x575624=new _0x491313['Matcher'](_0x3e1e2b);return(_0x6c0767,_0x132f4d,_0x3ebc32)=>{const _0x131646=_0x575624['match'](_0x132f4d['viewItem']);if(!_0x131646)return;const _0x563647=_0x131646['match'];_0x563647['name']=!0x1,_0x3ebc32['consumable']['consume'](_0x132f4d['viewItem'],_0x563647);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));}));}},_0x5099d7=class extends _0x491313['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get requires(){return[_0x231a16];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e8980){super(_0x4e8980),_0x4e8980['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}init(){const _0x5c3e6b=this['editor'];this['_validateConfig'](),_0x5c3e6b['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x5c3e6b['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x5c3e6b['commands']['add']('lineHeight',new _0x4dea1a(_0x5c3e6b)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}afterInit(){!async function(_0x202506){const _0x14d981='PHQ3YUIBrl0XdnwG9kez8sfpMv1ytWFRNZOV5jJaq7Tc2ogub64xCKDEALSihm',_0x15eb60=0x791d0,_0x4e98ee=window['Date']['now'](),_0x1df85d=_0x202506['editor'],_0x43d122=new window['Promise'](_0x596018=>{_0x1df85d['once']('ready',_0x596018);}),_0x1e33cf={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3ea5f5=_0x1df85d['config']['get']('licenseKey');async function _0x38300c(){let _0x2daae5,_0x39ee8a=null,_0x2b02db=null;try{return'GPL'==_0x3ea5f5?'NotAllowed':(_0x2daae5=_0x4b2864(),_0x2daae5?(_0x2daae5['usageEndpoint']&&(_0x2b02db=_0x2c222f(_0x2daae5['usageEndpoint'],_0x2daae5['jti'])),await _0x4f1705()?_0x2e6a53()?_0x2762f1()?'Expired':_0x1a4dd3()?('evaluation'==_0x2daae5['licenseType']&&(_0x39ee8a=_0x29655a('EvaluationLimit')),await _0x91cfad()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2762f1(){const _0x42ba61=['evaluation','trial']['includes'](_0x2daae5['licenseType'])?_0x4e98ee/0x3e8:0xe10*_0x15eb60;return _0x2daae5['exp']<_0x42ba61;}function _0x2e6a53(){const _0x11e29a=_0x2daae5['features'];return!!_0x11e29a&&(!!_0x11e29a['includes']('*')||!!_0x11e29a['includes']('LH'));}function _0x1a4dd3(){const _0xc8c3e4=_0x2daae5['licensedHosts'];if(!_0xc8c3e4||0x0==_0xc8c3e4['length'])return!0x0;const {hostname:_0x257367}=new URL(window['location']['href']);if(_0xc8c3e4['includes'](_0x257367))return!0x0;const _0x1e3de6=_0x257367['split']('.');return _0xc8c3e4['filter'](_0x2c790c=>_0x2c790c['includes']('*'))['map'](_0xeb5462=>_0xeb5462['split']('.'))['filter'](_0x1b8b54=>_0x1b8b54['length']<=_0x1e3de6['length'])['map'](_0x24563b=>Array(_0x1e3de6['length']-_0x24563b['length'])['fill']('*'===_0x24563b[0x0]?'*':'')['concat'](_0x24563b))['some'](_0x29b9ab=>_0x1e3de6['every']((_0x5588f1,_0x2ee501)=>_0x29b9ab[_0x2ee501]===_0x5588f1||'*'===_0x29b9ab[_0x2ee501]));}function _0x91cfad(){return _0x39ee8a&&_0x2b02db?new window['Promise']((_0x40406a,_0x57e45a)=>{_0x39ee8a['then'](_0x40406a,_0x57e45a),_0x2b02db['then'](_0x2ae69c=>{'Valid'!=_0x2ae69c&&_0x40406a(_0x2ae69c);},_0x57e45a);}):_0x39ee8a||_0x2b02db||'Valid';}}function _0x2c222f(_0xc8d199,_0xb1a30f){return new window['Promise'](_0x121cff=>{if(_0x144aee())return _0x121cff('Valid');_0x514c97(),_0x1df85d['decorate']('_sendUsageRequest');let _0x10f670=!0x1;const _0x5a43e5=(0x0,_0x491313['uid'])();function _0x519b81(_0x17fa16){return!!_0x17fa16&&('object'==typeof _0x17fa16||'function'==typeof _0x17fa16)&&'function'==typeof _0x17fa16['then']&&'function'==typeof _0x17fa16['catch'];}function _0x1085f4(_0x1987df){_0x33e3f8(_0x1987df)['then'](_0x52a80e=>_0x52a80e&&'ok'==_0x52a80e['status']?_0x573fe(_0x1c49d5(_0x5a43e5+_0xb1a30f))!=_0x52a80e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4614fc=>(_0x1aff08(),_0x4614fc),()=>{const _0xae5b12=_0xdbe6d();return null==_0xae5b12?(_0x1aff08(),'Valid'):_0x4e98ee-_0xae5b12>0x240c8400?'UsageLimit':'Valid';})['then'](_0x121cff)['catch'](()=>{_0x121cff('UsageLimit');});const _0x5537f8=0x36ee80;function _0x1aff08(){const _0x2945e8='llct-'+_0x573fe(_0x1c49d5(_0xc8d199)),_0x4f2d96=_0x554442(_0x573fe(window['Math']['ceil'](_0x4e98ee/_0x5537f8)));window['localStorage']['setItem'](_0x2945e8,_0x4f2d96);}function _0xdbe6d(){const _0x4c1adb='llct-'+_0x573fe(_0x1c49d5(_0xc8d199)),_0x37540f=window['localStorage']['getItem'](_0x4c1adb);return _0x37540f?window['parseInt'](_0x554442(_0x37540f),0x10)*_0x5537f8:null;}function _0x33e3f8(_0x11ba3f){return new window['Promise']((_0x2d3440,_0x6451d3)=>{_0x11ba3f['then'](_0x2d3440,_0x6451d3),window['setTimeout'](_0x6451d3,0x1d4c0);});}}_0x1df85d['on']('_sendUsageRequest',(_0x532f28,_0x596d6c)=>{if(_0x596d6c[0x0]!=_0xc8d199)return _0x121cff('UsageLimit');_0x596d6c[0x1]={..._0x596d6c[0x1],'requestId':_0x5a43e5};},{'priority':'high'}),_0x1df85d['on']('_sendUsageRequest',_0x256a99=>{_0x519b81(_0x256a99['return'])&&(_0x10f670=!0x0,_0x1085f4(_0x256a99['return']));},{'priority':'low'}),_0x43d122['then'](()=>{_0x10f670||_0x121cff('UsageLimit');});});function _0x144aee(){return'auto'==_0x1df85d['editing']['view']['_overlayModeHint'];}function _0x514c97(){_0x1df85d['editing']['view']['_overlayModeHint']='auto';}}function _0x29655a(_0x26ade3){const _0x22a402=[new window['Promise'](_0x2879b7=>setTimeout(_0x2879b7,0x93ecc)),_0x43d122['then'](()=>new window['Promise'](_0x2eb65b=>{let _0x8e954=0x0;_0x1df85d['model']['on']('applyOperation',(_0x531bfe,_0x4bcee1)=>{_0x4bcee1[0x0]['isDocumentOperation']&&_0x8e954++,0x5e8==_0x8e954&&(_0x2eb65b(),_0x531bfe['off']());});}))];return window['Promise']['race'](_0x22a402)['then'](()=>_0x26ade3);}async function _0x13330e(){await _0x43d122,_0x1df85d['model']['change']=_0x24d462,_0x1df85d['model']['enqueueChange']=_0x24d462,_0x1df85d['enableReadOnlyMode']('model');}function _0x5ccbf5(_0x69264a){const _0x46e76e=_0x4bb610();_0x1df85d[_0x46e76e]='lineHeightLicenseKey'+_0x69264a,'Valid'!=_0x69264a&&_0x13330e();}function _0x4bb610(){const _0xd0973=window['String'](window['performance']['now']())['replace']('.','');let _0x3688ff='P';for(let _0x35b2dd=0x0;_0x35b2dd<_0xd0973['length'];_0x35b2dd+=0x2){let _0x50bfda=window['parseInt'](_0xd0973['substring'](_0x35b2dd,_0x35b2dd+0x2));_0x50bfda>=0x3e&&(_0x50bfda-=0x3e),_0x3688ff+=_0x14d981[_0x50bfda];}return _0x3688ff;}function _0x4b2864(){const _0x3f6583=_0x3ea5f5['split']('.');if(0x3!=_0x3f6583['length'])return null;return _0x1ba895(_0x3f6583[0x1]);function _0x1ba895(_0x31ade2){const _0x534e01=_0x5c658e(_0x31ade2);return _0x534e01&&_0x2fbc0e()?_0x534e01:null;function _0x2fbc0e(){const _0x233329=_0x534e01['jti'],_0xc884fb=window['parseInt'](_0x233329['substring'](_0x233329['length']-0x8),0x10),_0x25aa90={..._0x534e01,'jti':_0x233329['substring'](0x0,_0x233329['length']-0x8)};return delete _0x25aa90['vc'],_0x1c49d5(_0x25aa90)==_0xc884fb;}}}async function _0x4f1705(){let _0x2abe38=!0x0;try{const [_0x496ca9,_0x2eaa22,_0x3ea204]=_0x3ea5f5['split']('.');return _0x1b205b(_0x496ca9),await _0x370a27(_0x496ca9,_0x2eaa22,_0x3ea204),_0x2abe38;}catch{return!0x1;}function _0x1b205b(_0x2f0ad8){const _0x33e7ca=_0x5c658e(_0x2f0ad8);_0x33e7ca&&'ES256'==_0x33e7ca['alg']||(_0x2abe38=!0x1);}async function _0x370a27(_0x2e7a5e,_0x5bdb14,_0x4a24ad){const _0x4c2dc6=window['Uint8Array']['from'](_0x1b21e2(_0x4a24ad),_0x4e996b=>_0x4e996b['charCodeAt'](0x0)),_0x4dce78=new window['TextEncoder']()['encode'](_0x2e7a5e+'.'+_0x5bdb14),_0xb07267=window['crypto']['subtle'];if(!_0xb07267)return;const _0x1858ba=await _0xb07267['importKey']('jwk',_0x1e33cf,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xb07267['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x1858ba,_0x4c2dc6,_0x4dce78)||(_0x2abe38=!0x1);}}function _0x5c658e(_0x14bf43){return _0x14bf43['startsWith']('ey')?JSON['parse'](_0x1b21e2(_0x14bf43)):null;}function _0x1b21e2(_0x595bbe){return window['atob'](_0x595bbe['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1c49d5(_0x51ac40){let _0x4e5ff4=0x1505;function _0x1ea185(_0x201714){for(let _0x5e6069=0x0;_0x5e6069<_0x201714['length'];_0x5e6069++){const _0x414f1a=_0x201714['charCodeAt'](_0x5e6069);_0x4e5ff4=(_0x4e5ff4<<0x5)+_0x4e5ff4+_0x414f1a,_0x4e5ff4&=_0x4e5ff4;}}function _0x46353f(_0x572e39){Array['isArray'](_0x572e39)?_0x572e39['forEach'](_0x46353f):_0x572e39&&'object'==typeof _0x572e39?Object['entries'](_0x572e39)['sort']()['forEach'](([_0x299920,_0x51c203])=>{_0x1ea185(_0x299920),_0x46353f(_0x51c203);}):_0x1ea185(window['String'](_0x572e39));}return _0x46353f(_0x51ac40),_0x4e5ff4>>>0x0;}function _0x573fe(_0x10ebe3){return _0x10ebe3['toString'](0x10)['padStart'](0x8,'0');}function _0x554442(_0x44904d){return _0x44904d['split']('')['reverse']()['join']('');}function _0x24d462(){}_0x5ccbf5(await _0x38300c());}(this);}_validateConfig(){const _0x341def=this['editor'];if(!_0x341def['config']['get']('lineHeight.supportAllValues'))return;const _0x34619d=_0x341def['config']['get']('lineHeight.options')['filter'](_0x1f1c39=>'string'==typeof _0x1f1c39&&(!_0x237a4e(_0x1f1c39)&&isNaN(Number(_0x1f1c39))));if(_0x34619d['length'])throw new _0x491313['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x34619d});}_prepareAnyValueConverters(){const _0x171ddf=this['editor'],_0xf43c00=this['editor']['config']['get']('lineHeight.defaultValue');_0x171ddf['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x37ff46=>String(_0x37ff46)===String(_0xf43c00)?null:{'key':'style','value':{'line-height':_0x37ff46}}}),_0x171ddf['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x14ef38=>{let _0x48de67=_0x14ef38['getStyle']('line-height');return(0x0,_0x491313['isPercentageStyleValue'])(_0x48de67)&&(_0x48de67=String(Number(_0x48de67['slice'](0x0,-0x1))/0x64)),String(_0x48de67)===String(_0xf43c00)?null:_0x48de67;}},'view':{'styles':{'line-height':/.*/}}});}_preparePredefinedConverters(){const _0x59c33e=this['editor'],_0x2d1565=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4851c9=function(_0x3c03f9,_0x1f21a4){const _0x40449b={'model':{'key':_0x3c03f9,'values':[]},'view':{}};for(const _0x52eeab of _0x1f21a4)'class'===_0x52eeab['view']?.['key']?(_0x40449b['model']['values']['push'](_0x52eeab['model']),_0x40449b['view'][_0x52eeab['model']]={'key':'class','value':_0x52eeab['view']['value']}):(_0x40449b['model']['values']['push'](_0x52eeab['model']),_0x40449b['view'][_0x52eeab['model']]={'key':'style','value':'line-height:'+_0x52eeab['model']+';'});return _0x40449b;}('lineHeight',_0x1589aa(this['editor']['config']['get']('lineHeight'))['filter'](_0x374b9b=>_0x374b9b['model']));_0x59c33e['conversion']['attributeToAttribute'](_0x4851c9),_0x59c33e['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x42a733=>{let _0x49c3ed=_0x42a733['getStyle']('line-height');return(0x0,_0x491313['isPercentageStyleValue'])(_0x49c3ed)&&(_0x49c3ed=String(Number(_0x49c3ed['slice'](0x0,-0x1))/0x64)),_0x49c3ed===String(_0x2d1565)?null:_0x4851c9['model']['values']['includes'](_0x49c3ed)?_0x49c3ed:null;}}});}},_0x2a3056=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x2c3138={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2c3138),this['_registerMenuBarComponent'](_0x2c3138),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11df92=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x554b39;for(const _0x221ac9 in _0x11df92){const _0x15797b=_0x221ac9,_0x47b71a=_0x11df92[_0x15797b];if('lineHeightLicenseKeyValid'==_0x47b71a||'lineHeightLicenseKeyInvalid'==_0x47b71a||'lineHeightLicenseKeyExpired'==_0x47b71a||'lineHeightLicenseKeyDomainLimit'==_0x47b71a||'lineHeightLicenseKeyNotAllowed'==_0x47b71a||'lineHeightLicenseKeyEvaluationLimit'==_0x47b71a||'lineHeightLicenseKeyUsageLimit'==_0x47b71a){delete _0x11df92[_0x15797b],_0x554b39=_0x47b71a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x554b39&&_0x11df92['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x554b39&&_0x11df92['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x554b39&&_0x11df92['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x554b39&&_0x11df92['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x554b39&&_0x11df92['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x554b39&&_0x11df92['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_shouldRenderCustomValueOption(){return this['editor']['config']['get']('lineHeight.supportAllValues');}_getLocalizedLineHeightOptions(){const _0x317719=this['editor'],t=_0x317719['t'],_0x5e1934=_0x317719['config']['get']('lineHeight'),_0x44e99a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1589aa(_0x5e1934)['map'](_0x6efc24=>{const _0x1c0933=_0x44e99a[_0x6efc24['title']];return _0x1c0933&&_0x1c0933!=_0x6efc24['title']&&(_0x6efc24=Object['assign']({},_0x6efc24,{'title':_0x1c0933})),_0x6efc24;});}_prepareListOptions(){const _0xaa6dd5=this['editor']['commands']['get']('lineHeight'),_0x384258=this['editor']['config']['get']('lineHeight.defaultValue'),_0x33ef02=this['_getLocalizedLineHeightOptions'](),_0x38dadd=new _0x491313['Collection'](),_0x3f3f34=_0x43ddbc=>'default'===_0x43ddbc||String(_0x384258)===_0x43ddbc;for(const _0x3521cd of _0x33ef02){const _0xc6414c={'type':'button','model':new _0x491313['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3521cd['title'],'withText':!0x0})};_0x3f3f34(_0x3521cd['model'])?(_0xc6414c['model']['bind']('isOn')['to'](_0xaa6dd5,'value',_0x40e63b=>!_0x40e63b),_0xc6414c['model']['commandParam']=void 0x0):(_0xc6414c['model']['bind']('isOn')['to'](_0xaa6dd5,'value',_0x470826=>_0x470826===_0x3521cd['model']),_0xc6414c['model']['commandParam']=_0x3521cd['model']),_0x38dadd['add'](_0xc6414c);}if(this['_shouldRenderCustomValueOption']()){const _0x37f3a2=this['_getCustomValueOptionDefinition'](_0x33ef02);_0x38dadd['add'](_0x37f3a2);}return _0x38dadd;}_getCustomValueOptionDefinition(_0x39fd7d){const _0x6a3dc9=this['editor'],t=_0x6a3dc9['t'],_0xef0c81=_0x6a3dc9['commands']['get']('lineHeight'),_0x392025=_0x39fd7d['map'](_0x49378c=>_0x49378c['model']),_0x2112d4={'type':'button','model':new _0x491313['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2112d4['model']['bind']('commandParam')['to'](_0xef0c81,'value'),_0x2112d4['model']['bind']('isOn')['to'](_0xef0c81,'value',_0x538e6a=>!!_0x538e6a&&!_0x392025['includes'](String(_0x538e6a))),_0x2112d4['model']['bind']('label')['to'](_0xef0c81,'value',_0x56d94d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x56d94d))),_0x2112d4;}_registerToolbarComponent({accessibleLabel:_0x450fc6,options:_0x42fc1b}){const _0x2a17a4=this['editor'],_0x58144c=_0x2a17a4['commands']['get']('lineHeight');_0x2a17a4['ui']['componentFactory']['add']('lineHeight',_0x3e73d2=>{const _0x4c348b=(0x0,_0x491313['createDropdown'])(_0x3e73d2);return(0x0,_0x491313['addListToDropdown'])(_0x4c348b,_0x42fc1b,{'role':'menu','ariaLabel':_0x450fc6}),_0x4c348b['buttonView']['set']({'label':_0x450fc6,'tooltip':!0x0,'icon':_0x491313['IconLineHeight']}),_0x4c348b['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4c348b['bind']('isEnabled')['to'](_0x58144c),this['listenTo'](_0x4c348b,'execute',_0x505131=>{_0x2a17a4['execute'](_0x505131['source']['commandName'],{'value':_0x505131['source']['commandParam']}),_0x2a17a4['editing']['view']['focus']();}),_0x4c348b['once']('change:isOpen',()=>{const _0x22f1b4=_0x4c348b['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4c348b,_0x42fc1b,_0x22f1b4);}),_0x4c348b;});}_registerMenuBarComponent({accessibleLabel:_0x11522f,options:_0x2d3685}){const _0x10fd50=this['editor'],_0x3b8371=_0x10fd50['commands']['get']('lineHeight');_0x10fd50['ui']['componentFactory']['add']('menuBar:lineHeight',_0x13d73c=>{const _0x581436=new _0x491313['MenuBarMenuView'](_0x13d73c);_0x581436['buttonView']['set']({'label':_0x11522f,'icon':_0x491313['IconLineHeight']}),_0x581436['bind']('isEnabled')['to'](_0x3b8371);const _0x397807=new _0x491313['MenuBarMenuListView'](_0x13d73c);for(const _0x34a068 of _0x2d3685){const _0x1fe249=new _0x491313['MenuBarMenuListItemView'](_0x13d73c,_0x581436),_0x49ce26=new _0x491313['MenuBarMenuListItemButtonView'](_0x13d73c);_0x49ce26['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x49ce26['bind'](...Object['keys'](_0x34a068['model']))['to'](_0x34a068['model']),_0x49ce26['delegate']('execute')['to'](_0x581436),_0x49ce26['on']('execute',()=>{_0x10fd50['execute'](_0x34a068['model']['commandName'],{'value':_0x34a068['model']['commandParam']}),_0x10fd50['editing']['view']['focus']();}),_0x1fe249['children']['add'](_0x49ce26),_0x397807['items']['add'](_0x1fe249);}return _0x581436['panelView']['children']['add'](_0x397807),this['_attachCustomOptionVisibilityHandler'](_0x581436,_0x2d3685,_0x397807),_0x581436;});}_attachCustomOptionVisibilityHandler(_0x44f9a0,_0x4bf8a7,_0x5467bf){if(!this['_shouldRenderCustomValueOption']())return;const _0x39de51=()=>{if(!_0x44f9a0['isOpen'])return;_0x5467bf['items']['last']['isVisible']=Boolean(_0x4bf8a7['last']['model']['isOn']);};_0x39de51(),_0x44f9a0['on']('change:isOpen',()=>{_0x39de51();});}},_0x1188ed=class extends _0x491313['Plugin']{static get requires(){return[_0x5099d7,_0x2a3056];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x47e506=class extends _0x491313['Command']{defaultListMarkerStyle;_listDefinitions;_listUtils;constructor(_0x41b697,_0x3464ff,_0x2b943d){super(_0x41b697),this['defaultListMarkerStyle']=_0x3464ff,this['_listDefinitions']=_0x2b943d,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}execute(_0x2ea064={}){const _0x417ee9=this['editor']['model'],_0x1da7b2=_0x2ea064['listMarkerStyle']||this['defaultListMarkerStyle'];_0x417ee9['change'](()=>{const _0x2a9b98=this['_getListTypeFromListMarkerStyle'](_0x1da7b2);if(!_0x2a9b98)return;const _0x1e8a48=_0x2a9b98+'List';this['editor']['execute'](_0x1e8a48,{'additionalAttributes':{'listMarkerStyle':_0x1da7b2}});});}_getValue(){const _0x3676d8=(0x0,_0x491313['first'])(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3676d8)?_0x3676d8['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x12fa6b=this['editor'],_0x55cba6=_0x12fa6b['commands']['get']('customNumberedList'),_0x34fe6e=_0x12fa6b['commands']['get']('customBulletedList');return _0x55cba6['isEnabled']||_0x34fe6e['isEnabled'];}_getListTypeFromListMarkerStyle(_0x4410f4){const _0x580668=this['_listDefinitions']['find'](_0x1cda36=>_0x1cda36['listMarkerStyle']==_0x4410f4);return _0x580668?_0x580668['listType']:null;}},_0x32550e=class extends _0x491313['Plugin']{_listDefinitions;static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['ListEditing']];}constructor(_0x21a5b3){super(_0x21a5b3);const _0x5c9218=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x3802d4=>_0x3802d4+'.'}]},..._0x5c9218];}init(){const _0x25766d=this['editor'],_0x5828ec=_0x25766d['model'],_0xa4cfcd=_0x25766d['editing']['view'],_0x56d751=_0x25766d['plugins']['get'](_0x491313['ListEditing']);_0x25766d['commands']['add']('multiLevelList',new _0x47e506(_0x25766d,'legal',this['_listDefinitions'])),_0x5828ec['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x5828ec['schema']['addAttributeCheck']((_0x54ed8e,_0x42f470)=>{const _0xb884ce=_0x54ed8e['last'];if('listMarker'==_0x42f470||'listMarkerStyle'==_0x42f470)return!(!_0xb884ce['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x36a494=>_0x36a494['listType']==_0xb884ce['getAttribute']('listType')))&&void 0x0;});for(const _0x347a0b of this['_listDefinitions'])_0x25766d['conversion']['for']('upcast')['add'](_0x4097ec=>{_0x4097ec['on']('element:'+('customNumbered'==_0x347a0b['listType']?'ol':'ul'),_0x24b546(_0x347a0b,_0x5828ec['schema']),{'priority':'low'});}),_0x56d751['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x47950,_0xa9e291,_0x55ef11){_0xa9e291==_0x347a0b['listMarkerStyle']?(_0x47950['addClass'](['multi-level-list',_0x347a0b['className']],_0x55ef11),_0x47950['setStyle']('list-style-type','none',_0x55ef11)):(_0x47950['removeClass'](['multi-level-list',_0x347a0b['className']],_0x55ef11),_0x47950['removeStyle']('list-style-type',_0x55ef11));}}),_0x56d751['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x40ab6a,_0x4c0da0,{dataPipeline:_0x297029}){if(!_0x4c0da0['hasAttribute']('listMarker'))return null;if(_0x4c0da0['getAttribute']('listType')!=_0x347a0b['listType']||_0x4c0da0['getAttribute']('listMarkerStyle')!=_0x347a0b['listMarkerStyle'])return null;const _0x1f0d1e=String(_0x4c0da0['getAttribute']('listMarker')),_0x78b0ba=this['canInjectMarkerIntoElement'](_0x4c0da0);return _0x40ab6a['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x297029&&{'contenteditable':'false','data-multi-level-list-marker':_0x1f0d1e}},function(_0x26eff5){const _0x18d895=this['toDomElement'](_0x26eff5);return _0x78b0ba?(_0x18d895['appendChild']((0x0,_0x491313['createElement'])(_0x26eff5,'span',{},_0x297029?_0x26eff5['createTextNode'](_0x1f0d1e):[])),_0x18d895['appendChild'](_0x26eff5['createTextNode']('\u00a0'))):_0x297029&&_0x18d895['appendChild'](_0x26eff5['createTextNode'](_0x1f0d1e)),_0x18d895;});},'canInjectMarkerIntoElement':_0x348102=>_0x5828ec['schema']['checkChild'](_0x348102,'$text')&&_0x5828ec['schema']['checkChild'](_0x348102,'$inlineObject')&&!_0x5828ec['schema']['isLimit'](_0x348102)&&_0x348102['getAttribute']('listType')==_0x347a0b['listType']&&_0x348102['getAttribute']('listMarkerStyle')==_0x347a0b['listMarkerStyle']});_0x25766d['conversion']['for']('upcast')['add'](_0x583775=>{_0x583775['on']('element:span',function(_0x5b4727){return(_0x28471d,_0x204799,{writer:_0x308a39,consumable:_0xaeb9dd})=>{const _0x5be526=_0x204799['modelCursor'],_0x4f0262=_0x5be526['parent'],_0x2274a7=_0x204799['viewItem'];if(_0xaeb9dd['consume'](_0x2274a7,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x5be526['isAtStart']&&_0x4f0262['hasAttribute']('listType')&&_0x2274a7['childCount']>0x0){const _0x119a4f=_0x5b4727['createRangeIn'](_0x2274a7);let _0x46895f='';for(const _0x23221f of _0x119a4f['getItems']())_0x23221f['is']('$textProxy')?(_0x46895f+=_0x23221f['data']['trim'](),_0xaeb9dd['consume'](_0x23221f['textNode'])):_0xaeb9dd['consume'](_0x23221f,{'name':!0x0});_0x308a39['setAttribute']('listMarker',_0x46895f['trim'](),_0x4f0262);}};}(_0xa4cfcd));}),_0x56d751['on']('postFixer',(_0x512aab,{listNodes:_0x493530,writer:_0x221d5d})=>{const _0x5a5a62=[];for(const {node:_0x57d8a7,previousNodeInList:_0x796471}of _0x493530){const _0x3d857e=_0x57d8a7['getAttribute']('listType'),_0x239df7=_0x57d8a7['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3d857e?'legal':void 0x0),_0x5a4383=this['_listDefinitions']['find'](_0x154070=>_0x154070['listType']==_0x3d857e&&_0x154070['listMarkerStyle']==_0x239df7);if('customNumbered'!=_0x3d857e&&'customBulleted'!=_0x3d857e&&(_0x57d8a7['hasAttribute']('listMarker')&&(_0x221d5d['removeAttribute']('listMarker',_0x57d8a7),_0x512aab['return']=!0x0),_0x57d8a7['hasAttribute']('listMarkerStyle')&&(_0x221d5d['removeAttribute']('listMarkerStyle',_0x57d8a7),_0x512aab['return']=!0x0)),!_0x5a4383){'customBulleted'!=_0x3d857e||_0x239df7||(_0x221d5d['setAttribute']('listType','bulleted',_0x57d8a7),_0x512aab['return']=!0x0);continue;}_0x57d8a7['hasAttribute']('listMarkerStyle')||(_0x221d5d['setAttribute']('listMarkerStyle',_0x239df7,_0x57d8a7),_0x512aab['return']=!0x0);const _0x376e00=_0x57d8a7['getAttribute']('listIndent');if(_0x796471&&_0x796471['getAttribute']('listItemId')==_0x57d8a7['getAttribute']('listItemId'))continue;if(_0x5a5a62['length']=_0x376e00+0x1,_0x25766d['config']['get']('list.enableSkipLevelLists')){for(let _0x3e775f=0x0;_0x3e775f<_0x376e00;_0x3e775f++)void 0x0===_0x5a5a62[_0x3e775f]&&(_0x5a5a62[_0x3e775f]=0x1);}_0x796471||_0x5a5a62[_0x376e00]?_0x796471&&_0x796471['getAttribute']('listType')!=_0x5a4383['listType']?_0x5a5a62[_0x376e00]=0x1:_0x5a5a62[_0x376e00]++:_0x5a5a62[_0x376e00]=_0x57d8a7['getAttribute']('listStart')||0x1;const _0x5693bc=_0x5bbd96(_0x376e00,_0x5a4383,_0x5a5a62);_0x57d8a7['getAttribute']('listMarker')!=_0x5693bc&&(_0x221d5d['setAttribute']('listMarker',_0x5693bc,_0x57d8a7),_0x512aab['return']=!0x0);}}),_0x56d751['on']('checkElement',(_0x5ae333,{modelElement:_0x200789,viewElement:_0x20dd33})=>{const _0x501486=_0x200789['getAttribute']('listType');if('customNumbered'!=_0x501486&&'customBulleted'!=_0x501486)return;if(_0x5828ec['schema']['checkChild'](_0x200789,'$text'))return;const _0x4b809c=(0x0,_0x491313['_isFirstBlockOfListItem'])(_0x200789);let _0x3be1f4=!0x1;const _0x63efd3=_0xa4cfcd['createPositionBefore'](_0x20dd33)['getWalker']({'direction':'backward'});for(const {item:_0x3fa6c3}of _0x63efd3)if(_0x3fa6c3['is']('element')){if(_0x25766d['editing']['mapper']['toModelElement'](_0x3fa6c3))break;if(_0x3fa6c3['getCustomProperty']('listItemMarker')){_0x3be1f4=!0x0;break;}}_0x3be1f4!=_0x4b809c&&(_0x5ae333['return']=!0x0,_0x5ae333['stop']());});const _0x244dfc=_0x25766d['editing']['view']['document'];this['listenTo'](_0x244dfc,'clipboardOutput',(_0x547cf6,_0x277c0a)=>{const _0x3690e8=new _0x491313['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x218692=new _0x491313['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x4e1f46=new _0x491313['ViewUpcastWriter'](_0x277c0a['content']['document']),_0x1f6dd7=[];for(const _0x4feb21 of _0x4e1f46['createRangeIn'](_0x277c0a['content'])['getItems']())_0x4feb21['is']('element')&&_0x3690e8['match'](_0x4feb21)&&_0x1f6dd7['push'](_0x4feb21),_0x4feb21['is']('element')&&_0x218692['match'](_0x4feb21)&&_0x4e1f46['removeStyle']('list-style-type',_0x4feb21);for(const _0x3a2114 of _0x1f6dd7)_0x4e1f46['remove'](_0x3a2114);});}afterInit(){!async function(_0xd85e02){const _0xa21ab6='un0NFQUoX1evzk3yMEfwl7TxbDrisOZaWtKq52P98dchBVpjS4mYLC6gJIHGRA',_0x9c2b83=0x791d0,_0x25d87c=window['Date']['now'](),_0x515534=_0xd85e02['editor'],_0x5c31b7=new window['Promise'](_0x16f421=>{_0x515534['once']('ready',_0x16f421);}),_0x3a73d3={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2a98bb=_0x515534['config']['get']('licenseKey');async function _0x44e8e1(){let _0x20dbd3,_0x2d5444=null,_0x3a53eb=null;try{return'GPL'==_0x2a98bb?'NotAllowed':(_0x20dbd3=_0x43a313(),_0x20dbd3?(_0x20dbd3['usageEndpoint']&&(_0x3a53eb=_0x4d2e82(_0x20dbd3['usageEndpoint'],_0x20dbd3['jti'])),await _0x131ba3()?_0x283707()?_0x198e8c()?'Expired':_0x45e711()?('evaluation'==_0x20dbd3['licenseType']&&(_0x2d5444=_0x47ec9f('EvaluationLimit')),await _0x379b9e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x198e8c(){const _0x56543d=['evaluation','trial']['includes'](_0x20dbd3['licenseType'])?_0x25d87c/0x3e8:0xe10*_0x9c2b83;return _0x20dbd3['exp']<_0x56543d;}function _0x283707(){const _0x2bfc4b=_0x20dbd3['features'];return!!_0x2bfc4b&&(!!_0x2bfc4b['includes']('*')||!!_0x2bfc4b['includes']('MLL'));}function _0x45e711(){const _0x1c70bc=_0x20dbd3['licensedHosts'];if(!_0x1c70bc||0x0==_0x1c70bc['length'])return!0x0;const {hostname:_0x1b1e3e}=new URL(window['location']['href']);if(_0x1c70bc['includes'](_0x1b1e3e))return!0x0;const _0x3adb7b=_0x1b1e3e['split']('.');return _0x1c70bc['filter'](_0x301a27=>_0x301a27['includes']('*'))['map'](_0x5cc603=>_0x5cc603['split']('.'))['filter'](_0x1edf08=>_0x1edf08['length']<=_0x3adb7b['length'])['map'](_0x16680a=>Array(_0x3adb7b['length']-_0x16680a['length'])['fill']('*'===_0x16680a[0x0]?'*':'')['concat'](_0x16680a))['some'](_0x2f2cfa=>_0x3adb7b['every']((_0x2514f1,_0x111378)=>_0x2f2cfa[_0x111378]===_0x2514f1||'*'===_0x2f2cfa[_0x111378]));}function _0x379b9e(){return _0x2d5444&&_0x3a53eb?new window['Promise']((_0x218534,_0x5580ff)=>{_0x2d5444['then'](_0x218534,_0x5580ff),_0x3a53eb['then'](_0x21cda7=>{'Valid'!=_0x21cda7&&_0x218534(_0x21cda7);},_0x5580ff);}):_0x2d5444||_0x3a53eb||'Valid';}}function _0x4d2e82(_0x45edd8,_0x5f4808){return new window['Promise'](_0x3830f4=>{if(_0x426113())return _0x3830f4('Valid');_0x2b96db(),_0x515534['decorate']('_sendUsageRequest');let _0x84182e=!0x1;const _0x13a4dc=(0x0,_0x491313['uid'])();function _0x5f4e0d(_0x511656){return!!_0x511656&&('object'==typeof _0x511656||'function'==typeof _0x511656)&&'function'==typeof _0x511656['then']&&'function'==typeof _0x511656['catch'];}function _0x15ae61(_0x2bc3d6){_0x276836(_0x2bc3d6)['then'](_0x4af38b=>_0x4af38b&&'ok'==_0x4af38b['status']?_0x5e9845(_0x809758(_0x13a4dc+_0x5f4808))!=_0x4af38b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2641bf=>(_0x2f7a6e(),_0x2641bf),()=>{const _0x1240d8=_0x37956a();return null==_0x1240d8?(_0x2f7a6e(),'Valid'):_0x25d87c-_0x1240d8>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3830f4)['catch'](()=>{_0x3830f4('UsageLimit');});const _0x1b119e=0x36ee80;function _0x2f7a6e(){const _0x2f1ec8='llct-'+_0x5e9845(_0x809758(_0x45edd8)),_0x4846ac=_0x208947(_0x5e9845(window['Math']['ceil'](_0x25d87c/_0x1b119e)));window['localStorage']['setItem'](_0x2f1ec8,_0x4846ac);}function _0x37956a(){const _0x302bbb='llct-'+_0x5e9845(_0x809758(_0x45edd8)),_0x520432=window['localStorage']['getItem'](_0x302bbb);return _0x520432?window['parseInt'](_0x208947(_0x520432),0x10)*_0x1b119e:null;}function _0x276836(_0xbe6e0e){return new window['Promise']((_0x2ef8ab,_0x4202f8)=>{_0xbe6e0e['then'](_0x2ef8ab,_0x4202f8),window['setTimeout'](_0x4202f8,0x1d4c0);});}}_0x515534['on']('_sendUsageRequest',(_0xe2e95f,_0x43fd9e)=>{if(_0x43fd9e[0x0]!=_0x45edd8)return _0x3830f4('UsageLimit');_0x43fd9e[0x1]={..._0x43fd9e[0x1],'requestId':_0x13a4dc};},{'priority':'high'}),_0x515534['on']('_sendUsageRequest',_0x2daccc=>{_0x5f4e0d(_0x2daccc['return'])&&(_0x84182e=!0x0,_0x15ae61(_0x2daccc['return']));},{'priority':'low'}),_0x5c31b7['then'](()=>{_0x84182e||_0x3830f4('UsageLimit');});});function _0x426113(){return'auto'==_0x515534['editing']['view']['_overlayModeHint'];}function _0x2b96db(){_0x515534['editing']['view']['_overlayModeHint']='auto';}}function _0x47ec9f(_0x50fb46){const _0x3bec3a=[new window['Promise'](_0x350b96=>setTimeout(_0x350b96,0x93ecc)),_0x5c31b7['then'](()=>new window['Promise'](_0x204a4a=>{let _0x4772bd=0x0;_0x515534['model']['on']('applyOperation',(_0x463fee,_0x12e864)=>{_0x12e864[0x0]['isDocumentOperation']&&_0x4772bd++,0x5e8==_0x4772bd&&(_0x204a4a(),_0x463fee['off']());});}))];return window['Promise']['race'](_0x3bec3a)['then'](()=>_0x50fb46);}async function _0x4805e1(){await _0x5c31b7,_0x515534['model']['change']=_0x83ac51,_0x515534['model']['enqueueChange']=_0x83ac51,_0x515534['enableReadOnlyMode']('model');}function _0x152c7e(_0x47c26f){const _0x41317f=_0x572b56();_0x515534[_0x41317f]='multiLevelListLicenseKey'+_0x47c26f,'Valid'!=_0x47c26f&&_0x4805e1();}function _0x572b56(){const _0x259037=window['String'](window['performance']['now']())['replace']('.','');let _0x3ed719='u';for(let _0x11d6d6=0x0;_0x11d6d6<_0x259037['length'];_0x11d6d6+=0x2){let _0x563f4e=window['parseInt'](_0x259037['substring'](_0x11d6d6,_0x11d6d6+0x2));_0x563f4e>=0x3e&&(_0x563f4e-=0x3e),_0x3ed719+=_0xa21ab6[_0x563f4e];}return _0x3ed719;}function _0x43a313(){const _0x26b59d=_0x2a98bb['split']('.');if(0x3!=_0x26b59d['length'])return null;return _0x39a4a7(_0x26b59d[0x1]);function _0x39a4a7(_0x32babd){const _0x592a96=_0x23e891(_0x32babd);return _0x592a96&&_0x22183a()?_0x592a96:null;function _0x22183a(){const _0x3eaa6f=_0x592a96['jti'],_0x12f10f=window['parseInt'](_0x3eaa6f['substring'](_0x3eaa6f['length']-0x8),0x10),_0x51ee18={..._0x592a96,'jti':_0x3eaa6f['substring'](0x0,_0x3eaa6f['length']-0x8)};return delete _0x51ee18['vc'],_0x809758(_0x51ee18)==_0x12f10f;}}}async function _0x131ba3(){let _0x1d93a2=!0x0;try{const [_0x1579a2,_0x1eb5a9,_0x422e45]=_0x2a98bb['split']('.');return _0x4491f9(_0x1579a2),await _0x29879f(_0x1579a2,_0x1eb5a9,_0x422e45),_0x1d93a2;}catch{return!0x1;}function _0x4491f9(_0x3c3d8a){const _0x5178b7=_0x23e891(_0x3c3d8a);_0x5178b7&&'ES256'==_0x5178b7['alg']||(_0x1d93a2=!0x1);}async function _0x29879f(_0xd40ef2,_0x28f441,_0x1b396c){const _0x4b7acb=window['Uint8Array']['from'](_0x4fac3d(_0x1b396c),_0x3be376=>_0x3be376['charCodeAt'](0x0)),_0x412c93=new window['TextEncoder']()['encode'](_0xd40ef2+'.'+_0x28f441),_0xd67fdd=window['crypto']['subtle'];if(!_0xd67fdd)return;const _0x5901c2=await _0xd67fdd['importKey']('jwk',_0x3a73d3,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xd67fdd['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5901c2,_0x4b7acb,_0x412c93)||(_0x1d93a2=!0x1);}}function _0x23e891(_0xaf4c37){return _0xaf4c37['startsWith']('ey')?JSON['parse'](_0x4fac3d(_0xaf4c37)):null;}function _0x4fac3d(_0x320bc8){return window['atob'](_0x320bc8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x809758(_0x231ec3){let _0x59d863=0x1505;function _0x195a1f(_0x5d0eaf){for(let _0x52be2b=0x0;_0x52be2b<_0x5d0eaf['length'];_0x52be2b++){const _0x477a53=_0x5d0eaf['charCodeAt'](_0x52be2b);_0x59d863=(_0x59d863<<0x5)+_0x59d863+_0x477a53,_0x59d863&=_0x59d863;}}function _0x59b9af(_0x286ace){Array['isArray'](_0x286ace)?_0x286ace['forEach'](_0x59b9af):_0x286ace&&'object'==typeof _0x286ace?Object['entries'](_0x286ace)['sort']()['forEach'](([_0x2c4dd1,_0x283fda])=>{_0x195a1f(_0x2c4dd1),_0x59b9af(_0x283fda);}):_0x195a1f(window['String'](_0x286ace));}return _0x59b9af(_0x231ec3),_0x59d863>>>0x0;}function _0x5e9845(_0x5bf1f2){return _0x5bf1f2['toString'](0x10)['padStart'](0x8,'0');}function _0x208947(_0x372175){return _0x372175['split']('')['reverse']()['join']('');}function _0x83ac51(){}_0x152c7e(await _0x44e8e1());}(this);}};function _0x5bbd96(_0x32e403,_0x30a069,_0x4c60b7){let _0x51392f=_0x30a069['listMarkers'][_0x32e403%_0x30a069['listMarkers']['length']];if(void 0x0===_0x51392f['showMarkerPath']||_0x51392f['showMarkerPath'])return _0x4c60b7['slice'](0x0,_0x32e403+0x1)['map']((_0x3c5ef1,_0x184f07)=>(_0x51392f=_0x30a069['listMarkers'][_0x184f07%_0x30a069['listMarkers']['length']],_0xfc011d(_0x51392f['marker'],_0x3c5ef1)))['join']('');{const _0x1fe715=_0x4c60b7[_0x4c60b7['length']-0x1];return _0xfc011d(_0x51392f['marker'],_0x1fe715);}}function _0xfc011d(_0x57a000,_0x42fb30){return'function'==typeof _0x57a000?_0x57a000(_0x42fb30):_0x57a000;}function _0x24b546(_0x231c42,_0x24584a){return(_0x5b6a00,_0x132190,_0x49b77f)=>{const _0x4606c9=_0x132190['viewItem'];if(_0x132190['modelRange']||Object['assign'](_0x132190,_0x49b77f['convertChildren'](_0x132190['viewItem'],_0x132190['modelCursor'])),!_0x49b77f['consumable']['test'](_0x4606c9,{'classes':_0x231c42['className']}))return;const _0x27acf0=Array['from'](_0x132190['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0xc0cbe5=>_0x24584a['checkAttribute'](_0xc0cbe5,'listItemId'));if(!_0x27acf0['length'])return;_0x49b77f['consumable']['consume'](_0x4606c9,{'classes':_0x231c42['className']}),_0x49b77f['consumable']['consume'](_0x4606c9,{'classes':'multi-level-list'}),_0x49b77f['consumable']['consume'](_0x4606c9,{'styles':'list-style-type'});const _0x29add8=_0x27acf0[0x0]['getAttribute']('listIndent');for(const _0x14e95d of _0x27acf0)_0x14e95d['getAttribute']('listIndent')==_0x29add8&&(_0x49b77f['writer']['setAttribute']('listType',_0x231c42['listType'],_0x14e95d),_0x49b77f['writer']['setAttribute']('listMarkerStyle',_0x231c42['listMarkerStyle'],_0x14e95d));};}function _0x9bd51c(_0xd8f355,_0xca6a09){const _0x50ff2d=_0xd8f355['t'],t=_0xd8f355['t'];switch(_0xca6a09){case'Start\x20at':return _0x50ff2d('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x50ff2d('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x50ff2d('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x50ff2d('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0xca6a09;}}var _0xffb30f=class extends _0x491313['View']{['children'];stylesView=null;additionalPropertiesCollapsibleView=null;startIndexFieldView=null;['focusTracker']=new _0x491313['FocusTracker']();keystrokes=new _0x491313['KeystrokeHandler']();['focusables']=new _0x491313['ViewCollection']();['focusCycler'];constructor(_0x46818e,{enabledProperties:_0x14655c,styleButtonViews:_0x373ede,styleGridAriaLabel:_0x3ed23b}){super(_0x46818e);const _0x490883=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x14655c['styles']?(this['stylesView']=this['_createStylesView'](_0x373ede,_0x3ed23b),this['children']['add'](this['stylesView'])):_0x490883['push']('ck-multi-level-list-properties_without-styles'),_0x14655c['startIndex']&&(this['_addListPropertyViews'](_0x14655c),_0x490883['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x490883},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x233f96 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x233f96['element']);(0x0,_0x491313['addKeyboardHandlingForGrid'])({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x491313['global']['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3da50b=_0x5f4d6c=>_0x5f4d6c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3da50b),this['keystrokes']['set']('arrowleft',_0x3da50b),this['keystrokes']['set']('arrowup',_0x3da50b),this['keystrokes']['set']('arrowdown',_0x3da50b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_createStylesView(_0x188b2d,_0x4c776e){const _0x279688=new _0x491313['View'](this['locale']);return _0x279688['children']=_0x279688['createCollection'](),_0x279688['children']['addMany'](_0x188b2d),_0x279688['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4c776e,'class':['ck','ck-multi-level-list-styles']},'children':_0x279688['children']}),_0x279688['children']['delegate']('execute')['to'](this),_0x279688['focus']=function(){this['children']['first']['focus']();},_0x279688['focusTracker']=new _0x491313['FocusTracker'](),_0x279688['keystrokes']=new _0x491313['KeystrokeHandler'](),_0x279688['render'](),_0x279688['keystrokes']['listenTo'](_0x279688['element']),_0x279688;}_addListPropertyViews(_0x5be202){const _0x27a8a4=[];_0x5be202['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x27a8a4['push'](this['startIndexFieldView'])),_0x5be202['styles']?(this['additionalPropertiesCollapsibleView']=new _0x491313['CollapsibleView'](this['locale'],_0x27a8a4),this['additionalPropertiesCollapsibleView']['set']({'label':_0x9bd51c(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x27a8a4,'isEnabled',(..._0x322dc3)=>_0x322dc3['some'](_0x4eb31b=>_0x4eb31b)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x4e6b67,_0x5e67e5,_0x4a0fb2)=>{_0x4a0fb2||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x27a8a4);}_createStartIndexField(){const _0x20e788=new _0x491313['LabeledFieldView'](this['locale'],_0x491313['createLabeledInputNumber']);return _0x20e788['set']({'label':_0x9bd51c(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x20e788['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x20e788['fieldView']['on']('input',()=>{const _0x5a3cec=_0x20e788['fieldView']['element'],_0x175255=_0x5a3cec['valueAsNumber'];Number['isNaN'](_0x175255)?_0x20e788['errorText']=_0x9bd51c(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x5a3cec['checkValidity']()?this['fire']('listStart',{'startIndex':_0x175255}):_0x20e788['errorText']=_0x9bd51c(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x20e788;}},_0x5dba9d=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x1a64ef=this['editor'];_0x1a64ef['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x355576,parentCommandName:_0x4f5b4f,buttonLabel:_0x54413d,buttonIcon:_0x66f4c6,styleGridAriaLabel:_0x22ef96,styleDefinitions:_0x22b29a}){const _0xcbc922=_0x355576['commands']['get'](_0x4f5b4f),_0x2a01fa=_0x355576['config']['get']('list.properties')||{},_0x232d49=_0x355576['plugins']['has']('ListProperties'),_0x1fccdd=_0x2a01fa['startIndex'];return _0x232d49&&_0x1fccdd?_0xc997d1=>{const _0x5245ae=(0x0,_0x491313['createDropdown'])(_0xc997d1,_0x491313['SplitButtonView']),_0x24c9b7=_0x5245ae['buttonView'];return _0x5245ae['bind']('isEnabled')['to'](_0xcbc922),_0x5245ae['class']='ck-list-styles-dropdown',_0x24c9b7['on']('execute',()=>{_0x355576['execute'](_0x4f5b4f),_0x355576['editing']['view']['focus']();}),_0x24c9b7['set']({'label':_0x54413d,'icon':_0x66f4c6,'tooltip':!0x0,'isToggleable':!0x0}),_0x24c9b7['bind']('isOn')['to'](_0xcbc922,'value',_0x3a39dc=>!!_0x3a39dc),_0x5245ae['once']('change:isOpen',()=>{const _0x5f50dd=function({editor:_0xdcbfd8,dropdownView:_0x2c9b5e,styleDefinitions:_0x574c76,styleGridAriaLabel:_0x989758}){const _0x4219e5=_0xdcbfd8['locale'],_0x2f78f5=_0xdcbfd8['config']['get']('list.properties'),_0x5b31f6=null;_0x2f78f5['reversed']=!0x1,_0x574c76['length']||(_0x2f78f5['styles']=!0x1);const _0xde6171=new _0xffb30f(_0x4219e5,{'styleGridAriaLabel':_0x989758,'enabledProperties':_0x2f78f5,'styleButtonViews':_0x5b31f6});if(_0x2f78f5['startIndex']){const _0x3f8aef=_0xdcbfd8['commands']['get']('listStart');_0xde6171['startIndexFieldView']['bind']('isEnabled')['to'](_0x3f8aef),_0xde6171['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3f8aef),_0xde6171['on']('listStart',(_0x21cbbe,_0x3b527d)=>_0xdcbfd8['execute']('listStart',_0x3b527d));}return _0xde6171['delegate']('execute')['to'](_0x2c9b5e),_0xde6171;}({'editor':_0x355576,'dropdownView':_0x5245ae,'parentCommandName':_0x4f5b4f,'styleGridAriaLabel':_0x22ef96,'styleDefinitions':_0x22b29a});_0x5245ae['panelView']['children']['add'](_0x5f50dd);}),_0x5245ae['on']('execute',()=>{_0x355576['editing']['view']['focus']();}),_0x5245ae;}:_0x49cdad=>{const _0x111fe7=new _0x491313['ButtonView'](_0x49cdad);return _0x111fe7['set']({'label':_0x54413d,'icon':_0x66f4c6,'tooltip':!0x0,'isToggleable':!0x0}),_0x111fe7['bind']('isOn')['to'](_0xcbc922,'value',_0x578a56=>!!_0x578a56),_0x111fe7['on']('execute',()=>{_0x355576['execute'](_0x4f5b4f),_0x355576['editing']['view']['focus']();}),_0x111fe7;};}({'editor':_0x1a64ef,'parentCommandName':'multiLevelList','buttonLabel':_0x9bd51c(_0x1a64ef['locale'],'Multi-level\x20List'),'buttonIcon':_0x491313['IconMultiLevelList'],'styleGridAriaLabel':_0x9bd51c(_0x1a64ef['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x1a64ef['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x3b4683=_0x1a64ef['commands']['get']('multiLevelList'),_0x4b05f2=new _0x491313['MenuBarMenuListItemButtonView'](_0x1a64ef['locale']);return _0x4b05f2['set']({'label':_0x9bd51c(_0x1a64ef['locale'],'Multi-level\x20List'),'icon':_0x491313['IconMultiLevelList']}),_0x4b05f2['bind']('isEnabled')['to'](_0x3b4683),_0x4b05f2['bind']('isOn')['to'](_0x3b4683,'value',_0x40a255=>!!_0x40a255),_0x4b05f2['on']('execute',()=>{_0x1a64ef['execute']('multiLevelList'),_0x1a64ef['editing']['view']['focus']();}),_0x4b05f2;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x28b6c9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf7ceca;for(const _0x5357e4 in _0x28b6c9){const _0x48e8fc=_0x5357e4,_0x20e3af=_0x28b6c9[_0x48e8fc];if('multiLevelListLicenseKeyValid'==_0x20e3af||'multiLevelListLicenseKeyInvalid'==_0x20e3af||'multiLevelListLicenseKeyExpired'==_0x20e3af||'multiLevelListLicenseKeyDomainLimit'==_0x20e3af||'multiLevelListLicenseKeyNotAllowed'==_0x20e3af||'multiLevelListLicenseKeyEvaluationLimit'==_0x20e3af||'multiLevelListLicenseKeyUsageLimit'==_0x20e3af){delete _0x28b6c9[_0x48e8fc],_0xf7ceca=_0x20e3af,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0xf7ceca&&_0x28b6c9['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0xf7ceca&&_0x28b6c9['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0xf7ceca&&_0x28b6c9['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0xf7ceca&&_0x28b6c9['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0xf7ceca&&_0x28b6c9['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0xf7ceca&&_0x28b6c9['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x1c3d3b=class extends _0x491313['Plugin']{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x32550e,_0x5dba9d];}},_0x140df4=class extends _0x491313['Command']{['refresh'](){const _0xc9fa62=this['editor']['model'],_0x100784=_0xc9fa62['schema']['checkChild'](_0xc9fa62['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x100784;}execute(_0xf202fe){if(!_0xf202fe||'string'!=typeof _0xf202fe)return;const _0x3ac992=this['editor']['model'];_0x3ac992['change'](_0x76c739=>{_0x3ac992['deleteContent'](_0x3ac992['document']['selection']);const _0x50d81e=_0x76c739['createElement']('mergeField',{'id':_0xf202fe});for(const [_0x2399ac,_0x1a32d2]of _0x3ac992['document']['selection']['getAttributes']())_0x3ac992['schema']['checkAttribute'](_0x50d81e,_0x2399ac)&&_0x76c739['setAttribute'](_0x2399ac,_0x1a32d2,_0x50d81e);_0x3ac992['insertContent'](_0x50d81e,_0x3ac992['document']['selection'],0x0,{'setSelection':'after'});});}},_0x249fb3=class extends _0x491313['Command']{['refresh'](){const _0xfcd9a0=this['editor']['model'],_0x34e70a=_0xfcd9a0['document']['selection'];this['isEnabled']=function(_0x2483e9,_0x1e5818){let _0xfc4b72=(0x0,_0x491313['findOptimalInsertionRange'])(_0x2483e9,_0x1e5818)['start']['parent'];return _0xfc4b72['isEmpty']&&!_0x1e5818['schema']['isLimit'](_0xfc4b72)&&(_0xfc4b72=_0xfc4b72['parent']),_0x1e5818['schema']['checkChild'](_0xfc4b72,'mergeFieldBlock');}(_0x34e70a,_0xfcd9a0);}execute(_0x331837,_0x5683d1){if(!_0x331837||'string'!=typeof _0x331837)return;const _0x4aa8cd=this['editor']['model'];_0x4aa8cd['change'](_0x87eed3=>{const _0x57a445=_0x87eed3['createElement']('mergeFieldBlock',{'id':_0x331837});_0x4aa8cd['insertObject'](_0x57a445,_0x4aa8cd['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x5683d1?void 0x0:'auto'});});}},_0x8a5ad1=class extends _0x491313['Command']{constructor(_0x15eab9){super(_0x15eab9),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}execute(_0x4a1655,_0x16d832){if(!_0x4a1655||'string'!=typeof _0x4a1655)return;const _0x176ba8=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x4bbe52=_0x176ba8['getMergeFieldWidth'](_0x4a1655),_0x3d1bf6=_0x176ba8['getMergeFieldHeight'](_0x4a1655);this['editor']['execute']('insertImage',{'source':{'src':_0x176ba8['wrapInAffixes'](_0x4a1655),'width':_0x4bbe52,'height':_0x3d1bf6},'breakBlock':_0x16d832&&_0x16d832['breakBlock']});}},_0x13fcbb=class extends _0x491313['Command']{constructor(_0x426ba3){super(_0x426ba3);const _0x29c065=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x29c065,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}execute(_0x54e575){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x54e575;}};const _0x4256ac=/^[a-zA-Z0-9_.-]+$/;var _0x2511f6=class extends _0x491313['Plugin']{['availablePreviewModes'];flattenedMergeFieldDefinitions=[];_mergeFieldElements;['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];_shouldPreviewHtmlValues;static get requires(){return[_0x491313['ImageUtils'],_0x491313['ImageEditing']];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4c41f9){super(_0x4c41f9),_0x4c41f9['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x4c41f9['config']['define']('mergeFields.dataSets',[]),_0x4c41f9['config']['define']('mergeFields.definitions',[]),_0x4c41f9['config']['define']('mergeFields.prefix','{{'),_0x4c41f9['config']['define']('mergeFields.suffix','}}'),_0x4c41f9['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x4c41f9['config']['define']('mergeFields.sanitizeHtml',_0x3388cb=>((0x0,_0x491313['logWarning'])('merge-fields-provide-sanitize-function'),{'html':_0x3388cb,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x4c41f9['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x4c41f9['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x4c41f9['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x2bb8d1='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x3a55d8='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x2bb8d1+'[^'+(_0x2bb8d1+_0x3a55d8)+'\x20]+'+_0x3a55d8+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0xd315fa=_0x4c41f9['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0xd315fa),this['set']('previewMode',_0xd315fa),this['_mergeFieldElements']=new Set();}init(){const _0x8d8d7f=this['editor'];_0x8d8d7f['commands']['add']('insertMergeField',new _0x140df4(_0x8d8d7f)),_0x8d8d7f['commands']['add']('insertMergeFieldBlock',new _0x249fb3(_0x8d8d7f)),_0x8d8d7f['commands']['add']('insertMergeFieldImage',new _0x8a5ad1(_0x8d8d7f)),_0x8d8d7f['commands']['add']('previewMergeFields',new _0x13fcbb(_0x8d8d7f)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x12f7df,_0x58a835,_0x436dee)=>{this['_validatePreviewMode'](_0x436dee),this['refreshMergeFields']();}),this['listenTo'](_0x8d8d7f['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x8d8d7f['editing']['mapper']['on']('viewToModelPosition',(0x0,_0x491313['viewToModelPositionOutsideModelElement'])(_0x8d8d7f['model'],_0x5b8ead=>_0x5b8ead['hasClass']('ck-merge-field'))),_0x8d8d7f['editing']['mapper']['on']('viewToModelPosition',(0x0,_0x491313['viewToModelPositionOutsideModelElement'])(_0x8d8d7f['model'],_0x5158a1=>_0x5158a1['hasClass']('ck-merge-field-block'))),_0x8d8d7f['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}afterInit(){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x3911cf){const _0x423105='cvqCYM8ia9TDP6n5dmrzbJtlj03FwLxIpEWSUG7ARu21KfQoXNyg4ZBeOhskHV',_0xad2675=0x791d0,_0x36c1ff=window['Date']['now'](),_0x1e2c3c=_0x3911cf['editor'],_0x3e7976=new window['Promise'](_0x46effa=>{_0x1e2c3c['once']('ready',_0x46effa);}),_0x4d03bb={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4d2a0d=_0x1e2c3c['config']['get']('licenseKey');async function _0x5454b3(){let _0x4873fd,_0x5ef27d=null,_0x3a1547=null;try{return'GPL'==_0x4d2a0d?'NotAllowed':(_0x4873fd=_0x3101c9(),_0x4873fd?(_0x4873fd['usageEndpoint']&&(_0x3a1547=_0x26726b(_0x4873fd['usageEndpoint'],_0x4873fd['jti'])),await _0x178856()?_0x3e9029()?_0x226923()?'Expired':_0x4a24b2()?('evaluation'==_0x4873fd['licenseType']&&(_0x5ef27d=_0x202d85('EvaluationLimit')),await _0x639922()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x226923(){const _0x1a0a9a=['evaluation','trial']['includes'](_0x4873fd['licenseType'])?_0x36c1ff/0x3e8:0xe10*_0xad2675;return _0x4873fd['exp']<_0x1a0a9a;}function _0x3e9029(){const _0x167346=_0x4873fd['features'];return!!_0x167346&&(!!_0x167346['includes']('*')||!!_0x167346['includes']('MF'));}function _0x4a24b2(){const _0x5ea689=_0x4873fd['licensedHosts'];if(!_0x5ea689||0x0==_0x5ea689['length'])return!0x0;const {hostname:_0x5cc202}=new URL(window['location']['href']);if(_0x5ea689['includes'](_0x5cc202))return!0x0;const _0x43f596=_0x5cc202['split']('.');return _0x5ea689['filter'](_0x3ffad1=>_0x3ffad1['includes']('*'))['map'](_0x5282d7=>_0x5282d7['split']('.'))['filter'](_0xef117a=>_0xef117a['length']<=_0x43f596['length'])['map'](_0x374aed=>Array(_0x43f596['length']-_0x374aed['length'])['fill']('*'===_0x374aed[0x0]?'*':'')['concat'](_0x374aed))['some'](_0x3a1cc5=>_0x43f596['every']((_0x10b43c,_0x57ba27)=>_0x3a1cc5[_0x57ba27]===_0x10b43c||'*'===_0x3a1cc5[_0x57ba27]));}function _0x639922(){return _0x5ef27d&&_0x3a1547?new window['Promise']((_0x3d00f7,_0x5994e8)=>{_0x5ef27d['then'](_0x3d00f7,_0x5994e8),_0x3a1547['then'](_0x35f071=>{'Valid'!=_0x35f071&&_0x3d00f7(_0x35f071);},_0x5994e8);}):_0x5ef27d||_0x3a1547||'Valid';}}function _0x26726b(_0x11cbd7,_0x46f6ca){return new window['Promise'](_0x38ccf3=>{if(_0x4e1715())return _0x38ccf3('Valid');_0x4488ea(),_0x1e2c3c['decorate']('_sendUsageRequest');let _0xf33612=!0x1;const _0x3b81e9=(0x0,_0x491313['uid'])();function _0x14f63c(_0x5776b8){return!!_0x5776b8&&('object'==typeof _0x5776b8||'function'==typeof _0x5776b8)&&'function'==typeof _0x5776b8['then']&&'function'==typeof _0x5776b8['catch'];}function _0x3076fe(_0x596c0c){_0x5c11cb(_0x596c0c)['then'](_0x467e27=>_0x467e27&&'ok'==_0x467e27['status']?_0x382f23(_0x377f6f(_0x3b81e9+_0x46f6ca))!=_0x467e27['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1ab086=>(_0x524683(),_0x1ab086),()=>{const _0x584204=_0x5e395a();return null==_0x584204?(_0x524683(),'Valid'):_0x36c1ff-_0x584204>0x240c8400?'UsageLimit':'Valid';})['then'](_0x38ccf3)['catch'](()=>{_0x38ccf3('UsageLimit');});const _0x3f1ff2=0x36ee80;function _0x524683(){const _0x2f6336='llct-'+_0x382f23(_0x377f6f(_0x11cbd7)),_0x2c38a9=_0xa60132(_0x382f23(window['Math']['ceil'](_0x36c1ff/_0x3f1ff2)));window['localStorage']['setItem'](_0x2f6336,_0x2c38a9);}function _0x5e395a(){const _0x33cee4='llct-'+_0x382f23(_0x377f6f(_0x11cbd7)),_0x4a9454=window['localStorage']['getItem'](_0x33cee4);return _0x4a9454?window['parseInt'](_0xa60132(_0x4a9454),0x10)*_0x3f1ff2:null;}function _0x5c11cb(_0x3552a8){return new window['Promise']((_0x569fe4,_0x31834e)=>{_0x3552a8['then'](_0x569fe4,_0x31834e),window['setTimeout'](_0x31834e,0x1d4c0);});}}_0x1e2c3c['on']('_sendUsageRequest',(_0x2a3e22,_0x48ce48)=>{if(_0x48ce48[0x0]!=_0x11cbd7)return _0x38ccf3('UsageLimit');_0x48ce48[0x1]={..._0x48ce48[0x1],'requestId':_0x3b81e9};},{'priority':'high'}),_0x1e2c3c['on']('_sendUsageRequest',_0x45fbfc=>{_0x14f63c(_0x45fbfc['return'])&&(_0xf33612=!0x0,_0x3076fe(_0x45fbfc['return']));},{'priority':'low'}),_0x3e7976['then'](()=>{_0xf33612||_0x38ccf3('UsageLimit');});});function _0x4e1715(){return'auto'==_0x1e2c3c['editing']['view']['_overlayModeHint'];}function _0x4488ea(){_0x1e2c3c['editing']['view']['_overlayModeHint']='auto';}}function _0x202d85(_0x56df64){const _0x31be3f=[new window['Promise'](_0x1ee0c4=>setTimeout(_0x1ee0c4,0x93ecc)),_0x3e7976['then'](()=>new window['Promise'](_0x3322e7=>{let _0x224827=0x0;_0x1e2c3c['model']['on']('applyOperation',(_0x534021,_0xfe85a)=>{_0xfe85a[0x0]['isDocumentOperation']&&_0x224827++,0x5e8==_0x224827&&(_0x3322e7(),_0x534021['off']());});}))];return window['Promise']['race'](_0x31be3f)['then'](()=>_0x56df64);}async function _0x501ad1(){await _0x3e7976,_0x1e2c3c['model']['change']=_0x5d77ef,_0x1e2c3c['model']['enqueueChange']=_0x5d77ef,_0x1e2c3c['enableReadOnlyMode']('model');}function _0x47bb94(_0x50fdfb){const _0x1d5263=_0x289bc1();_0x1e2c3c[_0x1d5263]='mergeFieldsLicenseKey'+_0x50fdfb,'Valid'!=_0x50fdfb&&_0x501ad1();}function _0x289bc1(){const _0x5d540e=window['String'](window['performance']['now']())['replace']('.','');let _0x5483f1='c';for(let _0x332437=0x0;_0x332437<_0x5d540e['length'];_0x332437+=0x2){let _0x5ee487=window['parseInt'](_0x5d540e['substring'](_0x332437,_0x332437+0x2));_0x5ee487>=0x3e&&(_0x5ee487-=0x3e),_0x5483f1+=_0x423105[_0x5ee487];}return _0x5483f1;}function _0x3101c9(){const _0x962495=_0x4d2a0d['split']('.');if(0x3!=_0x962495['length'])return null;return _0x75593a(_0x962495[0x1]);function _0x75593a(_0x364d3b){const _0x3eeb93=_0x58742d(_0x364d3b);return _0x3eeb93&&_0x5731c8()?_0x3eeb93:null;function _0x5731c8(){const _0x419875=_0x3eeb93['jti'],_0x1c7ff2=window['parseInt'](_0x419875['substring'](_0x419875['length']-0x8),0x10),_0x502c20={..._0x3eeb93,'jti':_0x419875['substring'](0x0,_0x419875['length']-0x8)};return delete _0x502c20['vc'],_0x377f6f(_0x502c20)==_0x1c7ff2;}}}async function _0x178856(){let _0x153aa0=!0x0;try{const [_0x4a31f2,_0x4ec4a4,_0x12f6d6]=_0x4d2a0d['split']('.');return _0x180bd8(_0x4a31f2),await _0x4c2dca(_0x4a31f2,_0x4ec4a4,_0x12f6d6),_0x153aa0;}catch{return!0x1;}function _0x180bd8(_0x418d4d){const _0x5f0c58=_0x58742d(_0x418d4d);_0x5f0c58&&'ES256'==_0x5f0c58['alg']||(_0x153aa0=!0x1);}async function _0x4c2dca(_0x3dda62,_0x376bf9,_0x26bfe0){const _0x19fa96=window['Uint8Array']['from'](_0x53c00e(_0x26bfe0),_0x1cfbf9=>_0x1cfbf9['charCodeAt'](0x0)),_0x1e13c4=new window['TextEncoder']()['encode'](_0x3dda62+'.'+_0x376bf9),_0x3600fc=window['crypto']['subtle'];if(!_0x3600fc)return;const _0x392da1=await _0x3600fc['importKey']('jwk',_0x4d03bb,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3600fc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x392da1,_0x19fa96,_0x1e13c4)||(_0x153aa0=!0x1);}}function _0x58742d(_0x340220){return _0x340220['startsWith']('ey')?JSON['parse'](_0x53c00e(_0x340220)):null;}function _0x53c00e(_0x5e3cb4){return window['atob'](_0x5e3cb4['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x377f6f(_0x60ac7d){let _0x5289f6=0x1505;function _0x58ab66(_0x40f077){for(let _0x3cf992=0x0;_0x3cf992<_0x40f077['length'];_0x3cf992++){const _0x46418b=_0x40f077['charCodeAt'](_0x3cf992);_0x5289f6=(_0x5289f6<<0x5)+_0x5289f6+_0x46418b,_0x5289f6&=_0x5289f6;}}function _0x2ca302(_0x38906d){Array['isArray'](_0x38906d)?_0x38906d['forEach'](_0x2ca302):_0x38906d&&'object'==typeof _0x38906d?Object['entries'](_0x38906d)['sort']()['forEach'](([_0x346bda,_0x3002bc])=>{_0x58ab66(_0x346bda),_0x2ca302(_0x3002bc);}):_0x58ab66(window['String'](_0x38906d));}return _0x2ca302(_0x60ac7d),_0x5289f6>>>0x0;}function _0x382f23(_0x14d81b){return _0x14d81b['toString'](0x10)['padStart'](0x8,'0');}function _0xa60132(_0x159d61){return _0x159d61['split']('')['reverse']()['join']('');}function _0x5d77ef(){}_0x47bb94(await _0x5454b3());}(this);}['isMergeField'](_0x5e9a2c){return'mergeField'===_0x5e9a2c['name']||'mergeFieldBlock'===_0x5e9a2c['name']||!!('imageBlock'===_0x5e9a2c['name']||'imageInline'===_0x5e9a2c['name']&&_0x5e9a2c['getAttribute']('src'))&&!!_0x5e9a2c['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}getDefaultValues(){const _0x54db6e={},_0x26e907=this['getMergeFieldsIds']();for(const _0xbacd56 of _0x26e907)_0x54db6e[_0xbacd56]=this['getMergeFieldDefaultValue'](_0xbacd56);return _0x54db6e;}getDataSetValues(_0x2c7bed,_0x4c2799=!0x1){const _0x1cfb85={},_0x5e2d62=this['getMergeFieldsIds']();for(const _0x48c598 of _0x5e2d62){let _0x5c266e=this['getMergeFieldValue'](_0x48c598,_0x2c7bed);null===_0x5c266e&&_0x4c2799&&(_0x5c266e=this['getMergeFieldDefaultValue'](_0x48c598)),_0x1cfb85[_0x48c598]=_0x5c266e;}return _0x1cfb85;}getLabel(_0x434860){const _0x48d36a=this['getDefinition'](_0x434860);return _0x48d36a&&_0x48d36a['label']?_0x48d36a['label']:null;}getMergeFieldDefaultValue(_0x1483cf){const _0x3100c9=this['getDefinition'](_0x1483cf);if(!_0x3100c9||void 0x0===_0x3100c9['defaultValue'])return null;const _0x292972='function'==typeof _0x3100c9['defaultValue']?_0x3100c9['defaultValue'](this['editor']):_0x3100c9['defaultValue'];return String(_0x292972);}getMergeFieldValue(_0x224093,_0x34499b){const _0x3cbfc3=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x5d9f66=>_0x5d9f66['id']===_0x34499b);if(!_0x3cbfc3)throw new _0x491313['CKEditorError']('merge-fields-data-set-not-found',null);const _0x43037e=_0x3cbfc3['values'][_0x224093];if(void 0x0===_0x43037e)return null;const _0x161152='function'==typeof _0x43037e?_0x43037e(this['editor']):_0x43037e;return String(_0x161152);}getMergeFieldType(_0x52db47){if('string'!=typeof _0x52db47){const _0x5f457f=_0x52db47;return'mergeField'===_0x5f457f['name']?'text':'mergeFieldBlock'===_0x5f457f['name']?'block':'imageBlock'!==_0x5f457f['name']&&'imageInline'!==_0x5f457f['name']||!_0x5f457f['getAttribute']('src')?null:_0x5f457f['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x4078a6=this['getDefinition'](_0x52db47);return _0x4078a6&&_0x4078a6['type']?_0x4078a6['type']:'text';}getMergeFieldHeight(_0x3b8a80){const _0x32533b=this['getDefinition'](_0x3b8a80);return _0x32533b&&'block'===_0x32533b['type']?_0x32533b['height']||0x78:_0x32533b&&'image'===_0x32533b['type']?_0x32533b['height']||0x190:null;}getMergeFieldWidth(_0x56f1ec){const _0x524ea2=this['getDefinition'](_0x56f1ec);return _0x524ea2&&'image'===_0x524ea2['type']?_0x524ea2['width']||0x190:null;}getDocumentMergeFieldsIds(){const _0x20145d=new Set();for(const _0x5f3fbf of this['_mergeFieldElements'])'$graveyard'!==_0x5f3fbf['root']['rootName']&&('image'===this['getMergeFieldType'](_0x5f3fbf)?_0x20145d['add'](this['unwrapAffixes'](_0x5f3fbf['getAttribute']('src'))):_0x20145d['add'](_0x5f3fbf['getAttribute']('id')));return Array['from'](_0x20145d);}getMergeFieldsIds(){const _0x440c2f=this['flattenedMergeFieldDefinitions']['map'](_0x7ed3a5=>_0x7ed3a5['id']),_0x5a80cb=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x440c2f,..._0x5a80cb]));}getDefinition(_0x5e91b2){return this['flattenedMergeFieldDefinitions']['find'](_0x39d243=>_0x39d243['id']===_0x5e91b2)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x1ed8ac=>{'$graveyard'!==_0x1ed8ac['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x1ed8ac);});}['wrapInAffixes'](_0xfe7409){return this['_mergeFieldPrefix']+_0xfe7409+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x1ded6b){return _0x1ded6b['slice'](this['_mergeFieldPrefix']['length'],_0x1ded6b['length']-this['_mergeFieldSuffix']['length']);}_getFlattenedMergeFieldDefinitions(){const _0x20b6be=new Set(),_0x231e1c=this['editor'];return _0x231e1c['config']['get']('mergeFields.definitions')['reduce']((_0x57faf0,_0x254977)=>{if('groupId'in _0x254977){if(_0x20b6be['has'](_0x254977['groupId']))throw new _0x491313['CKEditorError']('merge-fields-duplicate-group-id',_0x231e1c,{'duplicateId':_0x254977['groupId']});_0x20b6be['add'](_0x254977['groupId']);}return'groupId'in _0x254977?function(_0x5e1983,_0x4c21a7){for(const _0x4ab67b of _0x4c21a7['definitions'])_0x5e1983=_0x5e1983['concat'](_0x4ab67b);return _0x5e1983;}['bind'](_0x231e1c)(_0x57faf0,_0x254977):_0x57faf0['concat'](_0x254977);},new Array());}_validateConfig(){const _0x248394=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x248394['test'](this['_mergeFieldPrefix'])||!_0x248394['test'](this['_mergeFieldSuffix']))throw new _0x491313['CKEditorError']('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new _0x491313['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x473917=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x1ef9ee=>{if(!_0x4256ac['test'](_0x1ef9ee['id']))throw new _0x491313['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x1ef9ee['id']});if(_0x473917['has'](_0x1ef9ee['id']))throw new _0x491313['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x1ef9ee['id']});_0x473917['add'](_0x1ef9ee['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x491313['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x570a14=this['editor']['config']['get']('mergeFields.previewModes'),_0x3d4b89=['$labels','$defaultValues','$dataSets'];if(!_0x570a14['length']||!_0x570a14['every'](_0x6605da=>_0x3d4b89['includes'](_0x6605da)))throw new _0x491313['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x570a14});const _0x294230=new Set(),_0x554d71=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x470380 of _0x554d71){if(_0x294230['has'](_0x470380['id']))throw new _0x491313['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x470380['id']});_0x294230['add'](_0x470380['id']);}}_getAvailablePreviewModes(){const _0xebcd3=this['editor']['config']['get']('mergeFields.previewModes'),_0x14c08c=[];if(_0xebcd3['includes']('$labels')&&_0x14c08c['push']('$labels'),_0xebcd3['includes']('$defaultValues')&&_0x14c08c['push']('$defaultValues'),_0xebcd3['includes']('$dataSets')){const _0xf2f12f=this['editor']['config']['get']('mergeFields.dataSets');_0x14c08c['push'](..._0xf2f12f['map'](_0x11e98d=>_0x11e98d['id']));}return _0x14c08c;}['_defineSchema'](){const _0x3798f1=this['editor']['model']['schema'];_0x3798f1['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x3798f1['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}_defineConverters(){const _0x21a801=this['editor']['conversion'];_0x21a801['for']('upcast')['add'](_0x17ba5b=>{_0x17ba5b['on']('text',(_0x321f40,_0x1389ab,_0x3f28aa)=>{const {writer:_0x563273,safeInsert:_0x1b14f4}=_0x3f28aa,{viewItem:_0x3d6348}=_0x1389ab,_0xf03c53=_0x3d6348['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x9ccddf=>_0x9ccddf);if(0x1===_0xf03c53['length']&&!_0xf03c53[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x1389ab['modelRange'])return;const _0x4cca61=_0x563273['createElement']('$cursor');_0x563273['insert'](_0x4cca61,_0x1389ab['modelCursor']);const _0x44b01c=[];for(const _0x5265c9 of _0x1389ab['modelRange']['getItems']()){if(!_0x5265c9['is']('$textProxy'))continue;const _0x41b6e3=_0x5265c9['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x29dc2c=_0x5265c9['parent'],_0x4e30b1=_0x5265c9['textNode']['startOffset'];for(const _0x2b926c of[..._0x41b6e3]['reverse']()){const _0x39ca31=_0x2b926c[0x0],_0x42b890=_0x563273['createPositionAt'](_0x29dc2c,_0x2b926c['index']+_0x4e30b1),_0x3cf8af=_0x42b890['getShiftedBy'](_0x39ca31['length']),_0xf47315=_0x563273['createRange'](_0x42b890,_0x3cf8af),_0x141e33=this['unwrapAffixes'](_0x39ca31),_0x41a203=this['getMergeFieldType'](_0x141e33),_0x387e2c='block'==_0x41a203?'mergeFieldBlock':'mergeField',_0x4ec549=_0x563273['createElement'](_0x387e2c,{'id':_0x141e33});_0x563273['remove'](_0xf47315),_0x563273['insert'](_0x4ec549,_0x42b890),'block'==_0x41a203&&_0x44b01c['push'](_0x4ec549);}}_0x44b01c['reverse']();for(const _0x443185 of _0x44b01c){const _0x3c3f2b=_0x563273['createPositionBefore'](_0x443185),_0x224947=_0x443185['nextSibling']==_0x4cca61;_0x563273['remove'](_0x443185),_0x1b14f4(_0x443185,_0x3c3f2b)&&_0x224947&&_0x563273['move'](_0x563273['createRangeOn'](_0x4cca61),_0x563273['createPositionAfter'](_0x443185));}_0x1389ab['modelCursor']=_0x563273['createPositionBefore'](_0x4cca61),_0x1389ab['modelRange']=_0x563273['createRange'](_0x1389ab['modelRange']['start'],_0x1389ab['modelCursor']),_0x563273['remove'](_0x4cca61);},{'priority':_0x491313['priorities']['get']('lowest')-0x1});}),_0x21a801['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x2031de,{writer:_0x2bcafc})=>_0x2bcafc['createElement']('mergeField',{'id':_0x2031de['getAttribute']('data-ck-merge-field')})}),_0x21a801['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x39e2de,{writer:_0x593566})=>_0x593566['createElement']('mergeFieldBlock',{'id':_0x39e2de['getAttribute']('data-ck-merge-field')})}),_0x21a801['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x21a801['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x57b3f0,{writer:_0xce9865})=>this['_createMergeFieldWidget'](_0x57b3f0,_0xce9865,'text')}),_0x21a801['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x2a072d,{writer:_0x40d59a,options:_0x40b1c4})=>this['_createTextualMergeField'](_0x2a072d,_0x40d59a,_0x40b1c4)}),_0x21a801['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x278e93,{writer:_0xbbf760})=>this['_createMergeFieldWidget'](_0x278e93,_0xbbf760,'block')}),_0x21a801['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x30a35a,{writer:_0xe92243,options:_0x32dd75})=>this['_createTextualMergeField'](_0x30a35a,_0xe92243,_0x32dd75)}),_0x21a801['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x21a801['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}_upcastSrcAttributeFromClipboard(){return _0xd4169c=>{_0xd4169c['on']('element:img',(_0x425c60,_0x7e2304,_0x9230ba)=>{_0x9230ba['consumable']['test'](_0x7e2304['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x9230ba['writer']['setAttribute']('src',this['wrapInAffixes'](_0x7e2304['viewItem']['getAttribute']('data-ck-merge-field')),_0x7e2304['modelCursor']['nodeBefore']),_0x9230ba['consumable']['consume'](_0x7e2304['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}_downcastSrcAttributeToData(_0x13daf1){const _0x11d9b1=this['editor']['plugins']['get'](_0x491313['ImageUtils']),_0x177178=(_0x43a0d4,_0x1a13bc,_0x10be1d)=>{if(!0x1!==_0x10be1d['consumable']['test'](_0x1a13bc['item'],_0x43a0d4['name']))return;if(!String(_0x1a13bc['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x12f14e=_0x10be1d['writer'],_0x4e66b6=_0x10be1d['mapper']['toViewElement'](_0x1a13bc['item']),_0x121994=_0x11d9b1['findViewImgElement'](_0x4e66b6),_0x566f50=String(_0x1a13bc['attributeNewValue']),_0x2dd35d=this['unwrapAffixes'](_0x566f50),_0x4e7efa=_0x10be1d['options']['mergeFieldsData'];if(_0x10be1d['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x36f465;return _0x36f465='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x2dd35d)||this['getLabel'](_0x2dd35d)||this['wrapInAffixes'](_0x2dd35d):this['getMergeFieldValue'](_0x2dd35d,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x2dd35d)||this['getLabel'](_0x2dd35d)||this['wrapInAffixes'](_0x2dd35d),_0x12f14e['setAttribute']('data-ck-merge-field',_0x2dd35d,_0x121994),void _0x12f14e['setAttribute'](_0x1a13bc['attributeKey'],_0x36f465,_0x121994);}const _0x396ec6=_0x4e7efa&&_0x4e7efa[_0x2dd35d]?_0x4e7efa[_0x2dd35d]:_0x566f50;_0x12f14e['setAttribute'](_0x1a13bc['attributeKey'],_0x396ec6,_0x121994);};return _0x19d991=>{_0x19d991['on']('attribute:src:'+_0x13daf1,_0x177178,{'priority':'low'});};}_downcastSrcAttributeToEditing(_0x525331){const _0x1cce1b=this['editor']['plugins']['get'](_0x491313['ImageUtils']),_0x24fb35=(_0xec9477,_0x2963e0,_0xe4a012)=>{if(!0x1!==_0xe4a012['consumable']['test'](_0x2963e0['item'],_0xec9477['name']))return;if(!String(_0x2963e0['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x37e880=_0xe4a012['writer'],_0x3a8859=_0xe4a012['mapper']['toViewElement'](_0x2963e0['item']),_0x280e35=_0x1cce1b['findViewImgElement'](_0x3a8859),_0x42d223=String(_0x2963e0['attributeNewValue']),_0x7356d9=this['unwrapAffixes'](_0x42d223),_0xc975b5=this['getMergeFieldDefaultValue'](_0x7356d9),_0x3f8d71='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x30007b,_0xc7821c='',_0x786c58='';if('$labels'===this['previewMode'])_0x30007b=_0x3f8d71;else{if('$defaultValues'===this['previewMode'])_0xc975b5?(_0x30007b=_0xc975b5,_0x786c58='\x20ck-merge-field-image_with-value'):(_0x30007b=_0x3f8d71,_0xc7821c='WARNING_MISSING_DEFAULT_VALUE',_0x786c58='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x1cde13=this['getMergeFieldValue'](_0x7356d9,this['previewMode']);_0x1cde13?(_0x30007b=_0x1cde13,_0x786c58='\x20ck-merge-field-image_with-value'):_0xc975b5?(_0x30007b=_0xc975b5,_0x786c58='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0xc7821c='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x30007b=_0x3f8d71,_0x786c58='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0xc7821c='WARNING_MISSING_DATA');}}if(_0x37e880['addClass']('ck-merge-field-image'+_0x786c58,_0x3a8859),_0x37e880['setAttribute'](_0x2963e0['attributeKey'],_0x30007b,_0x280e35),'$labels'===this['previewMode']){const _0x397de1='imageInline'===_0x525331?'span':'div',_0x5ebcac=this['_mergeFieldPrefix'],_0xc7e506=this['_mergeFieldSuffix'],_0x564b4c=_0x37e880['createContainerElement'](_0x397de1,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x37e880['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x3a2200){const _0x396309=this['toDomElement'](_0x3a2200);return _0x396309['innerHTML']=_0x5ebcac,_0x396309;}),_0x37e880['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x37e880['createText'](this['getLabel'](_0x7356d9)||_0x7356d9)),_0x37e880['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x129ac4){const _0x4bbb6b=this['toDomElement'](_0x129ac4);return _0x4bbb6b['innerHTML']=_0xc7e506,_0x4bbb6b;})]);_0x37e880['insert'](_0x37e880['createPositionAt'](_0x3a8859,'end'),_0x564b4c),_0x37e880['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x7356d9)||_0x7356d9,_0x564b4c);}else{if(_0xc7821c&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xc7821c)){const _0x4b4246='imageInline'===_0x525331?'span':'div',_0x3d9cc3=_0x786c58['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x25a5ac=_0x37e880['createContainerElement'](_0x4b4246,{'class':'ck-merge-field'+_0x3d9cc3,'data-cke-tooltip-instant':'true'},[_0x37e880['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x37e880['createText'](this['getLabel'](_0x7356d9)||_0x7356d9))]),_0x462ee9=_0x37e880['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0xb76f79){const _0x4c2056=this['toDomElement'](_0xb76f79),_0x2f42e1=new _0x491313['IconView']();return _0x2f42e1['set']({'content':_0x491313['IconWarning']}),_0x2f42e1['render'](),_0x4c2056['appendChild'](_0x2f42e1['element']),_0x4c2056;});_0x37e880['insert'](_0x37e880['createPositionAt'](_0x25a5ac,'end'),_0x462ee9),_0x37e880['insert'](_0x37e880['createPositionAt'](_0x3a8859,'end'),_0x25a5ac),_0x37e880['setCustomProperty']('mergeFieldStatus',_0xc7821c,_0x25a5ac),_0x37e880['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x7356d9)||_0x7356d9,_0x25a5ac);}}_0x37e880['setAttribute']('data-merge-field-name',_0x7356d9,_0x3a8859),_0xc7821c&&_0x37e880['setCustomProperty']('mergeFieldStatus',_0xc7821c,_0x3a8859);};return _0x19c804=>{_0x19c804['on']('attribute:src:'+_0x525331,_0x24fb35,{'priority':'low'});};}_setupTooltipsTogglingForImageMergeField(_0x42ad7e,_0xc55994){if(!_0xc55994['target'])return null;const _0x4bfe6a=_0xc55994['target']['parentElement'];return _0x4bfe6a&&_0x4bfe6a['classList']['contains']('ck-merge-field-image')?new _0x491313['ResizeObserver'](_0x4bfe6a,_0x37cac2=>{const _0x4d4a1f=_0x37cac2['target'],_0x15a586=_0x4d4a1f['querySelector']('.ck-merge-field'),_0x184d34=_0x4d4a1f['querySelector']('.ck-merge-field__content');_0x15a586&&_0x184d34&&(_0x184d34['scrollWidth']>_0x184d34['getBoundingClientRect']()['width']?_0x15a586['removeAttribute']('data-cke-tooltip-disabled'):_0x15a586['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}_createMergeFieldWidget(_0x50610f,_0x5a7d03,_0x1c4ffd){const {label:_0x1309d1,classes:_0x50319d,status:_0xf91de1,height:_0x41de2b}=this['_prepareViewElementData'](_0x50610f),_0x20b726=this['_mergeFieldPrefix'],_0x54e05c=this['_mergeFieldSuffix'],_0x21a463=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x4459f4='text'===_0x1c4ffd?'span':'div';let _0x1e7a95;if('$labels'===this['previewMode'])_0x1e7a95=_0x5a7d03['createContainerElement'](_0x4459f4,{'class':_0x50319d},[_0x5a7d03['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x981f4){const _0x447959=this['toDomElement'](_0x981f4);return _0x447959['innerHTML']=_0x20b726,_0x447959;}),_0x5a7d03['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x5a7d03['createText'](String(_0x1309d1))),_0x5a7d03['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x331ff2){const _0xe26dd3=this['toDomElement'](_0x331ff2);return _0xe26dd3['innerHTML']=_0x54e05c,_0xe26dd3;})]);else{if(_0xf91de1){const _0x18ecd1=this['_shouldPreviewHtmlValues']?_0x5a7d03['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x4789a7,_0x3afa15){_0x3afa15['setContentOf'](_0x4789a7,_0x21a463(_0x1309d1)['html']);}):_0x5a7d03['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x5a7d03['createText'](_0x1309d1));if(_0x1e7a95=_0x5a7d03['createContainerElement'](_0x4459f4,{'class':_0x50319d},[_0x18ecd1]),'text'===_0x1c4ffd||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xf91de1)){const _0x2b024b=_0x5a7d03['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x54259b){const _0x371ab9=this['toDomElement'](_0x54259b),_0x3519d3=new _0x491313['IconView']();return _0x3519d3['set']({'content':_0x491313['IconWarning']}),_0x3519d3['render'](),_0x371ab9['appendChild'](_0x3519d3['element']),_0x371ab9;});_0x5a7d03['insert'](_0x5a7d03['createPositionAt'](_0x1e7a95,'end'),_0x2b024b);}_0x5a7d03['setCustomProperty']('mergeFieldStatus',_0xf91de1,_0x1e7a95);}else{const _0x33da67=this['_shouldPreviewHtmlValues']?_0x5a7d03['createRawElement'](_0x4459f4,{},function(_0x4c7bff,_0x2b4411){_0x2b4411['setContentOf'](_0x4c7bff,_0x21a463(_0x1309d1)['html']);}):_0x5a7d03['createText'](_0x1309d1);_0x1e7a95=_0x5a7d03['createContainerElement'](_0x4459f4,{'class':_0x50319d},_0x33da67);}}if('block'===_0x1c4ffd){const _0x203b45=_0x5a7d03['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x1e7a95]);if(('$labels'===this['previewMode']||_0xf91de1&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xf91de1))&&_0x5a7d03['setAttribute']('style','height:\x20'+_0x41de2b+'px',_0x203b45),_0x1e7a95['hasClass']('ck-merge-field_with-value'))_0x5a7d03['addClass']('ck-merge-field-block_with-value',_0x203b45);else{if(_0x1e7a95['hasClass']('ck-merge-field_with-warning')){for(const _0x1fb1f9 of _0x1e7a95['getClassNames']())if('ck-merge-field'!==_0x1fb1f9){const _0x5b55c2=_0x1fb1f9['replace']('ck-merge-field','ck-merge-field-block');_0x5a7d03['addClass'](_0x5b55c2,_0x203b45);}_0x5a7d03['setCustomProperty']('mergeFieldStatus',_0xf91de1,_0x203b45);}}return _0x5a7d03['setCustomProperty']('mergeFieldBlock',!0x0,_0x203b45),_0x5a7d03['setAttribute']('data-merge-field-name',_0x50610f['getAttribute']('id'),_0x203b45),(0x0,_0x491313['toWidget'])(_0x203b45,_0x5a7d03,{'hasSelectionHandle':!0x0});}return _0x5a7d03['setCustomProperty']('mergeField',!0x0,_0x1e7a95),_0x5a7d03['setAttribute']('data-merge-field-name',_0x50610f['getAttribute']('id'),_0x1e7a95),(0x0,_0x491313['toWidget'])(_0x1e7a95,_0x5a7d03);}_prepareViewElementData(_0x3f874e){const _0x2d4fa9=_0x3f874e['getAttribute']('id'),_0x5c80c0=this['getDefinition'](_0x2d4fa9);if(!_0x5c80c0)return'$labels'===this['previewMode']?{'label':_0x2d4fa9,'classes':'ck-merge-field'}:{'label':_0x2d4fa9,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x3e49c4=this['getLabel'](_0x2d4fa9)||_0x2d4fa9,_0x5e3ab3=this['getMergeFieldDefaultValue'](_0x2d4fa9),_0x37f6bd=this['getMergeFieldHeight'](_0x2d4fa9);if('$labels'===this['previewMode'])return{'label':_0x3e49c4,'height':_0x37f6bd,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x5e3ab3?{'label':_0x5e3ab3,'height':_0x37f6bd,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x3e49c4,'height':_0x37f6bd,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x3e19e5=this['getMergeFieldValue'](_0x5c80c0['id'],this['previewMode']);return _0x3e19e5?{'label':_0x3e19e5,'height':_0x37f6bd,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x5e3ab3?{'label':_0x5e3ab3,'height':_0x37f6bd,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','status':'WARNING_MISSING_DATA_USED_DEFAULT_VALUE'}:{'label':_0x3e49c4,'height':_0x37f6bd,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}_createTextualMergeField(_0x552dd1,_0x5aaf75,_0x275b84){const _0x34acea=_0x552dd1['getAttribute']('id');let _0x5ca90c;if(_0x275b84['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x34acea,_0x5aaf75);const _0x1a350e=_0x275b84['mergeFieldsData'],_0x270202=_0x1a350e&&_0x1a350e[_0x34acea]?_0x1a350e[_0x34acea]:this['wrapInAffixes'](_0x34acea);if(_0x1a350e)_0x5ca90c=_0x5aaf75['createRawElement']('span',{},function(_0x31042e,_0x309863){_0x309863['setContentOf'](_0x31042e,String(_0x270202));});else{_0x5ca90c=_0x5aaf75['createContainerElement']('span');const _0x11fc33=_0x5aaf75['createText'](_0x270202);_0x5aaf75['insert'](_0x5aaf75['createPositionAt'](_0x5ca90c,'end'),_0x11fc33);}return _0x5aaf75['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5ca90c),_0x5ca90c;}_downcastForClipboard(_0x1c2f4f,_0x11a7e6){const _0x5d0625='block'===this['getMergeFieldType'](_0x1c2f4f)?'div':'span';let _0x26dd99,_0x5dddea;_0x26dd99='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x1c2f4f)||this['getLabel'](_0x1c2f4f)||this['wrapInAffixes'](_0x1c2f4f):this['getMergeFieldValue'](_0x1c2f4f,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x1c2f4f)||this['getLabel'](_0x1c2f4f)||this['wrapInAffixes'](_0x1c2f4f);const _0x11d039=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x5dddea=this['_shouldPreviewHtmlValues']?_0x11a7e6['createRawElement'](_0x5d0625,{'data-ck-merge-field':_0x1c2f4f},function(_0x22881b,_0x2eeb59){_0x2eeb59['setContentOf'](_0x22881b,_0x11d039(_0x26dd99)['html']);}):_0x11a7e6['createContainerElement'](_0x5d0625,{'data-ck-merge-field':_0x1c2f4f},_0x11a7e6['createText'](_0x26dd99)),_0x5dddea;}_validatePreviewMode(_0x559662){if(!this['availablePreviewModes']['includes'](_0x559662))throw new _0x491313['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x559662});}_trackAddedMergeFields(){for(const _0x53f023 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x53f023['type']||'$text'===_0x53f023['name'])continue;if('mergeField'===_0x53f023['name']||'mergeFieldBlock'===_0x53f023['name']){this['_mergeFieldElements']['add'](_0x53f023['position']['nodeAfter']);continue;}if('imageInline'===_0x53f023['name']||'imageBlock'===_0x53f023['name']&&_0x53f023['attributes']['get']('src')&&String(_0x53f023['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x53f023['position']['nodeAfter']);continue;}const _0x2c6f48=this['editor']['model']['createRangeIn'](_0x53f023['position']['nodeAfter']);for(const _0x24c1b8 of _0x2c6f48['getItems']())_0x24c1b8['is']('element')&&this['isMergeField'](_0x24c1b8)&&this['_mergeFieldElements']['add'](_0x24c1b8);}}_registerConversionPostFixer(){const _0x214b72=this['editor'];_0x214b72['model']['document']['registerPostFixer'](_0x32a206=>{if(!_0x32a206['batch']['isLocal'])return!0x1;const _0x5e8079=[],_0x4e021d=new Set(),_0x5f3c8d=this['_mergeFieldRegExp'];let _0x4f1c74=!0x1;for(const _0x58b7dc of _0x214b72['model']['document']['differ']['getChanges']())if('insert'===_0x58b7dc['type']||'remove'===_0x58b7dc['type']){let _0x3318ab='$text'==_0x58b7dc['name']?_0x58b7dc['position']['parent']:_0x58b7dc['position']['nodeAfter'];if(!_0x3318ab)continue;_0x3318ab['is']('$text')&&(_0x3318ab=_0x3318ab['parent']),_0x1d16d4(_0x3318ab);}for(const _0x2686f8 of _0x5e8079['reverse']()){const {match:_0x263037,item:_0x37bb86}=_0x2686f8,_0x51d2c8=_0x32a206['createPositionAt'](_0x37bb86,_0x263037['index']),_0x385b15=_0x51d2c8['getShiftedBy'](_0x263037[0x0]['length']),_0x375066=_0x32a206['createRange'](_0x51d2c8,_0x385b15),_0xecd0ac=_0x263037[0x0],_0xe2134e=this['unwrapAffixes'](_0xecd0ac),_0x22a12e=_0x262ff3(_0x375066),_0x2e196a=this['getMergeFieldType'](_0xe2134e);if(_0x4256ac['test'](_0xe2134e)){if(_0x22a12e['set']('id',_0xe2134e),'block'===_0x2e196a){const _0x5b816=_0x32a206['createElement']('mergeFieldBlock',{'id':_0xe2134e});_0x32a206['remove'](_0x375066),_0x214b72['model']['insertObject'](_0x5b816,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x2e196a){const _0x45c179=_0x32a206['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0xe2134e)});_0x32a206['remove'](_0x375066),_0x214b72['model']['insertObject'](_0x45c179,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x21ebf9=_0x32a206['createElement']('mergeField',_0x22a12e);_0x214b72['model']['schema']['checkChild'](_0x375066['start'],'mergeField')?_0x214b72['model']['insertObject'](_0x21ebf9,_0x375066):_0x32a206['remove'](_0x375066);}}_0x4f1c74=!0x0;}}return _0x4f1c74;function _0x1d16d4(_0x1a725e){let _0x5e42a0='',_0x4ae75d=0x0;if(!_0x4e021d['has'](_0x1a725e))for(const _0x18ee59 of _0x1a725e['getChildren']()){const _0x5398da=_0x18ee59['nextSibling'];if(_0x18ee59['is']('$text')&&(''===_0x5e42a0&&_0x18ee59['startOffset']&&(_0x4ae75d=_0x18ee59['startOffset']),_0x5e42a0+=_0x18ee59['data']),!_0x5398da||_0x5398da['is']('element')){for(const _0x22bf6e of _0x5e42a0['matchAll'](_0x5f3c8d))_0x22bf6e['index']=_0x22bf6e['index']+_0x4ae75d,_0x5e8079['push']({'match':_0x22bf6e,'item':_0x1a725e});_0x4e021d['add'](_0x1a725e),_0x5e42a0='';}_0x18ee59['is']('element')&&_0x1d16d4(_0x18ee59);}}function _0x262ff3(_0x44fb63){const _0x5eca72=_0x44fb63['getItems'](),_0x49efe7=_0x5eca72['next']()['value'],_0x321aa8=new Map(_0x49efe7['getAttributes']());for(const _0x3ac329 of _0x5eca72)for(const [_0x4f30b9,_0x324c50]of _0x321aa8)_0x3ac329['getAttribute'](_0x4f30b9)!==_0x324c50&&_0x321aa8['delete'](_0x4f30b9);return _0x321aa8;}});}['_disableCommandOnMergeFields'](_0x3ae314){const _0x42cccd=this['editor'],_0x57e886=_0x42cccd['commands']['get'](_0x3ae314);_0x57e886&&_0x57e886['on']('set:isEnabled',(_0x4c3aa6,_0x5b1ac0,_0x1e93ba)=>{if(0x1==_0x1e93ba){const _0xfc3890=_0x42cccd['model']['document']['selection']['getSelectedElement']();_0xfc3890&&this['isMergeField'](_0xfc3890)&&(_0x4c3aa6['return']=!0x1,_0x4c3aa6['stop']());}});}},_0x46ad36=class extends _0x491313['ListView']{filter(_0x21ca1a){return(0x0,_0x491313['filterGroupAndItemNames'])(_0x21ca1a,this['items']);}},_0x394db9=class extends _0x491313['View']{constructor(_0x3aa0c3){super(_0x3aa0c3),this['set']('text','');const _0x542fe6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-merge-fields-form']},'children':[{'tag':'div','attributes':{'class':['ck','ck-merge-fields-form__status']},'children':[{'text':_0x542fe6['to']('text')}]}]});}};function _0x4073f7(_0x59e722,_0x1f1f99){const t=_0x59e722['t'];switch(_0x1f1f99){case'Search\x20merge\x20field':return t('Search\x20merge\x20field');case'No\x20merge\x20fields\x20found':return t('No\x20merge\x20fields\x20found');case'No\x20merge\x20fields\x20available':return t('No\x20merge\x20fields\x20available');case'Insert\x20merge\x20field':return t('Insert\x20merge\x20field');case'Merge\x20field':return t('Merge\x20field');case'Merge\x20fields\x20preview':return t('Merge\x20fields\x20preview');case'Labels':return t('Labels');case'Default\x20values':return t('Default\x20values');case'WARNING_MISSING_DATA_USED_DEFAULT_VALUE':return t({'string':'Default\x20value\x20is\x20used.','id':'WARNING_MISSING_DATA_USED_DEFAULT_VALUE'});case'WARNING_MISSING_DEFAULT_VALUE':return t({'string':'Default\x20value\x20not\x20available.','id':'WARNING_MISSING_DEFAULT_VALUE'});case'WARNING_MISSING_DATA':return t({'string':'Value\x20not\x20available.','id':'WARNING_MISSING_DATA'});default:return _0x1f1f99;}}var _0x4fe48a=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;['_balloon'];['_balloonPanelView']=null;static get requires(){return[_0x491313['Mention'],_0x2511f6,_0x491313['ContextualBalloon'],_0x491313['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x571efa){super(_0x571efa),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}init(){const _0x56ca02=this['editor'];_0x56ca02['ui']['componentFactory']['add']('insertMergeField',_0xa44bcb=>{const _0x1a288a=function(_0x578117){const _0x49d669=(0x0,_0x491313['createDropdown'])(_0x578117);return _0x49d669['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x49d669['buttonView']['set']({'label':_0x4073f7(_0x578117,'Insert\x20merge\x20field'),'icon':_0x491313['IconInsertMergeField'],'tooltip':!0x0}),_0x49d669;}(_0xa44bcb);return _0x1a288a['bind']('isEnabled')['toMany']([_0x56ca02['commands']['get']('insertMergeField'),_0x56ca02['commands']['get']('insertMergeFieldBlock'),_0x56ca02['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x281843)=>_0x281843['some'](_0x5195ee=>_0x5195ee)),_0x1a288a['once']('change:isOpen',()=>{const _0x33b291={'insertInline':_0x56ca02['commands']['get']('insertMergeField'),'insertBlock':_0x56ca02['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x56ca02['commands']['get']('insertMergeFieldImage')},_0x17261b=function(_0x176d2e,_0x42b69a,_0x43b63d){const _0x388fbe=new _0x46ad36(_0x176d2e),_0x1d2e82=[],_0x385ee6=[];for(const _0x518113 of _0x42b69a)if('groupId'in _0x518113){const _0x35129a=_0x3b46f8(_0x176d2e,_0x518113['groupLabel']||_0x518113['groupId'],_0x518113['definitions'],_0x43b63d);_0x35129a['delegate']('execute')['to'](_0x388fbe),_0x385ee6['push'](_0x35129a);}else _0x1d2e82['push'](_0x518113);if(_0x1d2e82['length']){const _0x5b505f=_0x3b46f8(_0x176d2e,'Other',_0x1d2e82,_0x43b63d);_0x5b505f['delegate']('execute')['to'](_0x388fbe),_0x385ee6['push'](_0x5b505f);}return _0x388fbe['items']['addMany'](_0x385ee6),_0x388fbe;}(_0xa44bcb,_0x56ca02['config']['get']('mergeFields.definitions'),_0x33b291);_0x17261b['delegate']('execute')['to'](_0x1a288a),_0x1a288a['on']('execute',(_0x2611f9,_0x21cf48)=>{const _0x5b4a68=_0x56ca02['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x21cf48);'image'===_0x5b4a68?_0x56ca02['execute']('insertMergeFieldImage',_0x21cf48):'block'===_0x5b4a68?_0x56ca02['execute']('insertMergeFieldBlock',_0x21cf48):_0x56ca02['execute']('insertMergeField',_0x21cf48),_0x56ca02['editing']['view']['focus']();});const _0x17fe94=function(_0x4a169b,_0x370e72){return new _0x491313['SearchTextView'](_0x4a169b,{'filteredView':_0x370e72,'queryView':{'label':_0x4073f7(_0x4a169b,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':_0x4073f7(_0x4a169b,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':_0x4073f7(_0x4a169b,'No\x20merge\x20fields\x20available')}}}});}(_0xa44bcb,_0x17261b);_0x1a288a['panelView']['children']['add'](_0x17fe94),_0x1a288a['on']('change:isOpen',(_0x3e58b2,_0x18a0f9,_0x2e3387)=>{_0x2e3387&&_0x17fe94['reset']();});}),_0x1a288a;}),_0x56ca02['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x22628d=>{const _0x3b432a=new _0x491313['MenuBarMenuView'](_0x22628d),_0x25fb1d={'insertInline':_0x56ca02['commands']['get']('insertMergeField'),'insertBlock':_0x56ca02['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x56ca02['commands']['get']('insertMergeFieldImage')};_0x3b432a['buttonView']['set']({'label':_0x4073f7(_0x22628d,'Merge\x20field'),'icon':_0x491313['IconInsertMergeField']}),_0x3b432a['bind']('isEnabled')['toMany']([...Object['values'](_0x25fb1d)],'isEnabled',(..._0x8f9328)=>_0x8f9328['some'](_0x31d4b4=>_0x31d4b4));const _0x36e3a8=[],_0x262a13=new _0x491313['MenuBarMenuListView'](_0x22628d);for(const _0x4b7ae8 of _0x56ca02['config']['get']('mergeFields.definitions'))if('groupId'in _0x4b7ae8){const _0x37b323=new _0x491313['MenuBarMenuListItemView'](_0x22628d,_0x3b432a),_0x50ab13=_0x342eda(_0x22628d,_0x4b7ae8,_0x25fb1d);_0x37b323['children']['add'](_0x50ab13),_0x50ab13['delegate']('execute')['to'](_0x3b432a),_0x262a13['items']['add'](_0x37b323);}else _0x36e3a8['push'](_0x4b7ae8);if(_0x36e3a8['length']){if(0x0===_0x262a13['items']['length'])for(const _0x40e3cf of _0x36e3a8){let _0x411047;_0x411047='block'===_0x40e3cf['type']?_0x25fb1d['insertBlock']:'image'===_0x40e3cf['type']?_0x25fb1d['insertImage']:_0x25fb1d['insertInline'];const _0xd3415d=_0x2f8008(_0x22628d,_0x40e3cf,_0x3b432a,_0x411047);_0x262a13['items']['add'](_0xd3415d);}else{const _0x427ad4=new _0x491313['MenuBarMenuListItemView'](_0x22628d,_0x3b432a),_0x23fbb0=_0x342eda(_0x22628d,{'groupId':'Other','definitions':_0x36e3a8},_0x25fb1d);_0x427ad4['children']['add'](_0x23fbb0),_0x23fbb0['delegate']('execute')['to'](_0x3b432a),_0x262a13['items']['add'](_0x427ad4);}}return _0x3b432a['panelView']['children']['add'](_0x262a13),_0x3b432a['on']('execute',(_0x1be8df,_0x4916a7)=>{const _0x120fc5=_0x56ca02['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x4916a7);'image'===_0x120fc5?_0x56ca02['execute']('insertMergeFieldImage',_0x4916a7):'block'===_0x120fc5?_0x56ca02['execute']('insertMergeFieldBlock',_0x4916a7):_0x56ca02['execute']('insertMergeField',_0x4916a7),_0x56ca02['editing']['view']['focus']();}),_0x3b432a;});const _0x3b639d=_0x56ca02['config']['get']('mergeFields.previewModes'),_0x399c90=[];if(_0x3b639d['includes']('$labels')&&_0x399c90['push']({'type':'button','model':new _0x491313['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x4073f7(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x3b639d['includes']('$defaultValues')&&_0x399c90['push']({'type':'button','model':new _0x491313['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x4073f7(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x3b639d['includes']('$dataSets')){const _0x541d60=_0x56ca02['config']['get']('mergeFields.dataSets');if(_0x541d60['length']){for(const _0x4eb6e6 of _0x541d60)_0x399c90['push']({'type':'button','model':new _0x491313['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x4eb6e6['label']||_0x4eb6e6['id'],'commandValue':_0x4eb6e6['id']})});}}_0x56ca02['ui']['componentFactory']['add']('previewMergeFields',_0x46fd25=>{const _0x543624=_0x56ca02['commands']['get']('previewMergeFields'),_0x1bed7b=new _0x491313['Collection']();for(const _0x4080e3 of wt(_0x399c90))_0x4080e3['model']['bind']('isOn')['to'](_0x543624,'value',_0x2787c9=>_0x2787c9===_0x4080e3['model']['commandValue']),_0x1bed7b['add'](_0x4080e3);const _0xe0710d=(0x0,_0x491313['createDropdown'])(_0x46fd25),_0x210ed8=_0x4073f7(_0x46fd25,'Merge\x20fields\x20preview');return _0xe0710d['bind']('isEnabled')['to'](_0x543624),(0x0,_0x491313['addListToDropdown'])(_0xe0710d,_0x1bed7b,{'ariaLabel':_0x210ed8,'role':'menu'}),_0xe0710d['set']({'class':'ck-merge-fields-preview-dropdown'}),_0xe0710d['buttonView']['set']({'label':_0x210ed8,'ariaLabel':_0x210ed8,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x491313['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0xe0710d,'execute',_0x4b3bfa=>{const {commandValue:_0x3517d9}=_0x4b3bfa['source'];_0x56ca02['execute']('previewMergeFields',_0x3517d9),_0x56ca02['editing']['view']['focus']();}),_0xe0710d;}),_0x56ca02['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x235b4a=>{const _0x4f908f=new _0x491313['MenuBarMenuView'](_0x235b4a),_0x2fb8bd=_0x56ca02['commands']['get']('previewMergeFields');_0x4f908f['buttonView']['set']({'label':_0x4073f7(_0x235b4a,'Merge\x20fields\x20preview'),'icon':_0x491313['IconPreviewMergeFields']}),_0x4f908f['bind']('isEnabled')['to'](_0x2fb8bd);const _0x5a253a=new _0x491313['MenuBarMenuListView'](_0x235b4a);_0x5a253a['set']({'ariaLabel':_0x4073f7(_0x235b4a,'Merge\x20fields\x20preview')});for(const _0x404042 of wt(_0x399c90)){const _0x526169=new _0x491313['MenuBarMenuListItemView'](_0x235b4a,_0x4f908f),_0x138aaf=new _0x491313['MenuBarMenuListItemButtonView'](_0x235b4a);_0x404042['model']['bind']('isOn')['to'](_0x2fb8bd,'value',_0xa02f54=>_0xa02f54===_0x404042['model']['commandValue']),_0x138aaf['isToggleable']=!0x0,_0x138aaf['bind'](...Object['keys'](_0x404042['model']))['to'](_0x404042['model']),_0x138aaf['delegate']('execute')['to'](_0x4f908f),_0x138aaf['on']('execute',_0x16bc4f=>{const {commandValue:_0x125df0}=_0x16bc4f['source'];_0x56ca02['execute']('previewMergeFields',_0x125df0),_0x56ca02['editing']['view']['focus']();}),_0x526169['children']['add'](_0x138aaf),_0x5a253a['items']['add'](_0x526169);}return _0x4f908f['panelView']['children']['add'](_0x5a253a),_0x4f908f;}),this['_balloon']=_0x56ca02['plugins']['get'](_0x491313['ContextualBalloon']),this['listenTo'](_0x56ca02['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x56ca02['ui']['focusTracker'],'change:isFocused',(_0x2015d9,_0x4c282e,_0x3ba5de)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x3ba5de?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5f388e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc151e5;for(const _0x22e2a5 in _0x5f388e){const _0x17059b=_0x22e2a5,_0x51eb05=_0x5f388e[_0x17059b];if('mergeFieldsLicenseKeyValid'==_0x51eb05||'mergeFieldsLicenseKeyInvalid'==_0x51eb05||'mergeFieldsLicenseKeyExpired'==_0x51eb05||'mergeFieldsLicenseKeyDomainLimit'==_0x51eb05||'mergeFieldsLicenseKeyNotAllowed'==_0x51eb05||'mergeFieldsLicenseKeyEvaluationLimit'==_0x51eb05||'mergeFieldsLicenseKeyUsageLimit'==_0x51eb05){delete _0x5f388e[_0x17059b],_0xc151e5=_0x51eb05,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0xc151e5&&_0x5f388e['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0xc151e5&&_0x5f388e['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0xc151e5&&_0x5f388e['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0xc151e5&&_0x5f388e['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0xc151e5&&_0x5f388e['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0xc151e5&&_0x5f388e['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_updateBalloonVisibility(){const _0x160b72=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x1f24b=!(!_0x160b72||!_0x160b72['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x1f24b){const _0xf5e41c=_0x160b72['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=_0x4073f7(this['editor']['locale'],_0xf5e41c),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x1f24b){const _0x3cbcd4=_0x160b72['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](_0x4073f7(this['editor']['locale'],_0x3cbcd4));}}}['_showBalloon'](_0x34116e){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x394db9(this['editor']['locale']),this['_balloonPanelView']['text']=_0x34116e),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}_getBalloonPositionData(){const _0x3859c5=this['editor']['editing']['view'];return{'target':()=>{const _0x16fa01=_0x3859c5['document']['selection']['getFirstRange'](),_0x576a41=_0x3859c5['domConverter']['mapViewToDom'](_0x16fa01['getContainedElement']());return _0x576a41?Array['from'](_0x576a41['getClientRects']())[0x0]:_0x3859c5['domConverter']['viewRangeToDom'](_0x16fa01);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}_removeDefaultValuesPreviewIfUnnecessary(){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x232267=>_0x232267))return;const _0xe63c6b=this['editor']['config']['get']('mergeFields.previewModes');_0xe63c6b['indexOf']('$defaultValues')>-0x1&&_0xe63c6b['length']>0x1&&(_0xe63c6b['splice'](_0xe63c6b['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0xe63c6b));}_removeMenuBarButtonIfUnnecessary(){const _0x30ce18=this['editor']['config'];if(_0x30ce18['get']('mergeFields.previewModes')){const _0x33dd37=_0x30ce18['get']('mergeFields.previewModes');0x1===_0x33dd37['length']&&(_0x33dd37['includes']('$dataSets')?0x1===_0x30ce18['get']('mergeFields.dataSets')['length']&&_0x231412():_0x231412());}function _0x231412(){const _0x5d8c04=_0x30ce18['get']('menuBar.removeItems');_0x5d8c04?(_0x5d8c04['push']('menuBar:previewMergeFields'),_0x30ce18['set']('menuBar.removeItems',_0x5d8c04)):_0x30ce18['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}_setupMentionConfiguration(){const _0x3a5fba=this['editor'],_0x51e8c7=_0x3a5fba['config']['get']('mention.feeds'),_0xb2350a=_0x3a5fba['config']['get']('mergeFields.prefix');_0x51e8c7['push']({'marker':_0xb2350a,'dropdownLimit':0xa,'feed':_0x59fa36=>_0x3a5fba['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x5e6d77=>{const _0x36593d=_0x3a5fba['commands']['get']('insertMergeField')['isEnabled'],_0x320e20=_0x3a5fba['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x31c369=_0x3a5fba['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x2b5191=_0x3a5fba['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x5e6d77['id']);return!('text'===_0x2b5191&&!_0x36593d)&&(!('block'===_0x2b5191&&!_0x320e20)&&(!('image'===_0x2b5191&&!_0x31c369)&&(_0x3a5fba['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x5e6d77['id'])||_0x5e6d77['id'])['toLowerCase']()['includes'](_0x59fa36['toLowerCase']())));}),'itemRenderer':_0x40c0de=>{const _0x18c030=document['createElement']('button');return _0x18c030['innerHTML']=''+(_0x40c0de['label']||_0x40c0de['id']),_0x18c030;}}),_0x3a5fba['config']['set']('mention.feeds',_0x51e8c7);}_overrideMentionExecuteListener(){const _0x38decd=this['editor'];_0x38decd['commands']['get']('mention')['on']('execute',(_0x4d6ca1,_0x5d192a)=>{const _0x9bc702=_0x5d192a[0x0];_0x9bc702['marker']===_0x38decd['config']['get']('mergeFields.prefix')&&_0x38decd['model']['change'](_0x3f34ae=>{_0x3f34ae['remove'](_0x9bc702['range']);const _0x54b844=_0x9bc702['mention']['id'],_0x2f5b39=_0x38decd['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x54b844);'text'===_0x2f5b39?_0x38decd['execute']('insertMergeField',_0x54b844):'block'===_0x2f5b39?_0x38decd['execute']('insertMergeFieldBlock',_0x54b844,!0x1):_0x38decd['execute']('insertMergeFieldImage',_0x54b844,{'breakBlock':!0x0}),_0x4d6ca1['stop']();});},{'priority':'high'});}};function _0x3b46f8(_0x4fc049,_0x1734aa,_0x57dcaa,_0x56ac2d){const _0x266dc0=new _0x491313['ListItemGroupView'](_0x4fc049,new _0x491313['LabelWithHighlightView']());_0x266dc0['label']=_0x1734aa;for(const _0x42484e of _0x57dcaa){let _0x4acbaf;_0x4acbaf='block'===_0x42484e['type']?_0x56ac2d['insertBlock']:'image'===_0x42484e['type']?_0x56ac2d['insertImage']:_0x56ac2d['insertInline'];const _0x546649=_0x5de87a(_0x4fc049,_0x42484e,_0x4acbaf);_0x546649['delegate']('execute')['to'](_0x266dc0),_0x266dc0['items']['add'](_0x546649);}return _0x266dc0;}function _0x5de87a(_0x330f25,_0x5bf0fe,_0x37c09d){const _0x2677e4=new _0x491313['ListItemView'](_0x330f25),_0x12de66=new _0x491313['ButtonView'](_0x330f25,new _0x491313['ButtonLabelWithHighlightView']());return _0x2677e4['children']['add'](_0x12de66),_0x12de66['set']({'label':_0x5bf0fe['label']||_0x5bf0fe['id'],'withText':!0x0}),_0x12de66['bind']('isEnabled')['to'](_0x37c09d),_0x12de66['on']('execute',()=>{_0x2677e4['fire']('execute',_0x5bf0fe['id']);}),_0x2677e4;}function _0x342eda(_0x1d78e4,_0x1006c8,_0x4a2cc5){const _0x2668c8=new _0x491313['MenuBarMenuView'](_0x1d78e4),_0x2e5b82=new _0x491313['MenuBarMenuListView'](_0x1d78e4);for(const _0x49a3df of _0x1006c8['definitions']){let _0x1ec2b0;_0x1ec2b0='block'===_0x49a3df['type']?_0x4a2cc5['insertBlock']:'image'===_0x49a3df['type']?_0x4a2cc5['insertImage']:_0x4a2cc5['insertInline'];const _0x495ca6=_0x2f8008(_0x1d78e4,_0x49a3df,_0x2668c8,_0x1ec2b0);_0x2e5b82['items']['add'](_0x495ca6);}return _0x2668c8['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x2668c8['buttonView']['set']({'label':_0x1006c8['groupLabel']||_0x1006c8['groupId']}),_0x2668c8['panelView']['children']['add'](_0x2e5b82),_0x2668c8;}function _0x2f8008(_0x39e1a6,_0x235088,_0x3746ea,_0x572020){const _0x37e645=new _0x491313['MenuBarMenuListItemView'](_0x39e1a6,_0x3746ea),_0x3a9464=new _0x491313['MenuBarMenuListItemButtonView'](_0x39e1a6);return _0x3a9464['set']({'label':_0x235088['label']||_0x235088['id']}),_0x37e645['delegate']('execute')['to'](_0x3746ea),_0x37e645['children']['add'](_0x3a9464),_0x3a9464['bind']('isEnabled')['to'](_0x572020),_0x3a9464['on']('execute',()=>{_0x37e645['fire']('execute',_0x235088['id']);}),_0x37e645;}var ty=class extends _0x491313['Plugin']{static get requires(){return[_0x2511f6,_0x4fe48a];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x59553d=class extends _0x491313['Plugin']{_recalculatePageBreaksDebounced=_0xa307bf(()=>this['_recalculatePageBreaks'](),0xc8);_pagesContainer=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void(0x0,_0x491313['logWarning'])('pagination-config-not-found',this['editor']['config']);const _0x1980da=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1980da),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x364946,_0x1c9d3e,_0x5c911d)=>{_0x5c911d&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x1d1a79){const _0x502d82='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x3be3f9=0x791d0,_0x19320b=window['Date']['now'](),_0xa0f97d=_0x1d1a79['editor'],_0x4dd831=new window['Promise'](_0x259dbe=>{_0xa0f97d['once']('ready',_0x259dbe);}),_0x1d9428={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3c31b3=_0xa0f97d['config']['get']('licenseKey');async function _0xcc288a(){let _0x384a29,_0x544209=null,_0x19635a=null;try{return'GPL'==_0x3c31b3?'NotAllowed':(_0x384a29=_0x406514(),_0x384a29?(_0x384a29['usageEndpoint']&&(_0x19635a=_0x3de069(_0x384a29['usageEndpoint'],_0x384a29['jti'])),await _0xe0f980()?_0x425ca7()?_0x4d73e9()?'Expired':_0x2e49ed()?('evaluation'==_0x384a29['licenseType']&&(_0x544209=_0x2e7d9d('EvaluationLimit')),await _0x50c2f8()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4d73e9(){const _0x450334=['evaluation','trial']['includes'](_0x384a29['licenseType'])?_0x19320b/0x3e8:0xe10*_0x3be3f9;return _0x384a29['exp']<_0x450334;}function _0x425ca7(){const _0x3c91ee=_0x384a29['features'];return!!_0x3c91ee&&(!!_0x3c91ee['includes']('*')||!!_0x3c91ee['includes']('PAG'));}function _0x2e49ed(){const _0x56305c=_0x384a29['licensedHosts'];if(!_0x56305c||0x0==_0x56305c['length'])return!0x0;const {hostname:_0x87d1de}=new URL(window['location']['href']);if(_0x56305c['includes'](_0x87d1de))return!0x0;const _0x173b1e=_0x87d1de['split']('.');return _0x56305c['filter'](_0x2697b7=>_0x2697b7['includes']('*'))['map'](_0x30bcf1=>_0x30bcf1['split']('.'))['filter'](_0x26ae60=>_0x26ae60['length']<=_0x173b1e['length'])['map'](_0x3e1e91=>Array(_0x173b1e['length']-_0x3e1e91['length'])['fill']('*'===_0x3e1e91[0x0]?'*':'')['concat'](_0x3e1e91))['some'](_0x2370a6=>_0x173b1e['every']((_0x528dc5,_0x248498)=>_0x2370a6[_0x248498]===_0x528dc5||'*'===_0x2370a6[_0x248498]));}function _0x50c2f8(){return _0x544209&&_0x19635a?new window['Promise']((_0x197c99,_0x366845)=>{_0x544209['then'](_0x197c99,_0x366845),_0x19635a['then'](_0x548fea=>{'Valid'!=_0x548fea&&_0x197c99(_0x548fea);},_0x366845);}):_0x544209||_0x19635a||'Valid';}}function _0x3de069(_0x5ae5a2,_0x44bff3){return new window['Promise'](_0x389bc1=>{if(_0x4ae41e())return _0x389bc1('Valid');_0x266221(),_0xa0f97d['decorate']('_sendUsageRequest');let _0x1cf3a0=!0x1;const _0x52a634=(0x0,_0x491313['uid'])();function _0x5dc169(_0x1c8f01){return!!_0x1c8f01&&('object'==typeof _0x1c8f01||'function'==typeof _0x1c8f01)&&'function'==typeof _0x1c8f01['then']&&'function'==typeof _0x1c8f01['catch'];}function _0x3bb3e4(_0x1b910c){_0x4992ea(_0x1b910c)['then'](_0x30927b=>_0x30927b&&'ok'==_0x30927b['status']?_0x4c77e0(_0x19adb0(_0x52a634+_0x44bff3))!=_0x30927b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1c5135=>(_0x47a42b(),_0x1c5135),()=>{const _0x5cb616=_0x280f5e();return null==_0x5cb616?(_0x47a42b(),'Valid'):_0x19320b-_0x5cb616>0x240c8400?'UsageLimit':'Valid';})['then'](_0x389bc1)['catch'](()=>{_0x389bc1('UsageLimit');});const _0x6a7b7d=0x36ee80;function _0x47a42b(){const _0x37f6f8='llct-'+_0x4c77e0(_0x19adb0(_0x5ae5a2)),_0x5b1b11=_0x16dd23(_0x4c77e0(window['Math']['ceil'](_0x19320b/_0x6a7b7d)));window['localStorage']['setItem'](_0x37f6f8,_0x5b1b11);}function _0x280f5e(){const _0x536d33='llct-'+_0x4c77e0(_0x19adb0(_0x5ae5a2)),_0x5df997=window['localStorage']['getItem'](_0x536d33);return _0x5df997?window['parseInt'](_0x16dd23(_0x5df997),0x10)*_0x6a7b7d:null;}function _0x4992ea(_0x50fe0f){return new window['Promise']((_0x1d7f8f,_0x5bcff1)=>{_0x50fe0f['then'](_0x1d7f8f,_0x5bcff1),window['setTimeout'](_0x5bcff1,0x1d4c0);});}}_0xa0f97d['on']('_sendUsageRequest',(_0x310786,_0x16ee3d)=>{if(_0x16ee3d[0x0]!=_0x5ae5a2)return _0x389bc1('UsageLimit');_0x16ee3d[0x1]={..._0x16ee3d[0x1],'requestId':_0x52a634};},{'priority':'high'}),_0xa0f97d['on']('_sendUsageRequest',_0x426dfc=>{_0x5dc169(_0x426dfc['return'])&&(_0x1cf3a0=!0x0,_0x3bb3e4(_0x426dfc['return']));},{'priority':'low'}),_0x4dd831['then'](()=>{_0x1cf3a0||_0x389bc1('UsageLimit');});});function _0x4ae41e(){return'auto'==_0xa0f97d['editing']['view']['_overlayModeHint'];}function _0x266221(){_0xa0f97d['editing']['view']['_overlayModeHint']='auto';}}function _0x2e7d9d(_0xa3253){const _0xc7f34e=[new window['Promise'](_0x8c2ab7=>setTimeout(_0x8c2ab7,0x93ecc)),_0x4dd831['then'](()=>new window['Promise'](_0x1c67b1=>{let _0x44e59c=0x0;_0xa0f97d['model']['on']('applyOperation',(_0x17beed,_0x30daa5)=>{_0x30daa5[0x0]['isDocumentOperation']&&_0x44e59c++,0x5e8==_0x44e59c&&(_0x1c67b1(),_0x17beed['off']());});}))];return window['Promise']['race'](_0xc7f34e)['then'](()=>_0xa3253);}async function _0x3f4dbd(){await _0x4dd831,_0xa0f97d['model']['change']=_0x3d6f9c,_0xa0f97d['model']['enqueueChange']=_0x3d6f9c,_0xa0f97d['enableReadOnlyMode']('model');}function _0x11f73e(_0x4a6b68){const _0x3c9808=_0x1e0dfd();_0xa0f97d[_0x3c9808]='paginationLicenseKey'+_0x4a6b68,'Valid'!=_0x4a6b68&&_0x3f4dbd();}function _0x1e0dfd(){const _0x5096e3=window['String'](window['performance']['now']())['replace']('.','');let _0x29bcce='I';for(let _0x2a8fad=0x0;_0x2a8fad<_0x5096e3['length'];_0x2a8fad+=0x2){let _0x31ccd2=window['parseInt'](_0x5096e3['substring'](_0x2a8fad,_0x2a8fad+0x2));_0x31ccd2>=0x3e&&(_0x31ccd2-=0x3e),_0x29bcce+=_0x502d82[_0x31ccd2];}return _0x29bcce;}function _0x406514(){const _0x376461=_0x3c31b3['split']('.');if(0x3!=_0x376461['length'])return null;return _0x5d7aee(_0x376461[0x1]);function _0x5d7aee(_0x145484){const _0x2f3f84=_0x3fb478(_0x145484);return _0x2f3f84&&_0x460cc9()?_0x2f3f84:null;function _0x460cc9(){const _0x339e73=_0x2f3f84['jti'],_0x319077=window['parseInt'](_0x339e73['substring'](_0x339e73['length']-0x8),0x10),_0x3be888={..._0x2f3f84,'jti':_0x339e73['substring'](0x0,_0x339e73['length']-0x8)};return delete _0x3be888['vc'],_0x19adb0(_0x3be888)==_0x319077;}}}async function _0xe0f980(){let _0x39df33=!0x0;try{const [_0x39f72a,_0x5ae739,_0x45e10d]=_0x3c31b3['split']('.');return _0x27b74b(_0x39f72a),await _0x3861fb(_0x39f72a,_0x5ae739,_0x45e10d),_0x39df33;}catch{return!0x1;}function _0x27b74b(_0xe9b7b4){const _0x310dcf=_0x3fb478(_0xe9b7b4);_0x310dcf&&'ES256'==_0x310dcf['alg']||(_0x39df33=!0x1);}async function _0x3861fb(_0x4cc52b,_0x3b6176,_0x5ba380){const _0x49ce89=window['Uint8Array']['from'](_0x2b2cdb(_0x5ba380),_0xeb5743=>_0xeb5743['charCodeAt'](0x0)),_0x12ab74=new window['TextEncoder']()['encode'](_0x4cc52b+'.'+_0x3b6176),_0x506995=window['crypto']['subtle'];if(!_0x506995)return;const _0x3b1fdf=await _0x506995['importKey']('jwk',_0x1d9428,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x506995['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3b1fdf,_0x49ce89,_0x12ab74)||(_0x39df33=!0x1);}}function _0x3fb478(_0xdfb894){return _0xdfb894['startsWith']('ey')?JSON['parse'](_0x2b2cdb(_0xdfb894)):null;}function _0x2b2cdb(_0x508832){return window['atob'](_0x508832['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x19adb0(_0x3afb36){let _0x29009f=0x1505;function _0x2e46db(_0x20503c){for(let _0x4d8150=0x0;_0x4d8150<_0x20503c['length'];_0x4d8150++){const _0x5ee072=_0x20503c['charCodeAt'](_0x4d8150);_0x29009f=(_0x29009f<<0x5)+_0x29009f+_0x5ee072,_0x29009f&=_0x29009f;}}function _0x6ddb1d(_0x419d39){Array['isArray'](_0x419d39)?_0x419d39['forEach'](_0x6ddb1d):_0x419d39&&'object'==typeof _0x419d39?Object['entries'](_0x419d39)['sort']()['forEach'](([_0x3de8cd,_0x2aa828])=>{_0x2e46db(_0x3de8cd),_0x6ddb1d(_0x2aa828);}):_0x2e46db(window['String'](_0x419d39));}return _0x6ddb1d(_0x3afb36),_0x29009f>>>0x0;}function _0x4c77e0(_0x34ca3f){return _0x34ca3f['toString'](0x10)['padStart'](0x8,'0');}function _0x16dd23(_0x3d665d){return _0x3d665d['split']('')['reverse']()['join']('');}function _0x3d6f9c(){}_0x11f73e(await _0xcc288a());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x2ca071=this['editor'],_0xcae5e5=_0x2ca071['editing']['view'],_0x3a7bf1=this['_getAttachedDomRoot']();if(!_0x3a7bf1||!_0x3a7bf1['hasChildNodes']())return void _0x2ca071['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5aad76,pageHeight:_0x392dcd}=_0x2ca071['config']['get']('pagination'),{top:_0x213551,left:_0x5dc9bf,bottom:_0x435460,right:_0x110043}=this['_configuredPaddings'];this['_pagesContainer']=new _0x491313['View'](_0x2ca071['locale']);const _0x62b5cd=this['_pagesContainer'];_0x62b5cd['set']('class',''),_0x62b5cd['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x5aad76,'width':_0x5aad76,'height':'calc(\x20'+_0x392dcd+'\x20-\x20'+_0x213551+'\x20-\x20'+_0x435460+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x110043+'\x200\x20'+_0x5dc9bf,'columnGap':'calc('+_0x5dc9bf+'\x20+\x20'+_0x110043+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x62b5cd['bindTemplate']['to']('class')}}),_0x62b5cd['render'](),_0x3a7bf1['parentNode']['insertBefore'](_0x62b5cd['element'],_0x3a7bf1['nextSibling']),this['listenTo'](_0xcae5e5,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x200dbc of this['editor']['editing']['view']['domRoots']['values']())if(_0x200dbc['ownerDocument']['body']['contains'](_0x200dbc))return _0x200dbc;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x1d5a73=this['editor']['editing']['view'],_0x475d35=this['_pagesContainer'],_0x29e632=this['_getAttachedDomRoot']();if(!_0x29e632||!_0x475d35)return Promise['resolve']();for(_0x475d35['class']=['ck-reset','ck-pagination-view',..._0x29e632['classList']]['join']('\x20');_0x475d35['element']['firstChild'];)_0x475d35['element']['firstChild']['remove']();const _0x5bcfd0=Array['from'](_0x1d5a73['domRoots']);_0x5bcfd0['sort'](([,_0x51ff78],[,_0x450a81])=>_0x51ff78['compareDocumentPosition'](_0x450a81)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3768cc,_0x52d755]of _0x5bcfd0){const _0x3d7804=_0x52d755['cloneNode'](!0x0);'attributeStyleMap'in _0x3d7804&&_0x3d7804['attributeStyleMap']['clear'](),_0x3d7804['dataset']['rootName']=_0x3768cc,_0x3d7804['className']='ck-content\x20ck-pagination_enabled',_0x3d7804['removeAttribute']('id'),_0x3d7804['tabIndex']=-0x1,_0x475d35['element']['append'](_0x3d7804);}const _0x3dc47b=Array['from'](_0x475d35['element']['querySelectorAll']('img'));return function(_0x3c5ec4){return Promise['all'](_0x3c5ec4['map'](_0x96624e=>Promise['race']([_0x4ef108(_0x96624e),_0x3398f8(0x3e8)])));}(_0x3dc47b)['then'](()=>{for(const _0x21b96d of _0x3dc47b['filter'](_0x55fe49=>!_0x55fe49['closest']('table')))if(_0x21b96d['offsetParent']){const _0x4db448=_0x491313['global']['window']['getComputedStyle'](_0x21b96d),_0x5cff34=_0x491313['global']['document']['createElement']('span');for(const _0x520d90 of _0x4db448)_0x5cff34['style']['setProperty'](_0x520d90,_0x4db448[_0x520d90]);_0x5cff34['style']['backgroundImage']='url(\x20'+_0x21b96d['src']+'\x20)',_0x5cff34['style']['breakInside']='avoid','PICTURE'==_0x21b96d['parentElement']?.['tagName']?_0x21b96d['parentElement']['replaceWith'](_0x5cff34):_0x21b96d['replaceWith'](_0x5cff34);}return new Promise(_0xd532d7=>_0x491313['global']['window']['requestAnimationFrame'](()=>_0xd532d7()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x1d3a9d=this['_pagesContainer']['element'];if(!_0x1d3a9d['ownerDocument']['body']['contains'](_0x1d3a9d))return;const _0x48f516=new _0x491313['Rect'](_0x1d3a9d)['excludeScrollbarsAndBorders'](),_0x120e94=Math['floor'](_0x48f516['width']+0x64),_0x469937=_0x4d3620(_0x1d3a9d,Math['floor'](_0x48f516['left']-_0x1d3a9d['scrollLeft']),_0x120e94,_0x48f516['height'])['map'](_0x530332=>this['_mapPageStarterInfoToPageBreakInfo'](_0x530332))['filter'](_0x243f3a=>!0x1!==_0x243f3a);_0x469937['every'](_0x220eb4=>!!_0x220eb4)&&(this['pageBreaks']=_0x469937);}_mapPageStarterInfoToPageBreakInfo(_0x627a09){const _0x191603=this['editor']['editing']['view'],_0x40efbe=this['editor']['editing']['mapper'],_0x271646=_0x191603['domConverter'],_0x3b1086=_0x627a09['path']['shift'](),_0x5c26c7=this['_pagesContainer']['element']['childNodes'][_0x3b1086]['dataset']['rootName'],_0x8af3d0=_0x191603['getDomRoot'](_0x5c26c7);if(!_0x8af3d0)return null;const _0x54a508=function(_0x54a659,_0x237d04){let _0x7d314=_0x54a659;for(const _0x49479a of _0x237d04['path']){if(!_0x7d314)return null;_0x7d314=_0x7d314['childNodes'][_0x49479a];}return _0x7d314;}(_0x8af3d0,_0x627a09);if(!_0x54a508)return null;const _0x2c3e41=_0x271646['domPositionToView'](_0x54a508,_0x627a09['textOffset']||0x0);return _0x2c3e41?'manual'==_0x627a09['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2c3e41,_0x54a508):'text'==_0x627a09['type']&&_0x40efbe['toModelPosition'](_0x2c3e41)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2c3e41,_0x54a508,_0x627a09['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2c3e41,_0x54a508,_0x627a09['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x273aaa,_0xa7841){const _0x46bdf7=this['editor']['model'],_0x1c74d5=this['editor']['editing']['mapper']['toModelElement'](_0x273aaa['parent']);return new _0x13cec0({'type':'manual','modelRange':_0x46bdf7['createRangeOn'](_0x1c74d5),'domNode':_0xa7841,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x294204,_0x59c2fe,_0x2877cf){const _0x1d5a1e=this['editor']['model'],_0x3dc630=this['editor']['editing']['mapper'],_0x2cd399=this['editor']['editing']['view']['domConverter'];if(_0x2877cf>=_0x59c2fe['length'])return null;const _0x5013b1=_0x3dc630['toModelPosition'](_0x294204),_0x40cac6=_0x1d5a1e['createRange'](_0x5013b1),_0x1ad5c7=_0x3dc630['findMappedViewAncestor'](_0x294204);return new _0x13cec0({'type':'text','modelRange':_0x40cac6,'domNode':_0x59c2fe,'offset':_0x298fa1(_0x59c2fe,_0x2877cf,_0x2cd399['mapViewToDom'](_0x1ad5c7))});}_mapElementPageStarterInfoToPageBreakInfo(_0x13b0b0,_0x2aa157,_0x5954c3){const _0xba5d76=this['editor']['model'],_0x692238=this['editor']['editing'],_0x34acb4=_0x692238['mapper'],_0x76b864=_0x692238['view']['domConverter'],_0x42a6ed=_0x34acb4['findMappedViewAncestor'](_0x13b0b0),_0xa4b4e2=_0x34acb4['toModelElement'](_0x42a6ed);if(!_0xa4b4e2||_0xa4b4e2['is']('rootElement'))return!0x1;const _0x30f639=function(_0x25be5f){const _0xf02bb7=_0x25be5f['parent'],_0x25a558=_0xf02bb7['root']['document']['model'],_0x27bfd4=_0xf02bb7['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x34a97f=null;for(const _0x2439ab of _0x27bfd4){if(_0x2439ab['is']('rootElement'))return _0x34a97f;if(!_0x25a558['createPositionBefore'](_0x2439ab)['isTouching'](_0x25be5f))return _0x34a97f;_0x34a97f=_0x2439ab;}}(_0xba5d76['createPositionBefore'](_0xa4b4e2))||_0xa4b4e2;let _0x4c2073=_0x34acb4['toViewElement'](_0x30f639),_0x3e6ff6=_0xba5d76['createRangeOn'](_0x30f639);const _0x31099c=_0xba5d76['createPositionBefore'](_0x30f639)['nodeBefore'];if(_0x31099c&&_0x31099c['is']('element','imageBlock')){const _0x231378=_0x34acb4['toViewElement'](_0x31099c),_0x4e487e=_0x76b864['mapViewToDom'](_0x231378),_0x532b64=_0x491313['global']['window']['getComputedStyle'](_0x4e487e)['float'];'left'!=_0x532b64&&'right'!=_0x532b64||(_0x3e6ff6=_0xba5d76['createRangeOn'](_0x31099c));}for(;_0x4c2073['parent']!==_0x4c2073['root']&&0x0===_0x4c2073['index'];)_0x4c2073=_0x4c2073['parent'];const _0x24f55a=new _0x491313['Rect'](_0x85f236(_0x2aa157)?_0x2aa157:_0x4ba663(_0x2aa157)),_0x305475=_0x5954c3?_0x24f55a['height']-_0x5954c3:0x0,_0x12aac9=_0x76b864['mapViewToDom'](_0x4c2073),_0x4dd2d5=new _0x491313['Rect'](_0x12aac9);return new _0x13cec0({'type':'element','modelRange':_0x3e6ff6,'domNode':_0x12aac9,'offset':Math['round'](_0x305475)||_0x42a6ed!=_0x1246ce(_0x13b0b0)?_0x305475+_0x24f55a['top']-_0x4dd2d5['top']:0x0});}get['_configuredPaddings'](){const _0xba14ad=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xba14ad);}static _findPageStarterInfos(_0x3b460b,_0x59cc25,_0x19c3da,_0x86e925,_0x517064){return _0x4d3620(_0x3b460b,_0x59cc25,_0x19c3da,_0x86e925,_0x517064);}},_0x13cec0=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x2cd491,modelRange:_0x1ff275,domNode:_0x29ac30,offset:_0x316df9}){this['type']=_0x2cd491,this['modelRange']=_0x1ff275,this['_domNode']=_0x29ac30,this['_offset']=_0x316df9;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x38608b=new _0x491313['Rect'](_0x85f236(this['_domNode'])?this['_domNode']:_0x4ba663(this['_domNode']));return'manual'==this['type']?_0x38608b['top']+_0x38608b['height']/0x2:_0x38608b['top']+this['_offset'];}};function _0x298fa1(_0x453a2f,_0x3ee7e3,_0x3212ee){const _0x3c1d53=_0x4ba663(_0x453a2f),_0x2c3a3c=function(_0x295bc8){const _0x39bce6=_0x491313['global']['document']['createRange']();return _0x39bce6['selectNodeContents'](_0x295bc8),_0x39bce6;}(_0x3212ee);let _0x421fd5;_0x421fd5=0x0==_0x3ee7e3?_0x5cd4ea(_0x2c3a3c['startContainer'],_0x2c3a3c['startOffset'],_0x453a2f['parentNode'],Array['from'](_0x453a2f['parentNode']['childNodes'])['indexOf'](_0x453a2f)):_0x5cd4ea(_0x2c3a3c['startContainer'],_0x2c3a3c['startOffset'],_0x453a2f,_0x3ee7e3);const _0x1eba1e=_0x5cd4ea(_0x453a2f,_0x3ee7e3,_0x2c3a3c['endContainer'],_0x2c3a3c['endOffset']),_0x167303=new _0x491313['Rect'](_0x421fd5)['bottom'];return(new _0x491313['Rect'](_0x1eba1e)['top']+_0x167303)/0x2-new _0x491313['Rect'](_0x3c1d53)['top'];}function _0x1246ce(_0x2ee6ea){let _0x479543=_0x2ee6ea['parent'];for(;_0x479543['is']('$text')||_0x479543['is']('attributeElement');)_0x479543=_0x479543['parent'];return _0x479543;}function _0x4ef108(_0x57ee8a){return _0x57ee8a['hasAttribute']('width')&&_0x57ee8a['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2997c0=>{function _0x398f0c(){_0x57ee8a['removeEventListener']('load',_0x398f0c),_0x57ee8a['removeEventListener']('error',_0x398f0c),_0x2997c0();}_0x57ee8a['complete']?_0x2997c0():(_0x57ee8a['addEventListener']('load',_0x398f0c),_0x57ee8a['addEventListener']('error',_0x398f0c));});}function _0x3398f8(_0x4671db){return new Promise(_0x12e396=>setTimeout(_0x12e396,_0x4671db));}function _0x4ba663(_0x5ed605){const _0x8a888b=_0x491313['global']['document']['createRange']();return _0x8a888b['selectNode'](_0x5ed605),_0x8a888b;}function _0x29c08d(_0x1c0886,_0xcb415a,_0x598bb0){const _0x28c95c=_0x491313['global']['document']['createRange']();return _0x28c95c['setStart'](_0x1c0886,_0xcb415a),_0x28c95c['setEnd'](_0x1c0886,_0x598bb0),_0x28c95c;}function _0x5cd4ea(_0x2cdf90,_0x17b0eb,_0x3c0fc6,_0x201691){const _0x5a0967=_0x491313['global']['document']['createRange']();return _0x5a0967['setStart'](_0x2cdf90,_0x17b0eb),_0x5a0967['setEnd'](_0x3c0fc6,_0x201691),_0x5a0967;}function _0x4d3620(_0x5d237c,_0x14bcec,_0xb805e6,_0x188b4b,_0x85cc22){const _0x3a79d8=[];for(const [_0x54e6b9,_0x47cd27]of _0x5d237c['childNodes']['entries']()){let _0x4b1faa=[];_0x85f236(_0x47cd27)&&_0x47cd27['offsetParent']&&['static','relative']['includes'](_0x491313['global']['window']['getComputedStyle'](_0x47cd27)['position'])?_0x4b1faa=_0x5ae173(_0x47cd27,_0x54e6b9,_0x14bcec,_0xb805e6,_0x188b4b,_0x85cc22):_0x2a33d9(_0x47cd27)&&(_0x4b1faa=_0x54313b(_0x47cd27,_0x54e6b9,_0x14bcec,_0xb805e6,_0x85cc22)),_0x4b1faa['length']&&(_0x3a79d8['push'](..._0x4b1faa),_0x14bcec+=_0x4b1faa['length']*_0xb805e6,_0x85cc22=!0x1);}return _0x3a79d8;}function _0x5ae173(_0x41aa3f,_0x122a3a,_0x2e14fa,_0x13c00a,_0xc709d0,_0x218cc6){const _0x437e07=[];var _0x1d489d;if((_0x1d489d=_0x41aa3f['previousSibling'])&&_0x85f236(_0x1d489d)&&Boolean(_0x1d489d['classList']['contains']('page-break')||_0x1d489d['closest']('.page-break'))&&(_0x437e07['push']({'type':'manual','offset':0x0,'path':[_0x122a3a-0x1]}),_0x218cc6=!0x0),'table-row'==_0x491313['global']['window']['getComputedStyle'](_0x41aa3f)['display']){let _0x2c440a=0x0,_0x24a635=!0x1;for(const _0x1e146d of _0x41aa3f['getClientRects']())_0x2c440a+=_0x1e146d['height'],_0x1e146d['left']>=_0x2e14fa&&(_0x24a635=!0x0);if(_0x2c440a<_0xc709d0&&_0x24a635)return _0x218cc6||_0x437e07['push']({'type':'element','offset':0x0,'path':[_0x122a3a]}),_0x437e07;}const _0x41ad9e=_0x41aa3f['closest']('figure.image');if(_0x41ad9e&&function(_0x5c751b){let _0x19f969=!0x1;const _0x5d758c=_0x5c751b['parentElement']['dataset']['rootName'],_0xb158dd=_0x5c751b['nextElementSibling'],_0x368e9e=_0x5c751b['previousElementSibling'],_0x5ce3ee=_0xb158dd&&_0x491313['global']['window']['getComputedStyle'](_0xb158dd)['float'],_0x2df73a=_0xb158dd&&'ck-fake-selection-container'===_0xb158dd['className'];return!_0x5d758c||_0xb158dd||_0x368e9e||(_0x19f969=!0x0),_0x5d758c&&!_0x368e9e&&_0x2df73a&&(_0x19f969=!0x0),_0x5d758c&&!_0x368e9e&&'none'!==_0x5ce3ee&&(_0x19f969=!0x0),!_0x19f969;}(_0x41ad9e)){const _0x599857=_0x491313['global']['window']['getComputedStyle'](_0x41ad9e)['float'];if('left'==_0x599857||'right'==_0x599857)return _0x437e07;}const _0x18ddaa=_0x4d3620(_0x41aa3f,_0x2e14fa,_0x13c00a,_0xc709d0,_0x218cc6);if(_0x18ddaa['length']){for(const _0x51ae1c of _0x18ddaa)_0x437e07['push']({'type':_0x51ae1c['type'],'offset':_0x51ae1c['offset'],'textOffset':_0x51ae1c['textOffset'],'path':[_0x122a3a,..._0x51ae1c['path']]}),_0x2e14fa+=_0x13c00a;return _0x437e07;}return _0x437e07['push'](...function(_0x5d8aab,_0x5862a9,_0xe464ba,_0x4d331d,_0x3462c9){const _0x748b=[];if('table-cell'==_0x491313['global']['window']['getComputedStyle'](_0x5d8aab)['display'])return[];const _0x39009d=[];for(const _0x9656f1 of _0x5d8aab['getClientRects']())if(_0x9656f1['left']>=_0xe464ba){for(const _0x9ef1a2 of _0x39009d)_0x9ef1a2['height']+=_0x9656f1['height'];_0x39009d['push']({'height':_0x9656f1['height']}),_0xe464ba+=_0x4d331d;}for(const _0x42a943 of _0x39009d)_0x3462c9||_0x748b['push']({'type':'element','offset':_0x42a943['height'],'textOffset':0x0,'path':[_0x5862a9]}),_0x3462c9=!0x1;return _0x748b;}(_0x41aa3f,_0x122a3a,_0x2e14fa,_0x13c00a,_0x218cc6)),_0x437e07;}function _0x54313b(_0x4ed7fa,_0x4bbf91,_0xa15f93,_0x218654,_0x4d12f4){const _0x1272bc=_0x4ba663(_0x4ed7fa),_0x59e225=[];let _0x4ceff2=0x0;for(const _0x366a57 of _0x1272bc['getClientRects']())if(_0x366a57['left']>=_0xa15f93){const _0x380729=_0x2b8b9d(_0x4ed7fa,_0x4ceff2,_0xa15f93,_0x218654);_0x4d12f4||_0x59e225['push']({'type':'text','path':[_0x4bbf91],'textOffset':_0x380729}),_0x4ceff2=_0x380729,_0xa15f93+=_0x218654,_0x4d12f4=!0x1;}return _0x59e225;}function _0x2b8b9d(_0x52bd5a,_0x400351,_0x5f38c6,_0x4dd2a7){let _0x8acf77=_0x400351,_0x1afce2=_0x52bd5a['length'];for(;_0x1afce2-_0x8acf77>0x1;){const _0x2d334f=Math['ceil']((_0x8acf77+_0x1afce2)/0x2);_0xad0b6d(_0x29c08d(_0x52bd5a,_0x8acf77,_0x2d334f),_0x5f38c6,_0x4dd2a7)?_0x1afce2=_0x2d334f:_0x8acf77=_0x2d334f;}return _0x8acf77;}function _0xad0b6d(_0x4c56bf,_0x1e1acf,_0x189734){for(const _0x3f5d7f of _0x4c56bf['getClientRects']())if(_0x3f5d7f['left']>=_0x1e1acf&&_0x3f5d7f['left']<_0x1e1acf+_0x189734)return!0x0;return!0x1;}function _0x85f236(_0x3c3ba6){return _0x3c3ba6['nodeType']==Node['ELEMENT_NODE'];}function _0x2a33d9(_0x40150d){return _0x40150d['nodeType']==Node['TEXT_NODE'];}const _0x2b9036=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['toUnit'])('px');var _0x5a1a5e=class extends _0x491313['View']{constructor(){super();const _0x5813a0=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x5813a0['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x5813a0['if']('isVisible','ck-hidden',_0x2c638e=>!_0x2c638e)],'style':{'left':_0x5813a0['to']('left',_0x5e8dac=>_0x2b9036(_0x5e8dac)),'top':_0x5813a0['to']('top',_0x1715fe=>_0x2b9036(_0x1715fe)),'width':_0x5813a0['to']('width',_0x1e51f4=>_0x2b9036(_0x1e51f4))}}});}},_0x298256=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x458eae){this['_viewCollection']=_0x458eae['ui']['view']['body'];}destroy(){for(const _0x953de2 of this['_hiddenLines'])_0x953de2['destroy']();}['cleanLines'](){for(const _0x5cad12 of this['_visibleLines'])_0x5cad12['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5cad12);this['_visibleLines']['clear']();}['showLine'](_0x56106d,_0x1a9962,_0x45d77a,_0x11feaa){let _0x4ff0b4;this['_hiddenLines']['size']?(_0x4ff0b4=(0x0,_0x491313['first'])(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4ff0b4)):_0x4ff0b4=new _0x5a1a5e(),_0x4ff0b4['set']({'pageNumber':_0x11feaa,'left':_0x56106d,'top':_0x1a9962,'width':_0x45d77a}),_0x4ff0b4['isVisible']=!0x0,this['_viewCollection']['has'](_0x4ff0b4)||this['_viewCollection']['add'](_0x4ff0b4),this['_visibleLines']['add'](_0x4ff0b4);}setViewCollection(_0x8d1ff5){for(const _0x3e8e06 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3e8e06)&&this['_viewCollection']['remove'](_0x3e8e06);this['_viewCollection']=_0x8d1ff5;}};const _0x2c3bd5='ck-pagination_enabled';var _0x58c212=class extends _0x491313['Plugin']{linesRepository;_scrollableEditingRootDomAncestor=null;['_resizeObserver']=null;_paginationLookupPlugin;static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['set']({'pageNumber':0x1}),this['linesRepository']=new _0x298256(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](_0x2c3bd5),this['on']('change:isEnabled',(_0x4ffc41,_0x1eb877,_0x59eb41)=>{_0x59eb41||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x2c3bd5,_0x59eb41);});}destroy(){this['_toggleEditingRootsClass'](_0x2c3bd5,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5525fd){if(!this['isEnabled'])return;const _0x43927b=_0x5525fd>0x1?this['_getPageBreakLineOffset'](_0x5525fd-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x43927b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x491313['env']['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x104c54=this['editor'],_0x42ac88=this['_getAttachedDomRoot']();_0x42ac88?(this['_scrollableEditingRootDomAncestor']&&_0x104c54['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x25c249){let _0xa3eb76=_0x25c249;do{_0xa3eb76=_0xa3eb76['parentElement'];const _0x492ae8=_0x491313['global']['window']['getComputedStyle'](_0xa3eb76)['overflowY'];if('auto'==_0x492ae8||'scroll'==_0x492ae8)break;}while('BODY'!=_0xa3eb76['tagName']);return _0xa3eb76;}(_0x42ac88),_0x104c54['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x491313['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x104c54['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3688e2=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3688e2['ui']['view']['listenTo'](_0x491313['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3688e2['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x2041f7 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2041f7['ownerDocument']['body']['contains'](_0x2041f7))return _0x2041f7;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x40bb4f=this['_getAttachedDomRoot'](),_0x5d3d27=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x40bb4f||0x1==_0x5d3d27['length'])return void(this['pageNumber']=0x1);const _0x374fca=new _0x491313['Rect'](_0x40bb4f)['excludeScrollbarsAndBorders'](),_0x1f60ca=new _0x491313['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x499bae=_0x1f60ca['top']+_0x1f60ca['height']/0x3;let _0x25def9=!0x1;const _0xe30980=[];for(let _0x40c696=0x1;_0x40c696<_0x5d3d27['length'];_0x40c696++){const _0x64f5c2=this['_getPageBreakLineOffset'](_0x40c696,_0x1f60ca);if(!_0x64f5c2)continue;const _0x4744d0=_0x1f60ca['top']+_0x64f5c2-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0xe30980['push']({'pageOffsetTop':_0x4744d0,'domRootRect':_0x374fca,'domScrollableRect':_0x1f60ca,'pageNumber':_0x40c696}),_0x4744d0>_0x499bae&&!_0x25def9&&(this['pageNumber']=_0x40c696,_0x25def9=!0x0);}this['_renderPageBreakLines'](_0xe30980),_0x25def9||(this['pageNumber']=_0x5d3d27['length']);}['_renderPageBreakLines'](_0x2c32de){const {scrollX:_0x2daeb2,scrollY:_0x2e3b67}=_0x491313['global']['window'];if(_0x2c32de['length']){for(const {domScrollableRect:_0x35e38d,pageOffsetTop:_0x51c376,domRootRect:_0x10349d,pageNumber:_0xa48602}of _0x2c32de)_0x35e38d['top']<_0x51c376&&_0x51c376<_0x35e38d['bottom']&&this['linesRepository']['showLine'](_0x10349d['left']+_0x2daeb2,_0x51c376+_0x2e3b67,_0x10349d['width'],_0xa48602+0x1);}}_getPageBreakLineOffset(_0x13f195,_0x5a4bae=null){const _0x20ae0b=this['_paginationLookupPlugin']['pageBreaks'][_0x13f195]['offset'];return _0x20ae0b?(_0x5a4bae||(_0x5a4bae=new _0x491313['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x20ae0b-_0x5a4bae['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x4c472c,_0x48b1ba=!0x0){const _0x448dda=this['editor']['editing']['view'];_0x448dda['change'](_0x1f6066=>{for(const _0x416bcf of _0x448dda['document']['roots'])_0x48b1ba?_0x1f6066['addClass'](_0x4c472c,_0x416bcf):_0x1f6066['removeClass'](_0x4c472c,_0x416bcf);});}};function _0x32451b(_0x384f90,_0x4ae6bb,..._0x2d3cc2){const t=_0x384f90['t'];switch(_0x4ae6bb){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x2d3cc2);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x4ae6bb;}}var _0x57af7f=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x59553d,_0x58c212];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x97c65b=this['editor']['plugins']['get']('Pagination'),_0x28912b=this['editor']['plugins']['get'](_0x59553d),_0x22eae4=this['editor']['plugins']['get'](_0x58c212);this['bind']('isEnabled')['to'](_0x97c65b),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x22eae4),this['listenTo'](_0x28912b,'change:pageBreaks',(_0x569a70,_0x1d2db4,_0x2a3191,_0x34d10d)=>{this['totalPages']=_0x2a3191['length'],this['_updatePageBreakMarkers'](_0x2a3191,_0x34d10d);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5dbbb5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2cce8a;for(const _0x467270 in _0x5dbbb5){const _0x1ee953=_0x467270,_0x5eb671=_0x5dbbb5[_0x1ee953];if('paginationLicenseKeyValid'==_0x5eb671||'paginationLicenseKeyInvalid'==_0x5eb671||'paginationLicenseKeyExpired'==_0x5eb671||'paginationLicenseKeyDomainLimit'==_0x5eb671||'paginationLicenseKeyNotAllowed'==_0x5eb671||'paginationLicenseKeyEvaluationLimit'==_0x5eb671||'paginationLicenseKeyUsageLimit'==_0x5eb671){delete _0x5dbbb5[_0x1ee953],_0x2cce8a=_0x5eb671,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2cce8a&&_0x5dbbb5['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2cce8a&&_0x5dbbb5['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2cce8a&&_0x5dbbb5['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2cce8a&&_0x5dbbb5['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2cce8a&&_0x5dbbb5['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x2cce8a&&_0x5dbbb5['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x41a2fb){this['isEnabled']&&this['editor']['plugins']['get'](_0x58c212)['scrollToPage'](this['_validatePageNumber'](_0x41a2fb));}moveSelectionToPage(_0x59255f){if(!this['isEnabled'])return;const _0x27e06b=this['editor'],_0x46783b=this['editor']['plugins']['get'](_0x59553d)['pageBreaks'][_0x59255f-0x1];_0x46783b&&_0x27e06b['model']['change'](_0x5f344b=>{switch(_0x46783b['type']){case'manual':{const _0x1a18ab=_0x27e06b['model']['schema']['getNearestSelectionRange'](_0x46783b['modelRange']['end'],'forward');_0x5f344b['setSelection'](_0x1a18ab);break;}case'element':{const _0x4be33f=_0x27e06b['model']['schema']['getNearestSelectionRange'](_0x46783b['modelRange']['start'],'forward');_0x5f344b['setSelection'](_0x4be33f);break;}case'text':{const _0x1284ff=_0x46783b['modelRange']['start'];if(_0x1284ff['textNode']&&'\x20'===_0x1284ff['textNode']['data'][_0x1284ff['offset']]){const _0x4fe168=_0x5f344b['createPositionAt'](_0x1284ff['parent'],_0x1284ff['offset']+0x1);_0x5f344b['setSelection'](_0x4fe168);}else _0x5f344b['setSelection'](_0x46783b['modelRange']);}}_0x27e06b['editing']['view']['focus']();});}goToNextPage(){const _0x78877d=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x78877d),this['scrollToPage'](_0x78877d);}['goToPreviousPage'](){const _0x1cd893=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1cd893),this['scrollToPage'](_0x1cd893);}_updatePageBreakMarkers(_0x45a813,_0x196e62){const _0x122324=this['editor']['model'];this['isEnabled']&&_0x122324['change'](_0x5b1e76=>{for(let _0x1d19b1=0x1;_0x1d19b1<_0x45a813['length'];_0x1d19b1++){const _0x4ba986=_0x45a813[_0x1d19b1]['modelRange'],_0x5d56cd='pagination:'+(_0x1d19b1+0x1);_0x122324['markers']['has'](_0x5d56cd)?_0x5b1e76['updateMarker'](_0x5d56cd,{'range':_0x4ba986}):_0x5b1e76['addMarker'](_0x5d56cd,{'range':_0x4ba986,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x474150=_0x45a813['length'];_0x474150<_0x196e62['length'];_0x474150++){const _0x16a5ed='pagination:'+(_0x474150+0x1);_0x122324['markers']['has'](_0x16a5ed)&&_0x5b1e76['removeMarker'](_0x16a5ed);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x8d2dff=>{_0x8d2dff['on']('addMarker:pagination',(_0x4cc6ef,{markerRange:_0x32a877,markerName:_0x51c3a6},_0x5bd90c)=>{if(!_0x5bd90c['options']['pagination'])return;if(!_0x5bd90c['consumable']['consume'](_0x32a877,_0x4cc6ef['name']))return;const _0x2b4d95=_0x32a877['getContainedElement']();let _0x45baee=_0x2b4d95?_0x5bd90c['mapper']['toViewElement'](_0x2b4d95):null;if(!_0x45baee){const _0x5780fa=_0x32a877['start'];if(_0x5bd90c['schema']['checkChild'](_0x5780fa,'$text')){const _0x58ee5c=_0x5bd90c['mapper']['toViewPosition'](_0x5780fa);_0x45baee=_0x5bd90c['writer']['createContainerElement']('span'),_0x45baee['getFillerOffset']=()=>null,_0x5bd90c['writer']['insert'](_0x58ee5c,_0x45baee);}else{const _0xb61245=_0x5780fa['nodeAfter'];_0x45baee=_0x5bd90c['mapper']['toViewElement'](_0xb61245);}}for(;_0x45baee['parent']!==_0x45baee['root']&&0x0===_0x45baee['index'];)_0x45baee=_0x45baee['parent'];const _0x251513=_0x51c3a6['substring'](0xb);_0x45baee['hasClass']('page-break')||(_0x5bd90c['writer']['setStyle']('page-break-before','always',_0x45baee),_0x5bd90c['writer']['setAttribute']('data-pagination-page',_0x251513,_0x45baee),_0x5bd90c['mapper']['bindElementToMarker'](_0x45baee,_0x51c3a6)),_0x4cc6ef['stop']();});});}_setupKeystrokes(){const _0x5aa48e=this['editor'];_0x5aa48e['keystrokes']['set']('Shift+Pageup',(_0x4a5230,_0x3e5e96)=>{this['goToPreviousPage'](),_0x3e5e96();}),_0x5aa48e['keystrokes']['set']('Shift+Pagedown',(_0x42b88d,_0x2851d2)=>{this['goToNextPage'](),_0x2851d2();}),_0x5aa48e['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':_0x32451b(_0x5aa48e['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':_0x32451b(_0x5aa48e['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':_0x32451b(_0x5aa48e['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x3ed414){return _0x3ed414<0x1&&(_0x3ed414=0x1),_0x3ed414>this['totalPages']&&(_0x3ed414=this['totalPages']),_0x3ed414;}},_0x2a5a67=class extends _0x491313['View']{['pageNumberView'];constructor(_0x464c30){super(_0x464c30);const _0x5e3658=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x491313['InputNumberView'](_0x464c30,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x14e5df=>_0x32451b(_0x464c30,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x14e5df)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x480cd9=>!_0x480cd9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5e3658['if']('isEnabled','ck-disabled',_0x176e07=>!_0x176e07)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5e3658['to']('totalPages')}]}]});}['render'](){super['render']();const _0x49e72d=this['pageNumberView']['element'],_0x12ebca=_0x3a7bcd=>{this['pageNumberView']['element']['value']=String(_0x3a7bcd);};_0x12ebca(this['pageNumber']),this['on']('change:pageNumber',(_0x5a7de9,_0x5d1c10,_0x230442)=>{_0x12ebca(_0x230442);}),this['listenTo'](_0x49e72d,'keydown',(_0x2a02d2,_0x2230cd)=>{if('ArrowUp'===_0x2230cd['key']||'ArrowDown'===_0x2230cd['key'])return void _0x2230cd['stopPropagation']();if(_0x2230cd['keyCode']!==_0x491313['keyCodes']['enter'])return;_0x2230cd['preventDefault']();const _0x26dce0=_0x49e72d['valueAsNumber'];Number['isNaN'](_0x26dce0)?_0x49e72d['value']=String(this['pageNumber']):(_0x49e72d['checkValidity']()?this['pageNumber']=_0x26dce0:_0x26dce0>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x49e72d['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x49e72d['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x49e72d,'blur',()=>{_0x49e72d['value']=String(this['pageNumber']);}),this['listenTo'](_0x49e72d,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},_0x50b987=class extends _0x491313['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0xf91f27=this['editor'],_0x22228a=_0xf91f27['plugins']['get']('PaginationEditing');_0xf91f27['ui']['componentFactory']['add']('pageNavigation',_0xf0ac5b=>{const _0x14e855=new _0x2a5a67(_0xf0ac5b);return _0x14e855['bind']('pageNumber')['to'](_0x22228a),_0x14e855['bind']('totalPages')['to'](_0x22228a),_0x14e855['bind']('isEnabled')['to'](_0x22228a),_0x14e855['on']('navigation',(_0x358848,_0x4d54c6)=>{_0x22228a['moveSelectionToPage'](_0x4d54c6),_0x22228a['scrollToPage'](_0x4d54c6);}),_0x14e855;}),_0xf91f27['ui']['componentFactory']['add']('nextPage',_0x3a1825=>{const _0x452859=new _0x491313['ButtonView'](_0x3a1825);return _0x452859['isEnabled']=!0x0,_0x452859['label']=_0x32451b(_0xf91f27['locale'],'Go\x20to\x20next\x20page'),_0x452859['icon']=_0x491313['IconArrowDown'],_0x452859['tooltip']=!0x0,_0x452859['keystroke']='Shift+PageDown',_0x452859['bind']('isEnabled')['to'](_0x22228a),this['listenTo'](_0x452859,'execute',()=>{_0x22228a['goToNextPage']();}),_0x452859;}),_0xf91f27['ui']['componentFactory']['add']('previousPage',_0x46570c=>{const _0x5894ad=new _0x491313['ButtonView'](_0x46570c);return _0x5894ad['isEnabled']=!0x0,_0x5894ad['label']=_0x32451b(_0xf91f27['locale'],'Go\x20to\x20previous\x20page'),_0x5894ad['icon']=_0x491313['IconArrowUp'],_0x5894ad['tooltip']=!0x0,_0x5894ad['keystroke']='Shift+PageUp',_0x5894ad['bind']('isEnabled')['to'](_0x22228a),this['listenTo'](_0x5894ad,'execute',()=>{_0x22228a['goToPreviousPage']();}),_0x5894ad;});}},_0x1b3f1b=class extends _0x491313['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x57af7f,_0x50b987];}constructor(_0x188e37){super(_0x188e37),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2e4832=this['editor']['plugins']['get'](_0x57af7f);this['bind']('pageNumber')['to'](_0x2e4832),this['bind']('totalPages')['to'](_0x2e4832),_0x491313['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x563b19){this['editor']['plugins']['get'](_0x57af7f)['scrollToPage'](_0x563b19);}};const _0x36de9d=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function _0x57af4e(_0x55c49b){return _0x36de9d['test'](_0x55c49b);}const _0x4d4c1d=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function _0x21b8e7(_0x1c9a47,_0x559934){const _0x2076fa=new Map();for(const [_0x63361b,_0x1af559]of _0x559934){if(!_0x63361b['tagName']&&!_0x63361b['className'])continue;const _0x541067=!_0x63361b['tagName']||_0x1c9a47['name']===_0x63361b['tagName'],_0x47e5a8=!_0x63361b['className']||_0x1c9a47['hasClass'](_0x63361b['className']);_0x541067&&_0x47e5a8&&_0x2076fa['set'](_0x63361b,_0x1af559);}return _0x2076fa;}function _0x42c243(_0x41e766){const _0x1757b2={};for(let _0x5e8636=0x0;_0x5e8636<_0x41e766['length'];_0x5e8636++){const _0x286a4e=_0x41e766[_0x5e8636],_0x516ea0=_0x41e766['getPropertyValue'](_0x286a4e);'initial'!==_0x516ea0&&(_0x1757b2[_0x286a4e]=_0x516ea0);}return _0x1757b2;}function _0x3519f4(_0x3d6fbc){const _0x11ce0f=_0x3d6fbc['split'](',')['map'](_0x38ba98=>_0x38ba98['trim']()),_0x1f65e7=[];for(const _0xc73935 of _0x11ce0f){const _0x29dfa2=_0x4d4c1d['exec'](_0xc73935);_0x29dfa2&&_0x1f65e7['push'](_0x29dfa2['groups']);}return _0x1f65e7;}function _0x4d762a(_0x14f1e5){const _0x15d79e={};for(const _0x40025c of _0x14f1e5)Object['assign'](_0x15d79e,_0x40025c);return _0x15d79e;}var _0x1fd99e=class extends _0x491313['PasteFromOfficeMSWordNormalizer']{execute(_0x49246d){const {styles:_0x461bfe,stylesString:_0xa0ea46}=_0x49246d['extraContent'],_0x15f7e5=new _0x491313['ViewUpcastWriter'](_0x49246d['content']['document']),_0x355e31=_0x15f7e5['createRangeIn'](_0x49246d['content']),_0x349dea=function(_0x3d1bc6){const _0x5d6460=new Map();for(const _0xd35be8 in _0x3d1bc6){const _0x56e70=_0x3519f4(_0xd35be8),_0x5e19b7=_0x3d1bc6[_0xd35be8];for(const _0x18f606 of _0x56e70)_0x5d6460['set'](_0x18f606,_0x5e19b7);}return _0x5d6460;}(function(_0x4c128b){const _0x599dc1={};for(const _0x51d161 of _0x4c128b)for(const _0x241f2a of _0x51d161['cssRules'])if(_0x241f2a instanceof CSSStyleRule){const _0x1de9de=_0x42c243(_0x241f2a['style']);_0x599dc1[_0x241f2a['selectorText']]=Object['assign']({},_0x599dc1[_0x241f2a['selectorText']]||{},_0x1de9de);}return _0x599dc1;}(_0x461bfe)),_0xf3b0fe=function(_0x1a2b21){const _0x178780={},_0x5a9e63=/(?<selector>[^{}]+)\{[^}]*mso-pattern:\s*(?<color>#[0-9A-Fa-f]{3,6}|[a-z]+)\s+(?<patternType>[\w-]+)[^}]*\}/gi,_0x4c83a5=/\.(?<className>[\w-]+)/g;let _0x176239;for(;null!==(_0x176239=_0x5a9e63['exec'](_0x1a2b21));){const {selector:_0x4e5449,color:_0x423a3a,patternType:_0x14ff37}=_0x176239['groups'];if('auto'!==_0x423a3a['toLowerCase']()&&'none'!==_0x14ff37['toLowerCase']()&&'auto'!==_0x14ff37['toLowerCase']()){for(const _0x7f3eb5 of _0x4e5449['matchAll'](_0x4c83a5))_0x178780[_0x7f3eb5['groups']['className']]=_0x423a3a;}}return _0x178780;}(_0xa0ea46);for(const _0x4eb419 of _0x355e31){if('elementStart'!==_0x4eb419['type'])continue;const _0x4f913e=_0x4eb419['item'],_0x5b8bdd=_0x21b8e7(_0x4f913e,_0x349dea),_0x4f28d4=_0x5b8bdd['size']?_0x4d762a(Array['from'](_0x5b8bdd['values']())):{};if(!('background-color'in _0x4f28d4)&&!('background'in _0x4f28d4)){for(const [_0x11a33f,_0x3b175e]of Object['entries'](_0xf3b0fe))if(_0x4f913e['hasClass'](_0x11a33f)){_0x4f28d4['background-color']=_0x3b175e;break;}}for(const _0x25d370 in _0x4f28d4)_0x4f913e['hasStyle'](_0x25d370)||_0x15f7e5['setStyle'](_0x25d370,_0x4f28d4[_0x25d370],_0x4f913e);}}isActive(_0x201caf){return super['isActive'](_0x201caf)||_0x57af4e(_0x201caf);}},_0x1e0a4f=class extends _0x491313['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['PasteFromOffice']];}init(){const _0x1e349d=this['editor'],_0x8baf89=_0x1e349d['plugins']['get']('PasteFromOffice'),_0x178928=_0x1e349d['editing']['view']['document'],_0x4244b1=new _0x1fd99e(_0x178928);_0x8baf89['registerNormalizer'](_0x4244b1,_0x491313['priorities']['high']+0xb);}afterInit(){!async function(_0x1c8f11){const _0x181d49='sG65Crk1cd2igLN7zIEAYju9J3hbPBtnFMxQf4HwZal0qTSVKyDmoRvUXepWO8',_0x466319=0x791d0,_0x4ed529=window['Date']['now'](),_0x1b2dbd=_0x1c8f11['editor'],_0x2dab22=new window['Promise'](_0x438db8=>{_0x1b2dbd['once']('ready',_0x438db8);}),_0x118e18={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1de0a5=_0x1b2dbd['config']['get']('licenseKey');async function _0x3b1dea(){let _0x424d55,_0x525d2e=null,_0x53fea7=null;try{return'GPL'==_0x1de0a5?'NotAllowed':(_0x424d55=_0x457160(),_0x424d55?(_0x424d55['usageEndpoint']&&(_0x53fea7=_0x43e313(_0x424d55['usageEndpoint'],_0x424d55['jti'])),await _0x216f98()?_0x31591b()?_0xbbf478()?'Expired':_0x5ddb79()?('evaluation'==_0x424d55['licenseType']&&(_0x525d2e=_0x32a79f('EvaluationLimit')),await _0x5c73c5()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xbbf478(){const _0x36e0bb=['evaluation','trial']['includes'](_0x424d55['licenseType'])?_0x4ed529/0x3e8:0xe10*_0x466319;return _0x424d55['exp']<_0x36e0bb;}function _0x31591b(){const _0xdc48b8=_0x424d55['features'];return!!_0xdc48b8&&(!!_0xdc48b8['includes']('*')||(!!_0xdc48b8['includes']('POE')||(!!_0xdc48b8['includes']('PP')||!(!_0xdc48b8['includes']('TRILIUM')||!_0xb5e70e()))));}function _0x5ddb79(){const _0x35a11d=_0x424d55['licensedHosts'];if(!_0x35a11d||0x0==_0x35a11d['length'])return!0x0;const {hostname:_0x417dcc}=new URL(window['location']['href']);if(_0x35a11d['includes'](_0x417dcc))return!0x0;const _0xc04bac=_0x417dcc['split']('.');return _0x35a11d['filter'](_0x228b3d=>_0x228b3d['includes']('*'))['map'](_0x536e6c=>_0x536e6c['split']('.'))['filter'](_0x5e7aa2=>_0x5e7aa2['length']<=_0xc04bac['length'])['map'](_0x173a41=>Array(_0xc04bac['length']-_0x173a41['length'])['fill']('*'===_0x173a41[0x0]?'*':'')['concat'](_0x173a41))['some'](_0x51c539=>_0xc04bac['every']((_0x4fc60e,_0x3b391c)=>_0x51c539[_0x3b391c]===_0x4fc60e||'*'===_0x51c539[_0x3b391c]));}function _0x5c73c5(){return _0x525d2e&&_0x53fea7?new window['Promise']((_0x334f57,_0x2f479d)=>{_0x525d2e['then'](_0x334f57,_0x2f479d),_0x53fea7['then'](_0x34e70e=>{'Valid'!=_0x34e70e&&_0x334f57(_0x34e70e);},_0x2f479d);}):_0x525d2e||_0x53fea7||'Valid';}}function _0x43e313(_0x4d4b65,_0x447ef8){return new window['Promise'](_0x12c62c=>{if(_0x3052f9())return _0x12c62c('Valid');_0x42e0e7(),_0x1b2dbd['decorate']('_sendUsageRequest');let _0x24562b=!0x1;const _0x5430a4=(0x0,_0x491313['uid'])();function _0x3b4b72(_0x4ce62d){return!!_0x4ce62d&&('object'==typeof _0x4ce62d||'function'==typeof _0x4ce62d)&&'function'==typeof _0x4ce62d['then']&&'function'==typeof _0x4ce62d['catch'];}function _0x46ef09(_0xd9550e){_0x3444c0(_0xd9550e)['then'](_0x4ddf10=>_0x4ddf10&&'ok'==_0x4ddf10['status']?_0x3cf071(_0x1002bc(_0x5430a4+_0x447ef8))!=_0x4ddf10['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x21479c=>(_0x1940f7(),_0x21479c),()=>{const _0x34d6f1=_0x261330();return null==_0x34d6f1?(_0x1940f7(),'Valid'):_0x4ed529-_0x34d6f1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x12c62c)['catch'](()=>{_0x12c62c('UsageLimit');});const _0x4485dd=0x36ee80;function _0x1940f7(){const _0x21f1be='llct-'+_0x3cf071(_0x1002bc(_0x4d4b65)),_0x1fa175=_0x4b2c68(_0x3cf071(window['Math']['ceil'](_0x4ed529/_0x4485dd)));window['localStorage']['setItem'](_0x21f1be,_0x1fa175);}function _0x261330(){const _0x445d9a='llct-'+_0x3cf071(_0x1002bc(_0x4d4b65)),_0x1d39aa=window['localStorage']['getItem'](_0x445d9a);return _0x1d39aa?window['parseInt'](_0x4b2c68(_0x1d39aa),0x10)*_0x4485dd:null;}function _0x3444c0(_0x446649){return new window['Promise']((_0x5b8471,_0x5af363)=>{_0x446649['then'](_0x5b8471,_0x5af363),window['setTimeout'](_0x5af363,0x1d4c0);});}}_0x1b2dbd['on']('_sendUsageRequest',(_0x59b602,_0x4f27f1)=>{if(_0x4f27f1[0x0]!=_0x4d4b65)return _0x12c62c('UsageLimit');_0x4f27f1[0x1]={..._0x4f27f1[0x1],'requestId':_0x5430a4};},{'priority':'high'}),_0x1b2dbd['on']('_sendUsageRequest',_0x393f3e=>{_0x3b4b72(_0x393f3e['return'])&&(_0x24562b=!0x0,_0x46ef09(_0x393f3e['return']));},{'priority':'low'}),_0x2dab22['then'](()=>{_0x24562b||_0x12c62c('UsageLimit');});});function _0x3052f9(){return'auto'==_0x1b2dbd['editing']['view']['_overlayModeHint'];}function _0x42e0e7(){_0x1b2dbd['editing']['view']['_overlayModeHint']='auto';}}function _0x32a79f(_0xd2ca31){const _0x458042=[new window['Promise'](_0x22cd74=>setTimeout(_0x22cd74,0x93ecc)),_0x2dab22['then'](()=>new window['Promise'](_0xac02=>{let _0x31113e=0x0;_0x1b2dbd['model']['on']('applyOperation',(_0x286cb6,_0x1a33fd)=>{_0x1a33fd[0x0]['isDocumentOperation']&&_0x31113e++,0x5e8==_0x31113e&&(_0xac02(),_0x286cb6['off']());});}))];return window['Promise']['race'](_0x458042)['then'](()=>_0xd2ca31);}async function _0x254a96(){await _0x2dab22,_0x1b2dbd['model']['change']=_0x58870a,_0x1b2dbd['model']['enqueueChange']=_0x58870a,_0x1b2dbd['enableReadOnlyMode']('model');}function _0xb5e70e(){return window['glob']&&window['glob']['triliumVersion'];}function _0x33bd41(_0x579671){const _0xf94276=_0x4e8e20();_0x1b2dbd[_0xf94276]='pasteFromOfficeEnhancedLicenseKey'+_0x579671,'Valid'!=_0x579671&&_0x254a96();}function _0x4e8e20(){const _0x256b08=window['String'](window['performance']['now']())['replace']('.','');let _0x3cdc8f='s';for(let _0x57901c=0x0;_0x57901c<_0x256b08['length'];_0x57901c+=0x2){let _0x1ad09d=window['parseInt'](_0x256b08['substring'](_0x57901c,_0x57901c+0x2));_0x1ad09d>=0x3e&&(_0x1ad09d-=0x3e),_0x3cdc8f+=_0x181d49[_0x1ad09d];}return _0x3cdc8f;}function _0x457160(){const _0xe25253=_0x1de0a5['split']('.');if(0x3!=_0xe25253['length'])return null;return _0x7a4d1e(_0xe25253[0x1]);function _0x7a4d1e(_0x34b771){const _0x4c3f48=_0x15b47d(_0x34b771);return _0x4c3f48&&_0x37086c()?_0x4c3f48:null;function _0x37086c(){const _0x241dde=_0x4c3f48['jti'],_0xdd6bf0=window['parseInt'](_0x241dde['substring'](_0x241dde['length']-0x8),0x10),_0x4bdbdf={..._0x4c3f48,'jti':_0x241dde['substring'](0x0,_0x241dde['length']-0x8)};return delete _0x4bdbdf['vc'],_0x1002bc(_0x4bdbdf)==_0xdd6bf0;}}}async function _0x216f98(){let _0x117bb1=!0x0;try{const [_0x2d772e,_0x23dc1c,_0x50f918]=_0x1de0a5['split']('.');return _0x5c5fe4(_0x2d772e),await _0x440c0a(_0x2d772e,_0x23dc1c,_0x50f918),_0x117bb1;}catch{return!0x1;}function _0x5c5fe4(_0x351e0f){const _0x17b894=_0x15b47d(_0x351e0f);_0x17b894&&'ES256'==_0x17b894['alg']||(_0x117bb1=!0x1);}async function _0x440c0a(_0x10ebda,_0x3cb896,_0x4dc5c8){const _0x472edc=window['Uint8Array']['from'](_0x1b4aa2(_0x4dc5c8),_0x47d9e7=>_0x47d9e7['charCodeAt'](0x0)),_0x9c6313=new window['TextEncoder']()['encode'](_0x10ebda+'.'+_0x3cb896),_0x4e94f5=window['crypto']['subtle'];if(!_0x4e94f5)return;const _0x12a4fe=await _0x4e94f5['importKey']('jwk',_0x118e18,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4e94f5['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x12a4fe,_0x472edc,_0x9c6313)||(_0x117bb1=!0x1);}}function _0x15b47d(_0x4d701b){return _0x4d701b['startsWith']('ey')?JSON['parse'](_0x1b4aa2(_0x4d701b)):null;}function _0x1b4aa2(_0x41bb49){return window['atob'](_0x41bb49['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1002bc(_0x62eb9d){let _0x41340b=0x1505;function _0x3ea6e7(_0x59a09a){for(let _0x22f4e3=0x0;_0x22f4e3<_0x59a09a['length'];_0x22f4e3++){const _0x352bd5=_0x59a09a['charCodeAt'](_0x22f4e3);_0x41340b=(_0x41340b<<0x5)+_0x41340b+_0x352bd5,_0x41340b&=_0x41340b;}}function _0x25d1d8(_0x1a7e84){Array['isArray'](_0x1a7e84)?_0x1a7e84['forEach'](_0x25d1d8):_0x1a7e84&&'object'==typeof _0x1a7e84?Object['entries'](_0x1a7e84)['sort']()['forEach'](([_0x2f64c7,_0x3c01f5])=>{_0x3ea6e7(_0x2f64c7),_0x25d1d8(_0x3c01f5);}):_0x3ea6e7(window['String'](_0x1a7e84));}return _0x25d1d8(_0x62eb9d),_0x41340b>>>0x0;}function _0x3cf071(_0x3d1fc2){return _0x3d1fc2['toString'](0x10)['padStart'](0x8,'0');}function _0x4b2c68(_0x168407){return _0x168407['split']('')['reverse']()['join']('');}function _0x58870a(){}_0x33bd41(await _0x3b1dea());}(this);}};const _0x4d9ed2=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x1886bb=['color','font-family','font-size'],_0x1e7c6c={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x25c9a3=>Number(_0x25c9a3)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function _0x713238(_0xd0af44){return _0x4d9ed2['includes'](_0xd0af44);}function _0x1b8f3b(_0xb20fe6){return Array['from'](_0xb20fe6['getStyleNames']())['filter'](_0x713238);}function _0x36f199(_0x345ff0,_0x2097dc,_0x5ca38){const {spanStyles:_0x4251e9,stylesToBeHtmlElements:_0x449935}=_0x2daac4(_0x345ff0,_0x5ca38);!function(_0x36d5ac,_0x1a3599,_0x1b1853){for(const _0x374c4a in _0x1b1853)_0x1b1853[_0x374c4a]['forEach'](([,_0x173ec6])=>{const _0x29ba6f=_0x1a3599['createElement'](_0x173ec6,[],_0x36d5ac['getChildren']());_0x1a3599['insertChild'](0x0,_0x29ba6f,_0x36d5ac);}),_0x1a3599['removeStyle'](_0x374c4a,_0x36d5ac);}(_0x345ff0,_0x2097dc,_0x449935),function(_0x4a23b0,_0xc86894,_0x5843c0){if(!Object['keys'](_0x5843c0)['length'])return;const _0x3493c2=_0xc86894['createElement']('span',[],_0x4a23b0['getChildren']());_0xc86894['setStyle'](_0x5843c0,_0x3493c2),_0xc86894['insertChild'](0x0,_0x3493c2,_0x4a23b0),_0xc86894['removeStyle'](Object['keys'](_0x5843c0),_0x4a23b0);}(_0x345ff0,_0x2097dc,_0x4251e9);}function _0x445a67(_0x243952,_0x81cd09,_0x2f1aa1){const {spanStyles:_0x2fc91d}=_0x2daac4(_0x243952,_0x2f1aa1),_0xa433dc=Object['keys'](_0x2fc91d);if(!_0xa433dc['length'])return;let _0x8d5aaf=!0x1;for(const _0x3396d0 of _0x243952['getChildren']())if(_0x3396d0['is']('element','span')){_0x8d5aaf=!0x0;for(const [_0x3b9cd2,_0x45b043]of Object['entries'](_0x2fc91d))_0x3396d0['hasStyle'](_0x3b9cd2)||_0x81cd09['setStyle']({[_0x3b9cd2]:_0x45b043},_0x3396d0);}_0x8d5aaf&&_0x81cd09['removeStyle'](_0xa433dc,_0x243952);}function _0x2daac4(_0x4fe6d4,_0xc3f4a6){const _0x4ac680={},_0x36e8bc={};return _0xc3f4a6['forEach'](_0x5b7b02=>{const _0x54e452=_0x4fe6d4['getStyle'](_0x5b7b02);if(_0x54e452){if(function(_0x16ade8){return _0x1886bb['includes'](_0x16ade8);}(_0x5b7b02))_0x4ac680[_0x5b7b02]=_0x54e452;else{if(function(_0x20568b){return _0x20568b in _0x1e7c6c;}(_0x5b7b02)){const _0x582d40=_0x54e452['split']('\x20');_0x1e7c6c[_0x5b7b02]['forEach'](([_0x1d09ff,_0x1e855b])=>{for(const _0xac2dd8 of _0x582d40)('function'==typeof _0x1d09ff&&_0x1d09ff(_0xac2dd8)||_0x1d09ff===_0xac2dd8)&&(_0x36e8bc[_0x5b7b02]=[..._0x36e8bc[_0x5b7b02]||[],[_0x1d09ff,_0x1e855b]]);});}}}}),{'spanStyles':_0x4ac680,'stylesToBeHtmlElements':_0x36e8bc};}var _0x4854e9=class extends _0x491313['PasteFromOfficeMSWordNormalizer']{execute(_0x25ee38){const _0x165e7d=new _0x491313['ViewUpcastWriter'](_0x25ee38['content']['document']),_0xe7a78f=_0x165e7d['createRangeIn'](_0x25ee38['content']),_0x41f607=[...new _0x491313['ViewDomConverter'](new _0x491313['ViewDocument'](_0x165e7d['document']['stylesProcessor']))['blockElements'],'font'],_0x55f365=_0xe7a78f['getItems']();for(const _0x6132c1 of _0x55f365)if(_0x6132c1['is']('element')&&_0x41f607['includes'](_0x6132c1['name'])){if(_0x6132c1['hasStyle']('mso-list')&&'none'!==_0x6132c1['getStyle']('mso-list')){_0x445a67(_0x6132c1,_0x165e7d,_0x1b8f3b(_0x6132c1));continue;}_0x36f199(_0x6132c1,_0x165e7d,_0x1b8f3b(_0x6132c1));}}isActive(_0x35b688){return super['isActive'](_0x35b688)||_0x57af4e(_0x35b688);}},_0x45db71=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['PasteFromOffice']];}init(){const _0x9aa4a0=this['editor'],_0x1169d2=_0x9aa4a0['plugins']['get']('PasteFromOffice'),_0x3634ca=_0x9aa4a0['editing']['view']['document'],_0x1e894c=new _0x4854e9(_0x3634ca);_0x1169d2['registerNormalizer'](_0x1e894c,_0x491313['priorities']['high']+0xa),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3c89e1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xeb2058;for(const _0x492362 in _0x3c89e1){const _0x5dfc1b=_0x492362,_0x25ead5=_0x3c89e1[_0x5dfc1b];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x25ead5||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x25ead5||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x25ead5||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x25ead5||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x25ead5||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x25ead5||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x25ead5){delete _0x3c89e1[_0x5dfc1b],_0xeb2058=_0x25ead5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0xeb2058&&_0x3c89e1['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0xeb2058&&_0x3c89e1['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0xeb2058&&_0x3c89e1['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0xeb2058&&_0x3c89e1['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0xeb2058&&_0x3c89e1['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0xeb2058&&_0x3c89e1['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x28ce85=class extends _0x491313['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491313['PasteFromOffice'],_0x1e0a4f,_0x45db71];}},_0x215a51=_0x947326((_0x4aede6,_0x14e05a)=>{_0x14e05a['exports']=function(_0x2550b5,_0x4907d9){var _0x99ac39=new Array(arguments['length']-0x1),_0x14b2de=0x0,_0x510fd7=0x2,_0x2bbc3a=!0x0;for(;_0x510fd7<arguments['length'];)_0x99ac39[_0x14b2de++]=arguments[_0x510fd7++];return new Promise(function(_0x35a949,_0x3e61b2){_0x99ac39[_0x14b2de]=function(_0x8158f4){if(_0x2bbc3a){if(_0x2bbc3a=!0x1,_0x8158f4)_0x3e61b2(_0x8158f4);else{for(var _0x290025=new Array(arguments['length']-0x1),_0x14bb6d=0x0;_0x14bb6d<_0x290025['length'];)_0x290025[_0x14bb6d++]=arguments[_0x14bb6d];_0x35a949['apply'](null,_0x290025);}}};try{_0x2550b5['apply'](_0x4907d9||null,_0x99ac39);}catch(_0x4c89af){_0x2bbc3a&&(_0x2bbc3a=!0x1,_0x3e61b2(_0x4c89af));}});};}),_0x370f43=_0x947326(_0x253c39=>{var _0x5c6b05=_0x253c39;_0x5c6b05['length']=function(_0x35450c){var _0x77a5f5=_0x35450c['length'];if(!_0x77a5f5)return 0x0;for(var _0x27c02b=0x0;--_0x77a5f5%0x4>0x1&&'='===_0x35450c['charAt'](_0x77a5f5);)++_0x27c02b;return Math['ceil'](0x3*_0x35450c['length'])/0x4-_0x27c02b;};for(var _0x429d93=new Array(0x40),_0x780881=new Array(0x7b),_0x2447c5=0x0;_0x2447c5<0x40;)_0x780881[_0x429d93[_0x2447c5]=_0x2447c5<0x1a?_0x2447c5+0x41:_0x2447c5<0x34?_0x2447c5+0x47:_0x2447c5<0x3e?_0x2447c5-0x4:_0x2447c5-0x3b|0x2b]=_0x2447c5++;_0x5c6b05['encode']=function(_0x11f699,_0x4718aa,_0x2a6465){for(var t,_0x40144d=null,_0x38137a=[],_0x130d77=0x0,_0x29e0ce=0x0;_0x4718aa<_0x2a6465;){var _0x2ad784=_0x11f699[_0x4718aa++];switch(_0x29e0ce){case 0x0:_0x38137a[_0x130d77++]=_0x429d93[_0x2ad784>>0x2],t=(0x3&_0x2ad784)<<0x4,_0x29e0ce=0x1;break;case 0x1:_0x38137a[_0x130d77++]=_0x429d93[t|_0x2ad784>>0x4],t=(0xf&_0x2ad784)<<0x2,_0x29e0ce=0x2;break;case 0x2:_0x38137a[_0x130d77++]=_0x429d93[t|_0x2ad784>>0x6],_0x38137a[_0x130d77++]=_0x429d93[0x3f&_0x2ad784],_0x29e0ce=0x0;}_0x130d77>0x1fff&&((_0x40144d||(_0x40144d=[]))['push'](String['fromCharCode']['apply'](String,_0x38137a)),_0x130d77=0x0);}return _0x29e0ce&&(_0x38137a[_0x130d77++]=_0x429d93[t],_0x38137a[_0x130d77++]=0x3d,0x1===_0x29e0ce&&(_0x38137a[_0x130d77++]=0x3d)),_0x40144d?(_0x130d77&&_0x40144d['push'](String['fromCharCode']['apply'](String,_0x38137a['slice'](0x0,_0x130d77))),_0x40144d['join']('')):String['fromCharCode']['apply'](String,_0x38137a['slice'](0x0,_0x130d77));};var _0xc9595e='invalid\x20encoding';_0x5c6b05['decode']=function(_0x3933c6,_0x2538bd,_0x218087){for(var t,_0x24fd06=_0x218087,_0x561465=0x0,_0x1b04ab=0x0;_0x1b04ab<_0x3933c6['length'];){var _0x4baa6c=_0x3933c6['charCodeAt'](_0x1b04ab++);if(0x3d===_0x4baa6c&&_0x561465>0x1)break;if(void 0x0===(_0x4baa6c=_0x780881[_0x4baa6c]))throw Error(_0xc9595e);switch(_0x561465){case 0x0:t=_0x4baa6c,_0x561465=0x1;break;case 0x1:_0x2538bd[_0x218087++]=t<<0x2|(0x30&_0x4baa6c)>>0x4,t=_0x4baa6c,_0x561465=0x2;break;case 0x2:_0x2538bd[_0x218087++]=(0xf&t)<<0x4|(0x3c&_0x4baa6c)>>0x2,t=_0x4baa6c,_0x561465=0x3;break;case 0x3:_0x2538bd[_0x218087++]=(0x3&t)<<0x6|_0x4baa6c,_0x561465=0x0;}}if(0x1===_0x561465)throw Error(_0xc9595e);return _0x218087-_0x24fd06;},_0x5c6b05['test']=function(_0x19ee3f){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x19ee3f);};}),_0x28769a=_0x947326((_0x55bb95,_0x37c5ee)=>{function _0x3416df(){this['_listeners']=Object['create'](null);}_0x37c5ee['exports']=_0x3416df,_0x3416df['prototype']['on']=function(_0x40a2e4,_0x29279f,_0x26559f){return(this['_listeners'][_0x40a2e4]||(this['_listeners'][_0x40a2e4]=[]))['push']({'fn':_0x29279f,'ctx':_0x26559f||this}),this;},_0x3416df['prototype']['off']=function(_0x40c28b,_0x3d045e){if(void 0x0===_0x40c28b)this['_listeners']=Object['create'](null);else{if(void 0x0===_0x3d045e)this['_listeners'][_0x40c28b]=[];else{var _0x1212d4=this['_listeners'][_0x40c28b];if(!_0x1212d4)return this;for(var _0x4bb00f=0x0;_0x4bb00f<_0x1212d4['length'];)_0x1212d4[_0x4bb00f]['fn']===_0x3d045e?_0x1212d4['splice'](_0x4bb00f,0x1):++_0x4bb00f;}}return this;},_0x3416df['prototype']['emit']=function(_0x2b00c3){var _0x53b5bb=this['_listeners'][_0x2b00c3];if(_0x53b5bb){for(var _0x46af6c=[],_0x292f17=0x1;_0x292f17<arguments['length'];)_0x46af6c['push'](arguments[_0x292f17++]);for(_0x292f17=0x0;_0x292f17<_0x53b5bb['length'];)_0x53b5bb[_0x292f17]['fn']['apply'](_0x53b5bb[_0x292f17++]['ctx'],_0x46af6c);}return this;};}),_0x2408f9=_0x947326((_0x4a7a3a,_0x2d8fac)=>{function _0xf197b0(_0x936ad0){return'undefined'!=typeof Float32Array?(function(){var _0x241ef1=new Float32Array([-0x0]),_0x58b24a=new Uint8Array(_0x241ef1['buffer']),_0x289a82=0x80===_0x58b24a[0x3];function _0xbf3f66(_0x885816,_0x25db24,_0x347fae){_0x241ef1[0x0]=_0x885816,_0x25db24[_0x347fae]=_0x58b24a[0x0],_0x25db24[_0x347fae+0x1]=_0x58b24a[0x1],_0x25db24[_0x347fae+0x2]=_0x58b24a[0x2],_0x25db24[_0x347fae+0x3]=_0x58b24a[0x3];}function _0x409fc9(_0x2b1ad6,_0x35a901,_0x5da186){_0x241ef1[0x0]=_0x2b1ad6,_0x35a901[_0x5da186]=_0x58b24a[0x3],_0x35a901[_0x5da186+0x1]=_0x58b24a[0x2],_0x35a901[_0x5da186+0x2]=_0x58b24a[0x1],_0x35a901[_0x5da186+0x3]=_0x58b24a[0x0];}function _0x287308(_0x45d3b5,_0x437a1a){return _0x58b24a[0x0]=_0x45d3b5[_0x437a1a],_0x58b24a[0x1]=_0x45d3b5[_0x437a1a+0x1],_0x58b24a[0x2]=_0x45d3b5[_0x437a1a+0x2],_0x58b24a[0x3]=_0x45d3b5[_0x437a1a+0x3],_0x241ef1[0x0];}function _0x49437c(_0x1dad43,_0x127180){return _0x58b24a[0x3]=_0x1dad43[_0x127180],_0x58b24a[0x2]=_0x1dad43[_0x127180+0x1],_0x58b24a[0x1]=_0x1dad43[_0x127180+0x2],_0x58b24a[0x0]=_0x1dad43[_0x127180+0x3],_0x241ef1[0x0];}_0x936ad0['writeFloatLE']=_0x289a82?_0xbf3f66:_0x409fc9,_0x936ad0['writeFloatBE']=_0x289a82?_0x409fc9:_0xbf3f66,_0x936ad0['readFloatLE']=_0x289a82?_0x287308:_0x49437c,_0x936ad0['readFloatBE']=_0x289a82?_0x49437c:_0x287308;}()):(function(){function _0x2b2b78(_0x1604df,_0x33ceac,_0x51a73a,_0x3e6299){var _0x3f07be=_0x33ceac<0x0?0x1:0x0;if(_0x3f07be&&(_0x33ceac=-_0x33ceac),0x0===_0x33ceac)_0x1604df(0x1/_0x33ceac>0x0?0x0:0x80000000,_0x51a73a,_0x3e6299);else{if(isNaN(_0x33ceac))_0x1604df(0x7fc00000,_0x51a73a,_0x3e6299);else{if(_0x33ceac>0xffffff00000000000000000000000000)_0x1604df((_0x3f07be<<0x1f|0x7f800000)>>>0x0,_0x51a73a,_0x3e6299);else{if(_0x33ceac<1.1754943508222875e-38)_0x1604df((_0x3f07be<<0x1f|Math['round'](_0x33ceac/1.401298464324817e-45))>>>0x0,_0x51a73a,_0x3e6299);else{var _0x1da383=Math['floor'](Math['log'](_0x33ceac)/Math['LN2']);_0x1604df((_0x3f07be<<0x1f|_0x1da383+0x7f<<0x17|0x7fffff&Math['round'](_0x33ceac*Math['pow'](0x2,-_0x1da383)*0x800000))>>>0x0,_0x51a73a,_0x3e6299);}}}}}function _0x1dcfb7(_0x3f1013,_0x55bc64,_0x349c7a){var _0x334d86=_0x3f1013(_0x55bc64,_0x349c7a),_0x42b636=0x2*(_0x334d86>>0x1f)+0x1,_0x20837a=_0x334d86>>>0x17&0xff,_0x25fb61=0x7fffff&_0x334d86;return 0xff===_0x20837a?_0x25fb61?NaN:_0x42b636*(0x1/0x0):0x0===_0x20837a?1.401298464324817e-45*_0x42b636*_0x25fb61:_0x42b636*Math['pow'](0x2,_0x20837a-0x96)*(_0x25fb61+0x800000);}_0x936ad0['writeFloatLE']=_0x2b2b78['bind'](null,_0x323336),_0x936ad0['writeFloatBE']=_0x2b2b78['bind'](null,_0x54abe5),_0x936ad0['readFloatLE']=_0x1dcfb7['bind'](null,_0x19eb9b),_0x936ad0['readFloatBE']=_0x1dcfb7['bind'](null,_0x2f2f3c);}()),'undefined'!=typeof Float64Array?(function(){var _0x1c5532=new Float64Array([-0x0]),_0x1e0328=new Uint8Array(_0x1c5532['buffer']),_0xf676e1=0x80===_0x1e0328[0x7];function _0x517136(_0x50ab8b,_0x5c3b58,_0x2d7544){_0x1c5532[0x0]=_0x50ab8b,_0x5c3b58[_0x2d7544]=_0x1e0328[0x0],_0x5c3b58[_0x2d7544+0x1]=_0x1e0328[0x1],_0x5c3b58[_0x2d7544+0x2]=_0x1e0328[0x2],_0x5c3b58[_0x2d7544+0x3]=_0x1e0328[0x3],_0x5c3b58[_0x2d7544+0x4]=_0x1e0328[0x4],_0x5c3b58[_0x2d7544+0x5]=_0x1e0328[0x5],_0x5c3b58[_0x2d7544+0x6]=_0x1e0328[0x6],_0x5c3b58[_0x2d7544+0x7]=_0x1e0328[0x7];}function _0x298305(_0x293b4a,_0x336539,_0x17e36c){_0x1c5532[0x0]=_0x293b4a,_0x336539[_0x17e36c]=_0x1e0328[0x7],_0x336539[_0x17e36c+0x1]=_0x1e0328[0x6],_0x336539[_0x17e36c+0x2]=_0x1e0328[0x5],_0x336539[_0x17e36c+0x3]=_0x1e0328[0x4],_0x336539[_0x17e36c+0x4]=_0x1e0328[0x3],_0x336539[_0x17e36c+0x5]=_0x1e0328[0x2],_0x336539[_0x17e36c+0x6]=_0x1e0328[0x1],_0x336539[_0x17e36c+0x7]=_0x1e0328[0x0];}function _0x152381(_0x4d4aed,_0x30c156){return _0x1e0328[0x0]=_0x4d4aed[_0x30c156],_0x1e0328[0x1]=_0x4d4aed[_0x30c156+0x1],_0x1e0328[0x2]=_0x4d4aed[_0x30c156+0x2],_0x1e0328[0x3]=_0x4d4aed[_0x30c156+0x3],_0x1e0328[0x4]=_0x4d4aed[_0x30c156+0x4],_0x1e0328[0x5]=_0x4d4aed[_0x30c156+0x5],_0x1e0328[0x6]=_0x4d4aed[_0x30c156+0x6],_0x1e0328[0x7]=_0x4d4aed[_0x30c156+0x7],_0x1c5532[0x0];}function _0x381a49(_0x34f69f,_0x501409){return _0x1e0328[0x7]=_0x34f69f[_0x501409],_0x1e0328[0x6]=_0x34f69f[_0x501409+0x1],_0x1e0328[0x5]=_0x34f69f[_0x501409+0x2],_0x1e0328[0x4]=_0x34f69f[_0x501409+0x3],_0x1e0328[0x3]=_0x34f69f[_0x501409+0x4],_0x1e0328[0x2]=_0x34f69f[_0x501409+0x5],_0x1e0328[0x1]=_0x34f69f[_0x501409+0x6],_0x1e0328[0x0]=_0x34f69f[_0x501409+0x7],_0x1c5532[0x0];}_0x936ad0['writeDoubleLE']=_0xf676e1?_0x517136:_0x298305,_0x936ad0['writeDoubleBE']=_0xf676e1?_0x298305:_0x517136,_0x936ad0['readDoubleLE']=_0xf676e1?_0x152381:_0x381a49,_0x936ad0['readDoubleBE']=_0xf676e1?_0x381a49:_0x152381;}()):(function(){function _0x2177da(_0x57af8c,_0x113573,_0x42f49f,_0x422e54,_0x2a4376,_0xf5e905){var _0x1b7019=_0x422e54<0x0?0x1:0x0;if(_0x1b7019&&(_0x422e54=-_0x422e54),0x0===_0x422e54)_0x57af8c(0x0,_0x2a4376,_0xf5e905+_0x113573),_0x57af8c(0x1/_0x422e54>0x0?0x0:0x80000000,_0x2a4376,_0xf5e905+_0x42f49f);else{if(isNaN(_0x422e54))_0x57af8c(0x0,_0x2a4376,_0xf5e905+_0x113573),_0x57af8c(0x7ff80000,_0x2a4376,_0xf5e905+_0x42f49f);else{if(_0x422e54>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x57af8c(0x0,_0x2a4376,_0xf5e905+_0x113573),_0x57af8c((_0x1b7019<<0x1f|0x7ff00000)>>>0x0,_0x2a4376,_0xf5e905+_0x42f49f);else{var _0x137550;if(_0x422e54<2.2250738585072014e-308)_0x57af8c((_0x137550=_0x422e54/5e-324)>>>0x0,_0x2a4376,_0xf5e905+_0x113573),_0x57af8c((_0x1b7019<<0x1f|_0x137550/0x100000000)>>>0x0,_0x2a4376,_0xf5e905+_0x42f49f);else{var _0x32f50a=Math['floor'](Math['log'](_0x422e54)/Math['LN2']);0x400===_0x32f50a&&(_0x32f50a=0x3ff),_0x57af8c(0x10000000000000*(_0x137550=_0x422e54*Math['pow'](0x2,-_0x32f50a))>>>0x0,_0x2a4376,_0xf5e905+_0x113573),_0x57af8c((_0x1b7019<<0x1f|_0x32f50a+0x3ff<<0x14|0x100000*_0x137550&0xfffff)>>>0x0,_0x2a4376,_0xf5e905+_0x42f49f);}}}}}function _0x559999(_0x3feb61,_0x1e70fb,_0x2de8d4,_0x4f9991,_0x1b53ff){var _0x59426e=_0x3feb61(_0x4f9991,_0x1b53ff+_0x1e70fb),_0x5402bc=_0x3feb61(_0x4f9991,_0x1b53ff+_0x2de8d4),_0x198bf5=0x2*(_0x5402bc>>0x1f)+0x1,_0x1f18da=_0x5402bc>>>0x14&0x7ff,_0x2e1725=0x100000000*(0xfffff&_0x5402bc)+_0x59426e;return 0x7ff===_0x1f18da?_0x2e1725?NaN:_0x198bf5*(0x1/0x0):0x0===_0x1f18da?5e-324*_0x198bf5*_0x2e1725:_0x198bf5*Math['pow'](0x2,_0x1f18da-0x433)*(_0x2e1725+0x10000000000000);}_0x936ad0['writeDoubleLE']=_0x2177da['bind'](null,_0x323336,0x0,0x4),_0x936ad0['writeDoubleBE']=_0x2177da['bind'](null,_0x54abe5,0x4,0x0),_0x936ad0['readDoubleLE']=_0x559999['bind'](null,_0x19eb9b,0x0,0x4),_0x936ad0['readDoubleBE']=_0x559999['bind'](null,_0x2f2f3c,0x4,0x0);}()),_0x936ad0;}function _0x323336(_0x444ef9,_0x2c51b1,_0x3866e5){_0x2c51b1[_0x3866e5]=0xff&_0x444ef9,_0x2c51b1[_0x3866e5+0x1]=_0x444ef9>>>0x8&0xff,_0x2c51b1[_0x3866e5+0x2]=_0x444ef9>>>0x10&0xff,_0x2c51b1[_0x3866e5+0x3]=_0x444ef9>>>0x18;}function _0x54abe5(_0xfef525,_0x1e2e51,_0x4a18d1){_0x1e2e51[_0x4a18d1]=_0xfef525>>>0x18,_0x1e2e51[_0x4a18d1+0x1]=_0xfef525>>>0x10&0xff,_0x1e2e51[_0x4a18d1+0x2]=_0xfef525>>>0x8&0xff,_0x1e2e51[_0x4a18d1+0x3]=0xff&_0xfef525;}function _0x19eb9b(_0x25d473,_0x4f2f11){return(_0x25d473[_0x4f2f11]|_0x25d473[_0x4f2f11+0x1]<<0x8|_0x25d473[_0x4f2f11+0x2]<<0x10|_0x25d473[_0x4f2f11+0x3]<<0x18)>>>0x0;}function _0x2f2f3c(_0x3df68d,_0x98bbd2){return(_0x3df68d[_0x98bbd2]<<0x18|_0x3df68d[_0x98bbd2+0x1]<<0x10|_0x3df68d[_0x98bbd2+0x2]<<0x8|_0x3df68d[_0x98bbd2+0x3])>>>0x0;}_0x2d8fac['exports']=_0xf197b0(_0xf197b0);}),_0x1af7f3=_0x947326(_0x1c9be6=>{var _0x17a919=_0x1c9be6,_0x54c159=0xfffd;_0x17a919['length']=function(_0xf3027d){for(var _0x5dc237=0x0,_0x207ab1=0x0,_0x8815d4=0x0;_0x8815d4<_0xf3027d['length'];++_0x8815d4)(_0x207ab1=_0xf3027d['charCodeAt'](_0x8815d4))<0x80?_0x5dc237+=0x1:_0x207ab1<0x800?_0x5dc237+=0x2:0xd800==(0xfc00&_0x207ab1)&&0xdc00==(0xfc00&_0xf3027d['charCodeAt'](_0x8815d4+0x1))?(++_0x8815d4,_0x5dc237+=0x4):_0x5dc237+=0x3;return _0x5dc237;},_0x17a919['read']=function(_0xd78588,_0x414fd1,_0x14a3ba){if(_0x14a3ba-_0x414fd1<0x1)return'';for(var t,_0x51a912,_0x20b433,_0x6e3790,_0x56ac6f=null,_0x51dfe5=[],_0x1be9f7=0x0;_0x414fd1<_0x14a3ba;)(t=_0xd78588[_0x414fd1++])<=0x7f?_0x51dfe5[_0x1be9f7++]=t:t>=0xc0&&t<0xe0?(_0x20b433=(0x1f&t)<<0x6|0x3f&_0xd78588[_0x414fd1++],_0x51dfe5[_0x1be9f7++]=_0x20b433>=0x80?_0x20b433:_0x54c159):t>=0xe0&&t<0xf0?(_0x6e3790=(0xf&t)<<0xc|(0x3f&_0xd78588[_0x414fd1++])<<0x6|0x3f&_0xd78588[_0x414fd1++],_0x51dfe5[_0x1be9f7++]=_0x6e3790>=0x800?_0x6e3790:_0x54c159):t>=0xf0&&((_0x51a912=(0x7&t)<<0x12|(0x3f&_0xd78588[_0x414fd1++])<<0xc|(0x3f&_0xd78588[_0x414fd1++])<<0x6|0x3f&_0xd78588[_0x414fd1++])<0x10000||_0x51a912>0x10ffff?_0x51dfe5[_0x1be9f7++]=_0x54c159:(_0x51a912-=0x10000,_0x51dfe5[_0x1be9f7++]=0xd800+(_0x51a912>>0xa),_0x51dfe5[_0x1be9f7++]=0xdc00+(0x3ff&_0x51a912))),_0x1be9f7>0x1fff&&((_0x56ac6f||(_0x56ac6f=[]))['push'](String['fromCharCode']['apply'](String,_0x51dfe5['slice'](0x0,_0x1be9f7))),_0x1be9f7=0x0);return _0x56ac6f?(_0x1be9f7&&_0x56ac6f['push'](String['fromCharCode']['apply'](String,_0x51dfe5['slice'](0x0,_0x1be9f7))),_0x56ac6f['join']('')):String['fromCharCode']['apply'](String,_0x51dfe5['slice'](0x0,_0x1be9f7));},_0x17a919['write']=function(_0x491bbb,_0x22d8fb,_0xe6f962){for(var _0x3aae36,_0x2f0b81,_0x4b17c2=_0xe6f962,_0x29fee6=0x0;_0x29fee6<_0x491bbb['length'];++_0x29fee6)(_0x3aae36=_0x491bbb['charCodeAt'](_0x29fee6))<0x80?_0x22d8fb[_0xe6f962++]=_0x3aae36:_0x3aae36<0x800?(_0x22d8fb[_0xe6f962++]=_0x3aae36>>0x6|0xc0,_0x22d8fb[_0xe6f962++]=0x3f&_0x3aae36|0x80):0xd800==(0xfc00&_0x3aae36)&&0xdc00==(0xfc00&(_0x2f0b81=_0x491bbb['charCodeAt'](_0x29fee6+0x1)))?(_0x3aae36=0x10000+((0x3ff&_0x3aae36)<<0xa)+(0x3ff&_0x2f0b81),++_0x29fee6,_0x22d8fb[_0xe6f962++]=_0x3aae36>>0x12|0xf0,_0x22d8fb[_0xe6f962++]=_0x3aae36>>0xc&0x3f|0x80,_0x22d8fb[_0xe6f962++]=_0x3aae36>>0x6&0x3f|0x80,_0x22d8fb[_0xe6f962++]=0x3f&_0x3aae36|0x80):(_0x22d8fb[_0xe6f962++]=_0x3aae36>>0xc|0xe0,_0x22d8fb[_0xe6f962++]=_0x3aae36>>0x6&0x3f|0x80,_0x22d8fb[_0xe6f962++]=0x3f&_0x3aae36|0x80);return _0xe6f962-_0x4b17c2;};}),_0x2f03f8=_0x947326((_0xe3f32e,_0x1080aa)=>{_0x1080aa['exports']=function(_0x4eb3d1,_0x398d60,_0x1fe13d){var _0x526623=_0x1fe13d||0x2000,_0x46c4b3=_0x526623>>>0x1,_0x26c4b3=null,_0x53143b=_0x526623;return function(_0x5a99cb){if(_0x5a99cb<0x1||_0x5a99cb>_0x46c4b3)return _0x4eb3d1(_0x5a99cb);_0x53143b+_0x5a99cb>_0x526623&&(_0x26c4b3=_0x4eb3d1(_0x526623),_0x53143b=0x0);var _0x3db634=_0x398d60['call'](_0x26c4b3,_0x53143b,_0x53143b+=_0x5a99cb);return 0x7&_0x53143b&&(_0x53143b=0x1+(0x7|_0x53143b)),_0x3db634;};};}),_0x34a1fd=_0x947326((_0x3e63e5,_0x161729)=>{_0x161729['exports']=_0x2094a4;var _0x1aa886=_0x329b62();function _0x2094a4(_0x3dce8f,_0x3c56ab){this['lo']=_0x3dce8f>>>0x0,this['hi']=_0x3c56ab>>>0x0;}var _0xa5a6d2=_0x2094a4['zero']=new _0x2094a4(0x0,0x0);_0xa5a6d2['toNumber']=function(){return 0x0;},_0xa5a6d2['zzEncode']=_0xa5a6d2['zzDecode']=function(){return this;},_0xa5a6d2['length']=function(){return 0x1;};var _0x30e1ab=_0x2094a4['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x2094a4['fromNumber']=function(_0x37983e){if(0x0===_0x37983e)return _0xa5a6d2;var _0x13434a=_0x37983e<0x0;_0x13434a&&(_0x37983e=-_0x37983e);var _0x4ad0db=_0x37983e>>>0x0,_0x404b61=(_0x37983e-_0x4ad0db)/0x100000000>>>0x0;return _0x13434a&&(_0x404b61=~_0x404b61>>>0x0,_0x4ad0db=~_0x4ad0db>>>0x0,++_0x4ad0db>0xffffffff&&(_0x4ad0db=0x0,++_0x404b61>0xffffffff&&(_0x404b61=0x0))),new _0x2094a4(_0x4ad0db,_0x404b61);},_0x2094a4['from']=function(_0x52a988){if('number'==typeof _0x52a988)return _0x2094a4['fromNumber'](_0x52a988);if(_0x1aa886['isString'](_0x52a988)){if(!_0x1aa886['Long'])return _0x2094a4['fromNumber'](parseInt(_0x52a988,0xa));_0x52a988=_0x1aa886['Long']['fromString'](_0x52a988);}return _0x52a988['low']||_0x52a988['high']?new _0x2094a4(_0x52a988['low']>>>0x0,_0x52a988['high']>>>0x0):_0xa5a6d2;},_0x2094a4['prototype']['toNumber']=function(_0x11dff8){if(!_0x11dff8&&this['hi']>>>0x1f){var _0x57f6aa=0x1+~this['lo']>>>0x0,_0x46f5d7=~this['hi']>>>0x0;return _0x57f6aa||(_0x46f5d7=_0x46f5d7+0x1>>>0x0),-(_0x57f6aa+0x100000000*_0x46f5d7);}return this['lo']+0x100000000*this['hi'];},_0x2094a4['prototype']['toLong']=function(_0x4e7e77){return _0x1aa886['Long']?new _0x1aa886['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x4e7e77)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x4e7e77)};};var _0x328478=String['prototype']['charCodeAt'];_0x2094a4['fromHash']=function(_0x30fd97){return _0x30fd97===_0x30e1ab?_0xa5a6d2:new _0x2094a4((_0x328478['call'](_0x30fd97,0x0)|_0x328478['call'](_0x30fd97,0x1)<<0x8|_0x328478['call'](_0x30fd97,0x2)<<0x10|_0x328478['call'](_0x30fd97,0x3)<<0x18)>>>0x0,(_0x328478['call'](_0x30fd97,0x4)|_0x328478['call'](_0x30fd97,0x5)<<0x8|_0x328478['call'](_0x30fd97,0x6)<<0x10|_0x328478['call'](_0x30fd97,0x7)<<0x18)>>>0x0);},_0x2094a4['prototype']['toHash']=function(){return String['fromCharCode'](0xff&this['lo'],this['lo']>>>0x8&0xff,this['lo']>>>0x10&0xff,this['lo']>>>0x18,0xff&this['hi'],this['hi']>>>0x8&0xff,this['hi']>>>0x10&0xff,this['hi']>>>0x18);},_0x2094a4['prototype']['zzEncode']=function(){var _0x1f9a7d=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x1f9a7d)>>>0x0,this['lo']=(this['lo']<<0x1^_0x1f9a7d)>>>0x0,this;},_0x2094a4['prototype']['zzDecode']=function(){var _0x1fdcfd=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x1fdcfd)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x1fdcfd)>>>0x0,this;},_0x2094a4['prototype']['length']=function(){var _0x453bab=this['lo'],_0x400777=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x2f953c=this['hi']>>>0x18;return 0x0===_0x2f953c?0x0===_0x400777?_0x453bab<0x4000?_0x453bab<0x80?0x1:0x2:_0x453bab<0x200000?0x3:0x4:_0x400777<0x4000?_0x400777<0x80?0x5:0x6:_0x400777<0x200000?0x7:0x8:_0x2f953c<0x80?0x9:0xa;};}),tv=_0x947326((_0x4065b2,_0xa69c6)=>{!function(_0x1c466e,_0x3fb574){function _0x1e2fff(_0x1d3bdf){return _0x1d3bdf['default']||_0x1d3bdf;}var _0x21ca56;'function'==typeof define&&define['amd']?define([],function(){var _0x3257a3={};return _0x3fb574(_0x3257a3),_0x1e2fff(_0x3257a3);}):'object'==typeof _0x4065b2?(_0x3fb574(_0x4065b2),'object'==typeof _0xa69c6&&(_0xa69c6['exports']=_0x1e2fff(_0x4065b2))):(_0x3fb574(_0x21ca56={}),_0x1c466e['Long']=_0x1e2fff(_0x21ca56));}('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof self?self:_0x4065b2,function(_0x1356e9){'use strict';Object['defineProperty'](_0x1356e9,'__esModule',{'value':!0x0}),_0x1356e9['default']=void 0x0;var _0x19a1d7=null;try{_0x19a1d7=new WebAssembly['Instance'](new WebAssembly['Module'](new Uint8Array([0x0,0x61,0x73,0x6d,0x1,0x0,0x0,0x0,0x1,0xd,0x2,0x60,0x0,0x1,0x7f,0x60,0x4,0x7f,0x7f,0x7f,0x7f,0x1,0x7f,0x3,0x7,0x6,0x0,0x1,0x1,0x1,0x1,0x1,0x6,0x6,0x1,0x7f,0x1,0x41,0x0,0xb,0x7,0x32,0x6,0x3,0x6d,0x75,0x6c,0x0,0x1,0x5,0x64,0x69,0x76,0x5f,0x73,0x0,0x2,0x5,0x64,0x69,0x76,0x5f,0x75,0x0,0x3,0x5,0x72,0x65,0x6d,0x5f,0x73,0x0,0x4,0x5,0x72,0x65,0x6d,0x5f,0x75,0x0,0x5,0x8,0x67,0x65,0x74,0x5f,0x68,0x69,0x67,0x68,0x0,0x0,0xa,0xbf,0x1,0x6,0x4,0x0,0x23,0x0,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x7e,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x7f,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x80,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x81,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x82,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb])),{})['exports'];}catch{}function _0x51fa21(_0x1f8e37,_0x3116b1,_0x43a3e5){this['low']=0x0|_0x1f8e37,this['high']=0x0|_0x3116b1,this['unsigned']=!!_0x43a3e5;}function _0xc66e31(_0x1309f1){return!0x0===(_0x1309f1&&_0x1309f1['__isLong__']);}function _0x309e42(_0x2be515){var _0x1dbf02=Math['clz32'](_0x2be515&-_0x2be515);return _0x2be515?0x1f-_0x1dbf02:_0x1dbf02;}_0x51fa21['prototype']['__isLong__'],Object['defineProperty'](_0x51fa21['prototype'],'__isLong__',{'value':!0x0}),_0x51fa21['isLong']=_0xc66e31;var _0x17b243={},_0x27bece={};function _0x1c1d52(_0x3614e1,_0x8f4178){var _0x5b169e,_0x5b0451,_0x334195;return _0x8f4178?(_0x334195=0x0<=(_0x3614e1>>>=0x0)&&_0x3614e1<0x100)&&(_0x5b0451=_0x27bece[_0x3614e1])?_0x5b0451:(_0x5b169e=_0x4f70cb(_0x3614e1,0x0,!0x0),_0x334195&&(_0x27bece[_0x3614e1]=_0x5b169e),_0x5b169e):(_0x334195=-0x80<=(_0x3614e1|=0x0)&&_0x3614e1<0x80)&&(_0x5b0451=_0x17b243[_0x3614e1])?_0x5b0451:(_0x5b169e=_0x4f70cb(_0x3614e1,_0x3614e1<0x0?-0x1:0x0,!0x1),_0x334195&&(_0x17b243[_0x3614e1]=_0x5b169e),_0x5b169e);}function _0x491b96(_0x57a29f,_0x55345d){if(isNaN(_0x57a29f))return _0x55345d?_0x5cb53d:_0x11899a;if(_0x55345d){if(_0x57a29f<0x0)return _0x5cb53d;if(_0x57a29f>=_0x3fbc2a)return _0xdb94c5;}else{if(_0x57a29f<=-_0x25b840)return _0x63333e;if(_0x57a29f+0x1>=_0x25b840)return _0x13aa32;}return _0x57a29f<0x0?_0x491b96(-_0x57a29f,_0x55345d)['neg']():_0x4f70cb(_0x57a29f%_0x5c00b5|0x0,_0x57a29f/_0x5c00b5|0x0,_0x55345d);}function _0x4f70cb(_0x532bd1,_0x1085b9,_0x4a417d){return new _0x51fa21(_0x532bd1,_0x1085b9,_0x4a417d);}_0x51fa21['fromInt']=_0x1c1d52,_0x51fa21['fromNumber']=_0x491b96,_0x51fa21['fromBits']=_0x4f70cb;var _0xdf5bec=Math['pow'];function _0x9da845(_0x5572bf,_0x4114d6,_0x347a19){if(0x0===_0x5572bf['length'])throw Error('empty\x20string');if('number'==typeof _0x4114d6?(_0x347a19=_0x4114d6,_0x4114d6=!0x1):_0x4114d6=!!_0x4114d6,'NaN'===_0x5572bf||'Infinity'===_0x5572bf||'+Infinity'===_0x5572bf||'-Infinity'===_0x5572bf)return _0x4114d6?_0x5cb53d:_0x11899a;if((_0x347a19=_0x347a19||0xa)<0x2||0x24<_0x347a19)throw RangeError('radix');var _0x509a7c;if((_0x509a7c=_0x5572bf['indexOf']('-'))>0x0)throw Error('interior\x20hyphen');if(0x0===_0x509a7c)return _0x9da845(_0x5572bf['substring'](0x1),_0x4114d6,_0x347a19)['neg']();for(var _0x4860d9=_0x491b96(_0xdf5bec(_0x347a19,0x8)),_0x411929=_0x11899a,_0xe777df=0x0;_0xe777df<_0x5572bf['length'];_0xe777df+=0x8){var _0xaa6174=Math['min'](0x8,_0x5572bf['length']-_0xe777df),_0x142d5c=parseInt(_0x5572bf['substring'](_0xe777df,_0xe777df+_0xaa6174),_0x347a19);if(_0xaa6174<0x8){var _0x20c9a7=_0x491b96(_0xdf5bec(_0x347a19,_0xaa6174));_0x411929=_0x411929['mul'](_0x20c9a7)['add'](_0x491b96(_0x142d5c));}else _0x411929=(_0x411929=_0x411929['mul'](_0x4860d9))['add'](_0x491b96(_0x142d5c));}return _0x411929['unsigned']=_0x4114d6,_0x411929;}function _0xb0046a(_0x566da5,_0x3fe7ca){return'number'==typeof _0x566da5?_0x491b96(_0x566da5,_0x3fe7ca):'string'==typeof _0x566da5?_0x9da845(_0x566da5,_0x3fe7ca):_0x4f70cb(_0x566da5['low'],_0x566da5['high'],'boolean'==typeof _0x3fe7ca?_0x3fe7ca:_0x566da5['unsigned']);}_0x51fa21['fromString']=_0x9da845,_0x51fa21['fromValue']=_0xb0046a;var _0x5c00b5=0x100000000,_0x3fbc2a=_0x5c00b5*_0x5c00b5,_0x25b840=_0x3fbc2a/0x2,_0x5c9b49=_0x1c1d52(0x1<<0x18),_0x11899a=_0x1c1d52(0x0);_0x51fa21['ZERO']=_0x11899a;var _0x5cb53d=_0x1c1d52(0x0,!0x0);_0x51fa21['UZERO']=_0x5cb53d;var _0x1e0545=_0x1c1d52(0x1);_0x51fa21['ONE']=_0x1e0545;var _0x1a627f=_0x1c1d52(0x1,!0x0);_0x51fa21['UONE']=_0x1a627f;var _0xb8bfee=_0x1c1d52(-0x1);_0x51fa21['NEG_ONE']=_0xb8bfee;var _0x13aa32=_0x4f70cb(-0x1,0x7fffffff,!0x1);_0x51fa21['MAX_VALUE']=_0x13aa32;var _0xdb94c5=_0x4f70cb(-0x1,-0x1,!0x0);_0x51fa21['MAX_UNSIGNED_VALUE']=_0xdb94c5;var _0x63333e=_0x4f70cb(0x0,-0x80000000,!0x1);_0x51fa21['MIN_VALUE']=_0x63333e;var _0x4f3290=_0x51fa21['prototype'];_0x4f3290['toInt']=function(){return this['unsigned']?this['low']>>>0x0:this['low'];},_0x4f3290['toNumber']=function(){return this['unsigned']?(this['high']>>>0x0)*_0x5c00b5+(this['low']>>>0x0):this['high']*_0x5c00b5+(this['low']>>>0x0);},_0x4f3290['toString']=function(_0x8a9ad0){if((_0x8a9ad0=_0x8a9ad0||0xa)<0x2||0x24<_0x8a9ad0)throw RangeError('radix');if(this['isZero']())return'0';if(this['isNegative']()){if(this['eq'](_0x63333e)){var _0x159f72=_0x491b96(_0x8a9ad0),_0x41b96e=this['div'](_0x159f72),_0x4c7918=_0x41b96e['mul'](_0x159f72)['sub'](this);return _0x41b96e['toString'](_0x8a9ad0)+_0x4c7918['toInt']()['toString'](_0x8a9ad0);}return'-'+this['neg']()['toString'](_0x8a9ad0);}for(var _0xd1074e=_0x491b96(_0xdf5bec(_0x8a9ad0,0x6),this['unsigned']),_0x449181=this,_0x1618a2='';;){var _0x3b734c=_0x449181['div'](_0xd1074e),_0x3bfe50=(_0x449181['sub'](_0x3b734c['mul'](_0xd1074e))['toInt']()>>>0x0)['toString'](_0x8a9ad0);if((_0x449181=_0x3b734c)['isZero']())return _0x3bfe50+_0x1618a2;for(;_0x3bfe50['length']<0x6;)_0x3bfe50='0'+_0x3bfe50;_0x1618a2=''+_0x3bfe50+_0x1618a2;}},_0x4f3290['getHighBits']=function(){return this['high'];},_0x4f3290['getHighBitsUnsigned']=function(){return this['high']>>>0x0;},_0x4f3290['getLowBits']=function(){return this['low'];},_0x4f3290['getLowBitsUnsigned']=function(){return this['low']>>>0x0;},_0x4f3290['getNumBitsAbs']=function(){if(this['isNegative']())return this['eq'](_0x63333e)?0x40:this['neg']()['getNumBitsAbs']();for(var _0x3ccfb0=0x0!=this['high']?this['high']:this['low'],_0x175c4a=0x1f;_0x175c4a>0x0&&!(_0x3ccfb0&0x1<<_0x175c4a);_0x175c4a--);return 0x0!=this['high']?_0x175c4a+0x21:_0x175c4a+0x1;},_0x4f3290['isSafeInteger']=function(){var _0x5eb10c=this['high']>>0x15;return!_0x5eb10c||!this['unsigned']&&(-0x1===_0x5eb10c&&!(0x0===this['low']&&-0x200000===this['high']));},_0x4f3290['isZero']=function(){return 0x0===this['high']&&0x0===this['low'];},_0x4f3290['eqz']=_0x4f3290['isZero'],_0x4f3290['isNegative']=function(){return!this['unsigned']&&this['high']<0x0;},_0x4f3290['isPositive']=function(){return this['unsigned']||this['high']>=0x0;},_0x4f3290['isOdd']=function(){return!(0x1&~this['low']);},_0x4f3290['isEven']=function(){return!(0x1&this['low']);},_0x4f3290['equals']=function(_0x107203){return _0xc66e31(_0x107203)||(_0x107203=_0xb0046a(_0x107203)),(this['unsigned']===_0x107203['unsigned']||this['high']>>>0x1f!=0x1||_0x107203['high']>>>0x1f!=0x1)&&(this['high']===_0x107203['high']&&this['low']===_0x107203['low']);},_0x4f3290['eq']=_0x4f3290['equals'],_0x4f3290['notEquals']=function(_0x139d7c){return!this['eq'](_0x139d7c);},_0x4f3290['neq']=_0x4f3290['notEquals'],_0x4f3290['ne']=_0x4f3290['notEquals'],_0x4f3290['lessThan']=function(_0x48185e){return this['comp'](_0x48185e)<0x0;},_0x4f3290['lt']=_0x4f3290['lessThan'],_0x4f3290['lessThanOrEqual']=function(_0x323727){return this['comp'](_0x323727)<=0x0;},_0x4f3290['lte']=_0x4f3290['lessThanOrEqual'],_0x4f3290['le']=_0x4f3290['lessThanOrEqual'],_0x4f3290['greaterThan']=function(_0x12ec18){return this['comp'](_0x12ec18)>0x0;},_0x4f3290['gt']=_0x4f3290['greaterThan'],_0x4f3290['greaterThanOrEqual']=function(_0x21582d){return this['comp'](_0x21582d)>=0x0;},_0x4f3290['gte']=_0x4f3290['greaterThanOrEqual'],_0x4f3290['ge']=_0x4f3290['greaterThanOrEqual'],_0x4f3290['compare']=function(_0x24401d){if(_0xc66e31(_0x24401d)||(_0x24401d=_0xb0046a(_0x24401d)),this['eq'](_0x24401d))return 0x0;var _0x341e0b=this['isNegative'](),_0x28e428=_0x24401d['isNegative']();return _0x341e0b&&!_0x28e428?-0x1:!_0x341e0b&&_0x28e428?0x1:this['unsigned']?_0x24401d['high']>>>0x0>this['high']>>>0x0||_0x24401d['high']===this['high']&&_0x24401d['low']>>>0x0>this['low']>>>0x0?-0x1:0x1:this['sub'](_0x24401d)['isNegative']()?-0x1:0x1;},_0x4f3290['comp']=_0x4f3290['compare'],_0x4f3290['negate']=function(){return!this['unsigned']&&this['eq'](_0x63333e)?_0x63333e:this['not']()['add'](_0x1e0545);},_0x4f3290['neg']=_0x4f3290['negate'],_0x4f3290['add']=function(_0x339ec9){_0xc66e31(_0x339ec9)||(_0x339ec9=_0xb0046a(_0x339ec9));var _0x120895=this['high']>>>0x10,_0xae37d7=0xffff&this['high'],_0x22101d=this['low']>>>0x10,_0x47c296=0xffff&this['low'],_0xd3f21c=_0x339ec9['high']>>>0x10,_0x51a389=0xffff&_0x339ec9['high'],_0x339d51=_0x339ec9['low']>>>0x10,_0x27c6c4=0x0,_0x177162=0x0,_0x226c23=0x0,_0x3c449b=0x0;return _0x226c23+=(_0x3c449b+=_0x47c296+(0xffff&_0x339ec9['low']))>>>0x10,_0x177162+=(_0x226c23+=_0x22101d+_0x339d51)>>>0x10,_0x27c6c4+=(_0x177162+=_0xae37d7+_0x51a389)>>>0x10,_0x27c6c4+=_0x120895+_0xd3f21c,_0x4f70cb((_0x226c23&=0xffff)<<0x10|(_0x3c449b&=0xffff),(_0x27c6c4&=0xffff)<<0x10|(_0x177162&=0xffff),this['unsigned']);},_0x4f3290['subtract']=function(_0x318b4e){return _0xc66e31(_0x318b4e)||(_0x318b4e=_0xb0046a(_0x318b4e)),this['add'](_0x318b4e['neg']());},_0x4f3290['sub']=_0x4f3290['subtract'],_0x4f3290['multiply']=function(_0x5efab5){if(this['isZero']())return this;if(_0xc66e31(_0x5efab5)||(_0x5efab5=_0xb0046a(_0x5efab5)),_0x19a1d7)return _0x4f70cb(_0x19a1d7['mul'](this['low'],this['high'],_0x5efab5['low'],_0x5efab5['high']),_0x19a1d7['get_high'](),this['unsigned']);if(_0x5efab5['isZero']())return this['unsigned']?_0x5cb53d:_0x11899a;if(this['eq'](_0x63333e))return _0x5efab5['isOdd']()?_0x63333e:_0x11899a;if(_0x5efab5['eq'](_0x63333e))return this['isOdd']()?_0x63333e:_0x11899a;if(this['isNegative']())return _0x5efab5['isNegative']()?this['neg']()['mul'](_0x5efab5['neg']()):this['neg']()['mul'](_0x5efab5)['neg']();if(_0x5efab5['isNegative']())return this['mul'](_0x5efab5['neg']())['neg']();if(this['lt'](_0x5c9b49)&&_0x5efab5['lt'](_0x5c9b49))return _0x491b96(this['toNumber']()*_0x5efab5['toNumber'](),this['unsigned']);var _0x14eefd=this['high']>>>0x10,_0x5692c1=0xffff&this['high'],_0x2f931d=this['low']>>>0x10,_0x535137=0xffff&this['low'],_0x6c697c=_0x5efab5['high']>>>0x10,_0x362681=0xffff&_0x5efab5['high'],_0x1ccc8d=_0x5efab5['low']>>>0x10,_0x3a390d=0xffff&_0x5efab5['low'],_0x299c94=0x0,_0x56db63=0x0,_0x2a739a=0x0,_0x325c7f=0x0;return _0x2a739a+=(_0x325c7f+=_0x535137*_0x3a390d)>>>0x10,_0x56db63+=(_0x2a739a+=_0x2f931d*_0x3a390d)>>>0x10,_0x2a739a&=0xffff,_0x56db63+=(_0x2a739a+=_0x535137*_0x1ccc8d)>>>0x10,_0x299c94+=(_0x56db63+=_0x5692c1*_0x3a390d)>>>0x10,_0x56db63&=0xffff,_0x299c94+=(_0x56db63+=_0x2f931d*_0x1ccc8d)>>>0x10,_0x56db63&=0xffff,_0x299c94+=(_0x56db63+=_0x535137*_0x362681)>>>0x10,_0x299c94+=_0x14eefd*_0x3a390d+_0x5692c1*_0x1ccc8d+_0x2f931d*_0x362681+_0x535137*_0x6c697c,_0x4f70cb((_0x2a739a&=0xffff)<<0x10|(_0x325c7f&=0xffff),(_0x299c94&=0xffff)<<0x10|(_0x56db63&=0xffff),this['unsigned']);},_0x4f3290['mul']=_0x4f3290['multiply'],_0x4f3290['divide']=function(_0x38c798){if(_0xc66e31(_0x38c798)||(_0x38c798=_0xb0046a(_0x38c798)),_0x38c798['isZero']())throw Error('division\x20by\x20zero');if(_0x19a1d7)return this['unsigned']||-0x80000000!==this['high']||-0x1!==_0x38c798['low']||-0x1!==_0x38c798['high']?_0x4f70cb((this['unsigned']?_0x19a1d7['div_u']:_0x19a1d7['div_s'])(this['low'],this['high'],_0x38c798['low'],_0x38c798['high']),_0x19a1d7['get_high'](),this['unsigned']):this;if(this['isZero']())return this['unsigned']?_0x5cb53d:_0x11899a;var _0x59235c,_0x9fc4d4,_0x4a6ac1;if(this['unsigned']){if(_0x38c798['unsigned']||(_0x38c798=_0x38c798['toUnsigned']()),_0x38c798['gt'](this))return _0x5cb53d;if(_0x38c798['gt'](this['shru'](0x1)))return _0x1a627f;_0x4a6ac1=_0x5cb53d;}else{if(this['eq'](_0x63333e))return _0x38c798['eq'](_0x1e0545)||_0x38c798['eq'](_0xb8bfee)?_0x63333e:_0x38c798['eq'](_0x63333e)?_0x1e0545:(_0x59235c=this['shr'](0x1)['div'](_0x38c798)['shl'](0x1))['eq'](_0x11899a)?_0x38c798['isNegative']()?_0x1e0545:_0xb8bfee:(_0x9fc4d4=this['sub'](_0x38c798['mul'](_0x59235c)),_0x4a6ac1=_0x59235c['add'](_0x9fc4d4['div'](_0x38c798)));if(_0x38c798['eq'](_0x63333e))return this['unsigned']?_0x5cb53d:_0x11899a;if(this['isNegative']())return _0x38c798['isNegative']()?this['neg']()['div'](_0x38c798['neg']()):this['neg']()['div'](_0x38c798)['neg']();if(_0x38c798['isNegative']())return this['div'](_0x38c798['neg']())['neg']();_0x4a6ac1=_0x11899a;}for(_0x9fc4d4=this;_0x9fc4d4['gte'](_0x38c798);){_0x59235c=Math['max'](0x1,Math['floor'](_0x9fc4d4['toNumber']()/_0x38c798['toNumber']()));for(var _0x4d6b9c=Math['ceil'](Math['log'](_0x59235c)/Math['LN2']),_0x3b33be=_0x4d6b9c<=0x30?0x1:_0xdf5bec(0x2,_0x4d6b9c-0x30),_0x4de04f=_0x491b96(_0x59235c),_0x5dcd65=_0x4de04f['mul'](_0x38c798);_0x5dcd65['isNegative']()||_0x5dcd65['gt'](_0x9fc4d4);)_0x5dcd65=(_0x4de04f=_0x491b96(_0x59235c-=_0x3b33be,this['unsigned']))['mul'](_0x38c798);_0x4de04f['isZero']()&&(_0x4de04f=_0x1e0545),_0x4a6ac1=_0x4a6ac1['add'](_0x4de04f),_0x9fc4d4=_0x9fc4d4['sub'](_0x5dcd65);}return _0x4a6ac1;},_0x4f3290['div']=_0x4f3290['divide'],_0x4f3290['modulo']=function(_0x33d0cd){return _0xc66e31(_0x33d0cd)||(_0x33d0cd=_0xb0046a(_0x33d0cd)),_0x19a1d7?_0x4f70cb((this['unsigned']?_0x19a1d7['rem_u']:_0x19a1d7['rem_s'])(this['low'],this['high'],_0x33d0cd['low'],_0x33d0cd['high']),_0x19a1d7['get_high'](),this['unsigned']):this['sub'](this['div'](_0x33d0cd)['mul'](_0x33d0cd));},_0x4f3290['mod']=_0x4f3290['modulo'],_0x4f3290['rem']=_0x4f3290['modulo'],_0x4f3290['not']=function(){return _0x4f70cb(~this['low'],~this['high'],this['unsigned']);},_0x4f3290['countLeadingZeros']=function(){return this['high']?Math['clz32'](this['high']):Math['clz32'](this['low'])+0x20;},_0x4f3290['clz']=_0x4f3290['countLeadingZeros'],_0x4f3290['countTrailingZeros']=function(){return this['low']?_0x309e42(this['low']):_0x309e42(this['high'])+0x20;},_0x4f3290['ctz']=_0x4f3290['countTrailingZeros'],_0x4f3290['and']=function(_0x507ffd){return _0xc66e31(_0x507ffd)||(_0x507ffd=_0xb0046a(_0x507ffd)),_0x4f70cb(this['low']&_0x507ffd['low'],this['high']&_0x507ffd['high'],this['unsigned']);},_0x4f3290['or']=function(_0x2a7105){return _0xc66e31(_0x2a7105)||(_0x2a7105=_0xb0046a(_0x2a7105)),_0x4f70cb(this['low']|_0x2a7105['low'],this['high']|_0x2a7105['high'],this['unsigned']);},_0x4f3290['xor']=function(_0x5b50ae){return _0xc66e31(_0x5b50ae)||(_0x5b50ae=_0xb0046a(_0x5b50ae)),_0x4f70cb(this['low']^_0x5b50ae['low'],this['high']^_0x5b50ae['high'],this['unsigned']);},_0x4f3290['shiftLeft']=function(_0x144003){return _0xc66e31(_0x144003)&&(_0x144003=_0x144003['toInt']()),0x0==(_0x144003&=0x3f)?this:_0x144003<0x20?_0x4f70cb(this['low']<<_0x144003,this['high']<<_0x144003|this['low']>>>0x20-_0x144003,this['unsigned']):_0x4f70cb(0x0,this['low']<<_0x144003-0x20,this['unsigned']);},_0x4f3290['shl']=_0x4f3290['shiftLeft'],_0x4f3290['shiftRight']=function(_0x1ba964){return _0xc66e31(_0x1ba964)&&(_0x1ba964=_0x1ba964['toInt']()),0x0==(_0x1ba964&=0x3f)?this:_0x1ba964<0x20?_0x4f70cb(this['low']>>>_0x1ba964|this['high']<<0x20-_0x1ba964,this['high']>>_0x1ba964,this['unsigned']):_0x4f70cb(this['high']>>_0x1ba964-0x20,this['high']>=0x0?0x0:-0x1,this['unsigned']);},_0x4f3290['shr']=_0x4f3290['shiftRight'],_0x4f3290['shiftRightUnsigned']=function(_0x6a4ce5){return _0xc66e31(_0x6a4ce5)&&(_0x6a4ce5=_0x6a4ce5['toInt']()),0x0==(_0x6a4ce5&=0x3f)?this:_0x6a4ce5<0x20?_0x4f70cb(this['low']>>>_0x6a4ce5|this['high']<<0x20-_0x6a4ce5,this['high']>>>_0x6a4ce5,this['unsigned']):_0x4f70cb(0x20===_0x6a4ce5?this['high']:this['high']>>>_0x6a4ce5-0x20,0x0,this['unsigned']);},_0x4f3290['shru']=_0x4f3290['shiftRightUnsigned'],_0x4f3290['shr_u']=_0x4f3290['shiftRightUnsigned'],_0x4f3290['rotateLeft']=function(_0x296ed1){var _0x583f83;return _0xc66e31(_0x296ed1)&&(_0x296ed1=_0x296ed1['toInt']()),0x0==(_0x296ed1&=0x3f)?this:0x20===_0x296ed1?_0x4f70cb(this['high'],this['low'],this['unsigned']):_0x296ed1<0x20?(_0x583f83=0x20-_0x296ed1,_0x4f70cb(this['low']<<_0x296ed1|this['high']>>>_0x583f83,this['high']<<_0x296ed1|this['low']>>>_0x583f83,this['unsigned'])):(_0x583f83=0x20-(_0x296ed1-=0x20),_0x4f70cb(this['high']<<_0x296ed1|this['low']>>>_0x583f83,this['low']<<_0x296ed1|this['high']>>>_0x583f83,this['unsigned']));},_0x4f3290['rotl']=_0x4f3290['rotateLeft'],_0x4f3290['rotateRight']=function(_0x53acfd){var _0x510cd8;return _0xc66e31(_0x53acfd)&&(_0x53acfd=_0x53acfd['toInt']()),0x0==(_0x53acfd&=0x3f)?this:0x20===_0x53acfd?_0x4f70cb(this['high'],this['low'],this['unsigned']):_0x53acfd<0x20?(_0x510cd8=0x20-_0x53acfd,_0x4f70cb(this['high']<<_0x510cd8|this['low']>>>_0x53acfd,this['low']<<_0x510cd8|this['high']>>>_0x53acfd,this['unsigned'])):(_0x510cd8=0x20-(_0x53acfd-=0x20),_0x4f70cb(this['low']<<_0x510cd8|this['high']>>>_0x53acfd,this['high']<<_0x510cd8|this['low']>>>_0x53acfd,this['unsigned']));},_0x4f3290['rotr']=_0x4f3290['rotateRight'],_0x4f3290['toSigned']=function(){return this['unsigned']?_0x4f70cb(this['low'],this['high'],!0x1):this;},_0x4f3290['toUnsigned']=function(){return this['unsigned']?this:_0x4f70cb(this['low'],this['high'],!0x0);},_0x4f3290['toBytes']=function(_0x2c01a3){return _0x2c01a3?this['toBytesLE']():this['toBytesBE']();},_0x4f3290['toBytesLE']=function(){var _0x3436bb=this['high'],_0x1af58e=this['low'];return[0xff&_0x1af58e,_0x1af58e>>>0x8&0xff,_0x1af58e>>>0x10&0xff,_0x1af58e>>>0x18,0xff&_0x3436bb,_0x3436bb>>>0x8&0xff,_0x3436bb>>>0x10&0xff,_0x3436bb>>>0x18];},_0x4f3290['toBytesBE']=function(){var _0x5175b3=this['high'],_0x3f562d=this['low'];return[_0x5175b3>>>0x18,_0x5175b3>>>0x10&0xff,_0x5175b3>>>0x8&0xff,0xff&_0x5175b3,_0x3f562d>>>0x18,_0x3f562d>>>0x10&0xff,_0x3f562d>>>0x8&0xff,0xff&_0x3f562d];},_0x51fa21['fromBytes']=function(_0x5d9ea9,_0x27d4ca,_0x85aac2){return _0x85aac2?_0x51fa21['fromBytesLE'](_0x5d9ea9,_0x27d4ca):_0x51fa21['fromBytesBE'](_0x5d9ea9,_0x27d4ca);},_0x51fa21['fromBytesLE']=function(_0x34874c,_0x205d0b){return new _0x51fa21(_0x34874c[0x0]|_0x34874c[0x1]<<0x8|_0x34874c[0x2]<<0x10|_0x34874c[0x3]<<0x18,_0x34874c[0x4]|_0x34874c[0x5]<<0x8|_0x34874c[0x6]<<0x10|_0x34874c[0x7]<<0x18,_0x205d0b);},_0x51fa21['fromBytesBE']=function(_0x1152fd,_0x32eecc){return new _0x51fa21(_0x1152fd[0x4]<<0x18|_0x1152fd[0x5]<<0x10|_0x1152fd[0x6]<<0x8|_0x1152fd[0x7],_0x1152fd[0x0]<<0x18|_0x1152fd[0x1]<<0x10|_0x1152fd[0x2]<<0x8|_0x1152fd[0x3],_0x32eecc);},'function'==typeof BigInt&&(_0x51fa21['fromBigInt']=function(_0x50379f,_0xb824c3){return _0x4f70cb(Number(BigInt['asIntN'](0x20,_0x50379f)),Number(BigInt['asIntN'](0x20,_0x50379f>>BigInt(0x20))),_0xb824c3);},_0x51fa21['fromValue']=function(_0x3fd949,_0x42f3ef){return'bigint'==typeof _0x3fd949?_0x51fa21['fromBigInt'](_0x3fd949,_0x42f3ef):_0xb0046a(_0x3fd949,_0x42f3ef);},_0x4f3290['toBigInt']=function(){var _0xcb72b1=BigInt(this['low']>>>0x0);return BigInt(this['unsigned']?this['high']>>>0x0:this['high'])<<BigInt(0x20)|_0xcb72b1;}),_0x1356e9['default']=_0x51fa21;});}),_0x329b62=_0x947326(_0x179cc3=>{var _0x453387=_0x179cc3;function _0x2a8885(_0x1f02cf){return'__proto__'===_0x1f02cf||'prototype'===_0x1f02cf||'constructor'===_0x1f02cf;}function _0x133e87(_0x3d39e3){var _0x15e2d1='boolean'==typeof arguments[arguments['length']-0x1],_0x1c97a9=_0x15e2d1?arguments['length']-0x1:arguments['length'];_0x15e2d1=_0x15e2d1&&arguments[arguments['length']-0x1];for(var _0x55a481=0x1;_0x55a481<_0x1c97a9;++_0x55a481){var _0x35fc15=arguments[_0x55a481];if(_0x35fc15){for(var _0x24ec53=Object['keys'](_0x35fc15),_0x337e0e=0x0;_0x337e0e<_0x24ec53['length'];++_0x337e0e)_0x2a8885(_0x24ec53[_0x337e0e])||void 0x0!==_0x3d39e3[_0x24ec53[_0x337e0e]]&&_0x15e2d1||(_0x3d39e3[_0x24ec53[_0x337e0e]]=_0x35fc15[_0x24ec53[_0x337e0e]]);}}return _0x3d39e3;}function _0x465c30(_0x56b7d2){function _0x28ba72(_0x243224,_0x572988){if(!(this instanceof _0x28ba72))return new _0x28ba72(_0x243224,_0x572988);Object['defineProperty'](this,'message',{'get':function(){return _0x243224;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x28ba72):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x572988&&_0x133e87(this,_0x572988);}return _0x28ba72['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x28ba72,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x56b7d2;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x28ba72;}_0x453387['asPromise']=_0x215a51(),_0x453387['base64']=_0x370f43(),_0x453387['EventEmitter']=_0x28769a(),_0x453387['float']=_0x2408f9(),_0x453387['utf8']=_0x1af7f3(),_0x453387['pool']=_0x2f03f8(),_0x453387['LongBits']=_0x34a1fd(),_0x453387['isUnsafeProperty']=_0x2a8885,_0x453387['isNode']=Boolean('undefined'!=typeof global&&global&&global['process']&&global['process']['versions']&&global['process']['versions']['node']),_0x453387['global']=_0x453387['isNode']&&global||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x179cc3,_0x453387['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x453387['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x453387['isInteger']=Number['isInteger']||function(_0x140b5b){return'number'==typeof _0x140b5b&&isFinite(_0x140b5b)&&Math['floor'](_0x140b5b)===_0x140b5b;},_0x453387['isString']=function(_0x329a89){return'string'==typeof _0x329a89||_0x329a89 instanceof String;},_0x453387['isObject']=function(_0x99f828){return _0x99f828&&'object'==typeof _0x99f828;},_0x453387['isset']=_0x453387['isSet']=function(_0x168e97,_0x5e44b0){var _0x2fdfc2=_0x168e97[_0x5e44b0];return!(null==_0x2fdfc2||!Object['hasOwnProperty']['call'](_0x168e97,_0x5e44b0))&&('object'!=typeof _0x2fdfc2||(Array['isArray'](_0x2fdfc2)?_0x2fdfc2['length']:Object['keys'](_0x2fdfc2)['length'])>0x0);},_0x453387['Buffer']=(function(){try{var _0x2a8860=_0x453387['global']['Buffer'];return _0x2a8860['prototype']['utf8Write']?_0x2a8860:null;}catch(_0x579e9e){return null;}}()),_0x453387['_Buffer_from']=null,_0x453387['_Buffer_allocUnsafe']=null,_0x453387['newBuffer']=function(_0x3af370){return'number'==typeof _0x3af370?_0x453387['Buffer']?_0x453387['_Buffer_allocUnsafe'](_0x3af370):new _0x453387['Array'](_0x3af370):_0x453387['Buffer']?_0x453387['_Buffer_from'](_0x3af370):'undefined'==typeof Uint8Array?_0x3af370:new Uint8Array(_0x3af370);},_0x453387['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x453387['Long']=_0x453387['global']['dcodeIO']&&_0x453387['global']['dcodeIO']['Long']||_0x453387['global']['Long']||(function(){try{var _0x46729d=tv();return _0x46729d&&_0x46729d['isLong']?_0x46729d:null;}catch(_0x17ffb9){return null;}}()),_0x453387['key2Re']=/^true|false|0|1$/,_0x453387['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x453387['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x453387['longToHash']=function(_0x312824){return _0x312824?_0x453387['LongBits']['from'](_0x312824)['toHash']():_0x453387['LongBits']['zeroHash'];},_0x453387['longFromHash']=function(_0x132036,_0x4c4543){var _0x3556b3=_0x453387['LongBits']['fromHash'](_0x132036);return _0x453387['Long']?_0x453387['Long']['fromBits'](_0x3556b3['lo'],_0x3556b3['hi'],_0x4c4543):_0x3556b3['toNumber'](Boolean(_0x4c4543));},_0x453387['merge']=_0x133e87,_0x453387['nestingLimit']=0x20,_0x453387['recursionLimit']=0x64,_0x453387['makeProp']=function(_0xbd1ff1,_0x2d63db){Object['defineProperty'](_0xbd1ff1,_0x2d63db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x453387['lcFirst']=function(_0x9c3ef3){return _0x9c3ef3['charAt'](0x0)['toLowerCase']()+_0x9c3ef3['substring'](0x1);},_0x453387['newError']=_0x465c30,_0x453387['ProtocolError']=_0x465c30('ProtocolError'),_0x453387['oneOfGetter']=function(_0x4f9c91){for(var _0x451218={},_0x34f5d4=0x0;_0x34f5d4<_0x4f9c91['length'];++_0x34f5d4)_0x451218[_0x4f9c91[_0x34f5d4]]=0x1;return function(){for(var _0x4323d1=Object['keys'](this),_0x3dd578=_0x4323d1['length']-0x1;_0x3dd578>-0x1;--_0x3dd578)if(0x1===_0x451218[_0x4323d1[_0x3dd578]]&&void 0x0!==this[_0x4323d1[_0x3dd578]]&&null!==this[_0x4323d1[_0x3dd578]])return _0x4323d1[_0x3dd578];};},_0x453387['oneOfSetter']=function(_0x16cecc){return function(_0x2c1e9f){for(var _0x57cea0=0x0;_0x57cea0<_0x16cecc['length'];++_0x57cea0)_0x16cecc[_0x57cea0]!==_0x2c1e9f&&delete this[_0x16cecc[_0x57cea0]];};},_0x453387['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x453387['_configure']=function(){var _0x2672fa=_0x453387['Buffer'];_0x2672fa?(_0x453387['_Buffer_from']=_0x2672fa['from']!==Uint8Array['from']&&_0x2672fa['from']||function(_0x2d4328,_0x5ae917){return new _0x2672fa(_0x2d4328,_0x5ae917);},_0x453387['_Buffer_allocUnsafe']=_0x2672fa['allocUnsafe']||function(_0xe528c1){return new _0x2672fa(_0xe528c1);}):_0x453387['_Buffer_from']=_0x453387['_Buffer_allocUnsafe']=null;};}),_0x4d4581=_0x947326((_0x4c158c,_0x4d8179)=>{_0x4d8179['exports']=_0x27e681;var _0x404e33,_0x4eefab=_0x329b62(),_0x2bb823=_0x4eefab['LongBits'],_0x4f7620=_0x4eefab['base64'],_0x144c2d=_0x4eefab['utf8'];function _0x5eeb62(_0x3a5972,_0xb6e7ca,_0x451cf5){this['fn']=_0x3a5972,this['len']=_0xb6e7ca,this['next']=void 0x0,this['val']=_0x451cf5;}function _0x351357(){}function _0xfbc657(_0x473635){this['head']=_0x473635['head'],this['tail']=_0x473635['tail'],this['len']=_0x473635['len'],this['next']=_0x473635['states'];}function _0x27e681(){this['len']=0x0,this['head']=new _0x5eeb62(_0x351357,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x517b57=function(){return _0x4eefab['Buffer']?function(){return(_0x27e681['create']=function(){return new _0x404e33();})();}:function(){return new _0x27e681();};};function _0x35d4d4(_0x591b04,_0x573b11,_0x43ab32){_0x573b11[_0x43ab32]=0xff&_0x591b04;}function _0x4dbcf2(_0x17b79d,_0x5b1e2c){this['len']=_0x17b79d,this['next']=void 0x0,this['val']=_0x5b1e2c;}function _0x1a2cec(_0x21738b,_0x245454,_0x94675e){for(var _0x310474=_0x21738b['lo'],_0x274bb7=_0x21738b['hi'];_0x274bb7;)_0x245454[_0x94675e++]=0x7f&_0x310474|0x80,_0x310474=(_0x310474>>>0x7|_0x274bb7<<0x19)>>>0x0,_0x274bb7>>>=0x7;for(;_0x310474>0x7f;)_0x245454[_0x94675e++]=0x7f&_0x310474|0x80,_0x310474>>>=0x7;_0x245454[_0x94675e++]=_0x310474;}function _0x2879da(_0x333a97,_0xda8508,_0x43e742){_0xda8508[_0x43e742]=0xff&_0x333a97,_0xda8508[_0x43e742+0x1]=_0x333a97>>>0x8&0xff,_0xda8508[_0x43e742+0x2]=_0x333a97>>>0x10&0xff,_0xda8508[_0x43e742+0x3]=_0x333a97>>>0x18;}_0x27e681['create']=_0x517b57(),_0x27e681['alloc']=function(_0x29e6c2){return new _0x4eefab['Array'](_0x29e6c2);},_0x4eefab['Array']!==Array&&(_0x27e681['alloc']=_0x4eefab['pool'](_0x27e681['alloc'],_0x4eefab['Array']['prototype']['subarray'])),_0x27e681['prototype']['_push']=function(_0x4b4023,_0x452656,_0x4e0c30){return this['tail']=this['tail']['next']=new _0x5eeb62(_0x4b4023,_0x452656,_0x4e0c30),this['len']+=_0x452656,this;},_0x4dbcf2['prototype']=Object['create'](_0x5eeb62['prototype']),_0x4dbcf2['prototype']['fn']=function(_0x47f3bd,_0x1efaf8,_0xf40d93){for(;_0x47f3bd>0x7f;)_0x1efaf8[_0xf40d93++]=0x7f&_0x47f3bd|0x80,_0x47f3bd>>>=0x7;_0x1efaf8[_0xf40d93]=_0x47f3bd;},_0x27e681['prototype']['uint32']=function(_0x2b7282){return this['len']+=(this['tail']=this['tail']['next']=new _0x4dbcf2((_0x2b7282>>>=0x0)<0x80?0x1:_0x2b7282<0x4000?0x2:_0x2b7282<0x200000?0x3:_0x2b7282<0x10000000?0x4:0x5,_0x2b7282))['len'],this;},_0x27e681['prototype']['int32']=function(_0x379ecb){return(_0x379ecb|=0x0)<0x0?this['_push'](_0x1a2cec,0xa,_0x2bb823['fromNumber'](_0x379ecb)):this['uint32'](_0x379ecb);},_0x27e681['prototype']['sint32']=function(_0x4a9eec){return this['uint32']((_0x4a9eec<<0x1^_0x4a9eec>>0x1f)>>>0x0);},_0x27e681['prototype']['uint64']=function(_0xa032fe){var _0x122ba2=_0x2bb823['from'](_0xa032fe);return this['_push'](_0x1a2cec,_0x122ba2['length'](),_0x122ba2);},_0x27e681['prototype']['int64']=_0x27e681['prototype']['uint64'],_0x27e681['prototype']['sint64']=function(_0x21641c){var _0x3fb683=_0x2bb823['from'](_0x21641c)['zzEncode']();return this['_push'](_0x1a2cec,_0x3fb683['length'](),_0x3fb683);},_0x27e681['prototype']['bool']=function(_0x41c3ea){return this['_push'](_0x35d4d4,0x1,_0x41c3ea?0x1:0x0);},_0x27e681['prototype']['fixed32']=function(_0x51c69a){return this['_push'](_0x2879da,0x4,_0x51c69a>>>0x0);},_0x27e681['prototype']['sfixed32']=_0x27e681['prototype']['fixed32'],_0x27e681['prototype']['fixed64']=function(_0x30ec66){var _0xa3a873=_0x2bb823['from'](_0x30ec66);return this['_push'](_0x2879da,0x4,_0xa3a873['lo'])['_push'](_0x2879da,0x4,_0xa3a873['hi']);},_0x27e681['prototype']['sfixed64']=_0x27e681['prototype']['fixed64'],_0x27e681['prototype']['float']=function(_0x3594ac){return this['_push'](_0x4eefab['float']['writeFloatLE'],0x4,_0x3594ac);},_0x27e681['prototype']['double']=function(_0x143226){return this['_push'](_0x4eefab['float']['writeDoubleLE'],0x8,_0x143226);};var _0x50aff7=_0x4eefab['Array']['prototype']['set']?function(_0x3dd7bc,_0x125a38,_0x28d24f){_0x125a38['set'](_0x3dd7bc,_0x28d24f);}:function(_0x44736e,_0x119a5d,_0x176c4e){for(var _0x8c1de4=0x0;_0x8c1de4<_0x44736e['length'];++_0x8c1de4)_0x119a5d[_0x176c4e+_0x8c1de4]=_0x44736e[_0x8c1de4];};_0x27e681['prototype']['bytes']=function(_0x3728bf){var _0x320eff=_0x3728bf['length']>>>0x0;if(!_0x320eff)return this['_push'](_0x35d4d4,0x1,0x0);if(_0x4eefab['isString'](_0x3728bf)){var _0x400b55=_0x27e681['alloc'](_0x320eff=_0x4f7620['length'](_0x3728bf));_0x4f7620['decode'](_0x3728bf,_0x400b55,0x0),_0x3728bf=_0x400b55;}return this['uint32'](_0x320eff)['_push'](_0x50aff7,_0x320eff,_0x3728bf);},_0x27e681['prototype']['string']=function(_0x3c0b56){var _0x4cde97=_0x144c2d['length'](_0x3c0b56);return _0x4cde97?this['uint32'](_0x4cde97)['_push'](_0x144c2d['write'],_0x4cde97,_0x3c0b56):this['_push'](_0x35d4d4,0x1,0x0);},_0x27e681['prototype']['fork']=function(){return this['states']=new _0xfbc657(this),this['head']=this['tail']=new _0x5eeb62(_0x351357,0x0,0x0),this['len']=0x0,this;},_0x27e681['prototype']['reset']=function(){return this['states']?(this['head']=this['states']['head'],this['tail']=this['states']['tail'],this['len']=this['states']['len'],this['states']=this['states']['next']):(this['head']=this['tail']=new _0x5eeb62(_0x351357,0x0,0x0),this['len']=0x0),this;},_0x27e681['prototype']['ldelim']=function(){var _0x56d165=this['head'],_0x31f622=this['tail'],_0x23144c=this['len'];return this['reset']()['uint32'](_0x23144c),_0x23144c&&(this['tail']['next']=_0x56d165['next'],this['tail']=_0x31f622,this['len']+=_0x23144c),this;},_0x27e681['prototype']['finish']=function(){for(var _0x31f6be=this['head']['next'],_0x5ede84=this['constructor']['alloc'](this['len']),_0x39d252=0x0;_0x31f6be;)_0x31f6be['fn'](_0x31f6be['val'],_0x5ede84,_0x39d252),_0x39d252+=_0x31f6be['len'],_0x31f6be=_0x31f6be['next'];return _0x5ede84;},_0x27e681['_configure']=function(_0x558cbd){_0x404e33=_0x558cbd,_0x27e681['create']=_0x517b57(),_0x404e33['_configure']();};}),_0x1fc88d=_0x947326((_0x471f20,_0x162e57)=>{_0x162e57['exports']=_0x3120ec;var _0x2521c1=_0x4d4581();(_0x3120ec['prototype']=Object['create'](_0x2521c1['prototype']))['constructor']=_0x3120ec;var _0x2c097f=_0x329b62();function _0x3120ec(){_0x2521c1['call'](this);}function _0x54180d(_0x5ebdc4,_0x3822a0,_0x45ae38){_0x5ebdc4['length']<0x28?_0x2c097f['utf8']['write'](_0x5ebdc4,_0x3822a0,_0x45ae38):_0x3822a0['utf8Write']?_0x3822a0['utf8Write'](_0x5ebdc4,_0x45ae38):_0x3822a0['write'](_0x5ebdc4,_0x45ae38);}_0x3120ec['_configure']=function(){_0x3120ec['alloc']=_0x2c097f['_Buffer_allocUnsafe'],_0x3120ec['writeBytesBuffer']=_0x2c097f['Buffer']&&_0x2c097f['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x2c097f['Buffer']['prototype']['set']['name']?function(_0x2d1512,_0x2aa268,_0x631560){_0x2aa268['set'](_0x2d1512,_0x631560);}:function(_0x455a74,_0xdcf75f,_0x2849ca){if(_0x455a74['copy'])_0x455a74['copy'](_0xdcf75f,_0x2849ca,0x0,_0x455a74['length']);else{for(var _0x32bead=0x0;_0x32bead<_0x455a74['length'];)_0xdcf75f[_0x2849ca++]=_0x455a74[_0x32bead++];}};},_0x3120ec['prototype']['bytes']=function(_0x3f77ed){_0x2c097f['isString'](_0x3f77ed)&&(_0x3f77ed=_0x2c097f['_Buffer_from'](_0x3f77ed,'base64'));var _0x2ddc5a=_0x3f77ed['length']>>>0x0;return this['uint32'](_0x2ddc5a),_0x2ddc5a&&this['_push'](_0x3120ec['writeBytesBuffer'],_0x2ddc5a,_0x3f77ed),this;},_0x3120ec['prototype']['string']=function(_0x5578b0){var _0x1f6e39=_0x2c097f['Buffer']['byteLength'](_0x5578b0);return this['uint32'](_0x1f6e39),_0x1f6e39&&this['_push'](_0x54180d,_0x1f6e39,_0x5578b0),this;},_0x3120ec['_configure']();}),_0x1e4370=_0x947326((_0x45881d,_0x4bb3c8)=>{_0x4bb3c8['exports']=_0x43c04c;var _0x776303,_0xa72f06=_0x329b62(),_0x280171=_0xa72f06['LongBits'],_0x2c78ac=_0xa72f06['utf8'];function _0xac9813(_0x1b38f,_0x4e0400){return RangeError('index\x20out\x20of\x20range:\x20'+_0x1b38f['pos']+'\x20+\x20'+(_0x4e0400||0x1)+'\x20>\x20'+_0x1b38f['len']);}function _0x43c04c(_0x379c51){this['buf']=_0x379c51,this['pos']=0x0,this['len']=_0x379c51['length'];}var _0x5dc07d='undefined'!=typeof Uint8Array?function(_0x1f36d9){if(_0x1f36d9 instanceof Uint8Array||Array['isArray'](_0x1f36d9))return new _0x43c04c(_0x1f36d9);throw Error('illegal\x20buffer');}:function(_0x5caafb){if(Array['isArray'](_0x5caafb))return new _0x43c04c(_0x5caafb);throw Error('illegal\x20buffer');},_0x63e813=function(){return _0xa72f06['Buffer']?function(_0x393dfe){return(_0x43c04c['create']=function(_0x278a43){return _0xa72f06['Buffer']['isBuffer'](_0x278a43)?new _0x776303(_0x278a43):_0x5dc07d(_0x278a43);})(_0x393dfe);}:_0x5dc07d;};function _0x3c9a09(){var _0x28e7b9=new _0x280171(0x0,0x0),_0xe2ea05=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0xe2ea05<0x3;++_0xe2ea05){if(this['pos']>=this['len'])throw _0xac9813(this);if(_0x28e7b9['lo']=(_0x28e7b9['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0xe2ea05)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x28e7b9;}return _0x28e7b9['lo']=(_0x28e7b9['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0xe2ea05)>>>0x0,_0x28e7b9;}for(;_0xe2ea05<0x4;++_0xe2ea05)if(_0x28e7b9['lo']=(_0x28e7b9['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0xe2ea05)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x28e7b9;if(_0x28e7b9['lo']=(_0x28e7b9['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x28e7b9['hi']=(_0x28e7b9['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x28e7b9;if(_0xe2ea05=0x0,this['len']-this['pos']>0x4){for(;_0xe2ea05<0x5;++_0xe2ea05)if(_0x28e7b9['hi']=(_0x28e7b9['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0xe2ea05+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x28e7b9;}else for(;_0xe2ea05<0x5;++_0xe2ea05){if(this['pos']>=this['len'])throw _0xac9813(this);if(_0x28e7b9['hi']=(_0x28e7b9['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0xe2ea05+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x28e7b9;}throw Error('invalid\x20varint\x20encoding');}function _0x36b5ac(_0x2caaeb,_0x216847){return(_0x2caaeb[_0x216847-0x4]|_0x2caaeb[_0x216847-0x3]<<0x8|_0x2caaeb[_0x216847-0x2]<<0x10|_0x2caaeb[_0x216847-0x1]<<0x18)>>>0x0;}function _0x230319(){if(this['pos']+0x8>this['len'])throw _0xac9813(this,0x8);return new _0x280171(_0x36b5ac(this['buf'],this['pos']+=0x4),_0x36b5ac(this['buf'],this['pos']+=0x4));}_0x43c04c['create']=_0x63e813(),_0x43c04c['prototype']['_slice']=_0xa72f06['Array']['prototype']['subarray']||_0xa72f06['Array']['prototype']['slice'],_0x43c04c['prototype']['uint32']=(function(){var _0x14288e=0xffffffff;return function(){if(_0x14288e=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x14288e;if(_0x14288e=(_0x14288e|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x14288e;if(_0x14288e=(_0x14288e|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x14288e;if(_0x14288e=(_0x14288e|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x14288e;if(_0x14288e=(_0x14288e|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x14288e;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0xac9813(this,0xa);return _0x14288e;};}()),_0x43c04c['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x43c04c['prototype']['sint32']=function(){var _0x24616e=this['uint32']();return _0x24616e>>>0x1^-(0x1&_0x24616e);},_0x43c04c['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x43c04c['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0xac9813(this,0x4);return _0x36b5ac(this['buf'],this['pos']+=0x4);},_0x43c04c['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0xac9813(this,0x4);return 0x0|_0x36b5ac(this['buf'],this['pos']+=0x4);},_0x43c04c['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0xac9813(this,0x4);var _0x1184fa=_0xa72f06['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x1184fa;},_0x43c04c['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0xac9813(this,0x4);var _0x46d185=_0xa72f06['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x46d185;},_0x43c04c['prototype']['bytes']=function(){var _0x4f3b35=this['uint32'](),_0xb03d3e=this['pos'],_0x4fa1fd=this['pos']+_0x4f3b35;if(_0x4fa1fd>this['len'])throw _0xac9813(this,_0x4f3b35);if(this['pos']+=_0x4f3b35,Array['isArray'](this['buf']))return this['buf']['slice'](_0xb03d3e,_0x4fa1fd);if(_0xb03d3e===_0x4fa1fd){var _0x4bc45a=_0xa72f06['Buffer'];return _0x4bc45a?_0x4bc45a['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0xb03d3e,_0x4fa1fd);},_0x43c04c['prototype']['string']=function(){var _0x2411ef=this['bytes']();return _0x2c78ac['read'](_0x2411ef,0x0,_0x2411ef['length']);},_0x43c04c['prototype']['skip']=function(_0x24c44f){if('number'==typeof _0x24c44f){if(this['pos']+_0x24c44f>this['len'])throw _0xac9813(this,_0x24c44f);this['pos']+=_0x24c44f;}else do{if(this['pos']>=this['len'])throw _0xac9813(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x43c04c['recursionLimit']=_0xa72f06['recursionLimit'],_0x43c04c['prototype']['skipType']=function(_0x3bac44,_0x55e2d1){if(void 0x0===_0x55e2d1&&(_0x55e2d1=0x0),_0x55e2d1>_0x43c04c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x3bac44){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x3bac44=0x7&this['uint32']());)this['skipType'](_0x3bac44,_0x55e2d1+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x3bac44+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x43c04c['_configure']=function(_0x2f147a){_0x776303=_0x2f147a,_0x43c04c['create']=_0x63e813(),_0x776303['_configure']();var _0x3c026c=_0xa72f06['Long']?'toLong':'toNumber';_0xa72f06['merge'](_0x43c04c['prototype'],{'int64':function(){return _0x3c9a09['call'](this)[_0x3c026c](!0x1);},'uint64':function(){return _0x3c9a09['call'](this)[_0x3c026c](!0x0);},'sint64':function(){return _0x3c9a09['call'](this)['zzDecode']()[_0x3c026c](!0x1);},'fixed64':function(){return _0x230319['call'](this)[_0x3c026c](!0x0);},'sfixed64':function(){return _0x230319['call'](this)[_0x3c026c](!0x1);}});};}),_0x2a04b2=_0x947326((_0x16c986,_0x408716)=>{_0x408716['exports']=_0x3ab4e1;var _0x4b66d9=_0x1e4370();(_0x3ab4e1['prototype']=Object['create'](_0x4b66d9['prototype']))['constructor']=_0x3ab4e1;var _0x339512=_0x329b62();function _0x3ab4e1(_0x139d93){_0x4b66d9['call'](this,_0x139d93);}_0x3ab4e1['_configure']=function(){_0x339512['Buffer']&&(_0x3ab4e1['prototype']['_slice']=_0x339512['Buffer']['prototype']['slice']);},_0x3ab4e1['prototype']['string']=function(){var _0x2d4f06=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x2d4f06,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x2d4f06,this['len']));},_0x3ab4e1['_configure']();}),_0x38db78=_0x947326((_0xb2ee22,_0x538580)=>{_0x538580['exports']=_0x51f70a;var _0x35a85a=_0x329b62();function _0x51f70a(_0x284025,_0x2e9ade,_0x56b419){if('function'!=typeof _0x284025)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x35a85a['EventEmitter']['call'](this),this['rpcImpl']=_0x284025,this['requestDelimited']=Boolean(_0x2e9ade),this['responseDelimited']=Boolean(_0x56b419);}(_0x51f70a['prototype']=Object['create'](_0x35a85a['EventEmitter']['prototype']))['constructor']=_0x51f70a,_0x51f70a['prototype']['rpcCall']=function _0x58fc49(_0xe6eed8,_0x4b085d,_0x1faed7,_0xea0123,_0x59b4a3){if(!_0xea0123)throw TypeError('request\x20must\x20be\x20specified');var _0x18a796=this;if(!_0x59b4a3)return _0x35a85a['asPromise'](_0x58fc49,_0x18a796,_0xe6eed8,_0x4b085d,_0x1faed7,_0xea0123);if(_0x18a796['rpcImpl'])try{return _0x18a796['rpcImpl'](_0xe6eed8,_0x4b085d[_0x18a796['requestDelimited']?'encodeDelimited':'encode'](_0xea0123)['finish'](),function(_0x426692,_0x2717b2){if(_0x426692)return _0x18a796['emit']('error',_0x426692,_0xe6eed8),_0x59b4a3(_0x426692);if(null!==_0x2717b2){if(!(_0x2717b2 instanceof _0x1faed7))try{_0x2717b2=_0x1faed7[_0x18a796['responseDelimited']?'decodeDelimited':'decode'](_0x2717b2);}catch(_0x29d70f){return _0x18a796['emit']('error',_0x29d70f,_0xe6eed8),_0x59b4a3(_0x29d70f);}return _0x18a796['emit']('data',_0x2717b2,_0xe6eed8),_0x59b4a3(null,_0x2717b2);}_0x18a796['end'](!0x0);});}catch(_0x3a6eec){return _0x18a796['emit']('error',_0x3a6eec,_0xe6eed8),void setTimeout(function(){_0x59b4a3(_0x3a6eec);},0x0);}else setTimeout(function(){_0x59b4a3(Error('already\x20ended'));},0x0);},_0x51f70a['prototype']['end']=function(_0x248fed){return this['rpcImpl']&&(_0x248fed||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;};}),_0x491afc=_0x947326(_0x31cc73=>{_0x31cc73['Service']=_0x38db78();}),_0x1111ce=_0x947326((_0x10055a,_0x31b802)=>{_0x31b802['exports']=Object['create'](null);}),_0x5b411c=_0x947326(_0xb557ee=>{var _0x101347=_0xb557ee;function _0x3e8897(){_0x101347['util']['_configure'](),_0x101347['Writer']['_configure'](_0x101347['BufferWriter']),_0x101347['Reader']['_configure'](_0x101347['BufferReader']);}_0x101347['build']='minimal',_0x101347['Writer']=_0x4d4581(),_0x101347['BufferWriter']=_0x1fc88d(),_0x101347['Reader']=_0x1e4370(),_0x101347['BufferReader']=_0x2a04b2(),_0x101347['util']=_0x329b62(),_0x101347['rpc']=_0x491afc(),_0x101347['roots']=_0x1111ce(),_0x101347['configure']=_0x3e8897,_0x3e8897();}),_0x2a7f4f=_0x5e0457(_0x947326((_0x29e093,_0x25ada2)=>{_0x25ada2['exports']=_0x5b411c();})(),0x1);const _0x4ebe98=Object['create'](null);_0x4ebe98['open']='0',_0x4ebe98['close']='1',_0x4ebe98['ping']='2',_0x4ebe98['pong']='3',_0x4ebe98['message']='4',_0x4ebe98['upgrade']='5',_0x4ebe98['noop']='6';const _0x1bd183=Object['create'](null);Object['keys'](_0x4ebe98)['forEach'](_0x231dfe=>{_0x1bd183[_0x4ebe98[_0x231dfe]]=_0x231dfe;});const _0x40e9e5={'type':'error','data':'parser\x20error'},_0x3d224a='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),_0x14bf44='function'==typeof ArrayBuffer,_0x26c2e1=_0x2d093a=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x2d093a):_0x2d093a&&_0x2d093a['buffer']instanceof ArrayBuffer,_0x12b594=({type:_0x27b1b3,data:_0xd754a0},_0x4d6704,_0x1f2de6)=>_0x3d224a&&_0xd754a0 instanceof Blob?_0x4d6704?_0x1f2de6(_0xd754a0):_0x5b2ba8(_0xd754a0,_0x1f2de6):_0x14bf44&&(_0xd754a0 instanceof ArrayBuffer||_0x26c2e1(_0xd754a0))?_0x4d6704?_0x1f2de6(_0xd754a0):_0x5b2ba8(new Blob([_0xd754a0]),_0x1f2de6):_0x1f2de6(_0x4ebe98[_0x27b1b3]+(_0xd754a0||'')),_0x5b2ba8=(_0x4acaad,_0x2efb15)=>{const _0x549639=new FileReader();return _0x549639['onload']=function(){const _0x37f05f=_0x549639['result']['split'](',')[0x1];_0x2efb15('b'+(_0x37f05f||''));},_0x549639['readAsDataURL'](_0x4acaad);};function _0x58d7f6(_0x2d525e){return _0x2d525e instanceof Uint8Array?_0x2d525e:_0x2d525e instanceof ArrayBuffer?new Uint8Array(_0x2d525e):new Uint8Array(_0x2d525e['buffer'],_0x2d525e['byteOffset'],_0x2d525e['byteLength']);}let _0x57f38e;const _0x5c8672='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x58ae33=0x0;_0x58ae33<0x40;_0x58ae33++)_0x5c8672['ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'['charCodeAt'](_0x58ae33)]=_0x58ae33;const _0xd7bcac='function'==typeof ArrayBuffer,_0x2348e9=(_0x3f8e1b,_0x5702c6)=>{if('string'!=typeof _0x3f8e1b)return{'type':'message','data':_0x39424d(_0x3f8e1b,_0x5702c6)};const _0x5bfab2=_0x3f8e1b['charAt'](0x0);return'b'===_0x5bfab2?{'type':'message','data':_0x251671(_0x3f8e1b['substring'](0x1),_0x5702c6)}:_0x1bd183[_0x5bfab2]?_0x3f8e1b['length']>0x1?{'type':_0x1bd183[_0x5bfab2],'data':_0x3f8e1b['substring'](0x1)}:{'type':_0x1bd183[_0x5bfab2]}:_0x40e9e5;},_0x251671=(_0xedd2a4,_0x25c388)=>{if(_0xd7bcac){const _0x177e42=(_0x31910b=>{let _0x2888ff,_0x5d9a1a,_0x325f6a,_0x267012,_0x3e0e57,_0x173f8f=0.75*_0x31910b['length'],_0x111352=_0x31910b['length'],_0x3aa137=0x0;'='===_0x31910b[_0x31910b['length']-0x1]&&(_0x173f8f--,'='===_0x31910b[_0x31910b['length']-0x2]&&_0x173f8f--);const _0x53c76d=new ArrayBuffer(_0x173f8f),_0x40bace=new Uint8Array(_0x53c76d);for(_0x2888ff=0x0;_0x2888ff<_0x111352;_0x2888ff+=0x4)_0x5d9a1a=_0x5c8672[_0x31910b['charCodeAt'](_0x2888ff)],_0x325f6a=_0x5c8672[_0x31910b['charCodeAt'](_0x2888ff+0x1)],_0x267012=_0x5c8672[_0x31910b['charCodeAt'](_0x2888ff+0x2)],_0x3e0e57=_0x5c8672[_0x31910b['charCodeAt'](_0x2888ff+0x3)],_0x40bace[_0x3aa137++]=_0x5d9a1a<<0x2|_0x325f6a>>0x4,_0x40bace[_0x3aa137++]=(0xf&_0x325f6a)<<0x4|_0x267012>>0x2,_0x40bace[_0x3aa137++]=(0x3&_0x267012)<<0x6|0x3f&_0x3e0e57;return _0x53c76d;})(_0xedd2a4);return _0x39424d(_0x177e42,_0x25c388);}return{'base64':!0x0,'data':_0xedd2a4};},_0x39424d=(_0x38c1e8,_0x573cb4)=>'blob'===_0x573cb4?_0x38c1e8 instanceof Blob?_0x38c1e8:new Blob([_0x38c1e8]):_0x38c1e8 instanceof ArrayBuffer?_0x38c1e8:_0x38c1e8['buffer'],_0x240e6e=String['fromCharCode'](0x1e);function _0x12eb0b(){return new TransformStream({'transform'(_0x1cb130,_0x21433c){!function(_0x358e6f,_0x5ae5f2){_0x3d224a&&_0x358e6f['data']instanceof Blob?_0x358e6f['data']['arrayBuffer']()['then'](_0x58d7f6)['then'](_0x5ae5f2):_0x14bf44&&(_0x358e6f['data']instanceof ArrayBuffer||_0x26c2e1(_0x358e6f['data']))?_0x5ae5f2(_0x58d7f6(_0x358e6f['data'])):_0x12b594(_0x358e6f,!0x1,_0x592ae8=>{_0x57f38e||(_0x57f38e=new TextEncoder()),_0x5ae5f2(_0x57f38e['encode'](_0x592ae8));});}(_0x1cb130,_0x32e112=>{const _0x1455e5=_0x32e112['length'];let _0x61140a;if(_0x1455e5<0x7e)_0x61140a=new Uint8Array(0x1),new DataView(_0x61140a['buffer'])['setUint8'](0x0,_0x1455e5);else{if(_0x1455e5<0x10000){_0x61140a=new Uint8Array(0x3);const _0x85a6a5=new DataView(_0x61140a['buffer']);_0x85a6a5['setUint8'](0x0,0x7e),_0x85a6a5['setUint16'](0x1,_0x1455e5);}else{_0x61140a=new Uint8Array(0x9);const _0x22b9e9=new DataView(_0x61140a['buffer']);_0x22b9e9['setUint8'](0x0,0x7f),_0x22b9e9['setBigUint64'](0x1,BigInt(_0x1455e5));}}_0x1cb130['data']&&'string'!=typeof _0x1cb130['data']&&(_0x61140a[0x0]|=0x80),_0x21433c['enqueue'](_0x61140a),_0x21433c['enqueue'](_0x32e112);});}});}let _0x329eee;function _0x3e1af7(_0x5883f2){return _0x5883f2['reduce']((_0x504c8b,_0x3b7b2c)=>_0x504c8b+_0x3b7b2c['length'],0x0);}function _0x2f9f58(_0x397f25,_0x165620){if(_0x397f25[0x0]['length']===_0x165620)return _0x397f25['shift']();const _0x5e0bbe=new Uint8Array(_0x165620);let _0xdd2884=0x0;for(let _0x11dd44=0x0;_0x11dd44<_0x165620;_0x11dd44++)_0x5e0bbe[_0x11dd44]=_0x397f25[0x0][_0xdd2884++],_0xdd2884===_0x397f25[0x0]['length']&&(_0x397f25['shift'](),_0xdd2884=0x0);return _0x397f25['length']&&_0xdd2884<_0x397f25[0x0]['length']&&(_0x397f25[0x0]=_0x397f25[0x0]['slice'](_0xdd2884)),_0x5e0bbe;}function _0xa002d4(_0x860de6){if(_0x860de6)return function(_0x44277c){for(var _0x538dce in _0xa002d4['prototype'])_0x44277c[_0x538dce]=_0xa002d4['prototype'][_0x538dce];return _0x44277c;}(_0x860de6);}_0xa002d4['prototype']['on']=_0xa002d4['prototype']['addEventListener']=function(_0xd4ba7a,_0x397b90){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0xd4ba7a]=this['_callbacks']['$'+_0xd4ba7a]||[])['push'](_0x397b90),this;},_0xa002d4['prototype']['once']=function(_0x4cb3d4,_0x14b8c9){function _0x36f357(){this['off'](_0x4cb3d4,_0x36f357),_0x14b8c9['apply'](this,arguments);}return _0x36f357['fn']=_0x14b8c9,this['on'](_0x4cb3d4,_0x36f357),this;},_0xa002d4['prototype']['off']=_0xa002d4['prototype']['removeListener']=_0xa002d4['prototype']['removeAllListeners']=_0xa002d4['prototype']['removeEventListener']=function(_0xf6e24f,_0x2b44e3){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0xd8fb,_0x31a1a6=this['_callbacks']['$'+_0xf6e24f];if(!_0x31a1a6)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0xf6e24f],this;for(var _0x2f3147=0x0;_0x2f3147<_0x31a1a6['length'];_0x2f3147++)if((_0xd8fb=_0x31a1a6[_0x2f3147])===_0x2b44e3||_0xd8fb['fn']===_0x2b44e3){_0x31a1a6['splice'](_0x2f3147,0x1);break;}return 0x0===_0x31a1a6['length']&&delete this['_callbacks']['$'+_0xf6e24f],this;},_0xa002d4['prototype']['emit']=function(_0xee0dc0){this['_callbacks']=this['_callbacks']||{};for(var _0x3ca1d2=new Array(arguments['length']-0x1),_0x5b8aa2=this['_callbacks']['$'+_0xee0dc0],_0x4ff115=0x1;_0x4ff115<arguments['length'];_0x4ff115++)_0x3ca1d2[_0x4ff115-0x1]=arguments[_0x4ff115];if(_0x5b8aa2){_0x4ff115=0x0;for(var _0x3c0555=(_0x5b8aa2=_0x5b8aa2['slice'](0x0))['length'];_0x4ff115<_0x3c0555;++_0x4ff115)_0x5b8aa2[_0x4ff115]['apply'](this,_0x3ca1d2);}return this;},_0xa002d4['prototype']['emitReserved']=_0xa002d4['prototype']['emit'],_0xa002d4['prototype']['listeners']=function(_0x4a1383){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x4a1383]||[];},_0xa002d4['prototype']['hasListeners']=function(_0x4e627e){return!!this['listeners'](_0x4e627e)['length'];};const _0x3641c6='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x4a7a6d=>Promise['resolve']()['then'](_0x4a7a6d):(_0x2feeb0,_0x2adc80)=>_0x2adc80(_0x2feeb0,0x0),_0x161b94='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x8faf3a(_0x504bcc,..._0x5b7e96){return _0x5b7e96['reduce']((_0x8f654b,_0x5a0e88)=>(_0x504bcc['hasOwnProperty'](_0x5a0e88)&&(_0x8f654b[_0x5a0e88]=_0x504bcc[_0x5a0e88]),_0x8f654b),{});}const _0x2119b0=_0x161b94['setTimeout'],_0x3569dd=_0x161b94['clearTimeout'];function _0x1395f0(_0x378ec6,_0x334976){_0x334976['useNativeTimers']?(_0x378ec6['setTimeoutFn']=_0x2119b0['bind'](_0x161b94),_0x378ec6['clearTimeoutFn']=_0x3569dd['bind'](_0x161b94)):(_0x378ec6['setTimeoutFn']=_0x161b94['setTimeout']['bind'](_0x161b94),_0x378ec6['clearTimeoutFn']=_0x161b94['clearTimeout']['bind'](_0x161b94));}function _0x38e390(_0x267eb4){return'string'==typeof _0x267eb4?function(_0x316427){let _0x1335f2=0x0,_0x17c38d=0x0;for(let _0x566124=0x0,_0x1452a8=_0x316427['length'];_0x566124<_0x1452a8;_0x566124++)_0x1335f2=_0x316427['charCodeAt'](_0x566124),_0x1335f2<0x80?_0x17c38d+=0x1:_0x1335f2<0x800?_0x17c38d+=0x2:_0x1335f2<0xd800||_0x1335f2>=0xe000?_0x17c38d+=0x3:(_0x566124++,_0x17c38d+=0x4);return _0x17c38d;}(_0x267eb4):Math['ceil'](1.33*(_0x267eb4['byteLength']||_0x267eb4['size']));}function _0xfa8d8(){return Date['now']()['toString'](0x24)['substring'](0x3)+Math['random']()['toString'](0x24)['substring'](0x2,0x5);}var _0x3c06be=class extends Error{constructor(_0x52e0e2,_0x306325,_0x25c2fc){super(_0x52e0e2),this['description']=_0x306325,this['context']=_0x25c2fc,this['type']='TransportError';}},_0x490e2a=class extends _0xa002d4{constructor(_0x4747e2){super(),this['writable']=!0x1,_0x1395f0(this,_0x4747e2),this['opts']=_0x4747e2,this['query']=_0x4747e2['query'],this['socket']=_0x4747e2['socket'],this['supportsBinary']=!_0x4747e2['forceBase64'];}['onError'](_0x1302d9,_0x555cfc,_0x46dd7d){return super['emitReserved']('error',new _0x3c06be(_0x1302d9,_0x555cfc,_0x46dd7d)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x1a453a){'open'===this['readyState']&&this['write'](_0x1a453a);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}onData(_0x2fb13c){const _0x143bd0=_0x2348e9(_0x2fb13c,this['socket']['binaryType']);this['onPacket'](_0x143bd0);}onPacket(_0x257d4c){super['emitReserved']('packet',_0x257d4c);}['onClose'](_0x58362d){this['readyState']='closed',super['emitReserved']('close',_0x58362d);}['pause'](_0x33618f){}createUri(_0x4a76c1,_0x2335e4={}){return _0x4a76c1+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x2335e4);}_hostname(){const _0x5c3cf3=this['opts']['hostname'];return-0x1===_0x5c3cf3['indexOf'](':')?_0x5c3cf3:'['+_0x5c3cf3+']';}_port(){return this['opts']['port']&&(this['opts']['secure']&&0x1bb!==Number(this['opts']['port'])||!this['opts']['secure']&&0x50!==Number(this['opts']['port']))?':'+this['opts']['port']:'';}['_query'](_0x1ca491){const _0x2e959b=function(_0x43446f){let _0x16b289='';for(let _0x5dedf8 in _0x43446f)_0x43446f['hasOwnProperty'](_0x5dedf8)&&(_0x16b289['length']&&(_0x16b289+='&'),_0x16b289+=encodeURIComponent(_0x5dedf8)+'='+encodeURIComponent(_0x43446f[_0x5dedf8]));return _0x16b289;}(_0x1ca491);return _0x2e959b['length']?'?'+_0x2e959b:'';}},_0x3ef146=class extends _0x490e2a{constructor(){super(...arguments),this['_polling']=!0x1;}get['name'](){return'polling';}['doOpen'](){this['_poll']();}['pause'](_0x178a05){this['readyState']='pausing';const _0x6e3d65=()=>{this['readyState']='paused',_0x178a05();};if(this['_polling']||!this['writable']){let _0xe181db=0x0;this['_polling']&&(_0xe181db++,this['once']('pollComplete',function(){--_0xe181db||_0x6e3d65();})),this['writable']||(_0xe181db++,this['once']('drain',function(){--_0xe181db||_0x6e3d65();}));}else _0x6e3d65();}['_poll'](){this['_polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}onData(_0x42b3a1){((_0x1d8baf,_0x549cec)=>{const _0x264e07=_0x1d8baf['split'](_0x240e6e),_0x2dd271=[];for(let _0x17ecbc=0x0;_0x17ecbc<_0x264e07['length'];_0x17ecbc++){const _0x5f01fc=_0x2348e9(_0x264e07[_0x17ecbc],_0x549cec);if(_0x2dd271['push'](_0x5f01fc),'error'===_0x5f01fc['type'])break;}return _0x2dd271;})(_0x42b3a1,this['socket']['binaryType'])['forEach'](_0x2cbc5e=>{if('opening'===this['readyState']&&'open'===_0x2cbc5e['type']&&this['onOpen'](),'close'===_0x2cbc5e['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x2cbc5e);}),'closed'!==this['readyState']&&(this['_polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['_poll']());}['doClose'](){const _0x51b94e=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x51b94e():this['once']('open',_0x51b94e);}write(_0x323be8){this['writable']=!0x1,((_0x49c8fe,_0x4b8fb8)=>{const _0x438da5=_0x49c8fe['length'],_0x4cca90=new Array(_0x438da5);let _0x5daae3=0x0;_0x49c8fe['forEach']((_0x28592e,_0x4543bd)=>{_0x12b594(_0x28592e,!0x1,_0x3f28cb=>{_0x4cca90[_0x4543bd]=_0x3f28cb,++_0x5daae3===_0x438da5&&_0x4b8fb8(_0x4cca90['join'](_0x240e6e));});});})(_0x323be8,_0x2d9a12=>{this['doWrite'](_0x2d9a12,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x1412b2=this['opts']['secure']?'https':'http',_0x5de588=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x5de588[this['opts']['timestampParam']]=_0xfa8d8()),this['supportsBinary']||_0x5de588['sid']||(_0x5de588['b64']=0x1),this['createUri'](_0x1412b2,_0x5de588);}};let _0x3f93b6=!0x1;try{_0x3f93b6='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x595031){}const _0x4d0d8f=_0x3f93b6;function _0x572206(){}var _0x4b2779=class extends _0x3ef146{constructor(_0x237b72){if(super(_0x237b72),'undefined'!=typeof location){const _0x2f3da4='https:'===location['protocol'];let _0x3fe5db=location['port'];_0x3fe5db||(_0x3fe5db=_0x2f3da4?'443':'80'),this['xd']='undefined'!=typeof location&&_0x237b72['hostname']!==location['hostname']||_0x3fe5db!==_0x237b72['port'];}}doWrite(_0x3d0286,_0x44c232){const _0x5d0eb0=this['request']({'method':'POST','data':_0x3d0286});_0x5d0eb0['on']('success',_0x44c232),_0x5d0eb0['on']('error',(_0x40b672,_0x4fc571)=>{this['onError']('xhr\x20post\x20error',_0x40b672,_0x4fc571);});}['doPoll'](){const _0x179c12=this['request']();_0x179c12['on']('data',this['onData']['bind'](this)),_0x179c12['on']('error',(_0x17b2c7,_0x52adea)=>{this['onError']('xhr\x20poll\x20error',_0x17b2c7,_0x52adea);}),this['pollXhr']=_0x179c12;}},_0x35a4f4=class Request extends _0xa002d4{constructor(_0x3c8132,_0x5245df,_0x371027){super(),this['createRequest']=_0x3c8132,_0x1395f0(this,_0x371027),this['_opts']=_0x371027,this['_method']=_0x371027['method']||'GET',this['_uri']=_0x5245df,this['_data']=void 0x0!==_0x371027['data']?_0x371027['data']:null,this['_create']();}_create(){var _0x1ef269;const _0x14f455=_0x8faf3a(this['_opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x14f455['xdomain']=!!this['_opts']['xd'];const _0x49b443=this['_xhr']=this['createRequest'](_0x14f455);try{_0x49b443['open'](this['_method'],this['_uri'],!0x0);try{if(this['_opts']['extraHeaders']){_0x49b443['setDisableHeaderCheck']&&_0x49b443['setDisableHeaderCheck'](!0x0);for(let _0x3b7f87 in this['_opts']['extraHeaders'])this['_opts']['extraHeaders']['hasOwnProperty'](_0x3b7f87)&&_0x49b443['setRequestHeader'](_0x3b7f87,this['_opts']['extraHeaders'][_0x3b7f87]);}}catch(_0x2d3233){}if('POST'===this['_method'])try{_0x49b443['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x2f7222){}try{_0x49b443['setRequestHeader']('Accept','*/*');}catch(_0x5ac33b){}null===(_0x1ef269=this['_opts']['cookieJar'])||void 0x0===_0x1ef269||_0x1ef269['addCookies'](_0x49b443),'withCredentials'in _0x49b443&&(_0x49b443['withCredentials']=this['_opts']['withCredentials']),this['_opts']['requestTimeout']&&(_0x49b443['timeout']=this['_opts']['requestTimeout']),_0x49b443['onreadystatechange']=()=>{var _0x2ad004;0x3===_0x49b443['readyState']&&(null===(_0x2ad004=this['_opts']['cookieJar'])||void 0x0===_0x2ad004||_0x2ad004['parseCookies'](_0x49b443['getResponseHeader']('set-cookie'))),0x4===_0x49b443['readyState']&&(0xc8===_0x49b443['status']||0x4c7===_0x49b443['status']?this['_onLoad']():this['setTimeoutFn'](()=>{this['_onError']('number'==typeof _0x49b443['status']?_0x49b443['status']:0x0);},0x0));},_0x49b443['send'](this['_data']);}catch(_0x2dfb1e){return void this['setTimeoutFn'](()=>{this['_onError'](_0x2dfb1e);},0x0);}'undefined'!=typeof document&&(this['_index']=Request['requestsCount']++,Request['requests'][this['_index']]=this);}['_onError'](_0x52eee4){this['emitReserved']('error',_0x52eee4,this['_xhr']),this['_cleanup'](!0x0);}['_cleanup'](_0x7555ae){if(void 0x0!==this['_xhr']&&null!==this['_xhr']){if(this['_xhr']['onreadystatechange']=_0x572206,_0x7555ae)try{this['_xhr']['abort']();}catch(_0x10398c){}'undefined'!=typeof document&&delete Request['requests'][this['_index']],this['_xhr']=null;}}['_onLoad'](){const _0x4b3c1c=this['_xhr']['responseText'];null!==_0x4b3c1c&&(this['emitReserved']('data',_0x4b3c1c),this['emitReserved']('success'),this['_cleanup']());}abort(){this['_cleanup']();}};if(_0x35a4f4['requestsCount']=0x0,_0x35a4f4['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x5342b4);else'function'==typeof addEventListener&&addEventListener('onpagehide'in _0x161b94?'pagehide':'unload',_0x5342b4,!0x1);}function _0x5342b4(){for(let _0x246f94 in _0x35a4f4['requests'])_0x35a4f4['requests']['hasOwnProperty'](_0x246f94)&&_0x35a4f4['requests'][_0x246f94]['abort']();}const _0x2e10f5=(function(){const _0x5bc7b1=_0x1eb012({'xdomain':!0x1});return _0x5bc7b1&&null!==_0x5bc7b1['responseType'];}());function _0x1eb012(_0x1fe03d){const _0x4f38e4=_0x1fe03d['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x4f38e4||_0x4d0d8f))return new XMLHttpRequest();}catch(_0x1e30fc){}if(!_0x4f38e4)try{return new _0x161b94[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x318dfa){}}const _0x3cf347='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();var _0x559e32=class extends _0x490e2a{get['name'](){return'websocket';}['doOpen'](){const _0x186fcc=this['uri'](),_0x4750b3=this['opts']['protocols'],_0x40f904=_0x3cf347?{}:_0x8faf3a(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x40f904['headers']=this['opts']['extraHeaders']);try{this['ws']=this['createSocket'](_0x186fcc,_0x4750b3,_0x40f904);}catch(_0x2c977a){return this['emitReserved']('error',_0x2c977a);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}addEventListeners(){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x6c17bb=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x6c17bb}),this['ws']['onmessage']=_0x239282=>this['onData'](_0x239282['data']),this['ws']['onerror']=_0x51fea3=>this['onError']('websocket\x20error',_0x51fea3);}write(_0x26eca3){this['writable']=!0x1;for(let _0x244998=0x0;_0x244998<_0x26eca3['length'];_0x244998++){const _0x1f4648=_0x26eca3[_0x244998],_0x159a81=_0x244998===_0x26eca3['length']-0x1;_0x12b594(_0x1f4648,this['supportsBinary'],_0x52f0b4=>{try{this['doWrite'](_0x1f4648,_0x52f0b4);}catch(_0x354473){}_0x159a81&&_0x3641c6(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['onerror']=()=>{},this['ws']['close'](),this['ws']=null);}['uri'](){const _0x216f0e=this['opts']['secure']?'wss':'ws',_0x457bee=this['query']||{};return this['opts']['timestampRequests']&&(_0x457bee[this['opts']['timestampParam']]=_0xfa8d8()),this['supportsBinary']||(_0x457bee['b64']=0x1),this['createUri'](_0x216f0e,_0x457bee);}};const _0x56e5ab=_0x161b94['WebSocket']||_0x161b94['MozWebSocket'],t_={'websocket':class extends _0x559e32{createSocket(_0x1efc3c,_0x560f0a,_0x4284c3){return _0x3cf347?new _0x56e5ab(_0x1efc3c,_0x560f0a,_0x4284c3):_0x560f0a?new _0x56e5ab(_0x1efc3c,_0x560f0a):new _0x56e5ab(_0x1efc3c);}doWrite(_0x3a54bd,_0x345340){this['ws']['send'](_0x345340);}},'webtransport':class extends _0x490e2a{get['name'](){return'webtransport';}['doOpen'](){try{this['_transport']=new WebTransport(this['createUri']('https'),this['opts']['transportOptions'][this['name']]);}catch(_0x1624e4){return this['emitReserved']('error',_0x1624e4);}this['_transport']['closed']['then'](()=>{this['onClose']();})['catch'](_0x5433ab=>{this['onError']('webtransport\x20error',_0x5433ab);}),this['_transport']['ready']['then'](()=>{this['_transport']['createBidirectionalStream']()['then'](_0x486228=>{const _0x37040f=function(_0x4f1bf6,_0x2aba11){_0x329eee||(_0x329eee=new TextDecoder());const _0x574762=[];let _0x7d7c75=0x0,_0xecac56=-0x1,_0x1d439f=!0x1;return new TransformStream({'transform'(_0x4e3be4,_0x5529df){for(_0x574762['push'](_0x4e3be4);;){if(0x0===_0x7d7c75){if(_0x3e1af7(_0x574762)<0x1)break;const _0x317c7d=_0x2f9f58(_0x574762,0x1);_0x1d439f=!(0x80&~_0x317c7d[0x0]),_0xecac56=0x7f&_0x317c7d[0x0],_0x7d7c75=_0xecac56<0x7e?0x3:0x7e===_0xecac56?0x1:0x2;}else{if(0x1===_0x7d7c75){if(_0x3e1af7(_0x574762)<0x2)break;const _0x414015=_0x2f9f58(_0x574762,0x2);_0xecac56=new DataView(_0x414015['buffer'],_0x414015['byteOffset'],_0x414015['length'])['getUint16'](0x0),_0x7d7c75=0x3;}else{if(0x2===_0x7d7c75){if(_0x3e1af7(_0x574762)<0x8)break;const _0x2fbba9=_0x2f9f58(_0x574762,0x8),_0x206ef9=new DataView(_0x2fbba9['buffer'],_0x2fbba9['byteOffset'],_0x2fbba9['length']),_0x43b9a9=_0x206ef9['getUint32'](0x0);if(_0x43b9a9>Math['pow'](0x2,0x15)-0x1){_0x5529df['enqueue'](_0x40e9e5);break;}_0xecac56=_0x43b9a9*Math['pow'](0x2,0x20)+_0x206ef9['getUint32'](0x4),_0x7d7c75=0x3;}else{if(_0x3e1af7(_0x574762)<_0xecac56)break;const _0x2ff035=_0x2f9f58(_0x574762,_0xecac56);_0x5529df['enqueue'](_0x2348e9(_0x1d439f?_0x2ff035:_0x329eee['decode'](_0x2ff035),_0x2aba11)),_0x7d7c75=0x0;}}}if(0x0===_0xecac56||_0xecac56>_0x4f1bf6){_0x5529df['enqueue'](_0x40e9e5);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x255fa7=_0x486228['readable']['pipeThrough'](_0x37040f)['getReader'](),_0xc00cb2=_0x12eb0b();_0xc00cb2['readable']['pipeTo'](_0x486228['writable']),this['_writer']=_0xc00cb2['writable']['getWriter']();const _0x150bc5=()=>{_0x255fa7['read']()['then'](({done:_0x369a3e,value:_0xb851d7})=>{_0x369a3e||(this['onPacket'](_0xb851d7),_0x150bc5());})['catch'](_0x1c18d0=>{});};_0x150bc5();const _0x21c7a7={'type':'open'};this['query']['sid']&&(_0x21c7a7['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['_writer']['write'](_0x21c7a7)['then'](()=>this['onOpen']());});});}write(_0x3d2a7e){this['writable']=!0x1;for(let _0x2f9c27=0x0;_0x2f9c27<_0x3d2a7e['length'];_0x2f9c27++){const _0x19b703=_0x3d2a7e[_0x2f9c27],_0x84a42c=_0x2f9c27===_0x3d2a7e['length']-0x1;this['_writer']['write'](_0x19b703)['then'](()=>{_0x84a42c&&_0x3641c6(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x44b429;null===(_0x44b429=this['_transport'])||void 0x0===_0x44b429||_0x44b429['close']();}},'polling':class extends _0x4b2779{constructor(_0x510e94){super(_0x510e94);const _0x5e7ca0=_0x510e94&&_0x510e94['forceBase64'];this['supportsBinary']=_0x2e10f5&&!_0x5e7ca0;}request(_0x4dd89f={}){return Object['assign'](_0x4dd89f,{'xd':this['xd']},this['opts']),new _0x35a4f4(_0x1eb012,this['uri'](),_0x4dd89f);}}},_0x592c7e=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,_0x3b2f95=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x1ff53a(_0x2ca3c4){if(_0x2ca3c4['length']>0x1f40)throw'URI\x20too\x20long';const _0x1f989f=_0x2ca3c4,_0x38783e=_0x2ca3c4['indexOf']('['),_0x34abc5=_0x2ca3c4['indexOf'](']');-0x1!=_0x38783e&&-0x1!=_0x34abc5&&(_0x2ca3c4=_0x2ca3c4['substring'](0x0,_0x38783e)+_0x2ca3c4['substring'](_0x38783e,_0x34abc5)['replace'](/:/g,';')+_0x2ca3c4['substring'](_0x34abc5,_0x2ca3c4['length']));let _0x4185fb=_0x592c7e['exec'](_0x2ca3c4||''),_0x526608={},_0x2e67be=0xe;for(;_0x2e67be--;)_0x526608[_0x3b2f95[_0x2e67be]]=_0x4185fb[_0x2e67be]||'';return-0x1!=_0x38783e&&-0x1!=_0x34abc5&&(_0x526608['source']=_0x1f989f,_0x526608['host']=_0x526608['host']['substring'](0x1,_0x526608['host']['length']-0x1)['replace'](/;/g,':'),_0x526608['authority']=_0x526608['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x526608['ipv6uri']=!0x0),_0x526608['pathNames']=function(_0x549aae,_0x407b73){const _0x8a005d=_0x407b73['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x407b73['slice'](0x0,0x1)&&0x0!==_0x407b73['length']||_0x8a005d['splice'](0x0,0x1),'/'==_0x407b73['slice'](-0x1)&&_0x8a005d['splice'](_0x8a005d['length']-0x1,0x1),_0x8a005d;}(0x0,_0x526608['path']),_0x526608['queryKey']=function(_0x429803,_0x572d48){const _0xbd5c46={};return _0x572d48['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x75d7c6,_0x24fc66,_0x674ae){_0x24fc66&&(_0xbd5c46[_0x24fc66]=_0x674ae);}),_0xbd5c46;}(0x0,_0x526608['query']),_0x526608;}const _0x238ac6='function'==typeof addEventListener&&'function'==typeof removeEventListener,_0x1107c6=[];_0x238ac6&&addEventListener('offline',()=>{_0x1107c6['forEach'](_0x59fc14=>_0x59fc14());},!0x1);var _0x226bae=class SocketWithoutUpgrade extends _0xa002d4{constructor(_0x2b1337,_0x16f2b3){if(super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],this['_prevBufferLen']=0x0,this['_pingInterval']=-0x1,this['_pingTimeout']=-0x1,this['_maxPayload']=-0x1,this['_pingTimeoutTime']=0x1/0x0,_0x2b1337&&'object'==typeof _0x2b1337&&(_0x16f2b3=_0x2b1337,_0x2b1337=null),_0x2b1337){const _0x360621=_0x1ff53a(_0x2b1337);_0x16f2b3['hostname']=_0x360621['host'],_0x16f2b3['secure']='https'===_0x360621['protocol']||'wss'===_0x360621['protocol'],_0x16f2b3['port']=_0x360621['port'],_0x360621['query']&&(_0x16f2b3['query']=_0x360621['query']);}else _0x16f2b3['host']&&(_0x16f2b3['hostname']=_0x1ff53a(_0x16f2b3['host'])['host']);_0x1395f0(this,_0x16f2b3),this['secure']=null!=_0x16f2b3['secure']?_0x16f2b3['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x16f2b3['hostname']&&!_0x16f2b3['port']&&(_0x16f2b3['port']=this['secure']?'443':'80'),this['hostname']=_0x16f2b3['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x16f2b3['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=[],this['_transportsByName']={},_0x16f2b3['transports']['forEach'](t=>{const _0x41236d=t['prototype']['name'];this['transports']['push'](_0x41236d),this['_transportsByName'][_0x41236d]=t;}),this['opts']=Object['assign']({'path':'/engine.io','agent':!0x1,'withCredentials':!0x1,'upgrade':!0x0,'timestampParam':'t','rememberUpgrade':!0x1,'addTrailingSlash':!0x0,'rejectUnauthorized':!0x0,'perMessageDeflate':{'threshold':0x400},'transportOptions':{},'closeOnBeforeunload':!0x1},_0x16f2b3),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x1543d3){let _0x483c93={},_0x58bd52=_0x1543d3['split']('&');for(let _0x14576c=0x0,_0x472d59=_0x58bd52['length'];_0x14576c<_0x472d59;_0x14576c++){let _0x54a3f8=_0x58bd52[_0x14576c]['split']('=');_0x483c93[decodeURIComponent(_0x54a3f8[0x0])]=decodeURIComponent(_0x54a3f8[0x1]);}return _0x483c93;}(this['opts']['query'])),_0x238ac6&&(this['opts']['closeOnBeforeunload']&&(this['_beforeunloadEventListener']=()=>{this['transport']&&(this['transport']['removeAllListeners'](),this['transport']['close']());},addEventListener('beforeunload',this['_beforeunloadEventListener'],!0x1)),'localhost'!==this['hostname']&&(this['_offlineEventListener']=()=>{this['_onClose']('transport\x20close',{'description':'network\x20connection\x20lost'});},_0x1107c6['push'](this['_offlineEventListener']))),this['opts']['withCredentials']&&(this['_cookieJar']=void 0x0),this['_open']();}createTransport(_0x24f6e3){const _0x28424a=Object['assign']({},this['opts']['query']);_0x28424a['EIO']=0x4,_0x28424a['transport']=_0x24f6e3,this['id']&&(_0x28424a['sid']=this['id']);const _0x209249=Object['assign']({},this['opts'],{'query':_0x28424a,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x24f6e3]);return new this['_transportsByName'][_0x24f6e3](_0x209249);}['_open'](){if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);const _0x4e96f2=this['opts']['rememberUpgrade']&&SocketWithoutUpgrade['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket')?'websocket':this['transports'][0x0];this['readyState']='opening';const _0x2b7412=this['createTransport'](_0x4e96f2);_0x2b7412['open'](),this['setTransport'](_0x2b7412);}setTransport(_0x653d83){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x653d83,_0x653d83['on']('drain',this['_onDrain']['bind'](this))['on']('packet',this['_onPacket']['bind'](this))['on']('error',this['_onError']['bind'](this))['on']('close',_0x4f937d=>this['_onClose']('transport\x20close',_0x4f937d));}['onOpen'](){this['readyState']='open',SocketWithoutUpgrade['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush']();}_onPacket(_0x209fae){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x209fae),this['emitReserved']('heartbeat'),_0x209fae['type']){case'open':this['onHandshake'](JSON['parse'](_0x209fae['data']));break;case'ping':this['_sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong'),this['_resetPingTimeout']();break;case'error':const _0x36166d=new Error('server\x20error');_0x36166d['code']=_0x209fae['data'],this['_onError'](_0x36166d);break;case'message':this['emitReserved']('data',_0x209fae['data']),this['emitReserved']('message',_0x209fae['data']);}}['onHandshake'](_0x17c378){this['emitReserved']('handshake',_0x17c378),this['id']=_0x17c378['sid'],this['transport']['query']['sid']=_0x17c378['sid'],this['_pingInterval']=_0x17c378['pingInterval'],this['_pingTimeout']=_0x17c378['pingTimeout'],this['_maxPayload']=_0x17c378['maxPayload'],this['onOpen'](),'closed'!==this['readyState']&&this['_resetPingTimeout']();}_resetPingTimeout(){this['clearTimeoutFn'](this['_pingTimeoutTimer']);const _0x14e9bc=this['_pingInterval']+this['_pingTimeout'];this['_pingTimeoutTime']=Date['now']()+_0x14e9bc,this['_pingTimeoutTimer']=this['setTimeoutFn'](()=>{this['_onClose']('ping\x20timeout');},_0x14e9bc),this['opts']['autoUnref']&&this['_pingTimeoutTimer']['unref']();}['_onDrain'](){this['writeBuffer']['splice'](0x0,this['_prevBufferLen']),this['_prevBufferLen']=0x0,0x0===this['writeBuffer']['length']?this['emitReserved']('drain'):this['flush']();}['flush'](){if('closed'!==this['readyState']&&this['transport']['writable']&&!this['upgrading']&&this['writeBuffer']['length']){const _0x2327f5=this['_getWritablePackets']();this['transport']['send'](_0x2327f5),this['_prevBufferLen']=_0x2327f5['length'],this['emitReserved']('flush');}}_getWritablePackets(){if(!(this['_maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x2887a7=0x1;for(let _0x3adbd5=0x0;_0x3adbd5<this['writeBuffer']['length'];_0x3adbd5++){const _0x123d3a=this['writeBuffer'][_0x3adbd5]['data'];if(_0x123d3a&&(_0x2887a7+=_0x38e390(_0x123d3a)),_0x3adbd5>0x0&&_0x2887a7>this['_maxPayload'])return this['writeBuffer']['slice'](0x0,_0x3adbd5);_0x2887a7+=0x2;}return this['writeBuffer'];}['_hasPingExpired'](){if(!this['_pingTimeoutTime'])return!0x0;const _0x4d6f54=Date['now']()>this['_pingTimeoutTime'];return _0x4d6f54&&(this['_pingTimeoutTime']=0x0,_0x3641c6(()=>{this['_onClose']('ping\x20timeout');},this['setTimeoutFn'])),_0x4d6f54;}write(_0x2ce2fc,_0x8d5596,_0x1b2e6a){return this['_sendPacket']('message',_0x2ce2fc,_0x8d5596,_0x1b2e6a),this;}['send'](_0x407905,_0x2f2c3f,_0x2c84a6){return this['_sendPacket']('message',_0x407905,_0x2f2c3f,_0x2c84a6),this;}_sendPacket(_0x3d4ddd,_0x306df,_0x5bf7d3,_0x1d9235){if('function'==typeof _0x306df&&(_0x1d9235=_0x306df,_0x306df=void 0x0),'function'==typeof _0x5bf7d3&&(_0x1d9235=_0x5bf7d3,_0x5bf7d3=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x5bf7d3=_0x5bf7d3||{})['compress']=!0x1!==_0x5bf7d3['compress'];const _0x4cb1a0={'type':_0x3d4ddd,'data':_0x306df,'options':_0x5bf7d3};this['emitReserved']('packetCreate',_0x4cb1a0),this['writeBuffer']['push'](_0x4cb1a0),_0x1d9235&&this['once']('flush',_0x1d9235),this['flush']();}['close'](){const _0x10d1f6=()=>{this['_onClose']('forced\x20close'),this['transport']['close']();},_0x4592e4=()=>{this['off']('upgrade',_0x4592e4),this['off']('upgradeError',_0x4592e4),_0x10d1f6();},_0x5d8cf6=()=>{this['once']('upgrade',_0x4592e4),this['once']('upgradeError',_0x4592e4);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x5d8cf6():_0x10d1f6();}):this['upgrading']?_0x5d8cf6():_0x10d1f6()),this;}['_onError'](_0x2d0070){if(SocketWithoutUpgrade['priorWebsocketSuccess']=!0x1,this['opts']['tryAllTransports']&&this['transports']['length']>0x1&&'opening'===this['readyState'])return this['transports']['shift'](),this['_open']();this['emitReserved']('error',_0x2d0070),this['_onClose']('transport\x20error',_0x2d0070);}['_onClose'](_0x148556,_0x56db76){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState']){if(this['clearTimeoutFn'](this['_pingTimeoutTimer']),this['transport']['removeAllListeners']('close'),this['transport']['close'](),this['transport']['removeAllListeners'](),_0x238ac6&&(this['_beforeunloadEventListener']&&removeEventListener('beforeunload',this['_beforeunloadEventListener'],!0x1),this['_offlineEventListener'])){const _0xde9361=_0x1107c6['indexOf'](this['_offlineEventListener']);-0x1!==_0xde9361&&_0x1107c6['splice'](_0xde9361,0x1);}this['readyState']='closed',this['id']=null,this['emitReserved']('close',_0x148556,_0x56db76),this['writeBuffer']=[],this['_prevBufferLen']=0x0;}}};_0x226bae['protocol']=0x4;var _0x32ea04=class extends _0x226bae{constructor(){super(...arguments),this['_upgrades']=[];}['onOpen'](){if(super['onOpen'](),'open'===this['readyState']&&this['opts']['upgrade']){for(let _0x2c3b39=0x0;_0x2c3b39<this['_upgrades']['length'];_0x2c3b39++)this['_probe'](this['_upgrades'][_0x2c3b39]);}}['_probe'](_0x315fb0){let _0x38ffbf=this['createTransport'](_0x315fb0),_0x3147ed=!0x1;_0x226bae['priorWebsocketSuccess']=!0x1;const _0x52a9ea=()=>{_0x3147ed||(_0x38ffbf['send']([{'type':'ping','data':'probe'}]),_0x38ffbf['once']('packet',_0x3f20cf=>{if(!_0x3147ed){if('pong'===_0x3f20cf['type']&&'probe'===_0x3f20cf['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x38ffbf),!_0x38ffbf)return;_0x226bae['priorWebsocketSuccess']='websocket'===_0x38ffbf['name'],this['transport']['pause'](()=>{_0x3147ed||'closed'!==this['readyState']&&(_0x246cde(),this['setTransport'](_0x38ffbf),_0x38ffbf['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x38ffbf),_0x38ffbf=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x140317=new Error('probe\x20error');_0x140317['transport']=_0x38ffbf['name'],this['emitReserved']('upgradeError',_0x140317);}}}));};function _0x558ae6(){_0x3147ed||(_0x3147ed=!0x0,_0x246cde(),_0x38ffbf['close'](),_0x38ffbf=null);}const _0x13f356=_0x315a4b=>{const _0x2c280a=new Error('probe\x20error:\x20'+_0x315a4b);_0x2c280a['transport']=_0x38ffbf['name'],_0x558ae6(),this['emitReserved']('upgradeError',_0x2c280a);};function _0x5c2144(){_0x13f356('transport\x20closed');}function _0x3cbaf0(){_0x13f356('socket\x20closed');}function _0x24367b(_0x56162b){_0x38ffbf&&_0x56162b['name']!==_0x38ffbf['name']&&_0x558ae6();}const _0x246cde=()=>{_0x38ffbf['removeListener']('open',_0x52a9ea),_0x38ffbf['removeListener']('error',_0x13f356),_0x38ffbf['removeListener']('close',_0x5c2144),this['off']('close',_0x3cbaf0),this['off']('upgrading',_0x24367b);};_0x38ffbf['once']('open',_0x52a9ea),_0x38ffbf['once']('error',_0x13f356),_0x38ffbf['once']('close',_0x5c2144),this['once']('close',_0x3cbaf0),this['once']('upgrading',_0x24367b),-0x1!==this['_upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x315fb0?this['setTimeoutFn'](()=>{_0x3147ed||_0x38ffbf['open']();},0xc8):_0x38ffbf['open']();}['onHandshake'](_0x5e58f2){this['_upgrades']=this['_filterUpgrades'](_0x5e58f2['upgrades']),super['onHandshake'](_0x5e58f2);}_filterUpgrades(_0x64322c){const _0x272ce3=[];for(let _0x5da2db=0x0;_0x5da2db<_0x64322c['length'];_0x5da2db++)~this['transports']['indexOf'](_0x64322c[_0x5da2db])&&_0x272ce3['push'](_0x64322c[_0x5da2db]);return _0x272ce3;}},_0x980d21=class extends _0x32ea04{constructor(_0x58fdc6,_0xbb49a1={}){const _0x12a49b='object'==typeof _0x58fdc6,_0xb0622=_0x12a49b?{..._0x58fdc6}:{..._0xbb49a1};(!_0xb0622['transports']||_0xb0622['transports']&&'string'==typeof _0xb0622['transports'][0x0])&&(_0xb0622['transports']=(_0xb0622['transports']||['polling','websocket','webtransport'])['map'](_0x5791f5=>t_[_0x5791f5])['filter'](t=>!!t)),super(_0x12a49b?_0xb0622:_0x58fdc6,_0xb0622);}};const _0x137e42='function'==typeof ArrayBuffer,_0x1d9e0d=Object['prototype']['toString'],_0x525d8c='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===_0x1d9e0d['call'](Blob),_0x18e4fd='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===_0x1d9e0d['call'](File);function _0x2596a9(_0x152b7c){return _0x137e42&&(_0x152b7c instanceof ArrayBuffer||(_0x41ad05=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x41ad05):_0x41ad05['buffer']instanceof ArrayBuffer)(_0x152b7c))||_0x525d8c&&_0x152b7c instanceof Blob||_0x18e4fd&&_0x152b7c instanceof File;}function _0x52cabf(_0x1bab5c,_0x245fa5){if(!_0x1bab5c||'object'!=typeof _0x1bab5c)return!0x1;if(Array['isArray'](_0x1bab5c)){for(let _0x521fca=0x0,_0x1e6117=_0x1bab5c['length'];_0x521fca<_0x1e6117;_0x521fca++)if(_0x52cabf(_0x1bab5c[_0x521fca]))return!0x0;return!0x1;}if(_0x2596a9(_0x1bab5c))return!0x0;if(_0x1bab5c['toJSON']&&'function'==typeof _0x1bab5c['toJSON']&&0x1===arguments['length'])return _0x52cabf(_0x1bab5c['toJSON'](),!0x0);for(const _0x13a0a0 in _0x1bab5c)if(Object['prototype']['hasOwnProperty']['call'](_0x1bab5c,_0x13a0a0)&&_0x52cabf(_0x1bab5c[_0x13a0a0]))return!0x0;return!0x1;}function _0x3e45dc(_0x13aa98){const _0xcc9dca=[],_0x16bf10=_0x13aa98['data'],_0x4839a4=_0x13aa98;return _0x4839a4['data']=_0x3554b2(_0x16bf10,_0xcc9dca),_0x4839a4['attachments']=_0xcc9dca['length'],{'packet':_0x4839a4,'buffers':_0xcc9dca};}function _0x3554b2(_0x58c640,_0x3852fa){if(!_0x58c640)return _0x58c640;if(_0x2596a9(_0x58c640)){const _0x5de517={'_placeholder':!0x0,'num':_0x3852fa['length']};return _0x3852fa['push'](_0x58c640),_0x5de517;}if(Array['isArray'](_0x58c640)){const _0x1254ff=new Array(_0x58c640['length']);for(let _0x3f99df=0x0;_0x3f99df<_0x58c640['length'];_0x3f99df++)_0x1254ff[_0x3f99df]=_0x3554b2(_0x58c640[_0x3f99df],_0x3852fa);return _0x1254ff;}if('object'==typeof _0x58c640&&!(_0x58c640 instanceof Date)){const _0x3bb869={};for(const _0x58bf50 in _0x58c640)Object['prototype']['hasOwnProperty']['call'](_0x58c640,_0x58bf50)&&(_0x3bb869[_0x58bf50]=_0x3554b2(_0x58c640[_0x58bf50],_0x3852fa));return _0x3bb869;}return _0x58c640;}function _0x224ef7(_0x208ce1,_0x533f9e){return _0x208ce1['data']=_0x4b9d9f(_0x208ce1['data'],_0x533f9e),delete _0x208ce1['attachments'],_0x208ce1;}function _0x4b9d9f(_0xfd934e,_0x8e46ab){if(!_0xfd934e)return _0xfd934e;if(_0xfd934e&&!0x0===_0xfd934e['_placeholder']){if('number'==typeof _0xfd934e['num']&&_0xfd934e['num']>=0x0&&_0xfd934e['num']<_0x8e46ab['length'])return _0x8e46ab[_0xfd934e['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0xfd934e)){for(let _0x163279=0x0;_0x163279<_0xfd934e['length'];_0x163279++)_0xfd934e[_0x163279]=_0x4b9d9f(_0xfd934e[_0x163279],_0x8e46ab);}else{if('object'==typeof _0xfd934e){for(const _0x3fce59 in _0xfd934e)Object['prototype']['hasOwnProperty']['call'](_0xfd934e,_0x3fce59)&&(_0xfd934e[_0x3fce59]=_0x4b9d9f(_0xfd934e[_0x3fce59],_0x8e46ab));}}return _0xfd934e;}var _0xa3b85a=_0x142dc2({'Decoder':()=>_0xefaa5c,'Encoder':()=>_0x3847d1,'PacketType':()=>_0x9cfb6a,'isPacketValid':()=>_0xc09ea8,'protocol':()=>0x5});const _0x113557=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var _0x9cfb6a;!function(_0x2ecb71){_0x2ecb71[_0x2ecb71['CONNECT']=0x0]='CONNECT',_0x2ecb71[_0x2ecb71['DISCONNECT']=0x1]='DISCONNECT',_0x2ecb71[_0x2ecb71['EVENT']=0x2]='EVENT',_0x2ecb71[_0x2ecb71['ACK']=0x3]='ACK',_0x2ecb71[_0x2ecb71['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x2ecb71[_0x2ecb71['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x2ecb71[_0x2ecb71['BINARY_ACK']=0x6]='BINARY_ACK';}(_0x9cfb6a||(_0x9cfb6a={}));var _0x3847d1=class{constructor(_0x5607f0){this['replacer']=_0x5607f0;}['encode'](_0x7eb83b){return _0x7eb83b['type']!==_0x9cfb6a['EVENT']&&_0x7eb83b['type']!==_0x9cfb6a['ACK']||!_0x52cabf(_0x7eb83b)?[this['encodeAsString'](_0x7eb83b)]:this['encodeAsBinary']({'type':_0x7eb83b['type']===_0x9cfb6a['EVENT']?_0x9cfb6a['BINARY_EVENT']:_0x9cfb6a['BINARY_ACK'],'nsp':_0x7eb83b['nsp'],'data':_0x7eb83b['data'],'id':_0x7eb83b['id']});}encodeAsString(_0x1a6fe2){let _0x28cf45=''+_0x1a6fe2['type'];return _0x1a6fe2['type']!==_0x9cfb6a['BINARY_EVENT']&&_0x1a6fe2['type']!==_0x9cfb6a['BINARY_ACK']||(_0x28cf45+=_0x1a6fe2['attachments']+'-'),_0x1a6fe2['nsp']&&'/'!==_0x1a6fe2['nsp']&&(_0x28cf45+=_0x1a6fe2['nsp']+','),null!=_0x1a6fe2['id']&&(_0x28cf45+=_0x1a6fe2['id']),null!=_0x1a6fe2['data']&&(_0x28cf45+=JSON['stringify'](_0x1a6fe2['data'],this['replacer'])),_0x28cf45;}['encodeAsBinary'](_0x505c1f){const _0x1196cb=_0x3e45dc(_0x505c1f),_0x43cb48=this['encodeAsString'](_0x1196cb['packet']),_0x35d66a=_0x1196cb['buffers'];return _0x35d66a['unshift'](_0x43cb48),_0x35d66a;}},_0xefaa5c=class _0x2766c2 extends _0xa002d4{constructor(_0x772969){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x772969?{'reviver':_0x772969}:_0x772969);}['add'](_0x37f0af){let _0x2f9b72;if('string'==typeof _0x37f0af){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x2f9b72=this['decodeString'](_0x37f0af);const _0x210eda=_0x2f9b72['type']===_0x9cfb6a['BINARY_EVENT'];_0x210eda||_0x2f9b72['type']===_0x9cfb6a['BINARY_ACK']?(_0x2f9b72['type']=_0x210eda?_0x9cfb6a['EVENT']:_0x9cfb6a['ACK'],this['reconstructor']=new _0xe7fdc1(_0x2f9b72),0x0===_0x2f9b72['attachments']&&super['emitReserved']('decoded',_0x2f9b72)):super['emitReserved']('decoded',_0x2f9b72);}else{if(!_0x2596a9(_0x37f0af)&&!_0x37f0af['base64'])throw new Error('Unknown\x20type:\x20'+_0x37f0af);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x2f9b72=this['reconstructor']['takeBinaryData'](_0x37f0af),_0x2f9b72&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x2f9b72));}}decodeString(_0x553975){let _0x5976a3=0x0;const _0xda3589={'type':Number(_0x553975['charAt'](0x0))};if(void 0x0===_0x9cfb6a[_0xda3589['type']])throw new Error('unknown\x20packet\x20type\x20'+_0xda3589['type']);if(_0xda3589['type']===_0x9cfb6a['BINARY_EVENT']||_0xda3589['type']===_0x9cfb6a['BINARY_ACK']){const _0x17ebed=_0x5976a3+0x1;for(;'-'!==_0x553975['charAt'](++_0x5976a3)&&_0x5976a3!=_0x553975['length'];);const _0x2f953b=_0x553975['substring'](_0x17ebed,_0x5976a3);if(_0x2f953b!=Number(_0x2f953b)||'-'!==_0x553975['charAt'](_0x5976a3))throw new Error('Illegal\x20attachments');const _0x1dad53=Number(_0x2f953b);if(!_0x1e6820(_0x1dad53)||_0x1dad53<0x0)throw new Error('Illegal\x20attachments');if(_0x1dad53>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0xda3589['attachments']=_0x1dad53;}if('/'===_0x553975['charAt'](_0x5976a3+0x1)){const _0x495ffe=_0x5976a3+0x1;for(;++_0x5976a3&&','!==_0x553975['charAt'](_0x5976a3)&&_0x5976a3!==_0x553975['length'];);_0xda3589['nsp']=_0x553975['substring'](_0x495ffe,_0x5976a3);}else _0xda3589['nsp']='/';const _0x3b2c9e=_0x553975['charAt'](_0x5976a3+0x1);if(''!==_0x3b2c9e&&Number(_0x3b2c9e)==_0x3b2c9e){const _0x57d139=_0x5976a3+0x1;for(;++_0x5976a3;){const _0xe9fe58=_0x553975['charAt'](_0x5976a3);if(null==_0xe9fe58||Number(_0xe9fe58)!=_0xe9fe58){--_0x5976a3;break;}if(_0x5976a3===_0x553975['length'])break;}_0xda3589['id']=Number(_0x553975['substring'](_0x57d139,_0x5976a3+0x1));}if(_0x553975['charAt'](++_0x5976a3)){const _0x1c5453=this['tryParse'](_0x553975['substr'](_0x5976a3));if(!_0x2766c2['isPayloadValid'](_0xda3589['type'],_0x1c5453))throw new Error('invalid\x20payload');_0xda3589['data']=_0x1c5453;}return _0xda3589;}tryParse(_0x2ff6c1){try{return JSON['parse'](_0x2ff6c1,this['opts']['reviver']);}catch(_0x1bb661){return!0x1;}}static['isPayloadValid'](_0xca0892,_0x2a1dd1){switch(_0xca0892){case _0x9cfb6a['CONNECT']:return _0x540f6e(_0x2a1dd1);case _0x9cfb6a['DISCONNECT']:return void 0x0===_0x2a1dd1;case _0x9cfb6a['CONNECT_ERROR']:return'string'==typeof _0x2a1dd1||_0x540f6e(_0x2a1dd1);case _0x9cfb6a['EVENT']:case _0x9cfb6a['BINARY_EVENT']:return Array['isArray'](_0x2a1dd1)&&('number'==typeof _0x2a1dd1[0x0]||'string'==typeof _0x2a1dd1[0x0]&&-0x1===_0x113557['indexOf'](_0x2a1dd1[0x0]));case _0x9cfb6a['ACK']:case _0x9cfb6a['BINARY_ACK']:return Array['isArray'](_0x2a1dd1);}}destroy(){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}},_0xe7fdc1=class{constructor(_0x519772){this['packet']=_0x519772,this['buffers']=[],this['reconPack']=_0x519772;}takeBinaryData(_0x428a2d){if(this['buffers']['push'](_0x428a2d),this['buffers']['length']===this['reconPack']['attachments']){const _0x23133f=_0x224ef7(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x23133f;}return null;}finishedReconstruction(){this['reconPack']=null,this['buffers']=[];}};const _0x1e6820=Number['isInteger']||function(_0x5120f3){return'number'==typeof _0x5120f3&&isFinite(_0x5120f3)&&Math['floor'](_0x5120f3)===_0x5120f3;};function _0x540f6e(_0x1e08fc){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1e08fc);}function _0xc09ea8(_0x10df9f){return'string'==typeof _0x10df9f['nsp']&&function(_0x4ffc3d){return void 0x0===_0x4ffc3d||_0x1e6820(_0x4ffc3d);}(_0x10df9f['id'])&&function(_0x12ad89,_0x2627b4){switch(_0x12ad89){case _0x9cfb6a['CONNECT']:return void 0x0===_0x2627b4||_0x540f6e(_0x2627b4);case _0x9cfb6a['DISCONNECT']:return void 0x0===_0x2627b4;case _0x9cfb6a['EVENT']:return Array['isArray'](_0x2627b4)&&('number'==typeof _0x2627b4[0x0]||'string'==typeof _0x2627b4[0x0]&&-0x1===_0x113557['indexOf'](_0x2627b4[0x0]));case _0x9cfb6a['ACK']:return Array['isArray'](_0x2627b4);case _0x9cfb6a['CONNECT_ERROR']:return'string'==typeof _0x2627b4||_0x540f6e(_0x2627b4);default:return!0x1;}}(_0x10df9f['type'],_0x10df9f['data']);}function _0x706012(_0x50fd1d,_0x51da88,_0x505d74){return _0x50fd1d['on'](_0x51da88,_0x505d74),function(){_0x50fd1d['off'](_0x51da88,_0x505d74);};}const _0x295ddd=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});var _0x3326a6=class extends _0xa002d4{constructor(_0x41e8d4,_0x382ee4,_0x49758b){super(),this['connected']=!0x1,this['recovered']=!0x1,this['receiveBuffer']=[],this['sendBuffer']=[],this['_queue']=[],this['_queueSeq']=0x0,this['ids']=0x0,this['acks']={},this['flags']={},this['io']=_0x41e8d4,this['nsp']=_0x382ee4,_0x49758b&&_0x49758b['auth']&&(this['auth']=_0x49758b['auth']),this['_opts']=Object['assign']({},_0x49758b),this['io']['_autoConnect']&&this['open']();}get disconnected(){return!this['connected'];}subEvents(){if(this['subs'])return;const _0x4066de=this['io'];this['subs']=[_0x706012(_0x4066de,'open',this['onopen']['bind'](this)),_0x706012(_0x4066de,'packet',this['onpacket']['bind'](this)),_0x706012(_0x4066de,'error',this['onerror']['bind'](this)),_0x706012(_0x4066de,'close',this['onclose']['bind'](this))];}get active(){return!!this['subs'];}connect(){return this['connected']||(this['subEvents'](),this['io']['_reconnecting']||this['io']['open'](),'open'===this['io']['_readyState']&&this['onopen']()),this;}['open'](){return this['connect']();}['send'](..._0x8f8e64){return _0x8f8e64['unshift']('message'),this['emit']['apply'](this,_0x8f8e64),this;}emit(_0x3e0d08,..._0x49c7ed){var _0x4bf1fa,_0x53fe17,_0x514fa8;if(_0x295ddd['hasOwnProperty'](_0x3e0d08))throw new Error('\x22'+_0x3e0d08['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x49c7ed['unshift'](_0x3e0d08),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x49c7ed),this;const _0x48e570={'type':_0x9cfb6a['EVENT'],'data':_0x49c7ed,'options':{}};if(_0x48e570['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x49c7ed[_0x49c7ed['length']-0x1]){const _0x279b9e=this['ids']++,_0x3bed56=_0x49c7ed['pop']();this['_registerAckCallback'](_0x279b9e,_0x3bed56),_0x48e570['id']=_0x279b9e;}const _0x590629=null===(_0x53fe17=null===(_0x4bf1fa=this['io']['engine'])||void 0x0===_0x4bf1fa?void 0x0:_0x4bf1fa['transport'])||void 0x0===_0x53fe17?void 0x0:_0x53fe17['writable'],_0x403ad1=this['connected']&&!(null===(_0x514fa8=this['io']['engine'])||void 0x0===_0x514fa8?void 0x0:_0x514fa8['_hasPingExpired']());return this['flags']['volatile']&&!_0x590629||(_0x403ad1?(this['notifyOutgoingListeners'](_0x48e570),this['packet'](_0x48e570)):this['sendBuffer']['push'](_0x48e570)),this['flags']={},this;}_registerAckCallback(_0x5b9cbb,_0x4c1a05){var _0x586328;const _0x26143b=null!==(_0x586328=this['flags']['timeout'])&&void 0x0!==_0x586328?_0x586328:this['_opts']['ackTimeout'];if(void 0x0===_0x26143b)return void(this['acks'][_0x5b9cbb]=_0x4c1a05);const _0x5d2b5d=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x5b9cbb];for(let _0x5781dc=0x0;_0x5781dc<this['sendBuffer']['length'];_0x5781dc++)this['sendBuffer'][_0x5781dc]['id']===_0x5b9cbb&&this['sendBuffer']['splice'](_0x5781dc,0x1);_0x4c1a05['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x26143b),_0x19ef2a=(..._0x257272)=>{this['io']['clearTimeoutFn'](_0x5d2b5d),_0x4c1a05['apply'](this,_0x257272);};_0x19ef2a['withError']=!0x0,this['acks'][_0x5b9cbb]=_0x19ef2a;}emitWithAck(_0x138812,..._0x4d9471){return new Promise((_0x419767,_0x1309b7)=>{const _0x16ff4f=(_0x3dd169,_0x1f4fc4)=>_0x3dd169?_0x1309b7(_0x3dd169):_0x419767(_0x1f4fc4);_0x16ff4f['withError']=!0x0,_0x4d9471['push'](_0x16ff4f),this['emit'](_0x138812,..._0x4d9471);});}['_addToQueue'](_0xe081da){let _0x539781;'function'==typeof _0xe081da[_0xe081da['length']-0x1]&&(_0x539781=_0xe081da['pop']());const _0x7f5bb0={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0xe081da,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0xe081da['push']((_0x4fe8c0,..._0x2acfd8)=>(this['_queue'][0x0],null!==_0x4fe8c0?_0x7f5bb0['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x539781&&_0x539781(_0x4fe8c0)):(this['_queue']['shift'](),_0x539781&&_0x539781(null,..._0x2acfd8)),_0x7f5bb0['pending']=!0x1,this['_drainQueue']())),this['_queue']['push'](_0x7f5bb0),this['_drainQueue']();}['_drainQueue'](_0x52936c=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x4b17d6=this['_queue'][0x0];_0x4b17d6['pending']&&!_0x52936c||(_0x4b17d6['pending']=!0x0,_0x4b17d6['tryCount']++,this['flags']=_0x4b17d6['flags'],this['emit']['apply'](this,_0x4b17d6['args']));}packet(_0x4dcff4){_0x4dcff4['nsp']=this['nsp'],this['io']['_packet'](_0x4dcff4);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x1fda6=>{this['_sendConnectPacket'](_0x1fda6);}):this['_sendConnectPacket'](this['auth']);}_sendConnectPacket(_0x441eef){this['packet']({'type':_0x9cfb6a['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x441eef):_0x441eef});}['onerror'](_0x1e88a1){this['connected']||this['emitReserved']('connect_error',_0x1e88a1);}['onclose'](_0x3bcd11,_0x31c15a){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x3bcd11,_0x31c15a),this['_clearAcks']();}['_clearAcks'](){Object['keys'](this['acks'])['forEach'](_0x51e595=>{if(!this['sendBuffer']['some'](_0x3aacb1=>String(_0x3aacb1['id'])===_0x51e595)){const _0x2b340f=this['acks'][_0x51e595];delete this['acks'][_0x51e595],_0x2b340f['withError']&&_0x2b340f['call'](this,new Error('socket\x20has\x20been\x20disconnected'));}});}onpacket(_0xf01f02){if(_0xf01f02['nsp']===this['nsp'])switch(_0xf01f02['type']){case _0x9cfb6a['CONNECT']:_0xf01f02['data']&&_0xf01f02['data']['sid']?this['onconnect'](_0xf01f02['data']['sid'],_0xf01f02['data']['pid']):this['emitReserved']('connect_error',new Error('It\x20seems\x20you\x20are\x20trying\x20to\x20reach\x20a\x20Socket.IO\x20server\x20in\x20v2.x\x20with\x20a\x20v3.x\x20client,\x20but\x20they\x20are\x20not\x20compatible\x20(more\x20information\x20here:\x20https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)'));break;case _0x9cfb6a['EVENT']:case _0x9cfb6a['BINARY_EVENT']:this['onevent'](_0xf01f02);break;case _0x9cfb6a['ACK']:case _0x9cfb6a['BINARY_ACK']:this['onack'](_0xf01f02);break;case _0x9cfb6a['DISCONNECT']:this['ondisconnect']();break;case _0x9cfb6a['CONNECT_ERROR']:this['destroy']();const _0x3f7b75=new Error(_0xf01f02['data']['message']);_0x3f7b75['data']=_0xf01f02['data']['data'],this['emitReserved']('connect_error',_0x3f7b75);}}onevent(_0x3a5ac9){const _0x2deafe=_0x3a5ac9['data']||[];null!=_0x3a5ac9['id']&&_0x2deafe['push'](this['ack'](_0x3a5ac9['id'])),this['connected']?this['emitEvent'](_0x2deafe):this['receiveBuffer']['push'](Object['freeze'](_0x2deafe));}emitEvent(_0x19aaff){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x3f9636=this['_anyListeners']['slice']();for(const _0x2c2159 of _0x3f9636)_0x2c2159['apply'](this,_0x19aaff);}super['emit']['apply'](this,_0x19aaff),this['_pid']&&_0x19aaff['length']&&'string'==typeof _0x19aaff[_0x19aaff['length']-0x1]&&(this['_lastOffset']=_0x19aaff[_0x19aaff['length']-0x1]);}['ack'](_0x12711b){const _0x302065=this;let _0x262421=!0x1;return function(..._0x4dddd7){_0x262421||(_0x262421=!0x0,_0x302065['packet']({'type':_0x9cfb6a['ACK'],'id':_0x12711b,'data':_0x4dddd7}));};}['onack'](_0x14ef1f){const _0x34660e=this['acks'][_0x14ef1f['id']];'function'==typeof _0x34660e&&(delete this['acks'][_0x14ef1f['id']],_0x34660e['withError']&&_0x14ef1f['data']['unshift'](null),_0x34660e['apply'](this,_0x14ef1f['data']));}onconnect(_0x364389,_0x3a1ddb){this['id']=_0x364389,this['recovered']=_0x3a1ddb&&this['_pid']===_0x3a1ddb,this['_pid']=_0x3a1ddb,this['connected']=!0x0,this['emitBuffered'](),this['_drainQueue'](!0x0),this['emitReserved']('connect');}emitBuffered(){this['receiveBuffer']['forEach'](_0x45cee8=>this['emitEvent'](_0x45cee8)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x2215b1=>{this['notifyOutgoingListeners'](_0x2215b1),this['packet'](_0x2215b1);}),this['sendBuffer']=[];}ondisconnect(){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}destroy(){this['subs']&&(this['subs']['forEach'](_0xe2f5df=>_0xe2f5df()),this['subs']=void 0x0),this['io']['_destroy'](this);}disconnect(){return this['connected']&&this['packet']({'type':_0x9cfb6a['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x6b95bd){return this['flags']['compress']=_0x6b95bd,this;}get volatile(){return this['flags']['volatile']=!0x0,this;}timeout(_0x39a750){return this['flags']['timeout']=_0x39a750,this;}['onAny'](_0x5c7a6a){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x5c7a6a),this;}['prependAny'](_0x10bb39){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x10bb39),this;}['offAny'](_0xb51c5d){if(!this['_anyListeners'])return this;if(_0xb51c5d){const _0x1cb2f0=this['_anyListeners'];for(let _0x496878=0x0;_0x496878<_0x1cb2f0['length'];_0x496878++)if(_0xb51c5d===_0x1cb2f0[_0x496878])return _0x1cb2f0['splice'](_0x496878,0x1),this;}else this['_anyListeners']=[];return this;}listenersAny(){return this['_anyListeners']||[];}onAnyOutgoing(_0x39e360){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x39e360),this;}prependAnyOutgoing(_0x33804a){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x33804a),this;}offAnyOutgoing(_0x3d168e){if(!this['_anyOutgoingListeners'])return this;if(_0x3d168e){const _0x3c3199=this['_anyOutgoingListeners'];for(let _0x5031ac=0x0;_0x5031ac<_0x3c3199['length'];_0x5031ac++)if(_0x3d168e===_0x3c3199[_0x5031ac])return _0x3c3199['splice'](_0x5031ac,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}listenersAnyOutgoing(){return this['_anyOutgoingListeners']||[];}notifyOutgoingListeners(_0x4f7ba9){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x5cc459=this['_anyOutgoingListeners']['slice']();for(const _0x22666b of _0x5cc459)_0x22666b['apply'](this,_0x4f7ba9['data']);}}};function _0xb40618(_0x168f24){_0x168f24=_0x168f24||{},this['ms']=_0x168f24['min']||0x64,this['max']=_0x168f24['max']||0x2710,this['factor']=_0x168f24['factor']||0x2,this['jitter']=_0x168f24['jitter']>0x0&&_0x168f24['jitter']<=0x1?_0x168f24['jitter']:0x0,this['attempts']=0x0;}_0xb40618['prototype']['duration']=function(){var _0x390120=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x11f59f=Math['random'](),_0x3cda8f=Math['floor'](_0x11f59f*this['jitter']*_0x390120);_0x390120=0x1&Math['floor'](0xa*_0x11f59f)?_0x390120+_0x3cda8f:_0x390120-_0x3cda8f;}return 0x0|Math['min'](_0x390120,this['max']);},_0xb40618['prototype']['reset']=function(){this['attempts']=0x0;},_0xb40618['prototype']['setMin']=function(_0x48f741){this['ms']=_0x48f741;},_0xb40618['prototype']['setMax']=function(_0x327315){this['max']=_0x327315;},_0xb40618['prototype']['setJitter']=function(_0x10da20){this['jitter']=_0x10da20;};var _0x399af9=class extends _0xa002d4{constructor(_0x374a77,_0x299437){var _0x2c85d9;super(),this['nsps']={},this['subs']=[],_0x374a77&&'object'==typeof _0x374a77&&(_0x299437=_0x374a77,_0x374a77=void 0x0),(_0x299437=_0x299437||{})['path']=_0x299437['path']||'/socket.io',this['opts']=_0x299437,_0x1395f0(this,_0x299437),this['reconnection'](!0x1!==_0x299437['reconnection']),this['reconnectionAttempts'](_0x299437['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x299437['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x299437['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x2c85d9=_0x299437['randomizationFactor'])&&void 0x0!==_0x2c85d9?_0x2c85d9:0.5),this['backoff']=new _0xb40618({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x299437['timeout']?0x4e20:_0x299437['timeout']),this['_readyState']='closed',this['uri']=_0x374a77;const _0x57e49d=_0x299437['parser']||_0xa3b85a;this['encoder']=new _0x57e49d['Encoder'](),this['decoder']=new _0x57e49d['Decoder'](),this['_autoConnect']=!0x1!==_0x299437['autoConnect'],this['_autoConnect']&&this['open']();}reconnection(_0x561bfb){return arguments['length']?(this['_reconnection']=!!_0x561bfb,_0x561bfb||(this['skipReconnect']=!0x0),this):this['_reconnection'];}reconnectionAttempts(_0x338957){return void 0x0===_0x338957?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x338957,this);}reconnectionDelay(_0x1b863b){var _0xf8b789;return void 0x0===_0x1b863b?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x1b863b,null===(_0xf8b789=this['backoff'])||void 0x0===_0xf8b789||_0xf8b789['setMin'](_0x1b863b),this);}randomizationFactor(_0x2edd4e){var _0x5c04d2;return void 0x0===_0x2edd4e?this['_randomizationFactor']:(this['_randomizationFactor']=_0x2edd4e,null===(_0x5c04d2=this['backoff'])||void 0x0===_0x5c04d2||_0x5c04d2['setJitter'](_0x2edd4e),this);}reconnectionDelayMax(_0x5c50ca){var _0x4675e6;return void 0x0===_0x5c50ca?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x5c50ca,null===(_0x4675e6=this['backoff'])||void 0x0===_0x4675e6||_0x4675e6['setMax'](_0x5c50ca),this);}timeout(_0x4179c2){return arguments['length']?(this['_timeout']=_0x4179c2,this):this['_timeout'];}maybeReconnectOnOpen(){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x4e4929){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new _0x980d21(this['uri'],this['opts']);const _0x195e21=this['engine'],_0x5bf5a8=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x4ed9ee=_0x706012(_0x195e21,'open',function(){_0x5bf5a8['onopen'](),_0x4e4929&&_0x4e4929();}),_0x5efac4=_0x1dbdee=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x1dbdee),_0x4e4929?_0x4e4929(_0x1dbdee):this['maybeReconnectOnOpen']();},_0x4d0729=_0x706012(_0x195e21,'error',_0x5efac4);if(!0x1!==this['_timeout']){const _0x111fac=this['_timeout'],_0x1fffce=this['setTimeoutFn'](()=>{_0x4ed9ee(),_0x5efac4(new Error('timeout')),_0x195e21['close']();},_0x111fac);this['opts']['autoUnref']&&_0x1fffce['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x1fffce);});}return this['subs']['push'](_0x4ed9ee),this['subs']['push'](_0x4d0729),this;}connect(_0x414992){return this['open'](_0x414992);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x3138ef=this['engine'];this['subs']['push'](_0x706012(_0x3138ef,'ping',this['onping']['bind'](this)),_0x706012(_0x3138ef,'data',this['ondata']['bind'](this)),_0x706012(_0x3138ef,'error',this['onerror']['bind'](this)),_0x706012(_0x3138ef,'close',this['onclose']['bind'](this)),_0x706012(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}ondata(_0x15cd88){try{this['decoder']['add'](_0x15cd88);}catch(_0x58e01a){this['onclose']('parse\x20error',_0x58e01a);}}['ondecoded'](_0x49bc76){_0x3641c6(()=>{this['emitReserved']('packet',_0x49bc76);},this['setTimeoutFn']);}['onerror'](_0xbdff45){this['emitReserved']('error',_0xbdff45);}socket(_0x14b0c8,_0x3bf097){let _0x15fcfe=this['nsps'][_0x14b0c8];return _0x15fcfe?this['_autoConnect']&&!_0x15fcfe['active']&&_0x15fcfe['connect']():(_0x15fcfe=new _0x3326a6(this,_0x14b0c8,_0x3bf097),this['nsps'][_0x14b0c8]=_0x15fcfe),_0x15fcfe;}_destroy(_0x2cfd74){const _0x53f994=Object['keys'](this['nsps']);for(const _0x174b32 of _0x53f994)if(this['nsps'][_0x174b32]['active'])return;this['_close']();}_packet(_0x147874){const _0x353e8a=this['encoder']['encode'](_0x147874);for(let _0x16fc5d=0x0;_0x16fc5d<_0x353e8a['length'];_0x16fc5d++)this['engine']['write'](_0x353e8a[_0x16fc5d],_0x147874['options']);}['cleanup'](){this['subs']['forEach'](_0x53e87b=>_0x53e87b()),this['subs']['length']=0x0,this['decoder']['destroy']();}['_close'](){this['skipReconnect']=!0x0,this['_reconnecting']=!0x1,this['onclose']('forced\x20close');}disconnect(){return this['_close']();}['onclose'](_0x501703,_0x133348){var _0x8fea36;this['cleanup'](),null===(_0x8fea36=this['engine'])||void 0x0===_0x8fea36||_0x8fea36['close'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x501703,_0x133348),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}reconnect(){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x376c72=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0xfa3b99=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x443103=this['setTimeoutFn'](()=>{_0x376c72['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x376c72['backoff']['attempts']),_0x376c72['skipReconnect']||_0x376c72['open'](_0x251de6=>{_0x251de6?(_0x376c72['_reconnecting']=!0x1,_0x376c72['reconnect'](),this['emitReserved']('reconnect_error',_0x251de6)):_0x376c72['onreconnect']();}));},_0xfa3b99);this['opts']['autoUnref']&&_0x443103['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x443103);});}}onreconnect(){const _0x55832f=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x55832f);}};const _0x5f10e6={};function _0x2bb24f(_0x2f6644,_0x2f815b){'object'==typeof _0x2f6644&&(_0x2f815b=_0x2f6644,_0x2f6644=void 0x0);const _0x2bfccc=function(_0x35e3a4,_0x408c20='',_0x4eae21){let _0xaa660c=_0x35e3a4;_0x4eae21=_0x4eae21||'undefined'!=typeof location&&location,null==_0x35e3a4&&(_0x35e3a4=_0x4eae21['protocol']+'//'+_0x4eae21['host']),'string'==typeof _0x35e3a4&&('/'===_0x35e3a4['charAt'](0x0)&&(_0x35e3a4='/'===_0x35e3a4['charAt'](0x1)?_0x4eae21['protocol']+_0x35e3a4:_0x4eae21['host']+_0x35e3a4),/^(https?|wss?):\/\//['test'](_0x35e3a4)||(_0x35e3a4=void 0x0!==_0x4eae21?_0x4eae21['protocol']+'//'+_0x35e3a4:'https://'+_0x35e3a4),_0xaa660c=_0x1ff53a(_0x35e3a4)),_0xaa660c['port']||(/^(http|ws)$/['test'](_0xaa660c['protocol'])?_0xaa660c['port']='80':/^(http|ws)s$/['test'](_0xaa660c['protocol'])&&(_0xaa660c['port']='443')),_0xaa660c['path']=_0xaa660c['path']||'/';const _0x520023=-0x1!==_0xaa660c['host']['indexOf'](':')?'['+_0xaa660c['host']+']':_0xaa660c['host'];return _0xaa660c['id']=_0xaa660c['protocol']+'://'+_0x520023+':'+_0xaa660c['port']+_0x408c20,_0xaa660c['href']=_0xaa660c['protocol']+'://'+_0x520023+(_0x4eae21&&_0x4eae21['port']===_0xaa660c['port']?'':':'+_0xaa660c['port']),_0xaa660c;}(_0x2f6644,(_0x2f815b=_0x2f815b||{})['path']||'/socket.io'),_0x5a49f5=_0x2bfccc['source'],_0x5ebb29=_0x2bfccc['id'],_0xaad823=_0x2bfccc['path'],_0x41fc87=_0x5f10e6[_0x5ebb29]&&_0xaad823 in _0x5f10e6[_0x5ebb29]['nsps'];let _0x3ac8bc;return _0x2f815b['forceNew']||_0x2f815b['force\x20new\x20connection']||!0x1===_0x2f815b['multiplex']||_0x41fc87?_0x3ac8bc=new _0x399af9(_0x5a49f5,_0x2f815b):(_0x5f10e6[_0x5ebb29]||(_0x5f10e6[_0x5ebb29]=new _0x399af9(_0x5a49f5,_0x2f815b)),_0x3ac8bc=_0x5f10e6[_0x5ebb29]),_0x2bfccc['query']&&!_0x2f815b['query']&&(_0x2f815b['query']=_0x2bfccc['queryKey']),_0x3ac8bc['socket'](_0x2bfccc['path'],_0x2f815b);}Object['assign'](_0x2bb24f,{'Manager':_0x399af9,'Socket':_0x3326a6,'io':_0x2bb24f,'connect':_0x2bb24f});var _0x28d278=_0x947326((_0x50435c,_0x2b2860)=>{_0x2b2860['exports']=function(_0x4a7c31,_0x449124){if(_0x449124=_0x449124['split'](':')[0x0],!(_0x4a7c31=+_0x4a7c31))return!0x1;switch(_0x449124){case'http':case'ws':return 0x50!==_0x4a7c31;case'https':case'wss':return 0x1bb!==_0x4a7c31;case'ftp':return 0x15!==_0x4a7c31;case'gopher':return 0x46!==_0x4a7c31;case'file':return!0x1;}return 0x0!==_0x4a7c31;};}),_0x4b9f7c=_0x947326(_0x3ae32d=>{var _0x40fa1d=Object['prototype']['hasOwnProperty'];function _0x3d990c(_0x2947c2){try{return decodeURIComponent(_0x2947c2['replace'](/\+/g,'\x20'));}catch(_0x2a3e97){return null;}}function _0x580345(_0x373a07){try{return encodeURIComponent(_0x373a07);}catch(_0x4109bb){return null;}}_0x3ae32d['stringify']=function(_0x2d5f0c,_0x4d1fb6){_0x4d1fb6=_0x4d1fb6||'';var _0x5843a4,_0x4fbd7d,_0x6f19fc=[];for(_0x4fbd7d in('string'!=typeof _0x4d1fb6&&(_0x4d1fb6='?'),_0x2d5f0c))if(_0x40fa1d['call'](_0x2d5f0c,_0x4fbd7d)){if((_0x5843a4=_0x2d5f0c[_0x4fbd7d])||null!=_0x5843a4&&!isNaN(_0x5843a4)||(_0x5843a4=''),_0x4fbd7d=_0x580345(_0x4fbd7d),_0x5843a4=_0x580345(_0x5843a4),null===_0x4fbd7d||null===_0x5843a4)continue;_0x6f19fc['push'](_0x4fbd7d+'='+_0x5843a4);}return _0x6f19fc['length']?_0x4d1fb6+_0x6f19fc['join']('&'):'';},_0x3ae32d['parse']=function(_0x39127e){for(var _0x5b34b4,_0x23e0f9=/([^=?#&]+)=?([^&]*)/g,_0xafcf88={};_0x5b34b4=_0x23e0f9['exec'](_0x39127e);){var _0x287d05=_0x3d990c(_0x5b34b4[0x1]),_0x3ddb13=_0x3d990c(_0x5b34b4[0x2]);null===_0x287d05||null===_0x3ddb13||_0x287d05 in _0xafcf88||(_0xafcf88[_0x287d05]=_0x3ddb13);}return _0xafcf88;};}),_0x524339=_0x947326((_0x39a0e5,_0x4ac526)=>{var _0x556d9f=_0x28d278(),_0x3be257=_0x4b9f7c(),_0x565187=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x56559a=/[\n\r\t]/g,_0x376eea=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x264d8c=/:\d+$/,_0x4cf2a1=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x5effd7=/^[a-zA-Z]:/;function _0x4f0628(_0x5290af){return(_0x5290af||'')['toString']()['replace'](_0x565187,'');}var _0x51a1e4=[['#','hash'],['?','query'],function(_0x505385,_0x5bab8d){return _0xa8bd7(_0x5bab8d['protocol'])?_0x505385['replace'](/\\/g,'/'):_0x505385;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x351a4b={'hash':0x1,'query':0x1};function _0xf79382(_0x458da8){var _0x44eb36,_0x5c4516=('undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{})['location']||{},_0x3baded={},_0x1de3f5=typeof(_0x458da8=_0x458da8||_0x5c4516);if('blob:'===_0x458da8['protocol'])_0x3baded=new _0x26bb44(unescape(_0x458da8['pathname']),{});else{if('string'===_0x1de3f5){for(_0x44eb36 in(_0x3baded=new _0x26bb44(_0x458da8,{}),_0x351a4b))delete _0x3baded[_0x44eb36];}else{if('object'===_0x1de3f5){for(_0x44eb36 in _0x458da8)_0x44eb36 in _0x351a4b||(_0x3baded[_0x44eb36]=_0x458da8[_0x44eb36]);void 0x0===_0x3baded['slashes']&&(_0x3baded['slashes']=_0x376eea['test'](_0x458da8['href']));}}}return _0x3baded;}function _0xa8bd7(_0x422d15){return'file:'===_0x422d15||'ftp:'===_0x422d15||'http:'===_0x422d15||'https:'===_0x422d15||'ws:'===_0x422d15||'wss:'===_0x422d15;}function _0x55ffba(_0x53645d,_0x5539e4){_0x53645d=(_0x53645d=_0x4f0628(_0x53645d))['replace'](_0x56559a,''),_0x5539e4=_0x5539e4||{};var _0x30fdd7,_0x2a7632=_0x4cf2a1['exec'](_0x53645d),_0x2993f0=_0x2a7632[0x1]?_0x2a7632[0x1]['toLowerCase']():'',_0x19612b=!!_0x2a7632[0x2],_0x3e6fd7=!!_0x2a7632[0x3],_0x1341a9=0x0;return _0x19612b?_0x3e6fd7?(_0x30fdd7=_0x2a7632[0x2]+_0x2a7632[0x3]+_0x2a7632[0x4],_0x1341a9=_0x2a7632[0x2]['length']+_0x2a7632[0x3]['length']):(_0x30fdd7=_0x2a7632[0x2]+_0x2a7632[0x4],_0x1341a9=_0x2a7632[0x2]['length']):_0x3e6fd7?(_0x30fdd7=_0x2a7632[0x3]+_0x2a7632[0x4],_0x1341a9=_0x2a7632[0x3]['length']):_0x30fdd7=_0x2a7632[0x4],'file:'===_0x2993f0?_0x1341a9>=0x2&&(_0x30fdd7=_0x30fdd7['slice'](0x2)):_0xa8bd7(_0x2993f0)?_0x30fdd7=_0x2a7632[0x4]:_0x2993f0?_0x19612b&&(_0x30fdd7=_0x30fdd7['slice'](0x2)):_0x1341a9>=0x2&&_0xa8bd7(_0x5539e4['protocol'])&&(_0x30fdd7=_0x2a7632[0x4]),{'protocol':_0x2993f0,'slashes':_0x19612b||_0xa8bd7(_0x2993f0),'slashesCount':_0x1341a9,'rest':_0x30fdd7};}function _0x26bb44(_0x131d99,_0x540871,_0x48d331){if(_0x131d99=(_0x131d99=_0x4f0628(_0x131d99))['replace'](_0x56559a,''),!(this instanceof _0x26bb44))return new _0x26bb44(_0x131d99,_0x540871,_0x48d331);var _0x42d79a,_0x4a343f,_0x5488a3,_0x6689f9,_0x1efad7,_0x5bac34,_0x553c47=_0x51a1e4['slice'](),_0x3b3c3d=typeof _0x540871,_0x1196fb=this,_0x54778f=0x0;for('object'!==_0x3b3c3d&&'string'!==_0x3b3c3d&&(_0x48d331=_0x540871,_0x540871=null),_0x48d331&&'function'!=typeof _0x48d331&&(_0x48d331=_0x3be257['parse']),_0x42d79a=!(_0x4a343f=_0x55ffba(_0x131d99||'',_0x540871=_0xf79382(_0x540871)))['protocol']&&!_0x4a343f['slashes'],_0x1196fb['slashes']=_0x4a343f['slashes']||_0x42d79a&&_0x540871['slashes'],_0x1196fb['protocol']=_0x4a343f['protocol']||_0x540871['protocol']||'',_0x131d99=_0x4a343f['rest'],('file:'===_0x4a343f['protocol']&&(0x2!==_0x4a343f['slashesCount']||_0x5effd7['test'](_0x131d99))||!_0x4a343f['slashes']&&(_0x4a343f['protocol']||_0x4a343f['slashesCount']<0x2||!_0xa8bd7(_0x1196fb['protocol'])))&&(_0x553c47[0x3]=[/(.*)/,'pathname']);_0x54778f<_0x553c47['length'];_0x54778f++)'function'!=typeof(_0x6689f9=_0x553c47[_0x54778f])?(_0x5488a3=_0x6689f9[0x0],_0x5bac34=_0x6689f9[0x1],_0x5488a3!=_0x5488a3?_0x1196fb[_0x5bac34]=_0x131d99:'string'==typeof _0x5488a3?~(_0x1efad7='@'===_0x5488a3?_0x131d99['lastIndexOf'](_0x5488a3):_0x131d99['indexOf'](_0x5488a3))&&('number'==typeof _0x6689f9[0x2]?(_0x1196fb[_0x5bac34]=_0x131d99['slice'](0x0,_0x1efad7),_0x131d99=_0x131d99['slice'](_0x1efad7+_0x6689f9[0x2])):(_0x1196fb[_0x5bac34]=_0x131d99['slice'](_0x1efad7),_0x131d99=_0x131d99['slice'](0x0,_0x1efad7))):(_0x1efad7=_0x5488a3['exec'](_0x131d99))&&(_0x1196fb[_0x5bac34]=_0x1efad7[0x1],_0x131d99=_0x131d99['slice'](0x0,_0x1efad7['index'])),_0x1196fb[_0x5bac34]=_0x1196fb[_0x5bac34]||_0x42d79a&&_0x6689f9[0x3]&&_0x540871[_0x5bac34]||'',_0x6689f9[0x4]&&(_0x1196fb[_0x5bac34]=_0x1196fb[_0x5bac34]['toLowerCase']())):_0x131d99=_0x6689f9(_0x131d99,_0x1196fb);_0x48d331&&(_0x1196fb['query']=_0x48d331(_0x1196fb['query'])),_0x42d79a&&_0x540871['slashes']&&'/'!==_0x1196fb['pathname']['charAt'](0x0)&&(''!==_0x1196fb['pathname']||''!==_0x540871['pathname'])&&(_0x1196fb['pathname']=function(_0x52fb68,_0x56d4bf){if(''===_0x52fb68)return _0x56d4bf;for(var _0x1a5f69=(_0x56d4bf||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x52fb68['split']('/')),_0x3dfcc1=_0x1a5f69['length'],_0x174c9a=_0x1a5f69[_0x3dfcc1-0x1],_0x3c9fe1=!0x1,_0x3293dd=0x0;_0x3dfcc1--;)'.'===_0x1a5f69[_0x3dfcc1]?_0x1a5f69['splice'](_0x3dfcc1,0x1):'..'===_0x1a5f69[_0x3dfcc1]?(_0x1a5f69['splice'](_0x3dfcc1,0x1),_0x3293dd++):_0x3293dd&&(0x0===_0x3dfcc1&&(_0x3c9fe1=!0x0),_0x1a5f69['splice'](_0x3dfcc1,0x1),_0x3293dd--);return _0x3c9fe1&&_0x1a5f69['unshift'](''),'.'!==_0x174c9a&&'..'!==_0x174c9a||_0x1a5f69['push'](''),_0x1a5f69['join']('/');}(_0x1196fb['pathname'],_0x540871['pathname'])),'/'!==_0x1196fb['pathname']['charAt'](0x0)&&_0xa8bd7(_0x1196fb['protocol'])&&(_0x1196fb['pathname']='/'+_0x1196fb['pathname']),_0x556d9f(_0x1196fb['port'],_0x1196fb['protocol'])||(_0x1196fb['host']=_0x1196fb['hostname'],_0x1196fb['port']=''),_0x1196fb['username']=_0x1196fb['password']='',_0x1196fb['auth']&&(~(_0x1efad7=_0x1196fb['auth']['indexOf'](':'))?(_0x1196fb['username']=_0x1196fb['auth']['slice'](0x0,_0x1efad7),_0x1196fb['username']=encodeURIComponent(decodeURIComponent(_0x1196fb['username'])),_0x1196fb['password']=_0x1196fb['auth']['slice'](_0x1efad7+0x1),_0x1196fb['password']=encodeURIComponent(decodeURIComponent(_0x1196fb['password']))):_0x1196fb['username']=encodeURIComponent(decodeURIComponent(_0x1196fb['auth'])),_0x1196fb['auth']=_0x1196fb['password']?_0x1196fb['username']+':'+_0x1196fb['password']:_0x1196fb['username']),_0x1196fb['origin']='file:'!==_0x1196fb['protocol']&&_0xa8bd7(_0x1196fb['protocol'])&&_0x1196fb['host']?_0x1196fb['protocol']+'//'+_0x1196fb['host']:'null',_0x1196fb['href']=_0x1196fb['toString']();}_0x26bb44['prototype']={'set':function(_0x2afaea,_0xce6661,_0x256652){var _0x49ccb1=this;switch(_0x2afaea){case'query':'string'==typeof _0xce6661&&_0xce6661['length']&&(_0xce6661=(_0x256652||_0x3be257['parse'])(_0xce6661)),_0x49ccb1[_0x2afaea]=_0xce6661;break;case'port':_0x49ccb1[_0x2afaea]=_0xce6661,_0x556d9f(_0xce6661,_0x49ccb1['protocol'])?_0xce6661&&(_0x49ccb1['host']=_0x49ccb1['hostname']+':'+_0xce6661):(_0x49ccb1['host']=_0x49ccb1['hostname'],_0x49ccb1[_0x2afaea]='');break;case'hostname':_0x49ccb1[_0x2afaea]=_0xce6661,_0x49ccb1['port']&&(_0xce6661+=':'+_0x49ccb1['port']),_0x49ccb1['host']=_0xce6661;break;case'host':_0x49ccb1[_0x2afaea]=_0xce6661,_0x264d8c['test'](_0xce6661)?(_0xce6661=_0xce6661['split'](':'),_0x49ccb1['port']=_0xce6661['pop'](),_0x49ccb1['hostname']=_0xce6661['join'](':')):(_0x49ccb1['hostname']=_0xce6661,_0x49ccb1['port']='');break;case'protocol':_0x49ccb1['protocol']=_0xce6661['toLowerCase'](),_0x49ccb1['slashes']=!_0x256652;break;case'pathname':case'hash':if(_0xce6661){var _0x2f0fcd='pathname'===_0x2afaea?'/':'#';_0x49ccb1[_0x2afaea]=_0xce6661['charAt'](0x0)!==_0x2f0fcd?_0x2f0fcd+_0xce6661:_0xce6661;}else _0x49ccb1[_0x2afaea]=_0xce6661;break;case'username':case'password':_0x49ccb1[_0x2afaea]=encodeURIComponent(_0xce6661);break;case'auth':var _0x313cd7=_0xce6661['indexOf'](':');~_0x313cd7?(_0x49ccb1['username']=_0xce6661['slice'](0x0,_0x313cd7),_0x49ccb1['username']=encodeURIComponent(decodeURIComponent(_0x49ccb1['username'])),_0x49ccb1['password']=_0xce6661['slice'](_0x313cd7+0x1),_0x49ccb1['password']=encodeURIComponent(decodeURIComponent(_0x49ccb1['password']))):_0x49ccb1['username']=encodeURIComponent(decodeURIComponent(_0xce6661));}for(var _0x1b55da=0x0;_0x1b55da<_0x51a1e4['length'];_0x1b55da++){var _0x4f9754=_0x51a1e4[_0x1b55da];_0x4f9754[0x4]&&(_0x49ccb1[_0x4f9754[0x1]]=_0x49ccb1[_0x4f9754[0x1]]['toLowerCase']());}return _0x49ccb1['auth']=_0x49ccb1['password']?_0x49ccb1['username']+':'+_0x49ccb1['password']:_0x49ccb1['username'],_0x49ccb1['origin']='file:'!==_0x49ccb1['protocol']&&_0xa8bd7(_0x49ccb1['protocol'])&&_0x49ccb1['host']?_0x49ccb1['protocol']+'//'+_0x49ccb1['host']:'null',_0x49ccb1['href']=_0x49ccb1['toString'](),_0x49ccb1;},'toString':function(_0x352772){_0x352772&&'function'==typeof _0x352772||(_0x352772=_0x3be257['stringify']);var _0x23a5c0,_0x10bb08=this,_0x10bc24=_0x10bb08['host'],_0x3de0b0=_0x10bb08['protocol'];_0x3de0b0&&':'!==_0x3de0b0['charAt'](_0x3de0b0['length']-0x1)&&(_0x3de0b0+=':');var _0x47e3e8=_0x3de0b0+(_0x10bb08['protocol']&&_0x10bb08['slashes']||_0xa8bd7(_0x10bb08['protocol'])?'//':'');return _0x10bb08['username']?(_0x47e3e8+=_0x10bb08['username'],_0x10bb08['password']&&(_0x47e3e8+=':'+_0x10bb08['password']),_0x47e3e8+='@'):_0x10bb08['password']?(_0x47e3e8+=':'+_0x10bb08['password'],_0x47e3e8+='@'):'file:'!==_0x10bb08['protocol']&&_0xa8bd7(_0x10bb08['protocol'])&&!_0x10bc24&&'/'!==_0x10bb08['pathname']&&(_0x47e3e8+='@'),(':'===_0x10bc24[_0x10bc24['length']-0x1]||_0x264d8c['test'](_0x10bb08['hostname'])&&!_0x10bb08['port'])&&(_0x10bc24+=':'),_0x47e3e8+=_0x10bc24+_0x10bb08['pathname'],(_0x23a5c0='object'==typeof _0x10bb08['query']?_0x352772(_0x10bb08['query']):_0x10bb08['query'])&&(_0x47e3e8+='?'!==_0x23a5c0['charAt'](0x0)?'?'+_0x23a5c0:_0x23a5c0),_0x10bb08['hash']&&(_0x47e3e8+=_0x10bb08['hash']),_0x47e3e8;}},_0x26bb44['extractProtocol']=_0x55ffba,_0x26bb44['location']=_0xf79382,_0x26bb44['trimLeft']=_0x4f0628,_0x26bb44['qs']=_0x3be257,_0x4ac526['exports']=_0x26bb44;});const _0x137c80=new Uint8Array(0x10),_0xb47391=[];for(let _0x11eef4=0x0;_0x11eef4<0x100;++_0x11eef4)_0xb47391['push']((_0x11eef4+0x100)['toString'](0x10)['slice'](0x1));function _0x431ce6(_0x350cf8,_0x543b07,_0x4f8329){return _0x543b07||_0x350cf8||!crypto['randomUUID']?function(_0x2930e2,_0x10ceae,_0x777a88){_0x2930e2=_0x2930e2||{};const _0x97c9cd=_0x2930e2['random']??_0x2930e2['rng']?.()??crypto['getRandomValues'](_0x137c80);if(_0x97c9cd['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');if(_0x97c9cd[0x6]=0xf&_0x97c9cd[0x6]|0x40,_0x97c9cd[0x8]=0x3f&_0x97c9cd[0x8]|0x80,_0x10ceae){if((_0x777a88=_0x777a88||0x0)<0x0||_0x777a88+0x10>_0x10ceae['length'])throw new RangeError('UUID\x20byte\x20range\x20'+_0x777a88+':'+(_0x777a88+0xf)+'\x20is\x20out\x20of\x20buffer\x20bounds');for(let _0x17230c=0x0;_0x17230c<0x10;++_0x17230c)_0x10ceae[_0x777a88+_0x17230c]=_0x97c9cd[_0x17230c];return _0x10ceae;}return function(_0x637da0,_0x5680a6=0x0){return(_0xb47391[_0x637da0[_0x5680a6+0x0]]+_0xb47391[_0x637da0[_0x5680a6+0x1]]+_0xb47391[_0x637da0[_0x5680a6+0x2]]+_0xb47391[_0x637da0[_0x5680a6+0x3]]+'-'+_0xb47391[_0x637da0[_0x5680a6+0x4]]+_0xb47391[_0x637da0[_0x5680a6+0x5]]+'-'+_0xb47391[_0x637da0[_0x5680a6+0x6]]+_0xb47391[_0x637da0[_0x5680a6+0x7]]+'-'+_0xb47391[_0x637da0[_0x5680a6+0x8]]+_0xb47391[_0x637da0[_0x5680a6+0x9]]+'-'+_0xb47391[_0x637da0[_0x5680a6+0xa]]+_0xb47391[_0x637da0[_0x5680a6+0xb]]+_0xb47391[_0x637da0[_0x5680a6+0xc]]+_0xb47391[_0x637da0[_0x5680a6+0xd]]+_0xb47391[_0x637da0[_0x5680a6+0xe]]+_0xb47391[_0x637da0[_0x5680a6+0xf]])['toLowerCase']();}(_0x97c9cd);}(_0x350cf8,_0x543b07,_0x4f8329):crypto['randomUUID']();}var _0x41286a=_0x5e0457(_0x524339(),0x1),_0x2380e6=class{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x3eea2c){}},_0x27edad=class extends _0x2380e6{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x77b574){super();}static['fromJSON'](_0x21af85){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}},_0x2940be=class GetUserMessage extends _0x27edad{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x18be9b){super(),this['id']=_0x18be9b;}toJSON(){return{'id':this['id']};}static['fromJSON'](_0xe264a5){return new GetUserMessage(_0xe264a5['id']);}},_0x230833=class GetUserResponse extends _0x27edad{attributes;static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x151f11){super(),this['attributes']=_0x151f11;}toJSON(){return{'attributes':Object['keys'](this['attributes'])['map'](_0x365133=>({'key':_0x365133,'value':JSON['stringify'](this['attributes'][_0x365133])}))};}static['fromJSON'](_0x5edf61){const _0x37de18=_0x5edf61['attributes']['reduce']((_0x2282e8,_0x500ee0)=>(_0x2282e8[_0x500ee0['key']]=_0x500ee0['value']?JSON['parse'](_0x500ee0['value']):null,_0x2282e8),{});return new GetUserResponse(_0x37de18);}};const _0x8864d7=((()=>{var _0x280c77=_0x2a7f4f['default']['Reader'],_0x5c509e=_0x2a7f4f['default']['Writer'],_0x1ca790=_0x2a7f4f['default']['util'],_0x4f54f6=_0x2a7f4f['default']['roots']['default']||(_0x2a7f4f['default']['roots']['default']={});return _0x4f54f6['StringStringPacketDataMessage']=(function(){function _0x29527c(_0x213bfb){if(_0x213bfb){for(var _0x30fd3a=Object['keys'](_0x213bfb),_0x3ab881=0x0;_0x3ab881<_0x30fd3a['length'];++_0x3ab881)null!=_0x213bfb[_0x30fd3a[_0x3ab881]]&&'__proto__'!==_0x30fd3a[_0x3ab881]&&(this[_0x30fd3a[_0x3ab881]]=_0x213bfb[_0x30fd3a[_0x3ab881]]);}}return _0x29527c['prototype']['data']='',_0x29527c['prototype']['data1']='',_0x29527c['create']=function(_0x3f9aa6){return new _0x29527c(_0x3f9aa6);},_0x29527c['encode']=function(_0x2130d5,_0x5493d3,_0x19c2e4){if(_0x5493d3||(_0x5493d3=_0x5c509e['create']()),void 0x0===_0x19c2e4&&(_0x19c2e4=0x0),_0x19c2e4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2130d5['data']&&Object['hasOwnProperty']['call'](_0x2130d5,'data')&&_0x5493d3['uint32'](0xa)['string'](_0x2130d5['data']),null!=_0x2130d5['data1']&&Object['hasOwnProperty']['call'](_0x2130d5,'data1')&&_0x5493d3['uint32'](0x12)['string'](_0x2130d5['data1']),_0x5493d3;},_0x29527c['encodeDelimited']=function(_0x8f4a4a,_0x405837){return this['encode'](_0x8f4a4a,_0x405837)['ldelim']();},_0x29527c['decode']=function(_0x20b315,_0x37ffd8,_0x2fe923,_0x2e6861){if(_0x20b315 instanceof _0x280c77||(_0x20b315=_0x280c77['create'](_0x20b315)),void 0x0===_0x2e6861&&(_0x2e6861=0x0),_0x2e6861>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a1349=void 0x0===_0x37ffd8?_0x20b315['len']:_0x20b315['pos']+_0x37ffd8,_0x349c10=new _0x4f54f6['StringStringPacketDataMessage']();_0x20b315['pos']<_0x5a1349;){var _0x14ae06=_0x20b315['uint32']();if(_0x14ae06===_0x2fe923)break;switch(_0x14ae06>>>0x3){case 0x1:_0x349c10['data']=_0x20b315['string']();break;case 0x2:_0x349c10['data1']=_0x20b315['string']();break;default:_0x20b315['skipType'](0x7&_0x14ae06,_0x2e6861);}}return _0x349c10;},_0x29527c['decodeDelimited']=function(_0x1f3bf4){return _0x1f3bf4 instanceof _0x280c77||(_0x1f3bf4=new _0x280c77(_0x1f3bf4)),this['decode'](_0x1f3bf4,_0x1f3bf4['uint32']());},_0x29527c['verify']=function(_0x4cafec,_0x1a1ecf){return'object'!=typeof _0x4cafec||null===_0x4cafec?'object\x20expected':(void 0x0===_0x1a1ecf&&(_0x1a1ecf=0x0),_0x1a1ecf>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4cafec['data']&&Object['hasOwnProperty']['call'](_0x4cafec,'data')&&!_0x1ca790['isString'](_0x4cafec['data'])?'data:\x20string\x20expected':null!=_0x4cafec['data1']&&Object['hasOwnProperty']['call'](_0x4cafec,'data1')&&!_0x1ca790['isString'](_0x4cafec['data1'])?'data1:\x20string\x20expected':null);},_0x29527c['fromObject']=function(_0x9aa6df,_0x9b530e){if(_0x9aa6df instanceof _0x4f54f6['StringStringPacketDataMessage'])return _0x9aa6df;if(!_0x1ca790['isObject'](_0x9aa6df))throw TypeError('.StringStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x9b530e&&(_0x9b530e=0x0),_0x9b530e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x595626=new _0x4f54f6['StringStringPacketDataMessage']();return null!=_0x9aa6df['data']&&(_0x595626['data']=String(_0x9aa6df['data'])),null!=_0x9aa6df['data1']&&(_0x595626['data1']=String(_0x9aa6df['data1'])),_0x595626;},_0x29527c['toObject']=function(_0x515aad,_0x268d5b,_0x5f4900){if(_0x268d5b||(_0x268d5b={}),void 0x0===_0x5f4900&&(_0x5f4900=0x0),_0x5f4900>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4c4cce={};return _0x268d5b['defaults']&&(_0x4c4cce['data']='',_0x4c4cce['data1']=''),null!=_0x515aad['data']&&Object['hasOwnProperty']['call'](_0x515aad,'data')&&(_0x4c4cce['data']=_0x515aad['data']),null!=_0x515aad['data1']&&Object['hasOwnProperty']['call'](_0x515aad,'data1')&&(_0x4c4cce['data1']=_0x515aad['data1']),_0x4c4cce;},_0x29527c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x29527c['getTypeUrl']=function(_0x2161a1){return void 0x0===_0x2161a1&&(_0x2161a1='type.googleapis.com'),_0x2161a1+'/StringStringPacketDataMessage';},_0x29527c;}()),_0x4f54f6['StringObjectPacketDataMessage']=(function(){function _0x27cbfe(_0x993641){if(_0x993641){for(var _0x27e131=Object['keys'](_0x993641),_0x261f7d=0x0;_0x261f7d<_0x27e131['length'];++_0x261f7d)null!=_0x993641[_0x27e131[_0x261f7d]]&&'__proto__'!==_0x27e131[_0x261f7d]&&(this[_0x27e131[_0x261f7d]]=_0x993641[_0x27e131[_0x261f7d]]);}}return _0x27cbfe['prototype']['data']='',_0x27cbfe['prototype']['data1']='',_0x27cbfe['create']=function(_0x5012b3){return new _0x27cbfe(_0x5012b3);},_0x27cbfe['encode']=function(_0x5c2c4b,_0x5210b2,_0x289248){if(_0x5210b2||(_0x5210b2=_0x5c509e['create']()),void 0x0===_0x289248&&(_0x289248=0x0),_0x289248>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5c2c4b['data']&&Object['hasOwnProperty']['call'](_0x5c2c4b,'data')&&_0x5210b2['uint32'](0xa)['string'](_0x5c2c4b['data']),null!=_0x5c2c4b['data1']&&Object['hasOwnProperty']['call'](_0x5c2c4b,'data1')&&_0x5210b2['uint32'](0x12)['string'](_0x5c2c4b['data1']),_0x5210b2;},_0x27cbfe['encodeDelimited']=function(_0x90a035,_0x3a3253){return this['encode'](_0x90a035,_0x3a3253)['ldelim']();},_0x27cbfe['decode']=function(_0x304af0,_0x955431,_0x6fecf8,_0x2ee712){if(_0x304af0 instanceof _0x280c77||(_0x304af0=_0x280c77['create'](_0x304af0)),void 0x0===_0x2ee712&&(_0x2ee712=0x0),_0x2ee712>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3adb5d=void 0x0===_0x955431?_0x304af0['len']:_0x304af0['pos']+_0x955431,_0x216497=new _0x4f54f6['StringObjectPacketDataMessage']();_0x304af0['pos']<_0x3adb5d;){var _0x4decd3=_0x304af0['uint32']();if(_0x4decd3===_0x6fecf8)break;switch(_0x4decd3>>>0x3){case 0x1:_0x216497['data']=_0x304af0['string']();break;case 0x2:_0x216497['data1']=_0x304af0['string']();break;default:_0x304af0['skipType'](0x7&_0x4decd3,_0x2ee712);}}return _0x216497;},_0x27cbfe['decodeDelimited']=function(_0x201fde){return _0x201fde instanceof _0x280c77||(_0x201fde=new _0x280c77(_0x201fde)),this['decode'](_0x201fde,_0x201fde['uint32']());},_0x27cbfe['verify']=function(_0x1b0461,_0x51b116){return'object'!=typeof _0x1b0461||null===_0x1b0461?'object\x20expected':(void 0x0===_0x51b116&&(_0x51b116=0x0),_0x51b116>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1b0461['data']&&Object['hasOwnProperty']['call'](_0x1b0461,'data')&&!_0x1ca790['isString'](_0x1b0461['data'])?'data:\x20string\x20expected':null!=_0x1b0461['data1']&&Object['hasOwnProperty']['call'](_0x1b0461,'data1')&&!_0x1ca790['isString'](_0x1b0461['data1'])?'data1:\x20string\x20expected':null);},_0x27cbfe['fromObject']=function(_0x4ff8e0,_0x41dded){if(_0x4ff8e0 instanceof _0x4f54f6['StringObjectPacketDataMessage'])return _0x4ff8e0;if(!_0x1ca790['isObject'](_0x4ff8e0))throw TypeError('.StringObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x41dded&&(_0x41dded=0x0),_0x41dded>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xc51b2d=new _0x4f54f6['StringObjectPacketDataMessage']();return null!=_0x4ff8e0['data']&&(_0xc51b2d['data']=String(_0x4ff8e0['data'])),null!=_0x4ff8e0['data1']&&(_0xc51b2d['data1']=String(_0x4ff8e0['data1'])),_0xc51b2d;},_0x27cbfe['toObject']=function(_0x2ca1f0,_0x4866c6,_0x1c45de){if(_0x4866c6||(_0x4866c6={}),void 0x0===_0x1c45de&&(_0x1c45de=0x0),_0x1c45de>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x28ce3d={};return _0x4866c6['defaults']&&(_0x28ce3d['data']='',_0x28ce3d['data1']=''),null!=_0x2ca1f0['data']&&Object['hasOwnProperty']['call'](_0x2ca1f0,'data')&&(_0x28ce3d['data']=_0x2ca1f0['data']),null!=_0x2ca1f0['data1']&&Object['hasOwnProperty']['call'](_0x2ca1f0,'data1')&&(_0x28ce3d['data1']=_0x2ca1f0['data1']),_0x28ce3d;},_0x27cbfe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x27cbfe['getTypeUrl']=function(_0x2dd25f){return void 0x0===_0x2dd25f&&(_0x2dd25f='type.googleapis.com'),_0x2dd25f+'/StringObjectPacketDataMessage';},_0x27cbfe;}()),_0x4f54f6['StringNumberPacketDataMessage']=(function(){function _0x13d167(_0x154481){if(_0x154481){for(var _0x358379=Object['keys'](_0x154481),_0x250073=0x0;_0x250073<_0x358379['length'];++_0x250073)null!=_0x154481[_0x358379[_0x250073]]&&'__proto__'!==_0x358379[_0x250073]&&(this[_0x358379[_0x250073]]=_0x154481[_0x358379[_0x250073]]);}}return _0x13d167['prototype']['data']='',_0x13d167['prototype']['data1']=0x0,_0x13d167['create']=function(_0x26a19e){return new _0x13d167(_0x26a19e);},_0x13d167['encode']=function(_0x3e6cd9,_0x5a5c84,_0x5aefb4){if(_0x5a5c84||(_0x5a5c84=_0x5c509e['create']()),void 0x0===_0x5aefb4&&(_0x5aefb4=0x0),_0x5aefb4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3e6cd9['data']&&Object['hasOwnProperty']['call'](_0x3e6cd9,'data')&&_0x5a5c84['uint32'](0xa)['string'](_0x3e6cd9['data']),null!=_0x3e6cd9['data1']&&Object['hasOwnProperty']['call'](_0x3e6cd9,'data1')&&_0x5a5c84['uint32'](0x10)['uint32'](_0x3e6cd9['data1']),_0x5a5c84;},_0x13d167['encodeDelimited']=function(_0x26da93,_0x367f94){return this['encode'](_0x26da93,_0x367f94)['ldelim']();},_0x13d167['decode']=function(_0x4da71c,_0x46f5c4,_0x1bef83,_0x1a0c17){if(_0x4da71c instanceof _0x280c77||(_0x4da71c=_0x280c77['create'](_0x4da71c)),void 0x0===_0x1a0c17&&(_0x1a0c17=0x0),_0x1a0c17>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x220c69=void 0x0===_0x46f5c4?_0x4da71c['len']:_0x4da71c['pos']+_0x46f5c4,_0x4bb05c=new _0x4f54f6['StringNumberPacketDataMessage']();_0x4da71c['pos']<_0x220c69;){var _0x97edbf=_0x4da71c['uint32']();if(_0x97edbf===_0x1bef83)break;switch(_0x97edbf>>>0x3){case 0x1:_0x4bb05c['data']=_0x4da71c['string']();break;case 0x2:_0x4bb05c['data1']=_0x4da71c['uint32']();break;default:_0x4da71c['skipType'](0x7&_0x97edbf,_0x1a0c17);}}return _0x4bb05c;},_0x13d167['decodeDelimited']=function(_0x5a318d){return _0x5a318d instanceof _0x280c77||(_0x5a318d=new _0x280c77(_0x5a318d)),this['decode'](_0x5a318d,_0x5a318d['uint32']());},_0x13d167['verify']=function(_0x507886,_0x5f307b){return'object'!=typeof _0x507886||null===_0x507886?'object\x20expected':(void 0x0===_0x5f307b&&(_0x5f307b=0x0),_0x5f307b>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x507886['data']&&Object['hasOwnProperty']['call'](_0x507886,'data')&&!_0x1ca790['isString'](_0x507886['data'])?'data:\x20string\x20expected':null!=_0x507886['data1']&&Object['hasOwnProperty']['call'](_0x507886,'data1')&&!_0x1ca790['isInteger'](_0x507886['data1'])?'data1:\x20integer\x20expected':null);},_0x13d167['fromObject']=function(_0x18ae46,_0x5e6d69){if(_0x18ae46 instanceof _0x4f54f6['StringNumberPacketDataMessage'])return _0x18ae46;if(!_0x1ca790['isObject'](_0x18ae46))throw TypeError('.StringNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x5e6d69&&(_0x5e6d69=0x0),_0x5e6d69>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xc78ee1=new _0x4f54f6['StringNumberPacketDataMessage']();return null!=_0x18ae46['data']&&(_0xc78ee1['data']=String(_0x18ae46['data'])),null!=_0x18ae46['data1']&&(_0xc78ee1['data1']=_0x18ae46['data1']>>>0x0),_0xc78ee1;},_0x13d167['toObject']=function(_0xdfdd51,_0x5954c6,_0x4f4422){if(_0x5954c6||(_0x5954c6={}),void 0x0===_0x4f4422&&(_0x4f4422=0x0),_0x4f4422>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4520a3={};return _0x5954c6['defaults']&&(_0x4520a3['data']='',_0x4520a3['data1']=0x0),null!=_0xdfdd51['data']&&Object['hasOwnProperty']['call'](_0xdfdd51,'data')&&(_0x4520a3['data']=_0xdfdd51['data']),null!=_0xdfdd51['data1']&&Object['hasOwnProperty']['call'](_0xdfdd51,'data1')&&(_0x4520a3['data1']=_0xdfdd51['data1']),_0x4520a3;},_0x13d167['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x13d167['getTypeUrl']=function(_0x539724){return void 0x0===_0x539724&&(_0x539724='type.googleapis.com'),_0x539724+'/StringNumberPacketDataMessage';},_0x13d167;}()),_0x4f54f6['StringBytesPacketDataMessage']=(function(){function _0x84187d(_0x4ae450){if(_0x4ae450){for(var _0x2911d5=Object['keys'](_0x4ae450),_0x373d16=0x0;_0x373d16<_0x2911d5['length'];++_0x373d16)null!=_0x4ae450[_0x2911d5[_0x373d16]]&&'__proto__'!==_0x2911d5[_0x373d16]&&(this[_0x2911d5[_0x373d16]]=_0x4ae450[_0x2911d5[_0x373d16]]);}}return _0x84187d['prototype']['data']='',_0x84187d['prototype']['data1']=_0x1ca790['newBuffer']([]),_0x84187d['create']=function(_0x58b121){return new _0x84187d(_0x58b121);},_0x84187d['encode']=function(_0xc4efff,_0x5b0264,_0x3a543c){if(_0x5b0264||(_0x5b0264=_0x5c509e['create']()),void 0x0===_0x3a543c&&(_0x3a543c=0x0),_0x3a543c>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xc4efff['data']&&Object['hasOwnProperty']['call'](_0xc4efff,'data')&&_0x5b0264['uint32'](0xa)['string'](_0xc4efff['data']),null!=_0xc4efff['data1']&&Object['hasOwnProperty']['call'](_0xc4efff,'data1')&&_0x5b0264['uint32'](0x12)['bytes'](_0xc4efff['data1']),_0x5b0264;},_0x84187d['encodeDelimited']=function(_0x37c1e3,_0x3010e8){return this['encode'](_0x37c1e3,_0x3010e8)['ldelim']();},_0x84187d['decode']=function(_0x96d928,_0x410b05,_0x35a76c,_0x22871c){if(_0x96d928 instanceof _0x280c77||(_0x96d928=_0x280c77['create'](_0x96d928)),void 0x0===_0x22871c&&(_0x22871c=0x0),_0x22871c>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x517b0d=void 0x0===_0x410b05?_0x96d928['len']:_0x96d928['pos']+_0x410b05,_0x576213=new _0x4f54f6['StringBytesPacketDataMessage']();_0x96d928['pos']<_0x517b0d;){var _0x3807c1=_0x96d928['uint32']();if(_0x3807c1===_0x35a76c)break;switch(_0x3807c1>>>0x3){case 0x1:_0x576213['data']=_0x96d928['string']();break;case 0x2:_0x576213['data1']=_0x96d928['bytes']();break;default:_0x96d928['skipType'](0x7&_0x3807c1,_0x22871c);}}return _0x576213;},_0x84187d['decodeDelimited']=function(_0x243cba){return _0x243cba instanceof _0x280c77||(_0x243cba=new _0x280c77(_0x243cba)),this['decode'](_0x243cba,_0x243cba['uint32']());},_0x84187d['verify']=function(_0x28aaec,_0x5ec8a8){return'object'!=typeof _0x28aaec||null===_0x28aaec?'object\x20expected':(void 0x0===_0x5ec8a8&&(_0x5ec8a8=0x0),_0x5ec8a8>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x28aaec['data']&&Object['hasOwnProperty']['call'](_0x28aaec,'data')&&!_0x1ca790['isString'](_0x28aaec['data'])?'data:\x20string\x20expected':null!=_0x28aaec['data1']&&Object['hasOwnProperty']['call'](_0x28aaec,'data1')&&!(_0x28aaec['data1']&&'number'==typeof _0x28aaec['data1']['length']||_0x1ca790['isString'](_0x28aaec['data1']))?'data1:\x20buffer\x20expected':null);},_0x84187d['fromObject']=function(_0x4dc4cc,_0x325bb9){if(_0x4dc4cc instanceof _0x4f54f6['StringBytesPacketDataMessage'])return _0x4dc4cc;if(!_0x1ca790['isObject'](_0x4dc4cc))throw TypeError('.StringBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x325bb9&&(_0x325bb9=0x0),_0x325bb9>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1d4c3f=new _0x4f54f6['StringBytesPacketDataMessage']();return null!=_0x4dc4cc['data']&&(_0x1d4c3f['data']=String(_0x4dc4cc['data'])),null!=_0x4dc4cc['data1']&&('string'==typeof _0x4dc4cc['data1']?_0x1ca790['base64']['decode'](_0x4dc4cc['data1'],_0x1d4c3f['data1']=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x4dc4cc['data1'])),0x0):_0x4dc4cc['data1']['length']>=0x0&&(_0x1d4c3f['data1']=_0x4dc4cc['data1'])),_0x1d4c3f;},_0x84187d['toObject']=function(_0x3afa97,_0x481544,_0x2e22fb){if(_0x481544||(_0x481544={}),void 0x0===_0x2e22fb&&(_0x2e22fb=0x0),_0x2e22fb>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4f0098={};return _0x481544['defaults']&&(_0x4f0098['data']='',_0x481544['bytes']===String?_0x4f0098['data1']='':(_0x4f0098['data1']=[],_0x481544['bytes']!==Array&&(_0x4f0098['data1']=_0x1ca790['newBuffer'](_0x4f0098['data1'])))),null!=_0x3afa97['data']&&Object['hasOwnProperty']['call'](_0x3afa97,'data')&&(_0x4f0098['data']=_0x3afa97['data']),null!=_0x3afa97['data1']&&Object['hasOwnProperty']['call'](_0x3afa97,'data1')&&(_0x4f0098['data1']=_0x481544['bytes']===String?_0x1ca790['base64']['encode'](_0x3afa97['data1'],0x0,_0x3afa97['data1']['length']):_0x481544['bytes']===Array?Array['prototype']['slice']['call'](_0x3afa97['data1']):_0x3afa97['data1']),_0x4f0098;},_0x84187d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x84187d['getTypeUrl']=function(_0x107e4f){return void 0x0===_0x107e4f&&(_0x107e4f='type.googleapis.com'),_0x107e4f+'/StringBytesPacketDataMessage';},_0x84187d;}()),_0x4f54f6['PacketOptionsMessage']=(function(){function _0x2740d7(_0x49dd5f){if(this['rooms']=[],this['except']=[],_0x49dd5f){for(var _0xc6fe99=Object['keys'](_0x49dd5f),_0x5d7a7d=0x0;_0x5d7a7d<_0xc6fe99['length'];++_0x5d7a7d)null!=_0x49dd5f[_0xc6fe99[_0x5d7a7d]]&&'__proto__'!==_0xc6fe99[_0x5d7a7d]&&(this[_0xc6fe99[_0x5d7a7d]]=_0x49dd5f[_0xc6fe99[_0x5d7a7d]]);}}return _0x2740d7['prototype']['flags']='',_0x2740d7['prototype']['rooms']=_0x1ca790['emptyArray'],_0x2740d7['prototype']['except']=_0x1ca790['emptyArray'],_0x2740d7['create']=function(_0x2d175e){return new _0x2740d7(_0x2d175e);},_0x2740d7['encode']=function(_0x588547,_0xe4868a,_0x2f12b2){if(_0xe4868a||(_0xe4868a=_0x5c509e['create']()),void 0x0===_0x2f12b2&&(_0x2f12b2=0x0),_0x2f12b2>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x588547['flags']&&Object['hasOwnProperty']['call'](_0x588547,'flags')&&_0xe4868a['uint32'](0xa)['string'](_0x588547['flags']),null!=_0x588547['rooms']&&_0x588547['rooms']['length']){for(var _0x490198=0x0;_0x490198<_0x588547['rooms']['length'];++_0x490198)_0xe4868a['uint32'](0x12)['string'](_0x588547['rooms'][_0x490198]);}if(null!=_0x588547['except']&&_0x588547['except']['length']){for(_0x490198=0x0;_0x490198<_0x588547['except']['length'];++_0x490198)_0xe4868a['uint32'](0x1a)['string'](_0x588547['except'][_0x490198]);}return _0xe4868a;},_0x2740d7['encodeDelimited']=function(_0x2be9c0,_0x2a62b7){return this['encode'](_0x2be9c0,_0x2a62b7)['ldelim']();},_0x2740d7['decode']=function(_0x1d327f,_0x394ca5,_0x38d134,_0x17e339){if(_0x1d327f instanceof _0x280c77||(_0x1d327f=_0x280c77['create'](_0x1d327f)),void 0x0===_0x17e339&&(_0x17e339=0x0),_0x17e339>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x9787c0=void 0x0===_0x394ca5?_0x1d327f['len']:_0x1d327f['pos']+_0x394ca5,_0x2d0938=new _0x4f54f6['PacketOptionsMessage']();_0x1d327f['pos']<_0x9787c0;){var _0x5d4cd4=_0x1d327f['uint32']();if(_0x5d4cd4===_0x38d134)break;switch(_0x5d4cd4>>>0x3){case 0x1:_0x2d0938['flags']=_0x1d327f['string']();break;case 0x2:_0x2d0938['rooms']&&_0x2d0938['rooms']['length']||(_0x2d0938['rooms']=[]),_0x2d0938['rooms']['push'](_0x1d327f['string']());break;case 0x3:_0x2d0938['except']&&_0x2d0938['except']['length']||(_0x2d0938['except']=[]),_0x2d0938['except']['push'](_0x1d327f['string']());break;default:_0x1d327f['skipType'](0x7&_0x5d4cd4,_0x17e339);}}return _0x2d0938;},_0x2740d7['decodeDelimited']=function(_0x878a90){return _0x878a90 instanceof _0x280c77||(_0x878a90=new _0x280c77(_0x878a90)),this['decode'](_0x878a90,_0x878a90['uint32']());},_0x2740d7['verify']=function(_0x514489,_0x5ee0cd){if('object'!=typeof _0x514489||null===_0x514489)return'object\x20expected';if(void 0x0===_0x5ee0cd&&(_0x5ee0cd=0x0),_0x5ee0cd>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x514489['flags']&&Object['hasOwnProperty']['call'](_0x514489,'flags')&&!_0x1ca790['isString'](_0x514489['flags']))return'flags:\x20string\x20expected';if(null!=_0x514489['rooms']&&Object['hasOwnProperty']['call'](_0x514489,'rooms')){if(!Array['isArray'](_0x514489['rooms']))return'rooms:\x20array\x20expected';for(var _0x389cb4=0x0;_0x389cb4<_0x514489['rooms']['length'];++_0x389cb4)if(!_0x1ca790['isString'](_0x514489['rooms'][_0x389cb4]))return'rooms:\x20string[]\x20expected';}if(null!=_0x514489['except']&&Object['hasOwnProperty']['call'](_0x514489,'except')){if(!Array['isArray'](_0x514489['except']))return'except:\x20array\x20expected';for(_0x389cb4=0x0;_0x389cb4<_0x514489['except']['length'];++_0x389cb4)if(!_0x1ca790['isString'](_0x514489['except'][_0x389cb4]))return'except:\x20string[]\x20expected';}return null;},_0x2740d7['fromObject']=function(_0x54cb42,_0x197f8e){if(_0x54cb42 instanceof _0x4f54f6['PacketOptionsMessage'])return _0x54cb42;if(!_0x1ca790['isObject'](_0x54cb42))throw TypeError('.PacketOptionsMessage:\x20object\x20expected');if(void 0x0===_0x197f8e&&(_0x197f8e=0x0),_0x197f8e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3a89d4=new _0x4f54f6['PacketOptionsMessage']();if(null!=_0x54cb42['flags']&&(_0x3a89d4['flags']=String(_0x54cb42['flags'])),_0x54cb42['rooms']){if(!Array['isArray'](_0x54cb42['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x3a89d4['rooms']=[];for(var _0x264f71=0x0;_0x264f71<_0x54cb42['rooms']['length'];++_0x264f71)_0x3a89d4['rooms'][_0x264f71]=String(_0x54cb42['rooms'][_0x264f71]);}if(_0x54cb42['except']){if(!Array['isArray'](_0x54cb42['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x3a89d4['except']=[],_0x264f71=0x0;_0x264f71<_0x54cb42['except']['length'];++_0x264f71)_0x3a89d4['except'][_0x264f71]=String(_0x54cb42['except'][_0x264f71]);}return _0x3a89d4;},_0x2740d7['toObject']=function(_0xa765ea,_0x5baffc,_0x4f2bc4){if(_0x5baffc||(_0x5baffc={}),void 0x0===_0x4f2bc4&&(_0x4f2bc4=0x0),_0x4f2bc4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xb9fe16={};if((_0x5baffc['arrays']||_0x5baffc['defaults'])&&(_0xb9fe16['rooms']=[],_0xb9fe16['except']=[]),_0x5baffc['defaults']&&(_0xb9fe16['flags']=''),null!=_0xa765ea['flags']&&Object['hasOwnProperty']['call'](_0xa765ea,'flags')&&(_0xb9fe16['flags']=_0xa765ea['flags']),_0xa765ea['rooms']&&_0xa765ea['rooms']['length']){_0xb9fe16['rooms']=[];for(var _0x23c02e=0x0;_0x23c02e<_0xa765ea['rooms']['length'];++_0x23c02e)_0xb9fe16['rooms'][_0x23c02e]=_0xa765ea['rooms'][_0x23c02e];}if(_0xa765ea['except']&&_0xa765ea['except']['length']){for(_0xb9fe16['except']=[],_0x23c02e=0x0;_0x23c02e<_0xa765ea['except']['length'];++_0x23c02e)_0xb9fe16['except'][_0x23c02e]=_0xa765ea['except'][_0x23c02e];}return _0xb9fe16;},_0x2740d7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x2740d7['getTypeUrl']=function(_0x4e953e){return void 0x0===_0x4e953e&&(_0x4e953e='type.googleapis.com'),_0x4e953e+'/PacketOptionsMessage';},_0x2740d7;}()),_0x4f54f6['PacketMessage']=(function(){function _0x495152(_0x357a30){if(_0x357a30){for(var _0x2c6116=Object['keys'](_0x357a30),_0x4499ee=0x0;_0x4499ee<_0x2c6116['length'];++_0x4499ee)null!=_0x357a30[_0x2c6116[_0x4499ee]]&&'__proto__'!==_0x2c6116[_0x4499ee]&&(this[_0x2c6116[_0x4499ee]]=_0x357a30[_0x2c6116[_0x4499ee]]);}}return _0x495152['prototype']['type']=0x0,_0x495152['prototype']['id']=0x0,_0x495152['prototype']['nsp']='',_0x495152['prototype']['data']=_0x1ca790['newBuffer']([]),_0x495152['prototype']['options']=_0x1ca790['newBuffer']([]),_0x495152['create']=function(_0x14ffbe){return new _0x495152(_0x14ffbe);},_0x495152['encode']=function(_0x5c8341,_0x5e7ebc,_0x3db318){if(_0x5e7ebc||(_0x5e7ebc=_0x5c509e['create']()),void 0x0===_0x3db318&&(_0x3db318=0x0),_0x3db318>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5c8341['type']&&Object['hasOwnProperty']['call'](_0x5c8341,'type')&&_0x5e7ebc['uint32'](0x8)['uint32'](_0x5c8341['type']),null!=_0x5c8341['id']&&Object['hasOwnProperty']['call'](_0x5c8341,'id')&&_0x5e7ebc['uint32'](0x10)['uint32'](_0x5c8341['id']),null!=_0x5c8341['nsp']&&Object['hasOwnProperty']['call'](_0x5c8341,'nsp')&&_0x5e7ebc['uint32'](0x1a)['string'](_0x5c8341['nsp']),null!=_0x5c8341['data']&&Object['hasOwnProperty']['call'](_0x5c8341,'data')&&_0x5e7ebc['uint32'](0x22)['bytes'](_0x5c8341['data']),null!=_0x5c8341['options']&&Object['hasOwnProperty']['call'](_0x5c8341,'options')&&_0x5e7ebc['uint32'](0x2a)['bytes'](_0x5c8341['options']),_0x5e7ebc;},_0x495152['encodeDelimited']=function(_0x2692ed,_0x4928d8){return this['encode'](_0x2692ed,_0x4928d8)['ldelim']();},_0x495152['decode']=function(_0x582497,_0x340717,_0x5a8243,_0x277845){if(_0x582497 instanceof _0x280c77||(_0x582497=_0x280c77['create'](_0x582497)),void 0x0===_0x277845&&(_0x277845=0x0),_0x277845>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1a496a=void 0x0===_0x340717?_0x582497['len']:_0x582497['pos']+_0x340717,_0x2c8538=new _0x4f54f6['PacketMessage']();_0x582497['pos']<_0x1a496a;){var _0x4792ef=_0x582497['uint32']();if(_0x4792ef===_0x5a8243)break;switch(_0x4792ef>>>0x3){case 0x1:_0x2c8538['type']=_0x582497['uint32']();break;case 0x2:_0x2c8538['id']=_0x582497['uint32']();break;case 0x3:_0x2c8538['nsp']=_0x582497['string']();break;case 0x4:_0x2c8538['data']=_0x582497['bytes']();break;case 0x5:_0x2c8538['options']=_0x582497['bytes']();break;default:_0x582497['skipType'](0x7&_0x4792ef,_0x277845);}}return _0x2c8538;},_0x495152['decodeDelimited']=function(_0x20957c){return _0x20957c instanceof _0x280c77||(_0x20957c=new _0x280c77(_0x20957c)),this['decode'](_0x20957c,_0x20957c['uint32']());},_0x495152['verify']=function(_0x4393bf,_0x1f6ef8){return'object'!=typeof _0x4393bf||null===_0x4393bf?'object\x20expected':(void 0x0===_0x1f6ef8&&(_0x1f6ef8=0x0),_0x1f6ef8>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4393bf['type']&&Object['hasOwnProperty']['call'](_0x4393bf,'type')&&!_0x1ca790['isInteger'](_0x4393bf['type'])?'type:\x20integer\x20expected':null!=_0x4393bf['id']&&Object['hasOwnProperty']['call'](_0x4393bf,'id')&&!_0x1ca790['isInteger'](_0x4393bf['id'])?'id:\x20integer\x20expected':null!=_0x4393bf['nsp']&&Object['hasOwnProperty']['call'](_0x4393bf,'nsp')&&!_0x1ca790['isString'](_0x4393bf['nsp'])?'nsp:\x20string\x20expected':null!=_0x4393bf['data']&&Object['hasOwnProperty']['call'](_0x4393bf,'data')&&!(_0x4393bf['data']&&'number'==typeof _0x4393bf['data']['length']||_0x1ca790['isString'](_0x4393bf['data']))?'data:\x20buffer\x20expected':null!=_0x4393bf['options']&&Object['hasOwnProperty']['call'](_0x4393bf,'options')&&!(_0x4393bf['options']&&'number'==typeof _0x4393bf['options']['length']||_0x1ca790['isString'](_0x4393bf['options']))?'options:\x20buffer\x20expected':null);},_0x495152['fromObject']=function(_0x2fd8a9,_0xa3b9fd){if(_0x2fd8a9 instanceof _0x4f54f6['PacketMessage'])return _0x2fd8a9;if(!_0x1ca790['isObject'](_0x2fd8a9))throw TypeError('.PacketMessage:\x20object\x20expected');if(void 0x0===_0xa3b9fd&&(_0xa3b9fd=0x0),_0xa3b9fd>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x58253d=new _0x4f54f6['PacketMessage']();return null!=_0x2fd8a9['type']&&(_0x58253d['type']=_0x2fd8a9['type']>>>0x0),null!=_0x2fd8a9['id']&&(_0x58253d['id']=_0x2fd8a9['id']>>>0x0),null!=_0x2fd8a9['nsp']&&(_0x58253d['nsp']=String(_0x2fd8a9['nsp'])),null!=_0x2fd8a9['data']&&('string'==typeof _0x2fd8a9['data']?_0x1ca790['base64']['decode'](_0x2fd8a9['data'],_0x58253d['data']=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x2fd8a9['data'])),0x0):_0x2fd8a9['data']['length']>=0x0&&(_0x58253d['data']=_0x2fd8a9['data'])),null!=_0x2fd8a9['options']&&('string'==typeof _0x2fd8a9['options']?_0x1ca790['base64']['decode'](_0x2fd8a9['options'],_0x58253d['options']=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x2fd8a9['options'])),0x0):_0x2fd8a9['options']['length']>=0x0&&(_0x58253d['options']=_0x2fd8a9['options'])),_0x58253d;},_0x495152['toObject']=function(_0x5ae656,_0x3eaffb,_0x48faf1){if(_0x3eaffb||(_0x3eaffb={}),void 0x0===_0x48faf1&&(_0x48faf1=0x0),_0x48faf1>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xdd4f06={};return _0x3eaffb['defaults']&&(_0xdd4f06['type']=0x0,_0xdd4f06['id']=0x0,_0xdd4f06['nsp']='',_0x3eaffb['bytes']===String?_0xdd4f06['data']='':(_0xdd4f06['data']=[],_0x3eaffb['bytes']!==Array&&(_0xdd4f06['data']=_0x1ca790['newBuffer'](_0xdd4f06['data']))),_0x3eaffb['bytes']===String?_0xdd4f06['options']='':(_0xdd4f06['options']=[],_0x3eaffb['bytes']!==Array&&(_0xdd4f06['options']=_0x1ca790['newBuffer'](_0xdd4f06['options'])))),null!=_0x5ae656['type']&&Object['hasOwnProperty']['call'](_0x5ae656,'type')&&(_0xdd4f06['type']=_0x5ae656['type']),null!=_0x5ae656['id']&&Object['hasOwnProperty']['call'](_0x5ae656,'id')&&(_0xdd4f06['id']=_0x5ae656['id']),null!=_0x5ae656['nsp']&&Object['hasOwnProperty']['call'](_0x5ae656,'nsp')&&(_0xdd4f06['nsp']=_0x5ae656['nsp']),null!=_0x5ae656['data']&&Object['hasOwnProperty']['call'](_0x5ae656,'data')&&(_0xdd4f06['data']=_0x3eaffb['bytes']===String?_0x1ca790['base64']['encode'](_0x5ae656['data'],0x0,_0x5ae656['data']['length']):_0x3eaffb['bytes']===Array?Array['prototype']['slice']['call'](_0x5ae656['data']):_0x5ae656['data']),null!=_0x5ae656['options']&&Object['hasOwnProperty']['call'](_0x5ae656,'options')&&(_0xdd4f06['options']=_0x3eaffb['bytes']===String?_0x1ca790['base64']['encode'](_0x5ae656['options'],0x0,_0x5ae656['options']['length']):_0x3eaffb['bytes']===Array?Array['prototype']['slice']['call'](_0x5ae656['options']):_0x5ae656['options']),_0xdd4f06;},_0x495152['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x495152['getTypeUrl']=function(_0xa917ab){return void 0x0===_0xa917ab&&(_0xa917ab='type.googleapis.com'),_0xa917ab+'/PacketMessage';},_0x495152;}()),_0x4f54f6['ObjectObjectPacketDataMessage']=(function(){function _0x596625(_0x526096){if(_0x526096){for(var _0x31578f=Object['keys'](_0x526096),_0x5eb096=0x0;_0x5eb096<_0x31578f['length'];++_0x5eb096)null!=_0x526096[_0x31578f[_0x5eb096]]&&'__proto__'!==_0x31578f[_0x5eb096]&&(this[_0x31578f[_0x5eb096]]=_0x526096[_0x31578f[_0x5eb096]]);}}return _0x596625['prototype']['data']='',_0x596625['prototype']['data1']='',_0x596625['create']=function(_0x1ff0a8){return new _0x596625(_0x1ff0a8);},_0x596625['encode']=function(_0x3cbcf3,_0xfe366f,_0x1ad146){if(_0xfe366f||(_0xfe366f=_0x5c509e['create']()),void 0x0===_0x1ad146&&(_0x1ad146=0x0),_0x1ad146>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3cbcf3['data']&&Object['hasOwnProperty']['call'](_0x3cbcf3,'data')&&_0xfe366f['uint32'](0xa)['string'](_0x3cbcf3['data']),null!=_0x3cbcf3['data1']&&Object['hasOwnProperty']['call'](_0x3cbcf3,'data1')&&_0xfe366f['uint32'](0x12)['string'](_0x3cbcf3['data1']),_0xfe366f;},_0x596625['encodeDelimited']=function(_0x244e73,_0x575eda){return this['encode'](_0x244e73,_0x575eda)['ldelim']();},_0x596625['decode']=function(_0x44a50d,_0x4146e1,_0x3c8570,_0x4d1f2a){if(_0x44a50d instanceof _0x280c77||(_0x44a50d=_0x280c77['create'](_0x44a50d)),void 0x0===_0x4d1f2a&&(_0x4d1f2a=0x0),_0x4d1f2a>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2463e9=void 0x0===_0x4146e1?_0x44a50d['len']:_0x44a50d['pos']+_0x4146e1,_0x1d524c=new _0x4f54f6['ObjectObjectPacketDataMessage']();_0x44a50d['pos']<_0x2463e9;){var _0xc84f5d=_0x44a50d['uint32']();if(_0xc84f5d===_0x3c8570)break;switch(_0xc84f5d>>>0x3){case 0x1:_0x1d524c['data']=_0x44a50d['string']();break;case 0x2:_0x1d524c['data1']=_0x44a50d['string']();break;default:_0x44a50d['skipType'](0x7&_0xc84f5d,_0x4d1f2a);}}return _0x1d524c;},_0x596625['decodeDelimited']=function(_0x1bafad){return _0x1bafad instanceof _0x280c77||(_0x1bafad=new _0x280c77(_0x1bafad)),this['decode'](_0x1bafad,_0x1bafad['uint32']());},_0x596625['verify']=function(_0x2642d9,_0x42079b){return'object'!=typeof _0x2642d9||null===_0x2642d9?'object\x20expected':(void 0x0===_0x42079b&&(_0x42079b=0x0),_0x42079b>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2642d9['data']&&Object['hasOwnProperty']['call'](_0x2642d9,'data')&&!_0x1ca790['isString'](_0x2642d9['data'])?'data:\x20string\x20expected':null!=_0x2642d9['data1']&&Object['hasOwnProperty']['call'](_0x2642d9,'data1')&&!_0x1ca790['isString'](_0x2642d9['data1'])?'data1:\x20string\x20expected':null);},_0x596625['fromObject']=function(_0x81a0c7,_0x2acff6){if(_0x81a0c7 instanceof _0x4f54f6['ObjectObjectPacketDataMessage'])return _0x81a0c7;if(!_0x1ca790['isObject'](_0x81a0c7))throw TypeError('.ObjectObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x2acff6&&(_0x2acff6=0x0),_0x2acff6>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x587165=new _0x4f54f6['ObjectObjectPacketDataMessage']();return null!=_0x81a0c7['data']&&(_0x587165['data']=String(_0x81a0c7['data'])),null!=_0x81a0c7['data1']&&(_0x587165['data1']=String(_0x81a0c7['data1'])),_0x587165;},_0x596625['toObject']=function(_0x2e9e1f,_0x77cdc4,_0x3a58aa){if(_0x77cdc4||(_0x77cdc4={}),void 0x0===_0x3a58aa&&(_0x3a58aa=0x0),_0x3a58aa>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xe3ef30={};return _0x77cdc4['defaults']&&(_0xe3ef30['data']='',_0xe3ef30['data1']=''),null!=_0x2e9e1f['data']&&Object['hasOwnProperty']['call'](_0x2e9e1f,'data')&&(_0xe3ef30['data']=_0x2e9e1f['data']),null!=_0x2e9e1f['data1']&&Object['hasOwnProperty']['call'](_0x2e9e1f,'data1')&&(_0xe3ef30['data1']=_0x2e9e1f['data1']),_0xe3ef30;},_0x596625['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x596625['getTypeUrl']=function(_0x36f18b){return void 0x0===_0x36f18b&&(_0x36f18b='type.googleapis.com'),_0x36f18b+'/ObjectObjectPacketDataMessage';},_0x596625;}()),_0x4f54f6['ObjectBufferPacketDataMessage']=(function(){function _0x4bd8b7(_0x4d8ec0){if(_0x4d8ec0){for(var _0x158e1e=Object['keys'](_0x4d8ec0),_0x415d65=0x0;_0x415d65<_0x158e1e['length'];++_0x415d65)null!=_0x4d8ec0[_0x158e1e[_0x415d65]]&&'__proto__'!==_0x158e1e[_0x415d65]&&(this[_0x158e1e[_0x415d65]]=_0x4d8ec0[_0x158e1e[_0x415d65]]);}}return _0x4bd8b7['prototype']['data']='',_0x4bd8b7['prototype']['data1']=_0x1ca790['newBuffer']([]),_0x4bd8b7['create']=function(_0x398328){return new _0x4bd8b7(_0x398328);},_0x4bd8b7['encode']=function(_0x179340,_0x476cfc,_0x2a8877){if(_0x476cfc||(_0x476cfc=_0x5c509e['create']()),void 0x0===_0x2a8877&&(_0x2a8877=0x0),_0x2a8877>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x179340['data']&&Object['hasOwnProperty']['call'](_0x179340,'data')&&_0x476cfc['uint32'](0xa)['string'](_0x179340['data']),null!=_0x179340['data1']&&Object['hasOwnProperty']['call'](_0x179340,'data1')&&_0x476cfc['uint32'](0x12)['bytes'](_0x179340['data1']),_0x476cfc;},_0x4bd8b7['encodeDelimited']=function(_0x30d72b,_0x5c5667){return this['encode'](_0x30d72b,_0x5c5667)['ldelim']();},_0x4bd8b7['decode']=function(_0x1003ca,_0x224e47,_0x4ba0dc,_0x3a42e8){if(_0x1003ca instanceof _0x280c77||(_0x1003ca=_0x280c77['create'](_0x1003ca)),void 0x0===_0x3a42e8&&(_0x3a42e8=0x0),_0x3a42e8>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5926d7=void 0x0===_0x224e47?_0x1003ca['len']:_0x1003ca['pos']+_0x224e47,_0x4295f7=new _0x4f54f6['ObjectBufferPacketDataMessage']();_0x1003ca['pos']<_0x5926d7;){var _0x5c24cd=_0x1003ca['uint32']();if(_0x5c24cd===_0x4ba0dc)break;switch(_0x5c24cd>>>0x3){case 0x1:_0x4295f7['data']=_0x1003ca['string']();break;case 0x2:_0x4295f7['data1']=_0x1003ca['bytes']();break;default:_0x1003ca['skipType'](0x7&_0x5c24cd,_0x3a42e8);}}return _0x4295f7;},_0x4bd8b7['decodeDelimited']=function(_0x2a64c4){return _0x2a64c4 instanceof _0x280c77||(_0x2a64c4=new _0x280c77(_0x2a64c4)),this['decode'](_0x2a64c4,_0x2a64c4['uint32']());},_0x4bd8b7['verify']=function(_0xe028a2,_0x594711){return'object'!=typeof _0xe028a2||null===_0xe028a2?'object\x20expected':(void 0x0===_0x594711&&(_0x594711=0x0),_0x594711>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xe028a2['data']&&Object['hasOwnProperty']['call'](_0xe028a2,'data')&&!_0x1ca790['isString'](_0xe028a2['data'])?'data:\x20string\x20expected':null!=_0xe028a2['data1']&&Object['hasOwnProperty']['call'](_0xe028a2,'data1')&&!(_0xe028a2['data1']&&'number'==typeof _0xe028a2['data1']['length']||_0x1ca790['isString'](_0xe028a2['data1']))?'data1:\x20buffer\x20expected':null);},_0x4bd8b7['fromObject']=function(_0x128542,_0x3c7256){if(_0x128542 instanceof _0x4f54f6['ObjectBufferPacketDataMessage'])return _0x128542;if(!_0x1ca790['isObject'](_0x128542))throw TypeError('.ObjectBufferPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x3c7256&&(_0x3c7256=0x0),_0x3c7256>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x7873c8=new _0x4f54f6['ObjectBufferPacketDataMessage']();return null!=_0x128542['data']&&(_0x7873c8['data']=String(_0x128542['data'])),null!=_0x128542['data1']&&('string'==typeof _0x128542['data1']?_0x1ca790['base64']['decode'](_0x128542['data1'],_0x7873c8['data1']=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x128542['data1'])),0x0):_0x128542['data1']['length']>=0x0&&(_0x7873c8['data1']=_0x128542['data1'])),_0x7873c8;},_0x4bd8b7['toObject']=function(_0x45edcd,_0x3e6315,_0x3b4fd0){if(_0x3e6315||(_0x3e6315={}),void 0x0===_0x3b4fd0&&(_0x3b4fd0=0x0),_0x3b4fd0>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5f30ea={};return _0x3e6315['defaults']&&(_0x5f30ea['data']='',_0x3e6315['bytes']===String?_0x5f30ea['data1']='':(_0x5f30ea['data1']=[],_0x3e6315['bytes']!==Array&&(_0x5f30ea['data1']=_0x1ca790['newBuffer'](_0x5f30ea['data1'])))),null!=_0x45edcd['data']&&Object['hasOwnProperty']['call'](_0x45edcd,'data')&&(_0x5f30ea['data']=_0x45edcd['data']),null!=_0x45edcd['data1']&&Object['hasOwnProperty']['call'](_0x45edcd,'data1')&&(_0x5f30ea['data1']=_0x3e6315['bytes']===String?_0x1ca790['base64']['encode'](_0x45edcd['data1'],0x0,_0x45edcd['data1']['length']):_0x3e6315['bytes']===Array?Array['prototype']['slice']['call'](_0x45edcd['data1']):_0x45edcd['data1']),_0x5f30ea;},_0x4bd8b7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x4bd8b7['getTypeUrl']=function(_0x455fd8){return void 0x0===_0x455fd8&&(_0x455fd8='type.googleapis.com'),_0x455fd8+'/ObjectBufferPacketDataMessage';},_0x4bd8b7;}()),_0x4f54f6['NumberStringPacketDataMessage']=(function(){function _0x45d7ed(_0xd31906){if(_0xd31906){for(var _0x336d44=Object['keys'](_0xd31906),_0x261c51=0x0;_0x261c51<_0x336d44['length'];++_0x261c51)null!=_0xd31906[_0x336d44[_0x261c51]]&&'__proto__'!==_0x336d44[_0x261c51]&&(this[_0x336d44[_0x261c51]]=_0xd31906[_0x336d44[_0x261c51]]);}}return _0x45d7ed['prototype']['data']=0x0,_0x45d7ed['prototype']['data1']='',_0x45d7ed['create']=function(_0x5431cd){return new _0x45d7ed(_0x5431cd);},_0x45d7ed['encode']=function(_0x471a93,_0x8ba36c,_0x1cf2b6){if(_0x8ba36c||(_0x8ba36c=_0x5c509e['create']()),void 0x0===_0x1cf2b6&&(_0x1cf2b6=0x0),_0x1cf2b6>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x471a93['data']&&Object['hasOwnProperty']['call'](_0x471a93,'data')&&_0x8ba36c['uint32'](0x8)['uint32'](_0x471a93['data']),null!=_0x471a93['data1']&&Object['hasOwnProperty']['call'](_0x471a93,'data1')&&_0x8ba36c['uint32'](0x12)['string'](_0x471a93['data1']),_0x8ba36c;},_0x45d7ed['encodeDelimited']=function(_0x3726bd,_0x289e87){return this['encode'](_0x3726bd,_0x289e87)['ldelim']();},_0x45d7ed['decode']=function(_0x1490ec,_0x379c03,_0x5a9e15,_0x1fa7d0){if(_0x1490ec instanceof _0x280c77||(_0x1490ec=_0x280c77['create'](_0x1490ec)),void 0x0===_0x1fa7d0&&(_0x1fa7d0=0x0),_0x1fa7d0>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27568f=void 0x0===_0x379c03?_0x1490ec['len']:_0x1490ec['pos']+_0x379c03,_0x26293f=new _0x4f54f6['NumberStringPacketDataMessage']();_0x1490ec['pos']<_0x27568f;){var _0x3caac5=_0x1490ec['uint32']();if(_0x3caac5===_0x5a9e15)break;switch(_0x3caac5>>>0x3){case 0x1:_0x26293f['data']=_0x1490ec['uint32']();break;case 0x2:_0x26293f['data1']=_0x1490ec['string']();break;default:_0x1490ec['skipType'](0x7&_0x3caac5,_0x1fa7d0);}}return _0x26293f;},_0x45d7ed['decodeDelimited']=function(_0x5a3483){return _0x5a3483 instanceof _0x280c77||(_0x5a3483=new _0x280c77(_0x5a3483)),this['decode'](_0x5a3483,_0x5a3483['uint32']());},_0x45d7ed['verify']=function(_0x1503ab,_0x19b7b9){return'object'!=typeof _0x1503ab||null===_0x1503ab?'object\x20expected':(void 0x0===_0x19b7b9&&(_0x19b7b9=0x0),_0x19b7b9>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1503ab['data']&&Object['hasOwnProperty']['call'](_0x1503ab,'data')&&!_0x1ca790['isInteger'](_0x1503ab['data'])?'data:\x20integer\x20expected':null!=_0x1503ab['data1']&&Object['hasOwnProperty']['call'](_0x1503ab,'data1')&&!_0x1ca790['isString'](_0x1503ab['data1'])?'data1:\x20string\x20expected':null);},_0x45d7ed['fromObject']=function(_0x59f447,_0x26087e){if(_0x59f447 instanceof _0x4f54f6['NumberStringPacketDataMessage'])return _0x59f447;if(!_0x1ca790['isObject'](_0x59f447))throw TypeError('.NumberStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x26087e&&(_0x26087e=0x0),_0x26087e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2c6c09=new _0x4f54f6['NumberStringPacketDataMessage']();return null!=_0x59f447['data']&&(_0x2c6c09['data']=_0x59f447['data']>>>0x0),null!=_0x59f447['data1']&&(_0x2c6c09['data1']=String(_0x59f447['data1'])),_0x2c6c09;},_0x45d7ed['toObject']=function(_0x1cd33d,_0x505a42,_0x12be44){if(_0x505a42||(_0x505a42={}),void 0x0===_0x12be44&&(_0x12be44=0x0),_0x12be44>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x11f122={};return _0x505a42['defaults']&&(_0x11f122['data']=0x0,_0x11f122['data1']=''),null!=_0x1cd33d['data']&&Object['hasOwnProperty']['call'](_0x1cd33d,'data')&&(_0x11f122['data']=_0x1cd33d['data']),null!=_0x1cd33d['data1']&&Object['hasOwnProperty']['call'](_0x1cd33d,'data1')&&(_0x11f122['data1']=_0x1cd33d['data1']),_0x11f122;},_0x45d7ed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x45d7ed['getTypeUrl']=function(_0x5a21e9){return void 0x0===_0x5a21e9&&(_0x5a21e9='type.googleapis.com'),_0x5a21e9+'/NumberStringPacketDataMessage';},_0x45d7ed;}()),_0x4f54f6['NumberObjectPacketDataMessage']=(function(){function _0x5a7f25(_0x2d45d0){if(_0x2d45d0){for(var _0x2fb76c=Object['keys'](_0x2d45d0),_0x20ccec=0x0;_0x20ccec<_0x2fb76c['length'];++_0x20ccec)null!=_0x2d45d0[_0x2fb76c[_0x20ccec]]&&'__proto__'!==_0x2fb76c[_0x20ccec]&&(this[_0x2fb76c[_0x20ccec]]=_0x2d45d0[_0x2fb76c[_0x20ccec]]);}}return _0x5a7f25['prototype']['data']=0x0,_0x5a7f25['prototype']['data1']='',_0x5a7f25['create']=function(_0x11bf1e){return new _0x5a7f25(_0x11bf1e);},_0x5a7f25['encode']=function(_0x399ffe,_0x22267c,_0x2c4e00){if(_0x22267c||(_0x22267c=_0x5c509e['create']()),void 0x0===_0x2c4e00&&(_0x2c4e00=0x0),_0x2c4e00>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x399ffe['data']&&Object['hasOwnProperty']['call'](_0x399ffe,'data')&&_0x22267c['uint32'](0x8)['uint32'](_0x399ffe['data']),null!=_0x399ffe['data1']&&Object['hasOwnProperty']['call'](_0x399ffe,'data1')&&_0x22267c['uint32'](0x12)['string'](_0x399ffe['data1']),_0x22267c;},_0x5a7f25['encodeDelimited']=function(_0x4cf67f,_0x5c0246){return this['encode'](_0x4cf67f,_0x5c0246)['ldelim']();},_0x5a7f25['decode']=function(_0x11fe26,_0x1a0338,_0x5caa5d,_0x1a498e){if(_0x11fe26 instanceof _0x280c77||(_0x11fe26=_0x280c77['create'](_0x11fe26)),void 0x0===_0x1a498e&&(_0x1a498e=0x0),_0x1a498e>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x32363f=void 0x0===_0x1a0338?_0x11fe26['len']:_0x11fe26['pos']+_0x1a0338,_0xa0cd34=new _0x4f54f6['NumberObjectPacketDataMessage']();_0x11fe26['pos']<_0x32363f;){var _0x544925=_0x11fe26['uint32']();if(_0x544925===_0x5caa5d)break;switch(_0x544925>>>0x3){case 0x1:_0xa0cd34['data']=_0x11fe26['uint32']();break;case 0x2:_0xa0cd34['data1']=_0x11fe26['string']();break;default:_0x11fe26['skipType'](0x7&_0x544925,_0x1a498e);}}return _0xa0cd34;},_0x5a7f25['decodeDelimited']=function(_0x3c44ac){return _0x3c44ac instanceof _0x280c77||(_0x3c44ac=new _0x280c77(_0x3c44ac)),this['decode'](_0x3c44ac,_0x3c44ac['uint32']());},_0x5a7f25['verify']=function(_0x469d15,_0x4692c6){return'object'!=typeof _0x469d15||null===_0x469d15?'object\x20expected':(void 0x0===_0x4692c6&&(_0x4692c6=0x0),_0x4692c6>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x469d15['data']&&Object['hasOwnProperty']['call'](_0x469d15,'data')&&!_0x1ca790['isInteger'](_0x469d15['data'])?'data:\x20integer\x20expected':null!=_0x469d15['data1']&&Object['hasOwnProperty']['call'](_0x469d15,'data1')&&!_0x1ca790['isString'](_0x469d15['data1'])?'data1:\x20string\x20expected':null);},_0x5a7f25['fromObject']=function(_0x40bd5f,_0x34d09e){if(_0x40bd5f instanceof _0x4f54f6['NumberObjectPacketDataMessage'])return _0x40bd5f;if(!_0x1ca790['isObject'](_0x40bd5f))throw TypeError('.NumberObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x34d09e&&(_0x34d09e=0x0),_0x34d09e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xb11035=new _0x4f54f6['NumberObjectPacketDataMessage']();return null!=_0x40bd5f['data']&&(_0xb11035['data']=_0x40bd5f['data']>>>0x0),null!=_0x40bd5f['data1']&&(_0xb11035['data1']=String(_0x40bd5f['data1'])),_0xb11035;},_0x5a7f25['toObject']=function(_0x1f3bf7,_0x29a89b,_0x27eee5){if(_0x29a89b||(_0x29a89b={}),void 0x0===_0x27eee5&&(_0x27eee5=0x0),_0x27eee5>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4e3f25={};return _0x29a89b['defaults']&&(_0x4e3f25['data']=0x0,_0x4e3f25['data1']=''),null!=_0x1f3bf7['data']&&Object['hasOwnProperty']['call'](_0x1f3bf7,'data')&&(_0x4e3f25['data']=_0x1f3bf7['data']),null!=_0x1f3bf7['data1']&&Object['hasOwnProperty']['call'](_0x1f3bf7,'data1')&&(_0x4e3f25['data1']=_0x1f3bf7['data1']),_0x4e3f25;},_0x5a7f25['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5a7f25['getTypeUrl']=function(_0x331e8d){return void 0x0===_0x331e8d&&(_0x331e8d='type.googleapis.com'),_0x331e8d+'/NumberObjectPacketDataMessage';},_0x5a7f25;}()),_0x4f54f6['NumberNumberPacketDataMessage']=(function(){function _0x4b0c08(_0x57bde1){if(_0x57bde1){for(var _0x4a4a14=Object['keys'](_0x57bde1),_0x4426f8=0x0;_0x4426f8<_0x4a4a14['length'];++_0x4426f8)null!=_0x57bde1[_0x4a4a14[_0x4426f8]]&&'__proto__'!==_0x4a4a14[_0x4426f8]&&(this[_0x4a4a14[_0x4426f8]]=_0x57bde1[_0x4a4a14[_0x4426f8]]);}}return _0x4b0c08['prototype']['data']=0x0,_0x4b0c08['prototype']['data1']=0x0,_0x4b0c08['create']=function(_0x4f7574){return new _0x4b0c08(_0x4f7574);},_0x4b0c08['encode']=function(_0x1ac7c2,_0x5cea1e,_0x51819c){if(_0x5cea1e||(_0x5cea1e=_0x5c509e['create']()),void 0x0===_0x51819c&&(_0x51819c=0x0),_0x51819c>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1ac7c2['data']&&Object['hasOwnProperty']['call'](_0x1ac7c2,'data')&&_0x5cea1e['uint32'](0x8)['uint32'](_0x1ac7c2['data']),null!=_0x1ac7c2['data1']&&Object['hasOwnProperty']['call'](_0x1ac7c2,'data1')&&_0x5cea1e['uint32'](0x10)['uint32'](_0x1ac7c2['data1']),_0x5cea1e;},_0x4b0c08['encodeDelimited']=function(_0x53de2e,_0x118dbf){return this['encode'](_0x53de2e,_0x118dbf)['ldelim']();},_0x4b0c08['decode']=function(_0x8a44b7,_0xd7d146,_0x3ed471,_0x10af41){if(_0x8a44b7 instanceof _0x280c77||(_0x8a44b7=_0x280c77['create'](_0x8a44b7)),void 0x0===_0x10af41&&(_0x10af41=0x0),_0x10af41>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1368dc=void 0x0===_0xd7d146?_0x8a44b7['len']:_0x8a44b7['pos']+_0xd7d146,_0x12178d=new _0x4f54f6['NumberNumberPacketDataMessage']();_0x8a44b7['pos']<_0x1368dc;){var _0x54ed98=_0x8a44b7['uint32']();if(_0x54ed98===_0x3ed471)break;switch(_0x54ed98>>>0x3){case 0x1:_0x12178d['data']=_0x8a44b7['uint32']();break;case 0x2:_0x12178d['data1']=_0x8a44b7['uint32']();break;default:_0x8a44b7['skipType'](0x7&_0x54ed98,_0x10af41);}}return _0x12178d;},_0x4b0c08['decodeDelimited']=function(_0x574178){return _0x574178 instanceof _0x280c77||(_0x574178=new _0x280c77(_0x574178)),this['decode'](_0x574178,_0x574178['uint32']());},_0x4b0c08['verify']=function(_0x2f0b5a,_0x2068f2){return'object'!=typeof _0x2f0b5a||null===_0x2f0b5a?'object\x20expected':(void 0x0===_0x2068f2&&(_0x2068f2=0x0),_0x2068f2>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2f0b5a['data']&&Object['hasOwnProperty']['call'](_0x2f0b5a,'data')&&!_0x1ca790['isInteger'](_0x2f0b5a['data'])?'data:\x20integer\x20expected':null!=_0x2f0b5a['data1']&&Object['hasOwnProperty']['call'](_0x2f0b5a,'data1')&&!_0x1ca790['isInteger'](_0x2f0b5a['data1'])?'data1:\x20integer\x20expected':null);},_0x4b0c08['fromObject']=function(_0x56e15a,_0x377322){if(_0x56e15a instanceof _0x4f54f6['NumberNumberPacketDataMessage'])return _0x56e15a;if(!_0x1ca790['isObject'](_0x56e15a))throw TypeError('.NumberNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x377322&&(_0x377322=0x0),_0x377322>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4aa824=new _0x4f54f6['NumberNumberPacketDataMessage']();return null!=_0x56e15a['data']&&(_0x4aa824['data']=_0x56e15a['data']>>>0x0),null!=_0x56e15a['data1']&&(_0x4aa824['data1']=_0x56e15a['data1']>>>0x0),_0x4aa824;},_0x4b0c08['toObject']=function(_0x18fcdf,_0x35bb22,_0x66a823){if(_0x35bb22||(_0x35bb22={}),void 0x0===_0x66a823&&(_0x66a823=0x0),_0x66a823>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3fccad={};return _0x35bb22['defaults']&&(_0x3fccad['data']=0x0,_0x3fccad['data1']=0x0),null!=_0x18fcdf['data']&&Object['hasOwnProperty']['call'](_0x18fcdf,'data')&&(_0x3fccad['data']=_0x18fcdf['data']),null!=_0x18fcdf['data1']&&Object['hasOwnProperty']['call'](_0x18fcdf,'data1')&&(_0x3fccad['data1']=_0x18fcdf['data1']),_0x3fccad;},_0x4b0c08['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x4b0c08['getTypeUrl']=function(_0x4b3201){return void 0x0===_0x4b3201&&(_0x4b3201='type.googleapis.com'),_0x4b3201+'/NumberNumberPacketDataMessage';},_0x4b0c08;}()),_0x4f54f6['NumberBytesPacketDataMessage']=(function(){function _0x1f43eb(_0x1a8c0f){if(_0x1a8c0f){for(var _0x7a3ced=Object['keys'](_0x1a8c0f),_0x4788e3=0x0;_0x4788e3<_0x7a3ced['length'];++_0x4788e3)null!=_0x1a8c0f[_0x7a3ced[_0x4788e3]]&&'__proto__'!==_0x7a3ced[_0x4788e3]&&(this[_0x7a3ced[_0x4788e3]]=_0x1a8c0f[_0x7a3ced[_0x4788e3]]);}}return _0x1f43eb['prototype']['data']=0x0,_0x1f43eb['prototype']['data1']=_0x1ca790['newBuffer']([]),_0x1f43eb['create']=function(_0x21bf4f){return new _0x1f43eb(_0x21bf4f);},_0x1f43eb['encode']=function(_0x59eca1,_0x1a37a2,_0x4ca791){if(_0x1a37a2||(_0x1a37a2=_0x5c509e['create']()),void 0x0===_0x4ca791&&(_0x4ca791=0x0),_0x4ca791>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x59eca1['data']&&Object['hasOwnProperty']['call'](_0x59eca1,'data')&&_0x1a37a2['uint32'](0x8)['uint32'](_0x59eca1['data']),null!=_0x59eca1['data1']&&Object['hasOwnProperty']['call'](_0x59eca1,'data1')&&_0x1a37a2['uint32'](0x12)['bytes'](_0x59eca1['data1']),_0x1a37a2;},_0x1f43eb['encodeDelimited']=function(_0x3e0883,_0x48656c){return this['encode'](_0x3e0883,_0x48656c)['ldelim']();},_0x1f43eb['decode']=function(_0x593f55,_0x431593,_0x4b8309,_0x4babda){if(_0x593f55 instanceof _0x280c77||(_0x593f55=_0x280c77['create'](_0x593f55)),void 0x0===_0x4babda&&(_0x4babda=0x0),_0x4babda>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x18025b=void 0x0===_0x431593?_0x593f55['len']:_0x593f55['pos']+_0x431593,_0x11a20e=new _0x4f54f6['NumberBytesPacketDataMessage']();_0x593f55['pos']<_0x18025b;){var _0x397f3c=_0x593f55['uint32']();if(_0x397f3c===_0x4b8309)break;switch(_0x397f3c>>>0x3){case 0x1:_0x11a20e['data']=_0x593f55['uint32']();break;case 0x2:_0x11a20e['data1']=_0x593f55['bytes']();break;default:_0x593f55['skipType'](0x7&_0x397f3c,_0x4babda);}}return _0x11a20e;},_0x1f43eb['decodeDelimited']=function(_0x3e2d23){return _0x3e2d23 instanceof _0x280c77||(_0x3e2d23=new _0x280c77(_0x3e2d23)),this['decode'](_0x3e2d23,_0x3e2d23['uint32']());},_0x1f43eb['verify']=function(_0x2c6322,_0x444ec0){return'object'!=typeof _0x2c6322||null===_0x2c6322?'object\x20expected':(void 0x0===_0x444ec0&&(_0x444ec0=0x0),_0x444ec0>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2c6322['data']&&Object['hasOwnProperty']['call'](_0x2c6322,'data')&&!_0x1ca790['isInteger'](_0x2c6322['data'])?'data:\x20integer\x20expected':null!=_0x2c6322['data1']&&Object['hasOwnProperty']['call'](_0x2c6322,'data1')&&!(_0x2c6322['data1']&&'number'==typeof _0x2c6322['data1']['length']||_0x1ca790['isString'](_0x2c6322['data1']))?'data1:\x20buffer\x20expected':null);},_0x1f43eb['fromObject']=function(_0x59e0d0,_0x352a5c){if(_0x59e0d0 instanceof _0x4f54f6['NumberBytesPacketDataMessage'])return _0x59e0d0;if(!_0x1ca790['isObject'](_0x59e0d0))throw TypeError('.NumberBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x352a5c&&(_0x352a5c=0x0),_0x352a5c>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e4250=new _0x4f54f6['NumberBytesPacketDataMessage']();return null!=_0x59e0d0['data']&&(_0x3e4250['data']=_0x59e0d0['data']>>>0x0),null!=_0x59e0d0['data1']&&('string'==typeof _0x59e0d0['data1']?_0x1ca790['base64']['decode'](_0x59e0d0['data1'],_0x3e4250['data1']=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x59e0d0['data1'])),0x0):_0x59e0d0['data1']['length']>=0x0&&(_0x3e4250['data1']=_0x59e0d0['data1'])),_0x3e4250;},_0x1f43eb['toObject']=function(_0x2114c6,_0x4c11c0,_0x3baaca){if(_0x4c11c0||(_0x4c11c0={}),void 0x0===_0x3baaca&&(_0x3baaca=0x0),_0x3baaca>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xaf69fc={};return _0x4c11c0['defaults']&&(_0xaf69fc['data']=0x0,_0x4c11c0['bytes']===String?_0xaf69fc['data1']='':(_0xaf69fc['data1']=[],_0x4c11c0['bytes']!==Array&&(_0xaf69fc['data1']=_0x1ca790['newBuffer'](_0xaf69fc['data1'])))),null!=_0x2114c6['data']&&Object['hasOwnProperty']['call'](_0x2114c6,'data')&&(_0xaf69fc['data']=_0x2114c6['data']),null!=_0x2114c6['data1']&&Object['hasOwnProperty']['call'](_0x2114c6,'data1')&&(_0xaf69fc['data1']=_0x4c11c0['bytes']===String?_0x1ca790['base64']['encode'](_0x2114c6['data1'],0x0,_0x2114c6['data1']['length']):_0x4c11c0['bytes']===Array?Array['prototype']['slice']['call'](_0x2114c6['data1']):_0x2114c6['data1']),_0xaf69fc;},_0x1f43eb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x1f43eb['getTypeUrl']=function(_0x48e29c){return void 0x0===_0x48e29c&&(_0x48e29c='type.googleapis.com'),_0x48e29c+'/NumberBytesPacketDataMessage';},_0x1f43eb;}()),_0x4f54f6['BytesBytesPacketDataMessage']=(function(){function _0x44fcc4(_0x432c3e){if(_0x432c3e){for(var _0x39a97a=Object['keys'](_0x432c3e),_0x164cad=0x0;_0x164cad<_0x39a97a['length'];++_0x164cad)null!=_0x432c3e[_0x39a97a[_0x164cad]]&&'__proto__'!==_0x39a97a[_0x164cad]&&(this[_0x39a97a[_0x164cad]]=_0x432c3e[_0x39a97a[_0x164cad]]);}}return _0x44fcc4['prototype']['data']=_0x1ca790['newBuffer']([]),_0x44fcc4['prototype']['data1']=_0x1ca790['newBuffer']([]),_0x44fcc4['create']=function(_0x7c3ff6){return new _0x44fcc4(_0x7c3ff6);},_0x44fcc4['encode']=function(_0x136acd,_0x447e1d,_0x32ca9d){if(_0x447e1d||(_0x447e1d=_0x5c509e['create']()),void 0x0===_0x32ca9d&&(_0x32ca9d=0x0),_0x32ca9d>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x136acd['data']&&Object['hasOwnProperty']['call'](_0x136acd,'data')&&_0x447e1d['uint32'](0xa)['bytes'](_0x136acd['data']),null!=_0x136acd['data1']&&Object['hasOwnProperty']['call'](_0x136acd,'data1')&&_0x447e1d['uint32'](0x12)['bytes'](_0x136acd['data1']),_0x447e1d;},_0x44fcc4['encodeDelimited']=function(_0x398eb6,_0x37106a){return this['encode'](_0x398eb6,_0x37106a)['ldelim']();},_0x44fcc4['decode']=function(_0x411219,_0x27e66e,_0x573074,_0x401c6a){if(_0x411219 instanceof _0x280c77||(_0x411219=_0x280c77['create'](_0x411219)),void 0x0===_0x401c6a&&(_0x401c6a=0x0),_0x401c6a>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3a9b36=void 0x0===_0x27e66e?_0x411219['len']:_0x411219['pos']+_0x27e66e,_0xc91eac=new _0x4f54f6['BytesBytesPacketDataMessage']();_0x411219['pos']<_0x3a9b36;){var _0x14c8f0=_0x411219['uint32']();if(_0x14c8f0===_0x573074)break;switch(_0x14c8f0>>>0x3){case 0x1:_0xc91eac['data']=_0x411219['bytes']();break;case 0x2:_0xc91eac['data1']=_0x411219['bytes']();break;default:_0x411219['skipType'](0x7&_0x14c8f0,_0x401c6a);}}return _0xc91eac;},_0x44fcc4['decodeDelimited']=function(_0x5ecddc){return _0x5ecddc instanceof _0x280c77||(_0x5ecddc=new _0x280c77(_0x5ecddc)),this['decode'](_0x5ecddc,_0x5ecddc['uint32']());},_0x44fcc4['verify']=function(_0xc556f9,_0x2b9a47){return'object'!=typeof _0xc556f9||null===_0xc556f9?'object\x20expected':(void 0x0===_0x2b9a47&&(_0x2b9a47=0x0),_0x2b9a47>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xc556f9['data']&&Object['hasOwnProperty']['call'](_0xc556f9,'data')&&!(_0xc556f9['data']&&'number'==typeof _0xc556f9['data']['length']||_0x1ca790['isString'](_0xc556f9['data']))?'data:\x20buffer\x20expected':null!=_0xc556f9['data1']&&Object['hasOwnProperty']['call'](_0xc556f9,'data1')&&!(_0xc556f9['data1']&&'number'==typeof _0xc556f9['data1']['length']||_0x1ca790['isString'](_0xc556f9['data1']))?'data1:\x20buffer\x20expected':null);},_0x44fcc4['fromObject']=function(_0xd58aed,_0xc3f4fb){if(_0xd58aed instanceof _0x4f54f6['BytesBytesPacketDataMessage'])return _0xd58aed;if(!_0x1ca790['isObject'](_0xd58aed))throw TypeError('.BytesBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0xc3f4fb&&(_0xc3f4fb=0x0),_0xc3f4fb>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3433a3=new _0x4f54f6['BytesBytesPacketDataMessage']();return null!=_0xd58aed['data']&&('string'==typeof _0xd58aed['data']?_0x1ca790['base64']['decode'](_0xd58aed['data'],_0x3433a3['data']=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0xd58aed['data'])),0x0):_0xd58aed['data']['length']>=0x0&&(_0x3433a3['data']=_0xd58aed['data'])),null!=_0xd58aed['data1']&&('string'==typeof _0xd58aed['data1']?_0x1ca790['base64']['decode'](_0xd58aed['data1'],_0x3433a3['data1']=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0xd58aed['data1'])),0x0):_0xd58aed['data1']['length']>=0x0&&(_0x3433a3['data1']=_0xd58aed['data1'])),_0x3433a3;},_0x44fcc4['toObject']=function(_0x4b8226,_0x36ff6b,_0x28dfa9){if(_0x36ff6b||(_0x36ff6b={}),void 0x0===_0x28dfa9&&(_0x28dfa9=0x0),_0x28dfa9>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xf83892={};return _0x36ff6b['defaults']&&(_0x36ff6b['bytes']===String?_0xf83892['data']='':(_0xf83892['data']=[],_0x36ff6b['bytes']!==Array&&(_0xf83892['data']=_0x1ca790['newBuffer'](_0xf83892['data']))),_0x36ff6b['bytes']===String?_0xf83892['data1']='':(_0xf83892['data1']=[],_0x36ff6b['bytes']!==Array&&(_0xf83892['data1']=_0x1ca790['newBuffer'](_0xf83892['data1'])))),null!=_0x4b8226['data']&&Object['hasOwnProperty']['call'](_0x4b8226,'data')&&(_0xf83892['data']=_0x36ff6b['bytes']===String?_0x1ca790['base64']['encode'](_0x4b8226['data'],0x0,_0x4b8226['data']['length']):_0x36ff6b['bytes']===Array?Array['prototype']['slice']['call'](_0x4b8226['data']):_0x4b8226['data']),null!=_0x4b8226['data1']&&Object['hasOwnProperty']['call'](_0x4b8226,'data1')&&(_0xf83892['data1']=_0x36ff6b['bytes']===String?_0x1ca790['base64']['encode'](_0x4b8226['data1'],0x0,_0x4b8226['data1']['length']):_0x36ff6b['bytes']===Array?Array['prototype']['slice']['call'](_0x4b8226['data1']):_0x4b8226['data1']),_0xf83892;},_0x44fcc4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x44fcc4['getTypeUrl']=function(_0x522222){return void 0x0===_0x522222&&(_0x522222='type.googleapis.com'),_0x522222+'/BytesBytesPacketDataMessage';},_0x44fcc4;}()),_0x4f54f6['ChannelMessage']=(function(){function _0x32c6c1(_0x49f203){if(_0x49f203){for(var _0x49ea15=Object['keys'](_0x49f203),_0x5aa0cf=0x0;_0x5aa0cf<_0x49ea15['length'];++_0x5aa0cf)null!=_0x49f203[_0x49ea15[_0x5aa0cf]]&&'__proto__'!==_0x49ea15[_0x5aa0cf]&&(this[_0x49ea15[_0x5aa0cf]]=_0x49f203[_0x49ea15[_0x5aa0cf]]);}}return _0x32c6c1['prototype']['type']=0x0,_0x32c6c1['prototype']['socketId']='',_0x32c6c1['prototype']['data']=_0x1ca790['newBuffer']([]),_0x32c6c1['create']=function(_0x5775ae){return new _0x32c6c1(_0x5775ae);},_0x32c6c1['encode']=function(_0x1186bb,_0x1534e4,_0x1b5edb){if(_0x1534e4||(_0x1534e4=_0x5c509e['create']()),void 0x0===_0x1b5edb&&(_0x1b5edb=0x0),_0x1b5edb>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1186bb['type']&&Object['hasOwnProperty']['call'](_0x1186bb,'type')&&_0x1534e4['uint32'](0x8)['uint32'](_0x1186bb['type']),null!=_0x1186bb['socketId']&&Object['hasOwnProperty']['call'](_0x1186bb,'socketId')&&_0x1534e4['uint32'](0x12)['string'](_0x1186bb['socketId']),null!=_0x1186bb['data']&&Object['hasOwnProperty']['call'](_0x1186bb,'data')&&_0x1534e4['uint32'](0x1a)['bytes'](_0x1186bb['data']),_0x1534e4;},_0x32c6c1['encodeDelimited']=function(_0x4a27b2,_0x19ff4d){return this['encode'](_0x4a27b2,_0x19ff4d)['ldelim']();},_0x32c6c1['decode']=function(_0xf84ed8,_0x1e136d,_0x14c378,_0x168cf2){if(_0xf84ed8 instanceof _0x280c77||(_0xf84ed8=_0x280c77['create'](_0xf84ed8)),void 0x0===_0x168cf2&&(_0x168cf2=0x0),_0x168cf2>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5df2de=void 0x0===_0x1e136d?_0xf84ed8['len']:_0xf84ed8['pos']+_0x1e136d,_0x41b0f7=new _0x4f54f6['ChannelMessage']();_0xf84ed8['pos']<_0x5df2de;){var _0x267af1=_0xf84ed8['uint32']();if(_0x267af1===_0x14c378)break;switch(_0x267af1>>>0x3){case 0x1:_0x41b0f7['type']=_0xf84ed8['uint32']();break;case 0x2:_0x41b0f7['socketId']=_0xf84ed8['string']();break;case 0x3:_0x41b0f7['data']=_0xf84ed8['bytes']();break;default:_0xf84ed8['skipType'](0x7&_0x267af1,_0x168cf2);}}return _0x41b0f7;},_0x32c6c1['decodeDelimited']=function(_0x5bef1c){return _0x5bef1c instanceof _0x280c77||(_0x5bef1c=new _0x280c77(_0x5bef1c)),this['decode'](_0x5bef1c,_0x5bef1c['uint32']());},_0x32c6c1['verify']=function(_0xfbdb70,_0xb99fe4){return'object'!=typeof _0xfbdb70||null===_0xfbdb70?'object\x20expected':(void 0x0===_0xb99fe4&&(_0xb99fe4=0x0),_0xb99fe4>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xfbdb70['type']&&Object['hasOwnProperty']['call'](_0xfbdb70,'type')&&!_0x1ca790['isInteger'](_0xfbdb70['type'])?'type:\x20integer\x20expected':null!=_0xfbdb70['socketId']&&Object['hasOwnProperty']['call'](_0xfbdb70,'socketId')&&!_0x1ca790['isString'](_0xfbdb70['socketId'])?'socketId:\x20string\x20expected':null!=_0xfbdb70['data']&&Object['hasOwnProperty']['call'](_0xfbdb70,'data')&&!(_0xfbdb70['data']&&'number'==typeof _0xfbdb70['data']['length']||_0x1ca790['isString'](_0xfbdb70['data']))?'data:\x20buffer\x20expected':null);},_0x32c6c1['fromObject']=function(_0x44dcf6,_0x5f47e3){if(_0x44dcf6 instanceof _0x4f54f6['ChannelMessage'])return _0x44dcf6;if(!_0x1ca790['isObject'](_0x44dcf6))throw TypeError('.ChannelMessage:\x20object\x20expected');if(void 0x0===_0x5f47e3&&(_0x5f47e3=0x0),_0x5f47e3>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x519bab=new _0x4f54f6['ChannelMessage']();return null!=_0x44dcf6['type']&&(_0x519bab['type']=_0x44dcf6['type']>>>0x0),null!=_0x44dcf6['socketId']&&(_0x519bab['socketId']=String(_0x44dcf6['socketId'])),null!=_0x44dcf6['data']&&('string'==typeof _0x44dcf6['data']?_0x1ca790['base64']['decode'](_0x44dcf6['data'],_0x519bab['data']=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x44dcf6['data'])),0x0):_0x44dcf6['data']['length']>=0x0&&(_0x519bab['data']=_0x44dcf6['data'])),_0x519bab;},_0x32c6c1['toObject']=function(_0x955931,_0xc92a6,_0x1a4891){if(_0xc92a6||(_0xc92a6={}),void 0x0===_0x1a4891&&(_0x1a4891=0x0),_0x1a4891>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xc62098={};return _0xc92a6['defaults']&&(_0xc62098['type']=0x0,_0xc62098['socketId']='',_0xc92a6['bytes']===String?_0xc62098['data']='':(_0xc62098['data']=[],_0xc92a6['bytes']!==Array&&(_0xc62098['data']=_0x1ca790['newBuffer'](_0xc62098['data'])))),null!=_0x955931['type']&&Object['hasOwnProperty']['call'](_0x955931,'type')&&(_0xc62098['type']=_0x955931['type']),null!=_0x955931['socketId']&&Object['hasOwnProperty']['call'](_0x955931,'socketId')&&(_0xc62098['socketId']=_0x955931['socketId']),null!=_0x955931['data']&&Object['hasOwnProperty']['call'](_0x955931,'data')&&(_0xc62098['data']=_0xc92a6['bytes']===String?_0x1ca790['base64']['encode'](_0x955931['data'],0x0,_0x955931['data']['length']):_0xc92a6['bytes']===Array?Array['prototype']['slice']['call'](_0x955931['data']):_0x955931['data']),_0xc62098;},_0x32c6c1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x32c6c1['getTypeUrl']=function(_0x1939af){return void 0x0===_0x1939af&&(_0x1939af='type.googleapis.com'),_0x1939af+'/ChannelMessage';},_0x32c6c1;}()),_0x4f54f6['ChannelDisconnectedMessage']=(function(){function _0x44e47b(_0x39ed01){if(_0x39ed01){for(var _0x3f968f=Object['keys'](_0x39ed01),_0x6608e4=0x0;_0x6608e4<_0x3f968f['length'];++_0x6608e4)null!=_0x39ed01[_0x3f968f[_0x6608e4]]&&'__proto__'!==_0x3f968f[_0x6608e4]&&(this[_0x3f968f[_0x6608e4]]=_0x39ed01[_0x3f968f[_0x6608e4]]);}}return _0x44e47b['create']=function(_0x5dd931){return new _0x44e47b(_0x5dd931);},_0x44e47b['encode']=function(_0x1ac525,_0x1f0940,_0x33f799){if(_0x1f0940||(_0x1f0940=_0x5c509e['create']()),void 0x0===_0x33f799&&(_0x33f799=0x0),_0x33f799>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return _0x1f0940;},_0x44e47b['encodeDelimited']=function(_0x49cd3e,_0x180616){return this['encode'](_0x49cd3e,_0x180616)['ldelim']();},_0x44e47b['decode']=function(_0x4a4f2d,_0x50bf4b,_0x2524a6,_0x230dbe){if(_0x4a4f2d instanceof _0x280c77||(_0x4a4f2d=_0x280c77['create'](_0x4a4f2d)),void 0x0===_0x230dbe&&(_0x230dbe=0x0),_0x230dbe>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x40d5b2=void 0x0===_0x50bf4b?_0x4a4f2d['len']:_0x4a4f2d['pos']+_0x50bf4b,_0x4bbdd4=new _0x4f54f6['ChannelDisconnectedMessage']();_0x4a4f2d['pos']<_0x40d5b2;){var _0x250a35=_0x4a4f2d['uint32']();if(_0x250a35===_0x2524a6)break;_0x4a4f2d['skipType'](0x7&_0x250a35,_0x230dbe);}return _0x4bbdd4;},_0x44e47b['decodeDelimited']=function(_0x1781e5){return _0x1781e5 instanceof _0x280c77||(_0x1781e5=new _0x280c77(_0x1781e5)),this['decode'](_0x1781e5,_0x1781e5['uint32']());},_0x44e47b['verify']=function(_0x14fe25,_0x267ac7){return'object'!=typeof _0x14fe25||null===_0x14fe25?'object\x20expected':(void 0x0===_0x267ac7&&(_0x267ac7=0x0),_0x267ac7>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null);},_0x44e47b['fromObject']=function(_0x31ddae,_0x31b786){return _0x31ddae instanceof _0x4f54f6['ChannelDisconnectedMessage']?_0x31ddae:new _0x4f54f6['ChannelDisconnectedMessage']();},_0x44e47b['toObject']=function(){return{};},_0x44e47b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x44e47b['getTypeUrl']=function(_0x2e5cc9){return void 0x0===_0x2e5cc9&&(_0x2e5cc9='type.googleapis.com'),_0x2e5cc9+'/ChannelDisconnectedMessage';},_0x44e47b;}()),_0x4f54f6['GetUserResponse']=(function(){function _0x539968(_0xb8cde8){if(this['attributes']=[],_0xb8cde8){for(var _0x4d0b46=Object['keys'](_0xb8cde8),_0x4f3bdb=0x0;_0x4f3bdb<_0x4d0b46['length'];++_0x4f3bdb)null!=_0xb8cde8[_0x4d0b46[_0x4f3bdb]]&&'__proto__'!==_0x4d0b46[_0x4f3bdb]&&(this[_0x4d0b46[_0x4f3bdb]]=_0xb8cde8[_0x4d0b46[_0x4f3bdb]]);}}return _0x539968['prototype']['attributes']=_0x1ca790['emptyArray'],_0x539968['create']=function(_0x581231){return new _0x539968(_0x581231);},_0x539968['encode']=function(_0x635d00,_0x2927b7,_0x1c23c4){if(_0x2927b7||(_0x2927b7=_0x5c509e['create']()),void 0x0===_0x1c23c4&&(_0x1c23c4=0x0),_0x1c23c4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x635d00['attributes']&&_0x635d00['attributes']['length']){for(var _0x120a70=0x0;_0x120a70<_0x635d00['attributes']['length'];++_0x120a70)_0x4f54f6['KeyValueDescriptor']['encode'](_0x635d00['attributes'][_0x120a70],_0x2927b7['uint32'](0xa)['fork'](),_0x1c23c4+0x1)['ldelim']();}return _0x2927b7;},_0x539968['encodeDelimited']=function(_0x2b72e4,_0x330f63){return this['encode'](_0x2b72e4,_0x330f63)['ldelim']();},_0x539968['decode']=function(_0x5f1406,_0x450d40,_0x1a3877,_0x63ffcc){if(_0x5f1406 instanceof _0x280c77||(_0x5f1406=_0x280c77['create'](_0x5f1406)),void 0x0===_0x63ffcc&&(_0x63ffcc=0x0),_0x63ffcc>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xcb4bf2=void 0x0===_0x450d40?_0x5f1406['len']:_0x5f1406['pos']+_0x450d40,_0x258f10=new _0x4f54f6['GetUserResponse']();_0x5f1406['pos']<_0xcb4bf2;){var _0x101246=_0x5f1406['uint32']();if(_0x101246===_0x1a3877)break;_0x101246>>>0x3==0x1?(_0x258f10['attributes']&&_0x258f10['attributes']['length']||(_0x258f10['attributes']=[]),_0x258f10['attributes']['push'](_0x4f54f6['KeyValueDescriptor']['decode'](_0x5f1406,_0x5f1406['uint32'](),void 0x0,_0x63ffcc+0x1))):_0x5f1406['skipType'](0x7&_0x101246,_0x63ffcc);}return _0x258f10;},_0x539968['decodeDelimited']=function(_0x4f64c6){return _0x4f64c6 instanceof _0x280c77||(_0x4f64c6=new _0x280c77(_0x4f64c6)),this['decode'](_0x4f64c6,_0x4f64c6['uint32']());},_0x539968['verify']=function(_0x3c83f0,_0x140ff9){if('object'!=typeof _0x3c83f0||null===_0x3c83f0)return'object\x20expected';if(void 0x0===_0x140ff9&&(_0x140ff9=0x0),_0x140ff9>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3c83f0['attributes']&&Object['hasOwnProperty']['call'](_0x3c83f0,'attributes')){if(!Array['isArray'](_0x3c83f0['attributes']))return'attributes:\x20array\x20expected';for(var _0xb6f923=0x0;_0xb6f923<_0x3c83f0['attributes']['length'];++_0xb6f923){var _0x551079=_0x4f54f6['KeyValueDescriptor']['verify'](_0x3c83f0['attributes'][_0xb6f923],_0x140ff9+0x1);if(_0x551079)return'attributes.'+_0x551079;}}return null;},_0x539968['fromObject']=function(_0x381dcb,_0x3f0cf8){if(_0x381dcb instanceof _0x4f54f6['GetUserResponse'])return _0x381dcb;if(!_0x1ca790['isObject'](_0x381dcb))throw TypeError('.GetUserResponse:\x20object\x20expected');if(void 0x0===_0x3f0cf8&&(_0x3f0cf8=0x0),_0x3f0cf8>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x585ffe=new _0x4f54f6['GetUserResponse']();if(_0x381dcb['attributes']){if(!Array['isArray'](_0x381dcb['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x585ffe['attributes']=[];for(var _0x59af4f=0x0;_0x59af4f<_0x381dcb['attributes']['length'];++_0x59af4f){if(!_0x1ca790['isObject'](_0x381dcb['attributes'][_0x59af4f]))throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x585ffe['attributes'][_0x59af4f]=_0x4f54f6['KeyValueDescriptor']['fromObject'](_0x381dcb['attributes'][_0x59af4f],_0x3f0cf8+0x1);}}return _0x585ffe;},_0x539968['toObject']=function(_0x3f1568,_0x22c62e,_0x4de9ec){if(_0x22c62e||(_0x22c62e={}),void 0x0===_0x4de9ec&&(_0x4de9ec=0x0),_0x4de9ec>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x7b4911={};if((_0x22c62e['arrays']||_0x22c62e['defaults'])&&(_0x7b4911['attributes']=[]),_0x3f1568['attributes']&&_0x3f1568['attributes']['length']){_0x7b4911['attributes']=[];for(var _0x1e37e7=0x0;_0x1e37e7<_0x3f1568['attributes']['length'];++_0x1e37e7)_0x7b4911['attributes'][_0x1e37e7]=_0x4f54f6['KeyValueDescriptor']['toObject'](_0x3f1568['attributes'][_0x1e37e7],_0x22c62e,_0x4de9ec+0x1);}return _0x7b4911;},_0x539968['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x539968['getTypeUrl']=function(_0x305c6f){return void 0x0===_0x305c6f&&(_0x305c6f='type.googleapis.com'),_0x305c6f+'/GetUserResponse';},_0x539968;}()),_0x4f54f6['GetManyUsersResponse']=(function(){function _0x199055(_0x32819a){if(this['users']=[],_0x32819a){for(var _0x3cd37b=Object['keys'](_0x32819a),_0x1949a2=0x0;_0x1949a2<_0x3cd37b['length'];++_0x1949a2)null!=_0x32819a[_0x3cd37b[_0x1949a2]]&&'__proto__'!==_0x3cd37b[_0x1949a2]&&(this[_0x3cd37b[_0x1949a2]]=_0x32819a[_0x3cd37b[_0x1949a2]]);}}return _0x199055['prototype']['users']=_0x1ca790['emptyArray'],_0x199055['create']=function(_0x545f7c){return new _0x199055(_0x545f7c);},_0x199055['encode']=function(_0x5345c3,_0xbbf34e,_0x2eb057){if(_0xbbf34e||(_0xbbf34e=_0x5c509e['create']()),void 0x0===_0x2eb057&&(_0x2eb057=0x0),_0x2eb057>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5345c3['users']&&_0x5345c3['users']['length']){for(var _0x294b9b=0x0;_0x294b9b<_0x5345c3['users']['length'];++_0x294b9b)_0x4f54f6['UserDescriptor']['encode'](_0x5345c3['users'][_0x294b9b],_0xbbf34e['uint32'](0xa)['fork'](),_0x2eb057+0x1)['ldelim']();}return _0xbbf34e;},_0x199055['encodeDelimited']=function(_0x28f792,_0x13a4bc){return this['encode'](_0x28f792,_0x13a4bc)['ldelim']();},_0x199055['decode']=function(_0xe6f0c8,_0x397420,_0x1efba4,_0x3cc229){if(_0xe6f0c8 instanceof _0x280c77||(_0xe6f0c8=_0x280c77['create'](_0xe6f0c8)),void 0x0===_0x3cc229&&(_0x3cc229=0x0),_0x3cc229>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ef498=void 0x0===_0x397420?_0xe6f0c8['len']:_0xe6f0c8['pos']+_0x397420,_0x194810=new _0x4f54f6['GetManyUsersResponse']();_0xe6f0c8['pos']<_0x3ef498;){var _0x4901e9=_0xe6f0c8['uint32']();if(_0x4901e9===_0x1efba4)break;_0x4901e9>>>0x3==0x1?(_0x194810['users']&&_0x194810['users']['length']||(_0x194810['users']=[]),_0x194810['users']['push'](_0x4f54f6['UserDescriptor']['decode'](_0xe6f0c8,_0xe6f0c8['uint32'](),void 0x0,_0x3cc229+0x1))):_0xe6f0c8['skipType'](0x7&_0x4901e9,_0x3cc229);}return _0x194810;},_0x199055['decodeDelimited']=function(_0xe1f8b3){return _0xe1f8b3 instanceof _0x280c77||(_0xe1f8b3=new _0x280c77(_0xe1f8b3)),this['decode'](_0xe1f8b3,_0xe1f8b3['uint32']());},_0x199055['verify']=function(_0x532aed,_0x468493){if('object'!=typeof _0x532aed||null===_0x532aed)return'object\x20expected';if(void 0x0===_0x468493&&(_0x468493=0x0),_0x468493>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x532aed['users']&&Object['hasOwnProperty']['call'](_0x532aed,'users')){if(!Array['isArray'](_0x532aed['users']))return'users:\x20array\x20expected';for(var _0x55685a=0x0;_0x55685a<_0x532aed['users']['length'];++_0x55685a){var _0x540c10=_0x4f54f6['UserDescriptor']['verify'](_0x532aed['users'][_0x55685a],_0x468493+0x1);if(_0x540c10)return'users.'+_0x540c10;}}return null;},_0x199055['fromObject']=function(_0x388000,_0x2525cb){if(_0x388000 instanceof _0x4f54f6['GetManyUsersResponse'])return _0x388000;if(!_0x1ca790['isObject'](_0x388000))throw TypeError('.GetManyUsersResponse:\x20object\x20expected');if(void 0x0===_0x2525cb&&(_0x2525cb=0x0),_0x2525cb>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x183720=new _0x4f54f6['GetManyUsersResponse']();if(_0x388000['users']){if(!Array['isArray'](_0x388000['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x183720['users']=[];for(var _0x522fea=0x0;_0x522fea<_0x388000['users']['length'];++_0x522fea){if(!_0x1ca790['isObject'](_0x388000['users'][_0x522fea]))throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x183720['users'][_0x522fea]=_0x4f54f6['UserDescriptor']['fromObject'](_0x388000['users'][_0x522fea],_0x2525cb+0x1);}}return _0x183720;},_0x199055['toObject']=function(_0x2e94e5,_0x31e586,_0x19f702){if(_0x31e586||(_0x31e586={}),void 0x0===_0x19f702&&(_0x19f702=0x0),_0x19f702>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x448bcd={};if((_0x31e586['arrays']||_0x31e586['defaults'])&&(_0x448bcd['users']=[]),_0x2e94e5['users']&&_0x2e94e5['users']['length']){_0x448bcd['users']=[];for(var _0x47cab7=0x0;_0x47cab7<_0x2e94e5['users']['length'];++_0x47cab7)_0x448bcd['users'][_0x47cab7]=_0x4f54f6['UserDescriptor']['toObject'](_0x2e94e5['users'][_0x47cab7],_0x31e586,_0x19f702+0x1);}return _0x448bcd;},_0x199055['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x199055['getTypeUrl']=function(_0x45567c){return void 0x0===_0x45567c&&(_0x45567c='type.googleapis.com'),_0x45567c+'/GetManyUsersResponse';},_0x199055;}()),_0x4f54f6['GetUserMessage']=(function(){function _0x55ddd6(_0x212b3d){if(_0x212b3d){for(var _0x2a2606=Object['keys'](_0x212b3d),_0x10ef49=0x0;_0x10ef49<_0x2a2606['length'];++_0x10ef49)null!=_0x212b3d[_0x2a2606[_0x10ef49]]&&'__proto__'!==_0x2a2606[_0x10ef49]&&(this[_0x2a2606[_0x10ef49]]=_0x212b3d[_0x2a2606[_0x10ef49]]);}}return _0x55ddd6['prototype']['id']='',_0x55ddd6['create']=function(_0x13a1c5){return new _0x55ddd6(_0x13a1c5);},_0x55ddd6['encode']=function(_0x4f2eef,_0x523807,_0x3f360b){if(_0x523807||(_0x523807=_0x5c509e['create']()),void 0x0===_0x3f360b&&(_0x3f360b=0x0),_0x3f360b>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4f2eef['id']&&Object['hasOwnProperty']['call'](_0x4f2eef,'id')&&_0x523807['uint32'](0xa)['string'](_0x4f2eef['id']),_0x523807;},_0x55ddd6['encodeDelimited']=function(_0xb07974,_0xa1635){return this['encode'](_0xb07974,_0xa1635)['ldelim']();},_0x55ddd6['decode']=function(_0x4098fe,_0x4aa7ee,_0x10273e,_0x3404bc){if(_0x4098fe instanceof _0x280c77||(_0x4098fe=_0x280c77['create'](_0x4098fe)),void 0x0===_0x3404bc&&(_0x3404bc=0x0),_0x3404bc>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xff22d5=void 0x0===_0x4aa7ee?_0x4098fe['len']:_0x4098fe['pos']+_0x4aa7ee,_0x240060=new _0x4f54f6['GetUserMessage']();_0x4098fe['pos']<_0xff22d5;){var _0x5b3a7b=_0x4098fe['uint32']();if(_0x5b3a7b===_0x10273e)break;_0x5b3a7b>>>0x3==0x1?_0x240060['id']=_0x4098fe['string']():_0x4098fe['skipType'](0x7&_0x5b3a7b,_0x3404bc);}return _0x240060;},_0x55ddd6['decodeDelimited']=function(_0x2da452){return _0x2da452 instanceof _0x280c77||(_0x2da452=new _0x280c77(_0x2da452)),this['decode'](_0x2da452,_0x2da452['uint32']());},_0x55ddd6['verify']=function(_0x4ec71b,_0x1fd69f){return'object'!=typeof _0x4ec71b||null===_0x4ec71b?'object\x20expected':(void 0x0===_0x1fd69f&&(_0x1fd69f=0x0),_0x1fd69f>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4ec71b['id']&&Object['hasOwnProperty']['call'](_0x4ec71b,'id')&&!_0x1ca790['isString'](_0x4ec71b['id'])?'id:\x20string\x20expected':null);},_0x55ddd6['fromObject']=function(_0x4c3c20,_0x4549e7){if(_0x4c3c20 instanceof _0x4f54f6['GetUserMessage'])return _0x4c3c20;if(!_0x1ca790['isObject'](_0x4c3c20))throw TypeError('.GetUserMessage:\x20object\x20expected');if(void 0x0===_0x4549e7&&(_0x4549e7=0x0),_0x4549e7>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5c763a=new _0x4f54f6['GetUserMessage']();return null!=_0x4c3c20['id']&&(_0x5c763a['id']=String(_0x4c3c20['id'])),_0x5c763a;},_0x55ddd6['toObject']=function(_0x27d363,_0x352cc2,_0x1e0221){if(_0x352cc2||(_0x352cc2={}),void 0x0===_0x1e0221&&(_0x1e0221=0x0),_0x1e0221>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4eb17c={};return _0x352cc2['defaults']&&(_0x4eb17c['id']=''),null!=_0x27d363['id']&&Object['hasOwnProperty']['call'](_0x27d363,'id')&&(_0x4eb17c['id']=_0x27d363['id']),_0x4eb17c;},_0x55ddd6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x55ddd6['getTypeUrl']=function(_0x173bd0){return void 0x0===_0x173bd0&&(_0x173bd0='type.googleapis.com'),_0x173bd0+'/GetUserMessage';},_0x55ddd6;}()),_0x4f54f6['GetManyUsersMessage']=(function(){function _0x2c1329(_0x5a81e9){if(this['ids']=[],_0x5a81e9){for(var _0x29485b=Object['keys'](_0x5a81e9),_0x4644c9=0x0;_0x4644c9<_0x29485b['length'];++_0x4644c9)null!=_0x5a81e9[_0x29485b[_0x4644c9]]&&'__proto__'!==_0x29485b[_0x4644c9]&&(this[_0x29485b[_0x4644c9]]=_0x5a81e9[_0x29485b[_0x4644c9]]);}}return _0x2c1329['prototype']['ids']=_0x1ca790['emptyArray'],_0x2c1329['create']=function(_0x14632f){return new _0x2c1329(_0x14632f);},_0x2c1329['encode']=function(_0x55b1f3,_0x271ce7,_0x1692b5){if(_0x271ce7||(_0x271ce7=_0x5c509e['create']()),void 0x0===_0x1692b5&&(_0x1692b5=0x0),_0x1692b5>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x55b1f3['ids']&&_0x55b1f3['ids']['length']){for(var _0x2b3b4c=0x0;_0x2b3b4c<_0x55b1f3['ids']['length'];++_0x2b3b4c)_0x271ce7['uint32'](0xa)['string'](_0x55b1f3['ids'][_0x2b3b4c]);}return _0x271ce7;},_0x2c1329['encodeDelimited']=function(_0x1669d9,_0x11ccf5){return this['encode'](_0x1669d9,_0x11ccf5)['ldelim']();},_0x2c1329['decode']=function(_0x353488,_0x22de79,_0x486c1d,_0x497314){if(_0x353488 instanceof _0x280c77||(_0x353488=_0x280c77['create'](_0x353488)),void 0x0===_0x497314&&(_0x497314=0x0),_0x497314>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x95bbd6=void 0x0===_0x22de79?_0x353488['len']:_0x353488['pos']+_0x22de79,_0x235988=new _0x4f54f6['GetManyUsersMessage']();_0x353488['pos']<_0x95bbd6;){var _0x65ce49=_0x353488['uint32']();if(_0x65ce49===_0x486c1d)break;_0x65ce49>>>0x3==0x1?(_0x235988['ids']&&_0x235988['ids']['length']||(_0x235988['ids']=[]),_0x235988['ids']['push'](_0x353488['string']())):_0x353488['skipType'](0x7&_0x65ce49,_0x497314);}return _0x235988;},_0x2c1329['decodeDelimited']=function(_0x19a779){return _0x19a779 instanceof _0x280c77||(_0x19a779=new _0x280c77(_0x19a779)),this['decode'](_0x19a779,_0x19a779['uint32']());},_0x2c1329['verify']=function(_0x269dd9,_0x2b8b6a){if('object'!=typeof _0x269dd9||null===_0x269dd9)return'object\x20expected';if(void 0x0===_0x2b8b6a&&(_0x2b8b6a=0x0),_0x2b8b6a>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x269dd9['ids']&&Object['hasOwnProperty']['call'](_0x269dd9,'ids')){if(!Array['isArray'](_0x269dd9['ids']))return'ids:\x20array\x20expected';for(var _0x5811d1=0x0;_0x5811d1<_0x269dd9['ids']['length'];++_0x5811d1)if(!_0x1ca790['isString'](_0x269dd9['ids'][_0x5811d1]))return'ids:\x20string[]\x20expected';}return null;},_0x2c1329['fromObject']=function(_0x289f3a,_0x588df6){if(_0x289f3a instanceof _0x4f54f6['GetManyUsersMessage'])return _0x289f3a;if(!_0x1ca790['isObject'](_0x289f3a))throw TypeError('.GetManyUsersMessage:\x20object\x20expected');if(void 0x0===_0x588df6&&(_0x588df6=0x0),_0x588df6>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x43d93c=new _0x4f54f6['GetManyUsersMessage']();if(_0x289f3a['ids']){if(!Array['isArray'](_0x289f3a['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x43d93c['ids']=[];for(var _0x2c0dee=0x0;_0x2c0dee<_0x289f3a['ids']['length'];++_0x2c0dee)_0x43d93c['ids'][_0x2c0dee]=String(_0x289f3a['ids'][_0x2c0dee]);}return _0x43d93c;},_0x2c1329['toObject']=function(_0xc16172,_0x15da29,_0x5de8a8){if(_0x15da29||(_0x15da29={}),void 0x0===_0x5de8a8&&(_0x5de8a8=0x0),_0x5de8a8>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5e454a={};if((_0x15da29['arrays']||_0x15da29['defaults'])&&(_0x5e454a['ids']=[]),_0xc16172['ids']&&_0xc16172['ids']['length']){_0x5e454a['ids']=[];for(var _0x29911d=0x0;_0x29911d<_0xc16172['ids']['length'];++_0x29911d)_0x5e454a['ids'][_0x29911d]=_0xc16172['ids'][_0x29911d];}return _0x5e454a;},_0x2c1329['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x2c1329['getTypeUrl']=function(_0x2eca90){return void 0x0===_0x2eca90&&(_0x2eca90='type.googleapis.com'),_0x2eca90+'/GetManyUsersMessage';},_0x2c1329;}()),_0x4f54f6['UserDescriptor']=(function(){function _0x23c64c(_0x3860f9){if(this['attributes']=[],_0x3860f9){for(var _0x2b4e52=Object['keys'](_0x3860f9),_0x2e6635=0x0;_0x2e6635<_0x2b4e52['length'];++_0x2e6635)null!=_0x3860f9[_0x2b4e52[_0x2e6635]]&&'__proto__'!==_0x2b4e52[_0x2e6635]&&(this[_0x2b4e52[_0x2e6635]]=_0x3860f9[_0x2b4e52[_0x2e6635]]);}}return _0x23c64c['prototype']['attributes']=_0x1ca790['emptyArray'],_0x23c64c['create']=function(_0x31db73){return new _0x23c64c(_0x31db73);},_0x23c64c['encode']=function(_0x43f086,_0x5ebc4f,_0x4dd841){if(_0x5ebc4f||(_0x5ebc4f=_0x5c509e['create']()),void 0x0===_0x4dd841&&(_0x4dd841=0x0),_0x4dd841>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x43f086['attributes']&&_0x43f086['attributes']['length']){for(var _0x34b282=0x0;_0x34b282<_0x43f086['attributes']['length'];++_0x34b282)_0x4f54f6['KeyValueDescriptor']['encode'](_0x43f086['attributes'][_0x34b282],_0x5ebc4f['uint32'](0xa)['fork'](),_0x4dd841+0x1)['ldelim']();}return _0x5ebc4f;},_0x23c64c['encodeDelimited']=function(_0x136ddc,_0x58547a){return this['encode'](_0x136ddc,_0x58547a)['ldelim']();},_0x23c64c['decode']=function(_0x3c2976,_0x5292c6,_0x57f3a3,_0x38cf65){if(_0x3c2976 instanceof _0x280c77||(_0x3c2976=_0x280c77['create'](_0x3c2976)),void 0x0===_0x38cf65&&(_0x38cf65=0x0),_0x38cf65>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x49ebdd=void 0x0===_0x5292c6?_0x3c2976['len']:_0x3c2976['pos']+_0x5292c6,_0x5170c6=new _0x4f54f6['UserDescriptor']();_0x3c2976['pos']<_0x49ebdd;){var _0x590501=_0x3c2976['uint32']();if(_0x590501===_0x57f3a3)break;_0x590501>>>0x3==0x1?(_0x5170c6['attributes']&&_0x5170c6['attributes']['length']||(_0x5170c6['attributes']=[]),_0x5170c6['attributes']['push'](_0x4f54f6['KeyValueDescriptor']['decode'](_0x3c2976,_0x3c2976['uint32'](),void 0x0,_0x38cf65+0x1))):_0x3c2976['skipType'](0x7&_0x590501,_0x38cf65);}return _0x5170c6;},_0x23c64c['decodeDelimited']=function(_0x26104d){return _0x26104d instanceof _0x280c77||(_0x26104d=new _0x280c77(_0x26104d)),this['decode'](_0x26104d,_0x26104d['uint32']());},_0x23c64c['verify']=function(_0x23c4d1,_0x4f9c80){if('object'!=typeof _0x23c4d1||null===_0x23c4d1)return'object\x20expected';if(void 0x0===_0x4f9c80&&(_0x4f9c80=0x0),_0x4f9c80>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x23c4d1['attributes']&&Object['hasOwnProperty']['call'](_0x23c4d1,'attributes')){if(!Array['isArray'](_0x23c4d1['attributes']))return'attributes:\x20array\x20expected';for(var _0x25fd65=0x0;_0x25fd65<_0x23c4d1['attributes']['length'];++_0x25fd65){var _0x18b24c=_0x4f54f6['KeyValueDescriptor']['verify'](_0x23c4d1['attributes'][_0x25fd65],_0x4f9c80+0x1);if(_0x18b24c)return'attributes.'+_0x18b24c;}}return null;},_0x23c64c['fromObject']=function(_0x20b74a,_0x8ada32){if(_0x20b74a instanceof _0x4f54f6['UserDescriptor'])return _0x20b74a;if(!_0x1ca790['isObject'](_0x20b74a))throw TypeError('.UserDescriptor:\x20object\x20expected');if(void 0x0===_0x8ada32&&(_0x8ada32=0x0),_0x8ada32>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5c46c2=new _0x4f54f6['UserDescriptor']();if(_0x20b74a['attributes']){if(!Array['isArray'](_0x20b74a['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x5c46c2['attributes']=[];for(var _0x334e06=0x0;_0x334e06<_0x20b74a['attributes']['length'];++_0x334e06){if(!_0x1ca790['isObject'](_0x20b74a['attributes'][_0x334e06]))throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x5c46c2['attributes'][_0x334e06]=_0x4f54f6['KeyValueDescriptor']['fromObject'](_0x20b74a['attributes'][_0x334e06],_0x8ada32+0x1);}}return _0x5c46c2;},_0x23c64c['toObject']=function(_0x28255c,_0x5d5aca,_0x504b82){if(_0x5d5aca||(_0x5d5aca={}),void 0x0===_0x504b82&&(_0x504b82=0x0),_0x504b82>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x14a398={};if((_0x5d5aca['arrays']||_0x5d5aca['defaults'])&&(_0x14a398['attributes']=[]),_0x28255c['attributes']&&_0x28255c['attributes']['length']){_0x14a398['attributes']=[];for(var _0x257914=0x0;_0x257914<_0x28255c['attributes']['length'];++_0x257914)_0x14a398['attributes'][_0x257914]=_0x4f54f6['KeyValueDescriptor']['toObject'](_0x28255c['attributes'][_0x257914],_0x5d5aca,_0x504b82+0x1);}return _0x14a398;},_0x23c64c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x23c64c['getTypeUrl']=function(_0x5bf602){return void 0x0===_0x5bf602&&(_0x5bf602='type.googleapis.com'),_0x5bf602+'/UserDescriptor';},_0x23c64c;}()),_0x4f54f6['TrackChangesGetSuggestionResponse']=(function(){function _0x5b19d7(_0x528ee6){if(_0x528ee6){for(var _0x5d379b=Object['keys'](_0x528ee6),_0xa1ab7=0x0;_0xa1ab7<_0x5d379b['length'];++_0xa1ab7)null!=_0x528ee6[_0x5d379b[_0xa1ab7]]&&'__proto__'!==_0x5d379b[_0xa1ab7]&&(this[_0x5d379b[_0xa1ab7]]=_0x528ee6[_0x5d379b[_0xa1ab7]]);}}return _0x5b19d7['prototype']['id']='',_0x5b19d7['prototype']['authorId']='',_0x5b19d7['prototype']['type']='',_0x5b19d7['prototype']['createdAt']='',_0x5b19d7['prototype']['data']='',_0x5b19d7['prototype']['hasComments']=!0x1,_0x5b19d7['prototype']['state']='',_0x5b19d7['prototype']['attributes']='',_0x5b19d7['create']=function(_0x5cf66b){return new _0x5b19d7(_0x5cf66b);},_0x5b19d7['encode']=function(_0x2595f6,_0x1d71d5,_0x464fda){if(_0x1d71d5||(_0x1d71d5=_0x5c509e['create']()),void 0x0===_0x464fda&&(_0x464fda=0x0),_0x464fda>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2595f6['id']&&Object['hasOwnProperty']['call'](_0x2595f6,'id')&&_0x1d71d5['uint32'](0xa)['string'](_0x2595f6['id']),null!=_0x2595f6['authorId']&&Object['hasOwnProperty']['call'](_0x2595f6,'authorId')&&_0x1d71d5['uint32'](0x12)['string'](_0x2595f6['authorId']),null!=_0x2595f6['type']&&Object['hasOwnProperty']['call'](_0x2595f6,'type')&&_0x1d71d5['uint32'](0x1a)['string'](_0x2595f6['type']),null!=_0x2595f6['createdAt']&&Object['hasOwnProperty']['call'](_0x2595f6,'createdAt')&&_0x1d71d5['uint32'](0x22)['string'](_0x2595f6['createdAt']),null!=_0x2595f6['data']&&Object['hasOwnProperty']['call'](_0x2595f6,'data')&&_0x1d71d5['uint32'](0x2a)['string'](_0x2595f6['data']),null!=_0x2595f6['hasComments']&&Object['hasOwnProperty']['call'](_0x2595f6,'hasComments')&&_0x1d71d5['uint32'](0x30)['bool'](_0x2595f6['hasComments']),null!=_0x2595f6['state']&&Object['hasOwnProperty']['call'](_0x2595f6,'state')&&_0x1d71d5['uint32'](0x3a)['string'](_0x2595f6['state']),null!=_0x2595f6['attributes']&&Object['hasOwnProperty']['call'](_0x2595f6,'attributes')&&_0x1d71d5['uint32'](0x42)['string'](_0x2595f6['attributes']),_0x1d71d5;},_0x5b19d7['encodeDelimited']=function(_0x43aa6e,_0x124214){return this['encode'](_0x43aa6e,_0x124214)['ldelim']();},_0x5b19d7['decode']=function(_0x57a560,_0x5d7d7b,_0x369bb1,_0x27d0c0){if(_0x57a560 instanceof _0x280c77||(_0x57a560=_0x280c77['create'](_0x57a560)),void 0x0===_0x27d0c0&&(_0x27d0c0=0x0),_0x27d0c0>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x387462=void 0x0===_0x5d7d7b?_0x57a560['len']:_0x57a560['pos']+_0x5d7d7b,_0x4c1339=new _0x4f54f6['TrackChangesGetSuggestionResponse']();_0x57a560['pos']<_0x387462;){var _0x543817=_0x57a560['uint32']();if(_0x543817===_0x369bb1)break;switch(_0x543817>>>0x3){case 0x1:_0x4c1339['id']=_0x57a560['string']();break;case 0x2:_0x4c1339['authorId']=_0x57a560['string']();break;case 0x3:_0x4c1339['type']=_0x57a560['string']();break;case 0x4:_0x4c1339['createdAt']=_0x57a560['string']();break;case 0x5:_0x4c1339['data']=_0x57a560['string']();break;case 0x6:_0x4c1339['hasComments']=_0x57a560['bool']();break;case 0x7:_0x4c1339['state']=_0x57a560['string']();break;case 0x8:_0x4c1339['attributes']=_0x57a560['string']();break;default:_0x57a560['skipType'](0x7&_0x543817,_0x27d0c0);}}return _0x4c1339;},_0x5b19d7['decodeDelimited']=function(_0x18cb30){return _0x18cb30 instanceof _0x280c77||(_0x18cb30=new _0x280c77(_0x18cb30)),this['decode'](_0x18cb30,_0x18cb30['uint32']());},_0x5b19d7['verify']=function(_0x18c30d,_0x36901c){return'object'!=typeof _0x18c30d||null===_0x18c30d?'object\x20expected':(void 0x0===_0x36901c&&(_0x36901c=0x0),_0x36901c>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x18c30d['id']&&Object['hasOwnProperty']['call'](_0x18c30d,'id')&&!_0x1ca790['isString'](_0x18c30d['id'])?'id:\x20string\x20expected':null!=_0x18c30d['authorId']&&Object['hasOwnProperty']['call'](_0x18c30d,'authorId')&&!_0x1ca790['isString'](_0x18c30d['authorId'])?'authorId:\x20string\x20expected':null!=_0x18c30d['type']&&Object['hasOwnProperty']['call'](_0x18c30d,'type')&&!_0x1ca790['isString'](_0x18c30d['type'])?'type:\x20string\x20expected':null!=_0x18c30d['createdAt']&&Object['hasOwnProperty']['call'](_0x18c30d,'createdAt')&&!_0x1ca790['isString'](_0x18c30d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x18c30d['data']&&Object['hasOwnProperty']['call'](_0x18c30d,'data')&&!_0x1ca790['isString'](_0x18c30d['data'])?'data:\x20string\x20expected':null!=_0x18c30d['hasComments']&&Object['hasOwnProperty']['call'](_0x18c30d,'hasComments')&&'boolean'!=typeof _0x18c30d['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x18c30d['state']&&Object['hasOwnProperty']['call'](_0x18c30d,'state')&&!_0x1ca790['isString'](_0x18c30d['state'])?'state:\x20string\x20expected':null!=_0x18c30d['attributes']&&Object['hasOwnProperty']['call'](_0x18c30d,'attributes')&&!_0x1ca790['isString'](_0x18c30d['attributes'])?'attributes:\x20string\x20expected':null);},_0x5b19d7['fromObject']=function(_0x15f8c4,_0x379b12){if(_0x15f8c4 instanceof _0x4f54f6['TrackChangesGetSuggestionResponse'])return _0x15f8c4;if(!_0x1ca790['isObject'](_0x15f8c4))throw TypeError('.TrackChangesGetSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x379b12&&(_0x379b12=0x0),_0x379b12>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21887a=new _0x4f54f6['TrackChangesGetSuggestionResponse']();return null!=_0x15f8c4['id']&&(_0x21887a['id']=String(_0x15f8c4['id'])),null!=_0x15f8c4['authorId']&&(_0x21887a['authorId']=String(_0x15f8c4['authorId'])),null!=_0x15f8c4['type']&&(_0x21887a['type']=String(_0x15f8c4['type'])),null!=_0x15f8c4['createdAt']&&(_0x21887a['createdAt']=String(_0x15f8c4['createdAt'])),null!=_0x15f8c4['data']&&(_0x21887a['data']=String(_0x15f8c4['data'])),null!=_0x15f8c4['hasComments']&&(_0x21887a['hasComments']=Boolean(_0x15f8c4['hasComments'])),null!=_0x15f8c4['state']&&(_0x21887a['state']=String(_0x15f8c4['state'])),null!=_0x15f8c4['attributes']&&(_0x21887a['attributes']=String(_0x15f8c4['attributes'])),_0x21887a;},_0x5b19d7['toObject']=function(_0x3797f4,_0x22daa2,_0x55f9f6){if(_0x22daa2||(_0x22daa2={}),void 0x0===_0x55f9f6&&(_0x55f9f6=0x0),_0x55f9f6>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xdfc46b={};return _0x22daa2['defaults']&&(_0xdfc46b['id']='',_0xdfc46b['authorId']='',_0xdfc46b['type']='',_0xdfc46b['createdAt']='',_0xdfc46b['data']='',_0xdfc46b['hasComments']=!0x1,_0xdfc46b['state']='',_0xdfc46b['attributes']=''),null!=_0x3797f4['id']&&Object['hasOwnProperty']['call'](_0x3797f4,'id')&&(_0xdfc46b['id']=_0x3797f4['id']),null!=_0x3797f4['authorId']&&Object['hasOwnProperty']['call'](_0x3797f4,'authorId')&&(_0xdfc46b['authorId']=_0x3797f4['authorId']),null!=_0x3797f4['type']&&Object['hasOwnProperty']['call'](_0x3797f4,'type')&&(_0xdfc46b['type']=_0x3797f4['type']),null!=_0x3797f4['createdAt']&&Object['hasOwnProperty']['call'](_0x3797f4,'createdAt')&&(_0xdfc46b['createdAt']=_0x3797f4['createdAt']),null!=_0x3797f4['data']&&Object['hasOwnProperty']['call'](_0x3797f4,'data')&&(_0xdfc46b['data']=_0x3797f4['data']),null!=_0x3797f4['hasComments']&&Object['hasOwnProperty']['call'](_0x3797f4,'hasComments')&&(_0xdfc46b['hasComments']=_0x3797f4['hasComments']),null!=_0x3797f4['state']&&Object['hasOwnProperty']['call'](_0x3797f4,'state')&&(_0xdfc46b['state']=_0x3797f4['state']),null!=_0x3797f4['attributes']&&Object['hasOwnProperty']['call'](_0x3797f4,'attributes')&&(_0xdfc46b['attributes']=_0x3797f4['attributes']),_0xdfc46b;},_0x5b19d7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5b19d7['getTypeUrl']=function(_0x34379c){return void 0x0===_0x34379c&&(_0x34379c='type.googleapis.com'),_0x34379c+'/TrackChangesGetSuggestionResponse';},_0x5b19d7;}()),_0x4f54f6['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x59f55a(_0x929306){if(this['suggestions']=[],this['suggestionsV2']=[],_0x929306){for(var _0x408d72=Object['keys'](_0x929306),_0x199e3e=0x0;_0x199e3e<_0x408d72['length'];++_0x199e3e)null!=_0x929306[_0x408d72[_0x199e3e]]&&'__proto__'!==_0x408d72[_0x199e3e]&&(this[_0x408d72[_0x199e3e]]=_0x929306[_0x408d72[_0x199e3e]]);}}return _0x59f55a['prototype']['suggestions']=_0x1ca790['emptyArray'],_0x59f55a['prototype']['suggestionsV2']=_0x1ca790['emptyArray'],_0x59f55a['create']=function(_0x2a517d){return new _0x59f55a(_0x2a517d);},_0x59f55a['encode']=function(_0x47a118,_0x49e28b,_0x1e91ab){if(_0x49e28b||(_0x49e28b=_0x5c509e['create']()),void 0x0===_0x1e91ab&&(_0x1e91ab=0x0),_0x1e91ab>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x47a118['suggestions']&&_0x47a118['suggestions']['length']){for(var _0x211a44=0x0;_0x211a44<_0x47a118['suggestions']['length'];++_0x211a44)_0x49e28b['uint32'](0xa)['string'](_0x47a118['suggestions'][_0x211a44]);}if(null!=_0x47a118['suggestionsV2']&&_0x47a118['suggestionsV2']['length']){for(_0x211a44=0x0;_0x211a44<_0x47a118['suggestionsV2']['length'];++_0x211a44)_0x4f54f6['SuggestionDescriptor']['encode'](_0x47a118['suggestionsV2'][_0x211a44],_0x49e28b['uint32'](0x12)['fork'](),_0x1e91ab+0x1)['ldelim']();}return _0x49e28b;},_0x59f55a['encodeDelimited']=function(_0x80c0e5,_0x222699){return this['encode'](_0x80c0e5,_0x222699)['ldelim']();},_0x59f55a['decode']=function(_0x20b7b9,_0x5a44e2,_0x2134ea,_0x424993){if(_0x20b7b9 instanceof _0x280c77||(_0x20b7b9=_0x280c77['create'](_0x20b7b9)),void 0x0===_0x424993&&(_0x424993=0x0),_0x424993>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x346a82=void 0x0===_0x5a44e2?_0x20b7b9['len']:_0x20b7b9['pos']+_0x5a44e2,_0x346f2e=new _0x4f54f6['TrackChangesGetAllSuggestionsResponse']();_0x20b7b9['pos']<_0x346a82;){var _0x2496fc=_0x20b7b9['uint32']();if(_0x2496fc===_0x2134ea)break;switch(_0x2496fc>>>0x3){case 0x1:_0x346f2e['suggestions']&&_0x346f2e['suggestions']['length']||(_0x346f2e['suggestions']=[]),_0x346f2e['suggestions']['push'](_0x20b7b9['string']());break;case 0x2:_0x346f2e['suggestionsV2']&&_0x346f2e['suggestionsV2']['length']||(_0x346f2e['suggestionsV2']=[]),_0x346f2e['suggestionsV2']['push'](_0x4f54f6['SuggestionDescriptor']['decode'](_0x20b7b9,_0x20b7b9['uint32'](),void 0x0,_0x424993+0x1));break;default:_0x20b7b9['skipType'](0x7&_0x2496fc,_0x424993);}}return _0x346f2e;},_0x59f55a['decodeDelimited']=function(_0x4ff16d){return _0x4ff16d instanceof _0x280c77||(_0x4ff16d=new _0x280c77(_0x4ff16d)),this['decode'](_0x4ff16d,_0x4ff16d['uint32']());},_0x59f55a['verify']=function(_0x546c2e,_0x5e5ce3){if('object'!=typeof _0x546c2e||null===_0x546c2e)return'object\x20expected';if(void 0x0===_0x5e5ce3&&(_0x5e5ce3=0x0),_0x5e5ce3>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x546c2e['suggestions']&&Object['hasOwnProperty']['call'](_0x546c2e,'suggestions')){if(!Array['isArray'](_0x546c2e['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x1bce0f=0x0;_0x1bce0f<_0x546c2e['suggestions']['length'];++_0x1bce0f)if(!_0x1ca790['isString'](_0x546c2e['suggestions'][_0x1bce0f]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x546c2e['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x546c2e,'suggestionsV2')){if(!Array['isArray'](_0x546c2e['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x1bce0f=0x0;_0x1bce0f<_0x546c2e['suggestionsV2']['length'];++_0x1bce0f){var _0x2c6357=_0x4f54f6['SuggestionDescriptor']['verify'](_0x546c2e['suggestionsV2'][_0x1bce0f],_0x5e5ce3+0x1);if(_0x2c6357)return'suggestionsV2.'+_0x2c6357;}}return null;},_0x59f55a['fromObject']=function(_0x42dafe,_0x5ce333){if(_0x42dafe instanceof _0x4f54f6['TrackChangesGetAllSuggestionsResponse'])return _0x42dafe;if(!_0x1ca790['isObject'](_0x42dafe))throw TypeError('.TrackChangesGetAllSuggestionsResponse:\x20object\x20expected');if(void 0x0===_0x5ce333&&(_0x5ce333=0x0),_0x5ce333>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x391b3a=new _0x4f54f6['TrackChangesGetAllSuggestionsResponse']();if(_0x42dafe['suggestions']){if(!Array['isArray'](_0x42dafe['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x391b3a['suggestions']=[];for(var _0x21cd72=0x0;_0x21cd72<_0x42dafe['suggestions']['length'];++_0x21cd72)_0x391b3a['suggestions'][_0x21cd72]=String(_0x42dafe['suggestions'][_0x21cd72]);}if(_0x42dafe['suggestionsV2']){if(!Array['isArray'](_0x42dafe['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x391b3a['suggestionsV2']=[],_0x21cd72=0x0;_0x21cd72<_0x42dafe['suggestionsV2']['length'];++_0x21cd72){if(!_0x1ca790['isObject'](_0x42dafe['suggestionsV2'][_0x21cd72]))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x391b3a['suggestionsV2'][_0x21cd72]=_0x4f54f6['SuggestionDescriptor']['fromObject'](_0x42dafe['suggestionsV2'][_0x21cd72],_0x5ce333+0x1);}}return _0x391b3a;},_0x59f55a['toObject']=function(_0xab8704,_0x3c972a,_0x1dbf40){if(_0x3c972a||(_0x3c972a={}),void 0x0===_0x1dbf40&&(_0x1dbf40=0x0),_0x1dbf40>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1ac203={};if((_0x3c972a['arrays']||_0x3c972a['defaults'])&&(_0x1ac203['suggestions']=[],_0x1ac203['suggestionsV2']=[]),_0xab8704['suggestions']&&_0xab8704['suggestions']['length']){_0x1ac203['suggestions']=[];for(var _0x198e47=0x0;_0x198e47<_0xab8704['suggestions']['length'];++_0x198e47)_0x1ac203['suggestions'][_0x198e47]=_0xab8704['suggestions'][_0x198e47];}if(_0xab8704['suggestionsV2']&&_0xab8704['suggestionsV2']['length']){for(_0x1ac203['suggestionsV2']=[],_0x198e47=0x0;_0x198e47<_0xab8704['suggestionsV2']['length'];++_0x198e47)_0x1ac203['suggestionsV2'][_0x198e47]=_0x4f54f6['SuggestionDescriptor']['toObject'](_0xab8704['suggestionsV2'][_0x198e47],_0x3c972a,_0x1dbf40+0x1);}return _0x1ac203;},_0x59f55a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x59f55a['getTypeUrl']=function(_0x3209d0){return void 0x0===_0x3209d0&&(_0x3209d0='type.googleapis.com'),_0x3209d0+'/TrackChangesGetAllSuggestionsResponse';},_0x59f55a;}()),_0x4f54f6['TrackChangesConnectResponse']=(function(){function _0x1a7912(_0x449ceb){if(this['suggestions']=[],this['suggestionsV2']=[],_0x449ceb){for(var _0x5ecb54=Object['keys'](_0x449ceb),_0xfcd13=0x0;_0xfcd13<_0x5ecb54['length'];++_0xfcd13)null!=_0x449ceb[_0x5ecb54[_0xfcd13]]&&'__proto__'!==_0x5ecb54[_0xfcd13]&&(this[_0x5ecb54[_0xfcd13]]=_0x449ceb[_0x5ecb54[_0xfcd13]]);}}return _0x1a7912['prototype']['channel']='',_0x1a7912['prototype']['suggestions']=_0x1ca790['emptyArray'],_0x1a7912['prototype']['suggestionsV2']=_0x1ca790['emptyArray'],_0x1a7912['create']=function(_0x228e6d){return new _0x1a7912(_0x228e6d);},_0x1a7912['encode']=function(_0x2d9d7a,_0x5bfa17,_0x37a30e){if(_0x5bfa17||(_0x5bfa17=_0x5c509e['create']()),void 0x0===_0x37a30e&&(_0x37a30e=0x0),_0x37a30e>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2d9d7a['channel']&&Object['hasOwnProperty']['call'](_0x2d9d7a,'channel')&&_0x5bfa17['uint32'](0xa)['string'](_0x2d9d7a['channel']),null!=_0x2d9d7a['suggestions']&&_0x2d9d7a['suggestions']['length']){for(var _0x520cec=0x0;_0x520cec<_0x2d9d7a['suggestions']['length'];++_0x520cec)_0x5bfa17['uint32'](0x12)['string'](_0x2d9d7a['suggestions'][_0x520cec]);}if(null!=_0x2d9d7a['suggestionsV2']&&_0x2d9d7a['suggestionsV2']['length']){for(_0x520cec=0x0;_0x520cec<_0x2d9d7a['suggestionsV2']['length'];++_0x520cec)_0x4f54f6['SuggestionDescriptor']['encode'](_0x2d9d7a['suggestionsV2'][_0x520cec],_0x5bfa17['uint32'](0x1a)['fork'](),_0x37a30e+0x1)['ldelim']();}return _0x5bfa17;},_0x1a7912['encodeDelimited']=function(_0x4b2ff6,_0x5e1c6d){return this['encode'](_0x4b2ff6,_0x5e1c6d)['ldelim']();},_0x1a7912['decode']=function(_0x41da93,_0x2604c9,_0x558b6a,_0x16367d){if(_0x41da93 instanceof _0x280c77||(_0x41da93=_0x280c77['create'](_0x41da93)),void 0x0===_0x16367d&&(_0x16367d=0x0),_0x16367d>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8abe19=void 0x0===_0x2604c9?_0x41da93['len']:_0x41da93['pos']+_0x2604c9,_0x1a6027=new _0x4f54f6['TrackChangesConnectResponse']();_0x41da93['pos']<_0x8abe19;){var _0x5dbf9c=_0x41da93['uint32']();if(_0x5dbf9c===_0x558b6a)break;switch(_0x5dbf9c>>>0x3){case 0x1:_0x1a6027['channel']=_0x41da93['string']();break;case 0x2:_0x1a6027['suggestions']&&_0x1a6027['suggestions']['length']||(_0x1a6027['suggestions']=[]),_0x1a6027['suggestions']['push'](_0x41da93['string']());break;case 0x3:_0x1a6027['suggestionsV2']&&_0x1a6027['suggestionsV2']['length']||(_0x1a6027['suggestionsV2']=[]),_0x1a6027['suggestionsV2']['push'](_0x4f54f6['SuggestionDescriptor']['decode'](_0x41da93,_0x41da93['uint32'](),void 0x0,_0x16367d+0x1));break;default:_0x41da93['skipType'](0x7&_0x5dbf9c,_0x16367d);}}return _0x1a6027;},_0x1a7912['decodeDelimited']=function(_0x116927){return _0x116927 instanceof _0x280c77||(_0x116927=new _0x280c77(_0x116927)),this['decode'](_0x116927,_0x116927['uint32']());},_0x1a7912['verify']=function(_0x8995cc,_0x20e293){if('object'!=typeof _0x8995cc||null===_0x8995cc)return'object\x20expected';if(void 0x0===_0x20e293&&(_0x20e293=0x0),_0x20e293>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x8995cc['channel']&&Object['hasOwnProperty']['call'](_0x8995cc,'channel')&&!_0x1ca790['isString'](_0x8995cc['channel']))return'channel:\x20string\x20expected';if(null!=_0x8995cc['suggestions']&&Object['hasOwnProperty']['call'](_0x8995cc,'suggestions')){if(!Array['isArray'](_0x8995cc['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x339e97=0x0;_0x339e97<_0x8995cc['suggestions']['length'];++_0x339e97)if(!_0x1ca790['isString'](_0x8995cc['suggestions'][_0x339e97]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x8995cc['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x8995cc,'suggestionsV2')){if(!Array['isArray'](_0x8995cc['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x339e97=0x0;_0x339e97<_0x8995cc['suggestionsV2']['length'];++_0x339e97){var _0x2517fc=_0x4f54f6['SuggestionDescriptor']['verify'](_0x8995cc['suggestionsV2'][_0x339e97],_0x20e293+0x1);if(_0x2517fc)return'suggestionsV2.'+_0x2517fc;}}return null;},_0x1a7912['fromObject']=function(_0x473a0f,_0x1b8d4e){if(_0x473a0f instanceof _0x4f54f6['TrackChangesConnectResponse'])return _0x473a0f;if(!_0x1ca790['isObject'](_0x473a0f))throw TypeError('.TrackChangesConnectResponse:\x20object\x20expected');if(void 0x0===_0x1b8d4e&&(_0x1b8d4e=0x0),_0x1b8d4e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x353ddd=new _0x4f54f6['TrackChangesConnectResponse']();if(null!=_0x473a0f['channel']&&(_0x353ddd['channel']=String(_0x473a0f['channel'])),_0x473a0f['suggestions']){if(!Array['isArray'](_0x473a0f['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x353ddd['suggestions']=[];for(var _0x4c6854=0x0;_0x4c6854<_0x473a0f['suggestions']['length'];++_0x4c6854)_0x353ddd['suggestions'][_0x4c6854]=String(_0x473a0f['suggestions'][_0x4c6854]);}if(_0x473a0f['suggestionsV2']){if(!Array['isArray'](_0x473a0f['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x353ddd['suggestionsV2']=[],_0x4c6854=0x0;_0x4c6854<_0x473a0f['suggestionsV2']['length'];++_0x4c6854){if(!_0x1ca790['isObject'](_0x473a0f['suggestionsV2'][_0x4c6854]))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x353ddd['suggestionsV2'][_0x4c6854]=_0x4f54f6['SuggestionDescriptor']['fromObject'](_0x473a0f['suggestionsV2'][_0x4c6854],_0x1b8d4e+0x1);}}return _0x353ddd;},_0x1a7912['toObject']=function(_0x4553d0,_0x529aef,_0x48af17){if(_0x529aef||(_0x529aef={}),void 0x0===_0x48af17&&(_0x48af17=0x0),_0x48af17>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x302d58={};if((_0x529aef['arrays']||_0x529aef['defaults'])&&(_0x302d58['suggestions']=[],_0x302d58['suggestionsV2']=[]),_0x529aef['defaults']&&(_0x302d58['channel']=''),null!=_0x4553d0['channel']&&Object['hasOwnProperty']['call'](_0x4553d0,'channel')&&(_0x302d58['channel']=_0x4553d0['channel']),_0x4553d0['suggestions']&&_0x4553d0['suggestions']['length']){_0x302d58['suggestions']=[];for(var _0xed1888=0x0;_0xed1888<_0x4553d0['suggestions']['length'];++_0xed1888)_0x302d58['suggestions'][_0xed1888]=_0x4553d0['suggestions'][_0xed1888];}if(_0x4553d0['suggestionsV2']&&_0x4553d0['suggestionsV2']['length']){for(_0x302d58['suggestionsV2']=[],_0xed1888=0x0;_0xed1888<_0x4553d0['suggestionsV2']['length'];++_0xed1888)_0x302d58['suggestionsV2'][_0xed1888]=_0x4f54f6['SuggestionDescriptor']['toObject'](_0x4553d0['suggestionsV2'][_0xed1888],_0x529aef,_0x48af17+0x1);}return _0x302d58;},_0x1a7912['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x1a7912['getTypeUrl']=function(_0x50d5b7){return void 0x0===_0x50d5b7&&(_0x50d5b7='type.googleapis.com'),_0x50d5b7+'/TrackChangesConnectResponse';},_0x1a7912;}()),_0x4f54f6['TrackChangesAddSuggestionResponse']=(function(){function _0x35ffa4(_0x324a0e){if(_0x324a0e){for(var _0x501bba=Object['keys'](_0x324a0e),_0x18aeea=0x0;_0x18aeea<_0x501bba['length'];++_0x18aeea)null!=_0x324a0e[_0x501bba[_0x18aeea]]&&'__proto__'!==_0x501bba[_0x18aeea]&&(this[_0x501bba[_0x18aeea]]=_0x324a0e[_0x501bba[_0x18aeea]]);}}return _0x35ffa4['prototype']['id']='',_0x35ffa4['prototype']['authorId']='',_0x35ffa4['prototype']['type']='',_0x35ffa4['prototype']['createdAt']='',_0x35ffa4['prototype']['data']='',_0x35ffa4['prototype']['hasComments']=!0x1,_0x35ffa4['prototype']['state']='',_0x35ffa4['prototype']['attributes']='',_0x35ffa4['create']=function(_0x4abf4b){return new _0x35ffa4(_0x4abf4b);},_0x35ffa4['encode']=function(_0x438961,_0x3ad6d1,_0x325fff){if(_0x3ad6d1||(_0x3ad6d1=_0x5c509e['create']()),void 0x0===_0x325fff&&(_0x325fff=0x0),_0x325fff>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x438961['id']&&Object['hasOwnProperty']['call'](_0x438961,'id')&&_0x3ad6d1['uint32'](0xa)['string'](_0x438961['id']),null!=_0x438961['authorId']&&Object['hasOwnProperty']['call'](_0x438961,'authorId')&&_0x3ad6d1['uint32'](0x12)['string'](_0x438961['authorId']),null!=_0x438961['type']&&Object['hasOwnProperty']['call'](_0x438961,'type')&&_0x3ad6d1['uint32'](0x1a)['string'](_0x438961['type']),null!=_0x438961['createdAt']&&Object['hasOwnProperty']['call'](_0x438961,'createdAt')&&_0x3ad6d1['uint32'](0x22)['string'](_0x438961['createdAt']),null!=_0x438961['data']&&Object['hasOwnProperty']['call'](_0x438961,'data')&&_0x3ad6d1['uint32'](0x2a)['string'](_0x438961['data']),null!=_0x438961['hasComments']&&Object['hasOwnProperty']['call'](_0x438961,'hasComments')&&_0x3ad6d1['uint32'](0x30)['bool'](_0x438961['hasComments']),null!=_0x438961['state']&&Object['hasOwnProperty']['call'](_0x438961,'state')&&_0x3ad6d1['uint32'](0x3a)['string'](_0x438961['state']),null!=_0x438961['attributes']&&Object['hasOwnProperty']['call'](_0x438961,'attributes')&&_0x3ad6d1['uint32'](0x42)['string'](_0x438961['attributes']),_0x3ad6d1;},_0x35ffa4['encodeDelimited']=function(_0xcc0f9a,_0x1118af){return this['encode'](_0xcc0f9a,_0x1118af)['ldelim']();},_0x35ffa4['decode']=function(_0x5f07ad,_0x54ef66,_0xd3cac6,_0x31e87f){if(_0x5f07ad instanceof _0x280c77||(_0x5f07ad=_0x280c77['create'](_0x5f07ad)),void 0x0===_0x31e87f&&(_0x31e87f=0x0),_0x31e87f>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ed6fd=void 0x0===_0x54ef66?_0x5f07ad['len']:_0x5f07ad['pos']+_0x54ef66,_0x499166=new _0x4f54f6['TrackChangesAddSuggestionResponse']();_0x5f07ad['pos']<_0x4ed6fd;){var _0x2dac75=_0x5f07ad['uint32']();if(_0x2dac75===_0xd3cac6)break;switch(_0x2dac75>>>0x3){case 0x1:_0x499166['id']=_0x5f07ad['string']();break;case 0x2:_0x499166['authorId']=_0x5f07ad['string']();break;case 0x3:_0x499166['type']=_0x5f07ad['string']();break;case 0x4:_0x499166['createdAt']=_0x5f07ad['string']();break;case 0x5:_0x499166['data']=_0x5f07ad['string']();break;case 0x6:_0x499166['hasComments']=_0x5f07ad['bool']();break;case 0x7:_0x499166['state']=_0x5f07ad['string']();break;case 0x8:_0x499166['attributes']=_0x5f07ad['string']();break;default:_0x5f07ad['skipType'](0x7&_0x2dac75,_0x31e87f);}}return _0x499166;},_0x35ffa4['decodeDelimited']=function(_0x421eae){return _0x421eae instanceof _0x280c77||(_0x421eae=new _0x280c77(_0x421eae)),this['decode'](_0x421eae,_0x421eae['uint32']());},_0x35ffa4['verify']=function(_0x1343eb,_0xfa5414){return'object'!=typeof _0x1343eb||null===_0x1343eb?'object\x20expected':(void 0x0===_0xfa5414&&(_0xfa5414=0x0),_0xfa5414>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1343eb['id']&&Object['hasOwnProperty']['call'](_0x1343eb,'id')&&!_0x1ca790['isString'](_0x1343eb['id'])?'id:\x20string\x20expected':null!=_0x1343eb['authorId']&&Object['hasOwnProperty']['call'](_0x1343eb,'authorId')&&!_0x1ca790['isString'](_0x1343eb['authorId'])?'authorId:\x20string\x20expected':null!=_0x1343eb['type']&&Object['hasOwnProperty']['call'](_0x1343eb,'type')&&!_0x1ca790['isString'](_0x1343eb['type'])?'type:\x20string\x20expected':null!=_0x1343eb['createdAt']&&Object['hasOwnProperty']['call'](_0x1343eb,'createdAt')&&!_0x1ca790['isString'](_0x1343eb['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1343eb['data']&&Object['hasOwnProperty']['call'](_0x1343eb,'data')&&!_0x1ca790['isString'](_0x1343eb['data'])?'data:\x20string\x20expected':null!=_0x1343eb['hasComments']&&Object['hasOwnProperty']['call'](_0x1343eb,'hasComments')&&'boolean'!=typeof _0x1343eb['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1343eb['state']&&Object['hasOwnProperty']['call'](_0x1343eb,'state')&&!_0x1ca790['isString'](_0x1343eb['state'])?'state:\x20string\x20expected':null!=_0x1343eb['attributes']&&Object['hasOwnProperty']['call'](_0x1343eb,'attributes')&&!_0x1ca790['isString'](_0x1343eb['attributes'])?'attributes:\x20string\x20expected':null);},_0x35ffa4['fromObject']=function(_0x1e9add,_0x435358){if(_0x1e9add instanceof _0x4f54f6['TrackChangesAddSuggestionResponse'])return _0x1e9add;if(!_0x1ca790['isObject'](_0x1e9add))throw TypeError('.TrackChangesAddSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x435358&&(_0x435358=0x0),_0x435358>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x866f55=new _0x4f54f6['TrackChangesAddSuggestionResponse']();return null!=_0x1e9add['id']&&(_0x866f55['id']=String(_0x1e9add['id'])),null!=_0x1e9add['authorId']&&(_0x866f55['authorId']=String(_0x1e9add['authorId'])),null!=_0x1e9add['type']&&(_0x866f55['type']=String(_0x1e9add['type'])),null!=_0x1e9add['createdAt']&&(_0x866f55['createdAt']=String(_0x1e9add['createdAt'])),null!=_0x1e9add['data']&&(_0x866f55['data']=String(_0x1e9add['data'])),null!=_0x1e9add['hasComments']&&(_0x866f55['hasComments']=Boolean(_0x1e9add['hasComments'])),null!=_0x1e9add['state']&&(_0x866f55['state']=String(_0x1e9add['state'])),null!=_0x1e9add['attributes']&&(_0x866f55['attributes']=String(_0x1e9add['attributes'])),_0x866f55;},_0x35ffa4['toObject']=function(_0x14be5b,_0x51d304,_0x3e5ba6){if(_0x51d304||(_0x51d304={}),void 0x0===_0x3e5ba6&&(_0x3e5ba6=0x0),_0x3e5ba6>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x22a5b3={};return _0x51d304['defaults']&&(_0x22a5b3['id']='',_0x22a5b3['authorId']='',_0x22a5b3['type']='',_0x22a5b3['createdAt']='',_0x22a5b3['data']='',_0x22a5b3['hasComments']=!0x1,_0x22a5b3['state']='',_0x22a5b3['attributes']=''),null!=_0x14be5b['id']&&Object['hasOwnProperty']['call'](_0x14be5b,'id')&&(_0x22a5b3['id']=_0x14be5b['id']),null!=_0x14be5b['authorId']&&Object['hasOwnProperty']['call'](_0x14be5b,'authorId')&&(_0x22a5b3['authorId']=_0x14be5b['authorId']),null!=_0x14be5b['type']&&Object['hasOwnProperty']['call'](_0x14be5b,'type')&&(_0x22a5b3['type']=_0x14be5b['type']),null!=_0x14be5b['createdAt']&&Object['hasOwnProperty']['call'](_0x14be5b,'createdAt')&&(_0x22a5b3['createdAt']=_0x14be5b['createdAt']),null!=_0x14be5b['data']&&Object['hasOwnProperty']['call'](_0x14be5b,'data')&&(_0x22a5b3['data']=_0x14be5b['data']),null!=_0x14be5b['hasComments']&&Object['hasOwnProperty']['call'](_0x14be5b,'hasComments')&&(_0x22a5b3['hasComments']=_0x14be5b['hasComments']),null!=_0x14be5b['state']&&Object['hasOwnProperty']['call'](_0x14be5b,'state')&&(_0x22a5b3['state']=_0x14be5b['state']),null!=_0x14be5b['attributes']&&Object['hasOwnProperty']['call'](_0x14be5b,'attributes')&&(_0x22a5b3['attributes']=_0x14be5b['attributes']),_0x22a5b3;},_0x35ffa4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x35ffa4['getTypeUrl']=function(_0x50e5e5){return void 0x0===_0x50e5e5&&(_0x50e5e5='type.googleapis.com'),_0x50e5e5+'/TrackChangesAddSuggestionResponse';},_0x35ffa4;}()),_0x4f54f6['TrackChangesUpdateSuggestionMessage']=(function(){function _0x5afa60(_0x529f05){if(_0x529f05){for(var _0x1687c8=Object['keys'](_0x529f05),_0x414689=0x0;_0x414689<_0x1687c8['length'];++_0x414689)null!=_0x529f05[_0x1687c8[_0x414689]]&&'__proto__'!==_0x1687c8[_0x414689]&&(this[_0x1687c8[_0x414689]]=_0x529f05[_0x1687c8[_0x414689]]);}}return _0x5afa60['prototype']['id']='',_0x5afa60['prototype']['documentId']='',_0x5afa60['prototype']['hasComments']=!0x1,_0x5afa60['prototype']['isHasCommentsModified']=!0x1,_0x5afa60['prototype']['state']='',_0x5afa60['prototype']['attributes']='',_0x5afa60['create']=function(_0x24ba39){return new _0x5afa60(_0x24ba39);},_0x5afa60['encode']=function(_0x485a50,_0x346f30,_0x259bee){if(_0x346f30||(_0x346f30=_0x5c509e['create']()),void 0x0===_0x259bee&&(_0x259bee=0x0),_0x259bee>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x485a50['id']&&Object['hasOwnProperty']['call'](_0x485a50,'id')&&_0x346f30['uint32'](0xa)['string'](_0x485a50['id']),null!=_0x485a50['documentId']&&Object['hasOwnProperty']['call'](_0x485a50,'documentId')&&_0x346f30['uint32'](0x12)['string'](_0x485a50['documentId']),null!=_0x485a50['hasComments']&&Object['hasOwnProperty']['call'](_0x485a50,'hasComments')&&_0x346f30['uint32'](0x18)['bool'](_0x485a50['hasComments']),null!=_0x485a50['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x485a50,'isHasCommentsModified')&&_0x346f30['uint32'](0x20)['bool'](_0x485a50['isHasCommentsModified']),null!=_0x485a50['state']&&Object['hasOwnProperty']['call'](_0x485a50,'state')&&_0x346f30['uint32'](0x2a)['string'](_0x485a50['state']),null!=_0x485a50['attributes']&&Object['hasOwnProperty']['call'](_0x485a50,'attributes')&&_0x346f30['uint32'](0x32)['string'](_0x485a50['attributes']),_0x346f30;},_0x5afa60['encodeDelimited']=function(_0x3ceb3c,_0x2b8b26){return this['encode'](_0x3ceb3c,_0x2b8b26)['ldelim']();},_0x5afa60['decode']=function(_0x64afc4,_0x414ba3,_0x477485,_0x58e7a3){if(_0x64afc4 instanceof _0x280c77||(_0x64afc4=_0x280c77['create'](_0x64afc4)),void 0x0===_0x58e7a3&&(_0x58e7a3=0x0),_0x58e7a3>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x436d4d=void 0x0===_0x414ba3?_0x64afc4['len']:_0x64afc4['pos']+_0x414ba3,_0x2ac48c=new _0x4f54f6['TrackChangesUpdateSuggestionMessage']();_0x64afc4['pos']<_0x436d4d;){var _0x202ea6=_0x64afc4['uint32']();if(_0x202ea6===_0x477485)break;switch(_0x202ea6>>>0x3){case 0x1:_0x2ac48c['id']=_0x64afc4['string']();break;case 0x2:_0x2ac48c['documentId']=_0x64afc4['string']();break;case 0x3:_0x2ac48c['hasComments']=_0x64afc4['bool']();break;case 0x4:_0x2ac48c['isHasCommentsModified']=_0x64afc4['bool']();break;case 0x5:_0x2ac48c['state']=_0x64afc4['string']();break;case 0x6:_0x2ac48c['attributes']=_0x64afc4['string']();break;default:_0x64afc4['skipType'](0x7&_0x202ea6,_0x58e7a3);}}return _0x2ac48c;},_0x5afa60['decodeDelimited']=function(_0x711942){return _0x711942 instanceof _0x280c77||(_0x711942=new _0x280c77(_0x711942)),this['decode'](_0x711942,_0x711942['uint32']());},_0x5afa60['verify']=function(_0x3417de,_0x1812ae){return'object'!=typeof _0x3417de||null===_0x3417de?'object\x20expected':(void 0x0===_0x1812ae&&(_0x1812ae=0x0),_0x1812ae>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3417de['id']&&Object['hasOwnProperty']['call'](_0x3417de,'id')&&!_0x1ca790['isString'](_0x3417de['id'])?'id:\x20string\x20expected':null!=_0x3417de['documentId']&&Object['hasOwnProperty']['call'](_0x3417de,'documentId')&&!_0x1ca790['isString'](_0x3417de['documentId'])?'documentId:\x20string\x20expected':null!=_0x3417de['hasComments']&&Object['hasOwnProperty']['call'](_0x3417de,'hasComments')&&'boolean'!=typeof _0x3417de['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x3417de['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x3417de,'isHasCommentsModified')&&'boolean'!=typeof _0x3417de['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x3417de['state']&&Object['hasOwnProperty']['call'](_0x3417de,'state')&&!_0x1ca790['isString'](_0x3417de['state'])?'state:\x20string\x20expected':null!=_0x3417de['attributes']&&Object['hasOwnProperty']['call'](_0x3417de,'attributes')&&!_0x1ca790['isString'](_0x3417de['attributes'])?'attributes:\x20string\x20expected':null);},_0x5afa60['fromObject']=function(_0x5223e5,_0x1d006e){if(_0x5223e5 instanceof _0x4f54f6['TrackChangesUpdateSuggestionMessage'])return _0x5223e5;if(!_0x1ca790['isObject'](_0x5223e5))throw TypeError('.TrackChangesUpdateSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x1d006e&&(_0x1d006e=0x0),_0x1d006e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21dfcf=new _0x4f54f6['TrackChangesUpdateSuggestionMessage']();return null!=_0x5223e5['id']&&(_0x21dfcf['id']=String(_0x5223e5['id'])),null!=_0x5223e5['documentId']&&(_0x21dfcf['documentId']=String(_0x5223e5['documentId'])),null!=_0x5223e5['hasComments']&&(_0x21dfcf['hasComments']=Boolean(_0x5223e5['hasComments'])),null!=_0x5223e5['isHasCommentsModified']&&(_0x21dfcf['isHasCommentsModified']=Boolean(_0x5223e5['isHasCommentsModified'])),null!=_0x5223e5['state']&&(_0x21dfcf['state']=String(_0x5223e5['state'])),null!=_0x5223e5['attributes']&&(_0x21dfcf['attributes']=String(_0x5223e5['attributes'])),_0x21dfcf;},_0x5afa60['toObject']=function(_0x30ea6e,_0x2149ce,_0xb4abb4){if(_0x2149ce||(_0x2149ce={}),void 0x0===_0xb4abb4&&(_0xb4abb4=0x0),_0xb4abb4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4dfe19={};return _0x2149ce['defaults']&&(_0x4dfe19['id']='',_0x4dfe19['documentId']='',_0x4dfe19['hasComments']=!0x1,_0x4dfe19['isHasCommentsModified']=!0x1,_0x4dfe19['state']='',_0x4dfe19['attributes']=''),null!=_0x30ea6e['id']&&Object['hasOwnProperty']['call'](_0x30ea6e,'id')&&(_0x4dfe19['id']=_0x30ea6e['id']),null!=_0x30ea6e['documentId']&&Object['hasOwnProperty']['call'](_0x30ea6e,'documentId')&&(_0x4dfe19['documentId']=_0x30ea6e['documentId']),null!=_0x30ea6e['hasComments']&&Object['hasOwnProperty']['call'](_0x30ea6e,'hasComments')&&(_0x4dfe19['hasComments']=_0x30ea6e['hasComments']),null!=_0x30ea6e['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x30ea6e,'isHasCommentsModified')&&(_0x4dfe19['isHasCommentsModified']=_0x30ea6e['isHasCommentsModified']),null!=_0x30ea6e['state']&&Object['hasOwnProperty']['call'](_0x30ea6e,'state')&&(_0x4dfe19['state']=_0x30ea6e['state']),null!=_0x30ea6e['attributes']&&Object['hasOwnProperty']['call'](_0x30ea6e,'attributes')&&(_0x4dfe19['attributes']=_0x30ea6e['attributes']),_0x4dfe19;},_0x5afa60['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5afa60['getTypeUrl']=function(_0x4bcfb9){return void 0x0===_0x4bcfb9&&(_0x4bcfb9='type.googleapis.com'),_0x4bcfb9+'/TrackChangesUpdateSuggestionMessage';},_0x5afa60;}()),_0x4f54f6['TrackChangesGetSuggestionMessage']=(function(){function _0x4ec9c3(_0x33b88f){if(_0x33b88f){for(var _0xfeaf0c=Object['keys'](_0x33b88f),_0x3a3925=0x0;_0x3a3925<_0xfeaf0c['length'];++_0x3a3925)null!=_0x33b88f[_0xfeaf0c[_0x3a3925]]&&'__proto__'!==_0xfeaf0c[_0x3a3925]&&(this[_0xfeaf0c[_0x3a3925]]=_0x33b88f[_0xfeaf0c[_0x3a3925]]);}}return _0x4ec9c3['prototype']['id']='',_0x4ec9c3['prototype']['documentId']='',_0x4ec9c3['create']=function(_0x12ab77){return new _0x4ec9c3(_0x12ab77);},_0x4ec9c3['encode']=function(_0x4b8e0e,_0x552492,_0x468d28){if(_0x552492||(_0x552492=_0x5c509e['create']()),void 0x0===_0x468d28&&(_0x468d28=0x0),_0x468d28>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4b8e0e['id']&&Object['hasOwnProperty']['call'](_0x4b8e0e,'id')&&_0x552492['uint32'](0xa)['string'](_0x4b8e0e['id']),null!=_0x4b8e0e['documentId']&&Object['hasOwnProperty']['call'](_0x4b8e0e,'documentId')&&_0x552492['uint32'](0x12)['string'](_0x4b8e0e['documentId']),_0x552492;},_0x4ec9c3['encodeDelimited']=function(_0x45f863,_0x591a5f){return this['encode'](_0x45f863,_0x591a5f)['ldelim']();},_0x4ec9c3['decode']=function(_0x4d27da,_0x2eae8c,_0x41fc8e,_0x59a6fe){if(_0x4d27da instanceof _0x280c77||(_0x4d27da=_0x280c77['create'](_0x4d27da)),void 0x0===_0x59a6fe&&(_0x59a6fe=0x0),_0x59a6fe>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2e01e9=void 0x0===_0x2eae8c?_0x4d27da['len']:_0x4d27da['pos']+_0x2eae8c,_0x359ffb=new _0x4f54f6['TrackChangesGetSuggestionMessage']();_0x4d27da['pos']<_0x2e01e9;){var _0x2ac7b4=_0x4d27da['uint32']();if(_0x2ac7b4===_0x41fc8e)break;switch(_0x2ac7b4>>>0x3){case 0x1:_0x359ffb['id']=_0x4d27da['string']();break;case 0x2:_0x359ffb['documentId']=_0x4d27da['string']();break;default:_0x4d27da['skipType'](0x7&_0x2ac7b4,_0x59a6fe);}}return _0x359ffb;},_0x4ec9c3['decodeDelimited']=function(_0x324348){return _0x324348 instanceof _0x280c77||(_0x324348=new _0x280c77(_0x324348)),this['decode'](_0x324348,_0x324348['uint32']());},_0x4ec9c3['verify']=function(_0x1f482e,_0x2130e1){return'object'!=typeof _0x1f482e||null===_0x1f482e?'object\x20expected':(void 0x0===_0x2130e1&&(_0x2130e1=0x0),_0x2130e1>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1f482e['id']&&Object['hasOwnProperty']['call'](_0x1f482e,'id')&&!_0x1ca790['isString'](_0x1f482e['id'])?'id:\x20string\x20expected':null!=_0x1f482e['documentId']&&Object['hasOwnProperty']['call'](_0x1f482e,'documentId')&&!_0x1ca790['isString'](_0x1f482e['documentId'])?'documentId:\x20string\x20expected':null);},_0x4ec9c3['fromObject']=function(_0x275fa3,_0x3f1937){if(_0x275fa3 instanceof _0x4f54f6['TrackChangesGetSuggestionMessage'])return _0x275fa3;if(!_0x1ca790['isObject'](_0x275fa3))throw TypeError('.TrackChangesGetSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x3f1937&&(_0x3f1937=0x0),_0x3f1937>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1fde08=new _0x4f54f6['TrackChangesGetSuggestionMessage']();return null!=_0x275fa3['id']&&(_0x1fde08['id']=String(_0x275fa3['id'])),null!=_0x275fa3['documentId']&&(_0x1fde08['documentId']=String(_0x275fa3['documentId'])),_0x1fde08;},_0x4ec9c3['toObject']=function(_0x249f22,_0x15a85d,_0x54d383){if(_0x15a85d||(_0x15a85d={}),void 0x0===_0x54d383&&(_0x54d383=0x0),_0x54d383>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x53456c={};return _0x15a85d['defaults']&&(_0x53456c['id']='',_0x53456c['documentId']=''),null!=_0x249f22['id']&&Object['hasOwnProperty']['call'](_0x249f22,'id')&&(_0x53456c['id']=_0x249f22['id']),null!=_0x249f22['documentId']&&Object['hasOwnProperty']['call'](_0x249f22,'documentId')&&(_0x53456c['documentId']=_0x249f22['documentId']),_0x53456c;},_0x4ec9c3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x4ec9c3['getTypeUrl']=function(_0x44577c){return void 0x0===_0x44577c&&(_0x44577c='type.googleapis.com'),_0x44577c+'/TrackChangesGetSuggestionMessage';},_0x4ec9c3;}()),_0x4f54f6['TrackChangesGetAllSuggestionMessage']=(function(){function _0xd0df13(_0x227e9d){if(_0x227e9d){for(var _0x4b2bb7=Object['keys'](_0x227e9d),_0x1679d3=0x0;_0x1679d3<_0x4b2bb7['length'];++_0x1679d3)null!=_0x227e9d[_0x4b2bb7[_0x1679d3]]&&'__proto__'!==_0x4b2bb7[_0x1679d3]&&(this[_0x4b2bb7[_0x1679d3]]=_0x227e9d[_0x4b2bb7[_0x1679d3]]);}}return _0xd0df13['prototype']['documentId']='',_0xd0df13['create']=function(_0x576866){return new _0xd0df13(_0x576866);},_0xd0df13['encode']=function(_0x9d913e,_0x5f30d1,_0x273ec6){if(_0x5f30d1||(_0x5f30d1=_0x5c509e['create']()),void 0x0===_0x273ec6&&(_0x273ec6=0x0),_0x273ec6>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x9d913e['documentId']&&Object['hasOwnProperty']['call'](_0x9d913e,'documentId')&&_0x5f30d1['uint32'](0xa)['string'](_0x9d913e['documentId']),_0x5f30d1;},_0xd0df13['encodeDelimited']=function(_0x46a76f,_0x4981f1){return this['encode'](_0x46a76f,_0x4981f1)['ldelim']();},_0xd0df13['decode']=function(_0x8930d5,_0x30584c,_0x4f8a15,_0x31b441){if(_0x8930d5 instanceof _0x280c77||(_0x8930d5=_0x280c77['create'](_0x8930d5)),void 0x0===_0x31b441&&(_0x31b441=0x0),_0x31b441>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x35dcfd=void 0x0===_0x30584c?_0x8930d5['len']:_0x8930d5['pos']+_0x30584c,_0x5a3b28=new _0x4f54f6['TrackChangesGetAllSuggestionMessage']();_0x8930d5['pos']<_0x35dcfd;){var _0x19b026=_0x8930d5['uint32']();if(_0x19b026===_0x4f8a15)break;_0x19b026>>>0x3==0x1?_0x5a3b28['documentId']=_0x8930d5['string']():_0x8930d5['skipType'](0x7&_0x19b026,_0x31b441);}return _0x5a3b28;},_0xd0df13['decodeDelimited']=function(_0x2b580a){return _0x2b580a instanceof _0x280c77||(_0x2b580a=new _0x280c77(_0x2b580a)),this['decode'](_0x2b580a,_0x2b580a['uint32']());},_0xd0df13['verify']=function(_0x7f600f,_0x483e4a){return'object'!=typeof _0x7f600f||null===_0x7f600f?'object\x20expected':(void 0x0===_0x483e4a&&(_0x483e4a=0x0),_0x483e4a>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x7f600f['documentId']&&Object['hasOwnProperty']['call'](_0x7f600f,'documentId')&&!_0x1ca790['isString'](_0x7f600f['documentId'])?'documentId:\x20string\x20expected':null);},_0xd0df13['fromObject']=function(_0xa68181,_0x3e681f){if(_0xa68181 instanceof _0x4f54f6['TrackChangesGetAllSuggestionMessage'])return _0xa68181;if(!_0x1ca790['isObject'](_0xa68181))throw TypeError('.TrackChangesGetAllSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x3e681f&&(_0x3e681f=0x0),_0x3e681f>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4f2167=new _0x4f54f6['TrackChangesGetAllSuggestionMessage']();return null!=_0xa68181['documentId']&&(_0x4f2167['documentId']=String(_0xa68181['documentId'])),_0x4f2167;},_0xd0df13['toObject']=function(_0x268ebd,_0x2500be,_0x14cf84){if(_0x2500be||(_0x2500be={}),void 0x0===_0x14cf84&&(_0x14cf84=0x0),_0x14cf84>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x96139={};return _0x2500be['defaults']&&(_0x96139['documentId']=''),null!=_0x268ebd['documentId']&&Object['hasOwnProperty']['call'](_0x268ebd,'documentId')&&(_0x96139['documentId']=_0x268ebd['documentId']),_0x96139;},_0xd0df13['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0xd0df13['getTypeUrl']=function(_0x199f5a){return void 0x0===_0x199f5a&&(_0x199f5a='type.googleapis.com'),_0x199f5a+'/TrackChangesGetAllSuggestionMessage';},_0xd0df13;}()),_0x4f54f6['TrackChangesConnectMessage']=(function(){function _0x3e6d3d(_0x56fccc){if(_0x56fccc){for(var _0x528501=Object['keys'](_0x56fccc),_0xc0f971=0x0;_0xc0f971<_0x528501['length'];++_0xc0f971)null!=_0x56fccc[_0x528501[_0xc0f971]]&&'__proto__'!==_0x528501[_0xc0f971]&&(this[_0x528501[_0xc0f971]]=_0x56fccc[_0x528501[_0xc0f971]]);}}return _0x3e6d3d['prototype']['documentId']='',_0x3e6d3d['create']=function(_0x2ac7fa){return new _0x3e6d3d(_0x2ac7fa);},_0x3e6d3d['encode']=function(_0x4bbe36,_0x3fef5e,_0x214341){if(_0x3fef5e||(_0x3fef5e=_0x5c509e['create']()),void 0x0===_0x214341&&(_0x214341=0x0),_0x214341>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4bbe36['documentId']&&Object['hasOwnProperty']['call'](_0x4bbe36,'documentId')&&_0x3fef5e['uint32'](0xa)['string'](_0x4bbe36['documentId']),_0x3fef5e;},_0x3e6d3d['encodeDelimited']=function(_0x3ace09,_0x525550){return this['encode'](_0x3ace09,_0x525550)['ldelim']();},_0x3e6d3d['decode']=function(_0x5112f4,_0xa768ee,_0x3b68d4,_0xee5506){if(_0x5112f4 instanceof _0x280c77||(_0x5112f4=_0x280c77['create'](_0x5112f4)),void 0x0===_0xee5506&&(_0xee5506=0x0),_0xee5506>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1ca080=void 0x0===_0xa768ee?_0x5112f4['len']:_0x5112f4['pos']+_0xa768ee,_0x18cb1c=new _0x4f54f6['TrackChangesConnectMessage']();_0x5112f4['pos']<_0x1ca080;){var _0x29ab44=_0x5112f4['uint32']();if(_0x29ab44===_0x3b68d4)break;_0x29ab44>>>0x3==0x1?_0x18cb1c['documentId']=_0x5112f4['string']():_0x5112f4['skipType'](0x7&_0x29ab44,_0xee5506);}return _0x18cb1c;},_0x3e6d3d['decodeDelimited']=function(_0x2e392a){return _0x2e392a instanceof _0x280c77||(_0x2e392a=new _0x280c77(_0x2e392a)),this['decode'](_0x2e392a,_0x2e392a['uint32']());},_0x3e6d3d['verify']=function(_0x441fb0,_0x2d3f19){return'object'!=typeof _0x441fb0||null===_0x441fb0?'object\x20expected':(void 0x0===_0x2d3f19&&(_0x2d3f19=0x0),_0x2d3f19>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x441fb0['documentId']&&Object['hasOwnProperty']['call'](_0x441fb0,'documentId')&&!_0x1ca790['isString'](_0x441fb0['documentId'])?'documentId:\x20string\x20expected':null);},_0x3e6d3d['fromObject']=function(_0x41c907,_0x249a12){if(_0x41c907 instanceof _0x4f54f6['TrackChangesConnectMessage'])return _0x41c907;if(!_0x1ca790['isObject'](_0x41c907))throw TypeError('.TrackChangesConnectMessage:\x20object\x20expected');if(void 0x0===_0x249a12&&(_0x249a12=0x0),_0x249a12>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x42ef1a=new _0x4f54f6['TrackChangesConnectMessage']();return null!=_0x41c907['documentId']&&(_0x42ef1a['documentId']=String(_0x41c907['documentId'])),_0x42ef1a;},_0x3e6d3d['toObject']=function(_0xd64305,_0x839ef8,_0x48bee5){if(_0x839ef8||(_0x839ef8={}),void 0x0===_0x48bee5&&(_0x48bee5=0x0),_0x48bee5>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x51186d={};return _0x839ef8['defaults']&&(_0x51186d['documentId']=''),null!=_0xd64305['documentId']&&Object['hasOwnProperty']['call'](_0xd64305,'documentId')&&(_0x51186d['documentId']=_0xd64305['documentId']),_0x51186d;},_0x3e6d3d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x3e6d3d['getTypeUrl']=function(_0x32f594){return void 0x0===_0x32f594&&(_0x32f594='type.googleapis.com'),_0x32f594+'/TrackChangesConnectMessage';},_0x3e6d3d;}()),_0x4f54f6['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x31a7a6(_0x2397b0){if(this['ids']=[],_0x2397b0){for(var _0x6929f6=Object['keys'](_0x2397b0),_0x3c865d=0x0;_0x3c865d<_0x6929f6['length'];++_0x3c865d)null!=_0x2397b0[_0x6929f6[_0x3c865d]]&&'__proto__'!==_0x6929f6[_0x3c865d]&&(this[_0x6929f6[_0x3c865d]]=_0x2397b0[_0x6929f6[_0x3c865d]]);}}return _0x31a7a6['prototype']['ids']=_0x1ca790['emptyArray'],_0x31a7a6['prototype']['documentId']='',_0x31a7a6['prototype']['state']='',_0x31a7a6['create']=function(_0x28ac91){return new _0x31a7a6(_0x28ac91);},_0x31a7a6['encode']=function(_0x4ddb53,_0x11291a,_0x2b3126){if(_0x11291a||(_0x11291a=_0x5c509e['create']()),void 0x0===_0x2b3126&&(_0x2b3126=0x0),_0x2b3126>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4ddb53['ids']&&_0x4ddb53['ids']['length']){for(var _0x292599=0x0;_0x292599<_0x4ddb53['ids']['length'];++_0x292599)_0x11291a['uint32'](0xa)['string'](_0x4ddb53['ids'][_0x292599]);}return null!=_0x4ddb53['documentId']&&Object['hasOwnProperty']['call'](_0x4ddb53,'documentId')&&_0x11291a['uint32'](0x12)['string'](_0x4ddb53['documentId']),null!=_0x4ddb53['state']&&Object['hasOwnProperty']['call'](_0x4ddb53,'state')&&_0x11291a['uint32'](0x1a)['string'](_0x4ddb53['state']),_0x11291a;},_0x31a7a6['encodeDelimited']=function(_0x575c77,_0x1ea2da){return this['encode'](_0x575c77,_0x1ea2da)['ldelim']();},_0x31a7a6['decode']=function(_0x454c7b,_0xc637e4,_0x28405e,_0x50fa7b){if(_0x454c7b instanceof _0x280c77||(_0x454c7b=_0x280c77['create'](_0x454c7b)),void 0x0===_0x50fa7b&&(_0x50fa7b=0x0),_0x50fa7b>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x43cfee=void 0x0===_0xc637e4?_0x454c7b['len']:_0x454c7b['pos']+_0xc637e4,_0x10f1d0=new _0x4f54f6['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x454c7b['pos']<_0x43cfee;){var _0x193b81=_0x454c7b['uint32']();if(_0x193b81===_0x28405e)break;switch(_0x193b81>>>0x3){case 0x1:_0x10f1d0['ids']&&_0x10f1d0['ids']['length']||(_0x10f1d0['ids']=[]),_0x10f1d0['ids']['push'](_0x454c7b['string']());break;case 0x2:_0x10f1d0['documentId']=_0x454c7b['string']();break;case 0x3:_0x10f1d0['state']=_0x454c7b['string']();break;default:_0x454c7b['skipType'](0x7&_0x193b81,_0x50fa7b);}}return _0x10f1d0;},_0x31a7a6['decodeDelimited']=function(_0x1d3251){return _0x1d3251 instanceof _0x280c77||(_0x1d3251=new _0x280c77(_0x1d3251)),this['decode'](_0x1d3251,_0x1d3251['uint32']());},_0x31a7a6['verify']=function(_0x1de05a,_0x14109a){if('object'!=typeof _0x1de05a||null===_0x1de05a)return'object\x20expected';if(void 0x0===_0x14109a&&(_0x14109a=0x0),_0x14109a>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1de05a['ids']&&Object['hasOwnProperty']['call'](_0x1de05a,'ids')){if(!Array['isArray'](_0x1de05a['ids']))return'ids:\x20array\x20expected';for(var _0x522526=0x0;_0x522526<_0x1de05a['ids']['length'];++_0x522526)if(!_0x1ca790['isString'](_0x1de05a['ids'][_0x522526]))return'ids:\x20string[]\x20expected';}return null!=_0x1de05a['documentId']&&Object['hasOwnProperty']['call'](_0x1de05a,'documentId')&&!_0x1ca790['isString'](_0x1de05a['documentId'])?'documentId:\x20string\x20expected':null!=_0x1de05a['state']&&Object['hasOwnProperty']['call'](_0x1de05a,'state')&&!_0x1ca790['isString'](_0x1de05a['state'])?'state:\x20string\x20expected':null;},_0x31a7a6['fromObject']=function(_0x312baa,_0x4440e3){if(_0x312baa instanceof _0x4f54f6['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x312baa;if(!_0x1ca790['isObject'](_0x312baa))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage:\x20object\x20expected');if(void 0x0===_0x4440e3&&(_0x4440e3=0x0),_0x4440e3>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3428a3=new _0x4f54f6['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x312baa['ids']){if(!Array['isArray'](_0x312baa['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x3428a3['ids']=[];for(var _0x88ff83=0x0;_0x88ff83<_0x312baa['ids']['length'];++_0x88ff83)_0x3428a3['ids'][_0x88ff83]=String(_0x312baa['ids'][_0x88ff83]);}return null!=_0x312baa['documentId']&&(_0x3428a3['documentId']=String(_0x312baa['documentId'])),null!=_0x312baa['state']&&(_0x3428a3['state']=String(_0x312baa['state'])),_0x3428a3;},_0x31a7a6['toObject']=function(_0x1a4291,_0x14f732,_0x5dd1f9){if(_0x14f732||(_0x14f732={}),void 0x0===_0x5dd1f9&&(_0x5dd1f9=0x0),_0x5dd1f9>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4a6730={};if((_0x14f732['arrays']||_0x14f732['defaults'])&&(_0x4a6730['ids']=[]),_0x14f732['defaults']&&(_0x4a6730['documentId']='',_0x4a6730['state']=''),_0x1a4291['ids']&&_0x1a4291['ids']['length']){_0x4a6730['ids']=[];for(var _0xac4c28=0x0;_0xac4c28<_0x1a4291['ids']['length'];++_0xac4c28)_0x4a6730['ids'][_0xac4c28]=_0x1a4291['ids'][_0xac4c28];}return null!=_0x1a4291['documentId']&&Object['hasOwnProperty']['call'](_0x1a4291,'documentId')&&(_0x4a6730['documentId']=_0x1a4291['documentId']),null!=_0x1a4291['state']&&Object['hasOwnProperty']['call'](_0x1a4291,'state')&&(_0x4a6730['state']=_0x1a4291['state']),_0x4a6730;},_0x31a7a6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x31a7a6['getTypeUrl']=function(_0xbda76e){return void 0x0===_0xbda76e&&(_0xbda76e='type.googleapis.com'),_0xbda76e+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x31a7a6;}()),_0x4f54f6['TrackChangesAddSuggestionMessage']=(function(){function _0x9b592e(_0x44de33){if(_0x44de33){for(var _0x30d187=Object['keys'](_0x44de33),_0x4b3f74=0x0;_0x4b3f74<_0x30d187['length'];++_0x4b3f74)null!=_0x44de33[_0x30d187[_0x4b3f74]]&&'__proto__'!==_0x30d187[_0x4b3f74]&&(this[_0x30d187[_0x4b3f74]]=_0x44de33[_0x30d187[_0x4b3f74]]);}}return _0x9b592e['prototype']['id']='',_0x9b592e['prototype']['documentId']='',_0x9b592e['prototype']['type']='',_0x9b592e['prototype']['data']='',_0x9b592e['prototype']['originalSuggestionId']='',_0x9b592e['prototype']['attributes']='',_0x9b592e['create']=function(_0x5dc271){return new _0x9b592e(_0x5dc271);},_0x9b592e['encode']=function(_0x3ca703,_0x59fca9,_0x51949c){if(_0x59fca9||(_0x59fca9=_0x5c509e['create']()),void 0x0===_0x51949c&&(_0x51949c=0x0),_0x51949c>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3ca703['id']&&Object['hasOwnProperty']['call'](_0x3ca703,'id')&&_0x59fca9['uint32'](0xa)['string'](_0x3ca703['id']),null!=_0x3ca703['documentId']&&Object['hasOwnProperty']['call'](_0x3ca703,'documentId')&&_0x59fca9['uint32'](0x12)['string'](_0x3ca703['documentId']),null!=_0x3ca703['type']&&Object['hasOwnProperty']['call'](_0x3ca703,'type')&&_0x59fca9['uint32'](0x1a)['string'](_0x3ca703['type']),null!=_0x3ca703['data']&&Object['hasOwnProperty']['call'](_0x3ca703,'data')&&_0x59fca9['uint32'](0x22)['string'](_0x3ca703['data']),null!=_0x3ca703['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x3ca703,'originalSuggestionId')&&_0x59fca9['uint32'](0x2a)['string'](_0x3ca703['originalSuggestionId']),null!=_0x3ca703['attributes']&&Object['hasOwnProperty']['call'](_0x3ca703,'attributes')&&_0x59fca9['uint32'](0x32)['string'](_0x3ca703['attributes']),_0x59fca9;},_0x9b592e['encodeDelimited']=function(_0x225329,_0x444b68){return this['encode'](_0x225329,_0x444b68)['ldelim']();},_0x9b592e['decode']=function(_0x16f143,_0x3e5ae9,_0x1502a0,_0x276dd9){if(_0x16f143 instanceof _0x280c77||(_0x16f143=_0x280c77['create'](_0x16f143)),void 0x0===_0x276dd9&&(_0x276dd9=0x0),_0x276dd9>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x438b51=void 0x0===_0x3e5ae9?_0x16f143['len']:_0x16f143['pos']+_0x3e5ae9,_0x49d8cf=new _0x4f54f6['TrackChangesAddSuggestionMessage']();_0x16f143['pos']<_0x438b51;){var _0x12e96d=_0x16f143['uint32']();if(_0x12e96d===_0x1502a0)break;switch(_0x12e96d>>>0x3){case 0x1:_0x49d8cf['id']=_0x16f143['string']();break;case 0x2:_0x49d8cf['documentId']=_0x16f143['string']();break;case 0x3:_0x49d8cf['type']=_0x16f143['string']();break;case 0x4:_0x49d8cf['data']=_0x16f143['string']();break;case 0x5:_0x49d8cf['originalSuggestionId']=_0x16f143['string']();break;case 0x6:_0x49d8cf['attributes']=_0x16f143['string']();break;default:_0x16f143['skipType'](0x7&_0x12e96d,_0x276dd9);}}return _0x49d8cf;},_0x9b592e['decodeDelimited']=function(_0x231ac7){return _0x231ac7 instanceof _0x280c77||(_0x231ac7=new _0x280c77(_0x231ac7)),this['decode'](_0x231ac7,_0x231ac7['uint32']());},_0x9b592e['verify']=function(_0x497885,_0x37a53f){return'object'!=typeof _0x497885||null===_0x497885?'object\x20expected':(void 0x0===_0x37a53f&&(_0x37a53f=0x0),_0x37a53f>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x497885['id']&&Object['hasOwnProperty']['call'](_0x497885,'id')&&!_0x1ca790['isString'](_0x497885['id'])?'id:\x20string\x20expected':null!=_0x497885['documentId']&&Object['hasOwnProperty']['call'](_0x497885,'documentId')&&!_0x1ca790['isString'](_0x497885['documentId'])?'documentId:\x20string\x20expected':null!=_0x497885['type']&&Object['hasOwnProperty']['call'](_0x497885,'type')&&!_0x1ca790['isString'](_0x497885['type'])?'type:\x20string\x20expected':null!=_0x497885['data']&&Object['hasOwnProperty']['call'](_0x497885,'data')&&!_0x1ca790['isString'](_0x497885['data'])?'data:\x20string\x20expected':null!=_0x497885['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x497885,'originalSuggestionId')&&!_0x1ca790['isString'](_0x497885['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x497885['attributes']&&Object['hasOwnProperty']['call'](_0x497885,'attributes')&&!_0x1ca790['isString'](_0x497885['attributes'])?'attributes:\x20string\x20expected':null);},_0x9b592e['fromObject']=function(_0x119f0a,_0x51852d){if(_0x119f0a instanceof _0x4f54f6['TrackChangesAddSuggestionMessage'])return _0x119f0a;if(!_0x1ca790['isObject'](_0x119f0a))throw TypeError('.TrackChangesAddSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x51852d&&(_0x51852d=0x0),_0x51852d>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd56f61=new _0x4f54f6['TrackChangesAddSuggestionMessage']();return null!=_0x119f0a['id']&&(_0xd56f61['id']=String(_0x119f0a['id'])),null!=_0x119f0a['documentId']&&(_0xd56f61['documentId']=String(_0x119f0a['documentId'])),null!=_0x119f0a['type']&&(_0xd56f61['type']=String(_0x119f0a['type'])),null!=_0x119f0a['data']&&(_0xd56f61['data']=String(_0x119f0a['data'])),null!=_0x119f0a['originalSuggestionId']&&(_0xd56f61['originalSuggestionId']=String(_0x119f0a['originalSuggestionId'])),null!=_0x119f0a['attributes']&&(_0xd56f61['attributes']=String(_0x119f0a['attributes'])),_0xd56f61;},_0x9b592e['toObject']=function(_0x198443,_0x38c78d,_0x11a9df){if(_0x38c78d||(_0x38c78d={}),void 0x0===_0x11a9df&&(_0x11a9df=0x0),_0x11a9df>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x884c12={};return _0x38c78d['defaults']&&(_0x884c12['id']='',_0x884c12['documentId']='',_0x884c12['type']='',_0x884c12['data']='',_0x884c12['originalSuggestionId']='',_0x884c12['attributes']=''),null!=_0x198443['id']&&Object['hasOwnProperty']['call'](_0x198443,'id')&&(_0x884c12['id']=_0x198443['id']),null!=_0x198443['documentId']&&Object['hasOwnProperty']['call'](_0x198443,'documentId')&&(_0x884c12['documentId']=_0x198443['documentId']),null!=_0x198443['type']&&Object['hasOwnProperty']['call'](_0x198443,'type')&&(_0x884c12['type']=_0x198443['type']),null!=_0x198443['data']&&Object['hasOwnProperty']['call'](_0x198443,'data')&&(_0x884c12['data']=_0x198443['data']),null!=_0x198443['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x198443,'originalSuggestionId')&&(_0x884c12['originalSuggestionId']=_0x198443['originalSuggestionId']),null!=_0x198443['attributes']&&Object['hasOwnProperty']['call'](_0x198443,'attributes')&&(_0x884c12['attributes']=_0x198443['attributes']),_0x884c12;},_0x9b592e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x9b592e['getTypeUrl']=function(_0x11ff92){return void 0x0===_0x11ff92&&(_0x11ff92='type.googleapis.com'),_0x11ff92+'/TrackChangesAddSuggestionMessage';},_0x9b592e;}()),_0x4f54f6['SuggestionDescriptor']=(function(){function _0x5bce97(_0x25455b){if(_0x25455b){for(var _0x112d5f=Object['keys'](_0x25455b),_0x204c09=0x0;_0x204c09<_0x112d5f['length'];++_0x204c09)null!=_0x25455b[_0x112d5f[_0x204c09]]&&'__proto__'!==_0x112d5f[_0x204c09]&&(this[_0x112d5f[_0x204c09]]=_0x25455b[_0x112d5f[_0x204c09]]);}}return _0x5bce97['prototype']['id']='',_0x5bce97['prototype']['authorId']='',_0x5bce97['prototype']['type']='',_0x5bce97['prototype']['createdAt']='',_0x5bce97['prototype']['data']='',_0x5bce97['prototype']['hasComments']=!0x1,_0x5bce97['prototype']['state']='',_0x5bce97['prototype']['attributes']='',_0x5bce97['create']=function(_0x5f3123){return new _0x5bce97(_0x5f3123);},_0x5bce97['encode']=function(_0x2006be,_0x3d7369,_0x17cb54){if(_0x3d7369||(_0x3d7369=_0x5c509e['create']()),void 0x0===_0x17cb54&&(_0x17cb54=0x0),_0x17cb54>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2006be['id']&&Object['hasOwnProperty']['call'](_0x2006be,'id')&&_0x3d7369['uint32'](0xa)['string'](_0x2006be['id']),null!=_0x2006be['authorId']&&Object['hasOwnProperty']['call'](_0x2006be,'authorId')&&_0x3d7369['uint32'](0x12)['string'](_0x2006be['authorId']),null!=_0x2006be['type']&&Object['hasOwnProperty']['call'](_0x2006be,'type')&&_0x3d7369['uint32'](0x1a)['string'](_0x2006be['type']),null!=_0x2006be['createdAt']&&Object['hasOwnProperty']['call'](_0x2006be,'createdAt')&&_0x3d7369['uint32'](0x22)['string'](_0x2006be['createdAt']),null!=_0x2006be['data']&&Object['hasOwnProperty']['call'](_0x2006be,'data')&&_0x3d7369['uint32'](0x2a)['string'](_0x2006be['data']),null!=_0x2006be['hasComments']&&Object['hasOwnProperty']['call'](_0x2006be,'hasComments')&&_0x3d7369['uint32'](0x30)['bool'](_0x2006be['hasComments']),null!=_0x2006be['state']&&Object['hasOwnProperty']['call'](_0x2006be,'state')&&_0x3d7369['uint32'](0x3a)['string'](_0x2006be['state']),null!=_0x2006be['attributes']&&Object['hasOwnProperty']['call'](_0x2006be,'attributes')&&_0x3d7369['uint32'](0x42)['string'](_0x2006be['attributes']),_0x3d7369;},_0x5bce97['encodeDelimited']=function(_0xdbbd1a,_0x2e0f35){return this['encode'](_0xdbbd1a,_0x2e0f35)['ldelim']();},_0x5bce97['decode']=function(_0x214046,_0x4db0a9,_0x3d11c6,_0x18b0f9){if(_0x214046 instanceof _0x280c77||(_0x214046=_0x280c77['create'](_0x214046)),void 0x0===_0x18b0f9&&(_0x18b0f9=0x0),_0x18b0f9>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e2a7b=void 0x0===_0x4db0a9?_0x214046['len']:_0x214046['pos']+_0x4db0a9,_0x3456ce=new _0x4f54f6['SuggestionDescriptor']();_0x214046['pos']<_0x1e2a7b;){var _0x4eb8db=_0x214046['uint32']();if(_0x4eb8db===_0x3d11c6)break;switch(_0x4eb8db>>>0x3){case 0x1:_0x3456ce['id']=_0x214046['string']();break;case 0x2:_0x3456ce['authorId']=_0x214046['string']();break;case 0x3:_0x3456ce['type']=_0x214046['string']();break;case 0x4:_0x3456ce['createdAt']=_0x214046['string']();break;case 0x5:_0x3456ce['data']=_0x214046['string']();break;case 0x6:_0x3456ce['hasComments']=_0x214046['bool']();break;case 0x7:_0x3456ce['state']=_0x214046['string']();break;case 0x8:_0x3456ce['attributes']=_0x214046['string']();break;default:_0x214046['skipType'](0x7&_0x4eb8db,_0x18b0f9);}}return _0x3456ce;},_0x5bce97['decodeDelimited']=function(_0x8cc986){return _0x8cc986 instanceof _0x280c77||(_0x8cc986=new _0x280c77(_0x8cc986)),this['decode'](_0x8cc986,_0x8cc986['uint32']());},_0x5bce97['verify']=function(_0x47a496,_0x2ae349){return'object'!=typeof _0x47a496||null===_0x47a496?'object\x20expected':(void 0x0===_0x2ae349&&(_0x2ae349=0x0),_0x2ae349>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x47a496['id']&&Object['hasOwnProperty']['call'](_0x47a496,'id')&&!_0x1ca790['isString'](_0x47a496['id'])?'id:\x20string\x20expected':null!=_0x47a496['authorId']&&Object['hasOwnProperty']['call'](_0x47a496,'authorId')&&!_0x1ca790['isString'](_0x47a496['authorId'])?'authorId:\x20string\x20expected':null!=_0x47a496['type']&&Object['hasOwnProperty']['call'](_0x47a496,'type')&&!_0x1ca790['isString'](_0x47a496['type'])?'type:\x20string\x20expected':null!=_0x47a496['createdAt']&&Object['hasOwnProperty']['call'](_0x47a496,'createdAt')&&!_0x1ca790['isString'](_0x47a496['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x47a496['data']&&Object['hasOwnProperty']['call'](_0x47a496,'data')&&!_0x1ca790['isString'](_0x47a496['data'])?'data:\x20string\x20expected':null!=_0x47a496['hasComments']&&Object['hasOwnProperty']['call'](_0x47a496,'hasComments')&&'boolean'!=typeof _0x47a496['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x47a496['state']&&Object['hasOwnProperty']['call'](_0x47a496,'state')&&!_0x1ca790['isString'](_0x47a496['state'])?'state:\x20string\x20expected':null!=_0x47a496['attributes']&&Object['hasOwnProperty']['call'](_0x47a496,'attributes')&&!_0x1ca790['isString'](_0x47a496['attributes'])?'attributes:\x20string\x20expected':null);},_0x5bce97['fromObject']=function(_0x118c36,_0x1e67d6){if(_0x118c36 instanceof _0x4f54f6['SuggestionDescriptor'])return _0x118c36;if(!_0x1ca790['isObject'](_0x118c36))throw TypeError('.SuggestionDescriptor:\x20object\x20expected');if(void 0x0===_0x1e67d6&&(_0x1e67d6=0x0),_0x1e67d6>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2a57f5=new _0x4f54f6['SuggestionDescriptor']();return null!=_0x118c36['id']&&(_0x2a57f5['id']=String(_0x118c36['id'])),null!=_0x118c36['authorId']&&(_0x2a57f5['authorId']=String(_0x118c36['authorId'])),null!=_0x118c36['type']&&(_0x2a57f5['type']=String(_0x118c36['type'])),null!=_0x118c36['createdAt']&&(_0x2a57f5['createdAt']=String(_0x118c36['createdAt'])),null!=_0x118c36['data']&&(_0x2a57f5['data']=String(_0x118c36['data'])),null!=_0x118c36['hasComments']&&(_0x2a57f5['hasComments']=Boolean(_0x118c36['hasComments'])),null!=_0x118c36['state']&&(_0x2a57f5['state']=String(_0x118c36['state'])),null!=_0x118c36['attributes']&&(_0x2a57f5['attributes']=String(_0x118c36['attributes'])),_0x2a57f5;},_0x5bce97['toObject']=function(_0x1e9307,_0x374ae6,_0xa28069){if(_0x374ae6||(_0x374ae6={}),void 0x0===_0xa28069&&(_0xa28069=0x0),_0xa28069>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5eab3b={};return _0x374ae6['defaults']&&(_0x5eab3b['id']='',_0x5eab3b['authorId']='',_0x5eab3b['type']='',_0x5eab3b['createdAt']='',_0x5eab3b['data']='',_0x5eab3b['hasComments']=!0x1,_0x5eab3b['state']='',_0x5eab3b['attributes']=''),null!=_0x1e9307['id']&&Object['hasOwnProperty']['call'](_0x1e9307,'id')&&(_0x5eab3b['id']=_0x1e9307['id']),null!=_0x1e9307['authorId']&&Object['hasOwnProperty']['call'](_0x1e9307,'authorId')&&(_0x5eab3b['authorId']=_0x1e9307['authorId']),null!=_0x1e9307['type']&&Object['hasOwnProperty']['call'](_0x1e9307,'type')&&(_0x5eab3b['type']=_0x1e9307['type']),null!=_0x1e9307['createdAt']&&Object['hasOwnProperty']['call'](_0x1e9307,'createdAt')&&(_0x5eab3b['createdAt']=_0x1e9307['createdAt']),null!=_0x1e9307['data']&&Object['hasOwnProperty']['call'](_0x1e9307,'data')&&(_0x5eab3b['data']=_0x1e9307['data']),null!=_0x1e9307['hasComments']&&Object['hasOwnProperty']['call'](_0x1e9307,'hasComments')&&(_0x5eab3b['hasComments']=_0x1e9307['hasComments']),null!=_0x1e9307['state']&&Object['hasOwnProperty']['call'](_0x1e9307,'state')&&(_0x5eab3b['state']=_0x1e9307['state']),null!=_0x1e9307['attributes']&&Object['hasOwnProperty']['call'](_0x1e9307,'attributes')&&(_0x5eab3b['attributes']=_0x1e9307['attributes']),_0x5eab3b;},_0x5bce97['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5bce97['getTypeUrl']=function(_0x2d1a47){return void 0x0===_0x2d1a47&&(_0x2d1a47='type.googleapis.com'),_0x2d1a47+'/SuggestionDescriptor';},_0x5bce97;}()),_0x4f54f6['SessionsConnectResponse']=(function(){function _0x342cc0(_0x54e450){if(this['sockets']=[],_0x54e450){for(var _0x57c970=Object['keys'](_0x54e450),_0x2a0e7c=0x0;_0x2a0e7c<_0x57c970['length'];++_0x2a0e7c)null!=_0x54e450[_0x57c970[_0x2a0e7c]]&&'__proto__'!==_0x57c970[_0x2a0e7c]&&(this[_0x57c970[_0x2a0e7c]]=_0x54e450[_0x57c970[_0x2a0e7c]]);}}return _0x342cc0['prototype']['channel']='',_0x342cc0['prototype']['sockets']=_0x1ca790['emptyArray'],_0x342cc0['create']=function(_0x50aa41){return new _0x342cc0(_0x50aa41);},_0x342cc0['encode']=function(_0x392720,_0xb5d1af,_0x16c9ed){if(_0xb5d1af||(_0xb5d1af=_0x5c509e['create']()),void 0x0===_0x16c9ed&&(_0x16c9ed=0x0),_0x16c9ed>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x392720['channel']&&Object['hasOwnProperty']['call'](_0x392720,'channel')&&_0xb5d1af['uint32'](0xa)['string'](_0x392720['channel']),null!=_0x392720['sockets']&&_0x392720['sockets']['length']){for(var _0x7e1f88=0x0;_0x7e1f88<_0x392720['sockets']['length'];++_0x7e1f88)_0x4f54f6['SessionsSocketDescriptor']['encode'](_0x392720['sockets'][_0x7e1f88],_0xb5d1af['uint32'](0x12)['fork'](),_0x16c9ed+0x1)['ldelim']();}return _0xb5d1af;},_0x342cc0['encodeDelimited']=function(_0x38549a,_0x244d20){return this['encode'](_0x38549a,_0x244d20)['ldelim']();},_0x342cc0['decode']=function(_0x169247,_0x3ebf3c,_0x2b0162,_0x4eed14){if(_0x169247 instanceof _0x280c77||(_0x169247=_0x280c77['create'](_0x169247)),void 0x0===_0x4eed14&&(_0x4eed14=0x0),_0x4eed14>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x44e4c2=void 0x0===_0x3ebf3c?_0x169247['len']:_0x169247['pos']+_0x3ebf3c,_0x4d2830=new _0x4f54f6['SessionsConnectResponse']();_0x169247['pos']<_0x44e4c2;){var _0x4d1e0c=_0x169247['uint32']();if(_0x4d1e0c===_0x2b0162)break;switch(_0x4d1e0c>>>0x3){case 0x1:_0x4d2830['channel']=_0x169247['string']();break;case 0x2:_0x4d2830['sockets']&&_0x4d2830['sockets']['length']||(_0x4d2830['sockets']=[]),_0x4d2830['sockets']['push'](_0x4f54f6['SessionsSocketDescriptor']['decode'](_0x169247,_0x169247['uint32'](),void 0x0,_0x4eed14+0x1));break;default:_0x169247['skipType'](0x7&_0x4d1e0c,_0x4eed14);}}return _0x4d2830;},_0x342cc0['decodeDelimited']=function(_0x2da4cb){return _0x2da4cb instanceof _0x280c77||(_0x2da4cb=new _0x280c77(_0x2da4cb)),this['decode'](_0x2da4cb,_0x2da4cb['uint32']());},_0x342cc0['verify']=function(_0x5dd9e2,_0x1e38bd){if('object'!=typeof _0x5dd9e2||null===_0x5dd9e2)return'object\x20expected';if(void 0x0===_0x1e38bd&&(_0x1e38bd=0x0),_0x1e38bd>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5dd9e2['channel']&&Object['hasOwnProperty']['call'](_0x5dd9e2,'channel')&&!_0x1ca790['isString'](_0x5dd9e2['channel']))return'channel:\x20string\x20expected';if(null!=_0x5dd9e2['sockets']&&Object['hasOwnProperty']['call'](_0x5dd9e2,'sockets')){if(!Array['isArray'](_0x5dd9e2['sockets']))return'sockets:\x20array\x20expected';for(var _0x3c4a39=0x0;_0x3c4a39<_0x5dd9e2['sockets']['length'];++_0x3c4a39){var _0x484573=_0x4f54f6['SessionsSocketDescriptor']['verify'](_0x5dd9e2['sockets'][_0x3c4a39],_0x1e38bd+0x1);if(_0x484573)return'sockets.'+_0x484573;}}return null;},_0x342cc0['fromObject']=function(_0x21adf6,_0x1863bf){if(_0x21adf6 instanceof _0x4f54f6['SessionsConnectResponse'])return _0x21adf6;if(!_0x1ca790['isObject'](_0x21adf6))throw TypeError('.SessionsConnectResponse:\x20object\x20expected');if(void 0x0===_0x1863bf&&(_0x1863bf=0x0),_0x1863bf>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1de969=new _0x4f54f6['SessionsConnectResponse']();if(null!=_0x21adf6['channel']&&(_0x1de969['channel']=String(_0x21adf6['channel'])),_0x21adf6['sockets']){if(!Array['isArray'](_0x21adf6['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x1de969['sockets']=[];for(var _0xc9eb82=0x0;_0xc9eb82<_0x21adf6['sockets']['length'];++_0xc9eb82){if(!_0x1ca790['isObject'](_0x21adf6['sockets'][_0xc9eb82]))throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x1de969['sockets'][_0xc9eb82]=_0x4f54f6['SessionsSocketDescriptor']['fromObject'](_0x21adf6['sockets'][_0xc9eb82],_0x1863bf+0x1);}}return _0x1de969;},_0x342cc0['toObject']=function(_0x5bf281,_0x28df4c,_0x351670){if(_0x28df4c||(_0x28df4c={}),void 0x0===_0x351670&&(_0x351670=0x0),_0x351670>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2f91c9={};if((_0x28df4c['arrays']||_0x28df4c['defaults'])&&(_0x2f91c9['sockets']=[]),_0x28df4c['defaults']&&(_0x2f91c9['channel']=''),null!=_0x5bf281['channel']&&Object['hasOwnProperty']['call'](_0x5bf281,'channel')&&(_0x2f91c9['channel']=_0x5bf281['channel']),_0x5bf281['sockets']&&_0x5bf281['sockets']['length']){_0x2f91c9['sockets']=[];for(var _0x446fd6=0x0;_0x446fd6<_0x5bf281['sockets']['length'];++_0x446fd6)_0x2f91c9['sockets'][_0x446fd6]=_0x4f54f6['SessionsSocketDescriptor']['toObject'](_0x5bf281['sockets'][_0x446fd6],_0x28df4c,_0x351670+0x1);}return _0x2f91c9;},_0x342cc0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x342cc0['getTypeUrl']=function(_0x82068c){return void 0x0===_0x82068c&&(_0x82068c='type.googleapis.com'),_0x82068c+'/SessionsConnectResponse';},_0x342cc0;}()),_0x4f54f6['SocketDisconnectMessage']=(function(){function _0x104c2f(_0x463ba0){if(_0x463ba0){for(var _0x21b665=Object['keys'](_0x463ba0),_0x15ea67=0x0;_0x15ea67<_0x21b665['length'];++_0x15ea67)null!=_0x463ba0[_0x21b665[_0x15ea67]]&&'__proto__'!==_0x21b665[_0x15ea67]&&(this[_0x21b665[_0x15ea67]]=_0x463ba0[_0x21b665[_0x15ea67]]);}}return _0x104c2f['prototype']['id']='',_0x104c2f['create']=function(_0x1d9f62){return new _0x104c2f(_0x1d9f62);},_0x104c2f['encode']=function(_0xa62aaa,_0x573c1b,_0x3e78f4){if(_0x573c1b||(_0x573c1b=_0x5c509e['create']()),void 0x0===_0x3e78f4&&(_0x3e78f4=0x0),_0x3e78f4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xa62aaa['id']&&Object['hasOwnProperty']['call'](_0xa62aaa,'id')&&_0x573c1b['uint32'](0xa)['string'](_0xa62aaa['id']),_0x573c1b;},_0x104c2f['encodeDelimited']=function(_0x19bd6d,_0x2fc3b4){return this['encode'](_0x19bd6d,_0x2fc3b4)['ldelim']();},_0x104c2f['decode']=function(_0x5e4c01,_0x8e7a60,_0x5dfbf1,_0x3a8703){if(_0x5e4c01 instanceof _0x280c77||(_0x5e4c01=_0x280c77['create'](_0x5e4c01)),void 0x0===_0x3a8703&&(_0x3a8703=0x0),_0x3a8703>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d207d=void 0x0===_0x8e7a60?_0x5e4c01['len']:_0x5e4c01['pos']+_0x8e7a60,_0x522a70=new _0x4f54f6['SocketDisconnectMessage']();_0x5e4c01['pos']<_0x2d207d;){var _0x1f74ef=_0x5e4c01['uint32']();if(_0x1f74ef===_0x5dfbf1)break;_0x1f74ef>>>0x3==0x1?_0x522a70['id']=_0x5e4c01['string']():_0x5e4c01['skipType'](0x7&_0x1f74ef,_0x3a8703);}return _0x522a70;},_0x104c2f['decodeDelimited']=function(_0x255b07){return _0x255b07 instanceof _0x280c77||(_0x255b07=new _0x280c77(_0x255b07)),this['decode'](_0x255b07,_0x255b07['uint32']());},_0x104c2f['verify']=function(_0x6260b3,_0x185692){return'object'!=typeof _0x6260b3||null===_0x6260b3?'object\x20expected':(void 0x0===_0x185692&&(_0x185692=0x0),_0x185692>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x6260b3['id']&&Object['hasOwnProperty']['call'](_0x6260b3,'id')&&!_0x1ca790['isString'](_0x6260b3['id'])?'id:\x20string\x20expected':null);},_0x104c2f['fromObject']=function(_0x1d87ca,_0x5c7cb0){if(_0x1d87ca instanceof _0x4f54f6['SocketDisconnectMessage'])return _0x1d87ca;if(!_0x1ca790['isObject'](_0x1d87ca))throw TypeError('.SocketDisconnectMessage:\x20object\x20expected');if(void 0x0===_0x5c7cb0&&(_0x5c7cb0=0x0),_0x5c7cb0>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3f80d9=new _0x4f54f6['SocketDisconnectMessage']();return null!=_0x1d87ca['id']&&(_0x3f80d9['id']=String(_0x1d87ca['id'])),_0x3f80d9;},_0x104c2f['toObject']=function(_0x233085,_0x35d9e7,_0x7b1561){if(_0x35d9e7||(_0x35d9e7={}),void 0x0===_0x7b1561&&(_0x7b1561=0x0),_0x7b1561>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3ee957={};return _0x35d9e7['defaults']&&(_0x3ee957['id']=''),null!=_0x233085['id']&&Object['hasOwnProperty']['call'](_0x233085,'id')&&(_0x3ee957['id']=_0x233085['id']),_0x3ee957;},_0x104c2f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x104c2f['getTypeUrl']=function(_0x233f73){return void 0x0===_0x233f73&&(_0x233f73='type.googleapis.com'),_0x233f73+'/SocketDisconnectMessage';},_0x104c2f;}()),_0x4f54f6['SocketConnectMessage']=(function(){function _0x514cef(_0x479641){if(this['permissions']=[],_0x479641){for(var _0x4a7a26=Object['keys'](_0x479641),_0x870922=0x0;_0x870922<_0x4a7a26['length'];++_0x870922)null!=_0x479641[_0x4a7a26[_0x870922]]&&'__proto__'!==_0x4a7a26[_0x870922]&&(this[_0x4a7a26[_0x870922]]=_0x479641[_0x4a7a26[_0x870922]]);}}return _0x514cef['prototype']['id']='',_0x514cef['prototype']['userId']='',_0x514cef['prototype']['role']='',_0x514cef['prototype']['permissions']=_0x1ca790['emptyArray'],_0x514cef['create']=function(_0x58dc41){return new _0x514cef(_0x58dc41);},_0x514cef['encode']=function(_0x1153b6,_0x53e44b,_0x9fe4df){if(_0x53e44b||(_0x53e44b=_0x5c509e['create']()),void 0x0===_0x9fe4df&&(_0x9fe4df=0x0),_0x9fe4df>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1153b6['id']&&Object['hasOwnProperty']['call'](_0x1153b6,'id')&&_0x53e44b['uint32'](0xa)['string'](_0x1153b6['id']),null!=_0x1153b6['userId']&&Object['hasOwnProperty']['call'](_0x1153b6,'userId')&&_0x53e44b['uint32'](0x12)['string'](_0x1153b6['userId']),null!=_0x1153b6['role']&&Object['hasOwnProperty']['call'](_0x1153b6,'role')&&_0x53e44b['uint32'](0x1a)['string'](_0x1153b6['role']),null!=_0x1153b6['permissions']&&_0x1153b6['permissions']['length']){for(var _0x44f016=0x0;_0x44f016<_0x1153b6['permissions']['length'];++_0x44f016)_0x53e44b['uint32'](0x22)['string'](_0x1153b6['permissions'][_0x44f016]);}return _0x53e44b;},_0x514cef['encodeDelimited']=function(_0x4debc3,_0xc973e5){return this['encode'](_0x4debc3,_0xc973e5)['ldelim']();},_0x514cef['decode']=function(_0x2c8d22,_0x2e3c5a,_0x20f53b,_0x376960){if(_0x2c8d22 instanceof _0x280c77||(_0x2c8d22=_0x280c77['create'](_0x2c8d22)),void 0x0===_0x376960&&(_0x376960=0x0),_0x376960>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c13ca=void 0x0===_0x2e3c5a?_0x2c8d22['len']:_0x2c8d22['pos']+_0x2e3c5a,_0x3283b3=new _0x4f54f6['SocketConnectMessage']();_0x2c8d22['pos']<_0x2c13ca;){var _0x25f013=_0x2c8d22['uint32']();if(_0x25f013===_0x20f53b)break;switch(_0x25f013>>>0x3){case 0x1:_0x3283b3['id']=_0x2c8d22['string']();break;case 0x2:_0x3283b3['userId']=_0x2c8d22['string']();break;case 0x3:_0x3283b3['role']=_0x2c8d22['string']();break;case 0x4:_0x3283b3['permissions']&&_0x3283b3['permissions']['length']||(_0x3283b3['permissions']=[]),_0x3283b3['permissions']['push'](_0x2c8d22['string']());break;default:_0x2c8d22['skipType'](0x7&_0x25f013,_0x376960);}}return _0x3283b3;},_0x514cef['decodeDelimited']=function(_0xfe62a2){return _0xfe62a2 instanceof _0x280c77||(_0xfe62a2=new _0x280c77(_0xfe62a2)),this['decode'](_0xfe62a2,_0xfe62a2['uint32']());},_0x514cef['verify']=function(_0x5577b3,_0x1c8881){if('object'!=typeof _0x5577b3||null===_0x5577b3)return'object\x20expected';if(void 0x0===_0x1c8881&&(_0x1c8881=0x0),_0x1c8881>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5577b3['id']&&Object['hasOwnProperty']['call'](_0x5577b3,'id')&&!_0x1ca790['isString'](_0x5577b3['id']))return'id:\x20string\x20expected';if(null!=_0x5577b3['userId']&&Object['hasOwnProperty']['call'](_0x5577b3,'userId')&&!_0x1ca790['isString'](_0x5577b3['userId']))return'userId:\x20string\x20expected';if(null!=_0x5577b3['role']&&Object['hasOwnProperty']['call'](_0x5577b3,'role')&&!_0x1ca790['isString'](_0x5577b3['role']))return'role:\x20string\x20expected';if(null!=_0x5577b3['permissions']&&Object['hasOwnProperty']['call'](_0x5577b3,'permissions')){if(!Array['isArray'](_0x5577b3['permissions']))return'permissions:\x20array\x20expected';for(var _0x5ec6a2=0x0;_0x5ec6a2<_0x5577b3['permissions']['length'];++_0x5ec6a2)if(!_0x1ca790['isString'](_0x5577b3['permissions'][_0x5ec6a2]))return'permissions:\x20string[]\x20expected';}return null;},_0x514cef['fromObject']=function(_0x48171a,_0x3eeb0d){if(_0x48171a instanceof _0x4f54f6['SocketConnectMessage'])return _0x48171a;if(!_0x1ca790['isObject'](_0x48171a))throw TypeError('.SocketConnectMessage:\x20object\x20expected');if(void 0x0===_0x3eeb0d&&(_0x3eeb0d=0x0),_0x3eeb0d>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ab709=new _0x4f54f6['SocketConnectMessage']();if(null!=_0x48171a['id']&&(_0x2ab709['id']=String(_0x48171a['id'])),null!=_0x48171a['userId']&&(_0x2ab709['userId']=String(_0x48171a['userId'])),null!=_0x48171a['role']&&(_0x2ab709['role']=String(_0x48171a['role'])),_0x48171a['permissions']){if(!Array['isArray'](_0x48171a['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x2ab709['permissions']=[];for(var _0x272edc=0x0;_0x272edc<_0x48171a['permissions']['length'];++_0x272edc)_0x2ab709['permissions'][_0x272edc]=String(_0x48171a['permissions'][_0x272edc]);}return _0x2ab709;},_0x514cef['toObject']=function(_0x699e56,_0x3366d5,_0x24c2c7){if(_0x3366d5||(_0x3366d5={}),void 0x0===_0x24c2c7&&(_0x24c2c7=0x0),_0x24c2c7>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1cd134={};if((_0x3366d5['arrays']||_0x3366d5['defaults'])&&(_0x1cd134['permissions']=[]),_0x3366d5['defaults']&&(_0x1cd134['id']='',_0x1cd134['userId']='',_0x1cd134['role']=''),null!=_0x699e56['id']&&Object['hasOwnProperty']['call'](_0x699e56,'id')&&(_0x1cd134['id']=_0x699e56['id']),null!=_0x699e56['userId']&&Object['hasOwnProperty']['call'](_0x699e56,'userId')&&(_0x1cd134['userId']=_0x699e56['userId']),null!=_0x699e56['role']&&Object['hasOwnProperty']['call'](_0x699e56,'role')&&(_0x1cd134['role']=_0x699e56['role']),_0x699e56['permissions']&&_0x699e56['permissions']['length']){_0x1cd134['permissions']=[];for(var _0xdc0a9d=0x0;_0xdc0a9d<_0x699e56['permissions']['length'];++_0xdc0a9d)_0x1cd134['permissions'][_0xdc0a9d]=_0x699e56['permissions'][_0xdc0a9d];}return _0x1cd134;},_0x514cef['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x514cef['getTypeUrl']=function(_0x3d8262){return void 0x0===_0x3d8262&&(_0x3d8262='type.googleapis.com'),_0x3d8262+'/SocketConnectMessage';},_0x514cef;}()),_0x4f54f6['SessionsConnectMessage']=(function(){function _0x90bc79(_0x1b53f9){if(_0x1b53f9){for(var _0xc181f4=Object['keys'](_0x1b53f9),_0x4158b2=0x0;_0x4158b2<_0xc181f4['length'];++_0x4158b2)null!=_0x1b53f9[_0xc181f4[_0x4158b2]]&&'__proto__'!==_0xc181f4[_0x4158b2]&&(this[_0xc181f4[_0x4158b2]]=_0x1b53f9[_0xc181f4[_0x4158b2]]);}}return _0x90bc79['prototype']['id']='',_0x90bc79['prototype']['sessionType']=0x0,_0x90bc79['create']=function(_0x381a11){return new _0x90bc79(_0x381a11);},_0x90bc79['encode']=function(_0x26bb56,_0x59823c,_0x561be4){if(_0x59823c||(_0x59823c=_0x5c509e['create']()),void 0x0===_0x561be4&&(_0x561be4=0x0),_0x561be4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x26bb56['id']&&Object['hasOwnProperty']['call'](_0x26bb56,'id')&&_0x59823c['uint32'](0xa)['string'](_0x26bb56['id']),null!=_0x26bb56['sessionType']&&Object['hasOwnProperty']['call'](_0x26bb56,'sessionType')&&_0x59823c['uint32'](0x10)['uint32'](_0x26bb56['sessionType']),_0x59823c;},_0x90bc79['encodeDelimited']=function(_0x8bcdae,_0x624439){return this['encode'](_0x8bcdae,_0x624439)['ldelim']();},_0x90bc79['decode']=function(_0x4b625f,_0x4d3fa6,_0xa582b6,_0x10e7f7){if(_0x4b625f instanceof _0x280c77||(_0x4b625f=_0x280c77['create'](_0x4b625f)),void 0x0===_0x10e7f7&&(_0x10e7f7=0x0),_0x10e7f7>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4895ee=void 0x0===_0x4d3fa6?_0x4b625f['len']:_0x4b625f['pos']+_0x4d3fa6,_0x974de8=new _0x4f54f6['SessionsConnectMessage']();_0x4b625f['pos']<_0x4895ee;){var _0x54cd4f=_0x4b625f['uint32']();if(_0x54cd4f===_0xa582b6)break;switch(_0x54cd4f>>>0x3){case 0x1:_0x974de8['id']=_0x4b625f['string']();break;case 0x2:_0x974de8['sessionType']=_0x4b625f['uint32']();break;default:_0x4b625f['skipType'](0x7&_0x54cd4f,_0x10e7f7);}}return _0x974de8;},_0x90bc79['decodeDelimited']=function(_0x2c169c){return _0x2c169c instanceof _0x280c77||(_0x2c169c=new _0x280c77(_0x2c169c)),this['decode'](_0x2c169c,_0x2c169c['uint32']());},_0x90bc79['verify']=function(_0x146a0f,_0x29069f){return'object'!=typeof _0x146a0f||null===_0x146a0f?'object\x20expected':(void 0x0===_0x29069f&&(_0x29069f=0x0),_0x29069f>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x146a0f['id']&&Object['hasOwnProperty']['call'](_0x146a0f,'id')&&!_0x1ca790['isString'](_0x146a0f['id'])?'id:\x20string\x20expected':null!=_0x146a0f['sessionType']&&Object['hasOwnProperty']['call'](_0x146a0f,'sessionType')&&!_0x1ca790['isInteger'](_0x146a0f['sessionType'])?'sessionType:\x20integer\x20expected':null);},_0x90bc79['fromObject']=function(_0x37a4e4,_0x241d48){if(_0x37a4e4 instanceof _0x4f54f6['SessionsConnectMessage'])return _0x37a4e4;if(!_0x1ca790['isObject'](_0x37a4e4))throw TypeError('.SessionsConnectMessage:\x20object\x20expected');if(void 0x0===_0x241d48&&(_0x241d48=0x0),_0x241d48>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x53c3bc=new _0x4f54f6['SessionsConnectMessage']();return null!=_0x37a4e4['id']&&(_0x53c3bc['id']=String(_0x37a4e4['id'])),null!=_0x37a4e4['sessionType']&&(_0x53c3bc['sessionType']=_0x37a4e4['sessionType']>>>0x0),_0x53c3bc;},_0x90bc79['toObject']=function(_0x1ebaa4,_0x3a092b,_0x3f28b1){if(_0x3a092b||(_0x3a092b={}),void 0x0===_0x3f28b1&&(_0x3f28b1=0x0),_0x3f28b1>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x120721={};return _0x3a092b['defaults']&&(_0x120721['id']='',_0x120721['sessionType']=0x0),null!=_0x1ebaa4['id']&&Object['hasOwnProperty']['call'](_0x1ebaa4,'id')&&(_0x120721['id']=_0x1ebaa4['id']),null!=_0x1ebaa4['sessionType']&&Object['hasOwnProperty']['call'](_0x1ebaa4,'sessionType')&&(_0x120721['sessionType']=_0x1ebaa4['sessionType']),_0x120721;},_0x90bc79['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x90bc79['getTypeUrl']=function(_0x407087){return void 0x0===_0x407087&&(_0x407087='type.googleapis.com'),_0x407087+'/SessionsConnectMessage';},_0x90bc79;}()),_0x4f54f6['SessionsSocketDescriptor']=(function(){function _0x55fd77(_0x18adf5){if(this['permissions']=[],_0x18adf5){for(var _0x5601e0=Object['keys'](_0x18adf5),_0x175ab8=0x0;_0x175ab8<_0x5601e0['length'];++_0x175ab8)null!=_0x18adf5[_0x5601e0[_0x175ab8]]&&'__proto__'!==_0x5601e0[_0x175ab8]&&(this[_0x5601e0[_0x175ab8]]=_0x18adf5[_0x5601e0[_0x175ab8]]);}}return _0x55fd77['prototype']['session']='',_0x55fd77['prototype']['user']='',_0x55fd77['prototype']['role']='',_0x55fd77['prototype']['permissions']=_0x1ca790['emptyArray'],_0x55fd77['create']=function(_0x5efd92){return new _0x55fd77(_0x5efd92);},_0x55fd77['encode']=function(_0x20be0d,_0x7c4aba,_0x2a027e){if(_0x7c4aba||(_0x7c4aba=_0x5c509e['create']()),void 0x0===_0x2a027e&&(_0x2a027e=0x0),_0x2a027e>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x20be0d['session']&&Object['hasOwnProperty']['call'](_0x20be0d,'session')&&_0x7c4aba['uint32'](0xa)['string'](_0x20be0d['session']),null!=_0x20be0d['user']&&Object['hasOwnProperty']['call'](_0x20be0d,'user')&&_0x7c4aba['uint32'](0x12)['string'](_0x20be0d['user']),null!=_0x20be0d['role']&&Object['hasOwnProperty']['call'](_0x20be0d,'role')&&_0x7c4aba['uint32'](0x1a)['string'](_0x20be0d['role']),null!=_0x20be0d['permissions']&&_0x20be0d['permissions']['length']){for(var _0x46c7f1=0x0;_0x46c7f1<_0x20be0d['permissions']['length'];++_0x46c7f1)_0x7c4aba['uint32'](0x22)['string'](_0x20be0d['permissions'][_0x46c7f1]);}return _0x7c4aba;},_0x55fd77['encodeDelimited']=function(_0x3b82f8,_0x5cf54a){return this['encode'](_0x3b82f8,_0x5cf54a)['ldelim']();},_0x55fd77['decode']=function(_0x54628b,_0x58729e,_0x30ddf9,_0x5177f0){if(_0x54628b instanceof _0x280c77||(_0x54628b=_0x280c77['create'](_0x54628b)),void 0x0===_0x5177f0&&(_0x5177f0=0x0),_0x5177f0>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x117b48=void 0x0===_0x58729e?_0x54628b['len']:_0x54628b['pos']+_0x58729e,_0x4ebc05=new _0x4f54f6['SessionsSocketDescriptor']();_0x54628b['pos']<_0x117b48;){var _0x34e2af=_0x54628b['uint32']();if(_0x34e2af===_0x30ddf9)break;switch(_0x34e2af>>>0x3){case 0x1:_0x4ebc05['session']=_0x54628b['string']();break;case 0x2:_0x4ebc05['user']=_0x54628b['string']();break;case 0x3:_0x4ebc05['role']=_0x54628b['string']();break;case 0x4:_0x4ebc05['permissions']&&_0x4ebc05['permissions']['length']||(_0x4ebc05['permissions']=[]),_0x4ebc05['permissions']['push'](_0x54628b['string']());break;default:_0x54628b['skipType'](0x7&_0x34e2af,_0x5177f0);}}return _0x4ebc05;},_0x55fd77['decodeDelimited']=function(_0x5ec4a1){return _0x5ec4a1 instanceof _0x280c77||(_0x5ec4a1=new _0x280c77(_0x5ec4a1)),this['decode'](_0x5ec4a1,_0x5ec4a1['uint32']());},_0x55fd77['verify']=function(_0xcc0095,_0x462a07){if('object'!=typeof _0xcc0095||null===_0xcc0095)return'object\x20expected';if(void 0x0===_0x462a07&&(_0x462a07=0x0),_0x462a07>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xcc0095['session']&&Object['hasOwnProperty']['call'](_0xcc0095,'session')&&!_0x1ca790['isString'](_0xcc0095['session']))return'session:\x20string\x20expected';if(null!=_0xcc0095['user']&&Object['hasOwnProperty']['call'](_0xcc0095,'user')&&!_0x1ca790['isString'](_0xcc0095['user']))return'user:\x20string\x20expected';if(null!=_0xcc0095['role']&&Object['hasOwnProperty']['call'](_0xcc0095,'role')&&!_0x1ca790['isString'](_0xcc0095['role']))return'role:\x20string\x20expected';if(null!=_0xcc0095['permissions']&&Object['hasOwnProperty']['call'](_0xcc0095,'permissions')){if(!Array['isArray'](_0xcc0095['permissions']))return'permissions:\x20array\x20expected';for(var _0x494853=0x0;_0x494853<_0xcc0095['permissions']['length'];++_0x494853)if(!_0x1ca790['isString'](_0xcc0095['permissions'][_0x494853]))return'permissions:\x20string[]\x20expected';}return null;},_0x55fd77['fromObject']=function(_0xbb739,_0x35453d){if(_0xbb739 instanceof _0x4f54f6['SessionsSocketDescriptor'])return _0xbb739;if(!_0x1ca790['isObject'](_0xbb739))throw TypeError('.SessionsSocketDescriptor:\x20object\x20expected');if(void 0x0===_0x35453d&&(_0x35453d=0x0),_0x35453d>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e3443=new _0x4f54f6['SessionsSocketDescriptor']();if(null!=_0xbb739['session']&&(_0x3e3443['session']=String(_0xbb739['session'])),null!=_0xbb739['user']&&(_0x3e3443['user']=String(_0xbb739['user'])),null!=_0xbb739['role']&&(_0x3e3443['role']=String(_0xbb739['role'])),_0xbb739['permissions']){if(!Array['isArray'](_0xbb739['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x3e3443['permissions']=[];for(var _0x1d8ba1=0x0;_0x1d8ba1<_0xbb739['permissions']['length'];++_0x1d8ba1)_0x3e3443['permissions'][_0x1d8ba1]=String(_0xbb739['permissions'][_0x1d8ba1]);}return _0x3e3443;},_0x55fd77['toObject']=function(_0x504bee,_0x8e8a89,_0x1848e1){if(_0x8e8a89||(_0x8e8a89={}),void 0x0===_0x1848e1&&(_0x1848e1=0x0),_0x1848e1>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3a7051={};if((_0x8e8a89['arrays']||_0x8e8a89['defaults'])&&(_0x3a7051['permissions']=[]),_0x8e8a89['defaults']&&(_0x3a7051['session']='',_0x3a7051['user']='',_0x3a7051['role']=''),null!=_0x504bee['session']&&Object['hasOwnProperty']['call'](_0x504bee,'session')&&(_0x3a7051['session']=_0x504bee['session']),null!=_0x504bee['user']&&Object['hasOwnProperty']['call'](_0x504bee,'user')&&(_0x3a7051['user']=_0x504bee['user']),null!=_0x504bee['role']&&Object['hasOwnProperty']['call'](_0x504bee,'role')&&(_0x3a7051['role']=_0x504bee['role']),_0x504bee['permissions']&&_0x504bee['permissions']['length']){_0x3a7051['permissions']=[];for(var _0x3e5496=0x0;_0x3e5496<_0x504bee['permissions']['length'];++_0x3e5496)_0x3a7051['permissions'][_0x3e5496]=_0x504bee['permissions'][_0x3e5496];}return _0x3a7051;},_0x55fd77['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x55fd77['getTypeUrl']=function(_0x2603a2){return void 0x0===_0x2603a2&&(_0x2603a2='type.googleapis.com'),_0x2603a2+'/SessionsSocketDescriptor';},_0x55fd77;}()),_0x4f54f6['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x58d10b(_0x15f5e0){if(_0x15f5e0){for(var _0x88caee=Object['keys'](_0x15f5e0),_0x19fbfa=0x0;_0x19fbfa<_0x88caee['length'];++_0x19fbfa)null!=_0x15f5e0[_0x88caee[_0x19fbfa]]&&'__proto__'!==_0x88caee[_0x19fbfa]&&(this[_0x88caee[_0x19fbfa]]=_0x15f5e0[_0x88caee[_0x19fbfa]]);}}return _0x58d10b['prototype']['requestId']=0x0,_0x58d10b['create']=function(_0xb9f5d7){return new _0x58d10b(_0xb9f5d7);},_0x58d10b['encode']=function(_0x187045,_0x2d199c,_0x16fadd){if(_0x2d199c||(_0x2d199c=_0x5c509e['create']()),void 0x0===_0x16fadd&&(_0x16fadd=0x0),_0x16fadd>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x187045['requestId']&&Object['hasOwnProperty']['call'](_0x187045,'requestId')&&_0x2d199c['uint32'](0x8)['uint32'](_0x187045['requestId']),_0x2d199c;},_0x58d10b['encodeDelimited']=function(_0x477337,_0x78d2f5){return this['encode'](_0x477337,_0x78d2f5)['ldelim']();},_0x58d10b['decode']=function(_0x53888e,_0x294bc8,_0x28d373,_0x545ae9){if(_0x53888e instanceof _0x280c77||(_0x53888e=_0x280c77['create'](_0x53888e)),void 0x0===_0x545ae9&&(_0x545ae9=0x0),_0x545ae9>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb8a84c=void 0x0===_0x294bc8?_0x53888e['len']:_0x53888e['pos']+_0x294bc8,_0x1d5db4=new _0x4f54f6['RevisionHistoryUpdateRevisionsResponse']();_0x53888e['pos']<_0xb8a84c;){var _0x3f49ca=_0x53888e['uint32']();if(_0x3f49ca===_0x28d373)break;_0x3f49ca>>>0x3==0x1?_0x1d5db4['requestId']=_0x53888e['uint32']():_0x53888e['skipType'](0x7&_0x3f49ca,_0x545ae9);}return _0x1d5db4;},_0x58d10b['decodeDelimited']=function(_0x4d802d){return _0x4d802d instanceof _0x280c77||(_0x4d802d=new _0x280c77(_0x4d802d)),this['decode'](_0x4d802d,_0x4d802d['uint32']());},_0x58d10b['verify']=function(_0xbdc22,_0x175b2f){return'object'!=typeof _0xbdc22||null===_0xbdc22?'object\x20expected':(void 0x0===_0x175b2f&&(_0x175b2f=0x0),_0x175b2f>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xbdc22['requestId']&&Object['hasOwnProperty']['call'](_0xbdc22,'requestId')&&!_0x1ca790['isInteger'](_0xbdc22['requestId'])?'requestId:\x20integer\x20expected':null);},_0x58d10b['fromObject']=function(_0x334cd2,_0xa0c5ea){if(_0x334cd2 instanceof _0x4f54f6['RevisionHistoryUpdateRevisionsResponse'])return _0x334cd2;if(!_0x1ca790['isObject'](_0x334cd2))throw TypeError('.RevisionHistoryUpdateRevisionsResponse:\x20object\x20expected');if(void 0x0===_0xa0c5ea&&(_0xa0c5ea=0x0),_0xa0c5ea>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1823d4=new _0x4f54f6['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x334cd2['requestId']&&(_0x1823d4['requestId']=_0x334cd2['requestId']>>>0x0),_0x1823d4;},_0x58d10b['toObject']=function(_0x37f7bc,_0x3d4b48,_0x478c6b){if(_0x3d4b48||(_0x3d4b48={}),void 0x0===_0x478c6b&&(_0x478c6b=0x0),_0x478c6b>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x47380d={};return _0x3d4b48['defaults']&&(_0x47380d['requestId']=0x0),null!=_0x37f7bc['requestId']&&Object['hasOwnProperty']['call'](_0x37f7bc,'requestId')&&(_0x47380d['requestId']=_0x37f7bc['requestId']),_0x47380d;},_0x58d10b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x58d10b['getTypeUrl']=function(_0x2482cd){return void 0x0===_0x2482cd&&(_0x2482cd='type.googleapis.com'),_0x2482cd+'/RevisionHistoryUpdateRevisionsResponse';},_0x58d10b;}()),_0x4f54f6['RevisionHistoryGetRevisionResponse']=(function(){function _0x34a09a(_0x382073){if(_0x382073){for(var _0x4cf917=Object['keys'](_0x382073),_0x1cc33c=0x0;_0x1cc33c<_0x4cf917['length'];++_0x1cc33c)null!=_0x382073[_0x4cf917[_0x1cc33c]]&&'__proto__'!==_0x4cf917[_0x1cc33c]&&(this[_0x4cf917[_0x1cc33c]]=_0x382073[_0x4cf917[_0x1cc33c]]);}}return _0x34a09a['prototype']['revisionId']='',_0x34a09a['prototype']['name']='',_0x34a09a['prototype']['creatorId']='',_0x34a09a['prototype']['authorsIds']='',_0x34a09a['prototype']['diffData']='',_0x34a09a['prototype']['createdAt']='',_0x34a09a['prototype']['attributes']='',_0x34a09a['prototype']['toVersion']=0x0,_0x34a09a['prototype']['fromVersion']=0x0,_0x34a09a['prototype']['isEmptyCurrent']=!0x1,_0x34a09a['create']=function(_0x39528a){return new _0x34a09a(_0x39528a);},_0x34a09a['encode']=function(_0x269288,_0x565918,_0x90fc05){if(_0x565918||(_0x565918=_0x5c509e['create']()),void 0x0===_0x90fc05&&(_0x90fc05=0x0),_0x90fc05>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x269288['revisionId']&&Object['hasOwnProperty']['call'](_0x269288,'revisionId')&&_0x565918['uint32'](0xa)['string'](_0x269288['revisionId']),null!=_0x269288['name']&&Object['hasOwnProperty']['call'](_0x269288,'name')&&_0x565918['uint32'](0x12)['string'](_0x269288['name']),null!=_0x269288['creatorId']&&Object['hasOwnProperty']['call'](_0x269288,'creatorId')&&_0x565918['uint32'](0x1a)['string'](_0x269288['creatorId']),null!=_0x269288['authorsIds']&&Object['hasOwnProperty']['call'](_0x269288,'authorsIds')&&_0x565918['uint32'](0x22)['string'](_0x269288['authorsIds']),null!=_0x269288['diffData']&&Object['hasOwnProperty']['call'](_0x269288,'diffData')&&_0x565918['uint32'](0x2a)['string'](_0x269288['diffData']),null!=_0x269288['createdAt']&&Object['hasOwnProperty']['call'](_0x269288,'createdAt')&&_0x565918['uint32'](0x32)['string'](_0x269288['createdAt']),null!=_0x269288['attributes']&&Object['hasOwnProperty']['call'](_0x269288,'attributes')&&_0x565918['uint32'](0x3a)['string'](_0x269288['attributes']),null!=_0x269288['toVersion']&&Object['hasOwnProperty']['call'](_0x269288,'toVersion')&&_0x565918['uint32'](0x40)['uint32'](_0x269288['toVersion']),null!=_0x269288['fromVersion']&&Object['hasOwnProperty']['call'](_0x269288,'fromVersion')&&_0x565918['uint32'](0x48)['uint32'](_0x269288['fromVersion']),null!=_0x269288['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x269288,'isEmptyCurrent')&&_0x565918['uint32'](0x50)['bool'](_0x269288['isEmptyCurrent']),_0x565918;},_0x34a09a['encodeDelimited']=function(_0x32bb9b,_0x57192e){return this['encode'](_0x32bb9b,_0x57192e)['ldelim']();},_0x34a09a['decode']=function(_0x3361cc,_0x381558,_0xc04510,_0x37e338){if(_0x3361cc instanceof _0x280c77||(_0x3361cc=_0x280c77['create'](_0x3361cc)),void 0x0===_0x37e338&&(_0x37e338=0x0),_0x37e338>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ff79f=void 0x0===_0x381558?_0x3361cc['len']:_0x3361cc['pos']+_0x381558,_0x3ff1c2=new _0x4f54f6['RevisionHistoryGetRevisionResponse']();_0x3361cc['pos']<_0x3ff79f;){var _0x47fe58=_0x3361cc['uint32']();if(_0x47fe58===_0xc04510)break;switch(_0x47fe58>>>0x3){case 0x1:_0x3ff1c2['revisionId']=_0x3361cc['string']();break;case 0x2:_0x3ff1c2['name']=_0x3361cc['string']();break;case 0x3:_0x3ff1c2['creatorId']=_0x3361cc['string']();break;case 0x4:_0x3ff1c2['authorsIds']=_0x3361cc['string']();break;case 0x5:_0x3ff1c2['diffData']=_0x3361cc['string']();break;case 0x6:_0x3ff1c2['createdAt']=_0x3361cc['string']();break;case 0x7:_0x3ff1c2['attributes']=_0x3361cc['string']();break;case 0x8:_0x3ff1c2['toVersion']=_0x3361cc['uint32']();break;case 0x9:_0x3ff1c2['fromVersion']=_0x3361cc['uint32']();break;case 0xa:_0x3ff1c2['isEmptyCurrent']=_0x3361cc['bool']();break;default:_0x3361cc['skipType'](0x7&_0x47fe58,_0x37e338);}}return _0x3ff1c2;},_0x34a09a['decodeDelimited']=function(_0x59ca5c){return _0x59ca5c instanceof _0x280c77||(_0x59ca5c=new _0x280c77(_0x59ca5c)),this['decode'](_0x59ca5c,_0x59ca5c['uint32']());},_0x34a09a['verify']=function(_0x333eb6,_0x4af9ac){return'object'!=typeof _0x333eb6||null===_0x333eb6?'object\x20expected':(void 0x0===_0x4af9ac&&(_0x4af9ac=0x0),_0x4af9ac>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x333eb6['revisionId']&&Object['hasOwnProperty']['call'](_0x333eb6,'revisionId')&&!_0x1ca790['isString'](_0x333eb6['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x333eb6['name']&&Object['hasOwnProperty']['call'](_0x333eb6,'name')&&!_0x1ca790['isString'](_0x333eb6['name'])?'name:\x20string\x20expected':null!=_0x333eb6['creatorId']&&Object['hasOwnProperty']['call'](_0x333eb6,'creatorId')&&!_0x1ca790['isString'](_0x333eb6['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x333eb6['authorsIds']&&Object['hasOwnProperty']['call'](_0x333eb6,'authorsIds')&&!_0x1ca790['isString'](_0x333eb6['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x333eb6['diffData']&&Object['hasOwnProperty']['call'](_0x333eb6,'diffData')&&!_0x1ca790['isString'](_0x333eb6['diffData'])?'diffData:\x20string\x20expected':null!=_0x333eb6['createdAt']&&Object['hasOwnProperty']['call'](_0x333eb6,'createdAt')&&!_0x1ca790['isString'](_0x333eb6['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x333eb6['attributes']&&Object['hasOwnProperty']['call'](_0x333eb6,'attributes')&&!_0x1ca790['isString'](_0x333eb6['attributes'])?'attributes:\x20string\x20expected':null!=_0x333eb6['toVersion']&&Object['hasOwnProperty']['call'](_0x333eb6,'toVersion')&&!_0x1ca790['isInteger'](_0x333eb6['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x333eb6['fromVersion']&&Object['hasOwnProperty']['call'](_0x333eb6,'fromVersion')&&!_0x1ca790['isInteger'](_0x333eb6['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x333eb6['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x333eb6,'isEmptyCurrent')&&'boolean'!=typeof _0x333eb6['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x34a09a['fromObject']=function(_0x2dd20b,_0x16a73e){if(_0x2dd20b instanceof _0x4f54f6['RevisionHistoryGetRevisionResponse'])return _0x2dd20b;if(!_0x1ca790['isObject'](_0x2dd20b))throw TypeError('.RevisionHistoryGetRevisionResponse:\x20object\x20expected');if(void 0x0===_0x16a73e&&(_0x16a73e=0x0),_0x16a73e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3b8002=new _0x4f54f6['RevisionHistoryGetRevisionResponse']();return null!=_0x2dd20b['revisionId']&&(_0x3b8002['revisionId']=String(_0x2dd20b['revisionId'])),null!=_0x2dd20b['name']&&(_0x3b8002['name']=String(_0x2dd20b['name'])),null!=_0x2dd20b['creatorId']&&(_0x3b8002['creatorId']=String(_0x2dd20b['creatorId'])),null!=_0x2dd20b['authorsIds']&&(_0x3b8002['authorsIds']=String(_0x2dd20b['authorsIds'])),null!=_0x2dd20b['diffData']&&(_0x3b8002['diffData']=String(_0x2dd20b['diffData'])),null!=_0x2dd20b['createdAt']&&(_0x3b8002['createdAt']=String(_0x2dd20b['createdAt'])),null!=_0x2dd20b['attributes']&&(_0x3b8002['attributes']=String(_0x2dd20b['attributes'])),null!=_0x2dd20b['toVersion']&&(_0x3b8002['toVersion']=_0x2dd20b['toVersion']>>>0x0),null!=_0x2dd20b['fromVersion']&&(_0x3b8002['fromVersion']=_0x2dd20b['fromVersion']>>>0x0),null!=_0x2dd20b['isEmptyCurrent']&&(_0x3b8002['isEmptyCurrent']=Boolean(_0x2dd20b['isEmptyCurrent'])),_0x3b8002;},_0x34a09a['toObject']=function(_0x20ae48,_0x14b31f,_0x520bec){if(_0x14b31f||(_0x14b31f={}),void 0x0===_0x520bec&&(_0x520bec=0x0),_0x520bec>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5b9657={};return _0x14b31f['defaults']&&(_0x5b9657['revisionId']='',_0x5b9657['name']='',_0x5b9657['creatorId']='',_0x5b9657['authorsIds']='',_0x5b9657['diffData']='',_0x5b9657['createdAt']='',_0x5b9657['attributes']='',_0x5b9657['toVersion']=0x0,_0x5b9657['fromVersion']=0x0,_0x5b9657['isEmptyCurrent']=!0x1),null!=_0x20ae48['revisionId']&&Object['hasOwnProperty']['call'](_0x20ae48,'revisionId')&&(_0x5b9657['revisionId']=_0x20ae48['revisionId']),null!=_0x20ae48['name']&&Object['hasOwnProperty']['call'](_0x20ae48,'name')&&(_0x5b9657['name']=_0x20ae48['name']),null!=_0x20ae48['creatorId']&&Object['hasOwnProperty']['call'](_0x20ae48,'creatorId')&&(_0x5b9657['creatorId']=_0x20ae48['creatorId']),null!=_0x20ae48['authorsIds']&&Object['hasOwnProperty']['call'](_0x20ae48,'authorsIds')&&(_0x5b9657['authorsIds']=_0x20ae48['authorsIds']),null!=_0x20ae48['diffData']&&Object['hasOwnProperty']['call'](_0x20ae48,'diffData')&&(_0x5b9657['diffData']=_0x20ae48['diffData']),null!=_0x20ae48['createdAt']&&Object['hasOwnProperty']['call'](_0x20ae48,'createdAt')&&(_0x5b9657['createdAt']=_0x20ae48['createdAt']),null!=_0x20ae48['attributes']&&Object['hasOwnProperty']['call'](_0x20ae48,'attributes')&&(_0x5b9657['attributes']=_0x20ae48['attributes']),null!=_0x20ae48['toVersion']&&Object['hasOwnProperty']['call'](_0x20ae48,'toVersion')&&(_0x5b9657['toVersion']=_0x20ae48['toVersion']),null!=_0x20ae48['fromVersion']&&Object['hasOwnProperty']['call'](_0x20ae48,'fromVersion')&&(_0x5b9657['fromVersion']=_0x20ae48['fromVersion']),null!=_0x20ae48['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x20ae48,'isEmptyCurrent')&&(_0x5b9657['isEmptyCurrent']=_0x20ae48['isEmptyCurrent']),_0x5b9657;},_0x34a09a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x34a09a['getTypeUrl']=function(_0x1dc79e){return void 0x0===_0x1dc79e&&(_0x1dc79e='type.googleapis.com'),_0x1dc79e+'/RevisionHistoryGetRevisionResponse';},_0x34a09a;}()),_0x4f54f6['RevisionHistoryConnectResponse']=(function(){function _0x53affe(_0x2097b8){if(this['revisions']=[],_0x2097b8){for(var _0x5c7066=Object['keys'](_0x2097b8),_0x246d4a=0x0;_0x246d4a<_0x5c7066['length'];++_0x246d4a)null!=_0x2097b8[_0x5c7066[_0x246d4a]]&&'__proto__'!==_0x5c7066[_0x246d4a]&&(this[_0x5c7066[_0x246d4a]]=_0x2097b8[_0x5c7066[_0x246d4a]]);}}return _0x53affe['prototype']['channel']='',_0x53affe['prototype']['requestId']=0x0,_0x53affe['prototype']['revisions']=_0x1ca790['emptyArray'],_0x53affe['create']=function(_0x3f0c43){return new _0x53affe(_0x3f0c43);},_0x53affe['encode']=function(_0x223d21,_0x3f1a86,_0x160901){if(_0x3f1a86||(_0x3f1a86=_0x5c509e['create']()),void 0x0===_0x160901&&(_0x160901=0x0),_0x160901>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x223d21['channel']&&Object['hasOwnProperty']['call'](_0x223d21,'channel')&&_0x3f1a86['uint32'](0xa)['string'](_0x223d21['channel']),null!=_0x223d21['requestId']&&Object['hasOwnProperty']['call'](_0x223d21,'requestId')&&_0x3f1a86['uint32'](0x10)['uint32'](_0x223d21['requestId']),null!=_0x223d21['revisions']&&_0x223d21['revisions']['length']){for(var _0x3bc4b3=0x0;_0x3bc4b3<_0x223d21['revisions']['length'];++_0x3bc4b3)_0x4f54f6['RevisionDescriptor']['encode'](_0x223d21['revisions'][_0x3bc4b3],_0x3f1a86['uint32'](0x1a)['fork'](),_0x160901+0x1)['ldelim']();}return _0x3f1a86;},_0x53affe['encodeDelimited']=function(_0x421067,_0x24101f){return this['encode'](_0x421067,_0x24101f)['ldelim']();},_0x53affe['decode']=function(_0x5a8cd7,_0x1555dd,_0xa33db4,_0x13f829){if(_0x5a8cd7 instanceof _0x280c77||(_0x5a8cd7=_0x280c77['create'](_0x5a8cd7)),void 0x0===_0x13f829&&(_0x13f829=0x0),_0x13f829>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x284840=void 0x0===_0x1555dd?_0x5a8cd7['len']:_0x5a8cd7['pos']+_0x1555dd,_0x2dd847=new _0x4f54f6['RevisionHistoryConnectResponse']();_0x5a8cd7['pos']<_0x284840;){var _0x2167a1=_0x5a8cd7['uint32']();if(_0x2167a1===_0xa33db4)break;switch(_0x2167a1>>>0x3){case 0x1:_0x2dd847['channel']=_0x5a8cd7['string']();break;case 0x2:_0x2dd847['requestId']=_0x5a8cd7['uint32']();break;case 0x3:_0x2dd847['revisions']&&_0x2dd847['revisions']['length']||(_0x2dd847['revisions']=[]),_0x2dd847['revisions']['push'](_0x4f54f6['RevisionDescriptor']['decode'](_0x5a8cd7,_0x5a8cd7['uint32'](),void 0x0,_0x13f829+0x1));break;default:_0x5a8cd7['skipType'](0x7&_0x2167a1,_0x13f829);}}return _0x2dd847;},_0x53affe['decodeDelimited']=function(_0x1327b4){return _0x1327b4 instanceof _0x280c77||(_0x1327b4=new _0x280c77(_0x1327b4)),this['decode'](_0x1327b4,_0x1327b4['uint32']());},_0x53affe['verify']=function(_0x542ac5,_0x16464f){if('object'!=typeof _0x542ac5||null===_0x542ac5)return'object\x20expected';if(void 0x0===_0x16464f&&(_0x16464f=0x0),_0x16464f>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x542ac5['channel']&&Object['hasOwnProperty']['call'](_0x542ac5,'channel')&&!_0x1ca790['isString'](_0x542ac5['channel']))return'channel:\x20string\x20expected';if(null!=_0x542ac5['requestId']&&Object['hasOwnProperty']['call'](_0x542ac5,'requestId')&&!_0x1ca790['isInteger'](_0x542ac5['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x542ac5['revisions']&&Object['hasOwnProperty']['call'](_0x542ac5,'revisions')){if(!Array['isArray'](_0x542ac5['revisions']))return'revisions:\x20array\x20expected';for(var _0xcee960=0x0;_0xcee960<_0x542ac5['revisions']['length'];++_0xcee960){var _0x214eb2=_0x4f54f6['RevisionDescriptor']['verify'](_0x542ac5['revisions'][_0xcee960],_0x16464f+0x1);if(_0x214eb2)return'revisions.'+_0x214eb2;}}return null;},_0x53affe['fromObject']=function(_0x2b6a5c,_0x55f8f9){if(_0x2b6a5c instanceof _0x4f54f6['RevisionHistoryConnectResponse'])return _0x2b6a5c;if(!_0x1ca790['isObject'](_0x2b6a5c))throw TypeError('.RevisionHistoryConnectResponse:\x20object\x20expected');if(void 0x0===_0x55f8f9&&(_0x55f8f9=0x0),_0x55f8f9>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xa1d463=new _0x4f54f6['RevisionHistoryConnectResponse']();if(null!=_0x2b6a5c['channel']&&(_0xa1d463['channel']=String(_0x2b6a5c['channel'])),null!=_0x2b6a5c['requestId']&&(_0xa1d463['requestId']=_0x2b6a5c['requestId']>>>0x0),_0x2b6a5c['revisions']){if(!Array['isArray'](_0x2b6a5c['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0xa1d463['revisions']=[];for(var _0x441456=0x0;_0x441456<_0x2b6a5c['revisions']['length'];++_0x441456){if(!_0x1ca790['isObject'](_0x2b6a5c['revisions'][_0x441456]))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0xa1d463['revisions'][_0x441456]=_0x4f54f6['RevisionDescriptor']['fromObject'](_0x2b6a5c['revisions'][_0x441456],_0x55f8f9+0x1);}}return _0xa1d463;},_0x53affe['toObject']=function(_0x5a7dbb,_0x2733c6,_0x2333b1){if(_0x2733c6||(_0x2733c6={}),void 0x0===_0x2333b1&&(_0x2333b1=0x0),_0x2333b1>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x502cf7={};if((_0x2733c6['arrays']||_0x2733c6['defaults'])&&(_0x502cf7['revisions']=[]),_0x2733c6['defaults']&&(_0x502cf7['channel']='',_0x502cf7['requestId']=0x0),null!=_0x5a7dbb['channel']&&Object['hasOwnProperty']['call'](_0x5a7dbb,'channel')&&(_0x502cf7['channel']=_0x5a7dbb['channel']),null!=_0x5a7dbb['requestId']&&Object['hasOwnProperty']['call'](_0x5a7dbb,'requestId')&&(_0x502cf7['requestId']=_0x5a7dbb['requestId']),_0x5a7dbb['revisions']&&_0x5a7dbb['revisions']['length']){_0x502cf7['revisions']=[];for(var _0x34c0cb=0x0;_0x34c0cb<_0x5a7dbb['revisions']['length'];++_0x34c0cb)_0x502cf7['revisions'][_0x34c0cb]=_0x4f54f6['RevisionDescriptor']['toObject'](_0x5a7dbb['revisions'][_0x34c0cb],_0x2733c6,_0x2333b1+0x1);}return _0x502cf7;},_0x53affe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x53affe['getTypeUrl']=function(_0x171fc5){return void 0x0===_0x171fc5&&(_0x171fc5='type.googleapis.com'),_0x171fc5+'/RevisionHistoryConnectResponse';},_0x53affe;}()),_0x4f54f6['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x5151df(_0x2256a3){if(this['revisions']=[],_0x2256a3){for(var _0x588253=Object['keys'](_0x2256a3),_0x288343=0x0;_0x288343<_0x588253['length'];++_0x288343)null!=_0x2256a3[_0x588253[_0x288343]]&&'__proto__'!==_0x588253[_0x288343]&&(this[_0x588253[_0x288343]]=_0x2256a3[_0x588253[_0x288343]]);}}return _0x5151df['prototype']['documentId']='',_0x5151df['prototype']['requestId']=0x0,_0x5151df['prototype']['revisions']=_0x1ca790['emptyArray'],_0x5151df['create']=function(_0x12e1c1){return new _0x5151df(_0x12e1c1);},_0x5151df['encode']=function(_0x1247b0,_0x45d094,_0x5110c7){if(_0x45d094||(_0x45d094=_0x5c509e['create']()),void 0x0===_0x5110c7&&(_0x5110c7=0x0),_0x5110c7>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x1247b0['documentId']&&Object['hasOwnProperty']['call'](_0x1247b0,'documentId')&&_0x45d094['uint32'](0xa)['string'](_0x1247b0['documentId']),null!=_0x1247b0['requestId']&&Object['hasOwnProperty']['call'](_0x1247b0,'requestId')&&_0x45d094['uint32'](0x10)['uint32'](_0x1247b0['requestId']),null!=_0x1247b0['revisions']&&_0x1247b0['revisions']['length']){for(var _0x2caf24=0x0;_0x2caf24<_0x1247b0['revisions']['length'];++_0x2caf24)_0x4f54f6['RevisionDescriptor']['encode'](_0x1247b0['revisions'][_0x2caf24],_0x45d094['uint32'](0x1a)['fork'](),_0x5110c7+0x1)['ldelim']();}return _0x45d094;},_0x5151df['encodeDelimited']=function(_0x1e402e,_0x4224d7){return this['encode'](_0x1e402e,_0x4224d7)['ldelim']();},_0x5151df['decode']=function(_0x67ac3,_0x3fc83b,_0x3e4e26,_0x13b5fa){if(_0x67ac3 instanceof _0x280c77||(_0x67ac3=_0x280c77['create'](_0x67ac3)),void 0x0===_0x13b5fa&&(_0x13b5fa=0x0),_0x13b5fa>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x48c1a2=void 0x0===_0x3fc83b?_0x67ac3['len']:_0x67ac3['pos']+_0x3fc83b,_0x260648=new _0x4f54f6['RevisionHistoryUpdateRevisionsMessage']();_0x67ac3['pos']<_0x48c1a2;){var _0x585a6e=_0x67ac3['uint32']();if(_0x585a6e===_0x3e4e26)break;switch(_0x585a6e>>>0x3){case 0x1:_0x260648['documentId']=_0x67ac3['string']();break;case 0x2:_0x260648['requestId']=_0x67ac3['uint32']();break;case 0x3:_0x260648['revisions']&&_0x260648['revisions']['length']||(_0x260648['revisions']=[]),_0x260648['revisions']['push'](_0x4f54f6['RevisionDescriptor']['decode'](_0x67ac3,_0x67ac3['uint32'](),void 0x0,_0x13b5fa+0x1));break;default:_0x67ac3['skipType'](0x7&_0x585a6e,_0x13b5fa);}}return _0x260648;},_0x5151df['decodeDelimited']=function(_0x3e02e2){return _0x3e02e2 instanceof _0x280c77||(_0x3e02e2=new _0x280c77(_0x3e02e2)),this['decode'](_0x3e02e2,_0x3e02e2['uint32']());},_0x5151df['verify']=function(_0x8888b2,_0x2c8cb4){if('object'!=typeof _0x8888b2||null===_0x8888b2)return'object\x20expected';if(void 0x0===_0x2c8cb4&&(_0x2c8cb4=0x0),_0x2c8cb4>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x8888b2['documentId']&&Object['hasOwnProperty']['call'](_0x8888b2,'documentId')&&!_0x1ca790['isString'](_0x8888b2['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x8888b2['requestId']&&Object['hasOwnProperty']['call'](_0x8888b2,'requestId')&&!_0x1ca790['isInteger'](_0x8888b2['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x8888b2['revisions']&&Object['hasOwnProperty']['call'](_0x8888b2,'revisions')){if(!Array['isArray'](_0x8888b2['revisions']))return'revisions:\x20array\x20expected';for(var _0x38b2ef=0x0;_0x38b2ef<_0x8888b2['revisions']['length'];++_0x38b2ef){var _0x204633=_0x4f54f6['RevisionDescriptor']['verify'](_0x8888b2['revisions'][_0x38b2ef],_0x2c8cb4+0x1);if(_0x204633)return'revisions.'+_0x204633;}}return null;},_0x5151df['fromObject']=function(_0x16b9b9,_0x2b3a64){if(_0x16b9b9 instanceof _0x4f54f6['RevisionHistoryUpdateRevisionsMessage'])return _0x16b9b9;if(!_0x1ca790['isObject'](_0x16b9b9))throw TypeError('.RevisionHistoryUpdateRevisionsMessage:\x20object\x20expected');if(void 0x0===_0x2b3a64&&(_0x2b3a64=0x0),_0x2b3a64>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xe4b47d=new _0x4f54f6['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x16b9b9['documentId']&&(_0xe4b47d['documentId']=String(_0x16b9b9['documentId'])),null!=_0x16b9b9['requestId']&&(_0xe4b47d['requestId']=_0x16b9b9['requestId']>>>0x0),_0x16b9b9['revisions']){if(!Array['isArray'](_0x16b9b9['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0xe4b47d['revisions']=[];for(var _0x19b9fd=0x0;_0x19b9fd<_0x16b9b9['revisions']['length'];++_0x19b9fd){if(!_0x1ca790['isObject'](_0x16b9b9['revisions'][_0x19b9fd]))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0xe4b47d['revisions'][_0x19b9fd]=_0x4f54f6['RevisionDescriptor']['fromObject'](_0x16b9b9['revisions'][_0x19b9fd],_0x2b3a64+0x1);}}return _0xe4b47d;},_0x5151df['toObject']=function(_0x4efcc1,_0x342aef,_0x482ad0){if(_0x342aef||(_0x342aef={}),void 0x0===_0x482ad0&&(_0x482ad0=0x0),_0x482ad0>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x592b42={};if((_0x342aef['arrays']||_0x342aef['defaults'])&&(_0x592b42['revisions']=[]),_0x342aef['defaults']&&(_0x592b42['documentId']='',_0x592b42['requestId']=0x0),null!=_0x4efcc1['documentId']&&Object['hasOwnProperty']['call'](_0x4efcc1,'documentId')&&(_0x592b42['documentId']=_0x4efcc1['documentId']),null!=_0x4efcc1['requestId']&&Object['hasOwnProperty']['call'](_0x4efcc1,'requestId')&&(_0x592b42['requestId']=_0x4efcc1['requestId']),_0x4efcc1['revisions']&&_0x4efcc1['revisions']['length']){_0x592b42['revisions']=[];for(var _0x12d1d1=0x0;_0x12d1d1<_0x4efcc1['revisions']['length'];++_0x12d1d1)_0x592b42['revisions'][_0x12d1d1]=_0x4f54f6['RevisionDescriptor']['toObject'](_0x4efcc1['revisions'][_0x12d1d1],_0x342aef,_0x482ad0+0x1);}return _0x592b42;},_0x5151df['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5151df['getTypeUrl']=function(_0x3571f1){return void 0x0===_0x3571f1&&(_0x3571f1='type.googleapis.com'),_0x3571f1+'/RevisionHistoryUpdateRevisionsMessage';},_0x5151df;}()),_0x4f54f6['RevisionHistoryReconnectMessage']=(function(){function _0x1c293c(_0x3f6096){if(_0x3f6096){for(var _0x2f0ced=Object['keys'](_0x3f6096),_0x2335de=0x0;_0x2335de<_0x2f0ced['length'];++_0x2335de)null!=_0x3f6096[_0x2f0ced[_0x2335de]]&&'__proto__'!==_0x2f0ced[_0x2335de]&&(this[_0x2f0ced[_0x2335de]]=_0x3f6096[_0x2f0ced[_0x2335de]]);}}return _0x1c293c['prototype']['documentId']='',_0x1c293c['prototype']['requestId']=0x0,_0x1c293c['create']=function(_0x4e9400){return new _0x1c293c(_0x4e9400);},_0x1c293c['encode']=function(_0xb4ba51,_0x501345,_0x49cfef){if(_0x501345||(_0x501345=_0x5c509e['create']()),void 0x0===_0x49cfef&&(_0x49cfef=0x0),_0x49cfef>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xb4ba51['documentId']&&Object['hasOwnProperty']['call'](_0xb4ba51,'documentId')&&_0x501345['uint32'](0xa)['string'](_0xb4ba51['documentId']),null!=_0xb4ba51['requestId']&&Object['hasOwnProperty']['call'](_0xb4ba51,'requestId')&&_0x501345['uint32'](0x10)['uint32'](_0xb4ba51['requestId']),_0x501345;},_0x1c293c['encodeDelimited']=function(_0x342bf8,_0x15edb7){return this['encode'](_0x342bf8,_0x15edb7)['ldelim']();},_0x1c293c['decode']=function(_0x5ef111,_0x155856,_0x2e2021,_0x45f572){if(_0x5ef111 instanceof _0x280c77||(_0x5ef111=_0x280c77['create'](_0x5ef111)),void 0x0===_0x45f572&&(_0x45f572=0x0),_0x45f572>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x34391c=void 0x0===_0x155856?_0x5ef111['len']:_0x5ef111['pos']+_0x155856,_0x43d648=new _0x4f54f6['RevisionHistoryReconnectMessage']();_0x5ef111['pos']<_0x34391c;){var _0x37785e=_0x5ef111['uint32']();if(_0x37785e===_0x2e2021)break;switch(_0x37785e>>>0x3){case 0x1:_0x43d648['documentId']=_0x5ef111['string']();break;case 0x2:_0x43d648['requestId']=_0x5ef111['uint32']();break;default:_0x5ef111['skipType'](0x7&_0x37785e,_0x45f572);}}return _0x43d648;},_0x1c293c['decodeDelimited']=function(_0x561c85){return _0x561c85 instanceof _0x280c77||(_0x561c85=new _0x280c77(_0x561c85)),this['decode'](_0x561c85,_0x561c85['uint32']());},_0x1c293c['verify']=function(_0x59a29f,_0x2b2c09){return'object'!=typeof _0x59a29f||null===_0x59a29f?'object\x20expected':(void 0x0===_0x2b2c09&&(_0x2b2c09=0x0),_0x2b2c09>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x59a29f['documentId']&&Object['hasOwnProperty']['call'](_0x59a29f,'documentId')&&!_0x1ca790['isString'](_0x59a29f['documentId'])?'documentId:\x20string\x20expected':null!=_0x59a29f['requestId']&&Object['hasOwnProperty']['call'](_0x59a29f,'requestId')&&!_0x1ca790['isInteger'](_0x59a29f['requestId'])?'requestId:\x20integer\x20expected':null);},_0x1c293c['fromObject']=function(_0x26bea2,_0x54fa53){if(_0x26bea2 instanceof _0x4f54f6['RevisionHistoryReconnectMessage'])return _0x26bea2;if(!_0x1ca790['isObject'](_0x26bea2))throw TypeError('.RevisionHistoryReconnectMessage:\x20object\x20expected');if(void 0x0===_0x54fa53&&(_0x54fa53=0x0),_0x54fa53>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5f4aaa=new _0x4f54f6['RevisionHistoryReconnectMessage']();return null!=_0x26bea2['documentId']&&(_0x5f4aaa['documentId']=String(_0x26bea2['documentId'])),null!=_0x26bea2['requestId']&&(_0x5f4aaa['requestId']=_0x26bea2['requestId']>>>0x0),_0x5f4aaa;},_0x1c293c['toObject']=function(_0x179385,_0x4d0745,_0x53f1a0){if(_0x4d0745||(_0x4d0745={}),void 0x0===_0x53f1a0&&(_0x53f1a0=0x0),_0x53f1a0>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x43723c={};return _0x4d0745['defaults']&&(_0x43723c['documentId']='',_0x43723c['requestId']=0x0),null!=_0x179385['documentId']&&Object['hasOwnProperty']['call'](_0x179385,'documentId')&&(_0x43723c['documentId']=_0x179385['documentId']),null!=_0x179385['requestId']&&Object['hasOwnProperty']['call'](_0x179385,'requestId')&&(_0x43723c['requestId']=_0x179385['requestId']),_0x43723c;},_0x1c293c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x1c293c['getTypeUrl']=function(_0x238f19){return void 0x0===_0x238f19&&(_0x238f19='type.googleapis.com'),_0x238f19+'/RevisionHistoryReconnectMessage';},_0x1c293c;}()),_0x4f54f6['RevisionHistoryGetRevisionMessage']=(function(){function _0x52eafe(_0x27baf6){if(_0x27baf6){for(var _0x3f4979=Object['keys'](_0x27baf6),_0x329aa9=0x0;_0x329aa9<_0x3f4979['length'];++_0x329aa9)null!=_0x27baf6[_0x3f4979[_0x329aa9]]&&'__proto__'!==_0x3f4979[_0x329aa9]&&(this[_0x3f4979[_0x329aa9]]=_0x27baf6[_0x3f4979[_0x329aa9]]);}}return _0x52eafe['prototype']['documentId']='',_0x52eafe['prototype']['revisionId']='',_0x52eafe['create']=function(_0x2f2557){return new _0x52eafe(_0x2f2557);},_0x52eafe['encode']=function(_0x2bd0c0,_0x7c2641,_0x3c4676){if(_0x7c2641||(_0x7c2641=_0x5c509e['create']()),void 0x0===_0x3c4676&&(_0x3c4676=0x0),_0x3c4676>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2bd0c0['documentId']&&Object['hasOwnProperty']['call'](_0x2bd0c0,'documentId')&&_0x7c2641['uint32'](0xa)['string'](_0x2bd0c0['documentId']),null!=_0x2bd0c0['revisionId']&&Object['hasOwnProperty']['call'](_0x2bd0c0,'revisionId')&&_0x7c2641['uint32'](0x12)['string'](_0x2bd0c0['revisionId']),_0x7c2641;},_0x52eafe['encodeDelimited']=function(_0xe9f636,_0x178a23){return this['encode'](_0xe9f636,_0x178a23)['ldelim']();},_0x52eafe['decode']=function(_0x444e7c,_0x19d1f5,_0x2b3c55,_0x1b6f8a){if(_0x444e7c instanceof _0x280c77||(_0x444e7c=_0x280c77['create'](_0x444e7c)),void 0x0===_0x1b6f8a&&(_0x1b6f8a=0x0),_0x1b6f8a>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1f01b2=void 0x0===_0x19d1f5?_0x444e7c['len']:_0x444e7c['pos']+_0x19d1f5,_0x3c44ed=new _0x4f54f6['RevisionHistoryGetRevisionMessage']();_0x444e7c['pos']<_0x1f01b2;){var _0x502224=_0x444e7c['uint32']();if(_0x502224===_0x2b3c55)break;switch(_0x502224>>>0x3){case 0x1:_0x3c44ed['documentId']=_0x444e7c['string']();break;case 0x2:_0x3c44ed['revisionId']=_0x444e7c['string']();break;default:_0x444e7c['skipType'](0x7&_0x502224,_0x1b6f8a);}}return _0x3c44ed;},_0x52eafe['decodeDelimited']=function(_0x2204d4){return _0x2204d4 instanceof _0x280c77||(_0x2204d4=new _0x280c77(_0x2204d4)),this['decode'](_0x2204d4,_0x2204d4['uint32']());},_0x52eafe['verify']=function(_0x561ff3,_0x1e04e5){return'object'!=typeof _0x561ff3||null===_0x561ff3?'object\x20expected':(void 0x0===_0x1e04e5&&(_0x1e04e5=0x0),_0x1e04e5>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x561ff3['documentId']&&Object['hasOwnProperty']['call'](_0x561ff3,'documentId')&&!_0x1ca790['isString'](_0x561ff3['documentId'])?'documentId:\x20string\x20expected':null!=_0x561ff3['revisionId']&&Object['hasOwnProperty']['call'](_0x561ff3,'revisionId')&&!_0x1ca790['isString'](_0x561ff3['revisionId'])?'revisionId:\x20string\x20expected':null);},_0x52eafe['fromObject']=function(_0x387221,_0x2be09f){if(_0x387221 instanceof _0x4f54f6['RevisionHistoryGetRevisionMessage'])return _0x387221;if(!_0x1ca790['isObject'](_0x387221))throw TypeError('.RevisionHistoryGetRevisionMessage:\x20object\x20expected');if(void 0x0===_0x2be09f&&(_0x2be09f=0x0),_0x2be09f>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x56b2c=new _0x4f54f6['RevisionHistoryGetRevisionMessage']();return null!=_0x387221['documentId']&&(_0x56b2c['documentId']=String(_0x387221['documentId'])),null!=_0x387221['revisionId']&&(_0x56b2c['revisionId']=String(_0x387221['revisionId'])),_0x56b2c;},_0x52eafe['toObject']=function(_0x1fbb10,_0x71d2d5,_0x53c0cc){if(_0x71d2d5||(_0x71d2d5={}),void 0x0===_0x53c0cc&&(_0x53c0cc=0x0),_0x53c0cc>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x13646d={};return _0x71d2d5['defaults']&&(_0x13646d['documentId']='',_0x13646d['revisionId']=''),null!=_0x1fbb10['documentId']&&Object['hasOwnProperty']['call'](_0x1fbb10,'documentId')&&(_0x13646d['documentId']=_0x1fbb10['documentId']),null!=_0x1fbb10['revisionId']&&Object['hasOwnProperty']['call'](_0x1fbb10,'revisionId')&&(_0x13646d['revisionId']=_0x1fbb10['revisionId']),_0x13646d;},_0x52eafe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x52eafe['getTypeUrl']=function(_0x13597a){return void 0x0===_0x13597a&&(_0x13597a='type.googleapis.com'),_0x13597a+'/RevisionHistoryGetRevisionMessage';},_0x52eafe;}()),_0x4f54f6['RevisionHistoryConnectMessage']=(function(){function _0x1aa804(_0x217572){if(_0x217572){for(var _0x2a0f01=Object['keys'](_0x217572),_0x3f6a81=0x0;_0x3f6a81<_0x2a0f01['length'];++_0x3f6a81)null!=_0x217572[_0x2a0f01[_0x3f6a81]]&&'__proto__'!==_0x2a0f01[_0x3f6a81]&&(this[_0x2a0f01[_0x3f6a81]]=_0x217572[_0x2a0f01[_0x3f6a81]]);}}return _0x1aa804['prototype']['documentId']='',_0x1aa804['create']=function(_0x520092){return new _0x1aa804(_0x520092);},_0x1aa804['encode']=function(_0x263885,_0x3a0703,_0x2374d4){if(_0x3a0703||(_0x3a0703=_0x5c509e['create']()),void 0x0===_0x2374d4&&(_0x2374d4=0x0),_0x2374d4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x263885['documentId']&&Object['hasOwnProperty']['call'](_0x263885,'documentId')&&_0x3a0703['uint32'](0xa)['string'](_0x263885['documentId']),_0x3a0703;},_0x1aa804['encodeDelimited']=function(_0x8791cb,_0x2d1e1b){return this['encode'](_0x8791cb,_0x2d1e1b)['ldelim']();},_0x1aa804['decode']=function(_0x2f1427,_0x241151,_0x1cc7ef,_0x33e7a0){if(_0x2f1427 instanceof _0x280c77||(_0x2f1427=_0x280c77['create'](_0x2f1427)),void 0x0===_0x33e7a0&&(_0x33e7a0=0x0),_0x33e7a0>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb7267e=void 0x0===_0x241151?_0x2f1427['len']:_0x2f1427['pos']+_0x241151,_0x36e323=new _0x4f54f6['RevisionHistoryConnectMessage']();_0x2f1427['pos']<_0xb7267e;){var _0x2ccf4d=_0x2f1427['uint32']();if(_0x2ccf4d===_0x1cc7ef)break;_0x2ccf4d>>>0x3==0x1?_0x36e323['documentId']=_0x2f1427['string']():_0x2f1427['skipType'](0x7&_0x2ccf4d,_0x33e7a0);}return _0x36e323;},_0x1aa804['decodeDelimited']=function(_0x272105){return _0x272105 instanceof _0x280c77||(_0x272105=new _0x280c77(_0x272105)),this['decode'](_0x272105,_0x272105['uint32']());},_0x1aa804['verify']=function(_0x54416d,_0x454748){return'object'!=typeof _0x54416d||null===_0x54416d?'object\x20expected':(void 0x0===_0x454748&&(_0x454748=0x0),_0x454748>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x54416d['documentId']&&Object['hasOwnProperty']['call'](_0x54416d,'documentId')&&!_0x1ca790['isString'](_0x54416d['documentId'])?'documentId:\x20string\x20expected':null);},_0x1aa804['fromObject']=function(_0x1fc67d,_0x198a4f){if(_0x1fc67d instanceof _0x4f54f6['RevisionHistoryConnectMessage'])return _0x1fc67d;if(!_0x1ca790['isObject'](_0x1fc67d))throw TypeError('.RevisionHistoryConnectMessage:\x20object\x20expected');if(void 0x0===_0x198a4f&&(_0x198a4f=0x0),_0x198a4f>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3eb1bb=new _0x4f54f6['RevisionHistoryConnectMessage']();return null!=_0x1fc67d['documentId']&&(_0x3eb1bb['documentId']=String(_0x1fc67d['documentId'])),_0x3eb1bb;},_0x1aa804['toObject']=function(_0x4c1d5f,_0x28f050,_0x4f97d8){if(_0x28f050||(_0x28f050={}),void 0x0===_0x4f97d8&&(_0x4f97d8=0x0),_0x4f97d8>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x43041c={};return _0x28f050['defaults']&&(_0x43041c['documentId']=''),null!=_0x4c1d5f['documentId']&&Object['hasOwnProperty']['call'](_0x4c1d5f,'documentId')&&(_0x43041c['documentId']=_0x4c1d5f['documentId']),_0x43041c;},_0x1aa804['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x1aa804['getTypeUrl']=function(_0x55cae3){return void 0x0===_0x55cae3&&(_0x55cae3='type.googleapis.com'),_0x55cae3+'/RevisionHistoryConnectMessage';},_0x1aa804;}()),_0x4f54f6['RevisionDescriptor']=(function(){function _0x28842b(_0x4156c3){if(_0x4156c3){for(var _0x37612f=Object['keys'](_0x4156c3),_0x56f916=0x0;_0x56f916<_0x37612f['length'];++_0x56f916)null!=_0x4156c3[_0x37612f[_0x56f916]]&&'__proto__'!==_0x37612f[_0x56f916]&&(this[_0x37612f[_0x56f916]]=_0x4156c3[_0x37612f[_0x56f916]]);}}return _0x28842b['prototype']['revisionId']='',_0x28842b['prototype']['name']='',_0x28842b['prototype']['creatorId']='',_0x28842b['prototype']['authorsIds']='',_0x28842b['prototype']['diffData']='',_0x28842b['prototype']['createdAt']='',_0x28842b['prototype']['attributes']='',_0x28842b['prototype']['toVersion']=0x0,_0x28842b['prototype']['fromVersion']=0x0,_0x28842b['prototype']['isEmptyCurrent']=!0x1,_0x28842b['create']=function(_0x32c590){return new _0x28842b(_0x32c590);},_0x28842b['encode']=function(_0x24c7e9,_0x55538f,_0x434cb3){if(_0x55538f||(_0x55538f=_0x5c509e['create']()),void 0x0===_0x434cb3&&(_0x434cb3=0x0),_0x434cb3>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x24c7e9['revisionId']&&Object['hasOwnProperty']['call'](_0x24c7e9,'revisionId')&&_0x55538f['uint32'](0xa)['string'](_0x24c7e9['revisionId']),null!=_0x24c7e9['name']&&Object['hasOwnProperty']['call'](_0x24c7e9,'name')&&_0x55538f['uint32'](0x12)['string'](_0x24c7e9['name']),null!=_0x24c7e9['creatorId']&&Object['hasOwnProperty']['call'](_0x24c7e9,'creatorId')&&_0x55538f['uint32'](0x1a)['string'](_0x24c7e9['creatorId']),null!=_0x24c7e9['authorsIds']&&Object['hasOwnProperty']['call'](_0x24c7e9,'authorsIds')&&_0x55538f['uint32'](0x22)['string'](_0x24c7e9['authorsIds']),null!=_0x24c7e9['diffData']&&Object['hasOwnProperty']['call'](_0x24c7e9,'diffData')&&_0x55538f['uint32'](0x2a)['string'](_0x24c7e9['diffData']),null!=_0x24c7e9['createdAt']&&Object['hasOwnProperty']['call'](_0x24c7e9,'createdAt')&&_0x55538f['uint32'](0x32)['string'](_0x24c7e9['createdAt']),null!=_0x24c7e9['attributes']&&Object['hasOwnProperty']['call'](_0x24c7e9,'attributes')&&_0x55538f['uint32'](0x3a)['string'](_0x24c7e9['attributes']),null!=_0x24c7e9['toVersion']&&Object['hasOwnProperty']['call'](_0x24c7e9,'toVersion')&&_0x55538f['uint32'](0x40)['uint32'](_0x24c7e9['toVersion']),null!=_0x24c7e9['fromVersion']&&Object['hasOwnProperty']['call'](_0x24c7e9,'fromVersion')&&_0x55538f['uint32'](0x48)['uint32'](_0x24c7e9['fromVersion']),null!=_0x24c7e9['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x24c7e9,'isEmptyCurrent')&&_0x55538f['uint32'](0x50)['bool'](_0x24c7e9['isEmptyCurrent']),_0x55538f;},_0x28842b['encodeDelimited']=function(_0x43243a,_0x13826f){return this['encode'](_0x43243a,_0x13826f)['ldelim']();},_0x28842b['decode']=function(_0x5c34e7,_0x45bbaa,_0x3ba368,_0x48b5af){if(_0x5c34e7 instanceof _0x280c77||(_0x5c34e7=_0x280c77['create'](_0x5c34e7)),void 0x0===_0x48b5af&&(_0x48b5af=0x0),_0x48b5af>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x544729=void 0x0===_0x45bbaa?_0x5c34e7['len']:_0x5c34e7['pos']+_0x45bbaa,_0x51fe87=new _0x4f54f6['RevisionDescriptor']();_0x5c34e7['pos']<_0x544729;){var _0x4522fa=_0x5c34e7['uint32']();if(_0x4522fa===_0x3ba368)break;switch(_0x4522fa>>>0x3){case 0x1:_0x51fe87['revisionId']=_0x5c34e7['string']();break;case 0x2:_0x51fe87['name']=_0x5c34e7['string']();break;case 0x3:_0x51fe87['creatorId']=_0x5c34e7['string']();break;case 0x4:_0x51fe87['authorsIds']=_0x5c34e7['string']();break;case 0x5:_0x51fe87['diffData']=_0x5c34e7['string']();break;case 0x6:_0x51fe87['createdAt']=_0x5c34e7['string']();break;case 0x7:_0x51fe87['attributes']=_0x5c34e7['string']();break;case 0x8:_0x51fe87['toVersion']=_0x5c34e7['uint32']();break;case 0x9:_0x51fe87['fromVersion']=_0x5c34e7['uint32']();break;case 0xa:_0x51fe87['isEmptyCurrent']=_0x5c34e7['bool']();break;default:_0x5c34e7['skipType'](0x7&_0x4522fa,_0x48b5af);}}return _0x51fe87;},_0x28842b['decodeDelimited']=function(_0x3d6037){return _0x3d6037 instanceof _0x280c77||(_0x3d6037=new _0x280c77(_0x3d6037)),this['decode'](_0x3d6037,_0x3d6037['uint32']());},_0x28842b['verify']=function(_0x3f51ec,_0x5c1ba3){return'object'!=typeof _0x3f51ec||null===_0x3f51ec?'object\x20expected':(void 0x0===_0x5c1ba3&&(_0x5c1ba3=0x0),_0x5c1ba3>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3f51ec['revisionId']&&Object['hasOwnProperty']['call'](_0x3f51ec,'revisionId')&&!_0x1ca790['isString'](_0x3f51ec['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x3f51ec['name']&&Object['hasOwnProperty']['call'](_0x3f51ec,'name')&&!_0x1ca790['isString'](_0x3f51ec['name'])?'name:\x20string\x20expected':null!=_0x3f51ec['creatorId']&&Object['hasOwnProperty']['call'](_0x3f51ec,'creatorId')&&!_0x1ca790['isString'](_0x3f51ec['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x3f51ec['authorsIds']&&Object['hasOwnProperty']['call'](_0x3f51ec,'authorsIds')&&!_0x1ca790['isString'](_0x3f51ec['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x3f51ec['diffData']&&Object['hasOwnProperty']['call'](_0x3f51ec,'diffData')&&!_0x1ca790['isString'](_0x3f51ec['diffData'])?'diffData:\x20string\x20expected':null!=_0x3f51ec['createdAt']&&Object['hasOwnProperty']['call'](_0x3f51ec,'createdAt')&&!_0x1ca790['isString'](_0x3f51ec['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3f51ec['attributes']&&Object['hasOwnProperty']['call'](_0x3f51ec,'attributes')&&!_0x1ca790['isString'](_0x3f51ec['attributes'])?'attributes:\x20string\x20expected':null!=_0x3f51ec['toVersion']&&Object['hasOwnProperty']['call'](_0x3f51ec,'toVersion')&&!_0x1ca790['isInteger'](_0x3f51ec['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x3f51ec['fromVersion']&&Object['hasOwnProperty']['call'](_0x3f51ec,'fromVersion')&&!_0x1ca790['isInteger'](_0x3f51ec['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x3f51ec['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x3f51ec,'isEmptyCurrent')&&'boolean'!=typeof _0x3f51ec['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x28842b['fromObject']=function(_0x478550,_0x1d6e82){if(_0x478550 instanceof _0x4f54f6['RevisionDescriptor'])return _0x478550;if(!_0x1ca790['isObject'](_0x478550))throw TypeError('.RevisionDescriptor:\x20object\x20expected');if(void 0x0===_0x1d6e82&&(_0x1d6e82=0x0),_0x1d6e82>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1cc218=new _0x4f54f6['RevisionDescriptor']();return null!=_0x478550['revisionId']&&(_0x1cc218['revisionId']=String(_0x478550['revisionId'])),null!=_0x478550['name']&&(_0x1cc218['name']=String(_0x478550['name'])),null!=_0x478550['creatorId']&&(_0x1cc218['creatorId']=String(_0x478550['creatorId'])),null!=_0x478550['authorsIds']&&(_0x1cc218['authorsIds']=String(_0x478550['authorsIds'])),null!=_0x478550['diffData']&&(_0x1cc218['diffData']=String(_0x478550['diffData'])),null!=_0x478550['createdAt']&&(_0x1cc218['createdAt']=String(_0x478550['createdAt'])),null!=_0x478550['attributes']&&(_0x1cc218['attributes']=String(_0x478550['attributes'])),null!=_0x478550['toVersion']&&(_0x1cc218['toVersion']=_0x478550['toVersion']>>>0x0),null!=_0x478550['fromVersion']&&(_0x1cc218['fromVersion']=_0x478550['fromVersion']>>>0x0),null!=_0x478550['isEmptyCurrent']&&(_0x1cc218['isEmptyCurrent']=Boolean(_0x478550['isEmptyCurrent'])),_0x1cc218;},_0x28842b['toObject']=function(_0x58c601,_0x62911a,_0x8b8f8f){if(_0x62911a||(_0x62911a={}),void 0x0===_0x8b8f8f&&(_0x8b8f8f=0x0),_0x8b8f8f>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x596729={};return _0x62911a['defaults']&&(_0x596729['revisionId']='',_0x596729['name']='',_0x596729['creatorId']='',_0x596729['authorsIds']='',_0x596729['diffData']='',_0x596729['createdAt']='',_0x596729['attributes']='',_0x596729['toVersion']=0x0,_0x596729['fromVersion']=0x0,_0x596729['isEmptyCurrent']=!0x1),null!=_0x58c601['revisionId']&&Object['hasOwnProperty']['call'](_0x58c601,'revisionId')&&(_0x596729['revisionId']=_0x58c601['revisionId']),null!=_0x58c601['name']&&Object['hasOwnProperty']['call'](_0x58c601,'name')&&(_0x596729['name']=_0x58c601['name']),null!=_0x58c601['creatorId']&&Object['hasOwnProperty']['call'](_0x58c601,'creatorId')&&(_0x596729['creatorId']=_0x58c601['creatorId']),null!=_0x58c601['authorsIds']&&Object['hasOwnProperty']['call'](_0x58c601,'authorsIds')&&(_0x596729['authorsIds']=_0x58c601['authorsIds']),null!=_0x58c601['diffData']&&Object['hasOwnProperty']['call'](_0x58c601,'diffData')&&(_0x596729['diffData']=_0x58c601['diffData']),null!=_0x58c601['createdAt']&&Object['hasOwnProperty']['call'](_0x58c601,'createdAt')&&(_0x596729['createdAt']=_0x58c601['createdAt']),null!=_0x58c601['attributes']&&Object['hasOwnProperty']['call'](_0x58c601,'attributes')&&(_0x596729['attributes']=_0x58c601['attributes']),null!=_0x58c601['toVersion']&&Object['hasOwnProperty']['call'](_0x58c601,'toVersion')&&(_0x596729['toVersion']=_0x58c601['toVersion']),null!=_0x58c601['fromVersion']&&Object['hasOwnProperty']['call'](_0x58c601,'fromVersion')&&(_0x596729['fromVersion']=_0x58c601['fromVersion']),null!=_0x58c601['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x58c601,'isEmptyCurrent')&&(_0x596729['isEmptyCurrent']=_0x58c601['isEmptyCurrent']),_0x596729;},_0x28842b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x28842b['getTypeUrl']=function(_0x3ff200){return void 0x0===_0x3ff200&&(_0x3ff200='type.googleapis.com'),_0x3ff200+'/RevisionDescriptor';},_0x28842b;}()),_0x4f54f6['IsEditorBundleUploadedResponse']=(function(){function _0x2c98f9(_0x12e5cd){if(_0x12e5cd){for(var _0x1d1e79=Object['keys'](_0x12e5cd),_0x4865df=0x0;_0x4865df<_0x1d1e79['length'];++_0x4865df)null!=_0x12e5cd[_0x1d1e79[_0x4865df]]&&'__proto__'!==_0x1d1e79[_0x4865df]&&(this[_0x1d1e79[_0x4865df]]=_0x12e5cd[_0x1d1e79[_0x4865df]]);}}return _0x2c98f9['prototype']['isUploaded']=!0x1,_0x2c98f9['create']=function(_0x2ae113){return new _0x2c98f9(_0x2ae113);},_0x2c98f9['encode']=function(_0x454e8,_0x2aa7bd,_0x2e0010){if(_0x2aa7bd||(_0x2aa7bd=_0x5c509e['create']()),void 0x0===_0x2e0010&&(_0x2e0010=0x0),_0x2e0010>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x454e8['isUploaded']&&Object['hasOwnProperty']['call'](_0x454e8,'isUploaded')&&_0x2aa7bd['uint32'](0x8)['bool'](_0x454e8['isUploaded']),_0x2aa7bd;},_0x2c98f9['encodeDelimited']=function(_0xe18226,_0x3fd999){return this['encode'](_0xe18226,_0x3fd999)['ldelim']();},_0x2c98f9['decode']=function(_0x2b2722,_0x261059,_0x23ea17,_0x508afe){if(_0x2b2722 instanceof _0x280c77||(_0x2b2722=_0x280c77['create'](_0x2b2722)),void 0x0===_0x508afe&&(_0x508afe=0x0),_0x508afe>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d04d2=void 0x0===_0x261059?_0x2b2722['len']:_0x2b2722['pos']+_0x261059,_0x2ee25e=new _0x4f54f6['IsEditorBundleUploadedResponse']();_0x2b2722['pos']<_0x2d04d2;){var _0x5a6c6a=_0x2b2722['uint32']();if(_0x5a6c6a===_0x23ea17)break;_0x5a6c6a>>>0x3==0x1?_0x2ee25e['isUploaded']=_0x2b2722['bool']():_0x2b2722['skipType'](0x7&_0x5a6c6a,_0x508afe);}return _0x2ee25e;},_0x2c98f9['decodeDelimited']=function(_0x5b05ba){return _0x5b05ba instanceof _0x280c77||(_0x5b05ba=new _0x280c77(_0x5b05ba)),this['decode'](_0x5b05ba,_0x5b05ba['uint32']());},_0x2c98f9['verify']=function(_0x1fe592,_0x1eaaa9){return'object'!=typeof _0x1fe592||null===_0x1fe592?'object\x20expected':(void 0x0===_0x1eaaa9&&(_0x1eaaa9=0x0),_0x1eaaa9>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1fe592['isUploaded']&&Object['hasOwnProperty']['call'](_0x1fe592,'isUploaded')&&'boolean'!=typeof _0x1fe592['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},_0x2c98f9['fromObject']=function(_0x887253,_0x5b4a79){if(_0x887253 instanceof _0x4f54f6['IsEditorBundleUploadedResponse'])return _0x887253;if(!_0x1ca790['isObject'](_0x887253))throw TypeError('.IsEditorBundleUploadedResponse:\x20object\x20expected');if(void 0x0===_0x5b4a79&&(_0x5b4a79=0x0),_0x5b4a79>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1f83ec=new _0x4f54f6['IsEditorBundleUploadedResponse']();return null!=_0x887253['isUploaded']&&(_0x1f83ec['isUploaded']=Boolean(_0x887253['isUploaded'])),_0x1f83ec;},_0x2c98f9['toObject']=function(_0x2b7fa2,_0x4d7150,_0x4f342b){if(_0x4d7150||(_0x4d7150={}),void 0x0===_0x4f342b&&(_0x4f342b=0x0),_0x4f342b>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x52ffb8={};return _0x4d7150['defaults']&&(_0x52ffb8['isUploaded']=!0x1),null!=_0x2b7fa2['isUploaded']&&Object['hasOwnProperty']['call'](_0x2b7fa2,'isUploaded')&&(_0x52ffb8['isUploaded']=_0x2b7fa2['isUploaded']),_0x52ffb8;},_0x2c98f9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x2c98f9['getTypeUrl']=function(_0x3cff5f){return void 0x0===_0x3cff5f&&(_0x3cff5f='type.googleapis.com'),_0x3cff5f+'/IsEditorBundleUploadedResponse';},_0x2c98f9;}()),_0x4f54f6['IsEditorBundleUploadedMessage']=(function(){function _0xb70550(_0x5b1178){if(_0x5b1178){for(var _0x56fd55=Object['keys'](_0x5b1178),_0x4a5511=0x0;_0x4a5511<_0x56fd55['length'];++_0x4a5511)null!=_0x5b1178[_0x56fd55[_0x4a5511]]&&'__proto__'!==_0x56fd55[_0x4a5511]&&(this[_0x56fd55[_0x4a5511]]=_0x5b1178[_0x56fd55[_0x4a5511]]);}}return _0xb70550['prototype']['bundleVersion']='',_0xb70550['create']=function(_0x475931){return new _0xb70550(_0x475931);},_0xb70550['encode']=function(_0x50949f,_0xa63084,_0x142099){if(_0xa63084||(_0xa63084=_0x5c509e['create']()),void 0x0===_0x142099&&(_0x142099=0x0),_0x142099>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x50949f['bundleVersion']&&Object['hasOwnProperty']['call'](_0x50949f,'bundleVersion')&&_0xa63084['uint32'](0xa)['string'](_0x50949f['bundleVersion']),_0xa63084;},_0xb70550['encodeDelimited']=function(_0x4a89e2,_0x3c3d58){return this['encode'](_0x4a89e2,_0x3c3d58)['ldelim']();},_0xb70550['decode']=function(_0x4ff355,_0x1f5764,_0x433292,_0x125618){if(_0x4ff355 instanceof _0x280c77||(_0x4ff355=_0x280c77['create'](_0x4ff355)),void 0x0===_0x125618&&(_0x125618=0x0),_0x125618>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41ee8e=void 0x0===_0x1f5764?_0x4ff355['len']:_0x4ff355['pos']+_0x1f5764,_0xa6fdbc=new _0x4f54f6['IsEditorBundleUploadedMessage']();_0x4ff355['pos']<_0x41ee8e;){var _0xa5ceff=_0x4ff355['uint32']();if(_0xa5ceff===_0x433292)break;_0xa5ceff>>>0x3==0x1?_0xa6fdbc['bundleVersion']=_0x4ff355['string']():_0x4ff355['skipType'](0x7&_0xa5ceff,_0x125618);}return _0xa6fdbc;},_0xb70550['decodeDelimited']=function(_0x1aefb2){return _0x1aefb2 instanceof _0x280c77||(_0x1aefb2=new _0x280c77(_0x1aefb2)),this['decode'](_0x1aefb2,_0x1aefb2['uint32']());},_0xb70550['verify']=function(_0x4c3537,_0x2a29d5){return'object'!=typeof _0x4c3537||null===_0x4c3537?'object\x20expected':(void 0x0===_0x2a29d5&&(_0x2a29d5=0x0),_0x2a29d5>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4c3537['bundleVersion']&&Object['hasOwnProperty']['call'](_0x4c3537,'bundleVersion')&&!_0x1ca790['isString'](_0x4c3537['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},_0xb70550['fromObject']=function(_0x3cdde7,_0x242768){if(_0x3cdde7 instanceof _0x4f54f6['IsEditorBundleUploadedMessage'])return _0x3cdde7;if(!_0x1ca790['isObject'](_0x3cdde7))throw TypeError('.IsEditorBundleUploadedMessage:\x20object\x20expected');if(void 0x0===_0x242768&&(_0x242768=0x0),_0x242768>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x435b4e=new _0x4f54f6['IsEditorBundleUploadedMessage']();return null!=_0x3cdde7['bundleVersion']&&(_0x435b4e['bundleVersion']=String(_0x3cdde7['bundleVersion'])),_0x435b4e;},_0xb70550['toObject']=function(_0x510d1a,_0x2c2ba4,_0x16fe4e){if(_0x2c2ba4||(_0x2c2ba4={}),void 0x0===_0x16fe4e&&(_0x16fe4e=0x0),_0x16fe4e>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x58ce09={};return _0x2c2ba4['defaults']&&(_0x58ce09['bundleVersion']=''),null!=_0x510d1a['bundleVersion']&&Object['hasOwnProperty']['call'](_0x510d1a,'bundleVersion')&&(_0x58ce09['bundleVersion']=_0x510d1a['bundleVersion']),_0x58ce09;},_0xb70550['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0xb70550['getTypeUrl']=function(_0x273c45){return void 0x0===_0x273c45&&(_0x273c45='type.googleapis.com'),_0x273c45+'/IsEditorBundleUploadedMessage';},_0xb70550;}()),_0x4f54f6['KeyValueDescriptor']=(function(){function _0x15fed0(_0x46a5ce){if(_0x46a5ce){for(var _0xc4bbc7=Object['keys'](_0x46a5ce),_0x3b690e=0x0;_0x3b690e<_0xc4bbc7['length'];++_0x3b690e)null!=_0x46a5ce[_0xc4bbc7[_0x3b690e]]&&'__proto__'!==_0xc4bbc7[_0x3b690e]&&(this[_0xc4bbc7[_0x3b690e]]=_0x46a5ce[_0xc4bbc7[_0x3b690e]]);}}return _0x15fed0['prototype']['key']='',_0x15fed0['prototype']['value']='',_0x15fed0['create']=function(_0x4fee9f){return new _0x15fed0(_0x4fee9f);},_0x15fed0['encode']=function(_0x16d75a,_0x28d7b8,_0x1240a5){if(_0x28d7b8||(_0x28d7b8=_0x5c509e['create']()),void 0x0===_0x1240a5&&(_0x1240a5=0x0),_0x1240a5>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x16d75a['key']&&Object['hasOwnProperty']['call'](_0x16d75a,'key')&&_0x28d7b8['uint32'](0xa)['string'](_0x16d75a['key']),null!=_0x16d75a['value']&&Object['hasOwnProperty']['call'](_0x16d75a,'value')&&_0x28d7b8['uint32'](0x12)['string'](_0x16d75a['value']),_0x28d7b8;},_0x15fed0['encodeDelimited']=function(_0x30947b,_0x4b1f6b){return this['encode'](_0x30947b,_0x4b1f6b)['ldelim']();},_0x15fed0['decode']=function(_0xacf3ed,_0x5f35cf,_0x27e708,_0x36e4eb){if(_0xacf3ed instanceof _0x280c77||(_0xacf3ed=_0x280c77['create'](_0xacf3ed)),void 0x0===_0x36e4eb&&(_0x36e4eb=0x0),_0x36e4eb>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4735c4=void 0x0===_0x5f35cf?_0xacf3ed['len']:_0xacf3ed['pos']+_0x5f35cf,_0x311337=new _0x4f54f6['KeyValueDescriptor']();_0xacf3ed['pos']<_0x4735c4;){var _0x1b8c46=_0xacf3ed['uint32']();if(_0x1b8c46===_0x27e708)break;switch(_0x1b8c46>>>0x3){case 0x1:_0x311337['key']=_0xacf3ed['string']();break;case 0x2:_0x311337['value']=_0xacf3ed['string']();break;default:_0xacf3ed['skipType'](0x7&_0x1b8c46,_0x36e4eb);}}return _0x311337;},_0x15fed0['decodeDelimited']=function(_0x22f64c){return _0x22f64c instanceof _0x280c77||(_0x22f64c=new _0x280c77(_0x22f64c)),this['decode'](_0x22f64c,_0x22f64c['uint32']());},_0x15fed0['verify']=function(_0x5ab1a5,_0x16ca89){return'object'!=typeof _0x5ab1a5||null===_0x5ab1a5?'object\x20expected':(void 0x0===_0x16ca89&&(_0x16ca89=0x0),_0x16ca89>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5ab1a5['key']&&Object['hasOwnProperty']['call'](_0x5ab1a5,'key')&&!_0x1ca790['isString'](_0x5ab1a5['key'])?'key:\x20string\x20expected':null!=_0x5ab1a5['value']&&Object['hasOwnProperty']['call'](_0x5ab1a5,'value')&&!_0x1ca790['isString'](_0x5ab1a5['value'])?'value:\x20string\x20expected':null);},_0x15fed0['fromObject']=function(_0x56fd42,_0x799d56){if(_0x56fd42 instanceof _0x4f54f6['KeyValueDescriptor'])return _0x56fd42;if(!_0x1ca790['isObject'](_0x56fd42))throw TypeError('.KeyValueDescriptor:\x20object\x20expected');if(void 0x0===_0x799d56&&(_0x799d56=0x0),_0x799d56>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ea70f=new _0x4f54f6['KeyValueDescriptor']();return null!=_0x56fd42['key']&&(_0x4ea70f['key']=String(_0x56fd42['key'])),null!=_0x56fd42['value']&&(_0x4ea70f['value']=String(_0x56fd42['value'])),_0x4ea70f;},_0x15fed0['toObject']=function(_0x31058a,_0x5797bf,_0x3ca942){if(_0x5797bf||(_0x5797bf={}),void 0x0===_0x3ca942&&(_0x3ca942=0x0),_0x3ca942>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x41cd96={};return _0x5797bf['defaults']&&(_0x41cd96['key']='',_0x41cd96['value']=''),null!=_0x31058a['key']&&Object['hasOwnProperty']['call'](_0x31058a,'key')&&(_0x41cd96['key']=_0x31058a['key']),null!=_0x31058a['value']&&Object['hasOwnProperty']['call'](_0x31058a,'value')&&(_0x41cd96['value']=_0x31058a['value']),_0x41cd96;},_0x15fed0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x15fed0['getTypeUrl']=function(_0x4b2e8e){return void 0x0===_0x4b2e8e&&(_0x4b2e8e='type.googleapis.com'),_0x4b2e8e+'/KeyValueDescriptor';},_0x15fed0;}()),_0x4f54f6['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x34bc6d(_0x17b4c0){if(this['threads']=[],this['threadsV2']=[],_0x17b4c0){for(var _0x2acdae=Object['keys'](_0x17b4c0),_0x317450=0x0;_0x317450<_0x2acdae['length'];++_0x317450)null!=_0x17b4c0[_0x2acdae[_0x317450]]&&'__proto__'!==_0x2acdae[_0x317450]&&(this[_0x2acdae[_0x317450]]=_0x17b4c0[_0x2acdae[_0x317450]]);}}return _0x34bc6d['prototype']['threads']=_0x1ca790['emptyArray'],_0x34bc6d['prototype']['threadsV2']=_0x1ca790['emptyArray'],_0x34bc6d['create']=function(_0x2ff63e){return new _0x34bc6d(_0x2ff63e);},_0x34bc6d['encode']=function(_0x16f60f,_0x2f028e,_0x1e4f14){if(_0x2f028e||(_0x2f028e=_0x5c509e['create']()),void 0x0===_0x1e4f14&&(_0x1e4f14=0x0),_0x1e4f14>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x16f60f['threads']&&_0x16f60f['threads']['length']){for(var _0x53c4e2=0x0;_0x53c4e2<_0x16f60f['threads']['length'];++_0x53c4e2)_0x2f028e['uint32'](0xa)['string'](_0x16f60f['threads'][_0x53c4e2]);}if(null!=_0x16f60f['threadsV2']&&_0x16f60f['threadsV2']['length']){for(_0x53c4e2=0x0;_0x53c4e2<_0x16f60f['threadsV2']['length'];++_0x53c4e2)_0x4f54f6['CommentsThreadDescriptor']['encode'](_0x16f60f['threadsV2'][_0x53c4e2],_0x2f028e['uint32'](0x12)['fork'](),_0x1e4f14+0x1)['ldelim']();}return _0x2f028e;},_0x34bc6d['encodeDelimited']=function(_0x4978ef,_0x4165a6){return this['encode'](_0x4978ef,_0x4165a6)['ldelim']();},_0x34bc6d['decode']=function(_0x57626e,_0x53b265,_0x4c5636,_0x2572bd){if(_0x57626e instanceof _0x280c77||(_0x57626e=_0x280c77['create'](_0x57626e)),void 0x0===_0x2572bd&&(_0x2572bd=0x0),_0x2572bd>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c8a4c=void 0x0===_0x53b265?_0x57626e['len']:_0x57626e['pos']+_0x53b265,_0x452840=new _0x4f54f6['CommentsV2GetDocumentThreadsResponse']();_0x57626e['pos']<_0x1c8a4c;){var _0x2ed829=_0x57626e['uint32']();if(_0x2ed829===_0x4c5636)break;switch(_0x2ed829>>>0x3){case 0x1:_0x452840['threads']&&_0x452840['threads']['length']||(_0x452840['threads']=[]),_0x452840['threads']['push'](_0x57626e['string']());break;case 0x2:_0x452840['threadsV2']&&_0x452840['threadsV2']['length']||(_0x452840['threadsV2']=[]),_0x452840['threadsV2']['push'](_0x4f54f6['CommentsThreadDescriptor']['decode'](_0x57626e,_0x57626e['uint32'](),void 0x0,_0x2572bd+0x1));break;default:_0x57626e['skipType'](0x7&_0x2ed829,_0x2572bd);}}return _0x452840;},_0x34bc6d['decodeDelimited']=function(_0x231596){return _0x231596 instanceof _0x280c77||(_0x231596=new _0x280c77(_0x231596)),this['decode'](_0x231596,_0x231596['uint32']());},_0x34bc6d['verify']=function(_0x347496,_0x3b495f){if('object'!=typeof _0x347496||null===_0x347496)return'object\x20expected';if(void 0x0===_0x3b495f&&(_0x3b495f=0x0),_0x3b495f>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x347496['threads']&&Object['hasOwnProperty']['call'](_0x347496,'threads')){if(!Array['isArray'](_0x347496['threads']))return'threads:\x20array\x20expected';for(var _0x6f5657=0x0;_0x6f5657<_0x347496['threads']['length'];++_0x6f5657)if(!_0x1ca790['isString'](_0x347496['threads'][_0x6f5657]))return'threads:\x20string[]\x20expected';}if(null!=_0x347496['threadsV2']&&Object['hasOwnProperty']['call'](_0x347496,'threadsV2')){if(!Array['isArray'](_0x347496['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x6f5657=0x0;_0x6f5657<_0x347496['threadsV2']['length'];++_0x6f5657){var _0x5c4cc0=_0x4f54f6['CommentsThreadDescriptor']['verify'](_0x347496['threadsV2'][_0x6f5657],_0x3b495f+0x1);if(_0x5c4cc0)return'threadsV2.'+_0x5c4cc0;}}return null;},_0x34bc6d['fromObject']=function(_0x3340d1,_0xe7eb8a){if(_0x3340d1 instanceof _0x4f54f6['CommentsV2GetDocumentThreadsResponse'])return _0x3340d1;if(!_0x1ca790['isObject'](_0x3340d1))throw TypeError('.CommentsV2GetDocumentThreadsResponse:\x20object\x20expected');if(void 0x0===_0xe7eb8a&&(_0xe7eb8a=0x0),_0xe7eb8a>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x228d52=new _0x4f54f6['CommentsV2GetDocumentThreadsResponse']();if(_0x3340d1['threads']){if(!Array['isArray'](_0x3340d1['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x228d52['threads']=[];for(var _0x175d8b=0x0;_0x175d8b<_0x3340d1['threads']['length'];++_0x175d8b)_0x228d52['threads'][_0x175d8b]=String(_0x3340d1['threads'][_0x175d8b]);}if(_0x3340d1['threadsV2']){if(!Array['isArray'](_0x3340d1['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x228d52['threadsV2']=[],_0x175d8b=0x0;_0x175d8b<_0x3340d1['threadsV2']['length'];++_0x175d8b){if(!_0x1ca790['isObject'](_0x3340d1['threadsV2'][_0x175d8b]))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x228d52['threadsV2'][_0x175d8b]=_0x4f54f6['CommentsThreadDescriptor']['fromObject'](_0x3340d1['threadsV2'][_0x175d8b],_0xe7eb8a+0x1);}}return _0x228d52;},_0x34bc6d['toObject']=function(_0x247b6e,_0x33a64d,_0x58c724){if(_0x33a64d||(_0x33a64d={}),void 0x0===_0x58c724&&(_0x58c724=0x0),_0x58c724>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xfc87e9={};if((_0x33a64d['arrays']||_0x33a64d['defaults'])&&(_0xfc87e9['threads']=[],_0xfc87e9['threadsV2']=[]),_0x247b6e['threads']&&_0x247b6e['threads']['length']){_0xfc87e9['threads']=[];for(var _0x50993e=0x0;_0x50993e<_0x247b6e['threads']['length'];++_0x50993e)_0xfc87e9['threads'][_0x50993e]=_0x247b6e['threads'][_0x50993e];}if(_0x247b6e['threadsV2']&&_0x247b6e['threadsV2']['length']){for(_0xfc87e9['threadsV2']=[],_0x50993e=0x0;_0x50993e<_0x247b6e['threadsV2']['length'];++_0x50993e)_0xfc87e9['threadsV2'][_0x50993e]=_0x4f54f6['CommentsThreadDescriptor']['toObject'](_0x247b6e['threadsV2'][_0x50993e],_0x33a64d,_0x58c724+0x1);}return _0xfc87e9;},_0x34bc6d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x34bc6d['getTypeUrl']=function(_0x2ece39){return void 0x0===_0x2ece39&&(_0x2ece39='type.googleapis.com'),_0x2ece39+'/CommentsV2GetDocumentThreadsResponse';},_0x34bc6d;}()),_0x4f54f6['CommentsV2GetCommentThreadResponse']=(function(){function _0x40bca3(_0x3414be){if(this['comments']=[],this['commentsV2']=[],_0x3414be){for(var _0xdff983=Object['keys'](_0x3414be),_0x4d510c=0x0;_0x4d510c<_0xdff983['length'];++_0x4d510c)null!=_0x3414be[_0xdff983[_0x4d510c]]&&'__proto__'!==_0xdff983[_0x4d510c]&&(this[_0xdff983[_0x4d510c]]=_0x3414be[_0xdff983[_0x4d510c]]);}}return _0x40bca3['prototype']['commentThreadId']='',_0x40bca3['prototype']['comments']=_0x1ca790['emptyArray'],_0x40bca3['prototype']['commentsV2']=_0x1ca790['emptyArray'],_0x40bca3['prototype']['resolvedAt']='',_0x40bca3['prototype']['resolvedBy']='',_0x40bca3['prototype']['context']='',_0x40bca3['prototype']['createdAt']='',_0x40bca3['prototype']['deletedAt']='',_0x40bca3['prototype']['attributes']='',_0x40bca3['prototype']['unlinkedAt']='',_0x40bca3['create']=function(_0x33175a){return new _0x40bca3(_0x33175a);},_0x40bca3['encode']=function(_0xa48345,_0x2d62b9,_0x5173dd){if(_0x2d62b9||(_0x2d62b9=_0x5c509e['create']()),void 0x0===_0x5173dd&&(_0x5173dd=0x0),_0x5173dd>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xa48345['commentThreadId']&&Object['hasOwnProperty']['call'](_0xa48345,'commentThreadId')&&_0x2d62b9['uint32'](0xa)['string'](_0xa48345['commentThreadId']),null!=_0xa48345['comments']&&_0xa48345['comments']['length']){for(var _0x5a911d=0x0;_0x5a911d<_0xa48345['comments']['length'];++_0x5a911d)_0x2d62b9['uint32'](0x12)['string'](_0xa48345['comments'][_0x5a911d]);}if(null!=_0xa48345['commentsV2']&&_0xa48345['commentsV2']['length']){for(_0x5a911d=0x0;_0x5a911d<_0xa48345['commentsV2']['length'];++_0x5a911d)_0x4f54f6['CommentDescriptor']['encode'](_0xa48345['commentsV2'][_0x5a911d],_0x2d62b9['uint32'](0x1a)['fork'](),_0x5173dd+0x1)['ldelim']();}return null!=_0xa48345['resolvedAt']&&Object['hasOwnProperty']['call'](_0xa48345,'resolvedAt')&&_0x2d62b9['uint32'](0x22)['string'](_0xa48345['resolvedAt']),null!=_0xa48345['resolvedBy']&&Object['hasOwnProperty']['call'](_0xa48345,'resolvedBy')&&_0x2d62b9['uint32'](0x2a)['string'](_0xa48345['resolvedBy']),null!=_0xa48345['context']&&Object['hasOwnProperty']['call'](_0xa48345,'context')&&_0x2d62b9['uint32'](0x32)['string'](_0xa48345['context']),null!=_0xa48345['createdAt']&&Object['hasOwnProperty']['call'](_0xa48345,'createdAt')&&_0x2d62b9['uint32'](0x3a)['string'](_0xa48345['createdAt']),null!=_0xa48345['deletedAt']&&Object['hasOwnProperty']['call'](_0xa48345,'deletedAt')&&_0x2d62b9['uint32'](0x42)['string'](_0xa48345['deletedAt']),null!=_0xa48345['attributes']&&Object['hasOwnProperty']['call'](_0xa48345,'attributes')&&_0x2d62b9['uint32'](0x4a)['string'](_0xa48345['attributes']),null!=_0xa48345['unlinkedAt']&&Object['hasOwnProperty']['call'](_0xa48345,'unlinkedAt')&&_0x2d62b9['uint32'](0x52)['string'](_0xa48345['unlinkedAt']),_0x2d62b9;},_0x40bca3['encodeDelimited']=function(_0x571de9,_0x2b4acf){return this['encode'](_0x571de9,_0x2b4acf)['ldelim']();},_0x40bca3['decode']=function(_0x427826,_0x286290,_0x9eb537,_0xf2628c){if(_0x427826 instanceof _0x280c77||(_0x427826=_0x280c77['create'](_0x427826)),void 0x0===_0xf2628c&&(_0xf2628c=0x0),_0xf2628c>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x324049=void 0x0===_0x286290?_0x427826['len']:_0x427826['pos']+_0x286290,_0x4d1e19=new _0x4f54f6['CommentsV2GetCommentThreadResponse']();_0x427826['pos']<_0x324049;){var _0x4f7e7a=_0x427826['uint32']();if(_0x4f7e7a===_0x9eb537)break;switch(_0x4f7e7a>>>0x3){case 0x1:_0x4d1e19['commentThreadId']=_0x427826['string']();break;case 0x2:_0x4d1e19['comments']&&_0x4d1e19['comments']['length']||(_0x4d1e19['comments']=[]),_0x4d1e19['comments']['push'](_0x427826['string']());break;case 0x3:_0x4d1e19['commentsV2']&&_0x4d1e19['commentsV2']['length']||(_0x4d1e19['commentsV2']=[]),_0x4d1e19['commentsV2']['push'](_0x4f54f6['CommentDescriptor']['decode'](_0x427826,_0x427826['uint32'](),void 0x0,_0xf2628c+0x1));break;case 0x4:_0x4d1e19['resolvedAt']=_0x427826['string']();break;case 0x5:_0x4d1e19['resolvedBy']=_0x427826['string']();break;case 0x6:_0x4d1e19['context']=_0x427826['string']();break;case 0x7:_0x4d1e19['createdAt']=_0x427826['string']();break;case 0x8:_0x4d1e19['deletedAt']=_0x427826['string']();break;case 0x9:_0x4d1e19['attributes']=_0x427826['string']();break;case 0xa:_0x4d1e19['unlinkedAt']=_0x427826['string']();break;default:_0x427826['skipType'](0x7&_0x4f7e7a,_0xf2628c);}}return _0x4d1e19;},_0x40bca3['decodeDelimited']=function(_0x372841){return _0x372841 instanceof _0x280c77||(_0x372841=new _0x280c77(_0x372841)),this['decode'](_0x372841,_0x372841['uint32']());},_0x40bca3['verify']=function(_0x51ef7b,_0x320c23){if('object'!=typeof _0x51ef7b||null===_0x51ef7b)return'object\x20expected';if(void 0x0===_0x320c23&&(_0x320c23=0x0),_0x320c23>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x51ef7b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x51ef7b,'commentThreadId')&&!_0x1ca790['isString'](_0x51ef7b['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x51ef7b['comments']&&Object['hasOwnProperty']['call'](_0x51ef7b,'comments')){if(!Array['isArray'](_0x51ef7b['comments']))return'comments:\x20array\x20expected';for(var _0x467fa5=0x0;_0x467fa5<_0x51ef7b['comments']['length'];++_0x467fa5)if(!_0x1ca790['isString'](_0x51ef7b['comments'][_0x467fa5]))return'comments:\x20string[]\x20expected';}if(null!=_0x51ef7b['commentsV2']&&Object['hasOwnProperty']['call'](_0x51ef7b,'commentsV2')){if(!Array['isArray'](_0x51ef7b['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x467fa5=0x0;_0x467fa5<_0x51ef7b['commentsV2']['length'];++_0x467fa5){var _0x5e9a62=_0x4f54f6['CommentDescriptor']['verify'](_0x51ef7b['commentsV2'][_0x467fa5],_0x320c23+0x1);if(_0x5e9a62)return'commentsV2.'+_0x5e9a62;}}return null!=_0x51ef7b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x51ef7b,'resolvedAt')&&!_0x1ca790['isString'](_0x51ef7b['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x51ef7b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x51ef7b,'resolvedBy')&&!_0x1ca790['isString'](_0x51ef7b['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x51ef7b['context']&&Object['hasOwnProperty']['call'](_0x51ef7b,'context')&&!_0x1ca790['isString'](_0x51ef7b['context'])?'context:\x20string\x20expected':null!=_0x51ef7b['createdAt']&&Object['hasOwnProperty']['call'](_0x51ef7b,'createdAt')&&!_0x1ca790['isString'](_0x51ef7b['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x51ef7b['deletedAt']&&Object['hasOwnProperty']['call'](_0x51ef7b,'deletedAt')&&!_0x1ca790['isString'](_0x51ef7b['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x51ef7b['attributes']&&Object['hasOwnProperty']['call'](_0x51ef7b,'attributes')&&!_0x1ca790['isString'](_0x51ef7b['attributes'])?'attributes:\x20string\x20expected':null!=_0x51ef7b['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x51ef7b,'unlinkedAt')&&!_0x1ca790['isString'](_0x51ef7b['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x40bca3['fromObject']=function(_0x5321a8,_0x5d2db0){if(_0x5321a8 instanceof _0x4f54f6['CommentsV2GetCommentThreadResponse'])return _0x5321a8;if(!_0x1ca790['isObject'](_0x5321a8))throw TypeError('.CommentsV2GetCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x5d2db0&&(_0x5d2db0=0x0),_0x5d2db0>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x435be8=new _0x4f54f6['CommentsV2GetCommentThreadResponse']();if(null!=_0x5321a8['commentThreadId']&&(_0x435be8['commentThreadId']=String(_0x5321a8['commentThreadId'])),_0x5321a8['comments']){if(!Array['isArray'](_0x5321a8['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x435be8['comments']=[];for(var _0x5f1c96=0x0;_0x5f1c96<_0x5321a8['comments']['length'];++_0x5f1c96)_0x435be8['comments'][_0x5f1c96]=String(_0x5321a8['comments'][_0x5f1c96]);}if(_0x5321a8['commentsV2']){if(!Array['isArray'](_0x5321a8['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x435be8['commentsV2']=[],_0x5f1c96=0x0;_0x5f1c96<_0x5321a8['commentsV2']['length'];++_0x5f1c96){if(!_0x1ca790['isObject'](_0x5321a8['commentsV2'][_0x5f1c96]))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x435be8['commentsV2'][_0x5f1c96]=_0x4f54f6['CommentDescriptor']['fromObject'](_0x5321a8['commentsV2'][_0x5f1c96],_0x5d2db0+0x1);}}return null!=_0x5321a8['resolvedAt']&&(_0x435be8['resolvedAt']=String(_0x5321a8['resolvedAt'])),null!=_0x5321a8['resolvedBy']&&(_0x435be8['resolvedBy']=String(_0x5321a8['resolvedBy'])),null!=_0x5321a8['context']&&(_0x435be8['context']=String(_0x5321a8['context'])),null!=_0x5321a8['createdAt']&&(_0x435be8['createdAt']=String(_0x5321a8['createdAt'])),null!=_0x5321a8['deletedAt']&&(_0x435be8['deletedAt']=String(_0x5321a8['deletedAt'])),null!=_0x5321a8['attributes']&&(_0x435be8['attributes']=String(_0x5321a8['attributes'])),null!=_0x5321a8['unlinkedAt']&&(_0x435be8['unlinkedAt']=String(_0x5321a8['unlinkedAt'])),_0x435be8;},_0x40bca3['toObject']=function(_0x565d20,_0x15f8bb,_0x195c00){if(_0x15f8bb||(_0x15f8bb={}),void 0x0===_0x195c00&&(_0x195c00=0x0),_0x195c00>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2b9550={};if((_0x15f8bb['arrays']||_0x15f8bb['defaults'])&&(_0x2b9550['comments']=[],_0x2b9550['commentsV2']=[]),_0x15f8bb['defaults']&&(_0x2b9550['commentThreadId']='',_0x2b9550['resolvedAt']='',_0x2b9550['resolvedBy']='',_0x2b9550['context']='',_0x2b9550['createdAt']='',_0x2b9550['deletedAt']='',_0x2b9550['attributes']='',_0x2b9550['unlinkedAt']=''),null!=_0x565d20['commentThreadId']&&Object['hasOwnProperty']['call'](_0x565d20,'commentThreadId')&&(_0x2b9550['commentThreadId']=_0x565d20['commentThreadId']),_0x565d20['comments']&&_0x565d20['comments']['length']){_0x2b9550['comments']=[];for(var _0x3e8f34=0x0;_0x3e8f34<_0x565d20['comments']['length'];++_0x3e8f34)_0x2b9550['comments'][_0x3e8f34]=_0x565d20['comments'][_0x3e8f34];}if(_0x565d20['commentsV2']&&_0x565d20['commentsV2']['length']){for(_0x2b9550['commentsV2']=[],_0x3e8f34=0x0;_0x3e8f34<_0x565d20['commentsV2']['length'];++_0x3e8f34)_0x2b9550['commentsV2'][_0x3e8f34]=_0x4f54f6['CommentDescriptor']['toObject'](_0x565d20['commentsV2'][_0x3e8f34],_0x15f8bb,_0x195c00+0x1);}return null!=_0x565d20['resolvedAt']&&Object['hasOwnProperty']['call'](_0x565d20,'resolvedAt')&&(_0x2b9550['resolvedAt']=_0x565d20['resolvedAt']),null!=_0x565d20['resolvedBy']&&Object['hasOwnProperty']['call'](_0x565d20,'resolvedBy')&&(_0x2b9550['resolvedBy']=_0x565d20['resolvedBy']),null!=_0x565d20['context']&&Object['hasOwnProperty']['call'](_0x565d20,'context')&&(_0x2b9550['context']=_0x565d20['context']),null!=_0x565d20['createdAt']&&Object['hasOwnProperty']['call'](_0x565d20,'createdAt')&&(_0x2b9550['createdAt']=_0x565d20['createdAt']),null!=_0x565d20['deletedAt']&&Object['hasOwnProperty']['call'](_0x565d20,'deletedAt')&&(_0x2b9550['deletedAt']=_0x565d20['deletedAt']),null!=_0x565d20['attributes']&&Object['hasOwnProperty']['call'](_0x565d20,'attributes')&&(_0x2b9550['attributes']=_0x565d20['attributes']),null!=_0x565d20['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x565d20,'unlinkedAt')&&(_0x2b9550['unlinkedAt']=_0x565d20['unlinkedAt']),_0x2b9550;},_0x40bca3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x40bca3['getTypeUrl']=function(_0x1a81d0){return void 0x0===_0x1a81d0&&(_0x1a81d0='type.googleapis.com'),_0x1a81d0+'/CommentsV2GetCommentThreadResponse';},_0x40bca3;}()),_0x4f54f6['CommentsV2ConnectResponse']=(function(){function _0x1ea393(_0x128153){if(this['threads']=[],this['threadsV2']=[],_0x128153){for(var _0x3397e2=Object['keys'](_0x128153),_0xe87112=0x0;_0xe87112<_0x3397e2['length'];++_0xe87112)null!=_0x128153[_0x3397e2[_0xe87112]]&&'__proto__'!==_0x3397e2[_0xe87112]&&(this[_0x3397e2[_0xe87112]]=_0x128153[_0x3397e2[_0xe87112]]);}}return _0x1ea393['prototype']['channel']='',_0x1ea393['prototype']['threads']=_0x1ca790['emptyArray'],_0x1ea393['prototype']['threadsV2']=_0x1ca790['emptyArray'],_0x1ea393['create']=function(_0x3034b4){return new _0x1ea393(_0x3034b4);},_0x1ea393['encode']=function(_0x49475b,_0x537558,_0x583de4){if(_0x537558||(_0x537558=_0x5c509e['create']()),void 0x0===_0x583de4&&(_0x583de4=0x0),_0x583de4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x49475b['channel']&&Object['hasOwnProperty']['call'](_0x49475b,'channel')&&_0x537558['uint32'](0xa)['string'](_0x49475b['channel']),null!=_0x49475b['threads']&&_0x49475b['threads']['length']){for(var _0x136151=0x0;_0x136151<_0x49475b['threads']['length'];++_0x136151)_0x537558['uint32'](0x12)['string'](_0x49475b['threads'][_0x136151]);}if(null!=_0x49475b['threadsV2']&&_0x49475b['threadsV2']['length']){for(_0x136151=0x0;_0x136151<_0x49475b['threadsV2']['length'];++_0x136151)_0x4f54f6['CommentsThreadDescriptor']['encode'](_0x49475b['threadsV2'][_0x136151],_0x537558['uint32'](0x1a)['fork'](),_0x583de4+0x1)['ldelim']();}return _0x537558;},_0x1ea393['encodeDelimited']=function(_0x33b894,_0x1abce5){return this['encode'](_0x33b894,_0x1abce5)['ldelim']();},_0x1ea393['decode']=function(_0x1474f8,_0x4b5794,_0x2a9599,_0x148f49){if(_0x1474f8 instanceof _0x280c77||(_0x1474f8=_0x280c77['create'](_0x1474f8)),void 0x0===_0x148f49&&(_0x148f49=0x0),_0x148f49>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x9344f8=void 0x0===_0x4b5794?_0x1474f8['len']:_0x1474f8['pos']+_0x4b5794,_0x5e508a=new _0x4f54f6['CommentsV2ConnectResponse']();_0x1474f8['pos']<_0x9344f8;){var _0x436ac9=_0x1474f8['uint32']();if(_0x436ac9===_0x2a9599)break;switch(_0x436ac9>>>0x3){case 0x1:_0x5e508a['channel']=_0x1474f8['string']();break;case 0x2:_0x5e508a['threads']&&_0x5e508a['threads']['length']||(_0x5e508a['threads']=[]),_0x5e508a['threads']['push'](_0x1474f8['string']());break;case 0x3:_0x5e508a['threadsV2']&&_0x5e508a['threadsV2']['length']||(_0x5e508a['threadsV2']=[]),_0x5e508a['threadsV2']['push'](_0x4f54f6['CommentsThreadDescriptor']['decode'](_0x1474f8,_0x1474f8['uint32'](),void 0x0,_0x148f49+0x1));break;default:_0x1474f8['skipType'](0x7&_0x436ac9,_0x148f49);}}return _0x5e508a;},_0x1ea393['decodeDelimited']=function(_0x219381){return _0x219381 instanceof _0x280c77||(_0x219381=new _0x280c77(_0x219381)),this['decode'](_0x219381,_0x219381['uint32']());},_0x1ea393['verify']=function(_0x5d91c6,_0x54e8e4){if('object'!=typeof _0x5d91c6||null===_0x5d91c6)return'object\x20expected';if(void 0x0===_0x54e8e4&&(_0x54e8e4=0x0),_0x54e8e4>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5d91c6['channel']&&Object['hasOwnProperty']['call'](_0x5d91c6,'channel')&&!_0x1ca790['isString'](_0x5d91c6['channel']))return'channel:\x20string\x20expected';if(null!=_0x5d91c6['threads']&&Object['hasOwnProperty']['call'](_0x5d91c6,'threads')){if(!Array['isArray'](_0x5d91c6['threads']))return'threads:\x20array\x20expected';for(var _0x14d180=0x0;_0x14d180<_0x5d91c6['threads']['length'];++_0x14d180)if(!_0x1ca790['isString'](_0x5d91c6['threads'][_0x14d180]))return'threads:\x20string[]\x20expected';}if(null!=_0x5d91c6['threadsV2']&&Object['hasOwnProperty']['call'](_0x5d91c6,'threadsV2')){if(!Array['isArray'](_0x5d91c6['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x14d180=0x0;_0x14d180<_0x5d91c6['threadsV2']['length'];++_0x14d180){var _0x36bf2d=_0x4f54f6['CommentsThreadDescriptor']['verify'](_0x5d91c6['threadsV2'][_0x14d180],_0x54e8e4+0x1);if(_0x36bf2d)return'threadsV2.'+_0x36bf2d;}}return null;},_0x1ea393['fromObject']=function(_0x45eb30,_0x39f825){if(_0x45eb30 instanceof _0x4f54f6['CommentsV2ConnectResponse'])return _0x45eb30;if(!_0x1ca790['isObject'](_0x45eb30))throw TypeError('.CommentsV2ConnectResponse:\x20object\x20expected');if(void 0x0===_0x39f825&&(_0x39f825=0x0),_0x39f825>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39e2b4=new _0x4f54f6['CommentsV2ConnectResponse']();if(null!=_0x45eb30['channel']&&(_0x39e2b4['channel']=String(_0x45eb30['channel'])),_0x45eb30['threads']){if(!Array['isArray'](_0x45eb30['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x39e2b4['threads']=[];for(var _0x23eefa=0x0;_0x23eefa<_0x45eb30['threads']['length'];++_0x23eefa)_0x39e2b4['threads'][_0x23eefa]=String(_0x45eb30['threads'][_0x23eefa]);}if(_0x45eb30['threadsV2']){if(!Array['isArray'](_0x45eb30['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x39e2b4['threadsV2']=[],_0x23eefa=0x0;_0x23eefa<_0x45eb30['threadsV2']['length'];++_0x23eefa){if(!_0x1ca790['isObject'](_0x45eb30['threadsV2'][_0x23eefa]))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x39e2b4['threadsV2'][_0x23eefa]=_0x4f54f6['CommentsThreadDescriptor']['fromObject'](_0x45eb30['threadsV2'][_0x23eefa],_0x39f825+0x1);}}return _0x39e2b4;},_0x1ea393['toObject']=function(_0x54f5fd,_0x433653,_0x777a66){if(_0x433653||(_0x433653={}),void 0x0===_0x777a66&&(_0x777a66=0x0),_0x777a66>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3cafa3={};if((_0x433653['arrays']||_0x433653['defaults'])&&(_0x3cafa3['threads']=[],_0x3cafa3['threadsV2']=[]),_0x433653['defaults']&&(_0x3cafa3['channel']=''),null!=_0x54f5fd['channel']&&Object['hasOwnProperty']['call'](_0x54f5fd,'channel')&&(_0x3cafa3['channel']=_0x54f5fd['channel']),_0x54f5fd['threads']&&_0x54f5fd['threads']['length']){_0x3cafa3['threads']=[];for(var _0x3901c8=0x0;_0x3901c8<_0x54f5fd['threads']['length'];++_0x3901c8)_0x3cafa3['threads'][_0x3901c8]=_0x54f5fd['threads'][_0x3901c8];}if(_0x54f5fd['threadsV2']&&_0x54f5fd['threadsV2']['length']){for(_0x3cafa3['threadsV2']=[],_0x3901c8=0x0;_0x3901c8<_0x54f5fd['threadsV2']['length'];++_0x3901c8)_0x3cafa3['threadsV2'][_0x3901c8]=_0x4f54f6['CommentsThreadDescriptor']['toObject'](_0x54f5fd['threadsV2'][_0x3901c8],_0x433653,_0x777a66+0x1);}return _0x3cafa3;},_0x1ea393['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x1ea393['getTypeUrl']=function(_0xff2b12){return void 0x0===_0xff2b12&&(_0xff2b12='type.googleapis.com'),_0xff2b12+'/CommentsV2ConnectResponse';},_0x1ea393;}()),_0x4f54f6['CommentsV2AddCommentResponse']=(function(){function _0x497d89(_0x15531a){if(_0x15531a){for(var _0x59754a=Object['keys'](_0x15531a),_0x1a003e=0x0;_0x1a003e<_0x59754a['length'];++_0x1a003e)null!=_0x15531a[_0x59754a[_0x1a003e]]&&'__proto__'!==_0x59754a[_0x1a003e]&&(this[_0x59754a[_0x1a003e]]=_0x15531a[_0x59754a[_0x1a003e]]);}}return _0x497d89['prototype']['commentThreadId']='',_0x497d89['prototype']['commentId']='',_0x497d89['prototype']['createdAt']='',_0x497d89['create']=function(_0x531da5){return new _0x497d89(_0x531da5);},_0x497d89['encode']=function(_0x361574,_0x4e8f19,_0xf2cf4d){if(_0x4e8f19||(_0x4e8f19=_0x5c509e['create']()),void 0x0===_0xf2cf4d&&(_0xf2cf4d=0x0),_0xf2cf4d>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x361574['commentThreadId']&&Object['hasOwnProperty']['call'](_0x361574,'commentThreadId')&&_0x4e8f19['uint32'](0xa)['string'](_0x361574['commentThreadId']),null!=_0x361574['commentId']&&Object['hasOwnProperty']['call'](_0x361574,'commentId')&&_0x4e8f19['uint32'](0x12)['string'](_0x361574['commentId']),null!=_0x361574['createdAt']&&Object['hasOwnProperty']['call'](_0x361574,'createdAt')&&_0x4e8f19['uint32'](0x1a)['string'](_0x361574['createdAt']),_0x4e8f19;},_0x497d89['encodeDelimited']=function(_0x383087,_0x49adad){return this['encode'](_0x383087,_0x49adad)['ldelim']();},_0x497d89['decode']=function(_0xa91211,_0x1c2b11,_0x49deea,_0x180a1e){if(_0xa91211 instanceof _0x280c77||(_0xa91211=_0x280c77['create'](_0xa91211)),void 0x0===_0x180a1e&&(_0x180a1e=0x0),_0x180a1e>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27a3b9=void 0x0===_0x1c2b11?_0xa91211['len']:_0xa91211['pos']+_0x1c2b11,_0x240a04=new _0x4f54f6['CommentsV2AddCommentResponse']();_0xa91211['pos']<_0x27a3b9;){var _0x52b73b=_0xa91211['uint32']();if(_0x52b73b===_0x49deea)break;switch(_0x52b73b>>>0x3){case 0x1:_0x240a04['commentThreadId']=_0xa91211['string']();break;case 0x2:_0x240a04['commentId']=_0xa91211['string']();break;case 0x3:_0x240a04['createdAt']=_0xa91211['string']();break;default:_0xa91211['skipType'](0x7&_0x52b73b,_0x180a1e);}}return _0x240a04;},_0x497d89['decodeDelimited']=function(_0x4a92a9){return _0x4a92a9 instanceof _0x280c77||(_0x4a92a9=new _0x280c77(_0x4a92a9)),this['decode'](_0x4a92a9,_0x4a92a9['uint32']());},_0x497d89['verify']=function(_0x4e6693,_0x4a600b){return'object'!=typeof _0x4e6693||null===_0x4e6693?'object\x20expected':(void 0x0===_0x4a600b&&(_0x4a600b=0x0),_0x4a600b>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4e6693['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4e6693,'commentThreadId')&&!_0x1ca790['isString'](_0x4e6693['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4e6693['commentId']&&Object['hasOwnProperty']['call'](_0x4e6693,'commentId')&&!_0x1ca790['isString'](_0x4e6693['commentId'])?'commentId:\x20string\x20expected':null!=_0x4e6693['createdAt']&&Object['hasOwnProperty']['call'](_0x4e6693,'createdAt')&&!_0x1ca790['isString'](_0x4e6693['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x497d89['fromObject']=function(_0xebe7c7,_0x1690fc){if(_0xebe7c7 instanceof _0x4f54f6['CommentsV2AddCommentResponse'])return _0xebe7c7;if(!_0x1ca790['isObject'](_0xebe7c7))throw TypeError('.CommentsV2AddCommentResponse:\x20object\x20expected');if(void 0x0===_0x1690fc&&(_0x1690fc=0x0),_0x1690fc>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x139e71=new _0x4f54f6['CommentsV2AddCommentResponse']();return null!=_0xebe7c7['commentThreadId']&&(_0x139e71['commentThreadId']=String(_0xebe7c7['commentThreadId'])),null!=_0xebe7c7['commentId']&&(_0x139e71['commentId']=String(_0xebe7c7['commentId'])),null!=_0xebe7c7['createdAt']&&(_0x139e71['createdAt']=String(_0xebe7c7['createdAt'])),_0x139e71;},_0x497d89['toObject']=function(_0x288aaa,_0x59413a,_0x2d6e51){if(_0x59413a||(_0x59413a={}),void 0x0===_0x2d6e51&&(_0x2d6e51=0x0),_0x2d6e51>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x52cf53={};return _0x59413a['defaults']&&(_0x52cf53['commentThreadId']='',_0x52cf53['commentId']='',_0x52cf53['createdAt']=''),null!=_0x288aaa['commentThreadId']&&Object['hasOwnProperty']['call'](_0x288aaa,'commentThreadId')&&(_0x52cf53['commentThreadId']=_0x288aaa['commentThreadId']),null!=_0x288aaa['commentId']&&Object['hasOwnProperty']['call'](_0x288aaa,'commentId')&&(_0x52cf53['commentId']=_0x288aaa['commentId']),null!=_0x288aaa['createdAt']&&Object['hasOwnProperty']['call'](_0x288aaa,'createdAt')&&(_0x52cf53['createdAt']=_0x288aaa['createdAt']),_0x52cf53;},_0x497d89['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x497d89['getTypeUrl']=function(_0x1dbf2b){return void 0x0===_0x1dbf2b&&(_0x1dbf2b='type.googleapis.com'),_0x1dbf2b+'/CommentsV2AddCommentResponse';},_0x497d89;}()),_0x4f54f6['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x323249(_0x4d95ad){if(_0x4d95ad){for(var _0x5ba852=Object['keys'](_0x4d95ad),_0x2ae215=0x0;_0x2ae215<_0x5ba852['length'];++_0x2ae215)null!=_0x4d95ad[_0x5ba852[_0x2ae215]]&&'__proto__'!==_0x5ba852[_0x2ae215]&&(this[_0x5ba852[_0x2ae215]]=_0x4d95ad[_0x5ba852[_0x2ae215]]);}}return _0x323249['prototype']['commentThreadId']='',_0x323249['prototype']['documentId']='',_0x323249['prototype']['resolvedAt']='',_0x323249['prototype']['resolvedBy']='',_0x323249['create']=function(_0xc73b18){return new _0x323249(_0xc73b18);},_0x323249['encode']=function(_0x2fc150,_0x5d577e,_0x341a91){if(_0x5d577e||(_0x5d577e=_0x5c509e['create']()),void 0x0===_0x341a91&&(_0x341a91=0x0),_0x341a91>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2fc150['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2fc150,'commentThreadId')&&_0x5d577e['uint32'](0xa)['string'](_0x2fc150['commentThreadId']),null!=_0x2fc150['documentId']&&Object['hasOwnProperty']['call'](_0x2fc150,'documentId')&&_0x5d577e['uint32'](0x12)['string'](_0x2fc150['documentId']),null!=_0x2fc150['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2fc150,'resolvedAt')&&_0x5d577e['uint32'](0x1a)['string'](_0x2fc150['resolvedAt']),null!=_0x2fc150['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2fc150,'resolvedBy')&&_0x5d577e['uint32'](0x22)['string'](_0x2fc150['resolvedBy']),_0x5d577e;},_0x323249['encodeDelimited']=function(_0x2d7d14,_0x5253e8){return this['encode'](_0x2d7d14,_0x5253e8)['ldelim']();},_0x323249['decode']=function(_0x246519,_0x522535,_0x100001,_0x3db190){if(_0x246519 instanceof _0x280c77||(_0x246519=_0x280c77['create'](_0x246519)),void 0x0===_0x3db190&&(_0x3db190=0x0),_0x3db190>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5b98c4=void 0x0===_0x522535?_0x246519['len']:_0x246519['pos']+_0x522535,_0x43d83c=new _0x4f54f6['CommentsV2ResolveCommentThreadResponse']();_0x246519['pos']<_0x5b98c4;){var _0xf87b73=_0x246519['uint32']();if(_0xf87b73===_0x100001)break;switch(_0xf87b73>>>0x3){case 0x1:_0x43d83c['commentThreadId']=_0x246519['string']();break;case 0x2:_0x43d83c['documentId']=_0x246519['string']();break;case 0x3:_0x43d83c['resolvedAt']=_0x246519['string']();break;case 0x4:_0x43d83c['resolvedBy']=_0x246519['string']();break;default:_0x246519['skipType'](0x7&_0xf87b73,_0x3db190);}}return _0x43d83c;},_0x323249['decodeDelimited']=function(_0x4ab56e){return _0x4ab56e instanceof _0x280c77||(_0x4ab56e=new _0x280c77(_0x4ab56e)),this['decode'](_0x4ab56e,_0x4ab56e['uint32']());},_0x323249['verify']=function(_0x192b5b,_0x5934ab){return'object'!=typeof _0x192b5b||null===_0x192b5b?'object\x20expected':(void 0x0===_0x5934ab&&(_0x5934ab=0x0),_0x5934ab>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x192b5b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x192b5b,'commentThreadId')&&!_0x1ca790['isString'](_0x192b5b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x192b5b['documentId']&&Object['hasOwnProperty']['call'](_0x192b5b,'documentId')&&!_0x1ca790['isString'](_0x192b5b['documentId'])?'documentId:\x20string\x20expected':null!=_0x192b5b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x192b5b,'resolvedAt')&&!_0x1ca790['isString'](_0x192b5b['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x192b5b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x192b5b,'resolvedBy')&&!_0x1ca790['isString'](_0x192b5b['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},_0x323249['fromObject']=function(_0x53f34c,_0x5a793e){if(_0x53f34c instanceof _0x4f54f6['CommentsV2ResolveCommentThreadResponse'])return _0x53f34c;if(!_0x1ca790['isObject'](_0x53f34c))throw TypeError('.CommentsV2ResolveCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x5a793e&&(_0x5a793e=0x0),_0x5a793e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1d0540=new _0x4f54f6['CommentsV2ResolveCommentThreadResponse']();return null!=_0x53f34c['commentThreadId']&&(_0x1d0540['commentThreadId']=String(_0x53f34c['commentThreadId'])),null!=_0x53f34c['documentId']&&(_0x1d0540['documentId']=String(_0x53f34c['documentId'])),null!=_0x53f34c['resolvedAt']&&(_0x1d0540['resolvedAt']=String(_0x53f34c['resolvedAt'])),null!=_0x53f34c['resolvedBy']&&(_0x1d0540['resolvedBy']=String(_0x53f34c['resolvedBy'])),_0x1d0540;},_0x323249['toObject']=function(_0x47bc90,_0x2d779b,_0x3798a9){if(_0x2d779b||(_0x2d779b={}),void 0x0===_0x3798a9&&(_0x3798a9=0x0),_0x3798a9>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4043f2={};return _0x2d779b['defaults']&&(_0x4043f2['commentThreadId']='',_0x4043f2['documentId']='',_0x4043f2['resolvedAt']='',_0x4043f2['resolvedBy']=''),null!=_0x47bc90['commentThreadId']&&Object['hasOwnProperty']['call'](_0x47bc90,'commentThreadId')&&(_0x4043f2['commentThreadId']=_0x47bc90['commentThreadId']),null!=_0x47bc90['documentId']&&Object['hasOwnProperty']['call'](_0x47bc90,'documentId')&&(_0x4043f2['documentId']=_0x47bc90['documentId']),null!=_0x47bc90['resolvedAt']&&Object['hasOwnProperty']['call'](_0x47bc90,'resolvedAt')&&(_0x4043f2['resolvedAt']=_0x47bc90['resolvedAt']),null!=_0x47bc90['resolvedBy']&&Object['hasOwnProperty']['call'](_0x47bc90,'resolvedBy')&&(_0x4043f2['resolvedBy']=_0x47bc90['resolvedBy']),_0x4043f2;},_0x323249['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x323249['getTypeUrl']=function(_0x151a74){return void 0x0===_0x151a74&&(_0x151a74='type.googleapis.com'),_0x151a74+'/CommentsV2ResolveCommentThreadResponse';},_0x323249;}()),_0x4f54f6['CommentsV2AddCommentThreadResponse']=(function(){function _0x4a140d(_0x4b76df){if(this['comments']=[],_0x4b76df){for(var _0x453c85=Object['keys'](_0x4b76df),_0x15c2fa=0x0;_0x15c2fa<_0x453c85['length'];++_0x15c2fa)null!=_0x4b76df[_0x453c85[_0x15c2fa]]&&'__proto__'!==_0x453c85[_0x15c2fa]&&(this[_0x453c85[_0x15c2fa]]=_0x4b76df[_0x453c85[_0x15c2fa]]);}}return _0x4a140d['prototype']['commentThreadId']='',_0x4a140d['prototype']['createdAt']='',_0x4a140d['prototype']['comments']=_0x1ca790['emptyArray'],_0x4a140d['create']=function(_0x12f7c4){return new _0x4a140d(_0x12f7c4);},_0x4a140d['encode']=function(_0x386ec5,_0x425c1a,_0x29987e){if(_0x425c1a||(_0x425c1a=_0x5c509e['create']()),void 0x0===_0x29987e&&(_0x29987e=0x0),_0x29987e>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x386ec5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x386ec5,'commentThreadId')&&_0x425c1a['uint32'](0xa)['string'](_0x386ec5['commentThreadId']),null!=_0x386ec5['createdAt']&&Object['hasOwnProperty']['call'](_0x386ec5,'createdAt')&&_0x425c1a['uint32'](0x12)['string'](_0x386ec5['createdAt']),null!=_0x386ec5['comments']&&_0x386ec5['comments']['length']){for(var _0x3ac571=0x0;_0x3ac571<_0x386ec5['comments']['length'];++_0x3ac571)_0x4f54f6['CommentThreadAddedCommentDescriptor']['encode'](_0x386ec5['comments'][_0x3ac571],_0x425c1a['uint32'](0x1a)['fork'](),_0x29987e+0x1)['ldelim']();}return _0x425c1a;},_0x4a140d['encodeDelimited']=function(_0x1a967a,_0x5cf37f){return this['encode'](_0x1a967a,_0x5cf37f)['ldelim']();},_0x4a140d['decode']=function(_0xdc84cc,_0x3071eb,_0x56e829,_0x3d8abd){if(_0xdc84cc instanceof _0x280c77||(_0xdc84cc=_0x280c77['create'](_0xdc84cc)),void 0x0===_0x3d8abd&&(_0x3d8abd=0x0),_0x3d8abd>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4f302a=void 0x0===_0x3071eb?_0xdc84cc['len']:_0xdc84cc['pos']+_0x3071eb,_0x2ab360=new _0x4f54f6['CommentsV2AddCommentThreadResponse']();_0xdc84cc['pos']<_0x4f302a;){var _0x282d24=_0xdc84cc['uint32']();if(_0x282d24===_0x56e829)break;switch(_0x282d24>>>0x3){case 0x1:_0x2ab360['commentThreadId']=_0xdc84cc['string']();break;case 0x2:_0x2ab360['createdAt']=_0xdc84cc['string']();break;case 0x3:_0x2ab360['comments']&&_0x2ab360['comments']['length']||(_0x2ab360['comments']=[]),_0x2ab360['comments']['push'](_0x4f54f6['CommentThreadAddedCommentDescriptor']['decode'](_0xdc84cc,_0xdc84cc['uint32'](),void 0x0,_0x3d8abd+0x1));break;default:_0xdc84cc['skipType'](0x7&_0x282d24,_0x3d8abd);}}return _0x2ab360;},_0x4a140d['decodeDelimited']=function(_0x3f4881){return _0x3f4881 instanceof _0x280c77||(_0x3f4881=new _0x280c77(_0x3f4881)),this['decode'](_0x3f4881,_0x3f4881['uint32']());},_0x4a140d['verify']=function(_0x3fa3e8,_0x4a13a3){if('object'!=typeof _0x3fa3e8||null===_0x3fa3e8)return'object\x20expected';if(void 0x0===_0x4a13a3&&(_0x4a13a3=0x0),_0x4a13a3>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3fa3e8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3fa3e8,'commentThreadId')&&!_0x1ca790['isString'](_0x3fa3e8['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3fa3e8['createdAt']&&Object['hasOwnProperty']['call'](_0x3fa3e8,'createdAt')&&!_0x1ca790['isString'](_0x3fa3e8['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3fa3e8['comments']&&Object['hasOwnProperty']['call'](_0x3fa3e8,'comments')){if(!Array['isArray'](_0x3fa3e8['comments']))return'comments:\x20array\x20expected';for(var _0x4eb102=0x0;_0x4eb102<_0x3fa3e8['comments']['length'];++_0x4eb102){var _0x1176a5=_0x4f54f6['CommentThreadAddedCommentDescriptor']['verify'](_0x3fa3e8['comments'][_0x4eb102],_0x4a13a3+0x1);if(_0x1176a5)return'comments.'+_0x1176a5;}}return null;},_0x4a140d['fromObject']=function(_0x246022,_0x43e24b){if(_0x246022 instanceof _0x4f54f6['CommentsV2AddCommentThreadResponse'])return _0x246022;if(!_0x1ca790['isObject'](_0x246022))throw TypeError('.CommentsV2AddCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x43e24b&&(_0x43e24b=0x0),_0x43e24b>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d7dd9=new _0x4f54f6['CommentsV2AddCommentThreadResponse']();if(null!=_0x246022['commentThreadId']&&(_0x2d7dd9['commentThreadId']=String(_0x246022['commentThreadId'])),null!=_0x246022['createdAt']&&(_0x2d7dd9['createdAt']=String(_0x246022['createdAt'])),_0x246022['comments']){if(!Array['isArray'](_0x246022['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x2d7dd9['comments']=[];for(var _0xb92390=0x0;_0xb92390<_0x246022['comments']['length'];++_0xb92390){if(!_0x1ca790['isObject'](_0x246022['comments'][_0xb92390]))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x2d7dd9['comments'][_0xb92390]=_0x4f54f6['CommentThreadAddedCommentDescriptor']['fromObject'](_0x246022['comments'][_0xb92390],_0x43e24b+0x1);}}return _0x2d7dd9;},_0x4a140d['toObject']=function(_0xeeeff0,_0x33bcb7,_0x2b3d60){if(_0x33bcb7||(_0x33bcb7={}),void 0x0===_0x2b3d60&&(_0x2b3d60=0x0),_0x2b3d60>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1d54db={};if((_0x33bcb7['arrays']||_0x33bcb7['defaults'])&&(_0x1d54db['comments']=[]),_0x33bcb7['defaults']&&(_0x1d54db['commentThreadId']='',_0x1d54db['createdAt']=''),null!=_0xeeeff0['commentThreadId']&&Object['hasOwnProperty']['call'](_0xeeeff0,'commentThreadId')&&(_0x1d54db['commentThreadId']=_0xeeeff0['commentThreadId']),null!=_0xeeeff0['createdAt']&&Object['hasOwnProperty']['call'](_0xeeeff0,'createdAt')&&(_0x1d54db['createdAt']=_0xeeeff0['createdAt']),_0xeeeff0['comments']&&_0xeeeff0['comments']['length']){_0x1d54db['comments']=[];for(var _0x43b201=0x0;_0x43b201<_0xeeeff0['comments']['length'];++_0x43b201)_0x1d54db['comments'][_0x43b201]=_0x4f54f6['CommentThreadAddedCommentDescriptor']['toObject'](_0xeeeff0['comments'][_0x43b201],_0x33bcb7,_0x2b3d60+0x1);}return _0x1d54db;},_0x4a140d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x4a140d['getTypeUrl']=function(_0x503fa2){return void 0x0===_0x503fa2&&(_0x503fa2='type.googleapis.com'),_0x503fa2+'/CommentsV2AddCommentThreadResponse';},_0x4a140d;}()),_0x4f54f6['CommentsV2UpdateCommentMessage']=(function(){function _0x5f061d(_0x5ebf1a){if(_0x5ebf1a){for(var _0x21ad90=Object['keys'](_0x5ebf1a),_0x5518af=0x0;_0x5518af<_0x21ad90['length'];++_0x5518af)null!=_0x5ebf1a[_0x21ad90[_0x5518af]]&&'__proto__'!==_0x21ad90[_0x5518af]&&(this[_0x21ad90[_0x5518af]]=_0x5ebf1a[_0x21ad90[_0x5518af]]);}}return _0x5f061d['prototype']['commentThreadId']='',_0x5f061d['prototype']['commentId']='',_0x5f061d['prototype']['content']='',_0x5f061d['prototype']['documentId']='',_0x5f061d['prototype']['attributes']='',_0x5f061d['prototype']['isAttributesUpdated']=!0x1,_0x5f061d['prototype']['commentThread']=null,_0x5f061d['create']=function(_0x4f805f){return new _0x5f061d(_0x4f805f);},_0x5f061d['encode']=function(_0x36a523,_0x4dc114,_0x3ec6ad){if(_0x4dc114||(_0x4dc114=_0x5c509e['create']()),void 0x0===_0x3ec6ad&&(_0x3ec6ad=0x0),_0x3ec6ad>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x36a523['commentThreadId']&&Object['hasOwnProperty']['call'](_0x36a523,'commentThreadId')&&_0x4dc114['uint32'](0xa)['string'](_0x36a523['commentThreadId']),null!=_0x36a523['commentId']&&Object['hasOwnProperty']['call'](_0x36a523,'commentId')&&_0x4dc114['uint32'](0x12)['string'](_0x36a523['commentId']),null!=_0x36a523['content']&&Object['hasOwnProperty']['call'](_0x36a523,'content')&&_0x4dc114['uint32'](0x1a)['string'](_0x36a523['content']),null!=_0x36a523['documentId']&&Object['hasOwnProperty']['call'](_0x36a523,'documentId')&&_0x4dc114['uint32'](0x22)['string'](_0x36a523['documentId']),null!=_0x36a523['attributes']&&Object['hasOwnProperty']['call'](_0x36a523,'attributes')&&_0x4dc114['uint32'](0x2a)['string'](_0x36a523['attributes']),null!=_0x36a523['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x36a523,'isAttributesUpdated')&&_0x4dc114['uint32'](0x30)['bool'](_0x36a523['isAttributesUpdated']),null!=_0x36a523['commentThread']&&Object['hasOwnProperty']['call'](_0x36a523,'commentThread')&&_0x4f54f6['CommentsThreadDescriptor']['encode'](_0x36a523['commentThread'],_0x4dc114['uint32'](0x3a)['fork'](),_0x3ec6ad+0x1)['ldelim'](),_0x4dc114;},_0x5f061d['encodeDelimited']=function(_0x4eed1f,_0x5a5ecc){return this['encode'](_0x4eed1f,_0x5a5ecc)['ldelim']();},_0x5f061d['decode']=function(_0x279b4b,_0x4845ad,_0x540a06,_0x26e384){if(_0x279b4b instanceof _0x280c77||(_0x279b4b=_0x280c77['create'](_0x279b4b)),void 0x0===_0x26e384&&(_0x26e384=0x0),_0x26e384>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4909d4=void 0x0===_0x4845ad?_0x279b4b['len']:_0x279b4b['pos']+_0x4845ad,_0x103e6d=new _0x4f54f6['CommentsV2UpdateCommentMessage']();_0x279b4b['pos']<_0x4909d4;){var _0x129fd5=_0x279b4b['uint32']();if(_0x129fd5===_0x540a06)break;switch(_0x129fd5>>>0x3){case 0x1:_0x103e6d['commentThreadId']=_0x279b4b['string']();break;case 0x2:_0x103e6d['commentId']=_0x279b4b['string']();break;case 0x3:_0x103e6d['content']=_0x279b4b['string']();break;case 0x4:_0x103e6d['documentId']=_0x279b4b['string']();break;case 0x5:_0x103e6d['attributes']=_0x279b4b['string']();break;case 0x6:_0x103e6d['isAttributesUpdated']=_0x279b4b['bool']();break;case 0x7:_0x103e6d['commentThread']=_0x4f54f6['CommentsThreadDescriptor']['decode'](_0x279b4b,_0x279b4b['uint32'](),void 0x0,_0x26e384+0x1);break;default:_0x279b4b['skipType'](0x7&_0x129fd5,_0x26e384);}}return _0x103e6d;},_0x5f061d['decodeDelimited']=function(_0x57cc04){return _0x57cc04 instanceof _0x280c77||(_0x57cc04=new _0x280c77(_0x57cc04)),this['decode'](_0x57cc04,_0x57cc04['uint32']());},_0x5f061d['verify']=function(_0x17cdbe,_0x276024){if('object'!=typeof _0x17cdbe||null===_0x17cdbe)return'object\x20expected';if(void 0x0===_0x276024&&(_0x276024=0x0),_0x276024>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x17cdbe['commentThreadId']&&Object['hasOwnProperty']['call'](_0x17cdbe,'commentThreadId')&&!_0x1ca790['isString'](_0x17cdbe['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x17cdbe['commentId']&&Object['hasOwnProperty']['call'](_0x17cdbe,'commentId')&&!_0x1ca790['isString'](_0x17cdbe['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x17cdbe['content']&&Object['hasOwnProperty']['call'](_0x17cdbe,'content')&&!_0x1ca790['isString'](_0x17cdbe['content']))return'content:\x20string\x20expected';if(null!=_0x17cdbe['documentId']&&Object['hasOwnProperty']['call'](_0x17cdbe,'documentId')&&!_0x1ca790['isString'](_0x17cdbe['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x17cdbe['attributes']&&Object['hasOwnProperty']['call'](_0x17cdbe,'attributes')&&!_0x1ca790['isString'](_0x17cdbe['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x17cdbe['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x17cdbe,'isAttributesUpdated')&&'boolean'!=typeof _0x17cdbe['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x17cdbe['commentThread']&&Object['hasOwnProperty']['call'](_0x17cdbe,'commentThread')){var _0x455b44=_0x4f54f6['CommentsThreadDescriptor']['verify'](_0x17cdbe['commentThread'],_0x276024+0x1);if(_0x455b44)return'commentThread.'+_0x455b44;}return null;},_0x5f061d['fromObject']=function(_0x421d19,_0x32ae17){if(_0x421d19 instanceof _0x4f54f6['CommentsV2UpdateCommentMessage'])return _0x421d19;if(!_0x1ca790['isObject'](_0x421d19))throw TypeError('.CommentsV2UpdateCommentMessage:\x20object\x20expected');if(void 0x0===_0x32ae17&&(_0x32ae17=0x0),_0x32ae17>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2bc1dd=new _0x4f54f6['CommentsV2UpdateCommentMessage']();if(null!=_0x421d19['commentThreadId']&&(_0x2bc1dd['commentThreadId']=String(_0x421d19['commentThreadId'])),null!=_0x421d19['commentId']&&(_0x2bc1dd['commentId']=String(_0x421d19['commentId'])),null!=_0x421d19['content']&&(_0x2bc1dd['content']=String(_0x421d19['content'])),null!=_0x421d19['documentId']&&(_0x2bc1dd['documentId']=String(_0x421d19['documentId'])),null!=_0x421d19['attributes']&&(_0x2bc1dd['attributes']=String(_0x421d19['attributes'])),null!=_0x421d19['isAttributesUpdated']&&(_0x2bc1dd['isAttributesUpdated']=Boolean(_0x421d19['isAttributesUpdated'])),null!=_0x421d19['commentThread']){if(!_0x1ca790['isObject'](_0x421d19['commentThread']))throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x2bc1dd['commentThread']=_0x4f54f6['CommentsThreadDescriptor']['fromObject'](_0x421d19['commentThread'],_0x32ae17+0x1);}return _0x2bc1dd;},_0x5f061d['toObject']=function(_0x5d5066,_0x3dab0d,_0x50645a){if(_0x3dab0d||(_0x3dab0d={}),void 0x0===_0x50645a&&(_0x50645a=0x0),_0x50645a>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5d8e11={};return _0x3dab0d['defaults']&&(_0x5d8e11['commentThreadId']='',_0x5d8e11['commentId']='',_0x5d8e11['content']='',_0x5d8e11['documentId']='',_0x5d8e11['attributes']='',_0x5d8e11['isAttributesUpdated']=!0x1,_0x5d8e11['commentThread']=null),null!=_0x5d5066['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5d5066,'commentThreadId')&&(_0x5d8e11['commentThreadId']=_0x5d5066['commentThreadId']),null!=_0x5d5066['commentId']&&Object['hasOwnProperty']['call'](_0x5d5066,'commentId')&&(_0x5d8e11['commentId']=_0x5d5066['commentId']),null!=_0x5d5066['content']&&Object['hasOwnProperty']['call'](_0x5d5066,'content')&&(_0x5d8e11['content']=_0x5d5066['content']),null!=_0x5d5066['documentId']&&Object['hasOwnProperty']['call'](_0x5d5066,'documentId')&&(_0x5d8e11['documentId']=_0x5d5066['documentId']),null!=_0x5d5066['attributes']&&Object['hasOwnProperty']['call'](_0x5d5066,'attributes')&&(_0x5d8e11['attributes']=_0x5d5066['attributes']),null!=_0x5d5066['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x5d5066,'isAttributesUpdated')&&(_0x5d8e11['isAttributesUpdated']=_0x5d5066['isAttributesUpdated']),null!=_0x5d5066['commentThread']&&Object['hasOwnProperty']['call'](_0x5d5066,'commentThread')&&(_0x5d8e11['commentThread']=_0x4f54f6['CommentsThreadDescriptor']['toObject'](_0x5d5066['commentThread'],_0x3dab0d,_0x50645a+0x1)),_0x5d8e11;},_0x5f061d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5f061d['getTypeUrl']=function(_0x13b326){return void 0x0===_0x13b326&&(_0x13b326='type.googleapis.com'),_0x13b326+'/CommentsV2UpdateCommentMessage';},_0x5f061d;}()),_0x4f54f6['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x243121(_0x29e521){if(_0x29e521){for(var _0x5457ab=Object['keys'](_0x29e521),_0x3c99f5=0x0;_0x3c99f5<_0x5457ab['length'];++_0x3c99f5)null!=_0x29e521[_0x5457ab[_0x3c99f5]]&&'__proto__'!==_0x5457ab[_0x3c99f5]&&(this[_0x5457ab[_0x3c99f5]]=_0x29e521[_0x5457ab[_0x3c99f5]]);}}return _0x243121['prototype']['commentThreadId']='',_0x243121['prototype']['documentId']='',_0x243121['create']=function(_0x5c5ec8){return new _0x243121(_0x5c5ec8);},_0x243121['encode']=function(_0x1e9b18,_0x1cda46,_0x1b844c){if(_0x1cda46||(_0x1cda46=_0x5c509e['create']()),void 0x0===_0x1b844c&&(_0x1b844c=0x0),_0x1b844c>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1e9b18['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1e9b18,'commentThreadId')&&_0x1cda46['uint32'](0xa)['string'](_0x1e9b18['commentThreadId']),null!=_0x1e9b18['documentId']&&Object['hasOwnProperty']['call'](_0x1e9b18,'documentId')&&_0x1cda46['uint32'](0x12)['string'](_0x1e9b18['documentId']),_0x1cda46;},_0x243121['encodeDelimited']=function(_0x5a572e,_0x2852b6){return this['encode'](_0x5a572e,_0x2852b6)['ldelim']();},_0x243121['decode']=function(_0x5a9bbe,_0x2f6b57,_0x548e68,_0x504203){if(_0x5a9bbe instanceof _0x280c77||(_0x5a9bbe=_0x280c77['create'](_0x5a9bbe)),void 0x0===_0x504203&&(_0x504203=0x0),_0x504203>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4a5bdf=void 0x0===_0x2f6b57?_0x5a9bbe['len']:_0x5a9bbe['pos']+_0x2f6b57,_0x30cdd0=new _0x4f54f6['CommentsV2RemoveCommentThreadMessage']();_0x5a9bbe['pos']<_0x4a5bdf;){var _0x4511e6=_0x5a9bbe['uint32']();if(_0x4511e6===_0x548e68)break;switch(_0x4511e6>>>0x3){case 0x1:_0x30cdd0['commentThreadId']=_0x5a9bbe['string']();break;case 0x2:_0x30cdd0['documentId']=_0x5a9bbe['string']();break;default:_0x5a9bbe['skipType'](0x7&_0x4511e6,_0x504203);}}return _0x30cdd0;},_0x243121['decodeDelimited']=function(_0x37270f){return _0x37270f instanceof _0x280c77||(_0x37270f=new _0x280c77(_0x37270f)),this['decode'](_0x37270f,_0x37270f['uint32']());},_0x243121['verify']=function(_0xe2a515,_0x3296a6){return'object'!=typeof _0xe2a515||null===_0xe2a515?'object\x20expected':(void 0x0===_0x3296a6&&(_0x3296a6=0x0),_0x3296a6>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xe2a515['commentThreadId']&&Object['hasOwnProperty']['call'](_0xe2a515,'commentThreadId')&&!_0x1ca790['isString'](_0xe2a515['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xe2a515['documentId']&&Object['hasOwnProperty']['call'](_0xe2a515,'documentId')&&!_0x1ca790['isString'](_0xe2a515['documentId'])?'documentId:\x20string\x20expected':null);},_0x243121['fromObject']=function(_0x3ae7ec,_0x240b80){if(_0x3ae7ec instanceof _0x4f54f6['CommentsV2RemoveCommentThreadMessage'])return _0x3ae7ec;if(!_0x1ca790['isObject'](_0x3ae7ec))throw TypeError('.CommentsV2RemoveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x240b80&&(_0x240b80=0x0),_0x240b80>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x589cd3=new _0x4f54f6['CommentsV2RemoveCommentThreadMessage']();return null!=_0x3ae7ec['commentThreadId']&&(_0x589cd3['commentThreadId']=String(_0x3ae7ec['commentThreadId'])),null!=_0x3ae7ec['documentId']&&(_0x589cd3['documentId']=String(_0x3ae7ec['documentId'])),_0x589cd3;},_0x243121['toObject']=function(_0x1af8ec,_0x2ff735,_0x416db3){if(_0x2ff735||(_0x2ff735={}),void 0x0===_0x416db3&&(_0x416db3=0x0),_0x416db3>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x14076b={};return _0x2ff735['defaults']&&(_0x14076b['commentThreadId']='',_0x14076b['documentId']=''),null!=_0x1af8ec['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1af8ec,'commentThreadId')&&(_0x14076b['commentThreadId']=_0x1af8ec['commentThreadId']),null!=_0x1af8ec['documentId']&&Object['hasOwnProperty']['call'](_0x1af8ec,'documentId')&&(_0x14076b['documentId']=_0x1af8ec['documentId']),_0x14076b;},_0x243121['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x243121['getTypeUrl']=function(_0x17722d){return void 0x0===_0x17722d&&(_0x17722d='type.googleapis.com'),_0x17722d+'/CommentsV2RemoveCommentThreadMessage';},_0x243121;}()),_0x4f54f6['CommentsV2RemoveCommentMessage']=(function(){function _0x1ae8fb(_0x4d035b){if(_0x4d035b){for(var _0x45f1a8=Object['keys'](_0x4d035b),_0x58bc76=0x0;_0x58bc76<_0x45f1a8['length'];++_0x58bc76)null!=_0x4d035b[_0x45f1a8[_0x58bc76]]&&'__proto__'!==_0x45f1a8[_0x58bc76]&&(this[_0x45f1a8[_0x58bc76]]=_0x4d035b[_0x45f1a8[_0x58bc76]]);}}return _0x1ae8fb['prototype']['commentThreadId']='',_0x1ae8fb['prototype']['commentId']='',_0x1ae8fb['prototype']['documentId']='',_0x1ae8fb['create']=function(_0x1f1a76){return new _0x1ae8fb(_0x1f1a76);},_0x1ae8fb['encode']=function(_0x51c97a,_0x34c16e,_0x5c741f){if(_0x34c16e||(_0x34c16e=_0x5c509e['create']()),void 0x0===_0x5c741f&&(_0x5c741f=0x0),_0x5c741f>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x51c97a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x51c97a,'commentThreadId')&&_0x34c16e['uint32'](0xa)['string'](_0x51c97a['commentThreadId']),null!=_0x51c97a['commentId']&&Object['hasOwnProperty']['call'](_0x51c97a,'commentId')&&_0x34c16e['uint32'](0x12)['string'](_0x51c97a['commentId']),null!=_0x51c97a['documentId']&&Object['hasOwnProperty']['call'](_0x51c97a,'documentId')&&_0x34c16e['uint32'](0x1a)['string'](_0x51c97a['documentId']),_0x34c16e;},_0x1ae8fb['encodeDelimited']=function(_0x97f7c2,_0x1ccf30){return this['encode'](_0x97f7c2,_0x1ccf30)['ldelim']();},_0x1ae8fb['decode']=function(_0x36a5ee,_0xb611fc,_0x145951,_0x3c1a6f){if(_0x36a5ee instanceof _0x280c77||(_0x36a5ee=_0x280c77['create'](_0x36a5ee)),void 0x0===_0x3c1a6f&&(_0x3c1a6f=0x0),_0x3c1a6f>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x37eaeb=void 0x0===_0xb611fc?_0x36a5ee['len']:_0x36a5ee['pos']+_0xb611fc,_0x523b81=new _0x4f54f6['CommentsV2RemoveCommentMessage']();_0x36a5ee['pos']<_0x37eaeb;){var _0x28765c=_0x36a5ee['uint32']();if(_0x28765c===_0x145951)break;switch(_0x28765c>>>0x3){case 0x1:_0x523b81['commentThreadId']=_0x36a5ee['string']();break;case 0x2:_0x523b81['commentId']=_0x36a5ee['string']();break;case 0x3:_0x523b81['documentId']=_0x36a5ee['string']();break;default:_0x36a5ee['skipType'](0x7&_0x28765c,_0x3c1a6f);}}return _0x523b81;},_0x1ae8fb['decodeDelimited']=function(_0x3d3968){return _0x3d3968 instanceof _0x280c77||(_0x3d3968=new _0x280c77(_0x3d3968)),this['decode'](_0x3d3968,_0x3d3968['uint32']());},_0x1ae8fb['verify']=function(_0x55cd62,_0x58d46c){return'object'!=typeof _0x55cd62||null===_0x55cd62?'object\x20expected':(void 0x0===_0x58d46c&&(_0x58d46c=0x0),_0x58d46c>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x55cd62['commentThreadId']&&Object['hasOwnProperty']['call'](_0x55cd62,'commentThreadId')&&!_0x1ca790['isString'](_0x55cd62['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x55cd62['commentId']&&Object['hasOwnProperty']['call'](_0x55cd62,'commentId')&&!_0x1ca790['isString'](_0x55cd62['commentId'])?'commentId:\x20string\x20expected':null!=_0x55cd62['documentId']&&Object['hasOwnProperty']['call'](_0x55cd62,'documentId')&&!_0x1ca790['isString'](_0x55cd62['documentId'])?'documentId:\x20string\x20expected':null);},_0x1ae8fb['fromObject']=function(_0x1404fd,_0x568654){if(_0x1404fd instanceof _0x4f54f6['CommentsV2RemoveCommentMessage'])return _0x1404fd;if(!_0x1ca790['isObject'](_0x1404fd))throw TypeError('.CommentsV2RemoveCommentMessage:\x20object\x20expected');if(void 0x0===_0x568654&&(_0x568654=0x0),_0x568654>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1cd329=new _0x4f54f6['CommentsV2RemoveCommentMessage']();return null!=_0x1404fd['commentThreadId']&&(_0x1cd329['commentThreadId']=String(_0x1404fd['commentThreadId'])),null!=_0x1404fd['commentId']&&(_0x1cd329['commentId']=String(_0x1404fd['commentId'])),null!=_0x1404fd['documentId']&&(_0x1cd329['documentId']=String(_0x1404fd['documentId'])),_0x1cd329;},_0x1ae8fb['toObject']=function(_0x4f2402,_0x40c0ad,_0x476ac4){if(_0x40c0ad||(_0x40c0ad={}),void 0x0===_0x476ac4&&(_0x476ac4=0x0),_0x476ac4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4be948={};return _0x40c0ad['defaults']&&(_0x4be948['commentThreadId']='',_0x4be948['commentId']='',_0x4be948['documentId']=''),null!=_0x4f2402['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4f2402,'commentThreadId')&&(_0x4be948['commentThreadId']=_0x4f2402['commentThreadId']),null!=_0x4f2402['commentId']&&Object['hasOwnProperty']['call'](_0x4f2402,'commentId')&&(_0x4be948['commentId']=_0x4f2402['commentId']),null!=_0x4f2402['documentId']&&Object['hasOwnProperty']['call'](_0x4f2402,'documentId')&&(_0x4be948['documentId']=_0x4f2402['documentId']),_0x4be948;},_0x1ae8fb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x1ae8fb['getTypeUrl']=function(_0x995cd8){return void 0x0===_0x995cd8&&(_0x995cd8='type.googleapis.com'),_0x995cd8+'/CommentsV2RemoveCommentMessage';},_0x1ae8fb;}()),_0x4f54f6['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x52d42a(_0x4d8b03){if(_0x4d8b03){for(var _0x314202=Object['keys'](_0x4d8b03),_0x159fa1=0x0;_0x159fa1<_0x314202['length'];++_0x159fa1)null!=_0x4d8b03[_0x314202[_0x159fa1]]&&'__proto__'!==_0x314202[_0x159fa1]&&(this[_0x314202[_0x159fa1]]=_0x4d8b03[_0x314202[_0x159fa1]]);}}return _0x52d42a['prototype']['documentId']='',_0x52d42a['create']=function(_0xed0421){return new _0x52d42a(_0xed0421);},_0x52d42a['encode']=function(_0x5532b4,_0x1426a9,_0x524787){if(_0x1426a9||(_0x1426a9=_0x5c509e['create']()),void 0x0===_0x524787&&(_0x524787=0x0),_0x524787>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5532b4['documentId']&&Object['hasOwnProperty']['call'](_0x5532b4,'documentId')&&_0x1426a9['uint32'](0xa)['string'](_0x5532b4['documentId']),_0x1426a9;},_0x52d42a['encodeDelimited']=function(_0x13bb21,_0x4c22a1){return this['encode'](_0x13bb21,_0x4c22a1)['ldelim']();},_0x52d42a['decode']=function(_0x4a3b7f,_0x58bbb9,_0x40e02e,_0x19b6ae){if(_0x4a3b7f instanceof _0x280c77||(_0x4a3b7f=_0x280c77['create'](_0x4a3b7f)),void 0x0===_0x19b6ae&&(_0x19b6ae=0x0),_0x19b6ae>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xfe1936=void 0x0===_0x58bbb9?_0x4a3b7f['len']:_0x4a3b7f['pos']+_0x58bbb9,_0x3f79bc=new _0x4f54f6['CommentsV2GetDocumentThreadsMessage']();_0x4a3b7f['pos']<_0xfe1936;){var _0x1ea4e4=_0x4a3b7f['uint32']();if(_0x1ea4e4===_0x40e02e)break;_0x1ea4e4>>>0x3==0x1?_0x3f79bc['documentId']=_0x4a3b7f['string']():_0x4a3b7f['skipType'](0x7&_0x1ea4e4,_0x19b6ae);}return _0x3f79bc;},_0x52d42a['decodeDelimited']=function(_0xf217e5){return _0xf217e5 instanceof _0x280c77||(_0xf217e5=new _0x280c77(_0xf217e5)),this['decode'](_0xf217e5,_0xf217e5['uint32']());},_0x52d42a['verify']=function(_0x414fb4,_0x41f4d2){return'object'!=typeof _0x414fb4||null===_0x414fb4?'object\x20expected':(void 0x0===_0x41f4d2&&(_0x41f4d2=0x0),_0x41f4d2>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x414fb4['documentId']&&Object['hasOwnProperty']['call'](_0x414fb4,'documentId')&&!_0x1ca790['isString'](_0x414fb4['documentId'])?'documentId:\x20string\x20expected':null);},_0x52d42a['fromObject']=function(_0x25549b,_0x462252){if(_0x25549b instanceof _0x4f54f6['CommentsV2GetDocumentThreadsMessage'])return _0x25549b;if(!_0x1ca790['isObject'](_0x25549b))throw TypeError('.CommentsV2GetDocumentThreadsMessage:\x20object\x20expected');if(void 0x0===_0x462252&&(_0x462252=0x0),_0x462252>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x58c0c0=new _0x4f54f6['CommentsV2GetDocumentThreadsMessage']();return null!=_0x25549b['documentId']&&(_0x58c0c0['documentId']=String(_0x25549b['documentId'])),_0x58c0c0;},_0x52d42a['toObject']=function(_0x544206,_0x31123f,_0x15801c){if(_0x31123f||(_0x31123f={}),void 0x0===_0x15801c&&(_0x15801c=0x0),_0x15801c>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x358950={};return _0x31123f['defaults']&&(_0x358950['documentId']=''),null!=_0x544206['documentId']&&Object['hasOwnProperty']['call'](_0x544206,'documentId')&&(_0x358950['documentId']=_0x544206['documentId']),_0x358950;},_0x52d42a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x52d42a['getTypeUrl']=function(_0x5c3165){return void 0x0===_0x5c3165&&(_0x5c3165='type.googleapis.com'),_0x5c3165+'/CommentsV2GetDocumentThreadsMessage';},_0x52d42a;}()),_0x4f54f6['CommentsV2GetCommentThreadMessage']=(function(){function _0x44641f(_0x35b22a){if(_0x35b22a){for(var _0x1bde04=Object['keys'](_0x35b22a),_0x54b2d6=0x0;_0x54b2d6<_0x1bde04['length'];++_0x54b2d6)null!=_0x35b22a[_0x1bde04[_0x54b2d6]]&&'__proto__'!==_0x1bde04[_0x54b2d6]&&(this[_0x1bde04[_0x54b2d6]]=_0x35b22a[_0x1bde04[_0x54b2d6]]);}}return _0x44641f['prototype']['commentThreadId']='',_0x44641f['prototype']['documentId']='',_0x44641f['create']=function(_0x1fea32){return new _0x44641f(_0x1fea32);},_0x44641f['encode']=function(_0x594e12,_0x57e5ab,_0x5ee01c){if(_0x57e5ab||(_0x57e5ab=_0x5c509e['create']()),void 0x0===_0x5ee01c&&(_0x5ee01c=0x0),_0x5ee01c>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x594e12['commentThreadId']&&Object['hasOwnProperty']['call'](_0x594e12,'commentThreadId')&&_0x57e5ab['uint32'](0xa)['string'](_0x594e12['commentThreadId']),null!=_0x594e12['documentId']&&Object['hasOwnProperty']['call'](_0x594e12,'documentId')&&_0x57e5ab['uint32'](0x12)['string'](_0x594e12['documentId']),_0x57e5ab;},_0x44641f['encodeDelimited']=function(_0x335e9a,_0x224f54){return this['encode'](_0x335e9a,_0x224f54)['ldelim']();},_0x44641f['decode']=function(_0x132ff4,_0x2f2cac,_0x5d517d,_0x2c7831){if(_0x132ff4 instanceof _0x280c77||(_0x132ff4=_0x280c77['create'](_0x132ff4)),void 0x0===_0x2c7831&&(_0x2c7831=0x0),_0x2c7831>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x20f01c=void 0x0===_0x2f2cac?_0x132ff4['len']:_0x132ff4['pos']+_0x2f2cac,_0xee96dc=new _0x4f54f6['CommentsV2GetCommentThreadMessage']();_0x132ff4['pos']<_0x20f01c;){var _0x1eb136=_0x132ff4['uint32']();if(_0x1eb136===_0x5d517d)break;switch(_0x1eb136>>>0x3){case 0x1:_0xee96dc['commentThreadId']=_0x132ff4['string']();break;case 0x2:_0xee96dc['documentId']=_0x132ff4['string']();break;default:_0x132ff4['skipType'](0x7&_0x1eb136,_0x2c7831);}}return _0xee96dc;},_0x44641f['decodeDelimited']=function(_0xa8f4d6){return _0xa8f4d6 instanceof _0x280c77||(_0xa8f4d6=new _0x280c77(_0xa8f4d6)),this['decode'](_0xa8f4d6,_0xa8f4d6['uint32']());},_0x44641f['verify']=function(_0x2fa631,_0x1e5d3a){return'object'!=typeof _0x2fa631||null===_0x2fa631?'object\x20expected':(void 0x0===_0x1e5d3a&&(_0x1e5d3a=0x0),_0x1e5d3a>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2fa631['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2fa631,'commentThreadId')&&!_0x1ca790['isString'](_0x2fa631['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2fa631['documentId']&&Object['hasOwnProperty']['call'](_0x2fa631,'documentId')&&!_0x1ca790['isString'](_0x2fa631['documentId'])?'documentId:\x20string\x20expected':null);},_0x44641f['fromObject']=function(_0x49d85b,_0x1cc6ca){if(_0x49d85b instanceof _0x4f54f6['CommentsV2GetCommentThreadMessage'])return _0x49d85b;if(!_0x1ca790['isObject'](_0x49d85b))throw TypeError('.CommentsV2GetCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x1cc6ca&&(_0x1cc6ca=0x0),_0x1cc6ca>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x26488b=new _0x4f54f6['CommentsV2GetCommentThreadMessage']();return null!=_0x49d85b['commentThreadId']&&(_0x26488b['commentThreadId']=String(_0x49d85b['commentThreadId'])),null!=_0x49d85b['documentId']&&(_0x26488b['documentId']=String(_0x49d85b['documentId'])),_0x26488b;},_0x44641f['toObject']=function(_0x3b5c73,_0x564a90,_0x48df53){if(_0x564a90||(_0x564a90={}),void 0x0===_0x48df53&&(_0x48df53=0x0),_0x48df53>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x51cf42={};return _0x564a90['defaults']&&(_0x51cf42['commentThreadId']='',_0x51cf42['documentId']=''),null!=_0x3b5c73['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3b5c73,'commentThreadId')&&(_0x51cf42['commentThreadId']=_0x3b5c73['commentThreadId']),null!=_0x3b5c73['documentId']&&Object['hasOwnProperty']['call'](_0x3b5c73,'documentId')&&(_0x51cf42['documentId']=_0x3b5c73['documentId']),_0x51cf42;},_0x44641f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x44641f['getTypeUrl']=function(_0x330965){return void 0x0===_0x330965&&(_0x330965='type.googleapis.com'),_0x330965+'/CommentsV2GetCommentThreadMessage';},_0x44641f;}()),_0x4f54f6['CommentsV2ConnectMessage']=(function(){function _0x2c83a6(_0x27d438){if(_0x27d438){for(var _0x3d00c4=Object['keys'](_0x27d438),_0xa12270=0x0;_0xa12270<_0x3d00c4['length'];++_0xa12270)null!=_0x27d438[_0x3d00c4[_0xa12270]]&&'__proto__'!==_0x3d00c4[_0xa12270]&&(this[_0x3d00c4[_0xa12270]]=_0x27d438[_0x3d00c4[_0xa12270]]);}}return _0x2c83a6['prototype']['documentId']='',_0x2c83a6['create']=function(_0xa4964){return new _0x2c83a6(_0xa4964);},_0x2c83a6['encode']=function(_0x4ad576,_0x401103,_0x3b69bb){if(_0x401103||(_0x401103=_0x5c509e['create']()),void 0x0===_0x3b69bb&&(_0x3b69bb=0x0),_0x3b69bb>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4ad576['documentId']&&Object['hasOwnProperty']['call'](_0x4ad576,'documentId')&&_0x401103['uint32'](0xa)['string'](_0x4ad576['documentId']),_0x401103;},_0x2c83a6['encodeDelimited']=function(_0x15b95e,_0x4935f6){return this['encode'](_0x15b95e,_0x4935f6)['ldelim']();},_0x2c83a6['decode']=function(_0x2e4e53,_0x1b6d2f,_0x1a8446,_0x120c6a){if(_0x2e4e53 instanceof _0x280c77||(_0x2e4e53=_0x280c77['create'](_0x2e4e53)),void 0x0===_0x120c6a&&(_0x120c6a=0x0),_0x120c6a>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x462d76=void 0x0===_0x1b6d2f?_0x2e4e53['len']:_0x2e4e53['pos']+_0x1b6d2f,_0x21c66f=new _0x4f54f6['CommentsV2ConnectMessage']();_0x2e4e53['pos']<_0x462d76;){var _0x1bf0d2=_0x2e4e53['uint32']();if(_0x1bf0d2===_0x1a8446)break;_0x1bf0d2>>>0x3==0x1?_0x21c66f['documentId']=_0x2e4e53['string']():_0x2e4e53['skipType'](0x7&_0x1bf0d2,_0x120c6a);}return _0x21c66f;},_0x2c83a6['decodeDelimited']=function(_0x1d4832){return _0x1d4832 instanceof _0x280c77||(_0x1d4832=new _0x280c77(_0x1d4832)),this['decode'](_0x1d4832,_0x1d4832['uint32']());},_0x2c83a6['verify']=function(_0x23f7cf,_0x102fd2){return'object'!=typeof _0x23f7cf||null===_0x23f7cf?'object\x20expected':(void 0x0===_0x102fd2&&(_0x102fd2=0x0),_0x102fd2>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x23f7cf['documentId']&&Object['hasOwnProperty']['call'](_0x23f7cf,'documentId')&&!_0x1ca790['isString'](_0x23f7cf['documentId'])?'documentId:\x20string\x20expected':null);},_0x2c83a6['fromObject']=function(_0xe32ba8,_0x2edb2b){if(_0xe32ba8 instanceof _0x4f54f6['CommentsV2ConnectMessage'])return _0xe32ba8;if(!_0x1ca790['isObject'](_0xe32ba8))throw TypeError('.CommentsV2ConnectMessage:\x20object\x20expected');if(void 0x0===_0x2edb2b&&(_0x2edb2b=0x0),_0x2edb2b>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x28dbc8=new _0x4f54f6['CommentsV2ConnectMessage']();return null!=_0xe32ba8['documentId']&&(_0x28dbc8['documentId']=String(_0xe32ba8['documentId'])),_0x28dbc8;},_0x2c83a6['toObject']=function(_0x56e73a,_0x4d2004,_0x49528d){if(_0x4d2004||(_0x4d2004={}),void 0x0===_0x49528d&&(_0x49528d=0x0),_0x49528d>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x134b5d={};return _0x4d2004['defaults']&&(_0x134b5d['documentId']=''),null!=_0x56e73a['documentId']&&Object['hasOwnProperty']['call'](_0x56e73a,'documentId')&&(_0x134b5d['documentId']=_0x56e73a['documentId']),_0x134b5d;},_0x2c83a6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x2c83a6['getTypeUrl']=function(_0x54e36d){return void 0x0===_0x54e36d&&(_0x54e36d='type.googleapis.com'),_0x54e36d+'/CommentsV2ConnectMessage';},_0x2c83a6;}()),_0x4f54f6['CommentsV2AddCommentMessage']=(function(){function _0x29da2d(_0x53cfd5){if(_0x53cfd5){for(var _0x17dd50=Object['keys'](_0x53cfd5),_0x10d151=0x0;_0x10d151<_0x17dd50['length'];++_0x10d151)null!=_0x53cfd5[_0x17dd50[_0x10d151]]&&'__proto__'!==_0x17dd50[_0x10d151]&&(this[_0x17dd50[_0x10d151]]=_0x53cfd5[_0x17dd50[_0x10d151]]);}}return _0x29da2d['prototype']['commentThreadId']='',_0x29da2d['prototype']['content']='',_0x29da2d['prototype']['documentId']='',_0x29da2d['prototype']['commentId']='',_0x29da2d['prototype']['createdAt']='',_0x29da2d['prototype']['userId']='',_0x29da2d['prototype']['attributes']='',_0x29da2d['prototype']['commentThread']=null,_0x29da2d['create']=function(_0x54fa46){return new _0x29da2d(_0x54fa46);},_0x29da2d['encode']=function(_0x1ccee8,_0x2cfbb7,_0x353a61){if(_0x2cfbb7||(_0x2cfbb7=_0x5c509e['create']()),void 0x0===_0x353a61&&(_0x353a61=0x0),_0x353a61>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1ccee8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1ccee8,'commentThreadId')&&_0x2cfbb7['uint32'](0xa)['string'](_0x1ccee8['commentThreadId']),null!=_0x1ccee8['content']&&Object['hasOwnProperty']['call'](_0x1ccee8,'content')&&_0x2cfbb7['uint32'](0x12)['string'](_0x1ccee8['content']),null!=_0x1ccee8['documentId']&&Object['hasOwnProperty']['call'](_0x1ccee8,'documentId')&&_0x2cfbb7['uint32'](0x1a)['string'](_0x1ccee8['documentId']),null!=_0x1ccee8['commentId']&&Object['hasOwnProperty']['call'](_0x1ccee8,'commentId')&&_0x2cfbb7['uint32'](0x22)['string'](_0x1ccee8['commentId']),null!=_0x1ccee8['createdAt']&&Object['hasOwnProperty']['call'](_0x1ccee8,'createdAt')&&_0x2cfbb7['uint32'](0x2a)['string'](_0x1ccee8['createdAt']),null!=_0x1ccee8['userId']&&Object['hasOwnProperty']['call'](_0x1ccee8,'userId')&&_0x2cfbb7['uint32'](0x32)['string'](_0x1ccee8['userId']),null!=_0x1ccee8['attributes']&&Object['hasOwnProperty']['call'](_0x1ccee8,'attributes')&&_0x2cfbb7['uint32'](0x3a)['string'](_0x1ccee8['attributes']),null!=_0x1ccee8['commentThread']&&Object['hasOwnProperty']['call'](_0x1ccee8,'commentThread')&&_0x4f54f6['CommentsThreadDescriptor']['encode'](_0x1ccee8['commentThread'],_0x2cfbb7['uint32'](0x42)['fork'](),_0x353a61+0x1)['ldelim'](),_0x2cfbb7;},_0x29da2d['encodeDelimited']=function(_0x2b847f,_0x2853ac){return this['encode'](_0x2b847f,_0x2853ac)['ldelim']();},_0x29da2d['decode']=function(_0x2931c6,_0x190c6f,_0x3b737a,_0x454e63){if(_0x2931c6 instanceof _0x280c77||(_0x2931c6=_0x280c77['create'](_0x2931c6)),void 0x0===_0x454e63&&(_0x454e63=0x0),_0x454e63>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4dca12=void 0x0===_0x190c6f?_0x2931c6['len']:_0x2931c6['pos']+_0x190c6f,_0x2f43ab=new _0x4f54f6['CommentsV2AddCommentMessage']();_0x2931c6['pos']<_0x4dca12;){var _0x2afeb5=_0x2931c6['uint32']();if(_0x2afeb5===_0x3b737a)break;switch(_0x2afeb5>>>0x3){case 0x1:_0x2f43ab['commentThreadId']=_0x2931c6['string']();break;case 0x2:_0x2f43ab['content']=_0x2931c6['string']();break;case 0x3:_0x2f43ab['documentId']=_0x2931c6['string']();break;case 0x4:_0x2f43ab['commentId']=_0x2931c6['string']();break;case 0x5:_0x2f43ab['createdAt']=_0x2931c6['string']();break;case 0x6:_0x2f43ab['userId']=_0x2931c6['string']();break;case 0x7:_0x2f43ab['attributes']=_0x2931c6['string']();break;case 0x8:_0x2f43ab['commentThread']=_0x4f54f6['CommentsThreadDescriptor']['decode'](_0x2931c6,_0x2931c6['uint32'](),void 0x0,_0x454e63+0x1);break;default:_0x2931c6['skipType'](0x7&_0x2afeb5,_0x454e63);}}return _0x2f43ab;},_0x29da2d['decodeDelimited']=function(_0x3eadd8){return _0x3eadd8 instanceof _0x280c77||(_0x3eadd8=new _0x280c77(_0x3eadd8)),this['decode'](_0x3eadd8,_0x3eadd8['uint32']());},_0x29da2d['verify']=function(_0x4b03ea,_0x455580){if('object'!=typeof _0x4b03ea||null===_0x4b03ea)return'object\x20expected';if(void 0x0===_0x455580&&(_0x455580=0x0),_0x455580>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4b03ea['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4b03ea,'commentThreadId')&&!_0x1ca790['isString'](_0x4b03ea['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4b03ea['content']&&Object['hasOwnProperty']['call'](_0x4b03ea,'content')&&!_0x1ca790['isString'](_0x4b03ea['content']))return'content:\x20string\x20expected';if(null!=_0x4b03ea['documentId']&&Object['hasOwnProperty']['call'](_0x4b03ea,'documentId')&&!_0x1ca790['isString'](_0x4b03ea['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4b03ea['commentId']&&Object['hasOwnProperty']['call'](_0x4b03ea,'commentId')&&!_0x1ca790['isString'](_0x4b03ea['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x4b03ea['createdAt']&&Object['hasOwnProperty']['call'](_0x4b03ea,'createdAt')&&!_0x1ca790['isString'](_0x4b03ea['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4b03ea['userId']&&Object['hasOwnProperty']['call'](_0x4b03ea,'userId')&&!_0x1ca790['isString'](_0x4b03ea['userId']))return'userId:\x20string\x20expected';if(null!=_0x4b03ea['attributes']&&Object['hasOwnProperty']['call'](_0x4b03ea,'attributes')&&!_0x1ca790['isString'](_0x4b03ea['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4b03ea['commentThread']&&Object['hasOwnProperty']['call'](_0x4b03ea,'commentThread')){var _0x5d113c=_0x4f54f6['CommentsThreadDescriptor']['verify'](_0x4b03ea['commentThread'],_0x455580+0x1);if(_0x5d113c)return'commentThread.'+_0x5d113c;}return null;},_0x29da2d['fromObject']=function(_0x1cc62a,_0x13dd8e){if(_0x1cc62a instanceof _0x4f54f6['CommentsV2AddCommentMessage'])return _0x1cc62a;if(!_0x1ca790['isObject'](_0x1cc62a))throw TypeError('.CommentsV2AddCommentMessage:\x20object\x20expected');if(void 0x0===_0x13dd8e&&(_0x13dd8e=0x0),_0x13dd8e>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x400ca1=new _0x4f54f6['CommentsV2AddCommentMessage']();if(null!=_0x1cc62a['commentThreadId']&&(_0x400ca1['commentThreadId']=String(_0x1cc62a['commentThreadId'])),null!=_0x1cc62a['content']&&(_0x400ca1['content']=String(_0x1cc62a['content'])),null!=_0x1cc62a['documentId']&&(_0x400ca1['documentId']=String(_0x1cc62a['documentId'])),null!=_0x1cc62a['commentId']&&(_0x400ca1['commentId']=String(_0x1cc62a['commentId'])),null!=_0x1cc62a['createdAt']&&(_0x400ca1['createdAt']=String(_0x1cc62a['createdAt'])),null!=_0x1cc62a['userId']&&(_0x400ca1['userId']=String(_0x1cc62a['userId'])),null!=_0x1cc62a['attributes']&&(_0x400ca1['attributes']=String(_0x1cc62a['attributes'])),null!=_0x1cc62a['commentThread']){if(!_0x1ca790['isObject'](_0x1cc62a['commentThread']))throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x400ca1['commentThread']=_0x4f54f6['CommentsThreadDescriptor']['fromObject'](_0x1cc62a['commentThread'],_0x13dd8e+0x1);}return _0x400ca1;},_0x29da2d['toObject']=function(_0x55a751,_0x2eb1f2,_0x8fe10e){if(_0x2eb1f2||(_0x2eb1f2={}),void 0x0===_0x8fe10e&&(_0x8fe10e=0x0),_0x8fe10e>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x448874={};return _0x2eb1f2['defaults']&&(_0x448874['commentThreadId']='',_0x448874['content']='',_0x448874['documentId']='',_0x448874['commentId']='',_0x448874['createdAt']='',_0x448874['userId']='',_0x448874['attributes']='',_0x448874['commentThread']=null),null!=_0x55a751['commentThreadId']&&Object['hasOwnProperty']['call'](_0x55a751,'commentThreadId')&&(_0x448874['commentThreadId']=_0x55a751['commentThreadId']),null!=_0x55a751['content']&&Object['hasOwnProperty']['call'](_0x55a751,'content')&&(_0x448874['content']=_0x55a751['content']),null!=_0x55a751['documentId']&&Object['hasOwnProperty']['call'](_0x55a751,'documentId')&&(_0x448874['documentId']=_0x55a751['documentId']),null!=_0x55a751['commentId']&&Object['hasOwnProperty']['call'](_0x55a751,'commentId')&&(_0x448874['commentId']=_0x55a751['commentId']),null!=_0x55a751['createdAt']&&Object['hasOwnProperty']['call'](_0x55a751,'createdAt')&&(_0x448874['createdAt']=_0x55a751['createdAt']),null!=_0x55a751['userId']&&Object['hasOwnProperty']['call'](_0x55a751,'userId')&&(_0x448874['userId']=_0x55a751['userId']),null!=_0x55a751['attributes']&&Object['hasOwnProperty']['call'](_0x55a751,'attributes')&&(_0x448874['attributes']=_0x55a751['attributes']),null!=_0x55a751['commentThread']&&Object['hasOwnProperty']['call'](_0x55a751,'commentThread')&&(_0x448874['commentThread']=_0x4f54f6['CommentsThreadDescriptor']['toObject'](_0x55a751['commentThread'],_0x2eb1f2,_0x8fe10e+0x1)),_0x448874;},_0x29da2d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x29da2d['getTypeUrl']=function(_0x53a409){return void 0x0===_0x53a409&&(_0x53a409='type.googleapis.com'),_0x53a409+'/CommentsV2AddCommentMessage';},_0x29da2d;}()),_0x4f54f6['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x18e57a(_0x15cc95){if(_0x15cc95){for(var _0x3b62a8=Object['keys'](_0x15cc95),_0x4b8f2f=0x0;_0x4b8f2f<_0x3b62a8['length'];++_0x4b8f2f)null!=_0x15cc95[_0x3b62a8[_0x4b8f2f]]&&'__proto__'!==_0x3b62a8[_0x4b8f2f]&&(this[_0x3b62a8[_0x4b8f2f]]=_0x15cc95[_0x3b62a8[_0x4b8f2f]]);}}return _0x18e57a['prototype']['commentThreadId']='',_0x18e57a['prototype']['documentId']='',_0x18e57a['prototype']['context']='',_0x18e57a['prototype']['attributes']='',_0x18e57a['prototype']['unlinkedAt']='',_0x18e57a['create']=function(_0x80c798){return new _0x18e57a(_0x80c798);},_0x18e57a['encode']=function(_0x5230c0,_0xf35ab5,_0x1721c5){if(_0xf35ab5||(_0xf35ab5=_0x5c509e['create']()),void 0x0===_0x1721c5&&(_0x1721c5=0x0),_0x1721c5>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5230c0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5230c0,'commentThreadId')&&_0xf35ab5['uint32'](0xa)['string'](_0x5230c0['commentThreadId']),null!=_0x5230c0['documentId']&&Object['hasOwnProperty']['call'](_0x5230c0,'documentId')&&_0xf35ab5['uint32'](0x12)['string'](_0x5230c0['documentId']),null!=_0x5230c0['context']&&Object['hasOwnProperty']['call'](_0x5230c0,'context')&&_0xf35ab5['uint32'](0x1a)['string'](_0x5230c0['context']),null!=_0x5230c0['attributes']&&Object['hasOwnProperty']['call'](_0x5230c0,'attributes')&&_0xf35ab5['uint32'](0x22)['string'](_0x5230c0['attributes']),null!=_0x5230c0['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5230c0,'unlinkedAt')&&_0xf35ab5['uint32'](0x2a)['string'](_0x5230c0['unlinkedAt']),_0xf35ab5;},_0x18e57a['encodeDelimited']=function(_0x11df7e,_0x33f438){return this['encode'](_0x11df7e,_0x33f438)['ldelim']();},_0x18e57a['decode']=function(_0x39055b,_0x3fc1bd,_0x4c1bd9,_0xe7537e){if(_0x39055b instanceof _0x280c77||(_0x39055b=_0x280c77['create'](_0x39055b)),void 0x0===_0xe7537e&&(_0xe7537e=0x0),_0xe7537e>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5b53ac=void 0x0===_0x3fc1bd?_0x39055b['len']:_0x39055b['pos']+_0x3fc1bd,_0x5c1b67=new _0x4f54f6['CommentsV2UpdateCommentThreadMessage']();_0x39055b['pos']<_0x5b53ac;){var _0x3fcf65=_0x39055b['uint32']();if(_0x3fcf65===_0x4c1bd9)break;switch(_0x3fcf65>>>0x3){case 0x1:_0x5c1b67['commentThreadId']=_0x39055b['string']();break;case 0x2:_0x5c1b67['documentId']=_0x39055b['string']();break;case 0x3:_0x5c1b67['context']=_0x39055b['string']();break;case 0x4:_0x5c1b67['attributes']=_0x39055b['string']();break;case 0x5:_0x5c1b67['unlinkedAt']=_0x39055b['string']();break;default:_0x39055b['skipType'](0x7&_0x3fcf65,_0xe7537e);}}return _0x5c1b67;},_0x18e57a['decodeDelimited']=function(_0x101233){return _0x101233 instanceof _0x280c77||(_0x101233=new _0x280c77(_0x101233)),this['decode'](_0x101233,_0x101233['uint32']());},_0x18e57a['verify']=function(_0x9cd7d5,_0x1d2145){return'object'!=typeof _0x9cd7d5||null===_0x9cd7d5?'object\x20expected':(void 0x0===_0x1d2145&&(_0x1d2145=0x0),_0x1d2145>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x9cd7d5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x9cd7d5,'commentThreadId')&&!_0x1ca790['isString'](_0x9cd7d5['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x9cd7d5['documentId']&&Object['hasOwnProperty']['call'](_0x9cd7d5,'documentId')&&!_0x1ca790['isString'](_0x9cd7d5['documentId'])?'documentId:\x20string\x20expected':null!=_0x9cd7d5['context']&&Object['hasOwnProperty']['call'](_0x9cd7d5,'context')&&!_0x1ca790['isString'](_0x9cd7d5['context'])?'context:\x20string\x20expected':null!=_0x9cd7d5['attributes']&&Object['hasOwnProperty']['call'](_0x9cd7d5,'attributes')&&!_0x1ca790['isString'](_0x9cd7d5['attributes'])?'attributes:\x20string\x20expected':null!=_0x9cd7d5['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x9cd7d5,'unlinkedAt')&&!_0x1ca790['isString'](_0x9cd7d5['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},_0x18e57a['fromObject']=function(_0xbea306,_0x2634af){if(_0xbea306 instanceof _0x4f54f6['CommentsV2UpdateCommentThreadMessage'])return _0xbea306;if(!_0x1ca790['isObject'](_0xbea306))throw TypeError('.CommentsV2UpdateCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x2634af&&(_0x2634af=0x0),_0x2634af>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2a7ad5=new _0x4f54f6['CommentsV2UpdateCommentThreadMessage']();return null!=_0xbea306['commentThreadId']&&(_0x2a7ad5['commentThreadId']=String(_0xbea306['commentThreadId'])),null!=_0xbea306['documentId']&&(_0x2a7ad5['documentId']=String(_0xbea306['documentId'])),null!=_0xbea306['context']&&(_0x2a7ad5['context']=String(_0xbea306['context'])),null!=_0xbea306['attributes']&&(_0x2a7ad5['attributes']=String(_0xbea306['attributes'])),null!=_0xbea306['unlinkedAt']&&(_0x2a7ad5['unlinkedAt']=String(_0xbea306['unlinkedAt'])),_0x2a7ad5;},_0x18e57a['toObject']=function(_0x24fa76,_0x3992ea,_0x1ab4f1){if(_0x3992ea||(_0x3992ea={}),void 0x0===_0x1ab4f1&&(_0x1ab4f1=0x0),_0x1ab4f1>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x454041={};return _0x3992ea['defaults']&&(_0x454041['commentThreadId']='',_0x454041['documentId']='',_0x454041['context']='',_0x454041['attributes']='',_0x454041['unlinkedAt']=''),null!=_0x24fa76['commentThreadId']&&Object['hasOwnProperty']['call'](_0x24fa76,'commentThreadId')&&(_0x454041['commentThreadId']=_0x24fa76['commentThreadId']),null!=_0x24fa76['documentId']&&Object['hasOwnProperty']['call'](_0x24fa76,'documentId')&&(_0x454041['documentId']=_0x24fa76['documentId']),null!=_0x24fa76['context']&&Object['hasOwnProperty']['call'](_0x24fa76,'context')&&(_0x454041['context']=_0x24fa76['context']),null!=_0x24fa76['attributes']&&Object['hasOwnProperty']['call'](_0x24fa76,'attributes')&&(_0x454041['attributes']=_0x24fa76['attributes']),null!=_0x24fa76['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x24fa76,'unlinkedAt')&&(_0x454041['unlinkedAt']=_0x24fa76['unlinkedAt']),_0x454041;},_0x18e57a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x18e57a['getTypeUrl']=function(_0x35f5f2){return void 0x0===_0x35f5f2&&(_0x35f5f2='type.googleapis.com'),_0x35f5f2+'/CommentsV2UpdateCommentThreadMessage';},_0x18e57a;}()),_0x4f54f6['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x5d21e5(_0x226074){if(_0x226074){for(var _0x20cb2c=Object['keys'](_0x226074),_0x32f613=0x0;_0x32f613<_0x20cb2c['length'];++_0x32f613)null!=_0x226074[_0x20cb2c[_0x32f613]]&&'__proto__'!==_0x20cb2c[_0x32f613]&&(this[_0x20cb2c[_0x32f613]]=_0x226074[_0x20cb2c[_0x32f613]]);}}return _0x5d21e5['prototype']['commentThreadId']='',_0x5d21e5['prototype']['documentId']='',_0x5d21e5['prototype']['resolvedBy']='',_0x5d21e5['prototype']['resolvedAt']='',_0x5d21e5['create']=function(_0x3b08ed){return new _0x5d21e5(_0x3b08ed);},_0x5d21e5['encode']=function(_0x3331d4,_0x546860,_0x40b449){if(_0x546860||(_0x546860=_0x5c509e['create']()),void 0x0===_0x40b449&&(_0x40b449=0x0),_0x40b449>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3331d4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3331d4,'commentThreadId')&&_0x546860['uint32'](0xa)['string'](_0x3331d4['commentThreadId']),null!=_0x3331d4['documentId']&&Object['hasOwnProperty']['call'](_0x3331d4,'documentId')&&_0x546860['uint32'](0x12)['string'](_0x3331d4['documentId']),null!=_0x3331d4['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3331d4,'resolvedBy')&&_0x546860['uint32'](0x1a)['string'](_0x3331d4['resolvedBy']),null!=_0x3331d4['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3331d4,'resolvedAt')&&_0x546860['uint32'](0x22)['string'](_0x3331d4['resolvedAt']),_0x546860;},_0x5d21e5['encodeDelimited']=function(_0xe6bea0,_0x2a3761){return this['encode'](_0xe6bea0,_0x2a3761)['ldelim']();},_0x5d21e5['decode']=function(_0x274686,_0x2e7f5f,_0x395aa7,_0x2c651c){if(_0x274686 instanceof _0x280c77||(_0x274686=_0x280c77['create'](_0x274686)),void 0x0===_0x2c651c&&(_0x2c651c=0x0),_0x2c651c>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2fe715=void 0x0===_0x2e7f5f?_0x274686['len']:_0x274686['pos']+_0x2e7f5f,_0x4b7185=new _0x4f54f6['CommentsV2ResolveCommentThreadMessage']();_0x274686['pos']<_0x2fe715;){var _0x2d46dd=_0x274686['uint32']();if(_0x2d46dd===_0x395aa7)break;switch(_0x2d46dd>>>0x3){case 0x1:_0x4b7185['commentThreadId']=_0x274686['string']();break;case 0x2:_0x4b7185['documentId']=_0x274686['string']();break;case 0x3:_0x4b7185['resolvedBy']=_0x274686['string']();break;case 0x4:_0x4b7185['resolvedAt']=_0x274686['string']();break;default:_0x274686['skipType'](0x7&_0x2d46dd,_0x2c651c);}}return _0x4b7185;},_0x5d21e5['decodeDelimited']=function(_0x47c321){return _0x47c321 instanceof _0x280c77||(_0x47c321=new _0x280c77(_0x47c321)),this['decode'](_0x47c321,_0x47c321['uint32']());},_0x5d21e5['verify']=function(_0x5e310b,_0x103146){return'object'!=typeof _0x5e310b||null===_0x5e310b?'object\x20expected':(void 0x0===_0x103146&&(_0x103146=0x0),_0x103146>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5e310b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5e310b,'commentThreadId')&&!_0x1ca790['isString'](_0x5e310b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5e310b['documentId']&&Object['hasOwnProperty']['call'](_0x5e310b,'documentId')&&!_0x1ca790['isString'](_0x5e310b['documentId'])?'documentId:\x20string\x20expected':null!=_0x5e310b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5e310b,'resolvedBy')&&!_0x1ca790['isString'](_0x5e310b['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x5e310b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5e310b,'resolvedAt')&&!_0x1ca790['isString'](_0x5e310b['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},_0x5d21e5['fromObject']=function(_0x25458b,_0x2649a8){if(_0x25458b instanceof _0x4f54f6['CommentsV2ResolveCommentThreadMessage'])return _0x25458b;if(!_0x1ca790['isObject'](_0x25458b))throw TypeError('.CommentsV2ResolveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x2649a8&&(_0x2649a8=0x0),_0x2649a8>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1af903=new _0x4f54f6['CommentsV2ResolveCommentThreadMessage']();return null!=_0x25458b['commentThreadId']&&(_0x1af903['commentThreadId']=String(_0x25458b['commentThreadId'])),null!=_0x25458b['documentId']&&(_0x1af903['documentId']=String(_0x25458b['documentId'])),null!=_0x25458b['resolvedBy']&&(_0x1af903['resolvedBy']=String(_0x25458b['resolvedBy'])),null!=_0x25458b['resolvedAt']&&(_0x1af903['resolvedAt']=String(_0x25458b['resolvedAt'])),_0x1af903;},_0x5d21e5['toObject']=function(_0x3ab4dc,_0x300944,_0x4d0939){if(_0x300944||(_0x300944={}),void 0x0===_0x4d0939&&(_0x4d0939=0x0),_0x4d0939>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x164f74={};return _0x300944['defaults']&&(_0x164f74['commentThreadId']='',_0x164f74['documentId']='',_0x164f74['resolvedBy']='',_0x164f74['resolvedAt']=''),null!=_0x3ab4dc['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3ab4dc,'commentThreadId')&&(_0x164f74['commentThreadId']=_0x3ab4dc['commentThreadId']),null!=_0x3ab4dc['documentId']&&Object['hasOwnProperty']['call'](_0x3ab4dc,'documentId')&&(_0x164f74['documentId']=_0x3ab4dc['documentId']),null!=_0x3ab4dc['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3ab4dc,'resolvedBy')&&(_0x164f74['resolvedBy']=_0x3ab4dc['resolvedBy']),null!=_0x3ab4dc['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3ab4dc,'resolvedAt')&&(_0x164f74['resolvedAt']=_0x3ab4dc['resolvedAt']),_0x164f74;},_0x5d21e5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5d21e5['getTypeUrl']=function(_0x4473f2){return void 0x0===_0x4473f2&&(_0x4473f2='type.googleapis.com'),_0x4473f2+'/CommentsV2ResolveCommentThreadMessage';},_0x5d21e5;}()),_0x4f54f6['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x2e8042(_0x572477){if(_0x572477){for(var _0x374186=Object['keys'](_0x572477),_0x5e2315=0x0;_0x5e2315<_0x374186['length'];++_0x5e2315)null!=_0x572477[_0x374186[_0x5e2315]]&&'__proto__'!==_0x374186[_0x5e2315]&&(this[_0x374186[_0x5e2315]]=_0x572477[_0x374186[_0x5e2315]]);}}return _0x2e8042['prototype']['commentThreadId']='',_0x2e8042['prototype']['documentId']='',_0x2e8042['create']=function(_0x2c5759){return new _0x2e8042(_0x2c5759);},_0x2e8042['encode']=function(_0x1bbc72,_0x40d061,_0xa1345b){if(_0x40d061||(_0x40d061=_0x5c509e['create']()),void 0x0===_0xa1345b&&(_0xa1345b=0x0),_0xa1345b>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1bbc72['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1bbc72,'commentThreadId')&&_0x40d061['uint32'](0xa)['string'](_0x1bbc72['commentThreadId']),null!=_0x1bbc72['documentId']&&Object['hasOwnProperty']['call'](_0x1bbc72,'documentId')&&_0x40d061['uint32'](0x12)['string'](_0x1bbc72['documentId']),_0x40d061;},_0x2e8042['encodeDelimited']=function(_0x14b493,_0x5779d7){return this['encode'](_0x14b493,_0x5779d7)['ldelim']();},_0x2e8042['decode']=function(_0x2cc141,_0xb6d8be,_0x47fb76,_0x2dfd01){if(_0x2cc141 instanceof _0x280c77||(_0x2cc141=_0x280c77['create'](_0x2cc141)),void 0x0===_0x2dfd01&&(_0x2dfd01=0x0),_0x2dfd01>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3fdbb6=void 0x0===_0xb6d8be?_0x2cc141['len']:_0x2cc141['pos']+_0xb6d8be,_0x7fc88f=new _0x4f54f6['CommentsV2ReopenCommentThreadMessage']();_0x2cc141['pos']<_0x3fdbb6;){var _0x524be6=_0x2cc141['uint32']();if(_0x524be6===_0x47fb76)break;switch(_0x524be6>>>0x3){case 0x1:_0x7fc88f['commentThreadId']=_0x2cc141['string']();break;case 0x2:_0x7fc88f['documentId']=_0x2cc141['string']();break;default:_0x2cc141['skipType'](0x7&_0x524be6,_0x2dfd01);}}return _0x7fc88f;},_0x2e8042['decodeDelimited']=function(_0x498d6f){return _0x498d6f instanceof _0x280c77||(_0x498d6f=new _0x280c77(_0x498d6f)),this['decode'](_0x498d6f,_0x498d6f['uint32']());},_0x2e8042['verify']=function(_0x5ae928,_0x4e94ce){return'object'!=typeof _0x5ae928||null===_0x5ae928?'object\x20expected':(void 0x0===_0x4e94ce&&(_0x4e94ce=0x0),_0x4e94ce>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5ae928['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5ae928,'commentThreadId')&&!_0x1ca790['isString'](_0x5ae928['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5ae928['documentId']&&Object['hasOwnProperty']['call'](_0x5ae928,'documentId')&&!_0x1ca790['isString'](_0x5ae928['documentId'])?'documentId:\x20string\x20expected':null);},_0x2e8042['fromObject']=function(_0x13a869,_0x5a7e30){if(_0x13a869 instanceof _0x4f54f6['CommentsV2ReopenCommentThreadMessage'])return _0x13a869;if(!_0x1ca790['isObject'](_0x13a869))throw TypeError('.CommentsV2ReopenCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x5a7e30&&(_0x5a7e30=0x0),_0x5a7e30>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23555a=new _0x4f54f6['CommentsV2ReopenCommentThreadMessage']();return null!=_0x13a869['commentThreadId']&&(_0x23555a['commentThreadId']=String(_0x13a869['commentThreadId'])),null!=_0x13a869['documentId']&&(_0x23555a['documentId']=String(_0x13a869['documentId'])),_0x23555a;},_0x2e8042['toObject']=function(_0x18bcf6,_0x4bb2e2,_0x2de597){if(_0x4bb2e2||(_0x4bb2e2={}),void 0x0===_0x2de597&&(_0x2de597=0x0),_0x2de597>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x32cdd7={};return _0x4bb2e2['defaults']&&(_0x32cdd7['commentThreadId']='',_0x32cdd7['documentId']=''),null!=_0x18bcf6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x18bcf6,'commentThreadId')&&(_0x32cdd7['commentThreadId']=_0x18bcf6['commentThreadId']),null!=_0x18bcf6['documentId']&&Object['hasOwnProperty']['call'](_0x18bcf6,'documentId')&&(_0x32cdd7['documentId']=_0x18bcf6['documentId']),_0x32cdd7;},_0x2e8042['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x2e8042['getTypeUrl']=function(_0x359c69){return void 0x0===_0x359c69&&(_0x359c69='type.googleapis.com'),_0x359c69+'/CommentsV2ReopenCommentThreadMessage';},_0x2e8042;}()),_0x4f54f6['CommentsV2AddCommentThreadMessage']=(function(){function _0x4b1154(_0x59a36d){if(this['comments']=[],_0x59a36d){for(var _0x22da4d=Object['keys'](_0x59a36d),_0x3285b6=0x0;_0x3285b6<_0x22da4d['length'];++_0x3285b6)null!=_0x59a36d[_0x22da4d[_0x3285b6]]&&'__proto__'!==_0x22da4d[_0x3285b6]&&(this[_0x22da4d[_0x3285b6]]=_0x59a36d[_0x22da4d[_0x3285b6]]);}}return _0x4b1154['prototype']['documentId']='',_0x4b1154['prototype']['commentThreadId']='',_0x4b1154['prototype']['context']='',_0x4b1154['prototype']['createdAt']='',_0x4b1154['prototype']['resolvedAt']='',_0x4b1154['prototype']['resolvedBy']='',_0x4b1154['prototype']['attributes']='',_0x4b1154['prototype']['deletedAt']='',_0x4b1154['prototype']['comments']=_0x1ca790['emptyArray'],_0x4b1154['create']=function(_0x42bcc8){return new _0x4b1154(_0x42bcc8);},_0x4b1154['encode']=function(_0x137979,_0x8306e5,_0x44f1f2){if(_0x8306e5||(_0x8306e5=_0x5c509e['create']()),void 0x0===_0x44f1f2&&(_0x44f1f2=0x0),_0x44f1f2>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x137979['documentId']&&Object['hasOwnProperty']['call'](_0x137979,'documentId')&&_0x8306e5['uint32'](0xa)['string'](_0x137979['documentId']),null!=_0x137979['commentThreadId']&&Object['hasOwnProperty']['call'](_0x137979,'commentThreadId')&&_0x8306e5['uint32'](0x12)['string'](_0x137979['commentThreadId']),null!=_0x137979['context']&&Object['hasOwnProperty']['call'](_0x137979,'context')&&_0x8306e5['uint32'](0x1a)['string'](_0x137979['context']),null!=_0x137979['createdAt']&&Object['hasOwnProperty']['call'](_0x137979,'createdAt')&&_0x8306e5['uint32'](0x22)['string'](_0x137979['createdAt']),null!=_0x137979['resolvedAt']&&Object['hasOwnProperty']['call'](_0x137979,'resolvedAt')&&_0x8306e5['uint32'](0x2a)['string'](_0x137979['resolvedAt']),null!=_0x137979['resolvedBy']&&Object['hasOwnProperty']['call'](_0x137979,'resolvedBy')&&_0x8306e5['uint32'](0x32)['string'](_0x137979['resolvedBy']),null!=_0x137979['attributes']&&Object['hasOwnProperty']['call'](_0x137979,'attributes')&&_0x8306e5['uint32'](0x3a)['string'](_0x137979['attributes']),null!=_0x137979['deletedAt']&&Object['hasOwnProperty']['call'](_0x137979,'deletedAt')&&_0x8306e5['uint32'](0x42)['string'](_0x137979['deletedAt']),null!=_0x137979['comments']&&_0x137979['comments']['length']){for(var _0x350cbe=0x0;_0x350cbe<_0x137979['comments']['length'];++_0x350cbe)_0x4f54f6['CommentDescriptor']['encode'](_0x137979['comments'][_0x350cbe],_0x8306e5['uint32'](0x4a)['fork'](),_0x44f1f2+0x1)['ldelim']();}return _0x8306e5;},_0x4b1154['encodeDelimited']=function(_0x4eba7f,_0x3e350e){return this['encode'](_0x4eba7f,_0x3e350e)['ldelim']();},_0x4b1154['decode']=function(_0x59a80f,_0x255eeb,_0x642d4f,_0x19c98f){if(_0x59a80f instanceof _0x280c77||(_0x59a80f=_0x280c77['create'](_0x59a80f)),void 0x0===_0x19c98f&&(_0x19c98f=0x0),_0x19c98f>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x82e97b=void 0x0===_0x255eeb?_0x59a80f['len']:_0x59a80f['pos']+_0x255eeb,_0x347dec=new _0x4f54f6['CommentsV2AddCommentThreadMessage']();_0x59a80f['pos']<_0x82e97b;){var _0x4548c5=_0x59a80f['uint32']();if(_0x4548c5===_0x642d4f)break;switch(_0x4548c5>>>0x3){case 0x1:_0x347dec['documentId']=_0x59a80f['string']();break;case 0x2:_0x347dec['commentThreadId']=_0x59a80f['string']();break;case 0x3:_0x347dec['context']=_0x59a80f['string']();break;case 0x4:_0x347dec['createdAt']=_0x59a80f['string']();break;case 0x5:_0x347dec['resolvedAt']=_0x59a80f['string']();break;case 0x6:_0x347dec['resolvedBy']=_0x59a80f['string']();break;case 0x7:_0x347dec['attributes']=_0x59a80f['string']();break;case 0x8:_0x347dec['deletedAt']=_0x59a80f['string']();break;case 0x9:_0x347dec['comments']&&_0x347dec['comments']['length']||(_0x347dec['comments']=[]),_0x347dec['comments']['push'](_0x4f54f6['CommentDescriptor']['decode'](_0x59a80f,_0x59a80f['uint32'](),void 0x0,_0x19c98f+0x1));break;default:_0x59a80f['skipType'](0x7&_0x4548c5,_0x19c98f);}}return _0x347dec;},_0x4b1154['decodeDelimited']=function(_0x4968d0){return _0x4968d0 instanceof _0x280c77||(_0x4968d0=new _0x280c77(_0x4968d0)),this['decode'](_0x4968d0,_0x4968d0['uint32']());},_0x4b1154['verify']=function(_0x1e2618,_0x123b9c){if('object'!=typeof _0x1e2618||null===_0x1e2618)return'object\x20expected';if(void 0x0===_0x123b9c&&(_0x123b9c=0x0),_0x123b9c>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1e2618['documentId']&&Object['hasOwnProperty']['call'](_0x1e2618,'documentId')&&!_0x1ca790['isString'](_0x1e2618['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x1e2618['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1e2618,'commentThreadId')&&!_0x1ca790['isString'](_0x1e2618['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x1e2618['context']&&Object['hasOwnProperty']['call'](_0x1e2618,'context')&&!_0x1ca790['isString'](_0x1e2618['context']))return'context:\x20string\x20expected';if(null!=_0x1e2618['createdAt']&&Object['hasOwnProperty']['call'](_0x1e2618,'createdAt')&&!_0x1ca790['isString'](_0x1e2618['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x1e2618['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1e2618,'resolvedAt')&&!_0x1ca790['isString'](_0x1e2618['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x1e2618['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1e2618,'resolvedBy')&&!_0x1ca790['isString'](_0x1e2618['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x1e2618['attributes']&&Object['hasOwnProperty']['call'](_0x1e2618,'attributes')&&!_0x1ca790['isString'](_0x1e2618['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x1e2618['deletedAt']&&Object['hasOwnProperty']['call'](_0x1e2618,'deletedAt')&&!_0x1ca790['isString'](_0x1e2618['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x1e2618['comments']&&Object['hasOwnProperty']['call'](_0x1e2618,'comments')){if(!Array['isArray'](_0x1e2618['comments']))return'comments:\x20array\x20expected';for(var _0xeeb389=0x0;_0xeeb389<_0x1e2618['comments']['length'];++_0xeeb389){var _0x293b7d=_0x4f54f6['CommentDescriptor']['verify'](_0x1e2618['comments'][_0xeeb389],_0x123b9c+0x1);if(_0x293b7d)return'comments.'+_0x293b7d;}}return null;},_0x4b1154['fromObject']=function(_0xb789f4,_0x4e65ef){if(_0xb789f4 instanceof _0x4f54f6['CommentsV2AddCommentThreadMessage'])return _0xb789f4;if(!_0x1ca790['isObject'](_0xb789f4))throw TypeError('.CommentsV2AddCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x4e65ef&&(_0x4e65ef=0x0),_0x4e65ef>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1de40c=new _0x4f54f6['CommentsV2AddCommentThreadMessage']();if(null!=_0xb789f4['documentId']&&(_0x1de40c['documentId']=String(_0xb789f4['documentId'])),null!=_0xb789f4['commentThreadId']&&(_0x1de40c['commentThreadId']=String(_0xb789f4['commentThreadId'])),null!=_0xb789f4['context']&&(_0x1de40c['context']=String(_0xb789f4['context'])),null!=_0xb789f4['createdAt']&&(_0x1de40c['createdAt']=String(_0xb789f4['createdAt'])),null!=_0xb789f4['resolvedAt']&&(_0x1de40c['resolvedAt']=String(_0xb789f4['resolvedAt'])),null!=_0xb789f4['resolvedBy']&&(_0x1de40c['resolvedBy']=String(_0xb789f4['resolvedBy'])),null!=_0xb789f4['attributes']&&(_0x1de40c['attributes']=String(_0xb789f4['attributes'])),null!=_0xb789f4['deletedAt']&&(_0x1de40c['deletedAt']=String(_0xb789f4['deletedAt'])),_0xb789f4['comments']){if(!Array['isArray'](_0xb789f4['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x1de40c['comments']=[];for(var _0x4ae0a7=0x0;_0x4ae0a7<_0xb789f4['comments']['length'];++_0x4ae0a7){if(!_0x1ca790['isObject'](_0xb789f4['comments'][_0x4ae0a7]))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x1de40c['comments'][_0x4ae0a7]=_0x4f54f6['CommentDescriptor']['fromObject'](_0xb789f4['comments'][_0x4ae0a7],_0x4e65ef+0x1);}}return _0x1de40c;},_0x4b1154['toObject']=function(_0x2f6e01,_0x4fea69,_0x1483d9){if(_0x4fea69||(_0x4fea69={}),void 0x0===_0x1483d9&&(_0x1483d9=0x0),_0x1483d9>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4e528a={};if((_0x4fea69['arrays']||_0x4fea69['defaults'])&&(_0x4e528a['comments']=[]),_0x4fea69['defaults']&&(_0x4e528a['documentId']='',_0x4e528a['commentThreadId']='',_0x4e528a['context']='',_0x4e528a['createdAt']='',_0x4e528a['resolvedAt']='',_0x4e528a['resolvedBy']='',_0x4e528a['attributes']='',_0x4e528a['deletedAt']=''),null!=_0x2f6e01['documentId']&&Object['hasOwnProperty']['call'](_0x2f6e01,'documentId')&&(_0x4e528a['documentId']=_0x2f6e01['documentId']),null!=_0x2f6e01['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2f6e01,'commentThreadId')&&(_0x4e528a['commentThreadId']=_0x2f6e01['commentThreadId']),null!=_0x2f6e01['context']&&Object['hasOwnProperty']['call'](_0x2f6e01,'context')&&(_0x4e528a['context']=_0x2f6e01['context']),null!=_0x2f6e01['createdAt']&&Object['hasOwnProperty']['call'](_0x2f6e01,'createdAt')&&(_0x4e528a['createdAt']=_0x2f6e01['createdAt']),null!=_0x2f6e01['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2f6e01,'resolvedAt')&&(_0x4e528a['resolvedAt']=_0x2f6e01['resolvedAt']),null!=_0x2f6e01['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2f6e01,'resolvedBy')&&(_0x4e528a['resolvedBy']=_0x2f6e01['resolvedBy']),null!=_0x2f6e01['attributes']&&Object['hasOwnProperty']['call'](_0x2f6e01,'attributes')&&(_0x4e528a['attributes']=_0x2f6e01['attributes']),null!=_0x2f6e01['deletedAt']&&Object['hasOwnProperty']['call'](_0x2f6e01,'deletedAt')&&(_0x4e528a['deletedAt']=_0x2f6e01['deletedAt']),_0x2f6e01['comments']&&_0x2f6e01['comments']['length']){_0x4e528a['comments']=[];for(var _0x5c156f=0x0;_0x5c156f<_0x2f6e01['comments']['length'];++_0x5c156f)_0x4e528a['comments'][_0x5c156f]=_0x4f54f6['CommentDescriptor']['toObject'](_0x2f6e01['comments'][_0x5c156f],_0x4fea69,_0x1483d9+0x1);}return _0x4e528a;},_0x4b1154['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x4b1154['getTypeUrl']=function(_0x3ceea9){return void 0x0===_0x3ceea9&&(_0x3ceea9='type.googleapis.com'),_0x3ceea9+'/CommentsV2AddCommentThreadMessage';},_0x4b1154;}()),_0x4f54f6['CommentThreadAddedCommentDescriptor']=(function(){function _0x5afbab(_0x171a7b){if(_0x171a7b){for(var _0x55f674=Object['keys'](_0x171a7b),_0x4da1a6=0x0;_0x4da1a6<_0x55f674['length'];++_0x4da1a6)null!=_0x171a7b[_0x55f674[_0x4da1a6]]&&'__proto__'!==_0x55f674[_0x4da1a6]&&(this[_0x55f674[_0x4da1a6]]=_0x171a7b[_0x55f674[_0x4da1a6]]);}}return _0x5afbab['prototype']['commentId']='',_0x5afbab['prototype']['createdAt']='',_0x5afbab['create']=function(_0x4886c5){return new _0x5afbab(_0x4886c5);},_0x5afbab['encode']=function(_0x2fdc55,_0xb67a1f,_0x2e9f67){if(_0xb67a1f||(_0xb67a1f=_0x5c509e['create']()),void 0x0===_0x2e9f67&&(_0x2e9f67=0x0),_0x2e9f67>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2fdc55['commentId']&&Object['hasOwnProperty']['call'](_0x2fdc55,'commentId')&&_0xb67a1f['uint32'](0xa)['string'](_0x2fdc55['commentId']),null!=_0x2fdc55['createdAt']&&Object['hasOwnProperty']['call'](_0x2fdc55,'createdAt')&&_0xb67a1f['uint32'](0x12)['string'](_0x2fdc55['createdAt']),_0xb67a1f;},_0x5afbab['encodeDelimited']=function(_0x5e4282,_0xd9daf6){return this['encode'](_0x5e4282,_0xd9daf6)['ldelim']();},_0x5afbab['decode']=function(_0x2965bd,_0x47894f,_0xaedc82,_0x43ed00){if(_0x2965bd instanceof _0x280c77||(_0x2965bd=_0x280c77['create'](_0x2965bd)),void 0x0===_0x43ed00&&(_0x43ed00=0x0),_0x43ed00>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1614b6=void 0x0===_0x47894f?_0x2965bd['len']:_0x2965bd['pos']+_0x47894f,_0x53fc85=new _0x4f54f6['CommentThreadAddedCommentDescriptor']();_0x2965bd['pos']<_0x1614b6;){var _0x258e51=_0x2965bd['uint32']();if(_0x258e51===_0xaedc82)break;switch(_0x258e51>>>0x3){case 0x1:_0x53fc85['commentId']=_0x2965bd['string']();break;case 0x2:_0x53fc85['createdAt']=_0x2965bd['string']();break;default:_0x2965bd['skipType'](0x7&_0x258e51,_0x43ed00);}}return _0x53fc85;},_0x5afbab['decodeDelimited']=function(_0xf32c8b){return _0xf32c8b instanceof _0x280c77||(_0xf32c8b=new _0x280c77(_0xf32c8b)),this['decode'](_0xf32c8b,_0xf32c8b['uint32']());},_0x5afbab['verify']=function(_0x403e34,_0xeec5a){return'object'!=typeof _0x403e34||null===_0x403e34?'object\x20expected':(void 0x0===_0xeec5a&&(_0xeec5a=0x0),_0xeec5a>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x403e34['commentId']&&Object['hasOwnProperty']['call'](_0x403e34,'commentId')&&!_0x1ca790['isString'](_0x403e34['commentId'])?'commentId:\x20string\x20expected':null!=_0x403e34['createdAt']&&Object['hasOwnProperty']['call'](_0x403e34,'createdAt')&&!_0x1ca790['isString'](_0x403e34['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x5afbab['fromObject']=function(_0xf2216a,_0xc1ecdd){if(_0xf2216a instanceof _0x4f54f6['CommentThreadAddedCommentDescriptor'])return _0xf2216a;if(!_0x1ca790['isObject'](_0xf2216a))throw TypeError('.CommentThreadAddedCommentDescriptor:\x20object\x20expected');if(void 0x0===_0xc1ecdd&&(_0xc1ecdd=0x0),_0xc1ecdd>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x452e3a=new _0x4f54f6['CommentThreadAddedCommentDescriptor']();return null!=_0xf2216a['commentId']&&(_0x452e3a['commentId']=String(_0xf2216a['commentId'])),null!=_0xf2216a['createdAt']&&(_0x452e3a['createdAt']=String(_0xf2216a['createdAt'])),_0x452e3a;},_0x5afbab['toObject']=function(_0x2386ff,_0x581d59,_0xce6aee){if(_0x581d59||(_0x581d59={}),void 0x0===_0xce6aee&&(_0xce6aee=0x0),_0xce6aee>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x127744={};return _0x581d59['defaults']&&(_0x127744['commentId']='',_0x127744['createdAt']=''),null!=_0x2386ff['commentId']&&Object['hasOwnProperty']['call'](_0x2386ff,'commentId')&&(_0x127744['commentId']=_0x2386ff['commentId']),null!=_0x2386ff['createdAt']&&Object['hasOwnProperty']['call'](_0x2386ff,'createdAt')&&(_0x127744['createdAt']=_0x2386ff['createdAt']),_0x127744;},_0x5afbab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5afbab['getTypeUrl']=function(_0x3d0dfc){return void 0x0===_0x3d0dfc&&(_0x3d0dfc='type.googleapis.com'),_0x3d0dfc+'/CommentThreadAddedCommentDescriptor';},_0x5afbab;}()),_0x4f54f6['CommentsThreadDescriptor']=(function(){function _0x181913(_0x294ad1){if(this['comments']=[],_0x294ad1){for(var _0x342449=Object['keys'](_0x294ad1),_0x1824cb=0x0;_0x1824cb<_0x342449['length'];++_0x1824cb)null!=_0x294ad1[_0x342449[_0x1824cb]]&&'__proto__'!==_0x342449[_0x1824cb]&&(this[_0x342449[_0x1824cb]]=_0x294ad1[_0x342449[_0x1824cb]]);}}return _0x181913['prototype']['commentThreadId']='',_0x181913['prototype']['comments']=_0x1ca790['emptyArray'],_0x181913['prototype']['resolvedAt']='',_0x181913['prototype']['resolvedBy']='',_0x181913['prototype']['context']='',_0x181913['prototype']['createdAt']='',_0x181913['prototype']['deletedAt']='',_0x181913['prototype']['attributes']='',_0x181913['prototype']['unlinkedAt']='',_0x181913['create']=function(_0x13aeec){return new _0x181913(_0x13aeec);},_0x181913['encode']=function(_0x4f231f,_0x1101ed,_0x27b00b){if(_0x1101ed||(_0x1101ed=_0x5c509e['create']()),void 0x0===_0x27b00b&&(_0x27b00b=0x0),_0x27b00b>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4f231f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4f231f,'commentThreadId')&&_0x1101ed['uint32'](0xa)['string'](_0x4f231f['commentThreadId']),null!=_0x4f231f['comments']&&_0x4f231f['comments']['length']){for(var _0x3640e9=0x0;_0x3640e9<_0x4f231f['comments']['length'];++_0x3640e9)_0x4f54f6['CommentDescriptor']['encode'](_0x4f231f['comments'][_0x3640e9],_0x1101ed['uint32'](0x12)['fork'](),_0x27b00b+0x1)['ldelim']();}return null!=_0x4f231f['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4f231f,'resolvedAt')&&_0x1101ed['uint32'](0x1a)['string'](_0x4f231f['resolvedAt']),null!=_0x4f231f['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4f231f,'resolvedBy')&&_0x1101ed['uint32'](0x22)['string'](_0x4f231f['resolvedBy']),null!=_0x4f231f['context']&&Object['hasOwnProperty']['call'](_0x4f231f,'context')&&_0x1101ed['uint32'](0x2a)['string'](_0x4f231f['context']),null!=_0x4f231f['createdAt']&&Object['hasOwnProperty']['call'](_0x4f231f,'createdAt')&&_0x1101ed['uint32'](0x32)['string'](_0x4f231f['createdAt']),null!=_0x4f231f['deletedAt']&&Object['hasOwnProperty']['call'](_0x4f231f,'deletedAt')&&_0x1101ed['uint32'](0x3a)['string'](_0x4f231f['deletedAt']),null!=_0x4f231f['attributes']&&Object['hasOwnProperty']['call'](_0x4f231f,'attributes')&&_0x1101ed['uint32'](0x42)['string'](_0x4f231f['attributes']),null!=_0x4f231f['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x4f231f,'unlinkedAt')&&_0x1101ed['uint32'](0x4a)['string'](_0x4f231f['unlinkedAt']),_0x1101ed;},_0x181913['encodeDelimited']=function(_0x4e9917,_0x4aceb8){return this['encode'](_0x4e9917,_0x4aceb8)['ldelim']();},_0x181913['decode']=function(_0x4e67d7,_0x4d8fe6,_0x360370,_0x285255){if(_0x4e67d7 instanceof _0x280c77||(_0x4e67d7=_0x280c77['create'](_0x4e67d7)),void 0x0===_0x285255&&(_0x285255=0x0),_0x285255>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x6b9940=void 0x0===_0x4d8fe6?_0x4e67d7['len']:_0x4e67d7['pos']+_0x4d8fe6,_0x8a501d=new _0x4f54f6['CommentsThreadDescriptor']();_0x4e67d7['pos']<_0x6b9940;){var _0x2533d8=_0x4e67d7['uint32']();if(_0x2533d8===_0x360370)break;switch(_0x2533d8>>>0x3){case 0x1:_0x8a501d['commentThreadId']=_0x4e67d7['string']();break;case 0x2:_0x8a501d['comments']&&_0x8a501d['comments']['length']||(_0x8a501d['comments']=[]),_0x8a501d['comments']['push'](_0x4f54f6['CommentDescriptor']['decode'](_0x4e67d7,_0x4e67d7['uint32'](),void 0x0,_0x285255+0x1));break;case 0x3:_0x8a501d['resolvedAt']=_0x4e67d7['string']();break;case 0x4:_0x8a501d['resolvedBy']=_0x4e67d7['string']();break;case 0x5:_0x8a501d['context']=_0x4e67d7['string']();break;case 0x6:_0x8a501d['createdAt']=_0x4e67d7['string']();break;case 0x7:_0x8a501d['deletedAt']=_0x4e67d7['string']();break;case 0x8:_0x8a501d['attributes']=_0x4e67d7['string']();break;case 0x9:_0x8a501d['unlinkedAt']=_0x4e67d7['string']();break;default:_0x4e67d7['skipType'](0x7&_0x2533d8,_0x285255);}}return _0x8a501d;},_0x181913['decodeDelimited']=function(_0x209fdf){return _0x209fdf instanceof _0x280c77||(_0x209fdf=new _0x280c77(_0x209fdf)),this['decode'](_0x209fdf,_0x209fdf['uint32']());},_0x181913['verify']=function(_0x371222,_0x17bd9f){if('object'!=typeof _0x371222||null===_0x371222)return'object\x20expected';if(void 0x0===_0x17bd9f&&(_0x17bd9f=0x0),_0x17bd9f>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x371222['commentThreadId']&&Object['hasOwnProperty']['call'](_0x371222,'commentThreadId')&&!_0x1ca790['isString'](_0x371222['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x371222['comments']&&Object['hasOwnProperty']['call'](_0x371222,'comments')){if(!Array['isArray'](_0x371222['comments']))return'comments:\x20array\x20expected';for(var _0x2a22c8=0x0;_0x2a22c8<_0x371222['comments']['length'];++_0x2a22c8){var _0xbc36dc=_0x4f54f6['CommentDescriptor']['verify'](_0x371222['comments'][_0x2a22c8],_0x17bd9f+0x1);if(_0xbc36dc)return'comments.'+_0xbc36dc;}}return null!=_0x371222['resolvedAt']&&Object['hasOwnProperty']['call'](_0x371222,'resolvedAt')&&!_0x1ca790['isString'](_0x371222['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x371222['resolvedBy']&&Object['hasOwnProperty']['call'](_0x371222,'resolvedBy')&&!_0x1ca790['isString'](_0x371222['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x371222['context']&&Object['hasOwnProperty']['call'](_0x371222,'context')&&!_0x1ca790['isString'](_0x371222['context'])?'context:\x20string\x20expected':null!=_0x371222['createdAt']&&Object['hasOwnProperty']['call'](_0x371222,'createdAt')&&!_0x1ca790['isString'](_0x371222['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x371222['deletedAt']&&Object['hasOwnProperty']['call'](_0x371222,'deletedAt')&&!_0x1ca790['isString'](_0x371222['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x371222['attributes']&&Object['hasOwnProperty']['call'](_0x371222,'attributes')&&!_0x1ca790['isString'](_0x371222['attributes'])?'attributes:\x20string\x20expected':null!=_0x371222['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x371222,'unlinkedAt')&&!_0x1ca790['isString'](_0x371222['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x181913['fromObject']=function(_0x14de17,_0x2a6866){if(_0x14de17 instanceof _0x4f54f6['CommentsThreadDescriptor'])return _0x14de17;if(!_0x1ca790['isObject'](_0x14de17))throw TypeError('.CommentsThreadDescriptor:\x20object\x20expected');if(void 0x0===_0x2a6866&&(_0x2a6866=0x0),_0x2a6866>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x12fc06=new _0x4f54f6['CommentsThreadDescriptor']();if(null!=_0x14de17['commentThreadId']&&(_0x12fc06['commentThreadId']=String(_0x14de17['commentThreadId'])),_0x14de17['comments']){if(!Array['isArray'](_0x14de17['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x12fc06['comments']=[];for(var _0x5489a5=0x0;_0x5489a5<_0x14de17['comments']['length'];++_0x5489a5){if(!_0x1ca790['isObject'](_0x14de17['comments'][_0x5489a5]))throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x12fc06['comments'][_0x5489a5]=_0x4f54f6['CommentDescriptor']['fromObject'](_0x14de17['comments'][_0x5489a5],_0x2a6866+0x1);}}return null!=_0x14de17['resolvedAt']&&(_0x12fc06['resolvedAt']=String(_0x14de17['resolvedAt'])),null!=_0x14de17['resolvedBy']&&(_0x12fc06['resolvedBy']=String(_0x14de17['resolvedBy'])),null!=_0x14de17['context']&&(_0x12fc06['context']=String(_0x14de17['context'])),null!=_0x14de17['createdAt']&&(_0x12fc06['createdAt']=String(_0x14de17['createdAt'])),null!=_0x14de17['deletedAt']&&(_0x12fc06['deletedAt']=String(_0x14de17['deletedAt'])),null!=_0x14de17['attributes']&&(_0x12fc06['attributes']=String(_0x14de17['attributes'])),null!=_0x14de17['unlinkedAt']&&(_0x12fc06['unlinkedAt']=String(_0x14de17['unlinkedAt'])),_0x12fc06;},_0x181913['toObject']=function(_0xb2d532,_0x3b4dd1,_0x452932){if(_0x3b4dd1||(_0x3b4dd1={}),void 0x0===_0x452932&&(_0x452932=0x0),_0x452932>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1371c5={};if((_0x3b4dd1['arrays']||_0x3b4dd1['defaults'])&&(_0x1371c5['comments']=[]),_0x3b4dd1['defaults']&&(_0x1371c5['commentThreadId']='',_0x1371c5['resolvedAt']='',_0x1371c5['resolvedBy']='',_0x1371c5['context']='',_0x1371c5['createdAt']='',_0x1371c5['deletedAt']='',_0x1371c5['attributes']='',_0x1371c5['unlinkedAt']=''),null!=_0xb2d532['commentThreadId']&&Object['hasOwnProperty']['call'](_0xb2d532,'commentThreadId')&&(_0x1371c5['commentThreadId']=_0xb2d532['commentThreadId']),_0xb2d532['comments']&&_0xb2d532['comments']['length']){_0x1371c5['comments']=[];for(var _0x93f694=0x0;_0x93f694<_0xb2d532['comments']['length'];++_0x93f694)_0x1371c5['comments'][_0x93f694]=_0x4f54f6['CommentDescriptor']['toObject'](_0xb2d532['comments'][_0x93f694],_0x3b4dd1,_0x452932+0x1);}return null!=_0xb2d532['resolvedAt']&&Object['hasOwnProperty']['call'](_0xb2d532,'resolvedAt')&&(_0x1371c5['resolvedAt']=_0xb2d532['resolvedAt']),null!=_0xb2d532['resolvedBy']&&Object['hasOwnProperty']['call'](_0xb2d532,'resolvedBy')&&(_0x1371c5['resolvedBy']=_0xb2d532['resolvedBy']),null!=_0xb2d532['context']&&Object['hasOwnProperty']['call'](_0xb2d532,'context')&&(_0x1371c5['context']=_0xb2d532['context']),null!=_0xb2d532['createdAt']&&Object['hasOwnProperty']['call'](_0xb2d532,'createdAt')&&(_0x1371c5['createdAt']=_0xb2d532['createdAt']),null!=_0xb2d532['deletedAt']&&Object['hasOwnProperty']['call'](_0xb2d532,'deletedAt')&&(_0x1371c5['deletedAt']=_0xb2d532['deletedAt']),null!=_0xb2d532['attributes']&&Object['hasOwnProperty']['call'](_0xb2d532,'attributes')&&(_0x1371c5['attributes']=_0xb2d532['attributes']),null!=_0xb2d532['unlinkedAt']&&Object['hasOwnProperty']['call'](_0xb2d532,'unlinkedAt')&&(_0x1371c5['unlinkedAt']=_0xb2d532['unlinkedAt']),_0x1371c5;},_0x181913['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x181913['getTypeUrl']=function(_0x433149){return void 0x0===_0x433149&&(_0x433149='type.googleapis.com'),_0x433149+'/CommentsThreadDescriptor';},_0x181913;}()),_0x4f54f6['CommentDescriptor']=(function(){function _0x396779(_0xa25c19){if(_0xa25c19){for(var _0x5c24d0=Object['keys'](_0xa25c19),_0x3c0c81=0x0;_0x3c0c81<_0x5c24d0['length'];++_0x3c0c81)null!=_0xa25c19[_0x5c24d0[_0x3c0c81]]&&'__proto__'!==_0x5c24d0[_0x3c0c81]&&(this[_0x5c24d0[_0x3c0c81]]=_0xa25c19[_0x5c24d0[_0x3c0c81]]);}}return _0x396779['prototype']['commentId']='',_0x396779['prototype']['commentThreadId']='',_0x396779['prototype']['userId']='',_0x396779['prototype']['content']='',_0x396779['prototype']['documentId']='',_0x396779['prototype']['createdAt']='',_0x396779['prototype']['attributes']='',_0x396779['create']=function(_0x1287cc){return new _0x396779(_0x1287cc);},_0x396779['encode']=function(_0x463611,_0x4bfa55,_0x2725cb){if(_0x4bfa55||(_0x4bfa55=_0x5c509e['create']()),void 0x0===_0x2725cb&&(_0x2725cb=0x0),_0x2725cb>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x463611['commentId']&&Object['hasOwnProperty']['call'](_0x463611,'commentId')&&_0x4bfa55['uint32'](0xa)['string'](_0x463611['commentId']),null!=_0x463611['commentThreadId']&&Object['hasOwnProperty']['call'](_0x463611,'commentThreadId')&&_0x4bfa55['uint32'](0x12)['string'](_0x463611['commentThreadId']),null!=_0x463611['userId']&&Object['hasOwnProperty']['call'](_0x463611,'userId')&&_0x4bfa55['uint32'](0x1a)['string'](_0x463611['userId']),null!=_0x463611['content']&&Object['hasOwnProperty']['call'](_0x463611,'content')&&_0x4bfa55['uint32'](0x22)['string'](_0x463611['content']),null!=_0x463611['documentId']&&Object['hasOwnProperty']['call'](_0x463611,'documentId')&&_0x4bfa55['uint32'](0x2a)['string'](_0x463611['documentId']),null!=_0x463611['createdAt']&&Object['hasOwnProperty']['call'](_0x463611,'createdAt')&&_0x4bfa55['uint32'](0x32)['string'](_0x463611['createdAt']),null!=_0x463611['attributes']&&Object['hasOwnProperty']['call'](_0x463611,'attributes')&&_0x4bfa55['uint32'](0x3a)['string'](_0x463611['attributes']),_0x4bfa55;},_0x396779['encodeDelimited']=function(_0x161df2,_0x466fff){return this['encode'](_0x161df2,_0x466fff)['ldelim']();},_0x396779['decode']=function(_0x18e5bd,_0x3d2b8b,_0x3056ea,_0x3b8679){if(_0x18e5bd instanceof _0x280c77||(_0x18e5bd=_0x280c77['create'](_0x18e5bd)),void 0x0===_0x3b8679&&(_0x3b8679=0x0),_0x3b8679>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x13fdae=void 0x0===_0x3d2b8b?_0x18e5bd['len']:_0x18e5bd['pos']+_0x3d2b8b,_0x571217=new _0x4f54f6['CommentDescriptor']();_0x18e5bd['pos']<_0x13fdae;){var _0x5d464c=_0x18e5bd['uint32']();if(_0x5d464c===_0x3056ea)break;switch(_0x5d464c>>>0x3){case 0x1:_0x571217['commentId']=_0x18e5bd['string']();break;case 0x2:_0x571217['commentThreadId']=_0x18e5bd['string']();break;case 0x3:_0x571217['userId']=_0x18e5bd['string']();break;case 0x4:_0x571217['content']=_0x18e5bd['string']();break;case 0x5:_0x571217['documentId']=_0x18e5bd['string']();break;case 0x6:_0x571217['createdAt']=_0x18e5bd['string']();break;case 0x7:_0x571217['attributes']=_0x18e5bd['string']();break;default:_0x18e5bd['skipType'](0x7&_0x5d464c,_0x3b8679);}}return _0x571217;},_0x396779['decodeDelimited']=function(_0x37c653){return _0x37c653 instanceof _0x280c77||(_0x37c653=new _0x280c77(_0x37c653)),this['decode'](_0x37c653,_0x37c653['uint32']());},_0x396779['verify']=function(_0x1d4243,_0x51b9ec){return'object'!=typeof _0x1d4243||null===_0x1d4243?'object\x20expected':(void 0x0===_0x51b9ec&&(_0x51b9ec=0x0),_0x51b9ec>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1d4243['commentId']&&Object['hasOwnProperty']['call'](_0x1d4243,'commentId')&&!_0x1ca790['isString'](_0x1d4243['commentId'])?'commentId:\x20string\x20expected':null!=_0x1d4243['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1d4243,'commentThreadId')&&!_0x1ca790['isString'](_0x1d4243['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1d4243['userId']&&Object['hasOwnProperty']['call'](_0x1d4243,'userId')&&!_0x1ca790['isString'](_0x1d4243['userId'])?'userId:\x20string\x20expected':null!=_0x1d4243['content']&&Object['hasOwnProperty']['call'](_0x1d4243,'content')&&!_0x1ca790['isString'](_0x1d4243['content'])?'content:\x20string\x20expected':null!=_0x1d4243['documentId']&&Object['hasOwnProperty']['call'](_0x1d4243,'documentId')&&!_0x1ca790['isString'](_0x1d4243['documentId'])?'documentId:\x20string\x20expected':null!=_0x1d4243['createdAt']&&Object['hasOwnProperty']['call'](_0x1d4243,'createdAt')&&!_0x1ca790['isString'](_0x1d4243['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1d4243['attributes']&&Object['hasOwnProperty']['call'](_0x1d4243,'attributes')&&!_0x1ca790['isString'](_0x1d4243['attributes'])?'attributes:\x20string\x20expected':null);},_0x396779['fromObject']=function(_0x562a64,_0x5963b6){if(_0x562a64 instanceof _0x4f54f6['CommentDescriptor'])return _0x562a64;if(!_0x1ca790['isObject'](_0x562a64))throw TypeError('.CommentDescriptor:\x20object\x20expected');if(void 0x0===_0x5963b6&&(_0x5963b6=0x0),_0x5963b6>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x35c55c=new _0x4f54f6['CommentDescriptor']();return null!=_0x562a64['commentId']&&(_0x35c55c['commentId']=String(_0x562a64['commentId'])),null!=_0x562a64['commentThreadId']&&(_0x35c55c['commentThreadId']=String(_0x562a64['commentThreadId'])),null!=_0x562a64['userId']&&(_0x35c55c['userId']=String(_0x562a64['userId'])),null!=_0x562a64['content']&&(_0x35c55c['content']=String(_0x562a64['content'])),null!=_0x562a64['documentId']&&(_0x35c55c['documentId']=String(_0x562a64['documentId'])),null!=_0x562a64['createdAt']&&(_0x35c55c['createdAt']=String(_0x562a64['createdAt'])),null!=_0x562a64['attributes']&&(_0x35c55c['attributes']=String(_0x562a64['attributes'])),_0x35c55c;},_0x396779['toObject']=function(_0x47066c,_0x34b4e6,_0x4eb17d){if(_0x34b4e6||(_0x34b4e6={}),void 0x0===_0x4eb17d&&(_0x4eb17d=0x0),_0x4eb17d>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2e7a89={};return _0x34b4e6['defaults']&&(_0x2e7a89['commentId']='',_0x2e7a89['commentThreadId']='',_0x2e7a89['userId']='',_0x2e7a89['content']='',_0x2e7a89['documentId']='',_0x2e7a89['createdAt']='',_0x2e7a89['attributes']=''),null!=_0x47066c['commentId']&&Object['hasOwnProperty']['call'](_0x47066c,'commentId')&&(_0x2e7a89['commentId']=_0x47066c['commentId']),null!=_0x47066c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x47066c,'commentThreadId')&&(_0x2e7a89['commentThreadId']=_0x47066c['commentThreadId']),null!=_0x47066c['userId']&&Object['hasOwnProperty']['call'](_0x47066c,'userId')&&(_0x2e7a89['userId']=_0x47066c['userId']),null!=_0x47066c['content']&&Object['hasOwnProperty']['call'](_0x47066c,'content')&&(_0x2e7a89['content']=_0x47066c['content']),null!=_0x47066c['documentId']&&Object['hasOwnProperty']['call'](_0x47066c,'documentId')&&(_0x2e7a89['documentId']=_0x47066c['documentId']),null!=_0x47066c['createdAt']&&Object['hasOwnProperty']['call'](_0x47066c,'createdAt')&&(_0x2e7a89['createdAt']=_0x47066c['createdAt']),null!=_0x47066c['attributes']&&Object['hasOwnProperty']['call'](_0x47066c,'attributes')&&(_0x2e7a89['attributes']=_0x47066c['attributes']),_0x2e7a89;},_0x396779['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x396779['getTypeUrl']=function(_0x2c4d09){return void 0x0===_0x2c4d09&&(_0x2c4d09='type.googleapis.com'),_0x2c4d09+'/CommentDescriptor';},_0x396779;}()),_0x4f54f6['GetDocumentDetailsResponse']=(function(){function _0x425ad6(_0x565754){if(_0x565754){for(var _0x2038f8=Object['keys'](_0x565754),_0x1bf2a7=0x0;_0x1bf2a7<_0x2038f8['length'];++_0x1bf2a7)null!=_0x565754[_0x2038f8[_0x1bf2a7]]&&'__proto__'!==_0x2038f8[_0x1bf2a7]&&(this[_0x2038f8[_0x1bf2a7]]=_0x565754[_0x2038f8[_0x1bf2a7]]);}}return _0x425ad6['prototype']['lastDocumentSessionId']='',_0x425ad6['prototype']['lastDocumentSessionOperationId']='',_0x425ad6['prototype']['currentDocumentSessionId']='',_0x425ad6['prototype']['currentDocumentSessionVersion']=0x0,_0x425ad6['prototype']['currentDocumentSessionOperationId']='',_0x425ad6['create']=function(_0x232cd0){return new _0x425ad6(_0x232cd0);},_0x425ad6['encode']=function(_0x25bbe2,_0x4e1a3a,_0x9345c3){if(_0x4e1a3a||(_0x4e1a3a=_0x5c509e['create']()),void 0x0===_0x9345c3&&(_0x9345c3=0x0),_0x9345c3>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x25bbe2['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x25bbe2,'lastDocumentSessionId')&&_0x4e1a3a['uint32'](0xa)['string'](_0x25bbe2['lastDocumentSessionId']),null!=_0x25bbe2['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x25bbe2,'lastDocumentSessionOperationId')&&_0x4e1a3a['uint32'](0x12)['string'](_0x25bbe2['lastDocumentSessionOperationId']),null!=_0x25bbe2['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x25bbe2,'currentDocumentSessionId')&&_0x4e1a3a['uint32'](0x1a)['string'](_0x25bbe2['currentDocumentSessionId']),null!=_0x25bbe2['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x25bbe2,'currentDocumentSessionVersion')&&_0x4e1a3a['uint32'](0x20)['uint32'](_0x25bbe2['currentDocumentSessionVersion']),null!=_0x25bbe2['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x25bbe2,'currentDocumentSessionOperationId')&&_0x4e1a3a['uint32'](0x2a)['string'](_0x25bbe2['currentDocumentSessionOperationId']),_0x4e1a3a;},_0x425ad6['encodeDelimited']=function(_0x152009,_0x56d094){return this['encode'](_0x152009,_0x56d094)['ldelim']();},_0x425ad6['decode']=function(_0x41a82d,_0x2cfde4,_0x2e0267,_0x4cce62){if(_0x41a82d instanceof _0x280c77||(_0x41a82d=_0x280c77['create'](_0x41a82d)),void 0x0===_0x4cce62&&(_0x4cce62=0x0),_0x4cce62>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1ec063=void 0x0===_0x2cfde4?_0x41a82d['len']:_0x41a82d['pos']+_0x2cfde4,_0x419742=new _0x4f54f6['GetDocumentDetailsResponse']();_0x41a82d['pos']<_0x1ec063;){var _0x20faca=_0x41a82d['uint32']();if(_0x20faca===_0x2e0267)break;switch(_0x20faca>>>0x3){case 0x1:_0x419742['lastDocumentSessionId']=_0x41a82d['string']();break;case 0x2:_0x419742['lastDocumentSessionOperationId']=_0x41a82d['string']();break;case 0x3:_0x419742['currentDocumentSessionId']=_0x41a82d['string']();break;case 0x4:_0x419742['currentDocumentSessionVersion']=_0x41a82d['uint32']();break;case 0x5:_0x419742['currentDocumentSessionOperationId']=_0x41a82d['string']();break;default:_0x41a82d['skipType'](0x7&_0x20faca,_0x4cce62);}}return _0x419742;},_0x425ad6['decodeDelimited']=function(_0x444f19){return _0x444f19 instanceof _0x280c77||(_0x444f19=new _0x280c77(_0x444f19)),this['decode'](_0x444f19,_0x444f19['uint32']());},_0x425ad6['verify']=function(_0x425809,_0x1a88c9){return'object'!=typeof _0x425809||null===_0x425809?'object\x20expected':(void 0x0===_0x1a88c9&&(_0x1a88c9=0x0),_0x1a88c9>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x425809['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x425809,'lastDocumentSessionId')&&!_0x1ca790['isString'](_0x425809['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x425809['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x425809,'lastDocumentSessionOperationId')&&!_0x1ca790['isString'](_0x425809['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x425809['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x425809,'currentDocumentSessionId')&&!_0x1ca790['isString'](_0x425809['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x425809['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x425809,'currentDocumentSessionVersion')&&!_0x1ca790['isInteger'](_0x425809['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x425809['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x425809,'currentDocumentSessionOperationId')&&!_0x1ca790['isString'](_0x425809['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},_0x425ad6['fromObject']=function(_0x153966,_0x506e48){if(_0x153966 instanceof _0x4f54f6['GetDocumentDetailsResponse'])return _0x153966;if(!_0x1ca790['isObject'](_0x153966))throw TypeError('.GetDocumentDetailsResponse:\x20object\x20expected');if(void 0x0===_0x506e48&&(_0x506e48=0x0),_0x506e48>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xa6b2c7=new _0x4f54f6['GetDocumentDetailsResponse']();return null!=_0x153966['lastDocumentSessionId']&&(_0xa6b2c7['lastDocumentSessionId']=String(_0x153966['lastDocumentSessionId'])),null!=_0x153966['lastDocumentSessionOperationId']&&(_0xa6b2c7['lastDocumentSessionOperationId']=String(_0x153966['lastDocumentSessionOperationId'])),null!=_0x153966['currentDocumentSessionId']&&(_0xa6b2c7['currentDocumentSessionId']=String(_0x153966['currentDocumentSessionId'])),null!=_0x153966['currentDocumentSessionVersion']&&(_0xa6b2c7['currentDocumentSessionVersion']=_0x153966['currentDocumentSessionVersion']>>>0x0),null!=_0x153966['currentDocumentSessionOperationId']&&(_0xa6b2c7['currentDocumentSessionOperationId']=String(_0x153966['currentDocumentSessionOperationId'])),_0xa6b2c7;},_0x425ad6['toObject']=function(_0x139ee4,_0x38417e,_0x3b4d16){if(_0x38417e||(_0x38417e={}),void 0x0===_0x3b4d16&&(_0x3b4d16=0x0),_0x3b4d16>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x34c7c6={};return _0x38417e['defaults']&&(_0x34c7c6['lastDocumentSessionId']='',_0x34c7c6['lastDocumentSessionOperationId']='',_0x34c7c6['currentDocumentSessionId']='',_0x34c7c6['currentDocumentSessionVersion']=0x0,_0x34c7c6['currentDocumentSessionOperationId']=''),null!=_0x139ee4['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x139ee4,'lastDocumentSessionId')&&(_0x34c7c6['lastDocumentSessionId']=_0x139ee4['lastDocumentSessionId']),null!=_0x139ee4['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x139ee4,'lastDocumentSessionOperationId')&&(_0x34c7c6['lastDocumentSessionOperationId']=_0x139ee4['lastDocumentSessionOperationId']),null!=_0x139ee4['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x139ee4,'currentDocumentSessionId')&&(_0x34c7c6['currentDocumentSessionId']=_0x139ee4['currentDocumentSessionId']),null!=_0x139ee4['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x139ee4,'currentDocumentSessionVersion')&&(_0x34c7c6['currentDocumentSessionVersion']=_0x139ee4['currentDocumentSessionVersion']),null!=_0x139ee4['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x139ee4,'currentDocumentSessionOperationId')&&(_0x34c7c6['currentDocumentSessionOperationId']=_0x139ee4['currentDocumentSessionOperationId']),_0x34c7c6;},_0x425ad6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x425ad6['getTypeUrl']=function(_0x46e874){return void 0x0===_0x46e874&&(_0x46e874='type.googleapis.com'),_0x46e874+'/GetDocumentDetailsResponse';},_0x425ad6;}()),_0x4f54f6['CollaborativeEditingResponse']=(function(){function _0x483b38(_0x2838cf){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x2838cf){for(var _0x4c8571=Object['keys'](_0x2838cf),_0x1db5d9=0x0;_0x1db5d9<_0x4c8571['length'];++_0x1db5d9)null!=_0x2838cf[_0x4c8571[_0x1db5d9]]&&'__proto__'!==_0x4c8571[_0x1db5d9]&&(this[_0x4c8571[_0x1db5d9]]=_0x2838cf[_0x4c8571[_0x1db5d9]]);}}return _0x483b38['prototype']['version']=0x0,_0x483b38['prototype']['buffers']=_0x1ca790['emptyArray'],_0x483b38['prototype']['types']=_0x1ca790['emptyArray'],_0x483b38['prototype']['metadata']=_0x1ca790['emptyArray'],_0x483b38['prototype']['lastOperationId']='',_0x483b38['prototype']['lastOperationAcceptedAt']='',_0x483b38['create']=function(_0x32e085){return new _0x483b38(_0x32e085);},_0x483b38['encode']=function(_0x4ed08e,_0x359b08,_0x13f930){if(_0x359b08||(_0x359b08=_0x5c509e['create']()),void 0x0===_0x13f930&&(_0x13f930=0x0),_0x13f930>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4ed08e['version']&&Object['hasOwnProperty']['call'](_0x4ed08e,'version')&&_0x359b08['uint32'](0x8)['uint32'](_0x4ed08e['version']),null!=_0x4ed08e['buffers']&&_0x4ed08e['buffers']['length']){for(var _0x285394=0x0;_0x285394<_0x4ed08e['buffers']['length'];++_0x285394)_0x359b08['uint32'](0x12)['bytes'](_0x4ed08e['buffers'][_0x285394]);}if(null!=_0x4ed08e['types']&&_0x4ed08e['types']['length']){for(_0x359b08['uint32'](0x1a)['fork'](),_0x285394=0x0;_0x285394<_0x4ed08e['types']['length'];++_0x285394)_0x359b08['uint32'](_0x4ed08e['types'][_0x285394]);_0x359b08['ldelim']();}if(null!=_0x4ed08e['metadata']&&_0x4ed08e['metadata']['length']){for(_0x285394=0x0;_0x285394<_0x4ed08e['metadata']['length'];++_0x285394)_0x4f54f6['OperationMetadataDescriptor']['encode'](_0x4ed08e['metadata'][_0x285394],_0x359b08['uint32'](0x2a)['fork'](),_0x13f930+0x1)['ldelim']();}return null!=_0x4ed08e['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4ed08e,'lastOperationId')&&_0x359b08['uint32'](0x32)['string'](_0x4ed08e['lastOperationId']),null!=_0x4ed08e['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x4ed08e,'lastOperationAcceptedAt')&&_0x359b08['uint32'](0x3a)['string'](_0x4ed08e['lastOperationAcceptedAt']),_0x359b08;},_0x483b38['encodeDelimited']=function(_0x54baa7,_0x56fc7a){return this['encode'](_0x54baa7,_0x56fc7a)['ldelim']();},_0x483b38['decode']=function(_0x52b894,_0x2755b7,_0x5f4501,_0x31d7cd){if(_0x52b894 instanceof _0x280c77||(_0x52b894=_0x280c77['create'](_0x52b894)),void 0x0===_0x31d7cd&&(_0x31d7cd=0x0),_0x31d7cd>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1aeb47=void 0x0===_0x2755b7?_0x52b894['len']:_0x52b894['pos']+_0x2755b7,_0x1397cd=new _0x4f54f6['CollaborativeEditingResponse']();_0x52b894['pos']<_0x1aeb47;){var _0x20ff60=_0x52b894['uint32']();if(_0x20ff60===_0x5f4501)break;switch(_0x20ff60>>>0x3){case 0x1:_0x1397cd['version']=_0x52b894['uint32']();break;case 0x2:_0x1397cd['buffers']&&_0x1397cd['buffers']['length']||(_0x1397cd['buffers']=[]),_0x1397cd['buffers']['push'](_0x52b894['bytes']());break;case 0x3:if(_0x1397cd['types']&&_0x1397cd['types']['length']||(_0x1397cd['types']=[]),0x2==(0x7&_0x20ff60)){for(var _0x44bb43=_0x52b894['uint32']()+_0x52b894['pos'];_0x52b894['pos']<_0x44bb43;)_0x1397cd['types']['push'](_0x52b894['uint32']());}else _0x1397cd['types']['push'](_0x52b894['uint32']());break;case 0x5:_0x1397cd['metadata']&&_0x1397cd['metadata']['length']||(_0x1397cd['metadata']=[]),_0x1397cd['metadata']['push'](_0x4f54f6['OperationMetadataDescriptor']['decode'](_0x52b894,_0x52b894['uint32'](),void 0x0,_0x31d7cd+0x1));break;case 0x6:_0x1397cd['lastOperationId']=_0x52b894['string']();break;case 0x7:_0x1397cd['lastOperationAcceptedAt']=_0x52b894['string']();break;default:_0x52b894['skipType'](0x7&_0x20ff60,_0x31d7cd);}}return _0x1397cd;},_0x483b38['decodeDelimited']=function(_0x2075f6){return _0x2075f6 instanceof _0x280c77||(_0x2075f6=new _0x280c77(_0x2075f6)),this['decode'](_0x2075f6,_0x2075f6['uint32']());},_0x483b38['verify']=function(_0x1481dc,_0x2ad179){if('object'!=typeof _0x1481dc||null===_0x1481dc)return'object\x20expected';if(void 0x0===_0x2ad179&&(_0x2ad179=0x0),_0x2ad179>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1481dc['version']&&Object['hasOwnProperty']['call'](_0x1481dc,'version')&&!_0x1ca790['isInteger'](_0x1481dc['version']))return'version:\x20integer\x20expected';if(null!=_0x1481dc['buffers']&&Object['hasOwnProperty']['call'](_0x1481dc,'buffers')){if(!Array['isArray'](_0x1481dc['buffers']))return'buffers:\x20array\x20expected';for(var _0x59ec60=0x0;_0x59ec60<_0x1481dc['buffers']['length'];++_0x59ec60)if(!(_0x1481dc['buffers'][_0x59ec60]&&'number'==typeof _0x1481dc['buffers'][_0x59ec60]['length']||_0x1ca790['isString'](_0x1481dc['buffers'][_0x59ec60])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x1481dc['types']&&Object['hasOwnProperty']['call'](_0x1481dc,'types')){if(!Array['isArray'](_0x1481dc['types']))return'types:\x20array\x20expected';for(_0x59ec60=0x0;_0x59ec60<_0x1481dc['types']['length'];++_0x59ec60)if(!_0x1ca790['isInteger'](_0x1481dc['types'][_0x59ec60]))return'types:\x20integer[]\x20expected';}if(null!=_0x1481dc['metadata']&&Object['hasOwnProperty']['call'](_0x1481dc,'metadata')){if(!Array['isArray'](_0x1481dc['metadata']))return'metadata:\x20array\x20expected';for(_0x59ec60=0x0;_0x59ec60<_0x1481dc['metadata']['length'];++_0x59ec60){var _0x5118e0=_0x4f54f6['OperationMetadataDescriptor']['verify'](_0x1481dc['metadata'][_0x59ec60],_0x2ad179+0x1);if(_0x5118e0)return'metadata.'+_0x5118e0;}}return null!=_0x1481dc['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1481dc,'lastOperationId')&&!_0x1ca790['isString'](_0x1481dc['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x1481dc['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x1481dc,'lastOperationAcceptedAt')&&!_0x1ca790['isString'](_0x1481dc['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x483b38['fromObject']=function(_0x24abae,_0x5c6fd9){if(_0x24abae instanceof _0x4f54f6['CollaborativeEditingResponse'])return _0x24abae;if(!_0x1ca790['isObject'](_0x24abae))throw TypeError('.CollaborativeEditingResponse:\x20object\x20expected');if(void 0x0===_0x5c6fd9&&(_0x5c6fd9=0x0),_0x5c6fd9>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4827f8=new _0x4f54f6['CollaborativeEditingResponse']();if(null!=_0x24abae['version']&&(_0x4827f8['version']=_0x24abae['version']>>>0x0),_0x24abae['buffers']){if(!Array['isArray'](_0x24abae['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x4827f8['buffers']=[];for(var _0x2c6d25=0x0;_0x2c6d25<_0x24abae['buffers']['length'];++_0x2c6d25)'string'==typeof _0x24abae['buffers'][_0x2c6d25]?_0x1ca790['base64']['decode'](_0x24abae['buffers'][_0x2c6d25],_0x4827f8['buffers'][_0x2c6d25]=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x24abae['buffers'][_0x2c6d25])),0x0):_0x24abae['buffers'][_0x2c6d25]['length']>=0x0&&(_0x4827f8['buffers'][_0x2c6d25]=_0x24abae['buffers'][_0x2c6d25]);}if(_0x24abae['types']){if(!Array['isArray'](_0x24abae['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x4827f8['types']=[],_0x2c6d25=0x0;_0x2c6d25<_0x24abae['types']['length'];++_0x2c6d25)_0x4827f8['types'][_0x2c6d25]=_0x24abae['types'][_0x2c6d25]>>>0x0;}if(_0x24abae['metadata']){if(!Array['isArray'](_0x24abae['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x4827f8['metadata']=[],_0x2c6d25=0x0;_0x2c6d25<_0x24abae['metadata']['length'];++_0x2c6d25){if(!_0x1ca790['isObject'](_0x24abae['metadata'][_0x2c6d25]))throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x4827f8['metadata'][_0x2c6d25]=_0x4f54f6['OperationMetadataDescriptor']['fromObject'](_0x24abae['metadata'][_0x2c6d25],_0x5c6fd9+0x1);}}return null!=_0x24abae['lastOperationId']&&(_0x4827f8['lastOperationId']=String(_0x24abae['lastOperationId'])),null!=_0x24abae['lastOperationAcceptedAt']&&(_0x4827f8['lastOperationAcceptedAt']=String(_0x24abae['lastOperationAcceptedAt'])),_0x4827f8;},_0x483b38['toObject']=function(_0x38b215,_0x3cf6b2,_0x104138){if(_0x3cf6b2||(_0x3cf6b2={}),void 0x0===_0x104138&&(_0x104138=0x0),_0x104138>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5b7764={};if((_0x3cf6b2['arrays']||_0x3cf6b2['defaults'])&&(_0x5b7764['buffers']=[],_0x5b7764['types']=[],_0x5b7764['metadata']=[]),_0x3cf6b2['defaults']&&(_0x5b7764['version']=0x0,_0x5b7764['lastOperationId']='',_0x5b7764['lastOperationAcceptedAt']=''),null!=_0x38b215['version']&&Object['hasOwnProperty']['call'](_0x38b215,'version')&&(_0x5b7764['version']=_0x38b215['version']),_0x38b215['buffers']&&_0x38b215['buffers']['length']){_0x5b7764['buffers']=[];for(var _0x44e145=0x0;_0x44e145<_0x38b215['buffers']['length'];++_0x44e145)_0x5b7764['buffers'][_0x44e145]=_0x3cf6b2['bytes']===String?_0x1ca790['base64']['encode'](_0x38b215['buffers'][_0x44e145],0x0,_0x38b215['buffers'][_0x44e145]['length']):_0x3cf6b2['bytes']===Array?Array['prototype']['slice']['call'](_0x38b215['buffers'][_0x44e145]):_0x38b215['buffers'][_0x44e145];}if(_0x38b215['types']&&_0x38b215['types']['length']){for(_0x5b7764['types']=[],_0x44e145=0x0;_0x44e145<_0x38b215['types']['length'];++_0x44e145)_0x5b7764['types'][_0x44e145]=_0x38b215['types'][_0x44e145];}if(_0x38b215['metadata']&&_0x38b215['metadata']['length']){for(_0x5b7764['metadata']=[],_0x44e145=0x0;_0x44e145<_0x38b215['metadata']['length'];++_0x44e145)_0x5b7764['metadata'][_0x44e145]=_0x4f54f6['OperationMetadataDescriptor']['toObject'](_0x38b215['metadata'][_0x44e145],_0x3cf6b2,_0x104138+0x1);}return null!=_0x38b215['lastOperationId']&&Object['hasOwnProperty']['call'](_0x38b215,'lastOperationId')&&(_0x5b7764['lastOperationId']=_0x38b215['lastOperationId']),null!=_0x38b215['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x38b215,'lastOperationAcceptedAt')&&(_0x5b7764['lastOperationAcceptedAt']=_0x38b215['lastOperationAcceptedAt']),_0x5b7764;},_0x483b38['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x483b38['getTypeUrl']=function(_0x183a5b){return void 0x0===_0x183a5b&&(_0x183a5b='type.googleapis.com'),_0x183a5b+'/CollaborativeEditingResponse';},_0x483b38;}()),_0x4f54f6['CollaborativeEditingConnectResponse']=(function(){function _0x5e2c82(_0xd400db){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0xd400db){for(var _0x151ec5=Object['keys'](_0xd400db),_0x107aeb=0x0;_0x107aeb<_0x151ec5['length'];++_0x107aeb)null!=_0xd400db[_0x151ec5[_0x107aeb]]&&'__proto__'!==_0x151ec5[_0x107aeb]&&(this[_0x151ec5[_0x107aeb]]=_0xd400db[_0x151ec5[_0x107aeb]]);}}return _0x5e2c82['prototype']['channel']='',_0x5e2c82['prototype']['offset']=0x0,_0x5e2c82['prototype']['version']=0x0,_0x5e2c82['prototype']['buffers']=_0x1ca790['emptyArray'],_0x5e2c82['prototype']['types']=_0x1ca790['emptyArray'],_0x5e2c82['prototype']['metadata']=_0x1ca790['emptyArray'],_0x5e2c82['prototype']['initData']='',_0x5e2c82['prototype']['isInitialized']=!0x1,_0x5e2c82['prototype']['sessionId']='',_0x5e2c82['prototype']['lastOperationId']='',_0x5e2c82['prototype']['sessionCreatedAt']='',_0x5e2c82['create']=function(_0x569615){return new _0x5e2c82(_0x569615);},_0x5e2c82['encode']=function(_0x5253c9,_0x1c73d9,_0x356ec4){if(_0x1c73d9||(_0x1c73d9=_0x5c509e['create']()),void 0x0===_0x356ec4&&(_0x356ec4=0x0),_0x356ec4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5253c9['channel']&&Object['hasOwnProperty']['call'](_0x5253c9,'channel')&&_0x1c73d9['uint32'](0xa)['string'](_0x5253c9['channel']),null!=_0x5253c9['offset']&&Object['hasOwnProperty']['call'](_0x5253c9,'offset')&&_0x1c73d9['uint32'](0x10)['uint32'](_0x5253c9['offset']),null!=_0x5253c9['version']&&Object['hasOwnProperty']['call'](_0x5253c9,'version')&&_0x1c73d9['uint32'](0x18)['uint32'](_0x5253c9['version']),null!=_0x5253c9['buffers']&&_0x5253c9['buffers']['length']){for(var _0x37aa62=0x0;_0x37aa62<_0x5253c9['buffers']['length'];++_0x37aa62)_0x1c73d9['uint32'](0x22)['bytes'](_0x5253c9['buffers'][_0x37aa62]);}if(null!=_0x5253c9['types']&&_0x5253c9['types']['length']){for(_0x1c73d9['uint32'](0x2a)['fork'](),_0x37aa62=0x0;_0x37aa62<_0x5253c9['types']['length'];++_0x37aa62)_0x1c73d9['uint32'](_0x5253c9['types'][_0x37aa62]);_0x1c73d9['ldelim']();}if(null!=_0x5253c9['metadata']&&_0x5253c9['metadata']['length']){for(_0x37aa62=0x0;_0x37aa62<_0x5253c9['metadata']['length'];++_0x37aa62)_0x4f54f6['OperationMetadataDescriptor']['encode'](_0x5253c9['metadata'][_0x37aa62],_0x1c73d9['uint32'](0x3a)['fork'](),_0x356ec4+0x1)['ldelim']();}return null!=_0x5253c9['initData']&&Object['hasOwnProperty']['call'](_0x5253c9,'initData')&&_0x1c73d9['uint32'](0x42)['string'](_0x5253c9['initData']),null!=_0x5253c9['isInitialized']&&Object['hasOwnProperty']['call'](_0x5253c9,'isInitialized')&&_0x1c73d9['uint32'](0x48)['bool'](_0x5253c9['isInitialized']),null!=_0x5253c9['sessionId']&&Object['hasOwnProperty']['call'](_0x5253c9,'sessionId')&&_0x1c73d9['uint32'](0x52)['string'](_0x5253c9['sessionId']),null!=_0x5253c9['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5253c9,'lastOperationId')&&_0x1c73d9['uint32'](0x5a)['string'](_0x5253c9['lastOperationId']),null!=_0x5253c9['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x5253c9,'sessionCreatedAt')&&_0x1c73d9['uint32'](0x62)['string'](_0x5253c9['sessionCreatedAt']),_0x1c73d9;},_0x5e2c82['encodeDelimited']=function(_0x42eedf,_0x3da4b1){return this['encode'](_0x42eedf,_0x3da4b1)['ldelim']();},_0x5e2c82['decode']=function(_0x3d7971,_0x12672f,_0x3f0ac0,_0x1fa700){if(_0x3d7971 instanceof _0x280c77||(_0x3d7971=_0x280c77['create'](_0x3d7971)),void 0x0===_0x1fa700&&(_0x1fa700=0x0),_0x1fa700>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50036c=void 0x0===_0x12672f?_0x3d7971['len']:_0x3d7971['pos']+_0x12672f,_0x2c6884=new _0x4f54f6['CollaborativeEditingConnectResponse']();_0x3d7971['pos']<_0x50036c;){var _0x309751=_0x3d7971['uint32']();if(_0x309751===_0x3f0ac0)break;switch(_0x309751>>>0x3){case 0x1:_0x2c6884['channel']=_0x3d7971['string']();break;case 0x2:_0x2c6884['offset']=_0x3d7971['uint32']();break;case 0x3:_0x2c6884['version']=_0x3d7971['uint32']();break;case 0x4:_0x2c6884['buffers']&&_0x2c6884['buffers']['length']||(_0x2c6884['buffers']=[]),_0x2c6884['buffers']['push'](_0x3d7971['bytes']());break;case 0x5:if(_0x2c6884['types']&&_0x2c6884['types']['length']||(_0x2c6884['types']=[]),0x2==(0x7&_0x309751)){for(var _0x272f6a=_0x3d7971['uint32']()+_0x3d7971['pos'];_0x3d7971['pos']<_0x272f6a;)_0x2c6884['types']['push'](_0x3d7971['uint32']());}else _0x2c6884['types']['push'](_0x3d7971['uint32']());break;case 0x7:_0x2c6884['metadata']&&_0x2c6884['metadata']['length']||(_0x2c6884['metadata']=[]),_0x2c6884['metadata']['push'](_0x4f54f6['OperationMetadataDescriptor']['decode'](_0x3d7971,_0x3d7971['uint32'](),void 0x0,_0x1fa700+0x1));break;case 0x8:_0x2c6884['initData']=_0x3d7971['string']();break;case 0x9:_0x2c6884['isInitialized']=_0x3d7971['bool']();break;case 0xa:_0x2c6884['sessionId']=_0x3d7971['string']();break;case 0xb:_0x2c6884['lastOperationId']=_0x3d7971['string']();break;case 0xc:_0x2c6884['sessionCreatedAt']=_0x3d7971['string']();break;default:_0x3d7971['skipType'](0x7&_0x309751,_0x1fa700);}}return _0x2c6884;},_0x5e2c82['decodeDelimited']=function(_0x526e86){return _0x526e86 instanceof _0x280c77||(_0x526e86=new _0x280c77(_0x526e86)),this['decode'](_0x526e86,_0x526e86['uint32']());},_0x5e2c82['verify']=function(_0x2aa036,_0x14c9fe){if('object'!=typeof _0x2aa036||null===_0x2aa036)return'object\x20expected';if(void 0x0===_0x14c9fe&&(_0x14c9fe=0x0),_0x14c9fe>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2aa036['channel']&&Object['hasOwnProperty']['call'](_0x2aa036,'channel')&&!_0x1ca790['isString'](_0x2aa036['channel']))return'channel:\x20string\x20expected';if(null!=_0x2aa036['offset']&&Object['hasOwnProperty']['call'](_0x2aa036,'offset')&&!_0x1ca790['isInteger'](_0x2aa036['offset']))return'offset:\x20integer\x20expected';if(null!=_0x2aa036['version']&&Object['hasOwnProperty']['call'](_0x2aa036,'version')&&!_0x1ca790['isInteger'](_0x2aa036['version']))return'version:\x20integer\x20expected';if(null!=_0x2aa036['buffers']&&Object['hasOwnProperty']['call'](_0x2aa036,'buffers')){if(!Array['isArray'](_0x2aa036['buffers']))return'buffers:\x20array\x20expected';for(var _0x1b10f1=0x0;_0x1b10f1<_0x2aa036['buffers']['length'];++_0x1b10f1)if(!(_0x2aa036['buffers'][_0x1b10f1]&&'number'==typeof _0x2aa036['buffers'][_0x1b10f1]['length']||_0x1ca790['isString'](_0x2aa036['buffers'][_0x1b10f1])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x2aa036['types']&&Object['hasOwnProperty']['call'](_0x2aa036,'types')){if(!Array['isArray'](_0x2aa036['types']))return'types:\x20array\x20expected';for(_0x1b10f1=0x0;_0x1b10f1<_0x2aa036['types']['length'];++_0x1b10f1)if(!_0x1ca790['isInteger'](_0x2aa036['types'][_0x1b10f1]))return'types:\x20integer[]\x20expected';}if(null!=_0x2aa036['metadata']&&Object['hasOwnProperty']['call'](_0x2aa036,'metadata')){if(!Array['isArray'](_0x2aa036['metadata']))return'metadata:\x20array\x20expected';for(_0x1b10f1=0x0;_0x1b10f1<_0x2aa036['metadata']['length'];++_0x1b10f1){var _0x54509a=_0x4f54f6['OperationMetadataDescriptor']['verify'](_0x2aa036['metadata'][_0x1b10f1],_0x14c9fe+0x1);if(_0x54509a)return'metadata.'+_0x54509a;}}return null!=_0x2aa036['initData']&&Object['hasOwnProperty']['call'](_0x2aa036,'initData')&&!_0x1ca790['isString'](_0x2aa036['initData'])?'initData:\x20string\x20expected':null!=_0x2aa036['isInitialized']&&Object['hasOwnProperty']['call'](_0x2aa036,'isInitialized')&&'boolean'!=typeof _0x2aa036['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x2aa036['sessionId']&&Object['hasOwnProperty']['call'](_0x2aa036,'sessionId')&&!_0x1ca790['isString'](_0x2aa036['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x2aa036['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2aa036,'lastOperationId')&&!_0x1ca790['isString'](_0x2aa036['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x2aa036['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x2aa036,'sessionCreatedAt')&&!_0x1ca790['isString'](_0x2aa036['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x5e2c82['fromObject']=function(_0x84c06e,_0x37c483){if(_0x84c06e instanceof _0x4f54f6['CollaborativeEditingConnectResponse'])return _0x84c06e;if(!_0x1ca790['isObject'](_0x84c06e))throw TypeError('.CollaborativeEditingConnectResponse:\x20object\x20expected');if(void 0x0===_0x37c483&&(_0x37c483=0x0),_0x37c483>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5d1a7e=new _0x4f54f6['CollaborativeEditingConnectResponse']();if(null!=_0x84c06e['channel']&&(_0x5d1a7e['channel']=String(_0x84c06e['channel'])),null!=_0x84c06e['offset']&&(_0x5d1a7e['offset']=_0x84c06e['offset']>>>0x0),null!=_0x84c06e['version']&&(_0x5d1a7e['version']=_0x84c06e['version']>>>0x0),_0x84c06e['buffers']){if(!Array['isArray'](_0x84c06e['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x5d1a7e['buffers']=[];for(var _0x449da=0x0;_0x449da<_0x84c06e['buffers']['length'];++_0x449da)'string'==typeof _0x84c06e['buffers'][_0x449da]?_0x1ca790['base64']['decode'](_0x84c06e['buffers'][_0x449da],_0x5d1a7e['buffers'][_0x449da]=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x84c06e['buffers'][_0x449da])),0x0):_0x84c06e['buffers'][_0x449da]['length']>=0x0&&(_0x5d1a7e['buffers'][_0x449da]=_0x84c06e['buffers'][_0x449da]);}if(_0x84c06e['types']){if(!Array['isArray'](_0x84c06e['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x5d1a7e['types']=[],_0x449da=0x0;_0x449da<_0x84c06e['types']['length'];++_0x449da)_0x5d1a7e['types'][_0x449da]=_0x84c06e['types'][_0x449da]>>>0x0;}if(_0x84c06e['metadata']){if(!Array['isArray'](_0x84c06e['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x5d1a7e['metadata']=[],_0x449da=0x0;_0x449da<_0x84c06e['metadata']['length'];++_0x449da){if(!_0x1ca790['isObject'](_0x84c06e['metadata'][_0x449da]))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x5d1a7e['metadata'][_0x449da]=_0x4f54f6['OperationMetadataDescriptor']['fromObject'](_0x84c06e['metadata'][_0x449da],_0x37c483+0x1);}}return null!=_0x84c06e['initData']&&(_0x5d1a7e['initData']=String(_0x84c06e['initData'])),null!=_0x84c06e['isInitialized']&&(_0x5d1a7e['isInitialized']=Boolean(_0x84c06e['isInitialized'])),null!=_0x84c06e['sessionId']&&(_0x5d1a7e['sessionId']=String(_0x84c06e['sessionId'])),null!=_0x84c06e['lastOperationId']&&(_0x5d1a7e['lastOperationId']=String(_0x84c06e['lastOperationId'])),null!=_0x84c06e['sessionCreatedAt']&&(_0x5d1a7e['sessionCreatedAt']=String(_0x84c06e['sessionCreatedAt'])),_0x5d1a7e;},_0x5e2c82['toObject']=function(_0x33b68a,_0x18a9d9,_0x1de686){if(_0x18a9d9||(_0x18a9d9={}),void 0x0===_0x1de686&&(_0x1de686=0x0),_0x1de686>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x52f29b={};if((_0x18a9d9['arrays']||_0x18a9d9['defaults'])&&(_0x52f29b['buffers']=[],_0x52f29b['types']=[],_0x52f29b['metadata']=[]),_0x18a9d9['defaults']&&(_0x52f29b['channel']='',_0x52f29b['offset']=0x0,_0x52f29b['version']=0x0,_0x52f29b['initData']='',_0x52f29b['isInitialized']=!0x1,_0x52f29b['sessionId']='',_0x52f29b['lastOperationId']='',_0x52f29b['sessionCreatedAt']=''),null!=_0x33b68a['channel']&&Object['hasOwnProperty']['call'](_0x33b68a,'channel')&&(_0x52f29b['channel']=_0x33b68a['channel']),null!=_0x33b68a['offset']&&Object['hasOwnProperty']['call'](_0x33b68a,'offset')&&(_0x52f29b['offset']=_0x33b68a['offset']),null!=_0x33b68a['version']&&Object['hasOwnProperty']['call'](_0x33b68a,'version')&&(_0x52f29b['version']=_0x33b68a['version']),_0x33b68a['buffers']&&_0x33b68a['buffers']['length']){_0x52f29b['buffers']=[];for(var _0x5b4dba=0x0;_0x5b4dba<_0x33b68a['buffers']['length'];++_0x5b4dba)_0x52f29b['buffers'][_0x5b4dba]=_0x18a9d9['bytes']===String?_0x1ca790['base64']['encode'](_0x33b68a['buffers'][_0x5b4dba],0x0,_0x33b68a['buffers'][_0x5b4dba]['length']):_0x18a9d9['bytes']===Array?Array['prototype']['slice']['call'](_0x33b68a['buffers'][_0x5b4dba]):_0x33b68a['buffers'][_0x5b4dba];}if(_0x33b68a['types']&&_0x33b68a['types']['length']){for(_0x52f29b['types']=[],_0x5b4dba=0x0;_0x5b4dba<_0x33b68a['types']['length'];++_0x5b4dba)_0x52f29b['types'][_0x5b4dba]=_0x33b68a['types'][_0x5b4dba];}if(_0x33b68a['metadata']&&_0x33b68a['metadata']['length']){for(_0x52f29b['metadata']=[],_0x5b4dba=0x0;_0x5b4dba<_0x33b68a['metadata']['length'];++_0x5b4dba)_0x52f29b['metadata'][_0x5b4dba]=_0x4f54f6['OperationMetadataDescriptor']['toObject'](_0x33b68a['metadata'][_0x5b4dba],_0x18a9d9,_0x1de686+0x1);}return null!=_0x33b68a['initData']&&Object['hasOwnProperty']['call'](_0x33b68a,'initData')&&(_0x52f29b['initData']=_0x33b68a['initData']),null!=_0x33b68a['isInitialized']&&Object['hasOwnProperty']['call'](_0x33b68a,'isInitialized')&&(_0x52f29b['isInitialized']=_0x33b68a['isInitialized']),null!=_0x33b68a['sessionId']&&Object['hasOwnProperty']['call'](_0x33b68a,'sessionId')&&(_0x52f29b['sessionId']=_0x33b68a['sessionId']),null!=_0x33b68a['lastOperationId']&&Object['hasOwnProperty']['call'](_0x33b68a,'lastOperationId')&&(_0x52f29b['lastOperationId']=_0x33b68a['lastOperationId']),null!=_0x33b68a['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x33b68a,'sessionCreatedAt')&&(_0x52f29b['sessionCreatedAt']=_0x33b68a['sessionCreatedAt']),_0x52f29b;},_0x5e2c82['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5e2c82['getTypeUrl']=function(_0x136bfd){return void 0x0===_0x136bfd&&(_0x136bfd='type.googleapis.com'),_0x136bfd+'/CollaborativeEditingConnectResponse';},_0x5e2c82;}()),_0x4f54f6['GetDocumentDetailsMessage']=(function(){function _0x50f11b(_0x32385f){if(_0x32385f){for(var _0x11f1c0=Object['keys'](_0x32385f),_0x2662ce=0x0;_0x2662ce<_0x11f1c0['length'];++_0x2662ce)null!=_0x32385f[_0x11f1c0[_0x2662ce]]&&'__proto__'!==_0x11f1c0[_0x2662ce]&&(this[_0x11f1c0[_0x2662ce]]=_0x32385f[_0x11f1c0[_0x2662ce]]);}}return _0x50f11b['prototype']['documentId']='',_0x50f11b['prototype']['environmentId']='',_0x50f11b['create']=function(_0x5a47fa){return new _0x50f11b(_0x5a47fa);},_0x50f11b['encode']=function(_0x36f151,_0x5e196b,_0x404a58){if(_0x5e196b||(_0x5e196b=_0x5c509e['create']()),void 0x0===_0x404a58&&(_0x404a58=0x0),_0x404a58>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x36f151['documentId']&&Object['hasOwnProperty']['call'](_0x36f151,'documentId')&&_0x5e196b['uint32'](0xa)['string'](_0x36f151['documentId']),null!=_0x36f151['environmentId']&&Object['hasOwnProperty']['call'](_0x36f151,'environmentId')&&_0x5e196b['uint32'](0x12)['string'](_0x36f151['environmentId']),_0x5e196b;},_0x50f11b['encodeDelimited']=function(_0x4dca3b,_0x2f1b35){return this['encode'](_0x4dca3b,_0x2f1b35)['ldelim']();},_0x50f11b['decode']=function(_0x138c27,_0x3ffe22,_0x2d1d52,_0x320261){if(_0x138c27 instanceof _0x280c77||(_0x138c27=_0x280c77['create'](_0x138c27)),void 0x0===_0x320261&&(_0x320261=0x0),_0x320261>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x53dc78=void 0x0===_0x3ffe22?_0x138c27['len']:_0x138c27['pos']+_0x3ffe22,_0xbbde3=new _0x4f54f6['GetDocumentDetailsMessage']();_0x138c27['pos']<_0x53dc78;){var _0x37e833=_0x138c27['uint32']();if(_0x37e833===_0x2d1d52)break;switch(_0x37e833>>>0x3){case 0x1:_0xbbde3['documentId']=_0x138c27['string']();break;case 0x2:_0xbbde3['environmentId']=_0x138c27['string']();break;default:_0x138c27['skipType'](0x7&_0x37e833,_0x320261);}}return _0xbbde3;},_0x50f11b['decodeDelimited']=function(_0x45fda6){return _0x45fda6 instanceof _0x280c77||(_0x45fda6=new _0x280c77(_0x45fda6)),this['decode'](_0x45fda6,_0x45fda6['uint32']());},_0x50f11b['verify']=function(_0x5f22ce,_0x180aff){return'object'!=typeof _0x5f22ce||null===_0x5f22ce?'object\x20expected':(void 0x0===_0x180aff&&(_0x180aff=0x0),_0x180aff>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5f22ce['documentId']&&Object['hasOwnProperty']['call'](_0x5f22ce,'documentId')&&!_0x1ca790['isString'](_0x5f22ce['documentId'])?'documentId:\x20string\x20expected':null!=_0x5f22ce['environmentId']&&Object['hasOwnProperty']['call'](_0x5f22ce,'environmentId')&&!_0x1ca790['isString'](_0x5f22ce['environmentId'])?'environmentId:\x20string\x20expected':null);},_0x50f11b['fromObject']=function(_0x4ccd51,_0x5cbfa7){if(_0x4ccd51 instanceof _0x4f54f6['GetDocumentDetailsMessage'])return _0x4ccd51;if(!_0x1ca790['isObject'](_0x4ccd51))throw TypeError('.GetDocumentDetailsMessage:\x20object\x20expected');if(void 0x0===_0x5cbfa7&&(_0x5cbfa7=0x0),_0x5cbfa7>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3f0a20=new _0x4f54f6['GetDocumentDetailsMessage']();return null!=_0x4ccd51['documentId']&&(_0x3f0a20['documentId']=String(_0x4ccd51['documentId'])),null!=_0x4ccd51['environmentId']&&(_0x3f0a20['environmentId']=String(_0x4ccd51['environmentId'])),_0x3f0a20;},_0x50f11b['toObject']=function(_0x33895a,_0x2b556b,_0x4d8280){if(_0x2b556b||(_0x2b556b={}),void 0x0===_0x4d8280&&(_0x4d8280=0x0),_0x4d8280>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x458791={};return _0x2b556b['defaults']&&(_0x458791['documentId']='',_0x458791['environmentId']=''),null!=_0x33895a['documentId']&&Object['hasOwnProperty']['call'](_0x33895a,'documentId')&&(_0x458791['documentId']=_0x33895a['documentId']),null!=_0x33895a['environmentId']&&Object['hasOwnProperty']['call'](_0x33895a,'environmentId')&&(_0x458791['environmentId']=_0x33895a['environmentId']),_0x458791;},_0x50f11b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x50f11b['getTypeUrl']=function(_0x3e98b2){return void 0x0===_0x3e98b2&&(_0x3e98b2='type.googleapis.com'),_0x3e98b2+'/GetDocumentDetailsMessage';},_0x50f11b;}()),_0x4f54f6['CollaborativeEditingUpdateMessage']=(function(){function _0x157d2c(_0x36b27b){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x36b27b){for(var _0x1d4271=Object['keys'](_0x36b27b),_0x49e65f=0x0;_0x49e65f<_0x1d4271['length'];++_0x49e65f)null!=_0x36b27b[_0x1d4271[_0x49e65f]]&&'__proto__'!==_0x1d4271[_0x49e65f]&&(this[_0x1d4271[_0x49e65f]]=_0x36b27b[_0x1d4271[_0x49e65f]]);}}return _0x157d2c['prototype']['id']='',_0x157d2c['prototype']['baseVersion']=0x0,_0x157d2c['prototype']['buffers']=_0x1ca790['emptyArray'],_0x157d2c['prototype']['types']=_0x1ca790['emptyArray'],_0x157d2c['prototype']['metadata']=_0x1ca790['emptyArray'],_0x157d2c['prototype']['lastOperationId']='',_0x157d2c['create']=function(_0x13536a){return new _0x157d2c(_0x13536a);},_0x157d2c['encode']=function(_0x668402,_0x5e6aca,_0x383ea3){if(_0x5e6aca||(_0x5e6aca=_0x5c509e['create']()),void 0x0===_0x383ea3&&(_0x383ea3=0x0),_0x383ea3>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x668402['id']&&Object['hasOwnProperty']['call'](_0x668402,'id')&&_0x5e6aca['uint32'](0xa)['string'](_0x668402['id']),null!=_0x668402['baseVersion']&&Object['hasOwnProperty']['call'](_0x668402,'baseVersion')&&_0x5e6aca['uint32'](0x10)['uint32'](_0x668402['baseVersion']),null!=_0x668402['buffers']&&_0x668402['buffers']['length']){for(var _0x9aab06=0x0;_0x9aab06<_0x668402['buffers']['length'];++_0x9aab06)_0x5e6aca['uint32'](0x1a)['bytes'](_0x668402['buffers'][_0x9aab06]);}if(null!=_0x668402['types']&&_0x668402['types']['length']){for(_0x5e6aca['uint32'](0x22)['fork'](),_0x9aab06=0x0;_0x9aab06<_0x668402['types']['length'];++_0x9aab06)_0x5e6aca['uint32'](_0x668402['types'][_0x9aab06]);_0x5e6aca['ldelim']();}if(null!=_0x668402['metadata']&&_0x668402['metadata']['length']){for(_0x9aab06=0x0;_0x9aab06<_0x668402['metadata']['length'];++_0x9aab06)_0x4f54f6['OperationMetadataDescriptor']['encode'](_0x668402['metadata'][_0x9aab06],_0x5e6aca['uint32'](0x32)['fork'](),_0x383ea3+0x1)['ldelim']();}return null!=_0x668402['lastOperationId']&&Object['hasOwnProperty']['call'](_0x668402,'lastOperationId')&&_0x5e6aca['uint32'](0x3a)['string'](_0x668402['lastOperationId']),_0x5e6aca;},_0x157d2c['encodeDelimited']=function(_0x4391e9,_0x2621b8){return this['encode'](_0x4391e9,_0x2621b8)['ldelim']();},_0x157d2c['decode']=function(_0x223a24,_0x25e1fe,_0x3bcf7c,_0x4ccfe0){if(_0x223a24 instanceof _0x280c77||(_0x223a24=_0x280c77['create'](_0x223a24)),void 0x0===_0x4ccfe0&&(_0x4ccfe0=0x0),_0x4ccfe0>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4f98f4=void 0x0===_0x25e1fe?_0x223a24['len']:_0x223a24['pos']+_0x25e1fe,_0x501c86=new _0x4f54f6['CollaborativeEditingUpdateMessage']();_0x223a24['pos']<_0x4f98f4;){var _0x521ac1=_0x223a24['uint32']();if(_0x521ac1===_0x3bcf7c)break;switch(_0x521ac1>>>0x3){case 0x1:_0x501c86['id']=_0x223a24['string']();break;case 0x2:_0x501c86['baseVersion']=_0x223a24['uint32']();break;case 0x3:_0x501c86['buffers']&&_0x501c86['buffers']['length']||(_0x501c86['buffers']=[]),_0x501c86['buffers']['push'](_0x223a24['bytes']());break;case 0x4:if(_0x501c86['types']&&_0x501c86['types']['length']||(_0x501c86['types']=[]),0x2==(0x7&_0x521ac1)){for(var _0x254454=_0x223a24['uint32']()+_0x223a24['pos'];_0x223a24['pos']<_0x254454;)_0x501c86['types']['push'](_0x223a24['uint32']());}else _0x501c86['types']['push'](_0x223a24['uint32']());break;case 0x6:_0x501c86['metadata']&&_0x501c86['metadata']['length']||(_0x501c86['metadata']=[]),_0x501c86['metadata']['push'](_0x4f54f6['OperationMetadataDescriptor']['decode'](_0x223a24,_0x223a24['uint32'](),void 0x0,_0x4ccfe0+0x1));break;case 0x7:_0x501c86['lastOperationId']=_0x223a24['string']();break;default:_0x223a24['skipType'](0x7&_0x521ac1,_0x4ccfe0);}}return _0x501c86;},_0x157d2c['decodeDelimited']=function(_0x2d46fd){return _0x2d46fd instanceof _0x280c77||(_0x2d46fd=new _0x280c77(_0x2d46fd)),this['decode'](_0x2d46fd,_0x2d46fd['uint32']());},_0x157d2c['verify']=function(_0x558e17,_0x40426d){if('object'!=typeof _0x558e17||null===_0x558e17)return'object\x20expected';if(void 0x0===_0x40426d&&(_0x40426d=0x0),_0x40426d>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x558e17['id']&&Object['hasOwnProperty']['call'](_0x558e17,'id')&&!_0x1ca790['isString'](_0x558e17['id']))return'id:\x20string\x20expected';if(null!=_0x558e17['baseVersion']&&Object['hasOwnProperty']['call'](_0x558e17,'baseVersion')&&!_0x1ca790['isInteger'](_0x558e17['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x558e17['buffers']&&Object['hasOwnProperty']['call'](_0x558e17,'buffers')){if(!Array['isArray'](_0x558e17['buffers']))return'buffers:\x20array\x20expected';for(var _0x26dfc9=0x0;_0x26dfc9<_0x558e17['buffers']['length'];++_0x26dfc9)if(!(_0x558e17['buffers'][_0x26dfc9]&&'number'==typeof _0x558e17['buffers'][_0x26dfc9]['length']||_0x1ca790['isString'](_0x558e17['buffers'][_0x26dfc9])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x558e17['types']&&Object['hasOwnProperty']['call'](_0x558e17,'types')){if(!Array['isArray'](_0x558e17['types']))return'types:\x20array\x20expected';for(_0x26dfc9=0x0;_0x26dfc9<_0x558e17['types']['length'];++_0x26dfc9)if(!_0x1ca790['isInteger'](_0x558e17['types'][_0x26dfc9]))return'types:\x20integer[]\x20expected';}if(null!=_0x558e17['metadata']&&Object['hasOwnProperty']['call'](_0x558e17,'metadata')){if(!Array['isArray'](_0x558e17['metadata']))return'metadata:\x20array\x20expected';for(_0x26dfc9=0x0;_0x26dfc9<_0x558e17['metadata']['length'];++_0x26dfc9){var _0x15ed82=_0x4f54f6['OperationMetadataDescriptor']['verify'](_0x558e17['metadata'][_0x26dfc9],_0x40426d+0x1);if(_0x15ed82)return'metadata.'+_0x15ed82;}}return null!=_0x558e17['lastOperationId']&&Object['hasOwnProperty']['call'](_0x558e17,'lastOperationId')&&!_0x1ca790['isString'](_0x558e17['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x157d2c['fromObject']=function(_0x19dd40,_0x30eec9){if(_0x19dd40 instanceof _0x4f54f6['CollaborativeEditingUpdateMessage'])return _0x19dd40;if(!_0x1ca790['isObject'](_0x19dd40))throw TypeError('.CollaborativeEditingUpdateMessage:\x20object\x20expected');if(void 0x0===_0x30eec9&&(_0x30eec9=0x0),_0x30eec9>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3a2f2e=new _0x4f54f6['CollaborativeEditingUpdateMessage']();if(null!=_0x19dd40['id']&&(_0x3a2f2e['id']=String(_0x19dd40['id'])),null!=_0x19dd40['baseVersion']&&(_0x3a2f2e['baseVersion']=_0x19dd40['baseVersion']>>>0x0),_0x19dd40['buffers']){if(!Array['isArray'](_0x19dd40['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x3a2f2e['buffers']=[];for(var _0x2d369e=0x0;_0x2d369e<_0x19dd40['buffers']['length'];++_0x2d369e)'string'==typeof _0x19dd40['buffers'][_0x2d369e]?_0x1ca790['base64']['decode'](_0x19dd40['buffers'][_0x2d369e],_0x3a2f2e['buffers'][_0x2d369e]=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x19dd40['buffers'][_0x2d369e])),0x0):_0x19dd40['buffers'][_0x2d369e]['length']>=0x0&&(_0x3a2f2e['buffers'][_0x2d369e]=_0x19dd40['buffers'][_0x2d369e]);}if(_0x19dd40['types']){if(!Array['isArray'](_0x19dd40['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x3a2f2e['types']=[],_0x2d369e=0x0;_0x2d369e<_0x19dd40['types']['length'];++_0x2d369e)_0x3a2f2e['types'][_0x2d369e]=_0x19dd40['types'][_0x2d369e]>>>0x0;}if(_0x19dd40['metadata']){if(!Array['isArray'](_0x19dd40['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x3a2f2e['metadata']=[],_0x2d369e=0x0;_0x2d369e<_0x19dd40['metadata']['length'];++_0x2d369e){if(!_0x1ca790['isObject'](_0x19dd40['metadata'][_0x2d369e]))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x3a2f2e['metadata'][_0x2d369e]=_0x4f54f6['OperationMetadataDescriptor']['fromObject'](_0x19dd40['metadata'][_0x2d369e],_0x30eec9+0x1);}}return null!=_0x19dd40['lastOperationId']&&(_0x3a2f2e['lastOperationId']=String(_0x19dd40['lastOperationId'])),_0x3a2f2e;},_0x157d2c['toObject']=function(_0x3c5613,_0x51cea1,_0x59af0b){if(_0x51cea1||(_0x51cea1={}),void 0x0===_0x59af0b&&(_0x59af0b=0x0),_0x59af0b>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x49da22={};if((_0x51cea1['arrays']||_0x51cea1['defaults'])&&(_0x49da22['buffers']=[],_0x49da22['types']=[],_0x49da22['metadata']=[]),_0x51cea1['defaults']&&(_0x49da22['id']='',_0x49da22['baseVersion']=0x0,_0x49da22['lastOperationId']=''),null!=_0x3c5613['id']&&Object['hasOwnProperty']['call'](_0x3c5613,'id')&&(_0x49da22['id']=_0x3c5613['id']),null!=_0x3c5613['baseVersion']&&Object['hasOwnProperty']['call'](_0x3c5613,'baseVersion')&&(_0x49da22['baseVersion']=_0x3c5613['baseVersion']),_0x3c5613['buffers']&&_0x3c5613['buffers']['length']){_0x49da22['buffers']=[];for(var _0x38396e=0x0;_0x38396e<_0x3c5613['buffers']['length'];++_0x38396e)_0x49da22['buffers'][_0x38396e]=_0x51cea1['bytes']===String?_0x1ca790['base64']['encode'](_0x3c5613['buffers'][_0x38396e],0x0,_0x3c5613['buffers'][_0x38396e]['length']):_0x51cea1['bytes']===Array?Array['prototype']['slice']['call'](_0x3c5613['buffers'][_0x38396e]):_0x3c5613['buffers'][_0x38396e];}if(_0x3c5613['types']&&_0x3c5613['types']['length']){for(_0x49da22['types']=[],_0x38396e=0x0;_0x38396e<_0x3c5613['types']['length'];++_0x38396e)_0x49da22['types'][_0x38396e]=_0x3c5613['types'][_0x38396e];}if(_0x3c5613['metadata']&&_0x3c5613['metadata']['length']){for(_0x49da22['metadata']=[],_0x38396e=0x0;_0x38396e<_0x3c5613['metadata']['length'];++_0x38396e)_0x49da22['metadata'][_0x38396e]=_0x4f54f6['OperationMetadataDescriptor']['toObject'](_0x3c5613['metadata'][_0x38396e],_0x51cea1,_0x59af0b+0x1);}return null!=_0x3c5613['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3c5613,'lastOperationId')&&(_0x49da22['lastOperationId']=_0x3c5613['lastOperationId']),_0x49da22;},_0x157d2c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x157d2c['getTypeUrl']=function(_0xd64abe){return void 0x0===_0xd64abe&&(_0xd64abe='type.googleapis.com'),_0xd64abe+'/CollaborativeEditingUpdateMessage';},_0x157d2c;}()),_0x4f54f6['CollaborativeEditingReconnectMessage']=(function(){function _0x37d003(_0x58624e){if(_0x58624e){for(var _0x5d15ed=Object['keys'](_0x58624e),_0x33067b=0x0;_0x33067b<_0x5d15ed['length'];++_0x33067b)null!=_0x58624e[_0x5d15ed[_0x33067b]]&&'__proto__'!==_0x5d15ed[_0x33067b]&&(this[_0x5d15ed[_0x33067b]]=_0x58624e[_0x5d15ed[_0x33067b]]);}}return _0x37d003['prototype']['id']='',_0x37d003['prototype']['bundleVersion']='',_0x37d003['prototype']['lastKnowVersion']=0x0,_0x37d003['create']=function(_0x46369b){return new _0x37d003(_0x46369b);},_0x37d003['encode']=function(_0x25c64c,_0x29b24c,_0x4c67b4){if(_0x29b24c||(_0x29b24c=_0x5c509e['create']()),void 0x0===_0x4c67b4&&(_0x4c67b4=0x0),_0x4c67b4>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x25c64c['id']&&Object['hasOwnProperty']['call'](_0x25c64c,'id')&&_0x29b24c['uint32'](0xa)['string'](_0x25c64c['id']),null!=_0x25c64c['bundleVersion']&&Object['hasOwnProperty']['call'](_0x25c64c,'bundleVersion')&&_0x29b24c['uint32'](0x12)['string'](_0x25c64c['bundleVersion']),null!=_0x25c64c['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x25c64c,'lastKnowVersion')&&_0x29b24c['uint32'](0x18)['uint32'](_0x25c64c['lastKnowVersion']),_0x29b24c;},_0x37d003['encodeDelimited']=function(_0x2b3c44,_0x1fc96b){return this['encode'](_0x2b3c44,_0x1fc96b)['ldelim']();},_0x37d003['decode']=function(_0x13167b,_0x250e82,_0x5e692a,_0x4b6331){if(_0x13167b instanceof _0x280c77||(_0x13167b=_0x280c77['create'](_0x13167b)),void 0x0===_0x4b6331&&(_0x4b6331=0x0),_0x4b6331>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b43e1=void 0x0===_0x250e82?_0x13167b['len']:_0x13167b['pos']+_0x250e82,_0x54a3f9=new _0x4f54f6['CollaborativeEditingReconnectMessage']();_0x13167b['pos']<_0x2b43e1;){var _0xb77b53=_0x13167b['uint32']();if(_0xb77b53===_0x5e692a)break;switch(_0xb77b53>>>0x3){case 0x1:_0x54a3f9['id']=_0x13167b['string']();break;case 0x2:_0x54a3f9['bundleVersion']=_0x13167b['string']();break;case 0x3:_0x54a3f9['lastKnowVersion']=_0x13167b['uint32']();break;default:_0x13167b['skipType'](0x7&_0xb77b53,_0x4b6331);}}return _0x54a3f9;},_0x37d003['decodeDelimited']=function(_0x1cef75){return _0x1cef75 instanceof _0x280c77||(_0x1cef75=new _0x280c77(_0x1cef75)),this['decode'](_0x1cef75,_0x1cef75['uint32']());},_0x37d003['verify']=function(_0x9257f5,_0x28f79b){return'object'!=typeof _0x9257f5||null===_0x9257f5?'object\x20expected':(void 0x0===_0x28f79b&&(_0x28f79b=0x0),_0x28f79b>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x9257f5['id']&&Object['hasOwnProperty']['call'](_0x9257f5,'id')&&!_0x1ca790['isString'](_0x9257f5['id'])?'id:\x20string\x20expected':null!=_0x9257f5['bundleVersion']&&Object['hasOwnProperty']['call'](_0x9257f5,'bundleVersion')&&!_0x1ca790['isString'](_0x9257f5['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x9257f5['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x9257f5,'lastKnowVersion')&&!_0x1ca790['isInteger'](_0x9257f5['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},_0x37d003['fromObject']=function(_0xd41f46,_0x553f7c){if(_0xd41f46 instanceof _0x4f54f6['CollaborativeEditingReconnectMessage'])return _0xd41f46;if(!_0x1ca790['isObject'](_0xd41f46))throw TypeError('.CollaborativeEditingReconnectMessage:\x20object\x20expected');if(void 0x0===_0x553f7c&&(_0x553f7c=0x0),_0x553f7c>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x7ee037=new _0x4f54f6['CollaborativeEditingReconnectMessage']();return null!=_0xd41f46['id']&&(_0x7ee037['id']=String(_0xd41f46['id'])),null!=_0xd41f46['bundleVersion']&&(_0x7ee037['bundleVersion']=String(_0xd41f46['bundleVersion'])),null!=_0xd41f46['lastKnowVersion']&&(_0x7ee037['lastKnowVersion']=_0xd41f46['lastKnowVersion']>>>0x0),_0x7ee037;},_0x37d003['toObject']=function(_0x4a1bb5,_0x496bce,_0x423dad){if(_0x496bce||(_0x496bce={}),void 0x0===_0x423dad&&(_0x423dad=0x0),_0x423dad>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2ade0f={};return _0x496bce['defaults']&&(_0x2ade0f['id']='',_0x2ade0f['bundleVersion']='',_0x2ade0f['lastKnowVersion']=0x0),null!=_0x4a1bb5['id']&&Object['hasOwnProperty']['call'](_0x4a1bb5,'id')&&(_0x2ade0f['id']=_0x4a1bb5['id']),null!=_0x4a1bb5['bundleVersion']&&Object['hasOwnProperty']['call'](_0x4a1bb5,'bundleVersion')&&(_0x2ade0f['bundleVersion']=_0x4a1bb5['bundleVersion']),null!=_0x4a1bb5['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x4a1bb5,'lastKnowVersion')&&(_0x2ade0f['lastKnowVersion']=_0x4a1bb5['lastKnowVersion']),_0x2ade0f;},_0x37d003['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x37d003['getTypeUrl']=function(_0x4e408e){return void 0x0===_0x4e408e&&(_0x4e408e='type.googleapis.com'),_0x4e408e+'/CollaborativeEditingReconnectMessage';},_0x37d003;}()),_0x4f54f6['CollaborativeEditingConnectMessage']=(function(){function _0x35ff41(_0x1577a0){if(this['buffers']=[],this['types']=[],_0x1577a0){for(var _0x5e2263=Object['keys'](_0x1577a0),_0x23fa00=0x0;_0x23fa00<_0x5e2263['length'];++_0x23fa00)null!=_0x1577a0[_0x5e2263[_0x23fa00]]&&'__proto__'!==_0x5e2263[_0x23fa00]&&(this[_0x5e2263[_0x23fa00]]=_0x1577a0[_0x5e2263[_0x23fa00]]);}}return _0x35ff41['prototype']['id']='',_0x35ff41['prototype']['bundleVersion']='',_0x35ff41['prototype']['buffers']=_0x1ca790['emptyArray'],_0x35ff41['prototype']['types']=_0x1ca790['emptyArray'],_0x35ff41['prototype']['lastOperationId']='',_0x35ff41['create']=function(_0x2eca85){return new _0x35ff41(_0x2eca85);},_0x35ff41['encode']=function(_0x4e5763,_0x28fb79,_0x4c6235){if(_0x28fb79||(_0x28fb79=_0x5c509e['create']()),void 0x0===_0x4c6235&&(_0x4c6235=0x0),_0x4c6235>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4e5763['id']&&Object['hasOwnProperty']['call'](_0x4e5763,'id')&&_0x28fb79['uint32'](0xa)['string'](_0x4e5763['id']),null!=_0x4e5763['bundleVersion']&&Object['hasOwnProperty']['call'](_0x4e5763,'bundleVersion')&&_0x28fb79['uint32'](0x12)['string'](_0x4e5763['bundleVersion']),null!=_0x4e5763['buffers']&&_0x4e5763['buffers']['length']){for(var _0x5539ba=0x0;_0x5539ba<_0x4e5763['buffers']['length'];++_0x5539ba)_0x28fb79['uint32'](0x1a)['bytes'](_0x4e5763['buffers'][_0x5539ba]);}if(null!=_0x4e5763['types']&&_0x4e5763['types']['length']){for(_0x28fb79['uint32'](0x22)['fork'](),_0x5539ba=0x0;_0x5539ba<_0x4e5763['types']['length'];++_0x5539ba)_0x28fb79['uint32'](_0x4e5763['types'][_0x5539ba]);_0x28fb79['ldelim']();}return null!=_0x4e5763['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4e5763,'lastOperationId')&&_0x28fb79['uint32'](0x2a)['string'](_0x4e5763['lastOperationId']),_0x28fb79;},_0x35ff41['encodeDelimited']=function(_0x3b2df1,_0x4d6ca8){return this['encode'](_0x3b2df1,_0x4d6ca8)['ldelim']();},_0x35ff41['decode']=function(_0x17163b,_0x528e3f,_0x163a5c,_0x15951e){if(_0x17163b instanceof _0x280c77||(_0x17163b=_0x280c77['create'](_0x17163b)),void 0x0===_0x15951e&&(_0x15951e=0x0),_0x15951e>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xea1d22=void 0x0===_0x528e3f?_0x17163b['len']:_0x17163b['pos']+_0x528e3f,_0xcf58ef=new _0x4f54f6['CollaborativeEditingConnectMessage']();_0x17163b['pos']<_0xea1d22;){var _0x5e9108=_0x17163b['uint32']();if(_0x5e9108===_0x163a5c)break;switch(_0x5e9108>>>0x3){case 0x1:_0xcf58ef['id']=_0x17163b['string']();break;case 0x2:_0xcf58ef['bundleVersion']=_0x17163b['string']();break;case 0x3:_0xcf58ef['buffers']&&_0xcf58ef['buffers']['length']||(_0xcf58ef['buffers']=[]),_0xcf58ef['buffers']['push'](_0x17163b['bytes']());break;case 0x4:if(_0xcf58ef['types']&&_0xcf58ef['types']['length']||(_0xcf58ef['types']=[]),0x2==(0x7&_0x5e9108)){for(var _0x543a1e=_0x17163b['uint32']()+_0x17163b['pos'];_0x17163b['pos']<_0x543a1e;)_0xcf58ef['types']['push'](_0x17163b['uint32']());}else _0xcf58ef['types']['push'](_0x17163b['uint32']());break;case 0x5:_0xcf58ef['lastOperationId']=_0x17163b['string']();break;default:_0x17163b['skipType'](0x7&_0x5e9108,_0x15951e);}}return _0xcf58ef;},_0x35ff41['decodeDelimited']=function(_0x100c64){return _0x100c64 instanceof _0x280c77||(_0x100c64=new _0x280c77(_0x100c64)),this['decode'](_0x100c64,_0x100c64['uint32']());},_0x35ff41['verify']=function(_0xa382c4,_0x12057a){if('object'!=typeof _0xa382c4||null===_0xa382c4)return'object\x20expected';if(void 0x0===_0x12057a&&(_0x12057a=0x0),_0x12057a>_0x1ca790['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xa382c4['id']&&Object['hasOwnProperty']['call'](_0xa382c4,'id')&&!_0x1ca790['isString'](_0xa382c4['id']))return'id:\x20string\x20expected';if(null!=_0xa382c4['bundleVersion']&&Object['hasOwnProperty']['call'](_0xa382c4,'bundleVersion')&&!_0x1ca790['isString'](_0xa382c4['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0xa382c4['buffers']&&Object['hasOwnProperty']['call'](_0xa382c4,'buffers')){if(!Array['isArray'](_0xa382c4['buffers']))return'buffers:\x20array\x20expected';for(var _0xf4150e=0x0;_0xf4150e<_0xa382c4['buffers']['length'];++_0xf4150e)if(!(_0xa382c4['buffers'][_0xf4150e]&&'number'==typeof _0xa382c4['buffers'][_0xf4150e]['length']||_0x1ca790['isString'](_0xa382c4['buffers'][_0xf4150e])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0xa382c4['types']&&Object['hasOwnProperty']['call'](_0xa382c4,'types')){if(!Array['isArray'](_0xa382c4['types']))return'types:\x20array\x20expected';for(_0xf4150e=0x0;_0xf4150e<_0xa382c4['types']['length'];++_0xf4150e)if(!_0x1ca790['isInteger'](_0xa382c4['types'][_0xf4150e]))return'types:\x20integer[]\x20expected';}return null!=_0xa382c4['lastOperationId']&&Object['hasOwnProperty']['call'](_0xa382c4,'lastOperationId')&&!_0x1ca790['isString'](_0xa382c4['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x35ff41['fromObject']=function(_0x3adc08,_0x5580b8){if(_0x3adc08 instanceof _0x4f54f6['CollaborativeEditingConnectMessage'])return _0x3adc08;if(!_0x1ca790['isObject'](_0x3adc08))throw TypeError('.CollaborativeEditingConnectMessage:\x20object\x20expected');if(void 0x0===_0x5580b8&&(_0x5580b8=0x0),_0x5580b8>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2f2564=new _0x4f54f6['CollaborativeEditingConnectMessage']();if(null!=_0x3adc08['id']&&(_0x2f2564['id']=String(_0x3adc08['id'])),null!=_0x3adc08['bundleVersion']&&(_0x2f2564['bundleVersion']=String(_0x3adc08['bundleVersion'])),_0x3adc08['buffers']){if(!Array['isArray'](_0x3adc08['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x2f2564['buffers']=[];for(var _0x21e562=0x0;_0x21e562<_0x3adc08['buffers']['length'];++_0x21e562)'string'==typeof _0x3adc08['buffers'][_0x21e562]?_0x1ca790['base64']['decode'](_0x3adc08['buffers'][_0x21e562],_0x2f2564['buffers'][_0x21e562]=_0x1ca790['newBuffer'](_0x1ca790['base64']['length'](_0x3adc08['buffers'][_0x21e562])),0x0):_0x3adc08['buffers'][_0x21e562]['length']>=0x0&&(_0x2f2564['buffers'][_0x21e562]=_0x3adc08['buffers'][_0x21e562]);}if(_0x3adc08['types']){if(!Array['isArray'](_0x3adc08['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x2f2564['types']=[],_0x21e562=0x0;_0x21e562<_0x3adc08['types']['length'];++_0x21e562)_0x2f2564['types'][_0x21e562]=_0x3adc08['types'][_0x21e562]>>>0x0;}return null!=_0x3adc08['lastOperationId']&&(_0x2f2564['lastOperationId']=String(_0x3adc08['lastOperationId'])),_0x2f2564;},_0x35ff41['toObject']=function(_0x48c6ea,_0x28a892,_0x245249){if(_0x28a892||(_0x28a892={}),void 0x0===_0x245249&&(_0x245249=0x0),_0x245249>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4c9208={};if((_0x28a892['arrays']||_0x28a892['defaults'])&&(_0x4c9208['buffers']=[],_0x4c9208['types']=[]),_0x28a892['defaults']&&(_0x4c9208['id']='',_0x4c9208['bundleVersion']='',_0x4c9208['lastOperationId']=''),null!=_0x48c6ea['id']&&Object['hasOwnProperty']['call'](_0x48c6ea,'id')&&(_0x4c9208['id']=_0x48c6ea['id']),null!=_0x48c6ea['bundleVersion']&&Object['hasOwnProperty']['call'](_0x48c6ea,'bundleVersion')&&(_0x4c9208['bundleVersion']=_0x48c6ea['bundleVersion']),_0x48c6ea['buffers']&&_0x48c6ea['buffers']['length']){_0x4c9208['buffers']=[];for(var _0x45062a=0x0;_0x45062a<_0x48c6ea['buffers']['length'];++_0x45062a)_0x4c9208['buffers'][_0x45062a]=_0x28a892['bytes']===String?_0x1ca790['base64']['encode'](_0x48c6ea['buffers'][_0x45062a],0x0,_0x48c6ea['buffers'][_0x45062a]['length']):_0x28a892['bytes']===Array?Array['prototype']['slice']['call'](_0x48c6ea['buffers'][_0x45062a]):_0x48c6ea['buffers'][_0x45062a];}if(_0x48c6ea['types']&&_0x48c6ea['types']['length']){for(_0x4c9208['types']=[],_0x45062a=0x0;_0x45062a<_0x48c6ea['types']['length'];++_0x45062a)_0x4c9208['types'][_0x45062a]=_0x48c6ea['types'][_0x45062a];}return null!=_0x48c6ea['lastOperationId']&&Object['hasOwnProperty']['call'](_0x48c6ea,'lastOperationId')&&(_0x4c9208['lastOperationId']=_0x48c6ea['lastOperationId']),_0x4c9208;},_0x35ff41['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x35ff41['getTypeUrl']=function(_0x4cf902){return void 0x0===_0x4cf902&&(_0x4cf902='type.googleapis.com'),_0x4cf902+'/CollaborativeEditingConnectMessage';},_0x35ff41;}()),_0x4f54f6['OperationMetadataDescriptor']=(function(){function _0x5f0228(_0xa484f5){if(_0xa484f5){for(var _0x41d4d0=Object['keys'](_0xa484f5),_0x51eb17=0x0;_0x51eb17<_0x41d4d0['length'];++_0x51eb17)null!=_0xa484f5[_0x41d4d0[_0x51eb17]]&&'__proto__'!==_0x41d4d0[_0x51eb17]&&(this[_0x41d4d0[_0x51eb17]]=_0xa484f5[_0x41d4d0[_0x51eb17]]);}}return _0x5f0228['prototype']['userId']='',_0x5f0228['prototype']['type']='',_0x5f0228['prototype']['createdAt']='',_0x5f0228['create']=function(_0x71831a){return new _0x5f0228(_0x71831a);},_0x5f0228['encode']=function(_0x4c55da,_0x3f8423,_0x75a006){if(_0x3f8423||(_0x3f8423=_0x5c509e['create']()),void 0x0===_0x75a006&&(_0x75a006=0x0),_0x75a006>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4c55da['userId']&&Object['hasOwnProperty']['call'](_0x4c55da,'userId')&&_0x3f8423['uint32'](0xa)['string'](_0x4c55da['userId']),null!=_0x4c55da['type']&&Object['hasOwnProperty']['call'](_0x4c55da,'type')&&_0x3f8423['uint32'](0x12)['string'](_0x4c55da['type']),null!=_0x4c55da['createdAt']&&Object['hasOwnProperty']['call'](_0x4c55da,'createdAt')&&_0x3f8423['uint32'](0x1a)['string'](_0x4c55da['createdAt']),_0x3f8423;},_0x5f0228['encodeDelimited']=function(_0x4857b6,_0x4c9dff){return this['encode'](_0x4857b6,_0x4c9dff)['ldelim']();},_0x5f0228['decode']=function(_0x36f1c4,_0x2ec61f,_0x2bd4b4,_0x19cf02){if(_0x36f1c4 instanceof _0x280c77||(_0x36f1c4=_0x280c77['create'](_0x36f1c4)),void 0x0===_0x19cf02&&(_0x19cf02=0x0),_0x19cf02>_0x280c77['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x291734=void 0x0===_0x2ec61f?_0x36f1c4['len']:_0x36f1c4['pos']+_0x2ec61f,_0x38425e=new _0x4f54f6['OperationMetadataDescriptor']();_0x36f1c4['pos']<_0x291734;){var _0x4d9201=_0x36f1c4['uint32']();if(_0x4d9201===_0x2bd4b4)break;switch(_0x4d9201>>>0x3){case 0x1:_0x38425e['userId']=_0x36f1c4['string']();break;case 0x2:_0x38425e['type']=_0x36f1c4['string']();break;case 0x3:_0x38425e['createdAt']=_0x36f1c4['string']();break;default:_0x36f1c4['skipType'](0x7&_0x4d9201,_0x19cf02);}}return _0x38425e;},_0x5f0228['decodeDelimited']=function(_0x43ac50){return _0x43ac50 instanceof _0x280c77||(_0x43ac50=new _0x280c77(_0x43ac50)),this['decode'](_0x43ac50,_0x43ac50['uint32']());},_0x5f0228['verify']=function(_0x89592d,_0x3299de){return'object'!=typeof _0x89592d||null===_0x89592d?'object\x20expected':(void 0x0===_0x3299de&&(_0x3299de=0x0),_0x3299de>_0x1ca790['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x89592d['userId']&&Object['hasOwnProperty']['call'](_0x89592d,'userId')&&!_0x1ca790['isString'](_0x89592d['userId'])?'userId:\x20string\x20expected':null!=_0x89592d['type']&&Object['hasOwnProperty']['call'](_0x89592d,'type')&&!_0x1ca790['isString'](_0x89592d['type'])?'type:\x20string\x20expected':null!=_0x89592d['createdAt']&&Object['hasOwnProperty']['call'](_0x89592d,'createdAt')&&!_0x1ca790['isString'](_0x89592d['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x5f0228['fromObject']=function(_0x20c2b3,_0x3301ca){if(_0x20c2b3 instanceof _0x4f54f6['OperationMetadataDescriptor'])return _0x20c2b3;if(!_0x1ca790['isObject'](_0x20c2b3))throw TypeError('.OperationMetadataDescriptor:\x20object\x20expected');if(void 0x0===_0x3301ca&&(_0x3301ca=0x0),_0x3301ca>_0x1ca790['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2355f5=new _0x4f54f6['OperationMetadataDescriptor']();return null!=_0x20c2b3['userId']&&(_0x2355f5['userId']=String(_0x20c2b3['userId'])),null!=_0x20c2b3['type']&&(_0x2355f5['type']=String(_0x20c2b3['type'])),null!=_0x20c2b3['createdAt']&&(_0x2355f5['createdAt']=String(_0x20c2b3['createdAt'])),_0x2355f5;},_0x5f0228['toObject']=function(_0x564a4d,_0x264e46,_0x28affd){if(_0x264e46||(_0x264e46={}),void 0x0===_0x28affd&&(_0x28affd=0x0),_0x28affd>_0x1ca790['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1c6129={};return _0x264e46['defaults']&&(_0x1c6129['userId']='',_0x1c6129['type']='',_0x1c6129['createdAt']=''),null!=_0x564a4d['userId']&&Object['hasOwnProperty']['call'](_0x564a4d,'userId')&&(_0x1c6129['userId']=_0x564a4d['userId']),null!=_0x564a4d['type']&&Object['hasOwnProperty']['call'](_0x564a4d,'type')&&(_0x1c6129['type']=_0x564a4d['type']),null!=_0x564a4d['createdAt']&&Object['hasOwnProperty']['call'](_0x564a4d,'createdAt')&&(_0x1c6129['createdAt']=_0x564a4d['createdAt']),_0x1c6129;},_0x5f0228['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x5f0228['getTypeUrl']=function(_0x281e90){return void 0x0===_0x281e90&&(_0x281e90='type.googleapis.com'),_0x281e90+'/OperationMetadataDescriptor';},_0x5f0228;}()),_0x4f54f6;})());var _0x16c33f=class{static['decode'](_0x4ec266,_0x191f92){const _0x26a04f=_0x3d5eec(_0x191f92)['decode']('undefined'==typeof window?_0x4ec266:new Uint8Array(_0x4ec266));return _0x191f92['fromJSON']({..._0x26a04f});}static['encode'](_0x3f4549){const _0x38bda5=_0x3d5eec(_0x3f4549['constructor']),_0x340e48=_0x3f4549['toJSON'](),_0x5dfee7=_0x38bda5['verify'](_0x340e48);if(_0x5dfee7)throw Error(_0x5dfee7);return _0x38bda5['encode'](_0x38bda5['create'](_0x340e48))['finish']();}};function _0x3d5eec(_0x2d9799){return _0x8864d7[_0x2d9799['DESCRIPTOR_NAME']];}var _0x3056ca=class GetManyUsersMessage extends _0x27edad{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x3aeddd){super(),this['ids']=_0x3aeddd;}toJSON(){return{'ids':this['ids']};}static['fromJSON'](_0x74466a){return new GetManyUsersMessage(_0x74466a['ids']);}},_0x5c26ae=class GetManyUsersResponse extends _0x27edad{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x1d86e3){super(),this['users']=_0x1d86e3;}toJSON(){return{'users':this['users']['map'](_0x5b64ea)};}static['fromJSON'](_0x308c91){return new GetManyUsersResponse(_0x308c91['users']['map'](_0x4eb62e));}};function _0x5b64ea(_0x1e713c){return{'attributes':Object['keys'](_0x1e713c)['map'](_0x4964bb=>({'key':_0x4964bb,'value':JSON['stringify'](_0x1e713c[_0x4964bb])}))};}function _0x4eb62e(_0x22f7e1){return _0x22f7e1['attributes']['reduce']((_0x327b2d,_0xcfc4a7)=>(_0x327b2d[_0xcfc4a7['key']]=_0xcfc4a7['value']?JSON['parse'](_0xcfc4a7['value']):null,_0x327b2d),{});}var _0x4a3f91=class _0x5dffcb{static ['_SERVICE']=0x2;constructor(_0x453c16={}){this['_attributes']=new Map();for(const _0x405b4e of Object['keys'](_0x453c16))'id'!==_0x405b4e?(this['_attributes']['set'](_0x405b4e,_0x453c16[_0x405b4e]),Object['defineProperty'](this,_0x405b4e,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x405b4e)})):this['id']=_0x453c16['id'];}static fromData(_0x1ff854){return new _0x5dffcb(_0x1ff854);}static async get(_0x599119,_0x305888){const _0x56c58c=new _0x2940be(_0x305888);try{const _0x52bffb=await _0x599119['_sendRequest'](_0x5dffcb['_SERVICE'],_0x2940be['TYPE'],_0x16c33f['encode'](_0x56c58c)),_0x4d1827=_0x16c33f['decode'](_0x52bffb,_0x230833);return new _0x5dffcb(_0x4d1827['attributes']);}catch{return new _0x5dffcb({'id':_0x305888});}}static async getMany(_0x404569,_0x5f2da1){const _0x18a550=new _0x3056ca(_0x5f2da1);try{const _0x3b8bb1=await _0x404569['_sendRequest'](_0x5dffcb['_SERVICE'],_0x3056ca['TYPE'],_0x16c33f['encode'](_0x18a550));return _0x16c33f['decode'](_0x3b8bb1,_0x5c26ae)['users']['map'](_0x2c6dc8=>new _0x5dffcb(_0x2c6dc8));}catch{return _0x5f2da1['map'](_0x36d42d=>new _0x5dffcb({'id':_0x36d42d}));}}},tE=class _0xb9a5a3 extends _0x27edad{type;socketId;data;static ['DESCRIPTOR_NAME']='ChannelMessage';static ['DESCRIPTOR']={'fields':{'type':{'type':'uint32','id':0x1},'socketId':{'type':'string','id':0x2},'data':{'type':'bytes','id':0x3}}};constructor(_0x101d4e,_0x3ab476,_0x58f3fd){super(),this['type']=_0x101d4e,this['socketId']=_0x3ab476,this['data']=_0x58f3fd;}toJSON(){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x13b8e1){return new _0xb9a5a3(_0x13b8e1['type'],_0x13b8e1['socketId'],_0x13b8e1['data']);}},_0x29560b=class extends(0x0,_0x491313['EmitterMixin'])(){['_channelName'];_wsGateway;_socket;constructor(_0x22ab44,_0x1bc666,_0x3c1cae){super(),this['_channelName']=_0x22ab44,this['_wsGateway']=_0x1bc666,this['_socket']=_0x3c1cae,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}getEventName(_0x27dd08,_0x42c419=!0x1){let _0x546c87='';return _0x42c419&&(_0x546c87+='all:'),_0x546c87+='event',_0x27dd08&&(_0x546c87+=':'+_0x27dd08),_0x546c87;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x1fc530=>{const _0x3818bd=_0x16c33f['decode'](_0x1fc530,tE);this['fire'](this['getEventName'](_0x3818bd['type'],!0x0),_0x3818bd['data'],_0x3818bd['socketId']),_0x3818bd['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x3818bd['type']),_0x3818bd['data'],_0x3818bd['socketId']);});}},_0x1edd84=class CKEditorCloudServicesError extends Error{context;['code'];data;constructor(_0x42ab2d,_0x3e5cb8,_0x38d49c=null,_0x441c71={}){super('cloud-services-internal-error:\x20'+_0x42ab2d),this['context']=_0x3e5cb8,this['code']=_0x38d49c,this['data']=_0x441c71,this['name']='CKEditorError';}static['fromPublicError'](_0xc00bfa){return new CKEditorCloudServicesError(function(_0x29409a){let _0x6d74c0='cloud-services-error:\x20'+_0x29409a['message'];return _0x29409a['data']&&(_0x6d74c0+='\x0aError\x20data:\x20'+JSON['stringify'](_0x29409a['data'])),_0x29409a['explanation']&&(_0x6d74c0+='\x0aExplanation:\x20'+_0x29409a['explanation']),_0x29409a['action']&&(_0x6d74c0+='\x0aAction:\x20'+_0x29409a['action']),_0x29409a['traceId']&&(_0x6d74c0+='\x0aTraceId:\x20'+_0x29409a['traceId']),_0x29409a['code']&&(_0x6d74c0+='\x0aCode:\x20'+_0x29409a['code']),_0x6d74c0;}(_0xc00bfa),_0xc00bfa);}},_0xa4578=class CKEditorCloudServicesServerError extends Error{['code'];traceId;data;constructor(_0x3b9b95,_0x1ff9bb){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x3b9b95,this['code']=_0x1ff9bb['code'],this['traceId']=_0x1ff9bb['traceId'],this['data']=_0x1ff9bb['data'];}static['fromPublicError'](_0x1fdcfb){return new CKEditorCloudServicesServerError(function(_0x16190d){let _0x4036ed='cloud-services-server-error:\x20'+_0x16190d['message'];return _0x16190d['explanation']&&(_0x4036ed+='\x0aExplanation:\x20'+_0x16190d['explanation']),_0x16190d['action']&&(_0x4036ed+='\x0aAction:\x20'+_0x16190d['action']),_0x16190d['traceId']&&(_0x4036ed+='\x0aTraceId:\x20'+_0x16190d['traceId']),_0x16190d['code']&&(_0x4036ed+='\x0aCode:\x20'+_0x16190d['code']),_0x4036ed;}(_0x1fdcfb),_0x1fdcfb);}},_0x57ba41=class PacketOptionsMessage extends _0x27edad{['flags'];['rooms'];except;static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x46af07,_0x53dd2b=[],_0x9c7d75=[]){super(),this['flags']=_0x46af07,this['rooms']=_0x53dd2b,this['except']=_0x9c7d75;}toJSON(){return{'flags':this['flags']?JSON['stringify'](this['flags']):void 0x0,'rooms':this['rooms']?.['length']?this['rooms']:void 0x0,'except':this['except']?.['length']?this['except']:void 0x0};}static['fromJSON'](_0x28c579){return new PacketOptionsMessage(_0x28c579['flags']&&JSON['parse'](_0x28c579['flags']),_0x28c579['rooms'],_0x28c579['except']);}};const _0x45e7be=((()=>!('undefined'==typeof process||!process['versions']?.['node']))());var _0x35b4f9=class ParserUtils{static getPacketType(..._0x491b5f){let _0xf52ce4=0x0;for(let _0x1fb010=0x0;_0x1fb010<_0x491b5f['length'];_0x1fb010++)_0xf52ce4+=_0x491b5f[_0x1fb010]*Math['pow'](0xa,_0x491b5f['length']-_0x1fb010-0x1);return _0xf52ce4;}static getType(_0x5c3e94){if(ParserUtils['isBuffer'](_0x5c3e94))return 0x1;const _0x2bf1f6=typeof _0x5c3e94;return'string'===_0x2bf1f6?0x2:'number'===_0x2bf1f6?0x3:0x4;}static['isBuffer'](_0x26ab2c){return _0x45e7be&&Buffer['isBuffer'](_0x26ab2c)||_0x26ab2c instanceof ArrayBuffer||_0x26ab2c instanceof Uint8Array||this['_isBufferView'](_0x26ab2c);}static['_isBufferView'](_0x4cb3e9){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x4cb3e9):_0x4cb3e9['buffer']instanceof ArrayBuffer;}},_0x2cec54=class extends _0x27edad{data;data1;static create(_0xc90bd9,_0x2807f8){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}},_0x4f9b0f=class NumberBytesPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x3,0x1))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x22d332,_0x2116b0){super(),this['data']=_0x22d332,this['data1']=_0x2116b0;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5e5c8e){return new NumberBytesPacketDataMessage(_0x5e5c8e['data'],_0x5e5c8e['data1']);}static create(_0x5e9622,_0x365792){return new NumberBytesPacketDataMessage(_0x5e9622,_0x365792);}},_0x511d8c=class StringBytesPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x2,0x1))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x419b37,_0x2a11c7){super(),this['data']=_0x419b37,this['data1']=_0x2a11c7;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x9e12f){return new StringBytesPacketDataMessage(_0x9e12f['data'],_0x9e12f['data1']);}static create(_0x1e3739,_0x139352){return new StringBytesPacketDataMessage(_0x1e3739,_0x139352);}},_0xa164ec=class BytesBytesPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x1,0x1))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x354e92,_0x4b62b3){super(),this['data']=_0x354e92,this['data1']=_0x4b62b3;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0xf3186d){return new BytesBytesPacketDataMessage(_0xf3186d['data'],_0xf3186d['data1']);}static create(_0x487a57,_0x5e9b2d){return new BytesBytesPacketDataMessage(_0x487a57,_0x5e9b2d);}},_0x333056=class StringObjectPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x2,0x4))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x42615b,_0x414feb){super(),this['data']=_0x42615b,this['data1']=_0x414feb;}toJSON(){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x574e9b){return new StringObjectPacketDataMessage(_0x574e9b['data'],_0x574e9b['data1']&&JSON['parse'](_0x574e9b['data1']));}static create(_0x5be7e2,_0x2e180b){return new StringObjectPacketDataMessage(_0x5be7e2,_0x2e180b);}},_0x1c83c6=class NumberObjectPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x3,0x4))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x303bf2,_0x248eaf){super(),this['data']=_0x303bf2,this['data1']=_0x248eaf;}toJSON(){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x13ced7){return new NumberObjectPacketDataMessage(_0x13ced7['data'],_0x13ced7['data1']&&JSON['parse'](_0x13ced7['data1']));}static create(_0x35d8c6,_0x564a){return new NumberObjectPacketDataMessage(_0x35d8c6,_0x564a);}},_0x146ac2=class ObjectObjectPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x4,0x4))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x11b5c2,_0x5dd92a){super(),this['data']=_0x11b5c2,this['data1']=_0x5dd92a;}toJSON(){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x2419dc){return new ObjectObjectPacketDataMessage(_0x2419dc['data']&&JSON['parse'](_0x2419dc['data']),_0x2419dc['data1']&&JSON['parse'](_0x2419dc['data1']));}static create(_0x15814c,_0x6a386){return new ObjectObjectPacketDataMessage(_0x15814c,_0x6a386);}},_0x2a629c=class ObjectBufferPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x4,0x1))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x2940de,_0x8d1dc7){super(),this['data']=_0x2940de,this['data1']=_0x8d1dc7;}toJSON(){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x9b8081){return new ObjectBufferPacketDataMessage(_0x9b8081['data']&&JSON['parse'](_0x9b8081['data']),_0x9b8081['data1']);}static create(_0x4788e4,_0x4af7cf){return new ObjectBufferPacketDataMessage(_0x4788e4,_0x4af7cf);}},_0x324d87=class StringStringPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x2,0x2))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x51d53d,_0x2096af){super(),this['data']=_0x51d53d,this['data1']=_0x2096af;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x44b030){return new StringStringPacketDataMessage(_0x44b030['data'],_0x44b030['data1']);}static create(_0x1d0a0e,_0x4d21ab){return new StringStringPacketDataMessage(_0x1d0a0e,_0x4d21ab);}},_0x13b3d1=class StringNumberPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x2,0x3))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x3459bd,_0x45db08){super(),this['data']=_0x3459bd,this['data1']=_0x45db08;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x51fdbc){return new StringNumberPacketDataMessage(_0x51fdbc['data'],_0x51fdbc['data1']);}static create(_0xaa3a43,_0xd93f8d){return new StringNumberPacketDataMessage(_0xaa3a43,_0xd93f8d);}},_0x4340ff=class NumberNumberPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x3,0x3))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x59b075,_0x295a03){super(),this['data']=_0x59b075,this['data1']=_0x295a03;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x398c9a){return new NumberNumberPacketDataMessage(_0x398c9a['data'],_0x398c9a['data1']);}static create(_0x5babaf,_0x20461e){return new NumberNumberPacketDataMessage(_0x5babaf,_0x20461e);}},_0x480768=class NumberStringPacketDataMessage extends _0x2cec54{data;data1;static ['TYPE']=((()=>_0x35b4f9['getPacketType'](0x3,0x2))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x406630,_0xc85f61){super(),this['data']=_0x406630,this['data1']=_0xc85f61;}toJSON(){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x162c81){return new NumberStringPacketDataMessage(_0x162c81['data'],_0x162c81['data1']);}static create(_0x45825e,_0x4c0e39){return new NumberStringPacketDataMessage(_0x45825e,_0x4c0e39);}};const _0x2cfc40=((()=>[_0x4f9b0f,_0x511d8c,_0xa164ec,_0x333056,_0x1c83c6,_0x146ac2,_0x2a629c,_0x324d87,_0x13b3d1,_0x4340ff,_0x480768]['reduce']((_0x57a750,_0x28bfef)=>(_0x57a750[_0x28bfef['TYPE']]=_0x28bfef,_0x57a750),{}))());var _0x151332=class PacketMessage extends _0x27edad{type;data;['id'];['nsp'];options;static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(_0x39dbd9,_0x2dd190,_0x27b31d,_0x31e8ad='/',_0x294933){super(),this['type']=_0x39dbd9,this['data']=_0x2dd190,this['id']=_0x27b31d,this['nsp']=_0x31e8ad,this['options']=_0x294933??new _0x57ba41();}get packetData(){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}toJSON(){const _0x5d7ca9=_0x16c33f['encode'](this['options']),_0x5e0390=_0x16c33f['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x5e0390,'options':_0x5d7ca9};}static['fromJSON'](_0xa44daf){const _0x681fee=Math['floor'](_0xa44daf['type']/0xa);return new PacketMessage(_0xa44daf['type']-0xa*_0x681fee,_0x16c33f['decode'](_0xa44daf['data'],_0x2cfc40[_0x681fee]),_0xa44daf['id'],_0xa44daf['nsp'],_0xa44daf['options']?_0x16c33f['decode'](_0xa44daf['options'],_0x57ba41):new _0x57ba41());}static create(_0x4a0013,_0x33f9a1={}){const _0x37d83f=_0x35b4f9['getPacketType'](_0x35b4f9['getType'](_0x4a0013['data'][0x0]),_0x35b4f9['getType'](_0x4a0013['data'][0x1]??_0x4a0013['data'][0x0]));return new PacketMessage(_0x4a0013['type'],_0x2cfc40[_0x37d83f]['create'](_0x4a0013['data'][0x0],_0x4a0013['data'][0x1]),_0x4a0013['id'],_0x4a0013['nsp'],new _0x57ba41(_0x33f9a1['flags'],_0x33f9a1['rooms'],_0x33f9a1['except']));}},_0x5d0c73=class{['encode'](_0x55b0b,_0x153f7b,_0x22d4d6,_0x5cfc6a='/',_0x4cffd6={}){if(_0x153f7b['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x4a09c6={'type':_0x55b0b,'data':_0x153f7b,'id':_0x22d4d6,'nsp':_0x5cfc6a};return _0x16c33f['encode'](_0x151332['create'](_0x4a09c6,_0x4cffd6));}['decode'](_0x53cf66){const _0x6d3cb4=_0x16c33f['decode'](_0x53cf66,_0x151332);return{'packet':{'id':_0x6d3cb4['id'],'type':_0x6d3cb4['type'],'data':_0x6d3cb4['packetData'],'nsp':_0x6d3cb4['nsp']},'options':{'flags':_0x6d3cb4['options']['flags'],'rooms':_0x6d3cb4['options']['rooms'],'except':_0x6d3cb4['options']['except']}};}};const _0x4d4fd4=((()=>[_0x9cfb6a['EVENT'],_0x9cfb6a['ACK'],_0x9cfb6a['BINARY_ACK'],_0x9cfb6a['BINARY_EVENT']])());var _0xeda665=class extends _0x3847d1{_packetParser;constructor(_0x56cf0a){super(),this['_packetParser']=_0x56cf0a??new _0x5d0c73();}['encode'](_0x2dac1d){if(_0x4d4fd4['includes'](_0x2dac1d['type']))try{return[this['_packetParser']['encode'](_0x2dac1d['type'],_0x2dac1d['data'],_0x2dac1d['id'],_0x2dac1d['nsp'])];}catch(_0x435ffb){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x435ffb['message']}});}return super['encode'](_0x2dac1d);}},_0x379d9e=class extends _0xefaa5c{_packetParser;constructor(_0x32fc87){super(),this['_packetParser']=_0x32fc87??new _0x5d0c73();}['add'](_0xb2dd05){if(!_0x35b4f9['isBuffer'](_0xb2dd05))return super['add'](_0xb2dd05);let _0x338af6;try{_0x338af6=this['_packetParser']['decode'](_0xb2dd05)['packet'];}catch{return super['add'](_0xb2dd05);}super['emitReserved']('decoded',_0x338af6);}},_0x15a0fe=class{_context;['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x13120b();timeout;constructor(_0x2b5cd8,_0x433cc4){this['_context']=_0x2b5cd8,this['timeout']=setTimeout(()=>this['error'](new _0x1edd84('Request\x20timeout.',this['_context'])),_0x433cc4);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x48b4af){this['_deferredPromise']['resolve'](_0x48b4af);}['error'](_0x40ce95){this['_deferredPromise']['reject'](_0x40ce95);}},_0x48103c=class{_context;_requests=new Set();constructor(_0x40d244){this['_context']=_0x40d244;}async['send'](_0x435820,_0x518054=0xafc8){const _0x247f70=this['_createRequest'](_0x518054);try{return _0x435820(_0x247f70),await _0x247f70['promise'];}finally{this['_finishRequest'](_0x247f70);}}['errorAll'](_0xe7da08){for(const _0x33a804 of this['_requests'])_0x33a804['error'](_0xe7da08);}waitForAllRequests(_0x2f24b9=0xafc8){return this['_waitForRequests'](_0x2f24b9);}_createRequest(_0x28d885){const _0x4c432e=new _0x15a0fe(this['_context'],_0x28d885);return this['_requests']['add'](_0x4c432e),_0x4c432e;}_finishRequest(_0x22d7a7){this['_requests']['delete'](_0x22d7a7),clearTimeout(_0x22d7a7['timeout']);}async _waitForRequests(_0x289a0c=0x1388,_0x357df0=0x0){return!this['_requests']['size']||_0x357df0>=_0x289a0c/0x1f4?Promise['resolve']():(await new Promise(_0x50b2b8=>{setTimeout(_0x50b2b8,0x1f4);}),this['_waitForRequests'](_0x289a0c,_0x357df0++));}};function _0x13120b(){let _0xc16f7b,_0x1e8678;const _0x4038f8=new Promise((_0xcca022,_0x2c90e5)=>{_0xc16f7b=_0xcca022,_0x1e8678=_0x2c90e5;});return{'resolve':_0xc16f7b,'reject':_0x1e8678,'promise':_0x4038f8};}const _0x3a0679='disconnected',_0x178279='connecting',_0x8db0b2='connected';var _0x219959=class WebSocketGateway$1 extends(0x0,_0x491313['ObservableMixin'])(){_requestsManager;['_url'];_socket;_socketAuth;['_channels'];_connectionAttempt=0x0;_token;_options;_connectionProvider;_userFactory;static ['STATE_DISCONNECTED']=((()=>_0x3a0679)());static ['STATE_CONNECTING']=((()=>_0x178279)());static ['STATE_CONNECTED']=((()=>_0x8db0b2)());static ['_CHANGE_STATE_EVENT_PRIORITY']=((()=>_0x491313['priorities']['get']('highest')+0xf423f)());constructor(_0x51d323,_0xc90967,_0x30ba79,_0x2be4f3,_0x3839d5){if(super(),this['_token']=_0xc90967,this['_options']=_0x30ba79??{},this['_connectionProvider']=_0x2be4f3??_0x2bb24f,this['_userFactory']=_0x3839d5??_0x4a3f91['get'],this['_requestsManager']=new _0x48103c(this),this['_channels']=new Map(),!_0x51d323)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=(0x0,_0x41286a['default'])(_0x51d323['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x3a0679),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x12fc0e,_0x3bbd6d,_0x16ee1c)=>{if(this['_debugEvent']('ws-gw:change:state',_0x16ee1c),_0x16ee1c!==WebSocketGateway$1['STATE_CONNECTED']){if(_0x16ee1c===WebSocketGateway$1['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new _0x1edd84('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x4a3f91,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x14221b,_0x1e4452)=>{this['_options']['onError']?this['_options']['onError'](_0x1e4452):console['error'](_0x1e4452);});}get['sessionId'](){return this['socketId'];}waitForAllRequests(_0x3a71b2){return this['_requestsManager']['waitForAllRequests'](_0x3a71b2);}disconnect(){this['state']!==_0x3a0679&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x3a0679);}async reconnect(){this['_socket']||this['state']!==_0x3a0679||(await this['_token']['refreshToken'](),await this['_connect']());}static async connect(_0x2d8036,_0x4717fd='local.cs.dev:443/ws-v2',_0x222e68={},_0x45eae2=_0x2bb24f,_0x1a1ed2=_0x4a3f91['get']){const _0x19a2ca=new this(_0x4717fd,_0x2d8036,_0x222e68,_0x45eae2,_0x1a1ed2);return await _0x19a2ca['_connect'](),_0x19a2ca;}_sendRequest(_0x2f5202,_0x1212f5,_0x116052){if(!_0x2f5202)throw new _0x1edd84('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new _0x1edd84('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new _0x1edd84('Not\x20authenticated.',this);const _0x39d1eb=new ArrayBuffer(_0x116052['length']+0x2),_0x5c2708=new Uint8Array(_0x39d1eb);return _0x5c2708[0x0]=_0x2f5202,_0x5c2708[0x1]=parseInt(_0x1212f5),_0x5c2708['set'](_0x116052,0x2),this['_emit'](0x1,_0x5c2708);}_getChannel(_0x420bb8,_0x4ace13){const _0x4dc571=''+_0x420bb8+_0x4ace13;return!this['_channels']['has'](_0x4dc571)&&this['_socket']&&this['_channels']['set'](_0x4dc571,new _0x29560b(_0x4dc571,this,this['_socket'])),this['_channels']['get'](_0x4dc571);}_connect(){return new Promise((_0x542250,_0xb2da37)=>{const _0x235202=this['_setupSocket']();!this['socketId']&&_0x235202['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0xb2da37);}),_0x235202['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x542250();}catch(_0x1a7127){_0xb2da37(_0x1a7127);}}),_0x235202['connect']();});}_getPortByProtocol(_0x31649f){return['http:','ws:']['includes'](_0x31649f)?0x50:0x1bb;}_setupSocket(){if(this['_socket'])return this['_socket'];const _0x35414b=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x24b84d=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x35414b,_0x320e6d=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x1040d6=this['_connectionProvider'](_0x24b84d,{'parser':{'Encoder':_0xeda665,'Decoder':_0x379d9e},'path':_0x320e6d+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'54.2.7'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x178279,_0x1040d6['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x1040d6['id'];}),_0x1040d6['on']('connect_error',_0x2fe1dd=>{this['_debugEvent']('connect_error',_0x2fe1dd);}),_0x1040d6['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x1040d6['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x1040d6['io']['on']('reconnect_attempt',_0x326792=>{this['_debugEvent']('reconnect_attempt',_0x326792),this['state']=_0x178279,this['_connectionAttempt']=_0x326792;}),_0x1040d6['on']('unauthorized',_0x196f4d=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x196f4d);}),_0x1040d6['on']('authenticationRequest',async _0x5b1f70=>{this['_debugEvent']('authenticationRequest',_0x5b1f70['attempt']),await this['_onReconnect']();}),this['_socket']=_0x1040d6,_0x1040d6;}_emit(_0x75a63c,_0x1977dd){const _0x4d1ec3=this['_socket'];return this['_requestsManager']['send'](_0x54b7ce=>{_0x4d1ec3['emit'](_0x75a63c,_0x1977dd,(_0x11af50,_0x391f52)=>{if(_0x11af50)return _0x54b7ce['error'](_0xa4578['fromPublicError'](_0x11af50));_0x54b7ce['response'](_0x391f52);});},this['_options']['requestTimeout']);}_addAuthData(_0xf70fac,_0x1ba2a5){this['_socketAuth']={'environmentId':_0xf70fac,'userId':_0x1ba2a5,'isAuthenticated':!0x0};}_removeAuthData(){this['_socketAuth']=void 0x0;}async _onConnect(){await this['_authenticate'](this['_token']['value']),this['state']=_0x8db0b2;const _0x2564a6=async(_0x2b9c45,_0x3b310f,_0x210bc5)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x210bc5);}catch{}};this['_token']['on']('change:value',_0x2564a6),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x2564a6);});}async _onReconnect(){await this['_token']['refreshToken'](),await this['_onConnect']();}_onDisconnect(){this['state']=_0x3a0679,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x48054e of this['_channels']['values']())_0x48054e['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}_debugEvent(_0x198ee2,_0x44a4f4){if(!this['_isDebugModeEnabled']())return;const _0x4afd6b=void 0x0!==_0x44a4f4?',\x20data:\x20'+_0x44a4f4:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x198ee2+_0x4afd6b);}_reconnectionAttemptError(_0x4d90e0){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x4d90e0(_0x1edd84['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}_onUnauthorized({error:_0x20dee1}){this['_removeAuthData'](),this['fire']('error',_0xa4578['fromPublicError'](_0x20dee1));}async _authenticate(_0x568561){try{this['_debugEvent']('authenticate:start');const _0x37eb2b=await this['_emit'](0x2,{'token':_0x568561});this['_debugEvent']('authenticate:success','envId:\x20'+_0x37eb2b['environmentId']+',\x20userId:\x20'+_0x37eb2b['userId']),this['_addAuthData'](_0x37eb2b['environmentId'],_0x37eb2b['userId']);}catch(_0x21c95b){throw this['_debugEvent']('authenticate:error',_0x21c95b['message']),this['_removeAuthData'](),_0x21c95b;}}['_isDebugModeEnabled'](){return!!_0x491313['global']['window']['localStorage']&&'true'===(_0x491313['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}},_0x3ed047=class IsEditorBundleUploadedMessage extends _0x27edad{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x1143d9){super(),this['bundleVersion']=_0x1143d9;}toJSON(){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x550627){return new IsEditorBundleUploadedMessage(_0x550627['bundleVersion']);}},_0x1c8938=class IsEditorBundleUploadedResponse extends _0x27edad{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x1c028c){super(),this['isUploaded']=_0x1c028c;}toJSON(){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x12b3c8){return new IsEditorBundleUploadedResponse(_0x12b3c8['isUploaded']);}},_0x5ef61b=class EditorService extends(0x0,_0x491313['EmitterMixin'])(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x48a8e0,_0x56d40b){const _0x19e880=new _0x3ed047(_0x56d40b);if(_0x48a8e0['state']!==_0x8db0b2)throw new _0x1edd84('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x48a8e0);const _0x17c971=await _0x48a8e0['_sendRequest'](EditorService['_SERVICE'],_0x3ed047['TYPE'],_0x16c33f['encode'](_0x19e880));return _0x16c33f['decode'](_0x17c971,_0x1c8938)['isUploaded'];}},_0x40c9ed=class RevisionHistoryGetRevisionMessage extends _0x27edad{documentId;['revisionId'];static ['TYPE']='123';static ['READABLE_TYPE_NAME']='getRevision';static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'revisionId':{'type':'string','id':0x2}}};constructor(_0x2d1f35,_0x2fd14e){super(),this['documentId']=_0x2d1f35,this['revisionId']=_0x2fd14e;}toJSON(){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x53166d){return new RevisionHistoryGetRevisionMessage(_0x53166d['documentId'],_0x53166d['revisionId']);}},_0x4118ea=class extends _0x2380e6{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static create(_0x1338f2){return{'revisionId':_0x1338f2['id'],'name':_0x1338f2['name'],'creatorId':_0x1338f2['creatorId'],'createdAt':_0x1338f2['createdAt'],'fromVersion':_0x1338f2['fromVersion'],'toVersion':_0x1338f2['toVersion'],'isEmptyCurrent':_0x1338f2['isEmptyCurrent'],'diffData':_0x1338f2['diffData']?JSON['stringify'](_0x1338f2['diffData']):void 0x0,'attributes':_0x1338f2['attributes'],'authorsIds':_0x1338f2['authorsIds']};}static toJSON(_0x3dfdcb){return{'revisionId':_0x3dfdcb['revisionId'],'name':_0x3dfdcb['name'],'creatorId':_0x3dfdcb['creatorId'],'authorsIds':_0x3dfdcb['authorsIds']?JSON['stringify'](_0x3dfdcb['authorsIds']):void 0x0,'diffData':_0x3dfdcb['diffData'],'createdAt':_0x3dfdcb['createdAt']?.['toISOString'](),'attributes':_0x3dfdcb['attributes']?JSON['stringify'](_0x3dfdcb['attributes']):void 0x0,'toVersion':_0x3dfdcb['toVersion'],'fromVersion':_0x3dfdcb['fromVersion'],'isEmptyCurrent':_0x3dfdcb['isEmptyCurrent']};}static['fromJSON'](_0x34360d){return{'revisionId':(_0x34360d={..._0x34360d})['revisionId'],'name':_0x34360d['name'],'creatorId':_0x34360d['creatorId'],'authorsIds':_0x34360d['authorsIds']?JSON['parse'](_0x34360d['authorsIds']):void 0x0,'diffData':_0x34360d['diffData'],'createdAt':_0x34360d['createdAt']?new Date(_0x34360d['createdAt']):void 0x0,'attributes':_0x34360d['attributes']?JSON['parse'](_0x34360d['attributes']):void 0x0,'toVersion':_0x34360d['toVersion'],'fromVersion':_0x34360d['fromVersion'],'isEmptyCurrent':_0x34360d['isEmptyCurrent']};}static toObject(_0x5d4e78){return function(_0x3f57a0){for(const [_0x29aa68,_0x328c3d]of Object['entries'](_0x3f57a0))void 0x0===_0x328c3d&&delete _0x3f57a0[_0x29aa68];return _0x3f57a0;}({'id':_0x5d4e78['revisionId'],'name':_0x5d4e78['name'],'creatorId':_0x5d4e78['creatorId'],'createdAt':_0x5d4e78['createdAt'],'fromVersion':_0x5d4e78['fromVersion'],'toVersion':_0x5d4e78['toVersion'],'isEmptyCurrent':_0x5d4e78['isEmptyCurrent'],'diffData':_0x5d4e78['diffData']?JSON['parse'](_0x5d4e78['diffData']):void 0x0,'attributes':_0x5d4e78['attributes'],'authorsIds':_0x5d4e78['authorsIds']});}},_0x5cdb85=class RevisionHistoryGetRevisionResponse extends _0x27edad{['revisionId'];['name'];creatorId;authorsIds;createdAt;diffData;attributes;['fromVersion'];toVersion;isEmptyCurrent;static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=((()=>_0x4118ea['DESCRIPTOR'])());constructor(_0x2fb2b4,_0x9b2196,_0x4e6047,_0x4ae76e,_0x10ad38,_0x20831a,_0x2b94f1,_0x3f22be,_0x24cf90,_0x311953){super(),this['revisionId']=_0x2fb2b4,this['name']=_0x9b2196,this['creatorId']=_0x4e6047,this['authorsIds']=_0x4ae76e,this['createdAt']=_0x10ad38,this['diffData']=_0x20831a,this['attributes']=_0x2b94f1,this['fromVersion']=_0x3f22be,this['toVersion']=_0x24cf90,this['isEmptyCurrent']=_0x311953;}toJSON(){return _0x4118ea['toJSON'](this);}toObject(){return _0x4118ea['toObject'](this);}static create(_0x27b125){return new RevisionHistoryGetRevisionResponse(_0x27b125['revisionId'],_0x27b125['name'],_0x27b125['creatorId'],_0x27b125['authorsIds'],_0x27b125['createdAt'],_0x27b125['diffData'],_0x27b125['attributes'],_0x27b125['fromVersion'],_0x27b125['toVersion'],_0x27b125['isEmptyCurrent']);}static['fromJSON'](_0x333158){return new RevisionHistoryGetRevisionResponse(_0x333158['revisionId'],_0x333158['name'],_0x333158['creatorId'],_0x333158['authorsIds']?JSON['parse'](_0x333158['authorsIds']):void 0x0,_0x333158['createdAt']?new Date(_0x333158['createdAt']):void 0x0,_0x333158['diffData'],_0x333158['attributes']?JSON['parse'](_0x333158['attributes']):void 0x0,_0x333158['fromVersion'],_0x333158['toVersion'],_0x333158['isEmptyCurrent']);}},_0x14ebf8=class RevisionHistoryUpdateRevisionsMessage extends _0x27edad{documentId;requestId;['revisions'];static ['TYPE']='124';static ['READABLE_TYPE_NAME']='updateRevisions';static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}};constructor(_0x4e4c21,_0x3a41aa,_0x4870b7){super(),this['documentId']=_0x4e4c21,this['requestId']=_0x3a41aa,this['revisions']=_0x4870b7;}toJSON(){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](_0x4118ea['toJSON'])};}toObject(){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](_0x4118ea['toObject'])};}static create(_0x1f02b6){return new RevisionHistoryUpdateRevisionsMessage(_0x1f02b6['documentId'],_0x1f02b6['requestId'],_0x1f02b6['revisions']['map'](_0x4118ea['create']));}static['fromJSON'](_0x3c8a11){return new RevisionHistoryUpdateRevisionsMessage(_0x3c8a11['documentId'],_0x3c8a11['requestId'],_0x3c8a11['revisions']['map'](_0x4118ea['fromJSON']));}},_0x2fc345=class RevisionHistoryUpdateRevisionsResponse extends _0x27edad{requestId;static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x5b42fc){super(),this['requestId']=_0x5b42fc;}toJSON(){return{'requestId':this['requestId']};}static['fromJSON'](_0x5928db){return new RevisionHistoryUpdateRevisionsResponse(_0x5928db['requestId']);}},_0x2a299d=class RevisionHistoryConnectMessage extends _0x27edad{documentId;static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x11f958){super(),this['documentId']=_0x11f958;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](_0x29376c){return new RevisionHistoryConnectMessage(_0x29376c['documentId']);}},_0x5d5dcc=class RevisionHistoryConnectResponse extends _0x27edad{['channel'];requestId;['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x3a167c,_0x41da18,_0x568380){super(),this['channel']=_0x3a167c,this['requestId']=_0x41da18,this['revisions']=_0x568380;}toJSON(){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](_0x4118ea['toJSON'])};}toObject(){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](_0x4118ea['toObject'])};}static['fromJSON'](_0x456bd6){return new RevisionHistoryConnectResponse(_0x456bd6['channel'],_0x456bd6['requestId'],_0x456bd6['revisions']['map'](_0x4118ea['fromJSON']));}},_0x2730a5=class RevisionHistoryReconnectMessage extends _0x27edad{documentId;requestId;static ['TYPE']='122';static ['READABLE_TYPE_NAME']='reconnectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryReconnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2}}};constructor(_0x154a26,_0x3814e9){super(),this['documentId']=_0x154a26,this['requestId']=_0x3814e9;}toJSON(){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x2ed03b){return new RevisionHistoryReconnectMessage(_0x2ed03b['documentId'],_0x2ed03b['requestId']);}},_0x51fb87=class ChannelDisconnectedMessage extends _0x27edad{static ['TYPE']='15';static ['READABLE_TYPE_NAME']='channelDisconnected';static ['DESCRIPTOR_NAME']='ChannelDisconnectedMessage';static ['DESCRIPTOR']={'fields':{}};toJSON(){return{};}static['fromJSON'](){return new ChannelDisconnectedMessage();}},_0x35ec7c=class extends _0x1edd84{constructor(_0x23bc8d,_0x4a3a8c){super(_0x23bc8d+'\x20Service\x20is\x20not\x20connected.',_0x4a3a8c);}},_0x8fd18a=class RevisionHistoryService extends(0x0,_0x491313['EmitterMixin'])(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];static ['_SERVICE']=0xc;constructor(_0x2cb824){super(),this['_documentId']=_0x2cb824;}get isConnected(){return this['_isConnected'];}connect(_0x36acb1){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x36acb1,new _0x2a299d(this['_documentId']));}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}reconnect(_0x509ca1,_0x550bbc){if(this['isConnected'])throw new _0x1edd84('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x509ca1);return this['_connect'](_0x509ca1,new _0x2730a5(this['_documentId'],_0x550bbc));}async updateRevisions(_0x5293e7,_0x71e331){const _0xb1f173=_0x14ebf8['create']({'documentId':this['_documentId'],'requestId':_0x71e331,'revisions':_0x5293e7}),_0x183a67=await this['_sendRequest'](_0x14ebf8['TYPE'],_0xb1f173),{requestId:_0x58c978}=_0x16c33f['decode'](_0x183a67,_0x2fc345);return _0x58c978;}async getRevision(_0x76e481){const _0x102a8a=new _0x40c9ed(this['_documentId'],_0x76e481),_0x466099=await this['_sendRequest'](_0x40c9ed['TYPE'],_0x102a8a);return _0x16c33f['decode'](_0x466099,_0x5cdb85)['toObject']();}async _connect(_0x37a9d6,_0x2413fe){if(_0x37a9d6['state']!==_0x8db0b2)throw new _0x1edd84('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x37a9d6);this['_wsGateway']=_0x37a9d6,this['stopListening'](_0x37a9d6,'change:state');const _0x2b65cc=await _0x37a9d6['_sendRequest'](0xc,_0x2413fe['constructor']['TYPE'],_0x16c33f['encode'](_0x2413fe)),{channel:_0x968c9f,requestId:_0x1a4557,revisions:_0xf52723}=_0x16c33f['decode'](_0x2b65cc,_0x5d5dcc)['toObject']();return this['listenTo'](_0x37a9d6,'change:state',(_0x58bcba,_0x31b20f,_0xca1c9)=>this['_onWsGatewayStateChange'](_0xca1c9),{'priority':_0x219959['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x37a9d6,_0x968c9f),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0xf52723,'requestId':_0x1a4557};}_connectToChannel(_0x4be3b2,_0x88f73){this['_channel']=_0x4be3b2['_getChannel'](RevisionHistoryService['_SERVICE'],_0x88f73),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x14ebf8['TYPE']),(_0x2c5c3b,_0x5a2ad0)=>{const {documentId:_0x4ec414,requestId:_0x5953af,revisions:_0x6cdf19}=_0x16c33f['decode'](_0x5a2ad0,_0x14ebf8)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x4ec414,'requestId':_0x5953af,'revisionsData':_0x6cdf19});}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x51fb87['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0x114b70){_0x114b70===_0x3a0679&&this['disconnect']();}_sendRequest(_0x10e827,_0x5506d4){if(!this['_wsGateway']||!this['_isConnected'])throw new _0x35ec7c('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x10e827,_0x16c33f['encode'](_0x5506d4));}},_0x3be671=class AddSuggestionMessage extends _0x27edad{['id'];documentId;type;data;originalSuggestionId;attributes;static ['TYPE']='101';static ['READABLE_TYPE_NAME']='addSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'data':{'type':'string','id':0x4},'originalSuggestionId':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x54606c,_0x459f16,_0x2afbdf,_0xcc3d6f={},_0x5ab98b=null,_0x88a956=null){super(),this['id']=_0x54606c,this['documentId']=_0x459f16,this['type']=_0x2afbdf,this['data']=_0xcc3d6f,this['originalSuggestionId']=_0x5ab98b,this['attributes']=_0x88a956;}toJSON(){return{'id':this['id'],'documentId':this['documentId'],'type':this['type'],'data':JSON['stringify'](this['data']),'originalSuggestionId':this['originalSuggestionId'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x134641){return new AddSuggestionMessage(_0x134641['id'],_0x134641['documentId'],_0x134641['type'],JSON['parse'](_0x134641['data']),_0x134641['originalSuggestionId']??null,_0x134641['attributes']?JSON['parse'](_0x134641['attributes']):null);}},_0x1912b2=class AddSuggestionResponse extends _0x27edad{['id'];authorId;type;hasComments;state;data;attributes;createdAt;static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x3793eb,_0x3351d1,_0x21135e,_0x2e176e,_0x117492,_0x1dfa26,_0x3c91bf={},_0x59acc7=null){super(),this['id']=_0x3793eb,this['authorId']=_0x3351d1,this['type']=_0x21135e,this['hasComments']=_0x117492,this['state']=_0x1dfa26,this['data']=_0x3c91bf,this['attributes']=_0x59acc7,this['createdAt']=_0x2e176e?new Date(_0x2e176e):void 0x0;}toJSON(){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']?.['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x5e2fca){return new AddSuggestionResponse(_0x5e2fca['id'],_0x5e2fca['authorId'],_0x5e2fca['type'],_0x5e2fca['createdAt'],_0x5e2fca['hasComments'],_0x5e2fca['state'],JSON['parse'](_0x5e2fca['data']),_0x5e2fca['attributes']?JSON['parse'](_0x5e2fca['attributes']):null);}},_0x2eef8d=class GetSuggestionMessage extends _0x27edad{['id'];documentId;static ['TYPE']='103';static ['READABLE_TYPE_NAME']='getSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x3564fa,_0x46c698){super(),this['id']=_0x3564fa,this['documentId']=_0x46c698;}toJSON(){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x41681e){return new GetSuggestionMessage(_0x41681e['id'],_0x41681e['documentId']);}},_0x2706f5=class GetSuggestionResponse extends _0x27edad{['id'];authorId;type;hasComments;state;data;attributes;createdAt;static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x5a7f28,_0xbd40aa,_0x1e3204,_0x16530d,_0x513c2b,_0x219a04,_0x4811c4={},_0x2aef1c=null){super(),this['id']=_0x5a7f28,this['authorId']=_0xbd40aa,this['type']=_0x1e3204,this['hasComments']=_0x513c2b,this['state']=_0x219a04,this['data']=_0x4811c4,this['attributes']=_0x2aef1c,this['createdAt']=new Date(_0x16530d);}toJSON(){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x4e6333){return new GetSuggestionResponse(_0x4e6333['id'],_0x4e6333['authorId'],_0x4e6333['type'],_0x4e6333['createdAt'],_0x4e6333['hasComments'],_0x4e6333['state'],JSON['parse'](_0x4e6333['data']),_0x4e6333['attributes']?JSON['parse'](_0x4e6333['attributes']):null);}},_0x408e40=class GetAllSuggestionsMessage extends _0x27edad{documentId;static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x4816d4){super(),this['documentId']=_0x4816d4;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](_0x2ea6af){return new GetAllSuggestionsMessage(_0x2ea6af['documentId']);}},_0x443d41=class extends _0x2380e6{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static toJSON(_0x3b530f){return{..._0x3b530f,'data':_0x3b530f['data']?JSON['stringify'](_0x3b530f['data']):_0x3b530f['data'],'attributes':_0x3b530f['attributes']?JSON['stringify'](_0x3b530f['attributes']):_0x3b530f['attributes'],'createdAt':_0x3b530f['createdAt']?.['toISOString']()};}static['fromJSON'](_0x4f9359){return{..._0x4f9359,'data':_0x4f9359['data']?JSON['parse'](_0x4f9359['data']):_0x4f9359['data'],'attributes':_0x4f9359['attributes']?JSON['parse'](_0x4f9359['attributes']):_0x4f9359['attributes'],'createdAt':_0x4f9359['createdAt']?new Date(_0x4f9359['createdAt']):void 0x0};}},_0x567df1=class GetAllSuggestionResponse extends _0x27edad{_suggestions;_suggestionsV2;suggestions;static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionsResponse';static ['DESCRIPTOR']={'fields':{'suggestions':{'type':'string','rule':'repeated','id':0x1},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x2}}};constructor(_0x1b83dd,_0x4d2aa4){super(),this['_suggestions']=_0x1b83dd,this['_suggestionsV2']=_0x4d2aa4,this['suggestions']=_0x4d2aa4?.['length']?_0x4d2aa4:_0x1b83dd;}toJSON(){return{'suggestions':this['_suggestions']?.['map'](_0x306cd4=>JSON['stringify'](_0x306cd4)),'suggestionsV2':this['_suggestionsV2']?.['map'](_0x443d41['toJSON'])};}static['fromJSON'](_0x2baa63){return new GetAllSuggestionResponse(_0x2baa63['suggestions']?.['map'](_0x4d668e),_0x2baa63['suggestionsV2']?.['map'](_0x443d41['fromJSON']));}};function _0x4d668e(_0x245398){const _0x3bff7c=JSON['parse'](_0x245398);return _0x3bff7c['createdAt']=_0x3bff7c['createdAt']?new Date(_0x3bff7c['createdAt']):void 0x0,_0x3bff7c;}var tT=class UpdateSuggestionMessage extends _0x27edad{['id'];documentId;hasComments;isHasCommentsModified;state;attributes;static ['TYPE']='104';static ['READABLE_TYPE_NAME']='updateSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesUpdateSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'hasComments':{'type':'bool','id':0x3},'isHasCommentsModified':{'type':'bool','id':0x4},'state':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x50bb35,_0x335f6e,_0x9f526a,_0x45345c,_0x57161c,_0x191264=null){super(),this['id']=_0x50bb35,this['documentId']=_0x335f6e,this['hasComments']=_0x9f526a,this['isHasCommentsModified']=_0x45345c,this['state']=_0x57161c,this['attributes']=_0x191264;}toJSON(){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x21da6e){return new UpdateSuggestionMessage(_0x21da6e['id'],_0x21da6e['documentId'],_0x21da6e['hasComments'],_0x21da6e['isHasCommentsModified'],_0x21da6e['state'],_0x21da6e['attributes']?JSON['parse'](_0x21da6e['attributes']):null);}};let _0x1b1358=class ConnectMessage extends _0x27edad{documentId;static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x551005){super(),this['documentId']=_0x551005;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](_0x2321f4){return new ConnectMessage(_0x2321f4['documentId']);}},_0x5f1033=class ConnectResponse extends _0x27edad{['channel'];_suggestions;_suggestionsV2;suggestions;static ['DESCRIPTOR_NAME']='TrackChangesConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'suggestions':{'type':'string','rule':'repeated','id':0x2},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x3}}};constructor(_0x25331a,_0x21b407,_0x3589b9){super(),this['channel']=_0x25331a,this['_suggestions']=_0x21b407,this['_suggestionsV2']=_0x3589b9,this['suggestions']=_0x3589b9?.['length']?_0x3589b9:_0x21b407;}toJSON(){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x54061e=>JSON['stringify'](_0x54061e)),'suggestionsV2':this['_suggestionsV2']?.['map'](_0x443d41['toJSON'])};}static['fromJSON'](_0x2fbf9c){return new ConnectResponse(_0x2fbf9c['channel'],_0x2fbf9c['suggestions']?.['map'](_0x474c53=>JSON['parse'](_0x474c53)),_0x2fbf9c['suggestionsV2']?.['map'](_0x443d41['fromJSON']));}};var _0x2c233d=class BatchUpdateSuggestionsStateMessage extends _0x27edad{['ids'];documentId;state;static ['TYPE']='106';static ['READABLE_TYPE_NAME']='batchUpdateSuggestionsState';static ['DESCRIPTOR_NAME']='TrackChangesBatchUpdateSuggestionsStateMessage';static ['DESCRIPTOR']={'fields':{'ids':{'type':'string','rule':'repeated','id':0x1},'documentId':{'type':'string','id':0x2},'state':{'type':'string','id':0x3}}};constructor(_0x28cdf2,_0x21cd3a,_0x448a78){super(),this['ids']=_0x28cdf2,this['documentId']=_0x21cd3a,this['state']=_0x448a78;}toJSON(){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x399e67){return new BatchUpdateSuggestionsStateMessage(_0x399e67['ids'],_0x399e67['documentId'],_0x399e67['state']);}},_0x195e10=class _0x47f999 extends(0x0,_0x491313['EmitterMixin'])(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];static ['_SERVICE']=0xa;constructor(_0x428249){super(),this['_documentId']=_0x428249;}get isConnected(){return this['_isConnected'];}async connect(_0x47ce66){if(this['_isConnected'])return;if(_0x47ce66['state']!==_0x8db0b2)throw new _0x1edd84('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x47ce66);const _0x79401d=new _0x1b1358(this['_documentId']);this['_wsGateway']=_0x47ce66,this['stopListening'](_0x47ce66,'change:state');const _0x3eb66f=await _0x47ce66['_sendRequest'](0xa,_0x1b1358['TYPE'],_0x16c33f['encode'](_0x79401d)),_0x5ae63b=_0x16c33f['decode'](_0x3eb66f,_0x5f1033);return this['listenTo'](_0x47ce66,'change:state',(_0x55bb56,_0x70701d,_0x22f98c)=>this['_onWsGatewayStateChange'](_0x22f98c),{'priority':_0x219959['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x47ce66,_0x5ae63b['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x5ae63b['suggestions'];}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['add'](_0x227904,_0x378ce1,_0x57cecb,_0x991f3d=null,_0x77a916){const _0xc83bad=new _0x3be671(_0x227904,this['_documentId'],_0x378ce1,_0x57cecb,_0x991f3d,_0x77a916),_0x5d6088=await this['_sendRequest'](_0x3be671['TYPE'],_0xc83bad);return _0x16c33f['decode'](_0x5d6088,_0x1912b2);}async get(_0x19f10a,_0x49617b=0x1){const _0x8f2587=new _0x2eef8d(_0x19f10a,this['_documentId']);try{const _0x32e2b6=await this['_sendRequest'](_0x2eef8d['TYPE'],_0x8f2587);return _0x16c33f['decode'](_0x32e2b6,_0x2706f5);}catch(_0x1d6ef2){if('CKEditorCloudServicesServerError'===_0x1d6ef2['name']&&'404'===_0x1d6ef2['code']&&_0x49617b<0x5)return await(_0x5bffb8=0x64*_0x49617b,new Promise(_0x281904=>{setTimeout(_0x281904,_0x5bffb8);})),this['get'](_0x19f10a,_0x49617b+0x1);if('CKEditorCloudServicesServerError'===_0x1d6ef2['name'])throw _0x1d6ef2;throw _0xa4578['fromPublicError'](_0x1d6ef2);}var _0x5bffb8;}async getAll(){const _0x37b946=new _0x408e40(this['_documentId']),_0x6ea34=await this['_sendRequest'](_0x408e40['TYPE'],_0x37b946),{suggestions:_0x5144ae}=_0x16c33f['decode'](_0x6ea34,_0x567df1);return _0x5144ae;}async update(_0x28c7f5,_0x5584c5={}){const {hasComments:_0x21d66f,state:_0x42bcba,attributes:_0x5a0c39}=_0x5584c5,_0x51b291=void 0x0!==_0x21d66f,_0x10e5c7=new tT(_0x28c7f5,this['_documentId'],_0x21d66f,_0x51b291,_0x42bcba,_0x5a0c39);await this['_sendRequest'](tT['TYPE'],_0x10e5c7);}async batchUpdateState(_0x3d610b){const _0x53f30a=new _0x2c233d(_0x3d610b['ids'],this['_documentId'],_0x3d610b['state']);await this['_sendRequest'](_0x2c233d['TYPE'],_0x53f30a);}_connectToChannel(_0x2a035a,_0x4a3534){this['_channel']=_0x2a035a['_getChannel'](_0x47f999['_SERVICE'],_0x4a3534),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](tT['TYPE']),(_0x448139,_0x4c873f)=>{const _0x37ea08=_0x16c33f['decode'](_0x4c873f,tT);this['fire']('suggestionUpdated',_0x37ea08);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x51fb87['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0xfdcf35){_0xfdcf35===_0x3a0679&&this['disconnect']();}_sendRequest(_0x519f50,_0x3f7a62){if(!this['_wsGateway']||!this['_isConnected'])throw new _0x35ec7c('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x519f50,_0x16c33f['encode'](_0x3f7a62));}},_0x598d53=class SessionsConnectResponse extends _0x27edad{['channel'];sockets;static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x4d3119,_0x280ad4=[]){super(),this['channel']=_0x4d3119,this['sockets']=_0x280ad4;}toJSON(){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x3ac5b2=>({'user':_0x3ac5b2['userId'],'session':_0x3ac5b2['id'],'role':_0x3ac5b2['role'],'permissions':_0x3ac5b2['permissions']}))};}static['fromJSON'](_0x3f6749){return new SessionsConnectResponse(_0x3f6749['channel'],_0x3f6749['sockets']['map'](_0x3e740b=>({'id':_0x3e740b['session'],'userId':_0x3e740b['user'],'role':_0x3e740b['role'],'permissions':_0x3e740b['permissions']})));}},_0x1f67e8=class SessionsConnectMessage extends _0x27edad{['id'];['sessionType'];static ['TYPE']='31';static ['READABLE_TYPE_NAME']='getConnectedSockets';static ['DESCRIPTOR_NAME']='SessionsConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'sessionType':{'type':'uint32','id':0x2}}};constructor(_0x52bb77,_0x4ef0c2){super(),this['id']=_0x52bb77,this['sessionType']=_0x4ef0c2;}toJSON(){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x2488a1){return new SessionsConnectMessage(_0x2488a1['id'],_0x2488a1['sessionType']);}},_0x583e2d=class SocketConnectMessage extends _0x27edad{['id'];['userId'];['role'];['permissions'];static ['TYPE']='32';static ['READABLE_TYPE_NAME']='connectSocket';static ['DESCRIPTOR_NAME']='SocketConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'userId':{'type':'string','id':0x2},'role':{'type':'string','id':0x3},'permissions':{'rule':'repeated','type':'string','id':0x4}}};constructor(_0x474630,_0x5e4d20,_0x40097c,_0x292895){super(),this['id']=_0x474630,this['userId']=_0x5e4d20,this['role']=_0x40097c,this['permissions']=_0x292895;}toJSON(){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x310b12){return new SocketConnectMessage(_0x310b12['id'],_0x310b12['userId'],_0x310b12['role'],_0x310b12['permissions']);}},_0x464e49=class SocketDisconnectMessage extends _0x27edad{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x6dca42){super(),this['id']=_0x6dca42;}toJSON(){return{'id':this['id']};}static['fromJSON'](_0x747886){return new SocketDisconnectMessage(_0x747886['id']);}},_0x4131c0=class extends _0x491313['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];_wsGateway;_connected;_eventsQueue=[];['_isRunning']=!0x1;constructor(_0x19b2f4,_0x122579){super({'idProperty':'id'}),this['_id']=_0x19b2f4,this['_sessionType']=_0x122579;}async connect(_0x136e38){this['_wsGateway']=_0x136e38,this['stopListening'](_0x136e38,'change:state');const _0x3c0a15=new _0x1f67e8(this['_id'],this['_sessionType']);let _0x134a33;try{const _0x177faa=await this['_wsGateway']['_sendRequest'](0x3,_0x1f67e8['TYPE'],_0x16c33f['encode'](_0x3c0a15));_0x134a33=_0x16c33f['decode'](_0x177faa,_0x598d53);}catch{_0x134a33=new _0x598d53(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x134a33['channel'],this['_sessionType']);const _0x1b8bd7=await async function(_0x23a882,_0x255b82){const _0x122390=_0x255b82['map'](_0x2d54a6=>_0x2d54a6['userId']),_0x340712=_0x122390['length']?await _0x4a3f91['getMany'](_0x23a882,_0x122390):[];return _0x255b82['map'](_0x2be01c=>{const _0x19155d={'id':_0x2be01c['id'],'role':_0x2be01c['role'],'permissions':_0x2be01c['permissions']};return _0x19155d['user']=_0x2be01c['userId']&&_0x340712['find'](_0x4dbc7d=>_0x4dbc7d['id']===_0x2be01c['userId'])||new _0x4a3f91(),_0x19155d;});}(this['_wsGateway'],_0x134a33['sockets']);for(const _0x43aceb of _0x1b8bd7)super['add'](_0x43aceb);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x15e305,_0xa1fe84,_0x37daae)=>this['_onWsGatewayStateChange'](_0x37daae),{'priority':_0x219959['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}disconnect(_0x22aafe=!0x0){if(this['_connected']){for(this['_connected']=!0x1,this['_eventsQueue']=[];this['length'];)super['remove'](0x0);this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_wsGateway']&&_0x22aafe&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x22aafe&&this['stopListening']();}}['add'](_0x34a2cd,_0x1251c8){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x8613c7){throw new TypeError('The\x20collection\x20is\x20read-only.');}_connectToChannel(_0x198ea0,_0x28c466,_0x5977a7){this['_channel']=_0x198ea0['_getChannel'](_0x5977a7,_0x28c466),this['_channel']&&(this['_addHandler'](this['_channel'],_0x583e2d['TYPE'],async _0x5f9d83=>{const _0x2b2c48=_0x16c33f['decode'](_0x5f9d83,_0x583e2d);if(-0x1===this['getIndex'](_0x2b2c48['id'])){const _0x46dd9d={'id':_0x2b2c48['id'],'role':_0x2b2c48['role'],'permissions':_0x2b2c48['permissions']};_0x2b2c48['userId']&&(_0x46dd9d['user']=await _0x4a3f91['get'](_0x198ea0,_0x2b2c48['userId'])),super['add'](_0x46dd9d);}}),this['_addHandler'](this['_channel'],_0x464e49['TYPE'],_0x16eacb=>{const _0x4b2a3f=_0x16c33f['decode'](_0x16eacb,_0x464e49);-0x1!==this['getIndex'](_0x4b2a3f['id'])&&super['remove'](_0x4b2a3f['id']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x51fb87['TYPE']),()=>{this['disconnect']();}));}async _onWsGatewayStateChange(_0x76e0ee){_0x76e0ee===_0x219959['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x76e0ee===_0x219959['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x512d11;for(this['_isRunning']=!0x0;_0x512d11=this['_eventsQueue']['shift']();){const _0x1ff426=this['_handlers']['get'](_0x512d11['eventName']);_0x1ff426&&await _0x1ff426(_0x512d11['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x37c11c,_0x244740,_0x4bde3f){const _0x9fdd54=_0x37c11c['getEventName'](_0x244740,!0x0);this['listenTo'](_0x37c11c,_0x9fdd54,async(_0xce3d9b,_0x318793)=>{const _0x186f69=_0xce3d9b['name'];this['_eventsQueue']['push']({'eventName':_0x186f69,'data':_0x318793}),await this['_runQueue']();}),this['_handlers']['set'](_0x9fdd54,_0x4bde3f);}},_0x45488f=class{static async getConnectedSessions(_0x96e533,_0x284ee6,_0x4297ab){const _0x14f056=new _0x4131c0(_0x284ee6,_0x4297ab);return await _0x14f056['connect'](_0x96e533),_0x14f056;}},_0xb3099c=class CollaborativeEditingConnectMessage extends _0x27edad{['id'];['buffers'];types;['bundleVersion'];lastOperationId;static ['TYPE']='11';static ['READABLE_TYPE_NAME']='connectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'lastOperationId':{'type':'string','id':0x5}}};constructor(_0x58f85a,_0x4d486a,_0x14a249,_0x2bbf9d,_0x2876cb=''){super(),this['id']=_0x58f85a,this['buffers']=_0x4d486a,this['types']=_0x14a249,this['bundleVersion']=_0x2bbf9d,this['lastOperationId']=_0x2876cb;}toJSON(){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x180bf8){return new CollaborativeEditingConnectMessage(_0x180bf8['id'],_0x180bf8['buffers'],_0x180bf8['types'],_0x180bf8['bundleVersion'],_0x180bf8['lastOperationId']);}},_0x268de9=class{static prepareMetadataForOperations(_0x16f02e,_0x408394){if(!_0x16f02e?.['length']||!_0x408394?.['length'])return[];const _0x33ff10=[];let _0x37e02d=0x0;for(const _0x258d94 of _0x16f02e)if(0x0!==_0x258d94){if(!_0x408394[_0x37e02d])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x33ff10['push'](_0x408394[_0x37e02d]),_0x37e02d++;}else _0x33ff10['push'](_0x33ff10[_0x33ff10['length']-0x1]);return _0x33ff10;}static removeUnnecessaryMetadata(_0x541516,_0x235ab5){if(!_0x541516?.['length']||!_0x235ab5?.['length'])return[];const _0x4868a4=[];for(let _0x4ac717=0x0;_0x4ac717<_0x541516['length'];_0x4ac717++)if(0x0!==_0x541516[_0x4ac717]){if(!_0x235ab5[_0x4ac717])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x4868a4['push'](_0x235ab5[_0x4ac717]);}return _0x4868a4;}},_0x63f7e9=class extends _0x2380e6{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static toJSON({createdAt:_0x438b6a,..._0x116e90}){const _0x2b5df2={..._0x116e90};return _0x438b6a?.['toISOString']&&(_0x2b5df2['createdAt']=_0x438b6a['toISOString']()),_0x2b5df2;}static['fromJSON']({createdAt:_0x571796,..._0x1778d9}){const _0x15772b={..._0x1778d9};return _0x571796&&(_0x15772b['createdAt']=new Date(_0x571796)),_0x15772b;}},_0x1e29f5=class CollaborativeEditingUpdateMessage extends _0x27edad{['id'];['buffers'];types;['baseVersion'];metadata;lastOperationId;static ['TYPE']='13';static ['READABLE_TYPE_NAME']='updateDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingUpdateMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'baseVersion':{'type':'uint32','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x6},'lastOperationId':{'type':'string','id':0x7}}};constructor(_0x524908,_0x19641b,_0x265ff7,_0x33a3d4,_0x48a379=[],_0xd9781=''){super(),this['id']=_0x524908,this['buffers']=_0x19641b,this['types']=_0x265ff7,this['baseVersion']=_0x33a3d4,this['metadata']=_0x48a379,this['lastOperationId']=_0xd9781;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}toJSON(){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':_0x268de9['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](_0x63f7e9['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x3fdba1){return new CollaborativeEditingUpdateMessage(_0x3fdba1['id'],_0x3fdba1['buffers'],_0x3fdba1['types'],_0x3fdba1['baseVersion'],_0x268de9['prepareMetadataForOperations'](_0x3fdba1['types'],_0x3fdba1['metadata'])['map'](_0x63f7e9['fromJSON']),_0x3fdba1['lastOperationId']);}},_0x59e9e4=class CollaborativeEditingReconnectMessage extends _0x27edad{['id'];lastKnowVersion;['bundleVersion'];static ['TYPE']='12';static ['READABLE_TYPE_NAME']='reconnectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingReconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'lastKnowVersion':{'type':'uint32','id':0x3}}};constructor(_0xf433ce,_0x215905,_0x1cc159){super(),this['id']=_0xf433ce,this['lastKnowVersion']=_0x215905,this['bundleVersion']=_0x1cc159;}toJSON(){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x135adf){return new CollaborativeEditingReconnectMessage(_0x135adf['id'],_0x135adf['lastKnowVersion'],_0x135adf['bundleVersion']);}},_0x1f2974=class CollaborativeEditingResponse extends _0x27edad{['version'];['buffers'];types;metadata;lastOperationId;lastOperationAcceptedAt;static ['DESCRIPTOR_NAME']='CollaborativeEditingResponse';static ['DESCRIPTOR']={'fields':{'version':{'type':'uint32','id':0x1},'buffers':{'rule':'repeated','type':'bytes','id':0x2},'types':{'rule':'repeated','type':'uint32','id':0x3},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x5},'lastOperationId':{'type':'string','id':0x6},'lastOperationAcceptedAt':{'type':'string','id':0x7}}};constructor(_0x206b51,_0x317494=[],_0x5c7525=[],_0x124925=[],_0x3a736b='',_0x271c04=null){super(),this['version']=_0x206b51,this['buffers']=_0x317494,this['types']=_0x5c7525,this['metadata']=_0x124925,this['lastOperationId']=_0x3a736b,this['lastOperationAcceptedAt']=_0x271c04;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}toJSON(){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':_0x268de9['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](_0x63f7e9['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x1d4ef1){return new CollaborativeEditingResponse(_0x1d4ef1['version'],_0x1d4ef1['buffers'],_0x1d4ef1['types'],_0x268de9['prepareMetadataForOperations'](_0x1d4ef1['types'],_0x1d4ef1['metadata'])['map'](_0x63f7e9['fromJSON']),_0x1d4ef1['lastOperationId'],_0x1d4ef1['lastOperationAcceptedAt']?new Date(_0x1d4ef1['lastOperationAcceptedAt']):null);}static create(_0x5eb213){return new CollaborativeEditingResponse(_0x5eb213['version'],_0x5eb213['buffers'],_0x5eb213['types'],_0x5eb213['metadata'],_0x5eb213['lastOperationId'],_0x5eb213['lastOperationAcceptedAt']?new Date(_0x5eb213['lastOperationAcceptedAt']):null);}},_0x140b62=class CollaborativeEditingConnectResponse extends _0x27edad{['channel'];['version'];['buffers'];types;offset;metadata;initData;['sessionId'];lastOperationId;sessionCreatedAt;static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':_0x63f7e9['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0x1b06f1,_0x3fc486,_0x3cd6ca=[],_0x4f6f8d=[],_0x146b40=0x0,_0xa1e7eb=[],_0x45c89f=null,_0x1f4b6e='',_0x5bb6e6='',_0x40504e=null){super(),this['channel']=_0x1b06f1,this['version']=_0x3fc486,this['buffers']=_0x3cd6ca,this['types']=_0x4f6f8d,this['offset']=_0x146b40,this['metadata']=_0xa1e7eb,this['initData']=_0x45c89f,this['sessionId']=_0x1f4b6e,this['lastOperationId']=_0x5bb6e6,this['sessionCreatedAt']=_0x40504e;}get data(){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}toJSON(){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':_0x268de9['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](_0x63f7e9['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static create(_0x2d4f3b){return new CollaborativeEditingConnectResponse(_0x2d4f3b['channel'],_0x2d4f3b['version'],_0x2d4f3b['buffers'],_0x2d4f3b['types'],_0x2d4f3b['offset'],_0x2d4f3b['metadata'],_0x2d4f3b['initData'],_0x2d4f3b['sessionId'],_0x2d4f3b['lastOperationId'],_0x2d4f3b['sessionCreatedAt']);}static['fromJSON'](_0x546ee3){let _0x55f031=null;return!0x0===_0x546ee3['isInitialized']?_0x55f031=_0x546ee3['initData']??'':'boolean'!=typeof _0x546ee3['isInitialized']&&_0x546ee3['initData']&&(_0x55f031=_0x546ee3['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x546ee3['channel'],'version':_0x546ee3['version'],'buffers':_0x546ee3['buffers'],'types':_0x546ee3['types'],'offset':_0x546ee3['offset'],'metadata':_0x268de9['prepareMetadataForOperations'](_0x546ee3['types'],_0x546ee3['metadata'])['map'](_0x63f7e9['fromJSON']),'initData':_0x55f031,'sessionId':_0x546ee3['sessionId'],'lastOperationId':_0x546ee3['lastOperationId'],'sessionCreatedAt':_0x546ee3['sessionCreatedAt']?new Date(_0x546ee3['sessionCreatedAt']):null});}},_0x86fc6b=class GetDocumentDetailsResponse extends _0x27edad{lastDocumentSession;currentDocumentSession;static ['DESCRIPTOR_NAME']='GetDocumentDetailsResponse';static ['DESCRIPTOR']={'fields':{'lastDocumentSessionId':{'type':'string','id':0x1},'lastDocumentSessionOperationId':{'type':'string','id':0x2},'currentDocumentSessionId':{'type':'string','id':0x3},'currentDocumentSessionVersion':{'type':'uint32','id':0x4},'currentDocumentSessionOperationId':{'type':'string','id':0x5}}};constructor(_0x38955c,_0x57f421){super(),this['lastDocumentSession']=_0x38955c,this['currentDocumentSession']=_0x57f421;}get data(){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}toJSON(){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}static['fromJSON'](_0xbcdf81){const _0x26ac0f=_0xbcdf81['lastDocumentSessionId']?{'id':_0xbcdf81['lastDocumentSessionId'],'lastOperationId':_0xbcdf81['lastDocumentSessionOperationId']}:void 0x0,_0x372430=_0xbcdf81['currentDocumentSessionId']?{'lastOperationId':_0xbcdf81['currentDocumentSessionOperationId'],'version':_0xbcdf81['currentDocumentSessionVersion'],'id':_0xbcdf81['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x26ac0f,_0x372430);}},_0x35df99=class GetDocumentDetailsMessage extends _0x27edad{documentId;static ['TYPE']='14';static ['READABLE_TYPE_NAME']='getDocumentDetails';static ['DESCRIPTOR_NAME']='GetDocumentDetailsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'environmentId':{'type':'string','id':0x2}}};constructor(_0x4edf81){super(),this['documentId']=_0x4edf81;}get data(){return{'documentId':this['documentId']};}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](_0x45ce53){return new GetDocumentDetailsMessage(_0x45ce53['documentId']);}},_0x1b322e=class extends(0x0,_0x491313['EmitterMixin'])(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];_isConnected;_wsGateway;['_channel'];_connectedSessions;constructor(_0x48447c,_0x196c4f){if(super(),!_0x48447c)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x196c4f??_0x431ce6(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x48447c;}getId(){return this['_id'];}isConnected(){return this['_isConnected'];}connect(_0x328ddc,_0x1f95dd={'buffers':[],'types':[]},_0x4d31aa){const _0x1f3ec8=new _0xb3099c(this['getId'](),_0x1f95dd['buffers'],_0x1f95dd['types'],this['_bundleVersion'],_0x4d31aa);return this['_connect'](_0x328ddc,_0x1f3ec8);}reconnect(_0x88b6bd,_0x1c7604){if(this['isConnected']())throw new _0x1edd84('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x88b6bd);return this['_connect'](_0x88b6bd,new _0x59e9e4(this['getId'](),_0x1c7604,this['_bundleVersion']));}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async getDocumentDetails(){const _0x34ee0f=new _0x35df99(this['getId']());if(!this['_wsGateway'])throw new _0x35ec7c('Collaborative\x20Editing',this);const _0x99c044=await this['_wsGateway']['_sendRequest'](0x1,_0x35df99['TYPE'],_0x16c33f['encode'](_0x34ee0f));return _0x16c33f['decode'](_0x99c044,_0x86fc6b);}async sendOperations(_0x133875,_0x28e045,_0x2fd9a9){if(!_0x133875?.['types']?.['length'])throw new _0x1edd84('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x45d2d8='number'==typeof _0x28e045?_0x28e045:parseInt(_0x28e045);if(!Number['isInteger'](_0x45d2d8)||_0x45d2d8<0x0)throw new _0x1edd84('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x4f12ae=new _0x1e29f5(this['getId'](),_0x133875['buffers'],_0x133875['types'],_0x45d2d8,[],_0x2fd9a9);if(!this['_wsGateway']||!this['_isConnected'])throw new _0x35ec7c('Collaborative\x20Editing',this);const _0xa905fe=await this['_wsGateway']['_sendRequest'](0x1,_0x1e29f5['TYPE'],_0x16c33f['encode'](_0x4f12ae));return _0x16c33f['decode'](_0xa905fe,_0x1f2974);}async getConnectedSessions(){if(!this['_isConnected'])throw new _0x35ec7c('Collaborative\x20Editing',this);return this['_connectedSessions']??=await _0x45488f['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static getConnectedSessions(_0x2354ab,_0x10aaa6){return _0x45488f['getConnectedSessions'](_0x2354ab,_0x10aaa6,0x1);}async _connect(_0x31a248,_0x2b9769){if(this['isConnected']())return;if(_0x31a248['state']!==_0x219959['STATE_CONNECTED'])throw new _0x1edd84('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x31a248);this['_wsGateway']=_0x31a248,this['stopListening'](_0x31a248,'change:state');const _0x507c77=await _0x31a248['_sendRequest'](0x1,_0x2b9769['constructor']['TYPE'],_0x16c33f['encode'](_0x2b9769)),_0x1a2864=_0x16c33f['decode'](_0x507c77,_0x140b62);return this['listenTo'](_0x31a248,'change:state',(_0x26eab7,_0x27439d,_0x45b7c0)=>this['_onWsGatewayStateChange'](_0x45b7c0),{'priority':_0x219959['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x31a248,_0x1a2864['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x1a2864;}_connectToChannel(_0x34d7b7,_0x56132f){this['_channel']=_0x34d7b7['_getChannel'](0x1,_0x56132f),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x1e29f5['TYPE']),(_0x4c08b3,_0x15fb88)=>{const _0x2dc765=_0x16c33f['decode'](_0x15fb88,_0x1e29f5);this['fire']('operationsReceived',_0x2dc765['baseVersion'],_0x2dc765['data'],_0x2dc765['metadata']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x51fb87['TYPE']),()=>{this['disconnect']();});}_onWsGatewayStateChange(_0x551c0a){_0x551c0a===_0x219959['STATE_DISCONNECTED']&&this['disconnect']();}},_0xab4e2=class extends _0x2380e6{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static toJSON(_0x24244d){return{..._0x24244d,'createdAt':_0x24244d['createdAt']?.['toISOString'](),'attributes':_0x24244d['attributes']?JSON['stringify'](_0x24244d['attributes']):null};}static['fromJSON'](_0xa1be1d){return{..._0xa1be1d,'createdAt':new Date(_0xa1be1d['createdAt']),'attributes':_0xa1be1d['attributes']?JSON['parse'](_0xa1be1d['attributes']):null};}},_0x4bbf39=class extends _0x2380e6{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static toJSON(_0x28e1e5){return{..._0x28e1e5,'createdAt':_0x28e1e5['createdAt']?.['toISOString'](),'deletedAt':_0x28e1e5['deletedAt']?.['toISOString'](),'resolvedAt':_0x28e1e5['resolvedAt']?.['toISOString'](),'attributes':_0x28e1e5['attributes']?JSON['stringify'](_0x28e1e5['attributes']):null,'context':_0x28e1e5['context']?JSON['stringify'](_0x28e1e5['context']):_0x28e1e5['context'],'comments':_0x28e1e5['comments']?.['map'](_0xab4e2['toJSON']),'unlinkedAt':_0x28e1e5['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x417ef1){return{..._0x417ef1,'createdAt':_0x417ef1['createdAt']?new Date(_0x417ef1['createdAt']):void 0x0,'deletedAt':_0x417ef1['deletedAt']?new Date(_0x417ef1['deletedAt']):void 0x0,'resolvedAt':_0x417ef1['resolvedAt']?new Date(_0x417ef1['resolvedAt']):void 0x0,'attributes':_0x417ef1['attributes']?JSON['parse'](_0x417ef1['attributes']):null,'context':_0x417ef1['context']?JSON['parse'](_0x417ef1['context']):void 0x0,'comments':_0x417ef1['comments']?.['map'](_0xab4e2['fromJSON']),'unlinkedAt':_0x417ef1['unlinkedAt']?new Date(_0x417ef1['unlinkedAt']):void 0x0};}},_0x57fe46=class AddCommentMessage extends _0x27edad{documentId;commentThreadId;content;commentId;['userId'];attributes;commentThread;createdAt;static ['TYPE']='91';static ['READABLE_TYPE_NAME']='addComment';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'content':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3},'commentId':{'type':'string','id':0x4},'createdAt':{'type':'string','id':0x5},'userId':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'commentThread':{'type':'CommentsThreadDescriptor','id':0x8}}};constructor(_0x10e1e6,_0x515253,_0x1782ee,_0x2482e7='',_0x50319e,_0x4c7bda='',_0x5043d4=null,_0x1e5377){super(),this['documentId']=_0x10e1e6,this['commentThreadId']=_0x515253,this['content']=_0x1782ee,this['commentId']=_0x2482e7,this['userId']=_0x4c7bda,this['attributes']=_0x5043d4,this['commentThread']=_0x1e5377,this['createdAt']=_0x50319e?new Date(_0x50319e):'';}toJSON(){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?_0x4bbf39['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0xb0744d){return new AddCommentMessage(_0xb0744d['documentId'],_0xb0744d['commentThreadId'],_0xb0744d['content'],_0xb0744d['commentId']?_0xb0744d['commentId']:void 0x0,_0xb0744d['createdAt']?new Date(_0xb0744d['createdAt']):void 0x0,_0xb0744d['userId']?_0xb0744d['userId']:void 0x0,_0xb0744d['attributes']?JSON['parse'](_0xb0744d['attributes']):{},_0xb0744d['commentThread']?_0x4bbf39['fromJSON'](_0xb0744d['commentThread']):void 0x0);}},_0x374a91=class AddCommentResponse extends _0x27edad{commentThreadId;commentId;createdAt;static ['DESCRIPTOR_NAME']='CommentsV2AddCommentResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}};constructor(_0x151898,_0x193788,_0x266aaf){super(),this['commentThreadId']=_0x151898,this['commentId']=_0x193788,this['createdAt']=new Date(_0x266aaf);}toJSON(){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x43a0d5){return new AddCommentResponse(_0x43a0d5['commentThreadId'],_0x43a0d5['commentId'],_0x43a0d5['createdAt']);}},_0x9b8ad=class ConnectMessage extends _0x27edad{documentId;static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x59209d){super(),this['documentId']=_0x59209d;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](_0x43d78f){return new ConnectMessage(_0x43d78f['documentId']);}},_0x30b447=class ConnectResponse extends _0x27edad{['channel'];_threads;_threadsV2;threads;static ['DESCRIPTOR_NAME']='CommentsV2ConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'threads':{'type':'string','rule':'repeated','id':0x2},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x3}}};constructor(_0x1f9770,_0x510496,_0x3a3b16){super(),this['channel']=_0x1f9770,this['_threads']=_0x510496,this['_threadsV2']=_0x3a3b16,this['threads']=_0x3a3b16?.['length']?_0x3a3b16:_0x510496;}toJSON(){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x25f299=>JSON['stringify'](_0x25f299)),'threadsV2':this['_threadsV2']?.['map'](_0x4bbf39['toJSON'])};}static['fromJSON'](_0xd1b2a1){return new ConnectResponse(_0xd1b2a1['channel'],_0xd1b2a1['threads']?.['map'](_0x10d54b=>JSON['parse'](_0x10d54b)),_0xd1b2a1['threadsV2']?.['map'](_0x4bbf39['fromJSON']));}},_0x21560f=class RemoveCommentMessage extends _0x27edad{documentId;commentThreadId;commentId;static ['TYPE']='95';static ['READABLE_TYPE_NAME']='removeComment';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3}}};constructor(_0xf1b63d,_0x793d3c,_0x9cdbed){super(),this['documentId']=_0xf1b63d,this['commentThreadId']=_0x793d3c,this['commentId']=_0x9cdbed;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x253481){return new RemoveCommentMessage(_0x253481['documentId'],_0x253481['commentThreadId'],_0x253481['commentId']);}},_0x464c68=class RemoveCommentThreadMessage extends _0x27edad{documentId;commentThreadId;static ['TYPE']='97';static ['READABLE_TYPE_NAME']='removeCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x5d23d3,_0x2b0eb1){super(),this['documentId']=_0x5d23d3,this['commentThreadId']=_0x2b0eb1;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x18938b){return new RemoveCommentThreadMessage(_0x18938b['documentId'],_0x18938b['commentThreadId']);}},_0xa82ddf=class UpdateCommentMessage extends _0x27edad{documentId;commentThreadId;commentId;content;attributes;isAttributesUpdated;commentThread;static ['TYPE']='96';static ['READABLE_TYPE_NAME']='updateComment';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'content':{'type':'string','id':0x3},'documentId':{'type':'string','id':0x4},'attributes':{'type':'string','id':0x5},'isAttributesUpdated':{'type':'bool','id':0x6},'commentThread':{'type':'CommentsThreadDescriptor','id':0x7}}};constructor(_0x5ef011,_0x2942c1,_0x3805a7,_0x1de7fc,_0x4a2860=null,_0x2e7048=!0x1,_0xbb5543){super(),this['documentId']=_0x5ef011,this['commentThreadId']=_0x2942c1,this['commentId']=_0x3805a7,this['content']=_0x1de7fc,this['attributes']=_0x4a2860,this['isAttributesUpdated']=_0x2e7048,this['commentThread']=_0xbb5543;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?_0x4bbf39['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x2613de){return new UpdateCommentMessage(_0x2613de['documentId'],_0x2613de['commentThreadId'],_0x2613de['commentId'],_0x2613de['content'],_0x2613de['attributes']?JSON['parse'](_0x2613de['attributes']):null,_0x2613de['isAttributesUpdated'],_0x2613de['commentThread']?_0x4bbf39['fromJSON'](_0x2613de['commentThread']):void 0x0);}},_0x4268e3=class GetCommentThreadMessage extends _0x27edad{commentThreadId;documentId;static ['TYPE']='93';static ['READABLE_TYPE_NAME']='getComment';static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x5ea1c5,_0x183356){super(),this['commentThreadId']=_0x5ea1c5,this['documentId']=_0x183356;}toJSON(){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x3a4884){return new GetCommentThreadMessage(_0x3a4884['commentThreadId'],_0x3a4884['documentId']);}},_0x20c454=class GetCommentThreadResponse extends _0x27edad{commentThreadId;_comments;_commentsV2;['resolvedBy'];comments;createdAt;deletedAt;resolvedAt;attributes;context;unlinkedAt;static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'string','rule':'repeated','id':0x2},'commentsV2':{'type':'CommentDescriptor','rule':'repeated','id':0x3},'resolvedAt':{'type':'string','id':0x4},'resolvedBy':{'type':'string','id':0x5},'context':{'type':'string','id':0x6},'createdAt':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'attributes':{'type':'string','id':0x9},'unlinkedAt':{'type':'string','id':0xa}}};constructor(_0x5563b1,_0x428044,_0x31d172,_0x108a6c,_0x2570fb,_0x440578,_0xdf2c4d,_0x25e4db,_0x549bb2,_0x3b95dd){super(),this['commentThreadId']=_0x5563b1,this['_comments']=_0x428044,this['_commentsV2']=_0x31d172,this['resolvedBy']=_0x2570fb,this['comments']=_0x31d172?.['length']?_0x31d172:_0x428044,this['createdAt']=_0xdf2c4d?new Date(_0xdf2c4d):void 0x0,this['deletedAt']='string'==typeof _0x25e4db?new Date(_0x25e4db):_0x25e4db,this['resolvedAt']='string'==typeof _0x549bb2?new Date(_0x549bb2):_0x549bb2,this['unlinkedAt']='string'==typeof _0x3b95dd?new Date(_0x3b95dd):_0x3b95dd,this['attributes']='string'==typeof _0x108a6c?JSON['parse'](_0x108a6c):_0x108a6c,this['context']='string'==typeof _0x440578?JSON['parse'](_0x440578):_0x440578;}toJSON(){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x5e6b19=>JSON['stringify'](_0x5e6b19)),'commentsV2':this['_commentsV2']?.['map'](_0xab4e2['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x411acd){return new GetCommentThreadResponse(_0x411acd['commentThreadId'],_0x411acd['comments']?.['map'](_0x1b941b=>function(_0x936bc8){const _0xcb49e0=JSON['parse'](_0x936bc8);return{..._0xcb49e0,'createdAt':new Date(_0xcb49e0['createdAt'])};}(_0x1b941b)),_0x411acd['commentsV2']?.['map'](_0xab4e2['fromJSON']),_0x411acd['attributes']?JSON['parse'](_0x411acd['attributes']):_0x411acd['attributes'],_0x411acd['resolvedBy'],_0x411acd['context']?JSON['parse'](_0x411acd['context']):_0x411acd['context'],_0x411acd['createdAt'],_0x411acd['deletedAt'],_0x411acd['resolvedAt'],_0x411acd['unlinkedAt']);}},_0x41f50d=class GetDocumentThreadsMessage extends _0x27edad{documentId;static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x49314f){super(),this['documentId']=_0x49314f;}toJSON(){return{'documentId':this['documentId']};}static['fromJSON'](_0x3823ed){return new GetDocumentThreadsMessage(_0x3823ed['documentId']);}},_0x185cad=class GetDocumentThreadsResponse extends _0x27edad{_threads;_threadsV2;threads;static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsResponse';static ['DESCRIPTOR']={'fields':{'threads':{'type':'string','rule':'repeated','id':0x1},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x2}}};constructor(_0x5b1d8e,_0x2e200a){super(),this['_threads']=_0x5b1d8e,this['_threadsV2']=_0x2e200a,this['threads']=_0x2e200a?.['length']?_0x2e200a:_0x5b1d8e;}toJSON(){return{'threads':this['_threads']?.['map'](_0x321358=>JSON['stringify'](_0x321358)),'threadsV2':this['_threadsV2']?.['map'](_0x4bbf39['toJSON'])};}static['fromJSON'](_0x307e4a){return new GetDocumentThreadsResponse(_0x307e4a['threads']?.['map'](_0x13e236=>function(_0x338005){const _0xafac4f=JSON['parse'](_0x338005),_0x1a1e2f={..._0xafac4f};return _0xafac4f['comments']&&(_0x1a1e2f['comments']=_0xafac4f['comments']?.['map'](_0x40dc80=>({..._0x40dc80,'createdAt':new Date(_0x40dc80['createdAt'])}))),_0x1a1e2f;}(_0x13e236)),_0x307e4a['threadsV2']?.['map'](_0x4bbf39['fromJSON']));}},_0x453647=class extends _0x2380e6{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static toJSON(_0x47450c){return{'commentId':_0x47450c['commentId'],'createdAt':_0x47450c['createdAt']?.['toISOString']()};}static['fromJSON'](_0x54d2d1){return{'commentId':_0x54d2d1['commentId'],'createdAt':new Date(_0x54d2d1['createdAt'])};}},_0x1d2b37=class AddCommentThreadResponse extends _0x27edad{commentThreadId;comments;createdAt;static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'createdAt':{'type':'string','id':0x2},'comments':{'type':'CommentThreadAddedCommentDescriptor','rule':'repeated','id':0x3}}};constructor(_0xe4038e,_0x5006c8,_0x576a09=[]){super(),this['commentThreadId']=_0xe4038e,this['comments']=_0x576a09,this['createdAt']=new Date(_0x5006c8);}toJSON(){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x35f678=>_0x453647['toJSON'](_0x35f678))};}static['fromJSON'](_0x1976c8){return new AddCommentThreadResponse(_0x1976c8['commentThreadId'],_0x1976c8['createdAt'],_0x1976c8['comments']['map'](_0x1e64be=>_0x453647['fromJSON'](_0x1e64be)));}},_0x10efa2=class AddCommentThreadMessage extends _0x27edad{documentId;commentThreadId;comments;context;['resolvedBy'];attributes;createdAt;resolvedAt;deletedAt;static ['TYPE']='140';static ['READABLE_TYPE_NAME']='addCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'commentThreadId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'resolvedAt':{'type':'string','id':0x5},'resolvedBy':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x9}}};constructor(_0x131346,_0x3bf603,_0x4855d0=[],_0x1d3a7d,_0x36d033=null,_0x4ef0f3=null,_0x5ad313=null,_0x30d57e=null,_0x195de8=null){super(),this['documentId']=_0x131346,this['commentThreadId']=_0x3bf603,this['comments']=_0x4855d0,this['context']=_0x1d3a7d,this['resolvedBy']=_0x36d033,this['attributes']=_0x195de8,this['createdAt']=_0x4ef0f3?new Date(_0x4ef0f3):'',this['resolvedAt']=_0x5ad313?new Date(_0x5ad313):'',this['deletedAt']=_0x30d57e?new Date(_0x30d57e):'';}toJSON(){return{'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']instanceof Date?this['resolvedAt']['toISOString']():this['resolvedAt'],'deletedAt':this['deletedAt']instanceof Date?this['deletedAt']['toISOString']():this['deletedAt'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'comments':this['comments']?.['map'](_0x238e33=>_0xab4e2['toJSON'](_0x238e33))};}static['fromJSON'](_0x867c63){return new AddCommentThreadMessage(_0x867c63['documentId'],_0x867c63['commentThreadId'],_0x867c63['comments']?.['map'](_0x1f7431=>_0xab4e2['fromJSON']({..._0x1f7431,'documentId':_0x867c63['documentId'],'commentThreadId':_0x867c63['commentThreadId']})),_0x867c63['context']?JSON['parse'](_0x867c63['context']):_0x867c63['context'],_0x867c63['resolvedBy'],_0x867c63['createdAt']?new Date(_0x867c63['createdAt']):void 0x0,_0x867c63['resolvedAt']?new Date(_0x867c63['resolvedAt']):void 0x0,_0x867c63['deletedAt']?new Date(_0x867c63['deletedAt']):void 0x0,_0x867c63['attributes']?JSON['parse'](_0x867c63['attributes']):_0x867c63['attributes']);}},_0x19ed66=class ResolveCommentThreadMessage extends _0x27edad{commentThreadId;documentId;['resolvedBy'];resolvedAt;static ['TYPE']='142';static ['READABLE_TYPE_NAME']='resolveCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedBy':{'type':'string','id':0x3},'resolvedAt':{'type':'string','id':0x4}}};constructor(_0x42f632,_0x1358b0,_0x228bf1,_0x303c01){super(),this['commentThreadId']=_0x42f632,this['documentId']=_0x1358b0,this['resolvedBy']=_0x228bf1,this['resolvedAt']=_0x303c01?new Date(_0x303c01):void 0x0;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x438d34){return new ResolveCommentThreadMessage(_0x438d34['commentThreadId'],_0x438d34['documentId'],_0x438d34['resolvedBy'],_0x438d34['resolvedAt']);}},_0x4da5de=class ReopenCommentThreadMessage extends _0x27edad{commentThreadId;documentId;static ['TYPE']='141';static ['READABLE_TYPE_NAME']='reopenCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ReopenCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x145e1b,_0x5ae90b){super(),this['commentThreadId']=_0x145e1b,this['documentId']=_0x5ae90b;}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x28c809){return new ReopenCommentThreadMessage(_0x28c809['commentThreadId'],_0x28c809['documentId']);}},_0x3f2a9f=class UpdateCommentThreadMessage extends _0x27edad{commentThreadId;documentId;context;attributes;unlinkedAt;static ['TYPE']='143';static ['READABLE_TYPE_NAME']='updateCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'attributes':{'type':'string','id':0x4},'unlinkedAt':{'type':'string','id':0x5}}};constructor(_0x4a5098,_0x12aecb,_0x5f93e7,_0x504e3f=null,_0x21e454=null){super(),this['commentThreadId']=_0x4a5098,this['documentId']=_0x12aecb,this['context']=_0x5f93e7,this['attributes']=_0x504e3f,this['unlinkedAt']=_0x21e454?new Date(_0x21e454):'';}toJSON(){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'unlinkedAt':this['unlinkedAt']instanceof Date?this['unlinkedAt']['toISOString']():this['unlinkedAt']};}static['fromJSON'](_0x3df179){return new UpdateCommentThreadMessage(_0x3df179['commentThreadId'],_0x3df179['documentId'],_0x3df179['context']?JSON['parse'](_0x3df179['context']):_0x3df179['context'],_0x3df179['attributes']?JSON['parse'](_0x3df179['attributes']):null,_0x3df179['unlinkedAt']?new Date(_0x3df179['unlinkedAt']):null);}},_0x3f1820=class ResolveCommentThreadResponse extends _0x27edad{commentThreadId;documentId;['resolvedBy'];resolvedAt;static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4}}};constructor(_0x31bcbe,_0x667092,_0x1b8b96,_0x1125ba){super(),this['commentThreadId']=_0x31bcbe,this['documentId']=_0x667092,this['resolvedBy']=_0x1b8b96,this['resolvedAt']=new Date(_0x1125ba);}toJSON(){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x39a698){return new ResolveCommentThreadResponse(_0x39a698['commentThreadId'],_0x39a698['documentId'],_0x39a698['resolvedBy'],_0x39a698['resolvedAt']);}},_0x468cb0=class CommentsService extends(0x0,_0x491313['EmitterMixin'])(){_documentId;_isConnected=!0x1;_wsGateway;['_channel'];_connectedSessions;static ['_SERVICE']=0x9;constructor(_0x4c7f7b){super(),this['_documentId']=_0x4c7f7b;}get isConnected(){return this['_isConnected'];}async connect(_0x2e6a6e){if(this['_isConnected'])return;if(_0x2e6a6e['state']!==_0x8db0b2)throw new _0x1edd84('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2e6a6e);const _0xfb54fb=new _0x9b8ad(this['_documentId']);this['_wsGateway']=_0x2e6a6e,this['stopListening'](_0x2e6a6e,'change:state');const _0x1970aa=await _0x2e6a6e['_sendRequest'](0x9,_0x9b8ad['TYPE'],_0x16c33f['encode'](_0xfb54fb)),{channel:_0x256cc9,threads:_0x26a079}=_0x16c33f['decode'](_0x1970aa,_0x30b447);return this['listenTo'](_0x2e6a6e,'change:state',(_0x13d47f,_0x51da2c,_0x131a98)=>this['_onWsGatewayStateChange'](_0x131a98),{'priority':_0x219959['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2e6a6e,_0x256cc9),this['_isConnected']=!0x0,this['fire']('connected'),_0x26a079;}disconnect(){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async addComment(_0x5df54a,_0x465ca5,_0x48d5e0,_0x4c7d43){const _0x1f01c8=new _0x57fe46(this['_documentId'],_0x5df54a,_0x48d5e0,_0x465ca5,void 0x0,void 0x0,_0x4c7d43),_0x18c4f8=await this['_sendRequest'](_0x57fe46['TYPE'],_0x1f01c8);return _0x16c33f['decode'](_0x18c4f8,_0x374a91);}async updateComment(_0x394848,_0x5f04cb,_0x9032c7,_0x1158a7){const _0x2bdbcc=void 0x0!==_0x1158a7,_0x533d87=new _0xa82ddf(this['_documentId'],_0x394848,_0x5f04cb,_0x9032c7,_0x1158a7,_0x2bdbcc);await this['_sendRequest'](_0xa82ddf['TYPE'],_0x533d87);}async removeComment(_0x2b9db9,_0x5b8ae5){const _0x28790d=new _0x21560f(this['_documentId'],_0x2b9db9,_0x5b8ae5);await this['_sendRequest'](_0x21560f['TYPE'],_0x28790d);}async removeCommentThread(_0x53b184){const _0x489eb8=new _0x464c68(this['_documentId'],_0x53b184);await this['_sendRequest'](_0x464c68['TYPE'],_0x489eb8);}async addCommentThread(_0x5b39ff){const _0x1e0313=new _0x10efa2(this['_documentId'],_0x5b39ff['commentThreadId'],_0x5b39ff['comments']?.['map'](_0x56fb2b=>({..._0x56fb2b,'documentId':this['_documentId'],'commentThreadId':_0x5b39ff['commentThreadId']})),_0x5b39ff['context'],_0x5b39ff['resolvedBy'],_0x5b39ff['createdAt'],_0x5b39ff['resolvedAt'],_0x5b39ff['deletedAt'],_0x5b39ff['attributes']),_0x5b667c=await this['_sendRequest'](_0x10efa2['TYPE'],_0x1e0313);return _0x16c33f['decode'](_0x5b667c,_0x1d2b37);}async resolveCommentThread(_0x571a39){const _0x30b3fe=new _0x19ed66(_0x571a39,this['_documentId']),_0x285624=await this['_sendRequest'](_0x19ed66['TYPE'],_0x30b3fe);return _0x16c33f['decode'](_0x285624,_0x3f1820);}async reopenCommentThread(_0x178923){const _0x53fce2=new _0x4da5de(_0x178923,this['_documentId']);await this['_sendRequest'](_0x4da5de['TYPE'],_0x53fce2);}async updateCommentThread(_0x551d6a){const _0x517092=new _0x3f2a9f(_0x551d6a['commentThreadId'],this['_documentId'],_0x551d6a['context'],_0x551d6a['attributes'],_0x551d6a['unlinkedAt']);await this['_sendRequest'](_0x3f2a9f['TYPE'],_0x517092);}async getCommentThread(_0x5526d0,_0x16769b=0x1){const _0x59588e=new _0x4268e3(_0x5526d0,this['_documentId']);try{const _0x145f58=await this['_sendRequest'](_0x4268e3['TYPE'],_0x59588e),_0x47d727=_0x16c33f['decode'](_0x145f58,_0x20c454);return{'commentThreadId':_0x47d727['commentThreadId'],'comments':_0x47d727['comments'],'attributes':_0x47d727['attributes'],'context':_0x47d727['context'],'resolvedAt':_0x47d727['resolvedAt'],'resolvedBy':_0x47d727['resolvedBy'],'deletedAt':_0x47d727['deletedAt'],'unlinkedAt':_0x47d727['unlinkedAt']};}catch(_0x1b56c2){if('CKEditorCloudServicesServerError'===_0x1b56c2['name']&&'404'===_0x1b56c2['code']&&_0x16769b<0x5)return await(_0x16739c=0x64*_0x16769b,new Promise(_0x267dd6=>{setTimeout(_0x267dd6,_0x16739c);})),this['getCommentThread'](_0x5526d0,_0x16769b+0x1);if('CKEditorCloudServicesServerError'===_0x1b56c2['name'])throw _0x1b56c2;throw _0xa4578['fromPublicError'](_0x1b56c2);}var _0x16739c;}async getDocumentThreads(){const _0x571895=new _0x41f50d(this['_documentId']),_0x1087b6=await this['_sendRequest'](_0x41f50d['TYPE'],_0x571895),{threads:_0x4343fa}=_0x16c33f['decode'](_0x1087b6,_0x185cad);return{'threads':_0x4343fa};}async getConnectedSessions(){if(!this['_isConnected'])throw new _0x35ec7c('Comments',this);return this['_connectedSessions']??=await _0x45488f['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}_connectToChannel(_0x4acc26,_0x3c050e){this['_channel']=_0x4acc26['_getChannel'](CommentsService['_SERVICE'],_0x3c050e),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x57fe46['TYPE']),(_0xba01de,_0x101c72)=>{const _0x55ad68=_0x16c33f['decode'](_0x101c72,_0x57fe46);this['fire']('commentAdded',_0x55ad68);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x21560f['TYPE']),(_0x1d339d,_0xe205a7)=>{const _0x5082a9=_0x16c33f['decode'](_0xe205a7,_0x21560f);this['fire']('commentRemoved',_0x5082a9);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0xa82ddf['TYPE']),(_0x52aa00,_0x1b61bd)=>{const _0x44cb80=_0x16c33f['decode'](_0x1b61bd,_0xa82ddf);this['fire']('commentUpdated',_0x44cb80);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x464c68['TYPE']),(_0x53f933,_0x514c6f)=>{const _0x203b1a=_0x16c33f['decode'](_0x514c6f,_0x464c68);this['fire']('commentThreadRemoved',_0x203b1a);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x10efa2['TYPE']),(_0x4f4827,_0x1ad01e)=>{const _0x4040a0=_0x16c33f['decode'](_0x1ad01e,_0x10efa2);this['fire']('commentThreadAdded',_0x4040a0);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x3f2a9f['TYPE']),(_0xadc2e6,_0x4eb995)=>{const _0x27af2e=_0x16c33f['decode'](_0x4eb995,_0x3f2a9f);this['fire']('commentThreadUpdated',_0x27af2e);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x19ed66['TYPE']),(_0x4077c4,_0x21f0b3)=>{const _0xa3809=_0x16c33f['decode'](_0x21f0b3,_0x19ed66);this['fire']('commentThreadResolved',_0xa3809);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x4da5de['TYPE']),(_0x205638,_0x485653)=>{const _0x4ef786=_0x16c33f['decode'](_0x485653,_0x4da5de);this['fire']('commentThreadReopened',_0x4ef786);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x51fb87['TYPE']),()=>{this['disconnect']();}));}_onWsGatewayStateChange(_0x382117){_0x382117===_0x3a0679&&this['disconnect']();}_sendRequest(_0x2fcb72,_0x53f597){if(!this['_wsGateway']||!this['_isConnected'])throw new _0x35ec7c('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x2fcb72,_0x16c33f['encode'](_0x53f597));}},_0x558f8e=class WebSocketGateway extends _0x491313['ContextPlugin']{static WebSocketGateway=/* #__PURE__ -- @preserve */
((()=>_0x219959)());static initialReconnectionInterval=0x3e8;connection;_reconnectionStack;_shouldPluginsReconnect;_domEmitter;static get requires(){return[_0x491313['CloudServices'],_0x491313['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x137fb0){super(_0x137fb0),this['set']('state',_0x8db0b2),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new((0x0,_0x491313['DomEmitterMixin'])())();}init(){const _0x1022e5=this['context'],_0xbd9b9=_0x1022e5['plugins']['get'](_0x491313['CloudServices']),_0xc8596d=_0x1022e5['plugins']['get'](_0x491313['Notification']);if(!_0xbd9b9['token'])throw new _0x491313['CKEditorError']('websocketgateway-missing-token',this);if(!_0xbd9b9['webSocketUrl'])throw new _0x491313['CKEditorError']('websocketgateway-missing-websocket-url',this);return this['_domEmitter']['listenTo'](window,'offline',()=>this['_isBrowserOffline']=!0x0),this['_domEmitter']['listenTo'](window,'online',()=>this['_isBrowserOffline']=!0x1),this['context']['config']['define']('cloudServices.connectionTimeout',0xa),this['context']['config']['define']('cloudServices.requestTimeout',0x14),WebSocketGateway['WebSocketGateway']['connect'](_0xbd9b9['token'],_0xbd9b9['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x51c5f0=>{if(this['connection']=_0x51c5f0,this['bind']('state')['to'](_0x51c5f0,'state',this,'_isBrowserOffline',(_0x2682ce,_0x5d7298)=>('connected'!==_0x2682ce&&(this['_shouldPluginsReconnect']=!0x0),_0x5d7298||_0x2682ce!==_0x8db0b2?_0x3a0679:this['state']==_0x3a0679&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x178279):_0x8db0b2)),this['connection']['on']('error',(_0x501a5f,_0x462a13)=>{if('limitExceeded'!==_0x462a13['code'])throw console['error'](_0x462a13),new _0x491313['CKEditorError']('cloudservices-init',null,{'originalError':_0x462a13});_0xc8596d['showWarning']('The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.',{'title':'Connected\x20users\x20limit\x20exceeded','namespace':'real-time-collaboration'});}),!_0x51c5f0['me'])return new Promise(_0x32c272=>_0x51c5f0['on']('change:me',_0x32c272));})['catch'](_0x1c525d=>{throw console['error'](_0x1c525d),new _0x491313['CKEditorError']('cloudservices-init',null,{'originalError':_0x1c525d});});}addToReconnectionStack(_0x2c3cc9){if('function'!=typeof _0x2c3cc9['reconnect'])throw new _0x491313['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x2c3cc9))throw new _0x491313['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x2c3cc9['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x2c3cc9);}removeFromReconnectionStack(_0x433751){this['_reconnectionStack']['delete'](_0x433751);}isInReconnectionStack(_0x198363){return this['_reconnectionStack']['has'](_0x198363);}_reconnect(){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x1d3bc4=>_0x1d3bc4['reconnect']())))['then'](()=>this['state']=_0x8db0b2)['catch'](_0x690d85=>{throw console['error'](_0x690d85),new _0x491313['CKEditorError']('cloudservices-reconnection-error',this['context']);});}disconnect(){this['connection']&&this['connection']['disconnect'](),this['state']=_0x3a0679,this['_domEmitter']['stopListening']();}destroy(){this['disconnect'](),super['destroy']();}},_0x3e62c7=class extends _0x491313['ContextPlugin']{['channelSessions'];channelConnectedUsers;allConnectedUsers;_registeredSessions;_uniqueUsersCount;['_users'];static get['pluginName'](){return'Sessions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x558f8e,_0x16b3af];}constructor(_0x2251d1){super(_0x2251d1),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x491313['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x16b3af);}init(){const _0x133480=this['context']['plugins']['get'](_0x558f8e);this['listenTo'](_0x133480,'change:state',(_0x309b31,_0x1416e5,_0x54f0a3)=>{if('connected'!==_0x54f0a3)this['channelSessions']['forEach'](_0x14761c=>_0x14761c['clear']()),this['channelConnectedUsers']['forEach'](_0x5cb65a=>_0x5cb65a['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x22f22f,_0x184f6c]of this['_registeredSessions'])for(const _0x1d3bec of _0x184f6c)this['_handleSessionAdd'](_0x22f22f,_0x1d3bec);}}),this['_createUser'](_0x133480['connection']['me'],!0x0);}register(_0x1c9847,_0x6e1c96){if(this['_registeredSessions']['has'](_0x1c9847))throw new _0x491313['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x1c9847});this['_registeredSessions']['set'](_0x1c9847,_0x6e1c96),this['channelSessions']['set'](_0x1c9847,new _0x491313['Collection']()),this['channelConnectedUsers']['set'](_0x1c9847,new _0x491313['Collection']()),this['listenTo'](_0x6e1c96,'add',(_0x27c85f,_0x41ec08)=>this['_handleSessionAdd'](_0x1c9847,_0x41ec08)),this['listenTo'](_0x6e1c96,'remove',(_0x16961c,_0x1e8e12)=>this['_handleSessionRemove'](_0x1c9847,_0x1e8e12));for(const _0x3d9fc0 of _0x6e1c96)this['_handleSessionAdd'](_0x1c9847,_0x3d9fc0);}unregister(_0x1cbe1d){if(!this['_registeredSessions']['has'](_0x1cbe1d))throw new _0x491313['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x1cbe1d});const _0x5f24a6=this['_registeredSessions']['get'](_0x1cbe1d);this['stopListening'](_0x5f24a6);for(const _0x1a14fc of _0x5f24a6)'connected'===this['context']['plugins']['get'](_0x558f8e)['state']&&this['_handleSessionRemove'](_0x1cbe1d,_0x1a14fc);this['_registeredSessions']['delete'](_0x1cbe1d),this['channelSessions']['delete'](_0x1cbe1d),this['channelConnectedUsers']['delete'](_0x1cbe1d);}get['mySessionId'](){return this['context']['plugins']['get'](_0x558f8e)['connection']['sessionId'];}getUserBySessionId(_0x5d0457){for(const _0x1e6e32 of this['channelSessions']['values']())for(const _0x30c260 of _0x1e6e32)if(_0x30c260['id']===_0x5d0457)return _0x30c260['user'];}getUserSessions(_0x595817,_0x14ea20){const _0x8a342f=_0x14ea20?[this['channelSessions']['get'](_0x14ea20)]:this['channelSessions']['values'](),_0x29445e=new Set();for(const _0x5bafd7 of _0x8a342f)for(const _0x483032 of _0x5bafd7)_0x483032['user']['id']===_0x595817['id']&&_0x29445e['add'](_0x483032['id']);return _0x29445e;}getUserRole(_0x30452c){for(const _0x44a985 of this['channelSessions']['values']())for(const _0x5c3350 of _0x44a985)if(_0x5c3350['user']===_0x30452c)return _0x5c3350['role'];}['_handleSessionAdd'](_0x407235,_0x1d8220){if('connected'!==this['context']['plugins']['get'](_0x558f8e)['state'])return;const _0x553dee=_0x1d8220['user'],_0x509adb=this['_users']['getUser'](_0x553dee['id'])||this['_createUser'](_0x553dee),_0x2f86fb=Object['assign']({},_0x1d8220,{'user':_0x509adb});if(this['channelSessions']['get'](_0x407235)['add'](_0x2f86fb),!_0x553dee['hiddenInPresenceList']){const _0x1a84ed=this['channelConnectedUsers']['get'](_0x407235);_0x1a84ed['has'](_0x509adb['id'])||_0x1a84ed['add'](_0x509adb),this['allConnectedUsers']['has'](_0x509adb['id'])||_0x553dee['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x509adb,_0x509adb['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x407235,{'channelId':_0x407235,'session':_0x2f86fb});}['_handleSessionRemove'](_0x24be58,_0x22ad21){if('connected'!==this['context']['plugins']['get'](_0x558f8e)['state'])return;const _0x2346ca=this['channelConnectedUsers']['get'](_0x24be58),_0x1c6983=_0x22ad21['user'];_0x1c6983['id']&&(this['channelSessions']['get'](_0x24be58)['remove'](_0x22ad21['id']),_0x2346ca['has'](_0x1c6983['id'])&&!this['getUserSessions'](_0x1c6983,_0x24be58)['size']&&_0x2346ca['remove'](_0x1c6983['id']),this['allConnectedUsers']['get'](_0x1c6983['id'])&&!this['getUserSessions'](_0x1c6983)['size']&&this['allConnectedUsers']['remove'](_0x1c6983['id']));}_createUser(_0x5abe30,_0x129daa){const _0x52c7bb=this['_users']['addUser'](_0x5abe30);return _0x129daa&&this['_users']['defineMe'](_0x5abe30['id']),_0x52c7bb['orderNumber']=this['_uniqueUsersCount']++,_0x52c7bb;}},_0x4cde17=class extends _0x491313['Plugin']{_domEmitter=new((0x0,_0x491313['DomEmitterMixin'])())();static get requires(){return[_0x3e62c7];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x351c91=this['editor'],_0x196692=_0x351c91['plugins']['get'](_0x3e62c7);_0x351c91['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x2bd3de,{writer:_0xb3dbd})=>function(_0x4b4bee,_0x7b9354,_0x5026ac,_0x494804){const _0x3823b1=_0x4b4bee['markerName']['split'](':')[0x2],_0xc4a914=_0x5026ac['getUserBySessionId'](_0x3823b1);if(!_0xc4a914||_0x3823b1===_0x5026ac['mySessionId'])return;if(!_0x494804['model']['schema']['checkChild'](_0x4b4bee['markerRange']['start'],'$text'))return;const _0xf0c161={'class':'ck-user__marker\x20'+_0xc4a914['color']['getMarkerClass'](),'style':_0x630ca7(_0xc4a914),'data-name':_0xc4a914['name'],'data-session-id':_0x3823b1},_0x5954ae=_0x494804['model']['markers']['get'](_0x4b4bee['markerName'])['getStart'](),_0x3e3fff=_0x5954ae['nodeAfter'],_0x49def0=_0x494804['model']['schema'];if(_0x3e3fff&&_0x49def0['isObject'](_0x3e3fff)&&_0x49def0['isInline'](_0x3e3fff)&&!_0x494804['model']['markers']['get']('user:range:'+_0x3823b1)['getRange']()['isCollapsed'])return;const _0x1c3840=_0x5954ae['parent'];return _0x494804['model']['schema']['isLimit'](_0x1c3840)&&!_0x494804['model']['hasContent'](_0x1c3840)&&(_0xf0c161['contenteditable']=!0x1),function(_0x29ef59,_0x51a422,_0x38ae00){const _0x3135c4=_0x29ef59['createUIElement']('span',_0x51a422);return _0x29ef59['setCustomProperty']('userPositionMarker',!0x0,_0x3135c4),_0x3135c4['render']=function(_0x6d0128){const _0x2864d2=this['toDomElement'](_0x6d0128),_0x4d1b57=document['createElement']('span');return _0x4d1b57['classList']['add']('ck-user__marker-tooltip'),_0x4d1b57['setAttribute']('contenteditable','false'),_0x4d1b57['setAttribute']('spellcheck','false'),_0x4d1b57['textContent']=_0x38ae00['name'],_0x2864d2['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x4d1b57['outerHTML']+'⁠',_0x2864d2['addEventListener']('mouseenter',()=>{_0x2864d2['classList']['add']('ck-user__marker_hovered');}),_0x2864d2['addEventListener']('mouseleave',()=>{_0x2864d2['classList']['remove']('ck-user__marker_hovered');}),_0x2864d2;},_0x3135c4['isSimilar']=function(_0x4fa047){return!(!this['getCustomProperty']('userPositionMarker')||!_0x4fa047['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x4fa047['getAttribute']('data-session-id'));},_0x3135c4;}(_0x7b9354,_0xf0c161,_0xc4a914);}(_0x2bd3de,_0xb3dbd,_0x196692,_0x351c91)}),_0x351c91['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x40ac79=>function(_0x1e7943,_0x354dd6){const _0x1a717a=_0x1e7943['markerName']['split'](':')[0x2];if(_0x1a717a===_0x354dd6['mySessionId'])return null;const _0x261d66=_0x354dd6['getUserBySessionId'](_0x1a717a);return _0x261d66?{'id':_0x1a717a,'classes':['ck-user__selection',_0x261d66['color']['getSelectionClass']()],'attributes':{'style':_0x630ca7(_0x261d66),'data-session-id':_0x1a717a},'priority':0x7d0+_0x261d66['orderNumber']}:{'id':_0x1a717a,'classes':[]};}(_0x40ac79,_0x196692)}),function(_0x2b449d){const _0x22e77d=_0x2b449d['model'],_0x28e57d=new Map(),_0x1d7e71=_0x2b449d['plugins']['get'](_0x3e62c7);_0x22e77d['markers']['on']('update:user:range',(_0x2edaba,_0x293c60,_0x5dfafb,_0x2aea13)=>{if(!_0x2aea13&&_0x28e57d['get'](_0x293c60['name']))return _0x28e57d['get'](_0x293c60['name'])['detach'](),void _0x28e57d['delete'](_0x293c60['name']);const _0x3f2ee3=_0x293c60['name']['split'](':')[0x2];if(_0x3f2ee3===_0x1d7e71['mySessionId'])return;const _0x13b619='user:position:'+_0x3f2ee3;_0x22e77d['markers']['has'](_0x13b619)&&_0x2b449d['editing']['reconvertMarker'](_0x13b619),_0x293c60['on']('change:range',(_0x2fff3f,_0x5d6381,_0x3a5e76)=>{if('$graveyard'!=_0x5d6381['root']['rootName']&&'$graveyard'==_0x293c60['getRange']()['root']['rootName']&&!_0x28e57d['has'](_0x293c60['name'])){const _0x1f4da8=_0x22e77d['schema']['getNearestSelectionRange'](_0x3a5e76['deletionPosition']);if(_0x1f4da8){const _0x25a6d8=_0x491313['ModelLiveRange']['fromRange'](_0x1f4da8);_0x28e57d['set'](_0x293c60['name'],_0x25a6d8),_0x25a6d8['on']('change:range',(_0x5c1243,_0x232a4a,_0x3b0c64)=>{if('$graveyard'==_0x25a6d8['root']['rootName']){const _0x279b01=_0x22e77d['schema']['getNearestSelectionRange'](_0x3b0c64['deletionPosition']);_0x279b01?(_0x25a6d8['start']=_0x279b01['start'],_0x25a6d8['end']=_0x279b01['end']):(_0x28e57d['delete'](_0x293c60['name']),_0x25a6d8['detach']());}});}}});}),_0x22e77d['document']['on']('change',()=>{_0x28e57d['size']>0x0&&_0x22e77d['enqueueChange']({'isUndoable':!0x1},_0x24d1e3=>{for(const [_0x3a27aa,_0x1d8462]of _0x28e57d)'$graveyard'==_0x22e77d['markers']['get'](_0x3a27aa)['getRange']()['root']['rootName']&&(_0x2c23fa(_0x3a27aa['split'](':')[0x2],_0x1d8462['toRange'](),_0x22e77d,_0x24d1e3),_0x1d8462['detach']());_0x28e57d['clear']();});});}(_0x351c91),this['_domEmitter']['listenTo'](_0x491313['global']['document'],'keydown',(_0x40a83d,{key:_0x3894b5})=>{'Escape'===_0x3894b5&&function(_0x5b2583){_0x5b2583['editing']['view']['change'](_0x374bcb=>{for(const _0x1c8bcb of _0x5b2583['model']['markers']){if(!_0x1c8bcb['name']['startsWith']('user:position'))continue;const _0x421b20=_0x5b2583['editing']['mapper']['markerNameToElements'](_0x1c8bcb['name']);if(_0x421b20){for(const _0x7b2193 of _0x421b20)_0x374bcb['removeClass']('ck-user__marker_hovered',_0x7b2193);}}});}(_0x351c91);},{'useCapture':!0x0});}afterInit(){const _0x5dd974=this['editor'],_0x3d587c=_0x5dd974['commands']['get']('undo');_0x3d587c&&_0x5dd974['model']['on']('applyOperation',(_0x351009,_0x564aee)=>{const _0x331cbd=_0x564aee[0x0];if(!_0x331cbd['isDocumentOperation'])return;if('marker'!=_0x331cbd['type']||!_0x331cbd['name']['startsWith']('user:'))return;const _0x54a958=_0x331cbd['batch'];_0x3d587c['_createdBatches']['has'](_0x54a958)&&(_0x331cbd['newRange']=_0x331cbd['oldRange']?_0x5dd974['model']['createRange'](_0x331cbd['oldRange']['start'],_0x331cbd['oldRange']['end']):null);},{'priority':'highest'});}destroy(){return this['_domEmitter']['stopListening'](),super['destroy']();}createUserMarkerOperations(){const _0x4746e1=this['editor'],_0x342cc5=_0x4746e1['model']['document'],_0x49bd83=_0x4746e1['plugins']['get'](_0x3e62c7);_0x4746e1['model']['enqueueChange']({'isUndoable':!0x1},_0x2be6c8=>{const _0x3a783f='user:range:'+_0x49bd83['mySessionId'],_0x3bbfc3='user:position:'+_0x49bd83['mySessionId'],_0x2dcd50=_0x4746e1['model']['markers']['has'](_0x3a783f);_0x4746e1['editing']['view']['hasDomSelection']?_0x2c23fa(_0x49bd83['mySessionId'],_0x342cc5['selection']['getFirstRange'](),_0x4746e1['model'],_0x2be6c8):_0x2dcd50&&(_0x2be6c8['removeMarker'](_0x3a783f),_0x2be6c8['removeMarker'](_0x3bbfc3));});}};function _0x2c23fa(_0x34a3c9,_0x2a4abc,_0x1fffeb,_0x2d30d5){const _0x3f19ca='user:range:'+_0x34a3c9,_0x54864a='user:position:'+_0x34a3c9,_0x3a08f6=_0x2a4abc['getContainedElement']();let _0x371d57=_0x2a4abc['start'];if(_0x3a08f6&&_0x3a08f6['is']('element','tableCell')){const _0x3b98c4=function(_0x2872d1,_0x147065){for(const _0x28c949 of _0x2872d1['getPositions']())if(_0x147065['schema']['checkChild'](_0x28c949,'$text'))return _0x28c949;}(_0x2a4abc,_0x1fffeb);_0x3b98c4&&(_0x371d57=_0x3b98c4,_0x2a4abc=_0x2d30d5['createRange'](_0x371d57));}const _0x35aa16=_0x2d30d5['createRange'](_0x371d57);_0x1fffeb['markers']['has'](_0x3f19ca)?(_0x2d30d5['updateMarker'](_0x3f19ca,{'range':_0x2a4abc}),_0x2d30d5['updateMarker'](_0x54864a,{'range':_0x35aa16})):(_0x2d30d5['addMarker'](_0x3f19ca,{'range':_0x2a4abc,'usingOperation':!0x0}),_0x2d30d5['addMarker'](_0x54864a,{'range':_0x35aa16,'usingOperation':!0x0}));}function _0x630ca7(_0x11ddb8){return'--ck-user-color:'+_0x11ddb8['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x11ddb8['color']['getColorAlphaVariable']()+';';}function _0x4e1cf7(_0x2f156b,_0x39120c,_0x4ec15b){const _0x36b6e8=_0x2f156b['t'],t=_0x2f156b['t'];switch(_0x39120c){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return _0x36b6e8({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x4ec15b);default:return'';}}const _0x35ce79=/* #__PURE__ -- @preserve */
((()=>{var _0x362dc0=_0x2a7f4f['default']['Reader'],_0x29a45b=_0x2a7f4f['default']['Writer'],_0xcd0f45=_0x2a7f4f['default']['util'],_0x634d5f=_0x2a7f4f['default']['roots']['default']||(_0x2a7f4f['default']['roots']['default']={});return _0x634d5f['AttributeOperation']=(function(){function _0x51101e(_0xa11691){if(_0xa11691){for(var _0x327ba6=Object['keys'](_0xa11691),_0x55b8dd=0x0;_0x55b8dd<_0x327ba6['length'];++_0x55b8dd)null!=_0xa11691[_0x327ba6[_0x55b8dd]]&&'__proto__'!==_0x327ba6[_0x55b8dd]&&(this[_0x327ba6[_0x55b8dd]]=_0xa11691[_0x327ba6[_0x55b8dd]]);}}return _0x51101e['prototype']['range']=null,_0x51101e['prototype']['key']='',_0x51101e['prototype']['oldValueBoolean']=!0x1,_0x51101e['prototype']['oldValueJson']='',_0x51101e['prototype']['newValueBoolean']=!0x1,_0x51101e['prototype']['newValueJson']='',_0x51101e['prototype']['wasUndone']=!0x1,_0x51101e['prototype']['_aiSource']='',_0x51101e['create']=function(_0x1818c1){return new _0x51101e(_0x1818c1);},_0x51101e['encode']=function(_0x369d49,_0x3795e4){return _0x3795e4||(_0x3795e4=_0x29a45b['create']()),null!=_0x369d49['range']&&Object['hasOwnProperty']['call'](_0x369d49,'range')&&_0x634d5f['Range']['encode'](_0x369d49['range'],_0x3795e4['uint32'](0xa)['fork']())['ldelim'](),null!=_0x369d49['key']&&Object['hasOwnProperty']['call'](_0x369d49,'key')&&_0x3795e4['uint32'](0x12)['string'](_0x369d49['key']),null!=_0x369d49['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x369d49,'oldValueBoolean')&&_0x3795e4['uint32'](0x18)['bool'](_0x369d49['oldValueBoolean']),null!=_0x369d49['oldValueJson']&&Object['hasOwnProperty']['call'](_0x369d49,'oldValueJson')&&_0x3795e4['uint32'](0x22)['string'](_0x369d49['oldValueJson']),null!=_0x369d49['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x369d49,'newValueBoolean')&&_0x3795e4['uint32'](0x28)['bool'](_0x369d49['newValueBoolean']),null!=_0x369d49['newValueJson']&&Object['hasOwnProperty']['call'](_0x369d49,'newValueJson')&&_0x3795e4['uint32'](0x32)['string'](_0x369d49['newValueJson']),null!=_0x369d49['wasUndone']&&Object['hasOwnProperty']['call'](_0x369d49,'wasUndone')&&_0x3795e4['uint32'](0x38)['bool'](_0x369d49['wasUndone']),null!=_0x369d49['_aiSource']&&Object['hasOwnProperty']['call'](_0x369d49,'_aiSource')&&_0x3795e4['uint32'](0x42)['string'](_0x369d49['_aiSource']),_0x3795e4;},_0x51101e['encodeDelimited']=function(_0x5963e4,_0xf4c4d1){return this['encode'](_0x5963e4,_0xf4c4d1)['ldelim']();},_0x51101e['decode']=function(_0x35a504,_0x13c8b4,_0x539b74,_0x2c69b7){if(_0x35a504 instanceof _0x362dc0||(_0x35a504=_0x362dc0['create'](_0x35a504)),void 0x0===_0x2c69b7&&(_0x2c69b7=0x0),_0x2c69b7>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4f0add=void 0x0===_0x13c8b4?_0x35a504['len']:_0x35a504['pos']+_0x13c8b4,_0x59c6ec=new _0x634d5f['AttributeOperation']();_0x35a504['pos']<_0x4f0add;){var _0x171aa4=_0x35a504['uint32']();if(_0x171aa4===_0x539b74)break;switch(_0x171aa4>>>0x3){case 0x1:_0x59c6ec['range']=_0x634d5f['Range']['decode'](_0x35a504,_0x35a504['uint32'](),void 0x0,_0x2c69b7+0x1);break;case 0x2:_0x59c6ec['key']=_0x35a504['string']();break;case 0x3:_0x59c6ec['oldValueBoolean']=_0x35a504['bool']();break;case 0x4:_0x59c6ec['oldValueJson']=_0x35a504['string']();break;case 0x5:_0x59c6ec['newValueBoolean']=_0x35a504['bool']();break;case 0x6:_0x59c6ec['newValueJson']=_0x35a504['string']();break;case 0x7:_0x59c6ec['wasUndone']=_0x35a504['bool']();break;case 0x8:_0x59c6ec['_aiSource']=_0x35a504['string']();break;default:_0x35a504['skipType'](0x7&_0x171aa4,_0x2c69b7);}}return _0x59c6ec;},_0x51101e['decodeDelimited']=function(_0x464261){return _0x464261 instanceof _0x362dc0||(_0x464261=new _0x362dc0(_0x464261)),this['decode'](_0x464261,_0x464261['uint32']());},_0x51101e['verify']=function(_0x59b14a,_0xc9c1f1){if('object'!=typeof _0x59b14a||null===_0x59b14a)return'object\x20expected';if(void 0x0===_0xc9c1f1&&(_0xc9c1f1=0x0),_0xc9c1f1>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x59b14a['range']&&_0x59b14a['hasOwnProperty']('range')){var _0x3176a1=_0x634d5f['Range']['verify'](_0x59b14a['range'],_0xc9c1f1+0x1);if(_0x3176a1)return'range.'+_0x3176a1;}return null!=_0x59b14a['key']&&_0x59b14a['hasOwnProperty']('key')&&!_0xcd0f45['isString'](_0x59b14a['key'])?'key:\x20string\x20expected':null!=_0x59b14a['oldValueBoolean']&&_0x59b14a['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x59b14a['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x59b14a['oldValueJson']&&_0x59b14a['hasOwnProperty']('oldValueJson')&&!_0xcd0f45['isString'](_0x59b14a['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x59b14a['newValueBoolean']&&_0x59b14a['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x59b14a['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x59b14a['newValueJson']&&_0x59b14a['hasOwnProperty']('newValueJson')&&!_0xcd0f45['isString'](_0x59b14a['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x59b14a['wasUndone']&&_0x59b14a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x59b14a['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x59b14a['_aiSource']&&_0x59b14a['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0x59b14a['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x51101e['fromObject']=function(_0x4acf92,_0x4e8b2d){if(_0x4acf92 instanceof _0x634d5f['AttributeOperation'])return _0x4acf92;if(void 0x0===_0x4e8b2d&&(_0x4e8b2d=0x0),_0x4e8b2d>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x576370=new _0x634d5f['AttributeOperation']();if(null!=_0x4acf92['range']){if('object'!=typeof _0x4acf92['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x576370['range']=_0x634d5f['Range']['fromObject'](_0x4acf92['range'],_0x4e8b2d+0x1);}return null!=_0x4acf92['key']&&(_0x576370['key']=String(_0x4acf92['key'])),null!=_0x4acf92['oldValueBoolean']&&(_0x576370['oldValueBoolean']=Boolean(_0x4acf92['oldValueBoolean'])),null!=_0x4acf92['oldValueJson']&&(_0x576370['oldValueJson']=String(_0x4acf92['oldValueJson'])),null!=_0x4acf92['newValueBoolean']&&(_0x576370['newValueBoolean']=Boolean(_0x4acf92['newValueBoolean'])),null!=_0x4acf92['newValueJson']&&(_0x576370['newValueJson']=String(_0x4acf92['newValueJson'])),null!=_0x4acf92['wasUndone']&&(_0x576370['wasUndone']=Boolean(_0x4acf92['wasUndone'])),null!=_0x4acf92['_aiSource']&&(_0x576370['_aiSource']=String(_0x4acf92['_aiSource'])),_0x576370;},_0x51101e['toObject']=function(_0x5985e6,_0xbb5d04){_0xbb5d04||(_0xbb5d04={});var _0x3f6998={};return _0xbb5d04['defaults']&&(_0x3f6998['range']=null,_0x3f6998['key']='',_0x3f6998['oldValueBoolean']=!0x1,_0x3f6998['oldValueJson']='',_0x3f6998['newValueBoolean']=!0x1,_0x3f6998['newValueJson']='',_0x3f6998['wasUndone']=!0x1,_0x3f6998['_aiSource']=''),null!=_0x5985e6['range']&&_0x5985e6['hasOwnProperty']('range')&&(_0x3f6998['range']=_0x634d5f['Range']['toObject'](_0x5985e6['range'],_0xbb5d04)),null!=_0x5985e6['key']&&_0x5985e6['hasOwnProperty']('key')&&(_0x3f6998['key']=_0x5985e6['key']),null!=_0x5985e6['oldValueBoolean']&&_0x5985e6['hasOwnProperty']('oldValueBoolean')&&(_0x3f6998['oldValueBoolean']=_0x5985e6['oldValueBoolean']),null!=_0x5985e6['oldValueJson']&&_0x5985e6['hasOwnProperty']('oldValueJson')&&(_0x3f6998['oldValueJson']=_0x5985e6['oldValueJson']),null!=_0x5985e6['newValueBoolean']&&_0x5985e6['hasOwnProperty']('newValueBoolean')&&(_0x3f6998['newValueBoolean']=_0x5985e6['newValueBoolean']),null!=_0x5985e6['newValueJson']&&_0x5985e6['hasOwnProperty']('newValueJson')&&(_0x3f6998['newValueJson']=_0x5985e6['newValueJson']),null!=_0x5985e6['wasUndone']&&_0x5985e6['hasOwnProperty']('wasUndone')&&(_0x3f6998['wasUndone']=_0x5985e6['wasUndone']),null!=_0x5985e6['_aiSource']&&_0x5985e6['hasOwnProperty']('_aiSource')&&(_0x3f6998['_aiSource']=_0x5985e6['_aiSource']),_0x3f6998;},_0x51101e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x51101e['getTypeUrl']=function(_0x3090ad){return void 0x0===_0x3090ad&&(_0x3090ad='type.googleapis.com'),_0x3090ad+'/AttributeOperation';},_0x51101e;}()),_0x634d5f['InsertOperation']=(function(){function _0x246e25(_0xe346f9){if(this['nodes']=[],_0xe346f9){for(var _0x54595f=Object['keys'](_0xe346f9),_0x3a41e1=0x0;_0x3a41e1<_0x54595f['length'];++_0x3a41e1)null!=_0xe346f9[_0x54595f[_0x3a41e1]]&&'__proto__'!==_0x54595f[_0x3a41e1]&&(this[_0x54595f[_0x3a41e1]]=_0xe346f9[_0x54595f[_0x3a41e1]]);}}return _0x246e25['prototype']['position']=null,_0x246e25['prototype']['nodes']=_0xcd0f45['emptyArray'],_0x246e25['prototype']['shouldReceiveAttributes']=!0x1,_0x246e25['prototype']['wasUndone']=!0x1,_0x246e25['prototype']['_aiSource']='',_0x246e25['create']=function(_0x3f3640){return new _0x246e25(_0x3f3640);},_0x246e25['encode']=function(_0x13bb73,_0x218cc3){if(_0x218cc3||(_0x218cc3=_0x29a45b['create']()),null!=_0x13bb73['position']&&Object['hasOwnProperty']['call'](_0x13bb73,'position')&&_0x634d5f['Position']['encode'](_0x13bb73['position'],_0x218cc3['uint32'](0xa)['fork']())['ldelim'](),null!=_0x13bb73['nodes']&&_0x13bb73['nodes']['length']){for(var _0x2f6a1a=0x0;_0x2f6a1a<_0x13bb73['nodes']['length'];++_0x2f6a1a)_0x634d5f['Element']['encode'](_0x13bb73['nodes'][_0x2f6a1a],_0x218cc3['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x13bb73['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x13bb73,'shouldReceiveAttributes')&&_0x218cc3['uint32'](0x18)['bool'](_0x13bb73['shouldReceiveAttributes']),null!=_0x13bb73['wasUndone']&&Object['hasOwnProperty']['call'](_0x13bb73,'wasUndone')&&_0x218cc3['uint32'](0x20)['bool'](_0x13bb73['wasUndone']),null!=_0x13bb73['_aiSource']&&Object['hasOwnProperty']['call'](_0x13bb73,'_aiSource')&&_0x218cc3['uint32'](0x2a)['string'](_0x13bb73['_aiSource']),_0x218cc3;},_0x246e25['encodeDelimited']=function(_0x265a62,_0x3f8366){return this['encode'](_0x265a62,_0x3f8366)['ldelim']();},_0x246e25['decode']=function(_0x16673d,_0x3d8f19,_0x572968,_0x328c73){if(_0x16673d instanceof _0x362dc0||(_0x16673d=_0x362dc0['create'](_0x16673d)),void 0x0===_0x328c73&&(_0x328c73=0x0),_0x328c73>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x485d75=void 0x0===_0x3d8f19?_0x16673d['len']:_0x16673d['pos']+_0x3d8f19,_0x1d193a=new _0x634d5f['InsertOperation']();_0x16673d['pos']<_0x485d75;){var _0x5ddbf5=_0x16673d['uint32']();if(_0x5ddbf5===_0x572968)break;switch(_0x5ddbf5>>>0x3){case 0x1:_0x1d193a['position']=_0x634d5f['Position']['decode'](_0x16673d,_0x16673d['uint32'](),void 0x0,_0x328c73+0x1);break;case 0x2:_0x1d193a['nodes']&&_0x1d193a['nodes']['length']||(_0x1d193a['nodes']=[]),_0x1d193a['nodes']['push'](_0x634d5f['Element']['decode'](_0x16673d,_0x16673d['uint32'](),void 0x0,_0x328c73+0x1));break;case 0x3:_0x1d193a['shouldReceiveAttributes']=_0x16673d['bool']();break;case 0x4:_0x1d193a['wasUndone']=_0x16673d['bool']();break;case 0x5:_0x1d193a['_aiSource']=_0x16673d['string']();break;default:_0x16673d['skipType'](0x7&_0x5ddbf5,_0x328c73);}}return _0x1d193a;},_0x246e25['decodeDelimited']=function(_0x462f40){return _0x462f40 instanceof _0x362dc0||(_0x462f40=new _0x362dc0(_0x462f40)),this['decode'](_0x462f40,_0x462f40['uint32']());},_0x246e25['verify']=function(_0x2dea13,_0x298620){if('object'!=typeof _0x2dea13||null===_0x2dea13)return'object\x20expected';if(void 0x0===_0x298620&&(_0x298620=0x0),_0x298620>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2dea13['position']&&_0x2dea13['hasOwnProperty']('position')&&(_0x515f64=_0x634d5f['Position']['verify'](_0x2dea13['position'],_0x298620+0x1)))return'position.'+_0x515f64;if(null!=_0x2dea13['nodes']&&_0x2dea13['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x2dea13['nodes']))return'nodes:\x20array\x20expected';for(var _0x5dec3d=0x0;_0x5dec3d<_0x2dea13['nodes']['length'];++_0x5dec3d){var _0x515f64;if(_0x515f64=_0x634d5f['Element']['verify'](_0x2dea13['nodes'][_0x5dec3d],_0x298620+0x1))return'nodes.'+_0x515f64;}}return null!=_0x2dea13['shouldReceiveAttributes']&&_0x2dea13['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x2dea13['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x2dea13['wasUndone']&&_0x2dea13['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2dea13['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x2dea13['_aiSource']&&_0x2dea13['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0x2dea13['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x246e25['fromObject']=function(_0x492497,_0x3eefee){if(_0x492497 instanceof _0x634d5f['InsertOperation'])return _0x492497;if(void 0x0===_0x3eefee&&(_0x3eefee=0x0),_0x3eefee>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2612c3=new _0x634d5f['InsertOperation']();if(null!=_0x492497['position']){if('object'!=typeof _0x492497['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x2612c3['position']=_0x634d5f['Position']['fromObject'](_0x492497['position'],_0x3eefee+0x1);}if(_0x492497['nodes']){if(!Array['isArray'](_0x492497['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x2612c3['nodes']=[];for(var _0x13d052=0x0;_0x13d052<_0x492497['nodes']['length'];++_0x13d052){if('object'!=typeof _0x492497['nodes'][_0x13d052])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x2612c3['nodes'][_0x13d052]=_0x634d5f['Element']['fromObject'](_0x492497['nodes'][_0x13d052],_0x3eefee+0x1);}}return null!=_0x492497['shouldReceiveAttributes']&&(_0x2612c3['shouldReceiveAttributes']=Boolean(_0x492497['shouldReceiveAttributes'])),null!=_0x492497['wasUndone']&&(_0x2612c3['wasUndone']=Boolean(_0x492497['wasUndone'])),null!=_0x492497['_aiSource']&&(_0x2612c3['_aiSource']=String(_0x492497['_aiSource'])),_0x2612c3;},_0x246e25['toObject']=function(_0x50e23f,_0x2cd901){_0x2cd901||(_0x2cd901={});var _0x360257={};if((_0x2cd901['arrays']||_0x2cd901['defaults'])&&(_0x360257['nodes']=[]),_0x2cd901['defaults']&&(_0x360257['position']=null,_0x360257['shouldReceiveAttributes']=!0x1,_0x360257['wasUndone']=!0x1,_0x360257['_aiSource']=''),null!=_0x50e23f['position']&&_0x50e23f['hasOwnProperty']('position')&&(_0x360257['position']=_0x634d5f['Position']['toObject'](_0x50e23f['position'],_0x2cd901)),_0x50e23f['nodes']&&_0x50e23f['nodes']['length']){_0x360257['nodes']=[];for(var _0x398cd0=0x0;_0x398cd0<_0x50e23f['nodes']['length'];++_0x398cd0)_0x360257['nodes'][_0x398cd0]=_0x634d5f['Element']['toObject'](_0x50e23f['nodes'][_0x398cd0],_0x2cd901);}return null!=_0x50e23f['shouldReceiveAttributes']&&_0x50e23f['hasOwnProperty']('shouldReceiveAttributes')&&(_0x360257['shouldReceiveAttributes']=_0x50e23f['shouldReceiveAttributes']),null!=_0x50e23f['wasUndone']&&_0x50e23f['hasOwnProperty']('wasUndone')&&(_0x360257['wasUndone']=_0x50e23f['wasUndone']),null!=_0x50e23f['_aiSource']&&_0x50e23f['hasOwnProperty']('_aiSource')&&(_0x360257['_aiSource']=_0x50e23f['_aiSource']),_0x360257;},_0x246e25['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x246e25['getTypeUrl']=function(_0x37067d){return void 0x0===_0x37067d&&(_0x37067d='type.googleapis.com'),_0x37067d+'/InsertOperation';},_0x246e25;}()),_0x634d5f['MarkerOperation']=(function(){function _0x410a5e(_0x353ebf){if(_0x353ebf){for(var _0x45b0ac=Object['keys'](_0x353ebf),_0xb2cb2c=0x0;_0xb2cb2c<_0x45b0ac['length'];++_0xb2cb2c)null!=_0x353ebf[_0x45b0ac[_0xb2cb2c]]&&'__proto__'!==_0x45b0ac[_0xb2cb2c]&&(this[_0x45b0ac[_0xb2cb2c]]=_0x353ebf[_0x45b0ac[_0xb2cb2c]]);}}return _0x410a5e['prototype']['name']='',_0x410a5e['prototype']['oldRange']=null,_0x410a5e['prototype']['newRange']=null,_0x410a5e['prototype']['affectsData']=!0x1,_0x410a5e['prototype']['wasUndone']=!0x1,_0x410a5e['prototype']['_aiSource']='',_0x410a5e['create']=function(_0x4e27a1){return new _0x410a5e(_0x4e27a1);},_0x410a5e['encode']=function(_0x4a5d9f,_0x3ae365){return _0x3ae365||(_0x3ae365=_0x29a45b['create']()),null!=_0x4a5d9f['name']&&Object['hasOwnProperty']['call'](_0x4a5d9f,'name')&&_0x3ae365['uint32'](0xa)['string'](_0x4a5d9f['name']),null!=_0x4a5d9f['oldRange']&&Object['hasOwnProperty']['call'](_0x4a5d9f,'oldRange')&&_0x634d5f['Range']['encode'](_0x4a5d9f['oldRange'],_0x3ae365['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4a5d9f['newRange']&&Object['hasOwnProperty']['call'](_0x4a5d9f,'newRange')&&_0x634d5f['Range']['encode'](_0x4a5d9f['newRange'],_0x3ae365['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x4a5d9f['affectsData']&&Object['hasOwnProperty']['call'](_0x4a5d9f,'affectsData')&&_0x3ae365['uint32'](0x20)['bool'](_0x4a5d9f['affectsData']),null!=_0x4a5d9f['wasUndone']&&Object['hasOwnProperty']['call'](_0x4a5d9f,'wasUndone')&&_0x3ae365['uint32'](0x28)['bool'](_0x4a5d9f['wasUndone']),null!=_0x4a5d9f['_aiSource']&&Object['hasOwnProperty']['call'](_0x4a5d9f,'_aiSource')&&_0x3ae365['uint32'](0x32)['string'](_0x4a5d9f['_aiSource']),_0x3ae365;},_0x410a5e['encodeDelimited']=function(_0x17e696,_0x325198){return this['encode'](_0x17e696,_0x325198)['ldelim']();},_0x410a5e['decode']=function(_0x4c2821,_0x3746a6,_0x978b6c,_0x10862c){if(_0x4c2821 instanceof _0x362dc0||(_0x4c2821=_0x362dc0['create'](_0x4c2821)),void 0x0===_0x10862c&&(_0x10862c=0x0),_0x10862c>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x48677a=void 0x0===_0x3746a6?_0x4c2821['len']:_0x4c2821['pos']+_0x3746a6,_0x4c1ec1=new _0x634d5f['MarkerOperation']();_0x4c2821['pos']<_0x48677a;){var _0x170ce3=_0x4c2821['uint32']();if(_0x170ce3===_0x978b6c)break;switch(_0x170ce3>>>0x3){case 0x1:_0x4c1ec1['name']=_0x4c2821['string']();break;case 0x2:_0x4c1ec1['oldRange']=_0x634d5f['Range']['decode'](_0x4c2821,_0x4c2821['uint32'](),void 0x0,_0x10862c+0x1);break;case 0x3:_0x4c1ec1['newRange']=_0x634d5f['Range']['decode'](_0x4c2821,_0x4c2821['uint32'](),void 0x0,_0x10862c+0x1);break;case 0x4:_0x4c1ec1['affectsData']=_0x4c2821['bool']();break;case 0x5:_0x4c1ec1['wasUndone']=_0x4c2821['bool']();break;case 0x6:_0x4c1ec1['_aiSource']=_0x4c2821['string']();break;default:_0x4c2821['skipType'](0x7&_0x170ce3,_0x10862c);}}return _0x4c1ec1;},_0x410a5e['decodeDelimited']=function(_0x1ac657){return _0x1ac657 instanceof _0x362dc0||(_0x1ac657=new _0x362dc0(_0x1ac657)),this['decode'](_0x1ac657,_0x1ac657['uint32']());},_0x410a5e['verify']=function(_0x4fd2c3,_0x1e3521){if('object'!=typeof _0x4fd2c3||null===_0x4fd2c3)return'object\x20expected';if(void 0x0===_0x1e3521&&(_0x1e3521=0x0),_0x1e3521>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4fd2c3['name']&&_0x4fd2c3['hasOwnProperty']('name')&&!_0xcd0f45['isString'](_0x4fd2c3['name']))return'name:\x20string\x20expected';var _0x125c75;if(null!=_0x4fd2c3['oldRange']&&_0x4fd2c3['hasOwnProperty']('oldRange')&&(_0x125c75=_0x634d5f['Range']['verify'](_0x4fd2c3['oldRange'],_0x1e3521+0x1)))return'oldRange.'+_0x125c75;if(null!=_0x4fd2c3['newRange']&&_0x4fd2c3['hasOwnProperty']('newRange')&&(_0x125c75=_0x634d5f['Range']['verify'](_0x4fd2c3['newRange'],_0x1e3521+0x1)))return'newRange.'+_0x125c75;return null!=_0x4fd2c3['affectsData']&&_0x4fd2c3['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x4fd2c3['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x4fd2c3['wasUndone']&&_0x4fd2c3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4fd2c3['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x4fd2c3['_aiSource']&&_0x4fd2c3['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0x4fd2c3['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x410a5e['fromObject']=function(_0xc23c02,_0x28418b){if(_0xc23c02 instanceof _0x634d5f['MarkerOperation'])return _0xc23c02;if(void 0x0===_0x28418b&&(_0x28418b=0x0),_0x28418b>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xe85403=new _0x634d5f['MarkerOperation']();if(null!=_0xc23c02['name']&&(_0xe85403['name']=String(_0xc23c02['name'])),null!=_0xc23c02['oldRange']){if('object'!=typeof _0xc23c02['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0xe85403['oldRange']=_0x634d5f['Range']['fromObject'](_0xc23c02['oldRange'],_0x28418b+0x1);}if(null!=_0xc23c02['newRange']){if('object'!=typeof _0xc23c02['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0xe85403['newRange']=_0x634d5f['Range']['fromObject'](_0xc23c02['newRange'],_0x28418b+0x1);}return null!=_0xc23c02['affectsData']&&(_0xe85403['affectsData']=Boolean(_0xc23c02['affectsData'])),null!=_0xc23c02['wasUndone']&&(_0xe85403['wasUndone']=Boolean(_0xc23c02['wasUndone'])),null!=_0xc23c02['_aiSource']&&(_0xe85403['_aiSource']=String(_0xc23c02['_aiSource'])),_0xe85403;},_0x410a5e['toObject']=function(_0x5af416,_0x518c12){_0x518c12||(_0x518c12={});var _0x5672c4={};return _0x518c12['defaults']&&(_0x5672c4['name']='',_0x5672c4['oldRange']=null,_0x5672c4['newRange']=null,_0x5672c4['affectsData']=!0x1,_0x5672c4['wasUndone']=!0x1,_0x5672c4['_aiSource']=''),null!=_0x5af416['name']&&_0x5af416['hasOwnProperty']('name')&&(_0x5672c4['name']=_0x5af416['name']),null!=_0x5af416['oldRange']&&_0x5af416['hasOwnProperty']('oldRange')&&(_0x5672c4['oldRange']=_0x634d5f['Range']['toObject'](_0x5af416['oldRange'],_0x518c12)),null!=_0x5af416['newRange']&&_0x5af416['hasOwnProperty']('newRange')&&(_0x5672c4['newRange']=_0x634d5f['Range']['toObject'](_0x5af416['newRange'],_0x518c12)),null!=_0x5af416['affectsData']&&_0x5af416['hasOwnProperty']('affectsData')&&(_0x5672c4['affectsData']=_0x5af416['affectsData']),null!=_0x5af416['wasUndone']&&_0x5af416['hasOwnProperty']('wasUndone')&&(_0x5672c4['wasUndone']=_0x5af416['wasUndone']),null!=_0x5af416['_aiSource']&&_0x5af416['hasOwnProperty']('_aiSource')&&(_0x5672c4['_aiSource']=_0x5af416['_aiSource']),_0x5672c4;},_0x410a5e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x410a5e['getTypeUrl']=function(_0x1db0b5){return void 0x0===_0x1db0b5&&(_0x1db0b5='type.googleapis.com'),_0x1db0b5+'/MarkerOperation';},_0x410a5e;}()),_0x634d5f['MergeOperation']=(function(){function _0x3cdaf6(_0x5467e3){if(_0x5467e3){for(var _0x3eff57=Object['keys'](_0x5467e3),_0x172597=0x0;_0x172597<_0x3eff57['length'];++_0x172597)null!=_0x5467e3[_0x3eff57[_0x172597]]&&'__proto__'!==_0x3eff57[_0x172597]&&(this[_0x3eff57[_0x172597]]=_0x5467e3[_0x3eff57[_0x172597]]);}}return _0x3cdaf6['prototype']['sourcePosition']=null,_0x3cdaf6['prototype']['targetPosition']=null,_0x3cdaf6['prototype']['graveyardPosition']=null,_0x3cdaf6['prototype']['howMany']=0x0,_0x3cdaf6['prototype']['wasUndone']=!0x1,_0x3cdaf6['prototype']['_aiSource']='',_0x3cdaf6['create']=function(_0x595faf){return new _0x3cdaf6(_0x595faf);},_0x3cdaf6['encode']=function(_0x17ed84,_0xcc2d02){return _0xcc2d02||(_0xcc2d02=_0x29a45b['create']()),null!=_0x17ed84['sourcePosition']&&Object['hasOwnProperty']['call'](_0x17ed84,'sourcePosition')&&_0x634d5f['Position']['encode'](_0x17ed84['sourcePosition'],_0xcc2d02['uint32'](0xa)['fork']())['ldelim'](),null!=_0x17ed84['targetPosition']&&Object['hasOwnProperty']['call'](_0x17ed84,'targetPosition')&&_0x634d5f['Position']['encode'](_0x17ed84['targetPosition'],_0xcc2d02['uint32'](0x12)['fork']())['ldelim'](),null!=_0x17ed84['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x17ed84,'graveyardPosition')&&_0x634d5f['Position']['encode'](_0x17ed84['graveyardPosition'],_0xcc2d02['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x17ed84['howMany']&&Object['hasOwnProperty']['call'](_0x17ed84,'howMany')&&_0xcc2d02['uint32'](0x20)['uint32'](_0x17ed84['howMany']),null!=_0x17ed84['wasUndone']&&Object['hasOwnProperty']['call'](_0x17ed84,'wasUndone')&&_0xcc2d02['uint32'](0x28)['bool'](_0x17ed84['wasUndone']),null!=_0x17ed84['_aiSource']&&Object['hasOwnProperty']['call'](_0x17ed84,'_aiSource')&&_0xcc2d02['uint32'](0x32)['string'](_0x17ed84['_aiSource']),_0xcc2d02;},_0x3cdaf6['encodeDelimited']=function(_0x538882,_0x3b15d6){return this['encode'](_0x538882,_0x3b15d6)['ldelim']();},_0x3cdaf6['decode']=function(_0x331949,_0x14386d,_0x3fa1f6,_0x76073d){if(_0x331949 instanceof _0x362dc0||(_0x331949=_0x362dc0['create'](_0x331949)),void 0x0===_0x76073d&&(_0x76073d=0x0),_0x76073d>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1a7334=void 0x0===_0x14386d?_0x331949['len']:_0x331949['pos']+_0x14386d,_0x56b0a5=new _0x634d5f['MergeOperation']();_0x331949['pos']<_0x1a7334;){var _0x3bc562=_0x331949['uint32']();if(_0x3bc562===_0x3fa1f6)break;switch(_0x3bc562>>>0x3){case 0x1:_0x56b0a5['sourcePosition']=_0x634d5f['Position']['decode'](_0x331949,_0x331949['uint32'](),void 0x0,_0x76073d+0x1);break;case 0x2:_0x56b0a5['targetPosition']=_0x634d5f['Position']['decode'](_0x331949,_0x331949['uint32'](),void 0x0,_0x76073d+0x1);break;case 0x3:_0x56b0a5['graveyardPosition']=_0x634d5f['Position']['decode'](_0x331949,_0x331949['uint32'](),void 0x0,_0x76073d+0x1);break;case 0x4:_0x56b0a5['howMany']=_0x331949['uint32']();break;case 0x5:_0x56b0a5['wasUndone']=_0x331949['bool']();break;case 0x6:_0x56b0a5['_aiSource']=_0x331949['string']();break;default:_0x331949['skipType'](0x7&_0x3bc562,_0x76073d);}}return _0x56b0a5;},_0x3cdaf6['decodeDelimited']=function(_0x1509ce){return _0x1509ce instanceof _0x362dc0||(_0x1509ce=new _0x362dc0(_0x1509ce)),this['decode'](_0x1509ce,_0x1509ce['uint32']());},_0x3cdaf6['verify']=function(_0x57ec12,_0xb44588){if('object'!=typeof _0x57ec12||null===_0x57ec12)return'object\x20expected';if(void 0x0===_0xb44588&&(_0xb44588=0x0),_0xb44588>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x2ea4b8;if(null!=_0x57ec12['sourcePosition']&&_0x57ec12['hasOwnProperty']('sourcePosition')&&(_0x2ea4b8=_0x634d5f['Position']['verify'](_0x57ec12['sourcePosition'],_0xb44588+0x1)))return'sourcePosition.'+_0x2ea4b8;if(null!=_0x57ec12['targetPosition']&&_0x57ec12['hasOwnProperty']('targetPosition')&&(_0x2ea4b8=_0x634d5f['Position']['verify'](_0x57ec12['targetPosition'],_0xb44588+0x1)))return'targetPosition.'+_0x2ea4b8;if(null!=_0x57ec12['graveyardPosition']&&_0x57ec12['hasOwnProperty']('graveyardPosition')&&(_0x2ea4b8=_0x634d5f['Position']['verify'](_0x57ec12['graveyardPosition'],_0xb44588+0x1)))return'graveyardPosition.'+_0x2ea4b8;return null!=_0x57ec12['howMany']&&_0x57ec12['hasOwnProperty']('howMany')&&!_0xcd0f45['isInteger'](_0x57ec12['howMany'])?'howMany:\x20integer\x20expected':null!=_0x57ec12['wasUndone']&&_0x57ec12['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x57ec12['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x57ec12['_aiSource']&&_0x57ec12['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0x57ec12['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x3cdaf6['fromObject']=function(_0x23664a,_0x2c4786){if(_0x23664a instanceof _0x634d5f['MergeOperation'])return _0x23664a;if(void 0x0===_0x2c4786&&(_0x2c4786=0x0),_0x2c4786>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x424108=new _0x634d5f['MergeOperation']();if(null!=_0x23664a['sourcePosition']){if('object'!=typeof _0x23664a['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x424108['sourcePosition']=_0x634d5f['Position']['fromObject'](_0x23664a['sourcePosition'],_0x2c4786+0x1);}if(null!=_0x23664a['targetPosition']){if('object'!=typeof _0x23664a['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x424108['targetPosition']=_0x634d5f['Position']['fromObject'](_0x23664a['targetPosition'],_0x2c4786+0x1);}if(null!=_0x23664a['graveyardPosition']){if('object'!=typeof _0x23664a['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x424108['graveyardPosition']=_0x634d5f['Position']['fromObject'](_0x23664a['graveyardPosition'],_0x2c4786+0x1);}return null!=_0x23664a['howMany']&&(_0x424108['howMany']=_0x23664a['howMany']>>>0x0),null!=_0x23664a['wasUndone']&&(_0x424108['wasUndone']=Boolean(_0x23664a['wasUndone'])),null!=_0x23664a['_aiSource']&&(_0x424108['_aiSource']=String(_0x23664a['_aiSource'])),_0x424108;},_0x3cdaf6['toObject']=function(_0x90d859,_0x2d3927){_0x2d3927||(_0x2d3927={});var _0x4dfb35={};return _0x2d3927['defaults']&&(_0x4dfb35['sourcePosition']=null,_0x4dfb35['targetPosition']=null,_0x4dfb35['graveyardPosition']=null,_0x4dfb35['howMany']=0x0,_0x4dfb35['wasUndone']=!0x1,_0x4dfb35['_aiSource']=''),null!=_0x90d859['sourcePosition']&&_0x90d859['hasOwnProperty']('sourcePosition')&&(_0x4dfb35['sourcePosition']=_0x634d5f['Position']['toObject'](_0x90d859['sourcePosition'],_0x2d3927)),null!=_0x90d859['targetPosition']&&_0x90d859['hasOwnProperty']('targetPosition')&&(_0x4dfb35['targetPosition']=_0x634d5f['Position']['toObject'](_0x90d859['targetPosition'],_0x2d3927)),null!=_0x90d859['graveyardPosition']&&_0x90d859['hasOwnProperty']('graveyardPosition')&&(_0x4dfb35['graveyardPosition']=_0x634d5f['Position']['toObject'](_0x90d859['graveyardPosition'],_0x2d3927)),null!=_0x90d859['howMany']&&_0x90d859['hasOwnProperty']('howMany')&&(_0x4dfb35['howMany']=_0x90d859['howMany']),null!=_0x90d859['wasUndone']&&_0x90d859['hasOwnProperty']('wasUndone')&&(_0x4dfb35['wasUndone']=_0x90d859['wasUndone']),null!=_0x90d859['_aiSource']&&_0x90d859['hasOwnProperty']('_aiSource')&&(_0x4dfb35['_aiSource']=_0x90d859['_aiSource']),_0x4dfb35;},_0x3cdaf6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x3cdaf6['getTypeUrl']=function(_0x348199){return void 0x0===_0x348199&&(_0x348199='type.googleapis.com'),_0x348199+'/MergeOperation';},_0x3cdaf6;}()),_0x634d5f['MoveOperation']=(function(){function _0x128c87(_0x2e472d){if(_0x2e472d){for(var _0x137b98=Object['keys'](_0x2e472d),_0x57b892=0x0;_0x57b892<_0x137b98['length'];++_0x57b892)null!=_0x2e472d[_0x137b98[_0x57b892]]&&'__proto__'!==_0x137b98[_0x57b892]&&(this[_0x137b98[_0x57b892]]=_0x2e472d[_0x137b98[_0x57b892]]);}}return _0x128c87['prototype']['sourcePosition']=null,_0x128c87['prototype']['howMany']=0x0,_0x128c87['prototype']['targetPosition']=null,_0x128c87['prototype']['wasUndone']=!0x1,_0x128c87['prototype']['_aiSource']='',_0x128c87['create']=function(_0x90d15a){return new _0x128c87(_0x90d15a);},_0x128c87['encode']=function(_0x1b668d,_0x957da6){return _0x957da6||(_0x957da6=_0x29a45b['create']()),null!=_0x1b668d['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1b668d,'sourcePosition')&&_0x634d5f['Position']['encode'](_0x1b668d['sourcePosition'],_0x957da6['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1b668d['howMany']&&Object['hasOwnProperty']['call'](_0x1b668d,'howMany')&&_0x957da6['uint32'](0x10)['uint32'](_0x1b668d['howMany']),null!=_0x1b668d['targetPosition']&&Object['hasOwnProperty']['call'](_0x1b668d,'targetPosition')&&_0x634d5f['Position']['encode'](_0x1b668d['targetPosition'],_0x957da6['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1b668d['wasUndone']&&Object['hasOwnProperty']['call'](_0x1b668d,'wasUndone')&&_0x957da6['uint32'](0x20)['bool'](_0x1b668d['wasUndone']),null!=_0x1b668d['_aiSource']&&Object['hasOwnProperty']['call'](_0x1b668d,'_aiSource')&&_0x957da6['uint32'](0x2a)['string'](_0x1b668d['_aiSource']),_0x957da6;},_0x128c87['encodeDelimited']=function(_0x3f7241,_0x1deee0){return this['encode'](_0x3f7241,_0x1deee0)['ldelim']();},_0x128c87['decode']=function(_0xae0b2a,_0x315d64,_0x2b1f9a,_0x1f1996){if(_0xae0b2a instanceof _0x362dc0||(_0xae0b2a=_0x362dc0['create'](_0xae0b2a)),void 0x0===_0x1f1996&&(_0x1f1996=0x0),_0x1f1996>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50d4cb=void 0x0===_0x315d64?_0xae0b2a['len']:_0xae0b2a['pos']+_0x315d64,_0x1d3cbf=new _0x634d5f['MoveOperation']();_0xae0b2a['pos']<_0x50d4cb;){var _0x4d96c6=_0xae0b2a['uint32']();if(_0x4d96c6===_0x2b1f9a)break;switch(_0x4d96c6>>>0x3){case 0x1:_0x1d3cbf['sourcePosition']=_0x634d5f['Position']['decode'](_0xae0b2a,_0xae0b2a['uint32'](),void 0x0,_0x1f1996+0x1);break;case 0x2:_0x1d3cbf['howMany']=_0xae0b2a['uint32']();break;case 0x3:_0x1d3cbf['targetPosition']=_0x634d5f['Position']['decode'](_0xae0b2a,_0xae0b2a['uint32'](),void 0x0,_0x1f1996+0x1);break;case 0x4:_0x1d3cbf['wasUndone']=_0xae0b2a['bool']();break;case 0x5:_0x1d3cbf['_aiSource']=_0xae0b2a['string']();break;default:_0xae0b2a['skipType'](0x7&_0x4d96c6,_0x1f1996);}}return _0x1d3cbf;},_0x128c87['decodeDelimited']=function(_0x30e494){return _0x30e494 instanceof _0x362dc0||(_0x30e494=new _0x362dc0(_0x30e494)),this['decode'](_0x30e494,_0x30e494['uint32']());},_0x128c87['verify']=function(_0x17a3b6,_0xa1f0f8){if('object'!=typeof _0x17a3b6||null===_0x17a3b6)return'object\x20expected';if(void 0x0===_0xa1f0f8&&(_0xa1f0f8=0x0),_0xa1f0f8>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x36e654;if(null!=_0x17a3b6['sourcePosition']&&_0x17a3b6['hasOwnProperty']('sourcePosition')&&(_0x36e654=_0x634d5f['Position']['verify'](_0x17a3b6['sourcePosition'],_0xa1f0f8+0x1)))return'sourcePosition.'+_0x36e654;if(null!=_0x17a3b6['howMany']&&_0x17a3b6['hasOwnProperty']('howMany')&&!_0xcd0f45['isInteger'](_0x17a3b6['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x17a3b6['targetPosition']&&_0x17a3b6['hasOwnProperty']('targetPosition')&&(_0x36e654=_0x634d5f['Position']['verify'](_0x17a3b6['targetPosition'],_0xa1f0f8+0x1)))return'targetPosition.'+_0x36e654;return null!=_0x17a3b6['wasUndone']&&_0x17a3b6['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x17a3b6['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x17a3b6['_aiSource']&&_0x17a3b6['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0x17a3b6['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x128c87['fromObject']=function(_0x362576,_0x1cb45b){if(_0x362576 instanceof _0x634d5f['MoveOperation'])return _0x362576;if(void 0x0===_0x1cb45b&&(_0x1cb45b=0x0),_0x1cb45b>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4720e2=new _0x634d5f['MoveOperation']();if(null!=_0x362576['sourcePosition']){if('object'!=typeof _0x362576['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x4720e2['sourcePosition']=_0x634d5f['Position']['fromObject'](_0x362576['sourcePosition'],_0x1cb45b+0x1);}if(null!=_0x362576['howMany']&&(_0x4720e2['howMany']=_0x362576['howMany']>>>0x0),null!=_0x362576['targetPosition']){if('object'!=typeof _0x362576['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x4720e2['targetPosition']=_0x634d5f['Position']['fromObject'](_0x362576['targetPosition'],_0x1cb45b+0x1);}return null!=_0x362576['wasUndone']&&(_0x4720e2['wasUndone']=Boolean(_0x362576['wasUndone'])),null!=_0x362576['_aiSource']&&(_0x4720e2['_aiSource']=String(_0x362576['_aiSource'])),_0x4720e2;},_0x128c87['toObject']=function(_0x129ed3,_0x1e28f7){_0x1e28f7||(_0x1e28f7={});var _0x9e4185={};return _0x1e28f7['defaults']&&(_0x9e4185['sourcePosition']=null,_0x9e4185['howMany']=0x0,_0x9e4185['targetPosition']=null,_0x9e4185['wasUndone']=!0x1,_0x9e4185['_aiSource']=''),null!=_0x129ed3['sourcePosition']&&_0x129ed3['hasOwnProperty']('sourcePosition')&&(_0x9e4185['sourcePosition']=_0x634d5f['Position']['toObject'](_0x129ed3['sourcePosition'],_0x1e28f7)),null!=_0x129ed3['howMany']&&_0x129ed3['hasOwnProperty']('howMany')&&(_0x9e4185['howMany']=_0x129ed3['howMany']),null!=_0x129ed3['targetPosition']&&_0x129ed3['hasOwnProperty']('targetPosition')&&(_0x9e4185['targetPosition']=_0x634d5f['Position']['toObject'](_0x129ed3['targetPosition'],_0x1e28f7)),null!=_0x129ed3['wasUndone']&&_0x129ed3['hasOwnProperty']('wasUndone')&&(_0x9e4185['wasUndone']=_0x129ed3['wasUndone']),null!=_0x129ed3['_aiSource']&&_0x129ed3['hasOwnProperty']('_aiSource')&&(_0x9e4185['_aiSource']=_0x129ed3['_aiSource']),_0x9e4185;},_0x128c87['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x128c87['getTypeUrl']=function(_0x3e4e60){return void 0x0===_0x3e4e60&&(_0x3e4e60='type.googleapis.com'),_0x3e4e60+'/MoveOperation';},_0x128c87;}()),_0x634d5f['RenameOperation']=(function(){function _0x1548a4(_0x1471a3){if(_0x1471a3){for(var _0x4a8d7b=Object['keys'](_0x1471a3),_0x222206=0x0;_0x222206<_0x4a8d7b['length'];++_0x222206)null!=_0x1471a3[_0x4a8d7b[_0x222206]]&&'__proto__'!==_0x4a8d7b[_0x222206]&&(this[_0x4a8d7b[_0x222206]]=_0x1471a3[_0x4a8d7b[_0x222206]]);}}return _0x1548a4['prototype']['position']=null,_0x1548a4['prototype']['oldName']='',_0x1548a4['prototype']['newName']='',_0x1548a4['prototype']['wasUndone']=!0x1,_0x1548a4['prototype']['_aiSource']='',_0x1548a4['create']=function(_0x2983d3){return new _0x1548a4(_0x2983d3);},_0x1548a4['encode']=function(_0x1f3f80,_0x1ab666){return _0x1ab666||(_0x1ab666=_0x29a45b['create']()),null!=_0x1f3f80['position']&&Object['hasOwnProperty']['call'](_0x1f3f80,'position')&&_0x634d5f['Position']['encode'](_0x1f3f80['position'],_0x1ab666['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1f3f80['oldName']&&Object['hasOwnProperty']['call'](_0x1f3f80,'oldName')&&_0x1ab666['uint32'](0x12)['string'](_0x1f3f80['oldName']),null!=_0x1f3f80['newName']&&Object['hasOwnProperty']['call'](_0x1f3f80,'newName')&&_0x1ab666['uint32'](0x1a)['string'](_0x1f3f80['newName']),null!=_0x1f3f80['wasUndone']&&Object['hasOwnProperty']['call'](_0x1f3f80,'wasUndone')&&_0x1ab666['uint32'](0x20)['bool'](_0x1f3f80['wasUndone']),null!=_0x1f3f80['_aiSource']&&Object['hasOwnProperty']['call'](_0x1f3f80,'_aiSource')&&_0x1ab666['uint32'](0x2a)['string'](_0x1f3f80['_aiSource']),_0x1ab666;},_0x1548a4['encodeDelimited']=function(_0x38af22,_0x261b84){return this['encode'](_0x38af22,_0x261b84)['ldelim']();},_0x1548a4['decode']=function(_0x46e6ca,_0xcbba82,_0x4f9d44,_0x21faac){if(_0x46e6ca instanceof _0x362dc0||(_0x46e6ca=_0x362dc0['create'](_0x46e6ca)),void 0x0===_0x21faac&&(_0x21faac=0x0),_0x21faac>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x20e9ff=void 0x0===_0xcbba82?_0x46e6ca['len']:_0x46e6ca['pos']+_0xcbba82,_0x148e22=new _0x634d5f['RenameOperation']();_0x46e6ca['pos']<_0x20e9ff;){var _0x584bf8=_0x46e6ca['uint32']();if(_0x584bf8===_0x4f9d44)break;switch(_0x584bf8>>>0x3){case 0x1:_0x148e22['position']=_0x634d5f['Position']['decode'](_0x46e6ca,_0x46e6ca['uint32'](),void 0x0,_0x21faac+0x1);break;case 0x2:_0x148e22['oldName']=_0x46e6ca['string']();break;case 0x3:_0x148e22['newName']=_0x46e6ca['string']();break;case 0x4:_0x148e22['wasUndone']=_0x46e6ca['bool']();break;case 0x5:_0x148e22['_aiSource']=_0x46e6ca['string']();break;default:_0x46e6ca['skipType'](0x7&_0x584bf8,_0x21faac);}}return _0x148e22;},_0x1548a4['decodeDelimited']=function(_0x28fa77){return _0x28fa77 instanceof _0x362dc0||(_0x28fa77=new _0x362dc0(_0x28fa77)),this['decode'](_0x28fa77,_0x28fa77['uint32']());},_0x1548a4['verify']=function(_0x10209f,_0xabfe9){if('object'!=typeof _0x10209f||null===_0x10209f)return'object\x20expected';if(void 0x0===_0xabfe9&&(_0xabfe9=0x0),_0xabfe9>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x10209f['position']&&_0x10209f['hasOwnProperty']('position')){var _0x25fb13=_0x634d5f['Position']['verify'](_0x10209f['position'],_0xabfe9+0x1);if(_0x25fb13)return'position.'+_0x25fb13;}return null!=_0x10209f['oldName']&&_0x10209f['hasOwnProperty']('oldName')&&!_0xcd0f45['isString'](_0x10209f['oldName'])?'oldName:\x20string\x20expected':null!=_0x10209f['newName']&&_0x10209f['hasOwnProperty']('newName')&&!_0xcd0f45['isString'](_0x10209f['newName'])?'newName:\x20string\x20expected':null!=_0x10209f['wasUndone']&&_0x10209f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x10209f['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x10209f['_aiSource']&&_0x10209f['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0x10209f['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x1548a4['fromObject']=function(_0x273f57,_0x4db47a){if(_0x273f57 instanceof _0x634d5f['RenameOperation'])return _0x273f57;if(void 0x0===_0x4db47a&&(_0x4db47a=0x0),_0x4db47a>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x279038=new _0x634d5f['RenameOperation']();if(null!=_0x273f57['position']){if('object'!=typeof _0x273f57['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x279038['position']=_0x634d5f['Position']['fromObject'](_0x273f57['position'],_0x4db47a+0x1);}return null!=_0x273f57['oldName']&&(_0x279038['oldName']=String(_0x273f57['oldName'])),null!=_0x273f57['newName']&&(_0x279038['newName']=String(_0x273f57['newName'])),null!=_0x273f57['wasUndone']&&(_0x279038['wasUndone']=Boolean(_0x273f57['wasUndone'])),null!=_0x273f57['_aiSource']&&(_0x279038['_aiSource']=String(_0x273f57['_aiSource'])),_0x279038;},_0x1548a4['toObject']=function(_0x3201b5,_0x413bd6){_0x413bd6||(_0x413bd6={});var _0x33eba3={};return _0x413bd6['defaults']&&(_0x33eba3['position']=null,_0x33eba3['oldName']='',_0x33eba3['newName']='',_0x33eba3['wasUndone']=!0x1,_0x33eba3['_aiSource']=''),null!=_0x3201b5['position']&&_0x3201b5['hasOwnProperty']('position')&&(_0x33eba3['position']=_0x634d5f['Position']['toObject'](_0x3201b5['position'],_0x413bd6)),null!=_0x3201b5['oldName']&&_0x3201b5['hasOwnProperty']('oldName')&&(_0x33eba3['oldName']=_0x3201b5['oldName']),null!=_0x3201b5['newName']&&_0x3201b5['hasOwnProperty']('newName')&&(_0x33eba3['newName']=_0x3201b5['newName']),null!=_0x3201b5['wasUndone']&&_0x3201b5['hasOwnProperty']('wasUndone')&&(_0x33eba3['wasUndone']=_0x3201b5['wasUndone']),null!=_0x3201b5['_aiSource']&&_0x3201b5['hasOwnProperty']('_aiSource')&&(_0x33eba3['_aiSource']=_0x3201b5['_aiSource']),_0x33eba3;},_0x1548a4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x1548a4['getTypeUrl']=function(_0x11f06b){return void 0x0===_0x11f06b&&(_0x11f06b='type.googleapis.com'),_0x11f06b+'/RenameOperation';},_0x1548a4;}()),_0x634d5f['RootAttributeOperation']=(function(){function _0x3219d6(_0x5b2bc4){if(_0x5b2bc4){for(var _0x4e49b7=Object['keys'](_0x5b2bc4),_0x83261=0x0;_0x83261<_0x4e49b7['length'];++_0x83261)null!=_0x5b2bc4[_0x4e49b7[_0x83261]]&&'__proto__'!==_0x4e49b7[_0x83261]&&(this[_0x4e49b7[_0x83261]]=_0x5b2bc4[_0x4e49b7[_0x83261]]);}}return _0x3219d6['prototype']['root']='',_0x3219d6['prototype']['key']='',_0x3219d6['prototype']['oldValueBoolean']=!0x1,_0x3219d6['prototype']['oldValueJson']='',_0x3219d6['prototype']['newValueBoolean']=!0x1,_0x3219d6['prototype']['newValueJson']='',_0x3219d6['prototype']['wasUndone']=!0x1,_0x3219d6['prototype']['_aiSource']='',_0x3219d6['create']=function(_0x497c8d){return new _0x3219d6(_0x497c8d);},_0x3219d6['encode']=function(_0x36780c,_0x5051be){return _0x5051be||(_0x5051be=_0x29a45b['create']()),null!=_0x36780c['root']&&Object['hasOwnProperty']['call'](_0x36780c,'root')&&_0x5051be['uint32'](0xa)['string'](_0x36780c['root']),null!=_0x36780c['key']&&Object['hasOwnProperty']['call'](_0x36780c,'key')&&_0x5051be['uint32'](0x12)['string'](_0x36780c['key']),null!=_0x36780c['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x36780c,'oldValueBoolean')&&_0x5051be['uint32'](0x18)['bool'](_0x36780c['oldValueBoolean']),null!=_0x36780c['oldValueJson']&&Object['hasOwnProperty']['call'](_0x36780c,'oldValueJson')&&_0x5051be['uint32'](0x22)['string'](_0x36780c['oldValueJson']),null!=_0x36780c['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x36780c,'newValueBoolean')&&_0x5051be['uint32'](0x28)['bool'](_0x36780c['newValueBoolean']),null!=_0x36780c['newValueJson']&&Object['hasOwnProperty']['call'](_0x36780c,'newValueJson')&&_0x5051be['uint32'](0x32)['string'](_0x36780c['newValueJson']),null!=_0x36780c['wasUndone']&&Object['hasOwnProperty']['call'](_0x36780c,'wasUndone')&&_0x5051be['uint32'](0x38)['bool'](_0x36780c['wasUndone']),null!=_0x36780c['_aiSource']&&Object['hasOwnProperty']['call'](_0x36780c,'_aiSource')&&_0x5051be['uint32'](0x42)['string'](_0x36780c['_aiSource']),_0x5051be;},_0x3219d6['encodeDelimited']=function(_0x5c8d87,_0x2aef5b){return this['encode'](_0x5c8d87,_0x2aef5b)['ldelim']();},_0x3219d6['decode']=function(_0xbc4fce,_0x4b0e10,_0x3d419d,_0x4d2748){if(_0xbc4fce instanceof _0x362dc0||(_0xbc4fce=_0x362dc0['create'](_0xbc4fce)),void 0x0===_0x4d2748&&(_0x4d2748=0x0),_0x4d2748>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1768cc=void 0x0===_0x4b0e10?_0xbc4fce['len']:_0xbc4fce['pos']+_0x4b0e10,_0x5e0c51=new _0x634d5f['RootAttributeOperation']();_0xbc4fce['pos']<_0x1768cc;){var _0x42779d=_0xbc4fce['uint32']();if(_0x42779d===_0x3d419d)break;switch(_0x42779d>>>0x3){case 0x1:_0x5e0c51['root']=_0xbc4fce['string']();break;case 0x2:_0x5e0c51['key']=_0xbc4fce['string']();break;case 0x3:_0x5e0c51['oldValueBoolean']=_0xbc4fce['bool']();break;case 0x4:_0x5e0c51['oldValueJson']=_0xbc4fce['string']();break;case 0x5:_0x5e0c51['newValueBoolean']=_0xbc4fce['bool']();break;case 0x6:_0x5e0c51['newValueJson']=_0xbc4fce['string']();break;case 0x7:_0x5e0c51['wasUndone']=_0xbc4fce['bool']();break;case 0x8:_0x5e0c51['_aiSource']=_0xbc4fce['string']();break;default:_0xbc4fce['skipType'](0x7&_0x42779d,_0x4d2748);}}return _0x5e0c51;},_0x3219d6['decodeDelimited']=function(_0x5cec8c){return _0x5cec8c instanceof _0x362dc0||(_0x5cec8c=new _0x362dc0(_0x5cec8c)),this['decode'](_0x5cec8c,_0x5cec8c['uint32']());},_0x3219d6['verify']=function(_0x1bb9ab,_0x31e787){return'object'!=typeof _0x1bb9ab||null===_0x1bb9ab?'object\x20expected':(void 0x0===_0x31e787&&(_0x31e787=0x0),_0x31e787>_0xcd0f45['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1bb9ab['root']&&_0x1bb9ab['hasOwnProperty']('root')&&!_0xcd0f45['isString'](_0x1bb9ab['root'])?'root:\x20string\x20expected':null!=_0x1bb9ab['key']&&_0x1bb9ab['hasOwnProperty']('key')&&!_0xcd0f45['isString'](_0x1bb9ab['key'])?'key:\x20string\x20expected':null!=_0x1bb9ab['oldValueBoolean']&&_0x1bb9ab['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x1bb9ab['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x1bb9ab['oldValueJson']&&_0x1bb9ab['hasOwnProperty']('oldValueJson')&&!_0xcd0f45['isString'](_0x1bb9ab['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x1bb9ab['newValueBoolean']&&_0x1bb9ab['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x1bb9ab['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x1bb9ab['newValueJson']&&_0x1bb9ab['hasOwnProperty']('newValueJson')&&!_0xcd0f45['isString'](_0x1bb9ab['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x1bb9ab['wasUndone']&&_0x1bb9ab['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1bb9ab['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x1bb9ab['_aiSource']&&_0x1bb9ab['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0x1bb9ab['_aiSource'])?'_aiSource:\x20string\x20expected':null);},_0x3219d6['fromObject']=function(_0x3caac9,_0x1cfc88){if(_0x3caac9 instanceof _0x634d5f['RootAttributeOperation'])return _0x3caac9;if(void 0x0===_0x1cfc88&&(_0x1cfc88=0x0),_0x1cfc88>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x35a70c=new _0x634d5f['RootAttributeOperation']();return null!=_0x3caac9['root']&&(_0x35a70c['root']=String(_0x3caac9['root'])),null!=_0x3caac9['key']&&(_0x35a70c['key']=String(_0x3caac9['key'])),null!=_0x3caac9['oldValueBoolean']&&(_0x35a70c['oldValueBoolean']=Boolean(_0x3caac9['oldValueBoolean'])),null!=_0x3caac9['oldValueJson']&&(_0x35a70c['oldValueJson']=String(_0x3caac9['oldValueJson'])),null!=_0x3caac9['newValueBoolean']&&(_0x35a70c['newValueBoolean']=Boolean(_0x3caac9['newValueBoolean'])),null!=_0x3caac9['newValueJson']&&(_0x35a70c['newValueJson']=String(_0x3caac9['newValueJson'])),null!=_0x3caac9['wasUndone']&&(_0x35a70c['wasUndone']=Boolean(_0x3caac9['wasUndone'])),null!=_0x3caac9['_aiSource']&&(_0x35a70c['_aiSource']=String(_0x3caac9['_aiSource'])),_0x35a70c;},_0x3219d6['toObject']=function(_0x415533,_0x4487fe){_0x4487fe||(_0x4487fe={});var _0x1f31d7={};return _0x4487fe['defaults']&&(_0x1f31d7['root']='',_0x1f31d7['key']='',_0x1f31d7['oldValueBoolean']=!0x1,_0x1f31d7['oldValueJson']='',_0x1f31d7['newValueBoolean']=!0x1,_0x1f31d7['newValueJson']='',_0x1f31d7['wasUndone']=!0x1,_0x1f31d7['_aiSource']=''),null!=_0x415533['root']&&_0x415533['hasOwnProperty']('root')&&(_0x1f31d7['root']=_0x415533['root']),null!=_0x415533['key']&&_0x415533['hasOwnProperty']('key')&&(_0x1f31d7['key']=_0x415533['key']),null!=_0x415533['oldValueBoolean']&&_0x415533['hasOwnProperty']('oldValueBoolean')&&(_0x1f31d7['oldValueBoolean']=_0x415533['oldValueBoolean']),null!=_0x415533['oldValueJson']&&_0x415533['hasOwnProperty']('oldValueJson')&&(_0x1f31d7['oldValueJson']=_0x415533['oldValueJson']),null!=_0x415533['newValueBoolean']&&_0x415533['hasOwnProperty']('newValueBoolean')&&(_0x1f31d7['newValueBoolean']=_0x415533['newValueBoolean']),null!=_0x415533['newValueJson']&&_0x415533['hasOwnProperty']('newValueJson')&&(_0x1f31d7['newValueJson']=_0x415533['newValueJson']),null!=_0x415533['wasUndone']&&_0x415533['hasOwnProperty']('wasUndone')&&(_0x1f31d7['wasUndone']=_0x415533['wasUndone']),null!=_0x415533['_aiSource']&&_0x415533['hasOwnProperty']('_aiSource')&&(_0x1f31d7['_aiSource']=_0x415533['_aiSource']),_0x1f31d7;},_0x3219d6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x3219d6['getTypeUrl']=function(_0x3ca4ac){return void 0x0===_0x3ca4ac&&(_0x3ca4ac='type.googleapis.com'),_0x3ca4ac+'/RootAttributeOperation';},_0x3219d6;}()),_0x634d5f['RootOperation']=(function(){function _0x145563(_0x4a9b64){if(_0x4a9b64){for(var _0x1c092f=Object['keys'](_0x4a9b64),_0x3efca9=0x0;_0x3efca9<_0x1c092f['length'];++_0x3efca9)null!=_0x4a9b64[_0x1c092f[_0x3efca9]]&&'__proto__'!==_0x1c092f[_0x3efca9]&&(this[_0x1c092f[_0x3efca9]]=_0x4a9b64[_0x1c092f[_0x3efca9]]);}}return _0x145563['prototype']['rootName']='',_0x145563['prototype']['elementName']='',_0x145563['prototype']['isAdd']=!0x1,_0x145563['prototype']['wasUndone']=!0x1,_0x145563['prototype']['_aiSource']='',_0x145563['create']=function(_0x376a37){return new _0x145563(_0x376a37);},_0x145563['encode']=function(_0x2dc8da,_0x37f4f9){return _0x37f4f9||(_0x37f4f9=_0x29a45b['create']()),null!=_0x2dc8da['rootName']&&Object['hasOwnProperty']['call'](_0x2dc8da,'rootName')&&_0x37f4f9['uint32'](0xa)['string'](_0x2dc8da['rootName']),null!=_0x2dc8da['elementName']&&Object['hasOwnProperty']['call'](_0x2dc8da,'elementName')&&_0x37f4f9['uint32'](0x12)['string'](_0x2dc8da['elementName']),null!=_0x2dc8da['isAdd']&&Object['hasOwnProperty']['call'](_0x2dc8da,'isAdd')&&_0x37f4f9['uint32'](0x18)['bool'](_0x2dc8da['isAdd']),null!=_0x2dc8da['wasUndone']&&Object['hasOwnProperty']['call'](_0x2dc8da,'wasUndone')&&_0x37f4f9['uint32'](0x20)['bool'](_0x2dc8da['wasUndone']),null!=_0x2dc8da['_aiSource']&&Object['hasOwnProperty']['call'](_0x2dc8da,'_aiSource')&&_0x37f4f9['uint32'](0x2a)['string'](_0x2dc8da['_aiSource']),_0x37f4f9;},_0x145563['encodeDelimited']=function(_0x4693db,_0x160e8f){return this['encode'](_0x4693db,_0x160e8f)['ldelim']();},_0x145563['decode']=function(_0x1490e8,_0x4c7bae,_0x5b8100,_0x1a6c75){if(_0x1490e8 instanceof _0x362dc0||(_0x1490e8=_0x362dc0['create'](_0x1490e8)),void 0x0===_0x1a6c75&&(_0x1a6c75=0x0),_0x1a6c75>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1be521=void 0x0===_0x4c7bae?_0x1490e8['len']:_0x1490e8['pos']+_0x4c7bae,_0xa907ff=new _0x634d5f['RootOperation']();_0x1490e8['pos']<_0x1be521;){var _0xbaea61=_0x1490e8['uint32']();if(_0xbaea61===_0x5b8100)break;switch(_0xbaea61>>>0x3){case 0x1:_0xa907ff['rootName']=_0x1490e8['string']();break;case 0x2:_0xa907ff['elementName']=_0x1490e8['string']();break;case 0x3:_0xa907ff['isAdd']=_0x1490e8['bool']();break;case 0x4:_0xa907ff['wasUndone']=_0x1490e8['bool']();break;case 0x5:_0xa907ff['_aiSource']=_0x1490e8['string']();break;default:_0x1490e8['skipType'](0x7&_0xbaea61,_0x1a6c75);}}return _0xa907ff;},_0x145563['decodeDelimited']=function(_0x18281f){return _0x18281f instanceof _0x362dc0||(_0x18281f=new _0x362dc0(_0x18281f)),this['decode'](_0x18281f,_0x18281f['uint32']());},_0x145563['verify']=function(_0xfa3826,_0x1aa53a){return'object'!=typeof _0xfa3826||null===_0xfa3826?'object\x20expected':(void 0x0===_0x1aa53a&&(_0x1aa53a=0x0),_0x1aa53a>_0xcd0f45['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xfa3826['rootName']&&_0xfa3826['hasOwnProperty']('rootName')&&!_0xcd0f45['isString'](_0xfa3826['rootName'])?'rootName:\x20string\x20expected':null!=_0xfa3826['elementName']&&_0xfa3826['hasOwnProperty']('elementName')&&!_0xcd0f45['isString'](_0xfa3826['elementName'])?'elementName:\x20string\x20expected':null!=_0xfa3826['isAdd']&&_0xfa3826['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0xfa3826['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0xfa3826['wasUndone']&&_0xfa3826['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xfa3826['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0xfa3826['_aiSource']&&_0xfa3826['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0xfa3826['_aiSource'])?'_aiSource:\x20string\x20expected':null);},_0x145563['fromObject']=function(_0x468ca4,_0x95a179){if(_0x468ca4 instanceof _0x634d5f['RootOperation'])return _0x468ca4;if(void 0x0===_0x95a179&&(_0x95a179=0x0),_0x95a179>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x234b7c=new _0x634d5f['RootOperation']();return null!=_0x468ca4['rootName']&&(_0x234b7c['rootName']=String(_0x468ca4['rootName'])),null!=_0x468ca4['elementName']&&(_0x234b7c['elementName']=String(_0x468ca4['elementName'])),null!=_0x468ca4['isAdd']&&(_0x234b7c['isAdd']=Boolean(_0x468ca4['isAdd'])),null!=_0x468ca4['wasUndone']&&(_0x234b7c['wasUndone']=Boolean(_0x468ca4['wasUndone'])),null!=_0x468ca4['_aiSource']&&(_0x234b7c['_aiSource']=String(_0x468ca4['_aiSource'])),_0x234b7c;},_0x145563['toObject']=function(_0x21398e,_0xaec5d0){_0xaec5d0||(_0xaec5d0={});var _0x5ab232={};return _0xaec5d0['defaults']&&(_0x5ab232['rootName']='',_0x5ab232['elementName']='',_0x5ab232['isAdd']=!0x1,_0x5ab232['wasUndone']=!0x1,_0x5ab232['_aiSource']=''),null!=_0x21398e['rootName']&&_0x21398e['hasOwnProperty']('rootName')&&(_0x5ab232['rootName']=_0x21398e['rootName']),null!=_0x21398e['elementName']&&_0x21398e['hasOwnProperty']('elementName')&&(_0x5ab232['elementName']=_0x21398e['elementName']),null!=_0x21398e['isAdd']&&_0x21398e['hasOwnProperty']('isAdd')&&(_0x5ab232['isAdd']=_0x21398e['isAdd']),null!=_0x21398e['wasUndone']&&_0x21398e['hasOwnProperty']('wasUndone')&&(_0x5ab232['wasUndone']=_0x21398e['wasUndone']),null!=_0x21398e['_aiSource']&&_0x21398e['hasOwnProperty']('_aiSource')&&(_0x5ab232['_aiSource']=_0x21398e['_aiSource']),_0x5ab232;},_0x145563['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x145563['getTypeUrl']=function(_0xfd756f){return void 0x0===_0xfd756f&&(_0xfd756f='type.googleapis.com'),_0xfd756f+'/RootOperation';},_0x145563;}()),_0x634d5f['SplitOperation']=(function(){function _0x416cbf(_0x31b4e2){if(_0x31b4e2){for(var _0x18da93=Object['keys'](_0x31b4e2),_0x1d5c28=0x0;_0x1d5c28<_0x18da93['length'];++_0x1d5c28)null!=_0x31b4e2[_0x18da93[_0x1d5c28]]&&'__proto__'!==_0x18da93[_0x1d5c28]&&(this[_0x18da93[_0x1d5c28]]=_0x31b4e2[_0x18da93[_0x1d5c28]]);}}return _0x416cbf['prototype']['splitPosition']=null,_0x416cbf['prototype']['graveyardPosition']=null,_0x416cbf['prototype']['howMany']=0x0,_0x416cbf['prototype']['insertionPosition']=null,_0x416cbf['prototype']['wasUndone']=!0x1,_0x416cbf['prototype']['_aiSource']='',_0x416cbf['create']=function(_0x3e431d){return new _0x416cbf(_0x3e431d);},_0x416cbf['encode']=function(_0x33d460,_0x391071){return _0x391071||(_0x391071=_0x29a45b['create']()),null!=_0x33d460['splitPosition']&&Object['hasOwnProperty']['call'](_0x33d460,'splitPosition')&&_0x634d5f['Position']['encode'](_0x33d460['splitPosition'],_0x391071['uint32'](0xa)['fork']())['ldelim'](),null!=_0x33d460['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x33d460,'graveyardPosition')&&_0x634d5f['Position']['encode'](_0x33d460['graveyardPosition'],_0x391071['uint32'](0x12)['fork']())['ldelim'](),null!=_0x33d460['howMany']&&Object['hasOwnProperty']['call'](_0x33d460,'howMany')&&_0x391071['uint32'](0x18)['uint32'](_0x33d460['howMany']),null!=_0x33d460['insertionPosition']&&Object['hasOwnProperty']['call'](_0x33d460,'insertionPosition')&&_0x634d5f['Position']['encode'](_0x33d460['insertionPosition'],_0x391071['uint32'](0x22)['fork']())['ldelim'](),null!=_0x33d460['wasUndone']&&Object['hasOwnProperty']['call'](_0x33d460,'wasUndone')&&_0x391071['uint32'](0x28)['bool'](_0x33d460['wasUndone']),null!=_0x33d460['_aiSource']&&Object['hasOwnProperty']['call'](_0x33d460,'_aiSource')&&_0x391071['uint32'](0x32)['string'](_0x33d460['_aiSource']),_0x391071;},_0x416cbf['encodeDelimited']=function(_0x3ecc7c,_0x5e6d29){return this['encode'](_0x3ecc7c,_0x5e6d29)['ldelim']();},_0x416cbf['decode']=function(_0x49d19d,_0x32c73f,_0x524743,_0x5d8ff9){if(_0x49d19d instanceof _0x362dc0||(_0x49d19d=_0x362dc0['create'](_0x49d19d)),void 0x0===_0x5d8ff9&&(_0x5d8ff9=0x0),_0x5d8ff9>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x143e3b=void 0x0===_0x32c73f?_0x49d19d['len']:_0x49d19d['pos']+_0x32c73f,_0xb42a27=new _0x634d5f['SplitOperation']();_0x49d19d['pos']<_0x143e3b;){var _0x4b9b19=_0x49d19d['uint32']();if(_0x4b9b19===_0x524743)break;switch(_0x4b9b19>>>0x3){case 0x1:_0xb42a27['splitPosition']=_0x634d5f['Position']['decode'](_0x49d19d,_0x49d19d['uint32'](),void 0x0,_0x5d8ff9+0x1);break;case 0x2:_0xb42a27['graveyardPosition']=_0x634d5f['Position']['decode'](_0x49d19d,_0x49d19d['uint32'](),void 0x0,_0x5d8ff9+0x1);break;case 0x3:_0xb42a27['howMany']=_0x49d19d['uint32']();break;case 0x4:_0xb42a27['insertionPosition']=_0x634d5f['Position']['decode'](_0x49d19d,_0x49d19d['uint32'](),void 0x0,_0x5d8ff9+0x1);break;case 0x5:_0xb42a27['wasUndone']=_0x49d19d['bool']();break;case 0x6:_0xb42a27['_aiSource']=_0x49d19d['string']();break;default:_0x49d19d['skipType'](0x7&_0x4b9b19,_0x5d8ff9);}}return _0xb42a27;},_0x416cbf['decodeDelimited']=function(_0x26a142){return _0x26a142 instanceof _0x362dc0||(_0x26a142=new _0x362dc0(_0x26a142)),this['decode'](_0x26a142,_0x26a142['uint32']());},_0x416cbf['verify']=function(_0x53f747,_0x2749f6){if('object'!=typeof _0x53f747||null===_0x53f747)return'object\x20expected';if(void 0x0===_0x2749f6&&(_0x2749f6=0x0),_0x2749f6>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x103189;if(null!=_0x53f747['splitPosition']&&_0x53f747['hasOwnProperty']('splitPosition')&&(_0x103189=_0x634d5f['Position']['verify'](_0x53f747['splitPosition'],_0x2749f6+0x1)))return'splitPosition.'+_0x103189;if(null!=_0x53f747['graveyardPosition']&&_0x53f747['hasOwnProperty']('graveyardPosition')&&(_0x103189=_0x634d5f['Position']['verify'](_0x53f747['graveyardPosition'],_0x2749f6+0x1)))return'graveyardPosition.'+_0x103189;if(null!=_0x53f747['howMany']&&_0x53f747['hasOwnProperty']('howMany')&&!_0xcd0f45['isInteger'](_0x53f747['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x53f747['insertionPosition']&&_0x53f747['hasOwnProperty']('insertionPosition')&&(_0x103189=_0x634d5f['Position']['verify'](_0x53f747['insertionPosition'],_0x2749f6+0x1)))return'insertionPosition.'+_0x103189;return null!=_0x53f747['wasUndone']&&_0x53f747['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x53f747['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x53f747['_aiSource']&&_0x53f747['hasOwnProperty']('_aiSource')&&!_0xcd0f45['isString'](_0x53f747['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x416cbf['fromObject']=function(_0x410a42,_0x15daad){if(_0x410a42 instanceof _0x634d5f['SplitOperation'])return _0x410a42;if(void 0x0===_0x15daad&&(_0x15daad=0x0),_0x15daad>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4f5176=new _0x634d5f['SplitOperation']();if(null!=_0x410a42['splitPosition']){if('object'!=typeof _0x410a42['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x4f5176['splitPosition']=_0x634d5f['Position']['fromObject'](_0x410a42['splitPosition'],_0x15daad+0x1);}if(null!=_0x410a42['graveyardPosition']){if('object'!=typeof _0x410a42['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x4f5176['graveyardPosition']=_0x634d5f['Position']['fromObject'](_0x410a42['graveyardPosition'],_0x15daad+0x1);}if(null!=_0x410a42['howMany']&&(_0x4f5176['howMany']=_0x410a42['howMany']>>>0x0),null!=_0x410a42['insertionPosition']){if('object'!=typeof _0x410a42['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x4f5176['insertionPosition']=_0x634d5f['Position']['fromObject'](_0x410a42['insertionPosition'],_0x15daad+0x1);}return null!=_0x410a42['wasUndone']&&(_0x4f5176['wasUndone']=Boolean(_0x410a42['wasUndone'])),null!=_0x410a42['_aiSource']&&(_0x4f5176['_aiSource']=String(_0x410a42['_aiSource'])),_0x4f5176;},_0x416cbf['toObject']=function(_0x447546,_0x20b86d){_0x20b86d||(_0x20b86d={});var _0x46c399={};return _0x20b86d['defaults']&&(_0x46c399['splitPosition']=null,_0x46c399['graveyardPosition']=null,_0x46c399['howMany']=0x0,_0x46c399['insertionPosition']=null,_0x46c399['wasUndone']=!0x1,_0x46c399['_aiSource']=''),null!=_0x447546['splitPosition']&&_0x447546['hasOwnProperty']('splitPosition')&&(_0x46c399['splitPosition']=_0x634d5f['Position']['toObject'](_0x447546['splitPosition'],_0x20b86d)),null!=_0x447546['graveyardPosition']&&_0x447546['hasOwnProperty']('graveyardPosition')&&(_0x46c399['graveyardPosition']=_0x634d5f['Position']['toObject'](_0x447546['graveyardPosition'],_0x20b86d)),null!=_0x447546['howMany']&&_0x447546['hasOwnProperty']('howMany')&&(_0x46c399['howMany']=_0x447546['howMany']),null!=_0x447546['insertionPosition']&&_0x447546['hasOwnProperty']('insertionPosition')&&(_0x46c399['insertionPosition']=_0x634d5f['Position']['toObject'](_0x447546['insertionPosition'],_0x20b86d)),null!=_0x447546['wasUndone']&&_0x447546['hasOwnProperty']('wasUndone')&&(_0x46c399['wasUndone']=_0x447546['wasUndone']),null!=_0x447546['_aiSource']&&_0x447546['hasOwnProperty']('_aiSource')&&(_0x46c399['_aiSource']=_0x447546['_aiSource']),_0x46c399;},_0x416cbf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x416cbf['getTypeUrl']=function(_0x35c3ca){return void 0x0===_0x35c3ca&&(_0x35c3ca='type.googleapis.com'),_0x35c3ca+'/SplitOperation';},_0x416cbf;}()),_0x634d5f['Position']=(function(){function _0x52b39a(_0x2b6ada){if(this['path']=[],_0x2b6ada){for(var _0x42bbb9=Object['keys'](_0x2b6ada),_0x23720a=0x0;_0x23720a<_0x42bbb9['length'];++_0x23720a)null!=_0x2b6ada[_0x42bbb9[_0x23720a]]&&'__proto__'!==_0x42bbb9[_0x23720a]&&(this[_0x42bbb9[_0x23720a]]=_0x2b6ada[_0x42bbb9[_0x23720a]]);}}return _0x52b39a['prototype']['root']='',_0x52b39a['prototype']['rootMain']=!0x1,_0x52b39a['prototype']['rootGraveyard']=!0x1,_0x52b39a['prototype']['path']=_0xcd0f45['emptyArray'],_0x52b39a['prototype']['stickiness']='',_0x52b39a['create']=function(_0x1db297){return new _0x52b39a(_0x1db297);},_0x52b39a['encode']=function(_0x174961,_0x470cb3){if(_0x470cb3||(_0x470cb3=_0x29a45b['create']()),null!=_0x174961['root']&&Object['hasOwnProperty']['call'](_0x174961,'root')&&_0x470cb3['uint32'](0xa)['string'](_0x174961['root']),null!=_0x174961['rootMain']&&Object['hasOwnProperty']['call'](_0x174961,'rootMain')&&_0x470cb3['uint32'](0x10)['bool'](_0x174961['rootMain']),null!=_0x174961['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x174961,'rootGraveyard')&&_0x470cb3['uint32'](0x18)['bool'](_0x174961['rootGraveyard']),null!=_0x174961['path']&&_0x174961['path']['length']){_0x470cb3['uint32'](0x22)['fork']();for(var _0x57364a=0x0;_0x57364a<_0x174961['path']['length'];++_0x57364a)_0x470cb3['uint32'](_0x174961['path'][_0x57364a]);_0x470cb3['ldelim']();}return null!=_0x174961['stickiness']&&Object['hasOwnProperty']['call'](_0x174961,'stickiness')&&_0x470cb3['uint32'](0x2a)['string'](_0x174961['stickiness']),_0x470cb3;},_0x52b39a['encodeDelimited']=function(_0x13e461,_0x2430d4){return this['encode'](_0x13e461,_0x2430d4)['ldelim']();},_0x52b39a['decode']=function(_0xd124b9,_0x50f998,_0x4d4c36,_0x443c33){if(_0xd124b9 instanceof _0x362dc0||(_0xd124b9=_0x362dc0['create'](_0xd124b9)),void 0x0===_0x443c33&&(_0x443c33=0x0),_0x443c33>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c98e3=void 0x0===_0x50f998?_0xd124b9['len']:_0xd124b9['pos']+_0x50f998,_0x32d6f3=new _0x634d5f['Position']();_0xd124b9['pos']<_0x1c98e3;){var _0x211e34=_0xd124b9['uint32']();if(_0x211e34===_0x4d4c36)break;switch(_0x211e34>>>0x3){case 0x1:_0x32d6f3['root']=_0xd124b9['string']();break;case 0x2:_0x32d6f3['rootMain']=_0xd124b9['bool']();break;case 0x3:_0x32d6f3['rootGraveyard']=_0xd124b9['bool']();break;case 0x4:if(_0x32d6f3['path']&&_0x32d6f3['path']['length']||(_0x32d6f3['path']=[]),0x2==(0x7&_0x211e34)){for(var _0xa06a3c=_0xd124b9['uint32']()+_0xd124b9['pos'];_0xd124b9['pos']<_0xa06a3c;)_0x32d6f3['path']['push'](_0xd124b9['uint32']());}else _0x32d6f3['path']['push'](_0xd124b9['uint32']());break;case 0x5:_0x32d6f3['stickiness']=_0xd124b9['string']();break;default:_0xd124b9['skipType'](0x7&_0x211e34,_0x443c33);}}return _0x32d6f3;},_0x52b39a['decodeDelimited']=function(_0x1e4453){return _0x1e4453 instanceof _0x362dc0||(_0x1e4453=new _0x362dc0(_0x1e4453)),this['decode'](_0x1e4453,_0x1e4453['uint32']());},_0x52b39a['verify']=function(_0x114152,_0x20384b){if('object'!=typeof _0x114152||null===_0x114152)return'object\x20expected';if(void 0x0===_0x20384b&&(_0x20384b=0x0),_0x20384b>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x114152['root']&&_0x114152['hasOwnProperty']('root')&&!_0xcd0f45['isString'](_0x114152['root']))return'root:\x20string\x20expected';if(null!=_0x114152['rootMain']&&_0x114152['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x114152['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x114152['rootGraveyard']&&_0x114152['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x114152['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x114152['path']&&_0x114152['hasOwnProperty']('path')){if(!Array['isArray'](_0x114152['path']))return'path:\x20array\x20expected';for(var _0x56dde6=0x0;_0x56dde6<_0x114152['path']['length'];++_0x56dde6)if(!_0xcd0f45['isInteger'](_0x114152['path'][_0x56dde6]))return'path:\x20integer[]\x20expected';}return null!=_0x114152['stickiness']&&_0x114152['hasOwnProperty']('stickiness')&&!_0xcd0f45['isString'](_0x114152['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x52b39a['fromObject']=function(_0x32b9ef,_0x399dac){if(_0x32b9ef instanceof _0x634d5f['Position'])return _0x32b9ef;if(void 0x0===_0x399dac&&(_0x399dac=0x0),_0x399dac>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d42dd=new _0x634d5f['Position']();if(null!=_0x32b9ef['root']&&(_0x2d42dd['root']=String(_0x32b9ef['root'])),null!=_0x32b9ef['rootMain']&&(_0x2d42dd['rootMain']=Boolean(_0x32b9ef['rootMain'])),null!=_0x32b9ef['rootGraveyard']&&(_0x2d42dd['rootGraveyard']=Boolean(_0x32b9ef['rootGraveyard'])),_0x32b9ef['path']){if(!Array['isArray'](_0x32b9ef['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x2d42dd['path']=[];for(var _0x3b5346=0x0;_0x3b5346<_0x32b9ef['path']['length'];++_0x3b5346)_0x2d42dd['path'][_0x3b5346]=_0x32b9ef['path'][_0x3b5346]>>>0x0;}return null!=_0x32b9ef['stickiness']&&(_0x2d42dd['stickiness']=String(_0x32b9ef['stickiness'])),_0x2d42dd;},_0x52b39a['toObject']=function(_0xe21ad6,_0x5a9ee3){_0x5a9ee3||(_0x5a9ee3={});var _0xbeb557={};if((_0x5a9ee3['arrays']||_0x5a9ee3['defaults'])&&(_0xbeb557['path']=[]),_0x5a9ee3['defaults']&&(_0xbeb557['root']='',_0xbeb557['rootMain']=!0x1,_0xbeb557['rootGraveyard']=!0x1,_0xbeb557['stickiness']=''),null!=_0xe21ad6['root']&&_0xe21ad6['hasOwnProperty']('root')&&(_0xbeb557['root']=_0xe21ad6['root']),null!=_0xe21ad6['rootMain']&&_0xe21ad6['hasOwnProperty']('rootMain')&&(_0xbeb557['rootMain']=_0xe21ad6['rootMain']),null!=_0xe21ad6['rootGraveyard']&&_0xe21ad6['hasOwnProperty']('rootGraveyard')&&(_0xbeb557['rootGraveyard']=_0xe21ad6['rootGraveyard']),_0xe21ad6['path']&&_0xe21ad6['path']['length']){_0xbeb557['path']=[];for(var _0x1331f2=0x0;_0x1331f2<_0xe21ad6['path']['length'];++_0x1331f2)_0xbeb557['path'][_0x1331f2]=_0xe21ad6['path'][_0x1331f2];}return null!=_0xe21ad6['stickiness']&&_0xe21ad6['hasOwnProperty']('stickiness')&&(_0xbeb557['stickiness']=_0xe21ad6['stickiness']),_0xbeb557;},_0x52b39a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x52b39a['getTypeUrl']=function(_0x28ad8c){return void 0x0===_0x28ad8c&&(_0x28ad8c='type.googleapis.com'),_0x28ad8c+'/Position';},_0x52b39a;}()),_0x634d5f['Range']=(function(){function _0xd45fe1(_0x4b07c7){if(_0x4b07c7){for(var _0x274626=Object['keys'](_0x4b07c7),_0x49604a=0x0;_0x49604a<_0x274626['length'];++_0x49604a)null!=_0x4b07c7[_0x274626[_0x49604a]]&&'__proto__'!==_0x274626[_0x49604a]&&(this[_0x274626[_0x49604a]]=_0x4b07c7[_0x274626[_0x49604a]]);}}return _0xd45fe1['prototype']['start']=null,_0xd45fe1['prototype']['end']=null,_0xd45fe1['create']=function(_0x3950fc){return new _0xd45fe1(_0x3950fc);},_0xd45fe1['encode']=function(_0x8449ec,_0x49fb3b){return _0x49fb3b||(_0x49fb3b=_0x29a45b['create']()),null!=_0x8449ec['start']&&Object['hasOwnProperty']['call'](_0x8449ec,'start')&&_0x634d5f['Position']['encode'](_0x8449ec['start'],_0x49fb3b['uint32'](0xa)['fork']())['ldelim'](),null!=_0x8449ec['end']&&Object['hasOwnProperty']['call'](_0x8449ec,'end')&&_0x634d5f['Position']['encode'](_0x8449ec['end'],_0x49fb3b['uint32'](0x12)['fork']())['ldelim'](),_0x49fb3b;},_0xd45fe1['encodeDelimited']=function(_0x4e463f,_0x2fa85c){return this['encode'](_0x4e463f,_0x2fa85c)['ldelim']();},_0xd45fe1['decode']=function(_0x36bfb5,_0x2c0834,_0x25ed2d,_0x2477cb){if(_0x36bfb5 instanceof _0x362dc0||(_0x36bfb5=_0x362dc0['create'](_0x36bfb5)),void 0x0===_0x2477cb&&(_0x2477cb=0x0),_0x2477cb>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x31882b=void 0x0===_0x2c0834?_0x36bfb5['len']:_0x36bfb5['pos']+_0x2c0834,_0x108c7b=new _0x634d5f['Range']();_0x36bfb5['pos']<_0x31882b;){var _0x41900e=_0x36bfb5['uint32']();if(_0x41900e===_0x25ed2d)break;switch(_0x41900e>>>0x3){case 0x1:_0x108c7b['start']=_0x634d5f['Position']['decode'](_0x36bfb5,_0x36bfb5['uint32'](),void 0x0,_0x2477cb+0x1);break;case 0x2:_0x108c7b['end']=_0x634d5f['Position']['decode'](_0x36bfb5,_0x36bfb5['uint32'](),void 0x0,_0x2477cb+0x1);break;default:_0x36bfb5['skipType'](0x7&_0x41900e,_0x2477cb);}}return _0x108c7b;},_0xd45fe1['decodeDelimited']=function(_0x4d7e7c){return _0x4d7e7c instanceof _0x362dc0||(_0x4d7e7c=new _0x362dc0(_0x4d7e7c)),this['decode'](_0x4d7e7c,_0x4d7e7c['uint32']());},_0xd45fe1['verify']=function(_0x55d52c,_0x51074f){if('object'!=typeof _0x55d52c||null===_0x55d52c)return'object\x20expected';if(void 0x0===_0x51074f&&(_0x51074f=0x0),_0x51074f>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x2badd5;if(null!=_0x55d52c['start']&&_0x55d52c['hasOwnProperty']('start')&&(_0x2badd5=_0x634d5f['Position']['verify'](_0x55d52c['start'],_0x51074f+0x1)))return'start.'+_0x2badd5;if(null!=_0x55d52c['end']&&_0x55d52c['hasOwnProperty']('end')&&(_0x2badd5=_0x634d5f['Position']['verify'](_0x55d52c['end'],_0x51074f+0x1)))return'end.'+_0x2badd5;return null;},_0xd45fe1['fromObject']=function(_0x1c6965,_0x602571){if(_0x1c6965 instanceof _0x634d5f['Range'])return _0x1c6965;if(void 0x0===_0x602571&&(_0x602571=0x0),_0x602571>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e1c5f=new _0x634d5f['Range']();if(null!=_0x1c6965['start']){if('object'!=typeof _0x1c6965['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x5e1c5f['start']=_0x634d5f['Position']['fromObject'](_0x1c6965['start'],_0x602571+0x1);}if(null!=_0x1c6965['end']){if('object'!=typeof _0x1c6965['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x5e1c5f['end']=_0x634d5f['Position']['fromObject'](_0x1c6965['end'],_0x602571+0x1);}return _0x5e1c5f;},_0xd45fe1['toObject']=function(_0x35146d,_0x5c96ee){_0x5c96ee||(_0x5c96ee={});var _0x1ac0d0={};return _0x5c96ee['defaults']&&(_0x1ac0d0['start']=null,_0x1ac0d0['end']=null),null!=_0x35146d['start']&&_0x35146d['hasOwnProperty']('start')&&(_0x1ac0d0['start']=_0x634d5f['Position']['toObject'](_0x35146d['start'],_0x5c96ee)),null!=_0x35146d['end']&&_0x35146d['hasOwnProperty']('end')&&(_0x1ac0d0['end']=_0x634d5f['Position']['toObject'](_0x35146d['end'],_0x5c96ee)),_0x1ac0d0;},_0xd45fe1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0xd45fe1['getTypeUrl']=function(_0x32f0f2){return void 0x0===_0x32f0f2&&(_0x32f0f2='type.googleapis.com'),_0x32f0f2+'/Range';},_0xd45fe1;}()),_0x634d5f['Element']=(function(){function _0x954dbd(_0x3a489b){if(this['children']=[],this['attributesBoolean']={},_0x3a489b){for(var _0x56d473=Object['keys'](_0x3a489b),_0x2b6a73=0x0;_0x2b6a73<_0x56d473['length'];++_0x2b6a73)null!=_0x3a489b[_0x56d473[_0x2b6a73]]&&'__proto__'!==_0x56d473[_0x2b6a73]&&(this[_0x56d473[_0x2b6a73]]=_0x3a489b[_0x56d473[_0x2b6a73]]);}}return _0x954dbd['prototype']['name']='',_0x954dbd['prototype']['children']=_0xcd0f45['emptyArray'],_0x954dbd['prototype']['data']='',_0x954dbd['prototype']['attributesBoolean']=_0xcd0f45['emptyObject'],_0x954dbd['prototype']['attributesJson']='',_0x954dbd['create']=function(_0x23b628){return new _0x954dbd(_0x23b628);},_0x954dbd['encode']=function(_0x1a9682,_0x47fe4a){if(_0x47fe4a||(_0x47fe4a=_0x29a45b['create']()),null!=_0x1a9682['name']&&Object['hasOwnProperty']['call'](_0x1a9682,'name')&&_0x47fe4a['uint32'](0xa)['string'](_0x1a9682['name']),null!=_0x1a9682['children']&&_0x1a9682['children']['length']){for(var _0x5d7717=0x0;_0x5d7717<_0x1a9682['children']['length'];++_0x5d7717)_0x634d5f['Element']['encode'](_0x1a9682['children'][_0x5d7717],_0x47fe4a['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x1a9682['data']&&Object['hasOwnProperty']['call'](_0x1a9682,'data')&&_0x47fe4a['uint32'](0x1a)['string'](_0x1a9682['data']),null!=_0x1a9682['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x1a9682,'attributesBoolean')){var _0x552061=Object['keys'](_0x1a9682['attributesBoolean']);for(_0x5d7717=0x0;_0x5d7717<_0x552061['length'];++_0x5d7717)_0x47fe4a['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x552061[_0x5d7717])['uint32'](0x10)['bool'](_0x1a9682['attributesBoolean'][_0x552061[_0x5d7717]])['ldelim']();}return null!=_0x1a9682['attributesJson']&&Object['hasOwnProperty']['call'](_0x1a9682,'attributesJson')&&_0x47fe4a['uint32'](0x2a)['string'](_0x1a9682['attributesJson']),_0x47fe4a;},_0x954dbd['encodeDelimited']=function(_0x14a3aa,_0x2cd605){return this['encode'](_0x14a3aa,_0x2cd605)['ldelim']();},_0x954dbd['decode']=function(_0x397569,_0x4bd953,_0x5d2267,_0x2aebf2){if(_0x397569 instanceof _0x362dc0||(_0x397569=_0x362dc0['create'](_0x397569)),void 0x0===_0x2aebf2&&(_0x2aebf2=0x0),_0x2aebf2>_0x362dc0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8ca580,_0xa2c966,_0x3b2439=void 0x0===_0x4bd953?_0x397569['len']:_0x397569['pos']+_0x4bd953,_0x4a25c7=new _0x634d5f['Element']();_0x397569['pos']<_0x3b2439;){var _0x55d72d=_0x397569['uint32']();if(_0x55d72d===_0x5d2267)break;switch(_0x55d72d>>>0x3){case 0x1:_0x4a25c7['name']=_0x397569['string']();break;case 0x2:_0x4a25c7['children']&&_0x4a25c7['children']['length']||(_0x4a25c7['children']=[]),_0x4a25c7['children']['push'](_0x634d5f['Element']['decode'](_0x397569,_0x397569['uint32'](),void 0x0,_0x2aebf2+0x1));break;case 0x3:_0x4a25c7['data']=_0x397569['string']();break;case 0x4:_0x4a25c7['attributesBoolean']===_0xcd0f45['emptyObject']&&(_0x4a25c7['attributesBoolean']={});var _0x1a742d=_0x397569['uint32']()+_0x397569['pos'];for(_0x8ca580='',_0xa2c966=!0x1;_0x397569['pos']<_0x1a742d;){var _0x3ecdfd=_0x397569['uint32']();switch(_0x3ecdfd>>>0x3){case 0x1:_0x8ca580=_0x397569['string']();break;case 0x2:_0xa2c966=_0x397569['bool']();break;default:_0x397569['skipType'](0x7&_0x3ecdfd,_0x2aebf2);}}'__proto__'===_0x8ca580&&_0xcd0f45['makeProp'](_0x4a25c7['attributesBoolean'],_0x8ca580),_0x4a25c7['attributesBoolean'][_0x8ca580]=_0xa2c966;break;case 0x5:_0x4a25c7['attributesJson']=_0x397569['string']();break;default:_0x397569['skipType'](0x7&_0x55d72d,_0x2aebf2);}}return _0x4a25c7;},_0x954dbd['decodeDelimited']=function(_0x249ae9){return _0x249ae9 instanceof _0x362dc0||(_0x249ae9=new _0x362dc0(_0x249ae9)),this['decode'](_0x249ae9,_0x249ae9['uint32']());},_0x954dbd['verify']=function(_0x405b36,_0x4439c5){if('object'!=typeof _0x405b36||null===_0x405b36)return'object\x20expected';if(void 0x0===_0x4439c5&&(_0x4439c5=0x0),_0x4439c5>_0xcd0f45['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x405b36['name']&&_0x405b36['hasOwnProperty']('name')&&!_0xcd0f45['isString'](_0x405b36['name']))return'name:\x20string\x20expected';if(null!=_0x405b36['children']&&_0x405b36['hasOwnProperty']('children')){if(!Array['isArray'](_0x405b36['children']))return'children:\x20array\x20expected';for(var _0x116cd9=0x0;_0x116cd9<_0x405b36['children']['length'];++_0x116cd9){var _0x14a189=_0x634d5f['Element']['verify'](_0x405b36['children'][_0x116cd9],_0x4439c5+0x1);if(_0x14a189)return'children.'+_0x14a189;}}if(null!=_0x405b36['data']&&_0x405b36['hasOwnProperty']('data')&&!_0xcd0f45['isString'](_0x405b36['data']))return'data:\x20string\x20expected';if(null!=_0x405b36['attributesBoolean']&&_0x405b36['hasOwnProperty']('attributesBoolean')){if(!_0xcd0f45['isObject'](_0x405b36['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x5145e3=Object['keys'](_0x405b36['attributesBoolean']);for(_0x116cd9=0x0;_0x116cd9<_0x5145e3['length'];++_0x116cd9)if('boolean'!=typeof _0x405b36['attributesBoolean'][_0x5145e3[_0x116cd9]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x405b36['attributesJson']&&_0x405b36['hasOwnProperty']('attributesJson')&&!_0xcd0f45['isString'](_0x405b36['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x954dbd['fromObject']=function(_0x41958a,_0x36de53){if(_0x41958a instanceof _0x634d5f['Element'])return _0x41958a;if(void 0x0===_0x36de53&&(_0x36de53=0x0),_0x36de53>_0xcd0f45['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ef5a9=new _0x634d5f['Element']();if(null!=_0x41958a['name']&&(_0x2ef5a9['name']=String(_0x41958a['name'])),_0x41958a['children']){if(!Array['isArray'](_0x41958a['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x2ef5a9['children']=[];for(var _0x50b368=0x0;_0x50b368<_0x41958a['children']['length'];++_0x50b368){if('object'!=typeof _0x41958a['children'][_0x50b368])throw TypeError('.Element.children:\x20object\x20expected');_0x2ef5a9['children'][_0x50b368]=_0x634d5f['Element']['fromObject'](_0x41958a['children'][_0x50b368],_0x36de53+0x1);}}if(null!=_0x41958a['data']&&(_0x2ef5a9['data']=String(_0x41958a['data'])),_0x41958a['attributesBoolean']){if('object'!=typeof _0x41958a['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x2ef5a9['attributesBoolean']={};var _0x126302=Object['keys'](_0x41958a['attributesBoolean']);for(_0x50b368=0x0;_0x50b368<_0x126302['length'];++_0x50b368)'__proto__'===_0x126302[_0x50b368]&&_0xcd0f45['makeProp'](_0x2ef5a9['attributesBoolean'],_0x126302[_0x50b368]),_0x2ef5a9['attributesBoolean'][_0x126302[_0x50b368]]=Boolean(_0x41958a['attributesBoolean'][_0x126302[_0x50b368]]);}return null!=_0x41958a['attributesJson']&&(_0x2ef5a9['attributesJson']=String(_0x41958a['attributesJson'])),_0x2ef5a9;},_0x954dbd['toObject']=function(_0x2f7684,_0x210a80){_0x210a80||(_0x210a80={});var _0x2191e1,_0x260580={};if((_0x210a80['arrays']||_0x210a80['defaults'])&&(_0x260580['children']=[]),(_0x210a80['objects']||_0x210a80['defaults'])&&(_0x260580['attributesBoolean']={}),_0x210a80['defaults']&&(_0x260580['name']='',_0x260580['data']='',_0x260580['attributesJson']=''),null!=_0x2f7684['name']&&_0x2f7684['hasOwnProperty']('name')&&(_0x260580['name']=_0x2f7684['name']),_0x2f7684['children']&&_0x2f7684['children']['length']){_0x260580['children']=[];for(var _0x480065=0x0;_0x480065<_0x2f7684['children']['length'];++_0x480065)_0x260580['children'][_0x480065]=_0x634d5f['Element']['toObject'](_0x2f7684['children'][_0x480065],_0x210a80);}if(null!=_0x2f7684['data']&&_0x2f7684['hasOwnProperty']('data')&&(_0x260580['data']=_0x2f7684['data']),_0x2f7684['attributesBoolean']&&(_0x2191e1=Object['keys'](_0x2f7684['attributesBoolean']))['length']){_0x260580['attributesBoolean']={};for(_0x480065=0x0;_0x480065<_0x2191e1['length'];++_0x480065)'__proto__'===_0x2191e1[_0x480065]&&_0xcd0f45['makeProp'](_0x260580['attributesBoolean'],_0x2191e1[_0x480065]),_0x260580['attributesBoolean'][_0x2191e1[_0x480065]]=_0x2f7684['attributesBoolean'][_0x2191e1[_0x480065]];}return null!=_0x2f7684['attributesJson']&&_0x2f7684['hasOwnProperty']('attributesJson')&&(_0x260580['attributesJson']=_0x2f7684['attributesJson']),_0x260580;},_0x954dbd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2a7f4f['default']['util']['toJSONOptions']);},_0x954dbd['getTypeUrl']=function(_0x46051d){return void 0x0===_0x46051d&&(_0x46051d='type.googleapis.com'),_0x46051d+'/Element';},_0x954dbd;}()),_0x634d5f;})());var _0x326ebe=class{_protobufRoot;constructor(){this['_protobufRoot']=_0x35ce79;}getDescriptor(_0x1c8e28){return new _0x4a53c1(this['_protobufRoot'][_0x1c8e28]);}},_0x4a53c1=class{_protobuf;constructor(_0x368d0c){this['_protobuf']=_0x368d0c;}['compress'](_0x168195){const _0x568cb5=this['_protobuf']['verify'](_0x168195);if(_0x568cb5)throw Error(_0x568cb5);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x168195))['finish']();}['decompress'](_0x1a585f){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x1a585f),{'oneofs':!0x0});}};function _0x250cb4(_0x59cada,_0x1458b2){const _0x301de7=wt(_0x59cada);return _0x301de7['path'][_0x301de7['path']['length']-0x1]+=_0x1458b2,_0x301de7;}function _0x57cefb(_0x4b8b1c,_0x403eab){return _0x4b8b1c['root']===_0x403eab['root']&&ft(_0x4b8b1c['path'],_0x403eab['path']);}function _0x39b067(_0x1ff101){_0xf877c(_0x1ff101,_0x5b7936=>('main'==_0x5b7936['root']?(_0x5b7936['rootMain']=!0x0,delete _0x5b7936['root']):'$graveyard'==_0x5b7936['root']&&(_0x5b7936['rootGraveyard']=!0x0,delete _0x5b7936['root']),_0x5b7936));}function tA(_0x145875){_0xf877c(_0x145875,_0x136fe4=>(_0x136fe4['rootMain']?(_0x136fe4['root']='main',delete _0x136fe4['rootMain']):_0x136fe4['rootGraveyard']&&(_0x136fe4['root']='$graveyard',delete _0x136fe4['rootGraveyard']),_0x136fe4));}function _0xf877c(_0x28fc8a,_0x9ea529){for(const _0x5b84f1 in _0x28fc8a){const _0x3ef34e=_0x28fc8a[_0x5b84f1];'nodes'!==_0x5b84f1&&Vt(_0x3ef34e)&&(_0x3ef34e['path']&&(_0x3ef34e['root']||_0x3ef34e['rootMain']||_0x3ef34e['rootGraveyard'])?_0x28fc8a[_0x5b84f1]=_0x9ea529(_0x3ef34e):_0xf877c(_0x3ef34e,_0x9ea529));}return _0x28fc8a;}var _0x10b534=class{['_id'];_operationName;_protobufDescriptor;constructor(_0x1cbf0e,_0x1ad507,_0x3ab122){this['_id']=_0x1cbf0e,this['_operationName']=_0x1ad507,this['_protobufDescriptor']=_0x3ab122;}['compress'](_0x2d6f3a,_0x4e2c44){const _0x2e7606=_0x4e2c44['operations'][_0x4e2c44['index']++];return _0x39b067(_0x2e7606),_0x2d6f3a['buffers']['push'](this['_protobufDescriptor']['compress'](_0x2e7606)),_0x2d6f3a['types']['push'](this['_id']),!0x0;}['decompress'](_0x37de6c,_0x56c440){_0x56c440['typeIndex']++;const _0x11f467=_0x56c440['buffers'][_0x56c440['bufferIndex']++],_0x2a8192=this['_protobufDescriptor']['decompress'](_0x11f467);tA(_0x2a8192),_0x2a8192['__className']=this['_operationName'],_0x37de6c['push'](_0x2a8192);}},_0xffd1b=class extends _0x10b534{['compress'](_0x35337e,_0x251c91){const _0x2446a9=_0x251c91['operations'][_0x251c91['index']++];return this['_serializeOneOf']('oldValue',_0x2446a9),this['_serializeOneOf']('newValue',_0x2446a9),_0x39b067(_0x2446a9),_0x35337e['buffers']['push'](this['_protobufDescriptor']['compress'](_0x2446a9)),_0x35337e['types']['push'](this['_id']),!0x0;}['decompress'](_0x1297f4,_0x21c559){_0x21c559['typeIndex']++;const _0xff7044=_0x21c559['buffers'][_0x21c559['bufferIndex']++],_0x345d1b=this['_protobufDescriptor']['decompress'](_0xff7044);this['_deserializeOneOf']('oldValue',_0x345d1b),this['_deserializeOneOf']('newValue',_0x345d1b),tA(_0x345d1b),_0x345d1b['__className']=this['_operationName'],_0x1297f4['push'](_0x345d1b);}['_serializeOneOf'](_0x48fad0,_0x3284f1){const _0x4cfd5f=_0x3284f1[_0x48fad0];'boolean'==typeof _0x4cfd5f?_0x3284f1[_0x48fad0+'Boolean']=_0x4cfd5f:_0x3284f1[_0x48fad0+'Json']=JSON['stringify'](_0x4cfd5f);}['_deserializeOneOf'](_0x37b91d,_0x3d817){const _0x57ecee=_0x37b91d+'Json';_0x3d817[_0x57ecee]?(_0x3d817[_0x37b91d]=JSON['parse'](_0x3d817[_0x57ecee]),delete _0x3d817[_0x57ecee]):(_0x3d817[_0x37b91d]=_0x3d817[_0x37b91d+'Boolean'],delete _0x3d817[_0x37b91d+'Boolean']);}},_0x2909ad=class extends _0x10b534{['compress'](_0x589ed2,_0x252f26){const _0x499796=_0x252f26['operations'][_0x252f26['index']++];return this['_serializeNodesAttributes'](_0x499796['nodes']),_0x39b067(_0x499796),_0x589ed2['buffers']['push'](this['_protobufDescriptor']['compress'](_0x499796)),_0x589ed2['types']['push'](this['_id']),!0x0;}['decompress'](_0x3157be,_0x28afed){_0x28afed['typeIndex']++;const _0x3f0b65=_0x28afed['buffers'][_0x28afed['bufferIndex']++],_0x1e96a8=this['_protobufDescriptor']['decompress'](_0x3f0b65);_0x1e96a8['nodes']||(_0x1e96a8['nodes']=[]),this['_deserializeNodesAttributes'](_0x1e96a8['nodes']),tA(_0x1e96a8),_0x1e96a8['__className']=this['_operationName'],_0x3157be['push'](_0x1e96a8);}_serializeNodesAttributes(_0x253b3b){for(const _0x16eec8 of _0x253b3b){if(_0x16eec8['attributes']){const _0x55a0bf=_0x16eec8['attributes'];this['_areValuesBoolean'](_0x55a0bf)?_0x16eec8['attributesBoolean']=_0x55a0bf:_0x16eec8['attributesJson']=JSON['stringify'](_0x55a0bf);}_0x16eec8['children']&&this['_serializeNodesAttributes'](_0x16eec8['children']);}}_deserializeNodesAttributes(_0x40e27e){for(const _0x4f0cce of _0x40e27e)(_0x4f0cce['attributesBoolean']||_0x4f0cce['attributesJson'])&&(_0x4f0cce['attributesBoolean']?(_0x4f0cce['attributes']=_0x4f0cce['attributesBoolean'],delete _0x4f0cce['attributesBoolean']):(_0x4f0cce['attributes']=JSON['parse'](_0x4f0cce['attributesJson']),delete _0x4f0cce['attributesJson'])),_0x4f0cce['children']&&this['_deserializeNodesAttributes'](_0x4f0cce['children']);}['_areValuesBoolean'](_0x42cee9){return Object['keys'](_0x42cee9)['every'](_0x282105=>'boolean'==typeof _0x42cee9[_0x282105]);}},_0x1ba8d6=class extends _0x10b534{['decompress'](_0x31b89d,_0x5006ec){super['decompress'](_0x31b89d,_0x5006ec);const _0x15d98b=_0x31b89d[_0x31b89d['length']-0x1];_0x15d98b['oldRange']||(_0x15d98b['oldRange']=null),_0x15d98b['newRange']||(_0x15d98b['newRange']=null);}},_0x296326=class extends _0x10b534{['compress'](_0x47d5c6,_0x177cbe){return _0x177cbe['index']++,_0x47d5c6['types']['push'](this['_id']),!0x0;}['decompress'](_0x46a89e,_0x225701){_0x225701['typeIndex']++,_0x46a89e['push']({'__className':this['_operationName']});}},_0x147ab0=class extends _0x1ba8d6{_omittedNamespace;constructor(_0x2a6644,_0x433035,_0x1dd282,_0x58d8bd){super(_0x2a6644,_0x433035,_0x1dd282),this['_omittedNamespace']=_0x58d8bd+':';}['compress'](_0x5beb19,_0x283a89){const _0x3ce7d6=_0x283a89['operations'][_0x283a89['index']];return!('MarkerOperation'!=_0x3ce7d6['__className']||!_0x3ce7d6['name']['startsWith'](this['_omittedNamespace']))&&(_0x3ce7d6['name']=_0x3ce7d6['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x5beb19,_0x283a89),!0x0);}['decompress'](_0x345ea8,_0x48d391){super['decompress'](_0x345ea8,_0x48d391);const _0x95b65e=_0x345ea8[_0x345ea8['length']-0x1];_0x95b65e['name']=this['_omittedNamespace']+_0x95b65e['name'];}},_0xb57436=class{['_id'];_context;constructor(_0x56d9a7,_0x3e469d){this['_id']=_0x56d9a7,this['_context']=_0x3e469d;}['compress'](_0x2d02a1,_0x5f222d){let _0x39445d,_0x5b804c=_0x5f222d['operations'][_0x5f222d['index']],_0x5acccb=_0x5f222d['operations'][_0x5f222d['index']+0x1];for(;_0x5acccb&&this['_compareOperations'](_0x5b804c,_0x5acccb);)_0x39445d?(_0x39445d=this['_combineNext'](_0x5b804c,_0x39445d),_0x2d02a1['types']['push'](0x0)):(_0x39445d=wt(_0x5b804c),_0x2d02a1['types']['push'](this['_id'])),_0x5f222d['index']++,_0x5b804c=_0x5f222d['operations'][_0x5f222d['index']],_0x5acccb=_0x5f222d['operations'][_0x5f222d['index']+0x1];return!!_0x39445d&&(_0x39445d=this['_combineNext'](_0x5f222d['operations'][_0x5f222d['index']++],_0x39445d),_0x2d02a1['types']['push'](0x0),_0x2d02a1['buffers']['push'](this['_compressSingleOperation'](_0x39445d)),!0x0);}['decompress'](_0x504e74,_0x4365a8){const _0x1f3e8c=this['_decompressSingleOperation'](_0x4365a8);for(;0x0==_0x4365a8['types'][_0x4365a8['typeIndex']];)_0x4365a8['typeIndex']++,_0x504e74['push'](this['_splitCurrent'](_0x1f3e8c));_0x504e74['push'](_0x1f3e8c);}},_0x4af1d7=class extends _0xb57436{_combineNext(_0x5a85a4,_0x1fc64e){return _0x1fc64e['nodes'][0x0]['data']+=_0x5a85a4['nodes'][0x0]['data'],_0x1fc64e;}_splitCurrent(_0x3297b4){const _0x339fea=wt(_0x3297b4),_0x1566cb=_0x339fea['nodes'][0x0],_0x3d5520=_0x3297b4['nodes'][0x0],_0xa68fd=_0x3d5520['data'][Symbol['iterator']]()['next']()['value'],_0x1f51b5=_0xa68fd['length'];return _0x1566cb['data']=_0xa68fd,_0x3d5520['data']=_0x3d5520['data']['substr'](_0x1f51b5),_0x3297b4['position']=_0x250cb4(_0x3297b4['position'],_0x1f51b5),_0x339fea;}_compareOperations(_0x330eac,_0x1b28de){if(this['_checkOperation'](_0x330eac)&&this['_checkOperation'](_0x1b28de)){const _0x19628c=_0x330eac['nodes'][0x0]['data']['length'],_0x26c05e=_0x57cefb(_0x250cb4(_0x330eac['position'],_0x19628c),_0x1b28de['position']),_0x69d77b=_0x330eac['nodes'][0x0],_0x35930f=_0x1b28de['nodes'][0x0];return _0x26c05e&&this['_compareAttributes'](_0x69d77b,_0x35930f)&&_0x330eac['_aiSource']==_0x1b28de['_aiSource'];}return!0x1;}_compressSingleOperation(_0x239090){const _0x7a4427={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x7a4427,{'operations':[_0x239090],'index':0x0}),_0x7a4427['buffers'][0x0];}_decompressSingleOperation(_0x57a58d){const _0x26aa14=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x26aa14,_0x57a58d),_0x26aa14[0x0];}_checkOperation(_0x597286){return'InsertOperation'==_0x597286['__className']&&0x1==_0x597286['nodes']['length']&&_0x597286['nodes'][0x0]['data']&&!_0x597286['wasUndone']&&0x1==Array['from'](_0x597286['nodes'][0x0]['data'])['length'];}_compareAttributes(_0x36e650,_0x15d35e){const _0x50c6fd=Object['keys'](_0x36e650['attributes']||{}),_0x317b9f=Object['keys'](_0x15d35e['attributes']||{});return _0x50c6fd['length']===_0x317b9f['length']&&_0x50c6fd['every'](_0x54c784=>_0x15d35e['attributes'][_0x54c784]&&_0x15d35e['attributes'][_0x54c784]===_0x36e650['attributes'][_0x54c784]);}},_0x168214=class extends _0xb57436{_combineNext(_0x22c4c5,_0x261b7d){return _0x261b7d['howMany']++,_0x261b7d['sourcePosition']=wt(_0x22c4c5['sourcePosition']),_0x261b7d;}_splitCurrent(_0x2e6ac3){const _0x428646=wt(_0x2e6ac3);return _0x2e6ac3['howMany']--,_0x428646['howMany']=0x1,_0x428646['sourcePosition']=_0x250cb4(_0x428646['sourcePosition'],_0x2e6ac3['howMany']),_0x428646;}_compareOperations(_0x21d8d9,_0x2dcc62){return!(!this['_checkOperation'](_0x21d8d9)||!this['_checkOperation'](_0x2dcc62))&&(_0x57cefb(_0x250cb4(_0x21d8d9['sourcePosition'],-0x1),_0x2dcc62['sourcePosition'])&&_0x57cefb(_0x21d8d9['targetPosition'],_0x2dcc62['targetPosition'])&&_0x21d8d9['_aiSource']==_0x2dcc62['_aiSource']);}_compressSingleOperation(_0x4193b8){const _0x5714cc={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x5714cc,{'operations':[_0x4193b8],'index':0x0}),_0x5714cc['buffers'][0x0];}_decompressSingleOperation(_0x243a8e){const _0x5bfa19=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x5bfa19,_0x243a8e),_0x5bfa19[0x0];}_checkOperation(_0x228553){return'MoveOperation'==_0x228553['__className']&&'$graveyard'==_0x228553['targetPosition']['root']&&0x1==_0x228553['howMany']&&!_0x228553['wasUndone'];}},_0x555e75=class extends _0xb57436{_combineNext(_0x5f26f1,_0x15396c){return _0x15396c['howMany']++,_0x15396c;}_splitCurrent(_0x3aa0c5){const _0xd1ab55=wt(_0x3aa0c5);return _0xd1ab55['howMany']=0x1,_0x3aa0c5['howMany']--,_0xd1ab55;}_compareOperations(_0x1be91c,_0x5e26c8){return!(!this['_checkOperation'](_0x1be91c)||!this['_checkOperation'](_0x5e26c8))&&(_0x57cefb(_0x1be91c['sourcePosition'],_0x5e26c8['sourcePosition'])&&_0x57cefb(_0x1be91c['targetPosition'],_0x5e26c8['targetPosition'])&&_0x1be91c['_aiSource']==_0x5e26c8['_aiSource']);}_compressSingleOperation(_0x6f98d8){const _0x452836={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x452836,{'operations':[_0x6f98d8],'index':0x0}),_0x452836['buffers'][0x0];}_decompressSingleOperation(_0x55d9db){const _0x246589=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x246589,_0x55d9db),_0x246589[0x0];}_checkOperation(_0x1bf5b4){return'MoveOperation'==_0x1bf5b4['__className']&&'$graveyard'==_0x1bf5b4['targetPosition']['root']&&0x1==_0x1bf5b4['howMany']&&!_0x1bf5b4['wasUndone'];}},_0x39f33b=class extends _0xb57436{['compress'](_0x2eb34c,_0x126d97){if(!this['_compareOperations'](_0x126d97['operations'][_0x126d97['index']],_0x126d97['operations'][_0x126d97['index']+0x1]))return!0x1;const _0x23cf02=_0x126d97['operations'][_0x126d97['index']++];return _0x23cf02['oldRange']=null,_0x23cf02['newRange']&&_0x57cefb(_0x23cf02['newRange']['start'],_0x23cf02['newRange']['end'])&&(_0x23cf02['newRange']['end']=null),_0x126d97['index']++,_0x2eb34c['types']['push'](this['_id']),_0x2eb34c['types']['push'](0x0),_0x2eb34c['buffers']['push'](this['_compressSingleOperation'](_0x23cf02)),!0x0;}['decompress'](_0x6c0f35,_0x2bb8a4){const _0x53939b=this['_decompressSingleOperation'](_0x2bb8a4);_0x53939b['newRange']&&!_0x53939b['newRange']['end']&&(_0x53939b['newRange']['end']=wt(_0x53939b['newRange']['start']));const _0x2fee71=wt(_0x53939b);_0x2fee71['newRange']&&(_0x2fee71['newRange']['start']['stickiness']='toNone',_0x2fee71['newRange']['end']=wt(_0x2fee71['newRange']['start'])),_0x2fee71['name']='user:position:'+_0x2fee71['name']['split'](':')[0x2],_0x2bb8a4['typeIndex']++,_0x6c0f35['push'](_0x53939b),_0x6c0f35['push'](_0x2fee71);}_compressSingleOperation(_0x5f110f){const _0x57b3cd={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x57b3cd,{'operations':[_0x5f110f],'index':0x0}),_0x57b3cd['buffers'][0x0];}_decompressSingleOperation(_0x9723a){const _0xeecdc=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0xeecdc,_0x9723a),_0xeecdc[0x0];}_compareOperations(_0x3e451a,_0x25762b){return!(!_0x3e451a||!_0x25762b)&&('MarkerOperation'==_0x3e451a['__className']&&'MarkerOperation'==_0x25762b['__className']&&!(!_0x3e451a['name']['startsWith']('user:')||!_0x25762b['name']['startsWith']('user:')||_0x3e451a['name']==_0x25762b['name']));}},_0x460630=class{['_compressorById'];['_compressorByName'];_protobufFactory;constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new _0x326ebe();const _0x3bda14=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new _0x296326(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',_0xffd1b),this['_registerOperationCompressor'](0xb,'InsertOperation',_0x2909ad),this['_registerOperationCompressor'](0xc,'MarkerOperation',_0x1ba8d6),this['_registerOperationCompressor'](0xd,'MergeOperation',_0x10b534),this['_registerOperationCompressor'](0xe,'MoveOperation',_0x10b534),this['_registerOperationCompressor'](0xf,'RenameOperation',_0x10b534),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',_0xffd1b),this['_registerOperationCompressor'](0x11,'SplitOperation',_0x10b534),this['_registerCompressor'](0x12,'CommentMarkerOperation',new _0x147ab0(0x12,'MarkerOperation',_0x3bda14,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new _0x147ab0(0x13,'MarkerOperation',_0x3bda14,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',_0x10b534),this['_registerActionCompressor'](0x64,'TypingAction',_0x4af1d7),this['_registerActionCompressor'](0x65,'DeletingAction',_0x168214),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',_0x555e75),this['_registerActionCompressor'](0x67,'UserSelectionAction',_0x39f33b);}['compress'](_0x51a6f6){if(!_0x51a6f6||!_0x51a6f6[0x0])throw new _0x491313['CKEditorError']('no-operations-provided',this);const _0x3a5a34={'operations':_0x51a6f6,'index':0x0},_0x263a64={'types':[],'buffers':[],'baseVersion':_0x51a6f6[0x0]['baseVersion']};for(;_0x3a5a34['index']<_0x3a5a34['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x263a64,_0x3a5a34))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x263a64,_0x3a5a34))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x263a64,_0x3a5a34))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x263a64,_0x3a5a34))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x263a64,_0x3a5a34))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x263a64,_0x3a5a34))continue;const _0x36a0a1=_0x3a5a34['operations'][_0x3a5a34['index']]['__className'];this['_getCompressorByName'](_0x36a0a1)['compress'](_0x263a64,_0x3a5a34);}return _0x263a64;}['decompress'](_0xa135d0){const _0x2b74bd=[],_0x90352f={'types':_0xa135d0['types'],'buffers':_0xa135d0['buffers'],'baseVersion':_0xa135d0['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x90352f['typeIndex']<_0x90352f['types']['length'];){const _0x4e4e08=_0x90352f['types'][_0x90352f['typeIndex']],_0x427c1c=this['_compressorById']['get'](_0x4e4e08);if(!_0x427c1c)throw new _0x491313['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x4e4e08});_0x427c1c['decompress'](_0x2b74bd,_0x90352f);}return _0x2b74bd['forEach']((_0x2dc3cf,_0x581537)=>_0x2dc3cf['baseVersion']=_0xa135d0['baseVersion']+_0x581537),_0x2b74bd;}_getCompressorByName(_0x569914){return this['_compressorByName']['get'](_0x569914);}_registerOperationCompressor(_0x1c21f6,_0x2eb3d3,_0x548a9a){const _0x238aa3=new _0x548a9a(_0x1c21f6,_0x2eb3d3,this['_protobufFactory']['getDescriptor'](_0x2eb3d3));this['_registerCompressor'](_0x1c21f6,_0x2eb3d3,_0x238aa3);}_registerActionCompressor(_0x5c7f0b,_0x35c2c,_0x45aa40){const _0x486a10=new _0x45aa40(_0x5c7f0b,this);this['_registerCompressor'](_0x5c7f0b,_0x35c2c,_0x486a10);}_registerCompressor(_0x39a9e1,_0x1a578a,_0x139066){this['_compressorById']['set'](_0x39a9e1,_0x139066),this['_compressorByName']['set'](_0x1a578a,_0x139066);}};let _0x2b98c8=0x1;var _0x4078e4=class RealTimeCollaborationClient extends _0x491313['Plugin']{static CollaborativeEditingService=/* #__PURE__ -- @preserve */
((()=>_0x1b322e)());_offset;['sessionId'];serverHistory;['_channelId'];['_service'];_document;['_compressor'];_bufferedOperations;_knownOperations;_knownRootNames;_pendingAction;_hasSelectionChanged;_sendBufferedOperationsDelayId;['_baseBufferDelay'];_currentBufferDelay;_lastSyncedOperationId;_disconnectionOperations;_operationIdentifier;static get requires(){return[_0x558f8e,_0x3e62c7,_0x4cde17,_0x491313['PendingActions'],_0x16b3af,_0x491313['Notification']];}static get['pluginName'](){return'RealTimeCollaborationClient';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get cloudDocumentVersion(){return this['_lastServerVersion']+this['_offset'];}get _lastServerVersion(){return this['serverHistory']['version']-this['_offset'];}get lastSyncVersion(){const _0x6b8734=this['serverHistory']['getOperations']();for(let _0x5c706a=_0x6b8734['length']-0x1;_0x5c706a>=0x0;_0x5c706a--){const _0x17c0a4=_0x6b8734[_0x5c706a];if(!this['_disconnectionOperations']['has'](_0x17c0a4))return _0x17c0a4['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x3066e8){if(super(_0x3066e8),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x491313['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x491313['CKEditorError']('collaboration-missing-channelid',this);const _0x2c8ff2=_0x3066e8['config']['get']('cloudServices.bundleVersion')||_0x491313['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x2c8ff2,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x460630(),this['_bufferedOperations']=[],this['_knownOperations']=new WeakSet(),this['_knownRootNames']=new Set(),this['set']('_isPendingUpdate',!0x1),this['set']('_hasSynchronizationProblem',!0x1),this['_pendingAction']=null,this['_hasSelectionChanged']=!0x1,this['_sendBufferedOperationsDelayId']=null,this['_baseBufferDelay']=0x12c,this['_currentBufferDelay']=this['_baseBufferDelay'],this['_lastSyncedOperationId']=null,this['_disconnectionOperations']=new WeakSet(),this['_operationIdentifier']=new _0x391455(this['_disconnectionOperations']);}init(){const _0x53eb1e=this['editor'],_0xe1aa51=_0x53eb1e['plugins']['get'](_0x16b3af),_0x5eb7d1=_0x53eb1e['plugins']['get'](_0x558f8e);this['listenTo'](_0xe1aa51,'getOperationAuthor',(_0x2c7891,_0x24a379)=>{const _0x13ea36=_0x24a379[0x0];_0x13ea36['_authorId']&&(_0x2c7891['return']=_0xe1aa51['getUser'](_0x13ea36['_authorId']),_0x2c7891['stop']()),null===_0x13ea36['_authorId']&&(_0x2c7891['return']=null,_0x2c7891['stop']());},{'priority':'high'}),this['listenTo'](_0x53eb1e['model']['document']['selection'],'change:range',(_0x17413c,_0x289c42)=>{_0x289c42['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x53eb1e['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x53eb1e['model']['on']('applyOperation',(_0x12808c,_0x225676)=>{const _0x205abe=_0x225676[0x0];_0x205abe['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x205abe),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['set']('_isChannelFlushed',!0x1),this['bind']('_isEditingAllowed')['to'](_0x5eb7d1,'state',this,'_hasSynchronizationProblem',this,'_isChannelFlushed',(_0x55311f,_0x26007c,_0x330a5a)=>'connected'===_0x55311f&&!_0x26007c&&!_0x330a5a),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x53eb1e['disableReadOnlyMode']('rtc-offline'):_0x53eb1e['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x53eb1e['disableReadOnlyMode']('rtc-offline'):_0x53eb1e['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async reconnect(){const _0x2ab7c9=this['editor']['plugins']['get'](_0x3e62c7),_0x1690b6=this['editor']['plugins']['get'](_0x558f8e);try{this['_isPendingUpdate']=!0x0,_0x2ab7c9['unregister'](this['_channelId']);const _0x77b866=await this['_service']['reconnect'](_0x1690b6['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x77b866)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x1e4e7a=await this['_service']['getConnectedSessions']();_0x2ab7c9['register'](this['_channelId'],_0x1e4e7a),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x2bce2f){if(function(_0x5c55fc){return'404'===_0x5c55fc['code'];}(_0x2bce2f)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x1e1fc0){return'409'===_0x1e1fc0['code'];}(_0x2bce2f)){const _0x2baea8=_0x4e1cf7(this['editor']['locale'],'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');this['_handleReconnectionError'](_0x2baea8);}else{if(!(_0x2bce2f instanceof _0x473328))throw _0x2bce2f;this['_handleReconnectionError']();}}}}destroy(){const _0x440ecc=this['editor']['plugins']['get'](_0x558f8e),_0x349889=this['editor']['plugins']['get'](_0x3e62c7);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x349889['channelSessions']['has'](this['_channelId'])&&_0x349889['unregister'](this['_channelId']),_0x440ecc['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async _handleReconnectionResponse(_0x1ab371){if(this['sessionId']!==_0x1ab371['sessionId']&&this['_lastSyncedOperationId']!==_0x1ab371['lastOperationId'])throw new _0x473328();return this['sessionId']=_0x1ab371['sessionId'],this['_handleServerResponse']([],{..._0x1ab371,'wereChangesApplied':!0x1,'data':_0x1ab371['data']},'reconnect');}async _connectService(_0x116fd1,_0x5e8353=!0x1){const {connection:_0x2e77b7}=this['editor']['plugins']['get'](_0x558f8e);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x2e77b7,this['_channelId'])['then'](_0x5c4637=>this['_initSessionsHandling'](_0x5c4637))['catch'](_0x293669=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x293669);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x23e554,_0x46e1a5)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x46e1a5);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_handleChannelDisconnected']();});const _0x5540d5=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x116fd1);this['_isPendingUpdate']=!0x0;const _0x370061=await this['_service']['connect'](_0x2e77b7,this['_compressOperations'](_0x116fd1),_0x5540d5);if(this['sessionId']=_0x370061['sessionId'],_0x5e8353){if(!_0x370061['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x370061['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x116fd1,_0x370061,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x370061,_0x116fd1);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}_handleSendingSelectionMarkers(){const _0x44a35d=this['editor']['plugins']['get'](_0x3e62c7),_0x40cdb8=this['editor']['plugins']['get'](_0x4cde17),_0x305a8b=_0x44a35d['channelSessions']['get'](this['_channelId']);_0x305a8b&&_0x305a8b['length']>0x1?_0x40cdb8['createUserMarkerOperations']():this['listenTo'](_0x44a35d,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x44a35d['channelSessions']['get'](this['_channelId'])['length']&&_0x40cdb8['createUserMarkerOperations']();});}async _handleReceivedOperations(_0x321eb3,_0x7b2111,_0x2d4fab,_0x42368b){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x7b2111){const _0x12fa49=this['_decompressOperations'](_0x2d4fab,_0x42368b);await this['_fetchMissingUsers'](_0x12fa49),this['_handleExternalOperations'](_0x12fa49,_0x7b2111,_0x2d4fab['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async _connectAfterSessionHasBeenFlushed(){this['_disconnectService']();const {locale:_0x5c64fa}=this['editor'];let _0x2961f6;try{_0x2961f6=await this['_service']['getDocumentDetails']();}catch{const _0x417933=_0x4e1cf7(_0x5c64fa,'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');return void this['_handleReconnectionError'](_0x417933);}const _0x34813e=_0x2961f6['currentDocumentSession']||_0x2961f6['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x34813e['lastOperationId']){const _0x2675da=_0x4e1cf7(_0x5c64fa,'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');return void this['_handleReconnectionError'](_0x2675da);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}_handleChannelDisconnected(){const _0x6cdd16=this['editor']['plugins']['get'](_0x558f8e);if(this['_isConnected']=!0x1,!_0x6cdd16['connection']||'connected'!==_0x6cdd16['connection']['state'])return;this['_isChannelFlushed']=!0x0;const _0x283dbb=this['editor']['plugins']['get'](_0x3e62c7);_0x283dbb['channelSessions']['has'](this['_channelId'])&&_0x283dbb['unregister'](this['_channelId']),_0x6cdd16['removeFromReconnectionStack'](this),this['_disconnectService']();}_disconnectService(){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['stopListening'](this['_service']);}_initSessionsHandling(_0x599bb0){const _0x408dca=this['editor']['plugins']['get'](_0x3e62c7);this['listenTo'](_0x408dca,'sessionAdd:'+this['_channelId'],(_0x5e31f3,{session:_0x56122f})=>{if(_0x56122f['id']===_0x408dca['mySessionId']){_0x5e31f3['off']();const _0x34290f=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x426aac=_0x56122f['permissions'];_0x34290f&&_0x34290f['isEnabled']&&(_0x426aac=_0x426aac['filter'](_0x272664=>'document:write'!==_0x272664)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x426aac,this['_channelId']);}}),_0x408dca['register'](this['_channelId'],_0x599bb0);}_initThrowingOnDataSet(){const _0x1bc02d=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x11da7e)=>{if(!_0x11da7e[_0x11da7e['length']-0x1]['suppressErrorInCollaboration'])throw new _0x491313['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x1bc02d['apply'](this['editor']['data'],_0x11da7e);};}_setUpDataInit(){this['editor']['data']['on']('init',(_0x28896a,[_0x356bab])=>{if(this['_document']['version'])throw new _0x491313['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x28896a['stop'](),this['_setPendingAction']();const _0x1e2ade=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x22016c])=>!_0x22016c['lazyLoad'])['map'](([_0x86a1ab,_0x4ce926])=>[_0x86a1ab,_0x4ce926['modelAttributes']||{}])),_0x50e267=this['_getOperationsFromInitData'](_0x356bab,_0x1e2ade);0x0==_0x50e267['length']&&_0x50e267['push'](new _0x491313['NoOperation'](0x0)),_0x28896a['return']=this['_connectService'](_0x50e267)['then'](()=>{this['editor']['plugins']['get'](_0x558f8e)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x513522=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x513522))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x2258f5,[_0x26f4a9,_0x508163])=>{_0x2258f5['stop']();const _0xa40d60=this['editor']['model']['document']['getRoot'](_0x26f4a9);if(!this['_knownRootNames']['has'](_0x26f4a9)){const _0x55e69d=_0x508163&&_0x508163['data']?_0x508163['data']:'',_0x40c97c=_0x508163&&_0x508163['attributes']?_0x508163['attributes']:{};await this['_loadRoot'](_0x26f4a9,_0x55e69d,_0x40c97c);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0xa40d60['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0xa40d60);});},{'priority':'high'});}async _fetchMissingUsers(_0x51b712){const _0x3225eb=this['editor']['plugins']['get'](_0x16b3af),{connection:_0x5c0ea8}=this['editor']['plugins']['get'](_0x558f8e),_0x2251cf=new Set();for(const _0x4a9d04 of _0x51b712){const _0x43b637=_0x4a9d04['_authorId'];_0x43b637&&!_0x3225eb['getUser'](_0x43b637)&&_0x2251cf['add'](_0x43b637);}if(0x0===_0x2251cf['size'])return;const _0x2b5264=await _0x4a3f91['getMany'](_0x5c0ea8,Array['from'](_0x2251cf));for(const _0xda9b67 of _0x2b5264)_0x3225eb['getUser'](_0xda9b67['id'])||_0x3225eb['addUser'](_0xda9b67);}_getOperationsFromInitData(_0x405909,_0x413095={}){const _0x13d46f=this['editor']['model'],_0x567618=[];let _0x38962e=0x0;const _0x1105e3='string'==typeof _0x405909?{'main':_0x405909}:_0x405909;for(const _0x97eaf2 of Object['keys'](_0x1105e3)){if(!this['_document']['roots']['has'](_0x97eaf2))throw new _0x491313['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x53bb08=this['_document']['getRoot'](_0x97eaf2),_0x3bcc5f=this['editor']['data']['parse'](_0x1105e3[_0x97eaf2],_0x53bb08),_0x430e1c=new _0x491313['InsertOperation'](_0x13d46f['createPositionAt'](_0x53bb08,0x0),_0x3bcc5f,_0x38962e++);_0x567618['push'](_0x430e1c);for(const [_0x2de00b,_0x569cba]of _0x3bcc5f['markers']){const _0x605663=new _0x491313['MarkerOperation'](_0x2de00b,null,_0x13d46f['createRange'](_0x13d46f['createPositionFromPath'](_0x53bb08,_0x569cba['start']['path']['slice']()),_0x13d46f['createPositionFromPath'](_0x53bb08,_0x569cba['end']['path']['slice']())),_0x13d46f['markers'],!0x0,_0x38962e++);_0x567618['push'](_0x605663);}}if(_0x413095)for(const [_0x1936c6,_0x492cfe]of Object['entries'](_0x413095)){const _0x4f801a=_0x13d46f['document']['getRoot'](_0x1936c6);if(!_0x4f801a)throw new _0x491313['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x1dfd3c,_0x2fe20b]of Object['entries'](_0x492cfe))if(null!==_0x2fe20b){const _0x2b5e74=new _0x491313['RootAttributeOperation'](_0x4f801a,_0x1dfd3c,null,_0x2fe20b,_0x38962e++);_0x567618['push'](_0x2b5e74);}}return _0x567618;}async _loadRoot(_0x39e6e1,_0xadb050,_0xa5a552){this['_getOperationsFromInitData']({[_0x39e6e1]:_0xadb050},{[_0x39e6e1]:_0xa5a552})['forEach']((_0x2733c9,_0x5c0c5a)=>{_0x2733c9['baseVersion']=this['_document']['version']+_0x5c0c5a,_0x2733c9['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x2733c9);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async _handleInitialConnectionData(_0x2fd7cd,_0x1dc41c){let _0x432da3;this['_offset']=_0x2fd7cd['offset'];const _0x55ea3d=_0x2fd7cd['wereChangesApplied']&&!_0x2fd7cd['initData'],_0x283e0b=_0x55ea3d?0x0:_0x2fd7cd['data']['baseVersion'];if(_0x1dc41c['forEach'](_0x32c853=>{_0x32c853['_isInit']=!0x0,_0x32c853['createdAt']=_0x2fd7cd['sessionCreatedAt'],_0x32c853['_authorId']=null;}),_0x55ea3d)_0x432da3=_0x1dc41c,this['_applyOperationsSet'](_0x432da3,_0x55ea3d);else{if(_0x2fd7cd['initData']){const _0x59f9a6=this['_getOperationsFromInitData'](_0x2fd7cd['initData']);this['_document']['history']['version']=-_0x59f9a6['length'],_0x59f9a6['forEach'](_0x521133=>{_0x521133['baseVersion']-=_0x59f9a6['length'],_0x521133['createdAt']=_0x2fd7cd['sessionCreatedAt'],_0x521133['_isInit']=!0x0,_0x521133['_authorId']=null;}),this['_applyOperationsSet'](_0x59f9a6,!0x0),this['serverHistory']['version']=-_0x59f9a6['length']+this['_offset'],this['_updateServerHistory'](_0x59f9a6);}this['_document']['history']['version']=_0x283e0b,_0x432da3=this['_decompressOperations'](_0x2fd7cd['data'],_0x2fd7cd['metadata']),await this['_fetchMissingUsers'](_0x432da3),this['_applyOperationsSet'](_0x432da3,_0x55ea3d);}_0x2fd7cd['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x432da3,_0x2fd7cd['lastOperationId']),this['_lastSyncedOperationId']=_0x2fd7cd['lastOperationId']),this['serverHistory']['version']=_0x283e0b+this['_offset'],this['_updateServerHistory'](_0x432da3),_0x1dc41c['filter'](_0x35161b=>{const _0x43be2e=this['_getAffectedRoot'](_0x35161b);return _0x43be2e&&!this['_knownRootNames']['has'](_0x43be2e);})['forEach']((_0x2c3c70,_0x1fd7a4)=>{_0x2c3c70['baseVersion']=this['_document']['version']+_0x1fd7a4,this['_saveOperationInBuffer'](_0x2c3c70);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x10e1e5,_0x516f97){const _0x1cf453=_0x516f97&&_0x516f97['message'];if(_0x1cf453&&_0x1cf453['startsWith']('realtimecollaborationclient'))throw _0x516f97;const _0x24b6a3=this['editor']['plugins']['get'](_0x558f8e);throw this['_isPendingUpdate']=!0x0,_0x24b6a3['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x491313['CKEditorError'](_0x10e1e5,this['editor'],_0x1cf453?{'originalError':_0x1cf453}:void 0x0);}_saveOperationInBuffer(_0x596fa5){this['_knownOperations']['has'](_0x596fa5)||(this['_knownOperations']['add'](_0x596fa5),this['_bufferedOperations']['push'](_0x596fa5),this['_pendingAction']||'marker'==_0x596fa5['type']&&!_0x596fa5['affectsData']||this['_setPendingAction']());}_sendBufferedOperationsDelayed(_0x55df83=!0x1){!_0x55df83&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0xc32761=>{_0xc32761&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x48162a=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x433670){return _0x433670['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x433670['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x433670['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x48162a)||this['_crash'](_0x48162a['message'],_0x48162a);});},this['_currentBufferDelay']));}_waitUntilSynced(){return new Promise(_0x25de2e=>{this['on']('change:_isPendingUpdate',()=>{_0x25de2e();});});}async _sendBufferedOperations(){const _0x18d963=this['editor']['plugins']['get'](_0x4cde17);if(this['_shouldSendSelectionUpdate']()&&(_0x18d963['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x4214ac=[...this['_bufferedOperations']];for(const _0x38c9c4 of _0x4214ac)_0x38c9c4['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x38c9c4);const _0x855d8d=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x4214ac),_0x389fdf=_0x2b98c8++,_0x57697f=this['_compressOperations'](_0x4214ac),_0x7882ad=await this['_service']['sendOperations'](_0x57697f,_0x57697f['baseVersion'],_0x855d8d);try{return await this['_handleServerResponse'](_0x4214ac,_0x7882ad,_0x389fdf);}catch(_0x4322dc){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x4322dc);}}async['_handleServerResponse'](_0x38c335,_0x5a868f,_0x26eff9){if('error'in _0x5a868f)throw _0x5a868f['error'];let _0x334248;if(_0x5a868f['wereChangesApplied']){_0x5a868f['lastOperationId']&&(this['_lastSyncedOperationId']=_0x5a868f['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x22d0a7=>!_0x38c335['includes'](_0x22d0a7));for(const _0x201fa4 of _0x38c335)_0x201fa4['createdAt']='lastOperationAcceptedAt'in _0x5a868f&&_0x5a868f['lastOperationAcceptedAt']||void 0x0;_0x3be276(_0x38c335,_0x5a868f['version']-_0x38c335['length']),this['_updateServerHistory'](_0x38c335);const _0x3b735b=_0x38c335['filter'](_0x9b5db8=>{if(!_0x9b5db8['_isInit'])return!0x1;const _0xdc72a6=this['_getAffectedRoot'](_0x9b5db8);return _0xdc72a6&&!this['_knownRootNames']['has'](_0xdc72a6);});_0x3be276(_0x3b735b,this['_document']['version']),this['_applyOperationsSet'](_0x3b735b),_0x334248=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x3557de=this['_decompressOperations'](_0x5a868f['data'],_0x5a868f['metadata'])['filter'](_0x3574b0=>_0x3574b0['baseVersion']>=this['_lastServerVersion']);_0x3557de['forEach'](_0x22f325=>this['_addKnownRoot'](_0x22f325)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x27bcbb=>!_0x27bcbb['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x27bcbb))),this['_bufferedOperations']['length']&&_0x3be276(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x3557de),_0x334248=this['_handleExternalOperations'](_0x3557de,_0x5a868f['version'],_0x5a868f['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x334248?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}_handleExternalOperations(_0xe6cb2c,_0x30b6cb,_0x14e3c7){try{const _0x44745f={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x58d431,operationsB:_0x49f625,originalOperations:_0x40e47f}=(0x0,_0x491313['transformOperationSets'])(_0xe6cb2c,this['_bufferedOperations'],_0x44745f);_0x3be276(_0x58d431,this['_document']['version']),_0x3be276(_0x49f625,_0x30b6cb);for(const _0x5b9440 of _0x58d431){const _0x4bcaf6=_0x40e47f['get'](_0x5b9440);_0x4bcaf6?(_0x5b9440['_authorId']=_0x4bcaf6['_authorId'],'noop'!==_0x5b9440['type']&&(_0x5b9440['_aiSource']=_0x4bcaf6['_aiSource'])):_0x5b9440['_authorId']=null;}for(const _0x428018 of _0x49f625)'noop'!==_0x428018['type']&&(_0x428018['_aiSource']=_0x40e47f['get'](_0x428018)?.['_aiSource']);_0x14e3c7&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0xe6cb2c,_0x14e3c7),this['_lastSyncedOperationId']=_0x14e3c7),this['_bufferedOperations']=[..._0x49f625],this['_applyOperationsSet'](_0x58d431),this['_updateServerHistory'](_0xe6cb2c);}catch(_0x9d1ba1){return console['error'](_0x9d1ba1),!0x1;}return!0x0;}_applyOperationsSet(_0x535957,_0x984ee8=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x217146=>{for(const _0x36a72a of _0x535957)this['_knownOperations']['add'](_0x36a72a),this['_addKnownRoot'](_0x36a72a),_0x217146['batch']['addOperation'](_0x36a72a),this['editor']['model']['applyOperation'](_0x36a72a);});}_addKnownRoot(_0x58f301){const _0x530bc4=this['_getAffectedRoot'](_0x58f301);_0x530bc4&&this['_knownRootNames']['add'](_0x530bc4);}_getAffectedRoot(_0x3a95e2){let _0x52adaf,_0x2bd194;switch(_0x3a95e2['type']){case'insert':_0x52adaf=_0x3a95e2['position']['root'];break;case'marker':if(_0x2bd194=_0x3a95e2['newRange'],!_0x2bd194)return null;_0x52adaf=_0x2bd194['root'];break;case'addRootAttribute':_0x52adaf=_0x3a95e2['root'];break;case'addRoot':_0x52adaf=_0x3a95e2['affectedSelectable'];break;case'move':_0x52adaf=_0x3a95e2['targetPosition']['root'];break;default:return null;}return _0x52adaf['rootName'];}_updateServerHistory(_0x25cf0a){_0x25cf0a['forEach'](_0x511229=>{const _0x382674=_0x511229['clone']();_0x382674['_authorId']=_0x511229['_authorId'],_0x382674['_isInit']=!!_0x511229['_isInit'],_0x382674['_aiSource']=_0x511229['_aiSource'],_0x382674['createdAt']=_0x511229['createdAt'],_0x382674['baseVersion']+=this['_offset'],_0x511229['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x382674),this['serverHistory']['addOperation'](_0x382674);});}_handleReconnectionError(_0xa8028b){const _0x94b5b8=this['editor']['plugins']['get']('Notification'),_0x525172=this['editor']['locale'];_0xa8028b||(_0xa8028b=_0x4e1cf7(_0x525172,'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.')),_0x94b5b8['showWarning'](_0xa8028b,{'title':_0x4e1cf7(_0x525172,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](_0x558f8e)['disconnect']();}_setPendingAction(){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](_0x491313['PendingActions'])['add'](_0x4e1cf7(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}_clearPendingAction(){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x491313['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}_compressOperations(_0x28fc25){const _0x499501=_0x28fc25['map'](_0x107a57=>_0x107a57['toJSON']());return this['_compressor']['compress'](_0x499501);}_decompressOperations(_0x38dc4d,_0x178841){return this['_compressor']['decompress'](_0x38dc4d)['map']((_0x315966,_0x338fe5)=>{const _0x1140c6='init'==_0x178841[_0x338fe5]['type'];if('InsertOperation'==_0x315966['__className']){const _0x149c9f=_0x315966['position']['root'];!this['_document']['getRoot'](_0x149c9f)&&(this['_document']['createRoot']('$unknown',_0x149c9f)['_isAttached']=!0x1);}else{if('RootOperation'==_0x315966['__className']){const _0x5275f6=this['_document']['getRoot'](_0x315966['rootName']);_0x5275f6&&'$unknown'==_0x5275f6['name']&&_0x315966['elementName']!=_0x5275f6['name']&&(_0x5275f6['name']=_0x315966['elementName']);}}const _0x51d02b=_0x491313['OperationFactory']['fromJSON'](_0x315966,this['_document']);return _0x51d02b['wasUndone']=_0x315966['wasUndone'],_0x51d02b['_isInit']=_0x1140c6,_0x51d02b['_authorId']=_0x1140c6?null:_0x178841[_0x338fe5]['userId'],_0x51d02b['_isDisconnection']='cs:removeUser'===_0x178841[_0x338fe5]['type'],_0x51d02b['_aiSource']=_0x315966['_aiSource']||void 0x0,_0x51d02b['createdAt']=_0x178841[_0x338fe5]['createdAt'],_0x51d02b;});}_refreshUserSelectionMarkers(){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}_shouldSendSelectionUpdate(){const _0x4e465a=this['editor']['plugins']['get'](_0x3e62c7)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x4e465a&&_0x4e465a['length']>0x1&&this['_hasSelectionChanged'];}_shouldSendUpdate(){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}},_0x473328=class extends Error{};function _0x3be276(_0x2e4f6e,_0x17d717){for(const _0x30cd4b of _0x2e4f6e)_0x30cd4b['baseVersion']=_0x17d717++;}var _0x391455=class{_ignoredOperations;_operationToId;constructor(_0x37e7db){this['_ignoredOperations']=_0x37e7db,this['_operationToId']=new WeakMap();}getIdOfTheLastOperation(_0x5910ad){let _0x1716d0=_0x5910ad['length'];for(;_0x1716d0--;){const _0x1ef186=_0x5910ad[_0x1716d0];if(!this['_ignoredOperations']['has'](_0x1ef186)){if(!this['_operationToId']['has'](_0x1ef186)){const _0x5e9cc9=(0x0,_0x491313['uid'])()['slice'](0x1,0x12);this['_operationToId']['set'](_0x1ef186,_0x5e9cc9);}return this['_operationToId']['get'](_0x1ef186);}}}setIdForTheLastOperation(_0x52d47c,_0x40d6b5){if(!_0x40d6b5)return;let _0xa4f321=_0x52d47c['length'];for(;_0xa4f321--;){const _0x55aada=_0x52d47c[_0xa4f321];this['_ignoredOperations']['has'](_0x55aada)||this['_operationToId']['set'](_0x55aada,_0x40d6b5);}}},_0x5746da=class extends _0x491313['Plugin']{static get requires(){return[_0x4078e4];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x4ccdc7=class extends _0x491313['Command']{['_enabledCommands'];constructor(_0x3bcb50,_0x3b682c){super(_0x3bcb50),this['_enabledCommands']=_0x3b682c,this['value']=!0x1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}execute(){this['value']=!this['value'],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}_disableUnsupportedCommands(){for(const _0x4d626a of this['editor']['commands']['commands']())_0x4d626a['affectsData']&&!this['_enabledCommands']['has'](_0x4d626a)&&_0x4d626a['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x4f6054 of this['editor']['commands']['commands']())_0x4f6054['affectsData']&&!this['_enabledCommands']['has'](_0x4f6054)&&_0x4f6054['clearForceDisabled']('TrackChangesCommand');}},_0x1626d9=class extends _0x491313['Command']{_suggestions;constructor(_0x2f0680,_0xefa4dd){super(_0x2f0680),this['_suggestions']=_0xefa4dd,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}execute(_0x1d51eb){const _0x5431c8=this['_suggestions']['get'](_0x1d51eb);if(!_0x5431c8)throw new _0x491313['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x34f07e=_0x5431c8['getRanges']();this['editor']['model']['canEditAt'](_0x34f07e)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x5431c8);}},_0xa1c7e5=class extends _0x491313['Command']{_suggestions;constructor(_0x45da7e,_0x5413aa){super(_0x45da7e),this['_suggestions']=_0x5413aa,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}execute(_0x4f1c80){const _0x45eb85=this['_suggestions']['get'](_0x4f1c80);if(!_0x45eb85)throw new _0x491313['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x224816=_0x45eb85['getRanges']();this['editor']['model']['canEditAt'](_0x224816)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x45eb85);}};function _0x1898af(_0x37fedf,_0x2ee0b5){let _0x2da8ba='';return _0x2da8ba+=_0x37fedf['split']('*')['map']((_0x55e778,_0x3cf7f8)=>_0x3cf7f8%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+_0x35fb41(_0x55e778)+'</span>':_0x35fb41(_0x55e778))['join'](''),_0x2ee0b5&&(_0x2da8ba+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x2ee0b5['value']+'\x22\x20title=\x22'+_0x2ee0b5['title']+'\x22></span>'),_0x2da8ba;}function _0x35fb41(_0x3f3261){const _0x587273=document['createElement']('span');return _0x587273['innerText']=_0x3f3261,_0x587273['innerHTML'];}function _0x1af327(_0x2ab526){return _0x2ab526['sort']((_0x14c350,_0x4b59e2)=>'attribute'===_0x14c350['type']&&'attribute'!==_0x4b59e2['type']?-0x1:'attribute'!==_0x14c350['type']&&'attribute'===_0x4b59e2['type']?0x1:'deletion'==_0x14c350['type']&&'deletion'!=_0x4b59e2['type']?-0x1:'deletion'!=_0x14c350['type']&&'deletion'==_0x4b59e2['type']?0x1:0x0);}function _0x3fe1e9(_0x4abf02,_0x555522){let _0x72d414,_0x1564f7=0x0;const _0x5d5d6c=[],_0x572b6=_0x555522['schema'];for(;_0x1564f7<_0x4abf02['length'];){const _0x49bade=_0x4abf02[_0x1564f7],_0x3dd2cc=_0x4abf02[_0x1564f7+0x1];_0x72d414||(_0x72d414=_0x555522['createPositionBefore'](_0x49bade)),_0x5b4cb8(_0x555522,_0x49bade,_0x3dd2cc)||(_0x5d5d6c['push'](_0x555522['createRange'](_0x72d414,_0x572b6['isObject'](_0x49bade)?_0x555522['createPositionAfter'](_0x49bade):_0x555522['createPositionAt'](_0x49bade,'end'))),_0x72d414=null),_0x1564f7++;}return _0x5d5d6c;}function _0x5b4cb8(_0x54b0d9,_0x1fb2b1,_0x562bc1){if(!_0x562bc1)return!0x1;const _0x5cdad=_0x54b0d9['createPositionAfter'](_0x1fb2b1),_0x172917=_0x54b0d9['createPositionBefore'](_0x562bc1);return _0x5cdad['isTouching'](_0x172917);}function _0x344c59(_0x5ed299,_0x47d687,_0x2c7313){for(;_0x2c7313['length'];){const _0x16b55c=_0x2c7313['splice'](0x0,0x64);_0x5ed299['change'](()=>{for(const _0x175995 of _0x16b55c)_0x175995['isInContent']&&_0x47d687['execute'](_0x175995['id']);});}}var _0x266752=class extends _0x491313['Command']{['_command'];_suggestions;constructor(_0x4dc58e,_0x2ad0c2,_0x2dc5d6){super(_0x4dc58e),this['_command']=_0x2ad0c2,this['_suggestions']=_0x2dc5d6,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x31177f=Array['from'](this['_suggestions']['values']())['some'](_0x4a1e27=>_0x4a1e27['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x31177f;}execute(){const _0x168390=_0x1af327(Array['from'](this['_suggestions']['values']()));for(const _0x3fcdc7 of _0x168390){const _0x3b191a=_0x3fcdc7['getRanges']();if(!this['editor']['model']['canEditAt'](_0x3b191a))return;}_0x344c59(this['editor']['model'],this['_command'],_0x168390);}},_0x2ad647=class extends _0x491313['Command']{['_command'];_suggestions;_selectedSuggestions;constructor(_0x43c2d4,_0x50249a,_0x9f9439){super(_0x43c2d4),this['_command']=_0x50249a,this['_suggestions']=_0x9f9439,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x467a1f=this['editor']['model']['document']['selection'],_0x40102a=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x3f08d7,_0x5761ba){const _0x2259b9=Array['from'](_0x3f08d7['getRanges']()),_0x46af29=new Set();for(const _0x4430bd of _0x5761ba)if(_0x4430bd['isInContent']){for(const _0x56e660 of _0x2259b9)for(const _0x15529e of _0x4430bd['getRanges']())(_0x56e660['isIntersecting'](_0x15529e)||_0x3f08d7['isCollapsed']&&!_0x4430bd['isMultiRange']&&_0x4430bd['next']&&_0x15529e['end']['isTouching'](_0x56e660['start']))&&_0x46af29['add'](_0x4430bd);}return _0x46af29;}(_0x467a1f,_0x40102a),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}execute(){const _0x4b0d4f=_0x1af327(Array['from'](this['_selectedSuggestions']));for(const _0x31ce1a of _0x4b0d4f){const _0x2feb35=_0x31ce1a['getRanges']();if(!this['editor']['model']['canEditAt'](_0x2feb35))return;}_0x344c59(this['editor']['model'],this['_command'],_0x4b0d4f);}};const _0x57a19f=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x23c110=class Suggestion extends _0x57a19f{['id'];type;['subType'];author;creator;data;createdAt;_originalSuggestionId;_isDataLoaded=!0x1;['_model'];_onAccept;['_onDiscard'];_onAttributesChange;['_markerNames'];constructor(_0x92955a,_0x353cc1){super(),this['id']=_0x353cc1['id'],this['type']=_0x353cc1['type'],this['subType']=_0x353cc1['subType']||null,this['author']=_0x353cc1['author'],this['creator']=_0x353cc1['creator']||_0x353cc1['author'],this['data']=null,this['_originalSuggestionId']=_0x353cc1['originalSuggestionId']||null,this['_model']=_0x92955a,this['_onAccept']=_0x353cc1['onAccept'],this['_onDiscard']=_0x353cc1['onDiscard'],this['_onAttributesChange']=_0x353cc1['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x353cc1['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get isExternal(){return Boolean(this['attributes']&&this['attributes']['@external']);}get['aiSource'](){return this['attributes']&&this['attributes']['@ai']?.['type']||null;}get['head'](){let _0x484e2d=this;for(;_0x484e2d['previous'];)_0x484e2d=_0x484e2d['previous'];return _0x484e2d;}get hasComments(){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get isMultiRange(){return 0x0!=this['_markerNames']['size']&&0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get isInContent(){return null!==this['getFirstMarker']();}['addMarkerName'](_0x261588){this['_markerNames']['add'](_0x261588);}getMarkerNames(){return Array['from'](this['_markerNames']);}getMarkers(){return this['getMarkerNames']()['map'](_0x5405dc=>this['_model']['markers']['get'](_0x5405dc))['filter'](_0x1e8287=>_0x1e8287);}getFirstMarker(){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x324f82=>{for(const _0x1a5db6 of this['getMarkers']())_0x324f82['removeMarker'](_0x1a5db6);}),this['_markerNames']['clear']();}['removeMarker'](_0x14ac44){this['_model']['change'](_0x59612a=>{_0x59612a['removeMarker'](_0x14ac44);}),this['_markerNames']['delete'](_0x14ac44);}['addRange'](_0x3ea71f){const _0x4aefc0='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x4aefc0),this['_model']['change'](_0x2b6277=>{_0x2b6277['addMarker'](_0x4aefc0,{'range':_0x3ea71f,'usingOperation':!0x0,'affectsData':!0x0});});}isIntersectingWithRange(_0x28aa2c){for(const _0x17a130 of this['getRanges']())if(_0x17a130['isIntersecting'](_0x28aa2c))return!0x0;return!0x1;}getRanges(){return this['getMarkers']()['map'](_0x4fcf3e=>_0x4fcf3e['getRange']());}getItems(){return this['getRanges']()['reduce']((_0x37a9e4,_0x28395c)=>[..._0x37a9e4,..._0x28395c['getItems']()],[]);}getFirstRange(){return this['getFirstMarker']()?.['getRange']()||null;}getContainedElement(){const _0x4d7fec=this['getRanges']();if(0x1!=_0x4d7fec['length'])return null;const _0x327931=_0x4d7fec[0x0],_0x2a50e5=_0x327931['start']['nodeAfter'],_0x99cd41=_0x327931['end']['nodeBefore'];return _0x2a50e5 instanceof _0x491313['ModelElement']?_0x2a50e5!=_0x99cd41?null:_0x2a50e5:null;}accept(){this['_onAccept'](this['getRanges'](),this['data'],this['attributes']),this['removeMarkers']();}['discard'](){this['_onDiscard'](this['getRanges'](),this['data'],this['attributes']),this['removeMarkers']();}getAllAdjacentSuggestions(){const _0x14dbb7=[];let _0x51f4c9=this['head'];for(;_0x51f4c9;)_0x14dbb7['push'](_0x51f4c9),_0x51f4c9=_0x51f4c9['next'];return _0x14dbb7;}setAttribute(_0x1016e2,_0x1827cd){const _0x19da6a=wt(this['attributes']);Ht(_0x19da6a,_0x1016e2,_0x1827cd),ft(_0x19da6a,this['attributes'])||(this['attributes']=_0x19da6a,this['_onAttributesChange'](_0x19da6a));}removeAttribute(_0x436a6c){const _0x53bf6f=wt(this['attributes']);Rt(_0x53bf6f,_0x436a6c),ft(_0x53bf6f,this['attributes'])||(this['attributes']=_0x53bf6f,this['_onAttributesChange'](this['attributes']));}toJSON(){return{'id':this['id'],'type':this['subType']?this['type']+':'+this['subType']:this['type'],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this['data'],'attributes':this['attributes']};}static getMultiRangeId(){return(0x0,_0x491313['uid'])()['substr'](0x1,0x5);}};function _0x2570ab(_0x6e39eb,_0x2f55b4,_0xf57991){const _0x4c8def=_0x6e39eb['t'],t=_0x6e39eb['t'];switch(_0x2f55b4){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0xf57991);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xf57991);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xf57991);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xf57991);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xf57991);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0xf57991);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xf57991);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xf57991);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xf57991);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xf57991);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xf57991);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xf57991);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xf57991);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xf57991);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xf57991);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xf57991);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xf57991);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xf57991);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xf57991);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xf57991);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xf57991);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xf57991);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xf57991);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xf57991);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xf57991);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0xf57991);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xf57991);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xf57991);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xf57991);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xf57991);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xf57991);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xf57991);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xf57991);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_RAW_HTML':return t({'string':'raw\x20HTML','id':'ELEMENT_RAW_HTML'});case'ELEMENT_HTML_TAG':return t({'string':'%1\x20element','plural':'%0\x20%1\x20elements','id':'ELEMENT_HTML_TAG'},_0xf57991);case'FORMAT_RAW_HTML_CONTENT':return t({'string':'raw\x20HTML\x20content','id':'FORMAT_RAW_HTML_CONTENT'});case'FORMAT_HTML_CLASS':return t({'string':'style','id':'FORMAT_HTML_CLASS'});case'FORMAT_HTML_ATTRIBUTE':return t({'string':'metadata','id':'FORMAT_HTML_ATTRIBUTE'});case'FORMAT_HTML_LIST_ITEM':return t({'string':'list\x20item\x20HTML','id':'FORMAT_HTML_LIST_ITEM'});case'FORMAT_HTML_BULLETED_LIST':return t({'string':'list\x20HTML','id':'FORMAT_HTML_BULLETED_LIST'});case'FORMAT_HTML_NUMBERED_LIST':return t({'string':'list\x20HTML','id':'FORMAT_HTML_NUMBERED_LIST'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0xf57991);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xf57991);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xf57991);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xf57991);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xf57991);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xf57991);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xf57991);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0xf57991);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_FOOTER_ROW':return t({'string':'footer\x20row','id':'FORMAT_FOOTER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_MEDIA_SIZE':return t({'string':'media\x20size','id':'FORMAT_MEDIA_SIZE'});case'FORMAT_MEDIA_ALIGN_LEFT':return t({'string':'align\x20left','id':'FORMAT_MEDIA_ALIGN_LEFT'});case'FORMAT_MEDIA_ALIGN_BLOCK_LEFT':return t({'string':'align\x20block\x20left','id':'FORMAT_MEDIA_ALIGN_BLOCK_LEFT'});case'FORMAT_MEDIA_ALIGN_CENTER':return t({'string':'align\x20center','id':'FORMAT_MEDIA_ALIGN_CENTER'});case'FORMAT_MEDIA_ALIGN_BLOCK_RIGHT':return t({'string':'align\x20block\x20right','id':'FORMAT_MEDIA_ALIGN_BLOCK_RIGHT'});case'FORMAT_MEDIA_ALIGN_RIGHT':return t({'string':'align\x20right','id':'FORMAT_MEDIA_ALIGN_RIGHT'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xf57991);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xf57991);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0xf57991);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xf57991);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0xf57991);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xf57991);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0xf57991);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0xf57991);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0xf57991);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xf57991);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0xf57991);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xf57991);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'AI_SOURCE_PILL_LABEL':return t({'string':'AI-generated','id':'AI_SOURCE_PILL_LABEL'});case'AI_SOURCE_PILL_TOOLTIP':return t({'string':'This\x20suggestion\x20was\x20proposed\x20by\x20AI.','id':'AI_SOURCE_PILL_TOOLTIP'});case'AI_AUTHOR_DEFAULT_NAME':return t({'string':'AI\x20Assistant','id':'AI_AUTHOR_DEFAULT_NAME'});case'EXTERNAL_AVATAR':return _0x4c8def({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xf57991);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4c8def({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xf57991);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xf57991);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0xf57991);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0xf57991);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0xf57991);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2f55b4;}}var _0x61679f=class{_customCallbacks;_itemLabels;_itemLabelsCallbacks;_attributeLabels;['_schema'];['_locale'];constructor(_0x56afce,_0x466679){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x56afce,this['_locale']=_0x466679;}getDescriptions(_0x1073b5){const _0x2ef03e=[],_0x68ef7a=new Set(),_0x278c76=new Set();for(let _0x1f132e=0x0;_0x1f132e<_0x1073b5['length'];_0x1f132e++){const _0x14d65f=_0x1073b5[_0x1f132e];if(!_0x14d65f['isInContent'])continue;const _0x359fd9=this['_handleCustomCallbackDescription'](_0x14d65f);if(_0x359fd9){if(null!=_0x14d65f['subType']){if(_0x68ef7a['has'](_0x14d65f['subType']))continue;_0x68ef7a['add'](_0x14d65f['subType']);}_0x2ef03e['push'](_0x359fd9);}else{if('attribute'==_0x14d65f['type']){const _0x1495b5=_0x14d65f['data']['key'];if(_0x278c76['has'](_0x1495b5))continue;_0x278c76['add'](_0x14d65f['data']['key']),'$elementName'==_0x1495b5?this['_handleRenameSuggestionDescription'](_0x2ef03e,_0x14d65f):this['_handleAttributeSuggestionDescription'](_0x2ef03e,_0x14d65f);continue;}'insertion'!=_0x14d65f['type']&&'deletion'!=_0x14d65f['type']||this['_handleInsertRemoveSuggestionDescription'](_0x2ef03e,_0x14d65f,_0x1073b5[_0x1f132e+0x1]);}}return this['_resolveDescriptionItems'](_0x2ef03e);}registerDescriptionCallback(_0x13465d){this['_customCallbacks']['push'](_0x13465d);}registerElementLabel(_0x4a4c73,_0x11b576,_0x1a83fa=_0x491313['priorities']['normal']){'function'==typeof _0x4a4c73?(0x0,_0x491313['insertToPriorityArray'])(this['_itemLabelsCallbacks'],{'matchingCallback':_0x4a4c73,'label':_0x11b576,'priority':_0x1a83fa}):this['_itemLabels']['set'](_0x4a4c73,_0x11b576);}registerAttributeLabel(_0x3bae14,_0x435ecc){this['_attributeLabels']['set'](_0x3bae14,_0x435ecc);}getItemLabel(_0x54753a,_0x3bb4e0=0x1){let _0x221fc3;for(const _0x363bc8 of this['_itemLabelsCallbacks'])if(_0x363bc8['matchingCallback'](_0x54753a)){_0x221fc3=_0x363bc8['label'];break;}return _0x221fc3||(_0x221fc3=this['_itemLabels']['get'](_0x54753a['name'])),_0x221fc3?_0x221fc3(_0x3bb4e0):0x1!==_0x3bb4e0?_0x3bb4e0+'\x20'+_0x54753a['name']+'s':''+_0x54753a['name'];}_addDescriptionItems(_0x20225e,_0x46d067){const _0x48d78d=_0x46d067['getFirstRange']()['getWalker'](),_0x24419='insertion'==_0x46d067['type']?'add':'remove';for(const _0x22c98f of _0x48d78d){const _0x17db62=_0x22c98f['item'],_0x1d8e80=_0x20225e[_0x20225e['length']-0x1];if(_0x17db62['is']('$textProxy'))_0x1d8e80&&_0x1d8e80['type']['indexOf']('Container')>-0x1&&_0x20225e['pop'](),_0x1d8e80&&'text'==_0x1d8e80['type']?_0x1d8e80[_0x24419]+=_0x17db62['data']:_0x20225e['push']({'type':'text','add':'add'==_0x24419?_0x17db62['data']:'','remove':'remove'==_0x24419?_0x17db62['data']:''});else{if(this['_schema']['isObject'](_0x17db62)){const _0x3c725f=_0x17db62;if(_0x1d8e80&&_0x1d8e80['type']['indexOf']('Container')>-0x1&&_0x20225e['pop'](),'elementEnd'==_0x22c98f['type'])continue;_0x1d8e80&&_0x1d8e80['type']==_0x24419+'Object'&&_0x1d8e80['element']['name']==_0x3c725f['name']?_0x1d8e80['quantity']++:_0x20225e['push']({'type':_0x24419+'Object','element':_0x3c725f,'quantity':0x1}),_0x48d78d['skip'](_0x3ad256=>!('elementEnd'==_0x3ad256['type']&&_0x3ad256['item']==_0x17db62));}else{if(this['_schema']['checkChild'](_0x17db62,'$text')||_0x17db62['is']('element','softBreak')){const _0x130684=_0x17db62;if('add'==_0x24419&&'elementStart'==_0x22c98f['type']||'remove'==_0x24419&&'elementEnd'==_0x22c98f['type'])continue;if(_0x1d8e80&&-0x1==_0x1d8e80['type']['indexOf']('Container')){'text'==_0x1d8e80['type']&&(_0x1d8e80[_0x24419]+='\x0a');continue;}let _0x146f35;if(_0x146f35='add'==_0x24419?_0x130684['nextSibling']&&!this['_schema']['isObject'](_0x130684['nextSibling'])?_0x130684['nextSibling']:null:_0x130684['previousSibling']&&!this['_schema']['isObject'](_0x130684['previousSibling'])?_0x130684['previousSibling']:null,_0x130684['isEmpty']||_0x146f35&&_0x146f35['isEmpty']){const _0x2e24a9=_0x146f35&&_0x146f35['isEmpty']?_0x146f35:_0x130684;_0x1d8e80&&_0x1d8e80['type']==_0x24419+'EmptyContainer'&&_0x1d8e80['element']['name']==_0x2e24a9['name']?_0x1d8e80['quantity']++:_0x20225e['push']({'type':_0x24419+'EmptyContainer','element':_0x2e24a9,'quantity':0x1});}else _0x20225e['push']({'type':_0x24419+'Container','element':_0x130684});}}}}}_resolveDescriptionItems(_0x19d767){const _0x199db3=this['_locale'],_0x9caaf7=[],_0x4eee6c=[],_0x20def8=[];for(const _0x48e705 of _0x19d767)switch(_0x48e705['type']){case'text':if(_0x48e705['add']=_0x48e705['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x48e705['remove']=_0x48e705['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x48e705['add']&&''!=_0x48e705['remove']){_0x9caaf7['push']({'type':'replace','content':_0x2570ab(_0x199db3,'REPLACE_TEXT',['\x22'+_0x48e705['remove']+'\x22','\x22'+_0x48e705['add']+'\x22'])});continue;}if(null!=_0x48e705['add']['match'](/^ +$/)){_0x9caaf7['push']({'type':'insertion','content':_0x2570ab(_0x199db3,'*Insert:*\x20%0',_0x2570ab(_0x199db3,'ELEMENT_SPACE',_0x48e705['add']['length']))});continue;}if(null!=_0x48e705['remove']['match'](/^ +$/)){_0x9caaf7['push']({'type':'deletion','content':_0x2570ab(_0x199db3,'*Remove:*\x20%0',_0x2570ab(_0x199db3,'ELEMENT_SPACE',_0x48e705['remove']['length']))});continue;}if(''!=_0x48e705['add']){_0x9caaf7['push']({'type':'insertion','content':_0x2570ab(_0x199db3,'*Insert:*\x20%0','\x22'+_0x48e705['add']+'\x22')});continue;}_0x9caaf7['push']({'type':'deletion','content':_0x2570ab(_0x199db3,'*Remove:*\x20%0','\x22'+_0x48e705['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x9caaf7['push']({'type':'insertion','content':_0x2570ab(_0x199db3,'*Insert:*\x20%0',this['getItemLabel'](_0x48e705['element'],_0x48e705['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x9caaf7['push']({'type':'deletion','content':_0x2570ab(_0x199db3,'*Remove:*\x20%0',this['getItemLabel'](_0x48e705['element'],_0x48e705['quantity']))});continue;case'addContainer':_0x9caaf7['push']({'type':'insertion','content':_0x2570ab(_0x199db3,'*Split:*\x20%0',this['getItemLabel'](_0x48e705['element'],_0x48e705['quantity']))});continue;case'removeContainer':_0x9caaf7['push']({'type':'deletion','content':_0x2570ab(_0x199db3,'*Merge:*\x20%0',this['getItemLabel'](_0x48e705['element'],_0x48e705['quantity']))});continue;case'addFormat':_0x4eee6c['push'](_0x48e705['key']);continue;case'removeFormat':_0x20def8['push'](_0x48e705['key']);continue;default:_0x9caaf7['push'](_0x48e705);}if(_0x4eee6c['length']){const _0x5fd1c6=_0x4eee6c['map'](_0x4cf238=>this['_attributeLabels']['has'](_0x4cf238)?this['_attributeLabels']['get'](_0x4cf238):_0x4cf238)['join'](',\x20');_0x9caaf7['push']({'type':'format','content':_0x2570ab(this['_locale'],'*Set\x20format:*\x20%0',_0x5fd1c6)});}if(_0x20def8['length']){const _0x551e8f=_0x20def8['map'](_0xc8135b=>this['_attributeLabels']['has'](_0xc8135b)?this['_attributeLabels']['get'](_0xc8135b):_0xc8135b)['join'](',\x20');_0x9caaf7['push']({'type':'format','content':_0x2570ab(this['_locale'],'*Remove\x20format:*\x20%0',_0x551e8f)});}return _0x9caaf7;}_handleCustomCallbackDescription(_0x1e1653){for(const _0x631de4 of this['_customCallbacks']){const _0x3cc9bf=_0x631de4(_0x1e1653);if(_0x3cc9bf&&'type'in _0x3cc9bf)return _0x3cc9bf;}}_handleAttributeSuggestionDescription(_0x45e8d5,_0x337675){const _0x574769=_0x337675['data'],_0x39766b=void 0x0===_0x574769['newValue']?'removeFormat':'addFormat';_0x45e8d5['push']({'type':_0x39766b,'key':_0x574769['key']});}_handleRenameSuggestionDescription(_0x4a3b63,_0x486df6){_0x4a3b63['push']({'type':'format','content':_0x2570ab(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x486df6['getFirstRange']()['start']['nodeAfter'],0x1))});}_handleInsertRemoveSuggestionDescription(_0x229ebd,_0xb29dfe,_0x3f42f1){if(this['_addDescriptionItems'](_0x229ebd,_0xb29dfe),_0x3f42f1&&_0x3f42f1['getFirstRange']()&&!_0xb29dfe['getFirstRange']()['end']['isEqual'](_0x3f42f1['getFirstRange']()['start'])){const _0x239635=_0x229ebd[_0x229ebd['length']-0x1],_0x43812a='insertion'==_0xb29dfe['type']?'add':'remove';_0x239635&&'text'==_0x239635['type']&&(_0x239635[_0x43812a]+='\x0a');}}},_0x485864=class extends _0x491313['Plugin']{afterInit(){const _0x1f2df5=this['editor'],_0x16fd51=_0x1f2df5['plugins']['get']('TrackChangesEditing');_0x1f2df5['commands']['get']('showAIAssistant')&&_0x16fd51['enableCommand']('showAIAssistant');}},_0x494d3e=class extends _0x491313['Plugin']{afterInit(){const _0x46adc9=this['editor'],_0x444c66=_0x46adc9['plugins']['get']('TrackChangesEditing');_0x46adc9['commands']['get']('toggleAi')&&_0x444c66['enableCommand']('toggleAi');}},_0x70c341=class extends _0x491313['Plugin']{afterInit(){const _0x4c26fa=this['editor'],_0x54efec=_0x4c26fa['plugins']['get']('TrackChangesEditing');_0x4c26fa['commands']['get']('aiQuickAction')&&_0x54efec['enableCommand']('aiQuickAction');}},_0x518672=class extends _0x491313['Plugin']{afterInit(){const _0x260942=this['editor'],_0x3b18bb=_0x260942['locale'];if(!_0x260942['plugins']['has']('AlignmentEditing'))return;const _0x4bc3ba=_0x260942['plugins']['get']('TrackChangesEditing');_0x4bc3ba['enableDefaultAttributesIntegration']('alignment'),_0x4bc3ba['descriptionFactory']['registerAttributeLabel']('alignment',_0x2570ab(_0x3b18bb,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x4567a4=this['editor'],_0x1bb4e1=_0x4567a4['locale'];_0x4567a4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4a3854=>{if('formatBlock'!=_0x4a3854['type'])return;const {data:_0x441545}=_0x4a3854;if(_0x441545&&'alignment'==_0x441545['commandName']){const _0x38485e=_0x441545['commandParams'][0x0]['value'];return{'type':'format','content':_0x2570ab(_0x1bb4e1,'*Format:*\x20%0',function(_0x163d8c){switch(_0x163d8c){case'left':return _0x2570ab(_0x1bb4e1,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x2570ab(_0x1bb4e1,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x2570ab(_0x1bb4e1,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x2570ab(_0x1bb4e1,'FORMAT_JUSTIFY_TEXT');}}(_0x38485e))};}});}};const _0x3f2c02=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var _0x9f597e=class extends _0x491313['Plugin']{afterInit(){const _0x506507=this['editor'],_0xab5ac5=_0x506507['plugins']['get']('TrackChangesEditing'),_0x272a8c=_0x506507['locale'];for(const _0x1ce3e0 of _0x3f2c02){if(!_0x506507['plugins']['has'](_0x1ce3e0))continue;const _0x38b330=_0x1ce3e0['slice'](0x0,-0x7)['toLowerCase'](),_0x384a2d='FORMAT_'+_0x38b330['toUpperCase']();_0xab5ac5['enableDefaultAttributesIntegration'](_0x38b330),_0xab5ac5['descriptionFactory']['registerAttributeLabel'](_0x38b330,_0x2570ab(_0x272a8c,_0x384a2d));}this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x491adc=this['editor'],_0x3af0c3=_0x491adc['locale'],_0x2145bc=_0x491adc['plugins']['get']('TrackChangesEditing');function _0x204b57(_0x5094cf,_0x2e655b){_0x2145bc['descriptionFactory']['registerDescriptionCallback'](_0x2e351b=>{if('formatInline'!=_0x2e351b['type'])return;const {data:_0x3326e5}=_0x2e351b;return _0x3326e5&&_0x3326e5['commandName']===_0x5094cf?_0x3326e5['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2570ab(_0x3af0c3,'*Format:*\x20%0',_0x2e655b)}:{'type':'format','content':_0x2570ab(_0x3af0c3,'*Remove\x20format:*\x20%0',_0x2e655b)}:void 0x0;});}_0x204b57('bold',_0x2570ab(_0x3af0c3,'FORMAT_BOLD')),_0x204b57('italic',_0x2570ab(_0x3af0c3,'FORMAT_ITALIC')),_0x204b57('underline',_0x2570ab(_0x3af0c3,'FORMAT_UNDERLINE')),_0x204b57('code',_0x2570ab(_0x3af0c3,'FORMAT_CODE')),_0x204b57('strikethrough',_0x2570ab(_0x3af0c3,'FORMAT_STRIKETHROUGH')),_0x204b57('subscript',_0x2570ab(_0x3af0c3,'FORMAT_SUBSCRIPT')),_0x204b57('superscript',_0x2570ab(_0x3af0c3,'FORMAT_SUPERSCRIPT'));}},_0x700702=class extends _0x491313['Plugin']{afterInit(){const _0x5653d8=this['editor'],_0x114443=_0x5653d8['locale'];if(!_0x5653d8['plugins']['has']('BlockQuoteEditing'))return;const _0x432468=_0x5653d8['plugins']['get']('TrackChangesEditing'),_0x6aafb=this['editor']['commands']['get']('blockQuote');_0x432468['enableCommand']('blockQuote',(_0x229624,_0x1a2f3a={})=>{const _0x1da3d7=this['editor']['model']['document']['selection'],_0x4f63ca=_0x1a2f3a&&void 0x0!==_0x1a2f3a['forceValue']?_0x1a2f3a['forceValue']:!_0x6aafb['value'];let _0x3ec71c=[];_0x3ec71c=_0x3fe1e9(_0x4f63ca?Array['from'](_0x1da3d7['getSelectedBlocks']())['filter'](_0x54e862=>_0x1a63c8(_0x54e862)||function(_0x278133,_0x1b973b){const _0x912181=_0x1b973b['createContext'](_0x278133['parent']);return!!_0x1b973b['checkChild'](_0x912181,'blockQuote')&&!!_0x1b973b['checkChild'](_0x912181['push']('blockQuote'),_0x278133);}(_0x54e862,this['editor']['model']['schema'])):Array['from'](_0x1da3d7['getSelectedBlocks']())['filter'](_0x13ed7c=>_0x1a63c8(_0x13ed7c)),_0x5653d8['model']),_0x5653d8['model']['change'](()=>{for(const _0x4b1fbb of _0x3ec71c)_0x432468['markBlockFormat'](_0x4b1fbb,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x4f63ca}]});});}),_0x432468['descriptionFactory']['registerDescriptionCallback'](_0x11f736=>{const {data:_0x4417f2}=_0x11f736;if(_0x4417f2&&'blockQuote'==_0x4417f2['commandName']){const _0x4e0159=_0x2570ab(_0x114443,'ELEMENT_BLOCK_QUOTE');return _0x4417f2['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2570ab(_0x114443,'*Set\x20format:*\x20%0',_0x4e0159)}:{'type':'format','content':_0x2570ab(_0x114443,'*Remove\x20format:*\x20%0',_0x4e0159)};}});}};function _0x1a63c8(_0x40b6ee){return'blockQuote'==_0x40b6ee['parent']['name'];}var _0x11c579=class extends _0x491313['Plugin']{afterInit(){const _0x1ee545=this['editor'],_0x3ed174=_0x1ee545['locale'],_0x205754=_0x1ee545['plugins']['get']('TrackChangesEditing');_0x1ee545['plugins']['has']('BookmarkEditing')&&(_0x205754['enableCommand']('insertBookmark'),_0x205754['enableDefaultAttributesIntegration']('updateBookmark'),_0x205754['descriptionFactory']['registerDescriptionCallback'](_0x35296f=>{if('insertion'!=_0x35296f['type']&&'deletion'!=_0x35296f['type']&&'attribute'!=_0x35296f['type'])return;const _0x4a6008=_0x35296f['getContainedElement']();if(null==_0x4a6008)return;if(!_0x4a6008['is']('element','bookmark'))return;const _0x570a29=_0x4a6008['getAttribute']('bookmarkId');if('insertion'==_0x35296f['type'])return{'type':'insertion','content':_0x2570ab(_0x3ed174,'*Insert:*\x20%0','\x22'+_0x570a29+'\x22\x20'+_0x2570ab(_0x3ed174,'ELEMENT_BOOKMARK'))};if('deletion'==_0x35296f['type'])return{'type':'deletion','content':_0x2570ab(_0x3ed174,'*Remove:*\x20%0','\x22'+_0x570a29+'\x22\x20'+_0x2570ab(_0x3ed174,'ELEMENT_BOOKMARK'))};const {data:_0x5b5403}=_0x35296f;return _0x5b5403&&'bookmarkId'==_0x5b5403['key']?{'type':'format','content':_0x2570ab(_0x3ed174,'*Set\x20bookmark:*\x20%0','\x22'+_0x5b5403['newValue']+'\x22')}:void 0x0;}));}},_0x1ee328=class extends _0x491313['Plugin']{afterInit(){const _0x2be22c=this['editor'];_0x2be22c['plugins']['has']('CaseChange')&&(_0x2be22c['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x2be22c['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x2be22c['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}},_0x28234d=class extends _0x491313['Plugin']{afterInit(){const _0xf6405d=this['editor'];_0xf6405d['commands']['get']('ckbox')&&_0xf6405d['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}},_0x494f76=class extends _0x491313['Plugin']{static get requires(){return[_0x491313['ClipboardMarkersUtils'],_0x491313['ClipboardPipeline']];}constructor(_0x1a189e){super(_0x1a189e),this['editor']['config']['define']('trackChanges.clipboardMode','keep');}afterInit(){if('keep'===this['editor']['config']['get']('trackChanges.clipboardMode'))return;const _0x68256d=this['editor'],_0x44f4b8=_0x68256d['plugins']['get']('ClipboardMarkersUtils'),_0x14fbf1=_0x68256d['plugins']['get'](_0x491313['ClipboardPipeline']);_0x44f4b8['_registerMarkerToCopy']('suggestion',{'allowedActions':'all','copyPartiallySelected':!0x0,'duplicateOnPaste':!0x1}),_0x14fbf1['on']('outputTransformation',(_0x578294,_0x494c07)=>{const _0x444ee3=this['_getSuggestionEntries'](_0x494c07);for(const [_0x351f4a,_0x4cab98]of _0x494c07['content']['markers']){const _0x4db532=_0x491313['ModelLiveRange']['_fromRangeInDocumentFragment'](_0x4cab98,_0x68256d['model']);function _0x5481a0(){_0x4db532['detach'](),_0x494c07['content']['markers']['delete'](_0x351f4a);}_0x4db532['on']('change:drop',_0x5481a0),(_0x351f4a['startsWith']('suggestion:')||_0x351f4a['startsWith']('comment:'))&&_0x4db532['on']('change:range',()=>{_0x4db532['isCollapsed']&&_0x5481a0();}),_0x494c07['content']['markers']['set'](_0x351f4a,_0x4db532);}const _0x137225=_0x444ee3['filter'](_0x290f39=>'deletion'===_0x290f39['meta']['type'])['map'](_0x256902=>_0x256902['modelRange']);if(this['_shouldSkipDeletions'](_0x137225,_0x494c07['content']))return[..._0x444ee3]['forEach'](_0x3d78fb=>{_0x494c07['content']['markers']['get'](_0x3d78fb['markerName'])['detach'](),_0x494c07['content']['markers']['delete'](_0x3d78fb['markerName']);}),void this['_restoreRegularRanges'](_0x494c07['content']['markers']);[..._0x444ee3]['forEach'](_0x3b7b3e=>{const _0x402b7d=_0x68256d['plugins']['get']('TrackChangesEditing')['_suggestionFactory']['getSuggestionCallback'](_0x3b7b3e['meta']['type'],_0x3b7b3e['meta']['subType'],'accept'),{markerName:_0x52ee77,meta:_0xabf190}=_0x3b7b3e;if(_0x494c07['content']['markers']['has'](_0x52ee77)){switch(_0xabf190['type']){case'deletion':if('tableRow'===_0xabf190['subType']||'tableColumn'===_0xabf190['subType']){if(!_0x68256d['plugins']['has']('TableUtils'))break;const _0x59d283=_0x68256d['plugins']['get']('TableUtils'),_0x2a9d6c=_0x59d283['getSelectionAffectedTableCells'](_0x68256d['model']['createSelection'](_0x494c07['content']['markers']['get'](_0x52ee77))),_0x320b05=_0x2a9d6c[0x0]['findAncestor']('table');if('tableRow'===_0xabf190['subType']){const {first:_0x2e3c80,last:_0x2139ee}=_0x59d283['getRowIndexes'](_0x2a9d6c);_0x59d283['removeRows'](_0x320b05,{'at':_0x2e3c80,'rows':_0x2139ee-_0x2e3c80+0x1});}else{const {first:_0x4847a5,last:_0x1bc120}=_0x59d283['getColumnIndexes'](_0x2a9d6c);_0x59d283['removeColumns'](_0x320b05,{'at':_0x4847a5,'columns':_0x1bc120-_0x4847a5+0x1});}break;}_0x402b7d([_0x494c07['content']['markers']['get'](_0x52ee77)]);}_0x494c07['content']['markers']['has'](_0x52ee77)&&(_0x494c07['content']['markers']['get'](_0x52ee77)['detach'](),_0x494c07['content']['markers']['delete'](_0x52ee77));}}),this['_restoreRegularRanges'](_0x494c07['content']['markers']);});}_getSuggestionEntries(_0x49352f){const _0xefe6e7=_0x4a72f2=>'dragstart'===_0x49352f['method']?_0x4a72f2['split'](':')['slice'](0x0,-0x1)['join'](':'):_0x4a72f2;return Array['from'](_0x49352f['content']['markers'])['map'](([_0x56bb6a,_0x1e7605])=>({'markerName':_0x56bb6a,'modelRange':_0x1e7605,'meta':_0x41e4c4(_0xefe6e7(_0x56bb6a))}))['filter'](({meta:_0x31fe19})=>'suggestion'===_0x31fe19['group']);}_shouldSkipDeletions(_0x273159,_0x71b9f1){if(!_0x273159['length'])return!0x1;let _0x592cc1=[this['editor']['model']['createRangeIn'](_0x71b9f1)];for(const _0x1ab8d3 of _0x273159)_0x592cc1=_0x592cc1['flatMap'](_0x3a37e2=>_0x3a37e2['getDifference'](_0x1ab8d3));return!_0x592cc1['some'](_0x1da13e=>this['editor']['model']['hasContent'](_0x1da13e,{'ignoreMarkers':!0x0}));}_restoreRegularRanges(_0x889b2a){[..._0x889b2a['keys']()]['forEach'](_0x5b3efe=>{const _0x9a43cd=_0x889b2a['get'](_0x5b3efe);_0x9a43cd['detach'](),_0x889b2a['set'](_0x5b3efe,_0x9a43cd['toRange']());});}},_0x119c04=class extends _0x491313['Plugin']{afterInit(){const _0x4ed916=this['editor'];if(!_0x4ed916['plugins']['has']('CodeBlock'))return;const _0x111987=_0x4ed916['plugins']['get']('TrackChangesEditing'),_0x46e716=_0x4ed916['locale'],_0xaa57e6=_0x4ed916['config']['get']('codeBlock')['languages'],_0x5f587b=_0x4ed916['commands']['get']('codeBlock');_0x111987['enableCommand']('indentCodeBlock'),_0x111987['enableCommand']('outdentCodeBlock'),_0x111987['enableCommand']('codeBlock',(_0x5da166,_0x208243={})=>{const _0x302e89=_0x4ed916['model'],_0x49bc9c=_0x4ed916['model']['document']['selection'],_0x154188=_0x208243&&void 0x0!==_0x208243['forceValue']?_0x208243['forceValue']:!_0x5f587b['value'];let _0x10b223;_0x208243['language']||(_0x208243['language']=_0xaa57e6[0x0]['language']),_0x10b223=_0x154188?Array['from'](_0x49bc9c['getSelectedBlocks']())['filter'](_0x44a774=>_0x40dd01(_0x44a774)||function(_0x417ecb,_0x387468){return!_0x417ecb['is']('rootElement')&&!_0x387468['isLimit'](_0x417ecb)&&_0x387468['checkChild'](_0x417ecb['parent'],'codeBlock');}(_0x44a774,_0x302e89['schema'])):Array['from'](_0x49bc9c['getSelectedBlocks']())['filter'](_0x2d38c1=>_0x40dd01(_0x2d38c1));const _0x32506d=_0x3fe1e9(_0x10b223,_0x302e89);_0x302e89['change'](()=>{for(const _0x3d6a6f of _0x32506d)_0x111987['markBlockFormat'](_0x3d6a6f,{'commandName':'codeBlock','commandParams':[{..._0x208243,'forceValue':_0x154188}],'formatGroupId':'blockName'});});}),(_0x111987['descriptionFactory']['registerElementLabel']('codeBlock',_0x290891=>_0x2570ab(_0x46e716,'ELEMENT_CODE_BLOCK',_0x290891)),_0x111987['descriptionFactory']['registerDescriptionCallback'](_0x3ab7a7=>{if('formatBlock'!=_0x3ab7a7['type'])return;const _0x667aba=_0x46e716['t'],{data:_0x9a1be8}=_0x3ab7a7;if(!_0x9a1be8||'codeBlock'!=_0x9a1be8['commandName'])return;const _0x41785a=_0x9a1be8['commandParams'][0x0]['language'],_0x43e905=_0xaa57e6['find'](_0xaa0205=>_0xaa0205['language']===_0x41785a)['label'],_0x2530a3=_0x667aba(_0x43e905)['toLowerCase']();return _0x9a1be8['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2570ab(_0x46e716,'*Set\x20format:*\x20%0',_0x2570ab(_0x46e716,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x2530a3+')')}:{'type':'format','content':_0x2570ab(_0x46e716,'*Remove\x20format:*\x20%0',_0x2570ab(_0x46e716,'ELEMENT_CODE_BLOCK',0x1))};}));}};function _0x40dd01(_0x15a930){return'codeBlock'==_0x15a930['name'];}var _0x29bbfb=class extends _0x491313['Plugin']{afterInit(){const _0x79ec47=this['editor'];_0x79ec47['plugins']['has']('CommentsEditing')&&_0x79ec47['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}},_0x439a7d=class extends _0x491313['Plugin']{static get requires(){return[_0x491313['Delete']];}init(){const _0x4ebb77=this['editor'],_0x5d2458=_0x4ebb77['plugins']['get']('TrackChangesEditing');_0x5d2458['enableCommand']('delete');const _0x4d06f9=_0x4ebb77['commands']['get']('deleteForward');_0x5d2458['enableCommand']('deleteForward',(_0x3fd517,_0x50af78={})=>{const _0x4377f3=_0x4ebb77['model']['createSelection'](_0x4ebb77['model']['document']['selection']);_0x4377f3['isCollapsed']&&_0x4ebb77['model']['modifySelection'](_0x4377f3,{'direction':'forward','unit':_0x50af78['unit']});const _0x4cb942=_0x4377f3['getFirstRange'](),_0x1d0f6c=_0x491313['ModelLiveRange']['fromRange'](_0x4cb942);let _0xefa586;_0x3fd517(_0x50af78),_0xefa586='$graveyard'==_0x1d0f6c['root']['rootName']?_0x4ebb77['model']['createRange'](_0x4cb942['start']):_0x4ebb77['model']['createRange'](_0x1d0f6c['start'],_0x1d0f6c['end']),_0x1d0f6c['detach'](),_0x4ebb77['model']['enqueueChange'](_0x4d06f9['buffer']['batch'],_0x45f63c=>{_0x4d06f9['buffer']['lock'](),_0x45f63c['setSelection'](_0x45f63c['createRange'](_0xefa586['end'])),_0x4d06f9['buffer']['unlock']();});});}},_0x31d2c9=class extends _0x491313['Plugin']{afterInit(){const _0x4d6687=this['editor'];if(!_0x4d6687['plugins']['has']('ListEditing'))return;const _0x34d052=_0x4d6687['locale'],_0xc8360a=_0x4d6687['plugins']['get']('TrackChangesEditing'),_0x87a25a=_0x4d6687['plugins']['has']('TodoListEditing'),_0x42f3dc=!!_0x4d6687['config']['get']('list.multiBlock');function _0x580e49(_0x50f831){return{'type':'format','content':''+_0x2570ab(_0x34d052,'*Set\x20format:*\x20%0',_0x50f831)};}function _0x37208f(_0x5eade2){return{'type':'format','content':''+_0x2570ab(_0x34d052,'*Remove\x20format:*\x20%0',_0x5eade2)};}_0xc8360a['enableDefaultAttributesIntegration']('numberedList'),_0xc8360a['enableDefaultAttributesIntegration']('bulletedList'),_0xc8360a['enableDefaultAttributesIntegration']('customNumberedList'),_0xc8360a['enableDefaultAttributesIntegration']('customBulletedList'),_0xc8360a['enableDefaultAttributesIntegration']('indentList'),_0xc8360a['enableDefaultAttributesIntegration']('outdentList'),_0xc8360a['enableDefaultAttributesIntegration']('splitListItemAfter'),_0xc8360a['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x42f3dc&&(_0xc8360a['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0xc8360a['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x87a25a&&(_0xc8360a['enableDefaultAttributesIntegration']('todoList'),_0xc8360a['enableDefaultAttributesIntegration']('checkTodoList'),_0xc8360a['descriptionFactory']['registerDescriptionCallback'](_0x216ab5=>{const {data:_0x24530f}=_0x216ab5;if(_0x24530f&&'todoListChecked'==_0x24530f['key'])return{'type':'format','content':_0x24530f['newValue']?_0x2570ab(_0x34d052,'*Check\x20item*'):_0x2570ab(_0x34d052,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0xed2a4a=>{if(_0xed2a4a['batch']['isUndo'])return!0x1;let _0xfa04fb=!0x1;const _0x29279c=_0xc8360a['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1e0a3f=>'todoListChecked'===_0xc8360a['_getAttributeKey'](_0x1e0a3f));for(const _0x11d638 of _0x29279c)'todo'!=_0x11d638['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0xc8360a['_findSuggestions'](_0x11d638['getFirstRange'](),'attribute')['find'](_0x3161fd=>'listType'===_0xc8360a['_getAttributeKey'](_0x3161fd['suggestion']))||(_0xed2a4a['removeMarker'](_0x11d638['getFirstMarker']()),_0xfa04fb=!0x0));return _0xfa04fb;})),_0xc8360a['descriptionFactory']['registerAttributeLabel']('listIndent',_0x2570ab(_0x34d052,'FORMAT_INDENT'));const _0x3a371f={'type':'format','content':''};_0xc8360a['descriptionFactory']['registerDescriptionCallback'](_0x3470a7=>{const {data:_0x530f3d}=_0x3470a7;if(!_0x530f3d||'listType'!=_0x530f3d['key'])return;let _0x5157e4=_0x3470a7['head'];for(;_0x5157e4;){if(_0x5157e4['data']&&(('listStyle'==_0x5157e4['data']['key']||'listMarkerStyle'==_0x5157e4['data']['key'])&&(_0x5157e4['data']['newValue']&&'default'!=_0x5157e4['data']['newValue']||'default'!=_0x5157e4['data']['oldValue']&&!_0x530f3d['newValue'])||!_0x42f3dc&&'$elementName'==_0x5157e4['data']['key']))return _0x3a371f;_0x5157e4=_0x5157e4['next'];}if(null==_0x530f3d['newValue'])switch(_0x530f3d['oldValue']){case'bulleted':return _0x37208f(_0x2570ab(_0x34d052,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x37208f(_0x2570ab(_0x34d052,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x37208f(_0x2570ab(_0x34d052,'ELEMENT_TODO_LIST'));}switch(_0x530f3d['newValue']){case'bulleted':return _0x580e49(_0x2570ab(_0x34d052,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x580e49(_0x2570ab(_0x34d052,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x580e49(_0x2570ab(_0x34d052,'ELEMENT_TODO_LIST'));}}),_0xc8360a['descriptionFactory']['registerDescriptionCallback'](_0x584fbd=>{const {data:_0x88fd3f}=_0x584fbd;if(_0x88fd3f&&'listIndent'==_0x88fd3f['key'])return null==_0x88fd3f['newValue']||null==_0x88fd3f['oldValue']&&0x0==_0x88fd3f['newValue']?_0x3a371f:void 0x0;}),_0xc8360a['descriptionFactory']['registerDescriptionCallback'](_0x9dc1fd=>{if('attribute'!=_0x9dc1fd['type'])return;const {data:_0x53a6b1}=_0x9dc1fd;if(!_0x53a6b1||'listItemId'!=_0x53a6b1['key'])return;const _0x16deee=_0x20f1ea(_0x9dc1fd);return'newValue'==_0x16deee?{'type':'format','content':_0x2570ab(_0x34d052,'*Merge:*\x20list\x20item')}:'oldValue'==_0x16deee?{'type':'format','content':_0x2570ab(_0x34d052,'*Split:*\x20list\x20item')}:_0x3a371f;}),_0x4d6687['model']['document']['registerPostFixer'](_0x3adc15=>this['listItemIdFixer'](_0x3adc15)),_0x4d6687['model']['document']['registerPostFixer'](_0x4a383b=>this['noTrackChangesFixer'](_0x4a383b)),_0x4d6687['model']['document']['on']('change:data',(_0x4b589c,_0x3333a8)=>{if(_0x3333a8['isUndo']||!_0x3333a8['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}listItemIdFixer(_0x34bcfa){if(_0x34bcfa['batch']['isUndo']||!_0x34bcfa['batch']['isLocal'])return!0x1;let _0x1daaef=!0x1;const _0x4e178c=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x559f25=>_0x559f25['data']&&'listItemId'==_0x559f25['data']['key'])['filter'](_0x117619=>_0x117619['data']['newValue']&&_0x117619['data']['oldValue']);for(const _0x34c711 of _0x4e178c)_0x20f1ea(_0x34c711)||(_0x34bcfa['removeMarker'](_0x34c711['getFirstMarker']()),_0x1daaef=!0x0);return _0x1daaef;}['noTrackChangesFixer'](_0x14ef66){if(_0x14ef66['batch']['isUndo']||!_0x14ef66['batch']['isLocal'])return!0x1;const _0x42f8b0=this['editor']['model']['document']['differ'],_0x2a59c5=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x2a59c5['trackChangesCommand']['value'])return!0x1;let _0x43a537=!0x1;const _0x4d6d12=new Set(['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes']),_0x17bb84=_0x42f8b0['getChanges']()['filter'](_0x4ca37d=>'attribute'==_0x4ca37d['type'])['filter'](_0x508c0f=>_0x4d6d12['has'](_0x508c0f['attributeKey']));if(0x0==_0x17bb84['length'])return _0x43a537;const _0x5c3039=new Set(_0x42f8b0['getMarkersToAdd']()['filter'](_0x1406f9=>{if(!_0x1406f9['name']['startsWith']('suggestion:attribute:'))return!0x1;const _0x221a7e=_0x41e4c4(_0x1406f9['name'])['subType']['split']('|')[0x0];return _0x4d6d12['has'](_0x221a7e);})['map'](_0x3edb6e=>_0x41e4c4(_0x3edb6e['name'])['id']));for(const _0x2953fb of _0x17bb84){const _0x28aeaf=_0x2a59c5['_findSuggestions'](_0x2953fb['range'],'attribute')['filter'](_0x41d432=>{if(_0x41d432['meta']['isNextTo'])return!0x1;if(_0x5c3039['has'](_0x41d432['suggestion']['id']))return!0x1;const _0x1f23ad=_0x2a59c5['_getAttributeKey'](_0x41d432['suggestion']);return _0x4d6d12['has'](_0x1f23ad);})['map'](_0xe6ba75=>_0xe6ba75['suggestion']);if(_0x28aeaf['length']){for(const _0x481114 of _0x28aeaf)_0x14ef66['removeMarker'](_0x481114['getFirstMarker']());_0x43a537=!0x0;}}return _0x43a537;}['assureChains'](){const _0x1f3b29=this['editor']['plugins']['get']('TrackChangesEditing'),_0x12d0b5=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes'];let _0x55e009;const _0x426bc0=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x3ae786=>{if(_0x3ae786['data']['oldRange']||!_0x3ae786['data']['newRange'])return null;if(!_0x3ae786['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x181069}=_0x41e4c4(_0x3ae786['name']);if(!_0x1f3b29['hasSuggestion'](_0x181069))return null;const _0x2cda71=_0x1f3b29['getSuggestion'](_0x181069);return _0x12d0b5['includes'](_0x2cda71['data']['key']);})['map'](_0x32e5aa=>{const {id:_0x3419c9}=_0x41e4c4(_0x32e5aa['name']),_0x3f6ecf=_0x1f3b29['getSuggestion'](_0x3419c9);return _0x55e009=_0x3f6ecf['attributes']['groupId'],_0x3f6ecf['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x426bc0['size'])return;const _0x568548=_0x1f3b29['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x403cce=>'attribute'==_0x403cce['type']&&_0x403cce['data']&&_0x12d0b5['includes'](_0x403cce['data']['key'])&&_0x403cce['attributes']['groupId']!=_0x55e009)['map'](_0x530445=>({'listItem':_0x530445['getFirstRange']()['start']['nodeAfter'],'groupId':_0x530445['attributes']['groupId']})),_0x11b2de=new Set();for(const {groupId:_0x1ff794,listItem:_0x1ac09b}of _0x568548)_0x426bc0['has'](_0x1ac09b)&&_0x11b2de['add'](_0x1ff794);for(const _0x3bcddc of _0x1f3b29['getSuggestions']())_0x11b2de['has'](_0x3bcddc['attributes']['groupId'])&&_0x3bcddc['setAttribute']('groupId',_0x55e009);}_supportLegacySuggestions(){const _0x2d502d=this['editor'],_0x49e471=_0x2d502d['locale'],_0x33400c=_0x2d502d['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x33400c['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x2430cb,_0x2b97b4){const _0x52f46d=[];for(let _0x56f08d of _0x2430cb)_0x56f08d['start']['nodeAfter']===_0x56f08d['end']['parent']&&(_0x56f08d=_0x2d502d['model']['createRange'](_0x2d502d['model']['createPositionAt'](_0x56f08d['start']['nodeAfter'],0x0))),_0x52f46d['push'](_0x56f08d);_0x2d502d['model']['change'](_0x5bdded=>{const _0x4f6e8e=_0x2d502d['model']['document']['selection'],_0xe5e0d3=Array['from'](_0x4f6e8e['getRanges']())['map'](_0x2be649=>_0x491313['ModelLiveRange']['fromRange'](_0x2be649));_0x5bdded['setSelection'](_0x52f46d),_0x2d502d['commands']['get'](_0x2b97b4['commandName'])['refresh'](),_0x2b97b4['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x2d502d['execute'](_0x2b97b4['commandName'],..._0x2b97b4['commandParams']),_0x5bdded['setSelection'](_0xe5e0d3);for(const _0x551a1a of _0xe5e0d3)_0x551a1a['detach']();});}),_0x33400c['descriptionFactory']['registerElementLabel'](function(_0x34a6ba){const _0x391893=!_0x2d502d['model']['schema']['isObject'](_0x34a6ba),_0x541a75=_0x34a6ba['previousSibling'],_0xd9d1be=_0x34a6ba['nextSibling'],_0x5316b7=_0x34a6ba['getAttribute']('listItemId'),_0x12de99=!_0x541a75||_0x541a75['getAttribute']('listItemId')!==_0x5316b7,_0x50ad08=!_0xd9d1be||_0xd9d1be['getAttribute']('listItemId')!==_0x5316b7;return _0x391893&&Boolean(_0x5316b7)&&_0x12de99&&_0x50ad08;},_0xfe7d5b=>_0x2570ab(_0x49e471,'ELEMENT_LIST_ITEM',_0xfe7d5b));}_registerLegacyDescription(){const _0x6ae672=this['editor'],_0x2226af=_0x6ae672['locale'];function _0x1b72a3(_0x44eb90){const _0x318ab6=_0x6ae672['commands']['get']('bulletedList')['value'],_0x5ed8fc=_0x6ae672['commands']['get']('numberedList')['value'];return'numberedList'===_0x44eb90?_0x318ab6:_0x5ed8fc;}_0x6ae672['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x3826f9){if('formatBlock'!=_0x3826f9['type'])return;const {data:_0x2ef970}=_0x3826f9;if(!_0x2ef970)return;let _0x31bf7e,_0x5dc603,_0x308d7d,_0x640953;switch(_0x2ef970['commandName']){case'bulletedList':_0x308d7d=_0x2ef970['commandParams'][0x0]['forceValue'],_0x640953=_0x1b72a3(_0x2ef970['commandName']),_0x31bf7e=_0x308d7d?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x640953&&_0x6ae672['config']['get']('list.multiBlock')||(_0x31bf7e='*Change\x20to:*\x20%0'),_0x5dc603={'type':'format','content':_0x2570ab(_0x2226af,_0x31bf7e,_0x2570ab(_0x2226af,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x308d7d=_0x2ef970['commandParams'][0x0]['forceValue'],_0x640953=_0x1b72a3(_0x2ef970['commandName']),_0x31bf7e=_0x308d7d?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x640953&&_0x6ae672['config']['get']('list.multiBlock')||(_0x31bf7e='*Change\x20to:*\x20%0'),_0x5dc603={'type':'format','content':_0x2570ab(_0x2226af,_0x31bf7e,_0x2570ab(_0x2226af,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x31bf7e='*Indent:*\x20%0',_0x5dc603={'type':'format','content':_0x2570ab(_0x2226af,_0x31bf7e,_0x2570ab(_0x2226af,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x31bf7e=function(_0x4fc0b9){const _0x3cfee7=_0x4fc0b9['getFirstRange']();let _0x41e39b=_0x3cfee7['start']['nodeAfter'];for(;_0x41e39b&&_0x3cfee7['containsItem'](_0x41e39b);){if(_0x41e39b['getAttribute']('listIndent')>0x0)return!0x1;_0x41e39b=_0x41e39b['nextSibling'];}return!0x0;}(_0x3826f9)?_0x2570ab(_0x2226af,'*Format:*\x20remove\x20from\x20%0',_0x2570ab(_0x2226af,function(_0x2fbbc1){return'ELEMENT_'+_0x2fbbc1['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x3826f9))):_0x2570ab(_0x2226af,'*Outdent:*\x20%0',_0x2570ab(_0x2226af,'ELEMENT_LIST_ITEM')),_0x5dc603={'type':'format','content':_0x31bf7e};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x2ef970['multipleBlocks']&&(_0x31bf7e='*Merge:*\x20%0',_0x5dc603={'type':'deletion','content':_0x2570ab(_0x2226af,_0x31bf7e,_0x2570ab(_0x2226af,'ELEMENT_LIST_ITEM'))});}return _0x5dc603;});}};function _0x20f1ea(_0x2cb33c){let _0x5197b4=_0x2cb33c['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x5197b4;){const _0x7abc45=_0x5197b4['getAttribute']('listItemId');if(!_0x7abc45)return!0x1;if(_0x7abc45==_0x2cb33c['data']['newValue'])return'newValue';if(_0x7abc45==_0x2cb33c['data']['oldValue'])return'oldValue';_0x5197b4=_0x5197b4['previousSibling'];}return!0x1;}var _0x316551=class extends _0x491313['Plugin']{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x575fa1=this['editor']['config']['get']('list.properties'),_0x3fef8c=this['editor']['plugins']['get']('TrackChangesEditing');_0x575fa1['styles']&&_0x3fef8c['enableDefaultAttributesIntegration']('listStyle'),_0x575fa1['reversed']&&_0x3fef8c['enableDefaultAttributesIntegration']('listReversed'),_0x575fa1['startIndex']&&_0x3fef8c['enableDefaultAttributesIntegration']('listStart');const _0x1c63ab={'type':'format','content':''};_0x3fef8c['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x657b8b=this['editor']['locale'];_0x3fef8c['descriptionFactory']['registerAttributeLabel']('listReversed',_0x2570ab(_0x657b8b,'FORMAT_LIST_REVERSED')),_0x3fef8c['descriptionFactory']['registerDescriptionCallback'](_0x1122df=>{const {data:_0x6efef8}=_0x1122df;if(_0x6efef8&&'listReversed'==_0x6efef8['key'])return null==_0x6efef8['newValue']||0x0==_0x6efef8['newValue']&&null==_0x6efef8['oldValue']?_0x1c63ab:void 0x0;}),_0x3fef8c['descriptionFactory']['registerAttributeLabel']('listStart',_0x2570ab(_0x657b8b,'FORMAT_LIST_START')),_0x3fef8c['descriptionFactory']['registerDescriptionCallback'](_0x402ced=>{const {data:_0x234ebe}=_0x402ced;if(_0x234ebe&&'listStart'==_0x234ebe['key'])return null==_0x234ebe['newValue']||0x1==_0x234ebe['newValue']&&null==_0x234ebe['oldValue']?_0x1c63ab:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0xa9fb76=>{if(_0xa9fb76['batch']['isUndo'])return!0x1;let _0x3dad57=!0x1;const _0x4ce64b=_0x3fef8c['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x49420c=>{const _0x3bc750=_0x3fef8c['_getAttributeKey'](_0x49420c);return'listStart'==_0x3bc750||'listReversed'==_0x3bc750;});for(const _0x2c008d of _0x4ce64b){const _0x41c1ae=_0x2c008d['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');'numbered'!=_0x41c1ae&&'customNumbered'!=_0x41c1ae&&(_0x3fef8c['_findSuggestions'](_0x2c008d['getFirstRange'](),'attribute')['find'](_0x4cb818=>'listType'==_0x3fef8c['_getAttributeKey'](_0x4cb818['suggestion']))||(_0xa9fb76['removeMarker'](_0x2c008d['getFirstMarker']()),_0x3dad57=!0x0));}return _0x3dad57;}),this['_registerLegacyDescription']();}handleDescriptions(_0x57768a){const _0x8710fa=this['editor']['locale'],{data:_0x2dcb24}=_0x57768a,_0x3973d7={'type':'format','content':''};if(!_0x2dcb24||'listStyle'!=_0x2dcb24['key'])return;if(!_0x2dcb24['oldValue'])return'default'==_0x2dcb24['newValue']?_0x3973d7:{'type':'format','content':''+_0x2570ab(_0x8710fa,'*Set\x20format:*\x20%0',_0x2570ab(_0x8710fa,this['_getTranslationKeyForListStyle'](_0x2dcb24['newValue'])))};if(!_0x2dcb24['newValue']){if('default'==_0x2dcb24['oldValue'])return _0x3973d7;let _0x10e093=_0x57768a['head'];for(;_0x10e093;){if(_0x10e093['data']&&'listType'==_0x10e093['data']['key']&&_0x10e093['data']['newValue'])return _0x3973d7;_0x10e093=_0x10e093['next'];}return{'type':'format','content':''+_0x2570ab(_0x8710fa,'*Remove\x20format:*\x20%0',_0x2570ab(_0x8710fa,this['_getTranslationKeyForListStyle'](_0x2dcb24['oldValue'])))};}if('default'!=_0x2dcb24['newValue'])return{'type':'format','content':''+_0x2570ab(_0x8710fa,'*Set\x20format:*\x20%0',_0x2570ab(_0x8710fa,this['_getTranslationKeyForListStyle'](_0x2dcb24['newValue'])))};let _0x5ed007=_0x57768a['head'];for(;_0x5ed007;){if(_0x5ed007['data']&&'listType'==_0x5ed007['data']['key']&&_0x5ed007['data']['newValue']&&_0x5ed007['data']['oldValue'])return _0x3973d7;_0x5ed007=_0x5ed007['next'];}return{'type':'format','content':_0x2570ab(_0x8710fa,'*Set\x20format:*\x20%0',_0x2570ab(_0x8710fa,'ELEMENT_'+_0x57768a['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}_registerLegacyDescription(){const _0x141729=this['editor'],_0x342e34=_0x141729['locale'];_0x141729['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1dd5f6=>{if('formatBlock'!=_0x1dd5f6['type'])return;const {data:_0x427e84}=_0x1dd5f6;if(!_0x427e84)return;let _0xfe1681,_0xe33d40;switch(_0x427e84['commandName']){case'listStyle':_0xfe1681='*Change\x20to:*\x20%0',_0xe33d40={'type':'format','content':_0x2570ab(_0x342e34,_0xfe1681,_0x2570ab(_0x342e34,this['_getTranslationKeyForListStyle'](_0x427e84['commandParams'][0x0]['type'])))};break;case'listReversed':_0xfe1681=_0x427e84['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0xe33d40={'type':'format','content':_0x2570ab(_0x342e34,_0xfe1681)};break;case'listStart':_0xfe1681='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xe33d40={'type':'format','content':_0x2570ab(_0x342e34,_0xfe1681,_0x427e84['commandParams'][0x0]['startIndex'])};}return _0xe33d40;});}_getTranslationKeyForListStyle(_0xa37e82){return'ELEMENT_'+(_0x472115=_0xa37e82,tS['includes'](_0x472115)?'bulleted':_0x1873f5['includes'](_0x472115)?'numbered':null)['toUpperCase']()+'_LIST_'+_0xa37e82['toUpperCase']()['replace'](/-/g,'_');var _0x472115;}};const tS=['disc','circle','square'],_0x1873f5=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];var _0x44468e=class extends _0x491313['Plugin']{afterInit(){const _0x5028b8=this['editor'];_0x5028b8['commands']['get']('emoji')&&_0x5028b8['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}},_0x3ede44=class extends _0x491313['Plugin']{static get requires(){return[_0x491313['Enter']];}init(){const _0x38d2f8=this['editor'],_0x56e20b=_0x38d2f8['plugins']['get']('TrackChangesEditing'),_0x399bd3=_0x38d2f8['commands']['get']('enter');_0x56e20b['enableCommand']('enter',()=>{_0x38d2f8['model']['change'](_0x3cc6df=>{const _0x43d74c=_0x38d2f8['model']['document']['selection'],_0x2a9835=_0x43d74c['getFirstPosition'](),_0x372881=_0x491313['ModelLiveRange']['fromRange'](_0x43d74c['getFirstRange']());if(_0x399bd3['enterBlock'](_0x3cc6df)){const _0x581144=_0x38d2f8['model']['createPositionAt'](_0x2a9835['parent']['nextSibling'],0x0),_0x5eee9f=_0x3cc6df['createRange'](_0x2a9835,_0x581144);_0x56e20b['markInsertion'](_0x5eee9f);}else _0x3cc6df['setSelection'](_0x3cc6df['createRange'](_0x372881['end']));_0x372881['detach'](),_0x399bd3['fire']('afterExecute',{'writer':_0x3cc6df});});});}},_0x50ede8=class extends _0x491313['Plugin']{afterInit(){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x3b6d14=this['editor']['plugins']['get']('TrackChangesEditing');_0x3b6d14['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x3b6d14['enableCommand']('findNext'),_0x3b6d14['enableCommand']('findPrevious'),_0x3b6d14['enableCommand']('replace'),_0x3b6d14['enableCommand']('replaceAll');}['handleFindCommand'](_0x54ad76,_0xa39dac,_0x543205={}){const _0xa6171=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x54ad76(_0x1c77e7=>{let _0x1e0e25=('string'==typeof _0xa39dac?_0xa6171['findByTextCallback'](_0xa39dac,_0x543205):_0xa39dac)(_0x1c77e7);Array['isArray'](_0x1e0e25)&&(_0x1e0e25={'results':_0x1e0e25,'searchText':'string'==typeof _0xa39dac?_0xa39dac:''});const _0x2a5712=_0x1e0e25['results']['filter'](_0x127883=>!0x1===this['_isInDeletionRange'](_0x127883,_0x1c77e7['item']));return{..._0x1e0e25,'results':_0x2a5712};},_0x543205);}_isInDeletionRange(_0x10e585,_0x4f09f1){const _0x1fa604=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x4f09f1,_0x10e585['start']),this['editor']['model']['createPositionAt'](_0x4f09f1,_0x10e585['end']));for(const _0x337a4f of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x1fa604['getIntersection'](_0x337a4f['getRange']()))return!0x0;return!0x1;}};const _0x4d649d=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var _0x5be6a9=class extends _0x491313['Plugin']{afterInit(){const _0x11cb3f=this['editor']['locale'],_0x574e96=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x7d2df4,commandName:_0x1bd882}of _0x4d649d)this['editor']['plugins']['has'](_0x7d2df4)&&_0x574e96['enableDefaultAttributesIntegration'](_0x1bd882);_0x574e96['descriptionFactory']['registerAttributeLabel']('fontSize',_0x2570ab(_0x11cb3f,'FORMAT_FONT_SIZE')),_0x574e96['descriptionFactory']['registerAttributeLabel']('fontFamily',_0x2570ab(_0x11cb3f,'FORMAT_FONT_FAMILY')),_0x574e96['descriptionFactory']['registerAttributeLabel']('fontColor',_0x2570ab(_0x11cb3f,'FORMAT_FONT_COLOR')),_0x574e96['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',_0x2570ab(_0x11cb3f,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x40af48=this['editor'],_0x19e40a=_0x40af48['locale'];_0x40af48['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x10eebf=>{const _0x2b9ac6=_0x19e40a['t'];if('formatInline'!=_0x10eebf['type'])return;const {data:_0x76dd75}=_0x10eebf;if(null!=_0x76dd75){if('fontSize'==_0x76dd75['commandName']){const _0x353541=_0x76dd75['commandParams'][0x0]['value'];if(_0x353541){const _0x757e30=_0x2b9ac6(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x541935=>_0x541935['model']==_0x353541)['title'])['toLowerCase']();return{'type':'format','content':_0x2570ab(_0x19e40a,'*Set\x20font\x20size:*\x20%0',_0x757e30)};}return{'type':'format','content':_0x2570ab(_0x19e40a,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x76dd75['commandName']){const _0x223f48=_0x76dd75['commandParams'][0x0]['value'];return _0x223f48?{'type':'format','content':_0x2570ab(_0x19e40a,'*Set\x20font\x20family:*\x20%0',_0x223f48)}:{'type':'format','content':_0x2570ab(_0x19e40a,'*Reset\x20font\x20family*')};}if('fontColor'==_0x76dd75['commandName']){const _0x3350c4=_0x76dd75['commandParams'][0x0]['value'];if(_0x3350c4){const _0x2c4729=(0x0,_0x491313['normalizeColorOptions'])(this['editor']['config']['get']('fontColor.colors'))['find'](_0x8df24a=>_0x8df24a['model']==_0x3350c4);let _0x1454f0=_0x3350c4,_0x3541a0='';return _0x2c4729&&(_0x1454f0=_0x2c4729['label'],_0x3541a0=_0x2b9ac6(_0x1454f0)['toLowerCase']()),{'type':'format','content':_0x2570ab(_0x19e40a,'*Set\x20font\x20color:*\x20%0',_0x3541a0)['trim'](),'color':{'value':_0x3350c4,'title':_0x3541a0||_0x1454f0}};}return{'type':'format','content':_0x2570ab(_0x19e40a,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x76dd75['commandName']){const _0x4ef3f4=_0x76dd75['commandParams'][0x0]['value'];if(_0x4ef3f4){const _0x1d770d=(0x0,_0x491313['normalizeColorOptions'])(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x4380f7=>_0x4380f7['model']==_0x4ef3f4);let _0x4cc200=_0x4ef3f4,_0x13b2dd='';return _0x1d770d&&(_0x4cc200=_0x1d770d['label'],_0x13b2dd=_0x2b9ac6(_0x4cc200)['toLowerCase']()),{'type':'format','content':_0x2570ab(_0x19e40a,'*Set\x20font\x20background\x20color:*\x20%0',_0x13b2dd)['trim'](),'color':{'value':_0x4ef3f4,'title':_0x13b2dd||_0x4cc200}};}return{'type':'format','content':_0x2570ab(_0x19e40a,'*Reset\x20font\x20background\x20color*')};}}});}},_0x5f051d=class extends _0x491313['Plugin']{afterInit(){const {plugins:_0x4f476a}=this['editor'];_0x4f476a['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x4f476a['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}_registerFootnotesPropertiesEditingIntegration(){const {locale:_0x5df5e7,plugins:_0x1e46e6,commands:_0x59af57}=this['editor'],_0x1ce05b=_0x1e46e6['get']('TrackChangesEditing');_0x59af57['get']('footnotesStyle')&&_0x1ce05b['enableDefaultAttributesIntegration']('footnotesStyle'),_0x59af57['get']('footnotesStart')&&_0x1ce05b['enableDefaultAttributesIntegration']('footnotesStart'),_0x1ce05b['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',_0x2570ab(_0x5df5e7,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x1ce05b['descriptionFactory']['registerAttributeLabel']('footnotesListStart',_0x2570ab(_0x5df5e7,'FORMAT_FOOTNOTES_LIST_START'));}_registerFootnotesEditingIntegration(){const _0x5d59d4=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0xefb484,commands:_0x4cda04}=this['editor'];_0x4cda04['get']('insertFootnote')&&_0x5d59d4['enableCommand']('insertFootnote'),_0x5d59d4['descriptionFactory']['registerElementLabel']('footnoteRef',_0x30c583=>_0x2570ab(_0xefb484,'ELEMENT_FOOTNOTE_REF',_0x30c583)),_0x5d59d4['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x215947=>_0x2570ab(_0xefb484,'ELEMENT_FOOTNOTE_DEFINITION',_0x215947)),_0x5d59d4['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x70ced0=>_0x2570ab(_0xefb484,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x70ced0));}},_0x3f90fb=class extends _0x491313['Plugin']{afterInit(){const _0x7ee102=this['editor'],_0x33c460=_0x7ee102['plugins']['get']('TrackChangesEditing'),_0x1e3a22=_0x7ee102['commands']['get']('copyFormat'),_0x10822e=_0x7ee102['commands']['get']('pasteFormat');_0x1e3a22&&_0x10822e&&(_0x33c460['enableDefaultAttributesIntegration']('pasteFormat'),_0x33c460['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}_registerLegacyDescription(){const _0x55a4bd=this['editor'],_0x57d8a9=_0x55a4bd['locale'];_0x55a4bd['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x346bfe=>{if('formatBlock'!=_0x346bfe['type']&&'formatInline'!=_0x346bfe['type'])return;const {data:_0x513bd9}=_0x346bfe;if(_0x513bd9&&'pasteFormat'===_0x513bd9['commandName']){const _0x5b1009=[],_0x5f249b=_0x513bd9['commandParams'][0x0];for(const [_0x97d4bf,_0x201838]of Object['entries'](_0x5f249b))_0x5b1009['push'](_0x36deb1(_0x55a4bd,_0x97d4bf,_0x201838));return _0x5b1009['length']?{'type':'format','content':_0x2570ab(_0x57d8a9,'*Set\x20format\x20to:*\x20%0',_0x5b1009['join'](',\x20'))}:{'type':'format','content':_0x2570ab(_0x57d8a9,'*Remove\x20all\x20formatting*')};}});}};function _0x36deb1(_0x30cb73,_0x4e175c,_0x2efcbf){const _0x1f1103=_0x30cb73['locale']['t'],_0x4087b7=_0x4e175c['split'](/(?=[A-Z])/)['join']('\x20'),_0x234792=_0x1f1103(_0x4087b7['charAt'](0x0)['toUpperCase']()+_0x4087b7['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x2efcbf)return _0x234792;if('fontColor'===_0x4e175c||'fontBackgroundColor'===_0x4e175c){const _0x38d8f1=(0x0,_0x491313['normalizeColorOptions'])(_0x30cb73['config']['get']('fontColor.colors'))['find'](_0x44b0cc=>_0x44b0cc['model']==_0x2efcbf);return _0x234792+'\x20('+(_0x38d8f1?_0x1f1103(_0x38d8f1['label'])['toLowerCase']():_0x2efcbf)+')';}if('fontSize'===_0x4e175c&&isNaN(parseFloat(_0x2efcbf))){const _0x473171=_0x30cb73['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x30cb73['config']['get']('fontSize.options'))['find'](_0x5eb275=>_0x5eb275['model']==_0x2efcbf);return _0x234792+'\x20('+(_0x473171?_0x1f1103(_0x473171['title'])['toLowerCase']():_0x2efcbf)+')';}return _0x234792+'\x20('+_0x2efcbf+')';}var _0x101249=class extends _0x491313['Plugin']{afterInit(){const _0x517595=this['editor'];if(!_0x517595['plugins']['has']('GeneralHtmlSupport')||!_0x517595['plugins']['has']('DataSchema'))return;const _0x311900=_0x517595['plugins']['get']('TrackChangesEditing'),_0x4100a3=_0x517595['plugins']['get']('GeneralHtmlSupport'),_0x55c209=_0x517595['plugins']['get']('DataSchema'),_0xe6596e=_0x517595['locale'],_0x3218cb=new Set(['htmlContent']);for(const _0x55cca5 of _0x55c209['getDefinitionsForView'](/.*/,!0x1)){const _0x22a38d=_0x55cca5['view'],_0x425733=_0x4100a3['getGhsAttributeNameForElement'](_0x22a38d);_0x3218cb['add'](_0x425733),!_0x55cca5['isInline']||_0x55cca5['isObject']||'appliesToBlock'in _0x55cca5&&_0x55cca5['appliesToBlock']||_0x311900['descriptionFactory']['registerAttributeLabel'](_0x425733,_0x22a38d),_0x55cca5['model']['startsWith']('html')&&_0x311900['descriptionFactory']['registerElementLabel'](_0x55cca5['model'],_0x12a82b=>_0x2570ab(_0xe6596e,'ELEMENT_HTML_TAG',[_0x12a82b,_0x22a38d]));}_0x311900['descriptionFactory']['registerAttributeLabel']('htmlContent',_0x2570ab(_0xe6596e,'FORMAT_RAW_HTML_CONTENT')),_0x311900['descriptionFactory']['registerAttributeLabel']('htmlLiAttributes',_0x2570ab(_0xe6596e,'FORMAT_HTML_LIST_ITEM')),_0x311900['descriptionFactory']['registerAttributeLabel']('htmlUlAttributes',_0x2570ab(_0xe6596e,'FORMAT_HTML_BULLETED_LIST')),_0x311900['descriptionFactory']['registerAttributeLabel']('htmlOlAttributes',_0x2570ab(_0xe6596e,'FORMAT_HTML_NUMBERED_LIST')),_0x311900['descriptionFactory']['registerDescriptionCallback'](_0x6a6287=>{if('attribute'!==_0x6a6287['type'])return;const _0x50dab7=_0x6a6287['data'];if(!_0x50dab7||!_0x3218cb['has'](_0x50dab7['key']))return;if('htmlContent'===_0x50dab7['key'])return{'type':'format','content':_0x2570ab(_0xe6596e,'*Change\x20%0\x20content*',_0x2570ab(_0xe6596e,'ELEMENT_RAW_HTML'))};const {setItems:_0x4fc17f,removeItems:_0xf8401b}=function(_0x1e6087,_0x4a3c19,_0x134371){const _0x3d3118=[],_0x4c69bd=[],_0x3a091=_0x1e6087['styles']??{},_0x1a1ec6=_0x4a3c19['styles']??{};for(const _0x10d24c of new Set([...Object['keys'](_0x3a091),...Object['keys'](_0x1a1ec6)]))_0x3a091[_0x10d24c]!==_0x1a1ec6[_0x10d24c]&&(void 0x0===_0x1a1ec6[_0x10d24c]?_0x4c69bd['push'](_0x10d24c):_0x3d3118['push'](_0x10d24c+'\x20('+_0x1a1ec6[_0x10d24c]+')'));const _0x438ddf=_0x2570ab(_0x134371,'FORMAT_HTML_CLASS'),_0x178685=new Set(_0x1e6087['classes']??[]),_0xce9345=new Set(_0x4a3c19['classes']??[]),_0x283095=[..._0xce9345]['some'](_0x398e15=>!_0x178685['has'](_0x398e15)),_0x453a53=[..._0x178685]['some'](_0x3f089a=>!_0xce9345['has'](_0x3f089a));_0x283095&&_0x3d3118['push'](_0x438ddf),_0x453a53&&_0x4c69bd['push'](_0x438ddf);const _0x2ebc82=_0x2570ab(_0x134371,'FORMAT_HTML_ATTRIBUTE'),_0x4de1d7=_0x1e6087['attributes']??{},_0x28048d=_0x4a3c19['attributes']??{};let _0x29ada5=!0x1,_0x247549=!0x1;for(const _0x323404 of new Set([...Object['keys'](_0x4de1d7),...Object['keys'](_0x28048d)]))_0x4de1d7[_0x323404]!==_0x28048d[_0x323404]&&(void 0x0===_0x28048d[_0x323404]?_0x247549=!0x0:_0x29ada5=!0x0);return _0x29ada5&&_0x3d3118['push'](_0x2ebc82),_0x247549&&_0x4c69bd['push'](_0x2ebc82),{'setItems':_0x3d3118,'removeItems':_0x4c69bd};}(_0x50dab7['oldValue']??{},_0x50dab7['newValue']??{},_0xe6596e);if(!_0x4fc17f['length']&&!_0xf8401b['length'])return;const _0x305d54=[];return _0x4fc17f['length']&&_0x305d54['push'](_0x2570ab(_0xe6596e,'*Set\x20format:*\x20%0',_0x4fc17f['join'](',\x20'))),_0xf8401b['length']&&_0x305d54['push'](_0x2570ab(_0xe6596e,'*Remove\x20format:*\x20%0',_0xf8401b['join'](',\x20'))),{'type':'format','content':_0x305d54['join']('\x0a')};});}},_0x5722c4=class extends _0x491313['Plugin']{_headingOptions;afterInit(){const _0x9e9bc=this['editor'];if(!_0x9e9bc['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x9e9bc['config']['get']('heading.options');const _0x4833ed=_0x9e9bc['locale'],_0x25e652=_0x9e9bc['plugins']['get']('TrackChangesEditing');_0x25e652['enableDefaultAttributesIntegration']('heading');for(const _0xc361f9 of this['_headingOptions'])'paragraph'!=_0xc361f9['model']&&_0x25e652['descriptionFactory']['registerElementLabel'](_0xc361f9['model'],_0x1e5852=>{const _0x1c9362=this['_getHeadingLevel'](_0xc361f9['model']);return null!==_0x1c9362?_0x28223b(_0x1e5852,_0x1c9362):_0x30d654(_0x1e5852,_0xc361f9['title']);});function _0x28223b(_0x5a4855,_0x358227){return _0x2570ab(_0x4833ed,'ELEMENT_HEADING',[_0x5a4855,_0x358227]);}function _0x30d654(_0x2ba5ed,_0xef6bb3){return _0x2570ab(_0x4833ed,'ELEMENT_HEADING_CUSTOM',[_0x2ba5ed,_0xef6bb3]);}this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x1a5a1b=this['editor'],_0xbcbebc=_0x1a5a1b['locale'];function _0x432e5e(_0xda2bb0,_0xd3d134){return _0x2570ab(_0xbcbebc,'ELEMENT_HEADING_CUSTOM',[_0xda2bb0,_0xd3d134]);}_0x1a5a1b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x31050d=>{if('formatBlock'!=_0x31050d['type'])return;const {data:_0x1a9bea}=_0x31050d;if(_0x1a9bea&&'heading'==_0x1a9bea['commandName']){const _0x2e663f=_0x1a9bea['commandParams'][0x0]['value'],_0x2f12d0=this['_getHeadingLevel'](_0x2e663f);if(null!==_0x2f12d0)return{'type':'format','content':_0x2570ab(_0xbcbebc,'*Change\x20to:*\x20%0',(_0x598251=0x1,_0x4d9344=_0x2f12d0,_0x2570ab(_0xbcbebc,'ELEMENT_HEADING',[_0x598251,_0x4d9344])))};const _0x498aab=this['_headingOptions']['find'](_0x2b0188=>_0x2b0188['model']===_0x2e663f)['title'];return{'type':'format','content':_0x2570ab(_0xbcbebc,'*Change\x20to:*\x20%0',_0x432e5e(0x1,_0x498aab))};}var _0x598251,_0x4d9344;});}_getHeadingLevel(_0xc83c64){const _0xd26b7=_0xc83c64['match'](/^heading(\d+)/);if(_0xd26b7)return _0xd26b7[0x1];const _0x2faefb=this['_headingOptions']?.['find'](_0x4d0773=>_0x4d0773['model']==_0xc83c64);if(_0x2faefb&&_0x2faefb['view']){const _0x5b8702=_0x2faefb['view'],_0x8694a5=(_0x5b8702['name']??_0x5b8702)['match'](/^h(\d+)/);if(_0x8694a5)return _0x8694a5[0x1];}return null;}},_0x11324a=class extends _0x491313['Plugin']{afterInit(){const _0x3dcc6f=this['editor'];if(!_0x3dcc6f['plugins']['has']('HighlightEditing'))return;const _0x26e333=_0x3dcc6f['plugins']['get']('TrackChangesEditing'),_0x4c8c6d=_0x3dcc6f['locale'];_0x26e333['enableDefaultAttributesIntegration']('highlight'),_0x26e333['descriptionFactory']['registerAttributeLabel']('highlight',_0x2570ab(_0x4c8c6d,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x36b453=this['editor'],_0x1a2cfa=_0x36b453['locale'];_0x36b453['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3f4ebe=>{if('formatInline'!=_0x3f4ebe['type'])return;const {data:_0x2791d8}=_0x3f4ebe;if(_0x2791d8&&'highlight'==_0x2791d8['commandName']){const _0xb34d07=_0x1a2cfa['t'],_0x57b206=_0x2791d8['commandParams'][0x0]['value'];if(_0x57b206){const _0xbf0186=_0x36b453['config']['get']('highlight.options')['find'](_0x44283e=>_0x44283e['model']==_0x57b206),_0x186d56=_0xb34d07(_0xbf0186['title'])['toLowerCase']();return{'type':'format','content':_0x2570ab(_0x1a2cfa,'*Set\x20highlight:*\x20%0',_0x186d56),'color':{'value':_0xbf0186['color'],'title':_0xbf0186['title']}};}return{'type':'format','content':_0x2570ab(_0x1a2cfa,'*Remove\x20highlight*',_0x2570ab(_0x1a2cfa,'FORMAT_HIGHLIGHT'))};}});}},_0x2111f9=class extends _0x491313['Plugin']{afterInit(){const _0x42ed0d=this['editor'];if(!_0x42ed0d['plugins']['has']('HorizontalLineEditing'))return;_0x42ed0d['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x5f48bc=_0x42ed0d['plugins']['get']('TrackChangesEditing'),_0x2096b6=_0x42ed0d['locale'];_0x5f48bc['descriptionFactory']['registerElementLabel']('horizontalLine',_0x2529d1=>_0x2570ab(_0x2096b6,'ELEMENT_HORIZONTAL_LINE',_0x2529d1));}},_0x4855d1=class extends _0x491313['Plugin']{afterInit(){const _0x5bb6ba=this['editor'];if(!_0x5bb6ba['plugins']['has']('HtmlEmbed'))return;const _0x420e26=_0x5bb6ba['plugins']['get']('TrackChangesEditing'),_0x2f71b8=_0x5bb6ba['locale'];_0x420e26['descriptionFactory']['registerElementLabel']('rawHtml',_0x5dfcec=>_0x2570ab(_0x2f71b8,'ELEMENT_HTML_EMBED',_0x5dfcec)),_0x420e26['enableDefaultAttributesIntegration']('htmlEmbed'),_0x420e26['descriptionFactory']['registerDescriptionCallback'](_0x4a5c22=>{if('attribute'!=_0x4a5c22['type'])return;const {data:_0x4e2eb9}=_0x4a5c22;if(_0x4e2eb9&&'value'==_0x4e2eb9['key']&&_0x4a5c22['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x29e01e=_0x2570ab(_0x2f71b8,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x2570ab(_0x2f71b8,'*Change\x20%0\x20content*',_0x29e01e)};}}),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x5a2344=this['editor'],_0x4bd87e=_0x5a2344['locale'];_0x5a2344['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xdbab5=>{if('formatBlock'!=_0xdbab5['type'])return;const {data:_0x22b70c}=_0xdbab5;if(_0x22b70c&&'htmlEmbed'==_0x22b70c['commandName']){const _0x561c51=_0x2570ab(_0x4bd87e,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x2570ab(_0x4bd87e,'*Change\x20%0\x20content*',_0x561c51)};}});}},_0x8ca7a6=class extends _0x491313['Plugin']{afterInit(){const _0x57707=this['editor'];if(!_0x57707['plugins']['has']('ImageEditing'))return;const _0x25ea98=_0x57707['plugins']['get']('TrackChangesEditing'),_0x288387=_0x57707['plugins']['get']('ImageUtils'),_0x102e7d=_0x57707['locale'];_0x25ea98['enableCommand']('insertImage'),_0x25ea98['descriptionFactory']['registerElementLabel']('imageBlock',_0x353338=>_0x2570ab(_0x102e7d,'ELEMENT_IMAGE',_0x353338)),_0x25ea98['descriptionFactory']['registerElementLabel']('imageInline',_0x494726=>_0x2570ab(_0x102e7d,'ELEMENT_INLINE_IMAGE',_0x494726)),_0x25ea98['descriptionFactory']['registerElementLabel']('caption',()=>_0x2570ab(_0x102e7d,'ELEMENT_CAPTION')),_0x57707['plugins']['has']('ImageUploadEditing')&&_0x25ea98['enableCommand']('uploadImage'),_0x57707['plugins']['has']('ImageBlockEditing')&&_0x57707['plugins']['has']('ImageInlineEditing')&&(_0x25ea98['enableCommand']('imageTypeInline',(_0x2493bb,_0x1fac68)=>{const _0x1ab363=_0x288387['getClosestSelectedImageElement'](_0x57707['model']['document']['selection']);_0x57707['model']['change'](()=>{_0x25ea98['markBlockFormat'](_0x1ab363,{'commandName':'imageTypeInline','commandParams':[_0x1fac68]},[],'convertBlockImageToInline');});}),_0x25ea98['enableCommand']('imageTypeBlock',(_0xfacac,_0x243c13)=>{_0x57707['model']['change'](_0x3ffb90=>{let _0x200dc5=_0x288387['getClosestSelectedImageElement'](_0x57707['model']['document']['selection']),_0x93a2f4=_0x3ffb90['createRangeOn'](_0x200dc5);const _0x43cdbc=_0x491313['ModelLivePosition']['fromPosition'](_0x93a2f4['start'],'toPrevious'),_0x49d285=_0x491313['ModelLivePosition']['fromPosition'](_0x93a2f4['end'],'toNext');_0x25ea98['forceDefaultExecution'](()=>_0xfacac(_0x243c13)),_0x200dc5=_0x288387['getClosestSelectedImageElement'](_0x57707['model']['document']['selection']),_0x93a2f4=_0x3ffb90['createRangeOn'](_0x200dc5);const _0x479b49=_0x3ffb90['createRange'](_0x43cdbc,_0x49d285);_0x43cdbc['detach'](),_0x49d285['detach'](),_0x25ea98['markBlockFormat'](_0x200dc5,{'commandName':'imageTypeInline','commandParams':[_0x243c13]},[],'convertInlineImageToBlock'),_0x479b49['start']['isBefore'](_0x93a2f4['start'])&&_0x25ea98['markInsertion'](_0x3ffb90['createRange'](_0x479b49['start'],_0x93a2f4['start']),'convertInlineImageToBlock'),_0x93a2f4['end']['isBefore'](_0x479b49['end'])&&_0x25ea98['markInsertion'](_0x3ffb90['createRange'](_0x93a2f4['end'],_0x479b49['end']),'convertInlineImageToBlock');});}),_0x25ea98['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x25ea98['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x25ea98['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x25ea98['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x25ea98['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x25ea98['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x2b5980])=>{const _0x22e95d=_0x25ea98['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x7d0e50=_0x2b5980['start'],_0x19fd91=_0x2b5980['end'];const _0x36d30f=_0x57707['model']['schema']['getNearestSelectionRange'](_0x7d0e50,'backward'),_0x268f6c=_0x57707['model']['schema']['getNearestSelectionRange'](_0x19fd91,'forward');_0x36d30f['isCollapsed']&&(_0x7d0e50=_0x36d30f['start']),_0x268f6c['isCollapsed']&&(_0x19fd91=_0x268f6c['end']),_0x22e95d([_0x57707['model']['createRange'](_0x7d0e50,_0x19fd91)]);}),_0x25ea98['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x216c36),_0x25ea98['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x216c36)),_0x57707['plugins']['has']('ImageCaptionEditing')&&(_0x25ea98['enableCommand']('toggleImageCaption',(_0x153d91,_0x203fdf)=>{const _0x24ebc2=_0x57707['plugins']['get']('ImageCaptionUtils');let _0x39d97a=_0x288387['getClosestSelectedImageElement'](_0x57707['model']['document']['selection']),_0xc27498=_0x24ebc2['getCaptionFromImageModelElement'](_0x39d97a);_0x57707['model']['change'](()=>{if(_0xc27498)return void _0x25ea98['markDeletion'](_0x57707['model']['createRangeOn'](_0xc27498));const _0x33b88a=_0x288387['isBlockImage'](_0x39d97a);_0x153d91(_0x203fdf),_0x39d97a=_0x288387['getClosestSelectedImageElement'](_0x57707['model']['document']['selection']),_0xc27498=_0x24ebc2['getCaptionFromImageModelElement'](_0x39d97a),_0x25ea98['markInsertion'](_0x57707['model']['createRangeOn'](_0xc27498),_0x33b88a?null:'imageCaption');});}),_0x25ea98['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x216c36));const _0x13cea5=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x5f2375(_0x249405,_0x550aa7){const _0x522528=_0x13cea5['findIndex'](({type:_0xddb860,subType:_0x247aea})=>_0x249405['type']==_0xddb860&&_0x249405['subType']==_0x247aea),_0x5141af=_0x13cea5['findIndex'](({type:_0x492760,subType:_0x30341c})=>_0x550aa7['type']==_0x492760&&_0x550aa7['subType']==_0x30341c);if(_0x522528<0x0||_0x5141af<0x0)return!0x1;const _0x1e17fa=_0x249405['getFirstRange'](),_0x226559=_0x550aa7['getFirstRange']();if((0x0==_0x522528||0x1==_0x522528)&&0x2==_0x5141af&&_0x1e17fa['isIntersecting'](_0x226559))return!0x0;if(0x2==_0x522528&&0x3==_0x5141af){const _0x38d6e9=_0x25ea98['_findSuggestions'](_0x1e17fa,'insertion')['filter'](({suggestion:_0x27f8c2,meta:_0x2553f5})=>_0x2553f5['isOwn']&&'convertInlineImageToBlock'==_0x27f8c2['subType']);if(_0x38d6e9['length']>0x1&&_0x226559['end']['isEqual'](_0x1e17fa['start']))return!0x0;if(0x1==_0x38d6e9['length']&&(_0x1e17fa['start']['isEqual'](_0x226559['end'])||_0x1e17fa['end']['isEqual'](_0x226559['start'])))return!0x0;}if(0x3==_0x522528&&0x3==_0x5141af&&_0x1e17fa['start']['isBefore'](_0x226559['start'])){const _0x1708b5=_0x1e17fa['end']['nodeAfter'],_0x232842=_0x226559['start']['nodeBefore'];return _0x288387['isBlockImage'](_0x1708b5)&&_0x1708b5===_0x232842;}return!0x1;}function _0x216c36(_0x409382,_0x1b7e6b){return _0x5f2375(_0x409382,_0x1b7e6b)?[_0x409382,_0x1b7e6b]:_0x5f2375(_0x1b7e6b,_0x409382)?[_0x1b7e6b,_0x409382]:null;}_0x57707['plugins']['has']('ImageResize')&&(_0x25ea98['enableDefaultAttributesIntegration']('resizeImage'),_0x25ea98['descriptionFactory']['registerAttributeLabel']('resizedWidth',_0x2570ab(_0x102e7d,'FORMAT_IMAGE_SIZE'))),_0x57707['plugins']['has']('ImageTextAlternativeEditing')&&_0x25ea98['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x57707['plugins']['has']('PictureEditing')&&_0x25ea98['descriptionFactory']['registerDescriptionCallback'](_0x578a9e=>{if('attribute'!=_0x578a9e['type'])return;const {data:_0x33087d}=_0x578a9e;return _0x33087d&&'sources'==_0x33087d['key']?{'type':'format','content':''}:void 0x0;}),_0x57707['plugins']['has']('ImageSizeAttributes')&&_0x25ea98['descriptionFactory']['registerDescriptionCallback'](_0x52b6fc=>{if('attribute'!=_0x52b6fc['type'])return;const {data:_0x2f5ae5}=_0x52b6fc;return!_0x2f5ae5||'width'!=_0x2f5ae5['key']&&'height'!=_0x2f5ae5['key']?void 0x0:{'type':'format','content':''};}),_0x25ea98['descriptionFactory']['registerDescriptionCallback'](_0x6897ff=>{if(_0x13cea5['find'](({type:_0x442e73,subType:_0x24f698})=>_0x6897ff['type']==_0x442e73&&_0x6897ff['subType']==_0x24f698))return _0x6897ff['previous']?{}:void 0x0;}),_0x25ea98['descriptionFactory']['registerDescriptionCallback'](_0x5a7ae1=>{if('insertion'==_0x5a7ae1['type']||'deletion'==_0x5a7ae1['type']){const _0xf62fe7=_0x5a7ae1['getContainedElement']();if(_0xf62fe7&&_0xf62fe7['is']('element','caption'))return{'type':'insertion'==_0x5a7ae1['type']?'addObject':'removeObject','element':_0xf62fe7,'quantity':0x1};}}),_0x25ea98['descriptionFactory']['registerDescriptionCallback'](_0x3ae856=>'formatBlock'==_0x3ae856['type']&&'convertInlineImageToBlock'==_0x3ae856['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x3ae856['type']&&'convertBlockImageToInline'==_0x3ae856['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x25ea98['descriptionFactory']['registerDescriptionCallback'](_0x12ee16=>{if('attribute'!=_0x12ee16['type'])return;const {data:_0x34c482}=_0x12ee16;if(!_0x34c482||'alt'!=_0x34c482['key'])return;const _0x2a995a=_0x34c482['newValue'];return _0x2a995a?{'type':'format','content':_0x2570ab(_0x102e7d,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x2a995a+'\x22')}:{'type':'format','content':_0x2570ab(_0x102e7d,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x3df7ed=this['editor'],_0x23d19d=_0x3df7ed['locale'];_0x3df7ed['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3d46d1=>{if('formatBlock'!=_0x3d46d1['type']&&'formatInline'!=_0x3d46d1['type'])return;const {data:_0x499306}=_0x3d46d1;if(_0x499306){if('imageTextAlternative'==_0x499306['commandName']){const _0x30943e=_0x499306['commandParams'][0x0]['newValue'];return _0x30943e?{'type':'format','content':_0x2570ab(_0x23d19d,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x30943e+'\x22')}:{'type':'format','content':_0x2570ab(_0x23d19d,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x499306['commandName']){const _0x5163a8=_0x499306['commandParams'][0x0]['width'];return _0x5163a8?{'type':'format','content':_0x2570ab(_0x23d19d,'*Set\x20image\x20width:*\x20%0',_0x5163a8)}:{'type':'format','content':_0x2570ab(_0x23d19d,'*Reset\x20image\x20width*')};}}});}},_0xb6c00b=class extends _0x491313['Plugin']{afterInit(){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x1e19d7=this['editor']['locale'],_0x2ee27f=this['editor']['plugins']['get']('TrackChangesEditing');_0x2ee27f['enableDefaultAttributesIntegration']('replaceImageSource'),_0x2ee27f['descriptionFactory']['registerDescriptionCallback'](_0x20f46a=>{if('attribute'!=_0x20f46a['type'])return;const {data:_0x39c901}=_0x20f46a;return _0x39c901&&'src'==_0x39c901['key']?_0x39c901['newValue']&&_0x39c901['oldValue']?{'type':'format','content':_0x2570ab(_0x1e19d7,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}_handleLegacySuggestions(){const _0x43aaa2=this['editor']['plugins']['get']('TrackChangesEditing');_0x43aaa2['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x43aaa2['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x43aaa2['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x43aaa2['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x1bc895=this['editor'],_0x33f361=_0x1bc895['locale'];_0x1bc895['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5a6059=>{if('formatBlock'!=_0x5a6059['type']&&'formatInline'!=_0x5a6059['type'])return;const {data:_0x4b4da0}=_0x5a6059;return _0x4b4da0&&'replaceImageSource'==_0x4b4da0['commandName']?{'type':'format','content':_0x2570ab(_0x33f361,'*Format:*\x20replace\x20image\x20URL')}:void 0x0;});}},_0x1138a6=class extends _0x491313['Plugin']{afterInit(){const _0x3588a1=this['editor'];if(!_0x3588a1['plugins']['has']('ImageStyleEditing'))return;const _0x1f7e24=_0x3588a1['plugins']['get']('TrackChangesEditing'),_0x1fb4bf=_0x3588a1['plugins']['get']('ImageUtils'),_0x5b26fd={};_0x1f7e24['enableCommand']('imageStyle',(_0x22ec16,_0x28cf62)=>{const _0x12f0ea=_0x3588a1['plugins']['get']('Users')['me'],_0x41976f=_0x3588a1['commands']['get']('imageStyle');let _0x292ffd=_0x1fb4bf['getClosestSelectedImageElement'](_0x3588a1['model']['document']['selection']),_0x1737de=_0x3588a1['model']['createRangeOn'](_0x292ffd),_0x1537d9=_0x41976f['value'];if(_0x1537d9==_0x28cf62['value'])return;if(_0x28cf62['value']&&_0x1fb4bf['isInlineImage'](_0x292ffd)&&!_0x41976f['isStyleEnabled'](_0x28cf62['value']))return;const _0x47a30={'commandName':'imageStyle','commandParams':[_0x28cf62],'formatGroupId':(0x0,_0x491313['uid'])()};_0x3588a1['model']['change'](()=>{if(_0x1f7e24['getSuggestions']()['filter'](_0xa2d2ba=>_0xa2d2ba['isInContent']&&_0x12f0ea==_0xa2d2ba['author']&&('formatBlock'==_0xa2d2ba['type']||'formatInline'==_0xa2d2ba['type'])&&('imageStylePreApply'==_0xa2d2ba['subType']||'imageStylePostApply'==_0xa2d2ba['subType'])&&_0xa2d2ba['getFirstRange']()['isEqual'](_0x1737de))['forEach'](_0x7faab7=>_0x1f7e24['discardSuggestion'](_0x7faab7['head'])),_0x292ffd=_0x1fb4bf['getClosestSelectedImageElement'](_0x3588a1['model']['document']['selection']),_0x1737de=_0x3588a1['model']['createRangeOn'](_0x292ffd),_0x41976f['refresh'](),_0x3588a1['commands']['get']('imageTypeInline')['refresh'](),_0x3588a1['commands']['get']('imageTypeBlock')['refresh'](),_0x1537d9=_0x41976f['value'],_0x1537d9!=_0x28cf62['value'])return _0x1fb4bf['isInlineImage'](_0x292ffd)&&_0x41976f['shouldConvertImageType'](_0x28cf62['value'],_0x292ffd)?(_0x22ec16({..._0x28cf62,'setImageSizes':!0x1}),_0x292ffd=_0x1fb4bf['getClosestSelectedImageElement'](_0x3588a1['model']['document']['selection']),void _0x1f7e24['markBlockFormat'](_0x292ffd,{..._0x47a30,'commandReversedParams':[{'value':_0x1537d9||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x1fb4bf['isBlockImage'](_0x292ffd)?_0x1f7e24['markBlockFormat'](_0x292ffd,_0x47a30,[],'imageStylePostApply'):_0x1f7e24['markInlineFormat'](_0x1737de,_0x47a30,'imageStylePostApply'));});});for(const _0xfe5070 of _0x3588a1['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x5b26fd[_0xfe5070['name']]=_0xfe5070['title']['toLowerCase']();_0x1f7e24['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x1f7e24['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x1f7e24['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x1f7e24['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x27ab8a])=>{_0x1fb4bf['setImageNaturalSizeAttributes'](_0x27ab8a['getContainedElement']());}),_0x1f7e24['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x2c1f7a,_0x47ca95)=>{_0x1f7e24['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x2c1f7a,{'commandName':_0x47ca95['commandName'],'commandParams':_0x47ca95['commandReversedParams']});}),_0x1f7e24['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x24e562,_0x18f6e5){return _0x2144af(_0x24e562,_0x18f6e5)?[_0x24e562,_0x18f6e5]:_0x2144af(_0x18f6e5,_0x24e562)?[_0x18f6e5,_0x24e562]:null;});const _0x44d89b=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x2144af(_0x37f965,_0x35a79e){const _0xa1a456=_0x44d89b['findIndex'](({type:_0x3b5ae9,subType:_0x8da55c})=>_0x37f965['type']==_0x3b5ae9&&_0x37f965['subType']==_0x8da55c),_0xe963f0=_0x44d89b['findIndex'](({type:_0x534049,subType:_0x372ee6})=>_0x35a79e['type']==_0x534049&&_0x35a79e['subType']==_0x372ee6);if(_0xa1a456<0x0||_0xe963f0<0x0)return!0x1;const _0x1a12d2=_0x37f965['getFirstRange'](),_0x369811=_0x35a79e['getFirstRange']();if((0x0==_0xa1a456||0x1==_0xa1a456)&&0x2==_0xe963f0&&_0x1a12d2['isIntersecting'](_0x369811))return!0x0;if(0x2==_0xa1a456&&0x3==_0xe963f0){const _0x15bbf1=_0x1f7e24['_findSuggestions'](_0x1a12d2,'insertion')['filter'](({suggestion:_0x4ad0d1,meta:_0x165bbe})=>_0x165bbe['isOwn']&&'convertInlineImageToBlock'==_0x4ad0d1['subType']);if(_0x15bbf1['length']>0x1&&_0x369811['end']['isEqual'](_0x1a12d2['start']))return!0x0;if(0x1==_0x15bbf1['length']&&(_0x1a12d2['start']['isEqual'](_0x369811['end'])||_0x1a12d2['end']['isEqual'](_0x369811['start'])))return!0x0;}if(0x3==_0xa1a456&&0x3==_0xe963f0&&_0x1a12d2['start']['isBefore'](_0x369811['start'])){const _0x6c3723=_0x1a12d2['end']['nodeAfter'],_0x26a631=_0x369811['start']['nodeBefore'];return _0x1fb4bf['isBlockImage'](_0x6c3723)&&_0x6c3723===_0x26a631;}return!0x1;}_0x3588a1['model']['document']['registerPostFixer'](()=>{let _0x5ef065=!0x1;const _0x3755b2=Array['from'](_0x3588a1['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x591fa0,data:_0x5c1ea1}of _0x3755b2){const {group:_0x5e5846,type:_0x56c105,subType:_0x2cf6c1,id:_0x3dc9a7}=_0x41e4c4(_0x591fa0);if('suggestion'==_0x5e5846&&_0x1f7e24['hasSuggestion'](_0x3dc9a7)){if('formatBlock'==_0x56c105&&('imageStylePreApply'==_0x2cf6c1||'imageStylePostApply'==_0x2cf6c1)){const _0xf1fbba=_0x1f7e24['getSuggestion'](_0x3dc9a7);if(_0x5c1ea1['newRange']){const _0x29981b=_0xf1fbba['getFirstRange']()['getContainedElement']();if(_0x1fb4bf['isBlockImage'](_0x29981b))continue;_0x1f7e24['discardSuggestion'](_0xf1fbba),_0x5ef065=!0x0;}}if('insertion'==_0x56c105&&'imageCaption'==_0x2cf6c1&&!_0x5c1ea1['newRange']){const _0xde9487=_0x1f7e24['getSuggestion'](_0x3dc9a7);_0xde9487['next']&&_0xde9487['next']['isInContent']&&(_0x1f7e24['discardSuggestion'](_0xde9487['next']),_0x5ef065=!0x0);}}}return _0x5ef065;}),this['_registerLegacyDescription'](_0x5b26fd);}_registerLegacyDescription(_0x18ac01){const _0x374a2b=this['editor'],_0x2c6352=_0x374a2b['locale'];_0x374a2b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2c34e7=>{if('formatBlock'!=_0x2c34e7['type']&&'formatInline'!=_0x2c34e7['type'])return;const {data:_0x4cbd9b}=_0x2c34e7;if(!_0x4cbd9b||'imageStyle'!=_0x4cbd9b['commandName'])return;const _0xc291d5=_0x4cbd9b['commandParams'][0x0]['value'];return _0x425222('side'===_0xc291d5?_0x2570ab(_0x2c6352,'FORMAT_SIDE_IMAGE'):_0x18ac01[_0xc291d5]||_0xc291d5);function _0x425222(_0x627888){return{'type':'format','content':_0x2570ab(_0x2c6352,'*Format:*\x20%0',_0x627888)};}});}},_0x35efca=class extends _0x491313['Plugin']{_trackChangesValueDuringImport;_trackChangesExecuted;constructor(_0x347e19){super(_0x347e19),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}afterInit(){const _0x488c31=this['editor'],_0x4ca89f=_0x488c31['commands']['get']('importWord'),_0x1f4552=_0x488c31['commands']['get']('trackChanges');_0x4ca89f&&(_0x4ca89f['on']('execute',(_0xa5d993,[,_0x25013b])=>{this['_trackChangesValueDuringImport']=_0x1f4552['value'],_0x25013b['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x4ca89f,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x4ca89f,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x1f4552['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x488c31['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}_handleImportedData(_0x545eea,_0x32933e){const {suggestions:_0x4b768c}=_0x32933e,_0x154313=this['editor']['commands']['get']('trackChanges'),_0x1c5adb=_0x154313['value'];this['_trackChangesValueDuringImport']!==_0x1c5adb&&(_0x154313['execute'](),this['_trackChangesExecuted']=!0x0),_0x4b768c&&_0x4b768c['forEach'](({id:_0x16ba55,type:_0x21e03c,author:_0x2be5e5,created_at:_0x316c72})=>{const _0x48aaff={'id':_0x16ba55,'type':_0x21e03c,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2be5e5,'createdAt':_0x316c72?new Date(_0x316c72):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x48aaff);});}},_0x2be0f4=class extends _0x491313['Plugin']{afterInit(){const _0x3fa63e=this['editor'],_0x209c36=_0x3fa63e['plugins']['get']('TrackChangesEditing');if(_0x3fa63e['plugins']['has']('IndentEditing')&&(_0x209c36['enableCommand']('indent'),_0x209c36['enableCommand']('outdent')),_0x3fa63e['plugins']['has']('IndentBlock')){for(const _0x17affc of['indentBlock','outdentBlock'])_0x209c36['enableDefaultAttributesIntegration'](_0x17affc);if(_0x3fa63e['plugins']['has']('ListEditing')){for(const _0x509628 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x209c36['enableDefaultAttributesIntegration'](_0x509628);}}const _0x4b53fc=_0x3fa63e['locale'];_0x209c36['descriptionFactory']['registerAttributeLabel']('blockIndent',_0x2570ab(_0x4b53fc,'FORMAT_INDENT')),_0x209c36['descriptionFactory']['registerAttributeLabel']('blockIndentList',_0x2570ab(_0x4b53fc,'FORMAT_INDENT')),_0x209c36['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',_0x2570ab(_0x4b53fc,'FORMAT_INDENT')),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x1be4c4=this['editor'],_0x4cd0f4=_0x1be4c4['locale'],_0x45e450=_0x1be4c4['plugins']['get']('TrackChangesEditing');_0x45e450['descriptionFactory']['registerDescriptionCallback'](_0x12366d=>{if('formatBlock'!=_0x12366d['type'])return;const {data:_0xaf415c}=_0x12366d;if(!_0xaf415c)return;if('indentBlock'!=_0xaf415c['commandName']&&'outdentBlock'!=_0xaf415c['commandName'])return;const _0x85d830=_0x12366d['getItems']()[0x0],_0x1f7b0f=_0x45e450['descriptionFactory']['getItemLabel'](_0x85d830);return'indentBlock'==_0xaf415c['commandName']?{'type':'format','content':_0x2570ab(_0x4cd0f4,'*Indent:*\x20%0',_0x1f7b0f)}:'outdentBlock'==_0xaf415c['commandName']?{'type':'format','content':_0x2570ab(_0x4cd0f4,'*Outdent:*\x20%0',_0x1f7b0f)}:void 0x0;});}},_0x36bbd2=class extends _0x491313['Plugin']{static get requires(){return[_0x491313['Input']];}init(){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}},_0x2a4c60=class extends _0x491313['Plugin']{afterInit(){const _0x494add=this['editor'];if(!_0x494add['plugins']['has']('LinkEditing'))return;const _0x1e70a6=_0x494add['plugins']['get']('TrackChangesEditing'),_0x60e434=_0x494add['commands']['get']('link');_0x1e70a6['enableDefaultAttributesIntegration']('link'),_0x1e70a6['enableDefaultAttributesIntegration']('unlink');for(const _0x1a781b of _0x60e434['manualDecorators'])_0x1e70a6['descriptionFactory']['registerAttributeLabel'](_0x1a781b['id'],'link\x20('+_0x1a781b['label']['toLowerCase']()+')');_0x1e70a6['descriptionFactory']['registerDescriptionCallback'](_0x38fa9b=>{if('attribute'!=_0x38fa9b['type'])return;const {data:_0xa9c6f6}=_0x38fa9b;if(!_0xa9c6f6||'linkHref'!=_0xa9c6f6['key'])return;const _0x41d787=_0xa9c6f6['newValue'],_0x2e248e=_0x494add['locale'];return{'type':'format','content':null==_0x41d787?_0x2570ab(_0x2e248e,'*Remove\x20link*'):_0x2570ab(_0x2e248e,'*Set\x20link:*\x20%0','\x22'+_0x41d787+'\x22')};}),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x2deb1d=this['editor'],_0x4bb054=_0x2deb1d['locale'];_0x2deb1d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1af44a=>{if('formatInline'!=_0x1af44a['type'])return;const {data:_0x1f4784}=_0x1af44a;if(_0x1f4784){if('link'==_0x1f4784['commandName']){const _0x24a5f1=_0x1f4784['commandParams'][0x0];return{'type':'format','content':_0x2570ab(_0x4bb054,'*Set\x20link:*\x20%0','\x22'+_0x24a5f1+'\x22')};}return'unlink'==_0x1f4784['commandName']?{'type':'format','content':_0x2570ab(_0x4bb054,'*Remove\x20link*')}:void 0x0;}});}},_0x10a55a=class extends _0x491313['Plugin']{afterInit(){const _0x4991de=this['editor'],_0x41d1bd=_0x4991de['locale'];if(!_0x4991de['plugins']['has']('LegacyListEditing'))return;const _0x259a9c=_0x4991de['plugins']['get']('TrackChangesEditing'),_0x139374=_0x4991de['plugins']['has']('LegacyTodoListEditing');function _0x4d3fb3(_0x268b1a){return()=>{const _0xeed17c=_0x4991de['model']['document']['selection'],_0x8a8063=_0x4991de['commands']['get'](_0x268b1a);if(_0x8a8063['value'])return void _0x4991de['execute']('paragraph',{});const _0x23b0f1=_0x268b1a['slice'](0x0,-0x4),_0x2f6b00=function(_0x1e6d5b,_0x1b96ff,_0x13c2ee){let _0x20d4c5=Array['from'](_0x1e6d5b)['filter'](_0x592b6d=>function(_0x472acf,_0x5cdf65){return _0x5cdf65['checkChild'](_0x472acf['parent'],'listItem')&&!_0x5cdf65['isObject'](_0x472acf);}(_0x592b6d,_0x13c2ee));_0x20d4c5=_0x20d4c5['filter'](_0x3b8890=>!_0x3b8890['is']('element','listItem')||_0x3b8890['getAttribute']('listType')!=_0x1b96ff);const _0x48a45d=new Set();for(const _0x2ca530 of _0x20d4c5)_0x2ca530['is']('element','listItem')?_0x48a45d['add'](_0x3e6d70(_0x2ca530)):_0x48a45d['add'](_0x2ca530);return Array['from'](_0x48a45d);}(_0xeed17c['getSelectedBlocks'](),_0x23b0f1,_0x4991de['model']['schema']);_0x4991de['model']['change'](()=>{for(const _0x55e23c of _0x2f6b00)_0x259a9c['markBlockFormat'](_0x55e23c,{'commandName':_0x268b1a,'commandParams':[{'forceValue':!_0x8a8063['value']}],'formatGroupId':'blockName'},_0x5eb77d(_0x55e23c));});};}function _0x1b2ada(_0x132137){return()=>{const _0x30a314=function(_0x389559){let _0x46b464=Array['from'](_0x389559);const _0x7f1921=_0x46b464['findIndex'](_0x56e0dc=>'listItem'!=_0x56e0dc['name']);return _0x7f1921>-0x1&&(_0x46b464=_0x46b464['slice'](0x0,_0x7f1921)),_0x46b464;}(_0x4991de['model']['document']['selection']['getSelectedBlocks']()),_0x1d16bf=_0x4991de['model']['createRange'](_0x4991de['model']['createPositionAt'](_0x30a314[0x0],'before'),_0x4991de['model']['createPositionAt'](_0x30a314[_0x30a314['length']-0x1],'end'));_0x4991de['model']['change'](()=>{_0x259a9c['markBlockFormat'](_0x1d16bf,{'commandName':_0x132137,'commandParams':[],'formatGroupId':'listIndent'},function(_0x20f29f){const _0x5e6e25=new Set();for(const _0x5a69c4 of _0x20f29f){let _0x27adbb=_0x5a69c4['nextSibling'];for(;_0x27adbb&&_0x27adbb['getAttribute']('listIndent')>_0x5a69c4['getAttribute']('listIndent');)_0x5e6e25['add'](_0x27adbb),_0x27adbb=_0x27adbb['nextSibling'];}return Array['from'](_0x5e6e25);}(_0x30a314));});};}_0x259a9c['enableCommand']('numberedList',_0x4d3fb3('numberedList')),_0x259a9c['enableCommand']('bulletedList',_0x4d3fb3('bulletedList')),_0x139374&&_0x259a9c['enableCommand']('todoList',_0x4d3fb3('todoList')),_0x259a9c['enableCommand']('indentList',_0x1b2ada('indentList')),_0x259a9c['enableCommand']('outdentList',_0x1b2ada('outdentList')),_0x139374&&_0x259a9c['enableCommand']('checkTodoList',()=>{const _0x99e17f=_0x4991de['commands']['get']('checkTodoList'),_0x195fbd=Array['from'](_0x99e17f['_selectedElements']);_0x195fbd['filter'](_0x231086=>_0x231086['getAttribute']('todoListChecked')!=_0x99e17f['value']),_0x4991de['model']['change'](()=>{for(const _0x1a7dd6 of _0x195fbd)_0x259a9c['markBlockFormat'](_0x1a7dd6,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x99e17f['value']}]});});}),_0x259a9c['descriptionFactory']['registerElementLabel']('listItem',_0x1d96dc=>_0x2570ab(_0x41d1bd,'ELEMENT_LIST_ITEM',_0x1d96dc)),_0x259a9c['descriptionFactory']['registerDescriptionCallback'](_0x2473b1=>{if('formatBlock'!=_0x2473b1['type']&&'formatInline'!=_0x2473b1['type'])return;const {data:_0x35d7d8}=_0x2473b1;if(_0x35d7d8){if('numberedList'==_0x35d7d8['commandName']||'bulletedList'==_0x35d7d8['commandName']||'todoList'==_0x35d7d8['commandName'])switch(_0x35d7d8['commandName']['replace']('List','')){case'bulleted':return _0x1b8e7d(_0x2570ab(_0x41d1bd,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x1b8e7d(_0x2570ab(_0x41d1bd,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x1b8e7d(_0x2570ab(_0x41d1bd,'ELEMENT_TODO_LIST'));}if('indentList'==_0x35d7d8['commandName'])return{'type':'format','content':_0x2570ab(_0x41d1bd,'*Indent:*\x20%0',_0x2570ab(_0x41d1bd,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x35d7d8['commandName'])return{'type':'format','content':_0x2570ab(_0x41d1bd,'*Outdent:*\x20%0',_0x2570ab(_0x41d1bd,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x35d7d8['commandName'])return _0x35d7d8['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2570ab(_0x41d1bd,'*Check\x20item*')}:{'type':'format','content':_0x2570ab(_0x41d1bd,'*Uncheck\x20item*')};}function _0x1b8e7d(_0x2233ab){return{'type':'format','content':_0x2570ab(_0x41d1bd,'*Change\x20to:*\x20%0',_0x2233ab)};}});}};function _0x3e6d70(_0x25f604){const _0x157a2b=_0x25f604['getAttribute']('listIndent');if(0x0==_0x157a2b)return _0x25f604;let _0x197254=_0x25f604;for(;_0x25f604['previousSibling']&&_0x25f604['previousSibling']['is']('element','listItem');){const _0x4c7c05=_0x25f604['previousSibling']['getAttribute']('listIndent');if(_0x4c7c05==_0x157a2b)_0x197254=_0x25f604['previousSibling'];else{if(_0x4c7c05<_0x157a2b)break;}_0x25f604=_0x25f604['previousSibling'];}return _0x197254;}function _0x5eb77d(_0x591dac){const _0x4c8471=[];if(_0x591dac['is']('element','listItem')&&_0x591dac['getAttribute']('listIndent')>0x0){let _0x3c1156=_0x591dac['nextSibling'];for(;_0x3c1156&&'listItem'==_0x3c1156['name']&&_0x3c1156['getAttribute']('listIndent')==_0x591dac['getAttribute']('listIndent');)_0x4c8471['push'](_0x3c1156),_0x3c1156=_0x3c1156['nextSibling'];}return _0x4c8471;}var _0x3f812f=class extends _0x491313['Plugin']{afterInit(){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x2d4bff=this['editor']['config']['get']('list.properties'),_0x1d8488=this['editor']['plugins']['get']('TrackChangesEditing');_0x2d4bff['styles']&&_0x1d8488['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x2d4bff['reversed']&&_0x1d8488['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x2d4bff['startIndex']&&_0x1d8488['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x1d8488['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}handleListStyleCommand(_0x29747e,_0x34dc91={}){const _0x94c3f6=this['editor']['plugins']['get']('TrackChangesEditing'),_0x190e58=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x94c3f6['markMultiRangeBlockFormat'](_0x190e58,{'commandName':'listStyle','commandParams':[{'type':_0x34dc91['type']}],'formatGroupId':'listStyle'});});}handleListReversedCommand(_0x1931ec,_0x31e9b5={}){const _0x18f50a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x29d684=this['_getSuggestionBlocks'](_0x4f6027=>_0x4f6027['is']('element','listItem')&&'numbered'===_0x4f6027['getAttribute']('listType'));if(_0x29d684['length']<0x1)return;const _0x2f4d1d=_0x29d684['map'](_0x6ab96d=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x6ab96d,'before'),this['editor']['model']['createPositionAt'](_0x6ab96d,0x0)));this['editor']['model']['change'](()=>{_0x18f50a['markMultiRangeBlockFormat'](_0x2f4d1d,{'commandName':'listReversed','commandParams':[{'reversed':_0x31e9b5['reversed']}],'formatGroupId':'listReversed'});});}handleListStartCommand(_0x5dee76,_0x256532={}){const _0x336e35=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4998cc=this['_getSuggestionBlocks'](_0x4610c7=>_0x4610c7['is']('element','listItem')&&'numbered'===_0x4610c7['getAttribute']('listType'));if(_0x4998cc['length']<0x1)return;const _0x1ff09b=_0x4998cc['map'](_0x4fe239=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x4fe239,'before'),this['editor']['model']['createPositionAt'](_0x4fe239,0x0)));this['editor']['model']['change'](()=>{_0x336e35['markMultiRangeBlockFormat'](_0x1ff09b,{'commandName':'listStart','commandParams':[{'startIndex':_0x256532['startIndex']}],'formatGroupId':'listStart'});});}handleDescriptions(_0x40ddc5){if('formatBlock'!=_0x40ddc5['type']&&'formatInline'!=_0x40ddc5['type'])return;const _0x5b0b23=this['editor']['locale'],{data:_0x4d7963}=_0x40ddc5;if(!_0x4d7963)return;let _0x3604db,_0xb877ee;switch(_0x4d7963['commandName']){case'listStyle':_0x3604db='*Change\x20to:*\x20%0',_0xb877ee={'type':'format','content':_0x2570ab(_0x5b0b23,_0x3604db,_0x2570ab(_0x5b0b23,this['_getTranslationKeyForListStyle'](_0x4d7963['commandParams'][0x0]['type'])))};break;case'listReversed':_0x3604db=_0x4d7963['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0xb877ee={'type':'format','content':_0x2570ab(_0x5b0b23,_0x3604db)};break;case'listStart':_0x3604db='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xb877ee={'type':'format','content':_0x2570ab(_0x5b0b23,_0x3604db,_0x4d7963['commandParams'][0x0]['startIndex'])};}return _0xb877ee;}_getSuggestionBlocksForListStyle(){const _0x32ca80=this['editor']['plugins']['get']('LegacyListUtils');let _0xf5cd13=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0xf5cd13[0x0]?.['is']('element','listItem')&&_0xf5cd13['unshift'](..._0x32ca80['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0xf5cd13[_0xf5cd13['length']-0x1]?.['is']('element','listItem')&&_0xf5cd13['push'](..._0x32ca80['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0xf5cd13=[...new Set(_0xf5cd13)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0xf5cd13=_0xf5cd13['filter'](_0x4993b7=>_0x4993b7['is']('element','listItem'))),_0xf5cd13;}_getSuggestionBlocks(_0x9c62d8){const _0x566409=this['editor']['plugins']['get']('LegacyListUtils');let _0xb8d443=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x9c62d8)['map'](_0x3a94b4=>{const _0x3a8f81=this['editor']['model']['createPositionAt'](_0x3a94b4,0x0);return[..._0x566409['getSiblingNodes'](_0x3a8f81,'backward'),..._0x566409['getSiblingNodes'](_0x3a8f81,'forward')];})['flat']();return _0xb8d443=[...new Set(_0xb8d443)],_0xb8d443;}_getTranslationKeyForListStyle(_0xa90607){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0xa90607)||'default')['toUpperCase']()+'_LIST_'+_0xa90607['toUpperCase']()['replace'](/-/g,'_');}},_0x15a108=class extends _0x491313['Plugin']{afterInit(){const _0x157b8c=this['editor'];if(!_0x157b8c['plugins']['has']('MediaEmbedEditing'))return;const _0x53b69b=_0x157b8c['plugins']['get']('TrackChangesEditing'),_0x51121a=_0x157b8c['locale'];_0x53b69b['enableCommand']('mediaEmbed'),_0x53b69b['descriptionFactory']['registerElementLabel']('media',_0x124132=>_0x2570ab(_0x51121a,'ELEMENT_MEDIA',_0x124132)),_0x157b8c['plugins']['has']('MediaEmbedResizeEditing')&&(_0x53b69b['enableDefaultAttributesIntegration']('resizeMediaEmbed'),_0x53b69b['descriptionFactory']['registerDescriptionCallback'](_0x1b5525=>{if('attribute'!=_0x1b5525['type'])return;const {data:_0x83c9c6}=_0x1b5525;if(!_0x83c9c6||'resizedWidth'!=_0x83c9c6['key'])return;const _0x2874ea=_0x1b5525['getContainedElement']();if(!_0x2874ea||!_0x2874ea['is']('element','media'))return;const _0x491ac1=_0x2570ab(_0x51121a,'FORMAT_MEDIA_SIZE');return{'type':'format','content':_0x2570ab(_0x51121a,'*Set\x20format:*\x20%0',_0x491ac1)};}));}},_0x4c76aa=class extends _0x491313['Plugin']{afterInit(){const _0x2f7f41=this['editor'];if(!_0x2f7f41['plugins']['has']('MediaEmbedStyleEditing'))return;const _0x24fb1f=_0x2f7f41['plugins']['get']('TrackChangesEditing'),_0x47f61e=_0x2f7f41['locale'],_0x59e76e=_0x2f7f41['plugins']['get']('MediaEmbedStyleEditing'),_0x2bf2b1={};for(const _0x2a5ff7 of _0x59e76e['normalizedStyles'])_0x2bf2b1[_0x2a5ff7['name']]=_0x2a5ff7['title']['toLowerCase']();const _0x5e3460=_0x59e76e['normalizedStyles']['find'](_0x32a7bf=>_0x32a7bf['isDefault'])?.['name'];_0x24fb1f['enableCommand']('mediaStyle',(_0x5991bc,_0xc585f8)=>{const _0x2f961a=_0x2f7f41['plugins']['get']('Users')['me'],_0x258b28=_0x2f7f41['commands']['get']('mediaStyle'),_0x4934b7=function(_0x57c429){const _0x44c82a=_0x57c429['model']['document']['selection']['getSelectedElement']();return _0x44c82a&&_0x44c82a['is']('element','media')?_0x44c82a:null;}(_0x2f7f41);if(!_0x4934b7)return;const _0x3376d1=_0x2f7f41['model']['createRangeOn'](_0x4934b7);let _0x1b7cc1=_0x258b28['value'];if(_0x1b7cc1==_0xc585f8['value'])return;const _0x178eae={'commandName':'mediaStyle','commandParams':[_0xc585f8],'formatGroupId':(0x0,_0x491313['uid'])()};_0x2f7f41['model']['change'](()=>{_0x24fb1f['getSuggestions']()['filter'](_0x4c5461=>_0x4c5461['isInContent']&&_0x2f961a==_0x4c5461['author']&&'formatBlock'==_0x4c5461['type']&&'mediaStylePostApply'==_0x4c5461['subType']&&_0x4c5461['getFirstRange']()['isEqual'](_0x3376d1))['forEach'](_0x4f0eaf=>_0x24fb1f['discardSuggestion'](_0x4f0eaf['head'])),_0x258b28['refresh'](),_0x1b7cc1=_0x258b28['value'],_0x1b7cc1!=_0xc585f8['value']&&_0x24fb1f['markBlockFormat'](_0x4934b7,{..._0x178eae,'commandReversedParams':[{'value':'string'==typeof _0x1b7cc1?_0x1b7cc1:null}]},[],'mediaStylePostApply');});}),_0x24fb1f['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','join',()=>!0x1),_0x24fb1f['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','discard',(_0x4caefa,_0x154040)=>{_0x24fb1f['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x4caefa,{'commandName':_0x154040['commandName'],'commandParams':_0x154040['commandReversedParams']});}),_0x24fb1f['descriptionFactory']['registerDescriptionCallback'](_0x45b21f=>{if('formatBlock'!=_0x45b21f['type'])return;const {data:_0x160ce2}=_0x45b21f;if(!_0x160ce2||'mediaStyle'!=_0x160ce2['commandName'])return;const _0x1251cd=_0x160ce2['commandParams'][0x0]['value']||_0x5e3460;if(!_0x1251cd)return;const _0x43b7b6=_0x2bf2b1[_0x1251cd]||_0x1251cd;return{'type':'format','content':_0x2570ab(_0x47f61e,'*Format:*\x20%0',_0x43b7b6)};});}},_0x46a622=class extends _0x491313['Plugin']{afterInit(){const _0x931a77=this['editor'];_0x931a77['plugins']['has']('MentionEditing')&&_0x931a77['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}},_0x5f558b=class extends _0x491313['Plugin']{afterInit(){const _0x3a07f9=this['editor'];if(!_0x3a07f9['plugins']['has']('MergeFieldsEditing'))return;const _0x5cc1d3=_0x3a07f9['plugins']['get']('TrackChangesEditing'),_0x5cf7e9=_0x3a07f9['locale'];_0x5cc1d3['enableCommand']('insertMergeField'),_0x5cc1d3['enableCommand']('insertMergeFieldBlock'),_0x5cc1d3['enableCommand']('insertMergeFieldImage'),_0x5cc1d3['descriptionFactory']['registerElementLabel']('mergeField',_0x452f4f=>_0x2570ab(_0x5cf7e9,'ELEMENT_MERGE_FIELD',_0x452f4f)),_0x5cc1d3['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x39c749=>_0x2570ab(_0x5cf7e9,'ELEMENT_MERGE_FIELD',_0x39c749)),_0x5cc1d3['descriptionFactory']['registerDescriptionCallback'](_0x2aecec=>{if('insertion'!=_0x2aecec['type']&&'deletion'!=_0x2aecec['type'])return;const _0x15c78b=_0x2aecec['getContainedElement']();if(null==_0x15c78b)return;const _0xcb4db8=_0x3a07f9['plugins']['get']('MergeFieldsEditing');let _0x17ed05;switch(_0xcb4db8['getMergeFieldType'](_0x15c78b)){case null:return;case'image':{const _0x3748a6=_0xcb4db8['unwrapAffixes'](_0x15c78b['getAttribute']('src'));_0x17ed05=_0xcb4db8['getLabel'](_0x3748a6)||_0x3748a6;break;}default:{const _0x28781d=_0x15c78b['getAttribute']('id');_0x17ed05=_0xcb4db8['getLabel'](_0x28781d)||_0x28781d;break;}}return'insertion'==_0x2aecec['type']?{'type':'insertion','content':_0x2570ab(_0x5cf7e9,'*Insert:*\x20%0','\x22'+_0x17ed05+'\x22\x20'+_0x2570ab(_0x5cf7e9,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':_0x2570ab(_0x5cf7e9,'*Remove:*\x20%0','\x22'+_0x17ed05+'\x22\x20'+_0x2570ab(_0x5cf7e9,'ELEMENT_MERGE_FIELD'))};});}},_0x32f986=class extends _0x491313['Plugin']{afterInit(){const _0x1e0a00=this['editor'],_0x5e13d1=_0x1e0a00['plugins']['get']('TrackChangesEditing');_0x1e0a00['plugins']['has']('MultiLevelList')&&(_0x5e13d1['enableDefaultAttributesIntegration']('multiLevelList'),_0x5e13d1['descriptionFactory']['registerDescriptionCallback'](_0x3383ba=>this['handleDescriptions'](_0x3383ba)));}handleDescriptions(_0x44e853){const _0x54ebd8=this['editor']['locale'],{data:_0x29e676}=_0x44e853,_0x490ffe={'type':'format','content':''};if(_0x29e676&&'listMarkerStyle'==_0x29e676['key']){if(!_0x29e676['oldValue'])return{'type':'format','content':_0x2570ab(_0x54ebd8,'*Set\x20format:*\x20%0',_0x2570ab(_0x54ebd8,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x29e676['newValue']+')'};if(!_0x29e676['newValue']){let _0x258156=_0x44e853['head'];for(;_0x258156;){if(_0x258156['data']&&'listType'==_0x258156['data']['key']&&_0x258156['data']['newValue'])return _0x490ffe;_0x258156=_0x258156['next'];}return{'type':'format','content':_0x2570ab(_0x54ebd8,'*Remove\x20format:*\x20%0',_0x2570ab(_0x54ebd8,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x29e676['oldValue']+')'};}}}},_0x313398=class extends _0x491313['Plugin']{afterInit(){const _0x400738=this['editor'];if(!_0x400738['plugins']['has']('PageBreakEditing'))return;_0x400738['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x2377a9=_0x400738['plugins']['get']('TrackChangesEditing'),_0xd653b=_0x400738['locale'];_0x2377a9['descriptionFactory']['registerElementLabel']('pageBreak',_0x671bdc=>_0x2570ab(_0xd653b,'ELEMENT_PAGE_BREAK',_0x671bdc));}},_0x41fb48=class extends _0x491313['Plugin']{afterInit(){const _0x1286d0=this['editor'];if(!_0x1286d0['plugins']['has']('Paragraph'))return;const _0x5d2ee0=_0x1286d0['locale'],_0x418a45=_0x1286d0['plugins']['get']('TrackChangesEditing');_0x418a45['descriptionFactory']['registerElementLabel']('paragraph',_0x86e53f=>_0x2570ab(_0x5d2ee0,'ELEMENT_PARAGRAPH',_0x86e53f)),_0x418a45['enableDefaultAttributesIntegration']('paragraph'),_0x418a45['enableCommand']('insertParagraph');const _0x126b1b=_0x418a45['descriptionFactory'];_0x126b1b['registerDescriptionCallback'](_0x5177f3=>{if('insertion'!==_0x5177f3['type'])return;const {start:_0x38760d,end:_0x6c163e}=_0x5177f3['getFirstRange']();if(!_0x38760d['isTouching'](_0x6c163e)||!_0x38760d['nodeAfter'])return;const _0x4688e1=_0x1286d0['model']['schema'],_0x1ebe91=_0x38760d['nodeAfter'];return _0x4688e1['isBlock'](_0x1ebe91)&&!_0x4688e1['isLimit'](_0x1ebe91)&&_0x4688e1['checkChild'](_0x1ebe91,'$text')?{'type':'insertion','content':_0x2570ab(_0x5d2ee0,'*Insert:*\x20%0',_0x126b1b['getItemLabel'](_0x1ebe91,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}_registerLegacyDescription(){const _0x5c82f7=this['editor'],_0x5aa126=_0x5c82f7['locale'];_0x5c82f7['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x770d8c=>{if('formatBlock'!=_0x770d8c['type'])return;const {data:_0x4265ea}=_0x770d8c;return _0x4265ea&&'paragraph'==_0x4265ea['commandName']?{'type':'format','content':_0x2570ab(_0x5aa126,'*Change\x20to:*\x20%0',_0x2570ab(_0x5aa126,'ELEMENT_PARAGRAPH'))}:void 0x0;});}},_0x11be76=class extends _0x491313['Plugin']{afterInit(){const _0x138195=this['editor'];_0x138195['commands']['get']('replaceSource')&&_0x138195['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}},_0x48b7d1=class extends _0x491313['Plugin']{afterInit(){const _0x2bb21a=this['editor'];_0x2bb21a['plugins']['has']('RemoveFormatEditing')&&(_0x2bb21a['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']());}_registerLegacyDescription(){const _0x2609db=this['editor'];_0x2609db['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xbd231e=>{if('formatBlock'!=_0xbd231e['type']&&'formatInline'!=_0xbd231e['type'])return;const {data:_0x3210d1}=_0xbd231e;return _0x3210d1&&'removeFormat'==_0x3210d1['commandName']?{'type':'format','content':_0x2570ab(_0x2609db['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}},_0x249b34=class extends _0x491313['Plugin']{afterInit(){const _0x1a25e8=this['editor'];if(!_0x1a25e8['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x34c6f7=_0x1a25e8['plugins']['get']('TrackChangesEditing');_0x34c6f7['enableCommand']('goToPreviousRestrictedEditingException'),_0x34c6f7['enableCommand']('goToNextRestrictedEditingException');const _0x3be982=_0x1a25e8['plugins']['get']('RestrictedEditingModeEditing');_0x3be982['enableCommand']('trackChanges'),_0x3be982['enableCommand']('acceptSuggestion'),_0x3be982['enableCommand']('discardSuggestion'),_0x3be982['enableCommand']('acceptAllSuggestions'),_0x3be982['enableCommand']('discardAllSuggestions'),_0x3be982['enableCommand']('acceptSelectedSuggestions'),_0x3be982['enableCommand']('discardSelectedSuggestions');}},_0xa61db5=class extends _0x491313['Plugin']{afterInit(){const _0x30b5b5=this['editor'];if(!_0x30b5b5['plugins']['has']('ShiftEnter'))return;const _0x4079b1=_0x30b5b5['plugins']['get']('TrackChangesEditing');_0x4079b1['enableCommand']('shiftEnter'),_0x4079b1['descriptionFactory']['registerElementLabel']('softBreak',_0x4b7f06=>_0x2570ab(_0x30b5b5['locale'],'ELEMENT_LINE_BREAK',_0x4b7f06));}};function _0x1d3880(_0xf8a242,_0x18cfcf,_0x537e9e){const _0x1ee4bf=[];for(const _0x228740 of _0x18cfcf['getItems']())_0x228740['hasAttribute'](_0xf8a242)&&_0x1ee4bf['push'](_0x537e9e['createRangeOn'](_0x228740));return _0x1ee4bf;}var _0x29c734=class extends _0x491313['Plugin']{afterInit(){const _0x58292d=this['editor'],_0x23dd2a=_0x58292d['plugins']['get']('TrackChangesEditing');_0x58292d['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x23dd2a['enableCommand']('restrictedEditingExceptionAuto'));}_enableEditingExceptionCommand(){const _0x5bc48e=this['editor'],_0x171f83=_0x5bc48e['model'],_0x338a77=_0x5bc48e['locale'],_0x443809=_0x5bc48e['plugins']['get']('TrackChangesEditing'),_0x427d81='restrictedEditingException',_0x27a71f=_0x5bc48e['commands']['get'](_0x427d81);_0x443809['enableCommand'](_0x427d81,(_0x30fdb6,_0x1882c5={})=>{const _0x3865da=_0x171f83['document']['selection'];if(_0x3865da['isCollapsed'])return void _0x30fdb6(_0x1882c5);const _0x4ee4dd=void 0x0!==_0x1882c5['forceValue']?_0x1882c5['forceValue']:!_0x27a71f['value'];_0x171f83['change'](()=>{const _0x43ea94=Array['from'](_0x3865da['getRanges']());for(const _0x1b6de9 of _0x43ea94){const _0x3b3f19=_0x4ee4dd?[_0x1b6de9]:_0x1d3880(_0x427d81,_0x1b6de9,_0x171f83);for(const _0x2f8f16 of _0x3b3f19)_0x443809['markInlineFormat'](_0x2f8f16,{'commandName':_0x427d81,'commandParams':[{'forceValue':_0x4ee4dd}]});}});}),_0x443809['descriptionFactory']['registerDescriptionCallback'](_0x11b8bd=>{if('formatBlock'!=_0x11b8bd['type']&&'formatInline'!=_0x11b8bd['type'])return;const {data:_0x5dfc77}=_0x11b8bd;return _0x5dfc77&&_0x5dfc77['commandName']==_0x427d81?_0x5dfc77['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2570ab(_0x338a77,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x2570ab(_0x338a77,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}_enableEditingExceptionBlockCommand(){const _0x2b1d1b=this['editor'],_0x72d27a=_0x2b1d1b['locale'],_0xb9b554=_0x2b1d1b['plugins']['get']('TrackChangesEditing'),_0x15bed2='restrictedEditingExceptionBlock',_0x528039=this['editor']['commands']['get'](_0x15bed2);_0xb9b554['enableCommand'](_0x15bed2,(_0x528a51,_0x307697={})=>{const _0x169976=this['editor']['model']['document']['selection'],_0x29a5f5=_0x307697&&void 0x0!==_0x307697['forceValue']?_0x307697['forceValue']:!_0x528039['value'];let _0xd1bc3c=[];_0xd1bc3c=_0x3fe1e9(_0x29a5f5?Array['from'](_0x169976['getSelectedBlocks']())['filter'](_0x4377b5=>function(_0xe2a28f){return!!_0xe2a28f['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x4377b5)||function(_0x3b42ac,_0x45ec14){const _0x3d0504=_0x45ec14['createContext'](_0x3b42ac['parent']);return!!_0x45ec14['checkChild'](_0x3d0504,'restrictedEditingException')&&!!_0x45ec14['checkChild'](_0x3d0504['push']('restrictedEditingException'),_0x3b42ac);}(_0x4377b5,this['editor']['model']['schema'])):Array['from'](_0x169976['getSelectedBlocks']())['map'](_0x25de94=>function(_0x5111b8){let _0x563d09=_0x5111b8;for(;_0x563d09['parent'];){if('restrictedEditingException'==_0x563d09['parent']['name'])return _0x563d09;_0x563d09=_0x563d09['parent'];}return null;}(_0x25de94))['filter'](_0xc7fefe=>!!_0xc7fefe),_0x2b1d1b['model']),_0x2b1d1b['model']['change'](()=>{for(const _0x57c57a of _0xd1bc3c)_0xb9b554['markBlockFormat'](_0x57c57a,{'commandName':_0x15bed2,'commandParams':[{'forceValue':_0x29a5f5}]});});}),_0xb9b554['descriptionFactory']['registerDescriptionCallback'](_0x2d050d=>{const {data:_0x57c347}=_0x2d050d;if(_0x57c347&&_0x57c347['commandName']==_0x15bed2)return _0x57c347['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2570ab(_0x72d27a,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x2570ab(_0x72d27a,'FORMAT_RESTRICTED_DISABLED')};});}},_0x33113c=class extends _0x491313['Plugin']{afterInit(){const _0x2bb85a=this['editor'];_0x2bb85a['plugins']['has']('Style')&&_0x2bb85a['plugins']['has']('DataSchema')&&(_0x2bb85a['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('style'),this['_registerLegacyDescription']());}_registerLegacyDescription(){const _0x57536c=this['editor'],_0x171265=_0x57536c['locale'];_0x57536c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2a91e3=>{if('formatBlock'!=_0x2a91e3['type']&&'formatInline'!=_0x2a91e3['type'])return;const {data:_0xe3db0d}=_0x2a91e3;return _0xe3db0d&&'style'===_0xe3db0d['commandName']?_0xe3db0d['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2570ab(_0x171265,'*Set\x20format:*\x20%0',_0xe3db0d['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x2570ab(_0x171265,'*Remove\x20format:*\x20%0',_0xe3db0d['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}},_0x25ed30=class extends _0x491313['Plugin']{_tablePostFixingSubtypes;_tableSuggestions;constructor(_0x1131f7){super(_0x1131f7),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}afterInit(){const _0x267097=this['editor'],_0x679ebd=_0x267097['model']['document']['selection'];if(!_0x267097['plugins']['has']('TableEditing'))return;const _0x5c4bb0=_0x267097['locale'],_0x2dd44f=_0x267097['plugins']['get']('TrackChangesEditing'),_0x1b528b=_0x267097['plugins']['get']('TableUtils');_0x2dd44f['descriptionFactory']['registerElementLabel']('table',_0x53cf74=>_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE',_0x53cf74)),this['_setupColumnsRowsFixing'](),_0x2dd44f['enableCommand']('insertTable'),_0x2dd44f['enableCommand']('selectTableRow'),_0x2dd44f['enableCommand']('selectTableColumn');for(const _0x2bfcc9 of['insertTableRowAbove','insertTableRowBelow']){const _0x275438=_0x267097['commands']['get'](_0x2bfcc9);_0x2dd44f['enableCommand'](_0x2bfcc9,_0x131f96=>{_0x267097['model']['change'](_0x44cd03=>{_0x131f96();const _0x1d0c57='above'===_0x275438['order'],_0x873c13=_0x1b528b['getSelectionAffectedTableCells'](_0x679ebd),_0xda86b=_0x1b528b['getRowIndexes'](_0x873c13),_0x12415a=_0x1d0c57?_0xda86b['first']-0x1:_0xda86b['last']+0x1,_0x522437=_0x873c13[0x0]['findAncestor']('table'),_0x11c899=_0x1b528b['createTableWalker'](_0x522437,{'startRow':_0x12415a,'endRow':_0x12415a}),_0x3b27af=Array['from'](_0x11c899)['map'](_0x541937=>_0x44cd03['createRangeOn'](_0x541937['cell']));_0x2dd44f['markMultiRangeInsertion'](_0x3b27af,'tableRow');});});}for(const _0x2b85b6 of['insertTableColumnLeft','insertTableColumnRight']){const _0x17bcff=_0x267097['commands']['get'](_0x2b85b6);_0x2dd44f['enableCommand'](_0x2b85b6,_0x44e23e=>{_0x267097['model']['change'](_0x3f4b81=>{_0x44e23e();const _0x17975e='left'===_0x17bcff['order'],_0x2bb3a9=_0x1b528b['getSelectionAffectedTableCells'](_0x679ebd),_0xfdbd8f=_0x1b528b['getColumnIndexes'](_0x2bb3a9),_0x2500fd=_0x17975e?_0xfdbd8f['first']-0x1:_0xfdbd8f['last']+0x1,_0x4e1d74=_0x2bb3a9[0x0]['findAncestor']('table'),_0x3905ed=_0x1b528b['createTableWalker'](_0x4e1d74,{'startRow':0x0,'column':_0x2500fd,'includeAllSlots':!0x1}),_0x350c66=Array['from'](_0x3905ed)['map'](_0x39299c=>_0x3f4b81['createRangeOn'](_0x39299c['cell']));_0x2dd44f['markMultiRangeInsertion'](_0x350c66,'tableColumn');});});}for(const _0x463a67 of['removeTableRow','removeTableColumn']){const _0x29b2b0=_0x463a67['substr'](0xb),_0x50d50a=_0x29b2b0['toLowerCase'](),_0x437253=_0x50d50a['substr'](0x0,0x3)+'span',_0xbae702='table'+_0x29b2b0,_0x4000e9='min'+_0x29b2b0,_0x441034='max'+_0x29b2b0;_0x2dd44f['enableCommand'](_0x463a67,()=>{_0x267097['model']['change'](_0x17e2f7=>{const _0x46d1c0=_0x1b528b['getSelectionAffectedTableCells'](_0x679ebd),_0x4fbcc3=_0x46d1c0[0x0]['findAncestor']('table');let _0x4f0ae4;if('removeTableRow'==_0x463a67){const _0x2371d7=_0x1b528b['getRowIndexes'](_0x46d1c0);_0x4f0ae4={'startRow':_0x2371d7['first'],'endRow':_0x2371d7['last'],'includeAllSlots':!0x0};}else{const _0x43c05c=_0x1b528b['getColumnIndexes'](_0x46d1c0);_0x4f0ae4={'startColumn':_0x43c05c['first'],'endColumn':_0x43c05c['last'],'includeAllSlots':!0x0};}const _0x5a5596=_0x1b528b['createTableWalker'](_0x4fbcc3,_0x4f0ae4),_0x3954a3=Array['from'](_0x5a5596)['map'](({cell:_0x34ee22})=>_0x34ee22),_0x18a280=_0x36c320(_0x3954a3['filter'](_0x2b8fc0=>_0x2b8fc0['hasAttribute'](_0x437253))),_0x5b49f5=_0x36c320(_0x3954a3['filter'](_0x3fa2d0=>!_0x3fa2d0['hasAttribute'](_0x437253)))['map'](_0x1efc18=>_0x17e2f7['createRangeOn'](_0x1efc18)),_0x34551f=_0x2dd44f['markMultiRangeDeletion'](_0x5b49f5,_0xbae702);if(_0x34551f&&('tableRow'==_0x34551f['subType']||'tableColumn'==_0x34551f['subType'])){const _0x4ffe02=this['_getSuggestionCoords'](_0x34551f);for(const _0x59d172 of _0x18a280){const _0x5db2c1=_0x17e2f7['createRangeOn'](_0x59d172),_0x114bca=_0x1b528b['getCellLocation'](_0x59d172),_0x403ae1=_0x59d172['getAttribute'](_0x437253)-0x1,_0x17dd3d=_0x4ffe02[_0x4000e9],_0xc3b3fa=_0x4ffe02[_0x441034];_0x17dd3d<=_0x114bca[_0x50d50a]&&_0x114bca[_0x50d50a]+_0x403ae1<=_0xc3b3fa&&_0x34551f['addRange'](_0x5db2c1);}}});});}function _0x8ed999(_0x5e68dc){const _0x395434=Array['from'](_0x679ebd['getRanges']())['map'](_0x1cfab1=>_0x491313['ModelLiveRange']['fromRange'](_0x1cfab1));_0x267097['model']['change'](_0x226fcc=>{const _0x14c57e=_0x226fcc['batch'];_0x5e68dc=_0x5e68dc['filter'](_0x37b6e6=>'$graveyard'!=_0x37b6e6['root']['rootName']),_0x226fcc['setSelection'](_0x5e68dc),_0x267097['commands']['get']('removeTableRow')['refresh'](),_0x267097['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x267097['model']['enqueueChange'](()=>{_0x267097['model']['enqueueChange'](_0x14c57e,_0x1c82b9=>{const _0x56c9fe=_0x395434['filter'](_0x3a9805=>'$graveyard'!=_0x3a9805['root']['rootName']);_0x56c9fe['length']>0x0&&_0x1c82b9['setSelection'](_0x56c9fe);for(const _0x5b0a6b of _0x395434)_0x5b0a6b['detach']();});});});}function _0x480503(_0x460dfd){_0x267097['model']['change'](_0x582dad=>{const _0x3b7ed1=Array['from'](_0x679ebd['getRanges']())['map'](_0x208ae3=>_0x491313['ModelLiveRange']['fromRange'](_0x208ae3)),_0x3c23ef=[];for(const _0x20c98a of _0x460dfd)for(const _0x68fb72 of _0x20c98a['getItems']({'shallow':!0x0}))_0x3c23ef['push'](_0x68fb72);for(const _0x7bbefa of _0x3c23ef)'$graveyard'!=_0x7bbefa['root']['rootName']&&(_0x582dad['setSelection'](_0x582dad['createPositionAt'](_0x7bbefa,0x0)),_0x267097['commands']['get']('removeTableColumn')['refresh'](),_0x267097['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x16e03f=_0x3b7ed1['filter'](_0x38c1ab=>'$graveyard'!=_0x38c1ab['root']['rootName']);_0x16e03f['length']>0x0&&_0x582dad['setSelection'](_0x16e03f);for(const _0x5245c5 of _0x3b7ed1)_0x5245c5['detach']();});}function _0x377de7(_0x2c93cc,_0x343f66){return _0x343f66['every'](_0xba3aa6=>_0x2c93cc['some'](_0x44870d=>_0x44870d['end']['isEqual'](_0xba3aa6['start'])||_0xba3aa6['end']['isEqual'](_0x44870d['start'])));}function _0x47e004(_0x38395f,_0x22689e){return!_0x38395f['some'](_0x331aa2=>_0x22689e['some'](_0x20388f=>_0x331aa2['isIntersecting'](_0x20388f)))&&_0x38395f['some'](_0x25f672=>_0x22689e['some'](_0x160a4c=>_0x25f672['end']['isTouching'](_0x160a4c['start'])));}_0x2dd44f['descriptionFactory']['registerDescriptionCallback'](_0x619f39=>{if('insertion'!=_0x619f39['type']&&'deletion'!=_0x619f39['type'])return;const _0x3552ca=_0x619f39['getContainedElement']();if(null!=_0x3552ca&&_0x3552ca['is']('element','table')){if('insertion'==_0x619f39['type']){const _0x421c94=_0x619f39['getItems']()['filter'](_0x12da91=>_0x12da91['is']('$textProxy'))['map'](_0x596f95=>_0x596f95['data']);if(_0x421c94['length'])return{'type':'insertion','content':_0x2570ab(_0x5c4bb0,'*Insert:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x421c94['join']('\x20')+'\x22'))};}if('deletion'==_0x619f39['type']){const _0x163752=_0x619f39['getItems']()['filter'](_0x4f705e=>_0x4f705e['is']('$textProxy'))['map'](_0x163aaf=>_0x163aaf['data']);if(_0x163752['length'])return{'type':'deletion','content':_0x2570ab(_0x5c4bb0,'*Remove:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x163752['join']('\x20')+'\x22'))};}}}),_0x2dd44f['descriptionFactory']['registerDescriptionCallback'](_0x458e17=>{if('tableRow'==_0x458e17['subType']){const _0x51a7b0=_0x458e17['getItems']()['filter'](_0x4b6a3b=>_0x4b6a3b['is']('$textProxy'))['map'](_0x3edcb3=>_0x3edcb3['data']),_0x5e6960=this['_getSuggestionCoords'](_0x458e17),_0x18c34f=_0x5e6960['maxRow']-_0x5e6960['minRow']+0x1;if('insertion'==_0x458e17['type'])return _0x51a7b0['length']?{'type':'insertion','content':_0x2570ab(_0x5c4bb0,'*Insert:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x18c34f,'\x22'+_0x51a7b0['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x2570ab(_0x5c4bb0,'*Insert:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_ROW',_0x18c34f))};if('deletion'==_0x458e17['type'])return _0x51a7b0['length']?{'type':'deletion','content':_0x2570ab(_0x5c4bb0,'*Remove:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x18c34f,'\x22'+_0x51a7b0['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x2570ab(_0x5c4bb0,'*Remove:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_ROW',_0x18c34f))};}if('tableColumn'==_0x458e17['subType']){const _0x2a0528=_0x458e17['getItems']()['filter'](_0x219df6=>_0x219df6['is']('$textProxy'))['map'](_0x2764fe=>_0x2764fe['data']),_0x42e027=this['_getSuggestionCoords'](_0x458e17),_0x467bb2=_0x42e027['maxColumn']-_0x42e027['minColumn']+0x1;if('insertion'==_0x458e17['type'])return _0x2a0528['length']?{'type':'insertion','content':_0x2570ab(_0x5c4bb0,'*Insert:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x467bb2,'\x22'+_0x2a0528['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x2570ab(_0x5c4bb0,'*Insert:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_COLUMN',_0x467bb2))};if('deletion'==_0x458e17['type'])return _0x2a0528['length']?{'type':'deletion','content':_0x2570ab(_0x5c4bb0,'*Remove:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x467bb2,'\x22'+_0x2a0528['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x2570ab(_0x5c4bb0,'*Remove:*\x20%0',_0x2570ab(_0x5c4bb0,'ELEMENT_TABLE_COLUMN',_0x467bb2))};}}),_0x2dd44f['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x8ed999),_0x2dd44f['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x8ed999),_0x2dd44f['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x480503),_0x2dd44f['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x480503),_0x2dd44f['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x377de7),_0x2dd44f['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x377de7),_0x2dd44f['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x47e004),_0x2dd44f['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x47e004);}_acceptFormatSuggestionCallbackFactory(){const _0x50888b=this['editor'],_0x4d8a18=_0x50888b['model']['document']['selection'];return(_0xfde493,_0x467d09)=>{_0x50888b['model']['change'](_0x57018d=>{const {commandName:_0xd47fe9,commandParams:_0x5d66aa}=_0x467d09;let _0x1de7b8=_0xfde493[0x0]['end']['nodeBefore'];_0x5d66aa&&_0x5d66aa[0x0]&&!0x1===_0x5d66aa[0x0]['forceValue']&&(_0x1de7b8=_0xfde493[0x0]['start']['nodeAfter']);const _0x3344b9=_0x57018d['createRangeIn'](_0x1de7b8);if('$graveyard'==_0x3344b9['root']['rootName'])return;const _0x12bd3b=Array['from'](_0x4d8a18['getRanges']())['map'](_0x35493f=>_0x491313['ModelLiveRange']['fromRange'](_0x35493f));_0x57018d['setSelection'](_0x3344b9),_0x50888b['commands']['get'](_0xd47fe9)['refresh'](),_0x5d66aa['push']({'forceDefaultExecution':!0x0}),_0x50888b['execute'](_0xd47fe9,..._0x5d66aa);const _0x429a06=_0x12bd3b['filter'](_0xcf71b0=>'$graveyard'!=_0xcf71b0['root']['rootName']);_0x429a06['length']>0x0&&_0x57018d['setSelection'](_0x429a06);for(const _0x170d5a of _0x12bd3b)_0x170d5a['detach']();});};}_getCoordsForCells(_0x46bd71){const _0x18d07f=this['editor']['plugins']['get']('TableUtils');let _0x13e450=Number['MAX_SAFE_INTEGER'],_0xdd0eba=Number['MIN_SAFE_INTEGER'],_0x299ab3=Number['MAX_SAFE_INTEGER'],_0x521dd7=Number['MIN_SAFE_INTEGER'];for(const _0x459855 of _0x46bd71){if('$graveyard'==_0x459855['root']['rootName'])continue;const {row:_0x4ed541,column:_0x8cde29}=_0x18d07f['getCellLocation'](_0x459855),_0x4e9d3a=_0x459855['hasAttribute']('rowspan')?_0x459855['getAttribute']('rowspan')-0x1:0x0,_0x18497b=_0x459855['hasAttribute']('colspan')?_0x459855['getAttribute']('colspan')-0x1:0x0;_0x13e450=_0x4ed541<_0x13e450?_0x4ed541:_0x13e450,_0xdd0eba=_0x4ed541+_0x4e9d3a>_0xdd0eba?_0x4ed541+_0x4e9d3a:_0xdd0eba,_0x299ab3=_0x8cde29<_0x299ab3?_0x8cde29:_0x299ab3,_0x521dd7=_0x8cde29+_0x18497b>_0x521dd7?_0x8cde29+_0x18497b:_0x521dd7;}return{'minRow':_0x13e450,'maxRow':_0xdd0eba,'minColumn':_0x299ab3,'maxColumn':_0x521dd7};}_setupColumnsRowsFixing(){const _0x23438c=this['editor'],_0x4a4177=_0x23438c['plugins']['get']('TrackChangesEditing'),_0xcb4524=_0x23438c['plugins']['get']('TableUtils');_0x23438c['model']['document']['on']('change:data',()=>{const _0x38afe2=Array['from'](_0x23438c['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4b9aad,data:_0x4d38d8}of _0x38afe2){const {group:_0x30f320,id:_0xc64408,subType:_0x47cbca}=_0x41e4c4(_0x4b9aad);if('suggestion'!=_0x30f320)continue;if(null!=_0x4d38d8['oldRange'])continue;const _0x591792=_0x4a4177['getSuggestion'](_0xc64408);this['_tablePostFixingSubtypes']['includes'](_0x47cbca)&&this['_tableSuggestions']['add'](_0x591792);}},{'priority':'low'});const _0x56c920=(_0x4c0bf2,_0xdaf1c)=>{let _0xc87dfb=!0x1;const _0x307a1f=_0xdaf1c['createRangeOn'](_0x4c0bf2),_0x3fdc99=_0x4c0bf2['findAncestor']('table'),_0x4c5625=_0xcb4524['getCellLocation'](_0x4c0bf2);for(const _0x2ac317 of this['_tableSuggestions']){const _0x1aa9a0=_0x2ac317['subType'],_0x4d6b45=_0x1aa9a0['startsWith']('tablePaste'),_0x154460=_0x1aa9a0['substr'](_0x4d6b45?0xa:0x5),_0xf0d00f=_0x154460['toLowerCase'](),_0xe82011=_0xf0d00f['substr'](0x0,0x3)+'span',_0x1d5a9a='min'+_0x154460,_0x1fdb35='max'+_0x154460;if(!_0x2ac317['isInContent'])continue;if(_0x3fdc99!=_0x2ac317['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x2ac317['isIntersectingWithRange'](_0x307a1f))continue;const _0x43aea1=_0x4c0bf2['hasAttribute'](_0xe82011)?_0x4c0bf2['getAttribute'](_0xe82011)-0x1:0x0,_0x54d8a6=this['_getSuggestionCoords'](_0x2ac317),_0x2303d7=_0x54d8a6[_0x1d5a9a],_0x59d1fe=_0x54d8a6[_0x1fdb35];_0x2303d7<=_0x4c5625[_0xf0d00f]&&_0x4c5625[_0xf0d00f]+_0x43aea1<=_0x59d1fe&&(_0x2ac317['addRange'](_0x307a1f),_0xc87dfb=!0x0);}return _0xc87dfb;};_0x23438c['model']['document']['registerPostFixer'](_0x58e535=>{let _0x2f0405=!0x1;for(const _0x5d5a3a of _0x23438c['model']['document']['differ']['getChanges']())if('insert'==_0x5d5a3a['type']){if('tableRow'==_0x5d5a3a['name']){for(const _0xb0f9f6 of _0x5d5a3a['position']['nodeAfter']['getChildren']())_0x2f0405=_0x2f0405||_0x56c920(_0xb0f9f6,_0x58e535);}else'tableCell'==_0x5d5a3a['name']&&(_0x2f0405=_0x2f0405||_0x56c920(_0x5d5a3a['position']['nodeAfter'],_0x58e535));}return _0x2f0405;});}_getSuggestionCoords(_0x337097){return this['_getCoordsForCells'](_0x337097['getRanges']()['map'](_0x301a60=>_0x301a60['start']['nodeAfter']));}};function _0x36c320(_0x78b917){return Array['from'](new Set(_0x78b917)['values']());}var _0x3b7267=class extends _0x491313['Plugin']{static get requires(){return[_0x25ed30];}afterInit(){const _0x3375c5=this['editor'],_0x15b5f0=_0x3375c5['model']['document']['selection'],_0x250e99=_0x3375c5['locale'];if(!_0x3375c5['plugins']['has']('TableEditing'))return;const _0x592422=_0x3375c5['plugins']['get']('TrackChangesEditing'),_0x1738f4=_0x3375c5['plugins']['get']('TableUtils'),_0x3f1660=_0x3375c5['plugins']['get'](_0x25ed30);_0x3f1660['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x592422['enableCommand']('mergeTableCells',()=>{const _0x20a4d8=_0x1738f4['getSelectionAffectedTableCells'](_0x3375c5['model']['document']['selection']);_0x3375c5['model']['change'](()=>{_0x592422['markMultiRangeBlockFormat'](_0x20a4d8,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x3375c5['commands']['get']('mergeTableCells')['on']('execute',(_0x3cf9a6,_0x4fdbf9)=>{_0x3375c5['commands']['get']('trackChanges')['value']&&(_0x4fdbf9['length']>0x0&&_0x4fdbf9[_0x4fdbf9['length']-0x1]&&_0x4fdbf9[_0x4fdbf9['length']-0x1]['forceDefaultExecution']||_0x592422['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x3cf9a6['stop']());},{'priority':'highest'});for(const _0x2019bb of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x9c2fc6=_0x3375c5['commands']['get'](_0x2019bb);_0x592422['enableCommand'](_0x2019bb,()=>{const _0x4ec6d6=_0x3375c5['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x5570cd=>_0x5570cd['is']('element','tableCell')),_0x70d98e=_0x9c2fc6['value'];_0x3375c5['model']['change'](()=>{_0x592422['markMultiRangeBlockFormat']([_0x4ec6d6,_0x70d98e],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x4f3809 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x474af1=_0x3375c5['commands']['get'](_0x4f3809);_0x592422['enableCommand'](_0x4f3809,()=>{const _0x1d5eea=_0x1738f4['getSelectionAffectedTableCells'](_0x3375c5['model']['document']['selection']),_0xb2fdd7=_0x1d5eea[0x0]['findAncestor']('table'),_0x3f2332=new Set();for(const _0x216ef8 of _0x1d5eea){const {column:_0x4391f6,row:_0x296c06}=_0x1738f4['getCellLocation'](_0x216ef8),_0x247321='horizontally'==_0x474af1['direction']?_0x1738f4['createTableWalker'](_0xb2fdd7,{'startRow':_0x296c06,'endRow':_0x296c06,'includeAllSlots':!0x0}):_0x1738f4['createTableWalker'](_0xb2fdd7,{'column':_0x4391f6,'includeAllSlots':!0x0});for(const {cell:_0x2cb52d}of _0x247321)_0x3f2332['add'](_0x2cb52d);}_0x3375c5['model']['change'](()=>{_0x592422['markMultiRangeBlockFormat'](_0x1d5eea,{'commandName':_0x4f3809,'commandParams':[]},Array['from'](_0x3f2332),_0x4f3809);});});}_0x592422['descriptionFactory']['registerDescriptionCallback'](_0x1800e4=>{if('formatBlock'!=_0x1800e4['type']&&'formatInline'!=_0x1800e4['type'])return;const {data:_0x33b683}=_0x1800e4;return _0x33b683&&'mergeTableCells'==_0x33b683['commandName']?{'type':'format','content':_0x2570ab(_0x250e99,'*Merge\x20cells*')}:void 0x0;}),_0x592422['descriptionFactory']['registerDescriptionCallback'](_0x428be8=>{if('formatBlock'!=_0x428be8['type']&&'formatInline'!=_0x428be8['type'])return;const {data:_0x36c6f9}=_0x428be8;return _0x36c6f9?'splitTableCellVertically'==_0x36c6f9['commandName']?{'type':'format','content':_0x2570ab(_0x250e99,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x36c6f9['commandName']?{'type':'format','content':_0x2570ab(_0x250e99,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x52e96f=_0x3f1660['_acceptFormatSuggestionCallbackFactory']();for(const _0x5d3b7c of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x592422['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x5d3b7c,'accept',_0x52e96f);for(const _0x205290 of['splitTableCellVertically','splitTableCellHorizontally'])_0x592422['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x205290,'accept',_0x2dc152=>{_0x3375c5['model']['change'](_0x2c9922=>{const _0x3aa4dd=Array['from'](_0x2dc152)['filter'](_0x23b5aa=>'$graveyard'!=_0x23b5aa['root']['rootName']&&!!_0x23b5aa['getContainedElement']()?.['is']('element','tableCell'));if(0x0==_0x3aa4dd['length'])return;const _0x4ec29c=Array['from'](_0x15b5f0['getRanges']())['map'](_0x502964=>_0x491313['ModelLiveRange']['fromRange'](_0x502964));_0x2c9922['setSelection'](_0x3aa4dd),_0x3375c5['commands']['get'](_0x205290)['refresh'](),_0x3375c5['execute'](_0x205290,{'forceDefaultExecution':!0x0});const _0xac0e53=_0x4ec29c['filter'](_0x4ce12c=>'$graveyard'!=_0x4ce12c['root']['rootName']);_0xac0e53['length']>0x0&&_0x2c9922['setSelection'](_0xac0e53);for(const _0x5489f9 of _0x4ec29c)_0x5489f9['detach']();});});_0x592422['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x5e9cdd=>{_0x3375c5['model']['change'](_0x1e3322=>{const _0x335bcb=Array['from'](_0x15b5f0['getRanges']())['map'](_0x26c555=>_0x491313['ModelLiveRange']['fromRange'](_0x26c555));_0x1e3322['setSelection'](_0x5e9cdd),_0x3375c5['commands']['get']('mergeTableCells')['refresh'](),_0x3375c5['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x1b7794=_0x335bcb['filter'](_0x2e22fe=>'$graveyard'!=_0x2e22fe['root']['rootName']);_0x1b7794['length']>0x0&&_0x1e3322['setSelection'](_0x1b7794);for(const _0x4d155d of _0x335bcb)_0x4d155d['detach']();});});for(const _0x4b18a7 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0xda624c=_0x3375c5['commands']['get'](_0x4b18a7);_0xda624c['on']('set:isEnabled',(_0x4538b8,_0x24b251,_0x3a5558)=>{if(_0x3a5558){const _0xebd38b=_0x3375c5['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x4f244a=>_0x4f244a['is']('element','tableCell'));this['_areMergableCells'](_0xda624c['value'],_0xebd38b)||(_0x4538b8['return']=!0x1,_0x4538b8['stop']());}},{'priority':'low'});}}_areSelectedCellsMergable(){const _0xe51461=this['editor']['commands']['get']('mergeTableCells'),_0x1555f2=this['editor']['plugins']['get']('TableUtils');if(!_0xe51461['isEnabled'])return!0x1;const _0x4489df=_0x1555f2['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x2b2c1d of _0x4489df)for(const _0x83accb of _0x4489df)if(_0x2b2c1d!=_0x83accb&&!this['_areMergableCells'](_0x2b2c1d,_0x83accb))return!0x1;return!0x0;}['_areMergableCells'](_0x58ada9,_0x7c891f){const _0x281670=this['editor']['plugins']['get']('TrackChangesEditing'),_0x42cd72=this['editor']['model']['createRangeOn'](_0x58ada9),_0x15b3eb=this['editor']['model']['createRangeOn'](_0x7c891f),_0x5432ed=new Set(),_0x18c4ff=new Set();for(const _0xe394bc of _0x281670['getSuggestions']())if(('insertion'==_0xe394bc['type']||'deletion'==_0xe394bc['type']||'mergeTableCells'==_0xe394bc['subType'])&&_0xe394bc['isInContent']){for(const _0x382799 of _0xe394bc['getRanges']())_0x382799['containsRange'](_0x42cd72,!0x0)&&_0x5432ed['add'](_0xe394bc['type']+':'+_0xe394bc['author']['id']),_0x382799['containsRange'](_0x15b3eb,!0x0)&&_0x18c4ff['add'](_0xe394bc['type']+':'+_0xe394bc['author']['id']);}if(_0x5432ed['size']!=_0x18c4ff['size'])return!0x1;for(const _0x2b6b19 of _0x5432ed)if(!_0x18c4ff['has'](_0x2b6b19))return!0x1;return!0x0;}},_0x200bda=class extends _0x491313['Plugin']{static get requires(){return[_0x25ed30];}afterInit(){const _0x53faef=this['editor'];if(!_0x53faef['plugins']['has']('TableEditing'))return;const _0x537d09=_0x53faef['locale'],_0x1b9b5e=_0x53faef['plugins']['get']('TrackChangesEditing');_0x1b9b5e['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x1b9b5e['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x1b9b5e['descriptionFactory']['registerAttributeLabel']('headingRows',_0x2570ab(_0x537d09,'FORMAT_HEADER_ROW')),_0x1b9b5e['descriptionFactory']['registerAttributeLabel']('headingColumns',_0x2570ab(_0x537d09,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}_handleLegacySuggestions(){const _0x3531e6=this['editor']['plugins']['get']('TrackChangesEditing'),_0x274cae=this['editor']['plugins']['get'](_0x25ed30)['_acceptFormatSuggestionCallbackFactory']();_0x3531e6['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x274cae),_0x3531e6['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x274cae),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}_registerLegacyConverters(){const _0x57e4b9=this['editor']['plugins']['get']('TrackChangesEditing'),_0x29b174=this['editor']['plugins']['get']('TableUtils');function _0x318a2d({showActiveMarker:_0xd9980d=!0x0,setDataAttribute:_0x51b7f1=!0x0}={}){return(_0x18ab10,_0x2b8bce,_0x2e2f88)=>{const {type:_0x4b40e3,id:_0x5b6116}=_0x41e4c4(_0x2b8bce['markerName']);if(!_0x57e4b9['hasSuggestion'](_0x5b6116))return;const _0x3501f9=_0x57e4b9['getSuggestion'](_0x5b6116),_0x133bba=_0x3501f9['data'];if('formatBlock'!=_0x3501f9['type']||!_0x133bba||'setTableColumnHeader'!=_0x133bba['commandName'])return;if(_0x2b8bce['item'])return void _0x18ab10['stop']();if(!_0x2e2f88['consumable']['consume'](_0x2b8bce['markerRange'],_0x18ab10['name']))return;const _0x237139=_0x2b8bce['markerRange']['start']['nodeAfter'],_0x279c6f=_0x2b8bce['markerRange']['end']['nodeBefore'],_0x1bed57=_0x237139['parent']['parent'],{column:_0x4971ee}=_0x29b174['getCellLocation'](_0x237139),{column:_0x16101b}=_0x29b174['getCellLocation'](_0x279c6f);for(let _0x587540=_0x4971ee;_0x587540<=_0x16101b;_0x587540++){const _0x1b88f7=_0x29b174['createTableWalker'](_0x1bed57,{'column':_0x587540,'includeAllSlots':!0x1});for(const _0x224d64 of _0x1b88f7){const _0x1cfa67=_0x224d64['cell'],_0x5dc649=_0x2e2f88['mapper']['toViewElement'](_0x1cfa67);_0x2e2f88['writer']['addClass']('ck-suggestion-marker-'+_0x4b40e3,_0x5dc649),_0x51b7f1&&_0x2e2f88['writer']['setAttribute']('data-suggestion',_0x5b6116,_0x5dc649),_0x2e2f88['mapper']['bindElementToMarker'](_0x5dc649,_0x2b8bce['markerName']),_0xd9980d&&(_0x57e4b9['activeMarkers']['includes'](_0x2b8bce['markerName'])?_0x2e2f88['writer']['addClass']('ck-suggestion-marker--active',_0x5dc649):_0x2e2f88['writer']['removeClass']('ck-suggestion-marker--active',_0x5dc649));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x318a2d(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x46509d,_0x4eaf2b,_0x2e9cd2)=>{_0x2e9cd2['options']['showSuggestionHighlights']&&_0x318a2d({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x46509d,_0x4eaf2b,_0x2e9cd2);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x505ed5,_0x477c47,_0x10f96b)=>{const {type:_0x5a4153,id:_0xb26e90}=_0x41e4c4(_0x477c47['markerName']);if(!_0x57e4b9['hasSuggestion'](_0xb26e90))return;const _0x93fb2d=_0x57e4b9['getSuggestion'](_0xb26e90),_0x208a3d=_0x93fb2d['data'];if('formatBlock'!=_0x93fb2d['type']||!_0x208a3d||'setTableColumnHeader'!=_0x208a3d['commandName'])return;const _0x5e9d7d=_0x10f96b['mapper']['markerNameToElements'](_0x477c47['markerName']);if(_0x5e9d7d){for(const _0x1a23a6 of _0x5e9d7d)_0x10f96b['writer']['removeClass']('ck-suggestion-marker-'+_0x5a4153,_0x1a23a6),_0x10f96b['writer']['removeClass']('ck-suggestion-marker--active',_0x1a23a6),_0x10f96b['writer']['removeAttribute']('data-suggestion',_0x1a23a6),_0x10f96b['mapper']['unbindElementFromMarkerName'](_0x1a23a6,_0x477c47['markerName']);}},{'priority':'highest'});}_registerLegacyDescription(){const _0x1c61ce=this['editor'],_0x355497=_0x1c61ce['locale'];function _0x43c6be(_0x294319){return{'type':'format','content':_0x2570ab(_0x355497,'*Format:*\x20%0',_0x294319)};}_0x1c61ce['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x36e458=>{if('formatBlock'!=_0x36e458['type'])return;const {data:_0x312306}=_0x36e458;return _0x312306?'setTableRowHeader'==_0x312306['commandName']?_0x312306['commandParams'][0x0]['forceValue']?_0x43c6be(_0x2570ab(_0x355497,'FORMAT_HEADER_ROW')):_0x43c6be(_0x2570ab(_0x355497,'FORMAT_REGULAR_ROW')):'setTableColumnHeader'==_0x312306['commandName']?_0x312306['commandParams'][0x0]['forceValue']?_0x43c6be(_0x2570ab(_0x355497,'FORMAT_HEADER_COLUMN')):_0x43c6be(_0x2570ab(_0x355497,'FORMAT_REGULAR_COLUMN')):void 0x0:void 0x0;});}},_0x4ad52e=class extends _0x491313['Plugin']{static get requires(){return[_0x25ed30];}afterInit(){const _0xc10678=this['editor'];if(!_0xc10678['plugins']['has']('TableEditing')||!_0xc10678['config']['get']('table.enableFooters'))return;const _0x4eb551=_0xc10678['locale'],_0x2063a2=_0xc10678['plugins']['get']('TrackChangesEditing');_0x2063a2['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x2063a2['descriptionFactory']['registerAttributeLabel']('footerRows',_0x2570ab(_0x4eb551,'FORMAT_FOOTER_ROW'));}},_0x5afc62=class extends _0x491313['Plugin']{afterInit(){const _0x90a38c=this['editor'],_0x3590c9=_0x90a38c['locale'],_0x1cf3ec=_0x90a38c['plugins']['get']('TrackChangesEditing');function _0x57a5d3(_0x1d81d1){return{'type':'format','content':''+_0x2570ab(_0x3590c9,'*Set\x20table\x20type:*\x20%0',_0x1d81d1)};}_0x90a38c['plugins']['has']('TableLayout')&&(_0x1cf3ec['enableCommand']('insertTableLayout'),_0x1cf3ec['enableDefaultAttributesIntegration']('tableType'),_0x1cf3ec['descriptionFactory']['registerElementLabel'](_0x374de5=>_0x374de5['is']('element','table')&&'layout'===_0x374de5['getAttribute']('tableType'),_0x86c401=>_0x2570ab(_0x3590c9,'ELEMENT_LAYOUT_TABLE',_0x86c401)),_0x1cf3ec['descriptionFactory']['registerDescriptionCallback'](_0x52a5a0=>{const {data:_0x411ea5}=_0x52a5a0;if(_0x411ea5&&'tableType'==_0x411ea5['key'])switch(_0x411ea5['newValue']){case'layout':return _0x57a5d3(_0x2570ab(_0x3590c9,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x57a5d3(_0x2570ab(_0x3590c9,'ELEMENT_CONTENT_TABLE'));}}));}};const _0x35f1c4=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],_0x350012=/* #__PURE__ -- @preserve */
Object['fromEntries'](_0x35f1c4['map'](_0x1bc15e=>[_0x1bc15e,null]));var _0x112cb1=class extends _0x491313['Plugin']{static get requires(){return[_0x25ed30];}afterInit(){const _0x72fc1b=this['editor'];if(!_0x72fc1b['plugins']['has']('TableClipboard'))return;const _0x71c5f7=_0x72fc1b['plugins']['get']('TrackChangesEditing'),_0xae0323=_0x72fc1b['plugins']['get']('TableUtils'),_0x53ce7d=_0x72fc1b['plugins']['get'](_0x25ed30),_0x36e0fc=_0x72fc1b['plugins']['get']('TableClipboard'),_0x2a908a=_0x72fc1b['plugins']['get']('TableSelection'),_0x356631=_0x72fc1b['plugins']['get'](_0x491313['ClipboardPipeline']);_0x53ce7d['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x72fc1b['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x72fc1b['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x362c9e=null,_0x3dcf56=!0x1;_0x356631['on']('contentInsertion',(_0x375824,_0x18e064)=>{_0x3dcf56='paste'===_0x18e064['method'];}),_0x72fc1b['model']['on']('insertContent',(_0x2ea1d8,_0x127e92)=>{if(!_0x3dcf56&&null===_0x2a908a['getSelectedTableCells']())return;const [_0x8ec671,_0x1433b2]=_0x127e92,_0x1093a5=_0x127e92[_0x127e92['length']-0x1];_0x1093a5&&_0x1093a5['forceDefaultExecution']||_0x71c5f7['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x422840,_0x524a9b,_0x3e76aa,_0x48a14f,_0x4ff2ec){if(_0x524a9b&&!_0x524a9b['is']('documentSelection'))return!0x1;const _0x46990e=_0x4ff2ec['getTableIfOnlyTableInContent'](_0x422840,_0x3e76aa);if(!_0x46990e||!_0x51cec7(_0x46990e,void 0x0,_0x48a14f))return!0x1;const _0x4d46e8=_0x48a14f['getSelectionAffectedTableCells'](_0x3e76aa['document']['selection']);if(!_0x4d46e8['length'])return!0x1;const _0x31584d=_0x4d46e8[0x0]['findAncestor']('table'),_0x1a95ce=_0x48a14f['getRowIndexes'](_0x4d46e8),_0x48749d=_0x48a14f['getColumnIndexes'](_0x4d46e8),_0x367ec3={'startRow':_0x1a95ce['first'],'endRow':_0x1a95ce['last'],'startColumn':_0x48749d['first'],'endColumn':_0x48749d['last']};return 0x1==_0x4d46e8['length']&&(_0x367ec3['endRow']+=_0x48a14f['getRows'](_0x46990e)-0x1,_0x367ec3['endColumn']+=_0x48a14f['getColumns'](_0x46990e)-0x1),_0x51cec7(_0x31584d,_0x367ec3,_0x48a14f);}(_0x8ec671,_0x1433b2,_0x72fc1b['model'],_0xae0323,_0x36e0fc)&&(_0x2ea1d8['stop'](),_0x362c9e={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x72fc1b['model']['change'](()=>{_0x72fc1b['model']['insertContent'](_0x127e92[0x0],_0x127e92[0x1],_0x127e92[0x2],{'forceDefaultExecution':!0x0});const _0x534398=(0x0,_0x491313['uid'])(),{rowInsertionRanges:_0x44a49f,columnInsertionRanges:_0x2eb901,insertionRanges:_0x3349ba,deletionRanges:_0x1d10b5,cells:_0x328047}=_0x362c9e;_0x44a49f['length']&&_0x71c5f7['markMultiRangeInsertion'](_0x44a49f,'tablePasteRow',{'tablePasteChainId':_0x534398}),_0x2eb901['length']&&_0x71c5f7['markMultiRangeInsertion'](_0x2eb901,'tablePasteColumn',{'tablePasteChainId':_0x534398}),_0x3349ba['length']&&(_0x71c5f7['markMultiRangeInsertion'](_0x3349ba,'tablePaste',{'tablePasteChainId':_0x534398,'skipNestingCheck':!0x0}),_0x3349ba['forEach'](_0x328662=>_0x328662['detach']?.())),_0x1d10b5['length']&&(_0x71c5f7['markMultiRangeDeletion'](_0x1d10b5,'tablePaste',{'tablePasteChainId':_0x534398,'skipNestingCheck':!0x0}),_0x1d10b5['forEach'](_0x4c0524=>_0x4c0524['detach']?.()));const _0x492fca=_0x71c5f7['markMultiRangeBlockFormat'](_0x328047['map'](({element:_0x1ef74b})=>_0x1ef74b),{'formatGroupId':(0x0,_0x491313['uid'])()},[],'tablePasteCell',{'tablePasteChainId':_0x534398});if(_0x492fca){const _0x65e41e=_0x492fca['getMarkers'](),_0x48b897=[];for(const {element:_0x3cbd38,attributes:_0x5e6c55}of _0x328047){if(!_0x5e6c55)continue;const _0x4f7451=_0x72fc1b['model']['createRangeOn'](_0x3cbd38),_0x2f7c8b=_0x65e41e['find'](_0x4e60e5=>_0x4e60e5['getRange']()['isEqual'](_0x4f7451));_0x2f7c8b&&_0x48b897['push']([_0x2f7c8b['name'],_0x5e6c55]);}_0x48b897['length']&&_0x492fca['setAttribute']('markerAttributes',Object['fromEntries'](_0x48b897));}_0x362c9e=null;}));},{'priority':_0x491313['priorities']['high']+0xa}),_0x356631['on']('contentInsertion',()=>{_0x3dcf56=!0x1;},{'priority':'lowest'}),_0x72fc1b['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x3b6665,_0x46e16f)=>{const [_0x16daf2,_0x2a93f2,,_0x5600b3]=_0x46e16f;if(!_0x362c9e)return;_0x3b6665['stop']();const _0x242b01=_0x16daf2['cell'],_0x4ab277=_0x2a93f2,_0x461b76=_0x40641d(_0x242b01),_0x43bf7a=_0x40641d(_0x4ab277);_0x3b6665['return']=_0x242b01;let _0x902c8c=null,_0x337a3f=null;if(_0x43bf7a||_0x461b76){if(_0x461b76&&!_0x43bf7a){_0x5600b3['remove'](_0x242b01['getChild'](0x0));for(const _0x2be597 of Array['from'](_0x4ab277['getChildren']()))_0x5600b3['insert'](_0x2be597,_0x242b01,'end');const _0x4d048d=_0x362c9e['rowInsertionIndexes']['includes'](_0x16daf2['row']),_0x4e8d5e=_0x362c9e['columnInsertionIndexes']['includes'](_0x16daf2['column']);_0x4d048d||_0x4e8d5e||(_0x902c8c=_0x491313['ModelLiveRange']['fromRange'](_0x5600b3['createRangeIn'](_0x242b01)));}else _0x43bf7a&&!_0x461b76&&(_0x337a3f=_0x5600b3['createRangeIn'](_0x242b01));}else{const _0x35948f=_0x5600b3['createElement']('tableCellSuggestion'),_0x5abf0d=_0x5600b3['createElement']('tableCellSuggestion');_0x5600b3['wrap'](_0x5600b3['createRangeIn'](_0x242b01),_0x5abf0d),_0x5600b3['insert'](_0x35948f,_0x242b01,0x0);for(const _0x492401 of Array['from'](_0x4ab277['getChildren']()))_0x5600b3['insert'](_0x492401,_0x35948f,'end');_0x902c8c=_0x491313['ModelLiveRange']['fromRange'](_0x5600b3['createRangeOn'](_0x35948f)),_0x337a3f=_0x491313['ModelLiveRange']['fromRange'](_0x5600b3['createRangeOn'](_0x5abf0d));}const _0x21f7f8=Array['from'](_0x4ab277['getAttributes']())['filter'](([_0x12ed4c])=>_0x35f1c4['includes'](_0x12ed4c));_0x362c9e['cells']['push']({'element':_0x242b01,'attributes':_0x21f7f8['length']?Object['fromEntries'](_0x21f7f8):null}),_0x902c8c&&_0x362c9e['insertionRanges']['push'](_0x902c8c),_0x337a3f&&_0x362c9e['deletionRanges']['push'](_0x337a3f);},{'priority':'high'}),_0xae0323['on']('insertColumns',(_0x16d628,_0x20a285)=>{const [_0x24df9f,_0x366efe={}]=_0x20a285;if(!_0x362c9e)return;const _0x58efb2=_0x366efe['at']||0x0,_0x1a48fe=_0x366efe['columns']||0x1;_0x362c9e['columnInsertionIndexes']=new Array(_0x1a48fe)['fill'](_0x58efb2)['map']((_0x915f64,_0x3689e0)=>_0x915f64+_0x3689e0);for(const {cell:_0x1dbdcf}of _0xae0323['createTableWalker'](_0x24df9f,{'startColumn':_0x58efb2,'endColumn':_0x58efb2+_0x1a48fe-0x1}))_0x362c9e['columnInsertionRanges']['push'](_0x72fc1b['model']['createRangeOn'](_0x1dbdcf));},{'priority':'low'}),_0xae0323['on']('insertRows',(_0x15e691,_0x15bb18)=>{const [_0x29d3d4,_0x41e222={}]=_0x15bb18;if(!_0x362c9e)return;const _0x16f8a9=_0x41e222['at']||0x0,_0x3d3d4c=_0x41e222['rows']||0x1;_0x362c9e['rowInsertionIndexes']=new Array(_0x3d3d4c)['fill'](_0x16f8a9)['map']((_0x4b3830,_0x18c036)=>_0x4b3830+_0x18c036);for(const {cell:_0x5ce211}of _0xae0323['createTableWalker'](_0x29d3d4,{'startRow':_0x16f8a9,'endRow':_0x16f8a9+_0x3d3d4c-0x1}))_0x362c9e['rowInsertionRanges']['push'](_0x72fc1b['model']['createRangeOn'](_0x5ce211));},{'priority':'low'}),_0x71c5f7['descriptionFactory']['registerDescriptionCallback'](_0x400049=>{if(_0x400049['subType']&&_0x400049['subType']['startsWith']('tablePaste'))return _0x400049['previous']?{}:{'type':'insertion','content':_0x2570ab(_0x72fc1b['locale'],'*Replace\x20table\x20cells*')};});const _0xf6d658=()=>!0x1;for(const _0x220dba of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x71c5f7['_suggestionFactory']['registerCustomCallback']('insertion',_0x220dba,'join',_0xf6d658),_0x71c5f7['_suggestionFactory']['registerCustomCallback']('deletion',_0x220dba,'join',_0xf6d658),_0x71c5f7['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x220dba,'join',_0xf6d658);_0x71c5f7['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0xf6d658),_0x71c5f7['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x50adfc,_0x2fdd4e,_0x2ed0d4)=>{const _0x305307=_0x50adfc['map'](_0x3f8b46=>_0x3f8b46['getContainedElement']())['filter'](_0x1d8992=>_0x1d8992),_0x16e6b4=new Map(_0x305307['map'](_0x41bc44=>[_0x41bc44,null]));if(_0x362c9e){for(const {element:_0x32a573,attributes:_0x1bba0a}of _0x362c9e['cells'])_0x1bba0a&&_0x16e6b4['set'](_0x32a573,_0x1bba0a);}else{if(_0x2ed0d4&&_0x2ed0d4['markerAttributes'])for(const [_0x1a3f8b,_0x2e5d03]of Object['entries'](_0x2ed0d4['markerAttributes'])){const _0x368ea4=_0x72fc1b['model']['markers']['get'](_0x1a3f8b),_0x1391ec=_0x368ea4?_0x368ea4['getRange']()['getContainedElement']():null;_0x1391ec&&_0x16e6b4['set'](_0x1391ec,_0x2e5d03);}}_0x72fc1b['model']['change'](_0x36967c=>{for(const [_0x427fd6,_0x18941e]of _0x16e6b4)_0x36967c['setAttributes']({..._0x350012,..._0x18941e},_0x427fd6);});});const _0x30a848=(_0x5db0be,_0x29e1d6)=>{_0x71c5f7['_suggestionFactory']['registerCustomCallback'](_0x5db0be,'tablePaste',_0x29e1d6,(_0x55fb27,_0x5bd6be,_0x2a2030)=>{_0x72fc1b['model']['change'](_0x54dc55=>{const _0x134acf=[];for(const _0x169870 of _0x55fb27){const _0x35f721=_0x169870['start']['nodeAfter'];_0x35f721['is']('element','tableCellSuggestion')&&_0x134acf['push'](_0x35f721);}_0x71c5f7['_suggestionFactory']['getSuggestionCallback'](_0x5db0be,null,_0x29e1d6)(_0x55fb27,_0x5bd6be,_0x2a2030);for(const _0x796f48 of _0x134acf)'$graveyard'!=_0x796f48['root']['rootName']&&_0x54dc55['unwrap'](_0x796f48);});});};_0x30a848('insertion','accept'),_0x30a848('insertion','discard'),_0x30a848('deletion','accept'),_0x30a848('deletion','discard'),_0x71c5f7['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x35d58c=>{const _0x9063f4=_0x35d58c['map'](_0x4be2b2=>_0x4be2b2['getContainedElement']()),_0x4fe7a4=_0x9063f4[0x0]['findAncestor']('table'),{minRow:_0x1a3ed9,maxRow:_0x3245c7}=_0x53ce7d['_getCoordsForCells'](_0x9063f4);_0xae0323['removeRows'](_0x4fe7a4,{'at':_0x1a3ed9,'rows':_0x3245c7-_0x1a3ed9+0x1});}),_0x71c5f7['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x165ea9=>{const _0x16cc18=_0x165ea9['map'](_0x3eeb45=>_0x3eeb45['getContainedElement']()),_0x35aefa=_0x16cc18[0x0]['findAncestor']('table'),{minColumn:_0x4f9292,maxColumn:_0x19ed60}=_0x53ce7d['_getCoordsForCells'](_0x16cc18);_0xae0323['removeColumns'](_0x35aefa,{'at':_0x4f9292,'columns':_0x19ed60-_0x4f9292+0x1});});const _0x219e59=(_0x2a8622,_0x5927a3)=>{if(!_0x5927a3['subType']||!_0x5927a3['subType']['startsWith']('tablePaste'))return;const _0x39942d=_0x5927a3['attributes']['tablePasteChainId'],_0x5a4f76=_0x71c5f7['getSuggestions']()['filter'](_0x5e36e6=>_0x5e36e6['isInContent']&&_0x5e36e6['attributes']&&_0x5e36e6['attributes']['tablePasteChainId']==_0x39942d);_0x5a4f76['length']&&_0x5927a3['getAllAdjacentSuggestions']()['length']!=_0x5a4f76['length']&&_0x5a4f76['reduce']((_0x4a57b7,_0x373700)=>(_0x4a57b7['next']=_0x373700,_0x373700['previous']=_0x4a57b7,_0x373700));};function _0x5dcf9d(_0x3660bc,_0x131001=!0x0){const {id:_0x54373d,authorId:_0x1e037e}=_0x41e4c4(_0x3660bc['markerName']),_0x2e85ad=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x1cf2eb=_0x71c5f7['activeMarkers']['includes'](_0x3660bc['markerName']);return _0x1cf2eb&&_0x2e85ad['push']('ck-suggestion-marker--active'),{'classes':_0x2e85ad,'attributes':{'data-suggestion':_0x54373d,'data-author-id':_0x1e037e},'priority':_0x1cf2eb&&_0x131001?0xbc2:0xbb8};}_0x71c5f7['on']('suggestionLoaded',_0x219e59,{'priority':'high'}),_0x71c5f7['on']('suggestionUnloaded',_0x219e59,{'priority':'high'}),_0x72fc1b['model']['document']['registerPostFixer'](()=>{let _0x51df04=!0x1;const _0x2f64dc=Array['from'](_0x72fc1b['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2be4f4,data:_0x3c74bc}of _0x2f64dc){const {group:_0x32345e,type:_0x2effb0,id:_0x538416}=_0x41e4c4(_0x2be4f4);if('suggestion'!=_0x32345e||'deletion'!=_0x2effb0||_0x3c74bc['oldRange'])continue;if(!_0x71c5f7['hasSuggestion'](_0x538416))continue;const _0x5e0162=_0x71c5f7['getSuggestion'](_0x538416)['getRanges'](),_0x178055=_0x72fc1b['plugins']['get']('Users')['me'];for(const _0x54d86f of _0x71c5f7['getSuggestions']())if(_0x54d86f['isInContent']&&_0x54d86f['author']==_0x178055&&'formatBlock'==_0x54d86f['type']&&'tablePasteCell'==_0x54d86f['subType']&&_0x54d86f['getRanges']()['every'](_0x48f6a9=>_0x5e0162['some'](_0xbc111d=>_0xbc111d['containsRange'](_0x48f6a9,!0x0)))){for(const _0x4fa06e of _0x54d86f['getAllAdjacentSuggestions']())_0x4fa06e['isInContent']&&(_0x4fa06e['discard'](),_0x51df04=!0x0);}}return _0x51df04;}),_0x72fc1b['model']['document']['registerPostFixer'](_0x5bc1d1=>{const _0x213857=_0x72fc1b['commands']['get']('redo');if(!_0x213857||!_0x213857['_createdBatches']['has'](_0x5bc1d1['batch']))return!0x1;let _0x259f61=!0x1;const _0x18c020=_0x72fc1b['plugins']['get']('Users')['me'],_0x5ca560=_0x72fc1b['model']['document']['differ']['getChanges'](),_0x16049d=Array['from'](_0x72fc1b['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x5517b6,data:_0x535f2e})=>{const {group:_0x16c4a5,subType:_0x15069a,authorId:_0x1060d2}=_0x41e4c4(_0x5517b6);return'suggestion'==_0x16c4a5&&'tablePaste'==_0x15069a&&_0x1060d2==_0x18c020['id']&&!_0x535f2e['oldRange'];});for(const _0x90b2f8 of _0x5ca560){if('insert'!=_0x90b2f8['type']||'tableCellSuggestion'!=_0x90b2f8['name']||0x1!=_0x90b2f8['length'])continue;const _0x20fe0d=_0x5bc1d1['createRange'](_0x90b2f8['position'],_0x90b2f8['position']['getShiftedBy'](0x1));if(!_0x16049d['find'](({data:_0x8a77dd})=>_0x8a77dd['newRange']['isEqual'](_0x20fe0d))){for(const {name:_0xa0c008,data:_0x1954a1}of _0x16049d)if(_0x20fe0d['containsRange'](_0x1954a1['newRange'])){_0x5bc1d1['updateMarker'](_0xa0c008,{'range':_0x20fe0d}),_0x259f61=!0x0;break;}}}return _0x259f61;}),_0x72fc1b['model']['document']['registerPostFixer'](_0x40710a=>{let _0x2f23ae=!0x1;const _0x39b6b5=_0x72fc1b['plugins']['get']('Users')['me'],_0xb4db7a=_0x71c5f7['getSuggestions']()['filter'](_0x750f63=>_0x750f63['isInContent']&&_0x750f63['author']==_0x39b6b5),_0x364f3a=new Set(),_0x19ca02=new Set();for(const _0xa4ec9c of _0xb4db7a)if('tablePaste'==_0xa4ec9c['subType'])for(const _0x106c7f of _0xa4ec9c['getMarkers']()){const _0x517cac=_0x106c7f['getRange']()['getContainedElement']();if(_0x517cac){if(_0x517cac['is']('element','tableCellSuggestion')&&_0x40641d(_0x517cac)){_0xa4ec9c['removeMarker'](_0x106c7f['name']),_0x364f3a['add'](_0x517cac),_0x2f23ae=!0x0;const _0x434535=_0x517cac['nextSibling'],_0x1572a5=_0x517cac['previousSibling'],_0x2c0668=_0x434535&&_0x434535['is']('element','tableCellSuggestion'),_0x122354=_0x1572a5&&_0x1572a5['is']('element','tableCellSuggestion');_0x2c0668&&!_0x364f3a['has'](_0x434535)&&_0x19ca02['add'](_0x434535),_0x122354&&!_0x364f3a['has'](_0x1572a5)&&_0x19ca02['add'](_0x1572a5);}else _0x517cac['is']('element','paragraph')&&_0x517cac['isEmpty']&&(_0xa4ec9c['removeMarker'](_0x106c7f['name']),_0x2f23ae=!0x0);}}else{if('tablePasteCell'==_0xa4ec9c['subType']){if(!_0xa4ec9c['attributes']||!_0xa4ec9c['attributes']['tablePasteChainId'])continue;const _0x511450=_0xa4ec9c['attributes']['markerAttributes'];if(_0x511450&&Object['keys'](_0x511450)['length'])continue;const _0x111a1e=_0xa4ec9c['attributes']['tablePasteChainId'];let _0x560b64=!0x0,_0x1ea7b3=!0x0;for(const _0x22fb4f of _0xb4db7a)if(_0x22fb4f['subType']&&_0x22fb4f['subType']['startsWith']('tablePaste')){if(!_0x22fb4f['attributes']['tablePasteChainId']){_0x1ea7b3=!0x1;break;}if(_0x22fb4f['id']!=_0xa4ec9c['id']&&_0x22fb4f['attributes']['tablePasteChainId']==_0x111a1e){_0x560b64=!0x1;break;}}_0x1ea7b3&&_0x560b64&&(_0xa4ec9c['removeMarkers'](),_0x2f23ae=!0x0);}}for(const _0x43fba0 of _0x364f3a)_0x40710a['remove'](_0x43fba0);for(const _0x1af333 of _0x19ca02)_0x40710a['unwrap'](_0x1af333);return _0x2f23ae;}),_0x72fc1b['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x30f803=>_0x5dcf9d(_0x30f803),'converterPriority':'high'}),_0x72fc1b['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x1b3bf1,_0x4655d6)=>_0x4655d6['options']['showSuggestionHighlights']?_0x5dcf9d(_0x1b3bf1,!0x1):null,'converterPriority':'high'});const _0x4ff557=_0x72fc1b['editing']['view'];this['listenTo'](_0x4ff557['document'],'clipboardOutput',(_0x56df12,_0x10cedc)=>{const _0x438bec=[];for(const _0x23c1c1 of _0x4ff557['createRangeIn'](_0x10cedc['content'])['getItems']())_0x23c1c1['is']('element','suggestion-td')&&_0x438bec['push'](_0x23c1c1);_0x4ff557['change'](_0x53c4b9=>{for(const _0x1d6e07 of _0x438bec)_0x53c4b9['move'](_0x53c4b9['createRangeIn'](_0x1d6e07),_0x53c4b9['createPositionBefore'](_0x1d6e07)),_0x53c4b9['remove'](_0x1d6e07);});});}};function _0x40641d(_0x5b17a5){if(_0x5b17a5['isEmpty'])return!0x0;const _0x5894fe=_0x5b17a5['getChild'](0x0);return _0x5894fe['is']('element','paragraph')&&_0x5894fe['isEmpty'];}function _0x51cec7(_0x1285c7,_0x39c9cd={},_0x149246){for(const {isAnchor:_0x25d79d,cellHeight:_0x280e94,cellWidth:_0x10d527}of _0x149246['createTableWalker'](_0x1285c7,{'includeAllSlots':!0x0,..._0x39c9cd}))if(!_0x25d79d||0x1!=_0x280e94||0x1!=_0x10d527)return!0x1;return!0x0;}var _0x3e8a2e=class extends _0x491313['Plugin']{afterInit(){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x52a67f=this['editor']['plugins']['get']('TrackChangesEditing');_0x52a67f['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),this['editor']['commands']['get']('tableColumnWidth')&&_0x52a67f['enableCommand']('tableColumnWidth',this['handleTableColumnWidthCommand']['bind'](this)),_0x52a67f['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x52a67f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard'));const _0x250231=_0x52a67f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept');_0x52a67f['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',(_0x5ea71b,_0x194106)=>{_0x250231(_0x5ea71b,_0x194106),this['_restoreCellWidths'](_0x5ea71b[0x0]['start']['nodeAfter'],_0x194106['commandParams'][0x0]['cellWidths']);}),_0x52a67f['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}handleResizeTableWidthCommand(_0x585a87,_0x43437b){const _0x163265=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5bf844=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x589519=_0x43437b['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x3b08cc=_0x5bf844['getColumnGroupElement'](_0x589519);let _0x3b539a=_0x3b08cc?_0x5bf844['getTableColumnsWidths'](_0x3b08cc):null,_0x26967b=_0x589519['getAttribute']('tableWidth')||null;const _0x280ef9=_0x43437b['tableWidth']||_0x26967b,_0x40a98b=_0x43437b['columnWidths']||_0x3b539a;let _0x492dc1=this['_getCellWidths'](_0x589519);const _0x11f020=this['_foldResizeTableSuggestion'](_0x589519);_0x11f020&&(_0x26967b=_0x11f020['tableWidth'],_0x3b539a=_0x11f020['columnWidths'],_0x492dc1=_0x11f020['cellWidths']||_0x492dc1),_0x585a87({'table':_0x589519,'tableWidth':_0x280ef9,'columnWidths':_0x40a98b}),_0x163265['markBlockFormat'](_0x589519,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x26967b,'columnWidths':_0x3b539a,'cellWidths':_0x492dc1}],'formatGroupId':'resizeTable'},[],'resizeTable');});}handleTableColumnWidthCommand(_0x4650f2,_0x3db74a={}){if(void 0x0===_0x3db74a['value']||''===_0x3db74a['value'])return void _0x4650f2(_0x3db74a);const _0x289bcf=this['editor']['plugins']['get']('TrackChangesEditing'),_0x57c170=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x179cf0=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');_0x3db74a['batch']||(_0x3db74a['batch']=this['editor']['model']['createBatch']()),this['editor']['model']['enqueueChange'](_0x3db74a['batch'],()=>{const _0x551256=_0x57c170['getColumnGroupElement'](_0x179cf0);let _0x3e5750=_0x551256?_0x57c170['getTableColumnsWidths'](_0x551256):null,_0x21c1c6=_0x179cf0['getAttribute']('tableWidth')||null,_0x47c124=this['_getCellWidths'](_0x179cf0);const _0x20e7be=this['_foldResizeTableSuggestion'](_0x179cf0,!0x0);_0x20e7be&&(_0x21c1c6=_0x20e7be['tableWidth'],_0x3e5750=_0x20e7be['columnWidths'],_0x47c124=_0x20e7be['cellWidths']||_0x47c124),_0x4650f2(_0x3db74a),_0x289bcf['markBlockFormat'](_0x179cf0,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x21c1c6,'columnWidths':_0x3e5750,'cellWidths':_0x47c124}],'formatGroupId':'resizeTable'},[],'resizeTable');});}_foldResizeTableSuggestion(_0x19d790,_0x107831=!0x1){const _0x398130=this['editor']['plugins']['get']('TrackChangesEditing'),_0x11cbd8=this['editor']['plugins']['get']('Users')['me'];for(const _0xa19e39 of _0x398130['getSuggestions']({'skipNotAttached':!0x0})){const _0x209c00=_0xa19e39['getContainedElement']();if('resizeTable'===_0xa19e39['subType']&&_0x209c00===_0x19d790){_0xa19e39['author']!==_0x11cbd8&&(_0x107831?_0xa19e39['removeMarkers']():_0xa19e39['discard']());const _0x73089d=_0xa19e39['data']['commandParams'];return{'tableWidth':_0x73089d[0x0]['tableWidth'],'columnWidths':_0x73089d[0x0]['columnWidths'],'cellWidths':_0x73089d[0x0]['cellWidths']};}}return null;}_getCellWidths(_0x423060){const _0x12b75a=[];for(const _0x1fba1b of _0x423060['getChildren']())if(_0x1fba1b['is']('element','tableRow')){for(const _0xab24aa of _0x1fba1b['getChildren']())_0x12b75a['push'](_0xab24aa['getAttribute']('tableCellWidth')||null);}return _0x12b75a;}_restoreCellWidths(_0x406f61,_0x48ac14){_0x48ac14&&this['editor']['model']['change'](_0x5d64ba=>{let _0x3cb437=0x0;for(const _0x414986 of _0x406f61['getChildren']())if(_0x414986['is']('element','tableRow'))for(const _0x385b10 of _0x414986['getChildren']()){const _0x2c56c6=_0x48ac14[_0x3cb437++];_0x2c56c6&&_0x5d64ba['setAttribute']('tableCellWidth',_0x2c56c6,_0x385b10);}});}handleSuggestionDescription(_0x266aa0){if('formatBlock'!=_0x266aa0['type']&&'formatInline'!=_0x266aa0['type'])return;const {data:_0x460d92}=_0x266aa0;return _0x460d92&&'resizeTable'===_0x460d92['formatGroupId']?{'type':'format','content':_0x2570ab(this['editor']['locale'],'*Format:*\x20resize\x20table')}:void 0x0;}},_0x595848=class extends _0x491313['Plugin']{afterInit(){const _0x1cac29=this['editor'];_0x1cac29['plugins']['has']('Template')&&_0x1cac29['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}},_0x1e632e=class extends _0x491313['Plugin']{afterInit(){const _0xacc255=this['editor'];if(!_0xacc255['commands']['get']('insertTableOfContents'))return;_0xacc255['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x3802d6=_0xacc255['plugins']['get']('TrackChangesEditing'),_0x1da170=_0xacc255['locale'];_0x3802d6['descriptionFactory']['registerElementLabel']('tableOfContents',_0x142f06=>_0x2570ab(_0x1da170,'ELEMENT_TABLE_OF_CONTENTS',_0x142f06));}},tI=class extends _0x491313['Plugin']{afterInit(){const _0x393622=this['editor'];_0x393622['plugins']['has']('Title')&&(_0x393622['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>_0x2570ab(_0x393622['locale'],'ELEMENT_TITLE')),_0x393622['model']['document']['registerPostFixer'](_0x13aa8b=>{let _0x3f16b4=!0x1;const _0x55ac7a=Array['from'](_0x393622['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x24a2f7,data:_0x2a4316}of _0x55ac7a){const {group:_0xbfdc99}=_0x41e4c4(_0x24a2f7);if('suggestion'!==_0xbfdc99||!_0x2a4316['newRange'])continue;const _0x53b753=_0x2a4316['newRange'],_0x522152=_0x53b753['end']['nodeBefore'];if(!_0x522152||!_0x522152['is']('element','title-content'))continue;if(!_0x53b753['start']['isTouching'](_0x53b753['end']))continue;const _0x3c212a=_0x393622['model']['schema']['getNearestSelectionRange'](_0x53b753['end'],'forward');if(_0x3c212a&&_0x3c212a['isCollapsed']){const _0x398c6a=_0x13aa8b['createRange'](_0x53b753['start'],_0x3c212a['start']);_0x398c6a['isEqual'](_0x53b753)||(_0x13aa8b['updateMarker'](_0x24a2f7,{'range':_0x398c6a}),_0x3f16b4=!0x0);}_0x3f16b4||(_0x13aa8b['removeMarker'](_0x24a2f7),_0x3f16b4=!0x0);}return _0x3f16b4;}));}},_0x49c2c5=class extends _0x491313['Plugin']{afterInit(){const _0x39863c=this['editor'],_0x4eb90b=_0x39863c['plugins']['get']('TrackChangesEditing');_0x39863c['plugins']['has']('Uploadcare')&&(_0x4eb90b['enableCommand']('uploadcare'),_0x39863c['plugins']['has']('UploadcareImageEdit')&&(_0x4eb90b['enableCommand']('uploadcareImageEdit'),_0x4eb90b['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x4eb90b['descriptionFactory']['registerDescriptionCallback'](_0x1b7ea5=>{if('attribute'!=_0x1b7ea5['type'])return;const {data:_0x57e70d}=_0x1b7ea5;return _0x57e70d&&'uploadcareImageId'==_0x57e70d['key']?{'type':'format','content':''}:void 0x0;})));}},_0x19d592=class extends _0x491313['Plugin']{afterInit(){const _0x41c37a=this['editor'],_0x54a297=_0x41c37a['plugins']['get']('TrackChangesEditing');_0x41c37a['plugins']['has']('UndoEditing')&&(_0x54a297['enableCommand']('undo'),_0x54a297['enableCommand']('redo'));}},_0x97b49c=class extends _0x491313['Plugin']{static get requires(){return[_0x25ed30];}afterInit(){const _0x36339a=this['editor'];_0x36339a['plugins']['has']('TableCaptionEditing')&&_0x36339a['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}},_0x4b59e8=class extends _0x491313['Plugin']{tableProperties;tableCellProperties;constructor(_0x4b7b4a){super(_0x4b7b4a),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellType'];}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x1028d5=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x24b779 of this['tableProperties'])_0x1028d5['enableCommand'](_0x24b779,(_0x2bd8b0,_0x4197a2)=>{const _0x14d4fd=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x24b779,[_0x14d4fd],this['tableProperties'],'tableProperties',_0x2bd8b0,_0x4197a2);});_0x1028d5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x1028d5['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1028d5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x5b1847,_0x3677fa)=>this['handleDiscardAction'](this['tableProperties'],_0x5b1847,_0x3677fa)),_0x1028d5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x18ef81 of this['tableCellProperties'])this['editor']['commands']['get'](_0x18ef81)&&_0x1028d5['enableCommand'](_0x18ef81,(_0x55c320,_0x3de569)=>{const _0x21546f=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x18ef81,_0x21546f,this['tableCellProperties'],'tableCellProperties',_0x55c320,_0x3de569);});_0x1028d5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x1028d5['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1028d5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x385c1e,_0x55f618)=>this['handleDiscardAction'](this['tableCellProperties'],_0x385c1e,_0x55f618)),_0x1028d5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x1028d5['descriptionFactory']['registerAttributeLabel']('tableCellType',_0x2570ab(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x1028d5['descriptionFactory']['registerDescriptionCallback'](_0x539f63=>this['handleSuggestionDescription'](_0x539f63)),this['_registerTablePropertiesAttributes']();}_handlePropertyChange(_0x454ceb,_0x2187b3,_0x7414fd,_0x170a79,_0x214e6a,_0x526c4e){const _0xd606d6=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x526c4e['batch'],()=>{for(const _0x2bdbe3 of _0x2187b3)if(this['_getSuggestion'](_0x2bdbe3,_0x170a79))_0x214e6a(_0x526c4e);else{const _0x332dfe={};for(const _0x110190 of _0x7414fd){const _0x5afa9d=_0x2bdbe3['getAttribute'](_0x110190);void 0x0!==_0x5afa9d&&(_0x332dfe[_0x110190]=_0x5afa9d);}const _0x14da3c=this['_getResizedColumnWidths'](_0x2bdbe3);_0x14da3c&&(_0x332dfe['columnWidths']=_0x14da3c),_0x214e6a(_0x526c4e),_0xd606d6['markBlockFormat'](_0x2bdbe3,{'commandParams':[_0x332dfe]},[],_0x170a79);}});}handleDiscardAction(_0xdd08f5,_0x139c4b,_0x44b5a4){const _0x444371=_0x139c4b[0x0]['start']['nodeAfter'],_0x38837f=_0x44b5a4['commandParams'][0x0];this['editor']['model']['change'](_0x33dac8=>{for(const _0x36aed3 of _0xdd08f5)void 0x0!==_0x38837f[_0x36aed3]?_0x33dac8['setAttribute'](_0x36aed3,_0x38837f[_0x36aed3],_0x444371):_0x33dac8['removeAttribute'](_0x36aed3,_0x444371);if(_0x38837f['columnWidths']&&this['editor']['plugins']['has']('TableColumnResizeEditing')){const _0x936caa=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x494f61=_0x936caa['getColumnGroupElement'](_0x444371);if(_0x494f61){const _0x491c46=_0x936caa['getTableColumnsWidths'](_0x494f61),_0x2cf3c8=_0x444371['getAttribute']('tableWidth');if(('string'==typeof _0x2cf3c8&&_0x2cf3c8['trim']()['endsWith']('px'))!==_0x491c46['some'](_0x167fa7=>'string'==typeof _0x167fa7&&_0x167fa7['endsWith']('px'))){const _0x46ac76=_0x936caa['getTableColumnElements'](_0x494f61);_0x38837f['columnWidths']['forEach']((_0x11ff7a,_0xb7c501)=>{_0x46ac76[_0xb7c501]&&_0x33dac8['setAttribute']('columnWidth',_0x11ff7a,_0x46ac76[_0xb7c501]);});}}}});}_getResizedColumnWidths(_0x1849b1){if(!this['editor']['plugins']['has']('TableColumnResizeEditing')||!_0x1849b1['is']('element','table'))return;const _0x1ce386=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x475ea2=_0x1ce386['getColumnGroupElement'](_0x1849b1);return _0x475ea2?_0x1ce386['getTableColumnsWidths'](_0x475ea2):void 0x0;}handleSuggestionDescription(_0x106268){if(_0x106268['data'])switch(_0x106268['subType']){case'tableProperties':return{'type':'format','content':_0x2570ab(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':_0x2570ab(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}_getSuggestion(_0x64336e,_0x4048b9){const _0x5073e7=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x1d7790 of _0x5073e7['getSuggestions']({'skipNotAttached':!0x0})){const _0x15ffdc=_0x1d7790['getContainedElement']();if(_0x1d7790['subType']===_0x4048b9&&_0x15ffdc===_0x64336e)return _0x1d7790;}return null;}_registerTablePropertiesAttributes(){const _0x39b99a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x24de37=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x1051a4 of _0x24de37){const _0x25bde1=_0x1051a4['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x39b99a['descriptionFactory']['registerAttributeLabel'](_0x1051a4,_0x2570ab(this['editor']['locale'],'FORMAT_'+_0x25bde1));}}},_0x1dde3d=class extends _0x491313['Plugin']{afterInit(){const _0x5b0654=this['editor'];if(!_0x5b0654['plugins']['has']('LineHeight'))return;const _0x8e5f43=_0x5b0654['plugins']['get']('TrackChangesEditing'),_0x354edd=_0x5b0654['locale'];_0x8e5f43['enableDefaultAttributesIntegration']('lineHeight'),_0x8e5f43['descriptionFactory']['registerAttributeLabel']('lineHeight',_0x2570ab(_0x354edd,'FORMAT_LINE_HEIGHT'));}};const _0x1a788a='$elementName';var _0x2a635d=class extends _0x491313['Plugin']{descriptionFactory;trackChangesCommand;_adapter;_suggestionFactory;_suggestions;_commentsRepository;_suggestionsConversion;['_enabledCommands'];['_model'];_suggestionState;_isForcedDefaultExecutionBlock;_trackFormatChanges;_mergeNestedSuggestions;_recordAttributeSuggestions=!0x1;_trackingSessionId=null;static get requires(){return[_0x2d919b,_0x5f577d,_0x16b3af,_0x491313['PendingActions'],_0x5b2c28,_0x485864,_0x494d3e,_0x70c341,_0x518672,_0x9f597e,_0x700702,_0x11c579,_0x28234d,_0x1ee328,_0x494f76,_0x119c04,_0x29bbfb,_0x439a7d,_0x44468e,_0x3ede44,_0x50ede8,_0x5be6a9,_0x5f051d,_0x3f90fb,_0x101249,_0x5722c4,_0x11324a,_0x2111f9,_0x4855d1,_0x8ca7a6,_0x1138a6,_0xb6c00b,_0x35efca,_0x2be0f4,_0x36bbd2,_0x10a55a,_0x3f812f,_0x32f986,_0x2a4c60,_0x31d2c9,_0x1dde3d,_0x316551,_0x15a108,_0x4c76aa,_0x46a622,_0x5f558b,_0x313398,_0x41fb48,_0x11be76,_0x48b7d1,_0x249b34,_0xa61db5,_0x29c734,_0x33113c,_0x25ed30,_0x3b7267,_0x200bda,_0x4ad52e,_0x5afc62,_0x97b49c,_0x112cb1,_0x3e8a2e,_0x1e632e,_0x4b59e8,_0x595848,tI,_0x49c2c5,_0x19d592];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x33a2bb){super(_0x33a2bb),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x3a0e2d,_0x2ffa19,_0x73b437,_0x2767e0)=>{this['_model']['change'](()=>{for(const _0x7e66aa of[..._0x2767e0,..._0x73b437])this['_model']['markers']['has'](_0x7e66aa)&&_0x33a2bb['editing']['reconvertMarker'](_0x7e66aa);});}),this['descriptionFactory']=new _0x61679f(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new _0x205bd3(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x33a2bb['plugins']['get'](_0x2d919b),this['_suggestionsConversion']=_0x33a2bb['plugins']['get'](_0x5f577d),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x33a2bb['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x33a2bb['config']['get']('trackChanges.trackFormatChanges'),_0x33a2bb['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x33a2bb['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x4ccdc7(_0x33a2bb,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}init(){const _0x360e30=this['editor'];_0x360e30['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x84b8d,{writer:_0x7f0040})=>{let _0x59f462='suggestion:'+_0x84b8d['getAttribute']('suggestion-type')+':'+_0x84b8d['getAttribute']('id');return _0x84b8d['getAttribute']('marker-count')&&(_0x59f462+=':'+_0x84b8d['getAttribute']('marker-count')),_0x7f0040['createElement']('$marker',{'data-name':_0x59f462});}}),_0x360e30['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x360e30['model']['document']['registerPostFixer'](_0xc669c5=>{let _0x5045ae=!0x1;const _0x41b1e6=Array['from'](_0x360e30['model']['document']['differ']['getChangedMarkers']()),_0x1377b2=new Set();for(const {name:_0x159432,data:_0x8d8d3a}of _0x41b1e6){const {group:_0x3346d7,type:_0x36e8c3,subType:_0x1133fc,id:_0x4a8eb4}=_0x41e4c4(_0x159432);if('suggestion'!==_0x3346d7)continue;const _0x1f0eed=_0x1133fc?'suggestion:'+_0x36e8c3+':'+_0x1133fc+':'+_0x4a8eb4:'suggestion:'+_0x36e8c3+':'+_0x4a8eb4,_0x13f9a8=_0x360e30['model']['markers']['getMarkersGroup'](_0x1f0eed),_0x5567d2=_0x360e30['model']['markers']['get'](_0x159432),_0x4aec0b=this['_suggestions']['get'](_0x4a8eb4);if(null!=_0x8d8d3a['newRange']){'formatInline'==_0x36e8c3&&(_0x5045ae=_0x5045ae||_0x7e4ef5(_0x8d8d3a['newRange'],_0x159432,_0xc669c5,_0x360e30['model']['schema']));const _0x2279c8='attribute'==_0x36e8c3&&this['_suggestionsConversion']['isBlockAttribute'](_0x29a03d(_0x1133fc)),_0x57f515='attribute'==_0x36e8c3&&this['_suggestionsConversion']['isInlineAttribute'](_0x29a03d(_0x1133fc));if(_0x8d8d3a['newRange']['isCollapsed']||'$graveyard'==_0x8d8d3a['newRange']['root']['rootName']||'formatBlock'==_0x36e8c3&&!_0x501511(_0x8d8d3a['newRange'])||_0x2279c8&&!_0x501511(_0x8d8d3a['newRange'])||_0x57f515&&_0x5e0f5d(_0x8d8d3a['newRange'])||'deletion'==_0x36e8c3&&_0x5e0f5d(_0x8d8d3a['newRange'])||_0x5567d2&&_0x36f765(_0x5567d2,_0x13f9a8))_0xc669c5['removeMarker'](_0x159432),_0x5045ae=!0x0;else{if(!_0x4aec0b||!_0x4aec0b['isInContent'])continue;if(_0x8d8d3a['newRange']&&_0x8d8d3a['oldRange']&&_0x8d8d3a['newRange']['isEqual'](_0x8d8d3a['oldRange']))continue;_0x1377b2['add'](_0x4aec0b);}}}return _0x1377b2['size']>0x0&&(_0x5045ae=!!this['_joinWithAdjacentSuggestions'](_0x1377b2)||_0x5045ae),_0x5045ae;}),_0x360e30['model']['document']['registerPostFixer'](_0xc7b241=>{let _0x282bcb=!0x1;for(const _0x34a587 of _0x360e30['model']['document']['differ']['getChanges']())if('insert'==_0x34a587['type'])for(const _0x525169 of this['_suggestions']['values']()){if(_0x525169['isMultiRange']||!_0x525169['isInContent'])continue;const _0x5be32e='formatBlock'==_0x525169['type'],_0x4cfa31=this['_getAttributeKey'](_0x525169),_0x3ecbf5=_0x4cfa31&&this['_suggestionsConversion']['isBlockAttribute'](_0x4cfa31);if(!_0x5be32e&&!_0x3ecbf5)continue;const _0x4f57e9=_0x525169['getFirstRange']();if(_0x4f57e9['start']['parent']!=_0x4f57e9['end']['parent']&&!_0x4f57e9['end']['isAtEnd']){const _0x59ec19=_0x360e30['model']['createPositionAt'](_0x4f57e9['start']['nodeAfter'],'end'),_0x3835d8=_0x360e30['model']['createRange'](_0x4f57e9['start'],_0x59ec19);_0xc7b241['updateMarker'](_0x525169['getFirstMarker'](),{'range':_0x3835d8}),_0x282bcb=!0x0;}}return _0x282bcb;}),_0x360e30['model']['document']['registerPostFixer'](_0x65291f=>this['_processAttributeChanges'](_0x65291f)),_0x360e30['model']['document']['registerPostFixer'](_0x43dd87=>!_0x43dd87['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x43dd87)),_0x360e30['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x360e30['model']['document']['on']('change:data',(_0x2babd0,_0x1bf8d2)=>{if(!_0x1bf8d2['isLocal']||_0x1bf8d2['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x4bf297=_0x360e30['model']['document']['differ']['getChanges']();if(0x0==_0x4bf297['length'])return;const _0x365b4c=[],_0x41f3a0=_0x4bf297['filter'](_0x32a456=>'attribute'==_0x32a456['type']),_0x564320=_0x4bf297['filter'](_0x1fbd73=>'insert'==_0x1fbd73['type']&&'$text'!=_0x1fbd73['name']);for(const _0x4e2b51 of _0x41f3a0)this['_suggestionsConversion']['isRegisteredAttribute'](_0x4e2b51['attributeKey'])&&_0x365b4c['push']({'key':_0x4e2b51['attributeKey'],'newValue':_0x4e2b51['attributeNewValue'],'oldValue':_0x4e2b51['attributeOldValue'],'range':_0xf80ed1(_0x4e2b51['range'],_0x360e30['model'])});for(const _0x3c563a of _0x564320){if('rename'!=_0x3c563a['action']&&'refresh'!=_0x3c563a['action'])continue;const _0x458e39=_0x422bde(_0x3c563a['position']['nodeAfter'],_0x360e30['model']),_0x260363=_0x3c563a['before'];'rename'==_0x3c563a['action']&&_0x365b4c['push']({'key':_0x1a788a,'newValue':_0x3c563a['name'],'oldValue':_0x260363['name'],'range':_0x458e39});for(const [_0x2a233d,_0xdf8150]of _0x260363['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x2a233d))continue;const _0x1cd7eb=_0x3c563a['attributes']['get'](_0x2a233d);_0xdf8150!==_0x1cd7eb&&_0x365b4c['push']({'key':_0x2a233d,'newValue':_0x1cd7eb,'oldValue':_0xdf8150,'range':_0x458e39});}for(const [_0xdeffc8,_0xe5e498]of _0x3c563a['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0xdeffc8)&&(_0x260363['attributes']['has'](_0xdeffc8)||_0x365b4c['push']({'key':_0xdeffc8,'newValue':_0xe5e498,'oldValue':null,'range':_0x458e39}));}0x0!=_0x365b4c['length']&&_0x360e30['model']['enqueueChange'](_0x1bf8d2,_0x4c0750=>{const _0x662a77=(0x0,_0x491313['uid'])();for(const {range:_0x4ba95d,key:_0x3ee109,oldValue:_0x22069c,newValue:_0x523229}of _0x365b4c)this['markAttributeChange'](_0x4ba95d,_0x3ee109,_0x22069c,_0x523229,{'groupId':_0x662a77});this['_reduceExistingSuggestions'](_0x4c0750,_0x365b4c);});},{'priority':'lowest'}),_0x360e30['model']['markers']['on']('update:suggestion',(_0x2d55a4,_0x18976a,_0x24e059)=>{if(null==_0x24e059){const {id:_0x5e47f9}=_0x41e4c4(_0x18976a['name']),_0x3f1714=this['_suggestions']['get'](_0x5e47f9);_0x3f1714&&_0x3f1714['addMarkerName'](_0x18976a['name']);}}),_0x360e30['model']['document']['on']('change:data',()=>{const _0xc833f2=Array['from'](_0x360e30['model']['document']['differ']['getChangedMarkers']())['filter'](_0x2bedde=>'suggestion'===_0x41e4c4(_0x2bedde['name'])['group']);if(0x0===_0xc833f2['length'])return;_0xc833f2['sort']((_0x3465ce,_0x4ae769)=>{const _0x3197a3=_0x3465ce['data']['oldRange'],_0x568635=_0x4ae769['data']['oldRange'];return null===_0x3197a3&&null===_0x568635?0x0:null===_0x3197a3&&null!==_0x568635?-0x1:null!==_0x3197a3&&null===_0x568635?0x1:_0x3197a3['start']['isBefore'](_0x568635['start'])?-0x1:0x1;});const _0x28730b=new Set(),_0x18847b=new Set();for(const {name:_0x58cef4,data:_0x111e6f}of _0xc833f2){const {id:_0x307431}=_0x41e4c4(_0x58cef4);if(null===_0x111e6f['oldRange']){const _0xadb214=this['_handleNewSuggestionMarker'](_0x58cef4);_0x18847b['add'](_0xadb214);}else{const _0x576a57=this['_suggestions']['get'](_0x307431);null!==_0x111e6f['newRange']||_0x576a57['isInContent']?(_0x28730b['add'](_0x576a57['head']),_0x18847b['add'](_0x576a57)):this['_removeSuggestion'](_0x576a57);}}_0x18847b['size']>0x0&&this['_refreshSuggestionsChain'](_0x18847b);for(const _0x5cf844 of _0x28730b)this['fire']('suggestionChanged',_0x5cf844);}),_0x360e30['model']['on']('applyOperation',(_0x1e004b,_0xa9021)=>{const _0x3d60bd=_0xa9021[0x0];if(!this['_suggestions']['size'])return;if(!_0x3d60bd['isDocumentOperation'])return;if(_0x3d60bd['batch']['isUndo']||!_0x3d60bd['batch']['isLocal'])return;let _0x24fa9d,_0x561afe;switch(_0x3d60bd['type']){case'insert':_0x24fa9d=_0x360e30['model']['createPositionAt'](_0x3d60bd['position']),_0x561afe=_0x24fa9d['getShiftedBy'](_0x3d60bd['howMany']);break;case'split':_0x24fa9d=_0x360e30['model']['createPositionAt'](_0x3d60bd['splitPosition']),_0x561afe=_0x360e30['model']['createPositionAt'](_0x3d60bd['moveTargetPosition']);break;case'move':_0x24fa9d=_0x360e30['model']['createPositionAt'](_0x3d60bd['targetPosition']),_0x561afe=_0x24fa9d['getShiftedBy'](_0x3d60bd['howMany']);break;default:return;}const _0x589ef7=_0x360e30['model']['createRange'](_0x24fa9d,_0x561afe);_0x360e30['model']['change'](()=>{for(const {suggestion:_0x98c1c2,meta:_0x549ef1}of this['_findSuggestions'](_0x589ef7)){if(_0x98c1c2['isMultiRange'])continue;if('formatInline'==_0x98c1c2['type'])continue;const _0x33e052=this['_getAttributeKey'](_0x98c1c2);if(_0x33e052&&this['_suggestionsConversion']['isBlockAttribute'](_0x33e052)&&'split'!=_0x3d60bd['type'])continue;const _0x5a5fee=_0x98c1c2['data']&&_0x98c1c2['data']['multipleBlocks'];('formatBlock'!=_0x98c1c2['type']||'split'==_0x3d60bd['type']&&!_0x5a5fee)&&(_0x549ef1['containsRangeInObject']||'insertion'==_0x98c1c2['type']&&_0x549ef1['isOwn']||_0x98c1c2['getFirstRange']()['containsRange'](_0x589ef7)&&this['_breakSuggestionMarker'](_0x98c1c2,_0x24fa9d,_0x561afe));}});},{'priority':'lowest'}),_0x360e30['model']['on']('deleteContent',(_0x5a0517,_0x5e224e)=>{const _0x1c681c=_0x5e224e[0x0],_0x5e5425=_0x5e224e[0x1];if(_0x5e5425&&_0x5e5425['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x1c681c['isCollapsed'])return;const _0x2b35db=_0x360e30['model']['schema'],{start:_0x177519,end:_0x19b9d2}=_0x1c681c['getFirstRange'](),_0x5a18c7=_0x177519['nodeAfter']&&_0x2b35db['isLimit'](_0x177519['nodeAfter'])?null:_0x2b35db['getNearestSelectionRange'](_0x177519,'forward'),_0x1bab37=_0x19b9d2['nodeBefore']&&_0x2b35db['isLimit'](_0x19b9d2['nodeBefore'])?null:_0x2b35db['getNearestSelectionRange'](_0x19b9d2,'backward'),_0x36bbef=_0x360e30['model']['createRange'](_0x5a18c7?_0x5a18c7['start']:_0x177519,_0x1bab37?_0x1bab37['end']:_0x19b9d2);_0x360e30['model']['change'](_0x2bbf97=>{this['markDeletion'](_0x36bbef);const _0xc2c7dd=_0x360e30['model']['schema']['getNearestSelectionRange'](_0x36bbef['start']);_0x1c681c['is']('documentSelection')?_0x2bbf97['setSelection'](_0xc2c7dd):_0x1c681c['setTo'](_0xc2c7dd);}),_0x5a0517['stop']();},{'priority':_0x491313['priorities']['normal']+0xa}),_0x360e30['model']['on']('insertContent',(_0x45d11a,_0x21c0df)=>{const _0x2b085d=_0x21c0df[_0x21c0df['length']-0x1];_0x2b085d&&_0x2b085d['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x360e30['model']['change'](()=>{let _0xdee782=_0x360e30['model']['insertContent'](_0x21c0df[0x0],_0x21c0df[0x1],_0x21c0df[0x2],{'forceDefaultExecution':!0x0});if(!_0xdee782)return;_0x45d11a['return']=_0xdee782['clone']();const _0x1461d4=_0xdee782['end']['nodeBefore'],_0x4f76b4=_0x360e30['model']['schema'];_0x1461d4&&_0x4f76b4['isBlock'](_0x1461d4)&&!_0x4f76b4['isObject'](_0x1461d4)&&(_0xdee782=_0x360e30['model']['createRange'](_0xdee782['start'],_0x360e30['model']['createPositionAt'](_0x1461d4,'end'))),this['markInsertion'](_0xdee782);}),_0x45d11a['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x4bc95b=new _0x1626d9(_0x360e30,this['_suggestions']);_0x360e30['commands']['add']('acceptSuggestion',_0x4bc95b),this['enableCommand']('acceptSuggestion');const _0x590ba6=new _0xa1c7e5(_0x360e30,this['_suggestions']);_0x360e30['commands']['add']('discardSuggestion',_0x590ba6),this['enableCommand']('discardSuggestion'),_0x360e30['commands']['add']('acceptAllSuggestions',new _0x266752(_0x360e30,_0x4bc95b,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x360e30['commands']['add']('discardAllSuggestions',new _0x266752(_0x360e30,_0x590ba6,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x360e30['commands']['add']('acceptSelectedSuggestions',new _0x2ad647(_0x360e30,_0x4bc95b,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x360e30['commands']['add']('discardSelectedSuggestions',new _0x2ad647(_0x360e30,_0x590ba6,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x41dee0=_0x360e30['plugins']['get'](_0x2d919b);this['listenTo'](_0x41dee0,'addComment',(_0x4fb0be,{threadId:_0xac8619})=>{const _0x51a8e3=this['_suggestions']['get'](_0xac8619);_0x51a8e3&&_0x51a8e3['commentThread']&&0x1===_0x51a8e3['commentThread']['length']&&this['_updateSuggestionData'](_0xac8619,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x41dee0,'removeComment',(_0xf6cff,{threadId:_0x34484e})=>{const _0x3fb308=this['_suggestions']['get'](_0x34484e);_0x3fb308&&_0x3fb308['commentThread']&&!_0x3fb308['commentThread']['length']&&this['_updateSuggestionData'](_0x34484e,{'hasComments':!0x1});},{'priority':'low'});}afterInit(){!async function(_0x9b4f91){const _0x981e90='RBcXdGf567mNjK9DTpP0Iyi3gea8ZvzlE4bFuWrwsH1hnOSLqkY2MQJxoVAUtC',_0x31beaa=0x791d0,_0x3f5e0b=window['Date']['now'](),_0x97fbfc=_0x9b4f91['editor'],_0x20d6e3=new window['Promise'](_0x467506=>{_0x97fbfc['once']('ready',_0x467506);}),_0x28e0b6={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x49aaae=_0x97fbfc['config']['get']('licenseKey');async function _0x5dbfe5(){let _0xc681aa,_0x18323a=null,_0x869483=null;try{return'GPL'==_0x49aaae?'NotAllowed':(_0xc681aa=_0x44f509(),_0xc681aa?(_0xc681aa['usageEndpoint']&&(_0x869483=_0x1c8697(_0xc681aa['usageEndpoint'],_0xc681aa['jti'])),await _0x3ce886()?_0x3fc8ef()?_0x21cf22()?'Expired':_0x55b681()?('evaluation'==_0xc681aa['licenseType']&&(_0x18323a=_0x3904c9('EvaluationLimit')),await _0x1260f6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x21cf22(){const _0x136402=['evaluation','trial']['includes'](_0xc681aa['licenseType'])?_0x3f5e0b/0x3e8:0xe10*_0x31beaa;return _0xc681aa['exp']<_0x136402;}function _0x3fc8ef(){const _0x29ef22=_0xc681aa['features'];if(!_0x29ef22)return!0x1;if(_0x29ef22['includes']('*'))return!0x0;if(_0x29ef22['includes']('TC'))return!0x0;if(_0x29ef22['includes']('RTC')){if(_0x2aff3b())return!0x0;if(_0x1bc2d3()||_0x543994())return!0x0;}return!0x1;}function _0x55b681(){const _0x26550b=_0xc681aa['licensedHosts'];if(!_0x26550b||0x0==_0x26550b['length'])return!0x0;const {hostname:_0x4bfb5f}=new URL(window['location']['href']);if(_0x26550b['includes'](_0x4bfb5f))return!0x0;const _0x318136=_0x4bfb5f['split']('.');return _0x26550b['filter'](_0x34046b=>_0x34046b['includes']('*'))['map'](_0x6c1b00=>_0x6c1b00['split']('.'))['filter'](_0x9b5a27=>_0x9b5a27['length']<=_0x318136['length'])['map'](_0x248be8=>Array(_0x318136['length']-_0x248be8['length'])['fill']('*'===_0x248be8[0x0]?'*':'')['concat'](_0x248be8))['some'](_0x107050=>_0x318136['every']((_0x54076c,_0x42a677)=>_0x107050[_0x42a677]===_0x54076c||'*'===_0x107050[_0x42a677]));}function _0x1260f6(){return _0x18323a&&_0x869483?new window['Promise']((_0x5a22c1,_0x4d27e5)=>{_0x18323a['then'](_0x5a22c1,_0x4d27e5),_0x869483['then'](_0x468b8e=>{'Valid'!=_0x468b8e&&_0x5a22c1(_0x468b8e);},_0x4d27e5);}):_0x18323a||_0x869483||'Valid';}}function _0x1c8697(_0xd9fb2c,_0x108502){return new window['Promise'](_0x3814a1=>{if(_0xff7285())return _0x3814a1('Valid');_0x49486b(),_0x97fbfc['decorate']('_sendUsageRequest');let _0x305eb1=!0x1;const _0x2140b3=(0x0,_0x491313['uid'])();function _0x29d334(_0x333330){return!!_0x333330&&('object'==typeof _0x333330||'function'==typeof _0x333330)&&'function'==typeof _0x333330['then']&&'function'==typeof _0x333330['catch'];}function _0xbaf116(_0x28d867){_0x4a6e92(_0x28d867)['then'](_0x2a0ae9=>_0x2a0ae9&&'ok'==_0x2a0ae9['status']?_0x37d691(_0x36a75b(_0x2140b3+_0x108502))!=_0x2a0ae9['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5803f8=>(_0x4aee67(),_0x5803f8),()=>{const _0x321479=_0x208d69();return null==_0x321479?(_0x4aee67(),'Valid'):_0x3f5e0b-_0x321479>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3814a1)['catch'](()=>{_0x3814a1('UsageLimit');});const _0x23a8fe=0x36ee80;function _0x4aee67(){const _0x5951e7='llct-'+_0x37d691(_0x36a75b(_0xd9fb2c)),_0x22c2c5=_0x53f49d(_0x37d691(window['Math']['ceil'](_0x3f5e0b/_0x23a8fe)));window['localStorage']['setItem'](_0x5951e7,_0x22c2c5);}function _0x208d69(){const _0x3fb799='llct-'+_0x37d691(_0x36a75b(_0xd9fb2c)),_0x11f097=window['localStorage']['getItem'](_0x3fb799);return _0x11f097?window['parseInt'](_0x53f49d(_0x11f097),0x10)*_0x23a8fe:null;}function _0x4a6e92(_0x7c4cb5){return new window['Promise']((_0xbb744f,_0x4fb750)=>{_0x7c4cb5['then'](_0xbb744f,_0x4fb750),window['setTimeout'](_0x4fb750,0x1d4c0);});}}_0x97fbfc['on']('_sendUsageRequest',(_0x58d5c0,_0x39e16a)=>{if(_0x39e16a[0x0]!=_0xd9fb2c)return _0x3814a1('UsageLimit');_0x39e16a[0x1]={..._0x39e16a[0x1],'requestId':_0x2140b3};},{'priority':'high'}),_0x97fbfc['on']('_sendUsageRequest',_0x40dbdf=>{_0x29d334(_0x40dbdf['return'])&&(_0x305eb1=!0x0,_0xbaf116(_0x40dbdf['return']));},{'priority':'low'}),_0x20d6e3['then'](()=>{_0x305eb1||_0x3814a1('UsageLimit');});});function _0xff7285(){return'auto'==_0x97fbfc['editing']['view']['_overlayModeHint'];}function _0x49486b(){_0x97fbfc['editing']['view']['_overlayModeHint']='auto';}}function _0x3904c9(_0x2d0ac2){const _0x7d4c22=[new window['Promise'](_0x1907d0=>setTimeout(_0x1907d0,0x93ecc)),_0x20d6e3['then'](()=>new window['Promise'](_0x59ba83=>{let _0x18524c=0x0;_0x97fbfc['model']['on']('applyOperation',(_0x2d61c8,_0x1d3609)=>{_0x1d3609[0x0]['isDocumentOperation']&&_0x18524c++,0x5e8==_0x18524c&&(_0x59ba83(),_0x2d61c8['off']());});}))];return window['Promise']['race'](_0x7d4c22)['then'](()=>_0x2d0ac2);}async function _0x53a8c7(){await _0x20d6e3,_0x97fbfc['model']['change']=_0x1f2f1e,_0x97fbfc['model']['enqueueChange']=_0x1f2f1e,_0x97fbfc['enableReadOnlyMode']('model');}function _0x2aff3b(){return _0xd4cf0d('WebSocketGateway')&&'connected'==_0x1906f6('WebSocketGateway')['state'];}function _0x1bc2d3(){return _0xd4cf0d('RevisionViewerIntegration');}function _0x543994(){return _0xd4cf0d('TrackChangesDataGetter');}function _0x502a6c(_0x3e53a8){const _0x422822=_0x15f03a();_0x97fbfc[_0x422822]='trackChangesLicenseKey'+_0x3e53a8,'Valid'!=_0x3e53a8&&_0x53a8c7();}function _0x15f03a(){const _0x2ee3a4=window['String'](window['performance']['now']())['replace']('.','');let _0xdf8530='R';for(let _0x2c404d=0x0;_0x2c404d<_0x2ee3a4['length'];_0x2c404d+=0x2){let _0x129676=window['parseInt'](_0x2ee3a4['substring'](_0x2c404d,_0x2c404d+0x2));_0x129676>=0x3e&&(_0x129676-=0x3e),_0xdf8530+=_0x981e90[_0x129676];}return _0xdf8530;}function _0x44f509(){const _0x5a36c8=_0x49aaae['split']('.');if(0x3!=_0x5a36c8['length'])return null;return _0x18c56d(_0x5a36c8[0x1]);function _0x18c56d(_0x173be7){const _0xeea4c6=_0x352d00(_0x173be7);return _0xeea4c6&&_0x2f9365()?_0xeea4c6:null;function _0x2f9365(){const _0x333ca0=_0xeea4c6['jti'],_0x27df4f=window['parseInt'](_0x333ca0['substring'](_0x333ca0['length']-0x8),0x10),_0x342cde={..._0xeea4c6,'jti':_0x333ca0['substring'](0x0,_0x333ca0['length']-0x8)};return delete _0x342cde['vc'],_0x36a75b(_0x342cde)==_0x27df4f;}}}async function _0x3ce886(){let _0x15c757=!0x0;try{const [_0x218c3d,_0x5a156b,_0x40a6cc]=_0x49aaae['split']('.');return _0xcea76b(_0x218c3d),await _0x445d55(_0x218c3d,_0x5a156b,_0x40a6cc),_0x15c757;}catch{return!0x1;}function _0xcea76b(_0x32e3fa){const _0x27e59b=_0x352d00(_0x32e3fa);_0x27e59b&&'ES256'==_0x27e59b['alg']||(_0x15c757=!0x1);}async function _0x445d55(_0x4e01e8,_0x50bceb,_0x4ad9c5){const _0x393a7f=window['Uint8Array']['from'](_0x4ae9a4(_0x4ad9c5),_0x2e26cb=>_0x2e26cb['charCodeAt'](0x0)),_0x418280=new window['TextEncoder']()['encode'](_0x4e01e8+'.'+_0x50bceb),_0x8ccfda=window['crypto']['subtle'];if(!_0x8ccfda)return;const _0x4a117c=await _0x8ccfda['importKey']('jwk',_0x28e0b6,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x8ccfda['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4a117c,_0x393a7f,_0x418280)||(_0x15c757=!0x1);}}function _0x352d00(_0x5a993f){return _0x5a993f['startsWith']('ey')?JSON['parse'](_0x4ae9a4(_0x5a993f)):null;}function _0x4ae9a4(_0x45911a){return window['atob'](_0x45911a['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x36a75b(_0x358724){let _0x30d4dd=0x1505;function _0xbfa62f(_0x2854c7){for(let _0x4428d4=0x0;_0x4428d4<_0x2854c7['length'];_0x4428d4++){const _0x35ac1e=_0x2854c7['charCodeAt'](_0x4428d4);_0x30d4dd=(_0x30d4dd<<0x5)+_0x30d4dd+_0x35ac1e,_0x30d4dd&=_0x30d4dd;}}function _0x1ef427(_0x2a5538){Array['isArray'](_0x2a5538)?_0x2a5538['forEach'](_0x1ef427):_0x2a5538&&'object'==typeof _0x2a5538?Object['entries'](_0x2a5538)['sort']()['forEach'](([_0x198ff3,_0x35f18f])=>{_0xbfa62f(_0x198ff3),_0x1ef427(_0x35f18f);}):_0xbfa62f(window['String'](_0x2a5538));}return _0x1ef427(_0x358724),_0x30d4dd>>>0x0;}function _0x37d691(_0xa8b0af){return _0xa8b0af['toString'](0x10)['padStart'](0x8,'0');}function _0x53f49d(_0x8524b2){return _0x8524b2['split']('')['reverse']()['join']('');}function _0xd4cf0d(_0xc5e306){return _0x97fbfc['plugins']['has'](_0xc5e306);}function _0x1906f6(_0x735d4){return _0x97fbfc['plugins']['get'](_0x735d4);}function _0x1f2f1e(){}_0x502a6c(await _0x5dbfe5());}(this);}set adapter(_0x1501d0){if(this['_adapter'])throw new _0x491313['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x1501d0;}get adapter(){return this['_adapter'];}getSuggestions({skipNotAttached:_0x172152=!0x1,toJSON:_0x5aa710=!0x1}={}){const _0x1377c6=[];for(const _0x26175b of this['_suggestions']['values']())_0x172152&&!_0x26175b['isInContent']||_0x1377c6['push'](_0x26175b);return _0x5aa710?_0x1377c6['map'](_0x3917ef=>_0x3917ef['toJSON']()):_0x1377c6;}getSuggestion(_0x4e7ae5){const _0x1163d9=this['_suggestions']['get'](_0x4e7ae5);if(!_0x1163d9)throw new _0x491313['CKEditorError']('track-changes-suggestion-not-found',this);return _0x1163d9;}hasSuggestion(_0x53b43a){return this['_suggestions']['has'](_0x53b43a);}addSuggestionData(_0x3643a7){const {authorId:_0x51a734,id:_0x120c14,originalSuggestionId:_0x1c9f3e,attributes:_0x4648fc}=_0x3643a7,[_0x2b807f,_0xa114b2]=_0x3643a7['type']['split'](':'),_0x15285a=this['_suggestions']['get'](_0x120c14)||this['_createSuggestion'](_0x2b807f,_0xa114b2,_0x120c14,_0x51a734,_0x4648fc,_0x1c9f3e);if(this['_addThreadToSuggestion'](_0x15285a),this['_checkSuggestionCorrectness'](_0x15285a,_0x2b807f,_0xa114b2||null,_0x51a734),_0x15285a['createdAt']=_0x3643a7['createdAt'],_0x15285a['_isDataLoaded']=!0x0,_0x4648fc&&_0x4648fc['@external']){const _0x5ac72=_0x4648fc['@external'],_0x250e27=this['_getExternalAuthor'](_0x5ac72['authorName']);_0x15285a['authoredAt']=_0x5ac72['createdAt'],_0x15285a['author']=_0x250e27;}else _0x15285a['authoredAt']=_0x3643a7['createdAt'];switch(_0x3643a7['data']&&(_0x15285a['data']=_0x3643a7['data']),_0x3643a7['attributes']&&(_0x15285a['attributes']=_0x3643a7['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x15285a['_saved']=!0x0),this['_suggestionState']['get'](_0x15285a)){case'notReady':this['_suggestionState']['set'](_0x15285a,'dataReady');break;case'markerReady':_0x15285a['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x15285a])),this['_refreshSuggestionsChain'](new Set([_0x15285a])),this['_suggestionState']['set'](_0x15285a,'ready'),this['fire']('suggestionLoaded',_0x15285a)):this['_suggestionState']['set'](_0x15285a,'removed');}return _0x15285a;}acceptSuggestion(_0x2a1df3){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x532696 of _0x2a1df3['getAllAdjacentSuggestions']())_0x532696['accept']();});});}discardSuggestion(_0x1b013a){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x5bb734 of _0x1b013a['getAllAdjacentSuggestions']())_0x5bb734['discard']();});});}['enableCommand'](_0x172eab,_0x4ed3c1){const _0x3a1b6b=this['editor']['commands']['get'](_0x172eab);if(!_0x3a1b6b)throw new _0x491313['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x172eab});if(this['_enabledCommands']['has'](_0x3a1b6b))throw new _0x491313['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x172eab});this['_enabledCommands']['add'](_0x3a1b6b),_0x4ed3c1&&_0x3a1b6b['on']('execute',(_0x1dff11,_0x106ddb)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x106ddb['length']>0x0&&_0x106ddb[_0x106ddb['length']-0x1]&&_0x106ddb[_0x106ddb['length']-0x1]['forceDefaultExecution']?_0x106ddb['pop']():(_0x1dff11['return']=_0x4ed3c1((..._0x4f6104)=>_0x3a1b6b['execute'](..._0x4f6104,{'forceDefaultExecution':!0x0}),..._0x106ddb),_0x1dff11['stop']())));},{'priority':'high'});}forceDefaultExecution(_0xbd343c){let _0x39a8dd,_0x33d1b3;const _0x393c37=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x39a8dd=_0xbd343c();}catch(_0xbea29d){_0x33d1b3=_0xbea29d;}return _0x393c37||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x33d1b3&&_0x491313['CKEditorError']['rethrowUnexpectedError'](_0x33d1b3,this),_0x39a8dd;}markInsertion(_0x4bc01e,_0x542cd2=null,_0x3165a9={}){if(_0x4bc01e['isCollapsed'])return null;const _0xf0477=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x3165a9['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x2de267,meta:_0x118054}of this['_findSuggestions'](_0x4bc01e,'insertion'))if(_0x118054['isOwn']){if(!_0x118054['isNextTo']){if(_0x118054['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_0x212f02(_0x2de267,_0x3165a9))continue;return _0x2de267;}if(_0x212f02(_0x2de267,_0x3165a9))return _0x2de267;this['_breakSuggestionMarker'](_0x2de267,_0x4bc01e['start'],_0x4bc01e['end']);break;}if(_0x542cd2==_0x2de267['subType']&&_0x212f02(_0x2de267,_0x3165a9)){const _0x32f5f4=_0x2de267['getFirstRange']();return _0x32f5f4['start']['isEqual'](_0x4bc01e['end'])?this['_setSuggestionRange'](_0x2de267,this['_model']['createRange'](_0x4bc01e['start'],_0x32f5f4['end'])):this['_setSuggestionRange'](_0x2de267,this['_model']['createRange'](_0x32f5f4['start'],_0x4bc01e['end'])),_0x2de267;}}const _0xcdbc6d=(0x0,_0x491313['uid'])(),_0x53853d=_0xf0477['id'],_0x7da13b=_0x542cd2?'insertion:'+_0x542cd2:'insertion',_0x84c6f3=this['_setSuggestionData']({'id':_0xcdbc6d,'type':_0x7da13b,'createdAt':new Date(),'authorId':_0x53853d,'attributes':_0x3165a9});return this['_addSuggestionMarker'](_0x7da13b,_0xcdbc6d,_0x53853d,_0x4bc01e),_0x84c6f3;}markMultiRangeInsertion(_0x1840dd,_0xb0158b='multi',_0x44e012={}){const _0x53e132=this['editor']['plugins']['get']('Users')['me'],_0x355659=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0xb0158b,'join');this['_trackingSessionId']&&(_0x44e012['trackingSessionId']=this['_trackingSessionId']);for(const _0x3c4719 of this['getSuggestions']())if(_0x3c4719['author']['id']==_0x53e132['id']&&'insertion'==_0x3c4719['type']&&_0x3c4719['subType']==_0xb0158b&&_0x212f02(_0x3c4719,_0x44e012)&&(_0x355659(_0x3c4719['getRanges'](),_0x1840dd)||_0x355659(_0x1840dd,_0x3c4719['getRanges']()))){for(const _0x3efc0d of _0x1840dd)_0x3c4719['addRange'](_0x3efc0d);return _0x3c4719;}for(const {suggestion:_0x4005a3,meta:_0x5e4f72}of this['_findSuggestions'](_0x1840dd,'insertion')){if(!_0x5e4f72['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x5e4f72['containsRangeInObject'])continue;if(!_0x212f02(_0x4005a3,_0x44e012))continue;let _0x4b53f2=!0x0;for(const _0x4773e3 of _0x4005a3['getRanges']())for(const _0x44c2fc of _0x1840dd)if(!_0x4773e3['containsRange'](_0x44c2fc)){_0x4b53f2=!0x1;break;}if(_0x4b53f2)return _0x4005a3;}const _0x12cbc4=(0x0,_0x491313['uid'])(),_0x47e44c=_0x53e132['id'],_0x2c4039='insertion:'+_0xb0158b,_0x364a41=this['_setSuggestionData']({'id':_0x12cbc4,'type':_0x2c4039,'createdAt':new Date(),'authorId':_0x47e44c,'attributes':_0x44e012});for(const _0x4ff974 of _0x1840dd)this['_addSuggestionMarker'](_0x2c4039,_0x12cbc4,_0x47e44c,_0x4ff974,_0x23c110['getMultiRangeId']());return _0x364a41;}markInlineFormat(_0x313732,_0x4a1752,_0x1dbd44=null,_0x32e519={}){if(_0x1dbd44=_0x1dbd44||_0x3220fc(_0x4a1752),_0x313732['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x32e519['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x1bad37=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x1dbd44,'accept');return this['forceDefaultExecution'](()=>_0x1bad37([_0x313732],_0x4a1752,_0x32e519)),null;}const _0x223158=this['editor']['plugins']['get']('Users')['me'],_0x5f4d50=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x1c73f0,meta:_0x1ed478}of this['_findSuggestions'](_0x313732,'insertion'))_0x1ed478['isOwn']&&!_0x1ed478['isInsideObject']&&_0x5f4d50['push'](..._0x1c73f0['getRanges']());}const _0x540987=function(_0x115f32,_0x1f55e2){const _0x2d549a=[];for(const _0x554a83 of _0x1f55e2){const _0x20636a=_0x115f32['getIntersection'](_0x554a83);_0x20636a&&_0x2d549a['push'](_0x20636a);}return _0x2d549a;}(_0x313732,_0x5f4d50),_0x1769ad=function(_0x477467,_0x4fe33c){const _0x1864c8=[_0x477467];for(const _0x55b04a of _0x4fe33c){let _0x38cc2f=0x0;for(;_0x38cc2f<_0x1864c8['length'];){const _0x56abd3=_0x1864c8[_0x38cc2f]['getDifference'](_0x55b04a);_0x1864c8['splice'](_0x38cc2f,0x1,..._0x56abd3),_0x38cc2f+=_0x56abd3['length'];}}return _0x1864c8;}(_0x313732,_0x5f4d50);_0x540987['length']&&this['_model']['change'](()=>{for(const _0x41830c of _0x540987){const _0x4ca99d=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x1dbd44,'accept');this['forceDefaultExecution'](()=>_0x4ca99d([_0x41830c],_0x4a1752,_0x32e519));}});for(const _0x27463c of _0x1769ad){let _0x12bc44=null,_0x42897f=_0x27463c['start'],_0x2125e7=_0x27463c['end'];for(const {suggestion:_0x42cdc9,meta:_0x4dfc2a}of this['_findSuggestions'](_0x27463c,'formatInline')){if(!_0x4dfc2a['isOwn'])continue;if(_0x42cdc9['subType']!=_0x1dbd44)continue;if(!_0x212f02(_0x42cdc9,_0x32e519))continue;const _0x4c22df=_0x42cdc9['getFirstRange']();if(_0x4c22df['containsRange'](_0x27463c,!0x0))return null;_0x42897f=_0x42897f['isBefore'](_0x4c22df['start'])?_0x42897f:_0x4c22df['start'],_0x2125e7=_0x2125e7['isAfter'](_0x4c22df['end'])?_0x2125e7:_0x4c22df['end'],_0x12bc44?_0x4c22df['start']['isBefore'](_0x12bc44['getFirstRange']()['start'])?(_0x12bc44['removeMarkers'](),_0x12bc44=_0x42cdc9):_0x42cdc9['removeMarkers']():_0x12bc44=_0x42cdc9;}const _0x52c73c=this['_model']['createRange'](_0x42897f,_0x2125e7);if(_0x12bc44)this['_setSuggestionRange'](_0x12bc44,_0x52c73c);else{const _0x136642=(0x0,_0x491313['uid'])(),_0x330a39=_0x223158['id'];this['_setSuggestionData']({'id':_0x136642,'type':'formatInline:'+_0x1dbd44,'data':_0x4a1752,'createdAt':new Date(),'authorId':_0x330a39,'attributes':_0x32e519}),this['_addSuggestionMarker']('formatInline:'+_0x1dbd44,_0x136642,_0x330a39,_0x52c73c);}}return null;}markBlockFormat(_0x1fee97,_0x327944,_0x3d1107=[],_0xedd9a6=null,_0x1a90a9={}){_0x327944['formatGroupId']||(_0x327944['formatGroupId']=_0x327944['commandName']),_0x327944['multipleBlocks']=_0x1fee97['is']('range'),_0xedd9a6=_0xedd9a6||_0x3220fc(_0x327944);const _0xec6af=_0x3d1107['map'](_0x63e20f=>_0x422bde(_0x63e20f,this['_model'])),_0x197190=_0x1fee97['is']('range')?_0x1fee97:_0x422bde(_0x1fee97,this['_model']);if(this['_trackingSessionId']&&(_0x1a90a9['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0xa734b6=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0xedd9a6,'accept');return this['forceDefaultExecution'](()=>_0xa734b6([_0x197190],_0x327944,_0x1a90a9)),null;}_0xec6af['push'](_0x197190);let _0x205253=!0x0;for(const _0x5b50c7 of _0xec6af)if(!this['_rangeIsInLocalUserInsertion'](_0x5b50c7)){_0x205253=!0x1;break;}if(_0x205253&&'always'!==this['_trackFormatChanges']){const _0x54067f=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0xedd9a6,'accept');return this['forceDefaultExecution'](()=>_0x54067f([_0x197190],_0x327944,_0x1a90a9)),null;}let _0x243e66=null,_0x35edb0=_0x197190['start'],_0x358c3e=_0x197190['end'];for(const {suggestion:_0x1c49e3,meta:_0x42108a}of this['_findSuggestions'](_0x197190,'formatBlock')){if(!_0x42108a['isOwn'])continue;if(_0x42108a['isNextTo']||_0x42108a['containsRangeInObject']||_0x42108a['isInsideObject'])continue;if(_0x1c49e3['data']['formatGroupId']!=_0x327944['formatGroupId'])continue;if(!_0x212f02(_0x1c49e3,_0x1a90a9))continue;const _0x3f8be3=_0x1c49e3['getFirstRange']();if(_0x1c49e3['subType']==_0xedd9a6){if(_0x3f8be3['containsRange'](_0x197190,!0x0))return null;_0x35edb0=_0x35edb0['isBefore'](_0x3f8be3['start'])?_0x35edb0:_0x3f8be3['start'],_0x358c3e=_0x358c3e['isAfter'](_0x3f8be3['end'])?_0x358c3e:_0x3f8be3['end'],_0x243e66?_0x3f8be3['start']['isBefore'](_0x243e66['getFirstRange']()['start'])?(_0x243e66['removeMarkers'](),_0x243e66=_0x1c49e3):_0x1c49e3['removeMarkers']():_0x243e66=_0x1c49e3;}else{const _0x1b8d4c=_0x197190['getIntersection'](_0x3f8be3);this['_cutOutSuggestionMarker'](_0x1c49e3,_0x1b8d4c);}}const _0x5af9c8=this['editor']['plugins']['get']('Users')['me'],_0x339813=(0x0,_0x491313['uid'])(),_0x4e0fe5=_0x5af9c8['id'];if(_0x243e66)return this['_setSuggestionRange'](_0x243e66,this['_model']['createRange'](_0x35edb0,_0x358c3e)),_0x243e66;{const _0x289aa1=this['_setSuggestionData']({'id':_0x339813,'type':'formatBlock:'+_0xedd9a6,'data':_0x327944,'createdAt':new Date(),'authorId':_0x4e0fe5,'attributes':_0x1a90a9});return this['_addSuggestionMarker']('formatBlock:'+_0xedd9a6,_0x339813,_0x4e0fe5,this['_model']['createRange'](_0x35edb0,_0x358c3e)),_0x289aa1;}}markMultiRangeBlockFormat(_0x31b0ee,_0x1e1c06,_0x503823=[],_0x154132=null,_0x570399={}){_0x1e1c06['formatGroupId']||(_0x1e1c06['formatGroupId']=_0x1e1c06['commandName']);const _0x4ae724=_0x31b0ee[0x0];_0x1e1c06['multipleBlocks']=_0x4ae724['is']('range'),_0x154132=_0x154132||_0x3220fc(_0x1e1c06);const _0x3035e4=_0x503823['map'](_0x298839=>_0x422bde(_0x298839,this['_model'])),_0x17a16d=_0x4ae724['is']('range')?_0x31b0ee:_0x31b0ee['map'](_0x40c506=>_0x422bde(_0x40c506,this['_model']));if(this['_trackingSessionId']&&(_0x570399['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x198d1a=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x154132,'accept');return this['forceDefaultExecution'](()=>_0x198d1a(_0x17a16d,_0x1e1c06,_0x570399)),null;}_0x3035e4['push'](..._0x17a16d);let _0x4126f4=!0x0;for(const _0x24a2f9 of _0x3035e4)if(!this['_rangeIsInLocalUserInsertion'](_0x24a2f9)){_0x4126f4=!0x1;break;}if(_0x4126f4&&'always'!==this['_trackFormatChanges']){const _0x319955=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x154132,'accept');return this['forceDefaultExecution'](()=>_0x319955(_0x17a16d,_0x1e1c06,_0x570399)),null;}const _0x5ddff0=this['editor']['plugins']['get']('Users')['me'];for(const _0xda3745 of this['getSuggestions']()){const _0x54fad3=_0xda3745['data'];if(_0xda3745['author']['id']!=_0x5ddff0['id'])continue;if('formatBlock'!=_0xda3745['type']||_0x54fad3['formatGroupId']!=_0x1e1c06['formatGroupId'])continue;if(!_0x212f02(_0xda3745,_0x570399))continue;const _0x12c668=_0xda3745['subType']==_0x154132;for(let _0x2f280f=0x0;_0x2f280f<_0x17a16d['length'];_0x2f280f++){const _0x16a071=_0x17a16d[_0x2f280f];for(const _0x2ab848 of _0xda3745['getMarkers']()){const _0x200d1e=_0x2ab848['getRange']();if(_0x16a071['isEqual'](_0x200d1e)){_0x12c668?(_0x17a16d['splice'](_0x2f280f,0x1),_0x2f280f--):_0xda3745['removeMarker'](_0x2ab848['name']);break;}}}}if(0x0==_0x17a16d['length'])return null;const _0x534eca=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x154132,'join');for(const _0xdfa81f of this['getSuggestions']()){const _0x3b7279=_0xdfa81f['data'];if(_0xdfa81f['author']['id']==_0x5ddff0['id']&&('formatBlock'==_0xdfa81f['type']&&_0x3b7279['formatGroupId']==_0x1e1c06['formatGroupId']&&_0xdfa81f['subType']==_0x154132&&_0x212f02(_0xdfa81f,_0x570399)&&(_0x534eca(_0xdfa81f['getRanges'](),_0x17a16d)||_0x534eca(_0x17a16d,_0xdfa81f['getRanges']())))){for(const _0x24bbc8 of _0x17a16d)_0xdfa81f['addRange'](_0x24bbc8);return _0xdfa81f;}}const _0xc12872=(0x0,_0x491313['uid'])(),_0x3f29f3=_0x5ddff0['id'],_0x4c621e='formatBlock:'+_0x154132,_0x3b182a=this['_setSuggestionData']({'id':_0xc12872,'type':_0x4c621e,'data':_0x1e1c06,'createdAt':new Date(),'authorId':_0x3f29f3,'attributes':_0x570399});for(const _0x83bbaf of _0x17a16d)this['_addSuggestionMarker'](_0x4c621e,_0xc12872,_0x3f29f3,_0x83bbaf,_0x23c110['getMultiRangeId']());return _0x3b182a;}markDeletion(_0x1b63fc,_0x29881e=null,_0x37d283={}){if(_0x1b63fc['isCollapsed'])return null;const _0x460242=this['editor']['plugins']['get']('Users')['me'],_0x1bd9ff=new _0x491313['ModelLiveRange'](_0x1b63fc['start'],_0x1b63fc['end']);this['_trackingSessionId']&&(_0x37d283['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x4dbc77,meta:_0x160fab}of this['_findSuggestions'](_0x1bd9ff,'insertion'))if(_0x160fab['isOwn']&&!_0x160fab['isNextTo']){if(_0x4dbc77['isMultiRange']){const _0x25f4d4=_0x4dbc77['getRanges']()['filter'](_0x386466=>'$graveyard'!=_0x386466['root']['rootName']);if(_0x25f4d4['every'](_0x55d7af=>_0x1bd9ff['containsRange'](_0x55d7af,!0x0))&&_0x4dbc77['discard'](),_0x25f4d4['some'](_0x210772=>_0x210772['containsRange'](_0x1bd9ff,!0x0))){const _0x3780c7=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x29881e,'accept');return this['forceDefaultExecution'](()=>_0x3780c7([_0x1bd9ff],null,_0x37d283)),null;}}else{const _0x427874=_0x1bd9ff['getIntersection'](_0x4dbc77['getFirstRange']());null!==_0x427874&&_0x4dbc77['_onDiscard']([_0x427874],null,_0x37d283);}}if(_0x1bd9ff['detach'](),_0x1bd9ff['isCollapsed']||'$graveyard'==_0x1bd9ff['root']['rootName'])return null;let _0x3e265d=null,_0x6086a8=_0x1bd9ff['start'],_0x4ec37b=_0x1bd9ff['end'];const _0x2bf56c=this['_findSuggestions'](_0x1bd9ff,'deletion');for(const {suggestion:_0x2e5321,meta:_0x5b83e1}of _0x2bf56c){const _0x1b3bc4=this['_model']['createRange'](_0x6086a8,_0x4ec37b);if(_0x5b83e1['isOwn']&&(this['_mergeNestedSuggestions']||!_0x5b83e1['containsRangeInObject']&&!_0x5b83e1['isInsideObject'])){if(_0x2e5321['isMultiRange']){if(!_0x212f02(_0x2e5321,_0x37d283))continue;let _0x1d77dd=!0x0;for(const _0x4fb5ae of _0x2e5321['getRanges']()){if(_0x4fb5ae['containsRange'](_0x1b3bc4,!0x0))return _0x2e5321;_0x1b3bc4['containsRange'](_0x4fb5ae)||(_0x1d77dd=!0x1);}_0x1d77dd&&_0x2e5321['discard']();}else{const _0x3644c2=_0x2e5321['getFirstRange']();if(_0x3644c2['containsRange'](_0x1b3bc4,!0x0))return _0x2e5321;if(!_0x212f02(_0x2e5321,_0x37d283)){_0x1b3bc4['containsRange'](_0x3644c2)?_0x2e5321['removeMarkers']():_0x3644c2['containsPosition'](_0x6086a8)?_0x6086a8=_0x3644c2['end']:_0x3644c2['containsPosition'](_0x4ec37b)&&(_0x4ec37b=_0x3644c2['start']);continue;}_0x6086a8=_0x6086a8['isBefore'](_0x3644c2['start'])?_0x6086a8:_0x3644c2['start'],_0x4ec37b=_0x4ec37b['isAfter'](_0x3644c2['end'])?_0x4ec37b:_0x3644c2['end'],_0x37d283=Object['assign']({},_0x2e5321['attributes']),_0x3e265d?_0x3644c2['start']['isBefore'](_0x3e265d['getFirstRange']()['start'])?(_0x3e265d['removeMarkers'](),_0x3e265d=_0x2e5321):_0x2e5321['removeMarkers']():_0x3e265d=_0x2e5321;}}}if(_0x3e265d)return this['_setSuggestionRange'](_0x3e265d,this['_model']['createRange'](_0x6086a8,_0x4ec37b)),_0x3e265d;{const _0x3d0aad=(0x0,_0x491313['uid'])(),_0x50543c=this['_model']['createRange'](_0x6086a8,_0x4ec37b),_0x409ad9=_0x460242['id'],_0x6b319f=_0x29881e?'deletion:'+_0x29881e:'deletion',_0x321b3b=this['_setSuggestionData']({'id':_0x3d0aad,'type':_0x6b319f,'createdAt':new Date(),'authorId':_0x409ad9,'attributes':_0x37d283});return this['_addSuggestionMarker'](_0x6b319f,_0x3d0aad,_0x409ad9,_0x50543c),_0x321b3b;}}markMultiRangeDeletion(_0x322754,_0xacb419='multi',_0x829fd={}){const _0x3b39ca=this['editor']['plugins']['get']('Users')['me'],_0x2382a5=_0x322754['map'](_0x5e88c3=>new _0x491313['ModelLiveRange'](_0x5e88c3['start'],_0x5e88c3['end'])),_0x21c11=new Set();this['_trackingSessionId']&&(_0x829fd['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0xf3da24,meta:_0x4598f1}of this['_findSuggestions'](_0x2382a5,'insertion'))_0x4598f1['isOwn']&&!_0x4598f1['isNextTo']&&_0x21c11['add'](_0xf3da24);for(const _0xd64d49 of _0x21c11)if(_0xd64d49['isMultiRange']){const _0x604f8=_0xd64d49['getRanges']();if(_0xd64d49['attributes']&&_0xd64d49['attributes']['skipNestingCheck']||_0x604f8['every'](_0x5908a0=>_0x2382a5['some'](_0x4a1e43=>_0x4a1e43['containsRange'](_0x5908a0,!0x0)))&&_0xd64d49['discard'](),_0x2382a5['every'](_0x5cb241=>_0x604f8['some'](_0x4d2c0a=>_0x4d2c0a['containsRange'](_0x5cb241,!0x0)))){const _0x11570e=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0xacb419,'accept');return this['forceDefaultExecution'](()=>_0x11570e(_0x322754,null,_0x829fd)),null;}}else{const _0x546b5f=_0xd64d49['getFirstRange']();if(_0x2382a5['some'](_0x465753=>_0x465753['containsRange'](_0x546b5f,!0x0))&&_0xd64d49['discard'](),_0x2382a5['every'](_0x16d450=>_0x546b5f['containsRange'](_0x16d450,!0x0))){const _0x483211=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0xacb419,'accept');return this['forceDefaultExecution'](()=>_0x483211(_0x2382a5,null,_0x829fd)),null;}}const _0x487409=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0xacb419,'join');let _0x16d3ea=null;for(const _0xf70e2e of this['getSuggestions']())if(_0xf70e2e['author']['id']==_0x3b39ca['id']&&_0xf70e2e['isInContent']&&'deletion'==_0xf70e2e['type']&&_0xf70e2e['subType']==_0xacb419&&_0x212f02(_0xf70e2e,_0x829fd)&&(_0x487409(_0xf70e2e['getRanges'](),_0x2382a5)||_0x487409(_0x2382a5,_0xf70e2e['getRanges']()))){if(_0x16d3ea){if(_0xf70e2e['commentThread']&&_0xf70e2e['commentThread']['length'])continue;for(const _0x1b7e41 of _0xf70e2e['getRanges']())_0x16d3ea['isIntersectingWithRange'](_0x1b7e41)||_0x16d3ea['addRange'](_0x1b7e41);_0xf70e2e['removeMarkers']();}else{_0x16d3ea=_0xf70e2e;for(const _0xf7f016 of _0x2382a5)_0xf70e2e['isIntersectingWithRange'](_0xf7f016)||_0xf70e2e['addRange'](_0xf7f016);}}if(_0x16d3ea)return _0x16d3ea;_0x21c11['clear']();for(const {suggestion:_0x29e2e3,meta:_0x36403a}of this['_findSuggestions'](_0x2382a5,'deletion'))_0x36403a['isOwn']&&(this['_mergeNestedSuggestions']||!_0x36403a['containsRangeInObject']&&!_0x36403a['isInsideObject'])&&_0x212f02(_0x29e2e3,_0x829fd)&&_0x21c11['add'](_0x29e2e3);for(const _0x11eccd of _0x21c11){const _0x2a470f=_0x11eccd['getRanges']();if((!_0x829fd||!_0x829fd['skipNestingCheck'])&&_0x2382a5['every'](_0x5b6e84=>_0x2a470f['some'](_0x5155a6=>_0x5155a6['containsRange'](_0x5b6e84,!0x0))))return _0x11eccd;_0x11eccd['attributes']&&_0x11eccd['attributes']['skipNestingCheck']||_0x2a470f['every'](_0x251e8e=>_0x2382a5['some'](_0x1cc1a9=>_0x1cc1a9['containsRange'](_0x251e8e,!0x0)))&&_0x11eccd['discard']();}const _0x486306=(0x0,_0x491313['uid'])(),_0x2cb151=_0x3b39ca['id'],_0x444274='deletion:'+_0xacb419,_0x52b69f=this['_setSuggestionData']({'id':_0x486306,'type':_0x444274,'createdAt':new Date(),'authorId':_0x2cb151,'attributes':_0x829fd});for(const _0x950382 of _0x2382a5)_0x950382['detach'](),_0x950382['isCollapsed']||'$graveyard'==_0x950382['root']['rootName']||this['_addSuggestionMarker'](_0x444274,_0x486306,_0x2cb151,_0x950382,_0x23c110['getMultiRangeId']());return _0x52b69f;}markAttributeChange(_0x542a67,_0xb58517,_0x258457,_0x4dcade,_0x8b00ed){if(_0x542a67['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x3c9f8e=this['editor']['plugins']['get']('Users')['me']['id'],_0x212d9c=Array['from'](this['_suggestions']['values']())['filter'](_0xf53382=>'attribute'==_0xf53382['type']&&_0xf53382['data']['key']==_0xb58517&&_0xf53382['isIntersectingWithRange'](_0x542a67));if(this['_trackingSessionId']&&(_0x8b00ed['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x21e25f=this['_findSuggestions'](_0x542a67,'insertion')['filter'](({meta:_0x4c9cc5})=>_0x4c9cc5['isOwn']&&!_0x4c9cc5['isInsideObject']&&!_0x4c9cc5['isNextTo'])['map'](({suggestion:_0x4a78b8})=>_0x4a78b8);_0x212d9c['unshift'](..._0x21e25f);}const _0x53f4db=new Map([[_0x542a67,_0x258457]]);for(const _0x3a9494 of _0x212d9c){const _0x326b14='attribute'==_0x3a9494['type']?_0x3a9494['data']['oldValue']:void 0x0,_0x3c5d57=_0x3a9494['getFirstRange'](),_0x6aecff=Array['from'](_0x53f4db['keys']())['find'](_0x4339fe=>_0x4339fe['isIntersecting'](_0x3c5d57));if(!_0x6aecff)continue;const _0x5f3680=_0x6aecff['getDifference'](_0x3c5d57);this['_suggestionsConversion']['isBlockAttribute'](_0xb58517)&&'insertion'==_0x3a9494['type']&&0x0!=_0x5f3680['length']||(_0x53f4db['delete'](_0x6aecff),_0x5f3680['forEach'](_0x1f6b86=>{_0x53f4db['set'](_0x1f6b86,_0x258457);}),'insertion'!=_0x3a9494['type']&&_0x326b14!=_0x4dcade&&_0x53f4db['set'](_0x6aecff['getIntersection'](_0x3c5d57),_0x326b14));}const _0x48b136=[];for(const [_0x5a3b62,_0x5cab98]of _0x53f4db){const _0x2f5780=(0x0,_0x491313['uid'])(),_0x2a1ebc={'key':_0xb58517,'oldValue':_0x5cab98,'newValue':_0x4dcade};_0xb58517['length']>0x25&&console['warn']('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0xb58517});const _0x18b9e3=('attribute:'+_0xb58517+'|'+_0x3220fc({'newValue':_0x4dcade}))['substring'](0x0,0x3c),_0x421d75=this['_setSuggestionData']({'id':_0x2f5780,'type':_0x18b9e3,'data':_0x2a1ebc,'createdAt':new Date(),'authorId':_0x3c9f8e,'attributes':_0x8b00ed});_0x48b136['push'](_0x421d75),this['_addSuggestionMarker'](_0x18b9e3,_0x2f5780,_0x3c9f8e,_0x5a3b62);}return _0x48b136;}enableDefaultAttributesIntegration(_0x4646cf){this['enableCommand'](_0x4646cf,(_0x1a0dca,..._0x1188ad)=>{this['recordAttributeChanges'](()=>{_0x1a0dca(..._0x1188ad);});});}startTrackingSession(_0x1a1fbf){return this['_trackingSessionId']=void 0x0!==_0x1a1fbf?_0x1a1fbf:(0x0,_0x491313['uid'])(),this['_trackingSessionId'];}_getAttributeKey(_0x2cd3bd){return'attribute'==_0x2cd3bd['type']?_0x29a03d(_0x2cd3bd['subType']):null;}_applyOperationsAsSuggestions(_0x3a040f){if(0x0==_0x3a040f['length'])return;const _0xcfed8f=this['editor'],_0x1353c6=_0xcfed8f['plugins']['get'](_0x5b2c28),_0x44d594=[],_0xf95d75=_0x4b136a=>{const _0x3e5f95=_0x4b136a['_aiSource'];return _0x3e5f95?{'@ai':{'type':_0x3e5f95}}:{};},_0x437074=(_0x51436d,_0x42f1a0,_0x5a0931)=>{for(let _0x210e70=_0x42f1a0;_0x210e70<_0x51436d['operations']['length'];_0x210e70++){const _0x221c1f=_0x51436d['operations'][_0x210e70];'marker'===_0x221c1f['type']&&(_0x221c1f['_aiSource']=_0x5a0931);}};_0xcfed8f['model']['change'](_0x151878=>{for(let _0x2e4fe7=0x0;_0x2e4fe7<_0x3a040f['length'];_0x2e4fe7++){const _0x113fde=_0x3a040f[_0x2e4fe7],_0x28a389=_0x113fde['_aiSource'],_0x34239b=_0x151878['batch']['operations']['length'];if(_0x113fde['baseVersion']=_0xcfed8f['model']['document']['version'],_0x113fde['isDocumentOperation']=!0x0,!tl(_0x113fde)){if(_0x1353c6['isMarkedRemoveOperation'](_0x113fde)){const _0x5d124f=_0x3dbeb9(_0x113fde['newRange'],_0xcfed8f['model']);_0x44d594['unshift']({'range':_0x491313['ModelLiveRange']['fromRange'](_0x5d124f),'opAttributes':_0xf95d75(_0x113fde),'aiSource':_0x28a389});}else{switch(_0x113fde['type']){case'rename':{const _0x2fe785=_0x113fde['oldName'],_0x3b3f7a=_0x113fde['newName'];if(_0x2fe785==_0x3b3f7a)break;_0x151878['batch']['addOperation'](_0x113fde),_0xcfed8f['model']['applyOperation'](_0x113fde);const _0x42126c='$elementName',_0x5ccc43=_0x113fde['position'],_0x3bfb64=_0xcfed8f['model']['createRange'](_0x5ccc43,_0xcfed8f['model']['createPositionAt'](_0x5ccc43['nodeAfter'],'end'));this['markAttributeChange'](_0x3bfb64,_0x42126c,_0x2fe785,_0x3b3f7a,{..._0xf95d75(_0x113fde),'groupId':(0x0,_0x491313['uid'])()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x220d0a=_0x113fde['oldValue'],_0x129d6e=_0x113fde['newValue'];if(_0x220d0a==_0x129d6e)break;_0x151878['batch']['addOperation'](_0x113fde),_0xcfed8f['model']['applyOperation'](_0x113fde);const _0x26742b=_0x113fde['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x26742b))break;const _0x5d3c0e=_0x3dbeb9(_0x113fde['range'],_0xcfed8f['model']);this['markAttributeChange'](_0x5d3c0e,_0x26742b,_0x220d0a,_0x129d6e,{..._0xf95d75(_0x113fde),'groupId':(0x0,_0x491313['uid'])()});break;}case'insert':{if(_0x151878['batch']['addOperation'](_0x113fde),_0xcfed8f['model']['applyOperation'](_0x113fde),_0x3a040f[_0x2e4fe7+0x1]&&'move'==_0x3a040f[_0x2e4fe7+0x1]['type'])break;const _0x34f3c7=_0x113fde['position'],_0x28d864=_0x113fde['howMany'],_0x5693bd=_0x3dbeb9(_0xcfed8f['model']['createRange'](_0x34f3c7,_0x34f3c7['getShiftedBy'](_0x28d864)),_0xcfed8f['model']);this['markInsertion'](_0x5693bd,null,{..._0xf95d75(_0x113fde)});break;}case'split':{_0x151878['batch']['addOperation'](_0x113fde),_0xcfed8f['model']['applyOperation'](_0x113fde);const _0x3f09dc=_0x113fde['splitPosition'],_0x40a4e9=_0x113fde['moveTargetPosition'],_0x256372=_0xcfed8f['model']['createRange'](_0x3f09dc,_0x40a4e9);this['markInsertion'](_0x256372,null,{..._0xf95d75(_0x113fde)});break;}case'move':case'remove':_0x151878['batch']['addOperation'](_0x113fde),_0xcfed8f['model']['applyOperation'](_0x113fde);}_0x28a389&&_0x437074(_0x151878['batch'],_0x34239b,_0x28a389);}}}for(const {range:_0x2b8b17,opAttributes:_0x4c000e,aiSource:_0x38e879}of _0x44d594){const _0x8361b2=_0x151878['batch']['operations']['length'];_0x2b8b17['detach'](),this['markDeletion'](_0x2b8b17,null,{..._0x4c000e}),_0x38e879&&_0x437074(_0x151878['batch'],_0x8361b2,_0x38e879);}});}_setSuggestionRange(_0x2f8f9f,_0x33c4ff){const _0x36d856=_0x2f8f9f['getFirstMarker']();this['_model']['change'](_0x1db59c=>{_0x1db59c['updateMarker'](_0x36d856,{'range':_0x33c4ff});});}_addThreadToSuggestion(_0x513859){const _0x5b371b=_0x513859['id'],_0x15f1c1=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x5b371b)||this['_commentsRepository']['addCommentThread']({'channelId':_0x15f1c1,'threadId':_0x5b371b,'isResolvable':!0x1,'isSubmitted':!0x0});const _0xc27e7f=this['_commentsRepository']['getCommentThread'](_0x5b371b);_0xc27e7f['unbind']('isRemovable'),_0xc27e7f['isRemovable']=!0x1,_0x513859['commentThread']=_0xc27e7f;}_checkSuggestionCorrectness(_0x20210d,_0x238f69,_0x27404d,_0x2799a8){if(_0x20210d['type']!=_0x238f69||_0x20210d['subType']!=_0x27404d||_0x20210d['creator']['id']!=_0x2799a8)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x491313['CKEditorError']('track-changes-suggestion-data-mismatch',this);}_cutOutSuggestionMarker(_0x262dee,_0xe9dabc){const _0x294c37=_0x262dee['getFirstRange']();if(_0xe9dabc['isEqual'](_0x294c37))_0x262dee['removeMarkers']();else{if(_0x294c37['containsRange'](_0xe9dabc)){const _0x16536c=this['_model']['createPositionAt'](_0xe9dabc['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x262dee,this['_model']['createRange'](_0x294c37['start'],_0x16536c));const _0x1c5a36=(0x0,_0x491313['uid'])(),_0x271e72=_0x262dee['creator']['id'],_0x433f39=_0x262dee['type']+':'+_0x262dee['subType'];this['_setSuggestionData']({'id':_0x1c5a36,'type':_0x433f39,'createdAt':new Date(),'authorId':_0x271e72,'data':_0x262dee['data'],'attributes':_0x262dee['attributes']});const _0x20a470=this['_model']['createPositionAt'](_0xe9dabc['end']['parent'],'after'),_0x325a94=this['_model']['createRange'](_0x20a470,_0x294c37['end']);this['_addSuggestionMarker'](_0x433f39,_0x1c5a36,_0x271e72,_0x325a94);}else{if(_0x294c37['containsPosition'](_0xe9dabc['start'])){const _0x25ec55=this['_model']['createPositionAt'](_0xe9dabc['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x262dee,this['_model']['createRange'](_0x294c37['start'],_0x25ec55));}else{const _0x28c4ce=this['_model']['createPositionAt'](_0xe9dabc['end']['parent'],'after');this['_setSuggestionRange'](_0x262dee,this['_model']['createRange'](_0x28c4ce,_0x294c37['end']));}}}}_rangeIsInLocalUserInsertion(_0x2f9033){for(const {suggestion:_0x3db13f,meta:_0x599897}of this['_findSuggestions'](_0x2f9033,'insertion')){if(!_0x599897['isOwn'])continue;const _0x2cc76d=_0x3db13f['getRanges']();for(const _0x276217 of _0x2cc76d)if(!_0x2f9033['getDifference'](_0x276217)['length'])return!0x0;}return!0x1;}_getAuthorFromId(_0x24d11e){return this['editor']['plugins']['get']('Users')['getUser'](_0x24d11e);}_getExternalAuthor(_0x6b4588){const _0x425a4f=this['editor']['plugins']['get']('Users'),_0x260341=_0x3c2d11('external:'+_0x6b4588),_0x3884d7=_0x425a4f['getUser'](_0x260341);return _0x3884d7||_0x425a4f['addUser']({'id':_0x260341,'name':_0x6b4588});}_createSuggestion(_0x5da6f3,_0x24d1c5,_0x3c2500,_0x46b874,_0xcd1d18,_0x4fb9e4){const _0x4a214d=this['_getAuthorFromId'](_0x46b874);if(!_0x4a214d)throw new _0x491313['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x46b874,'suggestionId':_0x3c2500});const _0x788076=this['_suggestionFactory']['buildSuggestion'](_0x5da6f3,_0x24d1c5,_0x3c2500,_0x4a214d,_0xcd1d18,_0x2df148=>{this['_updateSuggestionData'](_0x3c2500,{'attributes':_0x2df148});const _0x7dae1a=this['getSuggestion'](_0x3c2500);this['_joinWithAdjacentSuggestions'](new Set([_0x7dae1a])),this['_refreshSuggestionsChain'](new Set([_0x7dae1a]));},_0x4fb9e4);return this['listenTo'](_0x788076,'accept',()=>{this['_updateSuggestionData'](_0x3c2500,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x788076,'discard',()=>{this['_updateSuggestionData'](_0x3c2500,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x3c2500,_0x788076),this['_suggestionState']['set'](_0x788076,'notReady'),_0x788076;}_breakSuggestionMarker(_0x476a9d,_0x1a0eed,_0x3a9065){const _0x5e58cd=_0x476a9d['getFirstRange'](),_0x19c729=_0x5e58cd['start'],_0x22e60a=_0x5e58cd['end'];this['_setSuggestionRange'](_0x476a9d,this['_model']['createRange'](_0x19c729,_0x1a0eed));const _0x56f0eb=(0x0,_0x491313['uid'])(),_0x17667f=_0x476a9d['creator']['id'],_0x450cbd=_0x476a9d['type']+(_0x476a9d['subType']?':'+_0x476a9d['subType']:'');this['_setSuggestionData']({'id':_0x56f0eb,'type':_0x450cbd,'createdAt':new Date(),'authorId':_0x17667f,'originalSuggestionId':_0x476a9d['_originalSuggestionId']||_0x476a9d['id'],'attributes':_0x476a9d['attributes'],'data':_0x476a9d['data']});const _0x4ee916=this['_getAttributeKey'](_0x476a9d);('formatBlock'==_0x476a9d['type']||_0x4ee916&&this['_suggestionsConversion']['isBlockAttribute'](_0x4ee916))&&(_0x3a9065=this['_model']['createPositionBefore'](_0x3a9065['parent'])),this['_addSuggestionMarker'](_0x450cbd,_0x56f0eb,_0x17667f,this['_model']['createRange'](_0x3a9065,_0x22e60a));}_findSuggestions(_0x46b87e,_0x526ddc=null){const _0x3cd522=[],_0x1b566f=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x46b87e)||(_0x46b87e=[_0x46b87e]);for(const _0x34b693 of this['getSuggestions']()){if(!_0x34b693['isInContent'])continue;if(_0x526ddc&&_0x34b693['type']!=_0x526ddc)continue;let _0x33a683=!0x1;for(const _0x6b3cff of _0x34b693['getRanges']()){for(const _0x4b1e0f of _0x46b87e){const _0x3aa1a8=_0x4b1e0f['start']['isEqual'](_0x6b3cff['end'])||_0x4b1e0f['end']['isEqual'](_0x6b3cff['start']);if(_0x3aa1a8||_0x4b1e0f['getIntersection'](_0x6b3cff)){const _0x2a9d7a=_0x4b1e0f['containsRange'](_0x6b3cff)&&_0x2da330(this['_model']['schema'],_0x6b3cff['start'],_0x4b1e0f),_0x30e251=_0x6b3cff['containsRange'](_0x4b1e0f)&&_0x2da330(this['_model']['schema'],_0x4b1e0f['start'],_0x6b3cff);_0x3cd522['push']({'suggestion':_0x34b693,'meta':{'isOwn':_0x1b566f==_0x34b693['author'],'isNextTo':_0x3aa1a8,'isInsideObject':_0x2a9d7a,'containsRangeInObject':_0x30e251}}),_0x33a683=!0x0;break;}}if(_0x33a683)break;}}return _0x3cd522;}_addSuggestionMarker(_0x458b2d,_0x29a2cc,_0x33be88,_0x4fe5ad,_0x4ac89d){this['_model']['change'](_0x5f0771=>{let _0x45a144='suggestion:'+_0x458b2d+':'+_0x29a2cc+':'+_0x33be88;_0x4ac89d&&(_0x45a144=_0x45a144+':'+_0x4ac89d),_0x5f0771['addMarker'](_0x45a144,{'range':_0x4fe5ad,'usingOperation':!0x0,'affectsData':!0x0});});}_removeSuggestion(_0x3331a2){const _0x3468c2=_0x3331a2['previous'],_0x198cb6=_0x3331a2['next'];_0x3331a2['previous']=null,_0x3331a2['next']=null,null!=_0x3468c2&&_0x3468c2['next']==_0x3331a2&&(_0x3468c2['next']=_0x198cb6),null!=_0x198cb6&&_0x198cb6['previous']==_0x3331a2&&(_0x198cb6['previous']=_0x3468c2),'ready'==this['_suggestionState']['get'](_0x3331a2)&&(this['_suggestionState']['set'](_0x3331a2,'removed'),this['fire']('suggestionUnloaded',_0x3331a2,_0x3468c2,_0x198cb6));}_setSuggestionData(_0x3245ab){const _0x459189=_0x3245ab['id'],_0x11d38b=this['addSuggestionData'](_0x3245ab);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x44c20f=this['editor']['plugins']['get']('PendingActions'),_0x545c9f=_0x11d38b['hasComments'],_0xc11e13=_0x11d38b['subType']?_0x11d38b['type']+':'+_0x11d38b['subType']:_0x11d38b['type'],_0x3072f5=this['editor']['locale'],_0x4e55fb=_0x44c20f['add'](_0x2570ab(_0x3072f5,'PENDING_ACTION_SUGGESTION')),_0x350597={'id':_0x459189,'type':_0xc11e13,'hasComments':_0x545c9f,'data':_0x3245ab['data']||null,'originalSuggestionId':_0x3245ab['originalSuggestionId']||null,'attributes':_0x11d38b['attributes']};this['_adapter']['addSuggestion'](_0x350597)['then'](_0x28cfd8=>{_0x11d38b['_saved']=!0x0,_0x44c20f['remove'](_0x4e55fb),_0x28cfd8&&_0x28cfd8['createdAt']&&(this['_suggestions']['get'](_0x459189)['createdAt']=_0x28cfd8['createdAt']);})['catch'](_0x4e742c=>{throw(0x0,_0x491313['logWarning'])('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x11d38b['discard']();}),_0x11d38b['stopListening'](),this['_suggestions']['delete'](_0x11d38b['id']),this['_suggestionState']['delete'](_0x11d38b),_0x4e742c;});}return _0x11d38b;}_updateSuggestionData(_0x3f36b1,_0x1d80db){const _0x5d28d1=this['editor']['plugins']['get']('PendingActions'),_0x281002=this['getSuggestion'](_0x3f36b1);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x281002['_saved']){const _0x395aa1=_0x5d28d1['add'](_0x2570ab(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x3f36b1,_0x1d80db)['then'](()=>{_0x5d28d1['remove'](_0x395aa1);});}else _0x281002['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x3f36b1,_0x1d80db);});}}_getSuggestionData(_0x5ab9ac){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x491313['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x5ab9ac);}_handleNewSuggestionMarker(_0xcd3926){const {id:_0x581bc2,type:_0x1393e5,subType:_0x328380,authorId:_0x4bcf98}=_0x41e4c4(_0xcd3926),_0x1f541b=this['_suggestions']['get'](_0x581bc2)||this['_createSuggestion'](_0x1393e5,_0x328380,_0x581bc2,_0x4bcf98,{});switch(this['_checkSuggestionCorrectness'](_0x1f541b,_0x1393e5,_0x328380,_0x4bcf98),this['_suggestionState']['get'](_0x1f541b)){case'notReady':this['_getSuggestionData'](_0x581bc2)['then'](_0x315282=>{let _0x38b37f=Promise['resolve']();_0x315282['hasComments']&&(_0x38b37f=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x581bc2})),_0x38b37f['then'](()=>{this['addSuggestionData'](_0x315282)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x1f541b,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x581bc2,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x1f541b,'ready'),this['fire']('suggestionLoaded',_0x1f541b);break;case'ready':this['fire']('suggestionChanged',_0x1f541b);}return _0x1f541b['addMarkerName'](_0xcd3926),_0x1f541b;}_refreshSuggestionsChain(_0x3d3a53){const _0x547dd2=Array['from'](_0x3d3a53),_0x47e8cb=_0x547dd2['filter'](_0x52edb7=>'attribute'==_0x52edb7['type']);this['_refreshAttributeSuggestionsChain'](_0x47e8cb);const _0x4ccab9=_0x547dd2['filter'](_0xce0dc2=>!_0xce0dc2['isMultiRange']&&'attribute'!=_0xce0dc2['type']),_0x399561=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2bd77c=>!_0x2bd77c['isMultiRange']&&'attribute'!=_0x2bd77c['type']),_0x2797be=_0x399561['filter'](_0x2dd420=>!_0x3d3a53['has'](_0x2dd420)),_0x4894a0=new Map(_0x399561['map'](_0x110b36=>[_0x110b36,this['_suggestionFactory']['getSuggestionCallback'](_0x110b36['type'],_0x110b36['subType'],'chain')])),_0x19c580=new Map(_0x399561['map'](_0x1f5bed=>[_0x1f5bed,_0x1f5bed['getFirstRange']()])),_0x4f63d2=new Set(),_0x17be94=new Set();for(let _0x383580=0x0;_0x383580<_0x4ccab9['length'];_0x383580++)_0x3c8dd1(_0x4ccab9[_0x383580],_0x4ccab9,_0x383580+0x1);for(let _0x65d4f8=0x0;_0x65d4f8<_0x4ccab9['length'];_0x65d4f8++)_0x3c8dd1(_0x4ccab9[_0x65d4f8],_0x2797be,0x0);const _0x1898fc=new Set();for(let _0x263992=0x0;_0x263992<_0x4ccab9['length'];_0x263992++){const _0x20f27d=_0x4ccab9[_0x263992];!_0x17be94['has'](_0x20f27d)&&_0x20f27d['previous']&&(_0x1898fc['add'](_0x20f27d['previous']),_0x20f27d['previous']['next']===_0x20f27d&&(_0x20f27d['previous']['next']=null),_0x20f27d['previous']=null),!_0x4f63d2['has'](_0x20f27d)&&_0x20f27d['next']&&(_0x1898fc['add'](_0x20f27d['next']),_0x20f27d['next']['previous']===_0x20f27d&&(_0x20f27d['next']['previous']=null),_0x20f27d['next']=null);}function _0x3c8dd1(_0x1cd261,_0x53c5f9,_0x510616){for(let _0x500fd8=_0x510616;_0x500fd8<_0x53c5f9['length'];_0x500fd8++){const _0xc95ffc=_0x489656(_0x1cd261,_0x53c5f9[_0x500fd8]);_0xc95ffc&&(_0xc95ffc[0x0]['next']=_0xc95ffc[0x1],_0xc95ffc[0x1]['previous']=_0xc95ffc[0x0],_0x4f63d2['add'](_0xc95ffc[0x0]),_0x17be94['add'](_0xc95ffc[0x1]));}}function _0x489656(_0x5b943a,_0x8dc29f){if(_0x5b943a['author']['id']!==_0x8dc29f['author']['id'])return null;const _0x364e06=_0x4894a0['get'](_0x5b943a)(_0x5b943a,_0x8dc29f,_0x19c580['get'](_0x5b943a),_0x19c580['get'](_0x8dc29f));return _0x364e06&&_0x4894a0['get'](_0x8dc29f)(_0x5b943a,_0x8dc29f,_0x19c580['get'](_0x5b943a),_0x19c580['get'](_0x8dc29f))?_0x364e06[0x1]['commentThread']&&_0x364e06[0x1]['commentThread']['length']?null:_0x364e06:null;}_0x1898fc['size']&&this['_refreshSuggestionsChain'](_0x1898fc);}_refreshAttributeSuggestionsChain(_0x303dd6){if(0x0==_0x303dd6['length'])return;const _0x49cc3a=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x36ecc5=>'attribute'==_0x36ecc5['type']&&_0x36ecc5['_isDataLoaded']),_0x73b7b7=[],_0x4f8d7a=new Map();for(const _0x1d6471 of _0x49cc3a){const _0x597266=_0x3c2d11(_0x1d6471['attributes']);_0x4f8d7a['has'](_0x597266)||(_0x4f8d7a['set'](_0x597266,_0x73b7b7['length']),_0x73b7b7['push']([])),_0x73b7b7[_0x4f8d7a['get'](_0x597266)]['push'](_0x1d6471);}!(function(){_0x73b7b7['sort']((_0x5e1356,_0x3a8be6)=>{const _0x38f8c0=_0x5e1356[0x0]['createdAt'],_0x2c558c=_0x3a8be6[0x0]['createdAt'];return _0x38f8c0==_0x2c558c?_0x5e1356[0x0]['attributes']['groupId']<_0x3a8be6[0x0]['attributes']['groupId']?-0x1:0x1:_0x38f8c0<_0x2c558c?-0x1:0x1;});for(const _0x2eb5da of _0x73b7b7)_0x2eb5da['sort']((_0x45b273,_0x3adf09)=>_0x45b273['id']<_0x3adf09['id']?-0x1:0x1);}());for(let _0xe3c205=0x0;_0xe3c205<_0x73b7b7['length'];_0xe3c205++){if(0x0==_0x73b7b7[_0xe3c205]['length'])continue;const _0x37f7dc=[];for(let _0x1d079a=_0xe3c205+0x1;_0x1d079a<_0x73b7b7['length'];_0x1d079a++)0x0!=_0x73b7b7[_0x1d079a]['length']&&_0x131eef(_0x73b7b7[_0xe3c205],_0x73b7b7[_0x1d079a])&&_0x37f7dc['push'](_0x1d079a);for(const _0x130f13 of _0x37f7dc)_0x73b7b7[_0xe3c205]=_0x73b7b7[_0xe3c205]['concat'](_0x73b7b7[_0x130f13]),_0x73b7b7[_0x130f13]=[];}for(const _0x82805 of _0x73b7b7)for(let _0x391df6=0x0;_0x391df6<_0x82805['length'];_0x391df6++){const _0x8cf9ec=_0x82805[_0x391df6+0x1]||null;_0x82805[_0x391df6]['next']!==_0x8cf9ec&&(_0x82805[_0x391df6]['next']=_0x8cf9ec);}for(const _0x27505c of _0x73b7b7)for(let _0x49cd18=0x0;_0x49cd18<_0x27505c['length'];_0x49cd18++){const _0x4be873=_0x27505c[_0x49cd18-0x1]||null;_0x27505c[_0x49cd18]['previous']!==_0x4be873&&(_0x27505c[_0x49cd18]['previous']=_0x4be873);}function _0x131eef(_0x5a08fa,_0x141f9f){return(_0x5a08fa[0x0]['attributes']['groupId']===_0x141f9f[0x0]['attributes']['groupId']||_0x5a08fa[0x0]['author']===_0x141f9f[0x0]['author'])&&(!!function(_0x141990,_0x29d4f4){return!_0x141990['hasComments']&&!_0x29d4f4['hasComments']||(!_0x141990['hasComments']||!_0x29d4f4['hasComments'])&&(!!(_0x141990['hasComments']&&_0x29d4f4['createdAt']<_0x141990['commentThread']['comments']['get'](0x0)['createdAt'])||!!(_0x29d4f4['hasComments']&&_0x141990['createdAt']<_0x29d4f4['commentThread']['comments']['get'](0x0)['createdAt']));}(_0x5a08fa[0x0],_0x141f9f[0x0])&&(!!ft(Lt(_0x5a08fa[0x0]['attributes'],['groupId','trackingSessionId']),Lt(_0x141f9f[0x0]['attributes'],['groupId','trackingSessionId']))&&(_0x5a08fa[0x0]['attributes']['groupId']==_0x141f9f[0x0]['attributes']['groupId']||_0x5a08fa[0x0]['attributes']['trackingSessionId']===_0x141f9f[0x0]['attributes']['trackingSessionId']&&(!!_0x5a08fa['every'](_0x9495cb=>_0x141f9f['some'](_0x3c0d25=>_0x9495cb['getFirstRange']()['isEqual'](_0x3c0d25['getFirstRange']())))&&_0x141f9f['every'](_0x59efce=>_0x5a08fa['some'](_0x561274=>_0x59efce['getFirstRange']()['isEqual'](_0x561274['getFirstRange']())))))));}}_joinWithAdjacentSuggestions(_0x4d738e){const _0x3bc67e=Array['from'](_0x4d738e),_0x35981a=this['getSuggestions']({'skipNotAttached':!0x0}),_0x218c69=_0x35981a['filter'](_0x1d18e9=>!_0x4d738e['has'](_0x1d18e9)),_0x48c5c6=new Map(_0x3bc67e['map'](_0x10891d=>[_0x10891d,this['_suggestionFactory']['getSuggestionCallback'](_0x10891d['type'],_0x10891d['subType'],'join')])),_0x255bf4=new Map(_0x35981a['map'](_0x255e6e=>[_0x255e6e,_0x255e6e['getRanges']()]));for(let _0x5445d4=0x0;_0x5445d4<_0x3bc67e['length'];_0x5445d4++)if(_0x4a2238(this,_0x3bc67e[_0x5445d4],_0x3bc67e,_0x5445d4+0x1))return!0x0;for(let _0x4e76ba=0x0;_0x4e76ba<_0x3bc67e['length'];_0x4e76ba++)if(_0x4a2238(this,_0x3bc67e[_0x4e76ba],_0x218c69,0x0))return!0x0;return!0x1;function _0x4a2238(_0x556a10,_0x2d8d39,_0xd06ea1,_0x11dd06){for(let _0x5afe9d=_0x11dd06;_0x5afe9d<_0xd06ea1['length'];_0x5afe9d++){const _0x39c71b=_0xd06ea1[_0x5afe9d];if(_0x39c71b['type']!==_0x2d8d39['type']||_0x39c71b['author']['id']!==_0x2d8d39['author']['id']||_0x39c71b['subType']!==_0x2d8d39['subType'])continue;if(!_0x524525(_0x2d8d39,_0x39c71b))continue;if('attribute'==_0x2d8d39['type']&&_0x2d8d39['data']['oldValue']!=_0x39c71b['data']['oldValue'])continue;if('attribute'==_0x2d8d39['type']&&_0x556a10['_suggestionsConversion']['isBlockAttribute'](_0x2d8d39['data']['key']))continue;if('formatBlock'==_0x2d8d39['type']){const _0x4474c8=_0x556a10['editor']['model'],_0x5a87c6=_0x2d8d39['getContainedElement']();if(_0x5a87c6&&(_0x4474c8['schema']['isObject'](_0x5a87c6)||_0x4474c8['schema']['isLimit'](_0x5a87c6)))continue;}const _0x4d0e67=_0x48c5c6['get'](_0x2d8d39),_0x488821=_0x255bf4['get'](_0x2d8d39),_0x42fe44=_0x255bf4['get'](_0x39c71b),_0x58e6ee=_0x2d8d39['commentThread']&&_0x2d8d39['commentThread']['length'],_0x474def=_0x39c71b['commentThread']&&_0x39c71b['commentThread']['length'];if(!_0x58e6ee&&_0x4d0e67(_0x42fe44,_0x488821))return _0x556a10['_joinSuggestions'](_0x39c71b,_0x2d8d39),_0x255bf4['delete'](_0x2d8d39),!0x0;if(!_0x474def&&_0x4d0e67(_0x488821,_0x42fe44))return _0x556a10['_joinSuggestions'](_0x2d8d39,_0x39c71b),_0x255bf4['delete'](_0x39c71b),!0x0;}return!0x1;}}_joinSuggestions(_0x4aec05,_0x3f3576){if(_0x4aec05['isMultiRange']){for(const _0x1ba8ac of _0x3f3576['getRanges']())_0x4aec05['addRange'](_0x1ba8ac);}else{const _0x416e89=_0x3f3576['getFirstRange']()['end'];this['_setSuggestionRange'](_0x4aec05,this['_model']['createRange'](_0x4aec05['getFirstRange']()['start'],_0x416e89));}_0x3f3576['removeMarkers']();}_getMarkerAnnouncementText(_0xb3f45d,_0x434acb,_0x1ac7f3){const _0x1b3947=_0xb3f45d['startsWith']('format')||_0xb3f45d['startsWith']('attribute')?'FORMATTING':_0xb3f45d['toUpperCase']();return _0x2570ab(this['editor']['locale'],_0x434acb+'_'+_0x1b3947+'_SUGGESTION_ANNOUNCEMENT',_0x1ac7f3);}_initAriaMarkerChangeAnnouncements(){const _0x46df8a=this['editor'];if(!_0x46df8a['ui'])return;const {ariaLiveAnnouncer:_0x14f49c}=_0x46df8a['ui'];_0x33d0b8(this['_model'],({left:_0x5d2185,entered:_0x3c41f4})=>{for(const _0x1cefe3 of _0x5d2185){const {group:_0x5cb059,type:_0x5fd8ef}=_0x41e4c4(_0x1cefe3['name']);if('suggestion'===_0x5cb059){_0x14f49c['announce'](this['_getMarkerAnnouncementText'](_0x5fd8ef,'LEAVE'));break;}}for(const _0x384304 of _0x3c41f4){const {group:_0xb4f7f2,type:_0x110efa}=_0x41e4c4(_0x384304['name']);if('suggestion'===_0xb4f7f2){_0x14f49c['announce'](this['_getMarkerAnnouncementText'](_0x110efa,'ENTER',(0x0,_0x491313['getEnvKeystrokeText'])(_0x3866bd)));break;}}});}_processAttributeChanges(_0x2ce943){if(this['_recordAttributeSuggestions'])return!0x1;const _0x292b05=this['editor'],_0x52d8bd=_0x292b05['model']['document']['differ']['getChanges']();if(0x0==_0x52d8bd['length'])return!0x1;const _0x1f1135=[],_0x12197c=_0x52d8bd['filter'](_0x4eb77f=>'attribute'==_0x4eb77f['type']),_0x490bc7=_0x52d8bd['filter'](_0x523f88=>'insert'==_0x523f88['type']&&'$text'!=_0x523f88['name']),_0x75d67f=_0x52d8bd['filter'](_0x356a6f=>'remove'==_0x356a6f['type']&&'$text'!=_0x356a6f['name']);for(const _0xadc21 of _0x12197c)_0x1f1135['push']({'key':_0xadc21['attributeKey'],'newValue':_0xadc21['attributeNewValue'],'oldValue':_0xadc21['attributeOldValue'],'range':_0xf80ed1(_0xadc21['range'],_0x292b05['model'])});for(const _0x1c5316 of _0x490bc7){const _0x169533=_0x75d67f['find'](_0x482e4b=>_0x482e4b['position']['isEqual'](_0x1c5316['position']));_0x169533&&_0x1f1135['push']({'key':_0x1a788a,'newValue':_0x1c5316['name'],'oldValue':_0x169533['name'],'range':_0x292b05['model']['createRangeOn'](_0x1c5316['position']['nodeAfter'])});}return 0x0!=_0x1f1135['length']&&this['_reduceExistingSuggestions'](_0x2ce943,_0x1f1135);}_processAttributeSuggestions(_0x9bd991){let _0x48be35=!0x1;const _0xfdf685=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x3633e0=>_0x3633e0['data']['newRange']&&_0x3633e0['name']['startsWith']('suggestion:attribute:'));for(const _0x15955d of _0xfdf685){const {subType:_0x3bf637,id:_0x5626b7}=_0x41e4c4(_0x15955d['name']),_0xf2ec4f=_0x3bf637['split']('|')[0x0];for(const _0x5a61bd of this['getSuggestions']({'skipNotAttached':!0x0}))_0x5a61bd['id']!=_0x5626b7&&'attribute'==_0x5a61bd['type']&&_0x5a61bd['data']&&_0x5a61bd['data']['key']==_0xf2ec4f&&_0x5a61bd['getFirstRange']()['isIntersecting'](_0x15955d['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x5a61bd,_0x15955d['data']['newRange'],_0x9bd991),_0x48be35=!0x0);}return _0x48be35;}recordAttributeChanges(_0x4027ce){this['_recordAttributeSuggestions']=!0x0,_0x4027ce();}_reduceExistingSuggestions(_0x240d8e,_0x144b21){if(0x0==_0x144b21['length'])return!0x1;let _0x3cf462=!0x1;for(const _0x802602 of _0x144b21){const _0x316ff8=this['_findSuggestions'](_0x802602['range'],'attribute')['filter'](_0x1f4daf=>!_0x1f4daf['meta']['isNextTo'])['map'](_0x5ea058=>_0x5ea058['suggestion']),_0x1182f5=_0x3c2d11({'newValue':_0x802602['newValue']});_0x316ff8['filter'](_0x317ccd=>{const [_0x86e2ec,_0x39b2b3]=_0x317ccd['subType']['split']('|');return _0x86e2ec==_0x802602['key']&&_0x39b2b3!=_0x1182f5;})['forEach'](_0x4ec228=>{this['_reduceSuggestionAttributeRange'](_0x4ec228,_0x802602['range'],_0x240d8e),_0x3cf462=!0x0;});}return _0x3cf462;}_reduceSuggestionAttributeRange(_0x3be5e6,_0x5ded40,_0xfe3a72){const _0x214f3f=_0x3be5e6['getFirstRange']()['getDifference'](_0x5ded40);0x0!==_0x214f3f['length']?0x1!==_0x214f3f['length']?this['_breakSuggestionMarker'](_0x3be5e6,_0x5ded40['start'],_0x5ded40['end']):this['_setSuggestionRange'](_0x3be5e6,_0x214f3f[0x0]):_0xfe3a72['removeMarker'](_0x3be5e6['getFirstMarker']());}},_0x205bd3=class{_editor;['_model'];_customCallbacks;_defaultCallbacks;constructor(_0x309458){this['_editor']=_0x309458,this['_model']=_0x309458['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}buildSuggestion(_0x4f18ad,_0x20f364,_0x64718d,_0xf6864e,_0x12205c,_0xdb23d1,_0x3f4d5b){return new _0x23c110(this['_model'],{'type':_0x4f18ad,'subType':_0x20f364,'id':_0x64718d,'originalSuggestionId':_0x3f4d5b,'author':_0xf6864e,'creator':_0xf6864e,'attributes':_0x12205c,'onAttributesChange':_0xdb23d1,'onAccept':(..._0x80d881)=>this['getSuggestionCallback'](_0x4f18ad,_0x20f364,'accept')(..._0x80d881),'onDiscard':(..._0x231cc7)=>this['getSuggestionCallback'](_0x4f18ad,_0x20f364,'discard')(..._0x231cc7)});}registerCustomCallback(_0x1d8a2f,_0x517286,_0x49a4b8,_0x553130){const _0x35ddce=_0x1d8a2f+':'+_0x517286+':'+_0x49a4b8;this['_customCallbacks']['set'](_0x35ddce,_0x553130);}getSuggestionCallback(_0xe94693,_0x3b461c,_0x2127ae){const _0x5eca62=_0xe94693+':'+_0x3b461c+':'+_0x2127ae;return this['_customCallbacks']['get'](_0x5eca62)||this['_defaultCallbacks']['get'](_0xe94693+':'+_0x2127ae);}_registerDefaultCallbacks(){const _0x420642=()=>!0x1,_0x2afc9d=_0x5c64ea=>{_0x5c64ea['sort']((_0x40d2aa,_0x79983d)=>_0x40d2aa['start']['isBefore'](_0x79983d['start'])?0x1:-0x1),this['_model']['change'](_0x52507c=>{for(const _0x7c102e of _0x5c64ea){let _0x16a415;_0x16a415=_0x7c102e['end']['isAtEnd']&&_0x7c102e['end']['parent']==_0x7c102e['start']['nodeAfter']?_0x52507c['createSelection'](_0x7c102e['start']['nodeAfter'],'on'):_0x52507c['createSelection'](_0x7c102e),this['_model']['deleteContent'](_0x16a415,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x3de93f=(_0x9d9055,_0x2a3789)=>{_0x2a3789&&this['_model']['change'](_0x1cb0e6=>{const {commandName:_0x101a89,commandParams:_0x420ed6=[]}=_0x2a3789,_0x15c627=_0x9d9055['map'](_0x426b8b=>(_0x481074(_0x426b8b)&&(_0x426b8b=this['_model']['createRange'](_0x426b8b['end'])),_0x426b8b))['filter'](_0xd20dc8=>'$graveyard'!==_0xd20dc8['root']['rootName']);if(_0x15c627['length']<0x1)return;const _0x209b70=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x1f7fd7=>_0x491313['ModelLiveRange']['fromRange'](_0x1f7fd7));_0x1cb0e6['setSelection'](_0x15c627);for(const _0x5d3e8a of this['_editor']['commands']['commands']())_0x5d3e8a['refresh']();_0x420ed6['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x101a89,..._0x420ed6);const _0x215439=_0x209b70['filter'](_0x3f5973=>'$graveyard'!=_0x3f5973['root']['rootName']);_0x215439['length']>0x0&&_0x1cb0e6['setSelection'](_0x215439);for(const _0x4424d7 of _0x209b70)_0x4424d7['detach']();});},_0x1edbc7=(_0x32a390,_0xe9377a)=>0x1==_0x32a390['length']&&0x1==_0xe9377a['length']&&_0x32a390[0x0]['end']['isEqual'](_0xe9377a[0x0]['start']),_0x3c144e=(_0x2b8b4b,_0x2a2d8c,_0x4d41f0,_0xbe6f22)=>_0x212d9e(_0x2b8b4b,_0x2a2d8c,_0x4d41f0,_0xbe6f22)?[_0x2b8b4b,_0x2a2d8c]:_0x212d9e(_0x2a2d8c,_0x2b8b4b,_0xbe6f22,_0x4d41f0)?[_0x2a2d8c,_0x2b8b4b]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x420642),this['_defaultCallbacks']['set']('insertion:discard',_0x2afc9d),this['_defaultCallbacks']['set']('insertion:join',_0x1edbc7),this['_defaultCallbacks']['set']('insertion:chain',_0x3c144e),this['_defaultCallbacks']['set']('deletion:accept',_0x2afc9d),this['_defaultCallbacks']['set']('deletion:discard',_0x420642),this['_defaultCallbacks']['set']('deletion:join',_0x1edbc7),this['_defaultCallbacks']['set']('deletion:chain',_0x3c144e),this['_defaultCallbacks']['set']('formatInline:accept',_0x3de93f),this['_defaultCallbacks']['set']('formatInline:discard',_0x420642),this['_defaultCallbacks']['set']('formatInline:join',_0x1edbc7),this['_defaultCallbacks']['set']('formatInline:chain',_0x420642),this['_defaultCallbacks']['set']('formatBlock:accept',_0x3de93f),this['_defaultCallbacks']['set']('formatBlock:discard',_0x420642),this['_defaultCallbacks']['set']('formatBlock:join',_0x1edbc7),this['_defaultCallbacks']['set']('formatBlock:chain',_0x420642),this['_defaultCallbacks']['set']('attribute:accept',_0x420642),this['_defaultCallbacks']['set']('attribute:discard',(_0x374288,_0x59c4b8)=>{if(!_0x59c4b8)return;const _0x25173f=this['_editor']['plugins']['get'](_0x5f577d);this['_model']['change'](_0xed2f88=>{if('$elementName'==_0x59c4b8['key'])for(const _0x2cc24c of _0x374288){const _0x57393a=_0x2cc24c['start']['nodeAfter'],_0x2729d0=_0x59c4b8['oldValue'];_0xed2f88['rename'](_0x57393a,_0x2729d0);}else{if(_0x25173f['isBlockAttribute'](_0x59c4b8['key'])){for(const _0x55d43c of _0x374288)void 0x0!==_0x59c4b8['oldValue']?_0xed2f88['setAttribute'](_0x59c4b8['key'],_0x59c4b8['oldValue'],_0x55d43c['start']['nodeAfter']):_0xed2f88['removeAttribute'](_0x59c4b8['key'],_0x55d43c['start']['nodeAfter']);}else{for(const _0x32fa1d of _0x374288)_0x59c4b8['oldValue']?_0xed2f88['setAttribute'](_0x59c4b8['key'],_0x59c4b8['oldValue'],_0x32fa1d):_0xed2f88['removeAttribute'](_0x59c4b8['key'],_0x32fa1d);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x1edbc7);}};function _0x2da330(_0x2fbff4,_0x861311,_0x3d8dcd){for(const _0x494a34 of _0x861311['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x494a34['root']==_0x494a34)return!0x1;if(!_0x3d8dcd['containsItem'](_0x494a34))return!0x1;if(_0x2fbff4['isObject'](_0x494a34)||_0x2fbff4['isLimit'](_0x494a34))return!0x0;}return!0x1;}function _0x481074(_0x110645){return _0x110645['end']['parent']==_0x110645['start']['nodeAfter']&&_0x110645['end']['isAtStart'];}function _0x7e4ef5(_0x323fc1,_0x33c39f,_0x54defe,_0x37da16){const _0x574e14=_0x4d3095=>!_0x4d3095['item']['is']('$textProxy')&&!_0x37da16['isObject'](_0x4d3095['item']),_0x41857f=_0x323fc1['start']['getLastMatchingPosition'](_0x574e14),_0x3139c4=_0x323fc1['end']['getLastMatchingPosition'](_0x574e14,{'direction':'backward'});return(!_0x323fc1['start']['isEqual'](_0x41857f)||!_0x323fc1['end']['isEqual'](_0x3139c4))&&(_0x41857f['isBefore'](_0x3139c4)?_0x54defe['updateMarker'](_0x33c39f,{'range':_0x54defe['createRange'](_0x41857f,_0x3139c4)}):_0x54defe['removeMarker'](_0x33c39f),!0x0);}function _0x3220fc(_0x5ed05f){return _0x3c2d11(_0x5ed05f);}function _0x501511(_0x5387e2){const _0xaf903d=_0x5387e2['start']['nodeAfter'];return _0xaf903d&&_0xaf903d['is']('element');}function _0x5e0f5d(_0x5522a8){return _0x481074(_0x5522a8)||function(_0x51da9d){return _0x51da9d['start']['parent']==_0x51da9d['end']['nodeBefore']&&_0x51da9d['start']['isAtEnd'];}(_0x5522a8);}function _0x36f765(_0x3fcd5e,_0x127997){try{const _0x219ad8=_0x3fcd5e['getRange']();for(const _0x1d5d4d of _0x127997)if(_0x3fcd5e!==_0x1d5d4d&&_0x219ad8&&_0x219ad8['isIntersecting'](_0x1d5d4d['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function _0xf80ed1(_0x4c7306,_0x1a4c17){return null==_0x4c7306['end']['nodeBefore']&&_0x4c7306['end']['parent']==_0x4c7306['start']['nodeAfter']?_0x422bde(_0x4c7306['start']['nodeAfter'],_0x1a4c17):_0x4c7306;}function _0x422bde(_0x474775,_0x27ae71){const _0x104d94=_0x27ae71['schema']['isObject'](_0x474775)||_0x27ae71['schema']['isSelectable'](_0x474775);return _0x27ae71['createRange'](_0x27ae71['createPositionAt'](_0x474775,'before'),_0x104d94?_0x27ae71['createPositionAfter'](_0x474775):_0x27ae71['createPositionAt'](_0x474775,'end'));}function _0x212d9e(_0x3b8a68,_0x44ed32,_0x59981f,_0x4d891c){return!!_0x524525(_0x3b8a68,_0x44ed32)&&_0x59981f['end']['isEqual'](_0x4d891c['start']);}function _0x524525(_0x2e4b2f,_0x4309f1){if(!_0x2e4b2f['_isDataLoaded']||!_0x4309f1['_isDataLoaded'])return!0x1;const _0x5d357e=new Set(Object['keys'](_0x2e4b2f['attributes'])),_0x9db381=new Set(Object['keys'](_0x4309f1['attributes']));if(_0x5d357e['delete']('groupId'),_0x9db381['delete']('groupId'),0x0==_0x5d357e['size']&&0x0==_0x9db381['size'])return!0x0;if(_0x5d357e['size']!=_0x9db381['size'])return!0x1;const _0x150b64={..._0x2e4b2f['attributes']},_0x33b9ec={..._0x4309f1['attributes']};return delete _0x150b64['groupId'],delete _0x33b9ec['groupId'],JSON['stringify'](_0x150b64)==JSON['stringify'](_0x33b9ec);}function _0x212f02(_0x416bc3,_0x507ced){const _0x43daee=_0x452615(_0x416bc3['attributes']),_0x2a1d6a=_0x452615(_0x507ced);if(!_0x416bc3['_isDataLoaded'])return!0x1;if(!ft(_0x43daee['@ai'],_0x2a1d6a['@ai']))return!0x1;for(const _0x4364ac of Object['keys'](_0x2a1d6a))if(!ft(_0x43daee[_0x4364ac],_0x2a1d6a[_0x4364ac]))return!0x1;return!0x0;}function _0x452615(_0x4ea3bf){const _0x2a35a8=Object['assign']({},_0x4ea3bf);return delete _0x2a35a8['skipNestingCheck'],delete _0x2a35a8['tablePasteChainId'],_0x2a35a8;}function _0x29a03d(_0xcd8733){return _0xcd8733['split']('|')[0x0];}const _0x2a50d2=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x2eb578=class extends _0x2a50d2{['model'];['view'];commentThreadController;_editor;_acceptCommand;['_discardCommand'];_pendingAction;constructor(_0x2d277,_0x332f6b,_0x3b4d3d,_0x1e3764){super(),this['model']=_0x332f6b,this['view']=_0x3b4d3d,this['commentThreadController']=_0x1e3764,this['_editor']=_0x2d277,this['_acceptCommand']=_0x2d277['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x2d277['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x5889e5,_0x2b9211)=>_0x5889e5||_0x2b9211),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x4e77cf=>_0x4e77cf&&this['_editor']['model']['canEditAt'](_0x332f6b['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x5a426c=>_0x5a426c&&this['_editor']['model']['canEditAt'](_0x332f6b['getRanges']())),this['_pendingAction']=null,_0x3b4d3d['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x3b4d3d,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x3b4d3d,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x3b4d3d,'change:isDirty',()=>{_0x3b4d3d['isDirty']?this['_setPendingAction']():this['_removePendingAction']();});}acceptSuggestion(){this['_acceptCommand']['execute'](this['model']['id']);}discardSuggestion(){this['_discardCommand']['execute'](this['model']['id']);}destroy(){this['view']['unbind']('isEnabled'),this['view']['unbind']('canAccept'),this['view']['unbind']('canDiscard'),this['stopListening'](),this['commentThreadController']['destroy'](),this['_pendingAction']&&this['_removePendingAction']();}_setPendingAction(){const _0x59d69d=_0x2570ab(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x59d69d);}_removePendingAction(){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}},_0x1483ed=class extends _0x491313['View']{commentsListView;commentThreadInputView;ariaDescriptionView;['focusables'];['focusTracker'];keystrokes;['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x403f90,_0x608544,_0x4c433a,_0x3c3d0d){super(_0x403f90),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new _0xd61a0c(_0x403f90,_0x2570ab(_0x403f90,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x608544['authoredAt']),this['bind']('authoredAt')['to'](_0x608544),this['set']('descriptionParts',[]),this['set']('isDirty',!0x1),this['set']('isEnabled',!0x1),this['set']('canAccept',!0x1),this['set']('canDiscard',!0x1),this['bind']('ariaLabel')['to'](this,'length',_0x608544,'authoredAt',this,'descriptionParts',(_0x38cc1c,_0x545363,_0x26f167)=>{const _0xfc9c05=_0x26f167['map'](_0x4d604e=>_0x1898af(_0x4d604e['content']))['join']('.\x20')+'.',_0x44b81f=_0x608544['aiSource']&&'author'===_0x3c3d0d['showAISource']?_0x3c3d0d['aiAuthor']['name']:_0x608544['author']['name'],_0x1c8f3f=_0x2570ab(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x38cc1c-0x1,_0x44b81f,_0x545363?_0x3c3d0d['formatDateTime'](_0x545363):'',new DOMParser()['parseFromString'](_0xfc9c05,'text/html')['body']['textContent']]);return _0x608544['aiSource']&&'pill'===_0x3c3d0d['showAISource']?_0x1c8f3f+'\x20'+_0x2570ab(this['locale'],'AI_SOURCE_PILL_TOOLTIP'):_0x1c8f3f;}),this['focusables']=new _0x491313['ViewCollection'](),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x4db4ec=>_0x4db4ec['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x608544,this['_localUser']=_0x4c433a,this['_config']=_0x3c3d0d,_0x3c3d0d['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),_0x3fd63c(this,this['focusables']);}['focus'](){this['element']['focus']();}destroy(){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}_createCommentViews(){const {CommentsListView:_0x4e1082}=this['_config'];this['commentsListView']=new _0x4e1082(this['locale'],this['_model']['commentThread'],Object['assign']({'CommentView':this['_config']['CommentView']},this['_config'])),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['set']('length',this['commentsListView']['length']+0x1),this['bind']('length')['to'](this['commentsListView'],'length',_0x275752=>_0x275752+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x3875fa,_0x168fd5)=>_0x3875fa||!!_0x168fd5);}_createCommentThreadInputView(){const {CommentThreadInputView:_0x26cf97}=this['_config'],_0x569a7e=new _0x26cf97(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x2a925a=_0x569a7e['commentInputView'];return _0x569a7e['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x2a925a,'value',(_0x17ac3d,_0x15f001,_0x3115c3)=>!!_0x3115c3||_0x17ac3d&&!_0x15f001),_0x2a925a['on']('submit',(_0x900846,_0x3e4dbd)=>{this['fire']('addComment',_0x3e4dbd),_0x2a925a['editor']['setData']('');}),_0x2a925a['on']('cancel',()=>this['focus']()),_0x2a925a['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x569a7e;}},_0x31e2c4=class extends _0x1483ed{suggestionView;_descriptionElement;constructor(_0x56dd8f,_0x46e1cc,_0x445f83,_0x2e0b3f){super(_0x56dd8f,_0x46e1cc,_0x445f83,_0x2e0b3f),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x14dac6=>_0x14dac6&&_0x14dac6[0x0]?_0x14dac6[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0xeeb8fb,_0x90608f)=>{let _0x39ad49='';for(const _0x478931 of _0xeeb8fb)_0x39ad49+='<p>'+_0x1898af(_0x478931['content'],_0x478931['color'])+'</p>';return _0x90608f?_0x39ad49:_0x3fc08f(_0x39ad49,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x2e0b3f['SuggestionView'](_0x56dd8f,_0x46e1cc,{'formatDateTime':_0x2e0b3f['formatDateTime'],'showAISource':_0x2e0b3f['showAISource'],'aiAuthor':_0x2e0b3f['aiAuthor']}),this['suggestionView']['bind']('description')['to'](this),this['suggestionView']['delegate']('acceptSuggestion','discardSuggestion')['to'](this),this['suggestionView']['acceptButton']['bind']('isEnabled')['to'](this,'canAccept'),this['suggestionView']['discardButton']['bind']('isEnabled')['to'](this,'canDiscard'),this['focusables']['add'](this['suggestionView']),this['commentsListView']&&this['focusables']['add'](this['commentsListView']),this['commentThreadInputView']&&this['focusables']['add'](this['commentThreadInputView']),this['setTemplate'](this['getTemplate']());}getTemplate(){const _0x2da99b=this['bindTemplate'],_0x2ed841=[this['suggestionView']];return this['commentsListView']&&_0x2ed841['push'](this['commentsListView']),this['commentThreadInputView']&&_0x2ed841['push'](this['commentThreadInputView']),_0x2ed841['push'](this['ariaDescriptionView']),{'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x2da99b['if']('isActive','ck-suggestion-wrapper--active'),_0x2da99b['to']('type',_0x13fbc0=>'ck-suggestion-'+_0x13fbc0),this['_config']['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this['_model']['author']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x2da99b['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x2ed841};}['render'](){super['render'](),this['commentsListView']&&(this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this)),this['commentThreadInputView']&&(this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this));}},_0xdd4d35=class extends _0x491313['View']{['userView'];acceptButton;discardButton;['focusables'];['focusTracker'];keystrokes;['focusCycler'];['_model'];['_config'];constructor(_0xaab7cc,_0xd1575,_0x4e85ee){super(_0xaab7cc),this['_model']=_0xd1575,this['_config']=_0x4e85ee,this['set']('description',''),this['bind']('authoredAt')['to'](_0xd1575),this['acceptButton']=this['_createButton'](_0x2570ab(_0xaab7cc,'Accept\x20suggestion'),_0x491313['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](_0x2570ab(_0xaab7cc,'Discard\x20suggestion'),_0x491313['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw');const _0x3bdcb2=!!_0xd1575['aiSource']&&'author'===_0x4e85ee['showAISource'],_0x21bb3c=_0x3bdcb2?this['_createAIUser'](_0x4e85ee['aiAuthor']):_0xd1575['author'],_0x3f7d31=_0x3bdcb2&&!_0x4e85ee['aiAuthor']['avatar']?_0x491313['IconAIAuthor']:void 0x0;this['userView']=new _0x302d20(_0xaab7cc,_0x21bb3c,this['getUserViewNotificationText'](),_0x3f7d31),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new _0x491313['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x3858ee=>_0x3858ee['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0xe333c7=this['element']['querySelector']('.ck-annotation__content-wrapper');_0xe333c7['innerHTML']=this['description'],this['on']('change:description',(_0x409a67,_0x508196,_0x1e185d)=>{_0xe333c7['innerHTML']=_0x1e185d;}),this['_setupKeyboardNavigation']();}getTemplate(){const _0x4a56ab=this['bindTemplate'],_0x3ccb85=[{'tag':'div','attributes':{'class':['ck-suggestion__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-suggestion__info-name','ck-annotation__info-name'],'data-cke-tooltip-text':this['userView']['name']}},{'tag':'time','attributes':{'datetime':_0x4a56ab['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x4a56ab['to']('authoredAt',_0x5d574a=>this['_config']['formatDateTime'](_0x5d574a))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];if(this['_model']['isExternal']&&_0x3ccb85['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),this['_model']['aiSource']&&this['_config']['showAISource']){const _0x2f2829=new _0x5c5ba5(this['locale']);_0x2f2829['set']({'icon':_0x491313['IconSparkle'],'label':_0x2570ab(this['locale'],'AI_SOURCE_PILL_LABEL'),'tooltip':_0x2570ab(this['locale'],'AI_SOURCE_PILL_TOOLTIP'),'class':'ck-pill_ai'}),_0x3ccb85['push']({'tag':'div','attributes':{'class':['ck-suggestion__ai-source-pill']},'children':[_0x2f2829]});}return{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation'],'tabindex':-0x1},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main'],'role':'presentation'},'children':_0x3ccb85}]};}['focus'](){this['element']['focus']();}getUserViewNotificationText(){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x2570ab(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x2570ab(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}getExternalSuggestionNote(){return'importWord'===this['_model']['attributes']['@external']['source']?_0x2570ab(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):_0x2570ab(this['locale'],'EXTERNAL_SUGGESTION');}_createAIUser(_0x43798c){return new _0x5223cd({'id':'ck-ai-author','name':_0x43798c['name'],'avatar':_0x43798c['avatar'],'color':new _0x2f87d8(0x0)});}_createButton(_0x41ccf1,_0xdfb5fb,_0x540eac,_0xfd8a55,_0x2d15f9){const _0x3114ab=new _0x11c0d5(this['locale']);return _0x3114ab['set']({'label':_0x41ccf1,'icon':_0xdfb5fb,'tooltip':!0x0,'tooltipPosition':_0x2d15f9}),_0x3114ab['extendTemplate']({'attributes':{'class':_0x540eac}}),_0x3114ab['on']('execute',()=>{this['fire'](_0xfd8a55,this['_model']['id']);}),_0x3114ab;}_setupKeyboardNavigation(){const _0x25581c=this['element'];this['keystrokes']['listenTo'](_0x25581c);for(const _0x75b5bd of this['focusables'])this['focusTracker']['add'](_0x75b5bd['element']),this['keystrokes']['listenTo'](_0x75b5bd['element']);this['keystrokes']['set']('enter',(_0xb53891,_0x5ec415)=>{_0x25581c===_0xb53891['target']&&(this['focusCycler']['focusFirst'](),_0x5ec415());}),this['keystrokes']['set']('esc',(_0x457d1e,_0x24757a)=>{_0x25581c!==_0x457d1e['target']&&(this['focus'](),_0x24757a());});}},_0x7919fa=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;_suggestionToController;_viewToController;_annotationViews;_handleControllerBuffer;_disableComments;static get requires(){return[_0x2a635d,_0x16b3af,_0x2d919b,_0xa7dd6f,_0x5ff238];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4000c1){super(_0x4000c1),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x446800=this['editor']['config'];_0x446800['define']('trackChanges.SuggestionThreadView',_0x31e2c4),_0x446800['define']('trackChanges.SuggestionView',_0xdd4d35),_0x446800['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x446800['get']('trackChanges.disableComments');}_handleSuggestionControllerDelayed(_0x2d57e6,_0x247dc9){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x36580a,_0x383fd7]of this['_handleControllerBuffer']){const _0x5127b6=this['_suggestionToController']['has'](_0x36580a);_0x5127b6||_0x383fd7?_0x5127b6&&_0x383fd7&&this['_destroyController'](_0x36580a):this['_initializeController'](_0x36580a);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](_0x5ff238)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x2d57e6,_0x247dc9);}init(){const _0x2f0d05=this['editor'],_0x40dac4=_0x2f0d05['plugins']['get'](_0x2a635d),_0x56db2f=_0x2f0d05['plugins']['get'](_0xa7dd6f),_0x2d46a9=_0x2f0d05['plugins']['get'](_0x5ff238),_0x369e60=_0x2f0d05['plugins']['get'](_0x2d919b);this['_addUIComponentsToFactory'](),_0x2d46a9['addSourceCollector'](()=>{const _0x508b87=[];for(const [_0x24b06f,_0x557701]of Array['from'](this['_suggestionToController'])){const _0x2b7cbe=_0x24b06f['getAllAdjacentSuggestions'](),_0x5c013d=[];for(const _0x25dfde of _0x2b7cbe){if(!_0x25dfde['isInContent'])continue;if(_0x25dfde['isMultiRange']){_0x5c013d['push'](..._0x25dfde['getRanges']());continue;}const _0x4b0456=_0x25dfde['getFirstRange']();if(_0x5c013d['length']>0x0){const _0x107f91=_0x5c013d[0x0]['getJoined'](_0x4b0456);if(_0x107f91){_0x5c013d[0x0]=_0x107f91;continue;}}_0x5c013d['push'](_0x4b0456);}_0x508b87['push']([_0x557701['view'],_0x5c013d]);}return _0x508b87;}),this['listenTo'](_0x40dac4,'suggestionLoaded',(_0x1699e9,_0x8310f6)=>{this['listenTo'](_0x8310f6,'change:previous',(_0x16174d,_0x2ad736,_0x55a141,_0x38e170)=>{_0x8310f6['isInContent']&&(null==_0x55a141?(this['_updateController'](_0x38e170['head']),this['_handleSuggestionControllerDelayed'](_0x8310f6,!0x1)):(this['_updateController'](_0x55a141['head']),null==_0x38e170&&this['_handleSuggestionControllerDelayed'](_0x8310f6,!0x0)));}),null!==_0x8310f6['previous']?this['_updateController'](_0x8310f6['head']):this['_handleSuggestionControllerDelayed'](_0x8310f6,!0x1);}),this['listenTo'](_0x40dac4,'suggestionUnloaded',(_0x26e191,_0x12d837,_0x15d75b)=>{this['stopListening'](_0x12d837,'change:previous'),this['_handleControllerBuffer']['delete'](_0x12d837),this['_suggestionToController']['has'](_0x12d837)&&this['_destroyController'](_0x12d837),_0x15d75b&&this['_updateController'](_0x15d75b['head']);}),this['listenTo'](_0x40dac4,'suggestionChanged',(_0x29a7f3,_0x516b1a)=>{this['_updateController'](_0x516b1a);}),this['listenTo'](_0x56db2f,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x369e60,'addComment',(_0x510c44,{threadId:_0x388de6,isFromAdapter:_0x4e98fd})=>{if(_0x4e98fd||!_0x40dac4['hasSuggestion'](_0x388de6))return;const _0x2938d5=_0x40dac4['getSuggestion'](_0x388de6);this['_suggestionToController']['get'](_0x2938d5)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4edb00=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x567650;for(const _0x57d926 in _0x4edb00){const _0xb08e07=_0x57d926,_0x5e1f0d=_0x4edb00[_0xb08e07];if('trackChangesLicenseKeyValid'==_0x5e1f0d||'trackChangesLicenseKeyInvalid'==_0x5e1f0d||'trackChangesLicenseKeyExpired'==_0x5e1f0d||'trackChangesLicenseKeyDomainLimit'==_0x5e1f0d||'trackChangesLicenseKeyNotAllowed'==_0x5e1f0d||'trackChangesLicenseKeyEvaluationLimit'==_0x5e1f0d||'trackChangesLicenseKeyUsageLimit'==_0x5e1f0d){delete _0x4edb00[_0xb08e07],_0x567650=_0x5e1f0d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x567650&&_0x4edb00['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x567650&&_0x4edb00['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x567650&&_0x4edb00['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x567650&&_0x4edb00['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x567650&&_0x4edb00['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x567650&&_0x4edb00['_showLicenseError']('usageLimit');},0x3e8);}getAnnotationForSuggestion(_0xddabf1){const _0x1a6f97=this['_suggestionToController']['get'](_0xddabf1);return _0x1a6f97&&this['editor']['plugins']['get'](_0xa7dd6f)['getByInnerView'](_0x1a6f97['view'])||null;}getSuggestionForAnnotation(_0x3fdca0){const _0x16bf9d=this['_viewToController']['get'](_0x3fdca0['innerView']);return _0x16bf9d?_0x16bf9d['model']:null;}_refreshActiveMarkers(){const _0x1f4498=this['editor']['plugins']['get'](_0xa7dd6f),_0x1ae97e=this['editor']['plugins']['get'](_0x2a635d),_0x11f318=Array['from'](_0x1f4498['activeAnnotations'],_0x97ed4e=>_0x97ed4e['innerView'])['filter'](_0x2d8ada=>this['_viewToController']['has'](_0x2d8ada)),_0xbbbd18=[];for(const _0x29800f of _0x11f318){const _0x56809b=this['_viewToController']['get'](_0x29800f)['model']['getAllAdjacentSuggestions']();_0xbbbd18['push'](..._0x56809b['reduce']((_0x5a272c,_0x3498e3)=>[..._0x5a272c,..._0x3498e3['getMarkerNames']()],[]));}_0x1ae97e['activeMarkers']=_0xbbbd18;}_addUIComponentsToFactory(){const _0x5be9bc=this['editor'],_0x118c62=_0x5be9bc['locale'],_0x1643bf=_0x2570ab(_0x118c62,'Track\x20changes'),_0x2ec1e5=new _0x491313['Collection']([{'type':'switchbutton','model':new _0x491313['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x1643bf,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new _0x491313['UIModel']({'withText':!0x0,'label':_0x2570ab(_0x118c62,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x491313['UIModel']({'withText':!0x0,'label':_0x2570ab(_0x118c62,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new _0x491313['UIModel']({'withText':!0x0,'label':_0x2570ab(_0x118c62,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x491313['UIModel']({'withText':!0x0,'label':_0x2570ab(_0x118c62,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x5be9bc['plugins']['has']('TrackChangesPreview')&&_0x2ec1e5['addMany']([{'type':'separator'},{'type':'button','model':new _0x491313['UIModel']({'withText':!0x0,'label':_0x2570ab(_0x118c62,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x27f844 of _0x2ec1e5)if(_0x2fd2e4(_0x27f844)){const _0x31860f=_0x5be9bc['commands']['get'](_0x27f844['model']['commandName']);_0x27f844['model']['bind']('isOn','isEnabled')['to'](_0x31860f,'value','isEnabled');}_0x5be9bc['ui']['componentFactory']['add']('trackChanges',_0x90f130=>this['_createToolbarButton'](_0x90f130,_0x2ec1e5,_0x1643bf)),_0x5be9bc['ui']['componentFactory']['add']('menuBar:trackChanges',_0x3b551e=>this['_createMenuBarMenu'](_0x3b551e,_0x2ec1e5,_0x1643bf));}_createToolbarButton(_0x4d1e13,_0x3f453a,_0x542acd){const _0x13564e=(0x0,_0x491313['createDropdown'])(_0x4d1e13,_0x491313['SplitButtonView']),_0x37f556=this['editor']['commands']['get']('trackChanges');_0x13564e['buttonView']['set']({'tooltip':_0x542acd,'label':_0x542acd,'icon':_0x491313['IconTrackChanges']}),_0x13564e['buttonView']['bind']('isOn')['to'](_0x37f556,'value'),_0x13564e['buttonView']['on']('execute',()=>{_0x37f556['execute'](),this['editor']['editing']['view']['focus']();}),(0x0,_0x491313['addListToDropdown'])(_0x13564e,_0x3f453a,{'role':'menu'});const _0x2f4680=[];for(const _0x1f0f97 of _0x3f453a)_0x2fd2e4(_0x1f0f97)&&_0x2f4680['push'](this['editor']['commands']['get'](_0x1f0f97['model']['commandName']));const _0x1bef4d=_0x13564e['buttonView'];return _0x1bef4d['actionView']['unbind']('isEnabled'),_0x1bef4d['arrowView']['unbind']('isEnabled'),_0x1bef4d['actionView']['bind']('isEnabled')['to'](_0x37f556,'isEnabled'),_0x1bef4d['arrowView']['bind']('isEnabled')['toMany'](_0x2f4680,'isEnabled',(..._0x8e2f09)=>_0x8e2f09['some'](_0x5a109a=>_0x5a109a)),_0x13564e['on']('execute',_0x1a618f=>{this['editor']['execute'](_0x1a618f['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x13564e;}_createMenuBarMenu(_0x393db4,_0x30d83a,_0xe96766){const _0x57fe81=new _0x491313['MenuBarMenuView'](_0x393db4),_0x699a3b=this['editor']['commands']['get']('trackChanges');_0x57fe81['buttonView']['set']({'label':_0xe96766,'icon':_0x491313['IconTrackChanges']});const _0x159fca=new _0x491313['MenuBarMenuListView'](_0x393db4);for(const _0x323927 of _0x30d83a){if('separator'==_0x323927['type']){_0x159fca['items']['add'](new _0x491313['ListSeparatorView'](_0x393db4));continue;}const _0x503521=new _0x491313['MenuBarMenuListItemView'](_0x393db4,_0x57fe81),_0x5a0c71=new _0x491313['MenuBarMenuListItemButtonView'](_0x393db4),_0x27db87=_0x323927['model'];_0x5a0c71['bind'](...Object['keys'](_0x27db87))['to'](_0x27db87),_0x5a0c71['delegate']('execute')['to'](_0x57fe81),_0x5a0c71['on']('execute',()=>{this['editor']['execute'](_0x27db87['commandName']),this['editor']['editing']['view']['focus']();}),_0x503521['children']['add'](_0x5a0c71),_0x159fca['items']['add'](_0x503521);}return _0x57fe81['bind']('isEnabled')['to'](_0x699a3b,'isEnabled'),_0x57fe81['panelView']['children']['add'](_0x159fca),_0x57fe81;}_initializeController(_0x488a7d){const _0x468ffd=this['editor'],_0x15db4c=_0x468ffd['config'],_0xe09c22=_0x468ffd['plugins']['get'](_0xa7dd6f),_0x168fd4=_0x468ffd['plugins']['get'](_0x2d919b),_0x23b966=_0x468ffd['plugins']['get'](_0x5ff238),_0x53c557=_0x468ffd['plugins']['get'](_0x16b3af)['me'],_0x16d476=_0x15db4c['get']('trackChanges')['SuggestionThreadView'],_0xe7300a=_0x15db4c['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x577869,CommentThreadInputView:_0x1325e0}=_0x468ffd['plugins']['get']('CommentsUI');let _0x10356d,_0x57c09a,_0x16f9d9;this['_annotationViews']['has'](_0x488a7d['id'])?(_0x57c09a=this['_annotationViews']['get'](_0x488a7d['id']),_0x10356d=_0x57c09a['mainView']):(_0x10356d=new _0x16d476(_0x468ffd['locale'],_0x488a7d,_0x53c557,{'disableComments':this['_disableComments'],'editorConfig':{..._0x15db4c['get']('comments.editorConfig'),'licenseKey':_0x15db4c['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x15db4c['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x15db4c['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x15db4c['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x512ad0(_0x15db4c['get']('locale'),_0x468ffd['locale']),'CommentView':_0x15db4c['get']('comments')['CommentView'],'CommentsListView':_0x577869,'CommentThreadInputView':_0x1325e0,'SuggestionView':_0xe7300a,'showAISource':_0x15db4c['get']('trackChanges.showAISource')||null,'aiAuthor':{..._0x15db4c['get']('trackChanges.aiAuthor'),'name':_0x15db4c['get']('trackChanges.aiAuthor')?.['name']||_0x2570ab(_0x468ffd['locale'],'AI_AUTHOR_DEFAULT_NAME')}}),_0x10356d['suggestionView']['acceptButton']['on']('execute',()=>{_0x468ffd['editing']['view']['focus']();}),_0x10356d['suggestionView']['discardButton']['on']('execute',()=>{_0x468ffd['editing']['view']['focus']();}),_0x57c09a=_0xe09c22['createAnnotationView'](this['editor']['locale'],_0x10356d),_0x57c09a['bind']('isDirty')['to'](_0x10356d,'isDirty'),_0x57c09a['bind']('length')['to'](_0x10356d),_0x57c09a['bind']('type')['to'](_0x10356d,'type',_0xbe8f07=>'suggestion-'+_0xbe8f07),_0x10356d['on']('escape',()=>{_0x16f9d9['fire']('escape');}),this['_annotationViews']['set'](_0x488a7d['id'],_0x57c09a));const _0x46509a=_0x168fd4['createCommentThreadController'](_0x488a7d['commentThread'],_0x10356d),_0x364589=new _0x2eb578(_0x468ffd,_0x488a7d,_0x10356d,_0x46509a),_0x1b64cb=_0x488a7d['getAllAdjacentSuggestions']()['filter'](_0x46ea63=>_0x46ea63['isInContent']);_0x10356d['descriptionParts']=_0x468ffd['plugins']['get'](_0x2a635d)['descriptionFactory']['getDescriptions'](_0x1b64cb),this['_suggestionToController']['set'](_0x488a7d,_0x364589),this['_viewToController']['set'](_0x10356d,_0x364589);const _0x212bca=()=>{const _0x341b66=[],_0x52ee69=_0x488a7d['getAllAdjacentSuggestions']()['filter'](_0x5916ac=>_0x5916ac['isInContent']);for(const _0x1579e6 of _0x52ee69)_0x341b66['push'](..._0x1579e6['getMarkers']());return _0x323ccc(_0x468ffd['editing'],_0x341b66);};_0x16f9d9=_0xe09c22['createAnnotation']({'view':_0x57c09a,'target':_0x212bca,'type':()=>'suggestion-'+_0x364589['view']['type'],'isVisible':!!_0x212bca()}),_0x168fd4['_bindAnnotationToEditors'](_0x10356d,_0x16f9d9),_0xe09c22['add'](_0x16f9d9),_0x23b966['registerAnnotation'](_0x16f9d9);}_destroyController(_0x48b026){const _0x5f4bb1=this['editor']['plugins']['get'](_0x2d919b),_0xe06d47=this['editor']['plugins']['get'](_0xa7dd6f),_0x2e0ef5=this['_suggestionToController']['get'](_0x48b026),_0xa8d11=_0x2e0ef5['view'],_0xc07de9=_0xe06d47['getByInnerView'](_0xa8d11);_0x5f4bb1['_unbindEditors'](_0xa8d11),_0xc07de9&&_0xe06d47['remove'](_0xc07de9),this['_suggestionToController']['delete'](_0x48b026),this['_viewToController']['delete'](_0xa8d11),_0x2e0ef5['destroy']();}_updateController(_0x3d14ce){if(!_0x3d14ce['isInContent']||!this['_suggestionToController']['has'](_0x3d14ce))return;const _0xb66708=this['editor']['plugins']['get'](_0x2a635d),_0xeb8c2e=this['_suggestionToController']['get'](_0x3d14ce),_0x3df26d=_0x3d14ce['getAllAdjacentSuggestions']();_0xeb8c2e['view']['descriptionParts']=_0xb66708['descriptionFactory']['getDescriptions'](_0x3df26d);}destroy(){for(const _0x38824b of this['_suggestionToController']['keys']())this['_destroyController'](_0x38824b);for(const _0x3ccf03 of this['_annotationViews']['values']())_0x3ccf03['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function _0x2fd2e4(_0x37e2a2){return'model'in _0x37e2a2;}var _0x5d56cb=class extends _0x491313['Plugin']{static get requires(){return[_0x2a635d,_0x7919fa,_0x5934c6];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set adapter(_0x2df404){this['editor']['plugins']['get'](_0x2a635d)['adapter']=_0x2df404;}get adapter(){return this['editor']['plugins']['get'](_0x2a635d)['adapter'];}addSuggestion(_0x156374){return this['editor']['plugins']['get'](_0x2a635d)['addSuggestionData'](_0x156374);}getSuggestions({skipNotAttached:_0x3dd949=!0x1,toJSON:_0x1403e9=!0x1}={}){return this['editor']['plugins']['get'](_0x2a635d)['getSuggestions']({'skipNotAttached':_0x3dd949,'toJSON':_0x1403e9});}getSuggestion(_0x1d5eff){return this['editor']['plugins']['get'](_0x2a635d)['getSuggestion'](_0x1d5eff);}};const _0x33ea81=['Pagination'];var _0x25b7d4=class extends _0x491313['Plugin']{static get requires(){return[_0x2a635d];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x519166=this['editor'];if(_0x519166['config']['define']('trackChangesData.editorCreator',_0x5a81a0=>{const _0x36eb45=_0x519166['model']['document']['getRootNames']()['reduce']((_0x4b6834,_0x5a73e3)=>(_0x4b6834[_0x5a73e3]='',_0x4b6834),{});return _0x519166['constructor']['create'](_0x36eb45,_0x5a81a0);}),'function'!=typeof _0x519166['config']['get']('trackChangesData')['editorCreator'])throw new _0x491313['CKEditorError']('track-changes-data-invalid-editor-creator');}getDataWithAcceptedSuggestions(_0x572191){return _0x27252c(this['editor'],!0x0,_0x572191);}getDataWithDiscardedSuggestions(_0x243494){return _0x27252c(this['editor'],!0x1,_0x243494);}},_0x45071b=class extends _0x491313['Plugin']{result;static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5db2b4){super(_0x5db2b4),this['result']='end',_0x5db2b4['editing']['view']['_overlayModeHint']='auto',_0x5db2b4['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}init(){this['editor']['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor']['plugins']['get']('TrackChangesEditing')['_adapter']=null;}};function _0x276256(_0x57be84){return void 0x0!==_0x57be84['getRootsAttributes'];}async function _0x27252c(_0x2123dd,_0x45b3d3,_0xddb48){const _0x3356dc=_0x2ebb0e(_0x2123dd,_0x33ea81);if(_0x3356dc['plugins']['push'](_0x2a635d,_0x45071b),_0x276256(_0x2123dd)){_0x3356dc['roots']=Object['create'](null);for(const _0x952af9 of _0x2123dd['model']['document']['getRootNames']())_0x3356dc['roots'][_0x952af9]={'modelAttributes':_0x2123dd['getRootAttributes'](_0x952af9)};}const _0x5ef5c5=document['createDocumentFragment'](),_0x3abf92=_0x2123dd['config']['get']('trackChangesData')['editorCreator'],_0x53bf9d=await _0x3abf92(_0x3356dc,()=>function(_0x38a2f6){const _0x287ade=document['createElement']('div');return _0x38a2f6['appendChild'](_0x287ade),_0x287ade;}(_0x5ef5c5));!function(_0x55c56f,_0x5edc09){const _0x556b96=_0x55c56f['model']['document']['getRootNames']()['reduce']((_0x38ff80,_0x5a273a)=>(_0x38ff80[_0x5a273a]=_0x55c56f['data']['get']({'rootName':_0x5a273a}),_0x38ff80),{}),_0x4772d5=_0x55c56f['plugins']['get']('Users')['users']['map'](_0x5c1008=>({'id':_0x5c1008['id'],'name':_0x5c1008['name']})),_0x1f1872=_0x55c56f['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x2f336d=_0x55c56f['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xdd06cc=_0x5edc09['plugins']['get']('Users'),_0x47b605=_0x5edc09['plugins']['get']('TrackChangesEditing'),_0x1fbece=_0x5edc09['plugins']['get']('CommentsRepository');for(const _0x2a33a8 of _0x1fbece['getCommentThreads']())_0x2a33a8['remove']();for(const _0x4d0069 of _0x4772d5)_0xdd06cc['getUser'](_0x4d0069['id'])||_0xdd06cc['addUser'](_0x4d0069);_0xdd06cc['me']||_0xdd06cc['useAnonymousUser']();for(const _0x388eac of _0x2f336d)_0x1fbece['addCommentThread'](_0x388eac);for(const _0x4fe50e of _0x1f1872)_0x47b605['addSuggestionData'](_0x4fe50e);_0x5edc09['data']['set'](_0x556b96);}(_0x2123dd,_0x53bf9d),_0x53bf9d['execute'](_0x45b3d3?'acceptAllSuggestions':'discardAllSuggestions');const _0x3f359c=_0x276256(_0x53bf9d)?_0x53bf9d['getFullData'](_0xddb48):_0x53bf9d['data']['get'](_0xddb48);return await _0x53bf9d['destroy'](),_0x3f359c;}var _0x77b98b=class extends _0x491313['View']{options;constructor(_0x28f4f8,_0x1a7270){super(_0x28f4f8),this['options']=_0x1a7270,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-track-changes-preview'],'tabindex':-0x1}});}['render'](){super['render'](),this['element']['style']['width']=this['options']['dialogRects']['width']+'px',this['element']['style']['height']=this['options']['dialogRects']['height']+'px';}setPreviewData(_0x7f1aa0,_0x380185){if(!this['element'])return;const _0x1d7ede=[];for(const [_0x1b75db,_0x41bd9d]of _0x7f1aa0){const _0x5d0868=document['createElement']('div');_0x5d0868['setAttribute']('data-ck-root-name',_0x1b75db),_0x5d0868['className']=_0x41bd9d['classes']+'\x20ck-track-changes-preview__root-container',_0x5d0868['innerHTML']=_0x41bd9d['content'],_0x1d7ede['push'](_0x5d0868);}_0x380185(this['element'],_0x1d7ede),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}},_0x4a2716=class extends _0x491313['Command']{constructor(_0x4a29e8){super(_0x4a29e8),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}execute(){const _0x5a2759=this['editor'],_0xe4d3b5=_0x5a2759['locale'],_0x314b15=_0x5a2759['plugins']['get']('Dialog');let _0x24336f;const _0xc0a213=function(_0x33f557){const _0x3721ab={};if('editables'in _0x33f557['ui']['view']){for(const [_0x1ceb81,_0x519b6c]of Object['entries'](_0x33f557['ui']['view']['editables']))_0x3721ab[_0x1ceb81]=_0x519b6c['element'];}else _0x3721ab[_0x33f557['model']['document']['getRootNames']()[0x0]]=_0x33f557['ui']['view']['editable']['element'];return _0x3721ab;}(_0x5a2759),_0x256d8c=function(_0x4a58a9){let _0x478f23=0x0;for(const _0x19f561 of Object['values'](_0x4a58a9))_0x478f23=Math['max'](_0x478f23,_0x19f561['getBoundingClientRect']()['width']);let _0x2cfb8c=0x0;for(const _0xcc3acd of Object['values'](_0x4a58a9))_0x2cfb8c+=_0xcc3acd['getBoundingClientRect']()['height'];const _0x545643=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x478f23,'height':Math['min'](_0x2cfb8c,_0x545643)};}(_0xc0a213);_0x314b15['show']({'id':'finalContentPreview','title':_0x2570ab(_0xe4d3b5,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x77b98b(_0xe4d3b5,{'dialogRects':_0x256d8c}),'onHide':()=>{_0x24336f['detachFromDom']();},'onShow':()=>{_0x5a2759['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x32c5d4=>{const _0x5c5090=this['_standarizeRootsData'](_0x32c5d4,_0x5a2759,_0xc0a213);_0x314b15['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x5c5090,_0x5a2759['config']['get']('trackChanges.preview.renderFunction'));}),_0x24336f=new _0x491313['BodyCollection'](_0xe4d3b5,[_0x314b15['view']]),_0x24336f['attachToDom'](),_0x24336f['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x5a2759['once']('destroy',()=>{_0x24336f['detachFromDom']();});const _0x57c91d=_0x314b15['view']['headerView']['class'];_0x314b15['view']['headerView']['class']=_0x57c91d?_0x57c91d+'\x20ck-reset_all':'ck-reset_all',_0x314b15['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x314b15['view']['updatePosition']();});}});}_getMergeFieldsData(){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x3e5a84=this['editor']['plugins']['get']('MergeFieldsEditing'),_0xb42d8b=_0x3e5a84['previewMode'],_0xbabeff={};if('$labels'===_0xb42d8b){for(const _0x2d400e of _0x3e5a84['getMergeFieldsIds']())_0xbabeff[_0x2d400e]=_0x3e5a84['getLabel'](_0x2d400e)||_0x2d400e;}else{const _0x23a8f8='$defaultValues'===_0xb42d8b?_0x3e5a84['getDefaultValues']():_0x3e5a84['getDataSetValues'](_0xb42d8b,!0x0);for(const _0x563899 of Object['entries'](_0x23a8f8)){const [_0x5bc4da,_0x11514d]=_0x563899;_0xbabeff[_0x5bc4da]=null!==_0x11514d?_0x11514d:_0x3e5a84['getLabel'](_0x5bc4da)||_0x5bc4da;}}return{'mergeFieldsData':_0xbabeff};}_standarizeRootsData(_0x5ebae2,_0x441966,_0xb2a04b){let _0x54124e;_0x54124e='string'==typeof _0x5ebae2?{[_0x441966['model']['document']['getRootNames']()[0x0]]:_0x5ebae2}:_0x5ebae2;const _0x3093be=this['_fixMediaEmbeds'](_0x54124e,_0x441966);return function(_0x155c62,_0x1862aa){for(const [_0x1c6f68,_0xc63b7e]of _0x155c62)_0xc63b7e['classes']=_0x1862aa[_0x1c6f68]['classList']['value']['replace']('ck-focused','');return _0x155c62;}(this['_sortRoots'](_0x441966)['reduce']((_0x4c59d8,_0x192d7d)=>(_0x4c59d8['push']([_0x192d7d,{'content':_0x3093be[_0x192d7d],'classes':''}]),_0x4c59d8),[]),_0xb2a04b);}['_fixMediaEmbeds'](_0x1ff69a,_0x11b7b3){if(!_0x11b7b3['plugins']['has']('MediaEmbedEditing'))return _0x1ff69a;const _0x4e050e=_0x11b7b3['plugins']['get']('MediaEmbedEditing');for(const [_0x194dc1,_0x12e16a]of Object['entries'](_0x1ff69a)){const _0x2949b6=document['createElement']('div');_0x2949b6['innerHTML']=_0x12e16a,_0x2949b6['querySelectorAll']('figure.media')['forEach'](_0x4afc13=>{const _0x464f62=_0x4afc13['querySelector']('oembed');if(_0x464f62){const _0x25bfff=_0x464f62['getAttribute']('url');if(_0x25bfff){const _0x54d320=_0x4e050e['registry']['getMediaViewElement'](new _0x491313['ViewDowncastWriter'](_0x11b7b3['editing']['view']['document']),_0x25bfff,{'elementName':'','renderForEditingView':!0x0}),_0x27950b=document['createElement']('div');_0x27950b['classList']['add']('ck-media__wrapper'),_0x54d320['render'](_0x27950b,_0x11b7b3['editing']['view']['domConverter']),_0x464f62['replaceWith'](_0x27950b);}}}),_0x1ff69a[_0x194dc1]=_0x2949b6['innerHTML'];}return _0x1ff69a;}_sortRoots(_0x46e5bc){if(!function(_0x3b8568){return void 0x0!==_0x3b8568['getRootsAttributes'];}(_0x46e5bc))return _0x46e5bc['model']['document']['getRootNames']();const _0x53459a=[],_0x4cfc36=new Map();for(const _0x7afa6 of _0x46e5bc['model']['document']['getRootNames']()){const _0x8cf6a8=_0x46e5bc['editing']['view']['getDomRoot'](_0x7afa6)['getClientRects']()['item'](0x0);_0x53459a['push'](_0x7afa6),_0x4cfc36['set'](_0x7afa6,_0x8cf6a8);}return _0x53459a['sort']((_0x499e6c,_0xedacd3)=>{const _0x5031d8=_0x4cfc36['get'](_0x499e6c),_0x22acdf=_0x4cfc36['get'](_0xedacd3);return _0x5031d8['y']-_0x22acdf['y']||_0x5031d8['x']-_0x22acdf['x'];}),_0x53459a;}},_0x5dfb6c=class extends _0x491313['Plugin']{static get requires(){return[_0x25b7d4,_0x491313['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x206340){super(_0x206340),_0x206340['commands']['add']('previewFinalContent',new _0x4a2716(this['editor'])),_0x206340['config']['define']('trackChanges.preview.renderFunction',(_0x55341b,_0x30f093)=>{for(const _0x2af571 of _0x30f093)_0x55341b['appendChild'](_0x2af571);});}},_0x1d4232=class CloudServicesCommentsAdapter extends _0x491313['ContextPlugin']{static CommentsService=/* #__PURE__ -- @preserve */
((()=>_0x468cb0)());['_services'];static get requires(){return[_0x558f8e,_0x2d919b,_0x3e62c7,_0x16b3af];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x313fd5){super(_0x313fd5),this['_services']=new Map();}async init(){const _0x4b7361=this['context'],_0x546c4d=_0x4b7361['plugins']['get'](_0x2d919b);if(_0x4b7361['plugins']['get'](_0x558f8e)['addToReconnectionStack'](this),_0x546c4d['adapter']={'addCommentThread':async({channelId:_0x26204e,threadId:_0x56c8b8,comments:_0x16e4fd,resolvedAt:_0x14e9ef,resolvedBy:_0x2d1b1c,context:_0x27e453,attributes:_0x10c5e8})=>{const _0x2a375e=await this['_getService'](_0x26204e)['addCommentThread']({'commentThreadId':_0x56c8b8,'comments':_0x16e4fd['map'](_0x552bb6=>function(_0x2f7508,_0x145728,_0x2fceff){return{'commentThreadId':_0x2fceff,'commentId':_0x2f7508['commentId'],'userId':_0x2f7508['authorId'],'content':_0x2f7508['content'],'documentId':_0x145728,'createdAt':_0x2f7508['createdAt'],'attributes':_0x2f7508['attributes']||{}};}(_0x552bb6,_0x26204e,_0x56c8b8)),'resolvedAt':_0x14e9ef,'resolvedBy':_0x2d1b1c,'context':_0x27e453,'attributes':_0x10c5e8})['catch'](_0x2a5eea);return{'threadId':_0x2a375e['commentThreadId'],'comments':_0x2a375e['comments']};},'getCommentThread':async({channelId:_0x4dd59b,threadId:_0x5959d7})=>{const _0x1aca2b=await this['_getService'](_0x4dd59b)['getCommentThread'](_0x5959d7)['catch'](_0x2c692a)['catch'](_0x2a5eea);return _0x1aca2b?_0x1aca2b['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x1aca2b]),{'threadId':_0x1aca2b['commentThreadId'],'comments':_0x1aca2b['comments']['map'](_0x430ad5),'context':_0x1aca2b['context'],'resolvedAt':_0x1aca2b['resolvedAt'],'resolvedBy':_0x1aca2b['resolvedBy'],'attributes':_0x1aca2b['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x2fb135,threadId:_0x997225,context:_0x371d40,unlinkedAt:_0x438776,attributes:_0xb1b7d4})=>this['_getService'](_0x2fb135)['updateCommentThread']({'commentThreadId':_0x997225,'context':_0x371d40,'attributes':_0xb1b7d4,'unlinkedAt':_0x438776})['catch'](_0x2c692a)['catch'](_0x2a5eea),'resolveCommentThread':async({channelId:_0x3032ef,threadId:_0x1b2781})=>{const _0xafeca5=await this['_getService'](_0x3032ef)['resolveCommentThread'](_0x1b2781)['catch'](_0x2c692a)['catch'](_0x2a5eea);return{'threadId':_0xafeca5['commentThreadId'],'resolvedAt':_0xafeca5['resolvedAt'],'resolvedBy':_0xafeca5['resolvedBy']};},'reopenCommentThread':async({channelId:_0x1704d9,threadId:_0x5f4cb8})=>this['_getService'](_0x1704d9)['reopenCommentThread'](_0x5f4cb8)['catch'](_0x2c692a)['catch'](_0x2a5eea),'removeCommentThread':({channelId:_0x3ce53b,threadId:_0xb20e31})=>this['_getService'](_0x3ce53b)['removeCommentThread'](_0xb20e31)['catch'](_0x2c692a)['catch'](_0x2a5eea),'addComment':({channelId:_0x186617,threadId:_0x3f574e,commentId:_0x395155,content:_0x259d6d,attributes:_0x45ce57})=>this['_getService'](_0x186617)['addComment'](_0x3f574e,_0x395155,_0x259d6d,_0x45ce57)['catch'](_0x2a5eea),'updateComment':({channelId:_0x1c682a,threadId:_0x1b6909,commentId:_0x12a048,content:_0x1ba9af,attributes:_0x3c243c})=>this['_getService'](_0x1c682a)['updateComment'](_0x1b6909,_0x12a048,_0x1ba9af,_0x3c243c)['catch'](_0x2c692a)['catch'](_0x2a5eea),'removeComment':({channelId:_0x100b42,threadId:_0x19631a,commentId:_0x827819})=>this['_getService'](_0x100b42)['removeComment'](_0x19631a,_0x827819)['catch'](_0x2c692a)['catch'](_0x2a5eea)},_0x4b7361 instanceof _0x491313['Context']){const _0x49002d=_0x4b7361['config']['get']('collaboration.channelId'),_0x30c76d=_0x4b7361['plugins']['get'](_0x3e62c7);await this['_setUpService'](_0x49002d);const _0x480194=await this['_services']['get'](_0x49002d)['getConnectedSessions']();this['listenTo'](_0x30c76d,'sessionAdd:'+_0x49002d,(_0x4a74e3,{session:_0x8cb93f})=>{_0x8cb93f['id']===_0x30c76d['mySessionId']&&(_0x4a74e3['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x8cb93f['permissions'],_0x49002d));}),_0x30c76d['register'](_0x49002d,_0x480194);}}async _setUpService(_0x3dc7c2){if(this['_services']['has'](_0x3dc7c2))throw new _0x491313['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x3dc7c2});const _0x2d9ab1=this['context']['plugins']['get'](_0x2d919b),_0x201fcf=new CloudServicesCommentsAdapter['CommentsService'](_0x3dc7c2);this['_services']['set'](_0x3dc7c2,_0x201fcf),this['listenTo'](_0x201fcf,'commentThreadAdded',(_0x1f28db,_0x2c3179)=>{const {commentThreadId:_0x539daf,documentId:_0x579a32,context:_0x376e20,attributes:_0xc6f4b4,resolvedAt:_0x305d68,resolvedBy:_0x3964dd,comments:_0x32c395}=_0x2c3179;_0x2d9ab1['getCommentThread'](_0x539daf)||_0x2d9ab1['addCommentThread']({'threadId':_0x539daf,'channelId':_0x579a32,'comments':_0x32c395?_0x32c395['map'](_0x430ad5):[],'context':_0x376e20,'attributes':_0xc6f4b4,'resolvedAt':_0x305d68,'resolvedBy':_0x3964dd,'isFromAdapter':!0x0});}),this['listenTo'](_0x201fcf,'commentThreadUpdated',(_0x282bcc,{commentThreadId:_0x55ce83,documentId:_0x6c4185,context:_0x4a5bbb,unlinkedAt:_0x45cf0d,attributes:_0x2a9bc5})=>{_0x2d9ab1['getCommentThread'](_0x55ce83)&&_0x2d9ab1['updateCommentThread']({'threadId':_0x55ce83,'channelId':_0x6c4185,'context':_0x4a5bbb,'unlinkedAt':_0x45cf0d,'attributes':_0x2a9bc5,'isFromAdapter':!0x0});}),this['listenTo'](_0x201fcf,'commentThreadResolved',(_0x185596,{commentThreadId:_0x2fd07b,resolvedBy:_0x3e775b,resolvedAt:_0xc081b3})=>{const _0x365c06=_0x2d9ab1['getCommentThread'](_0x2fd07b);_0x365c06&&_0x365c06['resolve']({'resolvedBy':_0x3e775b,'resolvedAt':_0xc081b3,'isFromAdapter':!0x0});}),this['listenTo'](_0x201fcf,'commentThreadReopened',(_0x10590e,{commentThreadId:_0x1771b2})=>{const _0x43c53b=_0x2d9ab1['getCommentThread'](_0x1771b2);_0x43c53b&&_0x43c53b['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x201fcf,'commentThreadRemoved',(_0x141ca5,{commentThreadId:_0x214e32})=>{const _0x2aa7ae=_0x2d9ab1['getCommentThread'](_0x214e32);_0x2aa7ae&&_0x2aa7ae['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x201fcf,'commentAdded',(_0x292e5d,_0x5953aa)=>{const _0x16a3d7=_0x5953aa['commentThreadId'],_0x3f02ac=_0x2d9ab1['getCommentThread'](_0x16a3d7);_0x3f02ac&&_0x3f02ac['addComment']({..._0x430ad5(_0x5953aa),'isFromAdapter':!0x0});}),this['listenTo'](_0x201fcf,'commentUpdated',(_0x22032c,{commentThreadId:_0xee2c6f,commentId:_0x347742,content:_0x3f6534,attributes:_0x2fa9eb})=>{const _0x19c46a=_0x2d9ab1['getCommentThread'](_0xee2c6f);if(_0x19c46a){const _0x342eea=_0x19c46a['getComment'](_0x347742);_0x342eea&&_0x342eea['update']({'content':_0x3f6534,'attributes':_0x2fa9eb,'isFromAdapter':!0x0});}}),this['listenTo'](_0x201fcf,'commentRemoved',(_0x371fc3,{commentThreadId:_0x237d58,commentId:_0x423d99})=>{const _0x56ebfc=_0x2d9ab1['getCommentThread'](_0x237d58);if(_0x56ebfc){const _0x13a449=_0x56ebfc['getComment'](_0x423d99);_0x13a449&&_0x13a449['remove']({'isFromAdapter':!0x0});}}),this['listenTo'](_0x201fcf,'disconnected',()=>{'connected'===this['context']['plugins']['get'](_0x558f8e)['connection']?.['state']&&(this['_services']['delete'](_0x3dc7c2),this['stopListening'](_0x201fcf));}),await this['_connectService'](_0x3dc7c2);}destroy(){if(this['context']instanceof _0x491313['Context']){const _0x1a9732=this['context']['config']['get']('collaboration.channelId');this['_services']['has'](_0x1a9732)&&this['_terminateService'](_0x1a9732);}}_terminateService(_0x114842){if(!this['_services']['has'](_0x114842))throw new _0x491313['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x114842});this['_getService'](_0x114842)['disconnect'](),this['_services']['delete'](_0x114842);}async reconnect(){for(const _0x5a9225 of this['_services']['keys']())await this['_connectService'](_0x5a9225);if(this['context']instanceof _0x491313['Context']){const _0x58fc0b=this['context']['config']['get']('collaboration.channelId');if(this['_services']['has'](_0x58fc0b)){const _0x41ef49=this['context']['plugins']['get'](_0x3e62c7);_0x41ef49['unregister'](_0x58fc0b);const _0x560f8e=await this['_services']['get'](_0x58fc0b)['getConnectedSessions']();_0x41ef49['register'](_0x58fc0b,_0x560f8e);}}}async _connectService(_0x591443){const {connection:_0x3861c7}=this['context']['plugins']['get'](_0x558f8e),_0x16be00=this['context']['plugins']['get'](_0x2d919b),_0x1b856e=await this['_services']['get'](_0x591443)['connect'](_0x3861c7);await this['_fetchMissingUsersForThreads'](_0x1b856e);const _0x1d903f=new Set(Array['from'](_0x16be00['getCommentThreads']({'channelId':_0x591443}),_0x65d111=>_0x65d111['id']));for(const _0x358f50 of _0x1b856e)_0x358f50['deletedAt']||_0x1d903f['delete'](_0x358f50['commentThreadId']);for(const _0x52bdc4 of _0x1d903f)_0x16be00['getCommentThread'](_0x52bdc4)['remove']({'isFromAdapter':!0x0});for(const _0xec25d5 of _0x1b856e){let _0xb0401c=_0x16be00['getCommentThread'](_0xec25d5['commentThreadId']);const {commentThreadId:_0xe5ea6a,context:_0x4980d4,attributes:_0x201878,resolvedBy:_0x11e6e5,resolvedAt:_0x460621,unlinkedAt:_0x245fd0,deletedAt:_0x270ac6}=_0xec25d5;if(_0x270ac6)continue;_0xb0401c||(_0xb0401c=_0x16be00['addCommentThread']({'channelId':_0x591443,'threadId':_0xe5ea6a,'context':_0x4980d4,'attributes':_0x201878||{},'resolvedBy':_0x11e6e5,'resolvedAt':_0x460621,'unlinkedAt':_0x245fd0,'isFromAdapter':!0x0}));const _0xe2e2a4=new Set(Array['from'](_0xb0401c['comments'],_0x481077=>_0x481077['id']));for(const _0x169a56 of _0xec25d5['comments'])_0xe2e2a4['delete'](_0x169a56['commentId']);for(const _0x4c4dff of _0xe2e2a4)_0xb0401c['getComment'](_0x4c4dff)['remove']({'isFromAdapter':!0x0});for(const _0x4eff00 of _0xec25d5['comments']){const _0x3f513d=_0xb0401c['getComment'](_0x4eff00['commentId']);_0x3f513d?_0x3f513d['content']!==_0x4eff00['content']&&_0x3f513d['update']({'content':_0x4eff00['content'],'isFromAdapter':!0x0}):_0xb0401c['addComment'](Object['assign'](_0x430ad5(_0x4eff00),{'isFromAdapter':!0x0}));}}}_getService(_0x51c70f){if(!this['_services']['has'](_0x51c70f))throw new _0x491313['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x51c70f});return this['_services']['get'](_0x51c70f);}async _fetchMissingUsersForThreads(_0x4a5bbe){const _0x578f0a=this['context']['plugins']['get'](_0x16b3af),{connection:_0x11bcea}=this['context']['plugins']['get'](_0x558f8e),_0x3b777b=new Set();for(const {resolvedBy:_0x7799a,comments:_0x566a92}of _0x4a5bbe){_0x7799a&&!_0x578f0a['getUser'](_0x7799a)&&_0x3b777b['add'](_0x7799a);for(const {userId:_0x1b6ec2}of _0x566a92)_0x578f0a['getUser'](_0x1b6ec2)||_0x3b777b['add'](_0x1b6ec2);}if(0x0===_0x3b777b['size'])return;const _0x8b3521=await _0x4a3f91['getMany'](_0x11bcea,Array['from'](_0x3b777b));for(const _0x7c5fc8 of _0x8b3521)_0x578f0a['getUser'](_0x7c5fc8['id'])||_0x578f0a['addUser'](_0x7c5fc8);}};async function _0x2c692a(_0x1d2f0c){if('404'!==_0x1d2f0c['code'])throw _0x1d2f0c;}function _0x2a5eea(_0x417283){if((_0x3ab8e7=_0x417283)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x3ab8e7['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x3ab8e7['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x3ab8e7;throw _0x417283;}function _0x430ad5(_0x21fd86){return{'threadId':_0x21fd86['commentThreadId'],'commentId':_0x21fd86['commentId'],'content':_0x21fd86['content'],'createdAt':_0x21fd86['createdAt'],'authorId':_0x21fd86['userId'],'attributes':_0x21fd86['attributes']||{}};}var _0x46f4c8=class CloudServicesTrackChangesAdapter extends _0x491313['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x195e10)());_bufferedRequests;_trackChangesService;static get requires(){return[_0x1d4232,_0x2a635d,_0x558f8e];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x41af8a){super(_0x41af8a);const _0x4f7848=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x4f7848);}init(){const _0x5dcad2=this['editor']['plugins']['get'](_0x558f8e),_0x480a34=this['editor']['plugins']['get'](_0x2a635d);return _0x480a34['adapter']={'getSuggestion':async _0x4faba5=>{await this['_waitForServiceReady']();const _0x158f79=await this['_trackChangesService']['get'](_0x4faba5)['catch'](_0xc92887);return await this['_fetchMissingUsersForThreads']([_0x158f79]),_0x158f79;},'addSuggestion':async({id:_0x34967c,type:_0x40324e,data:_0xcff6aa,originalSuggestionId:_0x1d65fb,attributes:_0x5e8284})=>{await this['_waitForServiceReady']();const _0x599dd9={'id':_0x34967c,'type':_0x40324e,'data':_0xcff6aa,'originalSuggestionId':_0x1d65fb,'attributes':_0x5e8284},_0x50319a=await this['_trackChangesService']['add'](_0x34967c,_0x40324e,_0xcff6aa,_0x1d65fb,_0x5e8284)['catch'](_0x46613c=>{if(_0x138939(_0x46613c))return new Promise(_0x1d16ba=>{this['_bufferedRequests']['set'](_0x34967c,{'resolve':_0x1d16ba,'suggestionData':_0x599dd9});});throw _0x46613c;});return this['_bufferedRequests']['delete'](_0x34967c),_0x50319a;},'updateSuggestion':async(_0x2d8e13,_0x28df8b)=>{if(await this['_waitForServiceReady'](),'open'!==_0x28df8b['state'])return this['_trackChangesService']['update'](_0x2d8e13,_0x28df8b)['catch'](_0xc92887);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x3a8c7d,_0x31d44b)=>{_0x480a34['hasSuggestion'](_0x31d44b['id'])&&(_0x480a34['getSuggestion'](_0x31d44b['id'])['attributes']=_0x31d44b['attributes']);}),this['listenTo'](this['_trackChangesService'],'disconnected',()=>{'connected'===_0x5dcad2['connection']?.['state']&&(_0x5dcad2['removeFromReconnectionStack'](this),this['stopListening'](this['_trackChangesService']));}),this['_trackChangesService']['connect'](_0x5dcad2['connection'])['then'](_0x4ff19a=>(_0x5dcad2['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x4ff19a)['then'](()=>{for(const _0x65a842 of _0x4ff19a){_0x480a34['addSuggestionData'](_0x65a842)['_saved']=!0x0;}})));}async reconnect(){const _0x2683ba=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x776e80}=this['editor']['plugins']['get'](_0x558f8e),_0x11fb17=await this['_trackChangesService']['connect'](_0x776e80);await this['_fetchMissingUsersForThreads'](_0x11fb17);for(const {suggestionData:_0x542393,resolve:_0x17d259}of this['_bufferedRequests']['values']()){let _0x57e605=_0x11fb17['find'](_0x25beb0=>_0x25beb0['id']===_0x542393['id']);_0x57e605||(_0x57e605=await this['_trackChangesService']['add'](_0x542393['id'],_0x542393['type'],_0x542393['data'],_0x542393['originalSuggestionId'])),_0x17d259(_0x57e605);}for(const _0x20ee82 of _0x11fb17)_0x2683ba['hasSuggestion'](_0x20ee82['id'])||_0x2683ba['addSuggestionData'](_0x20ee82);}async _waitForServiceReady(){this['_trackChangesService']['isConnected']||await new Promise(_0x491da9=>{this['listenTo'](this['_trackChangesService'],'connected',_0x136e89=>{_0x136e89['off'](),_0x491da9();});});}async _fetchMissingUsersForThreads(_0x22d5f4){const _0x430632=this['editor']['plugins']['get'](_0x16b3af),{connection:_0x28730c}=this['editor']['plugins']['get'](_0x558f8e),_0x4f954e=new Set();for(const {authorId:_0x3f7663}of _0x22d5f4)_0x430632['getUser'](_0x3f7663)||_0x4f954e['add'](_0x3f7663);if(0x0===_0x4f954e['size'])return;const _0xe700a9=await _0x4a3f91['getMany'](_0x28730c,Array['from'](_0x4f954e));for(const _0x3ededf of _0xe700a9)_0x430632['getUser'](_0x3ededf['id'])||_0x430632['addUser'](_0x3ededf);}};function _0xc92887(_0x141d7b){if(_0x138939(_0x141d7b))return new Promise(()=>{});throw _0x141d7b;}function _0x138939(_0x1894e5){return _0x1894e5['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1894e5['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}var _0x4873bf=class extends _0x491313['Plugin']{static get requires(){return[_0x5934c6,_0x1d4232,_0x5746da,_0x558f8e];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x29fe50=this['editor']['plugins']['get'](_0x558f8e),_0x2e4b45=this['editor']['plugins']['get'](_0x2d792c),_0x5b9e63=this['editor']['plugins']['get'](_0x1d4232);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x29fe50,'change:state',(_0x21b684,_0x3655c4,_0x30612f)=>{_0x2e4b45['isThreadsLoadingPaused']='connected'!==_0x30612f;});}),this['listenTo'](_0x29fe50,'change:state',(_0x5a5b67,_0x41fe4c,_0x13d889)=>{this['editor']['plugins']['get'](_0x2d919b)['switchReadOnly']('connected'!==_0x13d889);}),_0x5b9e63['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}destroy(){const _0x14ed71=this['editor']['plugins']['get'](_0x1d4232),_0x2b030b=this['editor']['config']['get']('collaboration.channelId');_0x14ed71['_services']['has'](_0x2b030b)&&_0x14ed71['_terminateService'](_0x2b030b),super['destroy']();}},_0xff6e36=class extends _0x491313['Plugin']{static get requires(){return[_0x4873bf,_0x46f4c8,_0x5d56cb];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0x1508a3=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x503785=class extends _0x1508a3{['id'];creator;authors;diffData;toVersion;['fromVersion'];['model'];constructor(_0x36d5a5){super(),this['id']=_0x36d5a5['id']||(0x0,_0x491313['uid'])(),this['creator']=_0x36d5a5['creator']||null,this['authors']=_0x36d5a5['authors']||[],this['diffData']=_0x36d5a5['diffData']||null,this['toVersion']=_0x36d5a5['toVersion']||0x0,this['fromVersion']=_0x36d5a5['fromVersion']||0x0,this['set']('name',_0x36d5a5['name']||''),this['set']('createdAt',_0x36d5a5['createdAt']||new Date()),this['set']('attributes',_0x36d5a5['attributes']||{});}setName(_0xc77fe){this['_update']({'name':_0xc77fe});}setAttribute(_0x499972,_0x1198b1){const _0x1dd5c7=wt(this['attributes']);Ht(_0x1dd5c7,_0x499972,_0x1198b1),this['_update']({'attributes':_0x1dd5c7});}removeAttribute(_0x26631a){const _0x2bcaae=wt(this['attributes']);Rt(_0x2bcaae,_0x26631a),this['_update']({'attributes':_0x2bcaae});}_update(_0x553e3e,_0x21a883=!0x1){let _0x10f6cb=!0x1;const _0x5417b3={'id':this['id']};for(const _0x4a7cd0 of['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId']){const _0x47bbe0=_0x553e3e[_0x4a7cd0];void 0x0!==_0x47bbe0&&_0x47bbe0!==this[_0x4a7cd0]&&(this[_0x4a7cd0]=_0x47bbe0,_0x5417b3[_0x4a7cd0]=_0x47bbe0,_0x10f6cb=!0x0);}_0x10f6cb&&(_0x5417b3['authors']&&(_0x5417b3['authorsIds']=_0x5417b3['authors']['map'](_0x39c07f=>_0x39c07f['id']),delete _0x5417b3['authors']),this['fire']('_update',_0x5417b3,_0x21a883));}toJSON(){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2b867f=>_0x2b867f['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}},_0x29874f=class extends _0x491313['Plugin']{['_revisions'];static get requires(){return[_0x16b3af];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get length(){return this['_revisions']['length'];}constructor(_0x103974){super(_0x103974),this['_revisions']=new _0x491313['Collection']();}afterInit(){!async function(_0x50121c){const _0x3e16f7='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x2148be=0xeb829,_0x2099d1=0x791d0,_0x47d58c=window['Date']['now'](),_0x52f963=_0x50121c['editor'],_0x29bf1c=new window['Promise'](_0x3ca7c6=>{_0x52f963['once']('ready',_0x3ca7c6);}),_0x2ad07e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xf223d2=_0x52f963['config']['get']('licenseKey');async function _0xa2cdd(){let _0x41c7cb,_0x3e8b33=null,_0x2e4a26=null;try{return'GPL'==_0xf223d2?'NotAllowed':(_0x41c7cb=_0x4c33af(),_0x41c7cb?(_0x41c7cb['usageEndpoint']&&(_0x2e4a26=_0x2a1bb2(_0x41c7cb['usageEndpoint'],_0x41c7cb['jti'])),await _0x42157d()?_0x24e466()?_0x3595f4()?'Expired':_0x5aac2f()?('evaluation'==_0x41c7cb['licenseType']&&(_0x3e8b33=_0x1302aa('EvaluationLimit')),await _0x3e16e3()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3595f4(){const _0x52dd6d=['evaluation','trial']['includes'](_0x41c7cb['licenseType'])?_0x47d58c/0x3e8:0xe10*_0x2099d1;return _0x41c7cb['exp']<_0x52dd6d;}function _0x24e466(){const _0x3e2604=_0x41c7cb['features'];if(!_0x3e2604)return!0x1;if(_0x3e2604['includes']('*'))return!0x0;if(_0x3e2604['includes']('RH'))return!0x0;if(_0x3e2604['includes']('RRH')){if(_0x25507b())return!0x0;if(_0x583c35()||_0x485fbf())return!0x0;}return!0x1;}function _0x5aac2f(){const _0x218960=_0x41c7cb['licensedHosts'];if(!_0x218960||0x0==_0x218960['length'])return!0x0;const {hostname:_0x28528f}=new URL(window['location']['href']);if(_0x218960['includes'](_0x28528f))return!0x0;const _0xf20d91=_0x28528f['split']('.');return _0x218960['filter'](_0xca6b31=>_0xca6b31['includes']('*'))['map'](_0x4f1d6b=>_0x4f1d6b['split']('.'))['filter'](_0x555916=>_0x555916['length']<=_0xf20d91['length'])['map'](_0x4eee61=>Array(_0xf20d91['length']-_0x4eee61['length'])['fill']('*'===_0x4eee61[0x0]?'*':'')['concat'](_0x4eee61))['some'](_0x54ed4f=>_0xf20d91['every']((_0x3f0ff4,_0x4bd88e)=>_0x54ed4f[_0x4bd88e]===_0x3f0ff4||'*'===_0x54ed4f[_0x4bd88e]));}function _0x3e16e3(){return _0x3e8b33&&_0x2e4a26?new window['Promise']((_0x441610,_0x1e9671)=>{_0x3e8b33['then'](_0x441610,_0x1e9671),_0x2e4a26['then'](_0x48242f=>{'Valid'!=_0x48242f&&_0x441610(_0x48242f);},_0x1e9671);}):_0x3e8b33||_0x2e4a26||'Valid';}}function _0x2a1bb2(_0x561bcf,_0x4dc5a1){return new window['Promise'](_0x42e81a=>{if(_0x3ac76b())return _0x42e81a('Valid');_0x9546c4(),_0x52f963['decorate']('_sendUsageRequest');let _0x5346e3=!0x1;const _0x32645c=(0x0,_0x491313['uid'])();function _0x1838ea(_0x4d1331){return!!_0x4d1331&&('object'==typeof _0x4d1331||'function'==typeof _0x4d1331)&&'function'==typeof _0x4d1331['then']&&'function'==typeof _0x4d1331['catch'];}function _0x1e7f5e(_0x483178){_0x4af880(_0x483178)['then'](_0x29f86e=>_0x29f86e&&'ok'==_0x29f86e['status']?_0x544868(_0x39241e(_0x32645c+_0x4dc5a1))!=_0x29f86e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4133e4=>(_0x149d7d(),_0x4133e4),()=>{const _0x52a450=_0x475bda();return null==_0x52a450?(_0x149d7d(),'Valid'):_0x47d58c-_0x52a450>0x240c8400?'UsageLimit':'Valid';})['then'](_0x42e81a)['catch'](()=>{_0x42e81a('UsageLimit');});const _0x4829d1=0x36ee80;function _0x149d7d(){const _0x5c5035='llct-'+_0x544868(_0x39241e(_0x561bcf)),_0x24ea05=_0x4a5106(_0x544868(window['Math']['ceil'](_0x47d58c/_0x4829d1)));window['localStorage']['setItem'](_0x5c5035,_0x24ea05);}function _0x475bda(){const _0x57272f='llct-'+_0x544868(_0x39241e(_0x561bcf)),_0x1dd45b=window['localStorage']['getItem'](_0x57272f);return _0x1dd45b?window['parseInt'](_0x4a5106(_0x1dd45b),0x10)*_0x4829d1:null;}function _0x4af880(_0x22f0fe){return new window['Promise']((_0x5c7a40,_0x21b0c8)=>{_0x22f0fe['then'](_0x5c7a40,_0x21b0c8),window['setTimeout'](_0x21b0c8,0x1d4c0);});}}_0x52f963['on']('_sendUsageRequest',(_0x3949c7,_0x4a1802)=>{if(_0x4a1802[0x0]!=_0x561bcf)return _0x42e81a('UsageLimit');_0x4a1802[0x1]={..._0x4a1802[0x1],'requestId':_0x32645c};},{'priority':'high'}),_0x52f963['on']('_sendUsageRequest',_0x216bdc=>{_0x1838ea(_0x216bdc['return'])&&(_0x5346e3=!0x0,_0x1e7f5e(_0x216bdc['return']));},{'priority':'low'}),_0x29bf1c['then'](()=>{_0x5346e3||_0x42e81a('UsageLimit');});});function _0x3ac76b(){return'auto'==_0x52f963['editing']['view']['_overlayModeHint'];}function _0x9546c4(){_0x52f963['editing']['view']['_overlayModeHint']='auto';}}function _0x1302aa(_0x49438f){const _0x3d0e38=[new window['Promise'](_0x4a7afe=>setTimeout(_0x4a7afe,0x93ecc)),_0x29bf1c['then'](()=>new window['Promise'](_0x14234f=>{const _0x3a2e08=0x7,_0x22d9f6=_0x50121c['_revisions'];function _0x46719f(){_0x22d9f6['length']>=_0x3a2e08&&_0x14234f();}_0x46719f(),_0x22d9f6['on']('add',_0x46719f);})),new window['Promise'](_0x25c36f=>{function _0x13ee86(){for(const _0x1df69e in window)if(window['Number']['isNaN'](window['Number'](_0x1df69e))&&window[_0x1df69e]==_0x2148be)return _0x25c36f();'destroyed'!=_0x52f963['state']&&window['setTimeout'](_0x13ee86,0x1388);}_0x425a2d('RevisionViewer')&&_0x13ee86();})];return window['Promise']['race'](_0x3d0e38)['then'](()=>_0x49438f);}async function _0x374b76(){if(await _0x29bf1c,_0x425a2d('RevisionViewer')){const _0x313594=_0x50121c['getRevision'](0x0),_0xb31791=_0x50121c['getEarlierVisibleRevision'](_0x313594['id']),_0x53d61e=_0x33c1b6('RevisionViewer');return await _0x53d61e['compare'](_0x313594['id'],_0xb31791?_0xb31791['id']:null,!0x0),_0x53d61e['unbind']('isEnabled'),_0x53d61e['isEnabled']=!0x1,_0x53d61e['compare']=_0x4406fa,void(_0x53d61e['_getDiff']=_0x4406fa);}if(_0x425a2d('RevisionTracker')){const _0x31db99=_0x33c1b6('RevisionTracker');_0x31db99['unbind']('isEnabled'),_0x31db99['isEnabled']=!0x1,_0x31db99['update']=_0x4406fa,_0x31db99['saveRevision']=_0x4406fa;}_0x52f963['model']['change']=_0x4406fa,_0x52f963['model']['enqueueChange']=_0x4406fa,_0x52f963['enableReadOnlyMode']('model');}function _0x25507b(){return _0x425a2d('WebSocketGateway')&&'connected'==_0x33c1b6('WebSocketGateway')['state'];}function _0x583c35(){return _0x425a2d('RevisionViewerIntegration');}function _0x485fbf(){return _0x425a2d('TrackChangesDataGetter');}function _0x2744b8(_0x526fb8){const _0x2e19cc=_0xff8194();_0x52f963[_0x2e19cc]='revisionHistoryLicenseKey'+_0x526fb8,_0x526fb8['endsWith']('Limit')&&(window[_0xff8194()]=_0x2148be),'Valid'!=_0x526fb8&&_0x374b76();}function _0xff8194(){const _0x6b3f2=window['String'](window['performance']['now']())['replace']('.','');let _0x3a13de='v';for(let _0x3adbd2=0x0;_0x3adbd2<_0x6b3f2['length'];_0x3adbd2+=0x2){let _0x523e56=window['parseInt'](_0x6b3f2['substring'](_0x3adbd2,_0x3adbd2+0x2));_0x523e56>=0x3e&&(_0x523e56-=0x3e),_0x3a13de+=_0x3e16f7[_0x523e56];}return _0x3a13de;}function _0x4c33af(){const _0x3d8f3a=_0xf223d2['split']('.');if(0x3!=_0x3d8f3a['length'])return null;return _0x376948(_0x3d8f3a[0x1]);function _0x376948(_0xbd2154){const _0x376067=_0x47dc98(_0xbd2154);return _0x376067&&_0x5c7f89()?_0x376067:null;function _0x5c7f89(){const _0xadcfa5=_0x376067['jti'],_0x42d5dd=window['parseInt'](_0xadcfa5['substring'](_0xadcfa5['length']-0x8),0x10),_0x1eba43={..._0x376067,'jti':_0xadcfa5['substring'](0x0,_0xadcfa5['length']-0x8)};return delete _0x1eba43['vc'],_0x39241e(_0x1eba43)==_0x42d5dd;}}}async function _0x42157d(){let _0x26d839=!0x0;try{const [_0x3621d2,_0x284c48,_0x417525]=_0xf223d2['split']('.');return _0x19f5b9(_0x3621d2),await _0x7a6805(_0x3621d2,_0x284c48,_0x417525),_0x26d839;}catch{return!0x1;}function _0x19f5b9(_0x48f82c){const _0x121797=_0x47dc98(_0x48f82c);_0x121797&&'ES256'==_0x121797['alg']||(_0x26d839=!0x1);}async function _0x7a6805(_0x29a6ec,_0x24327a,_0x71372b){const _0x1e85e3=window['Uint8Array']['from'](_0x46edcf(_0x71372b),_0xb83c01=>_0xb83c01['charCodeAt'](0x0)),_0x5208b6=new window['TextEncoder']()['encode'](_0x29a6ec+'.'+_0x24327a),_0x38737b=window['crypto']['subtle'];if(!_0x38737b)return;const _0x237903=await _0x38737b['importKey']('jwk',_0x2ad07e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x38737b['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x237903,_0x1e85e3,_0x5208b6)||(_0x26d839=!0x1);}}function _0x47dc98(_0x12c3fb){return _0x12c3fb['startsWith']('ey')?JSON['parse'](_0x46edcf(_0x12c3fb)):null;}function _0x46edcf(_0x47dcae){return window['atob'](_0x47dcae['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x39241e(_0x26c7b4){let _0x47ffca=0x1505;function _0x58cfae(_0x1518a0){for(let _0x16373d=0x0;_0x16373d<_0x1518a0['length'];_0x16373d++){const _0x2d994e=_0x1518a0['charCodeAt'](_0x16373d);_0x47ffca=(_0x47ffca<<0x5)+_0x47ffca+_0x2d994e,_0x47ffca&=_0x47ffca;}}function _0x456173(_0x4857e7){Array['isArray'](_0x4857e7)?_0x4857e7['forEach'](_0x456173):_0x4857e7&&'object'==typeof _0x4857e7?Object['entries'](_0x4857e7)['sort']()['forEach'](([_0x21e19d,_0x33c10d])=>{_0x58cfae(_0x21e19d),_0x456173(_0x33c10d);}):_0x58cfae(window['String'](_0x4857e7));}return _0x456173(_0x26c7b4),_0x47ffca>>>0x0;}function _0x544868(_0x1ee293){return _0x1ee293['toString'](0x10)['padStart'](0x8,'0');}function _0x4a5106(_0x257cc3){return _0x257cc3['split']('')['reverse']()['join']('');}function _0x425a2d(_0x2ba83c){return _0x52f963['plugins']['has'](_0x2ba83c);}function _0x33c1b6(_0x26f9ae){return _0x52f963['plugins']['get'](_0x26f9ae);}function _0x4406fa(){}_0x2744b8(await _0xa2cdd());}(this);}createRevision(_0x64b10c){const _0x5f084c=this['editor']['plugins']['get']('Users');return new _0x503785({'id':_0x64b10c['id'],'name':_0x64b10c['name'],'creator':_0x64b10c['creatorId']?_0x5f084c['getUser'](_0x64b10c['creatorId']):null,'diffData':_0x64b10c['diffData']||_0x64b10c['data'],'authors':_0x64b10c['authorsIds']['map'](_0x50b3a3=>_0x5f084c['getUser'](_0x50b3a3)),'createdAt':new Date(_0x64b10c['createdAt']),'attributes':_0x64b10c['attributes'],'fromVersion':_0x64b10c['fromVersion'],'toVersion':_0x64b10c['toVersion']});}['addRevision'](_0x2546df,_0x3914cc=0x0){this['_revisions']['add'](_0x2546df,_0x3914cc);}getRevision(_0xa536d8){return this['_revisions']['get'](_0xa536d8);}getRevisions(_0x1ec027={'toJSON':!0x1}){const _0x388ac2=Array['from'](this['_revisions']);return _0x388ac2['reverse'](),_0x1ec027['toJSON']?_0x388ac2['map'](_0x237c18=>_0x237c18['toJSON']()):_0x388ac2;}getIndex(_0x198827){return this['_revisions']['getIndex'](_0x198827);}getEarlierVisibleRevision(_0x310edd){const [,_0x5447e6]=this['getRevisionsIterator'](_0x310edd,{'direction':'earlier'});return _0x5447e6;}getLaterVisibleRevision(_0x2fe91b){const [,_0x374cf0]=this['getRevisionsIterator'](_0x2fe91b,{'direction':'later'});return _0x374cf0;}getRevisionsInDiff(_0x51c55b){const _0x1b1abd=[];for(const _0x415291 of this['getRevisionsIterator'](_0x51c55b['newRevisionId']))if(_0x1b1abd['push'](_0x415291),_0x415291['id']===_0x51c55b['oldRevisionId'])break;return _0x1b1abd;}*getRevisionsIterator(_0x2ee1a9,{direction:_0x3c798f='earlier',filter:_0x5bde30=()=>!0x0}={}){const _0x185697='earlier'===_0x3c798f?0x1:-0x1;let _0x25fe7c=this['_revisions']['get'](_0x2ee1a9),_0x3a30c4=this['getIndex'](_0x25fe7c);for(yield _0x25fe7c;_0x25fe7c;){if(_0x3a30c4+=_0x185697,_0x25fe7c=this['getRevision'](_0x3a30c4),!_0x25fe7c)return;_0x5bde30(_0x25fe7c)&&(yield _0x25fe7c);}}},_0xa3c5e0=class extends _0x491313['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x491313['ViewContainerElement'],'c'],[_0x491313['ViewAttributeElement'],'a'],[_0x491313['ViewEmptyElement'],'e'],[_0x491313['ViewRawElement'],'r'],[_0x491313['ViewUIElement'],'u']]);_typeCharToViewClass=new Map([['c',_0x491313['ViewContainerElement']],['a',_0x491313['ViewAttributeElement']],['e',_0x491313['ViewEmptyElement']],['r',_0x491313['ViewRawElement']],['u',_0x491313['ViewUIElement']]]);async loadRevisionData(_0x5809b3,_0x36f250){if(_0x5809b3['diffData']||!_0x36f250)return;const _0xba77a2=this['editor']['config']['get']('collaboration.channelId');_0x5809b3['diffData']=(await _0x36f250['getRevision']({'channelId':_0xba77a2,'revisionId':_0x5809b3['id']}))['diffData'];}getRevisionDocumentData(_0x8c30ed){const _0x157668={};for(const _0x590edb in _0x8c30ed['diffData']){if(_0x8c30ed['diffData'][_0x590edb]['attachChange']&&!_0x8c30ed['diffData'][_0x590edb]['attachChange']['isAttached'])continue;const _0x17c47c=this['_removeRevisionMarkers'](JSON['parse'](_0x8c30ed['diffData'][_0x590edb]['insertions'])),_0x11602b=this['editor']['editing']['view']['document'],_0x460a8d=new _0x491313['ViewDocumentFragment'](_0x11602b,_0x17c47c['map'](_0x289cd7=>this['_getViewFromDiffObj'](_0x289cd7,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x157668[_0x590edb]=this['editor']['data']['processor']['toData'](_0x460a8d),this['editor']['data']['processor']['useFillerType']('default');}return _0x157668;}getRevisionRootsAttributes(_0x51bf4d){const _0x41c35f={};for(const _0x5bf96b in _0x51bf4d['diffData'])_0x51bf4d['diffData'][_0x5bf96b]['attachChange']&&!_0x51bf4d['diffData'][_0x5bf96b]['attachChange']['isAttached']||(_0x41c35f[_0x5bf96b]=_0x51bf4d['diffData'][_0x5bf96b]['attributesAfter']||{});return _0x41c35f;}getRevisionRootsModelElements(_0x3e1b9b){const _0x22faba={};for(const _0x36dfea in _0x3e1b9b['diffData']){if(_0x3e1b9b['diffData'][_0x36dfea]['attachChange']&&!_0x3e1b9b['diffData'][_0x36dfea]['attachChange']['isAttached'])continue;const _0x2fbf51=_0x3e1b9b['diffData'][_0x36dfea]['rootElementName'];_0x2fbf51&&(_0x22faba[_0x36dfea]=_0x2fbf51);}return _0x22faba;}_getTypeCharForViewElement(_0x37d9f9){return this['_viewClassToTypeChar']['get'](_0x37d9f9['constructor']);}_getViewFromDiffObj(_0x457a0a,_0x3ecbed){const _0xc22262=this['editor']['editing']['view']['document'];if('string'==typeof _0x457a0a)return new _0x491313['ViewText'](_0xc22262,_0x457a0a);{let _0x7e7514,_0x203f55;_0x203f55='u'==_0x457a0a['type']||'r'==_0x457a0a['type']?[]:_0x457a0a['children']['map'](_0xdc96de=>this['_getViewFromDiffObj'](_0xdc96de,_0x3ecbed));const _0x454acb=this['_typeCharToViewClass']['get'](_0x457a0a['type'])||_0x491313['ViewElement'],_0x501040=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x7e7514=new _0x454acb(_0xc22262,_0x457a0a['name'],_0x457a0a['attributes'],_0x203f55),'u'==_0x457a0a['type']&&_0x457a0a['children'][0x0]){const _0x51058f=_0x457a0a['children'][0x0];if(_0x7e7514['render']=function(_0x425e44){const _0x301f82=_0x425e44['createElement']('div');return _0x301f82['innerHTML']=_0x51058f,_0x301f82['childNodes'][0x0];},_0x3ecbed){const _0x3c94c1=new _0x491313['ViewDocumentFragment'](_0xc22262);_0x3c94c1['_appendChild'](_0x7e7514);const _0x306d96=Array['from'](_0x501040['viewChildrenToDom'](_0x3c94c1,{'bind':!0x1})),_0x43fd61=_0x501040['domDocument']['createElement']('div');_0x43fd61['append'](..._0x306d96),_0x7e7514=Array['from'](_0x501040['domChildrenToView'](_0x43fd61))[0x0];}}else{if('r'==_0x457a0a['type']&&_0x457a0a['children'][0x0]){const _0x2a54d4=_0x457a0a['children'][0x0];if(_0x7e7514['render']=function(_0x438177){_0x438177['innerHTML']=_0x2a54d4;},_0x3ecbed){const _0x33ca86=new _0x491313['ViewDocumentFragment'](_0xc22262);_0x33ca86['_appendChild'](_0x7e7514);const _0x343bd8=Array['from'](_0x501040['viewChildrenToDom'](_0x33ca86,{'bind':!0x1})),_0x3f027b=_0x501040['domDocument']['createElement']('div');_0x3f027b['append'](..._0x343bd8);const _0x228161=Array['from'](_0x501040['domChildrenToView'](_0x3f027b));_0x228161['length']>0x1?_0x7e7514['_appendChild'](_0x228161):_0x7e7514=_0x228161[0x0];}}}if(_0x457a0a['customProperties']){for(const [_0x1d66ff,_0x3bcd0c]of _0x457a0a['customProperties'])_0x7e7514['_setCustomProperty'](_0x1d66ff,_0x3bcd0c);}const _0x29a451=void 0x0===_0x457a0a['fillerOffset']?null:_0x457a0a['fillerOffset'];return null!==_0x29a451&&(_0x7e7514['getFillerOffset']=()=>_0x29a451),_0x7e7514;}}_makeModelFromViewString(_0x5fdd2,_0x365fd0){const _0x159434=JSON['parse'](_0x5fdd2),_0x3e8c11=this['editor']['editing']['view']['document'],_0x162035=new _0x491313['ViewDocumentFragment'](_0x3e8c11,_0x159434['map'](_0x461030=>this['_getViewFromDiffObj'](_0x461030,!0x0))),_0x47d853=this['editor']['data']['toModel'](_0x162035,_0x365fd0);return _0x47d853['name']=_0x365fd0,_0x47d853;}['_removeRevisionMarkers'](_0x1fc991){return(_0x1fc991=_0x1fc991['filter'](_0x17a76c=>!_0x17a76c['name']||'revision-start'!==_0x17a76c['name']&&'revision-end'!==_0x17a76c['name']))['forEach'](_0x3401fd=>{'string'!=typeof _0x3401fd&&(_0x3401fd['children']=this['_removeRevisionMarkers'](_0x3401fd['children']),_0x3401fd['attributes']=_0x3401fd['attributes']['filter'](_0x3d2983=>!_0x3d2983[0x0]['startsWith']('data-revision-')));}),_0x1fc991;}};function _0x3fc9c9(_0x2d3863,_0x2494ab,_0x267ccd){const t=_0x2d3863['t'];switch(_0x2494ab){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x267ccd);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x267ccd);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}var _0x15dc6b=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;currentRevision=null;repository;adapter=null;_revisionDataBuilder;['_source'];_initialRevisionId;_bufferedUpdates;_utils;_pendingAction;_continueCurrentRevision;_startingVersion;_loadedStateData;static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x16b3af,_0x29874f,_0xa3c5e0,_0x491313['PendingActions']];}constructor(_0x11c52d){super(_0x11c52d),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new tk(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x5f4c39=(0x0,_0x491313['uid'])();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5f4c39},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}init(){this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x4c1a7c=this['repository']['getRevision'](0x0),_0x3d7add=_0x4c1a7c&&null===_0x4c1a7c['creator']?_0x4c1a7c:null;if(this['_continueCurrentRevision']=!!_0x3d7add&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x329120=this['_source']['getCurrentRevisionId'](),_0x479673=this['repository']['getRevision'](_0x329120);if(_0x479673)this['_startingVersion']=_0x479673['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x243eb8=this['_source']['history']['_operations']['find'](_0x5a617c=>!_0x5a617c['_isInit']),_0xba0e6f=_0x243eb8?_0x243eb8['baseVersion']:this['_source']['history']['version'];_0x4c1a7c?(_0x4c1a7c['toVersion']<_0xba0e6f&&_0x4c1a7c['_update']({'toVersion':_0xba0e6f}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3d7add['id'],this['_startingVersion']=_0x3d7add['fromVersion']):(this['_startingVersion']=_0x4c1a7c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xba0e6f,this['_continueCurrentRevision']=!0x1);}}else _0x3d7add&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3d7add['toVersion'],this['editor']['model']['document']['history']['version']),_0x3d7add['fromVersion']===_0x3d7add['toVersion']?(0x0!==_0x3d7add['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3d7add['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3d7add['id'],this['_startingVersion']=_0x3d7add['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x313cdd=>!_0x313cdd),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x427c20=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x426107;for(const _0x3a6e5a in _0x427c20){const _0xdda2aa=_0x3a6e5a,_0x38ce59=_0x427c20[_0xdda2aa];if('revisionHistoryLicenseKeyValid'==_0x38ce59||'revisionHistoryLicenseKeyInvalid'==_0x38ce59||'revisionHistoryLicenseKeyExpired'==_0x38ce59||'revisionHistoryLicenseKeyDomainLimit'==_0x38ce59||'revisionHistoryLicenseKeyNotAllowed'==_0x38ce59||'revisionHistoryLicenseKeyEvaluationLimit'==_0x38ce59||'revisionHistoryLicenseKeyUsageLimit'==_0x38ce59){delete _0x427c20[_0xdda2aa],_0x426107=_0x38ce59,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x426107&&_0x427c20['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x426107&&_0x427c20['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x426107&&_0x427c20['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x426107&&_0x427c20['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x426107&&_0x427c20['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x426107&&_0x427c20['_showLicenseError']('usageLimit');},0x3e8);}async afterInit(){if(this['repository']['length']>0x0){const _0x4362ce=this['repository']['getRevision'](0x0),_0x86df08=await this['getRevisionDocumentData'](_0x4362ce),_0x234298=await this['getRevisionRootsAttributes'](_0x4362ce),_0x3e4f0e=this['_utils']['getRevisionRootsModelElements'](_0x4362ce);this['_replaceEditorDataWithRevisionData'](_0x86df08,_0x234298,_0x3e4f0e);}}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}setSource(_0x19372b){this['_source']=_0x19372b;}async update(){const _0x5c79a4=await this['_source']['getLatestVersion']();if(_0x5c79a4>this['currentRevision']['toVersion']){await this['_loadState']();const _0x13e468=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5c79a4});_0x13e468['authors']=_0x13e468['authorsIds']['map'](_0x507ad0=>this['editor']['plugins']['get']('Users')['getUser'](_0x507ad0)),this['currentRevision']['_update'](_0x13e468);}}async['saveRevision'](_0x1e87a4={},_0x159b11=null){const _0x1c00a4=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x159b11>this['currentRevision']['toVersion']&&(_0x159b11=null),null===_0x159b11&&(_0x159b11=await this['_source']['getLatestVersion']());const _0x4c76bf=this['_getFromVersion'](_0x159b11),_0x4bfa7e=this['buildRevisionData']({'from':_0x4c76bf,'to':_0x159b11});if(this['currentRevision']['toVersion']<_0x159b11){const _0x2375ef=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x159b11,'to':_0x159b11});_0x2375ef['authors']=[],_0x2375ef['authorsIds']=[],_0x2375ef['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2375ef,!0x0),delete _0x2375ef['authors'],_0x1c00a4['push'](_0x2375ef);}_0x1e87a4['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1e87a4['name']=_0x1e87a4['name']||null,_0x1e87a4['id']=_0x1e87a4['id']||(0x0,_0x491313['uid'])(),_0x1e87a4={..._0x1e87a4,..._0x4bfa7e};const _0x27e632=this['addRevisionData'](_0x1e87a4);_0x1c00a4['push'](_0x1e87a4);const _0x274cd1=this['repository']['getIndex'](_0x27e632);if(0x0!==_0x274cd1){const _0x5394d8=this['repository']['getRevision'](_0x274cd1-0x1);if(_0x5394d8['fromVersion']!==_0x159b11){const _0x41026b=this['_revisionDataBuilder']['getData'](_0x159b11,_0x5394d8['toVersion']),_0x36f5b8={'id':_0x5394d8['id'],'diffData':_0x41026b['diffData'],'authorsIds':_0x41026b['authorsIds'],'authors':_0x41026b['authorsIds']['map'](_0xa45024=>this['editor']['plugins']['get']('Users')['getUser'](_0xa45024)),'fromVersion':_0x159b11};_0x5394d8===this['currentRevision']&&(_0x36f5b8['createdAt']=new Date(_0x1e87a4['createdAt']['getTime']()+0xa)),_0x5394d8['_update'](_0x36f5b8,!0x0),delete _0x36f5b8['authors'],_0x1c00a4['push'](_0x36f5b8);}}if(this['adapter']){for(const _0x3a96ab of _0x1c00a4)this['_bufferUpdate'](_0x3a96ab['id'],_0x3a96ab,!0x0);this['sendBufferedUpdates']();}return _0x27e632;}addRevisionData(_0x37698e){const _0x1a62fe=this['repository']['createRevision'](_0x37698e);return this['adapter']&&_0x1a62fe['on']('_update',(_0x296c2e,_0x2c821c,_0xc685c6)=>{_0xc685c6||(this['_bufferUpdate'](_0x2c821c['id'],_0x2c821c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1a62fe,this['_findInsertionIndex'](_0x1a62fe)),_0x1a62fe;}async getRevisionDocumentData(_0x3a29d0){return await this['_utils']['loadRevisionData'](_0x3a29d0,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x3a29d0);}async getRevisionRootsAttributes(_0x37d903){return await this['_utils']['loadRevisionData'](_0x37d903,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x37d903);}sendBufferedUpdates(){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3d8872=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1bfc32=0x0;_0x1bfc32<_0x3d8872['length'];_0x1bfc32++){const _0x1b2763=_0x3d8872[_0x1bfc32];let _0x33c469=!0x1;for(const _0x5373b9 of Object['keys'](_0x1b2763))void 0x0===_0x1b2763[_0x5373b9]?delete _0x1b2763[_0x5373b9]:'id'!==_0x5373b9&&(_0x33c469=!0x0);_0x33c469||(_0x3d8872[_0x1bfc32]=null);}if(_0x3d8872=_0x3d8872['filter'](_0x31f45b=>null!==_0x31f45b),!_0x3d8872['length'])return;for(let _0x76c56b=0x0;_0x76c56b<_0x3d8872['length'];_0x76c56b++){const _0x1b3485=_0x3d8872[_0x76c56b];void 0x0!==_0x1b3485['fromVersion']&&void 0x0===_0x1b3485['toVersion']&&(_0x1b3485['toVersion']=this['repository']['getRevision'](_0x1b3485['id'])['toVersion']),void 0x0!==_0x1b3485['toVersion']&&void 0x0===_0x1b3485['fromVersion']&&(_0x1b3485['fromVersion']=this['repository']['getRevision'](_0x1b3485['id'])['fromVersion']);}const _0x1fb194=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3d8872,_0x1fb194)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x38eeb4=>{if(_0x38eeb4){for(const _0x1acd3b of _0x38eeb4)this['setRevisionData']({'id':_0x1acd3b['id'],'createdAt':_0x1acd3b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}buildRevisionData({revision:_0x53165f=null,from:_0x48b867=null,to:_0x2d0f32=null}){_0x48b867=null!==_0x48b867?_0x48b867:_0x53165f['fromVersion'],_0x2d0f32=null!==_0x2d0f32?_0x2d0f32:_0x53165f['toVersion'];const _0x2a11c0=this['_revisionDataBuilder']['getData'](_0x48b867,_0x2d0f32),_0x34e8a5={'diffData':_0x2a11c0['diffData'],'authorsIds':_0x2a11c0['authorsIds'],'fromVersion':_0x48b867,'toVersion':_0x2d0f32};if(!_0x53165f||_0x2d0f32!==_0x53165f['toVersion']){const _0x1545b1=_0x2d0f32-0x1,_0x509c50=this['_source']['history']['getOperation'](_0x1545b1);_0x34e8a5['createdAt']=_0x509c50&&_0x509c50['createdAt']||new Date();}if(this['_loadedStateData']&&_0x48b867===this['_loadedStateData']['fromVersion']){for(const _0x571fa3 of this['_loadedStateData']['authors'])_0x34e8a5['authorsIds']['includes'](_0x571fa3['id'])||_0x34e8a5['authorsIds']['push'](_0x571fa3['id']);}return _0x34e8a5;}_bufferUpdate(_0x5a5219,_0x453937,_0x8dba6a){if(this['_bufferedUpdates']['has'](_0x5a5219)){const _0x19ddd5=this['_bufferedUpdates']['get'](_0x5a5219);_0x453937=_0x8dba6a?{..._0x19ddd5,..._0x453937}:{..._0x453937,..._0x19ddd5};}this['_bufferedUpdates']['set'](_0x5a5219,_0x453937);}setRevisionData(_0x1b9e53){const _0x4496f0=this['repository']['getRevision'](_0x1b9e53['id']);if(_0x1b9e53['createdAt']&&(_0x1b9e53['createdAt']=new Date(_0x1b9e53['createdAt'])),_0x1b9e53['authorsIds']){const _0x1438a9=this['editor']['plugins']['get']('Users');_0x1b9e53['authors']=_0x1b9e53['authorsIds']['map'](_0xb39757=>_0x1438a9['getUser'](_0xb39757));}_0x4496f0['_update'](_0x1b9e53,!0x0);}_createInitialRevision(_0x2d98e9){const _0x14da34=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x14da34)this['_initialRevisionId']=_0x14da34['id'];else{const _0xabcfdf=!this['editor']['model']['document']['roots']['find'](_0x567f6d=>this['editor']['model']['hasContent'](_0x567f6d)),_0x4255bc=this['editor']['plugins']['get']('Users')['me']['id'],_0x5595c7=_0x3fc9c9(this['editor']['locale'],_0xabcfdf?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x2d98e9,'to':_0x2d98e9,'id':this['_initialRevisionId'],'name':_0x5595c7,'creatorId':_0x4255bc});}}_createCurrentRevision(_0x122189){const _0x229c5d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x229c5d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x122189,'to':_0x122189,'id':_0x229c5d,'name':'','creatorId':null}));}async _loadState(){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_utils']['loadRevisionData'](this['currentRevision'],this['adapter']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}_replaceEditorDataWithRevisionData(_0x368470,_0x456d9a,_0x1dff93){const _0xa8d79a={},_0xe80c0b={},_0x58854f={},_0x1e33dd=this['editor']['config']['get']('roots')||{};for(const [_0x388f4b,_0x2bc36b]of Object['entries'](_0x1e33dd))_0x2bc36b['lazyLoad']||(_0xa8d79a[_0x388f4b]=_0x2bc36b['initialData']??'',_0xe80c0b[_0x388f4b]=_0x2bc36b['modelAttributes']||{},_0x2bc36b['modelElement']&&(_0x58854f[_0x388f4b]=_0x2bc36b['modelElement']));for(const _0x440003 of this['editor']['model']['document']['getRootNames']())_0xa8d79a[_0x440003]??='',_0xe80c0b[_0x440003]??={};let _0x33f78d=!0x1;const _0x3ed275=Object['keys'](_0xa8d79a),_0x5e4002=Object['keys'](_0x368470);for(const _0x445277 of _0x3ed275){if(_0xa8d79a[_0x445277]!==_0x368470[_0x445277]&&''!==_0xa8d79a[_0x445277]['trim']()){_0x33f78d=!0x0;break;}if(!ft(_0xe80c0b[_0x445277],_0x456d9a[_0x445277])&&Object['keys'](_0xe80c0b[_0x445277])['length']>0x0){_0x33f78d=!0x0;break;}const _0x3381bc=_0x58854f[_0x445277],_0x349793=_0x1dff93[_0x445277];if(_0x3381bc&&_0x349793&&_0x3381bc!==_0x349793){_0x33f78d=!0x0;break;}}_0x33f78d||(_0x33f78d=_0x5e4002['some'](_0x438e99=>!this['editor']['model']['document']['getRoot'](_0x438e99))),_0x33f78d&&(0x0,_0x491313['logWarning'])('editor-initial-data-replaced-with-revision-data',{'editorData':_0xa8d79a,'editorRootsAttributes':_0xe80c0b,'editorRootsModelElements':_0x58854f,'revisionData':_0x368470,'revisionRootsAttributes':_0x456d9a,'revisionRootsModelElements':_0x1dff93});for(const [_0x1a771d,_0x10b02f]of Object['entries'](_0x368470))this['editor']['config']['set']('roots.'+_0x1a771d+'.initialData',_0x10b02f);for(const [_0x4cb863,_0x4c5bf7]of Object['entries'](_0x456d9a))this['editor']['config']['set']('roots.'+_0x4cb863+'.modelAttributes',_0x4c5bf7);const _0x1e30aa=this['editor']['model']['document'];for(const [_0x2d2a4e,_0x4b5b7f]of Object['entries'](_0x1dff93)){this['editor']['config']['set']('roots.'+_0x2d2a4e+'.modelElement',_0x4b5b7f);const _0x1cbb45=_0x1e30aa['getRoot'](_0x2d2a4e);_0x1cbb45&&_0x1cbb45['name']!==_0x4b5b7f&&(_0x1e30aa['roots']['remove'](_0x2d2a4e),_0x1e30aa['createRoot'](_0x4b5b7f,_0x2d2a4e));}}_addPendingAction(){if(!this['_pendingAction']){const _0x5ed80e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5ed80e['add'](_0x3fc9c9(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}_removePendingAction(){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}_findInsertionIndex(_0x37797f){const _0x3c4806=this['repository']['getRevisions']();_0x3c4806['reverse']();let _0x24a183=0x0;for(;_0x24a183<_0x3c4806['length'];){const _0x3464eb=_0x3c4806[_0x24a183];if(_0x3464eb===this['currentRevision']){_0x24a183++;continue;}if(_0x3464eb['id']===this['_initialRevisionId'])break;const _0x5620c5=_0x37797f['toVersion']-_0x3464eb['toVersion']||_0x37797f['fromVersion']-_0x3464eb['fromVersion'];if(_0x5620c5>0x0)break;if(_0x5620c5<0x0)_0x24a183++;else{if(!_0x37797f['creator']&&_0x3464eb['creator'])break;if(_0x3464eb['creator']||!_0x37797f['creator']){if(_0x37797f['createdAt']>_0x3464eb['createdAt'])break;_0x24a183++;}else _0x24a183++;}}return _0x24a183;}_getFromVersion(_0x33e772){const _0x484c87=this['repository']['getRevisions']();_0x484c87['reverse'](),_0x484c87['shift']();const _0x16ceca=_0x484c87['find'](_0x2a7fe1=>_0x2a7fe1['toVersion']<=_0x33e772)['toVersion'];return _0x16ceca<this['_startingVersion']?this['_startingVersion']:_0x16ceca;}['_makeRevision']({name:_0x4d90b8,from:_0x4d213c,to:_0xe48c37,creatorId:_0xe3724c,id:_0x55db28}){const _0x9960bf=this['buildRevisionData']({'from':_0x4d213c,'to':_0xe48c37});_0x9960bf['name']=_0x4d90b8,_0x9960bf['creatorId']=_0xe3724c,_0x9960bf['id']=_0x55db28;const _0x427da5=this['addRevisionData'](_0x9960bf);return this['adapter']&&this['_bufferUpdate'](_0x9960bf['id'],_0x9960bf,!0x0),_0x427da5;}_setConversion(){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}},tk=class{editor;['source'];_savedMetaData;_lastFrom;_lastTo;['_markers'];_diffRoots;_diffRootsAttributes;_baseRoots;_baseRootsAttributes;_idsRoots;_baseIdsRoots;_touched;_touchedMarkers;_touchedRoots;['_revisionId'];_startingRevisionId;constructor(_0x55605b){this['editor']=_0x55605b,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}init(_0x141a58){this['source']=_0x141a58;const _0x34b03a=new Map(),_0x3898ed=new Map(),_0x1aebff=this['editor']['model']['document']['roots']['map'](_0x2b550f=>_0x2b550f['rootName']);for(const _0x344c5c of _0x1aebff){const _0x4831c5=this['editor']['model']['document']['getRoot'](_0x344c5c),_0x2e5eb2=_0x1250ef(_0x4831c5);_0x34b03a['set'](_0x344c5c,_0x2e5eb2),_0x3898ed['set'](_0x344c5c,Object['fromEntries'](_0x4831c5['getAttributes']()));}const _0x50dd04=Array['from'](this['editor']['model']['markers'])['map'](_0x1465f7=>[_0x1465f7['name'],_0x1465f7['getRange']()]),_0x34b182=this['source']['version'];this['_saveMetaData'](_0x34b182,_0x34b03a,_0x50dd04,_0x3898ed),this['_startingRevisionId']=this['_revisionId'];const _0x5e63af=new Map(),_0x2d6194=new Map();for(const _0x2f19d0 of _0x1aebff){const _0x3840ec=_0x2090a8(_0x2f19d0,this['editor']['model']['document']['getRoot'](_0x2f19d0)['name']);_0x5e63af['set'](_0x2f19d0,_0x3840ec),_0x2d6194['set'](_0x2f19d0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5e63af,[],_0x2d6194);}getData(_0x43360d,_0x18fe61){if(this['_lastFrom']===_0x43360d&&this['_lastTo']<=_0x18fe61)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x18fe61,!0x0);else{if(!this['_savedMetaData']['has'](_0x43360d)){const _0x50d123=this['_getPreviousFrom'](_0x43360d);this['_calculateMetaData'](_0x50d123,_0x43360d,!0x1);}this['_calculateMetaData'](_0x43360d,_0x18fe61,!0x0);}return this['_lastFrom']=_0x43360d,this['_lastTo']=_0x18fe61,this['_getState']();}loadState(_0x353807){if(!this['_savedMetaData']['has'](_0x353807['fromVersion'])){const _0x23856e=this['_getPreviousFrom'](_0x353807['fromVersion']);this['_calculateMetaData'](_0x23856e,_0x353807['fromVersion'],!0x1);}this['_calculateMetaData'](_0x353807['fromVersion'],_0x353807['toVersion'],!0x1);const _0x155746=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x353807['fromVersion'],this['_lastTo']=_0x353807['toVersion'];for(const _0x419b63 in _0x353807['diffData']){const _0x1618fd=_0x353807['diffData'][_0x419b63]['attachChange'],_0x29feae=wt(_0x353807['diffData'][_0x419b63]['attributesBefore'])||{},_0x2eb0ab=_0x353807['diffData'][_0x419b63],_0x1bb470=_0x155746['_makeModelFromViewString'](_0x2eb0ab['deletions'],_0x2eb0ab['rootElementName']||'$root');_0x1bb470['rootName']=_0x419b63,_0x1bb470['_isAttached']=!_0x1618fd||!_0x1618fd['isAttached'],_0x1bb470['isAttached']=()=>_0x1bb470['_isAttached'],this['_baseRoots']['set'](_0x419b63,_0x1bb470),this['_baseRootsAttributes']['set'](_0x419b63,_0x29feae),_0x1618fd&&this['_touchedRoots']['set'](_0x419b63,_0x1618fd);const _0x3c01a5=this['_makeIdsRoot'](_0x1bb470);this['_baseIdsRoots']['set'](_0x419b63,_0x3c01a5);for(const [_0x2385a6,_0x371efb]of _0x1bb470['markers']){if(!_0x2385a6['startsWith']('revision:'))continue;const _0x52112=_0x2385a6['split'](':')[0x2];for(const _0x4b4c21 of _0x371efb['getWalker']({'singleCharacters':!0x0})){const _0x3ff982=this['_getVidAttributeName'](_0x4b4c21),_0xb888d0='elementEnd'==_0x4b4c21['type']?_0x4b4c21['previousPosition']['path']['slice'](0x0,-0x1):_0x4b4c21['previousPosition']['path'],_0x262715=_0x3c01a5['getNodeByPath'](_0xb888d0)['getAttribute'](_0x3ff982);this['_touched']['set'](_0x262715,{'userId':_0x52112});}_0x1bb470['markers']['delete'](_0x2385a6);}}this['_startingRevisionId']=this['_revisionId'];const _0x1cee42=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x438241=>!this['_touched']['has'](_0x438241));let _0x2e74b1=0x0;const _0x30c010=new Map();for(const _0x150ef6 in _0x353807['diffData']){const _0x262bfd=_0x353807['diffData'][_0x150ef6]['attachChange'],_0x507004=wt(_0x353807['diffData'][_0x150ef6]['attributesAfter'])||{},_0x516f91=_0x353807['diffData'][_0x150ef6],_0x1c9bd8=_0x155746['_makeModelFromViewString'](_0x516f91['insertions'],_0x516f91['rootElementName']||'$root');_0x1c9bd8['rootName']=_0x150ef6,_0x1c9bd8['_isAttached']=!_0x262bfd||_0x262bfd['isAttached'],_0x1c9bd8['isAttached']=()=>_0x1c9bd8['_isAttached'],this['_diffRoots']['set'](_0x150ef6,_0x1c9bd8),this['_diffRootsAttributes']['set'](_0x150ef6,_0x507004);const _0x31ecba=this['_makeIdsRoot'](_0x1c9bd8,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x150ef6,_0x31ecba),_0x30c010['set'](_0x150ef6,_0x1c9bd8['isAttached']()?_0x507004:{});for(const [_0x17a8d0,_0x28bb80]of _0x1c9bd8['markers']){if(!_0x17a8d0['startsWith']('revision:'))continue;const _0x56ba8b=_0x17a8d0['split'](':')[0x2];for(const _0x69505d of _0x28bb80['getWalker']({'singleCharacters':!0x0})){const _0x26ed80=this['_getVidAttributeName'](_0x69505d),_0x18cf2a=this['_revisionId']++,_0x1ddc5a='elementEnd'==_0x69505d['type']?_0x69505d['previousPosition']['path']['slice'](0x0,-0x1):_0x69505d['previousPosition']['path'];_0x31ecba['getNodeByPath'](_0x1ddc5a)['_setAttribute'](_0x26ed80,_0x18cf2a),this['_touched']['set'](_0x18cf2a,{'userId':_0x56ba8b});}_0x1c9bd8['markers']['delete'](_0x17a8d0);}for(const _0x38ffdb of this['editor']['model']['createRangeIn'](_0x1c9bd8)['getWalker']({'singleCharacters':!0x0})){const _0x52c4ba=this['_getVidAttributeName'](_0x38ffdb),_0x22839e='elementEnd'==_0x38ffdb['type']?_0x38ffdb['previousPosition']['path']['slice'](0x0,-0x1):_0x38ffdb['previousPosition']['path'],_0x3e900d=_0x31ecba['getNodeByPath'](_0x22839e);_0x3e900d['getAttribute'](_0x52c4ba)>0x0||_0x3e900d['_setAttribute'](_0x52c4ba,_0x1cee42[_0x2e74b1++]);}for(const [_0x12098a,_0x4b6a09]of _0x1c9bd8['markers'])_0x12098a['startsWith']('revision:')||this['_markers']['set'](_0x12098a,_0x4b6a09);}const {roots:_0x5e8a32}=this['_savedMetaData']['get'](_0x353807['fromVersion']),{roots:_0x20ed6f}=this['_savedMetaData']['get'](_0x353807['toVersion']),_0x51a019=_0x1250ef(_0x5e8a32['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x51a019),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x51a019,Number['NEGATIVE_INFINITY']));const _0x4c20cb=_0x1250ef(_0x20ed6f['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x4c20cb),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4c20cb));const _0x23e5e6=Array['from'](this['_diffRoots'])['map'](([_0x56c685,_0x189118])=>[_0x56c685,_0x1250ef(_0x189118)]);this['_saveMetaData'](this['_lastTo'],_0x23e5e6,this['_markers'],_0x30c010);}reInit(){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}_saveMetaData(_0x282401,_0x483cca,_0x132a0a,_0x5a81be){const _0x343acc=new Map(_0x483cca),_0x11b591=new Map(wt(_0x5a81be)),_0x48a97b=new Map();for(const [_0x2509c3,_0x1403bc]of _0x132a0a)_0x48a97b['set'](_0x2509c3,{'start':_0x1403bc['start']['clone'](),'end':_0x1403bc['end']['clone'](),'rootName':_0x1403bc['root']['rootName']});this['_savedMetaData']['set'](_0x282401,{'roots':_0x343acc,'markers':_0x48a97b,'rootsAttributes':_0x11b591});}_removeMetaData(_0x2a69e3){this['_savedMetaData']['delete'](_0x2a69e3);}_reset(){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}_makeIdsRoot(_0x1bdabd,_0x3f6462=null){let _0xca7d9f=null;_0x1bdabd['is']('documentFragment')||(_0xca7d9f=new _0x491313['ModelElement'](_0x1bdabd['name'],{'vid_start':null===_0x3f6462?this['_revisionId']++:_0x3f6462++}));const _0x5c65a4=[];for(const _0x3291b7 of _0x1bdabd['getChildren']())if(_0x3291b7['is']('element')){_0x5c65a4['push'](this['_makeIdsRoot'](_0x3291b7,_0x3f6462));const _0x4beb80=_0x5c65a4[_0x5c65a4['length']-0x1];null!==_0x3f6462&&(_0x3f6462=_0x4beb80['is']('element','$text')?_0x4beb80['getAttribute']('vid')+0x1:_0x4beb80['getAttribute']('vid_end')+0x1);}else{for(let _0x33ee5d=0x0;_0x33ee5d<_0x3291b7['offsetSize'];_0x33ee5d++)_0x5c65a4['push'](new _0x491313['ModelElement']('$text',{'vid':null===_0x3f6462?this['_revisionId']++:_0x3f6462++}));}if(_0x1bdabd['is']('documentFragment')){const _0x24fd57=_0x2090a8(_0x1bdabd['rootName'],_0x1bdabd['name']);return _0x24fd57['_insertChild'](0x0,_0x5c65a4),_0x24fd57;}return _0xca7d9f['_setAttribute']('vid_end',null===_0x3f6462?this['_revisionId']++:_0x3f6462),_0xca7d9f['_insertChild'](0x0,_0x5c65a4),_0xca7d9f;}_calculateMetaData(_0x23ef12,_0x3a1c2f,_0x16a03a){this['_reset']();const {roots:_0x2f4615,markers:_0x1e4720,rootsAttributes:_0x16d5b6}=this['_savedMetaData']['get'](_0x23ef12);this['_baseRoots']=new Map(_0x2f4615),this['_baseRootsAttributes']=new Map(wt(_0x16d5b6));for(const [_0x3656a7,_0x33c659]of this['_baseRoots'])if('$graveyard'!==_0x3656a7&&(this['_diffRoots']['set'](_0x3656a7,_0x1250ef(_0x33c659)),this['_diffRootsAttributes']=new Map(wt(_0x16d5b6)),_0x16a03a)){const _0x3570b5=this['_revisionId'];this['_idsRoots']['set'](_0x3656a7,this['_makeIdsRoot'](_0x33c659)),this['_baseIdsRoots']['set'](_0x3656a7,this['_makeIdsRoot'](_0x33c659,_0x3570b5));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_0x1250ef(this['_baseRoots']['get']('$graveyard'))),_0x16a03a&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x57e2bc,_0x201bfb]of _0x1e4720){const _0x295509=this['_baseRoots']['get'](_0x201bfb['rootName']),_0x3a22a1=this['_diffRoots']['get'](_0x201bfb['rootName']),_0x19e71a=new _0x491313['ModelRange'](this['_fixPosition'](_0x201bfb['start'],_0x295509),this['_fixPosition'](_0x201bfb['end'],_0x295509)),_0x270f25=this['_fixRange'](_0x19e71a,_0x3a22a1);_0x295509['markers']['set'](_0x57e2bc,_0x19e71a),this['_markers']['set'](_0x57e2bc,_0x270f25);}this['_applyOperations'](_0x23ef12,_0x3a1c2f,_0x16a03a);}_applyOperations(_0x359410,_0xd69f06,_0x57b86d){for(const _0x4c8d90 of this['source']['getOperations'](_0x359410,_0xd69f06))this['_handleOperation'](_0x4c8d90,_0x57b86d);for(const _0x35e5a9 of this['_diffRoots']['values']())_0x35e5a9['markers']['clear']();for(const [_0x3c425c,_0x494c9a]of this['_markers'])this['_diffRoots']['get'](_0x494c9a['root']['rootName'])['markers']['set'](_0x3c425c,_0x494c9a['clone']());const _0x1e5f7a=new Map(),_0x43529d=new Map();for(const [_0x19290a,_0x378b8b]of this['_diffRoots'])_0x1e5f7a['set'](_0x19290a,_0x1250ef(_0x378b8b)),_0x43529d['set'](_0x19290a,this['_diffRootsAttributes']['get'](_0x19290a));this['_saveMetaData'](_0xd69f06,_0x1e5f7a,this['_markers'],_0x43529d);}_getPreviousFrom(_0x1a9540){const _0x4a98cf=Array['from'](this['_savedMetaData']['keys']());_0x4a98cf['sort']((_0x22cba0,_0x48a91f)=>_0x22cba0-_0x48a91f),_0x4a98cf['reverse']();for(const _0xed5ad3 of _0x4a98cf)if(_0xed5ad3<_0x1a9540)return _0xed5ad3;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xe11344,_0x559729){const _0x17a895=Array['from'](_0x559729['markers'])['map'](([_0x4eb037,_0x5e44f2])=>[_0x4eb037,this['_fixRange'](_0x5e44f2,_0xe11344)]);_0xe11344['markers']=new Map(_0x17a895);}_transformMarkers(_0xb6fa45){for(const _0x40ab40 of this['_markers']['values']()){const _0x18ba4a=_0x40ab40['getTransformedByOperation'](_0xb6fa45),_0x2fb76e=_0x491313['ModelRange']['_createFromRanges'](_0x18ba4a);_0x40ab40['start']=_0x2fb76e['start'],_0x40ab40['end']=_0x2fb76e['end'];}}_handleOperation(_0x403426,_0x26f8be){if('addRoot'!=_0x403426['type']&&'detachRoot'!=_0x403426['type']){if('insert'==_0x403426['type']){const _0x13ab7f=_0x403426['position']['root'],_0x5eb54c=_0x13ab7f['rootName'],_0x4e6fe3=_0x13ab7f['name'];this['_diffRoots']['has'](_0x5eb54c)||(this['_diffRoots']['set'](_0x5eb54c,_0x2090a8(_0x5eb54c,_0x4e6fe3,!0x0)),this['_diffRootsAttributes']['set'](_0x5eb54c,{}),_0x26f8be&&this['_idsRoots']['set'](_0x5eb54c,_0x2090a8(_0x5eb54c,_0x4e6fe3,!0x0)));}else{if('addRootAttribute'==_0x403426['type']||'removeRootAttribute'==_0x403426['type']||'changeRootAttribute'==_0x403426['type'])return void this['_handleRootAttributeOperation'](_0x403426);'marker'==_0x403426['type']&&this['_handleMarkerOperation'](_0x403426);}if('marker'!==_0x403426['type']){const _0x472af8=this['_cloneOperation'](_0x403426,this['_diffRoots']);_0x472af8['_execute'](),this['_transformMarkers'](_0x472af8);}if(_0x26f8be)switch(_0x403426['type']){case'insert':this['_handleInsertOperation'](_0x403426);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x403426);break;case'merge':this['_handleMergeOperation'](_0x403426);break;case'split':this['_handleSplitOperation'](_0x403426);}}else this['_handleRootOperation'](_0x403426,_0x26f8be);}_cloneOperation(_0x38b59e,_0x5480c9){const _0xf7fd09=_0x38b59e['clone']();return _0xf7fd09['_authorId']=_0x38b59e['_authorId'],this['_fixOperation'](_0xf7fd09,_0x5480c9),_0xf7fd09;}_getBaseVids(_0x4c12d1){return _0x4c12d1['map'](_0x18e20f=>{const _0x99d166=this['_getVidAttributeName'](_0x18e20f);return Number(_0x18e20f['item']['getAttribute'](_0x99d166));});}_generateTape(_0x4ee2fa,_0x4158e7){if(_0x4ee2fa['is']('element','$text'))_0x4158e7['push']({'item':_0x4ee2fa,'type':'text'});else{_0x4ee2fa['is']('element')&&_0x4158e7['push']({'item':_0x4ee2fa,'type':'elementStart'});for(const _0x4c90a9 of _0x4ee2fa['getChildren']())this['_generateTape'](_0x4c90a9,_0x4158e7);_0x4ee2fa['is']('element')&&_0x4158e7['push']({'item':_0x4ee2fa,'type':'elementEnd'});}return _0x4158e7;}_getState(){const _0x769498=new Map(this['_touched']),_0x32ceed=new Map(_0x769498),_0x3764b2=new Map(),_0x488a33={'insertions':{},'deletions':{}},_0x36a8f7={'insertions':{},'deletions':{}},_0x60ed26=new Map(),_0x329d83=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]),_0xf8a01f=new Map();_0x329d83['delete']('$graveyard');for(const _0x1df80e of _0x329d83){const _0x45f833=(this['_diffRoots']['get'](_0x1df80e)??this['_baseRoots']['get'](_0x1df80e))['name'],_0x14171a=this['_diffRoots']['get'](_0x1df80e)||_0x2090a8(_0x1df80e,_0x45f833,!0x1),_0x5a0f24=this['_baseRoots']['get'](_0x1df80e)||_0x2090a8(_0x1df80e,_0x45f833,!0x1);_0x14171a['isAttached']()||_0x5a0f24['isAttached']()?(_0xf8a01f['set'](_0x1df80e,_0x45f833),_0x488a33['insertions'][_0x1df80e]=_0x1250ef(_0x14171a),_0x488a33['deletions'][_0x1df80e]=_0x1250ef(_0x5a0f24),this['_copyMarkers'](_0x488a33['deletions'][_0x1df80e],_0x5a0f24),this['_copyMarkers'](_0x488a33['insertions'][_0x1df80e],_0x14171a),_0x36a8f7['insertions'][_0x1df80e]=this['_generateTape'](this['_idsRoots']['get'](_0x1df80e),[]),_0x36a8f7['deletions'][_0x1df80e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1df80e)||_0x2090a8(_0x1df80e,_0x45f833,!0x1),[])):_0x329d83['delete'](_0x1df80e);}for(const _0x78cbbb of _0x329d83){const _0x5f0da4=_0x36a8f7['insertions'][_0x78cbbb];for(const _0x584524 of _0x5f0da4){const _0x234394=this['_getVidAttributeName'](_0x584524),_0x11fcea=_0x584524['item']['getAttribute'](_0x234394);_0x32ceed['delete'](_0x11fcea),_0x11fcea>=this['_startingRevisionId']&&_0x3764b2['set'](_0x11fcea,_0x769498['get'](_0x11fcea));}}for(const _0x77fbb4 of _0x329d83){const _0x37558d=_0x36a8f7['insertions'][_0x77fbb4],_0x30d46e=this['_getBaseVids'](_0x36a8f7['deletions'][_0x77fbb4]);let _0x5e712f=0x0;for(const _0xe4d2d8 of _0x37558d){const _0x2bb31e=this['_getVidAttributeName'](_0xe4d2d8),_0x2e1771=_0xe4d2d8['item']['getAttribute'](_0x2bb31e);if(!_0x3764b2['has'](_0x2e1771)&&!_0x60ed26['has'](_0x2e1771)){if(_0x32ceed['has'](_0x2e1771))_0x5e712f++;else{if(_0x2e1771!=_0x30d46e[_0x5e712f]){const _0x1cb35b=_0x769498['get'](_0x2e1771)||_0x769498['get'](_0x30d46e[_0x5e712f]);for(;_0x2e1771!=_0x30d46e[_0x5e712f];)_0x32ceed['has'](_0x30d46e[_0x5e712f])||(_0x60ed26['set'](_0x30d46e[_0x5e712f],_0x1cb35b),_0x769498['set'](_0x30d46e[_0x5e712f],_0x1cb35b)),_0x5e712f++;}_0x5e712f++;}}}}for(const _0x15dcbb of _0x329d83){const _0x488daa=_0x36a8f7['insertions'][_0x15dcbb];for(const _0x39978f of _0x488daa){const _0xb73f58=this['_getVidAttributeName'](_0x39978f),_0x180c75=_0x39978f['item']['getAttribute'](_0xb73f58);if(_0x60ed26['has'](_0x180c75)){const _0x5e7ffa=_0x60ed26['get'](_0x180c75);_0x32ceed['has'](_0x180c75)||_0x32ceed['set'](_0x180c75,{..._0x5e7ffa}),_0x3764b2['set'](_0x180c75,{..._0x5e7ffa});}}}for(const _0x542b73 of _0x32ceed['keys']())_0x542b73>=this['_startingRevisionId']&&_0x32ceed['delete'](_0x542b73);const _0xd9fc3=new Map();for(const _0xbf2840 of _0x329d83){let _0x3d25d4=_0x36a8f7['insertions'][_0xbf2840];for(const _0x4566ac of _0x3d25d4)if(_0x4566ac['item']['is']('element','tableCell')){const _0x14b678=this['_getVidAttributeName'](_0x4566ac),_0x33ecfe=_0x4566ac['item']['getAttribute'](_0x14b678);if(_0x3764b2['has'](_0x33ecfe)){const _0x4e38fa=_0x4566ac['item']['parent']['parent']['getAttribute']('vid_start'),_0x124115=_0xd9fc3['get'](_0x4e38fa)||new Set();_0x124115['add'](_0x3764b2['get'](_0x33ecfe)['userId']),_0xd9fc3['set'](_0x4e38fa,_0x124115);}}_0x3d25d4=_0x36a8f7['deletions'][_0xbf2840];for(const _0x76dc15 of _0x3d25d4)if(_0x76dc15['item']['is']('element','tableCell')){const _0x1aafe0=this['_getVidAttributeName'](_0x76dc15),_0x3c8e0d=_0x76dc15['item']['getAttribute'](_0x1aafe0);if(_0x32ceed['has'](_0x3c8e0d)){const _0x14eee0=_0x76dc15['item']['parent']['parent']['getAttribute']('vid_start'),_0x41737a=_0xd9fc3['get'](_0x14eee0)||new Set();_0x41737a['add'](_0x32ceed['get'](_0x3c8e0d)['userId']),_0xd9fc3['set'](_0x14eee0,_0x41737a);}}for(const _0x1f6f8a of _0xd9fc3['keys']())(_0x3764b2['has'](_0x1f6f8a)||_0x32ceed['has'](_0x1f6f8a))&&_0xd9fc3['delete'](_0x1f6f8a);}for(const _0x43fdfd of _0x329d83){const _0x527797=_0x36a8f7['insertions'][_0x43fdfd];let _0x48dbad=null,_0x20bd14=null;for(const _0x5a4114 of _0x527797){const _0x46e289=this['_getVidAttributeName'](_0x5a4114),_0x4e3ad9=_0x5a4114['item']['getAttribute'](_0x46e289),_0x4ce804=_0xd9fc3['get'](_0x4e3ad9);_0x4ce804&&'elementStart'==_0x5a4114['type']&&(_0x48dbad=Array['from'](_0x4ce804)[0x0],_0x20bd14=_0x5a4114['item']['getAttribute']('vid_end')),_0x48dbad&&(_0x32ceed['set'](_0x4e3ad9,{'userId':_0x48dbad}),_0x3764b2['set'](_0x4e3ad9,{'userId':_0x48dbad})),_0x4e3ad9==_0x20bd14&&(_0x48dbad=null,_0x20bd14=null);}}const _0xbe50fe={},_0x1420d0=new Set();for(const _0x22af50 of _0x329d83){const _0x1316cc=_0x488a33['deletions'][_0x22af50],_0x37cc0b=_0x488a33['insertions'][_0x22af50];for(const {userId:_0x59b093}of this['_touchedMarkers']['values']())null!==_0x59b093&&_0x1420d0['add'](_0x59b093);for(const {userId:_0x347332}of this['_touchedRoots']['values']())null!==_0x347332&&_0x1420d0['add'](_0x347332);this['_markChanges'](_0x37cc0b,_0x36a8f7['insertions'][_0x22af50],_0x3764b2,'insertion',_0x1420d0),this['_markChanges'](_0x1316cc,_0x36a8f7['deletions'][_0x22af50],_0x32ceed,'deletion',_0x1420d0),_0xbe50fe[_0x22af50]={'insertions':this['_prepareViewToSave'](_0x37cc0b),'deletions':this['_prepareViewToSave'](_0x1316cc),'attachChange':this['_touchedRoots']['get'](_0x22af50)||null,'attributesBefore':wt(this['_baseRootsAttributes']['get'](_0x22af50))||{},'attributesAfter':wt(this['_diffRootsAttributes']['get'](_0x22af50)),'rootElementName':_0xf8a01f['get'](_0x22af50)};}return{'diffData':_0xbe50fe,'authorsIds':Array['from'](_0x1420d0)};}_processRootBeforeSave(_0x4c8aa7){for(const [,_0x2c293f]of _0x4c8aa7['markers']){const _0xa70bcd=_0x2c293f['start']['getAncestors']()['filter'](_0x100762=>'tableCell'==_0x100762['name']);for(const _0x3d619e of _0xa70bcd)0x1==_0x3d619e['childCount']&&_0x3d619e['getChild'](0x0)['is']('element','paragraph')&&_0x3d619e['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xd1eea5){this['_processRootBeforeSave'](_0xd1eea5);const _0x56ef81=this['editor']['data']['toView'](_0xd1eea5,{}),_0x3ed38d=Array['from'](_0x56ef81['getChildren']())['map'](_0x44c835=>this['_getViewJson'](_0x44c835));return JSON['stringify'](_0x3ed38d);}_getViewJson(_0x512b08){if(_0x512b08['is']('$text'))return _0x512b08['data'];{const _0xe6e89b=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x1329f4=_0x512b08,_0x57f33e=this['editor']['data']['htmlProcessor']['domConverter'],_0x1f3dcf={'type':_0xe6e89b['_getTypeCharForViewElement'](_0x1329f4),'name':_0x1329f4['name'],'attributes':Array['from'](_0x1329f4['getAttributes']()),'children':Array['from'](_0x1329f4['getChildren']())['map'](_0x3625d3=>this['_getViewJson'](_0x3625d3))};if(_0x512b08['is']('uiElement')&&'$comment'!=_0x512b08['name']){const _0x552033=_0x512b08['render'](_0x57f33e['domDocument'],_0x57f33e);_0x1f3dcf['children']['push'](_0x552033['outerHTML']);}else{if(_0x512b08['is']('rawElement')){const _0x51c53b=_0x57f33e['domDocument']['createElement'](_0x1329f4['name']);_0x512b08['render'](_0x51c53b,_0x57f33e),_0x1f3dcf['children']['push'](_0x51c53b['innerHTML']);}}const _0x43df69=Array['from'](_0x1329f4['getCustomProperties']());_0x43df69['length']>0x0&&(_0x1f3dcf['customProperties']=_0x43df69);const _0x3220ae=_0x1329f4['getFillerOffset']();return null!==_0x3220ae&&(_0x1f3dcf['fillerOffset']=_0x3220ae),_0x1f3dcf;}}['_markChanges'](_0x4db183,_0x4562ac,_0x4cd197,_0x3106a4,_0x45aa15){let _0x45ebf3=null,_0x51c200=null,_0x24e494=0x0;const _0x5d2874=this['editor']['model'];for(let _0x800d61=0x0;_0x800d61<_0x4562ac['length'];_0x800d61++){const _0x29366d=this['_getVidAttributeName'](_0x4562ac[_0x800d61]),_0x153f7e=_0x4562ac[_0x800d61]['item']['getAttribute'](_0x29366d),_0x3b42c7=_0x4cd197['get'](_0x153f7e),_0x46ac65=_0x800d61==_0x4562ac['length']-0x1;!_0x45ebf3&&_0x3b42c7&&(_0x45ebf3=_0x3b42c7,_0x51c200=_0x4562ac[_0x800d61]),!_0x45ebf3||_0x3b42c7&&_0x3b42c7['userId']==_0x45ebf3['userId']||(_0x534acf(_0x3b42c7,_0x57ecbc(_0x51c200,_0x4db183,_0x5d2874),_0x57ecbc(_0x4562ac[_0x800d61],_0x4db183,_0x5d2874)),_0x45ebf3=_0x3b42c7||null,_0x51c200=_0x3b42c7?_0x4562ac[_0x800d61]:null),_0x45ebf3&&_0x46ac65&&_0x534acf(_0x3b42c7,_0x57ecbc(_0x51c200,_0x4db183,_0x5d2874),_0xb4a531(_0x4562ac[_0x800d61],_0x4db183,_0x5d2874));}function _0x534acf(_0x275a7e,_0x410cd2,_0x5da98e){const _0xd645d4=_0x45ebf3['userId'],_0x373986='revision:'+_0x3106a4+':'+_0xd645d4+':'+_0x24e494++,_0x371215=_0x5d2874['createRange'](_0x410cd2,_0x5da98e);_0x4db183['markers']['set'](_0x373986,_0x371215),null!==_0xd645d4&&_0x45aa15['add'](_0xd645d4);}}_getVidAttributeName(_0x23f22e){switch(_0x23f22e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}_fixOperation(_0x25c852,_0x3a12f7){_0x25c852['baseVersion']=null;for(const _0x4a6a84 in _0x25c852){const _0x55158d=_0x25c852[_0x4a6a84];if(_0x55158d instanceof _0x491313['ModelPosition']){const _0x55c7a6=_0x3a12f7['get'](_0x55158d['root']['rootName']);_0x25c852[_0x4a6a84]=this['_fixPosition'](_0x55158d,_0x55c7a6);}if(_0x55158d instanceof _0x491313['ModelRange']){const _0xe78eab=_0x3a12f7['get'](_0x55158d['root']['rootName']);_0x25c852[_0x4a6a84]=this['_fixRange'](_0x55158d,_0xe78eab);}'root'===_0x4a6a84&&(_0x25c852['root']=_0x3a12f7['get'](_0x25c852['root']['rootName']));}}['_fixRange'](_0x4fc6b4,_0x23528a){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4fc6b4['start'],_0x23528a),this['_fixPosition'](_0x4fc6b4['end'],_0x23528a));}_fixPosition(_0x1f1a36,_0x426055){return this['editor']['model']['createPositionFromPath'](_0x426055,_0x1f1a36['path'],_0x1f1a36['stickiness']);}_handleInsertOperation(_0x366881){const _0x12fd32=this['_idsRoots']['get'](_0x366881['position']['root']['rootName']),_0x33e2de=this['_fixPosition'](_0x366881['position'],_0x12fd32),_0x201801=null===_0x366881['_authorId']?null:_0x366881['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x493a9d=_0x33e2de['parent'],_0x53f393=this['_revisionId'],_0xef048e=[];for(const _0x3ca2cc of _0x366881['nodes'])if(_0x3ca2cc['is']('element'))_0xef048e['push'](this['_makeIdsRoot'](_0x3ca2cc));else{for(let _0xa63990=0x0;_0xa63990<_0x3ca2cc['offsetSize'];_0xa63990++)_0xef048e['push'](new _0x491313['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x2d2f1f=this['_revisionId'];for(let _0x7c173b=_0x53f393;_0x7c173b<_0x2d2f1f;_0x7c173b++)this['_touched']['set'](_0x7c173b,{'userId':_0x201801});_0x493a9d['_insertChild'](_0x33e2de['offset'],_0xef048e);}_handleMoveOperation(_0x3695d5){(_0x3695d5=this['_cloneOperation'](_0x3695d5,this['_idsRoots']))['_execute']();const _0x557985=null===_0x3695d5['_authorId']?null:_0x3695d5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f7d79=_0x3695d5['getMovedRangeStart'](),_0x779f64=_0x4f7d79['parent'],_0x6bc57c=_0x4f7d79['offset'];!function _0x4bc021(_0x220328,_0x29800a,_0x1a25c6,_0x2a9701){for(let _0x1fabd7=_0x1a25c6;_0x1fabd7<_0x2a9701;_0x1fabd7++){const _0x200b23=_0x29800a['getChild'](_0x1fabd7);_0x200b23['is']('element','$text')?_0x220328['set'](_0x200b23['getAttribute']('vid'),{'userId':_0x557985}):(_0x220328['set'](_0x200b23['getAttribute']('vid_start'),{'userId':_0x557985}),_0x4bc021(_0x220328,_0x200b23,0x0,_0x200b23['childCount']),_0x220328['set'](_0x200b23['getAttribute']('vid_end'),{'userId':_0x557985}));}}(this['_touched'],_0x779f64,_0x6bc57c,_0x6bc57c+_0x3695d5['howMany']);}_handleMergeOperation(_0x27277e){const _0x1b9207=null===(_0x27277e=this['_cloneOperation'](_0x27277e,this['_idsRoots']))['_authorId']?null:_0x27277e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1aa5fc=_0x27277e['targetPosition']['parent'],_0x92305c=_0x27277e['sourcePosition']['parent'],_0xeff587=_0x1aa5fc['getAttribute']('vid_end'),_0x1a62f3=_0x92305c['getAttribute']('vid_start');_0x1aa5fc['_setAttribute']('vid_end',_0x92305c['getAttribute']('vid_end')),_0x92305c['_setAttribute']('vid_end',_0xeff587),this['_touched']['set'](_0x1a62f3,{'userId':_0x1b9207}),this['_touched']['set'](_0xeff587,{'userId':_0x1b9207}),_0x27277e['_execute']();}_handleSplitOperation(_0x4a611a){const _0x40bf58=null===(_0x4a611a=this['_cloneOperation'](_0x4a611a,this['_idsRoots']))['_authorId']?null:_0x4a611a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x470eeb=_0x4a611a['graveyardPosition'],_0x541cb8=_0x4a611a['splitPosition']['parent'];_0x4a611a['_execute']();const _0x54177b=_0x541cb8['getAttribute']('vid_end'),_0x162aab=_0x4a611a['insertionPosition']['nodeAfter'];if(_0x470eeb){const _0x11173a=_0x162aab['getAttribute']('vid_end'),_0x26d0fc=_0x541cb8['getAttribute']('vid_end');_0x541cb8['_setAttribute']('vid_end',_0x11173a),_0x162aab['_setAttribute']('vid_end',_0x26d0fc),this['_touched']['set'](_0x541cb8['getAttribute']('vid_end'),{'userId':_0x40bf58}),this['_touched']['set'](_0x162aab['getAttribute']('vid_start'),{'userId':_0x40bf58});}else{const _0x52c3a2=this['_revisionId']++,_0x414881=this['_revisionId']++;_0x541cb8['_setAttribute']('vid_end',_0x52c3a2),_0x162aab['_setAttribute']('vid_start',_0x414881),_0x162aab['_setAttribute']('vid_end',_0x54177b),this['_touched']['set'](_0x52c3a2,{'userId':_0x40bf58}),this['_touched']['set'](_0x414881,{'userId':_0x40bf58});}}_handleMarkerOperation(_0x4e2ba2){if(!_0x4e2ba2['affectsData'])return;const _0x47dbf9=(_0x4e2ba2=this['_cloneOperation'](_0x4e2ba2,this['_diffRoots']))['oldRange']?_0x4e2ba2['oldRange']['root']:null,_0x2b7e06=_0x4e2ba2['newRange']?_0x4e2ba2['newRange']['root']:null;_0x47dbf9&&this['_markers']['delete'](_0x4e2ba2['name']),_0x2b7e06&&this['_markers']['set'](_0x4e2ba2['name'],_0x4e2ba2['newRange']['clone']());const _0x55fe51=null===_0x4e2ba2['_authorId']?null:_0x4e2ba2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x471a27=_0x4e2ba2['name'];if(!this['_touchedMarkers']['has'](_0x471a27))return void this['_touchedMarkers']['set'](_0x471a27,{'range':_0x4e2ba2['oldRange'],'userId':_0x55fe51});const _0x179985=this['_touchedMarkers']['get'](_0x471a27),_0x52e8aa=_0x179985['range'],_0x3fc598=_0x4e2ba2['newRange'];null==_0x52e8aa&&null==_0x3fc598||_0x52e8aa&&_0x3fc598&&_0x52e8aa['isEqual'](_0x3fc598)?this['_touchedMarkers']['delete'](_0x4e2ba2['name']):_0x179985['userId']=_0x55fe51;}_handleRootOperation(_0x5d9fc2,_0x30322f){this['_diffRoots']['has'](_0x5d9fc2['rootName'])?this['_diffRoots']['get'](_0x5d9fc2['rootName'])['_isAttached']=_0x5d9fc2['isAdd']:(this['_diffRoots']['set'](_0x5d9fc2['rootName'],_0x2090a8(_0x5d9fc2['rootName'],_0x5d9fc2['elementName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5d9fc2['rootName'],{}),_0x30322f&&this['_idsRoots']['set'](_0x5d9fc2['rootName'],_0x2090a8(_0x5d9fc2['rootName'],_0x5d9fc2['elementName'],!0x0)));const _0x53fca7=null===_0x5d9fc2['_authorId']?null:_0x5d9fc2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x14a587=this['_touchedRoots']['get'](_0x5d9fc2['rootName']);_0x14a587&&_0x14a587['userId']===_0x53fca7?this['_touchedRoots']['delete'](_0x5d9fc2['rootName']):this['_touchedRoots']['set'](_0x5d9fc2['rootName'],{'userId':_0x53fca7,'isAttached':_0x5d9fc2['isAdd']});}_handleRootAttributeOperation(_0x53195f){const _0x220964=this['_diffRootsAttributes']['get'](_0x53195f['root']['rootName']);null===_0x53195f['newValue']?delete _0x220964[_0x53195f['key']]:_0x220964[_0x53195f['key']]=_0x53195f['newValue'];}};function _0x1250ef(_0x3e9c22){const _0x54f2d5=_0x2090a8(_0x3e9c22['rootName'],_0x3e9c22['name'],_0x3e9c22['isAttached']());for(const _0x573405 of _0x3e9c22['getChildren']()){const _0x1b417d=_0x573405['_clone'](!0x0);_0x54f2d5['_appendChild'](_0x1b417d);}return _0x54f2d5;}function _0x2090a8(_0x154a27,_0x253e3a,_0x1839c2=!0x0){const _0x1adc4b=new _0x491313['ModelDocumentFragment']();return _0x1adc4b['rootName']=_0x154a27,_0x1adc4b['name']=_0x253e3a,_0x1adc4b['_isAttached']=_0x1839c2,_0x1adc4b['isAttached']=()=>_0x1adc4b['_isAttached'],_0x1adc4b;}function _0x57ecbc(_0x256ebd,_0x110cf2,_0x2715dc){const _0x197947='elementEnd'==_0x256ebd['type']?_0x2715dc['createPositionAt'](_0x256ebd['item'],'end'):_0x2715dc['createPositionBefore'](_0x256ebd['item']);return _0x2715dc['createPositionFromPath'](_0x110cf2,_0x197947['path'],_0x197947['stickiness']);}function _0xb4a531(_0x56be87,_0x32776c,_0x43b436){const _0xa0f48c='elementStart'==_0x56be87['type']?_0x43b436['createPositionAt'](_0x56be87['item'],0x0):_0x43b436['createPositionAfter'](_0x56be87['item']);return _0x43b436['createPositionFromPath'](_0x32776c,_0xa0f48c['path'],_0xa0f48c['stickiness']);}const _0x46d00c=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['CssTransitionDisablerMixin'])(_0x491313['View']);var _0x4f8bd7=class extends _0x46d00c{['focusTracker'];keystrokes;revisionNameInputView;constructor(_0x2b57eb,_0x168314){super(_0x2b57eb),this['focusTracker']=new _0x491313['FocusTracker'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x168314),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),this['initializeCssTransitionDisablerMixin']();}['render'](){super['render'](),(0x0,_0x491313['submitHandler'])({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x566a63=_0x131429=>_0x131429['stopPropagation']();this['keystrokes']['set']('arrowright',_0x566a63),this['keystrokes']['set']('arrowleft',_0x566a63),this['keystrokes']['set']('arrowup',_0x566a63),this['keystrokes']['set']('arrowdown',_0x566a63);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x3e8095){this['revisionNameInputView']['fieldView']['element']['value']=_0x3e8095['trim']();}reset(){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}_createRevisionNameInput(_0x4362b6){const _0x56b779=new _0x491313['LabeledFieldView'](this['locale'],_0x491313['createLabeledInputText']),_0x4fd964=_0x56b779['fieldView'];_0x4fd964['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xf0aee0=_0x3fc9c9(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4362b6&&(_0xf0aee0+='\x20('+_0x3fc9c9(this['locale'],'optional')+')'),(_0x56b779['label']=_0xf0aee0,_0x4fd964['on']('input',()=>{this['revisionNameInputValue']=_0x4fd964['element']['value']['trim']();}),_0x56b779);}},_0x314455=class extends _0x491313['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x15dc6b];}['_saveRevisionFormView'];init(){const _0x340226=this['editor'],_0x43181f=_0x340226['plugins']['get']('RevisionTracker');_0x340226['ui']['componentFactory']['add']('revisionHistory',_0x7e9804=>{const _0x11482b=(0x0,_0x491313['createDropdown'])(_0x7e9804),_0x5a6c2d=_0x11482b['panelView']['children'],_0x128cac=new _0x491313['ListView'](_0x7e9804),_0x705497=new _0x491313['ListItemView'](_0x7e9804),_0x21a46f=this['_createSaveRevisionButton'](_0x491313['ButtonView']),_0x140ac6=new _0x491313['ListItemView'](_0x7e9804),_0x579c5d=this['_createOpenRevisionButton'](_0x491313['ButtonView']);return _0x11482b['bind']('isEnabled')['to'](_0x43181f,'isReady',_0x43181f,'isEnabled',_0x340226,'isReadOnly',(_0x4822b5,_0x52de88,_0x5a141e)=>_0x4822b5&&_0x52de88&&!_0x5a141e),_0x11482b['buttonView']['set']({'icon':_0x491313['IconHistory'],'label':_0x3fc9c9(_0x7e9804,'Revision\x20history'),'tooltip':!0x0}),_0x21a46f['set']({'withText':!0x0,'role':'menuitem'}),_0x579c5d['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x579c5d,'execute',()=>{_0x11482b['isOpen']=!0x1,_0x340226['editing']['view']['focus']();},{'priority':'low'}),_0x705497['children']['add'](_0x21a46f),_0x140ac6['children']['add'](_0x579c5d),_0x128cac['role']='menu',_0x128cac['items']['addMany']([_0x705497,_0x140ac6]),_0x5a6c2d['add'](_0x128cac),_0x11482b;}),_0x340226['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}_registerMenuComponent(){const _0x3921f4=this['editor'],_0xda0d12=_0x3921f4['locale'],_0x199bcf=_0x3921f4['plugins']['get']('RevisionTracker'),_0x221c18=new _0x491313['MenuBarMenuView'](_0xda0d12),_0xb7157d=new _0x491313['MenuBarMenuListView'](_0xda0d12);_0x221c18['bind']('isEnabled')['to'](_0x199bcf,'isReady',_0x199bcf,'isEnabled',_0x3921f4,'isReadOnly',(_0x4f98d1,_0x247405,_0x3a313a)=>_0x4f98d1&&_0x247405&&!_0x3a313a),_0x221c18['buttonView']['set']({'icon':_0x491313['IconHistory'],'label':_0x3fc9c9(_0xda0d12,'Revision\x20history')});const _0x1080d6=new _0x491313['MenuBarMenuListItemView'](_0xda0d12,_0x221c18),_0x1faab5=this['_createSaveRevisionButton'](_0x491313['MenuBarMenuListItemButtonView']);_0x1faab5['delegate']('execute')['to'](_0x221c18),_0x1080d6['children']['add'](_0x1faab5),_0xb7157d['items']['add'](_0x1080d6);const _0x563be9=new _0x491313['MenuBarMenuListItemView'](_0xda0d12,_0x221c18),_0x130c7a=this['_createOpenRevisionButton'](_0x491313['MenuBarMenuListItemButtonView']);return _0x130c7a['delegate']('execute')['to'](_0x221c18),_0x563be9['children']['add'](_0x130c7a),_0xb7157d['items']['add'](_0x563be9),_0x221c18['panelView']['children']['add'](_0xb7157d),_0x221c18;}_createSaveRevisionButton(_0x1cca86){const _0x4eea7e=this['editor'],_0x136eba=_0x4eea7e['plugins']['get']('RevisionTracker'),_0x13f118=new _0x1cca86(_0x4eea7e['locale']);return _0x13f118['set']({'label':_0x3fc9c9(_0x4eea7e['locale'],'Save\x20current\x20revision')}),_0x13f118['bind']('isEnabled')['to'](_0x136eba,'isReady',_0x136eba,'isEnabled',_0x4eea7e,'isReadOnly',(_0x14593a,_0x2b5e5e,_0x5b655b)=>_0x14593a&&_0x2b5e5e&&!_0x5b655b),this['listenTo'](_0x13f118,'execute',()=>{this['_showDialog']();}),_0x13f118;}_createOpenRevisionButton(_0x27ba1d){const _0x15cbbe=this['editor'],_0x315758=_0x15cbbe['plugins']['get']('RevisionTracker'),_0x3e694e=new _0x27ba1d(_0x15cbbe['locale']);return _0x3e694e['set']({'label':_0x3fc9c9(_0x15cbbe['locale'],'Open\x20revision\x20history')}),_0x3e694e['bind']('isEnabled')['to'](_0x315758,'isReady',_0x15cbbe,'isReadOnly',(_0x3927bb,_0x5f0daf)=>_0x3927bb&&!_0x5f0daf),this['listenTo'](_0x3e694e,'execute',()=>{_0x15cbbe['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3e694e;}['_showDialog'](){const _0x380290=this['editor'],_0x4d196c=_0x380290['locale'],_0x5b02af=_0x380290['plugins']['get']('Dialog'),_0x2367e9=_0x380290['plugins']['get']('RevisionTracker');function _0x4a669b(_0x532e06){_0x380290['config']['get']('revisionHistory.requireRevisionName')&&''===_0x532e06['revisionName']?_0x532e06['revisionNameInputView']['errorText']=_0x3fc9c9(_0x4d196c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x380290['plugins']['get'](_0x15dc6b)['saveRevision']({'name':_0x532e06['revisionName']}),_0x5b02af['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4a669b(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5b02af['show']({'id':'revisionSave','title':_0x3fc9c9(_0x4d196c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':_0x3fc9c9(_0x380290['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x5b02af['hide']()},{'label':_0x3fc9c9(_0x380290['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x34c24c){_0x34c24c['bind']('isEnabled')['to'](_0x2367e9,'isReady',_0x2367e9,'isEnabled',_0x380290,'isReadOnly',(_0x114a34,_0xee5650,_0x140617)=>_0x114a34&&_0xee5650&&!_0x140617);},'onExecute':()=>_0x4a669b(this['_saveRevisionFormView'])}]});}_createSaveRevisionFormView(){const _0x34ee75=this['editor'],_0x306b39=_0x34ee75['locale'];this['_saveRevisionFormView']=new _0x4f8bd7(_0x306b39,_0x34ee75['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}},_0x3dacbb=class extends _0x491313['View']{['changeId'];['_model'];constructor(_0x3fe4e0,_0x401dcb){super(_0x3fe4e0),this['_model']=_0x401dcb,this['changeId']=_0x401dcb['id'];const _0x3a14c5=this['bindTemplate'],_0x3fca4b=_0x3fc9c9(_0x3fe4e0,_0x401dcb['data']['isSuggestion']?'Suggested\x20by':'add'==_0x401dcb['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x401dcb['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3a14c5['to']('type',_0x126f22=>'ck-revision-change__'+_0x126f22)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3fca4b}]},{'text':'\x20'+_0x401dcb['author']['name']}]}]});}['focus'](){this['element']['focus']();}};const _0x5597da=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x47d8f2=class extends _0x5597da{['id'];author;type;data;rootName;constructor(_0x5e1d7c){super(),this['id']=_0x5e1d7c['id']||(0x0,_0x491313['uid'])(),this['author']=_0x5e1d7c['author'],this['type']=_0x5e1d7c['type'],this['data']=_0x5e1d7c['data']||{},this['rootName']=_0x5e1d7c['rootName'],this['set']('createdAt',_0x5e1d7c['createdAt']);}toJSON(){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}},_0x3aa255=class{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x42c465,_0x394c0a){this['newRevisionId']=_0x42c465,this['oldRevisionId']=_0x394c0a,this['changes']=new _0x491313['Collection']();}_setChanges(_0x30b7b5){for(const _0x28cdc4 of _0x30b7b5)this['changes']['add'](_0x28cdc4);}},_0x9bb8a8=class extends _0x491313['Plugin']{repository;adapter=null;_utils;_activeViewTarget;['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x16b3af,_0x491313['ContextualBalloon'],_0x29874f,_0xa3c5e0];}constructor(_0x26ca84){super(_0x26ca84),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0xc0f5f2,_0x4fd3e8,_0x2cf939)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x438495=>{for(const _0x102e6b of this['editor']['editing']['view']['document']['roots'])_0x2cf939?_0x438495['removeClass']('ck-editor__editable__overlay',_0x102e6b):_0x438495['addClass']('ck-editor__editable__overlay',_0x102e6b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x232c35=>null!==_0x232c35),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x22df8f,_0x2b19c4,_0x5c2946)=>_0x22df8f&&_0x5c2946?_0x2b19c4['changes']['getIndex'](_0x5c2946):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x21eae0,_0x5d6a9a)=>_0x21eae0?_0x5d6a9a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](_0x491313['ContextualBalloon']);}init(){const _0x328341=this['editor'],_0x5d4af3=new _0x222fbd(_0x328341,{'direction':'backward'}),_0x52df43=new _0x222fbd(_0x328341,{'direction':'forward'});_0x328341['commands']['add']('showPreviousChange',_0x5d4af3),_0x328341['commands']['add']('showNextChange',_0x52df43),_0x328341['commands']['add']('restoreRevision',new _0xe146d1(_0x328341)),this['on']('change:numberOfChanges',()=>{_0x5d4af3['refresh'](),_0x52df43['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x328341['enableReadOnlyMode']('revision-viewer'),_0x328341['plugins']['has']('WidgetToolbarRepository')&&_0x328341['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async getRevisionDocumentData(_0x30d108){return await this['_utils']['loadRevisionData'](_0x30d108,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x30d108);}async getRevisionRootsAttributes(_0x2e9931){return await this['_utils']['loadRevisionData'](_0x2e9931,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x2e9931);}async['compare'](_0x2703a6,_0x2aff59,_0x223e09=!0x1){if(!this['isEnabled'])return;const _0x1d6c7a=this['diff'],_0x185c16=this['repository'],_0x269602='string'==typeof _0x2703a6?_0x185c16['getRevision'](_0x2703a6):_0x2703a6,_0x455294='string'==typeof _0x2aff59?_0x185c16['getRevision'](_0x2aff59):_0x2aff59,_0xf2691a=_0x269602['id'],_0x40dbeb=_0x455294?_0x455294['id']:null;if(!_0x223e09&&this['diff']&&this['diff']['newRevisionId']===_0xf2691a&&this['diff']['oldRevisionId']===_0x40dbeb)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x3aa255(_0xf2691a,_0x40dbeb);const _0x2b225c=this['_getRevisionsRange'](_0x269602,_0x455294,!0x0)['map'](_0x240841=>this['_utils']['loadRevisionData'](_0x240841,this['adapter']));return _0x2b225c['push'](new Promise(_0x945285=>{setTimeout(_0x945285,0x14);})),Promise['all'](_0x2b225c)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xfadb0c=this['_getDiff'](_0xf2691a,_0x40dbeb);for(const _0x152c26 of _0xfadb0c['changes'])this['_changeIdToChange']['set'](_0x152c26['id'],_0x152c26);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4b3672=>{for(const _0x56bdbb of this['editor']['model']['document']['getRootNames']())_0x4b3672['detachRoot'](_0x56bdbb);for(const _0x49c597 of Object['keys'](_0xfadb0c['model'])){const _0x14ed92=_0xfadb0c['model'][_0x49c597]['name'],_0xc5d771=_0x4b3672['addRoot'](_0x49c597,_0x14ed92);for(const _0x9caeac of Object['keys'](_0xfadb0c['attributes'][_0x49c597]))_0x4b3672['setAttribute'](_0x9caeac,_0xfadb0c['attributes'][_0x49c597][_0x9caeac],_0xc5d771);_0x4b3672['insert'](_0xfadb0c['model'][_0x49c597],_0xc5d771,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xfadb0c['changes'])),this['isReady']=!0x0;})['catch'](_0xea151d=>{console['error'](_0xea151d),this['_cleanUp'](),_0x1d6c7a&&(this['diff']=_0x1d6c7a),this['isReady']=!0x0;});}addRevisionData(_0x34305e,_0x4c00a6){const _0x1391c2=this['repository']['createRevision'](_0x34305e);return _0x1391c2['on']('_update',(_0x2e8b57,_0x3141b5,_0x202b01)=>_0x4c00a6(_0x3141b5,_0x202b01,_0x1391c2)),this['repository']['addRevision'](_0x1391c2),_0x1391c2;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xaadd21=>{for(const _0x4cafb4 of this['editor']['model']['document']['getRootNames']())_0xaadd21['detachRoot'](_0x4cafb4);});}_sortAndFilterDiffChanges(_0x444c47){const _0x18d87c=[],_0x1d9f7c=new Map();for(const _0x3dc1f3 of this['editor']['model']['document']['getRootNames']()){const _0x1dd996=this['editor']['editing']['view']['getDomRoot'](_0x3dc1f3);if(!_0x1dd996)continue;const _0x18dd6d=_0x1dd996['getClientRects']()['item'](0x0);_0x18dd6d&&(_0x18d87c['push'](_0x3dc1f3),_0x1d9f7c['set'](_0x3dc1f3,_0x18dd6d));}return _0x18d87c['sort']((_0x129057,_0x476c46)=>{const _0x2e9b0c=_0x1d9f7c['get'](_0x129057),_0x18e9db=_0x1d9f7c['get'](_0x476c46);return _0x2e9b0c['y']-_0x18e9db['y']||_0x2e9b0c['x']-_0x18e9db['x'];}),(_0x444c47=_0x444c47['filter'](_0x22fa5a=>_0x18d87c['includes'](_0x22fa5a['rootName'])))['sort']((_0x322b5a,_0x534722)=>_0x18d87c['indexOf'](_0x322b5a['rootName'])-_0x18d87c['indexOf'](_0x534722['rootName'])),_0x444c47;}['_makeTape'](_0x5155fa){const _0x8b61e3=Array['from'](_0x5155fa['markers'])['filter'](([_0x101b67,_0x191665])=>_0x101b67['startsWith']('revision:')&&!_0x191665['isCollapsed']),_0x1e306b=Array['from'](this['editor']['model']['createRangeIn'](_0x5155fa)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x8b61e3['length'])for(const _0x46f63c of _0x1e306b){const [_0x2e587b,_0x51fa30]=_0x8b61e3[0x0],[,_0x2f3a3c,_0x206d8e]=_0x2e587b['split'](':');if(_0x51fa30['end']['isEqual'](_0x46f63c['nextPosition'])&&_0x8b61e3['shift'](),(_0x46f63c['previousPosition']['isEqual'](_0x51fa30['start'])||_0x46f63c['previousPosition']['isAfter'](_0x51fa30['start']))&&('insertion'==_0x2f3a3c?_0x46f63c['isAdded']={'userId':_0x206d8e}:'deletion'==_0x2f3a3c&&(_0x46f63c['isRemoved']={'userId':_0x206d8e})),0x0==_0x8b61e3['length'])break;}return _0x1e306b;}_refreshStartEndIndex(_0x4ee317){const _0x34c740=new Map();for(let _0x30e3f9=0x0;_0x30e3f9<_0x4ee317['length'];_0x30e3f9++)'text'===_0x4ee317[_0x30e3f9]['type']?(_0x4ee317[_0x30e3f9]['item']['startIndex']=_0x30e3f9,_0x4ee317[_0x30e3f9]['item']['endIndex']=_0x30e3f9):('elementStart'===_0x4ee317[_0x30e3f9]['type']?_0x4ee317[_0x30e3f9]['item']['startIndex']=_0x30e3f9:'elementEnd'===_0x4ee317[_0x30e3f9]['type']&&(_0x4ee317[_0x30e3f9]['item']['endIndex']=_0x30e3f9),_0x34c740['set'](_0x4ee317[_0x30e3f9]['id'],_0x30e3f9));for(const _0x56535e of _0x34c740['values']())'elementStart'===_0x4ee317[_0x56535e]['type']?_0x4ee317[_0x56535e]['item']['endIndex']=_0x34c740['get'](_0x4ee317[_0x56535e]['pairId']):'elementEnd'===_0x4ee317[_0x56535e]['type']&&(_0x4ee317[_0x56535e]['item']['startIndex']=_0x34c740['get'](_0x4ee317[_0x56535e]['pairId']));}['_processTape'](_0xa50235){for(let _0x1f20df=0x0;_0x1f20df<_0xa50235['length'];_0x1f20df++){if('elementStart'===_0xa50235[_0x1f20df]['type'])_0xa50235[_0x1f20df]['item']['startIndex']=_0x1f20df;else{if('elementEnd'===_0xa50235[_0x1f20df]['type']){_0xa50235[_0x1f20df]['item']['endIndex']=_0x1f20df;const _0x49d5b0=_0xa50235[_0x1f20df]['item']['startIndex'];_0xa50235[_0x49d5b0]['pairId']=_0xa50235[_0x1f20df]['id'],_0xa50235[_0x1f20df]['pairId']=_0xa50235[_0x49d5b0]['id'];}else _0xa50235[_0x1f20df]['item']['startIndex']=_0x1f20df,_0xa50235[_0x1f20df]['item']['endIndex']=_0x1f20df,_0xa50235[_0x1f20df]['pairId']=null;}_0xa50235[_0x1f20df]['markersStart']||(_0xa50235[_0x1f20df]['markersStart']=[],_0xa50235[_0x1f20df]['markersEnd']=[]);}}_markInsertions(_0x210171,_0x5d80a1){const _0x939b54=_0x210171['filter'](_0x62503e=>!_0x62503e['isAdded']);for(let _0x275848=0x0;_0x275848<_0x5d80a1['length'];_0x275848++)_0x5d80a1[_0x275848]['isAdded']&&(_0x939b54[_0x275848]['isAdded']=_0x5d80a1[_0x275848]['isAdded']);}_getDiff(_0x2db7ca,_0x2f8212=null){const _0x45767c=this['repository']['getRevision'](_0x2db7ca),_0x28d8a7=_0x2f8212?this['repository']['getRevision'](_0x2f8212):null,_0xada17=this['_getRevisionsRange'](_0x45767c,_0x28d8a7),_0x1ae39a=_0xada17[_0xada17['length']-0x1],_0x169bdd=new Map(),_0x322209={'model':{},'attributes':{},'changes':[]},_0x2eb6e2=new Set(),_0x3b2338=new Map();for(let _0x13ef7b=_0xada17['length']-0x1;_0x13ef7b>=0x0;_0x13ef7b--){const _0x27f3fe=_0xada17[_0x13ef7b];for(const _0x3fc3b9 of Object['keys'](_0x27f3fe['diffData']))if(_0x27f3fe['diffData'][_0x3fc3b9]['attachChange']){const _0x495c9a=_0x27f3fe['diffData'][_0x3fc3b9]['attachChange'];_0x495c9a['isAttached']?(_0x2eb6e2['add'](_0x3fc3b9),_0x3b2338['has'](_0x3fc3b9)&&_0x3b2338['get'](_0x3fc3b9)['userId']==_0x495c9a['userId']?_0x3b2338['delete'](_0x3fc3b9):_0x3b2338['set'](_0x3fc3b9,_0x495c9a)):_0x3b2338['has'](_0x3fc3b9)?(_0x2eb6e2['delete'](_0x3fc3b9),_0x3b2338['delete'](_0x3fc3b9)):(_0x2eb6e2['add'](_0x3fc3b9),_0x3b2338['set'](_0x3fc3b9,_0x495c9a));}else _0x2eb6e2['add'](_0x3fc3b9);}for(const _0x4d8497 of _0x2eb6e2){const _0x11b7c2=_0x3b2338['has'](_0x4d8497)&&!_0x3b2338['get'](_0x4d8497)['isAttached'];let _0x254c79=_0x11b7c2?_0xada17['length']-0x1:0x0;const _0x4f3b37=_0x11b7c2?-0x1:0x1;for(;_0xada17[_0x254c79];){const _0x2feec8=_0xada17[_0x254c79];if(_0x2feec8['diffData'][_0x4d8497]){const _0x57fe1d=_0x11b7c2?_0x2feec8['diffData'][_0x4d8497]['attributesBefore']:_0x2feec8['diffData'][_0x4d8497]['attributesAfter'];_0x322209['attributes'][_0x4d8497]=_0x57fe1d?wt(_0x57fe1d):{};break;}_0x254c79+=_0x4f3b37;}}for(const _0x384f73 of _0xada17){_0x384f73['model']={};for(const _0x13623e of _0x384f73['authors'])_0x169bdd['set'](_0x13623e['id'],_0x13623e);for(const _0x37b0c6 of _0x2eb6e2){const _0x13a264=_0x384f73['diffData'][_0x37b0c6]?_0x384f73['diffData'][_0x37b0c6]['insertions']:'[]',_0x221c5b=_0x384f73['diffData'][_0x37b0c6]?_0x384f73['diffData'][_0x37b0c6]['deletions']:'[]',_0x43c9e1=_0x384f73['diffData'][_0x37b0c6]?.['rootElementName']||'$root';_0x384f73['model'][_0x37b0c6]={'insertions':this['_utils']['_makeModelFromViewString'](_0x13a264,_0x43c9e1),'deletions':this['_utils']['_makeModelFromViewString'](_0x221c5b,_0x43c9e1)};}}for(const _0x12e1a5 of _0x2eb6e2){let _0x3c7ea5=null,_0x58f421=0x0;const _0x16ee42=_0xada17['map'](_0x5b29e2=>_0x5b29e2['diffData'][_0x12e1a5]?.['rootElementName'])['find'](_0x2ae2f1=>void 0x0!==_0x2ae2f1)||'$root',_0x376a96=new Map(Array['from'](_0x45767c['model'][_0x12e1a5]['insertions']['markers'])['filter'](([_0x5516ed])=>!_0x5516ed['startsWith']('revision:')));let _0x2e1961=0x0;for(const _0x265075 of _0xada17){const _0x2d96f6=this['_makeTape'](_0x265075['model'][_0x12e1a5]['insertions']);_0x265075==_0x45767c?(_0x3c7ea5=_0x2d96f6,_0x58f421=_0x3c7ea5['length'],_0x3c7ea5['forEach'](_0x524c2b=>{_0x524c2b['id']=_0x2e1961++;}),this['_processTape'](_0x3c7ea5)):this['_markInsertions'](_0x3c7ea5,_0x2d96f6);const _0x8910e3=_0x3c7ea5['filter'](_0x10e58c=>!_0x10e58c['isAdded'])['map'](_0xa6e79d=>_0xa6e79d['id']);let _0x2e911f=0x0;const _0x2a50fe=this['_makeTape'](_0x265075['model'][_0x12e1a5]['deletions']);_0x2a50fe['forEach'](_0x13607b=>{_0x13607b['isRemoved']?_0x13607b['id']=_0x58f421++:_0x13607b['id']=_0x8910e3[_0x2e911f++];}),this['_processTape'](_0x2a50fe),this['_setDistance'](_0x3c7ea5,'isAdded'),this['_setDistance'](_0x2a50fe,'isRemoved'),_0x265075==_0x45767c&&this['_markMarkers'](_0x3c7ea5,_0x376a96),_0x3c7ea5=this['_joinTapes'](_0x3c7ea5,_0x2a50fe),this['_refreshStartEndIndex'](_0x3c7ea5),this['_setDistance'](_0x3c7ea5,'isRemoved');}_0x3c7ea5=_0x3c7ea5['filter'](_0x1ab763=>!(_0x1ab763['isAdded']&&_0x1ab763['isRemoved']));const _0x5eb1eb=new Map(_0x1ae39a['model'][_0x12e1a5]['deletions']['markers']),_0x563fe1=new Set(_0x376a96['keys']());for(const _0x3221f1 of _0x5eb1eb['keys']())_0x563fe1['delete'](_0x3221f1);this['_markSuggestions'](_0x3c7ea5,_0x563fe1),this['_fixObsoleteTags'](_0x3c7ea5),_0x3c7ea5=this['_removeMissingPairs'](_0x3c7ea5),_0x3c7ea5=this['_markMismatchedRemovedTags'](_0x3c7ea5),_0x3c7ea5=this['_removeUnsupportedChanges'](_0x3c7ea5);const {root:_0xafb917,changes:_0x4e29eb}=this['_makeModelFromTape'](_0x3c7ea5,_0x169bdd,_0x12e1a5,_0x16ee42);_0x322209['model'][_0x12e1a5]=_0xafb917;const _0x52940a=_0x3b2338['get'](_0x12e1a5);if(_0x52940a){const _0x1e67c7=new _0x47d8f2({'author':_0x169bdd['get'](_0x52940a['userId']),'type':_0x52940a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x12e1a5});_0x4e29eb['unshift'](_0x1e67c7),_0x322209['attributes'][_0x12e1a5]['revisionHistoryAttachChange']=_0x1e67c7['id'];}_0x322209['changes']=_0x322209['changes']['concat'](_0x4e29eb);}return _0x322209;}['_markMarkers'](_0x2a539d,_0x2087f5){for(let _0x303ade=0x0;_0x303ade<_0x2a539d['length'];_0x303ade++)for(const [_0x4bd5d6,_0x43658d]of _0x2087f5)!_0x43658d['isCollapsed']&&_0x43658d['start']['isEqual'](_0x2a539d[_0x303ade]['previousPosition'])&&_0x2a539d[_0x303ade]['markersStart']['push'](_0x4bd5d6),_0x43658d['end']['isEqual'](_0x2a539d[_0x303ade]['nextPosition'])&&_0x2a539d[_0x303ade]['markersEnd']['push'](_0x4bd5d6);}['_joinTapes'](_0x5ee585,_0x4eb065){let _0x2444ec=[],_0x151f9c=0x0,_0x5390b1=0x0;for(;_0x151f9c<_0x5ee585['length']||_0x5390b1<_0x4eb065['length'];){const _0x4509d9=_0x5ee585[_0x151f9c]||{},_0x5c36be=_0x4eb065[_0x5390b1]||{};if(_0x4509d9['id']==_0x5c36be['id'])_0x151f9c++,_0x5390b1++,_0x2444ec['push'](_0x4509d9);else{if(_0x5c36be['isRemoved']&&_0x4509d9['isAdded']){const {commonTape:_0x99b6e9,iEnd:_0x188858,jEnd:_0x18f1b0}=this['_threeWayMerge'](_0x5ee585,_0x151f9c,_0x4eb065,_0x5390b1);_0x2444ec=_0x2444ec['concat'](_0x99b6e9),_0x151f9c=_0x188858,_0x5390b1=_0x18f1b0;}else _0x5c36be['isRemoved']?(_0x5390b1++,_0x2444ec['push'](_0x5c36be)):(_0x151f9c++,_0x2444ec['push'](_0x4509d9));}}return _0x2444ec;}_markSuggestions(_0x52685e,_0x29d170){const _0x1cc7f9=[];for(let _0x46a690=0x0;_0x46a690<_0x52685e['length'];_0x46a690++){for(let _0x18b517=0x0;_0x18b517<_0x52685e[_0x46a690]['markersStart']['length'];_0x18b517++){const _0x4a4068=_0x52685e[_0x46a690]['markersStart'][_0x18b517];if(!_0x29d170['has'](_0x4a4068))continue;const {group:_0x5a2355,type:_0x18681c,authorId:_0x3790ec}=_0x1b2edc(_0x4a4068);'revision-suggestion'!=_0x5a2355||'insertion'!=_0x18681c&&'deletion'!=_0x18681c||(_0x1cc7f9['unshift']({'type':_0x18681c,'name':_0x4a4068,'userId':_0x3790ec}),_0x52685e[_0x46a690]['markersStart']['splice'](_0x18b517,0x1),_0x18b517--);}_0x56b51f(_0x52685e[_0x46a690]);for(let _0x19dd95=0x0;_0x19dd95<_0x52685e[_0x46a690]['markersEnd']['length'];_0x19dd95++){const _0x569ade=_0x52685e[_0x46a690]['markersEnd'][_0x19dd95];if(!_0x29d170['has'](_0x569ade))continue;const {group:_0x2462f8,type:_0x142417}=_0x1b2edc(_0x569ade);if('revision-suggestion'!=_0x2462f8||'insertion'!=_0x142417&&'deletion'!=_0x142417)continue;_0x52685e[_0x46a690]['markersEnd']['splice'](_0x19dd95,0x1),_0x19dd95--;const _0x47b12d=_0x1cc7f9['findIndex'](_0x1836c0=>_0x1836c0['name']==_0x569ade);_0x47b12d>-0x1&&_0x1cc7f9['splice'](_0x47b12d,0x1);}}function _0x1b2edc(_0x221d20){const _0x5c4130=_0x221d20['split'](':');return{'group':_0x5c4130[0x0],'type':_0x5c4130[0x1],'subType':_0x5c4130['length']>=0x5?_0x5c4130[0x2]:null,'id':_0x5c4130['length']<0x5?_0x5c4130[0x2]:_0x5c4130[0x3],'authorId':_0x5c4130['length']<0x5?_0x5c4130[0x3]:_0x5c4130[0x4],'markerCount':0x6==_0x5c4130['length']?_0x5c4130[0x5]:null};}function _0x56b51f(_0x212c9e){for(let _0x574077=0x0;_0x574077<_0x1cc7f9['length'];_0x574077++){if(_0x212c9e['isAdded']&&'insertion'==_0x1cc7f9[_0x574077]['type']&&_0x212c9e['isAdded']['userId']==_0x1cc7f9[_0x574077]['userId'])return _0x212c9e['isAddSuggestion']=_0x1cc7f9[_0x574077],void delete _0x212c9e['isAdded'];if(!_0x212c9e['isAdded']&&!_0x212c9e['isRemoved']&&'deletion'==_0x1cc7f9[_0x574077]['type'])return void(_0x212c9e['isRemoveSuggestion']=_0x1cc7f9[_0x574077]);}}}_setDistance(_0x1a43e1,_0x4f5614){let _0x508997=0x0,_0x22f7d9=!0x1;const _0x3cf788=new Map();for(const _0x50fd43 of _0x1a43e1)_0x50fd43[_0x4f5614]?_0x22f7d9&&(_0x508997++,_0x22f7d9=!0x1):(_0x508997++,_0x22f7d9=!0x0),_0x3cf788['set'](_0x50fd43['id'],_0x508997);for(let _0x364ad8=0x0;_0x364ad8<_0x1a43e1['length'];_0x364ad8++){if('isRemoved'==_0x4f5614&&_0x1a43e1[_0x364ad8]['isAdded']||'isAdded'==_0x4f5614&&_0x1a43e1[_0x364ad8]['isRemoved'])continue;if('text'==_0x1a43e1[_0x364ad8]['type']){_0x1a43e1[_0x364ad8]['distance']=0x0;continue;}const _0x2a38e2=_0x3cf788['get'](_0x1a43e1[_0x364ad8]['pairId']),_0x5de501=_0x3cf788['get'](_0x1a43e1[_0x364ad8]['id']);_0x1a43e1[_0x364ad8]['distance']=_0x2a38e2-_0x5de501;}}_getRevisionsRange(_0x57d485,_0x4027eb,_0x1e3b28=!0x1){const _0x13aff1=[];let _0x3f4386=this['repository']['getIndex'](_0x57d485),_0xc02e7d=this['repository']['getIndex'](_0x4027eb);for(-0x1==_0xc02e7d&&(_0xc02e7d=this['repository']['_revisions']['length'],_0x1e3b28=!0x1);_0x3f4386<_0xc02e7d;)_0x13aff1['push'](this['repository']['getRevision'](_0x3f4386)),_0x3f4386++;return _0x1e3b28&&_0x13aff1['push'](this['repository']['getRevision'](_0x3f4386)),_0x13aff1;}_threeWayMerge(_0x1dcd5d,_0x4910bd,_0x2cf5f9,_0x12240d){const _0x554229=this['editor']['model']['schema'];let _0x263b77=_0x4910bd;for(;_0x1dcd5d[_0x263b77]&&_0x1dcd5d[_0x263b77]['isAdded'];)_0x263b77++;let _0x1bf4ae=_0x12240d;for(;_0x2cf5f9[_0x1bf4ae]&&_0x2cf5f9[_0x1bf4ae]['isRemoved'];)_0x1bf4ae++;_0x5e72b7(_0x1dcd5d,_0x4910bd,_0x263b77),_0x5e72b7(_0x2cf5f9,_0x12240d,_0x1bf4ae);const _0x1b4a45=_0x2cf5f9['slice'](_0x12240d,_0x1bf4ae)['concat'](_0x1dcd5d['slice'](_0x4910bd,_0x263b77));return _0x1b4a45['sort']((_0x1609c7,_0x3bea3e)=>_0x1609c7['side']!=_0x3bea3e['side']?_0x1609c7['side']-_0x3bea3e['side']:_0x1609c7['level']!=_0x3bea3e['level']?_0x1609c7['level']-_0x3bea3e['level']:_0x1609c7['distance']!=_0x3bea3e['distance']?_0x3bea3e['distance']-_0x1609c7['distance']:!!_0x1609c7['isAdded']!=!!_0x3bea3e['isAdded']?-0x1==_0x1609c7['side']||0x0==_0x1609c7['side']?_0x1609c7['isAdded']?-0x1:0x1:_0x1609c7['isAdded']?0x1:-0x1:_0x1609c7['index']-_0x3bea3e['index']),{'commonTape':_0x1b4a45,'iEnd':_0x263b77,'jEnd':_0x1bf4ae};function _0x5e72b7(_0x289d1c,_0x3f19bb,_0x3feba3){let _0x3c43a7=-0x1,_0x47ae35=Number['POSITIVE_INFINITY'],_0x220c12=!0x0;for(let _0xaf9ac0=_0x3f19bb;_0xaf9ac0<_0x3feba3;_0xaf9ac0++)if(_0x554229['isInline'](_0x289d1c[_0xaf9ac0]['item'])||(_0x220c12=!0x1),_0x289d1c[_0xaf9ac0]['item']['startIndex']<_0x3f19bb&&(_0x3c43a7=_0xaf9ac0),_0x289d1c[_0xaf9ac0]['item']['endIndex']>=_0x3feba3){_0x47ae35=_0xaf9ac0;break;}_0x220c12&&(_0x3c43a7=_0x3feba3-0x1);for(let _0x5582b3=_0x3f19bb;_0x5582b3<_0x3feba3;_0x5582b3++)_0x289d1c[_0x5582b3]['side']=_0x5582b3<=_0x3c43a7?-0x1:_0x5582b3<_0x47ae35?0x0:0x1,_0x289d1c[_0x5582b3]['index']=_0x5582b3;let _0x24e407=0x0;for(let _0x14fc8c=_0x3f19bb;_0x14fc8c<=_0x3c43a7;_0x14fc8c++)0x0==_0x289d1c[_0x14fc8c]['distance']?_0x289d1c[_0x14fc8c]['level']=_0x24e407:(_0x24e407++,_0x289d1c[_0x14fc8c]['level']=_0x24e407,_0x24e407++);for(let _0x199b39=_0x3f19bb;_0x199b39<_0x3feba3;_0x199b39++)0x0==_0x289d1c[_0x199b39]['side']&&(_0x289d1c[_0x199b39]['level']=_0x24e407);_0x24e407=0x0;for(let _0x3227c2=_0x3feba3-0x1;_0x3227c2>=_0x47ae35;_0x3227c2--)0x0==_0x289d1c[_0x3227c2]['distance']?_0x289d1c[_0x3227c2]['level']=_0x24e407:(_0x24e407--,_0x289d1c[_0x3227c2]['level']=_0x24e407,_0x24e407--);}}_fixObsoleteTags(_0x535c0f){const _0x14ad4b=new Map(),_0x5ce7ec=this['editor']['model']['schema'];for(let _0x5be97f=0x1;_0x5be97f<_0x535c0f['length'];_0x5be97f++){let _0x25bf1c,_0x213724,_0x283f9b;const _0x3b7e74=_0x535c0f[_0x5be97f],_0xe1a78b=_0x535c0f[_0x5be97f-0x1];if('text'==_0x3b7e74['type'])continue;if(_0x3b7e74['type']!=_0xe1a78b['type'])continue;if(!_0x5ce7ec['isBlock'](_0xe1a78b['item'])||_0x5ce7ec['isLimit'](_0xe1a78b['item']))continue;if(!_0x5ce7ec['isBlock'](_0x3b7e74['item'])||_0x5ce7ec['isLimit'](_0x3b7e74['item']))continue;if((_0x535c0f[_0x5be97f]['isAdded']||_0x535c0f[_0x5be97f]['isAddSuggestion'])&&_0x535c0f[_0x5be97f-0x1]['isRemoved'])_0x25bf1c=_0x535c0f[_0x5be97f],_0x213724=_0x535c0f[_0x5be97f-0x1],_0x283f9b=_0x5be97f-0x1;else{if(!_0x535c0f[_0x5be97f]['isRemoved']||!_0x535c0f[_0x5be97f-0x1]['isAdded']&&!_0x535c0f[_0x5be97f-0x1]['isAddSuggestion'])continue;_0x25bf1c=_0x535c0f[_0x5be97f-0x1],_0x213724=_0x535c0f[_0x5be97f],_0x283f9b=_0x5be97f;}const _0x997db=_0x25bf1c['level']==_0x213724['level'],_0x4a828f=Math['abs'](_0x25bf1c['level'])<Math['abs'](_0x213724['level'])&&0x0==_0x213724['distance'];(_0x997db||_0x4a828f)&&(_0x14ad4b['set'](_0x213724['id'],_0x25bf1c['id']),_0x535c0f['splice'](_0x283f9b,0x1),_0x5be97f--,_0x25bf1c['isAdded']=!0x1);}for(let _0x58232a=0x0;_0x58232a<_0x535c0f['length'];_0x58232a++)_0x14ad4b['has'](_0x535c0f[_0x58232a]['pairId'])&&(_0x535c0f[_0x58232a]['pairId']=_0x14ad4b['get'](_0x535c0f[_0x58232a]['pairId']));}['_removeMissingPairs'](_0x43a1b4){const _0x5dea3c=new Set(_0x43a1b4['map'](_0x3f58ff=>_0x3f58ff['id']));for(let _0x5dfdf0=0x0;_0x5dfdf0<_0x43a1b4['length'];_0x5dfdf0++)_0x5dea3c['has'](_0x43a1b4[_0x5dfdf0]['pairId'])||0x0==_0x43a1b4[_0x5dfdf0]['distance']||(_0x43a1b4[_0x5dfdf0]['isIncorrect']=!0x0);return _0x43a1b4['filter'](_0x577bb7=>!_0x577bb7['isIncorrect']);}_markMismatchedRemovedTags(_0x37cc74){const _0x8df9c4=new Set();for(let _0x2678e1=0x0;_0x2678e1<_0x37cc74['length'];_0x2678e1++){if(_0x8df9c4['has'](_0x37cc74[_0x2678e1]['id'])&&_0x37cc74[_0x2678e1]['isRemoved']&&(_0x37cc74[_0x2678e1]['isIncorrect']=!0x0),_0x37cc74[_0x2678e1]['isIncorrect'])continue;if(0x0==_0x37cc74[_0x2678e1]['distance'])continue;if('elementStart'!=_0x37cc74[_0x2678e1]['type'])continue;if(null==_0x37cc74[_0x2678e1]['pairId'])continue;let _0x2bfd80=_0x2678e1+0x1,_0x553ddb=0x0;for(;_0x37cc74[_0x2bfd80]['id']!=_0x37cc74[_0x2678e1]['pairId'];)'elementStart'==_0x37cc74[_0x2bfd80]['type']?_0x553ddb++:'elementEnd'==_0x37cc74[_0x2bfd80]['type']&&_0x553ddb--,_0x2bfd80++;if(0x0!=_0x553ddb){if(_0x37cc74[_0x2678e1]['isRemoved'])_0x37cc74[_0x2678e1]['isIncorrect']=!0x0;else{for(;_0x2bfd80!=_0x2678e1;)_0x37cc74[_0x2bfd80]['isRemoved']&&0x0!=_0x37cc74[_0x2bfd80]['distance']&&(_0x37cc74[_0x2bfd80]['isIncorrect']=!0x0,_0x8df9c4['add'](_0x37cc74[_0x2bfd80]['pairId'])),_0x2bfd80--;}}}return _0x37cc74['filter'](_0x1c76ba=>!_0x1c76ba['isIncorrect']);}_removeUnsupportedChanges(_0x241dcc){const _0x28df3e=this['editor']['model']['schema'];for(let _0x1a9a93=0x0;_0x1a9a93<_0x241dcc['length'];_0x1a9a93++){if(!(_0x241dcc[_0x1a9a93]['isAdded']||_0x241dcc[_0x1a9a93]['isAddSuggestion']||_0x241dcc[_0x1a9a93]['isRemoved']||_0x241dcc[_0x1a9a93]['isRemoveSuggestion']))continue;if(0x0==_0x241dcc[_0x1a9a93]['distance'])continue;const _0x11bc12=_0x241dcc[_0x1a9a93]['item'];_0x28df3e['isBlock'](_0x11bc12)||_0x28df3e['isLimit'](_0x11bc12)||(_0x241dcc[_0x1a9a93]['isAdded']&&delete _0x241dcc[_0x1a9a93]['isAdded'],_0x241dcc[_0x1a9a93]['isAddSuggestion']&&delete _0x241dcc[_0x1a9a93]['isAddSuggestion'],_0x241dcc[_0x1a9a93]['isRemoveSuggestion']&&delete _0x241dcc[_0x1a9a93]['isRemoveSuggestion'],_0x241dcc[_0x1a9a93]['isRemoved']&&(_0x241dcc[_0x1a9a93]['isIncorrect']=!0x0));}return _0x241dcc['filter'](_0x21f132=>!_0x21f132['isIncorrect']);}['_makeModelFromTape'](_0x50b2e8,_0x58900d,_0x1ad1f2,_0x2d420b){const _0x1aa2ff=new _0x491313['ModelDocumentFragment'](),_0x5286b6=[],_0x246286=new Map(),_0x20e72c=this['editor']['model'],_0x5cc506=_0x20e72c['schema'],_0x420e10=[_0x1aa2ff],_0x7a2c92={},_0x4b4b9a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};_0x1aa2ff['name']=_0x2d420b;let _0x108609=null;const _0x1475a7=[0x0];for(let _0x238e60=0x0;_0x238e60<_0x50b2e8['length'];_0x238e60++)if('elementStart'===_0x50b2e8[_0x238e60]['type']){_0x50b2e8[_0x238e60]['previousPosition']=_0x20e72c['createPositionFromPath'](_0x1aa2ff,_0x1475a7);const _0x7fda64=new _0x491313['ModelElement'](_0x50b2e8[_0x238e60]['item']['name'],_0x50b2e8[_0x238e60]['item']['getAttributes']());_0x420e10[0x0]['_appendChild'](_0x7fda64),_0x1475a7['push'](0x0),_0x420e10['unshift'](_0x7fda64),_0x50b2e8[_0x238e60]['nextPosition']=_0x20e72c['createPositionFromPath'](_0x1aa2ff,_0x1475a7);}else'elementEnd'===_0x50b2e8[_0x238e60]['type']?(_0x420e10['shift'](),_0x50b2e8[_0x238e60]['previousPosition']=_0x20e72c['createPositionFromPath'](_0x1aa2ff,_0x1475a7),_0x1475a7['pop'](),_0x1475a7[_0x1475a7['length']-0x1]++,_0x50b2e8[_0x238e60]['nextPosition']=_0x20e72c['createPositionFromPath'](_0x1aa2ff,_0x1475a7)):(_0x50b2e8[_0x238e60]['previousPosition']=_0x20e72c['createPositionFromPath'](_0x1aa2ff,_0x1475a7),_0x108609?_0x108609['_data']+=_0x50b2e8[_0x238e60]['item']['data']:_0x108609=new _0x491313['ModelText'](_0x50b2e8[_0x238e60]['item']['data'],_0x50b2e8[_0x238e60]['item']['getAttributes']()),_0x50b2e8[_0x238e60+0x1]&&'text'===_0x50b2e8[_0x238e60+0x1]['type']&&_0x4ad61f(_0x108609,_0x50b2e8[_0x238e60+0x1]['item'])||(_0x420e10[0x0]['_appendChild'](_0x108609),_0x108609=null),_0x1475a7[_0x1475a7['length']-0x1]+=_0x50b2e8[_0x238e60]['item']['offsetSize'],_0x50b2e8[_0x238e60]['nextPosition']=_0x20e72c['createPositionFromPath'](_0x1aa2ff,_0x1475a7));for(let _0x4eba34=0x0;_0x4eba34<_0x50b2e8['length'];_0x4eba34++){const _0x3c6c09=_0x50b2e8[_0x4eba34]['previousPosition'],_0x15d9a0=_0x50b2e8[_0x4eba34]['nextPosition'];for(const _0x2efb56 of _0x50b2e8[_0x4eba34]['markersStart'])_0x246286['set'](_0x2efb56,{'start':_0x3c6c09,'end':null});_0x11f9cf('isRemoveSuggestion',_0x4eba34,_0x3c6c09,_0x15d9a0),_0x11f9cf('isAddSuggestion',_0x4eba34,_0x3c6c09,_0x15d9a0),_0x11f9cf('isRemoved',_0x4eba34,_0x3c6c09,_0x15d9a0),_0x11f9cf('isAdded',_0x4eba34,_0x3c6c09,_0x15d9a0);for(const _0x24ef99 of _0x50b2e8[_0x4eba34]['markersEnd']){const _0x41b465=_0x246286['get'](_0x24ef99);_0x41b465?_0x41b465['end']=_0x15d9a0:_0x246286['set'](_0x24ef99,{'start':_0x15d9a0,'end':_0x15d9a0});}}for(const [_0x19a304,_0x30a165]of _0x246286){const _0x13f5fe=this['editor']['model']['createRange'](_0x30a165['start'],_0x30a165['end']);_0x1aa2ff['markers']['set'](_0x19a304,_0x13f5fe);}return _0x5286b6['sort']((_0xe1f73,_0x2c1e0a)=>{const _0x2846e3=_0x1aa2ff['markers']['get']('revision:'+_0xe1f73['id']),_0x2ea7c4=_0x1aa2ff['markers']['get']('revision:'+_0x2c1e0a['id']);return _0x2846e3['start']['isBefore'](_0x2ea7c4['start'])?-0x1:_0x2846e3['start']['isAfter'](_0x2ea7c4['start'])?0x1:_0x2846e3['end']['isBefore'](_0x2ea7c4['end'])?-0x1:_0x2846e3['end']['isAfter'](_0x2ea7c4['end'])?0x1:'add'===_0xe1f73['type']?-0x1:0x1;}),{'root':_0x1aa2ff,'changes':_0x5286b6};function _0x11f9cf(_0x4df500,_0x1dfe6d,_0x100972,_0x36603d){const _0x3d2b5b=!!_0x50b2e8[_0x1dfe6d][_0x4df500],_0x5f83f9=_0x3d2b5b?_0x50b2e8[_0x1dfe6d][_0x4df500]['userId']:null,_0x7ae7bd=_0x1dfe6d===_0x50b2e8['length']-0x1,_0xf11ae2=_0x4b4b9a[_0x4df500][0x0],_0x193a86=_0x5cc506['isObject'](_0x50b2e8[_0x1dfe6d]['item']);!_0x7a2c92[_0x4df500]&&_0x3d2b5b?_0x7a2c92[_0x4df500]={'start':_0x100972,'tapeItem':_0x50b2e8[_0x1dfe6d],'userId':_0x5f83f9,'type':_0x4df500}:_0x7a2c92[_0x4df500]&&!_0x3d2b5b?(_0x7a2c92[_0x4df500]['end']=_0x100972,_0x262004(_0x7a2c92[_0x4df500]),_0x7a2c92[_0x4df500]=null):_0x7a2c92[_0x4df500]&&_0x3d2b5b&&_0x7a2c92[_0x4df500]['userId']!==_0x5f83f9&&(_0x7a2c92[_0x4df500]['end']=_0x100972,_0xf11ae2&&_0xf11ae2['userId']===_0x7a2c92[_0x4df500]['userId']||_0x262004(_0x7a2c92[_0x4df500]),_0x7a2c92[_0x4df500]={'start':_0x100972,'tapeItem':_0x50b2e8[_0x1dfe6d],'userId':_0x5f83f9,'type':_0x4df500}),_0x7a2c92[_0x4df500]&&_0x193a86&&('elementStart'!==_0x50b2e8[_0x1dfe6d]['type']||_0xf11ae2&&_0xf11ae2['userId']===_0x5f83f9||_0x4b4b9a[_0x4df500]['unshift']({'userId':_0x5f83f9,'object':_0x50b2e8[_0x1dfe6d]['item'],'change':_0x7a2c92[_0x4df500]}),'elementEnd'===_0x50b2e8[_0x1dfe6d]['type']&&_0xf11ae2&&_0xf11ae2['object']===_0x50b2e8[_0x1dfe6d]['item']&&(_0x4b4b9a[_0x4df500]['shift'](),_0x7a2c92[_0x4df500]=_0xf11ae2['change'])),_0x7a2c92[_0x4df500]&&_0x7ae7bd&&(_0x7a2c92[_0x4df500]['end']=_0x36603d,_0x262004(_0x7a2c92[_0x4df500]),_0x7a2c92[_0x4df500]=null);}function _0x262004({start:_0x40ae19,end:_0x1315f3,tapeItem:_0x5a94e2,userId:_0x3960f4,type:_0x1726f2}){const _0x8ebae5=_0x5a94e2['item'],_0x3dd311=_0x20e72c['schema']['isBlock'](_0x8ebae5)&&!_0x20e72c['schema']['isLimit'](_0x8ebae5),_0x2ace33=_0x40ae19['nodeAfter']==_0x1315f3['parent']&&_0x1315f3['isAtStart'];if(_0x3dd311&&_0x2ace33)return;const _0xc4fa3b=_0x20e72c['createRange'](_0x40ae19,_0x1315f3),_0x26f8ef=new _0x47d8f2({'author':_0x58900d['get'](_0x3960f4),'type':'isAdded'==_0x1726f2||'isAddSuggestion'==_0x1726f2?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1726f2||'isRemoveSuggestion'==_0x1726f2},'createdAt':new Date(),'rootName':_0x1ad1f2});_0x5286b6['push'](_0x26f8ef),_0x1aa2ff['markers']['set']('revision:'+_0x26f8ef['id'],_0xc4fa3b);}function _0x4ad61f(_0x5d8a0d,_0x3b2ed8){const _0x1bc93f=_0x5d8a0d['getAttributes'](),_0x2a67f0=_0x3b2ed8['getAttributes']();for(const _0x188d65 of _0x1bc93f){if(_0x188d65[0x1]!==_0x3b2ed8['getAttribute'](_0x188d65[0x0]))return!0x1;_0x2a67f0['next']();}return _0x2a67f0['next']()['done'];}}_setConversion(){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x291efd=>{const _0x4ce0e5=_0x291efd['markerName']['split'](':')[0x1],_0xd76cc5=this['_getChangeFromId'](_0x4ce0e5);if(!_0xd76cc5)return null;const _0x5cc7d6='add'==_0xd76cc5['type']?'insertion':'deletion',_0x2f6cce=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5cc7d6];return _0xd76cc5['data']['isSuggestion']&&_0x2f6cce['push']('ck-suggestion-marker-'+_0x5cc7d6+'-new'),this['activeChange']==_0xd76cc5&&_0x2f6cce['push']('ck-suggestion-marker--active'),{'classes':_0x2f6cce,'attributes':{'data-change-id':_0x4ce0e5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x40d732=>{_0x40d732['on']('element:pre',(_0x34bc48,_0xb3d914,_0x3980eb)=>{const _0x4d187e=_0xb3d914['viewItem']['getChild'](0x0);if(!_0x4d187e||!_0x4d187e['is']('element','code'))return;if(!_0x3980eb['consumable']['consume'](_0x4d187e,{'attributes':['vid_start','vid_end']}))return;const _0x2482d0=_0xb3d914['modelRange']['start']['nodeAfter'];_0x3980eb['writer']['setAttribute']('vid_start',_0x4d187e['getAttribute']('vid_start'),_0x2482d0),_0x3980eb['writer']['setAttribute']('vid_end',_0x4d187e['getAttribute']('vid_end'),_0x2482d0);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4050ca=>{_0x4050ca['on']('element',(_0x2b2f49,_0x1574db,_0x477121)=>{if(!_0x477121['consumable']['consume'](_0x1574db['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1574db['modelRange']['isCollapsed'])return;const _0x412005=_0x1574db['modelRange']['start']['nodeAfter'];_0x412005['hasAttribute']('vid_start')||_0x412005['hasAttribute']('vid')||(_0x477121['writer']['setAttribute']('vid_start',_0x1574db['viewItem']['getAttribute']('vid_start'),_0x412005),_0x477121['writer']['setAttribute']('vid_end',_0x1574db['viewItem']['getAttribute']('vid_end'),_0x412005));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x1ee244=>_0x1ee244['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x29be5a,[,_0x177c41])=>{['vid_start','vid_end','vid']['includes'](_0x177c41)&&(_0x29be5a['return']=!0x0,_0x29be5a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xd214a2=>{_0xd214a2['on']('attribute:vid',(_0x27d675,_0x2679b2,_0x47ad5a)=>{if('\x20'!=_0x2679b2['item']['data']||_0x2679b2['item']['parent']['maxOffset']>0x1)return;if(!_0x47ad5a['consumable']['consume'](_0x2679b2['item'],_0x27d675['name']))return;const _0x5c9270=_0x47ad5a['writer'],_0xcde05a=_0x47ad5a['mapper']['toViewRange'](_0x2679b2['range']);_0x5c9270['wrap'](_0xcde05a,_0x5c9270['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x462886){const _0x47b3e1=_0x462886['plugins']['get']('RevisionViewer');return(_0x35cd5e,_0x19577b,_0xf86f21)=>{const _0x35751d=_0x19577b['markerName']['split'](':')[0x1],_0x4ed31b=_0x47b3e1['_getChangeFromId'](_0x35751d);if(!_0x4ed31b)return null;const _0x150f46='add'==_0x4ed31b['type']?'split':'merge';if(!_0xf86f21['consumable']['test'](_0x19577b['markerRange'],_0x35cd5e['name']))return;const _0x46e52a=_0x19577b['markerRange']['getWalker'](),_0xfbf46=_0x19577b['markerRange']['start'],_0x6addd3=_0x462886['model']['schema'];let _0x3f4577=null,_0x4c7562=null,_0x7d0efb=!0x1,_0x429c52=!0x1;for(const _0x34f611 of _0x46e52a){const _0x5c1516=_0x34f611['item'];_0x7d0efb=_0x7d0efb||_0x6addd3['isContent'](_0x5c1516);const _0x17e08a=_0xf86f21['mapper']['toViewElement'](_0x5c1516);if(_0x17e08a&&_0x17e08a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x34f611['type']&&(_0x6addd3['isBlock'](_0x5c1516)&&!_0x6addd3['isLimit'](_0x5c1516)&&(_0x5c1516['nextSibling']||_0xfbf46['isAtEnd']?_0x3f4577&&_0x3f4577['parent']==_0x5c1516||(_0x3f4577=_0x5c1516,_0x38c9e2(_0x34f611['previousPosition']),_0x429c52=!0x0):_0x4c7562=_0x4c7562||_0x34f611['previousPosition']));}function _0x38c9e2(_0x502d88){const _0x1b0586=_0xf86f21['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x150f46}),_0x2a1b99=_0xf86f21['mapper']['toViewPosition'](_0x502d88);_0x4ed31b['data']['isSuggestion']&&_0xf86f21['writer']['addClass']('ck-suggestion-marker-'+_0x150f46+'-new',_0x1b0586),_0x47b3e1['activeChange']==_0x4ed31b&&_0xf86f21['writer']['addClass']('ck-suggestion-marker--active',_0x1b0586),_0xf86f21['writer']['insert'](_0x2a1b99,_0x1b0586),_0xf86f21['mapper']['bindElementToMarker'](_0x1b0586,_0x19577b['markerName']);}_0x7d0efb||_0x429c52||!_0x4c7562||_0x38c9e2(_0x4c7562);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x252c72,_0x2c69b0,_0x52bf0f)=>{const _0x56724d=_0x52bf0f['mapper']['markerNameToElements'](_0x2c69b0['markerName']);if(_0x56724d){for(const _0x25a1a1 of _0x56724d)(_0x25a1a1['hasClass']('ck-suggestion-marker-split')||_0x25a1a1['hasClass']('ck-suggestion-marker-merge'))&&(_0x52bf0f['mapper']['unbindElementFromMarkerName'](_0x25a1a1,_0x2c69b0['markerName']),_0x52bf0f['writer']['remove'](_0x25a1a1));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x29eb60,_0x133fdf,_0x1fb7f7)=>{const _0x32decf=_0x133fdf['markerName']['split'](':')[0x1],_0x4f7bb8=this['_getChangeFromId'](_0x32decf);if(!_0x4f7bb8)return null;const _0xd881bf='add'==_0x4f7bb8['type']?'split':'merge';if(_0x1fb7f7['consumable']['test'](_0x133fdf['markerRange'],_0x29eb60['name']))for(const _0x3ae678 of _0x133fdf['markerRange']['getItems']()){if(!_0x3ae678['is']('element','softBreak'))continue;const _0x5487bd=_0x1fb7f7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xd881bf}),_0x53cce2=_0x1fb7f7['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3ae678));_0x4f7bb8['data']['isSuggestion']&&_0x1fb7f7['writer']['addClass']('ck-suggestion-marker-'+_0xd881bf+'-new',_0x5487bd),this['activeChange']==_0x4f7bb8&&_0x1fb7f7['writer']['addClass']('ck-suggestion-marker--active',_0x5487bd),_0x1fb7f7['writer']['insert'](_0x53cce2,_0x5487bd),_0x1fb7f7['mapper']['bindElementToMarker'](_0x5487bd,_0x133fdf['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x498250=>{for(const _0x2bcb74 of this['editor']['model']['document']['getRootNames']()){const _0x5e3a27=this['editor']['model']['document']['getRoot'](_0x2bcb74),_0x399fd1=this['editor']['editing']['view']['document']['getRoot'](_0x2bcb74);if(_0x399fd1){const _0x131899=_0x5e3a27['getAttribute']('revisionHistoryAttachChange');if(_0x498250['removeAttribute']('data-change-id',_0x399fd1),_0x498250['removeClass']('ck-revision-history-root-add',_0x399fd1),_0x498250['removeClass']('ck-revision-history-root-remove',_0x399fd1),_0x498250['removeClass']('ck-revision-history-root--active',_0x399fd1),_0x131899){const _0x4371a4=this['_getChangeFromId'](_0x131899);if(!_0x4371a4)return null;_0x498250['setAttribute']('data-change-id',_0x131899,_0x399fd1),_0x498250['addClass']('ck-revision-history-root-'+_0x4371a4['type'],_0x399fd1),this['activeChange']==_0x4371a4&&_0x498250['addClass']('ck-revision-history-root--active',_0x399fd1);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3c1971=>'revision-comment:'+_0x3c1971,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x356d14=>'revision-suggestion:'+_0x356d14,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x49ce87=>({'name':'suggestion:'+_0x49ce87,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1f37ef=>{const _0x155b10=_0x1f37ef['markerName']['split'](':')[0x1];return'insertion'!=_0x155b10&&'deletion'!=_0x155b10?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x155b10]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',_0x4a1998(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',_0x4a1998(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x243d3b,_0x4d715b,_0x2a08b7)=>{const _0x469870=_0x2a08b7['mapper']['markerNameToElements'](_0x4d715b['markerName']);if(_0x469870){for(const _0x46e99b of _0x469870)_0x46e99b['is']('uiElement')&&(_0x2a08b7['mapper']['unbindElementFromMarkerName'](_0x46e99b,_0x4d715b['markerName']),_0x2a08b7['writer']['remove'](_0x46e99b));}},{'priority':'high'});}_getChangeFromId(_0x6567c3){return this['_changeIdToChange']['get'](_0x6567c3);}_getViewForChange(_0x1caaf5){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new _0x3dacbb(this['editor']['locale'],_0x1caaf5),this['_changeView'];}_initInteractions(){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x540913,_0x15d009,_0x546049,_0x23d06b)=>{_0x23d06b&&this['_balloon']['remove'](_0x23d06b),_0x546049&&(this['_balloon']['add']({'view':_0x546049,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x112752=this['editor']['editing'],_0x3446d6=this['_getChangeFromId'](_0x546049['changeId']);let _0x1275f8;if(_0x3446d6['data']['isOnRoot']){const _0x1171b0=_0x112752['view']['getDomRoot'](_0x3446d6['rootName']);_0x1275f8=Array['from'](_0x1171b0['getClientRects']());}else{const _0x4bb227=this['editor']['model']['markers']['get']('revision:'+_0x546049['changeId']);_0x1275f8=Array['from'](_0x112752['mapper']['markerNameToElements'](_0x4bb227['name']))['map'](_0x4d4290=>_0x112752['view']['domConverter']['mapViewToDom'](_0x4d4290))['map'](_0x3ff496=>Array['from'](_0x3ff496['getClientRects']()))['flat']();}return this['_activeViewTarget']&&_0x1275f8['find'](_0x1cfd33=>_0x1cfd33['top']-0x3<=this['_activeViewTarget']['y']&&_0x1cfd33['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1cfd33['left']-0x3<=this['_activeViewTarget']['x']&&_0x1cfd33['right']+0x3>=this['_activeViewTarget']['x'])||_0x1275f8[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x34b8ea,_0x2f67ea,_0x3d0528,_0x334849)=>{this['activeView']=_0x3d0528?this['_getViewForChange'](_0x3d0528):null,this['editor']['model']['change'](()=>{const _0x3ecb51=this['editor']['editing'];_0x334849&&(_0x334849['data']['isOnRoot']?_0x3ecb51['view']['change'](_0x31d970=>{_0x31d970['removeClass']('ck-revision-history-root--active',_0x3ecb51['view']['document']['getRoot'](_0x334849['rootName']));}):_0x3ecb51['reconvertMarker']('revision:'+_0x334849['id'])),_0x3d0528&&(_0x3d0528['data']['isOnRoot']?_0x3ecb51['view']['change'](_0x17d47b=>{_0x17d47b['addClass']('ck-revision-history-root--active',_0x3ecb51['view']['document']['getRoot'](_0x3d0528['rootName']));}):_0x3ecb51['reconvertMarker']('revision:'+_0x3d0528['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x687a0c,_0x77cc96)=>{if(this['activeChange'])return;const _0x1f2762=this['_findChangeIdFromDomTarget'](_0x77cc96['target']),_0x5d42e6=this['_changeIdToChange']['get'](_0x1f2762);_0x5d42e6?(this['_activeViewTarget']={'x':_0x77cc96['domEvent']['x'],'y':_0x77cc96['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5d42e6)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x505a31,_0x34a1df)=>{const _0x4f9d1f=this['_findChangeIdFromDomTarget'](_0x34a1df['target']),_0x2de44b=this['_changeIdToChange']['get'](_0x4f9d1f);_0x2de44b?(this['_activeViewTarget']={'x':_0x34a1df['domEvent']['x'],'y':_0x34a1df['domEvent']['y']},_0x2de44b===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2de44b):(this['_activeViewTarget']=null,this['activeChange']=null);});}_findChangeIdFromDomTarget(_0x3b3a31){do{const _0x31c2c4=_0x3b3a31['getAttribute']('data-change-id');if(_0x31c2c4)return _0x31c2c4;_0x3b3a31=_0x3b3a31['parent'];}while(_0x3b3a31);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x25ed32=>{for(const _0x4b7d3a of this['editor']['model']['markers'])_0x25ed32['removeMarker'](_0x4b7d3a);});}};function _0x4a1998(_0x4dd60b,_0x32864a){return(_0x238ef2,_0x40bfcf,_0x500d1a)=>{if(!_0x500d1a['consumable']['test'](_0x40bfcf['markerRange'],_0x238ef2['name']))return;const _0x4e49f0=_0x40bfcf['markerRange']['getWalker'](),_0xcdb91=_0x40bfcf['markerRange']['start'],_0x162eb9=_0x4dd60b['model']['schema'];let _0x2332a5=null,_0x2c4da6=null,_0x583d75=!0x1,_0x2c884f=!0x1;for(const _0x592854 of _0x4e49f0){const _0x2407e5=_0x592854['item'];_0x583d75=_0x583d75||_0x162eb9['isContent'](_0x2407e5);const _0x274207=_0x500d1a['mapper']['toViewElement'](_0x2407e5);if(_0x274207&&_0x274207['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x592854['type']&&(_0x162eb9['isBlock'](_0x2407e5)&&!_0x162eb9['isLimit'](_0x2407e5)&&(_0x2407e5['nextSibling']||_0xcdb91['isAtEnd']?_0x2332a5&&_0x2332a5['parent']==_0x2407e5||(_0x2332a5=_0x2407e5,_0x2157ab(_0x592854['previousPosition']),_0x2c884f=!0x0):_0x2c4da6=_0x2c4da6||_0x592854['previousPosition']));}function _0x2157ab(_0x1f6224){const _0x33c99e=_0x500d1a['mapper']['toViewPosition'](_0x1f6224),_0x5c979c=_0x500d1a['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x32864a});_0x500d1a['writer']['insert'](_0x33c99e,_0x5c979c),_0x500d1a['mapper']['bindElementToMarker'](_0x5c979c,_0x40bfcf['markerName']);}_0x583d75||_0x2c884f||!_0x2c4da6||_0x2157ab(_0x2c4da6);};}var _0xe146d1=class extends _0x491313['Command']{constructor(_0x362164){super(_0x362164);const _0x3b09a5=_0x362164['plugins']['get'](_0x9bb8a8);this['affectsData']=!0x1,this['listenTo'](_0x3b09a5,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3b09a5,'change:isEnabled',()=>this['refresh']());}execute(){const _0x2052e9=this['editor'],_0x518ac9=_0x2052e9['plugins']['get'](_0x9bb8a8),_0x211682=_0x518ac9['isReady']?_0x518ac9['diff']['newRevisionId']:null;_0x2052e9['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x211682);}['refresh'](){const {isReady:_0x5d6b64,isEnabled:_0x4266fd,repository:_0x366dd8,diff:_0x28f659}=this['editor']['plugins']['get'](_0x9bb8a8),_0x1f9cbf=_0x28f659&&_0x366dd8['getLaterVisibleRevision'](_0x28f659['newRevisionId']);this['isEnabled']=_0x5d6b64&&_0x4266fd&&Boolean(_0x1f9cbf);}},_0x222fbd=class extends _0x491313['Command']{_step;constructor(_0x4c59bd,{direction:_0x9c3c73}){super(_0x4c59bd);const _0x472eb8=_0x4c59bd['plugins']['get'](_0x9bb8a8);this['affectsData']=!0x1,this['_step']='forward'===_0x9c3c73?0x1:-0x1,this['listenTo'](_0x472eb8,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x472eb8,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x472eb8,'change:activeChange',()=>this['refresh']());}execute(){const _0x525076=this['editor'],_0xb0e0c6=_0x525076['plugins']['get'](_0x9bb8a8),{isNavigationMode:_0x28062b,currentChangeNumber:_0x4e6834}=_0xb0e0c6;let _0x362b17;if(_0xb0e0c6['activeChange']=_0x28062b?_0xb0e0c6['diff']['changes']['get'](_0x4e6834+this['_step']):_0xb0e0c6['diff']['changes']['first'],_0xb0e0c6['activeChange']['data']['isOnRoot'])_0x362b17=_0x525076['editing']['view']['getDomRoot'](_0xb0e0c6['activeChange']['rootName']);else{const _0x17b988=_0x525076['model']['markers']['get']('revision:'+_0xb0e0c6['activeChange']['id']);_0x362b17=_0x5d9ca5(_0x525076['editing'],_0x17b988);}(0x0,_0x491313['scrollViewportToShowTarget'])({'target':_0x362b17,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x28ce26,currentChangeNumber:_0x2af412,numberOfChanges:_0x32886,isReady:_0x5dda6c,isEnabled:_0x31016e}=this['editor']['plugins']['get'](_0x9bb8a8);this['isEnabled']=!!(_0x31016e&&_0x5dda6c&&_0x32886)&&(!_0x28ce26||(0x1===this['_step']?_0x2af412<_0x32886-0x1:_0x2af412>0x0));}},_0x58600d=class extends _0x491313['View']{constructor(_0x2a16bd){super(_0x2a16bd);const _0x2549a0=this['bindTemplate'],_0x204200=new _0x491313['ButtonView'](_0x2a16bd),_0x4b9522=new _0x491313['ButtonView'](_0x2a16bd);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x5e4849,_0x1f9bd6)=>_0x5e4849&&_0x1f9bd6>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x40a4a9,_0x3a7259,_0x36f1cb,_0x18bcd8)=>{if(!_0x40a4a9)return _0x3fc9c9(_0x2a16bd,'Loading...');if(!_0x36f1cb)return _0x3fc9c9(_0x2a16bd,'No\x20changes');const _0x2f365b=_0x3fc9c9(_0x2a16bd,'NUMBER_OF_CHANGES',_0x36f1cb);return _0x18bcd8?_0x3fc9c9(_0x2a16bd,'X_OF_Y_CHANGES',[_0x3a7259+0x1,_0x36f1cb]):_0x2f365b;}),_0x204200['set']({'label':_0x3fc9c9(_0x2a16bd,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x491313['IconChevronUp']}),_0x4b9522['set']({'label':_0x3fc9c9(_0x2a16bd,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x491313['IconChevronDown']}),_0x204200['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4b9522['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x204200['on']('execute',()=>this['fire']('execute','backward')),_0x4b9522['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x2549a0['if']('_isStatusLabelVisible','ck-hidden',_0x173832=>!_0x173832)]},'children':[{'text':_0x2549a0['to']('isNavigationMode',_0xff66ff=>_0xff66ff?_0x3fc9c9(_0x2a16bd,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x3fc9c9(_0x2a16bd,'Total')+':\x20')}]},{'text':_0x2549a0['to']('_statusText')}]},new _0x491313['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x204200,_0x4b9522]}]});}};const _0x309e1b='ck-editor__editable__loading-overlay';var _0x2c09bc=class extends _0x491313['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x408b52=this['editor']['editing']['view'];_0x408b52['change'](_0x4ffa56=>{for(const _0x413510 of _0x408b52['document']['roots'])_0x4ffa56['addClass'](_0x309e1b,_0x413510);});}['hide'](){const _0x576faf=this['editor']['editing']['view'];_0x576faf['change'](_0x449db6=>{for(const _0x153604 of _0x576faf['document']['roots'])_0x449db6['removeClass'](_0x309e1b,_0x153604);});}},_0x32ad63=class extends _0x491313['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x9bb8a8,_0x2c09bc];}init(){const _0x388a66=this['editor'],_0x247556=_0x388a66['plugins']['get'](_0x9bb8a8),_0x1fb259=_0x388a66['plugins']['get'](_0x2c09bc);_0x388a66['ui']['componentFactory']['add']('exitToEditing',_0x28f672=>{const _0x58ebcb=new _0x491313['ButtonView'](_0x28f672);return _0x58ebcb['set']({'label':_0x3fc9c9(_0x28f672,'Back\x20to\x20editing'),'icon':_0x491313['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x58ebcb,'execute',()=>{_0x388a66['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x58ebcb;}),_0x388a66['ui']['componentFactory']['add']('restoreRevision',_0x55f0df=>{const _0x59ceab=new _0x491313['ButtonView'](_0x55f0df);return _0x59ceab['set']({'label':_0x3fc9c9(_0x55f0df,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x59ceab['bind']('isEnabled')['to'](_0x388a66['commands']['get']('restoreRevision')),this['listenTo'](_0x59ceab,'execute',()=>_0x388a66['execute']('restoreRevision')),_0x59ceab;}),_0x388a66['ui']['componentFactory']['add']('changesNavigation',_0x32c16a=>{const _0x48dcea=new _0x58600d(_0x32c16a),_0x1c9521=_0x388a66['commands']['get']('showPreviousChange'),_0xe28c77=_0x388a66['commands']['get']('showNextChange');return _0x48dcea['bind']('isBackwardNavigationEnabled')['to'](_0x1c9521,'isEnabled'),_0x48dcea['bind']('isForwardNavigationEnabled')['to'](_0xe28c77,'isEnabled'),_0x48dcea['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x247556),this['listenTo'](_0x48dcea,'execute',(_0x73f84e,_0x12eec7)=>{_0x388a66['execute']('forward'===_0x12eec7?'showNextChange':'showPreviousChange');}),_0x48dcea;}),_0x1fb259['show'](),_0x247556['on']('change:isReady',(_0x480246,_0x76456f,_0x31c637)=>{_0x31c637?_0x1fb259['hide']():_0x1fb259['show']();});}},_0x35ecf8=class extends _0x491313['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x250980,_0x4012ba){super(_0x250980,_0x4012ba);const _0x421ec7=this['bindTemplate'];this['set']({'label':_0x3fc9c9(_0x250980,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=_0x3fc9c9(_0x250980,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x421ec7['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x491313['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}destroy(){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}_updateTooltipText(){const _0x38cf8d=this['fieldView']['element'];this['_tooltipString']=_0x38cf8d['scrollWidth']>_0x38cf8d['clientWidth']&&_0x38cf8d['value']||'';}},_0x332216=class extends _0x491313['View']{constructor(_0x44ffb1,_0x44709c,_0x53cf5d){super(_0x44ffb1);const _0xeced38=new _0x491313['IconView']();_0xeced38['set']({'content':_0x491313['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x30a5f0=['ck','ck-revision-history-sidebar__revision-author'];_0x53cf5d&&_0x30a5f0['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5c1d4a=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x3fc9c9(_0x44ffb1,_0x53cf5d?'Revision\x20creator':'Revision\x20author')},'children':[_0xeced38,_0x44709c['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x30a5f0},'children':_0x5c1d4a});}};function _0x234661(_0x5b2d2c,_0x3a3561){const _0x402d30=_0x5b2d2c['bindTemplate'],_0x1accf7=_0x5b2d2c['locale'],_0x23c590=(0x0,_0x491313['createDropdown'])(_0x1accf7);_0x23c590['panelPosition']='sw';const _0x10f533=function(_0x461161,_0x446d3a){const _0x326306=function(_0x22204e,_0x58ffd5){const _0x55a06e=_0x22204e['locale'],_0x119166={'Compare\x20against\x20selected':_0x3fc9c9(_0x55a06e,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x3fc9c9(_0x55a06e,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x3fc9c9(_0x55a06e,'Restore\x20this\x20revision')};return _0x58ffd5['map'](_0x888f9e=>{const _0x1737a0=_0x119166[_0x888f9e['name']];return _0x1737a0&&_0x1737a0!==_0x888f9e['name']&&(_0x888f9e['name']=_0x1737a0),_0x888f9e;});}(_0x461161,_0x446d3a),_0x141da3=new _0x491313['Collection']();for(const _0x375ae2 of _0x326306){const _0x595881={'type':'button','model':new _0x491313['UIModel']({'label':_0x375ae2['name'],'class':_0x375ae2['class'],'withText':!0x0,'role':'menuitem','_action':_0x375ae2['action']})};_0x595881['model']['bind']('isEnabled')['to'](_0x461161,'isActionsDropdownOpen',_0x5088c7=>'function'!=typeof _0x375ae2['isEnabled']||(!_0x5088c7||_0x375ae2['isEnabled'](_0x461161))),_0x141da3['add'](_0x595881);}return _0x141da3;}(_0x5b2d2c,_0x3a3561);return _0x5b2d2c['bind']('isActionsDropdownOpen')['to'](_0x23c590,'isOpen'),_0x23c590['buttonView']['set']({'label':_0x3fc9c9(_0x1accf7,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x491313['IconThreeVerticalDots']}),_0x23c590['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x402d30['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x402d30['to'](_0x4df990=>_0x4df990['stopPropagation']())}}),_0x23c590['on']('execute',_0x540372=>{_0x5b2d2c['isReady']&&'function'==typeof _0x540372['source']['_action']&&_0x540372['source']['_action'](_0x5b2d2c);}),(0x0,_0x491313['addListToDropdown'])(_0x23c590,_0x10f533,{'role':'menu'}),_0x23c590['listenTo'](_0x5b2d2c,'change:isActionsDropdownOpen',(_0x1a845,_0x4d6dec,_0x159b5f)=>{if(_0x159b5f)for(const _0x21f745 of _0x23c590['listView']['items']){const _0x375552=_0x21f745['children']['first'],_0x40fe65=_0x3a3561['find'](_0x4ac883=>_0x4ac883['action']===_0x375552['_action'])['isVisible'];_0x21f745['isVisible']=void 0x0===_0x40fe65||_0x40fe65(_0x5b2d2c);}}),_0x23c590;}const _0x13e48b=/* #__PURE__ -- @preserve */
_0x63bf97(_0x491313['View']);var _0x84e3d0=class extends _0x13e48b{['id'];['revisionNameView'];revisionActionsView;['_revision'];_requireRevisionName;constructor(_0x8d54d7,_0x59f650,_0x12fd3d,_0xe357aa){super(_0x8d54d7);const _0x2e1e30=this['bindTemplate'],_0x4700e1=function(_0x2039cc,_0x3999aa){const _0x3eae37=Array['from'](_0x3999aa['authors'])['filter'](_0x5d3d2f=>_0x5d3d2f!=_0x3999aa['creator']);return _0x3999aa['creator']&&_0x3eae37['unshift'](_0x3999aa['creator']),_0x3eae37['map'](_0x405d31=>new _0x332216(_0x2039cc,_0x405d31,_0x405d31==_0x3999aa['creator']));}(_0x8d54d7,_0x59f650);this['id']=_0x59f650['id'],this['_revision']=_0x59f650,this['_requireRevisionName']=_0xe357aa,this['bind']('name','createdAt')['to'](_0x59f650),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1e3838=>{return _0x4f77b4=_0x8d54d7['uiLanguage'],(_0x3d92a9=_0x1e3838)['toLocaleDateString'](_0x4f77b4,{'month':'long','day':'numeric'})+',\x20'+_0x3d92a9['toLocaleTimeString'](_0x4f77b4,{'hour':'numeric','minute':'numeric'});var _0x4f77b4,_0x3d92a9;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x35ecf8(_0x8d54d7,_0x491313['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x203195=>_0x203195||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x9f1854,_0x4f15ec)=>_0x9f1854&&_0x4f15ec),this['revisionActionsView']=_0x12fd3d&&_0x12fd3d['length']?_0x234661(this,_0x12fd3d):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2e1e30['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2e1e30['if']('isEnabled','ck-disabled',_0x839097=>!_0x839097),_0x2e1e30['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2e1e30['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2e1e30['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x2e1e30['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x4700e1}]},this['revisionActionsView']],'on':{'click':_0x2e1e30['to'](_0x4f2b59=>{_0x4f2b59['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1247db=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1247db,'change',()=>{this['_requireRevisionName']&&!_0x1247db['value']||this['fire']('setName',{'id':this['id'],'name':_0x1247db['value']}),_0x1247db['value']||(_0x1247db['value']=this['name']?this['name']:this['_createdAtFormatted']);});}select(){this['isSelected']=!0x0;}deselect(){this['isSelected']=!0x1;}highlight(){this['isHighlighted']=!0x0;}unhighlight(){this['isHighlighted']=!0x1;}};function _0x1fcd6d(_0x1f97f1,_0x4bd7f7){const _0x853f69=_0x210871['fromJSDate'](_0x1f97f1)['setLocale'](_0x4bd7f7),_0x564406=_0x210871['local'](),_0x5417d3=_0x564406['minus']({'days':0x1})['startOf']('day');let _0x760565,_0x45c187;return _0x853f69['hasSame'](_0x564406,'day')?(_0x760565=_0x853f69['startOf']('day')['toJSDate'](),_0x45c187=_0x853f69['toRelativeCalendar']()):_0x853f69['hasSame'](_0x5417d3,'day')?(_0x760565=_0x5417d3['toJSDate'](),_0x45c187=_0x853f69['toRelativeCalendar']()):_0x853f69['hasSame'](_0x564406,'week')?(_0x760565=_0x853f69['startOf']('week')['toJSDate'](),_0x45c187=_0x853f69['weekdayLong']||''):_0x853f69['hasSame'](_0x564406,'year')?(_0x760565=_0x853f69['startOf']('month')['toJSDate'](),_0x45c187=_0x853f69['monthLong']||''):(_0x760565=_0x853f69['startOf']('year')['toJSDate'](),_0x45c187=String(_0x853f69['year'])),{'startDate':_0x760565,'localizedPeriodName':_0x45c187};}var _0x50d283=class extends _0x491313['View']{startDate;['revisionViews'];_revisionActions;_requireRevisionName;constructor(_0x24138e,_0x2028c2,_0x548db9,_0xac725c){super(_0x24138e);const _0x2c59a1=_0x1fcd6d(_0x2028c2,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2028c2,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x548db9,this['_requireRevisionName']=_0xac725c,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x2c59a1}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3eda8c){const _0x633812=new _0x84e3d0(this['locale'],_0x3eda8c,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x633812);}['removeRevision'](_0x45c1a7){const _0xa70e06=this['revisionViews']['find'](_0x106de7=>_0x106de7['id']===_0x45c1a7['id']);this['revisionViews']['remove'](_0xa70e06);}},_0x331528=class extends _0x491313['View']{constructor(_0x33bc7b){super(_0x33bc7b);const _0x4a0b5a=new _0x491313['IconView']();_0x4a0b5a['content']=_0x491313['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4a0b5a,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x3fc9c9(_0x33bc7b,'Revision\x20history')]}]});}},_0x56c464=class extends _0x491313['View']{timePeriodViews;['_revisions'];_revisionActions;_requireRevisionName;constructor(_0x5a3294,_0x387644,_0x59d107,_0x1a4db8){super(_0x5a3294);const _0x4f12ca=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x387644,this['_revisionActions']=_0x59d107,this['_requireRevisionName']=_0x1a4db8,this['on']('select',(_0x1546cc,_0x5c3c68)=>{this['fire']('revisionSelected',_0x5c3c68);}),this['on']('setName',(_0x592ff8,_0x2466dd)=>{this['fire']('revisionSetName',_0x2466dd);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x331528(_0x5a3294),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4f12ca['if']('isEnabled','ck-disabled',_0x4484ac=>!_0x4484ac)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5eb280 of this['_revisions'])this['_addRevision'](_0x5eb280);this['_revisions']['on']('add',(_0x462dd1,_0xbd7fa0)=>{this['_addRevision'](_0xbd7fa0);}),this['_revisions']['on']('remove',(_0x2b88f3,_0x5d1534)=>{this['_removeRevision'](_0x5d1534);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x386ba4=>_0x386ba4['revisionViews']['map'](_0x44a8a6=>_0x44a8a6))['flat']();}selectRevision(_0x10cf08){for(const _0x5c3dab of this['revisionViews'])_0x10cf08&&_0x10cf08['id']===_0x5c3dab['id']?_0x5c3dab['select']():_0x5c3dab['deselect']();}highlightRevisions(_0x321d20){for(const _0x509045 of this['revisionViews'])_0x321d20['some'](({id:_0x3ba415})=>_0x3ba415===_0x509045['id'])?_0x509045['highlight']():_0x509045['unhighlight']();}['_addRevision'](_0x147118){const _0x10ae7e=_0x1fcd6d(_0x147118['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x17aa20=this['_getTimePeriodViewByStartDate'](_0x10ae7e);_0x17aa20||(_0x17aa20=new _0x50d283(this['locale'],_0x10ae7e,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x17aa20)),_0x17aa20['addRevision'](_0x147118);}['_removeRevision'](_0x269f2b){const _0x2083a6=_0x1fcd6d(_0x269f2b['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2083a6)['removeRevision'](_0x269f2b);}_getTimePeriodViewByStartDate(_0x257031){return this['timePeriodViews']['find'](_0x56fa7e=>_0x56fa7e['startDate']['getTime']()===_0x257031['getTime']());}},_0xc9fe1e=class _0x150794 extends _0x491313['Plugin']{['_revisionViewer'];_revisionsRepository;['_sidebarView'];static defaultRevisionActions=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static availableRevisionActions=/* #__PURE__ -- @preserve */
_0x74df2();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x9bb8a8];}constructor(_0x128c52){super(_0x128c52),this['_revisionViewer']=_0x128c52['plugins']['get'](_0x9bb8a8),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}init(){const _0x3a1ad7=this['_revisionsRepository']['_revisions'],_0xcf615c=this['_createRevisionActions'](),_0x2da55a=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x56c464(this['editor']['locale'],_0x3a1ad7,_0xcf615c,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x7a0749,_0x132178)=>{_0x132178['revisionViews']['on']('add',(_0x3751a6,_0x562f22)=>{_0x562f22['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x2da55a['appendChild'](this['_sidebarView']['element']);}destroy(){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}_handleEditorDataReady(){const _0x15759e=this['_revisionsRepository']['getRevision'](0x0);if(_0x15759e){const _0x43d82e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x15759e['id']);this['_revisionViewer']['compare'](_0x15759e,_0x43d82e);}}_handleRevisionSelected(_0x74cf2f,_0x2093b2){const _0x2b4afd=this['_revisionsRepository']['getRevision'](_0x2093b2['id']),_0x59ef77=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2b4afd['id']);this['_revisionViewer']['compare'](_0x2b4afd,_0x59ef77);}_handleRevisionSetName(_0x16414d,_0x83e7a9){this['_revisionsRepository']['getRevision'](_0x83e7a9['id'])['setName'](_0x83e7a9['name']);}['_handleDiffChange'](_0x4b382b,_0x4cf5c6,_0x5413bc){const _0x5a3eef=this['_revisionsRepository']['getRevisionsInDiff'](_0x5413bc);_0x5a3eef['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5a3eef),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5a3eef[0x0]));}_createRevisionActions(){const _0x11dd77=this['editor'],_0x31c04=_0x150794['availableRevisionActions'],_0x16b19e=_0x11dd77['config']['get']('revisionHistory.revisionActions')||_0x150794['defaultRevisionActions'];if(_0x16b19e['length'])return _0x16b19e['map'](_0x209a17=>{const _0x42d9f8='string'==typeof _0x209a17?Object['assign']({},_0x31c04[_0x209a17]):_0x209a17;return _0x42d9f8['action']=_0x42d9f8['action']['bind'](this,_0x11dd77),_0x42d9f8['isVisible']&&(_0x42d9f8['isVisible']=_0x42d9f8['isVisible']['bind'](this,_0x11dd77)),_0x42d9f8;});}};function _0x74df2(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1e3e9a},_0x4476df)=>{const _0x47846a=_0x1e3e9a['get'](_0x9bb8a8),_0x1d3cae=_0x47846a['repository'];let _0x10eb40=_0x47846a['diff']['newRevisionId'],_0x31c6ab=_0x4476df['id'];_0x1d3cae['getIndex'](_0x10eb40)>_0x1d3cae['getIndex'](_0x31c6ab)&&([_0x10eb40,_0x31c6ab]=[_0x31c6ab,_0x10eb40]),_0x47846a['compare'](_0x10eb40,_0x31c6ab);},'isVisible':({plugins:_0x41496f},_0x405b2a)=>{const _0x4b8807=_0x41496f['get'](_0x9bb8a8);return!(_0x4b8807['repository']['getRevisionsInDiff'](_0x4b8807['diff'])['length']>0x2)&&!_0x405b2a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x12c62a,{id:_0x380dca})=>{_0x12c62a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x380dca);},'isVisible':({plugins:_0x263673},_0x3d4df2)=>!!_0x263673['get'](_0x9bb8a8)['repository']['getLaterVisibleRevision'](_0x3d4df2['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x576755},{id:_0xfe53b3,revisionNameView:_0x28ae0d})=>{const _0xde69d3=_0x576755['get'](_0x9bb8a8),_0x487be8=_0xde69d3['repository']['getEarlierVisibleRevision'](_0xfe53b3);_0xde69d3['compare'](_0xfe53b3,_0x487be8),_0x28ae0d['focus'](),_0x28ae0d['fieldView']['select']();}}};}var _0x5ba3d9=class extends _0x491313['EditorUI']{['_view'];_toolbarConfig;_elementReplacer;get['view'](){return this['_view'];}constructor(_0x4eaa55,_0x44ec72){super(_0x4eaa55),this['_view']=_0x44ec72,this['_toolbarConfig']=(0x0,_0x491313['normalizeToolbarConfig'])(_0x4eaa55['config']['get']('toolbar')),this['_elementReplacer']=new _0x491313['ElementReplacer']();}get element(){return this['view']['element'];}init(_0x8d72be){const _0x286444=this['editor'],_0x1ecdb3=this['view'],_0x3ee220=_0x286444['editing']['view'],_0x426ba4=_0x1ecdb3['editable'];_0x426ba4['name']=_0x3ee220['document']['getRoot']()['rootName'],_0x1ecdb3['render']();const _0x3567dd=_0x426ba4['element'];this['setEditableElement'](_0x426ba4['name'],_0x3567dd),_0x1ecdb3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3ee220['attachDomRoot'](_0x3567dd),this['_elementReplacer']['replace'](_0x8d72be,this['element']),this['_initToolbar'](),this['fire']('ready');}destroy(){super['destroy']();const _0x594e45=this['view'],_0x3a4eb9=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3a4eb9['detachDomRoot'](_0x594e45['editable']['name']),_0x594e45['destroy']();}_initToolbar(){const _0x2dfcda=this['view'];_0x2dfcda['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2dfcda['stickyPanel']['limiterElement']=_0x2dfcda['element'],_0x2dfcda['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x43f6dc})=>_0x43f6dc),_0x2dfcda['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2dfcda['toolbar']);}},_0x2caf3d=class extends _0x491313['BoxedEditorUIView']{_editable;stickyPanel;toolbar;get editable(){return this['_editable'];}constructor(_0x51a55c,_0x14943c,_0x407861={}){super(_0x51a55c),this['stickyPanel']=new _0x491313['StickyPanelView'](_0x51a55c),this['toolbar']=new _0x491313['ToolbarView'](_0x51a55c,{'shouldGroupWhenFull':_0x407861['shouldToolbarGroupWhenFull']}),this['_editable']=new _0x491313['InlineEditableUIView'](_0x51a55c,_0x14943c);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}};const _0x3da529=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ElementApiMixin'])(_0x491313['Editor']);var _0x53b101=class extends _0x3da529{['_ui'];get['ui'](){return this['_ui'];}constructor(_0xfd5a05,_0x414777){super(_0x414777),this['sourceElement']=_0xfd5a05,this['model']['document']['createRoot']();const _0x165af9=new _0x2caf3d(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new _0x5ba3d9(this,_0x165af9);}destroy(){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async create(_0x3a641f,_0x352b89){const _0x1bfcd8=new this(_0x3a641f,_0x352b89);return await _0x1bfcd8['initPlugins'](),await _0x1bfcd8['ui']['init'](_0x3a641f),await _0x1bfcd8['data']['init'](_0x1bfcd8['config']['get']('initialData')||''),_0x1bfcd8['fire']('ready'),_0x1bfcd8;}};const _0x72da8=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];var _0x45c835=class extends _0x491313['Plugin']{result;static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xa5fd2f){super(_0xa5fd2f),this['result']='end',_0xa5fd2f['editing']['view']['_overlayModeHint']='auto',_0xa5fd2f['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}},_0x22f98f=class extends _0x491313['Plugin']{_viewerEditor;static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x15dc6b,_0x314455];}constructor(_0x24e48c){if(super(_0x24e48c),!this['editor']['config']['get']('revisionHistory'))throw new _0x491313['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x44bc66=>this['_showRevisionViewer']({..._0x44bc66,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x54807d=>this['_closeRevisionViewer'](_0x54807d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2e609a=>this['_restoreRevision'](_0x2e609a)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set adapter(_0x29e51e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x29e51e;}get adapter(){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}addRevisionData(_0x44fd49){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x44fd49);}getRevision(_0x2e31f1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x2e31f1);}getRevisions(_0x1a99cb){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1a99cb||{'toJSON':!0x1});}_getRevisionViewerEditorConfig(){const _0x72a584=this['editor'],_0x5cdc06=_0x2ebb0e(_0x72a584,_0x72da8),_0x52e5c6=_0x72a584['plugins']['get']('RevisionTracker'),_0x1e5fa7=_0x72a584['plugins']['get'](_0x16b3af)['users'];_0x5cdc06['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5cdc06['lazyRoots'];class RevisionViewerInit extends _0x491313['Plugin']{static get requires(){return[_0x9bb8a8,_0x16b3af];}init(){const _0xb03f83=this['editor']['plugins']['get'](_0x16b3af);for(const _0x11b46b of _0x1e5fa7)_0x11b46b['isAnonymous']||_0xb03f83['getUser'](_0x11b46b['id'])||_0xb03f83['addUser'](_0x11b46b);const _0xa954c1=_0x52e5c6['repository']['getRevisions']();let _0x558703=null;const _0x309a11=this['editor']['plugins']['get']('RevisionViewer');_0x309a11['adapter']=_0x52e5c6['adapter'],_0x309a11['bind']('isEnabled')['to'](_0x52e5c6),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x72a584,'isReadOnly',_0x29e807=>!_0x29e807);for(const _0x56bb8c of _0xa954c1){const _0x9e4845=null===_0x56bb8c['creator'];if(_0x9e4845&&_0x56bb8c['toVersion']===_0x56bb8c['fromVersion'])continue;const _0x3c8782=_0x56bb8c['toJSON']();_0x309a11['addRevisionData'](_0x3c8782,(_0x43ffdf,_0x48c2f5,_0xc22d59)=>{if(_0x9e4845){if(_0x558703)_0x558703['_update'](_0x43ffdf,_0x48c2f5);else{if(!_0x48c2f5){const _0x4a35f9=_0xc22d59['toJSON']();_0x4a35f9['id']=(0x0,_0x491313['uid'])(),_0x52e5c6['saveRevision'](_0x4a35f9,_0xc22d59['toVersion'])['then'](_0x378478=>{_0x558703=_0x378478;});}}}else _0x56bb8c['_update'](_0x43ffdf,_0x48c2f5);});}}}return _0x5cdc06['plugins']['push'](_0x45c835,_0x9bb8a8,_0x32ad63,RevisionViewerInit,_0xc9fe1e),_0x5cdc06;}['_enhanceShowRevisionViewerCallback'](){const _0x51a787=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2c3073=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')?await this['editor']['plugins']['get']('Autosave')['save']():await _0x2c3073['update'](),this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xd1e8b1=this['editor']['plugins']['get']('Dialog');_0xd1e8b1['isOpen']&&_0xd1e8b1['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x4aa76f=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x20ea36 of _0x4aa76f)_0x20ea36['class']=_0x20ea36['class']?_0x20ea36['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x3399bc=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x3399bc&&_0x3399bc['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x1d666a=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x1d666a&&_0x1d666a['setAttribute']('tabindex','-1');}}const _0x5ab573=this['_getRevisionViewerEditorConfig']();return _0x51a787(_0x5ab573)['then'](_0x4f3fd1=>(this['_viewerEditor']=_0x4f3fd1,this['editor']['plugins']['has']('Annotations')&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),this['editor']['plugins']['has']('DocumentOutline')&&(this['editor']['plugins']['get']('DocumentOutlineUI')['view']['element']['style']['display']='none'),_0x4f3fd1))['catch'](_0x4cd090=>(console['error'](_0x4cd090),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2e1846=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>{if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('DocumentOutline')&&(this['editor']['plugins']['get']('DocumentOutlineUI')['view']['element']['style']['display']=''),this['editor']['plugins']['has']('AITabs')){const _0x1f96c8=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x2e9549 of _0x1f96c8)_0x2e9549['class']='ck-tab-panel_disabled'===_0x2e9549['class']?'':_0x2e9549['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x25155e=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x25155e&&_0x25155e['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x4f33f7=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x4f33f7&&_0x4f33f7['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x2e1846(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3f38e1=this['editor']['plugins']['get']('Annotations');_0x3f38e1['refreshVisibility'](),_0x3f38e1['refreshPositioning']();}});});}['_showRevisionViewer'](_0x4e98ac){const _0x128858=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3d74ca=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x28901c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return _0x53b101['create'](_0x28901c,_0x4e98ac)['then'](_0x22cd97=>(_0x3d74ca['style']['display']='block',_0x128858['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x22cd97));}['_closeRevisionViewer'](_0x52f754){const _0x4064e0=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4064e0['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x52f754['destroy']();}async _restoreRevision(_0x1f8950){const _0x2f8266=this['editor'],_0x294723=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5ade7c=_0x2f8266['plugins']['get']('RevisionTracker'),_0x2f6476=_0x2f8266['plugins']['get']('RevisionHistoryUtils'),_0x1ec26c=_0x294723['repository']['getRevision'](_0x1f8950);let _0x58805c,_0x1fff84,_0x558371;try{await _0x2f6476['loadRevisionData'](_0x1ec26c,this['adapter']),_0x58805c=_0x2f6476['getRevisionDocumentData'](_0x1ec26c),_0x1fff84=_0x2f6476['getRevisionRootsAttributes'](_0x1ec26c);}catch(_0x52d5cd){return void console['error'](_0x52d5cd);}_0x2f8266['model']['change'](_0x4db72a=>{for(const _0x4f37a1 of Array['from'](_0x2f8266['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4db72a['removeMarker'](_0x4f37a1);}),_0x294723['isReady']=!0x1,_0x2f8266['model']['enqueueChange'](_0x299ce6=>{_0x299ce6['setSelection'](null),_0x299ce6['removeSelectionAttribute'](_0x2f8266['model']['document']['selection']['getAttributeKeys']());const _0x3699de=Object['keys'](_0x58805c);for(const _0x1dce44 of _0x2f8266['model']['document']['roots'])'$graveyard'!=_0x1dce44['rootName']&&_0x1dce44['isAttached']()&&!_0x3699de['includes'](_0x1dce44['rootName'])&&_0x299ce6['detachRoot'](_0x1dce44);for(const _0x4b0d5b of _0x3699de){let _0x497a84=_0x2f8266['model']['document']['getRoot'](_0x4b0d5b);if(!_0x497a84||!_0x497a84['isAttached']()){const _0x48b718=_0x1ec26c['diffData']?.[_0x4b0d5b]?.['rootElementName']||'$root';_0x497a84=_0x299ce6['addRoot'](_0x4b0d5b,_0x48b718);}const _0x266e5d=_0x1fff84[_0x4b0d5b],_0x5d5fb2=Object['keys'](_0x266e5d),_0x5e55e1=_0x58805c[_0x4b0d5b];for(const _0x458e46 of _0x497a84['getAttributeKeys']())_0x5d5fb2['includes'](_0x458e46)||_0x299ce6['removeAttribute'](_0x458e46,_0x497a84);for(const _0x4d6051 of _0x5d5fb2)_0x299ce6['setAttribute'](_0x4d6051,_0x1fff84[_0x4b0d5b][_0x4d6051],_0x497a84);_0x299ce6['remove'](_0x299ce6['createRangeIn'](_0x497a84)),_0x299ce6['insert'](_0x2f8266['data']['parse'](_0x5e55e1,_0x497a84),_0x497a84,0x0);}});const _0xecf345=_0x3fc9c9(_0x2f8266['locale'],'Restored');if(_0x1ec26c['name'])_0x558371=-0x1==_0x1ec26c['name']['indexOf'](_0xecf345)?_0xecf345+':\x20'+_0x1ec26c['name']:_0x1ec26c['name'];else _0x558371=_0xecf345+':\x20'+(_0x1ec26c['createdAt']['toLocaleDateString'](_0x2f8266['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1ec26c['createdAt']['toLocaleTimeString'](_0x2f8266['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5ade7c['saveRevision']({'name':_0x558371}),_0x294723['isReady']=!0x0,_0x2f8266['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}},_0x51c38a=class CloudServicesRevisionHistoryAdapter extends _0x491313['Plugin']{static RevisionHistoryService=/* #__PURE__ -- @preserve */
((()=>_0x8fd18a)());_lastRequestId;['_revisionTracker'];_revisionHistoryService;_oldOffset;static get requires(){return[_0x558f8e,_0x4078e4,_0x22f98f,_0x3e62c7,_0x16b3af];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1e0753){super(_0x1e0753);const _0x30d62c=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x30d62c);}async init(){const _0x1522c4=this['editor']['plugins']['get'](_0x4078e4),_0x37ab3e=_0x1522c4['serverHistory'],_0x6f640c=this['editor']['plugins']['get'](_0x558f8e);this['_revisionTracker']['setSource']({'history':_0x37ab3e,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x1522c4['sessionId']});const _0x1a7937=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x491313['version'],_0x6f8034=await _0x5ef61b['isBundleUploaded'](_0x6f640c['connection'],_0x1a7937);this['editor']['plugins']['get'](_0x22f98f)['adapter']={'getRevision':async({revisionId:_0x5538a7})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x5538a7)),'updateRevisions':async _0x58ea36=>{await this['_waitForServiceReady']();const _0x5d0656=this['_revisionTracker']['currentRevision'];if(_0x6f8034&&0x1===_0x58ea36['length']&&_0x58ea36[0x0]['id']===_0x5d0656['id'])return _0x58ea36;for(const _0x26c02c of _0x58ea36)_0x26c02c['id']===_0x5d0656['id']&&(_0x26c02c['isEmptyCurrent']=_0x26c02c['fromVersion']===_0x26c02c['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x58ea36,this['_lastRequestId'])['then'](_0x59b325=>(this['_lastRequestId']=_0x59b325,_0x58ea36))['catch'](_0x2ddb5c=>{if(_0x4e3bea(_0x2ddb5c)||'400'===_0x2ddb5c['code']&&void 0x0!==_0x2ddb5c['data']['wrongRequestId']){for(const _0x286d55 of _0x58ea36)this['_revisionTracker']['repository']['getRevision'](_0x286d55['id'])&&this['_revisionTracker']['_bufferUpdate'](_0x286d55['id'],_0x286d55,!0x1);if(_0x4e3bea(_0x2ddb5c)&&'destroyed'!==this['editor']['state'])throw _0x2ddb5c;return _0x58ea36;}throw _0x2ddb5c;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x32f209,{revisionsData:_0x2fa6a8,requestId:_0x217bd1})=>{Math['max'](..._0x2fa6a8['map'](_0x30c0b4=>_0x30c0b4['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x2fa6a8,_0x217bd1);}):this['_handleRevisionsUpdate'](_0x2fa6a8,_0x217bd1);}),this['set']('_isServiceConnected',!0x1),this['listenTo'](this['_revisionHistoryService'],'connected',()=>{this['_isServiceConnected']=!0x0;}),this['listenTo'](this['_revisionHistoryService'],'disconnected',()=>{this['_isServiceConnected']=!0x1,'connected'===_0x6f640c['connection']?.['state']&&(_0x6f640c['removeFromReconnectionStack'](this),this['stopListening'](this['_revisionHistoryService']));});const {revisions:_0x240e6f,requestId:_0x5a0ee7}=await this['_revisionHistoryService']['connect'](_0x6f640c['connection']);_0x6f640c['addToReconnectionStack'](this),this['_lastRequestId']=_0x5a0ee7,await this['_fetchMissingUsers'](_0x240e6f);for(const _0x134535 of _0x240e6f)this['_revisionTracker']['addRevisionData'](_0x134535);this['listenTo'](_0x1522c4,'change:_isConnected',(_0x9c89e0,_0xae9b2e,_0x316e5a)=>{_0x316e5a&&(this['_oldOffset']=_0x1522c4['_offset'],_0x9c89e0['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](this,'_isServiceConnected');}async reconnect(){const _0xa713f1=this['editor']['plugins']['get'](_0x558f8e),_0x421c7a=this['editor']['plugins']['get'](_0x4078e4),_0x25cd82=async()=>{const _0xc72832=this['_revisionTracker']['currentRevision'],_0x48c180=_0xc72832['id'],_0x4cffc2=_0x48c180!==_0x421c7a['sessionId'];if(_0x4cffc2){const _0x293775=_0x421c7a['_offset']-this['_oldOffset'],_0x1621b8=this['_getLatestVersionFromServerOperations']();if(this['_revisionTracker']['_revisionDataBuilder']['reInit'](),_0xc72832['toVersion']+_0x293775!==_0x1621b8){const _0x312d20=_0xc72832['fromVersion']+_0x293775,_0x598165=this['editor']['plugins']['get'](_0x16b3af),_0x4be295=this['_revisionTracker']['buildRevisionData']({'revision':_0xc72832,'from':_0x312d20,'to':_0x1621b8});_0x4be295['id']=_0xc72832['id'];const _0x12146f=_0x4be295['authorsIds']['map'](_0xeab627=>_0x598165['getUser'](_0xeab627));_0xc72832['_update']({..._0x4be295,'authors':_0x12146f},!0x0),this['_revisionTracker']['_bufferUpdate'](_0xc72832['id'],_0x4be295,!0x0);}this['_revisionTracker']['_startingVersion']=_0x1621b8,_0xc72832['toVersion']!==_0xc72832['fromVersion']||this['_revisionTracker']['_bufferedUpdates']['has'](_0x48c180)||this['_revisionTracker']['repository']['_revisions']['remove'](_0x48c180),this['_revisionTracker']['_createCurrentRevision'](_0x1621b8);}const {revisions:_0x11adb1,requestId:_0x52e099}=await this['_revisionHistoryService']['reconnect'](_0xa713f1['connection'],this['_lastRequestId']);_0x4cffc2&&_0x11adb1['length']>0x0?_0x421c7a['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x11adb1),this['_handleRevisionsUpdate'](_0x11adb1,_0x52e099),this['_revisionTracker']['sendBufferedUpdates']());};return _0x421c7a['_isConnected']?_0x25cd82():new Promise((_0x97b086,_0x1c3209)=>{_0x421c7a['once']('change:_isConnected',()=>{_0x25cd82()['then'](_0x97b086)['catch'](_0x1c3209);});});}destroy(){super['destroy']();}async _waitForServiceReady(){this['_revisionHistoryService']['isConnected']||await new Promise(_0x1ee83=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0xbf26cf=>{_0xbf26cf['off'](),_0x1ee83();});});}_getLatestVersionFromServerOperations(){const _0x32146f=this['editor']['plugins']['get'](_0x4078e4)['serverHistory']['getOperations']()['reverse']();for(const _0x21221e of _0x32146f)if('marker'!==_0x21221e['type']||_0x21221e['affectsData'])return _0x21221e['baseVersion']+0x1;}_getLatestVersion(){const _0x1d023e=this['editor']['plugins']['get'](_0x4078e4);return new Promise(_0x5460f6=>{_0x1d023e['_isPendingUpdate']?_0x1d023e['once']('change:_isPendingUpdate',()=>{_0x5460f6(this['_getLatestVersionFromServerOperations']());}):_0x5460f6(this['_getLatestVersionFromServerOperations']());});}_handleRevisionsUpdate(_0x303fe3,_0x3e0310){const _0x18055a=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x3e0310;for(const _0x2c89d1 of _0x303fe3){const _0x2cb5c1=_0x18055a['getRevision'](_0x2c89d1['id']);if(_0x2cb5c1){if((_0x2c89d1['fromVersion']||_0x2c89d1['toVersion'])&&(_0x2c89d1['diffData']=null),_0x2cb5c1===this['_revisionTracker']['currentRevision']){const _0x130fd3=Math['max'](_0x2cb5c1['toVersion'],_0x2c89d1['toVersion']),_0x4befa7=Math['max'](_0x2cb5c1['fromVersion'],_0x2c89d1['fromVersion']);let _0xd3c169;_0x2cb5c1['toVersion']===_0x2c89d1['toVersion']&&_0x2cb5c1['fromVersion']===_0x2c89d1['fromVersion']?(_0xd3c169=!0x0,this['_preventResendingRevisionData'](_0x2c89d1)):_0x2c89d1['toVersion']===_0x130fd3&&_0x2c89d1['fromVersion']===_0x4befa7?_0xd3c169=!0x1:(_0x2cb5c1['toVersion']===_0x130fd3&&_0x2cb5c1['fromVersion']===_0x4befa7||this['_fixRevision']({'revision':_0x2cb5c1,'from':_0x4befa7,'to':_0x130fd3}),_0xd3c169=!0x0),_0xd3c169&&(delete _0x2c89d1['fromVersion'],delete _0x2c89d1['toVersion'],delete _0x2c89d1['diffData'],delete _0x2c89d1['createdAt'],delete _0x2c89d1['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x2c89d1),this['_preventResendingRevisionData'](_0x2c89d1);}else this['_revisionTracker']['addRevisionData'](_0x2c89d1);}const _0xeb606=_0x18055a['getRevisions']();_0xeb606['reverse']();for(let _0x209f32=0x0;_0x209f32<_0xeb606['length']-0x1;_0x209f32++){const _0x2ba707=_0xeb606[_0x209f32],_0xee5714=_0xeb606[_0x209f32+0x1];if(_0x2ba707['fromVersion']<_0xee5714['toVersion']){const _0x1e7f9b=_0xee5714['toVersion'],_0x2a6471=Math['max'](_0x1e7f9b,_0x2ba707['toVersion']);this['_fixRevision']({'revision':_0x2ba707,'from':_0x1e7f9b,'to':_0x2a6471});}}}['_fixRevision']({revision:_0x2d01be,from:_0x3cc4ca,to:_0x25b6ae}={}){const _0x104750=this['editor']['plugins']['get'](_0x16b3af),_0x3cfb56=this['_revisionTracker']['buildRevisionData']({'revision':_0x2d01be,'from':_0x3cc4ca,'to':_0x25b6ae});_0x3cfb56['authors']=_0x3cfb56['authorsIds']['map'](_0x49a8d4=>_0x104750['getUser'](_0x49a8d4)),_0x2d01be['_update'](_0x3cfb56);}_preventResendingRevisionData(_0x114b62){const _0x40eca7={};_0x40eca7['id']=_0x114b62['id'];for(const _0x309ddf of Object['keys'](_0x114b62))'id'!==_0x309ddf&&(_0x40eca7[_0x309ddf]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x40eca7['id'],_0x40eca7,!0x0);}async _fetchMissingUsers(_0x167732){const _0x2a7a10=this['editor']['plugins']['get'](_0x16b3af),{connection:_0x49c08f}=this['editor']['plugins']['get'](_0x558f8e),_0x276e45=new Set();for(const _0x52e025 of _0x167732){for(const _0x219cb7 of _0x52e025['authorsIds'])_0x2607ab(_0x219cb7);_0x52e025['creatorId']&&_0x2607ab(_0x52e025['creatorId']);}if(0x0===_0x276e45['size'])return;const _0x40bf5f=await _0x4a3f91['getMany'](_0x49c08f,Array['from'](_0x276e45));for(const _0x85e0a of _0x40bf5f)_0x2a7a10['getUser'](_0x85e0a['id'])||_0x2a7a10['addUser'](_0x85e0a);function _0x2607ab(_0x462993){_0x2a7a10['getUser'](_0x462993)||_0x276e45['add'](_0x462993);}}};function _0x4e3bea(_0x440e1c){return _0x440e1c['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x440e1c['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x440e1c['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}var _0xfcd025=class extends _0x491313['Plugin']{static get requires(){return[_0x22f98f,_0x51c38a,_0x5746da];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x1f33a1=class extends _0x491313['View']{_collapseAt;constructor(_0x12bda3,_0x1f4cbf=0x6){super(_0x12bda3);const _0xdc55cb=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x1f4cbf,this['bind']('isHidden')['to'](this,'usersCount',_0x3c76f7=>_0x3c76f7<_0x1f4cbf),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0xdc55cb['if']('isHidden','ck-presence-list__counter--hidden')],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck','ck-presence-list__users-counter']},'children':[{'tag':'div','attributes':{'class':['ck','ck-presence-list__users-counter__text']},'children':[{'text':_0xdc55cb['to']('usersCount',_0x110222=>'+'+(_0x110222-this['_collapseAt']+0x2)['toString']())}]}]}]});}},_0x37ba16=class extends _0x491313['View']{items;keystrokes;constructor(_0x4c5b11){super(_0x4c5b11);const _0x329d90=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x491313['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x329d90['if']('hasPopup'),'aria-expanded':_0x329d90['to']('isExpanded',_0x367195=>this['hasPopup']&&String(_0x367195)),'aria-label':_0x329d90['to']('hasPopup',_0x454532=>_0x4e1cf7(_0x4c5b11,_0x454532?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x329d90['to']('hasPopup',_0x1c3b58=>!!_0x1c3b58&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x329d90['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x329d90['to'](_0x20bcd2=>{const _0x291741=_0x20bcd2,_0xade7f0=document['querySelector']('.ck-presence-list__dropdown-list'),_0x37921b=document['querySelector']('.ck-balloon-panel_with-arrow');_0xade7f0?.['contains'](_0x291741['relatedTarget'])||_0x37921b?.['contains'](_0x291741['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x1922c0,_0x265014,_0x4b6f8a)=>{this['element']&&(_0x4b6f8a?this['element']['setAttribute']('aria-expanded',String(this['isExpanded'])):this['element']['removeAttribute']('aria-expanded'));});}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['keystrokes']['listenTo'](this['element']);}},_0x37cca3=class extends _0x491313['View']{counterView;inlineListView;constructor(_0x595a09,_0x6ff5a3=0x6){super(_0x595a09);const _0x4a111a=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new _0x1f33a1(this['locale'],_0x6ff5a3),this['inlineListView']=new _0x37ba16(_0x595a09),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x3eee35 of this['inlineListView']['items'])_0x3eee35['tooltipPosition']='s';this['inlineListView']['items']['first']&&(this['inlineListView']['items']['first']['tooltipPosition']='se');}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list','ck-reset','ck-rounded-corners',_0x4a111a['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}},_0x1d65ba=class extends _0x491313['View']{listWrapperView;constructor(_0x2a0cf7,_0x27e46f){super(_0x2a0cf7);const _0x2c9ac3=this['bindTemplate'];this['listWrapperView']=new _0x1de33f(_0x2a0cf7,_0x27e46f),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':_0x4e1cf7(_0x2a0cf7,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x2c9ac3['to'](_0x3311b9=>{const _0xf8437d=_0x3311b9,_0x5790e1=document['querySelector']('.ck-presence-list__list'),_0x9b64e9=document['querySelector']('.ck-balloon-panel_with-arrow');_0x5790e1?.['contains'](_0xf8437d['relatedTarget'])||_0x9b64e9?.['contains'](_0xf8437d['relatedTarget'])||this['fire']('presencelist:hide');})}});}},_0x1de33f=class extends _0x491313['ListView']{constructor(_0x110f37,_0x29ef75){super(_0x110f37);const _0x5f1604=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x29ef75?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x5f1604['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x5f1604['to']('role'),'aria-label':_0x5f1604['to']('ariaLabel'),'aria-labelledby':_0x5f1604['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x491313['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x4a02da=this['element'];_0x4a02da&&(this['_isScrollable']=Math['max'](_0x4a02da['scrollHeight'],_0x4a02da['clientHeight'])>0.8*window['innerHeight']);}},_0x149a23=class extends _0x491313['ListItemView']{['userView'];constructor(_0x18b57e,_0x15f726,_0x2d60cb){super(_0x18b57e);const _0x26b476=this['bindTemplate'];this['userView']=new _0x302d20(_0x18b57e,_0x15f726);const _0x2aa511={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x15f726['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x15f726['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x15f726['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x15f726['color']['getColorVariable'](),'--ck-user-color-alpha':_0x15f726['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x2d60cb&&(_0x2aa511['tag']='button',_0x2aa511['on']={'click':_0x26b476['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x2aa511);}['focus'](){this['element']['focus']();}},_0x2b141b=class extends _0x491313['View']{['userView'];['markerView'];constructor(_0x51f0e0,_0x5c5356,_0x2dc0c2){super(_0x51f0e0);const _0x187ad0=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x302d20(_0x51f0e0,_0x5c5356),this['markerView']=new _0x3a1084(_0x51f0e0,_0x5c5356);const _0x41e8b9=new _0x491313['LabelView'](_0x51f0e0);_0x41e8b9['template']['tag']='span',_0x41e8b9['text']=_0x5c5356['name'];const _0x5e2815={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x187ad0['to']('isFocusable',_0x3961ef=>!!_0x3961ef&&0x0),'aria-labelledby':_0x41e8b9['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x187ad0['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x187ad0['to']('hasTooltip',_0x4ebe30=>!_0x4ebe30),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x41e8b9]};_0x2dc0c2&&(_0x5e2815['tag']='button',_0x5e2815['on']={'click':_0x187ad0['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x5e2815);}},_0x3a1084=class extends _0x491313['View']{constructor(_0x42f1eb,_0x411774){super(_0x42f1eb),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x411774['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x411774['color']['getColorVariable'](),'--ck-user-color-alpha':_0x411774['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}};const _0x4dedc8={'collapseAt':0x6,'displayMe':!0x0};var _0x505f84=class extends _0x491313['ContextPlugin']{currentDisplayedUsers;['balloonPanelView'];['view'];['presenceDropdownView'];_bodyCollection=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d09a3){super(_0x4d09a3),this['context']['config']['define']('presenceList',_0x4dedc8);const _0x11dbc2=_0x4d09a3['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x11dbc2)throw new _0x491313['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x11dbc2<0x1)throw new _0x491313['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x3e62c7)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x491313['Collection'](),this['balloonPanelView']=new _0x491313['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get requires(){return[_0x3e62c7];}init(){for(const _0x5f0b84 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x5f0b84);this['listenTo'](this['_allConnectedUsers'],'add',(_0x4b38f1,_0x4e0c33)=>{this['_handleUserAdd'](_0x4e0c33);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x50a50e,_0x25194d)=>{this['_handleUserRemove'](_0x25194d);});}_createView(){const _0x18b113=this['context'],_0x339201=new _0x37cca3(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x5d6596=this['balloonPanelView'];if(!function(_0x46417f){return function(_0x5b0dec){return'object'==typeof _0x5b0dec&&null!==_0x5b0dec;}(_0x46417f)&&0x1===_0x46417f['nodeType']&&!Mt(_0x46417f);}(_0x18b113['config']['get']('presenceList.container')))throw new _0x491313['CKEditorError']('presencelist-missing-container',this);return _0x339201['counterView']['bind']('usersCount')['to'](this),_0x339201['bind']('isCollapsed')['to'](this,'usersCount',_0xf59c6e=>{const {collapseAt:_0x48eb4f}=_0x18b113['config']['get']('presenceList'),_0x1b10c5=_0xf59c6e>=_0x48eb4f;if(_0x1b10c5&&!_0x339201['inlineListView']['items']['find'](_0x734f0b=>_0x734f0b instanceof _0x1f33a1)){const _0x2bfd5a=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x2bfd5a&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x339201['inlineListView']['items']['add'](_0x339201['counterView']);}return _0x1b10c5||this['hideDropdown'](),_0x1b10c5;}),_0x339201['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x298017=>{const _0x98d01=_0x18b113['config']['get']('presenceList'),_0x3e53a1=new _0x2b141b(_0x18b113['locale'],_0x298017,!!_0x98d01['onClick']);return _0x3e53a1['bind']('hasTooltip')['to'](_0x339201,'isCollapsed',_0x2a659a=>!_0x2a659a),_0x3e53a1['bind']('isFocusable')['to'](_0x339201,'isCollapsed',_0x2dcc23=>!_0x2dcc23),_0x98d01['onClick']&&this['listenTo'](_0x3e53a1,'execute',()=>{this['view']['isCollapsed']||_0x98d01['onClick'](_0x298017,_0x3e53a1['element']);}),_0x3e53a1;}),this['listenTo'](_0x339201['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x339201['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x339201['inlineListView']['keystrokes']['set']('Enter',(_0xd47452,_0x1c2f7a)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x1c2f7a());}),_0x339201['render'](),_0x5d6596['render'](),(0x0,_0x491313['clickOutsideHandler'])({'emitter':_0x339201,'activator':()=>_0x5d6596['isVisible'],'contextElements':[_0x5d6596['element'],_0x339201['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x18b113['config']['get']('presenceList.container')['appendChild'](_0x339201['element']),this['_bodyCollection']=new _0x491313['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x339201;}['_handleUserAdd'](_0x2b9744){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x2b9744['isMe'])return;const _0x5b06e0=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x5b06e0-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x460d32=_0x2b9744['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x2b9744,_0x460d32);}['_handleUserRemove'](_0x647df4){this['usersCount']--;const {collapseAt:_0x117d50}=this['context']['config']['get']('presenceList'),_0x4a0b11=this['usersCount']>=_0x117d50;if(this['currentDisplayedUsers']['get'](_0x647df4['id']))this['currentDisplayedUsers']['remove'](_0x647df4['id']);else{if(_0x4a0b11&&this['currentDisplayedUsers']['length']+0x1===_0x117d50-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x4a0b11?0x1:0x0)<this['usersCount']){for(const _0x19f7f4 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x19f7f4['id'])&&(this['currentDisplayedUsers']['add'](_0x19f7f4,Math['min'](this['currentDisplayedUsers']['length']-(_0x4a0b11?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x4a0b11?0x1:0x0)===_0x117d50-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x237df8=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new _0x1d65ba(this['context']['locale'],!!_0x237df8['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x5806b7}=this['presenceDropdownView'];_0x5806b7['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x4b2811=>{if(!_0x237df8['displayMe']&&_0x4b2811['isMe'])return null;const _0x40819e=new _0x149a23(this['context']['locale'],_0x4b2811,!!_0x237df8['onClick']);return _0x237df8['onClick']&&this['listenTo'](_0x40819e,'execute',()=>{_0x237df8['onClick'](_0x4b2811,_0x40819e['element']);}),_0x40819e;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x5806b7['focus'](),_0x5806b7['checkIfScrollable']();const _0x2e66aa=(_0x1d83ea,_0x2cb0e8)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x2cb0e8();};_0x5806b7['keystrokes']['set']('Esc',_0x2e66aa),_0x5806b7['keystrokes']['set']('Shift+Tab',_0x2e66aa),_0x5806b7['keystrokes']['set']('Tab',(_0x519baf,_0x771301)=>{!function(_0x49a50c){const _0x508b9d=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0xa24183=>_0xa24183+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x250c24=[...document['body']['querySelectorAll'](_0x508b9d)]['filter'](_0x28c189=>_0x28c189===document['activeElement']||_0x28c189['offsetWidth']+_0x28c189['offsetHeight']>0x0)['sort']((_0x53d155,_0x1e6e1b)=>(_0x53d155['tabIndex']||0x0)-(_0x1e6e1b['tabIndex']||0x0)),_0x538f73=_0x250c24[(_0x250c24['indexOf'](_0x49a50c)+0x1)%_0x250c24['length']];_0x538f73&&_0x538f73['focus']();}(this['view']['element']),this['hideDropdown'](),_0x771301();}),_0x5806b7['focusTracker']['add'](this['view']['element']),_0x5806b7['focusTracker']['on']('change:isFocused',(_0x319f12,_0x1af2dc,_0x516d5c)=>{_0x516d5c||this['hideDropdown']();});}['hideDropdown'](){this['presenceDropdownView']&&(this['view']['inlineListView']['isExpanded']=!0x1,this['balloonPanelView']['unpin'](),this['balloonPanelView']['content']['remove'](this['presenceDropdownView']),this['presenceDropdownView']['destroy'](),this['presenceDropdownView']=void 0x0);}destroy(){super['destroy'](),this['view']&&this['view']['isRendered']&&this['view']['destroy'](),this['_bodyCollection']&&(this['_bodyCollection']['detachFromDom'](),this['_bodyCollection']['destroy'](),this['_bodyCollection']=null);}},_0x5f5248=class extends _0x491313['ContextPlugin']{static get requires(){return[_0x3e62c7,_0x505f84];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x3f9f13=class extends _0x491313['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x56d633){super(_0x56d633),this['_allowedCommands']=null;}afterInit(){const _0x3afea3=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x4f63f9=function(_0xe57f2){let _0x260884=['heading4','heading5','heading6'];if(_0xe57f2){const _0x1b689a=_0xe57f2['map'](_0x25c402=>_0x25c402['model']);_0x260884=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x571dd4=>!_0x1b689a['includes'](_0x571dd4));}return _0x260884;}(this['editor']['config']['get']('heading.options'));let _0x7e9c89=this['getDefaultCommands']()['filter'](_0x312de1=>!_0x4f63f9['includes'](_0x312de1['id']))['filter'](_0x51b2c2=>!_0x3afea3['includes'](_0x51b2c2['commandName']));const _0x1d02b6=this['editor']['config']['get']('slashCommand.extraCommands');_0x1d02b6&&_0x1d02b6['length']&&(_0x7e9c89=_0x7e9c89['concat'](_0x1d02b6));const _0x4bbb81=this['editor']['config']['get']('template.definitions');_0x4bbb81&&_0x4bbb81['length']&&(_0x7e9c89=_0x7e9c89['concat'](function(_0xf3ae25){return _0xf3ae25['map'](_0x2c8c25=>{const {title:_0x22cde6,icon:_0x558592,description:_0x433b1b,data:_0x4e35f8}=_0x2c8c25,_0x15268b={'id':tx(_0x22cde6,'template'),'commandName':'insertTemplate','execute':_0x1bcdf5=>{_0x1bcdf5['execute']('insertTemplate',_0x4e35f8);},'description':_0x433b1b,'icon':_0x558592,'title':_0x22cde6};return _0x558592&&(_0x15268b['isIconColorInherited']=!0x1),_0x15268b;});}(_0x4bbb81)));const _0x84094b=this['editor']['config']['get']('style.definitions');_0x84094b&&_0x84094b['length']&&(_0x7e9c89=_0x7e9c89['concat'](function(_0x11b573){return _0x11b573['map'](_0x50deda=>({'id':tx(_0x50deda['name'],'style'),'commandName':'style','execute':_0x5e3ade=>{_0x5e3ade['execute']('style',{'styleName':_0x50deda['name']});},'isEnabled':_0x56c825=>{const _0x2d3655=_0x56c825['commands']['get']('style');return _0x2d3655['isEnabled']&&_0x2d3655['enabledStyles']['includes'](_0x50deda['name']);},'title':_0x50deda['name']}));}(_0x84094b)));const _0x37094e=_0x7e9c89['filter'](_0x4079cc=>!_0x4079cc['commandName']||void 0x0!==this['editor']['commands']['get'](_0x4079cc['commandName'])),_0x2818a5=[];for(const _0x477f1c of _0x37094e)_0x2818a5['push']({'id':_0x477f1c['id'],'commandName':_0x477f1c['commandName'],'title':'function'==typeof _0x477f1c['title']?_0x477f1c['title'](this['editor']):_0x477f1c['title'],'description':_0x477f1c['description'],'icon':_0x477f1c['icon'],'isIconColorInherited':_0x477f1c['isIconColorInherited'],'aliases':_0x477f1c['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x477f1c),'execute':()=>this['_proxyExecute'](_0x477f1c)});this['_allowedCommands']=_0x2818a5['sort'](_0x7bf002),async function(_0x2e99bc){const _0xdb7f5c='umgl1F4YkAVEtv0TcN6nKiXCrhODd2PaGMSIJbspyz9QLBoWxUfj5HZew738Rq',_0x29889d=0x791d0,_0x3c8b32=window['Date']['now'](),_0xc780ad=_0x2e99bc['editor'],_0x3c4515=new window['Promise'](_0x572e13=>{_0xc780ad['once']('ready',_0x572e13);}),_0x58c09f={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x273028=_0xc780ad['config']['get']('licenseKey');async function _0x1e8794(){let _0x2bd508,_0x536786=null,_0x2361c3=null;try{return'GPL'==_0x273028?'NotAllowed':(_0x2bd508=_0xbf53c2(),_0x2bd508?(_0x2bd508['usageEndpoint']&&(_0x2361c3=_0x2c26ae(_0x2bd508['usageEndpoint'],_0x2bd508['jti'])),await _0x45a8df()?_0x417913()?_0x3a86e7()?'Expired':_0x2ad036()?('evaluation'==_0x2bd508['licenseType']&&(_0x536786=_0x2bd574('EvaluationLimit')),await _0x266fe1()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3a86e7(){const _0x6663de=['evaluation','trial']['includes'](_0x2bd508['licenseType'])?_0x3c8b32/0x3e8:0xe10*_0x29889d;return _0x2bd508['exp']<_0x6663de;}function _0x417913(){const _0x2f2629=_0x2bd508['features'];return!!_0x2f2629&&(!!_0x2f2629['includes']('*')||(!!_0x2f2629['includes']('SC')||(!!_0x2f2629['includes']('PP')||!(!_0x2f2629['includes']('TRILIUM')||!_0x58d648()))));}function _0x2ad036(){const _0x43b3c3=_0x2bd508['licensedHosts'];if(!_0x43b3c3||0x0==_0x43b3c3['length'])return!0x0;const {hostname:_0x200729}=new URL(window['location']['href']);if(_0x43b3c3['includes'](_0x200729))return!0x0;const _0x33fe93=_0x200729['split']('.');return _0x43b3c3['filter'](_0x5d6a62=>_0x5d6a62['includes']('*'))['map'](_0x518331=>_0x518331['split']('.'))['filter'](_0x158d9f=>_0x158d9f['length']<=_0x33fe93['length'])['map'](_0x4dd41d=>Array(_0x33fe93['length']-_0x4dd41d['length'])['fill']('*'===_0x4dd41d[0x0]?'*':'')['concat'](_0x4dd41d))['some'](_0xf8b074=>_0x33fe93['every']((_0x23a853,_0x3b17d7)=>_0xf8b074[_0x3b17d7]===_0x23a853||'*'===_0xf8b074[_0x3b17d7]));}function _0x266fe1(){return _0x536786&&_0x2361c3?new window['Promise']((_0x20cc57,_0x1d5f07)=>{_0x536786['then'](_0x20cc57,_0x1d5f07),_0x2361c3['then'](_0x4b5019=>{'Valid'!=_0x4b5019&&_0x20cc57(_0x4b5019);},_0x1d5f07);}):_0x536786||_0x2361c3||'Valid';}}function _0x2c26ae(_0x447669,_0xc1a2ac){return new window['Promise'](_0x465221=>{if(_0x49254b())return _0x465221('Valid');_0x5d49da(),_0xc780ad['decorate']('_sendUsageRequest');let _0x3d6e39=!0x1;const _0x3036fa=(0x0,_0x491313['uid'])();function _0x56e1c4(_0x27060c){return!!_0x27060c&&('object'==typeof _0x27060c||'function'==typeof _0x27060c)&&'function'==typeof _0x27060c['then']&&'function'==typeof _0x27060c['catch'];}function _0x26de06(_0x2bf7ed){_0x4b2655(_0x2bf7ed)['then'](_0x5cd966=>_0x5cd966&&'ok'==_0x5cd966['status']?_0x3df55f(_0xd161e6(_0x3036fa+_0xc1a2ac))!=_0x5cd966['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x8f677=>(_0x4e09f5(),_0x8f677),()=>{const _0x268eba=_0x4f5504();return null==_0x268eba?(_0x4e09f5(),'Valid'):_0x3c8b32-_0x268eba>0x240c8400?'UsageLimit':'Valid';})['then'](_0x465221)['catch'](()=>{_0x465221('UsageLimit');});const _0x48414f=0x36ee80;function _0x4e09f5(){const _0x11e9d3='llct-'+_0x3df55f(_0xd161e6(_0x447669)),_0x19f897=_0x1041c2(_0x3df55f(window['Math']['ceil'](_0x3c8b32/_0x48414f)));window['localStorage']['setItem'](_0x11e9d3,_0x19f897);}function _0x4f5504(){const _0x3f7102='llct-'+_0x3df55f(_0xd161e6(_0x447669)),_0x4c8137=window['localStorage']['getItem'](_0x3f7102);return _0x4c8137?window['parseInt'](_0x1041c2(_0x4c8137),0x10)*_0x48414f:null;}function _0x4b2655(_0x30d16c){return new window['Promise']((_0x2fa8b7,_0x40639e)=>{_0x30d16c['then'](_0x2fa8b7,_0x40639e),window['setTimeout'](_0x40639e,0x1d4c0);});}}_0xc780ad['on']('_sendUsageRequest',(_0x12732c,_0xf863b7)=>{if(_0xf863b7[0x0]!=_0x447669)return _0x465221('UsageLimit');_0xf863b7[0x1]={..._0xf863b7[0x1],'requestId':_0x3036fa};},{'priority':'high'}),_0xc780ad['on']('_sendUsageRequest',_0x57fa3f=>{_0x56e1c4(_0x57fa3f['return'])&&(_0x3d6e39=!0x0,_0x26de06(_0x57fa3f['return']));},{'priority':'low'}),_0x3c4515['then'](()=>{_0x3d6e39||_0x465221('UsageLimit');});});function _0x49254b(){return'auto'==_0xc780ad['editing']['view']['_overlayModeHint'];}function _0x5d49da(){_0xc780ad['editing']['view']['_overlayModeHint']='auto';}}function _0x2bd574(_0x3e64fe){const _0x14be27=[new window['Promise'](_0x16262a=>setTimeout(_0x16262a,0x93ecc)),_0x3c4515['then'](()=>new window['Promise'](_0x3051f6=>{let _0xa4a502=0x0;_0xc780ad['model']['on']('applyOperation',(_0x4f4c3a,_0x43c27f)=>{_0x43c27f[0x0]['isDocumentOperation']&&_0xa4a502++,0x5e8==_0xa4a502&&(_0x3051f6(),_0x4f4c3a['off']());});}))];return window['Promise']['race'](_0x14be27)['then'](()=>_0x3e64fe);}async function _0x40255a(){await _0x3c4515,_0xc780ad['model']['change']=_0x3eef43,_0xc780ad['model']['enqueueChange']=_0x3eef43,_0xc780ad['enableReadOnlyMode']('model');}function _0x58d648(){return window['glob']&&window['glob']['triliumVersion'];}function _0x387ffc(_0x282b64){const _0x55c800=_0xcc39a0();_0xc780ad[_0x55c800]='slashCommandLicenseKey'+_0x282b64,'Valid'!=_0x282b64&&_0x40255a();}function _0xcc39a0(){const _0x39e064=window['String'](window['performance']['now']())['replace']('.','');let _0x7654ce='u';for(let _0x452cd8=0x0;_0x452cd8<_0x39e064['length'];_0x452cd8+=0x2){let _0x2a15c7=window['parseInt'](_0x39e064['substring'](_0x452cd8,_0x452cd8+0x2));_0x2a15c7>=0x3e&&(_0x2a15c7-=0x3e),_0x7654ce+=_0xdb7f5c[_0x2a15c7];}return _0x7654ce;}function _0xbf53c2(){const _0x3f7cdd=_0x273028['split']('.');if(0x3!=_0x3f7cdd['length'])return null;return _0x517ea2(_0x3f7cdd[0x1]);function _0x517ea2(_0x1def69){const _0x5440f7=_0x2a8eea(_0x1def69);return _0x5440f7&&_0x4da359()?_0x5440f7:null;function _0x4da359(){const _0x100c50=_0x5440f7['jti'],_0x2f348f=window['parseInt'](_0x100c50['substring'](_0x100c50['length']-0x8),0x10),_0x622d48={..._0x5440f7,'jti':_0x100c50['substring'](0x0,_0x100c50['length']-0x8)};return delete _0x622d48['vc'],_0xd161e6(_0x622d48)==_0x2f348f;}}}async function _0x45a8df(){let _0x5f54c3=!0x0;try{const [_0xa802f2,_0x28c57c,_0x50a7d2]=_0x273028['split']('.');return _0x1c1870(_0xa802f2),await _0x4fbddf(_0xa802f2,_0x28c57c,_0x50a7d2),_0x5f54c3;}catch{return!0x1;}function _0x1c1870(_0xaad38d){const _0x36ad51=_0x2a8eea(_0xaad38d);_0x36ad51&&'ES256'==_0x36ad51['alg']||(_0x5f54c3=!0x1);}async function _0x4fbddf(_0x2ffbe0,_0x39ff96,_0x10c439){const _0x4096df=window['Uint8Array']['from'](_0x525bf9(_0x10c439),_0x1ac33e=>_0x1ac33e['charCodeAt'](0x0)),_0x528d56=new window['TextEncoder']()['encode'](_0x2ffbe0+'.'+_0x39ff96),_0x50be05=window['crypto']['subtle'];if(!_0x50be05)return;const _0x1cbb1a=await _0x50be05['importKey']('jwk',_0x58c09f,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x50be05['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x1cbb1a,_0x4096df,_0x528d56)||(_0x5f54c3=!0x1);}}function _0x2a8eea(_0x54770b){return _0x54770b['startsWith']('ey')?JSON['parse'](_0x525bf9(_0x54770b)):null;}function _0x525bf9(_0x333011){return window['atob'](_0x333011['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xd161e6(_0x373b3b){let _0x1186c3=0x1505;function _0x321d65(_0x1b12c7){for(let _0x3dbd17=0x0;_0x3dbd17<_0x1b12c7['length'];_0x3dbd17++){const _0x5c14fc=_0x1b12c7['charCodeAt'](_0x3dbd17);_0x1186c3=(_0x1186c3<<0x5)+_0x1186c3+_0x5c14fc,_0x1186c3&=_0x1186c3;}}function _0x28f940(_0x3f16e1){Array['isArray'](_0x3f16e1)?_0x3f16e1['forEach'](_0x28f940):_0x3f16e1&&'object'==typeof _0x3f16e1?Object['entries'](_0x3f16e1)['sort']()['forEach'](([_0x2297f2,_0xdfa97f])=>{_0x321d65(_0x2297f2),_0x28f940(_0xdfa97f);}):_0x321d65(window['String'](_0x3f16e1));}return _0x28f940(_0x373b3b),_0x1186c3>>>0x0;}function _0x3df55f(_0x1f646){return _0x1f646['toString'](0x10)['padStart'](0x8,'0');}function _0x1041c2(_0x45b83d){return _0x45b83d['split']('')['reverse']()['join']('');}function _0x3eef43(){}_0x387ffc(await _0x1e8794());}(this);}getAllowedCommands(){return this['_allowedCommands'];}getDefaultCommands(){const _0x2ec922=_0x41d7ca=>function(_0x51713e,_0x26caf1){const t=_0x51713e['t'],_0x14e3de=_0x51713e['t'];switch(_0x26caf1){case'AI\x20Assistant':return _0x14e3de('AI\x20Assistant');case'Block\x20quote':return _0x14e3de('Block\x20quote');case'Bulleted\x20List':return _0x14e3de('Bulleted\x20List');case'Insert\x20code\x20block':return _0x14e3de('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x14e3de('Open\x20file\x20manager');case'Insert\x20image':return _0x14e3de('Insert\x20image');case'Heading\x201':return _0x14e3de('Heading\x201');case'Heading\x202':return _0x14e3de('Heading\x202');case'Heading\x203':return _0x14e3de('Heading\x203');case'Heading\x204':return _0x14e3de('Heading\x204');case'Heading\x205':return _0x14e3de('Heading\x205');case'Heading\x206':return _0x14e3de('Heading\x206');case'Horizontal\x20line':return _0x14e3de('Horizontal\x20line');case'Insert\x20HTML':return _0x14e3de('Insert\x20HTML');case'Increase\x20indent':return _0x14e3de('Increase\x20indent');case'Insert\x20table':return _0x14e3de('Insert\x20table');case'Table\x20of\x20contents':return _0x14e3de('Table\x20of\x20contents');case'Numbered\x20List':return _0x14e3de('Numbered\x20List');case'Decrease\x20indent':return _0x14e3de('Decrease\x20indent');case'Paragraph':return _0x14e3de('Paragraph');case'To-do\x20List':return _0x14e3de('To-do\x20List');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');case'Insert\x20a\x20footnote':return t('Insert\x20a\x20footnote');default:return _0x26caf1;}}(this['editor']['locale'],_0x41d7ca);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x491313['IconRobotPencil'],'title':_0x2ec922('AI\x20Assistant'),'description':_0x2ec922('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x1a3ede=>{setTimeout(()=>_0x1a3ede['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x491313['IconQuote'],'title':_0x2ec922('Block\x20quote'),'description':_0x2ec922('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x491313['IconBulletedList'],'title':_0x2ec922('Bulleted\x20List'),'description':_0x2ec922('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x491313['IconCodeBlock'],'title':_0x2ec922('Insert\x20code\x20block'),'description':_0x2ec922('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x491313['IconBrowseFiles'],'title':_0x2ec922('Open\x20file\x20manager'),'description':_0x2ec922('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x491313['IconBrowseFiles'],'title':_0x2ec922('Insert\x20image'),'description':_0x2ec922('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x491313['IconEmoji'],'title':_0x2ec922('Emoji'),'description':_0x2ec922('Insert\x20an\x20emoji'),'execute':_0x2d519d=>{setTimeout(()=>_0x2d519d['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x491313['IconHeading1'],'title':_0x2ec922('Heading\x201'),'description':_0x2ec922('Create\x20a\x20heading\x20level\x201'),'execute':_0x5b9e4a=>{_0x5b9e4a['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x491313['IconHeading2'],'title':_0x2ec922('Heading\x202'),'description':_0x2ec922('Create\x20a\x20heading\x20level\x202'),'execute':_0x259b69=>{_0x259b69['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x491313['IconHeading3'],'title':_0x2ec922('Heading\x203'),'description':_0x2ec922('Create\x20a\x20heading\x20level\x203'),'execute':_0xfca780=>{_0xfca780['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x491313['IconHeading4'],'title':_0x2ec922('Heading\x204'),'description':_0x2ec922('Create\x20a\x20heading\x20level\x204'),'execute':_0x3ca803=>{_0x3ca803['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x491313['IconHeading5'],'title':_0x2ec922('Heading\x205'),'description':_0x2ec922('Create\x20a\x20heading\x20level\x205'),'execute':_0x650a87=>{_0x650a87['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x491313['IconHeading6'],'title':_0x2ec922('Heading\x206'),'description':_0x2ec922('Create\x20a\x20heading\x20level\x206'),'execute':_0x2dd4cf=>{_0x2dd4cf['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x491313['IconHorizontalLine'],'title':_0x2ec922('Horizontal\x20line'),'description':_0x2ec922('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x491313['IconHtml'],'title':_0x2ec922('Insert\x20HTML'),'description':_0x2ec922('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x491313['IconIndent'],'title':_0x2ec922('Increase\x20indent'),'description':_0x2ec922('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x2ec922('Insert\x20Mermaid\x20diagram'),'description':_0x2ec922('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x491313['IconTable'],'title':_0x2ec922('Insert\x20table'),'description':_0x2ec922('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x491313['IconTableOfContents'],'title':_0x2ec922('Table\x20of\x20contents'),'description':_0x2ec922('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x491313['IconNumberedList'],'title':_0x2ec922('Numbered\x20List'),'description':_0x2ec922('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x491313['IconOutdent'],'title':_0x2ec922('Decrease\x20indent'),'description':_0x2ec922('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x491313['IconParagraph'],'title':_0x2ec922('Paragraph'),'description':_0x2ec922('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x491313['IconTodoList'],'title':_0x2ec922('To-do\x20List'),'description':_0x2ec922('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x491313['IconFootnote'],'title':_0x2ec922('Footnote'),'description':_0x2ec922('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x336983){return _0x336983['isEnabled']?_0x336983['isEnabled'](this['editor']):!_0x336983['commandName']||this['editor']['commands']['get'](_0x336983['commandName'])['isEnabled'];}_proxyExecute(_0x14e4fa){if(_0x14e4fa['execute'])_0x14e4fa['execute'](this['editor']);else{if(!_0x14e4fa['commandName'])throw new _0x491313['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x14e4fa});this['editor']['execute'](_0x14e4fa['commandName']);}}};function _0x7bf002(_0x36ebf6,_0x28b812){return _0x36ebf6['title']<_0x28b812['title']?-0x1:_0x36ebf6['title']>_0x28b812['title']?0x1:0x0;}function tx(_0x1d86b8,_0x41fdfa){return _0x41fdfa+'-'+_0x1d86b8['toLowerCase']()['split']('\x20')['join']('-');}var _0x2d5766=class extends _0x491313['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x3f9f13];}getMatchingCommands(_0x3f98a5){const _0x157594=_0x3f98a5&&_0x3f98a5['toLowerCase']();let _0x16da0a=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x16da0a=_0x16da0a['filter'](_0x342eca=>_0x342eca['isEnabled']()),_0x157594){const _0x1315de=[],_0x15c6db=[],_0x1a78d=[],_0x473113=[];for(const _0x161961 of _0x16da0a)_0x161961['id']['toLowerCase']()['includes'](_0x157594)?_0x1315de['push'](_0x161961):_0x161961['title']['toLowerCase']()['includes'](_0x157594)?_0x15c6db['push'](_0x161961):_0x161961['aliases']&&_0x161961['aliases']['some'](_0x343e48=>_0x343e48['toLowerCase']()['includes'](_0x157594))?_0x1a78d['push'](_0x161961):_0x161961['description']&&_0x161961['description']['toLowerCase']()['includes'](_0x157594)&&_0x473113['push'](_0x161961);_0x16da0a=_0x1315de['concat'](_0x15c6db,_0x1a78d,_0x473113);}return _0x16da0a;}},_0x29215e=class extends _0x491313['ButtonView']{constructor(_0x442c32,_0x3a4a53){super(_0x442c32),this['textPartView']=this['_createTextPartView'](_0x442c32,_0x3a4a53),void 0x0!==_0x3a4a53['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x3a4a53['isIconColorInherited']),this['set']({'icon':_0x3a4a53['icon']||_0x491313['IconPlay'],'withText':!0x0,'label':_0x3a4a53['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}_createTextPartView(_0x3f8c6f,_0x4e3d3f){const _0x15b2f6=new _0x491313['View'](_0x3f8c6f);return _0x15b2f6['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x4e3d3f['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x4e3d3f['description']}]}]:[this['labelView']]}),_0x15b2f6;}},_0x2526c3=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x377ac0){super(_0x377ac0),this['_setupMentionConfiguration']();}init(){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xa8b569=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53d2e2;for(const _0x16a9aa in _0xa8b569){const _0x5b9f8a=_0x16a9aa,_0x1276b7=_0xa8b569[_0x5b9f8a];if('slashCommandLicenseKeyValid'==_0x1276b7||'slashCommandLicenseKeyInvalid'==_0x1276b7||'slashCommandLicenseKeyExpired'==_0x1276b7||'slashCommandLicenseKeyDomainLimit'==_0x1276b7||'slashCommandLicenseKeyNotAllowed'==_0x1276b7||'slashCommandLicenseKeyEvaluationLimit'==_0x1276b7||'slashCommandLicenseKeyUsageLimit'==_0x1276b7){delete _0xa8b569[_0x5b9f8a],_0x53d2e2=_0x1276b7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x53d2e2&&_0xa8b569['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x53d2e2&&_0xa8b569['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x53d2e2&&_0xa8b569['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x53d2e2&&_0xa8b569['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x53d2e2&&_0xa8b569['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x53d2e2&&_0xa8b569['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_setupMentionConfiguration(){const _0x510258=this['editor'],_0x43c002=this['editor']['plugins']['get']('SlashCommandEditing'),_0x58205e=_0x510258['config']['get']('mention.feeds');_0x58205e['push']({'marker':'/','feed':_0x5ddd89=>_0x43c002['getMatchingCommands'](_0x5ddd89),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x510258['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x510258['config']['set']('mention.feeds',_0x58205e);}_overrideMentionExecuteListener(){const _0x172ad0=this['editor'];_0x172ad0['commands']['get']('mention')['on']('execute',(_0x3ece7a,_0x2a2da2)=>{const _0x4b4ced=_0x2a2da2[0x0],_0x138c9b=_0x172ad0['model'];'/'===_0x4b4ced['marker']&&_0x138c9b['change'](_0x42c9ed=>{_0x42c9ed['remove'](_0x4b4ced['range']),_0x4b4ced['mention']['execute'](),_0x3ece7a['stop']();});},{'priority':'high'});}_customItemRenderer(_0x5399f6){const _0x44d8b3=this['editor']['locale'],_0x165bec=new _0x29215e(_0x44d8b3,_0x5399f6);return _0x165bec['render'](),_0x165bec['element'];}},_0x133a50=class extends _0x491313['Plugin']{static get requires(){return[_0x491313['Mention'],_0x2d5766,_0x2526c3];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x32edc1(_0x5625f1,_0x38eca1){const t=_0x5625f1['t'];switch(_0x38eca1){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x38eca1;}}function _0x2913bc(_0x49d467){const _0x348269=_0x49d467['editing']['view']['document']['roots'],_0x3e6d10=_0x348269['length'];if(0x0===_0x3e6d10)throw new _0x491313['CKEditorError']('source-editing-enhanced-editor-no-root',_0x49d467);return 0x1===_0x3e6d10?_0x348269['first']['rootName']:Array['from'](_0x49d467['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function _0x38b99a(_0xdc668a){return _0x205eb4(_0xdc668a['replace'](/^[\n\s]*/g,''))?_0xdc668a['replace'](/\s+/g,''):_0xdc668a;}function _0x205eb4(_0x85e48c){return _0x85e48c['startsWith']('<');}let _0x3aa24e=[],_0x54c210=[];function _0x2d5646(_0x55aa25){if(_0x55aa25<0x300)return!0x1;for(let _0x3388f6=0x0,_0x26c4bb=_0x3aa24e['length'];;){let _0x1eb0cf=_0x3388f6+_0x26c4bb>>0x1;if(_0x55aa25<_0x3aa24e[_0x1eb0cf])_0x26c4bb=_0x1eb0cf;else{if(!(_0x55aa25>=_0x54c210[_0x1eb0cf]))return!0x0;_0x3388f6=_0x1eb0cf+0x1;}if(_0x3388f6==_0x26c4bb)return!0x1;}}function _0x27ba33(_0x221064){return _0x221064>=0x1f1e6&&_0x221064<=0x1f1ff;}((()=>{let _0x1559f8='lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o'['split'](',')['map'](_0x208e17=>_0x208e17?parseInt(_0x208e17,0x24):0x1);for(let _0x36ddd7=0x0,_0x426bc1=0x0;_0x36ddd7<_0x1559f8['length'];_0x36ddd7++)(_0x36ddd7%0x2?_0x54c210:_0x3aa24e)['push'](_0x426bc1+=_0x1559f8[_0x36ddd7]);})());function _0x1bd292(_0x3823db,_0x284b7a,_0x17abe1=!0x0,_0x269edc=!0x0){return(_0x17abe1?_0xf68685:_0x33a941)(_0x3823db,_0x284b7a,_0x269edc);}function _0xf68685(_0x213319,_0x23900e,_0x58e98d){if(_0x23900e==_0x213319['length'])return _0x23900e;_0x23900e&&_0x25dfbc(_0x213319['charCodeAt'](_0x23900e))&&_0x3a59a9(_0x213319['charCodeAt'](_0x23900e-0x1))&&_0x23900e--;let _0x17f5c7=_0x4cb38a(_0x213319,_0x23900e);for(_0x23900e+=_0x35ba5d(_0x17f5c7);_0x23900e<_0x213319['length'];){let _0x5d4546=_0x4cb38a(_0x213319,_0x23900e);if(0x200d==_0x17f5c7||0x200d==_0x5d4546||_0x58e98d&&_0x2d5646(_0x5d4546))_0x23900e+=_0x35ba5d(_0x5d4546),_0x17f5c7=_0x5d4546;else{if(!_0x27ba33(_0x5d4546))break;{let _0x13abc8=0x0,_0x1be55d=_0x23900e-0x2;for(;_0x1be55d>=0x0&&_0x27ba33(_0x4cb38a(_0x213319,_0x1be55d));)_0x13abc8++,_0x1be55d-=0x2;if(_0x13abc8%0x2==0x0)break;_0x23900e+=0x2;}}}return _0x23900e;}function _0x33a941(_0x4815d2,_0x51bea5,_0x4cce04){for(;_0x51bea5>0x0;){let _0x40ca9c=_0xf68685(_0x4815d2,_0x51bea5-0x2,_0x4cce04);if(_0x40ca9c<_0x51bea5)return _0x40ca9c;_0x51bea5--;}return 0x0;}function _0x4cb38a(_0x58a923,_0x350c6a){let _0x2860c7=_0x58a923['charCodeAt'](_0x350c6a);if(!_0x3a59a9(_0x2860c7)||_0x350c6a+0x1==_0x58a923['length'])return _0x2860c7;let _0x4a153f=_0x58a923['charCodeAt'](_0x350c6a+0x1);return _0x25dfbc(_0x4a153f)?_0x4a153f-0xdc00+(_0x2860c7-0xd800<<0xa)+0x10000:_0x2860c7;}function _0x25dfbc(_0x3bf450){return _0x3bf450>=0xdc00&&_0x3bf450<0xe000;}function _0x3a59a9(_0x3ba1de){return _0x3ba1de>=0xd800&&_0x3ba1de<0xdc00;}function _0x35ba5d(_0x500833){return _0x500833<0x10000?0x1:0x2;}var _0x4293ea=class Text$1{lineAt(_0x5c7ed6){if(_0x5c7ed6<0x0||_0x5c7ed6>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x5c7ed6+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x5c7ed6,!0x1,0x1,0x0);}['line'](_0x34d536){if(_0x34d536<0x1||_0x34d536>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x34d536+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x34d536,!0x0,0x1,0x0);}['replace'](_0x16063e,_0x509fab,_0x35620d){[_0x16063e,_0x509fab]=_0x258439(this,_0x16063e,_0x509fab);let _0x323a57=[];return this['decompose'](0x0,_0x16063e,_0x323a57,0x2),_0x35620d['length']&&_0x35620d['decompose'](0x0,_0x35620d['length'],_0x323a57,0x3),this['decompose'](_0x509fab,this['length'],_0x323a57,0x1),_0x3c67de['from'](_0x323a57,this['length']-(_0x509fab-_0x16063e)+_0x35620d['length']);}['append'](_0x5b6f30){return this['replace'](this['length'],this['length'],_0x5b6f30);}['slice'](_0x5bbce6,_0x4bc924=this['length']){[_0x5bbce6,_0x4bc924]=_0x258439(this,_0x5bbce6,_0x4bc924);let _0x393f56=[];return this['decompose'](_0x5bbce6,_0x4bc924,_0x393f56,0x0),_0x3c67de['from'](_0x393f56,_0x4bc924-_0x5bbce6);}['eq'](_0x44b88e){if(_0x44b88e==this)return!0x0;if(_0x44b88e['length']!=this['length']||_0x44b88e['lines']!=this['lines'])return!0x1;let _0x192706=this['scanIdentical'](_0x44b88e,0x1),_0xa8c144=this['length']-this['scanIdentical'](_0x44b88e,-0x1),_0x2de7bc=new _0x3edcdf(this),_0xdb28a8=new _0x3edcdf(_0x44b88e);for(let _0xacb94b=_0x192706,_0x4c54a0=_0x192706;;){if(_0x2de7bc['next'](_0xacb94b),_0xdb28a8['next'](_0xacb94b),_0xacb94b=0x0,_0x2de7bc['lineBreak']!=_0xdb28a8['lineBreak']||_0x2de7bc['done']!=_0xdb28a8['done']||_0x2de7bc['value']!=_0xdb28a8['value'])return!0x1;if(_0x4c54a0+=_0x2de7bc['value']['length'],_0x2de7bc['done']||_0x4c54a0>=_0xa8c144)return!0x0;}}iter(_0x1fdbbf=0x1){return new _0x3edcdf(this,_0x1fdbbf);}iterRange(_0x5da60a,_0x5e3835=this['length']){return new _0x58bab7(this,_0x5da60a,_0x5e3835);}iterLines(_0x11332b,_0x41e7fc){let _0x1053db;if(null==_0x11332b)_0x1053db=this['iter']();else{null==_0x41e7fc&&(_0x41e7fc=this['lines']+0x1);let _0x1aa203=this['line'](_0x11332b)['from'];_0x1053db=this['iterRange'](_0x1aa203,Math['max'](_0x1aa203,_0x41e7fc==this['lines']+0x1?this['length']:_0x41e7fc<=0x1?0x0:this['line'](_0x41e7fc-0x1)['to']));}return new _0x5473a6(_0x1053db);}toString(){return this['sliceString'](0x0);}toJSON(){let _0x1ac6fe=[];return this['flatten'](_0x1ac6fe),_0x1ac6fe;}constructor(){}static['of'](_0x230620){if(0x0==_0x230620['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x230620['length']||_0x230620[0x0]?_0x230620['length']<=0x20?new _0x466e45(_0x230620):_0x3c67de['from'](_0x466e45['split'](_0x230620,[])):Text$1['empty'];}},_0x466e45=class TextLeaf extends _0x4293ea{constructor(_0x21cbca,_0x4d92ee=function(_0x1f6a94){let _0x3058ff=-0x1;for(let _0x2ad449 of _0x1f6a94)_0x3058ff+=_0x2ad449['length']+0x1;return _0x3058ff;}(_0x21cbca)){super(),this['text']=_0x21cbca,this['length']=_0x4d92ee;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0xa2fcc7,_0x3c86ca,_0x458b83,_0x4d8963){for(let _0x125cb3=0x0;;_0x125cb3++){let _0x500b16=this['text'][_0x125cb3],_0x37510d=_0x4d8963+_0x500b16['length'];if((_0x3c86ca?_0x458b83:_0x37510d)>=_0xa2fcc7)return new _0x13bcb7(_0x4d8963,_0x37510d,_0x458b83,_0x500b16);_0x4d8963=_0x37510d+0x1,_0x458b83++;}}['decompose'](_0xacd815,_0x18852f,_0xe77686,_0x2f34cb){let _0xd5e15a=_0xacd815<=0x0&&_0x18852f>=this['length']?this:new TextLeaf(_0x1631cf(this['text'],_0xacd815,_0x18852f),Math['min'](_0x18852f,this['length'])-Math['max'](0x0,_0xacd815));if(0x1&_0x2f34cb){let _0x59d470=_0xe77686['pop'](),_0x11a61b=_0x38247e(_0xd5e15a['text'],_0x59d470['text']['slice'](),0x0,_0xd5e15a['length']);if(_0x11a61b['length']<=0x20)_0xe77686['push'](new TextLeaf(_0x11a61b,_0x59d470['length']+_0xd5e15a['length']));else{let _0xb6c850=_0x11a61b['length']>>0x1;_0xe77686['push'](new TextLeaf(_0x11a61b['slice'](0x0,_0xb6c850)),new TextLeaf(_0x11a61b['slice'](_0xb6c850)));}}else _0xe77686['push'](_0xd5e15a);}['replace'](_0xce6e09,_0x4a2d75,_0x51f55a){if(!(_0x51f55a instanceof TextLeaf))return super['replace'](_0xce6e09,_0x4a2d75,_0x51f55a);[_0xce6e09,_0x4a2d75]=_0x258439(this,_0xce6e09,_0x4a2d75);let _0x1d3126=_0x38247e(this['text'],_0x38247e(_0x51f55a['text'],_0x1631cf(this['text'],0x0,_0xce6e09)),_0x4a2d75),_0x29234f=this['length']+_0x51f55a['length']-(_0x4a2d75-_0xce6e09);return _0x1d3126['length']<=0x20?new TextLeaf(_0x1d3126,_0x29234f):_0x3c67de['from'](TextLeaf['split'](_0x1d3126,[]),_0x29234f);}sliceString(_0x32e2d6,_0x582c16=this['length'],_0x3caca3='\x0a'){[_0x32e2d6,_0x582c16]=_0x258439(this,_0x32e2d6,_0x582c16);let _0x152e41='';for(let _0x40e877=0x0,_0x56dacc=0x0;_0x40e877<=_0x582c16&&_0x56dacc<this['text']['length'];_0x56dacc++){let _0x9ce2f3=this['text'][_0x56dacc],_0x97e922=_0x40e877+_0x9ce2f3['length'];_0x40e877>_0x32e2d6&&_0x56dacc&&(_0x152e41+=_0x3caca3),_0x32e2d6<_0x97e922&&_0x582c16>_0x40e877&&(_0x152e41+=_0x9ce2f3['slice'](Math['max'](0x0,_0x32e2d6-_0x40e877),_0x582c16-_0x40e877)),_0x40e877=_0x97e922+0x1;}return _0x152e41;}flatten(_0x3b2d9a){for(let _0x6d677d of this['text'])_0x3b2d9a['push'](_0x6d677d);}scanIdentical(){return 0x0;}static split(_0x2a25b7,_0x15b1a2){let _0x18c314=[],_0x487c9f=-0x1;for(let _0x55ef10 of _0x2a25b7)_0x18c314['push'](_0x55ef10),_0x487c9f+=_0x55ef10['length']+0x1,0x20==_0x18c314['length']&&(_0x15b1a2['push'](new TextLeaf(_0x18c314,_0x487c9f)),_0x18c314=[],_0x487c9f=-0x1);return _0x487c9f>-0x1&&_0x15b1a2['push'](new TextLeaf(_0x18c314,_0x487c9f)),_0x15b1a2;}},_0x3c67de=class TextNode extends _0x4293ea{constructor(_0x3abb4b,_0x375c37){super(),this['children']=_0x3abb4b,this['length']=_0x375c37,this['lines']=0x0;for(let _0x56406c of _0x3abb4b)this['lines']+=_0x56406c['lines'];}['lineInner'](_0x3a7c17,_0x165b4c,_0x53be9f,_0x2bb8da){for(let _0x39f975=0x0;;_0x39f975++){let _0x1528b1=this['children'][_0x39f975],_0x11bf5e=_0x2bb8da+_0x1528b1['length'],_0x4a969b=_0x53be9f+_0x1528b1['lines']-0x1;if((_0x165b4c?_0x4a969b:_0x11bf5e)>=_0x3a7c17)return _0x1528b1['lineInner'](_0x3a7c17,_0x165b4c,_0x53be9f,_0x2bb8da);_0x2bb8da=_0x11bf5e+0x1,_0x53be9f=_0x4a969b+0x1;}}['decompose'](_0x10456e,_0xfb54e5,_0x1b46cb,_0x330011){for(let _0x616df4=0x0,_0x56bc7d=0x0;_0x56bc7d<=_0xfb54e5&&_0x616df4<this['children']['length'];_0x616df4++){let _0x1b0791=this['children'][_0x616df4],_0x125315=_0x56bc7d+_0x1b0791['length'];if(_0x10456e<=_0x125315&&_0xfb54e5>=_0x56bc7d){let _0x5cd73d=_0x330011&((_0x56bc7d<=_0x10456e?0x1:0x0)|(_0x125315>=_0xfb54e5?0x2:0x0));_0x56bc7d>=_0x10456e&&_0x125315<=_0xfb54e5&&!_0x5cd73d?_0x1b46cb['push'](_0x1b0791):_0x1b0791['decompose'](_0x10456e-_0x56bc7d,_0xfb54e5-_0x56bc7d,_0x1b46cb,_0x5cd73d);}_0x56bc7d=_0x125315+0x1;}}['replace'](_0x3d7aec,_0x382673,_0x1ffd0c){if([_0x3d7aec,_0x382673]=_0x258439(this,_0x3d7aec,_0x382673),_0x1ffd0c['lines']<this['lines'])for(let _0x564c28=0x0,_0x1b677f=0x0;_0x564c28<this['children']['length'];_0x564c28++){let _0x2ec1d3=this['children'][_0x564c28],_0x2aefdc=_0x1b677f+_0x2ec1d3['length'];if(_0x3d7aec>=_0x1b677f&&_0x382673<=_0x2aefdc){let _0x35ef80=_0x2ec1d3['replace'](_0x3d7aec-_0x1b677f,_0x382673-_0x1b677f,_0x1ffd0c),_0x5f1ed4=this['lines']-_0x2ec1d3['lines']+_0x35ef80['lines'];if(_0x35ef80['lines']<_0x5f1ed4>>0x4&&_0x35ef80['lines']>_0x5f1ed4>>0x6){let _0x3ae31b=this['children']['slice']();return _0x3ae31b[_0x564c28]=_0x35ef80,new TextNode(_0x3ae31b,this['length']-(_0x382673-_0x3d7aec)+_0x1ffd0c['length']);}return super['replace'](_0x1b677f,_0x2aefdc,_0x35ef80);}_0x1b677f=_0x2aefdc+0x1;}return super['replace'](_0x3d7aec,_0x382673,_0x1ffd0c);}sliceString(_0x55344b,_0x25860a=this['length'],_0x57fc8f='\x0a'){[_0x55344b,_0x25860a]=_0x258439(this,_0x55344b,_0x25860a);let _0xdffde9='';for(let _0x4bc4f3=0x0,_0x416a29=0x0;_0x4bc4f3<this['children']['length']&&_0x416a29<=_0x25860a;_0x4bc4f3++){let _0xef4a0=this['children'][_0x4bc4f3],_0x59f49d=_0x416a29+_0xef4a0['length'];_0x416a29>_0x55344b&&_0x4bc4f3&&(_0xdffde9+=_0x57fc8f),_0x55344b<_0x59f49d&&_0x25860a>_0x416a29&&(_0xdffde9+=_0xef4a0['sliceString'](_0x55344b-_0x416a29,_0x25860a-_0x416a29,_0x57fc8f)),_0x416a29=_0x59f49d+0x1;}return _0xdffde9;}flatten(_0x24d9a8){for(let _0x36b8c0 of this['children'])_0x36b8c0['flatten'](_0x24d9a8);}scanIdentical(_0x1d9236,_0x1f0c2e){if(!(_0x1d9236 instanceof TextNode))return 0x0;let _0x153768=0x0,[_0x117c7e,_0x94ae0b,_0x37183b,_0x4f862c]=_0x1f0c2e>0x0?[0x0,0x0,this['children']['length'],_0x1d9236['children']['length']]:[this['children']['length']-0x1,_0x1d9236['children']['length']-0x1,-0x1,-0x1];for(;;_0x117c7e+=_0x1f0c2e,_0x94ae0b+=_0x1f0c2e){if(_0x117c7e==_0x37183b||_0x94ae0b==_0x4f862c)return _0x153768;let _0x5abc4d=this['children'][_0x117c7e],_0xd91c9a=_0x1d9236['children'][_0x94ae0b];if(_0x5abc4d!=_0xd91c9a)return _0x153768+_0x5abc4d['scanIdentical'](_0xd91c9a,_0x1f0c2e);_0x153768+=_0x5abc4d['length']+0x1;}}static['from'](_0x743faf,_0x5b67e2=_0x743faf['reduce']((_0x3cc473,_0x5bfa89)=>_0x3cc473+_0x5bfa89['length']+0x1,-0x1)){let _0x2c9392=0x0;for(let _0x1c6f7c of _0x743faf)_0x2c9392+=_0x1c6f7c['lines'];if(_0x2c9392<0x20){let _0x4e40e9=[];for(let _0x5766f7 of _0x743faf)_0x5766f7['flatten'](_0x4e40e9);return new _0x466e45(_0x4e40e9,_0x5b67e2);}let _0x38210d=Math['max'](0x20,_0x2c9392>>0x5),_0x46d7d0=_0x38210d<<0x1,_0x513239=_0x38210d>>0x1,_0x2868bd=[],_0x50465b=0x0,_0x3726de=-0x1,_0x6eb25b=[];function _0x4f9e45(_0x331950){let _0x33b3e4;if(_0x331950['lines']>_0x46d7d0&&_0x331950 instanceof TextNode){for(let _0x59169b of _0x331950['children'])_0x4f9e45(_0x59169b);}else _0x331950['lines']>_0x513239&&(_0x50465b>_0x513239||!_0x50465b)?(_0x153f7c(),_0x2868bd['push'](_0x331950)):_0x331950 instanceof _0x466e45&&_0x50465b&&(_0x33b3e4=_0x6eb25b[_0x6eb25b['length']-0x1])instanceof _0x466e45&&_0x331950['lines']+_0x33b3e4['lines']<=0x20?(_0x50465b+=_0x331950['lines'],_0x3726de+=_0x331950['length']+0x1,_0x6eb25b[_0x6eb25b['length']-0x1]=new _0x466e45(_0x33b3e4['text']['concat'](_0x331950['text']),_0x33b3e4['length']+0x1+_0x331950['length'])):(_0x50465b+_0x331950['lines']>_0x38210d&&_0x153f7c(),_0x50465b+=_0x331950['lines'],_0x3726de+=_0x331950['length']+0x1,_0x6eb25b['push'](_0x331950));}function _0x153f7c(){0x0!=_0x50465b&&(_0x2868bd['push'](0x1==_0x6eb25b['length']?_0x6eb25b[0x0]:TextNode['from'](_0x6eb25b,_0x3726de)),_0x3726de=-0x1,_0x50465b=_0x6eb25b['length']=0x0);}for(let _0x2cce47 of _0x743faf)_0x4f9e45(_0x2cce47);return _0x153f7c(),0x1==_0x2868bd['length']?_0x2868bd[0x0]:new TextNode(_0x2868bd,_0x5b67e2);}};function _0x38247e(_0x5e8c99,_0x3f1340,_0x319904=0x0,_0x2c5b1e=0x3b9aca00){for(let _0x487e95=0x0,_0x54d13b=0x0,_0x1caa90=!0x0;_0x54d13b<_0x5e8c99['length']&&_0x487e95<=_0x2c5b1e;_0x54d13b++){let _0x244480=_0x5e8c99[_0x54d13b],_0x3cd63b=_0x487e95+_0x244480['length'];_0x3cd63b>=_0x319904&&(_0x3cd63b>_0x2c5b1e&&(_0x244480=_0x244480['slice'](0x0,_0x2c5b1e-_0x487e95)),_0x487e95<_0x319904&&(_0x244480=_0x244480['slice'](_0x319904-_0x487e95)),_0x1caa90?(_0x3f1340[_0x3f1340['length']-0x1]+=_0x244480,_0x1caa90=!0x1):_0x3f1340['push'](_0x244480)),_0x487e95=_0x3cd63b+0x1;}return _0x3f1340;}function _0x1631cf(_0x52b4bb,_0x384c80,_0xa89207){return _0x38247e(_0x52b4bb,[''],_0x384c80,_0xa89207);}_0x4293ea['empty']=new _0x466e45([''],0x0);var _0x3edcdf=class{constructor(_0x491b6b,_0x1c2153=0x1){this['dir']=_0x1c2153,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x491b6b],this['offsets']=[_0x1c2153>0x0?0x1:(_0x491b6b instanceof _0x466e45?_0x491b6b['text']['length']:_0x491b6b['children']['length'])<<0x1];}nextInner(_0x5910df,_0x16481d){for(this['done']=this['lineBreak']=!0x1;;){let _0x578138=this['nodes']['length']-0x1,_0x11822c=this['nodes'][_0x578138],_0x1849a6=this['offsets'][_0x578138],_0x15c3e1=_0x1849a6>>0x1,_0x30a19f=_0x11822c instanceof _0x466e45?_0x11822c['text']['length']:_0x11822c['children']['length'];if(_0x15c3e1==(_0x16481d>0x0?_0x30a19f:0x0)){if(0x0==_0x578138)return this['done']=!0x0,this['value']='',this;_0x16481d>0x0&&this['offsets'][_0x578138-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x1849a6)==(_0x16481d>0x0?0x0:0x1)){if(this['offsets'][_0x578138]+=_0x16481d,0x0==_0x5910df)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x5910df--;}else{if(_0x11822c instanceof _0x466e45){let _0x4fd8c0=_0x11822c['text'][_0x15c3e1+(_0x16481d<0x0?-0x1:0x0)];if(this['offsets'][_0x578138]+=_0x16481d,_0x4fd8c0['length']>Math['max'](0x0,_0x5910df))return this['value']=0x0==_0x5910df?_0x4fd8c0:_0x16481d>0x0?_0x4fd8c0['slice'](_0x5910df):_0x4fd8c0['slice'](0x0,_0x4fd8c0['length']-_0x5910df),this;_0x5910df-=_0x4fd8c0['length'];}else{let _0x4892b4=_0x11822c['children'][_0x15c3e1+(_0x16481d<0x0?-0x1:0x0)];_0x5910df>_0x4892b4['length']?(_0x5910df-=_0x4892b4['length'],this['offsets'][_0x578138]+=_0x16481d):(_0x16481d<0x0&&this['offsets'][_0x578138]--,this['nodes']['push'](_0x4892b4),this['offsets']['push'](_0x16481d>0x0?0x1:(_0x4892b4 instanceof _0x466e45?_0x4892b4['text']['length']:_0x4892b4['children']['length'])<<0x1));}}}}}next(_0x10e802=0x0){return _0x10e802<0x0&&(this['nextInner'](-_0x10e802,-this['dir']),_0x10e802=this['value']['length']),this['nextInner'](_0x10e802,this['dir']);}},_0x58bab7=class{constructor(_0x792131,_0x2b59f7,_0x21545e){this['value']='',this['done']=!0x1,this['cursor']=new _0x3edcdf(_0x792131,_0x2b59f7>_0x21545e?-0x1:0x1),this['pos']=_0x2b59f7>_0x21545e?_0x792131['length']:0x0,this['from']=Math['min'](_0x2b59f7,_0x21545e),this['to']=Math['max'](_0x2b59f7,_0x21545e);}nextInner(_0x49f36d,_0x34d793){if(_0x34d793<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x49f36d+=Math['max'](0x0,_0x34d793<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x131ece=_0x34d793<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x49f36d>_0x131ece&&(_0x49f36d=_0x131ece),_0x131ece-=_0x49f36d;let {value:_0xbec018}=this['cursor']['next'](_0x49f36d);return this['pos']+=(_0xbec018['length']+_0x49f36d)*_0x34d793,this['value']=_0xbec018['length']<=_0x131ece?_0xbec018:_0x34d793<0x0?_0xbec018['slice'](_0xbec018['length']-_0x131ece):_0xbec018['slice'](0x0,_0x131ece),this['done']=!this['value'],this;}next(_0x28c378=0x0){return _0x28c378<0x0?_0x28c378=Math['max'](_0x28c378,this['from']-this['pos']):_0x28c378>0x0&&(_0x28c378=Math['min'](_0x28c378,this['to']-this['pos'])),this['nextInner'](_0x28c378,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}},_0x5473a6=class{constructor(_0x1325a5){this['inner']=_0x1325a5,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}next(_0x4d68f9=0x0){let {done:_0xed0b67,lineBreak:_0x47a27f,value:_0x2b5ca7}=this['inner']['next'](_0x4d68f9);return _0xed0b67&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0xed0b67?(this['done']=!0x0,this['value']=''):_0x47a27f?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x2b5ca7,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}};'undefined'!=typeof Symbol&&(_0x4293ea['prototype'][Symbol['iterator']]=function(){return this['iter']();},_0x3edcdf['prototype'][Symbol['iterator']]=_0x58bab7['prototype'][Symbol['iterator']]=_0x5473a6['prototype'][Symbol['iterator']]=function(){return this;});var _0x13bcb7=class{constructor(_0x22b121,_0x40e2fb,_0x2e8787,_0x83cf43){this['from']=_0x22b121,this['to']=_0x40e2fb,this['number']=_0x2e8787,this['text']=_0x83cf43;}get length(){return this['to']-this['from'];}};function _0x258439(_0x224b24,_0x5815f0,_0x1de897){return[_0x5815f0=Math['max'](0x0,Math['min'](_0x224b24['length'],_0x5815f0)),Math['max'](_0x5815f0,Math['min'](_0x224b24['length'],_0x1de897))];}function _0x53fca1(_0x1ecb9c,_0x12a243,_0x48fe61=!0x0,_0x115d50=!0x0){return _0x1bd292(_0x1ecb9c,_0x12a243,_0x48fe61,_0x115d50);}function _0x3b4c13(_0x423e1a,_0x13f8a0){let _0x7f8500=_0x423e1a['charCodeAt'](_0x13f8a0);if(!(_0x2ab997=_0x7f8500,_0x2ab997>=0xd800&&_0x2ab997<0xdc00&&_0x13f8a0+0x1!=_0x423e1a['length']))return _0x7f8500;var _0x2ab997;let _0x498b76=_0x423e1a['charCodeAt'](_0x13f8a0+0x1);return function(_0x571fea){return _0x571fea>=0xdc00&&_0x571fea<0xe000;}(_0x498b76)?_0x498b76-0xdc00+(_0x7f8500-0xd800<<0xa)+0x10000:_0x7f8500;}function _0x176df8(_0x58430f){return _0x58430f<=0xffff?String['fromCharCode'](_0x58430f):(_0x58430f-=0x10000,String['fromCharCode'](0xd800+(_0x58430f>>0xa),0xdc00+(0x3ff&_0x58430f)));}function _0xce687(_0x33f228){return _0x33f228<0x10000?0x1:0x2;}const _0x11c79a=/\r\n?|\n/;var _0x171f1e=function(_0xc19bd9){return _0xc19bd9[_0xc19bd9['Simple']=0x0]='Simple',_0xc19bd9[_0xc19bd9['TrackDel']=0x1]='TrackDel',_0xc19bd9[_0xc19bd9['TrackBefore']=0x2]='TrackBefore',_0xc19bd9[_0xc19bd9['TrackAfter']=0x3]='TrackAfter',_0xc19bd9;}(_0x171f1e||(_0x171f1e={})),_0x4d544b=class _0x508bf3{constructor(_0x54b141){this['sections']=_0x54b141;}get length(){let _0x598938=0x0;for(let _0x1ce07e=0x0;_0x1ce07e<this['sections']['length'];_0x1ce07e+=0x2)_0x598938+=this['sections'][_0x1ce07e];return _0x598938;}get newLength(){let _0x3e0f66=0x0;for(let _0x30b6fa=0x0;_0x30b6fa<this['sections']['length'];_0x30b6fa+=0x2){let _0x4c82e2=this['sections'][_0x30b6fa+0x1];_0x3e0f66+=_0x4c82e2<0x0?this['sections'][_0x30b6fa]:_0x4c82e2;}return _0x3e0f66;}get empty(){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}iterGaps(_0x2a41c1){for(let _0x58862=0x0,_0x5e6057=0x0,_0x84debc=0x0;_0x58862<this['sections']['length'];){let _0x290be7=this['sections'][_0x58862++],_0x3a821e=this['sections'][_0x58862++];_0x3a821e<0x0?(_0x2a41c1(_0x5e6057,_0x84debc,_0x290be7),_0x84debc+=_0x290be7):_0x84debc+=_0x3a821e,_0x5e6057+=_0x290be7;}}iterChangedRanges(_0x58ed1e,_0x295538=!0x1){_0x546c57(this,_0x58ed1e,_0x295538);}get invertedDesc(){let _0x2a1910=[];for(let _0x47f57d=0x0;_0x47f57d<this['sections']['length'];){let _0x584276=this['sections'][_0x47f57d++],_0x2143d4=this['sections'][_0x47f57d++];_0x2143d4<0x0?_0x2a1910['push'](_0x584276,_0x2143d4):_0x2a1910['push'](_0x2143d4,_0x584276);}return new _0x508bf3(_0x2a1910);}['composeDesc'](_0x573ec0){return this['empty']?_0x573ec0:_0x573ec0['empty']?this:_0x2bf71a(this,_0x573ec0);}['mapDesc'](_0x3b657f,_0x3f705c=!0x1){return _0x3b657f['empty']?this:_0x4b3075(this,_0x3b657f,_0x3f705c);}['mapPos'](_0x47036a,_0x33255a=-0x1,_0x562b9c=_0x171f1e['Simple']){let _0xa3386f=0x0,_0x2827be=0x0;for(let _0x55db62=0x0;_0x55db62<this['sections']['length'];){let _0x375473=this['sections'][_0x55db62++],_0xdbc8c5=this['sections'][_0x55db62++],_0x15782e=_0xa3386f+_0x375473;if(_0xdbc8c5<0x0){if(_0x15782e>_0x47036a)return _0x2827be+(_0x47036a-_0xa3386f);_0x2827be+=_0x375473;}else{if(_0x562b9c!=_0x171f1e['Simple']&&_0x15782e>=_0x47036a&&(_0x562b9c==_0x171f1e['TrackDel']&&_0xa3386f<_0x47036a&&_0x15782e>_0x47036a||_0x562b9c==_0x171f1e['TrackBefore']&&_0xa3386f<_0x47036a||_0x562b9c==_0x171f1e['TrackAfter']&&_0x15782e>_0x47036a))return null;if(_0x15782e>_0x47036a||_0x15782e==_0x47036a&&_0x33255a<0x0&&!_0x375473)return _0x47036a==_0xa3386f||_0x33255a<0x0?_0x2827be:_0x2827be+_0xdbc8c5;_0x2827be+=_0xdbc8c5;}_0xa3386f=_0x15782e;}if(_0x47036a>_0xa3386f)throw new RangeError('Position\x20'+_0x47036a+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0xa3386f);return _0x2827be;}touchesRange(_0xc25460,_0x4d92fb=_0xc25460){for(let _0x33e53d=0x0,_0x1334bb=0x0;_0x33e53d<this['sections']['length']&&_0x1334bb<=_0x4d92fb;){let _0x2c3b50=_0x1334bb+this['sections'][_0x33e53d++];if(this['sections'][_0x33e53d++]>=0x0&&_0x1334bb<=_0x4d92fb&&_0x2c3b50>=_0xc25460)return!(_0x1334bb<_0xc25460&&_0x2c3b50>_0x4d92fb)||'cover';_0x1334bb=_0x2c3b50;}return!0x1;}toString(){let _0x63b939='';for(let _0x4272c6=0x0;_0x4272c6<this['sections']['length'];){let _0x244e33=this['sections'][_0x4272c6++],_0xa2dd95=this['sections'][_0x4272c6++];_0x63b939+=(_0x63b939?'\x20':'')+_0x244e33+(_0xa2dd95>=0x0?':'+_0xa2dd95:'');}return _0x63b939;}toJSON(){return this['sections'];}static['fromJSON'](_0x1a738b){if(!Array['isArray'](_0x1a738b)||_0x1a738b['length']%0x2||_0x1a738b['some'](_0x26505a=>'number'!=typeof _0x26505a))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x508bf3(_0x1a738b);}static create(_0x1a7ed7){return new _0x508bf3(_0x1a7ed7);}},_0x598fb2=class ChangeSet extends _0x4d544b{constructor(_0x5817e7,_0x351211){super(_0x5817e7),this['inserted']=_0x351211;}['apply'](_0x4ac72c){if(this['length']!=_0x4ac72c['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return _0x546c57(this,(_0x3b503a,_0x29cedd,_0x35fd1a,_0x4d9255,_0x5ad9ea)=>_0x4ac72c=_0x4ac72c['replace'](_0x35fd1a,_0x35fd1a+(_0x29cedd-_0x3b503a),_0x5ad9ea),!0x1),_0x4ac72c;}['mapDesc'](_0x3fa5ee,_0x12085d=!0x1){return _0x4b3075(this,_0x3fa5ee,_0x12085d,!0x0);}invert(_0x1e0968){let _0x223387=this['sections']['slice'](),_0x5ee55b=[];for(let _0x34fb73=0x0,_0x8d10fe=0x0;_0x34fb73<_0x223387['length'];_0x34fb73+=0x2){let _0x22bd2d=_0x223387[_0x34fb73],_0x260be7=_0x223387[_0x34fb73+0x1];if(_0x260be7>=0x0){_0x223387[_0x34fb73]=_0x260be7,_0x223387[_0x34fb73+0x1]=_0x22bd2d;let _0x1c62d1=_0x34fb73>>0x1;for(;_0x5ee55b['length']<_0x1c62d1;)_0x5ee55b['push'](_0x4293ea['empty']);_0x5ee55b['push'](_0x22bd2d?_0x1e0968['slice'](_0x8d10fe,_0x8d10fe+_0x22bd2d):_0x4293ea['empty']);}_0x8d10fe+=_0x22bd2d;}return new ChangeSet(_0x223387,_0x5ee55b);}['compose'](_0x851ec3){return this['empty']?_0x851ec3:_0x851ec3['empty']?this:_0x2bf71a(this,_0x851ec3,!0x0);}['map'](_0x1fe6ae,_0x86137c=!0x1){return _0x1fe6ae['empty']?this:_0x4b3075(this,_0x1fe6ae,_0x86137c,!0x0);}iterChanges(_0xba5a64,_0x4ece74=!0x1){_0x546c57(this,_0xba5a64,_0x4ece74);}get['desc'](){return _0x4d544b['create'](this['sections']);}filter(_0x303dc8){let _0x48a9bb=[],_0x490b3b=[],_0x2d11bc=[],_0x3d22d6=new _0x293faf(this);t:for(let _0x46dc30=0x0,_0x2dfe54=0x0;;){let _0x3e4b49=_0x46dc30==_0x303dc8['length']?0x3b9aca00:_0x303dc8[_0x46dc30++];for(;_0x2dfe54<_0x3e4b49||_0x2dfe54==_0x3e4b49&&0x0==_0x3d22d6['len'];){if(_0x3d22d6['done'])break t;let _0x5f29d9=Math['min'](_0x3d22d6['len'],_0x3e4b49-_0x2dfe54);_0x598420(_0x2d11bc,_0x5f29d9,-0x1);let _0x869add=-0x1==_0x3d22d6['ins']?-0x1:0x0==_0x3d22d6['off']?_0x3d22d6['ins']:0x0;_0x598420(_0x48a9bb,_0x5f29d9,_0x869add),_0x869add>0x0&&_0x5c9546(_0x490b3b,_0x48a9bb,_0x3d22d6['text']),_0x3d22d6['forward'](_0x5f29d9),_0x2dfe54+=_0x5f29d9;}let _0x4931f9=_0x303dc8[_0x46dc30++];for(;_0x2dfe54<_0x4931f9;){if(_0x3d22d6['done'])break t;let _0x4e2ad1=Math['min'](_0x3d22d6['len'],_0x4931f9-_0x2dfe54);_0x598420(_0x48a9bb,_0x4e2ad1,-0x1),_0x598420(_0x2d11bc,_0x4e2ad1,-0x1==_0x3d22d6['ins']?-0x1:0x0==_0x3d22d6['off']?_0x3d22d6['ins']:0x0),_0x3d22d6['forward'](_0x4e2ad1),_0x2dfe54+=_0x4e2ad1;}}return{'changes':new ChangeSet(_0x48a9bb,_0x490b3b),'filtered':_0x4d544b['create'](_0x2d11bc)};}toJSON(){let _0x5b6c3c=[];for(let _0x1e83fb=0x0;_0x1e83fb<this['sections']['length'];_0x1e83fb+=0x2){let _0x3a8529=this['sections'][_0x1e83fb],_0x76d783=this['sections'][_0x1e83fb+0x1];_0x76d783<0x0?_0x5b6c3c['push'](_0x3a8529):0x0==_0x76d783?_0x5b6c3c['push']([_0x3a8529]):_0x5b6c3c['push']([_0x3a8529]['concat'](this['inserted'][_0x1e83fb>>0x1]['toJSON']()));}return _0x5b6c3c;}static['of'](_0x3a7e6e,_0x6447,_0x1741e7){let _0x3bbada=[],_0x2d7c7c=[],_0x38ccfb=0x0,_0x464b07=null;function _0x4d3d1f(_0x4a2f31=!0x1){if(!_0x4a2f31&&!_0x3bbada['length'])return;_0x38ccfb<_0x6447&&_0x598420(_0x3bbada,_0x6447-_0x38ccfb,-0x1);let _0x5ce61b=new ChangeSet(_0x3bbada,_0x2d7c7c);_0x464b07=_0x464b07?_0x464b07['compose'](_0x5ce61b['map'](_0x464b07)):_0x5ce61b,_0x3bbada=[],_0x2d7c7c=[],_0x38ccfb=0x0;}return function _0x42c9b7(_0x1e9c0a){if(Array['isArray'](_0x1e9c0a)){for(let _0x20cf98 of _0x1e9c0a)_0x42c9b7(_0x20cf98);}else{if(_0x1e9c0a instanceof ChangeSet){if(_0x1e9c0a['length']!=_0x6447)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x1e9c0a['length']+',\x20expected\x20'+_0x6447+')');_0x4d3d1f(),_0x464b07=_0x464b07?_0x464b07['compose'](_0x1e9c0a['map'](_0x464b07)):_0x1e9c0a;}else{let {from:_0x1a89c4,to:_0x4bbec1=_0x1a89c4,insert:_0x304303}=_0x1e9c0a;if(_0x1a89c4>_0x4bbec1||_0x1a89c4<0x0||_0x4bbec1>_0x6447)throw new RangeError('Invalid\x20change\x20range\x20'+_0x1a89c4+'\x20to\x20'+_0x4bbec1+'\x20(in\x20doc\x20of\x20length\x20'+_0x6447+')');let _0x2b7265=_0x304303?'string'==typeof _0x304303?_0x4293ea['of'](_0x304303['split'](_0x1741e7||_0x11c79a)):_0x304303:_0x4293ea['empty'],_0x49a531=_0x2b7265['length'];if(_0x1a89c4==_0x4bbec1&&0x0==_0x49a531)return;_0x1a89c4<_0x38ccfb&&_0x4d3d1f(),_0x1a89c4>_0x38ccfb&&_0x598420(_0x3bbada,_0x1a89c4-_0x38ccfb,-0x1),_0x598420(_0x3bbada,_0x4bbec1-_0x1a89c4,_0x49a531),_0x5c9546(_0x2d7c7c,_0x3bbada,_0x2b7265),_0x38ccfb=_0x4bbec1;}}}(_0x3a7e6e),_0x4d3d1f(!_0x464b07),_0x464b07;}static empty(_0x55764e){return new ChangeSet(_0x55764e?[_0x55764e,-0x1]:[],[]);}static['fromJSON'](_0x18bc48){if(!Array['isArray'](_0x18bc48))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x46a4f4=[],_0x247c3f=[];for(let _0x2d2017=0x0;_0x2d2017<_0x18bc48['length'];_0x2d2017++){let _0xd196a9=_0x18bc48[_0x2d2017];if('number'==typeof _0xd196a9)_0x46a4f4['push'](_0xd196a9,-0x1);else{if(!Array['isArray'](_0xd196a9)||'number'!=typeof _0xd196a9[0x0]||_0xd196a9['some']((_0x506835,_0xefc37e)=>_0xefc37e&&'string'!=typeof _0x506835))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0xd196a9['length'])_0x46a4f4['push'](_0xd196a9[0x0],0x0);else{for(;_0x247c3f['length']<_0x2d2017;)_0x247c3f['push'](_0x4293ea['empty']);_0x247c3f[_0x2d2017]=_0x4293ea['of'](_0xd196a9['slice'](0x1)),_0x46a4f4['push'](_0xd196a9[0x0],_0x247c3f[_0x2d2017]['length']);}}}return new ChangeSet(_0x46a4f4,_0x247c3f);}static createSet(_0x1b7874,_0x2696a3){return new ChangeSet(_0x1b7874,_0x2696a3);}};function _0x598420(_0x1a1ce1,_0x56575a,_0x4abcd6,_0x2655fb=!0x1){if(0x0==_0x56575a&&_0x4abcd6<=0x0)return;let _0x390a31=_0x1a1ce1['length']-0x2;_0x390a31>=0x0&&_0x4abcd6<=0x0&&_0x4abcd6==_0x1a1ce1[_0x390a31+0x1]?_0x1a1ce1[_0x390a31]+=_0x56575a:_0x390a31>=0x0&&0x0==_0x56575a&&0x0==_0x1a1ce1[_0x390a31]?_0x1a1ce1[_0x390a31+0x1]+=_0x4abcd6:_0x2655fb?(_0x1a1ce1[_0x390a31]+=_0x56575a,_0x1a1ce1[_0x390a31+0x1]+=_0x4abcd6):_0x1a1ce1['push'](_0x56575a,_0x4abcd6);}function _0x5c9546(_0x387495,_0x525d18,_0xb5ce48){if(0x0==_0xb5ce48['length'])return;let _0x59d5c0=_0x525d18['length']-0x2>>0x1;if(_0x59d5c0<_0x387495['length'])_0x387495[_0x387495['length']-0x1]=_0x387495[_0x387495['length']-0x1]['append'](_0xb5ce48);else{for(;_0x387495['length']<_0x59d5c0;)_0x387495['push'](_0x4293ea['empty']);_0x387495['push'](_0xb5ce48);}}function _0x546c57(_0x326542,_0x2b3cea,_0x219448){let _0x115804=_0x326542['inserted'];for(let _0x69a37a=0x0,_0x2f4910=0x0,_0x162249=0x0;_0x162249<_0x326542['sections']['length'];){let _0x27c4a0=_0x326542['sections'][_0x162249++],_0x4a04d8=_0x326542['sections'][_0x162249++];if(_0x4a04d8<0x0)_0x69a37a+=_0x27c4a0,_0x2f4910+=_0x27c4a0;else{let _0x232d71=_0x69a37a,_0x4aa1dc=_0x2f4910,_0x3194a6=_0x4293ea['empty'];for(;_0x232d71+=_0x27c4a0,_0x4aa1dc+=_0x4a04d8,_0x4a04d8&&_0x115804&&(_0x3194a6=_0x3194a6['append'](_0x115804[_0x162249-0x2>>0x1])),!(_0x219448||_0x162249==_0x326542['sections']['length']||_0x326542['sections'][_0x162249+0x1]<0x0);)_0x27c4a0=_0x326542['sections'][_0x162249++],_0x4a04d8=_0x326542['sections'][_0x162249++];_0x2b3cea(_0x69a37a,_0x232d71,_0x2f4910,_0x4aa1dc,_0x3194a6),_0x69a37a=_0x232d71,_0x2f4910=_0x4aa1dc;}}}function _0x4b3075(_0x7677e,_0x1d5817,_0x4f07b2,_0xbdcb49=!0x1){let _0x38e632=[],_0x16fc27=_0xbdcb49?[]:null,_0x1267e9=new _0x293faf(_0x7677e),_0x22331f=new _0x293faf(_0x1d5817);for(let _0xa2db98=-0x1;;){if(_0x1267e9['done']&&_0x22331f['len']||_0x22331f['done']&&_0x1267e9['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x1267e9['ins']&&-0x1==_0x22331f['ins']){let _0x9943b7=Math['min'](_0x1267e9['len'],_0x22331f['len']);_0x598420(_0x38e632,_0x9943b7,-0x1),_0x1267e9['forward'](_0x9943b7),_0x22331f['forward'](_0x9943b7);}else{if(_0x22331f['ins']>=0x0&&(_0x1267e9['ins']<0x0||_0xa2db98==_0x1267e9['i']||0x0==_0x1267e9['off']&&(_0x22331f['len']<_0x1267e9['len']||_0x22331f['len']==_0x1267e9['len']&&!_0x4f07b2))){let _0x904b09=_0x22331f['len'];for(_0x598420(_0x38e632,_0x22331f['ins'],-0x1);_0x904b09;){let _0xd693d4=Math['min'](_0x1267e9['len'],_0x904b09);_0x1267e9['ins']>=0x0&&_0xa2db98<_0x1267e9['i']&&_0x1267e9['len']<=_0xd693d4&&(_0x598420(_0x38e632,0x0,_0x1267e9['ins']),_0x16fc27&&_0x5c9546(_0x16fc27,_0x38e632,_0x1267e9['text']),_0xa2db98=_0x1267e9['i']),_0x1267e9['forward'](_0xd693d4),_0x904b09-=_0xd693d4;}_0x22331f['next']();}else{if(!(_0x1267e9['ins']>=0x0)){if(_0x1267e9['done']&&_0x22331f['done'])return _0x16fc27?_0x598fb2['createSet'](_0x38e632,_0x16fc27):_0x4d544b['create'](_0x38e632);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x3d18c8=0x0,_0x428f34=_0x1267e9['len'];for(;_0x428f34;)if(-0x1==_0x22331f['ins']){let _0x3fc4ea=Math['min'](_0x428f34,_0x22331f['len']);_0x3d18c8+=_0x3fc4ea,_0x428f34-=_0x3fc4ea,_0x22331f['forward'](_0x3fc4ea);}else{if(!(0x0==_0x22331f['ins']&&_0x22331f['len']<_0x428f34))break;_0x428f34-=_0x22331f['len'],_0x22331f['next']();}_0x598420(_0x38e632,_0x3d18c8,_0xa2db98<_0x1267e9['i']?_0x1267e9['ins']:0x0),_0x16fc27&&_0xa2db98<_0x1267e9['i']&&_0x5c9546(_0x16fc27,_0x38e632,_0x1267e9['text']),_0xa2db98=_0x1267e9['i'],_0x1267e9['forward'](_0x1267e9['len']-_0x428f34);}}}}}function _0x2bf71a(_0x3dbfa8,_0x1d3dd1,_0x3f76cd=!0x1){let _0x5efe51=[],_0x315f74=_0x3f76cd?[]:null,_0x43d445=new _0x293faf(_0x3dbfa8),_0x424559=new _0x293faf(_0x1d3dd1);for(let _0x45324b=!0x1;;){if(_0x43d445['done']&&_0x424559['done'])return _0x315f74?_0x598fb2['createSet'](_0x5efe51,_0x315f74):_0x4d544b['create'](_0x5efe51);if(0x0==_0x43d445['ins'])_0x598420(_0x5efe51,_0x43d445['len'],0x0,_0x45324b),_0x43d445['next']();else{if(0x0!=_0x424559['len']||_0x424559['done']){if(_0x43d445['done']||_0x424559['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x47b96c=Math['min'](_0x43d445['len2'],_0x424559['len']),_0x384701=_0x5efe51['length'];if(-0x1==_0x43d445['ins']){let _0x386f01=-0x1==_0x424559['ins']?-0x1:_0x424559['off']?0x0:_0x424559['ins'];_0x598420(_0x5efe51,_0x47b96c,_0x386f01,_0x45324b),_0x315f74&&_0x386f01&&_0x5c9546(_0x315f74,_0x5efe51,_0x424559['text']);}else-0x1==_0x424559['ins']?(_0x598420(_0x5efe51,_0x43d445['off']?0x0:_0x43d445['len'],_0x47b96c,_0x45324b),_0x315f74&&_0x5c9546(_0x315f74,_0x5efe51,_0x43d445['textBit'](_0x47b96c))):(_0x598420(_0x5efe51,_0x43d445['off']?0x0:_0x43d445['len'],_0x424559['off']?0x0:_0x424559['ins'],_0x45324b),_0x315f74&&!_0x424559['off']&&_0x5c9546(_0x315f74,_0x5efe51,_0x424559['text']));_0x45324b=(_0x43d445['ins']>_0x47b96c||_0x424559['ins']>=0x0&&_0x424559['len']>_0x47b96c)&&(_0x45324b||_0x5efe51['length']>_0x384701),_0x43d445['forward2'](_0x47b96c),_0x424559['forward'](_0x47b96c);}}else _0x598420(_0x5efe51,0x0,_0x424559['ins'],_0x45324b),_0x315f74&&_0x5c9546(_0x315f74,_0x5efe51,_0x424559['text']),_0x424559['next']();}}}var _0x293faf=class{constructor(_0x20827b){this['set']=_0x20827b,this['i']=0x0,this['next']();}next(){let {sections:_0x4a13ea}=this['set'];this['i']<_0x4a13ea['length']?(this['len']=_0x4a13ea[this['i']++],this['ins']=_0x4a13ea[this['i']++]):(this['len']=0x0,this['ins']=-0x2),this['off']=0x0;}get['done'](){return-0x2==this['ins'];}get['len2'](){return this['ins']<0x0?this['len']:this['ins'];}get text(){let {inserted:_0x3d5268}=this['set'],_0x2cf04b=this['i']-0x2>>0x1;return _0x2cf04b>=_0x3d5268['length']?_0x4293ea['empty']:_0x3d5268[_0x2cf04b];}textBit(_0x28aae0){let {inserted:_0x39a098}=this['set'],_0x58cb48=this['i']-0x2>>0x1;return _0x58cb48>=_0x39a098['length']&&!_0x28aae0?_0x4293ea['empty']:_0x39a098[_0x58cb48]['slice'](this['off'],null==_0x28aae0?void 0x0:this['off']+_0x28aae0);}['forward'](_0x2567b2){_0x2567b2==this['len']?this['next']():(this['len']-=_0x2567b2,this['off']+=_0x2567b2);}['forward2'](_0x57fb67){-0x1==this['ins']?this['forward'](_0x57fb67):_0x57fb67==this['ins']?this['next']():(this['ins']-=_0x57fb67,this['off']+=_0x57fb67);}},_0xcc8fb8=class SelectionRange{constructor(_0x317051,_0x48c3ce,_0x43ef00){this['from']=_0x317051,this['to']=_0x48c3ce,this['flags']=_0x43ef00;}get['anchor'](){return 0x20&this['flags']?this['to']:this['from'];}get['head'](){return 0x20&this['flags']?this['from']:this['to'];}get empty(){return this['from']==this['to'];}get['assoc'](){return 0x8&this['flags']?-0x1:0x10&this['flags']?0x1:0x0;}get['bidiLevel'](){let _0x3c5425=0x7&this['flags'];return 0x7==_0x3c5425?null:_0x3c5425;}get['goalColumn'](){let _0x1ada28=this['flags']>>0x6;return 0xffffff==_0x1ada28?void 0x0:_0x1ada28;}['map'](_0xdedf4c,_0x30e22b=-0x1){let _0x1c510b,_0x3cf949;return this['empty']?_0x1c510b=_0x3cf949=_0xdedf4c['mapPos'](this['from'],_0x30e22b):(_0x1c510b=_0xdedf4c['mapPos'](this['from'],0x1),_0x3cf949=_0xdedf4c['mapPos'](this['to'],-0x1)),_0x1c510b==this['from']&&_0x3cf949==this['to']?this:new SelectionRange(_0x1c510b,_0x3cf949,this['flags']);}extend(_0x1a45de,_0x449d2a=_0x1a45de,_0x46bf35=0x0){if(_0x1a45de<=this['anchor']&&_0x449d2a>=this['anchor'])return _0x3bda1f['range'](_0x1a45de,_0x449d2a,void 0x0,void 0x0,_0x46bf35);let _0x46bde4=Math['abs'](_0x1a45de-this['anchor'])>Math['abs'](_0x449d2a-this['anchor'])?_0x1a45de:_0x449d2a;return _0x3bda1f['range'](this['anchor'],_0x46bde4,void 0x0,void 0x0,_0x46bf35);}['eq'](_0x4ad574,_0x3edf2d=!0x1){return!(this['anchor']!=_0x4ad574['anchor']||this['head']!=_0x4ad574['head']||this['goalColumn']!=_0x4ad574['goalColumn']||_0x3edf2d&&this['empty']&&this['assoc']!=_0x4ad574['assoc']);}toJSON(){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x253473){if(!_0x253473||'number'!=typeof _0x253473['anchor']||'number'!=typeof _0x253473['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return _0x3bda1f['range'](_0x253473['anchor'],_0x253473['head']);}static create(_0x46e091,_0x554eb5,_0x21a81a){return new SelectionRange(_0x46e091,_0x554eb5,_0x21a81a);}},_0x3bda1f=class EditorSelection{constructor(_0x49ff49,_0x911a35){this['ranges']=_0x49ff49,this['mainIndex']=_0x911a35;}['map'](_0x21ceba,_0x3b0a1d=-0x1){return _0x21ceba['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x34ea35=>_0x34ea35['map'](_0x21ceba,_0x3b0a1d)),this['mainIndex']);}['eq'](_0x246f8b,_0x1ea81b=!0x1){if(this['ranges']['length']!=_0x246f8b['ranges']['length']||this['mainIndex']!=_0x246f8b['mainIndex'])return!0x1;for(let _0x5a16cd=0x0;_0x5a16cd<this['ranges']['length'];_0x5a16cd++)if(!this['ranges'][_0x5a16cd]['eq'](_0x246f8b['ranges'][_0x5a16cd],_0x1ea81b))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0xc46710,_0x15b89f=!0x0){return EditorSelection['create']([_0xc46710]['concat'](this['ranges']),_0x15b89f?0x0:this['mainIndex']+0x1);}['replaceRange'](_0xab5043,_0x5af097=this['mainIndex']){let _0x341e4f=this['ranges']['slice']();return _0x341e4f[_0x5af097]=_0xab5043,EditorSelection['create'](_0x341e4f,this['mainIndex']);}toJSON(){return{'ranges':this['ranges']['map'](_0x3ef906=>_0x3ef906['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x475f13){if(!_0x475f13||!Array['isArray'](_0x475f13['ranges'])||'number'!=typeof _0x475f13['main']||_0x475f13['main']>=_0x475f13['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x475f13['ranges']['map'](_0x4d380f=>_0xcc8fb8['fromJSON'](_0x4d380f)),_0x475f13['main']);}static['single'](_0x26232e,_0x122d4b=_0x26232e){return new EditorSelection([EditorSelection['range'](_0x26232e,_0x122d4b)],0x0);}static create(_0x563e77,_0x162417=0x0){if(0x0==_0x563e77['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x508cc9=0x0,_0x2834dc=0x0;_0x2834dc<_0x563e77['length'];_0x2834dc++){let _0x2aed5c=_0x563e77[_0x2834dc];if(_0x2aed5c['empty']?_0x2aed5c['from']<=_0x508cc9:_0x2aed5c['from']<_0x508cc9)return EditorSelection['normalized'](_0x563e77['slice'](),_0x162417);_0x508cc9=_0x2aed5c['to'];}return new EditorSelection(_0x563e77,_0x162417);}static['cursor'](_0x4f2c2e,_0x5b36ae=0x0,_0x2a1519,_0x4df5ba){return _0xcc8fb8['create'](_0x4f2c2e,_0x4f2c2e,(0x0==_0x5b36ae?0x0:_0x5b36ae<0x0?0x8:0x10)|(null==_0x2a1519?0x7:Math['min'](0x6,_0x2a1519))|(null!=_0x4df5ba?_0x4df5ba:0xffffff)<<0x6);}static['range'](_0x47c09b,_0x1be823,_0x14ef6a,_0x2c4608,_0x8a6630){let _0x53bdfc=(null!=_0x14ef6a?_0x14ef6a:0xffffff)<<0x6|(null==_0x2c4608?0x7:Math['min'](0x6,_0x2c4608));return _0x8a6630||_0x47c09b==_0x1be823||(_0x8a6630=_0x1be823<_0x47c09b?0x1:-0x1),_0x1be823<_0x47c09b?_0xcc8fb8['create'](_0x1be823,_0x47c09b,0x30|_0x53bdfc):_0xcc8fb8['create'](_0x47c09b,_0x1be823,(_0x8a6630?_0x8a6630<0x0?0x8:0x10:0x0)|_0x53bdfc);}static['normalized'](_0x5bd2a8,_0x9decc4=0x0){let _0x494429=_0x5bd2a8[_0x9decc4];_0x5bd2a8['sort']((_0x510928,_0x2fbfb8)=>_0x510928['from']-_0x2fbfb8['from']),_0x9decc4=_0x5bd2a8['indexOf'](_0x494429);for(let _0x5ac6e4=0x1;_0x5ac6e4<_0x5bd2a8['length'];_0x5ac6e4++){let _0x5367ab=_0x5bd2a8[_0x5ac6e4],_0x154e6b=_0x5bd2a8[_0x5ac6e4-0x1];if(_0x5367ab['empty']?_0x5367ab['from']<=_0x154e6b['to']:_0x5367ab['from']<_0x154e6b['to']){let _0xd932f0=_0x154e6b['from'],_0x358e74=Math['max'](_0x5367ab['to'],_0x154e6b['to']);_0x5ac6e4<=_0x9decc4&&_0x9decc4--,_0x5bd2a8['splice'](--_0x5ac6e4,0x2,_0x5367ab['anchor']>_0x5367ab['head']?EditorSelection['range'](_0x358e74,_0xd932f0):EditorSelection['range'](_0xd932f0,_0x358e74));}}return new EditorSelection(_0x5bd2a8,_0x9decc4);}};function _0x3a38bd(_0x487881,_0x40c4ce){for(let _0x5e3929 of _0x487881['ranges'])if(_0x5e3929['to']>_0x40c4ce)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let _0x55f7b9=0x0;var _0x2658c2=class Facet{constructor(_0x265bdb,_0x41d818,_0xe89913,_0x3349b9,_0x40679d){this['combine']=_0x265bdb,this['compareInput']=_0x41d818,this['compare']=_0xe89913,this['isStatic']=_0x3349b9,this['id']=_0x55f7b9++,this['default']=_0x265bdb([]),this['extensions']='function'==typeof _0x40679d?_0x40679d(this):_0x40679d;}get['reader'](){return this;}static['define'](_0x20143d={}){return new Facet(_0x20143d['combine']||(_0x1e5468=>_0x1e5468),_0x20143d['compareInput']||((_0x3784a6,_0x41b5da)=>_0x3784a6===_0x41b5da),_0x20143d['compare']||(_0x20143d['combine']?(_0x424ff0,_0x224553)=>_0x424ff0===_0x224553:_0x3431a1),!!_0x20143d['static'],_0x20143d['enables']);}['of'](_0x10f4f2){return new _0x4559dd([],this,0x0,_0x10f4f2);}compute(_0x50c3b9,_0x274743){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new _0x4559dd(_0x50c3b9,this,0x1,_0x274743);}computeN(_0x1a7a64,_0x51ea23){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new _0x4559dd(_0x1a7a64,this,0x2,_0x51ea23);}['from'](_0x148a55,_0x2879be){return _0x2879be||(_0x2879be=_0x3705d9=>_0x3705d9),this['compute']([_0x148a55],_0x79f4b6=>_0x2879be(_0x79f4b6['field'](_0x148a55)));}};function _0x3431a1(_0x1f9297,_0x36d9a4){return _0x1f9297==_0x36d9a4||_0x1f9297['length']==_0x36d9a4['length']&&_0x1f9297['every']((_0x37d550,_0x1ec5c6)=>_0x37d550===_0x36d9a4[_0x1ec5c6]);}var _0x4559dd=class{constructor(_0x136f8e,_0xf6639b,_0x58eb07,_0x2196ff){this['dependencies']=_0x136f8e,this['facet']=_0xf6639b,this['type']=_0x58eb07,this['value']=_0x2196ff,this['id']=_0x55f7b9++;}dynamicSlot(_0x236192){var _0x3b7261;let _0x2b69d1=this['value'],_0x31020d=this['facet']['compareInput'],_0x1b61b3=this['id'],_0x2853d2=_0x236192[_0x1b61b3]>>0x1,_0x5e343c=0x2==this['type'],_0x5b3c8c=!0x1,_0x2463a6=!0x1,_0x53eaff=[];for(let _0x5d4718 of this['dependencies'])'doc'==_0x5d4718?_0x5b3c8c=!0x0:'selection'==_0x5d4718?_0x2463a6=!0x0:0x1&(null!==(_0x3b7261=_0x236192[_0x5d4718['id']])&&void 0x0!==_0x3b7261?_0x3b7261:0x1)||_0x53eaff['push'](_0x236192[_0x5d4718['id']]);return{'create':_0x32d70d=>(_0x32d70d['values'][_0x2853d2]=_0x2b69d1(_0x32d70d),0x1),'update'(_0x461372,_0x1f442c){if(_0x5b3c8c&&_0x1f442c['docChanged']||_0x2463a6&&(_0x1f442c['docChanged']||_0x1f442c['selection'])||_0x219c64(_0x461372,_0x53eaff)){let _0x52f658=_0x2b69d1(_0x461372);if(_0x5e343c?!_0x3a5e8c(_0x52f658,_0x461372['values'][_0x2853d2],_0x31020d):!_0x31020d(_0x52f658,_0x461372['values'][_0x2853d2]))return _0x461372['values'][_0x2853d2]=_0x52f658,0x1;}return 0x0;},'reconfigure':(_0x1109cd,_0x3d7657)=>{let _0x3cd498,_0x361907=_0x3d7657['config']['address'][_0x1b61b3];if(null!=_0x361907){let _0x2c19e4=_0x50933d(_0x3d7657,_0x361907);if(this['dependencies']['every'](_0x59211a=>_0x59211a instanceof _0x2658c2?_0x3d7657['facet'](_0x59211a)===_0x1109cd['facet'](_0x59211a):!(_0x59211a instanceof _0xe7f3f)||_0x3d7657['field'](_0x59211a,!0x1)==_0x1109cd['field'](_0x59211a,!0x1))||(_0x5e343c?_0x3a5e8c(_0x3cd498=_0x2b69d1(_0x1109cd),_0x2c19e4,_0x31020d):_0x31020d(_0x3cd498=_0x2b69d1(_0x1109cd),_0x2c19e4)))return _0x1109cd['values'][_0x2853d2]=_0x2c19e4,0x0;}else _0x3cd498=_0x2b69d1(_0x1109cd);return _0x1109cd['values'][_0x2853d2]=_0x3cd498,0x1;}};}};function _0x3a5e8c(_0x3410c7,_0xe2eba3,_0x3cfd91){if(_0x3410c7['length']!=_0xe2eba3['length'])return!0x1;for(let _0x2e4597=0x0;_0x2e4597<_0x3410c7['length'];_0x2e4597++)if(!_0x3cfd91(_0x3410c7[_0x2e4597],_0xe2eba3[_0x2e4597]))return!0x1;return!0x0;}function _0x219c64(_0x493c2c,_0x292df0){let _0x585866=!0x1;for(let _0x255596 of _0x292df0)0x1&_0x1a5a10(_0x493c2c,_0x255596)&&(_0x585866=!0x0);return _0x585866;}function _0x393cc6(_0x2c3ecf,_0x28808a,_0x3d884c){let _0x39306c=_0x3d884c['map'](_0x32c28e=>_0x2c3ecf[_0x32c28e['id']]),_0x4db381=_0x3d884c['map'](_0x490838=>_0x490838['type']),_0x207e68=_0x39306c['filter'](_0xefb94e=>!(0x1&_0xefb94e)),_0x134304=_0x2c3ecf[_0x28808a['id']]>>0x1;function _0x46b668(_0x5efba8){let _0x39ebc3=[];for(let _0x458d3a=0x0;_0x458d3a<_0x39306c['length'];_0x458d3a++){let _0x4b9f61=_0x50933d(_0x5efba8,_0x39306c[_0x458d3a]);if(0x2==_0x4db381[_0x458d3a]){for(let _0x24dce7 of _0x4b9f61)_0x39ebc3['push'](_0x24dce7);}else _0x39ebc3['push'](_0x4b9f61);}return _0x28808a['combine'](_0x39ebc3);}return{'create'(_0x50fc41){for(let _0x2e1506 of _0x39306c)_0x1a5a10(_0x50fc41,_0x2e1506);return _0x50fc41['values'][_0x134304]=_0x46b668(_0x50fc41),0x1;},'update'(_0x4e06fd,_0x1f17d){if(!_0x219c64(_0x4e06fd,_0x207e68))return 0x0;let _0x6f83af=_0x46b668(_0x4e06fd);return _0x28808a['compare'](_0x6f83af,_0x4e06fd['values'][_0x134304])?0x0:(_0x4e06fd['values'][_0x134304]=_0x6f83af,0x1);},'reconfigure'(_0x5e615c,_0x4f2a7){let _0x3365a2=_0x219c64(_0x5e615c,_0x39306c),_0x29a000=_0x4f2a7['config']['facets'][_0x28808a['id']],_0x184db2=_0x4f2a7['facet'](_0x28808a);if(_0x29a000&&!_0x3365a2&&_0x3431a1(_0x3d884c,_0x29a000))return _0x5e615c['values'][_0x134304]=_0x184db2,0x0;let _0x3fbeaa=_0x46b668(_0x5e615c);return _0x28808a['compare'](_0x3fbeaa,_0x184db2)?(_0x5e615c['values'][_0x134304]=_0x184db2,0x0):(_0x5e615c['values'][_0x134304]=_0x3fbeaa,0x1);}};}const tC=_0x2658c2['define']({'static':!0x0});var _0xe7f3f=class StateField{constructor(_0xeed521,_0xe4fa77,_0x220a81,_0x500f92,_0x595538){this['id']=_0xeed521,this['createF']=_0xe4fa77,this['updateF']=_0x220a81,this['compareF']=_0x500f92,this['spec']=_0x595538,this['provides']=void 0x0;}static['define'](_0x2673e0){let _0xf0b72c=new StateField(_0x55f7b9++,_0x2673e0['create'],_0x2673e0['update'],_0x2673e0['compare']||((_0x24dcde,_0x1efb6d)=>_0x24dcde===_0x1efb6d),_0x2673e0);return _0x2673e0['provide']&&(_0xf0b72c['provides']=_0x2673e0['provide'](_0xf0b72c)),_0xf0b72c;}create(_0x1c44f2){let _0x3edac1=_0x1c44f2['facet'](tC)['find'](_0x192fa5=>_0x192fa5['field']==this);return((null==_0x3edac1?void 0x0:_0x3edac1['create'])||this['createF'])(_0x1c44f2);}slot(_0x2dd059){let _0x29a291=_0x2dd059[this['id']]>>0x1;return{'create':_0x4b98d6=>(_0x4b98d6['values'][_0x29a291]=this['create'](_0x4b98d6),0x1),'update':(_0x334c5a,_0x44d73a)=>{let _0xc0e03a=_0x334c5a['values'][_0x29a291],_0x43e089=this['updateF'](_0xc0e03a,_0x44d73a);return this['compareF'](_0xc0e03a,_0x43e089)?0x0:(_0x334c5a['values'][_0x29a291]=_0x43e089,0x1);},'reconfigure':(_0x1b2344,_0x507d69)=>{let _0x161229,_0x564b7a=_0x1b2344['facet'](tC),_0x1d01f6=_0x507d69['facet'](tC);return(_0x161229=_0x564b7a['find'](_0xa1af2a=>_0xa1af2a['field']==this))&&_0x161229!=_0x1d01f6['find'](_0x55f140=>_0x55f140['field']==this)?(_0x1b2344['values'][_0x29a291]=_0x161229['create'](_0x1b2344),0x1):null!=_0x507d69['config']['address'][this['id']]?(_0x1b2344['values'][_0x29a291]=_0x507d69['field'](this),0x0):(_0x1b2344['values'][_0x29a291]=this['create'](_0x1b2344),0x1);}};}init(_0x32d464){return[this,tC['of']({'field':this,'create':_0x32d464})];}get extension(){return this;}};const _0x476cd9=0x4,_0x2928dd=0x3,_0x3efa74=0x2,_0x4739f3=0x1;function _0x58e601(_0x357ce6){return _0x15ecc8=>new _0x4e0e09(_0x15ecc8,_0x357ce6);}const _0x1cb9ad={'highest':_0x58e601(0x0),'high':_0x58e601(_0x4739f3),'default':_0x58e601(_0x3efa74),'low':_0x58e601(_0x2928dd),'lowest':_0x58e601(_0x476cd9)};var _0x4e0e09=class{constructor(_0x523967,_0x23f1d6){this['inner']=_0x523967,this['prec']=_0x23f1d6;}},_0x175daa=class Compartment{['of'](_0x5a9ab6){return new _0x119131(this,_0x5a9ab6);}['reconfigure'](_0x2ced54){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x2ced54});}get(_0x48b26d){return _0x48b26d['config']['compartments']['get'](this);}},_0x119131=class{constructor(_0x8b5343,_0x393164){this['compartment']=_0x8b5343,this['inner']=_0x393164;}},_0x12ff7e=class Configuration{constructor(_0x4feb64,_0xe1e0ff,_0x1542c6,_0x12d11b,_0xa16a1d,_0x5eb658){for(this['base']=_0x4feb64,this['compartments']=_0xe1e0ff,this['dynamicSlots']=_0x1542c6,this['address']=_0x12d11b,this['staticValues']=_0xa16a1d,this['facets']=_0x5eb658,this['statusTemplate']=[];this['statusTemplate']['length']<_0x1542c6['length'];)this['statusTemplate']['push'](0x0);}staticFacet(_0x55eeca){let _0x517542=this['address'][_0x55eeca['id']];return null==_0x517542?_0x55eeca['default']:this['staticValues'][_0x517542>>0x1];}static['resolve'](_0x2ea434,_0x41fd0a,_0x26a88d){let _0x1463d3=[],_0x488ae9=Object['create'](null),_0x3878b9=new Map();for(let _0x558780 of function(_0x1ed1f0,_0x2b51f8,_0x243e31){let _0x438ce1=[[],[],[],[],[]],_0x30a69a=new Map();function _0x4f33da(_0x56ee73,_0x33ec07){let _0x491303=_0x30a69a['get'](_0x56ee73);if(null!=_0x491303){if(_0x491303<=_0x33ec07)return;let _0x48c156=_0x438ce1[_0x491303]['indexOf'](_0x56ee73);_0x48c156>-0x1&&_0x438ce1[_0x491303]['splice'](_0x48c156,0x1),_0x56ee73 instanceof _0x119131&&_0x243e31['delete'](_0x56ee73['compartment']);}if(_0x30a69a['set'](_0x56ee73,_0x33ec07),Array['isArray'](_0x56ee73)){for(let _0x2631d5 of _0x56ee73)_0x4f33da(_0x2631d5,_0x33ec07);}else{if(_0x56ee73 instanceof _0x119131){if(_0x243e31['has'](_0x56ee73['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x33b3a9=_0x2b51f8['get'](_0x56ee73['compartment'])||_0x56ee73['inner'];_0x243e31['set'](_0x56ee73['compartment'],_0x33b3a9),_0x4f33da(_0x33b3a9,_0x33ec07);}else{if(_0x56ee73 instanceof _0x4e0e09)_0x4f33da(_0x56ee73['inner'],_0x56ee73['prec']);else{if(_0x56ee73 instanceof _0xe7f3f)_0x438ce1[_0x33ec07]['push'](_0x56ee73),_0x56ee73['provides']&&_0x4f33da(_0x56ee73['provides'],_0x33ec07);else{if(_0x56ee73 instanceof _0x4559dd)_0x438ce1[_0x33ec07]['push'](_0x56ee73),_0x56ee73['facet']['extensions']&&_0x4f33da(_0x56ee73['facet']['extensions'],_0x3efa74);else{let _0x41ef46=_0x56ee73['extension'];if(!_0x41ef46)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x56ee73+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x4f33da(_0x41ef46,_0x33ec07);}}}}}}return _0x4f33da(_0x1ed1f0,_0x3efa74),_0x438ce1['reduce']((_0x2f8b31,_0x16263a)=>_0x2f8b31['concat'](_0x16263a));}(_0x2ea434,_0x41fd0a,_0x3878b9))_0x558780 instanceof _0xe7f3f?_0x1463d3['push'](_0x558780):(_0x488ae9[_0x558780['facet']['id']]||(_0x488ae9[_0x558780['facet']['id']]=[]))['push'](_0x558780);let _0x5bb825=Object['create'](null),_0xddffe0=[],_0x5bde75=[];for(let _0x175288 of _0x1463d3)_0x5bb825[_0x175288['id']]=_0x5bde75['length']<<0x1,_0x5bde75['push'](_0x3b937a=>_0x175288['slot'](_0x3b937a));let _0x3e5713=null==_0x26a88d?void 0x0:_0x26a88d['config']['facets'];for(let _0x4322d7 in _0x488ae9){let _0x4fcb2f=_0x488ae9[_0x4322d7],_0x51e44f=_0x4fcb2f[0x0]['facet'],_0x5de013=_0x3e5713&&_0x3e5713[_0x4322d7]||[];if(_0x4fcb2f['every'](_0x3424e5=>0x0==_0x3424e5['type'])){if(_0x5bb825[_0x51e44f['id']]=_0xddffe0['length']<<0x1|0x1,_0x3431a1(_0x5de013,_0x4fcb2f))_0xddffe0['push'](_0x26a88d['facet'](_0x51e44f));else{let _0x4e92d5=_0x51e44f['combine'](_0x4fcb2f['map'](_0xc09853=>_0xc09853['value']));_0xddffe0['push'](_0x26a88d&&_0x51e44f['compare'](_0x4e92d5,_0x26a88d['facet'](_0x51e44f))?_0x26a88d['facet'](_0x51e44f):_0x4e92d5);}}else{for(let _0x28fcd6 of _0x4fcb2f)0x0==_0x28fcd6['type']?(_0x5bb825[_0x28fcd6['id']]=_0xddffe0['length']<<0x1|0x1,_0xddffe0['push'](_0x28fcd6['value'])):(_0x5bb825[_0x28fcd6['id']]=_0x5bde75['length']<<0x1,_0x5bde75['push'](_0x3c754c=>_0x28fcd6['dynamicSlot'](_0x3c754c)));_0x5bb825[_0x51e44f['id']]=_0x5bde75['length']<<0x1,_0x5bde75['push'](_0xac0920=>_0x393cc6(_0xac0920,_0x51e44f,_0x4fcb2f));}}let _0x38023c=_0x5bde75['map'](_0x433a19=>_0x433a19(_0x5bb825));return new Configuration(_0x2ea434,_0x3878b9,_0x38023c,_0x5bb825,_0xddffe0,_0x488ae9);}};function _0x1a5a10(_0x17db74,_0x5ad906){if(0x1&_0x5ad906)return 0x2;let _0x179ef3=_0x5ad906>>0x1,_0x1e3f67=_0x17db74['status'][_0x179ef3];if(0x4==_0x1e3f67)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x1e3f67)return _0x1e3f67;_0x17db74['status'][_0x179ef3]=0x4;let _0x3642fe=_0x17db74['computeSlot'](_0x17db74,_0x17db74['config']['dynamicSlots'][_0x179ef3]);return _0x17db74['status'][_0x179ef3]=0x2|_0x3642fe;}function _0x50933d(_0xe82b61,_0x3c1009){return 0x1&_0x3c1009?_0xe82b61['config']['staticValues'][_0x3c1009>>0x1]:_0xe82b61['values'][_0x3c1009>>0x1];}const _0x171f0f=_0x2658c2['define'](),_0x15c11a=_0x2658c2['define']({'combine':_0x108192=>_0x108192['some'](_0x317549=>_0x317549),'static':!0x0}),_0x4ab49b=_0x2658c2['define']({'combine':_0x109c5e=>_0x109c5e['length']?_0x109c5e[0x0]:void 0x0,'static':!0x0}),_0x960f5c=_0x2658c2['define'](),_0x519629=_0x2658c2['define'](),_0x47ce2e=_0x2658c2['define'](),_0x2b8a3b=_0x2658c2['define']({'combine':_0x4154cf=>!!_0x4154cf['length']&&_0x4154cf[0x0]});var _0x5c39a2=class{constructor(_0x4f7520,_0x99fb3e){this['type']=_0x4f7520,this['value']=_0x99fb3e;}static['define'](){return new _0x5adccd();}},_0x5adccd=class{['of'](_0x2bb509){return new _0x5c39a2(this,_0x2bb509);}},_0x1bd8f3=class{constructor(_0x6c65f){this['map']=_0x6c65f;}['of'](_0x51f3f3){return new _0x1f791d(this,_0x51f3f3);}},_0x1f791d=class StateEffect{constructor(_0x25981d,_0x776045){this['type']=_0x25981d,this['value']=_0x776045;}['map'](_0x5d2311){let _0x3cad52=this['type']['map'](this['value'],_0x5d2311);return void 0x0===_0x3cad52?void 0x0:_0x3cad52==this['value']?this:new StateEffect(this['type'],_0x3cad52);}['is'](_0x2ff214){return this['type']==_0x2ff214;}static['define'](_0x894950={}){return new _0x1bd8f3(_0x894950['map']||(_0x583aff=>_0x583aff));}static mapEffects(_0x25538f,_0x255779){if(!_0x25538f['length'])return _0x25538f;let _0x4e9a0b=[];for(let _0x223fb1 of _0x25538f){let _0x3bbad6=_0x223fb1['map'](_0x255779);_0x3bbad6&&_0x4e9a0b['push'](_0x3bbad6);}return _0x4e9a0b;}};_0x1f791d['reconfigure']=_0x1f791d['define'](),_0x1f791d['appendConfig']=_0x1f791d['define']();var _0xdf5f41=class Transaction{constructor(_0x2b76e6,_0x27c328,_0x51d48e,_0x595074,_0x40868a,_0x314952){this['startState']=_0x2b76e6,this['changes']=_0x27c328,this['selection']=_0x51d48e,this['effects']=_0x595074,this['annotations']=_0x40868a,this['scrollIntoView']=_0x314952,this['_doc']=null,this['_state']=null,_0x51d48e&&_0x3a38bd(_0x51d48e,_0x27c328['newLength']),_0x40868a['some'](_0x57e44d=>_0x57e44d['type']==Transaction['time'])||(this['annotations']=_0x40868a['concat'](Transaction['time']['of'](Date['now']())));}static create(_0x1ff8ed,_0x435c6a,_0x140f29,_0x54c5a7,_0x184a12,_0x19c8bb){return new Transaction(_0x1ff8ed,_0x435c6a,_0x140f29,_0x54c5a7,_0x184a12,_0x19c8bb);}get['newDoc'](){return this['_doc']||(this['_doc']=this['changes']['apply'](this['startState']['doc']));}get newSelection(){return this['selection']||this['startState']['selection']['map'](this['changes']);}get state(){return this['_state']||this['startState']['applyTransaction'](this),this['_state'];}annotation(_0x3f3392){for(let _0x4bf882 of this['annotations'])if(_0x4bf882['type']==_0x3f3392)return _0x4bf882['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}isUserEvent(_0x54b895){let _0x3713c9=this['annotation'](Transaction['userEvent']);return!(!_0x3713c9||!(_0x3713c9==_0x54b895||_0x3713c9['length']>_0x54b895['length']&&_0x3713c9['slice'](0x0,_0x54b895['length'])==_0x54b895&&'.'==_0x3713c9[_0x54b895['length']]));}};function _0x19717f(_0x1081da,_0x3ef85e){let _0x156e1d=[];for(let _0x19a13c=0x0,_0x1c63c7=0x0;;){let _0x4cbfe6,_0x1747ba;if(_0x19a13c<_0x1081da['length']&&(_0x1c63c7==_0x3ef85e['length']||_0x3ef85e[_0x1c63c7]>=_0x1081da[_0x19a13c]))_0x4cbfe6=_0x1081da[_0x19a13c++],_0x1747ba=_0x1081da[_0x19a13c++];else{if(!(_0x1c63c7<_0x3ef85e['length']))return _0x156e1d;_0x4cbfe6=_0x3ef85e[_0x1c63c7++],_0x1747ba=_0x3ef85e[_0x1c63c7++];}!_0x156e1d['length']||_0x156e1d[_0x156e1d['length']-0x1]<_0x4cbfe6?_0x156e1d['push'](_0x4cbfe6,_0x1747ba):_0x156e1d[_0x156e1d['length']-0x1]<_0x1747ba&&(_0x156e1d[_0x156e1d['length']-0x1]=_0x1747ba);}}function _0x2c6705(_0x52a7ea,_0x1a4f10,_0xe5d030){var _0x45f9a5;let _0x15770b,_0x4e7613,_0x33a0be;return _0xe5d030?(_0x15770b=_0x1a4f10['changes'],_0x4e7613=_0x598fb2['empty'](_0x1a4f10['changes']['length']),_0x33a0be=_0x52a7ea['changes']['compose'](_0x1a4f10['changes'])):(_0x15770b=_0x1a4f10['changes']['map'](_0x52a7ea['changes']),_0x4e7613=_0x52a7ea['changes']['mapDesc'](_0x1a4f10['changes'],!0x0),_0x33a0be=_0x52a7ea['changes']['compose'](_0x15770b)),{'changes':_0x33a0be,'selection':_0x1a4f10['selection']?_0x1a4f10['selection']['map'](_0x4e7613):null===(_0x45f9a5=_0x52a7ea['selection'])||void 0x0===_0x45f9a5?void 0x0:_0x45f9a5['map'](_0x15770b),'effects':_0x1f791d['mapEffects'](_0x52a7ea['effects'],_0x15770b)['concat'](_0x1f791d['mapEffects'](_0x1a4f10['effects'],_0x4e7613)),'annotations':_0x52a7ea['annotations']['length']?_0x52a7ea['annotations']['concat'](_0x1a4f10['annotations']):_0x1a4f10['annotations'],'scrollIntoView':_0x52a7ea['scrollIntoView']||_0x1a4f10['scrollIntoView']};}function _0x37cdc8(_0x5c3b3f,_0x10df06,_0x30e0e8){let _0x4ea682=_0x10df06['selection'],_0x54c649=_0x494988(_0x10df06['annotations']);return _0x10df06['userEvent']&&(_0x54c649=_0x54c649['concat'](_0xdf5f41['userEvent']['of'](_0x10df06['userEvent']))),{'changes':_0x10df06['changes']instanceof _0x598fb2?_0x10df06['changes']:_0x598fb2['of'](_0x10df06['changes']||[],_0x30e0e8,_0x5c3b3f['facet'](_0x4ab49b)),'selection':_0x4ea682&&(_0x4ea682 instanceof _0x3bda1f?_0x4ea682:_0x3bda1f['single'](_0x4ea682['anchor'],_0x4ea682['head'])),'effects':_0x494988(_0x10df06['effects']),'annotations':_0x54c649,'scrollIntoView':!!_0x10df06['scrollIntoView']};}function _0x2573a0(_0x4c38d8,_0x37c534,_0x485e9b){let _0x13c813=_0x37cdc8(_0x4c38d8,_0x37c534['length']?_0x37c534[0x0]:{},_0x4c38d8['doc']['length']);_0x37c534['length']&&!0x1===_0x37c534[0x0]['filter']&&(_0x485e9b=!0x1);for(let _0x39d732=0x1;_0x39d732<_0x37c534['length'];_0x39d732++){!0x1===_0x37c534[_0x39d732]['filter']&&(_0x485e9b=!0x1);let _0x557b8e=!!_0x37c534[_0x39d732]['sequential'];_0x13c813=_0x2c6705(_0x13c813,_0x37cdc8(_0x4c38d8,_0x37c534[_0x39d732],_0x557b8e?_0x13c813['changes']['newLength']:_0x4c38d8['doc']['length']),_0x557b8e);}let _0x31f4be=_0xdf5f41['create'](_0x4c38d8,_0x13c813['changes'],_0x13c813['selection'],_0x13c813['effects'],_0x13c813['annotations'],_0x13c813['scrollIntoView']);return function(_0xe47445){let _0x5dc1d4=_0xe47445['startState'],_0x2231c7=_0x5dc1d4['facet'](_0x47ce2e),_0x4aaac0=_0xe47445;for(let _0x11fe00=_0x2231c7['length']-0x1;_0x11fe00>=0x0;_0x11fe00--){let _0x3593ad=_0x2231c7[_0x11fe00](_0xe47445);_0x3593ad&&Object['keys'](_0x3593ad)['length']&&(_0x4aaac0=_0x2c6705(_0x4aaac0,_0x37cdc8(_0x5dc1d4,_0x3593ad,_0xe47445['changes']['newLength']),!0x0));}return _0x4aaac0==_0xe47445?_0xe47445:_0xdf5f41['create'](_0x5dc1d4,_0xe47445['changes'],_0xe47445['selection'],_0x4aaac0['effects'],_0x4aaac0['annotations'],_0x4aaac0['scrollIntoView']);}(_0x485e9b?function(_0x4a0a41){let _0x537bd8=_0x4a0a41['startState'],_0x1ef02d=!0x0;for(let _0x598eab of _0x537bd8['facet'](_0x960f5c)){let _0x2a2a62=_0x598eab(_0x4a0a41);if(!0x1===_0x2a2a62){_0x1ef02d=!0x1;break;}Array['isArray'](_0x2a2a62)&&(_0x1ef02d=!0x0===_0x1ef02d?_0x2a2a62:_0x19717f(_0x1ef02d,_0x2a2a62));}if(!0x0!==_0x1ef02d){let _0x8f797d,_0x3280dc;if(!0x1===_0x1ef02d)_0x3280dc=_0x4a0a41['changes']['invertedDesc'],_0x8f797d=_0x598fb2['empty'](_0x537bd8['doc']['length']);else{let _0x2d11e6=_0x4a0a41['changes']['filter'](_0x1ef02d);_0x8f797d=_0x2d11e6['changes'],_0x3280dc=_0x2d11e6['filtered']['mapDesc'](_0x2d11e6['changes'])['invertedDesc'];}_0x4a0a41=_0xdf5f41['create'](_0x537bd8,_0x8f797d,_0x4a0a41['selection']&&_0x4a0a41['selection']['map'](_0x3280dc),_0x1f791d['mapEffects'](_0x4a0a41['effects'],_0x3280dc),_0x4a0a41['annotations'],_0x4a0a41['scrollIntoView']);}let _0x3c34b2=_0x537bd8['facet'](_0x519629);for(let _0x401941=_0x3c34b2['length']-0x1;_0x401941>=0x0;_0x401941--){let _0xb287f3=_0x3c34b2[_0x401941](_0x4a0a41);_0x4a0a41=_0xb287f3 instanceof _0xdf5f41?_0xb287f3:Array['isArray'](_0xb287f3)&&0x1==_0xb287f3['length']&&_0xb287f3[0x0]instanceof _0xdf5f41?_0xb287f3[0x0]:_0x2573a0(_0x537bd8,_0x494988(_0xb287f3),!0x1);}return _0x4a0a41;}(_0x31f4be):_0x31f4be);}_0xdf5f41['time']=_0x5c39a2['define'](),_0xdf5f41['userEvent']=_0x5c39a2['define'](),_0xdf5f41['addToHistory']=_0x5c39a2['define'](),_0xdf5f41['remote']=_0x5c39a2['define']();const _0x22c5f2=[];function _0x494988(_0x331154){return null==_0x331154?_0x22c5f2:Array['isArray'](_0x331154)?_0x331154:[_0x331154];}var _0x17f75a=function(_0x1646c6){return _0x1646c6[_0x1646c6['Word']=0x0]='Word',_0x1646c6[_0x1646c6['Space']=0x1]='Space',_0x1646c6[_0x1646c6['Other']=0x2]='Other',_0x1646c6;}(_0x17f75a||(_0x17f75a={}));const _0x2ccfea=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x1ef870;try{_0x1ef870=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x5277f8){}function _0x3b2c0c(_0x4ea2d9){return _0x326946=>{if(!/\S/['test'](_0x326946))return _0x17f75a['Space'];if(function(_0x29d634){if(_0x1ef870)return _0x1ef870['test'](_0x29d634);for(let _0x3dd06d=0x0;_0x3dd06d<_0x29d634['length'];_0x3dd06d++){let _0x163a5d=_0x29d634[_0x3dd06d];if(/\w/['test'](_0x163a5d)||_0x163a5d>'\u0080'&&(_0x163a5d['toUpperCase']()!=_0x163a5d['toLowerCase']()||_0x2ccfea['test'](_0x163a5d)))return!0x0;}return!0x1;}(_0x326946))return _0x17f75a['Word'];for(let _0xdf0041=0x0;_0xdf0041<_0x4ea2d9['length'];_0xdf0041++)if(_0x326946['indexOf'](_0x4ea2d9[_0xdf0041])>-0x1)return _0x17f75a['Word'];return _0x17f75a['Other'];};}var _0x1d56fe=class EditorState{constructor(_0x5b6f90,_0x12e722,_0x4017c6,_0x2efdc2,_0x498bc6,_0x2cdadf){this['config']=_0x5b6f90,this['doc']=_0x12e722,this['selection']=_0x4017c6,this['values']=_0x2efdc2,this['status']=_0x5b6f90['statusTemplate']['slice'](),this['computeSlot']=_0x498bc6,_0x2cdadf&&(_0x2cdadf['_state']=this);for(let _0x522a92=0x0;_0x522a92<this['config']['dynamicSlots']['length'];_0x522a92++)_0x1a5a10(this,_0x522a92<<0x1);this['computeSlot']=null;}['field'](_0x53d83a,_0x1bec3d=!0x0){let _0x2f0df3=this['config']['address'][_0x53d83a['id']];if(null!=_0x2f0df3)return _0x1a5a10(this,_0x2f0df3),_0x50933d(this,_0x2f0df3);if(_0x1bec3d)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}update(..._0x643a85){return _0x2573a0(this,_0x643a85,!0x0);}applyTransaction(_0x55b18e){let _0x248798,_0x472576=this['config'],{base:_0x26e8bd,compartments:_0xf2e120}=_0x472576;for(let _0x51ecba of _0x55b18e['effects'])_0x51ecba['is'](_0x175daa['reconfigure'])?(_0x472576&&(_0xf2e120=new Map(),_0x472576['compartments']['forEach']((_0x3d5c0f,_0x5ca583)=>_0xf2e120['set'](_0x5ca583,_0x3d5c0f)),_0x472576=null),_0xf2e120['set'](_0x51ecba['value']['compartment'],_0x51ecba['value']['extension'])):_0x51ecba['is'](_0x1f791d['reconfigure'])?(_0x472576=null,_0x26e8bd=_0x51ecba['value']):_0x51ecba['is'](_0x1f791d['appendConfig'])&&(_0x472576=null,_0x26e8bd=_0x494988(_0x26e8bd)['concat'](_0x51ecba['value']));_0x472576?_0x248798=_0x55b18e['startState']['values']['slice']():(_0x472576=_0x12ff7e['resolve'](_0x26e8bd,_0xf2e120,this),_0x248798=new EditorState(_0x472576,this['doc'],this['selection'],_0x472576['dynamicSlots']['map'](()=>null),(_0x793c93,_0x41ae35)=>_0x41ae35['reconfigure'](_0x793c93,this),null)['values']);let _0x33f058=_0x55b18e['startState']['facet'](_0x15c11a)?_0x55b18e['newSelection']:_0x55b18e['newSelection']['asSingle']();new EditorState(_0x472576,_0x55b18e['newDoc'],_0x33f058,_0x248798,(_0x3763e6,_0x8baf3f)=>_0x8baf3f['update'](_0x3763e6,_0x55b18e),_0x55b18e);}replaceSelection(_0x540fc7){return'string'==typeof _0x540fc7&&(_0x540fc7=this['toText'](_0x540fc7)),this['changeByRange'](_0x30e575=>({'changes':{'from':_0x30e575['from'],'to':_0x30e575['to'],'insert':_0x540fc7},'range':_0x3bda1f['cursor'](_0x30e575['from']+_0x540fc7['length'])}));}['changeByRange'](_0xa9a7f5){let _0x14b5e2=this['selection'],_0x39a03e=_0xa9a7f5(_0x14b5e2['ranges'][0x0]),_0x200d8=this['changes'](_0x39a03e['changes']),_0x26e631=[_0x39a03e['range']],_0x1c9882=_0x494988(_0x39a03e['effects']);for(let _0x4b7ebf=0x1;_0x4b7ebf<_0x14b5e2['ranges']['length'];_0x4b7ebf++){let _0x592ea9=_0xa9a7f5(_0x14b5e2['ranges'][_0x4b7ebf]),_0x591809=this['changes'](_0x592ea9['changes']),_0x2762e9=_0x591809['map'](_0x200d8);for(let _0x58c2a4=0x0;_0x58c2a4<_0x4b7ebf;_0x58c2a4++)_0x26e631[_0x58c2a4]=_0x26e631[_0x58c2a4]['map'](_0x2762e9);let _0x45abfd=_0x200d8['mapDesc'](_0x591809,!0x0);_0x26e631['push'](_0x592ea9['range']['map'](_0x45abfd)),_0x200d8=_0x200d8['compose'](_0x2762e9),_0x1c9882=_0x1f791d['mapEffects'](_0x1c9882,_0x2762e9)['concat'](_0x1f791d['mapEffects'](_0x494988(_0x592ea9['effects']),_0x45abfd));}return{'changes':_0x200d8,'selection':_0x3bda1f['create'](_0x26e631,_0x14b5e2['mainIndex']),'effects':_0x1c9882};}['changes'](_0x8cbbd=[]){return _0x8cbbd instanceof _0x598fb2?_0x8cbbd:_0x598fb2['of'](_0x8cbbd,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}toText(_0x2fba33){return _0x4293ea['of'](_0x2fba33['split'](this['facet'](EditorState['lineSeparator'])||_0x11c79a));}['sliceDoc'](_0x2bff4b=0x0,_0x3280f5=this['doc']['length']){return this['doc']['sliceString'](_0x2bff4b,_0x3280f5,this['lineBreak']);}facet(_0x3d5383){let _0x5b0afd=this['config']['address'][_0x3d5383['id']];return null==_0x5b0afd?_0x3d5383['default']:(_0x1a5a10(this,_0x5b0afd),_0x50933d(this,_0x5b0afd));}toJSON(_0x29327c){let _0x11cf19={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x29327c)for(let _0xb10125 in _0x29327c){let _0x47363b=_0x29327c[_0xb10125];_0x47363b instanceof _0xe7f3f&&null!=this['config']['address'][_0x47363b['id']]&&(_0x11cf19[_0xb10125]=_0x47363b['spec']['toJSON'](this['field'](_0x29327c[_0xb10125]),this));}return _0x11cf19;}static['fromJSON'](_0x512bb1,_0x40a086={},_0x2f9019){if(!_0x512bb1||'string'!=typeof _0x512bb1['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x2b3dc8=[];if(_0x2f9019){for(let _0x5d604b in _0x2f9019)if(Object['prototype']['hasOwnProperty']['call'](_0x512bb1,_0x5d604b)){let _0x5cfad5=_0x2f9019[_0x5d604b],_0x48e038=_0x512bb1[_0x5d604b];_0x2b3dc8['push'](_0x5cfad5['init'](_0x8cefcc=>_0x5cfad5['spec']['fromJSON'](_0x48e038,_0x8cefcc)));}}return EditorState['create']({'doc':_0x512bb1['doc'],'selection':_0x3bda1f['fromJSON'](_0x512bb1['selection']),'extensions':_0x40a086['extensions']?_0x2b3dc8['concat']([_0x40a086['extensions']]):_0x2b3dc8});}static create(_0xbc09cb={}){let _0x234cdd=_0x12ff7e['resolve'](_0xbc09cb['extensions']||[],new Map()),_0x5b9872=_0xbc09cb['doc']instanceof _0x4293ea?_0xbc09cb['doc']:_0x4293ea['of']((_0xbc09cb['doc']||'')['split'](_0x234cdd['staticFacet'](EditorState['lineSeparator'])||_0x11c79a)),_0x538234=_0xbc09cb['selection']?_0xbc09cb['selection']instanceof _0x3bda1f?_0xbc09cb['selection']:_0x3bda1f['single'](_0xbc09cb['selection']['anchor'],_0xbc09cb['selection']['head']):_0x3bda1f['single'](0x0);return _0x3a38bd(_0x538234,_0x5b9872['length']),_0x234cdd['staticFacet'](_0x15c11a)||(_0x538234=_0x538234['asSingle']()),new EditorState(_0x234cdd,_0x5b9872,_0x538234,_0x234cdd['dynamicSlots']['map'](()=>null),(_0x227240,_0x229f15)=>_0x229f15['create'](_0x227240),null);}get tabSize(){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x2b8a3b);}['phrase'](_0x419763,..._0x5e5420){for(let _0x5f0b5a of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x5f0b5a,_0x419763)){_0x419763=_0x5f0b5a[_0x419763];break;}return _0x5e5420['length']&&(_0x419763=_0x419763['replace'](/\$(\$|\d*)/g,(_0x512039,_0x444be4)=>{if('$'==_0x444be4)return'$';let _0x41ac99=+(_0x444be4||0x1);return!_0x41ac99||_0x41ac99>_0x5e5420['length']?_0x512039:_0x5e5420[_0x41ac99-0x1];})),_0x419763;}languageDataAt(_0x4cc301,_0x3e0491,_0x1e29ab=-0x1){let _0x11c964=[];for(let _0xb9ca7b of this['facet'](_0x171f0f))for(let _0x52d7e6 of _0xb9ca7b(this,_0x3e0491,_0x1e29ab))Object['prototype']['hasOwnProperty']['call'](_0x52d7e6,_0x4cc301)&&_0x11c964['push'](_0x52d7e6[_0x4cc301]);return _0x11c964;}charCategorizer(_0xd85f21){let _0xfe7795=this['languageDataAt']('wordChars',_0xd85f21);return _0x3b2c0c(_0xfe7795['length']?_0xfe7795[0x0]:'');}wordAt(_0x453e7c){let {text:_0x36d823,from:_0x2f9878,length:_0x3a27fe}=this['doc']['lineAt'](_0x453e7c),_0x588bdf=this['charCategorizer'](_0x453e7c),_0x320a4f=_0x453e7c-_0x2f9878,_0x2dcf48=_0x453e7c-_0x2f9878;for(;_0x320a4f>0x0;){let _0x49d55b=_0x53fca1(_0x36d823,_0x320a4f,!0x1);if(_0x588bdf(_0x36d823['slice'](_0x49d55b,_0x320a4f))!=_0x17f75a['Word'])break;_0x320a4f=_0x49d55b;}for(;_0x2dcf48<_0x3a27fe;){let _0x41d85a=_0x53fca1(_0x36d823,_0x2dcf48);if(_0x588bdf(_0x36d823['slice'](_0x2dcf48,_0x41d85a))!=_0x17f75a['Word'])break;_0x2dcf48=_0x41d85a;}return _0x320a4f==_0x2dcf48?null:_0x3bda1f['range'](_0x320a4f+_0x2f9878,_0x2dcf48+_0x2f9878);}};function _0x264c41(_0x269eb8,_0x39b3a5,_0x17d0d9={}){let _0xf8dd8a={};for(let _0x252a9a of _0x269eb8)for(let _0x455a70 of Object['keys'](_0x252a9a)){let _0x543a07=_0x252a9a[_0x455a70],_0x53acf6=_0xf8dd8a[_0x455a70];if(void 0x0===_0x53acf6)_0xf8dd8a[_0x455a70]=_0x543a07;else{if(_0x53acf6===_0x543a07||void 0x0===_0x543a07);else{if(!Object['hasOwnProperty']['call'](_0x17d0d9,_0x455a70))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x455a70);_0xf8dd8a[_0x455a70]=_0x17d0d9[_0x455a70](_0x53acf6,_0x543a07);}}}for(let _0x5ab168 in _0x39b3a5)void 0x0===_0xf8dd8a[_0x5ab168]&&(_0xf8dd8a[_0x5ab168]=_0x39b3a5[_0x5ab168]);return _0xf8dd8a;}_0x1d56fe['allowMultipleSelections']=_0x15c11a,_0x1d56fe['tabSize']=_0x2658c2['define']({'combine':_0x12acfb=>_0x12acfb['length']?_0x12acfb[0x0]:0x4}),_0x1d56fe['lineSeparator']=_0x4ab49b,_0x1d56fe['readOnly']=_0x2b8a3b,_0x1d56fe['phrases']=_0x2658c2['define']({'compare'(_0x44c34f,_0x2d27d6){let _0x422636=Object['keys'](_0x44c34f),_0x59ec07=Object['keys'](_0x2d27d6);return _0x422636['length']==_0x59ec07['length']&&_0x422636['every'](_0x331452=>_0x44c34f[_0x331452]==_0x2d27d6[_0x331452]);}}),_0x1d56fe['languageData']=_0x171f0f,_0x1d56fe['changeFilter']=_0x960f5c,_0x1d56fe['transactionFilter']=_0x519629,_0x1d56fe['transactionExtender']=_0x47ce2e,_0x175daa['reconfigure']=_0x1f791d['define']();var _0x1d3955=class{['eq'](_0x4b3c5){return this==_0x4b3c5;}['range'](_0x4573b2,_0x27a9af=_0x4573b2){return _0x310c29['create'](_0x4573b2,_0x27a9af,this);}};function _0x55f398(_0x5296e4,_0x2f9b26){return _0x5296e4==_0x2f9b26||_0x5296e4['constructor']==_0x2f9b26['constructor']&&_0x5296e4['eq'](_0x2f9b26);}_0x1d3955['prototype']['startSide']=_0x1d3955['prototype']['endSide']=0x0,_0x1d3955['prototype']['point']=!0x1,_0x1d3955['prototype']['mapMode']=_0x171f1e['TrackDel'];var _0x310c29=class _0x15f0c7{constructor(_0x5605f8,_0x9bbf0e,_0xae705f){this['from']=_0x5605f8,this['to']=_0x9bbf0e,this['value']=_0xae705f;}static create(_0x2108aa,_0x1697b3,_0x4aecaf){return new _0x15f0c7(_0x2108aa,_0x1697b3,_0x4aecaf);}};function _0x2a3930(_0x358738,_0x487649){return _0x358738['from']-_0x487649['from']||_0x358738['value']['startSide']-_0x487649['value']['startSide'];}var _0x58bf82=class _0xc68dcd{constructor(_0x1ba031,_0x230eab,_0x58654f,_0x30556d){this['from']=_0x1ba031,this['to']=_0x230eab,this['value']=_0x58654f,this['maxPoint']=_0x30556d;}get length(){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x470766,_0x5443fb,_0x3f4678,_0x3badf5=0x0){let _0xed3493=_0x3f4678?this['to']:this['from'];for(let _0x25875f=_0x3badf5,_0x3bfe96=_0xed3493['length'];;){if(_0x25875f==_0x3bfe96)return _0x25875f;let _0x5c61fd=_0x25875f+_0x3bfe96>>0x1,_0x3d06e9=_0xed3493[_0x5c61fd]-_0x470766||(_0x3f4678?this['value'][_0x5c61fd]['endSide']:this['value'][_0x5c61fd]['startSide'])-_0x5443fb;if(_0x5c61fd==_0x25875f)return _0x3d06e9>=0x0?_0x25875f:_0x3bfe96;_0x3d06e9>=0x0?_0x3bfe96=_0x5c61fd:_0x25875f=_0x5c61fd+0x1;}}between(_0x96402e,_0x46d639,_0x4ef046,_0x16fff4){for(let _0x42770d=this['findIndex'](_0x46d639,-0x3b9aca00,!0x0),_0x30a3f4=this['findIndex'](_0x4ef046,0x3b9aca00,!0x1,_0x42770d);_0x42770d<_0x30a3f4;_0x42770d++)if(!0x1===_0x16fff4(this['from'][_0x42770d]+_0x96402e,this['to'][_0x42770d]+_0x96402e,this['value'][_0x42770d]))return!0x1;}['map'](_0x42825a,_0x432ef1){let _0x808575=[],_0x52ed09=[],_0x246d4d=[],_0x3f9a74=-0x1,_0x2ec68c=-0x1;for(let _0x419653=0x0;_0x419653<this['value']['length'];_0x419653++){let _0x191876,_0x4db1d6,_0x474711=this['value'][_0x419653],_0x1ec06e=this['from'][_0x419653]+_0x42825a,_0x203bd2=this['to'][_0x419653]+_0x42825a;if(_0x1ec06e==_0x203bd2){let _0x467e22=_0x432ef1['mapPos'](_0x1ec06e,_0x474711['startSide'],_0x474711['mapMode']);if(null==_0x467e22)continue;if(_0x191876=_0x4db1d6=_0x467e22,_0x474711['startSide']!=_0x474711['endSide']&&(_0x4db1d6=_0x432ef1['mapPos'](_0x1ec06e,_0x474711['endSide']),_0x4db1d6<_0x191876))continue;}else{if(_0x191876=_0x432ef1['mapPos'](_0x1ec06e,_0x474711['startSide']),_0x4db1d6=_0x432ef1['mapPos'](_0x203bd2,_0x474711['endSide']),_0x191876>_0x4db1d6||_0x191876==_0x4db1d6&&_0x474711['startSide']>0x0&&_0x474711['endSide']<=0x0)continue;}(_0x4db1d6-_0x191876||_0x474711['endSide']-_0x474711['startSide'])<0x0||(_0x3f9a74<0x0&&(_0x3f9a74=_0x191876),_0x474711['point']&&(_0x2ec68c=Math['max'](_0x2ec68c,_0x4db1d6-_0x191876)),_0x808575['push'](_0x474711),_0x52ed09['push'](_0x191876-_0x3f9a74),_0x246d4d['push'](_0x4db1d6-_0x3f9a74));}return{'mapped':_0x808575['length']?new _0xc68dcd(_0x52ed09,_0x246d4d,_0x808575,_0x2ec68c):null,'pos':_0x3f9a74};}},_0x53c81c=class RangeSet{constructor(_0x3d2f57,_0x3afff3,_0x5be206,_0x2948fc){this['chunkPos']=_0x3d2f57,this['chunk']=_0x3afff3,this['nextLayer']=_0x5be206,this['maxPoint']=_0x2948fc;}static create(_0x20c200,_0x3a3659,_0xfbfd82,_0x300d77){return new RangeSet(_0x20c200,_0x3a3659,_0xfbfd82,_0x300d77);}get length(){let _0x402176=this['chunk']['length']-0x1;return _0x402176<0x0?0x0:Math['max'](this['chunkEnd'](_0x402176),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x578969=this['nextLayer']['size'];for(let _0x2ae10a of this['chunk'])_0x578969+=_0x2ae10a['value']['length'];return _0x578969;}['chunkEnd'](_0x1a54be){return this['chunkPos'][_0x1a54be]+this['chunk'][_0x1a54be]['length'];}update(_0x4a9466){let {add:_0x519e7b=[],sort:_0x5a4130=!0x1,filterFrom:_0x18cb33=0x0,filterTo:_0x3f514b=this['length']}=_0x4a9466,_0x3ffc6e=_0x4a9466['filter'];if(0x0==_0x519e7b['length']&&!_0x3ffc6e)return this;if(_0x5a4130&&(_0x519e7b=_0x519e7b['slice']()['sort'](_0x2a3930)),this['isEmpty'])return _0x519e7b['length']?RangeSet['of'](_0x519e7b):this;let _0x447298=new _0x5c4f55(this,null,-0x1)['goto'](0x0),_0x268286=0x0,_0x5e4dd0=[],_0x5438cf=new _0x5afce5();for(;_0x447298['value']||_0x268286<_0x519e7b['length'];)if(_0x268286<_0x519e7b['length']&&(_0x447298['from']-_0x519e7b[_0x268286]['from']||_0x447298['startSide']-_0x519e7b[_0x268286]['value']['startSide'])>=0x0){let _0x21f237=_0x519e7b[_0x268286++];_0x5438cf['addInner'](_0x21f237['from'],_0x21f237['to'],_0x21f237['value'])||_0x5e4dd0['push'](_0x21f237);}else 0x1==_0x447298['rangeIndex']&&_0x447298['chunkIndex']<this['chunk']['length']&&(_0x268286==_0x519e7b['length']||this['chunkEnd'](_0x447298['chunkIndex'])<_0x519e7b[_0x268286]['from'])&&(!_0x3ffc6e||_0x18cb33>this['chunkEnd'](_0x447298['chunkIndex'])||_0x3f514b<this['chunkPos'][_0x447298['chunkIndex']])&&_0x5438cf['addChunk'](this['chunkPos'][_0x447298['chunkIndex']],this['chunk'][_0x447298['chunkIndex']])?_0x447298['nextChunk']():((!_0x3ffc6e||_0x18cb33>_0x447298['to']||_0x3f514b<_0x447298['from']||_0x3ffc6e(_0x447298['from'],_0x447298['to'],_0x447298['value']))&&(_0x5438cf['addInner'](_0x447298['from'],_0x447298['to'],_0x447298['value'])||_0x5e4dd0['push'](_0x310c29['create'](_0x447298['from'],_0x447298['to'],_0x447298['value']))),_0x447298['next']());return _0x5438cf['finishInner'](this['nextLayer']['isEmpty']&&!_0x5e4dd0['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x5e4dd0,'filter':_0x3ffc6e,'filterFrom':_0x18cb33,'filterTo':_0x3f514b}));}['map'](_0x13a2bc){if(_0x13a2bc['empty']||this['isEmpty'])return this;let _0x505967=[],_0x3a455f=[],_0x491ffa=-0x1;for(let _0x2d4e4c=0x0;_0x2d4e4c<this['chunk']['length'];_0x2d4e4c++){let _0x4b0316=this['chunkPos'][_0x2d4e4c],_0xaa8b5b=this['chunk'][_0x2d4e4c],_0x5bfc1b=_0x13a2bc['touchesRange'](_0x4b0316,_0x4b0316+_0xaa8b5b['length']);if(!0x1===_0x5bfc1b)_0x491ffa=Math['max'](_0x491ffa,_0xaa8b5b['maxPoint']),_0x505967['push'](_0xaa8b5b),_0x3a455f['push'](_0x13a2bc['mapPos'](_0x4b0316));else{if(!0x0===_0x5bfc1b){let {mapped:_0x5e2390,pos:_0x245f0d}=_0xaa8b5b['map'](_0x4b0316,_0x13a2bc);_0x5e2390&&(_0x491ffa=Math['max'](_0x491ffa,_0x5e2390['maxPoint']),_0x505967['push'](_0x5e2390),_0x3a455f['push'](_0x245f0d));}}}let _0x337798=this['nextLayer']['map'](_0x13a2bc);return 0x0==_0x505967['length']?_0x337798:new RangeSet(_0x3a455f,_0x505967,_0x337798||RangeSet['empty'],_0x491ffa);}between(_0x5e2769,_0x2f9ae0,_0xa68320){if(!this['isEmpty']){for(let _0x9d09f7=0x0;_0x9d09f7<this['chunk']['length'];_0x9d09f7++){let _0x518620=this['chunkPos'][_0x9d09f7],_0x2bfca9=this['chunk'][_0x9d09f7];if(_0x2f9ae0>=_0x518620&&_0x5e2769<=_0x518620+_0x2bfca9['length']&&!0x1===_0x2bfca9['between'](_0x518620,_0x5e2769-_0x518620,_0x2f9ae0-_0x518620,_0xa68320))return;}this['nextLayer']['between'](_0x5e2769,_0x2f9ae0,_0xa68320);}}iter(_0xd566bc=0x0){return _0x4d4d48['from']([this])['goto'](_0xd566bc);}get isEmpty(){return this['nextLayer']==this;}static iter(_0x4bc3d5,_0x1aa21f=0x0){return _0x4d4d48['from'](_0x4bc3d5)['goto'](_0x1aa21f);}static['compare'](_0x360be5,_0x1baadc,_0x3ca650,_0x4277c7,_0x4771e9=-0x1){let _0x5bbdbf=_0x360be5['filter'](_0x2b33c2=>_0x2b33c2['maxPoint']>0x0||!_0x2b33c2['isEmpty']&&_0x2b33c2['maxPoint']>=_0x4771e9),_0x31f6f9=_0x1baadc['filter'](_0x9d94eb=>_0x9d94eb['maxPoint']>0x0||!_0x9d94eb['isEmpty']&&_0x9d94eb['maxPoint']>=_0x4771e9),_0x412fd2=_0x2a1018(_0x5bbdbf,_0x31f6f9,_0x3ca650),_0x2e38b7=new _0x2456ce(_0x5bbdbf,_0x412fd2,_0x4771e9),_0x2b07a5=new _0x2456ce(_0x31f6f9,_0x412fd2,_0x4771e9);_0x3ca650['iterGaps']((_0xbf20f4,_0x11e342,_0x242983)=>_0xd50fea(_0x2e38b7,_0xbf20f4,_0x2b07a5,_0x11e342,_0x242983,_0x4277c7)),_0x3ca650['empty']&&0x0==_0x3ca650['length']&&_0xd50fea(_0x2e38b7,0x0,_0x2b07a5,0x0,0x0,_0x4277c7);}static['eq'](_0x4a3640,_0x4ddfef,_0x570785=0x0,_0x2389dd){null==_0x2389dd&&(_0x2389dd=0x3b9ac9ff);let _0x437c21=_0x4a3640['filter'](_0x3a6bcb=>!_0x3a6bcb['isEmpty']&&_0x4ddfef['indexOf'](_0x3a6bcb)<0x0),_0x2ce770=_0x4ddfef['filter'](_0x3b7a99=>!_0x3b7a99['isEmpty']&&_0x4a3640['indexOf'](_0x3b7a99)<0x0);if(_0x437c21['length']!=_0x2ce770['length'])return!0x1;if(!_0x437c21['length'])return!0x0;let _0x3a1673=_0x2a1018(_0x437c21,_0x2ce770),_0x41be1e=new _0x2456ce(_0x437c21,_0x3a1673,0x0)['goto'](_0x570785),_0x3096aa=new _0x2456ce(_0x2ce770,_0x3a1673,0x0)['goto'](_0x570785);for(;;){if(_0x41be1e['to']!=_0x3096aa['to']||!_0x7226c6(_0x41be1e['active'],_0x3096aa['active'])||_0x41be1e['point']&&(!_0x3096aa['point']||!_0x55f398(_0x41be1e['point'],_0x3096aa['point'])))return!0x1;if(_0x41be1e['to']>_0x2389dd)return!0x0;_0x41be1e['next'](),_0x3096aa['next']();}}static['spans'](_0x3db546,_0x4cc5c4,_0x336b01,_0x50fd30,_0x3e154a=-0x1){let _0x2ec3cf=new _0x2456ce(_0x3db546,null,_0x3e154a)['goto'](_0x4cc5c4),_0x129c80=_0x4cc5c4,_0x206d5c=_0x2ec3cf['openStart'];for(;;){let _0x584b53=Math['min'](_0x2ec3cf['to'],_0x336b01);if(_0x2ec3cf['point']){let _0x1526b9=_0x2ec3cf['activeForPoint'](_0x2ec3cf['to']),_0x386fb4=_0x2ec3cf['pointFrom']<_0x4cc5c4?_0x1526b9['length']+0x1:_0x2ec3cf['point']['startSide']<0x0?_0x1526b9['length']:Math['min'](_0x1526b9['length'],_0x206d5c);_0x50fd30['point'](_0x129c80,_0x584b53,_0x2ec3cf['point'],_0x1526b9,_0x386fb4,_0x2ec3cf['pointRank']),_0x206d5c=Math['min'](_0x2ec3cf['openEnd'](_0x584b53),_0x1526b9['length']);}else _0x584b53>_0x129c80&&(_0x50fd30['span'](_0x129c80,_0x584b53,_0x2ec3cf['active'],_0x206d5c),_0x206d5c=_0x2ec3cf['openEnd'](_0x584b53));if(_0x2ec3cf['to']>_0x336b01)return _0x206d5c+(_0x2ec3cf['point']&&_0x2ec3cf['to']>_0x336b01?0x1:0x0);_0x129c80=_0x2ec3cf['to'],_0x2ec3cf['next']();}}static['of'](_0x1aa0e6,_0x30bf94=!0x1){let _0x3f63de=new _0x5afce5();for(let _0x1f16be of _0x1aa0e6 instanceof _0x310c29?[_0x1aa0e6]:_0x30bf94?function(_0x2c38d5){if(_0x2c38d5['length']>0x1)for(let _0x1446ce=_0x2c38d5[0x0],_0x2238d8=0x1;_0x2238d8<_0x2c38d5['length'];_0x2238d8++){let _0x25e83e=_0x2c38d5[_0x2238d8];if(_0x2a3930(_0x1446ce,_0x25e83e)>0x0)return _0x2c38d5['slice']()['sort'](_0x2a3930);_0x1446ce=_0x25e83e;}return _0x2c38d5;}(_0x1aa0e6):_0x1aa0e6)_0x3f63de['add'](_0x1f16be['from'],_0x1f16be['to'],_0x1f16be['value']);return _0x3f63de['finish']();}static['join'](_0x482b85){if(!_0x482b85['length'])return RangeSet['empty'];let _0x320993=_0x482b85[_0x482b85['length']-0x1];for(let _0x8ae2a0=_0x482b85['length']-0x2;_0x8ae2a0>=0x0;_0x8ae2a0--)for(let _0x2a2a5f=_0x482b85[_0x8ae2a0];_0x2a2a5f!=RangeSet['empty'];_0x2a2a5f=_0x2a2a5f['nextLayer'])_0x320993=new RangeSet(_0x2a2a5f['chunkPos'],_0x2a2a5f['chunk'],_0x320993,Math['max'](_0x2a2a5f['maxPoint'],_0x320993['maxPoint']));return _0x320993;}};_0x53c81c['empty']=new _0x53c81c([],[],null,-0x1),_0x53c81c['empty']['nextLayer']=_0x53c81c['empty'];var _0x5afce5=class RangeSetBuilder{['finishChunk'](_0x465a19){this['chunks']['push'](new _0x58bf82(this['from'],this['to'],this['value'],this['maxPoint'])),this['chunkPos']['push'](this['chunkStart']),this['chunkStart']=-0x1,this['setMaxPoint']=Math['max'](this['setMaxPoint'],this['maxPoint']),this['maxPoint']=-0x1,_0x465a19&&(this['from']=[],this['to']=[],this['value']=[]);}constructor(){this['chunks']=[],this['chunkPos']=[],this['chunkStart']=-0x1,this['last']=null,this['lastFrom']=-0x3b9aca00,this['lastTo']=-0x3b9aca00,this['from']=[],this['to']=[],this['value']=[],this['maxPoint']=-0x1,this['setMaxPoint']=-0x1,this['nextLayer']=null;}['add'](_0xcdc7dc,_0x316e27,_0x402ce9){this['addInner'](_0xcdc7dc,_0x316e27,_0x402ce9)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0xcdc7dc,_0x316e27,_0x402ce9);}['addInner'](_0x4bbd56,_0x274733,_0x5816a6){let _0x214a8d=_0x4bbd56-this['lastTo']||_0x5816a6['startSide']-this['last']['endSide'];if(_0x214a8d<=0x0&&(_0x4bbd56-this['lastFrom']||_0x5816a6['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x214a8d<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x4bbd56),this['from']['push'](_0x4bbd56-this['chunkStart']),this['to']['push'](_0x274733-this['chunkStart']),this['last']=_0x5816a6,this['lastFrom']=_0x4bbd56,this['lastTo']=_0x274733,this['value']['push'](_0x5816a6),_0x5816a6['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x274733-_0x4bbd56)),!0x0);}['addChunk'](_0x267903,_0x1f9c0c){if((_0x267903-this['lastTo']||_0x1f9c0c['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x1f9c0c['maxPoint']),this['chunks']['push'](_0x1f9c0c),this['chunkPos']['push'](_0x267903);let _0x29d17a=_0x1f9c0c['value']['length']-0x1;return this['last']=_0x1f9c0c['value'][_0x29d17a],this['lastFrom']=_0x1f9c0c['from'][_0x29d17a]+_0x267903,this['lastTo']=_0x1f9c0c['to'][_0x29d17a]+_0x267903,!0x0;}['finish'](){return this['finishInner'](_0x53c81c['empty']);}['finishInner'](_0x472a0a){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x472a0a;let _0x39b1fd=_0x53c81c['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x472a0a):_0x472a0a,this['setMaxPoint']);return this['from']=null,_0x39b1fd;}};function _0x2a1018(_0x1efdd5,_0x3cb45a,_0x3566ad){let _0x2f6f43=new Map();for(let _0x5111a8 of _0x1efdd5)for(let _0x1416f3=0x0;_0x1416f3<_0x5111a8['chunk']['length'];_0x1416f3++)_0x5111a8['chunk'][_0x1416f3]['maxPoint']<=0x0&&_0x2f6f43['set'](_0x5111a8['chunk'][_0x1416f3],_0x5111a8['chunkPos'][_0x1416f3]);let _0x1567a8=new Set();for(let _0x15c13e of _0x3cb45a)for(let _0x4f6d2e=0x0;_0x4f6d2e<_0x15c13e['chunk']['length'];_0x4f6d2e++){let _0x25fc92=_0x2f6f43['get'](_0x15c13e['chunk'][_0x4f6d2e]);null==_0x25fc92||(_0x3566ad?_0x3566ad['mapPos'](_0x25fc92):_0x25fc92)!=_0x15c13e['chunkPos'][_0x4f6d2e]||(null==_0x3566ad?void 0x0:_0x3566ad['touchesRange'](_0x25fc92,_0x25fc92+_0x15c13e['chunk'][_0x4f6d2e]['length']))||_0x1567a8['add'](_0x15c13e['chunk'][_0x4f6d2e]);}return _0x1567a8;}var _0x5c4f55=class{constructor(_0x711e7d,_0x27b382,_0x47cf01,_0x3c0c24=0x0){this['layer']=_0x711e7d,this['skip']=_0x27b382,this['minPoint']=_0x47cf01,this['rank']=_0x3c0c24;}get startSide(){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}goto(_0x3115ba,_0x47d93b=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x3115ba,_0x47d93b,!0x1),this;}gotoInner(_0x34aa6c,_0x583026,_0x38a623){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x29a365=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x29a365)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x34aa6c||_0x29a365['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x38a623=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x560fd9=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x34aa6c-this['layer']['chunkPos'][this['chunkIndex']],_0x583026,!0x0);(!_0x38a623||this['rangeIndex']<_0x560fd9)&&this['setRangeIndex'](_0x560fd9);}this['next']();}['forward'](_0x4da2c1,_0x3d9d09){(this['to']-_0x4da2c1||this['endSide']-_0x3d9d09)<0x0&&this['gotoInner'](_0x4da2c1,_0x3d9d09,!0x0);}next(){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x21d5c4=this['layer']['chunkPos'][this['chunkIndex']],_0x48658b=this['layer']['chunk'][this['chunkIndex']],_0x15aa9b=_0x21d5c4+_0x48658b['from'][this['rangeIndex']];if(this['from']=_0x15aa9b,this['to']=_0x21d5c4+_0x48658b['to'][this['rangeIndex']],this['value']=_0x48658b['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}setRangeIndex(_0x45ee99){if(_0x45ee99==this['layer']['chunk'][this['chunkIndex']]['value']['length']){if(this['chunkIndex']++,this['skip']){for(;this['chunkIndex']<this['layer']['chunk']['length']&&this['skip']['has'](this['layer']['chunk'][this['chunkIndex']]);)this['chunkIndex']++;}this['rangeIndex']=0x0;}else this['rangeIndex']=_0x45ee99;}nextChunk(){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x519c44){return this['from']-_0x519c44['from']||this['startSide']-_0x519c44['startSide']||this['rank']-_0x519c44['rank']||this['to']-_0x519c44['to']||this['endSide']-_0x519c44['endSide'];}},_0x4d4d48=class _0x530d60{constructor(_0xa1c7ec){this['heap']=_0xa1c7ec;}static['from'](_0x4b34e2,_0x69c137=null,_0x1004fa=-0x1){let _0x3691db=[];for(let _0x387537=0x0;_0x387537<_0x4b34e2['length'];_0x387537++)for(let _0x39fa59=_0x4b34e2[_0x387537];!_0x39fa59['isEmpty'];_0x39fa59=_0x39fa59['nextLayer'])_0x39fa59['maxPoint']>=_0x1004fa&&_0x3691db['push'](new _0x5c4f55(_0x39fa59,_0x69c137,_0x1004fa,_0x387537));return 0x1==_0x3691db['length']?_0x3691db[0x0]:new _0x530d60(_0x3691db);}get startSide(){return this['value']?this['value']['startSide']:0x0;}goto(_0x53bf2d,_0x11442c=-0x3b9aca00){for(let _0x1f69c7 of this['heap'])_0x1f69c7['goto'](_0x53bf2d,_0x11442c);for(let _0x9a0db8=this['heap']['length']>>0x1;_0x9a0db8>=0x0;_0x9a0db8--)_0x5217b6(this['heap'],_0x9a0db8);return this['next'](),this;}['forward'](_0x8509c1,_0x4b1c7b){for(let _0x50bd0b of this['heap'])_0x50bd0b['forward'](_0x8509c1,_0x4b1c7b);for(let _0x30dbbe=this['heap']['length']>>0x1;_0x30dbbe>=0x0;_0x30dbbe--)_0x5217b6(this['heap'],_0x30dbbe);(this['to']-_0x8509c1||this['value']['endSide']-_0x4b1c7b)<0x0&&this['next']();}next(){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x449cea=this['heap'][0x0];this['from']=_0x449cea['from'],this['to']=_0x449cea['to'],this['value']=_0x449cea['value'],this['rank']=_0x449cea['rank'],_0x449cea['value']&&_0x449cea['next'](),_0x5217b6(this['heap'],0x0);}}};function _0x5217b6(_0x285aa2,_0x2f74ef){for(let _0x5c0e8f=_0x285aa2[_0x2f74ef];;){let _0x17b106=0x1+(_0x2f74ef<<0x1);if(_0x17b106>=_0x285aa2['length'])break;let _0x37fc8c=_0x285aa2[_0x17b106];if(_0x17b106+0x1<_0x285aa2['length']&&_0x37fc8c['compare'](_0x285aa2[_0x17b106+0x1])>=0x0&&(_0x37fc8c=_0x285aa2[_0x17b106+0x1],_0x17b106++),_0x5c0e8f['compare'](_0x37fc8c)<0x0)break;_0x285aa2[_0x17b106]=_0x5c0e8f,_0x285aa2[_0x2f74ef]=_0x37fc8c,_0x2f74ef=_0x17b106;}}var _0x2456ce=class{constructor(_0x4a7b94,_0x114f81,_0x5ac4ba){this['minPoint']=_0x5ac4ba,this['active']=[],this['activeTo']=[],this['activeRank']=[],this['minActive']=-0x1,this['point']=null,this['pointFrom']=0x0,this['pointRank']=0x0,this['to']=-0x3b9aca00,this['endSide']=0x0,this['openStart']=-0x1,this['cursor']=_0x4d4d48['from'](_0x4a7b94,_0x114f81,_0x5ac4ba);}goto(_0x4b1ed7,_0x2f9d83=-0x3b9aca00){return this['cursor']['goto'](_0x4b1ed7,_0x2f9d83),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x4b1ed7,this['endSide']=_0x2f9d83,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x208ade,_0x5a1b0a){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x208ade||this['active'][this['minActive']]['endSide']-_0x5a1b0a)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x208ade,_0x5a1b0a);}removeActive(_0xb5a198){_0x3593bd(this['active'],_0xb5a198),_0x3593bd(this['activeTo'],_0xb5a198),_0x3593bd(this['activeRank'],_0xb5a198),this['minActive']=tR(this['active'],this['activeTo']);}addActive(_0x5cb6b3){let _0x2cea63=0x0,{value:_0x154b3c,to:_0x4acfa9,rank:_0x2d41ac}=this['cursor'];for(;_0x2cea63<this['activeRank']['length']&&(_0x2d41ac-this['activeRank'][_0x2cea63]||_0x4acfa9-this['activeTo'][_0x2cea63])>0x0;)_0x2cea63++;_0x293b00(this['active'],_0x2cea63,_0x154b3c),_0x293b00(this['activeTo'],_0x2cea63,_0x4acfa9),_0x293b00(this['activeRank'],_0x2cea63,_0x2d41ac),_0x5cb6b3&&_0x293b00(_0x5cb6b3,_0x2cea63,this['cursor']['from']),this['minActive']=tR(this['active'],this['activeTo']);}next(){let _0x320546=this['to'],_0x390492=this['point'];this['point']=null;let _0x59a08e=this['openStart']<0x0?[]:null;for(;;){let _0x5df188=this['minActive'];if(_0x5df188>-0x1&&(this['activeTo'][_0x5df188]-this['cursor']['from']||this['active'][_0x5df188]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x5df188]>_0x320546){this['to']=this['activeTo'][_0x5df188],this['endSide']=this['active'][_0x5df188]['endSide'];break;}this['removeActive'](_0x5df188),_0x59a08e&&_0x3593bd(_0x59a08e,_0x5df188);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x320546){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x44b6b0=this['cursor']['value'];if(_0x44b6b0['point']){if(!(_0x390492&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x44b6b0,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x44b6b0['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x59a08e),this['cursor']['next']();}}}if(_0x59a08e){this['openStart']=0x0;for(let _0x36be24=_0x59a08e['length']-0x1;_0x36be24>=0x0&&_0x59a08e[_0x36be24]<_0x320546;_0x36be24--)this['openStart']++;}}activeForPoint(_0x55e333){if(!this['active']['length'])return this['active'];let _0x425fe8=[];for(let _0x237295=this['active']['length']-0x1;_0x237295>=0x0&&!(this['activeRank'][_0x237295]<this['pointRank']);_0x237295--)(this['activeTo'][_0x237295]>_0x55e333||this['activeTo'][_0x237295]==_0x55e333&&this['active'][_0x237295]['endSide']>=this['point']['endSide'])&&_0x425fe8['push'](this['active'][_0x237295]);return _0x425fe8['reverse']();}['openEnd'](_0x47c356){let _0x28f910=0x0;for(let _0x27ba58=this['activeTo']['length']-0x1;_0x27ba58>=0x0&&this['activeTo'][_0x27ba58]>_0x47c356;_0x27ba58--)_0x28f910++;return _0x28f910;}};function _0xd50fea(_0x4d747f,_0xc4dfcc,_0x28b04a,_0x3869d3,_0x6295ec,_0x523ed0){_0x4d747f['goto'](_0xc4dfcc),_0x28b04a['goto'](_0x3869d3);let _0xcc01be=_0x3869d3+_0x6295ec,_0x1ff95b=_0x3869d3,_0x1edacf=_0x3869d3-_0xc4dfcc,_0x23352b=!!_0x523ed0['boundChange'];for(let _0x8e2597=!0x1;;){let _0x5a4f4e=_0x4d747f['to']+_0x1edacf-_0x28b04a['to'],_0x590a83=_0x5a4f4e||_0x4d747f['endSide']-_0x28b04a['endSide'],_0x1cdcfd=_0x590a83<0x0?_0x4d747f['to']+_0x1edacf:_0x28b04a['to'],_0xc1ae44=Math['min'](_0x1cdcfd,_0xcc01be);if(_0x4d747f['point']||_0x28b04a['point']?(_0x4d747f['point']&&_0x28b04a['point']&&_0x55f398(_0x4d747f['point'],_0x28b04a['point'])&&_0x7226c6(_0x4d747f['activeForPoint'](_0x4d747f['to']),_0x28b04a['activeForPoint'](_0x28b04a['to']))||_0x523ed0['comparePoint'](_0x1ff95b,_0xc1ae44,_0x4d747f['point'],_0x28b04a['point']),_0x8e2597=!0x1):(_0x8e2597&&_0x523ed0['boundChange'](_0x1ff95b),_0xc1ae44>_0x1ff95b&&!_0x7226c6(_0x4d747f['active'],_0x28b04a['active'])&&_0x523ed0['compareRange'](_0x1ff95b,_0xc1ae44,_0x4d747f['active'],_0x28b04a['active']),_0x23352b&&_0xc1ae44<_0xcc01be&&(_0x5a4f4e||_0x4d747f['openEnd'](_0x1cdcfd)!=_0x28b04a['openEnd'](_0x1cdcfd))&&(_0x8e2597=!0x0)),_0x1cdcfd>_0xcc01be)break;_0x1ff95b=_0x1cdcfd,_0x590a83<=0x0&&_0x4d747f['next'](),_0x590a83>=0x0&&_0x28b04a['next']();}}function _0x7226c6(_0x22bd3c,_0x27d1f7){if(_0x22bd3c['length']!=_0x27d1f7['length'])return!0x1;for(let _0xaa02c6=0x0;_0xaa02c6<_0x22bd3c['length'];_0xaa02c6++)if(_0x22bd3c[_0xaa02c6]!=_0x27d1f7[_0xaa02c6]&&!_0x55f398(_0x22bd3c[_0xaa02c6],_0x27d1f7[_0xaa02c6]))return!0x1;return!0x0;}function _0x3593bd(_0x3fa1c0,_0x39afed){for(let _0x1707da=_0x39afed,_0x540dc8=_0x3fa1c0['length']-0x1;_0x1707da<_0x540dc8;_0x1707da++)_0x3fa1c0[_0x1707da]=_0x3fa1c0[_0x1707da+0x1];_0x3fa1c0['pop']();}function _0x293b00(_0x5ae509,_0x5430ec,_0x147a09){for(let _0x1c0ad3=_0x5ae509['length']-0x1;_0x1c0ad3>=_0x5430ec;_0x1c0ad3--)_0x5ae509[_0x1c0ad3+0x1]=_0x5ae509[_0x1c0ad3];_0x5ae509[_0x5430ec]=_0x147a09;}function tR(_0x33884d,_0x130281){let _0xeab75f=-0x1,_0x5bc42b=0x3b9aca00;for(let _0x196df9=0x0;_0x196df9<_0x130281['length'];_0x196df9++)(_0x130281[_0x196df9]-_0x5bc42b||_0x33884d[_0x196df9]['endSide']-_0x33884d[_0xeab75f]['endSide'])<0x0&&(_0xeab75f=_0x196df9,_0x5bc42b=_0x130281[_0x196df9]);return _0xeab75f;}function _0x5d2e97(_0x39ccda,_0x39eef0,_0x39a6a5=_0x39ccda['length']){let _0x210a9b=0x0;for(let _0x9519a=0x0;_0x9519a<_0x39a6a5&&_0x9519a<_0x39ccda['length'];)0x9==_0x39ccda['charCodeAt'](_0x9519a)?(_0x210a9b+=_0x39eef0-_0x210a9b%_0x39eef0,_0x9519a++):(_0x210a9b++,_0x9519a=_0x53fca1(_0x39ccda,_0x9519a));return _0x210a9b;}function _0x2c104c(_0x3c33e9,_0x27bb8e,_0x2a43fd,_0x2f877c){for(let _0x3dccd7=0x0,_0x1b78f7=0x0;;){if(_0x1b78f7>=_0x27bb8e)return _0x3dccd7;if(_0x3dccd7==_0x3c33e9['length'])break;_0x1b78f7+=0x9==_0x3c33e9['charCodeAt'](_0x3dccd7)?_0x2a43fd-_0x1b78f7%_0x2a43fd:0x1,_0x3dccd7=_0x53fca1(_0x3c33e9,_0x3dccd7);}return!0x0===_0x2f877c?-0x1:_0x3c33e9['length'];}const _0x33a02d='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),_0x990181='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),_0x4c2743='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};var _0x582da9=class{constructor(_0x5109b1,_0x4a094f){this['rules']=[];let {finish:_0x30af9b}=_0x4a094f||{};function _0x436096(_0x36ae86){return/^@/['test'](_0x36ae86)?[_0x36ae86]:_0x36ae86['split'](/,\s*/);}function _0x1db8c0(_0x5be220,_0x1b800d,_0x33b268,_0x14aa97){let _0x3dc5ba=[],_0x4ef8a3=/^@(\w+)\b/['exec'](_0x5be220[0x0]),_0x480ab5=_0x4ef8a3&&'keyframes'==_0x4ef8a3[0x1];if(_0x4ef8a3&&null==_0x1b800d)return _0x33b268['push'](_0x5be220[0x0]+';');for(let _0x41c5a5 in _0x1b800d){let _0x132010=_0x1b800d[_0x41c5a5];if(/&/['test'](_0x41c5a5))_0x1db8c0(_0x41c5a5['split'](/,\s*/)['map'](_0x328385=>_0x5be220['map'](_0x3fa3e7=>_0x328385['replace'](/&/,_0x3fa3e7)))['reduce']((_0x335b6c,_0x4a8f85)=>_0x335b6c['concat'](_0x4a8f85)),_0x132010,_0x33b268);else{if(_0x132010&&'object'==typeof _0x132010){if(!_0x4ef8a3)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x41c5a5+')\x20should\x20be\x20a\x20primitive\x20value.');_0x1db8c0(_0x436096(_0x41c5a5),_0x132010,_0x3dc5ba,_0x480ab5);}else null!=_0x132010&&_0x3dc5ba['push'](_0x41c5a5['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x4c57bd=>'-'+_0x4c57bd['toLowerCase']())+':\x20'+_0x132010+';');}}(_0x3dc5ba['length']||_0x480ab5)&&_0x33b268['push']((!_0x30af9b||_0x4ef8a3||_0x14aa97?_0x5be220:_0x5be220['map'](_0x30af9b))['join'](',\x20')+'\x20{'+_0x3dc5ba['join']('\x20')+'}');}for(let _0xb96712 in _0x5109b1)_0x1db8c0(_0x436096(_0xb96712),_0x5109b1[_0xb96712],this['rules']);}getRules(){return this['rules']['join']('\x0a');}static['newName'](){let _0x2d4db5=_0x4c2743[_0x33a02d]||0x1;return _0x4c2743[_0x33a02d]=_0x2d4db5+0x1,'ͼ'+_0x2d4db5['toString'](0x24);}static mount(_0x46ffaa,_0xb031c4,_0x1c8dc1){let _0x5f2c30=_0x46ffaa[_0x990181],_0x42b625=_0x1c8dc1&&_0x1c8dc1['nonce'];_0x5f2c30?_0x42b625&&_0x5f2c30['setNonce'](_0x42b625):_0x5f2c30=new _0x277c29(_0x46ffaa,_0x42b625),_0x5f2c30['mount'](Array['isArray'](_0xb031c4)?_0xb031c4:[_0xb031c4],_0x46ffaa);}};let _0x58136d=new Map();for(var _0x277c29=class{constructor(_0x1d51c2,_0x1f0f65){let _0x50935f=_0x1d51c2['ownerDocument']||_0x1d51c2,_0x23aa4f=_0x50935f['defaultView'];if(!_0x1d51c2['head']&&_0x1d51c2['adoptedStyleSheets']&&_0x23aa4f['CSSStyleSheet']){let _0x1c5fce=_0x58136d['get'](_0x50935f);if(_0x1c5fce)return _0x1d51c2[_0x990181]=_0x1c5fce;this['sheet']=new _0x23aa4f['CSSStyleSheet'](),_0x58136d['set'](_0x50935f,this);}else this['styleTag']=_0x50935f['createElement']('style'),_0x1f0f65&&this['styleTag']['setAttribute']('nonce',_0x1f0f65);this['modules']=[],_0x1d51c2[_0x990181]=this;}mount(_0x373477,_0x5779a3){let _0x12ec8b=this['sheet'],_0x4c49a1=0x0,_0x3ba27c=0x0;for(let _0x1de9ea=0x0;_0x1de9ea<_0x373477['length'];_0x1de9ea++){let _0x2f2655=_0x373477[_0x1de9ea],_0x1a9b37=this['modules']['indexOf'](_0x2f2655);if(_0x1a9b37<_0x3ba27c&&_0x1a9b37>-0x1&&(this['modules']['splice'](_0x1a9b37,0x1),_0x3ba27c--,_0x1a9b37=-0x1),-0x1==_0x1a9b37){if(this['modules']['splice'](_0x3ba27c++,0x0,_0x2f2655),_0x12ec8b){for(let _0x5c553f=0x0;_0x5c553f<_0x2f2655['rules']['length'];_0x5c553f++)_0x12ec8b['insertRule'](_0x2f2655['rules'][_0x5c553f],_0x4c49a1++);}}else{for(;_0x3ba27c<_0x1a9b37;)_0x4c49a1+=this['modules'][_0x3ba27c++]['rules']['length'];_0x4c49a1+=_0x2f2655['rules']['length'],_0x3ba27c++;}}if(_0x12ec8b)_0x5779a3['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x5779a3['adoptedStyleSheets']=[this['sheet'],..._0x5779a3['adoptedStyleSheets']]);else{let _0x2a3905='';for(let _0x3dde95=0x0;_0x3dde95<this['modules']['length'];_0x3dde95++)_0x2a3905+=this['modules'][_0x3dde95]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x2a3905;let _0x2b6df0=_0x5779a3['head']||_0x5779a3;this['styleTag']['parentNode']!=_0x2b6df0&&_0x2b6df0['insertBefore'](this['styleTag'],_0x2b6df0['firstChild']);}}setNonce(_0x64bf59){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x64bf59&&this['styleTag']['setAttribute']('nonce',_0x64bf59);}},_0x1e5bee={0x8:'Backspace',0x9:'Tab',0xa:'Enter',0xc:'NumLock',0xd:'Enter',0x10:'Shift',0x11:'Control',0x12:'Alt',0x14:'CapsLock',0x1b:'Escape',0x20:'\x20',0x21:'PageUp',0x22:'PageDown',0x23:'End',0x24:'Home',0x25:'ArrowLeft',0x26:'ArrowUp',0x27:'ArrowRight',0x28:'ArrowDown',0x2c:'PrintScreen',0x2d:'Insert',0x2e:'Delete',0x3b:';',0x3d:'=',0x5b:'Meta',0x5c:'Meta',0x6a:'*',0x6b:'+',0x6c:',',0x6d:'-',0x6e:'.',0x6f:'/',0x90:'NumLock',0x91:'ScrollLock',0xa0:'Shift',0xa1:'Shift',0xa2:'Control',0xa3:'Control',0xa4:'Alt',0xa5:'Alt',0xad:'-',0xba:';',0xbb:'=',0xbc:',',0xbd:'-',0xbe:'.',0xbf:'/',0xc0:'`',0xdb:'[',0xdc:'\x5c',0xdd:']',0xde:'\x27'},_0x583803={0x30:')',0x31:'!',0x32:'@',0x33:'#',0x34:'$',0x35:'%',0x36:'^',0x37:'&',0x38:'*',0x39:'(',0x3b:':',0x3d:'+',0xad:'_',0xba:':',0xbb:'+',0xbc:'<',0xbd:'_',0xbe:'>',0xbf:'?',0xc0:'~',0xdb:'{',0xdc:'|',0xdd:'}',0xde:'\x22'},_0xc2656d='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x4c7e66='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x381ff8=0x0;_0x381ff8<0xa;_0x381ff8++)_0x1e5bee[0x30+_0x381ff8]=_0x1e5bee[0x60+_0x381ff8]=String(_0x381ff8);for(_0x381ff8=0x1;_0x381ff8<=0x18;_0x381ff8++)_0x1e5bee[_0x381ff8+0x6f]='F'+_0x381ff8;for(_0x381ff8=0x41;_0x381ff8<=0x5a;_0x381ff8++)_0x1e5bee[_0x381ff8]=String['fromCharCode'](_0x381ff8+0x20),_0x583803[_0x381ff8]=String['fromCharCode'](_0x381ff8);for(var _0x1451cf in _0x1e5bee)_0x583803['hasOwnProperty'](_0x1451cf)||(_0x583803[_0x1451cf]=_0x1e5bee[_0x1451cf]);let _0x3bb4d8='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x29fafd='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x575de9=/Edge\/(\d+)/['exec'](_0x3bb4d8['userAgent']),_0x495995=/MSIE \d/['test'](_0x3bb4d8['userAgent']),_0x412606=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x3bb4d8['userAgent']),_0x5178f3=!!(_0x495995||_0x412606||_0x575de9),_0x229824=!_0x5178f3&&/gecko\/(\d+)/i['test'](_0x3bb4d8['userAgent']),_0x492629=!_0x5178f3&&/Chrome\/(\d+)/['exec'](_0x3bb4d8['userAgent']),_0x2eb3f0='webkitFontSmoothing'in _0x29fafd['documentElement']['style'],_0x296ba7=!_0x5178f3&&/Apple Computer/['test'](_0x3bb4d8['vendor']),_0x2c55d1=_0x296ba7&&(/Mobile\/\w+/['test'](_0x3bb4d8['userAgent'])||_0x3bb4d8['maxTouchPoints']>0x2);var _0x49766a={'mac':_0x2c55d1||/Mac/['test'](_0x3bb4d8['platform']),'windows':/Win/['test'](_0x3bb4d8['platform']),'linux':/Linux|X11/['test'](_0x3bb4d8['platform']),'ie':_0x5178f3,'ie_version':_0x495995?_0x29fafd['documentMode']||0x6:_0x412606?+_0x412606[0x1]:_0x575de9?+_0x575de9[0x1]:0x0,'gecko':_0x229824,'gecko_version':_0x229824?+(/Firefox\/(\d+)/['exec'](_0x3bb4d8['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x492629,'chrome_version':_0x492629?+_0x492629[0x1]:0x0,'ios':_0x2c55d1,'android':/Android\b/['test'](_0x3bb4d8['userAgent']),'webkit':_0x2eb3f0,'webkit_version':_0x2eb3f0?+(/\bAppleWebKit\/(\d+)/['exec'](_0x3bb4d8['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x296ba7,'safari_version':_0x296ba7?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x3bb4d8['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x29fafd['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function _0x485c9a(_0x5055ea,_0xb508cc){for(let _0x2d3372 in _0x5055ea)'class'==_0x2d3372&&_0xb508cc['class']?_0xb508cc['class']+='\x20'+_0x5055ea['class']:'style'==_0x2d3372&&_0xb508cc['style']?_0xb508cc['style']+=';'+_0x5055ea['style']:_0xb508cc[_0x2d3372]=_0x5055ea[_0x2d3372];return _0xb508cc;}const _0x388964=Object['create'](null);function _0x1ad32d(_0x2f733a,_0x1f36f2,_0x4e2ccb){if(_0x2f733a==_0x1f36f2)return!0x0;_0x2f733a||(_0x2f733a=_0x388964),_0x1f36f2||(_0x1f36f2=_0x388964);let _0x5882e2=Object['keys'](_0x2f733a),_0x20da07=Object['keys'](_0x1f36f2);if(_0x5882e2['length']-(_0x4e2ccb&&_0x5882e2['indexOf'](_0x4e2ccb)>-0x1?0x1:0x0)!=_0x20da07['length']-(_0x4e2ccb&&_0x20da07['indexOf'](_0x4e2ccb)>-0x1?0x1:0x0))return!0x1;for(let _0x69ef1c of _0x5882e2)if(_0x69ef1c!=_0x4e2ccb&&(-0x1==_0x20da07['indexOf'](_0x69ef1c)||_0x2f733a[_0x69ef1c]!==_0x1f36f2[_0x69ef1c]))return!0x1;return!0x0;}function _0x51872b(_0x2fd6e3,_0x3969f0,_0x5ce760){let _0x55256e=!0x1;if(_0x3969f0){for(let _0x4ea65f in _0x3969f0)_0x5ce760&&_0x4ea65f in _0x5ce760||(_0x55256e=!0x0,'style'==_0x4ea65f?_0x2fd6e3['style']['cssText']='':_0x2fd6e3['removeAttribute'](_0x4ea65f));}if(_0x5ce760){for(let _0x26432b in _0x5ce760)_0x3969f0&&_0x3969f0[_0x26432b]==_0x5ce760[_0x26432b]||(_0x55256e=!0x0,'style'==_0x26432b?_0x2fd6e3['style']['cssText']=_0x5ce760[_0x26432b]:_0x2fd6e3['setAttribute'](_0x26432b,_0x5ce760[_0x26432b]));}return _0x55256e;}function _0x2f69fc(_0x4aec9c){let _0x5da662=Object['create'](null);for(let _0x38f957=0x0;_0x38f957<_0x4aec9c['attributes']['length'];_0x38f957++){let _0x4d0b30=_0x4aec9c['attributes'][_0x38f957];_0x5da662[_0x4d0b30['name']]=_0x4d0b30['value'];}return _0x5da662;}var _0x4016c2=class{['eq'](_0x282e82){return!0x1;}updateDOM(_0xfd3478,_0x1c5b04,_0xc3e401){return!0x1;}['compare'](_0x5b8f69){return this==_0x5b8f69||this['constructor']==_0x5b8f69['constructor']&&this['eq'](_0x5b8f69);}get estimatedHeight(){return-0x1;}get['lineBreaks'](){return 0x0;}ignoreEvent(_0x2a318b){return!0x0;}coordsAt(_0x112fe1,_0x631412,_0x1ece7e){return null;}get['isHidden'](){return!0x1;}get editable(){return!0x1;}destroy(_0xee6e29){}},_0xc9238a=function(_0x371bed){return _0x371bed[_0x371bed['Text']=0x0]='Text',_0x371bed[_0x371bed['WidgetBefore']=0x1]='WidgetBefore',_0x371bed[_0x371bed['WidgetAfter']=0x2]='WidgetAfter',_0x371bed[_0x371bed['WidgetRange']=0x3]='WidgetRange',_0x371bed;}(_0xc9238a||(_0xc9238a={})),_0x18eb2e=class extends _0x1d3955{constructor(_0x297e34,_0x136178,_0x5718f5,_0x2607c4){super(),this['startSide']=_0x297e34,this['endSide']=_0x136178,this['widget']=_0x5718f5,this['spec']=_0x2607c4;}get heightRelevant(){return!0x1;}static['mark'](_0x4e1326){return new _0x13f719(_0x4e1326);}static widget(_0x32ea7b){let _0x2b418a=Math['max'](-0x2710,Math['min'](0x2710,_0x32ea7b['side']||0x0)),_0x12fb8b=!!_0x32ea7b['block'];return _0x2b418a+=_0x12fb8b&&!_0x32ea7b['inlineOrder']?_0x2b418a>0x0?0x11e1a300:-0x17d78400:_0x2b418a>0x0?0x5f5e100:-0x5f5e100,new _0x28a7af(_0x32ea7b,_0x2b418a,_0x2b418a,_0x12fb8b,_0x32ea7b['widget']||null,!0x1);}static['replace'](_0x1b8422){let _0x313e54,_0x206e98,_0x1420a4=!!_0x1b8422['block'];if(_0x1b8422['isBlockGap'])_0x313e54=-0x1dcd6500,_0x206e98=0x17d78400;else{let {start:_0x343546,end:_0xc3a522}=_0x4f1719(_0x1b8422,_0x1420a4);_0x313e54=(_0x343546?_0x1420a4?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x206e98=0x1+(_0xc3a522?_0x1420a4?0xbebc200:0x1:-0x23c34600);}return new _0x28a7af(_0x1b8422,_0x313e54,_0x206e98,_0x1420a4,_0x1b8422['widget']||null,!0x0);}static['line'](_0x277e48){return new _0x44b8b7(_0x277e48);}static set(_0x2d342d,_0x1168f6=!0x1){return _0x53c81c['of'](_0x2d342d,_0x1168f6);}hasHeight(){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}};_0x18eb2e['none']=_0x53c81c['empty'];var _0x13f719=class MarkDecoration extends _0x18eb2e{constructor(_0x201232){let {start:_0x1e752a,end:_0x3f08e3}=_0x4f1719(_0x201232);super(_0x1e752a?-0x1:0x1dcd6500,_0x3f08e3?0x1:-0x23c34600,null,_0x201232),this['tagName']=_0x201232['tagName']||'span',this['attrs']=_0x201232['class']&&_0x201232['attributes']?_0x485c9a(_0x201232['attributes'],{'class':_0x201232['class']}):_0x201232['class']?{'class':_0x201232['class']}:_0x201232['attributes']||_0x388964;}['eq'](_0x2eb23c){return this==_0x2eb23c||_0x2eb23c instanceof MarkDecoration&&this['tagName']==_0x2eb23c['tagName']&&_0x1ad32d(this['attrs'],_0x2eb23c['attrs']);}['range'](_0x154d58,_0x1719c9=_0x154d58){if(_0x154d58>=_0x1719c9)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x154d58,_0x1719c9);}};_0x13f719['prototype']['point']=!0x1;var _0x44b8b7=class LineDecoration extends _0x18eb2e{constructor(_0x3bad55){super(-0xbebc200,-0xbebc200,null,_0x3bad55);}['eq'](_0x38c8ee){return _0x38c8ee instanceof LineDecoration&&this['spec']['class']==_0x38c8ee['spec']['class']&&_0x1ad32d(this['spec']['attributes'],_0x38c8ee['spec']['attributes']);}['range'](_0x1e781e,_0x58bffd=_0x1e781e){if(_0x58bffd!=_0x1e781e)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x1e781e,_0x58bffd);}};_0x44b8b7['prototype']['mapMode']=_0x171f1e['TrackBefore'],_0x44b8b7['prototype']['point']=!0x0;var _0x28a7af=class PointDecoration extends _0x18eb2e{constructor(_0xaf3180,_0xb6b5b4,_0x15af39,_0x48de05,_0x30ecef,_0x4114fc){super(_0xb6b5b4,_0x15af39,_0x30ecef,_0xaf3180),this['block']=_0x48de05,this['isReplace']=_0x4114fc,this['mapMode']=_0x48de05?_0xb6b5b4<=0x0?_0x171f1e['TrackBefore']:_0x171f1e['TrackAfter']:_0x171f1e['TrackDel'];}get type(){return this['startSide']!=this['endSide']?_0xc9238a['WidgetRange']:this['startSide']<=0x0?_0xc9238a['WidgetBefore']:_0xc9238a['WidgetAfter'];}get heightRelevant(){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x3b37b8){return _0x3b37b8 instanceof PointDecoration&&(_0x1bafb5=this['widget'],_0x226f89=_0x3b37b8['widget'],_0x1bafb5==_0x226f89||!!(_0x1bafb5&&_0x226f89&&_0x1bafb5['compare'](_0x226f89)))&&this['block']==_0x3b37b8['block']&&this['startSide']==_0x3b37b8['startSide']&&this['endSide']==_0x3b37b8['endSide'];var _0x1bafb5,_0x226f89;}['range'](_0x3b1ba6,_0x464737=_0x3b1ba6){if(this['isReplace']&&(_0x3b1ba6>_0x464737||_0x3b1ba6==_0x464737&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x464737!=_0x3b1ba6)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x3b1ba6,_0x464737);}};function _0x4f1719(_0x327107,_0x22f23b=!0x1){let {inclusiveStart:_0x5d42b2,inclusiveEnd:_0x96223f}=_0x327107;return null==_0x5d42b2&&(_0x5d42b2=_0x327107['inclusive']),null==_0x96223f&&(_0x96223f=_0x327107['inclusive']),{'start':null!=_0x5d42b2?_0x5d42b2:_0x22f23b,'end':null!=_0x96223f?_0x96223f:_0x22f23b};}function _0x438f52(_0x226c4d,_0x514e59,_0x14b83f,_0x3287e3=0x0){let _0x10a32a=_0x14b83f['length']-0x1;_0x10a32a>=0x0&&_0x14b83f[_0x10a32a]+_0x3287e3>=_0x226c4d?_0x14b83f[_0x10a32a]=Math['max'](_0x14b83f[_0x10a32a],_0x514e59):_0x14b83f['push'](_0x226c4d,_0x514e59);}_0x28a7af['prototype']['point']=!0x0;var _0x211f53=class _0x3855e3 extends _0x1d3955{constructor(_0x1b7b7c,_0x44e69e,_0x105f4f){super(),this['tagName']=_0x1b7b7c,this['attributes']=_0x44e69e,this['rank']=_0x105f4f;}['eq'](_0x380bbb){return _0x380bbb==this||_0x380bbb instanceof _0x3855e3&&this['tagName']==_0x380bbb['tagName']&&_0x1ad32d(this['attributes'],_0x380bbb['attributes']);}static create(_0x261c3c){return new _0x3855e3(_0x261c3c['tagName'],_0x261c3c['attributes']||_0x388964,null==_0x261c3c['rank']?0x32:Math['max'](0x0,Math['min'](_0x261c3c['rank'],0x64)));}static set(_0x188c38,_0x573af2=!0x1){return _0x53c81c['of'](_0x188c38,_0x573af2);}};function _0x38ab4f(_0x2819bf){let _0x322ca1;return _0x322ca1=0xb==_0x2819bf['nodeType']?_0x2819bf['getSelection']?_0x2819bf:_0x2819bf['ownerDocument']:_0x2819bf,_0x322ca1['getSelection']();}function _0x429fc6(_0x197033,_0x22aa39){return!!_0x22aa39&&(_0x197033==_0x22aa39||_0x197033['contains'](0x1!=_0x22aa39['nodeType']?_0x22aa39['parentNode']:_0x22aa39));}function _0x22abca(_0x51039c,_0x36e419){if(!_0x36e419['anchorNode'])return!0x1;try{return _0x429fc6(_0x51039c,_0x36e419['anchorNode']);}catch(_0x4a7273){return!0x1;}}function _0x131661(_0x2462bd){return 0x3==_0x2462bd['nodeType']?_0x4fe1ed(_0x2462bd,0x0,_0x2462bd['nodeValue']['length'])['getClientRects']():0x1==_0x2462bd['nodeType']?_0x2462bd['getClientRects']():[];}function _0x126a47(_0x3e194a,_0x27cbd7,_0x5ac20f,_0x1e8b84){return!!_0x5ac20f&&(_0x41da5d(_0x3e194a,_0x27cbd7,_0x5ac20f,_0x1e8b84,-0x1)||_0x41da5d(_0x3e194a,_0x27cbd7,_0x5ac20f,_0x1e8b84,0x1));}function _0x30059c(_0x77b21){for(var _0x483613=0x0;;_0x483613++)if(!(_0x77b21=_0x77b21['previousSibling']))return _0x483613;}function _0xe23e92(_0x5e0be2){return 0x1==_0x5e0be2['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x5e0be2['nodeName']);}function _0x41da5d(_0x106d0a,_0x2ac624,_0x59b272,_0x4c325d,_0x4ce375){for(;;){if(_0x106d0a==_0x59b272&&_0x2ac624==_0x4c325d)return!0x0;if(_0x2ac624==(_0x4ce375<0x0?0x0:_0x5d2b88(_0x106d0a))){if('DIV'==_0x106d0a['nodeName'])return!0x1;let _0x4abe77=_0x106d0a['parentNode'];if(!_0x4abe77||0x1!=_0x4abe77['nodeType'])return!0x1;_0x2ac624=_0x30059c(_0x106d0a)+(_0x4ce375<0x0?0x0:0x1),_0x106d0a=_0x4abe77;}else{if(0x1!=_0x106d0a['nodeType'])return!0x1;if(0x1==(_0x106d0a=_0x106d0a['childNodes'][_0x2ac624+(_0x4ce375<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x106d0a['contentEditable'])return!0x1;_0x2ac624=_0x4ce375<0x0?_0x5d2b88(_0x106d0a):0x0;}}}function _0x5d2b88(_0x253a54){return 0x3==_0x253a54['nodeType']?_0x253a54['nodeValue']['length']:_0x253a54['childNodes']['length'];}function _0x5386b9(_0x4d355d,_0xbfec6c){let _0x18cda6=_0xbfec6c?_0x4d355d['left']:_0x4d355d['right'];return{'left':_0x18cda6,'right':_0x18cda6,'top':_0x4d355d['top'],'bottom':_0x4d355d['bottom']};}function _0xc2bbe6(_0x4cb5c0){let _0xfb0a78=_0x4cb5c0['visualViewport'];return _0xfb0a78?{'left':0x0,'right':_0xfb0a78['width'],'top':0x0,'bottom':_0xfb0a78['height']}:{'left':0x0,'right':_0x4cb5c0['innerWidth'],'top':0x0,'bottom':_0x4cb5c0['innerHeight']};}function _0x41897d(_0x128896,_0x5ce217){let _0x2bd5e1=_0x5ce217['width']/_0x128896['offsetWidth'],_0x575a42=_0x5ce217['height']/_0x128896['offsetHeight'];return(_0x2bd5e1>0.995&&_0x2bd5e1<1.005||!isFinite(_0x2bd5e1)||Math['abs'](_0x5ce217['width']-_0x128896['offsetWidth'])<0x1)&&(_0x2bd5e1=0x1),(_0x575a42>0.995&&_0x575a42<1.005||!isFinite(_0x575a42)||Math['abs'](_0x5ce217['height']-_0x128896['offsetHeight'])<0x1)&&(_0x575a42=0x1),{'scaleX':_0x2bd5e1,'scaleY':_0x575a42};}function _0x4f64b9(_0x198591,_0x74c532=!0x0){let _0x7c4460=_0x198591['ownerDocument'],_0x4209b5=null,_0x44ff22=null;for(let _0x58acf4=_0x198591['parentNode'];_0x58acf4&&(_0x58acf4!=_0x7c4460['body']&&(_0x74c532&&!_0x4209b5||!_0x44ff22));)if(0x1==_0x58acf4['nodeType'])!_0x44ff22&&_0x58acf4['scrollHeight']>_0x58acf4['clientHeight']&&(_0x44ff22=_0x58acf4),_0x74c532&&!_0x4209b5&&_0x58acf4['scrollWidth']>_0x58acf4['clientWidth']&&(_0x4209b5=_0x58acf4),_0x58acf4=_0x58acf4['assignedSlot']||_0x58acf4['parentNode'];else{if(0xb!=_0x58acf4['nodeType'])break;_0x58acf4=_0x58acf4['host'];}return{'x':_0x4209b5,'y':_0x44ff22};}_0x211f53['prototype']['startSide']=_0x211f53['prototype']['endSide']=-0x1;var tP=class{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x189f03){return this['anchorNode']==_0x189f03['anchorNode']&&this['anchorOffset']==_0x189f03['anchorOffset']&&this['focusNode']==_0x189f03['focusNode']&&this['focusOffset']==_0x189f03['focusOffset'];}setRange(_0x45c0cb){let {anchorNode:_0x43bddf,focusNode:_0x2fecba}=_0x45c0cb;this['set'](_0x43bddf,Math['min'](_0x45c0cb['anchorOffset'],_0x43bddf?_0x5d2b88(_0x43bddf):0x0),_0x2fecba,Math['min'](_0x45c0cb['focusOffset'],_0x2fecba?_0x5d2b88(_0x2fecba):0x0));}set(_0x15d569,_0x2aeb37,_0x34006e,_0x7f1fca){this['anchorNode']=_0x15d569,this['anchorOffset']=_0x2aeb37,this['focusNode']=_0x34006e,this['focusOffset']=_0x7f1fca;}};let _0x496f48,_0x993500=null;function _0x354cd2(_0x48d045){if(_0x48d045['setActive'])return _0x48d045['setActive']();if(_0x993500)return _0x48d045['focus'](_0x993500);let _0x19ea75=[];for(let _0xe50f6a=_0x48d045;_0xe50f6a&&(_0x19ea75['push'](_0xe50f6a,_0xe50f6a['scrollTop'],_0xe50f6a['scrollLeft']),_0xe50f6a!=_0xe50f6a['ownerDocument']);_0xe50f6a=_0xe50f6a['parentNode']);if(_0x48d045['focus'](null==_0x993500?{get 'preventScroll'(){return _0x993500={'preventScroll':!0x0},!0x0;}}:void 0x0),!_0x993500){_0x993500=!0x1;for(let _0x3f6e40=0x0;_0x3f6e40<_0x19ea75['length'];){let _0x2855c3=_0x19ea75[_0x3f6e40++],_0x3812d5=_0x19ea75[_0x3f6e40++],_0x33be5d=_0x19ea75[_0x3f6e40++];_0x2855c3['scrollTop']!=_0x3812d5&&(_0x2855c3['scrollTop']=_0x3812d5),_0x2855c3['scrollLeft']!=_0x33be5d&&(_0x2855c3['scrollLeft']=_0x33be5d);}}}function _0x4fe1ed(_0x3b80a4,_0x17e9ab,_0x54d0e7=_0x17e9ab){let _0xa3386a=_0x496f48||(_0x496f48=document['createRange']());return _0xa3386a['setEnd'](_0x3b80a4,_0x54d0e7),_0xa3386a['setStart'](_0x3b80a4,_0x17e9ab),_0xa3386a;}function _0x18ef8a(_0x56d014,_0x44ab43,_0x20cdd5,_0x26b40e){let _0x349b12={'key':_0x44ab43,'code':_0x44ab43,'keyCode':_0x20cdd5,'which':_0x20cdd5,'cancelable':!0x0};_0x26b40e&&({altKey:_0x349b12['altKey'],ctrlKey:_0x349b12['ctrlKey'],shiftKey:_0x349b12['shiftKey'],metaKey:_0x349b12['metaKey']}=_0x26b40e);let _0x4b87c4=new KeyboardEvent('keydown',_0x349b12);_0x4b87c4['synthetic']=!0x0,_0x56d014['dispatchEvent'](_0x4b87c4);let _0x31b6e3=new KeyboardEvent('keyup',_0x349b12);return _0x31b6e3['synthetic']=!0x0,_0x56d014['dispatchEvent'](_0x31b6e3),_0x4b87c4['defaultPrevented']||_0x31b6e3['defaultPrevented'];}function _0x1a8f73(_0x4d0d11){return _0x4d0d11 instanceof Window?_0x4d0d11['pageYOffset']>Math['max'](0x0,_0x4d0d11['document']['documentElement']['scrollHeight']-_0x4d0d11['innerHeight']-0x4):_0x4d0d11['scrollTop']>Math['max'](0x1,_0x4d0d11['scrollHeight']-_0x4d0d11['clientHeight']-0x4);}function _0x262415(_0x4b3039,_0x60b7cc){for(let _0x1a4958=_0x4b3039,_0x40d61a=_0x60b7cc;;){if(0x3==_0x1a4958['nodeType']&&_0x40d61a>0x0)return{'node':_0x1a4958,'offset':_0x40d61a};if(0x1==_0x1a4958['nodeType']&&_0x40d61a>0x0){if('false'==_0x1a4958['contentEditable'])return null;_0x1a4958=_0x1a4958['childNodes'][_0x40d61a-0x1],_0x40d61a=_0x5d2b88(_0x1a4958);}else{if(!_0x1a4958['parentNode']||_0xe23e92(_0x1a4958))return null;_0x40d61a=_0x30059c(_0x1a4958),_0x1a4958=_0x1a4958['parentNode'];}}}function _0x539743(_0x1fdd75,_0x160855){for(let _0x409f73=_0x1fdd75,_0x8b023=_0x160855;;){if(0x3==_0x409f73['nodeType']&&_0x8b023<_0x409f73['nodeValue']['length'])return{'node':_0x409f73,'offset':_0x8b023};if(0x1==_0x409f73['nodeType']&&_0x8b023<_0x409f73['childNodes']['length']){if('false'==_0x409f73['contentEditable'])return null;_0x409f73=_0x409f73['childNodes'][_0x8b023],_0x8b023=0x0;}else{if(!_0x409f73['parentNode']||_0xe23e92(_0x409f73))return null;_0x8b023=_0x30059c(_0x409f73)+0x1,_0x409f73=_0x409f73['parentNode'];}}}_0x49766a['safari']&&_0x49766a['safari_version']>=0x1a&&(_0x993500=!0x1);var _0x5907b1=class _0x238439{constructor(_0x16a74c,_0x1c82f4,_0x2bbd2e=!0x0){this['node']=_0x16a74c,this['offset']=_0x1c82f4,this['precise']=_0x2bbd2e;}static['before'](_0x4f88fa,_0x45c051){return new _0x238439(_0x4f88fa['parentNode'],_0x30059c(_0x4f88fa),_0x45c051);}static after(_0x58aaef,_0x4883e0){return new _0x238439(_0x58aaef['parentNode'],_0x30059c(_0x58aaef)+0x1,_0x4883e0);}},_0xf0cb7b=function(_0x39f456){return _0x39f456[_0x39f456['LTR']=0x0]='LTR',_0x39f456[_0x39f456['RTL']=0x1]='RTL',_0x39f456;}(_0xf0cb7b||(_0xf0cb7b={}));const _0xcff545=_0xf0cb7b['LTR'],_0x5ec94b=_0xf0cb7b['RTL'];function _0x44a022(_0x2db442){let _0x49b77b=[];for(let _0x51f5c6=0x0;_0x51f5c6<_0x2db442['length'];_0x51f5c6++)_0x49b77b['push'](0x1<<+_0x2db442[_0x51f5c6]);return _0x49b77b;}const _0x1fcfa7=_0x44a022('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x9be5a7=_0x44a022('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),_0x32104b=Object['create'](null),_0x3573ec=[];for(let _0x2fc664 of['()','[]','{}']){let _0x1b6307=_0x2fc664['charCodeAt'](0x0),_0x33fd11=_0x2fc664['charCodeAt'](0x1);_0x32104b[_0x1b6307]=_0x33fd11,_0x32104b[_0x33fd11]=-_0x1b6307;}function _0x3e3960(_0x5f00ec){return _0x5f00ec<=0xf7?_0x1fcfa7[_0x5f00ec]:0x590<=_0x5f00ec&&_0x5f00ec<=0x5f4?0x2:0x600<=_0x5f00ec&&_0x5f00ec<=0x6f9?_0x9be5a7[_0x5f00ec-0x600]:0x6ee<=_0x5f00ec&&_0x5f00ec<=0x8ac?0x4:0x2000<=_0x5f00ec&&_0x5f00ec<=0x200c?0x100:0xfb50<=_0x5f00ec&&_0x5f00ec<=0xfdff?0x4:0x1;}const _0x329492=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;var _0x3550bb=class{get['dir'](){return this['level']%0x2?_0x5ec94b:_0xcff545;}constructor(_0x308b16,_0x4f501a,_0x44b648){this['from']=_0x308b16,this['to']=_0x4f501a,this['level']=_0x44b648;}['side'](_0x5d02ab,_0xbd27f4){return this['dir']==_0xbd27f4==_0x5d02ab?this['to']:this['from'];}['forward'](_0x2c2fdd,_0x561cdf){return _0x2c2fdd==(this['dir']==_0x561cdf);}static['find'](_0xef96ad,_0x215340,_0x465e75,_0x25f580){let _0x25d510=-0x1;for(let _0x3301d6=0x0;_0x3301d6<_0xef96ad['length'];_0x3301d6++){let _0x22966c=_0xef96ad[_0x3301d6];if(_0x22966c['from']<=_0x215340&&_0x22966c['to']>=_0x215340){if(_0x22966c['level']==_0x465e75)return _0x3301d6;(_0x25d510<0x0||(0x0!=_0x25f580?_0x25f580<0x0?_0x22966c['from']<_0x215340:_0x22966c['to']>_0x215340:_0xef96ad[_0x25d510]['level']>_0x22966c['level']))&&(_0x25d510=_0x3301d6);}}if(_0x25d510<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x25d510;}};function _0x37f582(_0x206261,_0x42c7f4){if(_0x206261['length']!=_0x42c7f4['length'])return!0x1;for(let _0x3c89c7=0x0;_0x3c89c7<_0x206261['length'];_0x3c89c7++){let _0x1df77d=_0x206261[_0x3c89c7],_0x26b60d=_0x42c7f4[_0x3c89c7];if(_0x1df77d['from']!=_0x26b60d['from']||_0x1df77d['to']!=_0x26b60d['to']||_0x1df77d['direction']!=_0x26b60d['direction']||!_0x37f582(_0x1df77d['inner'],_0x26b60d['inner']))return!0x1;}return!0x0;}const _0x41712b=[];function _0x392fec(_0x320852,_0x4cf322,_0x317901,_0x4b99e3,_0x453da3,_0x1b97f4,_0x3ec990){let _0x16127f=_0x4b99e3%0x2?0x2:0x1;if(_0x4b99e3%0x2==_0x453da3%0x2)for(let _0x36e0a2=_0x4cf322,_0x12a974=0x0;_0x36e0a2<_0x317901;){let _0x3fe5f2=!0x0,_0x478f83=!0x1;if(_0x12a974==_0x1b97f4['length']||_0x36e0a2<_0x1b97f4[_0x12a974]['from']){let _0x2b0051=_0x41712b[_0x36e0a2];_0x2b0051!=_0x16127f&&(_0x3fe5f2=!0x1,_0x478f83=0x10==_0x2b0051);}let _0x2f7bda=_0x3fe5f2||0x1!=_0x16127f?null:[],_0x49e418=_0x3fe5f2?_0x4b99e3:_0x4b99e3+0x1,_0x544971=_0x36e0a2;t:for(;;)if(_0x12a974<_0x1b97f4['length']&&_0x544971==_0x1b97f4[_0x12a974]['from']){if(_0x478f83)break t;let _0x4d382b=_0x1b97f4[_0x12a974];if(!_0x3fe5f2)for(let _0x4b460a=_0x4d382b['to'],_0x36ab18=_0x12a974+0x1;;){if(_0x4b460a==_0x317901)break t;if(!(_0x36ab18<_0x1b97f4['length']&&_0x1b97f4[_0x36ab18]['from']==_0x4b460a)){if(_0x41712b[_0x4b460a]==_0x16127f)break t;break;}_0x4b460a=_0x1b97f4[_0x36ab18++]['to'];}_0x12a974++,_0x2f7bda?_0x2f7bda['push'](_0x4d382b):(_0x4d382b['from']>_0x36e0a2&&_0x3ec990['push'](new _0x3550bb(_0x36e0a2,_0x4d382b['from'],_0x49e418)),_0x184df5(_0x320852,_0x4d382b['direction']==_0xcff545!=!(_0x49e418%0x2)?_0x4b99e3+0x1:_0x4b99e3,_0x453da3,_0x4d382b['inner'],_0x4d382b['from'],_0x4d382b['to'],_0x3ec990),_0x36e0a2=_0x4d382b['to']),_0x544971=_0x4d382b['to'];}else{if(_0x544971==_0x317901||(_0x3fe5f2?_0x41712b[_0x544971]!=_0x16127f:_0x41712b[_0x544971]==_0x16127f))break;_0x544971++;}_0x2f7bda?_0x392fec(_0x320852,_0x36e0a2,_0x544971,_0x4b99e3+0x1,_0x453da3,_0x2f7bda,_0x3ec990):_0x36e0a2<_0x544971&&_0x3ec990['push'](new _0x3550bb(_0x36e0a2,_0x544971,_0x49e418)),_0x36e0a2=_0x544971;}else for(let _0x15251e=_0x317901,_0x2b31b4=_0x1b97f4['length'];_0x15251e>_0x4cf322;){let _0x2ee172=!0x0,_0x32e8a0=!0x1;if(!_0x2b31b4||_0x15251e>_0x1b97f4[_0x2b31b4-0x1]['to']){let _0x989ed0=_0x41712b[_0x15251e-0x1];_0x989ed0!=_0x16127f&&(_0x2ee172=!0x1,_0x32e8a0=0x10==_0x989ed0);}let _0x1e2f17=_0x2ee172||0x1!=_0x16127f?null:[],_0x27ade5=_0x2ee172?_0x4b99e3:_0x4b99e3+0x1,_0x48b614=_0x15251e;t:for(;;)if(_0x2b31b4&&_0x48b614==_0x1b97f4[_0x2b31b4-0x1]['to']){if(_0x32e8a0)break t;let _0x3a65e8=_0x1b97f4[--_0x2b31b4];if(!_0x2ee172)for(let _0x927564=_0x3a65e8['from'],_0x30ed91=_0x2b31b4;;){if(_0x927564==_0x4cf322)break t;if(!_0x30ed91||_0x1b97f4[_0x30ed91-0x1]['to']!=_0x927564){if(_0x41712b[_0x927564-0x1]==_0x16127f)break t;break;}_0x927564=_0x1b97f4[--_0x30ed91]['from'];}_0x1e2f17?_0x1e2f17['push'](_0x3a65e8):(_0x3a65e8['to']<_0x15251e&&_0x3ec990['push'](new _0x3550bb(_0x3a65e8['to'],_0x15251e,_0x27ade5)),_0x184df5(_0x320852,_0x3a65e8['direction']==_0xcff545!=!(_0x27ade5%0x2)?_0x4b99e3+0x1:_0x4b99e3,_0x453da3,_0x3a65e8['inner'],_0x3a65e8['from'],_0x3a65e8['to'],_0x3ec990),_0x15251e=_0x3a65e8['from']),_0x48b614=_0x3a65e8['from'];}else{if(_0x48b614==_0x4cf322||(_0x2ee172?_0x41712b[_0x48b614-0x1]!=_0x16127f:_0x41712b[_0x48b614-0x1]==_0x16127f))break;_0x48b614--;}_0x1e2f17?_0x392fec(_0x320852,_0x48b614,_0x15251e,_0x4b99e3+0x1,_0x453da3,_0x1e2f17,_0x3ec990):_0x48b614<_0x15251e&&_0x3ec990['push'](new _0x3550bb(_0x48b614,_0x15251e,_0x27ade5)),_0x15251e=_0x48b614;}}function _0x184df5(_0x1bd577,_0x353ffe,_0x221739,_0x54eb49,_0x53c1a6,_0x53c132,_0xbca851){let _0x10ede7=_0x353ffe%0x2?0x2:0x1;!function(_0x3f8d61,_0x9e36c8,_0x3f3ff4,_0xe307e6,_0x538e9f){for(let _0x326a7c=0x0;_0x326a7c<=_0xe307e6['length'];_0x326a7c++){let _0x51dda6=_0x326a7c?_0xe307e6[_0x326a7c-0x1]['to']:_0x9e36c8,_0x3fe9da=_0x326a7c<_0xe307e6['length']?_0xe307e6[_0x326a7c]['from']:_0x3f3ff4,_0x1a89af=_0x326a7c?0x100:_0x538e9f;for(let _0x3005d5=_0x51dda6,_0x240e3c=_0x1a89af,_0x2828b6=_0x1a89af;_0x3005d5<_0x3fe9da;_0x3005d5++){let _0x3e3bba=_0x3e3960(_0x3f8d61['charCodeAt'](_0x3005d5));0x200==_0x3e3bba?_0x3e3bba=_0x240e3c:0x8==_0x3e3bba&&0x4==_0x2828b6&&(_0x3e3bba=0x10),_0x41712b[_0x3005d5]=0x4==_0x3e3bba?0x2:_0x3e3bba,0x7&_0x3e3bba&&(_0x2828b6=_0x3e3bba),_0x240e3c=_0x3e3bba;}for(let _0x5140ac=_0x51dda6,_0x174ed1=_0x1a89af,_0x570621=_0x1a89af;_0x5140ac<_0x3fe9da;_0x5140ac++){let _0x1a47bc=_0x41712b[_0x5140ac];if(0x80==_0x1a47bc)_0x5140ac<_0x3fe9da-0x1&&_0x174ed1==_0x41712b[_0x5140ac+0x1]&&0x18&_0x174ed1?_0x1a47bc=_0x41712b[_0x5140ac]=_0x174ed1:_0x41712b[_0x5140ac]=0x100;else{if(0x40==_0x1a47bc){let _0x44ae2d=_0x5140ac+0x1;for(;_0x44ae2d<_0x3fe9da&&0x40==_0x41712b[_0x44ae2d];)_0x44ae2d++;let _0x5803ab=_0x5140ac&&0x8==_0x174ed1||_0x44ae2d<_0x3f3ff4&&0x8==_0x41712b[_0x44ae2d]?0x1==_0x570621?0x1:0x8:0x100;for(let _0x1cd5d1=_0x5140ac;_0x1cd5d1<_0x44ae2d;_0x1cd5d1++)_0x41712b[_0x1cd5d1]=_0x5803ab;_0x5140ac=_0x44ae2d-0x1;}else 0x8==_0x1a47bc&&0x1==_0x570621&&(_0x41712b[_0x5140ac]=0x1);}_0x174ed1=_0x1a47bc,0x7&_0x1a47bc&&(_0x570621=_0x1a47bc);}}}(_0x1bd577,_0x53c1a6,_0x53c132,_0x54eb49,_0x10ede7),function(_0x1ddf30,_0x2da695,_0x203fa6,_0x4e2ce2,_0x1efa36){let _0xc36155=0x1==_0x1efa36?0x2:0x1;for(let _0x175c99=0x0,_0x3b3cde=0x0,_0x5bb91c=0x0;_0x175c99<=_0x4e2ce2['length'];_0x175c99++){let _0x111cbe=_0x175c99?_0x4e2ce2[_0x175c99-0x1]['to']:_0x2da695,_0x1c1e5e=_0x175c99<_0x4e2ce2['length']?_0x4e2ce2[_0x175c99]['from']:_0x203fa6;for(let _0x45ddfb,_0x149a42,_0x3aec50,_0x20ea63=_0x111cbe;_0x20ea63<_0x1c1e5e;_0x20ea63++)if(_0x149a42=_0x32104b[_0x45ddfb=_0x1ddf30['charCodeAt'](_0x20ea63)]){if(_0x149a42<0x0){for(let _0x31f4c0=_0x3b3cde-0x3;_0x31f4c0>=0x0;_0x31f4c0-=0x3)if(_0x3573ec[_0x31f4c0+0x1]==-_0x149a42){let _0x353fa8=_0x3573ec[_0x31f4c0+0x2],_0x5b82b8=0x2&_0x353fa8?_0x1efa36:0x4&_0x353fa8?0x1&_0x353fa8?_0xc36155:_0x1efa36:0x0;_0x5b82b8&&(_0x41712b[_0x20ea63]=_0x41712b[_0x3573ec[_0x31f4c0]]=_0x5b82b8),_0x3b3cde=_0x31f4c0;break;}}else{if(0xbd==_0x3573ec['length'])break;_0x3573ec[_0x3b3cde++]=_0x20ea63,_0x3573ec[_0x3b3cde++]=_0x45ddfb,_0x3573ec[_0x3b3cde++]=_0x5bb91c;}}else{if(0x2==(_0x3aec50=_0x41712b[_0x20ea63])||0x1==_0x3aec50){let _0x2ce87e=_0x3aec50==_0x1efa36;_0x5bb91c=_0x2ce87e?0x0:0x1;for(let _0x5087dd=_0x3b3cde-0x3;_0x5087dd>=0x0;_0x5087dd-=0x3){let _0x42f181=_0x3573ec[_0x5087dd+0x2];if(0x2&_0x42f181)break;if(_0x2ce87e)_0x3573ec[_0x5087dd+0x2]|=0x2;else{if(0x4&_0x42f181)break;_0x3573ec[_0x5087dd+0x2]|=0x4;}}}}}}(_0x1bd577,_0x53c1a6,_0x53c132,_0x54eb49,_0x10ede7),function(_0x193613,_0x2d61a8,_0x206868,_0x4e4464){for(let _0x1c4c5e=0x0,_0x2547b3=_0x4e4464;_0x1c4c5e<=_0x206868['length'];_0x1c4c5e++){let _0x49cbef=_0x1c4c5e?_0x206868[_0x1c4c5e-0x1]['to']:_0x193613,_0x3cedaf=_0x1c4c5e<_0x206868['length']?_0x206868[_0x1c4c5e]['from']:_0x2d61a8;for(let _0x5338ab=_0x49cbef;_0x5338ab<_0x3cedaf;){let _0x26f520=_0x41712b[_0x5338ab];if(0x100==_0x26f520){let _0x5e2e1e=_0x5338ab+0x1;for(;;)if(_0x5e2e1e==_0x3cedaf){if(_0x1c4c5e==_0x206868['length'])break;_0x5e2e1e=_0x206868[_0x1c4c5e++]['to'],_0x3cedaf=_0x1c4c5e<_0x206868['length']?_0x206868[_0x1c4c5e]['from']:_0x2d61a8;}else{if(0x100!=_0x41712b[_0x5e2e1e])break;_0x5e2e1e++;}let _0x323024=0x1==_0x2547b3,_0x3ac5b5=_0x323024==(0x1==(_0x5e2e1e<_0x2d61a8?_0x41712b[_0x5e2e1e]:_0x4e4464))?_0x323024?0x1:0x2:_0x4e4464;for(let _0x1fcdda=_0x5e2e1e,_0x3b8b01=_0x1c4c5e,_0x4a804c=_0x3b8b01?_0x206868[_0x3b8b01-0x1]['to']:_0x193613;_0x1fcdda>_0x5338ab;)_0x1fcdda==_0x4a804c&&(_0x1fcdda=_0x206868[--_0x3b8b01]['from'],_0x4a804c=_0x3b8b01?_0x206868[_0x3b8b01-0x1]['to']:_0x193613),_0x41712b[--_0x1fcdda]=_0x3ac5b5;_0x5338ab=_0x5e2e1e;}else _0x2547b3=_0x26f520,_0x5338ab++;}}}(_0x53c1a6,_0x53c132,_0x54eb49,_0x10ede7),_0x392fec(_0x1bd577,_0x53c1a6,_0x53c132,_0x353ffe,_0x221739,_0x54eb49,_0xbca851);}function _0x5efbfd(_0x45f723){return[new _0x3550bb(0x0,_0x45f723,0x0)];}let _0x37f8cf='';function _0x1dd574(_0x32e2de,_0x56fabc,_0x919428,_0x3ffa06,_0x5dbbac){var _0x124d58;let _0xd6b652=_0x3ffa06['head']-_0x32e2de['from'],_0x9845d4=_0x3550bb['find'](_0x56fabc,_0xd6b652,null!==(_0x124d58=_0x3ffa06['bidiLevel'])&&void 0x0!==_0x124d58?_0x124d58:-0x1,_0x3ffa06['assoc']),_0x3c50e1=_0x56fabc[_0x9845d4],_0x223255=_0x3c50e1['side'](_0x5dbbac,_0x919428);if(_0xd6b652==_0x223255){let _0x5ef614=_0x9845d4+=_0x5dbbac?0x1:-0x1;if(_0x5ef614<0x0||_0x5ef614>=_0x56fabc['length'])return null;_0x3c50e1=_0x56fabc[_0x9845d4=_0x5ef614],_0xd6b652=_0x3c50e1['side'](!_0x5dbbac,_0x919428),_0x223255=_0x3c50e1['side'](_0x5dbbac,_0x919428);}let _0x2b81f5=_0x53fca1(_0x32e2de['text'],_0xd6b652,_0x3c50e1['forward'](_0x5dbbac,_0x919428));(_0x2b81f5<_0x3c50e1['from']||_0x2b81f5>_0x3c50e1['to'])&&(_0x2b81f5=_0x223255),_0x37f8cf=_0x32e2de['text']['slice'](Math['min'](_0xd6b652,_0x2b81f5),Math['max'](_0xd6b652,_0x2b81f5));let _0x1669e6=_0x9845d4==(_0x5dbbac?_0x56fabc['length']-0x1:0x0)?null:_0x56fabc[_0x9845d4+(_0x5dbbac?0x1:-0x1)];return _0x1669e6&&_0x2b81f5==_0x223255&&_0x1669e6['level']+(_0x5dbbac?0x0:0x1)<_0x3c50e1['level']?_0x3bda1f['cursor'](_0x1669e6['side'](!_0x5dbbac,_0x919428)+_0x32e2de['from'],_0x1669e6['forward'](_0x5dbbac,_0x919428)?0x1:-0x1,_0x1669e6['level']):_0x3bda1f['cursor'](_0x2b81f5+_0x32e2de['from'],_0x3c50e1['forward'](_0x5dbbac,_0x919428)?-0x1:0x1,_0x3c50e1['level']);}function _0x4725ef(_0x41d070,_0x26076b,_0x2356a8){for(let _0x2dbfad=_0x26076b;_0x2dbfad<_0x2356a8;_0x2dbfad++){let _0x1bb38c=_0x3e3960(_0x41d070['charCodeAt'](_0x2dbfad));if(0x1==_0x1bb38c)return _0xcff545;if(0x2==_0x1bb38c||0x4==_0x1bb38c)return _0x5ec94b;}return _0xcff545;}const _0x4f8013=_0x2658c2['define'](),_0xd9c44e=_0x2658c2['define'](),_0x2a42b4=_0x2658c2['define'](),_0xd682f6=_0x2658c2['define'](),_0x399030=_0x2658c2['define'](),_0x3c2524=_0x2658c2['define'](),_0x4571d5=_0x2658c2['define'](),_0xf675ed=_0x2658c2['define'](),_0x2e8798=_0x2658c2['define'](),_0x518cd9=_0x2658c2['define']({'combine':_0x638ff4=>_0x638ff4['some'](_0x4b2cb8=>_0x4b2cb8)}),_0x466007=_0x2658c2['define']({'combine':_0xb3e0a3=>_0xb3e0a3['some'](_0x152cf9=>_0x152cf9)}),_0x2e972b=_0x2658c2['define']();var _0x45f87f=class ScrollTarget{constructor(_0x1218c9,_0x55f8ec,_0x1b551f,_0x326809,_0x5519da,_0xb3e766=!0x1){this['range']=_0x1218c9,this['y']=_0x55f8ec,this['x']=_0x1b551f,this['yMargin']=_0x326809,this['xMargin']=_0x5519da,this['isSnapshot']=_0xb3e766;}['map'](_0x3ca00a){return _0x3ca00a['empty']?this:new ScrollTarget(this['range']['map'](_0x3ca00a),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x112282){return this['range']['to']<=_0x112282['doc']['length']?this:new ScrollTarget(_0x3bda1f['cursor'](_0x112282['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}};const _0x1cfcf1=_0x1f791d['define']({'map':(t,_0x31b1cc)=>t['map'](_0x31b1cc)}),_0x22430e=_0x1f791d['define']();function _0x55c259(_0x2d38f2,_0x4e9a86,_0x4165c6){let _0x4d9258=_0x2d38f2['facet'](_0xd682f6);_0x4d9258['length']?_0x4d9258[0x0](_0x4e9a86):window['onerror']&&window['onerror'](String(_0x4e9a86),_0x4165c6,void 0x0,void 0x0,_0x4e9a86)||(_0x4165c6?console['error'](_0x4165c6+':',_0x4e9a86):console['error'](_0x4e9a86));}const _0x22e47a=_0x2658c2['define']({'combine':_0x44af84=>!_0x44af84['length']||_0x44af84[0x0]});let _0x273c9b=0x0;const _0xe61996=_0x2658c2['define']({'combine':_0x550aef=>_0x550aef['filter']((_0x28f897,_0x3133de)=>{for(let _0x761846=0x0;_0x761846<_0x3133de;_0x761846++)if(_0x550aef[_0x761846]['plugin']==_0x28f897['plugin'])return!0x1;return!0x0;})});var _0x221982=class _0x4048e4{constructor(_0x362a3a,_0xe7c1b0,_0x1b154a,_0x4fddad,_0xff331f){this['id']=_0x362a3a,this['create']=_0xe7c1b0,this['domEventHandlers']=_0x1b154a,this['domEventObservers']=_0x4fddad,this['baseExtensions']=_0xff331f(this),this['extension']=this['baseExtensions']['concat'](_0xe61996['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x3f5c21){return this['baseExtensions']['concat'](_0xe61996['of']({'plugin':this,'arg':_0x3f5c21}));}static['define'](_0x10140f,_0x3508d7){const {eventHandlers:_0x9139f,eventObservers:_0x11ddbd,provide:_0x2878d3,decorations:_0x17d358}=_0x3508d7||{};return new _0x4048e4(_0x273c9b++,_0x10140f,_0x9139f,_0x11ddbd,_0x49abe5=>{let _0x3167c5=[];return _0x17d358&&_0x3167c5['push'](_0x255d5c['of'](_0xeab558=>{let _0xdbc00d=_0xeab558['plugin'](_0x49abe5);return _0xdbc00d?_0x17d358(_0xdbc00d):_0x18eb2e['none'];})),_0x2878d3&&_0x3167c5['push'](_0x2878d3(_0x49abe5)),_0x3167c5;});}static['fromClass'](_0x7a03c1,_0x641e6){return _0x4048e4['define']((_0x235f2c,_0x1ec880)=>new _0x7a03c1(_0x235f2c,_0x1ec880),_0x641e6);}},_0x550000=class{constructor(_0x524cac){this['spec']=_0x524cac,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}update(_0x155a20){if(this['value']){if(this['mustUpdate']){let _0x16c053=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x16c053);}catch(_0x59eb95){if(_0x55c259(_0x16c053['state'],_0x59eb95,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x461172){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x155a20,this['spec']['arg']);}catch(_0x422de2){_0x55c259(_0x155a20['state'],_0x422de2,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}destroy(_0x3680a7){var _0x4fa8d4;if(null===(_0x4fa8d4=this['value'])||void 0x0===_0x4fa8d4?void 0x0:_0x4fa8d4['destroy'])try{this['value']['destroy']();}catch(_0x11d761){_0x55c259(_0x3680a7['state'],_0x11d761,'CodeMirror\x20plugin\x20crashed');}}deactivate(){this['spec']=this['value']=null;}};const _0x35ac26=_0x2658c2['define'](),_0x285b26=_0x2658c2['define'](),_0x255d5c=_0x2658c2['define'](),_0x4c77cf=_0x2658c2['define'](),tN=_0x2658c2['define'](),_0x4c95f1=_0x2658c2['define'](),_0x7d7347=_0x2658c2['define']();function _0x2ee7f6(_0x4e881b,_0x43a64a){let _0x1e3ce9=_0x4e881b['state']['facet'](_0x7d7347);if(!_0x1e3ce9['length'])return _0x1e3ce9;let _0x5bc7bf=_0x1e3ce9['map'](_0x9b6dc2=>_0x9b6dc2 instanceof Function?_0x9b6dc2(_0x4e881b):_0x9b6dc2),_0x4f09fb=[];return _0x53c81c['spans'](_0x5bc7bf,_0x43a64a['from'],_0x43a64a['to'],{'point'(){},'span'(_0x2fd15a,_0x4895e8,_0x549355,_0x1ab502){let _0x4fac81=_0x2fd15a-_0x43a64a['from'],_0x4a6c17=_0x4895e8-_0x43a64a['from'],_0x5d0d4f=_0x4f09fb;for(let _0x424c7a=_0x549355['length']-0x1;_0x424c7a>=0x0;_0x424c7a--,_0x1ab502--){let _0x4e069f,_0x4d4bf2=_0x549355[_0x424c7a]['spec']['bidiIsolate'];if(null==_0x4d4bf2&&(_0x4d4bf2=_0x4725ef(_0x43a64a['text'],_0x4fac81,_0x4a6c17)),_0x1ab502>0x0&&_0x5d0d4f['length']&&(_0x4e069f=_0x5d0d4f[_0x5d0d4f['length']-0x1])['to']==_0x4fac81&&_0x4e069f['direction']==_0x4d4bf2)_0x4e069f['to']=_0x4a6c17,_0x5d0d4f=_0x4e069f['inner'];else{let _0x4e5318={'from':_0x4fac81,'to':_0x4a6c17,'direction':_0x4d4bf2,'inner':[]};_0x5d0d4f['push'](_0x4e5318),_0x5d0d4f=_0x4e5318['inner'];}}}}),_0x4f09fb;}const _0x3578df=_0x2658c2['define']();function _0x3ec41a(_0x5983aa){let _0x8dc450=0x0,_0x2c4d67=0x0,_0x414688=0x0,_0x14de7c=0x0;for(let _0x215cca of _0x5983aa['state']['facet'](_0x3578df)){let _0x1d54dc=_0x215cca(_0x5983aa);_0x1d54dc&&(null!=_0x1d54dc['left']&&(_0x8dc450=Math['max'](_0x8dc450,_0x1d54dc['left'])),null!=_0x1d54dc['right']&&(_0x2c4d67=Math['max'](_0x2c4d67,_0x1d54dc['right'])),null!=_0x1d54dc['top']&&(_0x414688=Math['max'](_0x414688,_0x1d54dc['top'])),null!=_0x1d54dc['bottom']&&(_0x14de7c=Math['max'](_0x14de7c,_0x1d54dc['bottom'])));}return{'left':_0x8dc450,'right':_0x2c4d67,'top':_0x414688,'bottom':_0x14de7c};}const _0x21db85=_0x2658c2['define']();var _0x400e3e=class _0x513fe7{constructor(_0x1367b0,_0xbd7a21,_0x122071,_0x49af92){this['fromA']=_0x1367b0,this['toA']=_0xbd7a21,this['fromB']=_0x122071,this['toB']=_0x49af92;}['join'](_0xc006b5){return new _0x513fe7(Math['min'](this['fromA'],_0xc006b5['fromA']),Math['max'](this['toA'],_0xc006b5['toA']),Math['min'](this['fromB'],_0xc006b5['fromB']),Math['max'](this['toB'],_0xc006b5['toB']));}addToSet(_0x530fe7){let _0x3bb627=_0x530fe7['length'],_0x2e1c09=this;for(;_0x3bb627>0x0;_0x3bb627--){let _0x12c02c=_0x530fe7[_0x3bb627-0x1];if(!(_0x12c02c['fromA']>_0x2e1c09['toA'])){if(_0x12c02c['toA']<_0x2e1c09['fromA'])break;_0x2e1c09=_0x2e1c09['join'](_0x12c02c),_0x530fe7['splice'](_0x3bb627-0x1,0x1);}}return _0x530fe7['splice'](_0x3bb627,0x0,_0x2e1c09),_0x530fe7;}static extendWithRanges(_0x2e8bf4,_0x4feb36){if(0x0==_0x4feb36['length'])return _0x2e8bf4;let _0x5e52ff=[];for(let _0x44676d=0x0,_0x3963ff=0x0,_0x5b64ff=0x0;;){let _0x89d590=_0x44676d<_0x2e8bf4['length']?_0x2e8bf4[_0x44676d]['fromB']:0x3b9aca00,_0x2a2369=_0x3963ff<_0x4feb36['length']?_0x4feb36[_0x3963ff]:0x3b9aca00,_0x58a0cd=Math['min'](_0x89d590,_0x2a2369);if(0x3b9aca00==_0x58a0cd)break;let _0xe9249e=_0x58a0cd+_0x5b64ff,_0x317e16=_0x58a0cd,_0x5e2ea4=_0xe9249e;for(;;)if(_0x3963ff<_0x4feb36['length']&&_0x4feb36[_0x3963ff]<=_0x317e16){let _0x15a1dc=_0x4feb36[_0x3963ff+0x1];_0x3963ff+=0x2,_0x317e16=Math['max'](_0x317e16,_0x15a1dc);for(let _0x32201e=_0x44676d;_0x32201e<_0x2e8bf4['length']&&_0x2e8bf4[_0x32201e]['fromB']<=_0x317e16;_0x32201e++)_0x5b64ff=_0x2e8bf4[_0x32201e]['toA']-_0x2e8bf4[_0x32201e]['toB'];_0x5e2ea4=Math['max'](_0x5e2ea4,_0x15a1dc+_0x5b64ff);}else{if(!(_0x44676d<_0x2e8bf4['length']&&_0x2e8bf4[_0x44676d]['fromB']<=_0x317e16))break;{let _0x30873a=_0x2e8bf4[_0x44676d++];_0x317e16=Math['max'](_0x317e16,_0x30873a['toB']),_0x5e2ea4=Math['max'](_0x5e2ea4,_0x30873a['toA']),_0x5b64ff=_0x30873a['toA']-_0x30873a['toB'];}}_0x5e52ff['push'](new _0x513fe7(_0xe9249e,_0x5e2ea4,_0x58a0cd,_0x317e16));}return _0x5e52ff;}},_0x38122d=class ViewUpdate{constructor(_0x133ee0,_0x238f24,_0x5348c7){this['view']=_0x133ee0,this['state']=_0x238f24,this['transactions']=_0x5348c7,this['flags']=0x0,this['startState']=_0x133ee0['state'],this['changes']=_0x598fb2['empty'](this['startState']['doc']['length']);for(let _0x538279 of _0x5348c7)this['changes']=this['changes']['compose'](_0x538279['changes']);let _0x1bdfdd=[];this['changes']['iterChangedRanges']((_0x5d1728,_0x303061,_0x2005c5,_0x40d468)=>_0x1bdfdd['push'](new _0x400e3e(_0x5d1728,_0x303061,_0x2005c5,_0x40d468))),this['changedRanges']=_0x1bdfdd;}static create(_0x1cf33a,_0x2b1f22,_0x3c2d02){return new ViewUpdate(_0x1cf33a,_0x2b1f22,_0x3c2d02);}get viewportChanged(){return(0x4&this['flags'])>0x0;}get viewportMoved(){return(0x8&this['flags'])>0x0;}get heightChanged(){return(0x2&this['flags'])>0x0;}get geometryChanged(){return this['docChanged']||(0x12&this['flags'])>0x0;}get['focusChanged'](){return(0x1&this['flags'])>0x0;}get['docChanged'](){return!this['changes']['empty'];}get selectionSet(){return this['transactions']['some'](_0x51fbf0=>_0x51fbf0['selection']);}get empty(){return 0x0==this['flags']&&0x0==this['transactions']['length'];}};const _0x4e36f3=[];var _0x5912ed=class{constructor(_0x4d0b18,_0x53a16e,_0xf642af=0x0){this['dom']=_0x4d0b18,this['length']=_0x53a16e,this['flags']=_0xf642af,this['parent']=null,_0x4d0b18['cmTile']=this;}get breakAfter(){return 0x1&this['flags'];}get['children'](){return _0x4e36f3;}isWidget(){return!0x1;}get['isHidden'](){return!0x1;}isComposite(){return!0x1;}['isLine'](){return!0x1;}isText(){return!0x1;}['isBlock'](){return!0x1;}get domAttrs(){return null;}['sync'](_0x1f1903){if(this['flags']|=0x2,0x4&this['flags']){this['flags']&=-0x5;let _0x2a8c58=this['domAttrs'];_0x2a8c58&&function(_0x354f5f,_0x76f12b){for(let _0x2e7c55=_0x354f5f['attributes']['length']-0x1;_0x2e7c55>=0x0;_0x2e7c55--){let _0x5c2110=_0x354f5f['attributes'][_0x2e7c55]['name'];null==_0x76f12b[_0x5c2110]&&_0x354f5f['removeAttribute'](_0x5c2110);}for(let _0x5f6da7 in _0x76f12b){let _0x386d74=_0x76f12b[_0x5f6da7];'style'==_0x5f6da7?_0x354f5f['style']['cssText']=_0x386d74:_0x354f5f['getAttribute'](_0x5f6da7)!=_0x386d74&&_0x354f5f['setAttribute'](_0x5f6da7,_0x386d74);}}(this['dom'],_0x2a8c58);}}toString(){return this['constructor']['name']+(this['children']['length']?'('+this['children']+')':'')+(this['breakAfter']?'#':'');}destroy(){this['parent']=null;}setDOM(_0x4d532f){this['dom']=_0x4d532f,_0x4d532f['cmTile']=this;}get posAtStart(){return this['parent']?this['parent']['posBefore'](this):0x0;}get posAtEnd(){return this['posAtStart']+this['length'];}['posBefore'](_0xf9b368,_0x46c354=this['posAtStart']){let _0x291e53=_0x46c354;for(let _0x27643 of this['children']){if(_0x27643==_0xf9b368)return _0x291e53;_0x291e53+=_0x27643['length']+_0x27643['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}posAfter(_0x1df173){return this['posBefore'](_0x1df173)+_0x1df173['length'];}['covers'](_0x2336e6){return!0x0;}['coordsIn'](_0x2c9d6e,_0x13d54b){return null;}['domPosFor'](_0x1c577f,_0x2854cd){let _0x26a387=_0x30059c(this['dom']),_0x45d2b6=this['length']?_0x1c577f>0x0:_0x2854cd>0x0;return new _0x5907b1(this['parent']['dom'],_0x26a387+(_0x45d2b6?0x1:0x0),0x0==_0x1c577f||_0x1c577f==this['length']);}markDirty(_0x46be9b){this['flags']&=-0x3,_0x46be9b&&(this['flags']|=0x4),this['parent']&&0x2&this['parent']['flags']&&this['parent']['markDirty'](!0x1);}get overrideDOMText(){return null;}get root(){for(let t=this;t;t=t['parent'])if(t instanceof _0x3b83b6)return t;return null;}static get(_0x2081b7){return _0x2081b7['cmTile'];}},_0x12eca8=class extends _0x5912ed{constructor(_0x43bace){super(_0x43bace,0x0),this['_children']=[];}isComposite(){return!0x0;}get['children'](){return this['_children'];}get lastChild(){return this['children']['length']?this['children'][this['children']['length']-0x1]:null;}['append'](_0x4a59b2){this['children']['push'](_0x4a59b2),_0x4a59b2['parent']=this;}['sync'](_0x572fe6){if(0x2&this['flags'])return;super['sync'](_0x572fe6);let _0x53cff1,_0x35a485=this['dom'],_0x5284c9=null,_0x2e5fa8=(null==_0x572fe6?void 0x0:_0x572fe6['node'])==_0x35a485?_0x572fe6:null,_0x1e3e3f=0x0;for(let _0x558a49 of this['children']){if(_0x558a49['sync'](_0x572fe6),_0x1e3e3f+=_0x558a49['length']+_0x558a49['breakAfter'],_0x53cff1=_0x5284c9?_0x5284c9['nextSibling']:_0x35a485['firstChild'],_0x2e5fa8&&_0x53cff1!=_0x558a49['dom']&&(_0x2e5fa8['written']=!0x0),_0x558a49['dom']['parentNode']==_0x35a485){for(;_0x53cff1&&_0x53cff1!=_0x558a49['dom'];)_0x53cff1=_0x525070(_0x53cff1);}else _0x35a485['insertBefore'](_0x558a49['dom'],_0x53cff1);_0x5284c9=_0x558a49['dom'];}for(_0x53cff1=_0x5284c9?_0x5284c9['nextSibling']:_0x35a485['firstChild'],_0x2e5fa8&&_0x53cff1&&(_0x2e5fa8['written']=!0x0);_0x53cff1;)_0x53cff1=_0x525070(_0x53cff1);this['length']=_0x1e3e3f;}};function _0x525070(_0x204ce8){let _0x19ec19=_0x204ce8['nextSibling'];return _0x204ce8['parentNode']['removeChild'](_0x204ce8),_0x19ec19;}var _0x3b83b6=class extends _0x12eca8{constructor(_0x21fd2e,_0x1918b7){super(_0x1918b7),this['view']=_0x21fd2e;}['owns'](_0x2fb9bc){for(;_0x2fb9bc;_0x2fb9bc=_0x2fb9bc['parent'])if(_0x2fb9bc==this)return!0x0;return!0x1;}['isBlock'](){return!0x0;}nearest(_0x489192){for(;;){if(!_0x489192)return null;let _0x52949e=_0x5912ed['get'](_0x489192);if(_0x52949e&&this['owns'](_0x52949e))return _0x52949e;_0x489192=_0x489192['parentNode'];}}['blockTiles'](_0x18b92e){for(let _0x24635c=[],_0x5547e7=this,_0x10ce32=0x0,_0x426d51=0x0;;)if(_0x10ce32==_0x5547e7['children']['length']){if(!_0x24635c['length'])return;_0x5547e7=_0x5547e7['parent'],_0x5547e7['breakAfter']&&_0x426d51++,_0x10ce32=_0x24635c['pop']();}else{let _0x144623=_0x5547e7['children'][_0x10ce32++];if(_0x144623 instanceof _0x23e92d)_0x24635c['push'](_0x10ce32),_0x5547e7=_0x144623,_0x10ce32=0x0;else{let _0x1a9174=_0x426d51+_0x144623['length'],_0x2bcc5b=_0x18b92e(_0x144623,_0x426d51);if(void 0x0!==_0x2bcc5b)return _0x2bcc5b;_0x426d51=_0x1a9174+_0x144623['breakAfter'];}}}['resolveBlock'](_0x1e7fba,_0x39d7d6){let _0x570c47,_0x3fc0fd,_0x4bda50=-0x1,_0x4786ce=-0x1;if(this['blockTiles']((_0x3c5f43,_0x4b8022)=>{let _0x2b945f=_0x4b8022+_0x3c5f43['length'];if(_0x1e7fba>=_0x4b8022&&_0x1e7fba<=_0x2b945f){if(_0x3c5f43['isWidget']()&&_0x39d7d6>=-0x1&&_0x39d7d6<=0x1){if(0x20&_0x3c5f43['flags'])return!0x0;0x10&_0x3c5f43['flags']&&(_0x570c47=void 0x0);}(_0x4b8022<_0x1e7fba||_0x1e7fba==_0x2b945f&&(_0x39d7d6<-0x1?_0x3c5f43['length']:_0x3c5f43['covers'](0x1)))&&(!_0x570c47||!_0x3c5f43['isWidget']()&&_0x570c47['isWidget']())&&(_0x570c47=_0x3c5f43,_0x4bda50=_0x1e7fba-_0x4b8022),(_0x2b945f>_0x1e7fba||_0x1e7fba==_0x4b8022&&(_0x39d7d6>0x1?_0x3c5f43['length']:_0x3c5f43['covers'](-0x1)))&&(!_0x3fc0fd||!_0x3c5f43['isWidget']()&&_0x3fc0fd['isWidget']())&&(_0x3fc0fd=_0x3c5f43,_0x4786ce=_0x1e7fba-_0x4b8022);}}),!_0x570c47&&!_0x3fc0fd)throw new Error('No\x20tile\x20at\x20position\x20'+_0x1e7fba);return _0x570c47&&_0x39d7d6<0x0||!_0x3fc0fd?{'tile':_0x570c47,'offset':_0x4bda50}:{'tile':_0x3fc0fd,'offset':_0x4786ce};}},_0x23e92d=class _0x192e4f extends _0x12eca8{constructor(_0x461c13,_0x5a7b07){super(_0x461c13),this['wrapper']=_0x5a7b07;}['isBlock'](){return!0x0;}['covers'](_0x596586){return!!this['children']['length']&&(_0x596586<0x0?this['children'][0x0]['covers'](-0x1):this['lastChild']['covers'](0x1));}get domAttrs(){return this['wrapper']['attributes'];}static['of'](_0x2d0c03,_0xdafd45){let _0x514af2=new _0x192e4f(_0xdafd45||document['createElement'](_0x2d0c03['tagName']),_0x2d0c03);return _0xdafd45||(_0x514af2['flags']|=0x4),_0x514af2;}},_0x2809c9=class _0x5a0f60 extends _0x12eca8{constructor(_0x225570,_0x359ce7){super(_0x225570),this['attrs']=_0x359ce7;}['isLine'](){return!0x0;}static start(_0x75c6da,_0x2db4c9,_0x3a52ec){let _0x317ea6=new _0x5a0f60(_0x2db4c9||document['createElement']('div'),_0x75c6da);return _0x2db4c9&&_0x3a52ec||(_0x317ea6['flags']|=0x4),_0x317ea6;}get domAttrs(){return this['attrs'];}['resolveInline'](_0x51ac1b,_0x30248e,_0x4df210){let _0x27ac80=null,_0x55d70e=-0x1,_0x354541=null,_0x51695f=-0x1;!function _0x3c7b76(_0x5afe6b,_0x25d1f1){for(let _0x4304f9=0x0,_0x13a241=0x0;_0x4304f9<_0x5afe6b['children']['length']&&_0x13a241<=_0x25d1f1;_0x4304f9++){let _0x42ef91=_0x5afe6b['children'][_0x4304f9],_0x1c24b3=_0x13a241+_0x42ef91['length'];_0x1c24b3>=_0x25d1f1&&(_0x42ef91['isComposite']()?_0x3c7b76(_0x42ef91,_0x25d1f1-_0x13a241):(!_0x354541||_0x354541['isHidden']&&(_0x30248e>0x0||_0x4df210&&_0x3b7110(_0x354541,_0x42ef91)))&&(_0x1c24b3>_0x25d1f1||0x20&_0x42ef91['flags'])?(_0x354541=_0x42ef91,_0x51695f=_0x25d1f1-_0x13a241):(_0x13a241<_0x25d1f1||0x10&_0x42ef91['flags']&&!_0x42ef91['isHidden'])&&(_0x27ac80=_0x42ef91,_0x55d70e=_0x25d1f1-_0x13a241)),_0x13a241=_0x1c24b3;}}(this,_0x51ac1b);let _0x555ad5=(_0x30248e<0x0?_0x27ac80:_0x354541)||_0x27ac80||_0x354541;return _0x555ad5?{'tile':_0x555ad5,'offset':_0x555ad5==_0x27ac80?_0x55d70e:_0x51695f}:null;}['coordsIn'](_0x5ecaf7,_0x1f3c8e){let _0x3b5efa=this['resolveInline'](_0x5ecaf7,_0x1f3c8e,!0x0);return _0x3b5efa?_0x3b5efa['tile']['coordsIn'](Math['max'](0x0,_0x3b5efa['offset']),_0x1f3c8e):function(_0x2ac984){let _0x72f69=_0x2ac984['dom']['lastChild'];if(!_0x72f69)return _0x2ac984['dom']['getBoundingClientRect']();let _0x4e691e=_0x131661(_0x72f69);return _0x4e691e[_0x4e691e['length']-0x1]||null;}(this);}['domIn'](_0x4d0def,_0x37968e){let _0x4285a6=this['resolveInline'](_0x4d0def,_0x37968e);if(_0x4285a6){let {tile:_0x38e41a,offset:_0x3b350b}=_0x4285a6;if(this['dom']['contains'](_0x38e41a['dom']))return _0x38e41a['isText']()?new _0x5907b1(_0x38e41a['dom'],Math['min'](_0x38e41a['dom']['nodeValue']['length'],_0x3b350b)):_0x38e41a['domPosFor'](_0x3b350b,0x10&_0x38e41a['flags']?0x1:0x20&_0x38e41a['flags']?-0x1:_0x37968e);let _0x12e8f6=_0x4285a6['tile']['parent'],_0x5241d2=!0x1;for(let _0x33f734 of _0x12e8f6['children']){if(_0x5241d2)return new _0x5907b1(_0x33f734['dom'],0x0);_0x33f734==_0x4285a6['tile']&&(_0x5241d2=!0x0);}}return new _0x5907b1(this['dom'],0x0);}};function _0x3b7110(_0xdf1a50,_0xba1cbf){let _0x59ac95=_0xdf1a50['coordsIn'](0x0,0x1),_0x4d4b87=_0xba1cbf['coordsIn'](0x0,0x1);return _0x59ac95&&_0x4d4b87&&_0x4d4b87['top']<_0x59ac95['bottom'];}var _0x4abb6e=class _0x2bcfd4 extends _0x12eca8{constructor(_0x816a4e,_0x10602f){super(_0x816a4e),this['mark']=_0x10602f;}get domAttrs(){return this['mark']['attrs'];}static['of'](_0x2466c3,_0x481709){let _0x3f2a2d=new _0x2bcfd4(_0x481709||document['createElement'](_0x2466c3['tagName']),_0x2466c3);return _0x481709||(_0x3f2a2d['flags']|=0x4),_0x3f2a2d;}},_0x3e3d3b=class TextTile extends _0x5912ed{constructor(_0x2d1cff,_0x591fe7){super(_0x2d1cff,_0x591fe7['length']),this['text']=_0x591fe7;}['sync'](_0x1d9284){0x2&this['flags']||(super['sync'](_0x1d9284),this['dom']['nodeValue']!=this['text']&&(_0x1d9284&&_0x1d9284['node']==this['dom']&&(_0x1d9284['written']=!0x0),this['dom']['nodeValue']=this['text']));}isText(){return!0x0;}toString(){return JSON['stringify'](this['text']);}['coordsIn'](_0x10736f,_0x15544f){let _0x4a2e44=this['dom']['nodeValue']['length'];_0x10736f>_0x4a2e44&&(_0x10736f=_0x4a2e44);let _0xf8e472=_0x10736f,_0xecf375=_0x10736f,_0x408d4c=0x0;0x0==_0x10736f&&_0x15544f<0x0||_0x10736f==_0x4a2e44&&_0x15544f>=0x0?_0x49766a['chrome']||_0x49766a['gecko']||(_0x10736f?(_0xf8e472--,_0x408d4c=0x1):_0xecf375<_0x4a2e44&&(_0xecf375++,_0x408d4c=-0x1)):_0x15544f<0x0?_0xf8e472--:_0xecf375<_0x4a2e44&&_0xecf375++;let _0x1ea1d3=_0x4fe1ed(this['dom'],_0xf8e472,_0xecf375)['getClientRects']();if(!_0x1ea1d3['length'])return null;let _0x56898b=_0x1ea1d3[(_0x408d4c?_0x408d4c<0x0:_0x15544f>=0x0)?0x0:_0x1ea1d3['length']-0x1];return _0x49766a['safari']&&!_0x408d4c&&0x0==_0x56898b['width']&&(_0x56898b=Array['prototype']['find']['call'](_0x1ea1d3,_0xa8e8ab=>_0xa8e8ab['width'])||_0x56898b),_0x408d4c?_0x5386b9(_0x56898b,_0x408d4c<0x0):_0x56898b||null;}static['of'](_0x132076,_0x24c7e2){let _0x54f81f=new TextTile(_0x24c7e2||document['createTextNode'](_0x132076),_0x132076);return _0x24c7e2||(_0x54f81f['flags']|=0x2),_0x54f81f;}},_0x4b5d0d=class WidgetTile extends _0x5912ed{constructor(_0x4e5f6b,_0x538330,_0x50fb84,_0x2e1e18){super(_0x4e5f6b,_0x538330,_0x2e1e18),this['widget']=_0x50fb84;}isWidget(){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['covers'](_0x2aa764){return!(0x30&this['flags'])&&(this['flags']&(_0x2aa764<0x0?0x40:0x80))>0x0;}['coordsIn'](_0x134fa2,_0x277c9f){return this['coordsInWidget'](_0x134fa2,_0x277c9f,!0x1);}coordsInWidget(_0x5eada0,_0x6096c1,_0x522b0d){let _0x118376=this['widget']['coordsAt'](this['dom'],_0x5eada0,_0x6096c1);if(_0x118376)return _0x118376;if(_0x522b0d)return _0x5386b9(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x5eada0:_0x6096c1<=0x0);{let _0x583783=this['dom']['getClientRects'](),_0x4d8300=null;if(!_0x583783['length'])return null;let _0x4cd7de=!!(0x10&this['flags'])||!(0x20&this['flags'])&&_0x5eada0>0x0;for(let _0x46f69a=_0x4cd7de?_0x583783['length']-0x1:0x0;_0x4d8300=_0x583783[_0x46f69a],!(_0x5eada0>0x0?0x0==_0x46f69a:_0x46f69a==_0x583783['length']-0x1||_0x4d8300['top']<_0x4d8300['bottom']);_0x46f69a+=_0x4cd7de?-0x1:0x1);return _0x5386b9(_0x4d8300,!_0x4cd7de);}}get overrideDOMText(){if(!this['length'])return _0x4293ea['empty'];let {root:_0x374dab}=this;if(!_0x374dab)return _0x4293ea['empty'];let _0x442a9f=this['posAtStart'];return _0x374dab['view']['state']['doc']['slice'](_0x442a9f,_0x442a9f+this['length']);}destroy(){super['destroy'](),this['widget']['destroy'](this['dom']);}static['of'](_0x42a4c6,_0x30a127,_0x851dfd,_0x396fbe,_0x1a2e93){return _0x1a2e93||(_0x1a2e93=_0x42a4c6['toDOM'](_0x30a127),_0x42a4c6['editable']||(_0x1a2e93['contentEditable']='false')),new WidgetTile(_0x1a2e93,_0x851dfd,_0x42a4c6,_0x396fbe);}},_0x4b9e04=class extends _0x5912ed{constructor(_0x2fe429){let _0x976207=document['createElement']('img');_0x976207['className']='cm-widgetBuffer',_0x976207['setAttribute']('aria-hidden','true'),super(_0x976207,0x0,_0x2fe429);}get['isHidden'](){return!0x0;}get overrideDOMText(){return _0x4293ea['empty'];}['coordsIn'](_0x1303da){return this['dom']['getBoundingClientRect']();}},_0x30e2c9=class{constructor(_0x2a3b54){this['index']=0x0,this['beforeBreak']=!0x1,this['parents']=[],this['tile']=_0x2a3b54;}['advance'](_0x423832,_0x59c90b,_0x4d40fa){let {tile:_0xae8e7c,index:_0x47e916,beforeBreak:_0x323806,parents:_0x3b906c}=this;for(;_0x423832||_0x59c90b>0x0;)if(_0xae8e7c['isComposite']()){if(_0x323806){if(!_0x423832)break;_0x4d40fa&&_0x4d40fa['break'](),_0x423832--,_0x323806=!0x1;}else{if(_0x47e916==_0xae8e7c['children']['length']){if(!_0x423832&&!_0x3b906c['length'])break;_0x4d40fa&&_0x4d40fa['leave'](_0xae8e7c),_0x323806=!!_0xae8e7c['breakAfter'],{tile:_0xae8e7c,index:_0x47e916}=_0x3b906c['pop'](),_0x47e916++;}else{let _0x5f35ce=_0xae8e7c['children'][_0x47e916],_0x24ee9b=_0x5f35ce['breakAfter'];!(_0x59c90b>0x0?_0x5f35ce['length']<=_0x423832:_0x5f35ce['length']<_0x423832)||_0x4d40fa&&!0x1===_0x4d40fa['skip'](_0x5f35ce,0x0,_0x5f35ce['length'])&&_0x5f35ce['isComposite']?(_0x3b906c['push']({'tile':_0xae8e7c,'index':_0x47e916}),_0xae8e7c=_0x5f35ce,_0x47e916=0x0,_0x4d40fa&&_0x5f35ce['isComposite']()&&_0x4d40fa['enter'](_0x5f35ce)):(_0x323806=!!_0x24ee9b,_0x47e916++,_0x423832-=_0x5f35ce['length']);}}}else{if(_0x47e916==_0xae8e7c['length'])_0x323806=!!_0xae8e7c['breakAfter'],{tile:_0xae8e7c,index:_0x47e916}=_0x3b906c['pop'](),_0x47e916++;else{if(!_0x423832)break;{let _0x2740c8=Math['min'](_0x423832,_0xae8e7c['length']-_0x47e916);_0x4d40fa&&_0x4d40fa['skip'](_0xae8e7c,_0x47e916,_0x47e916+_0x2740c8),_0x423832-=_0x2740c8,_0x47e916+=_0x2740c8;}}}return this['tile']=_0xae8e7c,this['index']=_0x47e916,this['beforeBreak']=_0x323806,this;}get root(){return this['parents']['length']?this['parents'][0x0]['tile']:this['tile'];}},_0x667135=class{constructor(_0x3e22e1,_0x1406b9,_0x122d2b,_0x5ae2f3){this['from']=_0x3e22e1,this['to']=_0x1406b9,this['wrapper']=_0x122d2b,this['rank']=_0x5ae2f3;}},_0x1bad4d=class{constructor(_0xaef272,_0x4a530a,_0x5e1ed9){this['cache']=_0xaef272,this['root']=_0x4a530a,this['blockWrappers']=_0x5e1ed9,this['curLine']=null,this['lastBlock']=null,this['afterWidget']=null,this['pos']=0x0,this['wrappers']=[],this['wrapperPos']=0x0;}addText(_0x1abc2c,_0x2e77bd,_0x28dbc1,_0x131ad4){var _0x564ce0;this['flushBuffer']();let _0x3f7888=this['ensureMarks'](_0x2e77bd,_0x28dbc1),_0x356e71=_0x3f7888['lastChild'];if(_0x356e71&&_0x356e71['isText']()&&!(0x8&_0x356e71['flags'])&&_0x356e71['length']+_0x1abc2c['length']<0x200)this['cache']['reused']['set'](_0x356e71,0x2),(_0x3f7888['children'][_0x3f7888['children']['length']-0x1]=new _0x3e3d3b(_0x356e71['dom'],_0x356e71['text']+_0x1abc2c))['parent']=_0x3f7888;else _0x3f7888['append'](_0x131ad4||_0x3e3d3b['of'](_0x1abc2c,null===(_0x564ce0=this['cache']['find'](_0x3e3d3b))||void 0x0===_0x564ce0?void 0x0:_0x564ce0['dom']));this['pos']+=_0x1abc2c['length'],this['afterWidget']=null;}addComposition(_0x45195d,_0xa5d932){let _0x3f36a5=this['curLine'];_0x3f36a5['dom']!=_0xa5d932['line']['dom']&&(_0x3f36a5['setDOM'](this['cache']['reused']['has'](_0xa5d932['line'])?_0x24b208(_0xa5d932['line']['dom']):_0xa5d932['line']['dom']),this['cache']['reused']['set'](_0xa5d932['line'],0x2));let _0x268ac1=_0x3f36a5;for(let _0x325b13=_0xa5d932['marks']['length']-0x1;_0x325b13>=0x0;_0x325b13--){let _0x47289c=_0xa5d932['marks'][_0x325b13],_0x290dab=_0x268ac1['lastChild'];if(_0x290dab instanceof _0x4abb6e&&_0x290dab['mark']['eq'](_0x47289c['mark']))_0x290dab['dom']!=_0x47289c['dom']&&_0x290dab['setDOM'](_0x24b208(_0x47289c['dom'])),_0x268ac1=_0x290dab;else{if(this['cache']['reused']['get'](_0x47289c)){let _0x586e34=_0x5912ed['get'](_0x47289c['dom']);_0x586e34&&_0x586e34['setDOM'](_0x24b208(_0x47289c['dom']));}let _0x4f2025=_0x4abb6e['of'](_0x47289c['mark'],_0x47289c['dom']);_0x268ac1['append'](_0x4f2025),_0x268ac1=_0x4f2025;}this['cache']['reused']['set'](_0x47289c,0x2);}let _0x13ed84=_0x5912ed['get'](_0x45195d['text']);_0x13ed84&&this['cache']['reused']['set'](_0x13ed84,0x2);let _0x58a1cd=new _0x3e3d3b(_0x45195d['text'],_0x45195d['text']['nodeValue']);_0x58a1cd['flags']|=0x8,this['pos']=_0x45195d['range']['toB'],_0x268ac1['append'](_0x58a1cd);}addInlineWidget(_0x5703fd,_0x8c60c3,_0x2981ea){let _0x544a98=this['afterWidget']&&0x30&_0x5703fd['flags']&&(0x30&this['afterWidget']['flags'])==(0x30&_0x5703fd['flags']);_0x544a98||this['flushBuffer']();let _0x16bb00=this['ensureMarks'](_0x8c60c3,_0x2981ea);_0x544a98||0x10&_0x5703fd['flags']||_0x16bb00['append'](this['getBuffer'](0x1)),_0x16bb00['append'](_0x5703fd),this['pos']+=_0x5703fd['length'],this['afterWidget']=_0x5703fd;}['addMark'](_0x4518f6,_0x1b4128,_0x159564){this['flushBuffer'](),this['ensureMarks'](_0x1b4128,_0x159564)['append'](_0x4518f6),this['pos']+=_0x4518f6['length'],this['afterWidget']=null;}addBlockWidget(_0x279857){this['getBlockPos']()['append'](_0x279857),this['pos']+=_0x279857['length'],this['lastBlock']=_0x279857,this['endLine']();}continueWidget(_0x5c2820){(this['afterWidget']||this['lastBlock'])['length']+=_0x5c2820,this['pos']+=_0x5c2820;}addLineStart(_0x455c60,_0x200de4){var _0x2d5a62;_0x455c60||(_0x455c60=_0x19ff3c);let _0x26d8da=_0x2809c9['start'](_0x455c60,_0x200de4||(null===(_0x2d5a62=this['cache']['find'](_0x2809c9))||void 0x0===_0x2d5a62?void 0x0:_0x2d5a62['dom']),!!_0x200de4);this['getBlockPos']()['append'](this['lastBlock']=this['curLine']=_0x26d8da);}['addLine'](_0x56c581){this['getBlockPos']()['append'](_0x56c581),this['pos']+=_0x56c581['length'],this['lastBlock']=_0x56c581,this['endLine']();}['addBreak'](){this['lastBlock']['flags']|=0x1,this['endLine'](),this['pos']++;}addLineStartIfNotCovered(_0x23b29c){this['blockPosCovered']()||this['addLineStart'](_0x23b29c);}['ensureLine'](_0x1878a7){this['curLine']||this['addLineStart'](_0x1878a7);}['ensureMarks'](_0xfbe2ef,_0x2ab76b){var _0x1bf8f4;let _0x5c9eaa=this['curLine'];for(let _0x1158ed=_0xfbe2ef['length']-0x1;_0x1158ed>=0x0;_0x1158ed--){let _0x875d9,_0x30e926=_0xfbe2ef[_0x1158ed];if(_0x2ab76b>0x0&&(_0x875d9=_0x5c9eaa['lastChild'])&&_0x875d9 instanceof _0x4abb6e&&_0x875d9['mark']['eq'](_0x30e926))_0x5c9eaa=_0x875d9,_0x2ab76b--;else{let _0x46e715=_0x4abb6e['of'](_0x30e926,null===(_0x1bf8f4=this['cache']['find'](_0x4abb6e,_0x779224=>_0x779224['mark']['eq'](_0x30e926)))||void 0x0===_0x1bf8f4?void 0x0:_0x1bf8f4['dom']);_0x5c9eaa['append'](_0x46e715),_0x5c9eaa=_0x46e715,_0x2ab76b=0x0;}}return _0x5c9eaa;}['endLine'](){if(this['curLine']){this['flushBuffer']();let _0x521fd3=this['curLine']['lastChild'];_0x521fd3&&_0xa67414(this['curLine'],!0x1)&&('BR'==_0x521fd3['dom']['nodeName']||!_0x521fd3['isWidget']()||_0x49766a['ios']&&_0xa67414(this['curLine'],!0x0))||this['curLine']['append'](this['cache']['findWidget'](_0x402c57,0x0,0x20)||new _0x4b5d0d(_0x402c57['toDOM'](),0x0,_0x402c57,0x20)),this['curLine']=this['afterWidget']=null;}}updateBlockWrappers(){this['wrapperPos']>this['pos']+0x2710&&(this['blockWrappers']['goto'](this['pos']),this['wrappers']['length']=0x0);for(let _0x480ddf=this['wrappers']['length']-0x1;_0x480ddf>=0x0;_0x480ddf--)this['wrappers'][_0x480ddf]['to']<this['pos']&&this['wrappers']['splice'](_0x480ddf,0x1);for(let _0xcde73f=this['blockWrappers'];_0xcde73f['value']&&_0xcde73f['from']<=this['pos'];_0xcde73f['next']())if(_0xcde73f['to']>=this['pos']){let _0x1891d2=0x66*_0xcde73f['rank']+_0xcde73f['value']['rank'],_0x1cdd83=new _0x667135(_0xcde73f['from'],_0xcde73f['to'],_0xcde73f['value'],_0x1891d2),_0x1a419b=this['wrappers']['length'];for(;_0x1a419b>0x0&&(this['wrappers'][_0x1a419b-0x1]['rank']-_0x1cdd83['rank']||this['wrappers'][_0x1a419b-0x1]['to']-_0x1cdd83['to'])<0x0;)_0x1a419b--;this['wrappers']['splice'](_0x1a419b,0x0,_0x1cdd83);}this['wrapperPos']=this['pos'];}getBlockPos(){var _0x377e2b;this['updateBlockWrappers']();let _0x469817=this['root'];for(let _0x2a6320 of this['wrappers']){let _0x33ae08=_0x469817['lastChild'];if(_0x2a6320['from']<this['pos']&&_0x33ae08 instanceof _0x23e92d&&_0x33ae08['wrapper']['eq'](_0x2a6320['wrapper']))_0x469817=_0x33ae08;else{let _0x7d5718=_0x23e92d['of'](_0x2a6320['wrapper'],null===(_0x377e2b=this['cache']['find'](_0x23e92d,t=>t['wrapper']['eq'](_0x2a6320['wrapper'])))||void 0x0===_0x377e2b?void 0x0:_0x377e2b['dom']);_0x469817['append'](_0x7d5718),_0x469817=_0x7d5718;}}return _0x469817;}['blockPosCovered'](){let _0x4f0f6a=this['lastBlock'];return null!=_0x4f0f6a&&!_0x4f0f6a['breakAfter']&&(!_0x4f0f6a['isWidget']()||(0xa0&_0x4f0f6a['flags'])>0x0);}getBuffer(_0x5c0b8b){let _0x18c6cd=0x2|(_0x5c0b8b<0x0?0x10:0x20),_0x3a0367=this['cache']['find'](_0x4b9e04,void 0x0,0x1);return _0x3a0367&&(_0x3a0367['flags']=_0x18c6cd),_0x3a0367||new _0x4b9e04(_0x18c6cd);}['flushBuffer'](){!this['afterWidget']||0x20&this['afterWidget']['flags']||(this['afterWidget']['parent']['append'](this['getBuffer'](-0x1)),this['afterWidget']=null);}},_0x1f4c26=class{constructor(_0x49dafd){this['skipCount']=0x0,this['text']='',this['textOff']=0x0,this['cursor']=_0x49dafd['iter']();}['skip'](_0x5c7db2){this['textOff']+_0x5c7db2<=this['text']['length']?this['textOff']+=_0x5c7db2:(this['skipCount']+=_0x5c7db2-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0);}next(_0xf42db){if(this['textOff']==this['text']['length']){let {value:_0x16c5d3,lineBreak:_0x274540,done:_0x47bca5}=this['cursor']['next'](this['skipCount']);if(this['skipCount']=0x0,_0x47bca5)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');this['text']=_0x16c5d3;let _0xc78bab=this['textOff']=Math['min'](_0xf42db,_0x16c5d3['length']);return _0x274540?null:_0x16c5d3['slice'](0x0,_0xc78bab);}let _0x4139fb=Math['min'](this['text']['length'],this['textOff']+_0xf42db),_0x2407f1=this['text']['slice'](this['textOff'],_0x4139fb);return this['textOff']=_0x4139fb,_0x2407f1;}};const _0x49c9bd=[_0x4b5d0d,_0x2809c9,_0x3e3d3b,_0x4abb6e,_0x4b9e04,_0x23e92d,_0x3b83b6];for(let _0x306e0c=0x0;_0x306e0c<_0x49c9bd['length'];_0x306e0c++)_0x49c9bd[_0x306e0c]['bucket']=_0x306e0c;var _0x1df439=class{constructor(_0x4b1b7b){this['view']=_0x4b1b7b,this['buckets']=_0x49c9bd['map'](()=>[]),this['index']=_0x49c9bd['map'](()=>0x0),this['reused']=new Map();}['add'](_0x37573f){let _0xdf37ad=_0x37573f['constructor']['bucket'],_0x13abd0=this['buckets'][_0xdf37ad];_0x13abd0['length']<0x6?_0x13abd0['push'](_0x37573f):_0x13abd0[this['index'][_0xdf37ad]=(this['index'][_0xdf37ad]+0x1)%0x6]=_0x37573f;}['find'](_0x525ec1,_0x11bd8b,_0x5e9317=0x2){let _0x6d4ac0=_0x525ec1['bucket'],_0x354b84=this['buckets'][_0x6d4ac0],_0x120c06=this['index'][_0x6d4ac0];for(let _0x18bed8=_0x354b84['length']-0x1;_0x18bed8>=0x0;_0x18bed8--){let _0x29560f=(_0x18bed8+_0x120c06)%_0x354b84['length'],_0x104427=_0x354b84[_0x29560f];if((!_0x11bd8b||_0x11bd8b(_0x104427))&&!this['reused']['has'](_0x104427))return _0x354b84['splice'](_0x29560f,0x1),_0x29560f<_0x120c06&&this['index'][_0x6d4ac0]--,this['reused']['set'](_0x104427,_0x5e9317),_0x104427;}return null;}findWidget(_0x4bb4af,_0x1d9798,_0x24fcf8){let _0x562603=this['buckets'][0x0];if(_0x562603['length'])for(let _0x52f1cb=0x0,_0x1f1d87=0x0;;_0x52f1cb++){if(_0x52f1cb==_0x562603['length']){if(_0x1f1d87)return null;_0x1f1d87=0x1,_0x52f1cb=0x0;}let _0x32db0c=_0x562603[_0x52f1cb];if(!this['reused']['has'](_0x32db0c)&&(0x0==_0x1f1d87?_0x32db0c['widget']['compare'](_0x4bb4af):_0x32db0c['widget']['constructor']==_0x4bb4af['constructor']&&_0x4bb4af['updateDOM'](_0x32db0c['dom'],this['view'],_0x32db0c['widget'])))return _0x562603['splice'](_0x52f1cb,0x1),_0x52f1cb<this['index'][0x0]&&this['index'][0x0]--,_0x32db0c['widget']==_0x4bb4af&&_0x32db0c['length']==_0x1d9798&&(0x1f1&_0x32db0c['flags'])==_0x24fcf8?(this['reused']['set'](_0x32db0c,0x1),_0x32db0c):(this['reused']['set'](_0x32db0c,0x2),new _0x4b5d0d(_0x32db0c['dom'],_0x1d9798,_0x4bb4af,-0x1f2&_0x32db0c['flags']|_0x24fcf8));}}['reuse'](_0x3d81c8){return this['reused']['set'](_0x3d81c8,0x1),_0x3d81c8;}['maybeReuse'](_0x53fbd5,_0x4e13fd=0x2){if(!this['reused']['has'](_0x53fbd5))return this['reused']['set'](_0x53fbd5,_0x4e13fd),_0x53fbd5['dom'];}['clear'](){for(let _0x50cf74=0x0;_0x50cf74<this['buckets']['length'];_0x50cf74++)this['buckets'][_0x50cf74]['length']=this['index'][_0x50cf74]=0x0;}},_0x4493da=class{constructor(_0x7d6aed,_0x3d5e14,_0x3a63ef,_0x49c08e,_0x55b166){this['view']=_0x7d6aed,this['decorations']=_0x49c08e,this['disallowBlockEffectsFor']=_0x55b166,this['openWidget']=!0x1,this['openMarks']=0x0,this['cache']=new _0x1df439(_0x7d6aed),this['text']=new _0x1f4c26(_0x7d6aed['state']['doc']),this['builder']=new _0x1bad4d(this['cache'],new _0x3b83b6(_0x7d6aed,_0x7d6aed['contentDOM']),_0x53c81c['iter'](_0x3a63ef)),this['cache']['reused']['set'](_0x3d5e14,0x2),this['old']=new _0x30e2c9(_0x3d5e14),this['reuseWalker']={'skip':(_0x55b7fe,_0x1a5737,_0x4f1633)=>{if(this['cache']['add'](_0x55b7fe),_0x55b7fe['isComposite']())return!0x1;},'enter':_0x2c337d=>this['cache']['add'](_0x2c337d),'leave':()=>{},'break':()=>{}};}['run'](_0x47af27,_0x34683b){let _0xf998e5=_0x34683b&&this['getCompositionContext'](_0x34683b['text']);for(let _0x30bebc=0x0,_0x3ebe3f=0x0,_0x1b44ed=0x0;;){let _0x50545d=_0x1b44ed<_0x47af27['length']?_0x47af27[_0x1b44ed++]:null,_0x1f44d8=_0x50545d?_0x50545d['fromA']:this['old']['root']['length'];if(_0x1f44d8>_0x30bebc){let _0x10a169=_0x1f44d8-_0x30bebc;this['preserve'](_0x10a169,!_0x1b44ed,!_0x50545d),_0x30bebc=_0x1f44d8,_0x3ebe3f+=_0x10a169;}if(!_0x50545d)break;_0x34683b&&_0x50545d['fromA']<=_0x34683b['range']['fromA']&&_0x50545d['toA']>=_0x34683b['range']['toA']?(this['forward'](_0x50545d['fromA'],_0x34683b['range']['fromA'],_0x34683b['range']['fromA']<_0x34683b['range']['toA']?0x1:-0x1),this['emit'](_0x3ebe3f,_0x34683b['range']['fromB']),this['builder']['flushBuffer'](),this['cache']['clear'](),this['builder']['addComposition'](_0x34683b,_0xf998e5),this['text']['skip'](_0x34683b['range']['toB']-_0x34683b['range']['fromB']),this['forward'](_0x34683b['range']['fromA'],_0x50545d['toA']),this['emit'](_0x34683b['range']['toB'],_0x50545d['toB'])):(this['forward'](_0x50545d['fromA'],_0x50545d['toA']),this['emit'](_0x3ebe3f,_0x50545d['toB'])),_0x3ebe3f=_0x50545d['toB'],_0x30bebc=_0x50545d['toA'];}return this['builder']['curLine']&&this['builder']['endLine'](),this['builder']['root'];}['preserve'](_0x1b1399,_0x3a8a69,_0x493877){let _0xa80158=function(_0x3ab3e8){let _0x3f9e37=[];for(let _0x4a6435=_0x3ab3e8['parents']['length'];_0x4a6435>0x1;_0x4a6435--){let _0x2300f4=_0x4a6435==_0x3ab3e8['parents']['length']?_0x3ab3e8['tile']:_0x3ab3e8['parents'][_0x4a6435]['tile'];_0x2300f4 instanceof _0x4abb6e&&_0x3f9e37['push'](_0x2300f4['mark']);}return _0x3f9e37;}(this['old']),_0x2af567=this['openMarks'];this['old']['advance'](_0x1b1399,_0x493877?0x1:-0x1,{'skip':(_0x1971ae,_0x414ab5,_0x1b6cc2)=>{if(_0x1971ae['isWidget']()){if(this['openWidget'])this['builder']['continueWidget'](_0x1b6cc2-_0x414ab5);else{let _0x4c3c9a=_0x1b6cc2>0x0||_0x414ab5<_0x1971ae['length']?_0x4b5d0d['of'](_0x1971ae['widget'],this['view'],_0x1b6cc2-_0x414ab5,0x1f0&_0x1971ae['flags'],this['cache']['maybeReuse'](_0x1971ae)):this['cache']['reuse'](_0x1971ae);0x100&_0x4c3c9a['flags']?(_0x4c3c9a['flags']&=-0x2,this['builder']['addBlockWidget'](_0x4c3c9a)):(this['builder']['ensureLine'](null),this['builder']['addInlineWidget'](_0x4c3c9a,_0xa80158,_0x2af567),_0x2af567=_0xa80158['length']);}}else{if(_0x1971ae['isText']())this['builder']['ensureLine'](null),_0x414ab5||_0x1b6cc2!=_0x1971ae['length']||this['cache']['reused']['has'](_0x1971ae)?(this['cache']['add'](_0x1971ae),this['builder']['addText'](_0x1971ae['text']['slice'](_0x414ab5,_0x1b6cc2),_0xa80158,_0x2af567)):this['builder']['addText'](_0x1971ae['text'],_0xa80158,_0x2af567,this['cache']['reuse'](_0x1971ae)),_0x2af567=_0xa80158['length'];else{if(_0x1971ae['isLine']())_0x1971ae['flags']&=-0x2,this['cache']['reused']['set'](_0x1971ae,0x1),this['builder']['addLine'](_0x1971ae);else{if(_0x1971ae instanceof _0x4b9e04)this['cache']['add'](_0x1971ae);else{if(!(_0x1971ae instanceof _0x4abb6e))return!0x1;this['builder']['ensureLine'](null),this['builder']['addMark'](_0x1971ae,_0xa80158,_0x2af567),this['cache']['reused']['set'](_0x1971ae,0x1),_0x2af567=_0xa80158['length'];}}}}this['openWidget']=!0x1;},'enter':_0x310b38=>{_0x310b38['isLine']()?this['builder']['addLineStart'](_0x310b38['attrs'],this['cache']['maybeReuse'](_0x310b38)):(this['cache']['add'](_0x310b38),_0x310b38 instanceof _0x4abb6e&&_0xa80158['unshift'](_0x310b38['mark'])),this['openWidget']=!0x1;},'leave':_0x119d32=>{_0x119d32['isLine']()?_0xa80158['length']&&(_0xa80158['length']=_0x2af567=0x0):_0x119d32 instanceof _0x4abb6e&&(_0xa80158['shift'](),_0x2af567=Math['min'](_0x2af567,_0xa80158['length']));},'break':()=>{this['builder']['addBreak'](),this['openWidget']=!0x1;}}),this['text']['skip'](_0x1b1399);}emit(_0x40a1a1,_0x4fca99){let _0x7f90f9=null,_0x416ef0=this['builder'],_0x2dd2a7=0x0,_0x1bc1ce=_0x53c81c['spans'](this['decorations'],_0x40a1a1,_0x4fca99,{'point':(_0x36db90,_0x427cd0,_0x4bf499,_0x4bcd37,_0x2657e9,_0x8272df)=>{if(_0x4bf499 instanceof _0x28a7af){if(this['disallowBlockEffectsFor'][_0x8272df]){if(_0x4bf499['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x427cd0>this['view']['state']['doc']['lineAt'](_0x36db90)['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}if(_0x2dd2a7=_0x4bcd37['length'],_0x2657e9>_0x4bcd37['length'])_0x416ef0['continueWidget'](_0x427cd0-_0x36db90);else{let _0x2c1150=_0x4bf499['widget']||(_0x4bf499['block']?_0x1a0fc4['block']:_0x1a0fc4['inline']),_0x3b185f=function(_0x5d5498){let _0x53ace8=_0x5d5498['isReplace']?(_0x5d5498['startSide']<0x0?0x40:0x0)|(_0x5d5498['endSide']>0x0?0x80:0x0):_0x5d5498['startSide']>0x0?0x20:0x10;return _0x5d5498['block']&&(_0x53ace8|=0x100),_0x53ace8;}(_0x4bf499),_0x3b47e8=this['cache']['findWidget'](_0x2c1150,_0x427cd0-_0x36db90,_0x3b185f)||_0x4b5d0d['of'](_0x2c1150,this['view'],_0x427cd0-_0x36db90,_0x3b185f);_0x4bf499['block']?(_0x4bf499['startSide']>0x0&&_0x416ef0['addLineStartIfNotCovered'](_0x7f90f9),_0x416ef0['addBlockWidget'](_0x3b47e8)):(_0x416ef0['ensureLine'](_0x7f90f9),_0x416ef0['addInlineWidget'](_0x3b47e8,_0x4bcd37,_0x2657e9));}_0x7f90f9=null;}else _0x7f90f9=function(_0x323b67,_0x2cb086){let _0xff0d34=_0x2cb086['spec']['attributes'],_0x124013=_0x2cb086['spec']['class'];if(!_0xff0d34&&!_0x124013)return _0x323b67;return _0x323b67||(_0x323b67={'class':'cm-line'}),_0xff0d34&&_0x485c9a(_0xff0d34,_0x323b67),_0x124013&&(_0x323b67['class']+='\x20'+_0x124013),_0x323b67;}(_0x7f90f9,_0x4bf499);_0x427cd0>_0x36db90&&this['text']['skip'](_0x427cd0-_0x36db90);},'span':(_0x17b84d,_0x2aed61,_0x4650d6,_0x5d533f)=>{for(let _0x12a625=_0x17b84d;_0x12a625<_0x2aed61;){let _0x2365cc=this['text']['next'](Math['min'](0x200,_0x2aed61-_0x12a625));null==_0x2365cc?(_0x416ef0['addLineStartIfNotCovered'](_0x7f90f9),_0x416ef0['addBreak'](),_0x12a625++):(_0x416ef0['ensureLine'](_0x7f90f9),_0x416ef0['addText'](_0x2365cc,_0x4650d6,_0x12a625==_0x17b84d?_0x5d533f:_0x4650d6['length']),_0x12a625+=_0x2365cc['length']),_0x7f90f9=null;}}});_0x416ef0['addLineStartIfNotCovered'](_0x7f90f9),this['openWidget']=_0x1bc1ce>_0x2dd2a7,this['openMarks']=_0x1bc1ce;}['forward'](_0x300c17,_0x5f455f,_0x187230=0x1){_0x5f455f-_0x300c17<=0xa?this['old']['advance'](_0x5f455f-_0x300c17,_0x187230,this['reuseWalker']):(this['old']['advance'](0x5,-0x1,this['reuseWalker']),this['old']['advance'](_0x5f455f-_0x300c17-0xa,-0x1),this['old']['advance'](0x5,_0x187230,this['reuseWalker']));}getCompositionContext(_0x1f7ab6){let _0x2359ca=[],_0xb94896=null;for(let _0x97dd51=_0x1f7ab6['parentNode'];;_0x97dd51=_0x97dd51['parentNode']){let _0x4de7f6=_0x5912ed['get'](_0x97dd51);if(_0x97dd51==this['view']['contentDOM'])break;_0x4de7f6 instanceof _0x4abb6e?_0x2359ca['push'](_0x4de7f6):(null==_0x4de7f6?void 0x0:_0x4de7f6['isLine']())?_0xb94896=_0x4de7f6:_0x4de7f6 instanceof _0x23e92d||('DIV'!=_0x97dd51['nodeName']||_0xb94896||_0x97dd51==this['view']['contentDOM']?_0xb94896||_0x2359ca['push'](_0x4abb6e['of'](new _0x13f719({'tagName':_0x97dd51['nodeName']['toLowerCase'](),'attributes':_0x2f69fc(_0x97dd51)}),_0x97dd51)):_0xb94896=new _0x2809c9(_0x97dd51,_0x19ff3c));}return{'line':_0xb94896,'marks':_0x2359ca};}};function _0xa67414(_0x46310a,_0x365a5e){let _0xcd1a79=_0x5dd14d=>{for(let _0x3ab260 of _0x5dd14d['children'])if((_0x365a5e?_0x3ab260['isText']():_0x3ab260['length'])||_0xcd1a79(_0x3ab260))return!0x0;return!0x1;};return _0xcd1a79(_0x46310a);}const _0x19ff3c={'class':'cm-line'};function _0x24b208(_0x1f48a7){let _0x7c9120=_0x5912ed['get'](_0x1f48a7);return _0x7c9120&&_0x7c9120['setDOM'](_0x1f48a7['cloneNode']()),_0x1f48a7;}var _0x1a0fc4=class extends _0x4016c2{constructor(_0x3b6fc8){super(),this['tag']=_0x3b6fc8;}['eq'](_0x4070bf){return _0x4070bf['tag']==this['tag'];}toDOM(){return document['createElement'](this['tag']);}updateDOM(_0x1d0221){return _0x1d0221['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}};_0x1a0fc4['inline']=new _0x1a0fc4('span'),_0x1a0fc4['block']=new _0x1a0fc4('div');const _0x402c57=new class extends _0x4016c2{toDOM(){return document['createElement']('br');}get['isHidden'](){return!0x0;}get editable(){return!0x0;}}();var _0x4672e5=class{constructor(_0x2ac296){this['view']=_0x2ac296,this['decorations']=[],this['blockWrappers']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['editContextFormatting']=_0x18eb2e['none'],this['lastCompositionAfterCursor']=!0x1,this['minWidth']=0x0,this['minWidthFrom']=0x0,this['minWidthTo']=0x0,this['impreciseAnchor']=null,this['impreciseHead']=null,this['forceSelection']=!0x1,this['lastUpdate']=Date['now'](),this['updateDeco'](),this['tile']=new _0x3b83b6(_0x2ac296,_0x2ac296['contentDOM']),this['updateInner']([new _0x400e3e(0x0,0x0,0x0,_0x2ac296['state']['doc']['length'])],null);}update(_0x2a4b31){var _0x12494b;let _0x3e3d2=_0x2a4b31['changedRanges'];this['minWidth']>0x0&&_0x3e3d2['length']&&(_0x3e3d2['every'](({fromA:_0x353caa,toA:_0x14e1ce})=>_0x14e1ce<this['minWidthFrom']||_0x353caa>this['minWidthTo'])?(this['minWidthFrom']=_0x2a4b31['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x2a4b31['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x2a4b31);let _0x238d6b=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x12494b=this['domChanged'])||void 0x0===_0x12494b?void 0x0:_0x12494b['newSel'])?_0x238d6b=this['domChanged']['newSel']['head']:function(_0x37fad6,_0x1a5941){let _0x42a94c=!0x1;return _0x1a5941&&_0x37fad6['iterChangedRanges']((_0x394bcd,_0x24c896)=>{_0x394bcd<_0x1a5941['to']&&_0x24c896>_0x1a5941['from']&&(_0x42a94c=!0x0);}),_0x42a94c;}(_0x2a4b31['changes'],this['hasComposition'])||_0x2a4b31['selectionSet']||(_0x238d6b=_0x2a4b31['state']['selection']['main']['head']));let _0x5d90a2=_0x238d6b>-0x1?function(_0x280ca6,_0x36bc32,_0x4086ad){let _0x1776ee=_0x52e4dd(_0x280ca6,_0x4086ad);if(!_0x1776ee)return null;let {node:_0x300fc4,from:_0x3e90ee,to:_0xe8f1cb}=_0x1776ee,_0x31b090=_0x300fc4['nodeValue'];if(/[\n\r]/['test'](_0x31b090))return null;if(_0x280ca6['state']['doc']['sliceString'](_0x1776ee['from'],_0x1776ee['to'])!=_0x31b090)return null;let _0x4d8df7=_0x36bc32['invertedDesc'];return{'range':new _0x400e3e(_0x4d8df7['mapPos'](_0x3e90ee),_0x4d8df7['mapPos'](_0xe8f1cb),_0x3e90ee,_0xe8f1cb),'text':_0x300fc4};}(this['view'],_0x2a4b31['changes'],_0x238d6b):null;if(this['domChanged']=null,this['hasComposition']){let {from:_0x570dba,to:_0x2af629}=this['hasComposition'];_0x3e3d2=new _0x400e3e(_0x570dba,_0x2af629,_0x2a4b31['changes']['mapPos'](_0x570dba,-0x1),_0x2a4b31['changes']['mapPos'](_0x2af629,0x1))['addToSet'](_0x3e3d2['slice']());}this['hasComposition']=_0x5d90a2?{'from':_0x5d90a2['range']['fromB'],'to':_0x5d90a2['range']['toB']}:null,(_0x49766a['ie']||_0x49766a['chrome'])&&!_0x5d90a2&&_0x2a4b31&&_0x2a4b31['state']['doc']['lines']!=_0x2a4b31['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x15dfb2=this['decorations'],_0x54eeaa=this['blockWrappers'];this['updateDeco']();let _0x1cfdaa=function(_0x1d806e,_0x112f00,_0x387e92){let _0x4d728a=new _0x17b60c();return _0x53c81c['compare'](_0x1d806e,_0x112f00,_0x387e92,_0x4d728a),_0x4d728a['changes'];}(_0x15dfb2,this['decorations'],_0x2a4b31['changes']);_0x1cfdaa['length']&&(_0x3e3d2=_0x400e3e['extendWithRanges'](_0x3e3d2,_0x1cfdaa));let _0xafbbfe=function(_0x3e3ba6,_0x49449c,_0x35b936){let _0x75924c=new _0x21600c();return _0x53c81c['compare'](_0x3e3ba6,_0x49449c,_0x35b936,_0x75924c),_0x75924c['changes'];}(_0x54eeaa,this['blockWrappers'],_0x2a4b31['changes']);return _0xafbbfe['length']&&(_0x3e3d2=_0x400e3e['extendWithRanges'](_0x3e3d2,_0xafbbfe)),_0x5d90a2&&!_0x3e3d2['some'](_0x5a1b58=>_0x5a1b58['fromA']<=_0x5d90a2['range']['fromA']&&_0x5a1b58['toA']>=_0x5d90a2['range']['toA'])&&(_0x3e3d2=_0x5d90a2['range']['addToSet'](_0x3e3d2['slice']())),!(0x2&this['tile']['flags']&&0x0==_0x3e3d2['length'])&&(this['updateInner'](_0x3e3d2,_0x5d90a2),_0x2a4b31['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}updateInner(_0x40f67f,_0x170d7f){this['view']['viewState']['mustMeasureContent']=!0x0;let {observer:_0x378882}=this['view'];_0x378882['ignore'](()=>{if(_0x170d7f||_0x40f67f['length']){let _0x3b7070=this['tile'],_0x2158e0=new _0x4493da(this['view'],_0x3b7070,this['blockWrappers'],this['decorations'],this['dynamicDecorationMap']);_0x170d7f&&_0x5912ed['get'](_0x170d7f['text'])&&_0x2158e0['cache']['reused']['set'](_0x5912ed['get'](_0x170d7f['text']),0x2),this['tile']=_0x2158e0['run'](_0x40f67f,_0x170d7f),_0x567361(_0x3b7070,_0x2158e0['cache']['reused']);}this['tile']['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['tile']['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x14e4f0=_0x49766a['chrome']||_0x49766a['ios']?{'node':_0x378882['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['tile']['sync'](_0x14e4f0),!_0x14e4f0||!_0x14e4f0['written']&&_0x378882['selectionRange']['focusNode']==_0x14e4f0['node']&&this['tile']['dom']['contains'](_0x14e4f0['node'])||(this['forceSelection']=!0x0),this['tile']['dom']['style']['height']='';});let _0x1f3580=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0xa594f9 of this['tile']['children'])_0xa594f9['isWidget']()&&_0xa594f9['widget']instanceof _0xf348db&&_0x1f3580['push'](_0xa594f9['dom']);}_0x378882['updateGaps'](_0x1f3580);}updateEditContextFormatting(_0x4a6ade){this['editContextFormatting']=this['editContextFormatting']['map'](_0x4a6ade['changes']);for(let _0x2a636b of _0x4a6ade['transactions'])for(let _0x247daa of _0x2a636b['effects'])_0x247daa['is'](_0x22430e)&&(this['editContextFormatting']=_0x247daa['value']);}updateSelection(_0x2bec35=!0x1,_0xc0c6df=!0x1){!_0x2bec35&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let {dom:_0x4d7b0e}=this['tile'],_0x546e43=this['view']['root']['activeElement'],_0x5f48f6=_0x546e43==_0x4d7b0e,_0x398655=!_0x5f48f6&&!(this['view']['state']['facet'](_0x22e47a)||_0x4d7b0e['tabIndex']>-0x1)&&_0x22abca(_0x4d7b0e,this['view']['observer']['selectionRange'])&&!(_0x546e43&&_0x4d7b0e['contains'](_0x546e43));if(!(_0x5f48f6||_0xc0c6df||_0x398655))return;let _0x3ca6fd=this['forceSelection'];this['forceSelection']=!0x1;let _0x4d0730,_0x42fd76,_0x47dbc6=this['view']['state']['selection']['main'];if(_0x47dbc6['empty']?_0x42fd76=_0x4d0730=this['inlineDOMNearPos'](_0x47dbc6['anchor'],_0x47dbc6['assoc']||0x1):(_0x42fd76=this['inlineDOMNearPos'](_0x47dbc6['head'],_0x47dbc6['head']==_0x47dbc6['from']?0x1:-0x1),_0x4d0730=this['inlineDOMNearPos'](_0x47dbc6['anchor'],_0x47dbc6['anchor']==_0x47dbc6['from']?0x1:-0x1)),_0x49766a['gecko']&&_0x47dbc6['empty']&&!this['hasComposition']&&(0x1==(_0x266df9=_0x4d0730)['node']['nodeType']&&_0x266df9['node']['firstChild']&&(0x0==_0x266df9['offset']||'false'==_0x266df9['node']['childNodes'][_0x266df9['offset']-0x1]['contentEditable'])&&(_0x266df9['offset']==_0x266df9['node']['childNodes']['length']||'false'==_0x266df9['node']['childNodes'][_0x266df9['offset']]['contentEditable']))){let _0x422d7a=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x4d0730['node']['insertBefore'](_0x422d7a,_0x4d0730['node']['childNodes'][_0x4d0730['offset']]||null)),_0x4d0730=_0x42fd76=new _0x5907b1(_0x422d7a,0x0),_0x3ca6fd=!0x0;}var _0x266df9;let _0x3fdc1f=this['view']['observer']['selectionRange'];!_0x3ca6fd&&_0x3fdc1f['focusNode']&&(_0x126a47(_0x4d0730['node'],_0x4d0730['offset'],_0x3fdc1f['anchorNode'],_0x3fdc1f['anchorOffset'])&&_0x126a47(_0x42fd76['node'],_0x42fd76['offset'],_0x3fdc1f['focusNode'],_0x3fdc1f['focusOffset'])||this['suppressWidgetCursorChange'](_0x3fdc1f,_0x47dbc6))||(this['view']['observer']['ignore'](()=>{_0x49766a['android']&&_0x49766a['chrome']&&_0x4d7b0e['contains'](_0x3fdc1f['focusNode'])&&function(_0x52b2c1,_0x248731){for(let _0x2bf273=_0x52b2c1;_0x2bf273&&_0x2bf273!=_0x248731;_0x2bf273=_0x2bf273['assignedSlot']||_0x2bf273['parentNode'])if(0x1==_0x2bf273['nodeType']&&'false'==_0x2bf273['contentEditable'])return!0x0;return!0x1;}(_0x3fdc1f['focusNode'],_0x4d7b0e)&&(_0x4d7b0e['blur'](),_0x4d7b0e['focus']({'preventScroll':!0x0}));let _0x5587f5=_0x38ab4f(this['view']['root']);if(_0x5587f5){if(_0x47dbc6['empty']){if(_0x49766a['gecko']){let _0x3db534=function(_0x499b3d,_0x14a0ca){return 0x1!=_0x499b3d['nodeType']?0x0:(_0x14a0ca&&'false'==_0x499b3d['childNodes'][_0x14a0ca-0x1]['contentEditable']?0x1:0x0)|(_0x14a0ca<_0x499b3d['childNodes']['length']&&'false'==_0x499b3d['childNodes'][_0x14a0ca]['contentEditable']?0x2:0x0);}(_0x4d0730['node'],_0x4d0730['offset']);if(_0x3db534&&0x3!=_0x3db534){let _0x1beb00=(0x1==_0x3db534?_0x262415:_0x539743)(_0x4d0730['node'],_0x4d0730['offset']);_0x1beb00&&(_0x4d0730=new _0x5907b1(_0x1beb00['node'],_0x1beb00['offset']));}}_0x5587f5['collapse'](_0x4d0730['node'],_0x4d0730['offset']),null!=_0x47dbc6['bidiLevel']&&void 0x0!==_0x5587f5['caretBidiLevel']&&(_0x5587f5['caretBidiLevel']=_0x47dbc6['bidiLevel']);}else{if(_0x5587f5['extend']){_0x5587f5['collapse'](_0x4d0730['node'],_0x4d0730['offset']);try{_0x5587f5['extend'](_0x42fd76['node'],_0x42fd76['offset']);}catch(_0x1d7ab2){}}else{let _0x2318c6=document['createRange']();_0x47dbc6['anchor']>_0x47dbc6['head']&&([_0x4d0730,_0x42fd76]=[_0x42fd76,_0x4d0730]),_0x2318c6['setEnd'](_0x42fd76['node'],_0x42fd76['offset']),_0x2318c6['setStart'](_0x4d0730['node'],_0x4d0730['offset']),_0x5587f5['removeAllRanges'](),_0x5587f5['addRange'](_0x2318c6);}}}else;_0x398655&&this['view']['root']['activeElement']==_0x4d7b0e&&(_0x4d7b0e['blur'](),_0x546e43&&_0x546e43['focus']());}),this['view']['observer']['setSelectionRange'](_0x4d0730,_0x42fd76)),this['impreciseAnchor']=_0x4d0730['precise']?null:new _0x5907b1(_0x3fdc1f['anchorNode'],_0x3fdc1f['anchorOffset']),this['impreciseHead']=_0x42fd76['precise']?null:new _0x5907b1(_0x3fdc1f['focusNode'],_0x3fdc1f['focusOffset']);}suppressWidgetCursorChange(_0x32f56a,_0x96094d){return this['hasComposition']&&_0x96094d['empty']&&_0x126a47(_0x32f56a['focusNode'],_0x32f56a['focusOffset'],_0x32f56a['anchorNode'],_0x32f56a['anchorOffset'])&&this['posFromDOM'](_0x32f56a['focusNode'],_0x32f56a['focusOffset'])==_0x96094d['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x4ecea1}=this,_0x337eab=_0x4ecea1['state']['selection']['main'],_0x54e269=_0x38ab4f(_0x4ecea1['root']),{anchorNode:_0x1102c6,anchorOffset:_0x321b9a}=_0x4ecea1['observer']['selectionRange'];if(!(_0x54e269&&_0x337eab['empty']&&_0x337eab['assoc']&&_0x54e269['modify']))return;let _0xa6241e=this['lineAt'](_0x337eab['head'],_0x337eab['assoc']);if(!_0xa6241e)return;let _0x297342=_0xa6241e['posAtStart'];if(_0x337eab['head']==_0x297342||_0x337eab['head']==_0x297342+_0xa6241e['length'])return;let _0x5cc739=this['coordsAt'](_0x337eab['head'],-0x1),_0x179fce=this['coordsAt'](_0x337eab['head'],0x1);if(!_0x5cc739||!_0x179fce||_0x5cc739['bottom']>_0x179fce['top'])return;let _0xccd652=this['domAtPos'](_0x337eab['head']+_0x337eab['assoc'],_0x337eab['assoc']);_0x54e269['collapse'](_0xccd652['node'],_0xccd652['offset']),_0x54e269['modify']('move',_0x337eab['assoc']<0x0?'forward':'backward','lineboundary'),_0x4ecea1['observer']['readSelectionRange']();let _0x5436d7=_0x4ecea1['observer']['selectionRange'];_0x4ecea1['docView']['posFromDOM'](_0x5436d7['anchorNode'],_0x5436d7['anchorOffset'])!=_0x337eab['from']&&_0x54e269['collapse'](_0x1102c6,_0x321b9a);}['posFromDOM'](_0x36c584,_0x10aca0){let _0x2512fb=this['tile']['nearest'](_0x36c584);if(!_0x2512fb)return 0x2&this['tile']['dom']['compareDocumentPosition'](_0x36c584)?0x0:this['view']['state']['doc']['length'];let _0x3b0b34=_0x2512fb['posAtStart'];if(!_0x2512fb['isComposite']())return _0x2512fb['isText']()?_0x36c584==_0x2512fb['dom']?_0x3b0b34+_0x10aca0:_0x3b0b34+(_0x10aca0?_0x2512fb['length']:0x0):_0x3b0b34;{let _0x22e6a9;if(_0x36c584==_0x2512fb['dom'])_0x22e6a9=_0x2512fb['dom']['childNodes'][_0x10aca0];else{let _0x412c7c=0x0==_0x5d2b88(_0x36c584)?0x0:0x0==_0x10aca0?-0x1:0x1;for(;;){let _0x22949c=_0x36c584['parentNode'];if(_0x22949c==_0x2512fb['dom'])break;0x0==_0x412c7c&&_0x22949c['firstChild']!=_0x22949c['lastChild']&&(_0x412c7c=_0x36c584==_0x22949c['firstChild']?-0x1:0x1),_0x36c584=_0x22949c;}_0x22e6a9=_0x412c7c<0x0?_0x36c584:_0x36c584['nextSibling'];}if(_0x22e6a9==_0x2512fb['dom']['firstChild'])return _0x3b0b34;for(;_0x22e6a9&&!_0x5912ed['get'](_0x22e6a9);)_0x22e6a9=_0x22e6a9['nextSibling'];if(!_0x22e6a9)return _0x3b0b34+_0x2512fb['length'];for(let _0x4f4051=0x0,_0x2090f9=_0x3b0b34;;_0x4f4051++){let _0x3fde3c=_0x2512fb['children'][_0x4f4051];if(_0x3fde3c['dom']==_0x22e6a9)return _0x2090f9;_0x2090f9+=_0x3fde3c['length']+_0x3fde3c['breakAfter'];}}}domAtPos(_0x5df5d7,_0x527322){let {tile:_0x344b75,offset:_0x2de638}=this['tile']['resolveBlock'](_0x5df5d7,_0x527322);return _0x344b75['isWidget']()?_0x344b75['domPosFor'](_0x5df5d7,_0x527322):_0x344b75['domIn'](_0x2de638,_0x527322);}['inlineDOMNearPos'](_0x3586c9,_0x5e8222){let _0x48e45d,_0x24b33a,_0x11b68a=-0x1,_0xe9d9dc=!0x1,_0x2b07ad=-0x1,_0x17afd7=!0x1;return this['tile']['blockTiles']((_0x503bbe,_0x21128f)=>{if(_0x503bbe['isWidget']()){if(0x20&_0x503bbe['flags']&&_0x21128f>=_0x3586c9)return!0x0;0x10&_0x503bbe['flags']&&(_0xe9d9dc=!0x0);}else{let _0x32052f=_0x21128f+_0x503bbe['length'];if(_0x21128f<=_0x3586c9&&(_0x48e45d=_0x503bbe,_0x11b68a=_0x3586c9-_0x21128f,_0xe9d9dc=_0x32052f<_0x3586c9),_0x32052f>=_0x3586c9&&!_0x24b33a&&(_0x24b33a=_0x503bbe,_0x2b07ad=_0x3586c9-_0x21128f,_0x17afd7=_0x21128f>_0x3586c9),_0x21128f>_0x3586c9&&_0x24b33a)return!0x0;}}),_0x48e45d||_0x24b33a?(_0xe9d9dc&&_0x24b33a?_0x48e45d=null:_0x17afd7&&_0x48e45d&&(_0x24b33a=null),_0x48e45d&&_0x5e8222<0x0||!_0x24b33a?_0x48e45d['domIn'](_0x11b68a,_0x5e8222):_0x24b33a['domIn'](_0x2b07ad,_0x5e8222)):this['domAtPos'](_0x3586c9,_0x5e8222);}coordsAt(_0x16e24d,_0x54dfca){let {tile:_0x5afa91,offset:_0x385c0d}=this['tile']['resolveBlock'](_0x16e24d,_0x54dfca);return _0x5afa91['isWidget']()?_0x5afa91['widget']instanceof _0xf348db?null:_0x5afa91['coordsInWidget'](_0x385c0d,_0x54dfca,!0x0):_0x5afa91['coordsIn'](_0x385c0d,_0x54dfca);}lineAt(_0x477f4b,_0x2efb88){let {tile:_0x2c2b59}=this['tile']['resolveBlock'](_0x477f4b,_0x2efb88);return _0x2c2b59['isLine']()?_0x2c2b59:null;}['coordsForChar'](_0x4ea6c3){let {tile:_0x50a83c,offset:_0x188c6f}=this['tile']['resolveBlock'](_0x4ea6c3,0x1);if(!_0x50a83c['isLine']())return null;return function _0x1c542a(_0x3bfe0d,_0x462f8f){if(_0x3bfe0d['isComposite']())for(let _0x2b7fe5 of _0x3bfe0d['children']){if(_0x2b7fe5['length']>=_0x462f8f){let _0x2a7176=_0x1c542a(_0x2b7fe5,_0x462f8f);if(_0x2a7176)return _0x2a7176;}if((_0x462f8f-=_0x2b7fe5['length'])<0x0)break;}else{if(_0x3bfe0d['isText']()&&_0x462f8f<_0x3bfe0d['length']){let _0x20b055=_0x53fca1(_0x3bfe0d['text'],_0x462f8f);if(_0x20b055==_0x462f8f)return null;let _0x3d873d=_0x4fe1ed(_0x3bfe0d['dom'],_0x462f8f,_0x20b055)['getClientRects']();for(let _0x496b12=0x0;_0x496b12<_0x3d873d['length'];_0x496b12++){let _0x4b3906=_0x3d873d[_0x496b12];if(_0x496b12==_0x3d873d['length']-0x1||_0x4b3906['top']<_0x4b3906['bottom']&&_0x4b3906['left']<_0x4b3906['right'])return _0x4b3906;}}}return null;}(_0x50a83c,_0x188c6f);}measureVisibleLineHeights(_0x470012){let _0x55759e=[],{from:_0x31a1d8,to:_0x4c78ff}=_0x470012,_0x3bbbdc=this['view']['contentDOM']['clientWidth'],_0x174d65=_0x3bbbdc>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x42a844=-0x1,_0x227964=this['view']['textDirection']==_0xf0cb7b['LTR'],_0x421d8b=0x0,_0x35d0bf=(_0x438c87,_0x3b5110,_0x27549e)=>{for(let _0x4aae4b=0x0;_0x4aae4b<_0x438c87['children']['length']&&!(_0x3b5110>_0x4c78ff);_0x4aae4b++){let _0x47a4e9=_0x438c87['children'][_0x4aae4b],_0x559518=_0x3b5110+_0x47a4e9['length'],_0x48685d=_0x47a4e9['dom']['getBoundingClientRect'](),{height:_0xbc9f7e}=_0x48685d;if(_0x27549e&&!_0x4aae4b&&(_0x421d8b+=_0x48685d['top']-_0x27549e['top']),_0x47a4e9 instanceof _0x23e92d)_0x559518>_0x31a1d8&&_0x35d0bf(_0x47a4e9,_0x3b5110,_0x48685d);else{if(_0x3b5110>=_0x31a1d8&&(_0x421d8b>0x0&&_0x55759e['push'](-_0x421d8b),_0x55759e['push'](_0xbc9f7e+_0x421d8b),_0x421d8b=0x0,_0x174d65)){let _0x5a99bf=_0x47a4e9['dom']['lastChild'],_0x114b6b=_0x5a99bf?_0x131661(_0x5a99bf):[];if(_0x114b6b['length']){let _0x138f52=_0x114b6b[_0x114b6b['length']-0x1],_0x457913=_0x227964?_0x138f52['right']-_0x48685d['left']:_0x48685d['right']-_0x138f52['left'];_0x457913>_0x42a844&&(_0x42a844=_0x457913,this['minWidth']=_0x3bbbdc,this['minWidthFrom']=_0x3b5110,this['minWidthTo']=_0x559518);}}}_0x27549e&&_0x4aae4b==_0x438c87['children']['length']-0x1&&(_0x421d8b+=_0x27549e['bottom']-_0x48685d['bottom']),_0x3b5110=_0x559518+_0x47a4e9['breakAfter'];}};return _0x35d0bf(this['tile'],0x0,null),_0x55759e;}textDirectionAt(_0x1f22fc){let {tile:_0x21d5f4}=this['tile']['resolveBlock'](_0x1f22fc,0x1);return'rtl'==getComputedStyle(_0x21d5f4['dom'])['direction']?_0xf0cb7b['RTL']:_0xf0cb7b['LTR'];}measureTextSize(){let _0x15fb0a=this['tile']['blockTiles'](_0xab944e=>{if(_0xab944e['isLine']()&&_0xab944e['children']['length']&&_0xab944e['length']<=0x14){let _0x3a5d91,_0xa38293=0x0;for(let _0x371166 of _0xab944e['children']){if(!_0x371166['isText']()||/[^ -~]/['test'](_0x371166['text']))return;let _0x2e1794=_0x131661(_0x371166['dom']);if(0x1!=_0x2e1794['length'])return;_0xa38293+=_0x2e1794[0x0]['width'],_0x3a5d91=_0x2e1794[0x0]['height'];}if(_0xa38293)return{'lineHeight':_0xab944e['dom']['getBoundingClientRect']()['height'],'charWidth':_0xa38293/_0xab944e['length'],'textHeight':_0x3a5d91};}});if(_0x15fb0a)return _0x15fb0a;let _0x51a4a1,_0x5be747,_0x45af99,_0x42f476=document['createElement']('div');return _0x42f476['className']='cm-line',_0x42f476['style']['width']='99999px',_0x42f476['style']['position']='absolute',_0x42f476['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['tile']['dom']['appendChild'](_0x42f476);let _0x866aaf=_0x131661(_0x42f476['firstChild'])[0x0];_0x51a4a1=_0x42f476['getBoundingClientRect']()['height'],_0x5be747=_0x866aaf&&_0x866aaf['width']?_0x866aaf['width']/0x1b:0x7,_0x45af99=_0x866aaf&&_0x866aaf['height']?_0x866aaf['height']:_0x51a4a1,_0x42f476['remove']();}),{'lineHeight':_0x51a4a1,'charWidth':_0x5be747,'textHeight':_0x45af99};}computeBlockGapDeco(){let _0x16b03f=[],_0xbdcd58=this['view']['viewState'];for(let _0x41a9dd=0x0,_0x291870=0x0;;_0x291870++){let _0x4876ba=_0x291870==_0xbdcd58['viewports']['length']?null:_0xbdcd58['viewports'][_0x291870],_0x595ebb=_0x4876ba?_0x4876ba['from']-0x1:this['view']['state']['doc']['length'];if(_0x595ebb>_0x41a9dd){let _0x238749=(_0xbdcd58['lineBlockAt'](_0x595ebb)['bottom']-_0xbdcd58['lineBlockAt'](_0x41a9dd)['top'])/this['view']['scaleY'];_0x16b03f['push'](_0x18eb2e['replace']({'widget':new _0xf348db(_0x238749),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x41a9dd,_0x595ebb));}if(!_0x4876ba)break;_0x41a9dd=_0x4876ba['to']+0x1;}return _0x18eb2e['set'](_0x16b03f);}updateDeco(){let _0x53ada7=0x1,_0xf1b2a8=this['view']['state']['facet'](_0x255d5c)['map'](_0x3b4d0d=>(this['dynamicDecorationMap'][_0x53ada7++]='function'==typeof _0x3b4d0d)?_0x3b4d0d(this['view']):_0x3b4d0d),_0xd3ed8c=!0x1,_0x15fe74=this['view']['state']['facet'](tN)['map']((_0x487341,_0x2d3857)=>{let _0x2ee83c='function'==typeof _0x487341;return _0x2ee83c&&(_0xd3ed8c=!0x0),_0x2ee83c?_0x487341(this['view']):_0x487341;});for(_0x15fe74['length']&&(this['dynamicDecorationMap'][_0x53ada7++]=_0xd3ed8c,_0xf1b2a8['push'](_0x53c81c['join'](_0x15fe74))),this['decorations']=[this['editContextFormatting'],..._0xf1b2a8,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x53ada7<this['decorations']['length'];)this['dynamicDecorationMap'][_0x53ada7++]=!0x1;this['blockWrappers']=this['view']['state']['facet'](_0x4c77cf)['map'](_0x20a16a=>'function'==typeof _0x20a16a?_0x20a16a(this['view']):_0x20a16a);}scrollIntoView(_0x351d1b){var _0x29b183;if(_0x351d1b['isSnapshot']){let _0xc4bd0c=this['view']['viewState']['lineBlockAt'](_0x351d1b['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0xc4bd0c['top']-_0x351d1b['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x351d1b['xMargin']);}for(let _0x110001 of this['view']['state']['facet'](_0x2e972b))try{if(_0x110001(this['view'],_0x351d1b['range'],_0x351d1b))return!0x0;}catch(_0x1cae39){_0x55c259(this['view']['state'],_0x1cae39,'scroll\x20handler');}let _0x40994c,{range:_0x13cb05}=_0x351d1b,_0x1de7fe=this['coordsAt'](_0x13cb05['head'],null!==(_0x29b183=_0x13cb05['assoc'])&&void 0x0!==_0x29b183?_0x29b183:_0x13cb05['empty']?0x0:_0x13cb05['head']>_0x13cb05['anchor']?-0x1:0x1);if(!_0x1de7fe)return;!_0x13cb05['empty']&&(_0x40994c=this['coordsAt'](_0x13cb05['anchor'],_0x13cb05['anchor']>_0x13cb05['head']?-0x1:0x1))&&(_0x1de7fe={'left':Math['min'](_0x1de7fe['left'],_0x40994c['left']),'top':Math['min'](_0x1de7fe['top'],_0x40994c['top']),'right':Math['max'](_0x1de7fe['right'],_0x40994c['right']),'bottom':Math['max'](_0x1de7fe['bottom'],_0x40994c['bottom'])});let _0x152ecb=_0x3ec41a(this['view']),_0x4fc761={'left':_0x1de7fe['left']-_0x152ecb['left'],'top':_0x1de7fe['top']-_0x152ecb['top'],'right':_0x1de7fe['right']+_0x152ecb['right'],'bottom':_0x1de7fe['bottom']+_0x152ecb['bottom']},{offsetWidth:_0x213659,offsetHeight:_0x32dbe9}=this['view']['scrollDOM'];if(function(_0x3b9dc4,_0x3c4b0a,_0x5800c4,_0x36bc1e,_0x1602ea,_0x3d4860,_0xc213e6,_0xa338f5){let _0x3c3a0f=_0x3b9dc4['ownerDocument'],_0x159728=_0x3c3a0f['defaultView']||window;for(let _0x31f7e3=_0x3b9dc4,_0x4409e9=!0x1;_0x31f7e3&&!_0x4409e9;)if(0x1==_0x31f7e3['nodeType']){let _0x40cc5d,_0x4ed192=_0x31f7e3==_0x3c3a0f['body'],_0x32fc3d=0x1,_0x4982c0=0x1;if(_0x4ed192)_0x40cc5d=_0xc2bbe6(_0x159728);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x31f7e3)['position'])&&(_0x4409e9=!0x0),_0x31f7e3['scrollHeight']<=_0x31f7e3['clientHeight']&&_0x31f7e3['scrollWidth']<=_0x31f7e3['clientWidth']){_0x31f7e3=_0x31f7e3['assignedSlot']||_0x31f7e3['parentNode'];continue;}let _0x29066a=_0x31f7e3['getBoundingClientRect']();({scaleX:_0x32fc3d,scaleY:_0x4982c0}=_0x41897d(_0x31f7e3,_0x29066a),_0x40cc5d={'left':_0x29066a['left'],'right':_0x29066a['left']+_0x31f7e3['clientWidth']*_0x32fc3d,'top':_0x29066a['top'],'bottom':_0x29066a['top']+_0x31f7e3['clientHeight']*_0x4982c0});}let _0x4c16d1=0x0,_0x527d78=0x0;if('nearest'==_0x1602ea)_0x3c4b0a['top']<_0x40cc5d['top']+_0xc213e6?(_0x527d78=_0x3c4b0a['top']-(_0x40cc5d['top']+_0xc213e6),_0x5800c4>0x0&&_0x3c4b0a['bottom']>_0x40cc5d['bottom']+_0x527d78&&(_0x527d78=_0x3c4b0a['bottom']-_0x40cc5d['bottom']+_0xc213e6)):_0x3c4b0a['bottom']>_0x40cc5d['bottom']-_0xc213e6&&(_0x527d78=_0x3c4b0a['bottom']-_0x40cc5d['bottom']+_0xc213e6,_0x5800c4<0x0&&_0x3c4b0a['top']-_0x527d78<_0x40cc5d['top']&&(_0x527d78=_0x3c4b0a['top']-(_0x40cc5d['top']+_0xc213e6)));else{let _0x108a62=_0x3c4b0a['bottom']-_0x3c4b0a['top'],_0x3df03c=_0x40cc5d['bottom']-_0x40cc5d['top'];_0x527d78=('center'==_0x1602ea&&_0x108a62<=_0x3df03c?_0x3c4b0a['top']+_0x108a62/0x2-_0x3df03c/0x2:'start'==_0x1602ea||'center'==_0x1602ea&&_0x5800c4<0x0?_0x3c4b0a['top']-_0xc213e6:_0x3c4b0a['bottom']-_0x3df03c+_0xc213e6)-_0x40cc5d['top'];}if('nearest'==_0x36bc1e?_0x3c4b0a['left']<_0x40cc5d['left']+_0x3d4860?(_0x4c16d1=_0x3c4b0a['left']-(_0x40cc5d['left']+_0x3d4860),_0x5800c4>0x0&&_0x3c4b0a['right']>_0x40cc5d['right']+_0x4c16d1&&(_0x4c16d1=_0x3c4b0a['right']-_0x40cc5d['right']+_0x3d4860)):_0x3c4b0a['right']>_0x40cc5d['right']-_0x3d4860&&(_0x4c16d1=_0x3c4b0a['right']-_0x40cc5d['right']+_0x3d4860,_0x5800c4<0x0&&_0x3c4b0a['left']<_0x40cc5d['left']+_0x4c16d1&&(_0x4c16d1=_0x3c4b0a['left']-(_0x40cc5d['left']+_0x3d4860))):_0x4c16d1=('center'==_0x36bc1e?_0x3c4b0a['left']+(_0x3c4b0a['right']-_0x3c4b0a['left'])/0x2-(_0x40cc5d['right']-_0x40cc5d['left'])/0x2:'start'==_0x36bc1e==_0xa338f5?_0x3c4b0a['left']-_0x3d4860:_0x3c4b0a['right']-(_0x40cc5d['right']-_0x40cc5d['left'])+_0x3d4860)-_0x40cc5d['left'],_0x4c16d1||_0x527d78){if(_0x4ed192)_0x159728['scrollBy'](_0x4c16d1,_0x527d78);else{let _0x43affe=0x0,_0x147201=0x0;if(_0x527d78){let _0x1a93eb=_0x31f7e3['scrollTop'];_0x31f7e3['scrollTop']+=_0x527d78/_0x4982c0,_0x147201=(_0x31f7e3['scrollTop']-_0x1a93eb)*_0x4982c0;}if(_0x4c16d1){let _0x885224=_0x31f7e3['scrollLeft'];_0x31f7e3['scrollLeft']+=_0x4c16d1/_0x32fc3d,_0x43affe=(_0x31f7e3['scrollLeft']-_0x885224)*_0x32fc3d;}_0x3c4b0a={'left':_0x3c4b0a['left']-_0x43affe,'top':_0x3c4b0a['top']-_0x147201,'right':_0x3c4b0a['right']-_0x43affe,'bottom':_0x3c4b0a['bottom']-_0x147201},_0x43affe&&Math['abs'](_0x43affe-_0x4c16d1)<0x1&&(_0x36bc1e='nearest'),_0x147201&&Math['abs'](_0x147201-_0x527d78)<0x1&&(_0x1602ea='nearest');}}if(_0x4ed192)break;(_0x3c4b0a['top']<_0x40cc5d['top']||_0x3c4b0a['bottom']>_0x40cc5d['bottom']||_0x3c4b0a['left']<_0x40cc5d['left']||_0x3c4b0a['right']>_0x40cc5d['right'])&&(_0x3c4b0a={'left':Math['max'](_0x3c4b0a['left'],_0x40cc5d['left']),'right':Math['min'](_0x3c4b0a['right'],_0x40cc5d['right']),'top':Math['max'](_0x3c4b0a['top'],_0x40cc5d['top']),'bottom':Math['min'](_0x3c4b0a['bottom'],_0x40cc5d['bottom'])}),_0x31f7e3=_0x31f7e3['assignedSlot']||_0x31f7e3['parentNode'];}else{if(0xb!=_0x31f7e3['nodeType'])break;_0x31f7e3=_0x31f7e3['host'];}}(this['view']['scrollDOM'],_0x4fc761,_0x13cb05['head']<_0x13cb05['anchor']?-0x1:0x1,_0x351d1b['x'],_0x351d1b['y'],Math['max'](Math['min'](_0x351d1b['xMargin'],_0x213659),-_0x213659),Math['max'](Math['min'](_0x351d1b['yMargin'],_0x32dbe9),-_0x32dbe9),this['view']['textDirection']==_0xf0cb7b['LTR']),window['visualViewport']&&window['innerHeight']-window['visualViewport']['height']>0x1&&(_0x1de7fe['top']>window['pageYOffset']+window['visualViewport']['offsetTop']+window['visualViewport']['height']||_0x1de7fe['bottom']<window['pageYOffset']+window['visualViewport']['offsetTop'])){let _0x1ebdd5=this['view']['docView']['lineAt'](_0x13cb05['head'],0x1);_0x1ebdd5&&_0x1ebdd5['dom']['scrollIntoView']({'block':'nearest'});}}lineHasWidget(_0x2ea153){let _0x111ecb=_0x140dd1=>_0x140dd1['isWidget']()||_0x140dd1['children']['some'](_0x111ecb);return _0x111ecb(this['tile']['resolveBlock'](_0x2ea153,0x1)['tile']);}destroy(){_0x567361(this['tile']);}};function _0x567361(_0x193675,_0x55b461){let _0x5aa8ad=null==_0x55b461?void 0x0:_0x55b461['get'](_0x193675);if(0x1!=_0x5aa8ad){null==_0x5aa8ad&&_0x193675['destroy']();for(let _0x25bc74 of _0x193675['children'])_0x567361(_0x25bc74,_0x55b461);}}function _0x52e4dd(_0x316ea5,_0x133778){let _0x19da01=_0x316ea5['observer']['selectionRange'];if(!_0x19da01['focusNode'])return null;let _0x298796=_0x262415(_0x19da01['focusNode'],_0x19da01['focusOffset']),_0x175fc2=_0x539743(_0x19da01['focusNode'],_0x19da01['focusOffset']),_0x30e4cc=_0x298796||_0x175fc2;if(_0x175fc2&&_0x298796&&_0x175fc2['node']!=_0x298796['node']){let _0x406e6a=_0x5912ed['get'](_0x175fc2['node']);if(!_0x406e6a||_0x406e6a['isText']()&&_0x406e6a['text']!=_0x175fc2['node']['nodeValue'])_0x30e4cc=_0x175fc2;else{if(_0x316ea5['docView']['lastCompositionAfterCursor']){let _0x139523=_0x5912ed['get'](_0x298796['node']);!_0x139523||_0x139523['isText']()&&_0x139523['text']!=_0x298796['node']['nodeValue']||(_0x30e4cc=_0x175fc2);}}}if(_0x316ea5['docView']['lastCompositionAfterCursor']=_0x30e4cc!=_0x298796,!_0x30e4cc)return null;let _0x5d67c5=_0x133778-_0x30e4cc['offset'];return{'from':_0x5d67c5,'to':_0x5d67c5+_0x30e4cc['node']['nodeValue']['length'],'node':_0x30e4cc['node']};}let _0x17b60c=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x542c0a,_0x582f09){_0x438f52(_0x542c0a,_0x582f09,this['changes']);}comparePoint(_0x568663,_0x31cfc8){_0x438f52(_0x568663,_0x31cfc8,this['changes']);}['boundChange'](_0x172885){_0x438f52(_0x172885,_0x172885,this['changes']);}};var _0x21600c=class{constructor(){this['changes']=[];}['compareRange'](_0x12e1dd,_0x284573){_0x438f52(_0x12e1dd,_0x284573,this['changes']);}comparePoint(){}['boundChange'](_0x424dbf){_0x438f52(_0x424dbf,_0x424dbf,this['changes']);}},_0xf348db=class extends _0x4016c2{constructor(_0x2ba0a6){super(),this['height']=_0x2ba0a6;}toDOM(){let _0x29b643=document['createElement']('div');return _0x29b643['className']='cm-gap',this['updateDOM'](_0x29b643),_0x29b643;}['eq'](_0x4967b4){return _0x4967b4['height']==this['height'];}updateDOM(_0x209962){return _0x209962['style']['height']=this['height']+'px',!0x0;}get editable(){return!0x0;}get estimatedHeight(){return this['height'];}ignoreEvent(){return!0x1;}};function _0x447ea7(_0x450714,_0x37bc24,_0xc7994d){let _0x475b8a=_0x450714['lineBlockAt'](_0x37bc24);if(Array['isArray'](_0x475b8a['type'])){let _0x42698b;for(let _0x2a4bec of _0x475b8a['type']){if(_0x2a4bec['from']>_0x37bc24)break;if(!(_0x2a4bec['to']<_0x37bc24)){if(_0x2a4bec['from']<_0x37bc24&&_0x2a4bec['to']>_0x37bc24)return _0x2a4bec;_0x42698b&&(_0x2a4bec['type']!=_0xc9238a['Text']||_0x42698b['type']==_0x2a4bec['type']&&!(_0xc7994d<0x0?_0x2a4bec['from']<_0x37bc24:_0x2a4bec['to']>_0x37bc24))||(_0x42698b=_0x2a4bec);}}return _0x42698b||_0x475b8a;}return _0x475b8a;}function _0x3cd2cb(_0xd10253,_0x173689,_0x55342c,_0x29d230){let _0x2e1f69=_0xd10253['state']['doc']['lineAt'](_0x173689['head']),_0x2b151b=_0xd10253['bidiSpans'](_0x2e1f69),_0x36decd=_0xd10253['textDirectionAt'](_0x2e1f69['from']);for(let _0x28ae65=_0x173689,_0x1e2c32=null;;){let _0x5d2eda=_0x1dd574(_0x2e1f69,_0x2b151b,_0x36decd,_0x28ae65,_0x55342c),_0x20baeb=_0x37f8cf;if(!_0x5d2eda){if(_0x2e1f69['number']==(_0x55342c?_0xd10253['state']['doc']['lines']:0x1))return _0x28ae65;_0x20baeb='\x0a',_0x2e1f69=_0xd10253['state']['doc']['line'](_0x2e1f69['number']+(_0x55342c?0x1:-0x1)),_0x2b151b=_0xd10253['bidiSpans'](_0x2e1f69),_0x5d2eda=_0xd10253['visualLineSide'](_0x2e1f69,!_0x55342c);}if(_0x1e2c32){if(!_0x1e2c32(_0x20baeb))return _0x28ae65;}else{if(!_0x29d230)return _0x5d2eda;_0x1e2c32=_0x29d230(_0x20baeb);}_0x28ae65=_0x5d2eda;}}function _0x2b7432(_0x480ef0,_0x49c709,_0x3d0edb){for(;;){let _0x203567=0x0;for(let _0x5b5da0 of _0x480ef0)_0x5b5da0['between'](_0x49c709-0x1,_0x49c709+0x1,(_0x2a2fae,_0x5ac974,_0x1d71dc)=>{if(_0x49c709>_0x2a2fae&&_0x49c709<_0x5ac974){let _0x3fc874=_0x203567||_0x3d0edb||(_0x49c709-_0x2a2fae<_0x5ac974-_0x49c709?-0x1:0x1);_0x49c709=_0x3fc874<0x0?_0x2a2fae:_0x5ac974,_0x203567=_0x3fc874;}});if(!_0x203567)return _0x49c709;}}function _0x2e91c5(_0x578331,_0x1341a4){let _0x193a55=null;for(let _0x46cc22=0x0;_0x46cc22<_0x1341a4['ranges']['length'];_0x46cc22++){let _0x547ff3=_0x1341a4['ranges'][_0x46cc22],_0x4e82be=null;if(_0x547ff3['empty']){let _0x2ae36d=_0x2b7432(_0x578331,_0x547ff3['from'],0x0);_0x2ae36d!=_0x547ff3['from']&&(_0x4e82be=_0x3bda1f['cursor'](_0x2ae36d,-0x1));}else{let _0x1fd63a=_0x2b7432(_0x578331,_0x547ff3['from'],-0x1),_0x3ec328=_0x2b7432(_0x578331,_0x547ff3['to'],0x1);_0x1fd63a==_0x547ff3['from']&&_0x3ec328==_0x547ff3['to']||(_0x4e82be=_0x3bda1f['range'](_0x547ff3['from']==_0x547ff3['anchor']?_0x1fd63a:_0x3ec328,_0x547ff3['from']==_0x547ff3['head']?_0x1fd63a:_0x3ec328));}_0x4e82be&&(_0x193a55||(_0x193a55=_0x1341a4['ranges']['slice']()),_0x193a55[_0x46cc22]=_0x4e82be);}return _0x193a55?_0x3bda1f['create'](_0x193a55,_0x1341a4['mainIndex']):_0x1341a4;}function _0x38ba70(_0xe5a0f8,_0x1bbc8a,_0x325912){let _0x4757d4=_0x2b7432(_0xe5a0f8['state']['facet'](_0x4c95f1)['map'](_0x35f02f=>_0x35f02f(_0xe5a0f8)),_0x325912['from'],_0x1bbc8a['head']>_0x325912['from']?-0x1:0x1);return _0x4757d4==_0x325912['from']?_0x325912:_0x3bda1f['cursor'](_0x4757d4,_0x4757d4<_0x325912['from']?0x1:-0x1);}var _0x12a5d9=class{constructor(_0x157972,_0x12e3bf){this['pos']=_0x157972,this['assoc']=_0x12e3bf;}};function _0x2ccd2(_0x5e0080,_0xfca6ab,_0x55a4cb,_0x400067){let _0x507f8f,_0x3edeb7=_0x5e0080['contentDOM']['getBoundingClientRect'](),_0xb48cc1=_0x3edeb7['top']+_0x5e0080['viewState']['paddingTop'],{x:_0x3a82e3,y:_0x6114d1}=_0xfca6ab,_0x335b45=_0x6114d1-_0xb48cc1;for(;;){if(_0x335b45<0x0)return new _0x12a5d9(0x0,0x1);if(_0x335b45>_0x5e0080['viewState']['docHeight'])return new _0x12a5d9(_0x5e0080['state']['doc']['length'],-0x1);if(_0x507f8f=_0x5e0080['elementAtHeight'](_0x335b45),null==_0x400067)break;if(_0x507f8f['type']==_0xc9238a['Text']){if(_0x400067<0x0?_0x507f8f['to']<_0x5e0080['viewport']['from']:_0x507f8f['from']>_0x5e0080['viewport']['to'])break;let _0x3b8dab=_0x5e0080['docView']['coordsAt'](_0x400067<0x0?_0x507f8f['from']:_0x507f8f['to'],_0x400067>0x0?-0x1:0x1);if(_0x3b8dab&&(_0x400067<0x0?_0x3b8dab['top']<=_0x335b45+_0xb48cc1:_0x3b8dab['bottom']>=_0x335b45+_0xb48cc1))break;}let _0x37729e=_0x5e0080['viewState']['heightOracle']['textHeight']/0x2;_0x335b45=_0x400067>0x0?_0x507f8f['bottom']+_0x37729e:_0x507f8f['top']-_0x37729e;}if(_0x5e0080['viewport']['from']>=_0x507f8f['to']||_0x5e0080['viewport']['to']<=_0x507f8f['from']){if(_0x55a4cb)return null;if(_0x507f8f['type']==_0xc9238a['Text']){let _0x574e81=function(_0x3a8758,_0x3af1d4,_0x31e885,_0x430e4b,_0x4adeaf){let _0x58371d=Math['round']((_0x430e4b-_0x3af1d4['left'])*_0x3a8758['defaultCharacterWidth']);if(_0x3a8758['lineWrapping']&&_0x31e885['height']>1.5*_0x3a8758['defaultLineHeight']){let _0x2eb30c=_0x3a8758['viewState']['heightOracle']['textHeight'];_0x58371d+=Math['floor']((_0x4adeaf-_0x31e885['top']-0.5*(_0x3a8758['defaultLineHeight']-_0x2eb30c))/_0x2eb30c)*_0x3a8758['viewState']['heightOracle']['lineLength'];}let _0x121ffa=_0x3a8758['state']['sliceDoc'](_0x31e885['from'],_0x31e885['to']);return _0x31e885['from']+_0x2c104c(_0x121ffa,_0x58371d,_0x3a8758['state']['tabSize']);}(_0x5e0080,_0x3edeb7,_0x507f8f,_0x3a82e3,_0x6114d1);return new _0x12a5d9(_0x574e81,_0x574e81==_0x507f8f['from']?0x1:-0x1);}}if(_0x507f8f['type']!=_0xc9238a['Text'])return _0x335b45<(_0x507f8f['top']+_0x507f8f['bottom'])/0x2?new _0x12a5d9(_0x507f8f['from'],0x1):new _0x12a5d9(_0x507f8f['to'],-0x1);let _0x4964f0=_0x5e0080['docView']['lineAt'](_0x507f8f['from'],0x2);return _0x4964f0&&_0x4964f0['length']==_0x507f8f['length']||(_0x4964f0=_0x5e0080['docView']['lineAt'](_0x507f8f['from'],-0x2)),new _0x19dd97(_0x5e0080,_0x3a82e3,_0x6114d1,_0x5e0080['textDirectionAt'](_0x507f8f['from']))['scanTile'](_0x4964f0,_0x507f8f['from']);}var _0x19dd97=class{constructor(_0x30fbdb,_0x298d61,_0x4e6cd7,_0x42ca55){this['view']=_0x30fbdb,this['x']=_0x298d61,this['y']=_0x4e6cd7,this['baseDir']=_0x42ca55,this['line']=null,this['spans']=null;}bidiSpansAt(_0x5770f5){return(!this['line']||this['line']['from']>_0x5770f5||this['line']['to']<_0x5770f5)&&(this['line']=this['view']['state']['doc']['lineAt'](_0x5770f5),this['spans']=this['view']['bidiSpans'](this['line'])),this;}baseDirAt(_0x41ecc9,_0x1223e0){let {line:_0x5c0c2f,spans:_0x204cd3}=this['bidiSpansAt'](_0x41ecc9);return _0x204cd3[_0x3550bb['find'](_0x204cd3,_0x41ecc9-_0x5c0c2f['from'],-0x1,_0x1223e0)]['level']==this['baseDir'];}dirAt(_0x2de25b,_0x26f58e){let {line:_0x2ead27,spans:_0x25099c}=this['bidiSpansAt'](_0x2de25b);return _0x25099c[_0x3550bb['find'](_0x25099c,_0x2de25b-_0x2ead27['from'],-0x1,_0x26f58e)]['dir'];}['bidiIn'](_0x3de393,_0xa726d7){let {spans:_0x144534,line:_0x380f8e}=this['bidiSpansAt'](_0x3de393);return _0x144534['length']>0x1||_0x144534['length']&&(_0x144534[0x0]['level']!=this['baseDir']||_0x144534[0x0]['to']+_0x380f8e['from']<_0xa726d7);}['scan'](_0x86b5b3,_0x1dd0aa,_0x3adb6c=!0x1){let _0x5e6727,_0x20d7c8,_0xfbda80,_0x577fce=0x0,_0x26940e=_0x86b5b3['length']-0x1,_0x23fa72=new Set(),_0x59a76d=this['bidiIn'](_0x86b5b3[0x0],_0x86b5b3[_0x26940e]),_0x36e5ee=-0x1,_0x36e985=0x3b9aca00;t:for(;_0x577fce<_0x26940e;){let _0x5cca63=_0x26940e-_0x577fce,_0x4fd3a2=_0x577fce+_0x26940e>>0x1;_0x46486d:if(_0x23fa72['has'](_0x4fd3a2)){let _0x4cfaac=_0x577fce+Math['floor'](Math['random']()*_0x5cca63);for(let _0x1c1fa5=0x0;_0x1c1fa5<_0x5cca63;_0x1c1fa5++){if(!_0x23fa72['has'](_0x4cfaac)){_0x4fd3a2=_0x4cfaac;break _0x46486d;}_0x4cfaac++,_0x4cfaac==_0x26940e&&(_0x4cfaac=_0x577fce);}break t;}_0x23fa72['add'](_0x4fd3a2);let _0x772a8c=_0x1dd0aa(_0x4fd3a2);if(_0x772a8c)for(let _0x19445b=0x0;_0x19445b<_0x772a8c['length'];_0x19445b++){let _0x20fd27=_0x772a8c[_0x19445b],_0x1aec32=0x0;if(!(0x0==_0x20fd27['width']&&_0x772a8c['length']>0x1)){if(_0x20fd27['bottom']<this['y'])(!_0x5e6727||_0x5e6727['bottom']<_0x20fd27['bottom'])&&(_0x5e6727=_0x20fd27),_0x1aec32=0x1;else{if(_0x20fd27['top']>this['y'])(!_0x20d7c8||_0x20d7c8['top']>_0x20fd27['top'])&&(_0x20d7c8=_0x20fd27),_0x1aec32=-0x1;else{let _0xeaa3e7=_0x20fd27['left']>this['x']?this['x']-_0x20fd27['left']:_0x20fd27['right']<this['x']?this['x']-_0x20fd27['right']:0x0,_0x424593=Math['abs'](_0xeaa3e7);_0x424593<_0x36e985&&(_0x36e5ee=_0x4fd3a2,_0x36e985=_0x424593,_0xfbda80=_0x20fd27),_0xeaa3e7&&(_0x1aec32=_0xeaa3e7<0x0==(this['baseDir']==_0xf0cb7b['LTR'])?-0x1:0x1);}}-0x1!=_0x1aec32||_0x59a76d&&!this['baseDirAt'](_0x86b5b3[_0x4fd3a2],0x1)?0x1!=_0x1aec32||_0x59a76d&&!this['baseDirAt'](_0x86b5b3[_0x4fd3a2+0x1],-0x1)||(_0x577fce=_0x4fd3a2+0x1):_0x26940e=_0x4fd3a2;}}}if(!_0xfbda80){if(!_0x20d7c8&&!_0x5e6727)return{'i':_0x86b5b3[0x0],'after':!0x1};let _0x249f7a=_0x5e6727&&(!_0x20d7c8||this['y']-_0x5e6727['bottom']<_0x20d7c8['top']-this['y'])?_0x5e6727:_0x20d7c8;return this['y']=(_0x249f7a['top']+_0x249f7a['bottom'])/0x2,this['scan'](_0x86b5b3,_0x1dd0aa,!0x0);}if(_0x36e985&&!_0x3adb6c){let {top:_0x4092e7,bottom:_0x405d38}=_0xfbda80;if(_0x5e6727&&_0x5e6727['bottom']>(_0x4092e7+_0x4092e7+_0x405d38)/0x3)return this['y']=_0x5e6727['bottom']-0x1,this['scan'](_0x86b5b3,_0x1dd0aa,!0x0);if(_0x20d7c8&&_0x20d7c8['top']<(_0x4092e7+_0x405d38+_0x405d38)/0x3)return this['y']=_0x20d7c8['top']+0x1,this['scan'](_0x86b5b3,_0x1dd0aa,!0x0);}let _0x5e8210=(_0x59a76d?this['dirAt'](_0x86b5b3[_0x36e5ee],0x1):this['baseDir'])==_0xf0cb7b['LTR'];return{'i':_0x36e5ee,'after':this['x']>(_0xfbda80['left']+_0xfbda80['right'])/0x2==_0x5e8210};}scanText(_0x161d41,_0x5d0d6f){let _0x2f064f=[];for(let _0x36136c=0x0;_0x36136c<_0x161d41['length'];_0x36136c=_0x53fca1(_0x161d41['text'],_0x36136c))_0x2f064f['push'](_0x5d0d6f+_0x36136c);_0x2f064f['push'](_0x5d0d6f+_0x161d41['length']);let _0x38b180=this['scan'](_0x2f064f,_0x1b5d68=>{let _0x32883d=_0x2f064f[_0x1b5d68]-_0x5d0d6f,_0x1efc60=_0x2f064f[_0x1b5d68+0x1]-_0x5d0d6f;return _0x4fe1ed(_0x161d41['dom'],_0x32883d,_0x1efc60)['getClientRects']();});return _0x38b180['after']?new _0x12a5d9(_0x2f064f[_0x38b180['i']+0x1],-0x1):new _0x12a5d9(_0x2f064f[_0x38b180['i']],0x1);}['scanTile'](_0x1dd89a,_0x5f295e){if(!_0x1dd89a['length'])return new _0x12a5d9(_0x5f295e,0x1);if(0x1==_0x1dd89a['children']['length']){let _0x4c3e35=_0x1dd89a['children'][0x0];if(_0x4c3e35['isText']())return this['scanText'](_0x4c3e35,_0x5f295e);if(_0x4c3e35['isComposite']())return this['scanTile'](_0x4c3e35,_0x5f295e);}let _0x2adfb0=[_0x5f295e];for(let _0x302861=0x0,_0xedc6f8=_0x5f295e;_0x302861<_0x1dd89a['children']['length'];_0x302861++)_0x2adfb0['push'](_0xedc6f8+=_0x1dd89a['children'][_0x302861]['length']);let _0x52a0fe=this['scan'](_0x2adfb0,_0x83fd8e=>{let _0x2bdef5=_0x1dd89a['children'][_0x83fd8e];return 0x30&_0x2bdef5['flags']?null:(0x1==_0x2bdef5['dom']['nodeType']?_0x2bdef5['dom']:_0x4fe1ed(_0x2bdef5['dom'],0x0,_0x2bdef5['length']))['getClientRects']();}),_0x3fbdd8=_0x1dd89a['children'][_0x52a0fe['i']],_0x1b6305=_0x2adfb0[_0x52a0fe['i']];return _0x3fbdd8['isText']()?this['scanText'](_0x3fbdd8,_0x1b6305):_0x3fbdd8['isComposite']()?this['scanTile'](_0x3fbdd8,_0x1b6305):_0x52a0fe['after']?new _0x12a5d9(_0x2adfb0[_0x52a0fe['i']+0x1],-0x1):new _0x12a5d9(_0x1b6305,0x1);}};const _0x3792d5='';var _0x5d272f=class{constructor(_0x58f787,_0x1abe30){this['points']=_0x58f787,this['view']=_0x1abe30,this['text']='',this['lineSeparator']=_0x1abe30['state']['facet'](_0x1d56fe['lineSeparator']);}['append'](_0x574cc1){this['text']+=_0x574cc1;}['lineBreak'](){this['text']+=_0x3792d5;}['readRange'](_0x53bdd9,_0x12a47d){if(!_0x53bdd9)return this;let _0x2afcfa=_0x53bdd9['parentNode'];for(let _0x3f7704=_0x53bdd9;;){this['findPointBefore'](_0x2afcfa,_0x3f7704);let _0x56a399=this['text']['length'];this['readNode'](_0x3f7704);let _0x1d7683=_0x5912ed['get'](_0x3f7704),_0x3a6c34=_0x3f7704['nextSibling'];if(_0x3a6c34==_0x12a47d){(null==_0x1d7683?void 0x0:_0x1d7683['breakAfter'])&&!_0x3a6c34&&_0x2afcfa!=this['view']['contentDOM']&&this['lineBreak']();break;}let _0x49ae6d=_0x5912ed['get'](_0x3a6c34);(_0x1d7683&&_0x49ae6d?_0x1d7683['breakAfter']:(_0x1d7683?_0x1d7683['breakAfter']:_0xe23e92(_0x3f7704))||_0xe23e92(_0x3a6c34)&&('BR'!=_0x3f7704['nodeName']||(null==_0x1d7683?void 0x0:_0x1d7683['isWidget']()))&&this['text']['length']>_0x56a399)&&!_0x33b87a(_0x3a6c34,_0x12a47d)&&this['lineBreak'](),_0x3f7704=_0x3a6c34;}return this['findPointBefore'](_0x2afcfa,_0x12a47d),this;}readTextNode(_0x37feb7){let _0xdae36d=_0x37feb7['nodeValue'];for(let _0x487ae2 of this['points'])_0x487ae2['node']==_0x37feb7&&(_0x487ae2['pos']=this['text']['length']+Math['min'](_0x487ae2['offset'],_0xdae36d['length']));for(let _0x3eb32e=0x0,_0x2cb390=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x572d10,_0xe03c0f=-0x1,_0x11a1ca=0x1;if(this['lineSeparator']?(_0xe03c0f=_0xdae36d['indexOf'](this['lineSeparator'],_0x3eb32e),_0x11a1ca=this['lineSeparator']['length']):(_0x572d10=_0x2cb390['exec'](_0xdae36d))&&(_0xe03c0f=_0x572d10['index'],_0x11a1ca=_0x572d10[0x0]['length']),this['append'](_0xdae36d['slice'](_0x3eb32e,_0xe03c0f<0x0?_0xdae36d['length']:_0xe03c0f)),_0xe03c0f<0x0)break;if(this['lineBreak'](),_0x11a1ca>0x1){for(let _0x3c0265 of this['points'])_0x3c0265['node']==_0x37feb7&&_0x3c0265['pos']>this['text']['length']&&(_0x3c0265['pos']-=_0x11a1ca-0x1);}_0x3eb32e=_0xe03c0f+_0x11a1ca;}}['readNode'](_0x3fbb97){let _0x4a952b=_0x5912ed['get'](_0x3fbb97),_0x50d7e3=_0x4a952b&&_0x4a952b['overrideDOMText'];if(null!=_0x50d7e3){this['findPointInside'](_0x3fbb97,_0x50d7e3['length']);for(let _0x51e788=_0x50d7e3['iter']();!_0x51e788['next']()['done'];)_0x51e788['lineBreak']?this['lineBreak']():this['append'](_0x51e788['value']);}else 0x3==_0x3fbb97['nodeType']?this['readTextNode'](_0x3fbb97):'BR'==_0x3fbb97['nodeName']?_0x3fbb97['nextSibling']&&this['lineBreak']():0x1==_0x3fbb97['nodeType']&&this['readRange'](_0x3fbb97['firstChild'],null);}findPointBefore(_0x11fd6f,_0x3242ad){for(let _0x45542f of this['points'])_0x45542f['node']==_0x11fd6f&&_0x11fd6f['childNodes'][_0x45542f['offset']]==_0x3242ad&&(_0x45542f['pos']=this['text']['length']);}findPointInside(_0x250c26,_0x38ff85){for(let _0x381ca4 of this['points'])(0x3==_0x250c26['nodeType']?_0x381ca4['node']==_0x250c26:_0x250c26['contains'](_0x381ca4['node']))&&(_0x381ca4['pos']=this['text']['length']+(_0x392c22(_0x250c26,_0x381ca4['node'],_0x381ca4['offset'])?_0x38ff85:0x0));}};function _0x392c22(_0x596176,_0x3d1147,_0x3898f1){for(;;){if(!_0x3d1147||_0x3898f1<_0x5d2b88(_0x3d1147))return!0x1;if(_0x3d1147==_0x596176)return!0x0;_0x3898f1=_0x30059c(_0x3d1147)+0x1,_0x3d1147=_0x3d1147['parentNode'];}}function _0x33b87a(_0x4d1d96,_0xf6750e){let _0x445aa1;for(;_0x4d1d96!=_0xf6750e&&_0x4d1d96;_0x4d1d96=_0x4d1d96['nextSibling']){let _0x28cc84=_0x5912ed['get'](_0x4d1d96);if(!(null==_0x28cc84?void 0x0:_0x28cc84['isWidget']()))return!0x1;_0x28cc84&&(_0x445aa1||(_0x445aa1=[]))['push'](_0x28cc84);}if(_0x445aa1)for(let _0x5c622a of _0x445aa1){let _0x4be67a=_0x5c622a['overrideDOMText'];if(null==_0x4be67a?void 0x0:_0x4be67a['length'])return!0x1;}return!0x0;}var _0x24755b=class{constructor(_0x3b42f8,_0x507b6b){this['node']=_0x3b42f8,this['offset']=_0x507b6b,this['pos']=-0x1;}},_0x2f4006=class{constructor(_0x221489,_0x1b89c2,_0x477389,_0x53a2ce){this['typeOver']=_0x53a2ce,this['bounds']=null,this['text']='',this['domChanged']=_0x1b89c2>-0x1;let {impreciseHead:_0x20835b,impreciseAnchor:_0x55d7ad}=_0x221489['docView'],_0x4072c7=_0x221489['state']['selection'];if(_0x221489['state']['readOnly']&&_0x1b89c2>-0x1)this['newSel']=null;else{if(_0x1b89c2>-0x1&&(this['bounds']=_0x58621b(_0x221489['docView']['tile'],_0x1b89c2,_0x477389,0x0))){let _0xc2c47f=_0x20835b||_0x55d7ad?[]:function(_0x2f3053){let _0x52fd7b=[];if(_0x2f3053['root']['activeElement']!=_0x2f3053['contentDOM'])return _0x52fd7b;let {anchorNode:_0x448097,anchorOffset:_0x500bed,focusNode:_0x28ad77,focusOffset:_0x20864c}=_0x2f3053['observer']['selectionRange'];return _0x448097&&(_0x52fd7b['push'](new _0x24755b(_0x448097,_0x500bed)),_0x28ad77==_0x448097&&_0x20864c==_0x500bed||_0x52fd7b['push'](new _0x24755b(_0x28ad77,_0x20864c))),_0x52fd7b;}(_0x221489),_0x439eb9=new _0x5d272f(_0xc2c47f,_0x221489);_0x439eb9['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x439eb9['text'],this['newSel']=function(_0x5792c0,_0xc1d2be){if(0x0==_0x5792c0['length'])return null;let _0x1eb317=_0x5792c0[0x0]['pos'],_0x4bb2e3=0x2==_0x5792c0['length']?_0x5792c0[0x1]['pos']:_0x1eb317;return _0x1eb317>-0x1&&_0x4bb2e3>-0x1?_0x3bda1f['single'](_0x1eb317+_0xc1d2be,_0x4bb2e3+_0xc1d2be):null;}(_0xc2c47f,this['bounds']['from']);}else{let _0x316829=_0x221489['observer']['selectionRange'],_0x19fb9c=_0x20835b&&_0x20835b['node']==_0x316829['focusNode']&&_0x20835b['offset']==_0x316829['focusOffset']||!_0x429fc6(_0x221489['contentDOM'],_0x316829['focusNode'])?_0x4072c7['main']['head']:_0x221489['docView']['posFromDOM'](_0x316829['focusNode'],_0x316829['focusOffset']),_0x5395a3=_0x55d7ad&&_0x55d7ad['node']==_0x316829['anchorNode']&&_0x55d7ad['offset']==_0x316829['anchorOffset']||!_0x429fc6(_0x221489['contentDOM'],_0x316829['anchorNode'])?_0x4072c7['main']['anchor']:_0x221489['docView']['posFromDOM'](_0x316829['anchorNode'],_0x316829['anchorOffset']),_0x3d5e37=_0x221489['viewport'];if((_0x49766a['ios']||_0x49766a['chrome'])&&_0x4072c7['main']['empty']&&_0x19fb9c!=_0x5395a3&&(_0x3d5e37['from']>0x0||_0x3d5e37['to']<_0x221489['state']['doc']['length'])){let _0x48c17c=Math['min'](_0x19fb9c,_0x5395a3),_0x3407cb=Math['max'](_0x19fb9c,_0x5395a3),_0x3ca174=_0x3d5e37['from']-_0x48c17c,_0xd66f03=_0x3d5e37['to']-_0x3407cb;0x0!=_0x3ca174&&0x1!=_0x3ca174&&0x0!=_0x48c17c||0x0!=_0xd66f03&&-0x1!=_0xd66f03&&_0x3407cb!=_0x221489['state']['doc']['length']||(_0x19fb9c=0x0,_0x5395a3=_0x221489['state']['doc']['length']);}if(_0x221489['inputState']['composing']>-0x1&&_0x4072c7['ranges']['length']>0x1)this['newSel']=_0x4072c7['replaceRange'](_0x3bda1f['range'](_0x5395a3,_0x19fb9c));else{if(_0x221489['lineWrapping']&&_0x5395a3==_0x19fb9c&&(!_0x4072c7['main']['empty']||_0x4072c7['main']['head']!=_0x19fb9c)&&_0x221489['inputState']['lastTouchTime']>Date['now']()-0x64){let _0x54fb23=_0x221489['coordsAtPos'](_0x19fb9c,-0x1),_0x1db43d=0x0;_0x54fb23&&(_0x1db43d=_0x221489['inputState']['lastTouchY']<=_0x54fb23['bottom']?-0x1:0x1),this['newSel']=_0x3bda1f['create']([_0x3bda1f['cursor'](_0x19fb9c,_0x1db43d)]);}else this['newSel']=_0x3bda1f['single'](_0x5395a3,_0x19fb9c);}}}}};function _0x58621b(_0x2062c2,_0x2a96fa,_0x577f5a,_0x20f64d){if(_0x2062c2['isComposite']()){let _0x10e0b5=-0x1,_0x511623=-0x1,_0x5bf43c=-0x1,_0x4797a2=-0x1;for(let _0xf28f7f=0x0,_0x59c626=_0x20f64d,_0x51b707=_0x20f64d;_0xf28f7f<_0x2062c2['children']['length'];_0xf28f7f++){let _0x425a01=_0x2062c2['children'][_0xf28f7f],_0x1c62e5=_0x59c626+_0x425a01['length'];if(_0x59c626<_0x2a96fa&&_0x1c62e5>_0x577f5a)return _0x58621b(_0x425a01,_0x2a96fa,_0x577f5a,_0x59c626);if(_0x1c62e5>=_0x2a96fa&&-0x1==_0x10e0b5&&(_0x10e0b5=_0xf28f7f,_0x511623=_0x59c626),_0x59c626>_0x577f5a&&_0x425a01['dom']['parentNode']==_0x2062c2['dom']){_0x5bf43c=_0xf28f7f,_0x4797a2=_0x51b707;break;}_0x51b707=_0x1c62e5,_0x59c626=_0x1c62e5+_0x425a01['breakAfter'];}return{'from':_0x511623,'to':_0x4797a2<0x0?_0x20f64d+_0x2062c2['length']:_0x4797a2,'startDOM':(_0x10e0b5?_0x2062c2['children'][_0x10e0b5-0x1]['dom']['nextSibling']:null)||_0x2062c2['dom']['firstChild'],'endDOM':_0x5bf43c<_0x2062c2['children']['length']&&_0x5bf43c>=0x0?_0x2062c2['children'][_0x5bf43c]['dom']:null};}return _0x2062c2['isText']()?{'from':_0x20f64d,'to':_0x20f64d+_0x2062c2['length'],'startDOM':_0x2062c2['dom'],'endDOM':_0x2062c2['dom']['nextSibling']}:null;}function tM(_0x2948e4,_0x4f6a15){let _0x14ee49,{newSel:_0x2c1160}=_0x4f6a15,{state:_0x5537b1}=_0x2948e4,_0x153a97=_0x5537b1['selection']['main'],_0x4c44a2=_0x2948e4['inputState']['lastKeyTime']>Date['now']()-0x64?_0x2948e4['inputState']['lastKeyCode']:-0x1;if(_0x4f6a15['bounds']){let {from:_0x48e811,to:_0x2b2f60}=_0x4f6a15['bounds'],_0x2d6af1=_0x153a97['from'],_0x513b9c=null;(0x8===_0x4c44a2||_0x49766a['android']&&_0x4f6a15['text']['length']<_0x2b2f60-_0x48e811)&&(_0x2d6af1=_0x153a97['to'],_0x513b9c='end');let _0x555260,_0x3dd1cd,_0x19498f=_0x5537b1['doc']['sliceString'](_0x48e811,_0x2b2f60,_0x3792d5);!_0x153a97['empty']&&_0x153a97['from']>=_0x48e811&&_0x153a97['to']<=_0x2b2f60&&(_0x4f6a15['typeOver']||_0x19498f!=_0x4f6a15['text'])&&_0x19498f['slice'](0x0,_0x153a97['from']-_0x48e811)==_0x4f6a15['text']['slice'](0x0,_0x153a97['from']-_0x48e811)&&_0x19498f['slice'](_0x153a97['to']-_0x48e811)==_0x4f6a15['text']['slice'](_0x555260=_0x4f6a15['text']['length']-(_0x19498f['length']-(_0x153a97['to']-_0x48e811)))?_0x14ee49={'from':_0x153a97['from'],'to':_0x153a97['to'],'insert':_0x4293ea['of'](_0x4f6a15['text']['slice'](_0x153a97['from']-_0x48e811,_0x555260)['split'](_0x3792d5))}:(_0x3dd1cd=_0x213325(_0x19498f,_0x4f6a15['text'],_0x2d6af1-_0x48e811,_0x513b9c))&&(_0x49766a['chrome']&&0xd==_0x4c44a2&&_0x3dd1cd['toB']==_0x3dd1cd['from']+0x2&&''==_0x4f6a15['text']['slice'](_0x3dd1cd['from'],_0x3dd1cd['toB'])&&_0x3dd1cd['toB']--,_0x14ee49={'from':_0x48e811+_0x3dd1cd['from'],'to':_0x48e811+_0x3dd1cd['toA'],'insert':_0x4293ea['of'](_0x4f6a15['text']['slice'](_0x3dd1cd['from'],_0x3dd1cd['toB'])['split'](_0x3792d5))});}else _0x2c1160&&(!_0x2948e4['hasFocus']&&_0x5537b1['facet'](_0x22e47a)||_0x336218(_0x2c1160,_0x153a97))&&(_0x2c1160=null);if(!_0x14ee49&&!_0x2c1160)return!0x1;if((_0x49766a['mac']||_0x49766a['android'])&&_0x14ee49&&_0x14ee49['from']==_0x14ee49['to']&&_0x14ee49['from']==_0x153a97['head']-0x1&&/^\. ?$/['test'](_0x14ee49['insert']['toString']())&&'off'==_0x2948e4['contentDOM']['getAttribute']('autocorrect')?(_0x2c1160&&0x2==_0x14ee49['insert']['length']&&(_0x2c1160=_0x3bda1f['single'](_0x2c1160['main']['anchor']-0x1,_0x2c1160['main']['head']-0x1)),_0x14ee49={'from':_0x14ee49['from'],'to':_0x14ee49['to'],'insert':_0x4293ea['of']([_0x14ee49['insert']['toString']()['replace']('.','\x20')])}):_0x5537b1['doc']['lineAt'](_0x153a97['from'])['to']<_0x153a97['to']&&_0x2948e4['docView']['lineHasWidget'](_0x153a97['to'])&&_0x2948e4['inputState']['insertingTextAt']>Date['now']()-0x32?_0x14ee49={'from':_0x153a97['from'],'to':_0x153a97['to'],'insert':_0x5537b1['toText'](_0x2948e4['inputState']['insertingText'])}:_0x49766a['chrome']&&_0x14ee49&&_0x14ee49['from']==_0x14ee49['to']&&_0x14ee49['from']==_0x153a97['head']&&'\x0a\x20'==_0x14ee49['insert']['toString']()&&_0x2948e4['lineWrapping']&&(_0x2c1160&&(_0x2c1160=_0x3bda1f['single'](_0x2c1160['main']['anchor']-0x1,_0x2c1160['main']['head']-0x1)),_0x14ee49={'from':_0x153a97['from'],'to':_0x153a97['to'],'insert':_0x4293ea['of'](['\x20'])}),_0x14ee49)return _0x450ded(_0x2948e4,_0x14ee49,_0x2c1160,_0x4c44a2);if(_0x2c1160&&!_0x336218(_0x2c1160,_0x153a97)){let _0x35a3d2=!0x1,_0x577fe0='select';return _0x2948e4['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x2948e4['inputState']['lastSelectionOrigin']&&(_0x35a3d2=!0x0),_0x577fe0=_0x2948e4['inputState']['lastSelectionOrigin'],'select.pointer'==_0x577fe0&&(_0x2c1160=_0x2e91c5(_0x5537b1['facet'](_0x4c95f1)['map'](_0x5047fa=>_0x5047fa(_0x2948e4)),_0x2c1160))),_0x2948e4['dispatch']({'selection':_0x2c1160,'scrollIntoView':_0x35a3d2,'userEvent':_0x577fe0}),!0x0;}return!0x1;}function _0x450ded(_0x2de31a,_0x241edb,_0x4d9ad5,_0x360238=-0x1){if(_0x49766a['ios']&&_0x2de31a['inputState']['flushIOSKey'](_0x241edb))return!0x0;let _0x2b048a=_0x2de31a['state']['selection']['main'];if(_0x49766a['android']&&(_0x241edb['to']==_0x2b048a['to']&&(_0x241edb['from']==_0x2b048a['from']||_0x241edb['from']==_0x2b048a['from']-0x1&&'\x20'==_0x2de31a['state']['sliceDoc'](_0x241edb['from'],_0x2b048a['from']))&&0x1==_0x241edb['insert']['length']&&0x2==_0x241edb['insert']['lines']&&_0x18ef8a(_0x2de31a['contentDOM'],'Enter',0xd)||(_0x241edb['from']==_0x2b048a['from']-0x1&&_0x241edb['to']==_0x2b048a['to']&&0x0==_0x241edb['insert']['length']||0x8==_0x360238&&_0x241edb['insert']['length']<_0x241edb['to']-_0x241edb['from']&&_0x241edb['to']>_0x2b048a['head'])&&_0x18ef8a(_0x2de31a['contentDOM'],'Backspace',0x8)||_0x241edb['from']==_0x2b048a['from']&&_0x241edb['to']==_0x2b048a['to']+0x1&&0x0==_0x241edb['insert']['length']&&_0x18ef8a(_0x2de31a['contentDOM'],'Delete',0x2e)))return!0x0;let _0x211157,_0x418a6e=_0x241edb['insert']['toString']();_0x2de31a['inputState']['composing']>=0x0&&_0x2de31a['inputState']['composing']++;let _0x30eb60=()=>_0x211157||(_0x211157=function(_0x515c76,_0x1c53ba,_0x21a97c){let _0x1ad62d,_0x551e7f=_0x515c76['state'],_0x4746c1=_0x551e7f['selection']['main'],_0x4cbf09=-0x1;if(_0x1c53ba['from']==_0x1c53ba['to']&&_0x1c53ba['from']<_0x4746c1['from']||_0x1c53ba['from']>_0x4746c1['to']){let _0x16c3fd=_0x1c53ba['from']<_0x4746c1['from']?-0x1:0x1,_0x5d7cf7=_0x16c3fd<0x0?_0x4746c1['from']:_0x4746c1['to'],_0x10cb36=_0x2b7432(_0x551e7f['facet'](_0x4c95f1)['map'](_0x12b3ba=>_0x12b3ba(_0x515c76)),_0x5d7cf7,_0x16c3fd);_0x1c53ba['from']==_0x10cb36&&(_0x4cbf09=_0x10cb36);}if(_0x4cbf09>-0x1)_0x1ad62d={'changes':_0x1c53ba,'selection':_0x3bda1f['cursor'](_0x1c53ba['from']+_0x1c53ba['insert']['length'],-0x1)};else{if(_0x1c53ba['from']>=_0x4746c1['from']&&_0x1c53ba['to']<=_0x4746c1['to']&&_0x1c53ba['to']-_0x1c53ba['from']>=(_0x4746c1['to']-_0x4746c1['from'])/0x3&&(!_0x21a97c||_0x21a97c['main']['empty']&&_0x21a97c['main']['from']==_0x1c53ba['from']+_0x1c53ba['insert']['length'])&&_0x515c76['inputState']['composing']<0x0){let _0x425ee9=_0x4746c1['from']<_0x1c53ba['from']?_0x551e7f['sliceDoc'](_0x4746c1['from'],_0x1c53ba['from']):'',_0x57f027=_0x4746c1['to']>_0x1c53ba['to']?_0x551e7f['sliceDoc'](_0x1c53ba['to'],_0x4746c1['to']):'';_0x1ad62d=_0x551e7f['replaceSelection'](_0x515c76['state']['toText'](_0x425ee9+_0x1c53ba['insert']['sliceString'](0x0,void 0x0,_0x515c76['state']['lineBreak'])+_0x57f027));}else{let _0x444644=_0x551e7f['changes'](_0x1c53ba),_0x26c3b1=_0x21a97c&&_0x21a97c['main']['to']<=_0x444644['newLength']?_0x21a97c['main']:void 0x0;if(_0x551e7f['selection']['ranges']['length']>0x1&&(_0x515c76['inputState']['composing']>=0x0||_0x515c76['inputState']['compositionPendingChange'])&&_0x1c53ba['to']<=_0x4746c1['to']+0xa&&_0x1c53ba['to']>=_0x4746c1['to']-0xa){let _0x4b379e,_0x58b2a2=_0x515c76['state']['sliceDoc'](_0x1c53ba['from'],_0x1c53ba['to']),_0x1f21ba=_0x21a97c&&_0x52e4dd(_0x515c76,_0x21a97c['main']['head']);if(_0x1f21ba){let _0x3a3fb9=_0x1c53ba['insert']['length']-(_0x1c53ba['to']-_0x1c53ba['from']);_0x4b379e={'from':_0x1f21ba['from'],'to':_0x1f21ba['to']-_0x3a3fb9};}else _0x4b379e=_0x515c76['state']['doc']['lineAt'](_0x4746c1['head']);let _0x68115d=_0x4746c1['to']-_0x1c53ba['to'];_0x1ad62d=_0x551e7f['changeByRange'](_0x4520c7=>{if(_0x4520c7['from']==_0x4746c1['from']&&_0x4520c7['to']==_0x4746c1['to'])return{'changes':_0x444644,'range':_0x26c3b1||_0x4520c7['map'](_0x444644)};let _0x4079e4=_0x4520c7['to']-_0x68115d,_0x1fa15e=_0x4079e4-_0x58b2a2['length'];if(_0x515c76['state']['sliceDoc'](_0x1fa15e,_0x4079e4)!=_0x58b2a2||_0x4079e4>=_0x4b379e['from']&&_0x1fa15e<=_0x4b379e['to'])return{'range':_0x4520c7};let _0x4b89f4=_0x551e7f['changes']({'from':_0x1fa15e,'to':_0x4079e4,'insert':_0x1c53ba['insert']}),_0x3d488a=_0x4520c7['to']-_0x4746c1['to'];return{'changes':_0x4b89f4,'range':_0x26c3b1?_0x3bda1f['range'](Math['max'](0x0,_0x26c3b1['anchor']+_0x3d488a),Math['max'](0x0,_0x26c3b1['head']+_0x3d488a)):_0x4520c7['map'](_0x4b89f4)};});}else _0x1ad62d={'changes':_0x444644,'selection':_0x26c3b1&&_0x551e7f['selection']['replaceRange'](_0x26c3b1)};}}let _0x511980='input.type';return(_0x515c76['composing']||_0x515c76['inputState']['compositionPendingChange']&&_0x515c76['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x515c76['inputState']['compositionPendingChange']=!0x1,_0x511980+='.compose',_0x515c76['inputState']['compositionFirstChange']&&(_0x511980+='.start',_0x515c76['inputState']['compositionFirstChange']=!0x1)),_0x551e7f['update'](_0x1ad62d,{'userEvent':_0x511980,'scrollIntoView':!0x0});}(_0x2de31a,_0x241edb,_0x4d9ad5));return _0x2de31a['state']['facet'](_0x3c2524)['some'](_0x2e4dd5=>_0x2e4dd5(_0x2de31a,_0x241edb['from'],_0x241edb['to'],_0x418a6e,_0x30eb60))||_0x2de31a['dispatch'](_0x30eb60()),!0x0;}function _0x213325(_0x114ddd,_0x23dd82,_0x1cf7e5,_0x26d783){let _0x13a6ef=Math['min'](_0x114ddd['length'],_0x23dd82['length']),_0x4b70f6=0x0;for(;_0x4b70f6<_0x13a6ef&&_0x114ddd['charCodeAt'](_0x4b70f6)==_0x23dd82['charCodeAt'](_0x4b70f6);)_0x4b70f6++;if(_0x4b70f6==_0x13a6ef&&_0x114ddd['length']==_0x23dd82['length'])return null;let _0x52d35a=_0x114ddd['length'],_0x19bf69=_0x23dd82['length'];for(;_0x52d35a>0x0&&_0x19bf69>0x0&&_0x114ddd['charCodeAt'](_0x52d35a-0x1)==_0x23dd82['charCodeAt'](_0x19bf69-0x1);)_0x52d35a--,_0x19bf69--;'end'==_0x26d783&&(_0x1cf7e5-=_0x52d35a+Math['max'](0x0,_0x4b70f6-Math['min'](_0x52d35a,_0x19bf69))-_0x4b70f6);if(_0x52d35a<_0x4b70f6&&_0x114ddd['length']<_0x23dd82['length'])_0x4b70f6-=_0x1cf7e5<=_0x4b70f6&&_0x1cf7e5>=_0x52d35a?_0x4b70f6-_0x1cf7e5:0x0,_0x19bf69=_0x4b70f6+(_0x19bf69-_0x52d35a),_0x52d35a=_0x4b70f6;else _0x19bf69<_0x4b70f6&&(_0x4b70f6-=_0x1cf7e5<=_0x4b70f6&&_0x1cf7e5>=_0x19bf69?_0x4b70f6-_0x1cf7e5:0x0,_0x52d35a=_0x4b70f6+(_0x52d35a-_0x19bf69),_0x19bf69=_0x4b70f6);return{'from':_0x4b70f6,'toA':_0x52d35a,'toB':_0x19bf69};}function _0x336218(_0xa761e7,_0x4337b6){return _0x4337b6['head']==_0xa761e7['main']['head']&&_0x4337b6['anchor']==_0xa761e7['main']['anchor'];}var _0x16d2de=class{setSelectionOrigin(_0x3171ae){this['lastSelectionOrigin']=_0x3171ae,this['lastSelectionTime']=Date['now']();}constructor(_0x396271){this['view']=_0x396271,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastTouchX']=0x0,this['lastTouchY']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=0x0,this['lastWheelEvent']=0x0,this['pendingIOSKey']=void 0x0,this['tabFocusMode']=-0x1,this['lastSelectionOrigin']=null,this['lastSelectionTime']=0x0,this['lastContextMenu']=0x0,this['scrollHandlers']=[],this['handlers']=Object['create'](null),this['composing']=-0x1,this['compositionFirstChange']=null,this['compositionEndedAt']=0x0,this['compositionPendingKey']=!0x1,this['compositionPendingChange']=!0x1,this['insertingText']='',this['insertingTextAt']=0x0,this['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x396271['hasFocus'],_0x49766a['safari']&&_0x396271['contentDOM']['addEventListener']('input',()=>null),_0x49766a['gecko']&&function(_0x4fc669){_0x5156ac['has'](_0x4fc669)||(_0x5156ac['add'](_0x4fc669),_0x4fc669['addEventListener']('copy',()=>{}),_0x4fc669['addEventListener']('cut',()=>{}));}(_0x396271['contentDOM']['ownerDocument']);}handleEvent(_0x4ea2c7){(function(_0x3f0e82,_0x1560b5){if(!_0x1560b5['bubbles'])return!0x0;if(_0x1560b5['defaultPrevented'])return!0x1;for(let _0x2066bd,_0x5a5d7f=_0x1560b5['target'];_0x5a5d7f!=_0x3f0e82['contentDOM'];_0x5a5d7f=_0x5a5d7f['parentNode'])if(!_0x5a5d7f||0xb==_0x5a5d7f['nodeType']||(_0x2066bd=_0x5912ed['get'](_0x5a5d7f))&&_0x2066bd['isWidget']()&&!_0x2066bd['isHidden']&&_0x2066bd['widget']['ignoreEvent'](_0x1560b5))return!0x1;return!0x0;}(this['view'],_0x4ea2c7)&&!this['ignoreDuringComposition'](_0x4ea2c7)&&('keydown'==_0x4ea2c7['type']&&this['keydown'](_0x4ea2c7)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x4ea2c7['type'],_0x4ea2c7)):this['runHandlers'](_0x4ea2c7['type'],_0x4ea2c7))));}['runHandlers'](_0x271840,_0x348d1a){let _0x311cc0=this['handlers'][_0x271840];if(_0x311cc0){for(let _0x11d0ab of _0x311cc0['observers'])_0x11d0ab(this['view'],_0x348d1a);for(let _0x436efe of _0x311cc0['handlers']){if(_0x348d1a['defaultPrevented'])break;if(_0x436efe(this['view'],_0x348d1a)){_0x348d1a['preventDefault']();break;}}}}['ensureHandlers'](_0xdfec2b){let _0x37e612=_0x4545b7(_0xdfec2b),_0x1d1487=this['handlers'],_0xe0976b=this['view']['contentDOM'];for(let _0x4d1f82 in _0x37e612)if('scroll'!=_0x4d1f82){let _0x5aecaf=!_0x37e612[_0x4d1f82]['handlers']['length'],_0x2a7086=_0x1d1487[_0x4d1f82];_0x2a7086&&_0x5aecaf!=!_0x2a7086['handlers']['length']&&(_0xe0976b['removeEventListener'](_0x4d1f82,this['handleEvent']),_0x2a7086=null),_0x2a7086||_0xe0976b['addEventListener'](_0x4d1f82,this['handleEvent'],{'passive':_0x5aecaf});}for(let _0x2c0068 in _0x1d1487)'scroll'==_0x2c0068||_0x37e612[_0x2c0068]||_0xe0976b['removeEventListener'](_0x2c0068,this['handleEvent']);this['handlers']=_0x37e612;}['keydown'](_0x439214){if(this['lastKeyCode']=_0x439214['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x439214['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x439214['keyCode']&&_0x1819ad['indexOf'](_0x439214['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x49766a['android']&&_0x49766a['chrome']&&!_0x439214['synthetic']&&(0xd==_0x439214['keyCode']||0x8==_0x439214['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x439214['key'],_0x439214['keyCode']),!0x0;let _0xab42af;return!_0x49766a['ios']||_0x439214['synthetic']||_0x439214['altKey']||_0x439214['metaKey']||_0x439214['shiftKey']||!((_0xab42af=_0x1e92ca['find'](_0x3b0415=>_0x3b0415['keyCode']==_0x439214['keyCode']))&&!_0x439214['ctrlKey']||_0x1e0078['indexOf'](_0x439214['key'])>-0x1&&_0x439214['ctrlKey'])?(0xe5!=_0x439214['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0xab42af||_0x439214,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x2c66f8){let _0x1ecb84=this['pendingIOSKey'];return!!_0x1ecb84&&(!('Enter'==_0x1ecb84['key']&&_0x2c66f8&&_0x2c66f8['from']<_0x2c66f8['to']&&/^\S+$/['test'](_0x2c66f8['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,_0x18ef8a(this['view']['contentDOM'],_0x1ecb84['key'],_0x1ecb84['keyCode'],_0x1ecb84 instanceof KeyboardEvent?_0x1ecb84:void 0x0)));}ignoreDuringComposition(_0x3326c2){return!(!/^key/['test'](_0x3326c2['type'])||_0x3326c2['synthetic'])&&(this['composing']>0x0||!!(_0x49766a['safari']&&!_0x49766a['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}startMouseSelection(_0x2427f4){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x2427f4;}update(_0x4ec35d){this['view']['observer']['update'](_0x4ec35d),this['mouseSelection']&&this['mouseSelection']['update'](_0x4ec35d),this['draggedContent']&&_0x4ec35d['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x4ec35d['changes'])),_0x4ec35d['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}destroy(){this['mouseSelection']&&this['mouseSelection']['destroy']();}};function _0x1241cc(_0x559444,_0x1fa21b){return(_0x3e272d,_0xd1dfd4)=>{try{return _0x1fa21b['call'](_0x559444,_0xd1dfd4,_0x3e272d);}catch(_0x5cda63){_0x55c259(_0x3e272d['state'],_0x5cda63);}};}function _0x4545b7(_0x2119c6){let _0x4dcca6=Object['create'](null);function _0x1d6c4f(_0x15c38f){return _0x4dcca6[_0x15c38f]||(_0x4dcca6[_0x15c38f]={'observers':[],'handlers':[]});}for(let _0x465f08 of _0x2119c6){let _0x11cf17=_0x465f08['spec'],_0x4af301=_0x11cf17&&_0x11cf17['plugin']['domEventHandlers'],_0x3546aa=_0x11cf17&&_0x11cf17['plugin']['domEventObservers'];if(_0x4af301)for(let _0x420a6b in _0x4af301){let _0x178990=_0x4af301[_0x420a6b];_0x178990&&_0x1d6c4f(_0x420a6b)['handlers']['push'](_0x1241cc(_0x465f08['value'],_0x178990));}if(_0x3546aa)for(let _0xe20844 in _0x3546aa){let _0x504830=_0x3546aa[_0xe20844];_0x504830&&_0x1d6c4f(_0xe20844)['observers']['push'](_0x1241cc(_0x465f08['value'],_0x504830));}}for(let _0x1659c5 in _0x1c74e3)_0x1d6c4f(_0x1659c5)['handlers']['push'](_0x1c74e3[_0x1659c5]);for(let _0x37892a in _0x1cd9bc)_0x1d6c4f(_0x37892a)['observers']['push'](_0x1cd9bc[_0x37892a]);return _0x4dcca6;}const _0x1e92ca=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x1e0078='dthko',_0x1819ad=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function _0xaac631(_0x334541){return 0.7*Math['max'](0x0,_0x334541)+0x8;}var _0x3f227f=class{constructor(_0x3d52f3,_0xf7c4f3,_0x18bf7c,_0x4c8797){this['view']=_0x3d52f3,this['startEvent']=_0xf7c4f3,this['style']=_0x18bf7c,this['mustSelect']=_0x4c8797,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0xf7c4f3,this['scrollParents']=_0x4f64b9(_0x3d52f3['contentDOM']),this['atoms']=_0x3d52f3['state']['facet'](_0x4c95f1)['map'](_0x526001=>_0x526001(_0x3d52f3));let _0x401226=_0x3d52f3['contentDOM']['ownerDocument'];_0x401226['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x401226['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0xf7c4f3['shiftKey'],this['multiple']=_0x3d52f3['state']['facet'](_0x1d56fe['allowMultipleSelections'])&&function(_0x33308f,_0x1b07cb){let _0x48c90a=_0x33308f['state']['facet'](_0x4f8013);return _0x48c90a['length']?_0x48c90a[0x0](_0x1b07cb):_0x49766a['mac']?_0x1b07cb['metaKey']:_0x1b07cb['ctrlKey'];}(_0x3d52f3,_0xf7c4f3),this['dragging']=!(!function(_0x224448,_0x47d3af){let {main:_0xbf9964}=_0x224448['state']['selection'];if(_0xbf9964['empty'])return!0x1;let _0x5319b3=_0x38ab4f(_0x224448['root']);if(!_0x5319b3||0x0==_0x5319b3['rangeCount'])return!0x0;let _0x367939=_0x5319b3['getRangeAt'](0x0)['getClientRects']();for(let _0x1436c2=0x0;_0x1436c2<_0x367939['length'];_0x1436c2++){let _0x5af787=_0x367939[_0x1436c2];if(_0x5af787['left']<=_0x47d3af['clientX']&&_0x5af787['right']>=_0x47d3af['clientX']&&_0x5af787['top']<=_0x47d3af['clientY']&&_0x5af787['bottom']>=_0x47d3af['clientY'])return!0x0;}return!0x1;}(_0x3d52f3,_0xf7c4f3)||0x1!=_0x3b0370(_0xf7c4f3))&&null;}start(_0x1e951e){!0x1===this['dragging']&&this['select'](_0x1e951e);}['move'](_0x58553f){if(0x0==_0x58553f['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&(_0x52661c=this['startEvent'],_0xc98de=_0x58553f,Math['max'](Math['abs'](_0x52661c['clientX']-_0xc98de['clientX']),Math['abs'](_0x52661c['clientY']-_0xc98de['clientY']))<0xa))return;var _0x52661c,_0xc98de;this['select'](this['lastEvent']=_0x58553f);let _0xd8ad31=0x0,_0x1fa36a=0x0,_0x218e78=0x0,_0x15c196=0x0,_0x2a1721=this['view']['win']['innerWidth'],_0x53de2a=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x218e78,right:_0x2a1721}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x15c196,bottom:_0x53de2a}=this['scrollParents']['y']['getBoundingClientRect']());let _0x5cba6d=_0x3ec41a(this['view']);_0x58553f['clientX']-_0x5cba6d['left']<=_0x218e78+0x6?_0xd8ad31=-_0xaac631(_0x218e78-_0x58553f['clientX']):_0x58553f['clientX']+_0x5cba6d['right']>=_0x2a1721-0x6&&(_0xd8ad31=_0xaac631(_0x58553f['clientX']-_0x2a1721)),_0x58553f['clientY']-_0x5cba6d['top']<=_0x15c196+0x6?_0x1fa36a=-_0xaac631(_0x15c196-_0x58553f['clientY']):_0x58553f['clientY']+_0x5cba6d['bottom']>=_0x53de2a-0x6&&(_0x1fa36a=_0xaac631(_0x58553f['clientY']-_0x53de2a)),this['setScrollSpeed'](_0xd8ad31,_0x1fa36a);}['up'](_0x551eb8){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x551eb8['preventDefault'](),this['destroy']();}destroy(){this['setScrollSpeed'](0x0,0x0);let _0x55c11a=this['view']['contentDOM']['ownerDocument'];_0x55c11a['removeEventListener']('mousemove',this['move']),_0x55c11a['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}setScrollSpeed(_0x3093d3,_0x466672){this['scrollSpeed']={'x':_0x3093d3,'y':_0x466672},_0x3093d3||_0x466672?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x46cb39,y:_0x512a43}=this['scrollSpeed'];_0x46cb39&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x46cb39,_0x46cb39=0x0),_0x512a43&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x512a43,_0x512a43=0x0),(_0x46cb39||_0x512a43)&&this['view']['win']['scrollBy'](_0x46cb39,_0x512a43),!0x1===this['dragging']&&this['select'](this['lastEvent']);}select(_0x1cd0eb){let {view:_0x5bc66c}=this,_0x31b716=_0x2e91c5(this['atoms'],this['style']['get'](_0x1cd0eb,this['extend'],this['multiple']));!this['mustSelect']&&_0x31b716['eq'](_0x5bc66c['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x31b716,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}update(_0x1a96fa){_0x1a96fa['transactions']['some'](_0x1c1898=>_0x1c1898['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x1a96fa)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}};const _0x1c74e3=Object['create'](null),_0x1cd9bc=Object['create'](null),_0x45b732=_0x49766a['ie']&&_0x49766a['ie_version']<0xf||_0x49766a['ios']&&_0x49766a['webkit_version']<0x25c;function _0x369cd8(_0x3563b0,_0x2fbec5,_0x3a58b7){for(let _0x3dd2da of _0x3563b0['facet'](_0x2fbec5))_0x3a58b7=_0x3dd2da(_0x3a58b7,_0x3563b0);return _0x3a58b7;}function _0x28428b(_0x2d75e9,_0x181368){_0x181368=_0x369cd8(_0x2d75e9['state'],_0xf675ed,_0x181368);let _0xca02b7,{state:_0xf4ae8c}=_0x2d75e9,_0x44c4fc=0x1,_0x176ffa=_0xf4ae8c['toText'](_0x181368),_0x469a8e=_0x176ffa['lines']==_0xf4ae8c['selection']['ranges']['length'];if(null!=_0x22b4c4&&_0xf4ae8c['selection']['ranges']['every'](_0x21abf2=>_0x21abf2['empty'])&&_0x22b4c4==_0x176ffa['toString']()){let _0x3b9963=-0x1;_0xca02b7=_0xf4ae8c['changeByRange'](_0x28880c=>{let _0x366f76=_0xf4ae8c['doc']['lineAt'](_0x28880c['from']);if(_0x366f76['from']==_0x3b9963)return{'range':_0x28880c};_0x3b9963=_0x366f76['from'];let _0x2643bc=_0xf4ae8c['toText']((_0x469a8e?_0x176ffa['line'](_0x44c4fc++)['text']:_0x181368)+_0xf4ae8c['lineBreak']);return{'changes':{'from':_0x366f76['from'],'insert':_0x2643bc},'range':_0x3bda1f['cursor'](_0x28880c['from']+_0x2643bc['length'])};});}else _0xca02b7=_0x469a8e?_0xf4ae8c['changeByRange'](_0x1111ff=>{let _0x13846c=_0x176ffa['line'](_0x44c4fc++);return{'changes':{'from':_0x1111ff['from'],'to':_0x1111ff['to'],'insert':_0x13846c['text']},'range':_0x3bda1f['cursor'](_0x1111ff['from']+_0x13846c['length'])};}):_0xf4ae8c['replaceSelection'](_0x176ffa);_0x2d75e9['dispatch'](_0xca02b7,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x2dfcdc(_0x19bc60,_0x19d6b5,_0x47ee6d,_0x49c110){if(0x1==_0x49c110)return _0x3bda1f['cursor'](_0x19d6b5,_0x47ee6d);if(0x2==_0x49c110)return function(_0x3d7366,_0x48aa03,_0xc86a99=0x1){let _0xeb5f7=_0x3d7366['charCategorizer'](_0x48aa03),_0x1a26f9=_0x3d7366['doc']['lineAt'](_0x48aa03),_0x1611bb=_0x48aa03-_0x1a26f9['from'];if(0x0==_0x1a26f9['length'])return _0x3bda1f['cursor'](_0x48aa03);0x0==_0x1611bb?_0xc86a99=0x1:_0x1611bb==_0x1a26f9['length']&&(_0xc86a99=-0x1);let _0x44742d=_0x1611bb,_0x35f328=_0x1611bb;_0xc86a99<0x0?_0x44742d=_0x53fca1(_0x1a26f9['text'],_0x1611bb,!0x1):_0x35f328=_0x53fca1(_0x1a26f9['text'],_0x1611bb);let _0x1b6856=_0xeb5f7(_0x1a26f9['text']['slice'](_0x44742d,_0x35f328));for(;_0x44742d>0x0;){let _0x16d9b9=_0x53fca1(_0x1a26f9['text'],_0x44742d,!0x1);if(_0xeb5f7(_0x1a26f9['text']['slice'](_0x16d9b9,_0x44742d))!=_0x1b6856)break;_0x44742d=_0x16d9b9;}for(;_0x35f328<_0x1a26f9['length'];){let _0x4be633=_0x53fca1(_0x1a26f9['text'],_0x35f328);if(_0xeb5f7(_0x1a26f9['text']['slice'](_0x35f328,_0x4be633))!=_0x1b6856)break;_0x35f328=_0x4be633;}return _0x3bda1f['range'](_0x44742d+_0x1a26f9['from'],_0x35f328+_0x1a26f9['from']);}(_0x19bc60['state'],_0x19d6b5,_0x47ee6d);{let _0x3eb77f=_0x19bc60['docView']['lineAt'](_0x19d6b5,_0x47ee6d),_0x25d016=_0x19bc60['state']['doc']['lineAt'](_0x3eb77f?_0x3eb77f['posAtEnd']:_0x19d6b5),_0x340e5d=_0x3eb77f?_0x3eb77f['posAtStart']:_0x25d016['from'],_0x405768=_0x3eb77f?_0x3eb77f['posAtEnd']:_0x25d016['to'];return _0x405768<_0x19bc60['state']['doc']['length']&&_0x405768==_0x25d016['to']&&_0x405768++,_0x3bda1f['range'](_0x340e5d,_0x405768);}}_0x1cd9bc['scroll']=_0x4b1fc8=>{_0x4b1fc8['inputState']['lastScrollTop']=_0x4b1fc8['scrollDOM']['scrollTop'],_0x4b1fc8['inputState']['lastScrollLeft']=_0x4b1fc8['scrollDOM']['scrollLeft'];},_0x1cd9bc['wheel']=_0x1cd9bc['mousewheel']=_0x3c7d9d=>{_0x3c7d9d['inputState']['lastWheelEvent']=Date['now']();},_0x1c74e3['keydown']=(_0x42ce95,_0x32b34c)=>(_0x42ce95['inputState']['setSelectionOrigin']('select'),0x1b==_0x32b34c['keyCode']&&0x0!=_0x42ce95['inputState']['tabFocusMode']&&(_0x42ce95['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x1cd9bc['touchstart']=(_0x1f9ebf,_0x3c0a84)=>{let _0x5067db=_0x1f9ebf['inputState'],_0x44323f=_0x3c0a84['targetTouches'][0x0];_0x5067db['lastTouchTime']=Date['now'](),_0x44323f&&(_0x5067db['lastTouchX']=_0x44323f['clientX'],_0x5067db['lastTouchY']=_0x44323f['clientY']),_0x5067db['setSelectionOrigin']('select.pointer');},_0x1cd9bc['touchmove']=_0x5246cc=>{_0x5246cc['inputState']['setSelectionOrigin']('select.pointer');},_0x1c74e3['mousedown']=(_0x4c9619,_0x488281)=>{if(_0x4c9619['observer']['flush'](),_0x4c9619['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x533ad5=null;for(let _0x373029 of _0x4c9619['state']['facet'](_0x2a42b4))if(_0x533ad5=_0x373029(_0x4c9619,_0x488281),_0x533ad5)break;if(_0x533ad5||0x0!=_0x488281['button']||(_0x533ad5=function(_0x47e0ab,_0x4efa55){let _0x7fc9af=_0x47e0ab['posAndSideAtCoords']({'x':_0x4efa55['clientX'],'y':_0x4efa55['clientY']},!0x1),_0x1ea642=_0x3b0370(_0x4efa55),_0x4ffd6b=_0x47e0ab['state']['selection'];return{'update'(_0x46e96f){_0x46e96f['docChanged']&&(_0x7fc9af['pos']=_0x46e96f['changes']['mapPos'](_0x7fc9af['pos']),_0x4ffd6b=_0x4ffd6b['map'](_0x46e96f['changes']));},'get'(_0x4b2377,_0x19807a,_0x10153f){let _0x5277d7,_0x332fa6=_0x47e0ab['posAndSideAtCoords']({'x':_0x4b2377['clientX'],'y':_0x4b2377['clientY']},!0x1),_0xff221a=_0x2dfcdc(_0x47e0ab,_0x332fa6['pos'],_0x332fa6['assoc'],_0x1ea642);if(_0x7fc9af['pos']!=_0x332fa6['pos']&&!_0x19807a){let _0x108e13=_0x2dfcdc(_0x47e0ab,_0x7fc9af['pos'],_0x7fc9af['assoc'],_0x1ea642),_0x2135e2=Math['min'](_0x108e13['from'],_0xff221a['from']),_0x3f2c6b=Math['max'](_0x108e13['to'],_0xff221a['to']);_0xff221a=_0x2135e2<_0xff221a['from']?_0x3bda1f['range'](_0x2135e2,_0x3f2c6b,_0xff221a['assoc']):_0x3bda1f['range'](_0x3f2c6b,_0x2135e2,_0xff221a['assoc']);}return _0x19807a?_0x4ffd6b['replaceRange'](_0x4ffd6b['main']['extend'](_0xff221a['from'],_0xff221a['to'],_0xff221a['assoc'])):_0x10153f&&0x1==_0x1ea642&&_0x4ffd6b['ranges']['length']>0x1&&(_0x5277d7=function(_0x53859f,_0x1892e3){for(let _0xb37d96=0x0;_0xb37d96<_0x53859f['ranges']['length'];_0xb37d96++){let {from:_0x483c6b,to:_0x37d3e7}=_0x53859f['ranges'][_0xb37d96];if(_0x483c6b<=_0x1892e3&&_0x37d3e7>=_0x1892e3)return _0x3bda1f['create'](_0x53859f['ranges']['slice'](0x0,_0xb37d96)['concat'](_0x53859f['ranges']['slice'](_0xb37d96+0x1)),_0x53859f['mainIndex']==_0xb37d96?0x0:_0x53859f['mainIndex']-(_0x53859f['mainIndex']>_0xb37d96?0x1:0x0));}return null;}(_0x4ffd6b,_0x332fa6['pos']))?_0x5277d7:_0x10153f?_0x4ffd6b['addRange'](_0xff221a):_0x3bda1f['create']([_0xff221a]);}};}(_0x4c9619,_0x488281)),_0x533ad5){let _0x94f37=!_0x4c9619['hasFocus'];_0x4c9619['inputState']['startMouseSelection'](new _0x3f227f(_0x4c9619,_0x488281,_0x533ad5,_0x94f37)),_0x94f37&&_0x4c9619['observer']['ignore'](()=>{_0x354cd2(_0x4c9619['contentDOM']);let _0x9f22f9=_0x4c9619['root']['activeElement'];_0x9f22f9&&!_0x9f22f9['contains'](_0x4c9619['contentDOM'])&&_0x9f22f9['blur']();});let _0x247205=_0x4c9619['inputState']['mouseSelection'];if(_0x247205)return _0x247205['start'](_0x488281),!0x1===_0x247205['dragging'];}else _0x4c9619['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};const _0x317279=_0x49766a['ie']&&_0x49766a['ie_version']<=0xb;let _0x269ed1=null,_0x2aca4f=0x0,_0x333c4a=0x0;function _0x3b0370(_0x589751){if(!_0x317279)return _0x589751['detail'];let _0x2566d1=_0x269ed1,_0x586b71=_0x333c4a;return _0x269ed1=_0x589751,_0x333c4a=Date['now'](),_0x2aca4f=!_0x2566d1||_0x586b71>Date['now']()-0x190&&Math['abs'](_0x2566d1['clientX']-_0x589751['clientX'])<0x2&&Math['abs'](_0x2566d1['clientY']-_0x589751['clientY'])<0x2?(_0x2aca4f+0x1)%0x3:0x1;}function _0x53eed6(_0x2a8a55,_0x3de040,_0x170c9a,_0x4ab45b){if(!(_0x170c9a=_0x369cd8(_0x2a8a55['state'],_0xf675ed,_0x170c9a)))return;let _0x34badb=_0x2a8a55['posAtCoords']({'x':_0x3de040['clientX'],'y':_0x3de040['clientY']},!0x1),{draggedContent:_0x19e406}=_0x2a8a55['inputState'],_0x5f1fcf=_0x4ab45b&&_0x19e406&&function(_0x5d80da,_0x4d0e70){let _0x49140d=_0x5d80da['state']['facet'](_0xd9c44e);return _0x49140d['length']?_0x49140d[0x0](_0x4d0e70):_0x49766a['mac']?!_0x4d0e70['altKey']:!_0x4d0e70['ctrlKey'];}(_0x2a8a55,_0x3de040)?{'from':_0x19e406['from'],'to':_0x19e406['to']}:null,_0x4c7995={'from':_0x34badb,'insert':_0x170c9a},_0x59de17=_0x2a8a55['state']['changes'](_0x5f1fcf?[_0x5f1fcf,_0x4c7995]:_0x4c7995);_0x2a8a55['focus'](),_0x2a8a55['dispatch']({'changes':_0x59de17,'selection':{'anchor':_0x59de17['mapPos'](_0x34badb,-0x1),'head':_0x59de17['mapPos'](_0x34badb,0x1)},'userEvent':_0x5f1fcf?'move.drop':'input.drop'}),_0x2a8a55['inputState']['draggedContent']=null;}_0x1c74e3['dragstart']=(_0x45e1e8,_0x37e335)=>{let {selection:{main:_0x3e53c6}}=_0x45e1e8['state'];if(_0x37e335['target']['draggable']){let _0x16e2cb=_0x45e1e8['docView']['tile']['nearest'](_0x37e335['target']);if(_0x16e2cb&&_0x16e2cb['isWidget']()){let _0x4e442e=_0x16e2cb['posAtStart'],_0x1bc529=_0x4e442e+_0x16e2cb['length'];(_0x4e442e>=_0x3e53c6['to']||_0x1bc529<=_0x3e53c6['from'])&&(_0x3e53c6=_0x3bda1f['range'](_0x4e442e,_0x1bc529));}}let {inputState:_0x43d9a5}=_0x45e1e8;return _0x43d9a5['mouseSelection']&&(_0x43d9a5['mouseSelection']['dragging']=!0x0),_0x43d9a5['draggedContent']=_0x3e53c6,_0x37e335['dataTransfer']&&(_0x37e335['dataTransfer']['setData']('Text',_0x369cd8(_0x45e1e8['state'],_0x2e8798,_0x45e1e8['state']['sliceDoc'](_0x3e53c6['from'],_0x3e53c6['to']))),_0x37e335['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x1c74e3['dragend']=_0x3ebade=>(_0x3ebade['inputState']['draggedContent']=null,!0x1),_0x1c74e3['drop']=(_0x20a8c3,_0x15d66e)=>{if(!_0x15d66e['dataTransfer'])return!0x1;if(_0x20a8c3['state']['readOnly'])return!0x0;let _0x379fa4=_0x15d66e['dataTransfer']['files'];if(_0x379fa4&&_0x379fa4['length']){let _0x4a2e1c=Array(_0x379fa4['length']),_0x45d5d1=0x0,_0x124fb0=()=>{++_0x45d5d1==_0x379fa4['length']&&_0x53eed6(_0x20a8c3,_0x15d66e,_0x4a2e1c['filter'](_0xb80c27=>null!=_0xb80c27)['join'](_0x20a8c3['state']['lineBreak']),!0x1);};for(let _0x292702=0x0;_0x292702<_0x379fa4['length'];_0x292702++){let _0x3c90d9=new FileReader();_0x3c90d9['onerror']=_0x124fb0,_0x3c90d9['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x3c90d9['result'])||(_0x4a2e1c[_0x292702]=_0x3c90d9['result']),_0x124fb0();},_0x3c90d9['readAsText'](_0x379fa4[_0x292702]);}return!0x0;}{let _0x2fa4d1=_0x15d66e['dataTransfer']['getData']('Text');if(_0x2fa4d1)return _0x53eed6(_0x20a8c3,_0x15d66e,_0x2fa4d1,!0x0),!0x0;}return!0x1;},_0x1c74e3['paste']=(_0x198103,_0x4b6e99)=>{if(_0x198103['state']['readOnly'])return!0x0;_0x198103['observer']['flush']();let _0x23c47d=_0x45b732?null:_0x4b6e99['clipboardData'];return _0x23c47d?(_0x28428b(_0x198103,_0x23c47d['getData']('text/plain')||_0x23c47d['getData']('text/uri-list')),!0x0):(function(_0x3a6448){let _0x25ed49=_0x3a6448['dom']['parentNode'];if(!_0x25ed49)return;let _0x568c3c=_0x25ed49['appendChild'](document['createElement']('textarea'));_0x568c3c['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x568c3c['focus'](),setTimeout(()=>{_0x3a6448['focus'](),_0x568c3c['remove'](),_0x28428b(_0x3a6448,_0x568c3c['value']);},0x32);}(_0x198103),!0x1);};let _0x22b4c4=null;_0x1c74e3['copy']=_0x1c74e3['cut']=(_0x28cbf7,_0xdfe76b)=>{if(!_0x22abca(_0x28cbf7['contentDOM'],_0x28cbf7['observer']['selectionRange']))return!0x1;let {text:_0x39061c,ranges:_0x4c446c,linewise:_0x54c0fe}=function(_0x596b50){let _0x4de9be=[],_0x2201ea=[],_0x2ef295=!0x1;for(let _0x406524 of _0x596b50['selection']['ranges'])_0x406524['empty']||(_0x4de9be['push'](_0x596b50['sliceDoc'](_0x406524['from'],_0x406524['to'])),_0x2201ea['push'](_0x406524));if(!_0x4de9be['length']){let _0x2ed832=-0x1;for(let {from:_0xaf734c}of _0x596b50['selection']['ranges']){let _0x4fbf6e=_0x596b50['doc']['lineAt'](_0xaf734c);_0x4fbf6e['number']>_0x2ed832&&(_0x4de9be['push'](_0x4fbf6e['text']),_0x2201ea['push']({'from':_0x4fbf6e['from'],'to':Math['min'](_0x596b50['doc']['length'],_0x4fbf6e['to']+0x1)})),_0x2ed832=_0x4fbf6e['number'];}_0x2ef295=!0x0;}return{'text':_0x369cd8(_0x596b50,_0x2e8798,_0x4de9be['join'](_0x596b50['lineBreak'])),'ranges':_0x2201ea,'linewise':_0x2ef295};}(_0x28cbf7['state']);if(!_0x39061c&&!_0x54c0fe)return!0x1;_0x22b4c4=_0x54c0fe?_0x39061c:null,'cut'!=_0xdfe76b['type']||_0x28cbf7['state']['readOnly']||_0x28cbf7['dispatch']({'changes':_0x4c446c,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x3f5c86=_0x45b732?null:_0xdfe76b['clipboardData'];return _0x3f5c86?(_0x3f5c86['clearData'](),_0x3f5c86['setData']('text/plain',_0x39061c),!0x0):(function(_0x3454a5,_0x324391){let _0x44a193=_0x3454a5['dom']['parentNode'];if(!_0x44a193)return;let _0x4155d5=_0x44a193['appendChild'](document['createElement']('textarea'));_0x4155d5['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x4155d5['value']=_0x324391,_0x4155d5['focus'](),_0x4155d5['selectionEnd']=_0x324391['length'],_0x4155d5['selectionStart']=0x0,setTimeout(()=>{_0x4155d5['remove'](),_0x3454a5['focus']();},0x32);}(_0x28cbf7,_0x39061c),!0x1);};const _0x5656b9=_0x5c39a2['define']();function _0x47910d(_0x202bbb,_0x5895ff){let _0x3d4cdf=[];for(let _0x7d6bfc of _0x202bbb['facet'](_0x4571d5)){let _0x4d12e3=_0x7d6bfc(_0x202bbb,_0x5895ff);_0x4d12e3&&_0x3d4cdf['push'](_0x4d12e3);}return _0x3d4cdf['length']?_0x202bbb['update']({'effects':_0x3d4cdf,'annotations':_0x5656b9['of'](!0x0)}):null;}function _0x502645(_0x54ddfd){setTimeout(()=>{let _0x3990d2=_0x54ddfd['hasFocus'];if(_0x3990d2!=_0x54ddfd['inputState']['notifiedFocused']){let _0x18d144=_0x47910d(_0x54ddfd['state'],_0x3990d2);_0x18d144?_0x54ddfd['dispatch'](_0x18d144):_0x54ddfd['update']([]);}},0xa);}_0x1cd9bc['focus']=_0x11a069=>{_0x11a069['inputState']['lastFocusTime']=Date['now'](),_0x11a069['scrollDOM']['scrollTop']||!_0x11a069['inputState']['lastScrollTop']&&!_0x11a069['inputState']['lastScrollLeft']||(_0x11a069['scrollDOM']['scrollTop']=_0x11a069['inputState']['lastScrollTop'],_0x11a069['scrollDOM']['scrollLeft']=_0x11a069['inputState']['lastScrollLeft']),_0x502645(_0x11a069);},_0x1cd9bc['blur']=_0x23f6fe=>{_0x23f6fe['observer']['clearSelectionRange'](),_0x502645(_0x23f6fe);},_0x1cd9bc['compositionstart']=_0x1cd9bc['compositionupdate']=_0x44d7b3=>{_0x44d7b3['observer']['editContext']||(null==_0x44d7b3['inputState']['compositionFirstChange']&&(_0x44d7b3['inputState']['compositionFirstChange']=!0x0),_0x44d7b3['inputState']['composing']<0x0&&(_0x44d7b3['inputState']['composing']=0x0));},_0x1cd9bc['compositionend']=_0x357b1f=>{_0x357b1f['observer']['editContext']||(_0x357b1f['inputState']['composing']=-0x1,_0x357b1f['inputState']['compositionEndedAt']=Date['now'](),_0x357b1f['inputState']['compositionPendingKey']=!0x0,_0x357b1f['inputState']['compositionPendingChange']=_0x357b1f['observer']['pendingRecords']()['length']>0x0,_0x357b1f['inputState']['compositionFirstChange']=null,_0x49766a['chrome']&&_0x49766a['android']?_0x357b1f['observer']['flushSoon']():_0x357b1f['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x357b1f['observer']['flush']()):setTimeout(()=>{_0x357b1f['inputState']['composing']<0x0&&_0x357b1f['docView']['hasComposition']&&_0x357b1f['update']([]);},0x32));},_0x1cd9bc['contextmenu']=_0x4943bf=>{_0x4943bf['inputState']['lastContextMenu']=Date['now']();},_0x1c74e3['beforeinput']=(_0x5c562c,_0x255a89)=>{var _0x20ae1d,_0x5e4279;if('insertText'!=_0x255a89['inputType']&&'insertCompositionText'!=_0x255a89['inputType']||(_0x5c562c['inputState']['insertingText']=_0x255a89['data'],_0x5c562c['inputState']['insertingTextAt']=Date['now']()),'insertReplacementText'==_0x255a89['inputType']&&_0x5c562c['observer']['editContext']){let _0x3907da=null===(_0x20ae1d=_0x255a89['dataTransfer'])||void 0x0===_0x20ae1d?void 0x0:_0x20ae1d['getData']('text/plain'),_0x17b4dd=_0x255a89['getTargetRanges']();if(_0x3907da&&_0x17b4dd['length']){let _0x5479c6=_0x17b4dd[0x0];return _0x450ded(_0x5c562c,{'from':_0x5c562c['posAtDOM'](_0x5479c6['startContainer'],_0x5479c6['startOffset']),'to':_0x5c562c['posAtDOM'](_0x5479c6['endContainer'],_0x5479c6['endOffset']),'insert':_0x5c562c['state']['toText'](_0x3907da)},null),!0x0;}}let _0x50b5fe;if(_0x49766a['chrome']&&_0x49766a['android']&&(_0x50b5fe=_0x1e92ca['find'](_0x2516f5=>_0x2516f5['inputType']==_0x255a89['inputType']))&&(_0x5c562c['observer']['delayAndroidKey'](_0x50b5fe['key'],_0x50b5fe['keyCode']),'Backspace'==_0x50b5fe['key']||'Delete'==_0x50b5fe['key'])){let _0x4d86ef=(null===(_0x5e4279=window['visualViewport'])||void 0x0===_0x5e4279?void 0x0:_0x5e4279['height'])||0x0;setTimeout(()=>{var _0x5bda7e;((null===(_0x5bda7e=window['visualViewport'])||void 0x0===_0x5bda7e?void 0x0:_0x5bda7e['height'])||0x0)>_0x4d86ef+0xa&&_0x5c562c['hasFocus']&&(_0x5c562c['contentDOM']['blur'](),_0x5c562c['focus']());},0x64);}return _0x49766a['ios']&&'deleteContentForward'==_0x255a89['inputType']&&_0x5c562c['observer']['flushSoon'](),_0x49766a['safari']&&'insertText'==_0x255a89['inputType']&&_0x5c562c['inputState']['composing']>=0x0&&setTimeout(()=>_0x1cd9bc['compositionend'](_0x5c562c,_0x255a89),0x14),!0x1;};const _0x5156ac=new Set(),_0x481678=['pre-wrap','normal','pre-line','break-spaces'];let _0x3a5895=!0x1;function _0x7b0a51(){_0x3a5895=!0x1;}var _0x6d5b12=class{constructor(_0x463a44){this['lineWrapping']=_0x463a44,this['doc']=_0x4293ea['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}heightForGap(_0x276996,_0x443998){let _0x1c1788=this['doc']['lineAt'](_0x443998)['number']-this['doc']['lineAt'](_0x276996)['number']+0x1;return this['lineWrapping']&&(_0x1c1788+=Math['max'](0x0,Math['ceil']((_0x443998-_0x276996-_0x1c1788*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x1c1788;}heightForLine(_0x482cab){return this['lineWrapping']?(0x1+Math['max'](0x0,Math['ceil']((_0x482cab-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight']:this['lineHeight'];}setDoc(_0x1754db){return this['doc']=_0x1754db,this;}mustRefreshForWrapping(_0x58097e){return _0x481678['indexOf'](_0x58097e)>-0x1!=this['lineWrapping'];}mustRefreshForHeights(_0x4bf349){let _0x4d62ad=!0x1;for(let _0x5c43f4=0x0;_0x5c43f4<_0x4bf349['length'];_0x5c43f4++){let _0x2e1676=_0x4bf349[_0x5c43f4];_0x2e1676<0x0?_0x5c43f4++:this['heightSamples'][Math['floor'](0xa*_0x2e1676)]||(_0x4d62ad=!0x0,this['heightSamples'][Math['floor'](0xa*_0x2e1676)]=!0x0);}return _0x4d62ad;}['refresh'](_0x21146b,_0x1af189,_0x4498a4,_0x15edf3,_0x3e7b1a,_0x7a4f34){let _0x2ecd55=_0x481678['indexOf'](_0x21146b)>-0x1,_0x88864e=Math['abs'](_0x1af189-this['lineHeight'])>0.3||this['lineWrapping']!=_0x2ecd55;if(this['lineWrapping']=_0x2ecd55,this['lineHeight']=_0x1af189,this['charWidth']=_0x4498a4,this['textHeight']=_0x15edf3,this['lineLength']=_0x3e7b1a,_0x88864e){this['heightSamples']={};for(let _0x365dc0=0x0;_0x365dc0<_0x7a4f34['length'];_0x365dc0++){let _0x10912f=_0x7a4f34[_0x365dc0];_0x10912f<0x0?_0x365dc0++:this['heightSamples'][Math['floor'](0xa*_0x10912f)]=!0x0;}}return _0x88864e;}},_0x116f13=class{constructor(_0x485c5b,_0x5ca066){this['from']=_0x485c5b,this['heights']=_0x5ca066,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}},_0x31c28d=class _0x2c56af{constructor(_0xa79c3,_0x293a8c,_0x2a18a9,_0x235776,_0x346730){this['from']=_0xa79c3,this['length']=_0x293a8c,this['top']=_0x2a18a9,this['height']=_0x235776,this['_content']=_0x346730;}get type(){return'number'==typeof this['_content']?_0xc9238a['Text']:Array['isArray'](this['_content'])?this['_content']:this['_content']['type'];}get to(){return this['from']+this['length'];}get bottom(){return this['top']+this['height'];}get widget(){return this['_content']instanceof _0x28a7af?this['_content']['widget']:null;}get widgetLineBreaks(){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x2cf163){let _0x222d72=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x2cf163['_content'])?_0x2cf163['_content']:[_0x2cf163]);return new _0x2c56af(this['from'],this['length']+_0x2cf163['length'],this['top'],this['height']+_0x2cf163['height'],_0x222d72);}},_0x3e72c8=function(_0x5a5d7b){return _0x5a5d7b[_0x5a5d7b['ByPos']=0x0]='ByPos',_0x5a5d7b[_0x5a5d7b['ByHeight']=0x1]='ByHeight',_0x5a5d7b[_0x5a5d7b['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x5a5d7b;}(_0x3e72c8||(_0x3e72c8={}));const _0x3551da=0.001;var _0x3a8d5b=class HeightMap{constructor(_0x1d89e7,_0xfb1b64,_0x369835=0x2){this['length']=_0x1d89e7,this['height']=_0xfb1b64,this['flags']=_0x369835;}get outdated(){return(0x2&this['flags'])>0x0;}set outdated(_0x56df53){this['flags']=(_0x56df53?0x2:0x0)|-0x3&this['flags'];}setHeight(_0x59de8f){this['height']!=_0x59de8f&&(Math['abs'](this['height']-_0x59de8f)>_0x3551da&&(_0x3a5895=!0x0),this['height']=_0x59de8f);}['replace'](_0x24152a,_0x19e275,_0x323b9b){return HeightMap['of'](_0x323b9b);}decomposeLeft(_0x53a4d1,_0x29dde6){_0x29dde6['push'](this);}decomposeRight(_0x4a4335,_0x10f24e){_0x10f24e['push'](this);}['applyChanges'](_0x57dfd4,_0x5bd876,_0x5ea12d,_0x4d9513){let _0x1bb284=this,_0x52b8a3=_0x5ea12d['doc'];for(let _0xa0d2b7=_0x4d9513['length']-0x1;_0xa0d2b7>=0x0;_0xa0d2b7--){let {fromA:_0x199990,toA:_0x5a3fc8,fromB:_0x24dc3f,toB:_0x51abc3}=_0x4d9513[_0xa0d2b7],_0x1b6bcb=_0x1bb284['lineAt'](_0x199990,_0x3e72c8['ByPosNoHeight'],_0x5ea12d['setDoc'](_0x5bd876),0x0,0x0),_0x4601de=_0x1b6bcb['to']>=_0x5a3fc8?_0x1b6bcb:_0x1bb284['lineAt'](_0x5a3fc8,_0x3e72c8['ByPosNoHeight'],_0x5ea12d,0x0,0x0);for(_0x51abc3+=_0x4601de['to']-_0x5a3fc8,_0x5a3fc8=_0x4601de['to'];_0xa0d2b7>0x0&&_0x1b6bcb['from']<=_0x4d9513[_0xa0d2b7-0x1]['toA'];)_0x199990=_0x4d9513[_0xa0d2b7-0x1]['fromA'],_0x24dc3f=_0x4d9513[_0xa0d2b7-0x1]['fromB'],_0xa0d2b7--,_0x199990<_0x1b6bcb['from']&&(_0x1b6bcb=_0x1bb284['lineAt'](_0x199990,_0x3e72c8['ByPosNoHeight'],_0x5ea12d,0x0,0x0));_0x24dc3f+=_0x1b6bcb['from']-_0x199990,_0x199990=_0x1b6bcb['from'];let _0x3e6cf5=_0x7c9fa9['build'](_0x5ea12d['setDoc'](_0x52b8a3),_0x57dfd4,_0x24dc3f,_0x51abc3);_0x1bb284=_0x4233cb(_0x1bb284,_0x1bb284['replace'](_0x199990,_0x5a3fc8,_0x3e6cf5));}return _0x1bb284['updateHeight'](_0x5ea12d,0x0);}static empty(){return new _0x21f472(0x0,0x0,0x0);}static['of'](_0x56d40f){if(0x1==_0x56d40f['length'])return _0x56d40f[0x0];let _0x11dc5a=0x0,_0x45569f=_0x56d40f['length'],_0x352fb3=0x0,_0x41377e=0x0;for(;;)if(_0x11dc5a==_0x45569f){if(_0x352fb3>0x2*_0x41377e){let _0x4cfc85=_0x56d40f[_0x11dc5a-0x1];_0x4cfc85['break']?_0x56d40f['splice'](--_0x11dc5a,0x1,_0x4cfc85['left'],null,_0x4cfc85['right']):_0x56d40f['splice'](--_0x11dc5a,0x1,_0x4cfc85['left'],_0x4cfc85['right']),_0x45569f+=0x1+_0x4cfc85['break'],_0x352fb3-=_0x4cfc85['size'];}else{if(!(_0x41377e>0x2*_0x352fb3))break;{let _0x29a82c=_0x56d40f[_0x45569f];_0x29a82c['break']?_0x56d40f['splice'](_0x45569f,0x1,_0x29a82c['left'],null,_0x29a82c['right']):_0x56d40f['splice'](_0x45569f,0x1,_0x29a82c['left'],_0x29a82c['right']),_0x45569f+=0x2+_0x29a82c['break'],_0x41377e-=_0x29a82c['size'];}}}else{if(_0x352fb3<_0x41377e){let _0xa3fb83=_0x56d40f[_0x11dc5a++];_0xa3fb83&&(_0x352fb3+=_0xa3fb83['size']);}else{let _0x4336cd=_0x56d40f[--_0x45569f];_0x4336cd&&(_0x41377e+=_0x4336cd['size']);}}let _0x19b38f=0x0;return null==_0x56d40f[_0x11dc5a-0x1]?(_0x19b38f=0x1,_0x11dc5a--):null==_0x56d40f[_0x11dc5a]&&(_0x19b38f=0x1,_0x45569f++),new _0x3d8fde(HeightMap['of'](_0x56d40f['slice'](0x0,_0x11dc5a)),_0x19b38f,HeightMap['of'](_0x56d40f['slice'](_0x45569f)));}};function _0x4233cb(_0xe52f54,_0x4c75d5){return _0xe52f54==_0x4c75d5?_0xe52f54:(_0xe52f54['constructor']!=_0x4c75d5['constructor']&&(_0x3a5895=!0x0),_0x4c75d5);}_0x3a8d5b['prototype']['size']=0x1;const _0x291fde=_0x18eb2e['replace']({});var _0x503a16=class extends _0x3a8d5b{constructor(_0x5060ca,_0x55ea0b,_0x29eede){super(_0x5060ca,_0x55ea0b),this['deco']=_0x29eede,this['spaceAbove']=0x0;}['mainBlock'](_0xca4709,_0x404fe6){return new _0x31c28d(_0x404fe6,this['length'],_0xca4709+this['spaceAbove'],this['height']-this['spaceAbove'],this['deco']||0x0);}blockAt(_0x20caaf,_0x505db0,_0x12bdba,_0x4a58a0){return this['spaceAbove']&&_0x20caaf<_0x12bdba+this['spaceAbove']?new _0x31c28d(_0x4a58a0,0x0,_0x12bdba,this['spaceAbove'],_0x291fde):this['mainBlock'](_0x12bdba,_0x4a58a0);}lineAt(_0x355f91,_0x334a0b,_0x5208ff,_0x2a058b,_0x5c53c4){let _0x245f4c=this['mainBlock'](_0x2a058b,_0x5c53c4);return this['spaceAbove']?this['blockAt'](0x0,_0x5208ff,_0x2a058b,_0x5c53c4)['join'](_0x245f4c):_0x245f4c;}['forEachLine'](_0x1c9a5d,_0x4c4aa5,_0xcaee20,_0x2fa134,_0x2d2119,_0x294aa9){_0x1c9a5d<=_0x2d2119+this['length']&&_0x4c4aa5>=_0x2d2119&&_0x294aa9(this['lineAt'](0x0,_0x3e72c8['ByPos'],_0xcaee20,_0x2fa134,_0x2d2119));}setMeasuredHeight(_0x52e124){let _0x332e83=_0x52e124['heights'][_0x52e124['index']++];_0x332e83<0x0?(this['spaceAbove']=-_0x332e83,_0x332e83=_0x52e124['heights'][_0x52e124['index']++]):this['spaceAbove']=0x0,this['setHeight'](_0x332e83);}updateHeight(_0x33bbea,_0xac2a84=0x0,_0x31ea93=!0x1,_0x2dae74){return _0x2dae74&&_0x2dae74['from']<=_0xac2a84&&_0x2dae74['more']&&this['setMeasuredHeight'](_0x2dae74),this['outdated']=!0x1,this;}toString(){return'block('+this['length']+')';}},_0x21f472=class HeightMapText extends _0x503a16{constructor(_0x4bc45f,_0x2ba2b9,_0x39da49){super(_0x4bc45f,_0x2ba2b9,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0,this['spaceAbove']=_0x39da49;}['mainBlock'](_0x41e522,_0x119792){return new _0x31c28d(_0x119792,this['length'],_0x41e522+this['spaceAbove'],this['height']-this['spaceAbove'],this['breaks']);}['replace'](_0x4022bf,_0x60377f,_0x3c4063){let _0x5d6fd9=_0x3c4063[0x0];return 0x1==_0x3c4063['length']&&(_0x5d6fd9 instanceof HeightMapText||_0x5d6fd9 instanceof _0x13574f&&0x4&_0x5d6fd9['flags'])&&Math['abs'](this['length']-_0x5d6fd9['length'])<0xa?(_0x5d6fd9 instanceof _0x13574f?_0x5d6fd9=new HeightMapText(_0x5d6fd9['length'],this['height'],this['spaceAbove']):_0x5d6fd9['height']=this['height'],this['outdated']||(_0x5d6fd9['outdated']=!0x1),_0x5d6fd9):_0x3a8d5b['of'](_0x3c4063);}updateHeight(_0x1a598d,_0x126ed1=0x0,_0x4535b1=!0x1,_0x5256fa){return _0x5256fa&&_0x5256fa['from']<=_0x126ed1&&_0x5256fa['more']?this['setMeasuredHeight'](_0x5256fa):(_0x4535b1||this['outdated'])&&(this['spaceAbove']=0x0,this['setHeight'](Math['max'](this['widgetHeight'],_0x1a598d['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x1a598d['lineHeight'])),this['outdated']=!0x1,this;}toString(){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}},_0x13574f=class HeightMapGap extends _0x3a8d5b{constructor(_0x107b1d){super(_0x107b1d,0x0);}heightMetrics(_0x26cd38,_0x2dcf41){let _0x28ada7,_0x57ed0d=_0x26cd38['doc']['lineAt'](_0x2dcf41)['number'],_0x589485=_0x26cd38['doc']['lineAt'](_0x2dcf41+this['length'])['number'],_0x4c3ef8=_0x589485-_0x57ed0d+0x1,_0x45190e=0x0;if(_0x26cd38['lineWrapping']){let _0x205469=Math['min'](this['height'],_0x26cd38['lineHeight']*_0x4c3ef8);_0x28ada7=_0x205469/_0x4c3ef8,this['length']>_0x4c3ef8+0x1&&(_0x45190e=(this['height']-_0x205469)/(this['length']-_0x4c3ef8-0x1));}else _0x28ada7=this['height']/_0x4c3ef8;return{'firstLine':_0x57ed0d,'lastLine':_0x589485,'perLine':_0x28ada7,'perChar':_0x45190e};}blockAt(_0x9d41e,_0x7c7f6a,_0x1450a5,_0x3b23da){let {firstLine:_0x1fe8e1,lastLine:_0x5e43a5,perLine:_0x43ea9d,perChar:_0x18d8bb}=this['heightMetrics'](_0x7c7f6a,_0x3b23da);if(_0x7c7f6a['lineWrapping']){let _0x131add=_0x3b23da+(_0x9d41e<_0x7c7f6a['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x9d41e-_0x1450a5)/this['height']))*this['length'])),_0x44264d=_0x7c7f6a['doc']['lineAt'](_0x131add),_0x2b1207=_0x43ea9d+_0x44264d['length']*_0x18d8bb,_0x100911=Math['max'](_0x1450a5,_0x9d41e-_0x2b1207/0x2);return new _0x31c28d(_0x44264d['from'],_0x44264d['length'],_0x100911,_0x2b1207,0x0);}{let _0x1375c6=Math['max'](0x0,Math['min'](_0x5e43a5-_0x1fe8e1,Math['floor']((_0x9d41e-_0x1450a5)/_0x43ea9d))),{from:_0x599eaf,length:_0x4eb494}=_0x7c7f6a['doc']['line'](_0x1fe8e1+_0x1375c6);return new _0x31c28d(_0x599eaf,_0x4eb494,_0x1450a5+_0x43ea9d*_0x1375c6,_0x43ea9d,0x0);}}lineAt(_0x54697a,_0x3166b6,_0x4af544,_0x429a24,_0xde1e7c){if(_0x3166b6==_0x3e72c8['ByHeight'])return this['blockAt'](_0x54697a,_0x4af544,_0x429a24,_0xde1e7c);if(_0x3166b6==_0x3e72c8['ByPosNoHeight']){let {from:_0x347574,to:_0x4e5329}=_0x4af544['doc']['lineAt'](_0x54697a);return new _0x31c28d(_0x347574,_0x4e5329-_0x347574,0x0,0x0,0x0);}let {firstLine:_0x2200fe,perLine:_0x365e32,perChar:_0x2cc7ce}=this['heightMetrics'](_0x4af544,_0xde1e7c),_0x18e3e0=_0x4af544['doc']['lineAt'](_0x54697a),_0x2d3f85=_0x365e32+_0x18e3e0['length']*_0x2cc7ce,_0x414316=_0x18e3e0['number']-_0x2200fe,_0x2e275e=_0x429a24+_0x365e32*_0x414316+_0x2cc7ce*(_0x18e3e0['from']-_0xde1e7c-_0x414316);return new _0x31c28d(_0x18e3e0['from'],_0x18e3e0['length'],Math['max'](_0x429a24,Math['min'](_0x2e275e,_0x429a24+this['height']-_0x2d3f85)),_0x2d3f85,0x0);}['forEachLine'](_0x300c66,_0x4aaf6f,_0x44520,_0x12a918,_0x609a3e,_0x4086ef){_0x300c66=Math['max'](_0x300c66,_0x609a3e),_0x4aaf6f=Math['min'](_0x4aaf6f,_0x609a3e+this['length']);let {firstLine:_0xc6483b,perLine:_0x58e3fc,perChar:_0x7c2b4f}=this['heightMetrics'](_0x44520,_0x609a3e);for(let _0x15c051=_0x300c66,_0x56baf1=_0x12a918;_0x15c051<=_0x4aaf6f;){let _0x3f723c=_0x44520['doc']['lineAt'](_0x15c051);if(_0x15c051==_0x300c66){let _0x1da02a=_0x3f723c['number']-_0xc6483b;_0x56baf1+=_0x58e3fc*_0x1da02a+_0x7c2b4f*(_0x300c66-_0x609a3e-_0x1da02a);}let _0x294087=_0x58e3fc+_0x7c2b4f*_0x3f723c['length'];_0x4086ef(new _0x31c28d(_0x3f723c['from'],_0x3f723c['length'],_0x56baf1,_0x294087,0x0)),_0x56baf1+=_0x294087,_0x15c051=_0x3f723c['to']+0x1;}}['replace'](_0x5e29ac,_0x3da341,_0x382f17){let _0xc837cd=this['length']-_0x3da341;if(_0xc837cd>0x0){let _0x52faa4=_0x382f17[_0x382f17['length']-0x1];_0x52faa4 instanceof HeightMapGap?_0x382f17[_0x382f17['length']-0x1]=new HeightMapGap(_0x52faa4['length']+_0xc837cd):_0x382f17['push'](null,new HeightMapGap(_0xc837cd-0x1));}if(_0x5e29ac>0x0){let _0x2cc86a=_0x382f17[0x0];_0x2cc86a instanceof HeightMapGap?_0x382f17[0x0]=new HeightMapGap(_0x5e29ac+_0x2cc86a['length']):_0x382f17['unshift'](new HeightMapGap(_0x5e29ac-0x1),null);}return _0x3a8d5b['of'](_0x382f17);}decomposeLeft(_0x2970d7,_0x497df8){_0x497df8['push'](new HeightMapGap(_0x2970d7-0x1),null);}decomposeRight(_0x49f2b6,_0x4a8246){_0x4a8246['push'](null,new HeightMapGap(this['length']-_0x49f2b6-0x1));}updateHeight(_0x148201,_0x1830c4=0x0,_0x1fd899=!0x1,_0x5cc51d){let _0x83a6ba=_0x1830c4+this['length'];if(_0x5cc51d&&_0x5cc51d['from']<=_0x1830c4+this['length']&&_0x5cc51d['more']){let _0x27b11e=[],_0x4e8305=Math['max'](_0x1830c4,_0x5cc51d['from']),_0x43d80e=-0x1;for(_0x5cc51d['from']>_0x1830c4&&_0x27b11e['push'](new HeightMapGap(_0x5cc51d['from']-_0x1830c4-0x1)['updateHeight'](_0x148201,_0x1830c4));_0x4e8305<=_0x83a6ba&&_0x5cc51d['more'];){let _0x35c561=_0x148201['doc']['lineAt'](_0x4e8305)['length'];_0x27b11e['length']&&_0x27b11e['push'](null);let _0x2c03dc=_0x5cc51d['heights'][_0x5cc51d['index']++],_0x58f69c=0x0;_0x2c03dc<0x0&&(_0x58f69c=-_0x2c03dc,_0x2c03dc=_0x5cc51d['heights'][_0x5cc51d['index']++]),-0x1==_0x43d80e?_0x43d80e=_0x2c03dc:Math['abs'](_0x2c03dc-_0x43d80e)>=_0x3551da&&(_0x43d80e=-0x2);let _0x451bbe=new _0x21f472(_0x35c561,_0x2c03dc,_0x58f69c);_0x451bbe['outdated']=!0x1,_0x27b11e['push'](_0x451bbe),_0x4e8305+=_0x35c561+0x1;}_0x4e8305<=_0x83a6ba&&_0x27b11e['push'](null,new HeightMapGap(_0x83a6ba-_0x4e8305)['updateHeight'](_0x148201,_0x4e8305));let _0x5165ce=_0x3a8d5b['of'](_0x27b11e);return(_0x43d80e<0x0||Math['abs'](_0x5165ce['height']-this['height'])>=_0x3551da||Math['abs'](_0x43d80e-this['heightMetrics'](_0x148201,_0x1830c4)['perLine'])>=_0x3551da)&&(_0x3a5895=!0x0),_0x4233cb(this,_0x5165ce);}return(_0x1fd899||this['outdated'])&&(this['setHeight'](_0x148201['heightForGap'](_0x1830c4,_0x1830c4+this['length'])),this['outdated']=!0x1),this;}toString(){return'gap('+this['length']+')';}},_0x3d8fde=class extends _0x3a8d5b{constructor(_0x42da0c,_0x539f3c,_0xbc1dd0){super(_0x42da0c['length']+_0x539f3c+_0xbc1dd0['length'],_0x42da0c['height']+_0xbc1dd0['height'],_0x539f3c|(_0x42da0c['outdated']||_0xbc1dd0['outdated']?0x2:0x0)),this['left']=_0x42da0c,this['right']=_0xbc1dd0,this['size']=_0x42da0c['size']+_0xbc1dd0['size'];}get['break'](){return 0x1&this['flags'];}blockAt(_0x32f280,_0x1c015b,_0x1d58f0,_0x5a556a){let _0x44c8e0=_0x1d58f0+this['left']['height'];return _0x32f280<_0x44c8e0?this['left']['blockAt'](_0x32f280,_0x1c015b,_0x1d58f0,_0x5a556a):this['right']['blockAt'](_0x32f280,_0x1c015b,_0x44c8e0,_0x5a556a+this['left']['length']+this['break']);}lineAt(_0x2e44fa,_0x142087,_0x172b88,_0x3f1d55,_0x7b3e18){let _0x71fef0=_0x3f1d55+this['left']['height'],_0x1d64e6=_0x7b3e18+this['left']['length']+this['break'],_0x717c77=_0x142087==_0x3e72c8['ByHeight']?_0x2e44fa<_0x71fef0:_0x2e44fa<_0x1d64e6,_0x23a793=_0x717c77?this['left']['lineAt'](_0x2e44fa,_0x142087,_0x172b88,_0x3f1d55,_0x7b3e18):this['right']['lineAt'](_0x2e44fa,_0x142087,_0x172b88,_0x71fef0,_0x1d64e6);if(this['break']||(_0x717c77?_0x23a793['to']<_0x1d64e6:_0x23a793['from']>_0x1d64e6))return _0x23a793;let _0x3e0a0d=_0x142087==_0x3e72c8['ByPosNoHeight']?_0x3e72c8['ByPosNoHeight']:_0x3e72c8['ByPos'];return _0x717c77?_0x23a793['join'](this['right']['lineAt'](_0x1d64e6,_0x3e0a0d,_0x172b88,_0x71fef0,_0x1d64e6)):this['left']['lineAt'](_0x1d64e6,_0x3e0a0d,_0x172b88,_0x3f1d55,_0x7b3e18)['join'](_0x23a793);}['forEachLine'](_0x17e3db,_0x1466fa,_0x597b8f,_0x5bfc15,_0x2835cc,_0x3c2cb9){let _0x10774d=_0x5bfc15+this['left']['height'],_0x24606b=_0x2835cc+this['left']['length']+this['break'];if(this['break'])_0x17e3db<_0x24606b&&this['left']['forEachLine'](_0x17e3db,_0x1466fa,_0x597b8f,_0x5bfc15,_0x2835cc,_0x3c2cb9),_0x1466fa>=_0x24606b&&this['right']['forEachLine'](_0x17e3db,_0x1466fa,_0x597b8f,_0x10774d,_0x24606b,_0x3c2cb9);else{let _0x4d97d8=this['lineAt'](_0x24606b,_0x3e72c8['ByPos'],_0x597b8f,_0x5bfc15,_0x2835cc);_0x17e3db<_0x4d97d8['from']&&this['left']['forEachLine'](_0x17e3db,_0x4d97d8['from']-0x1,_0x597b8f,_0x5bfc15,_0x2835cc,_0x3c2cb9),_0x4d97d8['to']>=_0x17e3db&&_0x4d97d8['from']<=_0x1466fa&&_0x3c2cb9(_0x4d97d8),_0x1466fa>_0x4d97d8['to']&&this['right']['forEachLine'](_0x4d97d8['to']+0x1,_0x1466fa,_0x597b8f,_0x10774d,_0x24606b,_0x3c2cb9);}}['replace'](_0x2d6d42,_0x472a28,_0x11fd27){let _0x19c96e=this['left']['length']+this['break'];if(_0x472a28<_0x19c96e)return this['balanced'](this['left']['replace'](_0x2d6d42,_0x472a28,_0x11fd27),this['right']);if(_0x2d6d42>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x2d6d42-_0x19c96e,_0x472a28-_0x19c96e,_0x11fd27));let _0x4ce18f=[];_0x2d6d42>0x0&&this['decomposeLeft'](_0x2d6d42,_0x4ce18f);let _0x3c1a58=_0x4ce18f['length'];for(let _0x3a6929 of _0x11fd27)_0x4ce18f['push'](_0x3a6929);if(_0x2d6d42>0x0&&_0x20d8e6(_0x4ce18f,_0x3c1a58-0x1),_0x472a28<this['length']){let _0x4f017d=_0x4ce18f['length'];this['decomposeRight'](_0x472a28,_0x4ce18f),_0x20d8e6(_0x4ce18f,_0x4f017d);}return _0x3a8d5b['of'](_0x4ce18f);}decomposeLeft(_0x556b3e,_0x5684f2){let _0x36f790=this['left']['length'];if(_0x556b3e<=_0x36f790)return this['left']['decomposeLeft'](_0x556b3e,_0x5684f2);_0x5684f2['push'](this['left']),this['break']&&(_0x36f790++,_0x556b3e>=_0x36f790&&_0x5684f2['push'](null)),_0x556b3e>_0x36f790&&this['right']['decomposeLeft'](_0x556b3e-_0x36f790,_0x5684f2);}decomposeRight(_0x384609,_0x4e168a){let _0x4360f7=this['left']['length'],_0x1ef51b=_0x4360f7+this['break'];if(_0x384609>=_0x1ef51b)return this['right']['decomposeRight'](_0x384609-_0x1ef51b,_0x4e168a);_0x384609<_0x4360f7&&this['left']['decomposeRight'](_0x384609,_0x4e168a),this['break']&&_0x384609<_0x1ef51b&&_0x4e168a['push'](null),_0x4e168a['push'](this['right']);}['balanced'](_0x120630,_0x4fa7fc){return _0x120630['size']>0x2*_0x4fa7fc['size']||_0x4fa7fc['size']>0x2*_0x120630['size']?_0x3a8d5b['of'](this['break']?[_0x120630,null,_0x4fa7fc]:[_0x120630,_0x4fa7fc]):(this['left']=_0x4233cb(this['left'],_0x120630),this['right']=_0x4233cb(this['right'],_0x4fa7fc),this['setHeight'](_0x120630['height']+_0x4fa7fc['height']),this['outdated']=_0x120630['outdated']||_0x4fa7fc['outdated'],this['size']=_0x120630['size']+_0x4fa7fc['size'],this['length']=_0x120630['length']+this['break']+_0x4fa7fc['length'],this);}updateHeight(_0x55498c,_0x3c6ffc=0x0,_0x40e3dd=!0x1,_0xf0f7e8){let {left:_0x2c7a52,right:_0x4d10d2}=this,_0x5342fd=_0x3c6ffc+_0x2c7a52['length']+this['break'],_0x306bb0=null;return _0xf0f7e8&&_0xf0f7e8['from']<=_0x3c6ffc+_0x2c7a52['length']&&_0xf0f7e8['more']?_0x306bb0=_0x2c7a52=_0x2c7a52['updateHeight'](_0x55498c,_0x3c6ffc,_0x40e3dd,_0xf0f7e8):_0x2c7a52['updateHeight'](_0x55498c,_0x3c6ffc,_0x40e3dd),_0xf0f7e8&&_0xf0f7e8['from']<=_0x5342fd+_0x4d10d2['length']&&_0xf0f7e8['more']?_0x306bb0=_0x4d10d2=_0x4d10d2['updateHeight'](_0x55498c,_0x5342fd,_0x40e3dd,_0xf0f7e8):_0x4d10d2['updateHeight'](_0x55498c,_0x5342fd,_0x40e3dd),_0x306bb0?this['balanced'](_0x2c7a52,_0x4d10d2):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}toString(){return this['left']+(this['break']?'\x20':'-')+this['right'];}};function _0x20d8e6(_0x4e9e93,_0x298bb1){let _0x2c8a16,_0x43b745;null==_0x4e9e93[_0x298bb1]&&(_0x2c8a16=_0x4e9e93[_0x298bb1-0x1])instanceof _0x13574f&&(_0x43b745=_0x4e9e93[_0x298bb1+0x1])instanceof _0x13574f&&_0x4e9e93['splice'](_0x298bb1-0x1,0x3,new _0x13574f(_0x2c8a16['length']+0x1+_0x43b745['length']));}var _0x7c9fa9=class _0x66a969{constructor(_0x2ccf8d,_0x3bbf07){this['pos']=_0x2ccf8d,this['oracle']=_0x3bbf07,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x2ccf8d;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x4e0e4a,_0x15c951){if(this['lineStart']>-0x1){let _0xc610fe=Math['min'](_0x15c951,this['lineEnd']),_0x2b2900=this['nodes'][this['nodes']['length']-0x1];_0x2b2900 instanceof _0x21f472?_0x2b2900['length']+=_0xc610fe-this['pos']:(_0xc610fe>this['pos']||!this['isCovered'])&&this['nodes']['push'](new _0x21f472(_0xc610fe-this['pos'],-0x1,0x0)),this['writtenTo']=_0xc610fe,_0x15c951>_0xc610fe&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x15c951;}point(_0x507573,_0x1a9f7a,_0x4f629d){if(_0x507573<_0x1a9f7a||_0x4f629d['heightRelevant']){let _0x38e7ed=_0x4f629d['widget']?_0x4f629d['widget']['estimatedHeight']:0x0,_0x128229=_0x4f629d['widget']?_0x4f629d['widget']['lineBreaks']:0x0;_0x38e7ed<0x0&&(_0x38e7ed=this['oracle']['lineHeight']);let _0x5ed365=_0x1a9f7a-_0x507573;_0x4f629d['block']?this['addBlock'](new _0x503a16(_0x5ed365,_0x38e7ed,_0x4f629d)):(_0x5ed365||_0x128229||_0x38e7ed>=0x5)&&this['addLineDeco'](_0x38e7ed,_0x128229,_0x5ed365);}else _0x1a9f7a>_0x507573&&this['span'](_0x507573,_0x1a9f7a);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}enterLine(){if(this['lineStart']>-0x1)return;let {from:_0x39af8f,to:_0x38ff76}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x39af8f,this['lineEnd']=_0x38ff76,this['writtenTo']<_0x39af8f&&((this['writtenTo']<_0x39af8f-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x39af8f-0x1)),this['nodes']['push'](null)),this['pos']>_0x39af8f&&this['nodes']['push'](new _0x21f472(this['pos']-_0x39af8f,-0x1,0x0)),this['writtenTo']=this['pos'];}blankContent(_0x5cde0b,_0x5b8d27){let _0x54bc2e=new _0x13574f(_0x5b8d27-_0x5cde0b);return this['oracle']['doc']['lineAt'](_0x5cde0b)['to']==_0x5b8d27&&(_0x54bc2e['flags']|=0x4),_0x54bc2e;}['ensureLine'](){this['enterLine']();let _0x23b591=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x23b591 instanceof _0x21f472)return _0x23b591;let _0x145a58=new _0x21f472(0x0,-0x1,0x0);return this['nodes']['push'](_0x145a58),_0x145a58;}['addBlock'](_0x474582){this['enterLine']();let _0x5ca8d9=_0x474582['deco'];_0x5ca8d9&&_0x5ca8d9['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x474582),this['writtenTo']=this['pos']=this['pos']+_0x474582['length'],_0x5ca8d9&&_0x5ca8d9['endSide']>0x0&&(this['covering']=_0x474582);}['addLineDeco'](_0x78301b,_0x31ec6b,_0x338867){let _0x144dfc=this['ensureLine']();_0x144dfc['length']+=_0x338867,_0x144dfc['collapsed']+=_0x338867,_0x144dfc['widgetHeight']=Math['max'](_0x144dfc['widgetHeight'],_0x78301b),_0x144dfc['breaks']+=_0x31ec6b,this['writtenTo']=this['pos']=this['pos']+_0x338867;}['finish'](_0x20248b){let _0x78ec90=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x78ec90 instanceof _0x21f472||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x78ec90)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new _0x21f472(0x0,-0x1,0x0));let _0x3d553e=_0x20248b;for(let _0x44fc9d of this['nodes'])_0x44fc9d instanceof _0x21f472&&_0x44fc9d['updateHeight'](this['oracle'],_0x3d553e),_0x3d553e+=_0x44fc9d?_0x44fc9d['length']:0x1;return this['nodes'];}static['build'](_0x963970,_0x12fb70,_0x5840c6,_0xa174fb){let _0x448b49=new _0x66a969(_0x5840c6,_0x963970);return _0x53c81c['spans'](_0x12fb70,_0x5840c6,_0xa174fb,_0x448b49,0x0),_0x448b49['finish'](_0x5840c6);}},_0x351665=class{constructor(){this['changes']=[];}['compareRange'](){}comparePoint(_0x49a454,_0x563615,_0x8b4b15,_0x1b9826){(_0x49a454<_0x563615||_0x8b4b15&&_0x8b4b15['heightRelevant']||_0x1b9826&&_0x1b9826['heightRelevant'])&&_0x438f52(_0x49a454,_0x563615,this['changes'],0x5);}};function _0x3e3d0b(_0x470773,_0x31c8c2){let _0x295678=_0x470773['getBoundingClientRect'](),_0x3b73e3=_0x470773['ownerDocument'],_0x2ace72=_0x3b73e3['defaultView']||window,_0xe26f01=Math['max'](0x0,_0x295678['left']),_0x228b73=Math['min'](_0x2ace72['innerWidth'],_0x295678['right']),_0x20d903=Math['max'](0x0,_0x295678['top']),_0x59ac14=Math['min'](_0x2ace72['innerHeight'],_0x295678['bottom']);for(let _0x264693=_0x470773['parentNode'];_0x264693&&_0x264693!=_0x3b73e3['body'];)if(0x1==_0x264693['nodeType']){let _0x3be9ef=_0x264693,_0x4ca571=window['getComputedStyle'](_0x3be9ef);if((_0x3be9ef['scrollHeight']>_0x3be9ef['clientHeight']||_0x3be9ef['scrollWidth']>_0x3be9ef['clientWidth'])&&'visible'!=_0x4ca571['overflow']){let _0x16d181=_0x3be9ef['getBoundingClientRect']();_0xe26f01=Math['max'](_0xe26f01,_0x16d181['left']),_0x228b73=Math['min'](_0x228b73,_0x16d181['right']),_0x20d903=Math['max'](_0x20d903,_0x16d181['top']),_0x59ac14=Math['min'](_0x264693==_0x470773['parentNode']?_0x2ace72['innerHeight']:_0x59ac14,_0x16d181['bottom']);}_0x264693='absolute'==_0x4ca571['position']||'fixed'==_0x4ca571['position']?_0x3be9ef['offsetParent']:_0x3be9ef['parentNode'];}else{if(0xb!=_0x264693['nodeType'])break;_0x264693=_0x264693['host'];}return{'left':_0xe26f01-_0x295678['left'],'right':Math['max'](_0xe26f01,_0x228b73)-_0x295678['left'],'top':_0x20d903-(_0x295678['top']+_0x31c8c2),'bottom':Math['max'](_0x20d903,_0x59ac14)-(_0x295678['top']+_0x31c8c2)};}function _0x421a63(_0x386da7,_0x4b7567){let _0x5053a4=_0x386da7['getBoundingClientRect']();return{'left':0x0,'right':_0x5053a4['right']-_0x5053a4['left'],'top':_0x4b7567,'bottom':_0x5053a4['bottom']-(_0x5053a4['top']+_0x4b7567)};}var _0x207f76=class{constructor(_0x21d0f3,_0x59d42d,_0x18dc9d,_0x3cfe94){this['from']=_0x21d0f3,this['to']=_0x59d42d,this['size']=_0x18dc9d,this['displaySize']=_0x3cfe94;}static['same'](_0x36d680,_0x2aa4d0){if(_0x36d680['length']!=_0x2aa4d0['length'])return!0x1;for(let _0x215562=0x0;_0x215562<_0x36d680['length'];_0x215562++){let _0x47f771=_0x36d680[_0x215562],_0x14aff1=_0x2aa4d0[_0x215562];if(_0x47f771['from']!=_0x14aff1['from']||_0x47f771['to']!=_0x14aff1['to']||_0x47f771['size']!=_0x14aff1['size'])return!0x1;}return!0x0;}['draw'](_0x322c0d,_0x4ef03d){return _0x18eb2e['replace']({'widget':new _0x364478(this['displaySize']*(_0x4ef03d?_0x322c0d['scaleY']:_0x322c0d['scaleX']),_0x4ef03d)})['range'](this['from'],this['to']);}},_0x364478=class extends _0x4016c2{constructor(_0x4b5dd9,_0x479b3b){super(),this['size']=_0x4b5dd9,this['vertical']=_0x479b3b;}['eq'](_0x7766db){return _0x7766db['size']==this['size']&&_0x7766db['vertical']==this['vertical'];}toDOM(){let _0x3320cc=document['createElement']('div');return this['vertical']?_0x3320cc['style']['height']=this['size']+'px':(_0x3320cc['style']['width']=this['size']+'px',_0x3320cc['style']['height']='2px',_0x3320cc['style']['display']='inline-block'),_0x3320cc;}get estimatedHeight(){return this['vertical']?this['size']:-0x1;}},_0x3f78c0=class{constructor(_0x281a23,_0x5c6d98){this['view']=_0x281a23,this['state']=_0x5c6d98,this['pixelViewport']={'left':0x0,'right':window['innerWidth'],'top':0x0,'bottom':0x0},this['inView']=!0x0,this['paddingTop']=0x0,this['paddingBottom']=0x0,this['contentDOMWidth']=0x0,this['contentDOMHeight']=0x0,this['editorHeight']=0x0,this['editorWidth']=0x0,this['scaleX']=0x1,this['scaleY']=0x1,this['scrollOffset']=0x0,this['scrolledToBottom']=!0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=_0x2866b0,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=_0xf0cb7b['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x158da8=_0x5c6d98['facet'](_0x285b26)['some'](_0x423c4e=>'function'!=typeof _0x423c4e&&'cm-lineWrapping'==_0x423c4e['class']);this['heightOracle']=new _0x6d5b12(_0x158da8),this['stateDeco']=_0x2e5221(_0x5c6d98),this['heightMap']=_0x3a8d5b['empty']()['applyChanges'](this['stateDeco'],_0x4293ea['empty'],this['heightOracle']['setDoc'](_0x5c6d98['doc']),[new _0x400e3e(0x0,0x0,0x0,_0x5c6d98['doc']['length'])]);for(let _0x463915=0x0;_0x463915<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x463915++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=_0x18eb2e['set'](this['lineGaps']['map'](_0x166d28=>_0x166d28['draw'](this,!0x1))),this['scrollParent']=_0x281a23['scrollDOM'],this['computeVisibleRanges']();}updateForViewport(){let _0x31581=[this['viewport']],{main:_0x9a9f9a}=this['state']['selection'];for(let _0x5da44f=0x0;_0x5da44f<=0x1;_0x5da44f++){let _0x595a91=_0x5da44f?_0x9a9f9a['head']:_0x9a9f9a['anchor'];if(!_0x31581['some'](({from:_0x1be57f,to:_0x319f6a})=>_0x595a91>=_0x1be57f&&_0x595a91<=_0x319f6a)){let {from:_0x17d303,to:_0x464090}=this['lineBlockAt'](_0x595a91);_0x31581['push'](new _0x28083a(_0x17d303,_0x464090));}}return this['viewports']=_0x31581['sort']((_0xbbe565,_0x403216)=>_0xbbe565['from']-_0x403216['from']),this['updateScaler']();}updateScaler(){let _0x5e22e1=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x2866b0:new _0x1323d5(this['heightOracle'],this['heightMap'],this['viewports']),_0x5e22e1['eq'](this['scaler'])?0x0:0x2;}updateViewportLines(){this['viewportLines']=[],this['heightMap']['forEachLine'](this['viewport']['from'],this['viewport']['to'],this['heightOracle']['setDoc'](this['state']['doc']),0x0,0x0,_0x2d171c=>{this['viewportLines']['push'](_0x429b73(_0x2d171c,this['scaler']));});}update(_0x409935,_0x23bd7e=null){this['state']=_0x409935['state'];let _0x3e28fe=this['stateDeco'];this['stateDeco']=_0x2e5221(this['state']);let _0x5d6ace=_0x409935['changedRanges'],_0x4c5cb6=_0x400e3e['extendWithRanges'](_0x5d6ace,function(_0x29b95d,_0x121fe6,_0x16ab69){let _0x503963=new _0x351665();return _0x53c81c['compare'](_0x29b95d,_0x121fe6,_0x16ab69,_0x503963,0x0),_0x503963['changes'];}(_0x3e28fe,this['stateDeco'],_0x409935?_0x409935['changes']:_0x598fb2['empty'](this['state']['doc']['length']))),_0x3dcd6b=this['heightMap']['height'],_0x4a72a1=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollOffset']);_0x7b0a51(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x409935['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x4c5cb6),(this['heightMap']['height']!=_0x3dcd6b||_0x3a5895)&&(_0x409935['flags']|=0x2),_0x4a72a1?(this['scrollAnchorPos']=_0x409935['changes']['mapPos'](_0x4a72a1['from'],-0x1),this['scrollAnchorHeight']=_0x4a72a1['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x3dcd6b);let _0x5130d5=_0x4c5cb6['length']?this['mapViewport'](this['viewport'],_0x409935['changes']):this['viewport'];(_0x23bd7e&&(_0x23bd7e['range']['head']<_0x5130d5['from']||_0x23bd7e['range']['head']>_0x5130d5['to'])||!this['viewportIsAppropriate'](_0x5130d5))&&(_0x5130d5=this['getViewport'](0x0,_0x23bd7e));let _0xcca54c=_0x5130d5['from']!=this['viewport']['from']||_0x5130d5['to']!=this['viewport']['to'];this['viewport']=_0x5130d5,_0x409935['flags']|=this['updateForViewport'](),(_0xcca54c||!_0x409935['changes']['empty']||0x2&_0x409935['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x409935['changes']))),_0x409935['flags']|=this['computeVisibleRanges'](_0x409935['changes']),_0x23bd7e&&(this['scrollTarget']=_0x23bd7e),!this['mustEnforceCursorAssoc']&&(_0x409935['selectionSet']||_0x409935['focusChanged'])&&_0x409935['view']['lineWrapping']&&_0x409935['state']['selection']['main']['empty']&&_0x409935['state']['selection']['main']['assoc']&&!_0x409935['state']['facet'](_0x466007)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](){let {view:_0x1ce758}=this,_0x1ca8c7=_0x1ce758['contentDOM'],_0x136545=window['getComputedStyle'](_0x1ca8c7),_0x3a5032=this['heightOracle'],_0x1a06cd=_0x136545['whiteSpace'];this['defaultTextDirection']='rtl'==_0x136545['direction']?_0xf0cb7b['RTL']:_0xf0cb7b['LTR'];let _0x13a5e5=this['heightOracle']['mustRefreshForWrapping'](_0x1a06cd)||'refresh'===this['mustMeasureContent'],_0x387fe=_0x1ca8c7['getBoundingClientRect'](),_0x586cc6=_0x13a5e5||this['mustMeasureContent']||this['contentDOMHeight']!=_0x387fe['height'];this['contentDOMHeight']=_0x387fe['height'],this['mustMeasureContent']=!0x1;let _0x400735=0x0,_0x3c6923=0x0;if(_0x387fe['width']&&_0x387fe['height']){let {scaleX:_0x22bcc0,scaleY:_0x434f6e}=_0x41897d(_0x1ca8c7,_0x387fe);(_0x22bcc0>0.005&&Math['abs'](this['scaleX']-_0x22bcc0)>0.005||_0x434f6e>0.005&&Math['abs'](this['scaleY']-_0x434f6e)>0.005)&&(this['scaleX']=_0x22bcc0,this['scaleY']=_0x434f6e,_0x400735|=0x10,_0x13a5e5=_0x586cc6=!0x0);}let _0x289f69=(parseInt(_0x136545['paddingTop'])||0x0)*this['scaleY'],_0x1b5a30=(parseInt(_0x136545['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x289f69&&this['paddingBottom']==_0x1b5a30||(this['paddingTop']=_0x289f69,this['paddingBottom']=_0x1b5a30,_0x400735|=0x12),this['editorWidth']!=_0x1ce758['scrollDOM']['clientWidth']&&(_0x3a5032['lineWrapping']&&(_0x586cc6=!0x0),this['editorWidth']=_0x1ce758['scrollDOM']['clientWidth'],_0x400735|=0x10);let _0x118f35=_0x4f64b9(this['view']['contentDOM'],!0x1)['y'];_0x118f35!=this['scrollParent']&&(this['scrollParent']=_0x118f35,this['scrollAnchorHeight']=-0x1,this['scrollOffset']=0x0);let _0x17d6bc=this['getScrollOffset']();this['scrollOffset']!=_0x17d6bc&&(this['scrollAnchorHeight']=-0x1,this['scrollOffset']=_0x17d6bc),this['scrolledToBottom']=_0x1a8f73(this['scrollParent']||_0x1ce758['win']);let _0x592ec0=(this['printing']?_0x421a63:_0x3e3d0b)(_0x1ca8c7,this['paddingTop']),_0x3cc212=_0x592ec0['top']-this['pixelViewport']['top'],_0x331589=_0x592ec0['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x592ec0;let _0x42383d=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x42383d!=this['inView']&&(this['inView']=_0x42383d,_0x42383d&&(_0x586cc6=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x1d96c8){let _0x4a5219=_0x1d96c8['getBoundingClientRect'](),_0x918156=_0x1d96c8['ownerDocument']['defaultView']||window;return _0x4a5219['left']<_0x918156['innerWidth']&&_0x4a5219['right']>0x0&&_0x4a5219['top']<_0x918156['innerHeight']&&_0x4a5219['bottom']>0x0;}(_0x1ce758['dom']))return 0x0;let _0x242148=_0x387fe['width'];if(this['contentDOMWidth']==_0x242148&&this['editorHeight']==_0x1ce758['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x387fe['width'],this['editorHeight']=_0x1ce758['scrollDOM']['clientHeight'],_0x400735|=0x10),_0x586cc6){let _0x202437=_0x1ce758['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x3a5032['mustRefreshForHeights'](_0x202437)&&(_0x13a5e5=!0x0),_0x13a5e5||_0x3a5032['lineWrapping']&&Math['abs'](_0x242148-this['contentDOMWidth'])>_0x3a5032['charWidth']){let {lineHeight:_0x421ec9,charWidth:_0x4c528f,textHeight:_0xe3863a}=_0x1ce758['docView']['measureTextSize']();_0x13a5e5=_0x421ec9>0x0&&_0x3a5032['refresh'](_0x1a06cd,_0x421ec9,_0x4c528f,_0xe3863a,Math['max'](0x5,_0x242148/_0x4c528f),_0x202437),_0x13a5e5&&(_0x1ce758['docView']['minWidth']=0x0,_0x400735|=0x10);}_0x3cc212>0x0&&_0x331589>0x0?_0x3c6923=Math['max'](_0x3cc212,_0x331589):_0x3cc212<0x0&&_0x331589<0x0&&(_0x3c6923=Math['min'](_0x3cc212,_0x331589)),_0x7b0a51();for(let _0x166a7c of this['viewports']){let _0x4561dd=_0x166a7c['from']==this['viewport']['from']?_0x202437:_0x1ce758['docView']['measureVisibleLineHeights'](_0x166a7c);this['heightMap']=(_0x13a5e5?_0x3a8d5b['empty']()['applyChanges'](this['stateDeco'],_0x4293ea['empty'],this['heightOracle'],[new _0x400e3e(0x0,0x0,0x0,_0x1ce758['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x3a5032,0x0,_0x13a5e5,new _0x116f13(_0x166a7c['from'],_0x4561dd));}_0x3a5895&&(_0x400735|=0x2);}let _0x489eac=!this['viewportIsAppropriate'](this['viewport'],_0x3c6923)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x489eac&&(0x2&_0x400735&&(_0x400735|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x3c6923,this['scrollTarget']),_0x400735|=this['updateForViewport']()),(0x2&_0x400735||_0x489eac)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x13a5e5?[]:this['lineGaps'],_0x1ce758)),_0x400735|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x1ce758['docView']['enforceCursorAssoc']()),_0x400735;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get visibleBottom(){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}getViewport(_0x1465ca,_0x275293){let _0x1645ab=0.5-Math['max'](-0.5,Math['min'](0.5,_0x1465ca/0x3e8/0x2)),_0x257915=this['heightMap'],_0x8003d3=this['heightOracle'],{visibleTop:_0x313fad,visibleBottom:_0x2e1fd6}=this,_0x158ebb=new _0x28083a(_0x257915['lineAt'](_0x313fad-0x3e8*_0x1645ab,_0x3e72c8['ByHeight'],_0x8003d3,0x0,0x0)['from'],_0x257915['lineAt'](_0x2e1fd6+0x3e8*(0x1-_0x1645ab),_0x3e72c8['ByHeight'],_0x8003d3,0x0,0x0)['to']);if(_0x275293){let {head:_0x489783}=_0x275293['range'];if(_0x489783<_0x158ebb['from']||_0x489783>_0x158ebb['to']){let _0x571351,_0x51a601=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x416f04=_0x257915['lineAt'](_0x489783,_0x3e72c8['ByPos'],_0x8003d3,0x0,0x0);_0x571351='center'==_0x275293['y']?(_0x416f04['top']+_0x416f04['bottom'])/0x2-_0x51a601/0x2:'start'==_0x275293['y']||'nearest'==_0x275293['y']&&_0x489783<_0x158ebb['from']?_0x416f04['top']:_0x416f04['bottom']-_0x51a601,_0x158ebb=new _0x28083a(_0x257915['lineAt'](_0x571351-0x1f4,_0x3e72c8['ByHeight'],_0x8003d3,0x0,0x0)['from'],_0x257915['lineAt'](_0x571351+_0x51a601+0x1f4,_0x3e72c8['ByHeight'],_0x8003d3,0x0,0x0)['to']);}}return _0x158ebb;}mapViewport(_0x10827e,_0x32113b){let _0x3db939=_0x32113b['mapPos'](_0x10827e['from'],-0x1),_0x1c2f34=_0x32113b['mapPos'](_0x10827e['to'],0x1);return new _0x28083a(this['heightMap']['lineAt'](_0x3db939,_0x3e72c8['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x1c2f34,_0x3e72c8['ByPos'],this['heightOracle'],0x0,0x0)['to']);}viewportIsAppropriate({from:_0x2f0441,to:_0x492ed2},_0x146cc1=0x0){if(!this['inView'])return!0x0;let {top:_0x41f0a4}=this['heightMap']['lineAt'](_0x2f0441,_0x3e72c8['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x356373}=this['heightMap']['lineAt'](_0x492ed2,_0x3e72c8['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x18ef5c,visibleBottom:_0x428f44}=this;return(0x0==_0x2f0441||_0x41f0a4<=_0x18ef5c-Math['max'](0xa,Math['min'](-_0x146cc1,0xfa)))&&(_0x492ed2==this['state']['doc']['length']||_0x356373>=_0x428f44+Math['max'](0xa,Math['min'](_0x146cc1,0xfa)))&&_0x41f0a4>_0x18ef5c-0x7d0&&_0x356373<_0x428f44+0x7d0;}['mapLineGaps'](_0x365bc5,_0x7e4146){if(!_0x365bc5['length']||_0x7e4146['empty'])return _0x365bc5;let _0x318c68=[];for(let _0x2c0adc of _0x365bc5)_0x7e4146['touchesRange'](_0x2c0adc['from'],_0x2c0adc['to'])||_0x318c68['push'](new _0x207f76(_0x7e4146['mapPos'](_0x2c0adc['from']),_0x7e4146['mapPos'](_0x2c0adc['to']),_0x2c0adc['size'],_0x2c0adc['displaySize']));return _0x318c68;}['ensureLineGaps'](_0x1c7b35,_0x552e40){let _0x24fd80=this['heightOracle']['lineWrapping'],_0x498ea5=_0x24fd80?0x2710:0x7d0,_0x2d94ce=_0x498ea5>>0x1,_0x37f5fc=_0x498ea5<<0x1;if(this['defaultTextDirection']!=_0xf0cb7b['LTR']&&!_0x24fd80)return[];let _0x11e33f=[],_0xbd8d04=(_0x1e55e8,_0x1d83c2,_0x85e86f,_0x2b8c0c)=>{if(_0x1d83c2-_0x1e55e8<_0x2d94ce)return;let _0x5deef7=this['state']['selection']['main'],_0xac4d0a=[_0x5deef7['from']];_0x5deef7['empty']||_0xac4d0a['push'](_0x5deef7['to']);for(let _0xe91322 of _0xac4d0a)if(_0xe91322>_0x1e55e8&&_0xe91322<_0x1d83c2)return _0xbd8d04(_0x1e55e8,_0xe91322-0xa,_0x85e86f,_0x2b8c0c),void _0xbd8d04(_0xe91322+0xa,_0x1d83c2,_0x85e86f,_0x2b8c0c);let _0x17e633=function(_0x5af779,_0x1f20a9){for(let _0x375e6c of _0x5af779)if(_0x1f20a9(_0x375e6c))return _0x375e6c;}(_0x1c7b35,_0x203263=>_0x203263['from']>=_0x85e86f['from']&&_0x203263['to']<=_0x85e86f['to']&&Math['abs'](_0x203263['from']-_0x1e55e8)<_0x2d94ce&&Math['abs'](_0x203263['to']-_0x1d83c2)<_0x2d94ce&&!_0xac4d0a['some'](_0x431cf0=>_0x203263['from']<_0x431cf0&&_0x203263['to']>_0x431cf0));if(!_0x17e633){if(_0x1d83c2<_0x85e86f['to']&&_0x552e40&&_0x24fd80&&_0x552e40['visibleRanges']['some'](_0x5834fa=>_0x5834fa['from']<=_0x1d83c2&&_0x5834fa['to']>=_0x1d83c2)){let _0x2829c8=_0x552e40['moveToLineBoundary'](_0x3bda1f['cursor'](_0x1d83c2),!0x1,!0x0)['head'];_0x2829c8>_0x1e55e8&&(_0x1d83c2=_0x2829c8);}let _0x52d367=this['gapSize'](_0x85e86f,_0x1e55e8,_0x1d83c2,_0x2b8c0c);_0x17e633=new _0x207f76(_0x1e55e8,_0x1d83c2,_0x52d367,_0x24fd80||_0x52d367<0x1e8480?_0x52d367:0x1e8480);}_0x11e33f['push'](_0x17e633);},_0x52e541=_0x8f36f2=>{if(_0x8f36f2['length']<_0x37f5fc||_0x8f36f2['type']!=_0xc9238a['Text'])return;let _0x520b63=function(_0x1008e0,_0x147d13,_0x5a4d77){let _0x3b7862=[],_0x1591f9=_0x1008e0,_0x4d650b=0x0;return _0x53c81c['spans'](_0x5a4d77,_0x1008e0,_0x147d13,{'span'(){},'point'(_0x1c8014,_0x67c57b){_0x1c8014>_0x1591f9&&(_0x3b7862['push']({'from':_0x1591f9,'to':_0x1c8014}),_0x4d650b+=_0x1c8014-_0x1591f9),_0x1591f9=_0x67c57b;}},0x14),_0x1591f9<_0x147d13&&(_0x3b7862['push']({'from':_0x1591f9,'to':_0x147d13}),_0x4d650b+=_0x147d13-_0x1591f9),{'total':_0x4d650b,'ranges':_0x3b7862};}(_0x8f36f2['from'],_0x8f36f2['to'],this['stateDeco']);if(_0x520b63['total']<_0x37f5fc)return;let _0x2953b4,_0x170374,_0x3ecb5d=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x24fd80){let _0x144615,_0x1955cd,_0x19951c=_0x498ea5/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x3ecb5d){let _0x47590b=tL(_0x520b63,_0x3ecb5d),_0xb8f219=((this['visibleBottom']-this['visibleTop'])/0x2+_0x19951c)/_0x8f36f2['height'];_0x144615=_0x47590b-_0xb8f219,_0x1955cd=_0x47590b+_0xb8f219;}else _0x144615=(this['visibleTop']-_0x8f36f2['top']-_0x19951c)/_0x8f36f2['height'],_0x1955cd=(this['visibleBottom']-_0x8f36f2['top']+_0x19951c)/_0x8f36f2['height'];_0x2953b4=_0x2bb6f2(_0x520b63,_0x144615),_0x170374=_0x2bb6f2(_0x520b63,_0x1955cd);}else{let _0x28d386=_0x520b63['total']*this['heightOracle']['charWidth'],_0x3c52ca=_0x498ea5*this['heightOracle']['charWidth'],_0x2c8a7d=0x0;if(_0x28d386>0x1e8480){for(let _0x11e702 of _0x1c7b35)_0x11e702['from']>=_0x8f36f2['from']&&_0x11e702['from']<_0x8f36f2['to']&&_0x11e702['size']!=_0x11e702['displaySize']&&_0x11e702['from']*this['heightOracle']['charWidth']+_0x2c8a7d<this['pixelViewport']['left']&&(_0x2c8a7d=_0x11e702['size']-_0x11e702['displaySize']);}let _0x799e5,_0x5bc397,_0x2f3346=this['pixelViewport']['left']+_0x2c8a7d,_0xa61d77=this['pixelViewport']['right']+_0x2c8a7d;if(null!=_0x3ecb5d){let _0x3a3917=tL(_0x520b63,_0x3ecb5d),_0x4a27b6=((_0xa61d77-_0x2f3346)/0x2+_0x3c52ca)/_0x28d386;_0x799e5=_0x3a3917-_0x4a27b6,_0x5bc397=_0x3a3917+_0x4a27b6;}else _0x799e5=(_0x2f3346-_0x3c52ca)/_0x28d386,_0x5bc397=(_0xa61d77+_0x3c52ca)/_0x28d386;_0x2953b4=_0x2bb6f2(_0x520b63,_0x799e5),_0x170374=_0x2bb6f2(_0x520b63,_0x5bc397);}_0x2953b4>_0x8f36f2['from']&&_0xbd8d04(_0x8f36f2['from'],_0x2953b4,_0x8f36f2,_0x520b63),_0x170374<_0x8f36f2['to']&&_0xbd8d04(_0x170374,_0x8f36f2['to'],_0x8f36f2,_0x520b63);};for(let _0x149b62 of this['viewportLines'])Array['isArray'](_0x149b62['type'])?_0x149b62['type']['forEach'](_0x52e541):_0x52e541(_0x149b62);return _0x11e33f;}['gapSize'](_0x242d41,_0x366a58,_0x2f7dfa,_0x366b1f){let _0x3e1b10=tL(_0x366b1f,_0x2f7dfa)-tL(_0x366b1f,_0x366a58);return this['heightOracle']['lineWrapping']?_0x242d41['height']*_0x3e1b10:_0x366b1f['total']*this['heightOracle']['charWidth']*_0x3e1b10;}updateLineGaps(_0x402341){_0x207f76['same'](_0x402341,this['lineGaps'])||(this['lineGaps']=_0x402341,this['lineGapDeco']=_0x18eb2e['set'](_0x402341['map'](_0x1f32bf=>_0x1f32bf['draw'](this,this['heightOracle']['lineWrapping']))));}computeVisibleRanges(_0x4a863f){let _0x336ab0=this['stateDeco'];this['lineGaps']['length']&&(_0x336ab0=_0x336ab0['concat'](this['lineGapDeco']));let _0x4e0212=[];_0x53c81c['spans'](_0x336ab0,this['viewport']['from'],this['viewport']['to'],{'span'(_0x26e2b0,_0x83eb19){_0x4e0212['push']({'from':_0x26e2b0,'to':_0x83eb19});},'point'(){}},0x14);let _0x563d4c=0x0;if(_0x4e0212['length']!=this['visibleRanges']['length'])_0x563d4c=0xc;else for(let _0x1fdba7=0x0;_0x1fdba7<_0x4e0212['length']&&!(0x8&_0x563d4c);_0x1fdba7++){let _0x8c9840=this['visibleRanges'][_0x1fdba7],_0x4262c5=_0x4e0212[_0x1fdba7];_0x8c9840['from']==_0x4262c5['from']&&_0x8c9840['to']==_0x4262c5['to']||(_0x563d4c|=0x4,_0x4a863f&&_0x4a863f['mapPos'](_0x8c9840['from'],-0x1)==_0x4262c5['from']&&_0x4a863f['mapPos'](_0x8c9840['to'],0x1)==_0x4262c5['to']||(_0x563d4c|=0x8));}return this['visibleRanges']=_0x4e0212,_0x563d4c;}lineBlockAt(_0x29efe2){return _0x29efe2>=this['viewport']['from']&&_0x29efe2<=this['viewport']['to']&&this['viewportLines']['find'](_0x112399=>_0x112399['from']<=_0x29efe2&&_0x112399['to']>=_0x29efe2)||_0x429b73(this['heightMap']['lineAt'](_0x29efe2,_0x3e72c8['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}lineBlockAtHeight(_0xba95d5){return _0xba95d5>=this['viewportLines'][0x0]['top']&&_0xba95d5<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x562837=>_0x562837['top']<=_0xba95d5&&_0x562837['bottom']>=_0xba95d5)||_0x429b73(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0xba95d5),_0x3e72c8['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}getScrollOffset(){return(this['scrollParent']==this['view']['scrollDOM']?this['scrollParent']['scrollTop']:(this['scrollParent']?this['scrollParent']['getBoundingClientRect']()['top']:0x0)-this['view']['contentDOM']['getBoundingClientRect']()['top'])*this['scaleY'];}scrollAnchorAt(_0x14c740){let _0xf3d36=this['lineBlockAtHeight'](_0x14c740+0x8);return _0xf3d36['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x14c740>0xc8?_0xf3d36:this['viewportLines'][0x0];}elementAtHeight(_0x34f25a){return _0x429b73(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x34f25a),this['heightOracle'],0x0,0x0),this['scaler']);}get docHeight(){return this['scaler']['toDOM'](this['heightMap']['height']);}get contentHeight(){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}},_0x28083a=class{constructor(_0x39a965,_0x4d88a2){this['from']=_0x39a965,this['to']=_0x4d88a2;}};function _0x2bb6f2({total:_0x392500,ranges:_0x28e7fe},_0x3af506){if(_0x3af506<=0x0)return _0x28e7fe[0x0]['from'];if(_0x3af506>=0x1)return _0x28e7fe[_0x28e7fe['length']-0x1]['to'];let _0x894c04=Math['floor'](_0x392500*_0x3af506);for(let _0x409103=0x0;;_0x409103++){let {from:_0x1db1b4,to:_0x2cb98e}=_0x28e7fe[_0x409103],_0x4a33cc=_0x2cb98e-_0x1db1b4;if(_0x894c04<=_0x4a33cc)return _0x1db1b4+_0x894c04;_0x894c04-=_0x4a33cc;}}function tL(_0x37a229,_0x2aa690){let _0x5dbb01=0x0;for(let {from:_0x57bb7d,to:_0x1888d5}of _0x37a229['ranges']){if(_0x2aa690<=_0x1888d5){_0x5dbb01+=_0x2aa690-_0x57bb7d;break;}_0x5dbb01+=_0x1888d5-_0x57bb7d;}return _0x5dbb01/_0x37a229['total'];}const _0x2866b0={'toDOM':_0xa70df2=>_0xa70df2,'fromDOM':_0x4c84ca=>_0x4c84ca,'scale':0x1,'eq'(_0xac6255){return _0xac6255==this;}};function _0x2e5221(_0x586eb7){let _0x195293=_0x586eb7['facet'](_0x255d5c)['filter'](_0x543abd=>'function'!=typeof _0x543abd),_0x2b3326=_0x586eb7['facet'](tN)['filter'](_0x3a7044=>'function'!=typeof _0x3a7044);return _0x2b3326['length']&&_0x195293['push'](_0x53c81c['join'](_0x2b3326)),_0x195293;}var _0x1323d5=class _0x2ddd1a{constructor(_0x1c3bbd,_0x184b00,_0x2f67c4){let _0x2ea9b8=0x0,_0x5cf58c=0x0,_0x438a73=0x0;this['viewports']=_0x2f67c4['map'](({from:_0x4fd4ba,to:_0x5e193a})=>{let _0x40dd1f=_0x184b00['lineAt'](_0x4fd4ba,_0x3e72c8['ByPos'],_0x1c3bbd,0x0,0x0)['top'],_0x262fd0=_0x184b00['lineAt'](_0x5e193a,_0x3e72c8['ByPos'],_0x1c3bbd,0x0,0x0)['bottom'];return _0x2ea9b8+=_0x262fd0-_0x40dd1f,{'from':_0x4fd4ba,'to':_0x5e193a,'top':_0x40dd1f,'bottom':_0x262fd0,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x2ea9b8)/(_0x184b00['height']-_0x2ea9b8);for(let _0x23d848 of this['viewports'])_0x23d848['domTop']=_0x438a73+(_0x23d848['top']-_0x5cf58c)*this['scale'],_0x438a73=_0x23d848['domBottom']=_0x23d848['domTop']+(_0x23d848['bottom']-_0x23d848['top']),_0x5cf58c=_0x23d848['bottom'];}toDOM(_0xd898a5){for(let _0xba06e6=0x0,_0x19af20=0x0,_0xe91217=0x0;;_0xba06e6++){let _0x4b2d47=_0xba06e6<this['viewports']['length']?this['viewports'][_0xba06e6]:null;if(!_0x4b2d47||_0xd898a5<_0x4b2d47['top'])return _0xe91217+(_0xd898a5-_0x19af20)*this['scale'];if(_0xd898a5<=_0x4b2d47['bottom'])return _0x4b2d47['domTop']+(_0xd898a5-_0x4b2d47['top']);_0x19af20=_0x4b2d47['bottom'],_0xe91217=_0x4b2d47['domBottom'];}}['fromDOM'](_0x363f62){for(let _0x563fea=0x0,_0x457d0c=0x0,_0x27edba=0x0;;_0x563fea++){let _0x35672b=_0x563fea<this['viewports']['length']?this['viewports'][_0x563fea]:null;if(!_0x35672b||_0x363f62<_0x35672b['domTop'])return _0x457d0c+(_0x363f62-_0x27edba)/this['scale'];if(_0x363f62<=_0x35672b['domBottom'])return _0x35672b['top']+(_0x363f62-_0x35672b['domTop']);_0x457d0c=_0x35672b['bottom'],_0x27edba=_0x35672b['domBottom'];}}['eq'](_0x10aae0){return _0x10aae0 instanceof _0x2ddd1a&&(this['scale']==_0x10aae0['scale']&&this['viewports']['length']==_0x10aae0['viewports']['length']&&this['viewports']['every']((_0x4714e1,_0x4405f2)=>_0x4714e1['from']==_0x10aae0['viewports'][_0x4405f2]['from']&&_0x4714e1['to']==_0x10aae0['viewports'][_0x4405f2]['to']));}};function _0x429b73(_0x12803f,_0x59064f){if(0x1==_0x59064f['scale'])return _0x12803f;let _0x1e0639=_0x59064f['toDOM'](_0x12803f['top']),_0x9c7db2=_0x59064f['toDOM'](_0x12803f['bottom']);return new _0x31c28d(_0x12803f['from'],_0x12803f['length'],_0x1e0639,_0x9c7db2-_0x1e0639,Array['isArray'](_0x12803f['_content'])?_0x12803f['_content']['map'](_0x10029d=>_0x429b73(_0x10029d,_0x59064f)):_0x12803f['_content']);}const _0x3cb3f4=_0x2658c2['define']({'combine':_0xe58a9c=>_0xe58a9c['join']('\x20')}),_0x39355e=_0x2658c2['define']({'combine':_0x5ca708=>_0x5ca708['indexOf'](!0x0)>-0x1}),_0x4b77f3=_0x582da9['newName'](),_0x3ab49e=_0x582da9['newName'](),_0x22a7ec=_0x582da9['newName'](),_0x7facf3={'&light':'.'+_0x3ab49e,'&dark':'.'+_0x22a7ec};function _0x18ba29(_0x2dae17,_0x54baf2,_0x49bec7){return new _0x582da9(_0x54baf2,{'finish':_0x1c2637=>/&/['test'](_0x1c2637)?_0x1c2637['replace'](/&\w*/,_0x23cc04=>{if('&'==_0x23cc04)return _0x2dae17;if(!_0x49bec7||!_0x49bec7[_0x23cc04])throw new RangeError('Unsupported\x20selector:\x20'+_0x23cc04);return _0x49bec7[_0x23cc04];}):_0x2dae17+'\x20'+_0x1c2637});}const _0x1fdd98=_0x18ba29('.'+_0x4b77f3,{'&':{'position':'relative\x20!important','boxSizing':'border-box','&.cm-focused':{'outline':'1px\x20dotted\x20#212121'},'display':'flex\x20!important','flexDirection':'column'},'.cm-scroller':{'display':'flex\x20!important','alignItems':'flex-start\x20!important','fontFamily':'monospace','lineHeight':1.4,'height':'100%','overflowX':'auto','position':'relative','zIndex':0x0,'overflowAnchor':'none'},'.cm-content':{'margin':0x0,'flexGrow':0x2,'flexShrink':0x0,'display':'block','whiteSpace':'pre','wordWrap':'normal','boxSizing':'border-box','minHeight':'100%','padding':'4px\x200','outline':'none','&[contenteditable=true]':{'WebkitUserModify':'read-write-plaintext-only'}},'.cm-lineWrapping':{'whiteSpace_fallback':'pre-wrap','whiteSpace':'break-spaces','wordBreak':'break-word','overflowWrap':'anywhere','flexShrink':0x1},'&light\x20.cm-content':{'caretColor':'black'},'&dark\x20.cm-content':{'caretColor':'white'},'.cm-line':{'display':'block','padding':'0\x202px\x200\x206px'},'.cm-layer':{'userSelect':'none','position':'absolute','left':0x0,'top':0x0,'contain':'size\x20style','&\x20>\x20*':{'position':'absolute'}},'&light\x20.cm-selectionBackground':{'background':'#d9d9d9'},'&dark\x20.cm-selectionBackground':{'background':'#222'},'&light.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#d7d4f0'},'&dark.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#233'},'.cm-cursorLayer':{'pointerEvents':'none'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer':{'animation':'steps(1)\x20cm-blink\x201.2s\x20infinite'},'@keyframes\x20cm-blink':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'@keyframes\x20cm-blink2':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'.cm-cursor,\x20.cm-dropCursor':{'borderLeft':'1.2px\x20solid\x20black','marginLeft':'-0.6px','pointerEvents':'none'},'.cm-cursor':{'display':'none'},'&dark\x20.cm-cursor':{'borderLeftColor':'#ddd'},'.cm-selectionHandle':{'backgroundColor':'currentColor','width':'1.5px'},'.cm-selectionHandle-start::before,\x20.cm-selectionHandle-end::before':{'content':'\x22\x22','backgroundColor':'inherit','borderRadius':'50%','width':'8px','height':'8px','position':'absolute','left':'-3.25px'},'.cm-selectionHandle-start::before':{'top':'-8px'},'.cm-selectionHandle-end::before':{'bottom':'-8px'},'.cm-dropCursor':{'position':'absolute'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer\x20.cm-cursor':{'display':'block'},'.cm-iso':{'unicodeBidi':'isolate'},'.cm-announced':{'position':'fixed','top':'-10000px'},'@media\x20print':{'.cm-announced':{'display':'none'}},'&light\x20.cm-activeLine':{'backgroundColor':'#cceeff44'},'&dark\x20.cm-activeLine':{'backgroundColor':'#99eeff33'},'&light\x20.cm-specialChar':{'color':'red'},'&dark\x20.cm-specialChar':{'color':'#f78'},'.cm-gutters':{'flexShrink':0x0,'display':'flex','height':'100%','boxSizing':'border-box','zIndex':0xc8},'.cm-gutters-before':{'insetInlineStart':0x0},'.cm-gutters-after':{'insetInlineEnd':0x0},'&light\x20.cm-gutters':{'backgroundColor':'#f5f5f5','color':'#6c6c6c','border':'0px\x20solid\x20#ddd','&.cm-gutters-before':{'borderRightWidth':'1px'},'&.cm-gutters-after':{'borderLeftWidth':'1px'}},'&dark\x20.cm-gutters':{'backgroundColor':'#333338','color':'#ccc'},'.cm-gutter':{'display':'flex\x20!important','flexDirection':'column','flexShrink':0x0,'boxSizing':'border-box','minHeight':'100%','overflow':'hidden'},'.cm-gutterElement':{'boxSizing':'border-box'},'.cm-lineNumbers\x20.cm-gutterElement':{'padding':'0\x203px\x200\x205px','minWidth':'20px','textAlign':'right','whiteSpace':'nowrap'},'&light\x20.cm-activeLineGutter':{'backgroundColor':'#e2f2ff'},'&dark\x20.cm-activeLineGutter':{'backgroundColor':'#222227'},'.cm-panels':{'boxSizing':'border-box','position':'sticky','left':0x0,'right':0x0,'zIndex':0x12c},'&light\x20.cm-panels':{'backgroundColor':'#f5f5f5','color':'black'},'&light\x20.cm-panels-top':{'borderBottom':'1px\x20solid\x20#ddd'},'&light\x20.cm-panels-bottom':{'borderTop':'1px\x20solid\x20#ddd'},'&dark\x20.cm-panels':{'backgroundColor':'#333338','color':'white'},'.cm-dialog':{'padding':'2px\x2019px\x204px\x206px','position':'relative','&\x20label':{'fontSize':'80%'}},'.cm-dialog-close':{'position':'absolute','top':'3px','right':'4px','backgroundColor':'inherit','border':'none','font':'inherit','fontSize':'14px','padding':'0'},'.cm-tab':{'display':'inline-block','overflow':'hidden','verticalAlign':'bottom'},'.cm-widgetBuffer':{'verticalAlign':'text-top','height':'1em','width':0x0,'display':'inline'},'.cm-placeholder':{'color':'#888','display':'inline-block','verticalAlign':'top','userSelect':'none'},'.cm-highlightSpace':{'backgroundImage':'radial-gradient(circle\x20at\x2050%\x2055%,\x20#aaa\x2020%,\x20transparent\x205%)','backgroundPosition':'center'},'.cm-highlightTab':{'backgroundImage':'url(\x27data:image/svg+xml,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x22200\x22\x20height=\x2220\x22><path\x20stroke=\x22%23888\x22\x20stroke-width=\x221\x22\x20fill=\x22none\x22\x20d=\x22M1\x2010H196L190\x205M190\x2015L196\x2010M197\x204L197\x2016\x22/></svg>\x27)','backgroundSize':'auto\x20100%','backgroundPosition':'right\x2090%','backgroundRepeat':'no-repeat'},'.cm-trailingSpace':{'backgroundColor':'#ff332255'},'.cm-button':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','padding':'.2em\x201em','borderRadius':'1px'},'&light\x20.cm-button':{'backgroundImage':'linear-gradient(#eff1f5,\x20#d9d9df)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#b4b4b4,\x20#d0d3d6)'}},'&dark\x20.cm-button':{'backgroundImage':'linear-gradient(#393939,\x20#111)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#111,\x20#333)'}},'.cm-textfield':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','border':'1px\x20solid\x20silver','padding':'.2em\x20.5em'},'&light\x20.cm-textfield':{'backgroundColor':'white'},'&dark\x20.cm-textfield':{'border':'1px\x20solid\x20#555','backgroundColor':'inherit'}},_0x7facf3),_0x3c8c39={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},_0x1e2044=_0x49766a['ie']&&_0x49766a['ie_version']<=0xb;var _0x1f8833=class{constructor(_0xb598b8){this['view']=_0xb598b8,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new tP(),this['selectionChanged']=!0x1,this['delayedFlush']=-0x1,this['resizeTimeout']=-0x1,this['queue']=[],this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1,this['lastChange']=0x0,this['scrollTargets']=[],this['intersection']=null,this['resizeScroll']=null,this['intersecting']=!0x1,this['gapIntersection']=null,this['gaps']=[],this['printQuery']=null,this['parentCheck']=-0x1,this['dom']=_0xb598b8['contentDOM'],this['observer']=new MutationObserver(_0x8e4461=>{for(let _0x2e959f of _0x8e4461)this['queue']['push'](_0x2e959f);(_0x49766a['ie']&&_0x49766a['ie_version']<=0xb||_0x49766a['ios']&&_0xb598b8['composing'])&&_0x8e4461['some'](_0x55eb2d=>'childList'==_0x55eb2d['type']&&_0x55eb2d['removedNodes']['length']||'characterData'==_0x55eb2d['type']&&_0x55eb2d['oldValue']['length']>_0x55eb2d['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x49766a['android']||!0x1===_0xb598b8['constructor']['EDIT_CONTEXT']||_0x49766a['chrome']&&_0x49766a['chrome_version']<0x7e||(this['editContext']=new _0x2b55ca(_0xb598b8),_0xb598b8['state']['facet'](_0x22e47a)&&(_0xb598b8['contentDOM']['editContext']=this['editContext']['editContext'])),_0x1e2044&&(this['onCharData']=_0x4a90aa=>{this['queue']['push']({'target':_0x4a90aa['target'],'type':'characterData','oldValue':_0x4a90aa['prevValue']}),this['flushSoon']();}),this['onSelectionChange']=this['onSelectionChange']['bind'](this),this['onResize']=this['onResize']['bind'](this),this['onPrint']=this['onPrint']['bind'](this),this['onScroll']=this['onScroll']['bind'](this),window['matchMedia']&&(this['printQuery']=window['matchMedia']('print')),'function'==typeof ResizeObserver&&(this['resizeScroll']=new ResizeObserver(()=>{var _0x1d1687;(null===(_0x1d1687=this['view']['docView'])||void 0x0===_0x1d1687?void 0x0:_0x1d1687['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0xb598b8['scrollDOM'])),this['addWindowListeners'](this['win']=_0xb598b8['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x516b56=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x516b56['length']>0x0&&_0x516b56[_0x516b56['length']-0x1]['intersectionRatio']>0x0!=this['intersecting']&&(this['intersecting']=!this['intersecting'],this['intersecting']!=this['view']['inView']&&this['onScrollChanged'](document['createEvent']('Event')));},{'threshold':[0x0,0.001]}),this['intersection']['observe'](this['dom']),this['gapIntersection']=new IntersectionObserver(_0x4cda99=>{_0x4cda99['length']>0x0&&_0x4cda99[_0x4cda99['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x347d12){this['view']['inputState']['runHandlers']('scroll',_0x347d12),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x3be9d0){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x3be9d0);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}onPrint(_0x506710){('change'!=_0x506710['type']&&_0x506710['type']||_0x506710['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}updateGaps(_0xc5493b){if(this['gapIntersection']&&(_0xc5493b['length']!=this['gaps']['length']||this['gaps']['some']((_0x519100,_0x43ae77)=>_0x519100!=_0xc5493b[_0x43ae77]))){this['gapIntersection']['disconnect']();for(let _0x57b025 of _0xc5493b)this['gapIntersection']['observe'](_0x57b025);this['gaps']=_0xc5493b;}}onSelectionChange(_0xffc529){let _0x352d8f=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x615a05}=this,_0x12921e=this['selectionRange'];if(_0x615a05['state']['facet'](_0x22e47a)?_0x615a05['root']['activeElement']!=this['dom']:!_0x22abca(this['dom'],_0x12921e))return;let _0x512bcb=_0x12921e['anchorNode']&&_0x615a05['docView']['tile']['nearest'](_0x12921e['anchorNode']);_0x512bcb&&_0x512bcb['isWidget']()&&_0x512bcb['widget']['ignoreEvent'](_0xffc529)?_0x352d8f||(this['selectionChanged']=!0x1):(_0x49766a['ie']&&_0x49766a['ie_version']<=0xb||_0x49766a['android']&&_0x49766a['chrome'])&&!_0x615a05['state']['selection']['main']['empty']&&_0x12921e['focusNode']&&_0x126a47(_0x12921e['focusNode'],_0x12921e['focusOffset'],_0x12921e['anchorNode'],_0x12921e['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}readSelectionRange(){let {view:_0x1b5343}=this,_0x5e681b=_0x38ab4f(_0x1b5343['root']);if(!_0x5e681b)return!0x1;let _0x225a88=_0x49766a['safari']&&0xb==_0x1b5343['root']['nodeType']&&_0x1b5343['root']['activeElement']==this['dom']&&function(_0x76fefd,_0x225c13){if(_0x225c13['getComposedRanges']){let _0x41f10b=_0x225c13['getComposedRanges'](_0x76fefd['root'])[0x0];if(_0x41f10b)return _0x4c1941(_0x76fefd,_0x41f10b);}let _0x4dfdbe=null;function _0x3d5725(_0x1bc93d){_0x1bc93d['preventDefault'](),_0x1bc93d['stopImmediatePropagation'](),_0x4dfdbe=_0x1bc93d['getTargetRanges']()[0x0];}return _0x76fefd['contentDOM']['addEventListener']('beforeinput',_0x3d5725,!0x0),_0x76fefd['dom']['ownerDocument']['execCommand']('indent'),_0x76fefd['contentDOM']['removeEventListener']('beforeinput',_0x3d5725,!0x0),_0x4dfdbe?_0x4c1941(_0x76fefd,_0x4dfdbe):null;}(this['view'],_0x5e681b)||_0x5e681b;if(!_0x225a88||this['selectionRange']['eq'](_0x225a88))return!0x1;let _0x3c4b34=_0x22abca(this['dom'],_0x225a88);return _0x3c4b34&&!this['selectionChanged']&&_0x1b5343['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x1b5343['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0x2b9867,_0x532074){let _0x3d6e47=_0x532074['focusNode'],_0x582f12=_0x532074['focusOffset'];if(!_0x3d6e47||_0x532074['anchorNode']!=_0x3d6e47||_0x532074['anchorOffset']!=_0x582f12)return!0x1;for(_0x582f12=Math['min'](_0x582f12,_0x5d2b88(_0x3d6e47));;)if(_0x582f12){if(0x1!=_0x3d6e47['nodeType'])return!0x1;let _0x11170c=_0x3d6e47['childNodes'][_0x582f12-0x1];'false'==_0x11170c['contentEditable']?_0x582f12--:(_0x3d6e47=_0x11170c,_0x582f12=_0x5d2b88(_0x3d6e47));}else{if(_0x3d6e47==_0x2b9867)return!0x0;_0x582f12=_0x30059c(_0x3d6e47),_0x3d6e47=_0x3d6e47['parentNode'];}}(this['dom'],_0x225a88)?(this['view']['inputState']['lastFocusTime']=0x0,_0x1b5343['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x225a88),_0x3c4b34&&(this['selectionChanged']=!0x0),!0x0);}setSelectionRange(_0x185333,_0x4d36ff){this['selectionRange']['set'](_0x185333['node'],_0x185333['offset'],_0x4d36ff['node'],_0x4d36ff['offset']),this['selectionChanged']=!0x1;}clearSelectionRange(){this['selectionRange']['set'](null,0x0,null,0x0);}listenForScroll(){this['parentCheck']=-0x1;let _0x19f355=0x0,_0x599c8f=null;for(let _0x1dc782=this['dom'];_0x1dc782;)if(0x1==_0x1dc782['nodeType'])!_0x599c8f&&_0x19f355<this['scrollTargets']['length']&&this['scrollTargets'][_0x19f355]==_0x1dc782?_0x19f355++:_0x599c8f||(_0x599c8f=this['scrollTargets']['slice'](0x0,_0x19f355)),_0x599c8f&&_0x599c8f['push'](_0x1dc782),_0x1dc782=_0x1dc782['assignedSlot']||_0x1dc782['parentNode'];else{if(0xb!=_0x1dc782['nodeType'])break;_0x1dc782=_0x1dc782['host'];}if(_0x19f355<this['scrollTargets']['length']&&!_0x599c8f&&(_0x599c8f=this['scrollTargets']['slice'](0x0,_0x19f355)),_0x599c8f){for(let _0x1064a4 of this['scrollTargets'])_0x1064a4['removeEventListener']('scroll',this['onScroll']);for(let _0x35659e of this['scrollTargets']=_0x599c8f)_0x35659e['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x559c0c){if(!this['active'])return _0x559c0c();try{return this['stop'](),_0x559c0c();}finally{this['start'](),this['clear']();}}start(){this['active']||(this['observer']['observe'](this['dom'],_0x3c8c39),_0x1e2044&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}stop(){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),_0x1e2044&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x298204,_0x2efb72){var _0x4d6592;if(!this['delayedAndroidKey']){let _0x4f134e=()=>{let _0x567fa3=this['delayedAndroidKey'];_0x567fa3&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x567fa3['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x567fa3['force']&&_0x18ef8a(this['dom'],_0x567fa3['key'],_0x567fa3['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x4f134e);}this['delayedAndroidKey']&&'Enter'!=_0x298204||(this['delayedAndroidKey']={'key':_0x298204,'keyCode':_0x2efb72,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x4d6592=this['delayedAndroidKey'])||void 0x0===_0x4d6592?void 0x0:_0x4d6592['force'])});}['clearDelayedAndroidKey'](){this['win']['cancelAnimationFrame'](this['flushingAndroidKey']),this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1;}['flushSoon'](){this['delayedFlush']<0x0&&(this['delayedFlush']=this['view']['win']['requestAnimationFrame'](()=>{this['delayedFlush']=-0x1,this['flush']();}));}['forceFlush'](){this['delayedFlush']>=0x0&&(this['view']['win']['cancelAnimationFrame'](this['delayedFlush']),this['delayedFlush']=-0x1),this['flush']();}['pendingRecords'](){for(let _0x2fa864 of this['observer']['takeRecords']())this['queue']['push'](_0x2fa864);return this['queue'];}['processRecords'](){let _0x450149=this['pendingRecords']();_0x450149['length']&&(this['queue']=[]);let _0xd6c46f=-0x1,_0x4782d8=-0x1,_0x533e94=!0x1;for(let _0x2f2714 of _0x450149){let _0x4365f8=this['readMutation'](_0x2f2714);_0x4365f8&&(_0x4365f8['typeOver']&&(_0x533e94=!0x0),-0x1==_0xd6c46f?{from:_0xd6c46f,to:_0x4782d8}=_0x4365f8:(_0xd6c46f=Math['min'](_0x4365f8['from'],_0xd6c46f),_0x4782d8=Math['max'](_0x4365f8['to'],_0x4782d8)));}return{'from':_0xd6c46f,'to':_0x4782d8,'typeOver':_0x533e94};}['readChange'](){let {from:_0x2a54e1,to:_0x3600ec,typeOver:_0x27938f}=this['processRecords'](),_0x3ba6fb=this['selectionChanged']&&_0x22abca(this['dom'],this['selectionRange']);if(_0x2a54e1<0x0&&!_0x3ba6fb)return null;_0x2a54e1>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x2e9dc8=new _0x2f4006(this['view'],_0x2a54e1,_0x3600ec,_0x27938f);return this['view']['docView']['domChanged']={'newSel':_0x2e9dc8['newSel']?_0x2e9dc8['newSel']['main']:null},_0x2e9dc8;}['flush'](_0x483d8c=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x483d8c&&this['readSelectionRange']();let _0xb1bf9a=this['readChange']();if(!_0xb1bf9a)return this['view']['requestMeasure'](),!0x1;let _0x2c5c39=this['view']['state'],_0x584ce7=tM(this['view'],_0xb1bf9a);return this['view']['state']==_0x2c5c39&&(_0xb1bf9a['domChanged']||_0xb1bf9a['newSel']&&!_0x336218(this['view']['state']['selection'],_0xb1bf9a['newSel']['main']))&&this['view']['update']([]),_0x584ce7;}readMutation(_0x277b1d){let _0x43eb2c=this['view']['docView']['tile']['nearest'](_0x277b1d['target']);if(!_0x43eb2c||_0x43eb2c['isWidget']())return null;if(_0x43eb2c['markDirty']('attributes'==_0x277b1d['type']),'childList'==_0x277b1d['type']){let _0xb85dd1=_0x4a0e6c(_0x43eb2c,_0x277b1d['previousSibling']||_0x277b1d['target']['previousSibling'],-0x1),_0x326eb3=_0x4a0e6c(_0x43eb2c,_0x277b1d['nextSibling']||_0x277b1d['target']['nextSibling'],0x1);return{'from':_0xb85dd1?_0x43eb2c['posAfter'](_0xb85dd1):_0x43eb2c['posAtStart'],'to':_0x326eb3?_0x43eb2c['posBefore'](_0x326eb3):_0x43eb2c['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x277b1d['type']?{'from':_0x43eb2c['posAtStart'],'to':_0x43eb2c['posAtEnd'],'typeOver':_0x277b1d['target']['nodeValue']==_0x277b1d['oldValue']}:null;}setWindow(_0xa34f1a){_0xa34f1a!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0xa34f1a,this['addWindowListeners'](this['win']));}addWindowListeners(_0x6603d3){_0x6603d3['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x6603d3['addEventListener']('beforeprint',this['onPrint']),_0x6603d3['addEventListener']('scroll',this['onScroll']),_0x6603d3['document']['addEventListener']('selectionchange',this['onSelectionChange']);}removeWindowListeners(_0x4c6052){_0x4c6052['removeEventListener']('scroll',this['onScroll']),_0x4c6052['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x4c6052['removeEventListener']('beforeprint',this['onPrint']),_0x4c6052['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}update(_0x5bedb7){this['editContext']&&(this['editContext']['update'](_0x5bedb7),_0x5bedb7['startState']['facet'](_0x22e47a)!=_0x5bedb7['state']['facet'](_0x22e47a)&&(_0x5bedb7['view']['contentDOM']['editContext']=_0x5bedb7['state']['facet'](_0x22e47a)?this['editContext']['editContext']:null));}destroy(){var _0x42afd5,_0x5558dd,_0x3f13cc;this['stop'](),null===(_0x42afd5=this['intersection'])||void 0x0===_0x42afd5||_0x42afd5['disconnect'](),null===(_0x5558dd=this['gapIntersection'])||void 0x0===_0x5558dd||_0x5558dd['disconnect'](),null===(_0x3f13cc=this['resizeScroll'])||void 0x0===_0x3f13cc||_0x3f13cc['disconnect']();for(let _0x409833 of this['scrollTargets'])_0x409833['removeEventListener']('scroll',this['onScroll']);this['removeWindowListeners'](this['win']),clearTimeout(this['parentCheck']),clearTimeout(this['resizeTimeout']),this['win']['cancelAnimationFrame'](this['delayedFlush']),this['win']['cancelAnimationFrame'](this['flushingAndroidKey']),this['editContext']&&(this['view']['contentDOM']['editContext']=null,this['editContext']['destroy']());}};function _0x4a0e6c(_0x2e6519,_0x38bce1,_0x2e7fa0){for(;_0x38bce1;){let _0x2aaf85=_0x5912ed['get'](_0x38bce1);if(_0x2aaf85&&_0x2aaf85['parent']==_0x2e6519)return _0x2aaf85;let _0x5c5991=_0x38bce1['parentNode'];_0x38bce1=_0x5c5991!=_0x2e6519['dom']?_0x5c5991:_0x2e7fa0>0x0?_0x38bce1['nextSibling']:_0x38bce1['previousSibling'];}return null;}function _0x4c1941(_0x325452,_0x282a7d){let _0x8f1cf8=_0x282a7d['startContainer'],_0x295172=_0x282a7d['startOffset'],_0x167cba=_0x282a7d['endContainer'],_0x55a492=_0x282a7d['endOffset'],_0x5c167e=_0x325452['docView']['domAtPos'](_0x325452['state']['selection']['main']['anchor'],0x1);return _0x126a47(_0x5c167e['node'],_0x5c167e['offset'],_0x167cba,_0x55a492)&&([_0x8f1cf8,_0x295172,_0x167cba,_0x55a492]=[_0x167cba,_0x55a492,_0x8f1cf8,_0x295172]),{'anchorNode':_0x8f1cf8,'anchorOffset':_0x295172,'focusNode':_0x167cba,'focusOffset':_0x55a492};}var _0x2b55ca=class{constructor(_0x110c14){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x110c14['state']);let _0x333a32=this['editContext']=new window['EditContext']({'text':_0x110c14['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x110c14['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x110c14['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x436121=>{let _0x4647a2=_0x110c14['state']['selection']['main'],{anchor:_0x491e57,head:_0x2b38c2}=_0x4647a2,_0x56e070=this['toEditorPos'](_0x436121['updateRangeStart']),_0x5358a1=this['toEditorPos'](_0x436121['updateRangeEnd']);_0x110c14['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x436121['updateRangeStart'],'editorBase':_0x56e070,'drifted':!0x1});let _0x47df67=_0x5358a1-_0x56e070>_0x436121['text']['length'];_0x56e070==this['from']&&_0x491e57<this['from']?_0x56e070=_0x491e57:_0x5358a1==this['to']&&_0x491e57>this['to']&&(_0x5358a1=_0x491e57);let _0x452827=_0x213325(_0x110c14['state']['sliceDoc'](_0x56e070,_0x5358a1),_0x436121['text'],(_0x47df67?_0x4647a2['from']:_0x4647a2['to'])-_0x56e070,_0x47df67?'end':null);if(!_0x452827){let _0x3fe514=_0x3bda1f['single'](this['toEditorPos'](_0x436121['selectionStart']),this['toEditorPos'](_0x436121['selectionEnd']));return void(_0x336218(_0x3fe514,_0x4647a2)||_0x110c14['dispatch']({'selection':_0x3fe514,'userEvent':'select'}));}let _0x3ee542={'from':_0x452827['from']+_0x56e070,'to':_0x452827['toA']+_0x56e070,'insert':_0x4293ea['of'](_0x436121['text']['slice'](_0x452827['from'],_0x452827['toB'])['split']('\x0a'))};if((_0x49766a['mac']||_0x49766a['android'])&&_0x3ee542['from']==_0x2b38c2-0x1&&/^\. ?$/['test'](_0x436121['text'])&&'off'==_0x110c14['contentDOM']['getAttribute']('autocorrect')&&(_0x3ee542={'from':_0x56e070,'to':_0x5358a1,'insert':_0x4293ea['of']([_0x436121['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x3ee542,!_0x110c14['state']['readOnly']){let _0x307eba=this['to']-this['from']+(_0x3ee542['to']-_0x3ee542['from']+_0x3ee542['insert']['length']);_0x450ded(_0x110c14,_0x3ee542,_0x3bda1f['single'](this['toEditorPos'](_0x436121['selectionStart'],_0x307eba),this['toEditorPos'](_0x436121['selectionEnd'],_0x307eba)));}this['pendingContextChange']&&(this['revertPending'](_0x110c14['state']),this['setSelection'](_0x110c14['state'])),_0x3ee542['from']<_0x3ee542['to']&&!_0x3ee542['insert']['length']&&_0x110c14['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x333a32['text']['slice'](Math['max'](0x0,_0x436121['updateRangeStart']-0x1),Math['min'](_0x333a32['text']['length'],_0x436121['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x436121);},this['handlers']['characterboundsupdate']=_0x38b2cd=>{let _0x10587b=[],_0x460182=null;for(let _0x27e8e6=this['toEditorPos'](_0x38b2cd['rangeStart']),_0x94c2fe=this['toEditorPos'](_0x38b2cd['rangeEnd']);_0x27e8e6<_0x94c2fe;_0x27e8e6++){let _0x516863=_0x110c14['coordsForChar'](_0x27e8e6);_0x460182=_0x516863&&new DOMRect(_0x516863['left'],_0x516863['top'],_0x516863['right']-_0x516863['left'],_0x516863['bottom']-_0x516863['top'])||_0x460182||new DOMRect(),_0x10587b['push'](_0x460182);}_0x333a32['updateCharacterBounds'](_0x38b2cd['rangeStart'],_0x10587b);},this['handlers']['textformatupdate']=_0x54280d=>{let _0x32f291=[];for(let _0x45dc7c of _0x54280d['getTextFormats']()){let _0x22e19b=_0x45dc7c['underlineStyle'],_0x3d49cd=_0x45dc7c['underlineThickness'];if(!/none/i['test'](_0x22e19b)&&!/none/i['test'](_0x3d49cd)){let _0x44e3d3=this['toEditorPos'](_0x45dc7c['rangeStart']),_0x537612=this['toEditorPos'](_0x45dc7c['rangeEnd']);if(_0x44e3d3<_0x537612){let _0x97d546='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x22e19b)?_0x22e19b+'\x20':'Dashed'==_0x22e19b?'dashed\x20':'Squiggle'==_0x22e19b?'wavy\x20':'')+(/thin/i['test'](_0x3d49cd)?0x1:0x2)+'px';_0x32f291['push'](_0x18eb2e['mark']({'attributes':{'style':_0x97d546}})['range'](_0x44e3d3,_0x537612));}}}_0x110c14['dispatch']({'effects':_0x22430e['of'](_0x18eb2e['set'](_0x32f291))});},this['handlers']['compositionstart']=()=>{_0x110c14['inputState']['composing']<0x0&&(_0x110c14['inputState']['composing']=0x0,_0x110c14['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x110c14['inputState']['composing']=-0x1,_0x110c14['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x3a2b75}=this['composing'];this['composing']=null,_0x3a2b75&&this['reset'](_0x110c14['state']);}};for(let _0x1f319b in this['handlers'])_0x333a32['addEventListener'](_0x1f319b,this['handlers'][_0x1f319b]);this['measureReq']={'read':_0x19ee92=>{this['editContext']['updateControlBounds'](_0x19ee92['contentDOM']['getBoundingClientRect']());let _0x4c70ac=_0x38ab4f(_0x19ee92['root']);_0x4c70ac&&_0x4c70ac['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x4c70ac['getRangeAt'](0x0)['getBoundingClientRect']());}};}applyEdits(_0xe6754){let _0x15aa55=0x0,_0x263ba6=!0x1,_0x395522=this['pendingContextChange'];return _0xe6754['changes']['iterChanges']((_0x53675a,_0x288b45,_0x43bbc1,_0xf793d5,_0x2ec770)=>{if(_0x263ba6)return;let _0xf08c06=_0x2ec770['length']-(_0x288b45-_0x53675a);if(_0x395522&&_0x288b45>=_0x395522['to']){if(_0x395522['from']==_0x53675a&&_0x395522['to']==_0x288b45&&_0x395522['insert']['eq'](_0x2ec770))return _0x395522=this['pendingContextChange']=null,_0x15aa55+=_0xf08c06,void(this['to']+=_0xf08c06);_0x395522=null,this['revertPending'](_0xe6754['state']);}if(_0x53675a+=_0x15aa55,(_0x288b45+=_0x15aa55)<=this['from'])this['from']+=_0xf08c06,this['to']+=_0xf08c06;else{if(_0x53675a<this['to']){if(_0x53675a<this['from']||_0x288b45>this['to']||this['to']-this['from']+_0x2ec770['length']>0x7530)return void(_0x263ba6=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x53675a),this['toContextPos'](_0x288b45),_0x2ec770['toString']()),this['to']+=_0xf08c06;}}_0x15aa55+=_0xf08c06;}),_0x395522&&!_0x263ba6&&this['revertPending'](_0xe6754['state']),!_0x263ba6;}update(_0x3a23d5){let _0x5d4476=this['pendingContextChange'],_0x10b310=_0x3a23d5['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x3a23d5['changes']['touchesRange'](_0x10b310['from'],_0x10b310['to'])&&_0x3a23d5['transactions']['some'](_0x19a2a2=>!_0x19a2a2['isUserEvent']('input.type')&&_0x19a2a2['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x3a23d5['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x3a23d5)&&this['rangeIsValid'](_0x3a23d5['state'])?(_0x3a23d5['docChanged']||_0x3a23d5['selectionSet']||_0x5d4476)&&this['setSelection'](_0x3a23d5['state']):(this['pendingContextChange']=null,this['reset'](_0x3a23d5['state'])),(_0x3a23d5['geometryChanged']||_0x3a23d5['docChanged']||_0x3a23d5['selectionSet'])&&_0x3a23d5['view']['requestMeasure'](this['measureReq']);}resetRange(_0x5a2ea2){let {head:_0x22f658}=_0x5a2ea2['selection']['main'];this['from']=Math['max'](0x0,_0x22f658-0x2710),this['to']=Math['min'](_0x5a2ea2['doc']['length'],_0x22f658+0x2710);}reset(_0x545982){this['resetRange'](_0x545982),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x545982['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x545982);}revertPending(_0x4e6b8e){let _0x4874f6=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x4874f6['from']),this['toContextPos'](_0x4874f6['from']+_0x4874f6['insert']['length']),_0x4e6b8e['doc']['sliceString'](_0x4874f6['from'],_0x4874f6['to']));}setSelection(_0x30c8a3){let {main:_0x148646}=_0x30c8a3['selection'],_0xaba9c6=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x148646['anchor']))),_0x34d59e=this['toContextPos'](_0x148646['head']);this['editContext']['selectionStart']==_0xaba9c6&&this['editContext']['selectionEnd']==_0x34d59e||this['editContext']['updateSelection'](_0xaba9c6,_0x34d59e);}['rangeIsValid'](_0x184bda){let {head:_0xe81c0}=_0x184bda['selection']['main'];return!(this['from']>0x0&&_0xe81c0-this['from']<0x1f4||this['to']<_0x184bda['doc']['length']&&this['to']-_0xe81c0<0x1f4||this['to']-this['from']>0x7530);}toEditorPos(_0x522305,_0x36363d=this['to']-this['from']){_0x522305=Math['min'](_0x522305,_0x36363d);let _0xf5f61f=this['composing'];return _0xf5f61f&&_0xf5f61f['drifted']?_0xf5f61f['editorBase']+(_0x522305-_0xf5f61f['contextBase']):_0x522305+this['from'];}toContextPos(_0x2fbbfb){let _0x3c6990=this['composing'];return _0x3c6990&&_0x3c6990['drifted']?_0x3c6990['contextBase']+(_0x2fbbfb-_0x3c6990['editorBase']):_0x2fbbfb-this['from'];}destroy(){for(let _0x732480 in this['handlers'])this['editContext']['removeEventListener'](_0x732480,this['handlers'][_0x732480]);}},_0x51f1f4=class EditorView{get state(){return this['viewState']['state'];}get viewport(){return this['viewState']['viewport'];}get['visibleRanges'](){return this['viewState']['visibleRanges'];}get['inView'](){return this['viewState']['inView'];}get['composing'](){return!!this['inputState']&&this['inputState']['composing']>0x0;}get compositionStarted(){return!!this['inputState']&&this['inputState']['composing']>=0x0;}get root(){return this['_root'];}get['win'](){return this['dom']['ownerDocument']['defaultView']||window;}constructor(_0x3c6b8e={}){var _0x2de0ec;this['plugins']=[],this['pluginMap']=new Map(),this['editorAttrs']={},this['contentAttrs']={},this['bidiCache']=[],this['destroyed']=!0x1,this['updateState']=0x2,this['measureScheduled']=-0x1,this['measureRequests']=[],this['contentDOM']=document['createElement']('div'),this['scrollDOM']=document['createElement']('div'),this['scrollDOM']['tabIndex']=-0x1,this['scrollDOM']['className']='cm-scroller',this['scrollDOM']['appendChild'](this['contentDOM']),this['announceDOM']=document['createElement']('div'),this['announceDOM']['className']='cm-announced',this['announceDOM']['setAttribute']('aria-live','polite'),this['dom']=document['createElement']('div'),this['dom']['appendChild'](this['announceDOM']),this['dom']['appendChild'](this['scrollDOM']),_0x3c6b8e['parent']&&_0x3c6b8e['parent']['appendChild'](this['dom']);let {dispatch:_0x55c460}=_0x3c6b8e;this['dispatchTransactions']=_0x3c6b8e['dispatchTransactions']||_0x55c460&&(_0x543360=>_0x543360['forEach'](_0x48f349=>_0x55c460(_0x48f349,this)))||(_0x5e9b6f=>this['update'](_0x5e9b6f)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x3c6b8e['root']||function(_0x2c443d){for(;_0x2c443d;){if(_0x2c443d&&(0x9==_0x2c443d['nodeType']||0xb==_0x2c443d['nodeType']&&_0x2c443d['host']))return _0x2c443d;_0x2c443d=_0x2c443d['assignedSlot']||_0x2c443d['parentNode'];}return null;}(_0x3c6b8e['parent'])||document,this['viewState']=new _0x3f78c0(this,_0x3c6b8e['state']||_0x1d56fe['create'](_0x3c6b8e)),_0x3c6b8e['scrollTo']&&_0x3c6b8e['scrollTo']['is'](_0x1cfcf1)&&(this['viewState']['scrollTarget']=_0x3c6b8e['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0xe61996)['map'](_0x17b9a0=>new _0x550000(_0x17b9a0));for(let _0x4d7fd6 of this['plugins'])_0x4d7fd6['update'](this);this['observer']=new _0x1f8833(this),this['inputState']=new _0x16d2de(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x4672e5(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x2de0ec=document['fonts'])||void 0x0===_0x2de0ec?void 0x0:_0x2de0ec['ready'])&&document['fonts']['ready']['then'](()=>{this['viewState']['mustMeasureContent']='refresh',this['requestMeasure']();});}dispatch(..._0x14d5db){let _0x22746d=0x1==_0x14d5db['length']&&_0x14d5db[0x0]instanceof _0xdf5f41?_0x14d5db:0x1==_0x14d5db['length']&&Array['isArray'](_0x14d5db[0x0])?_0x14d5db[0x0]:[this['state']['update'](..._0x14d5db)];this['dispatchTransactions'](_0x22746d,this);}update(_0x11bab0){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x274595,_0x112f81=!0x1,_0x485ff0=!0x1,_0x53b36b=this['state'];for(let _0x31d483 of _0x11bab0){if(_0x31d483['startState']!=_0x53b36b)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x53b36b=_0x31d483['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x53b36b);let _0x195480=this['hasFocus'],_0x23d946=0x0,_0x58ceb9=null;_0x11bab0['some'](_0x19ce52=>_0x19ce52['annotation'](_0x5656b9))?(this['inputState']['notifiedFocused']=_0x195480,_0x23d946=0x1):_0x195480!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x195480,_0x58ceb9=_0x47910d(_0x53b36b,_0x195480),_0x58ceb9||(_0x23d946=0x1));let _0x61f05e=this['observer']['delayedAndroidKey'],_0x4d0c3d=null;if(_0x61f05e?(this['observer']['clearDelayedAndroidKey'](),_0x4d0c3d=this['observer']['readChange'](),(_0x4d0c3d&&!this['state']['doc']['eq'](_0x53b36b['doc'])||!this['state']['selection']['eq'](_0x53b36b['selection']))&&(_0x4d0c3d=null)):this['observer']['clear'](),_0x53b36b['facet'](_0x1d56fe['phrases'])!=this['state']['facet'](_0x1d56fe['phrases']))return this['setState'](_0x53b36b);_0x274595=_0x38122d['create'](this,_0x53b36b,_0x11bab0),_0x274595['flags']|=_0x23d946;let _0xaacce1=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x4bf367 of _0x11bab0){if(_0xaacce1&&(_0xaacce1=_0xaacce1['map'](_0x4bf367['changes'])),_0x4bf367['scrollIntoView']){let {main:_0x550824}=_0x4bf367['state']['selection'],{x:_0x4eabc0,y:_0xf0d1}=this['state']['facet'](EditorView['cursorScrollMargin']);_0xaacce1=new _0x45f87f(_0x550824['empty']?_0x550824:_0x3bda1f['cursor'](_0x550824['head'],_0x550824['head']>_0x550824['anchor']?-0x1:0x1),'nearest','nearest',_0xf0d1,_0x4eabc0);}for(let _0x20d93f of _0x4bf367['effects'])_0x20d93f['is'](_0x1cfcf1)&&(_0xaacce1=_0x20d93f['value']['clip'](this['state']));}this['viewState']['update'](_0x274595,_0xaacce1),this['bidiCache']=_0x55b5a0['update'](this['bidiCache'],_0x274595['changes']),_0x274595['empty']||(this['updatePlugins'](_0x274595),this['inputState']['update'](_0x274595)),_0x112f81=this['docView']['update'](_0x274595),this['state']['facet'](_0x21db85)!=this['styleModules']&&this['mountStyles'](),_0x485ff0=this['updateAttrs'](),this['showAnnouncements'](_0x11bab0),this['docView']['updateSelection'](_0x112f81,_0x11bab0['some'](_0x411114=>_0x411114['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x274595['startState']['facet'](_0x3cb3f4)!=_0x274595['state']['facet'](_0x3cb3f4)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x112f81||_0x485ff0||_0xaacce1||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x112f81&&this['docViewUpdate'](),!_0x274595['empty']){for(let _0x1b4430 of this['state']['facet'](_0x399030))try{_0x1b4430(_0x274595);}catch(_0x53aa02){_0x55c259(this['state'],_0x53aa02,'update\x20listener');}}(_0x58ceb9||_0x4d0c3d)&&Promise['resolve']()['then'](()=>{_0x58ceb9&&this['state']==_0x58ceb9['startState']&&this['dispatch'](_0x58ceb9),_0x4d0c3d&&!tM(this,_0x4d0c3d)&&_0x61f05e['force']&&_0x18ef8a(this['contentDOM'],_0x61f05e['key'],_0x61f05e['keyCode']);});}setState(_0x3ca8b1){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.setState\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');if(this['destroyed'])return void(this['viewState']['state']=_0x3ca8b1);this['updateState']=0x2;let _0x16fe12=this['hasFocus'];try{for(let _0x6b48da of this['plugins'])_0x6b48da['destroy'](this);this['viewState']=new _0x3f78c0(this,_0x3ca8b1),this['plugins']=_0x3ca8b1['facet'](_0xe61996)['map'](_0x8d4a16=>new _0x550000(_0x8d4a16)),this['pluginMap']['clear']();for(let _0xd9932 of this['plugins'])_0xd9932['update'](this);this['docView']['destroy'](),this['docView']=new _0x4672e5(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x16fe12&&this['focus'](),this['requestMeasure']();}updatePlugins(_0x5027e4){let _0x42587f=_0x5027e4['startState']['facet'](_0xe61996),_0x400d7f=_0x5027e4['state']['facet'](_0xe61996);if(_0x42587f!=_0x400d7f){let _0x951772=[];for(let _0x1e19de of _0x400d7f){let _0x139e07=_0x42587f['indexOf'](_0x1e19de);if(_0x139e07<0x0)_0x951772['push'](new _0x550000(_0x1e19de));else{let _0x45e7ad=this['plugins'][_0x139e07];_0x45e7ad['mustUpdate']=_0x5027e4,_0x951772['push'](_0x45e7ad);}}for(let _0x27cc25 of this['plugins'])_0x27cc25['mustUpdate']!=_0x5027e4&&_0x27cc25['destroy'](this);this['plugins']=_0x951772,this['pluginMap']['clear']();}else{for(let _0x3f3a62 of this['plugins'])_0x3f3a62['mustUpdate']=_0x5027e4;}for(let _0x5dc7f3=0x0;_0x5dc7f3<this['plugins']['length'];_0x5dc7f3++)this['plugins'][_0x5dc7f3]['update'](this);_0x42587f!=_0x400d7f&&this['inputState']['ensureHandlers'](this['plugins']);}docViewUpdate(){for(let _0x278ff5 of this['plugins']){let _0x34b088=_0x278ff5['value'];if(_0x34b088&&_0x34b088['docViewUpdate'])try{_0x34b088['docViewUpdate'](this);}catch(_0x1e3723){_0x55c259(this['state'],_0x1e3723,'doc\x20view\x20update\x20listener');}}}['measure'](_0x422f8b=!0x0){if(this['destroyed'])return;if(this['measureScheduled']>-0x1&&this['win']['cancelAnimationFrame'](this['measureScheduled']),this['observer']['delayedAndroidKey'])return this['measureScheduled']=-0x1,void this['requestMeasure']();this['measureScheduled']=0x0,_0x422f8b&&this['observer']['forceFlush']();let _0x4d3b64=null,_0x5dc252=this['viewState']['scrollParent'],_0x3bd4f7=this['viewState']['getScrollOffset'](),{scrollAnchorPos:_0x5171e8,scrollAnchorHeight:_0x477ed7}=this['viewState'];Math['abs'](_0x3bd4f7-this['viewState']['scrollOffset'])>0x1&&(_0x477ed7=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x409e14=0x0;;_0x409e14++){if(_0x477ed7<0x0){if(_0x1a8f73(_0x5dc252||this['win']))_0x5171e8=-0x1,_0x477ed7=this['viewState']['heightMap']['height'];else{let _0x479c60=this['viewState']['scrollAnchorAt'](_0x3bd4f7);_0x5171e8=_0x479c60['from'],_0x477ed7=_0x479c60['top'];}}this['updateState']=0x1;let _0x2cc013=this['viewState']['measure']();if(!_0x2cc013&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x409e14>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x181e38=[];0x4&_0x2cc013||([this['measureRequests'],_0x181e38]=[_0x181e38,this['measureRequests']]);let _0x17d7e0=_0x181e38['map'](_0x461ca3=>{try{return _0x461ca3['read'](this);}catch(_0x14654d){return _0x55c259(this['state'],_0x14654d),_0x1660a4;}}),_0x3cfca7=_0x38122d['create'](this,this['state'],[]),_0x50b1c9=!0x1;_0x3cfca7['flags']|=_0x2cc013,_0x4d3b64?_0x4d3b64['flags']|=_0x2cc013:_0x4d3b64=_0x3cfca7,this['updateState']=0x2,_0x3cfca7['empty']||(this['updatePlugins'](_0x3cfca7),this['inputState']['update'](_0x3cfca7),this['updateAttrs'](),_0x50b1c9=this['docView']['update'](_0x3cfca7),_0x50b1c9&&this['docViewUpdate']());for(let _0x11fcae=0x0;_0x11fcae<_0x181e38['length'];_0x11fcae++)if(_0x17d7e0[_0x11fcae]!=_0x1660a4)try{let _0x3119b3=_0x181e38[_0x11fcae];_0x3119b3['write']&&_0x3119b3['write'](_0x17d7e0[_0x11fcae],this);}catch(_0x498208){_0x55c259(this['state'],_0x498208);}if(_0x50b1c9&&this['docView']['updateSelection'](!0x0),!_0x3cfca7['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x477ed7=-0x1;continue;}{let _0x27091b=((_0x5171e8<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x5171e8)['top'])-_0x477ed7)/this['scaleY'];if((_0x27091b>0x1||_0x27091b<-0x1)&&(_0x5dc252==this['scrollDOM']||this['hasFocus']||Math['max'](this['inputState']['lastWheelEvent'],this['inputState']['lastTouchTime'])>Date['now']()-0x64)){_0x3bd4f7+=_0x27091b,_0x5dc252?_0x5dc252['scrollTop']+=_0x27091b:this['win']['scrollBy'](0x0,_0x27091b),_0x477ed7=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x4d3b64&&!_0x4d3b64['empty']){for(let _0x2e8d21 of this['state']['facet'](_0x399030))_0x2e8d21(_0x4d3b64);}}get themeClasses(){return _0x4b77f3+'\x20'+(this['state']['facet'](_0x39355e)?_0x22a7ec:_0x3ab49e)+'\x20'+this['state']['facet'](_0x3cb3f4);}updateAttrs(){let _0x124e86=_0x3eb379(this,_0x35ac26,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x165dea={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](_0x22e47a)?'true':'false','class':'cm-content','style':_0x49766a['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x165dea['aria-readonly']='true'),_0x3eb379(this,_0x285b26,_0x165dea);let _0x56d07c=this['observer']['ignore'](()=>{let _0x50e93f=_0x51872b(this['contentDOM'],this['contentAttrs'],_0x165dea),_0x435a0=_0x51872b(this['dom'],this['editorAttrs'],_0x124e86);return _0x50e93f||_0x435a0;});return this['editorAttrs']=_0x124e86,this['contentAttrs']=_0x165dea,_0x56d07c;}showAnnouncements(_0x20a287){let _0x3a7d66=!0x0;for(let _0x3c6ba7 of _0x20a287)for(let _0x4f74b0 of _0x3c6ba7['effects'])_0x4f74b0['is'](EditorView['announce'])&&(_0x3a7d66&&(this['announceDOM']['textContent']=''),_0x3a7d66=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x4f74b0['value']);}mountStyles(){this['styleModules']=this['state']['facet'](_0x21db85);let _0x43d71b=this['state']['facet'](EditorView['cspNonce']);_0x582da9['mount'](this['root'],this['styleModules']['concat'](_0x1fdd98)['reverse'](),_0x43d71b?{'nonce':_0x43d71b}:void 0x0);}['readMeasured'](){if(0x2==this['updateState'])throw new Error('Reading\x20the\x20editor\x20layout\x20isn\x27t\x20allowed\x20during\x20an\x20update');0x0==this['updateState']&&this['measureScheduled']>-0x1&&this['measure'](!0x1);}requestMeasure(_0x4e1d94){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x4e1d94){if(this['measureRequests']['indexOf'](_0x4e1d94)>-0x1)return;if(null!=_0x4e1d94['key']){for(let _0x5f2e18=0x0;_0x5f2e18<this['measureRequests']['length'];_0x5f2e18++)if(this['measureRequests'][_0x5f2e18]['key']===_0x4e1d94['key'])return void(this['measureRequests'][_0x5f2e18]=_0x4e1d94);}this['measureRequests']['push'](_0x4e1d94);}}['plugin'](_0x3d325f){let _0x3a0d01=this['pluginMap']['get'](_0x3d325f);return(void 0x0===_0x3a0d01||_0x3a0d01&&_0x3a0d01['plugin']!=_0x3d325f)&&this['pluginMap']['set'](_0x3d325f,_0x3a0d01=this['plugins']['find'](_0x176ff6=>_0x176ff6['plugin']==_0x3d325f)||null),_0x3a0d01&&_0x3a0d01['update'](this)['value'];}get documentTop(){return this['contentDOM']['getBoundingClientRect']()['top']+this['viewState']['paddingTop'];}get documentPadding(){return{'top':this['viewState']['paddingTop'],'bottom':this['viewState']['paddingBottom']};}get['scaleX'](){return this['viewState']['scaleX'];}get['scaleY'](){return this['viewState']['scaleY'];}elementAtHeight(_0x2f4a14){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x2f4a14);}lineBlockAtHeight(_0x50b860){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x50b860);}get viewportLineBlocks(){return this['viewState']['viewportLines'];}lineBlockAt(_0x345161){return this['viewState']['lineBlockAt'](_0x345161);}get contentHeight(){return this['viewState']['contentHeight'];}['moveByChar'](_0x4a9e10,_0x3f3156,_0x2e8a7f){return _0x38ba70(this,_0x4a9e10,_0x3cd2cb(this,_0x4a9e10,_0x3f3156,_0x2e8a7f));}['moveByGroup'](_0x33ad1b,_0x23c2b0){return _0x38ba70(this,_0x33ad1b,_0x3cd2cb(this,_0x33ad1b,_0x23c2b0,_0x2fb7a4=>function(_0x4af089,_0x63e26a,_0x94cdb9){let _0x2aeacb=_0x4af089['state']['charCategorizer'](_0x63e26a),_0x456286=_0x2aeacb(_0x94cdb9);return _0x163647=>{let _0x41baec=_0x2aeacb(_0x163647);return _0x456286==_0x17f75a['Space']&&(_0x456286=_0x41baec),_0x456286==_0x41baec;};}(this,_0x33ad1b['head'],_0x2fb7a4)));}['visualLineSide'](_0x498035,_0x31ba0c){let _0x3e05e1=this['bidiSpans'](_0x498035),_0x5eb98f=this['textDirectionAt'](_0x498035['from']),_0x21c0f9=_0x3e05e1[_0x31ba0c?_0x3e05e1['length']-0x1:0x0];return _0x3bda1f['cursor'](_0x21c0f9['side'](_0x31ba0c,_0x5eb98f)+_0x498035['from'],_0x21c0f9['forward'](!_0x31ba0c,_0x5eb98f)?0x1:-0x1);}['moveToLineBoundary'](_0x544dff,_0xec6308,_0x237dba=!0x0){return function(_0x50bfd3,_0x210eb6,_0x6f6768,_0x2b839c){let _0x1fa7e7=_0x447ea7(_0x50bfd3,_0x210eb6['head'],_0x210eb6['assoc']||-0x1),_0x41f780=_0x2b839c&&_0x1fa7e7['type']==_0xc9238a['Text']&&(_0x50bfd3['lineWrapping']||_0x1fa7e7['widgetLineBreaks'])?_0x50bfd3['coordsAtPos'](_0x210eb6['assoc']<0x0&&_0x210eb6['head']>_0x1fa7e7['from']?_0x210eb6['head']-0x1:_0x210eb6['head']):null;if(_0x41f780){let _0x286fbe=_0x50bfd3['dom']['getBoundingClientRect'](),_0x19a9ce=_0x50bfd3['textDirectionAt'](_0x1fa7e7['from']),_0x382ef2=_0x50bfd3['posAtCoords']({'x':_0x6f6768==(_0x19a9ce==_0xf0cb7b['LTR'])?_0x286fbe['right']-0x1:_0x286fbe['left']+0x1,'y':(_0x41f780['top']+_0x41f780['bottom'])/0x2});if(null!=_0x382ef2)return _0x3bda1f['cursor'](_0x382ef2,_0x6f6768?-0x1:0x1);}return _0x3bda1f['cursor'](_0x6f6768?_0x1fa7e7['to']:_0x1fa7e7['from'],_0x6f6768?-0x1:0x1);}(this,_0x544dff,_0xec6308,_0x237dba);}moveVertically(_0x29d69a,_0x4131d4,_0xf3523a){return _0x38ba70(this,_0x29d69a,function(_0x5d0d8d,_0x1f3d23,_0x125c54,_0x3de000){let _0x2b6d85=_0x1f3d23['head'],_0x36c9b6=_0x125c54?0x1:-0x1;if(_0x2b6d85==(_0x125c54?_0x5d0d8d['state']['doc']['length']:0x0))return _0x3bda1f['cursor'](_0x2b6d85,_0x1f3d23['assoc']);let _0x58adac,_0x496118=_0x1f3d23['goalColumn'],_0x172d1a=_0x5d0d8d['contentDOM']['getBoundingClientRect'](),_0x178e43=_0x5d0d8d['coordsAtPos'](_0x2b6d85,_0x1f3d23['assoc']||((_0x1f3d23['empty']?_0x125c54:_0x1f3d23['head']==_0x1f3d23['from'])?0x1:-0x1)),_0x107752=_0x5d0d8d['documentTop'];if(_0x178e43)null==_0x496118&&(_0x496118=_0x178e43['left']-_0x172d1a['left']),_0x58adac=_0x36c9b6<0x0?_0x178e43['top']:_0x178e43['bottom'];else{let _0x19918c=_0x5d0d8d['viewState']['lineBlockAt'](_0x2b6d85);null==_0x496118&&(_0x496118=Math['min'](_0x172d1a['right']-_0x172d1a['left'],_0x5d0d8d['defaultCharacterWidth']*(_0x2b6d85-_0x19918c['from']))),_0x58adac=(_0x36c9b6<0x0?_0x19918c['top']:_0x19918c['bottom'])+_0x107752;}let _0xb379e6=_0x172d1a['left']+_0x496118,_0x44f8cc=_0x5d0d8d['viewState']['heightOracle']['textHeight']>>0x1,_0x3cac82=null!=_0x3de000?_0x3de000:_0x44f8cc;for(let _0x273894=0x0;;_0x273894+=_0x44f8cc){let _0x30ab52=_0x58adac+(_0x3cac82+_0x273894)*_0x36c9b6,_0x5e3531=_0x2ccd2(_0x5d0d8d,{'x':_0xb379e6,'y':_0x30ab52},!0x1,_0x36c9b6);if(_0x125c54?_0x30ab52>_0x172d1a['bottom']:_0x30ab52<_0x172d1a['top'])return _0x3bda1f['cursor'](_0x5e3531['pos'],_0x5e3531['assoc']);let _0x136f75=_0x5d0d8d['coordsAtPos'](_0x5e3531['pos'],_0x5e3531['assoc']),_0x4a09bc=_0x136f75?(_0x136f75['top']+_0x136f75['bottom'])/0x2:0x0;if(!_0x136f75||(_0x125c54?_0x4a09bc>_0x58adac:_0x4a09bc<_0x58adac))return _0x3bda1f['cursor'](_0x5e3531['pos'],_0x5e3531['assoc'],void 0x0,_0x496118);}}(this,_0x29d69a,_0x4131d4,_0xf3523a));}domAtPos(_0x542ceb,_0x3a8996=0x1){return this['docView']['domAtPos'](_0x542ceb,_0x3a8996);}posAtDOM(_0x42c950,_0x18f83c=0x0){return this['docView']['posFromDOM'](_0x42c950,_0x18f83c);}posAtCoords(_0x237c9e,_0x3fa7e6=!0x0){this['readMeasured']();let _0x337686=_0x2ccd2(this,_0x237c9e,_0x3fa7e6);return _0x337686&&_0x337686['pos'];}posAndSideAtCoords(_0x2791a3,_0x3f4df0=!0x0){return this['readMeasured'](),_0x2ccd2(this,_0x2791a3,_0x3f4df0);}coordsAtPos(_0xcd3731,_0x2b8193=0x1){this['readMeasured']();let _0x201cf0=this['docView']['coordsAt'](_0xcd3731,_0x2b8193);if(!_0x201cf0||_0x201cf0['left']==_0x201cf0['right'])return _0x201cf0;let _0x489936=this['state']['doc']['lineAt'](_0xcd3731),_0x519362=this['bidiSpans'](_0x489936);return _0x5386b9(_0x201cf0,_0x519362[_0x3550bb['find'](_0x519362,_0xcd3731-_0x489936['from'],-0x1,_0x2b8193)]['dir']==_0xf0cb7b['LTR']==_0x2b8193>0x0);}['coordsForChar'](_0x37d48b){return this['readMeasured'](),this['docView']['coordsForChar'](_0x37d48b);}get defaultCharacterWidth(){return this['viewState']['heightOracle']['charWidth'];}get defaultLineHeight(){return this['viewState']['heightOracle']['lineHeight'];}get textDirection(){return this['viewState']['defaultTextDirection'];}textDirectionAt(_0x4a7abf){return!this['state']['facet'](_0x518cd9)||_0x4a7abf<this['viewport']['from']||_0x4a7abf>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x4a7abf));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x17fd98){if(_0x17fd98['length']>_0x2dd50c)return _0x5efbfd(_0x17fd98['length']);let _0x5ae750,_0x45c855=this['textDirectionAt'](_0x17fd98['from']);for(let _0x4caf15 of this['bidiCache'])if(_0x4caf15['from']==_0x17fd98['from']&&_0x4caf15['dir']==_0x45c855&&(_0x4caf15['fresh']||_0x37f582(_0x4caf15['isolates'],_0x5ae750=_0x2ee7f6(this,_0x17fd98))))return _0x4caf15['order'];_0x5ae750||(_0x5ae750=_0x2ee7f6(this,_0x17fd98));let _0x26bfbe=function(_0x3c4f95,_0xab8355,_0x2bd739){if(!_0x3c4f95)return[new _0x3550bb(0x0,0x0,_0xab8355==_0x5ec94b?0x1:0x0)];if(_0xab8355==_0xcff545&&!_0x2bd739['length']&&!_0x329492['test'](_0x3c4f95))return _0x5efbfd(_0x3c4f95['length']);if(_0x2bd739['length']){for(;_0x3c4f95['length']>_0x41712b['length'];)_0x41712b[_0x41712b['length']]=0x100;}let _0x492f73=[],_0x5eac6b=_0xab8355==_0xcff545?0x0:0x1;return _0x184df5(_0x3c4f95,_0x5eac6b,_0x5eac6b,_0x2bd739,0x0,_0x3c4f95['length'],_0x492f73),_0x492f73;}(_0x17fd98['text'],_0x45c855,_0x5ae750);return this['bidiCache']['push'](new _0x55b5a0(_0x17fd98['from'],_0x17fd98['to'],_0x45c855,_0x5ae750,!0x0,_0x26bfbe)),_0x26bfbe;}get['hasFocus'](){var _0x3893d9;return(this['dom']['ownerDocument']['hasFocus']()||_0x49766a['safari']&&(null===(_0x3893d9=this['inputState'])||void 0x0===_0x3893d9?void 0x0:_0x3893d9['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{_0x354cd2(this['contentDOM']),this['docView']['updateSelection']();});}setRoot(_0x4b8133){this['_root']!=_0x4b8133&&(this['_root']=_0x4b8133,this['observer']['setWindow']((0x9==_0x4b8133['nodeType']?_0x4b8133:_0x4b8133['ownerDocument'])['defaultView']||window),this['mountStyles']());}destroy(){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x18969b of this['plugins'])_0x18969b['destroy'](this);this['plugins']=[],this['inputState']['destroy'](),this['docView']['destroy'](),this['dom']['remove'](),this['observer']['destroy'](),this['measureScheduled']>-0x1&&this['win']['cancelAnimationFrame'](this['measureScheduled']),this['destroyed']=!0x0;}static scrollIntoView(_0x3a632a,_0x5b095b={}){var _0x316a4a,_0x5b6a9e,_0x2c1682,_0x167674;return _0x1cfcf1['of'](new _0x45f87f('number'==typeof _0x3a632a?_0x3bda1f['cursor'](_0x3a632a):_0x3a632a,null!==(_0x316a4a=_0x5b095b['y'])&&void 0x0!==_0x316a4a?_0x316a4a:'nearest',null!==(_0x5b6a9e=_0x5b095b['x'])&&void 0x0!==_0x5b6a9e?_0x5b6a9e:'nearest',null!==(_0x2c1682=_0x5b095b['yMargin'])&&void 0x0!==_0x2c1682?_0x2c1682:0x5,null!==(_0x167674=_0x5b095b['xMargin'])&&void 0x0!==_0x167674?_0x167674:0x5));}scrollSnapshot(){let {scrollTop:_0x129ce1,scrollLeft:_0x59ecd9}=this['scrollDOM'],_0x4644ae=this['viewState']['scrollAnchorAt'](_0x129ce1);return _0x1cfcf1['of'](new _0x45f87f(_0x3bda1f['cursor'](_0x4644ae['from']),'start','start',_0x4644ae['top']-_0x129ce1,_0x59ecd9,!0x0));}setTabFocusMode(_0x346550){null==_0x346550?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x346550?this['inputState']['tabFocusMode']=_0x346550?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x346550);}static domEventHandlers(_0x3e758b){return _0x221982['define'](()=>({}),{'eventHandlers':_0x3e758b});}static domEventObservers(_0x3cb29a){return _0x221982['define'](()=>({}),{'eventObservers':_0x3cb29a});}static theme(_0x2329bc,_0x24ab59){let _0x142efd=_0x582da9['newName'](),_0x171002=[_0x3cb3f4['of'](_0x142efd),_0x21db85['of'](_0x18ba29('.'+_0x142efd,_0x2329bc))];return _0x24ab59&&_0x24ab59['dark']&&_0x171002['push'](_0x39355e['of'](!0x0)),_0x171002;}static['baseTheme'](_0x53e88b){return _0x1cb9ad['lowest'](_0x21db85['of'](_0x18ba29('.'+_0x4b77f3,_0x53e88b,_0x7facf3)));}static['findFromDOM'](_0x4714a1){var _0x3f38b1;let _0x2b8f40=_0x4714a1['querySelector']('.cm-content'),_0x242285=_0x2b8f40&&_0x5912ed['get'](_0x2b8f40)||_0x5912ed['get'](_0x4714a1);return(null===(_0x3f38b1=null==_0x242285?void 0x0:_0x242285['root'])||void 0x0===_0x3f38b1?void 0x0:_0x3f38b1['view'])||null;}};_0x51f1f4['styleModule']=_0x21db85,_0x51f1f4['inputHandler']=_0x3c2524,_0x51f1f4['clipboardInputFilter']=_0xf675ed,_0x51f1f4['clipboardOutputFilter']=_0x2e8798,_0x51f1f4['scrollHandler']=_0x2e972b,_0x51f1f4['focusChangeEffect']=_0x4571d5,_0x51f1f4['perLineTextDirection']=_0x518cd9,_0x51f1f4['exceptionSink']=_0xd682f6,_0x51f1f4['updateListener']=_0x399030,_0x51f1f4['editable']=_0x22e47a,_0x51f1f4['mouseSelectionStyle']=_0x2a42b4,_0x51f1f4['dragMovesSelection']=_0xd9c44e,_0x51f1f4['clickAddsSelectionRange']=_0x4f8013,_0x51f1f4['decorations']=_0x255d5c,_0x51f1f4['blockWrappers']=_0x4c77cf,_0x51f1f4['outerDecorations']=tN,_0x51f1f4['atomicRanges']=_0x4c95f1,_0x51f1f4['bidiIsolatedRanges']=_0x7d7347,_0x51f1f4['cursorScrollMargin']=_0x2658c2['define']({'combine':_0x53a6bc=>{let _0x4a388e=0x5,_0x294b8a=0x5;for(let _0x2f49b0 of _0x53a6bc)'number'==typeof _0x2f49b0?_0x4a388e=_0x294b8a=_0x2f49b0:{x:_0x4a388e,y:_0x294b8a}=_0x2f49b0;return{'x':_0x4a388e,'y':_0x294b8a};}}),_0x51f1f4['scrollMargins']=_0x3578df,_0x51f1f4['darkTheme']=_0x39355e,_0x51f1f4['cspNonce']=_0x2658c2['define']({'combine':_0x10d08c=>_0x10d08c['length']?_0x10d08c[0x0]:''}),_0x51f1f4['contentAttributes']=_0x285b26,_0x51f1f4['editorAttributes']=_0x35ac26,_0x51f1f4['lineWrapping']=_0x51f1f4['contentAttributes']['of']({'class':'cm-lineWrapping'}),_0x51f1f4['announce']=_0x1f791d['define']();const _0x2dd50c=0x1000,_0x1660a4={};var _0x55b5a0=class _0x2c40f9{constructor(_0x554544,_0x202e18,_0x23f7e7,_0x4fc8bd,_0x211c5c,_0x1aa8f4){this['from']=_0x554544,this['to']=_0x202e18,this['dir']=_0x23f7e7,this['isolates']=_0x4fc8bd,this['fresh']=_0x211c5c,this['order']=_0x1aa8f4;}static update(_0x1c6e99,_0x539b78){if(_0x539b78['empty']&&!_0x1c6e99['some'](_0x1e5c51=>_0x1e5c51['fresh']))return _0x1c6e99;let _0xaaf890=[],_0x8d25b7=_0x1c6e99['length']?_0x1c6e99[_0x1c6e99['length']-0x1]['dir']:_0xf0cb7b['LTR'];for(let _0xa6d46e=Math['max'](0x0,_0x1c6e99['length']-0xa);_0xa6d46e<_0x1c6e99['length'];_0xa6d46e++){let _0x3e37c4=_0x1c6e99[_0xa6d46e];_0x3e37c4['dir']!=_0x8d25b7||_0x539b78['touchesRange'](_0x3e37c4['from'],_0x3e37c4['to'])||_0xaaf890['push'](new _0x2c40f9(_0x539b78['mapPos'](_0x3e37c4['from'],0x1),_0x539b78['mapPos'](_0x3e37c4['to'],-0x1),_0x3e37c4['dir'],_0x3e37c4['isolates'],!0x1,_0x3e37c4['order']));}return _0xaaf890;}};function _0x3eb379(_0x3da6a9,_0x389b8f,_0x38b7d9){for(let _0x41a45d=_0x3da6a9['state']['facet'](_0x389b8f),_0x2e5269=_0x41a45d['length']-0x1;_0x2e5269>=0x0;_0x2e5269--){let _0x89ed7b=_0x41a45d[_0x2e5269],_0x54f50b='function'==typeof _0x89ed7b?_0x89ed7b(_0x3da6a9):_0x89ed7b;_0x54f50b&&_0x485c9a(_0x54f50b,_0x38b7d9);}return _0x38b7d9;}const _0x1b65bf=_0x49766a['mac']?'mac':_0x49766a['windows']?'win':_0x49766a['linux']?'linux':'key';function _0x2d3aa0(_0x52dc25,_0x2d0fc6,_0x46be9e){return _0x2d0fc6['altKey']&&(_0x52dc25='Alt-'+_0x52dc25),_0x2d0fc6['ctrlKey']&&(_0x52dc25='Ctrl-'+_0x52dc25),_0x2d0fc6['metaKey']&&(_0x52dc25='Meta-'+_0x52dc25),!0x1!==_0x46be9e&&_0x2d0fc6['shiftKey']&&(_0x52dc25='Shift-'+_0x52dc25),_0x52dc25;}const _0x34ef38=_0x1cb9ad['default'](_0x51f1f4['domEventHandlers']({'keydown':(_0x2e5809,_0x34b38d)=>function(_0x3b4eda,_0x36b4eb,_0x44304b,_0x364739){_0x4a7cca=_0x36b4eb;let _0x44aed5=function(_0x3ecefe){var _0x45ba73=!(_0xc2656d&&_0x3ecefe['metaKey']&&_0x3ecefe['shiftKey']&&!_0x3ecefe['ctrlKey']&&!_0x3ecefe['altKey']||_0x4c7e66&&_0x3ecefe['shiftKey']&&_0x3ecefe['key']&&0x1==_0x3ecefe['key']['length']||'Unidentified'==_0x3ecefe['key'])&&_0x3ecefe['key']||(_0x3ecefe['shiftKey']?_0x583803:_0x1e5bee)[_0x3ecefe['keyCode']]||_0x3ecefe['key']||'Unidentified';return'Esc'==_0x45ba73&&(_0x45ba73='Escape'),'Del'==_0x45ba73&&(_0x45ba73='Delete'),'Left'==_0x45ba73&&(_0x45ba73='ArrowLeft'),'Up'==_0x45ba73&&(_0x45ba73='ArrowUp'),'Right'==_0x45ba73&&(_0x45ba73='ArrowRight'),'Down'==_0x45ba73&&(_0x45ba73='ArrowDown'),_0x45ba73;}(_0x36b4eb),_0x3c8271=_0xce687(_0x3b4c13(_0x44aed5,0x0))==_0x44aed5['length']&&'\x20'!=_0x44aed5,_0x194d28='',_0x162f86=!0x1,_0x20f4bb=!0x1,_0x31ada4=!0x1;_0x401995&&_0x401995['view']==_0x44304b&&_0x401995['scope']==_0x364739&&(_0x194d28=_0x401995['prefix']+'\x20',_0x1819ad['indexOf'](_0x36b4eb['keyCode'])<0x0&&(_0x20f4bb=!0x0,_0x401995=null));let _0x8cee96,_0x14afee,_0x65e188=new Set(),_0x338b03=_0x2e793a=>{if(_0x2e793a){for(let _0x17011d of _0x2e793a['run'])if(!_0x65e188['has'](_0x17011d)&&(_0x65e188['add'](_0x17011d),_0x17011d(_0x44304b)))return _0x2e793a['stopPropagation']&&(_0x31ada4=!0x0),!0x0;_0x2e793a['preventDefault']&&(_0x2e793a['stopPropagation']&&(_0x31ada4=!0x0),_0x20f4bb=!0x0);}return!0x1;},_0x7f5eca=_0x3b4eda[_0x364739];return _0x7f5eca&&(_0x338b03(_0x7f5eca[_0x194d28+_0x2d3aa0(_0x44aed5,_0x36b4eb,!_0x3c8271)])?_0x162f86=!0x0:!_0x3c8271||!(_0x36b4eb['altKey']||_0x36b4eb['metaKey']||_0x36b4eb['ctrlKey'])||_0x49766a['windows']&&_0x36b4eb['ctrlKey']&&_0x36b4eb['altKey']||_0x49766a['mac']&&_0x36b4eb['altKey']&&!_0x36b4eb['ctrlKey']&&!_0x36b4eb['metaKey']||!(_0x8cee96=_0x1e5bee[_0x36b4eb['keyCode']])||_0x8cee96==_0x44aed5?_0x3c8271&&_0x36b4eb['shiftKey']&&_0x338b03(_0x7f5eca[_0x194d28+_0x2d3aa0(_0x44aed5,_0x36b4eb,!0x0)])&&(_0x162f86=!0x0):(_0x338b03(_0x7f5eca[_0x194d28+_0x2d3aa0(_0x8cee96,_0x36b4eb,!0x0)])||_0x36b4eb['shiftKey']&&(_0x14afee=_0x583803[_0x36b4eb['keyCode']])!=_0x44aed5&&_0x14afee!=_0x8cee96&&_0x338b03(_0x7f5eca[_0x194d28+_0x2d3aa0(_0x14afee,_0x36b4eb,!0x1)]))&&(_0x162f86=!0x0),!_0x162f86&&_0x338b03(_0x7f5eca['_any'])&&(_0x162f86=!0x0)),_0x20f4bb&&(_0x162f86=!0x0),_0x162f86&&_0x31ada4&&_0x36b4eb['stopPropagation'](),(_0x4a7cca=null,_0x162f86);}(function(_0x5cdaa3){let _0x5d7395=_0x5cdaa3['facet'](_0xc0edec),_0x1609bd=_0x2d298a['get'](_0x5d7395);return _0x1609bd||_0x2d298a['set'](_0x5d7395,_0x1609bd=function(_0xf39246,_0x426f94=_0x1b65bf){let _0x1e87b7=Object['create'](null),_0x3b39b2=Object['create'](null),_0x5a92d2=(_0x29c0ba,_0x5cd18e)=>{let _0x578200=_0x3b39b2[_0x29c0ba];if(null==_0x578200)_0x3b39b2[_0x29c0ba]=_0x5cd18e;else{if(_0x578200!=_0x5cd18e)throw new Error('Key\x20binding\x20'+_0x29c0ba+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x30d9d4=(_0x235512,_0x254469,_0xdfb6e9,_0x20a63a,_0x241ac2)=>{var _0x337d28,_0x9b5886;let _0x172b16=_0x1e87b7[_0x235512]||(_0x1e87b7[_0x235512]=Object['create'](null)),_0x322917=_0x254469['split'](/ (?!$)/)['map'](_0x1051b9=>function(_0x55a180,_0x16f07c){const _0x3f97d3=_0x55a180['split'](/-(?!$)/);let _0x1dfd76,_0x208f98,_0x53ca41,_0x749e0,_0x3515be=_0x3f97d3[_0x3f97d3['length']-0x1];'Space'==_0x3515be&&(_0x3515be='\x20');for(let _0x1cd266=0x0;_0x1cd266<_0x3f97d3['length']-0x1;++_0x1cd266){const _0x33d60f=_0x3f97d3[_0x1cd266];if(/^(cmd|meta|m)$/i['test'](_0x33d60f))_0x749e0=!0x0;else{if(/^a(lt)?$/i['test'](_0x33d60f))_0x1dfd76=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x33d60f))_0x208f98=!0x0;else{if(/^s(hift)?$/i['test'](_0x33d60f))_0x53ca41=!0x0;else{if(!/^mod$/i['test'](_0x33d60f))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x33d60f);'mac'==_0x16f07c?_0x749e0=!0x0:_0x208f98=!0x0;}}}}}return _0x1dfd76&&(_0x3515be='Alt-'+_0x3515be),_0x208f98&&(_0x3515be='Ctrl-'+_0x3515be),_0x749e0&&(_0x3515be='Meta-'+_0x3515be),_0x53ca41&&(_0x3515be='Shift-'+_0x3515be),_0x3515be;}(_0x1051b9,_0x426f94));for(let _0x5d61a6=0x1;_0x5d61a6<_0x322917['length'];_0x5d61a6++){let _0x20049b=_0x322917['slice'](0x0,_0x5d61a6)['join']('\x20');_0x5a92d2(_0x20049b,!0x0),_0x172b16[_0x20049b]||(_0x172b16[_0x20049b]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x39d786=>{let _0x12ca9a=_0x401995={'view':_0x39d786,'prefix':_0x20049b,'scope':_0x235512};return setTimeout(()=>{_0x401995==_0x12ca9a&&(_0x401995=null);},_0xa8acd),!0x0;}]});}let _0x5f4f9b=_0x322917['join']('\x20');_0x5a92d2(_0x5f4f9b,!0x1);let _0x5f55ef=_0x172b16[_0x5f4f9b]||(_0x172b16[_0x5f4f9b]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x9b5886=null===(_0x337d28=_0x172b16['_any'])||void 0x0===_0x337d28?void 0x0:_0x337d28['run'])||void 0x0===_0x9b5886?void 0x0:_0x9b5886['slice']())||[]});_0xdfb6e9&&_0x5f55ef['run']['push'](_0xdfb6e9),_0x20a63a&&(_0x5f55ef['preventDefault']=!0x0),_0x241ac2&&(_0x5f55ef['stopPropagation']=!0x0);};for(let _0x17914a of _0xf39246){let _0x1f8347=_0x17914a['scope']?_0x17914a['scope']['split']('\x20'):['editor'];if(_0x17914a['any'])for(let _0x27a93a of _0x1f8347){let _0x3dee6e=_0x1e87b7[_0x27a93a]||(_0x1e87b7[_0x27a93a]=Object['create'](null));_0x3dee6e['_any']||(_0x3dee6e['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x507436}=_0x17914a;for(let _0x1e067b in _0x3dee6e)_0x3dee6e[_0x1e067b]['run']['push'](_0x28d048=>_0x507436(_0x28d048,_0x4a7cca));}let _0xd16ede=_0x17914a[_0x426f94]||_0x17914a['key'];if(_0xd16ede){for(let _0xc62ef0 of _0x1f8347)_0x30d9d4(_0xc62ef0,_0xd16ede,_0x17914a['run'],_0x17914a['preventDefault'],_0x17914a['stopPropagation']),_0x17914a['shift']&&_0x30d9d4(_0xc62ef0,'Shift-'+_0xd16ede,_0x17914a['shift'],_0x17914a['preventDefault'],_0x17914a['stopPropagation']);}}return _0x1e87b7;}(_0x5d7395['reduce']((_0x186d0d,_0x1ac38f)=>_0x186d0d['concat'](_0x1ac38f),[]))),_0x1609bd;}(_0x34b38d['state']),_0x2e5809,_0x34b38d,'editor')})),_0xc0edec=_0x2658c2['define']({'enables':_0x34ef38}),_0x2d298a=new WeakMap();let _0x401995=null;const _0xa8acd=0xfa0;let _0x4a7cca=null;var _0x6c47d2=class RectangleMarker{constructor(_0x52bedb,_0x5a7f9b,_0x2d056f,_0x4e577d,_0x95e021){this['className']=_0x52bedb,this['left']=_0x5a7f9b,this['top']=_0x2d056f,this['width']=_0x4e577d,this['height']=_0x95e021;}['draw'](){let _0x49ea39=document['createElement']('div');return _0x49ea39['className']=this['className'],this['adjust'](_0x49ea39),_0x49ea39;}update(_0x5ac95f,_0x138bdc){return _0x138bdc['className']==this['className']&&(this['adjust'](_0x5ac95f),!0x0);}adjust(_0x436fc8){_0x436fc8['style']['left']=this['left']+'px',_0x436fc8['style']['top']=this['top']+'px',null!=this['width']&&(_0x436fc8['style']['width']=this['width']+'px'),_0x436fc8['style']['height']=this['height']+'px';}['eq'](_0x1790a9){return this['left']==_0x1790a9['left']&&this['top']==_0x1790a9['top']&&this['width']==_0x1790a9['width']&&this['height']==_0x1790a9['height']&&this['className']==_0x1790a9['className'];}static['forRange'](_0x45af8d,_0x3c75c8,_0x516f20){if(_0x516f20['empty']){let _0x5a0e5c=_0x45af8d['coordsAtPos'](_0x516f20['head'],_0x516f20['assoc']||0x1);if(!_0x5a0e5c)return[];let _0x187286=_0x334bd1(_0x45af8d);return[new RectangleMarker(_0x3c75c8,_0x5a0e5c['left']-_0x187286['left'],_0x5a0e5c['top']-_0x187286['top'],null,_0x5a0e5c['bottom']-_0x5a0e5c['top'])];}return _0x265415(_0x45af8d,_0x3c75c8,_0x516f20);}};function _0x334bd1(_0x5e3d97){let _0x5f2ce1=_0x5e3d97['scrollDOM']['getBoundingClientRect']();return{'left':(_0x5e3d97['textDirection']==_0xf0cb7b['LTR']?_0x5f2ce1['left']:_0x5f2ce1['right']-_0x5e3d97['scrollDOM']['clientWidth']*_0x5e3d97['scaleX'])-_0x5e3d97['scrollDOM']['scrollLeft']*_0x5e3d97['scaleX'],'top':_0x5f2ce1['top']-_0x5e3d97['scrollDOM']['scrollTop']*_0x5e3d97['scaleY']};}function _0xb7e056(_0x58683c,_0x422d01,_0x55c1ce,_0x465359){let _0x3e1c3e=_0x58683c['coordsAtPos'](_0x422d01,0x2*_0x55c1ce);if(!_0x3e1c3e)return _0x465359;let _0x2a767f=_0x58683c['dom']['getBoundingClientRect'](),_0x5c72a4=(_0x3e1c3e['top']+_0x3e1c3e['bottom'])/0x2,_0x17a98b=_0x58683c['posAtCoords']({'x':_0x2a767f['left']+0x1,'y':_0x5c72a4}),_0x2283ed=_0x58683c['posAtCoords']({'x':_0x2a767f['right']-0x1,'y':_0x5c72a4});return null==_0x17a98b||null==_0x2283ed?_0x465359:{'from':Math['max'](_0x465359['from'],Math['min'](_0x17a98b,_0x2283ed)),'to':Math['min'](_0x465359['to'],Math['max'](_0x17a98b,_0x2283ed))};}function _0x265415(_0x37a0ab,_0x13e9f1,_0x5059f6){if(_0x5059f6['to']<=_0x37a0ab['viewport']['from']||_0x5059f6['from']>=_0x37a0ab['viewport']['to'])return[];let _0x4d8169=Math['max'](_0x5059f6['from'],_0x37a0ab['viewport']['from']),_0x4fa037=Math['min'](_0x5059f6['to'],_0x37a0ab['viewport']['to']),_0x181ce7=_0x37a0ab['textDirection']==_0xf0cb7b['LTR'],_0x1972e6=_0x37a0ab['contentDOM'],_0x1e2e8c=_0x1972e6['getBoundingClientRect'](),_0x2c75ae=_0x334bd1(_0x37a0ab),_0x4b52cc=_0x1972e6['querySelector']('.cm-line'),_0x336303=_0x4b52cc&&window['getComputedStyle'](_0x4b52cc),_0x491d96=_0x1e2e8c['left']+(_0x336303?parseInt(_0x336303['paddingLeft'])+Math['min'](0x0,parseInt(_0x336303['textIndent'])):0x0),_0x2628df=_0x1e2e8c['right']-(_0x336303?parseInt(_0x336303['paddingRight']):0x0),_0x9fcfc8=_0x447ea7(_0x37a0ab,_0x4d8169,0x1),_0x45ead3=_0x447ea7(_0x37a0ab,_0x4fa037,-0x1),_0x17cca4=_0x9fcfc8['type']==_0xc9238a['Text']?_0x9fcfc8:null,_0x7bf548=_0x45ead3['type']==_0xc9238a['Text']?_0x45ead3:null;if(_0x17cca4&&(_0x37a0ab['lineWrapping']||_0x9fcfc8['widgetLineBreaks'])&&(_0x17cca4=_0xb7e056(_0x37a0ab,_0x4d8169,0x1,_0x17cca4)),_0x7bf548&&(_0x37a0ab['lineWrapping']||_0x45ead3['widgetLineBreaks'])&&(_0x7bf548=_0xb7e056(_0x37a0ab,_0x4fa037,-0x1,_0x7bf548)),_0x17cca4&&_0x7bf548&&_0x17cca4['from']==_0x7bf548['from']&&_0x17cca4['to']==_0x7bf548['to'])return _0x4b0601(_0xfc1073(_0x5059f6['from'],_0x5059f6['to'],_0x17cca4));{let _0x2ef50f=_0x17cca4?_0xfc1073(_0x5059f6['from'],null,_0x17cca4):_0x5301fb(_0x9fcfc8,!0x1),_0xf6e7f1=_0x7bf548?_0xfc1073(null,_0x5059f6['to'],_0x7bf548):_0x5301fb(_0x45ead3,!0x0),_0x3005df=[];return(_0x17cca4||_0x9fcfc8)['to']<(_0x7bf548||_0x45ead3)['from']-(_0x17cca4&&_0x7bf548?0x1:0x0)||_0x9fcfc8['widgetLineBreaks']>0x1&&_0x2ef50f['bottom']+_0x37a0ab['defaultLineHeight']/0x2<_0xf6e7f1['top']?_0x3005df['push'](_0x318742(_0x491d96,_0x2ef50f['bottom'],_0x2628df,_0xf6e7f1['top'])):_0x2ef50f['bottom']<_0xf6e7f1['top']&&_0x37a0ab['elementAtHeight']((_0x2ef50f['bottom']+_0xf6e7f1['top'])/0x2)['type']==_0xc9238a['Text']&&(_0x2ef50f['bottom']=_0xf6e7f1['top']=(_0x2ef50f['bottom']+_0xf6e7f1['top'])/0x2),_0x4b0601(_0x2ef50f)['concat'](_0x3005df)['concat'](_0x4b0601(_0xf6e7f1));}function _0x318742(_0x300349,_0x40154c,_0x58afa3,_0x2e2abf){return new _0x6c47d2(_0x13e9f1,_0x300349-_0x2c75ae['left'],_0x40154c-_0x2c75ae['top'],Math['max'](0x0,_0x58afa3-_0x300349),_0x2e2abf-_0x40154c);}function _0x4b0601({top:_0x7a22de,bottom:_0x36cac9,horizontal:_0x15d209}){let _0x32cad1=[];for(let _0x432865=0x0;_0x432865<_0x15d209['length'];_0x432865+=0x2)_0x32cad1['push'](_0x318742(_0x15d209[_0x432865],_0x7a22de,_0x15d209[_0x432865+0x1],_0x36cac9));return _0x32cad1;}function _0xfc1073(_0x1cea6b,_0x1c2619,_0x4c3153){let _0x5ca30a=0x3b9aca00,_0x58a2cf=-0x3b9aca00,_0x3fded3=[];function _0x1d8133(_0x335897,_0x161365,_0x4109f2,_0x37fc35,_0xec5be1){let _0x2ed4ff=_0x37a0ab['coordsAtPos'](_0x335897,_0x335897==_0x4c3153['to']?-0x2:0x2),_0x50ec5e=_0x37a0ab['coordsAtPos'](_0x4109f2,_0x4109f2==_0x4c3153['from']?0x2:-0x2);_0x2ed4ff&&_0x50ec5e&&(_0x5ca30a=Math['min'](_0x2ed4ff['top'],_0x50ec5e['top'],_0x5ca30a),_0x58a2cf=Math['max'](_0x2ed4ff['bottom'],_0x50ec5e['bottom'],_0x58a2cf),_0xec5be1==_0xf0cb7b['LTR']?_0x3fded3['push'](_0x181ce7&&_0x161365?_0x491d96:_0x2ed4ff['left'],_0x181ce7&&_0x37fc35?_0x2628df:_0x50ec5e['right']):_0x3fded3['push'](!_0x181ce7&&_0x37fc35?_0x491d96:_0x50ec5e['left'],!_0x181ce7&&_0x161365?_0x2628df:_0x2ed4ff['right']));}let _0x47eef2=null!=_0x1cea6b?_0x1cea6b:_0x4c3153['from'],_0x57c589=null!=_0x1c2619?_0x1c2619:_0x4c3153['to'];for(let _0x41f867 of _0x37a0ab['visibleRanges'])if(_0x41f867['to']>_0x47eef2&&_0x41f867['from']<_0x57c589)for(let _0x1c2cda=Math['max'](_0x41f867['from'],_0x47eef2),_0x40ede6=Math['min'](_0x41f867['to'],_0x57c589);;){let _0x2cb26f=_0x37a0ab['state']['doc']['lineAt'](_0x1c2cda);for(let _0x2bc193 of _0x37a0ab['bidiSpans'](_0x2cb26f)){let _0x3c6304=_0x2bc193['from']+_0x2cb26f['from'],_0x152aea=_0x2bc193['to']+_0x2cb26f['from'];if(_0x3c6304>=_0x40ede6)break;_0x152aea>_0x1c2cda&&_0x1d8133(Math['max'](_0x3c6304,_0x1c2cda),null==_0x1cea6b&&_0x3c6304<=_0x47eef2,Math['min'](_0x152aea,_0x40ede6),null==_0x1c2619&&_0x152aea>=_0x57c589,_0x2bc193['dir']);}if(_0x1c2cda=_0x2cb26f['to']+0x1,_0x1c2cda>=_0x40ede6)break;}return 0x0==_0x3fded3['length']&&_0x1d8133(_0x47eef2,null==_0x1cea6b,_0x57c589,null==_0x1c2619,_0x37a0ab['textDirection']),{'top':_0x5ca30a,'bottom':_0x58a2cf,'horizontal':_0x3fded3};}function _0x5301fb(_0x595241,_0x32b9c5){let _0x50b942=_0x1e2e8c['top']+(_0x32b9c5?_0x595241['top']:_0x595241['bottom']);return{'top':_0x50b942,'bottom':_0x50b942,'horizontal':[]};}}var _0x32dd38=class{constructor(_0x309250,_0x23544f){this['view']=_0x309250,this['layer']=_0x23544f,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x309250['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x23544f['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x23544f['class']&&this['dom']['classList']['add'](_0x23544f['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x309250['state']),_0x309250['requestMeasure'](this['measureReq']),_0x23544f['mount']&&_0x23544f['mount'](this['dom'],_0x309250);}update(_0x5d1445){_0x5d1445['startState']['facet'](_0x307765)!=_0x5d1445['state']['facet'](_0x307765)&&this['setOrder'](_0x5d1445['state']),(this['layer']['update'](_0x5d1445,this['dom'])||_0x5d1445['geometryChanged'])&&(this['scale'](),_0x5d1445['view']['requestMeasure'](this['measureReq']));}docViewUpdate(_0x15bb38){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x15bb38['requestMeasure'](this['measureReq']);}setOrder(_0x75aeba){let _0x5188e2=0x0,_0x53d96c=_0x75aeba['facet'](_0x307765);for(;_0x5188e2<_0x53d96c['length']&&_0x53d96c[_0x5188e2]!=this['layer'];)_0x5188e2++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x5188e2);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x4a79a6,scaleY:_0x3c541d}=this['view'];_0x4a79a6==this['scaleX']&&_0x3c541d==this['scaleY']||(this['scaleX']=_0x4a79a6,this['scaleY']=_0x3c541d,this['dom']['style']['transform']='scale('+0x1/_0x4a79a6+',\x20'+0x1/_0x3c541d+')');}['draw'](_0x2a2d01){if(_0x2a2d01['length']!=this['drawn']['length']||_0x2a2d01['some']((_0x460aa3,_0x76f44b)=>{return _0x10a3be=_0x460aa3,_0x1dee0b=this['drawn'][_0x76f44b],!(_0x10a3be['constructor']==_0x1dee0b['constructor']&&_0x10a3be['eq'](_0x1dee0b));var _0x10a3be,_0x1dee0b;})){let _0x35be39=this['dom']['firstChild'],_0x496a3f=0x0;for(let _0x4253fa of _0x2a2d01)_0x4253fa['update']&&_0x35be39&&_0x4253fa['constructor']&&this['drawn'][_0x496a3f]['constructor']&&_0x4253fa['update'](_0x35be39,this['drawn'][_0x496a3f])?(_0x35be39=_0x35be39['nextSibling'],_0x496a3f++):this['dom']['insertBefore'](_0x4253fa['draw'](),_0x35be39);for(;_0x35be39;){let _0x36ce83=_0x35be39['nextSibling'];_0x35be39['remove'](),_0x35be39=_0x36ce83;}this['drawn']=_0x2a2d01,_0x49766a['webkit']&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}destroy(){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}};const _0x307765=_0x2658c2['define']();function _0x26677a(_0xe815ce){return[_0x221982['define'](_0x591748=>new _0x32dd38(_0x591748,_0xe815ce)),_0x307765['of'](_0xe815ce)];}const _0x258706=_0x2658c2['define']({'combine':_0x35a218=>_0x264c41(_0x35a218,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0,'iosSelectionHandles':!0x0},{'cursorBlinkRate':(_0x35fd72,_0x24d6a4)=>Math['min'](_0x35fd72,_0x24d6a4),'drawRangeCursor':(_0xb463b2,_0x2d3163)=>_0xb463b2||_0x2d3163})});function _0x5188c5(_0x49b248={}){return[_0x258706['of'](_0x49b248),_0x1ea071,_0x141394,_0x3855f5,_0x466007['of'](!0x0)];}function _0x360eea(_0x2b9e5d){return _0x2b9e5d['startState']['facet'](_0x258706)!=_0x2b9e5d['state']['facet'](_0x258706);}const _0x1ea071=_0x26677a({'above':!0x0,'markers'(_0x2d4234){let {state:_0x2fcde7}=_0x2d4234,_0x56d0b2=_0x2fcde7['facet'](_0x258706),_0x575b38=[];for(let _0x24aad2 of _0x2fcde7['selection']['ranges']){let _0x2fe023=_0x24aad2==_0x2fcde7['selection']['main'];if(_0x24aad2['empty']||_0x56d0b2['drawRangeCursor']&&!(_0x2fe023&&_0x49766a['ios']&&_0x56d0b2['iosSelectionHandles'])){let _0x3f2d33=_0x2fe023?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x39ba60=_0x24aad2['empty']?_0x24aad2:_0x3bda1f['cursor'](_0x24aad2['head'],_0x24aad2['assoc']);for(let _0xf5826 of _0x6c47d2['forRange'](_0x2d4234,_0x3f2d33,_0x39ba60))_0x575b38['push'](_0xf5826);}}return _0x575b38;},'update'(_0x574285,_0x4d0ea9){_0x574285['transactions']['some'](_0xb723df=>_0xb723df['selection'])&&(_0x4d0ea9['style']['animationName']='cm-blink'==_0x4d0ea9['style']['animationName']?'cm-blink2':'cm-blink');let _0xf5ac2=_0x360eea(_0x574285);return _0xf5ac2&&_0x2ed4f9(_0x574285['state'],_0x4d0ea9),_0x574285['docChanged']||_0x574285['selectionSet']||_0xf5ac2;},'mount'(_0x2e395c,_0xf6100a){_0x2ed4f9(_0xf6100a['state'],_0x2e395c);},'class':'cm-cursorLayer'});function _0x2ed4f9(_0x1d3378,_0x22a4ee){_0x22a4ee['style']['animationDuration']=_0x1d3378['facet'](_0x258706)['cursorBlinkRate']+'ms';}const _0x141394=_0x26677a({'above':!0x1,'markers'(_0x3439e4){let _0x4f0514=[],{main:_0x2ea717,ranges:_0x12c1fe}=_0x3439e4['state']['selection'];for(let _0xa34b23 of _0x12c1fe)if(!_0xa34b23['empty']){for(let _0x25f17d of _0x6c47d2['forRange'](_0x3439e4,'cm-selectionBackground',_0xa34b23))_0x4f0514['push'](_0x25f17d);}if(_0x49766a['ios']&&!_0x2ea717['empty']&&_0x3439e4['state']['facet'](_0x258706)['iosSelectionHandles']){for(let _0x4e59e0 of _0x6c47d2['forRange'](_0x3439e4,'cm-selectionHandle\x20cm-selectionHandle-start',_0x3bda1f['cursor'](_0x2ea717['from'],0x1)))_0x4f0514['push'](_0x4e59e0);for(let _0x46d415 of _0x6c47d2['forRange'](_0x3439e4,'cm-selectionHandle\x20cm-selectionHandle-end',_0x3bda1f['cursor'](_0x2ea717['to'],0x1)))_0x4f0514['push'](_0x46d415);}return _0x4f0514;},'update':(_0x303eab,_0xb20804)=>_0x303eab['docChanged']||_0x303eab['selectionSet']||_0x303eab['viewportChanged']||_0x360eea(_0x303eab),'class':'cm-selectionLayer'}),_0x3855f5=_0x1cb9ad['highest'](_0x51f1f4['theme']({'.cm-line':{'&\x20::selection,\x20&::selection':{'backgroundColor':'transparent\x20!important'},'caretColor':'transparent\x20!important'},'.cm-content':{'caretColor':'transparent\x20!important','&\x20:focus':{'caretColor':'initial\x20!important','&::selection,\x20&\x20::selection':{'backgroundColor':'Highlight\x20!important'}}}})),_0x394e20=_0x1f791d['define']({'map':(_0x56b132,_0x249b81)=>null==_0x56b132?null:_0x249b81['mapPos'](_0x56b132)}),_0x23dc5d=_0xe7f3f['define']({'create':()=>null,'update':(_0x513974,_0x15582b)=>(null!=_0x513974&&(_0x513974=_0x15582b['changes']['mapPos'](_0x513974)),_0x15582b['effects']['reduce']((_0x41e22d,_0xaa570e)=>_0xaa570e['is'](_0x394e20)?_0xaa570e['value']:_0x41e22d,_0x513974))}),_0xa6cd7c=_0x221982['fromClass'](class{constructor(_0x379c42){this['view']=_0x379c42,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}update(_0x3d71d8){var _0x24a2c9;let _0x52470c=_0x3d71d8['state']['field'](_0x23dc5d);null==_0x52470c?null!=this['cursor']&&(null===(_0x24a2c9=this['cursor'])||void 0x0===_0x24a2c9||_0x24a2c9['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x3d71d8['startState']['field'](_0x23dc5d)!=_0x52470c||_0x3d71d8['docChanged']||_0x3d71d8['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x58212b}=this,_0x2fd729=_0x58212b['state']['field'](_0x23dc5d),_0x12c40e=null!=_0x2fd729&&_0x58212b['coordsAtPos'](_0x2fd729);if(!_0x12c40e)return null;let _0x457046=_0x58212b['scrollDOM']['getBoundingClientRect']();return{'left':_0x12c40e['left']-_0x457046['left']+_0x58212b['scrollDOM']['scrollLeft']*_0x58212b['scaleX'],'top':_0x12c40e['top']-_0x457046['top']+_0x58212b['scrollDOM']['scrollTop']*_0x58212b['scaleY'],'height':_0x12c40e['bottom']-_0x12c40e['top']};}['drawCursor'](_0x5c63e9){if(this['cursor']){let {scaleX:_0x4e5a2d,scaleY:_0x72c874}=this['view'];_0x5c63e9?(this['cursor']['style']['left']=_0x5c63e9['left']/_0x4e5a2d+'px',this['cursor']['style']['top']=_0x5c63e9['top']/_0x72c874+'px',this['cursor']['style']['height']=_0x5c63e9['height']/_0x72c874+'px'):this['cursor']['style']['left']='-100000px';}}destroy(){this['cursor']&&this['cursor']['remove']();}setDropPos(_0x50cfea){this['view']['state']['field'](_0x23dc5d)!=_0x50cfea&&this['view']['dispatch']({'effects':_0x394e20['of'](_0x50cfea)});}},{'eventObservers':{'dragover'(_0x5403b2){this['setDropPos'](this['view']['posAtCoords']({'x':_0x5403b2['clientX'],'y':_0x5403b2['clientY']}));},'dragleave'(_0x4cba0d){_0x4cba0d['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x4cba0d['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x2b1c39(){return[_0x23dc5d,_0xa6cd7c];}function _0xac5a69(_0xd72d1f,_0x450a2a,_0xee23f9,_0x21da1a,_0x113f22){_0x450a2a['lastIndex']=0x0;for(let _0x290d72,_0xa020f0=_0xd72d1f['iterRange'](_0xee23f9,_0x21da1a),_0x152515=_0xee23f9;!_0xa020f0['next']()['done'];_0x152515+=_0xa020f0['value']['length'])if(!_0xa020f0['lineBreak']){for(;_0x290d72=_0x450a2a['exec'](_0xa020f0['value']);)_0x113f22(_0x152515+_0x290d72['index'],_0x290d72);}}var _0xd55e9e=class{constructor(_0x15a84d){const {regexp:_0x141fb5,decoration:_0x13588d,decorate:_0x128141,boundary:_0x548aa1,maxLength:_0x54c037=0x3e8}=_0x15a84d;if(!_0x141fb5['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x141fb5,_0x128141)this['addMatch']=(_0x47eecb,_0x138d58,_0x599f1d,_0x54d64e)=>_0x128141(_0x54d64e,_0x599f1d,_0x599f1d+_0x47eecb[0x0]['length'],_0x47eecb,_0x138d58);else{if('function'==typeof _0x13588d)this['addMatch']=(_0x4f9721,_0x4f79b5,_0x460efe,_0xfe4994)=>{let _0x1ce70b=_0x13588d(_0x4f9721,_0x4f79b5,_0x460efe);_0x1ce70b&&_0xfe4994(_0x460efe,_0x460efe+_0x4f9721[0x0]['length'],_0x1ce70b);};else{if(!_0x13588d)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x47a8b4,_0x47bfd3,_0x7aacbb,_0x558571)=>_0x558571(_0x7aacbb,_0x7aacbb+_0x47a8b4[0x0]['length'],_0x13588d);}}this['boundary']=_0x548aa1,this['maxLength']=_0x54c037;}createDeco(_0x3a2409){let _0x3a81db=new _0x5afce5(),_0x4b6804=_0x3a81db['add']['bind'](_0x3a81db);for(let {from:_0x2c8fa0,to:_0x5ab202}of function(_0x33f099,_0x238afb){let _0x3d41a9=_0x33f099['visibleRanges'];if(0x1==_0x3d41a9['length']&&_0x3d41a9[0x0]['from']==_0x33f099['viewport']['from']&&_0x3d41a9[0x0]['to']==_0x33f099['viewport']['to'])return _0x3d41a9;let _0x46d97f=[];for(let {from:_0x3d2e15,to:_0x149bee}of _0x3d41a9)_0x3d2e15=Math['max'](_0x33f099['state']['doc']['lineAt'](_0x3d2e15)['from'],_0x3d2e15-_0x238afb),_0x149bee=Math['min'](_0x33f099['state']['doc']['lineAt'](_0x149bee)['to'],_0x149bee+_0x238afb),_0x46d97f['length']&&_0x46d97f[_0x46d97f['length']-0x1]['to']>=_0x3d2e15?_0x46d97f[_0x46d97f['length']-0x1]['to']=_0x149bee:_0x46d97f['push']({'from':_0x3d2e15,'to':_0x149bee});return _0x46d97f;}(_0x3a2409,this['maxLength']))_0xac5a69(_0x3a2409['state']['doc'],this['regexp'],_0x2c8fa0,_0x5ab202,(_0x529a29,_0x59850b)=>this['addMatch'](_0x59850b,_0x3a2409,_0x529a29,_0x4b6804));return _0x3a81db['finish']();}updateDeco(_0x39a744,_0x4a41c6){let _0x42f0aa=0x3b9aca00,_0xb27efe=-0x1;return _0x39a744['docChanged']&&_0x39a744['changes']['iterChanges']((_0x32fb24,_0x25414f,_0x151d91,_0x3b7292)=>{_0x3b7292>=_0x39a744['view']['viewport']['from']&&_0x151d91<=_0x39a744['view']['viewport']['to']&&(_0x42f0aa=Math['min'](_0x151d91,_0x42f0aa),_0xb27efe=Math['max'](_0x3b7292,_0xb27efe));}),_0x39a744['viewportMoved']||_0xb27efe-_0x42f0aa>0x3e8?this['createDeco'](_0x39a744['view']):_0xb27efe>-0x1?this['updateRange'](_0x39a744['view'],_0x4a41c6['map'](_0x39a744['changes']),_0x42f0aa,_0xb27efe):_0x4a41c6;}updateRange(_0x3324bd,_0x241ee1,_0x308f40,_0xe8b0c0){for(let _0x233b18 of _0x3324bd['visibleRanges']){let _0x428e39=Math['max'](_0x233b18['from'],_0x308f40),_0x13ba72=Math['min'](_0x233b18['to'],_0xe8b0c0);if(_0x13ba72>=_0x428e39){let _0x59ce5=_0x3324bd['state']['doc']['lineAt'](_0x428e39),_0x19b141=_0x59ce5['to']<_0x13ba72?_0x3324bd['state']['doc']['lineAt'](_0x13ba72):_0x59ce5,_0x33236e=Math['max'](_0x233b18['from'],_0x59ce5['from']),_0x4461ce=Math['min'](_0x233b18['to'],_0x19b141['to']);if(this['boundary']){for(;_0x428e39>_0x59ce5['from'];_0x428e39--)if(this['boundary']['test'](_0x59ce5['text'][_0x428e39-0x1-_0x59ce5['from']])){_0x33236e=_0x428e39;break;}for(;_0x13ba72<_0x19b141['to'];_0x13ba72++)if(this['boundary']['test'](_0x19b141['text'][_0x13ba72-_0x19b141['from']])){_0x4461ce=_0x13ba72;break;}}let _0x39c944,_0x66506e=[],_0x23c06b=(_0x33e41d,_0x3a5727,_0x50cf1f)=>_0x66506e['push'](_0x50cf1f['range'](_0x33e41d,_0x3a5727));if(_0x59ce5==_0x19b141){for(this['regexp']['lastIndex']=_0x33236e-_0x59ce5['from'];(_0x39c944=this['regexp']['exec'](_0x59ce5['text']))&&_0x39c944['index']<_0x4461ce-_0x59ce5['from'];)this['addMatch'](_0x39c944,_0x3324bd,_0x39c944['index']+_0x59ce5['from'],_0x23c06b);}else _0xac5a69(_0x3324bd['state']['doc'],this['regexp'],_0x33236e,_0x4461ce,(_0x170710,_0x53e00d)=>this['addMatch'](_0x53e00d,_0x3324bd,_0x170710,_0x23c06b));_0x241ee1=_0x241ee1['update']({'filterFrom':_0x33236e,'filterTo':_0x4461ce,'filter':(_0x4ca2e0,_0x43a950)=>_0x4ca2e0<_0x33236e||_0x43a950>_0x4461ce,'add':_0x66506e});}}return _0x241ee1;}};const _0x22fa0a=null!=/x/['unicode']?'gu':'g',_0x1da5b0=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',_0x22fa0a),t$={0x0:'null',0x7:'bell',0x8:'backspace',0xa:'newline',0xb:'vertical\x20tab',0xd:'carriage\x20return',0x1b:'escape',0x200b:'zero\x20width\x20space',0x200c:'zero\x20width\x20non-joiner',0x200d:'zero\x20width\x20joiner',0x200e:'left-to-right\x20mark',0x200f:'right-to-left\x20mark',0x2028:'line\x20separator',0x202d:'left-to-right\x20override',0x202e:'right-to-left\x20override',0x2066:'left-to-right\x20isolate',0x2067:'right-to-left\x20isolate',0x2069:'pop\x20directional\x20isolate',0x2029:'paragraph\x20separator',0xfeff:'zero\x20width\x20no-break\x20space',0xfffc:'object\x20replacement'};let _0x1e7d0d=null;const _0x3b0b95=_0x2658c2['define']({'combine'(_0xf7613){let _0xc61524=_0x264c41(_0xf7613,{'render':null,'specialChars':_0x1da5b0,'addSpecialChars':null});return(_0xc61524['replaceTabs']=!(function(){var _0x3617eb;if(null==_0x1e7d0d&&'undefined'!=typeof document&&document['body']){let _0x4bb935=document['body']['style'];_0x1e7d0d=null!=(null!==(_0x3617eb=_0x4bb935['tabSize'])&&void 0x0!==_0x3617eb?_0x3617eb:_0x4bb935['MozTabSize']);}return _0x1e7d0d||!0x1;}()))&&(_0xc61524['specialChars']=new RegExp('\x09|'+_0xc61524['specialChars']['source'],_0x22fa0a)),_0xc61524['addSpecialChars']&&(_0xc61524['specialChars']=new RegExp(_0xc61524['specialChars']['source']+'|'+_0xc61524['addSpecialChars']['source'],_0x22fa0a)),_0xc61524;}});function _0x2238b2(_0x5b9dd7={}){return[_0x3b0b95['of'](_0x5b9dd7),_0x28ecd9||(_0x28ecd9=_0x221982['fromClass'](class{constructor(_0x4d5332){this['view']=_0x4d5332,this['decorations']=_0x18eb2e['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x4d5332['state']['facet'](_0x3b0b95)),this['decorations']=this['decorator']['createDeco'](_0x4d5332);}makeDecorator(_0xe4b1ed){return new _0xd55e9e({'regexp':_0xe4b1ed['specialChars'],'decoration':(_0x4b0108,_0x4e93f3,_0x1cd7d0)=>{let {doc:_0x81bf52}=_0x4e93f3['state'],_0x39333e=_0x3b4c13(_0x4b0108[0x0],0x0);if(0x9==_0x39333e){let _0x51325f=_0x81bf52['lineAt'](_0x1cd7d0),_0x3ae875=_0x4e93f3['state']['tabSize'],_0x23bc18=_0x5d2e97(_0x51325f['text'],_0x3ae875,_0x1cd7d0-_0x51325f['from']);return _0x18eb2e['replace']({'widget':new _0x322713((_0x3ae875-_0x23bc18%_0x3ae875)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x39333e]||(this['decorationCache'][_0x39333e]=_0x18eb2e['replace']({'widget':new _0x16d3be(_0xe4b1ed,_0x39333e)}));},'boundary':_0xe4b1ed['replaceTabs']?void 0x0:/[^]/});}update(_0x3ce11e){let _0x3615fa=_0x3ce11e['state']['facet'](_0x3b0b95);_0x3ce11e['startState']['facet'](_0x3b0b95)!=_0x3615fa?(this['decorator']=this['makeDecorator'](_0x3615fa),this['decorations']=this['decorator']['createDeco'](_0x3ce11e['view'])):this['decorations']=this['decorator']['updateDeco'](_0x3ce11e,this['decorations']);}},{'decorations':_0x281daf=>_0x281daf['decorations']}))];}let _0x28ecd9=null;var _0x16d3be=class extends _0x4016c2{constructor(_0x50f2bc,_0x5c647b){super(),this['options']=_0x50f2bc,this['code']=_0x5c647b;}['eq'](_0x5269bb){return _0x5269bb['code']==this['code'];}toDOM(_0x569a19){let _0x4ae588=function(_0x14667c){return _0x14667c>=0x20?'•':0xa==_0x14667c?'␤':String['fromCharCode'](0x2400+_0x14667c);}(this['code']),_0x1ef25f=_0x569a19['state']['phrase']('Control\x20character')+'\x20'+(t$[this['code']]||'0x'+this['code']['toString'](0x10)),_0xeb3cce=this['options']['render']&&this['options']['render'](this['code'],_0x1ef25f,_0x4ae588);if(_0xeb3cce)return _0xeb3cce;let _0x30c02d=document['createElement']('span');return _0x30c02d['textContent']=_0x4ae588,_0x30c02d['title']=_0x1ef25f,_0x30c02d['setAttribute']('aria-label',_0x1ef25f),_0x30c02d['className']='cm-specialChar',_0x30c02d;}ignoreEvent(){return!0x1;}},_0x322713=class extends _0x4016c2{constructor(_0x3892ff){super(),this['width']=_0x3892ff;}['eq'](_0x1e9090){return _0x1e9090['width']==this['width'];}toDOM(){let _0x2b7042=document['createElement']('span');return _0x2b7042['textContent']='\x09',_0x2b7042['className']='cm-tab',_0x2b7042['style']['width']=this['width']+'px',_0x2b7042;}ignoreEvent(){return!0x1;}};function _0xbd3277(){return _0x5e8752;}const _0x5c2d2a=_0x18eb2e['line']({'class':'cm-activeLine'}),_0x5e8752=_0x221982['fromClass'](class{constructor(_0x2076b2){this['decorations']=this['getDeco'](_0x2076b2);}update(_0x1a98e9){(_0x1a98e9['docChanged']||_0x1a98e9['selectionSet'])&&(this['decorations']=this['getDeco'](_0x1a98e9['view']));}getDeco(_0xa7d18e){let _0x83aada=-0x1,_0xbf18a=[];for(let _0x5a13ba of _0xa7d18e['state']['selection']['ranges']){let _0x558185=_0xa7d18e['lineBlockAt'](_0x5a13ba['head']);_0x558185['from']>_0x83aada&&(_0xbf18a['push'](_0x5c2d2a['range'](_0x558185['from'])),_0x83aada=_0x558185['from']);}return _0x18eb2e['set'](_0xbf18a);}},{'decorations':_0x3b11ce=>_0x3b11ce['decorations']}),_0x518fd5=0x7d0;function _0x3ccbd0(_0x5f5af4,_0x1e4bf8){let _0x3a38d2=_0x5f5af4['posAtCoords']({'x':_0x1e4bf8['clientX'],'y':_0x1e4bf8['clientY']},!0x1),_0x608fbb=_0x5f5af4['state']['doc']['lineAt'](_0x3a38d2),_0x359db1=_0x3a38d2-_0x608fbb['from'],_0x18328d=_0x359db1>_0x518fd5?-0x1:_0x359db1==_0x608fbb['length']?function(_0x1f1d4e,_0x15e881){let _0xbca58a=_0x1f1d4e['coordsAtPos'](_0x1f1d4e['viewport']['from']);return _0xbca58a?Math['round'](Math['abs']((_0xbca58a['left']-_0x15e881)/_0x1f1d4e['defaultCharacterWidth'])):-0x1;}(_0x5f5af4,_0x1e4bf8['clientX']):_0x5d2e97(_0x608fbb['text'],_0x5f5af4['state']['tabSize'],_0x3a38d2-_0x608fbb['from']);return{'line':_0x608fbb['number'],'col':_0x18328d,'off':_0x359db1};}function _0x369de4(_0x6e3e7c,_0x53d333){let _0x3e00df=_0x3ccbd0(_0x6e3e7c,_0x53d333),_0x21d44f=_0x6e3e7c['state']['selection'];return _0x3e00df?{'update'(_0x488626){if(_0x488626['docChanged']){let _0x35308c=_0x488626['changes']['mapPos'](_0x488626['startState']['doc']['line'](_0x3e00df['line'])['from']),_0x165f44=_0x488626['state']['doc']['lineAt'](_0x35308c);_0x3e00df={'line':_0x165f44['number'],'col':_0x3e00df['col'],'off':Math['min'](_0x3e00df['off'],_0x165f44['length'])},_0x21d44f=_0x21d44f['map'](_0x488626['changes']);}},'get'(_0x53cedb,_0x205e20,_0x15a610){let _0x56346f=_0x3ccbd0(_0x6e3e7c,_0x53cedb);if(!_0x56346f)return _0x21d44f;let _0x5827b6=function(_0x3bcfb9,_0x4a789b,_0x57c5e4){let _0x51d033=Math['min'](_0x4a789b['line'],_0x57c5e4['line']),_0x18d6fa=Math['max'](_0x4a789b['line'],_0x57c5e4['line']),_0x54daef=[];if(_0x4a789b['off']>_0x518fd5||_0x57c5e4['off']>_0x518fd5||_0x4a789b['col']<0x0||_0x57c5e4['col']<0x0){let _0x19103e=Math['min'](_0x4a789b['off'],_0x57c5e4['off']),_0x4b24a7=Math['max'](_0x4a789b['off'],_0x57c5e4['off']);for(let _0xfd7e4c=_0x51d033;_0xfd7e4c<=_0x18d6fa;_0xfd7e4c++){let _0x381594=_0x3bcfb9['doc']['line'](_0xfd7e4c);_0x381594['length']<=_0x4b24a7&&_0x54daef['push'](_0x3bda1f['range'](_0x381594['from']+_0x19103e,_0x381594['to']+_0x4b24a7));}}else{let _0x5d6db4=Math['min'](_0x4a789b['col'],_0x57c5e4['col']),_0x3166bd=Math['max'](_0x4a789b['col'],_0x57c5e4['col']);for(let _0x5c58b4=_0x51d033;_0x5c58b4<=_0x18d6fa;_0x5c58b4++){let _0x512c7c=_0x3bcfb9['doc']['line'](_0x5c58b4),_0x55b720=_0x2c104c(_0x512c7c['text'],_0x5d6db4,_0x3bcfb9['tabSize'],!0x0);if(_0x55b720<0x0)_0x54daef['push'](_0x3bda1f['cursor'](_0x512c7c['to']));else{let _0x238f5c=_0x2c104c(_0x512c7c['text'],_0x3166bd,_0x3bcfb9['tabSize']);_0x54daef['push'](_0x3bda1f['range'](_0x512c7c['from']+_0x55b720,_0x512c7c['from']+_0x238f5c));}}}return _0x54daef;}(_0x6e3e7c['state'],_0x3e00df,_0x56346f);return _0x5827b6['length']?_0x15a610?_0x3bda1f['create'](_0x5827b6['concat'](_0x21d44f['ranges'])):_0x3bda1f['create'](_0x5827b6):_0x21d44f;}}:null;}function _0x4bdae0(_0x32659e){let _0x457691=(null==_0x32659e?void 0x0:_0x32659e['eventFilter'])||(_0x30f707=>_0x30f707['altKey']&&0x0==_0x30f707['button']);return _0x51f1f4['mouseSelectionStyle']['of']((_0x245297,_0x5474db)=>_0x457691(_0x5474db)?_0x369de4(_0x245297,_0x5474db):null);}const _0xf24290={'Alt':[0x12,_0x320959=>!!_0x320959['altKey']],'Control':[0x11,_0x71d706=>!!_0x71d706['ctrlKey']],'Shift':[0x10,_0x1d1e41=>!!_0x1d1e41['shiftKey']],'Meta':[0x5b,_0x61ec8d=>!!_0x61ec8d['metaKey']]},_0x679fda={'style':'cursor:\x20crosshair'};function _0x24a780(_0x306512={}){let [_0x51f43a,_0x79945e]=_0xf24290[_0x306512['key']||'Alt'],_0x1698a6=_0x221982['fromClass'](class{constructor(_0x1568a5){this['view']=_0x1568a5,this['isDown']=!0x1;}set(_0x345f99){this['isDown']!=_0x345f99&&(this['isDown']=_0x345f99,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x284fc4){this['set'](_0x284fc4['keyCode']==_0x51f43a||_0x79945e(_0x284fc4));},'keyup'(_0x48d36c){_0x48d36c['keyCode']!=_0x51f43a&&_0x79945e(_0x48d36c)||this['set'](!0x1);},'mousemove'(_0x8f282){this['set'](_0x79945e(_0x8f282));}}});return[_0x1698a6,_0x51f1f4['contentAttributes']['of'](_0x50a3d0=>{var _0x21ebf8;return(null===(_0x21ebf8=_0x50a3d0['plugin'](_0x1698a6))||void 0x0===_0x21ebf8?void 0x0:_0x21ebf8['isDown'])?_0x679fda:null;})];}const _0x599b39='-10000px';var _0x3b91e9=class{constructor(_0x38638b,_0x444b57,_0x39936d,_0xb70442){this['facet']=_0x444b57,this['createTooltipView']=_0x39936d,this['removeTooltipView']=_0xb70442,this['input']=_0x38638b['state']['facet'](_0x444b57),this['tooltips']=this['input']['filter'](t=>t);let _0x4a589a=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x4a589a=_0x39936d(t,_0x4a589a));}update(_0x4eb458,_0x38afd5){var _0x5ece2f;let _0x4a50ab=_0x4eb458['state']['facet'](this['facet']),_0x2945ca=_0x4a50ab['filter'](_0x2538ac=>_0x2538ac);if(_0x4a50ab===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x4eb458);return!0x1;}let _0x573564=[],_0x12cf43=_0x38afd5?[]:null;for(let _0x5493e3=0x0;_0x5493e3<_0x2945ca['length'];_0x5493e3++){let _0x415f25=_0x2945ca[_0x5493e3],_0x34ef45=-0x1;if(_0x415f25){for(let _0x4bcd2f=0x0;_0x4bcd2f<this['tooltips']['length'];_0x4bcd2f++){let _0x2ea9ca=this['tooltips'][_0x4bcd2f];_0x2ea9ca&&_0x2ea9ca['create']==_0x415f25['create']&&(_0x34ef45=_0x4bcd2f);}if(_0x34ef45<0x0)_0x573564[_0x5493e3]=this['createTooltipView'](_0x415f25,_0x5493e3?_0x573564[_0x5493e3-0x1]:null),_0x12cf43&&(_0x12cf43[_0x5493e3]=!!_0x415f25['above']);else{let _0x1ba7ea=_0x573564[_0x5493e3]=this['tooltipViews'][_0x34ef45];_0x12cf43&&(_0x12cf43[_0x5493e3]=_0x38afd5[_0x34ef45]),_0x1ba7ea['update']&&_0x1ba7ea['update'](_0x4eb458);}}}for(let t of this['tooltipViews'])_0x573564['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x5ece2f=t['destroy'])||void 0x0===_0x5ece2f||_0x5ece2f['call'](t));return _0x38afd5&&(_0x12cf43['forEach']((_0x4e8f42,_0x180256)=>_0x38afd5[_0x180256]=_0x4e8f42),_0x38afd5['length']=_0x12cf43['length']),this['input']=_0x4a50ab,this['tooltips']=_0x2945ca,this['tooltipViews']=_0x573564,!0x0;}};function _0x5000e7(_0x1028ff){let _0xccc602=_0x1028ff['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0xccc602['clientHeight'],'right':_0xccc602['clientWidth']};}const _0x529c93=_0x2658c2['define']({'combine':_0x38c14f=>{var _0x28465b,_0x1d8c2d,_0x2c9f61;return{'position':_0x49766a['ios']?'absolute':(null===(_0x28465b=_0x38c14f['find'](_0x113390=>_0x113390['position']))||void 0x0===_0x28465b?void 0x0:_0x28465b['position'])||'fixed','parent':(null===(_0x1d8c2d=_0x38c14f['find'](_0x1cf7bf=>_0x1cf7bf['parent']))||void 0x0===_0x1d8c2d?void 0x0:_0x1d8c2d['parent'])||null,'tooltipSpace':(null===(_0x2c9f61=_0x38c14f['find'](_0x38a66a=>_0x38a66a['tooltipSpace']))||void 0x0===_0x2c9f61?void 0x0:_0x2c9f61['tooltipSpace'])||_0x5000e7};}}),_0x26b2a6=new WeakMap(),_0x5bd321=_0x221982['fromClass'](class{constructor(_0x51ab65){this['view']=_0x51ab65,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x1f45d3=_0x51ab65['state']['facet'](_0x529c93);this['position']=_0x1f45d3['position'],this['parent']=_0x1f45d3['parent'],this['classes']=_0x51ab65['themeClasses'],this['createContainer'](),this['measureReq']={'read':this['readMeasure']['bind'](this),'write':this['writeMeasure']['bind'](this),'key':this},this['resizeObserver']='function'==typeof ResizeObserver?new ResizeObserver(()=>this['measureSoon']()):null,this['manager']=new _0x3b91e9(_0x51ab65,_0x581f60,(t,_0x334bbd)=>this['createTooltip'](t,_0x334bbd),t=>{this['resizeObserver']&&this['resizeObserver']['unobserve'](t['dom']),t['dom']['remove']();}),this['above']=this['manager']['tooltips']['map'](t=>!!t['above']),this['intersectionObserver']='function'==typeof IntersectionObserver?new IntersectionObserver(_0x36964d=>{Date['now']()>this['lastTransaction']-0x32&&_0x36964d['length']>0x0&&_0x36964d[_0x36964d['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x51ab65['win']['addEventListener']('resize',this['measureSoon']=this['measureSoon']['bind'](this)),this['maybeMeasure']();}createContainer(){this['parent']?(this['container']=document['createElement']('div'),this['container']['style']['position']='relative',this['container']['className']=this['view']['themeClasses'],this['parent']['appendChild'](this['container'])):this['container']=this['view']['dom'];}observeIntersection(){if(this['intersectionObserver']){this['intersectionObserver']['disconnect']();for(let _0x3ac31e of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x3ac31e['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}update(_0x11305f){_0x11305f['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x11bec2=this['manager']['update'](_0x11305f,this['above']);_0x11bec2&&this['observeIntersection']();let _0x33220c=_0x11bec2||_0x11305f['geometryChanged'],_0x2b1f26=_0x11305f['state']['facet'](_0x529c93);if(_0x2b1f26['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x2b1f26['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x33220c=!0x0;}if(_0x2b1f26['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x2b1f26['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x33220c=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x33220c&&this['maybeMeasure']();}createTooltip(_0x3d61d6,_0x116535){let _0x22e93c=_0x3d61d6['create'](this['view']),_0x1d9611=_0x116535?_0x116535['dom']:null;if(_0x22e93c['dom']['classList']['add']('cm-tooltip'),_0x3d61d6['arrow']&&!_0x22e93c['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x28d02a=document['createElement']('div');_0x28d02a['className']='cm-tooltip-arrow',_0x22e93c['dom']['appendChild'](_0x28d02a);}return _0x22e93c['dom']['style']['position']=this['position'],_0x22e93c['dom']['style']['top']=_0x599b39,_0x22e93c['dom']['style']['left']='0px',this['container']['insertBefore'](_0x22e93c['dom'],_0x1d9611),_0x22e93c['mount']&&_0x22e93c['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x22e93c['dom']),_0x22e93c;}destroy(){var _0x334cc5,_0x112af5,_0x442327;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x1a8985 of this['manager']['tooltipViews'])_0x1a8985['dom']['remove'](),null===(_0x334cc5=_0x1a8985['destroy'])||void 0x0===_0x334cc5||_0x334cc5['call'](_0x1a8985);this['parent']&&this['container']['remove'](),null===(_0x112af5=this['resizeObserver'])||void 0x0===_0x112af5||_0x112af5['disconnect'](),null===(_0x442327=this['intersectionObserver'])||void 0x0===_0x442327||_0x442327['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x8396fb=0x1,_0x4a16b4=0x1,_0x34f8e8=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x165a38}=this['manager']['tooltipViews'][0x0];if(_0x49766a['safari']){let _0x2516da=_0x165a38['getBoundingClientRect']();_0x34f8e8=Math['abs'](_0x2516da['top']+0x2710)>0x1||Math['abs'](_0x2516da['left'])>0x1;}else _0x34f8e8=!!_0x165a38['offsetParent']&&_0x165a38['offsetParent']!=this['container']['ownerDocument']['body'];}if(_0x34f8e8||'absolute'==this['position']){if(this['parent']){let _0x193596=this['parent']['getBoundingClientRect']();_0x193596['width']&&_0x193596['height']&&(_0x8396fb=_0x193596['width']/this['parent']['offsetWidth'],_0x4a16b4=_0x193596['height']/this['parent']['offsetHeight']);}else({scaleX:_0x8396fb,scaleY:_0x4a16b4}=this['view']['viewState']);}let _0x4827d4=this['view']['scrollDOM']['getBoundingClientRect'](),_0x59d9fc=_0x3ec41a(this['view']);return{'visible':{'left':_0x4827d4['left']+_0x59d9fc['left'],'top':_0x4827d4['top']+_0x59d9fc['top'],'right':_0x4827d4['right']-_0x59d9fc['right'],'bottom':_0x4827d4['bottom']-_0x59d9fc['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x3bb479)=>{let _0x1b021a=this['manager']['tooltipViews'][_0x3bb479];return _0x1b021a['getCoords']?_0x1b021a['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0xf357cc})=>_0xf357cc['getBoundingClientRect']()),'space':this['view']['state']['facet'](_0x529c93)['tooltipSpace'](this['view']),'scaleX':_0x8396fb,'scaleY':_0x4a16b4,'makeAbsolute':_0x34f8e8};}writeMeasure(_0x13ce0){var _0x4b01ef;if(_0x13ce0['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x4549d4,space:_0x48317e,scaleX:_0x6f278e,scaleY:_0x3d43ab}=_0x13ce0,_0x10ba56=[];for(let _0x260dee=0x0;_0x260dee<this['manager']['tooltips']['length'];_0x260dee++){let _0x5b51a2=this['manager']['tooltips'][_0x260dee],_0x45d301=this['manager']['tooltipViews'][_0x260dee],{dom:_0x135a28}=_0x45d301,_0x1439ac=_0x13ce0['pos'][_0x260dee],_0x1de283=_0x13ce0['size'][_0x260dee];if(!_0x1439ac||!0x1!==_0x5b51a2['clip']&&(_0x1439ac['bottom']<=Math['max'](_0x4549d4['top'],_0x48317e['top'])||_0x1439ac['top']>=Math['min'](_0x4549d4['bottom'],_0x48317e['bottom'])||_0x1439ac['right']<Math['max'](_0x4549d4['left'],_0x48317e['left'])-0.1||_0x1439ac['left']>Math['min'](_0x4549d4['right'],_0x48317e['right'])+0.1)){_0x135a28['style']['top']=_0x599b39;continue;}let _0x7017e1=_0x5b51a2['arrow']?_0x45d301['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x17762e=_0x7017e1?0x7:0x0,_0x33c8c3=_0x1de283['right']-_0x1de283['left'],_0x3e09d3=null!==(_0x4b01ef=_0x26b2a6['get'](_0x45d301))&&void 0x0!==_0x4b01ef?_0x4b01ef:_0x1de283['bottom']-_0x1de283['top'],_0x5e5ab8=_0x45d301['offset']||_0x3a6d82,_0x3b01c5=this['view']['textDirection']==_0xf0cb7b['LTR'],_0xf5532d=_0x1de283['width']>_0x48317e['right']-_0x48317e['left']?_0x3b01c5?_0x48317e['left']:_0x48317e['right']-_0x1de283['width']:_0x3b01c5?Math['max'](_0x48317e['left'],Math['min'](_0x1439ac['left']-(_0x7017e1?0xe:0x0)+_0x5e5ab8['x'],_0x48317e['right']-_0x33c8c3)):Math['min'](Math['max'](_0x48317e['left'],_0x1439ac['left']-_0x33c8c3+(_0x7017e1?0xe:0x0)-_0x5e5ab8['x']),_0x48317e['right']-_0x33c8c3),_0x129c28=this['above'][_0x260dee];!_0x5b51a2['strictSide']&&(_0x129c28?_0x1439ac['top']-_0x3e09d3-_0x17762e-_0x5e5ab8['y']<_0x48317e['top']:_0x1439ac['bottom']+_0x3e09d3+_0x17762e+_0x5e5ab8['y']>_0x48317e['bottom'])&&_0x129c28==_0x48317e['bottom']-_0x1439ac['bottom']>_0x1439ac['top']-_0x48317e['top']&&(_0x129c28=this['above'][_0x260dee]=!_0x129c28);let _0x2a887a=(_0x129c28?_0x1439ac['top']-_0x48317e['top']:_0x48317e['bottom']-_0x1439ac['bottom'])-_0x17762e;if(_0x2a887a<_0x3e09d3&&!0x1!==_0x45d301['resize']){if(_0x2a887a<this['view']['defaultLineHeight']){_0x135a28['style']['top']=_0x599b39;continue;}_0x26b2a6['set'](_0x45d301,_0x3e09d3),_0x135a28['style']['height']=(_0x3e09d3=_0x2a887a)/_0x3d43ab+'px';}else _0x135a28['style']['height']&&(_0x135a28['style']['height']='');let _0x12998b=_0x129c28?_0x1439ac['top']-_0x3e09d3-_0x17762e-_0x5e5ab8['y']:_0x1439ac['bottom']+_0x17762e+_0x5e5ab8['y'],_0x460a8f=_0xf5532d+_0x33c8c3;if(!0x0!==_0x45d301['overlap']){for(let _0x38deef of _0x10ba56)_0x38deef['left']<_0x460a8f&&_0x38deef['right']>_0xf5532d&&_0x38deef['top']<_0x12998b+_0x3e09d3&&_0x38deef['bottom']>_0x12998b&&(_0x12998b=_0x129c28?_0x38deef['top']-_0x3e09d3-0x2-_0x17762e:_0x38deef['bottom']+_0x17762e+0x2);}if('absolute'==this['position']?(_0x135a28['style']['top']=(_0x12998b-_0x13ce0['parent']['top'])/_0x3d43ab+'px',_0x525454(_0x135a28,(_0xf5532d-_0x13ce0['parent']['left'])/_0x6f278e)):(_0x135a28['style']['top']=_0x12998b/_0x3d43ab+'px',_0x525454(_0x135a28,_0xf5532d/_0x6f278e)),_0x7017e1){let _0x1b1755=_0x1439ac['left']+(_0x3b01c5?_0x5e5ab8['x']:-_0x5e5ab8['x'])-(_0xf5532d+0xe-0x7);_0x7017e1['style']['left']=_0x1b1755/_0x6f278e+'px';}!0x0!==_0x45d301['overlap']&&_0x10ba56['push']({'left':_0xf5532d,'top':_0x12998b,'right':_0x460a8f,'bottom':_0x12998b+_0x3e09d3}),_0x135a28['classList']['toggle']('cm-tooltip-above',_0x129c28),_0x135a28['classList']['toggle']('cm-tooltip-below',!_0x129c28),_0x45d301['positioned']&&_0x45d301['positioned'](_0x13ce0['space']);}}['maybeMeasure'](){if(this['manager']['tooltips']['length']&&(this['view']['inView']&&this['view']['requestMeasure'](this['measureReq']),this['inView']!=this['view']['inView']&&(this['inView']=this['view']['inView'],!this['inView']))){for(let _0x100c2d of this['manager']['tooltipViews'])_0x100c2d['dom']['style']['top']=_0x599b39;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function _0x525454(_0x3ae979,_0x3653d0){let _0x5bae58=parseInt(_0x3ae979['style']['left'],0xa);(isNaN(_0x5bae58)||Math['abs'](_0x3653d0-_0x5bae58)>0x1)&&(_0x3ae979['style']['left']=_0x3653d0+'px');}const _0x211b28=_0x51f1f4['baseTheme']({'.cm-tooltip':{'zIndex':0x1f4,'boxSizing':'border-box'},'&light\x20.cm-tooltip':{'border':'1px\x20solid\x20#bbb','backgroundColor':'#f5f5f5'},'&light\x20.cm-tooltip-section:not(:first-child)':{'borderTop':'1px\x20solid\x20#bbb'},'&dark\x20.cm-tooltip':{'backgroundColor':'#333338','color':'white'},'.cm-tooltip-arrow':{'height':'7px','width':'14px','position':'absolute','zIndex':-0x1,'overflow':'hidden','&:before,\x20&:after':{'content':'\x27\x27','position':'absolute','width':0x0,'height':0x0,'borderLeft':'7px\x20solid\x20transparent','borderRight':'7px\x20solid\x20transparent'},'.cm-tooltip-above\x20&':{'bottom':'-7px','&:before':{'borderTop':'7px\x20solid\x20#bbb'},'&:after':{'borderTop':'7px\x20solid\x20#f5f5f5','bottom':'1px'}},'.cm-tooltip-below\x20&':{'top':'-7px','&:before':{'borderBottom':'7px\x20solid\x20#bbb'},'&:after':{'borderBottom':'7px\x20solid\x20#f5f5f5','top':'1px'}}},'&dark\x20.cm-tooltip\x20.cm-tooltip-arrow':{'&:before':{'borderTopColor':'#333338','borderBottomColor':'#333338'},'&:after':{'borderTopColor':'transparent','borderBottomColor':'transparent'}}}),_0x3a6d82={'x':0x0,'y':0x0},_0x581f60=_0x2658c2['define']({'enables':[_0x5bd321,_0x211b28]});function _0x349007(_0x589416,_0x35b40c){let _0x42d9f9=_0x589416['plugin'](_0x5bd321);if(!_0x42d9f9)return null;let _0x56f4cd=_0x42d9f9['manager']['tooltips']['indexOf'](_0x35b40c);return _0x56f4cd<0x0?null:_0x42d9f9['manager']['tooltipViews'][_0x56f4cd];}var _0x1c14e4=class extends _0x1d3955{['compare'](_0x3d6a2c){return this==_0x3d6a2c||this['constructor']==_0x3d6a2c['constructor']&&this['eq'](_0x3d6a2c);}['eq'](_0x48546e){return!0x1;}destroy(_0x3ab618){}};_0x1c14e4['prototype']['elementClass']='',_0x1c14e4['prototype']['toDOM']=void 0x0,_0x1c14e4['prototype']['mapMode']=_0x171f1e['TrackBefore'],_0x1c14e4['prototype']['startSide']=_0x1c14e4['prototype']['endSide']=-0x1,_0x1c14e4['prototype']['point']=!0x0;const _0x5687b5=_0x2658c2['define'](),_0x5301dd=_0x2658c2['define'](),_0x2287e0={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>_0x53c81c['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},_0x1af121=_0x2658c2['define']();function _0x3148ca(_0x445f1b){return[_0x34384f(),_0x1af121['of']({..._0x2287e0,..._0x445f1b})];}const _0x3a3709=_0x2658c2['define']({'combine':_0x3eb35a=>_0x3eb35a['some'](_0x38b1b1=>_0x38b1b1)});function _0x34384f(_0xe862b7){let _0x1d0130=[_0x4b982a];return _0xe862b7&&!0x1===_0xe862b7['fixed']&&_0x1d0130['push'](_0x3a3709['of'](!0x0)),_0x1d0130;}const _0x4b982a=_0x221982['fromClass'](class{constructor(_0x440e87){this['view']=_0x440e87,this['domAfter']=null,this['prevViewport']=_0x440e87['viewport'],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutters\x20cm-gutters-before',this['dom']['setAttribute']('aria-hidden','true'),this['dom']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['gutters']=_0x440e87['state']['facet'](_0x1af121)['map'](_0x592282=>new _0x1ac816(_0x440e87,_0x592282)),this['fixed']=!_0x440e87['state']['facet'](_0x3a3709);for(let _0x5254e8 of this['gutters'])'after'==_0x5254e8['config']['side']?this['getDOMAfter']()['appendChild'](_0x5254e8['dom']):this['dom']['appendChild'](_0x5254e8['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x440e87['scrollDOM']['insertBefore'](this['dom'],_0x440e87['contentDOM']);}getDOMAfter(){return this['domAfter']||(this['domAfter']=document['createElement']('div'),this['domAfter']['className']='cm-gutters\x20cm-gutters-after',this['domAfter']['setAttribute']('aria-hidden','true'),this['domAfter']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['domAfter']['style']['position']=this['fixed']?'sticky':'',this['view']['scrollDOM']['appendChild'](this['domAfter'])),this['domAfter'];}update(_0x47003d){if(this['updateGutters'](_0x47003d)){let _0x415d50=this['prevViewport'],_0x4b1645=_0x47003d['view']['viewport'],_0x88a157=Math['min'](_0x415d50['to'],_0x4b1645['to'])-Math['max'](_0x415d50['from'],_0x4b1645['from']);this['syncGutters'](_0x88a157<0.8*(_0x4b1645['to']-_0x4b1645['from']));}if(_0x47003d['geometryChanged']){let _0x2f57d0=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x2f57d0,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x2f57d0);}this['view']['state']['facet'](_0x3a3709)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x47003d['view']['viewport'];}syncGutters(_0xbfd6f7){let _0x2a156f=this['dom']['nextSibling'];_0xbfd6f7&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x2c32f2=_0x53c81c['iter'](this['view']['state']['facet'](_0x5687b5),this['view']['viewport']['from']),_0x50d806=[],_0x17e1f8=this['gutters']['map'](_0x4daa2e=>new _0x43b3f1(_0x4daa2e,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x460951 of this['view']['viewportLineBlocks'])if(_0x50d806['length']&&(_0x50d806=[]),Array['isArray'](_0x460951['type'])){let _0x26cabf=!0x0;for(let _0xc6fd5c of _0x460951['type'])if(_0xc6fd5c['type']==_0xc9238a['Text']&&_0x26cabf){_0xe360d9(_0x2c32f2,_0x50d806,_0xc6fd5c['from']);for(let _0xe654a2 of _0x17e1f8)_0xe654a2['line'](this['view'],_0xc6fd5c,_0x50d806);_0x26cabf=!0x1;}else{if(_0xc6fd5c['widget']){for(let _0x232e98 of _0x17e1f8)_0x232e98['widget'](this['view'],_0xc6fd5c);}}}else{if(_0x460951['type']==_0xc9238a['Text']){_0xe360d9(_0x2c32f2,_0x50d806,_0x460951['from']);for(let _0x1f0390 of _0x17e1f8)_0x1f0390['line'](this['view'],_0x460951,_0x50d806);}else{if(_0x460951['widget']){for(let _0x473d81 of _0x17e1f8)_0x473d81['widget'](this['view'],_0x460951);}}}for(let _0x70c562 of _0x17e1f8)_0x70c562['finish']();_0xbfd6f7&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x2a156f),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}updateGutters(_0x13c2b7){let _0x27feb1=_0x13c2b7['startState']['facet'](_0x1af121),_0x1eaf63=_0x13c2b7['state']['facet'](_0x1af121),_0x149142=_0x13c2b7['docChanged']||_0x13c2b7['heightChanged']||_0x13c2b7['viewportChanged']||!_0x53c81c['eq'](_0x13c2b7['startState']['facet'](_0x5687b5),_0x13c2b7['state']['facet'](_0x5687b5),_0x13c2b7['view']['viewport']['from'],_0x13c2b7['view']['viewport']['to']);if(_0x27feb1==_0x1eaf63){for(let _0x3f8e62 of this['gutters'])_0x3f8e62['update'](_0x13c2b7)&&(_0x149142=!0x0);}else{_0x149142=!0x0;let _0x204096=[];for(let _0x2f2a2e of _0x1eaf63){let _0x51ea74=_0x27feb1['indexOf'](_0x2f2a2e);_0x51ea74<0x0?_0x204096['push'](new _0x1ac816(this['view'],_0x2f2a2e)):(this['gutters'][_0x51ea74]['update'](_0x13c2b7),_0x204096['push'](this['gutters'][_0x51ea74]));}for(let _0x1979e7 of this['gutters'])_0x1979e7['dom']['remove'](),_0x204096['indexOf'](_0x1979e7)<0x0&&_0x1979e7['destroy']();for(let _0x51a740 of _0x204096)'after'==_0x51a740['config']['side']?this['getDOMAfter']()['appendChild'](_0x51a740['dom']):this['dom']['appendChild'](_0x51a740['dom']);this['gutters']=_0x204096;}return _0x149142;}destroy(){for(let _0x44fba3 of this['gutters'])_0x44fba3['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x3e8366=>_0x51f1f4['scrollMargins']['of'](_0x5788bd=>{let _0x22a3f9=_0x5788bd['plugin'](_0x3e8366);if(!_0x22a3f9||0x0==_0x22a3f9['gutters']['length']||!_0x22a3f9['fixed'])return null;let _0x317fa1=_0x22a3f9['dom']['offsetWidth']*_0x5788bd['scaleX'],_0x26943f=_0x22a3f9['domAfter']?_0x22a3f9['domAfter']['offsetWidth']*_0x5788bd['scaleX']:0x0;return _0x5788bd['textDirection']==_0xf0cb7b['LTR']?{'left':_0x317fa1,'right':_0x26943f}:{'right':_0x317fa1,'left':_0x26943f};})});function _0x15fc65(_0x3afd68){return Array['isArray'](_0x3afd68)?_0x3afd68:[_0x3afd68];}function _0xe360d9(_0x368e74,_0x24fef2,_0x4e88a1){for(;_0x368e74['value']&&_0x368e74['from']<=_0x4e88a1;)_0x368e74['from']==_0x4e88a1&&_0x24fef2['push'](_0x368e74['value']),_0x368e74['next']();}var _0x43b3f1=class{constructor(_0x2b1bd9,_0x272f7f,_0x444179){this['gutter']=_0x2b1bd9,this['height']=_0x444179,this['i']=0x0,this['cursor']=_0x53c81c['iter'](_0x2b1bd9['markers'],_0x272f7f['from']);}addElement(_0x4f67b8,_0xbeef6c,_0x3bdafe){let {gutter:_0x4ae96f}=this,_0x59e856=(_0xbeef6c['top']-this['height'])/_0x4f67b8['scaleY'],_0x1ca535=_0xbeef6c['height']/_0x4f67b8['scaleY'];if(this['i']==_0x4ae96f['elements']['length']){let _0x3ef139=new _0x2da15b(_0x4f67b8,_0x1ca535,_0x59e856,_0x3bdafe);_0x4ae96f['elements']['push'](_0x3ef139),_0x4ae96f['dom']['appendChild'](_0x3ef139['dom']);}else _0x4ae96f['elements'][this['i']]['update'](_0x4f67b8,_0x1ca535,_0x59e856,_0x3bdafe);this['height']=_0xbeef6c['bottom'],this['i']++;}['line'](_0x1b3a1c,_0x503c2d,_0x4e2336){let _0x3c3dc2=[];_0xe360d9(this['cursor'],_0x3c3dc2,_0x503c2d['from']),_0x4e2336['length']&&(_0x3c3dc2=_0x3c3dc2['concat'](_0x4e2336));let _0x7f57c8=this['gutter']['config']['lineMarker'](_0x1b3a1c,_0x503c2d,_0x3c3dc2);_0x7f57c8&&_0x3c3dc2['unshift'](_0x7f57c8);let _0x2851bb=this['gutter'];(0x0!=_0x3c3dc2['length']||_0x2851bb['config']['renderEmptyElements'])&&this['addElement'](_0x1b3a1c,_0x503c2d,_0x3c3dc2);}widget(_0x5c2631,_0x5df1ed){let _0x28427a=this['gutter']['config']['widgetMarker'](_0x5c2631,_0x5df1ed['widget'],_0x5df1ed),_0x8a046a=_0x28427a?[_0x28427a]:null;for(let _0x38aea3 of _0x5c2631['state']['facet'](_0x5301dd)){let _0x34d0d8=_0x38aea3(_0x5c2631,_0x5df1ed['widget'],_0x5df1ed);_0x34d0d8&&(_0x8a046a||(_0x8a046a=[]))['push'](_0x34d0d8);}_0x8a046a&&this['addElement'](_0x5c2631,_0x5df1ed,_0x8a046a);}['finish'](){let _0x28c680=this['gutter'];for(;_0x28c680['elements']['length']>this['i'];){let _0x1998ce=_0x28c680['elements']['pop']();_0x28c680['dom']['removeChild'](_0x1998ce['dom']),_0x1998ce['destroy']();}}},_0x1ac816=class{constructor(_0x1f49c3,_0x2c22c6){this['view']=_0x1f49c3,this['config']=_0x2c22c6,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x24c49f in _0x2c22c6['domEventHandlers'])this['dom']['addEventListener'](_0x24c49f,_0x1adfe2=>{let _0x43c5a2,_0x3fb256=_0x1adfe2['target'];if(_0x3fb256!=this['dom']&&this['dom']['contains'](_0x3fb256)){for(;_0x3fb256['parentNode']!=this['dom'];)_0x3fb256=_0x3fb256['parentNode'];let _0x39936a=_0x3fb256['getBoundingClientRect']();_0x43c5a2=(_0x39936a['top']+_0x39936a['bottom'])/0x2;}else _0x43c5a2=_0x1adfe2['clientY'];let _0x578166=_0x1f49c3['lineBlockAtHeight'](_0x43c5a2-_0x1f49c3['documentTop']);_0x2c22c6['domEventHandlers'][_0x24c49f](_0x1f49c3,_0x578166,_0x1adfe2)&&_0x1adfe2['preventDefault']();});this['markers']=_0x15fc65(_0x2c22c6['markers'](_0x1f49c3)),_0x2c22c6['initialSpacer']&&(this['spacer']=new _0x2da15b(_0x1f49c3,0x0,0x0,[_0x2c22c6['initialSpacer'](_0x1f49c3)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}update(_0x5ef02a){let _0x429982=this['markers'];if(this['markers']=_0x15fc65(this['config']['markers'](_0x5ef02a['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x205b58=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x5ef02a);_0x205b58!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x5ef02a['view'],0x0,0x0,[_0x205b58]);}let _0x2eaf2b=_0x5ef02a['view']['viewport'];return!_0x53c81c['eq'](this['markers'],_0x429982,_0x2eaf2b['from'],_0x2eaf2b['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x5ef02a);}destroy(){for(let _0xfbdf9b of this['elements'])_0xfbdf9b['destroy']();}},_0x2da15b=class{constructor(_0x492ad2,_0x118699,_0x5ef7d7,_0x5be641){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x492ad2,_0x118699,_0x5ef7d7,_0x5be641);}update(_0x499d73,_0x204e57,_0x455a17,_0x44f7ba){this['height']!=_0x204e57&&(this['height']=_0x204e57,this['dom']['style']['height']=_0x204e57+'px'),this['above']!=_0x455a17&&(this['dom']['style']['marginTop']=(this['above']=_0x455a17)?_0x455a17+'px':''),function(_0x18ff7b,_0x2ffd9c){if(_0x18ff7b['length']!=_0x2ffd9c['length'])return!0x1;for(let _0x2420e5=0x0;_0x2420e5<_0x18ff7b['length'];_0x2420e5++)if(!_0x18ff7b[_0x2420e5]['compare'](_0x2ffd9c[_0x2420e5]))return!0x1;return!0x0;}(this['markers'],_0x44f7ba)||this['setMarkers'](_0x499d73,_0x44f7ba);}setMarkers(_0x55a15c,_0x330952){let _0x3375f2='cm-gutterElement',_0x496134=this['dom']['firstChild'];for(let _0x216870=0x0,_0x4f8709=0x0;;){let _0x2170df=_0x4f8709,_0x4eb2c6=_0x216870<_0x330952['length']?_0x330952[_0x216870++]:null,_0x458031=!0x1;if(_0x4eb2c6){let _0x4129fa=_0x4eb2c6['elementClass'];_0x4129fa&&(_0x3375f2+='\x20'+_0x4129fa);for(let _0x5a3f2b=_0x4f8709;_0x5a3f2b<this['markers']['length'];_0x5a3f2b++)if(this['markers'][_0x5a3f2b]['compare'](_0x4eb2c6)){_0x2170df=_0x5a3f2b,_0x458031=!0x0;break;}}else _0x2170df=this['markers']['length'];for(;_0x4f8709<_0x2170df;){let _0x159229=this['markers'][_0x4f8709++];if(_0x159229['toDOM']){_0x159229['destroy'](_0x496134);let _0x5b4873=_0x496134['nextSibling'];_0x496134['remove'](),_0x496134=_0x5b4873;}}if(!_0x4eb2c6)break;_0x4eb2c6['toDOM']&&(_0x458031?_0x496134=_0x496134['nextSibling']:this['dom']['insertBefore'](_0x4eb2c6['toDOM'](_0x55a15c),_0x496134)),_0x458031&&_0x4f8709++;}this['dom']['className']=_0x3375f2,this['markers']=_0x330952;}destroy(){this['setMarkers'](null,[]);}};const _0x421453=_0x2658c2['define'](),_0x3921ab=_0x2658c2['define'](),_0x4cb44e=_0x2658c2['define']({'combine':_0x481cc4=>_0x264c41(_0x481cc4,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x53283d,_0x3bd7fd){let _0x1ae20e=Object['assign']({},_0x53283d);for(let _0x546410 in _0x3bd7fd){let _0x2e74ec=_0x1ae20e[_0x546410],_0x236d56=_0x3bd7fd[_0x546410];_0x1ae20e[_0x546410]=_0x2e74ec?(_0x2c17ba,_0x2821e2,_0x47fe8c)=>_0x2e74ec(_0x2c17ba,_0x2821e2,_0x47fe8c)||_0x236d56(_0x2c17ba,_0x2821e2,_0x47fe8c):_0x236d56;}return _0x1ae20e;}})});var _0x402937=class extends _0x1c14e4{constructor(_0x131abe){super(),this['number']=_0x131abe;}['eq'](_0x3aadfd){return this['number']==_0x3aadfd['number'];}toDOM(){return document['createTextNode'](this['number']);}};function _0x530cde(_0x43615f,_0x5deb71){return _0x43615f['state']['facet'](_0x4cb44e)['formatNumber'](_0x5deb71,_0x43615f['state']);}const _0x207ca0=_0x1af121['compute']([_0x4cb44e],_0x2dd470=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x46e3f9=>_0x46e3f9['state']['facet'](_0x421453),'lineMarker':(_0x50a4a4,_0x5418f9,_0x2fa725)=>_0x2fa725['some'](_0x4003d6=>_0x4003d6['toDOM'])?null:new _0x402937(_0x530cde(_0x50a4a4,_0x50a4a4['state']['doc']['lineAt'](_0x5418f9['from'])['number'])),'widgetMarker':(_0x382edd,_0x136841,_0x200421)=>{for(let _0xcc8600 of _0x382edd['state']['facet'](_0x3921ab)){let _0x41e67a=_0xcc8600(_0x382edd,_0x136841,_0x200421);if(_0x41e67a)return _0x41e67a;}return null;},'lineMarkerChange':_0x3fe195=>_0x3fe195['startState']['facet'](_0x4cb44e)!=_0x3fe195['state']['facet'](_0x4cb44e),'initialSpacer':_0xeade9=>new _0x402937(_0x530cde(_0xeade9,_0x4ade95(_0xeade9['state']['doc']['lines']))),'updateSpacer'(_0xa67386,_0xd90455){let _0x4e1815=_0x530cde(_0xd90455['view'],_0x4ade95(_0xd90455['view']['state']['doc']['lines']));return _0x4e1815==_0xa67386['number']?_0xa67386:new _0x402937(_0x4e1815);},'domEventHandlers':_0x2dd470['facet'](_0x4cb44e)['domEventHandlers'],'side':'before'}));function _0x1d10e9(_0x2e4fdc={}){return[_0x4cb44e['of'](_0x2e4fdc),_0x34384f(),_0x207ca0];}function _0x4ade95(_0x113a85){let _0x4abad4=0x9;for(;_0x4abad4<_0x113a85;)_0x4abad4=0xa*_0x4abad4+0x9;return _0x4abad4;}const _0x2243f7=new class extends _0x1c14e4{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),_0x487fc7=_0x5687b5['compute'](['selection'],_0xb64353=>{let _0x38f8e4=[],_0x49297e=-0x1;for(let _0x396bd7 of _0xb64353['selection']['ranges']){let _0x18303f=_0xb64353['doc']['lineAt'](_0x396bd7['head'])['from'];_0x18303f>_0x49297e&&(_0x49297e=_0x18303f,_0x38f8e4['push'](_0x2243f7['range'](_0x18303f)));}return _0x53c81c['of'](_0x38f8e4);});function _0x1fa6d9(){return _0x487fc7;}const _0x43fc65=0x400;let tD=0x0;var _0x568f0c=class{constructor(_0x24ac5f,_0x351d30){this['from']=_0x24ac5f,this['to']=_0x351d30;}},_0x320816=class{constructor(_0x2fec8b={}){this['id']=tD++,this['perNode']=!!_0x2fec8b['perNode'],this['deserialize']=_0x2fec8b['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x2fec8b['combine']||null;}['add'](_0x492d16){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x492d16&&(_0x492d16=_0x4a1e51['match'](_0x492d16)),_0x401c99=>{let _0x4845c9=_0x492d16(_0x401c99);return void 0x0===_0x4845c9?null:[this,_0x4845c9];};}};_0x320816['closedBy']=new _0x320816({'deserialize':_0x2849bb=>_0x2849bb['split']('\x20')}),_0x320816['openedBy']=new _0x320816({'deserialize':_0x255836=>_0x255836['split']('\x20')}),_0x320816['group']=new _0x320816({'deserialize':_0x4e9d33=>_0x4e9d33['split']('\x20')}),_0x320816['isolate']=new _0x320816({'deserialize':_0x38a087=>{if(_0x38a087&&'rtl'!=_0x38a087&&'ltr'!=_0x38a087&&'auto'!=_0x38a087)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x38a087);return _0x38a087||'auto';}}),_0x320816['contextHash']=new _0x320816({'perNode':!0x0}),_0x320816['lookAhead']=new _0x320816({'perNode':!0x0}),_0x320816['mounted']=new _0x320816({'perNode':!0x0});var _0x3d1fcf=class{constructor(_0x364051,_0x496b8e,_0x2afec8,_0x4ae3ef=!0x1){this['tree']=_0x364051,this['overlay']=_0x496b8e,this['parser']=_0x2afec8,this['bracketed']=_0x4ae3ef;}static get(_0x429b81){return _0x429b81&&_0x429b81['props']&&_0x429b81['props'][_0x320816['mounted']['id']];}};const _0x1b5a4c=Object['create'](null);var _0x4a1e51=class _0x3c0c6b{constructor(_0x467a08,_0x5ca892,_0xe27e30,_0x41be8a=0x0){this['name']=_0x467a08,this['props']=_0x5ca892,this['id']=_0xe27e30,this['flags']=_0x41be8a;}static['define'](_0x8d9ad3){let _0x1ec568=_0x8d9ad3['props']&&_0x8d9ad3['props']['length']?Object['create'](null):_0x1b5a4c,_0x1c82dd=(_0x8d9ad3['top']?0x1:0x0)|(_0x8d9ad3['skipped']?0x2:0x0)|(_0x8d9ad3['error']?0x4:0x0)|(null==_0x8d9ad3['name']?0x8:0x0),_0x2a2e41=new _0x3c0c6b(_0x8d9ad3['name']||'',_0x1ec568,_0x8d9ad3['id'],_0x1c82dd);if(_0x8d9ad3['props']){for(let _0x1baf65 of _0x8d9ad3['props'])if(Array['isArray'](_0x1baf65)||(_0x1baf65=_0x1baf65(_0x2a2e41)),_0x1baf65){if(_0x1baf65[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x1ec568[_0x1baf65[0x0]['id']]=_0x1baf65[0x1];}}return _0x2a2e41;}['prop'](_0x3affe4){return this['props'][_0x3affe4['id']];}get['isTop'](){return(0x1&this['flags'])>0x0;}get['isSkipped'](){return(0x2&this['flags'])>0x0;}get['isError'](){return(0x4&this['flags'])>0x0;}get['isAnonymous'](){return(0x8&this['flags'])>0x0;}['is'](_0x108898){if('string'==typeof _0x108898){if(this['name']==_0x108898)return!0x0;let _0x487676=this['prop'](_0x320816['group']);return!!_0x487676&&_0x487676['indexOf'](_0x108898)>-0x1;}return this['id']==_0x108898;}static match(_0x3bbea3){let _0x36925f=Object['create'](null);for(let _0x4c21c5 in _0x3bbea3)for(let _0x1e2ca4 of _0x4c21c5['split']('\x20'))_0x36925f[_0x1e2ca4]=_0x3bbea3[_0x4c21c5];return _0x5b344c=>{for(let _0x11b033=_0x5b344c['prop'](_0x320816['group']),_0x48832b=-0x1;_0x48832b<(_0x11b033?_0x11b033['length']:0x0);_0x48832b++){let _0x3d989f=_0x36925f[_0x48832b<0x0?_0x5b344c['name']:_0x11b033[_0x48832b]];if(_0x3d989f)return _0x3d989f;}};}};_0x4a1e51['none']=new _0x4a1e51('',Object['create'](null),0x0,0x8);var _0x53fc45=class NodeSet{constructor(_0x561421){this['types']=_0x561421;for(let _0x50dc63=0x0;_0x50dc63<_0x561421['length'];_0x50dc63++)if(_0x561421[_0x50dc63]['id']!=_0x50dc63)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}extend(..._0x2b855c){let _0x5575ff=[];for(let _0x2c32f9 of this['types']){let _0x3c386f=null;for(let _0x1faf6b of _0x2b855c){let _0x96de84=_0x1faf6b(_0x2c32f9);if(_0x96de84){_0x3c386f||(_0x3c386f=Object['assign']({},_0x2c32f9['props']));let _0x231fcd=_0x96de84[0x1],_0x4fb295=_0x96de84[0x0];_0x4fb295['combine']&&_0x4fb295['id']in _0x3c386f&&(_0x231fcd=_0x4fb295['combine'](_0x3c386f[_0x4fb295['id']],_0x231fcd)),_0x3c386f[_0x4fb295['id']]=_0x231fcd;}}_0x5575ff['push'](_0x3c386f?new _0x4a1e51(_0x2c32f9['name'],_0x3c386f,_0x2c32f9['id'],_0x2c32f9['flags']):_0x2c32f9);}return new NodeSet(_0x5575ff);}};const _0x530b94=new WeakMap(),_0x68e5d4=new WeakMap();var _0x2ad664;!function(_0x2207f1){_0x2207f1[_0x2207f1['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x2207f1[_0x2207f1['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x2207f1[_0x2207f1['IgnoreMounts']=0x4]='IgnoreMounts',_0x2207f1[_0x2207f1['IgnoreOverlays']=0x8]='IgnoreOverlays',_0x2207f1[_0x2207f1['EnterBracketed']=0x10]='EnterBracketed';}(_0x2ad664||(_0x2ad664={}));var _0x553c0c=class _0x4b3fc6{constructor(_0x1c61c5,_0x77106b,_0x38f011,_0x1f6f81,_0x556c22){if(this['type']=_0x1c61c5,this['children']=_0x77106b,this['positions']=_0x38f011,this['length']=_0x1f6f81,this['props']=null,_0x556c22&&_0x556c22['length']){this['props']=Object['create'](null);for(let [_0x351821,_0x327102]of _0x556c22)this['props']['number'==typeof _0x351821?_0x351821:_0x351821['id']]=_0x327102;}}toString(){let _0x3b1c49=_0x3d1fcf['get'](this);if(_0x3b1c49&&!_0x3b1c49['overlay'])return _0x3b1c49['tree']['toString']();let _0x375edb='';for(let _0x100287 of this['children']){let _0x3d20a1=_0x100287['toString']();_0x3d20a1&&(_0x375edb&&(_0x375edb+=','),_0x375edb+=_0x3d20a1);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x375edb['length']?'('+_0x375edb+')':''):_0x375edb;}['cursor'](_0xefc551=0x0){return new _0x1bfec8(this['topNode'],_0xefc551);}cursorAt(_0x348e25,_0x31b93d=0x0,_0x45629f=0x0){let _0x15fab6=new _0x1bfec8(_0x530b94['get'](this)||this['topNode']);return _0x15fab6['moveTo'](_0x348e25,_0x31b93d),_0x530b94['set'](this,_0x15fab6['_tree']),_0x15fab6;}get topNode(){return new _0x4dc82e(this,0x0,0x0,null);}['resolve'](_0x7271ff,_0x415ccf=0x0){let _0xe0e047=_0x39d545(_0x530b94['get'](this)||this['topNode'],_0x7271ff,_0x415ccf,!0x1);return _0x530b94['set'](this,_0xe0e047),_0xe0e047;}['resolveInner'](_0x3777ac,_0x29bb48=0x0){let _0x200418=_0x39d545(_0x68e5d4['get'](this)||this['topNode'],_0x3777ac,_0x29bb48,!0x0);return _0x68e5d4['set'](this,_0x200418),_0x200418;}resolveStack(_0x4b0ef7,_0x1c9bf5=0x0){return function(_0x123fc6,_0x2bedcc,_0x24be62){let _0xf5d4d3=_0x123fc6['resolveInner'](_0x2bedcc,_0x24be62),_0x1f5c85=null;for(let _0x4267f0=_0xf5d4d3 instanceof _0x4dc82e?_0xf5d4d3:_0xf5d4d3['context']['parent'];_0x4267f0;_0x4267f0=_0x4267f0['parent'])if(_0x4267f0['index']<0x0){let _0x1dfa8c=_0x4267f0['parent'];(_0x1f5c85||(_0x1f5c85=[_0xf5d4d3]))['push'](_0x1dfa8c['resolve'](_0x2bedcc,_0x24be62)),_0x4267f0=_0x1dfa8c;}else{let _0x4729e0=_0x3d1fcf['get'](_0x4267f0['tree']);if(_0x4729e0&&_0x4729e0['overlay']&&_0x4729e0['overlay'][0x0]['from']<=_0x2bedcc&&_0x4729e0['overlay'][_0x4729e0['overlay']['length']-0x1]['to']>=_0x2bedcc){let _0x228169=new _0x4dc82e(_0x4729e0['tree'],_0x4729e0['overlay'][0x0]['from']+_0x4267f0['from'],-0x1,_0x4267f0);(_0x1f5c85||(_0x1f5c85=[_0xf5d4d3]))['push'](_0x39d545(_0x228169,_0x2bedcc,_0x24be62,!0x1));}}return _0x1f5c85?_0x53c262(_0x1f5c85):_0xf5d4d3;}(this,_0x4b0ef7,_0x1c9bf5);}iterate(_0x164acd){let {enter:_0x287e33,leave:_0x37e8cf,from:_0x3e34f5=0x0,to:_0x558346=this['length']}=_0x164acd,_0x380849=_0x164acd['mode']||0x0,_0x5a0db3=(_0x380849&_0x2ad664['IncludeAnonymous'])>0x0;for(let _0x1ab7d9=this['cursor'](_0x380849|_0x2ad664['IncludeAnonymous']);;){let _0x147a71=!0x1;if(_0x1ab7d9['from']<=_0x558346&&_0x1ab7d9['to']>=_0x3e34f5&&(!_0x5a0db3&&_0x1ab7d9['type']['isAnonymous']||!0x1!==_0x287e33(_0x1ab7d9))){if(_0x1ab7d9['firstChild']())continue;_0x147a71=!0x0;}for(;_0x147a71&&_0x37e8cf&&(_0x5a0db3||!_0x1ab7d9['type']['isAnonymous'])&&_0x37e8cf(_0x1ab7d9),!_0x1ab7d9['nextSibling']();){if(!_0x1ab7d9['parent']())return;_0x147a71=!0x0;}}}['prop'](_0x230980){return _0x230980['perNode']?this['props']?this['props'][_0x230980['id']]:void 0x0:this['type']['prop'](_0x230980);}get['propValues'](){let _0x436d7c=[];if(this['props']){for(let _0x1bde8f in this['props'])_0x436d7c['push']([+_0x1bde8f,this['props'][_0x1bde8f]]);}return _0x436d7c;}['balance'](_0x44a4b1={}){return this['children']['length']<=0x8?this:_0x283421(_0x4a1e51['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x21acf7,_0x58938b,_0xb195f1)=>new _0x4b3fc6(this['type'],_0x21acf7,_0x58938b,_0xb195f1,this['propValues']),_0x44a4b1['makeTree']||((_0x447847,_0x32b3d2,_0x372114)=>new _0x4b3fc6(_0x4a1e51['none'],_0x447847,_0x32b3d2,_0x372114)));}static['build'](_0x439102){return _0x1b2f03(_0x439102);}};_0x553c0c['empty']=new _0x553c0c(_0x4a1e51['none'],[],[],0x0);var _0x5e055b=class FlatBufferCursor{constructor(_0x2af509,_0x2bd510){this['buffer']=_0x2af509,this['index']=_0x2bd510;}get['id'](){return this['buffer'][this['index']-0x4];}get start(){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}get['pos'](){return this['index'];}next(){this['index']-=0x4;}['fork'](){return new FlatBufferCursor(this['buffer'],this['index']);}},_0xedbd71=class _0x4c96ab{constructor(_0x39fbaf,_0x14e90d,_0x1bd74c){this['buffer']=_0x39fbaf,this['length']=_0x14e90d,this['set']=_0x1bd74c;}get type(){return _0x4a1e51['none'];}toString(){let _0x26582b=[];for(let _0x2d270c=0x0;_0x2d270c<this['buffer']['length'];)_0x26582b['push'](this['childString'](_0x2d270c)),_0x2d270c=this['buffer'][_0x2d270c+0x3];return _0x26582b['join'](',');}childString(_0x192061){let _0x5c2846=this['buffer'][_0x192061],_0x310de0=this['buffer'][_0x192061+0x3],_0x317ce1=this['set']['types'][_0x5c2846],_0x17580a=_0x317ce1['name'];if(/\W/['test'](_0x17580a)&&!_0x317ce1['isError']&&(_0x17580a=JSON['stringify'](_0x17580a)),_0x310de0==(_0x192061+=0x4))return _0x17580a;let _0x1c8646=[];for(;_0x192061<_0x310de0;)_0x1c8646['push'](this['childString'](_0x192061)),_0x192061=this['buffer'][_0x192061+0x3];return _0x17580a+'('+_0x1c8646['join'](',')+')';}['findChild'](_0x4708fe,_0x19447a,_0x389f9b,_0x558a08,_0x2dde02){let {buffer:_0x1de27a}=this,_0x390a46=-0x1;for(let _0x2572c5=_0x4708fe;_0x2572c5!=_0x19447a&&!(_0x21a2e5(_0x2dde02,_0x558a08,_0x1de27a[_0x2572c5+0x1],_0x1de27a[_0x2572c5+0x2])&&(_0x390a46=_0x2572c5,_0x389f9b>0x0));_0x2572c5=_0x1de27a[_0x2572c5+0x3]);return _0x390a46;}['slice'](_0x22b49f,_0x375aed,_0x4ec3a3){let _0x529da6=this['buffer'],_0xd93aae=new Uint16Array(_0x375aed-_0x22b49f),_0x3bc2b1=0x0;for(let _0xc341ee=_0x22b49f,_0x585a50=0x0;_0xc341ee<_0x375aed;){_0xd93aae[_0x585a50++]=_0x529da6[_0xc341ee++],_0xd93aae[_0x585a50++]=_0x529da6[_0xc341ee++]-_0x4ec3a3;let _0x35d60c=_0xd93aae[_0x585a50++]=_0x529da6[_0xc341ee++]-_0x4ec3a3;_0xd93aae[_0x585a50++]=_0x529da6[_0xc341ee++]-_0x22b49f,_0x3bc2b1=Math['max'](_0x3bc2b1,_0x35d60c);}return new _0x4c96ab(_0xd93aae,_0x3bc2b1,this['set']);}};function _0x21a2e5(_0x1e9622,_0x43b186,_0x5c2c0a,_0x1cc78d){switch(_0x1e9622){case-0x2:return _0x5c2c0a<_0x43b186;case-0x1:return _0x1cc78d>=_0x43b186&&_0x5c2c0a<_0x43b186;case 0x0:return _0x5c2c0a<_0x43b186&&_0x1cc78d>_0x43b186;case 0x1:return _0x5c2c0a<=_0x43b186&&_0x1cc78d>_0x43b186;case 0x2:return _0x1cc78d>_0x43b186;case 0x4:return!0x0;}}function _0x39d545(_0x21eba4,_0x188fac,_0x3671c6,_0x434dc5){for(var _0x3ca173;_0x21eba4['from']==_0x21eba4['to']||(_0x3671c6<0x1?_0x21eba4['from']>=_0x188fac:_0x21eba4['from']>_0x188fac)||(_0x3671c6>-0x1?_0x21eba4['to']<=_0x188fac:_0x21eba4['to']<_0x188fac);){let _0x1e5dac=!_0x434dc5&&_0x21eba4 instanceof _0x4dc82e&&_0x21eba4['index']<0x0?null:_0x21eba4['parent'];if(!_0x1e5dac)return _0x21eba4;_0x21eba4=_0x1e5dac;}let _0x3cfbd5=_0x434dc5?0x0:_0x2ad664['IgnoreOverlays'];if(_0x434dc5){for(let _0x233b32=_0x21eba4,_0x2efc5e=_0x233b32['parent'];_0x2efc5e;_0x233b32=_0x2efc5e,_0x2efc5e=_0x233b32['parent'])_0x233b32 instanceof _0x4dc82e&&_0x233b32['index']<0x0&&(null===(_0x3ca173=_0x2efc5e['enter'](_0x188fac,_0x3671c6,_0x3cfbd5))||void 0x0===_0x3ca173?void 0x0:_0x3ca173['from'])!=_0x233b32['from']&&(_0x21eba4=_0x2efc5e);}for(;;){let _0x395132=_0x21eba4['enter'](_0x188fac,_0x3671c6,_0x3cfbd5);if(!_0x395132)return _0x21eba4;_0x21eba4=_0x395132;}}var _0x10c3db=class{['cursor'](_0x275d43=0x0){return new _0x1bfec8(this,_0x275d43);}getChild(_0x143fed,_0x5c7feb=null,_0x2d5d40=null){let _0x5b1372=_0x155df5(this,_0x143fed,_0x5c7feb,_0x2d5d40);return _0x5b1372['length']?_0x5b1372[0x0]:null;}getChildren(_0x3bfc9a,_0x16051d=null,_0x3dc668=null){return _0x155df5(this,_0x3bfc9a,_0x16051d,_0x3dc668);}['resolve'](_0x326aa3,_0x446e0a=0x0){return _0x39d545(this,_0x326aa3,_0x446e0a,!0x1);}['resolveInner'](_0x5724ed,_0x2016dc=0x0){return _0x39d545(this,_0x5724ed,_0x2016dc,!0x0);}matchContext(_0x3e5032){return _0x24c134(this['parent'],_0x3e5032);}enterUnfinishedNodesBefore(_0x17db86){let _0x15806c=this['childBefore'](_0x17db86),_0x2d02e6=this;for(;_0x15806c;){let _0x2dcd4e=_0x15806c['lastChild'];if(!_0x2dcd4e||_0x2dcd4e['to']!=_0x15806c['to'])break;_0x2dcd4e['type']['isError']&&_0x2dcd4e['from']==_0x2dcd4e['to']?(_0x2d02e6=_0x15806c,_0x15806c=_0x2dcd4e['prevSibling']):_0x15806c=_0x2dcd4e;}return _0x2d02e6;}get['node'](){return this;}get next(){return this['parent'];}},_0x4dc82e=class _0x5394f5 extends _0x10c3db{constructor(_0x1cb9e1,_0x19d1a9,_0x4f57cf,_0x44ebec){super(),this['_tree']=_0x1cb9e1,this['from']=_0x19d1a9,this['index']=_0x4f57cf,this['_parent']=_0x44ebec;}get type(){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get to(){return this['from']+this['_tree']['length'];}nextChild(_0xf3f555,_0x4059a6,_0x2b94e6,_0x281454,_0x116e7c=0x0){for(let _0x2ce1ad=this;;){for(let {children:_0x530094,positions:_0x32fd3f}=_0x2ce1ad['_tree'],_0x3c745c=_0x4059a6>0x0?_0x530094['length']:-0x1;_0xf3f555!=_0x3c745c;_0xf3f555+=_0x4059a6){let _0x8c1cc8,_0x276286=_0x530094[_0xf3f555],_0xbde380=_0x32fd3f[_0xf3f555]+_0x2ce1ad['from'];if(_0x116e7c&_0x2ad664['EnterBracketed']&&_0x276286 instanceof _0x553c0c&&(_0x8c1cc8=_0x3d1fcf['get'](_0x276286))&&!_0x8c1cc8['overlay']&&_0x8c1cc8['bracketed']&&_0x2b94e6>=_0xbde380&&_0x2b94e6<=_0xbde380+_0x276286['length']||_0x21a2e5(_0x281454,_0x2b94e6,_0xbde380,_0xbde380+_0x276286['length'])){if(_0x276286 instanceof _0xedbd71){if(_0x116e7c&_0x2ad664['ExcludeBuffers'])continue;let _0x1970b2=_0x276286['findChild'](0x0,_0x276286['buffer']['length'],_0x4059a6,_0x2b94e6-_0xbde380,_0x281454);if(_0x1970b2>-0x1)return new _0x5870a4(new _0x2d91f7(_0x2ce1ad,_0x276286,_0xf3f555,_0xbde380),null,_0x1970b2);}else{if(_0x116e7c&_0x2ad664['IncludeAnonymous']||!_0x276286['type']['isAnonymous']||_0x5c554f(_0x276286)){let _0x3dbb59;if(!(_0x116e7c&_0x2ad664['IgnoreMounts'])&&(_0x3dbb59=_0x3d1fcf['get'](_0x276286))&&!_0x3dbb59['overlay'])return new _0x5394f5(_0x3dbb59['tree'],_0xbde380,_0xf3f555,_0x2ce1ad);let _0x2353d3=new _0x5394f5(_0x276286,_0xbde380,_0xf3f555,_0x2ce1ad);return _0x116e7c&_0x2ad664['IncludeAnonymous']||!_0x2353d3['type']['isAnonymous']?_0x2353d3:_0x2353d3['nextChild'](_0x4059a6<0x0?_0x276286['children']['length']-0x1:0x0,_0x4059a6,_0x2b94e6,_0x281454,_0x116e7c);}}}}if(_0x116e7c&_0x2ad664['IncludeAnonymous']||!_0x2ce1ad['type']['isAnonymous'])return null;if(_0xf3f555=_0x2ce1ad['index']>=0x0?_0x2ce1ad['index']+_0x4059a6:_0x4059a6<0x0?-0x1:_0x2ce1ad['_parent']['_tree']['children']['length'],_0x2ce1ad=_0x2ce1ad['_parent'],!_0x2ce1ad)return null;}}get firstChild(){return this['nextChild'](0x0,0x1,0x0,0x4);}get lastChild(){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,0x0,0x4);}childAfter(_0x524a59){return this['nextChild'](0x0,0x1,_0x524a59,0x2);}['childBefore'](_0x4c6cbe){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x4c6cbe,-0x2);}['prop'](_0x1bc3bf){return this['_tree']['prop'](_0x1bc3bf);}enter(_0x560bb3,_0x362b84,_0x5f3615=0x0){let _0xf13d04;if(!(_0x5f3615&_0x2ad664['IgnoreOverlays'])&&(_0xf13d04=_0x3d1fcf['get'](this['_tree']))&&_0xf13d04['overlay']){let _0x4c93e2=_0x560bb3-this['from'],_0x4bab03=_0x5f3615&_0x2ad664['EnterBracketed']&&_0xf13d04['bracketed'];for(let {from:_0x2a256e,to:_0x11ed3f}of _0xf13d04['overlay'])if((_0x362b84>0x0||_0x4bab03?_0x2a256e<=_0x4c93e2:_0x2a256e<_0x4c93e2)&&(_0x362b84<0x0||_0x4bab03?_0x11ed3f>=_0x4c93e2:_0x11ed3f>_0x4c93e2))return new _0x5394f5(_0xf13d04['tree'],_0xf13d04['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x560bb3,_0x362b84,_0x5f3615);}nextSignificantParent(){let _0x24e67e=this;for(;_0x24e67e['type']['isAnonymous']&&_0x24e67e['_parent'];)_0x24e67e=_0x24e67e['_parent'];return _0x24e67e;}get parent(){return this['_parent']?this['_parent']['nextSignificantParent']():null;}get nextSibling(){return this['_parent']&&this['index']>=0x0?this['_parent']['nextChild'](this['index']+0x1,0x1,0x0,0x4):null;}get['prevSibling'](){return this['_parent']&&this['index']>=0x0?this['_parent']['nextChild'](this['index']-0x1,-0x1,0x0,0x4):null;}get tree(){return this['_tree'];}toTree(){return this['_tree'];}toString(){return this['_tree']['toString']();}};function _0x155df5(_0x2fc969,_0x2cd39a,_0x330317,_0x57702a){let _0x35b686=_0x2fc969['cursor'](),_0x355f8e=[];if(!_0x35b686['firstChild']())return _0x355f8e;if(null!=_0x330317){for(let _0x186d97=!0x1;!_0x186d97;)if(_0x186d97=_0x35b686['type']['is'](_0x330317),!_0x35b686['nextSibling']())return _0x355f8e;}for(;;){if(null!=_0x57702a&&_0x35b686['type']['is'](_0x57702a))return _0x355f8e;if(_0x35b686['type']['is'](_0x2cd39a)&&_0x355f8e['push'](_0x35b686['node']),!_0x35b686['nextSibling']())return null==_0x57702a?_0x355f8e:[];}}function _0x24c134(_0x42af30,_0x4221a4,_0x34f03b=_0x4221a4['length']-0x1){for(let _0x1dd3a9=_0x42af30;_0x34f03b>=0x0;_0x1dd3a9=_0x1dd3a9['parent']){if(!_0x1dd3a9)return!0x1;if(!_0x1dd3a9['type']['isAnonymous']){if(_0x4221a4[_0x34f03b]&&_0x4221a4[_0x34f03b]!=_0x1dd3a9['name'])return!0x1;_0x34f03b--;}}return!0x0;}var _0x2d91f7=class{constructor(_0x27e3d7,_0x50ff22,_0x28584e,_0x4abd1d){this['parent']=_0x27e3d7,this['buffer']=_0x50ff22,this['index']=_0x28584e,this['start']=_0x4abd1d;}},_0x5870a4=class _0x4df306 extends _0x10c3db{get['name'](){return this['type']['name'];}get['from'](){return this['context']['start']+this['context']['buffer']['buffer'][this['index']+0x1];}get to(){return this['context']['start']+this['context']['buffer']['buffer'][this['index']+0x2];}constructor(_0x32f815,_0x2b0fe7,_0x1e48f6){super(),this['context']=_0x32f815,this['_parent']=_0x2b0fe7,this['index']=_0x1e48f6,this['type']=_0x32f815['buffer']['set']['types'][_0x32f815['buffer']['buffer'][_0x1e48f6]];}['child'](_0xc0bc55,_0x50a151,_0x1aa503){let {buffer:_0x141dab}=this['context'],_0x4c7d50=_0x141dab['findChild'](this['index']+0x4,_0x141dab['buffer'][this['index']+0x3],_0xc0bc55,_0x50a151-this['context']['start'],_0x1aa503);return _0x4c7d50<0x0?null:new _0x4df306(this['context'],this,_0x4c7d50);}get firstChild(){return this['child'](0x1,0x0,0x4);}get lastChild(){return this['child'](-0x1,0x0,0x4);}childAfter(_0x4aee5f){return this['child'](0x1,_0x4aee5f,0x2);}['childBefore'](_0x4f6447){return this['child'](-0x1,_0x4f6447,-0x2);}['prop'](_0x58cd52){return this['type']['prop'](_0x58cd52);}enter(_0x4fea62,_0x567b57,_0x135b54=0x0){if(_0x135b54&_0x2ad664['ExcludeBuffers'])return null;let {buffer:_0x26bf33}=this['context'],_0x3503d7=_0x26bf33['findChild'](this['index']+0x4,_0x26bf33['buffer'][this['index']+0x3],_0x567b57>0x0?0x1:-0x1,_0x4fea62-this['context']['start'],_0x567b57);return _0x3503d7<0x0?null:new _0x4df306(this['context'],this,_0x3503d7);}get parent(){return this['_parent']||this['context']['parent']['nextSignificantParent']();}externalSibling(_0x2f187c){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x2f187c,_0x2f187c,0x0,0x4);}get nextSibling(){let {buffer:_0x14b467}=this['context'],_0x41e474=_0x14b467['buffer'][this['index']+0x3];return _0x41e474<(this['_parent']?_0x14b467['buffer'][this['_parent']['index']+0x3]:_0x14b467['buffer']['length'])?new _0x4df306(this['context'],this['_parent'],_0x41e474):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x5b4ef3}=this['context'],_0x2c5cd7=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x2c5cd7?this['externalSibling'](-0x1):new _0x4df306(this['context'],this['_parent'],_0x5b4ef3['findChild'](_0x2c5cd7,this['index'],-0x1,0x0,0x4));}get tree(){return null;}toTree(){let _0x1eb139=[],_0x9de3de=[],{buffer:_0x27f259}=this['context'],_0x500464=this['index']+0x4,_0x173614=_0x27f259['buffer'][this['index']+0x3];if(_0x173614>_0x500464){let _0x475456=_0x27f259['buffer'][this['index']+0x1];_0x1eb139['push'](_0x27f259['slice'](_0x500464,_0x173614,_0x475456)),_0x9de3de['push'](0x0);}return new _0x553c0c(this['type'],_0x1eb139,_0x9de3de,this['to']-this['from']);}toString(){return this['context']['buffer']['childString'](this['index']);}};function _0x53c262(_0x5ac74d){if(!_0x5ac74d['length'])return null;let _0x52fd71=0x0,_0x532214=_0x5ac74d[0x0];for(let _0x313f77=0x1;_0x313f77<_0x5ac74d['length'];_0x313f77++){let _0x4bba64=_0x5ac74d[_0x313f77];(_0x4bba64['from']>_0x532214['from']||_0x4bba64['to']<_0x532214['to'])&&(_0x532214=_0x4bba64,_0x52fd71=_0x313f77);}let _0x37f03d=_0x532214 instanceof _0x4dc82e&&_0x532214['index']<0x0?null:_0x532214['parent'],_0x40d6bc=_0x5ac74d['slice']();return _0x37f03d?_0x40d6bc[_0x52fd71]=_0x37f03d:_0x40d6bc['splice'](_0x52fd71,0x1),new _0x38f951(_0x40d6bc,_0x532214);}var _0x38f951=class{constructor(_0xce287b,_0x1bb8bb){this['heads']=_0xce287b,this['node']=_0x1bb8bb;}get next(){return _0x53c262(this['heads']);}},_0x1bfec8=class{get['name'](){return this['type']['name'];}constructor(_0xfc488a,_0x43fe77=0x0){if(this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,this['mode']=_0x43fe77&~_0x2ad664['EnterBracketed'],_0xfc488a instanceof _0x4dc82e)this['yieldNode'](_0xfc488a);else{this['_tree']=_0xfc488a['context']['parent'],this['buffer']=_0xfc488a['context'];for(let _0x1216ea=_0xfc488a['_parent'];_0x1216ea;_0x1216ea=_0x1216ea['_parent'])this['stack']['unshift'](_0x1216ea['index']);this['bufferNode']=_0xfc488a,this['yieldBuf'](_0xfc488a['index']);}}['yieldNode'](_0x1ac521){return!!_0x1ac521&&(this['_tree']=_0x1ac521,this['type']=_0x1ac521['type'],this['from']=_0x1ac521['from'],this['to']=_0x1ac521['to'],!0x0);}['yieldBuf'](_0x450b91,_0x35f69a){this['index']=_0x450b91;let {start:_0x394570,buffer:_0x5d08e3}=this['buffer'];return this['type']=_0x35f69a||_0x5d08e3['set']['types'][_0x5d08e3['buffer'][_0x450b91]],this['from']=_0x394570+_0x5d08e3['buffer'][_0x450b91+0x1],this['to']=_0x394570+_0x5d08e3['buffer'][_0x450b91+0x2],!0x0;}['yield'](_0x123740){return!!_0x123740&&(_0x123740 instanceof _0x4dc82e?(this['buffer']=null,this['yieldNode'](_0x123740)):(this['buffer']=_0x123740['context'],this['yieldBuf'](_0x123740['index'],_0x123740['type'])));}toString(){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}enterChild(_0x27a2da,_0x3c59dc,_0x1f6ebd){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x27a2da<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x27a2da,_0x3c59dc,_0x1f6ebd,this['mode']));let {buffer:_0x3ee038}=this['buffer'],_0x2f7b77=_0x3ee038['findChild'](this['index']+0x4,_0x3ee038['buffer'][this['index']+0x3],_0x27a2da,_0x3c59dc-this['buffer']['start'],_0x1f6ebd);return!(_0x2f7b77<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x2f7b77));}firstChild(){return this['enterChild'](0x1,0x0,0x4);}lastChild(){return this['enterChild'](-0x1,0x0,0x4);}childAfter(_0xbb4214){return this['enterChild'](0x1,_0xbb4214,0x2);}['childBefore'](_0x54a220){return this['enterChild'](-0x1,_0x54a220,-0x2);}enter(_0x5123d7,_0x2c24b9,_0x50a617=this['mode']){return this['buffer']?!(_0x50a617&_0x2ad664['ExcludeBuffers'])&&this['enterChild'](0x1,_0x5123d7,_0x2c24b9):this['yield'](this['_tree']['enter'](_0x5123d7,_0x2c24b9,_0x50a617));}parent(){if(!this['buffer'])return this['yieldNode'](this['mode']&_0x2ad664['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x3b5cd6=this['mode']&_0x2ad664['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x3b5cd6);}['sibling'](_0xf45fbc){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0xf45fbc,_0xf45fbc,0x0,0x4,this['mode']));let {buffer:_0x40948d}=this['buffer'],_0x5f18fa=this['stack']['length']-0x1;if(_0xf45fbc<0x0){let _0x4b2c1e=_0x5f18fa<0x0?0x0:this['stack'][_0x5f18fa]+0x4;if(this['index']!=_0x4b2c1e)return this['yieldBuf'](_0x40948d['findChild'](_0x4b2c1e,this['index'],-0x1,0x0,0x4));}else{let _0x43a281=_0x40948d['buffer'][this['index']+0x3];if(_0x43a281<(_0x5f18fa<0x0?_0x40948d['buffer']['length']:_0x40948d['buffer'][this['stack'][_0x5f18fa]+0x3]))return this['yieldBuf'](_0x43a281);}return _0x5f18fa<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0xf45fbc,_0xf45fbc,0x0,0x4,this['mode']));}nextSibling(){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}atLastNode(_0x4ed28f){let _0xae7bab,_0x246ace,{buffer:_0x3f1d46}=this;if(_0x3f1d46){if(_0x4ed28f>0x0){if(this['index']<_0x3f1d46['buffer']['buffer']['length'])return!0x1;}else{for(let _0x38df81=0x0;_0x38df81<this['index'];_0x38df81++)if(_0x3f1d46['buffer']['buffer'][_0x38df81+0x3]<this['index'])return!0x1;}({index:_0xae7bab,parent:_0x246ace}=_0x3f1d46);}else({index:_0xae7bab,_parent:_0x246ace}=this['_tree']);for(;_0x246ace;{index:_0xae7bab,_parent:_0x246ace}=_0x246ace)if(_0xae7bab>-0x1)for(let _0x2cefca=_0xae7bab+_0x4ed28f,_0x26bc06=_0x4ed28f<0x0?-0x1:_0x246ace['_tree']['children']['length'];_0x2cefca!=_0x26bc06;_0x2cefca+=_0x4ed28f){let _0x60b97b=_0x246ace['_tree']['children'][_0x2cefca];if(this['mode']&_0x2ad664['IncludeAnonymous']||_0x60b97b instanceof _0xedbd71||!_0x60b97b['type']['isAnonymous']||_0x5c554f(_0x60b97b))return!0x1;}return!0x0;}['move'](_0x4c7b38,_0xe18c75){if(_0xe18c75&&this['enterChild'](_0x4c7b38,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x4c7b38))return!0x0;if(this['atLastNode'](_0x4c7b38)||!this['parent']())return!0x1;}}next(_0x40d335=!0x0){return this['move'](0x1,_0x40d335);}['prev'](_0x159445=!0x0){return this['move'](-0x1,_0x159445);}['moveTo'](_0x143fb3,_0x2dcf8a=0x0){for(;(this['from']==this['to']||(_0x2dcf8a<0x1?this['from']>=_0x143fb3:this['from']>_0x143fb3)||(_0x2dcf8a>-0x1?this['to']<=_0x143fb3:this['to']<_0x143fb3))&&this['parent'](););for(;this['enterChild'](0x1,_0x143fb3,_0x2dcf8a););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x344240=this['bufferNode'],_0x369dd1=null,_0x2f1442=0x0;if(_0x344240&&_0x344240['context']==this['buffer']){t:for(let _0x3c2868=this['index'],_0xee6aa1=this['stack']['length'];_0xee6aa1>=0x0;){for(let _0x274d38=_0x344240;_0x274d38;_0x274d38=_0x274d38['_parent'])if(_0x274d38['index']==_0x3c2868){if(_0x3c2868==this['index'])return _0x274d38;_0x369dd1=_0x274d38,_0x2f1442=_0xee6aa1+0x1;break t;}_0x3c2868=this['stack'][--_0xee6aa1];}}for(let _0x500b00=_0x2f1442;_0x500b00<this['stack']['length'];_0x500b00++)_0x369dd1=new _0x5870a4(this['buffer'],_0x369dd1,this['stack'][_0x500b00]);return this['bufferNode']=new _0x5870a4(this['buffer'],_0x369dd1,this['index']);}get tree(){return this['buffer']?null:this['_tree']['_tree'];}iterate(_0x15838d,_0x43d168){for(let _0x2da902=0x0;;){let _0x6d3646=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x15838d(this)){if(this['firstChild']()){_0x2da902++;continue;}this['type']['isAnonymous']||(_0x6d3646=!0x0);}for(;;){if(_0x6d3646&&_0x43d168&&_0x43d168(this),_0x6d3646=this['type']['isAnonymous'],!_0x2da902)return;if(this['nextSibling']())break;this['parent'](),_0x2da902--,_0x6d3646=!0x0;}}}matchContext(_0x23d211){if(!this['buffer'])return _0x24c134(this['node']['parent'],_0x23d211);let {buffer:_0x507b9b}=this['buffer'],{types:_0x46bc33}=_0x507b9b['set'];for(let _0xc58dd7=_0x23d211['length']-0x1,_0x1bc6e2=this['stack']['length']-0x1;_0xc58dd7>=0x0;_0x1bc6e2--){if(_0x1bc6e2<0x0)return _0x24c134(this['_tree'],_0x23d211,_0xc58dd7);let _0x51516b=_0x46bc33[_0x507b9b['buffer'][this['stack'][_0x1bc6e2]]];if(!_0x51516b['isAnonymous']){if(_0x23d211[_0xc58dd7]&&_0x23d211[_0xc58dd7]!=_0x51516b['name'])return!0x1;_0xc58dd7--;}}return!0x0;}};function _0x5c554f(_0x285bf2){return _0x285bf2['children']['some'](_0x31d220=>_0x31d220 instanceof _0xedbd71||!_0x31d220['type']['isAnonymous']||_0x5c554f(_0x31d220));}function _0x1b2f03(_0x2f3064){var _0x54290c;let {buffer:_0x5ecc88,nodeSet:_0x4455db,maxBufferLength:_0x38ef06=_0x43fc65,reused:_0x652a5c=[],minRepeatType:_0x23c358=_0x4455db['types']['length']}=_0x2f3064,_0x158307=Array['isArray'](_0x5ecc88)?new _0x5e055b(_0x5ecc88,_0x5ecc88['length']):_0x5ecc88,_0x716e69=_0x4455db['types'],_0x5739d1=0x0,_0x41d161=0x0;function _0x26f533(_0x42d739,_0x1b6852,_0x486cd7,_0xf77cce,_0x3b1aec,_0x5899a0){let {id:_0x434e3a,start:_0x5900cc,end:_0x2a073f,size:_0x5ebd26}=_0x158307,_0x21a82f=_0x41d161,_0x6cf924=_0x5739d1;if(_0x5ebd26<0x0){if(_0x158307['next'](),-0x1==_0x5ebd26){let _0x49e4f7=_0x652a5c[_0x434e3a];return _0x486cd7['push'](_0x49e4f7),void _0xf77cce['push'](_0x5900cc-_0x42d739);}if(-0x3==_0x5ebd26)return void(_0x5739d1=_0x434e3a);if(-0x4==_0x5ebd26)return void(_0x41d161=_0x434e3a);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x5ebd26);}let _0x20af55,_0x100500,_0x3bccd9=_0x716e69[_0x434e3a],_0x552be1=_0x5900cc-_0x42d739;if(_0x2a073f-_0x5900cc<=_0x38ef06&&(_0x100500=function(_0x3f3c68,_0x2b4ec8){let _0x377ed5=_0x158307['fork'](),_0x56a873=0x0,_0x350f42=0x0,_0x58e31d=0x0,_0xfc8668=_0x377ed5['end']-_0x38ef06,_0x2a430e={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x32ac49=_0x377ed5['pos']-_0x3f3c68;_0x377ed5['pos']>_0x32ac49;){let _0x4bdb88=_0x377ed5['size'];if(_0x377ed5['id']==_0x2b4ec8&&_0x4bdb88>=0x0){_0x2a430e['size']=_0x56a873,_0x2a430e['start']=_0x350f42,_0x2a430e['skip']=_0x58e31d,_0x58e31d+=0x4,_0x56a873+=0x4,_0x377ed5['next']();continue;}let _0x120965=_0x377ed5['pos']-_0x4bdb88;if(_0x4bdb88<0x0||_0x120965<_0x32ac49||_0x377ed5['start']<_0xfc8668)break;let _0x754d98=_0x377ed5['id']>=_0x23c358?0x4:0x0,_0x2793fd=_0x377ed5['start'];for(_0x377ed5['next']();_0x377ed5['pos']>_0x120965;){if(_0x377ed5['size']<0x0){if(-0x3!=_0x377ed5['size']&&-0x4!=_0x377ed5['size'])break t;_0x754d98+=0x4;}else _0x377ed5['id']>=_0x23c358&&(_0x754d98+=0x4);_0x377ed5['next']();}_0x350f42=_0x2793fd,_0x56a873+=_0x4bdb88,_0x58e31d+=_0x754d98;}return(_0x2b4ec8<0x0||_0x56a873==_0x3f3c68)&&(_0x2a430e['size']=_0x56a873,_0x2a430e['start']=_0x350f42,_0x2a430e['skip']=_0x58e31d),_0x2a430e['size']>0x4?_0x2a430e:void 0x0;}(_0x158307['pos']-_0x1b6852,_0x3b1aec))){let _0x4d5b20=new Uint16Array(_0x100500['size']-_0x100500['skip']),_0x3508cf=_0x158307['pos']-_0x100500['size'],_0x32c66c=_0x4d5b20['length'];for(;_0x158307['pos']>_0x3508cf;)_0x32c66c=_0x41bea5(_0x100500['start'],_0x4d5b20,_0x32c66c);_0x20af55=new _0xedbd71(_0x4d5b20,_0x2a073f-_0x100500['start'],_0x4455db),_0x552be1=_0x100500['start']-_0x42d739;}else{let _0x5b1c86=_0x158307['pos']-_0x5ebd26;_0x158307['next']();let _0x3437c4=[],_0x46969c=[],_0x3f903f=_0x434e3a>=_0x23c358?_0x434e3a:-0x1,_0x2a0e95=0x0,_0x53228f=_0x2a073f;for(;_0x158307['pos']>_0x5b1c86;)_0x3f903f>=0x0&&_0x158307['id']==_0x3f903f&&_0x158307['size']>=0x0?(_0x158307['end']<=_0x53228f-_0x38ef06&&(_0x5037be(_0x3437c4,_0x46969c,_0x5900cc,_0x2a0e95,_0x158307['end'],_0x53228f,_0x3f903f,_0x21a82f,_0x6cf924),_0x2a0e95=_0x3437c4['length'],_0x53228f=_0x158307['end']),_0x158307['next']()):_0x5899a0>0x9c4?_0x949adf(_0x5900cc,_0x5b1c86,_0x3437c4,_0x46969c):_0x26f533(_0x5900cc,_0x5b1c86,_0x3437c4,_0x46969c,_0x3f903f,_0x5899a0+0x1);if(_0x3f903f>=0x0&&_0x2a0e95>0x0&&_0x2a0e95<_0x3437c4['length']&&_0x5037be(_0x3437c4,_0x46969c,_0x5900cc,_0x2a0e95,_0x5900cc,_0x53228f,_0x3f903f,_0x21a82f,_0x6cf924),_0x3437c4['reverse'](),_0x46969c['reverse'](),_0x3f903f>-0x1&&_0x2a0e95>0x0){let _0x2bd16b=function(_0x1e1ecb,_0x1c9555){return(_0x49b1b7,_0x2360da,_0xa98f53)=>{let _0x448d00,_0x3cb082,_0x71e47e=0x0,_0x2b5a08=_0x49b1b7['length']-0x1;if(_0x2b5a08>=0x0&&(_0x448d00=_0x49b1b7[_0x2b5a08])instanceof _0x553c0c){if(!_0x2b5a08&&_0x448d00['type']==_0x1e1ecb&&_0x448d00['length']==_0xa98f53)return _0x448d00;(_0x3cb082=_0x448d00['prop'](_0x320816['lookAhead']))&&(_0x71e47e=_0x2360da[_0x2b5a08]+_0x448d00['length']+_0x3cb082);}return _0x1481db(_0x1e1ecb,_0x49b1b7,_0x2360da,_0xa98f53,_0x71e47e,_0x1c9555);};}(_0x3bccd9,_0x6cf924);_0x20af55=_0x283421(_0x3bccd9,_0x3437c4,_0x46969c,0x0,_0x3437c4['length'],0x0,_0x2a073f-_0x5900cc,_0x2bd16b,_0x2bd16b);}else _0x20af55=_0x1481db(_0x3bccd9,_0x3437c4,_0x46969c,_0x2a073f-_0x5900cc,_0x21a82f-_0x2a073f,_0x6cf924);}_0x486cd7['push'](_0x20af55),_0xf77cce['push'](_0x552be1);}function _0x949adf(_0x2c19f7,_0x23c13a,_0x350118,_0x4886fe){let _0x2ba337=[],_0x5dad50=0x0,_0x3a6265=-0x1;for(;_0x158307['pos']>_0x23c13a;){let {id:_0x1455a7,start:_0x22e9a2,end:_0x46326f,size:_0x1ddfca}=_0x158307;if(_0x1ddfca>0x4)_0x158307['next']();else{if(_0x3a6265>-0x1&&_0x22e9a2<_0x3a6265)break;_0x3a6265<0x0&&(_0x3a6265=_0x46326f-_0x38ef06),_0x2ba337['push'](_0x1455a7,_0x22e9a2,_0x46326f),_0x5dad50++,_0x158307['next']();}}if(_0x5dad50){let _0x1000e4=new Uint16Array(0x4*_0x5dad50),_0x2b4363=_0x2ba337[_0x2ba337['length']-0x2];for(let _0x43aa99=_0x2ba337['length']-0x3,_0x38e7eb=0x0;_0x43aa99>=0x0;_0x43aa99-=0x3)_0x1000e4[_0x38e7eb++]=_0x2ba337[_0x43aa99],_0x1000e4[_0x38e7eb++]=_0x2ba337[_0x43aa99+0x1]-_0x2b4363,_0x1000e4[_0x38e7eb++]=_0x2ba337[_0x43aa99+0x2]-_0x2b4363,_0x1000e4[_0x38e7eb++]=_0x38e7eb;_0x350118['push'](new _0xedbd71(_0x1000e4,_0x2ba337[0x2]-_0x2b4363,_0x4455db)),_0x4886fe['push'](_0x2b4363-_0x2c19f7);}}function _0x5037be(_0x1a0c30,_0x29cbcf,_0x56080b,_0x277ed4,_0x2007ef,_0x46b902,_0x4b4b0c,_0x17833d,_0x448eca){let _0x2c963f=[],_0x228562=[];for(;_0x1a0c30['length']>_0x277ed4;)_0x2c963f['push'](_0x1a0c30['pop']()),_0x228562['push'](_0x29cbcf['pop']()+_0x56080b-_0x2007ef);_0x1a0c30['push'](_0x1481db(_0x4455db['types'][_0x4b4b0c],_0x2c963f,_0x228562,_0x46b902-_0x2007ef,_0x17833d-_0x46b902,_0x448eca)),_0x29cbcf['push'](_0x2007ef-_0x56080b);}function _0x1481db(_0xce13e5,_0x37be63,_0x5852b4,_0x374223,_0x4f4eff,_0x4c92c0,_0x50be69){if(_0x4c92c0){let _0x573c38=[_0x320816['contextHash'],_0x4c92c0];_0x50be69=_0x50be69?[_0x573c38]['concat'](_0x50be69):[_0x573c38];}if(_0x4f4eff>0x19){let _0x10ba01=[_0x320816['lookAhead'],_0x4f4eff];_0x50be69=_0x50be69?[_0x10ba01]['concat'](_0x50be69):[_0x10ba01];}return new _0x553c0c(_0xce13e5,_0x37be63,_0x5852b4,_0x374223,_0x50be69);}function _0x41bea5(_0x3d684e,_0x5219e2,_0x4a5a27){let {id:_0x33ff99,start:_0x145f97,end:_0x501169,size:_0x1a89fe}=_0x158307;if(_0x158307['next'](),_0x1a89fe>=0x0&&_0x33ff99<_0x23c358){let _0x144398=_0x4a5a27;if(_0x1a89fe>0x4){let _0x3e63d4=_0x158307['pos']-(_0x1a89fe-0x4);for(;_0x158307['pos']>_0x3e63d4;)_0x4a5a27=_0x41bea5(_0x3d684e,_0x5219e2,_0x4a5a27);}_0x5219e2[--_0x4a5a27]=_0x144398,_0x5219e2[--_0x4a5a27]=_0x501169-_0x3d684e,_0x5219e2[--_0x4a5a27]=_0x145f97-_0x3d684e,_0x5219e2[--_0x4a5a27]=_0x33ff99;}else-0x3==_0x1a89fe?_0x5739d1=_0x33ff99:-0x4==_0x1a89fe&&(_0x41d161=_0x33ff99);return _0x4a5a27;}let _0x20d7d0=[],_0x2eecb1=[];for(;_0x158307['pos']>0x0;)_0x26f533(_0x2f3064['start']||0x0,_0x2f3064['bufferStart']||0x0,_0x20d7d0,_0x2eecb1,-0x1,0x0);let _0x4a95f7=null!==(_0x54290c=_0x2f3064['length'])&&void 0x0!==_0x54290c?_0x54290c:_0x20d7d0['length']?_0x2eecb1[0x0]+_0x20d7d0[0x0]['length']:0x0;return new _0x553c0c(_0x716e69[_0x2f3064['topID']],_0x20d7d0['reverse'](),_0x2eecb1['reverse'](),_0x4a95f7);}const _0x50e5fa=new WeakMap();function _0x24deed(_0x1c074f,_0x3c38cb){if(!_0x1c074f['isAnonymous']||_0x3c38cb instanceof _0xedbd71||_0x3c38cb['type']!=_0x1c074f)return 0x1;let _0x539551=_0x50e5fa['get'](_0x3c38cb);if(null==_0x539551){_0x539551=0x1;for(let _0x2834ec of _0x3c38cb['children']){if(_0x2834ec['type']!=_0x1c074f||!(_0x2834ec instanceof _0x553c0c)){_0x539551=0x1;break;}_0x539551+=_0x24deed(_0x1c074f,_0x2834ec);}_0x50e5fa['set'](_0x3c38cb,_0x539551);}return _0x539551;}function _0x283421(_0x1c3e01,_0x41b547,_0x1cb60e,_0x12c3e1,_0x1e98cc,_0x338389,_0x1e15bb,_0x5e9159,_0x5a851e){let _0x1bd409=0x0;for(let _0x494cdc=_0x12c3e1;_0x494cdc<_0x1e98cc;_0x494cdc++)_0x1bd409+=_0x24deed(_0x1c3e01,_0x41b547[_0x494cdc]);let _0x1e5c48=Math['ceil'](1.5*_0x1bd409/0x8),_0x2ebccc=[],_0x478176=[];return function _0x46d5d4(_0x28de03,_0x39b086,_0x25792e,_0x1e3639,_0x58d283){for(let _0x12cb55=_0x25792e;_0x12cb55<_0x1e3639;){let _0x10222d=_0x12cb55,_0x599996=_0x39b086[_0x12cb55],_0x8afd06=_0x24deed(_0x1c3e01,_0x28de03[_0x12cb55]);for(_0x12cb55++;_0x12cb55<_0x1e3639;_0x12cb55++){let _0x4e3ee1=_0x24deed(_0x1c3e01,_0x28de03[_0x12cb55]);if(_0x8afd06+_0x4e3ee1>=_0x1e5c48)break;_0x8afd06+=_0x4e3ee1;}if(_0x12cb55==_0x10222d+0x1){if(_0x8afd06>_0x1e5c48){let _0x5d67f1=_0x28de03[_0x10222d];_0x46d5d4(_0x5d67f1['children'],_0x5d67f1['positions'],0x0,_0x5d67f1['children']['length'],_0x39b086[_0x10222d]+_0x58d283);continue;}_0x2ebccc['push'](_0x28de03[_0x10222d]);}else{let _0x14c2b1=_0x39b086[_0x12cb55-0x1]+_0x28de03[_0x12cb55-0x1]['length']-_0x599996;_0x2ebccc['push'](_0x283421(_0x1c3e01,_0x28de03,_0x39b086,_0x10222d,_0x12cb55,_0x599996,_0x14c2b1,null,_0x5a851e));}_0x478176['push'](_0x599996+_0x58d283-_0x338389);}}(_0x41b547,_0x1cb60e,_0x12c3e1,_0x1e98cc,0x0),(_0x5e9159||_0x5a851e)(_0x2ebccc,_0x478176,_0x1e15bb);}var _0x5ed99d=class{constructor(){this['map']=new WeakMap();}setBuffer(_0x34d4ac,_0x592f87,_0x3f4c72){let _0x3159ec=this['map']['get'](_0x34d4ac);_0x3159ec||this['map']['set'](_0x34d4ac,_0x3159ec=new Map()),_0x3159ec['set'](_0x592f87,_0x3f4c72);}getBuffer(_0x2f23b8,_0x18ad5a){let _0x5c2f29=this['map']['get'](_0x2f23b8);return _0x5c2f29&&_0x5c2f29['get'](_0x18ad5a);}set(_0x4e81a0,_0x494519){_0x4e81a0 instanceof _0x5870a4?this['setBuffer'](_0x4e81a0['context']['buffer'],_0x4e81a0['index'],_0x494519):_0x4e81a0 instanceof _0x4dc82e&&this['map']['set'](_0x4e81a0['tree'],_0x494519);}get(_0x579460){return _0x579460 instanceof _0x5870a4?this['getBuffer'](_0x579460['context']['buffer'],_0x579460['index']):_0x579460 instanceof _0x4dc82e?this['map']['get'](_0x579460['tree']):void 0x0;}cursorSet(_0x203306,_0xe93c91){_0x203306['buffer']?this['setBuffer'](_0x203306['buffer']['buffer'],_0x203306['index'],_0xe93c91):this['map']['set'](_0x203306['tree'],_0xe93c91);}cursorGet(_0x319657){return _0x319657['buffer']?this['getBuffer'](_0x319657['buffer']['buffer'],_0x319657['index']):this['map']['get'](_0x319657['tree']);}},_0x3dd363=class TreeFragment{constructor(_0xa2ee56,_0x5a9ddd,_0x6b58c7,_0x43296d,_0x4333ae=!0x1,_0x2518c0=!0x1){this['from']=_0xa2ee56,this['to']=_0x5a9ddd,this['tree']=_0x6b58c7,this['offset']=_0x43296d,this['open']=(_0x4333ae?0x1:0x0)|(_0x2518c0?0x2:0x0);}get openStart(){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x42b0e9,_0x5ee919=[],_0x21e44b=!0x1){let _0x2c522f=[new TreeFragment(0x0,_0x42b0e9['length'],_0x42b0e9,0x0,!0x1,_0x21e44b)];for(let _0xfa1c2e of _0x5ee919)_0xfa1c2e['to']>_0x42b0e9['length']&&_0x2c522f['push'](_0xfa1c2e);return _0x2c522f;}static['applyChanges'](_0x50c9ed,_0x4ea7d9,_0x140faa=0x80){if(!_0x4ea7d9['length'])return _0x50c9ed;let _0x7e7587=[],_0xb6255c=0x1,_0x2966e1=_0x50c9ed['length']?_0x50c9ed[0x0]:null;for(let _0x3d3c4f=0x0,_0x588be5=0x0,_0x2d9940=0x0;;_0x3d3c4f++){let _0x324a39=_0x3d3c4f<_0x4ea7d9['length']?_0x4ea7d9[_0x3d3c4f]:null,_0x5ba2a0=_0x324a39?_0x324a39['fromA']:0x3b9aca00;if(_0x5ba2a0-_0x588be5>=_0x140faa)for(;_0x2966e1&&_0x2966e1['from']<_0x5ba2a0;){let _0x5f070d=_0x2966e1;if(_0x588be5>=_0x5f070d['from']||_0x5ba2a0<=_0x5f070d['to']||_0x2d9940){let _0x20327c=Math['max'](_0x5f070d['from'],_0x588be5)-_0x2d9940,_0x56f166=Math['min'](_0x5f070d['to'],_0x5ba2a0)-_0x2d9940;_0x5f070d=_0x20327c>=_0x56f166?null:new TreeFragment(_0x20327c,_0x56f166,_0x5f070d['tree'],_0x5f070d['offset']+_0x2d9940,_0x3d3c4f>0x0,!!_0x324a39);}if(_0x5f070d&&_0x7e7587['push'](_0x5f070d),_0x2966e1['to']>_0x5ba2a0)break;_0x2966e1=_0xb6255c<_0x50c9ed['length']?_0x50c9ed[_0xb6255c++]:null;}if(!_0x324a39)break;_0x588be5=_0x324a39['toA'],_0x2d9940=_0x324a39['toA']-_0x324a39['toB'];}return _0x7e7587;}},_0x1914bd=class{startParse(_0x214917,_0x459766,_0x7b2bed){return'string'==typeof _0x214917&&(_0x214917=new _0x255f43(_0x214917)),_0x7b2bed=_0x7b2bed?_0x7b2bed['length']?_0x7b2bed['map'](_0x1cf3e3=>new _0x568f0c(_0x1cf3e3['from'],_0x1cf3e3['to'])):[new _0x568f0c(0x0,0x0)]:[new _0x568f0c(0x0,_0x214917['length'])],this['createParse'](_0x214917,_0x459766||[],_0x7b2bed);}['parse'](_0x1e474f,_0x49d806,_0x305a99){let _0x45395e=this['startParse'](_0x1e474f,_0x49d806,_0x305a99);for(;;){let _0x5cc28e=_0x45395e['advance']();if(_0x5cc28e)return _0x5cc28e;}}},_0x255f43=class{constructor(_0x166951){this['string']=_0x166951;}get length(){return this['string']['length'];}['chunk'](_0x307ef1){return this['string']['slice'](_0x307ef1);}get['lineChunks'](){return!0x1;}['read'](_0x5d444d,_0x3897d3){return this['string']['slice'](_0x5d444d,_0x3897d3);}};function _0x582aa7(_0x2a033b){return(_0x3e1627,_0x4b50dc,_0x1adc33,_0x4aa91c)=>new _0x589645(_0x3e1627,_0x2a033b,_0x4b50dc,_0x1adc33,_0x4aa91c);}var _0x29d439=class{constructor(_0x4b5d24,_0x3b47a9,_0x3f46ad,_0x12fd5a,_0x4e7641,_0x2faf23){this['parser']=_0x4b5d24,this['parse']=_0x3b47a9,this['overlay']=_0x3f46ad,this['bracketed']=_0x12fd5a,this['target']=_0x4e7641,this['from']=_0x2faf23;}};function _0xc95961(_0x1b8fa2){if(!_0x1b8fa2['length']||_0x1b8fa2['some'](_0x54f2b6=>_0x54f2b6['from']>=_0x54f2b6['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x1b8fa2));}var _0x52fa70=class{constructor(_0x4a810c,_0x191e76,_0x3b64f6,_0x18af8d,_0x44ed7c,_0x228f99,_0x53b8d7,_0x295ee8){this['parser']=_0x4a810c,this['predicate']=_0x191e76,this['mounts']=_0x3b64f6,this['index']=_0x18af8d,this['start']=_0x44ed7c,this['bracketed']=_0x228f99,this['target']=_0x53b8d7,this['prev']=_0x295ee8,this['depth']=0x0,this['ranges']=[];}};const _0x558ef6=new _0x320816({'perNode':!0x0});var _0x589645=class{constructor(_0x599799,_0x92b642,_0x5027ad,_0x487ba9,_0x1289e1){this['nest']=_0x92b642,this['input']=_0x5027ad,this['fragments']=_0x487ba9,this['ranges']=_0x1289e1,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x599799;}['advance'](){if(this['baseParse']){let _0x27a223=this['baseParse']['advance']();if(!_0x27a223)return null;if(this['baseParse']=null,this['baseTree']=_0x27a223,this['startInner'](),null!=this['stoppedAt']){for(let _0x51462e of this['inner'])_0x51462e['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x468e9c=this['baseTree'];return null!=this['stoppedAt']&&(_0x468e9c=new _0x553c0c(_0x468e9c['type'],_0x468e9c['children'],_0x468e9c['positions'],_0x468e9c['length'],_0x468e9c['propValues']['concat']([[_0x558ef6,this['stoppedAt']]]))),_0x468e9c;}let _0x5ae99b=this['inner'][this['innerDone']],_0x152f94=_0x5ae99b['parse']['advance']();if(_0x152f94){this['innerDone']++;let _0x34eded=Object['assign'](Object['create'](null),_0x5ae99b['target']['props']);_0x34eded[_0x320816['mounted']['id']]=new _0x3d1fcf(_0x152f94,_0x5ae99b['overlay'],_0x5ae99b['parser'],_0x5ae99b['bracketed']),_0x5ae99b['target']['props']=_0x34eded;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x1213ed=this['input']['length'];for(let _0x2628f8=this['innerDone'];_0x2628f8<this['inner']['length'];_0x2628f8++)this['inner'][_0x2628f8]['from']<_0x1213ed&&(_0x1213ed=Math['min'](_0x1213ed,this['inner'][_0x2628f8]['parse']['parsedPos']));return _0x1213ed;}stopAt(_0x5d9ddd){if(this['stoppedAt']=_0x5d9ddd,this['baseParse'])this['baseParse']['stopAt'](_0x5d9ddd);else{for(let _0x385d6c=this['innerDone'];_0x385d6c<this['inner']['length'];_0x385d6c++)this['inner'][_0x385d6c]['parse']['stopAt'](_0x5d9ddd);}}startInner(){let _0x1feeb1=new _0x12a8df(this['fragments']),_0x2ef1da=null,_0x48b0e6=null,_0xa84766=new _0x1bfec8(new _0x4dc82e(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),_0x2ad664['IncludeAnonymous']|_0x2ad664['IgnoreMounts']);t:for(let _0x1622d8,_0x12a555;;){let _0x505829,_0x559aa8=!0x0;if(null!=this['stoppedAt']&&_0xa84766['from']>=this['stoppedAt'])_0x559aa8=!0x1;else{if(_0x1feeb1['hasNode'](_0xa84766)){if(_0x2ef1da){let _0x28fe40=_0x2ef1da['mounts']['find'](_0x5273b4=>_0x5273b4['frag']['from']<=_0xa84766['from']&&_0x5273b4['frag']['to']>=_0xa84766['to']&&_0x5273b4['mount']['overlay']);if(_0x28fe40)for(let _0x281e9e of _0x28fe40['mount']['overlay']){let _0x112c75=_0x281e9e['from']+_0x28fe40['pos'],_0xbbf1fd=_0x281e9e['to']+_0x28fe40['pos'];_0x112c75>=_0xa84766['from']&&_0xbbf1fd<=_0xa84766['to']&&!_0x2ef1da['ranges']['some'](_0x52d5a6=>_0x52d5a6['from']<_0xbbf1fd&&_0x52d5a6['to']>_0x112c75)&&_0x2ef1da['ranges']['push']({'from':_0x112c75,'to':_0xbbf1fd});}}_0x559aa8=!0x1;}else{if(_0x48b0e6&&(_0x12a555=_0x38abef(_0x48b0e6['ranges'],_0xa84766['from'],_0xa84766['to'])))_0x559aa8=0x2!=_0x12a555;else{if(!_0xa84766['type']['isAnonymous']&&(_0x1622d8=this['nest'](_0xa84766,this['input']))&&(_0xa84766['from']<_0xa84766['to']||!_0x1622d8['overlay'])){_0xa84766['tree']||(_0x292e78(_0xa84766),_0x2ef1da&&_0x2ef1da['depth']++,_0x48b0e6&&_0x48b0e6['depth']++);let _0x2bf5ff=_0x1feeb1['findMounts'](_0xa84766['from'],_0x1622d8['parser']);if('function'==typeof _0x1622d8['overlay'])_0x2ef1da=new _0x52fa70(_0x1622d8['parser'],_0x1622d8['overlay'],_0x2bf5ff,this['inner']['length'],_0xa84766['from'],!!_0x1622d8['bracketed'],_0xa84766['tree'],_0x2ef1da);else{let _0x5b6073=_0x1174de(this['ranges'],_0x1622d8['overlay']||(_0xa84766['from']<_0xa84766['to']?[new _0x568f0c(_0xa84766['from'],_0xa84766['to'])]:[]));_0x5b6073['length']&&_0xc95961(_0x5b6073),!_0x5b6073['length']&&_0x1622d8['overlay']||this['inner']['push'](new _0x29d439(_0x1622d8['parser'],_0x5b6073['length']?_0x1622d8['parser']['startParse'](this['input'],_0x29b5e9(_0x2bf5ff,_0x5b6073),_0x5b6073):_0x1622d8['parser']['startParse'](''),_0x1622d8['overlay']?_0x1622d8['overlay']['map'](_0x431f0e=>new _0x568f0c(_0x431f0e['from']-_0xa84766['from'],_0x431f0e['to']-_0xa84766['from'])):null,!!_0x1622d8['bracketed'],_0xa84766['tree'],_0x5b6073['length']?_0x5b6073[0x0]['from']:_0xa84766['from'])),_0x1622d8['overlay']?_0x5b6073['length']&&(_0x48b0e6={'ranges':_0x5b6073,'depth':0x0,'prev':_0x48b0e6}):_0x559aa8=!0x1;}}else{if(_0x2ef1da&&(_0x505829=_0x2ef1da['predicate'](_0xa84766))&&(!0x0===_0x505829&&(_0x505829=new _0x568f0c(_0xa84766['from'],_0xa84766['to'])),_0x505829['from']<_0x505829['to'])){let _0x420477=_0x2ef1da['ranges']['length']-0x1;_0x420477>=0x0&&_0x2ef1da['ranges'][_0x420477]['to']==_0x505829['from']?_0x2ef1da['ranges'][_0x420477]={'from':_0x2ef1da['ranges'][_0x420477]['from'],'to':_0x505829['to']}:_0x2ef1da['ranges']['push'](_0x505829);}}}}}if(_0x559aa8&&_0xa84766['firstChild']())_0x2ef1da&&_0x2ef1da['depth']++,_0x48b0e6&&_0x48b0e6['depth']++;else for(;!_0xa84766['nextSibling']();){if(!_0xa84766['parent']())break t;if(_0x2ef1da&&!--_0x2ef1da['depth']){let _0x5f67ca=_0x1174de(this['ranges'],_0x2ef1da['ranges']);_0x5f67ca['length']&&(_0xc95961(_0x5f67ca),this['inner']['splice'](_0x2ef1da['index'],0x0,new _0x29d439(_0x2ef1da['parser'],_0x2ef1da['parser']['startParse'](this['input'],_0x29b5e9(_0x2ef1da['mounts'],_0x5f67ca),_0x5f67ca),_0x2ef1da['ranges']['map'](_0x51fc60=>new _0x568f0c(_0x51fc60['from']-_0x2ef1da['start'],_0x51fc60['to']-_0x2ef1da['start'])),_0x2ef1da['bracketed'],_0x2ef1da['target'],_0x5f67ca[0x0]['from']))),_0x2ef1da=_0x2ef1da['prev'];}_0x48b0e6&&!--_0x48b0e6['depth']&&(_0x48b0e6=_0x48b0e6['prev']);}}}};function _0x38abef(_0x58ddf8,_0x4330a0,_0x3c2aed){for(let _0x3481d5 of _0x58ddf8){if(_0x3481d5['from']>=_0x3c2aed)break;if(_0x3481d5['to']>_0x4330a0)return _0x3481d5['from']<=_0x4330a0&&_0x3481d5['to']>=_0x3c2aed?0x2:0x1;}return 0x0;}function _0x1dde87(_0x262dec,_0x5b651a,_0xb725ea,_0x3dca64,_0x4e8190,_0x299280){if(_0x5b651a<_0xb725ea){let _0x59d948=_0x262dec['buffer'][_0x5b651a+0x1];_0x3dca64['push'](_0x262dec['slice'](_0x5b651a,_0xb725ea,_0x59d948)),_0x4e8190['push'](_0x59d948-_0x299280);}}function _0x292e78(_0x404260){let {node:_0x5796f4}=_0x404260,_0x3ce127=[],_0x35bcd4=_0x5796f4['context']['buffer'];do{_0x3ce127['push'](_0x404260['index']),_0x404260['parent']();}while(!_0x404260['tree']);let _0x4c34a6=_0x404260['tree'],_0x4244f5=_0x4c34a6['children']['indexOf'](_0x35bcd4),_0x3d2f87=_0x4c34a6['children'][_0x4244f5],_0x587e91=_0x3d2f87['buffer'],_0x51e78a=[_0x4244f5];_0x4c34a6['children'][_0x4244f5]=function _0x3ac625(_0x5bbcea,_0x2aff41,_0x337a2c,_0x2da041,_0x47854d,_0x34de91){let _0x1a0fa6=_0x3ce127[_0x34de91],_0x39b3bf=[],_0x17e7ce=[];_0x1dde87(_0x3d2f87,_0x5bbcea,_0x1a0fa6,_0x39b3bf,_0x17e7ce,_0x2da041);let _0x290a80=_0x587e91[_0x1a0fa6+0x1],_0x2de8c5=_0x587e91[_0x1a0fa6+0x2];_0x51e78a['push'](_0x39b3bf['length']);let _0x14d42f=_0x34de91?_0x3ac625(_0x1a0fa6+0x4,_0x587e91[_0x1a0fa6+0x3],_0x3d2f87['set']['types'][_0x587e91[_0x1a0fa6]],_0x290a80,_0x2de8c5-_0x290a80,_0x34de91-0x1):_0x5796f4['toTree']();return _0x39b3bf['push'](_0x14d42f),_0x17e7ce['push'](_0x290a80-_0x2da041),_0x1dde87(_0x3d2f87,_0x587e91[_0x1a0fa6+0x3],_0x2aff41,_0x39b3bf,_0x17e7ce,_0x2da041),new _0x553c0c(_0x337a2c,_0x39b3bf,_0x17e7ce,_0x47854d);}(0x0,_0x587e91['length'],_0x4a1e51['none'],0x0,_0x3d2f87['length'],_0x3ce127['length']-0x1);for(let _0x370e2c of _0x51e78a){let _0x50fd75=_0x404260['tree']['children'][_0x370e2c],_0x3ac367=_0x404260['tree']['positions'][_0x370e2c];_0x404260['yield'](new _0x4dc82e(_0x50fd75,_0x3ac367+_0x404260['from'],_0x370e2c,_0x404260['_tree']));}}var _0x5e2007=class{constructor(_0x2d47b1,_0xf24f7f){this['offset']=_0xf24f7f,this['done']=!0x1,this['cursor']=_0x2d47b1['cursor'](_0x2ad664['IncludeAnonymous']|_0x2ad664['IgnoreMounts']);}['moveTo'](_0x50b53d){let {cursor:_0x49cbf0}=this,_0x342492=_0x50b53d-this['offset'];for(;!this['done']&&_0x49cbf0['from']<_0x342492;)if(_0x49cbf0['to']>=_0x50b53d&&_0x49cbf0['enter'](_0x342492,0x1,_0x2ad664['IgnoreOverlays']|_0x2ad664['ExcludeBuffers']));else{if(!(_0x49cbf0['to']<=_0x50b53d))break;_0x49cbf0['next'](!0x1)||(this['done']=!0x0);}}['hasNode'](_0xd9f3fb){if(this['moveTo'](_0xd9f3fb['from']),!this['done']&&this['cursor']['from']+this['offset']==_0xd9f3fb['from']&&this['cursor']['tree'])for(let _0x1b9cc8=this['cursor']['tree'];;){if(_0x1b9cc8==_0xd9f3fb['tree'])return!0x0;if(!(_0x1b9cc8['children']['length']&&0x0==_0x1b9cc8['positions'][0x0]&&_0x1b9cc8['children'][0x0]instanceof _0x553c0c))break;_0x1b9cc8=_0x1b9cc8['children'][0x0];}return!0x1;}},_0x12a8df=class{constructor(_0x2c54d5){var _0x5a9c75;if(this['fragments']=_0x2c54d5,this['curTo']=0x0,this['fragI']=0x0,_0x2c54d5['length']){let _0xc7ff91=this['curFrag']=_0x2c54d5[0x0];this['curTo']=null!==(_0x5a9c75=_0xc7ff91['tree']['prop'](_0x558ef6))&&void 0x0!==_0x5a9c75?_0x5a9c75:_0xc7ff91['to'],this['inner']=new _0x5e2007(_0xc7ff91['tree'],-_0xc7ff91['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x350674){for(;this['curFrag']&&_0x350674['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x350674['from']&&this['curTo']>=_0x350674['to']&&this['inner']['hasNode'](_0x350674);}nextFrag(){var _0x389540;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x4d5c71=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x389540=_0x4d5c71['tree']['prop'](_0x558ef6))&&void 0x0!==_0x389540?_0x389540:_0x4d5c71['to'],this['inner']=new _0x5e2007(_0x4d5c71['tree'],-_0x4d5c71['offset']);}}findMounts(_0x2c9216,_0x578981){var _0x434aec;let _0x1c52c1=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x2c9216,0x1);for(let _0x126a2f=this['inner']['cursor']['node'];_0x126a2f;_0x126a2f=_0x126a2f['parent']){let _0x454f99=null===(_0x434aec=_0x126a2f['tree'])||void 0x0===_0x434aec?void 0x0:_0x434aec['prop'](_0x320816['mounted']);if(_0x454f99&&_0x454f99['parser']==_0x578981)for(let _0xedc959=this['fragI'];_0xedc959<this['fragments']['length'];_0xedc959++){let _0x43ebcf=this['fragments'][_0xedc959];if(_0x43ebcf['from']>=_0x126a2f['to'])break;_0x43ebcf['tree']==this['curFrag']['tree']&&_0x1c52c1['push']({'frag':_0x43ebcf,'pos':_0x126a2f['from']-_0x43ebcf['offset'],'mount':_0x454f99});}}}return _0x1c52c1;}};function _0x1174de(_0x4576cf,_0x545a7f){let _0x196777=null,_0x668ec9=_0x545a7f;for(let _0x2e4f32=0x1,_0x4deca0=0x0;_0x2e4f32<_0x4576cf['length'];_0x2e4f32++){let _0x3bb500=_0x4576cf[_0x2e4f32-0x1]['to'],_0x27abed=_0x4576cf[_0x2e4f32]['from'];for(;_0x4deca0<_0x668ec9['length'];_0x4deca0++){let _0x5a4ceb=_0x668ec9[_0x4deca0];if(_0x5a4ceb['from']>=_0x27abed)break;_0x5a4ceb['to']<=_0x3bb500||(_0x196777||(_0x668ec9=_0x196777=_0x545a7f['slice']()),_0x5a4ceb['from']<_0x3bb500?(_0x196777[_0x4deca0]=new _0x568f0c(_0x5a4ceb['from'],_0x3bb500),_0x5a4ceb['to']>_0x27abed&&_0x196777['splice'](_0x4deca0+0x1,0x0,new _0x568f0c(_0x27abed,_0x5a4ceb['to']))):_0x5a4ceb['to']>_0x27abed?_0x196777[_0x4deca0--]=new _0x568f0c(_0x27abed,_0x5a4ceb['to']):_0x196777['splice'](_0x4deca0--,0x1));}}return _0x668ec9;}function _0x59450e(_0x3c4c24,_0x3e0f8e,_0x581a6b,_0x41f926){let _0x17fb83=0x0,_0x3bd17c=0x0,_0x3db6e8=!0x1,_0x168b15=!0x1,_0x14151c=-0x3b9aca00,_0x506beb=[];for(;;){let _0x3f683c=_0x17fb83==_0x3c4c24['length']?0x3b9aca00:_0x3db6e8?_0x3c4c24[_0x17fb83]['to']:_0x3c4c24[_0x17fb83]['from'],_0x293c77=_0x3bd17c==_0x3e0f8e['length']?0x3b9aca00:_0x168b15?_0x3e0f8e[_0x3bd17c]['to']:_0x3e0f8e[_0x3bd17c]['from'];if(_0x3db6e8!=_0x168b15){let _0x2e9fb5=Math['max'](_0x14151c,_0x581a6b),_0x31854e=Math['min'](_0x3f683c,_0x293c77,_0x41f926);_0x2e9fb5<_0x31854e&&_0x506beb['push'](new _0x568f0c(_0x2e9fb5,_0x31854e));}if(_0x14151c=Math['min'](_0x3f683c,_0x293c77),0x3b9aca00==_0x14151c)break;_0x3f683c==_0x14151c&&(_0x3db6e8?(_0x3db6e8=!0x1,_0x17fb83++):_0x3db6e8=!0x0),_0x293c77==_0x14151c&&(_0x168b15?(_0x168b15=!0x1,_0x3bd17c++):_0x168b15=!0x0);}return _0x506beb;}function _0x29b5e9(_0x19b727,_0x31f06f){let _0x494c3f=[];for(let {pos:_0x408ee6,mount:_0x57056a,frag:_0x243011}of _0x19b727){let _0x5fbd63=_0x408ee6+(_0x57056a['overlay']?_0x57056a['overlay'][0x0]['from']:0x0),_0x40a87f=_0x5fbd63+_0x57056a['tree']['length'],_0x54ba83=Math['max'](_0x243011['from'],_0x5fbd63),_0x162256=Math['min'](_0x243011['to'],_0x40a87f);if(_0x57056a['overlay']){let _0x29c675=_0x59450e(_0x31f06f,_0x57056a['overlay']['map'](_0x20d01d=>new _0x568f0c(_0x20d01d['from']+_0x408ee6,_0x20d01d['to']+_0x408ee6)),_0x54ba83,_0x162256);for(let _0x1a5c23=0x0,_0x15c4b2=_0x54ba83;;_0x1a5c23++){let _0x3311b6=_0x1a5c23==_0x29c675['length'],_0x2541a6=_0x3311b6?_0x162256:_0x29c675[_0x1a5c23]['from'];if(_0x2541a6>_0x15c4b2&&_0x494c3f['push'](new _0x3dd363(_0x15c4b2,_0x2541a6,_0x57056a['tree'],-_0x5fbd63,_0x243011['from']>=_0x15c4b2||_0x243011['openStart'],_0x243011['to']<=_0x2541a6||_0x243011['openEnd'])),_0x3311b6)break;_0x15c4b2=_0x29c675[_0x1a5c23]['to'];}}else _0x494c3f['push'](new _0x3dd363(_0x54ba83,_0x162256,_0x57056a['tree'],-_0x5fbd63,_0x243011['from']>=_0x5fbd63||_0x243011['openStart'],_0x243011['to']<=_0x40a87f||_0x243011['openEnd']));}return _0x494c3f;}let _0x2d1542=0x0;var _0x261638=class _0x1aea4b{constructor(_0x20a387,_0x59a0ca,_0x3dc0e6,_0x37c54c){this['name']=_0x20a387,this['set']=_0x59a0ca,this['base']=_0x3dc0e6,this['modified']=_0x37c54c,this['id']=_0x2d1542++;}toString(){let {name:_0x4ff90a}=this;for(let _0x10c854 of this['modified'])_0x10c854['name']&&(_0x4ff90a=_0x10c854['name']+'('+_0x4ff90a+')');return _0x4ff90a;}static['define'](_0x5e7313,_0x3bcbb3){let _0x4f500f='string'==typeof _0x5e7313?_0x5e7313:'?';if(_0x5e7313 instanceof _0x1aea4b&&(_0x3bcbb3=_0x5e7313),null==_0x3bcbb3?void 0x0:_0x3bcbb3['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x4fdcd1=new _0x1aea4b(_0x4f500f,[],null,[]);if(_0x4fdcd1['set']['push'](_0x4fdcd1),_0x3bcbb3){for(let t of _0x3bcbb3['set'])_0x4fdcd1['set']['push'](t);}return _0x4fdcd1;}static['defineModifier'](_0x49f8e6){let _0x41de80=new _0x4af4b9(_0x49f8e6);return _0x19a2b4=>_0x19a2b4['modified']['indexOf'](_0x41de80)>-0x1?_0x19a2b4:_0x4af4b9['get'](_0x19a2b4['base']||_0x19a2b4,_0x19a2b4['modified']['concat'](_0x41de80)['sort']((_0x1b8ee4,_0x2db22a)=>_0x1b8ee4['id']-_0x2db22a['id']));}};let _0x315620=0x0;var _0x4af4b9=class _0x5d49be{constructor(_0x413774){this['name']=_0x413774,this['instances']=[],this['id']=_0x315620++;}static get(_0x4179f3,_0x594383){if(!_0x594383['length'])return _0x4179f3;let _0x160fb8=_0x594383[0x0]['instances']['find'](t=>{return t['base']==_0x4179f3&&(_0x160d75=_0x594383,_0x21df57=t['modified'],_0x160d75['length']==_0x21df57['length']&&_0x160d75['every']((_0x5c118a,_0x5337a8)=>_0x5c118a==_0x21df57[_0x5337a8]));var _0x160d75,_0x21df57;});if(_0x160fb8)return _0x160fb8;let _0x5eb087=[],_0x311d5c=new _0x261638(_0x4179f3['name'],_0x5eb087,_0x4179f3,_0x594383);for(let _0x1a9e96 of _0x594383)_0x1a9e96['instances']['push'](_0x311d5c);let _0x339b2d=function(_0x15bbe5){let _0x11b49f=[[]];for(let _0x507154=0x0;_0x507154<_0x15bbe5['length'];_0x507154++)for(let _0x2fe1d4=0x0,_0x361014=_0x11b49f['length'];_0x2fe1d4<_0x361014;_0x2fe1d4++)_0x11b49f['push'](_0x11b49f[_0x2fe1d4]['concat'](_0x15bbe5[_0x507154]));return _0x11b49f['sort']((_0x3cc367,_0x1f79e5)=>_0x1f79e5['length']-_0x3cc367['length']);}(_0x594383);for(let _0x4a4a6b of _0x4179f3['set'])if(!_0x4a4a6b['modified']['length']){for(let _0x229465 of _0x339b2d)_0x5eb087['push'](_0x5d49be['get'](_0x4a4a6b,_0x229465));}return _0x311d5c;}};function _0xe89f13(_0x310a48){let _0x39b853=Object['create'](null);for(let _0x2b94b2 in _0x310a48){let _0x7bee30=_0x310a48[_0x2b94b2];Array['isArray'](_0x7bee30)||(_0x7bee30=[_0x7bee30]);for(let _0x583b81 of _0x2b94b2['split']('\x20'))if(_0x583b81){let _0x5f0229=[],_0x1114b3=0x2,_0x5a8277=_0x583b81;for(let _0x4ba5fd=0x0;;){if('...'==_0x5a8277&&_0x4ba5fd>0x0&&_0x4ba5fd+0x3==_0x583b81['length']){_0x1114b3=0x1;break;}let _0x43cff2=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x5a8277);if(!_0x43cff2)throw new RangeError('Invalid\x20path:\x20'+_0x583b81);if(_0x5f0229['push']('*'==_0x43cff2[0x0]?'':'\x22'==_0x43cff2[0x0][0x0]?JSON['parse'](_0x43cff2[0x0]):_0x43cff2[0x0]),_0x4ba5fd+=_0x43cff2[0x0]['length'],_0x4ba5fd==_0x583b81['length'])break;let _0x1e470a=_0x583b81[_0x4ba5fd++];if(_0x4ba5fd==_0x583b81['length']&&'!'==_0x1e470a){_0x1114b3=0x0;break;}if('/'!=_0x1e470a)throw new RangeError('Invalid\x20path:\x20'+_0x583b81);_0x5a8277=_0x583b81['slice'](_0x4ba5fd);}let _0x4a7688=_0x5f0229['length']-0x1,_0x4103ff=_0x5f0229[_0x4a7688];if(!_0x4103ff)throw new RangeError('Invalid\x20path:\x20'+_0x583b81);_0x39b853[_0x4103ff]=new _0x44306f(_0x7bee30,_0x1114b3,_0x4a7688>0x0?_0x5f0229['slice'](0x0,_0x4a7688):null)['sort'](_0x39b853[_0x4103ff]);}}return _0x4e031f['add'](_0x39b853);}const _0x4e031f=new _0x320816({'combine'(_0x1ae672,_0x36c092){let _0x1b3c56,_0x28ade5,_0x4efd58;for(;_0x1ae672||_0x36c092;){if(!_0x1ae672||_0x36c092&&_0x1ae672['depth']>=_0x36c092['depth']?(_0x4efd58=_0x36c092,_0x36c092=_0x36c092['next']):(_0x4efd58=_0x1ae672,_0x1ae672=_0x1ae672['next']),_0x1b3c56&&_0x1b3c56['mode']==_0x4efd58['mode']&&!_0x4efd58['context']&&!_0x1b3c56['context'])continue;let _0x318a1c=new _0x44306f(_0x4efd58['tags'],_0x4efd58['mode'],_0x4efd58['context']);_0x1b3c56?_0x1b3c56['next']=_0x318a1c:_0x28ade5=_0x318a1c,_0x1b3c56=_0x318a1c;}return _0x28ade5;}});var _0x44306f=class{constructor(_0x328c16,_0x15c2bd,_0xcf18eb,_0x5269e5){this['tags']=_0x328c16,this['mode']=_0x15c2bd,this['context']=_0xcf18eb,this['next']=_0x5269e5;}get['opaque'](){return 0x0==this['mode'];}get inherit(){return 0x1==this['mode'];}sort(_0x1b4376){return!_0x1b4376||_0x1b4376['depth']<this['depth']?(this['next']=_0x1b4376,this):(_0x1b4376['next']=this['sort'](_0x1b4376['next']),_0x1b4376);}get depth(){return this['context']?this['context']['length']:0x0;}};function tQ(_0x31ec64,_0x20545d){let _0x2702b6=Object['create'](null);for(let _0x1b59e4 of _0x31ec64)if(Array['isArray'](_0x1b59e4['tag'])){for(let _0xca684d of _0x1b59e4['tag'])_0x2702b6[_0xca684d['id']]=_0x1b59e4['class'];}else _0x2702b6[_0x1b59e4['tag']['id']]=_0x1b59e4['class'];let {scope:_0x449ccf,all:_0x4d1351=null}=_0x20545d||{};return{'style':_0x1c9e97=>{let _0x35f574=_0x4d1351;for(let _0x3e56c4 of _0x1c9e97)for(let _0x50fd9a of _0x3e56c4['set']){let _0x5b04b4=_0x2702b6[_0x50fd9a['id']];if(_0x5b04b4){_0x35f574=_0x35f574?_0x35f574+'\x20'+_0x5b04b4:_0x5b04b4;break;}}return _0x35f574;},'scope':_0x449ccf};}function _0xee9b3c(_0x1d00dd,_0x1574ec,_0x77bad4,_0x2112cc=0x0,_0x407abb=_0x1d00dd['length']){let _0x3dfc51=new _0x4b0ef3(_0x2112cc,Array['isArray'](_0x1574ec)?_0x1574ec:[_0x1574ec],_0x77bad4);_0x3dfc51['highlightRange'](_0x1d00dd['cursor'](),_0x2112cc,_0x407abb,'',_0x3dfc51['highlighters']),_0x3dfc51['flush'](_0x407abb);}_0x44306f['empty']=new _0x44306f([],0x2,null);var _0x4b0ef3=class{constructor(_0x5f1e0d,_0x38929a,_0x30768b){this['at']=_0x5f1e0d,this['highlighters']=_0x38929a,this['span']=_0x30768b,this['class']='';}startSpan(_0x4a645f,_0x397f55){_0x397f55!=this['class']&&(this['flush'](_0x4a645f),_0x4a645f>this['at']&&(this['at']=_0x4a645f),this['class']=_0x397f55);}['flush'](_0x4fa37c){_0x4fa37c>this['at']&&this['class']&&this['span'](this['at'],_0x4fa37c,this['class']);}highlightRange(_0x5db0b2,_0x3f9beb,_0x10abf4,_0x34eddf,_0x2c5b6d){let {type:_0xdd9260,from:_0x5f1d5d,to:_0x1e1b6f}=_0x5db0b2;if(_0x5f1d5d>=_0x10abf4||_0x1e1b6f<=_0x3f9beb)return;_0xdd9260['isTop']&&(_0x2c5b6d=this['highlighters']['filter'](_0x3f52a1=>!_0x3f52a1['scope']||_0x3f52a1['scope'](_0xdd9260)));let _0x1be46f=_0x34eddf,_0x18a4a7=function(_0x26b14a){let _0x67078f=_0x26b14a['type']['prop'](_0x4e031f);for(;_0x67078f&&_0x67078f['context']&&!_0x26b14a['matchContext'](_0x67078f['context']);)_0x67078f=_0x67078f['next'];return _0x67078f||null;}(_0x5db0b2)||_0x44306f['empty'],_0x452d9f=function(_0x3817ee,_0x4d8c13){let _0x172fc2=null;for(let _0xe3aa3c of _0x3817ee){let _0x1df39c=_0xe3aa3c['style'](_0x4d8c13);_0x1df39c&&(_0x172fc2=_0x172fc2?_0x172fc2+'\x20'+_0x1df39c:_0x1df39c);}return _0x172fc2;}(_0x2c5b6d,_0x18a4a7['tags']);if(_0x452d9f&&(_0x1be46f&&(_0x1be46f+='\x20'),_0x1be46f+=_0x452d9f,0x1==_0x18a4a7['mode']&&(_0x34eddf+=(_0x34eddf?'\x20':'')+_0x452d9f)),this['startSpan'](Math['max'](_0x3f9beb,_0x5f1d5d),_0x1be46f),_0x18a4a7['opaque'])return;let _0x3653c2=_0x5db0b2['tree']&&_0x5db0b2['tree']['prop'](_0x320816['mounted']);if(_0x3653c2&&_0x3653c2['overlay']){let _0x2b27d0=_0x5db0b2['node']['enter'](_0x3653c2['overlay'][0x0]['from']+_0x5f1d5d,0x1),_0x2c91c2=this['highlighters']['filter'](_0x374fbc=>!_0x374fbc['scope']||_0x374fbc['scope'](_0x3653c2['tree']['type'])),_0x2432c3=_0x5db0b2['firstChild']();for(let _0x1e079f=0x0,_0x4e263a=_0x5f1d5d;;_0x1e079f++){let _0x543aee=_0x1e079f<_0x3653c2['overlay']['length']?_0x3653c2['overlay'][_0x1e079f]:null,_0x309b5d=_0x543aee?_0x543aee['from']+_0x5f1d5d:_0x1e1b6f,_0x483ead=Math['max'](_0x3f9beb,_0x4e263a),_0x14dd2f=Math['min'](_0x10abf4,_0x309b5d);if(_0x483ead<_0x14dd2f&&_0x2432c3){for(;_0x5db0b2['from']<_0x14dd2f&&(this['highlightRange'](_0x5db0b2,_0x483ead,_0x14dd2f,_0x34eddf,_0x2c5b6d),this['startSpan'](Math['min'](_0x14dd2f,_0x5db0b2['to']),_0x1be46f),!(_0x5db0b2['to']>=_0x309b5d)&&_0x5db0b2['nextSibling']()););}if(!_0x543aee||_0x309b5d>_0x10abf4)break;_0x4e263a=_0x543aee['to']+_0x5f1d5d,_0x4e263a>_0x3f9beb&&(this['highlightRange'](_0x2b27d0['cursor'](),Math['max'](_0x3f9beb,_0x543aee['from']+_0x5f1d5d),Math['min'](_0x10abf4,_0x4e263a),'',_0x2c91c2),this['startSpan'](Math['min'](_0x10abf4,_0x4e263a),_0x1be46f));}_0x2432c3&&_0x5db0b2['parent']();}else{if(_0x5db0b2['firstChild']()){_0x3653c2&&(_0x34eddf='');do{if(!(_0x5db0b2['to']<=_0x3f9beb)){if(_0x5db0b2['from']>=_0x10abf4)break;this['highlightRange'](_0x5db0b2,_0x3f9beb,_0x10abf4,_0x34eddf,_0x2c5b6d),this['startSpan'](Math['min'](_0x10abf4,_0x5db0b2['to']),_0x1be46f);}}while(_0x5db0b2['nextSibling']());_0x5db0b2['parent']();}}}};const t=_0x261638['define'],_0x292aaa=t(),_0x1413d8=t(),_0x3c53a5=t(_0x1413d8),_0x4686e1=t(_0x1413d8),_0x64c476=t(),_0x2b6076=t(_0x64c476),_0x5ece6f=t(_0x64c476),_0x45e014=t(),_0x120cae=t(_0x45e014),_0x57d55b=t(),_0xefb575=t(),_0x200723=t(),_0x444964=t(_0x200723),_0x34b2ac=t(),_0x1f4598={'comment':_0x292aaa,'lineComment':t(_0x292aaa),'blockComment':t(_0x292aaa),'docComment':t(_0x292aaa),'name':_0x1413d8,'variableName':t(_0x1413d8),'typeName':_0x3c53a5,'tagName':t(_0x3c53a5),'propertyName':_0x4686e1,'attributeName':t(_0x4686e1),'className':t(_0x1413d8),'labelName':t(_0x1413d8),'namespace':t(_0x1413d8),'macroName':t(_0x1413d8),'literal':_0x64c476,'string':_0x2b6076,'docString':t(_0x2b6076),'character':t(_0x2b6076),'attributeValue':t(_0x2b6076),'number':_0x5ece6f,'integer':t(_0x5ece6f),'float':t(_0x5ece6f),'bool':t(_0x64c476),'regexp':t(_0x64c476),'escape':t(_0x64c476),'color':t(_0x64c476),'url':t(_0x64c476),'keyword':_0x57d55b,'self':t(_0x57d55b),'null':t(_0x57d55b),'atom':t(_0x57d55b),'unit':t(_0x57d55b),'modifier':t(_0x57d55b),'operatorKeyword':t(_0x57d55b),'controlKeyword':t(_0x57d55b),'definitionKeyword':t(_0x57d55b),'moduleKeyword':t(_0x57d55b),'operator':_0xefb575,'derefOperator':t(_0xefb575),'arithmeticOperator':t(_0xefb575),'logicOperator':t(_0xefb575),'bitwiseOperator':t(_0xefb575),'compareOperator':t(_0xefb575),'updateOperator':t(_0xefb575),'definitionOperator':t(_0xefb575),'typeOperator':t(_0xefb575),'controlOperator':t(_0xefb575),'punctuation':_0x200723,'separator':t(_0x200723),'bracket':_0x444964,'angleBracket':t(_0x444964),'squareBracket':t(_0x444964),'paren':t(_0x444964),'brace':t(_0x444964),'content':_0x45e014,'heading':_0x120cae,'heading1':t(_0x120cae),'heading2':t(_0x120cae),'heading3':t(_0x120cae),'heading4':t(_0x120cae),'heading5':t(_0x120cae),'heading6':t(_0x120cae),'contentSeparator':t(_0x45e014),'list':t(_0x45e014),'quote':t(_0x45e014),'emphasis':t(_0x45e014),'strong':t(_0x45e014),'link':t(_0x45e014),'monospace':t(_0x45e014),'strikethrough':t(_0x45e014),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':_0x34b2ac,'documentMeta':t(_0x34b2ac),'annotation':t(_0x34b2ac),'processingInstruction':t(_0x34b2ac),'definition':_0x261638['defineModifier']('definition'),'constant':_0x261638['defineModifier']('constant'),'function':_0x261638['defineModifier']('function'),'standard':_0x261638['defineModifier']('standard'),'local':_0x261638['defineModifier']('local'),'special':_0x261638['defineModifier']('special')};for(let _0x148893 in _0x1f4598){let _0x2ab095=_0x1f4598[_0x148893];_0x2ab095 instanceof _0x261638&&(_0x2ab095['name']=_0x148893);}var _0x26828c;tQ([{'tag':_0x1f4598['link'],'class':'tok-link'},{'tag':_0x1f4598['heading'],'class':'tok-heading'},{'tag':_0x1f4598['emphasis'],'class':'tok-emphasis'},{'tag':_0x1f4598['strong'],'class':'tok-strong'},{'tag':_0x1f4598['keyword'],'class':'tok-keyword'},{'tag':_0x1f4598['atom'],'class':'tok-atom'},{'tag':_0x1f4598['bool'],'class':'tok-bool'},{'tag':_0x1f4598['url'],'class':'tok-url'},{'tag':_0x1f4598['labelName'],'class':'tok-labelName'},{'tag':_0x1f4598['inserted'],'class':'tok-inserted'},{'tag':_0x1f4598['deleted'],'class':'tok-deleted'},{'tag':_0x1f4598['literal'],'class':'tok-literal'},{'tag':_0x1f4598['string'],'class':'tok-string'},{'tag':_0x1f4598['number'],'class':'tok-number'},{'tag':[_0x1f4598['regexp'],_0x1f4598['escape'],_0x1f4598['special'](_0x1f4598['string'])],'class':'tok-string2'},{'tag':_0x1f4598['variableName'],'class':'tok-variableName'},{'tag':_0x1f4598['local'](_0x1f4598['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':_0x1f4598['definition'](_0x1f4598['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':_0x1f4598['special'](_0x1f4598['variableName']),'class':'tok-variableName2'},{'tag':_0x1f4598['definition'](_0x1f4598['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':_0x1f4598['typeName'],'class':'tok-typeName'},{'tag':_0x1f4598['namespace'],'class':'tok-namespace'},{'tag':_0x1f4598['className'],'class':'tok-className'},{'tag':_0x1f4598['macroName'],'class':'tok-macroName'},{'tag':_0x1f4598['propertyName'],'class':'tok-propertyName'},{'tag':_0x1f4598['operator'],'class':'tok-operator'},{'tag':_0x1f4598['comment'],'class':'tok-comment'},{'tag':_0x1f4598['meta'],'class':'tok-meta'},{'tag':_0x1f4598['invalid'],'class':'tok-invalid'},{'tag':_0x1f4598['punctuation'],'class':'tok-punctuation'}]);const _0x1f6fb5=new _0x320816();function _0x29f2bc(_0x41e3f5){return _0x2658c2['define']({'combine':_0x41e3f5?_0x588410=>_0x588410['concat'](_0x41e3f5):void 0x0});}const _0x3cb823=new _0x320816();var _0x161b55=class{constructor(_0x268ec5,_0x1707c7,_0x51191e=[],_0x41f121=''){this['data']=_0x268ec5,this['name']=_0x41f121,_0x1d56fe['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](_0x1d56fe['prototype'],'tree',{'get'(){return _0x393d13(this);}}),this['parser']=_0x1707c7,this['extension']=[_0x3472e7['of'](this),_0x1d56fe['languageData']['of']((_0x36abdf,_0xb67b91,_0x2b5794)=>{let _0x1e1c4c=_0x2db9ab(_0x36abdf,_0xb67b91,_0x2b5794),_0x329c1d=_0x1e1c4c['type']['prop'](_0x1f6fb5);if(!_0x329c1d)return[];let _0x4a222d=_0x36abdf['facet'](_0x329c1d),_0x6cd428=_0x1e1c4c['type']['prop'](_0x3cb823);if(_0x6cd428){let _0x4c1ee8=_0x1e1c4c['resolve'](_0xb67b91-_0x1e1c4c['from'],_0x2b5794);for(let _0x2f6416 of _0x6cd428)if(_0x2f6416['test'](_0x4c1ee8,_0x36abdf)){let _0x3fc09a=_0x36abdf['facet'](_0x2f6416['facet']);return'replace'==_0x2f6416['type']?_0x3fc09a:_0x3fc09a['concat'](_0x4a222d);}}return _0x4a222d;})]['concat'](_0x51191e);}isActiveAt(_0x4f3732,_0x296288,_0x18e70c=-0x1){return _0x2db9ab(_0x4f3732,_0x296288,_0x18e70c)['type']['prop'](_0x1f6fb5)==this['data'];}['findRegions'](_0x23196c){let _0x2dce66=_0x23196c['facet'](_0x3472e7);if((null==_0x2dce66?void 0x0:_0x2dce66['data'])==this['data'])return[{'from':0x0,'to':_0x23196c['doc']['length']}];if(!_0x2dce66||!_0x2dce66['allowsNesting'])return[];let _0x1ac37a=[],_0x56c807=(_0x3f1e07,_0x3781f0)=>{if(_0x3f1e07['prop'](_0x1f6fb5)==this['data'])return void _0x1ac37a['push']({'from':_0x3781f0,'to':_0x3781f0+_0x3f1e07['length']});let _0x20cdc3=_0x3f1e07['prop'](_0x320816['mounted']);if(_0x20cdc3){if(_0x20cdc3['tree']['prop'](_0x1f6fb5)==this['data']){if(_0x20cdc3['overlay']){for(let _0x46c8eb of _0x20cdc3['overlay'])_0x1ac37a['push']({'from':_0x46c8eb['from']+_0x3781f0,'to':_0x46c8eb['to']+_0x3781f0});}else _0x1ac37a['push']({'from':_0x3781f0,'to':_0x3781f0+_0x3f1e07['length']});return;}if(_0x20cdc3['overlay']){let _0x365c3e=_0x1ac37a['length'];if(_0x56c807(_0x20cdc3['tree'],_0x20cdc3['overlay'][0x0]['from']+_0x3781f0),_0x1ac37a['length']>_0x365c3e)return;}}for(let _0x1ef2b5=0x0;_0x1ef2b5<_0x3f1e07['children']['length'];_0x1ef2b5++){let _0x49ec1e=_0x3f1e07['children'][_0x1ef2b5];_0x49ec1e instanceof _0x553c0c&&_0x56c807(_0x49ec1e,_0x3f1e07['positions'][_0x1ef2b5]+_0x3781f0);}};return _0x56c807(_0x393d13(_0x23196c),0x0),_0x1ac37a;}get allowsNesting(){return!0x0;}};function _0x2db9ab(_0x13c4f7,_0x18e40f,_0x54c84b){let _0x1b5354=_0x13c4f7['facet'](_0x3472e7),_0x2a3d42=_0x393d13(_0x13c4f7)['topNode'];if(!_0x1b5354||_0x1b5354['allowsNesting']){for(let _0x5eaed0=_0x2a3d42;_0x5eaed0;_0x5eaed0=_0x5eaed0['enter'](_0x18e40f,_0x54c84b,_0x2ad664['ExcludeBuffers']|_0x2ad664['EnterBracketed']))_0x5eaed0['type']['isTop']&&(_0x2a3d42=_0x5eaed0);}return _0x2a3d42;}_0x161b55['setState']=_0x1f791d['define']();var _0x3bb26c=class _0x43dea2 extends _0x161b55{constructor(_0x5678f6,_0x32b2c5,_0xf9b5bd){super(_0x5678f6,_0x32b2c5,[],_0xf9b5bd),this['parser']=_0x32b2c5;}static['define'](_0x399978){let _0x3cb575=_0x29f2bc(_0x399978['languageData']);return new _0x43dea2(_0x3cb575,_0x399978['parser']['configure']({'props':[_0x1f6fb5['add'](_0x4adaaa=>_0x4adaaa['isTop']?_0x3cb575:void 0x0)]}),_0x399978['name']);}['configure'](_0x578d89,_0x5f5ec3){return new _0x43dea2(this['data'],this['parser']['configure'](_0x578d89),_0x5f5ec3||this['name']);}get allowsNesting(){return this['parser']['hasWrappers']();}};function _0x393d13(_0x193669){let _0x1f8a6e=_0x193669['field'](_0x161b55['state'],!0x1);return _0x1f8a6e?_0x1f8a6e['tree']:_0x553c0c['empty'];}var _0x4e9fb0=class{constructor(_0x8f24a1){this['doc']=_0x8f24a1,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x8f24a1['iter']();}get length(){return this['doc']['length'];}['syncTo'](_0x2ed84b){return this['string']=this['cursor']['next'](_0x2ed84b-this['cursorPos'])['value'],this['cursorPos']=_0x2ed84b+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x158d10){return this['syncTo'](_0x158d10),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x1c0f77,_0x75d572){let _0x5727d4=this['cursorPos']-this['string']['length'];return _0x1c0f77<_0x5727d4||_0x75d572>=this['cursorPos']?this['doc']['sliceString'](_0x1c0f77,_0x75d572):this['string']['slice'](_0x1c0f77-_0x5727d4,_0x75d572-_0x5727d4);}};let _0x261cde=null;var _0x232e74=class ParseContext{constructor(_0x2f8585,_0x5d95c3,_0x7a90cf=[],_0x3f98ec,_0x3da994,_0x3d68b8,_0xcb799,_0x337d17){this['parser']=_0x2f8585,this['state']=_0x5d95c3,this['fragments']=_0x7a90cf,this['tree']=_0x3f98ec,this['treeLen']=_0x3da994,this['viewport']=_0x3d68b8,this['skipped']=_0xcb799,this['scheduleOn']=_0x337d17,this['parse']=null,this['tempSkipped']=[];}static create(_0x485783,_0x136ade,_0xa0b58b){return new ParseContext(_0x485783,_0x136ade,[],_0x553c0c['empty'],0x0,_0xa0b58b,[],null);}startParse(){return this['parser']['startParse'](new _0x4e9fb0(this['state']['doc']),this['fragments']);}['work'](_0x4fd7f9,_0x330b2f){return null!=_0x330b2f&&_0x330b2f>=this['state']['doc']['length']&&(_0x330b2f=void 0x0),this['tree']!=_0x553c0c['empty']&&this['isDone'](null!=_0x330b2f?_0x330b2f:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x26a58f;if('number'==typeof _0x4fd7f9){let _0x3f7bff=Date['now']()+_0x4fd7f9;_0x4fd7f9=()=>Date['now']()>_0x3f7bff;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x330b2f&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x330b2f)&&_0x330b2f<this['state']['doc']['length']&&this['parse']['stopAt'](_0x330b2f);;){let _0xe02d8c=this['parse']['advance']();if(_0xe02d8c){if(this['fragments']=this['withoutTempSkipped'](_0x3dd363['addTree'](_0xe02d8c,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x26a58f=this['parse']['stoppedAt'])&&void 0x0!==_0x26a58f?_0x26a58f:this['state']['doc']['length'],this['tree']=_0xe02d8c,this['parse']=null,!(this['treeLen']<(null!=_0x330b2f?_0x330b2f:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x4fd7f9())return!0x1;}});}takeTree(){let _0x3991fc,_0x4d361a;this['parse']&&(_0x3991fc=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x3991fc)&&this['parse']['stopAt'](_0x3991fc),this['withContext'](()=>{for(;!(_0x4d361a=this['parse']['advance']()););}),this['treeLen']=_0x3991fc,this['tree']=_0x4d361a,this['fragments']=this['withoutTempSkipped'](_0x3dd363['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}withContext(_0x567b79){let _0x5181ff=_0x261cde;_0x261cde=this;try{return _0x567b79();}finally{_0x261cde=_0x5181ff;}}withoutTempSkipped(_0x51b0cc){for(let _0x49725b;_0x49725b=this['tempSkipped']['pop']();)_0x51b0cc=_0x166713(_0x51b0cc,_0x49725b['from'],_0x49725b['to']);return _0x51b0cc;}['changes'](_0x14fdcc,_0x19d3e4){let {fragments:_0x343938,tree:_0x36c1b0,treeLen:_0x2d7fb9,viewport:_0xa47cd6,skipped:_0x169bb2}=this;if(this['takeTree'](),!_0x14fdcc['empty']){let _0x3dbfb8=[];if(_0x14fdcc['iterChangedRanges']((_0x559da9,_0x1d3d16,_0x28575d,_0x22a6b0)=>_0x3dbfb8['push']({'fromA':_0x559da9,'toA':_0x1d3d16,'fromB':_0x28575d,'toB':_0x22a6b0})),_0x343938=_0x3dd363['applyChanges'](_0x343938,_0x3dbfb8),_0x36c1b0=_0x553c0c['empty'],_0x2d7fb9=0x0,_0xa47cd6={'from':_0x14fdcc['mapPos'](_0xa47cd6['from'],-0x1),'to':_0x14fdcc['mapPos'](_0xa47cd6['to'],0x1)},this['skipped']['length']){_0x169bb2=[];for(let _0x175a93 of this['skipped']){let _0x341939=_0x14fdcc['mapPos'](_0x175a93['from'],0x1),_0x7a3a61=_0x14fdcc['mapPos'](_0x175a93['to'],-0x1);_0x341939<_0x7a3a61&&_0x169bb2['push']({'from':_0x341939,'to':_0x7a3a61});}}}return new ParseContext(this['parser'],_0x19d3e4,_0x343938,_0x36c1b0,_0x2d7fb9,_0xa47cd6,_0x169bb2,this['scheduleOn']);}updateViewport(_0x5e2a23){if(this['viewport']['from']==_0x5e2a23['from']&&this['viewport']['to']==_0x5e2a23['to'])return!0x1;this['viewport']=_0x5e2a23;let _0x33093a=this['skipped']['length'];for(let _0x431e4a=0x0;_0x431e4a<this['skipped']['length'];_0x431e4a++){let {from:_0x10f2bf,to:_0x32281b}=this['skipped'][_0x431e4a];_0x10f2bf<_0x5e2a23['to']&&_0x32281b>_0x5e2a23['from']&&(this['fragments']=_0x166713(this['fragments'],_0x10f2bf,_0x32281b),this['skipped']['splice'](_0x431e4a--,0x1));}return!(this['skipped']['length']>=_0x33093a)&&(this['reset'](),!0x0);}reset(){this['parse']&&(this['takeTree'](),this['parse']=null);}skipUntilInView(_0x4e2db3,_0x4a5675){this['skipped']['push']({'from':_0x4e2db3,'to':_0x4a5675});}static getSkippingParser(_0x34a438){return new class extends _0x1914bd{createParse(_0x1ee1be,_0x391f30,_0x3e55ff){let _0xd9a87d=_0x3e55ff[0x0]['from'],_0x539162=_0x3e55ff[_0x3e55ff['length']-0x1]['to'];return{'parsedPos':_0xd9a87d,'advance'(){let _0x4781e4=_0x261cde;if(_0x4781e4){for(let _0x407e51 of _0x3e55ff)_0x4781e4['tempSkipped']['push'](_0x407e51);_0x34a438&&(_0x4781e4['scheduleOn']=_0x4781e4['scheduleOn']?Promise['all']([_0x4781e4['scheduleOn'],_0x34a438]):_0x34a438);}return this['parsedPos']=_0x539162,new _0x553c0c(_0x4a1e51['none'],[],[],_0x539162-_0xd9a87d);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x1bacf7){_0x1bacf7=Math['min'](_0x1bacf7,this['state']['doc']['length']);let _0x588643=this['fragments'];return this['treeLen']>=_0x1bacf7&&_0x588643['length']&&0x0==_0x588643[0x0]['from']&&_0x588643[0x0]['to']>=_0x1bacf7;}static get(){return _0x261cde;}};function _0x166713(_0x127495,_0x3e8d18,_0x2801e0){return _0x3dd363['applyChanges'](_0x127495,[{'fromA':_0x3e8d18,'toA':_0x2801e0,'fromB':_0x3e8d18,'toB':_0x2801e0}]);}var _0x451ed1=class LanguageState{constructor(_0x117423){this['context']=_0x117423,this['tree']=_0x117423['tree'];}['apply'](_0x36057a){if(!_0x36057a['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x57877f=this['context']['changes'](_0x36057a['changes'],_0x36057a['state']),_0x9f6847=this['context']['treeLen']==_0x36057a['startState']['doc']['length']?void 0x0:Math['max'](_0x36057a['changes']['mapPos'](this['context']['treeLen']),_0x57877f['viewport']['to']);return _0x57877f['work'](0x14,_0x9f6847)||_0x57877f['takeTree'](),new LanguageState(_0x57877f);}static init(_0x176c5c){let _0x2a8f66=Math['min'](0xbb8,_0x176c5c['doc']['length']),_0x20d62e=_0x232e74['create'](_0x176c5c['facet'](_0x3472e7)['parser'],_0x176c5c,{'from':0x0,'to':_0x2a8f66});return _0x20d62e['work'](0x14,_0x2a8f66)||_0x20d62e['takeTree'](),new LanguageState(_0x20d62e);}};_0x161b55['state']=_0xe7f3f['define']({'create':_0x451ed1['init'],'update'(_0x3b4ced,_0x2c1b0a){for(let _0xb1f00c of _0x2c1b0a['effects'])if(_0xb1f00c['is'](_0x161b55['setState']))return _0xb1f00c['value'];return _0x2c1b0a['startState']['facet'](_0x3472e7)!=_0x2c1b0a['state']['facet'](_0x3472e7)?_0x451ed1['init'](_0x2c1b0a['state']):_0x3b4ced['apply'](_0x2c1b0a);}});let _0x335e32=_0x45ef1a=>{let _0x2e434e=setTimeout(()=>_0x45ef1a(),0x1f4);return()=>clearTimeout(_0x2e434e);};'undefined'!=typeof requestIdleCallback&&(_0x335e32=_0x3d3bfc=>{let _0x1bd922=-0x1,_0x96b96c=setTimeout(()=>{_0x1bd922=requestIdleCallback(_0x3d3bfc,{'timeout':0x190});},0x64);return()=>_0x1bd922<0x0?clearTimeout(_0x96b96c):cancelIdleCallback(_0x1bd922);});const _0x4e0780='undefined'!=typeof navigator&&(null===(_0x26828c=navigator['scheduling'])||void 0x0===_0x26828c?void 0x0:_0x26828c['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x3bb13a=_0x221982['fromClass'](class _0x534d8d{constructor(_0x18ed14){this['view']=_0x18ed14,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}update(_0x12da94){let _0x35c5c3=this['view']['state']['field'](_0x161b55['state'])['context'];(_0x35c5c3['updateViewport'](_0x12da94['view']['viewport'])||this['view']['viewport']['to']>_0x35c5c3['treeLen'])&&this['scheduleWork'](),(_0x12da94['docChanged']||_0x12da94['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x35c5c3);}['scheduleWork'](){if(this['working'])return;let {state:_0xe48672}=this['view'],_0x4b2fc8=_0xe48672['field'](_0x161b55['state']);_0x4b2fc8['tree']==_0x4b2fc8['context']['tree']&&_0x4b2fc8['context']['isDone'](_0xe48672['doc']['length'])||(this['working']=_0x335e32(this['work']));}['work'](_0x4b7d97){this['working']=null;let _0x5e0f48=Date['now']();if(this['chunkEnd']<_0x5e0f48&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x5e0f48+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x2e7366,viewport:{to:_0x2e8157}}=this['view'],_0xe36f62=_0x2e7366['field'](_0x161b55['state']);if(_0xe36f62['tree']==_0xe36f62['context']['tree']&&_0xe36f62['context']['isDone'](_0x2e8157+0x186a0))return;let _0x58d269=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x4b7d97&&!_0x4e0780?Math['max'](0x19,_0x4b7d97['timeRemaining']()-0x5):0x3b9aca00),_0x17dcf5=_0xe36f62['context']['treeLen']<_0x2e8157&&_0x2e7366['doc']['length']>_0x2e8157+0x3e8,_0x3813c4=_0xe36f62['context']['work'](()=>_0x4e0780&&_0x4e0780()||Date['now']()>_0x58d269,_0x2e8157+(_0x17dcf5?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x5e0f48,(_0x3813c4||this['chunkBudget']<=0x0)&&(_0xe36f62['context']['takeTree'](),this['view']['dispatch']({'effects':_0x161b55['setState']['of'](new _0x451ed1(_0xe36f62['context']))})),this['chunkBudget']>0x0&&(!_0x3813c4||_0x17dcf5)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0xe36f62['context']);}['checkAsyncSchedule'](_0xabf02f){_0xabf02f['scheduleOn']&&(this['workScheduled']++,_0xabf02f['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x17b019=>_0x55c259(this['view']['state'],_0x17b019))['then'](()=>this['workScheduled']--),_0xabf02f['scheduleOn']=null);}destroy(){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x3472e7=_0x2658c2['define']({'combine':_0x2af05b=>_0x2af05b['length']?_0x2af05b[0x0]:null,'enables':_0x33c1d7=>[_0x161b55['state'],_0x3bb13a,_0x51f1f4['contentAttributes']['compute']([_0x33c1d7],_0x32dfbc=>{let _0xa08536=_0x32dfbc['facet'](_0x33c1d7);return _0xa08536&&_0xa08536['name']?{'data-language':_0xa08536['name']}:{};})]});var _0x1faf41=class{constructor(_0x9566bd,_0x3934cc=[]){this['language']=_0x9566bd,this['support']=_0x3934cc,this['extension']=[_0x9566bd,_0x3934cc];}},_0x4bd332=class LanguageDescription{constructor(_0x237b2d,_0x1bce5d,_0xa535f2,_0x5a73ed,_0x57a98f,_0x525ef3=void 0x0){this['name']=_0x237b2d,this['alias']=_0x1bce5d,this['extensions']=_0xa535f2,this['filename']=_0x5a73ed,this['loadFunc']=_0x57a98f,this['support']=_0x525ef3,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x4d4a90=>this['support']=_0x4d4a90,_0x531a06=>{throw this['loading']=null,_0x531a06;}));}static['of'](_0x1e5c2a){let {load:_0x76507d,support:_0x338096}=_0x1e5c2a;if(!_0x76507d){if(!_0x338096)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x76507d=()=>Promise['resolve'](_0x338096);}return new LanguageDescription(_0x1e5c2a['name'],(_0x1e5c2a['alias']||[])['concat'](_0x1e5c2a['name'])['map'](_0x2ccf3e=>_0x2ccf3e['toLowerCase']()),_0x1e5c2a['extensions']||[],_0x1e5c2a['filename'],_0x76507d,_0x338096);}static matchFilename(_0x18e225,_0x32b4f3){for(let _0x30ccfc of _0x18e225)if(_0x30ccfc['filename']&&_0x30ccfc['filename']['test'](_0x32b4f3))return _0x30ccfc;let _0x4751eb=/\.([^.]+)$/['exec'](_0x32b4f3);if(_0x4751eb){for(let _0x3591f9 of _0x18e225)if(_0x3591f9['extensions']['indexOf'](_0x4751eb[0x1])>-0x1)return _0x3591f9;}return null;}static matchLanguageName(_0x3b2304,_0x3ddd02,_0x43af25=!0x0){_0x3ddd02=_0x3ddd02['toLowerCase']();for(let _0x56e0a9 of _0x3b2304)if(_0x56e0a9['alias']['some'](_0x17fa79=>_0x17fa79==_0x3ddd02))return _0x56e0a9;if(_0x43af25){for(let _0xcd937d of _0x3b2304)for(let _0x33bd9c of _0xcd937d['alias']){let _0x5164d3=_0x3ddd02['indexOf'](_0x33bd9c);if(_0x5164d3>-0x1&&(_0x33bd9c['length']>0x2||!/\w/['test'](_0x3ddd02[_0x5164d3-0x1])&&!/\w/['test'](_0x3ddd02[_0x5164d3+_0x33bd9c['length']])))return _0xcd937d;}}return null;}};const _0x2a7d79=_0x2658c2['define'](),_0x277d90=_0x2658c2['define']({'combine':_0x54b74a=>{if(!_0x54b74a['length'])return'\x20\x20';let _0x7952e5=_0x54b74a[0x0];if(!_0x7952e5||/\S/['test'](_0x7952e5)||Array['from'](_0x7952e5)['some'](_0xe8c022=>_0xe8c022!=_0x7952e5[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x54b74a[0x0]));return _0x7952e5;}});function _0x28ea97(_0x21b7fb){let _0x95986b=_0x21b7fb['facet'](_0x277d90);return 0x9==_0x95986b['charCodeAt'](0x0)?_0x21b7fb['tabSize']*_0x95986b['length']:_0x95986b['length'];}function _0x4355bf(_0x5656c2,_0x12d485){let _0x2be0bd='',_0x505e3b=_0x5656c2['tabSize'],_0x591908=_0x5656c2['facet'](_0x277d90)[0x0];if('\x09'==_0x591908){for(;_0x12d485>=_0x505e3b;)_0x2be0bd+='\x09',_0x12d485-=_0x505e3b;_0x591908='\x20';}for(let _0x4bfe75=0x0;_0x4bfe75<_0x12d485;_0x4bfe75++)_0x2be0bd+=_0x591908;return _0x2be0bd;}function _0x25e2ee(_0x1f1b49,_0x35c324){_0x1f1b49 instanceof _0x1d56fe&&(_0x1f1b49=new _0x4c59cb(_0x1f1b49));for(let _0x55be80 of _0x1f1b49['state']['facet'](_0x2a7d79)){let _0x1534e7=_0x55be80(_0x1f1b49,_0x35c324);if(void 0x0!==_0x1534e7)return _0x1534e7;}let _0x272e97=_0x393d13(_0x1f1b49['state']);return _0x272e97['length']>=_0x35c324?function(_0x2d6515,_0x539092,_0x2da284){let _0x4db987=_0x539092['resolveStack'](_0x2da284),_0x121520=_0x539092['resolveInner'](_0x2da284,-0x1)['resolve'](_0x2da284,0x0)['enterUnfinishedNodesBefore'](_0x2da284);if(_0x121520!=_0x4db987['node']){let _0x26fcc1=[];for(let _0x41f279=_0x121520;_0x41f279&&!(_0x41f279['from']<_0x4db987['node']['from']||_0x41f279['to']>_0x4db987['node']['to']||_0x41f279['from']==_0x4db987['node']['from']&&_0x41f279['type']==_0x4db987['node']['type']);_0x41f279=_0x41f279['parent'])_0x26fcc1['push'](_0x41f279);for(let _0x269aaa=_0x26fcc1['length']-0x1;_0x269aaa>=0x0;_0x269aaa--)_0x4db987={'node':_0x26fcc1[_0x269aaa],'next':_0x4db987};}return _0x3385cd(_0x4db987,_0x2d6515,_0x2da284);}(_0x1f1b49,_0x272e97,_0x35c324):null;}var _0x4c59cb=class{constructor(_0x582827,_0x350b4a={}){this['state']=_0x582827,this['options']=_0x350b4a,this['unit']=_0x28ea97(_0x582827);}lineAt(_0x4ea5f3,_0x1538f3=0x1){let _0x186930=this['state']['doc']['lineAt'](_0x4ea5f3),{simulateBreak:_0x501e30,simulateDoubleBreak:_0x45b071}=this['options'];return null!=_0x501e30&&_0x501e30>=_0x186930['from']&&_0x501e30<=_0x186930['to']?_0x45b071&&_0x501e30==_0x4ea5f3?{'text':'','from':_0x4ea5f3}:(_0x1538f3<0x0?_0x501e30<_0x4ea5f3:_0x501e30<=_0x4ea5f3)?{'text':_0x186930['text']['slice'](_0x501e30-_0x186930['from']),'from':_0x501e30}:{'text':_0x186930['text']['slice'](0x0,_0x501e30-_0x186930['from']),'from':_0x186930['from']}:_0x186930;}textAfterPos(_0x550c5b,_0x11a5a4=0x1){if(this['options']['simulateDoubleBreak']&&_0x550c5b==this['options']['simulateBreak'])return'';let {text:_0x2aa6bd,from:_0xa5e141}=this['lineAt'](_0x550c5b,_0x11a5a4);return _0x2aa6bd['slice'](_0x550c5b-_0xa5e141,Math['min'](_0x2aa6bd['length'],_0x550c5b+0x64-_0xa5e141));}['column'](_0x40b112,_0x93d7a4=0x1){let {text:_0x92d287,from:_0x4a2356}=this['lineAt'](_0x40b112,_0x93d7a4),_0x1c5933=this['countColumn'](_0x92d287,_0x40b112-_0x4a2356),_0x1745c7=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x4a2356):-0x1;return _0x1745c7>-0x1&&(_0x1c5933+=_0x1745c7-this['countColumn'](_0x92d287,_0x92d287['search'](/\S|$/))),_0x1c5933;}countColumn(_0x10dcc7,_0x433e6=_0x10dcc7['length']){return _0x5d2e97(_0x10dcc7,this['state']['tabSize'],_0x433e6);}lineIndent(_0x46a355,_0x4a7389=0x1){let {text:_0x2b3892,from:_0x5901df}=this['lineAt'](_0x46a355,_0x4a7389),_0x3e8475=this['options']['overrideIndentation'];if(_0x3e8475){let _0x469368=_0x3e8475(_0x5901df);if(_0x469368>-0x1)return _0x469368;}return this['countColumn'](_0x2b3892,_0x2b3892['search'](/\S|$/));}get simulatedBreak(){return this['options']['simulateBreak']||null;}};const _0x58ae01=new _0x320816();function _0x3385cd(_0x937659,_0x1b038c,_0x53ee70){for(let _0xd6b995=_0x937659;_0xd6b995;_0xd6b995=_0xd6b995['next']){let _0x5e6083=_0x5a1d59(_0xd6b995['node']);if(_0x5e6083)return _0x5e6083(_0x16ebe0['create'](_0x1b038c,_0x53ee70,_0xd6b995));}return 0x0;}function _0x5a1d59(_0xa5aeac){let _0x1e8f8f=_0xa5aeac['type']['prop'](_0x58ae01);if(_0x1e8f8f)return _0x1e8f8f;let _0x17b068,_0x186c39=_0xa5aeac['firstChild'];if(_0x186c39&&(_0x17b068=_0x186c39['type']['prop'](_0x320816['closedBy']))){let _0x14b553=_0xa5aeac['lastChild'],_0xaf11e=_0x14b553&&_0x17b068['indexOf'](_0x14b553['name'])>-0x1;return _0x13f1bb=>_0x5793c2(_0x13f1bb,!0x0,0x1,void 0x0,_0xaf11e&&!function(_0x3ddaaa){return _0x3ddaaa['pos']==_0x3ddaaa['options']['simulateBreak']&&_0x3ddaaa['options']['simulateDoubleBreak'];}(_0x13f1bb)?_0x14b553['from']:void 0x0);}return null==_0xa5aeac['parent']?_0xe0a036:null;}function _0xe0a036(){return 0x0;}var _0x16ebe0=class TreeIndentContext extends _0x4c59cb{constructor(_0x552a46,_0x22480a,_0x26a3bd){super(_0x552a46['state'],_0x552a46['options']),this['base']=_0x552a46,this['pos']=_0x22480a,this['context']=_0x26a3bd;}get['node'](){return this['context']['node'];}static create(_0x21597f,_0x567f9b,_0x34234d){return new TreeIndentContext(_0x21597f,_0x567f9b,_0x34234d);}get textAfter(){return this['textAfterPos'](this['pos']);}get baseIndent(){return this['baseIndentFor'](this['node']);}baseIndentFor(_0x3f614d){let _0x4aa235=this['state']['doc']['lineAt'](_0x3f614d['from']);for(;;){let _0x1ad17f=_0x3f614d['resolve'](_0x4aa235['from']);for(;_0x1ad17f['parent']&&_0x1ad17f['parent']['from']==_0x1ad17f['from'];)_0x1ad17f=_0x1ad17f['parent'];if(_0xd4820e(_0x1ad17f,_0x3f614d))break;_0x4aa235=this['state']['doc']['lineAt'](_0x1ad17f['from']);}return this['lineIndent'](_0x4aa235['from']);}continue(){return _0x3385cd(this['context']['next'],this['base'],this['pos']);}};function _0xd4820e(_0x3aad9c,_0x2c61da){for(let _0x4cc3a9=_0x2c61da;_0x4cc3a9;_0x4cc3a9=_0x4cc3a9['parent'])if(_0x3aad9c==_0x4cc3a9)return!0x0;return!0x1;}function _0x25110a({closing:_0x24f9a5,align:_0x3cf5a5=!0x0,units:_0x519b0c=0x1}){return _0x53ff29=>_0x5793c2(_0x53ff29,_0x3cf5a5,_0x519b0c,_0x24f9a5);}function _0x5793c2(_0x3e82e2,_0xf3dbfc,_0x1bb8fd,_0x7023d0,_0x14d6b9){let _0x20592=_0x3e82e2['textAfter'],_0x563204=_0x20592['match'](/^\s*/)[0x0]['length'],_0xa58657=_0x7023d0&&_0x20592['slice'](_0x563204,_0x563204+_0x7023d0['length'])==_0x7023d0||_0x14d6b9==_0x3e82e2['pos']+_0x563204,_0x2f604e=_0xf3dbfc?function(_0x5a079b){let _0x557888=_0x5a079b['node'],_0x235bba=_0x557888['childAfter'](_0x557888['from']),_0x3910d0=_0x557888['lastChild'];if(!_0x235bba)return null;let _0x627475=_0x5a079b['options']['simulateBreak'],_0x157b29=_0x5a079b['state']['doc']['lineAt'](_0x235bba['from']),_0x1d796a=null==_0x627475||_0x627475<=_0x157b29['from']?_0x157b29['to']:Math['min'](_0x157b29['to'],_0x627475);for(let _0x123ca2=_0x235bba['to'];;){let _0x39052b=_0x557888['childAfter'](_0x123ca2);if(!_0x39052b||_0x39052b==_0x3910d0)return null;if(!_0x39052b['type']['isSkipped']){if(_0x39052b['from']>=_0x1d796a)return null;let _0x42c11b=/^ */['exec'](_0x157b29['text']['slice'](_0x235bba['to']-_0x157b29['from']))[0x0]['length'];return{'from':_0x235bba['from'],'to':_0x235bba['to']+_0x42c11b};}_0x123ca2=_0x39052b['to'];}}(_0x3e82e2):null;return _0x2f604e?_0xa58657?_0x3e82e2['column'](_0x2f604e['from']):_0x3e82e2['column'](_0x2f604e['to']):_0x3e82e2['baseIndent']+(_0xa58657?0x0:_0x3e82e2['unit']*_0x1bb8fd);}function _0x488a7f({except:_0x58168e,units:_0x5a9760=0x1}={}){return _0x56e3bf=>{let _0xfc67f7=_0x58168e&&_0x58168e['test'](_0x56e3bf['textAfter']);return _0x56e3bf['baseIndent']+(_0xfc67f7?0x0:_0x5a9760*_0x56e3bf['unit']);};}function _0x457937(){return _0x1d56fe['transactionFilter']['of'](_0xd8c6cb=>{if(!_0xd8c6cb['docChanged']||!_0xd8c6cb['isUserEvent']('input.type')&&!_0xd8c6cb['isUserEvent']('input.complete'))return _0xd8c6cb;let _0x424aa4=_0xd8c6cb['startState']['languageDataAt']('indentOnInput',_0xd8c6cb['startState']['selection']['main']['head']);if(!_0x424aa4['length'])return _0xd8c6cb;let _0x95f010=_0xd8c6cb['newDoc'],{head:_0x1241e1}=_0xd8c6cb['newSelection']['main'],_0x32d46a=_0x95f010['lineAt'](_0x1241e1);if(_0x1241e1>_0x32d46a['from']+0xc8)return _0xd8c6cb;let _0x565a07=_0x95f010['sliceString'](_0x32d46a['from'],_0x1241e1);if(!_0x424aa4['some'](_0x570acd=>_0x570acd['test'](_0x565a07)))return _0xd8c6cb;let {state:_0x3d6c63}=_0xd8c6cb,_0x5053e9=-0x1,_0x351639=[];for(let {head:_0x1d5f52}of _0x3d6c63['selection']['ranges']){let _0x267990=_0x3d6c63['doc']['lineAt'](_0x1d5f52);if(_0x267990['from']==_0x5053e9)continue;_0x5053e9=_0x267990['from'];let _0x1ae04b=_0x25e2ee(_0x3d6c63,_0x267990['from']);if(null==_0x1ae04b)continue;let _0x337ba0=/^\s*/['exec'](_0x267990['text'])[0x0],_0x5b0207=_0x4355bf(_0x3d6c63,_0x1ae04b);_0x337ba0!=_0x5b0207&&_0x351639['push']({'from':_0x267990['from'],'to':_0x267990['from']+_0x337ba0['length'],'insert':_0x5b0207});}return _0x351639['length']?[_0xd8c6cb,{'changes':_0x351639,'sequential':!0x0}]:_0xd8c6cb;});}const _0x2d55c7=_0x2658c2['define'](),tj=new _0x320816();function _0x47e6ef(_0x3a4ec5){let _0x53b00c=_0x3a4ec5['firstChild'],_0x13173f=_0x3a4ec5['lastChild'];return _0x53b00c&&_0x53b00c['to']<_0x13173f['from']?{'from':_0x53b00c['to'],'to':_0x13173f['type']['isError']?_0x3a4ec5['to']:_0x13173f['from']}:null;}function _0x15a682(_0x1c9a35){let _0x29d0b3=_0x1c9a35['lastChild'];return _0x29d0b3&&_0x29d0b3['to']==_0x1c9a35['to']&&_0x29d0b3['type']['isError'];}function _0x442559(_0x243e3a,_0x5e0b23,_0x34adee){for(let _0x46f5e2 of _0x243e3a['facet'](_0x2d55c7)){let _0x33ef7d=_0x46f5e2(_0x243e3a,_0x5e0b23,_0x34adee);if(_0x33ef7d)return _0x33ef7d;}return function(_0x4833f0,_0xf7c273,_0x290842){let _0x341a70=_0x393d13(_0x4833f0);if(_0x341a70['length']<_0x290842)return null;let _0x24b28e=null;for(let _0x2563a1=_0x341a70['resolveStack'](_0x290842,0x1);_0x2563a1;_0x2563a1=_0x2563a1['next']){let _0x1dd5bb=_0x2563a1['node'];if(_0x1dd5bb['to']<=_0x290842||_0x1dd5bb['from']>_0x290842)continue;if(_0x24b28e&&_0x1dd5bb['from']<_0xf7c273)break;let _0x302bf4=_0x1dd5bb['type']['prop'](tj);if(_0x302bf4&&(_0x1dd5bb['to']<_0x341a70['length']-0x32||_0x341a70['length']==_0x4833f0['doc']['length']||!_0x15a682(_0x1dd5bb))){let _0x45eb5f=_0x302bf4(_0x1dd5bb,_0x4833f0);_0x45eb5f&&_0x45eb5f['from']<=_0x290842&&_0x45eb5f['from']>=_0xf7c273&&_0x45eb5f['to']>_0x290842&&(_0x24b28e=_0x45eb5f);}}return _0x24b28e;}(_0x243e3a,_0x5e0b23,_0x34adee);}function _0x1a5512(_0x1e1019,_0x2523ef){let _0x594edb=_0x2523ef['mapPos'](_0x1e1019['from'],0x1),_0x490332=_0x2523ef['mapPos'](_0x1e1019['to'],-0x1);return _0x594edb>=_0x490332?void 0x0:{'from':_0x594edb,'to':_0x490332};}const _0x2db1c3=_0x1f791d['define']({'map':_0x1a5512}),_0x2d1146=_0x1f791d['define']({'map':_0x1a5512});function _0x5835a2(_0x546308){let _0x506c9e=[];for(let {head:_0x558dfe}of _0x546308['state']['selection']['ranges'])_0x506c9e['some'](_0x1e97c3=>_0x1e97c3['from']<=_0x558dfe&&_0x1e97c3['to']>=_0x558dfe)||_0x506c9e['push'](_0x546308['lineBlockAt'](_0x558dfe));return _0x506c9e;}const _0x262333=_0xe7f3f['define']({'create':()=>_0x18eb2e['none'],'update'(_0x44f0c9,_0x1675f7){_0x1675f7['isUserEvent']('delete')&&_0x1675f7['changes']['iterChangedRanges']((_0x268cbe,_0xd38e75)=>_0x44f0c9=_0x2be990(_0x44f0c9,_0x268cbe,_0xd38e75)),_0x44f0c9=_0x44f0c9['map'](_0x1675f7['changes']);for(let _0x835a5d of _0x1675f7['effects'])if(_0x835a5d['is'](_0x2db1c3)&&!_0x5d1bdc(_0x44f0c9,_0x835a5d['value']['from'],_0x835a5d['value']['to'])){let {preparePlaceholder:_0x2ea0f7}=_0x1675f7['state']['facet'](_0x403683),_0x1a569b=_0x2ea0f7?_0x18eb2e['replace']({'widget':new _0xa5558f(_0x2ea0f7(_0x1675f7['state'],_0x835a5d['value']))}):_0x52f597;_0x44f0c9=_0x44f0c9['update']({'add':[_0x1a569b['range'](_0x835a5d['value']['from'],_0x835a5d['value']['to'])]});}else _0x835a5d['is'](_0x2d1146)&&(_0x44f0c9=_0x44f0c9['update']({'filter':(_0x3084de,_0x40b694)=>_0x835a5d['value']['from']!=_0x3084de||_0x835a5d['value']['to']!=_0x40b694,'filterFrom':_0x835a5d['value']['from'],'filterTo':_0x835a5d['value']['to']}));return _0x1675f7['selection']&&(_0x44f0c9=_0x2be990(_0x44f0c9,_0x1675f7['selection']['main']['head'])),_0x44f0c9;},'provide':_0x321fa0=>_0x51f1f4['decorations']['from'](_0x321fa0),'toJSON'(_0x153dd1,_0xc170c8){let _0x4aa882=[];return _0x153dd1['between'](0x0,_0xc170c8['doc']['length'],(_0x3db17b,_0x331f21)=>{_0x4aa882['push'](_0x3db17b,_0x331f21);}),_0x4aa882;},'fromJSON'(_0x124544){if(!Array['isArray'](_0x124544)||_0x124544['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x2dbaee=[];for(let _0x579ede=0x0;_0x579ede<_0x124544['length'];){let _0x35d73b=_0x124544[_0x579ede++],_0xe6fd0d=_0x124544[_0x579ede++];if('number'!=typeof _0x35d73b||'number'!=typeof _0xe6fd0d)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x2dbaee['push'](_0x52f597['range'](_0x35d73b,_0xe6fd0d));}return _0x18eb2e['set'](_0x2dbaee,!0x0);}});function _0x2be990(_0x29a329,_0x10e205,_0xfdb395=_0x10e205){let _0x24fb47=!0x1;return _0x29a329['between'](_0x10e205,_0xfdb395,(_0x488caf,_0x2b2040)=>{_0x488caf<_0xfdb395&&_0x2b2040>_0x10e205&&(_0x24fb47=!0x0);}),_0x24fb47?_0x29a329['update']({'filterFrom':_0x10e205,'filterTo':_0xfdb395,'filter':(_0x117879,_0x54d173)=>_0x117879>=_0xfdb395||_0x54d173<=_0x10e205}):_0x29a329;}function _0x3e9946(_0x2a8626,_0xf0e680,_0x2ac969){var _0x25aaf6;let _0x42db10=null;return null===(_0x25aaf6=_0x2a8626['field'](_0x262333,!0x1))||void 0x0===_0x25aaf6||_0x25aaf6['between'](_0xf0e680,_0x2ac969,(_0x5845b1,_0x5b5729)=>{(!_0x42db10||_0x42db10['from']>_0x5845b1)&&(_0x42db10={'from':_0x5845b1,'to':_0x5b5729});}),_0x42db10;}function _0x5d1bdc(_0x2d4dd6,_0x4fe4dd,_0x193650){let _0x639d99=!0x1;return _0x2d4dd6['between'](_0x4fe4dd,_0x4fe4dd,(_0x59e07a,_0x4f141c)=>{_0x59e07a==_0x4fe4dd&&_0x4f141c==_0x193650&&(_0x639d99=!0x0);}),_0x639d99;}function _0x5794e0(_0x26ebe5,_0x3a17d0){return _0x26ebe5['field'](_0x262333,!0x1)?_0x3a17d0:_0x3a17d0['concat'](_0x1f791d['appendConfig']['of'](_0x1228f6()));}function _0x508e16(_0x31f204,_0x3b8907,_0x4632be=!0x0){let _0x5dcc5f=_0x31f204['state']['doc']['lineAt'](_0x3b8907['from'])['number'],_0x2cc0b7=_0x31f204['state']['doc']['lineAt'](_0x3b8907['to'])['number'];return _0x51f1f4['announce']['of'](_0x31f204['state']['phrase'](_0x4632be?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x5dcc5f+'\x20'+_0x31f204['state']['phrase']('to')+'\x20'+_0x2cc0b7+'.');}const _0x2ccc06=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x1076e2=>{for(let _0x31e68b of _0x5835a2(_0x1076e2)){let _0x22eb2f=_0x442559(_0x1076e2['state'],_0x31e68b['from'],_0x31e68b['to']);if(_0x22eb2f)return _0x1076e2['dispatch']({'effects':_0x5794e0(_0x1076e2['state'],[_0x2db1c3['of'](_0x22eb2f),_0x508e16(_0x1076e2,_0x22eb2f)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x55c054=>{if(!_0x55c054['state']['field'](_0x262333,!0x1))return!0x1;let _0x5c8138=[];for(let _0x45a510 of _0x5835a2(_0x55c054)){let _0x23fce4=_0x3e9946(_0x55c054['state'],_0x45a510['from'],_0x45a510['to']);_0x23fce4&&_0x5c8138['push'](_0x2d1146['of'](_0x23fce4),_0x508e16(_0x55c054,_0x23fce4,!0x1));}return _0x5c8138['length']&&_0x55c054['dispatch']({'effects':_0x5c8138}),_0x5c8138['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x6bf071=>{let {state:_0x16eff5}=_0x6bf071,_0x3a7739=[];for(let _0x5bf037=0x0;_0x5bf037<_0x16eff5['doc']['length'];){let _0x32fda5=_0x6bf071['lineBlockAt'](_0x5bf037),_0x4e04a1=_0x442559(_0x16eff5,_0x32fda5['from'],_0x32fda5['to']);_0x4e04a1&&_0x3a7739['push'](_0x2db1c3['of'](_0x4e04a1)),_0x5bf037=(_0x4e04a1?_0x6bf071['lineBlockAt'](_0x4e04a1['to']):_0x32fda5)['to']+0x1;}return _0x3a7739['length']&&_0x6bf071['dispatch']({'effects':_0x5794e0(_0x6bf071['state'],_0x3a7739)}),!!_0x3a7739['length'];}},{'key':'Ctrl-Alt-]','run':_0x499128=>{let _0x5e8740=_0x499128['state']['field'](_0x262333,!0x1);if(!_0x5e8740||!_0x5e8740['size'])return!0x1;let _0x40dc85=[];return _0x5e8740['between'](0x0,_0x499128['state']['doc']['length'],(_0x2ac205,_0x560288)=>{_0x40dc85['push'](_0x2d1146['of']({'from':_0x2ac205,'to':_0x560288}));}),_0x499128['dispatch']({'effects':_0x40dc85}),!0x0;}}],_0x416838={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x403683=_0x2658c2['define']({'combine':_0x27e5ce=>_0x264c41(_0x27e5ce,_0x416838)});function _0x1228f6(_0x5dcda1){let _0x65bc92=[_0x262333,_0xf27180];return _0x5dcda1&&_0x65bc92['push'](_0x403683['of'](_0x5dcda1)),_0x65bc92;}function _0x5a114b(_0x573525,_0x319fe3){let {state:_0x4e7ff1}=_0x573525,_0x5a8b9a=_0x4e7ff1['facet'](_0x403683),_0xdf1723=_0x45d9d9=>{let _0x2ae569=_0x573525['lineBlockAt'](_0x573525['posAtDOM'](_0x45d9d9['target'])),_0x3ffd70=_0x3e9946(_0x573525['state'],_0x2ae569['from'],_0x2ae569['to']);_0x3ffd70&&_0x573525['dispatch']({'effects':_0x2d1146['of'](_0x3ffd70)}),_0x45d9d9['preventDefault']();};if(_0x5a8b9a['placeholderDOM'])return _0x5a8b9a['placeholderDOM'](_0x573525,_0xdf1723,_0x319fe3);let _0x5810af=document['createElement']('span');return _0x5810af['textContent']=_0x5a8b9a['placeholderText'],_0x5810af['setAttribute']('aria-label',_0x4e7ff1['phrase']('folded\x20code')),_0x5810af['title']=_0x4e7ff1['phrase']('unfold'),_0x5810af['className']='cm-foldPlaceholder',_0x5810af['onclick']=_0xdf1723,_0x5810af;}const _0x52f597=_0x18eb2e['replace']({'widget':new class extends _0x4016c2{toDOM(_0x48f719){return _0x5a114b(_0x48f719,null);}}()});var _0xa5558f=class extends _0x4016c2{constructor(_0x451e45){super(),this['value']=_0x451e45;}['eq'](_0x3888f0){return this['value']==_0x3888f0['value'];}toDOM(_0x49c2c3){return _0x5a114b(_0x49c2c3,this['value']);}};const _0x41ddca={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};var _0x32e6f4=class extends _0x1c14e4{constructor(_0x1e714c,_0x353e63){super(),this['config']=_0x1e714c,this['open']=_0x353e63;}['eq'](_0x578a7e){return this['config']==_0x578a7e['config']&&this['open']==_0x578a7e['open'];}toDOM(_0x1b639d){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x2b306b=document['createElement']('span');return _0x2b306b['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x2b306b['title']=_0x1b639d['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x2b306b;}};function _0x4f78d5(_0x5bea68={}){let _0x16e52d={..._0x41ddca,..._0x5bea68},_0x24b2a2=new _0x32e6f4(_0x16e52d,!0x0),_0x24358b=new _0x32e6f4(_0x16e52d,!0x1),_0xaa8478=_0x221982['fromClass'](class{constructor(_0x4ae737){this['from']=_0x4ae737['viewport']['from'],this['markers']=this['buildMarkers'](_0x4ae737);}update(_0x382043){(_0x382043['docChanged']||_0x382043['viewportChanged']||_0x382043['startState']['facet'](_0x3472e7)!=_0x382043['state']['facet'](_0x3472e7)||_0x382043['startState']['field'](_0x262333,!0x1)!=_0x382043['state']['field'](_0x262333,!0x1)||_0x393d13(_0x382043['startState'])!=_0x393d13(_0x382043['state'])||_0x16e52d['foldingChanged'](_0x382043))&&(this['markers']=this['buildMarkers'](_0x382043['view']));}['buildMarkers'](_0x45bed6){let _0x5d1aaa=new _0x5afce5();for(let _0x1c624a of _0x45bed6['viewportLineBlocks']){let _0x17073e=_0x3e9946(_0x45bed6['state'],_0x1c624a['from'],_0x1c624a['to'])?_0x24358b:_0x442559(_0x45bed6['state'],_0x1c624a['from'],_0x1c624a['to'])?_0x24b2a2:null;_0x17073e&&_0x5d1aaa['add'](_0x1c624a['from'],_0x1c624a['from'],_0x17073e);}return _0x5d1aaa['finish']();}}),{domEventHandlers:_0x4af413}=_0x16e52d;return[_0xaa8478,_0x3148ca({'class':'cm-foldGutter','markers'(_0x46d535){var _0xdb2103;return(null===(_0xdb2103=_0x46d535['plugin'](_0xaa8478))||void 0x0===_0xdb2103?void 0x0:_0xdb2103['markers'])||_0x53c81c['empty'];},'initialSpacer':()=>new _0x32e6f4(_0x16e52d,!0x1),'domEventHandlers':{..._0x4af413,'click':(_0x37416e,_0x5635c5,_0x13beeb)=>{if(_0x4af413['click']&&_0x4af413['click'](_0x37416e,_0x5635c5,_0x13beeb))return!0x0;let _0x17cca1=_0x3e9946(_0x37416e['state'],_0x5635c5['from'],_0x5635c5['to']);if(_0x17cca1)return _0x37416e['dispatch']({'effects':_0x2d1146['of'](_0x17cca1)}),!0x0;let _0x115429=_0x442559(_0x37416e['state'],_0x5635c5['from'],_0x5635c5['to']);return!!_0x115429&&(_0x37416e['dispatch']({'effects':_0x2db1c3['of'](_0x115429)}),!0x0);}}}),_0x1228f6()];}const _0xf27180=_0x51f1f4['baseTheme']({'.cm-foldPlaceholder':{'backgroundColor':'#eee','border':'1px\x20solid\x20#ddd','color':'#888','borderRadius':'.2em','margin':'0\x201px','padding':'0\x201px','cursor':'pointer'},'.cm-foldGutter\x20span':{'padding':'0\x201px','cursor':'pointer'}});var _0x4e09be=class HighlightStyle{constructor(_0x52ec7f,_0x32c5e3){let _0x24e43d;function _0x169635(_0x43976f){let _0x380754=_0x582da9['newName']();return(_0x24e43d||(_0x24e43d=Object['create'](null)))['.'+_0x380754]=_0x43976f,_0x380754;}this['specs']=_0x52ec7f;const _0x43707e='string'==typeof _0x32c5e3['all']?_0x32c5e3['all']:_0x32c5e3['all']?_0x169635(_0x32c5e3['all']):void 0x0,_0x1cd093=_0x32c5e3['scope'];this['scope']=_0x1cd093 instanceof _0x161b55?_0xa2b16e=>_0xa2b16e['prop'](_0x1f6fb5)==_0x1cd093['data']:_0x1cd093?_0x2515d1=>_0x2515d1==_0x1cd093:void 0x0,this['style']=tQ(_0x52ec7f['map'](_0x3d3e0a=>({'tag':_0x3d3e0a['tag'],'class':_0x3d3e0a['class']||_0x169635(Object['assign']({},_0x3d3e0a,{'tag':null}))})),{'all':_0x43707e})['style'],this['module']=_0x24e43d?new _0x582da9(_0x24e43d):null,this['themeType']=_0x32c5e3['themeType'];}static['define'](_0x1c7799,_0xba2405){return new HighlightStyle(_0x1c7799,_0xba2405||{});}};const _0x553d50=_0x2658c2['define'](),_0x116b4a=_0x2658c2['define']({'combine':_0xfa07d6=>_0xfa07d6['length']?[_0xfa07d6[0x0]]:null});function _0x2be507(_0x4ac02b){let _0x4bf2ac=_0x4ac02b['facet'](_0x553d50);return _0x4bf2ac['length']?_0x4bf2ac:_0x4ac02b['facet'](_0x116b4a);}function _0x57bd24(_0xb2e26d,_0x23a02a){let _0x349a9c,_0x3a2add=[_0x80e358];return _0xb2e26d instanceof _0x4e09be&&(_0xb2e26d['module']&&_0x3a2add['push'](_0x51f1f4['styleModule']['of'](_0xb2e26d['module'])),_0x349a9c=_0xb2e26d['themeType']),(null==_0x23a02a?void 0x0:_0x23a02a['fallback'])?_0x3a2add['push'](_0x116b4a['of'](_0xb2e26d)):_0x349a9c?_0x3a2add['push'](_0x553d50['computeN']([_0x51f1f4['darkTheme']],_0x2ed70c=>_0x2ed70c['facet'](_0x51f1f4['darkTheme'])==('dark'==_0x349a9c)?[_0xb2e26d]:[])):_0x3a2add['push'](_0x553d50['of'](_0xb2e26d)),_0x3a2add;}var _0x2b31d4=class{constructor(_0x45ef9b){this['markCache']=Object['create'](null),this['tree']=_0x393d13(_0x45ef9b['state']),this['decorations']=this['buildDeco'](_0x45ef9b,_0x2be507(_0x45ef9b['state'])),this['decoratedTo']=_0x45ef9b['viewport']['to'];}update(_0x2ab828){let _0x2e4559=_0x393d13(_0x2ab828['state']),_0x18d47a=_0x2be507(_0x2ab828['state']),_0x4cbeda=_0x18d47a!=_0x2be507(_0x2ab828['startState']),{viewport:_0x1fe57a}=_0x2ab828['view'],_0x3b343f=_0x2ab828['changes']['mapPos'](this['decoratedTo'],0x1);_0x2e4559['length']<_0x1fe57a['to']&&!_0x4cbeda&&_0x2e4559['type']==this['tree']['type']&&_0x3b343f>=_0x1fe57a['to']?(this['decorations']=this['decorations']['map'](_0x2ab828['changes']),this['decoratedTo']=_0x3b343f):(_0x2e4559!=this['tree']||_0x2ab828['viewportChanged']||_0x4cbeda)&&(this['tree']=_0x2e4559,this['decorations']=this['buildDeco'](_0x2ab828['view'],_0x18d47a),this['decoratedTo']=_0x1fe57a['to']);}['buildDeco'](_0x427353,_0x448403){if(!_0x448403||!this['tree']['length'])return _0x18eb2e['none'];let _0x59ae19=new _0x5afce5();for(let {from:_0x2aa037,to:_0x59f95c}of _0x427353['visibleRanges'])_0xee9b3c(this['tree'],_0x448403,(_0x14e1de,_0x12e76d,_0x36a02f)=>{_0x59ae19['add'](_0x14e1de,_0x12e76d,this['markCache'][_0x36a02f]||(this['markCache'][_0x36a02f]=_0x18eb2e['mark']({'class':_0x36a02f})));},_0x2aa037,_0x59f95c);return _0x59ae19['finish']();}};const _0x80e358=_0x1cb9ad['high'](_0x221982['fromClass'](_0x2b31d4,{'decorations':_0x51cdfb=>_0x51cdfb['decorations']})),_0x55135c=_0x4e09be['define']([{'tag':_0x1f4598['meta'],'color':'#404740'},{'tag':_0x1f4598['link'],'textDecoration':'underline'},{'tag':_0x1f4598['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':_0x1f4598['emphasis'],'fontStyle':'italic'},{'tag':_0x1f4598['strong'],'fontWeight':'bold'},{'tag':_0x1f4598['strikethrough'],'textDecoration':'line-through'},{'tag':_0x1f4598['keyword'],'color':'#708'},{'tag':[_0x1f4598['atom'],_0x1f4598['bool'],_0x1f4598['url'],_0x1f4598['contentSeparator'],_0x1f4598['labelName']],'color':'#219'},{'tag':[_0x1f4598['literal'],_0x1f4598['inserted']],'color':'#164'},{'tag':[_0x1f4598['string'],_0x1f4598['deleted']],'color':'#a11'},{'tag':[_0x1f4598['regexp'],_0x1f4598['escape'],_0x1f4598['special'](_0x1f4598['string'])],'color':'#e40'},{'tag':_0x1f4598['definition'](_0x1f4598['variableName']),'color':'#00f'},{'tag':_0x1f4598['local'](_0x1f4598['variableName']),'color':'#30a'},{'tag':[_0x1f4598['typeName'],_0x1f4598['namespace']],'color':'#085'},{'tag':_0x1f4598['className'],'color':'#167'},{'tag':[_0x1f4598['special'](_0x1f4598['variableName']),_0x1f4598['macroName']],'color':'#256'},{'tag':_0x1f4598['definition'](_0x1f4598['propertyName']),'color':'#00c'},{'tag':_0x1f4598['comment'],'color':'#940'},{'tag':_0x1f4598['invalid'],'color':'#f00'}]),_0x3f5042=_0x51f1f4['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),_0x27d60a='()[]{}',_0x13ff0e=_0x2658c2['define']({'combine':_0x11b0e7=>_0x264c41(_0x11b0e7,{'afterCursor':!0x0,'brackets':_0x27d60a,'maxScanDistance':0x2710,'renderMatch':_0x2b5169})}),_0x5806fc=_0x18eb2e['mark']({'class':'cm-matchingBracket'}),_0x471e5b=_0x18eb2e['mark']({'class':'cm-nonmatchingBracket'});function _0x2b5169(_0x2d53bd){let _0x1c5d1b=[],_0x4b5495=_0x2d53bd['matched']?_0x5806fc:_0x471e5b;return _0x1c5d1b['push'](_0x4b5495['range'](_0x2d53bd['start']['from'],_0x2d53bd['start']['to'])),_0x2d53bd['end']&&_0x1c5d1b['push'](_0x4b5495['range'](_0x2d53bd['end']['from'],_0x2d53bd['end']['to'])),_0x1c5d1b;}function _0x18397a(_0x244910){let _0x4634b7=[],_0x4b5de2=_0x244910['facet'](_0x13ff0e);for(let _0x5a56fa of _0x244910['selection']['ranges']){if(!_0x5a56fa['empty'])continue;let _0x42e6e2=_0x4ca9fc(_0x244910,_0x5a56fa['head'],-0x1,_0x4b5de2)||_0x5a56fa['head']>0x0&&_0x4ca9fc(_0x244910,_0x5a56fa['head']-0x1,0x1,_0x4b5de2)||_0x4b5de2['afterCursor']&&(_0x4ca9fc(_0x244910,_0x5a56fa['head'],0x1,_0x4b5de2)||_0x5a56fa['head']<_0x244910['doc']['length']&&_0x4ca9fc(_0x244910,_0x5a56fa['head']+0x1,-0x1,_0x4b5de2));_0x42e6e2&&(_0x4634b7=_0x4634b7['concat'](_0x4b5de2['renderMatch'](_0x42e6e2,_0x244910)));}return _0x18eb2e['set'](_0x4634b7,!0x0);}const _0x35c85d=[_0x221982['fromClass'](class{constructor(_0xa097ab){this['paused']=!0x1,this['decorations']=_0x18397a(_0xa097ab['state']);}update(_0x29cb92){(_0x29cb92['docChanged']||_0x29cb92['selectionSet']||this['paused'])&&(_0x29cb92['view']['composing']?(this['decorations']=this['decorations']['map'](_0x29cb92['changes']),this['paused']=!0x0):(this['decorations']=_0x18397a(_0x29cb92['state']),this['paused']=!0x1));}},{'decorations':_0x807746=>_0x807746['decorations']}),_0x3f5042];function _0x10c635(_0x33839c={}){return[_0x13ff0e['of'](_0x33839c),_0x35c85d];}const _0x1239cb=new _0x320816();function _0x400f86(_0xe8cc82,_0x54fef1,_0x3c5f95){let _0x118f33=_0xe8cc82['prop'](_0x54fef1<0x0?_0x320816['openedBy']:_0x320816['closedBy']);if(_0x118f33)return _0x118f33;if(0x1==_0xe8cc82['name']['length']){let _0x38624c=_0x3c5f95['indexOf'](_0xe8cc82['name']);if(_0x38624c>-0x1&&_0x38624c%0x2==(_0x54fef1<0x0?0x1:0x0))return[_0x3c5f95[_0x38624c+_0x54fef1]];}return null;}function _0x341d1b(_0x2745f3){let _0x2de411=_0x2745f3['type']['prop'](_0x1239cb);return _0x2de411?_0x2de411(_0x2745f3['node']):_0x2745f3;}function _0x4ca9fc(_0x2b1b49,_0x48bae2,_0x3e4a55,_0x78f934={}){let _0x573ea9=_0x78f934['maxScanDistance']||0x2710,_0x51791e=_0x78f934['brackets']||_0x27d60a,_0x19cc19=_0x393d13(_0x2b1b49),_0xb09de6=_0x19cc19['resolveInner'](_0x48bae2,_0x3e4a55);for(let _0x26a7be=_0xb09de6;_0x26a7be;_0x26a7be=_0x26a7be['parent']){let _0x38da3d=_0x400f86(_0x26a7be['type'],_0x3e4a55,_0x51791e);if(_0x38da3d&&_0x26a7be['from']<_0x26a7be['to']){let _0xd381ca=_0x341d1b(_0x26a7be);if(_0xd381ca&&(_0x3e4a55>0x0?_0x48bae2>=_0xd381ca['from']&&_0x48bae2<_0xd381ca['to']:_0x48bae2>_0xd381ca['from']&&_0x48bae2<=_0xd381ca['to']))return _0x135354(_0x2b1b49,_0x48bae2,_0x3e4a55,_0x26a7be,_0xd381ca,_0x38da3d,_0x51791e);}}return function(_0x3547be,_0x50e58a,_0x19e421,_0x3d40db,_0x40fc2d,_0x3dbc49,_0x32ae37){if(_0x19e421<0x0?!_0x50e58a:_0x50e58a==_0x3547be['doc']['length'])return null;let _0x5808ee=_0x19e421<0x0?_0x3547be['sliceDoc'](_0x50e58a-0x1,_0x50e58a):_0x3547be['sliceDoc'](_0x50e58a,_0x50e58a+0x1),_0x341359=_0x32ae37['indexOf'](_0x5808ee);if(_0x341359<0x0||_0x341359%0x2==0x0!=_0x19e421>0x0)return null;let _0x5d8d23={'from':_0x19e421<0x0?_0x50e58a-0x1:_0x50e58a,'to':_0x19e421>0x0?_0x50e58a+0x1:_0x50e58a},_0xbbd80b=_0x3547be['doc']['iterRange'](_0x50e58a,_0x19e421>0x0?_0x3547be['doc']['length']:0x0),_0x520ba8=0x0;for(let _0x40cc91=0x0;!_0xbbd80b['next']()['done']&&_0x40cc91<=_0x3dbc49;){let _0x3f420a=_0xbbd80b['value'];_0x19e421<0x0&&(_0x40cc91+=_0x3f420a['length']);let _0xe495a2=_0x50e58a+_0x40cc91*_0x19e421;for(let _0x43f1d0=_0x19e421>0x0?0x0:_0x3f420a['length']-0x1,_0x32723c=_0x19e421>0x0?_0x3f420a['length']:-0x1;_0x43f1d0!=_0x32723c;_0x43f1d0+=_0x19e421){let _0x200759=_0x32ae37['indexOf'](_0x3f420a[_0x43f1d0]);if(!(_0x200759<0x0||_0x3d40db['resolveInner'](_0xe495a2+_0x43f1d0,0x1)['type']!=_0x40fc2d)){if(_0x200759%0x2==0x0==_0x19e421>0x0)_0x520ba8++;else{if(0x1==_0x520ba8)return{'start':_0x5d8d23,'end':{'from':_0xe495a2+_0x43f1d0,'to':_0xe495a2+_0x43f1d0+0x1},'matched':_0x200759>>0x1==_0x341359>>0x1};_0x520ba8--;}}}_0x19e421>0x0&&(_0x40cc91+=_0x3f420a['length']);}return _0xbbd80b['done']?{'start':_0x5d8d23,'matched':!0x1}:null;}(_0x2b1b49,_0x48bae2,_0x3e4a55,_0x19cc19,_0xb09de6['type'],_0x573ea9,_0x51791e);}function _0x135354(_0x3acf75,_0x4652a7,_0x93004b,_0x2bd940,_0x187870,_0x33fac5,_0x554b1b){let _0x413a48=_0x2bd940['parent'],_0x487b53={'from':_0x187870['from'],'to':_0x187870['to']},_0x477fc3=0x0,_0x2fce61=null==_0x413a48?void 0x0:_0x413a48['cursor']();if(_0x2fce61&&(_0x93004b<0x0?_0x2fce61['childBefore'](_0x2bd940['from']):_0x2fce61['childAfter'](_0x2bd940['to'])))do{if(_0x93004b<0x0?_0x2fce61['to']<=_0x2bd940['from']:_0x2fce61['from']>=_0x2bd940['to']){if(0x0==_0x477fc3&&_0x33fac5['indexOf'](_0x2fce61['type']['name'])>-0x1&&_0x2fce61['from']<_0x2fce61['to']){let _0x17c574=_0x341d1b(_0x2fce61);return{'start':_0x487b53,'end':_0x17c574?{'from':_0x17c574['from'],'to':_0x17c574['to']}:void 0x0,'matched':!0x0};}if(_0x400f86(_0x2fce61['type'],_0x93004b,_0x554b1b))_0x477fc3++;else{if(_0x400f86(_0x2fce61['type'],-_0x93004b,_0x554b1b)){if(0x0==_0x477fc3){let _0x16e0df=_0x341d1b(_0x2fce61);return{'start':_0x487b53,'end':_0x16e0df&&_0x16e0df['from']<_0x16e0df['to']?{'from':_0x16e0df['from'],'to':_0x16e0df['to']}:void 0x0,'matched':!0x1};}_0x477fc3--;}}}}while(_0x93004b<0x0?_0x2fce61['prevSibling']():_0x2fce61['nextSibling']());return{'start':_0x487b53,'matched':!0x1};}const _0x247a73=Object['create'](null),_0xbb9615=[_0x4a1e51['none']],_0x21090c=[],_0x322d8a=Object['create'](null),_0x3cfe9b=Object['create'](null);for(let [_0x28430b,_0x490420]of[['variable','variableName'],['variable-2','variableName.special'],['string-2','string.special'],['def','variableName.definition'],['tag','tagName'],['attribute','attributeName'],['type','typeName'],['builtin','variableName.standard'],['qualifier','modifier'],['error','invalid'],['header','heading'],['property','propertyName']])_0x3cfe9b[_0x28430b]=_0x2d079e(_0x247a73,_0x490420);function _0x359b6b(_0x1c3b23,_0x5226e0){_0x21090c['indexOf'](_0x1c3b23)>-0x1||(_0x21090c['push'](_0x1c3b23),console['warn'](_0x5226e0));}function _0x2d079e(_0xe896ab,_0x3c993f){let _0x3e4422=[];for(let _0x28ab89 of _0x3c993f['split']('\x20')){let _0x25357c=[];for(let _0x1a100e of _0x28ab89['split']('.')){let _0x57b7ca=_0xe896ab[_0x1a100e]||_0x1f4598[_0x1a100e];_0x57b7ca?'function'==typeof _0x57b7ca?_0x25357c['length']?_0x25357c=_0x25357c['map'](_0x57b7ca):_0x359b6b(_0x1a100e,'Modifier\x20'+_0x1a100e+'\x20used\x20at\x20start\x20of\x20tag'):_0x25357c['length']?_0x359b6b(_0x1a100e,'Tag\x20'+_0x1a100e+'\x20used\x20as\x20modifier'):_0x25357c=Array['isArray'](_0x57b7ca)?_0x57b7ca:[_0x57b7ca]:_0x359b6b(_0x1a100e,'Unknown\x20highlighting\x20tag\x20'+_0x1a100e);}for(let _0x32a839 of _0x25357c)_0x3e4422['push'](_0x32a839);}if(!_0x3e4422['length'])return 0x0;let _0x3568c0=_0x3c993f['replace'](/ /g,'_'),_0x44b3aa=_0x3568c0+'\x20'+_0x3e4422['map'](t=>t['id']),_0x35d824=_0x322d8a[_0x44b3aa];if(_0x35d824)return _0x35d824['id'];let _0x224a6d=_0x322d8a[_0x44b3aa]=_0x4a1e51['define']({'id':_0xbb9615['length'],'name':_0x3568c0,'props':[_0xe89f13({[_0x3568c0]:_0x3e4422})]});return _0xbb9615['push'](_0x224a6d),_0x224a6d['id'];}_0xf0cb7b['RTL'],_0xf0cb7b['LTR'];function tU(_0x3fda3c,_0x1835bb){return({state:_0x3d9d46,dispatch:_0x418fdd})=>{if(_0x3d9d46['readOnly'])return!0x1;let _0x2db6c0=_0x3fda3c(_0x1835bb,_0x3d9d46);return!!_0x2db6c0&&(_0x418fdd(_0x3d9d46['update'](_0x2db6c0)),!0x0);};}const _0x4d5b85=tU(_0x1da6b7,0x0),_0x5d6a61=tU(_0x39c694,0x0),_0x55b3cf=tU((_0x4daa2c,_0x6f1b5d)=>_0x39c694(_0x4daa2c,_0x6f1b5d,function(_0x48d9cc){let _0x11bfe4=[];for(let _0x16bd3e of _0x48d9cc['selection']['ranges']){let _0x444335=_0x48d9cc['doc']['lineAt'](_0x16bd3e['from']),_0x53cb06=_0x16bd3e['to']<=_0x444335['to']?_0x444335:_0x48d9cc['doc']['lineAt'](_0x16bd3e['to']);_0x53cb06['from']>_0x444335['from']&&_0x53cb06['from']==_0x16bd3e['to']&&(_0x53cb06=_0x16bd3e['to']==_0x444335['to']+0x1?_0x444335:_0x48d9cc['doc']['lineAt'](_0x16bd3e['to']-0x1));let _0x19b9b6=_0x11bfe4['length']-0x1;_0x19b9b6>=0x0&&_0x11bfe4[_0x19b9b6]['to']>_0x444335['from']?_0x11bfe4[_0x19b9b6]['to']=_0x53cb06['to']:_0x11bfe4['push']({'from':_0x444335['from']+/^\s*/['exec'](_0x444335['text'])[0x0]['length'],'to':_0x53cb06['to']});}return _0x11bfe4;}(_0x6f1b5d)),0x0);function _0x11fde3(_0x22eddf,_0x544981){let _0x147cc6=_0x22eddf['languageDataAt']('commentTokens',_0x544981,0x1);return _0x147cc6['length']?_0x147cc6[0x0]:{};}const _0x500fb9=0x32;function _0x39c694(_0x2d53f7,_0x2a139f,_0x263e0f=_0x2a139f['selection']['ranges']){let _0x4c5c2d=_0x263e0f['map'](_0x26ebf4=>_0x11fde3(_0x2a139f,_0x26ebf4['from'])['block']);if(!_0x4c5c2d['every'](_0x2855ae=>_0x2855ae))return null;let _0x1370b6=_0x263e0f['map']((_0x47206e,_0x4bf7d6)=>function(_0x33716f,{open:_0xc5304a,close:_0x5e759f},_0xb905aa,_0x3ad30f){let _0xe1f68f,_0x4d332f,_0x3c9cd0=_0x33716f['sliceDoc'](_0xb905aa-_0x500fb9,_0xb905aa),_0x58e374=_0x33716f['sliceDoc'](_0x3ad30f,_0x3ad30f+_0x500fb9),_0x240346=/\s*$/['exec'](_0x3c9cd0)[0x0]['length'],_0x3641c7=/^\s*/['exec'](_0x58e374)[0x0]['length'],_0x16b4ce=_0x3c9cd0['length']-_0x240346;if(_0x3c9cd0['slice'](_0x16b4ce-_0xc5304a['length'],_0x16b4ce)==_0xc5304a&&_0x58e374['slice'](_0x3641c7,_0x3641c7+_0x5e759f['length'])==_0x5e759f)return{'open':{'pos':_0xb905aa-_0x240346,'margin':_0x240346&&0x1},'close':{'pos':_0x3ad30f+_0x3641c7,'margin':_0x3641c7&&0x1}};_0x3ad30f-_0xb905aa<=0x2*_0x500fb9?_0xe1f68f=_0x4d332f=_0x33716f['sliceDoc'](_0xb905aa,_0x3ad30f):(_0xe1f68f=_0x33716f['sliceDoc'](_0xb905aa,_0xb905aa+_0x500fb9),_0x4d332f=_0x33716f['sliceDoc'](_0x3ad30f-_0x500fb9,_0x3ad30f));let _0x30aa31=/^\s*/['exec'](_0xe1f68f)[0x0]['length'],_0x26021c=/\s*$/['exec'](_0x4d332f)[0x0]['length'],_0x3c6bce=_0x4d332f['length']-_0x26021c-_0x5e759f['length'];return _0xe1f68f['slice'](_0x30aa31,_0x30aa31+_0xc5304a['length'])==_0xc5304a&&_0x4d332f['slice'](_0x3c6bce,_0x3c6bce+_0x5e759f['length'])==_0x5e759f?{'open':{'pos':_0xb905aa+_0x30aa31+_0xc5304a['length'],'margin':/\s/['test'](_0xe1f68f['charAt'](_0x30aa31+_0xc5304a['length']))?0x1:0x0},'close':{'pos':_0x3ad30f-_0x26021c-_0x5e759f['length'],'margin':/\s/['test'](_0x4d332f['charAt'](_0x3c6bce-0x1))?0x1:0x0}}:null;}(_0x2a139f,_0x4c5c2d[_0x4bf7d6],_0x47206e['from'],_0x47206e['to']));if(0x2!=_0x2d53f7&&!_0x1370b6['every'](_0x24b9cc=>_0x24b9cc))return{'changes':_0x2a139f['changes'](_0x263e0f['map']((_0x2594ce,_0x3d36bc)=>_0x1370b6[_0x3d36bc]?[]:[{'from':_0x2594ce['from'],'insert':_0x4c5c2d[_0x3d36bc]['open']+'\x20'},{'from':_0x2594ce['to'],'insert':'\x20'+_0x4c5c2d[_0x3d36bc]['close']}]))};if(0x1!=_0x2d53f7&&_0x1370b6['some'](_0x57cdcc=>_0x57cdcc)){let _0x5486bc=[];for(let _0x23a2e6,_0x5166ce=0x0;_0x5166ce<_0x1370b6['length'];_0x5166ce++)if(_0x23a2e6=_0x1370b6[_0x5166ce]){let _0xcd6737=_0x4c5c2d[_0x5166ce],{open:_0x292d69,close:_0x5db74c}=_0x23a2e6;_0x5486bc['push']({'from':_0x292d69['pos']-_0xcd6737['open']['length'],'to':_0x292d69['pos']+_0x292d69['margin']},{'from':_0x5db74c['pos']-_0x5db74c['margin'],'to':_0x5db74c['pos']+_0xcd6737['close']['length']});}return{'changes':_0x5486bc};}return null;}function _0x1da6b7(_0x23fd85,_0x3e0de6,_0xa4f9fa=_0x3e0de6['selection']['ranges']){let _0x44ae78=[],_0x58e9c8=-0x1;for(let {from:_0x315cb1,to:_0x4a78c5}of _0xa4f9fa){let _0x408f15=_0x44ae78['length'],_0x301f85=0x3b9aca00,_0x2bdddb=_0x11fde3(_0x3e0de6,_0x315cb1)['line'];if(_0x2bdddb){for(let _0x192f71=_0x315cb1;_0x192f71<=_0x4a78c5;){let _0x310627=_0x3e0de6['doc']['lineAt'](_0x192f71);if(_0x310627['from']>_0x58e9c8&&(_0x315cb1==_0x4a78c5||_0x4a78c5>_0x310627['from'])){_0x58e9c8=_0x310627['from'];let _0x2dd7c3=/^\s*/['exec'](_0x310627['text'])[0x0]['length'],_0x4ebd34=_0x2dd7c3==_0x310627['length'],_0x1d9745=_0x310627['text']['slice'](_0x2dd7c3,_0x2dd7c3+_0x2bdddb['length'])==_0x2bdddb?_0x2dd7c3:-0x1;_0x2dd7c3<_0x310627['text']['length']&&_0x2dd7c3<_0x301f85&&(_0x301f85=_0x2dd7c3),_0x44ae78['push']({'line':_0x310627,'comment':_0x1d9745,'token':_0x2bdddb,'indent':_0x2dd7c3,'empty':_0x4ebd34,'single':!0x1});}_0x192f71=_0x310627['to']+0x1;}if(_0x301f85<0x3b9aca00){for(let _0x296ccd=_0x408f15;_0x296ccd<_0x44ae78['length'];_0x296ccd++)_0x44ae78[_0x296ccd]['indent']<_0x44ae78[_0x296ccd]['line']['text']['length']&&(_0x44ae78[_0x296ccd]['indent']=_0x301f85);}_0x44ae78['length']==_0x408f15+0x1&&(_0x44ae78[_0x408f15]['single']=!0x0);}}if(0x2!=_0x23fd85&&_0x44ae78['some'](_0x903280=>_0x903280['comment']<0x0&&(!_0x903280['empty']||_0x903280['single']))){let _0x5c1337=[];for(let {line:_0x38537c,token:_0x4b2932,indent:_0x4317b6,empty:_0x577de0,single:_0x4f8934}of _0x44ae78)!_0x4f8934&&_0x577de0||_0x5c1337['push']({'from':_0x38537c['from']+_0x4317b6,'insert':_0x4b2932+'\x20'});let _0xa3b81f=_0x3e0de6['changes'](_0x5c1337);return{'changes':_0xa3b81f,'selection':_0x3e0de6['selection']['map'](_0xa3b81f,0x1)};}if(0x1!=_0x23fd85&&_0x44ae78['some'](_0x74284f=>_0x74284f['comment']>=0x0)){let _0x43fcd1=[];for(let {line:_0x7ff68e,comment:_0x25a9f6,token:_0x2e05d9}of _0x44ae78)if(_0x25a9f6>=0x0){let _0x308486=_0x7ff68e['from']+_0x25a9f6,_0xba0dec=_0x308486+_0x2e05d9['length'];'\x20'==_0x7ff68e['text'][_0xba0dec-_0x7ff68e['from']]&&_0xba0dec++,_0x43fcd1['push']({'from':_0x308486,'to':_0xba0dec});}return{'changes':_0x43fcd1};}return null;}const _0x34f2da=_0x5c39a2['define'](),_0x11ff02=_0x5c39a2['define'](),_0x3996c6=_0x2658c2['define'](),_0x400012=_0x2658c2['define']({'combine':_0x284c0f=>_0x264c41(_0x284c0f,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x14a9c9,_0x4cd1f4)=>_0x4cd1f4},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x46bb83,_0x19c5f6)=>(_0x130187,_0x19e136)=>_0x46bb83(_0x130187,_0x19e136)||_0x19c5f6(_0x130187,_0x19e136)})}),_0x22acd1=_0xe7f3f['define']({'create':()=>_0x31d946['empty'],'update'(_0x3558c4,_0x3ede05){let _0x2216bb=_0x3ede05['state']['facet'](_0x400012),_0x5e4087=_0x3ede05['annotation'](_0x34f2da);if(_0x5e4087){let _0x23265e=_0x2d9f16['fromTransaction'](_0x3ede05,_0x5e4087['selection']),_0x224b6f=_0x5e4087['side'],_0x4a623f=0x0==_0x224b6f?_0x3558c4['undone']:_0x3558c4['done'];return _0x4a623f=_0x23265e?_0x26a5f2(_0x4a623f,_0x4a623f['length'],_0x2216bb['minDepth'],_0x23265e):_0x161119(_0x4a623f,_0x3ede05['startState']['selection']),new _0x31d946(0x0==_0x224b6f?_0x5e4087['rest']:_0x4a623f,0x0==_0x224b6f?_0x4a623f:_0x5e4087['rest']);}let _0x22ed7f=_0x3ede05['annotation'](_0x11ff02);if('full'!=_0x22ed7f&&'before'!=_0x22ed7f||(_0x3558c4=_0x3558c4['isolate']()),!0x1===_0x3ede05['annotation'](_0xdf5f41['addToHistory']))return _0x3ede05['changes']['empty']?_0x3558c4:_0x3558c4['addMapping'](_0x3ede05['changes']['desc']);let _0x59c33d=_0x2d9f16['fromTransaction'](_0x3ede05),_0x26cb14=_0x3ede05['annotation'](_0xdf5f41['time']),_0x204de6=_0x3ede05['annotation'](_0xdf5f41['userEvent']);return _0x59c33d?_0x3558c4=_0x3558c4['addChanges'](_0x59c33d,_0x26cb14,_0x204de6,_0x2216bb,_0x3ede05):_0x3ede05['selection']&&(_0x3558c4=_0x3558c4['addSelection'](_0x3ede05['startState']['selection'],_0x26cb14,_0x204de6,_0x2216bb['newGroupDelay'])),'full'!=_0x22ed7f&&'after'!=_0x22ed7f||(_0x3558c4=_0x3558c4['isolate']()),_0x3558c4;},'toJSON':_0x7b3b38=>({'done':_0x7b3b38['done']['map'](_0x3988e7=>_0x3988e7['toJSON']()),'undone':_0x7b3b38['undone']['map'](_0x1c3ec=>_0x1c3ec['toJSON']())}),'fromJSON':_0x4049f2=>new _0x31d946(_0x4049f2['done']['map'](_0x2d9f16['fromJSON']),_0x4049f2['undone']['map'](_0x2d9f16['fromJSON']))});function _0x2ee53f(_0x32865b={}){return[_0x22acd1,_0x400012['of'](_0x32865b),_0x51f1f4['domEventHandlers']({'beforeinput'(_0x19e8c3,_0x3f42de){let _0x5b8bf4='historyUndo'==_0x19e8c3['inputType']?_0x7fb4bc:'historyRedo'==_0x19e8c3['inputType']?_0x21d3e9:null;return!!_0x5b8bf4&&(_0x19e8c3['preventDefault'](),_0x5b8bf4(_0x3f42de));}})];}function _0x3220f0(_0xdcb40,_0x65130b){return function({state:_0x24faf1,dispatch:_0x9628f9}){if(!_0x65130b&&_0x24faf1['readOnly'])return!0x1;let _0x2a41a0=_0x24faf1['field'](_0x22acd1,!0x1);if(!_0x2a41a0)return!0x1;let _0xd970de=_0x2a41a0['pop'](_0xdcb40,_0x24faf1,_0x65130b);return!!_0xd970de&&(_0x9628f9(_0xd970de),!0x0);};}const _0x7fb4bc=_0x3220f0(0x0,!0x1),_0x21d3e9=_0x3220f0(0x1,!0x1),_0x1baf64=_0x3220f0(0x0,!0x0),_0x2c91aa=_0x3220f0(0x1,!0x0);var _0x2d9f16=class HistEvent{constructor(_0x3be516,_0x47db0f,_0x1ce022,_0x2857e2,_0x375064){this['changes']=_0x3be516,this['effects']=_0x47db0f,this['mapped']=_0x1ce022,this['startSelection']=_0x2857e2,this['selectionsAfter']=_0x375064;}setSelAfter(_0xdef1a5){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0xdef1a5);}toJSON(){var _0x3c72f7,_0x1ce104,_0x1a5b5f;return{'changes':null===(_0x3c72f7=this['changes'])||void 0x0===_0x3c72f7?void 0x0:_0x3c72f7['toJSON'](),'mapped':null===(_0x1ce104=this['mapped'])||void 0x0===_0x1ce104?void 0x0:_0x1ce104['toJSON'](),'startSelection':null===(_0x1a5b5f=this['startSelection'])||void 0x0===_0x1a5b5f?void 0x0:_0x1a5b5f['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x2ff3bd=>_0x2ff3bd['toJSON']())};}static['fromJSON'](_0x28bb2d){return new HistEvent(_0x28bb2d['changes']&&_0x598fb2['fromJSON'](_0x28bb2d['changes']),[],_0x28bb2d['mapped']&&_0x4d544b['fromJSON'](_0x28bb2d['mapped']),_0x28bb2d['startSelection']&&_0x3bda1f['fromJSON'](_0x28bb2d['startSelection']),_0x28bb2d['selectionsAfter']['map'](_0x3bda1f['fromJSON']));}static fromTransaction(_0x3c93b7,_0x1031d7){let _0x137d64=_0x566d63;for(let _0x2681db of _0x3c93b7['startState']['facet'](_0x3996c6)){let _0x282a55=_0x2681db(_0x3c93b7);_0x282a55['length']&&(_0x137d64=_0x137d64['concat'](_0x282a55));}return!_0x137d64['length']&&_0x3c93b7['changes']['empty']?null:new HistEvent(_0x3c93b7['changes']['invert'](_0x3c93b7['startState']['doc']),_0x137d64,void 0x0,_0x1031d7||_0x3c93b7['startState']['selection'],_0x566d63);}static selection(_0x4e0810){return new HistEvent(void 0x0,_0x566d63,void 0x0,void 0x0,_0x4e0810);}};function _0x26a5f2(_0x1151be,_0xe737a6,_0x5977fa,_0x4793af){let _0x5f381c=_0xe737a6+0x1>_0x5977fa+0x14?_0xe737a6-_0x5977fa-0x1:0x0,_0x288f07=_0x1151be['slice'](_0x5f381c,_0xe737a6);return _0x288f07['push'](_0x4793af),_0x288f07;}function _0x232d28(_0x5d4078,_0x516b9a){return _0x5d4078['length']?_0x516b9a['length']?_0x5d4078['concat'](_0x516b9a):_0x5d4078:_0x516b9a;}const _0x566d63=[],_0x3b5200=0xc8;function _0x161119(_0x463f7,_0x41f21b){if(_0x463f7['length']){let _0x965801=_0x463f7[_0x463f7['length']-0x1],_0x248706=_0x965801['selectionsAfter']['slice'](Math['max'](0x0,_0x965801['selectionsAfter']['length']-_0x3b5200));return _0x248706['length']&&_0x248706[_0x248706['length']-0x1]['eq'](_0x41f21b)?_0x463f7:(_0x248706['push'](_0x41f21b),_0x26a5f2(_0x463f7,_0x463f7['length']-0x1,0x3b9aca00,_0x965801['setSelAfter'](_0x248706)));}return[_0x2d9f16['selection']([_0x41f21b])];}function _0x2d1079(_0x349106){let _0x3061cd=_0x349106[_0x349106['length']-0x1],_0x24ef0a=_0x349106['slice']();return _0x24ef0a[_0x349106['length']-0x1]=_0x3061cd['setSelAfter'](_0x3061cd['selectionsAfter']['slice'](0x0,_0x3061cd['selectionsAfter']['length']-0x1)),_0x24ef0a;}function _0x426295(_0x262339,_0x1366c2){if(!_0x262339['length'])return _0x262339;let _0x1f38e7=_0x262339['length'],_0x3185a1=_0x566d63;for(;_0x1f38e7;){let _0x4c5e8a=_0x1eac1d(_0x262339[_0x1f38e7-0x1],_0x1366c2,_0x3185a1);if(_0x4c5e8a['changes']&&!_0x4c5e8a['changes']['empty']||_0x4c5e8a['effects']['length']){let _0x124d30=_0x262339['slice'](0x0,_0x1f38e7);return _0x124d30[_0x1f38e7-0x1]=_0x4c5e8a,_0x124d30;}_0x1366c2=_0x4c5e8a['mapped'],_0x1f38e7--,_0x3185a1=_0x4c5e8a['selectionsAfter'];}return _0x3185a1['length']?[_0x2d9f16['selection'](_0x3185a1)]:_0x566d63;}function _0x1eac1d(_0x271fe0,_0x3651e7,_0x2e3c8f){let _0x31e0fc=_0x232d28(_0x271fe0['selectionsAfter']['length']?_0x271fe0['selectionsAfter']['map'](_0x5432d0=>_0x5432d0['map'](_0x3651e7)):_0x566d63,_0x2e3c8f);if(!_0x271fe0['changes'])return _0x2d9f16['selection'](_0x31e0fc);let _0xd376a6=_0x271fe0['changes']['map'](_0x3651e7),_0xf545f5=_0x3651e7['mapDesc'](_0x271fe0['changes'],!0x0),_0x2c1327=_0x271fe0['mapped']?_0x271fe0['mapped']['composeDesc'](_0xf545f5):_0xf545f5;return new _0x2d9f16(_0xd376a6,_0x1f791d['mapEffects'](_0x271fe0['effects'],_0x3651e7),_0x2c1327,_0x271fe0['startSelection']['map'](_0xf545f5),_0x31e0fc);}const _0x398da1=/^(input\.type|delete)($|\.)/;var _0x31d946=class HistoryState{constructor(_0xe68f00,_0xb3e4a3,_0x184145=0x0,_0x781b06=void 0x0){this['done']=_0xe68f00,this['undone']=_0xb3e4a3,this['prevTime']=_0x184145,this['prevUserEvent']=_0x781b06;}isolate(){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x7d7962,_0x52e7a4,_0x1e12e1,_0x2637d9,_0x4162f7){let _0x3ba16e=this['done'],_0x1de264=_0x3ba16e[_0x3ba16e['length']-0x1];return _0x3ba16e=_0x1de264&&_0x1de264['changes']&&!_0x1de264['changes']['empty']&&_0x7d7962['changes']&&(!_0x1e12e1||_0x398da1['test'](_0x1e12e1))&&(!_0x1de264['selectionsAfter']['length']&&_0x52e7a4-this['prevTime']<_0x2637d9['newGroupDelay']&&_0x2637d9['joinToEvent'](_0x4162f7,function(_0x38f9e1,_0x6b419e){let _0xf2fe9f=[],_0x49bc99=!0x1;return _0x38f9e1['iterChangedRanges']((_0x1a82c6,t)=>_0xf2fe9f['push'](_0x1a82c6,t)),_0x6b419e['iterChangedRanges']((_0x305290,_0x20b76e,_0x29fefa,t)=>{for(let _0x4ffc90=0x0;_0x4ffc90<_0xf2fe9f['length'];){let _0x2ed208=_0xf2fe9f[_0x4ffc90++],_0x5890da=_0xf2fe9f[_0x4ffc90++];t>=_0x2ed208&&_0x29fefa<=_0x5890da&&(_0x49bc99=!0x0);}}),_0x49bc99;}(_0x1de264['changes'],_0x7d7962['changes']))||'input.type.compose'==_0x1e12e1)?_0x26a5f2(_0x3ba16e,_0x3ba16e['length']-0x1,_0x2637d9['minDepth'],new _0x2d9f16(_0x7d7962['changes']['compose'](_0x1de264['changes']),_0x232d28(_0x1f791d['mapEffects'](_0x7d7962['effects'],_0x1de264['changes']),_0x1de264['effects']),_0x1de264['mapped'],_0x1de264['startSelection'],_0x566d63)):_0x26a5f2(_0x3ba16e,_0x3ba16e['length'],_0x2637d9['minDepth'],_0x7d7962),new HistoryState(_0x3ba16e,_0x566d63,_0x52e7a4,_0x1e12e1);}addSelection(_0x2215ce,_0x255cff,_0x46d839,_0x23283d){let _0x52ab50=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x566d63;return _0x52ab50['length']>0x0&&_0x255cff-this['prevTime']<_0x23283d&&_0x46d839==this['prevUserEvent']&&_0x46d839&&/^select($|\.)/['test'](_0x46d839)&&(_0x143b29=_0x52ab50[_0x52ab50['length']-0x1],_0x11da96=_0x2215ce,_0x143b29['ranges']['length']==_0x11da96['ranges']['length']&&0x0===_0x143b29['ranges']['filter']((_0x3c3acd,_0x1a2db3)=>_0x3c3acd['empty']!=_0x11da96['ranges'][_0x1a2db3]['empty'])['length'])?this:new HistoryState(_0x161119(this['done'],_0x2215ce),this['undone'],_0x255cff,_0x46d839);var _0x143b29,_0x11da96;}['addMapping'](_0x4df6e1){return new HistoryState(_0x426295(this['done'],_0x4df6e1),_0x426295(this['undone'],_0x4df6e1),this['prevTime'],this['prevUserEvent']);}['pop'](_0x608f09,_0x3f7800,_0x2e8a6d){let _0x54573f=0x0==_0x608f09?this['done']:this['undone'];if(0x0==_0x54573f['length'])return null;let _0x473f9b=_0x54573f[_0x54573f['length']-0x1],_0x1e6ab5=_0x473f9b['selectionsAfter'][0x0]||_0x3f7800['selection'];if(_0x2e8a6d&&_0x473f9b['selectionsAfter']['length'])return _0x3f7800['update']({'selection':_0x473f9b['selectionsAfter'][_0x473f9b['selectionsAfter']['length']-0x1],'annotations':_0x34f2da['of']({'side':_0x608f09,'rest':_0x2d1079(_0x54573f),'selection':_0x1e6ab5}),'userEvent':0x0==_0x608f09?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x473f9b['changes']){let _0x26660d=0x1==_0x54573f['length']?_0x566d63:_0x54573f['slice'](0x0,_0x54573f['length']-0x1);return _0x473f9b['mapped']&&(_0x26660d=_0x426295(_0x26660d,_0x473f9b['mapped'])),_0x3f7800['update']({'changes':_0x473f9b['changes'],'selection':_0x473f9b['startSelection'],'effects':_0x473f9b['effects'],'annotations':_0x34f2da['of']({'side':_0x608f09,'rest':_0x26660d,'selection':_0x1e6ab5}),'filter':!0x1,'userEvent':0x0==_0x608f09?'undo':'redo','scrollIntoView':!0x0});}return null;}};_0x31d946['empty']=new _0x31d946(_0x566d63,_0x566d63);const _0x2b90c2=[{'key':'Mod-z','run':_0x7fb4bc,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x21d3e9,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x21d3e9,'preventDefault':!0x0},{'key':'Mod-u','run':_0x1baf64,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':_0x2c91aa,'preventDefault':!0x0}];function _0x1d29a0(_0x48b043,_0x3c65e6){return _0x3bda1f['create'](_0x48b043['ranges']['map'](_0x3c65e6),_0x48b043['mainIndex']);}function _0x3af75a(_0x7944f2,_0x3f6eba){return _0x7944f2['update']({'selection':_0x3f6eba,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x158d0d({state:_0x122cbe,dispatch:_0x361d18},_0x43d96d){let _0x5486fa=_0x1d29a0(_0x122cbe['selection'],_0x43d96d);return!_0x5486fa['eq'](_0x122cbe['selection'],!0x0)&&(_0x361d18(_0x3af75a(_0x122cbe,_0x5486fa)),!0x0);}function _0x410c00(_0x2b360a,_0x5e9abb){return _0x3bda1f['cursor'](_0x5e9abb?_0x2b360a['to']:_0x2b360a['from']);}function _0x54d6f3(_0x17294a,_0x42a4a8){return _0x158d0d(_0x17294a,_0x239768=>_0x239768['empty']?_0x17294a['moveByChar'](_0x239768,_0x42a4a8):_0x410c00(_0x239768,_0x42a4a8));}function _0x422add(_0x369767){return _0x369767['textDirectionAt'](_0x369767['state']['selection']['main']['head'])==_0xf0cb7b['LTR'];}const _0x21c271=_0x3b61a4=>_0x54d6f3(_0x3b61a4,!_0x422add(_0x3b61a4)),_0x54730b=_0x603c3d=>_0x54d6f3(_0x603c3d,_0x422add(_0x603c3d));function _0x1ee7ad(_0x363e27,_0x2f22a0){return _0x158d0d(_0x363e27,_0x40b949=>_0x40b949['empty']?_0x363e27['moveByGroup'](_0x40b949,_0x2f22a0):_0x410c00(_0x40b949,_0x2f22a0));}function _0x27d6fa(_0x1a920c,_0x40aa85,_0x2d70e2){if(_0x40aa85['type']['prop'](_0x2d70e2))return!0x0;let _0x46d685=_0x40aa85['to']-_0x40aa85['from'];return _0x46d685&&(_0x46d685>0x2||/[^\s,.;:]/['test'](_0x1a920c['sliceDoc'](_0x40aa85['from'],_0x40aa85['to'])))||_0x40aa85['firstChild'];}function _0x3a453d(_0x5b6c96,_0x3f7e01,_0x4eaf50){let _0x4efcf6,_0x1a7a66,_0x485357=_0x393d13(_0x5b6c96)['resolveInner'](_0x3f7e01['head']),_0x21baaa=_0x4eaf50?_0x320816['closedBy']:_0x320816['openedBy'];for(let _0x1ec361=_0x3f7e01['head'];;){let _0xcf0b68=_0x4eaf50?_0x485357['childAfter'](_0x1ec361):_0x485357['childBefore'](_0x1ec361);if(!_0xcf0b68)break;_0x27d6fa(_0x5b6c96,_0xcf0b68,_0x21baaa)?_0x485357=_0xcf0b68:_0x1ec361=_0x4eaf50?_0xcf0b68['to']:_0xcf0b68['from'];}return _0x1a7a66=_0x485357['type']['prop'](_0x21baaa)&&(_0x4efcf6=_0x4eaf50?_0x4ca9fc(_0x5b6c96,_0x485357['from'],0x1):_0x4ca9fc(_0x5b6c96,_0x485357['to'],-0x1))&&_0x4efcf6['matched']?_0x4eaf50?_0x4efcf6['end']['to']:_0x4efcf6['end']['from']:_0x4eaf50?_0x485357['to']:_0x485357['from'],_0x3bda1f['cursor'](_0x1a7a66,_0x4eaf50?-0x1:0x1);}'undefined'!=typeof Intl&&Intl['Segmenter'];function _0x4dd380(_0x5368bb,_0x3a90c4){return _0x158d0d(_0x5368bb,_0x405058=>{if(!_0x405058['empty'])return _0x410c00(_0x405058,_0x3a90c4);let _0x245f4b=_0x5368bb['moveVertically'](_0x405058,_0x3a90c4);return _0x245f4b['head']!=_0x405058['head']?_0x245f4b:_0x5368bb['moveToLineBoundary'](_0x405058,_0x3a90c4);});}const _0x1c9a0e=_0xea60fa=>_0x4dd380(_0xea60fa,!0x1),_0x4c25aa=_0x4e4a2e=>_0x4dd380(_0x4e4a2e,!0x0);function _0x179dac(_0x5e3f3a){let _0x276049,_0x28d241=_0x5e3f3a['scrollDOM']['clientHeight']<_0x5e3f3a['scrollDOM']['scrollHeight']-0x2,_0x499f87=0x0,_0x44a8e1=0x0;if(_0x28d241){for(let _0x3100a1 of _0x5e3f3a['state']['facet'](_0x51f1f4['scrollMargins'])){let _0x5aac11=_0x3100a1(_0x5e3f3a);(null==_0x5aac11?void 0x0:_0x5aac11['top'])&&(_0x499f87=Math['max'](null==_0x5aac11?void 0x0:_0x5aac11['top'],_0x499f87)),(null==_0x5aac11?void 0x0:_0x5aac11['bottom'])&&(_0x44a8e1=Math['max'](null==_0x5aac11?void 0x0:_0x5aac11['bottom'],_0x44a8e1));}_0x276049=_0x5e3f3a['scrollDOM']['clientHeight']-_0x499f87-_0x44a8e1;}else _0x276049=(_0x5e3f3a['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x499f87,'marginBottom':_0x44a8e1,'selfScroll':_0x28d241,'height':Math['max'](_0x5e3f3a['defaultLineHeight'],_0x276049-0x5)};}function _0x29afcc(_0x23334d,_0x79eb49){let _0xc144fd,_0x10bf02=_0x179dac(_0x23334d),{state:_0x1a860f}=_0x23334d,_0xac36b8=_0x1d29a0(_0x1a860f['selection'],_0x45e465=>_0x45e465['empty']?_0x23334d['moveVertically'](_0x45e465,_0x79eb49,_0x10bf02['height']):_0x410c00(_0x45e465,_0x79eb49));if(_0xac36b8['eq'](_0x1a860f['selection']))return!0x1;if(_0x10bf02['selfScroll']){let _0x128b8c=_0x23334d['coordsAtPos'](_0x1a860f['selection']['main']['head']),_0x8a88e8=_0x23334d['scrollDOM']['getBoundingClientRect'](),_0x2b6834=_0x8a88e8['top']+_0x10bf02['marginTop'],_0x1a606e=_0x8a88e8['bottom']-_0x10bf02['marginBottom'];_0x128b8c&&_0x128b8c['top']>_0x2b6834&&_0x128b8c['bottom']<_0x1a606e&&(_0xc144fd=_0x51f1f4['scrollIntoView'](_0xac36b8['main']['head'],{'y':'start','yMargin':_0x128b8c['top']-_0x2b6834}));}return _0x23334d['dispatch'](_0x3af75a(_0x1a860f,_0xac36b8),{'effects':_0xc144fd}),!0x0;}const _0x2c003c=_0x3c7d0c=>_0x29afcc(_0x3c7d0c,!0x1),_0x172fb6=_0x5a3917=>_0x29afcc(_0x5a3917,!0x0);function _0x4f8d8b(_0x44a6be,_0x1ea5be,_0xb0955c){let _0x30cbe2=_0x44a6be['lineBlockAt'](_0x1ea5be['head']),_0x27203c=_0x44a6be['moveToLineBoundary'](_0x1ea5be,_0xb0955c);if(_0x27203c['head']==_0x1ea5be['head']&&_0x27203c['head']!=(_0xb0955c?_0x30cbe2['to']:_0x30cbe2['from'])&&(_0x27203c=_0x44a6be['moveToLineBoundary'](_0x1ea5be,_0xb0955c,!0x1)),!_0xb0955c&&_0x27203c['head']==_0x30cbe2['from']&&_0x30cbe2['length']){let _0x2c8694=/^\s*/['exec'](_0x44a6be['state']['sliceDoc'](_0x30cbe2['from'],Math['min'](_0x30cbe2['from']+0x64,_0x30cbe2['to'])))[0x0]['length'];_0x2c8694&&_0x1ea5be['head']!=_0x30cbe2['from']+_0x2c8694&&(_0x27203c=_0x3bda1f['cursor'](_0x30cbe2['from']+_0x2c8694));}return _0x27203c;}function _0x3c503f(_0x1a9d5f,_0x40fd6a){let _0x1a3411=_0x1d29a0(_0x1a9d5f['state']['selection'],_0x1883cd=>{let _0x120328=_0x40fd6a(_0x1883cd);return _0x3bda1f['range'](_0x1883cd['anchor'],_0x120328['head'],_0x120328['goalColumn'],_0x120328['bidiLevel']||void 0x0);});return!_0x1a3411['eq'](_0x1a9d5f['state']['selection'])&&(_0x1a9d5f['dispatch'](_0x3af75a(_0x1a9d5f['state'],_0x1a3411)),!0x0);}function _0x8bc911(_0x43e75e,_0x5dafa1){return _0x3c503f(_0x43e75e,_0x2ef9cf=>_0x43e75e['moveByChar'](_0x2ef9cf,_0x5dafa1));}const _0x55d426=_0x340d4c=>_0x8bc911(_0x340d4c,!_0x422add(_0x340d4c)),_0x33356e=_0x52a34b=>_0x8bc911(_0x52a34b,_0x422add(_0x52a34b));function tV(_0x48b743,_0xe213bf){return _0x3c503f(_0x48b743,_0x2d1711=>_0x48b743['moveByGroup'](_0x2d1711,_0xe213bf));}function _0x41df3c(_0x382262,_0x3df831){return _0x3c503f(_0x382262,_0x32a9b3=>_0x382262['moveVertically'](_0x32a9b3,_0x3df831));}const _0x51f26d=_0x5bdc40=>_0x41df3c(_0x5bdc40,!0x1),_0x333ed2=_0x18ec61=>_0x41df3c(_0x18ec61,!0x0);function _0xf81655(_0x310b5c,_0x4b2117){return _0x3c503f(_0x310b5c,_0x257784=>_0x310b5c['moveVertically'](_0x257784,_0x4b2117,_0x179dac(_0x310b5c)['height']));}const _0x552083=_0x507724=>_0xf81655(_0x507724,!0x1),_0x1fa2b3=_0x490411=>_0xf81655(_0x490411,!0x0),_0x3ac046=({state:_0x2cae17,dispatch:_0x314f3a})=>(_0x314f3a(_0x3af75a(_0x2cae17,{'anchor':0x0})),!0x0),_0x4caee3=({state:_0x555da9,dispatch:_0x27892e})=>(_0x27892e(_0x3af75a(_0x555da9,{'anchor':_0x555da9['doc']['length']})),!0x0),_0x21ec89=({state:_0x42054d,dispatch:_0x1932eb})=>(_0x1932eb(_0x3af75a(_0x42054d,{'anchor':_0x42054d['selection']['main']['anchor'],'head':0x0})),!0x0),_0x4e5cff=({state:_0x585536,dispatch:_0x377bcc})=>(_0x377bcc(_0x3af75a(_0x585536,{'anchor':_0x585536['selection']['main']['anchor'],'head':_0x585536['doc']['length']})),!0x0);function _0x4a78da(_0x389edf,_0x42a13a){if(_0x389edf['state']['readOnly'])return!0x1;let _0x4377dd='delete.selection',{state:_0x229f91}=_0x389edf,_0x114577=_0x229f91['changeByRange'](_0x124cdb=>{let {from:_0x5a2756,to:_0xce061a}=_0x124cdb;if(_0x5a2756==_0xce061a){let _0x14147f=_0x42a13a(_0x124cdb);_0x14147f<_0x5a2756?(_0x4377dd='delete.backward',_0x14147f=_0x24cc29(_0x389edf,_0x14147f,!0x1)):_0x14147f>_0x5a2756&&(_0x4377dd='delete.forward',_0x14147f=_0x24cc29(_0x389edf,_0x14147f,!0x0)),_0x5a2756=Math['min'](_0x5a2756,_0x14147f),_0xce061a=Math['max'](_0xce061a,_0x14147f);}else _0x5a2756=_0x24cc29(_0x389edf,_0x5a2756,!0x1),_0xce061a=_0x24cc29(_0x389edf,_0xce061a,!0x0);return _0x5a2756==_0xce061a?{'range':_0x124cdb}:{'changes':{'from':_0x5a2756,'to':_0xce061a},'range':_0x3bda1f['cursor'](_0x5a2756,_0x5a2756<_0x124cdb['head']?-0x1:0x1)};});return!_0x114577['changes']['empty']&&(_0x389edf['dispatch'](_0x229f91['update'](_0x114577,{'scrollIntoView':!0x0,'userEvent':_0x4377dd,'effects':'delete.selection'==_0x4377dd?_0x51f1f4['announce']['of'](_0x229f91['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function _0x24cc29(_0xe67296,_0x467b50,_0x145bbd){if(_0xe67296 instanceof _0x51f1f4){for(let _0x64c8de of _0xe67296['state']['facet'](_0x51f1f4['atomicRanges'])['map'](_0x38eb96=>_0x38eb96(_0xe67296)))_0x64c8de['between'](_0x467b50,_0x467b50,(_0x37a0f3,_0x93b563)=>{_0x37a0f3<_0x467b50&&_0x93b563>_0x467b50&&(_0x467b50=_0x145bbd?_0x93b563:_0x37a0f3);});}return _0x467b50;}const _0x259e34=(_0x2ec935,_0x3869c3,_0x126819)=>_0x4a78da(_0x2ec935,_0x592c24=>{let _0x24ffbb,_0x44d291,_0x29d2c1=_0x592c24['from'],{state:_0x4184cc}=_0x2ec935,_0x2d51f3=_0x4184cc['doc']['lineAt'](_0x29d2c1);if(_0x126819&&!_0x3869c3&&_0x29d2c1>_0x2d51f3['from']&&_0x29d2c1<_0x2d51f3['from']+0xc8&&!/[^ \t]/['test'](_0x24ffbb=_0x2d51f3['text']['slice'](0x0,_0x29d2c1-_0x2d51f3['from']))){if('\x09'==_0x24ffbb[_0x24ffbb['length']-0x1])return _0x29d2c1-0x1;let _0x89fdab=_0x5d2e97(_0x24ffbb,_0x4184cc['tabSize'])%_0x28ea97(_0x4184cc)||_0x28ea97(_0x4184cc);for(let _0xbd5931=0x0;_0xbd5931<_0x89fdab&&'\x20'==_0x24ffbb[_0x24ffbb['length']-0x1-_0xbd5931];_0xbd5931++)_0x29d2c1--;_0x44d291=_0x29d2c1;}else _0x44d291=_0x53fca1(_0x2d51f3['text'],_0x29d2c1-_0x2d51f3['from'],_0x3869c3,_0x3869c3)+_0x2d51f3['from'],_0x44d291==_0x29d2c1&&_0x2d51f3['number']!=(_0x3869c3?_0x4184cc['doc']['lines']:0x1)?_0x44d291+=_0x3869c3?0x1:-0x1:!_0x3869c3&&/[\ufe00-\ufe0f]/['test'](_0x2d51f3['text']['slice'](_0x44d291-_0x2d51f3['from'],_0x29d2c1-_0x2d51f3['from']))&&(_0x44d291=_0x53fca1(_0x2d51f3['text'],_0x44d291-_0x2d51f3['from'],!0x1,!0x1)+_0x2d51f3['from']);return _0x44d291;}),_0x2167c5=_0x4903a7=>_0x259e34(_0x4903a7,!0x1,!0x0),_0x29b9f0=_0x1265dd=>_0x259e34(_0x1265dd,!0x0,!0x1),_0x79cced=(_0x2c09f1,_0x4ec984)=>_0x4a78da(_0x2c09f1,_0x3b786f=>{let _0x1a2e60=_0x3b786f['head'],{state:_0x15c67d}=_0x2c09f1,_0x27efed=_0x15c67d['doc']['lineAt'](_0x1a2e60),_0x4b843a=_0x15c67d['charCategorizer'](_0x1a2e60);for(let _0x4898cd=null;;){if(_0x1a2e60==(_0x4ec984?_0x27efed['to']:_0x27efed['from'])){_0x1a2e60==_0x3b786f['head']&&_0x27efed['number']!=(_0x4ec984?_0x15c67d['doc']['lines']:0x1)&&(_0x1a2e60+=_0x4ec984?0x1:-0x1);break;}let _0x14aab4=_0x53fca1(_0x27efed['text'],_0x1a2e60-_0x27efed['from'],_0x4ec984)+_0x27efed['from'],_0x209135=_0x27efed['text']['slice'](Math['min'](_0x1a2e60,_0x14aab4)-_0x27efed['from'],Math['max'](_0x1a2e60,_0x14aab4)-_0x27efed['from']),_0xe65db3=_0x4b843a(_0x209135);if(null!=_0x4898cd&&_0xe65db3!=_0x4898cd)break;'\x20'==_0x209135&&_0x1a2e60==_0x3b786f['head']||(_0x4898cd=_0xe65db3),_0x1a2e60=_0x14aab4;}return _0x1a2e60;}),_0xeb0bdc=_0x569fae=>_0x79cced(_0x569fae,!0x1);function _0x3332f1(_0x4e2bc0){let _0x1c370f=[],_0x3cf729=-0x1;for(let _0x139794 of _0x4e2bc0['selection']['ranges']){let _0x2ef20a=_0x4e2bc0['doc']['lineAt'](_0x139794['from']),_0x1f1a81=_0x4e2bc0['doc']['lineAt'](_0x139794['to']);if(_0x139794['empty']||_0x139794['to']!=_0x1f1a81['from']||(_0x1f1a81=_0x4e2bc0['doc']['lineAt'](_0x139794['to']-0x1)),_0x3cf729>=_0x2ef20a['number']){let _0x73ee25=_0x1c370f[_0x1c370f['length']-0x1];_0x73ee25['to']=_0x1f1a81['to'],_0x73ee25['ranges']['push'](_0x139794);}else _0x1c370f['push']({'from':_0x2ef20a['from'],'to':_0x1f1a81['to'],'ranges':[_0x139794]});_0x3cf729=_0x1f1a81['number']+0x1;}return _0x1c370f;}function _0x496c98(_0x1507d3,_0x191b3d,_0x182d7e){if(_0x1507d3['readOnly'])return!0x1;let _0x2e3664=[],_0x467aff=[];for(let _0xe882c9 of _0x3332f1(_0x1507d3)){if(_0x182d7e?_0xe882c9['to']==_0x1507d3['doc']['length']:0x0==_0xe882c9['from'])continue;let _0x4f2227=_0x1507d3['doc']['lineAt'](_0x182d7e?_0xe882c9['to']+0x1:_0xe882c9['from']-0x1),_0x374138=_0x4f2227['length']+0x1;if(_0x182d7e){_0x2e3664['push']({'from':_0xe882c9['to'],'to':_0x4f2227['to']},{'from':_0xe882c9['from'],'insert':_0x4f2227['text']+_0x1507d3['lineBreak']});for(let _0x48e4b1 of _0xe882c9['ranges'])_0x467aff['push'](_0x3bda1f['range'](Math['min'](_0x1507d3['doc']['length'],_0x48e4b1['anchor']+_0x374138),Math['min'](_0x1507d3['doc']['length'],_0x48e4b1['head']+_0x374138)));}else{_0x2e3664['push']({'from':_0x4f2227['from'],'to':_0xe882c9['from']},{'from':_0xe882c9['to'],'insert':_0x1507d3['lineBreak']+_0x4f2227['text']});for(let _0x50e9a2 of _0xe882c9['ranges'])_0x467aff['push'](_0x3bda1f['range'](_0x50e9a2['anchor']-_0x374138,_0x50e9a2['head']-_0x374138));}}return!!_0x2e3664['length']&&(_0x191b3d(_0x1507d3['update']({'changes':_0x2e3664,'scrollIntoView':!0x0,'selection':_0x3bda1f['create'](_0x467aff,_0x1507d3['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function _0x3d236c(_0x58a252,_0x4716aa,_0x56dfc3){if(_0x58a252['readOnly'])return!0x1;let _0x543aa8=[];for(let _0x139ef7 of _0x3332f1(_0x58a252))_0x56dfc3?_0x543aa8['push']({'from':_0x139ef7['from'],'insert':_0x58a252['doc']['slice'](_0x139ef7['from'],_0x139ef7['to'])+_0x58a252['lineBreak']}):_0x543aa8['push']({'from':_0x139ef7['to'],'insert':_0x58a252['lineBreak']+_0x58a252['doc']['slice'](_0x139ef7['from'],_0x139ef7['to'])});return _0x4716aa(_0x58a252['update']({'changes':_0x543aa8,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x5bacdc=_0x164623(!0x1),_0x4bc13f=_0x164623(!0x0);function _0x164623(_0xb48015){return({state:_0x5b8edd,dispatch:_0x5fd161})=>{if(_0x5b8edd['readOnly'])return!0x1;let _0x380c1e=_0x5b8edd['changeByRange'](_0xe3d17=>{let {from:_0x81d415,to:_0x1f6dbe}=_0xe3d17,_0x4dd299=_0x5b8edd['doc']['lineAt'](_0x81d415),_0x8e7d92=!_0xb48015&&_0x81d415==_0x1f6dbe&&function(_0x264b85,_0x3c9498){if(/\(\)|\[\]|\{\}/['test'](_0x264b85['sliceDoc'](_0x3c9498-0x1,_0x3c9498+0x1)))return{'from':_0x3c9498,'to':_0x3c9498};let _0x3ab325,_0x2dc92c=_0x393d13(_0x264b85)['resolveInner'](_0x3c9498),_0x207e7c=_0x2dc92c['childBefore'](_0x3c9498),_0x577dcd=_0x2dc92c['childAfter'](_0x3c9498);return _0x207e7c&&_0x577dcd&&_0x207e7c['to']<=_0x3c9498&&_0x577dcd['from']>=_0x3c9498&&(_0x3ab325=_0x207e7c['type']['prop'](_0x320816['closedBy']))&&_0x3ab325['indexOf'](_0x577dcd['name'])>-0x1&&_0x264b85['doc']['lineAt'](_0x207e7c['to'])['from']==_0x264b85['doc']['lineAt'](_0x577dcd['from'])['from']&&!/\S/['test'](_0x264b85['sliceDoc'](_0x207e7c['to'],_0x577dcd['from']))?{'from':_0x207e7c['to'],'to':_0x577dcd['from']}:null;}(_0x5b8edd,_0x81d415);_0xb48015&&(_0x81d415=_0x1f6dbe=(_0x1f6dbe<=_0x4dd299['to']?_0x4dd299:_0x5b8edd['doc']['lineAt'](_0x1f6dbe))['to']);let _0xf1b25d=new _0x4c59cb(_0x5b8edd,{'simulateBreak':_0x81d415,'simulateDoubleBreak':!!_0x8e7d92}),_0x462926=_0x25e2ee(_0xf1b25d,_0x81d415);for(null==_0x462926&&(_0x462926=_0x5d2e97(/^\s*/['exec'](_0x5b8edd['doc']['lineAt'](_0x81d415)['text'])[0x0],_0x5b8edd['tabSize']));_0x1f6dbe<_0x4dd299['to']&&/\s/['test'](_0x4dd299['text'][_0x1f6dbe-_0x4dd299['from']]);)_0x1f6dbe++;_0x8e7d92?{from:_0x81d415,to:_0x1f6dbe}=_0x8e7d92:_0x81d415>_0x4dd299['from']&&_0x81d415<_0x4dd299['from']+0x64&&!/\S/['test'](_0x4dd299['text']['slice'](0x0,_0x81d415))&&(_0x81d415=_0x4dd299['from']);let _0x219ec5=['',_0x4355bf(_0x5b8edd,_0x462926)];return _0x8e7d92&&_0x219ec5['push'](_0x4355bf(_0x5b8edd,_0xf1b25d['lineIndent'](_0x4dd299['from'],-0x1))),{'changes':{'from':_0x81d415,'to':_0x1f6dbe,'insert':_0x4293ea['of'](_0x219ec5)},'range':_0x3bda1f['cursor'](_0x81d415+0x1+_0x219ec5[0x1]['length'])};});return _0x5fd161(_0x5b8edd['update'](_0x380c1e,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function _0x242e56(_0x3d0969,_0x2f1881){let _0x18b4d3=-0x1;return _0x3d0969['changeByRange'](_0x2a7560=>{let _0x1f3d4b=[];for(let _0x323554=_0x2a7560['from'];_0x323554<=_0x2a7560['to'];){let _0x903569=_0x3d0969['doc']['lineAt'](_0x323554);_0x903569['number']>_0x18b4d3&&(_0x2a7560['empty']||_0x2a7560['to']>_0x903569['from'])&&(_0x2f1881(_0x903569,_0x1f3d4b,_0x2a7560),_0x18b4d3=_0x903569['number']),_0x323554=_0x903569['to']+0x1;}let _0x1590a=_0x3d0969['changes'](_0x1f3d4b);return{'changes':_0x1f3d4b,'range':_0x3bda1f['range'](_0x1590a['mapPos'](_0x2a7560['anchor'],0x1),_0x1590a['mapPos'](_0x2a7560['head'],0x1))};});}const _0x14f968=({state:_0x14286e,dispatch:_0x3ccf66})=>!_0x14286e['readOnly']&&(_0x3ccf66(_0x14286e['update'](_0x242e56(_0x14286e,(_0x1010cd,_0x3db4c6)=>{_0x3db4c6['push']({'from':_0x1010cd['from'],'insert':_0x14286e['facet'](_0x277d90)});}),{'userEvent':'input.indent'})),!0x0),_0x4682cd=({state:_0x10c913,dispatch:_0x749e61})=>!_0x10c913['readOnly']&&(_0x749e61(_0x10c913['update'](_0x242e56(_0x10c913,(_0x12addf,_0x451afc)=>{let _0x473fbf=/^\s*/['exec'](_0x12addf['text'])[0x0];if(!_0x473fbf)return;let _0x11fe86=_0x5d2e97(_0x473fbf,_0x10c913['tabSize']),_0x4b89f8=0x0,_0x451eea=_0x4355bf(_0x10c913,Math['max'](0x0,_0x11fe86-_0x28ea97(_0x10c913)));for(;_0x4b89f8<_0x473fbf['length']&&_0x4b89f8<_0x451eea['length']&&_0x473fbf['charCodeAt'](_0x4b89f8)==_0x451eea['charCodeAt'](_0x4b89f8);)_0x4b89f8++;_0x451afc['push']({'from':_0x12addf['from']+_0x4b89f8,'to':_0x12addf['from']+_0x473fbf['length'],'insert':_0x451eea['slice'](_0x4b89f8)});}),{'userEvent':'delete.dedent'})),!0x0),_0x459c58=_0x57789b=>(_0x57789b['setTabFocusMode'](),!0x0),_0x20fd86=[{'key':'Ctrl-b','run':_0x21c271,'shift':_0x55d426,'preventDefault':!0x0},{'key':'Ctrl-f','run':_0x54730b,'shift':_0x33356e},{'key':'Ctrl-p','run':_0x1c9a0e,'shift':_0x51f26d},{'key':'Ctrl-n','run':_0x4c25aa,'shift':_0x333ed2},{'key':'Ctrl-a','run':_0x465784=>_0x158d0d(_0x465784,_0x5d5f47=>_0x3bda1f['cursor'](_0x465784['lineBlockAt'](_0x5d5f47['head'])['from'],0x1)),'shift':_0x44d130=>_0x3c503f(_0x44d130,_0x1352c8=>_0x3bda1f['cursor'](_0x44d130['lineBlockAt'](_0x1352c8['head'])['from']))},{'key':'Ctrl-e','run':_0x33089e=>_0x158d0d(_0x33089e,_0x48adf6=>_0x3bda1f['cursor'](_0x33089e['lineBlockAt'](_0x48adf6['head'])['to'],-0x1)),'shift':_0x5c8be3=>_0x3c503f(_0x5c8be3,_0x8a26e3=>_0x3bda1f['cursor'](_0x5c8be3['lineBlockAt'](_0x8a26e3['head'])['to']))},{'key':'Ctrl-d','run':_0x29b9f0},{'key':'Ctrl-h','run':_0x2167c5},{'key':'Ctrl-k','run':_0x5b9054=>_0x4a78da(_0x5b9054,_0x422a1b=>{let _0x589835=_0x5b9054['lineBlockAt'](_0x422a1b['head'])['to'];return _0x422a1b['head']<_0x589835?_0x589835:Math['min'](_0x5b9054['state']['doc']['length'],_0x422a1b['head']+0x1);})},{'key':'Ctrl-Alt-h','run':_0xeb0bdc},{'key':'Ctrl-o','run':({state:_0x4c434b,dispatch:_0x2a5bbf})=>{if(_0x4c434b['readOnly'])return!0x1;let _0x17a3df=_0x4c434b['changeByRange'](_0x5cc3e6=>({'changes':{'from':_0x5cc3e6['from'],'to':_0x5cc3e6['to'],'insert':_0x4293ea['of'](['',''])},'range':_0x3bda1f['cursor'](_0x5cc3e6['from'])}));return _0x2a5bbf(_0x4c434b['update'](_0x17a3df,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x11a0c6,dispatch:_0x1dcbda})=>{if(_0x11a0c6['readOnly'])return!0x1;let _0x353de5=_0x11a0c6['changeByRange'](_0x16081e=>{if(!_0x16081e['empty']||0x0==_0x16081e['from']||_0x16081e['from']==_0x11a0c6['doc']['length'])return{'range':_0x16081e};let _0x1a702a=_0x16081e['from'],_0x4b22f8=_0x11a0c6['doc']['lineAt'](_0x1a702a),_0x41fb44=_0x1a702a==_0x4b22f8['from']?_0x1a702a-0x1:_0x53fca1(_0x4b22f8['text'],_0x1a702a-_0x4b22f8['from'],!0x1)+_0x4b22f8['from'],_0x46789a=_0x1a702a==_0x4b22f8['to']?_0x1a702a+0x1:_0x53fca1(_0x4b22f8['text'],_0x1a702a-_0x4b22f8['from'],!0x0)+_0x4b22f8['from'];return{'changes':{'from':_0x41fb44,'to':_0x46789a,'insert':_0x11a0c6['doc']['slice'](_0x1a702a,_0x46789a)['append'](_0x11a0c6['doc']['slice'](_0x41fb44,_0x1a702a))},'range':_0x3bda1f['cursor'](_0x46789a)};});return!_0x353de5['changes']['empty']&&(_0x1dcbda(_0x11a0c6['update'](_0x353de5,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':_0x172fb6}],_0x460e23=[{'key':'ArrowLeft','run':_0x21c271,'shift':_0x55d426,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x4c11fc=>_0x1ee7ad(_0x4c11fc,!_0x422add(_0x4c11fc)),'shift':_0x3d1cdc=>tV(_0x3d1cdc,!_0x422add(_0x3d1cdc)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x28aebd=>_0x158d0d(_0x28aebd,_0x10c8d3=>_0x4f8d8b(_0x28aebd,_0x10c8d3,!_0x422add(_0x28aebd))),'shift':_0x6ee3d0=>_0x3c503f(_0x6ee3d0,_0x12582a=>_0x4f8d8b(_0x6ee3d0,_0x12582a,!_0x422add(_0x6ee3d0))),'preventDefault':!0x0},{'key':'ArrowRight','run':_0x54730b,'shift':_0x33356e,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x5b00c0=>_0x1ee7ad(_0x5b00c0,_0x422add(_0x5b00c0)),'shift':_0x2bc9fe=>tV(_0x2bc9fe,_0x422add(_0x2bc9fe)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x344676=>_0x158d0d(_0x344676,_0x1ccd9b=>_0x4f8d8b(_0x344676,_0x1ccd9b,_0x422add(_0x344676))),'shift':_0x2dac4d=>_0x3c503f(_0x2dac4d,_0x393a05=>_0x4f8d8b(_0x2dac4d,_0x393a05,_0x422add(_0x2dac4d))),'preventDefault':!0x0},{'key':'ArrowUp','run':_0x1c9a0e,'shift':_0x51f26d,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':_0x3ac046,'shift':_0x21ec89},{'mac':'Ctrl-ArrowUp','run':_0x2c003c,'shift':_0x552083},{'key':'ArrowDown','run':_0x4c25aa,'shift':_0x333ed2,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x4caee3,'shift':_0x4e5cff},{'mac':'Ctrl-ArrowDown','run':_0x172fb6,'shift':_0x1fa2b3},{'key':'PageUp','run':_0x2c003c,'shift':_0x552083},{'key':'PageDown','run':_0x172fb6,'shift':_0x1fa2b3},{'key':'Home','run':_0x21a139=>_0x158d0d(_0x21a139,_0x58b2a5=>_0x4f8d8b(_0x21a139,_0x58b2a5,!0x1)),'shift':_0x3d0f74=>_0x3c503f(_0x3d0f74,_0x37eddc=>_0x4f8d8b(_0x3d0f74,_0x37eddc,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':_0x3ac046,'shift':_0x21ec89},{'key':'End','run':_0x14b1c7=>_0x158d0d(_0x14b1c7,_0x4fe769=>_0x4f8d8b(_0x14b1c7,_0x4fe769,!0x0)),'shift':_0x1bb857=>_0x3c503f(_0x1bb857,_0x289282=>_0x4f8d8b(_0x1bb857,_0x289282,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':_0x4caee3,'shift':_0x4e5cff},{'key':'Enter','run':_0x5bacdc,'shift':_0x5bacdc},{'key':'Mod-a','run':({state:_0x31aa37,dispatch:_0x29de14})=>(_0x29de14(_0x31aa37['update']({'selection':{'anchor':0x0,'head':_0x31aa37['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':_0x2167c5,'shift':_0x2167c5},{'key':'Delete','run':_0x29b9f0},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':_0xeb0bdc},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x364a98=>_0x79cced(_0x364a98,!0x0)},{'mac':'Mod-Backspace','run':_0x346b60=>_0x4a78da(_0x346b60,_0x294f15=>{let _0x38666f=_0x346b60['moveToLineBoundary'](_0x294f15,!0x1)['head'];return _0x294f15['head']>_0x38666f?_0x38666f:Math['max'](0x0,_0x294f15['head']-0x1);})},{'mac':'Mod-Delete','run':_0x1fc47a=>_0x4a78da(_0x1fc47a,_0x13faf7=>{let _0x25f48b=_0x1fc47a['moveToLineBoundary'](_0x13faf7,!0x0)['head'];return _0x13faf7['head']<_0x25f48b?_0x25f48b:Math['min'](_0x1fc47a['state']['doc']['length'],_0x13faf7['head']+0x1);})}]['concat'](_0x20fd86['map'](_0x4fc945=>({'mac':_0x4fc945['key'],'run':_0x4fc945['run'],'shift':_0x4fc945['shift']}))),_0x4ef187=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x17f606=>_0x158d0d(_0x17f606,_0x59cdab=>_0x3a453d(_0x17f606['state'],_0x59cdab,!_0x422add(_0x17f606))),'shift':_0x371d2e=>_0x3c503f(_0x371d2e,_0x12ff81=>_0x3a453d(_0x371d2e['state'],_0x12ff81,!_0x422add(_0x371d2e)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x29a4ad=>_0x158d0d(_0x29a4ad,_0x593ed0=>_0x3a453d(_0x29a4ad['state'],_0x593ed0,_0x422add(_0x29a4ad))),'shift':_0x17f65e=>_0x3c503f(_0x17f65e,_0x3df951=>_0x3a453d(_0x17f65e['state'],_0x3df951,_0x422add(_0x17f65e)))},{'key':'Alt-ArrowUp','run':({state:_0x35484c,dispatch:_0x22d3ed})=>_0x496c98(_0x35484c,_0x22d3ed,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0xe5e2d4,dispatch:_0xb133b6})=>_0x3d236c(_0xe5e2d4,_0xb133b6,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x73d675,dispatch:_0x998e3a})=>_0x496c98(_0x73d675,_0x998e3a,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x1cc70b,dispatch:_0x397751})=>_0x3d236c(_0x1cc70b,_0x397751,!0x0)},{'key':'Escape','run':({state:_0x5ab757,dispatch:_0x1ab096})=>{let _0x2e80a8=_0x5ab757['selection'],_0x514c3d=null;return _0x2e80a8['ranges']['length']>0x1?_0x514c3d=_0x3bda1f['create']([_0x2e80a8['main']]):_0x2e80a8['main']['empty']||(_0x514c3d=_0x3bda1f['create']([_0x3bda1f['cursor'](_0x2e80a8['main']['head'])])),!!_0x514c3d&&(_0x1ab096(_0x3af75a(_0x5ab757,_0x514c3d)),!0x0);}},{'key':'Mod-Enter','run':_0x4bc13f},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x19c029,dispatch:_0x34c334})=>{let _0x30ad0f=_0x3332f1(_0x19c029)['map'](({from:_0x1bce76,to:_0x1a6ad6})=>_0x3bda1f['range'](_0x1bce76,Math['min'](_0x1a6ad6+0x1,_0x19c029['doc']['length'])));return _0x34c334(_0x19c029['update']({'selection':_0x3bda1f['create'](_0x30ad0f),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0xe0b40e,dispatch:_0x353192})=>{let _0x542b72=_0x1d29a0(_0xe0b40e['selection'],_0x2fc7db=>{let _0x516cad=_0x393d13(_0xe0b40e),_0x25e008=_0x516cad['resolveStack'](_0x2fc7db['from'],0x1);if(_0x2fc7db['empty']){let _0xa7adcd=_0x516cad['resolveStack'](_0x2fc7db['from'],-0x1);_0xa7adcd['node']['from']>=_0x25e008['node']['from']&&_0xa7adcd['node']['to']<=_0x25e008['node']['to']&&(_0x25e008=_0xa7adcd);}for(let _0x43fecb=_0x25e008;_0x43fecb;_0x43fecb=_0x43fecb['next']){let {node:_0xb8b03}=_0x43fecb;if((_0xb8b03['from']<_0x2fc7db['from']&&_0xb8b03['to']>=_0x2fc7db['to']||_0xb8b03['to']>_0x2fc7db['to']&&_0xb8b03['from']<=_0x2fc7db['from'])&&_0x43fecb['next'])return _0x3bda1f['range'](_0xb8b03['to'],_0xb8b03['from']);}return _0x2fc7db;});return!_0x542b72['eq'](_0xe0b40e['selection'])&&(_0x353192(_0x3af75a(_0xe0b40e,_0x542b72)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':_0x4682cd},{'key':'Mod-]','run':_0x14f968},{'key':'Mod-Alt-\x5c','run':({state:_0x28c2b1,dispatch:_0x518e4b})=>{if(_0x28c2b1['readOnly'])return!0x1;let _0x4dbe9f=Object['create'](null),_0x60ce86=new _0x4c59cb(_0x28c2b1,{'overrideIndentation':_0x58f2c4=>{let _0x212aa8=_0x4dbe9f[_0x58f2c4];return null==_0x212aa8?-0x1:_0x212aa8;}}),_0x94ad43=_0x242e56(_0x28c2b1,(_0x41a2c8,_0x4be0fd,_0x411392)=>{let _0x2e9668=_0x25e2ee(_0x60ce86,_0x41a2c8['from']);if(null==_0x2e9668)return;/\S/['test'](_0x41a2c8['text'])||(_0x2e9668=0x0);let _0x6885f5=/^\s*/['exec'](_0x41a2c8['text'])[0x0],_0x2b2fc5=_0x4355bf(_0x28c2b1,_0x2e9668);(_0x6885f5!=_0x2b2fc5||_0x411392['from']<_0x41a2c8['from']+_0x6885f5['length'])&&(_0x4dbe9f[_0x41a2c8['from']]=_0x2e9668,_0x4be0fd['push']({'from':_0x41a2c8['from'],'to':_0x41a2c8['from']+_0x6885f5['length'],'insert':_0x2b2fc5}));});return _0x94ad43['changes']['empty']||_0x518e4b(_0x28c2b1['update'](_0x94ad43,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0xb260ff=>{if(_0xb260ff['state']['readOnly'])return!0x1;let {state:_0x393ae5}=_0xb260ff,_0x58e7dc=_0x393ae5['changes'](_0x3332f1(_0x393ae5)['map'](({from:_0x3697c5,to:_0x386a9f})=>(_0x3697c5>0x0?_0x3697c5--:_0x386a9f<_0x393ae5['doc']['length']&&_0x386a9f++,{'from':_0x3697c5,'to':_0x386a9f}))),_0x1866ee=_0x1d29a0(_0x393ae5['selection'],_0x5cbba2=>{let _0x52374f;if(_0xb260ff['lineWrapping']){let _0x3cf6bc=_0xb260ff['lineBlockAt'](_0x5cbba2['head']),_0x2ee159=_0xb260ff['coordsAtPos'](_0x5cbba2['head'],_0x5cbba2['assoc']||0x1);_0x2ee159&&(_0x52374f=_0x3cf6bc['bottom']+_0xb260ff['documentTop']-_0x2ee159['bottom']+_0xb260ff['defaultLineHeight']/0x2);}return _0xb260ff['moveVertically'](_0x5cbba2,!0x0,_0x52374f);})['map'](_0x58e7dc);return _0xb260ff['dispatch']({'changes':_0x58e7dc,'selection':_0x1866ee,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x41d19f,dispatch:_0x33faba})=>function(_0x191d52,_0x1bdb24,_0x37551b){let _0x3cfb72=!0x1,_0x502607=_0x1d29a0(_0x191d52['selection'],_0x23633e=>{let _0x28cc42=_0x4ca9fc(_0x191d52,_0x23633e['head'],-0x1)||_0x4ca9fc(_0x191d52,_0x23633e['head'],0x1)||_0x23633e['head']>0x0&&_0x4ca9fc(_0x191d52,_0x23633e['head']-0x1,0x1)||_0x23633e['head']<_0x191d52['doc']['length']&&_0x4ca9fc(_0x191d52,_0x23633e['head']+0x1,-0x1);if(!_0x28cc42||!_0x28cc42['end'])return _0x23633e;_0x3cfb72=!0x0;let _0x42ac6c=_0x28cc42['start']['from']==_0x23633e['head']?_0x28cc42['end']['to']:_0x28cc42['end']['from'];return _0x37551b?_0x3bda1f['range'](_0x23633e['anchor'],_0x42ac6c):_0x3bda1f['cursor'](_0x42ac6c);});return!!_0x3cfb72&&(_0x1bdb24(_0x3af75a(_0x191d52,_0x502607)),!0x0);}(_0x41d19f,_0x33faba,!0x1)},{'key':'Mod-/','run':_0x47a982=>{let {state:_0x3d9379}=_0x47a982,_0x32a7f2=_0x3d9379['doc']['lineAt'](_0x3d9379['selection']['main']['from']),_0x33503e=_0x11fde3(_0x47a982['state'],_0x32a7f2['from']);return _0x33503e['line']?_0x4d5b85(_0x47a982):!!_0x33503e['block']&&_0x55b3cf(_0x47a982);}},{'key':'Alt-A','run':_0x5d6a61},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':_0x459c58}]['concat'](_0x460e23);var _0x11e31f=class{constructor(_0x1bf065,_0x1f5284,_0x4d4249,_0x4ecc8b){this['state']=_0x1bf065,this['pos']=_0x1f5284,this['explicit']=_0x4d4249,this['view']=_0x4ecc8b,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}tokenBefore(_0x316249){let _0x2c929b=_0x393d13(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x2c929b&&_0x316249['indexOf'](_0x2c929b['name'])<0x0;)_0x2c929b=_0x2c929b['parent'];return _0x2c929b?{'from':_0x2c929b['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x2c929b['from'],this['pos']),'type':_0x2c929b['type']}:null;}matchBefore(_0x660e6d){let _0x5ab589=this['state']['doc']['lineAt'](this['pos']),_0x327982=Math['max'](_0x5ab589['from'],this['pos']-0xfa),_0x5157f5=_0x5ab589['text']['slice'](_0x327982-_0x5ab589['from'],this['pos']-_0x5ab589['from']),_0x2290f9=_0x5157f5['search'](_0x4734dd(_0x660e6d,!0x1));return _0x2290f9<0x0?null:{'from':_0x327982+_0x2290f9,'to':this['pos'],'text':_0x5157f5['slice'](_0x2290f9)};}get aborted(){return null==this['abortListeners'];}addEventListener(_0x4a684a,_0x555ccf,_0x4a56ca){'abort'==_0x4a684a&&this['abortListeners']&&(this['abortListeners']['push'](_0x555ccf),_0x4a56ca&&_0x4a56ca['onDocChange']&&(this['abortOnDocChange']=!0x0));}};function _0x415bb5(_0x121f86){let _0x3c390b=Object['keys'](_0x121f86)['join'](''),_0x81581b=/\w/['test'](_0x3c390b);return _0x81581b&&(_0x3c390b=_0x3c390b['replace'](/\w/g,'')),'['+(_0x81581b?'\x5cw':'')+_0x3c390b['replace'](/[^\w\s]/g,'\x5c$&')+']';}function _0x24080e(_0x2538a7){let _0x544bf1=_0x2538a7['map'](_0x49ade9=>'string'==typeof _0x49ade9?{'label':_0x49ade9}:_0x49ade9),[_0x406d5f,_0x2f4f69]=_0x544bf1['every'](_0x3501a1=>/^\w+$/['test'](_0x3501a1['label']))?[/\w*$/,/\w+$/]:function(_0x1f776e){let _0x58c774=Object['create'](null),_0x77fd86=Object['create'](null);for(let {label:_0x516e24}of _0x1f776e){_0x58c774[_0x516e24[0x0]]=!0x0;for(let _0x308eb7=0x1;_0x308eb7<_0x516e24['length'];_0x308eb7++)_0x77fd86[_0x516e24[_0x308eb7]]=!0x0;}let _0x3ce3af=_0x415bb5(_0x58c774)+_0x415bb5(_0x77fd86)+'*$';return[new RegExp('^'+_0x3ce3af),new RegExp(_0x3ce3af)];}(_0x544bf1);return _0x4dcd05=>{let _0x4e6ca9=_0x4dcd05['matchBefore'](_0x2f4f69);return _0x4e6ca9||_0x4dcd05['explicit']?{'from':_0x4e6ca9?_0x4e6ca9['from']:_0x4dcd05['pos'],'options':_0x544bf1,'validFor':_0x406d5f}:null;};}var _0x1002a3=class{constructor(_0x24261d,_0x371302,_0x5ab316,_0x2aa6ee){this['completion']=_0x24261d,this['source']=_0x371302,this['match']=_0x5ab316,this['score']=_0x2aa6ee;}};function _0x4c0dd8(_0x238066){return _0x238066['selection']['main']['from'];}function _0x4734dd(_0x4a63ba,_0x563fa3){var _0x5b7a73;let {source:_0x15b9c8}=_0x4a63ba,_0x54ead8=_0x563fa3&&'^'!=_0x15b9c8[0x0],_0x558fa6='$'!=_0x15b9c8[_0x15b9c8['length']-0x1];return _0x54ead8||_0x558fa6?new RegExp((_0x54ead8?'^':'')+'(?:'+_0x15b9c8+')'+(_0x558fa6?'$':''),null!==(_0x5b7a73=_0x4a63ba['flags'])&&void 0x0!==_0x5b7a73?_0x5b7a73:_0x4a63ba['ignoreCase']?'i':''):_0x4a63ba;}const _0x5e9fc0=_0x5c39a2['define']();function _0x3a7ad6(_0x1a3629,_0x3b3382,_0x2da501,_0x3cb683){let {main:_0x41bcd3}=_0x1a3629['selection'],_0x16d39e=_0x2da501-_0x41bcd3['from'],_0x3d59ac=_0x3cb683-_0x41bcd3['from'];return{..._0x1a3629['changeByRange'](_0x16e8d4=>{if(_0x16e8d4!=_0x41bcd3&&_0x2da501!=_0x3cb683&&_0x1a3629['sliceDoc'](_0x16e8d4['from']+_0x16d39e,_0x16e8d4['from']+_0x3d59ac)!=_0x1a3629['sliceDoc'](_0x2da501,_0x3cb683))return{'range':_0x16e8d4};let _0xe377df=_0x1a3629['toText'](_0x3b3382);return{'changes':{'from':_0x16e8d4['from']+_0x16d39e,'to':_0x3cb683==_0x41bcd3['from']?_0x16e8d4['to']:_0x16e8d4['from']+_0x3d59ac,'insert':_0xe377df},'range':_0x3bda1f['cursor'](_0x16e8d4['from']+_0x16d39e+_0xe377df['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x259d04=new WeakMap();function _0x36c468(_0x181e3a){if(!Array['isArray'](_0x181e3a))return _0x181e3a;let _0x1eec67=_0x259d04['get'](_0x181e3a);return _0x1eec67||_0x259d04['set'](_0x181e3a,_0x1eec67=_0x24080e(_0x181e3a)),_0x1eec67;}const _0x573e64=_0x1f791d['define'](),_0x3b03eb=_0x1f791d['define']();var _0x3c2eae=class{constructor(_0x51f3f0){this['pattern']=_0x51f3f0,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x22950d=0x0;_0x22950d<_0x51f3f0['length'];){let _0x400c50=_0x3b4c13(_0x51f3f0,_0x22950d),_0xf90da1=_0xce687(_0x400c50);this['chars']['push'](_0x400c50);let _0x26e2f6=_0x51f3f0['slice'](_0x22950d,_0x22950d+_0xf90da1),_0x14b823=_0x26e2f6['toUpperCase']();this['folded']['push'](_0x3b4c13(_0x14b823==_0x26e2f6?_0x26e2f6['toLowerCase']():_0x14b823,0x0)),_0x22950d+=_0xf90da1;}this['astral']=_0x51f3f0['length']!=this['chars']['length'];}ret(_0x15e7ad,_0x5bf3ad){return this['score']=_0x15e7ad,this['matched']=_0x5bf3ad,this;}match(_0x5e914d){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x5e914d['length']<this['pattern']['length'])return null;let {chars:_0x5af04d,folded:_0xd30c1c,any:_0x451644,precise:_0x2e588c,byWord:_0x7db86e}=this;if(0x1==_0x5af04d['length']){let _0x5249b9=_0x3b4c13(_0x5e914d,0x0),_0x28ccfc=_0xce687(_0x5249b9),_0x1100d7=_0x28ccfc==_0x5e914d['length']?0x0:-0x64;if(_0x5249b9==_0x5af04d[0x0]);else{if(_0x5249b9!=_0xd30c1c[0x0])return null;_0x1100d7+=-0xc8;}return this['ret'](_0x1100d7,[0x0,_0x28ccfc]);}let _0x253fcd=_0x5e914d['indexOf'](this['pattern']);if(0x0==_0x253fcd)return this['ret'](_0x5e914d['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x53f3b1=_0x5af04d['length'],_0x3f0328=0x0;if(_0x253fcd<0x0){for(let _0x588e74=0x0,_0x4c9c20=Math['min'](_0x5e914d['length'],0xc8);_0x588e74<_0x4c9c20&&_0x3f0328<_0x53f3b1;){let _0x27e9b6=_0x3b4c13(_0x5e914d,_0x588e74);_0x27e9b6!=_0x5af04d[_0x3f0328]&&_0x27e9b6!=_0xd30c1c[_0x3f0328]||(_0x451644[_0x3f0328++]=_0x588e74),_0x588e74+=_0xce687(_0x27e9b6);}if(_0x3f0328<_0x53f3b1)return null;}let _0xba8a31=0x0,_0x15d994=0x0,_0x167e06=!0x1,_0x1534c0=0x0,_0x150113=-0x1,_0x49be17=-0x1,_0x5b314d=/[a-z]/['test'](_0x5e914d),_0x3a4c7a=!0x0;for(let _0x165f6a=0x0,_0x2df8db=Math['min'](_0x5e914d['length'],0xc8),_0x519ad9=0x0;_0x165f6a<_0x2df8db&&_0x15d994<_0x53f3b1;){let _0x11669c=_0x3b4c13(_0x5e914d,_0x165f6a);_0x253fcd<0x0&&(_0xba8a31<_0x53f3b1&&_0x11669c==_0x5af04d[_0xba8a31]&&(_0x2e588c[_0xba8a31++]=_0x165f6a),_0x1534c0<_0x53f3b1&&(_0x11669c==_0x5af04d[_0x1534c0]||_0x11669c==_0xd30c1c[_0x1534c0]?(0x0==_0x1534c0&&(_0x150113=_0x165f6a),_0x49be17=_0x165f6a+0x1,_0x1534c0++):_0x1534c0=0x0));let _0x50bf3d,_0x385041=_0x11669c<0xff?_0x11669c>=0x30&&_0x11669c<=0x39||_0x11669c>=0x61&&_0x11669c<=0x7a?0x2:_0x11669c>=0x41&&_0x11669c<=0x5a?0x1:0x0:(_0x50bf3d=_0x176df8(_0x11669c))!=_0x50bf3d['toLowerCase']()?0x1:_0x50bf3d!=_0x50bf3d['toUpperCase']()?0x2:0x0;(!_0x165f6a||0x1==_0x385041&&_0x5b314d||0x0==_0x519ad9&&0x0!=_0x385041)&&(_0x5af04d[_0x15d994]==_0x11669c||_0xd30c1c[_0x15d994]==_0x11669c&&(_0x167e06=!0x0)?_0x7db86e[_0x15d994++]=_0x165f6a:_0x7db86e['length']&&(_0x3a4c7a=!0x1)),_0x519ad9=_0x385041,_0x165f6a+=_0xce687(_0x11669c);}return _0x15d994==_0x53f3b1&&0x0==_0x7db86e[0x0]&&_0x3a4c7a?this['result']((_0x167e06?-0xc8:0x0)-0x64,_0x7db86e,_0x5e914d):_0x1534c0==_0x53f3b1&&0x0==_0x150113?this['ret'](-0xc8-_0x5e914d['length']+(_0x49be17==_0x5e914d['length']?0x0:-0x64),[0x0,_0x49be17]):_0x253fcd>-0x1?this['ret'](-0x2bc-_0x5e914d['length'],[_0x253fcd,_0x253fcd+this['pattern']['length']]):_0x1534c0==_0x53f3b1?this['ret'](-0x384-_0x5e914d['length'],[_0x150113,_0x49be17]):_0x15d994==_0x53f3b1?this['result']((_0x167e06?-0xc8:0x0)-0x64-0x2bc+(_0x3a4c7a?0x0:-0x44c),_0x7db86e,_0x5e914d):0x2==_0x5af04d['length']?null:this['result']((_0x451644[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x451644,_0x5e914d);}result(_0x55a843,_0x260a1e,_0x240a03){let _0x3451e0=[],_0x45f082=0x0;for(let _0x193dae of _0x260a1e){let _0x58e942=_0x193dae+(this['astral']?_0xce687(_0x3b4c13(_0x240a03,_0x193dae)):0x1);_0x45f082&&_0x3451e0[_0x45f082-0x1]==_0x193dae?_0x3451e0[_0x45f082-0x1]=_0x58e942:(_0x3451e0[_0x45f082++]=_0x193dae,_0x3451e0[_0x45f082++]=_0x58e942);}return this['ret'](_0x55a843-_0x240a03['length'],_0x3451e0);}},_0x376ee8=class{constructor(_0xb5ab07){this['pattern']=_0xb5ab07,this['matched']=[],this['score']=0x0,this['folded']=_0xb5ab07['toLowerCase']();}match(_0x3b5cad){if(_0x3b5cad['length']<this['pattern']['length'])return null;let _0x4a186f=_0x3b5cad['slice'](0x0,this['pattern']['length']),_0x333bab=_0x4a186f==this['pattern']?0x0:_0x4a186f['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x333bab?null:(this['matched']=[0x0,_0x4a186f['length']],this['score']=_0x333bab+(_0x3b5cad['length']==this['pattern']['length']?0x0:-0x64),this);}};const _0x2e5c10=_0x2658c2['define']({'combine':_0x3450c3=>_0x264c41(_0x3450c3,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':_0x447fc3,'filterStrict':!0x1,'compareCompletions':(_0x4bd0ad,_0x74c52c)=>(_0x4bd0ad['sortText']||_0x4bd0ad['label'])['localeCompare'](_0x74c52c['sortText']||_0x74c52c['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x457aaf,_0x40605c)=>_0x457aaf&&_0x40605c,'closeOnBlur':(_0x1b3f07,_0x41d866)=>_0x1b3f07&&_0x41d866,'icons':(_0x37d6ea,_0x4e4f43)=>_0x37d6ea&&_0x4e4f43,'tooltipClass':(_0x2bbef9,_0x480a6b)=>_0x25b6cf=>_0x2ca875(_0x2bbef9(_0x25b6cf),_0x480a6b(_0x25b6cf)),'optionClass':(_0x1d9add,_0x1a8a8e)=>_0x4412f5=>_0x2ca875(_0x1d9add(_0x4412f5),_0x1a8a8e(_0x4412f5)),'addToOptions':(_0xba87d7,_0x14b7d1)=>_0xba87d7['concat'](_0x14b7d1),'filterStrict':(_0x1de5ab,_0x43eadb)=>_0x1de5ab||_0x43eadb})});function _0x2ca875(_0x1446a4,_0x487c54){return _0x1446a4?_0x487c54?_0x1446a4+'\x20'+_0x487c54:_0x1446a4:_0x487c54;}function _0x447fc3(_0x408cdd,_0x5af430,_0x4ef210,_0xb119bc,_0x4fc6b5,_0x5b3608){let _0x1edc71,_0x34de21,_0x442b98=_0x408cdd['textDirection']==_0xf0cb7b['RTL'],_0x12a367=_0x442b98,_0x226427=!0x1,_0x4dbc5a='top',_0x1a3c2d=_0x5af430['left']-_0x4fc6b5['left'],_0x5ae22a=_0x4fc6b5['right']-_0x5af430['right'],_0x4d2bf3=_0xb119bc['right']-_0xb119bc['left'],_0x5dd5a3=_0xb119bc['bottom']-_0xb119bc['top'];if(_0x12a367&&_0x1a3c2d<Math['min'](_0x4d2bf3,_0x5ae22a)?_0x12a367=!0x1:!_0x12a367&&_0x5ae22a<Math['min'](_0x4d2bf3,_0x1a3c2d)&&(_0x12a367=!0x0),_0x4d2bf3<=(_0x12a367?_0x1a3c2d:_0x5ae22a))_0x1edc71=Math['max'](_0x4fc6b5['top'],Math['min'](_0x4ef210['top'],_0x4fc6b5['bottom']-_0x5dd5a3))-_0x5af430['top'],_0x34de21=Math['min'](0x190,_0x12a367?_0x1a3c2d:_0x5ae22a);else{_0x226427=!0x0,_0x34de21=Math['min'](0x190,(_0x442b98?_0x5af430['right']:_0x4fc6b5['right']-_0x5af430['left'])-0x1e);let _0x4cc1aa=_0x4fc6b5['bottom']-_0x5af430['bottom'];_0x4cc1aa>=_0x5dd5a3||_0x4cc1aa>_0x5af430['top']?_0x1edc71=_0x4ef210['bottom']-_0x5af430['top']:(_0x4dbc5a='bottom',_0x1edc71=_0x5af430['bottom']-_0x4ef210['top']);}return{'style':_0x4dbc5a+':\x20'+_0x1edc71/((_0x5af430['bottom']-_0x5af430['top'])/_0x5b3608['offsetHeight'])+'px;\x20max-width:\x20'+_0x34de21/((_0x5af430['right']-_0x5af430['left'])/_0x5b3608['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x226427?_0x442b98?'left-narrow':'right-narrow':_0x12a367?'left':'right')};}const _0x5dd812=_0x1f791d['define']();function _0x3470c2(_0x2d8f67,_0x48edf9,_0x4c4116){if(_0x2d8f67<=_0x4c4116)return{'from':0x0,'to':_0x2d8f67};if(_0x48edf9<0x0&&(_0x48edf9=0x0),_0x48edf9<=_0x2d8f67>>0x1){let _0x38e832=Math['floor'](_0x48edf9/_0x4c4116);return{'from':_0x38e832*_0x4c4116,'to':(_0x38e832+0x1)*_0x4c4116};}let _0x66358e=Math['ceil']((_0x2d8f67-_0x48edf9)/_0x4c4116);return{'from':_0x2d8f67-_0x66358e*_0x4c4116,'to':_0x2d8f67-(_0x66358e-0x1)*_0x4c4116};}var _0x275346=class{constructor(_0xb05359,_0x2b9276,_0x4b46b1){this['view']=_0xb05359,this['stateField']=_0x2b9276,this['applyCompletion']=_0x4b46b1,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x3ca2c9=>this['placeInfo'](_0x3ca2c9),'key':this},this['space']=null,this['currentClass']='';let _0x2de663=_0xb05359['state']['field'](_0x2b9276),{options:_0x210e6f,selected:_0x1da156}=_0x2de663['open'],_0x2278c8=_0xb05359['state']['facet'](_0x2e5c10);this['optionContent']=function(_0xe68244){let _0x24a304=_0xe68244['addToOptions']['slice']();return _0xe68244['icons']&&_0x24a304['push']({'render'(_0x4d3a21){let _0x47e865=document['createElement']('div');return _0x47e865['classList']['add']('cm-completionIcon'),_0x4d3a21['type']&&_0x47e865['classList']['add'](..._0x4d3a21['type']['split'](/\s+/g)['map'](_0x56d558=>'cm-completionIcon-'+_0x56d558)),_0x47e865['setAttribute']('aria-hidden','true'),_0x47e865;},'position':0x14}),_0x24a304['push']({'render'(_0x2dbbce,_0x5bdd86,_0xcfd837,_0x163498){let _0x12f101=document['createElement']('span');_0x12f101['className']='cm-completionLabel';let _0x185b13=_0x2dbbce['displayLabel']||_0x2dbbce['label'],_0x4d5d8e=0x0;for(let _0x1c98b1=0x0;_0x1c98b1<_0x163498['length'];){let _0x4b453c=_0x163498[_0x1c98b1++],_0x3dcf78=_0x163498[_0x1c98b1++];_0x4b453c>_0x4d5d8e&&_0x12f101['appendChild'](document['createTextNode'](_0x185b13['slice'](_0x4d5d8e,_0x4b453c)));let _0x5b4847=_0x12f101['appendChild'](document['createElement']('span'));_0x5b4847['appendChild'](document['createTextNode'](_0x185b13['slice'](_0x4b453c,_0x3dcf78))),_0x5b4847['className']='cm-completionMatchedText',_0x4d5d8e=_0x3dcf78;}return _0x4d5d8e<_0x185b13['length']&&_0x12f101['appendChild'](document['createTextNode'](_0x185b13['slice'](_0x4d5d8e))),_0x12f101;},'position':0x32},{'render'(_0x30bf93){if(!_0x30bf93['detail'])return null;let _0x37d280=document['createElement']('span');return _0x37d280['className']='cm-completionDetail',_0x37d280['textContent']=_0x30bf93['detail'],_0x37d280;},'position':0x50}),_0x24a304['sort']((_0x494e23,_0x1c1eca)=>_0x494e23['position']-_0x1c1eca['position'])['map'](_0x5cfb6d=>_0x5cfb6d['render']);}(_0x2278c8),this['optionClass']=_0x2278c8['optionClass'],this['tooltipClass']=_0x2278c8['tooltipClass'],this['range']=_0x3470c2(_0x210e6f['length'],_0x1da156,_0x2278c8['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0xb05359['state']),this['dom']['addEventListener']('mousedown',_0x457990=>{let {options:_0x1ef8f4}=_0xb05359['state']['field'](_0x2b9276)['open'];for(let _0x3d4c2f,_0x1b747f=_0x457990['target'];_0x1b747f&&_0x1b747f!=this['dom'];_0x1b747f=_0x1b747f['parentNode'])if('LI'==_0x1b747f['nodeName']&&(_0x3d4c2f=/-(\d+)$/['exec'](_0x1b747f['id']))&&+_0x3d4c2f[0x1]<_0x1ef8f4['length'])return this['applyCompletion'](_0xb05359,_0x1ef8f4[+_0x3d4c2f[0x1]]),void _0x457990['preventDefault']();if(_0x457990['target']==this['list']){let _0x3c0f28=this['list']['classList']['contains']('cm-completionListIncompleteTop')&&_0x457990['clientY']<this['list']['firstChild']['getBoundingClientRect']()['top']?this['range']['from']-0x1:this['list']['classList']['contains']('cm-completionListIncompleteBottom')&&_0x457990['clientY']>this['list']['lastChild']['getBoundingClientRect']()['bottom']?this['range']['to']:null;null!=_0x3c0f28&&(_0xb05359['dispatch']({'effects':_0x5dd812['of'](_0x3c0f28)}),_0x457990['preventDefault']());}}),this['dom']['addEventListener']('focusout',_0x5b4924=>{let _0x6b28bd=_0xb05359['state']['field'](this['stateField'],!0x1);_0x6b28bd&&_0x6b28bd['tooltip']&&_0xb05359['state']['facet'](_0x2e5c10)['closeOnBlur']&&_0x5b4924['relatedTarget']!=_0xb05359['contentDOM']&&_0xb05359['dispatch']({'effects':_0x3b03eb['of'](null)});}),this['showOptions'](_0x210e6f,_0x2de663['id']);}mount(){this['updateSel']();}showOptions(_0x59d328,_0x1c3882){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x59d328,_0x1c3882,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}update(_0x4db74d){var _0x48edce;let _0x1a83ca=_0x4db74d['state']['field'](this['stateField']),_0x42dbec=_0x4db74d['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x4db74d['state']),_0x1a83ca!=_0x42dbec){let {options:_0x516e9d,selected:_0x40f3d8,disabled:_0x3ce20e}=_0x1a83ca['open'];_0x42dbec['open']&&_0x42dbec['open']['options']==_0x516e9d||(this['range']=_0x3470c2(_0x516e9d['length'],_0x40f3d8,_0x4db74d['state']['facet'](_0x2e5c10)['maxRenderedOptions']),this['showOptions'](_0x516e9d,_0x1a83ca['id'])),this['updateSel'](),_0x3ce20e!=(null===(_0x48edce=_0x42dbec['open'])||void 0x0===_0x48edce?void 0x0:_0x48edce['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x3ce20e);}}updateTooltipClass(_0x549244){let _0x344236=this['tooltipClass'](_0x549244);if(_0x344236!=this['currentClass']){for(let _0xf5ea71 of this['currentClass']['split']('\x20'))_0xf5ea71&&this['dom']['classList']['remove'](_0xf5ea71);for(let _0x5490ff of _0x344236['split']('\x20'))_0x5490ff&&this['dom']['classList']['add'](_0x5490ff);this['currentClass']=_0x344236;}}positioned(_0x1b19e9){this['space']=_0x1b19e9,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}updateSel(){let _0x5de42a=this['view']['state']['field'](this['stateField']),_0x333f4c=_0x5de42a['open'];(_0x333f4c['selected']>-0x1&&_0x333f4c['selected']<this['range']['from']||_0x333f4c['selected']>=this['range']['to'])&&(this['range']=_0x3470c2(_0x333f4c['options']['length'],_0x333f4c['selected'],this['view']['state']['facet'](_0x2e5c10)['maxRenderedOptions']),this['showOptions'](_0x333f4c['options'],_0x5de42a['id']));let _0x27f057=this['updateSelectedOption'](_0x333f4c['selected']);if(_0x27f057){this['destroyInfo']();let {completion:_0x30ebd5}=_0x333f4c['options'][_0x333f4c['selected']],{info:_0x1d646a}=_0x30ebd5;if(!_0x1d646a)return;let _0x75391b='string'==typeof _0x1d646a?document['createTextNode'](_0x1d646a):_0x1d646a(_0x30ebd5);if(!_0x75391b)return;'then'in _0x75391b?_0x75391b['then'](_0x2fed69=>{_0x2fed69&&this['view']['state']['field'](this['stateField'],!0x1)==_0x5de42a&&this['addInfoPane'](_0x2fed69,_0x30ebd5);})['catch'](_0x37234b=>_0x55c259(this['view']['state'],_0x37234b,'completion\x20info')):(this['addInfoPane'](_0x75391b,_0x30ebd5),_0x27f057['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x5559d2,_0x3386c4){this['destroyInfo']();let _0x340f2e=this['info']=document['createElement']('div');if(_0x340f2e['className']='cm-tooltip\x20cm-completionInfo',_0x340f2e['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x5559d2['nodeType'])_0x340f2e['appendChild'](_0x5559d2),this['infoDestroy']=null;else{let {dom:_0x192779,destroy:_0x10529c}=_0x5559d2;_0x340f2e['appendChild'](_0x192779),this['infoDestroy']=_0x10529c||null;}this['dom']['appendChild'](_0x340f2e),this['view']['requestMeasure'](this['placeInfoReq']);}updateSelectedOption(_0x4ca632){let _0x1141de=null;for(let _0x3f1778=this['list']['firstChild'],_0x392f7f=this['range']['from'];_0x3f1778;_0x3f1778=_0x3f1778['nextSibling'],_0x392f7f++)'LI'==_0x3f1778['nodeName']&&_0x3f1778['id']?_0x392f7f==_0x4ca632?_0x3f1778['hasAttribute']('aria-selected')||(_0x3f1778['setAttribute']('aria-selected','true'),_0x1141de=_0x3f1778):_0x3f1778['hasAttribute']('aria-selected')&&(_0x3f1778['removeAttribute']('aria-selected'),_0x3f1778['removeAttribute']('aria-describedby')):_0x392f7f--;return _0x1141de&&function(_0x499fbb,_0x4cf4fa){let _0x34ca47=_0x499fbb['getBoundingClientRect'](),_0x569d74=_0x4cf4fa['getBoundingClientRect'](),_0x14ce38=_0x34ca47['height']/_0x499fbb['offsetHeight'];_0x569d74['top']<_0x34ca47['top']?_0x499fbb['scrollTop']-=(_0x34ca47['top']-_0x569d74['top'])/_0x14ce38:_0x569d74['bottom']>_0x34ca47['bottom']&&(_0x499fbb['scrollTop']+=(_0x569d74['bottom']-_0x34ca47['bottom'])/_0x14ce38);}(this['list'],_0x1141de),_0x1141de;}['measureInfo'](){let _0x2902b4=this['dom']['querySelector']('[aria-selected]');if(!_0x2902b4||!this['info'])return null;let _0x40860e=this['dom']['getBoundingClientRect'](),_0x1a9429=this['info']['getBoundingClientRect'](),_0x382dad=_0x2902b4['getBoundingClientRect'](),_0x1ca2ce=this['space'];if(!_0x1ca2ce){let _0x2aa5fa=this['dom']['ownerDocument']['documentElement'];_0x1ca2ce={'left':0x0,'top':0x0,'right':_0x2aa5fa['clientWidth'],'bottom':_0x2aa5fa['clientHeight']};}return _0x382dad['top']>Math['min'](_0x1ca2ce['bottom'],_0x40860e['bottom'])-0xa||_0x382dad['bottom']<Math['max'](_0x1ca2ce['top'],_0x40860e['top'])+0xa?null:this['view']['state']['facet'](_0x2e5c10)['positionInfo'](this['view'],_0x40860e,_0x382dad,_0x1a9429,_0x1ca2ce,this['dom']);}['placeInfo'](_0x224ce1){this['info']&&(_0x224ce1?(_0x224ce1['style']&&(this['info']['style']['cssText']=_0x224ce1['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x224ce1['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}createListBox(_0xb59bcc,_0x5d41d4,_0x146209){const _0xbf814b=document['createElement']('ul');_0xbf814b['id']=_0x5d41d4,_0xbf814b['setAttribute']('role','listbox'),_0xbf814b['setAttribute']('aria-expanded','true'),_0xbf814b['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0xbf814b['addEventListener']('mousedown',_0x2c064c=>{_0x2c064c['target']==_0xbf814b&&_0x2c064c['preventDefault']();});let _0x3451c4=null;for(let _0x2b843b=_0x146209['from'];_0x2b843b<_0x146209['to'];_0x2b843b++){let {completion:_0x747577,match:_0xde6364}=_0xb59bcc[_0x2b843b],{section:_0x4bef7d}=_0x747577;if(_0x4bef7d){let _0x54901f='string'==typeof _0x4bef7d?_0x4bef7d:_0x4bef7d['name'];if(_0x54901f!=_0x3451c4&&(_0x2b843b>_0x146209['from']||0x0==_0x146209['from'])){if(_0x3451c4=_0x54901f,'string'!=typeof _0x4bef7d&&_0x4bef7d['header'])_0xbf814b['appendChild'](_0x4bef7d['header'](_0x4bef7d));else _0xbf814b['appendChild'](document['createElement']('completion-section'))['textContent']=_0x54901f;}}const _0x390614=_0xbf814b['appendChild'](document['createElement']('li'));_0x390614['id']=_0x5d41d4+'-'+_0x2b843b,_0x390614['setAttribute']('role','option');let _0x2065ef=this['optionClass'](_0x747577);_0x2065ef&&(_0x390614['className']=_0x2065ef);for(let _0xb72b27 of this['optionContent']){let _0x4a33c7=_0xb72b27(_0x747577,this['view']['state'],this['view'],_0xde6364);_0x4a33c7&&_0x390614['appendChild'](_0x4a33c7);}}return _0x146209['from']&&_0xbf814b['classList']['add']('cm-completionListIncompleteTop'),_0x146209['to']<_0xb59bcc['length']&&_0xbf814b['classList']['add']('cm-completionListIncompleteBottom'),_0xbf814b;}destroyInfo(){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}destroy(){this['destroyInfo']();}};function _0x142eec(_0x2d27a1,_0x9bd964){return _0x5721ab=>new _0x275346(_0x5721ab,_0x2d27a1,_0x9bd964);}function _0x49a0b2(_0x117431){return 0x64*(_0x117431['boost']||0x0)+(_0x117431['apply']?0xa:0x0)+(_0x117431['info']?0x5:0x0)+(_0x117431['type']?0x1:0x0);}var _0x5194ce=class CompletionDialog{constructor(_0x107ac5,_0xf18b48,_0x269532,_0xafa59c,_0xb173d8,_0x3d7485){this['options']=_0x107ac5,this['attrs']=_0xf18b48,this['tooltip']=_0x269532,this['timestamp']=_0xafa59c,this['selected']=_0xb173d8,this['disabled']=_0x3d7485;}setSelected(_0x279749,_0x4feca2){return _0x279749==this['selected']||_0x279749>=this['options']['length']?this:new CompletionDialog(this['options'],_0xb05727(_0x4feca2,_0x279749),this['tooltip'],this['timestamp'],_0x279749,this['disabled']);}static['build'](_0x449274,_0x31d88d,_0x1b3d9c,_0x557178,_0x2f2d68,_0x1011d8){if(_0x557178&&!_0x1011d8&&_0x449274['some'](_0xd5f8d=>_0xd5f8d['isPending']))return _0x557178['setDisabled']();let _0x10e36d=function(_0x419452,_0x2eaa6d){let _0x110e8b=[],_0x228c5a=null,_0x4e9ca2=null,_0x5e8c54=_0x4b79c3=>{_0x110e8b['push'](_0x4b79c3);let {section:_0x4cfad3}=_0x4b79c3['completion'];if(_0x4cfad3){_0x228c5a||(_0x228c5a=[]);let _0xb46fb8='string'==typeof _0x4cfad3?_0x4cfad3:_0x4cfad3['name'];_0x228c5a['some'](_0x184476=>_0x184476['name']==_0xb46fb8)||_0x228c5a['push']('string'==typeof _0x4cfad3?{'name':_0xb46fb8}:_0x4cfad3);}},_0x19202f=_0x2eaa6d['facet'](_0x2e5c10);for(let _0x29806c of _0x419452)if(_0x29806c['hasResult']()){let _0x466a99=_0x29806c['result']['getMatch'];if(!0x1===_0x29806c['result']['filter']){for(let _0x59afb6 of _0x29806c['result']['options'])_0x5e8c54(new _0x1002a3(_0x59afb6,_0x29806c['source'],_0x466a99?_0x466a99(_0x59afb6):[],0x3b9aca00-_0x110e8b['length']));}else{let _0x23fc23,_0x3de954=_0x2eaa6d['sliceDoc'](_0x29806c['from'],_0x29806c['to']),_0x2c3abb=_0x19202f['filterStrict']?new _0x376ee8(_0x3de954):new _0x3c2eae(_0x3de954);for(let _0x336662 of _0x29806c['result']['options'])if(_0x23fc23=_0x2c3abb['match'](_0x336662['label'])){let _0x33cecb=_0x336662['displayLabel']?_0x466a99?_0x466a99(_0x336662,_0x23fc23['matched']):[]:_0x23fc23['matched'],_0xc68caa=_0x23fc23['score']+(_0x336662['boost']||0x0);if(_0x5e8c54(new _0x1002a3(_0x336662,_0x29806c['source'],_0x33cecb,_0xc68caa)),'object'==typeof _0x336662['section']&&'dynamic'===_0x336662['section']['rank']){let {name:_0x568aff}=_0x336662['section'];_0x4e9ca2||(_0x4e9ca2=Object['create'](null)),_0x4e9ca2[_0x568aff]=Math['max'](_0xc68caa,_0x4e9ca2[_0x568aff]||-0x3b9aca00);}}}}if(_0x228c5a){let _0x4efa73=Object['create'](null),_0x1ea61b=0x0,_0x1951ad=(_0xee5819,_0x13d85a)=>('dynamic'===_0xee5819['rank']&&'dynamic'===_0x13d85a['rank']?_0x4e9ca2[_0x13d85a['name']]-_0x4e9ca2[_0xee5819['name']]:0x0)||('number'==typeof _0xee5819['rank']?_0xee5819['rank']:0x3b9aca00)-('number'==typeof _0x13d85a['rank']?_0x13d85a['rank']:0x3b9aca00)||(_0xee5819['name']<_0x13d85a['name']?-0x1:0x1);for(let _0x547a9e of _0x228c5a['sort'](_0x1951ad))_0x1ea61b-=0x186a0,_0x4efa73[_0x547a9e['name']]=_0x1ea61b;for(let _0x253ece of _0x110e8b){let {section:_0x584c15}=_0x253ece['completion'];_0x584c15&&(_0x253ece['score']+=_0x4efa73['string'==typeof _0x584c15?_0x584c15:_0x584c15['name']]);}}let _0x16b78b=[],_0x513e26=null,_0x103301=_0x19202f['compareCompletions'];for(let _0x319dab of _0x110e8b['sort']((_0x15e1a2,_0x19c6ed)=>_0x19c6ed['score']-_0x15e1a2['score']||_0x103301(_0x15e1a2['completion'],_0x19c6ed['completion']))){let _0x37dd1c=_0x319dab['completion'];!_0x513e26||_0x513e26['label']!=_0x37dd1c['label']||_0x513e26['detail']!=_0x37dd1c['detail']||null!=_0x513e26['type']&&null!=_0x37dd1c['type']&&_0x513e26['type']!=_0x37dd1c['type']||_0x513e26['apply']!=_0x37dd1c['apply']||_0x513e26['boost']!=_0x37dd1c['boost']?_0x16b78b['push'](_0x319dab):_0x49a0b2(_0x319dab['completion'])>_0x49a0b2(_0x513e26)&&(_0x16b78b[_0x16b78b['length']-0x1]=_0x319dab),_0x513e26=_0x319dab['completion'];}return _0x16b78b;}(_0x449274,_0x31d88d);if(!_0x10e36d['length'])return _0x557178&&_0x449274['some'](_0x3c4f4c=>_0x3c4f4c['isPending'])?_0x557178['setDisabled']():null;let _0x4dec5b=_0x31d88d['facet'](_0x2e5c10)['selectOnOpen']?0x0:-0x1;if(_0x557178&&_0x557178['selected']!=_0x4dec5b&&-0x1!=_0x557178['selected']){let _0x380095=_0x557178['options'][_0x557178['selected']]['completion'];for(let _0x15e1c6=0x0;_0x15e1c6<_0x10e36d['length'];_0x15e1c6++)if(_0x10e36d[_0x15e1c6]['completion']==_0x380095){_0x4dec5b=_0x15e1c6;break;}}return new CompletionDialog(_0x10e36d,_0xb05727(_0x1b3d9c,_0x4dec5b),{'pos':_0x449274['reduce']((_0x2818df,_0x556125)=>_0x556125['hasResult']()?Math['min'](_0x2818df,_0x556125['from']):_0x2818df,0x5f5e100),'create':_0x36aa23,'above':_0x2f2d68['aboveCursor']},_0x557178?_0x557178['timestamp']:Date['now'](),_0x4dec5b,!0x1);}['map'](_0x421009){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x421009['mapPos'](this['tooltip']['pos'])},this['timestamp'],this['selected'],this['disabled']);}setDisabled(){return new CompletionDialog(this['options'],this['attrs'],this['tooltip'],this['timestamp'],this['selected'],!0x0);}},tB=class CompletionState{constructor(_0x80142d,_0x27da11,_0x414bcd){this['active']=_0x80142d,this['id']=_0x27da11,this['open']=_0x414bcd;}static start(){return new CompletionState(_0x30a543,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}update(_0x1726c1){let {state:_0x4c81ae}=_0x1726c1,_0x147bf8=_0x4c81ae['facet'](_0x2e5c10),_0x5b29fa=(_0x147bf8['override']||_0x4c81ae['languageDataAt']('autocomplete',_0x4c0dd8(_0x4c81ae))['map'](_0x36c468))['map'](_0x101648=>(this['active']['find'](_0x7eebf1=>_0x7eebf1['source']==_0x101648)||new _0x4fc0fe(_0x101648,this['active']['some'](_0x10e10a=>0x0!=_0x10e10a['state'])?0x1:0x0))['update'](_0x1726c1,_0x147bf8));_0x5b29fa['length']==this['active']['length']&&_0x5b29fa['every']((_0x20d711,_0x3e2005)=>_0x20d711==this['active'][_0x3e2005])&&(_0x5b29fa=this['active']);let _0x178efb=this['open'],_0x379b62=_0x1726c1['effects']['some'](_0x358cf8=>_0x358cf8['is'](_0x55b95a));_0x178efb&&_0x1726c1['docChanged']&&(_0x178efb=_0x178efb['map'](_0x1726c1['changes'])),_0x1726c1['selection']||_0x5b29fa['some'](_0x52aa07=>_0x52aa07['hasResult']()&&_0x1726c1['changes']['touchesRange'](_0x52aa07['from'],_0x52aa07['to']))||!function(_0x2b700c,_0x56cbdd){if(_0x2b700c==_0x56cbdd)return!0x0;for(let _0x5b8dbb=0x0,_0x493f19=0x0;;){for(;_0x5b8dbb<_0x2b700c['length']&&!_0x2b700c[_0x5b8dbb]['hasResult']();)_0x5b8dbb++;for(;_0x493f19<_0x56cbdd['length']&&!_0x56cbdd[_0x493f19]['hasResult']();)_0x493f19++;let _0x450021=_0x5b8dbb==_0x2b700c['length'],_0x38e5fb=_0x493f19==_0x56cbdd['length'];if(_0x450021||_0x38e5fb)return _0x450021==_0x38e5fb;if(_0x2b700c[_0x5b8dbb++]['result']!=_0x56cbdd[_0x493f19++]['result'])return!0x1;}}(_0x5b29fa,this['active'])||_0x379b62?_0x178efb=_0x5194ce['build'](_0x5b29fa,_0x4c81ae,this['id'],_0x178efb,_0x147bf8,_0x379b62):_0x178efb&&_0x178efb['disabled']&&!_0x5b29fa['some'](_0x45674e=>_0x45674e['isPending'])&&(_0x178efb=null),!_0x178efb&&_0x5b29fa['every'](_0x4682a6=>!_0x4682a6['isPending'])&&_0x5b29fa['some'](_0x242d79=>_0x242d79['hasResult']())&&(_0x5b29fa=_0x5b29fa['map'](_0x798bc8=>_0x798bc8['hasResult']()?new _0x4fc0fe(_0x798bc8['source'],0x0):_0x798bc8));for(let _0x2ff13c of _0x1726c1['effects'])_0x2ff13c['is'](_0x5dd812)&&(_0x178efb=_0x178efb&&_0x178efb['setSelected'](_0x2ff13c['value'],this['id']));return _0x5b29fa==this['active']&&_0x178efb==this['open']?this:new CompletionState(_0x5b29fa,this['id'],_0x178efb);}get tooltip(){return this['open']?this['open']['tooltip']:null;}get attrs(){return this['open']?this['open']['attrs']:this['active']['length']?_0x563039:_0x37fb42;}};const _0x563039={'aria-autocomplete':'list'},_0x37fb42={};function _0xb05727(_0x30997d,_0x27405e){let _0xf6bf7c={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x30997d};return _0x27405e>-0x1&&(_0xf6bf7c['aria-activedescendant']=_0x30997d+'-'+_0x27405e),_0xf6bf7c;}const _0x30a543=[];function _0x4a6667(_0x4445fc,_0x22b0b5){if(_0x4445fc['isUserEvent']('input.complete')){let _0x5ef01d=_0x4445fc['annotation'](_0x5e9fc0);if(_0x5ef01d&&_0x22b0b5['activateOnCompletion'](_0x5ef01d))return 0xc;}let _0xe71b80=_0x4445fc['isUserEvent']('input.type');return _0xe71b80&&_0x22b0b5['activateOnTyping']?0x5:_0xe71b80?0x1:_0x4445fc['isUserEvent']('delete.backward')?0x2:_0x4445fc['selection']?0x8:_0x4445fc['docChanged']?0x10:0x0;}var _0x4fc0fe=class ActiveSource{constructor(_0x45835d,_0x2d2de6,_0x364db0=!0x1){this['source']=_0x45835d,this['state']=_0x2d2de6,this['explicit']=_0x364db0;}hasResult(){return!0x1;}get['isPending'](){return 0x1==this['state'];}update(_0x150cfb,_0x4b2b30){let _0x1f6868=_0x4a6667(_0x150cfb,_0x4b2b30),_0x1fb3fb=this;(0x8&_0x1f6868||0x10&_0x1f6868&&this['touches'](_0x150cfb))&&(_0x1fb3fb=new ActiveSource(_0x1fb3fb['source'],0x0)),0x4&_0x1f6868&&0x0==_0x1fb3fb['state']&&(_0x1fb3fb=new ActiveSource(this['source'],0x1)),_0x1fb3fb=_0x1fb3fb['updateFor'](_0x150cfb,_0x1f6868);for(let _0x305598 of _0x150cfb['effects'])if(_0x305598['is'](_0x573e64))_0x1fb3fb=new ActiveSource(_0x1fb3fb['source'],0x1,_0x305598['value']);else{if(_0x305598['is'](_0x3b03eb))_0x1fb3fb=new ActiveSource(_0x1fb3fb['source'],0x0);else{if(_0x305598['is'](_0x55b95a)){for(let _0x4a2bc5 of _0x305598['value'])_0x4a2bc5['source']==_0x1fb3fb['source']&&(_0x1fb3fb=_0x4a2bc5);}}}return _0x1fb3fb;}updateFor(_0x5e10d0,_0x54e818){return this['map'](_0x5e10d0['changes']);}['map'](_0x35ba47){return this;}touches(_0x45e6f2){return _0x45e6f2['changes']['touchesRange'](_0x4c0dd8(_0x45e6f2['state']));}},_0x1200ee=class ActiveResult extends _0x4fc0fe{constructor(_0x357d25,_0x33c5ff,_0x5d00e3,_0x5a6eca,_0x2d909b,_0x1ada81){super(_0x357d25,0x3,_0x33c5ff),this['limit']=_0x5d00e3,this['result']=_0x5a6eca,this['from']=_0x2d909b,this['to']=_0x1ada81;}hasResult(){return!0x0;}updateFor(_0x4c793f,_0x33ccde){var _0x418710;if(!(0x3&_0x33ccde))return this['map'](_0x4c793f['changes']);let _0x2d4fa7=this['result'];_0x2d4fa7['map']&&!_0x4c793f['changes']['empty']&&(_0x2d4fa7=_0x2d4fa7['map'](_0x2d4fa7,_0x4c793f['changes']));let _0x264c1a=_0x4c793f['changes']['mapPos'](this['from']),_0x2d5440=_0x4c793f['changes']['mapPos'](this['to'],0x1),_0x4fcc1e=_0x4c0dd8(_0x4c793f['state']);if(_0x4fcc1e>_0x2d5440||!_0x2d4fa7||0x2&_0x33ccde&&(_0x4c0dd8(_0x4c793f['startState'])==this['from']||_0x4fcc1e<this['limit']))return new _0x4fc0fe(this['source'],0x4&_0x33ccde?0x1:0x0);let _0x4a21e0=_0x4c793f['changes']['mapPos'](this['limit']);return function(_0x3e90de,_0x8453cb,_0x251d2b,_0x45787f){if(!_0x3e90de)return!0x1;let _0x1779d8=_0x8453cb['sliceDoc'](_0x251d2b,_0x45787f);return'function'==typeof _0x3e90de?_0x3e90de(_0x1779d8,_0x251d2b,_0x45787f,_0x8453cb):_0x4734dd(_0x3e90de,!0x0)['test'](_0x1779d8);}(_0x2d4fa7['validFor'],_0x4c793f['state'],_0x264c1a,_0x2d5440)?new ActiveResult(this['source'],this['explicit'],_0x4a21e0,_0x2d4fa7,_0x264c1a,_0x2d5440):_0x2d4fa7['update']&&(_0x2d4fa7=_0x2d4fa7['update'](_0x2d4fa7,_0x264c1a,_0x2d5440,new _0x11e31f(_0x4c793f['state'],_0x4fcc1e,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x4a21e0,_0x2d4fa7,_0x2d4fa7['from'],null!==(_0x418710=_0x2d4fa7['to'])&&void 0x0!==_0x418710?_0x418710:_0x4c0dd8(_0x4c793f['state'])):new _0x4fc0fe(this['source'],0x1,this['explicit']);}['map'](_0x1dd23b){if(_0x1dd23b['empty'])return this;let _0x2af54b=this['result']['map']?this['result']['map'](this['result'],_0x1dd23b):this['result'];return _0x2af54b?new ActiveResult(this['source'],this['explicit'],_0x1dd23b['mapPos'](this['limit']),_0x2af54b,_0x1dd23b['mapPos'](this['from']),_0x1dd23b['mapPos'](this['to'],0x1)):new _0x4fc0fe(this['source'],0x0);}touches(_0x2e1317){return _0x2e1317['changes']['touchesRange'](this['from'],this['to']);}};const _0x55b95a=_0x1f791d['define']({'map':(_0x7929fb,_0x2791d4)=>_0x7929fb['map'](_0x3a1c23=>_0x3a1c23['map'](_0x2791d4))}),_0x558f59=_0xe7f3f['define']({'create':()=>tB['start'](),'update':(_0x1b72c7,_0x55c28b)=>_0x1b72c7['update'](_0x55c28b),'provide':_0x5f197c=>[_0x581f60['from'](_0x5f197c,_0x32fb70=>_0x32fb70['tooltip']),_0x51f1f4['contentAttributes']['from'](_0x5f197c,_0x5a5970=>_0x5a5970['attrs'])]});function _0xbe7c0c(_0x118582,_0x1508e3){const _0x1d2c52=_0x1508e3['completion']['apply']||_0x1508e3['completion']['label'];let _0x35c977=_0x118582['state']['field'](_0x558f59)['active']['find'](_0x541a01=>_0x541a01['source']==_0x1508e3['source']);return _0x35c977 instanceof _0x1200ee&&('string'==typeof _0x1d2c52?_0x118582['dispatch']({..._0x3a7ad6(_0x118582['state'],_0x1d2c52,_0x35c977['from'],_0x35c977['to']),'annotations':_0x5e9fc0['of'](_0x1508e3['completion'])}):_0x1d2c52(_0x118582,_0x1508e3['completion'],_0x35c977['from'],_0x35c977['to']),!0x0);}const _0x36aa23=_0x142eec(_0x558f59,_0xbe7c0c);function _0x299360(_0x3022b5,_0x57ff1a='option'){return _0xa681f9=>{let _0x473b03=_0xa681f9['state']['field'](_0x558f59,!0x1);if(!_0x473b03||!_0x473b03['open']||_0x473b03['open']['disabled']||Date['now']()-_0x473b03['open']['timestamp']<_0xa681f9['state']['facet'](_0x2e5c10)['interactionDelay'])return!0x1;let _0x294462,_0x1640c1=0x1;'page'==_0x57ff1a&&(_0x294462=_0x349007(_0xa681f9,_0x473b03['open']['tooltip']))&&(_0x1640c1=Math['max'](0x2,Math['floor'](_0x294462['dom']['offsetHeight']/_0x294462['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x177658}=_0x473b03['open']['options'],_0x9f6ee2=_0x473b03['open']['selected']>-0x1?_0x473b03['open']['selected']+_0x1640c1*(_0x3022b5?0x1:-0x1):_0x3022b5?0x0:_0x177658-0x1;return _0x9f6ee2<0x0?_0x9f6ee2='page'==_0x57ff1a?0x0:_0x177658-0x1:_0x9f6ee2>=_0x177658&&(_0x9f6ee2='page'==_0x57ff1a?_0x177658-0x1:0x0),_0xa681f9['dispatch']({'effects':_0x5dd812['of'](_0x9f6ee2)}),!0x0;};}const _0xe6a4d6=_0x873de=>!!_0x873de['state']['field'](_0x558f59,!0x1)&&(_0x873de['dispatch']({'effects':_0x573e64['of'](!0x0)}),!0x0);var _0x1bc338=class{constructor(_0x5e01f9,_0x3491dd){this['active']=_0x5e01f9,this['context']=_0x3491dd,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}};const _0x919848=_0x221982['fromClass'](class{constructor(_0x8d8ab8){this['view']=_0x8d8ab8,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x23b532 of _0x8d8ab8['state']['field'](_0x558f59)['active'])_0x23b532['isPending']&&this['startQuery'](_0x23b532);}update(_0xfffd62){let _0x260ed9=_0xfffd62['state']['field'](_0x558f59),_0x23ff4f=_0xfffd62['state']['facet'](_0x2e5c10);if(!_0xfffd62['selectionSet']&&!_0xfffd62['docChanged']&&_0xfffd62['startState']['field'](_0x558f59)==_0x260ed9)return;let _0x1e7069=_0xfffd62['transactions']['some'](_0x5d535e=>{let _0x20640e=_0x4a6667(_0x5d535e,_0x23ff4f);return 0x8&_0x20640e||(_0x5d535e['selection']||_0x5d535e['docChanged'])&&!(0x3&_0x20640e);});for(let _0x365cd8=0x0;_0x365cd8<this['running']['length'];_0x365cd8++){let _0x39cf63=this['running'][_0x365cd8];if(_0x1e7069||_0x39cf63['context']['abortOnDocChange']&&_0xfffd62['docChanged']||_0x39cf63['updates']['length']+_0xfffd62['transactions']['length']>0x32&&Date['now']()-_0x39cf63['time']>0x3e8){for(let _0x1d451d of _0x39cf63['context']['abortListeners'])try{_0x1d451d();}catch(_0x4be5e9){_0x55c259(this['view']['state'],_0x4be5e9);}_0x39cf63['context']['abortListeners']=null,this['running']['splice'](_0x365cd8--,0x1);}else _0x39cf63['updates']['push'](..._0xfffd62['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0xfffd62['transactions']['some'](_0x53ad6c=>_0x53ad6c['effects']['some'](_0x372218=>_0x372218['is'](_0x573e64)))&&(this['pendingStart']=!0x0);let _0x223cdd=this['pendingStart']?0x32:_0x23ff4f['activateOnTypingDelay'];if(this['debounceUpdate']=_0x260ed9['active']['some'](_0x5cb3ca=>_0x5cb3ca['isPending']&&!this['running']['some'](_0x599db7=>_0x599db7['active']['source']==_0x5cb3ca['source']))?setTimeout(()=>this['startUpdate'](),_0x223cdd):-0x1,0x0!=this['composing']){for(let _0x53391b of _0xfffd62['transactions'])_0x53391b['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x53391b['selection']&&(this['composing']=0x3);}}startUpdate(){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x5bd4f}=this['view'],_0xbd56ec=_0x5bd4f['field'](_0x558f59);for(let _0x30dfd1 of _0xbd56ec['active'])_0x30dfd1['isPending']&&!this['running']['some'](_0x530e80=>_0x530e80['active']['source']==_0x30dfd1['source'])&&this['startQuery'](_0x30dfd1);this['running']['length']&&_0xbd56ec['open']&&_0xbd56ec['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x2e5c10)['updateSyncTime']));}startQuery(_0x2767bc){let {state:_0x25bdb3}=this['view'],_0x26a27c=new _0x11e31f(_0x25bdb3,_0x4c0dd8(_0x25bdb3),_0x2767bc['explicit'],this['view']),_0x139e24=new _0x1bc338(_0x2767bc,_0x26a27c);this['running']['push'](_0x139e24),Promise['resolve'](_0x2767bc['source'](_0x26a27c))['then'](_0x525752=>{_0x139e24['context']['aborted']||(_0x139e24['done']=_0x525752||null,this['scheduleAccept']());},_0x6a7204=>{this['view']['dispatch']({'effects':_0x3b03eb['of'](null)}),_0x55c259(this['view']['state'],_0x6a7204);});}scheduleAccept(){this['running']['every'](_0x39e888=>void 0x0!==_0x39e888['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x2e5c10)['updateSyncTime']));}accept(){var _0x4734e4;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x3b472a=[],_0x18a07c=this['view']['state']['facet'](_0x2e5c10),_0x39b053=this['view']['state']['field'](_0x558f59);for(let _0x438b43=0x0;_0x438b43<this['running']['length'];_0x438b43++){let _0x4a7ffa=this['running'][_0x438b43];if(void 0x0===_0x4a7ffa['done'])continue;if(this['running']['splice'](_0x438b43--,0x1),_0x4a7ffa['done']){let _0x216d5c=_0x4c0dd8(_0x4a7ffa['updates']['length']?_0x4a7ffa['updates'][0x0]['startState']:this['view']['state']),_0x38f474=Math['min'](_0x216d5c,_0x4a7ffa['done']['from']+(_0x4a7ffa['active']['explicit']?0x0:0x1)),_0x5f48f8=new _0x1200ee(_0x4a7ffa['active']['source'],_0x4a7ffa['active']['explicit'],_0x38f474,_0x4a7ffa['done'],_0x4a7ffa['done']['from'],null!==(_0x4734e4=_0x4a7ffa['done']['to'])&&void 0x0!==_0x4734e4?_0x4734e4:_0x216d5c);for(let _0x47877a of _0x4a7ffa['updates'])_0x5f48f8=_0x5f48f8['update'](_0x47877a,_0x18a07c);if(_0x5f48f8['hasResult']()){_0x3b472a['push'](_0x5f48f8);continue;}}let _0x604a57=_0x39b053['active']['find'](_0x2056ff=>_0x2056ff['source']==_0x4a7ffa['active']['source']);if(_0x604a57&&_0x604a57['isPending']){if(null==_0x4a7ffa['done']){let _0x59f8d9=new _0x4fc0fe(_0x4a7ffa['active']['source'],0x0);for(let _0x3692bd of _0x4a7ffa['updates'])_0x59f8d9=_0x59f8d9['update'](_0x3692bd,_0x18a07c);_0x59f8d9['isPending']||_0x3b472a['push'](_0x59f8d9);}else this['startQuery'](_0x604a57);}}(_0x3b472a['length']||_0x39b053['open']&&_0x39b053['open']['disabled'])&&this['view']['dispatch']({'effects':_0x55b95a['of'](_0x3b472a)});}},{'eventHandlers':{'blur'(_0x2865b8){let _0x5cb723=this['view']['state']['field'](_0x558f59,!0x1);if(_0x5cb723&&_0x5cb723['tooltip']&&this['view']['state']['facet'](_0x2e5c10)['closeOnBlur']){let _0x4ae94b=_0x5cb723['open']&&_0x349007(this['view'],_0x5cb723['open']['tooltip']);_0x4ae94b&&_0x4ae94b['dom']['contains'](_0x2865b8['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':_0x3b03eb['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':_0x573e64['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0x2f375c='object'==typeof navigator&&/Win/['test'](navigator['platform']),_0x4c09be=_0x1cb9ad['highest'](_0x51f1f4['domEventHandlers']({'keydown'(_0x408f5d,_0x21226c){let _0x2b553c=_0x21226c['state']['field'](_0x558f59,!0x1);if(!_0x2b553c||!_0x2b553c['open']||_0x2b553c['open']['disabled']||_0x2b553c['open']['selected']<0x0||_0x408f5d['key']['length']>0x1||_0x408f5d['ctrlKey']&&(!_0x2f375c||!_0x408f5d['altKey'])||_0x408f5d['metaKey'])return!0x1;let _0x2b09e6=_0x2b553c['open']['options'][_0x2b553c['open']['selected']],_0x2b6d4d=_0x2b553c['active']['find'](_0x4eb731=>_0x4eb731['source']==_0x2b09e6['source']),_0x47b41c=_0x2b09e6['completion']['commitCharacters']||_0x2b6d4d['result']['commitCharacters'];return _0x47b41c&&_0x47b41c['indexOf'](_0x408f5d['key'])>-0x1&&_0xbe7c0c(_0x21226c,_0x2b09e6),!0x1;}})),_0x332c20=_0x51f1f4['baseTheme']({'.cm-tooltip.cm-tooltip-autocomplete':{'&\x20>\x20ul':{'fontFamily':'monospace','whiteSpace':'nowrap','overflow':'hidden\x20auto','maxWidth_fallback':'700px','maxWidth':'min(700px,\x2095vw)','minWidth':'250px','maxHeight':'10em','height':'100%','listStyle':'none','margin':0x0,'padding':0x0,'&\x20>\x20li,\x20&\x20>\x20completion-section':{'padding':'1px\x203px','lineHeight':1.2},'&\x20>\x20li':{'overflowX':'hidden','textOverflow':'ellipsis','cursor':'pointer'},'&\x20>\x20completion-section':{'display':'list-item','borderBottom':'1px\x20solid\x20silver','paddingLeft':'0.5em','opacity':0.7}}},'&light\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#17c','color':'white'},'&light\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#777'},'&dark\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#347','color':'white'},'&dark\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#444'},'.cm-completionListIncompleteTop:before,\x20.cm-completionListIncompleteBottom:after':{'content':'\x22···\x22','opacity':0.5,'display':'block','textAlign':'center','cursor':'pointer'},'.cm-tooltip.cm-completionInfo':{'position':'absolute','padding':'3px\x209px','width':'max-content','maxWidth':'400px','boxSizing':'border-box','whiteSpace':'pre-line'},'.cm-completionInfo.cm-completionInfo-left':{'right':'100%'},'.cm-completionInfo.cm-completionInfo-right':{'left':'100%'},'.cm-completionInfo.cm-completionInfo-left-narrow':{'right':'30px'},'.cm-completionInfo.cm-completionInfo-right-narrow':{'left':'30px'},'&light\x20.cm-snippetField':{'backgroundColor':'#00000022'},'&dark\x20.cm-snippetField':{'backgroundColor':'#ffffff22'},'.cm-snippetFieldPosition':{'verticalAlign':'text-top','width':0x0,'height':'1.15em','display':'inline-block','margin':'0\x20-0.7px\x20-.7em','borderLeft':'1.4px\x20dotted\x20#888'},'.cm-completionMatchedText':{'textDecoration':'underline'},'.cm-completionDetail':{'marginLeft':'0.5em','fontStyle':'italic'},'.cm-completionIcon':{'fontSize':'90%','width':'.8em','display':'inline-block','textAlign':'center','paddingRight':'.6em','opacity':'0.6','boxSizing':'content-box'},'.cm-completionIcon-function,\x20.cm-completionIcon-method':{'&:after':{'content':'\x27ƒ\x27'}},'.cm-completionIcon-class':{'&:after':{'content':'\x27○\x27'}},'.cm-completionIcon-interface':{'&:after':{'content':'\x27◌\x27'}},'.cm-completionIcon-variable':{'&:after':{'content':'\x27𝑥\x27'}},'.cm-completionIcon-constant':{'&:after':{'content':'\x27𝐶\x27'}},'.cm-completionIcon-type':{'&:after':{'content':'\x27𝑡\x27'}},'.cm-completionIcon-enum':{'&:after':{'content':'\x27∪\x27'}},'.cm-completionIcon-property':{'&:after':{'content':'\x27□\x27'}},'.cm-completionIcon-keyword':{'&:after':{'content':'\x27🔑︎\x27'}},'.cm-completionIcon-namespace':{'&:after':{'content':'\x27▢\x27'}},'.cm-completionIcon-text':{'&:after':{'content':'\x27abc\x27','fontSize':'50%','verticalAlign':'middle'}}});var _0x4a30fb=class{constructor(_0x4c4d7c,_0x1c9d29,_0x329a7c,_0x3cf6ee){this['field']=_0x4c4d7c,this['line']=_0x1c9d29,this['from']=_0x329a7c,this['to']=_0x3cf6ee;}},_0x3ad6a0=class _0x3f3b17{constructor(_0x461f4d,_0x28e9c1,_0x5439e0){this['field']=_0x461f4d,this['from']=_0x28e9c1,this['to']=_0x5439e0;}['map'](_0x518460){let _0x50e9f2=_0x518460['mapPos'](this['from'],-0x1,_0x171f1e['TrackDel']),_0x15a1b6=_0x518460['mapPos'](this['to'],0x1,_0x171f1e['TrackDel']);return null==_0x50e9f2||null==_0x15a1b6?null:new _0x3f3b17(this['field'],_0x50e9f2,_0x15a1b6);}},_0x59dea2=class Snippet{constructor(_0x57e8d4,_0x2b079f){this['lines']=_0x57e8d4,this['fieldPositions']=_0x2b079f;}instantiate(_0x588b36,_0x4f5634){let _0x12db37=[],_0x1137e2=[_0x4f5634],_0x623bbc=_0x588b36['doc']['lineAt'](_0x4f5634),_0x5a35bb=/^\s*/['exec'](_0x623bbc['text'])[0x0];for(let _0xaedc44 of this['lines']){if(_0x12db37['length']){let _0x31e781=_0x5a35bb,_0x5b6ad2=/^\t*/['exec'](_0xaedc44)[0x0]['length'];for(let _0x3447c2=0x0;_0x3447c2<_0x5b6ad2;_0x3447c2++)_0x31e781+=_0x588b36['facet'](_0x277d90);_0x1137e2['push'](_0x4f5634+_0x31e781['length']-_0x5b6ad2),_0xaedc44=_0x31e781+_0xaedc44['slice'](_0x5b6ad2);}_0x12db37['push'](_0xaedc44),_0x4f5634+=_0xaedc44['length']+0x1;}return{'text':_0x12db37,'ranges':this['fieldPositions']['map'](_0x468886=>new _0x3ad6a0(_0x468886['field'],_0x1137e2[_0x468886['line']]+_0x468886['from'],_0x1137e2[_0x468886['line']]+_0x468886['to']))};}static['parse'](_0x2787cb){let _0x61f95a,_0xe0b290=[],_0x238dbb=[],_0x4a75f6=[];for(let _0x38c61d of _0x2787cb['split'](/\r\n?|\n/)){for(;_0x61f95a=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x38c61d);){let _0x1cd292=_0x61f95a[0x1]?+_0x61f95a[0x1]:null,_0x5066d3=_0x61f95a[0x2]||_0x61f95a[0x3]||'',_0x564b36=-0x1;0x0===_0x1cd292&&(_0x1cd292=0x3b9aca00);let _0x3a792a=_0x5066d3['replace'](/\\[{}]/g,_0x3b5b6c=>_0x3b5b6c[0x1]);for(let _0x21cc60=0x0;_0x21cc60<_0xe0b290['length'];_0x21cc60++)(null!=_0x1cd292?_0xe0b290[_0x21cc60]['seq']==_0x1cd292:_0x3a792a&&_0xe0b290[_0x21cc60]['name']==_0x3a792a)&&(_0x564b36=_0x21cc60);if(_0x564b36<0x0){let _0x156cc2=0x0;for(;_0x156cc2<_0xe0b290['length']&&(null==_0x1cd292||null!=_0xe0b290[_0x156cc2]['seq']&&_0xe0b290[_0x156cc2]['seq']<_0x1cd292);)_0x156cc2++;_0xe0b290['splice'](_0x156cc2,0x0,{'seq':_0x1cd292,'name':_0x3a792a}),_0x564b36=_0x156cc2;for(let _0x37eb0a of _0x4a75f6)_0x37eb0a['field']>=_0x564b36&&_0x37eb0a['field']++;}for(let _0x187c76 of _0x4a75f6)if(_0x187c76['line']==_0x238dbb['length']&&_0x187c76['from']>_0x61f95a['index']){let _0x1a372c=_0x61f95a[0x2]?0x3+(_0x61f95a[0x1]||'')['length']:0x2;_0x187c76['from']-=_0x1a372c,_0x187c76['to']-=_0x1a372c;}_0x4a75f6['push'](new _0x4a30fb(_0x564b36,_0x238dbb['length'],_0x61f95a['index'],_0x61f95a['index']+_0x3a792a['length'])),_0x38c61d=_0x38c61d['slice'](0x0,_0x61f95a['index'])+_0x5066d3+_0x38c61d['slice'](_0x61f95a['index']+_0x61f95a[0x0]['length']);}_0x38c61d=_0x38c61d['replace'](/\\([{}])/g,(_0x64c50a,_0xd532ff,_0x1ef0b8)=>{for(let _0x412705 of _0x4a75f6)_0x412705['line']==_0x238dbb['length']&&_0x412705['from']>_0x1ef0b8&&(_0x412705['from']--,_0x412705['to']--);return _0xd532ff;}),_0x238dbb['push'](_0x38c61d);}return new Snippet(_0x238dbb,_0x4a75f6);}};let _0x48a2e4=_0x18eb2e['widget']({'widget':new class extends _0x4016c2{toDOM(){let _0x2de633=document['createElement']('span');return _0x2de633['className']='cm-snippetFieldPosition',_0x2de633;}ignoreEvent(){return!0x1;}}()}),_0x54a6ef=_0x18eb2e['mark']({'class':'cm-snippetField'});var _0x3def2f=class ActiveSnippet{constructor(_0x50aa2b,_0x405cf1){this['ranges']=_0x50aa2b,this['active']=_0x405cf1,this['deco']=_0x18eb2e['set'](_0x50aa2b['map'](_0x441e0a=>(_0x441e0a['from']==_0x441e0a['to']?_0x48a2e4:_0x54a6ef)['range'](_0x441e0a['from'],_0x441e0a['to'])),!0x0);}['map'](_0x1d92d6){let _0x77ab1b=[];for(let _0x462b70 of this['ranges']){let _0x4f8ca6=_0x462b70['map'](_0x1d92d6);if(!_0x4f8ca6)return null;_0x77ab1b['push'](_0x4f8ca6);}return new ActiveSnippet(_0x77ab1b,this['active']);}selectionInsideField(_0x58b401){return _0x58b401['ranges']['every'](_0x1a3445=>this['ranges']['some'](_0x516c22=>_0x516c22['field']==this['active']&&_0x516c22['from']<=_0x1a3445['from']&&_0x516c22['to']>=_0x1a3445['to']));}};const _0x427e5d=_0x1f791d['define']({'map':(_0x5bad62,_0x4b1b04)=>_0x5bad62&&_0x5bad62['map'](_0x4b1b04)}),_0x1f2ae8=_0x1f791d['define'](),_0x3754e4=_0xe7f3f['define']({'create':()=>null,'update'(_0x4929f4,_0xcfea3f){for(let _0x299dd2 of _0xcfea3f['effects']){if(_0x299dd2['is'](_0x427e5d))return _0x299dd2['value'];if(_0x299dd2['is'](_0x1f2ae8)&&_0x4929f4)return new _0x3def2f(_0x4929f4['ranges'],_0x299dd2['value']);}return _0x4929f4&&_0xcfea3f['docChanged']&&(_0x4929f4=_0x4929f4['map'](_0xcfea3f['changes'])),_0x4929f4&&_0xcfea3f['selection']&&!_0x4929f4['selectionInsideField'](_0xcfea3f['selection'])&&(_0x4929f4=null),_0x4929f4;},'provide':_0x186615=>_0x51f1f4['decorations']['from'](_0x186615,_0x2dd831=>_0x2dd831?_0x2dd831['deco']:_0x18eb2e['none'])});function _0x4ad4f1(_0x17f7b7,_0x2f9864){return _0x3bda1f['create'](_0x17f7b7['filter'](_0x3bc5ad=>_0x3bc5ad['field']==_0x2f9864)['map'](_0x4cc289=>_0x3bda1f['range'](_0x4cc289['from'],_0x4cc289['to'])));}function _0x5d64aa(_0x52494b){let _0x4b4dc4=_0x59dea2['parse'](_0x52494b);return(_0x138d1f,_0x55fbd8,_0x2dcea0,_0x5771e5)=>{let {text:_0x2eae2c,ranges:_0xf53761}=_0x4b4dc4['instantiate'](_0x138d1f['state'],_0x2dcea0),{main:_0x54f3b8}=_0x138d1f['state']['selection'],_0x36a081={'changes':{'from':_0x2dcea0,'to':_0x5771e5==_0x54f3b8['from']?_0x54f3b8['to']:_0x5771e5,'insert':_0x4293ea['of'](_0x2eae2c)},'scrollIntoView':!0x0,'annotations':_0x55fbd8?[_0x5e9fc0['of'](_0x55fbd8),_0xdf5f41['userEvent']['of']('input.complete')]:void 0x0};if(_0xf53761['length']&&(_0x36a081['selection']=_0x4ad4f1(_0xf53761,0x0)),_0xf53761['some'](_0x2d6d4a=>_0x2d6d4a['field']>0x0)){let _0x500f5a=new _0x3def2f(_0xf53761,0x0),_0x1a9519=_0x36a081['effects']=[_0x427e5d['of'](_0x500f5a)];void 0x0===_0x138d1f['state']['field'](_0x3754e4,!0x1)&&_0x1a9519['push'](_0x1f791d['appendConfig']['of']([_0x3754e4,_0x8c598f,_0x1c1cdf,_0x332c20]));}_0x138d1f['dispatch'](_0x138d1f['state']['update'](_0x36a081));};}function _0x63c52d(_0x3ea280){return({state:_0x457053,dispatch:_0x4e67e6})=>{let _0x27c498=_0x457053['field'](_0x3754e4,!0x1);if(!_0x27c498||_0x3ea280<0x0&&0x0==_0x27c498['active'])return!0x1;let _0x5cbf4b=_0x27c498['active']+_0x3ea280,_0x2b2294=_0x3ea280>0x0&&!_0x27c498['ranges']['some'](_0x583ca8=>_0x583ca8['field']==_0x5cbf4b+_0x3ea280);return _0x4e67e6(_0x457053['update']({'selection':_0x4ad4f1(_0x27c498['ranges'],_0x5cbf4b),'effects':_0x427e5d['of'](_0x2b2294?null:new _0x3def2f(_0x27c498['ranges'],_0x5cbf4b)),'scrollIntoView':!0x0})),!0x0;};}const _0x3b3807=[{'key':'Tab','run':_0x63c52d(0x1),'shift':_0x63c52d(-0x1)},{'key':'Escape','run':({state:_0x5bc43e,dispatch:_0x190f4b})=>!!_0x5bc43e['field'](_0x3754e4,!0x1)&&(_0x190f4b(_0x5bc43e['update']({'effects':_0x427e5d['of'](null)})),!0x0)}],_0x3eacf7=_0x2658c2['define']({'combine':_0x17e03c=>_0x17e03c['length']?_0x17e03c[0x0]:_0x3b3807}),_0x8c598f=_0x1cb9ad['highest'](_0xc0edec['compute']([_0x3eacf7],_0x2eed1b=>_0x2eed1b['facet'](_0x3eacf7)));function _0x383a7c(_0x1b9fcd,_0x2243e8){return{..._0x2243e8,'apply':_0x5d64aa(_0x1b9fcd)};}const _0x1c1cdf=_0x51f1f4['domEventHandlers']({'mousedown'(_0xd86a8b,_0x2159a0){let _0x1eb9c6,_0x26e108=_0x2159a0['state']['field'](_0x3754e4,!0x1);if(!_0x26e108||null==(_0x1eb9c6=_0x2159a0['posAtCoords']({'x':_0xd86a8b['clientX'],'y':_0xd86a8b['clientY']})))return!0x1;let _0x464922=_0x26e108['ranges']['find'](_0x44595d=>_0x44595d['from']<=_0x1eb9c6&&_0x44595d['to']>=_0x1eb9c6);return!(!_0x464922||_0x464922['field']==_0x26e108['active'])&&(_0x2159a0['dispatch']({'selection':_0x4ad4f1(_0x26e108['ranges'],_0x464922['field']),'effects':_0x427e5d['of'](_0x26e108['ranges']['some'](_0x285490=>_0x285490['field']>_0x464922['field'])?new _0x3def2f(_0x26e108['ranges'],_0x464922['field']):null),'scrollIntoView':!0x0}),!0x0);}}),_0x1f06e1={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},_0x135fd2=_0x1f791d['define']({'map'(_0x451b4f,_0x4749d8){let _0xbb0b4e=_0x4749d8['mapPos'](_0x451b4f,-0x1,_0x171f1e['TrackAfter']);return null==_0xbb0b4e?void 0x0:_0xbb0b4e;}}),_0x3b2046=new class extends _0x1d3955{}();_0x3b2046['startSide']=0x1,_0x3b2046['endSide']=-0x1;const _0x67790b=_0xe7f3f['define']({'create':()=>_0x53c81c['empty'],'update'(_0x5cba55,_0x12a643){if(_0x5cba55=_0x5cba55['map'](_0x12a643['changes']),_0x12a643['selection']){let _0x2f4f19=_0x12a643['state']['doc']['lineAt'](_0x12a643['selection']['main']['head']);_0x5cba55=_0x5cba55['update']({'filter':_0x16b4b5=>_0x16b4b5>=_0x2f4f19['from']&&_0x16b4b5<=_0x2f4f19['to']});}for(let _0x4d8ccc of _0x12a643['effects'])_0x4d8ccc['is'](_0x135fd2)&&(_0x5cba55=_0x5cba55['update']({'add':[_0x3b2046['range'](_0x4d8ccc['value'],_0x4d8ccc['value']+0x1)]}));return _0x5cba55;}});function _0x41a16e(){return[_0x15393d,_0x67790b];}const _0x80c6df='()[]{}<>«»»«［］｛｝';function _0x277dfe(_0x397b06){for(let _0x8a0488=0x0;_0x8a0488<0x10;_0x8a0488+=0x2)if(_0x80c6df['charCodeAt'](_0x8a0488)==_0x397b06)return _0x80c6df['charAt'](_0x8a0488+0x1);return _0x176df8(_0x397b06<0x80?_0x397b06:_0x397b06+0x1);}function _0x310b9e(_0x1d5159,_0x22e8bc){return _0x1d5159['languageDataAt']('closeBrackets',_0x22e8bc)[0x0]||_0x1f06e1;}const _0x599b05='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x15393d=_0x51f1f4['inputHandler']['of']((_0x30f7f4,_0x4c8fc4,_0x27f51f,_0x3dc308)=>{if((_0x599b05?_0x30f7f4['composing']:_0x30f7f4['compositionStarted'])||_0x30f7f4['state']['readOnly'])return!0x1;let _0x5d6e7f=_0x30f7f4['state']['selection']['main'];if(_0x3dc308['length']>0x2||0x2==_0x3dc308['length']&&0x1==_0xce687(_0x3b4c13(_0x3dc308,0x0))||_0x4c8fc4!=_0x5d6e7f['from']||_0x27f51f!=_0x5d6e7f['to'])return!0x1;let _0xccdd62=function(_0x2073a0,_0x2bddac){let _0x447d08=_0x310b9e(_0x2073a0,_0x2073a0['selection']['main']['head']),_0x21d805=_0x447d08['brackets']||_0x1f06e1['brackets'];for(let _0x16ad04 of _0x21d805){let _0x8c7576=_0x277dfe(_0x3b4c13(_0x16ad04,0x0));if(_0x2bddac==_0x16ad04)return _0x8c7576==_0x16ad04?_0x399b6f(_0x2073a0,_0x16ad04,_0x21d805['indexOf'](_0x16ad04+_0x16ad04+_0x16ad04)>-0x1,_0x447d08):_0x271f72(_0x2073a0,_0x16ad04,_0x8c7576,_0x447d08['before']||_0x1f06e1['before']);if(_0x2bddac==_0x8c7576&&_0x567ffb(_0x2073a0,_0x2073a0['selection']['main']['from']))return _0x2a67d8(_0x2073a0,_0x16ad04,_0x8c7576);}return null;}(_0x30f7f4['state'],_0x3dc308);return!!_0xccdd62&&(_0x30f7f4['dispatch'](_0xccdd62),!0x0);}),_0x19f145=[{'key':'Backspace','run':({state:_0x127e02,dispatch:_0x44a4f2})=>{if(_0x127e02['readOnly'])return!0x1;let _0x3f8ecd=_0x310b9e(_0x127e02,_0x127e02['selection']['main']['head'])['brackets']||_0x1f06e1['brackets'],_0x5b58b1=null,_0x2e9345=_0x127e02['changeByRange'](_0x510d64=>{if(_0x510d64['empty']){let _0x232545=function(_0x3a3ddc,_0x507cb2){let _0x3937c1=_0x3a3ddc['sliceString'](_0x507cb2-0x2,_0x507cb2);return _0xce687(_0x3b4c13(_0x3937c1,0x0))==_0x3937c1['length']?_0x3937c1:_0x3937c1['slice'](0x1);}(_0x127e02['doc'],_0x510d64['head']);for(let _0x171109 of _0x3f8ecd)if(_0x171109==_0x232545&&_0x10b269(_0x127e02['doc'],_0x510d64['head'])==_0x277dfe(_0x3b4c13(_0x171109,0x0)))return{'changes':{'from':_0x510d64['head']-_0x171109['length'],'to':_0x510d64['head']+_0x171109['length']},'range':_0x3bda1f['cursor'](_0x510d64['head']-_0x171109['length'])};}return{'range':_0x5b58b1=_0x510d64};});return _0x5b58b1||_0x44a4f2(_0x127e02['update'](_0x2e9345,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x5b58b1;}}];function _0x567ffb(_0x4bbf52,_0x8ca1b7){let _0xa17ba8=!0x1;return _0x4bbf52['field'](_0x67790b)['between'](0x0,_0x4bbf52['doc']['length'],_0x254036=>{_0x254036==_0x8ca1b7&&(_0xa17ba8=!0x0);}),_0xa17ba8;}function _0x10b269(_0x45a1d2,_0x43838a){let _0x36b38e=_0x45a1d2['sliceString'](_0x43838a,_0x43838a+0x2);return _0x36b38e['slice'](0x0,_0xce687(_0x3b4c13(_0x36b38e,0x0)));}function _0x271f72(_0x15f5f1,_0x17356a,_0x1520be,_0x1c6ae2){let _0x49af94=null,_0x2aba6e=_0x15f5f1['changeByRange'](_0x4ff240=>{if(!_0x4ff240['empty'])return{'changes':[{'insert':_0x17356a,'from':_0x4ff240['from']},{'insert':_0x1520be,'from':_0x4ff240['to']}],'effects':_0x135fd2['of'](_0x4ff240['to']+_0x17356a['length']),'range':_0x3bda1f['range'](_0x4ff240['anchor']+_0x17356a['length'],_0x4ff240['head']+_0x17356a['length'])};let _0x4fedb0=_0x10b269(_0x15f5f1['doc'],_0x4ff240['head']);return!_0x4fedb0||/\s/['test'](_0x4fedb0)||_0x1c6ae2['indexOf'](_0x4fedb0)>-0x1?{'changes':{'insert':_0x17356a+_0x1520be,'from':_0x4ff240['head']},'effects':_0x135fd2['of'](_0x4ff240['head']+_0x17356a['length']),'range':_0x3bda1f['cursor'](_0x4ff240['head']+_0x17356a['length'])}:{'range':_0x49af94=_0x4ff240};});return _0x49af94?null:_0x15f5f1['update'](_0x2aba6e,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x2a67d8(_0x4a8e34,_0x1582ab,_0x354a58){let _0x1aa30b=null,_0x2c65b5=_0x4a8e34['changeByRange'](_0x2bb9f8=>_0x2bb9f8['empty']&&_0x10b269(_0x4a8e34['doc'],_0x2bb9f8['head'])==_0x354a58?{'changes':{'from':_0x2bb9f8['head'],'to':_0x2bb9f8['head']+_0x354a58['length'],'insert':_0x354a58},'range':_0x3bda1f['cursor'](_0x2bb9f8['head']+_0x354a58['length'])}:_0x1aa30b={'range':_0x2bb9f8});return _0x1aa30b?null:_0x4a8e34['update'](_0x2c65b5,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x399b6f(_0x33ec76,_0x5c97fd,_0x22ae04,_0x502ebb){let _0x5d84b1=_0x502ebb['stringPrefixes']||_0x1f06e1['stringPrefixes'],_0x4b0b8d=null,_0x383440=_0x33ec76['changeByRange'](_0x1062e2=>{if(!_0x1062e2['empty'])return{'changes':[{'insert':_0x5c97fd,'from':_0x1062e2['from']},{'insert':_0x5c97fd,'from':_0x1062e2['to']}],'effects':_0x135fd2['of'](_0x1062e2['to']+_0x5c97fd['length']),'range':_0x3bda1f['range'](_0x1062e2['anchor']+_0x5c97fd['length'],_0x1062e2['head']+_0x5c97fd['length'])};let _0x4fb998,_0xdda71f=_0x1062e2['head'],_0x1e1e24=_0x10b269(_0x33ec76['doc'],_0xdda71f);if(_0x1e1e24==_0x5c97fd){if(_0x458b40(_0x33ec76,_0xdda71f))return{'changes':{'insert':_0x5c97fd+_0x5c97fd,'from':_0xdda71f},'effects':_0x135fd2['of'](_0xdda71f+_0x5c97fd['length']),'range':_0x3bda1f['cursor'](_0xdda71f+_0x5c97fd['length'])};if(_0x567ffb(_0x33ec76,_0xdda71f)){let _0x2daafd=_0x22ae04&&_0x33ec76['sliceDoc'](_0xdda71f,_0xdda71f+0x3*_0x5c97fd['length'])==_0x5c97fd+_0x5c97fd+_0x5c97fd?_0x5c97fd+_0x5c97fd+_0x5c97fd:_0x5c97fd;return{'changes':{'from':_0xdda71f,'to':_0xdda71f+_0x2daafd['length'],'insert':_0x2daafd},'range':_0x3bda1f['cursor'](_0xdda71f+_0x2daafd['length'])};}}else{if(_0x22ae04&&_0x33ec76['sliceDoc'](_0xdda71f-0x2*_0x5c97fd['length'],_0xdda71f)==_0x5c97fd+_0x5c97fd&&(_0x4fb998=_0x4d79bb(_0x33ec76,_0xdda71f-0x2*_0x5c97fd['length'],_0x5d84b1))>-0x1&&_0x458b40(_0x33ec76,_0x4fb998))return{'changes':{'insert':_0x5c97fd+_0x5c97fd+_0x5c97fd+_0x5c97fd,'from':_0xdda71f},'effects':_0x135fd2['of'](_0xdda71f+_0x5c97fd['length']),'range':_0x3bda1f['cursor'](_0xdda71f+_0x5c97fd['length'])};if(_0x33ec76['charCategorizer'](_0xdda71f)(_0x1e1e24)!=_0x17f75a['Word']&&_0x4d79bb(_0x33ec76,_0xdda71f,_0x5d84b1)>-0x1&&!function(_0x2a9bd1,_0x34ef50,_0x555d4f,_0x4da480){let _0x5012a4=_0x393d13(_0x2a9bd1)['resolveInner'](_0x34ef50,-0x1),_0x833593=_0x4da480['reduce']((_0x28cdbe,_0x122795)=>Math['max'](_0x28cdbe,_0x122795['length']),0x0);for(let _0x474417=0x0;_0x474417<0x5;_0x474417++){let _0x123fb5=_0x2a9bd1['sliceDoc'](_0x5012a4['from'],Math['min'](_0x5012a4['to'],_0x5012a4['from']+_0x555d4f['length']+_0x833593)),_0x3b6f6a=_0x123fb5['indexOf'](_0x555d4f);if(!_0x3b6f6a||_0x3b6f6a>-0x1&&_0x4da480['indexOf'](_0x123fb5['slice'](0x0,_0x3b6f6a))>-0x1){let _0x2216e0=_0x5012a4['firstChild'];for(;_0x2216e0&&_0x2216e0['from']==_0x5012a4['from']&&_0x2216e0['to']-_0x2216e0['from']>_0x555d4f['length']+_0x3b6f6a;){if(_0x2a9bd1['sliceDoc'](_0x2216e0['to']-_0x555d4f['length'],_0x2216e0['to'])==_0x555d4f)return!0x1;_0x2216e0=_0x2216e0['firstChild'];}return!0x0;}let _0x11eb25=_0x5012a4['to']==_0x34ef50&&_0x5012a4['parent'];if(!_0x11eb25)break;_0x5012a4=_0x11eb25;}return!0x1;}(_0x33ec76,_0xdda71f,_0x5c97fd,_0x5d84b1))return{'changes':{'insert':_0x5c97fd+_0x5c97fd,'from':_0xdda71f},'effects':_0x135fd2['of'](_0xdda71f+_0x5c97fd['length']),'range':_0x3bda1f['cursor'](_0xdda71f+_0x5c97fd['length'])};}return{'range':_0x4b0b8d=_0x1062e2};});return _0x4b0b8d?null:_0x33ec76['update'](_0x383440,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x458b40(_0x35acd1,_0x353d73){let _0x4962af=_0x393d13(_0x35acd1)['resolveInner'](_0x353d73+0x1);return _0x4962af['parent']&&_0x4962af['from']==_0x353d73;}function _0x4d79bb(_0x5521ff,_0x19abb2,_0x1acb34){let _0x322274=_0x5521ff['charCategorizer'](_0x19abb2);if(_0x322274(_0x5521ff['sliceDoc'](_0x19abb2-0x1,_0x19abb2))!=_0x17f75a['Word'])return _0x19abb2;for(let _0x2bb79f of _0x1acb34){let _0xca0a8=_0x19abb2-_0x2bb79f['length'];if(_0x5521ff['sliceDoc'](_0xca0a8,_0x19abb2)==_0x2bb79f&&_0x322274(_0x5521ff['sliceDoc'](_0xca0a8-0x1,_0xca0a8))!=_0x17f75a['Word'])return _0xca0a8;}return-0x1;}function tH(_0x2577f5={}){return[_0x4c09be,_0x558f59,_0x2e5c10['of'](_0x2577f5),_0x919848,_0x2a5491,_0x332c20];}const _0x2a4a2c=[{'key':'Ctrl-Space','run':_0xe6a4d6},{'mac':'Alt-`','run':_0xe6a4d6},{'mac':'Alt-i','run':_0xe6a4d6},{'key':'Escape','run':_0x3f5d35=>{let _0x5e688a=_0x3f5d35['state']['field'](_0x558f59,!0x1);return!(!_0x5e688a||!_0x5e688a['active']['some'](_0xee3f33=>0x0!=_0xee3f33['state']))&&(_0x3f5d35['dispatch']({'effects':_0x3b03eb['of'](null)}),!0x0);}},{'key':'ArrowDown','run':_0x299360(!0x0)},{'key':'ArrowUp','run':_0x299360(!0x1)},{'key':'PageDown','run':_0x299360(!0x0,'page')},{'key':'PageUp','run':_0x299360(!0x1,'page')},{'key':'Enter','run':_0x2fcbdd=>{let _0x2236a6=_0x2fcbdd['state']['field'](_0x558f59,!0x1);return!(_0x2fcbdd['state']['readOnly']||!_0x2236a6||!_0x2236a6['open']||_0x2236a6['open']['selected']<0x0||_0x2236a6['open']['disabled']||Date['now']()-_0x2236a6['open']['timestamp']<_0x2fcbdd['state']['facet'](_0x2e5c10)['interactionDelay'])&&_0xbe7c0c(_0x2fcbdd,_0x2236a6['open']['options'][_0x2236a6['open']['selected']]);}}],_0x2a5491=_0x1cb9ad['highest'](_0xc0edec['computeN']([_0x2e5c10],_0x5e3989=>_0x5e3989['facet'](_0x2e5c10)['defaultKeymap']?[_0x2a4a2c]:[]));var _0x54941c=class Stack{constructor(_0x2aa4a1,_0x3973c0,_0x599b7f,_0x3569e1,_0x959650,_0x55353f,_0x351a42,_0x3d93b7,_0x546b7b,_0x31aa88=0x0,_0x3bb548){this['p']=_0x2aa4a1,this['stack']=_0x3973c0,this['state']=_0x599b7f,this['reducePos']=_0x3569e1,this['pos']=_0x959650,this['score']=_0x55353f,this['buffer']=_0x351a42,this['bufferBase']=_0x3d93b7,this['curContext']=_0x546b7b,this['lookAhead']=_0x31aa88,this['parent']=_0x3bb548;}toString(){return'['+this['stack']['filter']((_0x52f7f3,_0x49b7a8)=>_0x49b7a8%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static start(_0x330fa0,_0x4bb41c,_0x5d3a61=0x0){let _0x3ffda0=_0x330fa0['parser']['context'];return new Stack(_0x330fa0,[],_0x4bb41c,_0x5d3a61,_0x5d3a61,0x0,[],0x0,_0x3ffda0?new _0x599096(_0x3ffda0,_0x3ffda0['start']):null,0x0,null);}get context(){return this['curContext']?this['curContext']['context']:null;}pushState(_0xbd9b4,_0x200167){this['stack']['push'](this['state'],_0x200167,this['bufferBase']+this['buffer']['length']),this['state']=_0xbd9b4;}['reduce'](_0x5cdd3f){var _0x33055f;let _0x42a831=_0x5cdd3f>>0x13,_0x27012b=0xffff&_0x5cdd3f,{parser:_0x309636}=this['p'],_0x587553=this['reducePos']<this['pos']-0x19&&this['setLookAhead'](this['pos']),_0x9a973=_0x309636['dynamicPrecedence'](_0x27012b);if(_0x9a973&&(this['score']+=_0x9a973),0x0==_0x42a831)return _0x27012b<_0x309636['minRepeatTerm']&&this['reducePos']<this['pos']&&(this['reducePos']=this['pos']),this['pushState'](_0x309636['getGoto'](this['state'],_0x27012b,!0x0),this['reducePos']),_0x27012b<_0x309636['minRepeatTerm']&&this['storeNode'](_0x27012b,this['reducePos'],this['reducePos'],_0x587553?0x8:0x4,!0x0),void this['reduceContext'](_0x27012b,this['reducePos']);let _0x7735f3=this['stack']['length']-0x3*(_0x42a831-0x1)-(0x40000&_0x5cdd3f?0x6:0x0),_0x401afb=_0x7735f3?this['stack'][_0x7735f3-0x2]:this['p']['ranges'][0x0]['from'];_0x27012b<_0x309636['minRepeatTerm']&&_0x401afb==this['reducePos']&&this['reducePos']<this['pos']&&(this['reducePos']=this['pos']);let _0x3eda97=this['reducePos']-_0x401afb;_0x3eda97>=0x7d0&&!(null===(_0x33055f=this['p']['parser']['nodeSet']['types'][_0x27012b])||void 0x0===_0x33055f?void 0x0:_0x33055f['isAnonymous'])&&(_0x401afb==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x3eda97):this['p']['lastBigReductionSize']<_0x3eda97&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x401afb,this['p']['lastBigReductionSize']=_0x3eda97));let _0xb2a528=_0x7735f3?this['stack'][_0x7735f3-0x1]:0x0,_0x4bd286=this['bufferBase']+this['buffer']['length']-_0xb2a528;if(_0x27012b<_0x309636['minRepeatTerm']||0x20000&_0x5cdd3f){let _0x1734cd=_0x309636['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x27012b,_0x401afb,_0x1734cd,_0x4bd286+0x4,!0x0);}if(0x40000&_0x5cdd3f)this['state']=this['stack'][_0x7735f3];else{let _0x424779=this['stack'][_0x7735f3-0x3];this['state']=_0x309636['getGoto'](_0x424779,_0x27012b,!0x0);}for(;this['stack']['length']>_0x7735f3;)this['stack']['pop']();this['reduceContext'](_0x27012b,_0x401afb);}storeNode(_0x23a0f3,_0x25058b,_0x3bf101,_0x394682=0x4,_0x156bdc=!0x1){if(0x0==_0x23a0f3&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x265d57=this['buffer']['length'];if(_0x265d57>0x0&&0x0==this['buffer'][_0x265d57-0x4]&&this['buffer'][_0x265d57-0x1]>-0x1){if(_0x25058b==_0x3bf101)return;if(this['buffer'][_0x265d57-0x2]>=_0x25058b)return void(this['buffer'][_0x265d57-0x2]=_0x3bf101);}}if(_0x156bdc&&this['pos']!=_0x3bf101){let _0x4efa0b=this['buffer']['length'];if(_0x4efa0b>0x0&&(0x0!=this['buffer'][_0x4efa0b-0x4]||this['buffer'][_0x4efa0b-0x1]<0x0)){let _0x98f50f=!0x1;for(let _0x185170=_0x4efa0b;_0x185170>0x0&&this['buffer'][_0x185170-0x2]>_0x3bf101;_0x185170-=0x4)if(this['buffer'][_0x185170-0x1]>=0x0){_0x98f50f=!0x0;break;}if(_0x98f50f){for(;_0x4efa0b>0x0&&this['buffer'][_0x4efa0b-0x2]>_0x3bf101;)this['buffer'][_0x4efa0b]=this['buffer'][_0x4efa0b-0x4],this['buffer'][_0x4efa0b+0x1]=this['buffer'][_0x4efa0b-0x3],this['buffer'][_0x4efa0b+0x2]=this['buffer'][_0x4efa0b-0x2],this['buffer'][_0x4efa0b+0x3]=this['buffer'][_0x4efa0b-0x1],_0x4efa0b-=0x4,_0x394682>0x4&&(_0x394682-=0x4);}}this['buffer'][_0x4efa0b]=_0x23a0f3,this['buffer'][_0x4efa0b+0x1]=_0x25058b,this['buffer'][_0x4efa0b+0x2]=_0x3bf101,this['buffer'][_0x4efa0b+0x3]=_0x394682;}else this['buffer']['push'](_0x23a0f3,_0x25058b,_0x3bf101,_0x394682);}shift(_0x5a3160,_0x20a6f2,_0x321fff,_0x2f2ce5){if(0x20000&_0x5a3160)this['pushState'](0xffff&_0x5a3160,this['pos']);else{if(0x40000&_0x5a3160)this['pos']=_0x2f2ce5,this['shiftContext'](_0x20a6f2,_0x321fff),_0x20a6f2<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x20a6f2,_0x321fff,_0x2f2ce5,0x4);else{let _0x492d6f=_0x5a3160,{parser:_0x22559f}=this['p'];this['pos']=_0x2f2ce5;let _0x22bfd7=_0x22559f['stateFlag'](_0x492d6f,0x1);!_0x22bfd7&&(_0x2f2ce5>_0x321fff||_0x20a6f2<=_0x22559f['maxNode'])&&(this['reducePos']=_0x2f2ce5),this['pushState'](_0x492d6f,_0x22bfd7?_0x321fff:Math['min'](_0x321fff,this['reducePos'])),this['shiftContext'](_0x20a6f2,_0x321fff),_0x20a6f2<=_0x22559f['maxNode']&&this['buffer']['push'](_0x20a6f2,_0x321fff,_0x2f2ce5,0x4);}}}['apply'](_0xf8c985,_0x3ded9b,_0x46f663,_0x4d3cf5){0x10000&_0xf8c985?this['reduce'](_0xf8c985):this['shift'](_0xf8c985,_0x3ded9b,_0x46f663,_0x4d3cf5);}['useNode'](_0x1a4d73,_0x32a336){let _0x2d06b5=this['p']['reused']['length']-0x1;(_0x2d06b5<0x0||this['p']['reused'][_0x2d06b5]!=_0x1a4d73)&&(this['p']['reused']['push'](_0x1a4d73),_0x2d06b5++);let _0x1483ae=this['pos'];this['reducePos']=this['pos']=_0x1483ae+_0x1a4d73['length'],this['pushState'](_0x32a336,_0x1483ae),this['buffer']['push'](_0x2d06b5,_0x1483ae,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x1a4d73,this,this['p']['stream']['reset'](this['pos']-_0x1a4d73['length'])));}split(){let _0xa2abed=this,_0x1d4ae1=_0xa2abed['buffer']['length'];for(_0x1d4ae1&&0x0==_0xa2abed['buffer'][_0x1d4ae1-0x4]&&(_0x1d4ae1-=0x4);_0x1d4ae1>0x0&&_0xa2abed['buffer'][_0x1d4ae1-0x2]>_0xa2abed['reducePos'];)_0x1d4ae1-=0x4;let _0x17cc02=_0xa2abed['buffer']['slice'](_0x1d4ae1),_0x211834=_0xa2abed['bufferBase']+_0x1d4ae1;for(;_0xa2abed&&_0x211834==_0xa2abed['bufferBase'];)_0xa2abed=_0xa2abed['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x17cc02,_0x211834,this['curContext'],this['lookAhead'],_0xa2abed);}recoverByDelete(_0x151a36,_0x3792b4){let _0x117229=_0x151a36<=this['p']['parser']['maxNode'];_0x117229&&this['storeNode'](_0x151a36,this['pos'],_0x3792b4,0x4),this['storeNode'](0x0,this['pos'],_0x3792b4,_0x117229?0x8:0x4),this['pos']=this['reducePos']=_0x3792b4,this['score']-=0xbe;}canShift(_0x3525d3){for(let _0x30abbc=new _0x21d829(this);;){let _0x1ec319=this['p']['parser']['stateSlot'](_0x30abbc['state'],0x4)||this['p']['parser']['hasAction'](_0x30abbc['state'],_0x3525d3);if(0x0==_0x1ec319)return!0x1;if(!(0x10000&_0x1ec319))return!0x0;_0x30abbc['reduce'](_0x1ec319);}}recoverByInsert(_0x58d7ac){if(this['stack']['length']>=0x12c)return[];let _0x35c6c1=this['p']['parser']['nextStates'](this['state']);if(_0x35c6c1['length']>0x8||this['stack']['length']>=0x78){let _0xf63e22=[];for(let _0x534365,_0x43aef3=0x0;_0x43aef3<_0x35c6c1['length'];_0x43aef3+=0x2)(_0x534365=_0x35c6c1[_0x43aef3+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x534365,_0x58d7ac)&&_0xf63e22['push'](_0x35c6c1[_0x43aef3],_0x534365);if(this['stack']['length']<0x78)for(let _0x220d9f=0x0;_0xf63e22['length']<0x8&&_0x220d9f<_0x35c6c1['length'];_0x220d9f+=0x2){let _0x27bc0f=_0x35c6c1[_0x220d9f+0x1];_0xf63e22['some']((_0x2928ba,_0x18faa8)=>0x1&_0x18faa8&&_0x2928ba==_0x27bc0f)||_0xf63e22['push'](_0x35c6c1[_0x220d9f],_0x27bc0f);}_0x35c6c1=_0xf63e22;}let _0x4f3948=[];for(let _0x251c86=0x0;_0x251c86<_0x35c6c1['length']&&_0x4f3948['length']<0x4;_0x251c86+=0x2){let _0x22ae2d=_0x35c6c1[_0x251c86+0x1];if(_0x22ae2d==this['state'])continue;let _0x267c88=this['split']();_0x267c88['pushState'](_0x22ae2d,this['pos']),_0x267c88['storeNode'](0x0,_0x267c88['pos'],_0x267c88['pos'],0x4,!0x0),_0x267c88['shiftContext'](_0x35c6c1[_0x251c86],this['pos']),_0x267c88['reducePos']=this['pos'],_0x267c88['score']-=0xc8,_0x4f3948['push'](_0x267c88);}return _0x4f3948;}['forceReduce'](){let {parser:_0x40a803}=this['p'],_0x2730b7=_0x40a803['stateSlot'](this['state'],0x5);if(!(0x10000&_0x2730b7))return!0x1;if(!_0x40a803['validAction'](this['state'],_0x2730b7)){let _0x425dda=_0x2730b7>>0x13,_0x519c41=0xffff&_0x2730b7,_0x48cc49=this['stack']['length']-0x3*_0x425dda;if(_0x48cc49<0x0||_0x40a803['getGoto'](this['stack'][_0x48cc49],_0x519c41,!0x1)<0x0){let _0x569729=this['findForcedReduction']();if(null==_0x569729)return!0x1;_0x2730b7=_0x569729;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x2730b7),!0x0;}findForcedReduction(){let {parser:_0x464b2b}=this['p'],_0x44909e=[],_0xc1fa92=(_0xece725,_0x358c5a)=>{if(!_0x44909e['includes'](_0xece725))return _0x44909e['push'](_0xece725),_0x464b2b['allActions'](_0xece725,_0x3dd630=>{if(0x60000&_0x3dd630);else{if(0x10000&_0x3dd630){let _0x49aa86=(_0x3dd630>>0x13)-_0x358c5a;if(_0x49aa86>0x1){let _0x1c86f9=0xffff&_0x3dd630,_0x33c77d=this['stack']['length']-0x3*_0x49aa86;if(_0x33c77d>=0x0&&_0x464b2b['getGoto'](this['stack'][_0x33c77d],_0x1c86f9,!0x1)>=0x0)return _0x49aa86<<0x13|0x10000|_0x1c86f9;}}else{let _0x1e74d1=_0xc1fa92(_0x3dd630,_0x358c5a+0x1);if(null!=_0x1e74d1)return _0x1e74d1;}}});};return _0xc1fa92(this['state'],0x0);}['forceAll'](){for(;!this['p']['parser']['stateFlag'](this['state'],0x2);)if(!this['forceReduce']()){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0);break;}return this;}get['deadEnd'](){if(0x3!=this['stack']['length'])return!0x1;let {parser:_0x4a94cd}=this['p'];return 0xffff==_0x4a94cd['data'][_0x4a94cd['stateSlot'](this['state'],0x1)]&&!_0x4a94cd['stateSlot'](this['state'],0x4);}restart(){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}sameState(_0x6a0016){if(this['state']!=_0x6a0016['state']||this['stack']['length']!=_0x6a0016['stack']['length'])return!0x1;for(let _0x25b785=0x0;_0x25b785<this['stack']['length'];_0x25b785+=0x3)if(this['stack'][_0x25b785]!=_0x6a0016['stack'][_0x25b785])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}dialectEnabled(_0x4ecdae){return this['p']['parser']['dialect']['flags'][_0x4ecdae];}shiftContext(_0x250444,_0x125505){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x250444,this,this['p']['stream']['reset'](_0x125505)));}reduceContext(_0x438eba,_0x1b5fa4){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x438eba,this,this['p']['stream']['reset'](_0x1b5fa4)));}emitContext(){let _0x790c27=this['buffer']['length']-0x1;(_0x790c27<0x0||-0x3!=this['buffer'][_0x790c27])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}emitLookAhead(){let _0x3db61f=this['buffer']['length']-0x1;(_0x3db61f<0x0||-0x4!=this['buffer'][_0x3db61f])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}updateContext(_0x3a5d96){if(_0x3a5d96!=this['curContext']['context']){let _0x3e6fea=new _0x599096(this['curContext']['tracker'],_0x3a5d96);_0x3e6fea['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x3e6fea;}}setLookAhead(_0x491458){return!(_0x491458<=this['lookAhead'])&&(this['emitLookAhead'](),this['lookAhead']=_0x491458,!0x0);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}},_0x599096=class{constructor(_0x5078ae,_0x337884){this['tracker']=_0x5078ae,this['context']=_0x337884,this['hash']=_0x5078ae['strict']?_0x5078ae['hash'](_0x337884):0x0;}},_0x21d829=class{constructor(_0x1e41b4){this['start']=_0x1e41b4,this['state']=_0x1e41b4['state'],this['stack']=_0x1e41b4['stack'],this['base']=this['stack']['length'];}['reduce'](_0x3e9f81){let _0x4d0af6=0xffff&_0x3e9f81,_0x216d22=_0x3e9f81>>0x13;0x0==_0x216d22?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x216d22-0x1);let _0x21705d=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x4d0af6,!0x0);this['state']=_0x21705d;}},_0x5ec04d=class StackBufferCursor{constructor(_0x556837,_0x2b4bba,_0xc94f12){this['stack']=_0x556837,this['pos']=_0x2b4bba,this['index']=_0xc94f12,this['buffer']=_0x556837['buffer'],0x0==this['index']&&this['maybeNext']();}static create(_0x470fc2,_0x42c35c=_0x470fc2['bufferBase']+_0x470fc2['buffer']['length']){return new StackBufferCursor(_0x470fc2,_0x42c35c,_0x42c35c-_0x470fc2['bufferBase']);}maybeNext(){let _0x42445f=this['stack']['parent'];null!=_0x42445f&&(this['index']=this['stack']['bufferBase']-_0x42445f['bufferBase'],this['stack']=_0x42445f,this['buffer']=_0x42445f['buffer']);}get['id'](){return this['buffer'][this['index']-0x4];}get start(){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}next(){this['index']-=0x4,this['pos']-=0x4,0x0==this['index']&&this['maybeNext']();}['fork'](){return new StackBufferCursor(this['stack'],this['pos'],this['index']);}};function _0x511741(_0x2fd4d1,_0x452ace=Uint16Array){if('string'!=typeof _0x2fd4d1)return _0x2fd4d1;let _0x4f55c8=null;for(let _0x26fb02=0x0,_0x40717f=0x0;_0x26fb02<_0x2fd4d1['length'];){let _0x33daec=0x0;for(;;){let _0x4178f8=_0x2fd4d1['charCodeAt'](_0x26fb02++),_0x161459=!0x1;if(0x7e==_0x4178f8){_0x33daec=0xffff;break;}_0x4178f8>=0x5c&&_0x4178f8--,_0x4178f8>=0x22&&_0x4178f8--;let _0xb65119=_0x4178f8-0x20;if(_0xb65119>=0x2e&&(_0xb65119-=0x2e,_0x161459=!0x0),_0x33daec+=_0xb65119,_0x161459)break;_0x33daec*=0x2e;}_0x4f55c8?_0x4f55c8[_0x40717f++]=_0x33daec:_0x4f55c8=new _0x452ace(_0x33daec);}return _0x4f55c8;}var _0x2f9d6b=class{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}};const _0x55fef8=new _0x2f9d6b();var _0x445d05=class{constructor(_0x62bc79,_0x4f87ff){this['input']=_0x62bc79,this['ranges']=_0x4f87ff,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x55fef8,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x4f87ff[0x0]['from'],this['range']=_0x4f87ff[0x0],this['end']=_0x4f87ff[_0x4f87ff['length']-0x1]['to'],this['readNext']();}resolveOffset(_0x22deb3,_0x1f55a5){let _0x39ee5a=this['range'],_0x129a78=this['rangeIndex'],_0x41d141=this['pos']+_0x22deb3;for(;_0x41d141<_0x39ee5a['from'];){if(!_0x129a78)return null;let _0x475b48=this['ranges'][--_0x129a78];_0x41d141-=_0x39ee5a['from']-_0x475b48['to'],_0x39ee5a=_0x475b48;}for(;_0x1f55a5<0x0?_0x41d141>_0x39ee5a['to']:_0x41d141>=_0x39ee5a['to'];){if(_0x129a78==this['ranges']['length']-0x1)return null;let _0xb61aae=this['ranges'][++_0x129a78];_0x41d141+=_0xb61aae['from']-_0x39ee5a['to'],_0x39ee5a=_0xb61aae;}return _0x41d141;}['clipPos'](_0x470ecd){if(_0x470ecd>=this['range']['from']&&_0x470ecd<this['range']['to'])return _0x470ecd;for(let _0x451509 of this['ranges'])if(_0x451509['to']>_0x470ecd)return Math['max'](_0x470ecd,_0x451509['from']);return this['end'];}['peek'](_0x59a776){let _0x209373,_0x3b267b,_0x1d44dc=this['chunkOff']+_0x59a776;if(_0x1d44dc>=0x0&&_0x1d44dc<this['chunk']['length'])_0x209373=this['pos']+_0x59a776,_0x3b267b=this['chunk']['charCodeAt'](_0x1d44dc);else{let _0x29964c=this['resolveOffset'](_0x59a776,0x1);if(null==_0x29964c)return-0x1;if(_0x209373=_0x29964c,_0x209373>=this['chunk2Pos']&&_0x209373<this['chunk2Pos']+this['chunk2']['length'])_0x3b267b=this['chunk2']['charCodeAt'](_0x209373-this['chunk2Pos']);else{let _0x102725=this['rangeIndex'],_0x2e2451=this['range'];for(;_0x2e2451['to']<=_0x209373;)_0x2e2451=this['ranges'][++_0x102725];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x209373),_0x209373+this['chunk2']['length']>_0x2e2451['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x2e2451['to']-_0x209373)),_0x3b267b=this['chunk2']['charCodeAt'](0x0);}}return _0x209373>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x209373+0x1),_0x3b267b;}acceptToken(_0x2a387b,_0x6b912c=0x0){let _0x8da9c2=_0x6b912c?this['resolveOffset'](_0x6b912c,-0x1):this['pos'];if(null==_0x8da9c2||_0x8da9c2<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x2a387b,this['token']['end']=_0x8da9c2;}acceptTokenTo(_0x3e2338,_0x52595c){this['token']['value']=_0x3e2338,this['token']['end']=_0x52595c;}getChunk(){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0xd22ddb,chunkPos:_0x50e3a1}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0xd22ddb,this['chunk2Pos']=_0x50e3a1,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x1e80b1=this['input']['chunk'](this['pos']),_0x39f386=this['pos']+_0x1e80b1['length'];this['chunk']=_0x39f386>this['range']['to']?_0x1e80b1['slice'](0x0,this['range']['to']-this['pos']):_0x1e80b1,this['chunkPos']=this['pos'],this['chunkOff']=0x0;}}readNext(){return this['chunkOff']>=this['chunk']['length']&&(this['getChunk'](),this['chunkOff']==this['chunk']['length'])?this['next']=-0x1:this['next']=this['chunk']['charCodeAt'](this['chunkOff']);}['advance'](_0x19874c=0x1){for(this['chunkOff']+=_0x19874c;this['pos']+_0x19874c>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x19874c-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x19874c,this['pos']>=this['token']['lookAhead']&&(this['token']['lookAhead']=this['pos']+0x1),this['readNext']();}setDone(){return this['pos']=this['chunkPos']=this['end'],this['range']=this['ranges'][this['rangeIndex']=this['ranges']['length']-0x1],this['chunk']='',this['next']=-0x1;}reset(_0x50563f,_0x569a66){if(_0x569a66?(this['token']=_0x569a66,_0x569a66['start']=_0x50563f,_0x569a66['lookAhead']=_0x50563f+0x1,_0x569a66['value']=_0x569a66['extended']=-0x1):this['token']=_0x55fef8,this['pos']!=_0x50563f){if(this['pos']=_0x50563f,_0x50563f==this['end'])return this['setDone'](),this;for(;_0x50563f<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x50563f>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x50563f>=this['chunkPos']&&_0x50563f<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x50563f-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x5a34c4,_0x590830){if(_0x5a34c4>=this['chunkPos']&&_0x590830<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x5a34c4-this['chunkPos'],_0x590830-this['chunkPos']);if(_0x5a34c4>=this['chunk2Pos']&&_0x590830<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x5a34c4-this['chunk2Pos'],_0x590830-this['chunk2Pos']);if(_0x5a34c4>=this['range']['from']&&_0x590830<=this['range']['to'])return this['input']['read'](_0x5a34c4,_0x590830);let _0x5b2bfe='';for(let _0x36bbe5 of this['ranges']){if(_0x36bbe5['from']>=_0x590830)break;_0x36bbe5['to']>_0x5a34c4&&(_0x5b2bfe+=this['input']['read'](Math['max'](_0x36bbe5['from'],_0x5a34c4),Math['min'](_0x36bbe5['to'],_0x590830)));}return _0x5b2bfe;}},_0x37f30a=class{constructor(_0x513f53,_0x13d4b0){this['data']=_0x513f53,this['id']=_0x13d4b0;}token(_0x4a5f99,_0x42f86c){let {parser:_0xa3ca49}=_0x42f86c['p'];_0x18fe82(this['data'],_0x4a5f99,_0x42f86c,this['id'],_0xa3ca49['data'],_0xa3ca49['tokenPrecTable']);}};_0x37f30a['prototype']['contextual']=_0x37f30a['prototype']['fallback']=_0x37f30a['prototype']['extend']=!0x1;var _0x7be860=class{constructor(_0x2a153b,_0x1aca7d,_0x29559e){this['precTable']=_0x1aca7d,this['elseToken']=_0x29559e,this['data']='string'==typeof _0x2a153b?_0x511741(_0x2a153b):_0x2a153b;}token(_0xfb44ab,_0x1e3fb4){let _0x51c05d=_0xfb44ab['pos'],_0x9afc92=0x0;for(;;){let _0x394d87=_0xfb44ab['next']<0x0,_0x22fe1e=_0xfb44ab['resolveOffset'](0x1,0x1);if(_0x18fe82(this['data'],_0xfb44ab,_0x1e3fb4,0x0,this['data'],this['precTable']),_0xfb44ab['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x394d87||_0x9afc92++,null==_0x22fe1e)break;_0xfb44ab['reset'](_0x22fe1e,_0xfb44ab['token']);}_0x9afc92&&(_0xfb44ab['reset'](_0x51c05d,_0xfb44ab['token']),_0xfb44ab['acceptToken'](this['elseToken'],_0x9afc92));}};_0x7be860['prototype']['contextual']=_0x37f30a['prototype']['fallback']=_0x37f30a['prototype']['extend']=!0x1;var _0x16fdd6=class{constructor(_0x5e175f,_0x306e06={}){this['token']=_0x5e175f,this['contextual']=!!_0x306e06['contextual'],this['fallback']=!!_0x306e06['fallback'],this['extend']=!!_0x306e06['extend'];}};function _0x18fe82(_0x59018e,_0x383174,_0x2aa518,_0x4220e0,_0x1a457b,_0x74eeb){let _0x1c8760=0x0,_0x4e2cf0=0x1<<_0x4220e0,{dialect:_0x5b87f7}=_0x2aa518['p']['parser'];t:for(;0x0!=(_0x4e2cf0&_0x59018e[_0x1c8760]);){let _0x327600=_0x59018e[_0x1c8760+0x1];for(let _0x495ce4=_0x1c8760+0x3;_0x495ce4<_0x327600;_0x495ce4+=0x2)if((_0x59018e[_0x495ce4+0x1]&_0x4e2cf0)>0x0){let _0x566439=_0x59018e[_0x495ce4];if(_0x5b87f7['allows'](_0x566439)&&(-0x1==_0x383174['token']['value']||_0x383174['token']['value']==_0x566439||_0x2ac096(_0x566439,_0x383174['token']['value'],_0x1a457b,_0x74eeb))){_0x383174['acceptToken'](_0x566439);break;}}let _0x52122d=_0x383174['next'],_0x11ccbe=0x0,_0x1053d0=_0x59018e[_0x1c8760+0x2];if(!(_0x383174['next']<0x0&&_0x1053d0>_0x11ccbe&&0xffff==_0x59018e[_0x327600+0x3*_0x1053d0-0x3])){for(;_0x11ccbe<_0x1053d0;){let _0x1ac6b2=_0x11ccbe+_0x1053d0>>0x1,_0x21b3ae=_0x327600+_0x1ac6b2+(_0x1ac6b2<<0x1),_0x4f0e57=_0x59018e[_0x21b3ae],_0x1e98f7=_0x59018e[_0x21b3ae+0x1]||0x10000;if(_0x52122d<_0x4f0e57)_0x1053d0=_0x1ac6b2;else{if(!(_0x52122d>=_0x1e98f7)){_0x1c8760=_0x59018e[_0x21b3ae+0x2],_0x383174['advance']();continue t;}_0x11ccbe=_0x1ac6b2+0x1;}}break;}_0x1c8760=_0x59018e[_0x327600+0x3*_0x1053d0-0x1];}}function _0x2865b2(_0xcce750,_0x253d15,_0x74c621){for(let _0x29ca04,_0x57632a=_0x253d15;0xffff!=(_0x29ca04=_0xcce750[_0x57632a]);_0x57632a++)if(_0x29ca04==_0x74c621)return _0x57632a-_0x253d15;return-0x1;}function _0x2ac096(_0x43badf,_0x42434a,_0x405e1f,_0x3255c6){let _0x2be159=_0x2865b2(_0x405e1f,_0x3255c6,_0x42434a);return _0x2be159<0x0||_0x2865b2(_0x405e1f,_0x3255c6,_0x43badf)<_0x2be159;}const _0x5bf359='undefined'!=typeof process&&process.env&&/\bparse\b/['test'](process.env.LOG);let _0x584804=null;function _0xf6f93(_0x1af4fd,_0x4c4741,_0x32e50a){let _0x18e9a4=_0x1af4fd['cursor'](_0x2ad664['IncludeAnonymous']);for(_0x18e9a4['moveTo'](_0x4c4741);;)if(!(_0x32e50a<0x0?_0x18e9a4['childBefore'](_0x4c4741):_0x18e9a4['childAfter'](_0x4c4741)))for(;;){if((_0x32e50a<0x0?_0x18e9a4['to']<_0x4c4741:_0x18e9a4['from']>_0x4c4741)&&!_0x18e9a4['type']['isError'])return _0x32e50a<0x0?Math['max'](0x0,Math['min'](_0x18e9a4['to']-0x1,_0x4c4741-0x19)):Math['min'](_0x1af4fd['length'],Math['max'](_0x18e9a4['from']+0x1,_0x4c4741+0x19));if(_0x32e50a<0x0?_0x18e9a4['prevSibling']():_0x18e9a4['nextSibling']())break;if(!_0x18e9a4['parent']())return _0x32e50a<0x0?0x0:_0x1af4fd['length'];}}var _0x25281c=class{constructor(_0x3f736f,_0x2d9db6){this['fragments']=_0x3f736f,this['nodeSet']=_0x2d9db6,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}nextFragment(){let _0x23eb42=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x23eb42){for(this['safeFrom']=_0x23eb42['openStart']?_0xf6f93(_0x23eb42['tree'],_0x23eb42['from']+_0x23eb42['offset'],0x1)-_0x23eb42['offset']:_0x23eb42['from'],this['safeTo']=_0x23eb42['openEnd']?_0xf6f93(_0x23eb42['tree'],_0x23eb42['to']+_0x23eb42['offset'],-0x1)-_0x23eb42['offset']:_0x23eb42['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x23eb42['tree']),this['start']['push'](-_0x23eb42['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}nodeAt(_0x20ef4d){if(_0x20ef4d<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x20ef4d;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x5bde02=this['trees']['length']-0x1;if(_0x5bde02<0x0)return this['nextFragment'](),null;let _0x3b1c79=this['trees'][_0x5bde02],_0x218f8e=this['index'][_0x5bde02];if(_0x218f8e==_0x3b1c79['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x552d3f=_0x3b1c79['children'][_0x218f8e],_0x1c4d8c=this['start'][_0x5bde02]+_0x3b1c79['positions'][_0x218f8e];if(_0x1c4d8c>_0x20ef4d)return this['nextStart']=_0x1c4d8c,null;if(_0x552d3f instanceof _0x553c0c){if(_0x1c4d8c==_0x20ef4d){if(_0x1c4d8c<this['safeFrom'])return null;let _0x45cb51=_0x1c4d8c+_0x552d3f['length'];if(_0x45cb51<=this['safeTo']){let _0x367668=_0x552d3f['prop'](_0x320816['lookAhead']);if(!_0x367668||_0x45cb51+_0x367668<this['fragment']['to'])return _0x552d3f;}}this['index'][_0x5bde02]++,_0x1c4d8c+_0x552d3f['length']>=Math['max'](this['safeFrom'],_0x20ef4d)&&(this['trees']['push'](_0x552d3f),this['start']['push'](_0x1c4d8c),this['index']['push'](0x0));}else this['index'][_0x5bde02]++,this['nextStart']=_0x1c4d8c+_0x552d3f['length'];}}},_0x2c8b1e=class{constructor(_0x15ece6,_0x124e0b){this['stream']=_0x124e0b,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x15ece6['tokenizers']['map'](_0x7afa59=>new _0x2f9d6b());}getActions(_0x53890a){let _0x2c90a4=0x0,_0x428133=null,{parser:_0x258bb0}=_0x53890a['p'],{tokenizers:_0x2265f7}=_0x258bb0,_0x23f785=_0x258bb0['stateSlot'](_0x53890a['state'],0x3),_0x315e1f=_0x53890a['curContext']?_0x53890a['curContext']['hash']:0x0,_0x5b3544=0x0;for(let _0x4845fc=0x0;_0x4845fc<_0x2265f7['length'];_0x4845fc++){if(!(0x1<<_0x4845fc&_0x23f785))continue;let _0x595ded=_0x2265f7[_0x4845fc],_0x242abb=this['tokens'][_0x4845fc];if((!_0x428133||_0x595ded['fallback'])&&((_0x595ded['contextual']||_0x242abb['start']!=_0x53890a['pos']||_0x242abb['mask']!=_0x23f785||_0x242abb['context']!=_0x315e1f)&&(this['updateCachedToken'](_0x242abb,_0x595ded,_0x53890a),_0x242abb['mask']=_0x23f785,_0x242abb['context']=_0x315e1f),_0x242abb['lookAhead']>_0x242abb['end']+0x19&&(_0x5b3544=Math['max'](_0x242abb['lookAhead'],_0x5b3544)),0x0!=_0x242abb['value'])){let _0x287eb2=_0x2c90a4;if(_0x242abb['extended']>-0x1&&(_0x2c90a4=this['addActions'](_0x53890a,_0x242abb['extended'],_0x242abb['end'],_0x2c90a4)),_0x2c90a4=this['addActions'](_0x53890a,_0x242abb['value'],_0x242abb['end'],_0x2c90a4),!_0x595ded['extend']&&(_0x428133=_0x242abb,_0x2c90a4>_0x287eb2))break;}}for(;this['actions']['length']>_0x2c90a4;)this['actions']['pop']();return _0x5b3544&&_0x53890a['setLookAhead'](_0x5b3544),_0x428133||_0x53890a['pos']!=this['stream']['end']||(_0x428133=new _0x2f9d6b(),_0x428133['value']=_0x53890a['p']['parser']['eofTerm'],_0x428133['start']=_0x428133['end']=_0x53890a['pos'],_0x2c90a4=this['addActions'](_0x53890a,_0x428133['value'],_0x428133['end'],_0x2c90a4)),this['mainToken']=_0x428133,this['actions'];}getMainToken(_0xea3f67){if(this['mainToken'])return this['mainToken'];let _0x56158d=new _0x2f9d6b(),{pos:_0x114484,p:_0x2333e2}=_0xea3f67;return _0x56158d['start']=_0x114484,_0x56158d['end']=Math['min'](_0x114484+0x1,_0x2333e2['stream']['end']),_0x56158d['value']=_0x114484==_0x2333e2['stream']['end']?_0x2333e2['parser']['eofTerm']:0x0,_0x56158d;}updateCachedToken(_0x1403e4,_0xde57f1,_0x45c5ae){let _0x4820ef=this['stream']['clipPos'](_0x45c5ae['pos']);if(_0xde57f1['token'](this['stream']['reset'](_0x4820ef,_0x1403e4),_0x45c5ae),_0x1403e4['value']>-0x1){let {parser:_0x37cc3e}=_0x45c5ae['p'];for(let _0x3d8873=0x0;_0x3d8873<_0x37cc3e['specialized']['length'];_0x3d8873++)if(_0x37cc3e['specialized'][_0x3d8873]==_0x1403e4['value']){let _0x59e6f0=_0x37cc3e['specializers'][_0x3d8873](this['stream']['read'](_0x1403e4['start'],_0x1403e4['end']),_0x45c5ae);if(_0x59e6f0>=0x0&&_0x45c5ae['p']['parser']['dialect']['allows'](_0x59e6f0>>0x1)){0x1&_0x59e6f0?_0x1403e4['extended']=_0x59e6f0>>0x1:_0x1403e4['value']=_0x59e6f0>>0x1;break;}}}else _0x1403e4['value']=0x0,_0x1403e4['end']=this['stream']['clipPos'](_0x4820ef+0x1);}putAction(_0x58d25c,_0x5b8e94,_0x157bdc,_0x15147b){for(let _0x550d4a=0x0;_0x550d4a<_0x15147b;_0x550d4a+=0x3)if(this['actions'][_0x550d4a]==_0x58d25c)return _0x15147b;return this['actions'][_0x15147b++]=_0x58d25c,this['actions'][_0x15147b++]=_0x5b8e94,this['actions'][_0x15147b++]=_0x157bdc,_0x15147b;}addActions(_0x96036a,_0x53c880,_0x1dbf30,_0x3449b4){let {state:_0x44ac71}=_0x96036a,{parser:_0x385a48}=_0x96036a['p'],{data:_0x5c14d2}=_0x385a48;for(let _0x5dff66=0x0;_0x5dff66<0x2;_0x5dff66++)for(let _0x4d70f0=_0x385a48['stateSlot'](_0x44ac71,_0x5dff66?0x2:0x1);;_0x4d70f0+=0x3){if(0xffff==_0x5c14d2[_0x4d70f0]){if(0x1!=_0x5c14d2[_0x4d70f0+0x1]){0x0==_0x3449b4&&0x2==_0x5c14d2[_0x4d70f0+0x1]&&(_0x3449b4=this['putAction'](_0xc6f84(_0x5c14d2,_0x4d70f0+0x2),_0x53c880,_0x1dbf30,_0x3449b4));break;}_0x4d70f0=_0xc6f84(_0x5c14d2,_0x4d70f0+0x2);}_0x5c14d2[_0x4d70f0]==_0x53c880&&(_0x3449b4=this['putAction'](_0xc6f84(_0x5c14d2,_0x4d70f0+0x1),_0x53c880,_0x1dbf30,_0x3449b4));}return _0x3449b4;}},_0x53fbe6=class{constructor(_0x371c76,_0x374b9d,_0x1c03a0,_0x367a8f){this['parser']=_0x371c76,this['input']=_0x374b9d,this['ranges']=_0x367a8f,this['recovering']=0x0,this['nextStackID']=0x2654,this['minStackPos']=0x0,this['reused']=[],this['stoppedAt']=null,this['lastBigReductionStart']=-0x1,this['lastBigReductionSize']=0x0,this['bigReductionCount']=0x0,this['stream']=new _0x445d05(_0x374b9d,_0x367a8f),this['tokens']=new _0x2c8b1e(_0x371c76,this['stream']),this['topTerm']=_0x371c76['top'][0x1];let {from:_0x144ba7}=_0x367a8f[0x0];this['stacks']=[_0x54941c['start'](this,_0x371c76['top'][0x0],_0x144ba7)],this['fragments']=_0x1c03a0['length']&&this['stream']['end']-_0x144ba7>0x4*_0x371c76['bufferLength']?new _0x25281c(_0x1c03a0,_0x371c76['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x24169e,_0x10a97a,_0x9f0591=this['stacks'],_0x46a607=this['minStackPos'],_0x47fb25=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x9f0591['length']){let [_0xb5853e]=_0x9f0591;for(;_0xb5853e['forceReduce']()&&_0xb5853e['stack']['length']&&_0xb5853e['stack'][_0xb5853e['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x3b2d1c=0x0;_0x3b2d1c<_0x9f0591['length'];_0x3b2d1c++){let _0x373181=_0x9f0591[_0x3b2d1c];for(;;){if(this['tokens']['mainToken']=null,_0x373181['pos']>_0x46a607)_0x47fb25['push'](_0x373181);else{if(this['advanceStack'](_0x373181,_0x47fb25,_0x9f0591))continue;{_0x24169e||(_0x24169e=[],_0x10a97a=[]),_0x24169e['push'](_0x373181);let _0x176374=this['tokens']['getMainToken'](_0x373181);_0x10a97a['push'](_0x176374['value'],_0x176374['end']);}}break;}}if(!_0x47fb25['length']){let _0x3af3f9=_0x24169e&&function(_0x5d352e){let _0x56ee5a=null;for(let _0x707cc5 of _0x5d352e){let _0x26da9f=_0x707cc5['p']['stoppedAt'];(_0x707cc5['pos']==_0x707cc5['p']['stream']['end']||null!=_0x26da9f&&_0x707cc5['pos']>_0x26da9f)&&_0x707cc5['p']['parser']['stateFlag'](_0x707cc5['state'],0x2)&&(!_0x56ee5a||_0x56ee5a['score']<_0x707cc5['score'])&&(_0x56ee5a=_0x707cc5);}return _0x56ee5a;}(_0x24169e);if(_0x3af3f9)return _0x5bf359&&console['log']('Finish\x20with\x20'+this['stackID'](_0x3af3f9)),this['stackToTree'](_0x3af3f9);if(this['parser']['strict'])throw _0x5bf359&&_0x24169e&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x46a607);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x24169e){let _0xb4d375=null!=this['stoppedAt']&&_0x24169e[0x0]['pos']>this['stoppedAt']?_0x24169e[0x0]:this['runRecovery'](_0x24169e,_0x10a97a,_0x47fb25);if(_0xb4d375)return _0x5bf359&&console['log']('Force-finish\x20'+this['stackID'](_0xb4d375)),this['stackToTree'](_0xb4d375['forceAll']());}if(this['recovering']){let _0x5c4462=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x47fb25['length']>_0x5c4462){for(_0x47fb25['sort']((_0x36239e,_0x351545)=>_0x351545['score']-_0x36239e['score']);_0x47fb25['length']>_0x5c4462;)_0x47fb25['pop']();}_0x47fb25['some'](_0x46b4cd=>_0x46b4cd['reducePos']>_0x46a607)&&this['recovering']--;}else{if(_0x47fb25['length']>0x1){t:for(let _0x49a232=0x0;_0x49a232<_0x47fb25['length']-0x1;_0x49a232++){let _0x1484c5=_0x47fb25[_0x49a232];for(let _0x36556c=_0x49a232+0x1;_0x36556c<_0x47fb25['length'];_0x36556c++){let _0x35e9b1=_0x47fb25[_0x36556c];if(_0x1484c5['sameState'](_0x35e9b1)||_0x1484c5['buffer']['length']>0x1f4&&_0x35e9b1['buffer']['length']>0x1f4){if(!((_0x1484c5['score']-_0x35e9b1['score']||_0x1484c5['buffer']['length']-_0x35e9b1['buffer']['length'])>0x0)){_0x47fb25['splice'](_0x49a232--,0x1);continue t;}_0x47fb25['splice'](_0x36556c--,0x1);}}}_0x47fb25['length']>0xc&&(_0x47fb25['sort']((_0x503e34,_0x1f71da)=>_0x1f71da['score']-_0x503e34['score']),_0x47fb25['splice'](0xc,_0x47fb25['length']-0xc));}}this['minStackPos']=_0x47fb25[0x0]['pos'];for(let _0x2004c3=0x1;_0x2004c3<_0x47fb25['length'];_0x2004c3++)_0x47fb25[_0x2004c3]['pos']<this['minStackPos']&&(this['minStackPos']=_0x47fb25[_0x2004c3]['pos']);return null;}stopAt(_0x49df24){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x49df24)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x49df24;}advanceStack(_0x32c362,_0x4a9745,_0x3e3c47){let _0x260920=_0x32c362['pos'],{parser:_0x371d16}=this,_0x5954b9=_0x5bf359?this['stackID'](_0x32c362)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x260920>this['stoppedAt'])return _0x32c362['forceReduce']()?_0x32c362:null;if(this['fragments']){let _0x162289=_0x32c362['curContext']&&_0x32c362['curContext']['tracker']['strict'],_0x1d012c=_0x162289?_0x32c362['curContext']['hash']:0x0;for(let _0x114d6c=this['fragments']['nodeAt'](_0x260920);_0x114d6c;){let _0x13d49c=this['parser']['nodeSet']['types'][_0x114d6c['type']['id']]==_0x114d6c['type']?_0x371d16['getGoto'](_0x32c362['state'],_0x114d6c['type']['id']):-0x1;if(_0x13d49c>-0x1&&_0x114d6c['length']&&(!_0x162289||(_0x114d6c['prop'](_0x320816['contextHash'])||0x0)==_0x1d012c))return _0x32c362['useNode'](_0x114d6c,_0x13d49c),_0x5bf359&&console['log'](_0x5954b9+this['stackID'](_0x32c362)+('\x20(via\x20reuse\x20of\x20'+_0x371d16['getName'](_0x114d6c['type']['id'])+')')),!0x0;if(!(_0x114d6c instanceof _0x553c0c)||0x0==_0x114d6c['children']['length']||_0x114d6c['positions'][0x0]>0x0)break;let _0x1c6dda=_0x114d6c['children'][0x0];if(!(_0x1c6dda instanceof _0x553c0c&&0x0==_0x114d6c['positions'][0x0]))break;_0x114d6c=_0x1c6dda;}}let _0x5eeb45=_0x371d16['stateSlot'](_0x32c362['state'],0x4);if(_0x5eeb45>0x0)return _0x32c362['reduce'](_0x5eeb45),_0x5bf359&&console['log'](_0x5954b9+this['stackID'](_0x32c362)+('\x20(via\x20always-reduce\x20'+_0x371d16['getName'](0xffff&_0x5eeb45)+')')),!0x0;if(_0x32c362['stack']['length']>=0x20d0){for(;_0x32c362['stack']['length']>0x1770&&_0x32c362['forceReduce'](););}let _0xd81062=this['tokens']['getActions'](_0x32c362);for(let _0x2815d0=0x0;_0x2815d0<_0xd81062['length'];){let _0x4d44a9=_0xd81062[_0x2815d0++],_0x25886b=_0xd81062[_0x2815d0++],_0x23d73f=_0xd81062[_0x2815d0++],_0x2a5c56=_0x2815d0==_0xd81062['length']||!_0x3e3c47,_0x47d83c=_0x2a5c56?_0x32c362:_0x32c362['split'](),_0x1a147a=this['tokens']['mainToken'];if(_0x47d83c['apply'](_0x4d44a9,_0x25886b,_0x1a147a?_0x1a147a['start']:_0x47d83c['pos'],_0x23d73f),_0x5bf359&&console['log'](_0x5954b9+this['stackID'](_0x47d83c)+('\x20(via\x20'+(0x10000&_0x4d44a9?'reduce\x20of\x20'+_0x371d16['getName'](0xffff&_0x4d44a9):'shift')+'\x20for\x20'+_0x371d16['getName'](_0x25886b)+'\x20@\x20'+_0x260920+(_0x47d83c==_0x32c362?'':',\x20split')+')')),_0x2a5c56)return!0x0;_0x47d83c['pos']>_0x260920?_0x4a9745['push'](_0x47d83c):_0x3e3c47['push'](_0x47d83c);}return!0x1;}['advanceFully'](_0x990cd3,_0xfba29a){let _0x2bf7bd=_0x990cd3['pos'];for(;;){if(!this['advanceStack'](_0x990cd3,null,null))return!0x1;if(_0x990cd3['pos']>_0x2bf7bd)return _0x1ac7ab(_0x990cd3,_0xfba29a),!0x0;}}['runRecovery'](_0x5d3a83,_0x4f68a8,_0x511a7b){let _0x4af09a=null,_0x27ba37=!0x1;for(let _0x4db10b=0x0;_0x4db10b<_0x5d3a83['length'];_0x4db10b++){let _0x443570=_0x5d3a83[_0x4db10b],_0x4ca384=_0x4f68a8[_0x4db10b<<0x1],_0x5d47b9=_0x4f68a8[0x1+(_0x4db10b<<0x1)],_0x176625=_0x5bf359?this['stackID'](_0x443570)+'\x20->\x20':'';if(_0x443570['deadEnd']){if(_0x27ba37)continue;if(_0x27ba37=!0x0,_0x443570['restart'](),_0x5bf359&&console['log'](_0x176625+this['stackID'](_0x443570)+'\x20(restarted)'),this['advanceFully'](_0x443570,_0x511a7b))continue;}let _0x29daf8=_0x443570['split'](),_0x2fdec5=_0x176625;for(let _0x13b1ac=0x0;_0x13b1ac<0xa&&_0x29daf8['forceReduce']()&&(_0x5bf359&&console['log'](_0x2fdec5+this['stackID'](_0x29daf8)+'\x20(via\x20force-reduce)'),!this['advanceFully'](_0x29daf8,_0x511a7b));_0x13b1ac++)_0x5bf359&&(_0x2fdec5=this['stackID'](_0x29daf8)+'\x20->\x20');for(let _0x432551 of _0x443570['recoverByInsert'](_0x4ca384))_0x5bf359&&console['log'](_0x176625+this['stackID'](_0x432551)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x432551,_0x511a7b);this['stream']['end']>_0x443570['pos']?(_0x5d47b9==_0x443570['pos']&&(_0x5d47b9++,_0x4ca384=0x0),_0x443570['recoverByDelete'](_0x4ca384,_0x5d47b9),_0x5bf359&&console['log'](_0x176625+this['stackID'](_0x443570)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x4ca384)+')')),_0x1ac7ab(_0x443570,_0x511a7b)):(!_0x4af09a||_0x4af09a['score']<_0x29daf8['score'])&&(_0x4af09a=_0x29daf8);}return _0x4af09a;}stackToTree(_0x1f8c4f){return _0x1f8c4f['close'](),_0x553c0c['build']({'buffer':_0x5ec04d['create'](_0x1f8c4f),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x1f8c4f['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}stackID(_0x1de21b){let _0x47021f=(_0x584804||(_0x584804=new WeakMap()))['get'](_0x1de21b);return _0x47021f||_0x584804['set'](_0x1de21b,_0x47021f=String['fromCodePoint'](this['nextStackID']++)),_0x47021f+_0x1de21b;}};function _0x1ac7ab(_0x4a0cf5,_0x303c40){for(let _0x460012=0x0;_0x460012<_0x303c40['length'];_0x460012++){let _0x57a9c4=_0x303c40[_0x460012];if(_0x57a9c4['pos']==_0x4a0cf5['pos']&&_0x57a9c4['sameState'](_0x4a0cf5))return void(_0x303c40[_0x460012]['score']<_0x4a0cf5['score']&&(_0x303c40[_0x460012]=_0x4a0cf5));}_0x303c40['push'](_0x4a0cf5);}var _0x457e4a=class{constructor(_0x2ddea8,_0x27e096,_0x2c89b4){this['source']=_0x2ddea8,this['flags']=_0x27e096,this['disabled']=_0x2c89b4;}['allows'](_0x438c8f){return!this['disabled']||0x0==this['disabled'][_0x438c8f];}};const _0x42f3b7=_0x119f71=>_0x119f71;var _0x457ba3=class{constructor(_0x464905){this['start']=_0x464905['start'],this['shift']=_0x464905['shift']||_0x42f3b7,this['reduce']=_0x464905['reduce']||_0x42f3b7,this['reuse']=_0x464905['reuse']||_0x42f3b7,this['hash']=_0x464905['hash']||(()=>0x0),this['strict']=!0x1!==_0x464905['strict'];}},_0x4d2d2d=class _0x2f4fae extends _0x1914bd{constructor(_0x2b87f1){if(super(),this['wrappers']=[],0xe!=_0x2b87f1['version'])throw new RangeError('Parser\x20version\x20('+_0x2b87f1['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x2740ef=_0x2b87f1['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x2740ef['length'];for(let _0x2dcd8a=0x0;_0x2dcd8a<_0x2b87f1['repeatNodeCount'];_0x2dcd8a++)_0x2740ef['push']('');let _0x1791f9=Object['keys'](_0x2b87f1['topRules'])['map'](_0x41bae3=>_0x2b87f1['topRules'][_0x41bae3][0x1]),_0x566bcf=[];for(let _0x41823e=0x0;_0x41823e<_0x2740ef['length'];_0x41823e++)_0x566bcf['push']([]);function _0x52f20f(_0xe462ac,_0x41a366,_0x12a30d){_0x566bcf[_0xe462ac]['push']([_0x41a366,_0x41a366['deserialize'](String(_0x12a30d))]);}if(_0x2b87f1['nodeProps'])for(let _0x314e80 of _0x2b87f1['nodeProps']){let _0x40b270=_0x314e80[0x0];'string'==typeof _0x40b270&&(_0x40b270=_0x320816[_0x40b270]);for(let _0x1eeb91=0x1;_0x1eeb91<_0x314e80['length'];){let _0x1237a0=_0x314e80[_0x1eeb91++];if(_0x1237a0>=0x0)_0x52f20f(_0x1237a0,_0x40b270,_0x314e80[_0x1eeb91++]);else{let _0x19b499=_0x314e80[_0x1eeb91+-_0x1237a0];for(let _0x2ab73e=-_0x1237a0;_0x2ab73e>0x0;_0x2ab73e--)_0x52f20f(_0x314e80[_0x1eeb91++],_0x40b270,_0x19b499);_0x1eeb91++;}}}this['nodeSet']=new _0x53fc45(_0x2740ef['map']((_0x561dbd,_0x2dccec)=>_0x4a1e51['define']({'name':_0x2dccec>=this['minRepeatTerm']?void 0x0:_0x561dbd,'id':_0x2dccec,'props':_0x566bcf[_0x2dccec],'top':_0x1791f9['indexOf'](_0x2dccec)>-0x1,'error':0x0==_0x2dccec,'skipped':_0x2b87f1['skippedNodes']&&_0x2b87f1['skippedNodes']['indexOf'](_0x2dccec)>-0x1}))),_0x2b87f1['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x2b87f1['propSources'])),this['strict']=!0x1,this['bufferLength']=_0x43fc65;let _0xbd2171=_0x511741(_0x2b87f1['tokenData']);this['context']=_0x2b87f1['context'],this['specializerSpecs']=_0x2b87f1['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x1da00c=0x0;_0x1da00c<this['specializerSpecs']['length'];_0x1da00c++)this['specialized'][_0x1da00c]=this['specializerSpecs'][_0x1da00c]['term'];this['specializers']=this['specializerSpecs']['map'](_0x3d02a4),this['states']=_0x511741(_0x2b87f1['states'],Uint32Array),this['data']=_0x511741(_0x2b87f1['stateData']),this['goto']=_0x511741(_0x2b87f1['goto']),this['maxTerm']=_0x2b87f1['maxTerm'],this['tokenizers']=_0x2b87f1['tokenizers']['map'](_0x1392f7=>'number'==typeof _0x1392f7?new _0x37f30a(_0xbd2171,_0x1392f7):_0x1392f7),this['topRules']=_0x2b87f1['topRules'],this['dialects']=_0x2b87f1['dialects']||{},this['dynamicPrecedences']=_0x2b87f1['dynamicPrecedences']||null,this['tokenPrecTable']=_0x2b87f1['tokenPrec'],this['termNames']=_0x2b87f1['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}createParse(_0x265123,_0x374b6c,_0x885bfd){let _0x10a034=new _0x53fbe6(this,_0x265123,_0x374b6c,_0x885bfd);for(let _0x382bc7 of this['wrappers'])_0x10a034=_0x382bc7(_0x10a034,_0x265123,_0x374b6c,_0x885bfd);return _0x10a034;}getGoto(_0x358297,_0x4f8fb1,_0x4f5591=!0x1){let _0x1664d=this['goto'];if(_0x4f8fb1>=_0x1664d[0x0])return-0x1;for(let _0x36a552=_0x1664d[_0x4f8fb1+0x1];;){let _0x5e3d35=_0x1664d[_0x36a552++],_0x40e165=0x1&_0x5e3d35,_0x3c4dd0=_0x1664d[_0x36a552++];if(_0x40e165&&_0x4f5591)return _0x3c4dd0;for(let _0xca024e=_0x36a552+(_0x5e3d35>>0x1);_0x36a552<_0xca024e;_0x36a552++)if(_0x1664d[_0x36a552]==_0x358297)return _0x3c4dd0;if(_0x40e165)return-0x1;}}hasAction(_0x441915,_0x13b836){let _0x91c1b5=this['data'];for(let _0x1f1da6=0x0;_0x1f1da6<0x2;_0x1f1da6++)for(let _0x20bcb8,_0x22f712=this['stateSlot'](_0x441915,_0x1f1da6?0x2:0x1);;_0x22f712+=0x3){if(0xffff==(_0x20bcb8=_0x91c1b5[_0x22f712])){if(0x1!=_0x91c1b5[_0x22f712+0x1]){if(0x2==_0x91c1b5[_0x22f712+0x1])return _0xc6f84(_0x91c1b5,_0x22f712+0x2);break;}_0x20bcb8=_0x91c1b5[_0x22f712=_0xc6f84(_0x91c1b5,_0x22f712+0x2)];}if(_0x20bcb8==_0x13b836||0x0==_0x20bcb8)return _0xc6f84(_0x91c1b5,_0x22f712+0x1);}return 0x0;}stateSlot(_0x5321fa,_0x1cc789){return this['states'][0x6*_0x5321fa+_0x1cc789];}stateFlag(_0x52d82c,_0x3d3ddf){return(this['stateSlot'](_0x52d82c,0x0)&_0x3d3ddf)>0x0;}validAction(_0x5665b0,_0x52f476){return!!this['allActions'](_0x5665b0,_0x37d622=>_0x37d622==_0x52f476||null);}allActions(_0x4fcb3a,_0x328c44){let _0x62dec1=this['stateSlot'](_0x4fcb3a,0x4),_0x3a200b=_0x62dec1?_0x328c44(_0x62dec1):void 0x0;for(let _0x30a282=this['stateSlot'](_0x4fcb3a,0x1);null==_0x3a200b;_0x30a282+=0x3){if(0xffff==this['data'][_0x30a282]){if(0x1!=this['data'][_0x30a282+0x1])break;_0x30a282=_0xc6f84(this['data'],_0x30a282+0x2);}_0x3a200b=_0x328c44(_0xc6f84(this['data'],_0x30a282+0x1));}return _0x3a200b;}nextStates(_0x327d4f){let _0x3dd96c=[];for(let _0x5542a1=this['stateSlot'](_0x327d4f,0x1);;_0x5542a1+=0x3){if(0xffff==this['data'][_0x5542a1]){if(0x1!=this['data'][_0x5542a1+0x1])break;_0x5542a1=_0xc6f84(this['data'],_0x5542a1+0x2);}if(!(0x1&this['data'][_0x5542a1+0x2])){let _0x53e0a2=this['data'][_0x5542a1+0x1];_0x3dd96c['some']((_0x224491,_0xa8f0b3)=>0x1&_0xa8f0b3&&_0x224491==_0x53e0a2)||_0x3dd96c['push'](this['data'][_0x5542a1],_0x53e0a2);}}return _0x3dd96c;}['configure'](_0x250d5c){let _0x436d22=Object['assign'](Object['create'](_0x2f4fae['prototype']),this);if(_0x250d5c['props']&&(_0x436d22['nodeSet']=this['nodeSet']['extend'](..._0x250d5c['props'])),_0x250d5c['top']){let _0x2e0111=this['topRules'][_0x250d5c['top']];if(!_0x2e0111)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x250d5c['top']);_0x436d22['top']=_0x2e0111;}return _0x250d5c['tokenizers']&&(_0x436d22['tokenizers']=this['tokenizers']['map'](t=>{let _0x55f8c7=_0x250d5c['tokenizers']['find'](_0x17b8eb=>_0x17b8eb['from']==t);return _0x55f8c7?_0x55f8c7['to']:t;})),_0x250d5c['specializers']&&(_0x436d22['specializers']=this['specializers']['slice'](),_0x436d22['specializerSpecs']=this['specializerSpecs']['map']((_0x471fa4,_0x39320e)=>{let _0x439f42=_0x250d5c['specializers']['find'](_0x3f2e52=>_0x3f2e52['from']==_0x471fa4['external']);if(!_0x439f42)return _0x471fa4;let _0xb6ef0d=Object['assign'](Object['assign']({},_0x471fa4),{'external':_0x439f42['to']});return _0x436d22['specializers'][_0x39320e]=_0x3d02a4(_0xb6ef0d),_0xb6ef0d;})),_0x250d5c['contextTracker']&&(_0x436d22['context']=_0x250d5c['contextTracker']),_0x250d5c['dialect']&&(_0x436d22['dialect']=this['parseDialect'](_0x250d5c['dialect'])),null!=_0x250d5c['strict']&&(_0x436d22['strict']=_0x250d5c['strict']),_0x250d5c['wrap']&&(_0x436d22['wrappers']=_0x436d22['wrappers']['concat'](_0x250d5c['wrap'])),null!=_0x250d5c['bufferLength']&&(_0x436d22['bufferLength']=_0x250d5c['bufferLength']),_0x436d22;}['hasWrappers'](){return this['wrappers']['length']>0x0;}getName(_0x2544bb){return this['termNames']?this['termNames'][_0x2544bb]:String(_0x2544bb<=this['maxNode']&&this['nodeSet']['types'][_0x2544bb]['name']||_0x2544bb);}get['eofTerm'](){return this['maxNode']+0x1;}get topNode(){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x3ef419){let _0x10dba6=this['dynamicPrecedences'];return null==_0x10dba6?0x0:_0x10dba6[_0x3ef419]||0x0;}parseDialect(_0x42ba6a){let _0x3c7f01=Object['keys'](this['dialects']),_0x4810cb=_0x3c7f01['map'](()=>!0x1);if(_0x42ba6a)for(let _0x261ddc of _0x42ba6a['split']('\x20')){let _0x561966=_0x3c7f01['indexOf'](_0x261ddc);_0x561966>=0x0&&(_0x4810cb[_0x561966]=!0x0);}let _0xaa555b=null;for(let _0x4a55a9=0x0;_0x4a55a9<_0x3c7f01['length'];_0x4a55a9++)if(!_0x4810cb[_0x4a55a9]){for(let _0x2539e8,_0x26990f=this['dialects'][_0x3c7f01[_0x4a55a9]];0xffff!=(_0x2539e8=this['data'][_0x26990f++]);)(_0xaa555b||(_0xaa555b=new Uint8Array(this['maxTerm']+0x1)))[_0x2539e8]=0x1;}return new _0x457e4a(_0x42ba6a,_0x4810cb,_0xaa555b);}static['deserialize'](_0x1c57d7){return new _0x2f4fae(_0x1c57d7);}};function _0xc6f84(_0x27a9f6,_0x463812){return _0x27a9f6[_0x463812]|_0x27a9f6[_0x463812+0x1]<<0x10;}function _0x3d02a4(_0x45fdde){if(_0x45fdde['external']){let _0x43ce97=_0x45fdde['extend']?0x1:0x0;return(_0x13bdb5,_0x2b0947)=>_0x45fdde['external'](_0x13bdb5,_0x2b0947)<<0x1|_0x43ce97;}return _0x45fdde['get'];}const _0x5b867e={'area':!0x0,'base':!0x0,'br':!0x0,'col':!0x0,'command':!0x0,'embed':!0x0,'frame':!0x0,'hr':!0x0,'img':!0x0,'input':!0x0,'keygen':!0x0,'link':!0x0,'meta':!0x0,'param':!0x0,'source':!0x0,'track':!0x0,'wbr':!0x0,'menuitem':!0x0},_0x194a0c={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0x2ba811={'dd':{'dd':!0x0,'dt':!0x0},'dt':{'dd':!0x0,'dt':!0x0},'li':{'li':!0x0},'option':{'option':!0x0,'optgroup':!0x0},'optgroup':{'optgroup':!0x0},'p':{'address':!0x0,'article':!0x0,'aside':!0x0,'blockquote':!0x0,'dir':!0x0,'div':!0x0,'dl':!0x0,'fieldset':!0x0,'footer':!0x0,'form':!0x0,'h1':!0x0,'h2':!0x0,'h3':!0x0,'h4':!0x0,'h5':!0x0,'h6':!0x0,'header':!0x0,'hgroup':!0x0,'hr':!0x0,'menu':!0x0,'nav':!0x0,'ol':!0x0,'p':!0x0,'pre':!0x0,'section':!0x0,'table':!0x0,'ul':!0x0},'rp':{'rp':!0x0,'rt':!0x0},'rt':{'rp':!0x0,'rt':!0x0},'tbody':{'tbody':!0x0,'tfoot':!0x0},'td':{'td':!0x0,'th':!0x0},'tfoot':{'tbody':!0x0},'th':{'td':!0x0,'th':!0x0},'thead':{'tbody':!0x0,'tfoot':!0x0},'tr':{'tr':!0x0}};function _0x2c181e(_0x39407c){return 0x2d==_0x39407c||0x2e==_0x39407c||0x3a==_0x39407c||_0x39407c>=0x41&&_0x39407c<=0x5a||0x5f==_0x39407c||_0x39407c>=0x61&&_0x39407c<=0x7a||_0x39407c>=0xa1;}let _0x479d9=null,_0x218f05=null,_0x5dc99=0x0;function _0x56a808(_0xc87f55,_0x254fe3){let _0x42bfbd=_0xc87f55['pos']+_0x254fe3;if(_0x5dc99==_0x42bfbd&&_0x218f05==_0xc87f55)return _0x479d9;let _0x526be6=_0xc87f55['peek'](_0x254fe3),_0x47fd0a='';for(;_0x2c181e(_0x526be6);)_0x47fd0a+=String['fromCharCode'](_0x526be6),_0x526be6=_0xc87f55['peek'](++_0x254fe3);return _0x218f05=_0xc87f55,_0x5dc99=_0x42bfbd,_0x479d9=_0x47fd0a?_0x47fd0a['toLowerCase']():_0x526be6==_0x256297||_0x526be6==_0x3628e8?void 0x0:null;}const _0x256297=0x3f,_0x3628e8=0x21;function _0x51ef58(_0x2b8f7a,_0x30693c){this['name']=_0x2b8f7a,this['parent']=_0x30693c;}const _0x13732f=[0x6,0xa,0x7,0x8,0x9],_0x117e55=new _0x457ba3({'start':null,'shift':(_0x3034c3,_0x545a1f,_0xbebf23,_0x15e8cb)=>_0x13732f['indexOf'](_0x545a1f)>-0x1?new _0x51ef58(_0x56a808(_0x15e8cb,0x1)||'',_0x3034c3):_0x3034c3,'reduce':(_0x15dc8d,_0x4e8de3)=>0x15==_0x4e8de3&&_0x15dc8d?_0x15dc8d['parent']:_0x15dc8d,'reuse'(_0x373192,_0x2b2256,_0x4af07a,_0x59e81f){let _0x548941=_0x2b2256['type']['id'];return 0x6==_0x548941||0x25==_0x548941?new _0x51ef58(_0x56a808(_0x59e81f,0x1)||'',_0x373192):_0x373192;},'strict':!0x1}),_0x14f012=new _0x16fdd6((_0x2e9824,_0x1f5161)=>{if(0x3c!=_0x2e9824['next'])return void(_0x2e9824['next']<0x0&&_0x1f5161['context']&&_0x2e9824['acceptToken'](0x3a));_0x2e9824['advance']();let _0x2adf0b=0x2f==_0x2e9824['next'];_0x2adf0b&&_0x2e9824['advance']();let _0x17cd45=_0x56a808(_0x2e9824,0x0);if(void 0x0===_0x17cd45)return;if(!_0x17cd45)return _0x2e9824['acceptToken'](_0x2adf0b?0xf:0xe);let _0x5f040a=_0x1f5161['context']?_0x1f5161['context']['name']:null;if(_0x2adf0b){if(_0x17cd45==_0x5f040a)return _0x2e9824['acceptToken'](0xb);if(_0x5f040a&&_0x194a0c[_0x5f040a])return _0x2e9824['acceptToken'](0x3a,-0x2);if(_0x1f5161['dialectEnabled'](0x0))return _0x2e9824['acceptToken'](0xc);for(let _0x51017d=_0x1f5161['context'];_0x51017d;_0x51017d=_0x51017d['parent'])if(_0x51017d['name']==_0x17cd45)return;_0x2e9824['acceptToken'](0xd);}else{if('script'==_0x17cd45)return _0x2e9824['acceptToken'](0x7);if('style'==_0x17cd45)return _0x2e9824['acceptToken'](0x8);if('textarea'==_0x17cd45)return _0x2e9824['acceptToken'](0x9);if(_0x5b867e['hasOwnProperty'](_0x17cd45))return _0x2e9824['acceptToken'](0xa);_0x5f040a&&_0x2ba811[_0x5f040a]&&_0x2ba811[_0x5f040a][_0x17cd45]?_0x2e9824['acceptToken'](0x3a,-0x1):_0x2e9824['acceptToken'](0x6);}},{'contextual':!0x0}),_0x2a2d8b=new _0x16fdd6(_0x52f18d=>{for(let _0x21c468=0x0,_0x384f4c=0x0;;_0x384f4c++){if(_0x52f18d['next']<0x0){_0x384f4c&&_0x52f18d['acceptToken'](0x3b);break;}if(0x2d==_0x52f18d['next'])_0x21c468++;else{if(0x3e==_0x52f18d['next']&&_0x21c468>=0x2){_0x384f4c>=0x3&&_0x52f18d['acceptToken'](0x3b,-0x2);break;}_0x21c468=0x0;}_0x52f18d['advance']();}}),_0x325c82=new _0x16fdd6((_0x5e0a14,_0x5a2b71)=>{if(0x2f==_0x5e0a14['next']&&0x3e==_0x5e0a14['peek'](0x1)){let _0x33feb0=_0x5a2b71['dialectEnabled'](0x1)||function(_0x409f1d){for(;_0x409f1d;_0x409f1d=_0x409f1d['parent'])if('svg'==_0x409f1d['name']||'math'==_0x409f1d['name'])return!0x0;return!0x1;}(_0x5a2b71['context']);_0x5e0a14['acceptToken'](_0x33feb0?0x5:0x4,0x2);}else 0x3e==_0x5e0a14['next']&&_0x5e0a14['acceptToken'](0x4,0x1);});function _0x8d0ba9(_0x41ca27,_0x2e91f1,_0x5bd0a3){let _0x2fcc3b=0x2+_0x41ca27['length'];return new _0x16fdd6(_0x277737=>{for(let _0x31de21=0x0,_0x5b1905=0x0,_0x27a1ea=0x0;;_0x27a1ea++){if(_0x277737['next']<0x0){_0x27a1ea&&_0x277737['acceptToken'](_0x2e91f1);break;}if(0x0==_0x31de21&&0x3c==_0x277737['next']||0x1==_0x31de21&&0x2f==_0x277737['next']||_0x31de21>=0x2&&_0x31de21<_0x2fcc3b&&_0x277737['next']==_0x41ca27['charCodeAt'](_0x31de21-0x2))_0x31de21++,_0x5b1905++;else{if(_0x31de21==_0x2fcc3b&&0x3e==_0x277737['next']){_0x27a1ea>_0x5b1905?_0x277737['acceptToken'](_0x2e91f1,-_0x5b1905):_0x277737['acceptToken'](_0x5bd0a3,-(_0x5b1905-0x2));break;}if((0xa==_0x277737['next']||0xd==_0x277737['next'])&&_0x27a1ea){_0x277737['acceptToken'](_0x2e91f1,0x1);break;}_0x31de21=_0x5b1905=0x0;}_0x277737['advance']();}});}const _0x4c689d=_0x8d0ba9('script',0x37,0x1),_0xec7afb=_0x8d0ba9('style',0x38,0x2),_0x58b387=_0x8d0ba9('textarea',0x39,0x3),_0x1d755f=_0xe89f13({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':_0x1f4598['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':_0x1f4598['angleBracket'],'TagName':_0x1f4598['tagName'],'MismatchedCloseTag/TagName':[_0x1f4598['tagName'],_0x1f4598['invalid']],'AttributeName':_0x1f4598['attributeName'],'AttributeValue\x20UnquotedAttributeValue':_0x1f4598['attributeValue'],'Is':_0x1f4598['definitionOperator'],'EntityReference\x20CharacterReference':_0x1f4598['character'],'Comment':_0x1f4598['blockComment'],'ProcessingInst':_0x1f4598['processingInstruction'],'DoctypeDecl':_0x1f4598['documentMeta']}),_0x55a0ac=_0x4d2d2d['deserialize']({'version':0xe,'states':',xOVO!rOOO!ZQ#tO\x27#CrO!`Q#tO\x27#C{O!eQ#tO\x27#DOO!jQ#tO\x27#DRO!oQ#tO\x27#DTO!tOaO\x27#CqO#PObO\x27#CqO#[OdO\x27#CqO$kO!rO\x27#CqOOO`\x27#Cq\x27#CqO$rO$fO\x27#DUO$zQ#tO\x27#DWO%PQ#tO\x27#DXOOO`\x27#Dl\x27#DlOOO`\x27#DZ\x27#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa\x27#D_\x27#D_O&_OaO\x27#CyO&jOaO,59]OOOb\x27#D`\x27#D`O&rObO\x27#C|O&}ObO,59]OOOd\x27#Da\x27#DaO\x27VOdO\x27#DPO\x27bOdO,59]OOO`\x27#Db\x27#DbO\x27jO!rO,59]O\x27qQ#tO\x27#DSOOO`,59],59]OOOp\x27#Dc\x27#DcO\x27vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO\x27#CtOOQW\x27#D[\x27#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO\x27#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO\x27#C}OOOd-E7_-E7_O){Q#tO\x27#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O\x27#CwO+SOMhO\x27#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO\x27#D]\x27#D]O+eO7[O,59cOOQW,59c,59cOOOO\x27#D^\x27#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[','stateData':',c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~','goto':'%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp','nodeNames':'⚠\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20EndTag\x20SelfClosingEndTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20IncompleteTag\x20IncompleteCloseTag\x20Document\x20Text\x20EntityReference\x20CharacterReference\x20InvalidEntity\x20Element\x20OpenTag\x20TagName\x20Attribute\x20AttributeName\x20Is\x20AttributeValue\x20UnquotedAttributeValue\x20ScriptText\x20CloseTag\x20OpenTag\x20StyleText\x20CloseTag\x20OpenTag\x20TextareaText\x20CloseTag\x20OpenTag\x20CloseTag\x20SelfClosingTag\x20Comment\x20ProcessingInst\x20MismatchedCloseTag\x20CloseTag\x20DoctypeDecl','maxTerm':0x44,'context':_0x117e55,'nodeProps':[['closedBy',-0xa,0x1,0x2,0x3,0x7,0x8,0x9,0xa,0xb,0xc,0xd,'EndTag',0x6,'EndTag\x20SelfClosingEndTag',-0x4,0x16,0x1f,0x22,0x25,'CloseTag'],['openedBy',0x4,'StartTag\x20StartCloseTag',0x5,'StartTag',-0x4,0x1e,0x21,0x24,0x26,'OpenTag'],['group',-0xa,0xe,0xf,0x12,0x13,0x14,0x15,0x28,0x29,0x2a,0x2b,'Entity',0x11,'Entity\x20TextContent',-0x3,0x1d,0x20,0x23,'TextContent\x20Entity'],['isolate',-0xb,0x16,0x1e,0x1f,0x21,0x22,0x24,0x25,0x26,0x27,0x2a,0x2b,'ltr',-0x3,0x1b,0x1c,0x28,'']],'propSources':[_0x1d755f],'skippedNodes':[0x0],'repeatNodeCount':0x9,'tokenData':'!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;\x27S$q;\x27S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&Xq\x27UVaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}P\x27pTaPOv\x27kw!^\x27k!_;\x27S\x27k;\x27S;=`(P<%lO\x27kP(SP;=`<%l\x27kp([S!dpOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t`)jT!b`Or)esv)ew;\x27S)e;\x27S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebiSlWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;\x27S1k;\x27S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!ahaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}!_4WiiSlWd!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;\x27S5u;\x27S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;\x27S7S;\x27S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;\x27S;{;\x27S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;\x27S@O;\x27S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;\x27SAY;\x27S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;\x27SE{;\x27S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;\x27S*V;\x27S;=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!\x27]!g#W*V#W#X!0`#X;\x27S*V;\x27S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;\x27S*V;\x27S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!\x27dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;\x27S*V;\x27S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;\x27S*V;\x27S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;\x27S*V;\x27S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;\x27S*V;\x27S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;\x27S*V;\x27S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;\x27S*V;\x27S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;\x27S!+q;\x27S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;\x27S!,h;\x27S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;\x27S!-S;\x27S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;\x27S!.[;\x27S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;\x27S*V;\x27S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;\x27S*V;\x27S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;\x27S*V;\x27S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;\x27S*V;\x27S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;\x27S*V;\x27S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;\x27S*V;\x27S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;\x27S!4t;\x27S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;\x27S!5k;\x27S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;\x27S!6V;\x27S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;\x27S!6V;\x27S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;\x27S!5k;\x27S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;\x27S!8];\x27S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;\x27S!8];\x27S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;\x27S!4t;\x27S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X','tokenizers':[_0x4c689d,_0xec7afb,_0x58b387,_0x325c82,_0x14f012,_0x2a2d8b,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function _0x1bad51(_0x36dbf8,_0x451566){let _0x2227df=Object['create'](null);for(let _0x1de2e1 of _0x36dbf8['getChildren'](0x18)){let _0xabdae6=_0x1de2e1['getChild'](0x19),_0x199023=_0x1de2e1['getChild'](0x1b)||_0x1de2e1['getChild'](0x1c);_0xabdae6&&(_0x2227df[_0x451566['read'](_0xabdae6['from'],_0xabdae6['to'])]=_0x199023?0x1b==_0x199023['type']['id']?_0x451566['read'](_0x199023['from']+0x1,_0x199023['to']-0x1):_0x451566['read'](_0x199023['from'],_0x199023['to']):'');}return _0x2227df;}function _0x4a88b6(_0x589b58,_0x370cde){let _0x381fcd=_0x589b58['getChild'](0x17);return _0x381fcd?_0x370cde['read'](_0x381fcd['from'],_0x381fcd['to']):'\x20';}function tF(_0x44b05b,_0x183d9a,_0x516215){let _0x14fd51;for(let _0x5309e5 of _0x516215)if(!_0x5309e5['attrs']||_0x5309e5['attrs'](_0x14fd51||(_0x14fd51=_0x1bad51(_0x44b05b['node']['parent']['firstChild'],_0x183d9a))))return{'parser':_0x5309e5['parser'],'bracketed':!0x0};return null;}function _0x35887a(_0x26157a=[],_0x366e83=[]){let _0x4da233=[],_0x5b1b50=[],_0x1d128f=[],_0x433403=[];for(let _0x39dc28 of _0x26157a)('script'==_0x39dc28['tag']?_0x4da233:'style'==_0x39dc28['tag']?_0x5b1b50:'textarea'==_0x39dc28['tag']?_0x1d128f:_0x433403)['push'](_0x39dc28);let _0x1cc2be=_0x366e83['length']?Object['create'](null):null;for(let _0x3d716f of _0x366e83)(_0x1cc2be[_0x3d716f['name']]||(_0x1cc2be[_0x3d716f['name']]=[]))['push'](_0x3d716f);return _0x582aa7((_0x128f4e,_0x5e85dc)=>{let _0x222fef=_0x128f4e['type']['id'];if(0x1d==_0x222fef)return tF(_0x128f4e,_0x5e85dc,_0x4da233);if(0x20==_0x222fef)return tF(_0x128f4e,_0x5e85dc,_0x5b1b50);if(0x23==_0x222fef)return tF(_0x128f4e,_0x5e85dc,_0x1d128f);if(0x15==_0x222fef&&_0x433403['length']){let _0x4e5d77,_0x5dc6d0=_0x128f4e['node'],_0x59e983=_0x5dc6d0['firstChild'],_0x2baad4=_0x59e983&&_0x4a88b6(_0x59e983,_0x5e85dc);if(_0x2baad4){for(let _0x147965 of _0x433403)if(_0x147965['tag']==_0x2baad4&&(!_0x147965['attrs']||_0x147965['attrs'](_0x4e5d77||(_0x4e5d77=_0x1bad51(_0x59e983,_0x5e85dc))))){let _0x5451a0=_0x5dc6d0['lastChild'],_0x3e7d8c=0x26==_0x5451a0['type']['id']?_0x5451a0['from']:_0x5dc6d0['to'];if(_0x3e7d8c>_0x59e983['to'])return{'parser':_0x147965['parser'],'overlay':[{'from':_0x59e983['to'],'to':_0x3e7d8c}]};}}}if(_0x1cc2be&&0x18==_0x222fef){let _0x4a1eaa,_0x30f8e6=_0x128f4e['node'];if(_0x4a1eaa=_0x30f8e6['firstChild']){let _0x17d8e5=_0x1cc2be[_0x5e85dc['read'](_0x4a1eaa['from'],_0x4a1eaa['to'])];if(_0x17d8e5)for(let _0x2cc0f9 of _0x17d8e5){if(_0x2cc0f9['tagName']&&_0x2cc0f9['tagName']!=_0x4a88b6(_0x30f8e6['parent'],_0x5e85dc))continue;let _0x7fd4ab=_0x30f8e6['lastChild'];if(0x1b==_0x7fd4ab['type']['id']){let _0x10cccd=_0x7fd4ab['from']+0x1,_0x49095a=_0x7fd4ab['lastChild'],_0x2f7a06=_0x7fd4ab['to']-(_0x49095a&&_0x49095a['isError']?0x0:0x1);if(_0x2f7a06>_0x10cccd)return{'parser':_0x2cc0f9['parser'],'overlay':[{'from':_0x10cccd,'to':_0x2f7a06}],'bracketed':!0x0};}else{if(0x1c==_0x7fd4ab['type']['id'])return{'parser':_0x2cc0f9['parser'],'overlay':[{'from':_0x7fd4ab['from'],'to':_0x7fd4ab['to']}]};}}}}return null;});}const _0x3406c1=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000];function _0x28ac54(_0x1389ae){return _0x1389ae>=0x41&&_0x1389ae<=0x5a||_0x1389ae>=0x61&&_0x1389ae<=0x7a||_0x1389ae>=0xa1;}function _0x368082(_0x3ebbd8){return _0x3ebbd8>=0x30&&_0x3ebbd8<=0x39;}function _0x143799(_0x491efe){return _0x368082(_0x491efe)||_0x491efe>=0x61&&_0x491efe<=0x66||_0x491efe>=0x41&&_0x491efe<=0x46;}const _0xb93eec=(_0x268ff6,_0xade066,_0x476fe2)=>(_0x37ae55,_0x579250)=>{for(let _0x5bfffd=!0x1,_0x362a4e=0x0,_0x483ab1=0x0;;_0x483ab1++){let {next:_0x5dc8ff}=_0x37ae55;if(_0x28ac54(_0x5dc8ff)||0x2d==_0x5dc8ff||0x5f==_0x5dc8ff||_0x5bfffd&&_0x368082(_0x5dc8ff))!_0x5bfffd&&(0x2d!=_0x5dc8ff||_0x483ab1>0x0)&&(_0x5bfffd=!0x0),_0x362a4e===_0x483ab1&&0x2d==_0x5dc8ff&&_0x362a4e++,_0x37ae55['advance']();else{if(0x5c!=_0x5dc8ff||0xa==_0x37ae55['peek'](0x1)){_0x5bfffd&&_0x37ae55['acceptToken'](0x2==_0x362a4e&&_0x579250['canShift'](0x2)?_0xade066:0x28==_0x5dc8ff?_0x476fe2:_0x268ff6);break;}if(_0x37ae55['advance'](),_0x143799(_0x37ae55['next'])){do{_0x37ae55['advance']();}while(_0x143799(_0x37ae55['next']));0x20==_0x37ae55['next']&&_0x37ae55['advance']();}else _0x37ae55['next']>-0x1&&_0x37ae55['advance']();_0x5bfffd=!0x0;}}},_0x35fda7=new _0x16fdd6(_0xb93eec(0x88,0x2,0x89),{'contextual':!0x0}),_0x1fb580=new _0x16fdd6(_0xb93eec(0x8a,0x3,0x4),{'contextual':!0x0}),_0x27cf1b=new _0x16fdd6(_0x16e722=>{if(_0x3406c1['includes'](_0x16e722['peek'](-0x1))){let {next:_0x1082a7}=_0x16e722;(_0x28ac54(_0x1082a7)||0x5f==_0x1082a7||0x23==_0x1082a7||0x2e==_0x1082a7||0x2a==_0x1082a7||0x5b==_0x1082a7||0x3a==_0x1082a7&&_0x28ac54(_0x16e722['peek'](0x1))||0x2d==_0x1082a7||0x26==_0x1082a7)&&_0x16e722['acceptToken'](0x87);}}),_0x5482e6=new _0x16fdd6(_0x4642f2=>{if(!_0x3406c1['includes'](_0x4642f2['peek'](-0x1))){let {next:_0x1c430f}=_0x4642f2;if(0x25==_0x1c430f&&(_0x4642f2['advance'](),_0x4642f2['acceptToken'](0x1)),_0x28ac54(_0x1c430f)){do{_0x4642f2['advance']();}while(_0x28ac54(_0x4642f2['next'])||_0x368082(_0x4642f2['next']));_0x4642f2['acceptToken'](0x1);}}}),_0xf4a775=_0xe89f13({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports\x20font-feature-values':_0x1f4598['definitionKeyword'],'from\x20to\x20selector\x20scope\x20MatchFlag':_0x1f4598['keyword'],'NamespaceName':_0x1f4598['namespace'],'KeyframeName':_0x1f4598['labelName'],'KeyframeRangeName':_0x1f4598['operatorKeyword'],'TagName':_0x1f4598['tagName'],'ClassName':_0x1f4598['className'],'PseudoClassName':_0x1f4598['constant'](_0x1f4598['className']),'IdName':_0x1f4598['labelName'],'FeatureName\x20PropertyName':_0x1f4598['propertyName'],'AttributeName':_0x1f4598['attributeName'],'NumberLiteral':_0x1f4598['number'],'KeywordQuery':_0x1f4598['keyword'],'UnaryQueryOp':_0x1f4598['operatorKeyword'],'CallTag\x20ValueName\x20FontName':_0x1f4598['atom'],'VariableName':_0x1f4598['variableName'],'Callee':_0x1f4598['operatorKeyword'],'Unit':_0x1f4598['unit'],'UniversalSelector\x20NestingSelector':_0x1f4598['definitionOperator'],'MatchOp\x20CompareOp':_0x1f4598['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':_0x1f4598['logicOperator'],'BinOp':_0x1f4598['arithmeticOperator'],'Important':_0x1f4598['modifier'],'Comment':_0x1f4598['blockComment'],'ColorLiteral':_0x1f4598['color'],'ParenthesizedContent\x20StringLiteral':_0x1f4598['string'],':':_0x1f4598['punctuation'],'PseudoOp\x20#':_0x1f4598['derefOperator'],';\x20,\x20|':_0x1f4598['separator'],'(\x20)':_0x1f4598['paren'],'[\x20]':_0x1f4598['squareBracket'],'{\x20}':_0x1f4598['brace']}),_0x86b9f2={'__proto__':null,'lang':0x2c,'nth-child':0x2c,'nth-last-child':0x2c,'nth-of-type':0x2c,'nth-last-of-type':0x2c,'dir':0x2c,'host-context':0x2c,'if':0x5a,'url':0x84,'url-prefix':0x84,'domain':0x84,'regexp':0x84},_0x438413={'__proto__':null,'or':0x68,'and':0x68,'not':0x70,'only':0x70,'layer':0xba},_0x49ddac={'__proto__':null,'selector':0x76,'layer':0xb6},_0x5edc10={'__proto__':null,'@import':0xb2,'@media':0xbe,'@charset':0xc2,'@namespace':0xc6,'@keyframes':0xcc,'@supports':0xd8,'@scope':0xdc,'@font-feature-values':0xe2},_0x5bc486={'__proto__':null,'to':0xdf},_0x4cc422=_0x4d2d2d['deserialize']({'version':0xe,'states':'IpQYQdOOO#}QdOOP$UO`OOO%OQaO\x27#CfOOQP\x27#Ce\x27#CeO%VQdO\x27#CgO%[Q`O\x27#CgO%aQaO\x27#FdO&XQdO\x27#CkO&xQaO\x27#CcO\x27SQdO\x27#CnO\x27_QdO\x27#DtO\x27dQdO\x27#DvO\x27oQdO\x27#D}O\x27oQdO\x27#EQOOQP\x27#Fd\x27#FdO)OQhO\x27#EsOOQS\x27#Fc\x27#FcOOQS\x27#Ev\x27#EvQYQdOOO)VQdO\x27#EWO*cQhO\x27#E^O)VQdO\x27#E`O*jQdO\x27#EbO*uQdO\x27#EeO)zQhO\x27#EkO*}QdO\x27#EmO+YQdO\x27#EpO+_QaO\x27#CfO+fQ`O\x27#ETO+kQ`O\x27#FnO+vQdO\x27#FnQOQ`OOP,QO&jO\x27#CaPOOO)CAR)CAROOQP\x27#Ci\x27#CiOOQP,59R,59RO%VQdO,59ROOQP\x27#Cm\x27#CmOOQP,59V,59VO&XQdO,59VO,]QdO,59YO\x27_QdO,5:`O\x27dQdO,5:bO\x27oQdO,5:iO\x27oQdO,5:kO\x27oQdO,5:lO\x27oQdO\x27#E}O,hQ`O,58}O,pQdO\x27#ESOOQS,58},58}OOQP\x27#Cq\x27#CqOOQO\x27#Dr\x27#DrOOQP,59Y,59YO,wQ`O,59YO,|Q`O,59YOOQP\x27#Du\x27#DuOOQP,5:`,5:`O-RQpO\x27#DwO-^QdO\x27#DxO-cQ`O\x27#DxO-hQpO,5:bO.RQaO,5:iO.iQaO,5:lOOQW\x27#D^\x27#D^O/eQhO\x27#DgO/xQhO,5;_O)zQhO\x27#DeO0VQ`O\x27#DkO0[QhO\x27#DnOOQW\x27#Fj\x27#FjOOQS,5;_,5;_O0aQ`O\x27#DhOOQS-E8t-E8tOOQ[\x27#Cv\x27#CvO0fQdO\x27#CwO0|QdO\x27#C}O1dQdO\x27#DQO1zQ!pO\x27#DSO4TQ!jO,5:rOOQO\x27#DX\x27#DXO,|Q`O\x27#DWO4eQ!nO\x27#FgO6hQ`O\x27#DYO6mQ`O\x27#DoOOQ[\x27#Fg\x27#FgO6rQhO\x27#FqO7QQ`O,5:xO7VQ!bO,5:zOOQS\x27#Ed\x27#EdO7_Q`O,5:|O7dQdO,5:|OOQO\x27#Eg\x27#EgO7lQ`O,5;PO7qQhO,5;VO\x27oQdO\x27#DjOOQS,5;X,5;XO0aQ`O,5;XO7yQdO,5;XOOQS\x27#FU\x27#FUO8RQdO\x27#ErO7QQ`O,5;[O8ZQdO,5:oO8kQdO\x27#FPO8xQ`O,5<YO8xQ`O,5<YPOOO\x27#Eu\x27#EuP9TO&jO,58{POOO,58{,58{OOQP1G.m1G.mOOQP1G.q1G.qOOQP1G.t1G.tO,wQ`O1G.tO,|Q`O1G.tOOQP1G/z1G/zO9`QpO1G/|O9hQaO1G0TO:OQaO1G0VO:fQaO1G0WO:|QaO,5;iOOQO-E8{-E8{OOQS1G.i1G.iO;WQ`O,5:nO;]QdO\x27#DsO;dQdO\x27#CuOOQO\x27#Dz\x27#DzOOQO,5:d,5:dO-^QdO,5:dOOQP1G/|1G/|O)VQdO1G/|O;kQ!jO\x27#D^O;yQ!bO,59yO<RQhO,5:ROOQO\x27#Fk\x27#FkO;|Q!bO,59}O<ZQhO\x27#FVO)zQhO,59{O)zQhO\x27#FVO=OQhO1G0yOOQS1G0y1G0yO=YQhO,5:PO>QQhO\x27#DlOOQW,5:V,5:VOOQW,5:Y,5:YOOQW,5:S,5:SO>[Q!fO\x27#FhOOQS\x27#Fh\x27#FhOOQS\x27#Ex\x27#ExO?lQdO,59cOOQ[,59c,59cO@SQdO,59iOOQ[,59i,59iO@jQdO,59lOOQ[,59l,59lOOQ[,59n,59nO)VQdO,59pOAQQhO\x27#EYOOQW\x27#EY\x27#EYOAlQ`O1G0^O4^QhO1G0^OOQ[,59r,59rO)zQhO\x27#D[OOQ[,59t,59tOAqQ#tO,5:ZOA|QhO\x27#FROBZQ`O,5<]OOQS1G0d1G0dOOQS1G0f1G0fOOQS1G0h1G0hOBfQ`O1G0hOBkQdO\x27#EhOOQS1G0k1G0kOOQS1G0q1G0qOBvQaO,5:UO7QQ`O1G0sOOQS1G0s1G0sO0aQ`O1G0sOOQS-E9S-E9SOOQS1G0v1G0vOB}Q!fO1G0ZOCeQ`O\x27#EVOOQO1G0Z1G0ZOOQO,5;k,5;kOCjQdO,5;kOOQO-E8}-E8}OCwQ`O1G1tPOOO-E8s-E8sPOOO1G.g1G.gOOQP7+$`7+$`OOQP7+%h7+%hO)VQdO7+%hOOQS1G0Y1G0YODSQaO\x27#FmOD^Q`O,5:_ODcQ!fO\x27#EwOEaQdO\x27#FfOEkQ`O,59aOOQO1G0O1G0OOEpQ!bO7+%hO)VQdO1G/eOE{QhO1G/iOOQW1G/m1G/mOOQW1G/g1G/gOF^QhO,5;qOOQW-E9T-E9TOOQS7+&e7+&eOGRQhO\x27#D^OGaQhO\x27#FlOGlQ`O\x27#FlOGqQ`O,5:WOOQS-E8v-E8vOOQ[1G.}1G.}OOQ[1G/T1G/TOOQ[1G/W1G/WOOQ[1G/[1G/[OGvQdO,5:tOOQS7+%x7+%xOG{Q`O7+%xOHQQhO\x27#D]OHYQ`O,59vO)zQhO,59vOOQ[1G/u1G/uOHbQ`O1G/uOHgQhO,5;mOOQO-E9P-E9POOQS7+&S7+&SOHuQbO\x27#DSOOQO\x27#Ej\x27#EjOITQ`O\x27#EiOOQO\x27#Ei\x27#EiOI`Q`O\x27#FSOIhQdO,5;SOOQS,5;S,5;SOOQ[1G/p1G/pOOQS7+&_7+&_O7QQ`O7+&_OIsQ!fO\x27#FOO)VQdO\x27#FOOJzQdO7+%uOOQO7+%u7+%uOOQO,5:q,5:qOOQO1G1V1G1VOK_Q!bO<<ISOKjQdO\x27#E|OKtQ`O,5<XOOQP1G/y1G/yOOQS-E8u-E8uOK|QdO\x27#E{OLWQ`O,5<QOOQ]1G.{1G.{OOQP<<IS<<ISOL`Q`O<<ISOLeQdO7+%POOQO\x27#D`\x27#D`OLlQ!bO7+%TOLtQhO\x27#EzOMRQ`O,5<WO)VQdO,5<WOOQW1G/r1G/rOOQO\x27#E[\x27#E[OMZQ`O1G0`OOQS<<Id<<IdO)VQdO,59wOMzQhO1G/bOOQ[1G/b1G/bONRQ`O1G/bOOQW-E8w-E8wOOQ[7+%a7+%aOOQO,5;T,5;TOBnQdO\x27#FTOI`Q`O,5;nOOQS,5;n,5;nOOQS-E9Q-E9QOOQS1G0n1G0nOOQS<<Iy<<IyONZQ!fO,5;jOOQS-E8|-E8|OOQO<<Ia<<IaOOQPAN>nAN>nO!\x20bQ`OAN>nO!\x20gQaO,5;hOOQO-E8z-E8zO!\x20qQdO,5;gOOQO-E8y-E8yOOQW<<Hk<<HkOOQW<<Ho<<HoO!\x20{QhO<<HoO!!^QhO,5;fO!!iQ`O,5;fOOQO-E8x-E8xO!!nQdO1G1rOGvQdO\x27#FQO!!xQ`O7+%zOOQW7+%z7+%zO!#QQ!bO1G/cOOQ[7+$|7+$|O!#]QhO7+$|P!#dQ`O\x27#EyOOQO,5;o,5;oOOQO-E9R-E9ROOQS1G1Y1G1YOOQPG24YG24YO!#iQ`OAN>ZO)VQdO1G1QO!#nQ`O7+\x27^OOQO,5;l,5;lOOQO-E9O-E9OOOQW<<If<<IfOOQ[<<Hh<<HhPOQW,5;e,5;eOOQWG23uG23uO!#vQdO7+&l','stateData':'!$Z~O$QOS$RQQ~OWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|RO$XTO~OQmOWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|lO$XTO~O#z$bP~P!jO$RqO~O`YXcYXdYXmYXpYXsYX!aYX!rYX!uYX#{YX$X[X~OgYX~P$ZO#|sO~O$XuO~O$XuO`$WXc$WXd$WXm$WXp$WXs$WX!a$WX!r$WX!u$WX#{$WXg$WX~O#|vO~O`xOcyOdyOmzOp{O!r|O!u!OO#{}O~Os!RO!a!PO~P&^Of!XO#|!TO#}!UO~O#|!YO~OW!^O#|![O$X!]O~OWVO^_O`WOcYOdYOmZOp[O!r]O!u^O#|RO$XTO~OS!fOc!gOd!gOh!cOs!RO!Y!eO!]!jO$O!bO~On!iO~P(dOQ!tOh!mOp!nOs!oOu!wOw!wO}!uO!d!vO#|!lO#}!rO$]!pO~OS!fOc!gOd!gOh!cO!Y!eO!]!jO$O!bO~Os$eP~P)zOw!|O!d!vO#|!{O~Ow#OO#|#OO~Oh#ROs!RO#c#TO~O#|#VO~Oc!xX~P$ZOc#YO~On#ZO#z$bXr$bX~O#z$bXr$bX~P!jO$S#^O$T#^O$U#`O~Of#eO#|!TO#}!UO~Os!RO!a!PO~Or$bP~P!jOh#oO~Oh#pO~Oo!kX!o!kX$X!mX~O#|#qO~O$X#sO~Oo#tO!o#uO~O`xOcyOdyOmzOp{O~Os!qa!a!qa!r!qa!u!qa#{!qag!qa~P-pOs!ta!a!ta!r!ta!u!ta#{!tag!ta~P-pOS!fOc!gOd!gOh!cO!Y!eO!]!jO~OR#yOu#yOw#yO$O#vO$]!pO~P/POn$PO!U#|O!a#}O~P(dOh$RO~O$O$TO~Oh#RO~O`$WOc$WOg$ZOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo$]O~P)VO`$WOc$WOl$WOm$WOn$WOr$_O~P)VOP$`OSvXcvXdvXhvXnvXyvX!YvX!]vX!}vX#PvX$OvX!WvXQvX`vXgvXlvXmvXpvXsvXuvXwvX}vX!dvX#|vX#}vX$]vXovXrvX!avX#zvX$dvX!pvX~Oy$aO!}$bO#P$cOn$eP~P)zOh#pOS$ZXc$ZXd$ZXn$ZXy$ZX!Y$ZX!]$ZX!}$ZX#P$ZX$O$ZXQ$ZX`$ZXg$ZXl$ZXm$ZXp$ZXs$ZXu$ZXw$ZX}$ZX!d$ZX#|$ZX#}$ZX$]$ZXo$ZXr$ZX!a$ZX#z$ZX$d$ZX!p$ZX~Oh$gO~Oh$iO~O!U#|O!a$jOs$eXn$eX~Os!RO~On$mOy$aO~On$nO~Ow$oO!d!vO~Os$pO~Os!RO!U#|O~Os!RO#c$vO~O#|#VOs#fX~O$d$zOn!wa#z!war!wa~P)VOn#sX#z#sXr#sX~P!jOn#ZO#z$bar$ba~O$S#^O$T#^O$U%RO~Oo%TO!o%UO~Os!qi!a!qi!r!qi!u!qi#{!qig!qi~P-pOs!si!a!si!r!si!u!si#{!sig!si~P-pOs!ti!a!ti!r!ti!u!ti#{!tig!ti~P-pOs#qa!a#qa~P&^Or%VO~Og$aP~P\x27oOg$YP~P)VOc!SXg!QX!U!QX!W!SX~Oc%_O!W%`O~Og%aO!U#|O~O!U#|OS#yXc#yXd#yXh#yXn#yXs#yX!Y#yX!]#yX!a#yX$O#yX~On%eO!a#}O~P(dO!U#|OS!Xac!Xad!Xah!Xan!Xas!Xa!Y!Xa!]!Xa!a!Xa$O!Xag!Xa~O$O%fOg$`P~P/POy$aOQ$[X`$[Xc$[Xg$[Xh$[Xl$[Xm$[Xn$[Xp$[Xs$[Xu$[Xw$[X}$[X!d$[X#|$[X#}$[X$]$[Xo$[Xr$[X~O`$WOc$WOg%kOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo%lO~P)VO`$WOc$WOl$WOm$WOn$WOr%mO~P)VOh%oOS!|Xc!|Xd!|Xn!|X!Y!|X!]!|X$O!|X~On%pO~Og%uOw%vO!e%vO~Os#uX!a#uXn#uX~P)zO!a$jOs$ean$ea~On%yO~Or&QO#|%{O$]%zO~Og&RO~P&^Oy$aO!a&VO$d$zOn!wi#z!wir!wi~P)VO$c&YO~On#sa#z#sar#sa~P!jOn#ZO#z$bir$bi~O!a&]Og$aX~P&^Og&_O~Oy$aOQ#kXg#kXh#kXp#kXs#kXu#kXw#kX}#kX!a#kX!d#kX#|#kX#}#kX$]#kX~O!a&aOg$YX~P)VOg&cO~Oo&dOy$aO!p&eO~OR#yOu#yOw#yO$O&gO$]!pO~O!U#|OS#yac#yad#yah#yan#yas#ya!Y#ya!]#ya!a#ya$O#ya~Oc!SXg!QX!U!QX!a!QX~O!U#|O!a&iOg$`X~Oc&kO~Og&lO~O#|&mO~On&oO~Oc&pO!U#|O~Og&rOn&qO~Og&uO~O!U#|Os#ua!a#uan#ua~OP$`OsvX!avXgvX~O$]%zOs#]X!a#]X~Os!RO!a&wO~Or&{O#|%{O$]%zO~Oy$aOQ#rXh#rXn#rXp#rXs#rXu#rXw#rX}#rX!a#rX!d#rX#z#rX#|#rX#}#rX$]#rX$d#rXr#rX~O!a&VO$d$zOn!wq#z!wqr!wq~P)VOo\x27QOy$aO!p\x27RO~Og#pX!a#pX~P\x27oO!a&]Og$aa~Og#oX!a#oX~P)VO!a&aOg$Ya~Oo\x27QO~Og\x27WO~P)VOg\x27XO!W\x27YO~O$O%fOg#nX!a#nX~P/PO!a&iOg$`a~O`\x27_Og\x27aO~OS#mac#mad#mah#ma!Y#ma!]#ma$O#ma~Og\x27cO~PMcOg\x27cOn\x27dO~Oy$aOQ#rah#ran#rap#ras#rau#raw#ra}#ra!a#ra!d#ra#z#ra#|#ra#}#ra$]#ra$d#rar#ra~Oo\x27iO~Og#pa!a#pa~P&^Og#oa!a#oa~P)VOR#yOu#yOw#yO$O&gO$]%zO~O!U#|Og#na!a#na~Oc\x27kO~O!a&iOg$`i~P)VO`\x27_Og\x27oO~Oy$aOg!Pin!Pi~Og\x27pO~PMcOn\x27qO~Og\x27rO~O!a&iOg$`q~Og#nq!a#nq~P)VO$Q!e$R$]`$]y!u~','goto':'4h$fPPPPP$gP$jP$s%V$s%i%{P$sP&R$sPP&XPPP&_&i&iPPPPP&iPP&iP\x27VP&iP&i(Q&iP(n(q(w(w)Z(wP(wP(wP(w(wP)j(w)vP(w)yPP*m*s$s*y$s+P+P+V+ZPP$sP$s$sP+a,],j,q$jP,zP,}P$jP$jP$jP-T$jP-W-Z-^-e$jP$jPP$jP-j$jP-m-s.S.j.x/O/Y/`/f/l/r/|0S0Y0`0f0lPPPPPPPPPPP0r0{P1q1t2vP3O3x4R4U4XPP4_RrQ_aOPco!R#Z$}q_OP]^co|}!O!P!R#R#Z#o$}&]qSOP]^co|}!O!P!R#R#Z#o$}&]qUOP]^co|}!O!P!R#R#Z#o$}&]QtTR#auQwWR#bxQ!VYR#cyQ#c!XS$f!s!tR%S#e!V!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27s!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sU#y!c%`\x27YU%}$p&P&wR&v%|!V!sdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sR$h!uQ%s$gR&s%tq!h`ei!c!d!e!q#|#}$O$R$e$g$j%t&iQ#w!cQ%h$RQ&h%`Q\x27[&iR\x27j\x27YQ#UjQ$U!jQ$t#TR&T$vR$S!f!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sQ!|gR$o!}Q!WYR#dyQ#c!WR%S#dQ!ZZR#fzQ!_[R#g{T!^[{Q#r!]R%]#sQ!SXQ!i`Q#SjQ#m!QQ$P!dQ$l!yQ$r#QQ$u#UQ$x#XQ%e$OQ&S$tQ&y&OQ&|&TR\x27h&xSnP!RQ#]oQ$|#ZR&Z$}ZmPo!R#Z$}Q${#YQ&X$yR\x27P&WR$e!qQ&n%oR\x27m\x27_R!}gR#PhR$q#PS&O$p&PR\x27f&wV%|$p&P&wR#XkQ#_qR%Q#_QcOSoP!RU!kco$}R$}#ZQ%Z#pY&`%Z&f\x27U\x27^\x27sQ&f%_Q\x27U&aQ\x27^&kR\x27s\x27kQ$Y!mQ$[!nQ$^!oV%j$Y$[$^Q%t$gR&t%tQ&j%gS\x27]&j\x27lR\x27l\x27^Q&b%ZR\x27V&bQ&^%WR\x27T&^Q!QXR#l!QQ&W$yR\x27O&WQ#[nS%O#[%PR%P#]Q\x27`&nR\x27n\x27`Q$k!xR%x$kQ&P$pR&z&PQ&x&OR\x27g&xQ#WkR$w#WQ$O!dR%d$O_bOPco!R#Z$}^XOPco!R#Z$}Q!`]Q!a^Q#h|Q#i}Q#j!OQ#k!PQ$s#RQ%W#oR\x27S&]R%[#pQ!qdQ!zf[$V!m!n!o$Y$[$^Q$y#Yd%Y#p%Z%_&a&f&k\x27U\x27^\x27k\x27sQ%^#uQ%n$aS&U$y&WQ&[%UQ&}&VR\x27b&p]$X!m!n!o$Y$[$^Q!d`U!xe!q$eQ#QiQ#x!cS#{!d$OQ$Q!eQ%b#|Q%c#}Q%g$RS%r$g%tQ%w$jR\x27Z&iQ#z!cQ&h%`R\x27j\x27YR%i$RR%X#oQpPR#n!RQ!yeQ$d!qR%q$e','nodeNames':'⚠\x20Unit\x20VariableName\x20VariableName\x20QueryCallee\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\x20TagName\x20NamespacedTagSelector\x20NamespaceName\x20TagName\x20NestingSelector\x20ClassSelector\x20.\x20ClassName\x20PseudoClassSelector\x20:\x20::\x20PseudoClassName\x20PseudoClassName\x20)\x20(\x20ArgList\x20ValueName\x20ParenthesizedValue\x20AtKeyword\x20#\x20;\x20]\x20[\x20BracketedValue\x20}\x20{\x20BracedValue\x20ColorLiteral\x20NumberLiteral\x20StringLiteral\x20BinaryExpression\x20BinOp\x20CallExpression\x20Callee\x20IfExpression\x20if\x20ArgList\x20IfBranch\x20KeywordQuery\x20FeatureQuery\x20FeatureName\x20BinaryQuery\x20LogicOp\x20ComparisonQuery\x20CompareOp\x20UnaryQuery\x20UnaryQueryOp\x20ParenthesizedQuery\x20SelectorQuery\x20selector\x20ParenthesizedSelector\x20CallQuery\x20ArgList\x20,\x20PseudoQuery\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20PseudoClassName\x20ArgList\x20IdSelector\x20IdName\x20AttributeSelector\x20AttributeName\x20NamespacedAttribute\x20NamespaceName\x20AttributeName\x20MatchOp\x20MatchFlag\x20ChildSelector\x20ChildOp\x20DescendantSelector\x20SiblingSelector\x20SiblingOp\x20Block\x20Declaration\x20PropertyName\x20Important\x20ImportStatement\x20import\x20Layer\x20layer\x20LayerName\x20layer\x20MediaStatement\x20media\x20CharsetStatement\x20charset\x20NamespaceStatement\x20namespace\x20NamespaceName\x20KeyframesStatement\x20keyframes\x20KeyframeName\x20KeyframeList\x20KeyframeSelector\x20KeyframeRangeName\x20SupportsStatement\x20supports\x20ScopeStatement\x20scope\x20to\x20FontFeatureStatement\x20font-feature-values\x20FontName\x20AtRule\x20Styles','maxTerm':0x9f,'nodeProps':[['isolate',-0x2,0x5,0x27,''],['openedBy',0x17,'(',0x1f,'[',0x22,'{'],['closedBy',0x18,')',0x20,']',0x23,'}']],'propSources':[_0xf4a775],'skippedNodes':[0x0,0x5,0x75],'repeatNodeCount':0x11,'tokenData':'K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;\x27S%Z;\x27S;=`KY<%lO%Z`%^SOy%jz;\x27S%j;\x27S;=`%{<%lO%j`%oS!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$Q~OX%jX^\x27r^p%jpq\x27rqy%jz#y%j#y#z\x27r#z$f%j$f$g\x27r$g#BY%j#BY#BZ\x27r#BZ$IS%j$IS$I_\x27r$I_$I|%j$I|$JO\x27r$JO$JT%j$JT$JU\x27r$JU$KV%j$KV$KW\x27r$KW&FU%j&FU&FV\x27r&FV;\x27S%j;\x27S;=`%{<%lO%j~\x27yh$Q~!e`OX%jX^\x27r^p%jpq\x27rqy%jz#y%j#y#z\x27r#z$f%j$f$g\x27r$g#BY%j#BY#BZ\x27r#BZ$IS%j$IS$I_\x27r$I_$I|%j$I|$JO\x27r$JO$JT%j$JT$JU\x27r$JU$KV%j$KV$KW\x27r$KW&FU%j&FU&FV\x27r&FV;\x27S%j;\x27S;=`%{<%lO%jj)jS$dYOy%jz;\x27S%j;\x27S;=`%{<%lO%j~)yWOY)vZr)vrs*cs#O)v#O#P*h#P;\x27S)v;\x27S;=`+d<%lO)v~*hOw~~*kRO;\x27S)v;\x27S;=`*t;=`O)v~*wXOY)vZr)vrs*cs#O)v#O#P*h#P;\x27S)v;\x27S;=`+d;=`<%l)v<%lO)v~+gP;=`<%l)vj+oYmYOy%jz!Q%j!Q![,_![!c%j!c!i,_!i#T%j#T#Z,_#Z;\x27S%j;\x27S;=`%{<%lO%jj,dY!e`Oy%jz!Q%j!Q![-S![!c%j!c!i-S!i#T%j#T#Z-S#Z;\x27S%j;\x27S;=`%{<%lO%jj-XY!e`Oy%jz!Q%j!Q![-w![!c%j!c!i-w!i#T%j#T#Z-w#Z;\x27S%j;\x27S;=`%{<%lO%jj.OYuY!e`Oy%jz!Q%j!Q![.n![!c%j!c!i.n!i#T%j#T#Z.n#Z;\x27S%j;\x27S;=`%{<%lO%jj.uYuY!e`Oy%jz!Q%j!Q![/e![!c%j!c!i/e!i#T%j#T#Z/e#Z;\x27S%j;\x27S;=`%{<%lO%jj/jY!e`Oy%jz!Q%j!Q![0Y![!c%j!c!i0Y!i#T%j#T#Z0Y#Z;\x27S%j;\x27S;=`%{<%lO%jj0aYuY!e`Oy%jz!Q%j!Q![1P![!c%j!c!i1P!i#T%j#T#Z1P#Z;\x27S%j;\x27S;=`%{<%lO%jj1UY!e`Oy%jz!Q%j!Q![1t![!c%j!c!i1t!i#T%j#T#Z1t#Z;\x27S%j;\x27S;=`%{<%lO%jj1{SuY!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jd2[UOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jd2uS!oS!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jb3WS^QOy%jz;\x27S%j;\x27S;=`%{<%lO%j~3gWOY3dZw3dwx*cx#O3d#O#P4P#P;\x27S3d;\x27S;=`4{<%lO3d~4SRO;\x27S3d;\x27S;=`4];=`O3d~4`XOY3dZw3dwx*cx#O3d#O#P4P#P;\x27S3d;\x27S;=`4{;=`<%l3d<%lO3d~5OP;=`<%l3dj5WShYOy%jz;\x27S%j;\x27S;=`%{<%lO%j~5iOg~n5pUWQyWOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jj6ZWyW!uQOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;\x27S%j;\x27S;=`%{<%lO%jj6xU!e`Oy%jz!Q%j!Q![7[![;\x27S%j;\x27S;=`%{<%lO%jj7cY!e`$]YOy%jz!Q%j!Q![7[![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj8WY!e`Oy%jz{%j{|8v|}%j}!O8v!O!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj8{U!e`Oy%jz!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj9fU!e`$]YOy%jz!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj:P[!e`$]YOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj:zS!aYOy%jz;\x27S%j;\x27S;=`%{<%lO%jj;]WyWOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;\x27S%j;\x27S;=`%{<%lO%jj;zU`YOy%jz!Q%j!Q![7[![;\x27S%j;\x27S;=`%{<%lO%j~<cTyWOy%jz{<r{;\x27S%j;\x27S;=`%{<%lO%j~<yS!e`$R~Oy%jz;\x27S%j;\x27S;=`%{<%lO%jj=[[$]YOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj>VUcYOy%jz![%j![!]>i!];\x27S%j;\x27S;=`%{<%lO%jj>pSdY!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jj?RSnYOy%jz;\x27S%j;\x27S;=`%{<%lO%jh?dU!WWOy%jz!_%j!_!`?v!`;\x27S%j;\x27S;=`%{<%lO%jh?}S!WW!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jl@bS!WW!oSOy%jz;\x27S%j;\x27S;=`%{<%lO%jj@uV!rQ!WWOy%jz!_%j!_!`?v!`!aA[!a;\x27S%j;\x27S;=`%{<%lO%jbAcS!rQ!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjArYOy%jz}%j}!OBb!O!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jjBgW!e`Oy%jz!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jjCW[lY!e`Oy%jz}%j}!OCP!O!Q%j!Q![CP![!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jhDRS!pWOy%jz;\x27S%j;\x27S;=`%{<%lO%jjDdSpYOy%jz;\x27S%j;\x27S;=`%{<%lO%jnDuSo^Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjEWU!pWOy%jz#a%j#a#bEj#b;\x27S%j;\x27S;=`%{<%lO%jbEoU!e`Oy%jz#d%j#d#eFR#e;\x27S%j;\x27S;=`%{<%lO%jbFWU!e`Oy%jz#c%j#c#dFj#d;\x27S%j;\x27S;=`%{<%lO%jbFoU!e`Oy%jz#f%j#f#gGR#g;\x27S%j;\x27S;=`%{<%lO%jbGWU!e`Oy%jz#h%j#h#iGj#i;\x27S%j;\x27S;=`%{<%lO%jbGoU!e`Oy%jz#T%j#T#UHR#U;\x27S%j;\x27S;=`%{<%lO%jbHWU!e`Oy%jz#b%j#b#cHj#c;\x27S%j;\x27S;=`%{<%lO%jbHoU!e`Oy%jz#h%j#h#iIR#i;\x27S%j;\x27S;=`%{<%lO%jbIYS$cQ!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjIkSsYOy%jz;\x27S%j;\x27S;=`%{<%lO%jfI|U$XUOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jjJeSrYOy%jz;\x27S%j;\x27S;=`%{<%lO%jfJvU!uQOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%j`K]P;=`<%l%Z','tokenizers':[_0x27cf1b,_0x5482e6,_0x35fda7,_0x1fb580,0x1,0x2,0x3,0x4,new _0x7be860('m~RRYZ[z{a~~g~aO$T~~dP!P!Qg~lO$U~~',0x1c,0x8e)],'topRules':{'StyleSheet':[0x0,0x6],'Styles':[0x1,0x74]},'dynamicPrecedences':{0x54:0x1},'specialized':[{'term':0x89,'get':_0x2d3932=>_0x86b9f2[_0x2d3932]||-0x1},{'term':0x8a,'get':_0x52fac5=>_0x438413[_0x52fac5]||-0x1},{'term':0x4,'get':_0x50ccbd=>_0x49ddac[_0x50ccbd]||-0x1},{'term':0x1c,'get':_0x33939d=>_0x5edc10[_0x33939d]||-0x1},{'term':0x88,'get':_0x1a07ba=>_0x5bc486[_0x1a07ba]||-0x1}],'tokenPrec':0x8d0});let _0x11ef48=null;function _0x55e52b(){if(!_0x11ef48&&'object'==typeof document&&document['body']){let {style:_0x1b40be}=document['body'],_0x4a29f=[],_0x36638d=new Set();for(let _0x55cde5 in _0x1b40be)'cssText'!=_0x55cde5&&'cssFloat'!=_0x55cde5&&'string'==typeof _0x1b40be[_0x55cde5]&&(/[A-Z]/['test'](_0x55cde5)&&(_0x55cde5=_0x55cde5['replace'](/[A-Z]/g,_0xaf30d7=>'-'+_0xaf30d7['toLowerCase']())),_0x36638d['has'](_0x55cde5)||(_0x4a29f['push'](_0x55cde5),_0x36638d['add'](_0x55cde5)));_0x11ef48=_0x4a29f['sort']()['map'](_0x21db11=>({'type':'property','label':_0x21db11,'apply':_0x21db11+':\x20'}));}return _0x11ef48||[];}const _0x37bdaa=['active','after','any-link','autofill','backdrop','before','checked','cue','default','defined','disabled','empty','enabled','file-selector-button','first','first-child','first-letter','first-line','first-of-type','focus','focus-visible','focus-within','fullscreen','has','host','host-context','hover','in-range','indeterminate','invalid','is','lang','last-child','last-of-type','left','link','marker','modal','not','nth-child','nth-last-child','nth-last-of-type','nth-of-type','only-child','only-of-type','optional','out-of-range','part','placeholder','placeholder-shown','read-only','read-write','required','right','root','scope','selection','slotted','target','target-text','valid','visited','where']['map'](_0x3ab12f=>({'type':'class','label':_0x3ab12f})),_0x2aa50c=['above','absolute','activeborder','additive','activecaption','after-white-space','ahead','alias','all','all-scroll','alphabetic','alternate','always','antialiased','appworkspace','asterisks','attr','auto','auto-flow','avoid','avoid-column','avoid-page','avoid-region','axis-pan','background','backwards','baseline','below','bidi-override','blink','block','block-axis','bold','bolder','border','border-box','both','bottom','break','break-all','break-word','bullets','button','button-bevel','buttonface','buttonhighlight','buttonshadow','buttontext','calc','capitalize','caps-lock-indicator','caption','captiontext','caret','cell','center','checkbox','circle','cjk-decimal','clear','clip','close-quote','col-resize','collapse','color','color-burn','color-dodge','column','column-reverse','compact','condensed','contain','content','contents','content-box','context-menu','continuous','copy','counter','counters','cover','crop','cross','crosshair','currentcolor','cursive','cyclic','darken','dashed','decimal','decimal-leading-zero','default','default-button','dense','destination-atop','destination-in','destination-out','destination-over','difference','disc','discard','disclosure-closed','disclosure-open','document','dot-dash','dot-dot-dash','dotted','double','down','e-resize','ease','ease-in','ease-in-out','ease-out','element','ellipse','ellipsis','embed','end','ethiopic-abegede-gez','ethiopic-halehame-aa-er','ethiopic-halehame-gez','ew-resize','exclusion','expanded','extends','extra-condensed','extra-expanded','fantasy','fast','fill','fill-box','fixed','flat','flex','flex-end','flex-start','footnotes','forwards','from','geometricPrecision','graytext','grid','groove','hand','hard-light','help','hidden','hide','higher','highlight','highlighttext','horizontal','hsl','hsla','hue','icon','ignore','inactiveborder','inactivecaption','inactivecaptiontext','infinite','infobackground','infotext','inherit','initial','inline','inline-axis','inline-block','inline-flex','inline-grid','inline-table','inset','inside','intrinsic','invert','italic','justify','keep-all','landscape','large','larger','left','level','lighter','lighten','line-through','linear','linear-gradient','lines','list-item','listbox','listitem','local','logical','loud','lower','lower-hexadecimal','lower-latin','lower-norwegian','lowercase','ltr','luminosity','manipulation','match','matrix','matrix3d','medium','menu','menutext','message-box','middle','min-intrinsic','mix','monospace','move','multiple','multiple_mask_images','multiply','n-resize','narrower','ne-resize','nesw-resize','no-close-quote','no-drop','no-open-quote','no-repeat','none','normal','not-allowed','nowrap','ns-resize','numbers','numeric','nw-resize','nwse-resize','oblique','opacity','open-quote','optimizeLegibility','optimizeSpeed','outset','outside','outside-shape','overlay','overline','padding','padding-box','painted','page','paused','perspective','pinch-zoom','plus-darker','plus-lighter','pointer','polygon','portrait','pre','pre-line','pre-wrap','preserve-3d','progress','push-button','radial-gradient','radio','read-only','read-write','read-write-plaintext-only','rectangle','region','relative','repeat','repeating-linear-gradient','repeating-radial-gradient','repeat-x','repeat-y','reset','reverse','rgb','rgba','ridge','right','rotate','rotate3d','rotateX','rotateY','rotateZ','round','row','row-resize','row-reverse','rtl','run-in','running','s-resize','sans-serif','saturation','scale','scale3d','scaleX','scaleY','scaleZ','screen','scroll','scrollbar','scroll-position','se-resize','self-start','self-end','semi-condensed','semi-expanded','separate','serif','show','single','skew','skewX','skewY','skip-white-space','slide','slider-horizontal','slider-vertical','sliderthumb-horizontal','sliderthumb-vertical','slow','small','small-caps','small-caption','smaller','soft-light','solid','source-atop','source-in','source-out','source-over','space','space-around','space-between','space-evenly','spell-out','square','start','static','status-bar','stretch','stroke','stroke-box','sub','subpixel-antialiased','svg_masks','super','sw-resize','symbolic','symbols','system-ui','table','table-caption','table-cell','table-column','table-column-group','table-footer-group','table-header-group','table-row','table-row-group','text','text-bottom','text-top','textarea','textfield','thick','thin','threeddarkshadow','threedface','threedhighlight','threedlightshadow','threedshadow','to','top','transform','translate','translate3d','translateX','translateY','translateZ','transparent','ultra-condensed','ultra-expanded','underline','unidirectional-pan','unset','up','upper-latin','uppercase','url','var','vertical','vertical-text','view-box','visible','visibleFill','visiblePainted','visibleStroke','visual','w-resize','wait','wave','wider','window','windowframe','windowtext','words','wrap','wrap-reverse','x-large','x-small','xor','xx-large','xx-small']['map'](_0xf1a06d=>({'type':'keyword','label':_0xf1a06d}))['concat'](['aliceblue','antiquewhite','aqua','aquamarine','azure','beige','bisque','black','blanchedalmond','blue','blueviolet','brown','burlywood','cadetblue','chartreuse','chocolate','coral','cornflowerblue','cornsilk','crimson','cyan','darkblue','darkcyan','darkgoldenrod','darkgray','darkgreen','darkkhaki','darkmagenta','darkolivegreen','darkorange','darkorchid','darkred','darksalmon','darkseagreen','darkslateblue','darkslategray','darkturquoise','darkviolet','deeppink','deepskyblue','dimgray','dodgerblue','firebrick','floralwhite','forestgreen','fuchsia','gainsboro','ghostwhite','gold','goldenrod','gray','grey','green','greenyellow','honeydew','hotpink','indianred','indigo','ivory','khaki','lavender','lavenderblush','lawngreen','lemonchiffon','lightblue','lightcoral','lightcyan','lightgoldenrodyellow','lightgray','lightgreen','lightpink','lightsalmon','lightseagreen','lightskyblue','lightslategray','lightsteelblue','lightyellow','lime','limegreen','linen','magenta','maroon','mediumaquamarine','mediumblue','mediumorchid','mediumpurple','mediumseagreen','mediumslateblue','mediumspringgreen','mediumturquoise','mediumvioletred','midnightblue','mintcream','mistyrose','moccasin','navajowhite','navy','oldlace','olive','olivedrab','orange','orangered','orchid','palegoldenrod','palegreen','paleturquoise','palevioletred','papayawhip','peachpuff','peru','pink','plum','powderblue','purple','rebeccapurple','red','rosybrown','royalblue','saddlebrown','salmon','sandybrown','seagreen','seashell','sienna','silver','skyblue','slateblue','slategray','snow','springgreen','steelblue','tan','teal','thistle','tomato','turquoise','violet','wheat','white','whitesmoke','yellow','yellowgreen']['map'](_0x4d96bd=>({'type':'constant','label':_0x4d96bd}))),_0x3c2319=['a','abbr','address','article','aside','b','bdi','bdo','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','dd','del','details','dfn','dialog','div','dl','dt','em','figcaption','figure','footer','form','header','hgroup','h1','h2','h3','h4','h5','h6','hr','html','i','iframe','img','input','ins','kbd','label','legend','li','main','meter','nav','ol','output','p','pre','ruby','section','select','small','source','span','strong','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','tr','u','ul']['map'](_0x46ca5b=>({'type':'type','label':_0x46ca5b})),_0x2b2506=['@charset','@color-profile','@container','@counter-style','@font-face','@font-feature-values','@font-palette-values','@import','@keyframes','@layer','@media','@namespace','@page','@position-try','@property','@scope','@starting-style','@supports','@view-transition']['map'](_0x343fc3=>({'type':'keyword','label':_0x343fc3})),_0x5a2c24=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x35045b=/^-(-[\w-]*)?$/,_0x5e5f06=new _0x5ed99d(),_0x1d3326=['Declaration'];function _0x122393(_0x5814de){for(let _0x494d14=_0x5814de;;){if(_0x494d14['type']['isTop'])return _0x494d14;if(!(_0x494d14=_0x494d14['parent']))return _0x5814de;}}function _0xc486a6(_0x4ac7bb,_0x1844df,_0x57c9ca){if(_0x1844df['to']-_0x1844df['from']>0x1000){let _0x3c7bb0=_0x5e5f06['get'](_0x1844df);if(_0x3c7bb0)return _0x3c7bb0;let _0x3247b3=[],_0x6f5c0a=new Set(),_0x43532c=_0x1844df['cursor'](_0x2ad664['IncludeAnonymous']);if(_0x43532c['firstChild']())do{for(let _0xee7010 of _0xc486a6(_0x4ac7bb,_0x43532c['node'],_0x57c9ca))_0x6f5c0a['has'](_0xee7010['label'])||(_0x6f5c0a['add'](_0xee7010['label']),_0x3247b3['push'](_0xee7010));}while(_0x43532c['nextSibling']());return _0x5e5f06['set'](_0x1844df,_0x3247b3),_0x3247b3;}{let _0x309601=[],_0xb893c8=new Set();return _0x1844df['cursor']()['iterate'](_0x2d01b9=>{var _0x53940c;if(_0x57c9ca(_0x2d01b9)&&_0x2d01b9['matchContext'](_0x1d3326)&&':'==(null===(_0x53940c=_0x2d01b9['node']['nextSibling'])||void 0x0===_0x53940c?void 0x0:_0x53940c['name'])){let _0x171cb4=_0x4ac7bb['sliceString'](_0x2d01b9['from'],_0x2d01b9['to']);_0xb893c8['has'](_0x171cb4)||(_0xb893c8['add'](_0x171cb4),_0x309601['push']({'label':_0x171cb4,'type':'variable'}));}}),_0x309601;}}const _0xd5cfa8=_0x321780=>_0x1fe5bd=>{let {state:_0x4792df,pos:_0x453320}=_0x1fe5bd,_0x1ce5d0=_0x393d13(_0x4792df)['resolveInner'](_0x453320,-0x1),_0x50fadb=_0x1ce5d0['type']['isError']&&_0x1ce5d0['from']==_0x1ce5d0['to']-0x1&&'-'==_0x4792df['doc']['sliceString'](_0x1ce5d0['from'],_0x1ce5d0['to']);if('PropertyName'==_0x1ce5d0['name']||(_0x50fadb||'TagName'==_0x1ce5d0['name'])&&/^(Block|Styles)$/['test'](_0x1ce5d0['resolve'](_0x1ce5d0['to'])['name']))return{'from':_0x1ce5d0['from'],'options':_0x55e52b(),'validFor':_0x5a2c24};if('ValueName'==_0x1ce5d0['name'])return{'from':_0x1ce5d0['from'],'options':_0x2aa50c,'validFor':_0x5a2c24};if('PseudoClassName'==_0x1ce5d0['name'])return{'from':_0x1ce5d0['from'],'options':_0x37bdaa,'validFor':_0x5a2c24};if(_0x321780(_0x1ce5d0)||(_0x1fe5bd['explicit']||_0x50fadb)&&function(_0x239597,_0x188e58){var _0x21d0f1;if(('('==_0x239597['name']||_0x239597['type']['isError'])&&(_0x239597=_0x239597['parent']||_0x239597),'ArgList'!=_0x239597['name'])return!0x1;let _0x429e32=null===(_0x21d0f1=_0x239597['parent'])||void 0x0===_0x21d0f1?void 0x0:_0x21d0f1['firstChild'];return'Callee'==(null==_0x429e32?void 0x0:_0x429e32['name'])&&'var'==_0x188e58['sliceString'](_0x429e32['from'],_0x429e32['to']);}(_0x1ce5d0,_0x4792df['doc']))return{'from':_0x321780(_0x1ce5d0)||_0x50fadb?_0x1ce5d0['from']:_0x453320,'options':_0xc486a6(_0x4792df['doc'],_0x122393(_0x1ce5d0),_0x321780),'validFor':_0x35045b};if('TagName'==_0x1ce5d0['name']){for(let {parent:_0x22ce33}=_0x1ce5d0;_0x22ce33;_0x22ce33=_0x22ce33['parent'])if('Block'==_0x22ce33['name'])return{'from':_0x1ce5d0['from'],'options':_0x55e52b(),'validFor':_0x5a2c24};return{'from':_0x1ce5d0['from'],'options':_0x3c2319,'validFor':_0x5a2c24};}if('AtKeyword'==_0x1ce5d0['name'])return{'from':_0x1ce5d0['from'],'options':_0x2b2506,'validFor':_0x5a2c24};if(!_0x1fe5bd['explicit'])return null;let _0xe7f229=_0x1ce5d0['resolve'](_0x453320),_0x55d1dc=_0xe7f229['childBefore'](_0x453320);return _0x55d1dc&&':'==_0x55d1dc['name']&&'PseudoClassSelector'==_0xe7f229['name']?{'from':_0x453320,'options':_0x37bdaa,'validFor':_0x5a2c24}:_0x55d1dc&&':'==_0x55d1dc['name']&&'Declaration'==_0xe7f229['name']||'ArgList'==_0xe7f229['name']?{'from':_0x453320,'options':_0x2aa50c,'validFor':_0x5a2c24}:'Block'==_0xe7f229['name']||'Styles'==_0xe7f229['name']?{'from':_0x453320,'options':_0x55e52b(),'validFor':_0x5a2c24}:null;},_0x8675b0=_0xd5cfa8(_0x2759ca=>'VariableName'==_0x2759ca['name']),_0x5e6c5d=_0x3bb26c['define']({'name':'css','parser':_0x4cc422['configure']({'props':[_0x58ae01['add']({'Declaration':_0x488a7f()}),tj['add']({'Block\x20KeyframeList':_0x47e6ef})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),_0x252c5d=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000],_0x85a307=new _0x457ba3({'start':!0x1,'shift':(_0x42cf48,_0x107e57)=>0x5==_0x107e57||0x6==_0x107e57||0x140==_0x107e57?_0x42cf48:0x141==_0x107e57,'strict':!0x1}),_0x3a37ca=new _0x16fdd6((_0x37e03c,_0x173686)=>{let {next:_0x42ab09}=_0x37e03c;(0x7d==_0x42ab09||-0x1==_0x42ab09||_0x173686['context'])&&_0x37e03c['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),_0x27060b=new _0x16fdd6((_0x2761f4,_0x1455af)=>{let _0x39f9e8,{next:_0x520d12}=_0x2761f4;_0x252c5d['indexOf'](_0x520d12)>-0x1||(0x2f!=_0x520d12||0x2f!=(_0x39f9e8=_0x2761f4['peek'](0x1))&&0x2a!=_0x39f9e8)&&(0x7d==_0x520d12||0x3b==_0x520d12||-0x1==_0x520d12||_0x1455af['context']||_0x2761f4['acceptToken'](0x13c));},{'contextual':!0x0}),_0x3605bc=new _0x16fdd6((_0xb2dea,_0x233e6e)=>{0x5b!=_0xb2dea['next']||_0x233e6e['context']||_0xb2dea['acceptToken'](0x13d);},{'contextual':!0x0}),_0x4d0564=new _0x16fdd6((_0x3f7f07,_0x478189)=>{let {next:_0x39f505}=_0x3f7f07;if(0x2b==_0x39f505||0x2d==_0x39f505){if(_0x3f7f07['advance'](),_0x39f505==_0x3f7f07['next']){_0x3f7f07['advance']();let _0x475fd3=!_0x478189['context']&&_0x478189['canShift'](0x1);_0x3f7f07['acceptToken'](_0x475fd3?0x1:0x2);}}else 0x3f==_0x39f505&&0x2e==_0x3f7f07['peek'](0x1)&&(_0x3f7f07['advance'](),_0x3f7f07['advance'](),(_0x3f7f07['next']<0x30||_0x3f7f07['next']>0x39)&&_0x3f7f07['acceptToken'](0x3));},{'contextual':!0x0});function _0x17325a(_0x52078c,_0x4bca58){return _0x52078c>=0x41&&_0x52078c<=0x5a||_0x52078c>=0x61&&_0x52078c<=0x7a||0x5f==_0x52078c||_0x52078c>=0xc0||!_0x4bca58&&_0x52078c>=0x30&&_0x52078c<=0x39;}const _0x4a0f98=new _0x16fdd6((_0x491d7a,_0x557208)=>{if(0x3c!=_0x491d7a['next']||!_0x557208['dialectEnabled'](0x0))return;if(_0x491d7a['advance'](),0x2f==_0x491d7a['next'])return;let _0x426628=0x0;for(;_0x252c5d['indexOf'](_0x491d7a['next'])>-0x1;)_0x491d7a['advance'](),_0x426628++;if(_0x17325a(_0x491d7a['next'],!0x0)){for(_0x491d7a['advance'](),_0x426628++;_0x17325a(_0x491d7a['next'],!0x1);)_0x491d7a['advance'](),_0x426628++;for(;_0x252c5d['indexOf'](_0x491d7a['next'])>-0x1;)_0x491d7a['advance'](),_0x426628++;if(0x2c==_0x491d7a['next'])return;for(let _0x1f3233=0x0;;_0x1f3233++){if(0x7==_0x1f3233){if(!_0x17325a(_0x491d7a['next'],!0x0))return;break;}if(_0x491d7a['next']!='extends'['charCodeAt'](_0x1f3233))break;_0x491d7a['advance'](),_0x426628++;}}_0x491d7a['acceptToken'](0x4,-_0x426628);}),_0x1aed43=_0xe89f13({'get\x20set\x20async\x20static':_0x1f4598['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':_0x1f4598['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':_0x1f4598['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':_0x1f4598['definitionKeyword'],'import\x20export\x20from':_0x1f4598['moduleKeyword'],'with\x20debugger\x20new':_0x1f4598['keyword'],'TemplateString':_0x1f4598['special'](_0x1f4598['string']),'super':_0x1f4598['atom'],'BooleanLiteral':_0x1f4598['bool'],'this':_0x1f4598['self'],'null':_0x1f4598['null'],'Star':_0x1f4598['modifier'],'VariableName':_0x1f4598['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':_0x1f4598['function'](_0x1f4598['variableName']),'VariableDefinition':_0x1f4598['definition'](_0x1f4598['variableName']),'Label':_0x1f4598['labelName'],'PropertyName':_0x1f4598['propertyName'],'PrivatePropertyName':_0x1f4598['special'](_0x1f4598['propertyName']),'CallExpression/MemberExpression/PropertyName':_0x1f4598['function'](_0x1f4598['propertyName']),'FunctionDeclaration/VariableDefinition':_0x1f4598['function'](_0x1f4598['definition'](_0x1f4598['variableName'])),'ClassDeclaration/VariableDefinition':_0x1f4598['definition'](_0x1f4598['className']),'NewExpression/VariableName':_0x1f4598['className'],'PropertyDefinition':_0x1f4598['definition'](_0x1f4598['propertyName']),'PrivatePropertyDefinition':_0x1f4598['definition'](_0x1f4598['special'](_0x1f4598['propertyName'])),'UpdateOp':_0x1f4598['updateOperator'],'LineComment\x20Hashbang':_0x1f4598['lineComment'],'BlockComment':_0x1f4598['blockComment'],'Number':_0x1f4598['number'],'String':_0x1f4598['string'],'Escape':_0x1f4598['escape'],'ArithOp':_0x1f4598['arithmeticOperator'],'LogicOp':_0x1f4598['logicOperator'],'BitOp':_0x1f4598['bitwiseOperator'],'CompareOp':_0x1f4598['compareOperator'],'RegExp':_0x1f4598['regexp'],'Equals':_0x1f4598['definitionOperator'],'Arrow':_0x1f4598['function'](_0x1f4598['punctuation']),':\x20Spread':_0x1f4598['punctuation'],'(\x20)':_0x1f4598['paren'],'[\x20]':_0x1f4598['squareBracket'],'{\x20}':_0x1f4598['brace'],'InterpolationStart\x20InterpolationEnd':_0x1f4598['special'](_0x1f4598['brace']),'.':_0x1f4598['derefOperator'],',\x20;':_0x1f4598['separator'],'@':_0x1f4598['meta'],'TypeName':_0x1f4598['typeName'],'TypeDefinition':_0x1f4598['definition'](_0x1f4598['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':_0x1f4598['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':_0x1f4598['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':_0x1f4598['operatorKeyword'],'JSXAttributeValue':_0x1f4598['attributeValue'],'JSXText':_0x1f4598['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':_0x1f4598['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':_0x1f4598['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':_0x1f4598['attributeName'],'JSXBuiltin/JSXIdentifier':_0x1f4598['standard'](_0x1f4598['tagName'])}),_0x2b7c0b={'__proto__':null,'export':0x14,'as':0x19,'from':0x21,'default':0x24,'async':0x29,'function':0x2a,'in':0x34,'out':0x37,'const':0x38,'extends':0x3c,'this':0x40,'true':0x48,'false':0x48,'null':0x54,'void':0x58,'typeof':0x5c,'super':0x6c,'new':0x8e,'delete':0x9a,'yield':0xa3,'await':0xa7,'class':0xac,'public':0xeb,'private':0xeb,'protected':0xeb,'readonly':0xed,'instanceof':0x100,'satisfies':0x103,'import':0x124,'keyof':0x15d,'unique':0x161,'infer':0x167,'asserts':0x18b,'is':0x18d,'abstract':0x1a1,'implements':0x1a3,'type':0x1a5,'let':0x1a8,'var':0x1aa,'using':0x1ad,'interface':0x1b3,'enum':0x1b7,'namespace':0x1bd,'module':0x1bf,'declare':0x1c3,'global':0x1c7,'defer':0x1d7,'for':0x1dc,'of':0x1e5,'while':0x1e8,'with':0x1ec,'do':0x1f0,'if':0x1f4,'else':0x1f6,'switch':0x1fa,'case':0x200,'try':0x206,'catch':0x20a,'finally':0x20e,'return':0x212,'throw':0x216,'break':0x21a,'continue':0x21e,'debugger':0x222},_0x51895b={'__proto__':null,'async':0x81,'get':0x83,'set':0x85,'declare':0xc3,'public':0xc5,'private':0xc5,'protected':0xc5,'static':0xc7,'abstract':0xc9,'override':0xcb,'readonly':0xd1,'accessor':0xd3,'new':0x191},_0x1a4dd6={'__proto__':null,'<':0xc1},_0x5c6668=_0x4d2d2d['deserialize']({'version':0xe,'states':'$F|Q%TQlOOO%[QlOOO\x27_QpOOP(lO`OOO*zQ!0MxO\x27#CiO+RO#tO\x27#CjO+aO&jO\x27#CjO+oO#@ItO\x27#DaO.QQlO\x27#DgO.bQlO\x27#DrO%[QlO\x27#DzO0fQlO\x27#ESOOQ!0Lf\x27#E[\x27#E[O1PQ`O\x27#EXOOQO\x27#Ep\x27#EpOOQO\x27#Il\x27#IlO1XQ`O\x27#GsO1dQ`O\x27#EoO1iQ`O\x27#EoO3hQ!0MxO\x27#JrO6[Q!0MxO\x27#JsO6uQ`O\x27#F]O6zQ,UO\x27#FtOOQ!0Lf\x27#Ff\x27#FfO7VO7dO\x27#FfO9XQMhO\x27#F|O9`Q`O\x27#F{OOQ!0Lf\x27#Js\x27#JsOOQ!0Lb\x27#Jr\x27#JrO9eQ`O\x27#GwOOQ[\x27#K_\x27#K_O9pQ`O\x27#IYO9uQ!0LrO\x27#IZOOQ[\x27#J`\x27#J`OOQ[\x27#I_\x27#I_Q`QlOOQ`QlOOO9}Q!L^O\x27#DvO:UQlO\x27#EOO:]QlO\x27#EQO9kQ`O\x27#GsO:dQMhO\x27#CoO:rQ`O\x27#EnO:}Q`O\x27#EyO;hQMhO\x27#FeO;xQ`O\x27#GsOOQO\x27#K`\x27#K`O;}Q`O\x27#K`O<]Q`O\x27#G{O<]Q`O\x27#G|O<]Q`O\x27#HOO9kQ`O\x27#HRO=SQ`O\x27#HUO>kQ`O\x27#CeO>{Q`O\x27#HcO?TQ`O\x27#HiO?TQ`O\x27#HkO`QlO\x27#HmO?TQ`O\x27#HoO?TQ`O\x27#HrO?YQ`O\x27#HxO?_Q!0LsO\x27#IOO%[QlO\x27#IQO?jQ!0LsO\x27#ISO?uQ!0LsO\x27#IUO9uQ!0LrO\x27#IWO@QQ!0MxO\x27#CiOASQpO\x27#DlQOQ`OOO%[QlO\x27#EQOAjQ`O\x27#ETO:dQMhO\x27#EnOAuQ`O\x27#EnOBQQ!bO\x27#FeOOQ[\x27#Cg\x27#CgOOQ!0Lb\x27#Dq\x27#DqOOQ!0Lb\x27#Jv\x27#JvO%[QlO\x27#JvOOQO\x27#Jy\x27#JyOOQO\x27#Ih\x27#IhOCQQpO\x27#EgOOQ!0Lb\x27#Ef\x27#EfOOQ!0Lb\x27#J}\x27#J}OC|Q!0MSO\x27#EgODWQpO\x27#EWOOQO\x27#Jx\x27#JxODlQpO\x27#JyOEyQpO\x27#EWODWQpO\x27#EgPFWO&2DjO\x27#CbPOOO)CD})CD}OOOO\x27#I`\x27#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO\x27#Ia\x27#IaOFqO&jO,59UOGPQ!L^O\x27#DcOOOO\x27#Ic\x27#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO\x27#IdOGyQ`O\x27#JtOIxQ!fO\x27#JtO+}QlO\x27#JtOJPQ`O,5:ROJgQ`O\x27#EpOJtQ`O\x27#KTOKPQ`O\x27#KSOKPQ`O\x27#KSOKXQ`O,5;^OK^Q`O\x27#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO\x27#KQONtQ`O\x27#KPO9eQ`O\x27#KPO!\x20YQ`O\x27#KPO!\x20bQ`O,5;]O!\x20gQ`O\x27#KPO!#lQ!fO\x27#JsOOQ!0Lh\x27#Ci\x27#CiO%[QlO\x27#ESO!$[Q!fO,5:sOOQS\x27#Jz\x27#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO\x27#EkO!(eQ`O,5;ZO!(jQlO\x27#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ[\x27#FT\x27#FTOOQ[\x27#FV\x27#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ[\x27#FZ\x27#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO\x27#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO\x27#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO\x27#FjO!.rQ,UO\x27#KXO!.^Q,UO\x27#KXO!.yQ,UO\x27#KXOOQO\x27#KX\x27#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO\x27#FvOOOW\x27#Io\x27#IoO7VO7dO,5<QO!/wQ,UO\x27#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO\x27#CyOOQ!0Lh\x27#C}\x27#C}O!0{O#@ItO\x27#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO\x27#GXO!3jQ`O\x27#GYO!3oQ`O\x27#GYO!5_Q(CWO\x27#G^O!6dQpO\x27#GbOOQO\x27#Gn\x27#GnO!,TQMhO\x27#GmOOQO\x27#Gp\x27#GpO!,TQMhO\x27#GoO!7VQ$IUO\x27#JlOOQ!0Lh\x27#Jl\x27#JlO!7aQ`O\x27#JkO!7oQ`O\x27#JjO!7wQ`O\x27#CuOOQ!0Lh\x27#C{\x27#C{O!8YQ`O\x27#C}OOQ!0Lh\x27#DV\x27#DVOOQ!0Lh\x27#DX\x27#DXO!8_Q`O,5<eO1SQ`O\x27#DZO!,TQMhO\x27#GPO!,TQMhO\x27#GRO!8gQ`O\x27#GTO!8lQ`O\x27#GUO!3oQ`O\x27#G[O!,TQMhO\x27#GaO<]Q`O\x27#JkO!8qQ`O\x27#EqO!9`Q`O,5<gOOQ!0Lb\x27#Cr\x27#CrO!9hQ`O\x27#ErO!:bQpO\x27#EsOOQ!0Lb\x27#KR\x27#KRO!:iQ!0LrO\x27#KaO9uQ!0LrO,5=cO`QlO,5>tOOQ[\x27#Jh\x27#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!<hQ!0MxO,5:bO!:]QpO,5:`O!?RQ!0MxO,5:jO%[QlO,5:jO!AiQ!0MxO,5:lOOQO,5@z,5@zO!BYQMhO,5=_O!BhQ!0LrO\x27#JiO9`Q`O\x27#JiO!ByQ!0LrO,59ZO!CUQpO,59ZO!C^QMhO,59ZO:dQMhO,59ZO!CiQ`O,5;ZO!CqQ`O\x27#HbO!DVQ`O\x27#KdO%[QlO,5;}O!:]QpO,5<PO!D_Q`O,5=zO!DdQ`O,5=zO!DiQ`O,5=zO!DwQ`O,5=zO9uQ!0LrO,5=zO<]Q`O,5=jOOQO\x27#Cy\x27#CyO!EOQpO,5=gO!EWQMhO,5=hO!EcQ`O,5=jO!EhQ!bO,5=mO!EpQ`O\x27#K`O?YQ`O\x27#HWO9kQ`O\x27#HYO!EuQ`O\x27#HYO:dQMhO\x27#H[O!EzQ`O\x27#H[OOQ[,5=p,5=pO!FPQ`O\x27#H]O!FbQ`O\x27#CoO!FgQ`O,59PO!FqQ`O,59PO!HvQlO,59POOQ[,59P,59PO!IWQ!0LrO,59PO%[QlO,59PO!KcQlO\x27#HeOOQ[\x27#Hf\x27#HfOOQ[\x27#Hg\x27#HgO`QlO,5=}O!KyQ`O,5=}O`QlO,5>TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO\x27#D_O%[QlO\x27#JvO##sQpO\x27#JvO##}QpO\x27#DmO#$`QpO\x27#DmO#&qQlO\x27#DmO#&xQ`O\x27#JuO#\x27QQ`O,5:WO#\x27VQ`O\x27#EtO#\x27eQ`O\x27#KUO#\x27mQ`O,5;_O#\x27rQpO\x27#DmO#(PQpO\x27#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-E<f-E<fO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!ByQ!0LrO,5:rOOQ!0Lb\x27#Ej\x27#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CUQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO\x27#I^\x27#I^P#+RO&2DjO,58|POOO,58|,58|OOOO-E<^-E<^OOQ!0Lh1G.p1G.pOOOO-E<_-E<_OOOO,59},59}O#+^Q!bO,59}OOOO-E<a-E<aOOQ!0Lf1G/g1G/gO#+cQ!fO,5?OO+}QlO,5?OOOQO,5?U,5?UO#+mQlO\x27#IdOOQO-E<b-E<bO#+zQ`O,5@`O#,SQ!fO,5@`O#,ZQ`O,5@nOOQ!0Lf1G/m1G/mO%[QlO,5@oO#,cQ`O\x27#IjOOQO-E<h-E<hO#,ZQ`O,5@nOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@lO#,wQ!0LrO,5@lO#-YQ!0LrO,5@lO#-aQ`O,5@kO9eQ`O,5@kO#-iQ`O,5@kO#-wQ`O\x27#ImO#-aQ`O,5@kOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2yO9kQ`O1G2yOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh\x27#GW\x27#GWO#0rQ!0MzO\x27#JlO!$wQlO1G0uO#2}Q!fO\x27#JwO%[QlO\x27#JwO#3XQ`O,5:eOOQ!0Lh\x27#D_\x27#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#3^Q`O1G1OO#5rQ!0MxO1G1PO#5yQ!0MxO1G1PO#8aQ!0MxO1G1PO#8hQ!0MxO1G1PO#;OQ!0MxO1G1PO#=fQ!0MxO1G1PO#=mQ!0MxO1G1PO#=tQ!0MxO1G1PO#@[Q!0MxO1G1PO#@cQ!0MxO1G1PO#BpQ?MtO\x27#CiO#DkQ?MtO1G1`O#DrQ?MtO\x27#JsO#EVQ!0MxO,5?[OOQ!0Lb-E<n-E<nO#GdQ!0MxO1G1PO#HaQ!0MzO1G1POOQ!0Lf1G1P1G1PO#IdQMjO\x27#J|O#InQ`O,5:xO#IsQ!0MxO1G1cO#JgQ,UO,5<WO#JoQ,UO,5<XO#JwQ,UO\x27#FoO#K`Q`O\x27#FnOOQO\x27#KY\x27#KYOOQO\x27#In\x27#InO#KeQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#KvQ?MtO\x27#JrO#LQQ`O,5<bO!)[QlO,5<bOOOW-E<m-E<mOOQ!0Lf1G1l1G1lO#LVQpO\x27#KXOOQ!0Lf,5<d,5<dO#L_QpO,5<dO#LdQMhO\x27#DTOOOO\x27#Ib\x27#IbO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8lQ`O\x27#IrO#LvQ`O,5<zOOQ!0Lh,5<w,5<wO!,TQMhO\x27#IuO#MdQMjO,5=XO!,TQMhO\x27#IwO#NVQMjO,5=ZO!&zQMhO,5=]OOQO1G2S1G2SO#NaQ!dO\x27#CrO#NtQ(CWO\x27#ErO$\x20|QpO\x27#GbO$!dQ!dO,5<sO$!kQ`O\x27#K[O9eQ`O\x27#K[O$!yQ`O,5<uO$#aQ!dO\x27#C{O!,TQMhO,5<tO$#kQ`O\x27#GZO$$PQ`O,5<tO$$UQ!dO\x27#GWO$$cQ!dO\x27#K]O$$mQ`O\x27#K]O!&zQMhO\x27#K]O$$rQ`O,5<xO$$wQlO\x27#JvO$%RQpO\x27#GcO#$`QpO\x27#GcO$%dQ`O\x27#GgO!3oQ`O\x27#GkO$%iQ!0LrO\x27#ItO$%tQpO,5<|OOQ!0Lp,5<|,5<|O$%{QpO\x27#GcO$&YQpO\x27#GdO$&kQpO\x27#GdO$&pQMjO,5=XO$\x27QQMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$\x27bQ`O\x27#IyO$\x27vQ`O,5@UO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@VO$)TQ$IYO,59uOOQ!0Lh\x27#Jp\x27#JpO$)vQMjO,5<kO$*iQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*sQ`O,5<vO$*xQMjO,5<{O$+YQ`O\x27#KPO!$wQlO1G2RO$+_Q`O1G2RO9eQ`O\x27#KSO9eQ`O\x27#EtO%[QlO\x27#EtO9eQ`O\x27#I{O$+dQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-fQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$/jQMhO\x27#EkOOQ!0Lb,5@T,5@TO$/wQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$0YQ`O1G0uO$0_Q`O\x27#CiO$0jQ`O\x27#KeO$0rQ`O,5=|O$0wQ`O\x27#KeO$0|Q`O\x27#KeO$1[Q`O\x27#JRO$1jQ`O,5AOO$1rQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1yQ`O1G3fO$2OQ`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$2TQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$2YQ`O1G3SO$2bQpO\x27#HQOOQ[1G3U1G3UO!6_QpO\x27#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$2jQMhO,5=tO9kQ`O,5=tO$%dQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2xQ`O\x27#KcO$3TQ`O,5=wOOQ[1G.k1G.kO$3YQ!0LrO1G.kO@zQ`O1G.kO$3eQ`O1G.kO9uQ!0LrO1G.kO$5mQ!fO,5AQO$5zQ`O,5AQO9eQ`O,5AQO$6VQlO,5>PO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO\x27#HtOOQ[1G3x1G3xO$:tQ`O\x27#HzO?YQ`O\x27#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb\x27#G_\x27#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO\x27#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO\x27#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO\x27#Ig\x27#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5<iO$BOQ!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$BYQ`O1G5zO$BbQ`O1G6YO$BjQ!fO1G6ZO9eQ`O,5?UO$BtQ!0MxO1G6WO%[QlO1G6WO$CUQ!0LrO1G6WO$CgQ`O1G6VO$CgQ`O1G6VO9eQ`O1G6VO$CoQ`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$DTQ`O,5?XO$+YQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$DcQ`O7+(eO$DnQMhO7+(eO$D|Q!0MzO,5=XO$GXQ!0MzO,5=ZO$IdQ!0MzO,5=XO$KuQ!0MzO,5=ZO$NWQ!0MzO,59uO%!]Q!0MzO,5<kO%$hQ!0MzO,5<mO%&sQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%)UQ!0MxO7+&aO%)xQlO\x27#IfO%*VQ`O,5@cO%*_Q!fO,5@cOOQ!0Lf1G0P1G0PO%*iQ`O7+&jOOQ!0Lf7+&j7+&jO%*nQ?MtO,5:fO%[QlO7+&zO%*xQ?MtO,5:bO%+VQ?MtO,5:jO%+aQ?MtO,5:lO%+kQMhO\x27#IiO%+uQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+}Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+\x27Y7+\x27YOOOW7+\x27e7+\x27eOOOW1G1|1G1|O%,YQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%,_Q!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%,fQ!0MxO7+\x27kOOQ!0Lh,5?^,5?^O%-YQMhO1G2fP%-aQ`O\x27#IrPOQ!0Lh-E<p-E<pO%-}QMjO,5?aOOQ!0Lh-E<s-E<sO%.pQMjO,5?cOOQ!0Lh-E<u-E<uO%.zQ!dO1G2wO%/RQ!dO\x27#CrO%/iQMhO\x27#KSO$$wQlO\x27#JvOOQ!0Lh1G2_1G2_O%/sQ`O\x27#IqO%0[Q`O,5@vO%0[Q`O,5@vO%0dQ`O,5@vO%0oQ`O,5@vOOQO1G2a1G2aO%0}QMjO1G2`O$+YQ`O\x27#K[O!,TQMhO1G2`O%1_Q(CWO\x27#IsO%1lQ`O,5@wO!&zQMhO,5@wO%1tQ!dO,5@wOOQ!0Lh1G2d1G2dO%4UQ!fO\x27#CiO%4`Q`O,5=POOQ!0Lb,5<},5<}O%4hQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%4sQpO,5<}OOQ!0Lb,5=R,5=RO$+YQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$wQlO,5=PO%5RQ`O,5=OO%5^QpO,5=OO!,TQMhO\x27#IuO%6WQMjO1G2sO!,TQMhO\x27#IwO%6yQMjO1G2uO%7TQMjO1G5qO%7_QMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%7lQ`O1G2ZO!,TQMhO1G2bO%7qQ!0MxO7+\x27mOOQ!0Lf7+\x27m7+\x27mO!$wQlO7+\x27mO%8eQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%8jQ!dO\x27#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$DfQ`O7+(eO%8tQ!0MvO\x27#CiO%9XQ!0MvO,5=SO%9lQ`O,5=SO%9tQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9yQ`O\x27#JQO%:bQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%:bQ`O,5APO%:jQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+\x27T7+\x27TO%:oQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:tQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:yQ!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%;TQ`O\x27#KbO%;`Q`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<rQpO\x27#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<yQ`O1G3`O%=UQMhO1G3`O9uQ!0LrO1G3bO$%dQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%=dQ`O\x27#JPO%=xQ`O,5@}O%>QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ[\x27#Kh\x27#KhOOQ[\x27#JS\x27#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO\x27#HuO%?^Q`O\x27#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO\x27#DmOOQO,5?P,5?POOQO-E<c-E<cOOQO,5?V,5?VOOQO-E<i-E<iO!CUQpO1G/sOOQO-E<e-E<eOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CUQpO7+&`OOQO7+%x7+%xO$AlQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@nQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@yQ!0LrO7+&XO%AXQ!0MxO7++rO%[QlO7++rO%AiQ`O7++qO%AiQ`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AqQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%BPQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%BXQ`O<<LPO%BdQ!0MzO,5?aO%DoQ!0MzO,5?cO%FzQ!0MzO1G2`O%I]Q!0MzO1G2sO%KhQ!0MzO1G2uO%MsQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%M}Q`O1G5}OOQ!0Lf<<JU<<JUO%NVQ?MtO1G0uO&!^Q?MtO1G1PO&!eQ?MtO1G1PO&$fQ?MtO1G1PO&$mQ?MtO1G1PO&&nQ?MtO1G1PO&(oQ?MtO1G1PO&(vQ?MtO1G1PO&(}Q?MtO1G1PO&+OQ?MtO1G1PO&+VQ?MtO1G1PO&+^Q!0MxO<<JfO&-UQ?MtO1G1PO&.RQ?MvO1G1PO&/UQ?MvO\x27#JlO&1[Q?MtO1G1cO&1iQ?MtO1G0UO&1sQMjO,5?TOOQO-E<g-E<gO!)[QlO\x27#FqOOQO\x27#KZ\x27#KZOOQO1G1u1G1uO&1}Q`O1G1tO&2SQ?MtO,5?[OOOW7+\x27h7+\x27hOOOO1G/Z1G/ZO&2^Q!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&2eQ`O,5?]O9eQ`O,5?]O$+YQ`O,5?]OOQO-E<o-E<oO&2sQ`O1G6bO&2sQ`O1G6bO&2{Q`O1G6bO&3WQMjO7+\x27zO&3hQ!dO,5?_O&3rQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3wQ!dO1G6cO&4RQ`O1G6cO&4ZQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%4hQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&4`QpO1G2iO&4nQ`O1G2kO$+YQ`O1G2jOCwQ`O1G2jO$$wQlO1G2kO&4vQ`O1G2jO&5jQMjO,5?aOOQ!0Lh-E<t-E<tO&6]QMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&6gQMjO7++]O&6qQMjO7++]OOQ!0Lh1G/c1G/cO&7OQ`O1G/cOOQ!0Lh7+\x27u7+\x27uO&7TQMjO7+\x27|O&7eQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&8XQ`O1G0zO!&zQMhO\x27#IzO&8^Q`O,5@xO&:`Q!fO<<LPO!&zQMhO1G2nO&:gQ!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:xQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;lQ`O,5?lO&;qQ`O,5?lOOQO-E=O-E=OO&<PQ`O1G6kO&<PQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&<XQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:yQ!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&<^QpO\x27#I|O&<iQ`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO\x27#JO\x27#JOO9uQ!0LrO\x27#JOO&<qQpO,5=uOOQ[,5=u,5=uO&<xQpO\x27#EgO&=PQpO\x27#GeO&=UQ`O7+(zO&=ZQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&=cQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$%dQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=nQ`O,5?kOOQO-E<}-E<}OOQO\x27#H^\x27#H^O&=yQ`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>RQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AlQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&?SQ!0LrO<<IsO&?_Q!0MxO<=\x20^O&?oQ`O<=\x20]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?wQ!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&@OQ`OANAkO%[QlOANAkO&@WQ!0MzO7+\x27zO&BiQ!0MzO,5?aO&DtQ!0MzO,5?cO&GPQ!0MzO7+\x27|O&IbQ!fO1G4lO&IlQ?MtO7+&aO&KpQ?MvO,5=XO&MwQ?MvO,5=ZO&NXQ?MvO,5=XO&NiQ?MvO,5=ZO&NyQ?MvO,59uO\x27#PQ?MvO,5<kO\x27%SQ?MvO,5<mO\x27\x27hQ?MvO,5<{O\x27)^Q?MtO7+\x27kO\x27)kQ?MtO7+\x27mO\x27)xQ`O,5<]OOQO7+\x27`7+\x27`OOQ!0Lh7+*d7+*dO\x27)}QMjO<<K}OOQO1G4w1G4wO\x27*UQ`O1G4wO\x27*aQ`O1G4wO\x27*oQ`O7++|O\x27*oQ`O7++|O!&zQMhO1G4yO\x27*wQ!dO1G4yO\x27+RQ`O7++}O\x27+ZQ`O7+(VO\x27+fQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO\x27+pQ`O7+(VO!&zQMhO7+(VO$+YQ`O7+(UO\x27+uQ`O7+(VOCwQ`O7+(UO\x27+}QMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O\x27,XQ!dO,5?fOOQO-E<x-E<xO\x27,cQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO1G5W1G5WO\x27,sQ`O1G5WO\x27,xQ`O7+,VO\x27,xQ`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO\x27-QQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO\x27-VQ`O,5?hOOQO-E<z-E<zO\x27-bQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO\x27-lQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&=UQ`O<<LfO\x27-qQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$%dQ`O<<LhO9`Q`O<<LhO\x27-yQpO1G5VO\x27.UQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<=\x20r<=\x20rOOQ[<=\x20s<=\x20sO\x27.^Q`O<=\x20rO\x27.cQ`O<=\x20sOOQ[<<Lq<<LqO\x27.hQ`O<<LqO\x27.mQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO\x27.tQ`O<<JQO\x27/PQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AlQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO\x27/ZQ!fOG27VO4UQ!fOG27VO\x27/bQ`OG27VO\x27/jQ?MtO<<JfO\x27/wQ?MvO1G2`O\x271mQ?MvO,5?aO\x273pQ?MvO,5?cO\x275sQ?MvO1G2sO\x277vQ?MvO1G2uO\x279yQ?MtO<<KXO\x27:WQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO\x27:eQ`O7+*cO\x27:pQ`O<=\x20hO\x27:xQ!dO7+*eOOQ!0Lb<<Kq<<KqO$+YQ`O<<KqOCwQ`O<<KqO\x27;SQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO\x27;_Q!dO<<KqOOQ!0Lb<<Kp<<KpO\x27;iQ`O<<KqO!&zQMhO<<KqO$+YQ`O<<KpO\x27;nQMjOANDcO\x27;xQ!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO\x27<YQ`O<=\x20qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO\x27<bQ`O7+,SO\x27<jQ`O1G2kO&=UQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO\x27<oQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$%dQ`OANBSOOQO\x27#H_\x27#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O\x27<wQ`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$AlQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO\x27<|Q!fOLD,qO\x27=TQ?MvO7+\x27zO\x27>yQ?MvO,5?aO\x27@|Q?MvO,5?cO\x27CPQ?MvO7+\x27|O\x27DuQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$+YQ`OANA]OCwQ`OANA]O\x27EVQ!dOANA]OOQ!0LbANAZANAZO\x27E^Q`OANA]O!&zQMhOANA]O\x27EiQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O\x27EsQ?MtO7+*nOOQO\x27#Gf\x27#GfOOQ[G27lG27lO&=UQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO\x27E}Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O\x27FXQ!0MzOG27TOOQ!0LbG26wG26wO$+YQ`OG26wO\x27HjQ`OG26wOCwQ`OG26wO\x27HuQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&=UQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$+YQ`OLD,cOCwQ`OLD,cO\x27H|Q`OLD,cO\x27IXQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO\x27I`Q?MvOG27TOOQ!0Lb!$(\x20}!$(\x20}O$+YQ`O!$(\x20}OCwQ`O!$(\x20}O\x27KUQ`O!$(\x20}OOQ!0Lb!)9Ei!)9EiO$+YQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$+YQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO\x27#DzO1PQ`O\x27#EXO\x27KaQ!fO\x27#JrO\x27KhQ!L^O\x27#DvO\x27KoQlO\x27#EOO\x27KvQ!fO\x27#CiO\x27N^Q!fO\x27#CiO!)[QlO\x27#EQO\x27NnQlO,5;ZO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO\x27#IpO(!qQ`O,5<iO!)[QlO,5;eO(!yQMhO,5;eO($dQMhO,5;eO!)[QlO,5;wO!&zQMhO\x27#GmO(!yQMhO\x27#GmO!&zQMhO\x27#GoO(!yQMhO\x27#GoO1SQ`O\x27#DZO1SQ`O\x27#DZO!&zQMhO\x27#GPO(!yQMhO\x27#GPO!&zQMhO\x27#GRO(!yQMhO\x27#GRO!&zQMhO\x27#GaO(!yQMhO\x27#GaO!)[QlO,5:jO($kQpO\x27#D_O($uQpO\x27#JvO!)[QlO,5@oO\x27NnQlO1G0uO(%PQ?MtO\x27#CiO!)[QlO1G2PO!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO(%ZQ!dO\x27#CrO!&zQMhO,5<tO(!yQMhO,5<tO\x27NnQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!yQMhO1G2`O!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO!&zQMhO1G2bO(!yQMhO1G2bO\x27NnQlO7+\x27mO\x27NnQlO7+&aO!&zQMhOANAiO(!yQMhOANAiO(%nQ`O\x27#EoO(%sQ`O\x27#EoO(%{Q`O\x27#F]O(&QQ`O\x27#EyO(&VQ`O\x27#KTO(&bQ`O\x27#KRO(&mQ`O,5;ZO(&rQMjO,5<eO(&yQ`O\x27#GYO(\x27OQ`O\x27#GYO(\x27TQ`O,5<eO(\x27]Q`O,5<gO(\x27eQ`O,5;ZO(\x27mQ?MtO1G1`O(\x27tQ`O,5<tO(\x27yQ`O,5<tO((OQ`O,5<vO((TQ`O,5<vO((YQ`O1G2RO((_Q`O1G0uO((dQMjO<<K}O((kQMjO<<K}O((rQMhO\x27#F|O9`Q`O\x27#F{OAuQ`O\x27#EnO!)[QlO,5;tO!3oQ`O\x27#GYO!3oQ`O\x27#GYO!3oQ`O\x27#G[O!3oQ`O\x27#G[O!,TQMhO7+(cO!,TQMhO7+(cO%.zQ!dO1G2wO%.zQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]','stateData':'()x~O\x27|OS\x27}OSTOS(ORQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&W!WO&^!XO&`!YO&b!ZO&d![O&g!]O&m!^O&s!_O&u!`O&w!aO&y!bO&{!cO(TSO(VTO(YUO(aVO(o[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O(O!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X\x27z]X(a]X(r]X(y]X(z]X~O!g%RX~P(qO_!}O(V#PO(W!}O(X#PO~O_#QO(X#PO(Y#PO(Z#QO~Ox#SO!U#TO(b#TO(c#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T<ZO(VTO(YUO(aVO(o[O~O![#ZO!]#WO!Y(hP!Y(vP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(VTO(YUO(aVO(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX\x27z(fX\x27w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX\x27z(gX\x27w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO\x27z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO\x27x&{O\x27z%nO~Oa%nO\x27x\x27OO\x27z%nO~Oa%nO\x27x\x27QO\x27z%nO~O\x27w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b\x27_O!c\x27WO!d\x27WO(U!lO(VTO(YUO~Os\x27UO!S\x27TO![\x27XO(e\x27SO!^(iP!^(xP~P@nOn\x27bO!_\x27`O(T%gO~Oe\x27gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b\x27mO!c\x27lO!d\x27lO#V!pO#[\x27nO#]\x27nO~PBYOa%nOh%VO!g#vO!l%eO\x27z%nO(r\x27pO~O!p\x27tO#`\x27rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c\x27lO!d\x27lO(U!lO~PDWO(P\x27xO(Q\x27xO(R\x27zO~O_!}O(V\x27|O(W!}O(X\x27|O~O_#QO(X\x27|O(Y\x27|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y\x27WX!Y\x27^X!]\x27WX!]\x27^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na\x27z!na\x27w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r\x27pO!](tXa(tX\x27z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P!\x20uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa\x27z$qa\x27w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX\x27y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO\x27y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O![*^O(T*XO!k)OP~P!1uO#k*aO~O!l*bO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T*dO(VTO(YUO(a$uO(y$}O(z%PO~O![*gO!Y)PP~P!3tOr*sOs!nO!S*iO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO(e!mO~O!^*pO~P!5iO#S$dOn(`X!Q(`X\x27y(`X(y(`X(z(`X!](`X#`(`X~Og(`X$O(`X~P!6kOn*xO#`*wOg(_X!](_X~O!]*yOg(^X~Oj%dOk%dOl%dO(T&ZOg(^P~Os*|O~Og)}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hO![+ZO!](^O!_%iO(T%gO!Y(vP~Os\x27[O!S+]O![+[O(VTO(YUO(e(|O~O!^(xP~P!9|O!]+^Oa)TX\x27z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja\x27z!ja\x27w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra\x27z!ra\x27w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta\x27z!ta\x27w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_\x27`O%i+fO~O!g+iOa(]X!_(]X\x27z(]X!](]X~Oa%nO!_XO\x27z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO\x27z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la\x27w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P\x27_On-iO!_\x27`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO\x27z%nO~Oa%nO!g#vO#`-qO\x27z%nO~Oa%nO!g#vO!p-sO#`-qO\x27z%nO(r\x27pO~O(P\x27xO(Q\x27xO(R-zO~Ov-{O~O!Y\x27Wa!]\x27Wa~P!:tO![.PO!Y\x27WX!]\x27WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y\x27^X!]\x27^X~O#`.VO!](ta!k(taa(ta\x27z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]\x27aX!k\x27aX~OR.dO!l#xO~Oh%VOn.gO!_\x27`O%i.fO~Oa#ci!]#ci\x27z#ci\x27w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO\x27y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a\x27z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X\x27z(`X(a(`X(r(`X!k(`X!Y(`X\x27w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P!\x20uOa\x27da!]\x27da\x27z\x27da\x27w\x27da!k\x27da!Y\x27dav\x27da!_\x27da%i\x27da!g\x27da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi\x27z$Pi\x27w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa\x27y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca\x27y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WO![/mO!](^O(T/lO!Y(vP!Y)PP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$\x20[O!k/oO~P#/sO!]/pO!g#vO(r\x27pO!k)OX~O!k/uO~OnoX!QoX\x27yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r\x27pO~O!g+iO~Oa%nO!]0XO\x27z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`%aa$O%aa~P!1WOg%ca!]%ca#`%ca$O%ca~P!1WOj%dOk%dOl%dO(T&ZOg\x27mX!]\x27mX~O!]*yOg(^a~Og0hO~On0jO#`0iOg(_a!](_a~OR0kO!Q0kO!S0lO#S$dOn}a\x27y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$(cO!Q*OO\x27y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$)_O!Q*OO\x27y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$*QO#k0oO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0rO~O!]+^Oa)Ta\x27z)Ta~OR#zO!Q#yO!S#{O!l#xO(aVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(r!ri(y!ri(z!ri~Oa!ri\x27z!ri\x27w!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$+oOh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0{O%]0|O(T0zO~P$.VO!g+iOa(]a!_(]a\x27z(]a!](]a~O#k1SO~O[]X!]fX!^fX~O!]1TO!^)XX~O!^1VO~O[1WO~Ob1YO(T+qO(VTO(YUO~O!_&PO(T%gO`\x27uX!]\x27uX~O!]+vO`)Wa~O!k1]O~P!:tO[1`O~O`1aO~O#`1fO~On1iO!_$|O~O(e(|O!^)UP~Oh%VOn1rO!_1oO%i1qO~O[1|O!]1zO!^)VX~O!^1}O~O`2POa%nO\x27z%nO~O(T#nO(VTO(YUO~O#S$dO#`$eO$Q$eOP(gXR(gX[(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~Oj2SO&[2TOa(gX~P$3pOj2SO#`$eO&[2TO~Oa2VO~P%[Oa2XO~O&e2[OP&ciQ&ciS&ciY&cia&cid&cie&cil&cip&cir&cis&cit&ciz&ci|&ci!O&ci!S&ci!W&ci!X&ci!_&ci!i&ci!l&ci!o&ci!p&ci!q&ci!s&ci!u&ci!x&ci!|&ci$W&ci$n&ci%h&ci%j&ci%l&ci%m&ci%n&ci%q&ci%s&ci%v&ci%w&ci%y&ci&W&ci&^&ci&`&ci&b&ci&d&ci&g&ci&m&ci&s&ci&u&ci&w&ci&y&ci&{&ci\x27w&ci(T&ci(V&ci(Y&ci(a&ci(o&ci!^&cib&ci&j&ci~Ob2bO!^2`O&j2aO~P`O!_XO!l2dO~O&q,{OP&liQ&liS&liY&lia&lid&lie&lil&lip&lir&lis&lit&liz&li|&li!O&li!S&li!W&li!X&li!_&li!i&li!l&li!o&li!p&li!q&li!s&li!u&li!x&li!|&li$W&li$n&li%h&li%j&li%l&li%m&li%n&li%q&li%s&li%v&li%w&li%y&li&W&li&^&li&`&li&b&li&d&li&g&li&m&li&s&li&u&li&w&li&y&li&{&li\x27w&li(T&li(V&li(Y&li(a&li(o&li!^&li&e&lib&li&j&li~O!Y2jO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2pO(e!mO!]\x27XX!^\x27XX~P@nO!]-]O!^(ia~O!]\x27_X!^\x27_X~P!9|O!]-`O!^(xa~O!^2wO~P\x27_Oa%nO#`3QO\x27z%nO~Oa%nO!g#vO#`3QO\x27z%nO~Oa%nO!g#vO!p3UO#`3QO\x27z%nO(r\x27pO~Oa%nO\x27z%nO~P!:tO!]$_Ov$qa~O!Y\x27Wi!]\x27Wi~P!:tO!](VO!Y(hi~O!](^O!Y(vi~O!Y(wi!](wi~P!:tO!](ti!k(tia(ti\x27z(ti~P!:tO#`3WO!](ti!k(tia(ti\x27z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3]O#j3[O(T%gO~O!S%hO!_%iO#j3[O(T%gO~On3dO!_\x27`O%i3cO~Oh%VOn3dO!_\x27`O%i3cO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aav%aa!_%aa%i%aa!g%aa~P#L{O#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%cav%ca!_%ca%i%ca!g%ca~P#MnO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/sO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/sO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a\x27z}a(a}a(r}a!k}a!Y}a\x27w}av}a!_}a%i}a!g}a~P$(cO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa\x27z$sa(a$sa(r$sa!k$sa!Y$sa\x27w$sav$sa!_$sa%i$sa!g$sa~P$)_O#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua\x27z$ua(a$ua(r$ua!k$ua!Y$ua\x27w$uav$ua!_$ua%i$ua!g$ua~P$*QO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta\x27z%Ta(a%Ta(r%Ta!k%Ta!Y%Ta\x27w%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/sOa#cq!]#cq\x27z#cq\x27w#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:tO![3lO!]\x27YX!k\x27YX~P%[O!].tO!k(ka~O!].tO!k(ka~P!:tO!Y3oO~O$O!na!^!na~PKlO$O!ja!]!ja!^!ja~P#BwO$O!ra!^!ra~P!=[O$O!ta!^!ta~P!?rOg\x27]X!]\x27]X~P!,TO!]/POg(pa~OSfO!_4TO$d4UO~O!^4YO~Ov4ZO~P#/sOa$mq!]$mq\x27z$mq\x27w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4]O~P!&zO!S4^O~O!Q*OO\x27y*PO(z%POn\x27ia(y\x27ia!]\x27ia#`\x27ia~Og\x27ia$O\x27ia~P%-fO!Q*OO\x27y*POn\x27ka(y\x27ka(z\x27ka!]\x27ka#`\x27ka~Og\x27ka$O\x27ka~P%.XO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SOp%WO(T=WO~P!1uOp4bO!S%hO![4aO!_%iO(T%gO!]\x27eX!k\x27eX~O!]/pO!k)Oa~O!]/pO!g#vO!k)Oa~O!]/pO!g#vO(r\x27pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4jO!Y\x27gX!]\x27gX~P!3tO!]/yO!Y)Pa~O!]/yO!Y)Pa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~Oj%YX!g%YX~P%2OOj4oO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4tO!l%eO(r\x27pO~Or4yO!g#vO(r\x27pO~Os!nO!S4zO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai\x27y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%5oO(z%POn%ci!Q%ci\x27y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%6bOg(_i!](_i~P!1WO#`5QOg(_i!](_i~P!1WO!k5VO~Oa$oq!]$oq\x27z$oq\x27w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5ZO~O!]5[O!_)QX~P#/sOa$zX!_$zX%^]X\x27z$zX!]$zX~P!0SO%^5_OaoX!_oX\x27zoX!]oX~P$#OOp5`O(T#nO~O%^5_O~Ob5fO%j5gO(T+qO(VTO(YUO!]\x27tX!^\x27tX~O!]1TO!^)Xa~O[5kO~O`5lO~O[5pO~Oa%nO\x27z%nO~P#/sO!]5uO#`5wO!^)UX~O!^5xO~Or6OOs!nO!S*iO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!pO#W!pO#X!pO#[5}O#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5|O~P%;eOn6TO!_1oO%i6SO~Oh%VOn6TO!_1oO%i6SO~Ob6[O(T#nO(VTO(YUO!]\x27sX!^\x27sX~O!]1zO!^)Va~O(VTO(YUO(e6^O~O`6bO~Oj6eO&[6fO~PNXO!k6gO~P%[Oa6iO~Oa6iO~P%[Ob2bO!^6nO&j2aO~P`O!g6pO~O!g6rOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6sO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6|O\x27z%nO~Oa%nO!g#vO#`6|O\x27z%nO~O!](tq!k(tqa(tq\x27z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7TO(T%gO~O!_\x27`O%i7WO~On7[O!_\x27`O%i7WO~O#k\x27iaP\x27iaR\x27ia[\x27iaa\x27iaj\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia\x27z\x27ia(a\x27ia(r\x27ia!k\x27ia!Y\x27ia\x27w\x27iav\x27ia!_\x27ia%i\x27ia!g\x27ia~P%-fO#k\x27kaP\x27kaR\x27ka[\x27kaa\x27kaj\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka\x27z\x27ka(a\x27ka(r\x27ka!k\x27ka!Y\x27ka\x27w\x27kav\x27ka!_\x27ka%i\x27ka!g\x27ka~P%.XO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i\x27z$|i(a$|i(r$|i!k$|i!Y$|i\x27w$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/sO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai\x27z%ai(a%ai(r%ai!k%ai!Y%ai\x27w%aiv%ai!_%ai%i%ai!g%ai~P%5oO#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci\x27z%ci(a%ci(r%ci!k%ci!Y%ci\x27w%civ%ci!_%ci%i%ci!g%ci~P%6bO!]\x27Ya!k\x27Ya~P!:tO!].tO!k(ki~O$O#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#n#mi~P%NdO#n<_O~P%NdOP$[OR#zOr<kO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#r#mi~P&!lO#r<aO~P&!lOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<eO~P&&uO#x#mi~P&&uO#v<cO~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&)UO#z<gO~P&)UOa#|y!]#|y\x27z#|y\x27w#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:tO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO(y#mi(z#mi~P&,QOn>^O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X\x27y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg\x27]a!]\x27]a~P!1WO!^7nO~O!]\x27da!^\x27da~P#BwO!Y7oO~P#/sO!g#vO(r\x27pO!]\x27ea!k\x27ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y\x27ga!]\x27ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r\x27pO~Oj8QO!g#vO~Or8TO!g#vO(r\x27pO~O!Q*OO\x27y*PO(z%POn\x27ja(y\x27ja!]\x27ja#`\x27ja~Og\x27ja$O\x27ja~P&5RO!Q*OO\x27y*POn\x27la(y\x27la(z\x27la!]\x27la#`\x27la~Og\x27la$O\x27la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy\x27z$oy\x27w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_\x27`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i\x27z%[i!]%[i~Oa#cy!]#cy\x27z#cy\x27w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]\x27pX!^\x27pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]\x27sa!^\x27sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O\x27z%nO~O!](ty!k(tya(ty\x27z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_\x27`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q\x27z$|q(a$|q(r$|q!k$|q!Y$|q\x27w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k\x27jaP\x27jaR\x27ja[\x27jaa\x27jaj\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja\x27z\x27ja(a\x27ja(r\x27ja!k\x27ja!Y\x27ja\x27w\x27jav\x27ja!_\x27ja%i\x27ja!g\x27ja~P&5RO#k\x27laP\x27laR\x27la[\x27laa\x27laj\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la\x27z\x27la(a\x27la(r\x27la!k\x27la!Y\x27la\x27w\x27lav\x27la!_\x27la%i\x27la!g\x27la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq\x27z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq\x27w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]\x27Yi!k\x27Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa\x27y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca\x27y%ca(y%ca~P&LQOn>^O!Q*OO\x27y*PO(z%PO~P&IyOn>^O!Q*OO\x27y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a\x27y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO\x27y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO\x27y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO\x27y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P\x27\x27VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]\x27ei!k\x27ei~O!g#vO(r\x27pO!]\x27ei!k\x27ei~O!]/pO!k)Oq~O!Y\x27gi!]\x27gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r\x27pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]\x27na!_\x27na~P#/sOa%[q!_%[q\x27z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]\x27pa!^\x27pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_\x27`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27iaR\x27ia[\x27iaj\x27ian\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia$O\x27ia(a\x27ia(r\x27ia(y\x27ia!]\x27ia!^\x27ia~O!Q*OO\x27y*POP\x27kaR\x27ka[\x27kaj\x27kan\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka$O\x27ka(a\x27ka(r\x27ka(y\x27ka(z\x27ka!]\x27ka!^\x27ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai\x27y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci\x27y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]\x27eq!k\x27eq~O!]/pO!k)Oy~O!Y\x27gq!]\x27gq~P#/sOr:|O!g#vO(r\x27pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y\x27z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27jaR\x27ja[\x27jaj\x27jan\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja$O\x27ja(a\x27ja(r\x27ja(y\x27ja!]\x27ja!^\x27ja~O!Q*OO\x27y*POP\x27laR\x27la[\x27laj\x27lan\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la$O\x27la(a\x27la(r\x27la(y\x27la(z\x27la!]\x27la!^\x27la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P\x27\x27VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r\x27pO~O[;kO!Y;hO~P#/sO!]\x27pq!^\x27pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z\x27z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z\x27w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r\x27pO~O!Y;uO~P#/sOr;|O!g#vO(r\x27pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P\x27\x27VOr<QO!g#vO(r\x27pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%2OOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~O!gfX!k]X!kfX(rfX~P\x27LTOP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_XO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]<iO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<tO!S${O!_$|O!i>WO!l$xO#j<zO$W%`O$t<vO$v<xO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!yOr!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P\x27LTO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<^O~O!g#vO#k<^O~O#`<nO~Oj<bO~O#`=OO!](wX!^(wX~O#`<nO!](uX!^(uX~O#k=PO~Og=RO~P!1WO#k=XO~O#k=YO~Og=RO(T&ZO~O!g#vO#k=ZO~O!g#vO#k=PO~O$O=[O~P#BwO#k=]O~O#k=^O~O#k=cO~O#k=dO~O#k=eO~O#k=fO~O$O=gO~P!1WO$O=hO~P!1WOl=sO~P7eOk#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~(OT#o!X\x27|(U#ps#n#qr!Q\x27}$]\x27}(T$_(e~','goto':'$9Y)]PPPPPP)^PP)aP)rP+W/]PPPP6mPP7TPP=QPPP@tPA^PA^PPPA^PCfPA^PA^PA^PCjPCoPD^PIWPPPI[PPPPI[L_PPPLeMVPI[PI[PP!\x20eI[PPPI[PI[P!#lI[P!\x27S!(X!(bP!)U!)Y!)U!,gPPPPPPP!-W!(XPP!-h!/YP!2iI[I[!2n!5z!:h!:h!>gPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#<e#<k#<n)aP#<q)aP#<z#<z#<zP)aP)aP)aP)aPP)aP#=Q#=TP#=T)aP#=XP#=[P)aP)aP)aP)aP)aP)a)aPP#=b#=h#=s#=y#>P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$\x20b$\x20i$\x20qPPP$\x27]P$\x27f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ\x27`-e1o5{Q%tvQ%|yQ&T|Q&j!VS\x27W!e-]Q\x27f!iS\x27l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c\x27_Q-m\x27gQ-u\x27mQ0[*qQ1b,OQ1y,eR<{<Y%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_S#q]<V!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU+P%]<s<tQ+t&PQ,f&gQ,m&oQ0x+gQ0}+iQ1Y+uQ2R,kQ3`.gQ5`0|Q5f1TQ6[1zQ7Y3dQ8`5gR9e7[\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S!S!nQ!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q&X|Q\x27U!eS\x27[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>R>S[#]WZ#W#Z\x27X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ\x27c!hQ\x27e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l\x27f\x27gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o>U<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hW%Ti%V*y>PS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^T)z$u){V+P%]<s<tW\x27[!e%i*Z-`S(}#y#zQ+c%rQ+y&SS.b(m(nQ1j,XQ5T0kR8i5u\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vT#TV#U\x27RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ\x27Y!eR2q-]!W!nQ!e!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q\x27v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j\x27dQ-w\x27oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vS(o#p\x27iQ)P#zS+b%q.|S.c(n(pR3^.d\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS#q]<VQ&t!XQ&u!YQ&w![Q&x!]R2Z,vQ\x27a!hQ+e%wQ-h\x27cS.e(q+hQ2x-gW3b.h.i0w0yQ6w2yW7U3_3a3e5^U9a7V7X7ZU:q9c9d9fS;b:p:sQ;p;cR;x;qU!wQ\x27`-eT5y1o5{!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,s,x.[2[2_]!pQ!r\x27`-e1o5{T#q]<V%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S(}#y#zS.b(m(n!s=l$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU$fd)_,mS(p#p\x27iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}Q\x27t!uS(f#g2US-s\x27k\x27wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uS<P;|;}R<S<QQ#wbQ\x27s!uS(e#g2US(g#m+WQ+Y%fQ+j%xQ+p&OU-r\x27k\x27t\x27wQ.W(fU/r*]*`/wQ0S*jQ0V*lQ1O+kQ1u,aS3R-s-vQ3Z.`S4e/s/tQ4n0PS4q0R0^Q4u0WQ6W1vQ7P3US7q4`4bQ7u4fU7|4r4x4{Q8P4wQ8v6XS9q7r7sQ9u7yQ9}8RQ:O8SQ:c8wQ:y9rS:z9v9xQ;S:QQ;^:dS;f:{;PS;r;g;hS;z;s;uS<O;{;}Q<R<PQ<T<SQ=o=jQ={=tR=|=uV!wQ\x27`-e%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S#wz!j!r=i$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=n\x27XU\x27]!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!P<d)^)q-Z.|2k2n3p3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!T<f)^)q-Z.|2k2n3p3v3w3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!^$Zc#Y%q(S(Y(t(y)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<WQ4_/kz>S)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>X>ZR>Y>[\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS$oh$pR4U/U\x27XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n\x27XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{\x27T\x27b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^Q+T%aQ/c*Oo4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!U$yi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n=r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hQ=w>TQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hnoOXst!Z#d%m&r&t&u&w,s,x2[2_S*f${*YQ-R\x27OQ-S\x27QR4i/y%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f<o#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<p<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!d=S(u)c*[*e.j.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f<q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!h=U(u)c*[*e.k.l.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q\x27y!{R-y\x27ySsOtQ#dXT%ps#dQ#OTR\x27{#OQ#RUR\x27}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^\x27YR2r-^Q.u(yS3m.u3nR3n.vQ-e\x27`R2v-eY!rQ\x27`-e1o5{R\x27j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a\x27]R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|<jQ-|<WR<j)qQ/q*]W4c/q4d7t9sU4d/r/s/tS7t4e4fR9s7u$e*Q$v(u)c)e*[*e*t*u+Q+R+V.l.m.o.p.q/_/g/i/k/v/|0d0e0v1e3f3g3h3}4R4[4g4h4l4|5O5R5S5W5r7]7^7_7`7e7f7h7i7j7p7w7z8U8X8Z9h9i9j9t9|:R:S:t:u:v:w:x:};R;e;j;v;y=p=}>O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ\x27P!bQ\x27R!cQ\x27q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p\x27k\x27s\x27t\x27wQ-w\x27oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ\x27d!iQ\x27o!uU+m%{%|%}Q-W\x27VU-k\x27e\x27f\x27gS-o\x27k\x27uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.l<oQ.m<qQ.o<uQ.p<wQ.q<yQ/_)yQ/g*RQ/i*TQ/k*VQ/v*aS/|*g/mQ0d*wQ0e*xl0v+f,V.f1i1q3c6S7W8q9b:`:r;[;dQ1e,SQ3f=SQ3g=UQ3h=XS3}<l<mQ4R/PS4[/d4^Q4g/xQ4h/yQ4l/{Q4|0`Q5O0bQ5R0iQ5S0jQ5W0oQ5r1fQ7]=]Q7^=_Q7_=aQ7`=cQ7e<pQ7f<rQ7h<vQ7i<xQ7j<zQ7p4_Q7w4jQ7z4oQ8U5QQ8X5[Q8Z5_Q9h=YQ9i=TQ9j=VQ9t7vQ9|8QQ:R8VQ:S8[Q:t=^Q:u=`Q:v=bQ:w=dQ:x9pQ:}9yQ;R:PQ;e=gQ;j;QQ;v;kQ;y=hQ=p>PQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.n<sR7g<tnpOXst!Z#d%m&r&t&u&w,s,x2[2_Q!fPS#fZ#oQ&|!`W\x27h!o*i0]4zQ(P#SQ)Q#{Q)r$nS,l&k&nQ,q&oQ-O&{S-T\x27T/nQ-g\x27bQ.x)OQ/[)sQ0s+]Q0y+gQ2W,pQ2y-iQ3a.gQ4W/VQ5U0lQ6Q1rQ6c2SQ6d2TQ6h2VQ6j2XQ6o2aQ7Z3dQ7m4TQ8s6TQ9P6eQ9Q6fQ9S6iQ9f7[Q:a8tR:k9T#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{\x27T\x27b)O*i+]+g,p,s,x-i.g/n0]0l1r2S2T2V2X2[2_2a3d4z6T6e6f6i7[8t9TQ#YWQ#eYQ%quQ%svS%uw!gS(S#W(VQ(Y#ZQ(t#uQ(y#xQ)R$OQ)S$PQ)T$QQ)U$RQ)V$SQ)W$TQ)X$UQ)Y$VQ)Z$WQ)[$XQ)^$ZQ)`$_Q)b$aQ)g$eW)q$n)s/V4TQ+d%tQ+x&RS-Z\x27X2pQ-x\x27rS-}(T.PQ.S(]Q.U(dQ.s(xQ.v(zQ.z<UQ.|<XQ.}<YQ/O<]Q/b)}Q0p+XQ2k-UQ2n-XQ3O-qQ3V.VQ3k.tQ3p<^Q3q<_Q3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{.{Q3|<kQ4P<nQ4Q<{Q4X<iQ5X0rQ5c1SQ6u=OQ6{3QQ7Q3WQ7a3lQ7b=PQ7k=RQ7l=ZQ8k5wQ9X6sQ9]6|Q9g=[Q9m=eQ9n=fQ:o9_Q;W:ZQ;`:mQ<W#SR=v>SR#[WR\x27Z!el!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}S\x27V!e-]U*j$|*Z*oS-Y\x27W\x27_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d\x27`-e]!qQ!r\x27`-e1o5{Q#p]R\x27i<VR)f$dY!uQ\x27`-e1o5{Q\x27k!rS\x27u!v!yS\x27w!z5}S-t\x27l\x27mQ-v\x27nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m\x27X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-[\x27X+[T.O(T.TV\x27^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_','nodeNames':'⚠\x20ArithOp\x20ArithOp\x20?.\x20JSXStartTag\x20LineComment\x20BlockComment\x20Script\x20Hashbang\x20ExportDeclaration\x20export\x20Star\x20as\x20VariableName\x20String\x20Escape\x20from\x20;\x20default\x20FunctionDeclaration\x20async\x20function\x20VariableDefinition\x20>\x20<\x20TypeParamList\x20in\x20out\x20const\x20TypeDefinition\x20extends\x20ThisType\x20this\x20LiteralType\x20ArithOp\x20Number\x20BooleanLiteral\x20TemplateType\x20InterpolationEnd\x20Interpolation\x20InterpolationStart\x20NullType\x20null\x20VoidType\x20void\x20TypeofType\x20typeof\x20MemberExpression\x20.\x20PropertyName\x20[\x20TemplateString\x20Escape\x20Interpolation\x20super\x20RegExp\x20]\x20ArrayExpression\x20Spread\x20,\x20}\x20{\x20ObjectExpression\x20Property\x20async\x20get\x20set\x20PropertyDefinition\x20Block\x20:\x20NewTarget\x20new\x20NewExpression\x20)\x20(\x20ArgList\x20UnaryExpression\x20delete\x20LogicOp\x20BitOp\x20YieldExpression\x20yield\x20AwaitExpression\x20await\x20ParenthesizedExpression\x20ClassExpression\x20class\x20ClassBody\x20MethodDeclaration\x20Decorator\x20@\x20MemberExpression\x20PrivatePropertyName\x20CallExpression\x20TypeArgList\x20CompareOp\x20<\x20declare\x20Privacy\x20static\x20abstract\x20override\x20PrivatePropertyDefinition\x20PropertyDeclaration\x20readonly\x20accessor\x20Optional\x20TypeAnnotation\x20Equals\x20StaticBlock\x20FunctionExpression\x20ArrowFunction\x20ParamList\x20ParamList\x20ArrayPattern\x20ObjectPattern\x20PatternProperty\x20Privacy\x20readonly\x20Arrow\x20MemberExpression\x20BinaryExpression\x20ArithOp\x20ArithOp\x20ArithOp\x20ArithOp\x20BitOp\x20CompareOp\x20instanceof\x20satisfies\x20CompareOp\x20BitOp\x20BitOp\x20BitOp\x20LogicOp\x20LogicOp\x20ConditionalExpression\x20LogicOp\x20LogicOp\x20AssignmentExpression\x20UpdateOp\x20PostfixExpression\x20CallExpression\x20InstantiationExpression\x20TaggedTemplateExpression\x20DynamicImport\x20import\x20ImportMeta\x20JSXElement\x20JSXSelfCloseEndTag\x20JSXSelfClosingTag\x20JSXIdentifier\x20JSXBuiltin\x20JSXIdentifier\x20JSXNamespacedName\x20JSXMemberExpression\x20JSXSpreadAttribute\x20JSXAttribute\x20JSXAttributeValue\x20JSXEscape\x20JSXEndTag\x20JSXOpenTag\x20JSXFragmentTag\x20JSXText\x20JSXEscape\x20JSXStartCloseTag\x20JSXCloseTag\x20PrefixCast\x20<\x20ArrowFunction\x20TypeParamList\x20SequenceExpression\x20InstantiationExpression\x20KeyofType\x20keyof\x20UniqueType\x20unique\x20ImportType\x20InferredType\x20infer\x20TypeName\x20ParenthesizedType\x20FunctionSignature\x20ParamList\x20NewSignature\x20IndexedType\x20TupleType\x20Label\x20ArrayType\x20ReadonlyType\x20ObjectType\x20MethodType\x20PropertyType\x20IndexSignature\x20PropertyDefinition\x20CallSignature\x20TypePredicate\x20asserts\x20is\x20NewSignature\x20new\x20UnionType\x20LogicOp\x20IntersectionType\x20LogicOp\x20ConditionalType\x20ParameterizedType\x20ClassDeclaration\x20abstract\x20implements\x20type\x20VariableDeclaration\x20let\x20var\x20using\x20TypeAliasDeclaration\x20InterfaceDeclaration\x20interface\x20EnumDeclaration\x20enum\x20EnumBody\x20NamespaceDeclaration\x20namespace\x20module\x20AmbientDeclaration\x20declare\x20GlobalDeclaration\x20global\x20ClassDeclaration\x20ClassBody\x20AmbientFunctionDeclaration\x20ExportGroup\x20VariableName\x20VariableName\x20ImportDeclaration\x20defer\x20ImportGroup\x20ForStatement\x20for\x20ForSpec\x20ForInSpec\x20ForOfSpec\x20of\x20WhileStatement\x20while\x20WithStatement\x20with\x20DoStatement\x20do\x20IfStatement\x20if\x20else\x20SwitchStatement\x20switch\x20SwitchBody\x20CaseLabel\x20case\x20DefaultLabel\x20TryStatement\x20try\x20CatchClause\x20catch\x20FinallyClause\x20finally\x20ReturnStatement\x20return\x20ThrowStatement\x20throw\x20BreakStatement\x20break\x20ContinueStatement\x20continue\x20DebuggerStatement\x20debugger\x20LabeledStatement\x20ExpressionStatement\x20SingleExpression\x20SingleClassItem','maxTerm':0x17c,'context':_0x85a307,'nodeProps':[['isolate',-0x8,0x5,0x6,0xe,0x25,0x27,0x33,0x35,0x37,''],['group',-0x1a,0x9,0x11,0x13,0x44,0xcf,0xd3,0xd7,0xd8,0xda,0xdd,0xe0,0xea,0xed,0xf3,0xf5,0xf7,0xf9,0xfc,0x102,0x108,0x10a,0x10c,0x10e,0x110,0x112,0x113,'Statement',-0x22,0xd,0xe,0x20,0x23,0x24,0x2a,0x33,0x36,0x37,0x39,0x3e,0x46,0x48,0x4c,0x50,0x52,0x54,0x55,0x6e,0x6f,0x78,0x79,0x88,0x8b,0x8d,0x8e,0x8f,0x90,0x91,0x93,0x94,0xa7,0xa9,0xab,'Expression',-0x17,0x1f,0x21,0x25,0x29,0x2b,0x2d,0xad,0xaf,0xb1,0xb2,0xb4,0xb5,0xb6,0xb8,0xb9,0xba,0xbc,0xbd,0xbe,0xc9,0xcb,0xcd,0xce,'Type',-0x3,0x58,0x67,0x6d,'ClassItem'],['openedBy',0x17,'<',0x26,'InterpolationStart',0x38,'[',0x3c,'{',0x49,'(',0xa0,'JSXStartCloseTag'],['closedBy',-0x2,0x18,0xa8,'>',0x28,'InterpolationEnd',0x32,']',0x3d,'}',0x4a,')',0xa5,'JSXEndTag']],'propSources':[_0x1aed43],'skippedNodes':[0x0,0x5,0x6,0x116],'repeatNodeCount':0x25,'tokenData':'$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx!\x20Yxy!\x27iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;\x27SEr;\x27S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c&j&zP;=`<%l&c\x27|\x27U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!b(SU(Z!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!b(iP;=`<%l\x27}\x27|(oP;=`<%l&}\x27[(y]$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(rp)wU(WpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)rp*^P;=`<%l)r\x27[*dP;=`<%l(r#S*nX(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$i&j(Wp(Z!b\x27|0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;\x27S%Z;\x27S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(X#S$i&j\x27}0/lO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c07[.n_$i&j(Wp(Z!b\x27}0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z)3p/x`$i&j!p),Q(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW1V`#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW2d_#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27At3l_(V\x27:f$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k(^4r_$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;\x27S5q;\x27S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c`6|TOr6yrs7]s;\x27S6y;\x27S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!r8uZ(Z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;\x27S8p;\x27S;=`:R<%lO8p!r9oU$d`(Z!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Wp(Z!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;\x27SCr;\x27S;=`El<%lOCr(r<__WS$i&j(Wp(Z!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;\x27S<S;\x27S;=`Cl<%lO<S(Q=g]WS$i&j(Z!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;\x27S=^;\x27S;=`@h<%lO=^&n>gXWS$i&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;\x27S>`;\x27S;=`?k<%lO>`S?XSWSOY?SZ;\x27S?S;\x27S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(Z!bOY?qZw?qwx?Sx#O?q#O#P?S#P;\x27S?q;\x27S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^\x27`@w]WS$i&j(WpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;\x27S@n;\x27S;=`Bg<%lO@ntAwWWS(WpOYApZrAprs?Ss#OAp#O#P?S#P;\x27SAp;\x27S;=`Ba<%lOAptBdP;=`<%lAp\x27`BjP;=`<%l@n#WBvYWS(Wp(Z!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;\x27SBm;\x27S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$i&j(o%1l(Wp(Z!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;\x27SCr;\x27S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$i&j(Wp(Z!b$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;\x27SEr;\x27S;=`I|<%lOEr+dHRk$i&j(Wp(Z!b$]#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;\x27SGv;\x27S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$i&j(Wp(Z!b#p(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KWKl_$i&j$Q(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z,#xLva(z+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KWNW`$i&j#z(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27At!\x20c_(Y\x27;W$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;\x27S!!b;\x27S;=`!\x27c<%lO!!b\x27l!!i_$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;\x27S!!b;\x27S;=`!\x27c<%lO!!b&z!#mX$i&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;\x27S!#h;\x27S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;\x27S!$Y;\x27S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h\x27l!%R]$d`$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(r!Q!&PZ(WpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;\x27S!%z;\x27S;=`!\x27]<%lO!%z!Q!&yU$d`(WpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)r!Q!\x27`P;=`<%l!%z\x27l!\x27fP;=`<%l!!b/5|!\x27t_!l/.^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#&U!)O_!k!Lf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z-!n!*[b$i&j(Wp(Z!b(U%&f#q(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW!+o`$i&j(Wp(Z!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z+;x!,|`$i&j(Wp(Z!br+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z,$U!.Z_!]+Jf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[!/ec$i&j(Wp(Z!b!Q.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#%|!0ya$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#%|!2Z_![!L^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!3eg$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!5Vg$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!6wc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!8_c$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[!9uf$i&j(Wp(Z!b#o(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z?O!;fb$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z>^!<w`$i&j(Z!b!X7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;\x27S!<n;\x27S;=`!L]<%lO!<n<z!>Q^$i&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!?Td$i&j!X7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;\x27S&c;\x27S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;\x27S!Ar;\x27S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;\x27S!Ar;\x27S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DWX$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$i&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$i&j(Z!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}8r!GyZ(Z!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;\x27S!Gr;\x27S;=`!J|<%lO!Gr8r!Hse(Z!b!X7`OY\x27}Zw\x27}x#O\x27}#P#W\x27}#W#X!Hl#X#Z\x27}#Z#[!Hl#[#]\x27}#]#^!Hl#^#a\x27}#a#b!Hl#b#g\x27}#g#h!Hl#h#i\x27}#i#j!Hl#j#k!Hl#k#m\x27}#m#n!Hl#n;\x27S\x27};\x27S;=`(f<%lO\x27}8r!JZX(Z!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;\x27S!JU;\x27S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$i&j(Z!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;\x27S!KS;\x27S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$i&j(Wp!X7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_#\x20o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p#\x20o#p;\x27S!Lc;\x27S;=`#&Y<%lO!Lc=l!Mwl$i&j(Wp!X7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(r8Q#\x20vZ(Wp!X7`OY#\x20oZr#\x20ors!@cs!P#\x20o!P!Q#!i!Q!}#\x20o!}#O#$R#O#P!Bq#P;\x27S#\x20o;\x27S;=`#$y<%lO#\x20o8Q#!pe(Wp!X7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;\x27S)r;\x27S;=`*Z<%lO)r8Q#$WX(WpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q#\x20o#Q;\x27S#$R;\x27S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l#\x20o=l#%W^$i&j(WpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;\x27S#%P;\x27S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$i&j(Wp(Z!b!X7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z9d#(r](Wp(Z!b!X7`OY#(iZr#(irs!Grsw#(iwx#\x20ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;\x27S#(i;\x27S;=`#,`<%lO#(i9d#)th(Wp(Z!b!X7`OY*gZr*grs\x27}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;\x27S*g;\x27S;=`+Z<%lO*g9d#+gZ(Wp(Z!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;\x27S#+`;\x27S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$i&j(Wp(Z!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;\x27S#,f;\x27S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$i&j(Wp(Z!b(O0/l!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z07[#/o_$i&j(Wp(Z!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;\x27S#/d;\x27S;=`#6|<%lO#/d06j#0w]$i&j(Z!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;\x27S#0n;\x27S;=`#3x<%lO#0n05W#1wX$i&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;\x27S#1p;\x27S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;\x27S#2d;\x27S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(Z!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;\x27S#3R;\x27S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$i&j(WpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;\x27S#4O;\x27S;=`#5w<%lO#4O00^#5XW(WpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;\x27S#5Q;\x27S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Wp(Z!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;\x27S#5};\x27S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$i&j$Q(Ch(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;ZAt#8vb$Z#t$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z\x27Ad#:Zp$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#<jk$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#>j_$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#?rd$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#A]f$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Bzc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Dbe$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#E|g$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Gpi$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z*)x#Il_!g$b$i&j$O)Lv(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z)[#Jv_al$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z04f#LS^h#)`#R-<U(Wp(Z!b$n7`OY*gZr*grs\x27}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$\x20f!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(n#MXX$k&j(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#M}Z#r(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#NyX$Q(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El$\x20oX#s(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g*)x$!ga#`*!Y$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(K[$#w_#k(Cl$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z*)x$%Vag!*r#s(Ch$f#|$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$\x27f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$&g_#s(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$\x27qa#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$)R`#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(Kd$*`a(r(Ct$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$+p`$i&j#{(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z%#`$,}_!|$Ip$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z04f$.X_!S0,v$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(n$/]Z$i&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;\x27S$0O;\x27S;=`$4i<%lO$0O(n$0VT_#S$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$0kO_#S(n$0p[$i&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;\x27S&c;\x27S;=`&w<%lO&c(n$1kZ$i&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c(n$2cZ$i&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c(n$3ZZ$i&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!Y#)l$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$6U`#x(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z+;p$7c_$i&j(Wp(Z!b(a+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[$8qk$i&j(Wp(Z!b(T,2j$_#t(e$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;\x27S$8b;\x27S;=`$<l<%lO$8b+d$:qk$i&j(Wp(Z!b$_#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;\x27S$:f;\x27S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!_#Hb(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g,#x$=sa(y+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;\x27S%Z;\x27S;=`+a<%lO%Z)>v$?V_!^(CdvBr$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z?O$@a_!q7`$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[$Aq|$i&j(Wp(Z!b\x27|0/l$]#t(T,2j(e$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;\x27SEr;\x27S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b\x27}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;\x27SEr;\x27S;=`I|<%lOEr','tokenizers':[_0x27060b,_0x3605bc,_0x4d0564,_0x4a0f98,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,_0x3a37ca,new _0x7be860('$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;\x27S!P;\x27S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~',0x8d,0x154),new _0x7be860('j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~',0x19,0x143)],'topRules':{'Script':[0x0,0x7],'SingleExpression':[0x1,0x114],'SingleClassItem':[0x2,0x115]},'dialects':{'jsx':0x0,'ts':0x3b47},'dynamicPrecedences':{0x50:0x1,0x52:0x1,0x5e:0x1,0xa9:0x1,0xc7:0x1},'specialized':[{'term':0x147,'get':_0x37a7e4=>_0x2b7c0b[_0x37a7e4]||-0x1},{'term':0x157,'get':_0x20e9e4=>_0x51895b[_0x20e9e4]||-0x1},{'term':0x5f,'get':_0x31f05c=>_0x1a4dd6[_0x31f05c]||-0x1}],'tokenPrec':0x3b61}),_0x5544ba=[_0x383a7c('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),_0x383a7c('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),_0x383a7c('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),_0x383a7c('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),_0x383a7c('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),_0x383a7c('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),_0x383a7c('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),_0x383a7c('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),_0x383a7c('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),_0x383a7c('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),_0x383a7c('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],_0x16e328=_0x5544ba['concat']([_0x383a7c('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),_0x383a7c('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),_0x383a7c('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0x168f82=new _0x5ed99d(),_0x2a8a68=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x1435c1(_0x5c57c9){return(_0x207bcf,_0x1f3a4a)=>{let _0x466b9a=_0x207bcf['node']['getChild']('VariableDefinition');return _0x466b9a&&_0x1f3a4a(_0x466b9a,_0x5c57c9),!0x0;};}const _0x1cbe67=['FunctionDeclaration'],_0x361b7a={'FunctionDeclaration':_0x1435c1('function'),'ClassDeclaration':_0x1435c1('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x1435c1('constant'),'TypeAliasDeclaration':_0x1435c1('type'),'NamespaceDeclaration':_0x1435c1('namespace'),'VariableDefinition'(_0x3a5faa,_0x49034c){_0x3a5faa['matchContext'](_0x1cbe67)||_0x49034c(_0x3a5faa,'variable');},'TypeDefinition'(_0x509a74,_0x50429d){_0x50429d(_0x509a74,'type');},'__proto__':null};function _0xa9b39e(_0x2489fa,_0x2350c3){let _0x1af522=_0x168f82['get'](_0x2350c3);if(_0x1af522)return _0x1af522;let _0x436150=[],_0x31c30c=!0x0;function _0x4cc463(_0x4dcaec,_0x4c21ab){let _0x3e05eb=_0x2489fa['sliceString'](_0x4dcaec['from'],_0x4dcaec['to']);_0x436150['push']({'label':_0x3e05eb,'type':_0x4c21ab});}return _0x2350c3['cursor'](_0x2ad664['IncludeAnonymous'])['iterate'](_0x36c9be=>{if(_0x31c30c)_0x31c30c=!0x1;else{if(_0x36c9be['name']){let _0x5e8164=_0x361b7a[_0x36c9be['name']];if(_0x5e8164&&_0x5e8164(_0x36c9be,_0x4cc463)||_0x2a8a68['has'](_0x36c9be['name']))return!0x1;}else{if(_0x36c9be['to']-_0x36c9be['from']>0x2000){for(let _0x2efac6 of _0xa9b39e(_0x2489fa,_0x36c9be['node']))_0x436150['push'](_0x2efac6);return!0x1;}}}}),_0x168f82['set'](_0x2350c3,_0x436150),_0x436150;}const tZ=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,_0x3beb2b=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function _0x539b14(_0x5ba929){let _0x1dc8a2=_0x393d13(_0x5ba929['state'])['resolveInner'](_0x5ba929['pos'],-0x1);if(_0x3beb2b['indexOf'](_0x1dc8a2['name'])>-0x1)return null;let _0x3e0a8f='VariableName'==_0x1dc8a2['name']||_0x1dc8a2['to']-_0x1dc8a2['from']<0x14&&tZ['test'](_0x5ba929['state']['sliceDoc'](_0x1dc8a2['from'],_0x1dc8a2['to']));if(!_0x3e0a8f&&!_0x5ba929['explicit'])return null;let _0x3c1c87=[];for(let _0x605604=_0x1dc8a2;_0x605604;_0x605604=_0x605604['parent'])_0x2a8a68['has'](_0x605604['name'])&&(_0x3c1c87=_0x3c1c87['concat'](_0xa9b39e(_0x5ba929['state']['doc'],_0x605604)));return{'options':_0x3c1c87,'from':_0x3e0a8f?_0x1dc8a2['from']:_0x5ba929['pos'],'validFor':tZ};}const _0x4261cf=_0x3bb26c['define']({'name':'javascript','parser':_0x5c6668['configure']({'props':[_0x58ae01['add']({'IfStatement':_0x488a7f({'except':/^\s*({|else\b)/}),'TryStatement':_0x488a7f({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x6b6891=>_0x6b6891['baseIndent'],'SwitchBody':_0x3ca216=>{let _0xb71aef=_0x3ca216['textAfter'],_0x58d5c5=/^\s*\}/['test'](_0xb71aef),_0x3639d3=/^\s*(case|default)\b/['test'](_0xb71aef);return _0x3ca216['baseIndent']+(_0x58d5c5?0x0:_0x3639d3?0x1:0x2)*_0x3ca216['unit'];},'Block':_0x25110a({'closing':'}'}),'ArrowFunction':_0x30bff6=>_0x30bff6['baseIndent']+_0x30bff6['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':_0x488a7f({'except':/^\s*{/}),'JSXElement'(_0x4e349b){let _0x1eb2b4=/^\s*<\//['test'](_0x4e349b['textAfter']);return _0x4e349b['lineIndent'](_0x4e349b['node']['from'])+(_0x1eb2b4?0x0:_0x4e349b['unit']);},'JSXEscape'(_0x3f6c42){let _0x517e03=/\s*\}/['test'](_0x3f6c42['textAfter']);return _0x3f6c42['lineIndent'](_0x3f6c42['node']['from'])+(_0x517e03?0x0:_0x3f6c42['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x137577=>_0x137577['column'](_0x137577['node']['from'])+_0x137577['unit']}),tj['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x47e6ef,'BlockComment':_0x4a7d09=>({'from':_0x4a7d09['from']+0x2,'to':_0x4a7d09['to']-0x2}),'JSXElement'(_0x48cace){let _0x3a62cb=_0x48cace['firstChild'];if(!_0x3a62cb||'JSXSelfClosingTag'==_0x3a62cb['name'])return null;let _0x43e250=_0x48cace['lastChild'];return{'from':_0x3a62cb['to'],'to':_0x43e250['type']['isError']?_0x48cace['to']:_0x43e250['from']};},'JSXSelfClosingTag\x20JSXOpenTag'(_0x4c15ab){var _0x5e3f69;let _0x12a5b3=null===(_0x5e3f69=_0x4c15ab['firstChild'])||void 0x0===_0x5e3f69?void 0x0:_0x5e3f69['nextSibling'],_0x3d3454=_0x4c15ab['lastChild'];return!_0x12a5b3||_0x12a5b3['type']['isError']?null:{'from':_0x12a5b3['to'],'to':_0x3d3454['type']['isError']?_0x4c15ab['to']:_0x3d3454['from']};}})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x1056f9={'test':_0x56ff3a=>/^JSX/['test'](_0x56ff3a['name']),'facet':_0x29f2bc({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},_0x54fe01=_0x4261cf['configure']({'dialect':'ts'},'typescript'),_0xaef12e=_0x4261cf['configure']({'dialect':'jsx','props':[_0x3cb823['add'](_0x36e369=>_0x36e369['isTop']?[_0x1056f9]:void 0x0)]}),_0x57027d=_0x4261cf['configure']({'dialect':'jsx\x20ts','props':[_0x3cb823['add'](_0x156fd9=>_0x156fd9['isTop']?[_0x1056f9]:void 0x0)]},'typescript');let _0x3f26f8=_0x560fac=>({'label':_0x560fac,'type':'keyword'});const _0x298be3='break\x20case\x20const\x20continue\x20default\x20delete\x20export\x20extends\x20false\x20finally\x20in\x20instanceof\x20let\x20new\x20return\x20static\x20super\x20switch\x20this\x20throw\x20true\x20typeof\x20var\x20yield'['split']('\x20')['map'](_0x3f26f8),_0x46a7a5=_0x298be3['concat'](['declare','implements','private','protected','public']['map'](_0x3f26f8));function _0x1de4a9(_0x361b04={}){let _0x1b4fad=_0x361b04['jsx']?_0x361b04['typescript']?_0x57027d:_0xaef12e:_0x361b04['typescript']?_0x54fe01:_0x4261cf,_0x464130=_0x361b04['typescript']?_0x16e328['concat'](_0x46a7a5):_0x5544ba['concat'](_0x298be3);return new _0x1faf41(_0x1b4fad,[_0x4261cf['data']['of']({'autocomplete':(_0x79e14=_0x3beb2b,_0x574a30=_0x24080e(_0x464130),_0xd375de=>{for(let _0x1b65af=_0x393d13(_0xd375de['state'])['resolveInner'](_0xd375de['pos'],-0x1);_0x1b65af;_0x1b65af=_0x1b65af['parent']){if(_0x79e14['indexOf'](_0x1b65af['name'])>-0x1)return null;if(_0x1b65af['type']['isTop'])break;}return _0x574a30(_0xd375de);})}),_0x4261cf['data']['of']({'autocomplete':_0x539b14}),_0x361b04['jsx']?_0x1c578c:[]]);var _0x79e14,_0x574a30;}function _0x5cafdc(_0x1d2024,_0xb825f8,_0x547b=_0x1d2024['length']){for(let _0x38d7d4=null==_0xb825f8?void 0x0:_0xb825f8['firstChild'];_0x38d7d4;_0x38d7d4=_0x38d7d4['nextSibling'])if('JSXIdentifier'==_0x38d7d4['name']||'JSXBuiltin'==_0x38d7d4['name']||'JSXNamespacedName'==_0x38d7d4['name']||'JSXMemberExpression'==_0x38d7d4['name'])return _0x1d2024['sliceString'](_0x38d7d4['from'],Math['min'](_0x38d7d4['to'],_0x547b));return'';}const _0x47f587='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x1c578c=_0x51f1f4['inputHandler']['of']((_0x102018,_0x297f66,_0x39f28f,_0xfa9a7,_0x523a32)=>{if((_0x47f587?_0x102018['composing']:_0x102018['compositionStarted'])||_0x102018['state']['readOnly']||_0x297f66!=_0x39f28f||'>'!=_0xfa9a7&&'/'!=_0xfa9a7||!_0x4261cf['isActiveAt'](_0x102018['state'],_0x297f66,-0x1))return!0x1;let _0x14e926=_0x523a32(),{state:_0x5cf63a}=_0x14e926,_0x41b411=_0x5cf63a['changeByRange'](_0x5f2cbb=>{var _0x4307cf;let _0x2bcb70,{head:_0x22df7c}=_0x5f2cbb,_0x5f0684=_0x393d13(_0x5cf63a)['resolveInner'](_0x22df7c-0x1,-0x1);if('JSXStartTag'==_0x5f0684['name']&&(_0x5f0684=_0x5f0684['parent']),_0x5cf63a['doc']['sliceString'](_0x22df7c-0x1,_0x22df7c)!=_0xfa9a7||'JSXAttributeValue'==_0x5f0684['name']&&_0x5f0684['to']>_0x22df7c);else{if('>'==_0xfa9a7&&'JSXFragmentTag'==_0x5f0684['name'])return{'range':_0x5f2cbb,'changes':{'from':_0x22df7c,'insert':'</>'}};if('/'==_0xfa9a7&&'JSXStartCloseTag'==_0x5f0684['name']){let _0x4d31fc=_0x5f0684['parent'],_0x30accf=_0x4d31fc['parent'];if(_0x30accf&&_0x4d31fc['from']==_0x22df7c-0x2&&((_0x2bcb70=_0x5cafdc(_0x5cf63a['doc'],_0x30accf['firstChild'],_0x22df7c))||'JSXFragmentTag'==(null===(_0x4307cf=_0x30accf['firstChild'])||void 0x0===_0x4307cf?void 0x0:_0x4307cf['name']))){let _0x5d82b1=_0x2bcb70+'>';return{'range':_0x3bda1f['cursor'](_0x22df7c+_0x5d82b1['length'],-0x1),'changes':{'from':_0x22df7c,'insert':_0x5d82b1}};}}else{if('>'==_0xfa9a7){let _0x45971b=function(_0x539c28){for(;;){if('JSXOpenTag'==_0x539c28['name']||'JSXSelfClosingTag'==_0x539c28['name']||'JSXFragmentTag'==_0x539c28['name'])return _0x539c28;if('JSXEscape'==_0x539c28['name']||!_0x539c28['parent'])return null;_0x539c28=_0x539c28['parent'];}}(_0x5f0684);if(_0x45971b&&'JSXOpenTag'==_0x45971b['name']&&!/^\/?>|^<\//['test'](_0x5cf63a['doc']['sliceString'](_0x22df7c,_0x22df7c+0x2))&&(_0x2bcb70=_0x5cafdc(_0x5cf63a['doc'],_0x45971b,_0x22df7c)))return{'range':_0x5f2cbb,'changes':{'from':_0x22df7c,'insert':'</'+_0x2bcb70+'>'}};}}}return{'range':_0x5f2cbb};});return!_0x41b411['changes']['empty']&&(_0x102018['dispatch']([_0x14e926,_0x5cf63a['update'](_0x41b411,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),_0x2e6a8f=['_blank','_self','_top','_parent'],_0x37f8ab=['ascii','utf-8','utf-16','latin1','latin1'],_0x1b6e20=['get','post','put','delete'],_0x2804f6=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x25c69b=['true','false'],_0x77c8b6={},_0x1a03be={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':_0x2e6a8f,'hreflang':null}},'abbr':_0x77c8b6,'address':_0x77c8b6,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x77c8b6,'aside':_0x77c8b6,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x77c8b6,'base':{'attrs':{'href':null,'target':_0x2e6a8f}},'bdi':_0x77c8b6,'bdo':_0x77c8b6,'blockquote':{'attrs':{'cite':null}},'body':_0x77c8b6,'br':_0x77c8b6,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x2804f6,'formmethod':_0x1b6e20,'formnovalidate':['novalidate'],'formtarget':_0x2e6a8f,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x77c8b6,'center':_0x77c8b6,'cite':_0x77c8b6,'code':_0x77c8b6,'col':{'attrs':{'span':null}},'colgroup':{'attrs':{'span':null}},'command':{'attrs':{'type':['command','checkbox','radio'],'label':null,'icon':null,'radiogroup':null,'command':null,'title':null,'disabled':['disabled'],'checked':['checked']}},'data':{'attrs':{'value':null}},'datagrid':{'attrs':{'disabled':['disabled'],'multiple':['multiple']}},'datalist':{'attrs':{'data':null}},'dd':_0x77c8b6,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x77c8b6,'div':_0x77c8b6,'dl':_0x77c8b6,'dt':_0x77c8b6,'em':_0x77c8b6,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x77c8b6,'figure':_0x77c8b6,'footer':_0x77c8b6,'form':{'attrs':{'action':null,'name':null,'accept-charset':_0x37f8ab,'autocomplete':['on','off'],'enctype':_0x2804f6,'method':_0x1b6e20,'novalidate':['novalidate'],'target':_0x2e6a8f}},'h1':_0x77c8b6,'h2':_0x77c8b6,'h3':_0x77c8b6,'h4':_0x77c8b6,'h5':_0x77c8b6,'h6':_0x77c8b6,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x77c8b6,'hgroup':_0x77c8b6,'hr':_0x77c8b6,'html':{'attrs':{'manifest':null}},'i':_0x77c8b6,'iframe':{'attrs':{'src':null,'srcdoc':null,'name':null,'width':null,'height':null,'sandbox':['allow-top-navigation','allow-same-origin','allow-forms','allow-scripts'],'seamless':['seamless']}},'img':{'attrs':{'alt':null,'src':null,'ismap':null,'usemap':null,'width':null,'height':null,'crossorigin':['anonymous','use-credentials']}},'input':{'attrs':{'alt':null,'dirname':null,'form':null,'formaction':null,'height':null,'list':null,'max':null,'maxlength':null,'min':null,'name':null,'pattern':null,'placeholder':null,'size':null,'src':null,'step':null,'value':null,'width':null,'accept':['audio/*','video/*','image/*'],'autocomplete':['on','off'],'autofocus':['autofocus'],'checked':['checked'],'disabled':['disabled'],'formenctype':_0x2804f6,'formmethod':_0x1b6e20,'formnovalidate':['novalidate'],'formtarget':_0x2e6a8f,'multiple':['multiple'],'readonly':['readonly'],'required':['required'],'type':['hidden','text','search','tel','url','email','password','datetime','date','month','week','time','datetime-local','number','range','color','checkbox','radio','file','submit','image','reset','button']}},'ins':{'attrs':{'cite':null,'datetime':null}},'kbd':_0x77c8b6,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x77c8b6,'li':{'attrs':{'value':null}},'link':{'attrs':{'href':null,'type':null,'hreflang':null,'media':null,'sizes':['all','16x16','16x16\x2032x32','16x16\x2032x32\x2064x64']}},'map':{'attrs':{'name':null}},'mark':_0x77c8b6,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':_0x37f8ab,'name':['viewport','application-name','author','description','generator','keywords'],'http-equiv':['content-language','content-type','default-style','refresh']}},'meter':{'attrs':{'value':null,'min':null,'low':null,'high':null,'max':null,'optimum':null}},'nav':_0x77c8b6,'noscript':_0x77c8b6,'object':{'attrs':{'data':null,'type':null,'name':null,'usemap':null,'form':null,'width':null,'height':null,'typemustmatch':['typemustmatch']}},'ol':{'attrs':{'reversed':['reversed'],'start':null,'type':['1','a','A','i','I']},'children':['li','script','template','ul','ol']},'optgroup':{'attrs':{'disabled':['disabled'],'label':null}},'option':{'attrs':{'disabled':['disabled'],'label':null,'selected':['selected'],'value':null}},'output':{'attrs':{'for':null,'form':null,'name':null}},'p':_0x77c8b6,'param':{'attrs':{'name':null,'value':null}},'pre':_0x77c8b6,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x77c8b6,'rt':_0x77c8b6,'ruby':_0x77c8b6,'samp':_0x77c8b6,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':_0x37f8ab}},'section':_0x77c8b6,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x77c8b6,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x77c8b6,'strong':_0x77c8b6,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x77c8b6,'summary':_0x77c8b6,'sup':_0x77c8b6,'table':_0x77c8b6,'tbody':_0x77c8b6,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x77c8b6,'textarea':{'attrs':{'dirname':null,'form':null,'maxlength':null,'name':null,'placeholder':null,'rows':null,'cols':null,'autofocus':['autofocus'],'disabled':['disabled'],'readonly':['readonly'],'required':['required'],'wrap':['soft','hard']}},'tfoot':_0x77c8b6,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x77c8b6,'time':{'attrs':{'datetime':null}},'title':_0x77c8b6,'tr':_0x77c8b6,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x77c8b6,'video':{'attrs':{'src':null,'poster':null,'width':null,'height':null,'crossorigin':['anonymous','use-credentials'],'preload':['auto','metadata','none'],'autoplay':['autoplay'],'mediagroup':['movie'],'muted':['muted'],'controls':['controls']}},'wbr':_0x77c8b6},_0x43ef1f={'accesskey':null,'class':null,'contenteditable':_0x25c69b,'contextmenu':null,'dir':['ltr','rtl','auto'],'draggable':['true','false','auto'],'dropzone':['copy','move','link','string:','file:'],'hidden':['hidden'],'id':null,'inert':['inert'],'itemid':null,'itemprop':null,'itemref':null,'itemscope':['itemscope'],'itemtype':null,'lang':['ar','bn','de','en-GB','en-US','es','fr','hi','id','ja','pa','pt','ru','tr','zh'],'spellcheck':_0x25c69b,'autocorrect':_0x25c69b,'autocapitalize':_0x25c69b,'style':null,'tabindex':null,'title':null,'translate':['yes','no'],'rel':['stylesheet','alternate','author','bookmark','help','license','next','nofollow','noreferrer','prefetch','prev','search','tag'],'role':'alert\x20application\x20article\x20banner\x20button\x20cell\x20checkbox\x20complementary\x20contentinfo\x20dialog\x20document\x20feed\x20figure\x20form\x20grid\x20gridcell\x20heading\x20img\x20list\x20listbox\x20listitem\x20main\x20navigation\x20region\x20row\x20rowgroup\x20search\x20switch\x20tab\x20table\x20tabpanel\x20textbox\x20timer'['split']('\x20'),'aria-activedescendant':null,'aria-atomic':_0x25c69b,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x25c69b,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x25c69b,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x25c69b,'aria-hidden':_0x25c69b,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x25c69b,'aria-multiselectable':_0x25c69b,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x25c69b,'aria-relevant':null,'aria-required':_0x25c69b,'aria-selected':['true','false','undefined'],'aria-setsize':null,'aria-sort':['ascending','descending','none','other'],'aria-valuemax':null,'aria-valuemin':null,'aria-valuenow':null,'aria-valuetext':null},_0xfec0f0='beforeunload\x20copy\x20cut\x20dragstart\x20dragover\x20dragleave\x20dragenter\x20dragend\x20drag\x20paste\x20focus\x20blur\x20change\x20click\x20load\x20mousedown\x20mouseenter\x20mouseleave\x20mouseup\x20keydown\x20keyup\x20resize\x20scroll\x20unload'['split']('\x20')['map'](_0x1fca75=>'on'+_0x1fca75);for(let _0x5819b3 of _0xfec0f0)_0x43ef1f[_0x5819b3]=null;var _0x3eab64=class{constructor(_0x3702e5,_0x4b2ff7){this['tags']={..._0x1a03be,..._0x3702e5},this['globalAttrs']={..._0x43ef1f,..._0x4b2ff7},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}};function _0x1ab4c1(_0xfbe956,_0x1a7ddb,_0x458f2c=_0xfbe956['length']){if(!_0x1a7ddb)return'';let _0x44b983=_0x1a7ddb['firstChild'],_0x31fc42=_0x44b983&&_0x44b983['getChild']('TagName');return _0x31fc42?_0xfbe956['sliceString'](_0x31fc42['from'],Math['min'](_0x31fc42['to'],_0x458f2c)):'';}function _0x30b614(_0x5abf63,_0x4e8bb1=!0x1){for(;_0x5abf63;_0x5abf63=_0x5abf63['parent'])if('Element'==_0x5abf63['name']){if(!_0x4e8bb1)return _0x5abf63;_0x4e8bb1=!0x1;}return null;}function _0x1038e6(_0x33236d,_0x2aee9c,_0x5a97be){let _0x341a55=_0x5a97be['tags'][_0x1ab4c1(_0x33236d,_0x30b614(_0x2aee9c))];return(null==_0x341a55?void 0x0:_0x341a55['children'])||_0x5a97be['allTags'];}function _0x108ac5(_0x2899a3,_0x5a4b5e){let _0x37a134=[];for(let _0x512a7e=_0x30b614(_0x5a4b5e);_0x512a7e&&!_0x512a7e['type']['isTop'];_0x512a7e=_0x30b614(_0x512a7e['parent'])){let _0xe8f637=_0x1ab4c1(_0x2899a3,_0x512a7e);if(_0xe8f637&&'CloseTag'==_0x512a7e['lastChild']['name'])break;_0xe8f637&&_0x37a134['indexOf'](_0xe8f637)<0x0&&('EndTag'==_0x5a4b5e['name']||_0x5a4b5e['from']>=_0x512a7e['firstChild']['to'])&&_0x37a134['push'](_0xe8f637);}return _0x37a134;}_0x3eab64['default']=new _0x3eab64();const _0x3e7297=/^[:\-\.\w\u00b7-\uffff]*$/;function _0x3f1b7e(_0x40bf5d,_0xe668fe,_0x37a473,_0x20dea0,_0x5d6a0f){let _0x20d9ab=/\s*>/['test'](_0x40bf5d['sliceDoc'](_0x5d6a0f,_0x5d6a0f+0x5))?'':'>',_0x509d8a=_0x30b614(_0x37a473,'StartTag'==_0x37a473['name']||'TagName'==_0x37a473['name']);return{'from':_0x20dea0,'to':_0x5d6a0f,'options':_0x1038e6(_0x40bf5d['doc'],_0x509d8a,_0xe668fe)['map'](_0x1f5b69=>({'label':_0x1f5b69,'type':'type'}))['concat'](_0x108ac5(_0x40bf5d['doc'],_0x37a473)['map']((_0x5f3c50,_0x5009c0)=>({'label':'/'+_0x5f3c50,'apply':'/'+_0x5f3c50+_0x20d9ab,'type':'type','boost':0x63-_0x5009c0}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function _0x3c2ea9(_0x548018,_0x1ea836,_0x470bf7,_0x11c13c){let _0x21fb24=/\s*>/['test'](_0x548018['sliceDoc'](_0x11c13c,_0x11c13c+0x5))?'':'>';return{'from':_0x470bf7,'to':_0x11c13c,'options':_0x108ac5(_0x548018['doc'],_0x1ea836)['map']((_0x48b677,_0x16c245)=>({'label':_0x48b677,'apply':_0x48b677+_0x21fb24,'type':'type','boost':0x63-_0x16c245})),'validFor':_0x3e7297};}function _0x3c95d9(_0x3428d5,_0x1d7e7a){let {state:_0x3747f8,pos:_0x5c6a27}=_0x1d7e7a,_0x16a322=_0x393d13(_0x3747f8)['resolveInner'](_0x5c6a27,-0x1),_0x34b9f0=_0x16a322['resolve'](_0x5c6a27);for(let _0x57a2a7,_0x5eb696=_0x5c6a27;_0x34b9f0==_0x16a322&&(_0x57a2a7=_0x16a322['childBefore'](_0x5eb696));){let _0x34cdb4=_0x57a2a7['lastChild'];if(!_0x34cdb4||!_0x34cdb4['type']['isError']||_0x34cdb4['from']<_0x34cdb4['to'])break;_0x34b9f0=_0x16a322=_0x57a2a7,_0x5eb696=_0x34cdb4['from'];}return'TagName'==_0x16a322['name']?_0x16a322['parent']&&/CloseTag$/['test'](_0x16a322['parent']['name'])?_0x3c2ea9(_0x3747f8,_0x16a322,_0x16a322['from'],_0x5c6a27):_0x3f1b7e(_0x3747f8,_0x3428d5,_0x16a322,_0x16a322['from'],_0x5c6a27):'StartTag'==_0x16a322['name']||'IncompleteTag'==_0x16a322['name']?_0x3f1b7e(_0x3747f8,_0x3428d5,_0x16a322,_0x5c6a27,_0x5c6a27):'StartCloseTag'==_0x16a322['name']||'IncompleteCloseTag'==_0x16a322['name']?_0x3c2ea9(_0x3747f8,_0x16a322,_0x5c6a27,_0x5c6a27):'OpenTag'==_0x16a322['name']||'SelfClosingTag'==_0x16a322['name']||'AttributeName'==_0x16a322['name']?function(_0x5b7220,_0x564659,_0x365a47,_0x16c929,_0x302124){let _0xd3b19d=_0x30b614(_0x365a47),_0xd57bf5=_0xd3b19d?_0x564659['tags'][_0x1ab4c1(_0x5b7220['doc'],_0xd3b19d)]:null,_0x419d4e=_0xd57bf5&&_0xd57bf5['attrs']?Object['keys'](_0xd57bf5['attrs']):[];return{'from':_0x16c929,'to':_0x302124,'options':(_0xd57bf5&&!0x1===_0xd57bf5['globalAttrs']?_0x419d4e:_0x419d4e['length']?_0x419d4e['concat'](_0x564659['globalAttrNames']):_0x564659['globalAttrNames'])['map'](_0x339a6d=>({'label':_0x339a6d,'type':'property'})),'validFor':_0x3e7297};}(_0x3747f8,_0x3428d5,_0x16a322,'AttributeName'==_0x16a322['name']?_0x16a322['from']:_0x5c6a27,_0x5c6a27):'Is'==_0x16a322['name']||'AttributeValue'==_0x16a322['name']||'UnquotedAttributeValue'==_0x16a322['name']?function(_0x58d847,_0x10bd9b,_0x1b0ff4,_0x51ffb5,_0x48412b){var _0x3794a2;let _0x3bbf6,_0x4497f0=null===(_0x3794a2=_0x1b0ff4['parent'])||void 0x0===_0x3794a2?void 0x0:_0x3794a2['getChild']('AttributeName'),_0x237d70=[];if(_0x4497f0){let _0x3dee29=_0x58d847['sliceDoc'](_0x4497f0['from'],_0x4497f0['to']),_0x212508=_0x10bd9b['globalAttrs'][_0x3dee29];if(!_0x212508){let _0x17b537=_0x30b614(_0x1b0ff4),_0x18ca5d=_0x17b537?_0x10bd9b['tags'][_0x1ab4c1(_0x58d847['doc'],_0x17b537)]:null;_0x212508=(null==_0x18ca5d?void 0x0:_0x18ca5d['attrs'])&&_0x18ca5d['attrs'][_0x3dee29];}if(_0x212508){let _0x17e994=_0x58d847['sliceDoc'](_0x51ffb5,_0x48412b)['toLowerCase'](),_0x21a605='\x22',_0x334e2f='\x22';/^['"]/['test'](_0x17e994)?(_0x3bbf6='\x22'==_0x17e994[0x0]?/^[^"]*$/:/^[^']*$/,_0x21a605='',_0x334e2f=_0x58d847['sliceDoc'](_0x48412b,_0x48412b+0x1)==_0x17e994[0x0]?'':_0x17e994[0x0],_0x17e994=_0x17e994['slice'](0x1),_0x51ffb5++):_0x3bbf6=/^[^\s<>='"]*$/;for(let _0x3166eb of _0x212508)_0x237d70['push']({'label':_0x3166eb,'apply':_0x21a605+_0x3166eb+_0x334e2f,'type':'constant'});}}return{'from':_0x51ffb5,'to':_0x48412b,'options':_0x237d70,'validFor':_0x3bbf6};}(_0x3747f8,_0x3428d5,_0x16a322,'Is'==_0x16a322['name']?_0x5c6a27:_0x16a322['from'],_0x5c6a27):!_0x1d7e7a['explicit']||'Element'!=_0x34b9f0['name']&&'Text'!=_0x34b9f0['name']&&'Document'!=_0x34b9f0['name']?null:function(_0x18a882,_0x52342e,_0x38f1cb,_0x5d2ce7){let _0x1ae823=[],_0x1776f4=0x0;for(let _0x53bd54 of _0x1038e6(_0x18a882['doc'],_0x38f1cb,_0x52342e))_0x1ae823['push']({'label':'<'+_0x53bd54,'type':'type'});for(let _0x5647ac of _0x108ac5(_0x18a882['doc'],_0x38f1cb))_0x1ae823['push']({'label':'</'+_0x5647ac+'>','type':'type','boost':0x63-_0x1776f4++});return{'from':_0x5d2ce7,'to':_0x5d2ce7,'options':_0x1ae823,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x3747f8,_0x3428d5,_0x16a322,_0x5c6a27);}function _0x35e835(_0x41c714){let {extraTags:_0x10e0a7,extraGlobalAttributes:_0x54d0a9}=_0x41c714,_0x5c5bcb=_0x54d0a9||_0x10e0a7?new _0x3eab64(_0x10e0a7,_0x54d0a9):_0x3eab64['default'];return _0x487598=>_0x3c95d9(_0x5c5bcb,_0x487598);}const _0x48d87b=_0x4261cf['parser']['configure']({'top':'SingleExpression'}),_0x350d2a=[{'tag':'script','attrs':_0x5abf7a=>'text/typescript'==_0x5abf7a['type']||'ts'==_0x5abf7a['lang'],'parser':_0x54fe01['parser']},{'tag':'script','attrs':_0x12fd2f=>'text/babel'==_0x12fd2f['type']||'text/jsx'==_0x12fd2f['type'],'parser':_0xaef12e['parser']},{'tag':'script','attrs':_0x5199ea=>'text/typescript-jsx'==_0x5199ea['type'],'parser':_0x57027d['parser']},{'tag':'script','attrs':_0x2fa607=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x2fa607['type']),'parser':_0x48d87b},{'tag':'script','attrs':_0x1f92a1=>!_0x1f92a1['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x1f92a1['type']),'parser':_0x4261cf['parser']},{'tag':'style','attrs':_0x12266e=>(!_0x12266e['lang']||'css'==_0x12266e['lang'])&&(!_0x12266e['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x12266e['type'])),'parser':_0x5e6c5d['parser']}],_0x31c882=[{'name':'style','parser':_0x5e6c5d['parser']['configure']({'top':'Styles'})}]['concat'](_0xfec0f0['map'](_0x2e8103=>({'name':_0x2e8103,'parser':_0x4261cf['parser']}))),_0x4d9c6d=_0x3bb26c['define']({'name':'html','parser':_0x55a0ac['configure']({'props':[_0x58ae01['add']({'Element'(_0x2c6244){let _0xe928f7=/^(\s*)(<\/)?/['exec'](_0x2c6244['textAfter']);return _0x2c6244['node']['to']<=_0x2c6244['pos']+_0xe928f7[0x0]['length']?_0x2c6244['continue']():_0x2c6244['lineIndent'](_0x2c6244['node']['from'])+(_0xe928f7[0x2]?0x0:_0x2c6244['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x1bb45f=>_0x1bb45f['column'](_0x1bb45f['node']['from'])+_0x1bb45f['unit'],'Document'(_0x44c70c){if(_0x44c70c['pos']+/\s*/['exec'](_0x44c70c['textAfter'])[0x0]['length']<_0x44c70c['node']['to'])return _0x44c70c['continue']();let _0x2049e9,_0x15ef4b=null;for(let _0x25d339=_0x44c70c['node'];;){let _0x44b91d=_0x25d339['lastChild'];if(!_0x44b91d||'Element'!=_0x44b91d['name']||_0x44b91d['to']!=_0x25d339['to'])break;_0x15ef4b=_0x25d339=_0x44b91d;}return _0x15ef4b&&(!(_0x2049e9=_0x15ef4b['lastChild'])||'CloseTag'!=_0x2049e9['name']&&'SelfClosingTag'!=_0x2049e9['name'])?_0x44c70c['lineIndent'](_0x15ef4b['from'])+_0x44c70c['unit']:null;}}),tj['add']({'Element'(_0x2c0b18){let _0x420454=_0x2c0b18['firstChild'],_0x44a894=_0x2c0b18['lastChild'];return _0x420454&&'OpenTag'==_0x420454['name']?{'from':_0x420454['to'],'to':'CloseTag'==_0x44a894['name']?_0x44a894['from']:_0x2c0b18['to']}:null;}}),_0x1239cb['add']({'OpenTag\x20CloseTag':_0x5a97d0=>_0x5a97d0['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'\x3c!--','close':'--\x3e'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),_0x1ac9d7=_0x4d9c6d['configure']({'wrap':_0x35887a(_0x350d2a,_0x31c882)});function _0x4cdf28(_0xf353b2={}){let _0x55d427,_0x2f6668='';return!0x1===_0xf353b2['matchClosingTags']&&(_0x2f6668='noMatch'),!0x0===_0xf353b2['selfClosingTags']&&(_0x2f6668=(_0x2f6668?_0x2f6668+'\x20':'')+'selfClosing'),(_0xf353b2['nestedLanguages']&&_0xf353b2['nestedLanguages']['length']||_0xf353b2['nestedAttributes']&&_0xf353b2['nestedAttributes']['length'])&&(_0x55d427=_0x35887a((_0xf353b2['nestedLanguages']||[])['concat'](_0x350d2a),(_0xf353b2['nestedAttributes']||[])['concat'](_0x31c882))),new _0x1faf41(_0x55d427?_0x4d9c6d['configure']({'wrap':_0x55d427,'dialect':_0x2f6668}):_0x2f6668?_0x1ac9d7['configure']({'dialect':_0x2f6668}):_0x1ac9d7,[_0x1ac9d7['data']['of']({'autocomplete':_0x35e835(_0xf353b2)}),!0x1!==_0xf353b2['autoCloseTags']?_0x244f3b:[],_0x1de4a9()['support'],new _0x1faf41(_0x5e6c5d,_0x5e6c5d['data']['of']({'autocomplete':_0x8675b0}))['support']]);}const _0x259677=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),_0x244f3b=_0x51f1f4['inputHandler']['of']((_0x5a0865,_0x4d4a16,_0x593c35,_0x590897,_0x919484)=>{if(_0x5a0865['composing']||_0x5a0865['state']['readOnly']||_0x4d4a16!=_0x593c35||'>'!=_0x590897&&'/'!=_0x590897||!_0x1ac9d7['isActiveAt'](_0x5a0865['state'],_0x4d4a16,-0x1))return!0x1;let _0x2f199d=_0x919484(),{state:_0x3a19e1}=_0x2f199d,_0x3b7509=_0x3a19e1['changeByRange'](_0x473f01=>{var _0xab15db,_0x35758b,_0x26f579;let _0x313fdf,_0x3993e1=_0x3a19e1['doc']['sliceString'](_0x473f01['from']-0x1,_0x473f01['to'])==_0x590897,{head:_0x3d23ed}=_0x473f01,_0x8cfe39=_0x393d13(_0x3a19e1)['resolveInner'](_0x3d23ed,-0x1);if(_0x3993e1&&'>'==_0x590897&&'EndTag'==_0x8cfe39['name']){let _0x3a8f5e=_0x8cfe39['parent'];if('CloseTag'!=(null===(_0x35758b=null===(_0xab15db=_0x3a8f5e['parent'])||void 0x0===_0xab15db?void 0x0:_0xab15db['lastChild'])||void 0x0===_0x35758b?void 0x0:_0x35758b['name'])&&(_0x313fdf=_0x1ab4c1(_0x3a19e1['doc'],_0x3a8f5e['parent'],_0x3d23ed))&&!_0x259677['has'](_0x313fdf))return{'range':_0x473f01,'changes':{'from':_0x3d23ed,'to':_0x3d23ed+('>'===_0x3a19e1['doc']['sliceString'](_0x3d23ed,_0x3d23ed+0x1)?0x1:0x0),'insert':'</'+_0x313fdf+'>'}};}else{if(_0x3993e1&&'/'==_0x590897&&'IncompleteCloseTag'==_0x8cfe39['name']){let _0x159cf7=_0x8cfe39['parent'];if(_0x8cfe39['from']==_0x3d23ed-0x2&&'CloseTag'!=(null===(_0x26f579=_0x159cf7['lastChild'])||void 0x0===_0x26f579?void 0x0:_0x26f579['name'])&&(_0x313fdf=_0x1ab4c1(_0x3a19e1['doc'],_0x159cf7,_0x3d23ed))&&!_0x259677['has'](_0x313fdf)){let _0x26b2fb=_0x3d23ed+('>'===_0x3a19e1['doc']['sliceString'](_0x3d23ed,_0x3d23ed+0x1)?0x1:0x0),_0x31f764=_0x313fdf+'>';return{'range':_0x3bda1f['cursor'](_0x3d23ed+_0x31f764['length'],-0x1),'changes':{'from':_0x3d23ed,'to':_0x26b2fb,'insert':_0x31f764}};}}}return{'range':_0x473f01};});return!_0x3b7509['changes']['empty']&&(_0x5a0865['dispatch']([_0x2f199d,_0x3a19e1['update'](_0x3b7509,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});var _0x43fb85,_0x29bae2=class CompositeBlock{static create(_0x15cfe5,_0x4519b4,_0x128175,_0x24fbc4,_0x26bd5e){return new CompositeBlock(_0x15cfe5,_0x4519b4,_0x128175,_0x24fbc4+(_0x24fbc4<<0x8)+_0x15cfe5+(_0x4519b4<<0x4)|0x0,_0x26bd5e,[],[]);}constructor(_0x43416a,_0x49390b,_0x4cddf,_0xe6b23c,_0x568fb2,_0x549a48,_0x4f5ed1){this['type']=_0x43416a,this['value']=_0x49390b,this['from']=_0x4cddf,this['hash']=_0xe6b23c,this['end']=_0x568fb2,this['children']=_0x549a48,this['positions']=_0x4f5ed1,this['hashProp']=[[_0x320816['contextHash'],_0xe6b23c]];}['addChild'](_0x2b6586,_0x431885){_0x2b6586['prop'](_0x320816['contextHash'])!=this['hash']&&(_0x2b6586=new _0x553c0c(_0x2b6586['type'],_0x2b6586['children'],_0x2b6586['positions'],_0x2b6586['length'],this['hashProp'])),this['children']['push'](_0x2b6586),this['positions']['push'](_0x431885);}toTree(_0x2a5d0d,_0x34afa5=this['end']){let _0x2725b4=this['children']['length']-0x1;return _0x2725b4>=0x0&&(_0x34afa5=Math['max'](_0x34afa5,this['positions'][_0x2725b4]+this['children'][_0x2725b4]['length']+this['from'])),new _0x553c0c(_0x2a5d0d['types'][this['type']],this['children'],this['positions'],_0x34afa5-this['from'])['balance']({'makeTree':(_0x599728,_0x3cc056,_0x4cdb87)=>new _0x553c0c(_0x4a1e51['none'],_0x599728,_0x3cc056,_0x4cdb87,this['hashProp'])});}};!function(_0x14027d){_0x14027d[_0x14027d['Document']=0x1]='Document',_0x14027d[_0x14027d['CodeBlock']=0x2]='CodeBlock',_0x14027d[_0x14027d['FencedCode']=0x3]='FencedCode',_0x14027d[_0x14027d['Blockquote']=0x4]='Blockquote',_0x14027d[_0x14027d['HorizontalRule']=0x5]='HorizontalRule',_0x14027d[_0x14027d['BulletList']=0x6]='BulletList',_0x14027d[_0x14027d['OrderedList']=0x7]='OrderedList',_0x14027d[_0x14027d['ListItem']=0x8]='ListItem',_0x14027d[_0x14027d['ATXHeading1']=0x9]='ATXHeading1',_0x14027d[_0x14027d['ATXHeading2']=0xa]='ATXHeading2',_0x14027d[_0x14027d['ATXHeading3']=0xb]='ATXHeading3',_0x14027d[_0x14027d['ATXHeading4']=0xc]='ATXHeading4',_0x14027d[_0x14027d['ATXHeading5']=0xd]='ATXHeading5',_0x14027d[_0x14027d['ATXHeading6']=0xe]='ATXHeading6',_0x14027d[_0x14027d['SetextHeading1']=0xf]='SetextHeading1',_0x14027d[_0x14027d['SetextHeading2']=0x10]='SetextHeading2',_0x14027d[_0x14027d['HTMLBlock']=0x11]='HTMLBlock',_0x14027d[_0x14027d['LinkReference']=0x12]='LinkReference',_0x14027d[_0x14027d['Paragraph']=0x13]='Paragraph',_0x14027d[_0x14027d['CommentBlock']=0x14]='CommentBlock',_0x14027d[_0x14027d['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x14027d[_0x14027d['Escape']=0x16]='Escape',_0x14027d[_0x14027d['Entity']=0x17]='Entity',_0x14027d[_0x14027d['HardBreak']=0x18]='HardBreak',_0x14027d[_0x14027d['Emphasis']=0x19]='Emphasis',_0x14027d[_0x14027d['StrongEmphasis']=0x1a]='StrongEmphasis',_0x14027d[_0x14027d['Link']=0x1b]='Link',_0x14027d[_0x14027d['Image']=0x1c]='Image',_0x14027d[_0x14027d['InlineCode']=0x1d]='InlineCode',_0x14027d[_0x14027d['HTMLTag']=0x1e]='HTMLTag',_0x14027d[_0x14027d['Comment']=0x1f]='Comment',_0x14027d[_0x14027d['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x14027d[_0x14027d['Autolink']=0x21]='Autolink',_0x14027d[_0x14027d['HeaderMark']=0x22]='HeaderMark',_0x14027d[_0x14027d['QuoteMark']=0x23]='QuoteMark',_0x14027d[_0x14027d['ListMark']=0x24]='ListMark',_0x14027d[_0x14027d['LinkMark']=0x25]='LinkMark',_0x14027d[_0x14027d['EmphasisMark']=0x26]='EmphasisMark',_0x14027d[_0x14027d['CodeMark']=0x27]='CodeMark',_0x14027d[_0x14027d['CodeText']=0x28]='CodeText',_0x14027d[_0x14027d['CodeInfo']=0x29]='CodeInfo',_0x14027d[_0x14027d['LinkTitle']=0x2a]='LinkTitle',_0x14027d[_0x14027d['LinkLabel']=0x2b]='LinkLabel',_0x14027d[_0x14027d['URL']=0x2c]='URL';}(_0x43fb85||(_0x43fb85={}));var _0x2eb20f=class{constructor(_0x5d9305,_0x2f9274){this['start']=_0x5d9305,this['content']=_0x2f9274,this['marks']=[],this['parsers']=[];}},_0x3eeabf=class{constructor(){this['text']='',this['baseIndent']=0x0,this['basePos']=0x0,this['depth']=0x0,this['markers']=[],this['pos']=0x0,this['indent']=0x0,this['next']=-0x1;}['forward'](){this['basePos']>this['pos']&&this['forwardInner']();}['forwardInner'](){let _0x5525f1=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x5525f1,this['pos'],this['indent']),this['pos']=_0x5525f1,this['next']=_0x5525f1==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x5525f1);}['skipSpace'](_0x4e739c){return _0x96782f(this['text'],_0x4e739c);}reset(_0x251309){for(this['text']=_0x251309,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x2f478a){this['basePos']=_0x2f478a,this['baseIndent']=this['countIndent'](_0x2f478a,this['pos'],this['indent']);}['moveBaseColumn'](_0x56932f){this['baseIndent']=_0x56932f,this['basePos']=this['findColumn'](_0x56932f);}['addMarker'](_0x55411a){this['markers']['push'](_0x55411a);}countIndent(_0x1c2178,_0x161f29=0x0,_0x13084f=0x0){for(let _0x32fcb6=_0x161f29;_0x32fcb6<_0x1c2178;_0x32fcb6++)_0x13084f+=0x9==this['text']['charCodeAt'](_0x32fcb6)?0x4-_0x13084f%0x4:0x1;return _0x13084f;}['findColumn'](_0xc67d99){let _0x2a3794=0x0;for(let _0x529f7a=0x0;_0x2a3794<this['text']['length']&&_0x529f7a<_0xc67d99;_0x2a3794++)_0x529f7a+=0x9==this['text']['charCodeAt'](_0x2a3794)?0x4-_0x529f7a%0x4:0x1;return _0x2a3794;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x31657f='';for(let _0x2ae98d=0x0;_0x2ae98d<this['basePos'];_0x2ae98d++)_0x31657f+='\x20';return _0x31657f+this['text']['slice'](this['basePos']);}};function _0x4e9feb(_0x284fa8,_0x3b02ce,_0x16cf82){if(_0x16cf82['pos']==_0x16cf82['text']['length']||_0x284fa8!=_0x3b02ce['block']&&_0x16cf82['indent']>=_0x3b02ce['stack'][_0x16cf82['depth']+0x1]['value']+_0x16cf82['baseIndent'])return!0x0;if(_0x16cf82['indent']>=_0x16cf82['baseIndent']+0x4)return!0x1;let _0x2b9d53=(_0x284fa8['type']==_0x43fb85['OrderedList']?_0x2b2730:_0x5ea1d0)(_0x16cf82,_0x3b02ce,!0x1);return _0x2b9d53>0x0&&(_0x284fa8['type']!=_0x43fb85['BulletList']||_0xf0cbd3(_0x16cf82,_0x3b02ce,!0x1)<0x0)&&_0x16cf82['text']['charCodeAt'](_0x16cf82['pos']+_0x2b9d53-0x1)==_0x284fa8['value'];}const _0x428fb9={[_0x43fb85['Blockquote']]:(_0x4462bf,_0x13805d,_0x369ee1)=>0x3e==_0x369ee1['next']&&(_0x369ee1['markers']['push'](_0x488535(_0x43fb85['QuoteMark'],_0x13805d['lineStart']+_0x369ee1['pos'],_0x13805d['lineStart']+_0x369ee1['pos']+0x1)),_0x369ee1['moveBase'](_0x369ee1['pos']+(_0x38aea1(_0x369ee1['text']['charCodeAt'](_0x369ee1['pos']+0x1))?0x2:0x1)),_0x4462bf['end']=_0x13805d['lineStart']+_0x369ee1['text']['length'],!0x0),[_0x43fb85['ListItem']]:(_0x4aad5e,_0x38e637,_0x37accd)=>!(_0x37accd['indent']<_0x37accd['baseIndent']+_0x4aad5e['value']&&_0x37accd['next']>-0x1)&&(_0x37accd['moveBaseColumn'](_0x37accd['baseIndent']+_0x4aad5e['value']),!0x0),[_0x43fb85['OrderedList']]:_0x4e9feb,[_0x43fb85['BulletList']]:_0x4e9feb,[_0x43fb85['Document']]:()=>!0x0};function _0x38aea1(_0x5207d2){return 0x20==_0x5207d2||0x9==_0x5207d2||0xa==_0x5207d2||0xd==_0x5207d2;}function _0x96782f(_0x10926a,_0x3b4ff1=0x0){for(;_0x3b4ff1<_0x10926a['length']&&_0x38aea1(_0x10926a['charCodeAt'](_0x3b4ff1));)_0x3b4ff1++;return _0x3b4ff1;}function _0x5074fd(_0x1a09fc,_0x2a6794,_0x21195f){for(;_0x2a6794>_0x21195f&&_0x38aea1(_0x1a09fc['charCodeAt'](_0x2a6794-0x1));)_0x2a6794--;return _0x2a6794;}function _0x550801(_0x1ab670){if(0x60!=_0x1ab670['next']&&0x7e!=_0x1ab670['next'])return-0x1;let _0x1ab1aa=_0x1ab670['pos']+0x1;for(;_0x1ab1aa<_0x1ab670['text']['length']&&_0x1ab670['text']['charCodeAt'](_0x1ab1aa)==_0x1ab670['next'];)_0x1ab1aa++;if(_0x1ab1aa<_0x1ab670['pos']+0x3)return-0x1;if(0x60==_0x1ab670['next']){for(let _0x53e299=_0x1ab1aa;_0x53e299<_0x1ab670['text']['length'];_0x53e299++)if(0x60==_0x1ab670['text']['charCodeAt'](_0x53e299))return-0x1;}return _0x1ab1aa;}function _0x2c22f2(_0x355588){return 0x3e!=_0x355588['next']?-0x1:0x20==_0x355588['text']['charCodeAt'](_0x355588['pos']+0x1)?0x2:0x1;}function _0xf0cbd3(_0x1b87fb,_0x2dbdd8,_0x3f1120){if(0x2a!=_0x1b87fb['next']&&0x2d!=_0x1b87fb['next']&&0x5f!=_0x1b87fb['next'])return-0x1;let _0x563f84=0x1;for(let _0x2b94cd=_0x1b87fb['pos']+0x1;_0x2b94cd<_0x1b87fb['text']['length'];_0x2b94cd++){let _0x32502a=_0x1b87fb['text']['charCodeAt'](_0x2b94cd);if(_0x32502a==_0x1b87fb['next'])_0x563f84++;else{if(!_0x38aea1(_0x32502a))return-0x1;}}return _0x3f1120&&0x2d==_0x1b87fb['next']&&_0x2b7aec(_0x1b87fb)>-0x1&&_0x1b87fb['depth']==_0x2dbdd8['stack']['length']&&_0x2dbdd8['parser']['leafBlockParsers']['indexOf'](_0x2b136a['SetextHeading'])>-0x1||_0x563f84<0x3?-0x1:0x1;}function tG(_0x3cda67,_0xae28){for(let _0x4d425a=_0x3cda67['stack']['length']-0x1;_0x4d425a>=0x0;_0x4d425a--)if(_0x3cda67['stack'][_0x4d425a]['type']==_0xae28)return!0x0;return!0x1;}function _0x5ea1d0(_0x39a2dd,_0x1c7975,_0x1eaa4e){return 0x2d!=_0x39a2dd['next']&&0x2b!=_0x39a2dd['next']&&0x2a!=_0x39a2dd['next']||_0x39a2dd['pos']!=_0x39a2dd['text']['length']-0x1&&!_0x38aea1(_0x39a2dd['text']['charCodeAt'](_0x39a2dd['pos']+0x1))||!(!_0x1eaa4e||tG(_0x1c7975,_0x43fb85['BulletList'])||_0x39a2dd['skipSpace'](_0x39a2dd['pos']+0x2)<_0x39a2dd['text']['length'])?-0x1:0x1;}function _0x2b2730(_0x497766,_0x4b791b,_0x30af04){let _0x2b63ab=_0x497766['pos'],_0x5e2622=_0x497766['next'];for(;_0x5e2622>=0x30&&_0x5e2622<=0x39;){if(_0x2b63ab++,_0x2b63ab==_0x497766['text']['length'])return-0x1;_0x5e2622=_0x497766['text']['charCodeAt'](_0x2b63ab);}return _0x2b63ab==_0x497766['pos']||_0x2b63ab>_0x497766['pos']+0x9||0x2e!=_0x5e2622&&0x29!=_0x5e2622||_0x2b63ab<_0x497766['text']['length']-0x1&&!_0x38aea1(_0x497766['text']['charCodeAt'](_0x2b63ab+0x1))||_0x30af04&&!tG(_0x4b791b,_0x43fb85['OrderedList'])&&(_0x497766['skipSpace'](_0x2b63ab+0x1)==_0x497766['text']['length']||_0x2b63ab>_0x497766['pos']+0x1||0x31!=_0x497766['next'])?-0x1:_0x2b63ab+0x1-_0x497766['pos'];}function _0x13b019(_0xf3d0e0){if(0x23!=_0xf3d0e0['next'])return-0x1;let _0x23d3f6=_0xf3d0e0['pos']+0x1;for(;_0x23d3f6<_0xf3d0e0['text']['length']&&0x23==_0xf3d0e0['text']['charCodeAt'](_0x23d3f6);)_0x23d3f6++;if(_0x23d3f6<_0xf3d0e0['text']['length']&&0x20!=_0xf3d0e0['text']['charCodeAt'](_0x23d3f6))return-0x1;let _0x4dccb9=_0x23d3f6-_0xf3d0e0['pos'];return _0x4dccb9>0x6?-0x1:_0x4dccb9;}function _0x2b7aec(_0x4bff98){if(0x2d!=_0x4bff98['next']&&0x3d!=_0x4bff98['next']||_0x4bff98['indent']>=_0x4bff98['baseIndent']+0x4)return-0x1;let _0x62a836=_0x4bff98['pos']+0x1;for(;_0x62a836<_0x4bff98['text']['length']&&_0x4bff98['text']['charCodeAt'](_0x62a836)==_0x4bff98['next'];)_0x62a836++;let _0x5d9cdc=_0x62a836;for(;_0x62a836<_0x4bff98['text']['length']&&_0x38aea1(_0x4bff98['text']['charCodeAt'](_0x62a836));)_0x62a836++;return _0x62a836==_0x4bff98['text']['length']?_0x5d9cdc:-0x1;}const _0x2d50c3=/^[ \t]*$/,_0x398c05=/-->/,_0x281411=/\?>/,_0x2e32a0=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,_0x398c05],[/^\s*<\?/,_0x281411],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,_0x2d50c3],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,_0x2d50c3]];function _0x15adf1(_0x30b808,_0x40c43f,_0x4913d9){if(0x3c!=_0x30b808['next'])return-0x1;let _0xcff562=_0x30b808['text']['slice'](_0x30b808['pos']);for(let _0x4ddad5=0x0,_0x4e7fc8=_0x2e32a0['length']-(_0x4913d9?0x1:0x0);_0x4ddad5<_0x4e7fc8;_0x4ddad5++)if(_0x2e32a0[_0x4ddad5][0x0]['test'](_0xcff562))return _0x4ddad5;return-0x1;}function _0x3a47f8(_0x4a3241,_0x2d060f){let _0x48a539=_0x4a3241['countIndent'](_0x2d060f,_0x4a3241['pos'],_0x4a3241['indent']),_0x209e1c=_0x4a3241['countIndent'](_0x4a3241['skipSpace'](_0x2d060f),_0x2d060f,_0x48a539);return _0x209e1c>=_0x48a539+0x5?_0x48a539+0x1:_0x209e1c;}function _0x2ad072(_0x38c5aa,_0x476b5d,_0x3b4c86){let _0x533e03=_0x38c5aa['length']-0x1;_0x533e03>=0x0&&_0x38c5aa[_0x533e03]['to']==_0x476b5d&&_0x38c5aa[_0x533e03]['type']==_0x43fb85['CodeText']?_0x38c5aa[_0x533e03]['to']=_0x3b4c86:_0x38c5aa['push'](_0x488535(_0x43fb85['CodeText'],_0x476b5d,_0x3b4c86));}const _0x232262={'LinkReference':void 0x0,'IndentedCode'(_0x120cef,_0x4b6666){let _0x1a5846=_0x4b6666['baseIndent']+0x4;if(_0x4b6666['indent']<_0x1a5846)return!0x1;let _0x1950e8=_0x4b6666['findColumn'](_0x1a5846),_0x400c08=_0x120cef['lineStart']+_0x1950e8,_0x435441=_0x120cef['lineStart']+_0x4b6666['text']['length'],_0x474420=[],_0x313c2e=[];for(_0x2ad072(_0x474420,_0x400c08,_0x435441);_0x120cef['nextLine']()&&_0x4b6666['depth']>=_0x120cef['stack']['length'];)if(_0x4b6666['pos']==_0x4b6666['text']['length']){_0x2ad072(_0x313c2e,_0x120cef['lineStart']-0x1,_0x120cef['lineStart']);for(let _0x190aa7 of _0x4b6666['markers'])_0x313c2e['push'](_0x190aa7);}else{if(_0x4b6666['indent']<_0x1a5846)break;{if(_0x313c2e['length']){for(let _0x270bd0 of _0x313c2e)_0x270bd0['type']==_0x43fb85['CodeText']?_0x2ad072(_0x474420,_0x270bd0['from'],_0x270bd0['to']):_0x474420['push'](_0x270bd0);_0x313c2e=[];}_0x2ad072(_0x474420,_0x120cef['lineStart']-0x1,_0x120cef['lineStart']);for(let _0xa94e8a of _0x4b6666['markers'])_0x474420['push'](_0xa94e8a);_0x435441=_0x120cef['lineStart']+_0x4b6666['text']['length'];let _0x5a566c=_0x120cef['lineStart']+_0x4b6666['findColumn'](_0x4b6666['baseIndent']+0x4);_0x5a566c<_0x435441&&_0x2ad072(_0x474420,_0x5a566c,_0x435441);}}return _0x313c2e['length']&&(_0x313c2e=_0x313c2e['filter'](_0x53a2d7=>_0x53a2d7['type']!=_0x43fb85['CodeText']),_0x313c2e['length']&&(_0x4b6666['markers']=_0x313c2e['concat'](_0x4b6666['markers']))),_0x120cef['addNode'](_0x120cef['buffer']['writeElements'](_0x474420,-_0x400c08)['finish'](_0x43fb85['CodeBlock'],_0x435441-_0x400c08),_0x400c08),!0x0;},'FencedCode'(_0x1a5e6a,_0xabf91){let _0x41118e=_0x550801(_0xabf91);if(_0x41118e<0x0)return!0x1;let _0x45446=_0x1a5e6a['lineStart']+_0xabf91['pos'],_0xf0230f=_0xabf91['next'],_0xc8bd=_0x41118e-_0xabf91['pos'],_0x1464a9=_0xabf91['skipSpace'](_0x41118e),_0x469502=_0x5074fd(_0xabf91['text'],_0xabf91['text']['length'],_0x1464a9),_0x20aeec=[_0x488535(_0x43fb85['CodeMark'],_0x45446,_0x45446+_0xc8bd)];_0x1464a9<_0x469502&&_0x20aeec['push'](_0x488535(_0x43fb85['CodeInfo'],_0x1a5e6a['lineStart']+_0x1464a9,_0x1a5e6a['lineStart']+_0x469502));for(let _0x2336d6=!0x0,_0x2a1b9f=!0x0,_0x44f0dc=!0x1;_0x1a5e6a['nextLine']()&&_0xabf91['depth']>=_0x1a5e6a['stack']['length'];_0x2336d6=!0x1){let _0x246120=_0xabf91['pos'];if(_0xabf91['indent']-_0xabf91['baseIndent']<0x4){for(;_0x246120<_0xabf91['text']['length']&&_0xabf91['text']['charCodeAt'](_0x246120)==_0xf0230f;)_0x246120++;}if(_0x246120-_0xabf91['pos']>=_0xc8bd&&_0xabf91['skipSpace'](_0x246120)==_0xabf91['text']['length']){for(let _0x1493c0 of _0xabf91['markers'])_0x20aeec['push'](_0x1493c0);_0x2a1b9f&&_0x44f0dc&&_0x2ad072(_0x20aeec,_0x1a5e6a['lineStart']-0x1,_0x1a5e6a['lineStart']),_0x20aeec['push'](_0x488535(_0x43fb85['CodeMark'],_0x1a5e6a['lineStart']+_0xabf91['pos'],_0x1a5e6a['lineStart']+_0x246120)),_0x1a5e6a['nextLine']();break;}{_0x44f0dc=!0x0,_0x2336d6||(_0x2ad072(_0x20aeec,_0x1a5e6a['lineStart']-0x1,_0x1a5e6a['lineStart']),_0x2a1b9f=!0x1);for(let _0x45b83f of _0xabf91['markers'])_0x20aeec['push'](_0x45b83f);let _0xb25eb2=_0x1a5e6a['lineStart']+_0xabf91['basePos'],_0x500258=_0x1a5e6a['lineStart']+_0xabf91['text']['length'];_0xb25eb2<_0x500258&&(_0x2ad072(_0x20aeec,_0xb25eb2,_0x500258),_0x2a1b9f=!0x1);}}return _0x1a5e6a['addNode'](_0x1a5e6a['buffer']['writeElements'](_0x20aeec,-_0x45446)['finish'](_0x43fb85['FencedCode'],_0x1a5e6a['prevLineEnd']()-_0x45446),_0x45446),!0x0;},'Blockquote'(_0x5a03ea,_0x12ca46){let _0x16066b=_0x2c22f2(_0x12ca46);return!(_0x16066b<0x0)&&(_0x5a03ea['startContext'](_0x43fb85['Blockquote'],_0x12ca46['pos']),_0x5a03ea['addNode'](_0x43fb85['QuoteMark'],_0x5a03ea['lineStart']+_0x12ca46['pos'],_0x5a03ea['lineStart']+_0x12ca46['pos']+0x1),_0x12ca46['moveBase'](_0x12ca46['pos']+_0x16066b),null);},'HorizontalRule'(_0x2796ae,_0x2d8860){if(_0xf0cbd3(_0x2d8860,_0x2796ae,!0x1)<0x0)return!0x1;let _0x337faf=_0x2796ae['lineStart']+_0x2d8860['pos'];return _0x2796ae['nextLine'](),_0x2796ae['addNode'](_0x43fb85['HorizontalRule'],_0x337faf),!0x0;},'BulletList'(_0x17afdb,_0x17d5f7){let _0x5850aa=_0x5ea1d0(_0x17d5f7,_0x17afdb,!0x1);if(_0x5850aa<0x0)return!0x1;_0x17afdb['block']['type']!=_0x43fb85['BulletList']&&_0x17afdb['startContext'](_0x43fb85['BulletList'],_0x17d5f7['basePos'],_0x17d5f7['next']);let _0x4e6f92=_0x3a47f8(_0x17d5f7,_0x17d5f7['pos']+0x1);return _0x17afdb['startContext'](_0x43fb85['ListItem'],_0x17d5f7['basePos'],_0x4e6f92-_0x17d5f7['baseIndent']),_0x17afdb['addNode'](_0x43fb85['ListMark'],_0x17afdb['lineStart']+_0x17d5f7['pos'],_0x17afdb['lineStart']+_0x17d5f7['pos']+_0x5850aa),_0x17d5f7['moveBaseColumn'](_0x4e6f92),null;},'OrderedList'(_0x44429a,_0x25ad99){let _0x597ffa=_0x2b2730(_0x25ad99,_0x44429a,!0x1);if(_0x597ffa<0x0)return!0x1;_0x44429a['block']['type']!=_0x43fb85['OrderedList']&&_0x44429a['startContext'](_0x43fb85['OrderedList'],_0x25ad99['basePos'],_0x25ad99['text']['charCodeAt'](_0x25ad99['pos']+_0x597ffa-0x1));let _0x880225=_0x3a47f8(_0x25ad99,_0x25ad99['pos']+_0x597ffa);return _0x44429a['startContext'](_0x43fb85['ListItem'],_0x25ad99['basePos'],_0x880225-_0x25ad99['baseIndent']),_0x44429a['addNode'](_0x43fb85['ListMark'],_0x44429a['lineStart']+_0x25ad99['pos'],_0x44429a['lineStart']+_0x25ad99['pos']+_0x597ffa),_0x25ad99['moveBaseColumn'](_0x880225),null;},'ATXHeading'(_0x145b90,_0x3431bc){let _0xac608f=_0x13b019(_0x3431bc);if(_0xac608f<0x0)return!0x1;let _0x59538d=_0x3431bc['pos'],_0x2a961f=_0x145b90['lineStart']+_0x59538d,_0x35d675=_0x5074fd(_0x3431bc['text'],_0x3431bc['text']['length'],_0x59538d),_0x128f5f=_0x35d675;for(;_0x128f5f>_0x59538d&&_0x3431bc['text']['charCodeAt'](_0x128f5f-0x1)==_0x3431bc['next'];)_0x128f5f--;_0x128f5f!=_0x35d675&&_0x128f5f!=_0x59538d&&_0x38aea1(_0x3431bc['text']['charCodeAt'](_0x128f5f-0x1))||(_0x128f5f=_0x3431bc['text']['length']);let _0x54b8b3=_0x145b90['buffer']['write'](_0x43fb85['HeaderMark'],0x0,_0xac608f)['writeElements'](_0x145b90['parser']['parseInline'](_0x3431bc['text']['slice'](_0x59538d+_0xac608f+0x1,_0x128f5f),_0x2a961f+_0xac608f+0x1),-_0x2a961f);_0x128f5f<_0x3431bc['text']['length']&&_0x54b8b3['write'](_0x43fb85['HeaderMark'],_0x128f5f-_0x59538d,_0x35d675-_0x59538d);let _0x14c010=_0x54b8b3['finish'](_0x43fb85['ATXHeading1']-0x1+_0xac608f,_0x3431bc['text']['length']-_0x59538d);return _0x145b90['nextLine'](),_0x145b90['addNode'](_0x14c010,_0x2a961f),!0x0;},'HTMLBlock'(_0x428a20,_0x1ff887){let _0x222798=_0x15adf1(_0x1ff887,0x0,!0x1);if(_0x222798<0x0)return!0x1;let _0x38161c=_0x428a20['lineStart']+_0x1ff887['pos'],_0x2b2341=_0x2e32a0[_0x222798][0x1],_0x4059b5=[],_0x40af82=_0x2b2341!=_0x2d50c3;for(;!_0x2b2341['test'](_0x1ff887['text'])&&_0x428a20['nextLine']();){if(_0x1ff887['depth']<_0x428a20['stack']['length']){_0x40af82=!0x1;break;}for(let _0xfd61a2 of _0x1ff887['markers'])_0x4059b5['push'](_0xfd61a2);}_0x40af82&&_0x428a20['nextLine']();let _0x38b9a4=_0x2b2341==_0x398c05?_0x43fb85['CommentBlock']:_0x2b2341==_0x281411?_0x43fb85['ProcessingInstructionBlock']:_0x43fb85['HTMLBlock'],_0x19113e=_0x428a20['prevLineEnd']();return _0x428a20['addNode'](_0x428a20['buffer']['writeElements'](_0x4059b5,-_0x38161c)['finish'](_0x38b9a4,_0x19113e-_0x38161c),_0x38161c),!0x0;},'SetextHeading':void 0x0};var _0x36566f=class{constructor(_0x229d37){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x229d37['start'],this['advance'](_0x229d37['content']);}nextLine(_0x3d1937,_0x21505b,_0x25c3b4){if(-0x1==this['stage'])return!0x1;let _0x561ad8=_0x25c3b4['content']+'\x0a'+_0x21505b['scrub'](),_0x1d56f4=this['advance'](_0x561ad8);return _0x1d56f4>-0x1&&_0x1d56f4<_0x561ad8['length']&&this['complete'](_0x3d1937,_0x25c3b4,_0x1d56f4);}['finish'](_0xe8d4f8,_0x45a155){return(0x2==this['stage']||0x3==this['stage'])&&_0x96782f(_0x45a155['content'],this['pos'])==_0x45a155['content']['length']&&this['complete'](_0xe8d4f8,_0x45a155,_0x45a155['content']['length']);}complete(_0x44a7a4,_0xc68f08,_0x8175ae){return _0x44a7a4['addLeafElement'](_0xc68f08,_0x488535(_0x43fb85['LinkReference'],this['start'],this['start']+_0x8175ae,this['elts'])),!0x0;}nextStage(_0x4aacde){return _0x4aacde?(this['pos']=_0x4aacde['to']-this['start'],this['elts']['push'](_0x4aacde),this['stage']++,!0x0):(!0x1===_0x4aacde&&(this['stage']=-0x1),!0x1);}['advance'](_0x3d1ee6){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x52f718(_0x3d1ee6,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x3d1ee6['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](_0x488535(_0x43fb85['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x59ba64=_0x96782f(_0x3d1ee6,this['pos']),_0x10a3bd=0x0;if(_0x59ba64>this['pos']){let _0x4f5c9f=_0x4dde90(_0x3d1ee6,_0x59ba64,this['start']);if(_0x4f5c9f){let _0x4c5842=_0x30d457(_0x3d1ee6,_0x4f5c9f['to']-this['start']);_0x4c5842>0x0&&(this['nextStage'](_0x4f5c9f),_0x10a3bd=_0x4c5842);}}return _0x10a3bd||(_0x10a3bd=_0x30d457(_0x3d1ee6,this['pos'])),_0x10a3bd>0x0&&_0x10a3bd<_0x3d1ee6['length']?_0x10a3bd:-0x1;}return _0x30d457(_0x3d1ee6,this['pos']);}if(!this['nextStage'](_0x1ea11a(_0x3d1ee6,_0x96782f(_0x3d1ee6,this['pos']),this['start'])))return-0x1;}}}};function _0x30d457(_0xd2382d,_0x23c2f9){for(;_0x23c2f9<_0xd2382d['length'];_0x23c2f9++){let _0x1953b9=_0xd2382d['charCodeAt'](_0x23c2f9);if(0xa==_0x1953b9)break;if(!_0x38aea1(_0x1953b9))return-0x1;}return _0x23c2f9;}var _0x5cf5ee=class{nextLine(_0x56f623,_0x234739,_0x3e8037){let _0x3df5f6=_0x234739['depth']<_0x56f623['stack']['length']?-0x1:_0x2b7aec(_0x234739),_0x2f8f86=_0x234739['next'];if(_0x3df5f6<0x0)return!0x1;let _0x233c9b=_0x488535(_0x43fb85['HeaderMark'],_0x56f623['lineStart']+_0x234739['pos'],_0x56f623['lineStart']+_0x3df5f6);return _0x56f623['nextLine'](),_0x56f623['addLeafElement'](_0x3e8037,_0x488535(0x3d==_0x2f8f86?_0x43fb85['SetextHeading1']:_0x43fb85['SetextHeading2'],_0x3e8037['start'],_0x56f623['prevLineEnd'](),[..._0x56f623['parser']['parseInline'](_0x3e8037['content'],_0x3e8037['start']),_0x233c9b])),!0x0;}['finish'](){return!0x1;}};const _0x2b136a={'LinkReference':(_0xe5c1e0,_0x1886a3)=>0x5b==_0x1886a3['content']['charCodeAt'](0x0)?new _0x36566f(_0x1886a3):null,'SetextHeading':()=>new _0x5cf5ee()},_0x24d6c2=[(_0x5da29b,_0x1f5051)=>_0x13b019(_0x1f5051)>=0x0,(_0x46c9bb,_0x2480da)=>_0x550801(_0x2480da)>=0x0,(_0xf4c207,_0x3780e7)=>_0x2c22f2(_0x3780e7)>=0x0,(_0x5c8c1b,_0x29d630)=>_0x5ea1d0(_0x29d630,_0x5c8c1b,!0x0)>=0x0,(_0x520dd5,_0x540a3f)=>_0x2b2730(_0x540a3f,_0x520dd5,!0x0)>=0x0,(_0x4dacb8,_0x182617)=>_0xf0cbd3(_0x182617,_0x4dacb8,!0x0)>=0x0,(_0x331cae,_0x443803)=>_0x15adf1(_0x443803,0x0,!0x0)>=0x0],_0x3421d4={'text':'','end':0x0};var _0x5cd7c2=class{constructor(_0x16fb94,_0x1728c6,_0x2f04c6,_0x37d30d){this['parser']=_0x16fb94,this['input']=_0x1728c6,this['ranges']=_0x37d30d,this['line']=new _0x3eeabf(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x37d30d[_0x37d30d['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x37d30d[0x0]['from'],this['block']=_0x29bae2['create'](_0x43fb85['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x2f04c6['length']?new _0x404523(_0x2f04c6,_0x1728c6):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x21170f}=this;for(;;){for(let _0x4d02c9=0x0;;){let _0x18b0d0=_0x21170f['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x4d02c9<_0x21170f['markers']['length']&&(!_0x18b0d0||_0x21170f['markers'][_0x4d02c9]['from']<_0x18b0d0['end']);){let _0xbef5c5=_0x21170f['markers'][_0x4d02c9++];this['addNode'](_0xbef5c5['type'],_0xbef5c5['from'],_0xbef5c5['to']);}if(!_0x18b0d0)break;this['finishContext']();}if(_0x21170f['pos']<_0x21170f['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x21170f['basePos']))return null;t:for(;;){for(let _0x325c6f of this['parser']['blockParsers'])if(_0x325c6f){let _0x52232a=_0x325c6f(this,_0x21170f);if(0x0!=_0x52232a){if(0x1==_0x52232a)return null;_0x21170f['forward']();continue t;}}break;}let _0x277bfc=new _0x2eb20f(this['lineStart']+_0x21170f['pos'],_0x21170f['text']['slice'](_0x21170f['pos']));for(let _0x1ee104 of this['parser']['leafBlockParsers'])if(_0x1ee104){let _0x439cb4=_0x1ee104(this,_0x277bfc);_0x439cb4&&_0x277bfc['parsers']['push'](_0x439cb4);}t:for(;this['nextLine']()&&_0x21170f['pos']!=_0x21170f['text']['length'];){if(_0x21170f['indent']<_0x21170f['baseIndent']+0x4){for(let _0x1bc1b9 of this['parser']['endLeafBlock'])if(_0x1bc1b9(this,_0x21170f,_0x277bfc))break t;}for(let _0x29e14a of _0x277bfc['parsers'])if(_0x29e14a['nextLine'](this,_0x21170f,_0x277bfc))return null;_0x277bfc['content']+='\x0a'+_0x21170f['scrub']();for(let _0x11e541 of _0x21170f['markers'])_0x277bfc['marks']['push'](_0x11e541);}return this['finishLeaf'](_0x277bfc),null;}stopAt(_0x3013a9){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x3013a9)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x3013a9;}reuseFragment(_0x37baab){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x37baab,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x14e778=this['fragments']['takeNodes'](this);return!!_0x14e778&&(this['absoluteLineStart']+=_0x14e778,this['lineStart']=_0xb1bb15(this['absoluteLineStart'],this['ranges']),this['moveRangeI'](),this['absoluteLineStart']<this['to']?(this['lineStart']++,this['absoluteLineStart']++,this['readLine']()):(this['atEnd']=!0x0,this['readLine']()),!0x0);}get depth(){return this['stack']['length'];}parentType(_0x5587ac=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x5587ac]['type']];}nextLine(){return this['lineStart']+=this['line']['text']['length'],this['absoluteLineEnd']>=this['to']?(this['absoluteLineStart']=this['absoluteLineEnd'],this['atEnd']=!0x0,this['readLine'](),!0x1):(this['lineStart']++,this['absoluteLineStart']=this['absoluteLineEnd']+0x1,this['moveRangeI'](),this['readLine'](),!0x0);}['peekLine'](){return this['scanLine'](this['absoluteLineEnd']+0x1)['text'];}['moveRangeI'](){for(;this['rangeI']<this['ranges']['length']-0x1&&this['absoluteLineStart']>=this['ranges'][this['rangeI']]['to'];)this['rangeI']++,this['absoluteLineStart']=Math['max'](this['absoluteLineStart'],this['ranges'][this['rangeI']]['from']);}['scanLine'](_0x141239){let _0x5d0d99=_0x3421d4;if(_0x5d0d99['end']=_0x141239,_0x141239>=this['to'])_0x5d0d99['text']='';else{if(_0x5d0d99['text']=this['lineChunkAt'](_0x141239),_0x5d0d99['end']+=_0x5d0d99['text']['length'],this['ranges']['length']>0x1){let _0x55e832=this['absoluteLineStart'],_0x1fbca6=this['rangeI'];for(;this['ranges'][_0x1fbca6]['to']<_0x5d0d99['end'];){_0x1fbca6++;let _0x41e9f1=this['ranges'][_0x1fbca6]['from'],_0x25f3e7=this['lineChunkAt'](_0x41e9f1);_0x5d0d99['end']=_0x41e9f1+_0x25f3e7['length'],_0x5d0d99['text']=_0x5d0d99['text']['slice'](0x0,this['ranges'][_0x1fbca6-0x1]['to']-_0x55e832)+_0x25f3e7,_0x55e832=_0x5d0d99['end']-_0x5d0d99['text']['length'];}}}return _0x5d0d99;}['readLine'](){let {line:_0x5b5b42}=this,{text:_0x3e7d0e,end:_0x20fccc}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x20fccc,_0x5b5b42['reset'](_0x3e7d0e);_0x5b5b42['depth']<this['stack']['length'];_0x5b5b42['depth']++){let _0x11c1f5=this['stack'][_0x5b5b42['depth']],_0xab6b15=this['parser']['skipContextMarkup'][_0x11c1f5['type']];if(!_0xab6b15)throw new Error('Unhandled\x20block\x20context\x20'+_0x43fb85[_0x11c1f5['type']]);let _0x37a6d5=this['line']['markers']['length'];if(!_0xab6b15(_0x11c1f5,this,_0x5b5b42)){this['line']['markers']['length']>_0x37a6d5&&(_0x11c1f5['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']),_0x5b5b42['forward']();break;}_0x5b5b42['forward']();}}lineChunkAt(_0x5649cb){let _0x2ed154,_0x1e68c6=this['input']['chunk'](_0x5649cb);if(this['input']['lineChunks'])_0x2ed154='\x0a'==_0x1e68c6?'':_0x1e68c6;else{let _0x17583e=_0x1e68c6['indexOf']('\x0a');_0x2ed154=_0x17583e<0x0?_0x1e68c6:_0x1e68c6['slice'](0x0,_0x17583e);}return _0x5649cb+_0x2ed154['length']>this['to']?_0x2ed154['slice'](0x0,this['to']-_0x5649cb):_0x2ed154;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}startContext(_0x3c3e76,_0x6385ff,_0xd86cbe=0x0){this['block']=_0x29bae2['create'](_0x3c3e76,_0xd86cbe,this['lineStart']+_0x6385ff,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}startComposite(_0x218884,_0x1fa13d,_0x2a29b3=0x0){this['startContext'](this['parser']['getNodeType'](_0x218884),_0x1fa13d,_0x2a29b3);}['addNode'](_0x4f59ed,_0x53e227,_0x2d70c8){'number'==typeof _0x4f59ed&&(_0x4f59ed=new _0x553c0c(this['parser']['nodeSet']['types'][_0x4f59ed],_0x505a63,_0x505a63,(null!=_0x2d70c8?_0x2d70c8:this['prevLineEnd']())-_0x53e227)),this['block']['addChild'](_0x4f59ed,_0x53e227-this['block']['from']);}addElement(_0x27bf72){this['block']['addChild'](_0x27bf72['toTree'](this['parser']['nodeSet']),_0x27bf72['from']-this['block']['from']);}addLeafElement(_0x225461,_0x558f27){this['addNode'](this['buffer']['writeElements'](_0x155a9f(_0x558f27['children'],_0x225461['marks']),-_0x558f27['from'])['finish'](_0x558f27['type'],_0x558f27['to']-_0x558f27['from']),_0x558f27['from']);}finishContext(){let _0x2f675e=this['stack']['pop'](),_0x105980=this['stack'][this['stack']['length']-0x1];_0x105980['addChild'](_0x2f675e['toTree'](this['parser']['nodeSet']),_0x2f675e['from']-_0x105980['from']),this['block']=_0x105980;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x5767df){return this['ranges']['length']>0x1?_0x513883(this['ranges'],0x0,_0x5767df['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x5767df;}['finishLeaf'](_0x303a3a){for(let _0xdded2c of _0x303a3a['parsers'])if(_0xdded2c['finish'](this,_0x303a3a))return;let _0x488470=_0x155a9f(this['parser']['parseInline'](_0x303a3a['content'],_0x303a3a['start']),_0x303a3a['marks']);this['addNode'](this['buffer']['writeElements'](_0x488470,-_0x303a3a['start'])['finish'](_0x43fb85['Paragraph'],_0x303a3a['content']['length']),_0x303a3a['start']);}elt(_0x1cf064,_0x16e963,_0x580fdc,_0x3ad7f9){return'string'==typeof _0x1cf064?_0x488535(this['parser']['getNodeType'](_0x1cf064),_0x16e963,_0x580fdc,_0x3ad7f9):new _0xb27a65(_0x1cf064,_0x16e963);}get['buffer'](){return new _0x1faf01(this['parser']['nodeSet']);}};function _0x513883(_0x47f702,_0x1e8bab,_0x51d7b5,_0x3b30d5,_0x16faea){let _0x212ce4=_0x47f702[_0x1e8bab]['to'],_0x4472e2=[],_0x535d37=[],_0x1c077e=_0x51d7b5['from']+_0x3b30d5;function _0x5479cd(_0x5e8b83,_0xd113d8){for(;_0xd113d8?_0x5e8b83>=_0x212ce4:_0x5e8b83>_0x212ce4;){let _0x5684dd=_0x47f702[_0x1e8bab+0x1]['from']-_0x212ce4;_0x3b30d5+=_0x5684dd,_0x5e8b83+=_0x5684dd,_0x1e8bab++,_0x212ce4=_0x47f702[_0x1e8bab]['to'];}}for(let _0x2a419b=_0x51d7b5['firstChild'];_0x2a419b;_0x2a419b=_0x2a419b['nextSibling']){_0x5479cd(_0x2a419b['from']+_0x3b30d5,!0x0);let _0x4fab81,_0x11a7b7=_0x2a419b['from']+_0x3b30d5,_0x2aa454=_0x16faea['get'](_0x2a419b['tree']);_0x2aa454?_0x4fab81=_0x2aa454:_0x2a419b['to']+_0x3b30d5>_0x212ce4?(_0x4fab81=_0x513883(_0x47f702,_0x1e8bab,_0x2a419b,_0x3b30d5,_0x16faea),_0x5479cd(_0x2a419b['to']+_0x3b30d5,!0x1)):_0x4fab81=_0x2a419b['toTree'](),_0x4472e2['push'](_0x4fab81),_0x535d37['push'](_0x11a7b7-_0x1c077e);}return _0x5479cd(_0x51d7b5['to']+_0x3b30d5,!0x1),new _0x553c0c(_0x51d7b5['type'],_0x4472e2,_0x535d37,_0x51d7b5['to']+_0x3b30d5-_0x1c077e,_0x51d7b5['tree']?_0x51d7b5['tree']['propValues']:void 0x0);}var _0x46826d=class _0x8faded extends _0x1914bd{constructor(_0x173a29,_0x3abc7e,_0x4c1608,_0x3ed4ed,_0x23eded,_0x16d23d,_0x4f4f83,_0xb4d67,_0x5ca1e2){super(),this['nodeSet']=_0x173a29,this['blockParsers']=_0x3abc7e,this['leafBlockParsers']=_0x4c1608,this['blockNames']=_0x3ed4ed,this['endLeafBlock']=_0x23eded,this['skipContextMarkup']=_0x16d23d,this['inlineParsers']=_0x4f4f83,this['inlineNames']=_0xb4d67,this['wrappers']=_0x5ca1e2,this['nodeTypes']=Object['create'](null);for(let t of _0x173a29['types'])this['nodeTypes'][t['name']]=t['id'];}createParse(_0x34379a,_0x55f03a,_0x1fb10a){let _0x5147b1=new _0x5cd7c2(this,_0x34379a,_0x55f03a,_0x1fb10a);for(let _0x1057d1 of this['wrappers'])_0x5147b1=_0x1057d1(_0x5147b1,_0x34379a,_0x55f03a,_0x1fb10a);return _0x5147b1;}['configure'](_0x452855){let _0xdf9fef=_0x4e9102(_0x452855);if(!_0xdf9fef)return this;let {nodeSet:_0x1ea115,skipContextMarkup:_0x506c68}=this,_0x1b0b65=this['blockParsers']['slice'](),_0x384bc6=this['leafBlockParsers']['slice'](),_0x31c8c6=this['blockNames']['slice'](),_0x4a13e2=this['inlineParsers']['slice'](),_0x42b4fd=this['inlineNames']['slice'](),_0x24082a=this['endLeafBlock']['slice'](),_0x464a8a=this['wrappers'];if(_0x4acee2(_0xdf9fef['defineNodes'])){_0x506c68=Object['assign']({},_0x506c68);let _0xf5e9fb,_0x225a13=_0x1ea115['types']['slice']();for(let _0x5deb48 of _0xdf9fef['defineNodes']){let {name:_0x29633a,block:_0x23e988,composite:_0x4121be,style:_0x4b4a68}='string'==typeof _0x5deb48?{'name':_0x5deb48}:_0x5deb48;if(_0x225a13['some'](t=>t['name']==_0x29633a))continue;_0x4121be&&(_0x506c68[_0x225a13['length']]=(_0x401420,_0x4ea84e,_0x21bc04)=>_0x4121be(_0x4ea84e,_0x21bc04,_0x401420['value']));let _0x59c825=_0x225a13['length'],_0x32b562=_0x4121be?['Block','BlockContext']:_0x23e988?_0x59c825>=_0x43fb85['ATXHeading1']&&_0x59c825<=_0x43fb85['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x225a13['push'](_0x4a1e51['define']({'id':_0x59c825,'name':_0x29633a,'props':_0x32b562&&[[_0x320816['group'],_0x32b562]]})),_0x4b4a68&&(_0xf5e9fb||(_0xf5e9fb={}),Array['isArray'](_0x4b4a68)||_0x4b4a68 instanceof _0x261638?_0xf5e9fb[_0x29633a]=_0x4b4a68:Object['assign'](_0xf5e9fb,_0x4b4a68));}_0x1ea115=new _0x53fc45(_0x225a13),_0xf5e9fb&&(_0x1ea115=_0x1ea115['extend'](_0xe89f13(_0xf5e9fb)));}if(_0x4acee2(_0xdf9fef['props'])&&(_0x1ea115=_0x1ea115['extend'](..._0xdf9fef['props'])),_0x4acee2(_0xdf9fef['remove']))for(let _0x4db409 of _0xdf9fef['remove']){let _0x387126=this['blockNames']['indexOf'](_0x4db409),_0x4df4b2=this['inlineNames']['indexOf'](_0x4db409);_0x387126>-0x1&&(_0x1b0b65[_0x387126]=_0x384bc6[_0x387126]=void 0x0),_0x4df4b2>-0x1&&(_0x4a13e2[_0x4df4b2]=void 0x0);}if(_0x4acee2(_0xdf9fef['parseBlock']))for(let _0xb13867 of _0xdf9fef['parseBlock']){let _0x1a0471=_0x31c8c6['indexOf'](_0xb13867['name']);if(_0x1a0471>-0x1)_0x1b0b65[_0x1a0471]=_0xb13867['parse'],_0x384bc6[_0x1a0471]=_0xb13867['leaf'];else{let _0x32d43d=_0xb13867['before']?_0x487cf6(_0x31c8c6,_0xb13867['before']):_0xb13867['after']?_0x487cf6(_0x31c8c6,_0xb13867['after'])+0x1:_0x31c8c6['length']-0x1;_0x1b0b65['splice'](_0x32d43d,0x0,_0xb13867['parse']),_0x384bc6['splice'](_0x32d43d,0x0,_0xb13867['leaf']),_0x31c8c6['splice'](_0x32d43d,0x0,_0xb13867['name']);}_0xb13867['endLeaf']&&_0x24082a['push'](_0xb13867['endLeaf']);}if(_0x4acee2(_0xdf9fef['parseInline']))for(let _0x5c5cc6 of _0xdf9fef['parseInline']){let _0x1acaf4=_0x42b4fd['indexOf'](_0x5c5cc6['name']);if(_0x1acaf4>-0x1)_0x4a13e2[_0x1acaf4]=_0x5c5cc6['parse'];else{let _0x344807=_0x5c5cc6['before']?_0x487cf6(_0x42b4fd,_0x5c5cc6['before']):_0x5c5cc6['after']?_0x487cf6(_0x42b4fd,_0x5c5cc6['after'])+0x1:_0x42b4fd['length']-0x1;_0x4a13e2['splice'](_0x344807,0x0,_0x5c5cc6['parse']),_0x42b4fd['splice'](_0x344807,0x0,_0x5c5cc6['name']);}}return _0xdf9fef['wrap']&&(_0x464a8a=_0x464a8a['concat'](_0xdf9fef['wrap'])),new _0x8faded(_0x1ea115,_0x1b0b65,_0x384bc6,_0x31c8c6,_0x24082a,_0x506c68,_0x4a13e2,_0x42b4fd,_0x464a8a);}getNodeType(_0xe8f1cc){let _0x103787=this['nodeTypes'][_0xe8f1cc];if(null==_0x103787)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0xe8f1cc+'\x27');return _0x103787;}['parseInline'](_0x53e08a,_0x35b302){let _0x18a87b=new _0x2aa687(this,_0x53e08a,_0x35b302);t:for(let _0x1b5777=_0x35b302;_0x1b5777<_0x18a87b['end'];){let _0x5c4139=_0x18a87b['char'](_0x1b5777);for(let _0x1a3423 of this['inlineParsers'])if(_0x1a3423){let _0x2defc=_0x1a3423(_0x18a87b,_0x5c4139,_0x1b5777);if(_0x2defc>=0x0){_0x1b5777=_0x2defc;continue t;}}_0x1b5777++;}return _0x18a87b['resolveMarkers'](0x0);}};function _0x4acee2(_0xab49a5){return null!=_0xab49a5&&_0xab49a5['length']>0x0;}function _0x4e9102(_0x174574){if(!Array['isArray'](_0x174574))return _0x174574;if(0x0==_0x174574['length'])return null;let _0x29ecdc=_0x4e9102(_0x174574[0x0]);if(0x1==_0x174574['length'])return _0x29ecdc;let _0x248828=_0x4e9102(_0x174574['slice'](0x1));if(!_0x248828||!_0x29ecdc)return _0x29ecdc||_0x248828;let _0x460f35=(_0x55ddbc,_0x28768f)=>(_0x55ddbc||_0x505a63)['concat'](_0x28768f||_0x505a63),_0x2815bb=_0x29ecdc['wrap'],_0x3282a7=_0x248828['wrap'];return{'props':_0x460f35(_0x29ecdc['props'],_0x248828['props']),'defineNodes':_0x460f35(_0x29ecdc['defineNodes'],_0x248828['defineNodes']),'parseBlock':_0x460f35(_0x29ecdc['parseBlock'],_0x248828['parseBlock']),'parseInline':_0x460f35(_0x29ecdc['parseInline'],_0x248828['parseInline']),'remove':_0x460f35(_0x29ecdc['remove'],_0x248828['remove']),'wrap':_0x2815bb?_0x3282a7?(_0x569e35,_0x4c5d44,_0x4f9e51,_0x2c4a9c)=>_0x2815bb(_0x3282a7(_0x569e35,_0x4c5d44,_0x4f9e51,_0x2c4a9c),_0x4c5d44,_0x4f9e51,_0x2c4a9c):_0x2815bb:_0x3282a7};}function _0x487cf6(_0x48c199,_0x6c659d){let _0x2908d1=_0x48c199['indexOf'](_0x6c659d);if(_0x2908d1<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x6c659d);return _0x2908d1;}let _0x100df2=[_0x4a1e51['none']];for(let _0x51f126,_0x150344=0x1;_0x51f126=_0x43fb85[_0x150344];_0x150344++)_0x100df2[_0x150344]=_0x4a1e51['define']({'id':_0x150344,'name':_0x51f126,'props':_0x150344>=_0x43fb85['Escape']?[]:[[_0x320816['group'],_0x150344 in _0x428fb9?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x51f126});const _0x505a63=[];var _0x1faf01=class{constructor(_0x3d148b){this['nodeSet']=_0x3d148b,this['content']=[],this['nodes']=[];}write(_0x31c5a7,_0x2cc4a6,_0x194d9a,_0x5c1e62=0x0){return this['content']['push'](_0x31c5a7,_0x2cc4a6,_0x194d9a,0x4+0x4*_0x5c1e62),this;}writeElements(_0x31227c,_0x264188=0x0){for(let _0x3cc69c of _0x31227c)_0x3cc69c['writeTo'](this,_0x264188);return this;}['finish'](_0x2e9a2b,_0x19e9da){return _0x553c0c['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x2e9a2b,'length':_0x19e9da});}},_0x26ea48=class{constructor(_0x332261,_0x307db9,_0x5349c2,_0x27c48e=_0x505a63){this['type']=_0x332261,this['from']=_0x307db9,this['to']=_0x5349c2,this['children']=_0x27c48e;}writeTo(_0x273bcf,_0x40a312){let _0x22831a=_0x273bcf['content']['length'];_0x273bcf['writeElements'](this['children'],_0x40a312),_0x273bcf['content']['push'](this['type'],this['from']+_0x40a312,this['to']+_0x40a312,_0x273bcf['content']['length']+0x4-_0x22831a);}toTree(_0x1f0220){return new _0x1faf01(_0x1f0220)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}},_0xb27a65=class{constructor(_0x405b7b,_0x274e08){this['tree']=_0x405b7b,this['from']=_0x274e08;}get to(){return this['from']+this['tree']['length'];}get type(){return this['tree']['type']['id'];}get['children'](){return _0x505a63;}writeTo(_0x16947c,_0x1bd011){_0x16947c['nodes']['push'](this['tree']),_0x16947c['content']['push'](_0x16947c['nodes']['length']-0x1,this['from']+_0x1bd011,this['to']+_0x1bd011,-0x1);}toTree(){return this['tree'];}};function _0x488535(_0x358990,_0x2e8f21,_0x19607c,_0x2176cd){return new _0x26ea48(_0x358990,_0x2e8f21,_0x19607c,_0x2176cd);}const _0x266e83={'resolve':'Emphasis','mark':'EmphasisMark'},_0xff1739={'resolve':'Emphasis','mark':'EmphasisMark'},_0x4df158={},_0x3efc2a={};var _0x4ef56b=class{constructor(_0x304d42,_0x563a5a,_0x4e57c7,_0x1270cb){this['type']=_0x304d42,this['from']=_0x563a5a,this['to']=_0x4e57c7,this['side']=_0x1270cb;}};let _0x2017e2=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{_0x2017e2=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x45d049){}const _0x2caf49={'Escape'(_0x1b2523,_0x54ffef,_0x3a48e6){if(0x5c!=_0x54ffef||_0x3a48e6==_0x1b2523['end']-0x1)return-0x1;let _0xc032f8=_0x1b2523['char'](_0x3a48e6+0x1);for(let _0x32e9aa=0x0;_0x32e9aa<0x20;_0x32e9aa++)if('!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~'['charCodeAt'](_0x32e9aa)==_0xc032f8)return _0x1b2523['append'](_0x488535(_0x43fb85['Escape'],_0x3a48e6,_0x3a48e6+0x2));return-0x1;},'Entity'(_0x4a6704,_0x62c042,_0x579017){if(0x26!=_0x62c042)return-0x1;let _0x525148=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x4a6704['slice'](_0x579017+0x1,_0x579017+0x1f));return _0x525148?_0x4a6704['append'](_0x488535(_0x43fb85['Entity'],_0x579017,_0x579017+0x1+_0x525148[0x0]['length'])):-0x1;},'InlineCode'(_0x3f9a85,_0x68d1ae,_0x2ee7c9){if(0x60!=_0x68d1ae||_0x2ee7c9&&0x60==_0x3f9a85['char'](_0x2ee7c9-0x1))return-0x1;let _0x83d441=_0x2ee7c9+0x1;for(;_0x83d441<_0x3f9a85['end']&&0x60==_0x3f9a85['char'](_0x83d441);)_0x83d441++;let _0x412e1a=_0x83d441-_0x2ee7c9,_0x3d2e74=0x0;for(;_0x83d441<_0x3f9a85['end'];_0x83d441++)if(0x60==_0x3f9a85['char'](_0x83d441)){if(_0x3d2e74++,_0x3d2e74==_0x412e1a&&0x60!=_0x3f9a85['char'](_0x83d441+0x1))return _0x3f9a85['append'](_0x488535(_0x43fb85['InlineCode'],_0x2ee7c9,_0x83d441+0x1,[_0x488535(_0x43fb85['CodeMark'],_0x2ee7c9,_0x2ee7c9+_0x412e1a),_0x488535(_0x43fb85['CodeMark'],_0x83d441+0x1-_0x412e1a,_0x83d441+0x1)]));}else _0x3d2e74=0x0;return-0x1;},'HTMLTag'(_0x59a2da,_0x575d74,_0x5d472b){if(0x3c!=_0x575d74||_0x5d472b==_0x59a2da['end']-0x1)return-0x1;let _0x22187c=_0x59a2da['slice'](_0x5d472b+0x1,_0x59a2da['end']),_0x4f9687=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i['exec'](_0x22187c);if(_0x4f9687)return _0x59a2da['append'](_0x488535(_0x43fb85['Autolink'],_0x5d472b,_0x5d472b+0x1+_0x4f9687[0x0]['length'],[_0x488535(_0x43fb85['LinkMark'],_0x5d472b,_0x5d472b+0x1),_0x488535(_0x43fb85['URL'],_0x5d472b+0x1,_0x5d472b+_0x4f9687[0x0]['length']),_0x488535(_0x43fb85['LinkMark'],_0x5d472b+_0x4f9687[0x0]['length'],_0x5d472b+0x1+_0x4f9687[0x0]['length'])]));let _0x343bf=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x22187c);if(_0x343bf)return _0x59a2da['append'](_0x488535(_0x43fb85['Comment'],_0x5d472b,_0x5d472b+0x1+_0x343bf[0x0]['length']));let _0x15d24d=/^\?[^]*?\?>/['exec'](_0x22187c);if(_0x15d24d)return _0x59a2da['append'](_0x488535(_0x43fb85['ProcessingInstruction'],_0x5d472b,_0x5d472b+0x1+_0x15d24d[0x0]['length']));let _0x4dc8c3=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/['exec'](_0x22187c);return _0x4dc8c3?_0x59a2da['append'](_0x488535(_0x43fb85['HTMLTag'],_0x5d472b,_0x5d472b+0x1+_0x4dc8c3[0x0]['length'])):-0x1;},'Emphasis'(_0x47602e,_0x26ad17,_0xa2fb91){if(0x5f!=_0x26ad17&&0x2a!=_0x26ad17)return-0x1;let _0x3e72ec=_0xa2fb91+0x1;for(;_0x47602e['char'](_0x3e72ec)==_0x26ad17;)_0x3e72ec++;let _0x31e0c0=_0x47602e['slice'](_0xa2fb91-0x1,_0xa2fb91),_0x535cea=_0x47602e['slice'](_0x3e72ec,_0x3e72ec+0x1),_0x148d6c=_0x2017e2['test'](_0x31e0c0),_0x6d8d6d=_0x2017e2['test'](_0x535cea),_0x493b32=/\s|^$/['test'](_0x31e0c0),_0x30a01f=/\s|^$/['test'](_0x535cea),_0x15699c=!_0x30a01f&&(!_0x6d8d6d||_0x493b32||_0x148d6c),_0x5a71a5=!_0x493b32&&(!_0x148d6c||_0x30a01f||_0x6d8d6d),_0x3e2c4b=_0x15699c&&(0x2a==_0x26ad17||!_0x5a71a5||_0x148d6c),_0x4a00fc=_0x5a71a5&&(0x2a==_0x26ad17||!_0x15699c||_0x6d8d6d);return _0x47602e['append'](new _0x4ef56b(0x5f==_0x26ad17?_0x266e83:_0xff1739,_0xa2fb91,_0x3e72ec,(_0x3e2c4b?0x1:0x0)|(_0x4a00fc?0x2:0x0)));},'HardBreak'(_0x36e19a,_0x3ee2f8,_0x41a2a0){if(0x5c==_0x3ee2f8&&0xa==_0x36e19a['char'](_0x41a2a0+0x1))return _0x36e19a['append'](_0x488535(_0x43fb85['HardBreak'],_0x41a2a0,_0x41a2a0+0x2));if(0x20==_0x3ee2f8){let _0x2e765d=_0x41a2a0+0x1;for(;0x20==_0x36e19a['char'](_0x2e765d);)_0x2e765d++;if(0xa==_0x36e19a['char'](_0x2e765d)&&_0x2e765d>=_0x41a2a0+0x2)return _0x36e19a['append'](_0x488535(_0x43fb85['HardBreak'],_0x41a2a0,_0x2e765d+0x1));}return-0x1;},'Link':(_0x2298f1,_0x28a9ed,_0x29ac88)=>0x5b==_0x28a9ed?_0x2298f1['append'](new _0x4ef56b(_0x4df158,_0x29ac88,_0x29ac88+0x1,0x1)):-0x1,'Image':(_0x41ff1e,_0x550e55,_0x3620ce)=>0x21==_0x550e55&&0x5b==_0x41ff1e['char'](_0x3620ce+0x1)?_0x41ff1e['append'](new _0x4ef56b(_0x3efc2a,_0x3620ce,_0x3620ce+0x2,0x1)):-0x1,'LinkEnd'(_0x25c26c,_0x1346ba,_0x3fca0c){if(0x5d!=_0x1346ba)return-0x1;for(let _0x269884=_0x25c26c['parts']['length']-0x1;_0x269884>=0x0;_0x269884--){let _0x6e10fc=_0x25c26c['parts'][_0x269884];if(_0x6e10fc instanceof _0x4ef56b&&(_0x6e10fc['type']==_0x4df158||_0x6e10fc['type']==_0x3efc2a)){if(!_0x6e10fc['side']||_0x25c26c['skipSpace'](_0x6e10fc['to'])==_0x3fca0c&&!/[(\[]/['test'](_0x25c26c['slice'](_0x3fca0c+0x1,_0x3fca0c+0x2)))return _0x25c26c['parts'][_0x269884]=null,-0x1;let _0x27b6ab=_0x25c26c['takeContent'](_0x269884),_0x17985c=_0x25c26c['parts'][_0x269884]=_0x3d6a3e(_0x25c26c,_0x27b6ab,_0x6e10fc['type']==_0x4df158?_0x43fb85['Link']:_0x43fb85['Image'],_0x6e10fc['from'],_0x3fca0c+0x1);if(_0x6e10fc['type']==_0x4df158)for(let _0x2413c3=0x0;_0x2413c3<_0x269884;_0x2413c3++){let _0x385893=_0x25c26c['parts'][_0x2413c3];_0x385893 instanceof _0x4ef56b&&_0x385893['type']==_0x4df158&&(_0x385893['side']=0x0);}return _0x17985c['to'];}}return-0x1;}};function _0x3d6a3e(_0x204254,_0x3ee899,_0x53bd9d,_0x190829,_0x37caf9){let {text:_0x5f1a9f}=_0x204254,_0x24e10b=_0x204254['char'](_0x37caf9),_0x1820da=_0x37caf9;if(_0x3ee899['unshift'](_0x488535(_0x43fb85['LinkMark'],_0x190829,_0x190829+(_0x53bd9d==_0x43fb85['Image']?0x2:0x1))),_0x3ee899['push'](_0x488535(_0x43fb85['LinkMark'],_0x37caf9-0x1,_0x37caf9)),0x28==_0x24e10b){let _0x38d578,_0xe293a4=_0x204254['skipSpace'](_0x37caf9+0x1),_0x1edfb7=_0x1ea11a(_0x5f1a9f,_0xe293a4-_0x204254['offset'],_0x204254['offset']);_0x1edfb7&&(_0xe293a4=_0x204254['skipSpace'](_0x1edfb7['to']),_0xe293a4!=_0x1edfb7['to']&&(_0x38d578=_0x4dde90(_0x5f1a9f,_0xe293a4-_0x204254['offset'],_0x204254['offset']),_0x38d578&&(_0xe293a4=_0x204254['skipSpace'](_0x38d578['to'])))),0x29==_0x204254['char'](_0xe293a4)&&(_0x3ee899['push'](_0x488535(_0x43fb85['LinkMark'],_0x37caf9,_0x37caf9+0x1)),_0x1820da=_0xe293a4+0x1,_0x1edfb7&&_0x3ee899['push'](_0x1edfb7),_0x38d578&&_0x3ee899['push'](_0x38d578),_0x3ee899['push'](_0x488535(_0x43fb85['LinkMark'],_0xe293a4,_0x1820da)));}else{if(0x5b==_0x24e10b){let _0x372365=_0x52f718(_0x5f1a9f,_0x37caf9-_0x204254['offset'],_0x204254['offset'],!0x1);_0x372365&&(_0x3ee899['push'](_0x372365),_0x1820da=_0x372365['to']);}}return _0x488535(_0x53bd9d,_0x190829,_0x1820da,_0x3ee899);}function _0x1ea11a(_0x3a2eea,_0x16143e,_0x5d20c5){if(0x3c==_0x3a2eea['charCodeAt'](_0x16143e)){for(let _0x5c83dd=_0x16143e+0x1;_0x5c83dd<_0x3a2eea['length'];_0x5c83dd++){let _0x20e4cc=_0x3a2eea['charCodeAt'](_0x5c83dd);if(0x3e==_0x20e4cc)return _0x488535(_0x43fb85['URL'],_0x16143e+_0x5d20c5,_0x5c83dd+0x1+_0x5d20c5);if(0x3c==_0x20e4cc||0xa==_0x20e4cc)return!0x1;}return null;}{let _0x301bd0=0x0,_0x1fc498=_0x16143e;for(let _0x5efdee=!0x1;_0x1fc498<_0x3a2eea['length'];_0x1fc498++){let _0x35bf63=_0x3a2eea['charCodeAt'](_0x1fc498);if(_0x38aea1(_0x35bf63))break;if(_0x5efdee)_0x5efdee=!0x1;else{if(0x28==_0x35bf63)_0x301bd0++;else{if(0x29==_0x35bf63){if(!_0x301bd0)break;_0x301bd0--;}else 0x5c==_0x35bf63&&(_0x5efdee=!0x0);}}}return _0x1fc498>_0x16143e?_0x488535(_0x43fb85['URL'],_0x16143e+_0x5d20c5,_0x1fc498+_0x5d20c5):_0x1fc498==_0x3a2eea['length']&&null;}}function _0x4dde90(_0x102be2,_0x256ba1,_0x5060d1){let _0x3088d0=_0x102be2['charCodeAt'](_0x256ba1);if(0x27!=_0x3088d0&&0x22!=_0x3088d0&&0x28!=_0x3088d0)return!0x1;let _0x415245=0x28==_0x3088d0?0x29:_0x3088d0;for(let _0x2220d6=_0x256ba1+0x1,_0x90ba15=!0x1;_0x2220d6<_0x102be2['length'];_0x2220d6++){let _0x539519=_0x102be2['charCodeAt'](_0x2220d6);if(_0x90ba15)_0x90ba15=!0x1;else{if(_0x539519==_0x415245)return _0x488535(_0x43fb85['LinkTitle'],_0x256ba1+_0x5060d1,_0x2220d6+0x1+_0x5060d1);0x5c==_0x539519&&(_0x90ba15=!0x0);}}return null;}function _0x52f718(_0x537c30,_0x580792,_0x57f58b,_0x16ff2c){for(let _0x270257=!0x1,_0x1e029f=_0x580792+0x1,_0x254018=Math['min'](_0x537c30['length'],_0x1e029f+0x3e7);_0x1e029f<_0x254018;_0x1e029f++){let _0x5ef0ff=_0x537c30['charCodeAt'](_0x1e029f);if(_0x270257)_0x270257=!0x1;else{if(0x5d==_0x5ef0ff)return!_0x16ff2c&&_0x488535(_0x43fb85['LinkLabel'],_0x580792+_0x57f58b,_0x1e029f+0x1+_0x57f58b);if(_0x16ff2c&&!_0x38aea1(_0x5ef0ff)&&(_0x16ff2c=!0x1),0x5b==_0x5ef0ff)return!0x1;0x5c==_0x5ef0ff&&(_0x270257=!0x0);}}return null;}var _0x2aa687=class{constructor(_0x1530e7,_0x43db68,_0x3e9725){this['parser']=_0x1530e7,this['text']=_0x43db68,this['offset']=_0x3e9725,this['parts']=[];}['char'](_0x278ec0){return _0x278ec0>=this['end']?-0x1:this['text']['charCodeAt'](_0x278ec0-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x2c9079,_0x2b9400){return this['text']['slice'](_0x2c9079-this['offset'],_0x2b9400-this['offset']);}['append'](_0x2e05e5){return this['parts']['push'](_0x2e05e5),_0x2e05e5['to'];}addDelimiter(_0x367d09,_0x5678cf,_0x1e1c0f,_0x5d25f8,_0x54bfb1){return this['append'](new _0x4ef56b(_0x367d09,_0x5678cf,_0x1e1c0f,(_0x5d25f8?0x1:0x0)|(_0x54bfb1?0x2:0x0)));}get['hasOpenLink'](){for(let _0x4cb6a9=this['parts']['length']-0x1;_0x4cb6a9>=0x0;_0x4cb6a9--){let _0x23065a=this['parts'][_0x4cb6a9];if(_0x23065a instanceof _0x4ef56b&&(_0x23065a['type']==_0x4df158||_0x23065a['type']==_0x3efc2a))return!0x0;}return!0x1;}addElement(_0x163147){return this['append'](_0x163147);}['resolveMarkers'](_0x2b7b2e){for(let _0x2048d=_0x2b7b2e;_0x2048d<this['parts']['length'];_0x2048d++){let _0x115c5d=this['parts'][_0x2048d];if(!(_0x115c5d instanceof _0x4ef56b&&_0x115c5d['type']['resolve']&&0x2&_0x115c5d['side']))continue;let _0x200229,_0x26762a=_0x115c5d['type']==_0x266e83||_0x115c5d['type']==_0xff1739,_0x34b4f7=_0x115c5d['to']-_0x115c5d['from'],_0x25fdf8=_0x2048d-0x1;for(;_0x25fdf8>=_0x2b7b2e;_0x25fdf8--){let _0x4ece8f=this['parts'][_0x25fdf8];if(_0x4ece8f instanceof _0x4ef56b&&0x1&_0x4ece8f['side']&&_0x4ece8f['type']==_0x115c5d['type']&&!(_0x26762a&&(0x1&_0x115c5d['side']||0x2&_0x4ece8f['side'])&&(_0x4ece8f['to']-_0x4ece8f['from']+_0x34b4f7)%0x3==0x0&&((_0x4ece8f['to']-_0x4ece8f['from'])%0x3||_0x34b4f7%0x3))){_0x200229=_0x4ece8f;break;}}if(!_0x200229)continue;let _0x1adda3=_0x115c5d['type']['resolve'],_0x426943=[],_0x2651b0=_0x200229['from'],_0xcf0cfc=_0x115c5d['to'];if(_0x26762a){let _0x30bf1b=Math['min'](0x2,_0x200229['to']-_0x200229['from'],_0x34b4f7);_0x2651b0=_0x200229['to']-_0x30bf1b,_0xcf0cfc=_0x115c5d['from']+_0x30bf1b,_0x1adda3=0x1==_0x30bf1b?'Emphasis':'StrongEmphasis';}_0x200229['type']['mark']&&_0x426943['push'](this['elt'](_0x200229['type']['mark'],_0x2651b0,_0x200229['to']));for(let _0x55b210=_0x25fdf8+0x1;_0x55b210<_0x2048d;_0x55b210++)this['parts'][_0x55b210]instanceof _0x26ea48&&_0x426943['push'](this['parts'][_0x55b210]),this['parts'][_0x55b210]=null;_0x115c5d['type']['mark']&&_0x426943['push'](this['elt'](_0x115c5d['type']['mark'],_0x115c5d['from'],_0xcf0cfc));let _0x418dbf=this['elt'](_0x1adda3,_0x2651b0,_0xcf0cfc,_0x426943);this['parts'][_0x25fdf8]=_0x26762a&&_0x200229['from']!=_0x2651b0?new _0x4ef56b(_0x200229['type'],_0x200229['from'],_0x2651b0,_0x200229['side']):null,(this['parts'][_0x2048d]=_0x26762a&&_0x115c5d['to']!=_0xcf0cfc?new _0x4ef56b(_0x115c5d['type'],_0xcf0cfc,_0x115c5d['to'],_0x115c5d['side']):null)?this['parts']['splice'](_0x2048d,0x0,_0x418dbf):this['parts'][_0x2048d]=_0x418dbf;}let _0x5a0783=[];for(let _0x36a91f=_0x2b7b2e;_0x36a91f<this['parts']['length'];_0x36a91f++){let _0x434514=this['parts'][_0x36a91f];_0x434514 instanceof _0x26ea48&&_0x5a0783['push'](_0x434514);}return _0x5a0783;}findOpeningDelimiter(_0x1317a5){for(let _0x4c55cf=this['parts']['length']-0x1;_0x4c55cf>=0x0;_0x4c55cf--){let _0x52ee07=this['parts'][_0x4c55cf];if(_0x52ee07 instanceof _0x4ef56b&&_0x52ee07['type']==_0x1317a5&&0x1&_0x52ee07['side'])return _0x4c55cf;}return null;}takeContent(_0x3418ad){let _0x3778eb=this['resolveMarkers'](_0x3418ad);return this['parts']['length']=_0x3418ad,_0x3778eb;}getDelimiterAt(_0x3dc952){let _0x4e4360=this['parts'][_0x3dc952];return _0x4e4360 instanceof _0x4ef56b?_0x4e4360:null;}['skipSpace'](_0x1779e1){return _0x96782f(this['text'],_0x1779e1-this['offset'])+this['offset'];}elt(_0xe44316,_0x8db2f4,_0x312c20,_0x1151ea){return'string'==typeof _0xe44316?_0x488535(this['parser']['getNodeType'](_0xe44316),_0x8db2f4,_0x312c20,_0x1151ea):new _0xb27a65(_0xe44316,_0x8db2f4);}};function _0x155a9f(_0x4f93cb,_0x488e5d){if(!_0x488e5d['length'])return _0x4f93cb;if(!_0x4f93cb['length'])return _0x488e5d;let _0x40e745=_0x4f93cb['slice'](),_0x44b4b8=0x0;for(let _0x2cc445 of _0x488e5d){for(;_0x44b4b8<_0x40e745['length']&&_0x40e745[_0x44b4b8]['to']<_0x2cc445['to'];)_0x44b4b8++;if(_0x44b4b8<_0x40e745['length']&&_0x40e745[_0x44b4b8]['from']<_0x2cc445['from']){let _0x77e616=_0x40e745[_0x44b4b8];_0x77e616 instanceof _0x26ea48&&(_0x40e745[_0x44b4b8]=new _0x26ea48(_0x77e616['type'],_0x77e616['from'],_0x77e616['to'],_0x155a9f(_0x77e616['children'],[_0x2cc445])));}else _0x40e745['splice'](_0x44b4b8++,0x0,_0x2cc445);}return _0x40e745;}_0x2aa687['linkStart']=_0x4df158,_0x2aa687['imageStart']=_0x3efc2a;const _0x263ef6=[_0x43fb85['CodeBlock'],_0x43fb85['ListItem'],_0x43fb85['OrderedList'],_0x43fb85['BulletList']];var _0x404523=class{constructor(_0x50e50d,_0x2b432c){this['fragments']=_0x50e50d,this['input']=_0x2b432c,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x50e50d['length']&&(this['fragment']=_0x50e50d[this['i']++]);}nextFragment(){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x2b4be9,_0x56155d){for(;this['fragment']&&this['fragment']['to']<=_0x2b4be9;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x2b4be9?_0x2b4be9-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0xfefe14=this['fragment']['to'];for(;_0xfefe14>0x0&&'\x0a'!=this['input']['read'](_0xfefe14-0x1,_0xfefe14);)_0xfefe14--;this['fragmentEnd']=_0xfefe14?_0xfefe14-0x1:0x0;}let _0x4657c4=this['cursor'];_0x4657c4||(_0x4657c4=this['cursor']=this['fragment']['tree']['cursor'](),_0x4657c4['firstChild']());let _0x4be7e8=_0x2b4be9+this['fragment']['offset'];for(;_0x4657c4['to']<=_0x4be7e8;)if(!_0x4657c4['parent']())return!0x1;for(;;){if(_0x4657c4['from']>=_0x4be7e8)return this['fragment']['from']<=_0x56155d;if(!_0x4657c4['childAfter'](_0x4be7e8))return!0x1;}}matches(_0x41958c){let _0xa1ea06=this['cursor']['tree'];return _0xa1ea06&&_0xa1ea06['prop'](_0x320816['contextHash'])==_0x41958c;}takeNodes(_0x2bf44e){let _0x231016=this['cursor'],_0x2c68bc=this['fragment']['offset'],_0x2e6b27=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x1a9f9d=_0x2bf44e['absoluteLineStart'],_0x103b3f=_0x1a9f9d,_0x27d8ec=_0x2bf44e['block']['children']['length'],_0x212e4a=_0x103b3f,_0x33866a=_0x27d8ec;for(;;){if(_0x231016['to']-_0x2c68bc>_0x2e6b27){if(_0x231016['type']['isAnonymous']&&_0x231016['firstChild']())continue;break;}let _0xa164b8=_0xb1bb15(_0x231016['from']-_0x2c68bc,_0x2bf44e['ranges']);if(_0x231016['to']-_0x2c68bc<=_0x2bf44e['ranges'][_0x2bf44e['rangeI']]['to'])_0x2bf44e['addNode'](_0x231016['tree'],_0xa164b8);else{let _0x46d259=new _0x553c0c(_0x2bf44e['parser']['nodeSet']['types'][_0x43fb85['Paragraph']],[],[],0x0,_0x2bf44e['block']['hashProp']);_0x2bf44e['reusePlaceholders']['set'](_0x46d259,_0x231016['tree']),_0x2bf44e['addNode'](_0x46d259,_0xa164b8);}if(_0x231016['type']['is']('Block')&&(_0x263ef6['indexOf'](_0x231016['type']['id'])<0x0?(_0x103b3f=_0x231016['to']-_0x2c68bc,_0x27d8ec=_0x2bf44e['block']['children']['length']):(_0x103b3f=_0x212e4a,_0x27d8ec=_0x33866a),_0x212e4a=_0x231016['to']-_0x2c68bc,_0x33866a=_0x2bf44e['block']['children']['length']),!_0x231016['nextSibling']())break;}for(;_0x2bf44e['block']['children']['length']>_0x27d8ec;)_0x2bf44e['block']['children']['pop'](),_0x2bf44e['block']['positions']['pop']();return _0x103b3f-_0x1a9f9d;}};function _0xb1bb15(_0x3d0874,_0x1f43e0){let _0x56560d=_0x3d0874;for(let _0x3bde9a=0x1;_0x3bde9a<_0x1f43e0['length'];_0x3bde9a++){let _0x371f1b=_0x1f43e0[_0x3bde9a-0x1]['to'],_0x11dd38=_0x1f43e0[_0x3bde9a]['from'];_0x371f1b<_0x3d0874&&(_0x56560d-=_0x11dd38-_0x371f1b);}return _0x56560d;}const _0x146298=_0xe89f13({'Blockquote/...':_0x1f4598['quote'],'HorizontalRule':_0x1f4598['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':_0x1f4598['heading1'],'ATXHeading2/...\x20SetextHeading2/...':_0x1f4598['heading2'],'ATXHeading3/...':_0x1f4598['heading3'],'ATXHeading4/...':_0x1f4598['heading4'],'ATXHeading5/...':_0x1f4598['heading5'],'ATXHeading6/...':_0x1f4598['heading6'],'Comment\x20CommentBlock':_0x1f4598['comment'],'Escape':_0x1f4598['escape'],'Entity':_0x1f4598['character'],'Emphasis/...':_0x1f4598['emphasis'],'StrongEmphasis/...':_0x1f4598['strong'],'Link/...\x20Image/...':_0x1f4598['link'],'OrderedList/...\x20BulletList/...':_0x1f4598['list'],'BlockQuote/...':_0x1f4598['quote'],'InlineCode\x20CodeText':_0x1f4598['monospace'],'URL\x20Autolink':_0x1f4598['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':_0x1f4598['processingInstruction'],'CodeInfo\x20LinkLabel':_0x1f4598['labelName'],'LinkTitle':_0x1f4598['string'],'Paragraph':_0x1f4598['content']}),_0x286056=new _0x46826d(new _0x53fc45(_0x100df2)['extend'](_0x146298),Object['keys'](_0x232262)['map'](_0x1cb9f7=>_0x232262[_0x1cb9f7]),Object['keys'](_0x232262)['map'](_0x373d25=>_0x2b136a[_0x373d25]),Object['keys'](_0x232262),_0x24d6c2,_0x428fb9,Object['keys'](_0x2caf49)['map'](_0x4f5f8b=>_0x2caf49[_0x4f5f8b]),Object['keys'](_0x2caf49),[]);function _0x51edc2(_0x4bc6bb,_0x320916,_0x5554f8){let _0x2e9580=[];for(let _0x2bdfda=_0x4bc6bb['firstChild'],_0x43069e=_0x320916;;_0x2bdfda=_0x2bdfda['nextSibling']){let _0xde09c8=_0x2bdfda?_0x2bdfda['from']:_0x5554f8;if(_0xde09c8>_0x43069e&&_0x2e9580['push']({'from':_0x43069e,'to':_0xde09c8}),!_0x2bdfda)break;_0x43069e=_0x2bdfda['to'];}return _0x2e9580;}const _0x2f149d={'resolve':'Strikethrough','mark':'StrikethroughMark'},_0x52d377={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':_0x1f4598['strikethrough']}},{'name':'StrikethroughMark','style':_0x1f4598['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x548f84,_0x22c41d,_0x2216ef){if(0x7e!=_0x22c41d||0x7e!=_0x548f84['char'](_0x2216ef+0x1)||0x7e==_0x548f84['char'](_0x2216ef+0x2))return-0x1;let _0x554725=_0x548f84['slice'](_0x2216ef-0x1,_0x2216ef),_0x339a88=_0x548f84['slice'](_0x2216ef+0x2,_0x2216ef+0x3),_0x458c72=/\s|^$/['test'](_0x554725),_0x5567f6=/\s|^$/['test'](_0x339a88),_0x9827af=_0x2017e2['test'](_0x554725),_0x28b822=_0x2017e2['test'](_0x339a88);return _0x548f84['addDelimiter'](_0x2f149d,_0x2216ef,_0x2216ef+0x2,!_0x5567f6&&(!_0x28b822||_0x458c72||_0x9827af),!_0x458c72&&(!_0x9827af||_0x5567f6||_0x28b822));},'after':'Emphasis'}]};function _0x1bdab5(_0x5d7b5b,_0x427c64,_0x52224a=0x0,_0x5d2e93,_0x3d9b94=0x0){let _0x319b7a=0x0,_0x370ae3=!0x0,_0xb5e650=-0x1,_0x455d8f=-0x1,_0x50b6aa=!0x1,_0x3c53fa=()=>{_0x5d2e93['push'](_0x5d7b5b['elt']('TableCell',_0x3d9b94+_0xb5e650,_0x3d9b94+_0x455d8f,_0x5d7b5b['parser']['parseInline'](_0x427c64['slice'](_0xb5e650,_0x455d8f),_0x3d9b94+_0xb5e650)));};for(let _0x26efaf=_0x52224a;_0x26efaf<_0x427c64['length'];_0x26efaf++){let _0x29526e=_0x427c64['charCodeAt'](_0x26efaf);0x7c!=_0x29526e||_0x50b6aa?(_0x50b6aa||0x20!=_0x29526e&&0x9!=_0x29526e)&&(_0xb5e650<0x0&&(_0xb5e650=_0x26efaf),_0x455d8f=_0x26efaf+0x1):((!_0x370ae3||_0xb5e650>-0x1)&&_0x319b7a++,_0x370ae3=!0x1,_0x5d2e93&&(_0xb5e650>-0x1&&_0x3c53fa(),_0x5d2e93['push'](_0x5d7b5b['elt']('TableDelimiter',_0x26efaf+_0x3d9b94,_0x26efaf+_0x3d9b94+0x1))),_0xb5e650=_0x455d8f=-0x1),_0x50b6aa=!_0x50b6aa&&0x5c==_0x29526e;}return _0xb5e650>-0x1&&(_0x319b7a++,_0x5d2e93&&_0x3c53fa()),_0x319b7a;}function _0x5a3cbe(_0x1d5693,_0x3d926b){for(let _0xededb2=_0x3d926b;_0xededb2<_0x1d5693['length'];_0xededb2++){let _0x4da0c8=_0x1d5693['charCodeAt'](_0xededb2);if(0x7c==_0x4da0c8)return!0x0;0x5c==_0x4da0c8&&_0xededb2++;}return!0x1;}const tX=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;var _0x5eda4e=class{constructor(){this['rows']=null;}nextLine(_0x241b68,_0x16d204,_0x44cfe8){if(null==this['rows']){let _0x38c18a;if(this['rows']=!0x1,(0x2d==_0x16d204['next']||0x3a==_0x16d204['next']||0x7c==_0x16d204['next'])&&tX['test'](_0x38c18a=_0x16d204['text']['slice'](_0x16d204['pos']))){let _0x5bca73=[];_0x1bdab5(_0x241b68,_0x44cfe8['content'],0x0,_0x5bca73,_0x44cfe8['start'])==_0x1bdab5(_0x241b68,_0x38c18a,0x0)&&(this['rows']=[_0x241b68['elt']('TableHeader',_0x44cfe8['start'],_0x44cfe8['start']+_0x44cfe8['content']['length'],_0x5bca73),_0x241b68['elt']('TableDelimiter',_0x241b68['lineStart']+_0x16d204['pos'],_0x241b68['lineStart']+_0x16d204['text']['length'])]);}}else{if(this['rows']){let _0x3c0646=[];_0x1bdab5(_0x241b68,_0x16d204['text'],_0x16d204['pos'],_0x3c0646,_0x241b68['lineStart']),this['rows']['push'](_0x241b68['elt']('TableRow',_0x241b68['lineStart']+_0x16d204['pos'],_0x241b68['lineStart']+_0x16d204['text']['length'],_0x3c0646));}}return!0x1;}['finish'](_0x279c16,_0x27bdc2){return!!this['rows']&&(_0x279c16['addLeafElement'](_0x27bdc2,_0x279c16['elt']('Table',_0x27bdc2['start'],_0x27bdc2['start']+_0x27bdc2['content']['length'],this['rows'])),!0x0);}};const _0x8d4d7b={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':_0x1f4598['heading']}},'TableRow',{'name':'TableCell','style':_0x1f4598['content']},{'name':'TableDelimiter','style':_0x1f4598['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0xf4ca53,_0x2b8950)=>_0x5a3cbe(_0x2b8950['content'],0x0)?new _0x5eda4e():null,'endLeaf'(_0x4ec89f,_0x972274,_0x57a798){if(_0x57a798['parsers']['some'](_0x1758f8=>_0x1758f8 instanceof _0x5eda4e)||!_0x5a3cbe(_0x972274['text'],_0x972274['basePos']))return!0x1;let _0x364990=_0x4ec89f['peekLine']();return tX['test'](_0x364990)&&_0x1bdab5(_0x4ec89f,_0x972274['text'],_0x972274['basePos'])==_0x1bdab5(_0x4ec89f,_0x364990,_0x972274['basePos']);},'before':'SetextHeading'}]};var _0x154566=class{nextLine(){return!0x1;}['finish'](_0x18b78c,_0x28a9fd){return _0x18b78c['addLeafElement'](_0x28a9fd,_0x18b78c['elt']('Task',_0x28a9fd['start'],_0x28a9fd['start']+_0x28a9fd['content']['length'],[_0x18b78c['elt']('TaskMarker',_0x28a9fd['start'],_0x28a9fd['start']+0x3),..._0x18b78c['parser']['parseInline'](_0x28a9fd['content']['slice'](0x3),_0x28a9fd['start']+0x3)])),!0x0;}};const _0x400350={'defineNodes':[{'name':'Task','block':!0x0,'style':_0x1f4598['list']},{'name':'TaskMarker','style':_0x1f4598['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x1fe4a0,_0x47adbd)=>/^\[[ xX]\][ \t]/['test'](_0x47adbd['content'])&&'ListItem'==_0x1fe4a0['parentType']()['name']?new _0x154566():null,'after':'SetextHeading'}]},_0x4efc18=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x94205b=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,_0x58b043=/[\w-]+\.[\w-]+($|[/:])/,_0x4efbaf=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x205f60=/\/[a-zA-Z\d@.]+/gy;function _0x21d905(_0x3a923a,_0x46d48b,_0x528336,_0x197784){let _0x2c58c8=0x0;for(let _0x2136e2=_0x46d48b;_0x2136e2<_0x528336;_0x2136e2++)_0x3a923a[_0x2136e2]==_0x197784&&_0x2c58c8++;return _0x2c58c8;}function _0x2d3508(_0x3794c8,_0x5ef830){_0x4efbaf['lastIndex']=_0x5ef830;let _0x4848b2=_0x4efbaf['exec'](_0x3794c8);if(!_0x4848b2)return-0x1;let _0xc90803=_0x4848b2[0x0][_0x4848b2[0x0]['length']-0x1];return'_'==_0xc90803||'-'==_0xc90803?-0x1:_0x5ef830+_0x4848b2[0x0]['length']-('.'==_0xc90803?0x1:0x0);}const _0x528b76=[_0x8d4d7b,_0x400350,_0x52d377,{'parseInline':[{'name':'Autolink','parse'(_0x1bdd19,_0xcf445c,_0x1541b4){let _0x58931a=_0x1541b4-_0x1bdd19['offset'];if(_0x58931a&&/\w/['test'](_0x1bdd19['text'][_0x58931a-0x1]))return-0x1;_0x4efc18['lastIndex']=_0x58931a;let _0x347002=_0x4efc18['exec'](_0x1bdd19['text']),_0xd28c71=-0x1;return _0x347002?(_0x347002[0x1]||_0x347002[0x2]?(_0xd28c71=function(_0x2a3b09,_0x41696c){_0x94205b['lastIndex']=_0x41696c;let _0x4b83d5=_0x94205b['exec'](_0x2a3b09);if(!_0x4b83d5||_0x58b043['exec'](_0x4b83d5[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x5438b7=_0x41696c+_0x4b83d5[0x0]['length'];for(;;){let _0x595a87,_0x44f3fb=_0x2a3b09[_0x5438b7-0x1];if(/[?!.,:*_~]/['test'](_0x44f3fb)||')'==_0x44f3fb&&_0x21d905(_0x2a3b09,_0x41696c,_0x5438b7,')')>_0x21d905(_0x2a3b09,_0x41696c,_0x5438b7,'('))_0x5438b7--;else{if(';'!=_0x44f3fb||!(_0x595a87=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x2a3b09['slice'](_0x41696c,_0x5438b7))))break;_0x5438b7=_0x41696c+_0x595a87['index'];}}return _0x5438b7;}(_0x1bdd19['text'],_0x58931a+_0x347002[0x0]['length']),_0xd28c71>-0x1&&_0x1bdd19['hasOpenLink']&&(_0xd28c71=_0x58931a+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x1bdd19['text']['slice'](_0x58931a,_0xd28c71))[0x0]['length'])):_0x347002[0x3]?_0xd28c71=_0x2d3508(_0x1bdd19['text'],_0x58931a):(_0xd28c71=_0x2d3508(_0x1bdd19['text'],_0x58931a+_0x347002[0x0]['length']),_0xd28c71>-0x1&&'xmpp:'==_0x347002[0x0]&&(_0x205f60['lastIndex']=_0xd28c71,_0x347002=_0x205f60['exec'](_0x1bdd19['text']),_0x347002&&(_0xd28c71=_0x347002['index']+_0x347002[0x0]['length']))),_0xd28c71<0x0?-0x1:(_0x1bdd19['addElement'](_0x1bdd19['elt']('URL',_0x1541b4,_0xd28c71+_0x1bdd19['offset'])),_0xd28c71+_0x1bdd19['offset'])):-0x1;}}]}];function _0x2f8032(_0x4df3af,_0x1a2d8f,_0x4fc355){return(_0x4e0103,_0x21a4b7,_0x376510)=>{if(_0x21a4b7!=_0x4df3af||_0x4e0103['char'](_0x376510+0x1)==_0x4df3af)return-0x1;let _0x212286=[_0x4e0103['elt'](_0x4fc355,_0x376510,_0x376510+0x1)];for(let _0x58f4af=_0x376510+0x1;_0x58f4af<_0x4e0103['end'];_0x58f4af++){let _0xe79ba6=_0x4e0103['char'](_0x58f4af);if(_0xe79ba6==_0x4df3af)return _0x4e0103['addElement'](_0x4e0103['elt'](_0x1a2d8f,_0x376510,_0x58f4af+0x1,_0x212286['concat'](_0x4e0103['elt'](_0x4fc355,_0x58f4af,_0x58f4af+0x1))));if(0x5c==_0xe79ba6&&_0x212286['push'](_0x4e0103['elt']('Escape',_0x58f4af,0x2+_0x58f4af++)),_0x38aea1(_0xe79ba6))break;}return-0x1;};}const _0x242ddf={'defineNodes':[{'name':'Superscript','style':_0x1f4598['special'](_0x1f4598['content'])},{'name':'SuperscriptMark','style':_0x1f4598['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0x2f8032(0x5e,'Superscript','SuperscriptMark')}]},_0x51d91d={'defineNodes':[{'name':'Subscript','style':_0x1f4598['special'](_0x1f4598['content'])},{'name':'SubscriptMark','style':_0x1f4598['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x2f8032(0x7e,'Subscript','SubscriptMark')}]},_0x2a829c={'defineNodes':[{'name':'Emoji','style':_0x1f4598['character']}],'parseInline':[{'name':'Emoji','parse'(_0x40005d,_0x56733d,_0x3907bf){let _0x43646d;return 0x3a==_0x56733d&&(_0x43646d=/^[a-zA-Z_0-9]+:/['exec'](_0x40005d['slice'](_0x3907bf+0x1,_0x40005d['end'])))?_0x40005d['addElement'](_0x40005d['elt']('Emoji',_0x3907bf,_0x3907bf+0x1+_0x43646d[0x0]['length'])):-0x1;}}]},_0x1a3c4f=_0x29f2bc({'commentTokens':{'block':{'open':'\x3c!--','close':'--\x3e'}}}),_0x5a8ca1=new _0x320816(),_0x1f5d46=_0x286056['configure']({'props':[tj['add'](_0x266e6a=>!_0x266e6a['is']('Block')||_0x266e6a['is']('Document')||null!=_0x1b9234(_0x266e6a)||function(_0x4d1694){return'OrderedList'==_0x4d1694['name']||'BulletList'==_0x4d1694['name'];}(_0x266e6a)?void 0x0:(_0x3f903a,_0x2bd450)=>({'from':_0x2bd450['doc']['lineAt'](_0x3f903a['from'])['to'],'to':_0x3f903a['to']})),_0x5a8ca1['add'](_0x1b9234),_0x58ae01['add']({'Document':()=>null}),_0x1f6fb5['add']({'Document':_0x1a3c4f})]});function _0x1b9234(_0xf825d){let _0x1d8681=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0xf825d['name']);return _0x1d8681?+_0x1d8681[0x1]:void 0x0;}function _0x173b66(_0x3ad817,_0x5868b9){let _0x1e61eb=_0x3ad817;for(;;){let _0x514d86,_0x543126=_0x1e61eb['nextSibling'];if(!_0x543126||null!=(_0x514d86=_0x1b9234(_0x543126['type']))&&_0x514d86<=_0x5868b9)break;_0x1e61eb=_0x543126;}return _0x1e61eb['to'];}const _0x518ca7=_0x2d55c7['of']((_0x3184f3,_0x44027f,_0x367ff3)=>{for(let _0x168db3=_0x393d13(_0x3184f3)['resolveInner'](_0x367ff3,-0x1);_0x168db3&&!(_0x168db3['from']<_0x44027f);_0x168db3=_0x168db3['parent']){let _0x24f7ee=_0x168db3['type']['prop'](_0x5a8ca1);if(null==_0x24f7ee)continue;let _0x174011=_0x173b66(_0x168db3,_0x24f7ee);if(_0x174011>_0x367ff3)return{'from':_0x367ff3,'to':_0x174011};}return null;});function _0x2c61f3(_0x1a75be){return new _0x161b55(_0x1a3c4f,_0x1a75be,[_0x518ca7],'markdown');}const _0x269a8c=_0x2c61f3(_0x1f5d46),_0xe4a4fc=_0x2c61f3(_0x1f5d46['configure']([_0x528b76,_0x51d91d,_0x242ddf,_0x2a829c,{'props':[tj['add']({'Table':(_0x4dcf7b,_0x2aebb9)=>({'from':_0x2aebb9['doc']['lineAt'](_0x4dcf7b['from'])['to'],'to':_0x4dcf7b['to']})})]}]));var _0x1d2470=class{constructor(_0x5c3703,_0x3cac12,_0x121480,_0x41ae17,_0x4b7d18,_0x124866,_0x5e28b6){this['node']=_0x5c3703,this['from']=_0x3cac12,this['to']=_0x121480,this['spaceBefore']=_0x41ae17,this['spaceAfter']=_0x4b7d18,this['type']=_0x124866,this['item']=_0x5e28b6;}['blank'](_0x56a435,_0x453b60=!0x0){let _0x865582=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x56a435){for(;_0x865582['length']<_0x56a435;)_0x865582+='\x20';return _0x865582;}for(let _0xd40c04=this['to']-this['from']-_0x865582['length']-this['spaceAfter']['length'];_0xd40c04>0x0;_0xd40c04--)_0x865582+='\x20';return _0x865582+(_0x453b60?this['spaceAfter']:'');}['marker'](_0x3b3747,_0x26de53){let _0x476cf5='OrderedList'==this['node']['name']?String(+_0x2f6baa(this['item'],_0x3b3747)[0x2]+_0x26de53):'';return this['spaceBefore']+_0x476cf5+this['type']+this['spaceAfter'];}};function _0x57c14e(_0x2e77a7,_0x500c2f){let _0x49e4f8=[],_0x398d0c=[];for(let _0x3aef65=_0x2e77a7;_0x3aef65;_0x3aef65=_0x3aef65['parent']){if('FencedCode'==_0x3aef65['name'])return _0x398d0c;'ListItem'!=_0x3aef65['name']&&'Blockquote'!=_0x3aef65['name']||_0x49e4f8['push'](_0x3aef65);}for(let _0x29d380=_0x49e4f8['length']-0x1;_0x29d380>=0x0;_0x29d380--){let _0x37f55b,_0x48f1c1=_0x49e4f8[_0x29d380],_0x14435c=_0x500c2f['lineAt'](_0x48f1c1['from']),_0x5753fb=_0x48f1c1['from']-_0x14435c['from'];if('Blockquote'==_0x48f1c1['name']&&(_0x37f55b=/^ *>( ?)/['exec'](_0x14435c['text']['slice'](_0x5753fb))))_0x398d0c['push'](new _0x1d2470(_0x48f1c1,_0x5753fb,_0x5753fb+_0x37f55b[0x0]['length'],'',_0x37f55b[0x1],'>',null));else{if('ListItem'==_0x48f1c1['name']&&'OrderedList'==_0x48f1c1['parent']['name']&&(_0x37f55b=/^( *)\d+([.)])( *)/['exec'](_0x14435c['text']['slice'](_0x5753fb)))){let _0x2e80f5=_0x37f55b[0x3],_0x47e93f=_0x37f55b[0x0]['length'];_0x2e80f5['length']>=0x4&&(_0x2e80f5=_0x2e80f5['slice'](0x0,_0x2e80f5['length']-0x4),_0x47e93f-=0x4),_0x398d0c['push'](new _0x1d2470(_0x48f1c1['parent'],_0x5753fb,_0x5753fb+_0x47e93f,_0x37f55b[0x1],_0x2e80f5,_0x37f55b[0x2],_0x48f1c1));}else{if('ListItem'==_0x48f1c1['name']&&'BulletList'==_0x48f1c1['parent']['name']&&(_0x37f55b=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x14435c['text']['slice'](_0x5753fb)))){let _0x547e3f=_0x37f55b[0x4],_0x12e3ac=_0x37f55b[0x0]['length'];_0x547e3f['length']>0x4&&(_0x547e3f=_0x547e3f['slice'](0x0,_0x547e3f['length']-0x4),_0x12e3ac-=0x4);let _0x36978a=_0x37f55b[0x2];_0x37f55b[0x3]&&(_0x36978a+=_0x37f55b[0x3]['replace'](/[xX]/,'\x20')),_0x398d0c['push'](new _0x1d2470(_0x48f1c1['parent'],_0x5753fb,_0x5753fb+_0x12e3ac,_0x37f55b[0x1],_0x547e3f,_0x36978a,_0x48f1c1));}}}}return _0x398d0c;}function _0x2f6baa(_0x372baa,_0x919fe7){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x919fe7['sliceString'](_0x372baa['from'],_0x372baa['from']+0xa));}function _0x1127df(_0x1ee2de,_0x1445f0,_0x2bce05,_0x389a0f=0x0){for(let _0x54f0fc=-0x1,_0x401d67=_0x1ee2de;;){if('ListItem'==_0x401d67['name']){let _0x650d5d=_0x2f6baa(_0x401d67,_0x1445f0),_0x371994=+_0x650d5d[0x2];if(_0x54f0fc>=0x0){if(_0x371994!=_0x54f0fc+0x1)return;_0x2bce05['push']({'from':_0x401d67['from']+_0x650d5d[0x1]['length'],'to':_0x401d67['from']+_0x650d5d[0x0]['length'],'insert':String(_0x54f0fc+0x2+_0x389a0f)});}_0x54f0fc=_0x371994;}let _0x519674=_0x401d67['nextSibling'];if(!_0x519674)break;_0x401d67=_0x519674;}}function _0x3977db(_0x3565e1,_0x4a34bb){let _0x114873=/^[ \t]*/['exec'](_0x3565e1)[0x0]['length'];if(!_0x114873||'\x09'!=_0x4a34bb['facet'](_0x277d90))return _0x3565e1;let _0x175fcf='';for(let _0x51e489=_0x5d2e97(_0x3565e1,0x4,_0x114873);_0x51e489>0x0;)_0x51e489>=0x4?(_0x175fcf+='\x09',_0x51e489-=0x4):(_0x175fcf+='\x20',_0x51e489--);return _0x175fcf+_0x3565e1['slice'](_0x114873);}function _0x3e1709(_0x27deff){return'QuoteMark'==_0x27deff['name']||'ListMark'==_0x27deff['name'];}function _0x4d0760(_0x2e5af4,_0x45b731,_0x43579b){let _0x395198='';for(let _0x399f47=0x0,_0x1e7efb=_0x2e5af4['length']-0x2;_0x399f47<=_0x1e7efb;_0x399f47++)_0x395198+=_0x2e5af4[_0x399f47]['blank'](_0x399f47<_0x1e7efb?_0x5d2e97(_0x43579b['text'],0x4,Math['min'](_0x43579b['text']['length'],_0x2e5af4[_0x399f47+0x1]['from']))-_0x395198['length']:null,_0x399f47<_0x1e7efb);return _0x3977db(_0x395198,_0x45b731);}const _0x43cb43=[{'key':'Enter','run':({state:_0x244c3b,dispatch:_0x243662})=>{let _0x239690=_0x393d13(_0x244c3b),{doc:_0x11066d}=_0x244c3b,_0x244d8e=null,_0xecd9b8=_0x244c3b['changeByRange'](_0x5c04ab=>{if(!_0x5c04ab['empty']||!_0xe4a4fc['isActiveAt'](_0x244c3b,_0x5c04ab['from'],0x0))return _0x244d8e={'range':_0x5c04ab};let _0x34491b=_0x5c04ab['from'],_0x16a702=_0x11066d['lineAt'](_0x34491b),_0x232246=_0x57c14e(_0x239690['resolveInner'](_0x34491b,-0x1),_0x11066d);for(;_0x232246['length']&&_0x232246[_0x232246['length']-0x1]['from']>_0x34491b-_0x16a702['from'];)_0x232246['pop']();if(!_0x232246['length'])return _0x244d8e={'range':_0x5c04ab};let _0x1b192f=_0x232246[_0x232246['length']-0x1];if(_0x1b192f['to']-_0x1b192f['spaceAfter']['length']>_0x34491b-_0x16a702['from'])return _0x244d8e={'range':_0x5c04ab};let _0x1dbddc=_0x34491b>=_0x1b192f['to']-_0x1b192f['spaceAfter']['length']&&!/\S/['test'](_0x16a702['text']['slice'](_0x1b192f['to']));if(_0x1b192f['item']&&_0x1dbddc){let _0x5678cd=_0x1b192f['node']['firstChild'],_0x48bb5b=_0x1b192f['node']['getChild']('ListItem','ListItem');if(_0x5678cd['to']>=_0x34491b||_0x48bb5b&&_0x48bb5b['to']<_0x34491b||_0x16a702['from']>0x0&&!/[^\s>]/['test'](_0x11066d['lineAt'](_0x16a702['from']-0x1)['text'])){let _0x4d053a,_0xb9d4bb=_0x232246['length']>0x1?_0x232246[_0x232246['length']-0x2]:null,_0x3f8a0a='';_0xb9d4bb&&_0xb9d4bb['item']?(_0x4d053a=_0x16a702['from']+_0xb9d4bb['from'],_0x3f8a0a=_0xb9d4bb['marker'](_0x11066d,0x1)):_0x4d053a=_0x16a702['from']+(_0xb9d4bb?_0xb9d4bb['to']:0x0);let _0x3f65f0=[{'from':_0x4d053a,'to':_0x34491b,'insert':_0x3f8a0a}];return'OrderedList'==_0x1b192f['node']['name']&&_0x1127df(_0x1b192f['item'],_0x11066d,_0x3f65f0,-0x2),_0xb9d4bb&&'OrderedList'==_0xb9d4bb['node']['name']&&_0x1127df(_0xb9d4bb['item'],_0x11066d,_0x3f65f0),{'range':_0x3bda1f['cursor'](_0x4d053a+_0x3f8a0a['length']),'changes':_0x3f65f0};}{let _0x4915fc=_0x4d0760(_0x232246,_0x244c3b,_0x16a702);return{'range':_0x3bda1f['cursor'](_0x34491b+_0x4915fc['length']+0x1),'changes':{'from':_0x16a702['from'],'insert':_0x4915fc+_0x244c3b['lineBreak']}};}}if('Blockquote'==_0x1b192f['node']['name']&&_0x1dbddc&&_0x16a702['from']){let _0x26d572=_0x11066d['lineAt'](_0x16a702['from']-0x1),_0x4fa67b=/>\s*$/['exec'](_0x26d572['text']);if(_0x4fa67b&&_0x4fa67b['index']==_0x1b192f['from']){let _0x55f8cd=_0x244c3b['changes']([{'from':_0x26d572['from']+_0x4fa67b['index'],'to':_0x26d572['to']},{'from':_0x16a702['from']+_0x1b192f['from'],'to':_0x16a702['to']}]);return{'range':_0x5c04ab['map'](_0x55f8cd),'changes':_0x55f8cd};}}let _0x1d734c=[];'OrderedList'==_0x1b192f['node']['name']&&_0x1127df(_0x1b192f['item'],_0x11066d,_0x1d734c);let _0x1c4d64=_0x1b192f['item']&&_0x1b192f['item']['from']<_0x16a702['from'],_0x1352ec='';if(!_0x1c4d64||/^[\s\d.)\-+*>]*/['exec'](_0x16a702['text'])[0x0]['length']>=_0x1b192f['to']){for(let _0x2f07c9=0x0,_0x5bd43c=_0x232246['length']-0x1;_0x2f07c9<=_0x5bd43c;_0x2f07c9++)_0x1352ec+=_0x2f07c9!=_0x5bd43c||_0x1c4d64?_0x232246[_0x2f07c9]['blank'](_0x2f07c9<_0x5bd43c?_0x5d2e97(_0x16a702['text'],0x4,_0x232246[_0x2f07c9+0x1]['from'])-_0x1352ec['length']:null):_0x232246[_0x2f07c9]['marker'](_0x11066d,0x1);}let _0x586c1d=_0x34491b;for(;_0x586c1d>_0x16a702['from']&&/\s/['test'](_0x16a702['text']['charAt'](_0x586c1d-_0x16a702['from']-0x1));)_0x586c1d--;return _0x1352ec=_0x3977db(_0x1352ec,_0x244c3b),function(_0x11eae1,_0x3cab62){if('OrderedList'!=_0x11eae1['name']&&'BulletList'!=_0x11eae1['name'])return!0x1;let _0x11fda8=_0x11eae1['firstChild'],_0x1a5a9c=_0x11eae1['getChild']('ListItem','ListItem');if(!_0x1a5a9c)return!0x1;let _0xd429ee=_0x3cab62['lineAt'](_0x11fda8['to']),_0x141f3d=_0x3cab62['lineAt'](_0x1a5a9c['from']),_0x3f0b96=/^[\s>]*$/['test'](_0xd429ee['text']);return _0xd429ee['number']+(_0x3f0b96?0x0:0x1)<_0x141f3d['number'];}(_0x1b192f['node'],_0x244c3b['doc'])&&(_0x1352ec=_0x4d0760(_0x232246,_0x244c3b,_0x16a702)+_0x244c3b['lineBreak']+_0x1352ec),_0x1d734c['push']({'from':_0x586c1d,'to':_0x34491b,'insert':_0x244c3b['lineBreak']+_0x1352ec}),{'range':_0x3bda1f['cursor'](_0x586c1d+_0x1352ec['length']+0x1),'changes':_0x1d734c};});return!_0x244d8e&&(_0x243662(_0x244c3b['update'](_0xecd9b8,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x28bf7b,dispatch:_0xf87f4e})=>{let _0x4cc8cf=_0x393d13(_0x28bf7b),_0x28463b=null,_0x16a3b2=_0x28bf7b['changeByRange'](_0x4c4513=>{let _0x3b2dbc=_0x4c4513['from'],{doc:_0x3a7afe}=_0x28bf7b;if(_0x4c4513['empty']&&_0xe4a4fc['isActiveAt'](_0x28bf7b,_0x4c4513['from'])){let _0x1bb0c3=_0x3a7afe['lineAt'](_0x3b2dbc),_0x2d81ad=_0x57c14e(function(_0x25b1bc,_0x4c3be1){let _0x3ce9a3=_0x25b1bc['resolveInner'](_0x4c3be1,-0x1),_0x154272=_0x4c3be1;_0x3e1709(_0x3ce9a3)&&(_0x154272=_0x3ce9a3['from'],_0x3ce9a3=_0x3ce9a3['parent']);for(let _0x12f9b2;_0x12f9b2=_0x3ce9a3['childBefore'](_0x154272);)if(_0x3e1709(_0x12f9b2))_0x154272=_0x12f9b2['from'];else{if('OrderedList'!=_0x12f9b2['name']&&'BulletList'!=_0x12f9b2['name'])break;_0x3ce9a3=_0x12f9b2['lastChild'],_0x154272=_0x3ce9a3['to'];}return _0x3ce9a3;}(_0x4cc8cf,_0x3b2dbc),_0x3a7afe);if(_0x2d81ad['length']){let _0xbb59cf=_0x2d81ad[_0x2d81ad['length']-0x1],_0xcceb43=_0xbb59cf['to']-_0xbb59cf['spaceAfter']['length']+(_0xbb59cf['spaceAfter']?0x1:0x0);if(_0x3b2dbc-_0x1bb0c3['from']>_0xcceb43&&!/\S/['test'](_0x1bb0c3['text']['slice'](_0xcceb43,_0x3b2dbc-_0x1bb0c3['from'])))return{'range':_0x3bda1f['cursor'](_0x1bb0c3['from']+_0xcceb43),'changes':{'from':_0x1bb0c3['from']+_0xcceb43,'to':_0x3b2dbc}};if(_0x3b2dbc-_0x1bb0c3['from']==_0xcceb43&&(!_0xbb59cf['item']||_0x1bb0c3['from']<=_0xbb59cf['item']['from']||!/\S/['test'](_0x1bb0c3['text']['slice'](0x0,_0xbb59cf['to'])))){let _0x389882=_0x1bb0c3['from']+_0xbb59cf['from'];if(_0xbb59cf['item']&&_0xbb59cf['node']['from']<_0xbb59cf['item']['from']&&/\S/['test'](_0x1bb0c3['text']['slice'](_0xbb59cf['from'],_0xbb59cf['to']))){let _0x4b3351=_0xbb59cf['blank'](_0x5d2e97(_0x1bb0c3['text'],0x4,_0xbb59cf['to'])-_0x5d2e97(_0x1bb0c3['text'],0x4,_0xbb59cf['from']));return _0x389882==_0x1bb0c3['from']&&(_0x4b3351=_0x3977db(_0x4b3351,_0x28bf7b)),{'range':_0x3bda1f['cursor'](_0x389882+_0x4b3351['length']),'changes':{'from':_0x389882,'to':_0x1bb0c3['from']+_0xbb59cf['to'],'insert':_0x4b3351}};}if(_0x389882<_0x3b2dbc)return{'range':_0x3bda1f['cursor'](_0x389882),'changes':{'from':_0x389882,'to':_0x3b2dbc}};}}}return _0x28463b={'range':_0x4c4513};});return!_0x28463b&&(_0xf87f4e(_0x28bf7b['update'](_0x16a3b2,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],_0x1393bb=_0x4cdf28({'matchClosingTags':!0x1});function _0x425af4(_0x1c8024={}){let {codeLanguages:_0x36d524,defaultCodeLanguage:_0x4f43d6,addKeymap:_0x129f82=!0x0,base:{parser:_0x126721}=_0x269a8c,completeHTMLTags:_0x55d565=!0x0,htmlTagLanguage:_0x54a4e9=_0x1393bb}=_0x1c8024;if(!(_0x126721 instanceof _0x46826d))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0xd303e6,_0x2fb53c=_0x1c8024['extensions']?[_0x1c8024['extensions']]:[],_0x3cf2ee=[_0x54a4e9['support']];_0x4f43d6 instanceof _0x1faf41?(_0x3cf2ee['push'](_0x4f43d6['support']),_0xd303e6=_0x4f43d6['language']):_0x4f43d6&&(_0xd303e6=_0x4f43d6);let _0x58dadb=_0x36d524||_0xd303e6?(_0x2da2e3=_0x36d524,_0x1e77b4=_0xd303e6,_0x23647a=>{if(_0x23647a&&_0x2da2e3){let _0x7003bb=null;if(_0x23647a=/\S*/['exec'](_0x23647a)[0x0],_0x7003bb='function'==typeof _0x2da2e3?_0x2da2e3(_0x23647a):_0x4bd332['matchLanguageName'](_0x2da2e3,_0x23647a,!0x0),_0x7003bb instanceof _0x4bd332)return _0x7003bb['support']?_0x7003bb['support']['language']['parser']:_0x232e74['getSkippingParser'](_0x7003bb['load']());if(_0x7003bb)return _0x7003bb['parser'];}return _0x1e77b4?_0x1e77b4['parser']:null;}):void 0x0;var _0x2da2e3,_0x1e77b4;_0x2fb53c['push'](function(_0x24a29b){let {codeParser:_0x1b72db,htmlParser:_0x42ce92}=_0x24a29b;return{'wrap':_0x582aa7((_0x542b59,_0x5aafa2)=>{let _0x44911c=_0x542b59['type']['id'];if(!_0x1b72db||_0x44911c!=_0x43fb85['CodeBlock']&&_0x44911c!=_0x43fb85['FencedCode']){if(_0x42ce92&&(_0x44911c==_0x43fb85['HTMLBlock']||_0x44911c==_0x43fb85['HTMLTag']||_0x44911c==_0x43fb85['CommentBlock']))return{'parser':_0x42ce92,'overlay':_0x51edc2(_0x542b59['node'],_0x542b59['from'],_0x542b59['to'])};}else{let _0x5d89fd='';if(_0x44911c==_0x43fb85['FencedCode']){let _0x1a7c42=_0x542b59['node']['getChild'](_0x43fb85['CodeInfo']);_0x1a7c42&&(_0x5d89fd=_0x5aafa2['read'](_0x1a7c42['from'],_0x1a7c42['to']));}let _0x2c59cf=_0x1b72db(_0x5d89fd);if(_0x2c59cf)return{'parser':_0x2c59cf,'overlay':_0x7486ad=>_0x7486ad['type']['id']==_0x43fb85['CodeText'],'bracketed':_0x44911c==_0x43fb85['FencedCode']};}return null;})};}({'codeParser':_0x58dadb,'htmlParser':_0x54a4e9['language']['parser']})),_0x129f82&&_0x3cf2ee['push'](_0x1cb9ad['high'](_0xc0edec['of'](_0x43cb43)));let _0x411178=_0x2c61f3(_0x126721['configure'](_0x2fb53c));return _0x55d565&&_0x3cf2ee['push'](_0x411178['data']['of']({'autocomplete':_0x2372ef})),new _0x1faf41(_0x411178,_0x3cf2ee);}function _0x2372ef(_0x3523fa){let {state:_0x2d1758,pos:_0x570185}=_0x3523fa,_0x114dae=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x2d1758['sliceDoc'](_0x570185-0x19,_0x570185));if(!_0x114dae)return null;let _0x43b4b8=_0x393d13(_0x2d1758)['resolveInner'](_0x570185,-0x1);for(;_0x43b4b8&&!_0x43b4b8['type']['isTop'];){if('CodeBlock'==_0x43b4b8['name']||'FencedCode'==_0x43b4b8['name']||'ProcessingInstructionBlock'==_0x43b4b8['name']||'CommentBlock'==_0x43b4b8['name']||'Link'==_0x43b4b8['name']||'Image'==_0x43b4b8['name'])return null;_0x43b4b8=_0x43b4b8['parent'];}return{'from':_0x570185-_0x114dae[0x0]['length'],'to':_0x570185,'options':_0xb02cd7(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _0xf08795=null;function _0xb02cd7(){if(_0xf08795)return _0xf08795;let _0x204d8f=(_0x3f03c2=new _0x11e31f(_0x1d56fe['create']({'extensions':_0x1393bb}),0x0,!0x0),_0x3c95d9(_0x3eab64['default'],_0x3f03c2));var _0x3f03c2;return _0xf08795=_0x204d8f?_0x204d8f['options']:[];}const _0x2acb1b='#e06c75',_0x5d682d='#abb2bf',_0x3e30ed='#7d8799',_0x5b13f2='#d19a66',_0x14801c='#2c313a',_0xea5456='#282c34',_0x969df8='#353a42',_0x1398d3='#528bff',_0x4ee7e0=[_0x51f1f4['theme']({'&':{'color':_0x5d682d,'backgroundColor':_0xea5456},'.cm-content':{'caretColor':_0x1398d3},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x1398d3},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground,\x20.cm-selectionBackground,\x20.cm-content\x20::selection':{'backgroundColor':'#3E4451'},'.cm-panels':{'backgroundColor':'#21252b','color':_0x5d682d},'.cm-panels.cm-panels-top':{'borderBottom':'2px\x20solid\x20black'},'.cm-panels.cm-panels-bottom':{'borderTop':'2px\x20solid\x20black'},'.cm-searchMatch':{'backgroundColor':'#72a1ff59','outline':'1px\x20solid\x20#457dff'},'.cm-searchMatch.cm-searchMatch-selected':{'backgroundColor':'#6199ff2f'},'.cm-activeLine':{'backgroundColor':'#6699ff0b'},'.cm-selectionMatch':{'backgroundColor':'#aafe661a'},'&.cm-focused\x20.cm-matchingBracket,\x20&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bad0f847'},'.cm-gutters':{'backgroundColor':_0xea5456,'color':_0x3e30ed,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':_0x14801c},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':_0x969df8},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':_0x969df8,'borderBottomColor':_0x969df8},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':_0x14801c,'color':_0x5d682d}}},{'dark':!0x0}),_0x57bd24(_0x4e09be['define']([{'tag':_0x1f4598['keyword'],'color':'#c678dd'},{'tag':[_0x1f4598['name'],_0x1f4598['deleted'],_0x1f4598['character'],_0x1f4598['propertyName'],_0x1f4598['macroName']],'color':_0x2acb1b},{'tag':[_0x1f4598['function'](_0x1f4598['variableName']),_0x1f4598['labelName']],'color':'#61afef'},{'tag':[_0x1f4598['color'],_0x1f4598['constant'](_0x1f4598['name']),_0x1f4598['standard'](_0x1f4598['name'])],'color':_0x5b13f2},{'tag':[_0x1f4598['definition'](_0x1f4598['name']),_0x1f4598['separator']],'color':_0x5d682d},{'tag':[_0x1f4598['typeName'],_0x1f4598['className'],_0x1f4598['number'],_0x1f4598['changed'],_0x1f4598['annotation'],_0x1f4598['modifier'],_0x1f4598['self'],_0x1f4598['namespace']],'color':'#e5c07b'},{'tag':[_0x1f4598['operator'],_0x1f4598['operatorKeyword'],_0x1f4598['url'],_0x1f4598['escape'],_0x1f4598['regexp'],_0x1f4598['link'],_0x1f4598['special'](_0x1f4598['string'])],'color':'#56b6c2'},{'tag':[_0x1f4598['meta'],_0x1f4598['comment']],'color':_0x3e30ed},{'tag':_0x1f4598['strong'],'fontWeight':'bold'},{'tag':_0x1f4598['emphasis'],'fontStyle':'italic'},{'tag':_0x1f4598['strikethrough'],'textDecoration':'line-through'},{'tag':_0x1f4598['link'],'color':_0x3e30ed,'textDecoration':'underline'},{'tag':_0x1f4598['heading'],'fontWeight':'bold','color':_0x2acb1b},{'tag':[_0x1f4598['atom'],_0x1f4598['bool'],_0x1f4598['special'](_0x1f4598['variableName'])],'color':_0x5b13f2},{'tag':[_0x1f4598['processingInstruction'],_0x1f4598['string'],_0x1f4598['inserted']],'color':'#98c379'},{'tag':_0x1f4598['invalid'],'color':'#ffffff'}]))];function _0x597baf(_0x3c6679){const _0x1ecb12=[_0x51f1f4['lineWrapping'],tH(),_0x10c635(),_0x41a16e(),_0x24a780(),_0x5188c5(),_0x2b1c39(),_0x1d10e9(),_0x4f78d5(),_0xbd3277(),_0x1fa6d9(),_0x2238b2(),_0x2ee53f(),_0x457937(),_0x4bdae0(),_0x57bd24(_0x55135c,{'fallback':!0x0})],_0x16d747=new _0x175daa();_0x1ecb12['push'](_0x16d747['of'](_0x51f1f4['editable']['of'](!0x0))),'html'===_0x3c6679['syntaxLanguage']?_0x1ecb12['push'](_0x4cdf28()):_0x1ecb12['push'](_0x425af4());const _0x3352a7=(_0x2689f3=_0x3c6679['theme'])&&'default'!==_0x2689f3?'dark'===_0x2689f3?_0x4ee7e0:_0x2689f3:null;var _0x2689f3;_0x3352a7&&_0x1ecb12['push'](_0x3352a7),_0x1ecb12['push'](_0xc0edec['of']([..._0x19f145,..._0x4ef187,..._0x2b90c2,..._0x2ccc06,..._0x2a4a2c,{'key':'Tab','run':_0x14f968,'shift':_0x4682cd,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x21d3e9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x21d3e9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x7fb4bc,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x5426ce=new _0x51f1f4({'extensions':_0x1ecb12,'parent':_0x3c6679['parent']});return _0x459c58(_0x5426ce),{'focus':()=>{_0x5426ce['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5426ce['focus']();},'getData':()=>_0x5426ce['state']['doc']['toString'](),'setData':_0x3a9d23=>{_0x5426ce['dispatch']({'changes':{'from':0x0,'to':_0x5426ce['state']['doc']['length'],'insert':_0x3a9d23},'annotations':_0xdf5f41['addToHistory']['of'](!0x1)});},'setReadOnly':_0x37acf1=>{_0x5426ce['dispatch']({'effects':[_0x16d747['reconfigure'](_0x51f1f4['editable']['of'](!_0x37acf1))]});},'destroy':()=>{_0x5426ce['destroy']();},'instance':_0x5426ce};}var _0x3f479d=class extends _0x491313['View']{_codeEditorApi=null;_options;constructor(_0x145930,_0x51fe36){super(_0x145930),this['_options']=_0x51fe36,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=_0x597baf({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x180cf8,_0x22a90d,_0x449715)=>{this['setReadOnly'](_0x449715);});}destroy(){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}getData(){return this['_codeEditorApi']['getData']();}setData(_0x4ad4c7){this['_codeEditorApi']['setData'](_0x4ad4c7);}setReadOnly(_0x37bb01){this['_codeEditorApi']['setReadOnly'](_0x37bb01);}};const _0x2b6aa7='SourceEditingEnhancedMode';var _0x2cb520=class extends _0x491313['Command']{constructor(_0x3b0a26){super(_0x3b0a26),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x491313['PendingActions'])['on']('change:hasAny',(_0x544e7c,_0x440b44,_0x4b8ec9)=>{_0x4b8ec9?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x5ca499=this['editor'];for(const _0x3d2ac6 of _0x5ca499['commands']['names']())['replaceSource','editSource']['includes'](_0x3d2ac6)||_0x5ca499['commands']['get'](_0x3d2ac6)['forceDisabled'](_0x2b6aa7);}['_enableCommands'](){const _0x86138=this['editor'];for(const _0x326adb of _0x86138['commands']['commands']())_0x326adb['clearForceDisabled'](_0x2b6aa7);}['refresh'](){this['isEnabled']=!0x0;}execute(){const _0x4aae78=this['editor'],_0x5bc488=_0x4aae78['locale'],_0x56605e=_0x4aae78['plugins']['get']('Dialog'),_0x37c11e=_0x2913bc(_0x4aae78),_0x4b0ae0=_0x205eb4(_0x59f8dd=_0x4aae78['data']['get']({'rootName':_0x37c11e}))?(0x0,_0x491313['formatHtml'])(_0x59f8dd):_0x59f8dd;var _0x59f8dd;const _0x19c7d3=new _0x3f479d(_0x5bc488,{'syntaxLanguage':_0x4aae78['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4aae78['config']['get']('sourceEditingEnhanced.theme')});let _0x46edd6=!0x0;const _0x333425=_0x4e4be2=>{if(_0x46edd6&&_0x38b99a(_0x19c7d3['getData']())!==_0x38b99a(_0x4b0ae0))return window['confirm'](_0x32edc1(_0x5bc488,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x4e4be2['stop']();};_0x56605e['show']({'id':'sourceEditingEnhanced','title':_0x32edc1(_0x5bc488,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x19c7d3,'actionButtons':[{'label':_0x32edc1(_0x5bc488,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x56605e['hide']();}},{'label':_0x32edc1(_0x5bc488,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x246ec8=_0x38b99a(_0x19c7d3['getData']())!==_0x38b99a(_0x4b0ae0);_0x246ec8&&_0x4aae78['execute']('replaceSource',_0x19c7d3['getData']()),_0x46edd6=!0x1,_0x56605e['hide'](),_0x246ec8&&'editables'in _0x4aae78['ui']['view']&&_0x4aae78['ui']['view']['editables'][_0x37c11e]['element']['focus']();},'onCreate':_0x18c175=>{_0x18c175['set']('isEnabled',!_0x4aae78['isReadOnly']),_0x18c175['bind']('isEnabled')['to'](_0x4aae78,'isReadOnly',this,'isEnabled',(_0x1f04fb,_0x25553c)=>!_0x1f04fb&&_0x25553c);}}],'onHide':()=>{this['_enableCommands'](),_0x56605e['off']('hide',_0x333425),_0x19c7d3['destroy']();},'onShow':()=>{_0x19c7d3['bind']('isReadOnly')['to'](_0x4aae78,'isReadOnly',this,'isEnabled',(_0x496947,_0x4f05d8)=>_0x496947||!_0x4f05d8),_0x19c7d3['setData'](_0x4b0ae0),_0x19c7d3['focus'](),_0x56605e['on']('hide',_0x333425,{'priority':'highest'}),this['_disableCommands']();}});}},_0x572234=class extends _0x491313['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get requires(){return[_0x491313['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x26bdec=this['editor'],_0x4e63ef=_0x26bdec['locale'],_0x2d0d29=new _0x2cb520(_0x26bdec);_0x26bdec['commands']['add']('editSource',_0x2d0d29),_0x26bdec['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x142a35=this['_createButton'](_0x491313['ButtonView'],_0x2d0d29);return _0x142a35['set']({'label':_0x32edc1(_0x4e63ef,'Source'),'icon':_0x491313['IconSource'],'tooltip':_0x32edc1(_0x4e63ef,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x142a35;}),_0x26bdec['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2ee00e=this['_createButton'](_0x491313['MenuBarMenuListItemButtonView'],_0x2d0d29,!0x0);return _0x2ee00e['set']({'label':_0x32edc1(_0x4e63ef,'Edit\x20source\x20modal\x20label'),'icon':_0x491313['IconSource'],'role':'menuitemcheckbox'}),_0x2ee00e;}),this['_registerKeybindings']();}afterInit(){!async function(_0x1f446a){const _0x3dad74='NQVXyBFHJzr8WGI4aZnTeoUx6p9jfv3DitLwuckYlhdMA2K5S7mbCOPEs1qgR0',_0x2903fc=0x791d0,_0x431d9e=window['Date']['now'](),_0x3f31ca=_0x1f446a['editor'],_0x1688be=new window['Promise'](_0x4414b2=>{_0x3f31ca['once']('ready',_0x4414b2);}),_0x12fbd0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x171d9e=_0x3f31ca['config']['get']('licenseKey');async function _0x431fca(){let _0x27cd1e,_0x595061=null,_0x16ce6f=null;try{return'GPL'==_0x171d9e?'NotAllowed':(_0x27cd1e=_0x4aab63(),_0x27cd1e?(_0x27cd1e['usageEndpoint']&&(_0x16ce6f=_0x4f7d25(_0x27cd1e['usageEndpoint'],_0x27cd1e['jti'])),await _0x179963()?_0x52ee08()?_0x17aa08()?'Expired':_0x2ddc82()?('evaluation'==_0x27cd1e['licenseType']&&(_0x595061=_0xee8be1('EvaluationLimit')),await _0x38c223()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x17aa08(){const _0x80a3eb=['evaluation','trial']['includes'](_0x27cd1e['licenseType'])?_0x431d9e/0x3e8:0xe10*_0x2903fc;return _0x27cd1e['exp']<_0x80a3eb;}function _0x52ee08(){const _0x31fa9c=_0x27cd1e['features'];return!!_0x31fa9c&&(!!_0x31fa9c['includes']('*')||!!_0x31fa9c['includes']('SEE'));}function _0x2ddc82(){const _0x202f05=_0x27cd1e['licensedHosts'];if(!_0x202f05||0x0==_0x202f05['length'])return!0x0;const {hostname:_0x432ede}=new URL(window['location']['href']);if(_0x202f05['includes'](_0x432ede))return!0x0;const _0x5b9137=_0x432ede['split']('.');return _0x202f05['filter'](_0x13b8eb=>_0x13b8eb['includes']('*'))['map'](_0x4a3456=>_0x4a3456['split']('.'))['filter'](_0x262f8c=>_0x262f8c['length']<=_0x5b9137['length'])['map'](_0x22bb5c=>Array(_0x5b9137['length']-_0x22bb5c['length'])['fill']('*'===_0x22bb5c[0x0]?'*':'')['concat'](_0x22bb5c))['some'](_0x11b364=>_0x5b9137['every']((_0x3af4d6,_0xf7c2fb)=>_0x11b364[_0xf7c2fb]===_0x3af4d6||'*'===_0x11b364[_0xf7c2fb]));}function _0x38c223(){return _0x595061&&_0x16ce6f?new window['Promise']((_0x5e308f,_0x317d2a)=>{_0x595061['then'](_0x5e308f,_0x317d2a),_0x16ce6f['then'](_0x1a7cea=>{'Valid'!=_0x1a7cea&&_0x5e308f(_0x1a7cea);},_0x317d2a);}):_0x595061||_0x16ce6f||'Valid';}}function _0x4f7d25(_0x5c390e,_0x2bd9aa){return new window['Promise'](_0x5c18a9=>{if(_0x22c8fa())return _0x5c18a9('Valid');_0x1fd0ed(),_0x3f31ca['decorate']('_sendUsageRequest');let _0x2482e2=!0x1;const _0x2306d8=(0x0,_0x491313['uid'])();function _0x53dbca(_0x580cd5){return!!_0x580cd5&&('object'==typeof _0x580cd5||'function'==typeof _0x580cd5)&&'function'==typeof _0x580cd5['then']&&'function'==typeof _0x580cd5['catch'];}function _0x5a246a(_0x13f027){_0x1e7d3e(_0x13f027)['then'](_0x2e6df1=>_0x2e6df1&&'ok'==_0x2e6df1['status']?_0x17699b(_0x46502a(_0x2306d8+_0x2bd9aa))!=_0x2e6df1['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5f33fd=>(_0x1afd49(),_0x5f33fd),()=>{const _0xd48c66=_0x1acb8e();return null==_0xd48c66?(_0x1afd49(),'Valid'):_0x431d9e-_0xd48c66>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5c18a9)['catch'](()=>{_0x5c18a9('UsageLimit');});const _0x456611=0x36ee80;function _0x1afd49(){const _0xa790b6='llct-'+_0x17699b(_0x46502a(_0x5c390e)),_0x56c4c4=_0x4301d3(_0x17699b(window['Math']['ceil'](_0x431d9e/_0x456611)));window['localStorage']['setItem'](_0xa790b6,_0x56c4c4);}function _0x1acb8e(){const _0x1ba5ac='llct-'+_0x17699b(_0x46502a(_0x5c390e)),_0x831cfd=window['localStorage']['getItem'](_0x1ba5ac);return _0x831cfd?window['parseInt'](_0x4301d3(_0x831cfd),0x10)*_0x456611:null;}function _0x1e7d3e(_0x3364fa){return new window['Promise']((_0x28ef44,_0x13b213)=>{_0x3364fa['then'](_0x28ef44,_0x13b213),window['setTimeout'](_0x13b213,0x1d4c0);});}}_0x3f31ca['on']('_sendUsageRequest',(_0x3291f4,_0x967b2e)=>{if(_0x967b2e[0x0]!=_0x5c390e)return _0x5c18a9('UsageLimit');_0x967b2e[0x1]={..._0x967b2e[0x1],'requestId':_0x2306d8};},{'priority':'high'}),_0x3f31ca['on']('_sendUsageRequest',_0xfc1d67=>{_0x53dbca(_0xfc1d67['return'])&&(_0x2482e2=!0x0,_0x5a246a(_0xfc1d67['return']));},{'priority':'low'}),_0x1688be['then'](()=>{_0x2482e2||_0x5c18a9('UsageLimit');});});function _0x22c8fa(){return'auto'==_0x3f31ca['editing']['view']['_overlayModeHint'];}function _0x1fd0ed(){_0x3f31ca['editing']['view']['_overlayModeHint']='auto';}}function _0xee8be1(_0x5acf4d){const _0xcd0f3b=[new window['Promise'](_0x13c5b3=>setTimeout(_0x13c5b3,0x93ecc)),_0x1688be['then'](()=>new window['Promise'](_0x5efe13=>{let _0x1e22f4=0x0;_0x3f31ca['model']['on']('applyOperation',(_0x566c85,_0x2ae6a9)=>{_0x2ae6a9[0x0]['isDocumentOperation']&&_0x1e22f4++,0x5e8==_0x1e22f4&&(_0x5efe13(),_0x566c85['off']());});}))];return window['Promise']['race'](_0xcd0f3b)['then'](()=>_0x5acf4d);}async function _0x131c9b(){await _0x1688be,_0x3f31ca['model']['change']=_0x2fd3dd,_0x3f31ca['model']['enqueueChange']=_0x2fd3dd,_0x3f31ca['enableReadOnlyMode']('model');}function _0x4605c5(_0x20cc27){const _0x1ba861=_0x1a3372();_0x3f31ca[_0x1ba861]='sourceEditingEnhancedLicenseKey'+_0x20cc27,'Valid'!=_0x20cc27&&_0x131c9b();}function _0x1a3372(){const _0x411a08=window['String'](window['performance']['now']())['replace']('.','');let _0x4cd307='N';for(let _0x6e5061=0x0;_0x6e5061<_0x411a08['length'];_0x6e5061+=0x2){let _0x3c5ede=window['parseInt'](_0x411a08['substring'](_0x6e5061,_0x6e5061+0x2));_0x3c5ede>=0x3e&&(_0x3c5ede-=0x3e),_0x4cd307+=_0x3dad74[_0x3c5ede];}return _0x4cd307;}function _0x4aab63(){const _0x121113=_0x171d9e['split']('.');if(0x3!=_0x121113['length'])return null;return _0x1b9306(_0x121113[0x1]);function _0x1b9306(_0x35456e){const _0x355f49=_0x733e5e(_0x35456e);return _0x355f49&&_0x4c63a4()?_0x355f49:null;function _0x4c63a4(){const _0x2e495c=_0x355f49['jti'],_0x1b4953=window['parseInt'](_0x2e495c['substring'](_0x2e495c['length']-0x8),0x10),_0x295a91={..._0x355f49,'jti':_0x2e495c['substring'](0x0,_0x2e495c['length']-0x8)};return delete _0x295a91['vc'],_0x46502a(_0x295a91)==_0x1b4953;}}}async function _0x179963(){let _0x76d050=!0x0;try{const [_0x5d506b,_0x11df77,_0x1cc0e1]=_0x171d9e['split']('.');return _0x40ea1b(_0x5d506b),await _0x104ebe(_0x5d506b,_0x11df77,_0x1cc0e1),_0x76d050;}catch{return!0x1;}function _0x40ea1b(_0x21d8ed){const _0x1ac125=_0x733e5e(_0x21d8ed);_0x1ac125&&'ES256'==_0x1ac125['alg']||(_0x76d050=!0x1);}async function _0x104ebe(_0x1978ae,_0x4a5913,_0x233553){const _0x1b0648=window['Uint8Array']['from'](_0x46c898(_0x233553),_0x25ef59=>_0x25ef59['charCodeAt'](0x0)),_0x1859f0=new window['TextEncoder']()['encode'](_0x1978ae+'.'+_0x4a5913),_0x2352ff=window['crypto']['subtle'];if(!_0x2352ff)return;const _0xfe704f=await _0x2352ff['importKey']('jwk',_0x12fbd0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2352ff['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0xfe704f,_0x1b0648,_0x1859f0)||(_0x76d050=!0x1);}}function _0x733e5e(_0x52c752){return _0x52c752['startsWith']('ey')?JSON['parse'](_0x46c898(_0x52c752)):null;}function _0x46c898(_0x269aba){return window['atob'](_0x269aba['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x46502a(_0x54b759){let _0x11c26b=0x1505;function _0x18dfcc(_0x47633b){for(let _0x4b82b3=0x0;_0x4b82b3<_0x47633b['length'];_0x4b82b3++){const _0x1b0709=_0x47633b['charCodeAt'](_0x4b82b3);_0x11c26b=(_0x11c26b<<0x5)+_0x11c26b+_0x1b0709,_0x11c26b&=_0x11c26b;}}function _0x16f5ad(_0x50cbcd){Array['isArray'](_0x50cbcd)?_0x50cbcd['forEach'](_0x16f5ad):_0x50cbcd&&'object'==typeof _0x50cbcd?Object['entries'](_0x50cbcd)['sort']()['forEach'](([_0x4282ba,_0x27d747])=>{_0x18dfcc(_0x4282ba),_0x16f5ad(_0x27d747);}):_0x18dfcc(window['String'](_0x50cbcd));}return _0x16f5ad(_0x54b759),_0x11c26b>>>0x0;}function _0x17699b(_0x3aa0cf){return _0x3aa0cf['toString'](0x10)['padStart'](0x8,'0');}function _0x4301d3(_0x345948){return _0x345948['split']('')['reverse']()['join']('');}function _0x2fd3dd(){}_0x4605c5(await _0x431fca());}(this);}_createButton(_0xbbb338,_0x227e6a,_0x1f0ce4=!0x1){const _0x1c26d2=new _0xbbb338(this['editor']['locale']);return _0x1c26d2['set']({'withText':_0x1f0ce4,'isToggleable':!0x1}),_0x1c26d2['bind']('isEnabled')['to'](_0x227e6a,'isEnabled'),this['listenTo'](_0x1c26d2,'execute',()=>_0x227e6a['execute']()),_0x1c26d2;}_registerKeybindings(){const _0x322419=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':_0x32edc1(_0x322419,'Source\x20Editing\x20Enhanced')});const _0x5bd020=_0x491313['env']['isMac']||_0x491313['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':_0x32edc1(_0x322419,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':_0x32edc1(_0x322419,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':_0x32edc1(_0x322419,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':_0x32edc1(_0x322419,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':_0x32edc1(_0x322419,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':_0x32edc1(_0x322419,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':_0x32edc1(_0x322419,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5bd020?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':_0x32edc1(_0x322419,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':_0x32edc1(_0x322419,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':_0x32edc1(_0x322419,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':_0x32edc1(_0x322419,'Select\x20line'),'keystroke':_0x5bd020?'Ctrl!+L':'Alt+L'},{'label':_0x32edc1(_0x322419,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5bd020?'Alt+Shift+M':'Ctrl+M'},{'label':_0x32edc1(_0x322419,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':_0x32edc1(_0x322419,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':_0x32edc1(_0x322419,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':_0x32edc1(_0x322419,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':_0x32edc1(_0x322419,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5bd020?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}},_0xe1e526=class extends _0x491313['Command']{constructor(_0x3b6469){super(_0x3b6469),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}execute(_0x1ed254,_0x5b7e03){const _0x36aa72=this['editor'],_0x3d5ebb=_0x5b7e03?.['rootName']??_0x2913bc(_0x36aa72);_0x36aa72['data']['set']({[_0x3d5ebb]:_0x1ed254},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}},tq=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x572234];}constructor(_0x5ad01b){super(_0x5ad01b),_0x5ad01b['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}init(){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0xe1e526(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x41debf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b850c;for(const _0x5d77bb in _0x41debf){const _0x2ed896=_0x5d77bb,_0x404f5c=_0x41debf[_0x2ed896];if('sourceEditingEnhancedLicenseKeyValid'==_0x404f5c||'sourceEditingEnhancedLicenseKeyInvalid'==_0x404f5c||'sourceEditingEnhancedLicenseKeyExpired'==_0x404f5c||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x404f5c||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x404f5c||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x404f5c||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x404f5c){delete _0x41debf[_0x2ed896],_0x5b850c=_0x404f5c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x5b850c&&_0x41debf['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x5b850c&&_0x41debf['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5b850c&&_0x41debf['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5b850c&&_0x41debf['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5b850c&&_0x41debf['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5b850c&&_0x41debf['_showLicenseError']('usageLimit');},0x3e8);}destroy(){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_checkCompatibility(){const _0x1e2c20=this['editor'],_0x233e84=_0x1e2c20['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x233e84&&_0x1e2c20['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x491313['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x233e84&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x132d3d=>_0x1e2c20['plugins']['has'](_0x132d3d))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x1e2c20['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}},_0x1f4b4c=class extends _0x491313['Command']{execute(_0x5412e6){const {model:_0x9c4f5b}=this['editor'];let _0x5e4831;switch(typeof _0x5412e6){case'string':_0x5e4831=_0x5412e6;break;case'function':_0x5e4831=_0x5412e6();}'string'==typeof _0x5e4831&&_0x9c4f5b['change'](()=>{const _0x207d43=this['editor']['data']['htmlProcessor']['toView'](_0x5e4831),_0x737cf6=_0x9c4f5b['document']['selection']['getFirstPosition']()['root'],_0x3092a1=this['editor']['data']['toModel'](_0x207d43,_0x737cf6);_0x9c4f5b['insertContent'](_0x3092a1);});}},_0x446880=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x2ea701}=this;_0x2ea701['commands']['add']('insertTemplate',new _0x1f4b4c(_0x2ea701)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x38794b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a347d;for(const _0x45ffe4 in _0x38794b){const _0x576d6f=_0x45ffe4,_0x16b727=_0x38794b[_0x576d6f];if('templateLicenseKeyValid'==_0x16b727||'templateLicenseKeyInvalid'==_0x16b727||'templateLicenseKeyExpired'==_0x16b727||'templateLicenseKeyDomainLimit'==_0x16b727||'templateLicenseKeyNotAllowed'==_0x16b727||'templateLicenseKeyEvaluationLimit'==_0x16b727||'templateLicenseKeyUsageLimit'==_0x16b727){delete _0x38794b[_0x576d6f],_0x3a347d=_0x16b727,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x3a347d&&_0x38794b['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x3a347d&&_0x38794b['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x3a347d&&_0x38794b['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x3a347d&&_0x38794b['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x3a347d&&_0x38794b['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x3a347d&&_0x38794b['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x34474e=class extends _0x491313['ListView']{filter(_0x2cbf37){if(!_0x2cbf37)return this['_resetFiltering']();const _0x407220=new Map(),_0xa2e671=this['items']['map'](_0x15a6d1=>{const _0x3c3075=_0x15a6d1['buttonView']['isMatching'](_0x2cbf37);return _0x15a6d1['isVisible']=!!_0x3c3075,_0x15a6d1['buttonView']['highlightText'](_0x3c3075?_0x2cbf37:null),_0x3c3075&&_0x407220['set'](_0x15a6d1,_0x3c3075),_0x15a6d1;})['sort'](_0x533e05)['sort'](function(_0x1e23e7){return function(_0x53daa3,_0x4bd403){const _0x45e3e2=_0x1e23e7['get'](_0x53daa3),_0x1b83ea=_0x1e23e7['get'](_0x4bd403);return _0x45e3e2&&!_0x1b83ea?-0x1:_0x1b83ea&&!_0x45e3e2?0x1:_0x45e3e2||_0x1b83ea?_0x45e3e2['title']&&!_0x1b83ea['title']?-0x1:!_0x45e3e2['title']&&_0x1b83ea['title']?0x1:0x0:0x0;};}(_0x407220));return this['items']['clear'](),this['items']['addMany'](_0xa2e671),{'resultsCount':_0x407220['size'],'totalItemsCount':this['items']['length']};}_resetFiltering(){const _0x37f10c=this['items']['map'](_0x7a596a=>_0x7a596a)['sort'](_0x533e05);return _0x37f10c['forEach'](_0x39d0dd=>{_0x39d0dd['isVisible']=!0x0,_0x39d0dd['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x37f10c),{'resultsCount':_0x37f10c['length'],'totalItemsCount':_0x37f10c['length']};}};function _0x533e05(_0x330210,_0x63754d){return _0x330210['originalIndex']-_0x63754d['originalIndex'];}var _0x2999be=class extends _0x491313['ListItemView']{['originalIndex'];buttonView;constructor(_0x35a8c8,_0x3f357a){super(_0x35a8c8),this['originalIndex']=_0x3f357a,this['buttonView']=null;}},_0x488795=class extends _0x491313['ButtonView']{templateDefinition;textPartView;constructor(_0x3498e6,_0x5452ea){super(_0x3498e6),this['templateDefinition']=_0x5452ea,this['textPartView']=null;const {icon:_0x211b6d=_0x491313['IconTemplateGeneric']}=_0x5452ea;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x211b6d}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new _0x533c39(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}destroy(){super['destroy'](),this['labelView']['destroy']();}isMatching(_0x51b468){const {title:_0x3c6678,description:_0xad3ae7}=this['templateDefinition'],_0x493d34=!!_0x3c6678['match'](_0x51b468),_0xc2cf9c=!(!_0xad3ae7||!_0xad3ae7['match'](_0x51b468));return _0x493d34||_0xc2cf9c?{'title':_0x493d34,'description':_0xc2cf9c}:null;}highlightText(_0x410a3a){this['textPartView']['highlightText'](_0x410a3a);}},_0x533c39=class extends _0x491313['View']{constructor(_0x3f7979,_0x595706,_0x5007ca){super(_0x3f7979),this['title']=_0x595706['title'],this['description']=_0x595706['description'],this['titleView']=new _0x491313['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x5007ca}});const _0x527ee2=[this['titleView']];this['description']&&(this['descriptionView']=new _0x491313['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x527ee2['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x527ee2});}highlightText(_0x2ac12b){this['titleView']['highlightText'](_0x2ac12b),this['description']&&this['descriptionView']['highlightText'](_0x2ac12b);}};function _0x530eac(_0x229fed,_0x515e87,..._0x2ff172){const t=_0x229fed['t'];switch(_0x515e87){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x2ff172);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x2ff172);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x515e87;}}var _0x1ce6af=class extends _0x491313['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x743eb9}=this,_0x448334=_0x743eb9['config']['get']('template.definitions')||[];_0x743eb9['ui']['componentFactory']['add']('insertTemplate',_0x7becf0=>{const _0x56b99a=(0x0,_0x491313['createDropdown'])(_0x7becf0),_0x5990e3=new _0x491313['SearchTextView'](_0x7becf0,{'filteredView':this['_createTemplateListView'](_0x7becf0,_0x448334),'queryView':{'label':_0x530eac(_0x7becf0,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x5f555e=>_0x530eac(_0x7becf0,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x5f555e),'secondary':_0x530eac(_0x7becf0,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':_0x530eac(_0x7becf0,'No\x20templates\x20available.')}}}}),_0x3274a3=_0x743eb9['commands']['get']('insertTemplate');return _0x5990e3['on']('search',(_0x5c0698,_0x566128)=>{_0x566128['query']&&_0x566128['query']['length']&&_0x743eb9['ui']['ariaLiveAnnouncer']['announce'](_0x530eac(_0x7becf0,'%0\x20templates\x20found',_0x566128['resultsCount']));}),_0x56b99a['bind']('isEnabled')['to'](_0x3274a3),_0x56b99a['panelView']['children']['add'](_0x5990e3),_0x56b99a['buttonView']['set']({'label':_0x530eac(_0x7becf0,'Insert\x20template'),'icon':_0x491313['IconTemplate'],'tooltip':!0x0}),_0x56b99a['on']('change:isOpen',(_0x25d753,_0x5828f2,_0x22a886)=>{_0x22a886||_0x5990e3['reset']();}),_0x56b99a;}),_0x743eb9['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x324ae8=>{const _0x3e91a1=_0x743eb9['commands']['get']('insertTemplate'),_0x2d19a6=new _0x491313['MenuBarMenuView'](_0x324ae8);_0x2d19a6['buttonView']['set']({'label':_0x530eac(_0x324ae8,'Template'),'icon':_0x491313['IconTemplate']});const _0x10eb77=new _0x491313['MenuBarMenuListView'](_0x324ae8);if(!_0x448334||!_0x448334['length']){const _0x13b9de=new _0x491313['MenuBarMenuListItemView'](_0x324ae8,_0x2d19a6),_0x1fc0bc=new _0x491313['MenuBarMenuListItemButtonView'](_0x324ae8);_0x1fc0bc['set']({'label':_0x530eac(_0x324ae8,'No\x20templates\x20available.')}),_0x1fc0bc['delegate']('execute')['to'](_0x2d19a6),_0x1fc0bc['on']('execute',()=>{_0x743eb9['editing']['view']['focus']();}),_0x13b9de['children']['add'](_0x1fc0bc),_0x10eb77['items']['add'](_0x13b9de);}for(const _0x416d4d of _0x448334){const _0x973123=new _0x491313['MenuBarMenuListItemView'](_0x324ae8,_0x2d19a6),_0x10f084=new _0x491313['MenuBarMenuListItemButtonView'](_0x324ae8);_0x10f084['set']({'class':'ck-template-button','label':_0x416d4d['title'],'icon':_0x416d4d['icon']||_0x491313['IconTemplateGeneric']}),_0x10f084['delegate']('execute')['to'](_0x2d19a6),_0x10f084['on']('execute',()=>{_0x743eb9['execute']('insertTemplate',_0x416d4d['data']),_0x743eb9['editing']['view']['focus']();}),_0x973123['children']['add'](_0x10f084),_0x10eb77['items']['add'](_0x973123);}return _0x2d19a6['panelView']['children']['add'](_0x10eb77),_0x2d19a6['bind']('isEnabled')['to'](_0x3e91a1,'isEnabled'),_0x2d19a6;});}afterInit(){!async function(_0x2dc3d7){const _0x5e29d9='5goNZRxHzmBfrl0Fq6Cks1ahDGS2LUEWiby3wKvu4IVPdeT8jn9MOQJtcAY7Xp',_0x18fb97=0x791d0,_0x3b5273=window['Date']['now'](),_0x4047cc=_0x2dc3d7['editor'],_0x2d2f61=new window['Promise'](_0x5001e9=>{_0x4047cc['once']('ready',_0x5001e9);}),_0x380010={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3314b0=_0x4047cc['config']['get']('licenseKey');async function _0x43a864(){let _0x3597fe,_0x111a35=null,_0x548071=null;try{return'GPL'==_0x3314b0?'NotAllowed':(_0x3597fe=_0x43880e(),_0x3597fe?(_0x3597fe['usageEndpoint']&&(_0x548071=_0x344fe(_0x3597fe['usageEndpoint'],_0x3597fe['jti'])),await _0x5dfad4()?_0x57d25c()?_0x459408()?'Expired':_0x4de303()?('evaluation'==_0x3597fe['licenseType']&&(_0x111a35=_0x380d20('EvaluationLimit')),await _0xc989c2()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x459408(){const _0x22b24e=['evaluation','trial']['includes'](_0x3597fe['licenseType'])?_0x3b5273/0x3e8:0xe10*_0x18fb97;return _0x3597fe['exp']<_0x22b24e;}function _0x57d25c(){const _0xa50aa6=_0x3597fe['features'];return!!_0xa50aa6&&(!!_0xa50aa6['includes']('*')||(!!_0xa50aa6['includes']('TPL')||(!!_0xa50aa6['includes']('PP')||(!(!_0xa50aa6['includes']('DRUP')||!_0x3cdd4e())||!(!_0xa50aa6['includes']('TRILIUM')||!_0x37a590())))));}function _0x4de303(){const _0x3f9c86=_0x3597fe['licensedHosts'];if(!_0x3f9c86||0x0==_0x3f9c86['length'])return!0x0;const {hostname:_0x3a5871}=new URL(window['location']['href']);if(_0x3f9c86['includes'](_0x3a5871))return!0x0;const _0x1a17aa=_0x3a5871['split']('.');return _0x3f9c86['filter'](_0x2a8d44=>_0x2a8d44['includes']('*'))['map'](_0x135c11=>_0x135c11['split']('.'))['filter'](_0x2d818c=>_0x2d818c['length']<=_0x1a17aa['length'])['map'](_0x314d9d=>Array(_0x1a17aa['length']-_0x314d9d['length'])['fill']('*'===_0x314d9d[0x0]?'*':'')['concat'](_0x314d9d))['some'](_0x18d401=>_0x1a17aa['every']((_0x51abf4,_0x40cbcb)=>_0x18d401[_0x40cbcb]===_0x51abf4||'*'===_0x18d401[_0x40cbcb]));}function _0xc989c2(){return _0x111a35&&_0x548071?new window['Promise']((_0x1ed760,_0xd8c47e)=>{_0x111a35['then'](_0x1ed760,_0xd8c47e),_0x548071['then'](_0x192bf3=>{'Valid'!=_0x192bf3&&_0x1ed760(_0x192bf3);},_0xd8c47e);}):_0x111a35||_0x548071||'Valid';}}function _0x344fe(_0x328745,_0x6fa20f){return new window['Promise'](_0x101348=>{if(_0x3f8ed3())return _0x101348('Valid');_0xb6ab9(),_0x4047cc['decorate']('_sendUsageRequest');let _0x1cd953=!0x1;const _0x13f6fc=(0x0,_0x491313['uid'])();function _0x225d2f(_0x59d61a){return!!_0x59d61a&&('object'==typeof _0x59d61a||'function'==typeof _0x59d61a)&&'function'==typeof _0x59d61a['then']&&'function'==typeof _0x59d61a['catch'];}function _0x3b09e9(_0xa0c4f4){_0xe20024(_0xa0c4f4)['then'](_0x217f5e=>_0x217f5e&&'ok'==_0x217f5e['status']?_0xf5515d(_0x3b3a3a(_0x13f6fc+_0x6fa20f))!=_0x217f5e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2bed20=>(_0x409fb1(),_0x2bed20),()=>{const _0x4d663c=_0x492c73();return null==_0x4d663c?(_0x409fb1(),'Valid'):_0x3b5273-_0x4d663c>0x240c8400?'UsageLimit':'Valid';})['then'](_0x101348)['catch'](()=>{_0x101348('UsageLimit');});const _0x53f87f=0x36ee80;function _0x409fb1(){const _0x2f08c5='llct-'+_0xf5515d(_0x3b3a3a(_0x328745)),_0x3066b6=_0x3a8457(_0xf5515d(window['Math']['ceil'](_0x3b5273/_0x53f87f)));window['localStorage']['setItem'](_0x2f08c5,_0x3066b6);}function _0x492c73(){const _0x1e2d6e='llct-'+_0xf5515d(_0x3b3a3a(_0x328745)),_0x25dc6f=window['localStorage']['getItem'](_0x1e2d6e);return _0x25dc6f?window['parseInt'](_0x3a8457(_0x25dc6f),0x10)*_0x53f87f:null;}function _0xe20024(_0x45b2c6){return new window['Promise']((_0xcfe24,_0x263551)=>{_0x45b2c6['then'](_0xcfe24,_0x263551),window['setTimeout'](_0x263551,0x1d4c0);});}}_0x4047cc['on']('_sendUsageRequest',(_0xd57bbd,_0x2e23fa)=>{if(_0x2e23fa[0x0]!=_0x328745)return _0x101348('UsageLimit');_0x2e23fa[0x1]={..._0x2e23fa[0x1],'requestId':_0x13f6fc};},{'priority':'high'}),_0x4047cc['on']('_sendUsageRequest',_0x168bd0=>{_0x225d2f(_0x168bd0['return'])&&(_0x1cd953=!0x0,_0x3b09e9(_0x168bd0['return']));},{'priority':'low'}),_0x2d2f61['then'](()=>{_0x1cd953||_0x101348('UsageLimit');});});function _0x3f8ed3(){return'auto'==_0x4047cc['editing']['view']['_overlayModeHint'];}function _0xb6ab9(){_0x4047cc['editing']['view']['_overlayModeHint']='auto';}}function _0x380d20(_0xab5633){const _0x46f9dc=[new window['Promise'](_0x5150e0=>setTimeout(_0x5150e0,0x93ecc)),_0x2d2f61['then'](()=>new window['Promise'](_0xff2887=>{let _0x374d88=0x0;_0x4047cc['model']['on']('applyOperation',(_0xc05e5d,_0xaa8e20)=>{_0xaa8e20[0x0]['isDocumentOperation']&&_0x374d88++,0x5e8==_0x374d88&&(_0xff2887(),_0xc05e5d['off']());});}))];return window['Promise']['race'](_0x46f9dc)['then'](()=>_0xab5633);}async function _0x2c8462(){await _0x2d2f61,_0x4047cc['model']['change']=_0x1d31b5,_0x4047cc['model']['enqueueChange']=_0x1d31b5,_0x4047cc['enableReadOnlyMode']('model');}function _0x3cdd4e(){return window['Drupal'];}function _0x37a590(){return window['glob']&&window['glob']['triliumVersion'];}function _0x54f5e0(_0x349f2f){const _0x5a1b0f=_0x2e097e();_0x4047cc[_0x5a1b0f]='templateLicenseKey'+_0x349f2f,'Valid'!=_0x349f2f&&_0x2c8462();}function _0x2e097e(){const _0x17de22=window['String'](window['performance']['now']())['replace']('.','');let _0x27e832='g';for(let _0x3cbc41=0x0;_0x3cbc41<_0x17de22['length'];_0x3cbc41+=0x2){let _0x5f187a=window['parseInt'](_0x17de22['substring'](_0x3cbc41,_0x3cbc41+0x2));_0x5f187a>=0x3e&&(_0x5f187a-=0x3e),_0x27e832+=_0x5e29d9[_0x5f187a];}return _0x27e832;}function _0x43880e(){const _0x2e3ebd=_0x3314b0['split']('.');if(0x3!=_0x2e3ebd['length'])return null;return _0x2a1327(_0x2e3ebd[0x1]);function _0x2a1327(_0x3c66a2){const _0x45f469=_0xefa90f(_0x3c66a2);return _0x45f469&&_0x127bf0()?_0x45f469:null;function _0x127bf0(){const _0x1bd847=_0x45f469['jti'],_0x274231=window['parseInt'](_0x1bd847['substring'](_0x1bd847['length']-0x8),0x10),_0x5e0c14={..._0x45f469,'jti':_0x1bd847['substring'](0x0,_0x1bd847['length']-0x8)};return delete _0x5e0c14['vc'],_0x3b3a3a(_0x5e0c14)==_0x274231;}}}async function _0x5dfad4(){let _0x17a857=!0x0;try{const [_0x19d4a7,_0xef5dcf,_0x1016bc]=_0x3314b0['split']('.');return _0x5a1f84(_0x19d4a7),await _0x22eeaa(_0x19d4a7,_0xef5dcf,_0x1016bc),_0x17a857;}catch{return!0x1;}function _0x5a1f84(_0x1c74b4){const _0xa86e1d=_0xefa90f(_0x1c74b4);_0xa86e1d&&'ES256'==_0xa86e1d['alg']||(_0x17a857=!0x1);}async function _0x22eeaa(_0x2eeab2,_0x3a99c7,_0x2cfbbc){const _0x5b3952=window['Uint8Array']['from'](_0x53809d(_0x2cfbbc),_0x3d8fa6=>_0x3d8fa6['charCodeAt'](0x0)),_0x756e77=new window['TextEncoder']()['encode'](_0x2eeab2+'.'+_0x3a99c7),_0x59ea7a=window['crypto']['subtle'];if(!_0x59ea7a)return;const _0x1469fa=await _0x59ea7a['importKey']('jwk',_0x380010,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x59ea7a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x1469fa,_0x5b3952,_0x756e77)||(_0x17a857=!0x1);}}function _0xefa90f(_0x1a2c25){return _0x1a2c25['startsWith']('ey')?JSON['parse'](_0x53809d(_0x1a2c25)):null;}function _0x53809d(_0x20510c){return window['atob'](_0x20510c['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3b3a3a(_0x5084b2){let _0x4ad6f9=0x1505;function _0x139b89(_0x28a42e){for(let _0x62d649=0x0;_0x62d649<_0x28a42e['length'];_0x62d649++){const _0x456adc=_0x28a42e['charCodeAt'](_0x62d649);_0x4ad6f9=(_0x4ad6f9<<0x5)+_0x4ad6f9+_0x456adc,_0x4ad6f9&=_0x4ad6f9;}}function _0x45142e(_0x7ef93){Array['isArray'](_0x7ef93)?_0x7ef93['forEach'](_0x45142e):_0x7ef93&&'object'==typeof _0x7ef93?Object['entries'](_0x7ef93)['sort']()['forEach'](([_0x59a64f,_0x2131a3])=>{_0x139b89(_0x59a64f),_0x45142e(_0x2131a3);}):_0x139b89(window['String'](_0x7ef93));}return _0x45142e(_0x5084b2),_0x4ad6f9>>>0x0;}function _0xf5515d(_0x2ba06e){return _0x2ba06e['toString'](0x10)['padStart'](0x8,'0');}function _0x3a8457(_0x4551db){return _0x4551db['split']('')['reverse']()['join']('');}function _0x1d31b5(){}_0x54f5e0(await _0x43a864());}(this);}_createTemplateListView(_0x10c6a5,_0x3e0e20){const {editor:_0x679ee5}=this,_0x51f44b=new _0x34474e(_0x10c6a5);return _0x51f44b['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x51f44b['items']['addMany'](_0x3e0e20['map']((_0x3318a6,_0xedd292)=>{const _0x18c7bb=new _0x2999be(_0x10c6a5,_0xedd292),_0x267532=new _0x488795(_0x10c6a5,_0x3318a6);return _0x18c7bb['buttonView']=_0x267532,_0x18c7bb['children']['add'](_0x267532),_0x18c7bb['buttonView']['on']('execute',_0x36ccfc=>{_0x679ee5['execute']('insertTemplate',_0x36ccfc['source']['templateDefinition']['data']),_0x679ee5['editing']['view']['focus']();}),_0x18c7bb;})),_0x51f44b;}},_0x26e82c=class extends _0x491313['Plugin']{static get requires(){return[_0x446880,_0x1ce6af];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x3ed9c1(_0x4c37bc,_0x41f3fe,_0x28a506){const t=_0x4c37bc['t'],_0x4d076c=_0x4c37bc['t'];switch(_0x41f3fe){case'local':return{'text':_0x4d076c('Insert'===_0x28a506?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4d076c('From\x20computer')};case'url':return{'text':'Insert'===_0x28a506?_0x4d076c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4d076c('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x28a506?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x28a506?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x28a506?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x28a506?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x28a506?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x41f3fe;}}var _0x3b2456=class extends _0x491313['Plugin']{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x461f98=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a5f19;for(const _0x407e69 in _0x461f98){const _0x2a98dd=_0x407e69,_0x3d04db=_0x461f98[_0x2a98dd];if('uploadcareLicenseKeyValid'==_0x3d04db||'uploadcareLicenseKeyInvalid'==_0x3d04db||'uploadcareLicenseKeyExpired'==_0x3d04db||'uploadcareLicenseKeyDomainLimit'==_0x3d04db||'uploadcareLicenseKeyNotAllowed'==_0x3d04db||'uploadcareLicenseKeyEvaluationLimit'==_0x3d04db||'uploadcareLicenseKeyUsageLimit'==_0x3d04db){delete _0x461f98[_0x2a98dd],_0x3a5f19=_0x3d04db,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3a5f19&&_0x461f98['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3a5f19&&_0x461f98['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3a5f19&&_0x461f98['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3a5f19&&_0x461f98['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3a5f19&&_0x461f98['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3a5f19&&_0x461f98['_showLicenseError']('usageLimit');},0x3e8);}afterInit(){const {editor:_0x2c9470}=this,_0x48e550=_0x2c9470['commands']['get']('uploadcare');if(!_0x48e550)return;const _0x1d6969=this['_normalizeConfigSourceList'](_0x2c9470['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3c8bea,_0x396ec5)=>{const _0x22c1a7=this['_getIntegrationKey'](_0x396ec5['type']);return _0x3c8bea[_0x22c1a7]||(_0x3c8bea[_0x22c1a7]=[]),_0x3c8bea[_0x22c1a7]['push'](_0x396ec5),_0x3c8bea;},{});_0x2c9470['plugins']['has']('ImageInsertUI')&&_0x2c9470['commands']['get']('uploadcare')&&Object['entries'](_0x1d6969)['forEach'](([_0x217940,_0x53d9d3])=>{_0x2c9470['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x217940,'observable':()=>_0x48e550,'buttonViewCreator':()=>this['_createToolbarButton'](_0x53d9d3),'formViewCreator':()=>this['_createDropdownButtons'](_0x53d9d3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x53d9d3),'override':'assetManager'!==_0x217940});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x284adb){const {locale:_0x240450}=this['editor'];return _0x284adb['map'](_0x28db98=>{const _0x3de5a5=_0x3ed9c1(_0x240450,_0x28db98,'Insert');switch(_0x28db98){case'local':return{'icon':_0x491313['IconUploadcareImageUpload'],'type':'local',..._0x3de5a5};case'url':return{'icon':_0x491313['IconUploadcareLink'],'type':'url',..._0x3de5a5};case'dropbox':return{'icon':_0x491313['IconDropbox'],'type':'dropbox',..._0x3de5a5};case'facebook':return{'icon':_0x491313['IconFacebook'],'type':'facebook',..._0x3de5a5};case'gdrive':return{'icon':_0x491313['IconGoogleDrive'],'type':'gdrive',..._0x3de5a5};case'gphotos':return{'icon':_0x491313['IconGooglePhotos'],'type':'gphotos',..._0x3de5a5};case'onedrive':return{'icon':_0x491313['IconOneDrive'],'type':'onedrive',..._0x3de5a5};}});}_getIntegrationKey(_0x54d30f){switch(_0x54d30f){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x5676ec,_0x4d7e1d){const _0x3a5d9e=this['editor'],_0x1eb147=new _0x5676ec(_0x3a5d9e['locale']),_0x52462e=_0x3a5d9e['commands']['get']('uploadcare');return _0x1eb147['bind']('isEnabled')['to'](_0x52462e),_0x1eb147['on']('execute',()=>{_0x52462e['execute'](_0x4d7e1d);}),_0x1eb147;}_createToolbarButton(_0x2ba338){const {locale:_0x994658}=this['editor'],_0x53e2b9=this['editor']['plugins']['get']('ImageInsertUI'),_0x460a04=_0x2ba338[0x0],_0x410904=this['_createButton'](_0x491313['ButtonView'],_0x460a04['type']);return _0x410904['icon']=_0x460a04['icon'],_0x410904['bind']('label')['to'](_0x53e2b9,'isImageSelected',_0x65a3d8=>_0x3ed9c1(_0x994658,_0x460a04['type'],_0x65a3d8?'Replace':'Insert')['text']),_0x410904['tooltip']=!0x0,_0x410904;}_createDropdownButtons(_0x5d29c3){const {locale:_0x57ddda}=this['editor'],_0x410e30=this['editor']['plugins']['get']('ImageInsertUI');return _0x5d29c3['map'](_0x4f6564=>{const _0x23d606=this['_createButton'](_0x491313['ButtonView'],_0x4f6564['type']);return _0x23d606['withText']=!0x0,_0x23d606['icon']=_0x4f6564['icon'],_0x23d606['bind']('label')['to'](_0x410e30,'isImageSelected',_0xad1165=>_0x3ed9c1(_0x57ddda,_0x4f6564['type'],_0xad1165?'Replace':'Insert')['text']),_0x23d606;});}_createMenuBarButtons(_0x5d4912){return _0x5d4912['map'](_0x1c12f3=>{const _0xccfc22=this['_createButton'](_0x491313['MenuBarMenuListItemButtonView'],_0x1c12f3['type']);return _0xccfc22['icon']=_0x1c12f3['icon'],_0xccfc22['label']=_0x1c12f3['shortText'],_0xccfc22;});}},_0x1e9ece=class extends _0x491313['View']{['focusTracker'];['focusCycler'];constructor(_0x3bbb86){super(_0x3bbb86),this['focusTracker']=new _0x491313['FocusTracker'](),this['focusCycler']=new _0x491313['FocusCycler']({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}getFocusableElement(){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}},_0x1fb6c3=class extends _0x1e9ece{constructor(_0x4b2ea5,_0x252daa){super(_0x4b2ea5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x252daa}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function _0x75a0d(_0x4a69aa,_0x1dcb28){const _0x3e0c43=_0x4a69aa['replace'](/\/$/,'');return{'imageFallbackUrl':_0x4a69aa,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x15f114=>_0x15f114<_0x1dcb28)['map'](_0x3a240b=>_0x3e0c43+'/-/resize/'+_0x3a240b+'x/\x20'+_0x3a240b+'w'),_0x4a69aa+'\x20'+_0x1dcb28+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1dcb28+'px)\x20100vw,\x20'+_0x1dcb28+'px','type':'image/webp'}]};}function _0x3789b7(_0x478d1b,_0x12cce5,_0x3f2ea5){const _0x1ac55c=_0x478d1b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1ac55c?parseInt(_0x1ac55c[0x1],0xa):_0x12cce5,'height':_0x1ac55c?parseInt(_0x1ac55c[0x2],0xa):_0x3f2ea5};}function _0xdaef6(_0x3b6fad,_0x1543ee){const _0x4fa5e9=new((0x0,_0x491313['DomEmitterMixin'])())(),_0x1a21f2=_0x3b6fad['plugins']['get']('ImageUtils'),_0x49c075=_0x3b6fad['editing']['mapper']['toViewElement'](_0x1543ee),_0x623573=_0x1a21f2['findViewImgElement'](_0x49c075),_0x195e35=_0x3b6fad['editing']['view']['domConverter']['viewToDom'](_0x623573),_0x111319=_0x1543ee['getAttribute']('width'),_0x29da0b=_0x1543ee['getAttribute']('height'),_0x44f752='image-processing';_0x3b6fad['editing']['view']['change'](_0x31f56c=>{_0x31f56c['addClass'](_0x44f752,_0x49c075),_0x31f56c['setStyle']('aspect-ratio',_0x111319+'/'+_0x29da0b,_0x623573);}),_0x4fa5e9['listenTo'](_0x195e35,'load',()=>{_0x4fa5e9['stopListening'](_0x195e35,'load'),_0x3b6fad['editing']['view']['change'](_0x493a4f=>{_0x493a4f['removeClass'](_0x44f752,_0x49c075),_0x493a4f['removeStyle']('aspect-ratio',_0x623573);});});}function _0x537df1(_0x24f79a){if(Array['isArray'](_0x24f79a)){const _0x13f641=_0x24f79a['map'](_0x537df1);return _0x51f095=>_0x13f641['some'](_0x735437=>_0x735437(_0x51f095));}if('origin'==_0x24f79a){const _0x6f7d2b=_0x491313['global']['window']['location']['origin'];return _0x3f2c75=>new URL(_0x3f2c75,_0x491313['global']['document']['baseURI'])['origin']==_0x6f7d2b;}return'function'==typeof _0x24f79a?_0x24f79a:_0x24f79a instanceof RegExp?_0x1cfab2=>!(!_0x1cfab2['match'](_0x24f79a)&&!_0x1cfab2['replace'](/^https?:\/\//,'')['match'](_0x24f79a)):()=>!0x1;}function _0x24cf93(_0x3de92f,_0x33a81a){return(0x0,_0x491313['getAncestors'])(_0x3de92f['target'])['includes'](_0x33a81a);}const _0x4cfcfc=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x2e70a8=class extends _0x4cfcfc{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x22c9d3,_0x46093e,_0x3a1330){super(),this['_editor']=_0x22c9d3,this['_editing']=_0x46093e,this['_dialog']=_0x22c9d3['plugins']['get'](_0x491313['Dialog']),this['_api']=_0x46093e['ctxElement']['getAPI'](),this['_type']=_0x3a1330,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}destroy(){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}_initDialog(){const {locale:_0x2eb018,model:_0x2d43eb}=this['_editor'],_0x18cf6e=_0x2d43eb['document']['selection']['getSelectedElement'](),_0x42199f=_0x18cf6e&&(_0x18cf6e['is']('element','imageBlock')||_0x18cf6e['is']('element','imageInline'));this['_formView']=new _0x1fb6c3(_0x2eb018,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x491313['IconUploadcareImageUpload'],'title':_0x3ed9c1(_0x2eb018,this['_type'],_0x42199f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x491313['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x42e481=>!_0x24cf93(_0x42e481,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x39523b}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x314bc=>{const _0x3c1ae9=_0x39523b['length'];for(const _0x14dde2 of _0x39523b){const _0x5f53ea=_0x14dde2===_0x39523b[_0x3c1ae9-0x1],{cdnUrl:_0x282436,fileInfo:_0x3a0594}=_0x14dde2;if(!_0x282436||!_0x3a0594)continue;const {width:_0x5e545a,height:_0x27d0a1}=_0x3a0594['imageInfo'],_0x123a0a=_0x3789b7(_0x282436,_0x5e545a,_0x27d0a1),_0x16726c=_0x75a0d(_0x282436,_0x123a0a['width']),_0x3ea4cf={'id':_0x3a0594['uuid'],'type':'image','attributes':{'imageDimension':_0x123a0a,..._0x16726c}};this['_insertAsset'](_0x3ea4cf,_0x5f53ea,_0x314bc);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3a9973=>{'idle'===_0x3a9973['detail']['status']&&!_0x3a9973['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x4afc16,_0x49e5f8,_0x339d50){const _0x89012b=this['_editor']['model']['document']['selection'],_0x2a3440=_0x89012b['getSelectedElement'](),_0x33788b=!(!_0x2a3440||!_0x2a3440['is']('element','imageInline'));_0x339d50['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4afc16,_0x33788b),_0x49e5f8||_0x339d50['setSelection'](_0x89012b['getLastPosition']());}_insertImage(_0x46c5ce,_0x12131a){const _0x3e1909=this['_editor'],{imageDimension:_0xf378cf,imageFallbackUrl:_0x5006f9,imageSources:_0x1522de}=_0x46c5ce['attributes'];_0x3e1909['execute']('insertImage',{'imageType':_0x12131a?'imageInline':null,'source':{'uploadcareImageId':_0x46c5ce['id'],'src':_0x5006f9,'sources':_0x1522de,..._0xf378cf}});}},_0x3f9d6e=class extends _0x491313['Command']{_editing;_controller=null;static get requires(){return[_0x491313['Dialog'],_0x119cf8];}constructor(_0x366af4){super(_0x366af4),this['_editing']=_0x366af4['plugins']['get'](_0x119cf8);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0xf67d2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new _0x2e70a8(this['editor'],this['_editing'],_0xf67d2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}};function _0x2e5b09(_0x1dc3f4){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1dc3f4);}const _0x50fc26=/\W|_/g;function _0x58a082(_0x5a0874){return _0x5a0874['split'](_0x50fc26)['map']((_0x4b62f5,_0x34f8e5)=>_0x4b62f5['charAt'](0x0)[_0x34f8e5>0x0?'toUpperCase':'toLowerCase']()+_0x4b62f5['slice'](0x1))['join']('');}function _0x143c4f(_0x39d93b,{ignoreKeys:_0x5b0ddc}={'ignoreKeys':[]}){return Array['isArray'](_0x39d93b)?_0x39d93b['map'](_0xd8fb58=>_0x48832f(_0xd8fb58,{'ignoreKeys':_0x5b0ddc})):_0x39d93b;}function _0x48832f(_0x280796,{ignoreKeys:_0x3bd708}={'ignoreKeys':[]}){if(Array['isArray'](_0x280796))return _0x143c4f(_0x280796,{'ignoreKeys':_0x3bd708});if(!_0x2e5b09(_0x280796))return _0x280796;const _0x16d619={};for(const _0x44d6f9 of Object['keys'](_0x280796)){let _0x5b3475=_0x280796[_0x44d6f9];_0x3bd708['includes'](_0x44d6f9)?_0x16d619[_0x44d6f9]=_0x5b3475:(_0x2e5b09(_0x5b3475)?_0x5b3475=_0x48832f(_0x5b3475,{'ignoreKeys':_0x3bd708}):Array['isArray'](_0x5b3475)&&(_0x5b3475=_0x143c4f(_0x5b3475,{'ignoreKeys':_0x3bd708})),_0x16d619[_0x58a082(_0x44d6f9)]=_0x5b3475);}return _0x16d619;}const _0x24ed51={'factor':0x2,'time':0x64};function _0x49569c(_0x1f9ff0,_0x28db2a=_0x24ed51){let _0x52be65=0x0;return function _0x41e31e(_0x5585a8){const _0x329f57=Math['round'](_0x28db2a['time']*_0x28db2a['factor']**_0x52be65);return _0x5585a8({'attempt':_0x52be65,'retry':_0x29d672=>(_0x14b9a5=>new Promise(_0x29a985=>setTimeout(_0x29a985,_0x14b9a5)))(_0x29d672??_0x329f57)['then'](()=>(_0x52be65+=0x1,_0x41e31e(_0x5585a8)))});}(_0x1f9ff0);}var _0x23a548=class extends Error{},_0x48628f=class NetworkError extends _0x23a548{originalProgressEvent;constructor(_0x417898){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x417898;}};const _0x3a87e2=(_0xab50e7,_0x387242)=>{_0xab50e7&&(_0xab50e7['aborted']?Promise['resolve']()['then'](_0x387242):_0xab50e7['addEventListener']('abort',()=>_0x387242(),{'once':!0x0}));};var _0x466446=class _0x23d440 extends _0x23a548{['isCancel']=!0x0;constructor(_0x3cfdde='Request\x20canceled'){super(_0x3cfdde),this['name']='CancelError',Object['setPrototypeOf'](this,_0x23d440['prototype']);}};const _0x3aa9a9=({check:_0x2c9e7a,interval:_0x439f61=0x1f4,timeout:_0x5180cd,signal:_0x1ec95a})=>new Promise((_0x33d08b,_0x4f774b)=>{let _0x57f7d7,_0x5a2c50;_0x3a87e2(_0x1ec95a,()=>{_0x57f7d7&&clearTimeout(_0x57f7d7),_0x4f774b(new _0x466446('Poll\x20cancelled'));}),_0x5180cd&&(_0x5a2c50=setTimeout(()=>{_0x57f7d7&&clearTimeout(_0x57f7d7),_0x4f774b(new _0x466446('Timed\x20out'));},_0x5180cd));const _0x5fd854=()=>{try{Promise['resolve'](_0x2c9e7a(_0x1ec95a))['then'](_0x3ea7d5=>{_0x3ea7d5?(_0x5a2c50&&clearTimeout(_0x5a2c50),_0x33d08b(_0x3ea7d5)):_0x57f7d7=setTimeout(_0x5fd854,_0x439f61);})['catch'](_0x37dab7=>{_0x5a2c50&&clearTimeout(_0x5a2c50),_0x4f774b(_0x37dab7);});}catch(_0x3b7af2){_0x5a2c50&&clearTimeout(_0x5a2c50),_0x4f774b(_0x3b7af2);}};_0x57f7d7=setTimeout(_0x5fd854,0x0);}),_0x344c51='https://ucarecdn.com',_0x23cf77='https://upload.uploadcare.com',_0x1dc2c3=0x1,_0x8028e2=0x3,_0x25f029=0x1900000,_0x49dc3e=0x500000,_0x853d10=0x4,_0xa0ad93='79ae88bd931ea68464d9',_0x8202f4='application/octet-stream',_0x4ca662='original',_0xbb3a60=({method:_0x1ca416,url:_0x2b3f10,data:_0x20647b,headers:_0x2f10ba={},signal:_0x2a74d5,onProgress:_0x3b36f3})=>new Promise((_0xc88f98,_0x4a6912)=>{const _0x282546=new XMLHttpRequest(),_0x5a632b=_0x1ca416?.['toUpperCase']()||'GET';let _0x375c5b=!0x1;_0x282546['open'](_0x5a632b,_0x2b3f10,!0x0),_0x2f10ba&&Object['entries'](_0x2f10ba)['forEach'](_0x4eae3e=>{const [_0x198836,_0x5b018c]=_0x4eae3e;void 0x0!==_0x5b018c&&!Array['isArray'](_0x5b018c)&&_0x282546['setRequestHeader'](_0x198836,_0x5b018c);}),_0x282546['responseType']='text',_0x3a87e2(_0x2a74d5,()=>{_0x375c5b=!0x0,_0x282546['abort'](),_0x4a6912(new _0x466446());}),_0x282546['onload']=()=>{if(0xc8!=_0x282546['status'])_0x4a6912(new Error('Error\x20'+_0x282546['status']+':\x20'+_0x282546['statusText']));else{const _0x41840d={'method':_0x5a632b,'url':_0x2b3f10,'data':_0x20647b,'headers':_0x2f10ba||void 0x0,'signal':_0x2a74d5,'onProgress':_0x3b36f3},_0x4392ca=_0x282546['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x51bba7={};_0x4392ca['forEach'](function(_0x1f5298){const _0x50a0f9=_0x1f5298['split'](':\x20'),_0x3e4026=_0x50a0f9['shift'](),_0xa3c8e5=_0x50a0f9['join'](':\x20');_0x3e4026&&void 0x0!==_0x3e4026&&(_0x51bba7[_0x3e4026]=_0xa3c8e5);});const _0x3654ed=_0x282546['response'],_0x35e70f=_0x282546['status'];_0xc88f98({'request':_0x41840d,'data':_0x3654ed,'headers':_0x51bba7,'status':_0x35e70f});}},_0x282546['onerror']=_0x33f81d=>{_0x375c5b||_0x4a6912(new _0x48628f(_0x33f81d));},_0x3b36f3&&'function'==typeof _0x3b36f3&&(_0x282546['upload']['onprogress']=_0x2bb94b=>{_0x2bb94b['lengthComputable']?_0x3b36f3({'isComputable':!0x0,'value':_0x2bb94b['loaded']/_0x2bb94b['total']}):_0x3b36f3({'isComputable':!0x1});}),_0x20647b?_0x282546['send'](_0x20647b):_0x282546['send']();}),_0x4a2dcb=function(_0x38868f,..._0xa0e6a2){return _0x38868f;},_0xde32cc=_0x1b02b2=>'undefined'!=typeof Blob&&_0x1b02b2 instanceof Blob,_0x2f7152=_0x11aac7=>'undefined'!=typeof File&&_0x11aac7 instanceof File,_0x4e4485=_0x265d37=>!!_0x265d37&&'object'==typeof _0x265d37&&!Array['isArray'](_0x265d37)&&'uri'in _0x265d37&&'string'==typeof _0x265d37['uri'],_0x285751=_0x32dace=>_0xde32cc(_0x32dace)||_0x2f7152(_0x32dace)||_0x4e4485(_0x32dace);function _0x2085c5(_0x3bb19f,_0x356d89,_0x3dd355){if(Array['isArray'](_0x3dd355)){for(const _0x576c13 of _0x3dd355)_0x2085c5(_0x3bb19f,_0x356d89+'[]',_0x576c13);}else{if((_0x2badb9=>!!_0x2badb9&&'object'==typeof _0x2badb9&&'data'in _0x2badb9&&_0x285751(_0x2badb9['data']))(_0x3dd355)){const {name:_0x57f658,contentType:_0x39f890}=_0x3dd355,_0x39f8f6=_0x4a2dcb(_0x3dd355['data'],_0x57f658,_0x39f890??_0x8202f4),_0x11388b=(({name:_0x31281f})=>_0x31281f?[_0x31281f]:[])({'name':_0x57f658,'contentType':_0x39f890});_0x3bb19f['push']([_0x356d89,_0x39f8f6,..._0x11388b]);}else{if((_0x245a81=>!!_0x245a81&&'object'==typeof _0x245a81&&!Array['isArray'](_0x245a81))(_0x3dd355)){for(const [_0xed4fce,_0x37b282]of Object['entries'](_0x3dd355))void 0x0!==_0x37b282&&_0x3bb19f['push']([_0x356d89+'['+_0xed4fce+']',String(_0x37b282)]);}else(_0xdda578=>'string'==typeof _0xdda578||'number'==typeof _0xdda578||void 0x0===_0xdda578)(_0x3dd355)&&_0x3dd355&&_0x3bb19f['push']([_0x356d89,_0x3dd355['toString']()]);}}}function _0x298219(_0x79ceaa){const _0x45204d=new FormData(),_0x33bbb7=function(_0x468e2b){const _0x485e7d=[];for(const [_0x23012f,_0x131e84]of Object['entries'](_0x468e2b))_0x2085c5(_0x485e7d,_0x23012f,_0x131e84);return _0x485e7d;}(_0x79ceaa);for(const _0x265ec7 of _0x33bbb7){const [_0x48fbb5,_0x47c968,..._0xdce4b]=_0x265ec7;_0x45204d['append'](_0x48fbb5,_0x47c968,..._0xdce4b);}return _0x45204d;}var _0x365a14=class _0x24c8d5 extends _0x23a548{['code'];request;['response'];['headers'];constructor(_0x436165,_0x57e011,_0x41b5fa,_0x483f8f,_0xa7693b){super(),this['name']='UploadError',this['message']=_0x436165,this['code']=_0x57e011,this['request']=_0x41b5fa,this['response']=_0x483f8f,this['headers']=_0xa7693b,Object['setPrototypeOf'](this,_0x24c8d5['prototype']);}};const tW=(_0x56903f,_0x1c5d67,_0x2ef046)=>{const _0x22ea07=new URL(_0x56903f);return _0x22ea07['pathname']=(_0x22ea07['pathname']+_0x1c5d67)['replace']('//','/'),_0x2ef046&&(_0x22ea07['search']=(_0x3a9514=>{const _0x136cb7=new URLSearchParams();for(const [_0x36b1c1,_0xfd6fe]of Object['entries'](_0x3a9514))_0xfd6fe&&'object'==typeof _0xfd6fe&&!Array['isArray'](_0xfd6fe)?Object['entries'](_0xfd6fe)['filter'](_0x2cffdd=>_0x2cffdd[0x1]??!0x1)['forEach'](_0x1516f3=>_0x136cb7['set'](_0x36b1c1+'['+_0x1516f3[0x0]+']',String(_0x1516f3[0x1]))):Array['isArray'](_0xfd6fe)?_0xfd6fe['forEach'](_0x2da140=>{_0x136cb7['append'](_0x36b1c1+'[]',_0x2da140);}):'string'==typeof _0xfd6fe&&_0xfd6fe?_0x136cb7['set'](_0x36b1c1,_0xfd6fe):'number'==typeof _0xfd6fe&&_0x136cb7['set'](_0x36b1c1,_0xfd6fe['toString']());return _0x136cb7['toString']();})(_0x2ef046)),_0x22ea07['toString']();};function _0x2710e3(_0x1cd4af){return function({libraryName:_0x4fb704,libraryVersion:_0x45013b,userAgent:_0x4aa9d7,publicKey:_0x3c131c='',integration:_0x3dd333=''}){const _0x434de6='JavaScript';return'string'==typeof _0x4aa9d7?_0x4aa9d7:'function'==typeof _0x4aa9d7?_0x4aa9d7({'publicKey':_0x3c131c,'libraryName':_0x4fb704,'libraryVersion':_0x45013b,'languageName':_0x434de6,'integration':_0x3dd333}):[_0x4fb704,_0x45013b,_0x3c131c]['filter'](Boolean)['join']('/')+'\x20('+[_0x434de6,_0x3dd333]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x1cd4af});}function _0x35f8ae(_0x142324,_0x5c0618){const {retryThrottledRequestMaxTimes:_0x4fe492,retryNetworkErrorMaxTimes:_0x51de80}=_0x5c0618;return _0x49569c(({attempt:_0x461e5d,retry:_0x1b8919})=>_0x142324()['catch'](_0x23776b=>{if('response'in _0x23776b&&'RequestThrottledError'===_0x23776b?.['code']&&_0x461e5d<_0x4fe492)return _0x1b8919(function(_0x316a43){const {headers:_0x3a78eb}=_0x316a43||{};if(!_0x3a78eb||'string'!=typeof _0x3a78eb['retry-after'])return 0x3a98;const _0x58f557=parseInt(_0x3a78eb['retry-after'],0xa);return Number['isFinite'](_0x58f557)?0x3e8*_0x58f557:0x3a98;}(_0x23776b));if(_0x23776b instanceof _0x48628f&&_0x461e5d<_0x51de80)return _0x1b8919(0x3e8*(_0x461e5d+0x1));throw _0x23776b;}));}const _0x17159f=_0x4b00ee=>{let _0x552e8a='';return(_0xde32cc(_0x4b00ee)||_0x2f7152(_0x4b00ee)||_0x4e4485(_0x4b00ee))&&(_0x552e8a=_0x4b00ee['type']),_0x552e8a||_0x8202f4;},_0x33526d=_0x450ee1=>{let _0x348f5f='';return _0x2f7152(_0x450ee1)&&_0x450ee1['name']?_0x348f5f=_0x450ee1['name']:_0xde32cc(_0x450ee1)?_0x348f5f='':_0x4e4485(_0x450ee1)&&_0x450ee1['name']&&(_0x348f5f=_0x450ee1['name']),_0x348f5f||_0x4ca662;};function _0xb4ba4c(_0xb3ad12){return void 0x0===_0xb3ad12||'auto'===_0xb3ad12?'auto':_0xb3ad12?'1':'0';}var _0x4ba9db,_0x589d4f;!function(_0x361094){_0x361094['Token']='token',_0x361094['FileInfo']='file_info';}(_0x4ba9db||(_0x4ba9db={})),function(_0x5f2c6e){_0x5f2c6e['Unknown']='unknown',_0x5f2c6e['Waiting']='waiting',_0x5f2c6e['Progress']='progress',_0x5f2c6e['Error']='error',_0x5f2c6e['Success']='success';}(_0x589d4f||(_0x589d4f={}));function _0x5e1ce0(_0x1319c9,{publicKey:_0xd6da21,baseURL:_0x4872e2=_0x23cf77,signal:_0x4e0c92,integration:_0x522713,userAgent:_0x40e6a6,retryThrottledRequestMaxTimes:_0x5d63e1=_0x1dc2c3,retryNetworkErrorMaxTimes:_0x4ecd36=_0x8028e2}={}){return _0x35f8ae(()=>_0xbb3a60({'method':'GET','headers':_0xd6da21?{'X-UC-User-Agent':_0x2710e3({'publicKey':_0xd6da21,'integration':_0x522713,'userAgent':_0x40e6a6})}:void 0x0,'url':tW(_0x4872e2,'/from_url/status/',{'jsonerrors':0x1,'token':_0x1319c9}),'signal':_0x4e0c92})['then'](({data:_0x140368,headers:_0x14724a,request:_0x32606c})=>{const _0x2ee902=_0x48832f(JSON['parse'](_0x140368));if('error'in _0x2ee902&&!(_0x4bf0cd=>'status'in _0x4bf0cd&&_0x4bf0cd['status']===_0x589d4f['Error'])(_0x2ee902))throw new _0x365a14(_0x2ee902['error']['content'],_0x2ee902['error']['errorCode'],_0x32606c,_0x2ee902,_0x14724a);return _0x2ee902;}),{'retryNetworkErrorMaxTimes':_0x4ecd36,'retryThrottledRequestMaxTimes':_0x5d63e1});}function _0x52fbb2(_0x114456,{publicKey:_0x5add0d,baseURL:_0xd60ecf=_0x23cf77,signal:_0x1259dd,source:_0x108fbc,integration:_0x103bab,userAgent:_0x534006,retryThrottledRequestMaxTimes:_0x4fc2a8=_0x1dc2c3,retryNetworkErrorMaxTimes:_0x1e1f7c=_0x8028e2}){return _0x35f8ae(()=>_0xbb3a60({'method':'GET','headers':{'X-UC-User-Agent':_0x2710e3({'publicKey':_0x5add0d,'integration':_0x103bab,'userAgent':_0x534006})},'url':tW(_0xd60ecf,'/info/',{'jsonerrors':0x1,'pub_key':_0x5add0d,'file_id':_0x114456,'source':_0x108fbc}),'signal':_0x1259dd})['then'](({data:_0x34010b,headers:_0x2ee422,request:_0x13eab4})=>{const _0x48f00e=_0x48832f(JSON['parse'](_0x34010b));if('error'in _0x48f00e)throw new _0x365a14(_0x48f00e['error']['content'],_0x48f00e['error']['errorCode'],_0x13eab4,_0x48f00e,_0x2ee422);return _0x48f00e;}),{'retryThrottledRequestMaxTimes':_0x4fc2a8,'retryNetworkErrorMaxTimes':_0x1e1f7c});}function _0x1e7b1d(_0x3db2e1,{publicKey:_0x328719,baseURL:_0x2d5cac,source:_0x461fa7,integration:_0x5664a7,userAgent:_0x2dbe72,retryThrottledRequestMaxTimes:_0x7b75ee,retryNetworkErrorMaxTimes:_0x45591c,signal:_0x476e40,onProgress:_0x48a3e0}){return _0x3aa9a9({'check':_0x4ab08f=>_0x52fbb2(_0x3db2e1,{'publicKey':_0x328719,'baseURL':_0x2d5cac,'signal':_0x4ab08f,'source':_0x461fa7,'integration':_0x5664a7,'userAgent':_0x2dbe72,'retryThrottledRequestMaxTimes':_0x7b75ee,'retryNetworkErrorMaxTimes':_0x45591c})['then'](_0x3531dc=>_0x3531dc['isReady']?_0x3531dc:(_0x48a3e0&&_0x48a3e0({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x476e40});}var _0x24514f=class{['uuid'];['name'];['size'];isStored;['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];contentInfo;metadata;s3Bucket;defaultEffects=null;constructor(_0x2a94f6,{baseCDN:_0x51983b=_0x344c51,fileName:_0x48bbdc}={}){const {uuid:_0x31b16d,s3Bucket:_0x2f9b1f}=_0x2a94f6,_0x14ac45=tW(_0x51983b,_0x31b16d+'/'),_0x184319=_0x2f9b1f?tW('https://'+_0x2f9b1f+'.s3.amazonaws.com/',_0x31b16d+'/'+_0x2a94f6['filename']):null;this['uuid']=_0x31b16d,this['name']=_0x48bbdc||_0x2a94f6['filename'],this['size']=_0x2a94f6['size'],this['isStored']=_0x2a94f6['isStored'],this['isImage']=_0x2a94f6['isImage'],this['mimeType']=_0x2a94f6['mimeType'],this['cdnUrl']=_0x14ac45,this['originalFilename']=_0x2a94f6['originalFilename'],this['imageInfo']=_0x2a94f6['imageInfo'],this['videoInfo']=_0x2a94f6['videoInfo'],this['contentInfo']=_0x2a94f6['contentInfo'],this['metadata']=_0x2a94f6['metadata']||null,this['s3Bucket']=_0x2f9b1f||null,this['s3Url']=_0x184319,function(_0x552949){return'defaultEffects'in _0x552949;}(_0x2a94f6)&&(this['defaultEffects']=_0x2a94f6['defaultEffects']);}};const _0xf6441e=(_0x3ed814,{publicKey:_0x3568d6,fileName:_0x2bd5be,baseURL:_0x521c08,secureSignature:_0xa6f08f,secureExpire:_0x3e9660,store:_0x13dfd2,contentType:_0x1ace99,signal:_0x45effd,onProgress:_0x589f3c,source:_0x49c579,integration:_0x207d28,userAgent:_0x52d4c1,retryThrottledRequestMaxTimes:_0x106afd,retryNetworkErrorMaxTimes:_0x408b7a,baseCDN:_0x16abb5,metadata:_0x4743bc})=>function(_0x4dca15,{publicKey:_0x2fae44,fileName:_0x3185ca,contentType:_0x32c3e7,baseURL:_0x214482=_0x23cf77,secureSignature:_0x44ce92,secureExpire:_0x13a050,store:_0x18dd65,signal:_0x1f34a4,onProgress:_0x536d3f,source:_0x3015ec='local',integration:_0x4ebe23,userAgent:_0x44a69b,retryThrottledRequestMaxTimes:_0x326931=_0x1dc2c3,retryNetworkErrorMaxTimes:_0x2ce10c=_0x8028e2,metadata:_0x4f46ab}){return _0x35f8ae(()=>_0xbb3a60({'method':'POST','url':tW(_0x214482,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x2710e3({'publicKey':_0x2fae44,'integration':_0x4ebe23,'userAgent':_0x44a69b})},'data':_0x298219({'file':{'data':_0x4dca15,'name':_0x3185ca||_0x33526d(_0x4dca15),'contentType':_0x32c3e7||_0x17159f(_0x4dca15)},'UPLOADCARE_PUB_KEY':_0x2fae44,'UPLOADCARE_STORE':_0xb4ba4c(_0x18dd65),'signature':_0x44ce92,'expire':_0x13a050,'source':_0x3015ec,'metadata':_0x4f46ab}),'signal':_0x1f34a4,'onProgress':_0x536d3f})['then'](({data:_0x45d892,headers:_0x4fd11e,request:_0x3685d9})=>{const _0xc75437=_0x48832f(JSON['parse'](_0x45d892));if('error'in _0xc75437)throw new _0x365a14(_0xc75437['error']['content'],_0xc75437['error']['errorCode'],_0x3685d9,_0xc75437,_0x4fd11e);return _0xc75437;}),{'retryNetworkErrorMaxTimes':_0x2ce10c,'retryThrottledRequestMaxTimes':_0x326931});}(_0x3ed814,{'publicKey':_0x3568d6,'fileName':_0x2bd5be,'contentType':_0x1ace99,'baseURL':_0x521c08,'secureSignature':_0xa6f08f,'secureExpire':_0x3e9660,'store':_0x13dfd2,'signal':_0x45effd,'onProgress':_0x589f3c,'source':_0x49c579,'integration':_0x207d28,'userAgent':_0x52d4c1,'retryThrottledRequestMaxTimes':_0x106afd,'retryNetworkErrorMaxTimes':_0x408b7a,'metadata':_0x4743bc})['then'](({file:_0x569785})=>_0x1e7b1d(_0x569785,{'publicKey':_0x3568d6,'baseURL':_0x521c08,'source':_0x49c579,'integration':_0x207d28,'userAgent':_0x52d4c1,'retryThrottledRequestMaxTimes':_0x106afd,'retryNetworkErrorMaxTimes':_0x408b7a,'onProgress':_0x589f3c,'signal':_0x45effd}))['then'](_0x1d3147=>new _0x24514f(_0x1d3147,{'baseCDN':_0x16abb5})),_0x4236cd=(_0x17dacb,{signal:_0x25961a}={})=>{let _0x4c27d5=null,_0x80cffc=null;const _0x3ba5e3=_0x17dacb['map'](()=>new AbortController());return _0x3a87e2(_0x25961a,()=>{_0x3ba5e3['forEach'](_0x27fefe=>_0x27fefe['abort']());}),Promise['all'](_0x17dacb['map']((_0x513502,_0x118211)=>{const _0x394ea8=(_0x562369=>()=>{_0x80cffc=_0x562369,_0x3ba5e3['forEach']((_0x3d9c7a,_0x15ccda)=>_0x15ccda!==_0x562369&&_0x3d9c7a['abort']());})(_0x118211);return Promise['resolve']()['then'](()=>_0x513502({'stopRace':_0x394ea8,'signal':_0x3ba5e3[_0x118211]['signal']}))['then'](_0x10f8de=>(_0x394ea8(),_0x10f8de))['catch'](_0x4ef6f8=>(_0x4c27d5=_0x4ef6f8,null));}))['then'](_0xa37571=>{if(null===_0x80cffc)throw _0x4c27d5;return _0xa37571[_0x80cffc];});};var _0x42ec90=window['WebSocket'],_0x183269=class{events=Object['create']({});emit(_0x3f630c,_0x325040){this['events'][_0x3f630c]?.['forEach'](_0x11590d=>_0x11590d(_0x325040));}['on'](_0x3e9988,_0x5d1def){this['events'][_0x3e9988]=this['events'][_0x3e9988]||[],this['events'][_0x3e9988]['push'](_0x5d1def);}['off'](_0x5cb529,_0x43253d){this['events'][_0x5cb529]=_0x43253d?this['events'][_0x5cb529]['filter'](_0x5c18d0=>_0x5c18d0!==_0x43253d):[];}},_0x52f200=class{['key'];disconnectTime;['ws']=void 0x0;['queue']=[];isConnected=!0x1;['subscribers']=0x0;emmitter=new _0x183269();disconnectTimeoutId=null;constructor(_0x56afcd,_0x1056e0=0x7530){this['key']=_0x56afcd,this['disconnectTime']=_0x1056e0;}connect(){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x47b2e4='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x42ec90(_0x47b2e4),this['ws']['addEventListener']('error',_0x2b771a=>{this['emmitter']['emit']('error',new Error(_0x2b771a['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x2a3efc=>this['send'](_0x2a3efc['event'],_0x2a3efc['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x367aa4=>{const _0x11c567=JSON['parse'](_0x367aa4['data']['toString']());switch(_0x11c567['event']){case'pusher:connection_established':this['emmitter']['emit']('connected',void 0x0);break;case'pusher:ping':this['send']('pusher:pong',{});break;case'progress':case'success':case'fail':this['emmitter']['emit'](_0x11c567['channel'],((_0x4a3160,_0x350e81)=>'success'===_0x4a3160?{'status':_0x589d4f['Success'],..._0x350e81}:'progress'===_0x4a3160?{'status':_0x589d4f['Progress'],..._0x350e81}:{'status':_0x589d4f['Error'],..._0x350e81})(_0x11c567['event'],JSON['parse'](_0x11c567['data'])));}});}}disconnect(){const _0xd6b921=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0xd6b921();},this['disconnectTime']):_0xd6b921();}['send'](_0x1647ba,_0xefa3da){const _0x1bf233=JSON['stringify']({'event':_0x1647ba,'data':_0xefa3da});this['ws']?.['send'](_0x1bf233);}['subscribe'](_0x26f0a8,_0xc42ae3){this['subscribers']+=0x1,this['connect']();const _0x193e67='task-status-'+_0x26f0a8,_0x38a1d1={'event':'pusher:subscribe','data':{'channel':_0x193e67}};this['emmitter']['on'](_0x193e67,_0xc42ae3),this['isConnected']?this['send'](_0x38a1d1['event'],_0x38a1d1['data']):this['queue']['push'](_0x38a1d1);}['unsubscribe'](_0x5036b6){this['subscribers']-=0x1;const _0x5a7717='task-status-'+_0x5036b6,_0xe5fe89={'event':'pusher:unsubscribe','data':{'channel':_0x5a7717}};this['emmitter']['off'](_0x5a7717),this['isConnected']?this['send'](_0xe5fe89['event'],_0xe5fe89['data']):this['queue']=this['queue']['filter'](_0x161154=>_0x161154['data']['channel']!==_0x5a7717),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x37d65d){return this['emmitter']['on']('error',_0x37d65d),()=>this['emmitter']['off']('error',_0x37d65d);}};let _0x514967=null;const _0x1ef41e=_0x1d323a=>(_0x514967||(_0x514967=new _0x52f200(_0x1d323a,'undefined'==typeof window?0x0:0x7530)),_0x514967),_0x1aa042=(_0x36d8cf,{publicKey:_0x32e0ce,fileName:_0x1a1b3f,baseURL:_0x380335,baseCDN:_0x115620,checkForUrlDuplicates:_0x49dcd0,saveUrlForRecurrentUploads:_0x139b1f,secureSignature:_0x2dd249,secureExpire:_0x24c1a2,store:_0x21975b,signal:_0x3e79fe,onProgress:_0x455748,source:_0x56d0bf,integration:_0x50a456,userAgent:_0x503d03,retryThrottledRequestMaxTimes:_0x81e14c,pusherKey:_0x2d4bc6=_0xa0ad93,metadata:_0x156df2})=>{return Promise['resolve']((_0xe96c5e=_0x2d4bc6,void _0x1ef41e(_0xe96c5e)['connect']()))['then'](()=>function(_0x135ed1,{publicKey:_0x5149ae,baseURL:_0xaf7b3f=_0x23cf77,store:_0x3a400d,fileName:_0x4f299c,checkForUrlDuplicates:_0x181d66,saveUrlForRecurrentUploads:_0x2f01d6,secureSignature:_0x3f3ad6,secureExpire:_0x4dc2f8,source:_0xa76d4='url',signal:_0x1cdaaf,integration:_0x3e16e4,userAgent:_0x352907,retryThrottledRequestMaxTimes:_0x140f1c=_0x1dc2c3,retryNetworkErrorMaxTimes:_0x48e9b8=_0x8028e2,metadata:_0x143de8}){return _0x35f8ae(()=>_0xbb3a60({'method':'POST','headers':{'X-UC-User-Agent':_0x2710e3({'publicKey':_0x5149ae,'integration':_0x3e16e4,'userAgent':_0x352907})},'url':tW(_0xaf7b3f,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x5149ae,'source_url':_0x135ed1,'store':_0xb4ba4c(_0x3a400d),'filename':_0x4f299c,'check_URL_duplicates':_0x181d66?0x1:void 0x0,'save_URL_duplicates':_0x2f01d6?0x1:void 0x0,'signature':_0x3f3ad6,'expire':_0x4dc2f8,'source':_0xa76d4,'metadata':_0x143de8}),'signal':_0x1cdaaf})['then'](({data:_0x394896,headers:_0xcfa806,request:_0x50de67})=>{const _0x1b0025=_0x48832f(JSON['parse'](_0x394896));if('error'in _0x1b0025)throw new _0x365a14(_0x1b0025['error']['content'],_0x1b0025['error']['errorCode'],_0x50de67,_0x1b0025,_0xcfa806);return _0x1b0025;}),{'retryNetworkErrorMaxTimes':_0x48e9b8,'retryThrottledRequestMaxTimes':_0x140f1c});}(_0x36d8cf,{'publicKey':_0x32e0ce,'fileName':_0x1a1b3f,'baseURL':_0x380335,'checkForUrlDuplicates':_0x49dcd0,'saveUrlForRecurrentUploads':_0x139b1f,'secureSignature':_0x2dd249,'secureExpire':_0x24c1a2,'store':_0x21975b,'signal':_0x3e79fe,'source':_0x56d0bf,'integration':_0x50a456,'userAgent':_0x503d03,'retryThrottledRequestMaxTimes':_0x81e14c,'metadata':_0x156df2}))['catch'](_0x23d1ca=>(_0x1ef41e(_0x2d4bc6)?.['disconnect'](),Promise['reject'](_0x23d1ca)))['then'](_0x420c1c=>_0x420c1c['type']===_0x4ba9db['FileInfo']?_0x420c1c:_0x4236cd([({signal:_0x5a5993})=>function({token:_0x3f23eb,publicKey:_0x3b8d53,baseURL:_0x383d8e,integration:_0x120553,userAgent:_0x2796d3,retryThrottledRequestMaxTimes:_0x1d6d2b,retryNetworkErrorMaxTimes:_0x1b91f6,onProgress:_0x407b30,signal:_0x1efbd8}){return _0x3aa9a9({'check':_0x15f405=>_0x5e1ce0(_0x3f23eb,{'publicKey':_0x3b8d53,'baseURL':_0x383d8e,'integration':_0x120553,'userAgent':_0x2796d3,'retryThrottledRequestMaxTimes':_0x1d6d2b,'retryNetworkErrorMaxTimes':_0x1b91f6,'signal':_0x15f405})['then'](_0x221cbc=>{switch(_0x221cbc['status']){case _0x589d4f['Error']:return new _0x365a14(_0x221cbc['error'],_0x221cbc['errorCode']);case _0x589d4f['Waiting']:return!0x1;case _0x589d4f['Unknown']:return new _0x365a14('Token\x20\x22'+_0x3f23eb+'\x22\x20was\x20not\x20found.');case _0x589d4f['Progress']:return _0x407b30&&('unknown'===_0x221cbc['total']?_0x407b30({'isComputable':!0x1}):_0x407b30({'isComputable':!0x0,'value':_0x221cbc['done']/_0x221cbc['total']})),!0x1;case _0x589d4f['Success']:return _0x407b30&&_0x407b30({'isComputable':!0x0,'value':_0x221cbc['done']/_0x221cbc['total']}),_0x221cbc;default:throw new Error('Unknown\x20status');}}),'signal':_0x1efbd8});}({'token':_0x420c1c['token'],'publicKey':_0x32e0ce,'baseURL':_0x380335,'integration':_0x50a456,'userAgent':_0x503d03,'retryThrottledRequestMaxTimes':_0x81e14c,'onProgress':_0x455748,'signal':_0x5a5993}),({signal:_0x10b16c})=>(({token:_0x5c6144,pusherKey:_0xfc1a5c,signal:_0x5aefe0,onProgress:_0x46cbbb})=>new Promise((_0x13d335,_0x5872ee)=>{const _0x57ae08=_0x1ef41e(_0xfc1a5c),_0xa67cda=_0x57ae08['onError'](_0x5872ee),_0x64d6ca=()=>{_0xa67cda(),_0x57ae08['unsubscribe'](_0x5c6144);};_0x3a87e2(_0x5aefe0,()=>{_0x64d6ca(),_0x5872ee(new _0x466446('pusher\x20cancelled'));}),_0x57ae08['subscribe'](_0x5c6144,_0x44b535=>{switch(_0x44b535['status']){case _0x589d4f['Progress']:_0x46cbbb&&('unknown'===_0x44b535['total']?_0x46cbbb({'isComputable':!0x1}):_0x46cbbb({'isComputable':!0x0,'value':_0x44b535['done']/_0x44b535['total']}));break;case _0x589d4f['Success']:_0x64d6ca(),_0x46cbbb&&_0x46cbbb({'isComputable':!0x0,'value':_0x44b535['done']/_0x44b535['total']}),_0x13d335(_0x44b535);break;case _0x589d4f['Error']:_0x64d6ca(),_0x5872ee(new _0x365a14(_0x44b535['msg'],_0x44b535['error_code']));}});}))({'token':_0x420c1c['token'],'pusherKey':_0x2d4bc6,'signal':_0x10b16c,'onProgress':_0x455748})],{'signal':_0x3e79fe}))['then'](_0x47dc32=>{if(_0x47dc32 instanceof _0x365a14)throw _0x47dc32;return _0x47dc32;})['then'](_0x11945d=>_0x1e7b1d(_0x11945d['uuid'],{'publicKey':_0x32e0ce,'baseURL':_0x380335,'integration':_0x50a456,'userAgent':_0x503d03,'retryThrottledRequestMaxTimes':_0x81e14c,'onProgress':_0x455748,'signal':_0x3e79fe}))['then'](_0x4c9145=>new _0x24514f(_0x4c9145,{'baseCDN':_0x115620}));var _0xe96c5e;},_0x497cf6=new WeakMap(),_0x164caa=async _0x48176c=>{if(_0x2f7152(_0x48176c)||_0xde32cc(_0x48176c))return _0x48176c['size'];if(_0x4e4485(_0x48176c))return(await(async _0x4b6faa=>{if(_0x497cf6['has'](_0x4b6faa))return _0x497cf6['get'](_0x4b6faa);const _0xc16c98=await fetch(_0x4b6faa['uri'])['then'](_0x1e042c=>_0x1e042c['blob']());return _0x497cf6['set'](_0x4b6faa,_0xc16c98),_0xc16c98;})(_0x48176c))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x5496c0=async(_0x4c62be,_0x35fc82,_0x517ba3)=>_0x4541cf=>((_0x53d711,_0x3b450e,_0x4a79ed,_0x2b4ace)=>{const _0x3593bb=_0x2b4ace*_0x3b450e,_0x498037=Math['min'](_0x3593bb+_0x2b4ace,_0x4a79ed);return _0x53d711['slice'](_0x3593bb,_0x498037);})(_0x4c62be,_0x4541cf,_0x35fc82,_0x517ba3),_0x58d985=(_0x51b3ed,_0x1a6d8a,{publicKey:_0x741d35,contentType:_0x1bebd9,onProgress:_0x16a6da,signal:_0x285aaf,integration:_0x484929,retryThrottledRequestMaxTimes:_0x443dea,retryNetworkErrorMaxTimes:_0x5ac0c9})=>function(_0xe4e2d6,_0x3beb57,{contentType:_0x11e660,signal:_0x296a72,onProgress:_0x4f9793,retryThrottledRequestMaxTimes:_0x259f2b=_0x1dc2c3,retryNetworkErrorMaxTimes:_0x2b6c23=_0x8028e2}){return _0x35f8ae(()=>_0xbb3a60({'method':'PUT','url':_0x3beb57,'data':_0xe4e2d6,'onProgress':_0x4f9793,'signal':_0x296a72,'headers':{'Content-Type':_0x11e660||_0x8202f4}})['then'](_0x3b324e=>(_0x4f9793&&_0x4f9793({'isComputable':!0x0,'value':0x1}),_0x3b324e))['then'](({status:_0x15cf63})=>({'code':_0x15cf63})),{'retryThrottledRequestMaxTimes':_0x259f2b,'retryNetworkErrorMaxTimes':_0x2b6c23});}(_0x51b3ed,_0x1a6d8a,{'publicKey':_0x741d35,'contentType':_0x1bebd9,'onProgress':_0x16a6da,'signal':_0x285aaf,'integration':_0x484929,'retryThrottledRequestMaxTimes':_0x443dea,'retryNetworkErrorMaxTimes':_0x5ac0c9}),_0xd39465=async(_0x411444,{publicKey:_0x1266b9,fileName:_0x39a241,fileSize:_0x314917,baseURL:_0xa85554,secureSignature:_0x14992a,secureExpire:_0x269a83,store:_0x5b2ed5,signal:_0x4abddb,onProgress:_0x650159,source:_0xdbc61a,integration:_0x1383c5,userAgent:_0x249f9c,retryThrottledRequestMaxTimes:_0x271282,retryNetworkErrorMaxTimes:_0x4d96e0,contentType:_0x507c8a,multipartChunkSize:_0x1a889f=_0x49dc3e,maxConcurrentRequests:_0x6ca08f=_0x853d10,baseCDN:_0x35f8d4,metadata:_0x22246b})=>{const _0x4189a1=_0x314917??await _0x164caa(_0x411444);let _0x2f68ea;const _0x267332=(_0x3646dc,_0x49a6c6)=>{if(!_0x650159)return;_0x2f68ea||(_0x2f68ea=Array(_0x3646dc)['fill'](0x0));const _0x11f2d0=_0x3d2d9e=>_0x3d2d9e['reduce']((_0x23eee7,_0x336eb1)=>_0x23eee7+_0x336eb1,0x0);return _0x157a4a=>{_0x157a4a['isComputable']&&(_0x2f68ea[_0x49a6c6]=_0x157a4a['value'],_0x650159({'isComputable':!0x0,'value':_0x11f2d0(_0x2f68ea)/_0x3646dc}));};};return _0x507c8a||=_0x17159f(_0x411444),function(_0x4bbc70,{publicKey:_0x2b81d2,contentType:_0xae0d76,fileName:_0x225d17,multipartChunkSize:_0xa5031a=_0x49dc3e,baseURL:_0x6e6ca9='',secureSignature:_0x2bddc3,secureExpire:_0x6599d1,store:_0x3ed8a6,signal:_0x28065b,source:_0x365186='local',integration:_0x19bd2b,userAgent:_0x222ecb,retryThrottledRequestMaxTimes:_0x7d186a=_0x1dc2c3,retryNetworkErrorMaxTimes:_0x5b23a2=_0x8028e2,metadata:_0x4476ed}){return _0x35f8ae(()=>_0xbb3a60({'method':'POST','url':tW(_0x6e6ca9,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x2710e3({'publicKey':_0x2b81d2,'integration':_0x19bd2b,'userAgent':_0x222ecb})},'data':_0x298219({'filename':_0x225d17||_0x4ca662,'size':_0x4bbc70,'content_type':_0xae0d76||_0x8202f4,'part_size':_0xa5031a,'UPLOADCARE_STORE':_0xb4ba4c(_0x3ed8a6),'UPLOADCARE_PUB_KEY':_0x2b81d2,'signature':_0x2bddc3,'expire':_0x6599d1,'source':_0x365186,'metadata':_0x4476ed}),'signal':_0x28065b})['then'](({data:_0x426303,headers:_0x2b463f,request:_0x32c5e0})=>{const _0xc0f1af=_0x48832f(JSON['parse'](_0x426303));if('error'in _0xc0f1af)throw new _0x365a14(_0xc0f1af['error']['content'],_0xc0f1af['error']['errorCode'],_0x32c5e0,_0xc0f1af,_0x2b463f);return _0xc0f1af['parts']=Object['keys'](_0xc0f1af['parts'])['map'](_0x38b4a1=>_0xc0f1af['parts'][Number(_0x38b4a1)]),_0xc0f1af;}),{'retryThrottledRequestMaxTimes':_0x7d186a,'retryNetworkErrorMaxTimes':_0x5b23a2});}(_0x4189a1,{'publicKey':_0x1266b9,'contentType':_0x507c8a,'fileName':_0x39a241||_0x33526d(_0x411444),'baseURL':_0xa85554,'secureSignature':_0x14992a,'secureExpire':_0x269a83,'store':_0x5b2ed5,'signal':_0x4abddb,'source':_0xdbc61a,'integration':_0x1383c5,'userAgent':_0x249f9c,'retryThrottledRequestMaxTimes':_0x271282,'retryNetworkErrorMaxTimes':_0x4d96e0,'metadata':_0x22246b,'multipartChunkSize':_0x1a889f})['then'](async({uuid:_0x42cf46,parts:_0x1100ae})=>{const _0x175ede=await _0x5496c0(_0x411444,_0x4189a1,_0x1a889f);return Promise['all']([_0x42cf46,(_0x14ff58=_0x6ca08f,_0x192fe6=_0x1100ae['map']((_0x5e1edc,_0x5b92cd)=>()=>_0x58d985(_0x175ede(_0x5b92cd),_0x5e1edc,{'publicKey':_0x1266b9,'contentType':_0x507c8a,'onProgress':_0x267332(_0x1100ae['length'],_0x5b92cd),'signal':_0x4abddb,'integration':_0x1383c5,'retryThrottledRequestMaxTimes':_0x271282,'retryNetworkErrorMaxTimes':_0x4d96e0})),new Promise((_0x46c988,_0x461244)=>{const _0x1beb0f=[];let _0x2c8383=!0x1,_0x863f50=_0x192fe6['length'];const _0x54a03d=[..._0x192fe6],_0x9adeef=()=>{const _0x2f2524=_0x192fe6['length']-_0x54a03d['length'],_0x40ad46=_0x54a03d['shift']();_0x40ad46&&_0x40ad46()['then'](_0x115f2f=>{_0x2c8383||(_0x1beb0f[_0x2f2524]=_0x115f2f,_0x863f50-=0x1,_0x863f50?_0x9adeef():_0x46c988(_0x1beb0f));})['catch'](_0x49b23f=>{_0x2c8383=!0x0,_0x461244(_0x49b23f);});};for(let _0x4ec42d=0x0;_0x4ec42d<_0x14ff58;_0x4ec42d++)_0x9adeef();}))]);var _0x14ff58,_0x192fe6;})['then'](([_0x25b77b])=>function(_0x23bd41,{publicKey:_0x4cd318,baseURL:_0x2ba7e5=_0x23cf77,source:_0x295c72='local',signal:_0xecc98b,integration:_0x251496,userAgent:_0x537ce0,retryThrottledRequestMaxTimes:_0x5e4cdf=_0x1dc2c3,retryNetworkErrorMaxTimes:_0x32ad71=_0x8028e2}){return _0x35f8ae(()=>_0xbb3a60({'method':'POST','url':tW(_0x2ba7e5,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x2710e3({'publicKey':_0x4cd318,'integration':_0x251496,'userAgent':_0x537ce0})},'data':_0x298219({'uuid':_0x23bd41,'UPLOADCARE_PUB_KEY':_0x4cd318,'source':_0x295c72}),'signal':_0xecc98b})['then'](({data:_0x5034fe,headers:_0x2a98d6,request:_0x2a0747})=>{const _0x2d2a12=_0x48832f(JSON['parse'](_0x5034fe));if('error'in _0x2d2a12)throw new _0x365a14(_0x2d2a12['error']['content'],_0x2d2a12['error']['errorCode'],_0x2a0747,_0x2d2a12,_0x2a98d6);return _0x2d2a12;}),{'retryThrottledRequestMaxTimes':_0x5e4cdf,'retryNetworkErrorMaxTimes':_0x32ad71});}(_0x25b77b,{'publicKey':_0x1266b9,'baseURL':_0xa85554,'source':_0xdbc61a,'integration':_0x1383c5,'userAgent':_0x249f9c,'retryThrottledRequestMaxTimes':_0x271282,'retryNetworkErrorMaxTimes':_0x4d96e0}))['then'](_0x577c4a=>_0x577c4a['isReady']?_0x577c4a:_0x1e7b1d(_0x577c4a['uuid'],{'publicKey':_0x1266b9,'baseURL':_0xa85554,'source':_0xdbc61a,'integration':_0x1383c5,'userAgent':_0x249f9c,'retryThrottledRequestMaxTimes':_0x271282,'retryNetworkErrorMaxTimes':_0x4d96e0,'onProgress':_0x650159,'signal':_0x4abddb}))['then'](_0x18fb6c=>new _0x24514f(_0x18fb6c,{'baseCDN':_0x35f8d4}));};async function _0x6f3bb1(_0x161218,{publicKey:_0x36b27e,fileName:_0x474bb9,baseURL:_0x5eed29=_0x23cf77,secureSignature:_0x195d56,secureExpire:_0x396541,store:_0x35adb5,signal:_0x2fa9f2,onProgress:_0x1b2bc2,source:_0x5a26c8,integration:_0x2c4992,userAgent:_0x298ddd,retryThrottledRequestMaxTimes:_0xa498e3,retryNetworkErrorMaxTimes:_0x3b5baf,contentType:_0x3f8dd2,multipartMinFileSize:_0x5327aa,multipartChunkSize:_0x143bb1,maxConcurrentRequests:_0x307164,baseCDN:_0x149aea=_0x344c51,checkForUrlDuplicates:_0x3aa857,saveUrlForRecurrentUploads:_0x52cf24,pusherKey:_0x295d39,metadata:_0x438be7}){if(_0x285751(_0x161218)){const _0x20361b=await _0x164caa(_0x161218);return((_0x4eb1f6,_0x392c00=_0x25f029)=>_0x4eb1f6>=_0x392c00)(_0x20361b,_0x5327aa)?_0xd39465(_0x161218,{'publicKey':_0x36b27e,'contentType':_0x3f8dd2,'multipartChunkSize':_0x143bb1,'fileSize':_0x20361b,'fileName':_0x474bb9,'baseURL':_0x5eed29,'secureSignature':_0x195d56,'secureExpire':_0x396541,'store':_0x35adb5,'signal':_0x2fa9f2,'onProgress':_0x1b2bc2,'source':_0x5a26c8,'integration':_0x2c4992,'userAgent':_0x298ddd,'maxConcurrentRequests':_0x307164,'retryThrottledRequestMaxTimes':_0xa498e3,'retryNetworkErrorMaxTimes':_0x3b5baf,'baseCDN':_0x149aea,'metadata':_0x438be7}):_0xf6441e(_0x161218,{'publicKey':_0x36b27e,'fileName':_0x474bb9,'contentType':_0x3f8dd2,'baseURL':_0x5eed29,'secureSignature':_0x195d56,'secureExpire':_0x396541,'store':_0x35adb5,'signal':_0x2fa9f2,'onProgress':_0x1b2bc2,'source':_0x5a26c8,'integration':_0x2c4992,'userAgent':_0x298ddd,'retryThrottledRequestMaxTimes':_0xa498e3,'retryNetworkErrorMaxTimes':_0x3b5baf,'baseCDN':_0x149aea,'metadata':_0x438be7});}if((_0x3c4ed6=>{const _0x9ae4af=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x285751(_0x3c4ed6)&&_0x9ae4af['test'](_0x3c4ed6);})(_0x161218))return _0x1aa042(_0x161218,{'publicKey':_0x36b27e,'fileName':_0x474bb9,'baseURL':_0x5eed29,'baseCDN':_0x149aea,'checkForUrlDuplicates':_0x3aa857,'saveUrlForRecurrentUploads':_0x52cf24,'secureSignature':_0x195d56,'secureExpire':_0x396541,'store':_0x35adb5,'signal':_0x2fa9f2,'onProgress':_0x1b2bc2,'source':_0x5a26c8,'integration':_0x2c4992,'userAgent':_0x298ddd,'retryThrottledRequestMaxTimes':_0xa498e3,'retryNetworkErrorMaxTimes':_0x3b5baf,'pusherKey':_0x295d39,'metadata':_0x438be7});if((_0x1f7a71=>{const _0x5c6a5b=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x285751(_0x1f7a71)&&_0x5c6a5b['test'](_0x1f7a71);})(_0x161218))return((_0x3224f3,{publicKey:_0x1a6988,fileName:_0x428efc,baseURL:_0x24d176,signal:_0x124fac,onProgress:_0x495902,source:_0x3eaa9c,integration:_0x3daed2,userAgent:_0x547e2e,retryThrottledRequestMaxTimes:_0xb6ff72,retryNetworkErrorMaxTimes:_0x3e1886,baseCDN:_0x12496e})=>_0x52fbb2(_0x3224f3,{'publicKey':_0x1a6988,'baseURL':_0x24d176,'signal':_0x124fac,'source':_0x3eaa9c,'integration':_0x3daed2,'userAgent':_0x547e2e,'retryThrottledRequestMaxTimes':_0xb6ff72,'retryNetworkErrorMaxTimes':_0x3e1886})['then'](_0x11bcf9=>new _0x24514f(_0x11bcf9,{'baseCDN':_0x12496e,'fileName':_0x428efc}))['then'](_0xb2149=>(_0x495902&&_0x495902({'isComputable':!0x0,'value':0x1}),_0xb2149)))(_0x161218,{'publicKey':_0x36b27e,'fileName':_0x474bb9,'baseURL':_0x5eed29,'signal':_0x2fa9f2,'onProgress':_0x1b2bc2,'source':_0x5a26c8,'integration':_0x2c4992,'userAgent':_0x298ddd,'retryThrottledRequestMaxTimes':_0xa498e3,'retryNetworkErrorMaxTimes':_0x3b5baf,'baseCDN':_0x149aea});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x161218+'\x22\x20is\x20not\x20supported');}var _0x1a3ee5=class{static['upload']({file:_0x57c9c9,..._0x335cd7}){return _0x6f3bb1(_0x57c9c9,_0x335cd7);}static getInfo(_0x25cb00,_0x18b39e){return _0x52fbb2(_0x25cb00,_0x18b39e);}},_0x5542fe=class extends _0x491313['Plugin']{static get requires(){return[_0x491313['ImageUploadEditing'],_0x491313['ImageUploadProgress'],_0x491313['FileRepository'],_0x119cf8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x3b348e=this['editor'];if(!_0x3b348e['config']['get']('uploadcare'))return;_0x3b348e['plugins']['get'](_0x491313['FileRepository'])['createUploadAdapter']=_0x3c8b33=>new _0x52360e(_0x3c8b33,_0x3b348e),_0x3b348e['plugins']['get'](_0x491313['ImageUploadEditing'])['on']('uploadComplete',(_0x160de3,{imageElement:_0x439a58,data:_0x158a38})=>{_0x3b348e['model']['change'](_0x3014b5=>{_0x3014b5['setAttribute']('uploadcareImageId',_0x158a38['uploadcareImageId'],_0x439a58);});});}},_0x52360e=class{['loader'];editor;controller;constructor(_0x152d41,_0x55fa14){this['loader']=_0x152d41,this['editor']=_0x55fa14,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x25c307=await this['loader']['file'];return _0x1a3ee5['upload']({'file':_0x25c307,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5b76fd=>{_0x5b76fd&&_0x5b76fd['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5b76fd['value']);}})['then'](async _0x3c3d6a=>{const {imageFallbackUrl:_0x1c5bb9,imageSources:_0x51e278}=_0x75a0d(_0x3c3d6a['cdnUrl'],_0x3c3d6a['imageInfo']['width']);return{'uploadcareImageId':_0x3c3d6a['uuid'],'default':_0x1c5bb9,'sources':_0x51e278};})['catch'](()=>{const _0x387da6=t('Cannot\x20upload\x20file:')+('\x20'+_0x25c307['name']+'.');return Promise['reject'](_0x387da6);});}abort(){this['controller']['abort']();}},_0x119cf8=class extends _0x491313['Plugin']{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x491313['PictureEditing'],_0x5542fe,_0x491313['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x765e88){super(_0x765e88),this['ucContextId']=(0x0,_0x491313['uid'])();}init(){const _0x5a833f=this['editor'];_0x5a833f['commands']['add']('uploadcare',new _0x3f9d6e(_0x5a833f));}afterInit(){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x3bc9e6=_0x491313['global']['document']['querySelector']('input[uploadcare-file-input]');_0x3bc9e6&&_0x3bc9e6['remove']();}),async function(_0x5cc9f2){const _0x319b14='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x1e23dc=0x791d0,_0x3b5ca9=window['Date']['now'](),_0x532687=_0x5cc9f2['editor'],_0x2b9bbe=new window['Promise'](_0x9b25f7=>{_0x532687['once']('ready',_0x9b25f7);}),_0x28b7a9={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x14ea79=_0x532687['config']['get']('licenseKey');async function _0xb506d2(){let _0x2d4c1b,_0x444d71=null,_0x4471f4=null;try{return'GPL'==_0x14ea79?'NotAllowed':(_0x2d4c1b=_0xae397e(),_0x2d4c1b?(_0x2d4c1b['usageEndpoint']&&(_0x4471f4=_0x47b316(_0x2d4c1b['usageEndpoint'],_0x2d4c1b['jti'])),await _0x3583fe()?_0xedbcc4()?_0xd291a9()?'Expired':_0x4837be()?('evaluation'==_0x2d4c1b['licenseType']&&(_0x444d71=_0x1380eb('EvaluationLimit')),await _0xd4e7de()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xd291a9(){const _0x1f340b=['evaluation','trial']['includes'](_0x2d4c1b['licenseType'])?_0x3b5ca9/0x3e8:0xe10*_0x1e23dc;return _0x2d4c1b['exp']<_0x1f340b;}function _0xedbcc4(){const _0xd9b7ea=_0x2d4c1b['features'];return!!_0xd9b7ea&&(!!_0xd9b7ea['includes']('*')||!!_0xd9b7ea['includes']('UPLC'));}function _0x4837be(){const _0x28849c=_0x2d4c1b['licensedHosts'];if(!_0x28849c||0x0==_0x28849c['length'])return!0x0;const {hostname:_0x28afa6}=new URL(window['location']['href']);if(_0x28849c['includes'](_0x28afa6))return!0x0;const _0x14b7c4=_0x28afa6['split']('.');return _0x28849c['filter'](_0x219215=>_0x219215['includes']('*'))['map'](_0x45c563=>_0x45c563['split']('.'))['filter'](_0x4f0b57=>_0x4f0b57['length']<=_0x14b7c4['length'])['map'](_0x3fad84=>Array(_0x14b7c4['length']-_0x3fad84['length'])['fill']('*'===_0x3fad84[0x0]?'*':'')['concat'](_0x3fad84))['some'](_0x2ee8ff=>_0x14b7c4['every']((_0x17e5b8,_0x218385)=>_0x2ee8ff[_0x218385]===_0x17e5b8||'*'===_0x2ee8ff[_0x218385]));}function _0xd4e7de(){return _0x444d71&&_0x4471f4?new window['Promise']((_0x471bd2,_0x4556c7)=>{_0x444d71['then'](_0x471bd2,_0x4556c7),_0x4471f4['then'](_0x5917b2=>{'Valid'!=_0x5917b2&&_0x471bd2(_0x5917b2);},_0x4556c7);}):_0x444d71||_0x4471f4||'Valid';}}function _0x47b316(_0x3d3d90,_0x44ca13){return new window['Promise'](_0x4a65ef=>{if(_0x1ea8ec())return _0x4a65ef('Valid');_0x4df204(),_0x532687['decorate']('_sendUsageRequest');let _0x364d97=!0x1;const _0x50e822=(0x0,_0x491313['uid'])();function _0x5bb08c(_0x21d7b3){return!!_0x21d7b3&&('object'==typeof _0x21d7b3||'function'==typeof _0x21d7b3)&&'function'==typeof _0x21d7b3['then']&&'function'==typeof _0x21d7b3['catch'];}function _0x1148ff(_0x5543b7){_0x4d7cb7(_0x5543b7)['then'](_0x4fa601=>_0x4fa601&&'ok'==_0x4fa601['status']?_0x5643e0(_0x533248(_0x50e822+_0x44ca13))!=_0x4fa601['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4b2cbc=>(_0x4a7b4a(),_0x4b2cbc),()=>{const _0x3c6da8=_0x358757();return null==_0x3c6da8?(_0x4a7b4a(),'Valid'):_0x3b5ca9-_0x3c6da8>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4a65ef)['catch'](()=>{_0x4a65ef('UsageLimit');});const _0x19ead4=0x36ee80;function _0x4a7b4a(){const _0x1f9169='llct-'+_0x5643e0(_0x533248(_0x3d3d90)),_0x35dda9=_0x4a41e3(_0x5643e0(window['Math']['ceil'](_0x3b5ca9/_0x19ead4)));window['localStorage']['setItem'](_0x1f9169,_0x35dda9);}function _0x358757(){const _0x4b673f='llct-'+_0x5643e0(_0x533248(_0x3d3d90)),_0x4a261a=window['localStorage']['getItem'](_0x4b673f);return _0x4a261a?window['parseInt'](_0x4a41e3(_0x4a261a),0x10)*_0x19ead4:null;}function _0x4d7cb7(_0x2edfb5){return new window['Promise']((_0x81eada,_0x26cecd)=>{_0x2edfb5['then'](_0x81eada,_0x26cecd),window['setTimeout'](_0x26cecd,0x1d4c0);});}}_0x532687['on']('_sendUsageRequest',(_0x144941,_0x40cd8f)=>{if(_0x40cd8f[0x0]!=_0x3d3d90)return _0x4a65ef('UsageLimit');_0x40cd8f[0x1]={..._0x40cd8f[0x1],'requestId':_0x50e822};},{'priority':'high'}),_0x532687['on']('_sendUsageRequest',_0x7442b0=>{_0x5bb08c(_0x7442b0['return'])&&(_0x364d97=!0x0,_0x1148ff(_0x7442b0['return']));},{'priority':'low'}),_0x2b9bbe['then'](()=>{_0x364d97||_0x4a65ef('UsageLimit');});});function _0x1ea8ec(){return'auto'==_0x532687['editing']['view']['_overlayModeHint'];}function _0x4df204(){_0x532687['editing']['view']['_overlayModeHint']='auto';}}function _0x1380eb(_0x36b696){const _0x210739=[new window['Promise'](_0x4932ee=>setTimeout(_0x4932ee,0x93ecc)),_0x2b9bbe['then'](()=>new window['Promise'](_0xb6f473=>{let _0x2cd2ea=0x0;_0x532687['model']['on']('applyOperation',(_0x11f73f,_0x10f11a)=>{_0x10f11a[0x0]['isDocumentOperation']&&_0x2cd2ea++,0x5e8==_0x2cd2ea&&(_0xb6f473(),_0x11f73f['off']());});}))];return window['Promise']['race'](_0x210739)['then'](()=>_0x36b696);}async function _0x7cecf7(){await _0x2b9bbe,_0x532687['model']['change']=_0x1732e8,_0x532687['model']['enqueueChange']=_0x1732e8,_0x532687['enableReadOnlyMode']('model');}function _0x24205a(_0x31c9b9){const _0x3e78a5=_0x5732bc();_0x532687[_0x3e78a5]='uploadcareLicenseKey'+_0x31c9b9,'Valid'!=_0x31c9b9&&_0x7cecf7();}function _0x5732bc(){const _0x1866d0=window['String'](window['performance']['now']())['replace']('.','');let _0x6d358a='h';for(let _0x38c818=0x0;_0x38c818<_0x1866d0['length'];_0x38c818+=0x2){let _0x1cec0a=window['parseInt'](_0x1866d0['substring'](_0x38c818,_0x38c818+0x2));_0x1cec0a>=0x3e&&(_0x1cec0a-=0x3e),_0x6d358a+=_0x319b14[_0x1cec0a];}return _0x6d358a;}function _0xae397e(){const _0x34023e=_0x14ea79['split']('.');if(0x3!=_0x34023e['length'])return null;return _0xf22bd8(_0x34023e[0x1]);function _0xf22bd8(_0x1df437){const _0x479533=_0x510a39(_0x1df437);return _0x479533&&_0x3bdbd7()?_0x479533:null;function _0x3bdbd7(){const _0x29134b=_0x479533['jti'],_0x524f98=window['parseInt'](_0x29134b['substring'](_0x29134b['length']-0x8),0x10),_0x5c65af={..._0x479533,'jti':_0x29134b['substring'](0x0,_0x29134b['length']-0x8)};return delete _0x5c65af['vc'],_0x533248(_0x5c65af)==_0x524f98;}}}async function _0x3583fe(){let _0x4befa9=!0x0;try{const [_0x5043fb,_0x4c4c58,_0x5e27f9]=_0x14ea79['split']('.');return _0x5d2572(_0x5043fb),await _0x3c0296(_0x5043fb,_0x4c4c58,_0x5e27f9),_0x4befa9;}catch{return!0x1;}function _0x5d2572(_0x4a65f1){const _0x106bdc=_0x510a39(_0x4a65f1);_0x106bdc&&'ES256'==_0x106bdc['alg']||(_0x4befa9=!0x1);}async function _0x3c0296(_0x2fbd71,_0x2483e5,_0x408ffc){const _0x1b6ece=window['Uint8Array']['from'](_0x3ca888(_0x408ffc),_0x485a61=>_0x485a61['charCodeAt'](0x0)),_0x5f1343=new window['TextEncoder']()['encode'](_0x2fbd71+'.'+_0x2483e5),_0x2787a0=window['crypto']['subtle'];if(!_0x2787a0)return;const _0x42f2d6=await _0x2787a0['importKey']('jwk',_0x28b7a9,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2787a0['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x42f2d6,_0x1b6ece,_0x5f1343)||(_0x4befa9=!0x1);}}function _0x510a39(_0x557150){return _0x557150['startsWith']('ey')?JSON['parse'](_0x3ca888(_0x557150)):null;}function _0x3ca888(_0x175ef1){return window['atob'](_0x175ef1['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x533248(_0x2109c4){let _0x4359ad=0x1505;function _0x321f1d(_0x3a9375){for(let _0x33f8de=0x0;_0x33f8de<_0x3a9375['length'];_0x33f8de++){const _0x3a74fb=_0x3a9375['charCodeAt'](_0x33f8de);_0x4359ad=(_0x4359ad<<0x5)+_0x4359ad+_0x3a74fb,_0x4359ad&=_0x4359ad;}}function _0x4c1a20(_0x487463){Array['isArray'](_0x487463)?_0x487463['forEach'](_0x4c1a20):_0x487463&&'object'==typeof _0x487463?Object['entries'](_0x487463)['sort']()['forEach'](([_0x3a6cf1,_0x24874f])=>{_0x321f1d(_0x3a6cf1),_0x4c1a20(_0x24874f);}):_0x321f1d(window['String'](_0x487463));}return _0x4c1a20(_0x2109c4),_0x4359ad>>>0x0;}function _0x5643e0(_0x299165){return _0x299165['toString'](0x10)['padStart'](0x8,'0');}function _0x4a41e3(_0x5cd8ed){return _0x5cd8ed['split']('')['reverse']()['join']('');}function _0x1732e8(){}_0x24205a(await _0xb506d2());}(this);}_initSchema(){const _0x13b17d=this['editor']['model']['schema'];_0x13b17d['isRegistered']('imageBlock')&&_0x13b17d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x13b17d['isRegistered']('imageInline')&&_0x13b17d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x34d0cf=this['editor'];_0x34d0cf['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x34d0cf['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5dea45=>_0x5dea45['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x10166e=_0x34d0cf['commands']['get']('replaceImageSource');_0x10166e&&this['listenTo'](_0x10166e,'cleanupImage',(_0x4462d5,[_0x123853,_0x3579ba])=>{_0x123853['removeAttribute']('uploadcareImageId',_0x3579ba);});}_initConfig(){const _0xf82c7a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2cafe0=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=(0x0,_0x491313['createElement'])(_0x491313['global']['document'],'uc-config',{..._0xf82c7a,'pubkey':_0x2cafe0,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x21c995=>{if('closeMax'==_0x21c995)return'#uc-icon-arrow-down';},_0x491313['global']['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=(0x0,_0x491313['createElement'])(_0x491313['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x491313['global']['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x10520=this['editor']['commands']['get']('insertImage');_0x10520&&this['listenTo'](_0x10520,'execute',()=>{const _0x55a222=this['editor']['model']['document']['selection']['getSelectedElement']();_0x55a222&&_0x55a222['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0xdaef6(this['editor'],_0x55a222);});});const _0x2d1570=this['editor']['commands']['get']('uploadcareImageReplace');_0x2d1570&&this['listenTo'](_0x2d1570,'execute',()=>{const _0x583811=this['editor']['model']['document']['selection']['getSelectedElement']();_0x583811&&_0x583811['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0xdaef6(this['editor'],_0x583811);});});}},_0x262a98=_0x142dc2({'ActivityBlock':()=>_0x8a8c15,'ActivityHeader':()=>_0x23f11a,'BaseComponent':()=>_0x1041c5,'Block':()=>_0xbf5cc2,'BtnUi':()=>_0x4838e3,'CameraSource':()=>_0x2541fa,'CloudImageEditor':()=>_0x1bbe30,'CloudImageEditorActivity':()=>_0x28384e,'CloudImageEditorBlock':()=>_0x1e374f,'Config':()=>_0x4fcb20,'Copyright':()=>t2,'CropFrame':()=>_0xa3e15c,'Data':()=>_0x5f1c09,'DropArea':()=>_0x5f0d94,'EditorAspectRatioButtonControl':()=>_0x55b8b0,'EditorCropButtonControl':()=>_0x207001,'EditorFilterControl':()=>_0x5598af,'EditorFreeformButtonControl':()=>_0x3c3c38,'EditorImageCropper':()=>_0x3b0f57,'EditorImageFader':()=>_0x4a288e,'EditorOperationControl':()=>_0x406961,'EditorScroller':()=>_0x5dbf9a,'EditorSlider':()=>_0xfc045b,'EditorToolbar':()=>_0x327d39,'ExternalSource':()=>_0x2938fd,'ExternalUploadSource':()=>_0x408cb7,'FileItem':()=>_0x3d2e20,'FileUploaderInline':()=>_0x61016d,'FileUploaderMinimal':()=>_0x417662,'FileUploaderRegular':()=>_0x561158,'FormInput':()=>_0x3ce70a,'Icon':()=>_0x5a1cab,'Img':()=>_0x35f4ad,'LineLoaderUi':()=>_0x2fcefd,'Modal':()=>_0x22349a,'ModalEvents':()=>_0x5befab,'PACKAGE_NAME':()=>t0,'PACKAGE_VERSION':()=>_0x2c5ce6,'PluginActivityHost':()=>_0x366485,'PluginActivityRenderer':()=>t5,'PresenceToggle':()=>_0xe4049a,'ProgressBar':()=>_0x49ed73,'ProgressBarCommon':()=>_0x479779,'Select':()=>_0x46ecee,'SimpleBtn':()=>_0x1933de,'SliderUi':()=>_0x20cacb,'SolutionBlock':()=>_0x93946c,'SourceBtn':()=>_0x151f1d,'SourceList':()=>_0x222572,'Spinner':()=>_0x59be3f,'StartFrom':()=>_0x53a1e0,'Thumb':()=>_0x31137f,'UID':()=>_0x138f26,'UploadCtxProvider':()=>_0x17dc80,'UploadList':()=>_0x57fa15,'UploadSource':()=>_0x4b5b6e,'UploaderBlock':()=>_0x2b75dc,'UrlSource':()=>_0x4b0a4a,'defineComponents':()=>_0x2664c1,'defineLocale':()=>_0x483b4e,'loadFileUploaderFrom':()=>_0x2de7c2,'toKebabCase':()=>_0x517003}),_0x22adc5=Object['defineProperty'],_0x19ff5=Object['getOwnPropertyDescriptor'],_0x5c27fe=(_0x259632,_0x3714bc)=>{for(var t in _0x3714bc)_0x22adc5(_0x259632,t,{'get':_0x3714bc[t],'enumerable':!0x0});},_0x44b9f0=(_0x4521ec,_0x38d024,t,_0x58fe0f)=>{for(var _0x1f0463,_0x1fb41d=_0x58fe0f>0x1?void 0x0:_0x58fe0f?_0x19ff5(_0x38d024,t):_0x38d024,_0x23f5e7=_0x4521ec['length']-0x1;_0x23f5e7>=0x0;_0x23f5e7--)(_0x1f0463=_0x4521ec[_0x23f5e7])&&(_0x1fb41d=(_0x58fe0f?_0x1f0463(_0x38d024,t,_0x1fb41d):_0x1f0463(_0x1fb41d))||_0x1fb41d);return _0x58fe0f&&_0x1fb41d&&_0x22adc5(_0x38d024,t,_0x1fb41d),_0x1fb41d;},_0x1ec4b6=[],_0x1c8435=0x0;function _0x53cc3c(_0xfb553,_0x28add2,t){let _0x49b6f3=new Set(_0x28add2)['add'](void 0x0);return _0xfb553['listen']((_0x559092,_0x4a2b7c,_0x4edc34)=>{_0x49b6f3['has'](_0x4edc34)&&t(_0x559092,_0x4a2b7c,_0x4edc34);});}function _0x2c27c6(_0x356453,_0x479d60,t){let _0x142f6f=_0x53cc3c(_0x356453,_0x479d60,t);return t(_0x356453['value']),_0x142f6f;}var _0x3c9f7a=(_0x25d899={})=>{let _0x4e385c=(_0x2fb0fa=>{let _0xfc9016=[],t={'get':()=>(t['lc']||t['listen'](()=>{})(),t['value']),'lc':0x0,'listen':_0x59c623=>(t['lc']=_0xfc9016['push'](_0x59c623),()=>{for(let _0x2f214f=_0x1c8435+0x4;_0x2f214f<_0x1ec4b6['length'];)_0x1ec4b6[_0x2f214f]===_0x59c623?_0x1ec4b6['splice'](_0x2f214f,0x4):_0x2f214f+=0x4;let _0x516dab=_0xfc9016['indexOf'](_0x59c623);~_0x516dab&&(_0xfc9016['splice'](_0x516dab,0x1),--t['lc']||t['off']());}),'notify'(_0x2667c1,_0x1df640){let _0x1df753=!_0x1ec4b6['length'];for(let _0xf900c2 of _0xfc9016)_0x1ec4b6['push'](_0xf900c2,t['value'],_0x2667c1,_0x1df640);if(_0x1df753){for(_0x1c8435=0x0;_0x1c8435<_0x1ec4b6['length'];_0x1c8435+=0x4)_0x1ec4b6[_0x1c8435](_0x1ec4b6[_0x1c8435+0x1],_0x1ec4b6[_0x1c8435+0x2],_0x1ec4b6[_0x1c8435+0x3]);_0x1ec4b6['length']=0x0;}},'off'(){},'set'(_0x496c0c){let _0x567fad=t['value'];_0x567fad!==_0x496c0c&&(t['value']=_0x496c0c,t['notify'](_0x567fad));},'subscribe'(_0xde5669){let _0x36faf0=t['listen'](_0xde5669);return _0xde5669(t['value']),_0x36faf0;},'value':_0x2fb0fa};return t;})(_0x25d899);return _0x4e385c['setKey']=function(t,_0x3ed994){let _0x3f23a0=_0x4e385c['value'];typeof _0x3ed994>'u'&&t in _0x4e385c['value']?(_0x4e385c['value']={..._0x4e385c['value']},delete _0x4e385c['value'][t],_0x4e385c['notify'](_0x3f23a0,t)):_0x4e385c['value'][t]!==_0x3ed994&&(_0x4e385c['value']={..._0x4e385c['value'],[t]:_0x3ed994},_0x4e385c['notify'](_0x3f23a0,t));},_0x4e385c;},_0x5f1c09=class _0x1be319{static{this['qt']=new Map();}constructor(_0x2ec8c0,t){this['J']=_0x2ec8c0,this['ae']=t;}get['id'](){return this['J'];}['pub'](_0x15e034,t){_0x15e034 in this['ae']['get']()||console['warn']('PubSub#pub:\x20Key\x20\x22'+String(_0x15e034)+'\x22\x20not\x20found'),this['ae']['setKey'](_0x15e034,t);}['sub'](_0x3c03b7,t,_0x9be921=!0x0){return(_0x9be921?_0x2c27c6:_0x53cc3c)(this['ae'],[_0x3c03b7],_0x2d2206=>{t(_0x2d2206[_0x3c03b7]);});}['read'](_0x509ce9){return _0x509ce9 in this['ae']['get']()||console['warn']('PubSub#read:\x20Key\x20\x22'+String(_0x509ce9)+'\x22\x20not\x20found'),this['ae']['get']()[_0x509ce9];}['add'](_0x50fb19,t,_0x32d1d6=!0x1){(!(_0x50fb19 in this['ae']['get']())||_0x32d1d6)&&this['ae']['setKey'](_0x50fb19,t);}['has'](_0x9b72bb){return _0x9b72bb in this['ae']['get']();}get store(){return this['ae']['get']();}static registerCtx(_0x312521,t){if(_0x1be319['qt']['has'](t))throw new Error('PubSub:\x20Context\x20with\x20id\x20\x22'+t+'\x22\x20already\x20exists');let _0x28cc3c=_0x3c9f7a(_0x312521);return _0x1be319['qt']['set'](t,_0x28cc3c),new _0x1be319(t,_0x28cc3c);}static deleteCtx(_0x1638ea){_0x1be319['qt']['delete'](_0x1638ea);}static getCtx(_0x344f05){let t=_0x1be319['qt']['get'](_0x344f05);return t?new _0x1be319(_0x344f05,t):null;}static hasCtx(_0xc7fe9c){return _0x1be319['qt']['has'](_0xc7fe9c);}},_0x5ea92f=globalThis,_0x17a669=_0x5ea92f['ShadowRoot']&&(void 0x0===_0x5ea92f['ShadyCSS']||_0x5ea92f['ShadyCSS']['nativeShadow'])&&'adoptedStyleSheets'in Document['prototype']&&'replace'in CSSStyleSheet['prototype'],_0x15adee=Symbol(),_0x41817f=new WeakMap(),_0x1ed1c3=class{constructor(_0x3bbd9f,t,_0x253e3b){if(this['Cc']=!0x0,_0x253e3b!==_0x15adee)throw Error('CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.');this['cssText']=_0x3bbd9f,this['t']=t;}get styleSheet(){let _0x4ed4c8=this['o'],t=this['t'];if(_0x17a669&&void 0x0===_0x4ed4c8){let _0x41d33b=void 0x0!==t&&0x1===t['length'];_0x41d33b&&(_0x4ed4c8=_0x41817f['get'](t)),void 0x0===_0x4ed4c8&&((this['o']=_0x4ed4c8=new CSSStyleSheet())['replaceSync'](this['cssText']),_0x41d33b&&_0x41817f['set'](t,_0x4ed4c8));}return _0x4ed4c8;}toString(){return this['cssText'];}},_0x3961fd=_0x17a669?_0x7bb783=>_0x7bb783:_0x222aab=>_0x222aab instanceof CSSStyleSheet?(_0x42240c=>{let t='';for(let _0x3f76b0 of _0x42240c['cssRules'])t+=_0x3f76b0['cssText'];return(_0x515b3d=>new _0x1ed1c3('string'==typeof _0x515b3d?_0x515b3d:_0x515b3d+'',void 0x0,_0x15adee))(t);})(_0x222aab):_0x222aab,{is:_0x11eee2,defineProperty:_0x845b68,getOwnPropertyDescriptor:_0x75adb2,getOwnPropertyNames:_0x194477,getOwnPropertySymbols:_0x1d0fe4,getPrototypeOf:_0x3d71a2}=Object,_0x103429=globalThis,tz=_0x103429['trustedTypes'],_0x20027f=tz?tz['emptyScript']:'',_0x55f187=_0x103429['reactiveElementPolyfillSupport'],_0x58ced7=(_0x3cc70d,_0x2a9b5e)=>_0x3cc70d,_0x142851={'toAttribute'(_0x2be5b5,_0x1e4b6c){switch(_0x1e4b6c){case Boolean:_0x2be5b5=_0x2be5b5?_0x20027f:null;break;case Object:case Array:_0x2be5b5=null==_0x2be5b5?_0x2be5b5:JSON['stringify'](_0x2be5b5);}return _0x2be5b5;},'fromAttribute'(_0x277d5d,_0x1cb936){let t=_0x277d5d;switch(_0x1cb936){case Boolean:t=null!==_0x277d5d;break;case Number:t=null===_0x277d5d?null:Number(_0x277d5d);break;case Object:case Array:try{t=JSON['parse'](_0x277d5d);}catch{t=null;}}return t;}},_0x14fcce=(_0x412607,_0x22a1bf)=>!_0x11eee2(_0x412607,_0x22a1bf),_0xc84f21={'attribute':!0x0,'type':String,'converter':_0x142851,'reflect':!0x1,'useDefault':!0x1,'hasChanged':_0x14fcce};Symbol['metadata']??=Symbol('metadata'),_0x103429['litPropertyMetadata']??=new WeakMap();var _0xaecae3=class extends HTMLElement{static addInitializer(_0x2eaa08){this['Br'](),(this['l']??=[])['push'](_0x2eaa08);}static get observedAttributes(){return this['finalize'](),this['Li']&&[...this['Li']['keys']()];}static createProperty(_0x3e0ef0,t=_0xc84f21){if(t['state']&&(t['attribute']=!0x1),this['Br'](),this['prototype']['hasOwnProperty'](_0x3e0ef0)&&((t=Object['create'](t))['wrapped']=!0x0),this['elementProperties']['set'](_0x3e0ef0,t),!t['noAccessor']){let _0x48c914=Symbol(),_0x5829f5=this['getPropertyDescriptor'](_0x3e0ef0,_0x48c914,t);void 0x0!==_0x5829f5&&_0x845b68(this['prototype'],_0x3e0ef0,_0x5829f5);}}static getPropertyDescriptor(_0x3bc2ad,t,_0xd9f318){let {get:_0x435b71,set:_0xfb4d7a}=_0x75adb2(this['prototype'],_0x3bc2ad)??{'get'(){return this[t];},'set'(_0x317c88){this[t]=_0x317c88;}};return{'get':_0x435b71,'set'(_0x2961ab){let _0x591ad5=_0x435b71?.['call'](this);_0xfb4d7a?.['call'](this,_0x2961ab),this['requestUpdate'](_0x3bc2ad,_0x591ad5,_0xd9f318);},'configurable':!0x0,'enumerable':!0x0};}static getPropertyOptions(_0x59ce5d){return this['elementProperties']['get'](_0x59ce5d)??_0xc84f21;}static['Br'](){if(this['hasOwnProperty'](_0x58ced7('elementProperties')))return;let _0x15908d=_0x3d71a2(this);_0x15908d['finalize'](),void 0x0!==_0x15908d['l']&&(this['l']=[..._0x15908d['l']]),this['elementProperties']=new Map(_0x15908d['elementProperties']);}static['finalize'](){if(this['hasOwnProperty'](_0x58ced7('finalized')))return;if(this['finalized']=!0x0,this['Br'](),this['hasOwnProperty'](_0x58ced7('properties'))){let t=this['properties'],_0x1232cb=[..._0x194477(t),..._0x1d0fe4(t)];for(let _0x13dca1 of _0x1232cb)this['createProperty'](_0x13dca1,t[_0x13dca1]);}let _0xab64c7=this[Symbol['metadata']];if(null!==_0xab64c7){let t=litPropertyMetadata['get'](_0xab64c7);if(void 0x0!==t){for(let [_0x59c43b,_0x29c11e]of t)this['elementProperties']['set'](_0x59c43b,_0x29c11e);}}this['Li']=new Map();for(let [t,_0xdde308]of this['elementProperties']){let _0x5176cf=this['zr'](t,_0xdde308);void 0x0!==_0x5176cf&&this['Li']['set'](_0x5176cf,t);}this['elementStyles']=this['finalizeStyles'](this['styles']);}static finalizeStyles(_0x3d53c7){let t=[];if(Array['isArray'](_0x3d53c7)){let _0x32b681=new Set(_0x3d53c7['flat'](0x1/0x0)['reverse']());for(let _0x29bfa6 of _0x32b681)t['unshift'](_0x3961fd(_0x29bfa6));}else void 0x0!==_0x3d53c7&&t['push'](_0x3961fd(_0x3d53c7));return t;}static['zr'](_0xab1031,t){let _0x5aea44=t['attribute'];return!0x1===_0x5aea44?void 0x0:'string'==typeof _0x5aea44?_0x5aea44:'string'==typeof _0xab1031?_0xab1031['toLowerCase']():void 0x0;}constructor(){super(),this['Ri']=void 0x0,this['isUpdatePending']=!0x1,this['hasUpdated']=!0x1,this['vt']=null,this['Sc']();}['Sc'](){this['Hr']=new Promise(_0x32c444=>this['enableUpdating']=_0x32c444),this['Fe']=new Map(),this['Ac'](),this['requestUpdate'](),this['constructor']['l']?.['forEach'](_0x300968=>_0x300968(this));}addController(_0x176d6a){(this['Wt']??=new Set())['add'](_0x176d6a),void 0x0!==this['renderRoot']&&this['isConnected']&&_0x176d6a['hostConnected']?.();}removeController(_0x148b22){this['Wt']?.['delete'](_0x148b22);}['Ac'](){let _0x3227d3=new Map(),t=this['constructor']['elementProperties'];for(let _0x56e579 of t['keys']())this['hasOwnProperty'](_0x56e579)&&(_0x3227d3['set'](_0x56e579,this[_0x56e579]),delete this[_0x56e579]);_0x3227d3['size']>0x0&&(this['Ri']=_0x3227d3);}createRenderRoot(){let _0xa45676=this['shadowRoot']??this['attachShadow'](this['constructor']['shadowRootOptions']);return((_0x260dd2,_0x14292d)=>{if(_0x17a669)_0x260dd2['adoptedStyleSheets']=_0x14292d['map'](t=>t instanceof CSSStyleSheet?t:t['styleSheet']);else for(let t of _0x14292d){let _0x3e0c58=document['createElement']('style'),_0x23aede=_0x5ea92f['litNonce'];void 0x0!==_0x23aede&&_0x3e0c58['setAttribute']('nonce',_0x23aede),_0x3e0c58['textContent']=t['cssText'],_0x260dd2['appendChild'](_0x3e0c58);}})(_0xa45676,this['constructor']['elementStyles']),_0xa45676;}connectedCallback(){this['renderRoot']??=this['createRenderRoot'](),this['enableUpdating'](!0x0),this['Wt']?.['forEach'](_0x8e4dda=>_0x8e4dda['hostConnected']?.());}enableUpdating(_0x44decc){}disconnectedCallback(){this['Wt']?.['forEach'](_0x2bb0df=>_0x2bb0df['hostDisconnected']?.());}attributeChangedCallback(_0x574100,t,_0x160b19){this['Kr'](_0x574100,_0x160b19);}['kc'](_0x2ee12f,t){let _0x3ff24b=this['constructor']['elementProperties']['get'](_0x2ee12f),_0xfdf3b9=this['constructor']['zr'](_0x2ee12f,_0x3ff24b);if(void 0x0!==_0xfdf3b9&&!0x0===_0x3ff24b['reflect']){let _0x29a793=(void 0x0!==_0x3ff24b['converter']?.['toAttribute']?_0x3ff24b['converter']:_0x142851)['toAttribute'](t,_0x3ff24b['type']);this['vt']=_0x2ee12f,null==_0x29a793?this['removeAttribute'](_0xfdf3b9):this['setAttribute'](_0xfdf3b9,_0x29a793),this['vt']=null;}}['Kr'](_0x3ae849,t){let _0x143e78=this['constructor'],_0x124a24=_0x143e78['Li']['get'](_0x3ae849);if(void 0x0!==_0x124a24&&this['vt']!==_0x124a24){let _0x37d443=_0x143e78['getPropertyOptions'](_0x124a24),_0x1ef153='function'==typeof _0x37d443['converter']?{'fromAttribute':_0x37d443['converter']}:void 0x0!==_0x37d443['converter']?.['fromAttribute']?_0x37d443['converter']:_0x142851;this['vt']=_0x124a24;let _0x471f12=_0x1ef153['fromAttribute'](t,_0x37d443['type']);this[_0x124a24]=_0x471f12??this['jr']?.['get'](_0x124a24)??_0x471f12,this['vt']=null;}}requestUpdate(_0x502dd7,t,_0x4b2f6a,_0x4e81c1=!0x1,_0x134652){if(void 0x0!==_0x502dd7){let _0x2e9c74=this['constructor'];if(!0x1===_0x4e81c1&&(_0x134652=this[_0x502dd7]),_0x4b2f6a??=_0x2e9c74['getPropertyOptions'](_0x502dd7),!((_0x4b2f6a['hasChanged']??_0x14fcce)(_0x134652,t)||_0x4b2f6a['useDefault']&&_0x4b2f6a['reflect']&&_0x134652===this['jr']?.['get'](_0x502dd7)&&!this['hasAttribute'](_0x2e9c74['zr'](_0x502dd7,_0x4b2f6a))))return;this['C'](_0x502dd7,t,_0x4b2f6a);}!0x1===this['isUpdatePending']&&(this['Hr']=this['Mc']());}['C'](_0x41c524,t,{useDefault:_0x276741,reflect:_0x276879,wrapped:_0xbd2076},_0x2c8609){_0x276741&&!(this['jr']??=new Map())['has'](_0x41c524)&&(this['jr']['set'](_0x41c524,_0x2c8609??t??this[_0x41c524]),!0x0!==_0xbd2076||void 0x0!==_0x2c8609)||(this['Fe']['has'](_0x41c524)||(this['hasUpdated']||_0x276741||(t=void 0x0),this['Fe']['set'](_0x41c524,t)),!0x0===_0x276879&&this['vt']!==_0x41c524&&(this['Gs']??=new Set())['add'](_0x41c524));}async['Mc'](){this['isUpdatePending']=!0x0;try{await this['Hr'];}catch(_0x4a6a4e){Promise['reject'](_0x4a6a4e);}let _0x4778c4=this['scheduleUpdate']();return null!=_0x4778c4&&await _0x4778c4,!this['isUpdatePending'];}scheduleUpdate(){return this['performUpdate']();}performUpdate(){if(!this['isUpdatePending'])return;if(!this['hasUpdated']){if(this['renderRoot']??=this['createRenderRoot'](),this['Ri']){for(let [_0x41c090,_0x1397d6]of this['Ri'])this[_0x41c090]=_0x1397d6;this['Ri']=void 0x0;}let _0x362fd2=this['constructor']['elementProperties'];if(_0x362fd2['size']>0x0)for(let [_0x2fc9e3,_0x20604f]of _0x362fd2){let {wrapped:_0x1886c4}=_0x20604f,_0x2ce804=this[_0x2fc9e3];!0x0!==_0x1886c4||this['Fe']['has'](_0x2fc9e3)||void 0x0===_0x2ce804||this['C'](_0x2fc9e3,void 0x0,_0x20604f,_0x2ce804);}}let _0x5901b6=!0x1,t=this['Fe'];try{_0x5901b6=this['shouldUpdate'](t),_0x5901b6?(this['willUpdate'](t),this['Wt']?.['forEach'](_0x90bc38=>_0x90bc38['hostUpdate']?.()),this['update'](t)):this['Gr']();}catch(_0x51d51a){throw _0x5901b6=!0x1,this['Gr'](),_0x51d51a;}_0x5901b6&&this['Oc'](t);}willUpdate(_0x5cff1c){}['Oc'](_0x4a623b){this['Wt']?.['forEach'](t=>t['hostUpdated']?.()),this['hasUpdated']||(this['hasUpdated']=!0x0,this['firstUpdated'](_0x4a623b)),this['updated'](_0x4a623b);}['Gr'](){this['Fe']=new Map(),this['isUpdatePending']=!0x1;}get updateComplete(){return this['getUpdateComplete']();}getUpdateComplete(){return this['Hr'];}shouldUpdate(_0x456fb4){return!0x0;}update(_0x4c6620){this['Gs']&&=this['Gs']['forEach'](t=>this['kc'](t,this[t])),this['Gr']();}updated(_0x37a619){}firstUpdated(_0x57d071){}};_0xaecae3['elementStyles']=[],_0xaecae3['shadowRootOptions']={'mode':'open'},_0xaecae3[_0x58ced7('elementProperties')]=new Map(),_0xaecae3[_0x58ced7('finalized')]=new Map(),_0x55f187?.({'ReactiveElement':_0xaecae3}),(_0x103429['reactiveElementVersions']??=[])['push']('2.1.2');var _0x134215,_0x1dc2f7=globalThis,_0x1a837d=_0x58c27d=>_0x58c27d,_0x1fae2a=_0x1dc2f7['trustedTypes'],_0x404397=_0x1fae2a?_0x1fae2a['createPolicy']('lit-html',{'createHTML':_0x45f401=>_0x45f401}):void 0x0,_0x43025b='$lit$',_0x1c5a3b='lit$'+Math['random']()['toFixed'](0x9)['slice'](0x2)+'$',_0x19ba9d='?'+_0x1c5a3b,_0x5b1f22='<'+_0x19ba9d+'>',_0x397ced=document,_0x9f868f=()=>_0x397ced['createComment'](''),_0x40f057=_0x44df19=>null===_0x44df19||'object'!=typeof _0x44df19&&'function'!=typeof _0x44df19,_0x1f567d=Array['isArray'],_0x3ee169='[\x20\x0c\x0d]',_0x2e996f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_0x518828=/-->/g,_0x3e16f4=/>/g,_0x320fbd=RegExp('>|'+_0x3ee169+'(?:([^\x5cs\x22\x27>=/]+)('+_0x3ee169+'*='+_0x3ee169+'*(?:[^\x20\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','g'),_0x2997ba=/'/g,_0x45647b=/"/g,_0x1b3c5=/^(?:script|style|textarea|title)$/i,_0x13cf20=(_0x134215=0x1,(_0x55bf2f,...t)=>({'Ne':_0x134215,'strings':_0x55bf2f,'values':t})),_0x8b11bb=Symbol['for']('lit-noChange'),_0x5043ae=Symbol['for']('lit-nothing'),_0x20455f=new WeakMap(),_0x123457=_0x397ced['createTreeWalker'](_0x397ced,0x81);function _0x309c60(_0x44c332,_0x16a72a){if(!_0x1f567d(_0x44c332)||!_0x44c332['hasOwnProperty']('raw'))throw Error('invalid\x20template\x20strings\x20array');return void 0x0!==_0x404397?_0x404397['createHTML'](_0x16a72a):_0x16a72a;}var _0x57466c=class _0x2a66d1{constructor({strings:_0x5abd2f,Ne:t},_0x3749e0){let _0x5c0162;this['parts']=[];let _0x5a1a91=0x0,_0x4fc165=0x0,_0x15dbb2=_0x5abd2f['length']-0x1,_0x5449e7=this['parts'],[_0x7d11a4,_0x10a42e]=((_0xf5fed5,_0x572937)=>{let _0xb486fd,t=_0xf5fed5['length']-0x1,_0x2ae094=[],_0x5e6b72=0x2===_0x572937?'<svg>':0x3===_0x572937?'<math>':'',_0x2b8d83=_0x2e996f;for(let _0x1dcb0b=0x0;_0x1dcb0b<t;_0x1dcb0b++){let _0x43cdf2,_0x4b6bc9,_0x46d7d2=_0xf5fed5[_0x1dcb0b],_0x58578f=-0x1,_0xe85dee=0x0;for(;_0xe85dee<_0x46d7d2['length']&&(_0x2b8d83['lastIndex']=_0xe85dee,_0x4b6bc9=_0x2b8d83['exec'](_0x46d7d2),null!==_0x4b6bc9);)_0xe85dee=_0x2b8d83['lastIndex'],_0x2b8d83===_0x2e996f?'!--'===_0x4b6bc9[0x1]?_0x2b8d83=_0x518828:void 0x0!==_0x4b6bc9[0x1]?_0x2b8d83=_0x3e16f4:void 0x0!==_0x4b6bc9[0x2]?(_0x1b3c5['test'](_0x4b6bc9[0x2])&&(_0xb486fd=RegExp('</'+_0x4b6bc9[0x2],'g')),_0x2b8d83=_0x320fbd):void 0x0!==_0x4b6bc9[0x3]&&(_0x2b8d83=_0x320fbd):_0x2b8d83===_0x320fbd?'>'===_0x4b6bc9[0x0]?(_0x2b8d83=_0xb486fd??_0x2e996f,_0x58578f=-0x1):void 0x0===_0x4b6bc9[0x1]?_0x58578f=-0x2:(_0x58578f=_0x2b8d83['lastIndex']-_0x4b6bc9[0x2]['length'],_0x43cdf2=_0x4b6bc9[0x1],_0x2b8d83=void 0x0===_0x4b6bc9[0x3]?_0x320fbd:'\x22'===_0x4b6bc9[0x3]?_0x45647b:_0x2997ba):_0x2b8d83===_0x45647b||_0x2b8d83===_0x2997ba?_0x2b8d83=_0x320fbd:_0x2b8d83===_0x518828||_0x2b8d83===_0x3e16f4?_0x2b8d83=_0x2e996f:(_0x2b8d83=_0x320fbd,_0xb486fd=void 0x0);let _0x5752cd=_0x2b8d83===_0x320fbd&&_0xf5fed5[_0x1dcb0b+0x1]['startsWith']('/>')?'\x20':'';_0x5e6b72+=_0x2b8d83===_0x2e996f?_0x46d7d2+_0x5b1f22:_0x58578f>=0x0?(_0x2ae094['push'](_0x43cdf2),_0x46d7d2['slice'](0x0,_0x58578f)+_0x43025b+_0x46d7d2['slice'](_0x58578f)+_0x1c5a3b+_0x5752cd):_0x46d7d2+_0x1c5a3b+(-0x2===_0x58578f?_0x1dcb0b:_0x5752cd);}return[_0x309c60(_0xf5fed5,_0x5e6b72+(_0xf5fed5[t]||'<?>')+(0x2===_0x572937?'</svg>':0x3===_0x572937?'</math>':'')),_0x2ae094];})(_0x5abd2f,t);if(this['el']=_0x2a66d1['createElement'](_0x7d11a4,_0x3749e0),_0x123457['currentNode']=this['el']['content'],0x2===t||0x3===t){let _0x1e4526=this['el']['content']['firstChild'];_0x1e4526['replaceWith'](..._0x1e4526['childNodes']);}for(;null!==(_0x5c0162=_0x123457['nextNode']())&&_0x5449e7['length']<_0x15dbb2;){if(0x1===_0x5c0162['nodeType']){if(_0x5c0162['hasAttributes']()){for(let _0x46ffc0 of _0x5c0162['getAttributeNames']())if(_0x46ffc0['endsWith'](_0x43025b)){let _0x313533=_0x10a42e[_0x4fc165++],_0x44c638=_0x5c0162['getAttribute'](_0x46ffc0)['split'](_0x1c5a3b),_0x467b43=/([.?@])?(.*)/['exec'](_0x313533);_0x5449e7['push']({'type':0x1,'index':_0x5a1a91,'name':_0x467b43[0x2],'strings':_0x44c638,'ctor':'.'===_0x467b43[0x1]?_0xeb4d0:'?'===_0x467b43[0x1]?_0x1874d9:'@'===_0x467b43[0x1]?_0x2098ca:_0xe3d693}),_0x5c0162['removeAttribute'](_0x46ffc0);}else _0x46ffc0['startsWith'](_0x1c5a3b)&&(_0x5449e7['push']({'type':0x6,'index':_0x5a1a91}),_0x5c0162['removeAttribute'](_0x46ffc0));}if(_0x1b3c5['test'](_0x5c0162['tagName'])){let _0x796539=_0x5c0162['textContent']['split'](_0x1c5a3b),_0x586ac3=_0x796539['length']-0x1;if(_0x586ac3>0x0){_0x5c0162['textContent']=_0x1fae2a?_0x1fae2a['emptyScript']:'';for(let _0x111691=0x0;_0x111691<_0x586ac3;_0x111691++)_0x5c0162['append'](_0x796539[_0x111691],_0x9f868f()),_0x123457['nextNode'](),_0x5449e7['push']({'type':0x2,'index':++_0x5a1a91});_0x5c0162['append'](_0x796539[_0x586ac3],_0x9f868f());}}}else{if(0x8===_0x5c0162['nodeType']){if(_0x5c0162['data']===_0x19ba9d)_0x5449e7['push']({'type':0x2,'index':_0x5a1a91});else{let _0x88acfb=-0x1;for(;-0x1!==(_0x88acfb=_0x5c0162['data']['indexOf'](_0x1c5a3b,_0x88acfb+0x1));)_0x5449e7['push']({'type':0x7,'index':_0x5a1a91}),_0x88acfb+=_0x1c5a3b['length']-0x1;}}}_0x5a1a91++;}}static createElement(_0x255f71,t){let _0x306169=_0x397ced['createElement']('template');return _0x306169['innerHTML']=_0x255f71,_0x306169;}};function _0x232f83(_0x3b9362,_0x3004a2,t=_0x3b9362,_0x53c836){if(_0x3004a2===_0x8b11bb)return _0x3004a2;let _0x2bf6d1=void 0x0!==_0x53c836?t['Ic']?.[_0x53c836]:t['Pc'],_0xd9cbe4=_0x40f057(_0x3004a2)?void 0x0:_0x3004a2['qr'];return _0x2bf6d1?.['constructor']!==_0xd9cbe4&&(_0x2bf6d1?.['qs']?.(!0x1),void 0x0===_0xd9cbe4?_0x2bf6d1=void 0x0:(_0x2bf6d1=new _0xd9cbe4(_0x3b9362),_0x2bf6d1['Wr'](_0x3b9362,t,_0x53c836)),void 0x0!==_0x53c836?(t['Ic']??=[])[_0x53c836]=_0x2bf6d1:t['Pc']=_0x2bf6d1),void 0x0!==_0x2bf6d1&&(_0x3004a2=_0x232f83(_0x3b9362,_0x2bf6d1['Lc'](_0x3b9362,_0x3004a2['values']),_0x2bf6d1,_0x53c836)),_0x3004a2;}var _0x615df5=class{constructor(_0x5d4475,t){this['Ws']=[],this['le']=void 0x0,this['Zs']=_0x5d4475,this['f']=t;}get parentNode(){return this['f']['parentNode'];}get['W'](){return this['f']['W'];}['u'](_0x19e0de){let {el:{content:t},parts:_0x52e54e}=this['Zs'],_0x4538c5=(_0x19e0de?.['creationScope']??_0x397ced)['importNode'](t,!0x0);_0x123457['currentNode']=_0x4538c5;let _0x43b8b4=_0x123457['nextNode'](),_0x124043=0x0,_0x105006=0x0,_0x27f53f=_0x52e54e[0x0];for(;void 0x0!==_0x27f53f;){if(_0x124043===_0x27f53f['index']){let _0x1adc3c;0x2===_0x27f53f['type']?_0x1adc3c=new _0x117c7b(_0x43b8b4,_0x43b8b4['nextSibling'],this,_0x19e0de):0x1===_0x27f53f['type']?_0x1adc3c=new _0x27f53f['ctor'](_0x43b8b4,_0x27f53f['name'],_0x27f53f['strings'],this,_0x19e0de):0x6===_0x27f53f['type']&&(_0x1adc3c=new _0x1501db(_0x43b8b4,this,_0x19e0de)),this['Ws']['push'](_0x1adc3c),_0x27f53f=_0x52e54e[++_0x105006];}_0x124043!==_0x27f53f?.['index']&&(_0x43b8b4=_0x123457['nextNode'](),_0x124043++);}return _0x123457['currentNode']=_0x397ced,_0x4538c5;}['p'](_0x358bb3){let t=0x0;for(let _0x4ad535 of this['Ws'])void 0x0!==_0x4ad535&&(void 0x0!==_0x4ad535['strings']?(_0x4ad535['ce'](_0x358bb3,_0x4ad535,t),t+=_0x4ad535['strings']['length']-0x2):_0x4ad535['ce'](_0x358bb3[t])),t++;}},_0x117c7b=class _0x1bc59c{get['W'](){return this['f']?.['W']??this['Ys'];}constructor(_0x2e76fd,t,_0x57c96b,_0x26885e){this['type']=0x2,this['r']=_0x5043ae,this['le']=void 0x0,this['ve']=_0x2e76fd,this['yt']=t,this['f']=_0x57c96b,this['options']=_0x26885e,this['Ys']=_0x26885e?.['isConnected']??!0x0;}get parentNode(){let _0xca6eb=this['ve']['parentNode'],t=this['f'];return void 0x0!==t&&0xb===_0xca6eb?.['nodeType']&&(_0xca6eb=t['parentNode']),_0xca6eb;}get startNode(){return this['ve'];}get['endNode'](){return this['yt'];}['ce'](_0xc2e268,t=this){_0xc2e268=_0x232f83(this,_0xc2e268,t),_0x40f057(_0xc2e268)?_0xc2e268===_0x5043ae||null==_0xc2e268||''===_0xc2e268?(this['r']!==_0x5043ae&&this['bt'](),this['r']=_0x5043ae):_0xc2e268!==this['r']&&_0xc2e268!==_0x8b11bb&&this['Xs'](_0xc2e268):void 0x0!==_0xc2e268['Ne']?this['$'](_0xc2e268):void 0x0!==_0xc2e268['nodeType']?this['T'](_0xc2e268):(_0x21be83=>_0x1f567d(_0x21be83)||'function'==typeof _0x21be83?.[Symbol['iterator']])(_0xc2e268)?this['k'](_0xc2e268):this['Xs'](_0xc2e268);}['O'](_0x47a9ef){return this['ve']['parentNode']['insertBefore'](_0x47a9ef,this['yt']);}['T'](_0x155afe){this['r']!==_0x155afe&&(this['bt'](),this['r']=this['O'](_0x155afe));}['Xs'](_0x2bf489){this['r']!==_0x5043ae&&_0x40f057(this['r'])?this['ve']['nextSibling']['data']=_0x2bf489:this['T'](_0x397ced['createTextNode'](_0x2bf489)),this['r']=_0x2bf489;}['$'](_0x1745a8){let {values:t,Ne:_0x23cc9b}=_0x1745a8,_0x32f080='number'==typeof _0x23cc9b?this['Rc'](_0x1745a8):(void 0x0===_0x23cc9b['el']&&(_0x23cc9b['el']=_0x57466c['createElement'](_0x309c60(_0x23cc9b['h'],_0x23cc9b['h'][0x0]),this['options'])),_0x23cc9b);if(this['r']?.['Zs']===_0x32f080)this['r']['p'](t);else{let _0x322f3d=new _0x615df5(_0x32f080,this),_0x10bd59=_0x322f3d['u'](this['options']);_0x322f3d['p'](t),this['T'](_0x10bd59),this['r']=_0x322f3d;}}['Rc'](_0x25937d){let t=_0x20455f['get'](_0x25937d['strings']);return void 0x0===t&&_0x20455f['set'](_0x25937d['strings'],t=new _0x57466c(_0x25937d)),t;}['k'](_0x2d74ab){_0x1f567d(this['r'])||(this['r']=[],this['bt']());let _0x4c3477,t=this['r'],_0x3c90a3=0x0;for(let _0x4ae3e7 of _0x2d74ab)_0x3c90a3===t['length']?t['push'](_0x4c3477=new _0x1bc59c(this['O'](_0x9f868f()),this['O'](_0x9f868f()),this,this['options'])):_0x4c3477=t[_0x3c90a3],_0x4c3477['ce'](_0x4ae3e7),_0x3c90a3++;_0x3c90a3<t['length']&&(this['bt'](_0x4c3477&&_0x4c3477['yt']['nextSibling'],_0x3c90a3),t['length']=_0x3c90a3);}bt(_0x542249=this['ve']['nextSibling'],t){for(this['Ui']?.(!0x1,!0x0,t);_0x542249!==this['yt'];){let _0x44183f=_0x1a837d(_0x542249)['nextSibling'];_0x1a837d(_0x542249)['remove'](),_0x542249=_0x44183f;}}setConnected(_0x1de1d5){void 0x0===this['f']&&(this['Ys']=_0x1de1d5,this['Ui']?.(_0x1de1d5));}},_0xe3d693=class{get tagName(){return this['element']['tagName'];}get['W'](){return this['f']['W'];}constructor(_0x45b1e7,t,_0x26e891,_0x4c7667,_0x9233d7){this['type']=0x1,this['r']=_0x5043ae,this['le']=void 0x0,this['element']=_0x45b1e7,this['name']=t,this['f']=_0x4c7667,this['options']=_0x9233d7,_0x26e891['length']>0x2||''!==_0x26e891[0x0]||''!==_0x26e891[0x1]?(this['r']=Array(_0x26e891['length']-0x1)['fill'](new String()),this['strings']=_0x26e891):this['r']=_0x5043ae;}['ce'](_0x43740c,t=this,_0x5afd6e,_0xc96e13){let _0x403820=this['strings'],_0x70629f=!0x1;if(void 0x0===_0x403820)_0x43740c=_0x232f83(this,_0x43740c,t,0x0),_0x70629f=!_0x40f057(_0x43740c)||_0x43740c!==this['r']&&_0x43740c!==_0x8b11bb,_0x70629f&&(this['r']=_0x43740c);else{let _0x4e40ec,_0x2bef0c,_0x414c76=_0x43740c;for(_0x43740c=_0x403820[0x0],_0x4e40ec=0x0;_0x4e40ec<_0x403820['length']-0x1;_0x4e40ec++)_0x2bef0c=_0x232f83(this,_0x414c76[_0x5afd6e+_0x4e40ec],t,_0x4e40ec),_0x2bef0c===_0x8b11bb&&(_0x2bef0c=this['r'][_0x4e40ec]),_0x70629f||=!_0x40f057(_0x2bef0c)||_0x2bef0c!==this['r'][_0x4e40ec],_0x2bef0c===_0x5043ae?_0x43740c=_0x5043ae:_0x43740c!==_0x5043ae&&(_0x43740c+=(_0x2bef0c??'')+_0x403820[_0x4e40ec+0x1]),this['r'][_0x4e40ec]=_0x2bef0c;}_0x70629f&&!_0xc96e13&&this['j'](_0x43740c);}['j'](_0x566aff){_0x566aff===_0x5043ae?this['element']['removeAttribute'](this['name']):this['element']['setAttribute'](this['name'],_0x566aff??'');}},_0xeb4d0=class extends _0xe3d693{constructor(){super(...arguments),this['type']=0x3;}['j'](_0x41eeec){this['element'][this['name']]=_0x41eeec===_0x5043ae?void 0x0:_0x41eeec;}},_0x1874d9=class extends _0xe3d693{constructor(){super(...arguments),this['type']=0x4;}['j'](_0x200b3e){this['element']['toggleAttribute'](this['name'],!!_0x200b3e&&_0x200b3e!==_0x5043ae);}},_0x2098ca=class extends _0xe3d693{constructor(_0x5d8d4b,t,_0x25b8e7,_0x52db8a,_0x4e6019){super(_0x5d8d4b,t,_0x25b8e7,_0x52db8a,_0x4e6019),this['type']=0x5;}['ce'](_0x27415c,t=this){if((_0x27415c=_0x232f83(this,_0x27415c,t,0x0)??_0x5043ae)===_0x8b11bb)return;let _0x31fff3=this['r'],_0x1d8c3a=_0x27415c===_0x5043ae&&_0x31fff3!==_0x5043ae||_0x27415c['capture']!==_0x31fff3['capture']||_0x27415c['once']!==_0x31fff3['once']||_0x27415c['passive']!==_0x31fff3['passive'],_0x1b8ec8=_0x27415c!==_0x5043ae&&(_0x31fff3===_0x5043ae||_0x1d8c3a);_0x1d8c3a&&this['element']['removeEventListener'](this['name'],this,_0x31fff3),_0x1b8ec8&&this['element']['addEventListener'](this['name'],this,_0x27415c),this['r']=_0x27415c;}handleEvent(_0x43f129){'function'==typeof this['r']?this['r']['call'](this['options']?.['host']??this['element'],_0x43f129):this['r']['handleEvent'](_0x43f129);}},_0x1501db=class{constructor(_0x2e376b,t,_0x32f3b7){this['element']=_0x2e376b,this['type']=0x6,this['le']=void 0x0,this['f']=t,this['options']=_0x32f3b7;}get['W'](){return this['f']['W'];}['ce'](_0x59ea9f){_0x232f83(this,_0x59ea9f);}},_0xcbe47={'I':_0x117c7b},_0x5f3cd5=_0x1dc2f7['litHtmlPolyfillSupport'];_0x5f3cd5?.(_0x57466c,_0x117c7b),(_0x1dc2f7['litHtmlVersions']??=[])['push']('3.3.2');var _0x94a7aa=globalThis,_0x1a4c31=class extends _0xaecae3{constructor(){super(...arguments),this['renderOptions']={'host':this},this['Zr']=void 0x0;}createRenderRoot(){let _0x1a4e07=super['createRenderRoot']();return this['renderOptions']['renderBefore']??=_0x1a4e07['firstChild'],_0x1a4e07;}update(_0x3ae98c){let t=this['render']();this['hasUpdated']||(this['renderOptions']['isConnected']=this['isConnected']),super['update'](_0x3ae98c),this['Zr']=((_0xb005fb,_0x4c624c,t)=>{let _0x51a6c4=t?.['renderBefore']??_0x4c624c,_0x1593b3=_0x51a6c4['Uc'];if(void 0x0===_0x1593b3){let _0x402e46=t?.['renderBefore']??null;_0x51a6c4['Uc']=_0x1593b3=new _0x117c7b(_0x4c624c['insertBefore'](_0x9f868f(),_0x402e46),_0x402e46,void 0x0,t??{});}return _0x1593b3['ce'](_0xb005fb),_0x1593b3;})(t,this['renderRoot'],this['renderOptions']);}connectedCallback(){super['connectedCallback'](),this['Zr']?.['setConnected'](!0x0);}disconnectedCallback(){super['disconnectedCallback'](),this['Zr']?.['setConnected'](!0x1);}['render'](){return _0x8b11bb;}};_0x1a4c31['jp']=!0x0,_0x1a4c31['finalized']=!0x0,_0x94a7aa['litElementHydrateSupport']?.({'LitElement':_0x1a4c31});var _0x59f305=_0x94a7aa['litElementPolyfillSupport'];_0x59f305?.({'LitElement':_0x1a4c31}),(_0x94a7aa['litElementVersions']??=[])['push']('4.2.2');var _0x7ba384=/\\([0-9a-fA-F]{1,6} ?)/g;function _0x485830(_0x3fb412){return class _0x503ff8 extends _0x3fb412{constructor(){super(...arguments),this['Qs']=null,this['Yr']=null;}getCssData(_0x5d08dd,_0x52012d=!0x1){let _0x21e6c0=this['Qs']??Object['create'](null);if(!Object['keys'](_0x21e6c0)['includes'](_0x5d08dd)||!_0x21e6c0[_0x5d08dd]){this['Yr']||(this['Yr']=window['getComputedStyle'](this));let _0x2c2262=this['Yr']['getPropertyValue'](_0x5d08dd)['trim']();try{_0x21e6c0[_0x5d08dd]=function(_0x26c39a){let _0x214666=_0x26c39a;(function(_0x5cc504){return!(_0x5cc504['length']<0x2||'\x22'!==_0x5cc504[0x0]&&'\x27'!==_0x5cc504[0x0]||'\x22'!==_0x5cc504[_0x5cc504['length']-0x1]&&'\x27'!==_0x5cc504[_0x5cc504['length']-0x1]);}(_0x26c39a)&&(_0x214666=function(_0x1afec5){let _0x179a2d=_0x1afec5;return('\x22'===_0x179a2d[0x0]||'\x27'===_0x179a2d[0x0])&&(_0x179a2d=_0x179a2d['slice'](0x1)),('\x22'===_0x179a2d[_0x179a2d['length']-0x1]||'\x27'===_0x179a2d[_0x179a2d['length']-0x1])&&(_0x179a2d=_0x179a2d['slice'](0x0,-0x1)),_0x179a2d;}(_0x214666),_0x214666=_0x214666['replace'](_0x7ba384,(t,_0x3c843)=>String['fromCodePoint'](parseInt(_0x3c843['trim'](),0x10))),_0x214666=_0x214666['replaceAll']('\x5c\x20','\x5cn'),_0x214666=function(_0x18a614){let _0x51e8f7='',t='';for(let _0x4b5798=0x0;_0x4b5798<_0x18a614['length'];_0x4b5798++){let _0x5aa151=_0x18a614[_0x4b5798+0x1];'\x5c'===_0x18a614[_0x4b5798]&&'\x22'===_0x5aa151?(_0x51e8f7+='\x5c\x22',_0x4b5798++):'\x22'===_0x18a614[_0x4b5798]&&'\x5c'!==t?_0x51e8f7+='\x5c\x22':_0x51e8f7+=_0x18a614[_0x4b5798],t=_0x18a614[_0x4b5798]??'';}return _0x51e8f7;}(_0x214666),_0x214666='\x22'+_0x214666+'\x22'));try{return JSON['parse'](_0x214666);}catch{return;}}(_0x2c2262);}catch(_0x25bfd1){_0x52012d||console['warn']('CSS\x20Data\x20error:\x20'+_0x5d08dd,_0x25bfd1),_0x21e6c0[_0x5d08dd]=null;}}return this['Qs']=_0x21e6c0,_0x21e6c0[_0x5d08dd];}};}function _0x2e1e7a(_0x21e5f4){return class _0x187cb1 extends _0x21e5f4{constructor(){super(...arguments),this['willYield']=!0x0,this['Ve']={},this['_e']=null,this['$i']=!0x1;}createRenderRoot(){return this;}connectedCallback(){this['_e']||(this['_e']=Array['from'](this['childNodes'])),super['connectedCallback']();}['$c'](){if(this['$i'])return;this['$i']=!0x0,this['Ve']={};let _0x434bcc=Array['from'](this['childNodes']),_0x32e4bf=_0x434bcc['length']?_0x434bcc:this['_e']??[];for(let _0x12ec27 of _0x32e4bf){let _0x2deb41=this['Js'](_0x12ec27),_0x2f4f15=this['Ve'][_0x2deb41]??[];_0x12ec27 instanceof Element&&(_0x12ec27['removeAttribute']('slot'),_0x12ec27['removeAttribute']('content-for')),_0x2f4f15['push'](_0x12ec27),this['Ve'][_0x2deb41]=_0x2f4f15;}this['_e']=null;}['Js'](_0x3ef86e){return _0x3ef86e instanceof Comment&&_0x3ef86e['nextSibling']instanceof Element?this['Js'](_0x3ef86e['nextSibling']):'contentFor'in _0x3ef86e?_0x3ef86e['contentFor']||'':_0x3ef86e instanceof Element&&_0x3ef86e['hasAttribute']('content-for')&&_0x3ef86e['getAttribute']('content-for')||'';}['Dc'](_0x47639a){return!_0x47639a['textContent']||!_0x47639a['textContent']['trim']();}['Fc'](_0x2ca3f2){let _0x36293f=this['Ve'][_0x2ca3f2];return!_0x36293f||_0x36293f['every'](_0x25bb7c=>_0x25bb7c instanceof Comment||_0x25bb7c instanceof Text&&this['Dc'](_0x25bb7c));}update(_0x1a75cd){!this['hasUpdated']&&this['willYield']&&this['$c'](),super['update'](_0x1a75cd);}['yield'](_0x3d2508,_0x7c3c9a){if(''===_0x3d2508&&!this['Ve'][_0x3d2508]&&!this['$i']&&this['_e']?.['length']){let _0x319479=[];for(let _0x283132 of this['_e'])_0x283132 instanceof Element&&(_0x283132['removeAttribute']('slot'),_0x283132['removeAttribute']('content-for')),_0x319479['push'](_0x283132);this['Ve'][_0x3d2508]=_0x319479,this['$i']=!0x0,this['_e']=null;}return _0x13cf20` ${this['Ve'][_0x3d2508]} ${this['Fc'](_0x3d2508)?_0x7c3c9a:void 0x0} `;}};}function _0x1688a1(_0x5e3ece){return class _0xa63f0b extends _0x5e3ece{static['reg'](_0x67e691){let _0x2e5f2e=this,_0x1bb6f4=window['customElements']['get'](_0x67e691);_0x1bb6f4?_0x1bb6f4!==_0x2e5f2e&&console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x67e691+'\x22\x20already\x20registered.','You\x27re\x20trying\x20to\x20override\x20it\x20with\x20another\x20class\x20\x22'+this['name']+'\x22.','This\x20is\x20most\x20likely\x20a\x20mistake.','New\x20element\x20will\x20not\x20be\x20registered.']['join']('\x20')):window['customElements']['define'](_0x67e691,_0x2e5f2e);}};}var _0x51caad=class extends Event{constructor(_0xd0cd48,t,_0x3dd92f,_0x29e7aa){super('context-request',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0xd0cd48,this['contextTarget']=t,this['callback']=_0x3dd92f,this['subscribe']=_0x29e7aa??!0x1;}},tY=class{constructor(_0x2c6ef5,t,_0x59a791,_0x451310){if(this['subscribe']=!0x1,this['provided']=!0x1,this['value']=void 0x0,this['t']=(_0x483c6a,_0x21a648)=>{this['unsubscribe']&&(this['unsubscribe']!==_0x21a648&&(this['provided']=!0x1,this['unsubscribe']()),this['subscribe']||this['unsubscribe']()),this['value']=_0x483c6a,this['host']['requestUpdate'](),this['provided']&&!this['subscribe']||(this['provided']=!0x0,this['callback']&&this['callback'](_0x483c6a,_0x21a648)),this['unsubscribe']=_0x21a648;},this['host']=_0x2c6ef5,void 0x0!==t['context']){let _0x523cce=t;this['context']=_0x523cce['context'],this['callback']=_0x523cce['callback'],this['subscribe']=_0x523cce['subscribe']??!0x1;}else this['context']=t,this['callback']=_0x59a791,this['subscribe']=_0x451310??!0x1;this['host']['addController'](this);}hostConnected(){this['dispatchRequest']();}hostDisconnected(){this['unsubscribe']&&(this['unsubscribe'](),this['unsubscribe']=void 0x0);}dispatchRequest(){this['host']['dispatchEvent'](new _0x51caad(this['context'],this['host'],this['t'],this['subscribe']));}},_0x17576e=class{get['value'](){return this['o'];}set['value'](_0x4d9c69){this['setValue'](_0x4d9c69);}setValue(_0x3accbb,t=!0x1){let _0x47df89=t||!Object['is'](_0x3accbb,this['o']);this['o']=_0x3accbb,_0x47df89&&this['updateObservers']();}constructor(_0x3fe608){this['subscriptions']=new Map(),this['updateObservers']=()=>{for(let [t,{disposer:_0x345eef}]of this['subscriptions'])t(this['o'],_0x345eef);},void 0x0!==_0x3fe608&&(this['value']=_0x3fe608);}['addCallback'](_0x35d871,t,_0x1f83c8){if(!_0x1f83c8)return void _0x35d871(this['value']);this['subscriptions']['has'](_0x35d871)||this['subscriptions']['set'](_0x35d871,{'disposer':()=>{this['subscriptions']['delete'](_0x35d871);},'consumerHost':t});let {disposer:_0x5efa67}=this['subscriptions']['get'](_0x35d871);_0x35d871(this['value'],_0x5efa67);}['clearCallbacks'](){this['subscriptions']['clear']();}},_0x3596b4=class extends Event{constructor(_0x3fe87c,t){super('context-provider',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x3fe87c,this['contextTarget']=t;}},_0x286f47=class extends _0x17576e{constructor(_0x4ac855,t,_0x966f49){super(void 0x0!==t['context']?t['initialValue']:_0x966f49),this['onContextRequest']=_0x1de3c3=>{if(_0x1de3c3['context']!==this['context'])return;let _0x5c1e46=_0x1de3c3['contextTarget']??_0x1de3c3['composedPath']()[0x0];_0x5c1e46!==this['host']&&(_0x1de3c3['stopPropagation'](),this['addCallback'](_0x1de3c3['callback'],_0x5c1e46,_0x1de3c3['subscribe']));},this['onProviderRequest']=_0x32c070=>{if(_0x32c070['context']!==this['context']||(_0x32c070['contextTarget']??_0x32c070['composedPath']()[0x0])===this['host'])return;let _0x23ff48=new Set();for(let [_0x4be340,{consumerHost:_0x302022}]of this['subscriptions'])_0x23ff48['has'](_0x4be340)||(_0x23ff48['add'](_0x4be340),_0x302022['dispatchEvent'](new _0x51caad(this['context'],_0x302022,_0x4be340,!0x0)));_0x32c070['stopPropagation']();},this['host']=_0x4ac855,void 0x0!==t['context']?this['context']=t['context']:this['context']=t,this['attachListeners'](),this['host']['addController']?.(this);}attachListeners(){this['host']['addEventListener']('context-request',this['onContextRequest']),this['host']['addEventListener']('context-provider',this['onProviderRequest']);}hostConnected(){this['host']['dispatchEvent'](new _0x3596b4(this['context'],this['host']));}},_0x251d5f={'attribute':!0x0,'type':String,'converter':_0x142851,'reflect':!0x1,'hasChanged':_0x14fcce},_0x239981=(_0x51ca62=_0x251d5f,_0x42548f,t)=>{let {kind:_0x25098c,metadata:_0x2504c8}=t,_0x54fb5e=globalThis['litPropertyMetadata']['get'](_0x2504c8);if(void 0x0===_0x54fb5e&&globalThis['litPropertyMetadata']['set'](_0x2504c8,_0x54fb5e=new Map()),'setter'===_0x25098c&&((_0x51ca62=Object['create'](_0x51ca62))['wrapped']=!0x0),_0x54fb5e['set'](t['name'],_0x51ca62),'accessor'===_0x25098c){let {name:_0x59421e}=t;return{'set'(_0x1f9d16){let _0x5bd1a8=_0x42548f['get']['call'](this);_0x42548f['set']['call'](this,_0x1f9d16),this['requestUpdate'](_0x59421e,_0x5bd1a8,_0x51ca62,!0x0,_0x1f9d16);},'init'(_0x561529){return void 0x0!==_0x561529&&this['C'](_0x59421e,void 0x0,_0x51ca62,_0x561529),_0x561529;}};}if('setter'===_0x25098c){let {name:_0xedb77c}=t;return function(_0x564ba9){let _0xe47408=this[_0xedb77c];_0x42548f['call'](this,_0x564ba9),this['requestUpdate'](_0xedb77c,_0xe47408,_0x51ca62,!0x0,_0x564ba9);};}throw Error('Unsupported\x20decorator\x20location:\x20'+_0x25098c);};function _0x54732b(_0x5bb82d){return(_0x1b7418,t)=>'object'==typeof t?_0x239981(_0x5bb82d,_0x1b7418,t):((_0x3a0bfa,_0x571d3d,_0x472074)=>{let _0x1545db=_0x571d3d['hasOwnProperty'](_0x472074);return _0x571d3d['constructor']['createProperty'](_0x472074,_0x3a0bfa),_0x1545db?Object['getOwnPropertyDescriptor'](_0x571d3d,_0x472074):void 0x0;})(_0x5bb82d,_0x1b7418,t);}function _0x55471a(_0x217243){return _0x54732b({..._0x217243,'state':!0x0,'attribute':!0x1});}function _0x1c0742(_0xbbea1a,_0x63b00){let t,_0x2b7c85=(..._0x41b819)=>{t&&clearTimeout(t),t=setTimeout(()=>_0xbbea1a(..._0x41b819),_0x63b00);};return _0x2b7c85['cancel']=()=>{t&&clearTimeout(t);},_0x2b7c85;}var _0x295889='ctx-name-context';function _0x35e984(){return function(_0x19a135){class _0x325c4e extends _0x19a135{constructor(..._0x1f7f8b){super(..._0x1f7f8b),this['ee']=null,this['Zt']=!0x1,this['Xr']=!0x1,this['Qr']=void 0x0,this['wt']=new Map(),this['Yt']=new Set(),this['init$']={},this['ctxOwner']=!0x1,this['Di']=void 0x0,this['Fi']=!0x1,this['ctxName']=this['Ae'],this['ke']=!0x1,this['Di']=this['getAttribute']('ctx-name')||void 0x0,this['ctxName']=this['Ae'],this['Nc']=new tY(this,{'context':_0x295889,'callback':_0x160b6f=>{_0x160b6f?(this['rn']=_0x160b6f,this['tn']()):console['error']('SymbioteMixin:\x20Received\x20invalid\x20ctx-name\x20from\x20context');},'subscribe':!0x0});}static set template(_0xaa5928){console['error']('Caution:\x20static\x20\x27template\x27\x20property\x20is\x20deprecated\x20and\x20has\x20no\x20effect.\x20See\x20https://github.com/uploadcare/file-uploader/releases/tag/v1.25.0\x20for\x20details.');}get['en'](){return this['Di'];}set['en'](_0x4c70e5){let _0x5044b3=_0x4c70e5??void 0x0;this['Di']!==_0x5044b3&&(this['Di']=_0x5044b3,this['tn']());}shouldUpdate(_0x10d5f6){return!!this['ke']&&super['shouldUpdate'](_0x10d5f6);}get['Ae'](){return this['en']||this['rn']||void 0x0;}tn(){if(this['ctxName']=this['Ae'],this['ctxName']&&!this['Zt']){if(this['isConnected'])return void this['Jr']();this['Fi']=!0x0;}}willUpdate(_0x273aef){super['willUpdate'](_0x273aef),this['ctxName']=this['Ae'],this['ctxName']&&(this['Qr']?this['Qr']['setValue'](this['ctxName']):this['Qr']=new _0x286f47(this,{'context':_0x295889,'initialValue':this['ctxName']}));}['sn'](){if(this['ee']&&0x0!==this['wt']['size']){for(let [_0x747b9f,{value:_0x4bc602,rewrite:_0x2882f5}]of this['wt'])this['ee']['add'](_0x747b9f,_0x4bc602,_0x2882f5);this['wt']['clear']();}}['nn'](){return!this['ee']&&this['Ae']&&this['eo'](),this['ee']&&this['sn'](),this['ee'];}['Ni'](){let _0xc0edd2=this['nn']();if(!_0xc0edd2)throw new Error('SymbioteMixin:\x20Shared\x20context\x20is\x20not\x20initialized.');return _0xc0edd2;}['eo'](){let _0x471f86=this['init$'],_0x58086c=this['Ae'];if(_0x58086c){if(!this['ee']){this['ee']=_0x5f1c09['getCtx'](_0x58086c)??_0x5f1c09['registerCtx'](_0x471f86,_0x58086c);for(let [_0x1157d1,_0x455b42]of Object['entries'](this['init$']))this['ee']['add'](_0x1157d1,_0x455b42,this['ctxOwner']);this['sn']();}}else console['error']('SymbioteMixin:\x20ctx-name\x20is\x20required\x20for\x20components\x20with\x20shared\x20properties\x20(*)');}get['$'](){return this['Ae']&&this['eo'](),new Proxy({},{'get':(_0x15e0e4,_0x4ec63b)=>{if('string'==typeof _0x4ec63b)return this['ee']?.['read'](_0x4ec63b);},'set':(_0x177ad8,_0x38b872,_0x47a6ee)=>('string'!=typeof _0x38b872||this['ee']?.['pub'](_0x38b872,_0x47a6ee),!0x0)});}['sub'](_0x57e551,_0x1d46fc,_0x2dbc05=!0x0){let _0x4809e6=this['Ni']()['sub'](_0x57e551,_0x1d46fc,_0x2dbc05);if(!_0x4809e6||'function'!=typeof _0x4809e6)return()=>{};let _0x3777aa=_0x4809e6['bind'](_0x4809e6),_0x42037b=!0x1,_0x22c37b=()=>{_0x42037b||(_0x42037b=!0x0,_0x3777aa(),this['Yt']['delete'](_0x22c37b));};return this['Yt']['add'](_0x22c37b),_0x22c37b;}['pub'](_0x124c58,_0x48786c){this['Ni']()['pub'](_0x124c58,_0x48786c);}set$(_0x2f11bd){for(let [_0x54047f,_0x194f7c]of Object['entries'](_0x2f11bd))this['pub'](_0x54047f,_0x194f7c);}get sharedCtx(){return this['Ni']();}['has'](_0x58c140){return this['ee']?.['has'](_0x58c140)??!0x1;}['add'](_0x5de847,_0x577c1e,_0x18d73d=!0x1){let _0x1074d9=this['nn']();if(_0x1074d9)this['wt']['delete'](_0x5de847),_0x1074d9['add'](_0x5de847,_0x577c1e,_0x18d73d);else{if(!_0x18d73d&&this['wt']['has'](_0x5de847))return;this['wt']['set'](_0x5de847,{'value':_0x577c1e,'rewrite':_0x18d73d});}}['add$'](_0x59880b,_0x4e4560=!0x1){for(let [_0x525501,_0x3c1f40]of Object['entries'](_0x59880b))this['add'](_0x525501,_0x3c1f40,_0x4e4560);}connectedCallback(){super['connectedCallback'](),this['Zt']?this['ke']&&this['Xr']&&(this['Xr']=!0x1,this['initCallback']()):(this['ctxName']||this['Fi']&&this['Ae'])&&(this['Fi']=!0x1,this['Jr']());}['Jr'](){if(this['Zt'])return;this['Zt']=!0x0,this['eo']();let _0x3bddab=this['init$'];if(Object['keys'](_0x3bddab)['length']>0x0){let _0x5bb2ba=this['Ni']();for(let [_0x4019cd,_0x29ff6c]of Object['entries'](_0x3bddab))void 0x0===_0x5bb2ba['read'](_0x4019cd)&&_0x5bb2ba['pub'](_0x4019cd,_0x29ff6c),this['sub'](_0x4019cd,_0x1c0742(async()=>{this['isConnected']&&(await this['updateComplete'],this['requestUpdate']());},0x0),!0x1);}this['initCallback'](),this['ke']=!0x0,this['requestUpdate']();}firstUpdated(_0x38e16c){super['firstUpdated'](_0x38e16c);}disconnectedCallback(){this['Vc'](),super['disconnectedCallback'](),this['Zt']&&(this['Xr']=!0x0);}['Vc'](){if(0x0!==this['Yt']['size']){for(let _0x362a37 of[...this['Yt']])_0x362a37();this['Yt']['clear']();}}initCallback(){}}return _0x44b9f0([_0x54732b({'type':String,'attribute':'ctx-name','noAccessor':!0x0})],_0x325c4e['prototype'],'en',0x1),_0x44b9f0([_0x55471a()],_0x325c4e['prototype'],'rn',0x2),_0x44b9f0([_0x55471a()],_0x325c4e['prototype'],'ctxName',0x2),_0x44b9f0([_0x55471a()],_0x325c4e['prototype'],'ke',0x2),_0x325c4e;};}var _0x1041c5=class extends _0x1688a1(_0x35e984()(_0x485830(_0x2e1e7a(_0x1a4c31)))){},_0x138f26=class _0x102b36{static generateFastUid(){return'uid-'+Date['now']()['toString'](0x24)+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0xb);}static generateRandomUUID(){let _0x5cadae=globalThis['crypto'];return _0x5cadae&&'function'==typeof _0x5cadae['randomUUID']?_0x5cadae['randomUUID']():_0x102b36['generateFastUid']();}},_0x58f8a1=['UploaderBlock','ActivityBlock','Block','SolutionBlock'];function _0x2664c1(_0x38633a){for(let _0x19a0d1 in _0x38633a){if(_0x58f8a1['includes'](_0x19a0d1))continue;let t=[..._0x19a0d1]['reduce']((_0x5dc81d,_0x475d4d)=>(_0x475d4d['toUpperCase']()===_0x475d4d&&(_0x475d4d='-'+_0x475d4d['toLowerCase']()),_0x5dc81d+=_0x475d4d),'');t['startsWith']('-')&&(t=t['replace']('-','')),t['startsWith']('uc-')||(t='uc-'+t),_0x38633a[_0x19a0d1]['reg']&&_0x38633a[_0x19a0d1]['reg'](t);}}var _0x9d5e72='UC';function _0x2de7c2(_0x22aa77,_0x5191c3=!0x1){return new Promise((t,_0x3fae75)=>{if('object'!=typeof document)return void t(null);if('object'==typeof window&&window[_0x9d5e72])return void t(window[_0x9d5e72]);let _0x2f6b77=document['createElement']('script');_0x2f6b77['async']=!0x0,_0x2f6b77['src']=_0x22aa77,_0x2f6b77['onerror']=()=>{_0x3fae75();},_0x2f6b77['onload']=()=>{let _0x1e1f2c=window[_0x9d5e72];_0x5191c3&&_0x2664c1(_0x1e1f2c),t(_0x1e1f2c);},document['head']['appendChild'](_0x2f6b77);});}var _0x3b4199={'locale-id':'en','social-source-lang':'en','upload-file':'Upload\x20file','upload-files':'Upload\x20files','choose-file':'Choose\x20file','choose-files':'Choose\x20files','drop-files-here':'Drop\x20files\x20here','drop-file-here':'Drop\x20file\x20here','select-file-source':'Select\x20file\x20source','selected':'Selected','upload':'Upload','add-more':'Add\x20more','cancel':'Cancel','start-from-cancel':'Cancel','clear':'Clear','camera-shot':'Shot','upload-url':'Import','upload-url-placeholder':'Paste\x20link\x20here','edit-image':'Edit\x20image','edit-detail':'Details','back':'Back','done':'Done','ok':'Ok','remove-from-list':'Remove','no':'No','yes':'Yes','confirm-your-action':'Confirm\x20your\x20action','are-you-sure':'Are\x20you\x20sure?','selected-count':'{{count}}\x20of\x20{{total}}\x20selected','select-all':'Select\x20all','deselect-all':'Deselect\x20all','upload-error':'Upload\x20error','validation-error':'Validation\x20error','no-files':'No\x20files\x20selected','browse':'Browse','not-uploaded-yet':'Not\x20uploaded\x20yet...','file__one':'file','file__other':'files','error__one':'error','error__other':'errors','header-uploading':'Uploading\x20{{count}}\x20{{plural:file(count)}}','header-failed':'{{count}}\x20{{plural:error(count)}}','header-succeed':'{{count}}\x20{{plural:file(count)}}\x20uploaded','header-total':'{{count}}\x20{{plural:file(count)}}\x20selected','src-type-local':'From\x20device','src-type-from-url':'From\x20link','src-type-camera':'Camera','src-type-mobile-video-camera':'Video','src-type-mobile-photo-camera':'Photo','src-type-facebook':'Facebook','src-type-dropbox':'Dropbox','src-type-gdrive':'Google\x20Drive','src-type-ngdrive':'Google\x20Drive','src-type-gphotos':'Google\x20Photos','src-type-flickr':'Flickr','src-type-vk':'VK','src-type-evernote':'Evernote','src-type-box':'Box','src-type-onedrive':'OneDrive','src-type-huddle':'Huddle','src-type-other':'Other','caption-from-url':'Import\x20from\x20link','caption-camera':'Camera','caption-edit-file':'Edit\x20file','file-no-name':'No\x20name...','toggle-fullscreen':'Toggle\x20fullscreen','toggle-guides':'Toggle\x20guides','rotate':'Rotate','flip-vertical':'Flip\x20vertical','flip-horizontal':'Flip\x20horizontal','apply':'Apply','brightness':'Brightness','contrast':'Contrast','saturation':'Saturation','exposure':'Exposure','gamma':'Gamma','vibrance':'Vibrance','warmth':'Warmth','enhance':'Enhance','original':'Original','resize':'Resize\x20image','crop':'Crop','select-color':'Select\x20color','text':'Text','draw':'Draw','cancel-edit':'Cancel\x20edit','tab-view':'Preview','tab-details':'Details','file-name':'Name','file-size':'Size','cdn-url':'CDN\x20URL','file-size-unknown':'Unknown','camera-permissions-denied':'Camera\x20access\x20denied','camera-permissions-prompt':'Please\x20allow\x20access\x20to\x20the\x20camera','camera-permissions-request':'Request\x20access','files-count-limit-error-title':'Files\x20count\x20limit\x20overflow','files-count-limit-error-too-few':'You’ve\x20chosen\x20{{total}}\x20{{plural:file(total)}}.\x20At\x20least\x20{{min}}\x20{{plural:file(min)}}\x20required.','files-count-limit-error-too-many':'You’ve\x20chosen\x20too\x20many\x20files.\x20{{max}}\x20{{plural:file(max)}}\x20is\x20maximum.','files-max-size-limit-error':'File\x20is\x20too\x20big.\x20Max\x20file\x20size\x20is\x20{{maxFileSize}}.','has-validation-errors':'File\x20validation\x20error\x20occurred.\x20Please,\x20check\x20your\x20files\x20before\x20upload.','images-only-accepted':'Only\x20image\x20files\x20are\x20accepted.','file-type-not-allowed':'Uploading\x20of\x20these\x20file\x20types\x20is\x20not\x20allowed.','some-files-were-not-uploaded':'Some\x20files\x20were\x20not\x20uploaded.','file-item-edit-button':'Edit','file-item-remove-button':'Remove','a11y-editor-tab-filters':'Filters','a11y-editor-tab-tuning':'Tuning','a11y-editor-tab-crop':'Crop','a11y-activity-header-button-close':'Close','flip':'Flip','mirror':'Mirror','a11y-cloud-editor-apply-filter':'Apply\x20{{name}}\x20filter','a11y-cloud-editor-apply-crop':'Apply\x20{{name}}\x20operation','a11y-cloud-editor-apply-tuning':'Apply\x20{{name}}\x20tuning','a11y-cloud-editor-apply-aspect-ratio':'Apply\x20operation\x20{{name}}\x20{{value}}','finished':'Finished','failed':'Failed','uploading':'Uploading','idle':'Idle','a11y-file-item-status':'File\x20{{fileName}}\x20in\x20status\x20{{status}}','waiting-for':'Waiting\x20for\x20{{source}}','queued-uploading':'Queued\x20for\x20upload','queued-validation':'Queued\x20for\x20validation','validation':'Validating','crop-to-shape':'Crop\x20to\x20{{value}}','custom':'Freeform','freeform-crop':'Freeform\x20crop'},_0x119430=new Map(),_0x513bde=new Map(),_0x2acb55=(_0x595a76,_0x2af84d)=>{_0x119430['has'](_0x595a76)&&console['log']('Locale\x20'+_0x595a76+'\x20is\x20already\x20defined.\x20Overwriting...');let t={..._0x3b4199,..._0x2af84d};return _0x119430['set'](_0x595a76,t),t;},_0x483b4e=(_0x4eea2c,_0x4b0cc9)=>{'function'==typeof _0x4b0cc9?((_0x1afb93,_0x4b4faa)=>{_0x513bde['set'](_0x1afb93,_0x4b4faa);})(_0x4eea2c,_0x4b0cc9):_0x2acb55(_0x4eea2c,_0x4b0cc9);};_0x483b4e('en',_0x3b4199);var _0x571827=_0x5db8aa=>'*cfg/'+_0x5db8aa,_0x5abd0c=_0x17dfdc=>_0x17dfdc?_0x17dfdc['split'](',')['map'](_0x1bfd7d=>_0x1bfd7d['trim']())['filter'](Boolean):[],_0x6d8d43=_0x1f57bc=>_0x1f57bc['join'](','),_0x3ed93c=_0x4798e2=>{if('string'!=typeof _0x4798e2||!_0x4798e2)return'';let _0x36668b=_0x4798e2['trim']();return _0x36668b['startsWith']('-/')?_0x36668b=_0x36668b['slice'](0x2):_0x36668b['startsWith']('/')&&(_0x36668b=_0x36668b['slice'](0x1)),_0x36668b['endsWith']('/')&&(_0x36668b=_0x36668b['slice'](0x0,_0x36668b['length']-0x1)),_0x36668b;},_0x669083=(..._0x289adc)=>_0x289adc['filter'](_0x15f8aa=>'string'==typeof _0x15f8aa&&!!_0x15f8aa)['map'](_0x53eb17=>_0x3ed93c(_0x53eb17))['join']('/-/'),_0x410f69=(..._0x4e7caf)=>{let _0x3dd3e5=_0x669083(..._0x4e7caf);return _0x3dd3e5?'-/'+_0x3dd3e5+'/':'';};function _0x1aa677(_0x194fe4){let _0x42a31c=new URL(_0x194fe4),t=_0x42a31c['pathname']+_0x42a31c['search']+_0x42a31c['hash'],_0x5bdd70=t['lastIndexOf']('http'),_0x2d384d=t['lastIndexOf']('/'),_0x4d6593='';return _0x5bdd70>=0x0?_0x4d6593=t['slice'](_0x5bdd70):_0x2d384d>=0x0&&(_0x4d6593=t['slice'](_0x2d384d+0x1)),_0x4d6593;}function _0x4b88a2(_0x5e63c7){let {pathname:t}=new URL(_0x5e63c7),_0x2ec0ae=t['indexOf']('/'),_0x5aa892=t['indexOf']('/',_0x2ec0ae+0x1);return t['substring'](_0x2ec0ae+0x1,_0x5aa892);}function _0xd2039f(_0x2274d8){let _0x1efa67=_0x3e327f(_0x2274d8),t=new URL(_0x1efa67),_0x105f01=t['pathname']['indexOf']('/-/');return-0x1===_0x105f01?'':t['pathname']['substring'](_0x105f01)['slice'](0x1);}function _0x338a04(_0x3fe7a5){return _0xd2039f(_0x3fe7a5)['split']('/-/')['filter'](Boolean)['map'](t=>_0x3ed93c(t));}function _0x3e327f(_0x143acb){let _0x252098=new URL(_0x143acb),t=_0x1aa677(_0x143acb),_0x179267=_0x24723c(t)?_0xf8610d(t)['pathname']:t;return _0x252098['pathname']=_0x252098['pathname']['replace'](_0x179267,''),_0x252098['search']='',_0x252098['hash']='',_0x252098['toString']();}function _0x24723c(_0x18aea5){return _0x18aea5['startsWith']('http');}function _0xf8610d(_0x2df87b){let _0x58d93a=new URL(_0x2df87b);return{'pathname':''+_0x58d93a['origin']+(_0x58d93a['pathname']??''),'search':_0x58d93a['search']??'','hash':_0x58d93a['hash']??''};}var _0x55f9e7=(_0x4f96f6,_0xcc043b,t)=>{let _0x3d79e9=new URL(_0x3e327f(_0x4f96f6)),_0x399657=t??_0x1aa677(_0x4f96f6),_0xe5b240=_0xcc043b??'';if(_0x3d79e9['pathname']['startsWith']('//')&&(_0x3d79e9['pathname']=_0x3d79e9['pathname']['replace']('//','/')),_0x399657&&_0x24723c(_0x399657)){let _0x31a87e=_0xf8610d(_0x399657);_0x3d79e9['pathname']=''+_0x3d79e9['pathname']+_0xe5b240+(_0x31a87e['pathname']||''),_0x3d79e9['search']=_0x31a87e['search'],_0x3d79e9['hash']=_0x31a87e['hash'];}else _0x3d79e9['pathname']=''+_0x3d79e9['pathname']+_0xe5b240+(_0x399657||'');return _0x3d79e9['toString']();},_0x367280=(_0x5e4c07,_0x5c233c)=>{let t=new URL(_0x5e4c07);return t['pathname']=_0x5c233c+'/',t['toString']();},_0x422e35=(_0x7c707b,_0x2b8ffd=',')=>_0x7c707b['trim']()['split'](_0x2b8ffd)['map'](t=>t['trim']())['filter'](t=>t['length']>0x0),_0x2945ae=Object['freeze']({'brightness':0x0,'exposure':0x0,'gamma':0x64,'contrast':0x0,'saturation':0x0,'vibrance':0x0,'warmth':0x0,'enhance':0x0,'filter':0x0,'rotate':0x0,'mirror':!0x1,'flip':!0x1,'crop':void 0x0}),_0x182b5b=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function _0x25edb3(_0x445339){return _0x669083(..._0x182b5b['filter'](_0x420f30=>typeof _0x445339[_0x420f30]<'u'&&null!==_0x445339[_0x420f30])['map'](_0x1e3ddb=>function(_0x5526eb,_0x87558a){if('number'==typeof _0x87558a){let t=_0x87558a;return _0x2945ae[_0x5526eb]!==t?_0x5526eb+'/'+t:'';}if('boolean'==typeof _0x87558a){let t=_0x87558a;return _0x2945ae[_0x5526eb]!==t?''+_0x5526eb:'';}if('filter'===_0x5526eb&&_0x87558a){let {name:t,amount:_0x779f1}=_0x87558a;return _0x2945ae['filter']===_0x779f1?'':_0x5526eb+'/'+t+'/'+_0x779f1;}if('crop'===_0x5526eb&&_0x87558a){let {dimensions:t,coords:_0x206abe}=_0x87558a;return _0x5526eb+'/'+t['join']('x')+'/'+_0x206abe['join'](',');}return'';}(_0x1e3ddb,_0x445339[_0x1e3ddb]))['filter'](_0x580092=>!!_0x580092));}var _0x5c72df=_0x669083('format/auto','progressive/yes'),_0x3de504=([_0x34a132])=>typeof _0x34a132<'u'?Number(_0x34a132):void 0x0,_0x39e449=()=>!0x0,_0x1ee7ef=Object['freeze']({'enhance':_0x3de504,'brightness':_0x3de504,'exposure':_0x3de504,'gamma':_0x3de504,'contrast':_0x3de504,'saturation':_0x3de504,'vibrance':_0x3de504,'warmth':_0x3de504,'filter':([_0xca84e5,_0x5c93a5])=>({'name':_0xca84e5,'amount':typeof _0x5c93a5<'u'?Number(_0x5c93a5):0x64}),'mirror':_0x39e449,'flip':_0x39e449,'rotate':_0x3de504,'crop':_0x365929=>{let [_0x3c9f60,t]=_0x365929,{dimensions:_0x4e7eb3,coords:_0x2b8bad}=(([_0x384a11,_0x4a2fef])=>{if(!/\d+x\d+/['test'](_0x384a11)||!/\d+,\d+/['test'](_0x4a2fef))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':_0x422e35(_0x384a11,'x')['map'](Number),'coords':_0x422e35(_0x4a2fef)['map'](Number)};})([_0x3c9f60,t]);return{'dimensions':_0x4e7eb3,'coords':_0x2b8bad};}});function _0x422f11(_0xf3fee4){let _0x23c958={};for(let t of _0xf3fee4){let [_0x13e33c,..._0x501101]=t['split']('/');if(!_0x13e33c||!_0x182b5b['includes'](_0x13e33c))continue;let _0xb4689e=_0x13e33c,_0x15ae8d=_0x1ee7ef[_0xb4689e];try{_0x23c958[_0xb4689e]=_0x15ae8d(_0x501101);}catch(_0x361033){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+t+'\x22.\x20It\x20will\x20be\x20ignored.',_0x361033 instanceof Error?'Error\x20message:\x20\x22'+_0x361033['message']+'\x22':_0x361033,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x20'));}}return _0x23c958;}var _0x14a07a=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x53d00e=Object['freeze']([_0x14a07a['CROP'],_0x14a07a['TUNING'],_0x14a07a['FILTERS']]),_0x44dfcc=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x4a418e=Object['freeze'](['adaris','briaril','calarel','carris','cynarel','cyren','elmet','elonni','enzana','erydark','fenralan','ferand','galen','gavin','gethriel','iorill','iothari','iselva','jadis','lavra','misiara','namala','nerion','nethari','pamaya','sarnar','sedis','sewen','sorahel','sorlen','tarian','thellassan','varriel','varven','vevera','virkas','yedis','yllara','zatvel','zevcen']),_0xf0883=Object['freeze'](['rotate','mirror','flip']),_0x139364=_0x2945ae,_0xe60882=Object['freeze']({'brightness':{'zero':_0x139364['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x139364['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x139364['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x139364['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x139364['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x139364['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x139364['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x139364['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x139364['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x5e57b0='https://ucarecdn.com',tK={'pubkey':'','multiple':!0x0,'multipleMin':0x0,'multipleMax':Number['MAX_SAFE_INTEGER'],'confirmUpload':!0x1,'imgOnly':!0x1,'accept':'','externalSourcesPreferredTypes':'','externalSourcesEmbedCss':'','store':'auto','cameraMirror':!0x1,'cameraCapture':'','sourceList':'local,\x20url,\x20camera,\x20dropbox,\x20gdrive','topLevelOrigin':'','maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x5e57b0,'cdnCnamePrefixed':'https://ucarecd.net','baseUrl':'https://upload.uploadcare.com','socialBaseUrl':'https://social.uploadcare.com','secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0x3,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0xa,'multipartMaxConcurrentRequests':0x4,'multipartMaxAttempts':0x3,'checkForUrlDuplicates':!0x1,'saveUrlForRecurrentUploads':!0x1,'groupOutput':!0x1,'userAgentIntegration':'','debug':!0x1,'metadata':null,'localeName':'en','localeDefinitionOverride':null,'secureUploadsExpireThreshold':0x927c0,'secureUploadsSignatureResolver':null,'secureDeliveryProxyUrlResolver':null,'iconHrefResolver':null,'fileValidators':[],'collectionValidators':[],'validationTimeout':0x3a98,'validationConcurrency':0x64,'cameraModes':'photo,\x20video','defaultCameraMode':null,'enableAudioRecording':!0x0,'enableVideoRecording':null,'maxVideoRecordingDuration':null,'mediaRecorderOptions':null,'filesViewMode':'list','gridShowFileNames':!0x1,'useCloudImageEditor':!0x0,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorTabs':_0x6d8d43(_0x53d00e),'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0,'pasteScope':'local','plugins':[]},_0x178dc5=Object['freeze'](tK),_0x6eff3a=(_0x2a3ec3,_0x276228)=>(...t)=>{let _0x1d2e44=_0x2a3ec3();if(!_0x1d2e44['read'](_0x571827('debug')))return;let _0x1c4f28=t;'function'==typeof t?.[0x0]&&(_0x1c4f28=(0x0,t[0x0])());let _0x17baf3=[_0x1d2e44['id'],_0x276228]['filter'](Boolean);console['log']('['+_0x17baf3['join']('][')+']',..._0x1c4f28);},_0x10559c=class{constructor(_0x7dec1f){this['to']=new Set(),this['Be']=null,this['w']=_0x6eff3a(()=>this['i']['ctx'],this['constructor']['name']),this['i']=_0x7dec1f,this['e']=_0x7dec1f['ctx'];}['addSub'](_0x45c83a){this['to']['add'](_0x45c83a);}get['ze'](){if(!this['Be']){let _0x4e73ba={};this['Be']=new Proxy(_0x4e73ba,{'set':()=>{throw new Error('SharedInstance\x20cfg\x20proxy\x20is\x20read-only');},'get':(t,_0x420542)=>{if('string'!=typeof _0x420542)return;let _0x5c1313=_0x571827(_0x420542);return this['i']['ctx']['has'](_0x5c1313)?this['i']['ctx']['read'](_0x5c1313):_0x178dc5[_0x420542];}});}return this['Be'];}destroy(){for(let _0x13b7c5 of this['to'])try{_0x13b7c5();}catch{}this['to']['clear']();}},_0x18308c={'modalManager':'*modalManager','pluginManager':'*pluginManager','telemetryManager':'*telemetryManager','localeManager':'*localeManager','a11y':'*a11y','clipboard':'*clipboard','blocksRegistry':'*blocksRegistry','eventEmitter':'*eventEmitter','uploadCollection':'*uploadCollection','secureUploadsManager':'*secureUploadsManager','api':'*publicApi','validationManager':'*validationManager'},_0x978a22=(_0x3a0e95,_0x4a1520,t=!0x0)=>{let _0x43633b=_0x3a0e95['has'](_0x4a1520),_0x206df2=_0x43633b?_0x3a0e95['read'](_0x4a1520):null;if(_0x43633b&&_0x206df2||!t)return _0x206df2;throw new Error('Unexpected\x20error:\x20shared\x20instance\x20for\x20key\x20\x22'+String(_0x4a1520)+'\x22\x20is\x20not\x20available');},_0x11ee5d=_0x294512=>({get 'ctx'(){return _0x294512();},get 'modalManager'(){return _0x978a22(_0x294512(),'*modalManager',!0x1);},get 'pluginManager'(){return _0x978a22(_0x294512(),'*pluginManager');},get 'telemetryManager'(){return _0x978a22(_0x294512(),'*telemetryManager');},get 'localeManager'(){return _0x978a22(_0x294512(),'*localeManager');},get 'a11y'(){return _0x978a22(_0x294512(),'*a11y');},get 'blocksRegistry'(){return _0x978a22(_0x294512(),'*blocksRegistry');},get 'eventEmitter'(){return _0x978a22(_0x294512(),'*eventEmitter');},get 'uploadCollection'(){return _0x978a22(_0x294512(),'*uploadCollection');},get 'secureUploadsManager'(){return _0x978a22(_0x294512(),'*secureUploadsManager',!0x1);},get 'api'(){return _0x978a22(_0x294512(),'*publicApi');},get 'validationManager'(){return _0x978a22(_0x294512(),'*validationManager');},'when'(_0x3909bd,t){let _0x1c1c64,_0x3224f7=_0x18308c[_0x3909bd],_0x3d9105=_0x294512(),_0xd1d568=_0x3d9105['has'](_0x3224f7)?_0x3d9105['read'](_0x3224f7):void 0x0;return _0xd1d568?(t(_0xd1d568),()=>{}):(_0x1c1c64=_0x3d9105['sub'](_0x3224f7,_0x2e84b0=>{_0x2e84b0&&(t(_0x2e84b0),_0x1c1c64?.());}),_0x1c1c64);},'wait'(_0x34ff34){return new Promise(t=>{let _0x36452c;_0x36452c=this['when'](_0x34ff34,_0x42f318=>{t(_0x42f318),_0x36452c?.();});});}}),_0x5befab=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x3419ce=class extends _0x10559c{constructor(){super(...arguments),this['He']=new Map(),this['ue']=new Set(),this['c']=new Map();}registerModal(t,_0x23e6ab){this['He']['set'](t,_0x23e6ab),this['q'](_0x5befab['ADD'],{'id':t,'modal':_0x23e6ab});}deleteModal(t){let _0x59366b=this['He']['get'](t);return!!_0x59366b&&(this['He']['delete'](t),this['ue']['delete'](t),this['q'](_0x5befab['DELETE'],{'id':t,'modal':_0x59366b}),!0x0);}['open'](t){let _0x3aabe=this['He']['get'](t);return _0x3aabe?(this['ue']['add'](t),this['q'](_0x5befab['OPEN'],{'modal':_0x3aabe,'id':t}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}['close'](t){let _0x2a56c9=this['He']['get'](t);return _0x2a56c9&&this['ue']['has'](t)?(this['ue']['delete'](t),this['q'](_0x5befab['CLOSE'],{'id':t,'modal':_0x2a56c9}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1);}toggle(t){return this['He']['has'](t)?this['ue']['has'](t)?this['close'](t):this['open'](t):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}get hasActiveModals(){return this['ue']['size']>0x0;}['back'](){if(0x0===this['ue']['size'])return this['w']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;let t=Array['from'](this['ue'])['pop']();return!!t&&this['close'](t);}['closeAll'](){let t=this['ue']['size'];return this['ue']['clear'](),this['q'](_0x5befab['CLOSE_ALL'],{}),t;}['subscribe'](t,_0x57e993){return this['c']['has'](t)||this['c']['set'](t,new Set()),this['c']['get'](t)?.['add'](_0x57e993),()=>this['unsubscribe'](t,_0x57e993);}['unsubscribe'](t,_0x148f22){this['c']['has'](t)&&this['c']['get'](t)?.['delete'](_0x148f22);}['q'](t,_0x46ac42){if(this['c']['has'](t)){for(let _0xc84246 of this['c']['get'](t)??new Set())try{_0xc84246(_0x46ac42);}catch(_0x20183f){this['i']['telemetryManager']['sendEventError'](_0x20183f,'modal\x20subscriber'),this['w']('Error\x20in\x20modal\x20subscriber:',_0x20183f);}}}destroy(){super['destroy'](),this['closeAll'](),this['He']['clear'](),this['c']['clear'](),this['q'](_0x5befab['DESTROY'],{});}},_0x517003=_0xf3ed40=>_0xf3ed40['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x161ba0=>_0x161ba0['toLowerCase']())['join']('-');function _0x2a2417(_0x2c6b9b){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x2c6b9b);}var _0x1fe396=/\W|_/g;function _0x12722c(_0x38dd11){return _0x38dd11['split'](_0x1fe396)['map']((_0x24d794,t)=>_0x24d794['charAt'](0x0)[t>0x0?'toUpperCase':'toLowerCase']()+_0x24d794['slice'](0x1))['join']('');}function _0x2b7d9a(_0x1fd565,{ignoreKeys:_0x38b0eb}={'ignoreKeys':[]}){return Array['isArray'](_0x1fd565)?_0x1fd565['map'](t=>_0x10b7c1(t,{'ignoreKeys':_0x38b0eb})):_0x1fd565;}function _0x10b7c1(_0x3051a3,{ignoreKeys:_0x52f01d}={'ignoreKeys':[]}){if(Array['isArray'](_0x3051a3))return _0x2b7d9a(_0x3051a3,{'ignoreKeys':_0x52f01d});if(!_0x2a2417(_0x3051a3))return _0x3051a3;let t={};for(let _0x257095 of Object['keys'](_0x3051a3)){let _0x2d9cfc=_0x3051a3[_0x257095];_0x52f01d['includes'](_0x257095)?t[_0x257095]=_0x2d9cfc:(_0x2a2417(_0x2d9cfc)?_0x2d9cfc=_0x10b7c1(_0x2d9cfc,{'ignoreKeys':_0x52f01d}):Array['isArray'](_0x2d9cfc)&&(_0x2d9cfc=_0x2b7d9a(_0x2d9cfc,{'ignoreKeys':_0x52f01d})),t[_0x12722c(_0x257095)]=_0x2d9cfc);}return t;}function _0x34a19e({libraryName:_0x153437,libraryVersion:_0xac3644,userAgent:t,publicKey:_0x39f1f5='',integration:_0x5133a0=''}){let _0x2721e3='JavaScript';return'string'==typeof t?t:'function'==typeof t?t({'publicKey':_0x39f1f5,'libraryName':_0x153437,'libraryVersion':_0xac3644,'languageName':_0x2721e3,'integration':_0x5133a0}):[_0x153437,_0xac3644,_0x39f1f5]['filter'](Boolean)['join']('/')+'\x20('+[_0x2721e3,_0x5133a0]['filter'](Boolean)['join'](';\x20')+')';}var _0x59e631={'factor':0x2,'time':0x64};function _0x518665(_0x494f7d,_0x562e03=_0x59e631){let t=0x0;return function _0x34cea5(_0x41bbc9){let _0x54f773=Math['round'](_0x562e03['time']*_0x562e03['factor']**t);return _0x41bbc9({'attempt':t,'retry':_0xa11a1c=>(_0x422dce=>new Promise(_0xa3156a=>setTimeout(_0xa3156a,_0x422dce)))(_0xa11a1c??_0x54f773)['then'](()=>(t+=0x1,_0x34cea5(_0x41bbc9)))});}(_0x494f7d);}var _0x4c8c83=class extends Error{},_0x38a0df=class _0x29be3c extends _0x4c8c83{originalProgressEvent;constructor(_0x36d03b){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x29be3c['prototype']),this['originalProgressEvent']=_0x36d03b;}},_0x3a20d4=(_0x5151e2,_0x2def86)=>{_0x5151e2&&(_0x5151e2['aborted']?Promise['resolve']()['then'](_0x2def86):_0x5151e2['addEventListener']('abort',()=>_0x2def86(),{'once':!0x0}));},_0x356fa7=class _0xd7ba60 extends _0x4c8c83{['isCancel']=!0x0;constructor(_0xb2169d='Request\x20canceled'){super(_0xb2169d),this['name']='CancelError',Object['setPrototypeOf'](this,_0xd7ba60['prototype']);}},_0xe97285=({check:_0x36ed4c,interval:_0x455424=0x1f4,timeout:t,signal:_0x38f145})=>new Promise((_0x3da8f5,_0x224a74)=>{let _0x59c635,_0x230150;_0x3a20d4(_0x38f145,()=>{_0x59c635&&clearTimeout(_0x59c635),_0x224a74(new _0x356fa7('Poll\x20cancelled'));}),t&&(_0x230150=setTimeout(()=>{_0x59c635&&clearTimeout(_0x59c635),_0x224a74(new _0x356fa7('Timed\x20out'));},t));let _0x413b9a=()=>{try{Promise['resolve'](_0x36ed4c(_0x38f145))['then'](_0x2dcc32=>{_0x2dcc32?(_0x230150&&clearTimeout(_0x230150),_0x3da8f5(_0x2dcc32)):_0x59c635=setTimeout(_0x413b9a,_0x455424);})['catch'](_0x3a3b99=>{_0x230150&&clearTimeout(_0x230150),_0x224a74(_0x3a3b99);});}catch(_0x24b8f4){_0x230150&&clearTimeout(_0x230150),_0x224a74(_0x24b8f4);}};_0x59c635=setTimeout(_0x413b9a,0x0);}),_0x164547='https://ucarecdn.com',_0x421c04='https://upload.uploadcare.com',_0x65c581=0x1,_0x4b1164=0x3,_0x4da618=0x1900000,_0x1b2231=0x500000,_0x4e0c9c=0x4,_0x13c28b='79ae88bd931ea68464d9',_0x5cdbfc='application/octet-stream',_0x4507cd=({method:_0x12265c,url:_0x4a4829,data:t,headers:_0x265a20={},signal:_0x5e9ca5,onProgress:_0x4ee17a})=>new Promise((_0x5c4d4a,_0x1524f0)=>{let _0x2facce=new XMLHttpRequest(),_0x3e9a49=_0x12265c?.['toUpperCase']()||'GET',_0x5ee9c8=!0x1;_0x2facce['open'](_0x3e9a49,_0x4a4829,!0x0),_0x265a20&&Object['entries'](_0x265a20)['forEach'](_0x42f8a4=>{let [_0x5b21e3,_0x31941e]=_0x42f8a4;typeof _0x31941e<'u'&&!Array['isArray'](_0x31941e)&&_0x2facce['setRequestHeader'](_0x5b21e3,_0x31941e);}),_0x2facce['responseType']='text',_0x3a20d4(_0x5e9ca5,()=>{_0x5ee9c8=!0x0,_0x2facce['abort'](),_0x1524f0(new _0x356fa7());}),_0x2facce['onload']=()=>{if(0xc8!=_0x2facce['status'])_0x1524f0(new Error('Error\x20'+_0x2facce['status']+':\x20'+_0x2facce['statusText']));else{let _0x16107e={'method':_0x3e9a49,'url':_0x4a4829,'data':t,'headers':_0x265a20||void 0x0,'signal':_0x5e9ca5,'onProgress':_0x4ee17a},_0x36575c=_0x2facce['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x53c21c={};_0x36575c['forEach'](function(_0x5e10ee){let _0x22b0a7=_0x5e10ee['split'](':\x20'),_0x36658f=_0x22b0a7['shift'](),_0x53ba22=_0x22b0a7['join'](':\x20');_0x36658f&&typeof _0x36658f<'u'&&(_0x53c21c[_0x36658f]=_0x53ba22);});let _0xa4ba0c=_0x2facce['response'],_0x8b78b0=_0x2facce['status'];_0x5c4d4a({'request':_0x16107e,'data':_0xa4ba0c,'headers':_0x53c21c,'status':_0x8b78b0});}},_0x2facce['onerror']=_0x597164=>{_0x5ee9c8||_0x1524f0(new _0x38a0df(_0x597164));},_0x4ee17a&&'function'==typeof _0x4ee17a&&(_0x2facce['upload']['onprogress']=_0x203853=>{_0x203853['lengthComputable']?_0x4ee17a({'isComputable':!0x0,'value':_0x203853['loaded']/_0x203853['total']}):_0x4ee17a({'isComputable':!0x1});}),t?_0x2facce['send'](t):_0x2facce['send']();}),_0x44b107=function(_0x1b2779,..._0x1b754b){return _0x1b2779;},_0xc76425=_0x180138=>typeof Blob<'u'&&_0x180138 instanceof Blob,_0x15efb8=_0x5ed0cb=>typeof File<'u'&&_0x5ed0cb instanceof File,_0x231cd9=_0x16be43=>!!_0x16be43&&'object'==typeof _0x16be43&&!Array['isArray'](_0x16be43)&&'uri'in _0x16be43&&'string'==typeof _0x16be43['uri'],_0x4ce623=_0xb79a7a=>_0xc76425(_0xb79a7a)||_0x15efb8(_0xb79a7a)||_0x231cd9(_0xb79a7a);function _0xfb7007(_0x46ec5a,_0xc48a24,t){if(Array['isArray'](t)){for(let _0x391e14 of t)_0xfb7007(_0x46ec5a,_0xc48a24+'[]',_0x391e14);}else{if((_0x2fe223=>!!_0x2fe223&&'object'==typeof _0x2fe223&&'data'in _0x2fe223&&_0x4ce623(_0x2fe223['data']))(t)){let {name:_0x3c3f12,contentType:_0x164b2}=t,_0x5e0af1=_0x44b107(t['data'],_0x3c3f12,_0x164b2??_0x5cdbfc),_0x3efb6b=(({name:_0xff1bf7})=>_0xff1bf7?[_0xff1bf7]:[])({'name':_0x3c3f12});_0x46ec5a['push']([_0xc48a24,_0x5e0af1,..._0x3efb6b]);}else{if((_0x1795bd=>!!_0x1795bd&&'object'==typeof _0x1795bd&&!Array['isArray'](_0x1795bd))(t)){for(let [_0x1f7ad2,_0xc716d]of Object['entries'](t))typeof _0xc716d<'u'&&_0x46ec5a['push']([_0xc48a24+'['+_0x1f7ad2+']',String(_0xc716d)]);}else(_0x4fc577=>'string'==typeof _0x4fc577||'number'==typeof _0x4fc577||typeof _0x4fc577>'u')(t)&&t&&_0x46ec5a['push']([_0xc48a24,t['toString']()]);}}}function _0x58e9f4(_0xfcf465){let _0x2a1193=new FormData(),t=function(_0x4ad8e2){let _0x164fdd=[];for(let [t,_0x1bf3c0]of Object['entries'](_0x4ad8e2))_0xfb7007(_0x164fdd,t,_0x1bf3c0);return _0x164fdd;}(_0xfcf465);for(let _0x405245 of t){let [_0xbf1d0b,_0x51b8bd,..._0x3f8a08]=_0x405245;_0x2a1193['append'](_0xbf1d0b,_0x51b8bd,..._0x3f8a08);}return _0x2a1193;}var _0x559f27=class _0x55d7d extends _0x4c8c83{['code'];request;['response'];['headers'];constructor(_0x1234c3,t,_0x364a45,_0x417894,_0xd2aab5){super(),this['name']='UploadError',this['message']=_0x1234c3,this['code']=t,this['request']=_0x364a45,this['response']=_0x417894,this['headers']=_0xd2aab5,Object['setPrototypeOf'](this,_0x55d7d['prototype']);}},_0x37bb70=(_0x1e8e4b,_0x35dbde,t)=>{let _0x371a2e=new URL(_0x1e8e4b);return _0x371a2e['pathname']=(_0x371a2e['pathname']+_0x35dbde)['replace']('//','/'),t&&(_0x371a2e['search']=(_0x37d4d8=>{let _0x10aa3e=new URLSearchParams();for(let [t,_0x5cfac6]of Object['entries'](_0x37d4d8))_0x5cfac6&&'object'==typeof _0x5cfac6&&!Array['isArray'](_0x5cfac6)?Object['entries'](_0x5cfac6)['filter'](_0x3a7156=>_0x3a7156[0x1]??!0x1)['forEach'](_0xacfa57=>_0x10aa3e['set'](t+'['+_0xacfa57[0x0]+']',String(_0xacfa57[0x1]))):Array['isArray'](_0x5cfac6)?_0x5cfac6['forEach'](_0x40ee48=>{_0x10aa3e['append'](t+'[]',_0x40ee48);}):'string'==typeof _0x5cfac6&&_0x5cfac6?_0x10aa3e['set'](t,_0x5cfac6):'number'==typeof _0x5cfac6&&_0x10aa3e['set'](t,_0x5cfac6['toString']());return _0x10aa3e['toString']();})(t)),_0x371a2e['toString']();};function _0x3f3c7a(_0x3d3215){return _0x34a19e({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.4',..._0x3d3215});}function _0x57a65a(_0x26e4eb,_0x29d02d){let {retryThrottledRequestMaxTimes:t,retryNetworkErrorMaxTimes:_0x15185f}=_0x29d02d;return _0x518665(({attempt:_0x2ac6f2,retry:_0x1ae689})=>_0x26e4eb()['catch'](_0x4b38a4=>{if('response'in _0x4b38a4&&'RequestThrottledError'===_0x4b38a4?.['code']&&_0x2ac6f2<t)return _0x1ae689(function(_0x1b8bf6){let {headers:_0x4a768b}=_0x1b8bf6||{};if(!_0x4a768b||'string'!=typeof _0x4a768b['retry-after'])return 0x3a98;let t=parseInt(_0x4a768b['retry-after'],0xa);return Number['isFinite'](t)?0x3e8*t:0x3a98;}(_0x4b38a4));if(_0x4b38a4 instanceof _0x38a0df&&_0x2ac6f2<_0x15185f)return _0x1ae689(0x3e8*(_0x2ac6f2+0x1));throw _0x4b38a4;}));}var _0x26ed4d,_0x533419,_0x364d33=_0x10bc23=>{let _0xc76b46='';return(_0xc76425(_0x10bc23)||_0x15efb8(_0x10bc23)||_0x231cd9(_0x10bc23))&&(_0xc76b46=_0x10bc23['type']),_0xc76b46||_0x5cdbfc;},_0x11e5bc=_0x257ce8=>{let _0x4f1c68='';return _0x15efb8(_0x257ce8)&&_0x257ce8['name']?_0x4f1c68=_0x257ce8['name']:_0xc76425(_0x257ce8)?_0x4f1c68='':_0x231cd9(_0x257ce8)&&_0x257ce8['name']&&(_0x4f1c68=_0x257ce8['name']),_0x4f1c68||'original';};function _0x4ce364(_0x13fb6f){return typeof _0x13fb6f>'u'||'auto'===_0x13fb6f?'auto':_0x13fb6f?'1':'0';}!function(_0x5b6248){_0x5b6248['Token']='token',_0x5b6248['FileInfo']='file_info';}(_0x26ed4d||(_0x26ed4d={})),function(_0x1c8fb7){_0x1c8fb7['Unknown']='unknown',_0x1c8fb7['Waiting']='waiting',_0x1c8fb7['Progress']='progress',_0x1c8fb7['Error']='error',_0x1c8fb7['Success']='success';}(_0x533419||(_0x533419={}));function _0x517891(_0x46fff9,{publicKey:_0x2ebeb5,baseURL:t=_0x421c04,signal:_0x1ce6ee,integration:_0x3ec634,userAgent:_0x1d464d,retryThrottledRequestMaxTimes:_0x57cc68=_0x65c581,retryNetworkErrorMaxTimes:_0x32195a=_0x4b1164}={}){return _0x57a65a(()=>_0x4507cd({'method':'GET','headers':_0x2ebeb5?{'X-UC-User-Agent':_0x3f3c7a({'publicKey':_0x2ebeb5,'integration':_0x3ec634,'userAgent':_0x1d464d})}:void 0x0,'url':_0x37bb70(t,'/from_url/status/',{'jsonerrors':0x1,'token':_0x46fff9}),'signal':_0x1ce6ee})['then'](({data:_0x369962,headers:_0x4bccb0,request:_0x5401cf})=>{let _0x195538=_0x10b7c1(JSON['parse'](_0x369962));if('error'in _0x195538&&!(_0x47cfc5=>'status'in _0x47cfc5&&_0x47cfc5['status']===_0x533419['Error'])(_0x195538))throw new _0x559f27(_0x195538['error']['content'],_0x195538['error']['errorCode'],_0x5401cf,_0x195538,_0x4bccb0);return _0x195538;}),{'retryNetworkErrorMaxTimes':_0x32195a,'retryThrottledRequestMaxTimes':_0x57cc68});}function _0x1bd574(_0x5d79a2,{publicKey:_0x11c81e,baseURL:t=_0x421c04,signal:_0xefc90e,source:_0x21bded,integration:_0x45b5a3,userAgent:_0x15f914,retryThrottledRequestMaxTimes:_0x372e19=_0x65c581,retryNetworkErrorMaxTimes:_0x43a7be=_0x4b1164}){return _0x57a65a(()=>_0x4507cd({'method':'GET','headers':{'X-UC-User-Agent':_0x3f3c7a({'publicKey':_0x11c81e,'integration':_0x45b5a3,'userAgent':_0x15f914})},'url':_0x37bb70(t,'/info/',{'jsonerrors':0x1,'pub_key':_0x11c81e,'file_id':_0x5d79a2,'source':_0x21bded}),'signal':_0xefc90e})['then'](({data:_0x2f8258,headers:_0x463dc8,request:_0x1f0c68})=>{let _0x5b995b=_0x10b7c1(JSON['parse'](_0x2f8258));if('error'in _0x5b995b)throw new _0x559f27(_0x5b995b['error']['content'],_0x5b995b['error']['errorCode'],_0x1f0c68,_0x5b995b,_0x463dc8);return _0x5b995b;}),{'retryThrottledRequestMaxTimes':_0x372e19,'retryNetworkErrorMaxTimes':_0x43a7be});}function _0x4912bf(_0x38c32d,{publicKey:_0x1b9edc,baseURL:t,source:_0x31f665,integration:_0x5e59a8,userAgent:_0x4a2b87,retryThrottledRequestMaxTimes:_0x1a537a,retryNetworkErrorMaxTimes:_0x3997de,signal:_0xd9e8ff,onProgress:_0xdf9b75}){return _0xe97285({'check':_0x5d870f=>_0x1bd574(_0x38c32d,{'publicKey':_0x1b9edc,'baseURL':t,'signal':_0x5d870f,'source':_0x31f665,'integration':_0x5e59a8,'userAgent':_0x4a2b87,'retryThrottledRequestMaxTimes':_0x1a537a,'retryNetworkErrorMaxTimes':_0x3997de})['then'](_0x164ac4=>_0x164ac4['isReady']?_0x164ac4:(_0xdf9b75&&_0xdf9b75({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0xd9e8ff});}var _0x4fcd7e=class{['uuid'];['name'];['size'];isStored;['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];contentInfo;metadata;s3Bucket;defaultEffects=null;constructor(_0x18c5bb,{baseCDN:t=_0x164547,fileName:_0x4d01d2}={}){let {uuid:_0x44b422,s3Bucket:_0x35f132}=_0x18c5bb,_0x391782=_0x37bb70(t,_0x44b422+'/'),_0x57e3a6=_0x35f132?_0x37bb70('https://'+_0x35f132+'.s3.amazonaws.com/',_0x44b422+'/'+_0x18c5bb['filename']):null;this['uuid']=_0x44b422,this['name']=_0x4d01d2||_0x18c5bb['filename'],this['size']=_0x18c5bb['size'],this['isStored']=_0x18c5bb['isStored'],this['isImage']=_0x18c5bb['isImage'],this['mimeType']=_0x18c5bb['mimeType'],this['cdnUrl']=_0x391782,this['originalFilename']=_0x18c5bb['originalFilename'],this['imageInfo']=_0x18c5bb['imageInfo'],this['videoInfo']=_0x18c5bb['videoInfo'],this['contentInfo']=_0x18c5bb['contentInfo'],this['metadata']=_0x18c5bb['metadata']||null,this['s3Bucket']=_0x35f132||null,this['s3Url']=_0x57e3a6,function(_0x5a8967){return'defaultEffects'in _0x5a8967;}(_0x18c5bb)&&(this['defaultEffects']=_0x18c5bb['defaultEffects']);}},_0x5c3867=(_0x582d7d,{publicKey:_0xc0770e,fileName:t,baseURL:_0x7aeeb1,secureSignature:_0x440d77,secureExpire:_0x3c9921,store:_0x3aad54,contentType:_0x1cde8d,signal:_0x85107,onProgress:_0x1a7f53,source:_0x46460b,integration:_0x47d91c,userAgent:_0x4b87b6,retryThrottledRequestMaxTimes:_0x5097aa,retryNetworkErrorMaxTimes:_0x298cba,baseCDN:_0x96f7e6,metadata:_0x45107c})=>function(_0x23e372,{publicKey:_0x5ae25c,fileName:t,contentType:_0x7b4837,baseURL:_0x156ad3=_0x421c04,secureSignature:_0x11d92f,secureExpire:_0x2a6a34,store:_0x3c619f,signal:_0x211298,onProgress:_0x5331cd,source:_0x53fa4f='local',integration:_0x3cb07e,userAgent:_0x268795,retryThrottledRequestMaxTimes:_0x452929=_0x65c581,retryNetworkErrorMaxTimes:_0x49641f=_0x4b1164,metadata:_0x260466}){return _0x57a65a(()=>_0x4507cd({'method':'POST','url':_0x37bb70(_0x156ad3,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3f3c7a({'publicKey':_0x5ae25c,'integration':_0x3cb07e,'userAgent':_0x268795})},'data':_0x58e9f4({'file':{'data':_0x23e372,'name':t||_0x11e5bc(_0x23e372),'contentType':_0x7b4837||_0x364d33(_0x23e372)},'UPLOADCARE_PUB_KEY':_0x5ae25c,'UPLOADCARE_STORE':_0x4ce364(_0x3c619f),'signature':_0x11d92f,'expire':_0x2a6a34,'source':_0x53fa4f,'metadata':_0x260466}),'signal':_0x211298,'onProgress':_0x5331cd})['then'](({data:_0x2653d3,headers:_0x662a6b,request:_0x1db40f})=>{let _0x4a145d=_0x10b7c1(JSON['parse'](_0x2653d3));if('error'in _0x4a145d)throw new _0x559f27(_0x4a145d['error']['content'],_0x4a145d['error']['errorCode'],_0x1db40f,_0x4a145d,_0x662a6b);return _0x4a145d;}),{'retryNetworkErrorMaxTimes':_0x49641f,'retryThrottledRequestMaxTimes':_0x452929});}(_0x582d7d,{'publicKey':_0xc0770e,'fileName':t,'contentType':_0x1cde8d,'baseURL':_0x7aeeb1,'secureSignature':_0x440d77,'secureExpire':_0x3c9921,'store':_0x3aad54,'signal':_0x85107,'onProgress':_0x1a7f53,'source':_0x46460b,'integration':_0x47d91c,'userAgent':_0x4b87b6,'retryThrottledRequestMaxTimes':_0x5097aa,'retryNetworkErrorMaxTimes':_0x298cba,'metadata':_0x45107c})['then'](({file:_0xb36aae})=>_0x4912bf(_0xb36aae,{'publicKey':_0xc0770e,'baseURL':_0x7aeeb1,'source':_0x46460b,'integration':_0x47d91c,'userAgent':_0x4b87b6,'retryThrottledRequestMaxTimes':_0x5097aa,'retryNetworkErrorMaxTimes':_0x298cba,'onProgress':_0x1a7f53,'signal':_0x85107}))['then'](_0x15cc22=>new _0x4fcd7e(_0x15cc22,{'baseCDN':_0x96f7e6})),tJ=(_0x220a54,{signal:_0x1ebb97}={})=>{let t=null,_0x22c7d1=null,_0x16dea7=_0x220a54['map'](()=>new AbortController());return _0x3a20d4(_0x1ebb97,()=>{_0x16dea7['forEach'](_0x4c99ad=>_0x4c99ad['abort']());}),Promise['all'](_0x220a54['map']((_0x4186ab,_0x28e95a)=>{let _0x114346=(_0x346645=>()=>{_0x22c7d1=_0x346645,_0x16dea7['forEach']((_0x4ba828,_0x1bdbdf)=>_0x1bdbdf!==_0x346645&&_0x4ba828['abort']());})(_0x28e95a);return Promise['resolve']()['then'](()=>_0x4186ab({'stopRace':_0x114346,'signal':_0x16dea7[_0x28e95a]['signal']}))['then'](_0x27d03d=>(_0x114346(),_0x27d03d))['catch'](_0x4fbd3d=>(t=_0x4fbd3d,null));}))['then'](_0x59b097=>{if(null===_0x22c7d1)throw t;return _0x59b097[_0x22c7d1];});},_0x5c3d5c=window['WebSocket'],_0x1bb477=class{events=Object['create']({});emit(_0x3a0a2d,t){this['events'][_0x3a0a2d]?.['forEach'](_0x316e50=>_0x316e50(t));}['on'](_0x5aa01a,t){this['events'][_0x5aa01a]=this['events'][_0x5aa01a]||[],this['events'][_0x5aa01a]['push'](t);}['off'](_0x556cfc,t){this['events'][_0x556cfc]=t?this['events'][_0x556cfc]['filter'](_0x289eb0=>_0x289eb0!==t):[];}},_0x50625f=class{['key'];disconnectTime;['ws']=void 0x0;['queue']=[];isConnected=!0x1;['subscribers']=0x0;emmitter=new _0x1bb477();disconnectTimeoutId=null;constructor(_0x4decf9,t=0x7530){this['key']=_0x4decf9,this['disconnectTime']=t;}connect(){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){let _0x2ad641='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x5c3d5c(_0x2ad641),this['ws']['addEventListener']('error',t=>{this['emmitter']['emit']('error',new Error(t['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](t=>this['send'](t['event'],t['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',t=>{let _0x15b4ca=JSON['parse'](t['data']['toString']());switch(_0x15b4ca['event']){case'pusher:connection_established':this['emmitter']['emit']('connected',void 0x0);break;case'pusher:ping':this['send']('pusher:pong',{});break;case'progress':case'success':case'fail':this['emmitter']['emit'](_0x15b4ca['channel'],((_0x1a254c,_0x51d31a)=>'success'===_0x1a254c?{'status':_0x533419['Success'],..._0x51d31a}:'progress'===_0x1a254c?{'status':_0x533419['Progress'],..._0x51d31a}:{'status':_0x533419['Error'],..._0x51d31a})(_0x15b4ca['event'],JSON['parse'](_0x15b4ca['data'])));}});}}disconnect(){let _0x151763=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x151763();},this['disconnectTime']):_0x151763();}['send'](_0x36761d,t){let _0x3e0e85=JSON['stringify']({'event':_0x36761d,'data':t});this['ws']?.['send'](_0x3e0e85);}['subscribe'](_0x1a5749,t){this['subscribers']+=0x1,this['connect']();let _0x2690c4='task-status-'+_0x1a5749,_0x438218={'event':'pusher:subscribe','data':{'channel':_0x2690c4}};this['emmitter']['on'](_0x2690c4,t),this['isConnected']?this['send'](_0x438218['event'],_0x438218['data']):this['queue']['push'](_0x438218);}['unsubscribe'](_0x5eac73){this['subscribers']-=0x1;let t='task-status-'+_0x5eac73,_0x5e7ba2={'event':'pusher:unsubscribe','data':{'channel':t}};this['emmitter']['off'](t),this['isConnected']?this['send'](_0x5e7ba2['event'],_0x5e7ba2['data']):this['queue']=this['queue']['filter'](_0x274b71=>_0x274b71['data']['channel']!==t),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x40af08){return this['emmitter']['on']('error',_0x40af08),()=>this['emmitter']['off']('error',_0x40af08);}},_0xf04e8c=null,_0x555550=_0xf46c0f=>(_0xf04e8c||(_0xf04e8c=new _0x50625f(_0xf46c0f,typeof window>'u'?0x0:0x7530)),_0xf04e8c),_0x8b0242=(_0x3e0ce5,{publicKey:_0xf24582,fileName:t,baseURL:_0x386cea,baseCDN:_0x14c198,checkForUrlDuplicates:_0x55743d,saveUrlForRecurrentUploads:_0x3181d5,secureSignature:_0x59020b,secureExpire:_0x5684c3,store:_0xc88d54,signal:_0x255447,onProgress:_0x24db84,source:_0x1049b0,integration:_0x4f6991,userAgent:_0x1ffcd0,retryThrottledRequestMaxTimes:_0x51c61a,pusherKey:_0x172845=_0x13c28b,metadata:_0x27f779})=>Promise['resolve']((_0x27ea1c=>{_0x555550(_0x27ea1c)['connect']();})(_0x172845))['then'](()=>function(_0x45903c,{publicKey:_0x3bf19e,baseURL:t=_0x421c04,store:_0x5e8dc3,fileName:_0x434965,checkForUrlDuplicates:_0x33a1f9,saveUrlForRecurrentUploads:_0x50aa88,secureSignature:_0x5bcc09,secureExpire:_0x2e795b,source:_0x6bd58b='url',signal:_0x234995,integration:_0x4027d0,userAgent:_0x27feb9,retryThrottledRequestMaxTimes:_0x187f38=_0x65c581,retryNetworkErrorMaxTimes:_0x215fa7=_0x4b1164,metadata:_0x42a0f9}){return _0x57a65a(()=>_0x4507cd({'method':'POST','headers':{'X-UC-User-Agent':_0x3f3c7a({'publicKey':_0x3bf19e,'integration':_0x4027d0,'userAgent':_0x27feb9})},'url':_0x37bb70(t,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x3bf19e,'source_url':_0x45903c,'store':_0x4ce364(_0x5e8dc3),'filename':_0x434965,'check_URL_duplicates':_0x33a1f9?0x1:void 0x0,'save_URL_duplicates':_0x50aa88?0x1:void 0x0,'signature':_0x5bcc09,'expire':_0x2e795b,'source':_0x6bd58b,'metadata':_0x42a0f9}),'signal':_0x234995})['then'](({data:_0x510f9f,headers:_0x131897,request:_0x20c9ef})=>{let _0x46dbd9=_0x10b7c1(JSON['parse'](_0x510f9f));if('error'in _0x46dbd9)throw new _0x559f27(_0x46dbd9['error']['content'],_0x46dbd9['error']['errorCode'],_0x20c9ef,_0x46dbd9,_0x131897);return _0x46dbd9;}),{'retryNetworkErrorMaxTimes':_0x215fa7,'retryThrottledRequestMaxTimes':_0x187f38});}(_0x3e0ce5,{'publicKey':_0xf24582,'fileName':t,'baseURL':_0x386cea,'checkForUrlDuplicates':_0x55743d,'saveUrlForRecurrentUploads':_0x3181d5,'secureSignature':_0x59020b,'secureExpire':_0x5684c3,'store':_0xc88d54,'signal':_0x255447,'source':_0x1049b0,'integration':_0x4f6991,'userAgent':_0x1ffcd0,'retryThrottledRequestMaxTimes':_0x51c61a,'metadata':_0x27f779}))['catch'](_0x5253d0=>(_0x555550(_0x172845)?.['disconnect'](),Promise['reject'](_0x5253d0)))['then'](_0x1c67ac=>_0x1c67ac['type']===_0x26ed4d['FileInfo']?_0x1c67ac:tJ([({signal:_0x4bea83})=>function({token:_0x4994d2,publicKey:_0x2da2a7,baseURL:t,integration:_0xa0ce6e,userAgent:_0x5bd338,retryThrottledRequestMaxTimes:_0x47322c,retryNetworkErrorMaxTimes:_0x21b900,onProgress:_0x2de3fc,signal:_0xcfe0c2}){return _0xe97285({'check':_0x157c2b=>_0x517891(_0x4994d2,{'publicKey':_0x2da2a7,'baseURL':t,'integration':_0xa0ce6e,'userAgent':_0x5bd338,'retryThrottledRequestMaxTimes':_0x47322c,'retryNetworkErrorMaxTimes':_0x21b900,'signal':_0x157c2b})['then'](_0x592436=>{switch(_0x592436['status']){case _0x533419['Error']:return new _0x559f27(_0x592436['error'],_0x592436['errorCode']);case _0x533419['Waiting']:return!0x1;case _0x533419['Unknown']:return new _0x559f27('Token\x20\x22'+_0x4994d2+'\x22\x20was\x20not\x20found.');case _0x533419['Progress']:return _0x2de3fc&&('unknown'===_0x592436['total']?_0x2de3fc({'isComputable':!0x1}):_0x2de3fc({'isComputable':!0x0,'value':_0x592436['done']/_0x592436['total']})),!0x1;case _0x533419['Success']:return _0x2de3fc&&_0x2de3fc({'isComputable':!0x0,'value':_0x592436['done']/_0x592436['total']}),_0x592436;default:throw new Error('Unknown\x20status');}}),'signal':_0xcfe0c2});}({'token':_0x1c67ac['token'],'publicKey':_0xf24582,'baseURL':_0x386cea,'integration':_0x4f6991,'userAgent':_0x1ffcd0,'retryThrottledRequestMaxTimes':_0x51c61a,'onProgress':_0x24db84,'signal':_0x4bea83}),({signal:_0x1c50b2})=>(({token:_0x211225,pusherKey:_0x43a31b,signal:t,onProgress:_0x40906b})=>new Promise((_0x24c262,_0xabd37c)=>{let _0x1c5edd=_0x555550(_0x43a31b),_0x4f0c50=_0x1c5edd['onError'](_0xabd37c),_0x176a2a=()=>{_0x4f0c50(),_0x1c5edd['unsubscribe'](_0x211225);};_0x3a20d4(t,()=>{_0x176a2a(),_0xabd37c(new _0x356fa7('pusher\x20cancelled'));}),_0x1c5edd['subscribe'](_0x211225,_0x5b5d5d=>{switch(_0x5b5d5d['status']){case _0x533419['Progress']:_0x40906b&&('unknown'===_0x5b5d5d['total']?_0x40906b({'isComputable':!0x1}):_0x40906b({'isComputable':!0x0,'value':_0x5b5d5d['done']/_0x5b5d5d['total']}));break;case _0x533419['Success']:_0x176a2a(),_0x40906b&&_0x40906b({'isComputable':!0x0,'value':_0x5b5d5d['done']/_0x5b5d5d['total']}),_0x24c262(_0x5b5d5d);break;case _0x533419['Error']:_0x176a2a(),_0xabd37c(new _0x559f27(_0x5b5d5d['msg'],_0x5b5d5d['error_code']));}});}))({'token':_0x1c67ac['token'],'pusherKey':_0x172845,'signal':_0x1c50b2,'onProgress':_0x24db84})],{'signal':_0x255447}))['then'](_0x579c0d=>{if(_0x579c0d instanceof _0x559f27)throw _0x579c0d;return _0x579c0d;})['then'](_0x1a93c7=>_0x4912bf(_0x1a93c7['uuid'],{'publicKey':_0xf24582,'baseURL':_0x386cea,'integration':_0x4f6991,'userAgent':_0x1ffcd0,'retryThrottledRequestMaxTimes':_0x51c61a,'onProgress':_0x24db84,'signal':_0x255447}))['then'](_0x42311d=>new _0x4fcd7e(_0x42311d,{'baseCDN':_0x14c198})),_0x31d8c6=new WeakMap(),_0x43137e=async _0x26b075=>{if(_0x15efb8(_0x26b075)||_0xc76425(_0x26b075))return _0x26b075['size'];if(_0x231cd9(_0x26b075))return(await(async _0x2ffd7e=>{if(_0x31d8c6['has'](_0x2ffd7e))return _0x31d8c6['get'](_0x2ffd7e);let _0x12f317=await fetch(_0x2ffd7e['uri'])['then'](t=>t['blob']());return _0x31d8c6['set'](_0x2ffd7e,_0x12f317),_0x12f317;})(_0x26b075))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x487265=_0x91f492=>{let t=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x4ce623(_0x91f492)&&t['test'](_0x91f492);},_0x299bf8=_0x2d3dd7=>{let t=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x4ce623(_0x2d3dd7)&&t['test'](_0x2d3dd7);},_0x5acc61=(_0x317980,_0x2d714b)=>new Promise((t,_0x23934e)=>{let _0x1c0326=[],_0x5c4cde=!0x1,_0x27da5f=_0x2d714b['length'],_0x4ded3b=[..._0x2d714b],_0x2e5218=()=>{let _0x4c5692=_0x2d714b['length']-_0x4ded3b['length'],_0x307ff7=_0x4ded3b['shift']();_0x307ff7&&_0x307ff7()['then'](_0x3c8260=>{_0x5c4cde||(_0x1c0326[_0x4c5692]=_0x3c8260,_0x27da5f-=0x1,_0x27da5f?_0x2e5218():t(_0x1c0326));})['catch'](_0x368950=>{_0x5c4cde=!0x0,_0x23934e(_0x368950);});};for(let _0x5f048d=0x0;_0x5f048d<_0x317980;_0x5f048d++)_0x2e5218();}),_0x243ebf=async(_0x57bcdd,_0x40ba96,t)=>_0x20cc4d=>((_0xfe5936,_0x3029ec,t,_0xf1a95c)=>{let _0x5e6e35=_0xf1a95c*_0x3029ec,_0x121991=Math['min'](_0x5e6e35+_0xf1a95c,t);return _0xfe5936['slice'](_0x5e6e35,_0x121991);})(_0x57bcdd,_0x20cc4d,_0x40ba96,t),_0x94d6ed=(_0xd252e4,_0x537335,{publicKey:t,contentType:_0x17b25e,onProgress:_0x1c049f,signal:_0x1d72ad,integration:_0xc5684e,retryThrottledRequestMaxTimes:_0xfa90e,retryNetworkErrorMaxTimes:_0x285bd4})=>function(_0x13462e,_0x4dfa4d,{contentType:t,signal:_0x29572e,onProgress:_0x4fcc8b,retryThrottledRequestMaxTimes:_0x296c32=_0x65c581,retryNetworkErrorMaxTimes:_0x5ea81a=_0x4b1164}){return _0x57a65a(()=>_0x4507cd({'method':'PUT','url':_0x4dfa4d,'data':_0x13462e,'onProgress':_0x4fcc8b,'signal':_0x29572e,'headers':{'Content-Type':t||_0x5cdbfc}})['then'](_0x46a3df=>(_0x4fcc8b&&_0x4fcc8b({'isComputable':!0x0,'value':0x1}),_0x46a3df))['then'](({status:_0x10d2f9})=>({'code':_0x10d2f9})),{'retryThrottledRequestMaxTimes':_0x296c32,'retryNetworkErrorMaxTimes':_0x5ea81a});}(_0xd252e4,_0x537335,{'contentType':_0x17b25e,'onProgress':_0x1c049f,'signal':_0x1d72ad,'retryThrottledRequestMaxTimes':_0xfa90e,'retryNetworkErrorMaxTimes':_0x285bd4}),_0x390d57=async(_0x1ef356,{publicKey:_0x4a893f,fileName:t,fileSize:_0x1c206a,baseURL:_0x13d6cc,secureSignature:_0x18903a,secureExpire:_0xee7dd8,store:_0x3ba87c,signal:_0x45b80d,onProgress:_0x17d2cd,source:_0x530fc3,integration:_0x36c238,userAgent:_0xb8e52b,retryThrottledRequestMaxTimes:_0x1a8a83,retryNetworkErrorMaxTimes:_0x4eccff,contentType:_0x5d8bc6,multipartChunkSize:_0x3709cf=_0x1b2231,maxConcurrentRequests:_0x171174=_0x4e0c9c,baseCDN:_0x1479c1,metadata:_0x176d6d})=>{let _0x501311,_0x155503=_0x1c206a??await _0x43137e(_0x1ef356),_0x400db2=(_0x2001e2,_0x18838d)=>{if(!_0x17d2cd)return;_0x501311||(_0x501311=Array(_0x2001e2)['fill'](0x0));let _0x18eff0=_0x1f2cbc=>_0x1f2cbc['reduce']((_0xb2c7ab,_0x382659)=>_0xb2c7ab+_0x382659,0x0);return _0x50b7dd=>{_0x50b7dd['isComputable']&&(_0x501311[_0x18838d]=_0x50b7dd['value'],_0x17d2cd({'isComputable':!0x0,'value':_0x18eff0(_0x501311)/_0x2001e2}));};};return _0x5d8bc6||=_0x364d33(_0x1ef356),function(_0x52a09e,{publicKey:_0xad43bc,contentType:t,fileName:_0x2100be,multipartChunkSize:_0x67ff20=_0x1b2231,baseURL:_0x34f906='',secureSignature:_0x4c045f,secureExpire:_0x4860ac,store:_0x554320,signal:_0x57134f,source:_0x4461f1='local',integration:_0x5b5b0e,userAgent:_0x5cfe2d,retryThrottledRequestMaxTimes:_0x16016b=_0x65c581,retryNetworkErrorMaxTimes:_0x320635=_0x4b1164,metadata:_0x40ca55}){return _0x57a65a(()=>_0x4507cd({'method':'POST','url':_0x37bb70(_0x34f906,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3f3c7a({'publicKey':_0xad43bc,'integration':_0x5b5b0e,'userAgent':_0x5cfe2d})},'data':_0x58e9f4({'filename':_0x2100be,'size':_0x52a09e,'content_type':t||_0x5cdbfc,'part_size':_0x67ff20,'UPLOADCARE_STORE':_0x4ce364(_0x554320),'UPLOADCARE_PUB_KEY':_0xad43bc,'signature':_0x4c045f,'expire':_0x4860ac,'source':_0x4461f1,'metadata':_0x40ca55}),'signal':_0x57134f})['then'](({data:_0x47b0fb,headers:_0x5928cc,request:_0xdc53cf})=>{let _0xc74ce1=_0x10b7c1(JSON['parse'](_0x47b0fb));if('error'in _0xc74ce1)throw new _0x559f27(_0xc74ce1['error']['content'],_0xc74ce1['error']['errorCode'],_0xdc53cf,_0xc74ce1,_0x5928cc);return _0xc74ce1['parts']=Object['keys'](_0xc74ce1['parts'])['map'](_0x102cbc=>_0xc74ce1['parts'][Number(_0x102cbc)]),_0xc74ce1;}),{'retryThrottledRequestMaxTimes':_0x16016b,'retryNetworkErrorMaxTimes':_0x320635});}(_0x155503,{'publicKey':_0x4a893f,'contentType':_0x5d8bc6,'fileName':t||_0x11e5bc(_0x1ef356),'baseURL':_0x13d6cc,'secureSignature':_0x18903a,'secureExpire':_0xee7dd8,'store':_0x3ba87c,'signal':_0x45b80d,'source':_0x530fc3,'integration':_0x36c238,'userAgent':_0xb8e52b,'retryThrottledRequestMaxTimes':_0x1a8a83,'retryNetworkErrorMaxTimes':_0x4eccff,'metadata':_0x176d6d,'multipartChunkSize':_0x3709cf})['then'](async({uuid:_0x3e95f8,parts:_0x273ec7})=>{let _0x40d160=await _0x243ebf(_0x1ef356,_0x155503,_0x3709cf);return Promise['all']([_0x3e95f8,_0x5acc61(_0x171174,_0x273ec7['map']((_0x1e5cf0,_0x24da4d)=>()=>_0x94d6ed(_0x40d160(_0x24da4d),_0x1e5cf0,{'publicKey':_0x4a893f,'contentType':_0x5d8bc6,'onProgress':_0x400db2(_0x273ec7['length'],_0x24da4d),'signal':_0x45b80d,'integration':_0x36c238,'retryThrottledRequestMaxTimes':_0x1a8a83,'retryNetworkErrorMaxTimes':_0x4eccff})))]);})['then'](([_0x1953bb])=>function(_0x5a8034,{publicKey:_0x197877,baseURL:t=_0x421c04,source:_0x24f9cd='local',signal:_0x206b7c,integration:_0x352720,userAgent:_0xdaf393,retryThrottledRequestMaxTimes:_0x1b7069=_0x65c581,retryNetworkErrorMaxTimes:_0x38264f=_0x4b1164}){return _0x57a65a(()=>_0x4507cd({'method':'POST','url':_0x37bb70(t,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3f3c7a({'publicKey':_0x197877,'integration':_0x352720,'userAgent':_0xdaf393})},'data':_0x58e9f4({'uuid':_0x5a8034,'UPLOADCARE_PUB_KEY':_0x197877,'source':_0x24f9cd}),'signal':_0x206b7c})['then'](({data:_0x1bda2c,headers:_0x2b9ac5,request:_0x5ac8a6})=>{let _0x3ff85e=_0x10b7c1(JSON['parse'](_0x1bda2c));if('error'in _0x3ff85e)throw new _0x559f27(_0x3ff85e['error']['content'],_0x3ff85e['error']['errorCode'],_0x5ac8a6,_0x3ff85e,_0x2b9ac5);return _0x3ff85e;}),{'retryThrottledRequestMaxTimes':_0x1b7069,'retryNetworkErrorMaxTimes':_0x38264f});}(_0x1953bb,{'publicKey':_0x4a893f,'baseURL':_0x13d6cc,'source':_0x530fc3,'integration':_0x36c238,'userAgent':_0xb8e52b,'retryThrottledRequestMaxTimes':_0x1a8a83,'retryNetworkErrorMaxTimes':_0x4eccff}))['then'](_0x22c7a8=>_0x22c7a8['isReady']?_0x22c7a8:_0x4912bf(_0x22c7a8['uuid'],{'publicKey':_0x4a893f,'baseURL':_0x13d6cc,'source':_0x530fc3,'integration':_0x36c238,'userAgent':_0xb8e52b,'retryThrottledRequestMaxTimes':_0x1a8a83,'retryNetworkErrorMaxTimes':_0x4eccff,'onProgress':_0x17d2cd,'signal':_0x45b80d}))['then'](_0x54b791=>new _0x4fcd7e(_0x54b791,{'baseCDN':_0x1479c1}));};async function _0x470830(_0x28ac4c,{publicKey:_0x2e83da,fileName:t,baseURL:_0x21e2d6=_0x421c04,secureSignature:_0x3f83fd,secureExpire:_0x1691d2,store:_0x58b87d,signal:_0xa7be19,onProgress:_0x1280a0,source:_0x44224b,integration:_0x1bda7a,userAgent:_0x42328b,retryThrottledRequestMaxTimes:_0x540f3b,retryNetworkErrorMaxTimes:_0x7081a6,contentType:_0x4ff389,multipartMinFileSize:_0x44870b,multipartChunkSize:_0x40191d,maxConcurrentRequests:_0x4397ab,baseCDN:_0x15ca39=_0x164547,checkForUrlDuplicates:_0x13b0fb,saveUrlForRecurrentUploads:_0x50fd9d,pusherKey:_0x552326,metadata:_0x49cefc}){if(_0x4ce623(_0x28ac4c)){let _0x2bc25f=await _0x43137e(_0x28ac4c);return((_0xbbead0,_0x40fa91=_0x4da618)=>_0xbbead0>=_0x40fa91)(_0x2bc25f,_0x44870b)?_0x390d57(_0x28ac4c,{'publicKey':_0x2e83da,'contentType':_0x4ff389,'multipartChunkSize':_0x40191d,'fileSize':_0x2bc25f,'fileName':t,'baseURL':_0x21e2d6,'secureSignature':_0x3f83fd,'secureExpire':_0x1691d2,'store':_0x58b87d,'signal':_0xa7be19,'onProgress':_0x1280a0,'source':_0x44224b,'integration':_0x1bda7a,'userAgent':_0x42328b,'maxConcurrentRequests':_0x4397ab,'retryThrottledRequestMaxTimes':_0x540f3b,'retryNetworkErrorMaxTimes':_0x7081a6,'baseCDN':_0x15ca39,'metadata':_0x49cefc}):_0x5c3867(_0x28ac4c,{'publicKey':_0x2e83da,'fileName':t,'contentType':_0x4ff389,'baseURL':_0x21e2d6,'secureSignature':_0x3f83fd,'secureExpire':_0x1691d2,'store':_0x58b87d,'signal':_0xa7be19,'onProgress':_0x1280a0,'source':_0x44224b,'integration':_0x1bda7a,'userAgent':_0x42328b,'retryThrottledRequestMaxTimes':_0x540f3b,'retryNetworkErrorMaxTimes':_0x7081a6,'baseCDN':_0x15ca39,'metadata':_0x49cefc});}if(_0x299bf8(_0x28ac4c))return _0x8b0242(_0x28ac4c,{'publicKey':_0x2e83da,'fileName':t,'baseURL':_0x21e2d6,'baseCDN':_0x15ca39,'checkForUrlDuplicates':_0x13b0fb,'saveUrlForRecurrentUploads':_0x50fd9d,'secureSignature':_0x3f83fd,'secureExpire':_0x1691d2,'store':_0x58b87d,'signal':_0xa7be19,'onProgress':_0x1280a0,'source':_0x44224b,'integration':_0x1bda7a,'userAgent':_0x42328b,'retryThrottledRequestMaxTimes':_0x540f3b,'pusherKey':_0x552326,'metadata':_0x49cefc});if(_0x487265(_0x28ac4c))return((_0x58d1dc,{publicKey:_0x4be6f2,fileName:t,baseURL:_0x4aa46e,signal:_0x26db60,onProgress:_0x4e59a5,source:_0x2070c7,integration:_0x4d5566,userAgent:_0x4fd783,retryThrottledRequestMaxTimes:_0x32dac3,retryNetworkErrorMaxTimes:_0x159712,baseCDN:_0x581e12})=>_0x1bd574(_0x58d1dc,{'publicKey':_0x4be6f2,'baseURL':_0x4aa46e,'signal':_0x26db60,'source':_0x2070c7,'integration':_0x4d5566,'userAgent':_0x4fd783,'retryThrottledRequestMaxTimes':_0x32dac3,'retryNetworkErrorMaxTimes':_0x159712})['then'](_0xf1769d=>new _0x4fcd7e(_0xf1769d,{'baseCDN':_0x581e12,'fileName':t}))['then'](_0x557cd4=>(_0x4e59a5&&_0x4e59a5({'isComputable':!0x0,'value':0x1}),_0x557cd4)))(_0x28ac4c,{'publicKey':_0x2e83da,'fileName':t,'baseURL':_0x21e2d6,'signal':_0xa7be19,'onProgress':_0x1280a0,'source':_0x44224b,'integration':_0x1bda7a,'userAgent':_0x42328b,'retryThrottledRequestMaxTimes':_0x540f3b,'retryNetworkErrorMaxTimes':_0x7081a6,'baseCDN':_0x15ca39});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x28ac4c+'\x22\x20is\x20not\x20supported');}var _0x2bdc08=class{['uuid'];filesCount;totalSize;isStored;['isImage'];['cdnUrl'];['files'];createdAt;storedAt=null;constructor(_0x4b0a7e,{baseCDN:t=_0x164547}={}){this['uuid']=_0x4b0a7e['id'],this['filesCount']=_0x4b0a7e['filesCount'];let _0x2aea25=_0x4b0a7e['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x2aea25)['reduce']((_0x10b20b,_0x226abc)=>_0x10b20b+_0x226abc['size'],0x0),this['isStored']=!!_0x4b0a7e['datetimeStored'],this['isImage']=!!Object['values'](_0x2aea25)['filter'](_0x36da68=>_0x36da68['isImage'])['length'],this['cdnUrl']=((_0x2f93c3,_0x5097ac)=>{try{let t=new URL(_0x2f93c3),_0x425825=new URL(_0x5097ac);return t['protocol']=_0x425825['protocol'],t['hostname']=_0x425825['hostname'],t['port']=_0x425825['port'],t['toString']();}catch{return _0x2f93c3;}})(_0x4b0a7e['cdnUrl'],t),this['files']=_0x2aea25['map'](_0x31b744=>new _0x4fcd7e(_0x31b744,{'baseCDN':t})),this['createdAt']=_0x4b0a7e['datetimeCreated'],this['storedAt']=_0x4b0a7e['datetimeStored'];}};function _0x17fa9c(_0x2c46c3,{publicKey:_0x3e75d0,fileName:t,baseURL:_0x4f7fbb=_0x421c04,secureSignature:_0x3055e3,secureExpire:_0x30af1f,store:_0x27ef67,signal:_0xf04dd8,onProgress:_0x4a9647,source:_0x37bb6b,integration:_0x4a9c5c,userAgent:_0x510c9a,retryThrottledRequestMaxTimes:_0x361104,retryNetworkErrorMaxTimes:_0xca1e6f,contentType:_0x245d6e,multipartChunkSize:_0x210106=_0x1b2231,baseCDN:_0x5b9bf8=_0x164547,checkForUrlDuplicates:_0x508c7f,saveUrlForRecurrentUploads:_0x3a079c,jsonpCallback:_0x1964f9}){if(!(_0x233fe5=>{for(let _0x2a21c0 of _0x233fe5)if(!_0x4ce623(_0x2a21c0))return!0x1;return!0x0;})(_0x2c46c3)&&!(_0xc802c9=>{for(let _0x265463 of _0xc802c9)if(!_0x299bf8(_0x265463))return!0x1;return!0x0;})(_0x2c46c3)&&!(_0x364ad2=>{for(let _0x33db85 of _0x364ad2)if(!_0x487265(_0x33db85))return!0x1;return!0x0;})(_0x2c46c3))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x2c46c3+'\x22\x20is\x20not\x20supported');let _0x388f53,_0x2823a3=!0x0,_0x2a6ddc=_0x2c46c3['length'],_0x2fed92=(_0x5b3288,_0x12e6b8)=>{if(!_0x4a9647)return;_0x388f53||(_0x388f53=Array(_0x5b3288)['fill'](0x0));let _0x35cddf=_0x258d38=>_0x258d38['reduce']((_0x1f9a1b,_0x52cfef)=>_0x1f9a1b+_0x52cfef)/_0x5b3288;return _0x2d7fe8=>{if(!_0x2d7fe8['isComputable']||!_0x2823a3)return _0x2823a3=!0x1,void _0x4a9647({'isComputable':!0x1});_0x388f53[_0x12e6b8]=_0x2d7fe8['value'],_0x4a9647({'isComputable':!0x0,'value':_0x35cddf(_0x388f53)});};};return Promise['all'](_0x2c46c3['map']((_0x1e152f,_0x131624)=>_0x4ce623(_0x1e152f)||_0x299bf8(_0x1e152f)?_0x470830(_0x1e152f,{'publicKey':_0x3e75d0,'fileName':t,'baseURL':_0x4f7fbb,'secureSignature':_0x3055e3,'secureExpire':_0x30af1f,'store':_0x27ef67,'signal':_0xf04dd8,'onProgress':_0x2fed92(_0x2a6ddc,_0x131624),'source':_0x37bb6b,'integration':_0x4a9c5c,'userAgent':_0x510c9a,'retryThrottledRequestMaxTimes':_0x361104,'retryNetworkErrorMaxTimes':_0xca1e6f,'contentType':_0x245d6e,'multipartChunkSize':_0x210106,'baseCDN':_0x5b9bf8,'checkForUrlDuplicates':_0x508c7f,'saveUrlForRecurrentUploads':_0x3a079c})['then'](_0x2ce9bd=>_0x2ce9bd['uuid']):_0x1e152f))['then'](_0x2dce6b=>function(_0x299c9d,{publicKey:_0x799971,baseURL:t=_0x421c04,jsonpCallback:_0x49df94,secureSignature:_0x219318,secureExpire:_0x2eda1a,signal:_0x29a8a3,source:_0x3ce5f1,integration:_0x3036ca,userAgent:_0x1ba72c,retryThrottledRequestMaxTimes:_0x4c45ae=_0x65c581,retryNetworkErrorMaxTimes:_0x4b44a2=_0x4b1164}){return _0x57a65a(()=>_0x4507cd({'method':'POST','headers':{'X-UC-User-Agent':_0x3f3c7a({'publicKey':_0x799971,'integration':_0x3036ca,'userAgent':_0x1ba72c})},'url':_0x37bb70(t,'/group/',{'jsonerrors':0x1}),'data':_0x58e9f4({'files':_0x299c9d,'callback':_0x49df94,'pub_key':_0x799971,'signature':_0x219318,'expire':_0x2eda1a,'source':_0x3ce5f1}),'signal':_0x29a8a3})['then'](({data:_0xa491b9,headers:_0x4a33d1,request:_0x211f10})=>{let _0x3ee977=_0x10b7c1(JSON['parse'](_0xa491b9));if('error'in _0x3ee977)throw new _0x559f27(_0x3ee977['error']['content'],_0x3ee977['error']['errorCode'],_0x211f10,_0x3ee977,_0x4a33d1);return _0x3ee977;}),{'retryNetworkErrorMaxTimes':_0x4b44a2,'retryThrottledRequestMaxTimes':_0x4c45ae});}(_0x2dce6b,{'publicKey':_0x3e75d0,'baseURL':_0x4f7fbb,'jsonpCallback':_0x1964f9,'secureSignature':_0x3055e3,'secureExpire':_0x30af1f,'signal':_0xf04dd8,'source':_0x37bb6b,'integration':_0x4a9c5c,'userAgent':_0x510c9a,'retryThrottledRequestMaxTimes':_0x361104,'retryNetworkErrorMaxTimes':_0xca1e6f})['then'](_0x41db28=>new _0x2bdc08(_0x41db28,{'baseCDN':_0x5b9bf8}))['then'](_0x58b613=>(_0x4a9647&&_0x4a9647({'isComputable':!0x0,'value':0x1}),_0x58b613)));}var _0x2cd4aa=class{['Vi']=0x1;['io']=[];['_i']=0x0;['ro']=new Map();['oo']=new Map();constructor(_0x18644e){this['Vi']=_0x18644e;}['run'](){let _0x248a62=this['Vi']-this['_i'];for(let t=0x0;t<_0x248a62;t++){let _0x50aa0c=this['io']['shift']();if(!_0x50aa0c)return;let _0x8e16d0=this['ro']['get'](_0x50aa0c),_0x15aee3=this['oo']['get'](_0x50aa0c);if(!_0x8e16d0||!_0x15aee3)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_i']+=0x1,_0x50aa0c()['finally'](()=>{this['ro']['delete'](_0x50aa0c),this['oo']['delete'](_0x50aa0c),this['_i']-=0x1,this['run']();})['then'](_0xb7645e=>_0x8e16d0(_0xb7645e))['catch'](_0x15a585=>_0x15aee3(_0x15a585));}}['add'](_0x3c4ea4,{autoRun:t}={'autoRun':!0x0}){return new Promise((_0x43e92f,_0x5d7e58)=>{this['ro']['set'](_0x3c4ea4,_0x43e92f),this['oo']['set'](_0x3c4ea4,_0x5d7e58),this['io']['push'](_0x3c4ea4),t&&this['run']();});}get['pending'](){return this['io']['length'];}get['running'](){return this['_i'];}set['concurrency'](_0x49f034){this['Vi']=_0x49f034,this['run']();}get['concurrency'](){return this['Vi'];}},_0x4b6d62=_0x1c0425=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x1c0425['modalManager']?.['close'](_0x1c0425['$']['*currentActivity']),_0x1c0425['pub']('*currentActivity',null);}}),_0x28c4b8=_0x332a23=>({..._0x4b6d62(_0x332a23),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x2cd4aa(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set()}),_0x884b8d=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'}),_0x4253de=class extends _0x10559c{constructor(t){super(t),this['scopes']=new Set(),this['listener']=this['_c']['bind'](this),window['addEventListener']('paste',this['listener']);}openUploadList(){this['i']['api']['setCurrentActivity'](_0x884b8d['UPLOAD_LIST']),this['i']['api']['setModalState'](!0x0);}async['_c'](t){if(t['clipboardData']){for(let _0x1a94cf of this['scopes'])if(_0x1a94cf['isConnected'])switch(this['ze']['pasteScope']){case'global':await this['handlePaste'](t);break;case'local':if(!_0x1a94cf['contains'](t['target']))continue;await this['handlePaste'](t);break;default:continue;}}}async handlePaste(t){if(!t['clipboardData'])return;let _0x6c29b0=Array['from'](t['clipboardData']['items']),_0x2f9dc7=_0x6c29b0['map'](_0x4312db=>_0x4312db['getAsFile']())['filter'](_0x2a6f32=>null!==_0x2a6f32),_0x3f9190=_0x6c29b0['filter'](_0x583ec5=>'string'===_0x583ec5['kind']&&'text/plain'===_0x583ec5['type'])['map'](_0x3a5725=>new Promise(_0x2fce0c=>{_0x3a5725['getAsString'](_0x1e66a1=>{_0x2fce0c(_0x1e66a1);});}));_0x2f9dc7['length']>0x0&&(_0x2f9dc7['forEach'](_0x32be87=>{this['i']['api']['addFileFromObject'](_0x32be87,{'source':'clipboard'});}),this['openUploadList']()),_0x3f9190['length']>0x0&&((await Promise['all'](_0x3f9190))['forEach'](_0x67c03d=>{this['i']['api']['addFileFromUrl'](_0x67c03d,{'source':'clipboard'});}),this['openUploadList']());}registerBlock(t){return this['scopes']['add'](t),()=>{this['scopes']['delete'](t);};}destroy(){super['destroy'](),window['removeEventListener']('paste',this['listener']),this['scopes']['clear']();}},_0x126b68={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x25cf8b(_0x10e29f,_0x22cc34){_0x22cc34['tabIndex']=0x0,_0x22cc34['focus'](),_0x10e29f['tabIndex']=-0x1;}function _0x57775f(_0x10dc8f){let _0x71149c=_0x10dc8f['role']||_0x10dc8f['type']||_0x10dc8f['tagName'];if(!_0x71149c)return null;let t=_0x126b68[_0x71149c['toLowerCase']()];if(!t)return null;for(let _0x5a6900 of t){let _0x2e54f4=_0x10dc8f['closest']('[role='+_0x5a6900+']');if(_0x2e54f4)return _0x2e54f4;}}function _0x45218f(_0x303aca,_0x3e49e2){return'toolbar'===_0x3e49e2['role']?function(_0x2fb4d7){return[..._0x2fb4d7['querySelectorAll']('*')]['filter'](t=>'button'===t['role']||'button'===t['type']||'checkbox'===t['role']||'checkbox'===t['type']);}(_0x3e49e2):_0x3e49e2['querySelectorAll']('[role='+_0x303aca['role']+']');}function _0x370116(_0x24d1b6){return _0x2740c7=>{let t=!0x1,_0xb6e69b=0x0,_0x2ef9d9='';function _0x1f89be(_0x4d6c68){let _0x1adb2d=_0x57775f(_0x4d6c68['target']);if(!_0x1adb2d)return void _0x33885a();let _0x28fff8=_0x45218f(_0x4d6c68['target'],_0x1adb2d),_0x406be8=function(_0x185b2b,_0x4d9749){return Array['from'](_0x185b2b)['filter'](t=>{let _0x382899=t['parentElement'];for(;_0x382899&&_0x382899!==_0x4d9749;){if('true'===_0x382899['getAttribute']('aria-hidden'))return!0x1;_0x382899=_0x382899['parentElement'];}return!0x0;});}(_0x28fff8,_0x1adb2d),_0x1272be=Array['from'](_0x406be8)['indexOf'](_0x4d6c68['target']),_0x3fc6f1='ArrowDown',_0x514152='ArrowUp';if(function(_0x349e6d){let _0x3d981d=_0x349e6d['getAttribute']('aria-orientation');if('vertical'===_0x3d981d)return!0x1;if('horizontal'===_0x3d981d)return!0x0;let t=_0x349e6d['role'];return'menubar'===t||'tablist'===t||'toolbar'===t;}(_0x1adb2d)&&('rtl'===_0x2740c7['document']['dir']?(_0x3fc6f1='ArrowLeft',_0x514152='ArrowRight'):(_0x3fc6f1='ArrowRight',_0x514152='ArrowLeft')),_0x4d6c68['key']===_0x3fc6f1)_0x4d6c68['preventDefault'](),_0x25cf8b(_0x4d6c68['target'],_0x406be8[_0x1272be+0x1]||_0x406be8[0x0]);else{if(_0x4d6c68['key']===_0x514152)_0x4d6c68['preventDefault'](),_0x25cf8b(_0x4d6c68['target'],_0x406be8[_0x1272be-0x1]||_0x406be8[_0x406be8['length']-0x1]);else{if('Home'===_0x4d6c68['key'])_0x4d6c68['preventDefault'](),_0x25cf8b(_0x4d6c68['target'],_0x406be8[0x0]);else{if('End'===_0x4d6c68['key'])_0x4d6c68['preventDefault'](),_0x25cf8b(_0x4d6c68['target'],_0x406be8[_0x406be8['length']-0x1]);else{if(0x1===_0x4d6c68['key']['length']&&'tablist'!==_0x1adb2d['role']){_0x4d6c68['timeStamp']-_0xb6e69b<=0x12c?_0x2ef9d9+=_0x4d6c68['key']['toLowerCase']():_0x2ef9d9=_0x4d6c68['key']['toLowerCase'](),_0xb6e69b=_0x4d6c68['timeStamp'];let _0x27856f=Array['from'](_0x28fff8)['find'](_0xbfbbca=>_0xbfbbca['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x2ef9d9));_0x27856f&&(_0x4d6c68['preventDefault'](),_0x25cf8b(_0x4d6c68['target'],_0x27856f));}}}}}}function _0x33885a(){t=!0x1,_0x2740c7['removeEventListener']('keydown',_0x1f89be);}function _0x5dbd85(_0x55da99){let _0x56aa2a=_0x57775f(_0x55da99['target']);if(_0x56aa2a){t||(t=!0x0,_0x2740c7['addEventListener']('keydown',_0x1f89be));let _0x145207=_0x45218f(_0x55da99['target'],_0x56aa2a);for(let _0x7e7649 of _0x145207)_0x7e7649!==_0x55da99['target']&&_0x7e7649['setAttribute']('tabindex',-0x1);}else t&&_0x33885a();}function _0x1e9487(_0x411552){(!_0x411552['relatedTarget']||_0x411552['relatedTarget']===_0x2740c7['document'])&&_0x33885a();}function _0x5458d0(_0x5e5b86){let _0x22353e=_0x57775f(_0x5e5b86['target']);if(_0x22353e){let _0xc3211e=_0x45218f(_0x5e5b86['target'],_0x22353e);for(let _0x2acec0 of _0xc3211e)_0x2acec0!==_0x5e5b86['target']&&_0x2acec0['setAttribute']('tabindex',-0x1);_0x5e5b86['target']['setAttribute']('tabindex',0x0);}}return _0x2740c7['addEventListener']('click',_0x5458d0),_0x2740c7['addEventListener']('focusin',_0x5dbd85),_0x2740c7['addEventListener']('focusout',_0x1e9487),()=>{_0x33885a(),_0x2740c7['removeEventListener']('click',_0x5458d0),_0x2740c7['removeEventListener']('focusin',_0x5dbd85),_0x2740c7['removeEventListener']('focusout',_0x1e9487);};};}function _0x4c1db4(){return _0xfdaa3c=>{let _0x3654ae=[];function _0x15d04b(){let _0x4fa303=_0x3654ae['pop']();if(!_0x4fa303)return void _0xfdaa3c['document']['activeElement']['blur']();let _0x12fa55=_0x4fa303['deref']();_0x12fa55&&_0x12fa55['isConnected']?_0x12fa55['focus']():_0x15d04b();}let _0x1064e4,_0x366a8a=0x0;function _0x58f602(_0x50753d){clearInterval(_0x1064e4);let _0x6bd885=_0x50753d['getAttribute']('aria-controls');_0x1064e4=setInterval(()=>{if(_0x366a8a++>0x32)return void clearInterval(_0x1064e4);let _0x37de9c=_0xfdaa3c['document']['getElementById'](_0x6bd885);if(_0x37de9c){let _0x3c6f9a=_0x37de9c['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x3c6f9a&&(clearInterval(_0x1064e4),_0x37de9c['dispatchEvent'](new _0xfdaa3c['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0xa9686c){let _0xcf1fab=_0xfdaa3c['document']['activeElement'];_0xcf1fab&&_0xcf1fab!==_0xfdaa3c['document']['body']&&_0x3654ae['push'](new WeakRef(_0xcf1fab)),_0xa9686c['focus']({'focusVisible':!0x0});}(_0x3c6f9a));}},0x32);}function _0xe52454(_0x55fb35){_0x55fb35['target']['getAttribute']('aria-controls')&&'Enter'===_0x55fb35['key']&&_0x58f602(_0x55fb35['target']),'Escape'===_0x55fb35['key']&&_0x15d04b();}return _0xfdaa3c['addEventListener']('keydown',_0xe52454),()=>{_0xfdaa3c['removeEventListener']('keydown',_0xe52454);};};}function _0x443a6f(_0x384bf){let _0x1270bd,_0x5342fa,t=_0x384bf['split']('\x20');function _0x562f84(_0x51e2fe){('Enter'===_0x51e2fe['key']||'\x20'===_0x51e2fe['key'])&&('BUTTON'===_0x51e2fe['target']['tagName']||'A'===_0x51e2fe['target']['tagName'])&&(_0x28a54a(),_0x51e2fe['target']['classList']['add'](...t),_0x1270bd=_0x51e2fe['target'],_0x5342fa=_0x51e2fe['target']);}function _0x28a54a(){_0x1270bd&&(_0x1270bd['classList']['remove'](...t),_0x1270bd=0x0,setTimeout(()=>{_0x5342fa=0x0;},0x0));}function _0x3afa84(_0x56399c){0x0===_0x56399c['clientX']&&0x0===_0x56399c['clientY']&&_0x1270bd!==_0x56399c['target']&&(_0x28a54a(),_0x5342fa!==_0x56399c['target']&&(_0x56399c['target']['classList']['add'](...t),_0x1270bd=_0x56399c['target']));}return _0x2de8e5=>(_0x2de8e5['addEventListener']('click',_0x3afa84),_0x2de8e5['addEventListener']('keydown',_0x562f84),_0x2de8e5['addEventListener']('keyup',_0x28a54a),()=>{_0x2de8e5['removeEventListener']('click',_0x3afa84),_0x2de8e5['removeEventListener']('keydown',_0x562f84),_0x2de8e5['removeEventListener']('keyup',_0x28a54a);});}var _0x1a5bb0=class{constructor(){this['te']=new Map(),this['so']=[];}addEventListener(_0x110e5b,t){let _0x49b211=_0x3d18d9=>{let _0x51133f=_0x3d18d9['target'];_0x51133f instanceof Node&&this['so']['some'](_0x8bfb86=>_0x8bfb86===_0x51133f||_0x8bfb86['contains'](_0x51133f))&&t(_0x3d18d9);};this['te']['set'](t,_0x49b211),window['addEventListener'](_0x110e5b,_0x49b211);}removeEventListener(_0x37667b,t){let _0x7809c2=this['te']['get'](t);_0x7809c2&&window['removeEventListener'](_0x37667b,_0x7809c2),this['te']['delete'](t);}get CustomEvent(){return window['CustomEvent'];}get document(){return window['document'];}get navigator(){return window['navigator'];}registerScope(_0x108eac){this['so']['push'](_0x108eac);}destroy(){this['so']=[];for(let _0x40ac0a of this['te']['values']())window['removeEventListener']('keydown',_0x40ac0a),window['removeEventListener']('keyup',_0x40ac0a);this['te']['clear']();}},_0x5a7b43=class{constructor(){this['Bi']=new _0x1a5bb0(),this['an']=function(_0x516562,_0x25ccf5){let t=_0x25ccf5['map'](_0x586fad=>_0x586fad(_0x516562));return()=>{t['forEach'](_0xe2b4cc=>_0xe2b4cc());};}(this['Bi'],[_0x370116(),_0x443a6f('is-pressed'),_0x4c1db4(),_0x50ecb9=>{let _0x3092b7,t;function _0x46c904(_0x55eda9){if('true'===_0x55eda9['target']['getAttribute']('aria-hidden')){_0x3092b7=_0x55eda9['target'],_0x3092b7['setAttribute']('aria-hidden','false'),t=_0x3092b7['hidden'],t&&(_0x3092b7['hidden']=!0x1);let _0x3fe215=_0x55eda9['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x3fe215&&(_0x3fe215['tabIndex']=0x0);}}function _0x2c81d7(_0x3a85b4){_0x3092b7&&_0x3092b7['contains'](_0x3a85b4['target'])&&(!_0x3a85b4['relatedTarget']||!_0x3092b7['contains'](_0x3a85b4['relatedTarget']))&&(_0x3a85b4['target']['tabIndex']=-0x1,_0x3092b7['setAttribute']('aria-hidden','true'),t&&(_0x3092b7['hidden']=!0x0),_0x3092b7=null);}return _0x50ecb9['addEventListener']('keyuxJump',_0x46c904),_0x50ecb9['addEventListener']('focusout',_0x2c81d7),()=>{_0x50ecb9['removeEventListener']('keyuxJump',_0x46c904),_0x50ecb9['removeEventListener']('focusout',_0x2c81d7);};}]);}registerBlock(_0x2eddd7){this['Bi']['registerScope'](_0x2eddd7);}destroy(){this['an']?.(),this['Bi']['destroy']();}},_0x4b52b1=_0xa94714=>'*l10n/'+_0xa94714,_0x2dc32a=class extends _0x10559c{constructor(t){super(t),this['Tt']='';for(let [_0x4086ba,_0x4db984]of Object['entries'](_0x3b4199)){let _0x1bdeab=!this['e']['has'](_0x4b52b1(_0x4086ba))||!this['e']['read'](_0x4b52b1(_0x4086ba));this['e']['add'](_0x4b52b1(_0x4086ba),_0x4db984,_0x1bdeab);}let _0x4b7ab2=t['pluginManager'];_0x4b7ab2?.['onPluginsChange']&&this['addSub'](_0x4b7ab2['onPluginsChange'](()=>{this['Tt']&&this['ln'](this['Tt']);})),this['addSub'](this['e']['sub'](_0x571827('localeName'),async _0x1b5a00=>{if(!_0x1b5a00)return;this['Tt']=_0x1b5a00;let _0x5e3498=await(async _0x1c30f8=>{let _0x328f18=_0x119430['get'](_0x1c30f8);if(!_0x328f18){let t=_0x513bde['get'](_0x1c30f8);if(!t)throw new Error('Locale\x20'+_0x1c30f8+'\x20is\x20not\x20defined');_0x328f18=_0x2acb55(_0x1c30f8,await t());}return _0x328f18;})(_0x1b5a00);'en'!==_0x1b5a00&&this['Tt']!==_0x1b5a00||(this['ln'](_0x1b5a00),this['cn'](_0x1b5a00,_0x5e3498));})),this['addSub'](this['e']['sub'](_0x571827('localeDefinitionOverride'),_0x110c26=>{if(!_0x110c26)return;let _0x532591=_0x110c26[this['Tt']];_0x532591&&this['cn'](this['Tt'],_0x532591);}));}['cn'](t,_0x4eb29a){let _0x26b7f3=this['ze']['localeDefinitionOverride']?.[t];for(let [_0x1107df,_0x58010f]of Object['entries'](_0x4eb29a)){let _0x229a5f=_0x26b7f3?.[_0x1107df];this['e']['add'](_0x4b52b1(_0x1107df),_0x229a5f??_0x58010f,!0x0);}}['ln'](t){let _0x276c00=this['i']['pluginManager'];if(!_0x276c00)return;let _0x4087c6=_0x276c00['snapshot']();for(let _0xb52ac3 of _0x4087c6['l10n']){let {pluginId:_0x37dfa2,..._0x2b0246}=_0xb52ac3,_0xfcfc68=_0x2b0246[t];if(_0xfcfc68){for(let [_0x368ce9,_0x51980b]of Object['entries'](_0xfcfc68))void 0x0!==_0x51980b&&this['e']['add'](_0x4b52b1(_0x368ce9),_0x51980b,!0x0);}}}},_0x1ef889=()=>{let _0x45d675=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x45d675)&&/Version\/[\d.]+.*Safari/['test'](_0x45d675)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x45d675);},_0x60ccc0={'safariDesktop':_0x1ef889()},_0x5c938f={'htmlMediaCapture':'capture'in document['createElement']('input')},_0x4a46b5='image/*',_0x3c9237='video/*',_0x328491=_0x60ccc0['safariDesktop']?[_0x4a46b5]:[_0x4a46b5,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],_0x358bcc=_0x27871=>_0x27871?_0x27871['filter'](_0x153051=>'string'==typeof _0x153051)['flatMap'](_0x38964c=>_0x422e35(_0x38964c)):[],_0x414025=(_0x989650,_0x53a828)=>_0x53a828['some'](t=>{if(t['endsWith']('*')){let _0x1d6052=t['replace']('*','');return _0x989650['startsWith'](_0x1d6052);}return _0x989650===t;}),_0x5152e6=_0x4c9fcd=>{let _0xd72ee2=_0x4c9fcd?.['type'];return!!_0xd72ee2&&_0x414025(_0xd72ee2,_0x328491);},_0x40282d=class{constructor(_0x21c161,t){this['e']=_0x21c161,this['zc']=t,this['Xt']=new Set(),this['un']=this['e']['sub']('*lazyPlugins',_0x33aa0e=>{this['Bc'](_0x33aa0e??[]);});}['Bc'](_0x414a29){for(let _0x498c0e of this['Xt'])_0x498c0e();if(this['Xt']['clear'](),0x0===_0x414a29['length'])return;let t=new Set([_0x571827('plugins')]);for(let _0x5e5692 of _0x414a29)for(let _0x3f3571 of _0x5e5692['configDeps'])t['add'](_0x571827(_0x3f3571));let _0x4dca31=()=>this['dn'](_0x414a29);for(let _0x12b334 of t)this['Xt']['add'](this['e']['sub'](_0x12b334,_0x4dca31,!0x1));this['dn'](_0x414a29);}['dn'](_0x36fc9d){this['ao']?.['abort']();let t=new AbortController();this['ao']=t;let _0x31fffb=_0x37f148=>this['e']['read'](_0x571827(_0x37f148)),_0x229c0b=_0x31fffb('plugins'),_0x3e2d8b=(async({entries:_0x2fac64,signal:_0x17cb6f})=>(await Promise['all'](_0x2fac64['map'](async _0x5adf44=>{if(_0x5adf44['isEnabled']())try{let _0x4fa16c=await _0x5adf44['load']();return _0x17cb6f['aborted']||!_0x5adf44['isEnabled']()?void 0x0:_0x4fa16c??void 0x0;}catch(_0x16d126){return void(_0x17cb6f['aborted']||console['warn']('Failed\x20to\x20load\x20lazy\x20plugin',_0x16d126));}})))['filter'](_0x1ed551=>void 0x0!==_0x1ed551))({'entries':_0x36fc9d['map'](_0xcf0537=>({'isEnabled':()=>_0xcf0537['isEnabled'](_0x31fffb),'load':_0xcf0537['load']})),'signal':t['signal']})['then'](_0x4ca3e2=>{if(!t['signal']['aborted'])return[..._0x229c0b,..._0x4ca3e2];});this['zc'](_0x3e2d8b);}destroy(){this['un']();for(let _0x878984 of this['Xt'])_0x878984();this['Xt']['clear'](),this['ao']?.['abort']();}},_0x1317e7=class{constructor(){this['Ke']=new Map();}register(_0x5d4e7c,t){if(this['Ke']['has'](t['name']))return void console['warn']('[CustomConfig]\x20Config\x20option\x20\x22'+t['name']+'\x22\x20is\x20already\x20registered');let _0x3e1d22={'attribute':!0x0,...t,'pluginId':_0x5d4e7c};this['Ke']['set'](t['name'],_0x3e1d22);}unregister(_0x3bc67b){this['Ke']['delete'](_0x3bc67b);}unregisterByPlugin(_0x165532){for(let [t,_0x2e1b7d]of this['Ke'])_0x2e1b7d['pluginId']===_0x165532&&this['Ke']['delete'](t);}get(_0x72f7d6){return this['Ke']['get'](_0x72f7d6);}getAll(){return new Map(this['Ke']);}},_0x11b504=class{constructor(){this['Me']=[],this['de']=[],this['zi']=[],this['Hi']=[],this['Ki']=[],this['Et']=[],this['config']=new _0x1317e7();}xt(_0x577b84,t){return{...t,'pluginId':_0x577b84};}['addSource'](_0x37fa10,t){let _0x214ad4=this['Me']['find'](_0x2b626f=>_0x2b626f['id']===t['id']);_0x214ad4?console['warn']('[Plugin\x20\x22'+_0x37fa10+'\x22]\x20Source\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x214ad4['pluginId']+'\x22.\x20Skipping.'):this['Me']['push'](this['xt'](_0x37fa10,t));}addActivity(_0x398f64,t){let _0x46050f=this['de']['find'](_0x36b964=>_0x36b964['id']===t['id']);_0x46050f?console['warn']('[Plugin\x20\x22'+_0x398f64+'\x22]\x20Activity\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x46050f['pluginId']+'\x22.\x20Skipping.'):this['de']['push'](this['xt'](_0x398f64,t));}addFileAction(_0x1bd01f,t){this['zi']['push'](this['xt'](_0x1bd01f,t));}['addFileHook'](_0x2542c0,t){this['Hi']['push'](this['xt'](_0x2542c0,{'timeout':0x7530,...t}));}['addIcon'](_0x9e9f71,t){this['Ki']['push'](this['xt'](_0x9e9f71,t));}['addL10n'](_0x439312,t){this['Et']['push'](this['xt'](_0x439312,t));}['addConfig'](_0x3c7d8a,t){this['config']['register'](_0x3c7d8a,t);}['purge'](_0xc97403){this['Me']=this['Me']['filter'](t=>t['pluginId']!==_0xc97403),this['de']=this['de']['filter'](t=>t['pluginId']!==_0xc97403),this['zi']=this['zi']['filter'](t=>t['pluginId']!==_0xc97403),this['Hi']=this['Hi']['filter'](t=>t['pluginId']!==_0xc97403),this['Ki']=this['Ki']['filter'](t=>t['pluginId']!==_0xc97403),this['Et']=this['Et']['filter'](t=>t['pluginId']!==_0xc97403),this['config']['unregisterByPlugin'](_0xc97403);}snapshot(){return{'sources':[...this['Me']],'activities':[...this['de']],'fileActions':[...this['zi']],'fileHooks':[...this['Hi']],'icons':[...this['Ki']],'l10n':[...this['Et']]};}},_0x122f3a=class extends _0x10559c{constructor(t){super(t),this['je']=new Map(),this['c']=new Set(),this['lo']=Promise['resolve'](),this['registry']=new _0x11b504(),this['pn']=new _0x40282d(this['e'],_0x28fc93=>{this['lo']=this['lo']['then'](()=>_0x28fc93)['then'](_0x103133=>{if(_0x103133)return this['Hc'](_0x103133);});});}get configRegistry(){return this['registry']['config'];}['pluginsReady'](){return this['lo'];}['onPluginsChange'](t){return this['c']['add'](t),()=>{this['c']['delete'](t);};}async['Hc'](t){let _0x428a62=new Set(this['je']['keys']()),_0x342831=new Set();for(let _0x3dc82d of t)if(_0x3dc82d['id']){if(_0x342831['has'](_0x3dc82d['id']))console['warn']('[PluginManager]\x20Plugin\x20\x22'+_0x3dc82d['id']+'\x22\x20is\x20already\x20in\x20the\x20list,\x20skipping\x20duplicate');else{if(_0x342831['add'](_0x3dc82d['id']),!this['je']['has'](_0x3dc82d['id']))try{await this['Kc'](_0x3dc82d);}catch(_0x204587){this['registry']['purge'](_0x3dc82d['id']),this['co'](),console['error']('[PluginManager]\x20Plugin\x20\x22'+_0x3dc82d['id']+'\x22\x20setup()\x20threw\x20an\x20error',_0x204587);}_0x428a62['delete'](_0x3dc82d['id']);}}else console['warn']('[PluginManager]\x20A\x20plugin\x20is\x20missing\x20the\x20required\x20\x22id\x22\x20field,\x20skipping');for(let _0x4f12af of _0x428a62)this['uo'](_0x4f12af);}async['Kc'](t){this['je']['has'](t['id'])&&this['uo'](t['id']);let _0x45d723,_0x1319db=[],_0x4cf0df=function(_0x16e04c,_0x246c7e,t,_0x5c0356,_0x260efd){return{'registry':{'registerSource':_0x1d3351=>_0x16e04c['addSource'](_0x5c0356,_0x1d3351),'registerActivity':_0x50e424=>_0x16e04c['addActivity'](_0x5c0356,_0x50e424),'registerFileAction':_0x1347c2=>_0x16e04c['addFileAction'](_0x5c0356,_0x1347c2),'registerFileHook':_0x23d543=>_0x16e04c['addFileHook'](_0x5c0356,_0x23d543),'registerIcon':_0x2ca8fc=>_0x16e04c['addIcon'](_0x5c0356,_0x2ca8fc),'registerL10n':_0x3edf4e=>_0x16e04c['addL10n'](_0x5c0356,_0x3edf4e),'registerConfig':_0x215a3b=>{_0x16e04c['addConfig'](_0x5c0356,_0x215a3b);let _0x381e72=_0x571827(_0x215a3b['name']);_0x246c7e['has'](_0x381e72)||_0x246c7e['add'](_0x381e72,_0x215a3b['defaultValue']);}},'config':{'get':_0x120aa3=>{let _0x1f5ad0=_0x571827(_0x120aa3);return _0x246c7e['read'](_0x1f5ad0);},'subscribe':(_0x573fad,_0x7215bd)=>{let _0x3ead83=_0x571827(_0x573fad),_0x2edd8b=_0x246c7e['sub'](_0x3ead83,_0x3f1c07=>{_0x7215bd(_0x3f1c07);});return _0x260efd['push'](_0x2edd8b),_0x2edd8b;}},'activity':{'getParams':()=>_0x246c7e['read']('*currentActivityParams'),'subscribeToParams':_0x2cdf84=>{let _0x23c039=_0x246c7e['sub']('*currentActivityParams',_0x51b5a4=>{_0x2cdf84(_0x51b5a4);});return _0x260efd['push'](_0x23c039),_0x23c039;}},'files':{'update':(_0x407b03,_0x5181a8)=>{let _0xdba767=t['uploadCollection']?.['read'](_0x407b03);_0xdba767&&(void 0x0!==_0x5181a8['file']&&(_0xdba767['setValue']('file',_0x5181a8['file']),_0xdba767['setValue']('fileSize',_0x5181a8['file']['size'])),void 0x0!==_0x5181a8['cdnUrl']&&_0xdba767['setValue']('cdnUrl',_0x5181a8['cdnUrl']),void 0x0!==_0x5181a8['cdnUrlModifiers']&&_0xdba767['setValue']('cdnUrlModifiers',_0x5181a8['cdnUrlModifiers']),void 0x0!==_0x5181a8['mimeType']&&_0xdba767['setValue']('mimeType',_0x5181a8['mimeType']));}}};}(this['registry'],this['e'],this['i'],t['id'],_0x1319db),_0x3d594a=this['i']['api'];try{_0x45d723=await t['setup']({'pluginApi':_0x4cf0df,'uploaderApi':_0x3d594a})??void 0x0;}catch(_0x12246c){for(let _0x122b00 of _0x1319db)try{_0x122b00();}catch(_0x25016d){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x25016d);}throw _0x12246c;}this['je']['set'](t['id'],{'plugin':t,'dispose':_0x45d723,'configSubscriptions':_0x1319db}),this['co']();}['uo'](t){let _0x5f00c5=this['je']['get'](t);if(_0x5f00c5){this['registry']['purge'](t);for(let _0x108bc8 of _0x5f00c5['configSubscriptions'])try{_0x108bc8();}catch(_0x507d39){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x507d39);}_0x5f00c5['dispose']?.(),this['je']['delete'](t),this['co']();}}snapshot(){return this['registry']['snapshot']();}async['runOnAddHooks'](t){let _0xe0b731=t['getValue']('file');if(!_0xe0b731)return;let _0x3c0e5e=this['registry']['snapshot']()['fileHooks']['filter'](_0x56725d=>'onAdd'===_0x56725d['type']);if(0x0===_0x3c0e5e['length'])return;let _0x1c53a8=_0xe0b731,_0x2b1593=new AbortController();for(let _0x1e8503 of _0x3c0e5e){if(_0x2b1593['signal']['aborted'])break;try{let _0x30ef70=_0x1e8503['handler']({'file':_0x1c53a8,'signal':_0x2b1593['signal']}),_0x2aac1d=new Promise((_0x2a47ac,_0x1fb437)=>setTimeout(()=>_0x1fb437(new Error('onAdd\x20hook\x20timed\x20out')),_0x1e8503['timeout']));({file:_0x1c53a8}=await Promise['race']([_0x30ef70,_0x2aac1d]));}catch(_0x4999fb){console['warn']('File\x20hook\x20\x22onAdd\x22\x20from\x20plugin\x20\x22'+_0x1e8503['pluginId']+'\x22\x20failed',_0x4999fb);}}_0x1c53a8!==_0xe0b731&&(t['setValue']('file',_0x1c53a8),t['setValue']('fileSize',_0x1c53a8['size']),t['setValue']('mimeType',_0x1c53a8['type']||null),t['setValue']('isImage',_0x5152e6(_0x1c53a8)),_0x1c53a8 instanceof File&&t['setValue']('fileName',_0x1c53a8['name']));}destroy(){for(let t of Array['from'](this['je']['keys']()))this['uo'](t);this['pn']['destroy'](),super['destroy']();}['co'](){for(let t of this['c'])try{t();}catch{}}};function _0x27ba5c(_0x5be517){return Array['isArray'](_0x5be517)?_0x5be517['map'](_0x1ff5e8=>'object'==typeof _0x1ff5e8&&null!==_0x1ff5e8?_0x27ba5c(_0x1ff5e8):_0x1ff5e8):'object'!=typeof _0x5be517||null===_0x5be517?_0x5be517:Object['fromEntries'](Object['entries'](_0x5be517)['map'](([_0x3def1a,t])=>{let _0x4020af=function(_0x2d92f1){return _0x2d92f1['replace'](/[A-Z]/g,_0x46b0f5=>'_'+_0x46b0f5['toLowerCase']())['replace'](/__/g,'_');}(_0x3def1a);return'object'==typeof t&&null!==t?[_0x4020af,_0x27ba5c(t)]:[_0x4020af,t];}));}function _0x4dd7fa(_0x3844b1){return{'ok':!0x1,'error':_0x3844b1};}var _0x47db4e=class{constructor(_0x376ca1='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x376ca1;}async['base'](_0x44bedb,t={}){let _0x30b5fc=''+this['baseUrl']+_0x44bedb;try{let _0x558404=await fetch(_0x30b5fc,t);if(!_0x558404['ok'])return _0x4dd7fa(new Error('Got\x20non-200\x20response\x20from\x20\x22'+_0x30b5fc+'\x22.\x20Status:\x20'+_0x558404['status']['toString']()));try{return function(_0x3fe145){return{'ok':!0x0,'value':_0x3fe145};}(await _0x558404['json']());}catch(_0x67f1f6){return _0x4dd7fa(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+_0x30b5fc+'\x22.\x20Error:\x20'+_0x67f1f6));}}catch(_0x108080){return _0x4dd7fa(new Error('Error\x20fetching\x20data\x20from\x20\x22'+_0x30b5fc+'\x22.\x20Error:\x20'+_0x108080));}}async post(_0x2ca124,t,_0x5e0035={}){return await this['base'](_0x2ca124,{..._0x5e0035,'method':'POST','body':JSON['stringify'](_0x27ba5c(t)),'headers':{'Content-Type':'application/json',..._0x5e0035['headers']||{}}});}async get(_0x2b9199,t={}){return await this['base'](_0x2b9199,{'method':'GET',...t});}},_0x2dddb1=class extends _0x47db4e{constructor(){super();}async sendEvent(_0x446cea,t){let _0x56fcd2=await(async _0x12c12c=>(async(_0x497eea,_0x5ca9dc)=>({'success':!0x0,'data':_0x5ca9dc}))(0x0,_0x12c12c))(_0x446cea);if(!_0x56fcd2['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',_0x56fcd2['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x446cea,t);}},_0x1a4c07=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),_0x468933=Object['freeze']({'FILE_ADDED':'file-added','FILE_REMOVED':'file-removed','FILE_UPLOAD_START':'file-upload-start','FILE_UPLOAD_PROGRESS':'file-upload-progress','FILE_UPLOAD_SUCCESS':'file-upload-success','FILE_UPLOAD_FAILED':'file-upload-failed','FILE_URL_CHANGED':'file-url-changed','MODAL_OPEN':'modal-open','MODAL_CLOSE':'modal-close','DONE_CLICK':'done-click','UPLOAD_CLICK':'upload-click','ACTIVITY_CHANGE':'activity-change','COMMON_UPLOAD_START':'common-upload-start','COMMON_UPLOAD_PROGRESS':'common-upload-progress','COMMON_UPLOAD_SUCCESS':'common-upload-success','COMMON_UPLOAD_FAILED':'common-upload-failed','CHANGE':'change','GROUP_CREATED':'group-created'}),_0x4e27cd=class extends _0x10559c{constructor(){super(...arguments),this['Qt']=new Map(),this['ji']=new Set(),this['te']=new Map();}bindTarget(t){return this['ji']['add'](t),()=>{this['ji']['delete'](t);};}['on'](t,_0x15c3e7){let _0x43d963=this['te']['get'](t);return _0x43d963||(_0x43d963=new Set(),this['te']['set'](t,_0x43d963)),_0x43d963['add'](_0x15c3e7),()=>this['te']['get'](t)?.['delete'](_0x15c3e7);}['hn'](t,_0x15733f){for(let _0x2006c9 of this['ji'])_0x2006c9['dispatchEvent'](new CustomEvent(t,{'detail':_0x15733f}));let _0x27685d=this['te']['get'](t);if(_0x27685d){for(let _0x2178d9 of _0x27685d)_0x2178d9(_0x15733f);}this['w']?.(()=>{let _0x48842a=_0x15733f&&'object'==typeof _0x15733f?{..._0x15733f}:_0x15733f;return['event\x20\x22'+t+'\x22',_0x48842a];});}emit(t,_0x488bdc,_0x32464c={}){let {debounce:_0x55564e}=_0x32464c;if('number'!=typeof _0x55564e&&!_0x55564e)return void this['hn'](t,'function'==typeof _0x488bdc?_0x488bdc():_0x488bdc);this['Qt']['has'](t)&&window['clearTimeout'](this['Qt']['get'](t));let _0x1c4bc4='number'==typeof _0x55564e?_0x55564e:0x14,_0x22fc15=window['setTimeout'](()=>{try{let _0x3b04c5='function'==typeof _0x488bdc?_0x488bdc():_0x488bdc;this['hn'](t,_0x3b04c5),this['Qt']['delete'](t);}catch(_0xb3ce9d){this['w']?.(()=>'Error\x20while\x20getting\x20payload\x20for\x20event\x20\x22'+t+'\x22',_0xb3ce9d);}},_0x1c4bc4);this['Qt']['set'](t,_0x22fc15);}destroy(){for(let t of this['Qt']['values']())window['clearTimeout'](t);this['ji']['clear'](),this['te']['clear']();}},t0='blocks',_0x2c5ce6='1.29.0',_0x95af49=class extends _0x10559c{constructor(t){super(t),this['jc']=_0x138f26['generateRandomUUID'](),this['Ct']=structuredClone(_0x178dc5),this['po']=!0x1,this['ho']=null,this['Oe']=!0x1,this['mn']=new _0x2dddb1(),this['St']=new _0x2cd4aa(0xa),this['addSub'](this['e']['sub'](_0x571827('qualityInsights'),_0x23918e=>{this['Oe']=!!_0x23918e;}));for(let _0x53bf0e of Object['keys'](this['Ct']))this['addSub'](this['e']['sub'](_0x571827(_0x53bf0e),_0x565235=>{this['Oe']&&(this['po']&&this['Ct'][_0x53bf0e]!==_0x565235&&this['sendEvent']({'eventType':_0x1a4c07['CHANGE_CONFIG']}),this['Gc'](_0x53bf0e,_0x565235));}));}['qc'](t){t===_0x1a4c07['INIT_SOLUTION']&&!this['po']&&(this['po']=!0x0);}['Gc'](t,_0x151278){this['Ct'][t]!==_0x151278&&(this['Ct'][t]=_0x151278);}['Wc'](t){let _0x20285d=t['payload']?{...t['payload']}:{};_0x20285d['activity']&&(_0x20285d['activity']=void 0x0);let _0x2e22c6={...t};return(t['eventType']===_0x1a4c07['INIT_SOLUTION']||t['eventType']===_0x1a4c07['CHANGE_CONFIG'])&&(_0x2e22c6['config']=this['Ct']),{..._0x2e22c6,'appVersion':_0x2c5ce6,'appName':t0,'sessionId':this['jc'],'component':this['Zc'],'activity':this['Yc'],'projectPubkey':this['Ct']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x2e22c6['eventType']??'','eventTimestamp':this['Xc'],'payload':{'location':this['Qc'],..._0x20285d}};}['Jc'](t){return!(!t||![_0x468933['CHANGE'],_0x468933['COMMON_UPLOAD_PROGRESS'],_0x468933['FILE_ADDED'],_0x468933['FILE_REMOVED'],_0x468933['FILE_UPLOAD_START'],_0x468933['FILE_UPLOAD_PROGRESS'],_0x468933['FILE_UPLOAD_SUCCESS'],_0x468933['FILE_UPLOAD_FAILED']]['includes'](t));}sendEvent(t){if(!this['Oe'])return;let _0x23674e=this['Wc']({'eventType':t['eventType'],'payload':t['payload'],'config':t['config']});this['qc'](t['eventType']),!(this['Jc'](t['eventType'])||this['ho']&&this['gn'](this['ho'],_0x23674e))&&this['St']['add'](async()=>{this['ho']=_0x23674e,await this['mn']['sendEvent'](_0x23674e);});}sendEventError(t,_0x2459c6='unknown'){this['sendEvent']({'eventType':_0x1a4c07['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x2459c6,'error':t['message']}}});}sendEventCloudImageEditor(t,_0xcd637f,_0x593269={}){this['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0xcd637f,'node':t['currentTarget']?.['tagName'],'event':t['type'],..._0x593269}}});}['gn'](t,_0x517bdc){if(JSON['stringify'](t)===JSON['stringify'](_0x517bdc))return!0x0;if('object'!=typeof t||'object'!=typeof _0x517bdc||null==t||null==_0x517bdc)return!0x1;let _0x49af2e=Object['keys'](t),_0x4d64a2=Object['keys'](_0x517bdc);if(_0x49af2e['length']!==_0x4d64a2['length'])return!0x1;for(let _0x4c4d59 of _0x49af2e)if(!Object['hasOwn'](_0x517bdc,_0x4c4d59)||!this['gn'](t[_0x4c4d59],_0x517bdc[_0x4c4d59]))return!0x1;return!0x0;}get['Xc'](){return Date['now']();}get['Zc'](){if(!this['e']['has']('*solution'))return null;let t=this['e']['read']('*solution');return t?t['toLowerCase']():null;}get['Yc'](){return this['e']['has']('*currentActivity')?this['e']['read']('*currentActivity'):null;}get['Qc'](){return location['origin'];}},_0x33bdfd=_0x4dc268=>_0x4dc268,_0x12dde2='plural:';function _0x33407d(_0x72cc2d,_0x2484ad={},t={}){let {openToken:_0x84986d='{{',closeToken:_0x12cbf4='}}',transform:_0x37a334=_0x33bdfd}=t;for(let _0x4c0416 in _0x2484ad){let _0x388c1b=_0x2484ad[_0x4c0416]?.['toString'](),_0x5dc09d='string'==typeof _0x388c1b?_0x37a334(_0x388c1b):String(_0x388c1b);_0x72cc2d=_0x72cc2d['replaceAll'](_0x84986d+_0x4c0416+_0x12cbf4,_0x5dc09d);}return _0x72cc2d;}var _0x23ce6c='--uploadcare-blocks-window-height',_0x29dc04=class _0x4853df{static{this['clientsRegistry']=new Set();}static{this['flush']=_0x1c0742(()=>{document['documentElement']['style']['setProperty'](_0x23ce6c,window['innerHeight']+'px');},0x64);}static registerClient(_0x178996){0x0===_0x4853df['clientsRegistry']['size']&&_0x4853df['attachTracker'](),_0x4853df['clientsRegistry']['add'](_0x178996);}static unregisterClient(_0x23afe4){_0x4853df['clientsRegistry']['delete'](_0x23afe4),0x0===_0x4853df['clientsRegistry']['size']&&_0x4853df['detachTracker']();}static attachTracker(){window['addEventListener']('resize',_0x4853df['flush'],{'passive':!0x0,'capture':!0x0}),_0x4853df['flush']();}static detachTracker(){window['removeEventListener']('resize',_0x4853df['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x23ce6c);}},_0x5a5922=(_0x3138ae,_0x31323b)=>new Intl['PluralRules'](_0x3138ae)['select'](_0x31323b),_0x1fd055=_0x31361c=>{let _0x49f6bf=(_0x315096=>(_0x4f04c2,t)=>{let _0x151eaf=_0x315096();return _0x151eaf(_0x4f04c2+'__'+_0x5a5922(_0x151eaf('locale-id')||'en',t));})(()=>t),t=(_0x9a0b3f,_0x3fc846={})=>{if(!_0x9a0b3f)return'';let _0x1f16cc=_0x31361c()['read'](_0x4b52b1(_0x9a0b3f))||_0x9a0b3f,_0x20ad8e=function(_0x2314d4){let _0x366549=[],t=_0x2314d4['indexOf']('{{');for(;-0x1!==t;){let _0x559e9f=_0x2314d4['indexOf']('}}',t);if(-0x1===_0x559e9f)break;let _0x5c6b03=_0x2314d4['substring'](t+0x2,_0x559e9f);if(_0x5c6b03['startsWith'](_0x12dde2)){let _0x21e700=_0x2314d4['substring'](t+0x2,_0x559e9f)['replace'](_0x12dde2,''),_0xf5aacf=_0x21e700['substring'](0x0,_0x21e700['indexOf']('(')),_0x551054=_0x21e700['substring'](_0x21e700['indexOf']('(')+0x1,_0x21e700['indexOf'](')'));_0x366549['push']({'variable':_0x5c6b03,'pluralKey':_0xf5aacf,'countVariable':_0x551054});}t=_0x2314d4['indexOf']('{{',_0x559e9f);}return _0x366549;}(_0x1f16cc);for(let _0x29acf0 of _0x20ad8e)_0x3fc846[_0x29acf0['variable']]=_0x49f6bf(_0x29acf0['pluralKey'],Number(_0x3fc846[_0x29acf0['countVariable']]));return _0x33407d(_0x1f16cc,_0x3fc846);};return t;},_0x25060c=class{constructor(_0x3c0a29){this['Ge']=new Set(),this['Gi']=new Map(),this['vn']=!0x1,this['qe']=_0x3c0a29,this['qe']['addController'](this);}hostDisconnected(){this['qi']?.(),this['qi']=void 0x0,this['Ge']['clear'](),this['Gi']['clear']();}hostUpdated(){if(!this['qi']&&this['qe']['has'](_0x571827('testMode'))){let _0x391a10=this['qe']['subConfigValue']('testMode',t=>{this['vn']=!!t,this['yn']();});this['qi']=_0x391a10;}this['eu'](),this['yn']();}['eu'](){let _0x9ba65d=this['qe'],t=_0x9ba65d['renderRoot']??_0x9ba65d;if(!t)return;let _0xbe18b4=this['qe'],_0x4ee995=_0xbe18b4['tagName']?.['toLowerCase'](),_0x3050b7=Array['from'](t['querySelectorAll']('[data-testid]'))['filter'](_0x4ebfa2=>!(_0x503cf8=>_0x503cf8['tagName']?.['includes']('-')??!0x1)(_0x4ebfa2));for(let _0x34c2e6 of _0x3050b7)if(!(_0x4ee995&&_0x34c2e6['closest'](_0x4ee995)!==_0xbe18b4||this['Ge']['has'](_0x34c2e6))){let _0x28ebf3=_0x34c2e6['getAttribute']('data-testid');if(!_0x28ebf3)continue;this['Ge']['add'](_0x34c2e6),this['Gi']['set'](_0x34c2e6,_0x28ebf3);}for(let _0x2a7da8 of Array['from'](this['Ge']))(!_0x2a7da8['isConnected']||_0x4ee995&&_0x2a7da8['closest'](_0x4ee995)!==_0xbe18b4)&&(this['Ge']['delete'](_0x2a7da8),this['Gi']['delete'](_0x2a7da8));}['yn'](){if(!this['Ge']['size'])return;let _0x152540=this['qe']['testId']||'';for(let t of this['Ge']){let _0x11fb97=this['Gi']['get'](t);_0x11fb97&&(this['vn']?t['setAttribute']('data-testid',_0x152540+'--'+_0x11fb97):t['removeAttribute']('data-testid'));}}},_0x55b9a1=_0x1688a1(_0x35e984()(_0x485830(_0x2e1e7a(_0x1a4c31)))),_0xbf5cc2=class extends _0x55b9a1{constructor(){super(),this['init$']={},this['l10n']=_0x1fd055(()=>this['sharedCtx']),this['debugPrint']=_0x6eff3a(()=>this['sharedCtx'],this['constructor']['name']),this['i']=_0x11ee5d(()=>this['sharedCtx']),new _0x25060c(this);}static{this['styleAttrs']=[];}emit(t,_0x3331f4,_0x366a0a){let _0x3cc554=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;if(!_0x3cc554)return;_0x3cc554['emit'](t,_0x3331f4,_0x366a0a);let _0x43114e='function'==typeof _0x3331f4?_0x3331f4():_0x3331f4;this['telemetryManager']['sendEvent']({'eventType':t,'payload':_0x43114e??void 0x0});}hasBlockInCtx(t){for(let _0x441b68 of this['blocksRegistry'])if(t(_0x441b68))return!0x0;return!0x1;}connectedCallback(){this['constructor']['styleAttrs']['forEach'](_0x1899b7=>{this['setAttribute'](_0x1899b7,'');}),super['connectedCallback'](),_0x29dc04['registerClient'](this);}initCallback(){this['Z']('*blocksRegistry',()=>new Set()),this['Z']('*pluginManager',t=>new _0x122f3a(t)),this['Z']('*eventEmitter',t=>new _0x4e27cd(t)),this['Z']('*localeManager',t=>new _0x2dc32a(t)),this['Z']('*modalManager',t=>new _0x3419ce(t)),this['Z']('*a11y',()=>new _0x5a7b43()),this['Z']('*clipboard',t=>new _0x4253de(t)),this['Z']('*telemetryManager',t=>new _0x95af49(t)),this['sub'](_0x4b52b1('locale-id'),t=>{let _0xb98093=(_0x5e5752=>{let _0x52d623=new Intl['Locale'](_0x5e5752),t='ltr',_0xf4abe8=_0x52d623['getTextInfo']?.()['direction'];return _0xf4abe8?t=_0xf4abe8:_0x52d623['textInfo']?.['direction']&&(t=_0x52d623['textInfo']['direction']),t;})(t);this['style']['direction']='ltr'===_0xb98093?'':_0xb98093,this['requestUpdate']();}),this['subConfigValue']('testMode',t=>{t&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}),this['blocksRegistry']['add'](this);}get testId(){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['ie']('*modalManager',!0x1);}get telemetryManager(){return this['ie']('*telemetryManager');}get['localeManager'](){return this['ie']('*localeManager');}get['a11y'](){return this['ie']('*a11y');}get['clipboardLayer'](){return this['ie']('*clipboard');}get blocksRegistry(){return this['ie']('*blocksRegistry');}get eventEmitter(){return this['ie']('*eventEmitter');}disconnectedCallback(){super['disconnectedCallback'](),_0x29dc04['unregisterClient'](this);let t=this['blocksRegistry'];t?.['delete'](this),0x0===t?.['size']&&setTimeout(()=>{this['isConnected']||t?.['size']>0x0||this['destroyCtxCallback']();},0x0);}destroyCtxCallback(){this['tu'](),_0x5f1c09['deleteCtx'](this['ctxName']);}['bn'](){let t='*sharedContextInstances';if(!this['has'](t)||!this['$'][t]){let _0x42ed1b=new Map();this['add'](t,_0x42ed1b,!0x0);}return this['$'][t];}['Z'](t,_0x4004eb){let _0x355038=this['bn']();if(!(_0x355038['has'](t)||this['has'](t)&&this['$'][t])){let _0x1777fa=_0x4004eb(this['i']);return this['add'](t,_0x1777fa,!0x0),void _0x355038['set'](t,_0x1777fa);}}tu(){let t=this['bn']();for(let [_0x2c81e8,_0xccb080]of t['entries']())_0xccb080?.['destroy']?.(),this['pub'](_0x2c81e8,null);t['clear']();}['ie'](t,_0xb3a4c5=!0x0){if(this['has'](t)&&this['$'][t])return this['$'][t];if(!_0xb3a4c5)return this['$'][t];throw new Error('Unexpected\x20error:\x20context\x20manager\x20for\x20key\x20\x22'+String(t)+'\x22\x20is\x20not\x20available');}async['proxyUrl'](t){if(this['cfg']['secureDeliveryProxy']&&this['cfg']['secureDeliveryProxyUrlResolver']&&console['warn']('Both\x20secureDeliveryProxy\x20and\x20secureDeliveryProxyUrlResolver\x20are\x20set.\x20The\x20secureDeliveryProxyUrlResolver\x20will\x20be\x20used.'),this['cfg']['secureDeliveryProxyUrlResolver'])try{return await this['cfg']['secureDeliveryProxyUrlResolver'](t,{'uuid':_0x4b88a2(t),'cdnUrlModifiers':_0xd2039f(t),'fileName':_0x1aa677(t)});}catch(_0x4fd144){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x4fd144),this['telemetryManager']['sendEventError'](_0x4fd144,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),t;}return this['cfg']['secureDeliveryProxy']?_0x33407d(this['cfg']['secureDeliveryProxy'],{'previewUrl':t},{'transform':_0x4f7783=>window['encodeURIComponent'](_0x4f7783)}):t;}get['cfg'](){if(!this['Be']){let t={};this['Be']=new Proxy(t,{'set':(_0x2b182b,_0x4d87bb,_0x52f0c1)=>{if('string'!=typeof _0x4d87bb||!(_0x4d87bb in _0x178dc5))return!0x1;let _0x3e3d8a=_0x4d87bb,_0x797ef5=_0x571827(_0x3e3d8a);return this['has'](_0x797ef5)||this['add'](_0x797ef5,_0x178dc5[_0x3e3d8a]),this['$'][_0x797ef5]=_0x52f0c1,!0x0;},'get':(_0x5dbce1,_0x8adc3a)=>{let _0x22bdb9=_0x571827(_0x8adc3a);return this['has'](_0x22bdb9)||this['add'](_0x22bdb9,_0x178dc5[_0x8adc3a]),this['$'][_0x22bdb9];}});}return this['Be'];}['subConfigValue'](t,_0x16e7b9){let _0x5aa35c=_0x571827(t);return this['has'](_0x5aa35c)||this['add'](_0x5aa35c,_0x178dc5[t]),this['sub'](_0x5aa35c,_0x16e7b9);}},_0x733359=0x1,_0x1dabed=0x2,_0x65e557=_0x4939bf=>(..._0x2819c6)=>({'qr':_0x4939bf,'values':_0x2819c6}),_0x10d41f=class{constructor(_0x983a1e){}get['W'](){return this['f']['W'];}['Wr'](_0x4bfddf,t,_0x14550e){this['Wi']=_0x4bfddf,this['f']=t,this['iu']=_0x14550e;}['Lc'](_0xed3e96,t){return this['update'](_0xed3e96,t);}update(_0x5cfa32,t){return this['render'](...t);}},_0x1051eb=class extends _0x10d41f{constructor(_0x476127){if(super(_0x476127),this['it']=_0x5043ae,_0x476127['type']!==_0x1dabed)throw Error(this['constructor']['directiveName']+'()\x20can\x20only\x20be\x20used\x20in\x20child\x20bindings');}['render'](_0x323c7e){if(_0x323c7e===_0x5043ae||null==_0x323c7e)return this['wn']=void 0x0,this['it']=_0x323c7e;if(_0x323c7e===_0x8b11bb)return _0x323c7e;if('string'!=typeof _0x323c7e)throw Error(this['constructor']['directiveName']+'()\x20called\x20with\x20a\x20non-string\x20value');if(_0x323c7e===this['it'])return this['wn'];this['it']=_0x323c7e;let t=[_0x323c7e];return t['raw']=t,this['wn']={'Ne':this['constructor']['resultType'],'strings':t,'values':[]};}};_0x1051eb['directiveName']='unsafeHTML',_0x1051eb['resultType']=0x1;var _0x542a65=class extends _0x1051eb{};_0x542a65['directiveName']='unsafeSVG',_0x542a65['resultType']=0x2;var _0x30cbbf=_0x65e557(_0x542a65),_0x93946c=class extends _0xbf5cc2{constructor(){super(...arguments),this['init$']=(_0x4c2146=>({..._0x28c4b8(_0x4c2146),'*solution':null,'*lazyPlugins':null}))(this);}static{this['styleAttrs']=['uc-wgt-common'];}static{this['lazyPlugins']=null;}initCallback(){super['initCallback'](),this['a11y']?.['registerBlock'](this),this['clipboardLayer']?.['registerBlock'](this),this['sharedCtx']['pub']('*solution',this['tagName']);let t=this['constructor']['lazyPlugins'];t&&this['sharedCtx']['pub']('*lazyPlugins',t);}['render'](){return _0x13cf20`${_0x30cbbf('<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-about\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.152\x2014.12v.1h1.523v-.1c.007-.409.053-.752.138-1.028.086-.277.22-.517.405-.72.188-.202.434-.397.735-.586.32-.191.593-.412.82-.66.232-.249.41-.531.533-.847.125-.32.187-.678.187-1.076\x200-.579-.137-1.085-.41-1.518a2.717\x202.717\x200\x200\x200-1.14-1.018c-.49-.245-1.062-.367-1.715-.367-.597\x200-1.142.114-1.636.34-.49.228-.884.564-1.182\x201.008-.299.44-.46.98-.485\x201.619h1.62c.024-.377.118-.684.282-.922a1.48\x201.48\x200\x200\x201\x20.617-.532c.25-.114.51-.17.784-.17.301\x200\x20.575.063.82.191.248.124.447.302.597.533.149.23.223.504.223.82\x200\x20.263-.05.502-.149.72a1.91\x201.91\x200\x200\x201-.405.574\x203.48\x203.48\x200\x200\x201-.575.453\x204.22\x204.22\x200\x200\x200-.847.66c-.234.242-.415.558-.543.949-.125.39-.19.916-.197\x201.577Zm.053\x203.03c.21.206.46.31.75.31.196\x200\x20.374-.049.534-.144a1.1\x201.1\x200\x200\x200\x20.383-.384c.1-.163.15-.343.15-.538a1\x201\x200\x200\x200-.32-.746\x201.019\x201.019\x200\x200\x200-.746-.314c-.291\x200-.542.105-.751.314-.21.206-.314.455-.314.746\x200\x20.295.104.547.314.756ZM24\x2012c0\x206.627-5.373\x2012-12\x2012S0\x2018.627\x200\x2012\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012Zm-1.5\x200c0\x205.799-4.701\x2010.5-10.5\x2010.5S1.5\x2017.799\x201.5\x2012\x206.201\x201.5\x2012\x201.5\x2022.5\x206.201\x2022.5\x2012Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-add\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.75\x2021a.75.75\x200\x200\x201-1.5\x200v-8.25H3a.75.75\x200\x200\x201\x200-1.5h8.25V3a.75.75\x200\x200\x201\x201.5\x200v8.25H21a.75.75\x200\x200\x201\x200\x201.5h-8.25V21Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-arrow-down\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.5\x2023.03a.75.75\x200\x200\x200\x20.999\x200l9.29-8.276a.75.75\x200\x200\x200-.998-1.12l-8.042\x207.164V1.53a.75.75\x200\x200\x200-1.5\x200v19.267l-8.04-7.163a.75.75\x200\x200\x200-.998\x201.12z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27M7.395\x2022.5H2.454v-5.25m14.824\x205.25h4.94v-5.25m0-10.5V1.5h-4.94m-9.883\x200H2.454v5.25\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-back\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M20.251\x2012a.75.75\x200\x200\x201-.75.75H6.067l5.72\x205.85a.75.75\x200\x201\x201-1.072\x201.05L4.136\x2012.92a1.292\x201.292\x200\x200\x201\x200-1.842l6.579-6.728a.75.75\x200\x201\x201\x201.072\x201.048l-5.72\x205.851H19.5a.75.75\x200\x200\x201\x20.75.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.6\x2018.4a1.6\x201.6\x200\x201\x201-3.2\x200\x201.6\x201.6\x200\x200\x201\x203.2\x200zM12\x204.5A1.5\x201.5\x200\x200\x201\x2013.5\x206v7a1.5\x201.5\x200\x200\x201-3\x200V6A1.5\x201.5\x200\x200\x201\x2012\x204.5z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-success\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m10.5\x2018.204\x207.6-8.183a1.5\x201.5\x200\x200\x200-2.2-2.042l-5.4\x205.817-2.4-2.586a1.5\x201.5\x200\x201\x200-2.2\x202.041l4.6\x204.953Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-box\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M1.01\x204.148a.75.75\x200\x200\x201\x20.75.75v4.348a4.437\x204.437\x200\x200\x201\x202.988-1.153c1.734\x200\x203.23.992\x203.978\x202.438a4.478\x204.478\x200\x200\x201\x203.978-2.438c2.49\x200\x204.488\x202.044\x204.488\x204.543\x200\x202.5-1.999\x204.544-4.488\x204.544a4.478\x204.478\x200\x200\x201-3.978-2.438\x204.478\x204.478\x200\x200\x201-3.978\x202.438C2.26\x2017.18.26\x2015.135.26\x2012.636V4.898a.75.75\x200\x200\x201\x20.75-.75Zm.75\x208.488c0\x201.692\x201.348\x203.044\x202.988\x203.044s2.989-1.352\x202.989-3.044c0-1.691-1.349-3.043-2.989-3.043S1.76\x2010.945\x201.76\x2012.636Zm10.944-3.043c-1.64\x200-2.988\x201.352-2.988\x203.043\x200\x201.692\x201.348\x203.044\x202.988\x203.044s2.988-1.352\x202.988-3.044c0-1.69-1.348-3.043-2.988-3.043Zm4.328-1.23a.75.75\x200\x200\x201\x201.052.128l2.333\x202.983\x202.333-2.983a.75.75\x200\x200\x201\x201.181.924l-2.562\x203.277\x202.562\x203.276a.75.75\x200\x201\x201-1.181.924l-2.333-2.983-2.333\x202.983a.75.75\x200\x201\x201-1.181-.924l2.562-3.276-2.562-3.277a.75.75\x200\x200\x201\x20.129-1.052Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M2\x204.667a2\x202\x200\x200\x200-2\x202V16a2\x202\x200\x200\x200\x202\x202h16a2\x202\x200\x200\x200\x202-2V6.667a2\x202\x200\x200\x200-2-2h-2.667l-2-2.667H6.667l-2\x202.667H2Zm8\x2010a3.667\x203.667\x200\x201\x200\x200-7.334\x203.667\x203.667\x200\x200\x200\x200\x207.334Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-close\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M4.604\x204.604a.75.75\x200\x200\x201\x201.06\x200L12\x2010.939l6.335-6.335a.75.75\x200\x201\x201\x201.061\x201.06L13.061\x2012l6.335\x206.335a.75.75\x200\x201\x201-1.06\x201.061L12\x2013.061l-6.335\x206.335a.75.75\x200\x200\x201-1.061-1.06L10.939\x2012\x204.604\x205.665a.75.75\x200\x200\x201\x200-1.061z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-collapse\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3.116\x2012a.75.75\x200\x200\x201\x20.75-.75h16.268a.75.75\x200\x200\x201\x200\x201.5H3.866a.75.75\x200\x200\x201-.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-default\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-dropbox\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.019\x201.92a.75.75\x200\x200\x201\x20.806\x200L12\x205.219l5.176-3.297a.75.75\x200\x200\x201\x20.806\x200l5.577\x203.553a.75.75\x200\x200\x201\x200\x201.265l-4.574\x202.914\x204.574\x202.914a.75.75\x200\x200\x201\x200\x201.265l-5.577\x203.554a.75.75\x200\x200\x201-.806\x200L12\x2014.089l-5.175\x203.297a.75.75\x200\x200\x201-.806\x200L.44\x2013.833a.75.75\x200\x200\x201\x200-1.266l4.575-2.914L.44\x206.74a.75.75\x200\x200\x201\x200-1.265zm.403\x208.616L2.24\x2013.2l4.182\x202.664\x204.181-2.664zm6.975\x202.664\x204.182\x202.664L21.76\x2013.2l-4.181-2.664zm2.776-3.547L12\x2012.311\x207.828\x209.653\x2012\x206.995zm1.406-.882\x204.181-2.664-4.181-2.664-4.182\x202.664zm-6.976-2.664L6.422\x203.443\x202.24\x206.107\x206.422\x208.77zM5.791\x2018.544a.75.75\x200\x200\x201\x201.035-.23l5.175\x203.297\x205.175-3.297a.75.75\x200\x201\x201\x20.806\x201.265l-5.578\x203.554a.75.75\x200\x200\x201-.806\x200L6.02\x2019.579a.75.75\x200\x200\x201-.23-1.035z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-evernote\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M9.804\x202.27v-.048c.055-.263.313-.562.85-.562h.44c.142\x200\x20.325.014.526.033.066.009.124.023.267.06l.13.032h.002c.319.079.515.275.644.482a1.461\x201.461\x200\x200\x201\x20.16.356l.004.012a.75.75\x200\x200\x200\x20.603.577l1.191.207a1988.512\x201988.512\x200\x200\x200\x202.332.402c.512.083\x201.1.178\x201.665.442.64.3\x201.19.795\x201.376\x201.77.548\x202.931.657\x205.829.621\x208a39.233\x2039.233\x200\x200\x201-.125\x202.602\x2017.518\x2017.518\x200\x200\x201-.092.849.735.735\x200\x200\x200-.024.112c-.378\x202.705-1.269\x203.796-2.04\x204.27-.746.457-1.53.451-2.217.447h-.192c-.46\x200-1.073-.23-1.581-.635-.518-.412-.763-.87-.763-1.217\x200-.45.188-.688.355-.786.161-.095.436-.137.796.087a.75.75\x200\x201\x200\x20.792-1.274c-.766-.476-1.64-.52-2.345-.108-.7.409-1.098\x201.188-1.098\x202.08\x200\x20.996.634\x201.84\x201.329\x202.392.704.56\x201.638.96\x202.515.96l.185.002c.667.009\x201.874.025\x203.007-.67\x201.283-.786\x202.314-2.358\x202.733-5.276a4.213\x204.213\x200\x200\x200\x20.056-.335c.023-.184.051-.445.079-.772.055-.655.111-1.585.13-2.704.037-2.234-.074-5.239-.647-8.301v-.002c-.294-1.544-1.233-2.391-2.215-2.85-.777-.363-1.623-.496-2.129-.576a8.872\x208.872\x200\x200\x201-.25-.041l-.006-.001-1.99-.345-.761-.132a2.93\x202.93\x200\x200\x200-.182-.338A2.532\x202.532\x200\x200\x200\x2012.379.329l-.091-.023a3.967\x203.967\x200\x200\x200-.493-.103L11.769.2a7.846\x207.846\x200\x200\x200-.675-.04h-.44c-.733\x200-1.368.284-1.795.742L2.416\x207.431c-.468.428-.751\x201.071-.751\x201.81\x200\x20.02\x200\x20.041.003.062l.003.034c.017.21.038.468.096.796.107.715.275\x201.47.391\x201.994.029.13.055.245.075.342l.002.008c.258\x201.141.641\x201.94.978\x202.466.168.263.323.456.444.589a2.808\x202.808\x200\x200\x200\x20.192.194c1.536\x201.562\x203.713\x202.196\x205.731\x202.08.13-.005.35-.032.537-.073a2.627\x202.627\x200\x200\x200\x20.652-.24c.425-.26.75-.661.992-1.046.184-.294.342-.61.473-.915a3.8\x203.8\x200\x200\x200\x20.627.493\x205.022\x205.022\x200\x200\x200\x201.97.709l.023.002.018.003.11.016c.088.014.205.035.325.058l.056.014c.088.022.164.04.235.061a1.736\x201.736\x200\x200\x201\x20.145.048l.03.014c.765.34\x201.302\x201.09\x201.302\x201.871a.75.75\x200\x200\x200\x201.5\x200c0-1.456-.964-2.69-2.18-3.235a3.595\x203.595\x200\x200\x200-.679-.217l-.063-.015a10.616\x2010.616\x200\x200\x200-.606-.105l-.02-.003-.03-.003h-.002a3.542\x203.542\x200\x200\x201-1.331-.485c-.471-.298-.788-.692-.828-1.234a.75.75\x200\x200\x200-1.48-.106l-.001.003-.004.017a8.23\x208.23\x200\x200\x201-.092.352\x209.963\x209.963\x200\x200\x201-.298.892c-.132.34-.29.68-.47.966-.174.276-.339.454-.478.549a1.178\x201.178\x200\x200\x201-.221.072\x201.949\x201.949\x200\x200\x201-.241.036h-.013l-.032.002c-1.684.1-3.423-.437-4.604-1.65a.746.746\x200\x200\x200-.053-.05L4.84\x2014.6a1.348\x201.348\x200\x200\x201-.07-.073\x202.99\x202.99\x200\x200\x201-.293-.392c-.242-.379-.558-1.014-.778-1.985a54.1\x2054.1\x200\x200\x200-.083-.376\x2027.494\x2027.494\x200\x200\x201-.367-1.872l-.003-.02a6.791\x206.791\x200\x200\x201-.08-.67c.004-.277.086-.475.2-.609l.067-.067a.63.63\x200\x200\x201\x20.292-.145h.05c.18\x200\x201.095.055\x202.013.115l1.207.08.534.037a.747.747\x200\x200\x200\x20.052.002c.782\x200\x201.349-.206\x201.759-.585l.005-.005c.553-.52.622-1.225.622-1.76V6.24l-.026-.565A774.97\x20774.97\x200\x200\x201\x209.885\x204.4c-.042-.961-.081-1.939-.081-2.13ZM4.995\x206.953a251.126\x20251.126\x200\x200\x201\x202.102.137l.508.035c.48-.004.646-.122.715-.185.07-.068.146-.209.147-.649l-.024-.548a791.69\x20791.69\x200\x200\x201-.095-2.187L4.995\x206.953Zm16.122\x209.996Zm-5.479-5.323a.75.75\x200\x200\x200\x201.014.31\x202.04\x202.04\x200\x200\x201\x20.304-.089\x201.84\x201.84\x200\x200\x201\x20.544-.039c.215.023.321.06.37.085.033.016.039.026.047.04a.75.75\x200\x200\x200\x201.289-.767c-.337-.567-.906-.783-1.552-.85a3.334\x203.334\x200\x200\x200-1.002.062c-.27.056-.531.14-.705.234a.75.75\x200\x200\x200-.31\x201.014Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-expand\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m12\x208.337-8.47\x208.47a.75.75\x200\x200\x201-1.06-1.06l8.605-8.606a1.29\x201.29\x200\x200\x201\x201.85\x200l8.605\x208.605a.75.75\x200\x201\x201-1.06\x201.06L12\x208.338Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-external-source-placeholder\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-facebook\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12\x201.5C6.201\x201.5\x201.5\x206.201\x201.5\x2012c0\x204.943\x203.416\x209.089\x208.016\x2010.204v-6.108H7.383a.75.75\x200\x200\x201-.75-.75v-3.281a.75.75\x200\x200\x201\x20.75-.75h2.133V9.393c0-.958.225-2.511\x201.38-3.65\x201.194-1.177\x203.174-1.718\x206.254-1.056a.75.75\x200\x200\x201\x20.592.733v2.754a.75.75\x200\x200\x201-.75.75c-.692\x200-1.203.026-1.584.082-.387.057-.578.137-.675.202-.109.073-.237.205-.237\x201.029v1.078h2.39a.75.75\x200\x200\x201\x20.742.866l-.516\x203.281a.75.75\x200\x200\x201-.74.634h-1.876v6.106C19.09\x2021.082\x2022.5\x2016.939\x2022.5\x2012c0-5.799-4.701-10.5-10.5-10.5zM0\x2012C0\x205.373\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012c0\x205.995-4.395\x2010.961-10.138\x2011.856a.75.75\x200\x200\x201-.866-.74v-7.77a.75.75\x200\x200\x201\x20.75-.75h1.984l.28-1.781h-2.264a.75.75\x200\x200\x201-.75-.75v-1.828c0-.829.089-1.729.9-2.274.363-.244.807-.37\x201.293-.441a9.623\x209.623\x200\x200\x201\x201.053-.086V6.04c-2.41-.405-3.645.132-4.293.771-.737.728-.933\x201.793-.933\x202.582v2.672a.75.75\x200\x200\x201-.75.75H8.133v1.78h2.133a.75.75\x200\x200\x201\x20.75.75v7.772a.75.75\x200\x200\x201-.865.741C4.4\x2022.968\x200\x2018\x200\x2012z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M2.895\x201.201c0-.473.383-.857.857-.857h8.4c.227\x200\x20.445.09.606.251l8.4\x208.4c.16.16.25.379.25.606v13.2a.857.857\x200\x200\x201-.856.857h-16.8a.857.857\x200\x200\x201-.857-.857zm1.714.857v19.886h15.085V10.458h-7.542a.857.857\x200\x200\x201-.858-.857V2.058zm8.4\x201.213\x205.473\x205.473H13.01z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-flickr\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M5.959\x207.926c-2.298\x200-4.14\x201.834-4.14\x204.073\x200\x202.241\x201.842\x204.075\x204.14\x204.075\x202.302\x200\x204.145-1.834\x204.145-4.075\x200-2.238-1.843-4.073-4.145-4.073Zm-5.64\x204.073c0-3.086\x202.533-5.573\x205.64-5.573\x203.11\x200\x205.645\x202.486\x205.645\x205.573\x200\x203.089-2.535\x205.575-5.645\x205.575-3.107\x200-5.64-2.487-5.64-5.575Zm18.07-4.073c-2.301\x200-4.144\x201.835-4.144\x204.073\x200\x202.24\x201.843\x204.075\x204.145\x204.075\x202.299\x200\x204.141-1.834\x204.141-4.075\x200-2.239-1.842-4.073-4.141-4.073Zm-5.644\x204.073c0-3.087\x202.535-5.573\x205.645-5.573\x203.108\x200\x205.641\x202.487\x205.641\x205.573\x200\x203.088-2.533\x205.575-5.641\x205.575-3.11\x200-5.645-2.486-5.645-5.575Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gphotos\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.51\x200c-.702\x200-1.272.57-1.272\x201.273V7.35A6.381\x206.381\x200\x200\x200\x200\x2011.489c0\x20.703.57\x201.273\x201.273\x201.273H7.35A6.381\x206.381\x200\x200\x200\x2011.488\x2024c.704\x200\x201.274-.57\x201.274-1.273V16.65A6.381\x206.381\x200\x200\x200\x2024\x2012.51c0-.703-.57-1.273-1.273-1.273H16.65A6.381\x206.381\x200\x200\x200\x2012.511\x200Zm.252\x2011.232V1.53a4.857\x204.857\x200\x200\x201\x200\x209.702Zm-1.53.006H1.53a4.857\x204.857\x200\x200\x201\x209.702\x200Zm1.536\x201.524a4.857\x204.857\x200\x200\x200\x209.702\x200h-9.702Zm-6.136\x204.857c0-2.598\x202.04-4.72\x204.606-4.85v9.7a4.857\x204.857\x200\x200\x201-4.606-4.85Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-huddle\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.204\x202.002c-.252.23-.357.486-.357.67V21.07c0\x20.15.084.505.313.812.208.28.499.477.929.477.519\x200\x20.796-.174.956-.365.178-.212.286-.535.286-.924v-.013l.117-6.58c.004-1.725\x201.419-3.883\x203.867-3.883\x201.33\x200\x202.332.581\x202.987\x201.364.637.762.95\x201.717.95\x202.526v6.47c0\x20.392.11.751.305.995.175.22.468.41\x201.008.41.52\x200\x20.816-.198\x201.002-.437.207-.266.31-.633.31-.969V14.04c0-2.81-1.943-5.108-4.136-5.422a5.971\x205.971\x200\x200\x200-3.183.41c-.912.393-1.538.96-1.81\x201.489a.75.75\x200\x200\x201-1.417-.344v-7.5c0-.587-.47-1.031-1.242-1.031-.315\x200-.638.136-.885.36ZM5.194.892A2.844\x202.844\x200\x200\x201\x207.09.142c1.328\x200\x202.742.867\x202.742\x202.53v5.607a6.358\x206.358\x200\x200\x201\x201.133-.629\x207.47\x207.47\x200\x200\x201\x203.989-.516c3.056.436\x205.425\x203.482\x205.425\x206.906v6.914c0\x20.602-.177\x201.313-.627\x201.89-.47.605-1.204\x201.016-2.186\x201.016-.96\x200-1.698-.37-2.179-.973-.46-.575-.633-1.294-.633-1.933v-6.469c0-.456-.19-1.071-.602-1.563-.394-.471-.986-.827-1.836-.827-1.447\x200-2.367\x201.304-2.367\x202.39v.014l-.117\x206.58c-.001.64-.177\x201.333-.637\x201.881-.48.57-1.2.9-2.105.9-.995\x200-1.7-.5-2.132-1.081-.41-.552-.61-1.217-.61-1.708V2.672c0-.707.366-1.341.847-1.78Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-info\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11\x209h2V7h-2m1\x2013c-4.41\x200-8-3.59-8-8s3.59-8\x208-8\x208\x203.59\x208\x208-3.59\x208-8\x208m0-18A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202m-1\x2015h2v-6h-2v6Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-local\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3\x203.75a1.5\x201.5\x200\x200\x200-1.5\x201.5v13.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V9A1.5\x201.5\x200\x200\x200\x2021\x207.5h-9a.75.75\x200\x200\x201-.643-.364L9.325\x203.75zm-3\x201.5a3\x203\x200\x200\x201\x203-3h6.75a.75.75\x200\x200\x201\x20.643.364L12.425\x206H21a3\x203\x200\x200\x201\x203\x203v9.75a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200v6.469a4.5\x204.5\x200\x201\x201-9\x200V4.781Zm4.5-3a3\x203\x200\x200\x200-3\x203v6.469a3\x203\x200\x201\x200\x206\x200V4.781a3\x203\x200\x200\x200-3-3Zm-8.156\x208.11a.75.75\x200\x200\x201\x20.75.75\x207.406\x207.406\x200\x201\x200\x2014.812\x200\x20.75.75\x200\x200\x201\x201.5\x200\x208.907\x208.907\x200\x200\x201-8.156\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.907\x208.907\x200\x200\x201-8.156-8.875.75.75\x200\x200\x201\x20.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone-mute\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200V6l3.524-3.524a.75.75\x200\x201\x201\x201.061\x201.06L5.036\x2019.585a.75.75\x200\x200\x201-1.06-1.06l1.656-1.657a8.88\x208.88\x200\x200\x201-2.538-6.227.75.75\x200\x200\x201\x201.5\x200c0\x202.009.8\x203.83\x202.1\x205.166l1.771-1.772A4.483\x204.483\x200\x200\x201\x207.5\x2011.25V4.781Zm2.037\x208.182L15\x207.5V4.781a3\x203\x200\x201\x200-6\x200v6.469c0\x20.637.198\x201.227.537\x201.713Zm10.62-3.072a.75.75\x200\x200\x201\x20.75.75\x208.907\x208.907\x200\x200\x201-8.157\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.855\x208.855\x200\x200\x201-3.035-.811.75.75\x200\x201\x201\x20.638-1.358\x207.406\x207.406\x200\x200\x200\x2010.553-6.707.75.75\x200\x200\x201\x20.75-.75ZM15\x2010.81a.75.75\x200\x200\x201\x201.5\x200v.439a4.5\x204.5\x200\x200\x201-5\x204.473.75.75\x200\x201\x201\x20.166-1.491A3\x203\x200\x200\x200\x2015\x2011.25v-.44Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-mobile-photo-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-mobile-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-ngdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-onedrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.616\x204.147a7.689\x207.689\x200\x200\x200-7.642\x203.285A6.299\x206.299\x200\x200\x200\x201.455\x2017.3c.684.894\x202.473\x202.658\x205.17\x202.658h12.141c.95\x200\x201.882-.256\x202.697-.743.815-.486\x201.514-1.247\x201.964-2.083a5.26\x205.26\x200\x200\x200-3.713-7.612\x207.69\x207.69\x200\x200\x200-6.098-5.373ZM3.34\x2017.15c.674.63\x201.761\x201.308\x203.284\x201.308h12.142a3.76\x203.76\x200\x200\x200\x202.915-1.383l-7.494-4.489L3.34\x2017.15Zm10.875-6.25\x202.47-1.038a5.239\x205.239\x200\x200\x201\x201.427-.389\x206.19\x206.19\x200\x200\x200-10.3-1.952\x206.338\x206.338\x200\x200\x201\x202.118.813l4.285\x202.567Zm4.55.033c-.512\x200-1.019.104-1.489.307l-.006.003-1.414.594\x206.521\x203.906a3.76\x203.76\x200\x200\x200-3.357-4.8l-.254-.01ZM4.097\x209.617A4.799\x204.799\x200\x200\x201\x206.558\x208.9c.9\x200\x201.84.25\x202.587.713l3.4\x202.037-10.17\x204.28a4.799\x204.799\x200\x200\x201\x201.721-6.312Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-pause\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20d=\x27M1\x200h2.5v10H1zM6.5\x200H9v10H6.5z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-play\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m1\x200\x209\x205-9\x205V0Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-remove-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.955\x203.3A2.969\x202.969\x200\x200\x200\x208.998\x206h5.914a2.97\x202.97\x200\x200\x200-2.957-2.7zM16.416\x206a4.47\x204.47\x200\x200\x200-8.922\x200h-2.32a.755.755\x200\x200\x200-.111.008H3.075a.75.75\x200\x201\x200\x200\x201.5h1.35V19.35a2.85\x202.85\x200\x200\x200\x202.85\x202.85h9.45a2.85\x202.85\x200\x200\x200\x202.85-2.85V7.508h1.35a.75.75\x200\x200\x200\x200-1.5h-1.989A.754.754\x200\x200\x200\x2018.825\x206zM5.925\x207.508V19.35a1.35\x201.35\x200\x200\x200\x201.35\x201.35h9.45a1.35\x201.35\x200\x200\x200\x201.35-1.35V7.508z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-select\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m7\x2010\x205\x205\x205-5H7Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-square\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><rect\x20width=\x2720\x27\x20height=\x2720\x27\x20rx=\x274\x27\x20fill=\x27#fff\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-url\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M19.11\x203.67c-1.71-1.709-4.578-1.682-6.408.148l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221C14.018.381\x2017.836.276\x2020.17\x202.61l1.22\x201.22c2.335\x202.334\x202.23\x206.153-.147\x208.529l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221c1.83-1.83\x201.856-4.698.147-6.408zm-3.36\x204.58a.75.75\x200\x200\x201\x200\x201.06l-6.439\x206.44a.75.75\x200\x200\x201-1.06-1.06l6.439-6.44a.75.75\x200\x200\x201\x201.06\x200zM6.04\x209.42a.75.75\x200\x200\x201\x200\x201.061l-2.222\x202.222c-1.83\x201.83-1.856\x204.698-.147\x206.407l1.22\x201.22c1.71\x201.71\x204.578\x201.683\x206.408-.147l2.221-2.221a.75.75\x200\x201\x201\x201.06\x201.06l-2.22\x202.222c-2.377\x202.376-6.195\x202.481-8.53.147l-1.22-1.22c-2.334-2.334-2.228-6.153.148-8.53l2.221-2.22a.75.75\x200\x200\x201\x201.06\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-video-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2\x203.333a2\x202\x200\x200\x200-2\x202v9.334a2\x202\x200\x200\x200\x202\x202h10.938a2\x202\x200\x200\x200\x202-2v-2.013L20\x2015.646V4.354l-5.063\x203.03v-2.05a2\x202\x200\x200\x200-2-2H2Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-vk\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol></svg>')}`;}},_0x55a27a=_0x4ba6af=>'number'!=typeof _0x4ba6af?0x0:Math['floor'](_0x4ba6af/0x3e8),_0x46baa7=class extends _0x10559c{constructor(){super(...arguments),this['We']=null;}async getSecureToken(){let {secureSignature:t,secureExpire:_0x511a9f,secureUploadsSignatureResolver:_0x2bba3c,secureUploadsExpireThreshold:_0x45e05f}=this['ze'];if((t||_0x511a9f)&&_0x2bba3c&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x2bba3c){if(!this['We']||((_0x3ae980,{threshold:_0x3add0c})=>{let {secureExpire:t}=_0x3ae980,_0x1e4741=_0x55a27a(Date['now']()),_0x2a5fb8=Number(t);return _0x1e4741+_0x55a27a(_0x3add0c)>=_0x2a5fb8;})(this['We'],{'threshold':_0x45e05f})){this['We']?this['w']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['w']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{let _0x42e112=await _0x2bba3c();_0x42e112?_0x42e112['secureSignature']&&_0x42e112['secureExpire']?(this['w']('Secure\x20signature\x20resolved:',_0x42e112),this['w']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x42e112['secureExpire']))['toISOString']()),this['We']=_0x42e112):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x42e112):(this['w']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['We']=null);}catch(_0x443653){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x443653),this['i']['telemetryManager']['sendEventError'](_0x443653,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['We'];}return t&&_0x511a9f?(this['w']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':t,'secureExpire':_0x511a9f}),{'secureSignature':t,'secureExpire':_0x511a9f}):null;}destroy(){super['destroy'](),this['We']=null;}},_0x3ffbf9=(_0x4d8c3e,_0x850e2e)=>{if(_0x4d8c3e['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x850e2e['l10n']('some-files-were-not-uploaded')};},_0xc1f919=(_0x4b25cd,_0x2aa917)=>{let t=_0x4b25cd['totalCount'],_0x2dfae8=_0x2aa917['cfg']['multiple']?_0x2aa917['cfg']['multipleMin']:0x0,_0x58e17d=_0x2aa917['cfg']['multiple']?_0x2aa917['cfg']['multipleMax']:0x1;return _0x2dfae8&&t<_0x2dfae8?{'type':'TOO_FEW_FILES','message':_0x2aa917['l10n']('files-count-limit-error-too-few',{'min':_0x2dfae8,'max':_0x58e17d,'total':t}),'payload':{'total':t,'min':_0x2dfae8,'max':_0x58e17d}}:_0x58e17d&&t>_0x58e17d?{'type':'TOO_MANY_FILES','message':_0x2aa917['l10n']('files-count-limit-error-too-many',{'min':_0x2dfae8,'max':_0x58e17d,'total':t}),'payload':{'total':t,'min':_0x2dfae8,'max':_0x58e17d}}:void 0x0;},_0x219c67=(_0x7b36de,_0x504b81)=>{let t=_0x504b81['cfg']['imgOnly'],_0x38d88a=_0x504b81['cfg']['accept'],_0x55f8a2=_0x358bcc([...t?_0x328491:[],_0x38d88a]);if(!_0x55f8a2['length'])return;let _0x3e2cac=_0x7b36de['mimeType'],_0x265974=_0x7b36de['name'];if(!_0x3e2cac||!_0x265974)return;let _0x35e088=_0x414025(_0x3e2cac,_0x55f8a2),_0x31cfdf=((_0x5441e5,_0x4b6f38)=>_0x4b6f38['some'](t=>!!t['startsWith']('.')&&_0x5441e5['toLowerCase']()['endsWith'](t['toLowerCase']())))(_0x265974,_0x55f8a2);return _0x35e088||_0x31cfdf?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x504b81['l10n']('file-type-not-allowed'),'payload':{'entry':_0x7b36de}};},_0x47da12=(_0x3c1e81,_0x179742)=>{let t=_0x179742['cfg']['imgOnly'],_0x4bf266=_0x3c1e81['isImage'];if(t&&!_0x4bf266&&(_0x3c1e81['fileInfo']||!_0x3c1e81['externalUrl'])&&(_0x3c1e81['fileInfo']||_0x3c1e81['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x179742['l10n']('images-only-accepted'),'payload':{'entry':_0x3c1e81}};},_0xdf409a=0x3e8,_0x1cdd73=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x213191=_0x610a31=>Math['ceil'](0x64*_0x610a31)/0x64,_0x4b7fcf=(_0x3b174c,_0x568c0c=_0x1cdd73['AUTO'])=>{let t=_0x568c0c===_0x1cdd73['AUTO'];return _0x568c0c===_0x1cdd73['BYTE']||t&&_0x3b174c<0x3e8?_0x3b174c+'\x20'+('one'===_0x5a5922('en-US',_0x3b174c)?'byte':'bytes'):_0x568c0c===_0x1cdd73['KB']||t&&_0x3b174c<_0xdf409a**0x2?_0x213191(_0x3b174c/0x3e8)+'\x20KB':_0x568c0c===_0x1cdd73['MB']||t&&_0x3b174c<_0xdf409a**0x3?_0x213191(_0x3b174c/_0xdf409a**0x2)+'\x20MB':_0x568c0c===_0x1cdd73['GB']||t&&_0x3b174c<_0xdf409a**0x4?_0x213191(_0x3b174c/_0xdf409a**0x3)+'\x20GB':_0x568c0c===_0x1cdd73['TB']||t&&_0x3b174c<_0xdf409a**0x5?_0x213191(_0x3b174c/_0xdf409a**0x4)+'\x20TB':_0x213191(_0x3b174c/_0xdf409a**0x5)+'\x20PB';},_0x8ea180=(_0x337315,_0x3c2d3a)=>{let t=_0x3c2d3a['cfg']['maxLocalFileSizeBytes'],_0x1982f3=_0x337315['size'];if(t&&_0x1982f3&&_0x1982f3>t)return{'type':'FILE_SIZE_EXCEEDED','message':_0x3c2d3a['l10n']('files-max-size-limit-error',{'maxFileSize':_0x4b7fcf(t)}),'payload':{'entry':_0x337315}};},_0x354f0f=(_0x38c601,_0x4db62f)=>{let {internalId:t}=_0x38c601;if(!_0x4db62f['v']['hasItem'](t))return;let _0x1eb4b7=_0x4db62f['v']['read'](t)?.['getValue']('uploadError');if(!_0x1eb4b7)return;if(_0x1eb4b7 instanceof _0x559f27)return{'type':'UPLOAD_ERROR','message':_0x1eb4b7['message'],'payload':{'entry':_0x38c601,'error':_0x1eb4b7}};if(_0x1eb4b7 instanceof _0x38a0df)return{'type':'NETWORK_ERROR','message':_0x1eb4b7['message'],'payload':{'entry':_0x38c601,'error':_0x1eb4b7}};let _0x33ca81=_0x1eb4b7 instanceof Error?_0x1eb4b7:new Error('Unknown\x20error',{'cause':_0x1eb4b7});return{'type':'UNKNOWN_ERROR','message':_0x33ca81['message'],'payload':{'entry':_0x38c601,'error':_0x33ca81}};},_0x13c568='File\x20validator\x20execution\x20has\x20failed',_0x28b5d0='File\x20validator\x20execution\x20has\x20timed\x20out',_0x218337='Collection\x20validator\x20execution\x20has\x20failed',_0x30c1a5='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',_0x5b2136=_0xa328cd=>'function'==typeof _0xa328cd?{'runOn':'change','validator':_0xa328cd}:_0xa328cd,_0x50997a=class extends _0x10559c{constructor(t){super(t),this['ru']=[_0x47da12,_0x219c67,_0x8ea180,_0x354f0f],this['ou']=[_0xc1f919,_0x3ffbf9],this['St']=new _0x2cd4aa(0x14),this['Tn']=_0x1c0742(()=>{this['St']['run']();},0x1f4),this['Ie']=!0x1,this['At']=new Map();let _0x27dffb=_0x1c0742(()=>{this['runFileValidators']('change'),this['runCollectionValidators']();},0x0);this['addSub'](this['e']['sub'](_0x571827('maxLocalFileSizeBytes'),_0x27dffb)),this['addSub'](this['e']['sub'](_0x571827('multipleMin'),_0x27dffb)),this['addSub'](this['e']['sub'](_0x571827('multipleMax'),_0x27dffb)),this['addSub'](this['e']['sub'](_0x571827('multiple'),_0x27dffb)),this['addSub'](this['e']['sub'](_0x571827('imgOnly'),_0x27dffb)),this['addSub'](this['e']['sub'](_0x571827('accept'),_0x27dffb)),this['addSub'](this['e']['sub'](_0x571827('validationConcurrency'),_0x100137=>{this['St']['concurrency']=_0x100137;}));}get['v'](){return this['i']['uploadCollection'];}runFileValidators(t,_0x1fce30){if(this['Ie'])return;let _0x468f93=_0x1fce30??this['v']['items']();for(let _0x485b72 of _0x468f93){let _0x224b49=this['v']['read'](_0x485b72);_0x224b49&&this['su'](_0x224b49,t);}}runCollectionValidators(){if(this['Ie'])return;let t=this['i']['api'],_0x154bea=t['getOutputCollectionState'](),_0x371f8e=[],_0x54d275=this['ze']['collectionValidators'];for(let _0x1aad91 of[...this['ou'],..._0x54d275])try{let _0x43468e=_0x1aad91(_0x154bea,t);if(!_0x43468e)continue;_0x43468e&&(_0x371f8e['push'](this['En'](_0x43468e)),_0x43468e['message']||console['warn'](_0x30c1a5));}catch(_0x50be26){console['warn'](_0x218337,_0x50be26);}this['e']['pub']('*collectionErrors',_0x371f8e),_0x371f8e['length']>0x0&&this['i']['eventEmitter']['emit'](_0x468933['COMMON_UPLOAD_FAILED'],()=>t['getOutputCollectionState'](),{'debounce':!0x0});}cleanupValidationForEntry(t){let _0x5b578b=this['At']['get'](t['uid']);_0x5b578b&&(_0x5b578b['abortController']?.['abort'](),this['At']['delete'](t['uid']));}async['su'](t,_0x13b919){if(this['Ie'])return;let _0x2fa930=this['i']['api'],_0x55bcb5=this['xn'](t),_0x237231=_0x55bcb5['promise']??Promise['resolve'](),_0x22130a=((async()=>{if(this['Ie']||(await _0x237231,this['Ie']))return;let _0x1e2623=this['nu'](t,_0x13b919);if(0x0===_0x1e2623['length']||!this['v']['hasItem'](t['uid']))return;t['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});let _0x4f896f=_0x2fa930['getOutputItem'](t['uid']),_0x508a8d=new AbortController();_0x55bcb5['abortController']=_0x508a8d;let _0x317959=this['ze']['validationTimeout'],_0x32646e=this['Cn'](),_0x41e347=new Set(_0x1e2623['map'](_0x4f1d41=>_0x4f1d41['validator'])),_0x2ee061=[];for(let _0x3edf04 of _0x32646e)if(!_0x41e347['has'](_0x3edf04['validator'])){let _0x2ab115=_0x55bcb5['lastErrorThrownByValidator']['get'](_0x3edf04['validator']);_0x2ab115&&_0x2ee061['push'](_0x2ab115);}let _0x1c0111=_0x1e2623['map'](_0x11a155=>async()=>{if(this['Ie'])return;let _0x55d9b5=setTimeout(()=>{_0x55bcb5['skippedValidators']['add'](_0x11a155['validator']),_0x508a8d['abort'](),console['warn'](_0x28b5d0);},_0x317959);try{let _0x10604e=await _0x11a155['validator'](_0x4f896f,_0x2fa930,{'signal':_0x508a8d['signal']});if(!_0x10604e||_0x508a8d['signal']['aborted'])return void _0x55bcb5['lastErrorThrownByValidator']['set'](_0x11a155['validator'],void 0x0);let _0x389995=this['En'](_0x10604e);_0x55bcb5['lastErrorThrownByValidator']['set'](_0x11a155['validator'],_0x389995),_0x2ee061['push'](_0x389995),_0x10604e['message']||console['warn'](_0x30c1a5);}catch(_0x4f2f69){_0x508a8d['signal']['aborted']||(_0x55bcb5['skippedValidators']['add'](_0x11a155['validator']),console['warn'](_0x13c568,_0x4f2f69),this['i']['telemetryManager']['sendEventError'](_0x4f2f69,'file\x20validator.\x20'+_0x13c568));}finally{clearTimeout(_0x55d9b5),'change'!==_0x11a155['runOn']&&_0x55bcb5['skippedValidators']['add'](_0x11a155['validator']);}});this['Tn'](),await this['St']['add'](async()=>{this['Ie']||(t['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x1c0111['map'](_0x324ba6=>_0x324ba6()))['catch'](()=>{}));},{'autoRun':!0x1}),_0x508a8d['signal']['aborted']?t['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}):t['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x2ee061});})());_0x55bcb5['promise']=_0x22130a;try{await _0x22130a;}finally{_0x55bcb5['promise']===_0x22130a&&(_0x55bcb5['promise']=void 0x0);}}['En'](t){return{...t,'type':t['type']??'CUSTOM_ERROR'};}['xn'](t){let _0x16831a=this['At']['get'](t['uid']);if(_0x16831a)return _0x16831a;let _0x3526bf={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['At']['set'](t['uid'],_0x3526bf),_0x3526bf;}['Cn'](){let t=this['ze']['fileValidators'];return[...this['ru'],...t]['map'](_0x5b2136);}['nu'](t,_0x5f1471){let _0x3f6d03=this['xn'](t);return this['Cn']()['filter'](_0x44a770=>!_0x3f6d03['skippedValidators']['has'](_0x44a770['validator']))['filter'](_0x52409a=>_0x52409a['runOn']===_0x5f1471);}destroy(){this['Ie']=!0x0,this['Tn']['cancel']();for(let t of this['At']['values']())t['abortController']?.['abort'](),t['promise']=void 0x0;this['At']['clear']();}},_0x3f193d='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x3e5da1=class{constructor(_0x3547e3){this['J']=_0x138f26['generateFastUid'](),this['Y']=_0x5f1c09['registerCtx'](_0x3547e3,this['J']);}get['uid'](){return this['J'];}setValue(_0x1f121d,t){this['Y']['has'](_0x1f121d)?this['Y']['read'](_0x1f121d)!==t&&this['Y']['pub'](_0x1f121d,t):console['warn'](''+_0x3f193d+String(_0x1f121d));}setMultipleValues(_0x5b46ef){for(let [t,_0x4b3439]of Object['entries'](_0x5b46ef))this['setValue'](t,_0x4b3439);}getValue(_0x45d7b9){return this['Y']['has'](_0x45d7b9)||console['warn'](''+_0x3f193d+String(_0x45d7b9)),this['Y']['read'](_0x45d7b9);}['subscribe'](_0x2db7de,t){return this['Y']['sub'](_0x2db7de,t);}destroy(){_0x5f1c09['deleteCtx'](this['J']);}},_0x488175=class _0x3b1e5b{constructor(_0x26e6c9){this['Pe']=Object['create'](null),this['Zi']=new Set(),this['Yi']=new Set(),this['ye']=new Set(),this['fo']=new Set(),this['mo']=new Set(),this['kt']=new Set(),this['kn']=_0x26e6c9['initialValue'],this['J']=_0x138f26['generateFastUid'](),this['Y']=_0x5f1c09['registerCtx']({},this['J']),this['Sn']=_0x26e6c9['watchList']||[];let t=Object['create'](null);this['An']=(_0x11c4ac,_0x14f9e4)=>{this['Jt']&&window['clearTimeout'](this['Jt']),t[_0x11c4ac]||(t[_0x11c4ac]=new Set()),t[_0x11c4ac]['add'](_0x14f9e4),this['Jt']=window['setTimeout'](()=>{0x0!==Object['keys'](t)['length']&&(this['Zi']['forEach'](_0x5bd386=>{_0x5bd386({...t});}),t=Object['create'](null));}),this['Mn']();},_0x26e6c9['handler']&&this['observeCollection'](_0x26e6c9['handler']);}static{this['au']=0x2710;}['q'](){this['ei']&&window['clearTimeout'](this['ei']),this['ei']=window['setTimeout'](()=>{let _0x314e68=new Set(this['mo']),t=new Set(this['fo']);this['mo']['clear'](),this['fo']['clear']();for(let _0x29d602 of this['Yi'])_0x29d602?.([...this['ye']],_0x314e68,t);this['Mn']();});}['Mn'](){0x0!==this['kt']['size']&&(this['ti']&&window['clearTimeout'](this['ti']),this['ti']=window['setTimeout'](()=>{let _0x48a3c9=[...this['kt']];this['kt']['clear']();for(let t of _0x48a3c9)t['destroy']();},_0x3b1e5b['au']));}observeCollection(_0x3672b0){return this['Yi']['add'](_0x3672b0),this['ye']['size']>0x0&&this['q'](),()=>{this['unobserveCollection'](_0x3672b0);};}unobserveCollection(_0x40a422){this['Yi']['delete'](_0x40a422);}['add'](_0x5e4a0b){let t=new _0x3e5da1(this['kn']);for(let [_0x2303b3,_0x288bc0]of Object['entries'](_0x5e4a0b))t['setValue'](_0x2303b3,_0x288bc0);return this['ye']['add'](t['uid']),this['q'](),this['Y']['add'](t['uid'],t),this['mo']['add'](t),this['Sn']['forEach'](_0xa30232=>{this['Pe'][t['uid']]||(this['Pe'][t['uid']]=[]),this['Pe'][t['uid']]?.['push'](t['subscribe'](_0xa30232,()=>{this['An'](_0xa30232,t['uid']);}));}),t['uid'];}hasItem(_0x48a6f7){return this['ye']['has'](_0x48a6f7);}['read'](_0x3e085e){return this['Y']['read'](_0x3e085e)??null;}['readProp'](_0x2b9b84,t){let _0x2d0f28=this['read'](_0x2b9b84);if(!_0x2d0f28)throw new Error('TypedCollection#readProp:\x20Item\x20with\x20id\x20'+_0x2b9b84+'\x20not\x20found');return _0x2d0f28['getValue'](t);}['publishProp'](_0x18d35b,t,_0x2738dc){let _0x46afab=this['read'](_0x18d35b);if(!_0x46afab)throw new Error('TypedCollection#publishProp:\x20Item\x20with\x20id\x20'+_0x18d35b+'\x20not\x20found');_0x46afab['setValue'](t,_0x2738dc);}['remove'](_0x32c2bd){let t=this['read'](_0x32c2bd);t&&(this['fo']['add'](t),this['kt']['add'](t)),this['ye']['delete'](_0x32c2bd),this['q'](),this['Y']['pub'](_0x32c2bd,void 0x0),this['Pe'][_0x32c2bd]?.['forEach'](_0x3b1655=>{_0x3b1655();}),delete this['Pe'][_0x32c2bd];}['clearAll'](){this['ye']['forEach'](_0x4c61e5=>{this['remove'](_0x4c61e5);});}observeProperties(_0x470207){return this['Zi']['add'](_0x470207),()=>{this['unobserveProperties'](_0x470207);};}unobserveProperties(_0x517ca5){this['Zi']['delete'](_0x517ca5);}findItems(_0x54e29b){let t=[];return this['ye']['forEach'](_0x51c3bd=>{let _0x3e252c=this['read'](_0x51c3bd);_0x3e252c&&_0x54e29b(_0x3e252c)&&t['push'](_0x51c3bd);}),t;}items(){return[...this['ye']];}get['size'](){return this['ye']['size'];}destroy(){this['Jt']&&window['clearTimeout'](this['Jt']),this['ei']&&window['clearTimeout'](this['ei']),this['ti']&&window['clearTimeout'](this['ti']);for(let _0x115b28 of this['kt'])_0x115b28['destroy']();this['kt']['clear'](),_0x5f1c09['deleteCtx'](this['J']),this['Zi']=new Set(),this['Yi']=new Set();for(let _0x40fbcb of Object['keys'](this['Pe']))this['Pe'][_0x40fbcb]?.['forEach'](t=>{t();}),delete this['Pe'][_0x40fbcb];}},_0x6df8d7=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),_0x14341b=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x5ee5e0=(_0x5825fc,_0x5e4d32,{timeout:t=0x3e8,onTimeout:_0x24c6fd}={})=>new Promise(_0x147933=>{let _0xa02cf2,_0x23806b=setTimeout(()=>{cancelAnimationFrame(_0xa02cf2),_0x24c6fd?.();},t),_0x2d3737=()=>{for(let _0x1d1110 of _0x5825fc)if(_0x5e4d32(_0x1d1110))return clearTimeout(_0x23806b),void _0x147933(_0x1d1110);_0xa02cf2=requestAnimationFrame(_0x2d3737);};_0x2d3737();});function _0x283d53(_0x4f8d23,_0x445c17){for(let t in _0x445c17)t['includes']('-')?_0x4f8d23['style']['setProperty'](t,String(_0x445c17[t])):_0x4f8d23['style'][t]=String(_0x445c17[t]);}var _0xe4cb82=new RegExp('^/?('+/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x408cb7=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','DROPBOX_CHOOSER':'dropboxchooser','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x182360=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x4b5b6e=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url',..._0x182360,..._0x408cb7}),_0x2a872b={[_0x408cb7['DROPBOX_CHOOSER']]:_0x408cb7['DROPBOX']},_0x13bde9=_0x3824b7=>_0x2a872b[_0x3824b7]??_0x3824b7,_0x469e04=_0x54a886=>_0x54a886['uploadCollection']['items']()['map'](_0x3387b3=>_0x54a886['api']['getOutputItem'](_0x3387b3));function _0x18d594(_0x4a1ea6){let _0x368c19=new Map();return(..._0x5f1957)=>{let _0x373f6b=JSON['stringify'](_0x5f1957);if(_0x368c19['has'](_0x373f6b))return _0x368c19['get'](_0x373f6b);let _0x56cac3=_0x4a1ea6(..._0x5f1957);return _0x368c19['set'](_0x373f6b,_0x56cac3),_0x56cac3;};}var t1=new Set();function _0x5a9192(_0x52370d){t1['has'](_0x52370d)||(t1['add'](_0x52370d),console['warn'](_0x52370d));}function _0x32cba6(_0x5d4871){let _0xfd6590={},t=_0x5d4871['ctx'],_0x9df29d={'progress':()=>t['read']('*commonProgress'),'errors':()=>t['read']('*collectionErrors'),'group':()=>t['read']('*groupInfo'),'totalCount':()=>_0x5d4871['uploadCollection']['size'],'failedCount':()=>_0xfd6590['failedEntries']['length'],'successCount':()=>_0xfd6590['successEntries']['length'],'uploadingCount':()=>_0xfd6590['uploadingEntries']['length'],'status':()=>_0xfd6590['isFailed']?'failed':_0xfd6590['isUploading']?'uploading':_0xfd6590['isSuccess']?'success':'idle','isSuccess':()=>_0xfd6590['allEntries']['length']>0x0&&0x0===_0xfd6590['errors']['length']&&_0xfd6590['successEntries']['length']===_0xfd6590['allEntries']['length'],'isUploading':()=>_0xfd6590['allEntries']['some'](_0x3d7fcb=>'uploading'===_0x3d7fcb['status']),'isFailed':()=>_0xfd6590['errors']['length']>0x0||_0xfd6590['failedEntries']['length']>0x0,'allEntries':()=>_0x469e04(_0x5d4871),'successEntries':()=>_0xfd6590['allEntries']['filter'](_0x292e6e=>'success'===_0x292e6e['status']),'failedEntries':()=>_0xfd6590['allEntries']['filter'](_0x154c5f=>'failed'===_0x154c5f['status']),'uploadingEntries':()=>_0xfd6590['allEntries']['filter'](_0x1f53bf=>'uploading'===_0x1f53bf['status']),'idleEntries':()=>_0xfd6590['allEntries']['filter'](_0x3702f9=>'idle'===_0x3702f9['status'])},_0x544b09=function(_0x4341dc){let _0x330df4=!0x1;return setTimeout(()=>{_0x330df4=!0x0;},0x0),_0x24dd70=>(..._0x1d1703)=>(_0x330df4&&_0x5a9192(_0x4341dc),_0x24dd70(..._0x1d1703));}('You\x27re\x20trying\x20to\x20access\x20the\x20OutputCollectionState\x20asynchronously.\x20In\x20this\x20case,\x20the\x20data\x20you\x20retrieve\x20will\x20be\x20newer\x20than\x20it\x20was\x20when\x20the\x20OutputCollectionState\x20was\x20created\x20or\x20when\x20the\x20event\x20was\x20dispatched.\x20If\x20you\x20want\x20to\x20retain\x20the\x20state\x20at\x20a\x20specific\x20moment\x20in\x20time,\x20you\x20should\x20use\x20the\x20spread\x20operator\x20like\x20this:\x20`{...outputCollectionState}`\x20or\x20`{...e.detail}`');for(let [_0x244b9e,_0x37e88f]of Object['entries'](_0x9df29d)){let _0xcf6d62=_0x244b9e,_0x11c72c=_0x18d594(_0x544b09(_0x37e88f));Object['defineProperty'](_0xfd6590,_0xcf6d62,{'get':_0x11c72c,'enumerable':!0x0});}return _0xfd6590;}var _0x45f075=class extends _0x10559c{constructor(){super(...arguments),this['Et']=_0x1fd055(()=>this['e']),this['addFileFromUrl']=(t,{silent:_0x4a10ec,fileName:_0x35f545,source:_0x1e9456}={})=>{let _0x22f3a1=this['v']['add']({'externalUrl':t,'fileName':_0x35f545??null,'silent':_0x4a10ec??!0x1,'source':_0x1e9456??_0x4b5b6e['API']});return this['getOutputItem'](_0x22f3a1);},this['addFileFromUuid']=(t,{silent:_0x1b8cd0,fileName:_0x142c91,source:_0x37e1fc}={})=>{let _0x184eb1=this['v']['add']({'uuid':t,'fileName':_0x142c91??null,'silent':_0x1b8cd0??!0x1,'source':_0x37e1fc??_0x4b5b6e['API']});return this['getOutputItem'](_0x184eb1);},this['addFileFromCdnUrl']=(t,{silent:_0x148d6d,fileName:_0x17cbae,source:_0x4f5004}={})=>{let _0x350974=(({url:_0x2f43e7,cdnBase:_0x22b51b})=>{let t=new URL(_0x22b51b),_0x37e34c=new URL(_0x5e57b0),_0x18242f=new URL(_0x2f43e7);if(t['host']!==_0x18242f['host']&&_0x37e34c['host']!==_0x18242f['host'])return null;let _0x126099=_0xe4cb82['exec'](_0x18242f['pathname']);if(!_0x126099)return null;let [,_0x32bfce,_0x170a60,_0x39368d]=_0x126099;return _0x32bfce?{'uuid':_0x32bfce,'cdnUrlModifiers':_0x170a60||'','filename':_0x39368d||null}:null;})({'url':t,'cdnBase':this['cfg']['cdnCname']});if(!_0x350974)throw new Error('Invalid\x20CDN\x20URL');let _0xf347e7=this['v']['add']({'uuid':_0x350974['uuid'],'cdnUrl':t,'cdnUrlModifiers':_0x350974['cdnUrlModifiers'],'fileName':_0x17cbae??_0x350974['filename']??null,'silent':_0x148d6d??!0x1,'source':_0x4f5004??_0x4b5b6e['API']});return this['getOutputItem'](_0xf347e7);},this['addFileFromObject']=(t,{silent:_0x2162ae,fileName:_0x254818,source:_0x313356,fullPath:_0x5bef23}={})=>{let _0x5840d1=this['v']['add']({'file':t,'isImage':_0x5152e6(t),'mimeType':t['type']||null,'fileName':_0x254818??t['name'],'fileSize':t['size'],'silent':_0x2162ae??!0x1,'source':_0x313356??_0x4b5b6e['API'],'fullPath':_0x5bef23??null});return this['getOutputItem'](_0x5840d1);},this['removeFileByInternalId']=t=>{if(!this['v']['read'](t))throw new Error('File\x20with\x20internalId\x20'+t+'\x20not\x20found');this['v']['remove'](t);},this['uploadAll']=()=>{let t=this['v']['items']()['filter'](_0x48fdad=>{let _0x1f2744=this['v']['read'](_0x48fdad);return!!_0x1f2744&&!(_0x1f2744['getValue']('isRemoved')||_0x1f2744['getValue']('isUploading')||_0x1f2744['getValue']('fileInfo')||0x0!==_0x1f2744['getValue']('errors')['length']||_0x1f2744['getValue']('isValidationPending')||_0x1f2744['getValue']('isQueuedForValidation'));});0x0!==t['length']&&(this['e']['pub']('*uploadTrigger',new Set(t)),this['i']['eventEmitter']['emit'](_0x468933['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));},this['openSystemDialog']=(t={})=>{let _0x54b346=_0x6d8d43(_0x358bcc([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x328491:[]])),_0x269508='uploadcare-file-input',_0x2f89b0=document['createElement']('input');if(_0x2f89b0['setAttribute'](_0x269508,''),_0x283d53(_0x2f89b0,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x2f89b0['type']='file',_0x2f89b0['multiple']=this['cfg']['multiple'],t['captureCamera']){_0x2f89b0['capture']=this['cfg']['cameraCapture'];let {isPhotoEnabled:_0x550cfa,isVideoRecordingEnabled:_0x694ff5}=(_0x1ffbed=>({'isVideoRecordingEnabled':_0x5abd0c(_0x1ffbed['cameraModes'])['includes'](_0x6df8d7['VIDEO']),'isPhotoEnabled':_0x5abd0c(_0x1ffbed['cameraModes'])['includes'](_0x6df8d7['PHOTO'])}))(this['cfg']);t['modeCamera']===_0x6df8d7['PHOTO']&&_0x550cfa?_0x2f89b0['accept']=_0x4a46b5:t['modeCamera']===_0x6df8d7['VIDEO']&&_0x694ff5?_0x2f89b0['accept']=_0x3c9237:_0x2f89b0['accept']=[_0x4a46b5,_0x694ff5&&_0x3c9237]['filter'](Boolean)['join'](',');}else _0x2f89b0['accept']=_0x54b346;_0x2f89b0['addEventListener']('change',()=>{_0x2f89b0['files']&&([..._0x2f89b0['files']]['forEach'](_0xc6a2e3=>{this['addFileFromObject'](_0xc6a2e3,{'source':t['captureCamera']?_0x4b5b6e['CAMERA']:_0x4b5b6e['LOCAL']});}),this['e']['pub']('*currentActivity',_0x884b8d['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x884b8d['UPLOAD_LIST']),_0x2f89b0['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x269508+']')['forEach'](_0x41f2e2=>{_0x41f2e2['remove']();}),document['body']['appendChild'](_0x2f89b0),_0x2f89b0['dispatchEvent'](new MouseEvent('click'));},this['initFlow']=(t=!0x1)=>{if(this['v']['size']>0x0&&!t)this['e']['pub']('*currentActivity',_0x884b8d['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x884b8d['UPLOAD_LIST']);else{if(0x1===this['On']?.['length']){let _0x123c64=this['On'][0x0];this['go']()['then'](()=>{let _0x4c88f4=this['i']['pluginManager']['snapshot']()['sources'],_0x20555e=_0x4c88f4['find'](_0x521fd9=>_0x521fd9['id']===_0x123c64);if(_0x20555e){let _0x1b952e=_0x20555e['expand']?.()??[_0x123c64];return void(0x1===_0x1b952e['length']?(_0x4c88f4['find'](_0x565f28=>_0x565f28['id']===_0x1b952e[0x0])??_0x20555e)['onSelect']():(this['e']['pub']('*currentActivity',_0x884b8d['START_FROM']),this['i']['modalManager']?.['open'](_0x884b8d['START_FROM'])));}this['e']['read']('*currentActivity')&&this['i']['modalManager']?.['open'](this['e']['read']('*currentActivity'));});}else this['e']['pub']('*currentActivity',_0x884b8d['START_FROM']),this['i']['modalManager']?.['open'](_0x884b8d['START_FROM']);}},this['doneFlow']=()=>{let t=((_0x1ba757,_0x2b1c05)=>{for(let t of _0x1ba757)if(_0x2b1c05(t))return t;})(this['i']['blocksRegistry'],_0x1fb4f6=>'doneActivity'in _0x1fb4f6);t&&(this['e']['pub']('*currentActivity',t['doneActivity']),this['e']['pub']('*history',t['doneActivity']?[t['doneActivity']]:[]),this['e']['read']('*currentActivity')||this['i']['modalManager']?.['closeAll']());},this['setCurrentActivity']=(t,..._0x50d2f8)=>{this['go']()['then'](()=>{this['e']['pub']('*currentActivityParams',_0x50d2f8[0x0]??{}),this['e']['pub']('*currentActivity',t),_0x5ee5e0(this['i']['blocksRegistry'],_0x87561b=>_0x87561b['activityType']===t,{'onTimeout':()=>console['warn']('Activity\x20type\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20context'),'timeout':0x64});});},this['on']=(t,_0x23728e)=>this['i']['eventEmitter']['on'](t,_0x23728e),this['getCurrentActivity']=()=>this['e']['read']('*currentActivity'),this['historyBack']=()=>{this['e']['read']('*historyBack')?.();},this['setModalState']=t=>{this['go']()['then'](()=>{if(!t)return this['i']['modalManager']?.['close'](this['e']['read']('*currentActivity')),void this['e']['pub']('*currentActivity',null);let _0x3e0685=this['e']['read']('*currentActivity');if(_0x3e0685)return _0x5ee5e0(this['i']['blocksRegistry'],_0x35f1db=>_0x35f1db['activityType']===_0x3e0685,{'onTimeout':()=>console['warn']('Activity\x20block\x20\x22'+_0x3e0685+'\x22\x20not\x20found\x20in\x20the\x20context')})['then'](()=>{this['i']['modalManager']?.['open'](_0x3e0685);});console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');});};}get['v'](){return this['i']['uploadCollection'];}get['cfg'](){return this['ze'];}get['l10n'](){return this['Et'];}['removeAllFiles'](){this['v']['clearAll']();}getOutputItem(t){let _0x13bff=_0x5f1c09['getCtx'](t);if(!_0x13bff)throw new Error('UploaderPublicApi#getOutputItem:\x20Entry\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20upload\x20collection');let _0x467e3c=_0x13bff['store'],_0x4761fa=_0x467e3c['fileInfo'],_0xb22615=_0x467e3c['isRemoved']?'removed':_0x467e3c['errors']['length']>0x0?'failed':_0x467e3c['fileInfo']?'success':_0x467e3c['isUploading']?'uploading':'idle';return{'uuid':_0x4761fa?.['uuid']??_0x467e3c['uuid']??null,'internalId':t,'name':_0x4761fa?.['originalFilename']??_0x467e3c['fileName'],'size':_0x4761fa?.['size']??_0x467e3c['fileSize'],'isImage':_0x4761fa?.['isImage']??_0x467e3c['isImage'],'mimeType':_0x4761fa?.['mimeType']??_0x467e3c['mimeType'],'file':_0x467e3c['file'],'externalUrl':_0x467e3c['externalUrl'],'cdnUrlModifiers':_0x467e3c['cdnUrlModifiers'],'cdnUrl':_0x467e3c['cdnUrl']??_0x4761fa?.['cdnUrl']??null,'fullPath':_0x467e3c['fullPath'],'uploadProgress':_0x467e3c['uploadProgress'],'fileInfo':_0x4761fa??null,'metadata':_0x467e3c['metadata']??_0x4761fa?.['metadata']??null,'isSuccess':'success'===_0xb22615,'isUploading':'uploading'===_0xb22615,'isFailed':'failed'===_0xb22615,'isRemoved':'removed'===_0xb22615,'isValidationPending':_0x467e3c['isValidationPending'],'errors':_0x467e3c['errors'],'status':_0xb22615,'source':_0x467e3c?.['source']};}getOutputCollectionState(){return _0x32cba6(this['i']);}async['go'](){return(await this['i']['wait']('pluginManager'))['pluginsReady']();}get['On'](){let t=[];return this['cfg']['sourceList']&&(t=_0x422e35(this['cfg']['sourceList'])),t;}},_0x2284b6={'file':null,'externalUrl':null,'fileName':null,'fileSize':null,'lastModified':Date['now'](),'uploadProgress':0x0,'uuid':null,'isImage':!0x1,'mimeType':null,'ctxName':null,'cdnUrl':null,'cdnUrlModifiers':null,'fileInfo':null,'isUploading':!0x1,'abortController':null,'thumbUrl':null,'silent':!0x1,'source':null,'fullPath':null,'metadata':null,'errors':[],'uploadError':null,'isRemoved':!0x1,'isQueuedForUploading':!0x1,'isValidationPending':!0x1,'isQueuedForValidation':!0x1},_0x10de4f=33.333333333333336;function _0x5c229f(_0x5a2641,_0x1f3858){for(let [t,_0x16ff1c]of Object['entries'](_0x1f3858))_0x5a2641['setAttributeNS'](null,t,_0x16ff1c['toString']());}function _0x47bfad(_0x1a50a5,_0x20c469={}){let t=document['createElementNS']('http://www.w3.org/2000/svg',_0x1a50a5);return _0x5c229f(t,_0x20c469),t;}function _0x3c84f(_0x32f26e,_0x11d5a1,t){let {x:_0x13564b,y:_0x286ff1,width:_0x232afc,height:_0x7d43e}=_0x32f26e,_0x39785a=_0x11d5a1['includes']('w')?0x0:0x1,_0x9e4a2=_0x11d5a1['includes']('n')?0x0:0x1,_0x5cece9=0x0===_0x39785a?-0x1:0x1,_0x136e73=0x0===_0x9e4a2?-0x1:0x1,_0x131dbb=[_0x13564b+_0x39785a*_0x232afc+1.5*_0x5cece9,_0x286ff1+_0x9e4a2*_0x7d43e+1.5*_0x136e73-0x18*t*_0x136e73],_0x1b0bbe=[_0x13564b+_0x39785a*_0x232afc+1.5*_0x5cece9,_0x286ff1+_0x9e4a2*_0x7d43e+1.5*_0x136e73],_0x446239=[_0x13564b+_0x39785a*_0x232afc-0x18*t*_0x5cece9+1.5*_0x5cece9,_0x286ff1+_0x9e4a2*_0x7d43e+1.5*_0x136e73];return{'d':'M\x20'+_0x131dbb[0x0]+'\x20'+_0x131dbb[0x1]+'\x20L\x20'+_0x1b0bbe[0x0]+'\x20'+_0x1b0bbe[0x1]+'\x20L\x20'+_0x446239[0x0]+'\x20'+_0x446239[0x1],'center':[_0x1b0bbe[0x0],_0x1b0bbe[0x1]]};}function _0x2b5eea(_0x16aa6c,_0x470800,t){let _0x836739,_0x1bfb8f,{x:_0x20322c,y:_0x3d2201,width:_0x182945,height:_0x388013}=_0x16aa6c,_0x12038c='n'===_0x470800||'s'===_0x470800,_0x3c9542=_0x12038c?0.5:'w'===_0x470800?0x0:0x1,_0x478d2c='w'===_0x470800||'e'===_0x470800?0.5:'n'===_0x470800?0x0:0x1,_0x5e4945='w'===_0x470800?-0x1:'e'===_0x470800?0x1:0x0,_0xf06389='n'===_0x470800?-0x1:'s'===_0x470800?0x1:0x0;return _0x12038c?(_0x836739=[_0x20322c+_0x3c9542*_0x182945-0x22*t/0x2,_0x3d2201+_0x478d2c*_0x388013+1.5*_0xf06389],_0x1bfb8f=[_0x20322c+_0x3c9542*_0x182945+0x22*t/0x2,_0x3d2201+_0x478d2c*_0x388013+1.5*_0xf06389]):(_0x836739=[_0x20322c+_0x3c9542*_0x182945+1.5*_0x5e4945,_0x3d2201+_0x478d2c*_0x388013-0x22*t/0x2],_0x1bfb8f=[_0x20322c+_0x3c9542*_0x182945+1.5*_0x5e4945,_0x3d2201+_0x478d2c*_0x388013+0x22*t/0x2]),{'d':'M\x20'+_0x836739[0x0]+'\x20'+_0x836739[0x1]+'\x20L\x20'+_0x1bfb8f[0x0]+'\x20'+_0x1bfb8f[0x1],'center':[(_0x836739[0x0]+_0x1bfb8f[0x0])/0x2,(_0x836739[0x1]+_0x1bfb8f[0x1])/0x2]};}function _0x4820fa(_0x13526e,_0x2693a3){let {x:t}=_0x13526e,{y:_0x3bd300}=_0x13526e;return _0x13526e['x']<_0x2693a3['x']?t=_0x2693a3['x']:_0x13526e['x']+_0x13526e['width']>_0x2693a3['x']+_0x2693a3['width']&&(t=_0x2693a3['x']+_0x2693a3['width']-_0x13526e['width']),_0x13526e['y']<_0x2693a3['y']?_0x3bd300=_0x2693a3['y']:_0x13526e['y']+_0x13526e['height']>_0x2693a3['y']+_0x2693a3['height']&&(_0x3bd300=_0x2693a3['y']+_0x2693a3['height']-_0x13526e['height']),{..._0x13526e,'x':t,'y':_0x3bd300};}function _0x54736a({direction:_0x4ff491,..._0xc663be}){switch(_0x4ff491){case'n':return function({rect:_0x5b0bbb,delta:_0x3fa8aa,aspectRatio:t,imageBox:_0x222ec7}){let [,_0x44a6cd]=_0x3fa8aa,{y:_0x284ac6,width:_0x5102fe,height:_0x37d883}=_0x5b0bbb;_0x284ac6+=_0x44a6cd,_0x37d883-=_0x44a6cd,t&&(_0x5102fe=_0x37d883*t);let _0x4dac56=_0x5b0bbb['x']+_0x5b0bbb['width']/0x2-_0x5102fe/0x2;return _0x284ac6<=_0x222ec7['y']&&(_0x284ac6=_0x222ec7['y'],_0x37d883=_0x5b0bbb['y']+_0x5b0bbb['height']-_0x284ac6,t&&(_0x5102fe=_0x37d883*t,_0x4dac56=_0x5b0bbb['x']+_0x5b0bbb['width']/0x2-_0x5102fe/0x2)),_0x4dac56<=_0x222ec7['x']&&(_0x4dac56=_0x222ec7['x'],_0x284ac6=_0x5b0bbb['y']+_0x5b0bbb['height']-_0x37d883),_0x4dac56+_0x5102fe>=_0x222ec7['x']+_0x222ec7['width']&&(_0x4dac56=Math['max'](_0x222ec7['x'],_0x222ec7['x']+_0x222ec7['width']-_0x5102fe),_0x5102fe=_0x222ec7['x']+_0x222ec7['width']-_0x4dac56,t&&(_0x37d883=_0x5102fe/t),_0x284ac6=_0x5b0bbb['y']+_0x5b0bbb['height']-_0x37d883),_0x37d883<0x1&&(_0x37d883=0x1,t&&(_0x5102fe=_0x37d883*t,_0x4dac56=_0x5b0bbb['x']+_0x5b0bbb['width']/0x2-_0x5102fe/0x2),_0x284ac6=_0x5b0bbb['y']+_0x5b0bbb['height']-_0x37d883),_0x5102fe<0x1&&(_0x5102fe=0x1,t&&(_0x37d883=_0x5102fe/t,_0x4dac56=_0x5b0bbb['x']+_0x5b0bbb['width']/0x2-_0x5102fe/0x2),_0x284ac6=_0x5b0bbb['y']+_0x5b0bbb['height']-_0x37d883),{'x':_0x4dac56,'y':_0x284ac6,'width':_0x5102fe,'height':_0x37d883};}(_0xc663be);case'w':return function({rect:_0x5cfcbf,delta:_0x55e81b,aspectRatio:t,imageBox:_0x173283}){let [_0x5c07c1]=_0x55e81b,{x:_0x4a92b1,width:_0x25fb37,height:_0x5d4364}=_0x5cfcbf;_0x4a92b1+=_0x5c07c1,_0x25fb37-=_0x5c07c1,t&&(_0x5d4364=_0x25fb37/t);let _0x5b0bb6=_0x5cfcbf['y']+_0x5cfcbf['height']/0x2-_0x5d4364/0x2;return _0x4a92b1<=_0x173283['x']&&(_0x4a92b1=_0x173283['x'],_0x25fb37=_0x5cfcbf['x']+_0x5cfcbf['width']-_0x4a92b1,t&&(_0x5d4364=_0x25fb37/t,_0x5b0bb6=_0x5cfcbf['y']+_0x5cfcbf['height']/0x2-_0x5d4364/0x2)),_0x5b0bb6<=_0x173283['y']&&(_0x5b0bb6=_0x173283['y'],_0x4a92b1=_0x5cfcbf['x']+_0x5cfcbf['width']-_0x25fb37),_0x5b0bb6+_0x5d4364>=_0x173283['y']+_0x173283['height']&&(_0x5b0bb6=Math['max'](_0x173283['y'],_0x173283['y']+_0x173283['height']-_0x5d4364),_0x5d4364=_0x173283['y']+_0x173283['height']-_0x5b0bb6,t&&(_0x25fb37=_0x5d4364*t),_0x4a92b1=_0x5cfcbf['x']+_0x5cfcbf['width']-_0x25fb37),_0x5d4364<0x1&&(_0x5d4364=0x1,t&&(_0x25fb37=_0x5d4364*t),_0x5b0bb6=_0x5cfcbf['y']+_0x5cfcbf['height']/0x2-_0x5d4364/0x2,_0x4a92b1=_0x5cfcbf['x']+_0x5cfcbf['width']-_0x25fb37),_0x25fb37<0x1&&(_0x25fb37=0x1,t&&(_0x5d4364=_0x25fb37/t),_0x5b0bb6=_0x5cfcbf['y']+_0x5cfcbf['height']/0x2-_0x5d4364/0x2,_0x4a92b1=_0x5cfcbf['x']+_0x5cfcbf['width']-_0x25fb37),{'x':_0x4a92b1,'y':_0x5b0bb6,'width':_0x25fb37,'height':_0x5d4364};}(_0xc663be);case's':return function({rect:_0x127fd9,delta:_0x51fd59,aspectRatio:t,imageBox:_0x31eeeb}){let [,_0x4eac86]=_0x51fd59,{y:_0x41e6ab,width:_0x5f8ac2,height:_0xcd311f}=_0x127fd9;_0xcd311f+=_0x4eac86,t&&(_0x5f8ac2=_0xcd311f*t);let _0x5b7520=_0x127fd9['x']+_0x127fd9['width']/0x2-_0x5f8ac2/0x2;return _0x41e6ab+_0xcd311f>=_0x31eeeb['y']+_0x31eeeb['height']&&(_0xcd311f=_0x31eeeb['y']+_0x31eeeb['height']-_0x41e6ab,t&&(_0x5f8ac2=_0xcd311f*t),_0x5b7520=_0x127fd9['x']+_0x127fd9['width']/0x2-_0x5f8ac2/0x2),_0x5b7520<=_0x31eeeb['x']&&(_0x5b7520=_0x31eeeb['x'],_0x41e6ab=_0x127fd9['y']),_0x5b7520+_0x5f8ac2>=_0x31eeeb['x']+_0x31eeeb['width']&&(_0x5b7520=Math['max'](_0x31eeeb['x'],_0x31eeeb['x']+_0x31eeeb['width']-_0x5f8ac2),_0x5f8ac2=_0x31eeeb['x']+_0x31eeeb['width']-_0x5b7520,t&&(_0xcd311f=_0x5f8ac2/t),_0x41e6ab=_0x127fd9['y']),_0xcd311f<0x1&&(_0xcd311f=0x1,t&&(_0x5f8ac2=_0xcd311f*t),_0x5b7520=_0x127fd9['x']+_0x127fd9['width']/0x2-_0x5f8ac2/0x2),_0x5f8ac2<0x1&&(_0x5f8ac2=0x1,t&&(_0xcd311f=_0x5f8ac2/t),_0x5b7520=_0x127fd9['x']+_0x127fd9['width']/0x2-_0x5f8ac2/0x2),{'x':_0x5b7520,'y':_0x41e6ab,'width':_0x5f8ac2,'height':_0xcd311f};}(_0xc663be);case'e':return function({rect:_0x4ae5ab,delta:_0x1cf826,aspectRatio:t,imageBox:_0x398b8a}){let [_0xf1fb94]=_0x1cf826,{x:_0x258511,width:_0x240113,height:_0x36a9f4}=_0x4ae5ab;_0x240113+=_0xf1fb94,t&&(_0x36a9f4=_0x240113/t);let _0x614879=_0x4ae5ab['y']+_0x4ae5ab['height']/0x2-_0x36a9f4/0x2;return _0x258511+_0x240113>=_0x398b8a['x']+_0x398b8a['width']&&(_0x240113=_0x398b8a['x']+_0x398b8a['width']-_0x258511,t&&(_0x36a9f4=_0x240113/t),_0x614879=_0x4ae5ab['y']+_0x4ae5ab['height']/0x2-_0x36a9f4/0x2),_0x614879<=_0x398b8a['y']&&(_0x614879=_0x398b8a['y'],_0x258511=_0x4ae5ab['x']),_0x614879+_0x36a9f4>=_0x398b8a['y']+_0x398b8a['height']&&(_0x614879=Math['max'](_0x398b8a['y'],_0x398b8a['y']+_0x398b8a['height']-_0x36a9f4),_0x36a9f4=_0x398b8a['y']+_0x398b8a['height']-_0x614879,t&&(_0x240113=_0x36a9f4*t),_0x258511=_0x4ae5ab['x']),_0x36a9f4<0x1&&(_0x36a9f4=0x1,t&&(_0x240113=_0x36a9f4*t),_0x614879=_0x4ae5ab['y']+_0x4ae5ab['height']/0x2-_0x36a9f4/0x2),_0x240113<0x1&&(_0x240113=0x1,t&&(_0x36a9f4=_0x240113/t),_0x614879=_0x4ae5ab['y']+_0x4ae5ab['height']/0x2-_0x36a9f4/0x2),{'x':_0x258511,'y':_0x614879,'width':_0x240113,'height':_0x36a9f4};}(_0xc663be);case'nw':return function({rect:_0x404b7b,delta:_0x2fbb51,aspectRatio:t,imageBox:_0x3c9abe}){let [_0x15961d,_0x58c749]=_0x2fbb51,{x:_0x52b202,y:_0x54147f,width:_0x13fd8e,height:_0x302222}=_0x404b7b;return _0x52b202+_0x15961d<_0x3c9abe['x']&&(_0x15961d=_0x3c9abe['x']-_0x52b202),_0x54147f+_0x58c749<_0x3c9abe['y']&&(_0x58c749=_0x3c9abe['y']-_0x54147f),_0x52b202+=_0x15961d,_0x13fd8e-=_0x15961d,_0x54147f+=_0x58c749,_0x302222-=_0x58c749,t&&Math['abs'](_0x13fd8e/_0x302222)>t?(_0x58c749=_0x13fd8e/t-_0x302222,_0x302222+=_0x58c749,_0x54147f-=_0x58c749,_0x54147f<=_0x3c9abe['y']&&(_0x302222-=_0x3c9abe['y']-_0x54147f,_0x13fd8e=_0x302222*t,_0x52b202=_0x404b7b['x']+_0x404b7b['width']-_0x13fd8e,_0x54147f=_0x3c9abe['y'])):t&&(_0x15961d=_0x302222*t-_0x13fd8e,_0x13fd8e+=_0x15961d,_0x52b202-=_0x15961d,_0x52b202<=_0x3c9abe['x']&&(_0x13fd8e-=_0x3c9abe['x']-_0x52b202,_0x302222=_0x13fd8e/t,_0x52b202=_0x3c9abe['x'],_0x54147f=_0x404b7b['y']+_0x404b7b['height']-_0x302222)),_0x302222<0x1&&(_0x302222=0x1,t&&(_0x13fd8e=_0x302222*t),_0x52b202=_0x404b7b['x']+_0x404b7b['width']-_0x13fd8e,_0x54147f=_0x404b7b['y']+_0x404b7b['height']-_0x302222),_0x13fd8e<0x1&&(_0x13fd8e=0x1,t&&(_0x302222=_0x13fd8e/t),_0x52b202=_0x404b7b['x']+_0x404b7b['width']-_0x13fd8e,_0x54147f=_0x404b7b['y']+_0x404b7b['height']-_0x302222),{'x':_0x52b202,'y':_0x54147f,'width':_0x13fd8e,'height':_0x302222};}(_0xc663be);case'ne':return function({rect:_0x432ed1,delta:_0x30f05a,aspectRatio:t,imageBox:_0x13863c}){let [_0x21fe4e,_0x300abf]=_0x30f05a,{x:_0x26ca13,y:_0x5a244b,width:_0x3e2dc1,height:_0x17a3ea}=_0x432ed1;return _0x26ca13+_0x3e2dc1+_0x21fe4e>_0x13863c['x']+_0x13863c['width']&&(_0x21fe4e=_0x13863c['x']+_0x13863c['width']-_0x26ca13-_0x3e2dc1),_0x5a244b+_0x300abf<_0x13863c['y']&&(_0x300abf=_0x13863c['y']-_0x5a244b),_0x3e2dc1+=_0x21fe4e,_0x5a244b+=_0x300abf,_0x17a3ea-=_0x300abf,t&&Math['abs'](_0x3e2dc1/_0x17a3ea)>t?(_0x300abf=_0x3e2dc1/t-_0x17a3ea,_0x17a3ea+=_0x300abf,_0x5a244b-=_0x300abf,_0x5a244b<=_0x13863c['y']&&(_0x17a3ea-=_0x13863c['y']-_0x5a244b,_0x3e2dc1=_0x17a3ea*t,_0x26ca13=_0x432ed1['x'],_0x5a244b=_0x13863c['y'])):t&&(_0x21fe4e=_0x17a3ea*t-_0x3e2dc1,_0x3e2dc1+=_0x21fe4e,_0x26ca13+_0x3e2dc1>=_0x13863c['x']+_0x13863c['width']&&(_0x3e2dc1=_0x13863c['x']+_0x13863c['width']-_0x26ca13,_0x17a3ea=_0x3e2dc1/t,_0x26ca13=_0x13863c['x']+_0x13863c['width']-_0x3e2dc1,_0x5a244b=_0x432ed1['y']+_0x432ed1['height']-_0x17a3ea)),_0x17a3ea<0x1&&(_0x17a3ea=0x1,t&&(_0x3e2dc1=_0x17a3ea*t),_0x5a244b=_0x432ed1['y']+_0x432ed1['height']-_0x17a3ea),_0x3e2dc1<0x1&&(_0x3e2dc1=0x1,t&&(_0x17a3ea=_0x3e2dc1/t),_0x5a244b=_0x432ed1['y']+_0x432ed1['height']-_0x17a3ea),{'x':_0x26ca13,'y':_0x5a244b,'width':_0x3e2dc1,'height':_0x17a3ea};}(_0xc663be);case'sw':return function({rect:_0x37307c,delta:_0x588bec,aspectRatio:t,imageBox:_0xc1468}){let [_0x4a8f4d,_0x26a24b]=_0x588bec,{x:_0x587cca,y:_0x565e17,width:_0xa6b3b4,height:_0xb9cd62}=_0x37307c;return _0x587cca+_0x4a8f4d<_0xc1468['x']&&(_0x4a8f4d=_0xc1468['x']-_0x587cca),_0x565e17+_0xb9cd62+_0x26a24b>_0xc1468['y']+_0xc1468['height']&&(_0x26a24b=_0xc1468['y']+_0xc1468['height']-_0x565e17-_0xb9cd62),_0x587cca+=_0x4a8f4d,_0xa6b3b4-=_0x4a8f4d,_0xb9cd62+=_0x26a24b,t&&Math['abs'](_0xa6b3b4/_0xb9cd62)>t?(_0x26a24b=_0xa6b3b4/t-_0xb9cd62,_0xb9cd62+=_0x26a24b,_0x565e17+_0xb9cd62>=_0xc1468['y']+_0xc1468['height']&&(_0xb9cd62=_0xc1468['y']+_0xc1468['height']-_0x565e17,_0xa6b3b4=_0xb9cd62*t,_0x587cca=_0x37307c['x']+_0x37307c['width']-_0xa6b3b4,_0x565e17=_0xc1468['y']+_0xc1468['height']-_0xb9cd62)):t&&(_0x4a8f4d=_0xb9cd62*t-_0xa6b3b4,_0xa6b3b4+=_0x4a8f4d,_0x587cca-=_0x4a8f4d,_0x587cca<=_0xc1468['x']&&(_0xa6b3b4-=_0xc1468['x']-_0x587cca,_0xb9cd62=_0xa6b3b4/t,_0x587cca=_0xc1468['x'],_0x565e17=_0x37307c['y'])),_0xb9cd62<0x1&&(_0xb9cd62=0x1,t&&(_0xa6b3b4=_0xb9cd62*t),_0x587cca=_0x37307c['x']+_0x37307c['width']-_0xa6b3b4),_0xa6b3b4<0x1&&(_0xa6b3b4=0x1,t&&(_0xb9cd62=_0xa6b3b4/t),_0x587cca=_0x37307c['x']+_0x37307c['width']-_0xa6b3b4),{'x':_0x587cca,'y':_0x565e17,'width':_0xa6b3b4,'height':_0xb9cd62};}(_0xc663be);case'se':return function({rect:_0x490785,delta:_0x751f8a,aspectRatio:t,imageBox:_0x1594d9}){let [_0x2a06f4,_0x207307]=_0x751f8a,{x:_0x249fd5,y:_0x46d2f7,width:_0x2d562b,height:_0x4bc40f}=_0x490785;return _0x249fd5+_0x2d562b+_0x2a06f4>_0x1594d9['x']+_0x1594d9['width']&&(_0x2a06f4=_0x1594d9['x']+_0x1594d9['width']-_0x249fd5-_0x2d562b),_0x46d2f7+_0x4bc40f+_0x207307>_0x1594d9['y']+_0x1594d9['height']&&(_0x207307=_0x1594d9['y']+_0x1594d9['height']-_0x46d2f7-_0x4bc40f),_0x2d562b+=_0x2a06f4,_0x4bc40f+=_0x207307,t&&Math['abs'](_0x2d562b/_0x4bc40f)>t?(_0x207307=_0x2d562b/t-_0x4bc40f,_0x4bc40f+=_0x207307,_0x46d2f7+_0x4bc40f>=_0x1594d9['y']+_0x1594d9['height']&&(_0x4bc40f=_0x1594d9['y']+_0x1594d9['height']-_0x46d2f7,_0x2d562b=_0x4bc40f*t,_0x249fd5=_0x490785['x'],_0x46d2f7=_0x1594d9['y']+_0x1594d9['height']-_0x4bc40f)):t&&(_0x2a06f4=_0x4bc40f*t-_0x2d562b,_0x2d562b+=_0x2a06f4,_0x249fd5+_0x2d562b>=_0x1594d9['x']+_0x1594d9['width']&&(_0x2d562b=_0x1594d9['x']+_0x1594d9['width']-_0x249fd5,_0x4bc40f=_0x2d562b/t,_0x249fd5=_0x1594d9['x']+_0x1594d9['width']-_0x2d562b,_0x46d2f7=_0x490785['y'])),_0x4bc40f<0x1&&(_0x4bc40f=0x1,t&&(_0x2d562b=_0x4bc40f*t)),_0x2d562b<0x1&&(_0x2d562b=0x1,t&&(_0x4bc40f=_0x2d562b/t)),{'x':_0x249fd5,'y':_0x46d2f7,'width':_0x2d562b,'height':_0x4bc40f};}(_0xc663be);default:return _0xc663be['rect'];}}function _0x17977f({width:_0x3be23b,height:_0x2ec825},t){let _0x180083=t/0x5a%0x2!=0x0;return{'width':_0x180083?_0x2ec825:_0x3be23b,'height':_0x180083?_0x3be23b:_0x2ec825};}function _0x2c243a(_0x385ee8,_0x1c135b,t){let _0x1bbdf4,_0x59ada9;_0x385ee8/_0x1c135b>t?(_0x1bbdf4=Math['round'](_0x1c135b*t),_0x59ada9=_0x1c135b):(_0x1bbdf4=_0x385ee8,_0x59ada9=Math['round'](_0x385ee8/t));let _0xed85fe=Math['round']((_0x385ee8-_0x1bbdf4)/0x2),_0x1b66f6=Math['round']((_0x1c135b-_0x59ada9)/0x2);return _0xed85fe+_0x1bbdf4>_0x385ee8&&(_0x1bbdf4=_0x385ee8-_0xed85fe),_0x1b66f6+_0x59ada9>_0x1c135b&&(_0x59ada9=_0x1c135b-_0x1b66f6),{'x':_0xed85fe,'y':_0x1b66f6,'width':_0x1bbdf4,'height':_0x59ada9};}function _0x417032(_0x53a972){return{'x':Math['round'](_0x53a972['x']),'y':Math['round'](_0x53a972['y']),'width':Math['round'](_0x53a972['width']),'height':Math['round'](_0x53a972['height'])};}function _0x4e6856(_0x28ff2e,_0x34cd0a,t){return Math['min'](Math['max'](_0x28ff2e,_0x34cd0a),t);}var _0x2325cf=['free'],_0x4e8026=_0x44d5c4=>{let _0x81e0c=_0x422e35(_0x44d5c4);if(!_0x81e0c||0x0===_0x81e0c['length'])return[];let t=[];for(let _0x155bdd of _0x81e0c){let _0x2a4e9b=_0x155bdd['trim']();if(!_0x2a4e9b)continue;let _0x214aa6=_0x2a4e9b['indexOf'](':');if(-0x1===_0x214aa6&&!_0x2325cf['includes'](_0x2a4e9b)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x2a4e9b);continue;}let _0x58bd00=Number(_0x2a4e9b['slice'](0x0,_0x214aa6)),_0x4e39cf=Number(_0x2a4e9b['slice'](_0x214aa6+0x1));!(!Number['isFinite'](_0x58bd00)||!Number['isFinite'](_0x4e39cf)||_0x58bd00<=0x0||_0x4e39cf<=0x0)||_0x2325cf['includes'](_0x2a4e9b)?t['push']({'id':_0x138f26['generateFastUid'](),'type':'aspect-ratio','width':_0x2325cf['includes'](_0x2a4e9b)?0x0:_0x58bd00,'height':_0x2325cf['includes'](_0x2a4e9b)?0x0:_0x4e39cf,'hasFreeform':_0x2325cf['includes'](_0x2a4e9b)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x2a4e9b);}return t;};function _0x14cc71(_0x38e99e){return _0x34a19e({..._0x38e99e,'libraryName':t0,'libraryVersion':_0x2c5ce6});}var _0x3e6a83,_0xdd73fd='active',_0x32b9fb='___ACTIVITY_IS_ACTIVE___',_0x8a8c15=class _0x219367 extends(_0x3e6a83=_0xbf5cc2,_0x3e6a83){constructor(){super(...arguments),this['historyTracked']=!0x1,this['activityType']=null,this['init$']=_0x4b6d62(this),this['lu']=_0x1c0742(this['cu']['bind'](this),0xa);}['In'](){let t=_0x219367['ii']['get'](this);this[_0x32b9fb]=!0x1,this['removeAttribute'](_0xdd73fd),t?.['deactivateCallback']?.();}['uu'](){let t=_0x219367['ii']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x32b9fb]=!0x0,this['setAttribute'](_0xdd73fd,''),t?.['activateCallback']?.(),this['lu'](),this['emit'](_0x468933['ACTIVITY_CHANGE'],{'activity':this['activityType']});}initCallback(){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',t=>{try{this['activityType']!==t&&this[_0x32b9fb]?this['In']():this['activityType']===t&&!this[_0x32b9fb]&&this['uu']();}catch(_0x5aae19){this['telemetryManager']['sendEventError'](_0x5aae19,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x5aae19);let _0xd0f836=this['$']['*history'][this['$']['*history']['length']-0x1];this['$']['*currentActivity']=_0xd0f836??null;}t||(this['$']['*history']=[]);}));}['cu'](){let t=this['$']['*history'];t&&(t['length']>0xa&&(t=t['slice'](t['length']-0xb,t['length']-0x1)),this['historyTracked']&&t[t['length']-0x1]!==this['activityType']&&t['push'](this['activityType']),this['$']['*history']=t);}['Pn'](){return!!this['activityType']&&_0x219367['ii']['has'](this);}static{this['ii']=new Map();}get isActivityActive(){return!!this[_0x32b9fb];}get couldOpenActivity(){return!0x0;}registerActivity(t,_0x3d788f={}){let {onActivate:_0x1d9a82,onDeactivate:_0x2e3b02}=_0x3d788f;_0x219367['ii']['set'](this,{'activateCallback':_0x1d9a82,'deactivateCallback':_0x2e3b02});}['du'](){this['isActivityActive']&&this['In'](),_0x219367['ii']['delete'](this);}disconnectedCallback(){super['disconnectedCallback'](),this['Pn']()&&this['du']();}get activityParams(){return this['$']['*currentActivityParams'];}get initActivity(){return this['getCssData']('--cfg-init-activity')??null;}get doneActivity(){return this['getCssData']('--cfg-done-activity')??null;}historyBack(){let t=this['$']['*history'];if(t){let _0x1e5e51=t['pop']();for(;_0x1e5e51===this['activityType'];)_0x1e5e51=t['pop']();let _0xaa6053=!!_0x1e5e51;_0x1e5e51&&(_0xaa6053=[...this['blocksRegistry']]['find'](_0x295a87=>_0x295a87['activityType']===_0x1e5e51)?.['couldOpenActivity']??!0x1),_0x1e5e51=_0xaa6053?_0x1e5e51:null,this['$']['*currentActivity']=_0x1e5e51??null,_0x1e5e51&&this['modalManager']?.['open'](_0x1e5e51),this['$']['*history']=t,_0x1e5e51||this['modalManager']?.['closeAll']();}}};_0x8a8c15['activities']=_0x884b8d;var _0x2b75dc=class _0x38bc77 extends _0x8a8c15{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x1,this['Xi']=!0x1,this['init$']=_0x28c4b8(this),this['bo']=_0x1c0742(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;let _0x23129d=this['api']['getOutputCollectionState']();this['$']['*collectionState']=_0x23129d,this['emit'](_0x468933['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&_0x23129d['totalCount']>0x0&&'success'===_0x23129d['status']&&this['gu'](_0x23129d);},0x12c),this['fu']=(t,_0x9f48cc,_0x1b2fcc)=>{if(this['isConnected']){(_0x9f48cc['size']||_0x1b2fcc['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x9f48cc]['map'](_0x3c6f73=>_0x3c6f73['uid']));for(let _0xb56a04 of _0x9f48cc)_0xb56a04['getValue']('silent')||this['emit'](_0x468933['FILE_ADDED'],this['api']['getOutputItem'](_0xb56a04['uid'])),this['i']['wait']('pluginManager')['then'](_0x2942db=>_0x2942db['runOnAddHooks'](_0xb56a04));this['validationManager']['runCollectionValidators']();for(let _0x4d1acb of _0x1b2fcc){this['$']['*uploadTrigger']['delete'](_0x4d1acb['uid']),this['validationManager']['cleanupValidationForEntry'](_0x4d1acb),_0x4d1acb['getValue']('abortController')?.['abort'](),_0x4d1acb['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});let _0x5a82fa=_0x4d1acb?.['getValue']('thumbUrl');_0x5a82fa&&URL['revokeObjectURL'](_0x5a82fa),this['emit'](_0x468933['FILE_REMOVED'],this['api']['getOutputItem'](_0x4d1acb['uid']));}this['$']['*uploadList']=t['map'](_0x17ce2d=>({'uid':_0x17ce2d})),this['Un'](),this['bo']();}},this['mu']=t=>{if(!this['isConnected'])return;this['bo']();let _0x5ce4c6=this['uploadCollection'],_0x26ced3=[...new Set(Object['entries'](t)['filter'](([_0x21062a])=>['file','uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x21062a))['flatMap'](([,_0x563e57])=>[..._0x563e57]))];if(_0x26ced3['length']>0x0&&setTimeout(()=>{if(!this['isConnected'])return;let _0x184b19=_0x26ced3['filter'](_0x5b6b71=>t['fileInfo']?.['has'](_0x5b6b71)&&!!_0x5f1c09['getCtx'](_0x5b6b71)?.['store']['fileInfo']);_0x184b19['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x184b19),this['validationManager']['runFileValidators']('change',_0x26ced3);}),t['uploadProgress']){for(let _0xdcff69 of t['uploadProgress']){let _0x3dad45=_0x5f1c09['getCtx'](_0xdcff69);if(!_0x3dad45)continue;let {isUploading:_0x74eb7,silent:_0x34baf8}=_0x3dad45['store'];_0x74eb7&&!_0x34baf8&&this['emit'](_0x468933['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0xdcff69));}this['Un']();}if(t['isUploading'])for(let _0x3fb1bd of t['isUploading']){let _0x5674fa=_0x5f1c09['getCtx'](_0x3fb1bd);if(!_0x5674fa)continue;let {isUploading:_0x452998,silent:_0x587e03}=_0x5674fa['store'];_0x452998&&!_0x587e03&&this['emit'](_0x468933['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x3fb1bd));}if(t['fileInfo']){for(let _0x48a741 of t['fileInfo']){let _0x13b39b=_0x5f1c09['getCtx'](_0x48a741);if(!_0x13b39b)continue;let {fileInfo:_0x46bf02,silent:_0x826be0}=_0x13b39b['store'];_0x46bf02&&!_0x826be0&&this['emit'](_0x468933['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x48a741));}this['cfg']['cropPreset']&&this['vu']();}if(t['errors']){this['validationManager']['runCollectionValidators']();for(let _0x278293 of t['errors']){let _0x39a7dc=_0x5f1c09['getCtx'](_0x278293);if(!_0x39a7dc)continue;let {errors:_0x42fa71}=_0x39a7dc['store'];_0x42fa71['length']>0x0&&(this['emit'](_0x468933['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x278293)),this['emit'](_0x468933['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}let _0x15744d=_0x5ce4c6['findItems'](_0x4df1a3=>!!_0x4df1a3['getValue']('fileInfo')),_0x39d25b=_0x5ce4c6['findItems'](_0x5cb02d=>_0x5cb02d['getValue']('errors')['length']>0x0);_0x5ce4c6['size']>0x0&&0x0===_0x39d25b['length']&&_0x5ce4c6['size']===_0x15744d['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](_0x468933['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}t['cdnUrl']&&([...t['cdnUrl']]['filter'](_0x5866cc=>!!this['uploadCollection']['read'](_0x5866cc)?.['getValue']('cdnUrl'))['forEach'](_0x4c3382=>{this['emit'](_0x468933['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x4c3382));}),this['$']['*groupInfo']=null);},this['Un']=()=>{let t=0x0,_0x337aea=[...this['$']['*uploadTrigger']]['filter'](_0x3b0940=>!!this['uploadCollection']['read'](_0x3b0940));_0x337aea['forEach'](_0x35771f=>{let _0x2fd267=this['uploadCollection']['readProp'](_0x35771f,'uploadProgress');'number'==typeof _0x2fd267&&(t+=_0x2fd267);});let _0x302d7d=_0x337aea['length']?Math['round'](t/_0x337aea['length']):0x0;this['$']['*commonProgress']!==_0x302d7d&&(this['$']['*commonProgress']=_0x302d7d,this['emit'](_0x468933['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};}get['pu'](){return this['hasBlockInCtx'](t=>t instanceof _0x38bc77&&(t['Xi']&&t['isConnected']&&t!==this));}initCallback(){super['initCallback'](),this['Z']('*uploadCollection',()=>new _0x488175({'initialValue':_0x2284b6,'watchList':['file','uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']})),this['Z']('*secureUploadsManager',t=>new _0x46baa7(t)),this['Z']('*validationManager',t=>new _0x50997a(t)),this['Z']('*publicApi',t=>new _0x45f075(t)),!this['pu']&&this['couldBeCtxOwner']&&this['hu']();}getAPI(){return this['api'];}get validationManager(){return this['ie']('*validationManager');}get['api'](){return this['ie']('*publicApi');}get uploadCollection(){return this['ie']('*uploadCollection');}get['secureUploadsManager'](){return this['ie']('*secureUploadsManager');}disconnectedCallback(){super['disconnectedCallback'](),this['Xi']&&this['Ln'](),this['bo']['cancel']();}connectedCallback(){super['connectedCallback'](),this['Xi']&&this['Rn']();}['hu'](){this['Xi']=!0x0,this['Rn'](),this['subConfigValue']('maxConcurrentRequests',t=>{this['$']['*uploadQueue']['concurrency']=Number(t)||0x1;});}['Rn'](){this['Ln'](),this['vo']=this['uploadCollection']['observeCollection'](this['fu']),this['yo']=this['uploadCollection']['observeProperties'](this['mu']);}['Ln'](){this['yo']?.(),this['vo']?.(),this['yo']=void 0x0,this['vo']=void 0x0;}async['gu'](t){let _0x1345de=await this['getUploadClientOptions'](),_0x94cb4a=t['allEntries']['map'](_0x53efa6=>_0x53efa6['uuid']+(_0x53efa6['cdnUrlModifiers']?'/'+_0x53efa6['cdnUrlModifiers']:'')),_0x58fc7d=new AbortController(),_0x282e63=await _0x17fa9c(_0x94cb4a,{..._0x1345de,'signal':_0x58fc7d['signal']});if(this['$']['*collectionState']!==t)return void _0x58fc7d['abort']();this['$']['*groupInfo']=_0x282e63;let _0x3d1eb1=this['api']['getOutputCollectionState']();this['emit'](_0x468933['GROUP_CREATED'],_0x3d1eb1),this['emit'](_0x468933['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x3d1eb1;}['vu'](){let t=_0x4e8026(this['cfg']['cropPreset']);if(!t)return;let [_0x1c797b]=t,_0x52c87a=this['uploadCollection']['findItems'](_0x5b1c35=>!!_0x5b1c35['getValue']('fileInfo')&&_0x5b1c35['getValue']('isImage')&&!_0x5b1c35['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x126146=>this['uploadCollection']['read'](_0x126146))['filter'](Boolean);for(let _0x33a128 of _0x52c87a){let _0x15deaa=_0x33a128['getValue']('fileInfo');if(!_0x15deaa||!_0x15deaa['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x33a128['uid']);continue;}let {width:_0x657680,height:_0x563d75}=_0x15deaa['imageInfo'],_0x2e11af=_0x2c243a(_0x657680,_0x563d75,'number'==typeof _0x1c797b?.['width']&&'number'==typeof _0x1c797b?.['height']&&_0x1c797b['width']>0x0&&_0x1c797b['height']>0x0?_0x1c797b['width']/_0x1c797b['height']:0x1),_0x2f8500=_0x410f69('crop/'+_0x2e11af['width']+'x'+_0x2e11af['height']+'/'+_0x2e11af['x']+','+_0x2e11af['y'],'preview'),_0x369d2d=_0x33a128['getValue']('cdnUrl');_0x369d2d?_0x33a128['setMultipleValues']({'cdnUrlModifiers':_0x2f8500,'cdnUrl':_0x55f9e7(_0x369d2d,_0x2f8500)}):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x33a128['uid']);}}async getMetadataFor(t){let _0x53fae7=this['cfg']['metadata']||void 0x0;return'function'==typeof _0x53fae7?await _0x53fae7(this['api']['getOutputItem'](t)):_0x53fae7;}async getUploadClientOptions(){let t=await this['secureUploadsManager']['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':_0x14cc71,'integration':this['cfg']['userAgentIntegration'],'secureSignature':t?.['secureSignature'],'secureExpire':t?.['secureExpire'],'retryThrottledRequestMaxTimes':this['cfg']['retryThrottledRequestMaxTimes'],'retryNetworkErrorMaxTimes':this['cfg']['retryNetworkErrorMaxTimes'],'multipartMinFileSize':this['cfg']['multipartMinFileSize'],'multipartChunkSize':this['cfg']['multipartChunkSize'],'maxConcurrentRequests':this['cfg']['multipartMaxConcurrentRequests'],'multipartMaxAttempts':this['cfg']['multipartMaxAttempts'],'checkForUrlDuplicates':!!this['cfg']['checkForUrlDuplicates'],'saveUrlForRecurrentUploads':!!this['cfg']['saveUrlForRecurrentUploads']};}getOutputData(){return _0x469e04(this['i']);}};_0x2b75dc['extSrcList']=Object['freeze']({..._0x408cb7}),_0x2b75dc['sourceTypes']=Object['freeze']({..._0x4b5b6e});var _0x5a1cab=class extends _0xbf5cc2{constructor(){super(...arguments),this['name']='',this['Qi']='',this['ri']=null,this['$n']=null;}initCallback(){super['initCallback'](),this['setAttribute']('aria-hidden','true'),this['subConfigValue']('iconHrefResolver',_0x4a163f=>{this['$n']=_0x4a163f,this['wo']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['wo']()));}willUpdate(t){super['willUpdate'](t),t['has']('name')&&this['wo']();}['wo'](){if(!this['name'])return this['Qi']='',void(this['ri']=null);let _0x45d698=this['i']['pluginManager']?.['snapshot']()['icons']['find'](_0x175ed9=>_0x175ed9['name']===this['name']);if(_0x45d698)return this['ri']=_0x45d698['svg'],void(this['Qi']='');this['ri']=null;let _0x3e1885='#uc-icon-'+this['name'],_0x3a9414=this['$n']?.(this['name']);this['Qi']=_0x3a9414??_0x3e1885;}['render'](){return this['ri']?_0x13cf20`${this['yield']('',_0x13cf20`${_0x30cbbf(this['ri'])}`)}`:_0x13cf20` ${this['yield']('',_0x13cf20`<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><use href=${this['Qi']}></use></svg>`)} `;}disconnectedCallback(){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};_0x44b9f0([_0x54732b({'type':String})],_0x5a1cab['prototype'],'name',0x2),_0x44b9f0([_0x55471a()],_0x5a1cab['prototype'],'Qi',0x2),_0x44b9f0([_0x55471a()],_0x5a1cab['prototype'],'ri',0x2);var _0x3be492='--uc-img-',_0x58c657='unresolved',_0x57d38c=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x5e1a15=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0xdbd008=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':'https://ucarecdn.com'},'proxy-cname':{},'secure-delivery-proxy':{},'hi-res-support':{'default':0x1},'ultra-res-support':{},'format':{},'cdn-operations':{},'progressive':{},'quality':{},'is-background-for':{},'is-preview-blur':{'default':0x1}}),_0x2aeaa3=class extends _0x485830(_0x1688a1(_0x1a4c31)){constructor(){super(),this['Mt']={},this['c']=new Map(),this['Ot']=null,this['Ji']=null;for(let t in _0xdbd008){let _0x453aac=_0xdbd008[t];this['Mt'][_0x3be492+t]=_0x453aac?.['default']||'';}}createRenderRoot(){return this;}['$$'](t){return this['Mt'][_0x3be492+t];}set$$(t){for(let _0x79c8e6 in t){let _0x505d40=_0x3be492+_0x79c8e6,_0x44443d=t[_0x79c8e6];this['Mt'][_0x505d40]=_0x44443d,this['q'](_0x505d40,_0x44443d);}}['sub$$'](t,_0x122e9c){let _0x99afb=_0x3be492+t;this['c']['has'](_0x99afb)||this['c']['set'](_0x99afb,new Set()),this['c']['get'](_0x99afb)?.['add'](_0x122e9c);let _0x5cf9fc=this['Mt'][_0x99afb];null!==_0x5cf9fc&&''!==_0x5cf9fc&&_0x122e9c(_0x5cf9fc);}['q'](t,_0x2e89cb){this['c']['has'](t)&&this['c']['get'](t)?.['forEach'](_0x2a9e55=>{null===_0x2e89cb||''===_0x2e89cb||_0x2a9e55(_0x2e89cb);});}analyticsParams(){return'-/@clib/'+t0+'/'+_0x2c5ce6+'/uc-img/';}initAttributes(t){Array['from'](this['attributes'])['forEach'](_0x1facf0=>{let _0x5ec1f7=_0x1facf0;_0xdbd008[_0x5ec1f7['name']]||t['setAttribute'](_0x5ec1f7['name'],_0x5ec1f7['value']);});}initIntersection(t,_0x37a187){this['Ot']=new IntersectionObserver(_0x4c74c1=>{_0x4c74c1['forEach'](_0x5afbdb=>{_0x5afbdb['isIntersecting']&&(_0x37a187(),this['Ot']?.['unobserve'](t));});},{'root':null,'rootMargin':'0px'}),this['Ot']['observe'](t),this['Ji']||(this['Ji']=new Set()),this['Ji']['add'](t);}connectedCallback(){super['connectedCallback'](),this['yu']();}['yu'](){for(let t in _0xdbd008){let _0x42e8e7=_0x3be492+t,_0x3ebbca=this['getCssData'](_0x42e8e7,!0x0);null!=_0x3ebbca&&(this['Mt'][_0x42e8e7]=_0x3ebbca);}}disconnectedCallback(){super['disconnectedCallback'](),this['Ot']&&(this['Ji']?.['forEach'](t=>{this['Ot']?.['unobserve'](t);}),this['Ot']=null),this['c']['clear']();}static get observedAttributes(){return Object['keys'](_0xdbd008);}attributeChangedCallback(t,_0x1f69ae,_0x14eb52){window['setTimeout'](()=>{let _0x270919=_0x3be492+t;this['Mt'][_0x270919]=_0x14eb52,this['q'](_0x270919,_0x14eb52);});}},_0x3fc022=class extends _0x2aeaa3{constructor(){super(...arguments),this['be']=new Image(),this['pe']=new Image();}['Dn'](t){return!t['includes']('//')&&!_0x57d38c&&(t=new URL(t,document['baseURI'])['href']),t;}['er'](t){if(!t)return;let _0x182343=t,_0x3d90bc=_0x182343['match'](/\d+/)?.[0x0],_0xb12e1e=_0x182343['match'](/[a-zA-Z]+/)?.[0x0];if(!_0x3d90bc||!_0xb12e1e)return;let _0x35c5b6=parseInt(_0x3d90bc,0xa);return Number(_0x35c5b6)>0x1388&&this['Fn']?0x1388+_0xb12e1e:Number(_0x35c5b6)>0xbb8&&!this['Fn']?0xbb8+_0xb12e1e:t;}['bu'](t,_0x46a365){return _0x410f69(...(_0x9e7690=>Object['entries'](_0x9e7690)['filter'](([_0x2d242b,t])=>void 0x0!==t&&''!==t)['map'](([_0x44247a,t])=>'cdn-operations'===_0x44247a||'analytics'===_0x44247a?t:_0x44247a+'/'+t))({'format':this['To']('format'),'quality':this['To']('quality'),'resize':this['er'](t),'blur':_0x46a365,'cdn-operations':this['To']('cdn-operations')??void 0x0,'analytics':this['analyticsParams']()}));}['To'](t){let _0xbef31c=this['$$'](t);if(null==_0xbef31c||'string'==typeof _0xbef31c||'number'==typeof _0xbef31c||'boolean'==typeof _0xbef31c)return _0xbef31c;}['re'](t='',_0x2efdb5=''){let _0x56c5da=this['$$']('src');if(_0x56c5da['startsWith']('data:')||_0x56c5da['startsWith']('blob:'))return _0x56c5da;if(_0x57d38c&&_0x56c5da&&!_0x56c5da['includes']('//'))return this['oi'](_0x56c5da);let _0x733b8c=this['bu'](t,_0x2efdb5),_0x4462e5=this['$$']('cdn-cname'),_0xf1cf2c=_0x4462e5;if(_0x56c5da['startsWith'](String(_0x4462e5)))return _0x55f9e7(_0x56c5da,_0x733b8c);let _0x28242c=this['$$']('uuid');if(_0xf1cf2c&&_0x28242c)return this['oi'](_0x55f9e7(_0x367280(_0xf1cf2c,_0x28242c),_0x733b8c));if(_0x28242c)return this['oi'](_0x55f9e7(_0x367280(_0xf1cf2c,_0x28242c),_0x733b8c));let _0x3e0a2c=this['$$']('proxy-cname');if(_0x3e0a2c)return this['oi'](_0x55f9e7(_0x3e0a2c,_0x733b8c,this['Dn'](_0x56c5da)));let _0x532e3d=this['$$']('pubkey');return _0x532e3d?this['oi'](_0x55f9e7('https://'+_0x532e3d+'.ucr.io/',_0x733b8c,this['Dn'](_0x56c5da))):void 0x0;}['oi'](t){let _0x2af743=this['$$']('secure-delivery-proxy');return _0x2af743?_0x33407d(_0x2af743,{'previewUrl':t},{'transform':_0x12e022=>window['encodeURIComponent'](_0x12e022)}):t;}It(t,_0x1d1b50=0x1,_0x3a5066=!0x0){let _0x342746=t['getBoundingClientRect'](),_0x49a42f=_0x1d1b50*Math['round'](_0x342746['width']),_0x41d385=_0x3a5066?'':_0x1d1b50*Math['round'](_0x342746['height']);return _0x49a42f||_0x41d385?(_0x49a42f||'')+'x'+(_0x41d385||''):null;}['wu'](t){let _0x288bbf=_0x34335d=>{_0x34335d['stopPropagation']();let _0x2cd025=new Event(_0x34335d['type'],_0x34335d);this['dispatchEvent'](_0x2cd025);};for(let _0x59e14b of['load','error'])t['addEventListener'](_0x59e14b,_0x288bbf);}get['img'](){return this['we']||(this['Eo']({'elNode':this['be']}),this['appendChild'](this['be'])),this['be'];}get tr(){return this['we']?{'type':_0x5e1a15['PREVIEW'],'img':this['pe']}:{'type':_0x5e1a15['MAIN'],'img':this['img']};}get['we'](){return this['$$']('is-preview-blur');}get['Nn'](){return this['$$']('is-background-for');}get['Vn'](){let t=this['$$']('breakpoints');return t?(_0x414acc=>[...new Set(_0x414acc)])(_0x422e35(t)['map'](_0x1e03de=>parseInt(_0x1e03de,0xa))):null;}get['Fn'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['_n'](t){let _0x2ad4ec=new Set();_0x2ad4ec['add']('url(\x22'+this['re'](this['It'](t))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x2ad4ec['add']('url(\x22'+this['re'](this['It'](t,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x2ad4ec['add']('url(\x22'+this['re'](this['It'](t,0x3))+'\x22)\x203x');let _0x251296='image-set('+[..._0x2ad4ec]['join'](',\x20')+')';t['style']['setProperty']('background-image',_0x251296),t['style']['setProperty']('background-image','-webkit-'+_0x251296);}['Bn'](){let t=new Set();return this['Vn']?this['Vn']['forEach'](_0x261326=>{t['add'](this['re'](_0x261326+'x')+'\x20'+this['er'](_0x261326+'w')),this['$$']('hi-res-support')&&t['add'](this['re'](0x2*_0x261326+'x')+'\x20'+this['er'](0x2*_0x261326+'w')),this['$$']('ultra-res-support')&&t['add'](this['re'](0x3*_0x261326+'x')+'\x20'+this['er'](0x3*_0x261326+'w'));}):(t['add'](this['re'](this['It'](this['tr']['img']))+'\x201x'),this['$$']('hi-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x3))+'\x203x')),[...t]['join']();}['zn'](){return this['re']();}get['Hn'](){return this['re']('100x','100');}['Tu'](){let t=this['Nn'];[...document['querySelectorAll'](t)]['forEach'](_0x367d98=>{this['$$']('intersection')?this['initIntersection'](_0x367d98,()=>{this['_n'](_0x367d98);}):this['_n'](_0x367d98);});}['Eu']({elNode:t,src:_0x58cce0,srcset:_0x5ee626}){_0x58cce0&&(t['src']=_0x58cce0),_0x5ee626&&(t['srcset']=_0x5ee626);}['Eo']({elNode:t}){this['wu'](t),this['initAttributes'](t);}['xo']({src:t,srcset:_0x417b77,elNode:_0x4304f6}){return new Promise((_0x284a64,_0x23d787)=>{this['Eo']({'elNode':_0x4304f6}),_0x4304f6['setAttribute'](_0x58c657,''),_0x4304f6['addEventListener']('load',()=>{_0x4304f6['removeAttribute'](_0x58c657),_0x284a64(_0x4304f6);}),_0x4304f6['addEventListener']('error',()=>{_0x23d787(!0x1);}),this['Eu']({'elNode':_0x4304f6,'src':t,'srcset':_0x417b77});});}async['xu'](){if(this['$$']('intersection'))return this['we']&&(this['Eo']({'elNode':this['pe']}),this['appendChild'](this['pe'])),void this['initIntersection'](this['tr']['img'],async()=>{this['we']&&(this['pe']['src']=this['Hn']);try{await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}});try{this['we']&&(await this['xo']({'src':this['Hn'],'elNode':this['pe']}),this['appendChild'](this['pe'])),await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}}init(){this['Nn']?this['Tu']():this['xu']();}},_0x35f4ad=class extends _0x3fc022{connectedCallback(){super['connectedCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x277ae2=>{!this['$$']('is-background-for')&&!this['$$']('is-preview-blur')&&(this['img']['loading']=_0x277ae2?'lazy':'eager');});}},{I:_0x144090}=_0xcbe47,_0xee7afe=_0xbd3b21=>_0xbd3b21,_0x3cf1a4=()=>document['createComment'](''),_0x520f84=(_0x477dc2,_0x31777f,t)=>{let _0x50485f=_0x477dc2['ve']['parentNode'],_0x5236e5=void 0x0===_0x31777f?_0x477dc2['yt']:_0x31777f['ve'];if(void 0x0===t)t=new _0x144090(_0x50485f['insertBefore'](_0x3cf1a4(),_0x5236e5),_0x50485f['insertBefore'](_0x3cf1a4(),_0x5236e5),_0x477dc2,_0x477dc2['options']);else{let _0x2e1445=t['yt']['nextSibling'],_0x1cbc9f=t['f'],_0x4ef734=_0x1cbc9f!==_0x477dc2;if(_0x4ef734){let _0x16f799;t['Cu']?.(_0x477dc2),t['f']=_0x477dc2,void 0x0!==t['Ui']&&(_0x16f799=_0x477dc2['W'])!==_0x1cbc9f['W']&&t['Ui'](_0x16f799);}if(_0x2e1445!==_0x5236e5||_0x4ef734){let _0x47d096=t['ve'];for(;_0x47d096!==_0x2e1445;){let _0x5426d7=_0xee7afe(_0x47d096)['nextSibling'];_0xee7afe(_0x50485f)['insertBefore'](_0x47d096,_0x5236e5),_0x47d096=_0x5426d7;}}}return t;},_0x339b9d=(_0x1c4c93,_0x3536f2,t=_0x1c4c93)=>(_0x1c4c93['ce'](_0x3536f2,t),_0x1c4c93),_0x4f9ff6={},_0x2ae7de=_0x35d0ba=>{_0x35d0ba['bt'](),_0x35d0ba['ve']['remove']();},_0x47c3e6=(_0x1f6da0,_0x5e79e2)=>{let t=_0x1f6da0['le'];if(void 0x0===t)return!0x1;for(let _0x5c97e8 of t)_0x5c97e8['qs']?.(_0x5e79e2,!0x1),_0x47c3e6(_0x5c97e8,_0x5e79e2);return!0x0;},_0x160360=_0x5034f6=>{let _0x143940,t;do{if(void 0x0===(_0x143940=_0x5034f6['f']))break;t=_0x143940['le'],t['delete'](_0x5034f6),_0x5034f6=_0x143940;}while(0x0===t?.['size']);},_0x44dc1d=_0x250d85=>{for(let _0x1931d9;_0x1931d9=_0x250d85['f'];_0x250d85=_0x1931d9){let t=_0x1931d9['le'];if(void 0x0===t)_0x1931d9['le']=t=new Set();else{if(t['has'](_0x250d85))break;}t['add'](_0x250d85),_0x2dda3f(_0x1931d9);}};function _0x4f7bd9(_0x34852d){void 0x0!==this['le']?(_0x160360(this),this['f']=_0x34852d,_0x44dc1d(this)):this['f']=_0x34852d;}function _0x151f21(_0xf8a216,_0x5908d7=!0x1,t=0x0){let _0x16ede1=this['r'],_0x4d6e1f=this['le'];if(void 0x0!==_0x4d6e1f&&0x0!==_0x4d6e1f['size']){if(_0x5908d7){if(Array['isArray'](_0x16ede1)){for(let _0x34164a=t;_0x34164a<_0x16ede1['length'];_0x34164a++)_0x47c3e6(_0x16ede1[_0x34164a],!0x1),_0x160360(_0x16ede1[_0x34164a]);}else null!=_0x16ede1&&(_0x47c3e6(_0x16ede1,!0x1),_0x160360(_0x16ede1));}else _0x47c3e6(this,_0xf8a216);}}var _0x2dda3f=_0x4f178b=>{_0x4f178b['type']==_0x1dabed&&(_0x4f178b['Ui']??=_0x151f21,_0x4f178b['Cu']??=_0x4f7bd9);},_0x2fffe3=class extends _0x10d41f{constructor(){super(...arguments),this['le']=void 0x0;}['Wr'](_0x479e7c,t,_0x3ccf41){super['Wr'](_0x479e7c,t,_0x3ccf41),_0x44dc1d(this),this['isConnected']=_0x479e7c['W'];}['qs'](_0xb44263,t=!0x0){_0xb44263!==this['isConnected']&&(this['isConnected']=_0xb44263,_0xb44263?this['reconnected']?.():this['disconnected']?.()),t&&(_0x47c3e6(this,_0xb44263),_0x160360(this));}setValue(_0x76c4d6){if((_0x44c119=>void 0x0===_0x44c119['strings'])(this['Wi']))this['Wi']['ce'](_0x76c4d6,this);else{let t=[...this['Wi']['r']];t[this['iu']]=_0x76c4d6,this['Wi']['ce'](t,this,0x0);}}disconnected(){}reconnected(){}},_0x58af1e=()=>new _0x18ba10(),_0x18ba10=class{},_0x4139e4=new WeakMap(),_0x3ffc7b=_0x65e557(class extends _0x2fffe3{['render'](_0x3ef999){return _0x5043ae;}update(_0x489124,[_0x5e83cf]){let t=_0x5e83cf!==this['G'];return t&&void 0x0!==this['G']&&this['rt'](void 0x0),(t||this['lt']!==this['ct'])&&(this['G']=_0x5e83cf,this['ht']=_0x489124['options']?.['host'],this['rt'](this['ct']=_0x489124['element'])),_0x5043ae;}rt(_0x5413c6){if(this['isConnected']||(_0x5413c6=void 0x0),'function'==typeof this['G']){let _0x227738=this['ht']??globalThis,t=_0x4139e4['get'](_0x227738);void 0x0===t&&(t=new WeakMap(),_0x4139e4['set'](_0x227738,t)),void 0x0!==t['get'](this['G'])&&this['G']['call'](this['ht'],void 0x0),t['set'](this['G'],_0x5413c6),void 0x0!==_0x5413c6&&this['G']['call'](this['ht'],_0x5413c6);}else this['G']['value']=_0x5413c6;}get lt(){return'function'==typeof this['G']?_0x4139e4['get'](this['ht']??globalThis)?.['get'](this['G']):this['G']?.['value'];}disconnected(){this['lt']===this['ct']&&this['rt'](void 0x0);}reconnected(){this['rt'](this['ct']);}}),_0x1c47d9=null,_0x22349a=class extends _0xbf5cc2{constructor(){super(...arguments),this['dialogEl']=_0x58af1e(),this['strokes']=!0x1,this['blockBodyScrolling']=!0x1,this['closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='',this['$']['*currentActivity']=null);},this['Su']=()=>{this['closeDialog']();},this['Au']=t=>{this['Co']=t['target'];},this['ku']=t=>{let _0x4765d4=t['target'];_0x4765d4===this['dialogEl']['value']&&_0x4765d4===this['Co']&&this['closeDialog']();},this['si']=({id:t})=>{t===this['id']?(_0x1c47d9=t,this['show'](),this['emit'](_0x468933['MODAL_OPEN'],{'modalId':t},{'debounce':!0x0})):this['hide']();},this['ni']=({id:t})=>{t===this['id']&&(this['hide'](),this['emit'](_0x468933['MODAL_CLOSE'],{'modalId':t,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));},this['Kn']=t=>{this['hide'](),_0x1c47d9===this['id']&&this['emit'](_0x468933['MODAL_CLOSE'],{'modalId':_0x1c47d9,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-modal'];}async['show'](){await this['updateComplete'];let t=this['dialogEl']['value'];'function'==typeof t['showModal']?(this['setAttribute']('aria-modal','true'),t['showModal']()):t['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){let t=this['dialogEl']['value'];t&&('function'==typeof t['close']?(this['setAttribute']('aria-modal','false'),t['close']()):t['removeAttribute']('open'));}initCallback(){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this),this['subConfigValue']('modalBackdropStrokes',t=>{t?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['modalManager']?.['subscribe'](_0x5befab['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0x5befab['CLOSE'],this['ni']),this['modalManager']?.['subscribe'](_0x5befab['CLOSE_ALL'],this['Kn']);}disconnectedCallback(){super['disconnectedCallback'](),document['body']['style']['overflow']='',this['Co']=void 0x0,this['modalManager']?.['unsubscribe'](_0x5befab['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0x5befab['CLOSE'],this['ni']),this['modalManager']?.['unsubscribe'](_0x5befab['CLOSE_ALL'],this['Kn']);}['Mu'](t){this['dialogEl']={'value':t},this['dialogEl']['value']?.['addEventListener']('close',this['Su']),this['dialogEl']['value']?.['addEventListener']('mousedown',this['Au']),this['dialogEl']['value']?.['addEventListener']('mouseup',this['ku']);}['render'](){return _0x13cf20`<dialog ${_0x3ffc7b(this['Mu'])}>${this['yield']('')}</dialog>`;}};_0x44b9f0([_0x54732b({'type':Boolean,'noAccessor':!0x0})],_0x22349a['prototype'],'strokes',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'attribute':'block-body-scrolling','noAccessor':!0x0})],_0x22349a['prototype'],'blockBodyScrolling',0x2);var _0x3ce70a=class extends _0x2b75dc{constructor(){super(...arguments),this['z']=null,this['ir']=null;}get['jn'](){return this['nameAttrValue']??this['ctxName'];}['Gn'](){let t=document['createElement']('input');return t['type']='text',t['name']=this['jn'],t['required']=this['cfg']['multipleMin']>0x0,t['tabIndex']=-0x1,_0x283d53(t,{'opacity':0x0,'height':0x0,'width':0x0}),t;}initCallback(){super['initCallback'](),this['z']=this['Gn'](),this['appendChild'](this['z']),this['sub']('*collectionState',t=>{if(!t)return;if(!this['ir']){let _0x26b424=document['createElement']('div');this['appendChild'](_0x26b424),this['ir']=_0x26b424;}if(!this['z']){let _0x5c5886=this['Gn']();this['appendChild'](_0x5c5886),this['z']=_0x5c5886;}if(this['ir']['innerHTML']='','uploading'===t['status']||'idle'===t['status'])return this['z']['value']='',void this['z']['setCustomValidity']('');if('failed'===t['status']){let _0x5a3a45=t['errors'][0x0]?.['message'];return this['z']['value']='',void this['z']['setCustomValidity'](_0x5a3a45??'');}let _0x562052=t['group']?t['group']:null;if(_0x562052)return this['z']['value']=_0x562052['cdnUrl']??'',void this['z']['setCustomValidity']('');let _0x520048=t['allEntries']['map'](_0x436ca1=>_0x436ca1['cdnUrl'])['filter'](_0x4db41c=>'string'==typeof _0x4db41c);if(!this['cfg']['multiple']&&0x1===_0x520048['length']&&_0x520048[0x0])return this['z']['value']=_0x520048[0x0],void this['z']['setCustomValidity']('');this['z']['remove'](),this['z']=null;let _0xde7ecc=new DocumentFragment();for(let _0x1d6d47 of _0x520048){let _0x2431d9=document['createElement']('input');_0x2431d9['type']='hidden',_0x2431d9['name']=this['jn']+'[]',_0x2431d9['value']=_0x1d6d47,_0xde7ecc['appendChild'](_0x2431d9);}this['ir']['replaceChildren'](_0xde7ecc);},!0x1);}};_0x44b9f0([_0x54732b({'type':String,'noAccessor':!0x0,'attribute':'name'})],_0x3ce70a['prototype'],'nameAttrValue',0x2);var t2=class extends _0xbf5cc2{initCallback(){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x4d6ca2=>{this['toggleAttribute']('hidden',!!_0x4d6ca2);});}['render'](){return _0x13cf20`<a href="https://uploadcare.com/?utm_source=copyright&amp;utm_medium=referral&amp;utm_campaign=v4" target="_blank noopener" class="uc-credits" >Powered by Uploadcare</a >`;}},_0x49ed73=class extends _0xbf5cc2{constructor(){super(...arguments),this['hasFileName']=!0x1,this['value']=0x0,this['visible']=!0x0,this['oe']=0x0,this['rr']=_0x58af1e(),this['qn']=()=>{let t=this['rr']['value'];if(t){if(!this['visible'])return void t['classList']['add']('uc-fake-progress--hidden');this['oe']>0x0&&t['classList']['add']('uc-fake-progress--hidden');}};}firstUpdated(t){super['firstUpdated'](t),this['oe']=this['So'](this['value']),this['Ao'](),this['rr']['value']?.['addEventListener']('animationiteration',this['qn']);}updated(t){if(super['updated'](t),t['has']('value')){let _0x51e82f=this['So'](this['value']);if(this['visible']){let _0x241839=Math['max'](this['oe'],_0x51e82f);_0x241839!==this['oe']&&(this['oe']=_0x241839,this['Ao']());}else this['oe']=_0x51e82f;}t['has']('visible')&&(this['classList']['toggle']('uc-progress-bar--hidden',!this['visible']),this['visible']?this['Ao']():this['oe']=this['So'](this['value']));}disconnectedCallback(){super['disconnectedCallback'](),this['rr']['value']?.['removeEventListener']('animationiteration',this['qn']);}['So'](t){return Number['isFinite'](t)?Math['min'](0x64,Math['max'](0x0,t)):0x0;}['Ao'](){this['visible']&&this['style']['setProperty']('--l-progress-value',this['oe']['toString']());}['render'](){return _0x13cf20`<div ${_0x3ffc7b(this['rr'])} class="uc-fake-progress"></div><div class="uc-progress"></div>`;}};_0x44b9f0([_0x54732b({'type':Boolean,'noAccessor':!0x0})],_0x49ed73['prototype'],'hasFileName',0x2),_0x44b9f0([_0x54732b({'type':Number})],_0x49ed73['prototype'],'value',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x49ed73['prototype'],'visible',0x2);var _0x479779=class extends _0x2b75dc{constructor(){super(),this['he']=!0x1,this['Pt']=0x0,this['init$']={...this['init$'],'*commonProgress':0x0};}initCallback(){super['initCallback'](),this['ko']=this['uploadCollection']['observeProperties'](()=>{let t=this['uploadCollection']['items']()['some'](_0x16734=>this['uploadCollection']['read'](_0x16734)?.['getValue']('isUploading')??!0x1);this['he']=t;}),this['sub']('*commonProgress',t=>{this['Pt']=t;});}updated(t){super['updated'](t),t['has']('visible')&&(this['he']?this['setAttribute']('active',''):this['removeAttribute']('active'));}disconnectedCallback(){super['disconnectedCallback'](),this['ko']?.(),this['ko']=void 0x0;}['render'](){return _0x13cf20`<uc-progress-bar .value=${this['Pt']} .visible=${this['he']}></uc-progress-bar>`;}};_0x44b9f0([_0x55471a()],_0x479779['prototype'],'he',0x2),_0x44b9f0([_0x55471a()],_0x479779['prototype'],'Pt',0x2);var _0x46ecee=class extends _0xbf5cc2{constructor(){super(...arguments),this['value']='',this['disabled']=!0x1,this['options']=[],this['Ou']=t=>{if(this['disabled'])return t['preventDefault'](),void t['stopPropagation']();t['preventDefault'](),t['stopPropagation']();let _0x41d89d=t['currentTarget'];_0x41d89d&&(this['value']=_0x41d89d['value'],this['dispatchEvent'](new Event('change')));};}['render'](){return _0x13cf20`<select @change=${this['Ou']} .value=${this['value']} ?disabled=${this['disabled']}>${this['options']['map'](t=>_0x13cf20`<option value=${t['value']}>${t['text']}</option>`)}</select>`;}};_0x44b9f0([_0x54732b({'type':String,'attribute':!0x1})],_0x46ecee['prototype'],'value',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x46ecee['prototype'],'disabled',0x2),_0x44b9f0([_0x54732b({'type':Array,'attribute':!0x1})],_0x46ecee['prototype'],'options',0x2);var _0x151f1d=class extends _0x2b75dc{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Mo']='default',this['Oo']='';}willUpdate(t){super['willUpdate'](t),t['has']('source')&&this['Iu'](this['source']);}['Iu'](t){if(!t)return this['Oo']='',void(this['Mo']='default');let {label:_0x49d9de,icon:_0x37a39d,id:_0x4fdfe2}=t;this['Oo']=_0x49d9de,this['Mo']=_0x37a39d??_0x4fdfe2??'default';}activate(){this['source']&&this['source']['onClick']();}['render'](){return _0x13cf20`<button type="button" @click=${this['activate']}><uc-icon name=${this['Mo']}></uc-icon><div class="uc-txt">${this['l10n'](this['Oo'])}</div></button>`;}};_0x44b9f0([_0x54732b({'attribute':!0x1})],_0x151f1d['prototype'],'source',0x2),_0x44b9f0([_0x55471a()],_0x151f1d['prototype'],'Mo',0x2),_0x44b9f0([_0x55471a()],_0x151f1d['prototype'],'Oo',0x2);var _0x222572=class extends _0x2b75dc{constructor(){super(...arguments),this['Wn']=[],this['Me']=[],this['wrap']=!0x1;}initCallback(){super['initCallback'](),this['subConfigValue']('sourceList',_0x510eef=>{this['Wn']=_0x422e35(_0x510eef),this['Zn']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Zn']()));}updated(t){super['updated'](t),this['cfg']['sourceListWrap']?this['style']['removeProperty']('display'):this['style']['display']='contents';}['Zn'](){let _0x45de71=this['i']['pluginManager']?.['snapshot']()['sources']??[],_0x3b8abd=new Map(_0x45de71['map'](_0x4469c9=>[_0x4469c9['id'],_0x4469c9])),_0x2fb1bf=[];this['Wn']['forEach'](_0x55f099=>{let _0x5b13c6=this['Pu'](_0x55f099,_0x3b8abd);if(0x1!==_0x5b13c6['length']||_0x5b13c6[0x0]!==_0x55f099){for(let _0x44e71c of _0x5b13c6){let _0x54060a=_0x3b8abd['get'](_0x44e71c);_0x54060a&&_0x2fb1bf['push'](this['Yn'](_0x54060a));}return;}let _0x39d9e9=_0x3b8abd['get'](_0x55f099);_0x39d9e9&&_0x2fb1bf['push'](this['Yn'](_0x39d9e9));}),this['Me']=_0x2fb1bf;}['Pu'](t,_0x4d71ce){let _0x14666d=_0x4d71ce['get'](t);return _0x14666d?.['expand']?_0x14666d['expand']():[t];}['Yn'](t){return{'id':t['id'],'label':t['label'],'icon':t['icon'],'onClick':()=>t['onSelect']()};}['render'](){return _0x13cf20`${this['Me']['map'](t=>_0x13cf20`<uc-source-btn role="listitem" .source=${t} data-source-id=${t['id']}></uc-source-btn>`)}`;}disconnectedCallback(){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};_0x44b9f0([_0x55471a()],_0x222572['prototype'],'Me',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'attribute':'wrap','noAccessor':!0x0})],_0x222572['prototype'],'wrap',0x2);var _0x59be3f=class extends _0xbf5cc2{['render'](){return _0x13cf20`<div class="uc-spinner"></div>`;}},_0x179805='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x303a35(_0x3e6c74){let _0x425f43=new Image();return{'promise':new Promise((_0x521954,_0x198781)=>{_0x425f43['src']=_0x3e6c74,_0x425f43['onload']=()=>_0x521954(),_0x425f43['onerror']=_0x3d9db2=>_0x198781(_0x3d9db2);}),'image':_0x425f43,'cancel':()=>{0x0===_0x425f43['naturalWidth']&&(_0x425f43['src']=_0x179805);}};}function _0xd8374d(_0x27015d){let _0xae8870=[];for(let _0x4e9c01 of _0x27015d){let _0x4f3bd5=_0x303a35(_0x4e9c01);_0xae8870['push'](_0x4f3bd5);}let t=_0xae8870['map'](_0x2259aa=>_0x2259aa['image']);return{'promise':Promise['allSettled'](_0xae8870['map'](_0x2cb56c=>_0x2cb56c['promise'])),'images':t,'cancel':()=>{_0xae8870['forEach'](_0x513e56=>{_0x513e56['cancel']();});}};}function _0x3000c3(_0x196bdb,_0x4c4c57=0x28){if('image/svg+xml'===_0x196bdb['type'])return URL['createObjectURL'](_0x196bdb);let t=document['createElement']('canvas'),_0x38aa17=t['getContext']('2d');if(!_0x38aa17)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));let _0x14a4de=new Image(),_0x110b32=new Promise((_0x14708f,_0xac0ac9)=>{_0x14a4de['onload']=()=>{let _0x4ccb4b=_0x14a4de['height']/_0x14a4de['width'];_0x4ccb4b>0x1?(t['width']=_0x4c4c57,t['height']=_0x4c4c57*_0x4ccb4b):(t['height']=_0x4c4c57,t['width']=_0x4c4c57/_0x4ccb4b),_0x38aa17['fillStyle']='rgb(240,\x20240,\x20240)',_0x38aa17['fillRect'](0x0,0x0,t['width'],t['height']),_0x38aa17['drawImage'](_0x14a4de,0x0,0x0,t['width'],t['height']),t['toBlob'](_0x9b4d28=>{_0x9b4d28?_0x14708f(URL['createObjectURL'](_0x9b4d28)):_0xac0ac9();});},_0x14a4de['onerror']=_0x10ad85=>{_0xac0ac9(_0x10ad85);};});return _0x14a4de['src']=URL['createObjectURL'](_0x196bdb),_0x110b32;}var _0x49012c=class extends _0x2b75dc{constructor(){super(...arguments),this['or']=new Set(),this['entry']=null;}withEntry(t){return(..._0x1c616a)=>{let _0x2539b5=this['entry'];if(_0x2539b5)return t(_0x2539b5,..._0x1c616a);console['warn']('No\x20entry\x20found');};}subEntry(t,_0x5c57f9){this['withEntry']((_0x8aa42b,_0x15d140,_0x75d4c3)=>{let _0x207c32=_0x8aa42b['subscribe'](_0x15d140,_0x586590=>{this['isConnected']&&_0x75d4c3(_0x586590);});this['or']['add'](_0x207c32);})(t,_0x5c57f9);}reset(){for(let t of this['or'])t();this['or']=new Set(),this['entry']=null;}disconnectedCallback(){super['disconnectedCallback'](),this['or']=new Set();}};function _0x3f532e(_0x48f48c='hsl(209,\x2021%,\x2065%)',_0xcb14a3=0x20,t=0x20){return function(_0x12a949){let _0x3d5cff=new Blob([_0x12a949],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x3d5cff);}('<svg\x20width=\x22'+_0xcb14a3+'\x22\x20height=\x22'+t+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x48f48c+'\x22\x20d=\x22M9.68848\x208.70068C9.68848\x208.42454\x209.91233\x208.20068\x2010.1885\x208.20068H15.0885C15.2211\x208.20068\x2015.3483\x208.25336\x2015.442\x208.34713L20.342\x2013.2471C20.4358\x2013.3409\x2020.4885\x2013.4681\x2020.4885\x2013.6007V21.3007C20.4885\x2021.5768\x2020.2646\x2021.8007\x2019.9885\x2021.8007H10.1885C9.91233\x2021.8007\x209.68848\x2021.5768\x209.68848\x2021.3007V8.70068ZM10.6885\x209.20068V20.8007H19.4885V14.1007L15.0885\x2014.1007C14.8123\x2014.1007\x2014.5885\x2013.8768\x2014.5885\x2013.6007L14.5885\x209.20068H10.6885ZM15.5885\x209.90779L18.7814\x2013.1007L15.5885\x2013.1007L15.5885\x209.90779Z\x22/></svg>');}var _0x31137f=class extends _0x49012c{constructor(){super(...arguments),this['badgeIcon']='',this['uid']='',this['Le']='',this['Xn']=!0x1,this['sr']=null,this['Qn']=!0x1,this['Lu']=this['cfg']['filesViewMode'],this['Jn']=this['withEntry'](async(t,_0x1beb9f=!0x1)=>{let _0x5e8faf=t['getValue']('fileInfo'),_0x396c3a=t['getValue']('isImage'),_0x442f2a=t['getValue']('uuid'),_0x5bcdeb=t['getValue']('thumbUrl'),_0x2c790=this['Ru'](_0x1beb9f);if(_0x5e8faf&&_0x396c3a&&_0x442f2a){let _0x1bcfaf=await this['proxyUrl'](_0x55f9e7(_0x367280(this['cfg']['cdnCname'],_0x442f2a),_0x410f69(t['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+_0x2c790+'x'+_0x2c790+'/center')));if(_0x5bcdeb===_0x1bcfaf)return;let {promise:_0x19e2de}=_0x303a35(_0x1bcfaf);return void _0x19e2de['then'](()=>{t['setValue']('thumbUrl',_0x1bcfaf),_0x5bcdeb?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x5bcdeb);})['catch'](async()=>{if(!_0x5bcdeb?.['startsWith']('blob:'))try{let _0x23b881=t['getValue']('file');if(!_0x23b881)return;let _0x54aaf8=await _0x3000c3(_0x23b881,_0x2c790);t['setValue']('thumbUrl',_0x54aaf8);}catch(_0x36b36c){this['telemetryManager']['sendEventError'](_0x36b36c,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x295d89=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x3f532e(_0x295d89));}});}if(t['getValue']('thumbUrl'))return;let _0x4dc2c1=t['getValue']('file');if(_0x4dc2c1?.['type']['includes']('image'))try{let _0xd0f887=await _0x3000c3(_0x4dc2c1,_0x2c790);t['setValue']('thumbUrl',_0xd0f887);}catch(_0x46a55e){this['telemetryManager']['sendEventError'](_0x46a55e,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x24d710=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x3f532e(_0x24d710));}else{let _0x1919f9=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x3f532e(_0x1919f9));}}),this['nr']=_0x1c0742(this['Jn']['bind'](this),0x64);}['Ru'](t=!0x1){t&&(this['sr']=this['getBoundingClientRect']());let _0x5d55cb=Math['max'](parseInt(String(this?.['sr']?.['height']||0x0),0xa),parseInt(String(this?.['sr']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x5d55cb*=window['devicePixelRatio']),Math['min'](_0x5d55cb,0xbb8);}['Uu'](t,_0x256841){return new Promise((_0x3116a3,_0x63d296)=>{let _0x2eeccd=new Image();_0x2eeccd['decoding']='async';let _0x317ddf=()=>{_0x2eeccd&&(_0x2eeccd['onload']=null,_0x2eeccd['onerror']=null,_0x2eeccd['src']=_0x179805,_0x256841?.['removeEventListener']('abort',_0x2049e6),_0x2eeccd=null);},_0x2049e6=()=>{_0x317ddf(),_0x63d296(new DOMException('Aborted','AbortError'));};if(_0x256841){if(_0x256841['aborted'])return void _0x2049e6();_0x256841['addEventListener']('abort',_0x2049e6,{'once':!0x0});}let _0x3eaf6f=()=>{_0x317ddf(),_0x3116a3();},_0x5a726b=_0x42162c=>{_0x317ddf(),_0x63d296(_0x42162c);};if('function'==typeof _0x2eeccd['decode'])return _0x2eeccd['src']=t,void _0x2eeccd['decode']()['then'](_0x3eaf6f)['catch'](_0x5a726b);_0x2eeccd['onload']=_0x3eaf6f,_0x2eeccd['onerror']=_0x5a726b,_0x2eeccd['src']=t;});}['Po'](){this['Io']?.['cancel'](),this['Io']=void 0x0;}['$u'](t){if(this['Po'](),!t)return void(this['Le']&&(this['Le']=''));if(t===this['Le'])return;let _0xaf5b72=new AbortController(),_0x4def06={'controller':_0xaf5b72,'cancel':()=>{_0xaf5b72['abort'](),void 0x0!==_0x4def06['rafId']&&window['cancelAnimationFrame'](_0x4def06['rafId']);}};this['Io']=_0x4def06,this['Uu'](t,_0xaf5b72['signal'])['then'](()=>{_0xaf5b72['signal']['aborted']||(_0x4def06['rafId']=window['requestAnimationFrame'](()=>{_0xaf5b72['signal']['aborted']||(this['Le']=t);}));})['catch'](_0x465d9c=>{_0xaf5b72['signal']['aborted']||_0x465d9c instanceof DOMException&&'AbortError'===_0x465d9c['name']||console['warn']('[Thumb]\x20Failed\x20to\x20decode\x20thumbnail\x20image',_0x465d9c);});}['ar'](t=!0x1){if(this['entry']){if(t)return void this['Jn'](!0x0);this['Qn']&&this['nr']();}}firstUpdated(t){super['firstUpdated'](t),this['ea']();}updated(t){super['updated'](t),t['has']('uid')&&this['ea']();}['ai'](t){let [_0x21d2dc]=t;_0x21d2dc&&(this['Qn']=_0x21d2dc['isIntersecting'],_0x21d2dc['isIntersecting']&&(this['sr']=_0x21d2dc['boundingClientRect'],this['ar'](),this['s']?.['disconnect']()),0x0===_0x21d2dc['intersectionRatio']&&this['nr']['cancel']());}reset(){super['reset'](),this['nr']['cancel'](),this['Po'](),this['Le']&&(this['Le']='');}['ea'](){let t=this['uid']?.['trim']();if(!t)return void(this['entry']&&this['reset']());let _0x17dd83=this['uploadCollection']?.['read'](t);if(!_0x17dd83||_0x17dd83===this['entry'])return;this['reset'](),this['entry']=_0x17dd83;let _0x5145e9=()=>{this['ar']();};this['subEntry']('fileInfo',_0x3748cb=>{_0x3748cb?.['isImage']&&_0x5145e9();}),this['subEntry']('thumbUrl',_0x5cf3c6=>{this['$u'](_0x5cf3c6??void 0x0);}),this['subEntry']('cdnUrlModifiers',_0x5145e9),this['ar'](!0x0);}initCallback(){super['initCallback'](),this['subConfigValue']('filesViewMode',t=>{'grid'===t&&!this['Xn']&&('list'===this['Lu']&&this['ar'](!0x0),this['Xn']=!0x0);});}connectedCallback(){super['connectedCallback'](),this['s']?.['disconnect'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':0.1}),this['s']['observe'](this);}disconnectedCallback(){super['disconnectedCallback'](),this['nr']['cancel'](),this['Po'](),this['s']?.['disconnect']();}['render'](){return _0x13cf20`<div class="uc-thumb"><img class="uc-thumb__img" src=${this['Le']||_0x179805} role="img" alt="Preview of uploaded image" ?hidden=${!this['Le']} draggable="false" /><div class="uc-badge"><uc-icon name=${this['badgeIcon']}></uc-icon></div></div>`;}};_0x44b9f0([_0x54732b({'type':String})],_0x31137f['prototype'],'badgeIcon',0x2),_0x44b9f0([_0x54732b({'attribute':!0x1})],_0x31137f['prototype'],'uid',0x2),_0x44b9f0([_0x55471a()],_0x31137f['prototype'],'Le',0x2);var _0x23f11a=class extends _0x8a8c15{},_0x53a1e0=class extends _0x8a8c15{constructor(){super(...arguments),this['historyTracked']=!0x0,this['activityType']=_0x8a8c15['activities']['START_FROM'];}initCallback(){super['initCallback'](),this['registerActivity'](this['activityType']??'');}['render'](){return _0x13cf20`<div class="uc-content">${this['yield']('')}</div>`;}},_0x17dc80=class extends _0x2b75dc{constructor(){super(...arguments),this['ta']=null;}static{this['styleAttrs']=['uc-wgt-common'];}static{this['EventType']=_0x468933;}initCallback(){super['initCallback'](),this['ta']=this['eventEmitter']['bindTarget'](this);}disconnectedCallback(){super['disconnectedCallback'](),this['ta']?.();}},_0x41479b=(_0x404658,_0x46df5b)=>{let _0x16aeb7,t=!0x1,_0x2a9dad=0x0,_0x11267e=(..._0x4db3fc)=>{t?(_0x16aeb7&&clearTimeout(_0x16aeb7),_0x16aeb7=setTimeout(()=>{Date['now']()-_0x2a9dad>=_0x46df5b&&(_0x404658(..._0x4db3fc),_0x2a9dad=Date['now']());},Math['max'](_0x46df5b-(Date['now']()-_0x2a9dad),0x0))):(_0x404658(..._0x4db3fc),_0x2a9dad=Date['now'](),t=!0x0);};return Object['defineProperty'](_0x11267e,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x16aeb7&&clearTimeout(_0x16aeb7);}}),_0x11267e;},_0x545b8f=(_0x25b821,_0x1e92d9,t)=>{let _0x4b3a2f=new Map();for(let _0x8a1ac=_0x1e92d9;_0x8a1ac<=t;_0x8a1ac++)_0x4b3a2f['set'](_0x25b821[_0x8a1ac],_0x8a1ac);return _0x4b3a2f;},_0x2f35ce=_0x65e557(class extends _0x10d41f{constructor(_0x5bad0c){if(super(_0x5bad0c),_0x5bad0c['type']!==_0x1dabed)throw Error('repeat()\x20can\x20only\x20be\x20used\x20in\x20text\x20expressions');}dt(_0x5d7b88,_0x5b3b72,t){let _0x3e5a5c;void 0x0===t?t=_0x5b3b72:void 0x0!==_0x5b3b72&&(_0x3e5a5c=_0x5b3b72);let _0x3dd928=[],_0x5e8071=[],_0x1dd1da=0x0;for(let _0x5082fd of _0x5d7b88)_0x3dd928[_0x1dd1da]=_0x3e5a5c?_0x3e5a5c(_0x5082fd,_0x1dd1da):_0x1dd1da,_0x5e8071[_0x1dd1da]=t(_0x5082fd,_0x1dd1da),_0x1dd1da++;return{'values':_0x5e8071,'keys':_0x3dd928};}['render'](_0x453440,_0x1da8c9,t){return this['dt'](_0x453440,_0x1da8c9,t)['values'];}update(_0x5dc2e9,[_0x17ca09,t,_0x4c663d]){let _0x4a09e1=(_0x2d7f5f=>_0x2d7f5f['r'])(_0x5dc2e9),{values:_0x2484fa,keys:_0x3df7e2}=this['dt'](_0x17ca09,t,_0x4c663d);if(!Array['isArray'](_0x4a09e1))return this['ut']=_0x3df7e2,_0x2484fa;let _0x54b6e5,_0xba2161,_0x119b07=this['ut']??=[],_0x252224=[],_0x91126f=0x0,_0x5e2530=_0x4a09e1['length']-0x1,_0x3d055c=0x0,_0x4b797b=_0x2484fa['length']-0x1;for(;_0x91126f<=_0x5e2530&&_0x3d055c<=_0x4b797b;)if(null===_0x4a09e1[_0x91126f])_0x91126f++;else{if(null===_0x4a09e1[_0x5e2530])_0x5e2530--;else{if(_0x119b07[_0x91126f]===_0x3df7e2[_0x3d055c])_0x252224[_0x3d055c]=_0x339b9d(_0x4a09e1[_0x91126f],_0x2484fa[_0x3d055c]),_0x91126f++,_0x3d055c++;else{if(_0x119b07[_0x5e2530]===_0x3df7e2[_0x4b797b])_0x252224[_0x4b797b]=_0x339b9d(_0x4a09e1[_0x5e2530],_0x2484fa[_0x4b797b]),_0x5e2530--,_0x4b797b--;else{if(_0x119b07[_0x91126f]===_0x3df7e2[_0x4b797b])_0x252224[_0x4b797b]=_0x339b9d(_0x4a09e1[_0x91126f],_0x2484fa[_0x4b797b]),_0x520f84(_0x5dc2e9,_0x252224[_0x4b797b+0x1],_0x4a09e1[_0x91126f]),_0x91126f++,_0x4b797b--;else{if(_0x119b07[_0x5e2530]===_0x3df7e2[_0x3d055c])_0x252224[_0x3d055c]=_0x339b9d(_0x4a09e1[_0x5e2530],_0x2484fa[_0x3d055c]),_0x520f84(_0x5dc2e9,_0x4a09e1[_0x91126f],_0x4a09e1[_0x5e2530]),_0x5e2530--,_0x3d055c++;else{if(void 0x0===_0x54b6e5&&(_0x54b6e5=_0x545b8f(_0x3df7e2,_0x3d055c,_0x4b797b),_0xba2161=_0x545b8f(_0x119b07,_0x91126f,_0x5e2530)),_0x54b6e5['has'](_0x119b07[_0x91126f])){if(_0x54b6e5['has'](_0x119b07[_0x5e2530])){let _0x11b5f8=_0xba2161['get'](_0x3df7e2[_0x3d055c]),_0xcc0888=void 0x0!==_0x11b5f8?_0x4a09e1[_0x11b5f8]:null;if(null===_0xcc0888){let _0x4f8bad=_0x520f84(_0x5dc2e9,_0x4a09e1[_0x91126f]);_0x339b9d(_0x4f8bad,_0x2484fa[_0x3d055c]),_0x252224[_0x3d055c]=_0x4f8bad;}else _0x252224[_0x3d055c]=_0x339b9d(_0xcc0888,_0x2484fa[_0x3d055c]),_0x520f84(_0x5dc2e9,_0x4a09e1[_0x91126f],_0xcc0888),_0x4a09e1[_0x11b5f8]=null;_0x3d055c++;}else _0x2ae7de(_0x4a09e1[_0x5e2530]),_0x5e2530--;}else _0x2ae7de(_0x4a09e1[_0x91126f]),_0x91126f++;}}}}}}for(;_0x3d055c<=_0x4b797b;){let _0x5a07c3=_0x520f84(_0x5dc2e9,_0x252224[_0x4b797b+0x1]);_0x339b9d(_0x5a07c3,_0x2484fa[_0x3d055c]),_0x252224[_0x3d055c++]=_0x5a07c3;}for(;_0x91126f<=_0x5e2530;){let _0x178d73=_0x4a09e1[_0x91126f++];null!==_0x178d73&&_0x2ae7de(_0x178d73);}return this['ut']=_0x3df7e2,((_0xad85e6,_0x40370c=_0x4f9ff6)=>{_0xad85e6['r']=_0x40370c;})(_0x5dc2e9,_0x252224),_0x8b11bb;}}),_0x598426=Object['freeze']({'FINISHED':Symbol('FINISHED'),'FAILED':Symbol('FAILED'),'UPLOADING':Symbol('UPLOADING'),'VALIDATION':Symbol('VALIDATION'),'QUEUED_UPLOADING':Symbol('QUEUED-UPLOADING'),'QUEUED_VALIDATION':Symbol('QUEUED-VALIDATION'),'IDLE':Symbol('IDLE')}),_0x3a4f01=class _0x2fc892 extends _0x49012c{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['ia']=!0x0,this['uid']='',this['Lo']='',this['Ro']='',this['Uo']='',this['oe']=0x0,this['ra']=!0x1,this['$o']='',this['oa']=!0x1,this['sa']=!0x1,this['na']=!0x1,this['aa']=!0x1,this['lr']=!0x1,this['la']='',this['cr']=[],this['ca']=!0x1,this['Du']=()=>{this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uid']&&this['uploadCollection']['hasItem'](this['uid'])&&this['uploadCollection']['remove'](this['uid']);},this['Fu']=()=>{this['ua']();},this['S']=_0x1c0742(()=>this['da'](),0x64),this['Vu']=this['withEntry'](_0x41479b((t,_0x5a7e61)=>{let _0x47ba25=t['getValue']('errors')?.[0x0]?.['message']??'',_0x5d8105=t['getValue']('source'),_0x5eceb4=t['getValue']('externalUrl'),_0xb4bb3d=_0x5a7e61===_0x598426['FINISHED'],_0x5a6b5b=_0x5a7e61===_0x598426['UPLOADING'],_0x2d6ffb=_0x5a7e61===_0x598426['QUEUED_UPLOADING'],_0x755119=_0x5a7e61===_0x598426['QUEUED_VALIDATION'],_0x2fce71=_0x5a7e61===_0x598426['VALIDATION'],_0x36c624=t['getValue']('fileName'),_0x13b605='';_0x47ba25?_0x13b605='':!_0xb4bb3d&&_0x5eceb4&&_0x5d8105&&Object['values'](_0x408cb7)['includes'](_0x5d8105)&&(_0x13b605=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+_0x13bde9(_0x5d8105))})),this['Uo']=_0x13b605,this['Ro']=_0x47ba25,this['ra']=_0x5a6b5b||_0x2d6ffb||_0x755119||_0x2fce71,this['oe']=_0x755119||_0x2fce71?0x0:t['getValue']('uploadProgress'),this['la']=_0x36c624?this['l10n']('a11y-file-item-status',{'fileName':_0x36c624,'status':this['l10n'](_0x5a7e61?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()}):'';},0x64)),this['ua']=this['withEntry'](async t=>{if(!this['uploadCollection']['read'](t['uid'])||t['getValue']('fileInfo')||t['getValue']('isUploading')||t['getValue']('errors')['length']>0x0||t['getValue']('isValidationPending'))return;let _0x181079=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0x181079&&this['uploadCollection']['size']>_0x181079)){t['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['S']();try{let _0x4b4825=new AbortController();t['setValue']('abortController',_0x4b4825);let _0x23646f=async()=>{t['setValue']('isQueuedForUploading',!0x1);let _0x199ad8=t['getValue']('file');if(_0x199ad8 instanceof File||_0x199ad8 instanceof Blob){let _0x2ecd78=(this['i']['pluginManager']?.['snapshot']()['fileHooks']??[])['filter'](_0xd7e67a=>'beforeUpload'===_0xd7e67a['type']);for(let _0x550f10 of _0x2ecd78)try{let _0x2d7259=_0x550f10['handler']({'file':_0x199ad8,'signal':_0x4b4825['signal']}),_0x564307=new Promise((_0x13f524,_0x3b2a02)=>setTimeout(()=>_0x3b2a02(new Error('beforeUpload\x20hook\x20timed\x20out')),_0x550f10['timeout'])),{file:_0x1b8f22}=await Promise['race']([_0x2d7259,_0x564307]);_0x1b8f22!==_0x199ad8&&(_0x199ad8=_0x1b8f22,t['setValue']('mimeType',_0x199ad8['type']||null),t['setValue']('isImage',_0x5152e6(_0x199ad8)),t['setValue']('fileSize',_0x199ad8['size']),_0x199ad8 instanceof File&&t['setValue']('fileName',_0x199ad8['name']));}catch(_0x38d0a7){console['warn']('File\x20hook\x20\x22beforeUpload\x22\x20from\x20plugin\x20\x22'+_0x550f10['pluginId']+'\x22\x20failed',_0x38d0a7);}}let _0x32d21a=_0x199ad8||t['getValue']('externalUrl')||t['getValue']('uuid');if(!_0x32d21a)throw new Error('No\x20file\x20input');let _0xdfcb9={...await this['getUploadClientOptions'](),'fileName':t['getValue']('fileName')??void 0x0,'source':t['getValue']('source')??void 0x0,'onProgress':_0x576ba2=>{if(_0x576ba2['isComputable']){let _0x80b3b1=0x64*_0x576ba2['value'];t['setValue']('uploadProgress',_0x80b3b1);}},'signal':_0x4b4825['signal'],'metadata':await this['getMetadataFor'](t['uid'])};return this['debugPrint']('upload\x20options',_0x32d21a,_0xdfcb9),_0x470830(_0x32d21a,_0xdfcb9);},_0x3d5723=await this['$']['*uploadQueue']['add'](_0x23646f);t['setMultipleValues']({'fileInfo':_0x3d5723,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':_0x3d5723['originalFilename'],'fileSize':_0x3d5723['size'],'isImage':_0x3d5723['isImage']??!0x1,'mimeType':_0x3d5723['contentInfo']?.['mime']?.['mime']??_0x3d5723['mimeType'],'uuid':_0x3d5723['uuid'],'cdnUrl':t['getValue']('cdnUrl')??_0x3d5723['cdnUrl'],'cdnUrlModifiers':t['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':t['getValue']('source')??null}),t===this['entry']&&this['S']();}catch(_0x5e27c7){let _0x276820=_0x5e27c7 instanceof _0x356fa7&&_0x5e27c7['isCancel'];_0x276820?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x5e27c7 instanceof _0x4c8c83?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x5e27c7}):(console['error']('Unknown\x20upload\x20error',_0x5e27c7),t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':_0x5e27c7})})),t===this['entry']&&this['S'](),this['isConnected']&&!_0x276820&&this['telemetryManager']['sendEventError'](_0x5e27c7,'file\x20upload.\x20Failed\x20to\x20upload\x20file');}}});}['da'](){let t=this['entry'];if(!t)return;let _0x4e4ec4=_0x598426['IDLE'];t['getValue']('errors')['length']>0x0?_0x4e4ec4=_0x598426['FAILED']:t['getValue']('isQueuedForUploading')?_0x4e4ec4=_0x598426['QUEUED_UPLOADING']:t['getValue']('isQueuedForValidation')?_0x4e4ec4=_0x598426['QUEUED_VALIDATION']:t['getValue']('isValidationPending')?_0x4e4ec4=_0x598426['VALIDATION']:t['getValue']('isUploading')?_0x4e4ec4=_0x598426['UPLOADING']:t['getValue']('fileInfo')&&(_0x4e4ec4=_0x598426['FINISHED']),this['Nu'](t,_0x4e4ec4);}['Nu'](t,_0x395c13){_0x395c13===_0x598426['FAILED']?this['$o']='badge-error':_0x395c13===_0x598426['FINISHED']&&(this['$o']='badge-success'),_0x395c13===_0x598426['UPLOADING']&&(this['aa']=!0x1,this['removeAttribute']('focused')),this['sa']=_0x395c13===_0x598426['FAILED'],this['na']=_0x395c13===_0x598426['UPLOADING'],this['oa']=_0x395c13===_0x598426['FINISHED'],this['Vu'](_0x395c13);}reset(){super['reset'](),this['S']['cancel']();}['ai'](t){let [_0x9fe955]=t;_0x9fe955&&_0x9fe955['isIntersecting']&&!this['ca']&&(this['ia']=!0x1,this['ca']=!0x0);}['pa'](t){this['reset']();let _0x537446=this['uploadCollection']?.['read'](t);this['entry']=_0x537446,_0x537446?(this['subEntry']('isQueuedForValidation',()=>{this['S']();}),this['subEntry']('isValidationPending',()=>{this['S']();}),this['subEntry']('uploadProgress',()=>{this['S']();}),this['subEntry']('isQueuedForUploading',()=>{this['S']();}),this['subEntry']('fileName',_0x3d1bb6=>{this['Lo']=_0x3d1bb6||_0x537446['getValue']('externalUrl')||this['l10n']('file-no-name'),this['S']();}),this['subEntry']('externalUrl',_0x236fdc=>{this['Lo']=_0x537446['getValue']('fileName')||_0x236fdc||this['l10n']('file-no-name');}),this['subEntry']('fileInfo',()=>{this['S']();}),this['subEntry']('errors',()=>this['S']()),this['subEntry']('isUploading',()=>this['S']()),this['subEntry']('fileSize',()=>this['S']()),this['subEntry']('mimeType',()=>this['S']()),this['subEntry']('isImage',()=>this['S']()),this['subEntry']('fileInfo',()=>this['Ze']()),this['subEntry']('isUploading',()=>this['Ze']()),this['subEntry']('errors',()=>this['Ze']()),this['da'](),this['Ze']()):this['Ze']();}['ha'](t){'list'!==this['cfg']['filesViewMode']?this['lr']=t:this['lr']=!0x0;}willUpdate(t){super['willUpdate'](t),t['has']('uid')&&this['pa'](this['uid']);}['Ze'](){let t=this['i']['pluginManager'];if(!t||!this['uid'])return void(this['cr']=[]);let _0x3da869=t['snapshot']()['fileActions'],_0x35810b=this['api']['getOutputItem'](this['uid']);this['cr']=_0x35810b?_0x3da869['filter'](_0x41d7ce=>{try{return _0x41d7ce['shouldRender'](_0x35810b);}catch(_0x572e6d){return console['error']('Error\x20in\x20plugin\x20file\x20action\x20shouldRender\x20('+_0x41d7ce['id']+'):',_0x572e6d),!0x1;}}):[];}['_u'](t){if(!this['uid'])return;let _0x43f7e6=this['api']['getOutputItem'](this['uid']);if(_0x43f7e6){this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':t['id'],'node':this['tagName'],'pluginId':t['pluginId']}}});try{t['onClick'](_0x43f7e6);}catch(_0x20ba79){console['error']('Error\x20in\x20plugin\x20file\x20action\x20onClick\x20('+t['id']+'):',_0x20ba79);}}}initCallback(){super['initCallback'](),this['pa'](this['uid']),this['subConfigValue']('filesViewMode',_0x29df22=>{this['ha'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x29df22);}),this['subConfigValue']('gridShowFileNames',_0x282d20=>{this['ha'](_0x282d20);}),this['onclick']=()=>{_0x2fc892['activeInstances']['forEach'](_0x402eb1=>{_0x402eb1===this?_0x402eb1['setAttribute']('focused',''):_0x402eb1['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x3f7d5f=>{this['entry']&&!_0x3f7d5f['has'](this['entry']['uid'])||setTimeout(()=>this['isConnected']&&this['ua']());});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ze']())),this['Ze'](),_0x2fc892['activeInstances']['add'](this);}connectedCallback(){super['connectedCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]}),this['s']['observe'](this);}disconnectedCallback(){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback'](),this['s']?.['disconnect'](),_0x2fc892['activeInstances']['delete'](this),this['reset']();}static{this['activeInstances']=new Set();}shouldUpdate(t){return!this['ia']&&super['shouldUpdate'](t);}['render'](){return _0x13cf20`<div class="uc-inner" ?data-finished=${this['oa']} ?data-uploading=${this['na']} ?data-failed=${this['sa']} ?data-focused=${this['aa']} ><uc-thumb .uid=${this['uid']} .badgeIcon=${this['$o']}></uc-thumb><div aria-atomic="true" aria-live="polite" class="uc-file-name-wrapper" aria-label=${this['la']}><span class="uc-file-name" ?hidden=${!this['lr']}>${this['Lo']}</span><span class="uc-file-error" ?hidden=${!this['Ro']}>${this['Ro']}</span><span class="uc-file-hint" ?hidden=${!this['Uo']}>${this['Uo']}</span></div><div class="uc-file-actions">${this['cr']['map'](t=>_0x13cf20`<button type="button" @click=${()=>this['_u'](t)} title=${this['l10n'](t['label'])} aria-label=${this['l10n'](t['label'])} class="uc-plugin-action-btn uc-mini-btn" data-plugin-action-id=${t['id']} ><uc-icon name=${t['icon']}></uc-icon></button>`)}<button type="button" @click=${this['Du']} title=${this['l10n']('file-item-remove-button')} aria-label=${this['l10n']('file-item-remove-button')} class="uc-remove-btn uc-mini-btn" ><uc-icon name="remove-file"></uc-icon></button><button type="button" class="uc-upload-btn uc-mini-btn" @click=${this['Fu']}><uc-icon name="upload"></uc-icon></button></div><uc-progress-bar class="uc-progress-bar" .value=${this['oe']} .visible=${this['ra']} ?hasFileName=${this['lr']}></uc-progress-bar></div>`;}};_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'ia',0x2),_0x44b9f0([_0x54732b({'attribute':!0x1})],_0x3a4f01['prototype'],'uid',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'Lo',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'Ro',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'Uo',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'oe',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'ra',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'$o',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'oa',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'sa',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'na',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'aa',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'lr',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'la',0x2),_0x44b9f0([_0x55471a()],_0x3a4f01['prototype'],'cr',0x2);var _0x3d2e20=_0x3a4f01;function _0x5426f2(_0x38c1a6){return new Promise(_0xd52629=>{'function'!=typeof window['FileReader']&&_0xd52629(!0x1);try{let t=new FileReader();t['onerror']=()=>{_0xd52629(!0x0);};let _0x39a7b=_0x375423=>{'loadend'!==_0x375423['type']&&t['abort'](),_0xd52629(!0x1);};t['onloadend']=_0x39a7b,t['onprogress']=_0x39a7b,t['readAsDataURL'](_0x38c1a6);}catch{_0xd52629(!0x1);}});}function _0x4fa050(_0x46d3a5,_0x37c3ba){return new Promise(t=>{let _0x23e16b=0x0,_0x447b09=[],_0x580c68=_0xbeb228=>{if(!_0xbeb228)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void t(null);_0xbeb228['isFile']?(_0x23e16b++,_0xbeb228['file'](_0x1c2908=>{_0x23e16b--;let _0x3a20e0=new File([_0x1c2908],_0x1c2908['name'],{'type':_0x1c2908['type']||_0x37c3ba});_0x447b09['push']({'type':'file','file':_0x3a20e0,'fullPath':_0xbeb228['fullPath']}),0x0===_0x23e16b&&t(_0x447b09);})):_0xbeb228['isDirectory']&&_0x5836ab(_0xbeb228['createReader']());},_0x5836ab=_0x2e9c9d=>{_0x23e16b++,_0x2e9c9d['readEntries'](_0x36f714=>{_0x23e16b--;for(let _0x4d8242 of _0x36f714)_0x580c68(_0x4d8242);0x0===_0x23e16b&&t(_0x447b09);});};_0x580c68(_0x46d3a5);});}var _0x3f100d=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x4bccc=['focus'],_0x5aab89=new Map();function _0x570e30(_0x1ab8cc){let _0x330f73=0x0,t=document['body'],_0x5796ee=new Set(),_0x4edc14=_0x3f100d['INACTIVE'],_0x3e7fc6=_0x45c897=>{_0x1ab8cc['shouldIgnore']()&&_0x45c897!==_0x3f100d['INACTIVE']||(_0x4edc14!==_0x45c897&&_0x5796ee['forEach'](_0xd23510=>{_0xd23510(_0x45c897);}),_0x4edc14=_0x45c897);},_0x1c8778=()=>_0x330f73>0x0;var _0x5e8711;_0x5e8711=_0x39b62d=>_0x1ab8cc['onChange'](_0x39b62d),_0x5796ee['add'](_0x5e8711);let _0x1966b3=()=>{_0x330f73=0x0,_0x3e7fc6(_0x3f100d['INACTIVE']);},_0x50ddd1=()=>{_0x330f73+=0x1,_0x4edc14===_0x3f100d['INACTIVE']&&_0x3e7fc6(_0x3f100d['ACTIVE']);},_0x1739b3=()=>{_0x330f73-=0x1,_0x1c8778()||_0x3e7fc6(_0x3f100d['INACTIVE']);},_0x3fd279=_0x14dfb6=>{_0x14dfb6['preventDefault'](),_0x330f73=0x0,_0x3e7fc6(_0x3f100d['INACTIVE']);},_0x1642ea=_0x5a3474=>{if(_0x1ab8cc['shouldIgnore']())return;_0x1c8778()||(_0x330f73+=0x1);let _0x154da2=[_0x5a3474['x'],_0x5a3474['y']],_0x1df8b0=_0x1ab8cc['element']['getBoundingClientRect'](),_0x267bb5=Math['floor'](function(_0x28ed1c,_0x1dcf5a){let t=Math['max'](Math['min'](_0x28ed1c[0x0],_0x1dcf5a['x']+_0x1dcf5a['width']),_0x1dcf5a['x']),_0x336635=Math['max'](Math['min'](_0x28ed1c[0x1],_0x1dcf5a['y']+_0x1dcf5a['height']),_0x1dcf5a['y']);return Math['sqrt']((_0x28ed1c[0x0]-t)*(_0x28ed1c[0x0]-t)+(_0x28ed1c[0x1]-_0x336635)*(_0x28ed1c[0x1]-_0x336635));}(_0x154da2,_0x1df8b0)),_0x512a82=_0x267bb5<0x64,_0x46d246=_0x5a3474['composedPath']()['includes'](_0x1ab8cc['element']);_0x5aab89['set'](_0x1ab8cc['element'],_0x267bb5);let _0x6f643c=Math['min'](..._0x5aab89['values']())===_0x267bb5;_0x46d246&&_0x6f643c?(_0x5a3474['preventDefault'](),_0x3e7fc6(_0x3f100d['OVER'])):_0x3e7fc6(_0x512a82&&_0x6f643c?_0x3f100d['NEAR']:_0x3f100d['ACTIVE']);},_0x14cfce=async _0x3579f3=>{if(_0x1ab8cc['shouldIgnore']())return;_0x3579f3['preventDefault']();let {dataTransfer:_0x263740}=_0x3579f3;if(!_0x263740)return;let _0x3675a0=await function(_0x8bef5f){let _0x1c5755=[],t=[];for(let _0x1f3873=0x0;_0x1f3873<_0x8bef5f['items']['length'];_0x1f3873++){let _0xcf893d=_0x8bef5f['items'][_0x1f3873];if(_0xcf893d){if('file'===_0xcf893d['kind']){let _0x58142b=_0xcf893d['type'],_0x4de15f=_0xcf893d;if('function'==typeof _0x4de15f['webkitGetAsEntry']||'function'==typeof _0x4de15f['getAsEntry']){let _0x3a459e='function'==typeof _0x4de15f['webkitGetAsEntry']?_0x4de15f['webkitGetAsEntry']():_0x4de15f['getAsEntry']?.();_0x3a459e&&t['push'](_0x4fa050(_0x3a459e,_0x58142b)['then'](_0x399287=>{_0x399287&&_0x1c5755['push'](..._0x399287);}));continue;}let _0x3290cc=_0xcf893d['getAsFile']();_0x3290cc&&t['push'](_0x5426f2(_0x3290cc)['then'](_0x5eb476=>{_0x5eb476||_0x1c5755['push']({'type':'file','file':_0x3290cc});}));}else'string'===_0xcf893d['kind']&&/^text\/uri-list/['test'](_0xcf893d['type'])&&t['push'](new Promise(_0xcb3dc=>{_0xcf893d['getAsString'](_0x3a26e2=>{_0x1c5755['push']({'type':'url','url':_0x3a26e2}),_0xcb3dc();});}));}}return Promise['all'](t)['then'](()=>_0x1c5755);}(_0x263740);_0x1ab8cc['onItems'](_0x3675a0),_0x3e7fc6(_0x3f100d['INACTIVE']);};return t['addEventListener']('drop',_0x3fd279),t['addEventListener']('dragleave',_0x1739b3),t['addEventListener']('dragenter',_0x50ddd1),t['addEventListener']('dragover',_0x1642ea),_0x1ab8cc['element']['addEventListener']('drop',_0x14cfce),_0x4bccc['forEach'](_0x2e2ecf=>{window['addEventListener'](_0x2e2ecf,_0x1966b3);}),()=>{_0x5aab89['delete'](_0x1ab8cc['element']),t['removeEventListener']('drop',_0x3fd279),t['removeEventListener']('dragleave',_0x1739b3),t['removeEventListener']('dragenter',_0x50ddd1),t['removeEventListener']('dragover',_0x1642ea),_0x1ab8cc['element']['removeEventListener']('drop',_0x14cfce),_0x4bccc['forEach'](_0x1eec2c=>{window['removeEventListener'](_0x1eec2c,_0x1966b3);});};}var _0x5ba0dd=new Set(),_0x5f0d94=class extends _0x2b75dc{constructor(){super(...arguments),this['single']=!0x1,this['ghost']=!0x1,this['disabled']=!0x1,this['clickable']=!0x1,this['withIcon']=!0x1,this['fullscreen']=!0x1,this['initflow']=!0x1,this['Oe']=!0x0,this['fa']=!0x0,this['Do']='drop-files-here',this['ma']=!0x1,this['va']=null,this['Fo']=null,this['ya']=_0x58af1e(),this['Lt']=t=>{if(t instanceof KeyboardEvent){if('Space'!==t['code']&&'Enter'!==t['code'])return;}else{if(!(t instanceof MouseEvent))return;}this['initflow']?this['api']['initFlow']():this['api']['openSystemDialog']();},this['ba']=!0x0,this['Rt']=!0x1;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];}['ga'](){let t=this['text'];'string'==typeof t&&t['length']>0x0?this['Do']=this['l10n'](t)||t:this['Do']=this['ma']?this['l10n']('drop-files-here'):this['l10n']('drop-file-here');}isActive(){if(!this['Oe'])return!0x1;let t=this['getBoundingClientRect'](),_0x10c7ac=t['width']>0x0&&t['height']>0x0,_0x332ba2=t['top']>=0x0&&t['left']>=0x0&&t['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&t['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x3eb96f=window['getComputedStyle'](this),_0x53827b='hidden'!==_0x3eb96f['visibility']&&'none'!==_0x3eb96f['display'];return _0x10c7ac&&_0x53827b&&_0x332ba2;}initCallback(){super['initCallback'](),_0x5ba0dd['add'](this),this['No'](),this['Vo'](),this['wa'](),this['Ta'](_0x3f100d['INACTIVE']),this['va']=_0x570e30({'element':this,'shouldIgnore':()=>this['Ea'](),'onChange':t=>{this['Ta'](t);},'onItems':t=>{t['length']&&(t['forEach'](_0x346362=>{'url'===_0x346362['type']?this['api']['addFileFromUrl'](_0x346362['url'],{'source':_0x4b5b6e['DROP_AREA']}):'file'===_0x346362['type']&&this['api']['addFileFromObject'](_0x346362['file'],{'source':_0x4b5b6e['DROP_AREA'],'fullPath':_0x346362['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':_0x8a8c15['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x8a8c15['activities']['UPLOAD_LIST'])));}}),this['updateComplete']['then'](()=>this['Bu']()),this['subConfigValue']('sourceList',t=>{let _0x550778=_0x422e35(t);this['ba']=_0x550778['includes'](_0x4b5b6e['LOCAL']),this['No'](),this['Vo']();}),this['subConfigValue']('multiple',t=>{this['ma']=!!t,this['ga']();});}willUpdate(t){super['willUpdate'](t),t['has']('disabled')&&(this['No'](),this['Vo']()),(t['has']('text')||t['has']('localeId'))&&this['ga']();}updated(t){super['updated'](t),t['has']('clickable')&&this['wa']();}['Ea'](){if(!this['Oe']||!this['zu']())return!0x0;if(!this['fullscreen'])return!0x1;let t=_0x5ba0dd;return 0x0!==t['size']&&[...t]['filter'](_0x27c69f=>_0x27c69f!==this)['filter'](_0x24cf06=>_0x24cf06['isActive']())['length']>0x0;}['zu'](){let t=this['cfg']['multiple'],_0x2340df=this['cfg']['multipleMax'],_0x3a00fa=this['uploadCollection']['size'];return!(t&&_0x2340df&&_0x3a00fa>=_0x2340df||!t&&_0x3a00fa>0x0);}['No'](){let t=this['ba']&&!this['disabled'];this['Oe']=t;}['Vo'](){let t=this['Oe']||!this['querySelector']('[data-default-slot]');this['fa']=t,this['hidden']=!t;}['Ta'](t){let _0x2d0641=Object['entries'](_0x3f100d)['find'](([,_0x40cecd])=>_0x40cecd===t)?.[0x0]['toLowerCase']();_0x2d0641&&this['setAttribute']('drag-state',_0x2d0641);}['Bu'](){if(this['Fo'])return;let t=this['ya']['value'];t&&(this['Fo']=_0x570e30({'element':t,'onChange':_0x1a9fea=>{let _0x240f1f=Object['entries'](_0x3f100d)['find'](([,_0x43c308])=>_0x43c308===_0x1a9fea)?.[0x0]['toLowerCase']();_0x240f1f&&t['setAttribute']('drag-state',_0x240f1f);},'onItems':()=>{},'shouldIgnore':()=>this['Ea']()}));}['wa'](){this['clickable']&&!this['Rt']?(this['addEventListener']('keydown',this['Lt']),this['addEventListener']('click',this['Lt']),this['Rt']=!0x0):!this['clickable']&&this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}disconnectedCallback(){super['disconnectedCallback'](),_0x5ba0dd['delete'](this),this['va']?.(),this['Fo']?.(),this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['render'](){return _0x13cf20` ${this['yield']('',_0x13cf20`<div data-default-slot hidden></div><div ${_0x3ffc7b(this['ya'])} class="uc-content-wrapper" ?hidden=${!this['fa']}><div class="uc-icon-container" ?hidden=${!this['withIcon']}><uc-icon name="default"></uc-icon><uc-icon name="arrow-down"></uc-icon></div><span class="uc-text">${this['Do']}</span></div>`)} `;}};_0x44b9f0([_0x54732b({'type':Boolean,'noAccessor':!0x0})],_0x5f0d94['prototype'],'single',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'noAccessor':!0x0})],_0x5f0d94['prototype'],'ghost',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x5f0d94['prototype'],'disabled',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x5f0d94['prototype'],'clickable',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'attribute':'with-icon','reflect':!0x0})],_0x5f0d94['prototype'],'withIcon',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x5f0d94['prototype'],'fullscreen',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x5f0d94['prototype'],'initflow',0x2),_0x44b9f0([_0x54732b({'type':String})],_0x5f0d94['prototype'],'text',0x2),_0x44b9f0([_0x55471a()],_0x5f0d94['prototype'],'Oe',0x2),_0x44b9f0([_0x55471a()],_0x5f0d94['prototype'],'fa',0x2),_0x44b9f0([_0x55471a()],_0x5f0d94['prototype'],'Do',0x2);var _0x57fa15=class extends _0x2b75dc{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['historyTracked']=!0x0,this['activityType']=_0x8a8c15['activities']['UPLOAD_LIST'],this['xa']=!0x1,this['Ca']=!0x1,this['Sa']=!0x1,this['_o']=!0x1,this['Bo']=!0x1,this['ur']=null,this['Aa']=!0x1,this['zo']=null,this['ka']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},this['Ho']=()=>{this['emit'](_0x468933['UPLOAD_CLICK']),this['api']['uploadAll'](),this['Te']();},this['Ko']=()=>{this['emit'](_0x468933['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},this['Ee']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();},this['Te']=_0x41479b(()=>{this['isConnected']&&(this['ju'](),!this['couldOpenActivity']&&this['$']['*currentActivity']===this['activityType']&&this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);}get['Hu'](){return this['zo']?this['Ku'](this['zo']):'';}['ju'](){let t=this['api']['getOutputCollectionState'](),_0x29bf4c={'total':t['totalCount'],'succeed':t['successCount'],'uploading':t['uploadingCount'],'failed':t['failedCount'],'validatingBeforeUploading':t['idleEntries']['filter'](_0x3e4d5a=>_0x3e4d5a['isValidationPending'])['length']},_0x377310=!t['errors']['some'](_0x49acbb=>'TOO_MANY_FILES'===_0x49acbb['type']||'TOO_FEW_FILES'===_0x49acbb['type']),_0x25ef77=t['errors']['some'](_0x5c0e5b=>'TOO_MANY_FILES'===_0x5c0e5b['type']),_0x170ceb=t['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x2bb5c8=t['allEntries']['some'](_0x342ca4=>_0x342ca4['isValidationPending']),_0x508a1f=0x0===_0x29bf4c['failed']&&0x0===t['errors']['length']&&!_0x2bb5c8,_0x51e98d=!0x1,_0x43f15b=!0x1,_0x218f33=!0x1;if(_0x29bf4c['total']-_0x29bf4c['succeed']-_0x29bf4c['uploading']-_0x29bf4c['failed']>0x0&&_0x377310&&_0x508a1f&&this['cfg']['confirmUpload'])_0x51e98d=!0x0;else{_0x43f15b=!0x0;let _0x30c566=!this['cfg']['groupOutput']||!!t['group'];_0x218f33=_0x29bf4c['total']===_0x29bf4c['succeed']&&_0x377310&&_0x508a1f&&_0x30c566;}this['xa']=_0x43f15b,this['Ca']=_0x218f33,this['Sa']=_0x51e98d,this['Bo']=0x0===_0x29bf4c['total']||!_0x25ef77&&!_0x170ceb,this['_o']=!_0x170ceb||this['cfg']['multiple'],this['Aa']=_0x29bf4c['total']>0x0,this['zo']=_0x29bf4c;}['Ku'](t){let _0x24751f=_0x5db796=>{let _0x3a04e7=t[_0x5db796];return'uploading'===_0x5db796&&(_0x3a04e7+=t['validatingBeforeUploading']),this['l10n']('header-'+_0x5db796,{'count':_0x3a04e7});};return t['uploading']>0x0||t['validatingBeforeUploading']>0x0?_0x24751f('uploading'):t['failed']>0x0?_0x24751f('failed'):t['succeed']>0x0?_0x24751f('succeed'):_0x24751f('total');}get couldOpenActivity(){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}initCallback(){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['Te']),this['subConfigValue']('multipleMin',this['Te']),this['subConfigValue']('multipleMax',this['Te']),this['sub']('*groupInfo',t=>{t&&this['Te']();}),this['subConfigValue']('filesViewMode',t=>{this['setAttribute']('mode',t);}),this['sub']('*currentActivity',t=>{!this['couldOpenActivity']&&t===this['activityType']&&(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['Te']),this['uploadCollection']['observeCollection'](this['Te']),this['sub']('*collectionErrors',t=>{let _0xb881e7=t['filter'](_0x1b3f3d=>'SOME_FILES_HAS_ERRORS'!==_0x1b3f3d['type'])[0x0];this['ur']=_0xb881e7?_0xb881e7['message']:null;});}disconnectedCallback(){super['disconnectedCallback'](),this['has']('*uploadCollection')&&(this['uploadCollection']['unobserveProperties'](this['Te']),this['uploadCollection']['unobserveCollection'](this['Te']));}['render'](){return _0x13cf20`<uc-activity-header><span aria-live="polite" class="uc-header-text">${this['Hu']}</span><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-no-files" ?hidden=${this['Aa']}>${this['yield']('empty',_0x13cf20`<span>${this['l10n']('no-files')}</span>`)}</div><div class="uc-files"><div class="uc-files-wrapper">${_0x2f35ce(this['$']['*uploadList']??[],({uid:t})=>t,({uid:t})=>_0x13cf20`<uc-file-item .uid=${t}></uc-file-item>`)}</div><button type="button" class="uc-add-more-btn uc-secondary-btn" @click=${this['ka']} ?disabled=${!this['Bo']} ?hidden=${!this['_o']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button></div><div class="uc-common-error" ?hidden=${!this['ur']} >${this['ur']??''}</div><div class="uc-toolbar"><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('clear')}</button><div class="uc-toolbar-spacer"></div><button type="button" class="uc-add-more-btn uc-secondary-btn" ?hidden=${!this['_o']} ?disabled=${!this['Bo']} @click=${this['ka']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button><button type="button" class="uc-upload-btn uc-primary-btn" ?hidden=${!this['Sa']} @click=${this['Ho']} >${this['l10n']('upload')}</button><button type="button" class="uc-done-btn uc-primary-btn" ?hidden=${!this['xa']} ?disabled=${!this['Ca']} @click=${this['Ko']} >${this['l10n']('done')}</button></div><uc-drop-area ghost></uc-drop-area>`;}};_0x44b9f0([_0x55471a()],_0x57fa15['prototype'],'xa',0x2),_0x44b9f0([_0x55471a()],_0x57fa15['prototype'],'Ca',0x2),_0x44b9f0([_0x55471a()],_0x57fa15['prototype'],'Sa',0x2),_0x44b9f0([_0x55471a()],_0x57fa15['prototype'],'_o',0x2),_0x44b9f0([_0x55471a()],_0x57fa15['prototype'],'Bo',0x2),_0x44b9f0([_0x55471a()],_0x57fa15['prototype'],'ur',0x2),_0x44b9f0([_0x55471a()],_0x57fa15['prototype'],'Aa',0x2),_0x44b9f0([_0x55471a()],_0x57fa15['prototype'],'zo',0x2);var _0x223858=[{'test':_0xa64789=>!!_0xa64789['accept']&&!!_0xa64789['imgOnly'],'message':'There\x20could\x20be\x20a\x20mistake.\x0aBoth\x20`accept`\x20and\x20`imgOnly`\x20parameters\x20are\x20set.\x0aThe\x20value\x20of\x20`accept`\x20will\x20be\x20concatenated\x20with\x20the\x20internal\x20image\x20mime\x20types\x20list.'},{'test':_0xda7b4b=>null!==_0xda7b4b['enableVideoRecording'],'message':'The\x20`enableVideoRecording`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'},{'test':_0x37891c=>null!==_0x37891c['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],_0x384f35=_0x1c0742(_0x1f677c=>{for(let {test:_0x3b737c,message:t}of _0x223858)_0x3b737c(_0x1f677c)&&_0x5a9192(t);},0x0),_0x1b2e04=async _0x445e39=>(_0x4b6938=>{if(_0x4b6938<=0x0n)return'0';let _0x5e9781='';for(;_0x4b6938>0x0n;)_0x5e9781='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x4b6938%0x24n)]+_0x5e9781,_0x4b6938/=0x24n;return _0x5e9781;})(await(async _0xffe1bc=>{let _0x5c708=new TextEncoder()['encode'](_0xffe1bc),t=await window['crypto']['subtle']['digest']('SHA-256',_0x5c708),_0x13f831=Array['from'](new Uint8Array(t))['map'](_0x46dd6c=>_0x46dd6c['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x13f831);})(_0x445e39))['slice'](0x0,0xa),_0x530201=async(_0x314021,_0x5054bd)=>((_0x3dd9ac,_0x3c5b60)=>{let t=new URL(_0x3c5b60);return t['hostname']=_0x3dd9ac+'.'+t['hostname'],t['toString']()['replace'](/\/$/,'');})(await _0x1b2e04(_0x314021),_0x5054bd),_0x1e82ca=_0x5a45d7=>_0x5a45d7 instanceof Promise||!(!_0x5a45d7||'object'!=typeof _0x5a45d7||!('then'in _0x5a45d7)||'function'!=typeof _0x5a45d7['then']),_0x2ecf04=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x190348,enableVideoRecording:_0x216b33})=>{let t=_0x216b33();if(null===t)return _0x190348();let _0x51d940=_0x5abd0c(_0x190348());return t&&!_0x51d940['includes']('video')?_0x51d940=_0x51d940['concat']('video'):t||(_0x51d940=_0x51d940['filter'](_0x49c38e=>'video'!==_0x49c38e)),_0x6d8d43(_0x51d940);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x388278,defaultCameraMode:_0x5779d1})=>{let t=_0x5779d1();if(null===t)return _0x388278();let _0x18580a=_0x5abd0c(_0x388278());return _0x18580a=_0x18580a['sort']((_0x12f15b,_0x3672b6)=>_0x12f15b===t?-0x1:_0x3672b6===t?0x1:0x0),_0x6d8d43(_0x18580a);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x48a6be,cdnCname:_0x49fa50,cdnCnamePrefixed:t})=>{let _0x1b67c6=_0x48a6be(),_0x57fd58=_0x49fa50(),_0x25981e=t();return _0x1b67c6&&(_0x57fd58===_0x5e57b0||((_0x13385a,_0x4d8a08)=>{try{let t=new URL(_0x13385a),_0x53427f=new URL(_0x4d8a08);return t['hostname']['endsWith'](_0x53427f['hostname']);}catch{return!0x1;}})(_0x57fd58,_0x25981e))?_0x530201(_0x1b67c6,_0x25981e):_0x57fd58;}}],_0x9e999c=_0x908ed2=>String(_0x908ed2),_0x187b3e=_0x2a13d5=>{let _0x4fabd7=Number(_0x2a13d5);if(Number['isNaN'](_0x4fabd7))throw new Error('Invalid\x20number:\x20\x22'+_0x2a13d5+'\x22');return _0x4fabd7;},_0x1c0e7f=_0x33ead7=>{if(typeof _0x33ead7>'u'||null===_0x33ead7)return!0x1;if('boolean'==typeof _0x33ead7)return _0x33ead7;if('true'===_0x33ead7||''===_0x33ead7)return!0x0;if('false'===_0x33ead7)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x33ead7+'\x22');},_0x1dc053=_0x97f430=>{if('object'==typeof _0x97f430)return _0x97f430;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},_0x400fff=_0x498d1b=>{if('function'==typeof _0x498d1b)return _0x498d1b;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x49cecc=_0x2f51dc=>{if(Array['isArray'](_0x2f51dc))return _0x2f51dc;throw new Error('Must\x20be\x20an\x20array.');},_0x29d8f5={'pubkey':_0x9e999c,'multiple':_0x1c0e7f,'multipleMin':_0x187b3e,'multipleMax':_0x187b3e,'confirmUpload':_0x1c0e7f,'imgOnly':_0x1c0e7f,'accept':_0x9e999c,'externalSourcesPreferredTypes':_0x9e999c,'externalSourcesEmbedCss':_0x9e999c,'store':_0x176262=>'auto'===_0x176262?_0x176262:_0x1c0e7f(_0x176262),'cameraMirror':_0x1c0e7f,'cameraCapture':_0x26ad38=>{let _0x227336=_0x9e999c(_0x26ad38);if('user'!==_0x227336&&'environment'!==_0x227336&&''!==_0x227336)throw new Error('Invalid\x20value:\x20\x22'+_0x227336+'\x22');return _0x227336;},'sourceList':_0x9e999c,'topLevelOrigin':_0x9e999c,'maxLocalFileSizeBytes':_0x187b3e,'thumbSize':_0x187b3e,'showEmptyList':_0x1c0e7f,'useLocalImageEditor':_0x1c0e7f,'useCloudImageEditor':_0x1c0e7f,'cloudImageEditorTabs':_0x9e999c,'removeCopyright':_0x1c0e7f,'cropPreset':_0x9e999c,'imageShrink':_0x9e999c,'modalScrollLock':_0x1c0e7f,'modalBackdropStrokes':_0x1c0e7f,'sourceListWrap':_0x1c0e7f,'remoteTabSessionKey':_0x9e999c,'cdnCname':_0x9e999c,'cdnCnamePrefixed':_0x9e999c,'baseUrl':_0x9e999c,'socialBaseUrl':_0x9e999c,'secureSignature':_0x9e999c,'secureExpire':_0x9e999c,'secureDeliveryProxy':_0x9e999c,'retryThrottledRequestMaxTimes':_0x187b3e,'retryNetworkErrorMaxTimes':_0x187b3e,'multipartMinFileSize':_0x187b3e,'multipartChunkSize':_0x187b3e,'maxConcurrentRequests':_0x187b3e,'multipartMaxConcurrentRequests':_0x187b3e,'multipartMaxAttempts':_0x187b3e,'checkForUrlDuplicates':_0x1c0e7f,'saveUrlForRecurrentUploads':_0x1c0e7f,'groupOutput':_0x1c0e7f,'userAgentIntegration':_0x9e999c,'debug':_0x1c0e7f,'localeName':_0x9e999c,'metadata':_0x1fc03d=>{if('object'==typeof _0x1fc03d&&!Array['isArray'](_0x1fc03d)||'function'==typeof _0x1fc03d)return _0x1fc03d;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':_0x187b3e,'localeDefinitionOverride':_0x5e4340=>_0x1dc053(_0x5e4340),'secureUploadsSignatureResolver':_0x884978=>_0x400fff(_0x884978),'secureDeliveryProxyUrlResolver':_0x308b1e=>_0x400fff(_0x308b1e),'iconHrefResolver':_0x4cf21a=>_0x400fff(_0x4cf21a),'plugins':_0xb65647=>_0x49cecc(_0xb65647),'fileValidators':_0x49cecc,'collectionValidators':_0x49cecc,'validationTimeout':_0x187b3e,'validationConcurrency':_0x187b3e,'cameraModes':_0x33cdb9=>{let _0x2582c6=_0x9e999c(_0x33cdb9),t=_0x5abd0c(_0x2582c6);if(t['some'](_0x591b62=>!Object['values'](_0x6df8d7)['includes'](_0x591b62)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](t)+'\x22');return _0x2582c6;},'defaultCameraMode':_0x47c38e=>{let _0x5f112d=_0x9e999c(_0x47c38e);if(!Object['values'](_0x6df8d7)['includes'](_0x5f112d))throw new Error('Invalid\x20value:\x20\x22'+_0x5f112d+'\x22');return _0x5f112d;},'enableAudioRecording':_0x1c0e7f,'enableVideoRecording':_0x1c0e7f,'mediaRecorderOptions':_0x1dc053,'maxVideoRecordingDuration':_0x187b3e,'filesViewMode':_0x5bc0cc=>{let _0x4cd4e8=_0x9e999c(_0x5bc0cc);if(['grid','list']['includes'](_0x4cd4e8))return _0x4cd4e8;throw new Error('Invalid\x20value:\x20\x22'+_0x4cd4e8+'\x22');},'gridShowFileNames':_0x1c0e7f,'cloudImageEditorAutoOpen':_0x1c0e7f,'cloudImageEditorMaskHref':_0x9e999c,'testMode':_0x1c0e7f,'qualityInsights':_0x1c0e7f,'pasteScope':_0x17f6a6=>{let _0x3cbb1e=_0x9e999c(_0x17f6a6);if('local'===_0x3cbb1e||'global'===_0x3cbb1e)return _0x3cbb1e;if(!0x1===_0x1c0e7f(_0x17f6a6))return!0x1;throw new Error('Invalid\x20value:\x20\x22'+_0x3cbb1e+'\x22');}},_0x110ee4=[...new Set(['debug',...Object['keys'](_0x178dc5)])],_0x14e214=['metadata','plugins','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x31547d=_0x4ef46b=>_0x14e214['includes'](_0x4ef46b),_0x1e4a26=_0x110ee4['filter'](_0x4e166d=>!_0x31547d(_0x4e166d)),_0xbbc218={...Object['fromEntries'](_0x1e4a26['map'](_0x1d4191=>[_0x517003(_0x1d4191),_0x1d4191])),...Object['fromEntries'](_0x1e4a26['map'](_0x2bc7e1=>[_0x2bc7e1['toLowerCase'](),_0x2bc7e1]))},_0x229cad=_0x39a1cc=>'__'+_0x39a1cc,_0x4fcb20=class extends _0xbf5cc2{constructor(){super(...arguments),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](_0x178dc5)['map'](([t,_0x25048d])=>[_0x571827(t),_0x25048d]))},this['Gu']=new Map(),this['ci']={},this['Ma']=new Set(),this['Ut']=new Map();}['jo'](t){return this['Ma']['has'](t);}['Go'](t){let _0x5938ef=this['i']['pluginManager'];if(_0x5938ef)return _0x5938ef['configRegistry']['get'](t);}['Oa'](t){return[...new Set([_0x517003(t),t['toLowerCase']()])];}['qu'](t,_0xfa303b){if(_0x31547d(t)||this['jo'](t)&&!0x1===this['Go'](t)?.['attribute'])return;let _0x2712f0=this['Oa'](t);for(let _0x5a5c94 of _0x2712f0)typeof _0xfa303b>'u'||null===_0xfa303b?this['removeAttribute'](_0x5a5c94):this['getAttribute'](_0x5a5c94)!==_0xfa303b['toString']()&&this['setAttribute'](_0x5a5c94,_0xfa303b['toString']());}['Wu'](t,_0x6d24dc){let _0x2dafa2=_0x571827(t);if(this['$'][_0x2dafa2]!==_0x6d24dc){if(typeof _0x6d24dc>'u'||null===_0x6d24dc){let _0x28148f=_0x178dc5[t];this['$'][_0x2dafa2]=void 0x0!==_0x28148f?_0x28148f:_0x6d24dc;}else this['$'][_0x2dafa2]=_0x6d24dc;}}['Ye'](t,_0x24e847){let _0x324163;if(this['jo'](t)){let _0x42ba70=this['Go'](t);try{_0x324163=_0x42ba70?.['normalize']?.(_0x24e847)??_0x24e847;}catch(_0x3e1587){return void console['warn']('[uc-config]\x20normalize()\x20for\x20\x22'+t+'\x22\x20threw\x20an\x20error,\x20keeping\x20previous\x20value',_0x3e1587);}}else _0x324163=((_0x10cff6,_0x7a065f)=>{if(!(typeof _0x7a065f>'u'||null===_0x7a065f))try{return _0x29d8f5[_0x10cff6](_0x7a065f);}catch(_0x1d1a7a){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x10cff6+'\x22.',_0x1d1a7a),_0x178dc5[_0x10cff6];}})(t,_0x24e847);let _0x1d2ba4=this,_0x3c4a47=_0x229cad(t);_0x1d2ba4[_0x3c4a47]!==_0x324163&&(this['Zu'](t,_0x1d2ba4[_0x3c4a47],_0x324163),_0x1d2ba4[_0x3c4a47]=_0x324163,this['qu'](t,_0x324163),this['Wu'](t,_0x324163),this['debugPrint']('\x22'+t+'\x22',_0x324163),this['jo'](t)||_0x384f35(this['cfg']));}['pr'](t){return this[_0x229cad(t)]??this['$'][_0x571827(t)];}['Zu'](t,_0x4e1839,_0x596053){this['cfg']['debug']&&_0x596053!==_0x4e1839&&'object'==typeof _0x596053&&'object'==typeof _0x4e1839&&JSON['stringify'](_0x596053)===JSON['stringify'](_0x4e1839)&&(console['warn']('[uc-config]\x20Option\x20\x22'+t+'\x22\x20value\x20is\x20the\x20same\x20as\x20the\x20previous\x20one\x20but\x20the\x20reference\x20is\x20different'),console['warn']('[uc-config]\x20You\x20should\x20avoid\x20changing\x20the\x20reference\x20of\x20the\x20object\x20to\x20prevent\x20unnecessary\x20calculations'),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20previous\x20value:',_0x4e1839),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20new\x20value:',_0x596053));}['Ia'](t){let _0x4ea2c4=t['configRegistry']['getAll']();this['ci']={},this['Ma']=new Set(_0x4ea2c4['keys']());for(let [_0x5dca9c,_0x7f33e1]of this['Ut'])_0x4ea2c4['has'](_0x5dca9c)||(_0x7f33e1(),this['Ut']['delete'](_0x5dca9c));for(let [_0xe7650,_0x53f325]of _0x4ea2c4){let _0x112921=_0x571827(_0xe7650);if(_0x53f325['attribute']){let _0x1bd3d0=this['Oa'](_0xe7650);for(let _0x22ab15 of _0x1bd3d0)this['ci'][_0x22ab15]=_0xe7650;}this['sharedCtx']['has'](_0x112921)||this['sharedCtx']['add'](_0x112921,_0x53f325['defaultValue']);let _0x41c540=Object['getOwnPropertyDescriptor'](this,_0xe7650);if((!_0x41c540||!_0x41c540['set']||!_0x41c540['get'])&&Object['defineProperty'](this,_0xe7650,{'set':_0x176726=>{this['Ye'](_0xe7650,_0x176726);},'get':()=>this['pr'](_0xe7650),'enumerable':!0x0,'configurable':!0x0}),!this['Ut']['has'](_0xe7650)){let _0x1de298=this['sub'](_0x112921,_0x284b5a=>{this['Ye'](_0xe7650,_0x284b5a);},!0x1);this['Ut']['set'](_0xe7650,_0x1de298);}}}['Yu'](){this['i']['when']('pluginManager',t=>{this['Ia'](t),this['dr']=t['onPluginsChange'](()=>{this['Ia'](t);});});}['Xu'](){this['li']=new MutationObserver(t=>{for(let _0x36fdae of t)if('attributes'===_0x36fdae['type']&&_0x36fdae['attributeName']){let _0x4c7259=_0x36fdae['attributeName'],_0x4056c1=_0x36fdae['oldValue'],_0x312b2c=this['getAttribute'](_0x4c7259);if(_0x4056c1===_0x312b2c||_0x4c7259 in _0xbbc218)continue;if(_0x4c7259 in this['ci']){let _0x4e44d0=this['ci'][_0x4c7259],_0x1cf936=this['Go'](_0x4e44d0);this['attributeChangedCallback'](_0x4c7259,_0x4056c1??'',_0x312b2c??_0x1cf936?.['defaultValue']??'');}}}),this['li']['observe'](this,{'attributes':!0x0,'attributeOldValue':!0x0});}initCallback(){super['initCallback']();let t=this;this['Yu'](),this['Xu']();for(let _0x19a3f5 of _0x1e4a26)this['sub'](_0x571827(_0x19a3f5),_0x592747=>{this['Ye'](_0x19a3f5,_0x592747);},!0x1);for(let _0x52fdb1 of _0x110ee4){let _0x44e9a0=t[_0x52fdb1]??this['$'][_0x571827(_0x52fdb1)];_0x44e9a0!==_0x178dc5[_0x52fdb1]&&this['Ye'](_0x52fdb1,_0x44e9a0);let _0x423563=Object['getOwnPropertyDescriptor'](this,_0x52fdb1);(!_0x423563||!_0x423563['set']||!_0x423563['get'])&&Object['defineProperty'](this,_0x52fdb1,{'set':_0x3d2d5f=>{this['Ye'](_0x52fdb1,_0x3d2d5f);},'get':()=>this['pr'](_0x52fdb1)});}let _0x2a81ff=_0x1a98dd=>{(({key:_0x3b0a80,setValue:_0x35f88f,getValue:t,computationControllers:_0x5bc057})=>{for(let _0x3cd2e5 of _0x2ecf04){if(!_0x3cd2e5['deps']['includes'](_0x3b0a80))continue;let _0x5e618a={[_0x3cd2e5['key']]:()=>t(_0x3cd2e5['key'])};for(let _0x17504b of _0x3cd2e5['deps'])_0x5e618a[_0x17504b]=()=>t(_0x17504b);let _0x39e1ff,_0x1b3136=new AbortController();_0x5bc057['get'](_0x3cd2e5['fn'])?.['abort'](),_0x5bc057['set'](_0x3cd2e5['fn'],_0x1b3136);try{_0x39e1ff=_0x3cd2e5['fn'](_0x5e618a,{'signal':_0x1b3136['signal']});}catch(_0x4af5ab){return _0x5bc057['get'](_0x3cd2e5['fn'])===_0x1b3136&&_0x5bc057['delete'](_0x3cd2e5['fn']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x3cd2e5['key']+'\x22',_0x4af5ab);}_0x1e82ca(_0x39e1ff)?_0x39e1ff['then'](_0x53d266=>{_0x1b3136['signal']['aborted']||_0x35f88f(_0x3cd2e5['key'],_0x53d266);})['catch'](_0x203550=>{_0x1b3136['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x3cd2e5['key']+'\x22',_0x203550);})['finally'](()=>{_0x5bc057['get'](_0x3cd2e5['fn'])===_0x1b3136&&_0x5bc057['delete'](_0x3cd2e5['fn']);}):_0x35f88f(_0x3cd2e5['key'],_0x39e1ff);}})({'key':_0x1a98dd,'setValue':this['Ye']['bind'](this),'getValue':this['pr']['bind'](this),'computationControllers':this['Gu']});};for(let _0x51bb25 of _0x110ee4)this['sub'](_0x571827(_0x51bb25),()=>_0x2a81ff(_0x51bb25));}attributeChangedCallback(t,_0x559bfc,_0x4ee9a6){if(super['attributeChangedCallback'](t,_0x559bfc,_0x4ee9a6),_0x559bfc===_0x4ee9a6)return;let _0x2f235b=_0xbbc218[t];_0x2f235b?this[_0x2f235b]=_0x4ee9a6:this['i']['when']('pluginManager',_0x525196=>{let _0x53ac10=this['getAttribute'](t);if(_0x53ac10&&_0x53ac10!==_0x4ee9a6)return;let _0x1faf4a=this['ci'][t],_0x55e4ba=_0x1faf4a?_0x525196['configRegistry']['get'](_0x1faf4a):void 0x0;if(_0x1faf4a&&_0x55e4ba){let _0x25b64e=_0x55e4ba['fromAttribute']?_0x55e4ba['fromAttribute'](_0x4ee9a6):_0x4ee9a6;if(this['pr'](_0x1faf4a)===_0x25b64e)return;this['Ye'](_0x1faf4a,_0x25b64e);}});}disconnectedCallback(){super['disconnectedCallback'](),this['dr']&&(this['dr'](),this['dr']=void 0x0),this['li']&&(this['li']['disconnect'](),this['li']=void 0x0);for(let t of this['Ut']['values']())t();this['Ut']['clear']();}static get observedAttributes(){return[...super['observedAttributes'],...Object['keys'](_0xbbc218)];}};for(let _0x42ff67 of _0x110ee4)_0x4fcb20['prototype'][_0x42ff67]=void 0x0;var _0x1933de=class extends _0x2b75dc{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['dropzone']=!0x0,this['ui']='upload-file',this['Qu']=()=>{this['api']['initFlow']();};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];}initCallback(){super['initCallback'](),this['subConfigValue']('multiple',t=>{this['ui']=t?'upload-files':'upload-file';});}['render'](){return _0x13cf20`<uc-drop-area .disabled=${!this['dropzone']}><button type="button" @click=${this['Qu']}><uc-icon name="upload"></uc-icon><span>${this['l10n'](this['ui'])}</span>${this['yield']('')}<div class="uc-visual-drop-area">${this['l10n']('drop-files-here')}</div></button></uc-drop-area>`;}};_0x44b9f0([_0x54732b({'attribute':'dropzone','type':Boolean})],_0x1933de['prototype'],'dropzone',0x2),_0x44b9f0([_0x55471a()],_0x1933de['prototype'],'ui',0x2);var _0x366485=class extends _0x8a8c15{constructor(){super(...arguments),this['Wo']=_0x58af1e();}initCallback(){this['activityType']=this['registration']?.['id']??null,this['Pa'](),super['initCallback']();}willUpdate(t){super['willUpdate'](t),t['has']('registration')&&(this['Pa'](),this['isActivityActive']&&(this['hr'](),this['La']()));}['Pa'](){this['registration']&&(this['Pn']()||this['registerActivity'](this['activityType']??'',{'onActivate':()=>this['La'](),'onDeactivate':()=>this['hr']()}));}async['La'](){await this['updateComplete'];let t=this['Wo']['value'];if(!t||!this['registration'])return;this['hr']();let _0x204d6e=this['$']['*currentActivityParams'];try{this['qo']=this['registration']['render'](t,_0x204d6e)??void 0x0;}catch(_0x2bc071){console['error']('[Plugin\x20\x22'+this['registration']['pluginId']+'\x22]\x20Activity\x20render()\x20threw\x20an\x20error',_0x2bc071);}}['hr'](){let t=this['Wo']['value'];if(t){try{this['qo']?.();}catch(_0x53469a){console['error']('[Plugin\x20\x22'+this['registration']?.['pluginId']+'\x22]\x20Activity\x20dispose\x20threw\x20an\x20error',_0x53469a);}this['qo']=void 0x0,t['replaceChildren']();}}disconnectedCallback(){this['hr'](),super['disconnectedCallback']();}['render'](){return _0x13cf20`<div style="display: contents;" ${_0x3ffc7b(this['Wo'])}></div>`;}};_0x44b9f0([_0x54732b({'attribute':!0x1})],_0x366485['prototype'],'registration',0x2);var t5=class extends _0xbf5cc2{constructor(){super(...arguments),this['mode']='modal',this['de']=[];}initCallback(){super['initCallback']();let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ra']())),this['Ra']();}['Ra'](){let t=this['i']['pluginManager'];this['de']=t?t['snapshot']()['activities']:[];}disconnectedCallback(){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}['render'](){return'inline'===this['mode']?_0x13cf20`${_0x2f35ce(this['de'],t=>t['id'],t=>_0x13cf20`<uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host>`)}`:_0x13cf20`${_0x2f35ce(this['de'],t=>t['id'],t=>_0x13cf20`<uc-modal id=${t['id']} strokes block-body-scrolling><uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host></uc-modal>`)}`;}};function _0x1c1807(_0x5af0d2,_0x138b7f,t){return _0x5af0d2?_0x138b7f(_0x5af0d2):t?.(_0x5af0d2);}function _0x4482e1(..._0x72bd22){return _0x72bd22['reduce']((_0x5ec582,t)=>{if('string'==typeof t)return _0x5ec582[t]=!0x0,_0x5ec582;for(let _0x197cce of Object['keys'](t))_0x5ec582[_0x197cce]=t[_0x197cce];return _0x5ec582;},{});}function _0x25515e(..._0x11b88e){let _0x42f63d=_0x4482e1(..._0x11b88e);return Object['keys'](_0x42f63d)['reduce']((t,_0x302e04)=>(_0x42f63d[_0x302e04]&&t['push'](_0x302e04),t),[])['join']('\x20');}_0x44b9f0([_0x54732b({'type':String})],t5['prototype'],'mode',0x2),_0x44b9f0([_0x55471a()],t5['prototype'],'de',0x2);var _0x317cc6=_0x32fd43=>_0x53d00e['includes'](_0x32fd43);function _0x2e7826(_0x309595){return{'*originalUrl':null,'*loadingOperations':new Map(),'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x53d00e,'*tabId':_0x14a07a['CROP'],'*on.retryNetwork':()=>{let _0x424978=_0x309595['querySelectorAll']('img');for(let t of _0x424978){let _0x18dfdc=t['src'];t['src']=_0x179805,t['src']=_0x18dfdc;}_0x309595['$']['*networkProblems']=!0x1;},'*on.apply':_0x513ca1=>{if(!_0x513ca1)return;let t=_0x309595['$']['*originalUrl'];if(!t)return void console['warn']('Original\x20URL\x20is\x20null,\x20cannot\x20apply\x20transformations');let _0x3f5c8a=_0x410f69(_0x25edb3(_0x513ca1),'preview'),_0x438478={'originalUrl':t,'cdnUrlModifiers':_0x3f5c8a,'cdnUrl':_0x55f9e7(t,_0x3f5c8a),'transformations':_0x513ca1};_0x309595['dispatchEvent'](new CustomEvent('apply',{'detail':_0x438478,'bubbles':!0x0,'composed':!0x0})),_0x309595['remove']();},'*on.cancel':()=>{_0x309595['remove'](),_0x309595['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var _0xbac6d6={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0xe4049a=class extends _0xbf5cc2{constructor(){super(...arguments),this['he']=!0x1,this['Ua']=_0xbac6d6,this['$a']=_0xbac6d6['visible'],this['Da']=_0xbac6d6['hidden'],this['Zo']=!0x1,this['Fa']=!0x1;}set['visible'](t){this['he']=t,this['Na']();}get['visible'](){return this['he'];}set styles(t){this['Ua']=t,this['Zo']=!0x0,this['$a']=t['visible']??_0xbac6d6['visible'],this['Da']=t['hidden']??_0xbac6d6['hidden'];}get styles(){return this['Ua'];}['Na'](){this['style']['visibility']=this['he']?'inherit':'hidden',function(_0x21b54d,..._0x334c69){let t=_0x4482e1(..._0x334c69);for(let _0x5afab1 of Object['keys'](t))_0x21b54d['classList']['toggle'](_0x5afab1,!!t[_0x5afab1]);}(this,{[_0xbac6d6['transition']]:!this['Zo'],[this['$a']]:this['he'],[this['Da']]:!this['he']}),this['toggleAttribute']('inert',!this['he']);}['Ju'](){this['Fa']||(this['Fa']=!0x0,this['dispatchEvent'](new CustomEvent('initial-render',{'bubbles':!0x0,'composed':!0x0})));}initCallback(){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['Zo']||this['classList']['add'](_0xbac6d6['transition']),this['Na'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1),this['Ju']();},0x0);}};_0x44b9f0([_0x54732b({'type':Boolean})],_0xe4049a['prototype'],'visible',0x1),_0x44b9f0([_0x54732b({'attribute':!0x1})],_0xe4049a['prototype'],'styles',0x1);var _0x2fcefd=class extends _0xbf5cc2{constructor(){super(...arguments),this['active']=!0x1,this['Xe']=_0x58af1e(),this['Yo']=!0x1,this['Xo']=()=>{let t=this['Xe']['value'];t&&(this['Va'](t),this['Yo']&&this['active']&&this['Qo']());};}firstUpdated(t){super['firstUpdated'](t),this['active']&&this['Qo']();}updated(t){super['updated'](t),t['has']('active')&&(this['active']?this['Qo']():this['ed']());}['Qo'](){let t=this['Xe']['value'];if(!t)return;this['Yo']=!0x0;let {width:_0x3f781f}=this['getBoundingClientRect']();t['removeEventListener']('transitionend',this['Xo']),t['style']['transition']='transform\x201s',t['style']['opacity']='1',t['style']['transform']='translateX('+_0x3f781f+'px)',t['addEventListener']('transitionend',this['Xo'],{'once':!0x0});}['ed'](){let t=this['Xe']['value'];t&&(this['Yo']=!0x1,t['removeEventListener']('transitionend',this['Xo']),this['Va'](t));}['Va'](t){t['style']['transition']='initial',t['style']['opacity']='0',t['style']['transform']='translateX(-101%)';}['render'](){return _0x13cf20`<div class="uc-inner"><div class="uc-line" ${_0x3ffc7b(this['Xe'])}></div></div>`;}};_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x2fcefd['prototype'],'active',0x2);var _0x5d1c9a=_0x65e557(class extends _0x10d41f{constructor(_0x1d9b0a){if(super(_0x1d9b0a),_0x1d9b0a['type']!==_0x733359||'class'!==_0x1d9b0a['name']||_0x1d9b0a['strings']?.['length']>0x2)throw Error('`classMap()`\x20can\x20only\x20be\x20used\x20in\x20the\x20`class`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x36dbd1){return'\x20'+Object['keys'](_0x36dbd1)['filter'](_0xcd8395=>_0x36dbd1[_0xcd8395])['join']('\x20')+'\x20';}update(_0x5c4754,[_0x29f1b2]){if(void 0x0===this['st']){this['st']=new Set(),void 0x0!==_0x5c4754['strings']&&(this['nt']=new Set(_0x5c4754['strings']['join']('\x20')['split'](/\s/)['filter'](_0x473cda=>''!==_0x473cda)));for(let _0x26190f in _0x29f1b2)_0x29f1b2[_0x26190f]&&!this['nt']?.['has'](_0x26190f)&&this['st']['add'](_0x26190f);return this['render'](_0x29f1b2);}let t=_0x5c4754['element']['classList'];for(let _0x19cc99 of this['st'])_0x19cc99 in _0x29f1b2||(t['remove'](_0x19cc99),this['st']['delete'](_0x19cc99));for(let _0x49d653 in _0x29f1b2){let _0x28c538=!!_0x29f1b2[_0x49d653];_0x28c538===this['st']['has'](_0x49d653)||this['nt']?.['has'](_0x49d653)||(_0x28c538?(t['add'](_0x49d653),this['st']['add'](_0x49d653)):(t['remove'](_0x49d653),this['st']['delete'](_0x49d653)));}return _0x8b11bb;}}),_0x34ea91=_0x4a34c5=>_0x4a34c5??_0x5043ae,_0x4838e3=class extends _0xbf5cc2{constructor(){super(...arguments),this['text']='',this['icon']='',this['reverse']=!0x1,this['theme']='default',this['ariaRole']=void 0x0,this['ariaControls']='',this['titleProp']='',this['active']=!0x1;}firstUpdated(t){super['firstUpdated'](t),this['_a'](),this['Ba']();}updated(t){super['updated'](t),t['has']('reverse')&&this['_a'](),t['has']('theme')&&this['Ba']();}['_a'](){this['style']['flexDirection']=this['reverse']?'row-reverse':'';}['Ba'](){this['theme']&&'custom'!==this['theme']&&(this['className']='uc-'+this['theme']);}get td(){let t=this['Jo'];return{'uc-icon':!0x0,'uc-icon_left':!this['reverse'],'uc-icon_right':this['reverse'],'uc-icon_hidden':t,'uc-icon_single':this['rd']};}get['Jo'](){return!this['icon'];}get['rd'](){return!this['text']&&!this['Jo'];}['render'](){return _0x13cf20`<button type="button" role=${_0x34ea91(this['ariaRole']||void 0x0)} aria-controls=${_0x34ea91(this['ariaControls']||void 0x0)} aria-label=${_0x34ea91(this['l10n'](this['titleProp']))} title=${_0x34ea91(this['l10n'](this['titleProp']))} ><uc-icon class=${_0x5d1c9a(this['td'])} name=${_0x34ea91(this['icon']||void 0x0)} ?hidden=${this['Jo']} ></uc-icon><div class="uc-text">${this['text']}</div></button>`;}};function _0x487801(_0xe1ad84,_0x4afec7,t){let _0x3f2953=window['devicePixelRatio'],_0x9d394d=Math['min'](Math['ceil'](_0x4afec7*_0x3f2953),0xbb8),_0x5866ed=_0x3f2953>=0x2?'lightest':'normal';return _0x55f9e7(_0xe1ad84,_0x410f69(_0x5c72df,_0x25edb3(t),'quality/'+_0x5866ed,'stretch/off/-/resize/'+_0x9d394d+'x','@clib/'+t0+'/'+_0x2c5ce6+'/uc-cloud-image-editor/'));}_0x44b9f0([_0x54732b({'type':String})],_0x4838e3['prototype'],'text',0x2),_0x44b9f0([_0x54732b({'type':String})],_0x4838e3['prototype'],'icon',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x4838e3['prototype'],'reverse',0x2),_0x44b9f0([_0x54732b({'type':String,'reflect':!0x0})],_0x4838e3['prototype'],'theme',0x2),_0x44b9f0([_0x54732b({'attribute':'aria-role'})],_0x4838e3['prototype'],'ariaRole',0x2),_0x44b9f0([_0x54732b({'attribute':'aria-controls'})],_0x4838e3['prototype'],'ariaControls',0x2),_0x44b9f0([_0x54732b({'attribute':'title-prop'})],_0x4838e3['prototype'],'titleProp',0x2),_0x44b9f0([_0x54732b({'type':Boolean,'noAccessor':!0x0})],_0x4838e3['prototype'],'active',0x2);var _0xa3e15c=class extends _0xbf5cc2{constructor(){super(...arguments),this['za']='uc-backdrop-mask-'+_0x138f26['generateFastUid'](),this['mr']=!0x1,this['fi']=!0x1,this['ja']=_0x58af1e(),this['mi']=!0x1,this['gi']=null,this['qa']=t=>{this['Wa'](),this['vi']&&(t['stopPropagation'](),t['preventDefault'](),this['vi']=!0x1);},this['Za']=t=>{if(!this['vi']||!this['fr']||!this['ts'])return;t['stopPropagation'](),t['preventDefault']();let _0x4aa29f=this['Re'];if(!_0x4aa29f)return;let {x:_0x42f32f,y:_0x340adb}=_0x4aa29f['getBoundingClientRect'](),_0x5f4c3c=t['x']-_0x42f32f,_0x3fbd9c=t['y']-_0x340adb,_0x3c0504=_0x5f4c3c-this['fr'][0x0],_0x1d1b3c=_0x3fbd9c-this['fr'][0x1],{direction:_0x1e065d}=this['ts'],_0x5d083f=this['pd'](_0x1e065d,[_0x3c0504,_0x1d1b3c]);_0x5d083f&&(this['$']['*cropBox']=_0x5d083f);},this['Ya']=t=>{if(!this['xe'])return;let _0x3af7d1=Object['values'](this['xe'])['find'](_0x486570=>{if(!_0x486570||this['os'](_0x486570['direction']))return!0x1;let _0x2af235=_0x486570['interactionNode']['getBoundingClientRect']();return function(_0x569a99,[_0x1c4f9c,t]){return _0x569a99['x']<=_0x1c4f9c&&_0x1c4f9c<=_0x569a99['x']+_0x569a99['width']&&_0x569a99['y']<=t&&t<=_0x569a99['y']+_0x569a99['height'];}({'x':_0x2af235['x'],'y':_0x2af235['y'],'width':_0x2af235['width'],'height':_0x2af235['height']},[t['x'],t['y']]);});this['Ha']=_0x3af7d1,this['Wa']();};}get['Re'](){return this['ja']['value']??null;}get['vi'](){return this['fi'];}set['vi'](t){this['fi']!==t&&(this['fi']=t,this['rs']());}['rs'](){this['pi']&&this['pi']['setAttribute']('class',_0x25515e({'uc-guides--hidden':this['mr'],'uc-guides--visible':!this['mr']&&this['fi'],'uc-guides--semi-hidden':!this['mr']&&!this['fi']}));}['os'](t){let _0x4227c4=this['$']['*imageBox'];if(!_0x4227c4)return!0x1;if(''===t&&_0x4227c4['height']<=0x1&&_0x4227c4['width']<=0x1)return!0x0;let _0x4dc684=_0x4227c4['height']<=0x1&&(t['includes']('n')||t['includes']('s')),_0x1e2604=_0x4227c4['width']<=0x1&&(t['includes']('e')||t['includes']('w'));return _0x4dc684||_0x1e2604;}['od'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x2d0c6f,y:_0x323b7f,width:_0x13ab84,height:_0x38bcc4}=t,_0x3da5bf=this['Re'];if(!_0x3da5bf)return;let _0x3d6f6d=_0x47bfad('mask',{'id':this['za']}),_0x2cc0b6=_0x47bfad('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x50fdf2=_0x47bfad('rect',{'x':_0x2d0c6f,'y':_0x323b7f,'width':_0x13ab84,'height':_0x38bcc4,'fill':'black'});_0x3d6f6d['appendChild'](_0x2cc0b6),_0x3d6f6d['appendChild'](_0x50fdf2);let _0x269487=_0x47bfad('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['za']+')'});_0x3da5bf['appendChild'](_0x269487),_0x3da5bf['appendChild'](_0x3d6f6d),this['di']=_0x3d6f6d,this['es']=_0x50fdf2;}['sd'](){this['di']&&(this['di']['style']['display']='none',window['requestAnimationFrame'](()=>{this['di']&&(this['di']['style']['display']='block');}));}['nd'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x4b2b07,y:_0x420bf1,width:_0xfb8703,height:_0x5b7254}=t;this['es']&&_0x5c229f(this['es'],{'x':_0x4b2b07,'y':_0x420bf1,'width':_0xfb8703,'height':_0x5b7254});}['ad'](){let t=this['$']['*cropBox'];if(t&&this['pi']&&this['xe']){for(let _0x1b3408 of Object['values'](this['xe'])){if(!_0x1b3408)continue;let {direction:_0x1928c6,pathNode:_0x5196f6,interactionNode:_0x2927ba,groupNode:_0x1e3aaf}=_0x1b3408,_0x103726=''===_0x1928c6,_0x1b70f4=0x2===_0x1928c6['length'],{x:_0x80f4bd,y:_0x1c1ce4,width:_0x420979,height:_0x205a14}=t;if(_0x103726)_0x5c229f(_0x2927ba,{'x':_0x80f4bd,'y':_0x1c1ce4,'width':_0x420979,'height':_0x205a14});else{let _0x6db5b7=_0x4e6856(Math['min'](_0x420979,_0x205a14)/0x52/0x2,0x0,0x1),_0x4decb5=_0x1b70f4?_0x3c84f(t,_0x1928c6,_0x6db5b7):_0x2b5eea(t,_0x1928c6,_0x6db5b7),_0x1dc666=_0x4decb5['center'];if(!_0x1dc666)continue;let _0x204982=Math['max'](0x18*_0x4e6856(Math['min'](_0x420979,_0x205a14)/0x18/0x3,0x0,0x1),0x6);_0x5c229f(_0x2927ba,{'x':_0x1dc666[0x0]-_0x204982,'y':_0x1dc666[0x1]-_0x204982,'width':0x2*_0x204982,'height':0x2*_0x204982}),_0x5c229f(_0x5196f6,{'d':_0x4decb5['d']});}let _0x17cddc=this['os'](_0x1928c6);_0x1e3aaf['setAttribute']('class',_0x25515e('uc-thumb',{'uc-thumb--hidden':_0x17cddc,'uc-thumb--visible':!_0x17cddc}));}_0x5c229f(this['pi'],{'x':t['x']-0.5,'y':t['y']-0.5,'width':t['width']+0x1,'height':t['height']+0x1});}}['Ga'](t,_0x217d71){let _0x784855=_0x47bfad('g');_0x784855['classList']['add']('uc-thumb'),_0x784855['setAttribute']('with-effects','');let _0x4fa88a=_0x47bfad('rect',{'fill':'transparent'}),_0x34688d=_0x47bfad('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x784855['appendChild'](_0x34688d),_0x784855['appendChild'](_0x4fa88a),t[_0x217d71]={'direction':_0x217d71,'pathNode':_0x34688d,'interactionNode':_0x4fa88a,'groupNode':_0x784855},''===_0x217d71&&(_0x784855['style']['cursor']='move'),_0x4fa88a['addEventListener']('pointerdown',this['ld']['bind'](this,_0x217d71));}['cd'](){let t={};for(let _0x2f3d85=0x0;_0x2f3d85<0x3;_0x2f3d85++)for(let _0x6a7b80=0x0;_0x6a7b80<0x3;_0x6a7b80++){let _0x144ab4=''+['n','','s'][_0x2f3d85]+['w','','e'][_0x6a7b80];''!==_0x144ab4&&this['Ga'](t,_0x144ab4);}return this['Ga'](t,''),t;}['ud'](){let t=_0x47bfad('svg'),_0x4fa887=_0x47bfad('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});t['appendChild'](_0x4fa887);for(let _0x3c5ded=0x1;_0x3c5ded<=0x2;_0x3c5ded++){let _0x3cc26f=_0x47bfad('line',{'x1':_0x10de4f*_0x3c5ded+'%','y1':'0%','x2':_0x10de4f*_0x3c5ded+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x3cc26f);}for(let _0x4d6aae=0x1;_0x4d6aae<=0x2;_0x4d6aae++){let _0x2469aa=_0x47bfad('line',{'x1':'0%','y1':_0x10de4f*_0x4d6aae+'%','x2':'100%','y2':_0x10de4f*_0x4d6aae+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x2469aa);}return t['classList']['add']('uc-guides','uc-guides--semi-hidden'),t;}['dd'](){let t=this['Re'];if(!t)return;let _0x1e4846=document['createDocumentFragment'](),_0x39a619=this['ud']();_0x1e4846['appendChild'](_0x39a619);let _0x13786d=this['cd']();for(let {groupNode:_0xeccdf5}of Object['values'](_0x13786d))_0x1e4846['appendChild'](_0xeccdf5);t['appendChild'](_0x1e4846),this['xe']=_0x13786d,this['pi']=_0x39a619,this['rs']();}['ld'](t,_0x3fd4f8){if(!this['xe'])return;let _0xe063de=this['xe'][t];if(!_0xe063de||this['os'](t))return;let _0x4e834a=this['$']['*cropBox'],_0x15f3c3=this['Re'];if(!_0x15f3c3)return;let {x:_0xac6ee9,y:_0xd25cd4}=_0x15f3c3['getBoundingClientRect'](),_0x57ecfc=_0x3fd4f8['x']-_0xac6ee9,_0x162ab7=_0x3fd4f8['y']-_0xd25cd4;this['vi']=!0x0,this['ts']=_0xe063de,this['fr']=[_0x57ecfc,_0x162ab7],this['Ka']={..._0x4e834a};}['pd'](t,_0x5c923c){let [_0x5b2c73,_0x556777]=_0x5c923c,_0x2b7c0a=this['$']['*imageBox'],_0x29021d=this['Ka']??this['$']['*cropBox'],_0x459fd5=this['$']['*currentAspectRatio'],_0x4f4204=_0x459fd5?_0x459fd5['width']/_0x459fd5['height']:void 0x0;if(_0x29021d=''===t?function({rect:_0x565904,delta:[_0x335424,t],imageBox:_0x3a24d2}){return _0x4820fa({..._0x565904,'x':_0x565904['x']+_0x335424,'y':_0x565904['y']+t},_0x3a24d2);}({'rect':_0x29021d,'delta':[_0x5b2c73,_0x556777],'imageBox':_0x2b7c0a}):_0x54736a({'rect':_0x29021d,'delta':[_0x5b2c73,_0x556777],'direction':t,'aspectRatio':_0x4f4204,'imageBox':_0x2b7c0a}),Object['values'](_0x29021d)['every'](_0x4ad1d3=>Number['isFinite'](_0x4ad1d3)&&_0x4ad1d3>=0x0))return _0x4820fa(_0x417032(_0x29021d),_0x2b7c0a);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x29021d});}['Wa'](){let t=this['Ha'],_0x3cf879=this['Re'];_0x3cf879&&(_0x3cf879['style']['cursor']=t?function(_0x1b6453){return''===_0x1b6453?'move':['e','w']['includes'](_0x1b6453)?'ew-resize':['n','s']['includes'](_0x1b6453)?'ns-resize':['nw','se']['includes'](_0x1b6453)?'nwse-resize':'nesw-resize';}(t['direction']):'initial');}['Xa'](t){if(this['hi'])return void this['hi']['setAttribute']('href',t);let _0x3e3953=this['Re'];if(!_0x3e3953)return void(this['gi']=t);this['gi']=null;let _0x414b4d=document['createDocumentFragment'](),_0x35558d=_0x47bfad('image',{'href':t});_0x35558d['setAttribute']('class','uc-cloud-mask'),_0x414b4d['appendChild'](_0x35558d),_0x3e3953['appendChild'](_0x414b4d),this['hi']=_0x35558d;}['hd'](){let t=this['$']['*cropBox'];if(!t||!this['hi'])return;let {x:_0x3e1027,y:_0x49b24a,width:_0x64ea4,height:_0x1a85df}=t;_0x5c229f(this['hi'],{'x':_0x3e1027,'y':_0x49b24a,'height':_0x1a85df,'width':_0x64ea4});}['ss'](){this['mi']&&(this['nd'](),this['ad'](),this['hd']());}toggleThumbs(t){if(this['xe'])for(let _0x589197 of Object['values'](this['xe'])){if(!_0x589197)continue;let {groupNode:_0x4eb0cc}=_0x589197;_0x4eb0cc['setAttribute']('class',_0x25515e('uc-thumb',{'uc-thumb--hidden':!t,'uc-thumb--visible':t}));}}initCallback(){super['initCallback'](),this['sub']('*imageBox',()=>{this['sd'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();});}),this['sub']('*cropBox',t=>{t&&(this['mr']=t['height']<=0x1||t['width']<=0x1,this['rs'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',t=>{t&&this['Xa'](t);}),document['addEventListener']('pointermove',this['Za'],!0x0),document['addEventListener']('pointerup',this['qa'],!0x0);}firstUpdated(t){super['firstUpdated'](t),this['fd']();}['fd'](){let t=this['Re'];if(t&&!this['mi']){if(this['od'](),this['dd'](),this['mi']=!0x0,t['addEventListener']('pointermove',this['Ya'],!0x0),this['gi']){let _0x27f129=this['gi'];this['gi']=null,this['Xa'](_0x27f129);}this['ss']();}}disconnectedCallback(){super['disconnectedCallback'](),this['Re']?.['removeEventListener']('pointermove',this['Ya'],!0x0),document['removeEventListener']('pointermove',this['Za'],!0x0),document['removeEventListener']('pointerup',this['qa'],!0x0);}['render'](){return _0x13cf20`<svg class="uc-svg" xmlns="http://www.w3.org/2000/svg" ${_0x3ffc7b(this['ja'])}></svg>`;}};_0x44b9f0([_0x55471a()],_0xa3e15c['prototype'],'fi',0x2);var _0x3b0f57=class extends _0xbf5cc2{constructor(){super(),this['ctxOwner']=!0x0,this['Qe']={'width':0x0,'height':0x0},this['e']=null,this['_']=!0x1,this['se']=null,this['Ja']=_0x58af1e(),this['as']=_0x58af1e(),this['init$']={...this['init$'],'*padding':0x14,'*operations':{'rotate':0x0,'mirror':!0x1,'flip':!0x1},'*imageBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0},'*cropBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0}},this['Qa']=_0x1c0742(this['tl']['bind'](this),0x12c),this['ns']=_0x41479b(()=>{!this['isConnected']||!this['_']||(this['ls'](),this['il'](),this['rl'](),this['cs'](),this['us']());},0x64);}firstUpdated(t){super['firstUpdated'](t),this['ls']();}['il'](){let _0xe8cd13=function(_0x5796e7,_0x4ab36b){let t={};for(let _0x3face2 of _0x4ab36b){let _0x32523e=_0x5796e7[_0x3face2];(Object['hasOwn'](_0x5796e7,_0x3face2)||void 0x0!==_0x32523e)&&(t[_0x3face2]=_0x32523e);}return t;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x23dd3b={...this['$']['*operations'],..._0xe8cd13};this['$']['*operations']=_0x23dd3b;}['ls'](){let t=this['Ja']['value'];if(!t)return;let _0x1a4d29=t['getContext']('2d'),_0x2835c6=this['offsetWidth'],_0x19832a=this['offsetHeight'],_0xbb631e=window['devicePixelRatio'];t['style']['width']=_0x2835c6+'px',t['style']['height']=_0x19832a+'px',t['width']=_0x2835c6*_0xbb631e,t['height']=_0x19832a*_0xbb631e,_0x1a4d29?.['scale'](_0xbb631e,_0xbb631e),this['fe']=t,this['e']=_0x1a4d29;}['rl'](){if(!this['_']||!this['se'])return;let _0x53706e,t=this['se'],_0x4af6f3=this['$']['*padding'],{rotate:_0x155451}=this['$']['*operations'],_0x4d64a6=this['offsetWidth'],_0x377eb5=this['offsetHeight'],_0x5d2ba9=_0x17977f({'width':t['naturalWidth'],'height':t['naturalHeight']},_0x155451);if(_0x5d2ba9['width']>_0x4d64a6-0x2*_0x4af6f3||_0x5d2ba9['height']>_0x377eb5-0x2*_0x4af6f3){let _0x313bd6=_0x5d2ba9['width']/_0x5d2ba9['height'];if(_0x313bd6>_0x4d64a6/_0x377eb5){let _0x2d22e9=_0x4d64a6-0x2*_0x4af6f3,_0x1e2964=_0x2d22e9/_0x313bd6;_0x53706e={'x':0x0+_0x4af6f3,'y':_0x4af6f3+(_0x377eb5-0x2*_0x4af6f3)/0x2-_0x1e2964/0x2,'width':_0x2d22e9,'height':_0x1e2964};}else{let _0x4afcb3=_0x377eb5-0x2*_0x4af6f3,_0x5c76fe=_0x4afcb3*_0x313bd6;_0x53706e={'x':_0x4af6f3+(_0x4d64a6-0x2*_0x4af6f3)/0x2-_0x5c76fe/0x2,'y':0x0+_0x4af6f3,'width':_0x5c76fe,'height':_0x4afcb3};}}else{let {width:_0x501f1a,height:_0x579a02}=_0x5d2ba9;_0x53706e={'x':_0x4af6f3+(_0x4d64a6-0x2*_0x4af6f3)/0x2-_0x501f1a/0x2,'y':_0x4af6f3+(_0x377eb5-0x2*_0x4af6f3)/0x2-_0x579a02/0x2,'width':_0x501f1a,'height':_0x579a02};}this['$']['*imageBox']=_0x417032(_0x53706e);}['cs'](){let t=this['$']['*cropBox'],_0x40b635=this['$']['*imageBox'],{rotate:_0x30fbde}=this['$']['*operations'],_0x38bdc4=this['$']['*editorTransformations']['crop'],{width:_0x4a0ce2,x:_0x56a767,y:_0xa5c428}=_0x40b635;if(_0x38bdc4){let {dimensions:[_0x3b2856,_0x3133a7],coords:[_0x3dfd80,_0xcd6bd9]}=_0x38bdc4,{width:_0x998d82}=_0x17977f(this['Qe'],_0x30fbde),_0x1d0cde=_0x4a0ce2/_0x998d82;t=_0x4820fa(_0x417032({'x':_0x56a767+_0x3dfd80*_0x1d0cde,'y':_0xa5c428+_0xcd6bd9*_0x1d0cde,'width':_0x3b2856*_0x1d0cde,'height':_0x3133a7*_0x1d0cde}),_0x40b635);}let _0x883b0=this['$']['*currentAspectRatio'],_0xd3ea60=_0x883b0?_0x883b0['width']/_0x883b0['height']:void 0x0;if(!function(_0x341193,_0x4499b2){return _0x341193['x']>=_0x4499b2['x']&&_0x341193['y']>=_0x4499b2['y']&&_0x341193['x']+_0x341193['width']<=_0x4499b2['x']+_0x4499b2['width']&&_0x341193['y']+_0x341193['height']<=_0x4499b2['y']+_0x4499b2['height'];}(t,_0x40b635)||_0xd3ea60&&!function(_0x575153,_0x39fc2c){return Math['abs'](_0x575153['width']/_0x575153['height']-_0x39fc2c)<0.1;}(t,_0xd3ea60)){let _0x16804b=_0x40b635['width']/_0x40b635['height'],_0x6edc5b=_0x40b635['width'],_0x64cefd=_0x40b635['height'];_0xd3ea60&&(_0x16804b>_0xd3ea60?_0x6edc5b=Math['min'](_0x40b635['height']*_0xd3ea60,_0x40b635['width']):_0x64cefd=Math['min'](_0x40b635['width']/_0xd3ea60,_0x40b635['height'])),t={'x':_0x40b635['x']+_0x40b635['width']/0x2-_0x6edc5b/0x2,'y':_0x40b635['y']+_0x40b635['height']/0x2-_0x64cefd/0x2,'width':_0x6edc5b,'height':_0x64cefd};}this['$']['*cropBox']=_0x4820fa(_0x417032(t),_0x40b635);}['md'](){let t=this['e'];if(!t)return;let _0x25aa9c=this['se'];if(!_0x25aa9c)return;let _0x44d341=this['$']['*imageBox'],{mirror:_0x33a616,flip:_0x29c088,rotate:_0x5ec041}=this['$']['*operations'],_0x3869f3=_0x17977f({'width':_0x44d341['width'],'height':_0x44d341['height']},_0x5ec041);t['save'](),t['translate'](_0x44d341['x']+_0x44d341['width']/0x2,_0x44d341['y']+_0x44d341['height']/0x2),t['rotate'](_0x5ec041*Math['PI']*-0x1/0xb4),t['scale'](_0x33a616?-0x1:0x1,_0x29c088?-0x1:0x1),t['drawImage'](_0x25aa9c,-_0x3869f3['width']/0x2,-_0x3869f3['height']/0x2,_0x3869f3['width'],_0x3869f3['height']),t['restore']();}['us'](){if(!(this['_']&&this['se']&&this['fe']&&this['e']))return;let t=this['fe'];this['e']['clearRect'](0x0,0x0,t['width'],t['height']),this['md']();}['gd']({fromViewer:t}){this['se']&&(this['as']['value']?.['toggleThumbs'](!0x0),this['vd'](),setTimeout(()=>{this['className']=_0x25515e({'uc-active_from_viewer':t,'uc-active_from_editor':!t,'uc-inactive_to_editor':!0x1});}));}['ol'](){let t=this['$']['*cropBox'],_0x342904=this['$']['*imageBox'],{rotate:_0x11a206}=this['$']['*operations'],{width:_0x210faf,height:_0x2b5c03}=_0x342904,{width:_0x4be291,height:_0x4ed1a6}=_0x17977f(this['Qe'],_0x11a206),{width:_0x45b87d,height:_0x1a4521}=t,_0x2b7673=_0x210faf/_0x4be291,_0x170f5e=_0x2b5c03/_0x4ed1a6;return[_0x4e6856(Math['round'](_0x45b87d/_0x2b7673),0x1,_0x4be291),_0x4e6856(Math['round'](_0x1a4521/_0x170f5e),0x1,_0x4ed1a6)];}['yd'](){let t=this['$']['*cropBox'],_0x466f88=this['$']['*imageBox'],{rotate:_0x3f1af4}=this['$']['*operations'],{width:_0x526165,height:_0x4be6fa,x:_0x387196,y:_0x2b9991}=_0x466f88,{width:_0x52a825,height:_0x11f460}=_0x17977f(this['Qe'],_0x3f1af4),{x:_0x18411b,y:_0x1bc3c8}=t,_0x21c552=_0x526165/_0x52a825,_0x357859=_0x4be6fa/_0x11f460,_0x5d6ae2=this['ol'](),_0x4a7ddd={'dimensions':_0x5d6ae2,'coords':[_0x4e6856(Math['round']((_0x18411b-_0x387196)/_0x21c552),0x0,_0x52a825-_0x5d6ae2[0x0]),_0x4e6856(Math['round']((_0x1bc3c8-_0x2b9991)/_0x357859),0x0,_0x11f460-_0x5d6ae2[0x1])]};if(function(_0x32b35f){return!_0x32b35f||[({dimensions:t,coords:_0x3ca22f})=>[...t,..._0x3ca22f]['every'](_0x4560af=>Number['isInteger'](_0x4560af)&&Number['isFinite'](_0x4560af)),({dimensions:t,coords:_0xbae930})=>t['every'](_0x42e42a=>_0x42e42a>0x0)&&_0xbae930['every'](_0x396abd=>_0x396abd>=0x0)]['every'](t=>t(_0x32b35f));}(_0x4a7ddd))return _0x5d6ae2[0x0]!==_0x52a825||_0x5d6ae2[0x1]!==_0x11f460?_0x4a7ddd:void 0x0;console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x4a7ddd});}tl(){if(!this['isConnected']||!this['Qe'])return;let {rotate:_0x45a08e,mirror:_0x414720,flip:_0x614cc8}=this['$']['*operations'],_0x3715d2=this['yd'](),_0x569b06={...this['$']['*editorTransformations'],'crop':_0x3715d2,'rotate':_0x45a08e,'mirror':_0x414720,'flip':_0x614cc8};this['$']['*editorTransformations']=_0x569b06;}setValue(t,_0x159571){this['$']['*operations']={...this['$']['*operations'],[t]:_0x159571},this['_']&&(this['rl'](),this['cs'](),this['us']());}getValue(t){return this['$']['*operations'][t];}async activate(t,{fromViewer:_0x174a46}={}){if(!this['_']){this['_']=!0x0,await this['updateComplete'],this['ls'](),this['Qe']=t,this['removeEventListener']('transitionend',this['sl']);try{let _0x1aa966=this['$']['*originalUrl'],_0x5e3a2e=this['$']['*editorTransformations'];this['se']=await this['bd'](_0x1aa966,_0x5e3a2e),this['il'](),this['ns'](),this['gd']({'fromViewer':_0x174a46});}catch(_0xccf065){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0xccf065}),this['telemetryManager']['sendEventError'](_0xccf065,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['s']=new ResizeObserver(_0x4dd308=>{let [_0x282111]=_0x4dd308;_0x282111&&_0x282111['contentRect']['width']>0x0&&_0x282111['contentRect']['height']>0x0&&this['_']&&this['se']&&this['ns']();}),this['s']['observe'](this);}}deactivate({reset:t=!0x1}={}){this['_']&&(!t&&this['tl'](),this['_']=!0x1,this['wd'](),this['className']=_0x25515e({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['as']['value']?.['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['sl'],{'once':!0x0}),this['s']?.['disconnect']());}['wd'](){let t=this['ol'](),_0x3d17be=this['$']['*cropBox'],_0x5328b7=Math['min'](this['offsetWidth'],t[0x0])/_0x3d17be['width'],_0x47f600=Math['min'](this['offsetHeight'],t[0x1])/_0x3d17be['height'],_0x5c7211=Math['min'](_0x5328b7,_0x47f600),_0x3097f3=_0x3d17be['x']+_0x3d17be['width']/0x2,_0x15a980=_0x3d17be['y']+_0x3d17be['height']/0x2;this['style']['transform']='scale('+_0x5c7211+')\x20translate('+(this['offsetWidth']/0x2-_0x3097f3)/_0x5c7211+'px,\x20'+(this['offsetHeight']/0x2-_0x15a980)/_0x5c7211+'px)',this['style']['transformOrigin']=_0x3097f3+'px\x20'+_0x15a980+'px';}['vd'](){let t=this['$']['*cropBox'],_0x1b0cbf=t['x']+t['width']/0x2,_0x344d9e=t['y']+t['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x1b0cbf+'px\x20'+_0x344d9e+'px';}['sl'](){this['_']||(this['se']=null);}async['bd'](t,_0x6b731d){let _0x5eb250=this['offsetWidth'];_0x6b731d={..._0x6b731d,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x2660c3=await this['proxyUrl'](_0x487801(t,_0x5eb250,_0x6b731d)),{promise:_0x5d3923,cancel:_0x40b40d,image:_0x5a6283}=_0x303a35(_0x2660c3),_0x174ccc=this['$t'](_0x2660c3);return _0x5a6283['addEventListener']('load',_0x174ccc,{'once':!0x0}),_0x5a6283['addEventListener']('error',_0x174ccc,{'once':!0x0}),this['b']?.(),this['b']=_0x40b40d,_0x5d3923['then'](()=>_0x5a6283)['catch'](_0x114949=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x114949}),this['$']['*networkProblems']=!0x0,_0x5a6283));}$t(t){let _0x52b335='crop',_0x7b094c=this['$']['*loadingOperations'],_0x28be5b=_0x7b094c['get'](_0x52b335);return _0x28be5b||(_0x28be5b=new Map(),_0x7b094c['set'](_0x52b335,_0x28be5b)),_0x28be5b['get'](t)||(_0x28be5b['set'](t,!0x0),this['$']['*loadingOperations']=_0x7b094c),()=>{let _0xa39790=_0x7b094c['get'](_0x52b335);_0xa39790?.['has'](t)&&(_0xa39790['delete'](t),this['$']['*loadingOperations']=_0x7b094c);};}initCallback(){super['initCallback'](),this['sub']('*imageBox',()=>{this['us']();}),this['sub']('*cropBox',()=>{this['se']&&this['Qa']();}),this['sub']('*currentAspectRatio',()=>{this['cs']();}),setTimeout(()=>{this['sub']('*networkProblems',t=>{t||this['_']&&this['Qe']&&this['activate'](this['Qe'],{'fromViewer':!0x1});});},0x0);}disconnectedCallback(){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['se']&&(this['se']=null);}['render'](){return _0x13cf20`<canvas class="uc-canvas" ${_0x3ffc7b(this['Ja'])}></canvas><uc-crop-frame ${_0x3ffc7b(this['as'])}></uc-crop-frame>`;}};function _0x4962d1(_0x3ed115,_0x349193,t){let _0x71ea33=t-0x1,_0x544e5d=new Array(t);for(let _0x335bc1=_0x71ea33;_0x335bc1>=0x0;_0x335bc1-=0x1)_0x544e5d[_0x335bc1]=Math['ceil']((_0x335bc1*_0x349193+(_0x71ea33-_0x335bc1)*_0x3ed115)/_0x71ea33);return _0x544e5d;}function _0x41dca0(_0x4b108e,_0x41e4ee){let t=_0xe60882[_0x4b108e]['keypointsNumber'],{range:_0x373dc1,zero:_0x57d596}=_0xe60882[_0x4b108e];return[...new Set([..._0x4962d1(_0x373dc1[0x0],_0x57d596,t+0x1),..._0x4962d1(_0x57d596,_0x373dc1[0x1],t+0x1),_0x57d596,_0x41e4ee])]['sort']((_0x2a5dd5,_0x372a5f)=>_0x2a5dd5-_0x372a5f);}_0x44b9f0([_0x55471a()],_0x3b0f57['prototype'],'se',0x2);var _0x4a288e=class extends _0xbf5cc2{constructor(){super(),this['_']=!0x1,this['ds']=!0x0,this['n']='initial',this['nl']={},this['Ue']=[],this['al']=0x0,this['cl']=_0x58af1e(),this['gr']=_0x58af1e(),this['classList']['add']('uc-inactive_to_cropper'),this['ll']=_0x1c0742(async(t,_0x5ca918,_0x16ab19)=>{let _0x3c56fb=()=>!this['ul'](t,_0x5ca918)||this['Pt']!==_0x16ab19||!!this['Ue']['find'](_0x4a4dee=>_0x4a4dee['value']===_0x16ab19);if(_0x3c56fb())return;let _0x32ce6f=await this['dl'](t,_0x16ab19),_0x8743a3=new Image();_0x8743a3['src']=_0x32ce6f['src'];let _0x4f22d2=this['$t'](_0x32ce6f['src']);_0x8743a3['addEventListener']('load',_0x4f22d2,{'once':!0x0}),_0x8743a3['addEventListener']('error',_0x4f22d2,{'once':!0x0}),_0x32ce6f['image']=_0x8743a3,_0x8743a3['classList']['add']('uc-fader-image'),_0x8743a3['addEventListener']('load',()=>{if(_0x3c56fb())return;let _0x296801=this['Ue'],_0xaed3e3=_0x296801['findIndex'](_0x4b9089=>_0x4b9089['value']>_0x16ab19);-0x1===_0xaed3e3&&(_0xaed3e3=_0x296801['length']);let _0x47f1a5=_0x296801[_0xaed3e3]?.['image'],_0x172b00=this['gr']['value'];!_0x172b00||_0x47f1a5&&!_0x172b00['contains'](_0x47f1a5)||(_0x296801['splice'](_0xaed3e3,0x0,_0x32ce6f),_0x47f1a5?_0x172b00['insertBefore'](_0x8743a3,_0x47f1a5):_0x172b00['appendChild'](_0x8743a3),this['fs'](t,_0x16ab19));},{'once':!0x0}),_0x8743a3['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});},0x258);}$t(t){let _0xfd345c=this['n'],_0x249b7b=this['$']['*loadingOperations'];_0x249b7b['has'](_0xfd345c)||_0x249b7b['set'](_0xfd345c,new Map());let _0x103de4=_0x249b7b['get'](_0xfd345c);return _0x103de4&&!_0x103de4['get'](t)&&(_0x103de4['set'](t,!0x0),this['$']['*loadingOperations']=_0x249b7b),()=>{let _0x248845=_0x249b7b['get'](_0xfd345c);_0x248845?.['has'](t)&&(_0x248845['delete'](t),this['$']['*loadingOperations']=_0x249b7b);};}['pl'](){window['cancelAnimationFrame'](this['al']),this['al']=window['requestAnimationFrame'](()=>{for(let t of this['Ue']){let {image:_0x2c0eb2}=t;_0x2c0eb2&&(_0x2c0eb2['style']['opacity']=t['opacity']['toString'](),_0x2c0eb2['style']['zIndex']=t['zIndex']['toString']());}});}['Je']({url:t=this['Dt'],filter:_0x1c994f=this['m']??void 0x0,operation:_0x49e27a,value:_0x5c8a37}={}){if(!t)throw new Error('URL\x20is\x20not\x20defined');let _0xe3b008={...this['nl']};_0x49e27a&&('filter'===_0x49e27a?_0x1c994f&&'number'==typeof _0x5c8a37&&(_0xe3b008['filter']={'name':_0x1c994f,'amount':_0x5c8a37}):'number'==typeof _0x5c8a37&&(_0xe3b008[_0x49e27a]=_0x5c8a37));let _0x1530bc=this['offsetWidth'];return this['proxyUrl'](_0x487801(t,_0x1530bc,_0xe3b008));}async['dl'](t,_0x27ba53){return{'src':await this['Je']({'operation':t,'value':_0x27ba53}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x27ba53};}['ul'](t,_0x2d352b){return this['n']===t&&this['m']===_0x2d352b;}set(t){let _0x177c16='string'==typeof t?parseInt(t,0xa):t;!function(_0x1321fb){return'string'==typeof _0x1321fb&&_0x1321fb in _0xe60882;}(this['n'])||!Number['isFinite'](_0x177c16)||(this['fs'](this['n'],_0x177c16),this['ll'](this['n'],this['m'],_0x177c16));}['fs'](t,_0x4f72cb){this['n']=t,this['Pt']=_0x4f72cb;let {zero:_0x5b9d11}=_0xe60882[t],_0x268246=this['Ue']['map'](_0x22dd4e=>_0x22dd4e['value']),_0xa49cbb=function(_0x399838,_0xc1eadd,t){let _0xb7215c=function(_0xe3d822){let _0x1fe039=[];for(let t=0x0;t<_0xe3d822['length']-0x1;t+=0x1){let _0x1b07f1=_0xe3d822[t],_0xc26d90=_0xe3d822[t+0x1];'number'==typeof _0x1b07f1&&'number'==typeof _0xc26d90&&_0x1fe039['push']([_0x1b07f1,_0xc26d90]);}return _0x1fe039;}(_0x399838)['find'](([_0x3a3136,_0x40551d])=>_0x3a3136<=_0xc1eadd&&_0xc1eadd<=_0x40551d);if(!_0xb7215c)return _0x399838['map'](()=>0x0);let [_0x5cc970,_0x593c5f]=_0xb7215c;return _0x399838['map'](_0xfc6b5d=>{let _0x2f1bc1=Math['abs'](_0x5cc970-_0x593c5f)||0x1,_0x12c53d=Math['abs'](_0xc1eadd-_0x5cc970)/_0x2f1bc1;return _0x5cc970===_0xfc6b5d?_0xc1eadd>t?0x1:0x1-_0x12c53d:_0x593c5f===_0xfc6b5d?_0xc1eadd>=t?_0x12c53d:0x1:0x0;});}(_0x268246,_0x4f72cb,_0x5b9d11),_0x31c473=function(_0x479c8d,_0x1bd392){return _0x479c8d['map']((t,_0x9dc2cc)=>t<_0x1bd392?_0x479c8d['length']-_0x9dc2cc:_0x9dc2cc);}(_0x268246,_0x5b9d11);this['Ue']['forEach']((_0x395c16,_0x1425d6)=>{let _0x325092=_0xa49cbb[_0x1425d6],_0x3ed655=_0x31c473[_0x1425d6];'number'==typeof _0x325092&&(_0x395c16['opacity']=_0x325092),'number'==typeof _0x3ed655&&(_0x395c16['zIndex']=_0x3ed655);}),this['pl']();}['hl'](){let t=new Image();return t['classList']['add']('uc-fader-image','uc-fader-image--preview'),t['style']['opacity']='0',t;}async['Td'](){this['a']=this['a']||this['hl']();let t=this['a'];t&&this['fl'](t);let {images:_0x32d44d,promise:_0x5cd3d4,cancel:_0x3a5d89}=_0xd8374d(this['Ue']['map'](_0x5ba873=>_0x5ba873['src']));_0x32d44d['forEach'](_0x3fe54f=>{let _0x3512f6=this['$t'](_0x3fe54f['src']);_0x3fe54f['addEventListener']('load',_0x3512f6),_0x3fe54f['addEventListener']('error',_0x3512f6);}),this['ps']=()=>{_0x3a5d89(),this['ps']=void 0x0;};let _0x16354b=this['n'],_0x323b6a=this['m'];if(await _0x5cd3d4,this['_']&&this['ul'](_0x16354b,_0x323b6a)){let _0x100c55=this['gr']['value'];if(!_0x100c55)return;_0x100c55['replaceChildren'](),this['Ue']['forEach']((_0x13338d,_0x37f9e7)=>{let _0x2ecd4f=_0x32d44d[_0x37f9e7];_0x2ecd4f&&(_0x2ecd4f['classList']['add']('uc-fader-image'),_0x13338d['image']=_0x2ecd4f,_0x100c55['appendChild'](_0x2ecd4f));}),this['pl']();}}async setTransformations(t){if(this['nl']=t,this['a']){let _0x5c15f3=await this['Je'](),_0x74a46a=this['$t'](_0x5c15f3);this['a']['src']=_0x5c15f3,this['a']['addEventListener']('load',_0x74a46a,{'once':!0x0}),this['a']['addEventListener']('error',_0x74a46a,{'once':!0x0}),this['a']['style']['opacity']='1',this['a']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:t,filter:_0x1c0495,operation:_0x4cd067,value:_0x5357ed}){if(!_0x4cd067||'number'!=typeof _0x5357ed)return;this['hs']?.();let _0x2e9fc7=_0x41dca0(_0x4cd067,_0x5357ed),{cancel:_0x326c43}=_0xd8374d(await Promise['all'](_0x2e9fc7['map'](_0x5d3139=>this['Je']({'url':t,'filter':_0x1c0495,'operation':_0x4cd067,'value':_0x5d3139}))));this['hs']=_0x326c43;}['Ed'](t){let _0x157421=this['a']||this['hl']();if(this['fl'](_0x157421),this['a']=_0x157421,_0x157421['src']===t)return _0x157421['style']['opacity']='1',_0x157421['style']['transform']='scale(1)',void(this['className']=_0x25515e({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));_0x157421['style']['opacity']='0';let _0x146de3=this['$t'](t);_0x157421['addEventListener']('error',_0x146de3,{'once':!0x0}),_0x157421['src']=t,_0x157421['addEventListener']('load',()=>{_0x146de3(),_0x157421&&(_0x157421['style']['opacity']='1',_0x157421['style']['transform']='scale(1)',this['className']=_0x25515e({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x157421['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async activate({url:t,operation:_0x4dda62,value:_0x23d386,filter:_0x373a74,fromViewer:_0x4e8476}){if(this['_']=!0x0,this['ds']=!0x1,await this['updateComplete'],this['Dt']=t,this['n']=_0x4dda62??'initial',this['Pt']=_0x23d386,this['m']=_0x373a74,this['yi']=_0x4e8476,'number'!=typeof _0x23d386&&!_0x373a74){let _0x51a289=await this['Je']({'operation':_0x4dda62,'value':_0x23d386});return this['Ed'](_0x51a289),void this['ms']();}!_0x4dda62||'number'!=typeof _0x23d386||(this['Ue']=await Promise['all'](_0x41dca0(_0x4dda62,_0x23d386)['map'](_0x2e0ff=>this['dl'](_0x4dda62,_0x2e0ff))),this['fs'](_0x4dda62,_0x23d386),this['Td']());}deactivate({hide:t=!0x0}={}){this['_']=!0x1,this['ps']?.(),this['hs']?.(),t&&!this['ds']?(this['ds']=!0x0,this['a']&&(this['a']['style']['transform']='scale(1)'),this['className']=_0x25515e({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['ms']();},{'once':!0x0})):this['ms']();}['fl'](t){let _0x5dcee0=this['cl']['value'];_0x5dcee0&&(_0x5dcee0['contains'](t)||_0x5dcee0['appendChild'](t));}['ms'](){this['gr']['value']?.['replaceChildren']();}['render'](){return _0x13cf20`<div class="uc-fader-preview-host" ${_0x3ffc7b(this['cl'])}></div><div class="uc-fader-layers-host" ${_0x3ffc7b(this['gr'])}></div>`;}},_0x380e90='important',_0x50d80c='\x20!'+_0x380e90,_0x187b5c=_0x65e557(class extends _0x10d41f{constructor(_0x495df9){if(super(_0x495df9),_0x495df9['type']!==_0x733359||'style'!==_0x495df9['name']||_0x495df9['strings']?.['length']>0x2)throw Error('The\x20`styleMap`\x20directive\x20must\x20be\x20used\x20in\x20the\x20`style`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x83afbf){return Object['keys'](_0x83afbf)['reduce']((_0x42c0be,t)=>{let _0x3e6aee=_0x83afbf[t];return null==_0x3e6aee?_0x42c0be:_0x42c0be+((t=t['includes']('-')?t:t['replace'](/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,'-$&')['toLowerCase']())+':'+_0x3e6aee+';');},'');}update(_0x74bd84,[_0x430f74]){let {style:t}=_0x74bd84['element'];if(void 0x0===this['ft'])return this['ft']=new Set(Object['keys'](_0x430f74)),this['render'](_0x430f74);for(let _0xa8a153 of this['ft'])_0x430f74[_0xa8a153]??(this['ft']['delete'](_0xa8a153),_0xa8a153['includes']('-')?t['removeProperty'](_0xa8a153):t[_0xa8a153]=null);for(let _0x45325a in _0x430f74){let _0x5acc0f=_0x430f74[_0x45325a];if(null!=_0x5acc0f){this['ft']['add'](_0x45325a);let _0x3ece09='string'==typeof _0x5acc0f&&_0x5acc0f['endsWith'](_0x50d80c);_0x45325a['includes']('-')||_0x3ece09?t['setProperty'](_0x45325a,_0x3ece09?_0x5acc0f['slice'](0x0,-0xb):_0x5acc0f,_0x3ece09?_0x380e90:''):t[_0x45325a]=_0x5acc0f;}}return _0x8b11bb;}}),_0x20cacb=class extends _0xbf5cc2{constructor(){super(),this['gs']=0x0,this['vr']=_0x58af1e(),this['gl']=_0x58af1e(),this['vl']=_0x58af1e(),this['disabled']=!0x1,this['min']=0x0,this['max']=0x64,this['defaultValue']=0x0,this['zero']=0x0,this['$e']=0x0,this['Cd']=t=>{t['stopPropagation']();let _0x367717=this['yl'](t);null!==_0x367717&&(this['vs'](_0x367717),this['xd']('slider-input',_0x367717));},this['Sd']=t=>{t['stopPropagation']();let _0x44f4fe=this['yl'](t);null!==_0x44f4fe&&this['vs'](_0x44f4fe);},this['bl']=()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');},this['wl']=()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');},this['setAttribute']('with-effects','');}['xd'](t,_0x54cd18){this['dispatchEvent'](new CustomEvent(t,{'detail':{'value':_0x54cd18},'bubbles':!0x0,'composed':!0x0}));}firstUpdated(t){super['firstUpdated'](t),this['gs']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa)||0x0,this['Tl'](this['$e']),this['ys'](),this['s']=new ResizeObserver(()=>{this['ys'](),this['yr'](this['$e']);}),this['s']['observe'](this);let _0x4c4d47=this['vr']['value'];_0x4c4d47?.['addEventListener']('focus',this['bl']),_0x4c4d47?.['addEventListener']('blur',this['wl']),window['setTimeout'](()=>{this['yr'](this['$e']);},0x0);}willUpdate(t){super['willUpdate'](t),t['has']('defaultValue')&&this['defaultValue']!==this['$e']&&this['vs'](this['defaultValue']),(t['has']('min')||t['has']('max'))&&this['hasUpdated']&&(this['ys'](),this['yr'](this['$e'])),t['has']('zero')&&this['hasUpdated']&&this['El'](this['$e']);}['yr'](t){this['El'](t);let _0x13d6b5=this['max']-this['min'];if(0x0===_0x13d6b5)return;let {width:_0x41a795}=this['getBoundingClientRect'](),_0xdc6ac9=0x64/_0x13d6b5*(t-this['min'])*(_0x41a795-this['gs'])/0x64;window['requestAnimationFrame'](()=>{let _0xdc5f8b=this['gl']['value'];_0xdc5f8b&&(_0xdc5f8b['style']['transform']='translateX('+_0xdc6ac9+'px)');});}['El'](t){if(!this['bi'])return;let _0x64757=this['max']-this['min'];if(0x0===_0x64757)return;this['bi']['style']['opacity']=t===this['zero']?'0':'1';let {width:_0x4007db}=this['getBoundingClientRect'](),_0x312f18=0x64/_0x64757*(this['zero']-this['min'])*(_0x4007db-this['gs'])/0x64;window['requestAnimationFrame'](()=>{this['bi']&&(this['bi']['style']['transform']='translateX('+_0x312f18+'px)');});}['ys'](){let _0x597c2d=this['vl']['value'];if(!_0x597c2d)return;let {width:_0x31c528}=_0x597c2d['getBoundingClientRect'](),_0x584b84=Math['ceil'](_0x31c528/0x2),_0x2a77c5=Math['ceil'](_0x584b84/0xf)-0x2;if(this['ml']===_0x2a77c5)return;let _0x28bee9=document['createDocumentFragment'](),_0x1047ef=document['createElement']('div'),_0x2ff16d=document['createElement']('div');_0x1047ef['className']='uc-minor-step',_0x2ff16d['className']='uc-border-step',_0x28bee9['appendChild'](_0x2ff16d);for(let _0x3ba56f=0x0;_0x3ba56f<_0x2a77c5;_0x3ba56f+=0x1)_0x28bee9['appendChild'](_0x1047ef['cloneNode']());_0x28bee9['appendChild'](_0x2ff16d['cloneNode']());for(let _0x53bd90=0x0;_0x53bd90<_0x2a77c5;_0x53bd90+=0x1)_0x28bee9['appendChild'](_0x1047ef['cloneNode']());_0x28bee9['appendChild'](_0x2ff16d['cloneNode']());let _0x46d620=document['createElement']('div');_0x46d620['className']='uc-zero-dot',_0x28bee9['appendChild'](_0x46d620),this['bi']=_0x46d620,_0x597c2d['innerHTML']='',_0x597c2d['appendChild'](_0x28bee9),this['ml']=_0x2a77c5;}disconnectedCallback(){super['disconnectedCallback']();let t=this['vr']['value'];t?.['removeEventListener']('focus',this['bl']),t?.['removeEventListener']('blur',this['wl']),this['s']?.['disconnect'](),this['s']=void 0x0;}['vs'](t){Number['isFinite'](t)&&(this['$e']=t,this['hasUpdated']&&(this['Tl'](t),this['yr'](t)));}['Tl'](t){let _0x485a6f=this['vr']['value'];_0x485a6f&&(_0x485a6f['value']=String(t));}['yl'](t){let _0xaf6d35=t['currentTarget'];if(!_0xaf6d35)return null;let _0x5afb3d=Number['parseInt'](_0xaf6d35['value'],0xa);return Number['isFinite'](_0x5afb3d)?_0x5afb3d:null;}['render'](){return _0x13cf20`<div class="uc-steps" ${_0x3ffc7b(this['vl'])}></div><div class="uc-thumb" ${_0x3ffc7b(this['gl'])}></div><input class="uc-input" type="range" ${_0x3ffc7b(this['vr'])} .min=${String(this['min'])} .max=${String(this['max'])} .value=${String(this['$e'])} ?disabled=${this['disabled']} @input=${this['Cd']} @change=${this['Sd']} />`;}};_0x44b9f0([_0x54732b({'type':Boolean,'reflect':!0x0})],_0x20cacb['prototype'],'disabled',0x2),_0x44b9f0([_0x54732b({'type':Number})],_0x20cacb['prototype'],'min',0x2),_0x44b9f0([_0x54732b({'type':Number})],_0x20cacb['prototype'],'max',0x2),_0x44b9f0([_0x54732b({'type':Number,'attribute':!0x1})],_0x20cacb['prototype'],'defaultValue',0x2),_0x44b9f0([_0x54732b({'type':Number})],_0x20cacb['prototype'],'zero',0x2),_0x44b9f0([_0x55471a()],_0x20cacb['prototype'],'$e',0x2);var _0x28e34b='original',_0xfc045b=class extends _0xbf5cc2{constructor(){super(...arguments),this['state']={'operation':'filter','filter':void 0x0,'originalUrl':'','disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0},this['bs']=t=>{let {value:_0x341f07}=t['detail'];this['$']['*faderEl']?.['set'](_0x341f07),this['state']={...this['state'],'value':_0x341f07};};}setOperation(t,_0x10d16b){this['state']={...this['state'],'operation':t,'filter':_0x10d16b},this['Ad']();let _0x11715f=this['$']['*faderEl'],_0x4f6e1e=this['state']['originalUrl']||this['$']['*originalUrl'];_0x11715f&&_0x4f6e1e&&_0x11715f['activate']({'url':_0x4f6e1e,'operation':this['state']['operation'],'value':this['state']['filter']===_0x28e34b?void 0x0:this['state']['value'],'filter':this['state']['filter']===_0x28e34b?void 0x0:this['state']['filter'],'fromViewer':!0x1});}['Ad'](){let t=this['state']['operation'],{range:_0x3455dd,zero:_0x51e869}=_0xe60882[t],[_0x4715a4,_0x5f39d1]=_0x3455dd;this['state']={...this['state'],'min':_0x4715a4,'max':_0x5f39d1,'zero':_0x51e869};let _0x9065cc=this['$']['*editorTransformations'][t];if('filter'===t){let _0x20e237=Number(_0x5f39d1),_0x63dc4e=_0x9065cc;if(_0x63dc4e){let {name:_0xdffb82,amount:_0x21bb0a}=_0x63dc4e;_0x20e237=_0xdffb82===this['state']['filter']?_0x21bb0a:_0x5f39d1;}return void(this['state']={...this['state'],'value':_0x20e237,'defaultValue':_0x20e237});}let _0x221f07=typeof _0x9065cc<'u'?_0x9065cc:_0x51e869;this['state']={...this['state'],'value':_0x221f07,'defaultValue':_0x221f07};}['apply'](){let _0x5dd229={...this['$']['*editorTransformations']};'filter'===this['state']['operation']?this['state']['filter']&&this['state']['filter']!==_0x28e34b?_0x5dd229['filter']={'name':this['state']['filter'],'amount':this['state']['value']}:delete _0x5dd229['filter']:_0x5dd229[this['state']['operation']]=this['state']['value'],this['$']['*editorTransformations']=_0x5dd229;}['cancel'](){this['$']['*faderEl']?.['deactivate']({'hide':!0x1});}initCallback(){super['initCallback'](),this['sub']('*originalUrl',t=>{t&&(this['state']={...this['state'],'originalUrl':t});});}updated(t){if(super['updated'](t),t['has']('state')){let _0x402c05=(this['state']['filter']??this['state']['operation'])+'\x20'+this['state']['value'];this['$']['*operationTooltip']=_0x402c05;}}['render'](){return _0x13cf20`<uc-slider-ui .disabled=${this['state']['disabled']} .min=${this['state']['min']} .max=${this['state']['max']} .defaultValue=${this['state']['defaultValue']} .zero=${this['state']['zero']} @slider-input=${this['bs']} ></uc-slider-ui>`;}};function _0x2bcd15(_0x319e62){if(!_0x319e62)return null;let _0x58636a=_0x319e62['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x58636a)return null;let [,t,_0x4729a8]=_0x58636a;return!t||typeof _0x4729a8>'u'?null:{'filter':t,'value':Number(_0x4729a8)};}_0x44b9f0([_0x55471a()],_0xfc045b['prototype'],'state',0x2);var _0x3cac14=class extends _0xbf5cc2{constructor(){super(...arguments),this['active']=!0x1,this['title']='',this['icon']='',this['titleProp']='';}get buttonClasses(){let t=this['active'];return{'uc-active':t,'uc-not_active':!t};}['xl'](){let t=this['buttonClasses'];for(let [_0x5f0336,_0x221bb2]of Object['entries'](t))this['classList']['toggle'](_0x5f0336,_0x221bb2);}['onClick'](t){}connectedCallback(){super['connectedCallback'](),this['xl']();}updated(t){super['updated'](t),t['has']('active')&&this['xl']();}['render'](){let t=this['onClick'],_0x3a01a2=this['title'];return _0x13cf20`<button role="option" type="button" aria-label=${_0x34ea91(this['titleProp'])} title=${_0x34ea91(this['titleProp'])} @click=${t} ><uc-icon name=${this['icon']}></uc-icon><div class="uc-title" ?hidden=${!_0x3a01a2}>${_0x3a01a2}</div></button>`;}};_0x44b9f0([_0x55471a()],_0x3cac14['prototype'],'active',0x2),_0x44b9f0([_0x55471a()],_0x3cac14['prototype'],'title',0x2),_0x44b9f0([_0x55471a()],_0x3cac14['prototype'],'icon',0x2),_0x44b9f0([_0x55471a()],_0x3cac14['prototype'],'titleProp',0x2);var _0x3c3c38=class extends _0x3cac14{initCallback(){super['initCallback'](),this['icon']='arrow-dropdown',this['sub']('*currentAspectRatio',_0x33e742=>{let t=this['kd'](_0x33e742);this['title']=t,this['titleProp']=t;});}['onClick'](){this['$']['*showListAspectRatio']=!0x0;}['kd'](_0x5c6a1b){return _0x5c6a1b?_0x5c6a1b['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x5c6a1b['width']+':'+_0x5c6a1b['height']}):'';}['render'](){let _0x3c3764=this['onClick'],t=this['title'];return _0x13cf20`<button role="option" type="button" class=${_0x5d1c9a(this['buttonClasses'])} aria-label=${_0x34ea91(this['titleProp'])} title=${_0x34ea91(this['titleProp'])} @click=${_0x3c3764} ><div class="uc-title" ?hidden=${!t}>${t}</div><uc-icon name=${this['icon']}></uc-icon></button>`;}},_0x55b8b0=class extends _0x3cac14{constructor(){super(...arguments),this['X']=null;}get aspectRatio(){return this['X'];}set aspectRatio(t){if(this['X']===t)return;let _0x1f7056=this['X'];this['X']=t,this['requestUpdate']('aspectRatio',_0x1f7056),t?this['Cl'](t):(this['removeAttribute']('uc-aspect-ratio-freeform'),this['title']='',this['titleProp']='');}initCallback(){super['initCallback'](),this['X']&&this['Cl'](this['X']),this['sub']('*currentAspectRatio',t=>{this['active']=t&&t['id']===this['X']?.['id']||t?.['width']===this['X']?.['width']&&t?.['height']===this['X']?.['height'];});}['onClick'](){this['$']['*currentAspectRatio']?.['id']!==this['X']?.['id']&&(this['$']['*currentAspectRatio']=this['X']);}['Cl'](t){if(!this['isConnected'])return;let _0x3d2433=!!t['hasFreeform'];this['toggleAttribute']('uc-aspect-ratio-freeform',_0x3d2433),(((()=>{let _0x64573c=_0x3d2433?this['l10n']('custom'):t['width']+':'+t['height'];this['title']=_0x64573c;})()),((()=>{let _0x10aac2=this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x3d2433?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':t['width']+':'+t['height']})['toLowerCase'](),'value':''});this['titleProp']=_0x10aac2;})()),_0x3d2433||this['requestUpdate']());}['Md'](){let t=this['X'];if(!t||t['hasFreeform'])return _0x13cf20`<uc-icon name=${this['icon']}></uc-icon>`;let {width:_0x3fa8c8,height:_0x2a8dcf}=(_0x1137f8=>{let _0x2fcab6=0xc,t=0xc;return _0x1137f8['width']/_0x1137f8['height']>=0x1?(_0x2fcab6=0xc,t=Math['round'](0xc*_0x1137f8['height']/_0x1137f8['width'])):(t=0xc,_0x2fcab6=Math['round'](0xc*_0x1137f8['width']/_0x1137f8['height'])),{'width':_0x2fcab6,'height':t};})(t);return _0x13cf20`<uc-icon><svg viewBox="0 0 ${0x10} ${0x10}" aria-hidden="true" focusable="false" ><rect x=${(0x10-_0x3fa8c8)/0x2} y=${(0x10-_0x2a8dcf)/0x2} width=${_0x3fa8c8} height=${_0x2a8dcf} rx="2" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" ></rect></svg></uc-icon>`;}['render'](){let t=this['onClick'],_0x2c29d9=this['title'];return _0x13cf20`<button role="option" type="button" class=${_0x5d1c9a(this['buttonClasses'])} aria-label=${_0x34ea91(this['titleProp'])} title=${_0x34ea91(this['titleProp'])} @click=${t} >${this['Md']()}<div class="uc-title" ?hidden=${!_0x2c29d9}>${_0x2c29d9}</div></button>`;}};_0x44b9f0([_0x54732b({'attribute':!0x1})],_0x55b8b0['prototype'],'aspectRatio',0x1);var _0x207001=class extends _0x3cac14{constructor(){super(...arguments),this['operation']=void 0x0;}willUpdate(t){super['willUpdate'](t),this['operation']?(this['titleProp']=this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](this['operation'])['toLowerCase']()}),this['icon']=this['operation']):(this['icon']='',this['titleProp']='');}['onClick'](t){if(!this['operation'])return;let _0x196a74=this['$']['*cropperEl'],_0x3932f1=_0x196a74['getValue'](this['operation']),_0x4452de=function(_0xbb98ce,_0x2f89c1){if('rotate'===_0xbb98ce)return function(_0x1100c3){let _0x54d267=_0x1100c3+0x5a;return _0x54d267=_0x54d267>=0x168?0x0:_0x54d267,_0x54d267;}('number'==typeof _0x2f89c1?_0x2f89c1:0x0);if('mirror'===_0xbb98ce||'flip'===_0xbb98ce)return!_0x2f89c1;throw new Error('Unsupported\x20operation:\x20'+_0xbb98ce);}(this['operation'],_0x3932f1);this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':this['operation'],'next':_0x4452de,'prev':_0x3932f1}),_0x196a74['setValue'](this['operation'],_0x4452de);}};_0x44b9f0([_0x54732b({'type':String})],_0x207001['prototype'],'operation',0x2);var _0x5598af=class extends _0x3cac14{constructor(){super(...arguments),this['n']='',this['m']='',this['wi']='',this['br']=0x0,this['a']=null,this['Nt']=!0x1,this['isOriginal']=!0x1,this['Sl']=0x14;}get filter(){return this['m'];}set filter(t){let _0x50bae6=t??'';if(this['m']===_0x50bae6)return;let _0x4f7b26=this['m'];this['m']=_0x50bae6,this['n']='filter',this['isOriginal']=_0x50bae6===_0x28e34b,this['icon']=this['isOriginal']?'original':'slider',this['Sl']=this['isOriginal']?0x28:0x14,this['requestUpdate']('filter',_0x4f7b26),this['isConnected']&&this['Al'](_0x50bae6);}['onClick'](t){if(this['active'])this['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['n'],this['m']),this['$']['*showSlider']=!0x0);else{let _0x298503=this['$']['*sliderEl'];_0x298503['setOperation'](this['n'],this['m']),_0x298503['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x2bcd15(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['m'];}['Od'](){let t=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x183f53=Number['isFinite'](t)&&t>0x0?t:this['Sl']||0x20,_0x2cff01=window['devicePixelRatio'],_0x44604b=Math['ceil'](_0x2cff01*_0x183f53),_0x124b88=_0x2cff01>=0x2?'lightest':'normal',_0x3ee7e5={...this['$']['*editorTransformations']};return _0x3ee7e5[this['n']]=this['m']!==_0x28e34b?{'name':this['m'],'amount':0x64}:void 0x0,_0x55f9e7(this['wi'],_0x410f69(_0x5c72df,_0x25edb3(_0x3ee7e5),'quality/'+_0x124b88,'scale_crop/'+_0x44604b+'x'+_0x44604b+'/center','@clib/'+t0+'/'+_0x2c5ce6+'/uc-cloud-image-editor/'));}async['ai'](t,_0x243ff7){t[0x0]?.['isIntersecting']?await this['Ts'](_0x243ff7):this['b']?.();}initCallback(){super['initCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]});let t=this['$']['*originalUrl'];this['wi']=t??'',this['sub']('*originalUrl',_0x29491a=>{this['wi']=_0x29491a??'',!this['isOriginal']&&this['wi']&&this['isConnected']&&!this['a']&&(this['s']?.['observe'](this),this['et']());}),this['isOriginal']||(this['s']?.['observe'](this),this['et']()),this['m']&&this['Al'](this['m']),this['sub']('*currentFilter',_0x33e161=>{this['active']=!(!_0x33e161||_0x33e161!==this['m']);}),this['sub']('*networkProblems',async _0x5aaf27=>{_0x5aaf27||(this['a']?await this['Ts']():this['et']());});}disconnectedCallback(){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['b']?.(),this['wr']();}updated(t){super['updated'](t),t['has']('isOriginal')&&(this['isOriginal']?this['s']?.['unobserve'](this):(this['s']?.['observe'](this),this['et']()));}['Al'](t){if(!t)return void(this['titleProp']='');let _0x564b17=this['l10n']('a11y-cloud-editor-apply-filter',{'name':t['toLowerCase']()});this['titleProp']=_0x564b17;}async['Ts'](t){if(!this['isConnected'])return t?.['unobserve'](this),this['b']?.(),void(this['b']=void 0x0);if(!this['wi'])return void(!this['Ft']&&!this['De']&&this['et']());let _0x5ff0b7=++this['br'],_0x4aa764='';try{_0x4aa764=await this['proxyUrl'](this['Od']());}catch(_0x2f09c9){return this['$']['*networkProblems']=!0x0,void console['error']('Failed\x20to\x20resolve\x20preview\x20URL',{'error':_0x2f09c9});}this['Nt']=!0x1,this['b']?.();let {promise:_0x6b5010,cancel:_0x36ed98}=_0x303a35(_0x4aa764);this['b']=()=>{_0x36ed98(),this['br']===_0x5ff0b7&&(this['b']=void 0x0);};try{if(await _0x6b5010,this['br']!==_0x5ff0b7||!this['isConnected'])return;this['a']=_0x4aa764,this['Nt']=!0x0,this['wr'](),(t??this['s'])?.['unobserve'](this);}catch(_0x532a07){this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x532a07}),this['et']();}finally{this['br']===_0x5ff0b7&&(this['b']=void 0x0);}}et(){!this['isConnected']||this['a']||this['Nt']||this['isOriginal']||this['$']['*networkProblems']?this['wr']():(this['De']&&cancelAnimationFrame(this['De']),this['De']=requestAnimationFrame(()=>{if(this['De']=void 0x0,!this['isConnected']||this['a']||this['Nt']||this['isOriginal'])return void this['wr']();let t=this['getBoundingClientRect'](),_0x458d91=t['width']>0x0&&t['height']>0x0,_0x537774=window['innerWidth']||document['documentElement']['clientWidth'],_0x422815=window['innerHeight']||document['documentElement']['clientHeight'];_0x458d91&&t['bottom']>0x0&&t['right']>0x0&&t['top']<_0x422815&&t['left']<_0x537774?this['Ts']():this['Ft']=window['setTimeout'](()=>{this['Ft']=void 0x0,this['et']();},0x1f4);}));}['wr'](){this['De']&&(cancelAnimationFrame(this['De']),this['De']=void 0x0),this['Ft']&&(window['clearTimeout'](this['Ft']),this['Ft']=void 0x0);}get['Id'](){return!(!this['Nt']||this['active']||this['isOriginal']);}['render'](){let t=this['onClick'],_0x41a5a5={'opacity':this['Id']?'1':'0'};this['a']&&(_0x41a5a5['backgroundImage']='url('+this['a']+')');let _0x98c942={'opacity':this['active']||this['isOriginal']?'1':'0'};return _0x13cf20`<button role="option" type="button" class=${_0x5d1c9a(this['buttonClasses'])} aria-label=${_0x34ea91(this['titleProp'])} title=${_0x34ea91(this['titleProp'])} @click=${t} ><div class="uc-preview" ?data-loaded=${this['Nt']} style=${_0x187b5c(_0x41a5a5)}></div><uc-icon class=${_0x5d1c9a({'uc-original-icon':this['isOriginal']})} name=${this['icon']} style=${_0x187b5c(_0x98c942)} ></uc-icon></button>`;}};_0x44b9f0([_0x55471a()],_0x5598af['prototype'],'a',0x2),_0x44b9f0([_0x55471a()],_0x5598af['prototype'],'Nt',0x2),_0x44b9f0([_0x55471a()],_0x5598af['prototype'],'isOriginal',0x2),_0x44b9f0([_0x55471a()],_0x5598af['prototype'],'Sl',0x2),_0x44b9f0([_0x54732b({'type':String})],_0x5598af['prototype'],'filter',0x1);var _0x406961=class extends _0x3cac14{constructor(){super(...arguments),this['n']='';}get operation(){return this['n'];}set operation(t){let _0x3c41d6=t??'';if(this['n']===_0x3c41d6)return;let _0x53e567=this['n'];this['n']=_0x3c41d6,this['requestUpdate']('operation',_0x53e567),this['isConnected']&&_0x3c41d6&&this['kl'](_0x3c41d6);}['kl'](t){this['icon']=t,(((()=>{let _0x4aa433=this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](t)['toLowerCase']()});this['titleProp']=_0x4aa433;})()),((()=>{let _0x405bd2=this['l10n'](t);this['title']=_0x405bd2;})()));}initCallback(){super['initCallback'](),this['n']&&this['kl'](this['n']),this['sub']('*editorTransformations',t=>{if(!this['n'])return;let {zero:_0x909249}=_0xe60882[this['n']],_0x4b9d1b=t[this['n']],_0x30c0c0=typeof _0x4b9d1b<'u'&&_0x4b9d1b!==_0x909249;this['active']=_0x30c0c0;});}['onClick'](t){this['$']['*sliderEl']?.['setOperation'](this['n']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['n'],this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x2bcd15(this['$']['*operationTooltip'])});}};_0x44b9f0([_0x54732b({'type':String})],_0x406961['prototype'],'operation',0x1);var _0x5ad6a4=()=>{},_0x5dbf9a=class extends _0xbf5cc2{constructor(){super(...arguments),this['hiddenScrollbar']=!0x1,this['Ml']=t=>{t['preventDefault']();let {deltaY:_0x376b92,deltaX:_0x81c416}=t;Math['abs'](_0x81c416)>0x1?this['scrollLeft']+=_0x81c416:this['scrollLeft']+=_0x376b92;};}connectedCallback(){super['connectedCallback'](),this['addEventListener']('wheel',this['Ml'],{'passive':!0x1}),this['addEventListener']('scroll',_0x5ad6a4,{'passive':!0x0});}disconnectedCallback(){this['removeEventListener']('wheel',this['Ml']),this['removeEventListener']('scroll',_0x5ad6a4),super['disconnectedCallback']();}};_0x44b9f0([_0x54732b({'type':Boolean,'noAccessor':!0x0,'attribute':'hidden-scrollbar'})],_0x5dbf9a['prototype'],'hiddenScrollbar',0x2);var _0x327d39=class extends _0xbf5cc2{constructor(){super(...arguments),this['Ti']=!0x1,this['showMainToolbar']=!0x0,this['showSubToolbar']=!0x1,this['Ol']=!0x0,this['tabList']=[..._0x53d00e],this['activeTab']=_0x14a07a['CROP'],this['Tr']=!0x0,this['Es']=!0x1,this['Il']=null,this['Pl']=0x0,this['Ll']=0x0,this['Er']=_0x58af1e(),this['Rl']=_0x58af1e(),this['tabToggleRefs']={[_0x14a07a['CROP']]:_0x58af1e(),[_0x14a07a['TUNING']]:_0x58af1e(),[_0x14a07a['FILTERS']]:_0x58af1e()},this['Ul']=()=>{this['tt']();},this['Ei']=[],this['xr']=_0x1c0742(t=>{this['Ti']=t;},0x1f4),this['Cr']=_0x1c0742(()=>{let t=this['$']['*editorTransformations'],_0x3f5c5f=this['$']['*currentOperation'],_0x35069b='',_0x46cab9=!0x1;if(this['$']['*tabId']===_0x14a07a['FILTERS']){if(_0x46cab9=!0x0,this['$']['*currentFilter']&&t?.['filter']?.['name']===this['$']['*currentFilter']){let _0x57c06d=t?.['filter']?.['amount']||0x64;_0x35069b=this['$']['*currentFilter']+'\x20'+_0x57c06d;}else _0x35069b=this['l10n'](_0x28e34b);}else{if(this['showSubToolbar']&&this['$']['*tabId']===_0x14a07a['TUNING']&&_0x3f5c5f){_0x46cab9=!0x0;let _0x221139=t?.[_0x3f5c5f]||_0xe60882[_0x3f5c5f]['zero'];_0x35069b=this['l10n'](_0x3f5c5f)+'\x20'+_0x221139;}}_0x46cab9&&(this['$']['*operationTooltip']=_0x35069b),this['Es']=_0x46cab9;},0x0),this['Pd']={'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},this['Ld']={'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},this['Rd']={'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},this['Ud']={'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},this['init$']={...this['init$'],'*sliderEl':null,'*showSlider':!0x1,'*showListAspectRatio':!0x1,'*currentFilter':_0x28e34b,'*currentOperation':null,'*operationTooltip':null},this['Ee']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel'}),this['b']?.();let _0x95a556=this['$']['*on.cancel'];_0x95a556?.();},this['As']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply'});let _0x37ece7=this['$']['*on.apply'];_0x37ece7?.(this['$']['*editorTransformations']);},this['jd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply-slider','operation':_0x2bcd15(this['$']['*operationTooltip'])}),this['Er']['value']?.['apply'](),this['$l']();},this['Gd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel-slider'}),this['Er']['value']?.['cancel'](),this['$l']();},this['qd']=t=>{let _0xb1c915=t['currentTarget']?.['getAttribute']('data-id');_0xb1c915&&(this['telemetryManager']['sendEventCloudImageEditor'](t,_0xb1c915),this['xs'](_0xb1c915,{'fromViewer':!0x1}));};}['$l'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x14a07a['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x14a07a['TUNING']&&(this['Es']=!0x1);}['xs'](t,{fromViewer:_0xe2e9ee=!0x1,force:_0x14c5c4=!0x1}={}){this['$']['*tabId']!==t&&(this['$']['*tabId']=t),this['Dl'](t,{'fromViewer':_0xe2e9ee,'force':_0x14c5c4});}['Dl'](t,{fromViewer:_0x4db69b,force:_0xeeecc7=!0x1}){if(!_0xeeecc7&&this['activeTab']===t)return void this['tt']();this['activeTab']=t;let _0x502fb9=this['$']['*faderEl'],_0xbfe95e=this['$']['*cropperEl'];t===_0x14a07a['CROP']?(_0x502fb9?.['deactivate'](),this['$']['*imageSize']&&_0xbfe95e?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x4db69b})):(_0x502fb9?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x4db69b}),_0xbfe95e?.['deactivate']());for(let _0x144ae6 of _0x53d00e){let _0x3f7e38=_0x144ae6===t,_0x42d606=this['tabToggleRefs'][_0x144ae6]?.['value'];_0x42d606&&(_0x42d606['active']=_0x3f7e38),_0x3f7e38&&this['tt']();}}tt(){let _0x5603b4=this['tabToggleRefs'][this['activeTab']]?.['value'],_0x45a8f0=this['Rl']['value'];if(!_0x5603b4||!_0x45a8f0)return;let _0x11254c=_0x5603b4['offsetLeft'],_0x862fe=_0x5603b4['offsetWidth']||Number(getComputedStyle(_0x5603b4)['width']['replace']('px',''));(this['Pl']!==_0x11254c||this['Ll']!==_0x862fe)&&(this['Pl']=_0x11254c,this['Ll']=_0x862fe,_0x45a8f0['style']['transform']='translateX('+_0x11254c+'px)',_0x45a8f0['style']['width']=_0x862fe+'px');}get['Cs'](){return this['Ei']['length']>=0x3;}['$d'](t){switch(t){case _0x14a07a['CROP']:return this['Dd']();case _0x14a07a['FILTERS']:return this['Fd']();case _0x14a07a['TUNING']:return this['Nd']();default:return[];}}['Dd'](){let t=[];if(this['Cs'])t['push'](()=>this['Vd']());else{for(let _0x47a2b5 of this['Ei'])t['push'](()=>this['Fl'](_0x47a2b5));}for(let _0x5e213f of _0xf0883)t['push'](()=>this['_d'](_0x5e213f));return this['Ss'](t);}['Fd'](){let _0x938fd5=[_0x28e34b,..._0x4a418e]['map'](_0x3e5214=>()=>this['Bd'](_0x3e5214));return this['Ss'](_0x938fd5);}['Nd'](){let t=_0x44dfcc['map'](_0xcdd18a=>()=>this['zd'](_0xcdd18a));return this['Ss'](t);}['Ss'](t){return t['length']?t['map'](_0x2d2cff=>_0x2d2cff()):[];}['Vd'](){return _0x13cf20`<uc-editor-freeform-button-control></uc-editor-freeform-button-control>`;}['Fl'](t){return _0x13cf20`<uc-editor-aspect-ratio-button-control .aspectRatio=${t}></uc-editor-aspect-ratio-button-control>`;}['_d'](t){return _0x13cf20`<uc-editor-crop-button-control .operation=${t}></uc-editor-crop-button-control>`;}['Bd'](t){return _0x13cf20`<uc-editor-filter-control .filter=${t}></uc-editor-filter-control>`;}['zd'](t){return _0x13cf20`<uc-editor-operation-control .operation=${t}></uc-editor-operation-control>`;}['Hd'](){return this['Cs']?this['Ei']['map'](t=>this['Fl'](t)):[];}async['Kd'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){let t=this['$']['*imgContainerEl']['offsetWidth'],_0x7cf098=await this['proxyUrl'](_0x487801(this['$']['*originalUrl'],t,this['$']['*editorTransformations']));this['b']?.();let {cancel:_0x46aa77}=_0xd8374d([_0x7cf098]);this['b']=()=>{_0x46aa77(),this['b']=void 0x0;};}}initCallback(){super['initCallback']();let t=this['$']['*cropPresetList']??[];this['Ei']=[...t],this['sub']('*cropPresetList',_0x437998=>{this['Ei']=[..._0x437998??[]];}),this['sub']('*imageSize',_0x494369=>{_0x494369&&setTimeout(()=>{this['xs'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x10d52b=>{let _0x39e85b=_0x10d52b?.['filter']?.['name'];this['$']['*currentFilter']!==_0x39e85b&&(this['$']['*currentFilter']=_0x39e85b??'');}),this['sub']('*currentFilter',()=>{this['Cr']();}),this['sub']('*currentOperation',()=>{this['Cr']();}),this['sub']('*tabId',_0x5af204=>{this['Dl'](_0x5af204,{'fromViewer':!0x1,'force':!0x0}),this['Cr']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0xbc6d0a=>{this['Kd'](),this['$']['*faderEl']?.['setTransformations'](_0xbc6d0a);}),this['sub']('*loadingOperations',_0xa3991=>{let _0xa89c6d=!0x1;for(let [,_0x4a4ed7]of _0xa3991['entries']()){if(_0xa89c6d)break;for(let [,_0x591226]of _0x4a4ed7['entries']())if(_0x591226){_0xa89c6d=!0x0;break;}}this['xr'](_0xa89c6d);}),this['sub']('*showSlider',_0x4d9d4a=>{_0x4d9d4a?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x0):this['$']['*showListAspectRatio']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*showListAspectRatio',_0x1cda52=>{_0x1cda52?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x1):this['$']['*showSlider']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*tabList',_0x4192b0=>{if(this['tabList']=_0x4192b0,this['Ol']=_0x4192b0['length']>0x1,!_0x4192b0['includes'](this['$']['*tabId'])&&_0x4192b0['length']>0x0){let [_0x272c42]=_0x4192b0;return void(_0x272c42&&this['xs'](_0x272c42,{'fromViewer':!0x1}));}this['tt']();}),this['sub']('*operationTooltip',_0x6a8a2b=>{this['Il']=_0x6a8a2b;}),this['Cr']();}connectedCallback(){super['connectedCallback'](),window['addEventListener']('resize',this['Ul']);}firstUpdated(t){super['firstUpdated'](t),this['Sr'](),this['tt']();}updated(t){super['updated'](t),(t['has']('activeTab')||t['has']('tabList'))&&this['updateComplete']['then'](()=>this['tt']()),(t['has']('showSubToolbar')||t['has']('showMainToolbar'))&&this['Sr']();}disconnectedCallback(){window['removeEventListener']('resize',this['Ul']),super['disconnectedCallback'](),this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}['Sr'](){let t=this['Er']['value'];t&&(this['$']['*sliderEl']=t);}['Wd'](t){let _0x319b3a=this['tabList']['includes'](t),_0x280830=this['activeTab']===t,_0x224b7d=this['tabList']['indexOf'](t),_0x26c702=_0x224b7d>=0x0?_0x187b5c({'gridColumn':''+(_0x224b7d+0x1)}):_0x5043ae;return _0x13cf20`<uc-presence-toggle class="uc-tab-toggle" .visible=${_0x319b3a} .styles=${this['Rd']}><uc-btn-ui theme="tab" data-id=${t} icon=${t} role="tab" aria-controls=${'tab_'+t} aria-selected=${_0x280830?'true':'false'} title-prop=${'a11y-editor-tab-'+t} .active=${_0x280830} style=${_0x26c702} @click=${this['qd']} ${_0x3ffc7b(this['tabToggleRefs'][t])} ></uc-btn-ui></uc-presence-toggle>`;}['Zd'](t){let _0x4b2e6c=this['$d'](t);return _0x13cf20`<div id=${'tab_'+t} class="uc-tab-content" ><uc-editor-scroller hidden-scrollbar><div class="uc-controls-list_align"><div role="listbox" aria-orientation="horizontal" class="uc-controls-list_inner">${_0x4b2e6c['length']?_0x4b2e6c:_0x5043ae}</div></div></uc-editor-scroller></div>`;}['render'](){let t=['uc-info-tooltip',this['Es']?'uc-info-tooltip_visible':'uc-info-tooltip_hidden']['join']('\x20'),_0x20f091=this['Cs'];return _0x13cf20`<uc-line-loader-ui .active=${this['Ti']}></uc-line-loader-ui><div class="uc-info-tooltip_container"><div class="uc-info-tooltip_wrapper"><div class=${t}>${this['Il']??''}</div></div></div><div class="uc-toolbar-container"><uc-presence-toggle role="tablist" class="uc-sub-toolbar" .visible=${this['showMainToolbar']} .styles=${this['Pd']} ><div class="uc-tab-content-row">${_0x53d00e['map'](_0x2af5d7=>_0x1c1807(this['activeTab']===_0x2af5d7,()=>this['Zd'](_0x2af5d7)))}</div><div class="uc-controls-row"><uc-presence-toggle class="uc-tab-toggles" .visible=${this['Ol']} .styles=${this['Ud']} @initial-render=${()=>this['tt']()} ><div class="uc-tab-toggles_indicator" ${_0x3ffc7b(this['Rl'])} ></div>${_0x53d00e['map'](_0x49056d=>this['Wd'](_0x49056d))}</uc-presence-toggle><uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" title-prop="cancel" @click=${this['Ee']} ></uc-btn-ui><uc-btn-ui theme="primary-icon" icon="done" title-prop="apply" @click=${this['As']}></uc-btn-ui></div></uc-presence-toggle><uc-presence-toggle class="uc-sub-toolbar" .visible=${this['showSubToolbar']} .styles=${this['Ld']}><div class="uc-slider" ?hidden=${!this['Tr']}><uc-editor-slider ${_0x3ffc7b(this['Er'])}></uc-editor-slider></div><div class="uc-list-aspect-ratio-container" ?hidden=${this['Tr']||!_0x20f091}>${_0x20f091?_0x13cf20`<div class="uc-list-aspect-ratio">${this['Hd']()}</div>`:_0x5043ae}</div><div class="uc-controls-row"><uc-btn-ui theme="secondary" @click=${this['Gd']} text=${this['l10n']('cancel')}></uc-btn-ui><uc-btn-ui theme="primary" @click=${this['jd']} text=${this['l10n']('apply')}></uc-btn-ui></div></uc-presence-toggle></div>`;}};_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'Ti',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'showMainToolbar',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'showSubToolbar',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'Ol',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'tabList',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'activeTab',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'Tr',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'Es',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'Il',0x2),_0x44b9f0([_0x55471a()],_0x327d39['prototype'],'Ei',0x2);var _0x412738=_0x6d8d43([..._0x53d00e]),_0x1e374f=class extends _0xbf5cc2{constructor(){super(...arguments),this['ctxOwner']=!0x0,this['Yd']='',this['Je']=_0x179805,this['Xd']='',this['Ti']=!0x1,this['uuid']=null,this['cdnUrl']=null,this['cropPreset']='',this['tabs']=_0x412738,this['Nl']=!0x1,this['ke']=!0x1,this['ks']=null,this['xi']=null,this['xr']=_0x1c0742(t=>{this['Ti']=t;},0x12c),this['Ar']=_0x58af1e(),this['Vl']=_0x58af1e(),this['_l']=_0x58af1e(),this['Bl']=_0x58af1e(),this['zl']=()=>{this['xr'](!0x1),this['Je']!==_0x179805&&(this['$']['*networkProblems']=!0x1);},this['Hl']=()=>{this['xr'](!0x1),this['$']['*networkProblems']=!0x0;},this['Qd']=()=>{let t=this['$']['*on.retryNetwork'];t?.();},this['init$']={...this['init$'],..._0x2e7826(this)};}static{this['styleAttrs']=['uc-cloud-image-editor'];}['Jd'](){this['ke']||this['ks']||(this['ks']=this['updateComplete']['then'](()=>{this['ks']=null,this['ke']=!0x0;}));}initCallback(){super['initCallback'](),this['Kl'](),this['jl']();}['Sr'](){let t=this['_l']['value'];t&&(this['$']['*faderEl']=t);let _0x2fcce1=this['Vl']['value'];_0x2fcce1&&(this['$']['*cropperEl']=_0x2fcce1);let _0x1a6b59=this['Bl']['value'];_0x1a6b59&&(this['$']['*imgContainerEl']=_0x1a6b59);let _0x3a79bc=this['Ar']['value'];_0x3a79bc&&(this['$']['*imgEl']=_0x3a79bc);}['ep'](){let t=this['Ar']['value'];t&&(t['addEventListener']('load',this['zl']),t['addEventListener']('error',this['Hl']));}tp(){let t=this['Ar']['value'];t&&(t['removeEventListener']('load',this['zl']),t['removeEventListener']('error',this['Hl']));}get['ip'](){let t=this['$']['*tabId'];return _0x25515e('uc-image',{'uc-image_hidden_to_cropper':t===_0x14a07a['CROP'],'uc-image_hidden_effects':t!==_0x14a07a['CROP']});}['Gl'](){if(this['xi'])return this['xi'];return this['xi']=new Promise((_0x434dfc,_0x531ee1)=>{let _0x49f909=()=>{window['clearTimeout'](_0x26a5a5),_0x477426['disconnect'](),this['xi']=null;},_0x2e0f6b=()=>{_0x49f909(),window['setTimeout'](()=>_0x434dfc(),0x0);},_0x199321=()=>{let _0x2cb91f=new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size');_0x49f909(),this['isConnected']&&console['error'](_0x2cb91f['message']),_0x531ee1(_0x2cb91f);},_0x477426=new ResizeObserver(_0xfaa65=>{let [_0x437228]=_0xfaa65;_0x437228&&_0x437228['contentRect']['width']>0x0&&_0x437228['contentRect']['height']>0x0&&_0x2e0f6b();}),_0x26a5a5=window['setTimeout'](()=>{_0x199321();},0xbb8);((()=>{let {width:_0x47c3da,height:_0x51403c}=this['getBoundingClientRect']();return _0x47c3da>0x0&&_0x51403c>0x0;})())?_0x2e0f6b():_0x477426['observe'](this);}),this['xi'];}firstUpdated(t){super['firstUpdated'](t),this['Sr'](),this['ep'](),this['initEditor']();let _0x1515b0=!(!this['uuid']&&!this['cdnUrl']),_0x4204ca=t['has']('uuid')||t['has']('cdnUrl');_0x1515b0&&!_0x4204ca&&this['updateImage']();}disconnectedCallback(){this['tp'](),super['disconnectedCallback']();}['render'](){let t=this['Xd']??'',_0x50ebfd=this['Yd']??'',_0x294c6c=this['Je']||_0x179805,_0x46dc60=this['Ti'],_0x4af00=this['Nl'];return _0x13cf20` ${_0x30cbbf('<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27/><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-brightness\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M15\x2010a5\x205\x200\x200\x201-5\x205m5-5a5\x205\x200\x200\x200-5-5m5\x205h-5m0\x205a5\x205\x200\x200\x201\x200-10m0\x2010V5m0\x2015v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05m-.626\x202.45H10m4.324\x205H10\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-closeMax\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M8.232\x2010\x203.585\x205.353l1.768-1.768L10\x208.232l4.648-4.647\x201.767\x201.768L11.768\x2010l4.647\x204.648-1.767\x201.767L10\x2011.768l-4.647\x204.647-1.768-1.767L8.232\x2010Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-contrast\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2010a8\x208\x200\x201\x200\x2016\x200\x208\x208\x200\x201\x200-16\x200m8-8v16m8-8h-8m7.598\x202.5H10m6.24\x202.5H10m7.6-7.5H10M16.242\x205H10\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-crop\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M20\x2014H7.005C6.45\x2014\x206\x2013.55\x206\x2012.995V0M0\x206h13.067c.515\x200\x20.933.418.933.933V20M14.5.4\x2013\x202l1.5\x201.6M13\x202h2a3\x203\x200\x200\x201\x203\x203v2M5.5\x2019.6\x207\x2018l-1.5-1.6M7\x2018H5a3\x203\x200\x200\x201-3-3v-2\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-done\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27m18.057\x206.333-9.365\x209.125a1.25\x201.25\x200\x200\x201-1.768-.023L1.92\x2010.296l1.791-1.744\x204.132\x204.243\x208.47-8.253\x201.744\x201.79Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2025\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-enhance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19\x2013h-2m0\x200a4\x204\x200\x200\x201-4-4m4\x204a4\x204\x200\x200\x200-4\x204m0-8V7m0\x202a4\x204\x200\x200\x201-4\x204m-2\x200h2m0\x200a4\x204\x200\x200\x201\x204\x204m0\x200v2M8\x208.5H6.5m0\x200a2\x202\x200\x200\x201-2-2m2\x202a2\x202\x200\x200\x200-2\x202m0-4V5m0\x201.5a2\x202\x200\x200\x201-2\x202M1\x208.5h1.5m0\x200a2\x202\x200\x200\x201\x202\x202m0\x200V12M12\x203h-1m0\x200a1\x201\x200\x200\x201-1-1m1\x201a1\x201\x200\x200\x200-1\x201m0-2V1m0\x201a1\x201\x200\x200\x201-1\x201M8\x203h1m0\x200a1\x201\x200\x200\x201\x201\x201m0\x200v1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-exposure\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M10\x2020v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05M5\x2010a5\x205\x200\x201\x200\x2010\x200\x205\x205\x200\x201\x200-10\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-filters\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M4.5\x206.5a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m-3.5\x206a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m7\x200a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-flip\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19.6\x205\x2018\x203.5\x2016.4\x205m3.2\x2010L18\x2016.5\x2016.4\x2015M18\x203.523v12.954M3.3\x208.5h10.654c.301\x200\x20.415-.395.159-.554L3.459\x201.286A.3.3\x200\x200\x200\x203\x201.542V8.2a.3.3\x200\x200\x200\x20.3.3zm0\x203h10.654c.301\x200\x20.415.395.159.554l-10.654\x206.66A.3.3\x200\x200\x201\x203\x2018.458v-6.66a.3.3\x200\x200\x201\x20.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-gamma\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M17\x203C9\x206\x202.5\x2011.5\x202.5\x2017.5m0\x200h1m-1\x200v-1m14\x201h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3-14v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-mirror\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M5\x20.4\x203.5\x202\x205\x203.6M15\x20.4\x2016.5\x202\x2015\x203.6M3.52\x202h12.957M8.5\x2016.7V6.046c0-.301-.394-.415-.554-.159L1.287\x2016.541a.3.3\x200\x200\x200\x20.255.459H8.2a.3.3\x200\x200\x200\x20.3-.3zm3\x200V6.046c0-.301.395-.415.555-.159l6.659\x2010.654a.3.3\x200\x200\x201-.255.459H11.8a.3.3\x200\x200\x201-.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2040\x2040\x27\x20id=\x27uc-icon-original\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.5\x27\x20d=\x27M0\x2040\x2040\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-rotate\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M13.5.4\x2012\x202l1.5\x201.6M12.023\x202H14.4A3.6\x203.6\x200\x200\x201\x2018\x205.6V8M4\x2017h9a1\x201\x200\x200\x200\x201-1V7a1\x201\x200\x200\x200-1-1H4a1\x201\x200\x200\x200-1\x201v9a1\x201\x200\x200\x200\x201\x201z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-sad\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2017c4.418-4\x2011.582-4\x2016\x200M16.5\x205a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200zm-11\x200a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-saturation\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><defs><linearGradient\x20id=\x27ruc-icon-id__a\x27\x20x1=\x2710.001\x27\x20y1=\x271\x27\x20x2=\x2710.001\x27\x20y2=\x2719\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs><circle\x20cx=\x2710.001\x27\x20cy=\x2710\x27\x20r=\x279\x27\x20transform=\x27rotate(90\x2010\x2010)\x27\x20fill=\x27url(#ruc-icon-id__a)\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-slider\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M0\x2010h11m0\x200a2\x202\x200\x201\x200\x204\x200m-4\x200a2\x202\x200\x201\x201\x204\x200m0\x200h5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-tuning\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M8\x2010h11M1\x2010h4M1\x204.5h11m3\x200h4m-18\x2011h11m3\x200h4m-7-11a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200M5\x2010a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200m7\x205.5a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-vibrance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2.125\x205.64A8.96\x208.96\x200\x200\x200\x201.001\x2010a8.96\x208.96\x200\x200\x200\x201.124\x204.36V5.64z\x27\x20fill=\x27url(#uuc-icon-id__a)\x27/><path\x20d=\x27M2.875\x2015.499V4.502a9.053\x209.053\x200\x200\x201\x201.75-1.72v14.437a9.05\x209.05\x200\x200\x201-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__b)\x27/><path\x20d=\x27M5.375\x2017.722c.548.33\x201.134.601\x201.75.809V1.469a8.956\x208.956\x200\x200\x200-1.75.81v15.443z\x27\x20fill=\x27url(#uuc-icon-id__c)\x27/><path\x20d=\x27M7.875\x201.253v17.495c.564.136\x201.15.22\x201.75.244V1.008a9\x209\x200\x200\x200-1.75.245z\x27\x20fill=\x27url(#uuc-icon-id__d)\x27/><path\x20d=\x27M10.375\x201.008v17.984a9\x209\x200\x200\x200\x201.75-.244V1.252a9\x209\x200\x200\x200-1.75-.244z\x27\x20fill=\x27url(#uuc-icon-id__e)\x27/><path\x20d=\x27M12.875\x201.469V18.53a8.957\x208.957\x200\x200\x200\x201.75-.808V2.277a8.957\x208.957\x200\x200\x200-1.75-.808z\x27\x20fill=\x27url(#uuc-icon-id__f)\x27/><path\x20d=\x27M15.375\x202.78v14.44a9.053\x209.053\x200\x200\x200\x201.75-1.72v-11a9.054\x209.054\x200\x200\x200-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__g)\x27/><path\x20d=\x27M17.875\x205.638v8.724A8.959\x208.959\x200\x200\x200\x2019.001\x2010a8.96\x208.96\x200\x200\x200-1.126-4.362z\x27\x20fill=\x27url(#uuc-icon-id__h)\x27/><defs><linearGradient\x20id=\x27uuc-icon-id__a\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__b\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__c\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__d\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__e\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__f\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__g\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__h\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-warmth\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m7.5\x2013.05.429.42.171-.175v-.244h-.6zm5\x200h-.6v.245l.172.175.428-.42zM8.1\x203.5c0-1.05.85-1.9\x201.9-1.9V.4a3.1\x203.1\x200\x200\x200-3.1\x203.1h1.2zm0\x209.55V3.5H6.9v9.55h1.2zm-1\x202.45c0-.79.315-1.506.829-2.03l-.858-.84A4.088\x204.088\x200\x200\x200\x205.9\x2015.5h1.2zm2.9\x202.9a2.9\x202.9\x200\x200\x201-2.9-2.9H5.9a4.1\x204.1\x200\x200\x200\x204.1\x204.1v-1.2zm2.9-2.9a2.9\x202.9\x200\x200\x201-2.9\x202.9v1.2a4.1\x204.1\x200\x200\x200\x204.1-4.1h-1.2zm-.829-2.03c.514.524.829\x201.24.829\x202.03h1.2c0-1.117-.447-2.13-1.171-2.87l-.858.84zM11.9\x203.5v9.55h1.2V3.5h-1.2zM10\x201.6c1.05\x200\x201.9.85\x201.9\x201.9h1.2A3.1\x203.1\x200\x200\x200\x2010\x20.4v1.2z\x27\x20fill=\x27currentColor\x27/><path\x20d=\x27M10\x2014V8\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20stroke-linecap=\x27round\x27/><path\x20d=\x27M14\x203h3m-3\x203h3m-3\x203h3m-8\x206.5a1\x201\x200\x201\x200\x202\x200\x201\x201\x200\x201\x200-2\x200\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27/></symbol></svg>')}<div class="uc-wrapper uc-wrapper_desktop"><uc-presence-toggle class="uc-network_problems_splash" .visible=${_0x4af00}><div class="uc-network_problems_content"><div class="uc-network_problems_icon"><uc-icon name="sad"></uc-icon></div><div class="uc-network_problems_text">Network error</div></div><div class="uc-network_problems_footer"><uc-btn-ui theme="primary" text="Retry" @click=${this['Qd']}></uc-btn-ui></div></uc-presence-toggle><div class="uc-viewport"><div class="uc-file_type_outer"><div class="uc-file_type">${t}</div></div><div class="uc-image_container" ${_0x3ffc7b(this['Bl'])}><img src=${_0x294c6c} class=${this['ip']} ${_0x3ffc7b(this['Ar'])} />${_0x1c1807(this['ke'],()=>_0x13cf20`<uc-editor-image-cropper ${_0x3ffc7b(this['Vl'])}></uc-editor-image-cropper>`)}<uc-editor-image-fader ${_0x3ffc7b(this['_l'])}></uc-editor-image-fader></div><div class="uc-info_pan">${_0x50ebfd}</div></div><div class="uc-toolbar"><uc-line-loader-ui .active=${_0x46dc60}></uc-line-loader-ui><div class="uc-toolbar_content uc-toolbar_content__editor">${_0x1c1807(this['ke'],()=>_0x13cf20`<uc-editor-toolbar></uc-editor-toolbar>`)}</div></div></div>`;}updated(t){super['updated'](t),t['has']('uuid')&&this['uuid']&&this['updateImage'](),t['has']('cdnUrl')&&this['cdnUrl']&&this['updateImage'](),t['has']('tabs')&&this['Kl'](),(t['has']('cropPreset')||t['has']('cdnUrl'))&&this['jl']();}['Kl'](){let t=this['tabs']||_0x412738;this['$']['*tabList']=(_0x486635=>{if(!_0x486635)return _0x53d00e;let _0x3b9052=_0x5abd0c(_0x486635)['filter'](_0x317cc6);return 0x0===_0x3b9052['length']?_0x53d00e:_0x3b9052;})(t);}['jl'](){let t=_0x4e8026(this['cropPreset']??''),_0x27ccdb=null;if(this['cdnUrl']){let _0xe4d688=_0x422f11(_0x338a04(this['cdnUrl']));if(Array['isArray'](_0xe4d688?.['crop']?.['dimensions'])){let [_0x2423bf,_0x85b492]=_0xe4d688['crop']['dimensions'];_0x27ccdb=((_0x513721,_0x403f0d,t,_0xb13562=0.1)=>{let _0x33391c=_0x513721/_0x403f0d,_0x20eeec=null,_0x4f708b=0x1/0x0;for(let _0x34bed9 of t){let [_0x5a97e2,_0x35d919]=[_0x34bed9['width'],_0x34bed9['height']],_0x2ce808=_0x5a97e2/_0x35d919,_0x55616a=Math['abs'](_0x33391c-_0x2ce808);_0x55616a<_0x4f708b&&(_0x4f708b=_0x55616a,_0x20eeec=_0x34bed9);}if(_0x20eeec){let [_0x25527c,_0x5cd44b]=[_0x20eeec['width'],_0x20eeec['height']],_0x47b229=_0x25527c/_0x5cd44b;if(Math['abs'](_0x33391c-_0x47b229)/_0x47b229>_0xb13562)return null;}return _0x20eeec;})(_0x2423bf,_0x85b492,t,0.1);}}this['$']['*cropPresetList']=t,this['$']['*currentAspectRatio']=_0x27ccdb??t?.[0x0]??null;}async updateImage(){if(this['isConnected']){try{await this['Gl']();}catch{return;}if(this['isConnected']){if(this['cdnUrl']){let t=this['cdnUrl'],_0x3f9e71=_0x367280(t,_0x4b88a2(t));if(_0x3f9e71===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x3f9e71;let _0x19032e=_0x422f11(_0x338a04(t));this['$']['*editorTransformations']=_0x19032e;}else{if(!this['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{let t=_0x367280(this['cfg']['cdnCname'],this['uuid']);if(t===this['$']['*originalUrl'])return;this['$']['*originalUrl']=t,Object['keys'](this['$']['*editorTransformations'])['length']>0x0&&(this['$']['*editorTransformations']={});}}this['$']['*tabId']===_0x14a07a['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{let t=this['$']['*originalUrl'],_0x5708de=await this['proxyUrl'](_0x55f9e7(t,_0x410f69('json'))),{width:_0x27db62,height:_0x18ef3e}=await fetch(_0x5708de)['then'](_0x1fa14b=>_0x1fa14b['json']());this['$']['*imageSize']={'width':_0x27db62,'height':_0x18ef3e},this['$']['*tabId']===_0x14a07a['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':t});}catch(_0x31578b){_0x31578b&&(this['telemetryManager']['sendEventError'](_0x31578b,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x31578b));}this['Jd']();}}}async initEditor(){try{await this['Gl']();}catch{return;}this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',t=>{let _0x4ad52d=!!t;this['Nl']=_0x4ad52d;}),this['sub']('*editorTransformations',t=>{if(0x0===Object['keys'](t)['length'])return;let _0x6f6c1a=this['$']['*originalUrl'],_0x24f7ac=_0x410f69(_0x25edb3(t),'preview'),_0x31ba34={'originalUrl':_0x6f6c1a,'cdnUrlModifiers':_0x24f7ac,'cdnUrl':_0x55f9e7(_0x6f6c1a,_0x24f7ac),'transformations':t};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x31ba34,'bubbles':!0x0,'composed':!0x0}));},!0x1);}};_0x44b9f0([_0x55471a()],_0x1e374f['prototype'],'Yd',0x2),_0x44b9f0([_0x55471a()],_0x1e374f['prototype'],'Je',0x2),_0x44b9f0([_0x55471a()],_0x1e374f['prototype'],'Xd',0x2),_0x44b9f0([_0x55471a()],_0x1e374f['prototype'],'Ti',0x2),_0x44b9f0([_0x54732b({'type':String,'reflect':!0x0})],_0x1e374f['prototype'],'uuid',0x2),_0x44b9f0([_0x54732b({'type':String,'attribute':'cdn-url','reflect':!0x0})],_0x1e374f['prototype'],'cdnUrl',0x2),_0x44b9f0([_0x54732b({'type':String,'attribute':'crop-preset','reflect':!0x0})],_0x1e374f['prototype'],'cropPreset',0x2),_0x44b9f0([_0x54732b({'type':String,'reflect':!0x0})],_0x1e374f['prototype'],'tabs',0x2),_0x44b9f0([_0x55471a()],_0x1e374f['prototype'],'Nl',0x2),_0x44b9f0([_0x55471a()],_0x1e374f['prototype'],'ke',0x2);var _0x47148c={};_0x5c27fe(_0x47148c,{'CloudImageEditorActivity':()=>_0x28384e});var _0x1bbe30=class extends _0x1e374f{static{this['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];}constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}initCallback(){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x28384e=class extends _0x2b75dc{constructor(){super(...arguments),this['Q']=null;}get activityParams(){let t=super['activityParams'];if('internalId'in t)return t;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}initCallback(){super['initCallback'](),this['subConfigValue']('cropPreset',t=>{this['Q']&&this['Q']['cropPreset']!==t&&(this['Q']={...this['Q'],'cropPreset':t});}),this['subConfigValue']('cloudImageEditorTabs',t=>{this['Q']&&this['Q']['tabs']!==t&&(this['Q']={...this['Q'],'tabs':t});}),this['rp']();}disconnectedCallback(){super['disconnectedCallback'](),this['op']();}['As'](t){if(!this['Ci'])return;this['debugPrint']('editor\x20event\x20\x22apply\x22',t['detail']);let _0x5f26a7=t['detail'];this['Ci']['setMultipleValues']({'cdnUrl':_0x5f26a7['cdnUrl'],'cdnUrlModifiers':_0x5f26a7['cdnUrlModifiers']}),this['modalManager']?.['close'](_0x8a8c15['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['Ee'](t){let _0x176257=t instanceof CustomEvent?t['detail']:void 0x0;this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x176257),this['modalManager']?.['close'](_0x8a8c15['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleChange'](t){this['debugPrint']('editor\x20event\x20\x22change\x22',t['detail']);}['rp'](){let {internalId:t}=this['activityParams'],_0x4bb91b=this['uploadCollection']['read'](t);if(!_0x4bb91b)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20not\x20found');this['Ci']=_0x4bb91b;let _0x5d536b=this['Ci']['getValue']('cdnUrl');if(!_0x5d536b)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20hasn\x27t\x20uploaded\x20yet');this['Q']=this['sp'](_0x5d536b);}['op'](){this['Ci']=void 0x0,this['Q']=null;}['render'](){if(!this['Q'])return _0x5043ae;let {cdnUrl:t,cropPreset:_0x11668f,tabs:_0x3b53e0}=this['Q'];return _0x13cf20`<uc-cloud-image-editor cdn-url=${t} crop-preset=${_0x34ea91(_0x11668f)} tabs=${_0x34ea91(_0x3b53e0)} @apply=${this['As']} @cancel=${this['Ee']} @change=${this['handleChange']} ></uc-cloud-image-editor>`;}['sp'](t){return{'cdnUrl':t,'cropPreset':this['cfg']['cropPreset'],'tabs':this['cfg']['cloudImageEditorTabs']};}};_0x44b9f0([_0x55471a()],_0x28384e['prototype'],'Q',0x2);var _0x4b0a4a=class extends _0x2b75dc{constructor(){super(...arguments),this['Dt']='',this['bs']=t=>{this['Dt']=t['target']?.['value']??'';},this['Ho']=t=>{t['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});let _0x340cdc=this['Dt']['trim']();_0x340cdc&&(this['api']['addFileFromUrl'](_0x340cdc,{'source':_0x4b5b6e['URL']}),this['$']['*currentActivity']=_0x8a8c15['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x8a8c15['activities']['UPLOAD_LIST']));};}['render'](){return _0x13cf20`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['historyBack']} title=${this['l10n']('back')} aria-label=${this['l10n']('back')}><uc-icon name="back"></uc-icon></button><div><uc-icon name="url"></uc-icon><span>${this['l10n']('caption-from-url')}</span></div><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><form class="uc-content" @submit=${this['Ho']}><label><input placeholder="https://" class="uc-url-input" type="text" autofocus @input=${this['bs']} /></label><button type="submit" class="uc-url-upload-btn uc-primary-btn" ?disabled=${!this['Dt']} >${this['l10n']('upload-url')}</button></form>`;}};_0x44b9f0([_0x55471a()],_0x4b0a4a['prototype'],'Dt',0x2);var _0x5b5e17=()=>{let _0x569797=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x569797['location']['origin'];}catch(_0x338027){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x338027),globalThis['location']['origin'];}},_0x47bc32=_0x3828bd=>_0x3828bd['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x5df2af=(_0x30dfac,_0x5c1db9='i')=>{let t=_0x30dfac['split']('*')['map'](_0x47bc32);return new RegExp('^'+t['join']('.+')+'$',_0x5c1db9);},_0x263c2a=['--uc-font-family','--uc-font-size','--uc-line-height','--uc-button-size','--uc-preview-size','--uc-input-size','--uc-padding','--uc-radius','--uc-transition','--uc-background','--uc-foreground','--uc-primary','--uc-primary-hover','--uc-primary-transparent','--uc-primary-foreground','--uc-secondary','--uc-secondary-hover','--uc-secondary-foreground','--uc-muted','--uc-muted-foreground','--uc-destructive','--uc-destructive-foreground','--uc-border'],_0x26fb80=(_0x21a153,_0x42e913)=>window['getComputedStyle'](_0x21a153)['getPropertyValue'](_0x42e913)['trim'](),_0x68d9dc=_0x532d3d=>{let _0x3c0cc4={};for(let t of _0x263c2a){let _0x43c0f3=_0x26fb80(_0x532d3d,t);_0x43c0f3&&(_0x3c0cc4[t]=_0x43c0f3);}return _0x3c0cc4;},_0x16f869=['selected-files-change','toolbar-state-change'],_0x496794=class{constructor(_0x40fea9,t){this['kr']=new Map(),this['Wl']=_0x1aa62e=>{if(_0x1aa62e['source']!==this['Ms'])return;let t=_0x1aa62e['data'];if(!(_0x3db6bf=>{if(!_0x3db6bf||'object'!=typeof _0x3db6bf||!('type'in _0x3db6bf))return!0x1;let _0x665188=_0x3db6bf['type'];return!('string'!=typeof _0x665188||!_0x16f869['includes'](_0x665188));})(t))return;let _0x350162=this['kr']['get'](t['type']);if(_0x350162){for(let _0xeaafb9 of _0x350162)_0xeaafb9(t);}},this['Ms']=_0x40fea9,this['ql']=t,window['addEventListener']('message',this['Wl']);}['on'](_0x5862a1,t){let _0x3670ea=this['kr']['get'](_0x5862a1)??new Set();this['kr']['has'](_0x5862a1)||this['kr']['set'](_0x5862a1,_0x3670ea),_0x3670ea['add'](t);}['send'](_0x127679){let t=this['ql']();this['Ms']['postMessage'](_0x127679,t);}destroy(){window['removeEventListener']('message',this['Wl']);}},_0x1971a0={[_0x408cb7['GDRIVE']]:'ngdrive'},_0x2938fd=class extends _0x2b75dc{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Vt']=_0x58af1e(),this['Mr']=null,this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Zl']=!0x0,this['Ko']=()=>{for(let t of this['Os']){let _0x78eb66=this['ap'](t),{filename:_0x524770}=t,{externalSourceType:_0x40b820}=this['activityParams'];this['api']['addFileFromUrl'](_0x78eb66,{'fileName':_0x524770,'source':_0x40b820});}this['$']['*currentActivity']=_0x8a8c15['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x8a8c15['activities']['UPLOAD_LIST']);},this['Ee']=()=>{this['historyBack']();},this['hp']=()=>{this['ne']?.['send']({'type':'select-all'});},this['fp']=()=>{this['ne']?.['send']({'type':'deselect-all'});};}get['np'](){if(!this['Mr'])return'';let {selectedCount:t,total:_0x5d81e8}=this['Mr'];return this['l10n']('selected-count',{'count':t,'total':_0x5d81e8});}get activityParams(){let t=super['activityParams'];if('externalSourceType'in t)return t;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}initCallback(){super['initCallback']();let {externalSourceType:t}=this['activityParams'];t?this['Yl']():console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20external\x20source\x20activity'),this['sub']('*currentActivityParams',()=>{setTimeout(()=>{this['isConnected']&&(this['Xl'](),this['Yl']());});}),this['subConfigValue']('multiple',_0x422688=>{this['Or']=_0x422688;}),this['subConfigValue']('localeName',()=>{this['Ql']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x1b0cfb=>{this['Jl'](_0x1b0cfb);});}['ap'](t){if(t['alternatives']){let _0x5b5b99=_0x422e35(this['cfg']['externalSourcesPreferredTypes']);for(let _0xc8bac6 of _0x5b5b99){let _0x186b8c=_0x5df2af(_0xc8bac6);for(let [_0x39b0f1,_0x36b9f3]of Object['entries'](t['alternatives']))if(_0x186b8c['test'](_0x39b0f1))return _0x36b9f3;}}return t['url'];}['lp'](t){this['Zl']=t['isVisible'];}async['cp'](t){this['cfg']['multiple']===t['isMultipleMode']?(this['up'](t['selectedCount'],t['total']),this['$s']=t['isReady']?'':'uc-hidden',this['Is']=t['isReady'],this['Ps']=t['isReady']&&t['selectedFiles']['length']>0x0,this['Or']=t['isMultipleMode']&&t['total']>0x0,this['Ls']=t['selectedCount']<t['total'],this['Rs']=t['selectedCount']===t['total'],this['Os']=t['selectedFiles']??[],this['Us']=t['total']>0x0):console['error']('Multiple\x20mode\x20mismatch');}['ec'](){this['Jl'](this['cfg']['externalSourcesEmbedCss']),this['dp'](),this['Ql']();}['dp'](){this['ne']?.['send']({'type':'set-theme-definition','theme':_0x68d9dc(this)});}['Jl'](t){this['ne']?.['send']({'type':'set-embed-css','css':t});}['Ql'](){this['ne']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['pp'](){let {pubkey:t,remoteTabSessionKey:_0x564891,socialBaseUrl:_0x574aea,multiple:_0x43436f}=this['cfg'],{externalSourceType:_0x42f457}=this['activityParams'],_0x14cde7=_0x1971a0[_0x42f457]??_0x42f457,_0x257cc4={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':t,'images_only':'false','session_key':_0x564891,'wait_for_theme':!0x0,'multiple':_0x43436f['toString'](),'origin':this['cfg']['topLevelOrigin']||_0x5b5e17(),'debug':this['cfg']['debug']},_0xa2b3dd=new URL('/window4/'+_0x14cde7,_0x574aea);return _0xa2b3dd['search']=function(_0xfaca08){let _0x200bfe=[];for(let [t,_0x197e69]of Object['entries'](_0xfaca08))null==_0x197e69||'string'==typeof _0x197e69&&0x0===_0x197e69['length']||_0x200bfe['push'](t+'='+encodeURIComponent(_0x197e69));return _0x200bfe['join']('&');}(_0x257cc4),_0xa2b3dd['toString']();}['up'](t,_0x16825d){this['Mr']={'selectedCount':t,'total':_0x16825d};}['Yl'](){let t=document['createElement']('iframe');t['src']=this['pp'](),t['marginHeight']=0x0,t['marginWidth']=0x0,t['frameBorder']='0',t['allowTransparency']=!0x0,t['addEventListener']('load',this['ec']['bind'](this)),t['addEventListener']('load',this['ec']['bind'](this)),this['Vt']['value']&&(this['Vt']['value']['innerHTML']='',this['Vt']['value']['appendChild'](t)),t['contentWindow']&&(this['ne']?.['destroy'](),this['ne']=new _0x496794(t['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['ne']['on']('selected-files-change',this['cp']['bind'](this)),this['ne']['on']('toolbar-state-change',this['lp']['bind'](this)),this['tc']());}['Xl'](){this['ne']?.['destroy'](),this['ne']=void 0x0,this['Vt']['value']&&(this['Vt']['value']['innerHTML']=''),this['tc']();}tc(){this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Mr']=null;}disconnectedCallback(){super['disconnectedCallback'](),this['Xl']();}['render'](){return _0x13cf20`<uc-activity-header><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><div ${_0x3ffc7b(this['Vt'])} class="uc-iframe-wrapper"></div><div class="uc-toolbar" ?hidden=${!this['Zl']}><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('cancel')}</button><div class="uc-selection-status-box" ?hidden=${!this['Or']}><span>${this['np']}</span><button type="button" @click=${this['hp']} ?hidden=${!this['Ls']}>${this['l10n']('select-all')}</button><button type="button" @click=${this['fp']} ?hidden=${!this['Rs']}>${this['l10n']('deselect-all')}</button></div><button type="button" class="uc-done-btn uc-primary-btn" @click=${this['Ko']} ?disabled=${!this['Ps']} ?hidden=${!this['Us']} ><uc-spinner ?hidden=${this['Is']}></uc-spinner><span class=${this['$s']}>${this['l10n']('done')}</span></button></div></div>`;}};_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'Os',0x2),_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'Is',0x2),_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'Ps',0x2),_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'Ls',0x2),_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'Rs',0x2),_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'Or',0x2),_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'Us',0x2),_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'$s',0x2),_0x44b9f0([_0x55471a()],_0x2938fd['prototype'],'Zl',0x2);var _0x39fc92={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x2c2a89=['camera','microphone'];function _0x502a96(_0x1206a5){return Math['floor'](_0x1206a5/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x1206a5%0x3c)['toString']()['padStart'](0x2,'0');}var _0x3684da='image/jpeg',t3='video/webm',_0x2541fa=class extends _0x2b75dc{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Ir']=null,this['Ds']=!0x1,this['Si']=[],this['me']=null,this['ge']=null,this['Pr']=null,this['Lr']=null,this['g']=null,this['Ai']={},this['fe']=null,this['e']=null,this['_t']=[],this['Bt']=[],this['mp']={},this['Rr']=[],this['Ur']=null,this['ic']=()=>{this['rc'](),this['ki']='pause';},this['oc']=()=>{this['ki']='play',this['gp']();},this['Mi']=_0x58af1e(),this['Xe']=_0x58af1e(),this['K']=_0x58af1e(),this['sc']=0x0,this['nc']=0x0,this['ac']=null,this['$r']=!0x0,this['Dr']=!0x0,this['vp']=typeof navigator['permissions']<'u',this['cc']=[],this['ot']=!0x0,this['Fs']='',this['zt']=!0x0,this['at']=!0x0,this['Ht']=!0x0,this['uc']=[],this['pt']=!0x0,this['Ns']=!0x0,this['mt']=!0x0,this['Ce']=!0x0,this['gt']=!0x0,this['Kt']='camera-full',this['ki']='play',this['dc']='microphone',this['Fr']='uc-shot-btn\x20uc-camera-action',this['yp']=()=>{if(this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['g']}}}),this['g']===_0x6df8d7['PHOTO']&&this['bp'](),this['g']===_0x6df8d7['VIDEO']){if('recording'===this['me']?.['state'])return void this['pc']();this['wp']();}},this['Tp']=t=>{let _0x42793c=t['target'];_0x42793c&&(this['Lr']=_0x42793c['value'],this['jt']());},this['Ep']=t=>{let _0x5db90f=t['target'];_0x5db90f&&(this['Pr']=_0x5db90f['value'],this['jt']());},this['xp']=()=>{this['jt']();},this['Cp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['g']}}}),this['yp']();},this['Sp']=()=>{this['Ap']();},this['kp']=()=>{this['Mp']();},this['Op']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['g']}}}),this['Ip']();},this['Pp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['g']}}}),this['Lp']();},this['hc']=t=>{let _0x55f93b=t['currentTarget']?.['getAttribute']('data-id');_0x55f93b&&this['fc'](_0x55f93b);},this['mc']=()=>{let t=Math['floor']((performance['now']()-this['sc']+this['nc'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){let _0x571c80=this['cfg']['maxVideoRecordingDuration']-t;if(_0x571c80<=0x0){let _0x1f8a30=this['Mi']['value'];return _0x1f8a30&&(_0x1f8a30['textContent']=_0x502a96(_0x571c80)),void this['pc']();}let _0x338be9=this['Mi']['value'];_0x338be9&&(_0x338be9['textContent']=_0x502a96(_0x571c80));}else{let _0x5c8ecb=this['Mi']['value'];_0x5c8ecb&&(_0x5c8ecb['textContent']=_0x502a96(t));}this['Gt']=requestAnimationFrame(this['mc']);},this['Rp']=()=>{this['sc']=performance['now'](),this['nc']=0x0,this['mc']();},this['gc']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['rc']=()=>{let t=this['K']['value'];if(!t)return;let _0x4449a7=t['currentTime'],_0x506f13=t['duration']||0x1,_0x32915f=this['Xe']['value'];_0x32915f&&(_0x32915f['style']['transform']='scaleX('+_0x4449a7/_0x506f13+')');let _0x55c1ea=this['Mi']['value'];_0x55c1ea&&(_0x55c1ea['textContent']=_0x502a96(_0x4449a7)),this['Gt']=requestAnimationFrame(this['rc']);},this['gp']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['Gt']=null,this['wp']=()=>{try{this['Si']=[],this['Ai']={...this['cfg']['mediaRecorderOptions']};let {mimeType:t}=this['cfg']['mediaRecorderOptions']||{};t&&MediaRecorder['isTypeSupported'](t)?this['Ai']['mimeType']=t:MediaRecorder['isTypeSupported'](t3)?this['Ai']['mimeType']=t3:this['Ai']['mimeType']='video/mp4',this['ge']&&(this['me']=new MediaRecorder(this['ge'],this['Ai']),this['me']['start'](),this['me']['addEventListener']('dataavailable',_0x440f07=>{this['Si']['push'](_0x440f07['data']);}),this['Rp'](),this['classList']['add']('uc-recording'),this['Oi'](_0x14341b['PLAY']));}catch(_0x1ae1b4){console['error']('Failed\x20to\x20start\x20recording',_0x1ae1b4),this['telemetryManager']['sendEventError'](_0x1ae1b4,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}},this['pc']=()=>{this['me']?.['addEventListener']('stop',()=>{this['Up'](),this['gc'](),this['Oi'](_0x14341b['STOP']);}),this['me']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['g']}}});},this['Ap']=()=>{if('recording'===this['me']?.['state'])return;let t=this['K']['value'];t&&(!t['paused']&&!t['ended']&&t['readyState']>0x2?t['pause']():t['paused']&&t['play']());},this['Mp']=()=>{this['ge']?.['getAudioTracks']()['forEach'](t=>{t['enabled']=!t['enabled'],this['dc']=t['enabled']?'microphone':'microphone-mute',this['Ns']=!t['enabled'];});},this['Up']=()=>{try{let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x5f3db5=URL['createObjectURL'](t),_0x2812b6=this['K']['value'];if(!_0x2812b6)return;_0x2812b6['muted']=!0x1,_0x2812b6['volume']=0x1,this['Ii'](null),_0x2812b6['src']=_0x5f3db5,this['$p'](_0x2812b6);}catch(_0x4d22c7){console['error']('Failed\x20to\x20preview\x20video',_0x4d22c7),this['telemetryManager']['sendEventError'](_0x4d22c7,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}},this['Ip']=()=>{if(this['Oi'](_0x14341b['RETAKE']),this['g']===_0x6df8d7['VIDEO']){this['Ii'](this['ge']);let t=this['K']['value'];t&&(t['muted']=!0x0);}this['K']['value']?.['play']?.();},this['Lp']=()=>{if(this['Oi'](_0x14341b['ACCEPT']),this['g']===_0x6df8d7['PHOTO'])return void this['fe']?.['toBlob'](_0xc15680=>{if(!_0xc15680)return;let _0x30213b=this['vc']('camera','jpeg',_0x3684da,_0xc15680);this['yc'](_0x30213b);},_0x3684da);let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x2032e8=this['Dp'](this['me']?.['mimeType']),_0x65b658=this['vc']('video',_0x2032e8,'video/'+_0x2032e8,t);this['yc'](_0x65b658),this['Si']=[];},this['Fp']=t=>{t===_0x14341b['SHOT']&&(this['gt']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Ht']=!0x1,this['ot']=!0x0),(t===_0x14341b['RETAKE']||t===_0x14341b['ACCEPT'])&&(this['gt']=!this['Se']['includes'](_0x6df8d7['VIDEO']),this['Ce']=!this['Se']['includes'](_0x6df8d7['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['ot']=this['_t']['length']<=0x1);},this['Np']=t=>{t===_0x14341b['PLAY']&&(this['zt']=!0x1,this['Ce']=!0x0,this['ot']=!0x0,this['pt']=!0x0,this['ki']='pause',this['Kt']='square',this['Fr']='uc-shot-btn\x20uc-camera-action\x20uc-stop-record'),t===_0x14341b['STOP']&&(this['zt']=!0x1,this['at']=!0x0,this['mt']=!0x0,this['Ht']=!0x1),(t===_0x14341b['RETAKE']||t===_0x14341b['ACCEPT'])&&(this['zt']=!0x0,this['gt']=!this['Se']['includes'](_0x6df8d7['VIDEO']),this['Ce']=!this['Se']['includes'](_0x6df8d7['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['mt']=!this['cfg']['enableAudioRecording'],this['Kt']='video-camera-full',this['Fr']='uc-shot-btn\x20uc-camera-action',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['ot']=this['_t']['length']<=0x1);},this['Oi']=t=>{this['g']===_0x6df8d7['PHOTO']&&('shot'===t||'retake'===t||'accept'===t)&&this['Fp'](t),this['g']===_0x6df8d7['VIDEO']&&('play'===t||'stop'===t||'retake'===t||'accept'===t||'pause'===t||'resume'===t)&&this['Np'](t);},this['fc']=t=>{t===_0x6df8d7['PHOTO']&&(this['Kt']='camera-full',this['pt']=!0x0,this['mt']=!0x0),t===_0x6df8d7['VIDEO']&&(this['ki']='play',this['Kt']='video-camera-full',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['mt']=!this['cfg']['enableAudioRecording']),this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':t}}}),this['g']=t;},this['vc']=(t,_0x40604f,_0x33c698,_0x460572)=>{let _0x4c7faf=Date['now']();return new File([_0x460572],t+'-'+_0x4c7faf+'.'+_0x40604f,{'lastModified':_0x4c7faf,'type':_0x33c698});},this['yc']=t=>{this['api']['addFileFromObject'](t,{'source':_0x4b5b6e['CAMERA']}),this['set$']({'*currentActivity':_0x8a8c15['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x8a8c15['activities']['UPLOAD_LIST']);},this['Pi']=_0x1c0742(t=>{this['classList']['toggle']('uc-initialized','granted'===t);let _0x14937a=this['g']===_0x6df8d7['VIDEO']&&this['cfg']['enableAudioRecording'],_0x2e2d15=this['g']===_0x6df8d7['PHOTO']?'camera-full':'video-camera-full';'granted'===t?(this['$r']=!0x1,this['at']=!0x1,this['Ce']=!this['Se']['includes'](_0x6df8d7['PHOTO']),this['gt']=!this['Se']['includes'](_0x6df8d7['VIDEO']),this['Dr']=!0x0,this['zt']=!0x0,this['Kt']=_0x2e2d15,this['mt']=!_0x14937a,this['pt']=!_0x14937a):'prompt'===t?(this['Fs']='camera-permissions-prompt',this['$r']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Dr']=!0x1,this['Bs']()):(this['Fs']='camera-permissions-denied',this['$r']=!0x0,this['Dr']=!0x1,this['Ce']=!this['Se']['includes'](_0x6df8d7['PHOTO']),this['gt']=!this['Se']['includes'](_0x6df8d7['VIDEO']),this['Ht']=!0x0,this['Fr']='uc-shot-btn\x20uc-camera-action',this['Bs']());},0x12c),this['Vp']=()=>{if(!this['ge'])return!0x1;let t=this['ge']?.['getAudioTracks'](),_0x4c286d=this['ge']?.['getVideoTracks']();return t['forEach'](_0x426c13=>{_0x426c13['stop']();}),_0x4c286d['forEach'](_0x1c9d30=>{_0x1c9d30['stop']();}),!0x0;},this['Bs']=()=>{this['Ds']&&(this['K']['value']&&(this['K']['value']['volume']=0x0),this['Ur']?.['getTracks']?.()?.[0x0]?.['stop'](),this['Vs'](this['K']['value']),this['Ii'](null),this['Vp'](),this['gc'](),this['Ds']=!0x1);},this['jt']=async()=>{let t={'video':{..._0x39fc92},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['Lr']&&(t['video']={'deviceId':{'exact':this['Lr']}}),this['Pr']&&this['cfg']['enableAudioRecording']&&(t['audio']={'deviceId':{'exact':this['Pr']}}),this['K']['value']&&(this['K']['value']['volume']=0x0);try{this['Pi']('prompt'),this['ge']=await navigator['mediaDevices']['getUserMedia'](t),this['ge']['addEventListener']('inactive',()=>{this['Pi']('denied');}),this['Ii'](this['ge']),this['Ds']=!0x0,this['Pi']('granted');}catch(_0x307568){this['Pi']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x307568),this['telemetryManager']['sendEventError'](_0x307568,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}},this['bc']=()=>{this['jt']();},this['_p']=async()=>{try{this['Nr']();for(let t of _0x2c2a89){let _0x49850f=await navigator['permissions']['query']({'name':t});this['mp'][t]=_0x49850f,_0x49850f['addEventListener']('change',this['bc']),this['Rr']['push'](()=>{_0x49850f['removeEventListener']('change',this['bc']);});}this['Ir']=()=>{this['Nr']();};}catch(_0x5771b0){this['Nr'](),console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x5771b0),this['telemetryManager']['sendEventError'](_0x5771b0,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['jt']();}},this['Bp']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['zs'](),navigator['mediaDevices']['addEventListener']('devicechange',this['zs']);}catch(_0x560be3){this['telemetryManager']['sendEventError'](_0x560be3,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x560be3);}},this['zs']=async()=>{try{let t=await navigator['mediaDevices']['enumerateDevices']();this['_t']=t['filter'](_0x1f15dc=>'videoinput'===_0x1f15dc['kind'])['map']((_0x4eb20a,_0xf740ed)=>({'text':_0x4eb20a['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0xf740ed+0x1),'value':_0x4eb20a['deviceId']})),this['Bt']=this['cfg']['enableAudioRecording']?t['filter'](_0x29cbd1=>'audioinput'===_0x29cbd1['kind'])['map'](_0x24109a=>({'text':_0x24109a['label']['trim'](),'value':_0x24109a['deviceId']})):[],this['cc']=this['_t'],this['ot']=this['_t']['length']<=0x1,this['Lr']=this['_t'][0x0]?.['value']??null,this['uc']=this['Bt'],this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['Pr']=this['Bt'][0x0]?.['value']??null;}catch(_0x8c5781){this['telemetryManager']['sendEventError'](_0x8c5781,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x8c5781);}},this['zp']=async()=>{await this['_p'](),await this['Bp'](),await this['jt'](),this['wc'](this['Se']);},this['Hp']=async()=>{this['Ir']&&this['Ir'](),window['chrome']||this['Pi']('denied'),this['Bs']();},this['wc']=t=>{this['gt']=!t['includes'](_0x6df8d7['VIDEO']),this['Ce']=!t['includes'](_0x6df8d7['PHOTO']);let _0x157234=t[0x0];_0x157234&&(!this['g']||!t['includes'](this['g']))&&this['fc'](_0x157234);};}['$p'](t){this['Vs'](t),t['addEventListener']('play',this['ic']),t['addEventListener']('pause',this['oc']);}['Vs'](t){t?.['removeEventListener']('play',this['ic']),t?.['removeEventListener']('pause',this['oc']);}['Ii'](t){this['Ur']!==t&&(this['Ur']=t,this['_s']());}['_s'](){let t=this['K']['value'];if(!t)return;let _0x8c0b0c=this['Ur']??null;t['srcObject']!==_0x8c0b0c&&(t['srcObject']=_0x8c0b0c);}['bp'](){if(this['Oi']('shot'),this['fe']=document['createElement']('canvas'),this['e']=this['fe']['getContext']('2d'),!this['e'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');let t=this['K']['value'];if(!t)throw new Error('Video\x20element\x20not\x20found');this['fe']['height']=t['videoHeight'],this['fe']['width']=t['videoWidth'],this['cfg']['cameraMirror']&&(this['e']['translate'](this['fe']['width'],0x0),this['e']['scale'](-0x1,0x1)),this['e']['drawImage'](t,0x0,0x0),t['pause']();}['Dp'](t){let _0x2b5e91={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===t)return'webm';if(t){let _0x32c4fd=t['split']('/');if('video'===_0x32c4fd?.[0x0]){let _0x3b04dd=_0x32c4fd['slice'](0x1)['join']('/')?.['split'](';')[0x0];if(_0x3b04dd&&_0x2b5e91[_0x3b04dd])return _0x2b5e91[_0x3b04dd];}}return'avi';}get['Se'](){return _0x422e35(this['cfg']['cameraModes'])['filter'](t=>t===_0x6df8d7['PHOTO']||t===_0x6df8d7['VIDEO']);}['Nr'](){if(0x0!==this['Rr']['length']){for(let t of this['Rr'])t();this['Rr']=[],this['Ir']=null;}}initCallback(){super['initCallback'](),this['subConfigValue']('cameraMirror',t=>{this['ac']=t?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',t=>{this['mt']=!t,this['Ns']=!t;}),this['subConfigValue']('cameraModes',t=>{if(!this['isConnected'])return;let _0xd75573=_0x5abd0c(t);this['wc'](_0xd75573['filter'](_0x514aea=>_0x514aea===_0x6df8d7['PHOTO']||_0x514aea===_0x6df8d7['VIDEO']));}),this['zp']();}firstUpdated(t){super['firstUpdated'](t),this['_s']();}updated(t){super['updated'](t),this['_s']();}['Kp'](){this['Nr'](),navigator['mediaDevices']?.['removeEventListener']('devicechange',this['zs']),this['Vs'](this['K']['value']),this['Ii'](null);}disconnectedCallback(){super['disconnectedCallback'](),this['Hp'](),this['Kp']();}['render'](){return _0x13cf20`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('back')} ><uc-icon name="back"></uc-icon></button><div ?hidden=${!this['ot']}><uc-icon name="camera"></uc-icon><span>${this['l10n']('caption-camera')}</span></div><uc-select class="uc-camera-select" .options=${this['cc']} ?hidden=${this['ot']} @change=${this['Tp']} ></uc-select><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><video muted autoplay playsinline style=${_0x187b5c({'transform':this['ac']})} ?hidden=${this['$r']} ${_0x3ffc7b(this['K'])} ></video><div class="uc-message-box" ?hidden=${this['Dr']}><span>${this['l10n'](this['Fs'])}</span><button type="button" @click=${this['xp']} ?hidden=${this['vp']} >${this['l10n']('camera-permissions-request')}</button></div></div><div class="uc-controls"><div class="uc-switcher" ?hidden=${!this['zt']}><button data-id="photo" type="button" class=${_0x5d1c9a({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0x6df8d7['PHOTO']})} @click=${this['hc']} ?hidden=${this['Ce']} data-testid="tab-photo" ><uc-icon name="camera"></uc-icon></button><button data-id="video" type="button" class=${_0x5d1c9a({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0x6df8d7['VIDEO']})} @click=${this['hc']} ?hidden=${this['gt']} data-testid="tab-video" ><uc-icon name="video-camera"></uc-icon></button></div><button class="uc-secondary-btn uc-recording-timer" @click=${this['Sp']} ?hidden=${this['zt']} data-testid="recording-timer" ><uc-icon name=${this['ki']}></uc-icon><span ${_0x3ffc7b(this['Mi'])}> 00:00 </span><span ${_0x3ffc7b(this['Xe'])} class="uc-line"></span></button><div class="uc-camera-actions uc-camera-action" ?hidden=${this['Ht']} ><button type="button" class="uc-secondary-btn" @click=${this['Op']}> Retake </button><button type="button" class="uc-primary-btn" @click=${this['Pp']} data-testid="accept" > Accept </button></div><button type="button" data-testid="shot" @click=${this['Cp']} class=${this['Fr']} ?hidden=${this['at']} ><uc-icon name=${this['Kt']}></uc-icon></button><div class="uc-select"><button type="button" class="uc-mini-btn uc-btn-microphone" @click=${this['kp']} ?hidden=${this['mt']} data-testid="toggle-microphone" ><uc-icon name=${this['dc']}></uc-icon></button><uc-select class="uc-audio-select" .options=${this['uc']} ?hidden=${this['pt']} ?disabled=${this['Ns']} @change=${this['Ep']} data-testid="audio-select" ></uc-select></div></div>`;}};_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'ac',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'$r',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'Dr',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'vp',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'cc',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'ot',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'Fs',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'zt',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'at',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'Ht',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'uc',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'pt',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'Ns',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'mt',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'Ce',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'gt',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'Kt',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'ki',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'dc',0x2),_0x44b9f0([_0x55471a()],_0x2541fa['prototype'],'Fr',0x2);var _0x3d9077={'id':'camera','setup':async({pluginApi:_0x458aab,uploaderApi:_0x3d867c})=>{_0x2664c1({'CameraSource':_0x2541fa}),_0x458aab['registry']['registerSource']({'id':'camera','label':'src-type-camera','icon':'camera','expand':()=>{if(!_0x5c938f['htmlMediaCapture'])return['camera'];let t=_0x5abd0c(_0x458aab['config']['get']('cameraModes'));return t['length']?t['map'](_0x176d92=>'mobile-'+_0x176d92+'-camera'):['mobile-photo-camera'];},'onSelect':()=>{_0x3d867c['setCurrentActivity'](_0x884b8d['CAMERA']),_0x3d867c['setModalState'](!0x0);}}),_0x458aab['registry']['registerSource']({'id':'mobile-photo-camera','label':'src-type-mobile-photo-camera','icon':'camera','onSelect':()=>{_0x3d867c['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'photo'});}}),_0x458aab['registry']['registerSource']({'id':'mobile-video-camera','label':'src-type-mobile-video-camera','icon':'camera','onSelect':()=>{_0x3d867c['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'video'});}}),_0x458aab['registry']['registerActivity']({'id':_0x884b8d['CAMERA'],'render':t=>{let _0x500336=document['createElement']('uc-camera-source');return t['append'](_0x500336),()=>{t['replaceChildren']();};}});}},_0x4448d8={};_0x5c27fe(_0x4448d8,{'BtnUi':()=>_0x4838e3,'CloudImageEditor':()=>_0x1bbe30,'CloudImageEditorBlock':()=>_0x1e374f,'Config':()=>_0x4fcb20,'CropFrame':()=>_0xa3e15c,'EditorAspectRatioButtonControl':()=>_0x55b8b0,'EditorCropButtonControl':()=>_0x207001,'EditorFilterControl':()=>_0x5598af,'EditorFreeformButtonControl':()=>_0x3c3c38,'EditorImageCropper':()=>_0x3b0f57,'EditorImageFader':()=>_0x4a288e,'EditorOperationControl':()=>_0x406961,'EditorScroller':()=>_0x5dbf9a,'EditorSlider':()=>_0xfc045b,'EditorToolbar':()=>_0x327d39,'Icon':()=>_0x5a1cab,'LineLoaderUi':()=>_0x2fcefd,'PresenceToggle':()=>_0xe4049a,'SliderUi':()=>_0x20cacb,'defineComponents':()=>_0x2664c1});var _0x5960d5,_0xe09f1e={'id':'cloud-image-editor','setup':async({pluginApi:_0x97e559,uploaderApi:_0x3245f8})=>(_0x2664c1({..._0x4448d8,..._0x47148c}),_0x97e559['registry']['registerIcon']({'name':'edit-file','svg':'<svg\x20viewBox=\x270\x200\x2024\x2024\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></svg>'}),_0x97e559['registry']['registerFileAction']({'id':'edit-file','icon':'edit-file','label':'file-item-edit-button','shouldRender':_0x3887b7=>!(!_0x3887b7['isImage']||!_0x3887b7['cdnUrl']),'onClick':_0x2a0c04=>{_0x3245f8['setCurrentActivity']?.(_0x884b8d['CLOUD_IMG_EDIT'],{'internalId':_0x2a0c04['internalId']}),_0x3245f8['setModalState']?.(!0x0);}}),_0x97e559['registry']['registerActivity']({'id':_0x884b8d['CLOUD_IMG_EDIT'],'render':_0x11924b=>{let _0x2a6a09=document['createElement']('uc-cloud-image-editor-activity');return _0x11924b['append'](_0x2a6a09),()=>{_0x11924b['replaceChildren']();};}}),_0x3245f8['on'](_0x468933['FILE_UPLOAD_SUCCESS'],_0x3bf536=>{if(!_0x3bf536['isImage'])return;let _0x224e1d=_0x97e559['config']['get']('cropPreset'),_0x378cc2=_0x97e559['config']['get']('useCloudImageEditor'),_0x331910=_0x97e559['config']['get']('cloudImageEditorAutoOpen'),_0x1c1517=_0x3245f8['v']['size'];_0x378cc2&&0x1===_0x1c1517&&(_0x224e1d||_0x331910)&&(_0x3245f8['setCurrentActivity']?.(_0x884b8d['CLOUD_IMG_EDIT'],{'internalId':_0x3bf536['internalId']}),_0x3245f8['setModalState']?.(!0x0));}))},_0x4f86d8={'id':'external-sources','setup':async({pluginApi:_0x149d5b,uploaderApi:_0xcada27})=>{_0x2664c1({'ExternalSource':_0x2938fd}),_0x149d5b['registry']['registerActivity']({'id':_0x884b8d['EXTERNAL'],'render':t=>{let _0x4b2373=document['createElement']('uc-external-source');return t['append'](_0x4b2373),()=>{t['replaceChildren']();};}});for(let t of Object['values'](_0x408cb7))_0x149d5b['registry']['registerSource']({'id':t,'label':'src-type-'+t,'icon':t,'onSelect':()=>{_0xcada27['setCurrentActivity'](_0x884b8d['EXTERNAL'],{'externalSourceType':t}),_0xcada27['setModalState'](!0x0);}});}},_0x49d7cd=()=>{let _0x491f93=[];return{'stack':_0x491f93,'promiseReadJpegChunks':t=>new Promise((_0x5ae3d3,_0x4b4713)=>{let _0x53f024=0x2,_0x49ece5=(_0x7e88f6,_0x20b25f)=>{let _0x4a0dc6=new FileReader();_0x4a0dc6['addEventListener']('load',()=>{_0x20b25f(new DataView(_0x4a0dc6['result']));}),_0x4a0dc6['addEventListener']('error',_0x5dcf9e=>{_0x4b4713('Reader\x20error:\x20'+_0x5dcf9e);}),_0x4a0dc6['readAsArrayBuffer'](_0x7e88f6);},_0x1ebef3=()=>_0x49ece5(t['slice'](_0x53f024,_0x53f024+0x80),_0x4c7ab8=>{let _0x2f833a,_0x527c78,_0x118750;for(_0x2f833a=_0x527c78=0x0,_0x118750=_0x4c7ab8['byteLength'];_0x118750>=0x0?_0x527c78<_0x118750:_0x527c78>_0x118750;_0x2f833a=_0x118750>=0x0?++_0x527c78:--_0x527c78)if(0xff===_0x4c7ab8['getUint8'](_0x2f833a)){_0x53f024+=_0x2f833a;break;}_0xef3508();}),_0xef3508=()=>{let _0x5c6b50=_0x53f024;return _0x49ece5(t['slice'](_0x53f024,_0x53f024+=0x4),_0x4bc9eb=>{if(0x4!==_0x4bc9eb['byteLength']||0xff!==_0x4bc9eb['getUint8'](0x0))return void _0x4b4713('Corrupted');let _0x142b74=_0x4bc9eb['getUint8'](0x1);if(0xda===_0x142b74)return void _0x5ae3d3(!0x0);let _0x52445b=_0x4bc9eb['getUint16'](0x2)-0x2;return _0x49ece5(t['slice'](_0x53f024,_0x53f024+=_0x52445b),_0x525ff9=>{_0x525ff9['byteLength']===_0x52445b?(_0x491f93['push']({'startPos':_0x5c6b50,'length':_0x52445b,'marker':_0x142b74,'view':_0x525ff9}),_0x1ebef3()):_0x4b4713('Corrupted');});});};FileReader&&DataView||_0x4b4713('Not\x20Support'),_0x49ece5(t['slice'](0x0,0x2),_0x52dd80=>{0xffd8!==_0x52dd80['getUint16'](0x0)&&_0x4b4713('Not\x20jpeg'),_0x1ebef3();});})};},_0x4b26af=async _0x58f0=>{let _0x3ec9c5=[],{promiseReadJpegChunks:t,stack:_0x5782d5}=_0x49d7cd();return await t(_0x58f0),_0x5782d5['forEach'](({marker:_0x3c326a,view:_0x50f980})=>{0xe2===_0x3c326a&&0x4943435f===_0x50f980['getUint32'](0x0)&&0x50524f46===_0x50f980['getUint32'](0x4)&&0x494c4500===_0x50f980['getUint32'](0x8)&&_0x3ec9c5['push'](_0x50f980);}),_0x3ec9c5;},_0x3df73f=async(_0xeb727c,_0xf76c53,t)=>{{let _0x3869f7=[],_0x1250e5=[],{promiseReadJpegChunks:_0x260d9f,stack:_0x16f567}=_0x49d7cd();await _0x260d9f(_0xeb727c),_0x16f567['forEach'](_0x44439d=>{if(_0x44439d['marker']===_0xf76c53)return _0x3869f7['push'](_0x44439d['startPos']),_0x1250e5['push'](_0x44439d['length']);});let _0x57c907=[_0xeb727c['slice'](0x0,0x2)];for(let _0xfa708 of t){let _0x573b60=new DataView(new ArrayBuffer(0x4));_0x573b60['setUint16'](0x0,0xff00+_0xf76c53),_0x573b60['setUint16'](0x2,_0xfa708['byteLength']+0x2),_0x57c907['push'](_0x573b60['buffer']),_0x57c907['push'](_0xfa708);}let _0x1b8d6b=0x2;for(let _0x4ab555=0x0;_0x4ab555<_0x3869f7['length'];_0x4ab555++)_0x3869f7[_0x4ab555]>_0x1b8d6b&&_0x57c907['push'](_0xeb727c['slice'](_0x1b8d6b,_0x3869f7[_0x4ab555])),_0x1b8d6b=_0x3869f7[_0x4ab555]+_0x1250e5[_0x4ab555]+0x4;return _0x57c907['push'](_0xeb727c['slice'](_0x1b8d6b,_0xeb727c['size'])),new Blob(_0x57c907,{'type':_0xeb727c['type']});}},_0x526e35=(_0x16576a,_0x38e804)=>_0x3df73f(_0x16576a,0xe2,_0x38e804['map'](t=>t['buffer'])),_0x20c7fd=()=>{let _0x3e8c19=document['createElement']('canvas');return{'canvas':_0x3e8c19,'ctx':_0x3e8c19['getContext']('2d')};},_0x13f547=async _0x12431e=>{let _0x38f570=null,{promiseReadJpegChunks:t,stack:_0x37364d}=_0x49d7cd();return await t(_0x12431e),_0x37364d['forEach'](({marker:_0x2f1180,view:_0x431e6a})=>{!_0x38f570&&0xe1===_0x2f1180&&_0x431e6a['byteLength']>=0xe&&0x45786966===_0x431e6a['getUint32'](0x0)&&0x0===_0x431e6a['getUint16'](0x4)&&(_0x38f570=_0x431e6a);}),_0x38f570;},_0x18665b=_0x53a005=>((_0x373ec3,_0x29d09a)=>new Promise((t,_0x34064e)=>{_0x29d09a&&(_0x373ec3['src']=_0x29d09a),_0x373ec3['complete']?t(_0x373ec3):(_0x373ec3['addEventListener']('load',()=>{t(_0x373ec3);}),_0x373ec3['addEventListener']('error',()=>{_0x34064e(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x53a005),_0x4d54bc=[0x1,0x3],_0x59e986=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x71fdba={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x42c3ba=(_0x1be298,_0x156665)=>{let t={};return(..._0x4af520)=>{let _0x4fe8e6=_0x156665(_0x4af520,t);return _0x4fe8e6 in t?t[_0x4fe8e6]:t[_0x4fe8e6]=_0x1be298(..._0x4af520);};},_0x169cd4=(_0x525a44,_0x558eb1)=>{let [t]=_0x525a44,_0x5d4048=Object['keys'](_0x558eb1)['map'](_0x2b1376=>parseInt(_0x2b1376,0xa))['sort']((_0x35d6c6,_0x2d1592)=>_0x35d6c6-_0x2d1592);for(let _0x42c0af=0x0;_0x42c0af<_0x5d4048['length'];_0x42c0af++){let _0x1c900f=_0x5d4048[_0x42c0af],_0x91896e=!!_0x558eb1[_0x1c900f];if(_0x1c900f>t&&_0x91896e||_0x1c900f<t&&!_0x91896e)return _0x1c900f;}return t;},_0x2b9c07=0x37,_0x2d33c6=0x6e,_0x52ef15=0xa5,_0x42ab84=0xff,_0xef2999='rgba('+_0x2b9c07+',\x20'+_0x2d33c6+',\x20'+_0x52ef15+',\x20'+_0x42ab84/0xff+')',_0x42fc10=(_0x670162,_0x420e28)=>{try{let t=[_0x670162-0x1,_0x420e28-0x1,0x1,0x1],{canvas:_0x4bfeac,ctx:_0x2298b6}=_0x20c7fd();_0x4bfeac['width']=0x1,_0x4bfeac['height']=0x1;let {canvas:_0xd629f5,ctx:_0x58a780}=_0x20c7fd();_0xd629f5['width']=_0x670162,_0xd629f5['height']=_0x420e28,_0x58a780&&(_0x58a780['fillStyle']=_0xef2999,_0x58a780['fillRect'](...t),_0x2298b6['drawImage'](_0xd629f5,_0x670162-0x1,_0x420e28-0x1,0x1,0x1,0x0,0x0,0x1,0x1));let _0x326ab9=_0x2298b6&&_0x2298b6['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x5f0a05=!0x1;return _0x326ab9&&(_0x5f0a05=_0x326ab9[0x0]===_0x2b9c07&&_0x326ab9[0x1]===_0x2d33c6&&_0x326ab9[0x2]===_0x52ef15&&_0x326ab9[0x3]===_0x42ab84),_0xd629f5['width']=_0xd629f5['height']=0x1,_0x5f0a05;}catch{return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x670162+'x'+_0x420e28+'.'),!0x1;}};function _0x10e1ae(_0x600910){return(..._0x344839)=>new Promise(t=>{setTimeout(()=>{t(_0x600910(..._0x344839));},0x0);});}var _0x5538f3=_0x10e1ae(_0x42c3ba(_0x42fc10,_0x169cd4)),_0x5802e7=_0x10e1ae(_0x42c3ba(_0x42fc10,_0x169cd4)),_0x41cc6a=async(_0x1c1db8,_0x28db33)=>{let t=_0x71fdba['squareSide']['find'](_0x5b2e19=>_0x5b2e19*_0x5b2e19>=_0x1c1db8*_0x28db33),_0x541d5a=_0x71fdba['dimension']['find'](_0x582301=>_0x582301>=_0x1c1db8&&_0x582301>=_0x28db33);if(!t||!_0x541d5a)throw new Error('Not\x20supported');let [_0x32b72b,_0x210aab]=await Promise['all']([_0x5538f3(t,t),_0x5802e7(_0x541d5a,0x1)]);if(_0x32b72b&&_0x210aab)return!0x0;throw new Error('Not\x20supported');},_0x317007=async(_0x40324c,_0x4a47b1,t)=>{try{let {ctx:_0x4879e1,canvas:_0xbd4fb3}=_0x20c7fd();return _0xbd4fb3['width']=_0x4a47b1,_0xbd4fb3['height']=t,_0x4879e1['imageSmoothingQuality']='high',_0x4879e1['drawImage'](_0x40324c,0x0,0x0,_0x4a47b1,t),_0x40324c instanceof HTMLImageElement&&(_0x40324c['src']='//:0'),_0x40324c instanceof HTMLCanvasElement&&(_0x40324c['width']=_0x40324c['height']=0x1),_0xbd4fb3;}catch(_0x650c8f){throw new Error('Canvas\x20resize\x20error',{'cause':_0x650c8f});}},_0x1043c8=({img:_0x15ed15,sourceW:_0x4bfd88,targetW:t,targetH:_0x494ef0,step:_0x53d79a})=>{let _0x255217=function({sourceW:_0xa57130,targetW:_0x337a78,targetH:t,step:_0x3d7220}){let _0x169173=[],_0x4ff2bd=_0x337a78,_0x1d3f0=t;do{_0x169173['push']([_0x4ff2bd,_0x1d3f0]),_0x4ff2bd=Math['round'](_0x4ff2bd/_0x3d7220),_0x1d3f0=Math['round'](_0x1d3f0/_0x3d7220);}while(_0x4ff2bd<_0xa57130*_0x3d7220);return _0x169173['reverse']();}({'sourceW':_0x4bfd88,'targetW':t,'targetH':_0x494ef0,'step':_0x53d79a});return _0x255217['reduce']((_0x5b8a47,[_0x243939,_0x47d06d],_0x2755aa)=>_0x5b8a47['then'](_0x3a1b9d=>_0x41cc6a(_0x243939,_0x47d06d)['then'](()=>_0x317007(_0x3a1b9d,_0x243939,_0x47d06d))['catch'](()=>{if(_0x2755aa===_0x255217['length']-0x1)throw new Error('Not\x20supported');return _0x3a1b9d;})),Promise['resolve'](_0x15ed15));},_0x7c80e=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x4dfa73=0.71,_0x1e2935=(_0x459eb8,_0x2c3992)=>{if(_0x459eb8['width']*_0x4dfa73*_0x459eb8['height']*_0x4dfa73<_0x2c3992['size'])throw new Error('Not\x20required');let t=_0x459eb8['width'],_0x5a264b=t/_0x459eb8['height'],_0x3fefcc=Math['floor'](Math['sqrt'](_0x2c3992['size']*_0x5a264b)),_0x3a30f0=Math['floor'](_0x2c3992['size']/Math['sqrt'](_0x2c3992['size']*_0x5a264b));return _0x41cc6a(_0x3fefcc,_0x3a30f0)['then'](()=>{let {ctx:_0xb88174}=_0x20c7fd();return!('imageSmoothingQuality'in _0xb88174)||/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform'])||_0x7c80e?_0x1043c8({'img':_0x459eb8,'sourceW':t,'targetW':_0x3fefcc,'targetH':_0x3a30f0,'step':_0x4dfa73}):(({img:_0x35a928,targetW:_0x63b31b,targetH:t})=>_0x317007(_0x35a928,_0x63b31b,t))({'img':_0x459eb8,'targetW':_0x3fefcc,'targetH':_0x3a30f0});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x552868=async(_0x543971,_0x37c055)=>{try{if(await(async _0x31250d=>{let _0x561815=!0x1,{promiseReadJpegChunks:t,stack:_0x59a225}=_0x49d7cd();return await t(_0x31250d)['then'](()=>(_0x59a225['forEach'](({marker:_0x1268e5,view:_0x37adc7})=>{if(!_0x561815&&_0x59e986['indexOf'](_0x1268e5)>=0x0){let _0x57e5a2=_0x37adc7['getUint8'](0x5);_0x4d54bc['indexOf'](_0x57e5a2)<0x0&&(_0x561815=!0x0);}}),_0x561815))['catch'](()=>_0x561815);})(_0x543971))throw new Error('Should\x20skipped');let _0x3a0f19=await Promise['allSettled']([_0x13f547(_0x543971),new Promise(_0x58b152=>{if(void 0x0!==_0x5960d5)_0x58b152(_0x5960d5);else{let _0x59e1c6=new Image();_0x59e1c6['addEventListener']('load',()=>{_0x5960d5=_0x59e1c6['naturalWidth']<_0x59e1c6['naturalHeight'],_0x59e1c6['src']='//:0',_0x58b152(_0x5960d5);}),_0x59e1c6['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),_0x4b26af(_0x543971)]),_0x47d7e0=!_0x3a0f19['some'](_0x45273b=>'rejected'===_0x45273b['status']),[_0x4c3c04,_0x14c301,_0x5b216a]=_0x3a0f19,_0x228e03=await(async _0x46cf0e=>{try{return await _0x526e35(_0x46cf0e,[]);}catch(_0x1c5f9d){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x1c5f9d);}})(_0x543971)['catch'](()=>_0x543971),_0x2631fb=await _0x18665b(URL['createObjectURL'](_0x228e03));URL['revokeObjectURL'](_0x2631fb['src']);let _0x5a5b8c=await _0x1e2935(_0x2631fb,_0x37c055),_0x43609b='image/jpeg',_0x18314b=_0x37c055?.['quality']||0.8;!_0x47d7e0&&(_0x50c030=>{let {ctx:t,canvas:_0x88859e}=_0x20c7fd();_0x88859e['width']=_0x88859e['height']=0x32,t['drawImage'](_0x50c030,0x0,0x0,0x32,0x32);let _0x5488fc=t['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x88859e['width']=_0x88859e['height']=0x1;for(let _0x4d94c9=0x3;_0x4d94c9<_0x5488fc['length'];_0x4d94c9+=0x4)if(_0x5488fc[_0x4d94c9]<0xfe)return!0x0;return!0x1;})(_0x5a5b8c)&&(_0x43609b='image/png',_0x18314b=void 0x0);let _0x21e8e2=await((_0x13ab15,_0x185398,t)=>new Promise((_0x1cdae5,_0x4cb838)=>{_0x13ab15['toBlob'](_0x259072=>{_0x259072?_0x1cdae5(_0x259072):_0x4cb838('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x185398,t),_0x13ab15['width']=_0x13ab15['height']=0x1;}))(_0x5a5b8c,_0x43609b,_0x18314b);if(_0x47d7e0&&'fulfilled'===_0x4c3c04['status']&&_0x4c3c04['value']){let _0x15b5cc=_0x4c3c04['value'],_0x5a92fc='fulfilled'===_0x14c301['status']&&_0x14c301['value'];_0x21e8e2=await(async(_0x3a4773,_0x369fd7,t)=>(t&&((_0x4021f6,_0x4b018f)=>{((_0x30e019,_0x513d25)=>{let t,_0x5e8472,_0x5c139e,_0x102620;if(_0x30e019&&!(_0x30e019['byteLength']<0xe)&&0x45786966===_0x30e019['getUint32'](0x0)&&0x0===_0x30e019['getUint16'](0x4)){if(0x4949===_0x30e019['getUint16'](0x6))_0x5e8472=!0x0;else{if(0x4d4d!==_0x30e019['getUint16'](0x6))return;_0x5e8472=!0x1;}if(0x2a===_0x30e019['getUint16'](0x8,_0x5e8472))for(_0x5c139e=0x8+_0x30e019['getUint32'](0xa,_0x5e8472),t=0x0,_0x102620=_0x30e019['getUint16'](_0x5c139e-0x2,_0x5e8472);_0x102620>=0x0?t<_0x102620:t>_0x102620;_0x102620>=0x0?++t:--t){if(_0x30e019['byteLength']<_0x5c139e+0xa)return;0x112===_0x30e019['getUint16'](_0x5c139e,_0x5e8472)&&_0x513d25(_0x5c139e+0x8,_0x5e8472),_0x5c139e+=0xc;}}})(_0x4021f6,(t,_0x1f8901)=>_0x4021f6['setUint16'](t,_0x4b018f,_0x1f8901));})(_0x369fd7,0x1),_0x3df73f(_0x3a4773,0xe1,[_0x369fd7['buffer']])))(_0x21e8e2,_0x15b5cc,_0x5a92fc);}return _0x47d7e0&&'fulfilled'===_0x5b216a['status']&&_0x5b216a['value']['length']>0x0&&(_0x21e8e2=await _0x526e35(_0x21e8e2,_0x5b216a['value'])),_0x21e8e2;}catch(_0x597da2){let _0x3df4ec;throw _0x597da2 instanceof Error&&(_0x3df4ec=_0x597da2['message']),'string'==typeof _0x597da2&&(_0x3df4ec=_0x597da2),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x3df4ec?'Message:\x20\x22'+_0x3df4ec+'\x22.':''),{'cause':_0x597da2});}},_0x59f78e=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x7c5eb7={'id':'image-shrink','setup'({pluginApi:_0x1d764d}){_0x1d764d['registry']['registerFileHook']({'type':'beforeUpload','handler':async({file:_0x1234cd})=>{let t=_0x1d764d['config']['get']('imageShrink');if(!t)return{'file':_0x1234cd};let _0x321394=(_0x490e4c=>{if('string'!=typeof _0x490e4c)return!0x1;let _0x48ccc4=_0x59f78e['exec'](_0x490e4c['toLocaleLowerCase']())??[];if(0x0===_0x48ccc4['length'])return!0x1;let t=Number(_0x48ccc4[0x1])*Number(_0x48ccc4[0x2]),_0x3129f2=0x10000000;return t>_0x3129f2?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x48ccc4[0x1]+'x'+_0x48ccc4[0x2]+'\x20('+Math['ceil'](t/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x48ccc4[0x3]?Number(_0x48ccc4[0x3])/0x64:void 0x0,'size':t};})(t);if(!_0x321394)return console['warn']('[ImageShrinkPlugin]\x20Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),{'file':_0x1234cd};try{return{'file':await _0x552868(_0x1234cd,_0x321394)};}catch{return{'file':_0x1234cd};}}});}},_0x5286fd={'id':'instagram','setup'({pluginApi:_0x303f33}){_0x303f33['registry']['registerSource']({'id':'instagram','label':'src-type-instagram','icon':'instagram','expand':()=>(console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:\x20https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US'),[]),'onSelect':()=>{}});}},_0x386b52={'id':_0x4b5b6e['LOCAL'],'setup':({pluginApi:_0x1eaf37,uploaderApi:_0x5ecee3})=>{_0x1eaf37['registry']['registerSource']({'id':_0x4b5b6e['LOCAL'],'label':'src-type-local','icon':'local','onSelect':()=>{_0x5ecee3['openSystemDialog']();}});}},_0x16722c={'id':'url-source','setup':async({pluginApi:_0x3d8698,uploaderApi:_0x21c83b})=>{_0x2664c1({'UrlSource':_0x4b0a4a}),_0x3d8698['registry']['registerActivity']({'id':_0x884b8d['URL'],'render':t=>{let _0x37fc68=document['createElement']('uc-url-source');return t['append'](_0x37fc68),()=>{t['replaceChildren']();};}}),_0x3d8698['registry']['registerSource']({'id':'url','label':'src-type-from-url','icon':'url','onSelect':()=>{_0x21c83b['setCurrentActivity'](_0x884b8d['URL']),_0x21c83b['setModalState'](!0x0);}});}},_0x14b054=[{'configDeps':['useCloudImageEditor'],'isEnabled':_0x1217f1=>!!_0x1217f1('useCloudImageEditor'),'load':()=>_0xe09f1e},{'configDeps':['imageShrink'],'isEnabled':_0x478e7c=>!!_0x478e7c('imageShrink'),'load':()=>_0x7c5eb7},{'configDeps':['sourceList'],'isEnabled':_0x2fd395=>_0x5abd0c(_0x2fd395('sourceList'))['includes'](_0x4b5b6e['LOCAL']),'load':()=>_0x386b52},{'configDeps':['sourceList'],'isEnabled':_0x254b3d=>_0x5abd0c(_0x254b3d('sourceList'))['includes'](_0x4b5b6e['CAMERA']),'load':()=>_0x3d9077},{'configDeps':['sourceList'],'isEnabled':_0x384698=>_0x5abd0c(_0x384698('sourceList'))['includes']('instagram'),'load':()=>_0x5286fd},{'configDeps':['sourceList'],'isEnabled':_0x4b986f=>Object['values'](_0x408cb7)['some'](_0x36363f=>_0x5abd0c(_0x4b986f('sourceList'))['includes'](_0x36363f)),'load':()=>_0x4f86d8},{'configDeps':['sourceList'],'isEnabled':_0x4cf6b7=>_0x5abd0c(_0x4cf6b7('sourceList'))['includes'](_0x4b5b6e['URL']),'load':()=>_0x16722c}],_0x561158=class extends _0x93946c{constructor(){super(),this['headless']=!0x1,this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x14b054;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];}initCallback(){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['INIT_SOLUTION']});}['render'](){return _0x13cf20` ${super['render']()}<uc-simple-btn ?hidden=${this['headless']}></uc-simple-btn><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']}>${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from></uc-modal><uc-modal id="upload-list" strokes block-body-scrolling><uc-upload-list></uc-upload-list></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};_0x44b9f0([_0x54732b({'type':Boolean})],_0x561158['prototype'],'headless',0x2);var _0x61016d=class extends _0x93946c{constructor(){super(),this['Tc']=!0x1,this['Ee']=()=>{if(this['Ec']){let t=this['$']['*historyBack'];return void t?.();}this['xc']&&(this['$']['*currentActivity']=_0x8a8c15['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x14b054;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];}get['Ec'](){let t=this['$']['*history'];return!(!t||t['length']<=0x1)&&t[t['length']-0x1]!==_0x8a8c15['activities']['START_FROM'];}get['xc'](){let t=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](t)&&t['length']>0x0;}['Hs'](){return this['getCssData']('--cfg-init-activity')||_0x8a8c15['activities']['START_FROM'];}initCallback(){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x59755a=>{_0x59755a||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x1dba36=>{Array['isArray'](_0x1dba36)&&_0x1dba36['length']>0x0&&this['$']['*currentActivity']===t&&(this['$']['*currentActivity']=_0x8a8c15['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['Tc']=this['Ec']||this['xc'];});}['render'](){return _0x13cf20` ${super['render']()}<uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']} ?hidden=${!this['Tc']} >${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from><uc-upload-list></uc-upload-list><uc-plugin-activity-renderer mode="inline"></uc-plugin-activity-renderer>`;}};_0x44b9f0([_0x55471a()],_0x61016d['prototype'],'Tc',0x2);var _0xe444fe='active',_0x417662=class extends _0x93946c{constructor(){super(),this['Ks']=!0x1,this['Vr']=!0x1,this['_r']='',this['js']='',this['ui']='choose-file',this['si']=t=>{t['id']===_0x8a8c15['activities']['CLOUD_IMG_EDIT']&&(this['_r']=_0xe444fe),this['$']['*currentActivity']===_0x8a8c15['activities']['UPLOAD_LIST']&&(this['_r']=_0xe444fe,this['Vr']=!0x0);let _0x320b06=this['$']['*uploadList'];(!_0x320b06||_0x320b06['length']<=0x0)&&(this['js']=_0xe444fe);},this['ni']=t=>{t['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=_0x8a8c15['activities']['UPLOAD_LIST'],this['Vr']=!0x1),t['id']===_0x8a8c15['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=_0x8a8c15['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x14b054;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];}['Hs'](){return this['getCssData']('--cfg-init-activity')||_0x8a8c15['activities']['START_FROM'];}initCallback(){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x1a4c07['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x4b8bd7=>{_0x4b8bd7===_0x8a8c15['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x4b8bd7||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x430887=>{Array['isArray'](_0x430887)&&_0x430887['length']>0x0?(this['$']['*currentActivity']=_0x8a8c15['activities']['UPLOAD_LIST'],this['js']=''):(this['_r']='',this['Vr']=!0x1,this['$']['*currentActivity']=t);}),this['subConfigValue']('confirmUpload',_0x249a79=>{!0x1!==_0x249a79&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x2f3a2e=>{this['setAttribute']('mode',_0x2f3a2e),this['subConfigValue']('multiple',_0x35e22b=>{'grid'===_0x2f3a2e?(_0x35e22b?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['Ks']=!_0x35e22b):(this['style']['removeProperty']('--uc-grid-col'),this['Ks']=!0x1);});}),this['subConfigValue']('multiple',_0xc07f2b=>{this['ui']=_0xc07f2b?'choose-files':'choose-file';}),this['modalManager']?.['subscribe'](_0x5befab['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0x5befab['CLOSE'],this['ni']);}disconnectedCallback(){super['disconnectedCallback'](),this['modalManager']?.['unsubscribe'](_0x5befab['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0x5befab['CLOSE'],this['ni']);}['render'](){return _0x13cf20` ${super['render']()}<uc-start-from ?hidden=${this['Vr']} class=${this['js']}><uc-drop-area ?single=${this['Ks']} initflow clickable tabindex="0" ><span>${this['l10n'](this['ui'])}</span></uc-drop-area><uc-copyright></uc-copyright></uc-start-from><uc-upload-list class=${this['_r']}></uc-upload-list><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']} >${this['l10n']('start-from-cancel')}</button></uc-start-from></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};_0x44b9f0([_0x55471a()],_0x417662['prototype'],'Ks',0x2),_0x44b9f0([_0x55471a()],_0x417662['prototype'],'Vr',0x2),_0x44b9f0([_0x55471a()],_0x417662['prototype'],'_r',0x2),_0x44b9f0([_0x55471a()],_0x417662['prototype'],'js',0x2),_0x44b9f0([_0x55471a()],_0x417662['prototype'],'ui',0x2);var _0x254185=class extends _0x491313['Plugin']{static get requires(){return[_0x119cf8,_0x3b2456];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x315a26){super(_0x315a26),_0x315a26['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x2664c1(_0x262a98),this['_defineLocale']();}['_defineLocale'](){const _0x3b3a4a=this['editor']['config']['get']('uploadcare.locale'),_0x5022fa=this['editor']['locale']['contentLanguage'];_0x3b3a4a&&_0x483b4e(_0x5022fa,_0x3b3a4a);}},_0x2c94b8=class extends _0x491313['View']{constructor(_0x5134f2){super(_0x5134f2);const t=_0x5134f2['t'],_0x3ad584=this['bindTemplate'],_0x1a41cf=new _0x491313['SpinnerView']();_0x1a41cf['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x1a41cf,{'text':_0x3ad584['to']('imageUploadProgress',_0x2cf415=>t('Loading\x20image...')+'\x20('+(_0x2cf415||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}},_0x159d28=class extends _0x491313['View']{constructor(_0x32c9bf){super(_0x32c9bf);const t=_0x32c9bf['t'];this['set']('errorType',null);const _0x3a760f=new _0x491313['ButtonView'](_0x32c9bf);_0x3a760f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3a760f['withText']=!0x0,_0x3a760f['class']='ck-button-action',_0x3a760f['on']('execute',()=>{this['fire']('retry');}),_0x3a760f['bind']('isVisible')['to'](this,'errorType',_0x352e50=>'NotFound'!==_0x352e50);const _0x10fd62=new _0x491313['IconView']();_0x10fd62['content']=_0x491313['IconError'],_0x10fd62['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x101416=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x10fd62,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x101416['to']('errorType',_0x39127b=>t('NotFound'!==_0x39127b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3a760f]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}},_0x30c1ec=class extends _0x491313['View']{constructor(_0x588405,_0x2d408e){super(_0x588405);const _0x5d569d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2d408e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5d569d['to']('imageSrc')}});}},_0x2739b6=class extends _0x1e9ece{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x4ad69e,_0x2ee7dc,_0x111858){super(_0x4ad69e),this['_items']=this['createCollection'](),this['_loadingView']=new _0x2c94b8(_0x4ad69e),this['_errorView']=new _0x159d28(_0x4ad69e),this['_editingView']=new _0x30c1ec(_0x4ad69e,_0x111858),this['_focusableView']=new _0x491313['View'](_0x4ad69e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2ee7dc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x63a270=>{this['_addUploadcareImageEditorListeners'](_0x63a270);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}_setView(){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}_waitForImageEditorComponent(_0x511e64,_0x55863a){const _0x90edee='uc-cloud-image-editor',_0x288af8=_0x511e64['querySelector'](_0x90edee);if(_0x288af8)return _0x55863a(_0x288af8);const _0x11dbdf=new MutationObserver(_0x1934a5=>{const _0x50f3ec=_0x1934a5['filter'](_0x3db5f5=>_0x3db5f5['target']===_0x511e64&&_0x3db5f5['addedNodes']['length']>0x0&&_0x3db5f5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x90edee);_0x50f3ec['length']&&(_0x11dbdf['disconnect'](),_0x55863a(_0x50f3ec[0x0]['addedNodes'][0x0]));});_0x11dbdf['observe'](_0x511e64,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x52a598){_0x52a598['addEventListener']('apply',_0x1b6e29=>{this['fire']('apply',{'imageSrc':_0x1b6e29['detail']['cdnUrl']});}),_0x52a598['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const _0x3658f3=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x491313['ObservableMixin'])();var _0x26d937=class extends _0x3658f3{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x468c26,_0x565e04,_0x4393a2){super(),this['_editor']=_0x468c26,this['_dialog']=_0x565e04,this['_imageElement']=_0x4393a2,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}destroy(){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x232dd2=this['_imageElement'],_0x330672=_0x232dd2['getAttribute']('uploadcareImageId'),_0x54495c=_0x232dd2['getAttribute']('src');if(_0x330672)await this['_loadImageInfo'](_0x330672,_0x54495c);else{if(this['_imageCache']['has'](_0x54495c)){const _0x131a45=this['_imageCache']['get'](_0x54495c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x131a45['url'],this['imageDimension']=_0x131a45['dimension'],this['imageId']=_0x131a45['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x310751}=this['_editor'],t=_0x310751['t'],_0x4fb2ab=new _0x2739b6(_0x310751,this['imageStatus'],this['_attributes']);_0x4fb2ab['bind']('status')['to'](this,'imageStatus'),_0x4fb2ab['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4fb2ab['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4fb2ab['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4fb2ab,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x491313['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4fb2ab,'position':_0x491313['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4fb2ab['focus']();},'onHide':()=>{_0x4fb2ab['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x47d477=>!_0x24cf93(_0x47d477,_0x4fb2ab['element'])}});}['_loadImageInfo'](_0x48cc1b,_0xec6c7e){return _0x1a3ee5['getInfo'](_0x48cc1b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x294100=>{const {width:_0x1d0a93,height:_0x13094a}=_0x294100['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xec6c7e,this['imageDimension']={'width':_0x1d0a93,'height':_0x13094a},this['imageId']=_0x48cc1b;})['catch'](_0x433a2b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x433a2b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4f6f30,_0x520853){return this['_getImageAsFile'](_0x4f6f30)['then'](_0x5d5a88=>_0x1a3ee5['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x520853['signal'],'file':_0x5d5a88,'onProgress':_0x21ba7b=>{_0x21ba7b&&_0x21ba7b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x21ba7b['value']));}}))['then'](_0x18d2aa=>{const {width:_0x45e041,height:_0x3293fc}=_0x18d2aa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18d2aa['cdnUrl'],this['imageDimension']={'width':_0x45e041,'height':_0x3293fc},this['imageId']=_0x18d2aa['uuid'],this['imageUploadProgress']=null;const _0x380033=_0x4f6f30['getAttribute']('src');this['_imageCache']['set'](_0x380033,{'id':_0x18d2aa['uuid'],'url':_0x18d2aa['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5afc08=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5afc08['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0xd1934b,_0x564d99){_0xd1934b['on']('apply',(_0x271b1e,_0x56b08b)=>{this['_replaceImage'](_0x564d99,_0x56b08b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xd1934b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xd1934b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5deef9,_0x5bbe48,_0x51535a){const _0x4f9238=this['_editor'],{width:_0x38654f,height:_0x27f270}=_0x3789b7(_0x5bbe48,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1254e6,imageSources:_0x42cb85}=_0x75a0d(_0x5bbe48,_0x38654f);_0x4f9238['model']['change'](_0x5e480b=>{if('$graveyard'!==_0x5deef9['root']['rootName'])_0x5e480b['setSelection'](_0x5deef9,'on'),_0x4f9238['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5deef9['getAttributes']()),'uploadcareImageId':_0x51535a,'src':_0x1254e6,'sources':_0x42cb85,'width':_0x38654f,'height':_0x27f270},_0x5deef9);else{_0x4f9238['execute']('insertImage',{'imageType':_0x5deef9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5deef9['getAttributes']()),'uploadcareImageId':_0x51535a,'src':_0x1254e6,'sources':_0x42cb85,'width':_0x38654f,'height':_0x27f270}});const _0x30aee3=_0x5deef9['getChildren']();_0x5deef9=_0x4f9238['model']['document']['selection']['getSelectedElement']();for(const _0x389122 of _0x30aee3)_0x5e480b['append'](_0x5e480b['cloneElement'](_0x389122),_0x5deef9);}_0x5e480b['setSelection'](_0x5deef9,'on');});}async _getImageAsFile(_0x46e5c7){const _0x34de10=_0x491313['global']['window'],_0x36ddc8=_0x491313['global']['document']['location']['href'],_0xe4b4a0=new _0x34de10['URL'](_0x46e5c7['getAttribute']('src'),_0x36ddc8);if('data:'===_0xe4b4a0['protocol']){const _0x2cf41b=_0xe4b4a0['href']['split'](','),_0x3ca148=_0x2cf41b[0x0]['match'](/:(.*?);/)[0x1],_0x57a130=_0x3ca148['split']('/')[0x1],_0x3f1980=_0x34de10['atob'](_0x2cf41b[_0x2cf41b['length']-0x1]);let _0x4a5269=_0x3f1980['length'];const _0x33a0b9=new _0x34de10['Uint8Array'](_0x4a5269);for(;_0x4a5269--;)_0x33a0b9[_0x4a5269]=_0x3f1980['charCodeAt'](_0x4a5269);return new _0x34de10['File']([_0x33a0b9],'image.'+_0x57a130,{'type':_0x3ca148});}const _0x43754d=_0xe4b4a0['href']['split']('/'),_0x44cf97=_0x43754d[_0x43754d['length']-0x1],_0x44aa38=_0x44cf97['split']('.')[0x1];return _0x34de10['fetch'](_0xe4b4a0['href'])['then'](_0x3606a2=>_0x3606a2['clone']()['blob']())['then'](_0xa50b84=>new _0x34de10['File']([_0xa50b84],_0x44cf97,{'type':'image/'+_0x44aa38}));}},_0x9f1725=class extends _0x491313['Command']{imageEditController;static get requires(){return[_0x491313['Dialog']];}_isEditable;constructor(_0x577b7c){super(_0x577b7c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x26e4e4){const _0x5acc05=_0x537df1(_0x26e4e4);return _0x1e2b3b=>!(!_0x1e2b3b||!_0x1e2b3b['is']('element','imageBlock')&&!_0x1e2b3b['is']('element','imageInline'))&&(!!_0x1e2b3b['hasAttribute']('uploadcareImageId')||!!_0x1e2b3b['hasAttribute']('src')&&_0x5acc05(_0x1e2b3b['getAttribute']('src')));}(_0x577b7c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3a6d5e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3a6d5e);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x309b1a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x309b1a&&(_0x309b1a['is']('element','imageBlock')||_0x309b1a['is']('element','imageInline'))&&(this['imageEditController']=new _0x26d937(this['editor'],this['editor']['plugins']['get'](_0x491313['Dialog']),_0x309b1a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},_0x4d5a55=class extends _0x491313['Command']{['refresh'](){const _0x22132b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x22132b&&(_0x22132b['is']('element','imageBlock')||_0x22132b['is']('element','imageInline')));}execute(_0x5e8e27){const _0x3f59b6=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5429f8=>{_0x5429f8['setAttributes'](_0x5e8e27,_0x3f59b6),_0x5429f8['removeAttribute']('srcset',_0x3f59b6),_0x5429f8['removeAttribute']('sizes',_0x3f59b6);});}},t4=class extends _0x491313['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[_0x119cf8,_0x491313['Notification'],_0x491313['ImageUtils'],_0x491313['ImageEditing']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x54d9b9}=this;_0x54d9b9['commands']['add']('uploadcareImageEdit',new _0x9f1725(_0x54d9b9)),_0x54d9b9['commands']['add']('uploadcareImageReplace',new _0x4d5a55(_0x54d9b9));}},_0x54651e=class extends _0x491313['Plugin']{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}init(){const _0x20e0b5=this['editor'];_0x20e0b5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2114b6=>{const _0x31da00=_0x20e0b5['commands']['get']('uploadcareImageEdit'),_0x29bdf2=new _0x491313['ButtonView'](_0x2114b6),t=_0x2114b6['t'];return _0x29bdf2['set']({'icon':_0x491313['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x29bdf2['bind']('isEnabled')['to'](_0x31da00),_0x29bdf2['bind']('isOn')['to'](_0x31da00,'isActive'),this['listenTo'](_0x29bdf2,'execute',()=>{_0x20e0b5['execute']('uploadcareImageEdit'),_0x20e0b5['editing']['view']['focus']();}),_0x29bdf2;}),this['_initConfig']();}_initConfig(){const _0x2a72ae=(0x0,_0x491313['createElement'])(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2a72ae),this['listenTo'](this['editor'],'destroy',()=>{_0x2a72ae['remove']();});}},_0x33eda7=class extends _0x491313['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get requires(){return[t4,_0x54651e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};_0xc090fa['AIActions']=_0x5beec5,_0xc090fa['AIAdapter']=_0x25dd35,_0xc090fa['AIAssistant']=_0x22bbc5,_0xc090fa['AIAssistantUI']=_0x226b45,_0xc090fa['AIBalloon']=_0x125e03,_0xc090fa['AIChat']=_0x2d626f,_0xc090fa['AIChatController']=_0x556fe1,_0xc090fa['AIChatFeedCustomElementView']=_0x5f4306,_0xc090fa['AIChatHistory']=_0x441480,_0xc090fa['AIChatHistoryController']=_0x3cb289,_0xc090fa['AIChatHistoryUI']=_0x1b814a,_0xc090fa['AIChatInteraction']=_0x252f6f,_0xc090fa['AIChatShortcuts']=_0x2d9a0e,_0xc090fa['AIChatUI']=_0x3dff05,_0xc090fa['AICheckRunSingleRootResult']=_0x56156b,_0xc090fa['AIConnector']=_0x31ca03,_0xc090fa['AIContext']=_0x518964,_0xc090fa['AIContextLibrary']=_0xf7af3,_0xc090fa['AICore']=_0x23dba1,_0xc090fa['AICoreError']=_0x393747,_0xc090fa['AIDocumentProcessingGateway']=_0x23d345,_0xc090fa['AIDocumentProcessingRunResult']=_0x50f64c,_0xc090fa['AIEditing']=_0x3cc2b8,_0xc090fa['AIEditorIntegration']=_0x1b3cec,_0xc090fa['AIErrorReporter']=_0x2df951,_0xc090fa['AIErrorSink']=_0x2e8f65,_0xc090fa['AIGateway']=_0x1203f0,_0xc090fa['AIInteraction']=_0x5c4daf,_0xc090fa['AIModels']=_0x49f0ae,_0xc090fa['AIQuickActions']=_0x56e088,_0xc090fa['AIQuickActionsUI']=_0x4546ff,_0xc090fa['AIReply']=_0x1573f1,_0xc090fa['AIRequestError']=_0xd88647,_0xc090fa['AIReviewCheck']=_0x14b5f5,_0xc090fa['AIReviewCheckResult']=_0x1c1c24,_0xc090fa['AIReviewCheckResultChange']=_0x12de68,_0xc090fa['AIReviewCheckRun']=tp,_0xc090fa['AIReviewGateway']=_0x5dd31d,_0xc090fa['AIReviewMode']=_0x4471d9,_0xc090fa['AIReviewModeController']=_0x59017e,_0xc090fa['AIReviewModeEditing']=_0x4638bb,_0xc090fa['AIReviewModeUI']=_0x58bb6e,_0xc090fa['AIRunResult']=_0x19639f,_0xc090fa['AIRunSingleRootResult']=_0x168031,_0xc090fa['AITabs']=_0x448179,_0xc090fa['AITabsMainView']=_0x4ca785,_0xc090fa['AITabsView']=_0x9fc37,_0xc090fa['AITextAdapter']=_0x69a2f2,_0xc090fa['AIToggleButtonUI']=_0x236f20,_0xc090fa['AITranslate']=_0x3b5323,_0xc090fa['AITranslateController']=_0x5a5df5,_0xc090fa['AITranslateGateway']=_0x329dce,_0xc090fa['AITranslateUI']=_0x5ad747,_0xc090fa['AWSTextAdapter']=class extends _0x69a2f2{static get['pluginName'](){return'AWSTextAdapter';}init(){super['init'](),(0x0,_0x491313['logWarning'])('ai-aws-adapter-not-supported');}async sendRequest(_0x5d5c8d){throw(0x0,_0x491313['logError'])('ai-aws-adapter-not-supported'),new _0xd88647(_0x4d4eec(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}},_0xc090fa['AcceptSuggestionCommand']=_0x1626d9,_0xc090fa['AddCommentThreadCommand']=_0x44d1c7,_0xc090fa['Annotation']=_0x2990cd,_0xc090fa['AnnotationCollection']=_0x5bdaf3,_0xc090fa['AnnotationCounterButtonView']=_0x1867c9,_0xc090fa['AnnotationView']=_0x989795,_0xc090fa['Annotations']=_0xa7dd6f,_0xc090fa['AnnotationsSidebarItemView']=_0x240414,_0xc090fa['AnnotationsSidebarView']=_0x141b2f,_0xc090fa['AnnotationsUIs']=_0x570eb2,_0xc090fa['AriaDescriptionView']=_0xd61a0c,_0xc090fa['BaseCommentThreadView']=_0x1706f3,_0xc090fa['BaseCommentView']=_0x197038,_0xc090fa['BaseSuggestionThreadView']=_0x1483ed,_0xc090fa['CaseChange']=_0x346280,_0xc090fa['CaseChangeCommand']=_0x126c94,_0xc090fa['CaseChangeEditing']=_0x4be741,_0xc090fa['CaseChangeUI']=_0x4d1e3d,_0xc090fa['CloudServicesCommentsAdapter']=_0x1d4232,_0xc090fa['CloudServicesRevisionHistoryAdapter']=_0x51c38a,_0xc090fa['CloudServicesTrackChangesAdapter']=_0x46f4c8,_0xc090fa['CollaborationUserColor']=_0x2f87d8,_0xc090fa['Comment']=_0x4c14c6,_0xc090fa['CommentThread']=_0x496cb3,_0xc090fa['CommentThreadController']=_0x4870ec,_0xc090fa['CommentThreadInputView']=_0x7c5453,_0xc090fa['CommentThreadView']=_0x170fa2,_0xc090fa['CommentView']=_0x8d5600,_0xc090fa['Comments']=_0x5934c6,_0xc090fa['CommentsArchive']=_0x591056,_0xc090fa['CommentsArchiveUI']=_0x33737b,_0xc090fa['CommentsEditing']=_0x2d792c,_0xc090fa['CommentsListView']=_0x501cc2,_0xc090fa['CommentsOnly']=_0x18d4a8,_0xc090fa['CommentsRepository']=_0x2d919b,_0xc090fa['CommentsUI']=_0x470848,_0xc090fa['ConfirmMixin']=_0x63bf97,_0xc090fa['CopyFormatCommand']=_0x4d486e,_0xc090fa['DATA_ID_MODEL_ATTRIBUTE']=_0x27eb29,_0xc090fa['DATA_ID_VIEW_ATTRIBUTE']=_0x1a9875,_0xc090fa['DiscardSuggestionCommand']=_0xa1c7e5,_0xc090fa['DocumentCompare']=_0x5b2c28,_0xc090fa['DocumentDiff']=_0x3217f0,_0xc090fa['DocumentOutline']=_0x18c213,_0xc090fa['DocumentOutlineUI']=tO,_0xc090fa['DocumentOutlineUtils']=_0x18c487,_0xc090fa['EditSourceCommand']=_0x2cb520,_0xc090fa['EditorAnnotations']=_0x5ff238,_0xc090fa['EmailConfigurationHelper']=_0x33cd33,_0xc090fa['EmailConfigurationLogger']=_0x4e1fbc,_0xc090fa['EmptyBlockEmailIntegration']=_0x1c2a1e,_0xc090fa['ExecuteOnAllSuggestionsCommand']=_0x266752,_0xc090fa['ExecuteOnSelectedSuggestionsCommand']=_0x2ad647,_0xc090fa['ExportInlineStyles']=_0x5a5d67,_0xc090fa['ExportInlineStylesCommand']=_0x25a825,_0xc090fa['ExportInlineStylesEditing']=_0x1af661,_0xc090fa['ExportInlineStylesEmailIntegration']=_0x5d0e49,_0xc090fa['ExportPdf']=_0x1b2bf2,_0xc090fa['ExportPdfCommand']=_0x3d0e87,_0xc090fa['ExportWord']=_0x29f358,_0xc090fa['ExportWordCommand']=_0x2b1247,_0xc090fa['FOCUS_ANNOTATION_KEYSTROKE']=_0x3866bd,_0xc090fa['FontEmailIntegration']=_0x122564,_0xc090fa['Footnotes']=_0x515189,_0xc090fa['FootnotesClipboard']=_0x1ad85a,_0xc090fa['FootnotesEditing']=_0xbf6e79,_0xc090fa['FootnotesProperties']=_0x4dc652,_0xc090fa['FootnotesPropertiesEditing']=_0x3aeefa,_0xc090fa['FootnotesPropertiesUI']=_0xedfdb1,_0xc090fa['FootnotesStartCommand']=_0x4566c1,_0xc090fa['FootnotesStyleCommand']=_0x5f2065,_0xc090fa['FootnotesTracker']=_0xc2ad67,_0xc090fa['FootnotesUI']=_0x2ef316,_0xc090fa['FormatPainter']=_0xef7f16,_0xc090fa['FormatPainterEditing']=_0x450a59,_0xc090fa['FormatPainterUI']=_0x37c567,_0xc090fa['GeneralHtmlIntegrationSupport']=_0x1f0c64,_0xc090fa['HeadingId']=_0x555819,_0xc090fa['HighlightEmailIntegration']=_0x360f6a,_0xc090fa['ImageEmailIntegration']=_0x5345e7,_0xc090fa['ImportWord']=_0x345bb5,_0xc090fa['ImportWordCommand']=_0x551683,_0xc090fa['ImportWordEditing']=_0x361af2,_0xc090fa['ImportWordUI']=_0x429639,_0xc090fa['InlineAnnotations']=_0x1fab5a,_0xc090fa['InsertFootnoteCommand']=_0x305930,_0xc090fa['InsertMergeFieldBlockCommand']=_0x249fb3,_0xc090fa['InsertMergeFieldCommand']=_0x140df4,_0xc090fa['InsertMergeFieldImageCommand']=_0x8a5ad1,_0xc090fa['LateFocusButtonView']=_0x11c0d5,_0xc090fa['LateFocusDropdownButtonView']=_0x522cc9,_0xc090fa['LineHeight']=_0x1188ed,_0xc090fa['LineHeightCommand']=_0x4dea1a,_0xc090fa['LineHeightEditing']=_0x5099d7,_0xc090fa['LineHeightTodoListIntegration']=_0x231a16,_0xc090fa['LineHeightUI']=_0x2a3056,_0xc090fa['LinkEmailIntegration']=_0x4449a5,_0xc090fa['ListEmailIntegration']=_0x179159,_0xc090fa['MarkdownEmailIntegration']=_0x5a7b53,_0xc090fa['MathTypeEmailIntegration']=_0x17b1fe,_0xc090fa['MediaEmbedEmailIntegration']=_0xe54c2b,_0xc090fa['MergeFields']=ty,_0xc090fa['MergeFieldsEditing']=_0x2511f6,_0xc090fa['MergeFieldsEmailIntegration']=_0x37ef12,_0xc090fa['MergeFieldsUI']=_0x4fe48a,_0xc090fa['MultiLevelList']=_0x1c3d3b,_0xc090fa['MultiLevelListCommand']=_0x47e506,_0xc090fa['MultiLevelListEditing']=_0x32550e,_0xc090fa['MultiLevelListEmailIntegration']=tw,_0xc090fa['MultiLevelListUI']=_0x5dba9d,_0xc090fa['NarrowSidebar']=_0x2f34c3,_0xc090fa['OpenAITextAdapter']=class extends _0x69a2f2{['_apiUrl'];_requestHeaders;_requestParameters;static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x2fd411){super(_0x2fd411),_0x2fd411['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x2fd411['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x2fd411['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x2fd411['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x2fd411['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x2fd411['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async sendRequest({query:_0x1747e9,context:_0x15a312,onData:_0x26832a,actionId:_0x41d638}){const _0x10e5f9=this['editor']['locale'],_0x317352=await this['prepareMessages'](_0x1747e9,_0x15a312,_0x41d638),_0x28bb33=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x41d638),_0xf558f8=await this['_prepareRequestParameters'](this['_requestParameters'],_0x41d638),_0x4acb46={'messages':_0x317352,..._0xf558f8},_0x11ff76={'method':'POST','headers':_0x28bb33,'body':JSON['stringify'](_0x4acb46),'signal':this['abortController']['signal']},_0x52ac7d=await fetch(this['_apiUrl'],_0x11ff76);if(_0x52ac7d['ok'])return _0xf558f8['stream']?await this['_readStreamableResponse'](_0x52ac7d,_0x26832a):await this['_readStaticResponse'](_0x52ac7d,_0x26832a),Promise['resolve']();{const _0x65981d=await _0x52ac7d['text']();return _0x65981d['includes']('context_length_exceeded')?Promise['reject'](new _0xd88647(_0x4d4eec(_0x10e5f9,'AI_ERROR_CONTEXT_LENGTH'))):_0x65981d['includes']('Moderation')?Promise['reject'](new _0xd88647(_0x4d4eec(_0x10e5f9,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x65981d));}}async['prepareMessages'](_0x5cda5f,_0xd074,_0x59a701){let _0x2bdadd,_0xbd8402;return _0xd074?(_0x2bdadd='Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0xbd8402='Instruction:\x0a'+_0x5cda5f+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0xd074):(_0x2bdadd='Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0xbd8402=_0x5cda5f),[{'role':'system','content':_0x2bdadd},{'role':'user','content':_0xbd8402}];}async _readStreamableResponse(_0x172ea7,_0xcb62d2){const _0x261dc5=_0x172ea7['body']['getReader'](),_0x74f237=new TextDecoder();let _0x59c83b='',_0x39379f='',_0x1c0b26='',_0x44949c=!0x1;for(;!_0x44949c;){const {done:_0x34f700,value:_0x14834a}=await _0x261dc5['read'](),_0x1cd2e1=_0x59c83b+_0x74f237['decode'](_0x14834a);let _0x1c529f;_0x44949c=_0x34f700;try{_0x1c529f=this['_cleanUpData'](_0x1cd2e1),_0x59c83b='';}catch{_0x59c83b=_0x1cd2e1;continue;}_0x39379f+=_0x1c529f,!_0x44949c&&this['_isBufferIncomplete'](_0x39379f)||_0x39379f&&(_0x1c0b26+=_0x39379f,_0x39379f='',_0xcb62d2(_0x1c0b26));}return Promise['resolve']();}async _readStaticResponse(_0x1f2b79,_0x52c446){return _0x52c446((await _0x1f2b79['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}_isBufferIncomplete(_0x4c43b9){const _0x1dac81=_0x4c43b9['split']('<')['length']!==_0x4c43b9['split']('>')['length'],_0x2eaf6b=_0x4c43b9['length']<0x1e;return _0x1dac81&&_0x2eaf6b;}_cleanUpData(_0x20053b){return _0x20053b['split'](/\n(?![^{]*\})/g)['map'](_0x2c07f7=>_0x2c07f7['replace']('data:\x20',''))['filter'](_0x53ee04=>_0x53ee04&&_0x53ee04['length']>0x0&&'[DONE]'!==_0x53ee04)['map'](_0x53e738=>{const {choices:_0x1d9de3}=JSON['parse'](_0x53e738);if(_0x1d9de3[0x0]?.['delta']?.['content'])return _0x1d9de3[0x0]['delta']['content'];})['filter'](_0x2730b3=>_0x2730b3)['join']('');}},_0xc090fa['Pagination']=_0x1b3f1b,_0xc090fa['PaginationRenderer']=_0x58c212,_0xc090fa['PasteFormatCommand']=_0x29e566,_0xc090fa['PasteFromOfficeEnhanced']=_0x28ce85,_0xc090fa['Permissions']=_0x4435ef,_0xc090fa['PillView']=_0x5c5ba5,_0xc090fa['PresenceList']=_0x5f5248,_0xc090fa['PresenceListUI']=_0x505f84,_0xc090fa['PreviewFinalContentCommand']=_0x4a2716,_0xc090fa['PreviewMergeFieldsCommand']=_0x13fcbb,_0xc090fa['RealTimeCollaborationClient']=_0x4078e4,_0xc090fa['RealTimeCollaborativeComments']=_0x4873bf,_0xc090fa['RealTimeCollaborativeEditing']=_0x5746da,_0xc090fa['RealTimeCollaborativeRevisionHistory']=_0xfcd025,_0xc090fa['RealTimeCollaborativeTrackChanges']=_0xff6e36,_0xc090fa['ReplaceSourceCommand']=_0xe1e526,_0xc090fa['RestoreRevisionCommand']=_0xe146d1,_0xc090fa['Revision']=_0x503785,_0xc090fa['RevisionHistory']=_0x22f98f,_0xc090fa['RevisionHistoryUI']=_0x314455,_0xc090fa['RevisionHistoryUtils']=_0xa3c5e0,_0xc090fa['RevisionTracker']=_0x15dc6b,_0xc090fa['RevisionViewer']=_0x9bb8a8,_0xc090fa['RevisionViewerEditor']=_0x53b101,_0xc090fa['RevisionViewerIntegration']=_0x45c835,_0xc090fa['RevisionViewerLoadingOverlay']=_0x2c09bc,_0xc090fa['RevisionViewerUI']=_0x32ad63,_0xc090fa['RevisionsRepository']=_0x29874f,_0xc090fa['RevisionsSidebar']=_0xc9fe1e,_0xc090fa['Sessions']=_0x3e62c7,_0xc090fa['ShowAIAssistantCommand']=_0x4b25ad,_0xc090fa['ShowChangeCommand']=_0x222fbd,_0xc090fa['Sidebar']=_0x11a3d1,_0xc090fa['SlashCommand']=_0x133a50,_0xc090fa['SlashCommandConfig']=_0x3f9f13,_0xc090fa['SlashCommandEditing']=_0x2d5766,_0xc090fa['SlashCommandUI']=_0x2526c3,_0xc090fa['SourceEditingEmailIntegration']=_0x589def,_0xc090fa['SourceEditingEnhanced']=tq,_0xc090fa['Suggestion']=_0x23c110,_0xc090fa['SuggestionDescriptionFactory']=_0x61679f,_0xc090fa['SuggestionThreadView']=_0x31e2c4,_0xc090fa['SuggestionView']=_0xdd4d35,_0xc090fa['SuggestionsConversion']=_0x5f577d,_0xc090fa['TableEmailIntegration']=_0x7da1c7,_0xc090fa['TableOfContents']=_0x1abd0a,_0xc090fa['TableOfContentsCommand']=_0x3bc1d1,_0xc090fa['TableOfContentsEditing']=_0x2fade2,_0xc090fa['TableOfContentsUI']=_0xf3ac59,_0xc090fa['Template']=_0x26e82c,_0xc090fa['TemplateCommand']=_0x1f4b4c,_0xc090fa['TemplateEditing']=_0x446880,_0xc090fa['TemplateEmailIntegration']=_0x2ac973,_0xc090fa['TemplateUI']=_0x1ce6af,_0xc090fa['TodoListEmailIntegration']=_0x224fe2,_0xc090fa['ToggleAICommand']=_0x1c340c,_0xc090fa['TrackChanges']=_0x5d56cb,_0xc090fa['TrackChangesCommand']=_0x4ccdc7,_0xc090fa['TrackChangesData']=_0x25b7d4,_0xc090fa['TrackChangesDataGetter']=_0x45071b,_0xc090fa['TrackChangesEditing']=_0x2a635d,_0xc090fa['TrackChangesPreview']=_0x5dfb6c,_0xc090fa['TrackChangesUI']=_0x7919fa,_0xc090fa['UploadEmailIntegration']=_0x396ce6,_0xc090fa['Uploadcare']=_0x254185,_0xc090fa['UploadcareCommand']=_0x3f9d6e,_0xc090fa['UploadcareEditing']=_0x119cf8,_0xc090fa['UploadcareImageEdit']=_0x33eda7,_0xc090fa['UploadcareImageEditCommand']=_0x9f1725,_0xc090fa['UploadcareImageEditEditing']=t4,_0xc090fa['UploadcareImageEditUI']=_0x54651e,_0xc090fa['UploadcareUI']=_0x3b2456,_0xc090fa['UploadcareUploadAdapter']=_0x5542fe,_0xc090fa['User']=_0x5223cd,_0xc090fa['UserView']=_0x302d20,_0xc090fa['Users']=_0x16b3af,_0xc090fa['WebSocketGateway']=_0x558f8e,_0xc090fa['WideSidebar']=_0x1cb8bf,_0xc090fa['bindAnnotationCollections']=_0x4a173a,_0xc090fa['createResizeButton']=_0xeb048b,_0xc090fa['dropImportantStyleSuffix']=_0x354cec,_0xc090fa['fixElementSuggestionRange']=_0x3dbeb9,_0xc090fa['getAllMarkersDomElementsSorted']=_0x323ccc,_0xc090fa['getDateTimeFormatter']=_0x512ad0,_0xc090fa['getDefaultAICommands']=_0x58b0cb,_0xc090fa['getEmailInlineStylesTransformations']=function(_0x26bbeb={}){const _0x3ecdd7=[];return _0x26bbeb['useFigureToTableFallback']&&_0x3ecdd7['push'](_0x278ba5,_0x29e2f8,_0x29ac83),_0x3ecdd7['push'](_0x239228,_0x24072f,_0x184400,_0x325b18),_0x3ecdd7;},_0xc090fa['getMarkerDomElement']=_0x5d9ca5,_0xc090fa['hashObject']=_0x3c2d11,_0xc090fa['isInvalidAttributeOperation']=tl,_0xc090fa['isUnsupportedEmailColorFormat']=_0x36b412,_0xc090fa['isUnsupportedEmailColorValue']=_0x47f200,_0xc090fa['markOperationsAsAI']=_0x14ee9e,_0xc090fa['sanitizeEditorConfig']=_0x2ebb0e,_0xc090fa['setupThreadKeyboardNavigation']=_0x3fd63c,_0xc090fa['splitSuggestionMarkerName']=_0x41e4c4,_0xc090fa['surroundingMarkersDetector']=_0x33d0b8,_0xc090fa['transformEmailAlignToAttribute']=_0x29ac83,_0xc090fa['transformEmailColumnWidthsToCells']=_0x325b18,_0xc090fa['transformEmailFigcaptionToDiv']=_0x29e2f8,_0xc090fa['transformEmailFigureToTable']=_0x278ba5,_0xc090fa['transformEmailFloatToAlign']=_0x239228,_0xc090fa['transformEmailImageWidthAttributes']=_0x184400,_0xc090fa['transformEmailMarginToAlign']=_0x24072f,_0xc090fa['trimHtml']=_0x3fc08f;});